@univerjs-pro/sheets-chart-ui 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +11 -0
- package/lib/types/services/chart-render.service.d.ts +2 -2
- package/lib/types/services/sheet-chart-host.d.ts +4 -1
- package/lib/types/services/sheet-chart-pointer-events.d.ts +16 -0
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -3
- 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 +21 -21
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5d1a27=_0x14cc;(function(_0x316ab6,_0x4cbe5d){const _0x430d9f=_0x14cc,_0xbcd091=_0x316ab6();while(!![]){try{const _0x4dde00=-parseInt(_0x430d9f(0x379))/0x1+-parseInt(_0x430d9f(0x161))/0x2+-parseInt(_0x430d9f(0x176))/0x3*(parseInt(_0x430d9f(0x2b8))/0x4)+-parseInt(_0x430d9f(0x1a5))/0x5+-parseInt(_0x430d9f(0x235))/0x6+-parseInt(_0x430d9f(0x3bc))/0x7*(-parseInt(_0x430d9f(0x23b))/0x8)+parseInt(_0x430d9f(0x2a0))/0x9;if(_0x4dde00===_0x4cbe5d)break;else _0xbcd091['push'](_0xbcd091['shift']());}catch(_0x1ce40a){_0xbcd091['push'](_0xbcd091['shift']());}}}(_0x8646,0xbb3db));import{CommandType as _0x467099,DependentOn as _0x5da506,Disposable as _0x23a464,DisposableCollection as _0x396c56,DrawingTypeEnum as _0x4c00c3,FOCUSING_COMMON_DRAWINGS as _0x29388d,FOCUSING_PANEL_EDITOR as _0x3d0cdc,ICommandService as _0x23023c,IConfigService as _0x332790,IContextService as _0xae1c0,IUniverInstanceService as _0x50dd4e,Inject as _0x233312,Injector as _0x26189f,LocaleService as _0x2365aa,Plugin as _0x48bc1a,ThemeService as _0x6bd0cf,UniverInstanceType as _0x2a3654,createIdentifier as _0x4fb58e,debounce as _0x265549,generateRandomId as _0x23f566,isValidRange as _0x2f7016,merge as _0x11f8eb,numberToABC as _0x2a8fac,toDisposable as _0x1094b2,touchDependencies as _0x5b8a57}from'@univerjs/core';import{ChartModelService as _0xef00ca,ChartUpdateConfigCommand as _0x459ce1,ChartUpdateConfigMutation as _0x18807f,ChartUpdateSourceCommand as _0x38e7ef,InsertChartCommand as _0x6ba0fd,InsertSheetsChartMutation as _0x5c166f,RemoveSheetsChartMutation as _0x2ccbfe,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1b5ad5,SHEETS_CHART_PLUGIN_NAME as _0xff1a05,SheetChartConfigAdapter as _0x467243,SheetsChartService as _0x45f46e,UniverSheetsChartPlugin as _0x5a4ecb,getAllowedChartTypes as _0x2ab3f2,toInsertChartMutationSource as _0x1d8687}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x2a46aa,UniverDrawingPlugin as _0x5eca96,getDrawingShapeKeyByDrawingSearch as _0x4f61f4,getOrCreateDrawingCopyPlan as _0x5a52ec}from'@univerjs/drawing';import{DrawingApplyType as _0x30b7e4,ISheetDrawingService as _0x1ddd2c,RemoveSheetDrawingCommand as _0x14d389,SetDrawingApplyMutation as _0x16136c,UniverSheetsDrawingPlugin as _0x180756,transformToDrawingPosition as _0x38630f}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x379573,SheetCanvasFloatDomManagerService as _0x1cd243,SheetDrawingHitTestService as _0x1c6a95,UniverSheetsDrawingMobileUIPlugin as _0x559b0f,UniverSheetsDrawingUIPlugin as _0x4e1419}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0xe1391d,ISheetClipboardService as _0x48255a,PREDEFINED_HOOK_NAME as _0x9ae0ee,SheetCanvasPopManagerService as _0x1ac4ba,SheetCopyCommand as _0x49cae7,SheetPrintInterceptorService as _0x4e275e,SheetSkeletonManagerService as _0x4936ae,UniverSheetsMobileUIPlugin as _0x479d7b,UniverSheetsUIPlugin as _0x43225f,deriveStateFromActiveSheet$ as _0x3ed158,getCurrentRangeDisable$ as _0x177389}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x2f4ea6,ComponentManager as _0x59c972,ContextMenuGroup as _0x3caad2,ContextMenuPosition as _0x44ac90,IMenuManagerService as _0x3d6daf,ISidebarService as _0xe0c109,IconManager as _0x448b57,KeyCode as _0x85e98f,MenuItemType as _0x2d6dc8,NativeTextEditorShortcutBehavior as _0x1a8c0d,RibbonInsertGroup as _0x17e5d5,UniverMobileUIPlugin as _0x3593c7,getMenuHiddenObservable as _0x441bd8,useDependency as _0x216cfe,useObservable as _0x103df8}from'@univerjs/ui';import{BehaviorSubject as _0x36066b,Observable as _0x54465a,Subject as _0x19954c,combineLatest as _0x276a93,combineLatestWith as _0xedeac2,debounceTime as _0x13ec66,distinctUntilChanged as _0x29a798,filter as _0x5482cb,fromEvent as _0x320bfe,map as _0x1f7349,merge as _0x1ef318,pairwise as _0x18ea1,skip as _0x83aac8,startWith as _0x40fbf9,switchMap as _0x2ddbf4,take as _0x25844e,throttleTime as _0xff450d,withLatestFrom as _0x33b91a}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x1ac861,CHART_HOST_BORDER_RADIUS as _0x35f395,CHART_TYPE_CATALOG as _0x17f712,ChartAxisSection as _0x49da1a,ChartDomFrame as _0x389f97,ChartEditBlockTitle as _0x207394,ChartEditPanelSection as _0x5cd548,ChartEditPanelTab as _0x45ab14,ChartEditorCapability as _0x2db937,ChartEditorProvider as _0xadc9c2,ChartEditorTabs as _0x3e5287,ChartElementFloatMenuAdapterRegistry as _0x4222e1,ChartFrameContentMode as _0x2717d0,ChartFrameLayout as _0x513278,ChartFunnelStyleSection as _0x10f257,ChartGridlinesAndTicksSection as _0x275af9,ChartHeatmapStyleSection as _0xdb5d0c,ChartHostAdapter as _0x21eaab,ChartImageExportService as _0x5e98c4,ChartIndicatorLineSection as _0x2206f1,ChartLegendSection as _0x167edd,ChartLineAndAreaSection as _0x2adbfb,ChartNumberFormatAtom as _0x1952a3,ChartParetoSeriesSection as _0x19f761,ChartPieStyleSection as _0xfe26d,ChartRadarStyleSection as _0x29bb05,ChartRelationStyleSection as _0x3b130a,ChartSectionAccordion as _0x180c10,ChartSectionAccordionContent as _0x25002a,ChartSectionAccordionItem as _0x3ef861,ChartSectionAccordionTrigger as _0x57ffd4,ChartSeriesSection as _0x352738,ChartSetupPanel as _0xc7bb52,ChartStyleSection as _0x31470c,ChartTitlesSection as _0x2ba23b,ChartTrendlineSection as _0x3dc659,ChartTypeSpecificStyleSection as _0x47de5c,ChartUIService as _0x116c21,ChartViewStateRegistry as _0x3e8107,ChartWaterfallStyleSection as _0x3ed512,ChartWordCloudStyleSection as _0xbc59ea,DEFAULT_CHART_AXIS_VALUES as _0x139b61,DEFAULT_CHART_FUNNEL_VALUES as _0xb27861,DEFAULT_CHART_HEATMAP_VALUES as _0x12c1e1,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x31ba77,DEFAULT_CHART_LEGEND_VALUES as _0x5f58c5,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x446fe7,DEFAULT_CHART_PARETO_VALUES as _0x1643ce,DEFAULT_CHART_PIE_VALUES as _0x4d97b0,DEFAULT_CHART_RADAR_VALUES as _0x65c5c5,DEFAULT_CHART_RELATION_VALUES as _0x394271,DEFAULT_CHART_SERIES_VALUES as _0x268902,DEFAULT_CHART_STYLE_VALUES as _0x2b1fd5,DEFAULT_CHART_TITLE_VALUES as _0x164823,DEFAULT_CHART_TRENDLINE_VALUES as _0x4a9bbd,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x506e01,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x580b40,MobileChartEditorProvider as _0x5c14bf,UniverChartMobileUIPlugin as _0xd0b56d,UniverChartUIPlugin as _0x5af706,buildChartTypeSelectOptions as _0x5db475,chartTypeSupportsCapability as _0x4a2ff9,chartTypeSupportsLineAndAreaStyle as _0x4aab43,createChartElementFloatMenuAdapter as _0x32b76b,resolveChartCreationIntent as _0x518a98,resolveChartEditPanelRoute as _0x2ab4ba,resolveChartElementSelection as _0x422e0a,useChartEditorChartType as _0x2bf8dc,useChartEditorHasRightAxis as _0x207a58}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x24781a,ChartImageExportFormat as _0x4d43e3,ChartImageSourceType as _0x1a6044,ChartRenderMode as _0x5aea83,ChartSourceHeaderTitleType as _0x3471e0,ChartThemeService as _0x5a9273,ChartTypeBits as _0x1b41ef,ChartWaterfallStyleTarget as _0x4f4eae,DataOrientation as _0x10a164,EChartRenderEngineName as _0x2e63c9,IChartRenderModelManagerService as _0x51da78,ImageChartHost as _0x25bd7c,PieSecondaryPlotType as _0x5a7f11,RTLChartStyle as _0x53921e,chartBitsUtils as _0x159690,chartImageSourceToDataUrl as _0xa2d3cc,chartTypeCanUseTrendLine as _0x34a7ab,resolveChartRuntimeStyle as _0x2f8ba8,resolveChartStyleBackgroundColor as _0x2a1999,resolveDefaultChartHostFrameStyle as _0x214c2a}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x488928,RemoveSheetCommand as _0x3c652c,SheetInterceptorService as _0x304912,SheetPermissionCheckController as _0x5672ce,SheetSkeletonService as _0x5f5b10,SheetsSelectionsService as _0x4b6f39,UniverSheetsPlugin as _0x282fcb,WorkbookEditablePermission as _0x467779,WorksheetEditPermission as _0x311452,attachRangeWithCoord as _0x57f3f4,discreteRangeToRange as _0x4c3d52,getSheetCommandTarget as _0x374c25}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x560030,matchToken as _0x11cdbd,serializeRangeWithSheet as _0x2a42f7}from'@univerjs/engine-formula';import{insertGroupObject as _0x43a0ef}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x1f3967,IRenderManagerService as _0x2b6adf,ObjectType as _0x4e0d4f,RENDER_CLASS_TYPE as _0x332d03,Rect as _0x5ea5cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4f6e63,Transform as _0x23b379,UniverRenderEnginePlugin as _0x2c2309}from'@univerjs/engine-render';import{useCallback as _0x2b3d4a,useEffect as _0x3b35d2,useMemo as _0x1f6146,useRef as _0x399028,useState as _0x4cb90f}from'react';import{Button as _0x926487,Checkbox as _0x277379}from'@univerjs/design';import{MobileRangeSelector as _0x411079,RangeSelector as _0x16fe39}from'@univerjs/sheets-formula-ui';import{Fragment as _0x59371d,jsx as _0x29cee8,jsxs as _0x191e51}from'react/jsx-runtime';import{UniverLicensePlugin as _0x18ed5a}from'@univerjs-pro/license';import{PenIcon as _0x54e35}from'@univerjs/icons';const V={'type':_0x467099['OPERATION'],'id':_0x5d1a27(0x2a3),'handler'(){return!0x0;}},Cr=_0x5d1a27(0x258),wr={'enableChartElementFloatMenu':!0x0},Tr={'type':_0x467099[_0x5d1a27(0x20a)],'id':_0x5d1a27(0x2a5),'handler'(){return!0x0;}};function Er(_0x583ce8){const _0x5b702f=_0x5d1a27;let _0x31b3fe=_0x583ce8[_0x5b702f(0x3a6)](_0x1ddd2c)[_0x5b702f(0x23a)]();if(_0x31b3fe[_0x5b702f(0x355)]!==0x1)return null;let _0x3c4fa9=_0x31b3fe[0x0];return _0x3c4fa9[_0x5b702f(0x3e5)]===_0x4c00c3['DRAWING_CHART']?_0x3c4fa9:null;}function Dr(_0x331887,_0xfe0b15){const _0x573f7f=_0x5d1a27;let _0x273a97=document[_0x573f7f(0x26b)]('a');_0x273a97[_0x573f7f(0x231)]=_0x331887,_0x273a97['download']=_0xfe0b15,_0x273a97['click']();}const Or={'id':_0x5d1a27(0x24b),'type':_0x467099['COMMAND'],'handler':(_0x29e1f4,_0x5356ad)=>{const _0x1a90f4=_0x5d1a27;let _0x30f72a=Er(_0x29e1f4);return _0x30f72a?_0x29e1f4['get'](_0x23023c)[_0x1a90f4(0x2de)](V['id'],{'unitId':_0x30f72a['unitId'],'subUnitId':_0x30f72a[_0x1a90f4(0x2b4)],'drawingId':_0x30f72a['drawingId'],..._0x5356ad!=null&&_0x5356ad['route']?{'route':_0x5356ad[_0x1a90f4(0x204)]}:{}}):!0x1;}},kr={'id':_0x5d1a27(0x2e2),'type':_0x467099['COMMAND'],'handler':_0x22c2fc=>Er(_0x22c2fc)?_0x22c2fc[_0x5d1a27(0x3a6)](_0x23023c)[_0x5d1a27(0x2de)](_0x49cae7['id']):!0x1},Ar={'id':_0x5d1a27(0x292),'type':_0x467099[_0x5d1a27(0x26c)],'handler':async _0x3b7a5d=>{const _0x3da94b=_0x5d1a27;let _0x34144a=Er(_0x3b7a5d);if(!_0x34144a)return!0x1;let _0x335602=await _0x3b7a5d['get'](_0x5e98c4)[_0x3da94b(0x369)]({'unitId':_0x34144a[_0x3da94b(0x1b7)],'subUnitId':_0x34144a['subUnitId'],'getId':()=>_0x34144a['drawingId']});return _0x335602?(Dr(_0x335602,_0x34144a[_0x3da94b(0x14a)]+'.png'),!0x0):!0x1;}},jr={'id':'sheet.command.chart.delete-focused-chart','type':_0x467099[_0x5d1a27(0x26c)],'handler':_0x4a1c44=>{const _0x2b9c57=_0x5d1a27;let _0x4e218d=Er(_0x4a1c44);return _0x4e218d?_0x4a1c44[_0x2b9c57(0x3a6)](_0x23023c)[_0x2b9c57(0x2de)](_0x14d389['id'],{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'drawings':[{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'subUnitId':_0x4e218d[_0x2b9c57(0x2b4)],'drawingId':_0x4e218d[_0x2b9c57(0x14a)],'drawingType':_0x4c00c3[_0x2b9c57(0x249)]}]}):!0x1;}},H={'type':_0x467099[_0x5d1a27(0x26c)],'id':_0x5d1a27(0x17b),'handler':async(_0x34be5a,_0x228037)=>{const _0x11ae4c=_0x5d1a27;let _0x40f837=_0x374c25(_0x34be5a['get'](_0x50dd4e));if(!_0x40f837)return!0x1;let _0x5e9ae9=_0x34be5a[_0x11ae4c(0x3a6)](_0x4b6f39)[_0x11ae4c(0x3c5)]();if(!_0x5e9ae9)return!0x1;let {range:_0x4921f1}=_0x5e9ae9,_0x2d0c53=_0x34be5a[_0x11ae4c(0x3a6)](_0x23023c),{unitId:_0x3097fb,subUnitId:_0x4421bf}=_0x40f837,{pieSecondaryPlotType:_0x498b43,value:_0x1c2c23}=_0x228037,_0x574fc5=_0x498b43!==void 0x0;if(_0x574fc5&&(_0x1c2c23!==_0x1b41ef[_0x11ae4c(0x350)]||_0x498b43!==_0x5a7f11[_0x11ae4c(0x350)]&&_0x498b43!==_0x5a7f11[_0x11ae4c(0x34e)]))return!0x1;let _0x1456dd=_0x574fc5?_0x23f566():void 0x0;return _0x2d0c53[_0x11ae4c(0x2de)](_0x6ba0fd['id'],{'unitId':_0x3097fb,'subUnitId':_0x4421bf,'chartType':_0x1c2c23,..._0x1456dd&&_0x498b43?{'chartId':_0x1456dd,'config':{'unitId':_0x3097fb,'chartModelId':_0x1456dd,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x498b43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x4921f1[_0x11ae4c(0x1b7)]??_0x3097fb,'subUnitId':_0x4921f1['sheetId']??_0x4421bf,'range':_0x4921f1}}});}};function Mr(_0x597091,_0x5668b7){const _0x2a3304=_0x5d1a27;if(_0x597091==null)return'';if(Array[_0x2a3304(0x25b)](_0x597091)){var _0x5a21de;let _0x29dabd=(_0x5a21de=_0x597091[0x0])==null?void 0x0:_0x5a21de['range'];return _0x29dabd?Nr(_0x29dabd,_0x5668b7):'';}return Nr(_0x597091[_0x2a3304(0x2a6)],_0x5668b7);}function Nr(_0x8483df,_0x4d27c4){const _0x53285f=_0x5d1a27;var _0x4a8658;let {unitId:_0x3585b4,subUnitId:_0x48b819,range:_0xa4d388}=_0x8483df,_0x21131a=(_0x4a8658=_0x4d27c4[_0x53285f(0x2f4)](_0x3585b4))==null?void 0x0:_0x4a8658[_0x53285f(0x337)](_0x48b819);if(!_0x21131a)return'';let _0x54b2d5=_0x21131a[_0x53285f(0x339)]();return _0x2a42f7(_0x54b2d5,_0xa4d388);}const Pr=_0x17f712[_0x5d1a27(0x1a0)](_0x378beb=>({'id':'id'in _0x378beb?_0x378beb['id']:void 0x0,'labelId':_0x378beb[_0x5d1a27(0x356)],'pieSecondaryPlotType':_0x5d1a27(0x3dc)in _0x378beb?_0x378beb[_0x5d1a27(0x3dc)]:void 0x0,'value':_0x378beb[_0x5d1a27(0x385)],'icon':_0x378beb['iconName']}));function Fr(_0xbef68d=Pr){const _0x3e4a8b=_0x5d1a27;return _0xbef68d[_0x3e4a8b(0x1a0)](({id:_0x524082,icon:_0xb03523,value:_0x1256c8})=>{const _0x921799=_0x3e4a8b;let _0x521d88=_0x518a98(_0x524082??String(_0x1256c8)),_0x5bc2b6=_0x521d88?{'value':_0x521d88[_0x921799(0x38a)],..._0x521d88[_0x921799(0x3dc)]?{'pieSecondaryPlotType':_0x521d88['pieSecondaryPlotType']}:{}}:{'value':_0x1256c8};return{'icon':_0xb03523,'value':_0x524082??_0x1256c8,'params':_0x5bc2b6};});}const Ir=(_0x271545,_0x4a28ea)=>{const _0x1f94d2=_0x5d1a27;if(_0x4a28ea[_0x1f94d2(0x355)]===0x1&&_0x4a28ea[0x0]==='all')return _0x271545;if(_0x4a28ea[_0x1f94d2(0x355)]>0x1){let _0x628f00=new Set();for(let _0xffd095 of _0x4a28ea)_0x628f00[_0x1f94d2(0x248)](Number(_0xffd095));return _0x271545[_0x1f94d2(0x1e4)](_0x427970=>_0x628f00[_0x1f94d2(0x21c)](_0x427970['value']));}return[];};function Lr(_0x309860){const _0xcb2ea=_0x5d1a27;let _0x524b45=_0x309860[_0xcb2ea(0x3a6)](_0x50dd4e),_0x522039=_0x2ab3f2(_0x309860),_0x4feedd=Ir(Pr[_0xcb2ea(0x37b)](),_0x522039),_0x32118a=Fr(_0x4feedd)[_0xcb2ea(0x1a0)]((_0x185cee,_0x10b8a3)=>({'icon':_0x185cee[_0xcb2ea(0x1d9)],'value':_0x185cee[_0xcb2ea(0x385)],'params':_0x185cee[_0xcb2ea(0x398)],'label':'sheets-chart-ui.chartTypes.'+_0x4feedd[_0x10b8a3][_0xcb2ea(0x356)]}));return{'id':H['id'],'type':_0x2d6dc8[_0xcb2ea(0x2df)],'selectionsCommandId':H['id'],'selections':_0x32118a,'icon':'ChartIcon','tooltip':'sheets-chart-ui.common.insertChart','activated$':_0x3ed158(_0x524b45,!0x1,()=>new _0x54465a(_0xe912f3=>{const _0x23f377=_0xcb2ea;_0xe912f3[_0x23f377(0x2db)](!0x1);})),'hidden$':_0x441bd8(_0x309860,_0x2a3654[_0xcb2ea(0x1d7)]),'disabled$':_0x177389(_0x309860)};}function Rr(_0x19ccba){const _0x18922e=_0x5d1a27;let _0xfec7ec=_0x19ccba[_0x18922e(0x3a6)](_0x1ddd2c);return _0xfec7ec[_0x18922e(0x1d0)][_0x18922e(0x186)](_0x40fbf9(_0xfec7ec[_0x18922e(0x23a)]()),_0x1f7349(()=>Er(_0x19ccba)==null));}function zr(_0x151efa){const _0x5158d6=_0x5d1a27;return{'id':Or['id'],'commandId':Or['id'],'type':_0x2d6dc8[_0x5158d6(0x3bb)],'title':_0x151efa[_0x5158d6(0x3a6)](_0x2365aa)['t'](_0x5158d6(0x32c)),'icon':_0x5158d6(0x2b1),'hidden$':Rr(_0x151efa)};}function _0x14cc(_0x571550,_0x11d5bb){_0x571550=_0x571550-0x116;const _0x86467d=_0x8646();let _0x14cc66=_0x86467d[_0x571550];return _0x14cc66;}function Br(_0x9a9ea3){const _0x262cae=_0x5d1a27;return{'id':kr['id'],'commandId':kr['id'],'type':_0x2d6dc8['BUTTON'],'title':_0x9a9ea3['get'](_0x2365aa)['t'](_0x262cae(0x2f0)),'icon':_0x262cae(0x1d5),'hidden$':Rr(_0x9a9ea3)};}function Vr(_0x4359ac){const _0x7ec655=_0x5d1a27;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x2d6dc8[_0x7ec655(0x3bb)],'title':_0x4359ac[_0x7ec655(0x3a6)](_0x2365aa)['t'](_0x7ec655(0x304)),'icon':_0x7ec655(0x12b),'hidden$':Rr(_0x4359ac)};}function Hr(_0x1ca1aa){const _0x103bf7=_0x5d1a27;return{'id':jr['id'],'commandId':jr['id'],'type':_0x2d6dc8[_0x103bf7(0x3bb)],'title':_0x1ca1aa[_0x103bf7(0x3a6)](_0x2365aa)['t'](_0x103bf7(0x148)),'icon':_0x103bf7(0x13b),'hidden$':Rr(_0x1ca1aa)};}const Ur={[_0x17e5d5['MEDIA']]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}},[_0x44ac90[_0x5d1a27(0x297)]]:{[_0x3caad2[_0x5d1a27(0x1df)]]:{[Or['id']]:{'order':0x0,'menuItemFactory':zr},[kr['id']]:{'order':0x1,'menuItemFactory':Br},[Ar['id']]:{'order':0x3,'menuItemFactory':Vr},[jr['id']]:{'order':0x4,'menuItemFactory':Hr}}}};function Wr(_0xb1cebb){const _0x3ce1f7=_0x5d1a27;return _0xb1cebb===_0x1b41ef[_0x3ce1f7(0x25e)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x141)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x160)]||_0x159690['baseOn'](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x29b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x27b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x226)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x3c2)]);}function Gr(_0xaefe7c){const _0x413fda=_0x5d1a27;return Wr(_0xaefe7c)||_0x159690['baseOn'](_0xaefe7c,_0x1b41ef[_0x413fda(0x350)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x14b)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x2cf)]);}function Kr(_0x5ddde5,_0x195fd5){const _0x57e9e6=_0x5d1a27;let _0x5ecf3e=_0x422e0a(_0x5ddde5,_0x195fd5),_0x9f055b=_0x5ecf3e?_0x2ab4ba(_0x5ecf3e[_0x57e9e6(0x2cb)]):void 0x0;if(_0x5ecf3e&&_0x9f055b)return{..._0x5ecf3e,'route':_0x9f055b,'showFloatMenu':Gr(_0x5ddde5['chartType'])&&_0x5ecf3e[_0x57e9e6(0x2ba)]};}function qr(_0x361046){'@babel/helpers - typeof';const _0x4bb31d=_0x5d1a27;return qr=typeof Symbol==_0x4bb31d(0x2b5)&&typeof Symbol[_0x4bb31d(0x2c4)]==_0x4bb31d(0x3d2)?function(_0xae1662){return typeof _0xae1662;}:function(_0x1dd17e){const _0x269932=_0x4bb31d;return _0x1dd17e&&typeof Symbol==_0x269932(0x2b5)&&_0x1dd17e['constructor']===Symbol&&_0x1dd17e!==Symbol[_0x269932(0x1e1)]?_0x269932(0x3d2):typeof _0x1dd17e;},qr(_0x361046);}function Jr(_0x4ac941,_0x3d08bb){const _0x15daad=_0x5d1a27;if(qr(_0x4ac941)!=_0x15daad(0x382)||!_0x4ac941)return _0x4ac941;var _0x3be49f=_0x4ac941[Symbol[_0x15daad(0x122)]];if(_0x3be49f!==void 0x0){var _0x522b48=_0x3be49f[_0x15daad(0x172)](_0x4ac941,_0x3d08bb||_0x15daad(0x30e));if(qr(_0x522b48)!=_0x15daad(0x382))return _0x522b48;throw TypeError(_0x15daad(0x1ad));}return(_0x3d08bb===_0x15daad(0x130)?String:Number)(_0x4ac941);}function Yr(_0x3c0759){const _0x1a405e=_0x5d1a27;var _0x8cdb7b=Jr(_0x3c0759,_0x1a405e(0x130));return qr(_0x8cdb7b)==_0x1a405e(0x3d2)?_0x8cdb7b:_0x8cdb7b+'';}function U(_0xc3f1f3,_0xe4b05e,_0x5e675d){return(_0xe4b05e=Yr(_0xe4b05e))in _0xc3f1f3?Object['defineProperty'](_0xc3f1f3,_0xe4b05e,{'value':_0x5e675d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc3f1f3[_0xe4b05e]=_0x5e675d,_0xc3f1f3;}var Xr=class extends _0x23a464{constructor(_0x594e65,_0x26e135){const _0x19bdc5=_0x5d1a27;super(),this[_0x19bdc5(0x15a)]=_0x594e65,this['_onChange']=_0x26e135,U(this,_0x19bdc5(0x1f1),null),U(this,_0x19bdc5(0x3d6),void 0x0),this[_0x19bdc5(0x3d6)]=this[_0x19bdc5(0x2ca)](),this['disposeWithMe'](_0x594e65[_0x19bdc5(0x16f)][_0x19bdc5(0x1a7)](()=>{const _0x18fd1d=_0x19bdc5;this['_frame']===null&&(this[_0x18fd1d(0x1f1)]=requestAnimationFrame(()=>this[_0x18fd1d(0x171)]()));}));}[_0x5d1a27(0x171)](){const _0xdf3da9=_0x5d1a27;if(this[_0xdf3da9(0x117)](),this['_disposed'])return;let _0x47c250=this[_0xdf3da9(0x2ca)](),_0x4476b0=this[_0xdf3da9(0x3d6)],_0x4d78b3=_0x47c250['width']!==_0x4476b0[_0xdf3da9(0x175)]||_0x47c250[_0xdf3da9(0x364)]!==_0x4476b0[_0xdf3da9(0x364)];(_0x4d78b3||_0x47c250[_0xdf3da9(0x290)]!==_0x4476b0[_0xdf3da9(0x290)]||_0x47c250[_0xdf3da9(0x2c0)]!==_0x4476b0[_0xdf3da9(0x2c0)])&&(this['_geometry']=_0x47c250,this[_0xdf3da9(0x2e0)](_0x4d78b3));}[_0x5d1a27(0x117)](){const _0x3de33d=_0x5d1a27;this[_0x3de33d(0x1f1)]!==null&&(cancelAnimationFrame(this[_0x3de33d(0x1f1)]),this[_0x3de33d(0x1f1)]=null);}[_0x5d1a27(0x33d)](){const _0x5d2702=_0x5d1a27;this['cancelPending'](),super[_0x5d2702(0x33d)]();}['_readGeometry'](){let {left:_0x598042,top:_0x562772,width:_0x47f02e,height:_0x1865e3}=this['_rect'];return{'left':_0x598042,'top':_0x562772,'width':_0x47f02e,'height':_0x1865e3};}};function Zr(_0x4d7b58,_0x4895e0=0x1){const _0x592d8b=_0x5d1a27;return{'width':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x175)]),'height':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x364)])};}function Qr(_0x5cf04a,_0x4409ff={},_0x511460={'left':0x0,'top':0x0}){const _0x36f7d1=_0x5d1a27;let _0x13eb5e=_0x4409ff[_0x36f7d1(0x39a)]??0x1,_0x1c306a=_0x4409ff[_0x36f7d1(0x3e4)]??0x1,_0xc4c1d9=_0x513278[_0x36f7d1(0x2ad)]({'logicalOuterRect':{'left':_0x511460[_0x36f7d1(0x290)]>0x0?-_0x511460[_0x36f7d1(0x290)]:0x0,'top':_0x511460[_0x36f7d1(0x2c0)]>0x0?-_0x511460['top']:0x0,...Zr(_0x5cf04a)},'scale':{'scaleX':_0x13eb5e,'scaleY':_0x1c306a},'hostStyle':{},'contentMode':_0x2717d0[_0x36f7d1(0x2a7)]});return{'left':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x290)],'top':_0xc4c1d9['logicalOuterRect'][_0x36f7d1(0x2c0)],'width':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x175)],'height':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x364)],'scaleX':_0x13eb5e,'scaleY':_0x1c306a};}function $r(_0x395f0f){const _0x530544=_0x5d1a27;switch(_0x395f0f['type']){case _0x1a6044[_0x530544(0x12c)]:return _0x395f0f[_0x530544(0x1bf)];case _0x1a6044['ImageBitmap']:return _0x395f0f['imageBitmap'];default:return;}}var ei=class extends _0x5ea5cc{constructor(_0x582c0b,_0x104f6b,_0x7428bd,_0xf0dbb5=()=>!0x1,_0x5133f9=()=>{}){const _0x828a57=_0x5d1a27;super(_0x582c0b,{..._0x104f6b,'evented':_0x104f6b['evented']??!0x0}),this[_0x828a57(0x33a)]=_0x7428bd,this[_0x828a57(0x224)]=_0xf0dbb5,this[_0x828a57(0x374)]=_0x5133f9,U(this,'_urlImage',null),U(this,_0x828a57(0x1a9),null),U(this,_0x828a57(0x391),null),U(this,_0x828a57(0x18f),null),this[_0x828a57(0x3cd)](_0x4e0d4f[_0x828a57(0x359)]);}['dispose'](){const _0x37366a=_0x5d1a27;this[_0x37366a(0x3ac)](),this[_0x37366a(0x2e9)]=null,this['_url']=null,this[_0x37366a(0x391)]=null,this[_0x37366a(0x374)](),super[_0x37366a(0x33d)]();}[_0x5d1a27(0x3a9)](_0x58365f,_0x2f1917){const _0x5c5e6e=_0x5d1a27;if(!this[_0x5c5e6e(0x268)])return this[_0x5c5e6e(0x3d3)](!0x1),this;if(this[_0x5c5e6e(0x224)]()){let _0x27d562=this[_0x5c5e6e(0x33a)]();return _0x27d562&&this[_0x5c5e6e(0x2b9)](_0x27d562),this['makeDirty'](!0x1),this;}if(!this['transform'])return this;let {width:_0x2de7c4,height:_0x19ee73,left:_0x37f1a2,top:_0x4289e5}=this['getRealBound']();if(this[_0x5c5e6e(0x332)](_0x2f1917)){let {top:_0x417b3c,left:_0x70fa66,bottom:_0xe18500,right:_0xddf5dd}=_0x2f1917['viewBound'];if(_0x2de7c4+this[_0x5c5e6e(0x28e)]+_0x37f1a2<_0x70fa66||_0xddf5dd<_0x37f1a2||_0x19ee73+this[_0x5c5e6e(0x28e)]+_0x4289e5<_0x417b3c||_0xe18500<_0x4289e5)return this;}let _0x394050=this[_0x5c5e6e(0x31c)][_0x5c5e6e(0x2f8)]();_0x58365f['save']();let _0x13bc46=_0x37f1a2+_0x2de7c4/0x2,_0x52513a=_0x4289e5+_0x19ee73/0x2;return _0x58365f[_0x5c5e6e(0x31c)](_0x394050[0x0],_0x394050[0x1],_0x394050[0x2],_0x394050[0x3],_0x13bc46,_0x52513a),this[_0x5c5e6e(0x19c)]!==0x1&&(_0x58365f[_0x5c5e6e(0x31b)]=this[_0x5c5e6e(0x19c)]),this[_0x5c5e6e(0x17e)](_0x58365f,void 0x0,_0x2de7c4,_0x19ee73),_0x58365f['restore'](),this[_0x5c5e6e(0x3d3)](!0x1),this;}[_0x5d1a27(0x17e)](_0x577183,_0xfb4ba4,_0x18adc1=this[_0x5d1a27(0x175)],_0x598729=this[_0x5d1a27(0x364)]){const _0x11e147=_0x5d1a27;this['_drawChartFrame'](_0x577183,_0x18adc1,_0x598729,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x577183,_0x18adc1,_0x598729),this[_0x11e147(0x2f7)](_0x577183,_0x18adc1,_0x598729,{'fill':void 0x0});}[_0x5d1a27(0x2f7)](_0x4fa236,_0x57a93f,_0x123bb1,_0x2ca99f){const _0x6e99ce=_0x5d1a27;_0x4fa236[_0x6e99ce(0x2d2)](),_0x4fa236[_0x6e99ce(0x31f)](-_0x57a93f/0x2,-_0x123bb1/0x2),_0x5ea5cc[_0x6e99ce(0x36b)](_0x4fa236,ti(this,_0x57a93f,_0x123bb1,_0x2ca99f)),_0x4fa236[_0x6e99ce(0x1b6)]();}[_0x5d1a27(0x2be)](_0x5b72b8){const _0x3326fa=_0x5d1a27;let {left:_0x2afe18,top:_0x385f61,width:_0x210a80,height:_0x2dd21c}=this[_0x3326fa(0x3ab)](),_0x38ae97=_0x2afe18+_0x210a80/0x2,_0x200f25=_0x385f61+_0x2dd21c/0x2,_0x222110=this[_0x3326fa(0x31c)][_0x3326fa(0x2f8)](),_0x3c964b=new _0x23b379([_0x222110[0x0],_0x222110[0x1],_0x222110[0x2],_0x222110[0x3],_0x38ae97,_0x200f25]),_0x2c935d=this[_0x3326fa(0x317)](),_0x5ade1f=(this[_0x3326fa(0x272)]&&(_0x2c935d==null?void 0x0:_0x2c935d['classType'])===_0x332d03[_0x3326fa(0x338)]?_0x2c935d['ancestorTransform']['multiply'](_0x3c964b):_0x3c964b)[_0x3326fa(0x132)]()[_0x3326fa(0x1da)](_0x5b72b8),_0x32834f=_0x210a80/0x2,_0x2a48bd=_0x2dd21c/0x2;return _0x5ade1f['x']>=-_0x32834f-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['x']<=_0x32834f+this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']>=-_0x2a48bd-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']<=_0x2a48bd+this[_0x3326fa(0x28e)]/0x2;}[_0x5d1a27(0x313)](_0x5ae456,_0x862e8f,_0x2c9acb){const _0x1d48ce=_0x5d1a27;let _0x37d858=this[_0x1d48ce(0x33a)](),_0x541194=_0x37d858?this[_0x1d48ce(0x2b9)](_0x37d858):void 0x0;if(!_0x541194)return;let {width:_0x2e1aee,height:_0x413dc4}=Zr({'width':_0x862e8f,'height':_0x2c9acb},0x0);_0x2e1aee!==0x0&&_0x413dc4!==0x0&&(_0x5ae456['save'](),_0x5ae456[_0x1d48ce(0x31f)](-_0x862e8f/0x2,-_0x2c9acb/0x2),ni(_0x5ae456,_0x2e1aee,_0x413dc4,this[_0x1d48ce(0x320)]),_0x5ae456['clip'](),_0x5ae456['drawImage'](_0x541194,0x0,0x0,_0x2e1aee,_0x413dc4),_0x5ae456[_0x1d48ce(0x1b6)]());}[_0x5d1a27(0x2b9)](_0x208f8b){const _0x417b13=_0x5d1a27;var _0x375448;let _0x52edce=$r(_0x208f8b);if(_0x52edce)return _0x52edce;if(_0x208f8b[_0x417b13(0x17a)]===_0x1a6044[_0x417b13(0x2fa)]&&(this['_requestedUrl']!==_0x208f8b[_0x417b13(0x34f)]&&(this[_0x417b13(0x391)]=_0x208f8b[_0x417b13(0x34f)],this['_clearPendingUrlImage'](),this[_0x417b13(0x1a9)]!==_0x208f8b['url']&&this['_loadUrlImage'](_0x208f8b[_0x417b13(0x34f)])),(_0x375448=this['_urlImage'])!=null&&_0x375448[_0x417b13(0x293)]&&this[_0x417b13(0x2e9)][_0x417b13(0x190)]>0x0&&this[_0x417b13(0x2e9)]['naturalHeight']>0x0))return this[_0x417b13(0x2e9)];}[_0x5d1a27(0x131)](_0x19b273){const _0x3db1ec=_0x5d1a27;let _0x3c9b13=document['createElement'](_0x3db1ec(0x38f));this['_pendingUrlImage']=_0x3c9b13,_0x3c9b13[_0x3db1ec(0x273)]=_0x3db1ec(0x329),_0x3c9b13[_0x3db1ec(0x25d)]=()=>{const _0x1d4af9=_0x3db1ec;this[_0x1d4af9(0x391)]===_0x19b273&&this[_0x1d4af9(0x18f)]===_0x3c9b13&&(_0x3c9b13[_0x1d4af9(0x190)]>0x0&&_0x3c9b13['naturalHeight']>0x0&&(this[_0x1d4af9(0x1a9)]=_0x19b273,this[_0x1d4af9(0x2e9)]=_0x3c9b13),this[_0x1d4af9(0x3ac)](),this[_0x1d4af9(0x3d3)](!0x0));},_0x3c9b13[_0x3db1ec(0x2a8)]=()=>{this['_pendingUrlImage']===_0x3c9b13&&this['_clearPendingUrlImage']();},_0x3c9b13[_0x3db1ec(0x2d4)]=_0x19b273;}[_0x5d1a27(0x3ac)](){const _0x5b2b27=_0x5d1a27;this['_pendingUrlImage']&&=(this[_0x5b2b27(0x18f)][_0x5b2b27(0x25d)]=null,this['_pendingUrlImage'][_0x5b2b27(0x2a8)]=null,null);}};function ti(_0x3e5c21,_0x565333,_0x392638,_0x474c12){const _0xaf2bdc=_0x5d1a27;let _0x51223f=Object[_0xaf2bdc(0x2ea)](_0x3e5c21);return Object[_0xaf2bdc(0x35d)](_0x51223f,_0xaf2bdc(0x175),{'value':_0x565333}),Object[_0xaf2bdc(0x35d)](_0x51223f,'height',{'value':_0x392638}),Object[_0xaf2bdc(0x30d)](_0x474c12)['forEach'](_0x2ce193=>{const _0x5ccbfd=_0xaf2bdc;Object[_0x5ccbfd(0x35d)](_0x51223f,_0x2ce193,{'value':_0x474c12[_0x2ce193]});}),_0x51223f;}function ni(_0x80484a,_0x4142d9,_0x5e50e7,_0x55be85){const _0x33e8d1=_0x5d1a27;let _0xd4024d=Math['min'](_0x55be85||0x0,_0x4142d9/0x2,_0x5e50e7/0x2);if(_0x80484a[_0x33e8d1(0x1ec)](),!_0xd4024d){_0x80484a[_0x33e8d1(0x1ed)](0x0,0x0,_0x4142d9,_0x5e50e7),_0x80484a[_0x33e8d1(0x2ed)]();return;}_0x80484a[_0x33e8d1(0x3c0)](_0xd4024d,0x0),_0x80484a[_0x33e8d1(0x146)](_0x4142d9-_0xd4024d,0x0),_0x80484a['arc'](_0x4142d9-_0xd4024d,_0xd4024d,_0xd4024d,Math['PI']*0x3/0x2,0x0,!0x1),_0x80484a[_0x33e8d1(0x146)](_0x4142d9,_0x5e50e7-_0xd4024d),_0x80484a[_0x33e8d1(0x1fa)](_0x4142d9-_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,0x0,Math['PI']/0x2,!0x1),_0x80484a[_0x33e8d1(0x146)](_0xd4024d,_0x5e50e7),_0x80484a[_0x33e8d1(0x1fa)](_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,Math['PI']/0x2,Math['PI'],!0x1),_0x80484a['lineTo'](0x0,_0xd4024d),_0x80484a['arc'](_0xd4024d,_0xd4024d,_0xd4024d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x80484a[_0x33e8d1(0x2ed)]();}function W(_0x49c4b4){const _0x400660=_0x5d1a27;(_0x49c4b4==null?void 0x0:_0x49c4b4['type'])===_0x1a6044[_0x400660(0x150)]&&_0x49c4b4[_0x400660(0x276)]['close']();}function ri(_0xe809a4){const _0x37a795=_0x5d1a27;return _0xe809a4['unitId']+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x2b4)]+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x191)];}var ii=class extends _0x23a464{constructor(..._0x21f733){super(..._0x21f733),U(this,'_entries',new Map());}[_0x5d1a27(0x1e5)](_0x3b299f){const _0x105471=_0x5d1a27;let _0x3a7a8b=ri(_0x3b299f),_0x4b4f32=this[_0x105471(0x121)][_0x105471(0x3a6)](_0x3a7a8b)??{'version':0x0};return _0x4b4f32['version']+=0x1,this[_0x105471(0x121)][_0x105471(0x30a)](_0x3a7a8b,_0x4b4f32),_0x4b4f32[_0x105471(0x1ef)];}[_0x5d1a27(0x116)](_0x88d2c5,_0x580260){const _0x321f5e=_0x5d1a27;var _0x1bfcf2;return((_0x1bfcf2=this[_0x321f5e(0x121)][_0x321f5e(0x3a6)](ri(_0x88d2c5)))==null?void 0x0:_0x1bfcf2[_0x321f5e(0x1ef)])===_0x580260;}[_0x5d1a27(0x308)](_0x1d90bb,_0x21c894,_0x4da691){const _0x312779=_0x5d1a27;if(!this['isLatest'](_0x1d90bb,_0x4da691))return W(_0x21c894),!0x1;let _0x42983d=ri(_0x1d90bb),_0x8d2ae3=this[_0x312779(0x121)][_0x312779(0x3a6)](_0x42983d)??{'version':_0x4da691},_0x14c234=_0x8d2ae3['image'];return _0x8d2ae3[_0x312779(0x3de)]=_0x21c894,_0x8d2ae3[_0x312779(0x1ef)]=_0x4da691,this[_0x312779(0x121)][_0x312779(0x30a)](_0x42983d,_0x8d2ae3),_0x14c234!==_0x21c894&&W(_0x14c234),!0x0;}[_0x5d1a27(0x265)](_0x3ebeaa){const _0x1f290f=_0x5d1a27;var _0x12901c;return(_0x12901c=this[_0x1f290f(0x121)][_0x1f290f(0x3a6)](ri(_0x3ebeaa)))==null?void 0x0:_0x12901c[_0x1f290f(0x3de)];}[_0x5d1a27(0x17d)](_0x2d8a8a){const _0x48c3ee=_0x5d1a27;let _0x120b6d=ri(_0x2d8a8a),_0x873c1=this[_0x48c3ee(0x121)][_0x48c3ee(0x3a6)](_0x120b6d);_0x873c1&&(W(_0x873c1[_0x48c3ee(0x3de)]),this[_0x48c3ee(0x121)]['delete'](_0x120b6d));}[_0x5d1a27(0x26f)](_0x55090c){const _0x110284=_0x5d1a27;for(let [_0x1f0488,_0x149550]of this[_0x110284(0x121)])_0x1f0488[_0x110284(0x152)](_0x110284(0x3b4)+_0x55090c)&&(W(_0x149550[_0x110284(0x3de)]),this[_0x110284(0x121)][_0x110284(0x198)](_0x1f0488));}[_0x5d1a27(0x33d)](){const _0x185079=_0x5d1a27;this[_0x185079(0x121)]['forEach'](_0x2f088d=>W(_0x2f088d[_0x185079(0x3de)])),this['_entries'][_0x185079(0x368)](),super[_0x185079(0x33d)]();}};function ai(_0x57dda2,_0x5bdcee=0x7d0){let _0x3a4396=null,_0x3adb69=null,_0x1eb1ee=!0x1,_0x240ae4=()=>{},_0x3c64a6=()=>{_0x3a4396!=null&&(clearInterval(_0x3a4396),_0x3a4396=null),_0x3adb69!=null&&(clearTimeout(_0x3adb69),_0x3adb69=null);};return{'promise':new Promise((_0x38da1f,_0x376601)=>{_0x240ae4=_0x376601;let _0xc50627=()=>{let _0x29fa99=document['getElementById'](_0x57dda2);_0x29fa99&&!_0x1eb1ee&&(_0x1eb1ee=!0x0,_0x3c64a6(),_0x38da1f(_0x29fa99));};_0xc50627(),!_0x1eb1ee&&(_0x3a4396=setInterval(_0xc50627,16.666666666666668),_0x3adb69=setTimeout(()=>{const _0x1453a8=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x376601(Error(_0x1453a8(0x28b)+_0x57dda2+'\x22.')));},_0x5bdcee));}),'cancel':()=>{const _0x24c65e=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x240ae4(Error(_0x24c65e(0x1a3)+_0x57dda2+'\x22.')));}};}var oi=class extends _0x23a464{constructor(_0x4ba281,_0x907386,_0x1ce389,_0x230554,_0x6ee953,_0x3373a3,_0x3c97e9){const _0x488081=_0x5d1a27;super(),this[_0x488081(0x191)]=_0x4ba281,this[_0x488081(0x2c1)]=_0x907386,this[_0x488081(0x346)]=_0x1ce389,this[_0x488081(0x1bc)]=_0x230554,this[_0x488081(0x2fe)]=_0x6ee953,this['_markReady']=_0x3373a3,this[_0x488081(0x14e)]=_0x3c97e9,U(this,_0x488081(0x295),_0x5aea83[_0x488081(0x3da)]),U(this,'_domFrame',null),U(this,'_managed',!0x1),U(this,_0x488081(0x1fe),null),U(this,'_pendingHost',null),U(this,'_waiter',null),U(this,'_hostStyle',{}),U(this,_0x488081(0x168),null),U(this,_0x488081(0x1ff),null);}['isManaged'](){return this['_managed'];}[_0x5d1a27(0x3b0)](){const _0x50c754=_0x5d1a27;this[_0x50c754(0x21f)]=!0x1;}[_0x5d1a27(0x218)](){const _0x296d0f=_0x5d1a27;let _0x4bd90a=this[_0x296d0f(0x346)]();return _0x4bd90a?{'width':_0x4bd90a[_0x296d0f(0x175)],'height':_0x4bd90a[_0x296d0f(0x364)]}:null;}['setStyle'](_0x44fcb4){const _0x4eff3c=_0x5d1a27;this['_hostStyle']=_0x44fcb4,this[_0x4eff3c(0x1bc)](_0x44fcb4),this[_0x4eff3c(0x20e)]();}async['ensureHandle'](){const _0x4a8246=_0x5d1a27;if(this['_disposed']||this[_0x4a8246(0x2fe)]())throw Error(_0x4a8246(0x156));let _0x4011c3=this[_0x4a8246(0x2c1)](),_0x1790d6=(_0x4011c3==null?void 0x0:_0x4011c3[_0x4a8246(0x2b2)])??this['chartId'],_0x423806=document[_0x4a8246(0x197)](_0x1790d6);if(this['_domFrame']&&_0x423806!=null&&_0x423806['contains'](this[_0x4a8246(0x1ab)][_0x4a8246(0x256)]))return{'mountNode':this['_domFrame'][_0x4a8246(0x256)],'dispose':()=>{const _0x1ff4e5=_0x4a8246;this[_0x1ff4e5(0x33d)](),_0x4011c3==null||_0x4011c3[_0x1ff4e5(0x33d)][_0x1ff4e5(0x33d)]();}};if(this[_0x4a8246(0x228)])return this[_0x4a8246(0x228)];let _0x18de21=this[_0x4a8246(0x3a2)]();return this[_0x4a8246(0x228)]=_0x18de21,_0x18de21[_0x4a8246(0x138)](()=>{const _0x302aa9=_0x4a8246;this[_0x302aa9(0x228)]===_0x18de21&&(this[_0x302aa9(0x228)]=null);},()=>{const _0x446f84=_0x4a8246;this[_0x446f84(0x228)]===_0x18de21&&(this[_0x446f84(0x228)]=null);}),_0x18de21;}async['ensureMount'](){const _0x1c64b1=_0x5d1a27;try{return(await this[_0x1c64b1(0x24f)]())[_0x1c64b1(0x256)];}catch{return null;}}[_0x5d1a27(0x3ad)](){const _0x26ca55=_0x5d1a27;let _0x4ed78e=this[_0x26ca55(0x2c1)](),_0x539636=(_0x4ed78e==null?void 0x0:_0x4ed78e['domId'])??this['chartId'],_0xf0fd=document[_0x26ca55(0x197)](_0x539636);return!!(this[_0x26ca55(0x1ab)]&&_0xf0fd!=null&&_0xf0fd['contains'](this['_domFrame'][_0x26ca55(0x256)]));}[_0x5d1a27(0x1b9)](){const _0x3b39fb=_0x5d1a27;if(!this[_0x3b39fb(0x1ab)])return;let _0x2b0f06=this[_0x3b39fb(0x346)]();_0x2b0f06&&this[_0x3b39fb(0x1ab)][_0x3b39fb(0x327)](this[_0x3b39fb(0x2f3)](_0x2b0f06),this[_0x3b39fb(0x32a)]());}[_0x5d1a27(0x306)](){const _0x5adb65=_0x5d1a27;this[_0x5adb65(0x35b)]();}['markNotReady'](){const _0x7f08cc=_0x5d1a27;this[_0x7f08cc(0x14e)]();}[_0x5d1a27(0x20d)](_0x53088d){const _0x57cfdb=_0x5d1a27;this['_dataUpdateAnimationDuration']=_0x53088d;let _0xafb59e=this[_0x57cfdb(0x2c1)](),_0x271081=document[_0x57cfdb(0x197)]((_0xafb59e==null?void 0x0:_0xafb59e['domId'])??this['chartId']);_0x271081&&this[_0x57cfdb(0x383)](_0x271081);}[_0x5d1a27(0x33d)](){const _0x3db4c4=_0x5d1a27;var _0x58143b;this[_0x3db4c4(0x378)]||(this[_0x3db4c4(0x221)](),this[_0x3db4c4(0x1fe)]=null,this['_pendingHost']=null,this[_0x3db4c4(0x188)](),this[_0x3db4c4(0x21f)]=!0x1,this[_0x3db4c4(0x1ff)]=null,(_0x58143b=this[_0x3db4c4(0x1ab)])==null||_0x58143b[_0x3db4c4(0x33d)](),this[_0x3db4c4(0x1ab)]=null,this[_0x3db4c4(0x1e2)](),super[_0x3db4c4(0x33d)]());}async[_0x5d1a27(0x3a2)](){const _0x348a1e=_0x5d1a27;let _0x1ad76d=this['_getFloatDomInfo']();if(!_0x1ad76d)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0xcdf71=_0x1ad76d[_0x348a1e(0x2b2)]??this[_0x348a1e(0x191)],_0x510e6b=ai(_0xcdf71),_0x4995d8=Symbol(this[_0x348a1e(0x191)]);this[_0x348a1e(0x1fe)]=_0x4995d8,this['_waiter']=_0x510e6b;try{let _0x2e9a75=await _0x510e6b[_0x348a1e(0x319)],_0x1dd12e=this[_0x348a1e(0x2c1)](),_0xb3e5a=(_0x1dd12e==null?void 0x0:_0x1dd12e[_0x348a1e(0x2b2)])??this[_0x348a1e(0x191)];if(this[_0x348a1e(0x378)]||this['_isProviderDisposed']()||this[_0x348a1e(0x1fe)]!==_0x4995d8||!_0x1dd12e||_0xb3e5a!==_0xcdf71||document[_0x348a1e(0x197)](_0xcdf71)!==_0x2e9a75||!_0x2e9a75[_0x348a1e(0x254)])throw Error(_0x348a1e(0x156));let _0x5b7744=this[_0x348a1e(0x346)]();if(!_0x5b7744)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x350573=new _0x389f97(_0x2e9a75);return _0x350573['update'](this[_0x348a1e(0x2f3)](_0x5b7744),this[_0x348a1e(0x32a)]()),this[_0x348a1e(0x126)](_0x2e9a75),this[_0x348a1e(0x1ab)]=_0x350573,this['_managed']=!0x0,{'mountNode':_0x350573[_0x348a1e(0x256)],'dispose':()=>{const _0xf5a2d1=_0x348a1e;this[_0xf5a2d1(0x33d)](),_0x1ad76d['dispose'][_0xf5a2d1(0x33d)]();}};}finally{this['_waiter']===_0x510e6b&&(this[_0x348a1e(0x227)]=null),this[_0x348a1e(0x1fe)]===_0x4995d8&&(this[_0x348a1e(0x1fe)]=null);}}['_cancelHostWait'](){const _0x424957=_0x5d1a27;let _0x48f6ef=this[_0x424957(0x227)];_0x48f6ef&&(_0x48f6ef[_0x424957(0x1b5)](),this[_0x424957(0x227)]=null);}[_0x5d1a27(0x20e)](){const _0x1ff1c7=_0x5d1a27;let _0x3344f4=this[_0x1ff1c7(0x346)]();this[_0x1ff1c7(0x1ab)]&&_0x3344f4&&this['_domFrame'][_0x1ff1c7(0x327)](this[_0x1ff1c7(0x2f3)](_0x3344f4),this[_0x1ff1c7(0x32a)]());}[_0x5d1a27(0x2f3)](_0x1d0c83){const _0x21ff01=_0x5d1a27;return _0x513278[_0x21ff01(0x2ad)]({'logicalOuterRect':{'left':_0x1d0c83[_0x21ff01(0x290)],'top':_0x1d0c83[_0x21ff01(0x2c0)],'width':_0x1d0c83[_0x21ff01(0x175)],'height':_0x1d0c83[_0x21ff01(0x364)]},'scale':{'scaleX':_0x1d0c83[_0x21ff01(0x39a)],'scaleY':_0x1d0c83[_0x21ff01(0x3e4)]},'hostStyle':this[_0x21ff01(0x32a)](),'contentMode':_0x2717d0[_0x21ff01(0x2a7)]});}['_frameStyle'](){const _0x94ac84=_0x5d1a27;return{...this[_0x94ac84(0x174)],'radius':_0x35f395};}[_0x5d1a27(0x126)](_0x34dc4f){const _0x460a0d=_0x5d1a27;let _0xdf9007=_0x34dc4f[_0x460a0d(0x27e)];_0xdf9007&&(this['_savedWrapperStyle']||={'zIndex':_0xdf9007['style'][_0x460a0d(0x2d8)],'pointerEvents':_0xdf9007[_0x460a0d(0x2ce)]['pointerEvents']},_0xdf9007['style']['zIndex']=_0x460a0d(0x27c),this[_0x460a0d(0x383)](_0x34dc4f));}[_0x5d1a27(0x383)](_0x171866){const _0x20f0d8=_0x5d1a27;let _0xd56eae=_0x171866['parentElement'];if(!_0xd56eae)return;let _0x4f4eff=this[_0x20f0d8(0x1ff)];if(_0x4f4eff!=null){_0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimation']=_0x20f0d8(0x349),_0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x274)]=String(_0x4f4eff),_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]='none';return;}delete _0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x37d)],delete _0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimationDuration'],_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]=_0x20f0d8(0x1ca);}[_0x5d1a27(0x1e2)](){const _0x52ab4e=_0x5d1a27;if(!this[_0x52ab4e(0x168)])return;let _0x50c6e3=this[_0x52ab4e(0x2c1)](),_0x5309a2=(_0x50c6e3==null?void 0x0:_0x50c6e3[_0x52ab4e(0x2b2)])??this['chartId'],_0x48047a=document['getElementById'](_0x5309a2);_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimation'],_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimationDuration'];let _0x4c4759=_0x48047a==null?void 0x0:_0x48047a[_0x52ab4e(0x27e)];_0x4c4759&&(_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x2d8)]=this[_0x52ab4e(0x168)][_0x52ab4e(0x2d8)],_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x25c)]=this[_0x52ab4e(0x168)]['pointerEvents']),this[_0x52ab4e(0x168)]=null;}},si=class extends _0x25bd7c{constructor(_0x1a6a39,_0x5f2984,_0x270fd0,_0x2a9d9d,_0x85b03b,_0x1d7109){const _0x515762=_0x5d1a27;super(_0x1a6a39),this['_getOuterRect']=_0x5f2984,this['_setHostStyle']=_0x270fd0,this[_0x515762(0x145)]=_0x2a9d9d,this[_0x515762(0x2b0)]=_0x85b03b,this[_0x515762(0x2e7)]=_0x1d7109;}[_0x5d1a27(0x218)](){const _0x297cc1=_0x5d1a27;let _0x164c50=this[_0x297cc1(0x3d4)]();return _0x164c50?Zr(_0x164c50):null;}[_0x5d1a27(0x21e)](_0x1e180e){const _0x3b8334=_0x5d1a27;this[_0x3b8334(0x1bc)](_0x1e180e);}['nextVersion'](){const _0x546af4=_0x5d1a27;return this[_0x546af4(0x2b0)][_0x546af4(0x1e5)](this[_0x546af4(0x145)]);}[_0x5d1a27(0x12e)](_0x59262b,_0x4fa65f){const _0x2760e6=_0x5d1a27;return this[_0x2760e6(0x2b0)]['setImage'](this[_0x2760e6(0x145)],_0x59262b,_0x4fa65f);}['requestPaint'](){this['_requestPaint']();}[_0x5d1a27(0x18d)](){const _0x594ee7=_0x5d1a27;this[_0x594ee7(0x2b0)][_0x594ee7(0x1e5)](this['_snapshotKey']);}};function G(_0x52c357,_0x522e17){return function(_0x440f00,_0x2cc5ca){_0x522e17(_0x440f00,_0x2cc5ca,_0x52c357);};}function K(_0x3e0926,_0x5189a0,_0x8434f,_0x17415){const _0x18de32=_0x5d1a27;var _0x39b294=arguments[_0x18de32(0x355)],_0x394fbb=_0x39b294<0x3?_0x5189a0:_0x17415===null?_0x17415=Object[_0x18de32(0x118)](_0x5189a0,_0x8434f):_0x17415,_0x25643d;if(typeof Reflect==_0x18de32(0x382)&&typeof Reflect[_0x18de32(0x147)]==_0x18de32(0x2b5))_0x394fbb=Reflect['decorate'](_0x3e0926,_0x5189a0,_0x8434f,_0x17415);else{for(var _0x3241af=_0x3e0926['length']-0x1;_0x3241af>=0x0;_0x3241af--)(_0x25643d=_0x3e0926[_0x3241af])&&(_0x394fbb=(_0x39b294<0x3?_0x25643d(_0x394fbb):_0x39b294>0x3?_0x25643d(_0x5189a0,_0x8434f,_0x394fbb):_0x25643d(_0x5189a0,_0x8434f))||_0x394fbb);}return _0x39b294>0x3&&_0x394fbb&&Object[_0x18de32(0x35d)](_0x5189a0,_0x8434f,_0x394fbb),_0x394fbb;}const ci=0.5;function li(_0x1862fa){const _0x581f12=_0x5d1a27;let _0x35d0c1=Math[_0x581f12(0x189)](_0x1862fa['endX']-_0x1862fa[_0x581f12(0x12d)],0x0),_0x2d7ebf=Math[_0x581f12(0x189)](_0x1862fa[_0x581f12(0x16a)]-_0x1862fa['startY'],0x0),_0x3f3994=_0x1862fa['absolute'][_0x581f12(0x290)]&&_0x1862fa[_0x581f12(0x175)]-_0x35d0c1>ci,_0x5e3eab=_0x1862fa[_0x581f12(0x360)]['top']&&_0x1862fa[_0x581f12(0x364)]-_0x2d7ebf>ci;return!_0x3f3994&&!_0x5e3eab?_0x1862fa:{..._0x1862fa,'absolute':{'left':!_0x3f3994&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x290)],'top':!_0x5e3eab&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x2c0)]}};}function ui(_0x5b07c3){const _0x500303=_0x5d1a27;if(!Object[_0x500303(0x1e1)]['hasOwnProperty'][_0x500303(0x172)](_0x5b07c3,_0x500303(0x208)))return _0x5b07c3;let {border:_0x36b6de,..._0x101202}=_0x5b07c3;return{..._0x101202,'stroke':(_0x36b6de==null?void 0x0:_0x36b6de['color'])??_0x500303(0x2ee),'strokeWidth':(_0x36b6de==null?void 0x0:_0x36b6de[_0x500303(0x175)])??0x0};}let di=class extends _0x23a464{constructor(_0x7997d2,_0x513620,_0x8a69e4,_0x4d5b8f,_0x2e0f7b){const _0x55111a=_0x5d1a27;super(),this['_sheetCanvasFloatDomManagerService']=_0x7997d2,this[_0x55111a(0x185)]=_0x513620,this['_chartSnapshotStoreService']=_0x8a69e4,this['_canvasFloatDomService']=_0x4d5b8f,this[_0x55111a(0x2aa)]=_0x2e0f7b,U(this,_0x55111a(0x281),new Map()),U(this,_0x55111a(0x2a1),new Set()),U(this,_0x55111a(0x1db),new _0x19954c()),U(this,_0x55111a(0x21a),this[_0x55111a(0x1db)]['asObservable']()),this[_0x55111a(0x27a)](this[_0x55111a(0x11a)][_0x55111a(0x241)][_0x55111a(0x3d5)](_0x4bd5f9=>{const _0x3a607e=_0x55111a;let _0x326507=this['_chartHostMap']['get'](_0x4bd5f9['id']);_0x326507!=null&&_0x326507['isManaged']()&&(_0x326507['markUnmanaged'](),this[_0x3a607e(0x1db)]['next'](_0x4bd5f9['id']));}));}[_0x5d1a27(0x315)](_0x383783){const _0x569a8d=_0x5d1a27;if(_0x383783==null)return;let _0x3df475=this[_0x569a8d(0x185)][_0x569a8d(0x22d)](_0x383783),_0x3c7809=_0x3df475==null?void 0x0:_0x3df475['scene'];return _0x3df475==null||_0x3c7809==null?null:{'scene':_0x3c7809,'transformer':_0x3c7809[_0x569a8d(0x271)](),'renderUnit':_0x3df475,'canvas':_0x3df475[_0x569a8d(0x285)][_0x569a8d(0x139)]()};}['setBorder'](_0x437aad,_0x3c27c4){const _0x59fe10=_0x5d1a27;let _0x1500a7=this['_sheetCanvasFloatDomManagerService'],_0x10bcfa=_0x3c27c4||_0x59fe10(0x2ee),_0x93be27=_0x1500a7['getFloatDomInfo'](_0x437aad);if(_0x93be27){let {unitId:_0x30bdc4,subUnitId:_0x5586a6}=_0x93be27;_0x1500a7[_0x59fe10(0x1fd)](_0x30bdc4,_0x5586a6,_0x437aad,{'stroke':_0x10bcfa});}}[_0x5d1a27(0x372)](_0x392f2e,_0x29e92b){const _0x3ab366=_0x5d1a27;let _0x52c50f=this[_0x3ab366(0x11a)],_0x28c1a8=_0x52c50f[_0x3ab366(0x177)](_0x392f2e);if(_0x28c1a8){let {unitId:_0x4914ce,subUnitId:_0x3fa3e0}=_0x28c1a8;_0x52c50f[_0x3ab366(0x1fd)](_0x4914ce,_0x3fa3e0,_0x392f2e,ui(_0x29e92b));}}[_0x5d1a27(0x30b)](_0x33450d){const _0x586d8d=_0x5d1a27;let _0x656898=this[_0x586d8d(0x11a)][_0x586d8d(0x177)](_0x33450d);return _0x656898?_0x656898[_0x586d8d(0x1ed)]:null;}[_0x5d1a27(0x3a4)](_0x102860){const _0x1a050b=_0x5d1a27;let _0x4e1143=this[_0x1a050b(0x11a)][_0x1a050b(0x177)](_0x102860),_0x29e5f1=document[_0x1a050b(0x197)]((_0x4e1143==null?void 0x0:_0x4e1143['domId'])??_0x102860);return(_0x29e5f1==null?void 0x0:_0x29e5f1['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x54327c,_0x317554){const _0x43b79f=_0x5d1a27;var _0x404688;(_0x404688=this[_0x43b79f(0x281)]['get'](_0x54327c))==null||_0x404688[_0x43b79f(0x20d)](_0x317554);}[_0x5d1a27(0x203)](_0x1e7ed8){const _0x4badb1=_0x5d1a27;var _0x536447;return((_0x536447=this['_chartHostMap'][_0x4badb1(0x3a6)](_0x1e7ed8))==null?void 0x0:_0x536447['checkMounted']())??!0x1;}['syncHostLayout'](_0x474c61){const _0x743960=_0x5d1a27;var _0x5c3c1c;(_0x5c3c1c=this[_0x743960(0x281)][_0x743960(0x3a6)](_0x474c61))==null||_0x5c3c1c['syncLayout']();}[_0x5d1a27(0x2d9)](_0x5e08fc){const _0x5e760f=_0x5d1a27;let _0xb92023=this[_0x5e760f(0x281)]['get'](_0x5e08fc);_0xb92023&&(_0xb92023[_0x5e760f(0x33d)](),this['_canvasFloatDomService'][_0x5e760f(0x134)](_0x5e08fc,{'eventPassThrough':!0x0})),this[_0x5e760f(0x281)][_0x5e760f(0x198)](_0x5e08fc);}async['ensureHost'](_0x524b2d,_0x22593a){const _0x2775b6=_0x5d1a27;if(_0x22593a===_0x5aea83[_0x2775b6(0x2af)])return this[_0x2775b6(0x361)](_0x524b2d);if(_0x22593a===_0x5aea83[_0x2775b6(0x3da)])return this[_0x2775b6(0x1e9)](_0x524b2d);let _0x4ed721=this['_getOrCreateSheetChartHost'](_0x524b2d);if(!_0x4ed721)throw Error(_0x2775b6(0x156));return _0x4ed721[_0x2775b6(0x24f)]();}['isDomReady'](_0x248b49){const _0x3a8708=_0x5d1a27;var _0x5d6daa;return this[_0x3a8708(0x2a1)][_0x3a8708(0x21c)](_0x248b49)?(_0x5d6daa=this[_0x3a8708(0x281)][_0x3a8708(0x3a6)](_0x248b49))!=null&&_0x5d6daa[_0x3a8708(0x3ad)]()?!0x0:(this[_0x3a8708(0x2a1)][_0x3a8708(0x198)](_0x248b49),this[_0x3a8708(0x2bc)](_0x248b49),!0x1):!0x1;}[_0x5d1a27(0x39f)](_0xd16df8){const _0x5ae275=_0x5d1a27;this[_0x5ae275(0x2a1)][_0x5ae275(0x198)](_0xd16df8)&&(this[_0x5ae275(0x2bc)](_0xd16df8),this[_0x5ae275(0x1cd)](_0xd16df8));}[_0x5d1a27(0x18d)](_0x4fdbac){const _0x1ea1ca=_0x5d1a27;let _0x32dbdc=this[_0x1ea1ca(0x232)](_0x4fdbac);_0x32dbdc&&this[_0x1ea1ca(0x3d9)][_0x1ea1ca(0x1e5)](_0x32dbdc);}[_0x5d1a27(0x361)](_0x1e792c){const _0x39d868=_0x5d1a27;let _0x40c6a1=this[_0x39d868(0x232)](_0x1e792c);return!_0x40c6a1||!this[_0x39d868(0x30b)](_0x1e792c)?null:new si(_0x1e792c,()=>this[_0x39d868(0x30b)](_0x1e792c),_0x209da7=>this[_0x39d868(0x372)](_0x1e792c,_0x209da7),_0x40c6a1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x1e792c));}['_getOrCreateSheetChartHost'](_0x1949e6){const _0x359ada=_0x5d1a27;var _0x15e89e;if(!this[_0x359ada(0x30b)](_0x1949e6))return null;this[_0x359ada(0x128)]['updateFloatDom'](_0x1949e6,{'eventPassThrough':((_0x15e89e=this[_0x359ada(0x2aa)][_0x359ada(0x26e)])==null?void 0x0:_0x15e89e['id'])!==_0x1949e6,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x53e06b=this[_0x359ada(0x281)][_0x359ada(0x3a6)](_0x1949e6);if(_0x53e06b)return _0x53e06b;let _0x48d801=new oi(_0x1949e6,()=>this[_0x359ada(0x11a)][_0x359ada(0x177)](_0x1949e6),()=>this[_0x359ada(0x222)](_0x1949e6),_0x4d3c36=>this[_0x359ada(0x372)](_0x1949e6,_0x4d3c36),()=>this[_0x359ada(0x378)],()=>this[_0x359ada(0x25f)](_0x1949e6),()=>this[_0x359ada(0x39f)](_0x1949e6));return this[_0x359ada(0x281)]['set'](_0x1949e6,_0x48d801),_0x48d801;}[_0x5d1a27(0x25f)](_0x2a8f0f){const _0x2eb98a=_0x5d1a27;this[_0x2eb98a(0x2a1)][_0x2eb98a(0x21c)](_0x2a8f0f)||(this['_activeDomReadyChartIds'][_0x2eb98a(0x248)](_0x2a8f0f),this[_0x2eb98a(0x384)](_0x2a8f0f),this[_0x2eb98a(0x1cd)](_0x2a8f0f));}[_0x5d1a27(0x384)](_0x3af27a){const _0x43130c=_0x5d1a27;var _0x292b59;let _0x7c2818=this[_0x43130c(0x11a)][_0x43130c(0x177)](_0x3af27a),_0x52209b=_0x7c2818?(_0x292b59=this['_renderManagerService']['getRenderUnitById'](_0x7c2818[_0x43130c(0x1b7)]))==null?void 0x0:_0x292b59[_0x43130c(0x1d8)]:null;if(!_0x7c2818||!_0x52209b)return;let _0x35242c=_0x1ef318(_0x7c2818[_0x43130c(0x2b7)][_0x43130c(0x186)](_0x25844e(0x1)),_0x52209b[_0x43130c(0x264)][_0x43130c(0x186)](_0x33b91a(_0x7c2818[_0x43130c(0x2b7)]),_0x1f7349(([,_0x73adad])=>_0x73adad)))[_0x43130c(0x186)](_0x29a798(),_0x1f7349(li));this[_0x43130c(0x128)][_0x43130c(0x134)](_0x3af27a,{'position$':_0x35242c});}[_0x5d1a27(0x2bc)](_0x143173){const _0x5beb8e=_0x5d1a27;let _0x5e94b0=this[_0x5beb8e(0x11a)][_0x5beb8e(0x177)](_0x143173);_0x5e94b0&&this[_0x5beb8e(0x128)][_0x5beb8e(0x134)](_0x143173,{'position$':_0x5e94b0['position$']});}['_getChartSnapshotKey'](_0x3aa5d1){const _0x30a216=_0x5d1a27;let _0x4bfe33=this[_0x30a216(0x11a)][_0x30a216(0x177)](_0x3aa5d1);return _0x4bfe33?{'unitId':_0x4bfe33['unitId'],'subUnitId':_0x4bfe33['subUnitId'],'chartId':_0x3aa5d1}:null;}[_0x5d1a27(0x1cd)](_0x379a73){const _0xccb6dc=_0x5d1a27;var _0x1af499,_0x342b6d,_0x44ae60;let _0x4f245f=this[_0xccb6dc(0x11a)][_0xccb6dc(0x177)](_0x379a73);if(!_0x4f245f)return;let _0x156d1e=(_0x1af499=this[_0xccb6dc(0x185)][_0xccb6dc(0x22d)](_0x4f245f[_0xccb6dc(0x1b7)]))==null?void 0x0:_0x1af499[_0xccb6dc(0x1d8)],_0x248d0e=(_0x156d1e==null||(_0x342b6d=_0x156d1e[_0xccb6dc(0x29d)])==null?void 0x0:_0x342b6d['call'](_0x156d1e,_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??(_0x156d1e==null?void 0x0:_0x156d1e['getObject'](_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??null;_0x248d0e==null||(_0x44ae60=_0x248d0e[_0xccb6dc(0x3d3)])==null||_0x44ae60[_0xccb6dc(0x172)](_0x248d0e,!0x0),_0x156d1e==null||_0x156d1e[_0xccb6dc(0x3d3)](!0x0);}['_getHostPlacement'](_0x25a05a){const _0x10c9c6=_0x5d1a27;let _0x4ebbe2=this[_0x10c9c6(0x11a)][_0x10c9c6(0x177)](_0x25a05a);if(!_0x4ebbe2)return null;let _0x5b889a=this[_0x10c9c6(0x315)](_0x4ebbe2[_0x10c9c6(0x1b7)]),_0x4bf859=_0x5b889a==null?void 0x0:_0x5b889a[_0x10c9c6(0x1d8)],_0x1125de=document[_0x10c9c6(0x197)](_0x4ebbe2[_0x10c9c6(0x2b2)]??_0x25a05a);return Qr(_0x4ebbe2[_0x10c9c6(0x1ed)],{'scaleX':(_0x4bf859==null?void 0x0:_0x4bf859['scaleX'])??0x1,'scaleY':(_0x4bf859==null?void 0x0:_0x4bf859[_0x10c9c6(0x3e4)])??0x1},_0x1125de?{'left':_0x1125de[_0x10c9c6(0x206)],'top':_0x1125de[_0x10c9c6(0x2c2)]}:void 0x0);}['dispose'](){const _0x19a586=_0x5d1a27;this['_disposed']||(Array[_0x19a586(0x38b)](this[_0x19a586(0x281)]['keys']())[_0x19a586(0x1e0)](_0x27ac38=>this[_0x19a586(0x2d9)](_0x27ac38)),this['_activeDomReadyChartIds'][_0x19a586(0x368)](),this[_0x19a586(0x1db)][_0x19a586(0x293)](),super['dispose']());}};di=K([G(0x0,_0x233312(_0x1cd243)),G(0x1,_0x233312(_0x2b6adf)),G(0x2,_0x233312(ii)),G(0x3,_0x233312(_0x2f4ea6)),G(0x4,_0x233312(_0xef00ca))],di);const fi=_0x4fb58e(_0x5d1a27(0x289)),pi=_0x5aea83['Image'];var mi=class extends _0x25bd7c{constructor(_0x5f357e,_0x106a5){const _0x579565=_0x5d1a27;super(_0x5f357e),this['_rect']=_0x106a5,U(this,'_version',0x0),U(this,_0x579565(0x386),void 0x0),U(this,_0x579565(0x2ce),{});}[_0x5d1a27(0x218)](){return this['_rect'];}[_0x5d1a27(0x21e)](_0x4b5525){const _0x4bb4be=_0x5d1a27;this[_0x4bb4be(0x2ce)]=_0x4b5525;}[_0x5d1a27(0x1e5)](){return++this['_version'];}[_0x5d1a27(0x12e)](_0x59f3a7,_0x5114dd){const _0x4625f3=_0x5d1a27;return _0x5114dd===this[_0x4625f3(0x3ae)]?(W(this[_0x4625f3(0x386)]),this[_0x4625f3(0x386)]=_0x59f3a7,!0x0):(W(_0x59f3a7),!0x1);}['requestPaint'](){}[_0x5d1a27(0x18d)](){const _0x590436=_0x5d1a27;this[_0x590436(0x3ae)]+=0x1;}[_0x5d1a27(0x244)](){const _0xf3916c=_0x5d1a27;let _0x5a78e3=this['_image'];return this[_0xf3916c(0x386)]=void 0x0,_0x5a78e3;}[_0x5d1a27(0x33d)](){const _0x213ce3=_0x5d1a27;W(this[_0x213ce3(0x386)]),this[_0x213ce3(0x386)]=void 0x0,super[_0x213ce3(0x33d)]();}};function hi(_0x50ac94,_0x23b007,_0x14a4d8){const _0x528570=_0x5d1a27;let _0x14e7f6=_0x50ac94[_0x528570(0x1eb)](_0x23b007),_0x2f2289={..._0x50ac94[_0x528570(0x2ce)],'runtime':{..._0x14e7f6,'layoutInset':0x8,..._0x14a4d8===void 0x0?{}:{'addWatermark':_0x14a4d8}},'direction':_0x23b007};return _0x2f8ba8(_0x2f2289,_0x50ac94[_0x528570(0x38a)]);}let q=class extends _0x23a464{constructor(_0x3d9543,_0x209ebe,_0x499a6d,_0x1b91b5,_0x1f9a31,_0x4303a5,_0x5277a7,_0x5cbef9,_0x2c720a,_0x47a5ec,_0x38e233,_0xe3b539,_0x577199){const _0x1d0111=_0x5d1a27;super(),this['_chartHostProvider']=_0x3d9543,this[_0x1d0111(0x11a)]=_0x209ebe,this['_chartModelService']=_0x499a6d,this['_drawingManagerService']=_0x1b91b5,this[_0x1d0111(0x3d8)]=_0x1f9a31,this[_0x1d0111(0x185)]=_0x4303a5,this[_0x1d0111(0x166)]=_0x5277a7,this[_0x1d0111(0x305)]=_0x5cbef9,this['_chartThemeService']=_0x2c720a,this[_0x1d0111(0x30f)]=_0x47a5ec,this[_0x1d0111(0x1d2)]=_0x38e233,this[_0x1d0111(0x3d9)]=_0xe3b539,this[_0x1d0111(0x1be)]=_0x577199,U(this,'_chartInstanceMap',new Map()),U(this,'_chartEventHandlers',new Map()),U(this,_0x1d0111(0x38e),new Map()),U(this,_0x1d0111(0x330),new Map()),U(this,_0x1d0111(0x16b),new Map()),U(this,_0x1d0111(0x32f),new Map()),U(this,_0x1d0111(0x15b),new Map()),U(this,_0x1d0111(0x3c3),void 0x0),U(this,_0x1d0111(0x2bd),void 0x0),U(this,_0x1d0111(0x2e5),new Map()),U(this,'_dataUpdateAnimationChartIds',new Set()),U(this,_0x1d0111(0x2f9),new Map()),U(this,_0x1d0111(0x13c),null),U(this,_0x1d0111(0x1c4),null);let _0x1237c5=_0x2ab3f2(this[_0x1d0111(0x305)]),_0x4a239c=this['_configService']['getConfig'](_0x1b5ad5);this['_chartRenderMode']=(_0x4a239c==null?void 0x0:_0x4a239c[_0x1d0111(0x2f2)])??pi,this[_0x1d0111(0x2bd)]=_0x1237c5[_0x1d0111(0x355)]!==0x1||_0x1237c5[0x0]!==_0x1d0111(0x22c),this['_registerChartImageRenderObjectFactory'](),this[_0x1d0111(0x242)](),this[_0x1d0111(0x34d)](),this['_initActiveRuntimeLayerListener'](),this[_0x1d0111(0x294)]();}[_0x5d1a27(0x2ef)](_0x53acff){const _0x3630d2=_0x5d1a27;let _0x11a893=this[_0x3630d2(0x232)](_0x53acff);return _0x11a893?this[_0x3630d2(0x3d9)][_0x3630d2(0x265)](_0x11a893):void 0x0;}[_0x5d1a27(0x36c)](_0x519ea9){const _0x472788=_0x5d1a27;var _0xe21558;return((_0xe21558=this[_0x472788(0x2aa)][_0x472788(0x26e)])==null?void 0x0:_0xe21558['id'])===_0x519ea9?_0x5aea83[_0x472788(0x3da)]:this[_0x472788(0x3c3)];}['_getChartSnapshotKey'](_0x121303){const _0x3d3c43=_0x5d1a27;let _0x1ebb17=this[_0x3d3c43(0x11a)]['getFloatDomInfo'](_0x121303);return _0x1ebb17?{'unitId':_0x1ebb17[_0x3d3c43(0x1b7)],'subUnitId':_0x1ebb17['subUnitId'],'chartId':_0x121303}:null;}[_0x5d1a27(0x182)](){const _0x20d07c=_0x5d1a27;this[_0x20d07c(0x3c3)]===_0x5aea83[_0x20d07c(0x2af)]&&this[_0x20d07c(0x27a)](this[_0x20d07c(0x11a)][_0x20d07c(0x1c8)](_0x4c00c3[_0x20d07c(0x249)],({key:_0xffa377,config:_0x3b1b9f,unitId:_0x4931bd,subUnitId:_0x21f0bb,drawingId:_0x1a5059})=>new ei(_0xffa377,_0x3b1b9f,()=>this[_0x20d07c(0x3d9)][_0x20d07c(0x265)]({'unitId':_0x4931bd,'subUnitId':_0x21f0bb,'chartId':_0x1a5059}),()=>this[_0x20d07c(0x22b)][_0x20d07c(0x29a)](_0x1a5059))));}[_0x5d1a27(0x242)](){const _0x471c2e=_0x5d1a27;this[_0x471c2e(0x27a)](this[_0x471c2e(0x2aa)][_0x471c2e(0x209)][_0x471c2e(0x3d5)](_0x37397c=>{const _0x534bc3=_0x471c2e;let _0x2640c1=(_0x37397c==null?void 0x0:_0x37397c['id'])??null,_0x3ab3ef=this['_activeChartId'];_0x3ab3ef!==_0x2640c1&&(_0x3ab3ef&&(this[_0x534bc3(0x22b)]['markHostNotReady'](_0x3ab3ef),this[_0x534bc3(0x362)](_0x3ab3ef),this[_0x534bc3(0x3b6)](_0x3ab3ef)),this[_0x534bc3(0x13c)]=_0x2640c1,_0x2640c1&&(this[_0x534bc3(0x2ae)](_0x2640c1),this[_0x534bc3(0x22b)][_0x534bc3(0x39f)](_0x2640c1),this[_0x534bc3(0x33c)](_0x2640c1),this[_0x534bc3(0x11e)](_0x2640c1)));}));}['_initDrawingDeactivationListener'](){const _0x1cc975=_0x5d1a27;this[_0x1cc975(0x27a)](this[_0x1cc975(0x3cb)][_0x1cc975(0x1c6)]['subscribe'](_0x57722e=>{const _0x29c530=_0x1cc975;var _0x3ee79e;let _0x1991ff=(_0x3ee79e=this[_0x29c530(0x2aa)][_0x29c530(0x26e)])==null?void 0x0:_0x3ee79e['id'];_0x1991ff&&_0x57722e[_0x29c530(0x119)](_0x5ef1de=>_0x5ef1de[_0x29c530(0x389)]['some'](_0x230952=>_0x230952['drawingId']===_0x1991ff))&&this[_0x29c530(0x2aa)][_0x29c530(0x284)](null);})),this[_0x1cc975(0x27a)](this['_drawingManagerService'][_0x1cc975(0x1fc)]['subscribe'](_0x3a94a1=>{const _0x4c0a24=_0x1cc975;var _0x49b553;let _0x260838=(_0x49b553=this[_0x4c0a24(0x2aa)][_0x4c0a24(0x26e)])==null?void 0x0:_0x49b553['id'];_0x260838&&_0x3a94a1[_0x4c0a24(0x119)](_0x26348c=>_0x26348c[_0x4c0a24(0x299)][_0x4c0a24(0x14a)]===_0x260838||_0x26348c[_0x4c0a24(0x389)][_0x4c0a24(0x119)](_0x373eab=>_0x373eab['drawingId']===_0x260838))&&this['_chartModelService'][_0x4c0a24(0x284)](null);}));}[_0x5d1a27(0x157)](){const _0x451f68=_0x5d1a27;this['disposeWithMe'](this[_0x451f68(0x3cb)][_0x451f68(0x2da)][_0x451f68(0x3d5)](_0x202b8c=>{const _0x53eedb=_0x451f68;var _0x2fe626;let _0x5232c6=(_0x2fe626=this[_0x53eedb(0x2aa)][_0x53eedb(0x26e)])==null?void 0x0:_0x2fe626['id'];if(!_0x5232c6){_0x202b8c[_0x53eedb(0x341)][_0x53eedb(0x1e0)](_0x49de68=>{const _0x4e2655=_0x53eedb;this[_0x4e2655(0x2aa)][_0x4e2655(0x1ce)](_0x49de68)&&this[_0x4e2655(0x362)](_0x49de68);});return;}let _0x3da9ca=this['_sheetCanvasFloatDomManagerService'][_0x53eedb(0x177)](_0x5232c6);(_0x3da9ca==null?void 0x0:_0x3da9ca['unitId'])===_0x202b8c[_0x53eedb(0x1b7)]&&_0x3da9ca[_0x53eedb(0x2b4)]===_0x202b8c[_0x53eedb(0x2b4)]&&this[_0x53eedb(0x33c)](_0x5232c6);})),this[_0x451f68(0x27a)](this['_drawingManagerService']['add$'][_0x451f68(0x3d5)](_0x4eb363=>{const _0x1aab6f=_0x451f68;var _0x1b9a6f;let _0x2e95bc=(_0x1b9a6f=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x1b9a6f['id'];if(!_0x2e95bc)return;let _0x403b08=this[_0x1aab6f(0x11a)]['getFloatDomInfo'](_0x2e95bc);_0x403b08&&_0x4eb363['some'](_0xec3d56=>_0xec3d56[_0x1aab6f(0x1b7)]===_0x403b08[_0x1aab6f(0x1b7)]&&_0xec3d56['subUnitId']===_0x403b08['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x2e95bc);})),this[_0x451f68(0x27a)](this['_chartModelService']['chartModelRemoved$'][_0x451f68(0x3d5)](_0x48699e=>{const _0x1d81a9=_0x451f68;var _0x516f15;this[_0x1d81a9(0x2b6)](_0x48699e),this[_0x1d81a9(0x25a)](_0x48699e),this[_0x1d81a9(0x39d)][_0x1d81a9(0x198)](_0x48699e),this['_deactivateDataUpdateAnimation'](_0x48699e),this['_lastRenderInputMap'][_0x1d81a9(0x198)](_0x48699e),this[_0x1d81a9(0x3d9)][_0x1d81a9(0x26f)](_0x48699e),this[_0x1d81a9(0x31e)](_0x48699e),this[_0x1d81a9(0x22b)]['markHostNotReady'](_0x48699e),((_0x516f15=this[_0x1d81a9(0x2aa)][_0x1d81a9(0x26e)])==null?void 0x0:_0x516f15['id'])===_0x48699e?this[_0x1d81a9(0x2aa)]['setActiveChartModel'](null):this['_resetChartRuntimeZIndex'](_0x48699e),this[_0x1d81a9(0x288)](_0x48699e);}));}['_rerenderLatest'](_0x17c875){const _0x58087b=_0x5d1a27;let _0x178cd3=this[_0x58087b(0x2e5)][_0x58087b(0x3a6)](_0x17c875);_0x178cd3&&this[_0x58087b(0x3a9)](_0x17c875,_0x178cd3['config'],_0x178cd3[_0x58087b(0x2ce)]);}['_disposeChartDomInstance'](_0x12effe){const _0xd9cdce=_0x5d1a27;let _0x3d408a=this['_chartInstanceMap'][_0xd9cdce(0x3a6)](_0x12effe);(_0x3d408a==null?void 0x0:_0x3d408a[_0xd9cdce(0x295)])==='dom'&&(this[_0xd9cdce(0x25a)](_0x12effe),_0x3d408a['dispose'](),this[_0xd9cdce(0x3bd)][_0xd9cdce(0x198)](_0x12effe)),this[_0xd9cdce(0x22b)][_0xd9cdce(0x39f)](_0x12effe),this['_chartHostProvider'][_0xd9cdce(0x2d9)](_0x12effe);}[_0x5d1a27(0x288)](_0x491692){const _0x36d9c6=_0x5d1a27;let _0x4b7e35=this[_0x36d9c6(0x3bd)][_0x36d9c6(0x3a6)](_0x491692);_0x4b7e35&&(this[_0x36d9c6(0x25a)](_0x491692),_0x4b7e35[_0x36d9c6(0x33d)](),this['_chartInstanceMap'][_0x36d9c6(0x198)](_0x491692)),this[_0x36d9c6(0x22b)]['markHostNotReady'](_0x491692),this[_0x36d9c6(0x22b)][_0x36d9c6(0x2d9)](_0x491692);}[_0x5d1a27(0x31e)](_0x949d74){const _0x57e3ce=_0x5d1a27;var _0x2b4237,_0x2c5644;(_0x2b4237=this[_0x57e3ce(0x1be)][_0x57e3ce(0x2d1)](_0x2e63c9))==null||(_0x2c5644=_0x2b4237[_0x57e3ce(0x19a)])==null||_0x2c5644[_0x57e3ce(0x172)](_0x2b4237,_0x949d74);}[_0x5d1a27(0x1f2)](_0x2e78a2,_0x34bbb8){const _0xb5a983=_0x5d1a27;let _0x237d67=this[_0xb5a983(0x3cb)][_0xb5a983(0x3be)](_0x2e78a2,_0x34bbb8);Object[_0xb5a983(0x2d7)](_0x237d67??{})[_0xb5a983(0x1e0)](_0x4f2ed4=>{const _0x46a09d=_0xb5a983;_0x4f2ed4['drawingType']===_0x4c00c3[_0x46a09d(0x249)]&&this[_0x46a09d(0x31e)](_0x4f2ed4['drawingId']);});}['_getChartRenderObject'](_0x4d5b91,_0x2f9d27){const _0x5b116e=_0x5d1a27;var _0x22489b;return((_0x22489b=_0x4d5b91[_0x5b116e(0x29d)])==null?void 0x0:_0x22489b['call'](_0x4d5b91,_0x2f9d27))??_0x4d5b91[_0x5b116e(0x32d)](_0x2f9d27)??null;}['_getChartRenderObjectContext'](_0x1a6899){const _0x53db05=_0x5d1a27;var _0x4aef54;let _0x1facfe=this[_0x53db05(0x11a)]['getFloatDomInfo'](_0x1a6899);if(!_0x1facfe)return null;let _0x5a639b=(_0x4aef54=this[_0x53db05(0x185)][_0x53db05(0x22d)](_0x1facfe[_0x53db05(0x1b7)]))==null?void 0x0:_0x4aef54[_0x53db05(0x1d8)];if(!_0x5a639b)return null;let _0x25e6b6=this[_0x53db05(0x1d1)](_0x5a639b,_0x4f61f4({'unitId':_0x1facfe[_0x53db05(0x1b7)],'subUnitId':_0x1facfe[_0x53db05(0x2b4)],'drawingId':_0x1a6899}));return _0x25e6b6?{'info':_0x1facfe,'scene':_0x5a639b,'chartObject':_0x25e6b6}:null;}[_0x5d1a27(0x15f)](_0x11e9be,_0x4a980b){const _0x4e075c=_0x5d1a27;var _0x87f12e,_0x35e8d7,_0x3a076d,_0x3c3def;let _0x3f8fc0=this[_0x4e075c(0x278)](_0x11e9be);_0x3f8fc0&&((_0x87f12e=(_0x35e8d7=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x170)])==null||_0x87f12e[_0x4e075c(0x172)](_0x35e8d7,{'zIndex':_0x4a980b}),(_0x3a076d=(_0x3c3def=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x3d3)])==null||_0x3a076d[_0x4e075c(0x172)](_0x3c3def,!0x0),_0x3f8fc0[_0x4e075c(0x1d8)][_0x4e075c(0x3d3)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0xf7b291){const _0x141170=_0x5d1a27;let _0x1288e8=this[_0x141170(0x11a)][_0x141170(0x177)](_0xf7b291);if(!_0x1288e8)return;let _0x1bbb53=this[_0x141170(0x3cb)][_0x141170(0x2ac)](_0x1288e8[_0x141170(0x1b7)],_0x1288e8[_0x141170(0x2b4)]);this[_0x141170(0x15f)](_0xf7b291,_0x1bbb53[_0x141170(0x355)]);}[_0x5d1a27(0x362)](_0x3288db){const _0x5200c8=_0x5d1a27;let _0x3525d0=this[_0x5200c8(0x11a)]['getFloatDomInfo'](_0x3288db);if(!_0x3525d0)return;let _0x10d22e=this[_0x5200c8(0x3cb)][_0x5200c8(0x2ac)](_0x3525d0[_0x5200c8(0x1b7)],_0x3525d0[_0x5200c8(0x2b4)]),_0x49b075=_0x10d22e[_0x5200c8(0x1b1)](_0x3288db);this[_0x5200c8(0x15f)](_0x3288db,_0x49b075===-0x1?Math[_0x5200c8(0x189)](_0x10d22e[_0x5200c8(0x355)]-0x1,0x0):_0x49b075);}[_0x5d1a27(0x35e)](_0xa66dbf,_0x1fb2d7){const _0x61e5b8=_0x5d1a27;let _0x56cf6d=this['_sheetCanvasFloatDomManagerService'][_0x61e5b8(0x177)](_0xa66dbf);if(_0x1fb2d7[_0x61e5b8(0x175)]!==void 0x0&&_0x1fb2d7['height']!==void 0x0&&_0x56cf6d){var _0xdf8a6e;let {subUnitId:_0x276d41}=_0x56cf6d,_0x57e807=(_0xdf8a6e=this[_0x61e5b8(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x61e5b8(0x1d7)]))==null?void 0x0:_0xdf8a6e[_0x61e5b8(0x144)]();if((_0x57e807==null?void 0x0:_0x57e807[_0x61e5b8(0x1c1)]())===_0x276d41){let {width:_0x4cb2f6,height:_0x59c2ac}=_0x1fb2d7,_0x400200=this[_0x61e5b8(0x2aa)]['getChartModel'](_0xa66dbf),_0x19bf2f=_0x400200==null?void 0x0:_0x400200[_0x61e5b8(0x2ce)];(Math['abs'](_0x4cb2f6-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x175)])||0x0))>0x1||Math[_0x61e5b8(0x124)](_0x59c2ac-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x364)])||0x0))>0x1)&&(_0x400200==null||_0x400200[_0x61e5b8(0x257)]({..._0x19bf2f,'width':_0x4cb2f6,'height':_0x59c2ac}));}}}['_debounceHandle'](_0x346003,_0x1ad532,_0x320117=0x0){const _0x513691=_0x5d1a27;let _0x176dba=this[_0x513691(0x32f)][_0x513691(0x3a6)](_0x346003);_0x176dba||(_0x176dba=_0x265549(_0x2f3898=>{const _0x533f8b=_0x513691;this[_0x533f8b(0x35e)](_0x346003,_0x2f3898);},_0x320117),this['_debounceHandleMap']['set'](_0x346003,_0x176dba)),_0x176dba(_0x1ad532);}[_0x5d1a27(0x294)](){const _0x2e9ac9=_0x5d1a27;let _0xbe35de=this[_0x2e9ac9(0x16b)],_0x5c110a=_0x35eed8=>{const _0xc2094e=_0x2e9ac9;if(!_0xbe35de[_0xc2094e(0x21c)](_0x35eed8)){let _0x203508=_0x265549((_0xdfd2c8,_0x5c5dbf,_0x198dec,_0x2128d6)=>{const _0x27df2d=_0xc2094e;var _0x15cdee,_0x358004;if(!_0x198dec)return;(_0x15cdee=_0x198dec[_0x27df2d(0x142)])==null||_0x15cdee['items']['forEach']((_0x1c874d,_0x57bb02)=>{const _0x58d08d=_0x27df2d;_0x1c874d[_0x58d08d(0x27d)]||=this[_0x58d08d(0x166)]['t'](_0x58d08d(0x3b9))+'\x20'+(_0x57bb02+0x1);}),_0x198dec[_0x27df2d(0x1e8)][_0x27df2d(0x1e0)]((_0x257ff7,_0x465c12)=>{const _0x417713=_0x27df2d;_0x257ff7[_0x417713(0x1ea)]||=this[_0x417713(0x166)]['t'](_0x417713(0x344))+'\x20'+(_0x465c12+0x1);});let _0x3c9d13=this['createRuntimeChartStyle'](_0xdfd2c8,_0x2128d6),_0x17e905=(_0x358004=this[_0x27df2d(0x3d8)][_0x27df2d(0x3ce)](_0x2a3654[_0x27df2d(0x1d7)]))==null?void 0x0:_0x358004[_0x27df2d(0x144)]();(_0x17e905==null?void 0x0:_0x17e905['getSheetId']())===_0x5c5dbf&&this[_0x27df2d(0x3a9)](_0xdfd2c8['id'],_0x198dec,_0x3c9d13);},0x11);_0xbe35de[_0xc2094e(0x30a)](_0x35eed8,_0x203508);}return _0xbe35de['get'](_0x35eed8);};this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x3d8)][_0x2e9ac9(0x1f4)][_0x2e9ac9(0x3d5)](_0x4ed89d=>{const _0x4ad113=_0x2e9ac9;let _0x2fcae0=this[_0x4ad113(0x3d8)][_0x4ad113(0x3ce)](_0x2a3654[_0x4ad113(0x1d7)]);if(_0x4ed89d&&_0x2fcae0&&_0x2fcae0[_0x4ad113(0x18b)]()===_0x4ed89d){var _0x4d784b;let _0x1021ca=_0x2fcae0[_0x4ad113(0x144)]()[_0x4ad113(0x1c1)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x4ad113(0x1b7)]!==_0x4ed89d||this[_0x4ad113(0x1c4)][_0x4ad113(0x2b4)]!==_0x1021ca)&&this['_clearSheetChartRuntimeCaches'](this[_0x4ad113(0x1c4)]['unitId'],this['_lastActiveSheet'][_0x4ad113(0x2b4)]),this[_0x4ad113(0x1c4)]={'unitId':_0x4ed89d,'subUnitId':_0x1021ca};let _0x10cc4b=this[_0x4ad113(0x3cb)][_0x4ad113(0x3be)](_0x4ed89d,_0x1021ca);if(!((_0x4d784b=this[_0x4ad113(0x185)]['getRenderUnitById'](_0x4ed89d))!=null&&_0x4d784b[_0x4ad113(0x388)](_0x4936ae)[_0x4ad113(0x392)](_0x1021ca)))return;if(_0x10cc4b)for(let _0x513d45 in _0x10cc4b){let {drawingId:_0x262d52}=_0x10cc4b[_0x513d45],_0x355c83=this[_0x4ad113(0x2aa)]['getChartModel'](_0x262d52);_0x355c83&&_0x5c110a(_0x355c83['id'])(_0x355c83,_0x1021ca,_0x355c83[_0x4ad113(0x2cc)],this[_0x4ad113(0x166)]['getDirection']());}}})),this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x30f)][_0x2e9ac9(0x3a1)][_0x2e9ac9(0x3d5)](()=>{const _0x2c7bfd=_0x2e9ac9;var _0x5670ff;let _0x27e4d4=this['_univerInstanceService'][_0x2c7bfd(0x3ce)](_0x2a3654[_0x2c7bfd(0x1d7)]);if(!_0x27e4d4)return;let _0x16e761=_0x27e4d4[_0x2c7bfd(0x18b)](),_0x26c129=_0x27e4d4[_0x2c7bfd(0x144)]()['getSheetId'](),_0xea312d=this[_0x2c7bfd(0x3cb)][_0x2c7bfd(0x3be)](_0x16e761,_0x26c129);if((_0x5670ff=this[_0x2c7bfd(0x185)][_0x2c7bfd(0x22d)](_0x16e761))!=null&&_0x5670ff['with'](_0x4936ae)['getSkeleton'](_0x26c129)&&_0xea312d)for(let _0x5e4669 in _0xea312d){let {drawingId:_0x17242d}=_0xea312d[_0x5e4669],_0x3d781a=this[_0x2c7bfd(0x2aa)][_0x2c7bfd(0x1ce)](_0x17242d);_0x3d781a&&_0x5c110a(_0x3d781a['id'])(_0x3d781a,_0x26c129,_0x3d781a[_0x2c7bfd(0x2cc)],this[_0x2c7bfd(0x166)][_0x2c7bfd(0x36e)]());}})),this['disposeWithMe'](this[_0x2e9ac9(0x3cb)]['add$'][_0x2e9ac9(0x3d5)](_0x2978d6=>{_0x2978d6['forEach'](_0x203411=>{const _0x223f9d=_0x14cc;var _0x3e7c6d;let {drawingId:_0x531008,unitId:_0x59e377,subUnitId:_0x4746cd}=_0x203411,_0x3f2bc2=this['_renderManagerService']['getRenderUnitById'](_0x59e377);if((_0x3f2bc2==null?void 0x0:_0x3f2bc2[_0x223f9d(0x17a)])!==_0x2a3654[_0x223f9d(0x1d7)]||!_0x3f2bc2[_0x223f9d(0x388)](_0x4936ae)[_0x223f9d(0x392)](_0x4746cd))return;let {drawingType:_0x5b3c60}=this[_0x223f9d(0x3cb)]['getDrawingByParam'](_0x203411);if(_0x5b3c60!==_0x4c00c3[_0x223f9d(0x249)])return;let _0x191ad7=this[_0x223f9d(0x11a)][_0x223f9d(0x177)](_0x531008);this[_0x223f9d(0x2b6)](_0x531008);let _0x2e3960=new _0x23a464();this[_0x223f9d(0x15b)][_0x223f9d(0x30a)](_0x531008,_0x2e3960);let _0x4b194c=(_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x2b2)])??_0x531008,_0x3d2695=_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x1ed)],_0x4582c9=(_0x3e7c6d=this[_0x223f9d(0x185)][_0x223f9d(0x22d)](_0x59e377))==null?void 0x0:_0x3e7c6d[_0x223f9d(0x1d8)];if(_0x3d2695){let _0x339b70=new Xr(_0x3d2695,_0x4c209a=>{const _0x39817a=_0x223f9d;var _0x5d964e;let _0xb726f9=this[_0x39817a(0x3d8)][_0x39817a(0x3ce)](_0x2a3654['UNIVER_SHEET']);if((_0xb726f9==null?void 0x0:_0xb726f9[_0x39817a(0x18b)]())===_0x59e377&&((_0x5d964e=_0xb726f9[_0x39817a(0x144)]())==null?void 0x0:_0x5d964e[_0x39817a(0x1c1)]())===_0x4746cd&&(this['_chartHostProvider'][_0x39817a(0x155)](_0x531008),_0x4c209a)){var _0x15d4e9;(_0x15d4e9=this[_0x39817a(0x3bd)][_0x39817a(0x3a6)](_0x531008))==null||_0x15d4e9[_0x39817a(0x183)](),this[_0x39817a(0x353)](_0x531008,{'width':_0x3d2695[_0x39817a(0x175)],'height':_0x3d2695[_0x39817a(0x364)]},0x64);}});_0x2e3960[_0x223f9d(0x27a)](_0x339b70),_0x2e3960[_0x223f9d(0x27a)](this[_0x223f9d(0x3d8)][_0x223f9d(0x1f4)][_0x223f9d(0x3d5)](()=>_0x339b70[_0x223f9d(0x117)]())),_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9[_0x223f9d(0x271)]()[_0x223f9d(0x345)][_0x223f9d(0x3d5)](({objects:_0x5127fe})=>{const _0x39e659=_0x223f9d;if(_0x5127fe[_0x39e659(0x21c)](_0x3d2695['oKey'])){var _0xd6bb38;_0x339b70[_0x39e659(0x171)](),(_0xd6bb38=this[_0x39e659(0x32f)]['get'](_0x531008))==null||_0xd6bb38[_0x39e659(0x171)]();}}));}_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9['onTransformChange$'][_0x223f9d(0x1a7)](_0x3ccca9=>{const _0x3c2623=_0x223f9d;var _0xf21c06;_0x3ccca9[_0x3c2623(0x17a)]===_0x4f6e63[_0x3c2623(0x335)]&&(_0xf21c06=document[_0x3c2623(0x197)](_0x4b194c))!=null&&_0xf21c06['querySelector']('.chart-host')&&this[_0x3c2623(0x22b)][_0x3c2623(0x155)](_0x531008);}));let _0x3ddace=this[_0x223f9d(0x2aa)]['getChartModel'](_0x531008);_0x3ddace&&_0x2e3960[_0x223f9d(0x27a)](_0x276a93([_0x3ddace[_0x223f9d(0x310)],_0x3ddace['style$'],this[_0x223f9d(0x166)]['direction$']])[_0x223f9d(0x3d5)](([_0x3cc470,_0x194435,_0x554d10])=>{_0x5c110a(_0x3ddace['id'])(_0x3ddace,_0x4746cd,_0x3cc470,_0x554d10);}));});})),this[_0x2e9ac9(0x27a)](_0x276a93([this[_0x2e9ac9(0x3cb)][_0x2e9ac9(0x241)]])[_0x2e9ac9(0x3d5)](([_0x1290ca])=>{_0x1290ca['forEach'](_0x3a8fef=>{const _0x5119e6=_0x14cc;var _0xca086d;let {drawingId:_0x4ef6d1}=_0x3a8fef;this[_0x5119e6(0x2b6)](_0x4ef6d1),((_0xca086d=this[_0x5119e6(0x2aa)]['activeChartModel'])==null?void 0x0:_0xca086d['id'])===_0x4ef6d1&&this[_0x5119e6(0x2aa)]['setActiveChartModel'](null),this[_0x5119e6(0x25a)](_0x4ef6d1),this[_0x5119e6(0x22b)][_0x5119e6(0x39f)](_0x4ef6d1),this[_0x5119e6(0x362)](_0x4ef6d1),this['_disposeChartRenderInstance'](_0x4ef6d1),this[_0x5119e6(0x3d9)][_0x5119e6(0x26f)](_0x4ef6d1),this[_0x5119e6(0x31e)](_0x4ef6d1),this[_0x5119e6(0x2e5)][_0x5119e6(0x198)](_0x4ef6d1),this[_0x5119e6(0x330)][_0x5119e6(0x198)](_0x4ef6d1);});}));}[_0x5d1a27(0x318)](_0x24aaab,_0x26246e){const _0x3d48ea=_0x5d1a27;var _0x1082b8;_0x26246e?this[_0x3d48ea(0x330)][_0x3d48ea(0x30a)](_0x24aaab,!0x0):this[_0x3d48ea(0x330)][_0x3d48ea(0x198)](_0x24aaab),(_0x1082b8=this[_0x3d48ea(0x3bd)]['get'](_0x24aaab))==null||_0x1082b8[_0x3d48ea(0x318)](_0x26246e);}async[_0x5d1a27(0x369)](_0x1d5376,_0x58bfd9){const _0xa1f167=_0x5d1a27;var _0x515554;let _0x9ec81b=this[_0xa1f167(0x2e5)][_0xa1f167(0x3a6)](_0x1d5376),_0x1f1e98=(_0x515554=this[_0xa1f167(0x11a)][_0xa1f167(0x177)](_0x1d5376))==null?void 0x0:_0x515554[_0xa1f167(0x1ed)];if(_0x9ec81b&&_0x1f1e98)return(await this['_renderModelManager']['exportImage']({'chartId':_0x1d5376,'config':_0x9ec81b[_0xa1f167(0x2cc)],'style':_0x9ec81b[_0xa1f167(0x2ce)],'width':_0x1f1e98[_0xa1f167(0x175)],'height':_0x1f1e98['height']},_0x58bfd9))[_0xa1f167(0x12f)];if((_0x58bfd9==null?void 0x0:_0x58bfd9[_0xa1f167(0x243)])===_0x4d43e3['SVG'])return;let _0x5c1cd8=this[_0xa1f167(0x1b2)](_0x1d5376);return _0x5c1cd8?_0xa2d3cc(_0x5c1cd8):void 0x0;}['on'](_0x15a4f9,_0x20003c,_0x98d7ae){const _0x4ff7e6=_0x5d1a27;let _0x4e5008=this[_0x4ff7e6(0x39d)][_0x4ff7e6(0x3a6)](_0x15a4f9);_0x4e5008||(_0x4e5008=new Map(),this[_0x4ff7e6(0x39d)]['set'](_0x15a4f9,_0x4e5008));let _0x28ab7e=_0x4e5008[_0x4ff7e6(0x3a6)](_0x20003c);_0x28ab7e||(_0x28ab7e=new Set(),_0x4e5008['set'](_0x20003c,_0x28ab7e)),_0x28ab7e['add'](_0x98d7ae);let _0x57330b=this[_0x4ff7e6(0x3bd)][_0x4ff7e6(0x3a6)](_0x15a4f9);return _0x57330b&&this[_0x4ff7e6(0x238)](_0x15a4f9,_0x57330b,_0x20003c,_0x98d7ae),{'dispose':()=>{const _0x80fd2c=_0x4ff7e6;var _0x6bdbbc;(_0x6bdbbc=this['_chartEventHandlers'][_0x80fd2c(0x3a6)](_0x15a4f9))==null||(_0x6bdbbc=_0x6bdbbc[_0x80fd2c(0x3a6)](_0x20003c))==null||_0x6bdbbc[_0x80fd2c(0x198)](_0x98d7ae),this[_0x80fd2c(0x1dd)](_0x15a4f9,_0x20003c,_0x98d7ae);}};}[_0x5d1a27(0x1b2)](_0x549e3c){const _0x454bb3=_0x5d1a27;let _0x1f3c9f=this[_0x454bb3(0x3d8)]['getCurrentUnitOfType'](_0x2a3654['UNIVER_SHEET']),_0x3d6262=_0x1f3c9f==null?void 0x0:_0x1f3c9f[_0x454bb3(0x144)](),_0x535206=_0x1f3c9f==null?void 0x0:_0x1f3c9f['getUnitId'](),_0x36ad0b=_0x3d6262==null?void 0x0:_0x3d6262[_0x454bb3(0x1c1)]();if(_0x535206&&_0x36ad0b)return this[_0x454bb3(0x3d9)][_0x454bb3(0x265)]({'unitId':_0x535206,'subUnitId':_0x36ad0b,'chartId':_0x549e3c});}[_0x5d1a27(0x1a1)](_0x3c64d2,_0x1d1970){const _0x3fa1c1=_0x5d1a27;let _0x10b02f=this['_chartEventHandlers'][_0x3fa1c1(0x3a6)](_0x3c64d2);_0x10b02f&&_0x10b02f['forEach']((_0x4dcb27,_0x17850f)=>{const _0x3b45f4=_0x3fa1c1;_0x4dcb27[_0x3b45f4(0x1e0)](_0x4cc795=>this[_0x3b45f4(0x238)](_0x3c64d2,_0x1d1970,_0x17850f,_0x4cc795));});}[_0x5d1a27(0x238)](_0x194e44,_0x7c4ff0,_0x3e6506,_0x57c76d){const _0x2f9880=_0x5d1a27;let _0x384b90=this[_0x2f9880(0x38e)][_0x2f9880(0x3a6)](_0x194e44);_0x384b90||(_0x384b90=new Map(),this[_0x2f9880(0x38e)][_0x2f9880(0x30a)](_0x194e44,_0x384b90));let _0x40a4b9=_0x384b90[_0x2f9880(0x3a6)](_0x3e6506);_0x40a4b9||(_0x40a4b9=new Map(),_0x384b90[_0x2f9880(0x30a)](_0x3e6506,_0x40a4b9)),!_0x40a4b9[_0x2f9880(0x21c)](_0x57c76d)&&_0x40a4b9[_0x2f9880(0x30a)](_0x57c76d,_0x7c4ff0['on'](_0x3e6506,_0x57c76d));}[_0x5d1a27(0x1dd)](_0x4651d1,_0x23183f,_0x4994eb){const _0x271ec2=_0x5d1a27;var _0x5ed8d6,_0x174c94;let _0x44401d=(_0x5ed8d6=this[_0x271ec2(0x38e)][_0x271ec2(0x3a6)](_0x4651d1))==null?void 0x0:_0x5ed8d6[_0x271ec2(0x3a6)](_0x23183f);_0x44401d==null||(_0x174c94=_0x44401d[_0x271ec2(0x3a6)](_0x4994eb))==null||_0x174c94[_0x271ec2(0x33d)](),_0x44401d==null||_0x44401d[_0x271ec2(0x198)](_0x4994eb);}[_0x5d1a27(0x25a)](_0xe956c2){const _0x46ec4c=_0x5d1a27;let _0x1fb421=this[_0x46ec4c(0x38e)][_0x46ec4c(0x3a6)](_0xe956c2);_0x1fb421==null||_0x1fb421[_0x46ec4c(0x1e0)](_0x5752fb=>{const _0x43d8f9=_0x46ec4c;_0x5752fb[_0x43d8f9(0x1e0)](_0xa17092=>_0xa17092['dispose']()),_0x5752fb[_0x43d8f9(0x368)]();}),this[_0x46ec4c(0x38e)]['delete'](_0xe956c2);}[_0x5d1a27(0x37e)](_0x509bc7,_0xee3f17){const _0x56d28c=_0x5d1a27;return hi(_0x509bc7,_0xee3f17,this[_0x56d28c(0x2bd)]);}[_0x5d1a27(0x270)](_0x444b69){return this['_getChartRenderSkipReason'](_0x444b69)==null;}[_0x5d1a27(0x14c)](_0x19fb13){const _0x2679a5=_0x5d1a27;var _0x5eac1f;let _0x5a4e1b=this[_0x2679a5(0x11a)]['getFloatDomInfo'](_0x19fb13);if(!_0x5a4e1b)return _0x2679a5(0x3af);let {subUnitId:_0x79ffa}=_0x5a4e1b,_0x562b76=(_0x5eac1f=this[_0x2679a5(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x2679a5(0x1d7)]))==null?void 0x0:_0x5eac1f['getActiveSheet']();if(!_0x562b76)return _0x2679a5(0x32b);if(_0x562b76['getSheetId']()!==_0x79ffa)return'inactive-sheet';}async[_0x5d1a27(0x3a9)](_0x521c4e,_0x12ced0,_0x4dc6e8,_0x57e08d={}){const _0x580562=_0x5d1a27;let _0x6b9048=this[_0x580562(0x1be)][_0x580562(0x2d1)](_0x2e63c9);if(!_0x6b9048)return;let _0x5c7937=this['_lastRenderInputMap'][_0x580562(0x3a6)](_0x521c4e);if(this[_0x580562(0x2e5)][_0x580562(0x30a)](_0x521c4e,{'config':_0x12ced0,'style':_0x4dc6e8}),this['_getChartRenderSkipReason'](_0x521c4e))return;let {canAnimate:_0x38dd22,renderMode:_0xaeb34c,shouldStartTransientAnimation:_0x382cfc,transientAnimationActive:_0x170528}=this[_0x580562(0x3a8)](_0x521c4e,_0x5c7937!=null,_0x57e08d['animateDataUpdate']===!0x0);if(_0xaeb34c===_0x5aea83[_0x580562(0x2af)])this[_0x580562(0x3b6)](_0x521c4e);else{var _0x10436e;this[_0x580562(0x22b)]['invalidateSnapshot'](_0x521c4e),((_0x10436e=this[_0x580562(0x2aa)][_0x580562(0x26e)])==null?void 0x0:_0x10436e['id'])===_0x521c4e&&this[_0x580562(0x33c)](_0x521c4e);}let _0x5dea7b=_0xaeb34c===_0x5aea83[_0x580562(0x2af)]?_0x5aea83[_0x580562(0x2af)]:_0x5aea83[_0x580562(0x3da)],_0x245a02=await this['_chartHostProvider'][_0x580562(0x13a)](_0x521c4e,_0x5dea7b);if(!_0x245a02){_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e);return;}this['_chartHostProvider'][_0x580562(0x20d)](_0x521c4e,_0x170528?_0x24781a:null);let _0x43b4fb=this[_0x580562(0x3b2)](_0x521c4e,_0x5dea7b,_0x6b9048);_0x43b4fb[_0x580562(0x19d)](_0x245a02);try{let _0x3164d6={'chartId':_0x521c4e,'config':_0x12ced0,'style':_0x4dc6e8};_0x38dd22&&_0x5c7937&&_0x43b4fb['renderTransition']?await _0x43b4fb[_0x580562(0x24e)]({'chartId':_0x521c4e,'config':_0x5c7937['config'],'style':_0x5c7937['style']},_0x3164d6,{'duration':_0x24781a}):await _0x43b4fb[_0x580562(0x3a9)](_0x3164d6),await this[_0x580562(0x3e8)](_0x521c4e,_0xaeb34c,_0x43b4fb),_0x38dd22&&_0x170528&&this[_0x580562(0x2cd)](_0x521c4e);}catch(_0x59f127){if(_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e),_0xaeb34c!==_0x5aea83[_0x580562(0x2af)])throw _0x59f127;}}async[_0x5d1a27(0x3e8)](_0x538a64,_0x48665a,_0x46b519){const _0x522b0c=_0x5d1a27;var _0x1367e5;if(_0x48665a!==_0x5aea83[_0x522b0c(0x3da)]||((_0x1367e5=this['_chartModelService'][_0x522b0c(0x26e)])==null?void 0x0:_0x1367e5['id'])!==_0x538a64)return;let _0x24ac94=await this[_0x522b0c(0x22b)][_0x522b0c(0x13a)](_0x538a64,_0x5aea83[_0x522b0c(0x2af)]);if(!_0x24ac94)return;let _0x16434f=_0x24ac94[_0x522b0c(0x1e5)]();try{let _0x130b0e=await _0x46b519['exportImg']();_0x130b0e&&_0x24ac94['commitSnapshot']({'type':_0x1a6044[_0x522b0c(0x2fa)],'url':_0x130b0e},_0x16434f)&&_0x24ac94[_0x522b0c(0x2fc)]();}catch{}}[_0x5d1a27(0x3a8)](_0x173e64,_0x44dc8d,_0x44e1b3){const _0x5e99e0=_0x5d1a27;let _0x833ee7=this['_resolveChartRenderMode'](_0x173e64),_0x537970=_0x833ee7===_0x5aea83[_0x5e99e0(0x3da)]&&_0x44e1b3&&_0x44dc8d&&this['_canAnimateDataUpdate'](_0x173e64),_0x44a3d7=this['_dataUpdateAnimationChartIds'][_0x5e99e0(0x21c)](_0x173e64);return{'canAnimate':_0x537970,'renderMode':_0x44a3d7?_0x5aea83['Dom']:_0x833ee7,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x44a3d7};}[_0x5d1a27(0x33b)](_0x5958a2){const _0x50ef35=_0x5d1a27;var _0x1043dd,_0x4e6471,_0x45e172,_0x50392c;if(typeof document>'u'||typeof window>'u'||document[_0x50ef35(0x39c)]===_0x50ef35(0x1f7)||(_0x1043dd=(_0x4e6471=window)[_0x50ef35(0x2bf)])!=null&&(_0x1043dd=_0x1043dd[_0x50ef35(0x172)](_0x4e6471,_0x50ef35(0x3a5)))!=null&&_0x1043dd[_0x50ef35(0x3db)]||(_0x45e172=(_0x50392c=window)['matchMedia'])!=null&&(_0x45e172=_0x45e172['call'](_0x50392c,_0x50ef35(0x237)))!=null&&_0x45e172[_0x50ef35(0x3db)])return!0x1;let _0x37281f=this[_0x50ef35(0x22b)][_0x50ef35(0x3a4)](_0x5958a2);return _0x37281f!=null&&_0x37281f[_0x50ef35(0x175)]>0x0&&_0x37281f[_0x50ef35(0x364)]>0x0&&_0x37281f[_0x50ef35(0x135)]>0x0&&_0x37281f[_0x50ef35(0x1a8)]>0x0&&_0x37281f['left']<window[_0x50ef35(0x17c)]&&_0x37281f[_0x50ef35(0x2c0)]<window[_0x50ef35(0x1f0)];}['_activateDataUpdateAnimation'](_0xb917e9){const _0x459eaf=_0x5d1a27;let _0x3e1c7a=this[_0x459eaf(0x2f9)][_0x459eaf(0x3a6)](_0xb917e9);_0x3e1c7a&&(clearTimeout(_0x3e1c7a),this['_dataUpdateAnimationTimers'][_0x459eaf(0x198)](_0xb917e9)),this[_0x459eaf(0x3aa)][_0x459eaf(0x248)](_0xb917e9),this[_0x459eaf(0x22b)]['setDataUpdateAnimation'](_0xb917e9,_0x24781a);}[_0x5d1a27(0x2cd)](_0x389eca){const _0x531bb6=_0x5d1a27;let _0x3ba4ef=this[_0x531bb6(0x2f9)][_0x531bb6(0x3a6)](_0x389eca);_0x3ba4ef&&clearTimeout(_0x3ba4ef);let _0x439dc8=setTimeout(()=>{const _0x425c93=_0x531bb6;this[_0x425c93(0x2f9)][_0x425c93(0x198)](_0x389eca),this[_0x425c93(0x3aa)][_0x425c93(0x198)](_0x389eca)&&(this[_0x425c93(0x22b)][_0x425c93(0x20d)](_0x389eca,null),this[_0x425c93(0x3b6)](_0x389eca),this[_0x425c93(0x11e)](_0x389eca));},_0x24781a);this[_0x531bb6(0x2f9)][_0x531bb6(0x30a)](_0x389eca,_0x439dc8);}['_deactivateDataUpdateAnimation'](_0x3f2a15){const _0x4f5076=_0x5d1a27;let _0x10411c=this['_dataUpdateAnimationTimers'][_0x4f5076(0x3a6)](_0x3f2a15);_0x10411c&&(clearTimeout(_0x10411c),this['_dataUpdateAnimationTimers'][_0x4f5076(0x198)](_0x3f2a15)),this[_0x4f5076(0x3aa)]['delete'](_0x3f2a15),this['_chartHostProvider'][_0x4f5076(0x20d)](_0x3f2a15,null);}async[_0x5d1a27(0x2ff)](_0xc5649e,_0x12dbcc,_0x4b4d49){const _0x596be6=_0x5d1a27;let _0x1ee45f=this['_drawingManagerService']['getDrawingData'](_0xc5649e,_0x12dbcc),_0x1691cd=this[_0x596be6(0x3cb)]['getDrawingOrder'](_0xc5649e,_0x12dbcc),_0x164b09=Object[_0x596be6(0x2d7)](_0x1ee45f??{})['filter'](_0x2361df=>_0x2361df[_0x596be6(0x3e5)]===_0x4c00c3[_0x596be6(0x249)]&&_0x2361df[_0x596be6(0x1f7)]!==!0x0);await Promise[_0x596be6(0x3e0)](_0x164b09[_0x596be6(0x1a0)](async _0x11e99b=>{const _0x529ca5=_0x596be6;let _0x5b0b20=await this['_createPrintingChartObject'](_0x11e99b,_0x1691cd);_0x5b0b20&&(_0x4b4d49[_0x529ca5(0x129)](_0x5b0b20,_0x1f3967),_0x11e99b['groupId']&&_0x43a0ef({'drawingId':_0x11e99b[_0x529ca5(0x3c6)],'unitId':_0xc5649e,'subUnitId':_0x12dbcc},_0x5b0b20,_0x4b4d49,this[_0x529ca5(0x3cb)]));}));}async[_0x5d1a27(0x15c)](_0x5e7bf9,_0x1a3788){const _0x42b38c=_0x5d1a27;let _0x113b50=this[_0x42b38c(0x2aa)][_0x42b38c(0x1ce)](_0x5e7bf9[_0x42b38c(0x14a)]),_0x151be7=this[_0x42b38c(0x1be)][_0x42b38c(0x2d1)](_0x2e63c9),_0x433e17=_0x5e7bf9['transform'],_0x152100=_0x113b50==null?void 0x0:_0x113b50[_0x42b38c(0x2cc)];if(!_0x113b50||!_0x151be7||!_0x433e17||!_0x152100||_0x433e17[_0x42b38c(0x175)]==null||_0x433e17[_0x42b38c(0x364)]==null)return null;let _0x2d420c=new mi(_0x5e7bf9[_0x42b38c(0x14a)],{'width':_0x433e17[_0x42b38c(0x175)],'height':_0x433e17['height']}),_0x3bbf78=_0x151be7['createChartInstance'](_0x5aea83[_0x42b38c(0x2af)],this[_0x42b38c(0x24a)]());_0x3bbf78[_0x42b38c(0x19d)](_0x2d420c);let _0x48b975;try{await _0x3bbf78[_0x42b38c(0x3a9)]({'chartId':_0x5e7bf9['drawingId'],'config':_0x152100,'style':this[_0x42b38c(0x37e)](_0x113b50,this[_0x42b38c(0x166)]['getDirection']())});}catch(_0x4ef31f){console[_0x42b38c(0x252)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x4ef31f);}finally{_0x48b975=_0x2d420c[_0x42b38c(0x244)](),_0x3bbf78[_0x42b38c(0x33d)](),_0x2d420c[_0x42b38c(0x33d)]();}let _0xa02c34=this[_0x42b38c(0x3d9)][_0x42b38c(0x265)]({'unitId':_0x5e7bf9[_0x42b38c(0x1b7)],'subUnitId':_0x5e7bf9['subUnitId'],'chartId':_0x5e7bf9[_0x42b38c(0x14a)]}),_0x4f51ce=_0x48b975??_0xa02c34;if(!_0x4f51ce)return null;let _0x338244=_0x1a3788[_0x42b38c(0x1b1)](_0x5e7bf9['drawingId']);return new ei(_0x4f61f4(_0x5e7bf9),{..._0x433e17,..._0x379573,...ui(_0x2d420c[_0x42b38c(0x2ce)]),'visible':!0x0,'zIndex':_0x338244===-0x1?Math['max'](_0x1a3788[_0x42b38c(0x355)]-0x1,0x0):_0x338244},()=>_0x4f51ce,void 0x0,_0x48b975?()=>W(_0x48b975):void 0x0);}[_0x5d1a27(0x3b2)](_0x1e5596,_0x5748b0,_0x3f0585){const _0xf08016=_0x5d1a27;let _0x5d24c1=this['_chartInstanceMap'][_0xf08016(0x3a6)](_0x1e5596);if((_0x5d24c1==null?void 0x0:_0x5d24c1[_0xf08016(0x295)])===_0x5748b0)return _0x5d24c1;_0x5d24c1&&(this[_0xf08016(0x25a)](_0x1e5596),_0x5d24c1['dispose'](),this[_0xf08016(0x3bd)][_0xf08016(0x198)](_0x1e5596));let _0x5ef45e=_0x3f0585[_0xf08016(0x23c)](_0x5748b0,this[_0xf08016(0x24a)]());return this['_chartInstanceMap'][_0xf08016(0x30a)](_0x1e5596,_0x5ef45e),_0x5ef45e[_0xf08016(0x318)](this[_0xf08016(0x330)]['get'](_0x1e5596)===!0x0),this[_0xf08016(0x1a1)](_0x1e5596,_0x5ef45e),_0x5ef45e;}[_0x5d1a27(0x24a)](){const _0x132047=_0x5d1a27;return{'resolveHostStyle':({style:_0x2a2352})=>_0x214c2a({'style':_0x2a2352,'getRenderColor':_0x36102f=>this['_chartThemeService']['getRenderColor'](_0x36102f)}),'resolveRenderBackgroundColor':({style:_0xaa2ac7})=>this[_0x132047(0x28f)][_0x132047(0x181)](_0x2a1999(_0xaa2ac7))};}['_disposeChartChangeListeners'](_0x287c0a){const _0x2e3a61=_0x5d1a27;var _0x39594b,_0x58f0a1,_0x34eb74;(_0x39594b=this['_chartChangeSubscriptions'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x39594b['dispose'](),this[_0x2e3a61(0x15b)][_0x2e3a61(0x198)](_0x287c0a),(_0x58f0a1=this['_renderDebounceMap'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x58f0a1[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x16b)]['delete'](_0x287c0a),(_0x34eb74=this[_0x2e3a61(0x32f)]['get'](_0x287c0a))==null||_0x34eb74[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x32f)]['delete'](_0x287c0a);}[_0x5d1a27(0x36f)](){const _0x193229=_0x5d1a27;this[_0x193229(0x16b)][_0x193229(0x1e0)](_0xeef3c4=>_0xeef3c4[_0x193229(0x1b5)]()),this[_0x193229(0x16b)][_0x193229(0x368)](),this['_debounceHandleMap'][_0x193229(0x1e0)](_0x1dac2d=>_0x1dac2d[_0x193229(0x1b5)]()),this[_0x193229(0x32f)]['clear']();}[_0x5d1a27(0x33d)](){const _0x29603b=_0x5d1a27;this[_0x29603b(0x15b)]['forEach'](_0x4681f2=>_0x4681f2[_0x29603b(0x33d)]()),this[_0x29603b(0x15b)][_0x29603b(0x368)](),this[_0x29603b(0x2f9)][_0x29603b(0x1e0)](_0x4f4a3f=>clearTimeout(_0x4f4a3f)),this[_0x29603b(0x2f9)][_0x29603b(0x368)](),this[_0x29603b(0x3aa)]['clear'](),Array[_0x29603b(0x38b)](this[_0x29603b(0x3bd)][_0x29603b(0x30d)]())[_0x29603b(0x1e0)](_0x3dfa90=>this[_0x29603b(0x288)](_0x3dfa90)),this[_0x29603b(0x39d)][_0x29603b(0x368)](),this[_0x29603b(0x330)][_0x29603b(0x368)](),this[_0x29603b(0x36f)](),this['_lastRenderInputMap']['clear'](),this[_0x29603b(0x13c)]=null,this[_0x29603b(0x1c4)]=null,super[_0x29603b(0x33d)]();}};q=K([G(0x0,fi),G(0x1,_0x233312(_0x1cd243)),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x2a46aa),G(0x4,_0x50dd4e),G(0x5,_0x233312(_0x2b6adf)),G(0x6,_0x233312(_0x2365aa)),G(0x7,_0x233312(_0x26189f)),G(0x8,_0x233312(_0x5a9273)),G(0x9,_0x233312(_0x6bd0cf)),G(0xa,_0x332790),G(0xb,_0x233312(ii)),G(0xc,_0x51da78)],q);const J=_0x4fb58e(_0x5d1a27(0x1b4));let gi=class extends _0x116c21{constructor(_0x4b5ee1,_0x429cec,_0x513cf2,_0x2dc0b6,_0x13c4e4){const _0x357d50=_0x5d1a27;super(_0x13c4e4),this[_0x357d50(0x2aa)]=_0x4b5ee1,this[_0x357d50(0x1f9)]=_0x429cec,this[_0x357d50(0x3c7)]=_0x513cf2,this[_0x357d50(0x3d8)]=_0x2dc0b6,U(this,_0x357d50(0x1c3),!0x1),U(this,_0x357d50(0x1ee),new _0x36066b(!0x1)),U(this,_0x357d50(0x291),new _0x36066b(null)),U(this,_0x357d50(0x26d),this[_0x357d50(0x1ee)][_0x357d50(0x1cb)]()),U(this,_0x357d50(0x192),this[_0x357d50(0x291)][_0x357d50(0x1cb)]());}get[_0x5d1a27(0x371)](){const _0x574be4=_0x5d1a27;return this['_chartModelService'][_0x574be4(0x26e)]??null;}get[_0x5d1a27(0x380)](){const _0x443c1c=_0x5d1a27;return this[_0x443c1c(0x1ee)]['getValue']();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x5d1a27(0x179)](_0x1348d4){const _0x45b48d=_0x5d1a27;this[_0x45b48d(0x1c3)]=_0x1348d4;}['setChartEditorOpen'](_0x28746d){const _0x3a5396=_0x5d1a27;this[_0x3a5396(0x1ee)][_0x3a5396(0x194)]()!==_0x28746d&&this[_0x3a5396(0x1ee)][_0x3a5396(0x2db)](_0x28746d);}['isElementEditModeActive'](_0x4c106c){const _0x559e67=_0x5d1a27;var _0xfeca62;return this[_0x559e67(0x380)]&&((_0xfeca62=this['_chartModelService'][_0x559e67(0x26e)])==null?void 0x0:_0xfeca62['id'])===_0x4c106c;}[_0x5d1a27(0x1c9)](_0x28a1d9,_0x593608){const _0x1545bb=_0x5d1a27;this[_0x1545bb(0x291)][_0x1545bb(0x2db)]({'chartId':_0x28a1d9,'route':_0x593608});}[_0x5d1a27(0x202)](){const _0x3bcdc5=_0x5d1a27;this[_0x3bcdc5(0x291)][_0x3bcdc5(0x2db)](null);}[_0x5d1a27(0x342)](_0x3542a8){const _0x4b9050=_0x5d1a27;let _0x11e529=this[_0x4b9050(0x2aa)]['activeChartModel'];_0x11e529&&this[_0x4b9050(0x18c)]({'chartModelId':_0x11e529['id'],'range':_0x3542a8});}[_0x5d1a27(0x2a2)](_0x47977a){const _0x5b29eb=_0x5d1a27;let _0x2ef30e=this[_0x5b29eb(0x2aa)][_0x5b29eb(0x26e)];if(!_0x2ef30e)return;let _0x3b3e8d=this[_0x5b29eb(0x1f9)][_0x5b29eb(0x34a)](_0x2ef30e['id']);if(!_0x3b3e8d||Array[_0x5b29eb(0x25b)](_0x3b3e8d))return;let _0x37cba0={..._0x3b3e8d,'isRowDirection':_0x47977a===_0x10a164[_0x5b29eb(0x1aa)]};this[_0x5b29eb(0x18c)]({'chartModelId':_0x2ef30e['id'],'range':_0x37cba0});}[_0x5d1a27(0x366)](_0x3a5305){const _0x20e815=_0x5d1a27;var _0x63c4d4;this['_commandService'][_0x20e815(0x2de)](_0x459ce1['id'],{..._0x3a5305,'unitId':((_0x63c4d4=this[_0x20e815(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x63c4d4[_0x20e815(0x18b)]())??''});}[_0x5d1a27(0x18c)](_0x182431){const _0x39fb47=_0x5d1a27;var _0x4fc40a;this[_0x39fb47(0x3c7)]['executeCommand'](_0x38e7ef['id'],{..._0x182431,'unitId':((_0x4fc40a=this[_0x39fb47(0x3d8)][_0x39fb47(0x376)]())==null?void 0x0:_0x4fc40a['getUnitId']())??''});}[_0x5d1a27(0x33d)](){const _0x3338a7=_0x5d1a27;this[_0x3338a7(0x1ee)][_0x3338a7(0x293)](),this['_panelRoute$'][_0x3338a7(0x293)](),super[_0x3338a7(0x33d)]();}};gi=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(_0x45f46e)),G(0x2,_0x23023c),G(0x3,_0x50dd4e),G(0x4,_0x233312(_0x3e8107))],gi);var _i;const vi={'axis':{..._0x139b61,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0xb27861,'heatmap':_0x12c1e1,'indicatorLine':_0x31ba77,'legend':_0x5f58c5,'lineAndArea':_0x446fe7,'pareto':_0x1643ce,'pie':_0x4d97b0,'relation':{..._0x394271,'useValueAsSymbolSize':!0x0},'radar':_0x65c5c5,'series':{..._0x268902,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_i=_0x53921e[_0x5d1a27(0x3b8)])==null?void 0x0:_i[_0x5d1a27(0x184)])??!0x1}},'style':_0x2b1fd5,'titles':_0x164823,'trendline':_0x4a9bbd,'waterfallStyle':_0x506e01,'wordCloud':_0x580b40},yi=_0x260156=>_0x260156[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])[_0x5d1a27(0x18b)](),bi=_0x11e824=>{const _0x2e2817=_0x5d1a27;var _0x449535;return(_0x449535=_0x11e824['getCurrentUnitOfType'](_0x2a3654[_0x2e2817(0x1d7)])[_0x2e2817(0x144)]())==null?void 0x0:_0x449535[_0x2e2817(0x1c1)]();},xi=()=>{const _0x1d3453=_0x5d1a27;var _0x821a5c;let _0x2d5107=_0x216cfe(J),_0x2fa751=_0x216cfe(_0xef00ca),_0x19d7e6=_0x216cfe(_0x2365aa),_0x408264=_0x216cfe(_0x26189f),_0x342b3e=_0x2ab3f2(_0x408264),_0x2117ae=_0x1f6146(()=>{const _0x41319a=_0x14cc;let _0x46bd6c=Ir(Pr[_0x41319a(0x37b)](),_0x342b3e);return _0x5db475(_0x46bd6c[_0x41319a(0x1a0)](_0x1bc774=>({'id':_0x1bc774['id'],'label':_0x19d7e6['t']('sheets-chart-ui.chartTypes.'+_0x1bc774['labelId']),'pieSecondaryPlotType':_0x1bc774['pieSecondaryPlotType'],'value':_0x1bc774[_0x41319a(0x385)]})));},[_0x342b3e,_0x19d7e6]),_0x2d27ad=_0x103df8(_0x2fa751[_0x1d3453(0x209)],_0x2fa751[_0x1d3453(0x26e)]),_0x4db033=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x261)],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x216)]),_0x47e898=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad['dataSource$'],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x230)]),_0x40cd65=_0x103df8(_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x301)],_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x351)]()),_0x291d20=Array['isArray'](_0x40cd65),_0x525383=_0x40cd65&&!_0x291d20&&_0x40cd65[_0x1d3453(0x1c2)]?_0x10a164[_0x1d3453(0x1aa)]:_0x10a164[_0x1d3453(0x27b)],_0x18f9bc=_0x291d20?(_0x821a5c=_0x40cd65[0x0])==null?void 0x0:_0x821a5c['range']:_0x40cd65==null?void 0x0:_0x40cd65[_0x1d3453(0x2a6)];return _0x191e51(_0x1d3453(0x21b),{'className':_0x1d3453(0x1b3),'children':[_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x2117ae,'dataSourceControl':_0x29cee8(Si,{'dataRange':_0x40cd65,'primaryRange':_0x18f9bc}),'categoryToggleLabel':_0x19d7e6['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x525383+'\x20'+(((_0x18f9bc==null?void 0x0:_0x18f9bc['range']['startRow'])??0x0)+0x1):_0x525383+'\x20'+_0x2a8fac((_0x18f9bc==null?void 0x0:_0x18f9bc[_0x1d3453(0x363)][_0x1d3453(0x1b0)])??0x0)),'orientationControl':_0x291d20?void 0x0:_0x29cee8(_0x926487,{'size':_0x1d3453(0x1f5),'onClick':()=>_0x2d5107[_0x1d3453(0x2a2)](_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x10a164[_0x1d3453(0x27b)]:_0x10a164[_0x1d3453(0x1aa)]),'children':_0x19d7e6['t'](_0x1d3453(0x11b))})}),_0x29cee8(_0x277379,{'checked':(_0x4db033==null?void 0x0:_0x4db033[_0x1d3453(0x1d6)])===!0x1,'disabled':!_0x2d27ad,'onChange':_0xd5b326=>{const _0x9a463d=_0x1d3453;_0x2d27ad&&_0x2d5107[_0x9a463d(0x366)]({'chartModelId':_0x2d27ad['id'],'context':{'plotVisibleOnly':!_0xd5b326}});},'children':_0x19d7e6['t'](_0x1d3453(0x2c5))})]});};function Si(_0x3dcadb){const _0x5c7209=_0x5d1a27;let {dataRange:_0xbd2409,primaryRange:_0x1199ea}=_0x3dcadb,_0x34255d=_0x216cfe(J),_0x2382d6=_0x216cfe(_0x2365aa),_0x49ec34=_0x216cfe(_0x50dd4e),_0x13937d=_0x216cfe(_0xae1c0),[_0x263cd8,_0x2a7bcd]=_0x4cb90f(!0x1),[_0x4018d0,_0x3ae1e5]=_0x4cb90f(!0x1),[_0xae9213,_0x121163]=_0x4cb90f(),_0x3c5cd7=yi(_0x49ec34),_0x43098e=bi(_0x49ec34),_0x6ea478=_0xbd2409?Mr(_0xbd2409,_0x49ec34):'',_0x3f8d6a=_0x399028(_0x6ea478),_0x197953=_0x399028(void 0x0),_0xf7a52d=_0x399028(null);_0x3b35d2(()=>{const _0x1d81c0=_0x14cc;_0x34255d[_0x1d81c0(0x179)](_0x263cd8),_0x13937d[_0x1d81c0(0x343)](_0x3d0cdc,_0x263cd8);},[_0x13937d,_0x263cd8,_0x34255d]),_0x3b35d2(()=>()=>{const _0x11d9b7=_0x14cc;_0x34255d[_0x11d9b7(0x179)](!0x1),_0x13937d[_0x11d9b7(0x343)](_0x3d0cdc,!0x1);},[_0x13937d,_0x34255d]);let _0x2b45dc=_0x2b3d4a(_0x3aa38d=>{const _0x1f1b64=_0x14cc;var _0x586d82;if(Mr(_0xbd2409,_0x49ec34)===_0x3aa38d)return _0x121163(void 0x0),!0x0;let _0x766572=_0x3aa38d[_0x1f1b64(0x259)](_0x11cdbd['COMMA']);if(!_0x3aa38d['trim']()||_0x766572[_0x1f1b64(0x355)]!==0x1||!((_0x586d82=_0xf7a52d['current'])!=null&&_0x586d82[_0x1f1b64(0x35a)]()))return _0x121163(_0x2382d6['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x28fbcd,sheetName:_0x259904,range:_0x17a314}=_0x560030(_0x766572[0x0]),_0x51acc4=_0x28fbcd||_0x3c5cd7,_0x25494b=_0x49ec34[_0x1f1b64(0x2f4)](_0x51acc4),_0x3b7aba=(_0x1199ea==null?void 0x0:_0x1199ea[_0x1f1b64(0x1b7)])===_0x51acc4?_0x1199ea[_0x1f1b64(0x2b4)]:_0x43098e,_0x3f32f8=_0x259904?_0x25494b==null?void 0x0:_0x25494b[_0x1f1b64(0x3c8)](_0x259904):_0x25494b==null?void 0x0:_0x25494b['getSheetBySheetId'](_0x3b7aba??'');return!_0x25494b||!_0x3f32f8||!_0x2f7016(_0x17a314,_0x3f32f8)?(_0x121163(_0x2382d6['t'](_0x1f1b64(0x3c4))),!0x1):(_0x121163(void 0x0),_0x34255d[_0x1f1b64(0x342)]({'rangeInfo':{'range':_0x17a314,'unitId':_0x51acc4,'subUnitId':_0x3f32f8[_0x1f1b64(0x1c1)]()}}),!0x0);},[_0xbd2409,_0x2382d6,_0x1199ea,_0x34255d,_0x43098e,_0x3c5cd7,_0x49ec34]),_0x443d1d=_0x1f6146(()=>({'keyCodes':[{'keyCode':_0x85e98f[_0x5c7209(0x262)],'nativeTextEditorBehavior':_0x1a8c0d[_0x5c7209(0x3ba)]}],'handler':_0x5baa9e=>{const _0x2cf8b6=_0x5c7209;_0x5baa9e===_0x85e98f[_0x2cf8b6(0x262)]&&_0x2b45dc(_0x3f8d6a[_0x2cf8b6(0x2d3)])&&(_0x197953[_0x2cf8b6(0x2d3)]=_0x3f8d6a['current']);}}),[_0x2b45dc]);return _0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x321),'children':_0x191e51('div',{'children':[_0x29cee8(_0x207394,{'title':_0x2382d6['t'](_0x5c7209(0x24c))}),_0x29cee8(_0x16fe39,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x3c5cd7,'subUnitId':_0x43098e,'initialValue':_0x6ea478,'keyboardEventConfig':_0x443d1d,'selectorRef':_0xf7a52d,'onChange':(_0x4b6b40,_0x30e007)=>{const _0x444a7c=_0x5c7209;_0x3f8d6a[_0x444a7c(0x2d3)]=_0x30e007,_0x4018d0&&_0x197953[_0x444a7c(0x2d3)]!==_0x30e007&&_0x2b45dc(_0x30e007)&&(_0x197953[_0x444a7c(0x2d3)]=_0x30e007);},'onFocusChange':(_0x58003,_0x4902f1)=>{const _0x417571=_0x5c7209;if(_0x4902f1!==void 0x0&&(_0x3f8d6a[_0x417571(0x2d3)]=_0x4902f1),_0x4018d0||_0x2a7bcd(_0x58003),_0x58003)_0x197953[_0x417571(0x2d3)]=_0x3f8d6a[_0x417571(0x2d3)];else{let _0x48ebeb=_0x197953[_0x417571(0x2d3)];_0x197953[_0x417571(0x2d3)]=void 0x0,_0x48ebeb!==void 0x0&&_0x3f8d6a[_0x417571(0x2d3)]!==_0x48ebeb&&_0x2b45dc(_0x3f8d6a[_0x417571(0x2d3)]);}},'onRangeSelectorDialogVisibleChange':_0x27c37e=>{_0x3ae1e5(_0x27c37e),_0x2a7bcd(_0x27c37e);}}),_0xae9213?_0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x196),'children':_0xae9213}):null]})});}function Y(_0x494b5a){const _0xdef697=_0x5d1a27;return _0x191e51(_0x3ef861,{'id':_0x494b5a['id'],'children':[_0x29cee8(_0x57ffd4,{'children':_0x494b5a['label']}),_0x29cee8(_0x25002a,{'children':_0x494b5a[_0xdef697(0x389)]})]});}const Ci=_0x49a043=>{const _0x30202b=_0x5d1a27;let _0x40ea29=_0x216cfe(_0x2365aa),_0x3c1d04=_0x216cfe(J),_0xa52dec=_0x216cfe(_0xef00ca),_0x2f9deb=_0x103df8(_0xa52dec[_0x30202b(0x209)],_0xa52dec['activeChartModel']),_0x5e949c=_0x103df8(_0x3c1d04[_0x30202b(0x192)],null),_0x1797d1=_0x5e949c&&_0x5e949c[_0x30202b(0x191)]===(_0x2f9deb==null?void 0x0:_0x2f9deb['id'])?_0x5e949c['route']:null,_0x590a20=_0x2bf8dc(),_0x4c1da0=_0x207a58(),[_0x3d6bb7,_0x2a173a]=_0x4cb90f(null);_0x3b35d2(()=>{const _0x3d2fe7=_0x30202b;_0x1797d1!=null&&_0x1797d1['section']&&_0x2a173a(_0x1797d1[_0x3d2fe7(0x165)]);},[_0x1797d1]);let _0x2fdb6e=_0x159690[_0x30202b(0x38d)](_0x590a20,_0x1b41ef[_0x30202b(0x350)]),_0x38a967=_0x590a20===_0x1b41ef[_0x30202b(0x141)],_0x2b8a79=_0x590a20===_0x1b41ef[_0x30202b(0x15d)],_0x46c981=_0x590a20===_0x1b41ef[_0x30202b(0x3d7)],_0x1ac061=_0x159690['baseOn'](_0x590a20,_0x1b41ef[_0x30202b(0x20f)]),_0x5f3c99=_0x590a20===_0x1b41ef[_0x30202b(0x30c)],_0x5b3247=_0x590a20===_0x1b41ef['Waterfall'],_0x1662bb=_0x590a20===_0x1b41ef[_0x30202b(0x14b)],_0x1873fc=_0x590a20===_0x1b41ef[_0x30202b(0x200)],_0x53d0b2,_0x33beab;switch(_0x590a20){case _0x1b41ef['Candlestick']:_0x53d0b2=_0x5cd548['Candlestick'],_0x33beab=_0x40ea29['t'](_0x30202b(0x36a));break;case _0x1b41ef['Histogram']:_0x53d0b2=_0x5cd548['Histogram'],_0x33beab=_0x40ea29['t'](_0x30202b(0x207));break;case _0x1b41ef[_0x30202b(0x16d)]:_0x53d0b2=_0x5cd548[_0x30202b(0x16d)],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.treemap');break;case _0x1b41ef[_0x30202b(0x15e)]:_0x53d0b2=_0x5cd548['Sunburst'],_0x33beab=_0x40ea29['t'](_0x30202b(0x2f1));break;case _0x1b41ef[_0x30202b(0x236)]:_0x53d0b2=_0x5cd548['Gauge'],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.gauge');break;case _0x1b41ef[_0x30202b(0x212)]:_0x53d0b2=_0x5cd548[_0x30202b(0x212)],_0x33beab=_0x40ea29['t'](_0x30202b(0x1cc));}let _0x534c1e=_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x37a)])&&!_0x1ac061&&!_0x1662bb;return _0x191e51(_0x180c10,{'value':_0x3d6bb7,'onChange':_0x2a173a,'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x140)],'label':_0x40ea29['t'](_0x30202b(0x18a)),'children':_0x29cee8(_0x31470c,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x2ce)]})}),_0x29cee8(Y,{'id':_0x5cd548['ChartAndAxisTitles'],'label':_0x40ea29['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x29cee8(_0x2ba23b,{'commitMode':_0x30202b(0x300),'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x1a2)],'selectedTitleKey':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x326)]})}),_0x534c1e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x127)],'label':_0x40ea29['t'](_0x30202b(0x225)),'children':_0x29cee8(_0x352738,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['series'],'NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x5b3247&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x266)],'label':_0x40ea29['t']('sheets-chart-ui.section.waterfall'),'children':_0x29cee8(_0x3ed512,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0x33a2f1,target:_0xf4b4c9})=>_0xf4b4c9===_0x4f4eae[_0x30202b(0x163)]?_0x40ea29['t']('sheets-chart-ui.waterfall.subtotal'):_0x33a2f1?_0x33a2f1+'-('+_0x40ea29['t'](_0xf4b4c9===_0x4f4eae[_0x30202b(0x367)]?_0x30202b(0x1a6):_0x30202b(0x3b7))+')':'','NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x1662bb&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548['ParetoBarSeries'],'label':_0x40ea29['t']('sheets-chart-ui.section.paretoBar'),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x0,'target':_0x30202b(0x162)})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x325)],'label':_0x40ea29['t'](_0x30202b(0x120)),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x1,'target':_0x30202b(0x14d)})})]}),_0x2fdb6e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x1d4)],'label':_0x40ea29['t'](_0x30202b(0x1fb)),'children':_0x29cee8(_0xfe26d,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x396)],'NumberFormatField':_0x1952a3})}),_0x2b8a79&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x15d)],'label':_0x40ea29['t'](_0x30202b(0x38c)),'children':_0x29cee8(_0xbc59ea,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['wordCloud']})}),_0x38a967&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x141)],'label':_0x40ea29['t'](_0x30202b(0x303)),'children':_0x29cee8(_0x29bb05,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['radar']})}),_0x46c981&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x3d7)],'label':_0x40ea29['t']('sheets-chart-ui.section.funnel'),'children':_0x29cee8(_0x10f257,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x323)],'gapControl':_0x30202b(0x354)})}),_0x1873fc&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x200)],'label':_0x40ea29['t']('sheets-chart-ui.common.heatmap'),'children':_0x29cee8(_0xdb5d0c,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2dd)]})}),_0x5f3c99&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x30c)],'label':_0x40ea29['t'](_0x30202b(0x164)),'children':_0x29cee8(_0x3b130a,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2ab)]})}),_0x4aab43(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548['LineAndArea'],'label':_0x40ea29['t'](_0x30202b(0x143)),'children':_0x29cee8(_0x2adbfb,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x39b)],'lineStyleControl':_0x30202b(0x26a)})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x1c7)])&&_0x29cee8(Y,{'id':_0x5cd548['Legend'],'label':_0x40ea29['t'](_0x30202b(0x393)),'children':_0x29cee8(_0x167edd,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x234)]})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x2c6)])&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x33e)],'label':_0x40ea29['t'](_0x30202b(0x32e)),'children':_0x29cee8(_0x49da1a,{'axis':'x','defaultValues':_0x49a043[_0x30202b(0x2c3)]['axis'],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x240)],'label':_0x40ea29['t'](_0x30202b(0x357)),'children':_0x29cee8(_0x49da1a,{'axis':'y','defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x4c1da0&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x394)],'label':_0x40ea29['t'](_0x30202b(0x3dd)),'children':_0x29cee8(_0x49da1a,{'axis':_0x30202b(0x37f),'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x253)],'label':_0x40ea29['t'](_0x30202b(0x34b)),'children':_0x29cee8(_0x275af9,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)]})})]}),_0x4a2ff9(_0x590a20,_0x2db937['IndicatorLine'])&&_0x29cee8(Y,{'id':_0x5cd548['IndicatorLine'],'label':_0x40ea29['t'](_0x30202b(0x340)),'children':_0x29cee8(_0x2206f1,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x14f)]})}),_0x34a7ab(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x20b)],'label':_0x40ea29['t'](_0x30202b(0x3a0)),'children':_0x29cee8(_0x3dc659,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x223)]})}),_0x53d0b2&&_0x33beab&&_0x29cee8(Y,{'id':_0x53d0b2,'label':_0x33beab,'children':_0x29cee8(_0x47de5c,{})})]});};function wi(_0x2d1c46){const _0x3e8853=_0x5d1a27;let {className:_0x38830e}=_0x2d1c46,[_0x3f95af,_0x5e685c]=_0x4cb90f(_0x45ab14[_0x3e8853(0x211)]),_0x7a754=_0x216cfe(_0x26189f),_0x109bed=_0x216cfe(_0x2365aa),_0x416249=_0x216cfe(J),_0x1b105c=_0x216cfe(_0xef00ca),_0x3e01c0=_0x216cfe(_0x45f46e),_0x1001fa=_0x103df8(_0x1b105c[_0x3e8853(0x209)],_0x1b105c[_0x3e8853(0x26e)]),_0xc7ec1b=_0x103df8(_0x416249['panelRoute$'],null),_0x32d10d=_0x1f6146(()=>{const _0x5924fc=_0x3e8853;var _0x2e7f02;if(!_0x1001fa)return null;let _0x2d6363=_0x3e01c0['getChartSourceSpec'](_0x1001fa['id']);if(!_0x2d6363)return null;let _0x168565=Array[_0x5924fc(0x25b)](_0x2d6363)?(_0x2e7f02=_0x2d6363[0x0])==null?void 0x0:_0x2e7f02['range']:_0x2d6363[_0x5924fc(0x2a6)];return _0x168565?new _0x21eaab(_0x1001fa,new _0x467243({'unitId':_0x168565[_0x5924fc(0x1b7)],'subUnitId':_0x168565[_0x5924fc(0x2b4)],'chartId':_0x1001fa['id'],'injector':_0x7a754})):null;},[_0x1001fa,_0x7a754,_0x3e01c0]);if(_0x3b35d2(()=>{const _0x4ef729=_0x3e8853;var _0x354e57,_0x381f7a;_0x1001fa&&(_0xc7ec1b==null?void 0x0:_0xc7ec1b['chartId'])===_0x1001fa['id']&&(((_0x354e57=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x354e57[_0x4ef729(0x3e7)])===_0x45ab14[_0x4ef729(0x2dc)]&&_0x5e685c(_0x45ab14[_0x4ef729(0x2dc)]),((_0x381f7a=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x381f7a[_0x4ef729(0x3e7)])===_0x45ab14['Data']&&_0x5e685c(_0x45ab14['Data']));},[_0x1001fa,_0xc7ec1b]),!_0x32d10d)return null;let _0x370d22=_0x29cee8(_0x3e8853(0x21b),{'className':_0x3e8853(0x322)+(_0x3f95af===_0x45ab14['Style']?_0x3e8853(0x2e4):_0x3e8853(0x3e1))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x38830e??'')+_0x3e8853(0x2fd),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x109bed['t'](_0x3e8853(0x387)),'activeTab':_0x3f95af,'onTabChange':_0x5e685c,'tabListClassName':_0x3e8853(0x16c),'panelClassName':_0x3f95af===_0x45ab14[_0x3e8853(0x2dc)]?_0x3e8853(0x286):void 0x0,'tabs':[{'id':_0x45ab14['Data'],'panelId':Ei,'title':_0x109bed['t'](_0x3e8853(0x136)),'content':_0x29cee8(xi,{})},{'id':_0x45ab14['Style'],'panelId':Di,'title':_0x109bed['t']('sheets-chart-ui.common.customize'),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0xadc9c2,{'chartUIService':_0x416249,'hostAdapter':_0x32d10d,'children':_0x370d22});}function _0x8646(){const _0xdf6270=['setElementEditMode','promise','hit','globalAlpha','transform','direction$','_clearChartRuntimeCache','translate','radius','univer-flex\x20univer-flex-col\x20univer-gap-3','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','funnel','copyId','ParetoLineSeries','titleKey','update','onRendered','anonymous','_frameStyle','missing-active-sheet','sheets-chart-ui.common.openChartPanel','getObject','sheets-chart-ui.common.horizontalAxis','_debounceHandleMap','_chartElementEditMode','source','isRender','_contextService','push','scale','_openFloatMenu','getSheetBySheetId','GROUP','getName','_getImage','_canAnimateDataUpdate','_applyActiveChartRuntimeZIndex','dispose','HorizontalAxis','serialize','sheets-chart-ui.section.indicatorLine','drawingIds','setDataRange','setContextValue','sheets-chart-ui.chord.target','changeEnd$','_getPlacement','setChartEditorOpen','pareto','true','getChartSourceSpec','sheets-chart-ui.section.gridlinesAndTicks','@univerjs-pro/sheets-chart-ui','_initDrawingDeactivationListener','Bar','url','Pie','getRangeInfo','sheets-chart-ui.common.chart','_debounceHandle','select','length','labelId','sheets-chart-ui.common.verticalAxis','_menuManagerService','CHART','verify','_markReady','_sidebarDisposable','defineProperty','_resizeChart','_initMenus','absolute','_createImageChartHost','_resetChartRuntimeZIndex','range','height','mobile-sheet-chart-style-panel','executeChartUpdateConfig','Positive','clear','exportImage','sheets-chart-ui.section.candlestick','drawWith','_resolveChartRenderMode','_clearSelectedTarget','getDirection','_cancelDebouncedCallbacks','_registerIcons','activeRuntimeModel','setHostStyle','header','_disposeImage','getBatchUpdateOp','getFocusedUnit','sourceSubUnitId','_disposed','171649cEQPnG','GeneralSeries','concat','axis','sheetChartDataAnimation','createRuntimeChartStyle','rightY','chartEditorOpen','activeSheet$','object','_applyHostInteractionState','_alignFloatDomPositionWithSceneRender','value','_image','sheets-chart-ui.common.editChart','with','children','chartType','from','sheets-chart-ui.section.wordCloud','baseOn','_chartEventSubscriptions','img','offsetHeight','_requestedUrl','getSkeleton','sheets-chart-ui.common.legend','RightVerticalAxis','sheet.chart.edit.panel','pie','getId','params','_generatePasteMutations','scaleX','lineAndArea','visibilityState','_chartEventHandlers','data$','markHostNotReady','sheets-chart-ui.common.trendline','darkMode$','_createHost','getDrawingByParam','getHostClientRect','(prefers-reduced-motion:\x20reduce)','get','sheet-chart-setup-panel','_prepareDataUpdateRender','render','_dataUpdateAnimationChartIds','getRealBound','_clearPendingUrlImage','checkMounted','_version','missing-float-dom','markUnmanaged','_sheetCanvasPopManagerService','_getOrCreateChartRenderInstance','resourceCollector','#-#','INSERT','_disposeChartDomInstance','sheets-chart-ui.waterfall.negative','allSeriesStyle','sheets-chart-ui.common.category','OVERRIDE_NATIVE','BUTTON','8860334urLkhV','_chartInstanceMap','getDrawingData','_registerAdapter','moveTo','redo','Scatter','_chartRenderMode','sheets-chart-ui.common.invalidDataRange','getCurrentLastSelection','groupId','_commandService','getSheetBySheetName','sheetTransform','objects','_drawingManagerService','_initPermission','setObjectType','getCurrentUnitOfType','hidePanel','top-center','chartModelAdded$','symbol','makeDirty','_getOuterRect','subscribe','_geometry','Funnel','_univerInstanceService','_chartSnapshotStoreService','Dom','matches','pieSecondaryPlotType','sheets-chart-ui.common.rightVerticalAxis','image','_initPrinting','allSettled','univer-overflow-hidden','initPanel','_popupDisposable','scaleY','drawingType','scroll','tab','_cacheActiveDomChartSnapshot','_deactivateEditPanelState','isLatest','cancelPending','getOwnPropertyDescriptor','some','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.switchRowColumn','bounds','UniverSheetsChartUIPlugin','_rerenderLatest','_focusedDrawings','sheets-chart-ui.section.paretoLine','_entries','toPrimitive','_closePopup','abs','_initCommands','_activateHostWrapper','Series','_canvasFloatDomService','addObject','sheets-chart-ui.permission.editErr','DownloadImageIcon','Canvas','startX','commitSnapshot','dataUrl','string','_loadUrlImage','invert','_initSheetChange','updateFloatDom','right','sheets-chart-ui.common.setup','targetSubUnitId','then','getCanvasElement','ensureHost','DeleteIcon','_activeChartId','clientX','getChartDataSource','_iconManager','ChartStyle','Radar','category','sheets-chart-ui.section.lineAndArea','getActiveSheet','_snapshotKey','lineTo','decorate','sheets-chart-ui.common.deleteChart','_sidebarService','drawingId','Pareto','_getChartRenderSkipReason','cumulativeLineStyle','_markNotReady','indicatorLine','ImageBitmap','chartModelId','endsWith','clientY','setConfig','syncHostLayout','Fail\x20to\x20create\x20float\x20dom','_initActiveRuntimeLayerListener','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','mobile-sheet-chart-setup-panel','_rect','_chartChangeSubscriptions','_createPrintingChartObject','WordCloud','Sunburst','_setChartRuntimeZIndex','Boxplot','237764reznim','barStyle','Subtotal','sheets-chart-ui.section.relation','section','_localeService','idMap','_savedWrapperStyle','isElementEditModeActive','endY','_renderDebounceMap','univer-shrink-0','Treemap','undo','onTransformChange$','setProps','flush','call','sheets-chart-ui.common.customize','_hostStyle','width','7953oDQLuJ','getFloatDomInfo','_panelInitialized','setRangeSelectMode','type','sheet.command.menu-insert-chart','innerWidth','clearImage','_draw','_sheetClipboardService','registerCommand','getRenderColor','_registerChartImageRenderObjectFactory','resize','rightYAxis','_renderManagerService','pipe','UPDATE','_cancelHostWait','max','sheets-chart-ui.common.chartStyle','getUnitId','_executeChartUpdateSourceConfig','invalidateSnapshot','anchorRect$','_pendingUrlImage','naturalWidth','chartId','panelRoute$','sheetDisposed$','getValue','stringify','univer-my-1\x20univer-text-xs\x20univer-text-red-500','getElementById','delete','_config','clearRuntimeCache','getBatchRemoveOp','opacity','bind','offsetWidth','_sheetSkeletonService','map','_bindChartEventHandlers','titles','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','intercept','5680540NVpHFS','sheets-chart-ui.waterfall.positive','subscribeEvent','bottom','_url','Row','_domFrame','logicalOuterRect','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DEFAULT_PASTE','localPoint','startColumn','indexOf','_getCurrentSnapshotImage','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart.ui.service','cancel','restore','unitId','_chartUIService','syncLayout','addClipboardHook','getCurrentTypeOfUnit$','_setHostStyle','_adapterRegistry','_renderModelManager','canvas','1.0.4','getSheetId','isRowDirection','_rangeSelectMode','_lastActiveSheet','_chartHostProviderService','featurePluginGroupUpdate$','Legend','registerRenderObjectFactory','setPanelRoute','auto','asObservable','sheets-chart-ui.section.chord','_requestChartCanvasRender','getChartModel','sheets-chart-element-float-menu','focus$','_getChartRenderObject','_configService','unsubscribe','PieStyle','CopyDoubleIcon','plotVisibleOnly','UNIVER_SHEET','scene','icon','applyPoint','_removeHost$','_generateCopyPasteMutations','_disposeChartEventSubscription','blockExecuteWithoutPermission','OTHERS','forEach','prototype','_restoreHostWrapper','References','filter','nextVersion','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','attachPopupToDynamicAbsolutePosition','series','_getOrCreateSheetChartHost','name','getRuntimeContext','beginPath','rect','_chartEditorOpen$','version','innerHeight','_frame','_clearSheetChartRuntimeCaches','_isChartElementEditEnabled','focused$','small','_componentManager','hidden','registerFeatureMenu','_sheetsChartService','arc','sheets-chart-ui.section.pie','featurePluginUngroupUpdate$','updateFloatDomProps','_pendingToken','_dataUpdateAnimationDuration','Heatmap','clientWidth','clearPanelRoute','checkHost','route','_pendingDataUpdateChartIds','offsetLeft','sheets-chart-ui.section.histogram','border','activeChartModel$','OPERATION','Trendline','Reference','setDataUpdateAnimation','_applyHostStyle','Bubble','fromEntries','Data','Chord','copyType','_chartRenderService','entries','context','_syncActiveEditChart','getRect','_shouldEnableChartElementEdit','removeHost$','div','has','items','setStyle','_managed','_sheetsChartUIService','markNotReady','_getHostPlacement','trendline','_shouldSuppressRender','sheets-chart-ui.common.series','Area','_waiter','_pendingHost','_renderAfterChartUpdateMutation','permissionCheckWithoutRange','_chartHostProvider','all','getRenderUnitById','transformChange$','supports','dataSource','href','_getChartSnapshotKey','register','legend','7834110KNjtiq','Gauge','print','_bindChartEventHandler','_clearPanelState','getFocusDrawings','8NDSCoi','createChartInstance','_popupSessionKey','_sheetDrawingHitTestService','click','VerticalAxis','remove$','_initActiveChartModelListener','format','takeSnapshot','enableChartElementFloatMenu','_initCopyPaste','_popupChartId','add','DRAWING_CHART','_createChartRenderInstanceContext','sheet.command.chart.open-focused-panel','sheets-chart-ui.common.dataRange','_openPanel','renderTransition','ensureHandle','_createCopyInfoByRange','CUT','error','GridlinesAndTicks','isConnected','pluginName','mountNode','assignStyle','sheets-chart-ui.config','split','_disposeChartEventSubscriptions','isArray','pointerEvents','onload','Combination','_markHostReady','_activateEditPanelState','context$','ENTER','sheets-chart-ui.common.hideChartPanel','afterRender$','getImage','WaterfallSeries','initialRect','visible','_clearHiddenSelectedTarget','segmented','createElement','COMMAND','chartEditorOpen$','activeChartModel','clearChart','checkChartCanRender','getTransformerByCreate','isInGroup','crossOrigin','sheetChartDataAnimationDuration','getContextValue','imageBitmap','_generateCutPasteMutations','_getChartRenderObjectContext','open','disposeWithMe','Column','1000','label','parentElement','_renderChartModel','packageName','_chartHostMap','_sheetInterceptorService','dataset','setActiveChartModel','engine','-univer-mx-4','onDispose','_disposeChartRenderInstance','sheets-chart-ui.host.provider','_pendingMutationConfigRenders','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_handleDrawingDoubleClick','onCommandExecuted','strokeWidth','_chartThemeService','left','_panelRoute$','sheet.command.chart.export-focused-image','complete','handleActiveSubUnitChange','mode','_sheetDrawingService','DRAWING','MEDIA','parent','isDomReady','Line','_openEditPanelByDoubleClick','getObjectIncludeInGroup','_listenChartUpdateMutations','PRINTING_COMPONENT_COLLECT','30766482eryXjY','_activeDomReadyChartIds','setOrientation','sheet.operation.open-chart-panel','focusDrawing','sheet.operation.hide-chart-panel','rangeInfo','Overlay','onerror','nativeEvent','_chartModelService','relation','getDrawingOrder','resolve','_deactivateDataUpdateAnimation','Image','_snapshotStore','PenIcon','domId','_resolvedConfig','subUnitId','function','_disposeChartChangeListeners','position$','1788reiHXb','_getDrawable','showFloatMenu','sheet-chart-style-panel','_restoreFloatDomPositionStream','_addWatermark','isHit','matchMedia','top','_getFloatDomInfo','offsetTop','defaultValues','iterator','sheets-chart-ui.common.showHiddenData','Axes','onStarting','rangeSelectMode','_renderService','_readGeometry','target','config','_scheduleDataUpdateAnimationEnd','style','Waterfall','-univer-mx-4\x20univer-overflow-visible','getRenderModel','save','current','src','sidebarOptions$','mergeMenu','values','zIndex','removeHost','featurePluginOrderUpdate$','next','Style','heatmap','executeCommand','SELECTOR','_onChange','_updateTransform','sheet.command.chart.copy-focused-chart','openChartPanelById','univer-overflow-visible','_lastRenderInputMap','_sheetPrintInterceptorService','_requestPaint','REMOVE','_urlImage','create','Literals','_subscribeChartEvents','closePath','transparent','getChartSnapshotImage','sheets-chart-ui.common.copy','sheets-chart-ui.section.sunburst','chartRenderMode','_resolveLayout','getUnit','startY','_isOwnedChart','_drawChartFrame','getMatrix','_dataUpdateAnimationTimers','Url','getBoundingClientRect','requestPaint','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_isProviderDisposed','renderChartsForPrinting','blur','rangeInfo$','interceptor','sheets-chart-ui.section.radar','sheets-chart-ui.common.exportImage','_injector','markReady','chartObject','setImage','_init','set','getHostSize','Relation','keys','default','_themeService','config$','_sheetPermissionCheckController','_copyInfo','_drawChartImage','_registerComponents','_getSceneAndTransformerByDrawingSearch','seriesId','getParent'];_0x8646=function(){return _0xdf6270;};return _0x8646();}const Ti=_0x5d1a27(0x395),Ei=_0x5d1a27(0x3a7),Di=_0x5d1a27(0x2bb);function Oi(_0x478553){const _0x1bc8d0=_0x5d1a27;return _0x478553[_0x1bc8d0(0x355)]===0x1&&ki(_0x478553[0x0]);}function ki(_0x41fbe3){const _0x5a1ca2=_0x5d1a27;return(_0x41fbe3==null?void 0x0:_0x41fbe3['drawingType'])===_0x4c00c3[_0x5a1ca2(0x249)]&&!_0x41fbe3[_0x5a1ca2(0x3c6)];}let Ai=class extends _0x23a464{constructor(_0x2dde0f,_0x40d197,_0xd52bff,_0x271c96,_0x240fe6,_0x11f046,_0x23806f,_0x592bff,_0x4c8f72,_0x480f84,_0xbda961,_0x233b6f,_0x500f89,_0x3f2702,_0x61fac3){const _0x2623c4=_0x5d1a27;var _0x4c2bb5;super(),this['_drawingManagerService']=_0x2dde0f,this['_univerInstanceService']=_0x40d197,this[_0x2623c4(0x2aa)]=_0xd52bff,this['_sheetsChartService']=_0x271c96,this[_0x2623c4(0x214)]=_0x240fe6,this['_sheetDrawingHitTestService']=_0x11f046,this[_0x2623c4(0x149)]=_0x23806f,this[_0x2623c4(0x358)]=_0x592bff,this[_0x2623c4(0x11a)]=_0x4c8f72,this[_0x2623c4(0x3b1)]=_0x480f84,this[_0x2623c4(0x3c7)]=_0xbda961,this[_0x2623c4(0x220)]=_0x233b6f,this['_contextService']=_0x500f89,this[_0x2623c4(0x166)]=_0x3f2702,U(this,'_sidebarDisposable',null),U(this,_0x2623c4(0x1f3),void 0x0),this[_0x2623c4(0x1f3)]=((_0x4c2bb5=_0x61fac3['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x4c2bb5[_0x2623c4(0x245)])===!0x0,this[_0x2623c4(0x35f)](),this[_0x2623c4(0x27a)](this[_0x2623c4(0x3d8)][_0x2623c4(0x1bb)](_0x2a3654[_0x2623c4(0x1d7)])[_0x2623c4(0x3d5)](_0x320c63=>{const _0x113432=_0x2623c4;var _0x2021d6;_0x320c63||(_0x2021d6=this[_0x113432(0x35c)])==null||_0x2021d6[_0x113432(0x33d)]();})),this[_0x2623c4(0x27a)](_0x1094b2(this[_0x2623c4(0x23e)]['onDoubleClick$'][_0x2623c4(0x3d5)](async({drawing:_0x549ab5})=>{const _0x372abc=_0x2623c4;await this[_0x372abc(0x28c)](_0x549ab5);})));}[_0x5d1a27(0x24d)](){const _0x23d676=_0x5d1a27;this[_0x23d676(0x35c)]=this[_0x23d676(0x149)][_0x23d676(0x279)]({'id':Ti,'header':{'title':this[_0x23d676(0x166)]['t'](_0x23d676(0x387))},'width':0x154,'children':{'label':Ti},'onClose':()=>{const _0x16f777=_0x23d676;this[_0x16f777(0x35c)]=null,this[_0x16f777(0x3e9)](),this[_0x16f777(0x2aa)][_0x16f777(0x26e)]&&this[_0x16f777(0x2aa)][_0x16f777(0x284)](null),this['_drawingManagerService'][_0x16f777(0x2a4)](null),this[_0x16f777(0x333)][_0x16f777(0x343)](_0x29388d,!0x1);}});}[_0x5d1a27(0x3cf)](){const _0x6a0c3a=_0x5d1a27;let _0x5138fc=this[_0x6a0c3a(0x35c)];this[_0x6a0c3a(0x35c)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0x6a0c3a(0x26e)]&&this[_0x6a0c3a(0x2aa)][_0x6a0c3a(0x284)](null),_0x5138fc==null||_0x5138fc['dispose']();}[_0x5d1a27(0x3e2)](){const _0x3c0f88=_0x5d1a27;let _0x1e6d1a=this['_univerInstanceService'][_0x3c0f88(0x3ce)](_0x2a3654[_0x3c0f88(0x1d7)]);this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x149)][_0x3c0f88(0x2d5)][_0x3c0f88(0x3d5)](_0x135ecc=>{const _0x195bb6=_0x3c0f88;_0x135ecc['id']===_0x195bb6(0x395)&&(_0x135ecc[_0x195bb6(0x268)]||this[_0x195bb6(0x149)][_0x195bb6(0x2d5)][_0x195bb6(0x2db)]({'visible':!0x1}));})),this[_0x3c0f88(0x27a)](_0x276a93([this[_0x3c0f88(0x2aa)][_0x3c0f88(0x209)],this[_0x3c0f88(0x220)][_0x3c0f88(0x26d)]])[_0x3c0f88(0x186)](_0x1f7349(([_0x52307c,_0x3ff019])=>_0x3ff019?(_0x52307c==null?void 0x0:_0x52307c['id'])??null:null),_0x29a798(),_0x40fbf9(null),_0x18ea1())[_0x3c0f88(0x3d5)](([_0x349a89,_0x36b54b])=>{this['_syncActiveEditChart'](_0x349a89,_0x36b54b);})),this['disposeWithMe'](this['_chartModelService']['activeChartModel$'][_0x3c0f88(0x3d5)](_0x576a7f=>{!_0x576a7f&&this['_sidebarDisposable']&&this['hidePanel']();})),this['disposeWithMe'](this[_0x3c0f88(0x3c7)][_0x3c0f88(0x28d)](_0x23d14e=>{const _0x95d784=_0x3c0f88;if(_0x23d14e['id']===V['id']){let _0xc9de1=_0x23d14e[_0x95d784(0x398)];if(!ki(this['_drawingManagerService'][_0x95d784(0x3a3)]({'unitId':_0xc9de1['unitId'],'subUnitId':_0xc9de1[_0x95d784(0x2b4)],'drawingId':_0xc9de1[_0x95d784(0x14a)]})))return;this[_0x95d784(0x2e3)](_0xc9de1['drawingId'],_0xc9de1['route']);}if(_0x23d14e['id']===Tr['id']&&this[_0x95d784(0x3cf)](),_0x23d14e['id']===_0x2ccbfe['id']){var _0x3434c3;_0x23d14e[_0x95d784(0x398)][_0x95d784(0x191)]===((_0x3434c3=this[_0x95d784(0x2aa)][_0x95d784(0x26e)])==null?void 0x0:_0x3434c3['id'])&&this[_0x95d784(0x3cf)](),this[_0x95d784(0x333)][_0x95d784(0x275)](_0x29388d)&&(this['_contextService'][_0x95d784(0x343)](_0x29388d,!0x1),this[_0x95d784(0x3cb)][_0x95d784(0x2a4)](null));}})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x241)]['subscribe'](({id:_0x105a80})=>{const _0x40c757=_0x3c0f88;this[_0x40c757(0x220)][_0x40c757(0x169)](_0x105a80)&&this[_0x40c757(0x3cf)]();})),this[_0x3c0f88(0x27a)](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x22e)][_0x3c0f88(0x3d5)](({id:_0x19a2e7})=>{const _0x26b152=_0x3c0f88;this['_sheetsChartUIService']['isElementEditModeActive'](_0x19a2e7)&&(this[_0x26b152(0x220)][_0x26b152(0x202)](),this['_chartRenderService'][_0x26b152(0x318)](_0x19a2e7,!0x1),this['_shouldEnableChartElementEdit'](_0x19a2e7)&&this[_0x26b152(0x214)][_0x26b152(0x318)](_0x19a2e7,!0x0));})),this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x3cb)][_0x3c0f88(0x1d0)][_0x3c0f88(0x3d5)](_0x56b215=>{const _0x439fc3=_0x3c0f88;let _0x235568=_0x56b215[0x0];if(!this['_sheetsChartUIService'][_0x439fc3(0x2c8)]){if(Oi(_0x56b215)){var _0xe127fb;let _0x371b24=this[_0x439fc3(0x2aa)][_0x439fc3(0x1ce)](_0x235568[_0x439fc3(0x14a)]);_0x371b24&&this[_0x439fc3(0x2f6)](_0x371b24['id'])&&((_0xe127fb=this[_0x439fc3(0x2aa)]['activeChartModel'])==null?void 0x0:_0xe127fb['id'])!==_0x371b24['id']&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](_0x371b24);return;}this[_0x439fc3(0x2aa)][_0x439fc3(0x26e)]&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](null),!_0x235568&&!this[_0x439fc3(0x220)][_0x439fc3(0x2c8)]&&this[_0x439fc3(0x3cf)]();}})),_0x1e6d1a&&(this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x193)][_0x3c0f88(0x3d5)](()=>{const _0x4456bb=_0x3c0f88;this[_0x4456bb(0x3cf)]();})),this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x381)][_0x3c0f88(0x3d5)](()=>{const _0x589fcf=_0x3c0f88;this[_0x589fcf(0x3cf)]();})));}async[_0x5d1a27(0x28c)](_0x9e04c0){const _0x22cdae=_0x5d1a27;this[_0x22cdae(0x220)]['chartEditorOpen']||ki(_0x9e04c0)&&this[_0x22cdae(0x2f6)](_0x9e04c0[_0x22cdae(0x14a)])&&await this['_openEditPanelByDoubleClick'](_0x9e04c0['unitId'],_0x9e04c0[_0x22cdae(0x2b4)],_0x9e04c0[_0x22cdae(0x14a)]);}async[_0x5d1a27(0x29c)](_0x34c7c7,_0x5bc67f,_0x7ca4c){const _0x11c89e=_0x5d1a27;this[_0x11c89e(0x2aa)][_0x11c89e(0x1ce)](_0x7ca4c)&&this[_0x11c89e(0x2f6)](_0x7ca4c)&&await this[_0x11c89e(0x3c7)][_0x11c89e(0x2de)](V['id'],{'unitId':_0x34c7c7,'subUnitId':_0x5bc67f,'drawingId':_0x7ca4c});}[_0x5d1a27(0x2e3)](_0x2b0235,_0x170b04){const _0x5856d3=_0x5d1a27;let _0x3507c8=this[_0x5856d3(0x2aa)][_0x5856d3(0x1ce)](_0x2b0235);_0x3507c8&&this[_0x5856d3(0x2f6)](_0x2b0235)&&(this['_chartModelService'][_0x5856d3(0x284)](_0x3507c8),this[_0x5856d3(0x24d)](),this[_0x5856d3(0x260)](_0x2b0235,_0x170b04??null));}['_activateEditPanelState'](_0x1b8de6,_0x4ddbae){const _0x2c521d=_0x5d1a27;this[_0x2c521d(0x220)][_0x2c521d(0x347)](!0x0),this['_sheetsChartUIService'][_0x2c521d(0x1c9)](_0x1b8de6,_0x4ddbae);}[_0x5d1a27(0x3e9)](){const _0x262d8e=_0x5d1a27;this[_0x262d8e(0x220)][_0x262d8e(0x347)](!0x1);}[_0x5d1a27(0x217)](_0x43ce1c,_0x57caf7){const _0x55f38b=_0x5d1a27;_0x43ce1c!==_0x57caf7&&(_0x43ce1c&&this['_chartRenderService'][_0x55f38b(0x318)](_0x43ce1c,!0x1),this['_sheetsChartUIService'][_0x55f38b(0x202)](),_0x57caf7&&(this['_sheetsChartUIService'][_0x55f38b(0x1c9)](_0x57caf7,null),this[_0x55f38b(0x214)][_0x55f38b(0x318)](_0x57caf7,this[_0x55f38b(0x219)](_0x57caf7))));}[_0x5d1a27(0x35f)](){const _0x446b63=_0x5d1a27;this[_0x446b63(0x358)][_0x446b63(0x2d6)](Ur),this[_0x446b63(0x3b1)]['registerFeatureMenu'](_0x4c00c3[_0x446b63(0x249)],this['getChartPopupMenus'][_0x446b63(0x19d)](this));}[_0x5d1a27(0x219)](_0x43f4f9){const _0x9d0e84=_0x5d1a27;let _0x5d58d0=this[_0x9d0e84(0x2aa)][_0x9d0e84(0x1ce)](_0x43f4f9);return!this['_isChartElementEditEnabled']||!_0x5d58d0||!this[_0x9d0e84(0x2f6)](_0x43f4f9)?!0x1:Gr(_0x5d58d0[_0x9d0e84(0x38a)]);}['getChartPopupMenus'](_0x5a5f2a,_0x570c49,_0x5a77b7,_0x2ab1de){const _0x3c8705=_0x5d1a27;if(!this[_0x3c8705(0x2aa)][_0x3c8705(0x1ce)](_0x5a77b7))return[];let _0x455200=[{'label':this[_0x3c8705(0x166)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':_0x2ab1de!==_0x4c00c3['DRAWING_CHART']}];return this[_0x3c8705(0x2f6)](_0x5a77b7)?[..._0x455200,{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x148)),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0x5a5f2a,'drawings':[{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7,'drawingType':_0x2ab1de}]},'disable':!0x1},{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x263)),'index':0x2,'commandId':Tr['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':!0x1}]:_0x455200;}[_0x5d1a27(0x2f6)](_0xbf2523){const _0x26ed4a=_0x5d1a27;return this['_sheetsChartService'][_0x26ed4a(0x34a)](_0xbf2523)!==void 0x0;}};Ai=K([G(0x0,_0x2a46aa),G(0x1,_0x50dd4e),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x233312(_0x45f46e)),G(0x4,_0x233312(q)),G(0x5,_0x233312(_0x1c6a95)),G(0x6,_0x233312(_0xe0c109)),G(0x7,_0x3d6daf),G(0x8,_0x233312(_0x1cd243)),G(0x9,_0x233312(_0x1ac4ba)),G(0xa,_0x23023c),G(0xb,J),G(0xc,_0xae1c0),G(0xd,_0x233312(_0x2365aa)),G(0xe,_0x332790)],Ai);var ji=_0x5d1a27(0x34c),Mi=_0x5d1a27(0x1c0);let X=class extends _0x23a464{constructor(_0x4c8634,_0x3effcf){const _0x59ba34=_0x5d1a27;super(),this[_0x59ba34(0x1c5)]=_0x4c8634,this[_0x59ba34(0x2aa)]=_0x3effcf,this[_0x59ba34(0x309)]();}[_0x5d1a27(0x309)](){const _0x4c9352=_0x5d1a27;this[_0x4c9352(0x27a)](this['_chartHostProviderService'][_0x4c9352(0x21a)][_0x4c9352(0x3d5)](_0x571b75=>{const _0x5d9112=_0x4c9352;this[_0x5d9112(0x2aa)]['removeChartModel'](_0x571b75);}));}};X=K([G(0x0,fi),G(0x1,_0x233312(_0xef00ca))],X);let Ni=class extends _0x23a464{constructor(_0x5e8598,_0x337282,_0x2e7b8f,_0x118939,_0x5867b4,_0x471965){const _0x4028d3=_0x5d1a27;super(),this['_chartModelService']=_0x5e8598,this[_0x4028d3(0x214)]=_0x337282,this[_0x4028d3(0x166)]=_0x2e7b8f,this[_0x4028d3(0x1b8)]=_0x118939,this['_commandService']=_0x5867b4,this[_0x4028d3(0x2e6)]=_0x471965,U(this,_0x4028d3(0x28a),new Map()),U(this,'_pendingDataUpdateChartIds',new Set()),this[_0x4028d3(0x309)](),this[_0x4028d3(0x29e)](),this[_0x4028d3(0x3df)]();}[_0x5d1a27(0x3df)](){const _0x478c6b=_0x5d1a27;this[_0x478c6b(0x27a)](this['_sheetPrintInterceptorService'][_0x478c6b(0x302)][_0x478c6b(0x1a4)](this[_0x478c6b(0x2e6)][_0x478c6b(0x302)]['getInterceptPoints']()[_0x478c6b(0x29f)],{'handler':(_0x51b5ab,_0x1077cf,_0x485525)=>{const _0x3635e8=_0x478c6b;let _0x2cf49b=this[_0x3635e8(0x214)][_0x3635e8(0x2ff)](_0x1077cf[_0x3635e8(0x1b7)],_0x1077cf[_0x3635e8(0x2b4)],_0x1077cf[_0x3635e8(0x1d8)]);return _0x1077cf[_0x3635e8(0x3b3)][_0x3635e8(0x248)](_0x2cf49b),_0x485525(_0x51b5ab);}}));}['_init'](){const _0x52f5bd=_0x5d1a27;this[_0x52f5bd(0x27a)](this[_0x52f5bd(0x2aa)]['chartModelAdded$'][_0x52f5bd(0x3d5)](_0x28e32a=>{const _0x2dd2d1=_0x52f5bd;if(_0x28e32a){let _0x20d669=new _0x396c56();_0x20d669[_0x2dd2d1(0x248)](_0x28e32a['dataSource$'][_0x2dd2d1(0x186)](_0x2ddbf4(_0x35c592=>_0x35c592[_0x2dd2d1(0x39e)][_0x2dd2d1(0x186)](_0x83aac8(0x1))))[_0x2dd2d1(0x3d5)](()=>{const _0x21374d=_0x2dd2d1;this[_0x21374d(0x205)][_0x21374d(0x248)](_0x28e32a['id']);})),_0x20d669[_0x2dd2d1(0x248)](_0x28e32a[_0x2dd2d1(0x310)][_0x2dd2d1(0x186)](_0xedeac2(_0x28e32a['style$']),_0xedeac2(this[_0x2dd2d1(0x166)][_0x2dd2d1(0x31d)]),_0x13ec66(0x64))['subscribe'](([[_0x1ed5e6,_0x4d416d],_0x303bc7])=>{const _0x437848=_0x2dd2d1;var _0x5b1165;if(!_0x1ed5e6)return;(_0x5b1165=_0x1ed5e6[_0x437848(0x142)])==null||_0x5b1165[_0x437848(0x21d)][_0x437848(0x1e0)]((_0x25e0fe,_0xaac3de)=>{const _0x582248=_0x437848;_0x25e0fe[_0x582248(0x27d)]||=this['_localeService']['t'](_0x582248(0x3b9))+'\x20'+(_0xaac3de+0x1);}),_0x1ed5e6['series']['forEach']((_0x5c9fba,_0x2d69a5)=>{const _0x4e8776=_0x437848;_0x5c9fba[_0x4e8776(0x1ea)]||=this[_0x4e8776(0x166)]['t'](_0x4e8776(0x344))+'\x20'+(_0x2d69a5+0x1);});let _0x3daf3c=this[_0x437848(0x214)][_0x437848(0x37e)](_0x28e32a,_0x303bc7),_0x45cdb9=this[_0x437848(0x205)][_0x437848(0x198)](_0x28e32a['id']);this[_0x437848(0x214)][_0x437848(0x3a9)](_0x28e32a['id'],_0x1ed5e6,_0x3daf3c,{'animateDataUpdate':_0x45cdb9});})),_0x28e32a[_0x2dd2d1(0x287)](()=>{const _0xe5245=_0x2dd2d1;this['_pendingDataUpdateChartIds']['delete'](_0x28e32a['id']),_0x20d669[_0xe5245(0x33d)]();});}}));}[_0x5d1a27(0x29e)](){const _0x3da67b=_0x5d1a27;this[_0x3da67b(0x27a)](this[_0x3da67b(0x3c7)]['onCommandExecuted'](_0x1d2451=>{const _0x35c51a=_0x3da67b;if(_0x1d2451['id']!==_0x18807f['id'])return;let _0xe70386=_0x1d2451[_0x35c51a(0x398)];_0xe70386!=null&&_0xe70386[_0x35c51a(0x151)]&&Promise['resolve']()[_0x35c51a(0x138)](()=>this['_renderAfterChartUpdateMutation'](_0xe70386));}));}[_0x5d1a27(0x229)](_0xca0ef8){const _0x5b7c86=_0x5d1a27;let _0x5d0779=this[_0x5b7c86(0x2aa)][_0x5b7c86(0x1ce)](_0xca0ef8[_0x5b7c86(0x151)]);if(!_0x5d0779||_0x5d0779[_0x5b7c86(0x38a)]!==_0x1b41ef['WordCloud'])return;let _0x48052d=_0x5d0779['config'];if(!_0x48052d){this['_renderWhenConfigReady'](_0x5d0779);return;}this[_0x5b7c86(0x27f)](_0x5d0779,_0x48052d);}['_renderWhenConfigReady'](_0x58bb07){const _0x24b584=_0x5d1a27;if(this['_pendingMutationConfigRenders']['get'](_0x58bb07['id']))return;let _0x36c374=_0x58bb07[_0x24b584(0x310)][_0x24b584(0x186)](_0x5482cb(_0x464c37=>_0x464c37!=null),_0x25844e(0x1))['subscribe'](_0x392e4d=>{const _0x286f39=_0x24b584;this['_pendingMutationConfigRenders'][_0x286f39(0x198)](_0x58bb07['id']),this[_0x286f39(0x27f)](_0x58bb07,_0x392e4d);});this[_0x24b584(0x28a)][_0x24b584(0x30a)](_0x58bb07['id'],_0x36c374),_0x58bb07[_0x24b584(0x287)](()=>{const _0x39d0f9=_0x24b584;_0x36c374[_0x39d0f9(0x1d3)](),this[_0x39d0f9(0x28a)][_0x39d0f9(0x198)](_0x58bb07['id']);});}[_0x5d1a27(0x27f)](_0x73cdb2,_0x1c0b42){const _0x22a8b3=_0x5d1a27;let _0x36103f=this[_0x22a8b3(0x214)][_0x22a8b3(0x37e)](_0x73cdb2,this[_0x22a8b3(0x166)][_0x22a8b3(0x36e)]());this[_0x22a8b3(0x214)][_0x22a8b3(0x3a9)](_0x73cdb2['id'],_0x1c0b42,_0x36103f);}};Ni=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,_0x233312(_0x2365aa)),G(0x3,J),G(0x4,_0x23023c),G(0x5,_0x233312(_0x4e275e))],Ni);function Pi(_0x562665,_0x137765){const _0x1f8f17=_0x5d1a27;return _0x562665['unitId']!==_0x137765['unitId']||_0x562665['subUnitId']!==_0x137765[_0x1f8f17(0x377)]?_0x562665:{..._0x562665,'subUnitId':_0x137765[_0x1f8f17(0x137)]};}function Fi(_0x16d908,_0x359e25){const _0x5aa20f=_0x5d1a27;return(_0x16d908==null?void 0x0:_0x16d908['type'])===_0x3471e0[_0x5aa20f(0x20c)]?{..._0x16d908,'source':Pi(_0x16d908[_0x5aa20f(0x331)],_0x359e25)}:_0x16d908;}function Ii(_0xd5a030,_0x250e13){const _0x1c284c=_0x5d1a27;let {rangeInfo:_0x45a59e}=_0xd5a030;return Array[_0x1c284c(0x25b)](_0x45a59e)?{..._0xd5a030,'rangeInfo':_0x45a59e['map'](_0x44570d=>({..._0x44570d,..._0x44570d[_0x1c284c(0x373)]?{'header':Fi(_0x44570d['header'],_0x250e13)}:{},'range':Pi(_0x44570d[_0x1c284c(0x363)],_0x250e13)}))}:{..._0xd5a030,'rangeInfo':{..._0x45a59e,..._0x45a59e[_0x1c284c(0x373)]?{'header':{..._0x45a59e['header'],..._0x45a59e[_0x1c284c(0x373)][_0x1c284c(0x1a2)]?{'titles':Li(_0x45a59e[_0x1c284c(0x373)]['titles'],_0x250e13)}:{}}}:{},'rangeInfo':Pi(_0x45a59e['rangeInfo'],_0x250e13)}};}function Li(_0x5d4ed4,_0x5f04fd){const _0xeb7db4=_0x5d1a27;return _0x5d4ed4[_0xeb7db4(0x17a)]===_0x3471e0[_0xeb7db4(0x2eb)]?{..._0x5d4ed4,'values':{..._0x5d4ed4[_0xeb7db4(0x2d7)]}}:_0x5d4ed4['type']===_0x3471e0[_0xeb7db4(0x1e3)]?{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])[_0xeb7db4(0x1a0)](([_0x2b3072,_0x57bf43])=>[_0x2b3072,_0x57bf43&&Pi(_0x57bf43,_0x5f04fd)]))}:{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])['map'](([_0xb2f407,_0x798a0e])=>[_0xb2f407,_0x798a0e&&Fi(_0x798a0e,_0x5f04fd)]))};}function Ri(_0x46ad12,_0x1a576e,_0x77bc73,_0x216db5){const _0x11e98f=_0x5d1a27;let _0x56b66d=_0x5a52ec(_0x46ad12,_0x1a576e,_0x77bc73),_0xbd2284=[];for(let _0x40c26e of _0x1a576e){let _0x2118dd=_0x56b66d[_0x11e98f(0x167)][_0x11e98f(0x3a6)](_0x40c26e[_0x11e98f(0x14a)]),_0x402903=_0x216db5(_0x40c26e);_0x2118dd&&_0x402903&&_0xbd2284['push']({'targetChartId':_0x2118dd,'source':Ii(_0x402903,_0x77bc73)});}return _0xbd2284;}let zi=class extends _0x23a464{constructor(_0x394407,_0x2a9b73,_0x56b795,_0x2aa0ba,_0xe61303){const _0x36868b=_0x5d1a27;super(),this[_0x36868b(0x3d8)]=_0x394407,this[_0x36868b(0x282)]=_0x2a9b73,this[_0x36868b(0x296)]=_0x56b795,this[_0x36868b(0x2aa)]=_0x2aa0ba,this[_0x36868b(0x1f9)]=_0xe61303,this[_0x36868b(0x133)]();}[_0x5d1a27(0x133)](){const _0x3b293d=_0x5d1a27;this[_0x3b293d(0x27a)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0xe78c25=>{const _0x2c326f=_0x3b293d;if(_0xe78c25['id']===_0x3c652c['id']){let _0x2945dd=_0x374c25(this[_0x2c326f(0x3d8)],_0xe78c25[_0x2c326f(0x398)]);if(!_0x2945dd)return{'redos':[],'undos':[]};let {unitId:_0x8e553f,subUnitId:_0x390cf1}=_0x2945dd,_0x126833=this[_0x2c326f(0x296)]['getDrawingData'](_0x8e553f,_0x390cf1),_0x432628=Object[_0x2c326f(0x2d7)](_0x126833)[_0x2c326f(0x1e4)](_0x3cf80b=>_0x3cf80b[_0x2c326f(0x3e5)]===_0x4c00c3[_0x2c326f(0x249)]);if(_0x432628[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x1c5190=[],_0x1b3f5a=[];for(let _0x1c2559=0x0;_0x1c2559<_0x432628[_0x2c326f(0x355)];_0x1c2559++){let _0xb2fe78=_0x432628[_0x1c2559],_0x52c747=this[_0x2c326f(0x2aa)][_0x2c326f(0x1ce)](_0xb2fe78[_0x2c326f(0x14a)]);if(!_0x52c747)continue;let _0x5ddbab=this[_0x2c326f(0x1f9)][_0x2c326f(0x34a)](_0x52c747['id']);if(!_0x5ddbab)continue;let {chartType:_0x3a0508,context:_0x3645fb,style:_0x1e675f,dataAggregation:_0x3dd4e9}=_0x52c747[_0x2c326f(0x33f)]();_0x1c5190['push']({'id':_0x2ccbfe['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78[_0x2c326f(0x14a)]}}),_0x1b3f5a['push']({'id':_0x5c166f['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78['drawingId'],'chartType':_0x3a0508,..._0x1d8687(_0x5ddbab),'context':_0x3645fb,'style':_0x1e675f,'dataAggregation':_0x3dd4e9}});}return{'redos':_0x1c5190,'undos':_0x1b3f5a};}if(_0xe78c25['id']===_0x488928['id']){let {unitId:_0xbff3b6,subUnitId:_0x36672f,targetSubUnitId:_0x3e59d9,copyContext:_0x5eb2fd}=_0xe78c25[_0x2c326f(0x398)];if(!_0xbff3b6||!_0x36672f||!_0x3e59d9)return{'redos':[],'undos':[]};let _0x3c81f6=this[_0x2c326f(0x296)][_0x2c326f(0x3be)](_0xbff3b6,_0x36672f),_0x164b38=Object[_0x2c326f(0x2d7)](_0x3c81f6)[_0x2c326f(0x1e4)](_0x4ab087=>_0x4ab087['drawingType']===_0x4c00c3[_0x2c326f(0x249)]);if(_0x164b38[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x590a8e=Ri(_0x5eb2fd,_0x164b38,{'unitId':_0xbff3b6,'sourceSubUnitId':_0x36672f,'targetSubUnitId':_0x3e59d9},_0x32f152=>{const _0x10674c=_0x2c326f;let _0x43e997=this[_0x10674c(0x2aa)][_0x10674c(0x1ce)](_0x32f152[_0x10674c(0x14a)]);if(!_0x43e997)return;let _0xcecec7=this[_0x10674c(0x1f9)]['getChartSourceSpec'](_0x43e997['id']);if(!_0xcecec7)return;let {chartType:_0x22a600,context:_0x44e72e,style:_0x340a97,dataAggregation:_0x518a15}=_0x43e997[_0x10674c(0x33f)]();return{'rangeInfo':_0xcecec7,'chartType':_0x22a600,'context':_0x44e72e,'style':_0x340a97,'dataAggregation':_0x518a15};}),_0x1d03e0=[],_0x1c145c=[];for(let {targetChartId:_0x509af5,source:_0x159705}of _0x590a8e){let {rangeInfo:_0x4b3da0,chartType:_0x469797,context:_0x23b832,style:_0x1d04a7,dataAggregation:_0x20d5b0}=_0x159705;_0x1d03e0[_0x2c326f(0x334)]({'id':_0x5c166f['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5,'chartType':_0x469797,..._0x1d8687(_0x4b3da0),'context':_0x23b832,'style':_0x1d04a7,'dataAggregation':_0x20d5b0}}),_0x1c145c[_0x2c326f(0x334)]({'id':_0x2ccbfe['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5}});}return{'redos':_0x1d03e0,'undos':_0x1c145c};}return{'redos':[],'undos':[]};}}));}};zi=K([G(0x0,_0x233312(_0x50dd4e)),G(0x1,_0x233312(_0x304912)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],zi);const Bi=_0x1c8cda=>_0x1c8cda[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])['getUnitId'](),Vi=_0x1cf69f=>{const _0x44abdb=_0x5d1a27;var _0x424646;return(_0x424646=_0x1cf69f[_0x44abdb(0x3ce)](_0x2a3654[_0x44abdb(0x1d7)])[_0x44abdb(0x144)]())==null?void 0x0:_0x424646['getSheetId']();};function Hi(){const _0x284930=_0x5d1a27;var _0x3741dc;let _0x3303bf=_0x216cfe(J),_0x38e54e=_0x216cfe(_0xef00ca),_0x23175f=_0x216cfe(_0x45f46e),_0x479a84=_0x216cfe(_0x2365aa),_0x290aa9=_0x216cfe(_0x26189f),_0x510501=_0x2ab3f2(_0x290aa9),_0x5108c5=_0x1f6146(()=>{const _0x2f50ae=_0x14cc;let _0x1cd075=Ir(Pr[_0x2f50ae(0x37b)](),_0x510501);return _0x5db475(_0x1cd075['map'](_0x33ba6a=>({'id':_0x33ba6a['id'],'label':_0x479a84['t']('sheets-chart-ui.chartTypes.'+_0x33ba6a['labelId']),'pieSecondaryPlotType':_0x33ba6a[_0x2f50ae(0x3dc)],'value':_0x33ba6a['value']})));},[_0x510501,_0x479a84]),_0x35672d=_0x103df8(_0x38e54e[_0x284930(0x209)],_0x38e54e[_0x284930(0x26e)]),_0x1632de=_0x35672d?_0x23175f[_0x284930(0x13e)](_0x35672d['id']):void 0x0,_0xdb09be=_0x103df8(_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x301)],_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x351)]()),_0x22cb04=Array[_0x284930(0x25b)](_0xdb09be),_0x484b97=_0xdb09be&&!_0x22cb04&&_0xdb09be['isRowDirection']?_0x10a164[_0x284930(0x1aa)]:_0x10a164[_0x284930(0x27b)],_0x3204c0=_0x22cb04?(_0x3741dc=_0xdb09be[0x0])==null?void 0x0:_0x3741dc[_0x284930(0x363)]:_0xdb09be==null?void 0x0:_0xdb09be[_0x284930(0x2a6)];return _0x29cee8(_0x284930(0x21b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x5108c5,'dataSourceControl':_0x29cee8(Ui,{'dataRange':_0xdb09be,'primaryRange':_0x3204c0}),'categoryToggleLabel':_0x479a84['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x484b97+'\x20'+(((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startRow'])??0x0)+0x1):_0x484b97+'\x20'+_0x2a8fac((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startColumn'])??0x0)),'orientationControl':_0x22cb04?void 0x0:_0x29cee8(_0x926487,{'size':_0x284930(0x1f5),'onClick':()=>_0x3303bf[_0x284930(0x2a2)](_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x10a164[_0x284930(0x27b)]:_0x10a164['Row']),'children':_0x479a84['t'](_0x284930(0x11b))})})});}function Ui(_0x21751d){const _0x2d6411=_0x5d1a27;let {dataRange:_0xdf9f03,primaryRange:_0x50e0a3}=_0x21751d,_0x2b19c1=_0x216cfe(J),_0x377b37=_0x216cfe(_0x2365aa),_0x133861=_0x216cfe(_0x50dd4e),[_0x208508,_0x32259b]=_0x4cb90f(!0x1),[_0x5e1304,_0x347459]=_0x4cb90f(!0x1),_0x5a2c6d=Bi(_0x133861),_0x1a6d2d=Vi(_0x133861);_0x3b35d2(()=>{_0x2b19c1['setRangeSelectMode'](_0x208508);},[_0x208508,_0x2b19c1]);let _0x18f0fe=_0x1f6146(()=>_0x265549(async _0x2e9fa3=>{const _0x3afa26=_0x14cc;var _0x4c48b6;if(Mr(_0xdf9f03,_0x133861)===_0x2e9fa3)return;let _0x26563d=_0x2e9fa3['split'](',')[_0x3afa26(0x1e4)](Boolean)[_0x3afa26(0x1a0)](_0x560030)[0x0];if(!_0x26563d)return;let {unitId:_0x469a17,sheetName:_0x9d3bfd,range:_0xd93312}=_0x26563d,_0x361aa0=_0x469a17||_0x5a2c6d,_0x188674=((_0x4c48b6=_0x133861[_0x3afa26(0x2f4)](_0x361aa0)['getSheetBySheetName'](_0x9d3bfd))==null?void 0x0:_0x4c48b6[_0x3afa26(0x1c1)]())||(_0x50e0a3==null?void 0x0:_0x50e0a3['subUnitId'])||_0x1a6d2d;_0x188674&&_0x2b19c1['setDataRange']({'rangeInfo':{'range':_0xd93312,'unitId':_0x361aa0,'subUnitId':_0x188674}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xdf9f03,_0x50e0a3,_0x2b19c1,_0x1a6d2d,_0x5a2c6d,_0x133861]);return _0x3b35d2(()=>()=>_0x18f0fe[_0x2d6411(0x1b5)](),[_0x18f0fe]),_0x29cee8(_0x2d6411(0x21b),{'className':_0x2d6411(0x321),'children':_0x191e51(_0x2d6411(0x21b),{'children':[_0x29cee8(_0x207394,{'title':_0x377b37['t'](_0x2d6411(0x24c))}),_0x29cee8(_0x411079,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x5a2c6d,'subUnitId':_0x1a6d2d,'initialValue':_0xdf9f03?Mr(_0xdf9f03,_0x133861):'','onChange':(_0x79867d,_0xf4327d)=>_0x18f0fe(_0xf4327d),'onFocusChange':_0x153787=>{_0x5e1304||_0x32259b(_0x153787);},'onRangeSelectorDialogVisibleChange':_0x22b81c=>{_0x347459(_0x22b81c),_0x32259b(_0x22b81c);}})]})});}function Wi(){const _0x481c1c=_0x5d1a27;let [_0x5eb381,_0x1dbfc]=_0x4cb90f(_0x45ab14[_0x481c1c(0x211)]),_0xc18f48=_0x216cfe(_0x26189f),_0x4fe645=_0x216cfe(_0x2365aa),_0x4eda04=_0x216cfe(J),_0x282604=_0x216cfe(_0xef00ca),_0x8fcbb8=_0x216cfe(_0x45f46e),_0xfcdce2=_0x103df8(_0x282604['activeChartModel$'],_0x282604[_0x481c1c(0x26e)]),_0x1de565=_0x103df8(_0x4eda04[_0x481c1c(0x192)],null),_0x2e2098=_0x1f6146(()=>{const _0x45246c=_0x481c1c;var _0x2eca5a;if(!_0xfcdce2)return null;let _0x2b2c70=_0x8fcbb8[_0x45246c(0x34a)](_0xfcdce2['id']);if(!_0x2b2c70)return null;let _0x107a39=Array[_0x45246c(0x25b)](_0x2b2c70)?(_0x2eca5a=_0x2b2c70[0x0])==null?void 0x0:_0x2eca5a['range']:_0x2b2c70[_0x45246c(0x2a6)];return _0x107a39?new _0x21eaab(_0xfcdce2,new _0x467243({'unitId':_0x107a39['unitId'],'subUnitId':_0x107a39[_0x45246c(0x2b4)],'chartId':_0xfcdce2['id'],'injector':_0xc18f48})):null;},[_0xfcdce2,_0xc18f48,_0x8fcbb8]);if(_0x3b35d2(()=>{const _0x1b0356=_0x481c1c;var _0x2e9afa,_0x58d497;_0xfcdce2&&(_0x1de565==null?void 0x0:_0x1de565[_0x1b0356(0x191)])===_0xfcdce2['id']&&(((_0x2e9afa=_0x1de565[_0x1b0356(0x204)])==null?void 0x0:_0x2e9afa[_0x1b0356(0x3e7)])===_0x45ab14[_0x1b0356(0x2dc)]&&_0x1dbfc(_0x45ab14['Style']),((_0x58d497=_0x1de565['route'])==null?void 0x0:_0x58d497[_0x1b0356(0x3e7)])===_0x45ab14['Data']&&_0x1dbfc(_0x45ab14[_0x1b0356(0x211)]));},[_0xfcdce2,_0x1de565]),!_0x2e2098)return null;let _0x3434cf=_0x29cee8(_0x481c1c(0x21b),{'className':_0x481c1c(0x158),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x4fe645['t'](_0x481c1c(0x387)),'activeTab':_0x5eb381,'onTabChange':_0x1dbfc,'tabListClassName':_0x481c1c(0x1e6),'panelClassName':_0x5eb381===_0x45ab14[_0x481c1c(0x2dc)]?_0x481c1c(0x2d0):_0x481c1c(0x2e4),'tabs':[{'id':_0x45ab14[_0x481c1c(0x211)],'panelId':_0x481c1c(0x159),'title':_0x4fe645['t']('sheets-chart-ui.common.setup'),'content':_0x29cee8(Hi,{})},{'id':_0x45ab14[_0x481c1c(0x2dc)],'panelId':_0x481c1c(0x365),'title':_0x4fe645['t'](_0x481c1c(0x173)),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0x5c14bf,{'chartUIService':_0x4eda04,'hostAdapter':_0x2e2098,'children':_0x3434cf});}let Gi=class extends _0x23a464{constructor(_0x2c3ee9){const _0x938203=_0x5d1a27;super(),this[_0x938203(0x27a)](_0x2c3ee9['register'](Ti,Wi));}};Gi=K([G(0x0,_0x233312(_0x59c972))],Gi);let Ki=class extends _0x23a464{constructor(_0x4f95d7,_0x24b88f,_0x4ff6fa,_0x575776,_0x59bb7e,_0x58a717,_0x16114b,_0x3278d2,_0x36e901){const _0x207839=_0x5d1a27;super(),this[_0x207839(0x3cb)]=_0x4f95d7,this[_0x207839(0x2aa)]=_0x24b88f,this[_0x207839(0x149)]=_0x4ff6fa,this['_menuManagerService']=_0x575776,this['_sheetCanvasPopManagerService']=_0x59bb7e,this['_commandService']=_0x58a717,this[_0x207839(0x220)]=_0x16114b,this[_0x207839(0x333)]=_0x3278d2,this['_localeService']=_0x36e901,U(this,_0x207839(0x35c),null),U(this,'_panelInitialized',!0x1),this[_0x207839(0x35f)]();}[_0x5d1a27(0x33d)](){const _0x1724ff=_0x5d1a27;this['hidePanel'](),super[_0x1724ff(0x33d)]();}['initPanel'](){const _0x413497=_0x5d1a27;this[_0x413497(0x178)]||(this[_0x413497(0x178)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x26dd12=>{const _0x3db47=_0x413497;if(_0x26dd12['id']!==V['id'])return;let _0x92f053=_0x26dd12[_0x3db47(0x398)];this[_0x3db47(0x2e3)](_0x92f053[_0x3db47(0x14a)],_0x92f053[_0x3db47(0x204)]);})));}['openChartPanelById'](_0x3026ac,_0x1172e4){const _0x54a176=_0x5d1a27;let _0x99a209=this[_0x54a176(0x2aa)][_0x54a176(0x1ce)](_0x3026ac);_0x99a209&&(this[_0x54a176(0x2aa)][_0x54a176(0x284)](_0x99a209),this[_0x54a176(0x24d)](),this[_0x54a176(0x220)][_0x54a176(0x347)](!0x0),this[_0x54a176(0x220)]['setPanelRoute'](_0x3026ac,_0x1172e4??null));}[_0x5d1a27(0x3cf)](){const _0x344d71=_0x5d1a27;let _0x247b67=this['_sidebarDisposable'];this[_0x344d71(0x35c)]=null,this[_0x344d71(0x239)](),_0x247b67==null||_0x247b67[_0x344d71(0x33d)]();}['_initMenus'](){const _0x2413e5=_0x5d1a27;this[_0x2413e5(0x358)][_0x2413e5(0x2d6)]({[_0x17e5d5[_0x2413e5(0x298)]]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}}}),this[_0x2413e5(0x3b1)][_0x2413e5(0x1f8)](_0x4c00c3['DRAWING_CHART'],(_0xd37126,_0x374946,_0x32b62a,_0x3865e4)=>[{'label':this[_0x2413e5(0x166)]['t'](_0x2413e5(0x387)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a},'disable':_0x3865e4!==_0x4c00c3['DRAWING_CHART']},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0xd37126,'drawings':[{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a,'drawingType':_0x3865e4}]},'disable':!0x1}],_0x2413e5(0x352));}['_openPanel'](){const _0x7d5a19=_0x5d1a27;this[_0x7d5a19(0x35c)]=this[_0x7d5a19(0x149)][_0x7d5a19(0x279)]({'id':Ti,'header':{'title':this[_0x7d5a19(0x166)]['t'](_0x7d5a19(0x387))},'children':{'label':Ti},'onClose':()=>{const _0x3348fe=_0x7d5a19;this[_0x3348fe(0x35c)]=null,this[_0x3348fe(0x239)]();}});}['_clearPanelState'](){const _0x495605=_0x5d1a27;this[_0x495605(0x220)]['setChartEditorOpen'](!0x1),this[_0x495605(0x220)]['clearPanelRoute'](),this[_0x495605(0x2aa)][_0x495605(0x26e)]&&this[_0x495605(0x2aa)][_0x495605(0x284)](null),this['_drawingManagerService'][_0x495605(0x2a4)](null),this['_contextService'][_0x495605(0x343)](_0x29388d,!0x1);}};Ki=K([G(0x0,_0x2a46aa),G(0x1,_0x233312(_0xef00ca)),G(0x2,_0x233312(_0xe0c109)),G(0x3,_0x3d6daf),G(0x4,_0x233312(_0x1ac4ba)),G(0x5,_0x23023c),G(0x6,J),G(0x7,_0xae1c0),G(0x8,_0x233312(_0x2365aa))],Ki);let qi=class extends _0x23a464{constructor(_0x43f5d2,_0x396aa0,_0x39bf63,_0x4a5406,_0x3cecde){const _0x4a0920=_0x5d1a27;super(),this[_0x4a0920(0x19f)]=_0x43f5d2,this['_sheetClipboardService']=_0x396aa0,this[_0x4a0920(0x296)]=_0x39bf63,this[_0x4a0920(0x2aa)]=_0x4a5406,this[_0x4a0920(0x1f9)]=_0x3cecde,U(this,_0x4a0920(0x312),void 0x0),this[_0x4a0920(0x246)]();}get[_0x5d1a27(0x11f)](){const _0x39ef58=_0x5d1a27;return this[_0x39ef58(0x296)][_0x39ef58(0x23a)]();}['_initCopyPaste'](){const _0x32d143=_0x5d1a27;this['disposeWithMe'](this[_0x32d143(0x17f)][_0x32d143(0x1ba)]({'id':_0xff1a05,'onBeforeCopyFocusedObject':(_0x303e17,_0x3bc218,_0x43ecd6)=>{const _0x107ee9=_0x32d143;this[_0x107ee9(0x312)]=null;let _0x4751f7=this[_0x107ee9(0x11f)]['filter'](_0x130316=>this[_0x107ee9(0x2f6)](_0x130316));return _0x4751f7[_0x107ee9(0x355)]!==0x0&&(this[_0x107ee9(0x312)]={'unitId':_0x303e17,'subUnitId':_0x3bc218,'copyType':_0x43ecd6,'drawings':_0x4751f7},!0x0);},'onBeforeCopy':(_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f);},'onPasteCells':(_0x4ac869,_0x16e126,_0x269def,_0x4d6426)=>{const _0x337c0d=_0x32d143;if(!_0x4d6426[_0x337c0d(0x324)]||!_0x4ac869||!this[_0x337c0d(0x312)])return{'redos':[],'undos':[]};let {pasteType:_0x1fbc93}=_0x4d6426;return _0x1fbc93===_0x9ae0ee[_0x337c0d(0x1ae)]?this['_generatePasteMutations'](_0x16e126,this[_0x337c0d(0x312)][_0x337c0d(0x213)]===_0xe1391d[_0x337c0d(0x251)]):{'redos':[],'undos':[]};}}));}[_0x5d1a27(0x250)](_0x314717,_0x4779bd,_0x53a0ba,_0x35b8b3){const _0x52b7b0=_0x5d1a27;let _0x2e7a0e=this[_0x52b7b0(0x19f)][_0x52b7b0(0x392)](_0x314717,_0x4779bd);if(!_0x2e7a0e)return;let _0x61bf22=_0x57f3f4(_0x2e7a0e,_0x53a0ba);if(!_0x61bf22)return;let {startX:_0x5a07ca,endX:_0x50cc4c,startY:_0x41c52e,endY:_0xd97ab8}=_0x61bf22,_0x24f51c=this[_0x52b7b0(0x296)][_0x52b7b0(0x3be)](_0x314717,_0x4779bd),_0x29c650=[];for(let [_0xe396fd,_0x15fe67]of Object[_0x52b7b0(0x215)](_0x24f51c)){if(!this[_0x52b7b0(0x2f6)](_0x15fe67))continue;let {transform:_0x26f885}=_0x15fe67;if(!_0x26f885)continue;let {left:_0x56e398=0x0,top:_0x370801=0x0,width:_0x2a2a74=0x0,height:_0x2d8522=0x0}=_0x26f885;_0x5a07ca<=_0x56e398&&_0x50cc4c>=_0x56e398+_0x2a2a74&&_0x41c52e<=_0x370801&&_0xd97ab8>=_0x370801+_0x2d8522&&_0x29c650[_0x52b7b0(0x334)](_0x15fe67);}_0x29c650[_0x52b7b0(0x355)]>0x0&&(this[_0x52b7b0(0x312)]={'unitId':_0x314717,'subUnitId':_0x4779bd,'copyType':_0x35b8b3,'copyRange':_0x53a0ba,'drawings':_0x29c650});}[_0x5d1a27(0x2f6)](_0xfd669d){const _0x4395d1=_0x5d1a27;return _0xfd669d[_0x4395d1(0x3e5)]===_0x4c00c3[_0x4395d1(0x249)]&&this[_0x4395d1(0x1f9)]['getSubUnitId'](_0xfd669d[_0x4395d1(0x1b7)],_0xfd669d[_0x4395d1(0x14a)])===_0xfd669d[_0x4395d1(0x2b4)];}[_0x5d1a27(0x399)](_0x3d3f55,_0x52d1a8){const _0x3a8f6e=_0x5d1a27;let {unitId:_0x26c0f0,subUnitId:_0x12eb82,range:_0x5d3123}=_0x3d3f55,_0x39e3ab=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x26c0f0,_0x12eb82);if(!_0x39e3ab)return{'redos':[],'undos':[]};let _0x419e4c=_0x4c3d52(_0x5d3123),{unitId:_0x10ab60,subUnitId:_0x55a3c6,copyRange:_0x21de5d,drawings:_0x2d98e5}=this['_copyInfo'],_0x4f02c3=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x10ab60,_0x55a3c6);if(!_0x4f02c3)return{'redos':[],'undos':[]};let _0x267af3=[],_0x3ab04f=[];for(let _0x4c1f94 of _0x2d98e5){let {drawingId:_0x12c231,transform:_0x190959,sheetTransform:_0xe06b59}=_0x4c1f94,_0x77737=this[_0x3a8f6e(0x2aa)][_0x3a8f6e(0x1ce)](_0x12c231);if(!_0x77737||!_0x190959||!_0xe06b59)continue;let _0x2a5c83=this['_updateTransform']({'transform':_0x190959,'sheetTransform':_0xe06b59},{'skeleton':_0x4f02c3,'range':_0x21de5d},{'skeleton':_0x39e3ab,'range':_0x419e4c});if(_0x52d1a8){let {redos:_0x3fda03,undos:_0x6d5d2f}=this['_generateCutPasteMutations']({'fromUnitId':_0x10ab60,'fromSubUnitId':_0x55a3c6,'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3['push'](..._0x3fda03),_0x3ab04f[_0x3a8f6e(0x334)](..._0x6d5d2f);continue;}let {redos:_0x1d8ea9,undos:_0x97ae3}=this[_0x3a8f6e(0x1dc)]({'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3[_0x3a8f6e(0x334)](..._0x1d8ea9),_0x3ab04f[_0x3a8f6e(0x334)](..._0x97ae3);}return{'redos':_0x267af3,'undos':_0x3ab04f};}[_0x5d1a27(0x277)](_0x567a44,_0x272d30){const _0x2d9293=_0x5d1a27;let {fromUnitId:_0x28bda1,fromSubUnitId:_0x2b5801,toUnitId:_0x2b184e,toSubUnitId:_0x2e25b3,drawing:_0x3fb740,newTransforms:_0x430015}=_0x567a44,_0x36a1ea={..._0x3fb740,'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'transform':_0x430015[_0x2d9293(0x31c)],'sheetTransform':_0x430015[_0x2d9293(0x3c9)]};if(_0x2b184e===_0x28bda1&&_0x2e25b3===_0x2b5801){let {redo:_0x237ec6,undo:_0x37b5e3,objects:_0x2e1f41}=this[_0x2d9293(0x296)][_0x2d9293(0x375)]([_0x36a1ea]);return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x187)],'op':_0x237ec6,'objects':_0x2e1f41}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['UPDATE'],'op':_0x37b5e3,'objects':_0x2e1f41}}]};}{let _0x373a3c=this['_sheetDrawingService'][_0x2d9293(0x19b)]([_0x3fb740]),_0x80e613=this['_sheetDrawingService']['getBatchAddOp']([_0x36a1ea]),_0x2100d4=this[_0x2d9293(0x1f9)][_0x2d9293(0x34a)](_0x272d30['id']);if(!_0x2100d4)return{'redos':[],'undos':[]};let {chartType:_0x393093,context:_0xed6402,style:_0x20f597,dataAggregation:_0x481acb}=_0x272d30[_0x2d9293(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4['REMOVE'],'op':_0x373a3c[_0x2d9293(0x3c1)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)]}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['INSERT'],'op':_0x80e613['redo'],'objects':_0x80e613[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4[_0x2d9293(0x3b5)],'op':_0x373a3c[_0x2d9293(0x16e)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x2e8)],'op':_0x80e613['undo'],'objects':_0x80e613['objects']}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)]}}]};}}[_0x5d1a27(0x1dc)](_0x10bfcd,_0x2bb0b6){const _0x42822e=_0x5d1a27;let {toUnitId:_0x2a12d2,toSubUnitId:_0x524874,drawing:_0x48befe,newTransforms:_0xdc912f}=_0x10bfcd,_0xbe8213=_0x23f566(),_0x5186e6={..._0x48befe,'unitId':_0x2a12d2,'subUnitId':_0x524874,'drawingId':_0xbe8213,'transform':_0xdc912f[_0x42822e(0x31c)],'sheetTransform':_0xdc912f[_0x42822e(0x3c9)]},{redo:_0x90caeb,undo:_0x186aed,objects:_0x402573}=this[_0x42822e(0x296)]['getBatchAddOp']([_0x5186e6]),_0x379940=this['_sheetsChartService'][_0x42822e(0x34a)](_0x2bb0b6['id']);if(!_0x379940)return{'redos':[],'undos':[]};let {chartType:_0x4495c1,context:_0x57c980,style:_0x4ffd2a,dataAggregation:_0xf3c09b}=_0x2bb0b6[_0x42822e(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4['INSERT'],'op':_0x90caeb,'objects':_0x402573}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213,'chartType':_0x4495c1,..._0x1d8687(_0x379940),'context':_0x57c980,'style':_0x4ffd2a,'dataAggregation':_0xf3c09b}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4[_0x42822e(0x2e8)],'op':_0x186aed,'objects':_0x402573}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213}}]};}[_0x5d1a27(0x2e1)](_0x4193f5,_0x54b4a4,_0x1f9966){const _0x1561fc=_0x5d1a27;let {range:_0x10eecd,skeleton:_0x14660b}=_0x54b4a4,{range:_0x1f6912,skeleton:_0x28a3b4}=_0x1f9966,{transform:_0x542698,sheetTransform:_0x553e2a}=_0x4193f5,_0x54bdcb={..._0x542698};if(_0x10eecd){let _0x58eac9=_0x57f3f4(_0x14660b,_0x10eecd),_0x3cc4ae=_0x57f3f4(_0x28a3b4,_0x1f6912);if(_0x58eac9&&_0x3cc4ae){let _0x2f6c28=_0x3cc4ae[_0x1561fc(0x12d)]-_0x58eac9[_0x1561fc(0x12d)],_0x4b76c9=_0x3cc4ae['startY']-_0x58eac9[_0x1561fc(0x2f5)];_0x54bdcb[_0x1561fc(0x290)]=(_0x54bdcb[_0x1561fc(0x290)]??0x0)+_0x2f6c28,_0x54bdcb[_0x1561fc(0x2c0)]=(_0x54bdcb[_0x1561fc(0x2c0)]??0x0)+_0x4b76c9;}}else{let _0x1df664=_0x57f3f4(_0x28a3b4,_0x1f6912);_0x54bdcb[_0x1561fc(0x290)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x12d)],_0x54bdcb[_0x1561fc(0x2c0)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x2f5)];}return{'transform':_0x54bdcb,'sheetTransform':_0x38630f(_0x54bdcb,_0x28a3b4)??_0x553e2a};}};qi=K([G(0x0,_0x233312(_0x5f5b10)),G(0x1,_0x233312(_0x48255a)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],qi);let Ji=class extends _0x23a464{constructor(_0x4208d8,_0x575892,_0xb87fab,_0x1cb9aa){const _0x50d4b4=_0x5d1a27;super(),this[_0x50d4b4(0x3c7)]=_0x4208d8,this[_0x50d4b4(0x166)]=_0x575892,this[_0x50d4b4(0x311)]=_0xb87fab,this['_sheetsChartService']=_0x1cb9aa,this[_0x50d4b4(0x3cc)]();}[_0x5d1a27(0x3cc)](){const _0x26ed8a=_0x5d1a27;this[_0x26ed8a(0x27a)](this['_commandService']['beforeCommandExecuted'](_0x54fd4a=>{const _0x3c9dfc=_0x26ed8a;let _0x2e279d,_0x3825bc;if(_0x54fd4a['id']===_0x6ba0fd['id']){let _0x50e304=_0x54fd4a['params'];_0x2e279d=_0x50e304[_0x3c9dfc(0x1b7)],_0x3825bc=_0x50e304['subUnitId'];}else{if(_0x54fd4a['id']===_0x459ce1['id']||_0x54fd4a['id']===_0x38e7ef['id']){let _0x18267b=_0x54fd4a[_0x3c9dfc(0x398)];_0x2e279d=_0x18267b[_0x3c9dfc(0x1b7)],_0x3825bc=this[_0x3c9dfc(0x1f9)]['getSubUnitId'](_0x18267b[_0x3c9dfc(0x1b7)],_0x18267b[_0x3c9dfc(0x151)]);}}_0x2e279d&&_0x3825bc&&(this['_sheetPermissionCheckController'][_0x3c9dfc(0x22a)]({'workbookTypes':[_0x467779],'worksheetTypes':[_0x311452]},_0x2e279d,_0x3825bc)||this[_0x3c9dfc(0x311)][_0x3c9dfc(0x1de)](this[_0x3c9dfc(0x166)]['t'](_0x3c9dfc(0x12a))));}));}};Ji=K([G(0x0,_0x233312(_0x23023c)),G(0x1,_0x233312(_0x2365aa)),G(0x2,_0x233312(_0x5672ce)),G(0x3,_0x233312(_0x45f46e))],Ji);let Z=class extends _0x23a464{constructor(_0x209e2e,_0x102e16){const _0x2f3b65=_0x5d1a27;super(),this['_renderService']=_0x102e16,this[_0x2f3b65(0x27a)](_0x209e2e[_0x2f3b65(0x233)](this));}[_0x5d1a27(0x22f)](_0x5a9495){const _0x142e66=_0x5d1a27;return _0x142e66(0x1b7)in _0x5a9495&&'subUnitId'in _0x5a9495;}['exportImage'](_0x4ea67c,_0x7f7e2){const _0x52d504=_0x5d1a27;return this[_0x52d504(0x2c9)]['exportImage'](_0x4ea67c[_0x52d504(0x397)](),_0x7f7e2);}};Z=K([G(0x0,_0x233312(_0x5e98c4)),G(0x1,_0x233312(q))],Z);let Q=class extends _0x48bc1a{constructor(_0x355b8f=wr,_0x96b64c,_0x233087,_0x11070b){const _0x420905=_0x5d1a27;super(),this['_config']=_0x355b8f,this[_0x420905(0x305)]=_0x96b64c,this[_0x420905(0x1d2)]=_0x233087,this[_0x420905(0x3c7)]=_0x11070b;let {..._0x5b25e9}=_0x11f8eb({},wr,this['_config']);this['_configService'][_0x420905(0x154)](Cr,_0x5b25e9),this[_0x420905(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x271dbc=_0x5d1a27;let _0xba615f=[[Gi],[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ki],[X],[Ni],[qi],[zi],[Ji]],_0x2509e6=[[Gi],[Ki],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];_0xba615f[_0x271dbc(0x1e0)](_0x2a9e35=>this['_injector']['add'](_0x2a9e35)),_0x5b8a57(this[_0x271dbc(0x305)],_0x2509e6);}[_0x5d1a27(0x328)](){const _0x4ead84=_0x5d1a27;var _0x2cb75e;(_0x2cb75e=this['_injector'][_0x4ead84(0x3a6)](Ki))==null||_0x2cb75e[_0x4ead84(0x3e2)]();}[_0x5d1a27(0x125)](){const _0x266d10=_0x5d1a27;[H,V][_0x266d10(0x1e0)](_0x1e7aaa=>this[_0x266d10(0x27a)](this[_0x266d10(0x3c7)][_0x266d10(0x180)](_0x1e7aaa)));}};U(Q,'type',_0x2a3654[_0x5d1a27(0x1d7)]),U(Q,_0x5d1a27(0x255),_0x5d1a27(0x11d)),U(Q,_0x5d1a27(0x280),ji),U(Q,'version',Mi),Q=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0xd0b56d,_0x5a4ecb,_0x559b0f,_0x479d7b,_0x3593c7),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],Q);const Yi={'scaleX':0x1,'scaleY':0x1};function Xi(_0xa1465){let _0x290c73=_0xa1465['nativeEvent'];return _0x290c73 instanceof MouseEvent?_0x290c73:void 0x0;}function Zi(_0x3ac1c9){const _0x5647f9=_0x5d1a27;let _0x30e82c=_0x3ac1c9[_0x5647f9(0x2a9)],_0x76325=_0x30e82c==null?void 0x0:_0x30e82c[_0x5647f9(0x2cb)];return _0x76325 instanceof Element?_0x76325:void 0x0;}function Qi(_0x3894e3){const _0x7fc1c2=_0x5d1a27;var _0x514511;return(_0x514511=Zi(_0x3894e3))==null?void 0x0:_0x514511[_0x7fc1c2(0x2fb)]();}function $i(_0x2c76f7){const _0x115d1d=_0x5d1a27;return _0x2c76f7[_0x115d1d(0x175)]||_0x2c76f7[_0x115d1d(0x135)]-_0x2c76f7[_0x115d1d(0x290)];}function ea(_0xf6718a){const _0x4200db=_0x5d1a27;return _0xf6718a['height']||_0xf6718a[_0x4200db(0x1a8)]-_0xf6718a[_0x4200db(0x2c0)];}function ta(_0x232dd3,_0x4838d8){const _0x467205=_0x5d1a27;let _0x337f42=_0x232dd3[_0x467205(0x201)]||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x19e)]:0x0),_0x41b66d=_0x232dd3['clientHeight']||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x390)]:0x0),_0x5b0acd=$i(_0x4838d8),_0x321089=ea(_0x4838d8);return{'scaleX':_0x337f42>0x0&&_0x5b0acd>0x0?_0x5b0acd/_0x337f42:Yi[_0x467205(0x39a)],'scaleY':_0x41b66d>0x0&&_0x321089>0x0?_0x321089/_0x41b66d:Yi[_0x467205(0x3e4)]};}function na(_0x196843,_0x47270c,_0x537f4e){const _0x268328=_0x5d1a27;return{'left':_0x196843[_0x268328(0x290)]+_0x47270c[_0x268328(0x290)]*_0x537f4e[_0x268328(0x39a)],'right':_0x196843['left']+_0x47270c[_0x268328(0x135)]*_0x537f4e[_0x268328(0x39a)],'top':_0x196843['top']+_0x47270c[_0x268328(0x2c0)]*_0x537f4e['scaleY'],'bottom':_0x196843['top']+_0x47270c[_0x268328(0x1a8)]*_0x537f4e[_0x268328(0x3e4)]};}function ra(_0x1ca010){const _0x4187de=_0x5d1a27;let _0x39c649=Zi(_0x1ca010),_0x19fe0b=_0x1ca010[_0x4187de(0x31a)][_0x4187de(0x11c)];if(_0x39c649&&_0x19fe0b){let _0x4d533d=_0x39c649['getBoundingClientRect']();return()=>{const _0x103da1=_0x4187de;let _0x4ea136=_0x39c649[_0x103da1(0x2fb)]();return(_0x39c649[_0x103da1(0x254)]||$i(_0x4ea136)>0x0||ea(_0x4ea136)>0x0)&&(_0x4d533d=_0x4ea136),na(_0x4d533d,_0x19fe0b,ta(_0x39c649,_0x4d533d));};}return()=>{const _0x4bc8fe=_0x4187de;let _0x224fe5=Qi(_0x1ca010);if(_0x224fe5&&_0x19fe0b)return na(_0x224fe5,_0x19fe0b,_0x39c649?ta(_0x39c649,_0x224fe5):Yi);let _0x9713ea=Xi(_0x1ca010),_0x221fd3=_0x39c649&&_0x224fe5?ta(_0x39c649,_0x224fe5):Yi,_0xc7bad6=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x13d)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x290)]+_0x1ca010[_0x4bc8fe(0x1af)]['x']*_0x221fd3[_0x4bc8fe(0x39a)]:_0x1ca010[_0x4bc8fe(0x1af)]['x']),_0xeb927f=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x153)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x2c0)]+_0x1ca010[_0x4bc8fe(0x1af)]['y']*_0x221fd3[_0x4bc8fe(0x3e4)]:_0x1ca010['localPoint']['y']);return{'left':_0xc7bad6,'right':_0xc7bad6+0x1,'top':_0xeb927f,'bottom':_0xeb927f+0x1};};}function ia(_0x2e6543){return typeof _0x2e6543=='number'&&Number['isFinite'](_0x2e6543);}function aa(_0xb79097){if(!_0xb79097||typeof _0xb79097!='object')return!0x0;let {startX:_0x5241ea,endX:_0x6691c3,startY:_0xc2483b,endY:_0x29f2e9}=_0xb79097;return!ia(_0x5241ea)||!ia(_0x6691c3)||!ia(_0xc2483b)||!ia(_0x29f2e9)||_0x6691c3-_0x5241ea>0x2&&_0x29f2e9-_0xc2483b>0x2;}function oa(_0x1866d9){const _0x536688=_0x5d1a27;return _0x1866d9[_0x536688(0x135)]<=_0x1866d9[_0x536688(0x290)]||_0x1866d9[_0x536688(0x1a8)]<=_0x1866d9[_0x536688(0x2c0)]?!0x1:typeof window>'u'||_0x1866d9[_0x536688(0x135)]>0x0&&_0x1866d9[_0x536688(0x1a8)]>0x0&&_0x1866d9[_0x536688(0x290)]<window[_0x536688(0x17c)]&&_0x1866d9[_0x536688(0x2c0)]<window[_0x536688(0x1f0)];}function sa(_0x3912e7){const _0x13f2a3=_0x5d1a27;var _0xf08aad;return _0x3912e7==null||(_0xf08aad=_0x3912e7[_0x13f2a3(0x194)])==null?void 0x0:_0xf08aad[_0x13f2a3(0x172)](_0x3912e7);}function ca(_0x5084bc,_0x2fe628,_0x4334a0){const _0x335b43=_0x5d1a27;let _0x9fc8e9=ra(_0x5084bc),_0x7eeb5=sa(_0x2fe628),_0x2af830=_0x9fc8e9(),_0x22ecbb=new _0x36066b(_0x2af830),_0x14335d=new _0x396c56(),_0x3a55f9=!0x1,_0x298f3f=!0x1,_0x280fec=_0x2ab23d=>aa(_0x7eeb5)&&oa(_0x2ab23d),_0x5e04cf=()=>{_0x298f3f||_0x3a55f9||(_0x298f3f=!0x0,queueMicrotask(()=>{const _0x131a6c=_0x14cc;if(_0x298f3f=!0x1,!_0x3a55f9){let _0x293ca5=_0x9fc8e9();if(!_0x280fec(_0x293ca5)){_0x4334a0();return;}_0x22ecbb[_0x131a6c(0x2db)](_0x293ca5);}}));};return _0x2fe628&&_0x14335d[_0x335b43(0x248)](_0x2fe628[_0x335b43(0x3d5)](_0x51bf98=>{_0x7eeb5=_0x51bf98,_0x5e04cf();})),typeof window<'u'&&_0x14335d['add'](_0x1ef318(_0x320bfe(window,_0x335b43(0x3e6),{'capture':!0x0}),_0x320bfe(window,_0x335b43(0x183)))[_0x335b43(0x186)](_0xff450d(0x10))['subscribe'](_0x5e04cf)),{'initialRect':_0x2af830,'anchorRect$':_0x22ecbb[_0x335b43(0x1cb)](),'visible':_0x280fec(_0x2af830),'dispose':()=>{const _0x72e260=_0x335b43;_0x3a55f9=!0x0,_0x14335d[_0x72e260(0x33d)](),_0x22ecbb[_0x72e260(0x293)]();}};}const la=_0x5d1a27(0x1cf);let ua=class extends _0x23a464{constructor(_0x5a7c0b,_0x283999,_0x2845bd,_0x415dd1,_0x4c75a2,_0x26e1d1,_0x44c891,_0x59c6af,_0x480b7b){const _0x173107=_0x5d1a27;super(),this[_0x173107(0x2aa)]=_0x5a7c0b,this[_0x173107(0x214)]=_0x283999,this[_0x173107(0x22b)]=_0x2845bd,this[_0x173107(0x3b1)]=_0x415dd1,this['_sheetCanvasFloatDomManagerService']=_0x4c75a2,this[_0x173107(0x1b8)]=_0x26e1d1,this[_0x173107(0x1bd)]=_0x44c891,this['_commandService']=_0x59c6af,this[_0x173107(0x305)]=_0x480b7b,U(this,_0x173107(0x3e3),null),U(this,_0x173107(0x247),null),U(this,_0x173107(0x23d),null),this['_registerAdapter'](),this['_subscribeChartEvents']();}[_0x5d1a27(0x33d)](){const _0x1eed79=_0x5d1a27;this[_0x1eed79(0x123)](),super['dispose']();}[_0x5d1a27(0x3bf)](){const _0xd3593a=_0x5d1a27;let _0x5b3488=_0x32b76b({'chartUIService':this[_0xd3593a(0x1b8)],'getHostAdapter':_0x411f85=>{const _0x5e99bf=_0xd3593a;let _0x2896ad=this[_0x5e99bf(0x2aa)]['getChartModel'](_0x411f85[_0x5e99bf(0x191)]);if(_0x2896ad&&_0x411f85[_0x5e99bf(0x2b4)])return new _0x21eaab(_0x2896ad,new _0x467243({'unitId':_0x411f85[_0x5e99bf(0x1b7)],'subUnitId':_0x411f85[_0x5e99bf(0x2b4)],'chartId':_0x411f85[_0x5e99bf(0x191)],'injector':this[_0x5e99bf(0x305)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x286131=>{const _0x4bdf57=_0xd3593a;let {unitId:_0x19462f,subUnitId:_0xb1b77b,drawingId:_0x1f6a8a,chartId:_0x24eb35}=_0x286131,_0x106480=_0x2ab4ba(_0x286131[_0x4bdf57(0x2cb)]);this['_commandService'][_0x4bdf57(0x2de)](V['id'],{'unitId':_0x19462f,'subUnitId':_0xb1b77b??'','drawingId':_0x1f6a8a??_0x24eb35,..._0x106480?{'route':_0x106480}:{}});}});this[_0xd3593a(0x27a)](this[_0xd3593a(0x1bd)][_0xd3593a(0x233)](la,_0x5b3488));}[_0x5d1a27(0x2ec)](){const _0x46ea0a=_0x5d1a27;this['disposeWithMe'](this[_0x46ea0a(0x2aa)][_0x46ea0a(0x3d1)]['subscribe'](_0x13adec=>{const _0x4fbc9a=_0x46ea0a;let _0x44c317=new _0x396c56();_0x44c317['add'](this[_0x4fbc9a(0x214)]['on'](_0x13adec['id'],_0x4fbc9a(0x23f),_0x4b3bae=>{const _0x3b1f41=_0x4fbc9a;this[_0x3b1f41(0x336)](_0x13adec['id'],_0x4b3bae);})),_0x44c317['add'](this['_chartRenderService']['on'](_0x13adec['id'],'dblclick',()=>{const _0x3008b6=_0x4fbc9a;this[_0x3008b6(0x29c)](_0x13adec['id']);})),_0x13adec['onDispose'](()=>{const _0x5ca524=_0x4fbc9a;_0x44c317[_0x5ca524(0x33d)](),this[_0x5ca524(0x36d)](_0x13adec['id']);}),this[_0x4fbc9a(0x27a)](_0x44c317);})),this[_0x46ea0a(0x27a)](_0x276a93([this[_0x46ea0a(0x2aa)]['activeChartModel$'],this[_0x46ea0a(0x1b8)][_0x46ea0a(0x26d)]])['subscribe'](([_0x3e49ef,_0x42faf2])=>{const _0x5751e8=_0x46ea0a;(!_0x42faf2||this[_0x5751e8(0x247)]&&(_0x3e49ef==null?void 0x0:_0x3e49ef['id'])!==this['_popupChartId'])&&this['_closePopup']();})),this[_0x46ea0a(0x27a)](this[_0x46ea0a(0x11a)][_0x46ea0a(0x22e)][_0x46ea0a(0x3d5)](({id:_0x5d7b56})=>{const _0x37aff2=_0x46ea0a;this[_0x37aff2(0x36d)](_0x5d7b56);})),this[_0x46ea0a(0x27a)](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x46ea0a(0x3d5)](({id:_0x5d7db8})=>{this['_clearSelectedTarget'](_0x5d7db8);})),this[_0x46ea0a(0x27a)](this['_chartHostProvider']['removeHost$'][_0x46ea0a(0x3d5)](_0x1bd1b3=>{this['_clearSelectedTarget'](_0x1bd1b3);}));}[_0x5d1a27(0x29c)](_0x1e25d3){const _0x4e5490=_0x5d1a27;if(this['_chartUIService'][_0x4e5490(0x380)])return;let _0x23d589=this[_0x4e5490(0x2aa)][_0x4e5490(0x1ce)](_0x1e25d3),_0x4ccfc0=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1e25d3);_0x23d589&&_0x4ccfc0&&this[_0x4e5490(0x3c7)]['executeCommand'](V['id'],{'unitId':_0x4ccfc0[_0x4e5490(0x1b7)],'subUnitId':_0x4ccfc0[_0x4e5490(0x2b4)]??'','drawingId':_0x1e25d3});}[_0x5d1a27(0x336)](_0x3c5fc8,_0x56e635){const _0x430b3d=_0x5d1a27;if(!this[_0x430b3d(0x1b8)][_0x430b3d(0x169)](_0x3c5fc8))return;let _0x257e33=this[_0x430b3d(0x2aa)][_0x430b3d(0x1ce)](_0x3c5fc8),_0x40c8e9=_0x257e33?Kr(_0x257e33,_0x56e635[_0x430b3d(0x31a)]):void 0x0;if(!_0x40c8e9){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0x2173dd=this[_0x430b3d(0x11a)][_0x430b3d(0x177)](_0x3c5fc8);if(!_0x257e33||!_0x2173dd){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0xe02dc1=JSON[_0x430b3d(0x195)]([_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)],_0x3c5fc8,_0x40c8e9[_0x430b3d(0x2cb)]]);if(this[_0x430b3d(0x3e3)]&&this[_0x430b3d(0x23d)]===_0xe02dc1||(this[_0x430b3d(0x1b8)][_0x430b3d(0x1c9)](_0x3c5fc8,_0x40c8e9[_0x430b3d(0x204)]),this['_closePopup'](),!_0x40c8e9[_0x430b3d(0x2ba)]))return;let _0x222e73=ca(_0x56e635,_0x2173dd['position$'],()=>this[_0x430b3d(0x269)](_0x3c5fc8));if(!_0x222e73[_0x430b3d(0x268)]){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x5bd492=this[_0x430b3d(0x3b1)][_0x430b3d(0x1e7)](_0x222e73[_0x430b3d(0x267)],_0x222e73[_0x430b3d(0x18e)],{'componentKey':_0x1ac861,'constrainToCanvas':!0x0,'direction':_0x430b3d(0x3d0),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2173dd[_0x430b3d(0x1b7)],'subUnitId':_0x2173dd[_0x430b3d(0x2b4)],'chartId':_0x3c5fc8,'drawingId':_0x3c5fc8,'element':_0x56e635['hit'],'target':_0x40c8e9[_0x430b3d(0x2cb)],'adapterKey':la}},_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)])??null;if(!_0x5bd492){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x40dca0=new _0x396c56();_0x40dca0[_0x430b3d(0x248)](_0x5bd492),_0x40dca0['add'](_0x222e73),this[_0x430b3d(0x3e3)]=_0x40dca0,this['_popupChartId']=_0x3c5fc8,this[_0x430b3d(0x23d)]=_0xe02dc1;}[_0x5d1a27(0x123)](){const _0x3eb48b=_0x5d1a27;var _0x4d7602;(_0x4d7602=this[_0x3eb48b(0x3e3)])==null||_0x4d7602[_0x3eb48b(0x33d)](),this[_0x3eb48b(0x3e3)]=null,this[_0x3eb48b(0x247)]=null,this[_0x3eb48b(0x23d)]=null;}[_0x5d1a27(0x36d)](_0x51c87c){const _0x2c65c7=_0x5d1a27;(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x169)](_0x51c87c)||this[_0x2c65c7(0x247)]===_0x51c87c)&&(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x202)](),this['_popupChartId']===_0x51c87c&&this[_0x2c65c7(0x123)]());}[_0x5d1a27(0x269)](_0x512a0a){const _0x1afd20=_0x5d1a27;this[_0x1afd20(0x36d)](_0x512a0a),this[_0x1afd20(0x1b8)]['isElementEditModeActive'](_0x512a0a)&&(this[_0x1afd20(0x214)][_0x1afd20(0x318)](_0x512a0a,!0x1),this[_0x1afd20(0x214)]['setElementEditMode'](_0x512a0a,!0x0));}};ua=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,fi),G(0x3,_0x233312(_0x1ac4ba)),G(0x4,_0x233312(_0x1cd243)),G(0x5,J),G(0x6,_0x233312(_0x4222e1)),G(0x7,_0x23023c),G(0x8,_0x233312(_0x26189f))],ua);let da=class extends _0x23a464{constructor(_0x504c23,_0xd49bcb){const _0x867c8f=_0x5d1a27;super(),this[_0x867c8f(0x1f6)]=_0x504c23,this[_0x867c8f(0x13f)]=_0xd49bcb,this[_0x867c8f(0x370)](),this[_0x867c8f(0x314)]();}[_0x5d1a27(0x370)](){const _0x8427ff=_0x5d1a27;this[_0x8427ff(0x27a)](this[_0x8427ff(0x13f)][_0x8427ff(0x233)]({'PenIcon':_0x54e35}));}['_registerComponents'](){[[Ti,wi]]['forEach'](([_0x407070,_0x2acc82])=>{const _0x449dba=_0x14cc;this[_0x449dba(0x27a)](this['_componentManager']['register'](_0x407070,_0x2acc82));});}};da=K([G(0x0,_0x233312(_0x59c972)),G(0x1,_0x233312(_0x448b57))],da);let $=class extends _0x48bc1a{constructor(_0x19f4e3=wr,_0xd00b1,_0x3564f9,_0x3230c4){const _0x4be0dc=_0x5d1a27;super(),this[_0x4be0dc(0x199)]=_0x19f4e3,this['_injector']=_0xd00b1,this['_configService']=_0x3564f9,this[_0x4be0dc(0x3c7)]=_0x3230c4,U(this,'_resolvedConfig',void 0x0);let {..._0x2375ee}=_0x11f8eb({},wr,this[_0x4be0dc(0x199)]);this[_0x4be0dc(0x2b3)]=_0x2375ee,this[_0x4be0dc(0x1d2)][_0x4be0dc(0x154)](Cr,_0x2375ee),this[_0x4be0dc(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x54ca65=_0x5d1a27;this[_0x54ca65(0x305)][_0x54ca65(0x248)]([da]),this[_0x54ca65(0x305)][_0x54ca65(0x3a6)](da);let _0x63f4c=this[_0x54ca65(0x305)],_0x3531cc=[[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ai],[X],[Ni],[qi],[zi],[Ji]],_0x5007e1=[[Ai],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];this[_0x54ca65(0x2b3)][_0x54ca65(0x245)]&&(_0x3531cc['push']([ua]),_0x5007e1['push']([ua])),_0x3531cc['forEach'](_0x5b699d=>_0x63f4c[_0x54ca65(0x248)](_0x5b699d)),_0x5b8a57(this[_0x54ca65(0x305)],_0x5007e1);}[_0x5d1a27(0x328)](){const _0x5c25c9=_0x5d1a27;var _0x4c3b38;(_0x4c3b38=this[_0x5c25c9(0x305)][_0x5c25c9(0x3a6)](Ai))==null||_0x4c3b38['initPanel']();}[_0x5d1a27(0x125)](){const _0x4a6ad5=_0x5d1a27;[H,Or,kr,Ar,jr,V,Tr][_0x4a6ad5(0x1e0)](_0x3703a9=>this['disposeWithMe'](this[_0x4a6ad5(0x3c7)]['registerCommand'](_0x3703a9)));}};U($,'type',_0x2a3654['UNIVER_SHEET']),U($,_0x5d1a27(0x255),'UniverSheetsChartUIPlugin'),U($,_0x5d1a27(0x280),ji),U($,'version',Mi),$=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0x5af706,_0x5a4ecb,_0x4e1419,_0x43225f),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],$);export{V as ChartOpenPanelOperation,q as ChartRenderService,J as ISheetsChartUIService,Cr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Ai as SheetsChartUIController,Ur as SheetsChartUIMenuSchema,gi as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,ca as createChartElementPopupAnchorObserver};
|
|
1
|
+
const _0x69a5c7=_0x20d6;(function(_0x2b3d9a,_0x5bd475){const _0x279198=_0x20d6,_0x475286=_0x2b3d9a();while(!![]){try{const _0x59d28c=-parseInt(_0x279198(0x2c1))/0x1+-parseInt(_0x279198(0x2e4))/0x2*(-parseInt(_0x279198(0x275))/0x3)+-parseInt(_0x279198(0x2aa))/0x4*(parseInt(_0x279198(0x47a))/0x5)+-parseInt(_0x279198(0x450))/0x6+parseInt(_0x279198(0x407))/0x7+-parseInt(_0x279198(0x3cd))/0x8*(parseInt(_0x279198(0x329))/0x9)+parseInt(_0x279198(0x3ca))/0xa;if(_0x59d28c===_0x5bd475)break;else _0x475286['push'](_0x475286['shift']());}catch(_0x24d971){_0x475286['push'](_0x475286['shift']());}}}(_0xfb25,0x3e75b));import{CommandType as _0x2dc398,DependentOn as _0x29ad3a,Disposable as _0x5f44fb,DisposableCollection as _0x2ae904,DrawingTypeEnum as _0x56b014,FOCUSING_COMMON_DRAWINGS as _0x23d889,FOCUSING_PANEL_EDITOR as _0x2d0220,ICommandService as _0xb35996,IConfigService as _0x250254,IContextService as _0x3387ab,IUniverInstanceService as _0x1534cf,Inject as _0x345df3,Injector as _0x21bd92,LocaleService as _0x332fea,Plugin as _0x5a6cd9,ThemeService as _0x596b6e,UniverInstanceType as _0x3cb846,createIdentifier as _0x2e14a3,debounce as _0x32b3ce,generateRandomId as _0x202a60,isValidRange as _0x409d0d,merge as _0x43ed0f,numberToABC as _0x29488d,toDisposable as _0x354ba0,touchDependencies as _0x13e92b}from'@univerjs/core';import{ChartModelService as _0xfc5243,ChartUpdateConfigCommand as _0x2ebcde,ChartUpdateConfigMutation as _0x2147c7,ChartUpdateSourceCommand as _0x50e31b,InsertChartCommand as _0x5a5e08,InsertSheetsChartMutation as _0x1af921,RemoveSheetsChartMutation as _0x3c244d,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x4c1a80,SHEETS_CHART_PLUGIN_NAME as _0x112fc2,SheetChartConfigAdapter as _0x3bea97,SheetsChartService as _0x186c61,UniverSheetsChartPlugin as _0x222f25,getAllowedChartTypes as _0x119e1e,toInsertChartMutationSource as _0x270522}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x6f6e55,UniverDrawingPlugin as _0x5660da,getDrawingShapeKeyByDrawingSearch as _0x558e11,getOrCreateDrawingCopyPlan as _0x469840}from'@univerjs/drawing';import{DrawingApplyType as _0x51d5ba,ISheetDrawingService as _0x1ae351,RemoveSheetDrawingCommand as _0xa337c1,SetDrawingApplyMutation as _0x558242,UniverSheetsDrawingPlugin as _0x4da14f,transformToDrawingPosition as _0x3fe23c}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x235aca,SheetCanvasFloatDomManagerService as _0x5a2ef7,SheetDrawingHitTestService as _0x57df2c,UniverSheetsDrawingMobileUIPlugin as _0x4372aa,UniverSheetsDrawingUIPlugin as _0x1ad69a}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x2edb47,ISheetClipboardService as _0x917367,PREDEFINED_HOOK_NAME as _0x1ff07e,SheetCanvasPopManagerService as _0xd20d74,SheetCopyCommand as _0x19a0dd,SheetPrintInterceptorService as _0x24e67d,SheetSkeletonManagerService as _0x3b1fb0,UniverSheetsMobileUIPlugin as _0x50420e,UniverSheetsUIPlugin as _0x5dca7f,deriveStateFromActiveSheet$ as _0x204fe4,getCurrentRangeDisable$ as _0x11f8e3}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x9fa0b5,ComponentManager as _0x78a75,ContextMenuGroup as _0x2998c7,ContextMenuPosition as _0x1b52d1,IMenuManagerService as _0x31d4ae,ISidebarService as _0x147114,IconManager as _0x1e722e,KeyCode as _0x26f9ff,MenuItemType as _0x289a88,NativeTextEditorShortcutBehavior as _0x958064,RibbonInsertGroup as _0x15dc3c,UniverMobileUIPlugin as _0x3e8082,getMenuHiddenObservable as _0x4a35db,useDependency as _0x29d6b7,useObservable as _0x293efe}from'@univerjs/ui';import{BehaviorSubject as _0x4b7bf6,Observable as _0xd8e52b,Subject as _0x8138ee,combineLatest as _0x491efe,combineLatestWith as _0x3f98ea,debounceTime as _0x5117d2,distinctUntilChanged as _0x4ad411,filter as _0x501dd5,fromEvent as _0x528341,map as _0x398f6c,merge as _0x597287,pairwise as _0x3861e1,skip as _0x1b1665,startWith as _0x453064,switchMap as _0x3c1160,take as _0x11684a,throttleTime as _0x3de94d,withLatestFrom as _0x17c793}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x4a8725,CHART_HOST_BORDER_RADIUS as _0x2b1964,CHART_TYPE_CATALOG as _0x28af22,ChartAxisSection as _0x511d6a,ChartDomFrame as _0x3fc8d5,ChartEditBlockTitle as _0x33cfc0,ChartEditPanelSection as _0x189941,ChartEditPanelTab as _0x1f97c4,ChartEditorCapability as _0x2b2428,ChartEditorProvider as _0xbe9ad0,ChartEditorTabs as _0x2aef1e,ChartElementFloatMenuAdapterRegistry as _0x39aee3,ChartFrameContentMode as _0x46d290,ChartFrameLayout as _0x45f261,ChartFunnelStyleSection as _0x15c403,ChartGridlinesAndTicksSection as _0x4f0962,ChartHeatmapStyleSection as _0x54df14,ChartHostAdapter as _0x68520,ChartImageExportService as _0x16b7e0,ChartIndicatorLineSection as _0x5188b5,ChartLegendSection as _0x52cf08,ChartLineAndAreaSection as _0x20f957,ChartNumberFormatAtom as _0x16c936,ChartParetoSeriesSection as _0x388c4c,ChartPieStyleSection as _0x4d83dd,ChartRadarStyleSection as _0x33c557,ChartRelationStyleSection as _0x3e4c84,ChartSectionAccordion as _0x305079,ChartSectionAccordionContent as _0x511db8,ChartSectionAccordionItem as _0x23cb6b,ChartSectionAccordionTrigger as _0x2305ff,ChartSeriesSection as _0x594dcf,ChartSetupPanel as _0x175816,ChartStyleSection as _0x933573,ChartThreeDSection as _0x3e41f1,ChartTitlesSection as _0x517690,ChartTrendlineSection as _0x37fa4b,ChartTypeSpecificStyleSection as _0x49c80e,ChartUIService as _0x1d0c18,ChartViewStateRegistry as _0x45f903,ChartWaterfallStyleSection as _0x5c7b23,ChartWordCloudStyleSection as _0x28e719,DEFAULT_CHART_AXIS_VALUES as _0x20a172,DEFAULT_CHART_FUNNEL_VALUES as _0x251037,DEFAULT_CHART_HEATMAP_VALUES as _0x1d78a8,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x5eae0d,DEFAULT_CHART_LEGEND_VALUES as _0x1eaeba,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x432b2b,DEFAULT_CHART_PARETO_VALUES as _0x5540c1,DEFAULT_CHART_PIE_VALUES as _0x183bbc,DEFAULT_CHART_RADAR_VALUES as _0x41c0bd,DEFAULT_CHART_RELATION_VALUES as _0x3ab465,DEFAULT_CHART_SERIES_VALUES as _0x333ef3,DEFAULT_CHART_STYLE_VALUES as _0x39d4a9,DEFAULT_CHART_TITLE_VALUES as _0x1b6863,DEFAULT_CHART_TRENDLINE_VALUES as _0x174c0d,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x58db5f,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x9f7cea,MobileChartEditorProvider as _0x19c27e,UniverChartMobileUIPlugin as _0xedd2d6,UniverChartUIPlugin as _0x4258cf,buildChartTypeSelectOptions as _0x2e6d09,chartTypeSupportsCapability as _0x348fa8,chartTypeSupportsLineAndAreaStyle as _0x23d2ec,createChartElementFloatMenuAdapter as _0x52faeb,resolveChartCreationIntent as _0x20751a,resolveChartEditPanelRoute as _0x14da42,resolveChartElementSelection as _0x5544c6,useChartEditorChartType as _0x16eed1,useChartEditorHasRightAxis as _0x3640db}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x27627e,ChartImageExportFormat as _0x38cf3f,ChartImageSourceType as _0x5c1e70,ChartRenderMode as _0x339cde,ChartSourceHeaderTitleType as _0x427e12,ChartThemeService as _0x56cc75,ChartTypeBits as _0x5c9c9b,ChartWaterfallStyleTarget as _0x165144,DataOrientation as _0x364c6a,EChartRenderEngineName as _0x22ce5a,IChartRenderModelManagerService as _0x4a6d3a,ImageChartHost as _0x29f4ac,PieSecondaryPlotType as _0x2191f5,RTLChartStyle as _0x497b2d,chartBitsUtils as _0x8e9e65,chartImageSourceToDataUrl as _0x2eb5b6,chartTypeCanUseTrendLine as _0x3af596,resolveChartRuntimeStyle as _0x3b9cac,resolveChartStyleBackgroundColor as _0xdd049b,resolveDefaultChartHostFrameStyle as _0x526b52}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x3e7429,RemoveSheetCommand as _0xa9c809,SheetInterceptorService as _0x60328a,SheetPermissionCheckController as _0x582ab5,SheetSkeletonService as _0x38e42c,SheetsSelectionsService as _0x358ca5,UniverSheetsPlugin as _0x404a8f,WorkbookEditablePermission as _0x49772b,WorksheetEditPermission as _0x42fea3,attachRangeWithCoord as _0x191702,discreteRangeToRange as _0x55eda6,getSheetCommandTarget as _0x1fa958}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x77b34e,matchToken as _0x477ba7,serializeRangeWithSheet as _0x2e0b70}from'@univerjs/engine-formula';import{insertGroupObject as _0x55d117}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x427904,IRenderManagerService as _0x3a5b98,ObjectType as _0x14842c,RENDER_CLASS_TYPE as _0x5059bd,Rect as _0x442b9f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x111a6e,Transform as _0x235067,UniverRenderEnginePlugin as _0x2e4d79}from'@univerjs/engine-render';import{useCallback as _0x16d356,useEffect as _0x434cb3,useMemo as _0x6c0456,useRef as _0x3ebae9,useState as _0x11eb2f}from'react';import{Button as _0x43a6c9,Checkbox as _0x134911}from'@univerjs/design';import{MobileRangeSelector as _0x5901f0,RangeSelector as _0x1f1e9d}from'@univerjs/sheets-formula-ui';import{Fragment as _0x4328e0,jsx as _0x39cd6c,jsxs as _0x1b1cd9}from'react/jsx-runtime';import{UniverLicensePlugin as _0x1820fc}from'@univerjs-pro/license';import{PenIcon as _0x1980bd}from'@univerjs/icons';const H={'type':_0x2dc398[_0x69a5c7(0x285)],'id':_0x69a5c7(0x472),'handler'(){return!0x0;}},Cr=_0x69a5c7(0x4b3),wr={'enableChartElementFloatMenu':!0x0},Tr={'type':_0x2dc398[_0x69a5c7(0x285)],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function Er(_0x12c814){const _0x2fffaa=_0x69a5c7;let _0x53f625=_0x12c814[_0x2fffaa(0x39d)](_0x1ae351)['getFocusDrawings']();if(_0x53f625[_0x2fffaa(0x44b)]!==0x1)return null;let _0x3c06a0=_0x53f625[0x0];return _0x3c06a0['drawingType']===_0x56b014[_0x2fffaa(0x464)]?_0x3c06a0:null;}function Dr(_0xd1de89,_0x50c872){const _0x5c6122=_0x69a5c7;let _0xe945ba=document['createElement']('a');_0xe945ba[_0x5c6122(0x355)]=_0xd1de89,_0xe945ba['download']=_0x50c872,_0xe945ba[_0x5c6122(0x306)]();}const Or={'id':'sheet.command.chart.open-focused-panel','type':_0x2dc398[_0x69a5c7(0x25d)],'handler':(_0x58205c,_0xc6bc3f)=>{const _0x49ac0b=_0x69a5c7;let _0x314af5=Er(_0x58205c);return _0x314af5?_0x58205c['get'](_0xb35996)[_0x49ac0b(0x37e)](H['id'],{'unitId':_0x314af5[_0x49ac0b(0x1ee)],'subUnitId':_0x314af5[_0x49ac0b(0x419)],'drawingId':_0x314af5[_0x49ac0b(0x3c1)],..._0xc6bc3f!=null&&_0xc6bc3f[_0x49ac0b(0x3a6)]?{'route':_0xc6bc3f['route']}:{}}):!0x1;}},kr={'id':_0x69a5c7(0x1f9),'type':_0x2dc398[_0x69a5c7(0x25d)],'handler':_0xca98e9=>Er(_0xca98e9)?_0xca98e9[_0x69a5c7(0x39d)](_0xb35996)[_0x69a5c7(0x37e)](_0x19a0dd['id']):!0x1},Ar={'id':_0x69a5c7(0x3d7),'type':_0x2dc398['COMMAND'],'handler':async _0xd1f046=>{const _0x21f712=_0x69a5c7;let _0xa0010b=Er(_0xd1f046);if(!_0xa0010b)return!0x1;let _0x232a1e=await _0xd1f046[_0x21f712(0x39d)](_0x16b7e0)[_0x21f712(0x352)]({'unitId':_0xa0010b[_0x21f712(0x1ee)],'subUnitId':_0xa0010b[_0x21f712(0x419)],'getId':()=>_0xa0010b[_0x21f712(0x3c1)]});return _0x232a1e?(Dr(_0x232a1e,_0xa0010b[_0x21f712(0x3c1)]+_0x21f712(0x41c)),!0x0):!0x1;}},jr={'id':_0x69a5c7(0x2b4),'type':_0x2dc398['COMMAND'],'handler':_0x4bffe2=>{const _0x376929=_0x69a5c7;let _0xfd933a=Er(_0x4bffe2);return _0xfd933a?_0x4bffe2[_0x376929(0x39d)](_0xb35996)[_0x376929(0x37e)](_0xa337c1['id'],{'unitId':_0xfd933a[_0x376929(0x1ee)],'drawings':[{'unitId':_0xfd933a['unitId'],'subUnitId':_0xfd933a[_0x376929(0x419)],'drawingId':_0xfd933a[_0x376929(0x3c1)],'drawingType':_0x56b014[_0x376929(0x464)]}]}):!0x1;}},U={'type':_0x2dc398[_0x69a5c7(0x25d)],'id':_0x69a5c7(0x431),'handler':async(_0x5bea40,_0x4f7838)=>{const _0x2a4948=_0x69a5c7;let _0xe2b6c8=_0x1fa958(_0x5bea40[_0x2a4948(0x39d)](_0x1534cf));if(!_0xe2b6c8)return!0x1;let _0x33893c=_0x5bea40[_0x2a4948(0x39d)](_0x358ca5)['getCurrentLastSelection']();if(!_0x33893c)return!0x1;let {range:_0x246c4f}=_0x33893c,_0x26ea6b=_0x5bea40[_0x2a4948(0x39d)](_0xb35996),{unitId:_0x406c17,subUnitId:_0xaf1823}=_0xe2b6c8,{pieSecondaryPlotType:_0x1d4c88,value:_0x70708e}=_0x4f7838,_0x56afac=_0x1d4c88!==void 0x0;if(_0x56afac&&(_0x70708e!==_0x5c9c9b[_0x2a4948(0x1e1)]||_0x1d4c88!==_0x2191f5[_0x2a4948(0x1e1)]&&_0x1d4c88!==_0x2191f5[_0x2a4948(0x2ff)]))return!0x1;let _0x3858a6=_0x56afac?_0x202a60():void 0x0;return _0x26ea6b[_0x2a4948(0x37e)](_0x5a5e08['id'],{'unitId':_0x406c17,'subUnitId':_0xaf1823,'chartType':_0x70708e,..._0x3858a6&&_0x1d4c88?{'chartId':_0x3858a6,'config':{'unitId':_0x406c17,'chartModelId':_0x3858a6,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x1d4c88}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x246c4f['unitId']??_0x406c17,'subUnitId':_0x246c4f['sheetId']??_0xaf1823,'range':_0x246c4f}}});}};function Mr(_0x2b621b,_0x3861a4){const _0x1c7af4=_0x69a5c7;if(_0x2b621b==null)return'';if(Array[_0x1c7af4(0x3c3)](_0x2b621b)){var _0x4b633f;let _0x4ae339=(_0x4b633f=_0x2b621b[0x0])==null?void 0x0:_0x4b633f[_0x1c7af4(0x4cc)];return _0x4ae339?Nr(_0x4ae339,_0x3861a4):'';}return Nr(_0x2b621b['rangeInfo'],_0x3861a4);}function Nr(_0x3cb05a,_0x27bc98){const _0x2cff25=_0x69a5c7;var _0x3cb053;let {unitId:_0x1d395a,subUnitId:_0x4370f4,range:_0x2cc6ce}=_0x3cb05a,_0x4da1b0=(_0x3cb053=_0x27bc98[_0x2cff25(0x49d)](_0x1d395a))==null?void 0x0:_0x3cb053[_0x2cff25(0x460)](_0x4370f4);if(!_0x4da1b0)return'';let _0x2203ec=_0x4da1b0[_0x2cff25(0x3e5)]();return _0x2e0b70(_0x2203ec,_0x2cc6ce);}const Pr=_0x28af22[_0x69a5c7(0x44e)](_0x5e89ce=>({'id':'id'in _0x5e89ce?_0x5e89ce['id']:void 0x0,'labelId':_0x5e89ce[_0x69a5c7(0x46e)],'pieSecondaryPlotType':_0x69a5c7(0x3e6)in _0x5e89ce?_0x5e89ce['pieSecondaryPlotType']:void 0x0,'value':_0x5e89ce['value'],'icon':_0x5e89ce['iconName']}));function Fr(_0x302ad5=Pr){const _0x25bc58=_0x69a5c7;return _0x302ad5[_0x25bc58(0x44e)](({id:_0x1d1d4e,icon:_0x36649b,value:_0x3c27c6})=>{const _0x38df54=_0x25bc58;let _0x4ca8e2=_0x20751a(_0x1d1d4e??String(_0x3c27c6)),_0x4ef2d8=_0x4ca8e2?{'value':_0x4ca8e2['chartType'],..._0x4ca8e2['pieSecondaryPlotType']?{'pieSecondaryPlotType':_0x4ca8e2[_0x38df54(0x3e6)]}:{}}:{'value':_0x3c27c6};return{'icon':_0x36649b,'value':_0x1d1d4e??_0x3c27c6,'params':_0x4ef2d8};});}const Ir=(_0x1da2d5,_0xd47976)=>{const _0x41d533=_0x69a5c7;if(_0xd47976['length']===0x1&&_0xd47976[0x0]==='all')return _0x1da2d5;if(_0xd47976['length']>0x1){let _0x545ff9=new Set();for(let _0x26a84e of _0xd47976)_0x545ff9[_0x41d533(0x337)](Number(_0x26a84e));return _0x1da2d5[_0x41d533(0x1de)](_0x5ef50f=>_0x545ff9[_0x41d533(0x29a)](_0x5ef50f[_0x41d533(0x305)]));}return[];};function Lr(_0x5f2066){const _0x61abbb=_0x69a5c7;let _0x14181a=_0x5f2066[_0x61abbb(0x39d)](_0x1534cf),_0x1ad844=_0x119e1e(_0x5f2066),_0x4ba70a=Ir(Pr[_0x61abbb(0x461)](),_0x1ad844),_0x540a4f=Fr(_0x4ba70a)[_0x61abbb(0x44e)]((_0x401e33,_0x13d0c0)=>({'icon':_0x401e33['icon'],'value':_0x401e33[_0x61abbb(0x305)],'params':_0x401e33[_0x61abbb(0x3cc)],'label':'sheets-chart-ui.chartTypes.'+_0x4ba70a[_0x13d0c0][_0x61abbb(0x46e)]}));return{'id':U['id'],'type':_0x289a88[_0x61abbb(0x2ea)],'selectionsCommandId':U['id'],'selections':_0x540a4f,'icon':_0x61abbb(0x3ee),'tooltip':'sheets-chart-ui.common.insertChart','activated$':_0x204fe4(_0x14181a,!0x1,()=>new _0xd8e52b(_0x26c487=>{const _0x345df8=_0x61abbb;_0x26c487[_0x345df8(0x2ab)](!0x1);})),'hidden$':_0x4a35db(_0x5f2066,_0x3cb846['UNIVER_SHEET']),'disabled$':_0x11f8e3(_0x5f2066)};}function Rr(_0x4c2bb5){const _0x2127a8=_0x69a5c7;let _0x4cd42d=_0x4c2bb5[_0x2127a8(0x39d)](_0x1ae351);return _0x4cd42d[_0x2127a8(0x43f)]['pipe'](_0x453064(_0x4cd42d[_0x2127a8(0x331)]()),_0x398f6c(()=>Er(_0x4c2bb5)==null));}function zr(_0x416edc){const _0x1bccb7=_0x69a5c7;return{'id':Or['id'],'commandId':Or['id'],'type':_0x289a88[_0x1bccb7(0x4a8)],'title':_0x416edc['get'](_0x332fea)['t']('sheets-chart-ui.common.openChartPanel'),'icon':_0x1bccb7(0x3a5),'hidden$':Rr(_0x416edc)};}function Br(_0x168f74){const _0x593e55=_0x69a5c7;return{'id':kr['id'],'commandId':kr['id'],'type':_0x289a88['BUTTON'],'title':_0x168f74[_0x593e55(0x39d)](_0x332fea)['t']('sheets-chart-ui.common.copy'),'icon':'CopyDoubleIcon','hidden$':Rr(_0x168f74)};}function Vr(_0x5311cb){const _0x4a1a4d=_0x69a5c7;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x289a88[_0x4a1a4d(0x4a8)],'title':_0x5311cb['get'](_0x332fea)['t'](_0x4a1a4d(0x4b8)),'icon':_0x4a1a4d(0x2af),'hidden$':Rr(_0x5311cb)};}function Hr(_0x1a5fb2){const _0x3d8b9a=_0x69a5c7;return{'id':jr['id'],'commandId':jr['id'],'type':_0x289a88[_0x3d8b9a(0x4a8)],'title':_0x1a5fb2[_0x3d8b9a(0x39d)](_0x332fea)['t'](_0x3d8b9a(0x490)),'icon':'DeleteIcon','hidden$':Rr(_0x1a5fb2)};}const Ur={[_0x15dc3c[_0x69a5c7(0x268)]]:{[U['id']]:{'order':0x4,'menuItemFactory':Lr}},[_0x1b52d1['DRAWING']]:{[_0x2998c7['OTHERS']]:{[Or['id']]:{'order':0x0,'menuItemFactory':zr},[kr['id']]:{'order':0x1,'menuItemFactory':Br},[Ar['id']]:{'order':0x3,'menuItemFactory':Vr},[jr['id']]:{'order':0x4,'menuItemFactory':Hr}}}};function Wr(_0x32ca10){const _0x19d905=_0x69a5c7;return _0x32ca10===_0x5c9c9b[_0x19d905(0x492)]||_0x32ca10===_0x5c9c9b[_0x19d905(0x4c4)]||_0x32ca10===_0x5c9c9b[_0x19d905(0x341)]||_0x8e9e65[_0x19d905(0x411)](_0x32ca10,_0x5c9c9b['Line'])||_0x8e9e65['baseOn'](_0x32ca10,_0x5c9c9b['Column'])||_0x8e9e65[_0x19d905(0x411)](_0x32ca10,_0x5c9c9b['Area'])||_0x8e9e65['baseOn'](_0x32ca10,_0x5c9c9b[_0x19d905(0x20c)]);}function Gr(_0x334bc9){const _0x4716a5=_0x69a5c7;return Wr(_0x334bc9)||_0x8e9e65[_0x4716a5(0x411)](_0x334bc9,_0x5c9c9b[_0x4716a5(0x1e1)])||_0x8e9e65[_0x4716a5(0x411)](_0x334bc9,_0x5c9c9b[_0x4716a5(0x31a)])||_0x8e9e65['baseOn'](_0x334bc9,_0x5c9c9b['Waterfall']);}function Kr(_0x16c463,_0x53e91a){const _0x672651=_0x69a5c7;let _0x2eea28=_0x5544c6(_0x16c463,_0x53e91a),_0x51ac1e=_0x2eea28?_0x14da42(_0x2eea28['target']):void 0x0;if(_0x2eea28&&_0x51ac1e)return{..._0x2eea28,'route':_0x51ac1e,'showFloatMenu':Gr(_0x16c463[_0x672651(0x24f)])&&_0x2eea28[_0x672651(0x423)]};}function qr(_0x3191bb){'@babel/helpers - typeof';const _0x28a83f=_0x69a5c7;return qr=typeof Symbol==_0x28a83f(0x2f8)&&typeof Symbol['iterator']==_0x28a83f(0x245)?function(_0x1f02e3){return typeof _0x1f02e3;}:function(_0x53820c){const _0x3a1087=_0x28a83f;return _0x53820c&&typeof Symbol==_0x3a1087(0x2f8)&&_0x53820c[_0x3a1087(0x4ad)]===Symbol&&_0x53820c!==Symbol[_0x3a1087(0x211)]?_0x3a1087(0x245):typeof _0x53820c;},qr(_0x3191bb);}function Jr(_0x590d67,_0x105345){const _0x492bd2=_0x69a5c7;if(qr(_0x590d67)!=_0x492bd2(0x47f)||!_0x590d67)return _0x590d67;var _0x4d2687=_0x590d67[Symbol['toPrimitive']];if(_0x4d2687!==void 0x0){var _0x1543e9=_0x4d2687[_0x492bd2(0x4b0)](_0x590d67,_0x105345||'default');if(qr(_0x1543e9)!=_0x492bd2(0x47f))return _0x1543e9;throw TypeError(_0x492bd2(0x2dd));}return(_0x105345===_0x492bd2(0x3c6)?String:Number)(_0x590d67);}function Yr(_0x1fc5fd){const _0x3706ba=_0x69a5c7;var _0x3fae22=Jr(_0x1fc5fd,'string');return qr(_0x3fae22)==_0x3706ba(0x245)?_0x3fae22:_0x3fae22+'';}function W(_0x30028b,_0x42f2b5,_0x343b5b){const _0x98bf6b=_0x69a5c7;return(_0x42f2b5=Yr(_0x42f2b5))in _0x30028b?Object[_0x98bf6b(0x2f0)](_0x30028b,_0x42f2b5,{'value':_0x343b5b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x30028b[_0x42f2b5]=_0x343b5b,_0x30028b;}var Xr=class extends _0x5f44fb{constructor(_0x108c7d,_0x5eb08c){const _0x1b4e14=_0x69a5c7;super(),this[_0x1b4e14(0x2e2)]=_0x108c7d,this[_0x1b4e14(0x3a8)]=_0x5eb08c,W(this,_0x1b4e14(0x248),null),W(this,_0x1b4e14(0x3b2),void 0x0),this[_0x1b4e14(0x3b2)]=this[_0x1b4e14(0x366)](),this[_0x1b4e14(0x237)](_0x108c7d[_0x1b4e14(0x426)][_0x1b4e14(0x436)](()=>{this['_frame']===null&&(this['_frame']=requestAnimationFrame(()=>this['flush']()));}));}[_0x69a5c7(0x1f8)](){const _0x4ee164=_0x69a5c7;if(this[_0x4ee164(0x239)](),this[_0x4ee164(0x204)])return;let _0x540aa5=this[_0x4ee164(0x366)](),_0xfa12aa=this[_0x4ee164(0x3b2)],_0x479bad=_0x540aa5[_0x4ee164(0x3fd)]!==_0xfa12aa[_0x4ee164(0x3fd)]||_0x540aa5[_0x4ee164(0x452)]!==_0xfa12aa[_0x4ee164(0x452)];(_0x479bad||_0x540aa5[_0x4ee164(0x213)]!==_0xfa12aa['left']||_0x540aa5[_0x4ee164(0x3db)]!==_0xfa12aa[_0x4ee164(0x3db)])&&(this['_geometry']=_0x540aa5,this[_0x4ee164(0x3a8)](_0x479bad));}[_0x69a5c7(0x239)](){const _0x4a963d=_0x69a5c7;this[_0x4a963d(0x248)]!==null&&(cancelAnimationFrame(this[_0x4a963d(0x248)]),this[_0x4a963d(0x248)]=null);}[_0x69a5c7(0x393)](){this['cancelPending'](),super['dispose']();}[_0x69a5c7(0x366)](){const _0x3498ac=_0x69a5c7;let {left:_0x926ae3,top:_0x3a5d3f,width:_0x309e01,height:_0x3553d2}=this[_0x3498ac(0x2e2)];return{'left':_0x926ae3,'top':_0x3a5d3f,'width':_0x309e01,'height':_0x3553d2};}};function Zr(_0x322716,_0x3b2ceb=0x1){const _0x292923=_0x69a5c7;return{'width':Math[_0x292923(0x2dc)](_0x3b2ceb,_0x322716['width']),'height':Math['max'](_0x3b2ceb,_0x322716[_0x292923(0x452)])};}function _0xfb25(){const _0x3b3712=['classType','_generateCutPasteMutations','groupId','removeHost','sheets-chart-ui.section.paretoLine','chartModelAdded$','ancestorTransform','sheets-chart-ui.section.funnel','barStyle','REMOVE','Sunburst','getSheetBySheetId','concat','Axes','_createPrintingChartObject','DRAWING_CHART','_commandService','UniverSheetsChartUIPlugin','getChartPopupMenus','radius','getActiveSheet','Fail\x20to\x20create\x20float\x20dom','sheets-chart-ui.common.trendline','set','_renderAfterChartUpdateMutation','labelId','promise','_initActiveChartModelListener','GROUP','sheet.operation.open-chart-panel','asObservable','getDrawingByParam','scale','rangeInfo$','_getHostPlacement','WordCloud','getParent','25YqiKfR','clientY','_removeHost$','_sheetDrawingService','LineAndArea','object','scaleY','activeSheet$','decorate','_isChartElementEditEnabled','sheets-chart-ui.common.editChart','drawImage','print','pluginName','HorizontalAxis','Chord','_cancelGesture','_adapterRegistry','_drawChartImage','open','syncHostLayout','_setChartRuntimeZIndex','sheets-chart-ui.common.deleteChart','getBatchAddOp','Combination','_getFloatDomInfo','_createCopyInfoByRange','_initCommands','onDoubleClick$','activeRuntimeModel','cumulativeLineStyle','titles','Image','sheets-chart-ui.common.heatmap','(prefers-reduced-motion:\x20reduce)','getUnit','sheet-chart-setup-panel','_draw','_pendingHost','_createHost','sheets-chart-ui.section.pie','viewBound','_activeDomReadyChartIds','_activateEditPanelState','pie','_getChartSnapshotKey','BUTTON','_drawingManagerService','naturalHeight','ImageBitmap','removeChartModel','constructor','version','sheets-chart-ui.section.candlestick','call','add$','Funnel','sheets-chart-ui.config','_renderModelManager','getRealBound','sheets-chart-ui.common.useAsCategoryLabels','Treemap','sheets-chart-ui.common.exportImage','_image','Style','clear','engine','_getImage','isConnected','_addWatermark','offsetLeft','inactive-sheet','url','_resolveLayout','Radar','oKey','keys','sheets-chart-ui.common.rightVerticalAxis','legend','_keepChartCapture','addEventListener','section','range','Series','indexOf','_getChartRenderSkipReason','setProps','_debounceHandle','missing-active-sheet','filter','_deactivateDataUpdateAnimation','pointerId','Pie','sheets-chart-ui.waterfall.negative','activeChartModel$','_version','radar','logicalOuterRect','_chartRenderService','ensureHandle','Reference','naturalWidth','getContextValue','_disposeChartEventSubscription','PieStyle','unitId','_domFrame','_initPrinting','_componentManager','changing$','_panelInitialized','_initPermission','_menuManagerService','removeHost$','setHostStyle','flush','sheet.command.chart.copy-focused-chart','_cacheActiveDomChartSnapshot','transformChange$','Waterfall','sheet-chart-style-panel','moveY','commitSnapshot','_panelRoute$','nativeEvent','_contextService','_injector','_disposed','context$','_chartElementEditMode','_resolvedConfig','UPDATE','chartObject','_url','checkMounted','Scatter','sheets-chart-ui.section.chord','pareto','syncLayout','Gauge','prototype','Dom','left','_chartHostProviderService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UNIVER_SHEET','header','save','ENTER','removeEventListener','delete','_pendingToken','sheetChartDataAnimationDuration','chartModelRemoved$','_resetChartRuntimeZIndex','setChartEditorOpen','_restoreHostWrapper','_dataUpdateAnimationDuration','sheetDisposed$','segmented','clearPanelRoute','chartModelId','close','targetSubUnitId','onerror','ChartAndAxisTitles','_sheetPermissionCheckController','Relation','_chartHostMap','releasePointerCapture','remove$','_chartHostProvider','Canvas','parentElement','remove','setElementEditMode','getOwnPropertyDescriptor','abs','disposeWithMe','source','cancelPending','fromEntries','sheetChartDataAnimation','_activateHostWrapper','getConfig','crossOrigin','clip','translate','idMap','mountNode','bounds','setObjectType','symbol','_sidebarDisposable','getDrawingData','_frame','assignStyle','items','_bindChartPointerEvents','error','1000','_pendingDataUpdateChartIds','chartType','_pendingUrlImage','markHostNotReady','_rerenderLatest','getChartSourceSpec','_sheetClipboardService','position$','_getOuterRect','onload','matchMedia','setActiveChartModel','getTransformerByCreate','setDataUpdateAnimation','format','COMMAND','clientWidth','allSeriesStyle','sheets-chart-ui.common.hideChartPanel','_initMenus','animateDataUpdate','sheets-chart.ui.service','getSubUnitId','moveTo','featurePluginGroupUpdate$','getSkeleton','MEDIA','_managed','_requestPaint','initPanel','_generatePasteMutations','sheets-chart-ui.permission.editErr','_clearHiddenSelectedTarget','CUT','getRenderColor','_deactivateEditPanelState','startRow','_dataUpdateAnimationTimers','COMMA','207QdvPwE','sheets-chart-ui.chartTypes.','current','sheets-chart-ui.common.showHiddenData','_snapshotKey','verify','drawingIds','domLayers','Column','getCanvasElement','mobile-sheet-chart-setup-panel','_urlImage','_chartChangeSubscriptions','_renderService','Area','defaultValues','OPERATION','pointercancel','setPanelRoute','supports','target','_popupDisposable','ParetoBarSeries','_lastActiveSheet','_initCopyPaste','_entries','INSERT','renderTransition','sheets-chart-ui.common.series','_themeService','_cancelHostWait','_initSheetChange','_chartInstanceMap','packageName','type','takeSnapshot','_sheetCanvasPopManagerService','has','restore','_getOrCreateSheetChartHost','IndicatorLine','isFinite','_cancelDebouncedCallbacks','GridlinesAndTicks','scene','min','_original','_isProviderDisposed','_init','visibilityState','_savedWrapperStyle','clientX','Bubble','235452XArWEL','next','_sheetPrintInterceptorService','_activeChartId','isInGroup','DownloadImageIcon','_sheetCanvasFloatDomManagerService','arc','setOrientation','domId','sheet.command.chart.delete-focused-chart','style$','_clearPendingUrlImage','pipe','markUnmanaged','dataSource$','true','innerHeight','titleKey','isManaged','getHostClientRect','blockExecuteWithoutPermission','visible','221458rANpsV','ensureMount','_sheetsChartUIService','activeChartModel','getElementById','getHostSize','sheets-chart-ui.common.verticalAxis','transparent','beginPath','darkMode$','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','beforeCommandExecuted','sheets-chart-ui.common.category','wordCloud','sheets-chart-ui.common.dataRange','\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','getObject','_sheetsChartService','mobile-sheet-chart-style-panel','relation','hidden','_markNotReady','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','ensureHost','focused$','_popupSessionKey','_restoreFloatDomPositionStream','max','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clearImage','querySelector','children','isRowDirection','_rect','DEFAULT_PASTE','8204vNdxMI','renderChartsForPrinting','_listenChartUpdateMutations','Data','sheets-chart-ui.common.legend','scaleX','SELECTOR','hasPointerCapture','_canAnimateDataUpdate','isDomReady','_openFloatMenu','endX','defineProperty','nextVersion','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','_univerInstanceService','setPointerCapture','then','bottom','onPointerMove','function','sheets-chart-ui.section.waterfall','innerWidth','sheets-chart-ui.common.chartAndAxisTitles','_disposeChartEventSubscriptions','registerCommand','_prepareDataUpdateRender','Bar','with','_closePopup','markReady','allSettled','getDrawingOrder','value','click','getUnitId','Positive','_disposeChartRenderInstance','sheets-chart-ui.section.relation','_releaseGesture','absolute','_applyHostStyle','startY','img','sheet.chart.edit.panel','isRender','updateFloatDom','featurePluginOrderUpdate$','getRuntimeContext','_handleDrawingDoubleClick','_chartEditorOpen$','auto','objects','direction$','Pareto','copyId','sourceSubUnitId','sheets-chart-ui.common.customize','_copyInfo','_subscribeChartEvents','_debounceHandleMap','find','univer-overflow-visible','_createChartRenderInstanceContext','_registerAdapter','image','sheets-chart-ui.section.indicatorLine','push','_isOwnedChart','115821gvBQNZ','sheets-chart-ui.section.gauge','ChartStyle','_notifyChartRemoved','getBatchUpdateOp','subscribe','Candlestick','forEach','getFocusDrawings','_pointerEvents','getMatrix','opacity','getValue','scroll','add','style','dataset','#-#','requestPaint','ParetoLineSeries','_suppressClick','register','drawingType','chartEditorOpen$','Boxplot','localPoint','moveX','addClipboardHook','handleActiveSubUnitChange','rangeInfo','_disposeChartChangeListeners','_clearSelectedTarget','_bindChartEventHandler','rangeSelectMode','intercept','onCommandExecuted','_focusedDrawings','@univerjs-pro/sheets-chart-ui','_syncActiveEditChart','_configService','_getChartRenderObjectContext','exportImage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','GeneralSeries','href','createElement','startX','sheets-chart-ui.host.provider','enableChartElementFloatMenu','.chart-host','anonymous','small','panelRoute$','rect','_initActiveRuntimeLayerListener','_popupChartId','setRangeSelectMode','_notifySheetChartsDetached','_alignFloatDomPositionWithSceneRender','entries','_createImageChartHost','_readGeometry','heatmap','applyPoint','lineTo','_localeService','_renderDebounceMap','getSheetId','setContextValue','render','_disposeImage','sheets-chart-ui.section.treemap','category','_renderChartModel','getBoundingClientRect','updateFloatDomProps','multiply','makeDirty','color','hit','sheets-chart-ui.section.wordCloud','tab','getId','_registerIcons','dblclick','executeCommand','complete','right','_dataUpdateAnimationChartIds','div','sheets-chart-ui.section.radar','globalAlpha','setBorder','label','endsWith','_executeChartUpdateSourceConfig','_getOrCreateChartRenderInstance','Histogram','VerticalAxis','univer-flex\x20univer-flex-col\x20univer-gap-3','_markHostReady','interceptor','clearChart','_renderWhenConfigReady','resize','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','dispose','createRuntimeChartStyle','_shouldSuppressRender','onPointerUp','none','all','_sheetSkeletonService','trendline','split','onStarting','get','chartRenderMode','PRINTING_COMPONENT_COLLECT','serialize','setStyle','_markReady','getObjectIncludeInGroup','getChartModel','PenIcon','route','_initDrawingDeactivationListener','_onChange','bind','onRendered','getCurrentTypeOfUnit$','_sheetDrawingHitTestService','_shouldEnableChartElementEdit','Row','WaterfallSeries','setConfig','_disposeChartDomInstance','_geometry','lostpointercapture','_snapshotStore','_clearPanelState','_bindChartEventHandlers','src','axis','_registerChartImageRenderObjectFactory','onPointerDown','getImage','_config','addObject','_applyActiveChartRuntimeZIndex','_drawChartFrame','openChartPanelById','drawingId','sheets-chart-ui.section.paretoBar','isArray','_getDrawable','_chartModelService','string','transform','onDispose','_activateDataUpdateAnimation','7865860ltlkTq','_lastRenderInputMap','params','176vOVaIo','setImage','detach','_canvasFloatDomService','sheetTransform','_openPanel','invalidateSnapshot','getChartDataSource','missing-float-dom','_chartSnapshotStoreService','sheet.command.chart.export-focused-image','hasOwnProperty','startColumn','Literals','top','setDataRange','_chartUIService','_resizeChart','getRect','strokeWidth','isLatest','_openEditPanelByDoubleClick','event','_chartEventSubscriptions','getName','pieSecondaryPlotType','univer-shrink-0','_pendingMutationConfigRenders','_bindPointerEvents','_sheetInterceptorService','_resolveChartRenderMode','_sidebarService','chartId','ChartIcon','getRenderModel','undo','sheets-chart-ui.common.horizontalAxis','Overlay','_frameStyle','_updateTransform','_setHostStyle','top-center','invert','name','_getSceneAndTransformerByDrawingSearch','sheets-chart-ui.waterfall.subtotal','_hostStyle','exportImg','width','seriesId','OVERRIDE_NATIVE','some','getCurrentUnitOfType','hidePanel','getDirection','isElementEditModeActive','rightYAxis','getBatchRemoveOp','2408154LRWIXQ','Url','_applyHostInteractionState','_getChartRenderObject','sheets-chart-ui.chartTypes.line','_registerComponents','afterRender$','dom','rightY','_renderManagerService','baseOn','_chartEventHandlers','_getPlacement','focusDrawing','series','_generateCopyPasteMutations','sheets-chart-ui.section.gridlinesAndTicks','transformer','subUnitId','Trendline','_requestedUrl','.png','sheets-chart-ui.common.chartStyle','pointerEvents','initialRect','getRenderUnitById','update','zIndex','showFloatMenu','_gesture','_iconManager','onTransformChange$','getRangeInfo','changeEnd$','executeChartUpdateConfig','RightVerticalAxis','mergeMenu','create','config','values','createChartInstance','1.1.0','sheet.command.menu-insert-chart','_waiter','Heatmap','_requestChartCanvasRender','sheets-chart-ui.common.setup','subscribeEvent','offsetWidth','featurePluginUngroupUpdate$','_chartRenderMode','chartEditorOpen','resolve','_loadUrlImage','sheets-chart-ui.common.switchRowColumn','imageBitmap','focus$','cancel','univer-my-1\x20univer-text-xs\x20univer-text-red-500','sheets-chart-ui.section.histogram','markNotReady','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','from','config$','dataSource','waterfallStyle','isHit','contains','length','Legend','data$','map','sheets-chart-ui.chord.target','2153520IcByxq','getFocusedUnit','height','_chartThemeService','getFloatDomInfo'];_0xfb25=function(){return _0x3b3712;};return _0xfb25();}function Qr(_0x19be26,_0x1fca36={},_0x18e4a2={'left':0x0,'top':0x0}){const _0x295bbd=_0x69a5c7;let _0x29afa9=_0x1fca36[_0x295bbd(0x2e9)]??0x1,_0x3966b6=_0x1fca36['scaleY']??0x1,_0x5553cc=_0x45f261['resolve']({'logicalOuterRect':{'left':_0x18e4a2[_0x295bbd(0x213)]>0x0?-_0x18e4a2[_0x295bbd(0x213)]:0x0,'top':_0x18e4a2[_0x295bbd(0x3db)]>0x0?-_0x18e4a2[_0x295bbd(0x3db)]:0x0,...Zr(_0x19be26)},'scale':{'scaleX':_0x29afa9,'scaleY':_0x3966b6},'hostStyle':{},'contentMode':_0x46d290[_0x295bbd(0x3f2)]});return{'left':_0x5553cc[_0x295bbd(0x1e6)][_0x295bbd(0x213)],'top':_0x5553cc[_0x295bbd(0x1e6)][_0x295bbd(0x3db)],'width':_0x5553cc[_0x295bbd(0x1e6)][_0x295bbd(0x3fd)],'height':_0x5553cc[_0x295bbd(0x1e6)][_0x295bbd(0x452)],'scaleX':_0x29afa9,'scaleY':_0x3966b6};}function $r(_0x20ee36){const _0x14829c=_0x69a5c7;switch(_0x20ee36[_0x14829c(0x297)]){case _0x5c1e70[_0x14829c(0x231)]:return _0x20ee36['canvas'];case _0x5c1e70['ImageBitmap']:return _0x20ee36[_0x14829c(0x43e)];default:return;}}var ei=class extends _0x442b9f{constructor(_0x1cc2c8,_0x2084e1,_0x244813,_0x4e131b=()=>!0x1,_0x40a10e=()=>{}){const _0x218ca7=_0x69a5c7;super(_0x1cc2c8,{..._0x2084e1,'evented':_0x2084e1['evented']??!0x0}),this[_0x218ca7(0x4bd)]=_0x244813,this[_0x218ca7(0x395)]=_0x4e131b,this[_0x218ca7(0x36f)]=_0x40a10e,W(this,_0x218ca7(0x280),null),W(this,'_url',null),W(this,'_requestedUrl',null),W(this,_0x218ca7(0x250),null),this[_0x218ca7(0x244)](_0x14842c['CHART']);}[_0x69a5c7(0x393)](){const _0x17b324=_0x69a5c7;this[_0x17b324(0x2b6)](),this[_0x17b324(0x280)]=null,this['_url']=null,this[_0x17b324(0x41b)]=null,this['_disposeImage'](),super[_0x17b324(0x393)]();}[_0x69a5c7(0x36e)](_0x4f01c6,_0x12f931){const _0x1898bf=_0x69a5c7;if(!this[_0x1898bf(0x2c0)])return this[_0x1898bf(0x376)](!0x1),this;if(this[_0x1898bf(0x395)]()){let _0x245073=this[_0x1898bf(0x4bd)]();return _0x245073&&this['_getDrawable'](_0x245073),this['makeDirty'](!0x1),this;}if(!this['transform'])return this;let {width:_0xb405b8,height:_0x57f001,left:_0x9b8a3f,top:_0x1036c7}=this[_0x1898bf(0x4b5)]();if(this[_0x1898bf(0x311)](_0x12f931)){let {top:_0x3a1403,left:_0x54e950,bottom:_0x467022,right:_0x2bca3e}=_0x12f931[_0x1898bf(0x4a3)];if(_0xb405b8+this[_0x1898bf(0x3e0)]+_0x9b8a3f<_0x54e950||_0x2bca3e<_0x9b8a3f||_0x57f001+this[_0x1898bf(0x3e0)]+_0x1036c7<_0x3a1403||_0x467022<_0x1036c7)return this;}let _0xd0b8f2=this['transform'][_0x1898bf(0x333)]();_0x4f01c6[_0x1898bf(0x218)]();let _0x1283b8=_0x9b8a3f+_0xb405b8/0x2,_0x318d47=_0x1036c7+_0x57f001/0x2;return _0x4f01c6[_0x1898bf(0x3c7)](_0xd0b8f2[0x0],_0xd0b8f2[0x1],_0xd0b8f2[0x2],_0xd0b8f2[0x3],_0x1283b8,_0x318d47),this['opacity']!==0x1&&(_0x4f01c6[_0x1898bf(0x384)]=this[_0x1898bf(0x334)]),this['_draw'](_0x4f01c6,void 0x0,_0xb405b8,_0x57f001),_0x4f01c6['restore'](),this[_0x1898bf(0x376)](!0x1),this;}[_0x69a5c7(0x49f)](_0x5034d3,_0x378c4f,_0x1a7ff7=this[_0x69a5c7(0x3fd)],_0x35d094=this[_0x69a5c7(0x452)]){const _0x5a3f57=_0x69a5c7;this[_0x5a3f57(0x3bf)](_0x5034d3,_0x1a7ff7,_0x35d094,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x5a3f57(0x48c)](_0x5034d3,_0x1a7ff7,_0x35d094),this[_0x5a3f57(0x3bf)](_0x5034d3,_0x1a7ff7,_0x35d094,{'fill':void 0x0});}[_0x69a5c7(0x3bf)](_0x16b556,_0x6cdc4e,_0x2d28c7,_0x2db352){const _0x31498e=_0x69a5c7;_0x16b556[_0x31498e(0x218)](),_0x16b556['translate'](-_0x6cdc4e/0x2,-_0x2d28c7/0x2),_0x442b9f['drawWith'](_0x16b556,ti(this,_0x6cdc4e,_0x2d28c7,_0x2db352)),_0x16b556[_0x31498e(0x29b)]();}[_0x69a5c7(0x449)](_0x79345c){const _0x276379=_0x69a5c7;let {left:_0x2f22dc,top:_0x5cab83,width:_0x2a4c8c,height:_0x1967e6}=this['getRealBound'](),_0x4f81e2=_0x2f22dc+_0x2a4c8c/0x2,_0x49d5d7=_0x5cab83+_0x1967e6/0x2,_0x4f7dbf=this[_0x276379(0x3c7)][_0x276379(0x333)](),_0x120618=new _0x235067([_0x4f7dbf[0x0],_0x4f7dbf[0x1],_0x4f7dbf[0x2],_0x4f7dbf[0x3],_0x4f81e2,_0x49d5d7]),_0x161466=this[_0x276379(0x479)](),_0x1156cc=(this[_0x276379(0x2ae)]&&(_0x161466==null?void 0x0:_0x161466[_0x276379(0x455)])===_0x5059bd[_0x276379(0x471)]?_0x161466[_0x276379(0x45b)][_0x276379(0x375)](_0x120618):_0x120618)[_0x276379(0x3f7)]()[_0x276379(0x368)](_0x79345c),_0x10ad61=_0x2a4c8c/0x2,_0x1145f2=_0x1967e6/0x2;return _0x1156cc['x']>=-_0x10ad61-this[_0x276379(0x3e0)]/0x2&&_0x1156cc['x']<=_0x10ad61+this['strokeWidth']/0x2&&_0x1156cc['y']>=-_0x1145f2-this['strokeWidth']/0x2&&_0x1156cc['y']<=_0x1145f2+this[_0x276379(0x3e0)]/0x2;}[_0x69a5c7(0x48c)](_0x4e4612,_0x7ca275,_0x193392){const _0x18fc85=_0x69a5c7;let _0x5b45a6=this[_0x18fc85(0x4bd)](),_0x5645de=_0x5b45a6?this[_0x18fc85(0x3c4)](_0x5b45a6):void 0x0;if(!_0x5645de)return;let {width:_0x3b8789,height:_0x23d45e}=Zr({'width':_0x7ca275,'height':_0x193392},0x0);_0x3b8789!==0x0&&_0x23d45e!==0x0&&(_0x4e4612['save'](),_0x4e4612[_0x18fc85(0x240)](-_0x7ca275/0x2,-_0x193392/0x2),ni(_0x4e4612,_0x3b8789,_0x23d45e,this[_0x18fc85(0x468)]),_0x4e4612[_0x18fc85(0x23f)](),_0x4e4612[_0x18fc85(0x485)](_0x5645de,0x0,0x0,_0x3b8789,_0x23d45e),_0x4e4612['restore']());}[_0x69a5c7(0x3c4)](_0x2fa506){const _0x4a5698=_0x69a5c7;var _0x239055;let _0x421227=$r(_0x2fa506);if(_0x421227)return _0x421227;if(_0x2fa506[_0x4a5698(0x297)]===_0x5c1e70[_0x4a5698(0x408)]&&(this[_0x4a5698(0x41b)]!==_0x2fa506['url']&&(this['_requestedUrl']=_0x2fa506['url'],this[_0x4a5698(0x2b6)](),this[_0x4a5698(0x20a)]!==_0x2fa506[_0x4a5698(0x4c2)]&&this[_0x4a5698(0x43c)](_0x2fa506[_0x4a5698(0x4c2)])),(_0x239055=this[_0x4a5698(0x280)])!=null&&_0x239055['complete']&&this[_0x4a5698(0x280)][_0x4a5698(0x1ea)]>0x0&&this[_0x4a5698(0x280)][_0x4a5698(0x4aa)]>0x0))return this['_urlImage'];}['_loadUrlImage'](_0x47227d){const _0x2c1aad=_0x69a5c7;let _0x31d290=document[_0x2c1aad(0x356)](_0x2c1aad(0x30f));this['_pendingUrlImage']=_0x31d290,_0x31d290[_0x2c1aad(0x23e)]=_0x2c1aad(0x35b),_0x31d290[_0x2c1aad(0x257)]=()=>{const _0x401086=_0x2c1aad;this[_0x401086(0x41b)]===_0x47227d&&this[_0x401086(0x250)]===_0x31d290&&(_0x31d290[_0x401086(0x1ea)]>0x0&&_0x31d290[_0x401086(0x4aa)]>0x0&&(this[_0x401086(0x20a)]=_0x47227d,this[_0x401086(0x280)]=_0x31d290),this[_0x401086(0x2b6)](),this[_0x401086(0x376)](!0x0));},_0x31d290[_0x2c1aad(0x229)]=()=>{const _0x4d3440=_0x2c1aad;this[_0x4d3440(0x250)]===_0x31d290&&this[_0x4d3440(0x2b6)]();},_0x31d290[_0x2c1aad(0x3b7)]=_0x47227d;}[_0x69a5c7(0x2b6)](){const _0x5a774b=_0x69a5c7;this[_0x5a774b(0x250)]&&=(this['_pendingUrlImage'][_0x5a774b(0x257)]=null,this[_0x5a774b(0x250)][_0x5a774b(0x229)]=null,null);}};function ti(_0x7f90a4,_0x312f42,_0x131130,_0x21a628){const _0x4bd973=_0x69a5c7;let _0x4a8104=Object[_0x4bd973(0x42c)](_0x7f90a4);return Object[_0x4bd973(0x2f0)](_0x4a8104,_0x4bd973(0x3fd),{'value':_0x312f42}),Object['defineProperty'](_0x4a8104,_0x4bd973(0x452),{'value':_0x131130}),Object[_0x4bd973(0x4c6)](_0x21a628)[_0x4bd973(0x330)](_0x2f1119=>{const _0xad6f7b=_0x4bd973;Object[_0xad6f7b(0x2f0)](_0x4a8104,_0x2f1119,{'value':_0x21a628[_0x2f1119]});}),_0x4a8104;}function ni(_0x409b4d,_0x3d9234,_0x4fbdfd,_0x594c48){const _0x5afa1b=_0x69a5c7;let _0x50edb7=Math[_0x5afa1b(0x2a2)](_0x594c48||0x0,_0x3d9234/0x2,_0x4fbdfd/0x2);_0x409b4d[_0x5afa1b(0x2c9)](),_0x50edb7?(_0x409b4d[_0x5afa1b(0x265)](_0x50edb7,0x0),_0x409b4d[_0x5afa1b(0x369)](_0x3d9234-_0x50edb7,0x0),_0x409b4d['arc'](_0x3d9234-_0x50edb7,_0x50edb7,_0x50edb7,Math['PI']*0x3/0x2,0x0,!0x1),_0x409b4d[_0x5afa1b(0x369)](_0x3d9234,_0x4fbdfd-_0x50edb7),_0x409b4d['arc'](_0x3d9234-_0x50edb7,_0x4fbdfd-_0x50edb7,_0x50edb7,0x0,Math['PI']/0x2,!0x1),_0x409b4d[_0x5afa1b(0x369)](_0x50edb7,_0x4fbdfd),_0x409b4d['arc'](_0x50edb7,_0x4fbdfd-_0x50edb7,_0x50edb7,Math['PI']/0x2,Math['PI'],!0x1),_0x409b4d[_0x5afa1b(0x369)](0x0,_0x50edb7),_0x409b4d[_0x5afa1b(0x2b1)](_0x50edb7,_0x50edb7,_0x50edb7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x409b4d['closePath']()):(_0x409b4d[_0x5afa1b(0x35e)](0x0,0x0,_0x3d9234,_0x4fbdfd),_0x409b4d['closePath']());}function G(_0x472a7d){const _0x5f48be=_0x69a5c7;(_0x472a7d==null?void 0x0:_0x472a7d[_0x5f48be(0x297)])===_0x5c1e70[_0x5f48be(0x4ab)]&&_0x472a7d[_0x5f48be(0x43e)][_0x5f48be(0x227)]();}function ri(_0x36422b){const _0x429166=_0x69a5c7;return _0x36422b['unitId']+_0x429166(0x33a)+_0x36422b['subUnitId']+_0x429166(0x33a)+_0x36422b[_0x429166(0x3ed)];}var ii=class extends _0x5f44fb{constructor(..._0x1a0d0d){super(..._0x1a0d0d),W(this,'_entries',new Map());}[_0x69a5c7(0x2f1)](_0xd8b7c6){const _0x14a5d2=_0x69a5c7;let _0x5bd696=ri(_0xd8b7c6),_0x308f93=this[_0x14a5d2(0x28e)][_0x14a5d2(0x39d)](_0x5bd696)??{'version':0x0};return _0x308f93[_0x14a5d2(0x4ae)]+=0x1,this[_0x14a5d2(0x28e)][_0x14a5d2(0x46c)](_0x5bd696,_0x308f93),_0x308f93[_0x14a5d2(0x4ae)];}[_0x69a5c7(0x3e1)](_0x3576a9,_0xb74c79){const _0x3ccc8e=_0x69a5c7;var _0x39651d;return((_0x39651d=this[_0x3ccc8e(0x28e)]['get'](ri(_0x3576a9)))==null?void 0x0:_0x39651d[_0x3ccc8e(0x4ae)])===_0xb74c79;}[_0x69a5c7(0x3ce)](_0x165832,_0x377255,_0x42e7ee){const _0x3491ee=_0x69a5c7;if(!this[_0x3491ee(0x3e1)](_0x165832,_0x42e7ee))return G(_0x377255),!0x1;let _0x138a89=ri(_0x165832),_0x434962=this[_0x3491ee(0x28e)][_0x3491ee(0x39d)](_0x138a89)??{'version':_0x42e7ee},_0x21f06b=_0x434962[_0x3491ee(0x325)];return _0x434962['image']=_0x377255,_0x434962[_0x3491ee(0x4ae)]=_0x42e7ee,this['_entries'][_0x3491ee(0x46c)](_0x138a89,_0x434962),_0x21f06b!==_0x377255&&G(_0x21f06b),!0x0;}[_0x69a5c7(0x3bb)](_0x44757b){const _0x439f19=_0x69a5c7;var _0x1517b3;return(_0x1517b3=this['_entries']['get'](ri(_0x44757b)))==null?void 0x0:_0x1517b3[_0x439f19(0x325)];}[_0x69a5c7(0x2de)](_0x1b1bfd){const _0x358c09=_0x69a5c7;let _0x91207d=ri(_0x1b1bfd),_0x58320b=this[_0x358c09(0x28e)][_0x358c09(0x39d)](_0x91207d);_0x58320b&&(G(_0x58320b[_0x358c09(0x325)]),this[_0x358c09(0x28e)][_0x358c09(0x21b)](_0x91207d));}[_0x69a5c7(0x38f)](_0x40c140){const _0x23d21d=_0x69a5c7;for(let [_0x42d6a3,_0x3229ab]of this['_entries'])_0x42d6a3[_0x23d21d(0x387)](_0x23d21d(0x33a)+_0x40c140)&&(G(_0x3229ab[_0x23d21d(0x325)]),this['_entries'][_0x23d21d(0x21b)](_0x42d6a3));}[_0x69a5c7(0x393)](){const _0x176e25=_0x69a5c7;this[_0x176e25(0x28e)][_0x176e25(0x330)](_0x1d54f2=>G(_0x1d54f2['image'])),this['_entries'][_0x176e25(0x4bb)](),super['dispose']();}};function ai(_0x40de36,_0x50f780=0x7d0){let _0x49cdf6=null,_0xcd75e1=null,_0x187df3=!0x1,_0x25959f=()=>{},_0x359164=()=>{_0x49cdf6!=null&&(clearInterval(_0x49cdf6),_0x49cdf6=null),_0xcd75e1!=null&&(clearTimeout(_0xcd75e1),_0xcd75e1=null);};return{'promise':new Promise((_0x49ad1c,_0x3828b3)=>{_0x25959f=_0x3828b3;let _0x50dfe2=()=>{const _0x47e93d=_0x20d6;let _0x32f463=document[_0x47e93d(0x2c5)](_0x40de36);_0x32f463&&!_0x187df3&&(_0x187df3=!0x0,_0x359164(),_0x49ad1c(_0x32f463));};_0x50dfe2(),!_0x187df3&&(_0x49cdf6=setInterval(_0x50dfe2,16.666666666666668),_0xcd75e1=setTimeout(()=>{const _0x2b92d6=_0x20d6;_0x187df3||(_0x187df3=!0x0,_0x359164(),_0x3828b3(Error(_0x2b92d6(0x392)+_0x40de36+'\x22.')));},_0x50f780));}),'cancel':()=>{const _0x1bbecd=_0x20d6;_0x187df3||(_0x187df3=!0x0,_0x359164(),_0x25959f(Error(_0x1bbecd(0x444)+_0x40de36+'\x22.')));}};}var oi=class extends _0x5f44fb{constructor(_0x54c342,_0x51a80a,_0x5b7e28,_0x421c61,_0x5f2602,_0xf00ff0,_0x5de690,_0x2a5e64){const _0x223618=_0x69a5c7;super(),this[_0x223618(0x3ed)]=_0x54c342,this[_0x223618(0x493)]=_0x51a80a,this['_getPlacement']=_0x5b7e28,this[_0x223618(0x3f5)]=_0x421c61,this['_isProviderDisposed']=_0x5f2602,this[_0x223618(0x3a2)]=_0xf00ff0,this['_markNotReady']=_0x5de690,this[_0x223618(0x3e9)]=_0x2a5e64,W(this,'mode',_0x339cde[_0x223618(0x212)]),W(this,_0x223618(0x1ef),null),W(this,_0x223618(0x269),!0x1),W(this,_0x223618(0x21c),null),W(this,_0x223618(0x4a0),null),W(this,_0x223618(0x432),null),W(this,'_hostStyle',{}),W(this,_0x223618(0x2a7),null),W(this,_0x223618(0x222),null),W(this,'_pointerEvents',null);}['isManaged'](){const _0x38fc4a=_0x69a5c7;return this[_0x38fc4a(0x269)];}[_0x69a5c7(0x2b8)](){const _0x5802ff=_0x69a5c7;this[_0x5802ff(0x269)]=!0x1;}[_0x69a5c7(0x3df)](){const _0x573685=_0x69a5c7;let _0x5ac069=this[_0x573685(0x413)]();return _0x5ac069?{'width':_0x5ac069[_0x573685(0x3fd)],'height':_0x5ac069[_0x573685(0x452)]}:null;}[_0x69a5c7(0x3a1)](_0x308d11){const _0x6ac6ff=_0x69a5c7;this['_hostStyle']=_0x308d11,this[_0x6ac6ff(0x3f5)](_0x308d11),this[_0x6ac6ff(0x30d)]();}async[_0x69a5c7(0x1e8)](){const _0x3e3b86=_0x69a5c7;if(this[_0x3e3b86(0x204)]||this[_0x3e3b86(0x2a4)]())throw Error(_0x3e3b86(0x46a));let _0x5b186b=this[_0x3e3b86(0x493)](),_0x508e2c=(_0x5b186b==null?void 0x0:_0x5b186b[_0x3e3b86(0x2b3)])??this[_0x3e3b86(0x3ed)],_0x3879a1=document[_0x3e3b86(0x2c5)](_0x508e2c);if(this['_domFrame']&&_0x3879a1!=null&&_0x3879a1[_0x3e3b86(0x44a)](this['_domFrame'][_0x3e3b86(0x242)]))return{'mountNode':this['_domFrame'][_0x3e3b86(0x242)],'dispose':()=>{const _0x1aca3b=_0x3e3b86;this[_0x1aca3b(0x393)](),_0x5b186b==null||_0x5b186b['dispose']['dispose']();}};if(this[_0x3e3b86(0x4a0)])return this['_pendingHost'];let _0x58d4ba=this[_0x3e3b86(0x4a1)]();return this['_pendingHost']=_0x58d4ba,_0x58d4ba['then'](()=>{const _0x347277=_0x3e3b86;this[_0x347277(0x4a0)]===_0x58d4ba&&(this[_0x347277(0x4a0)]=null);},()=>{const _0x117461=_0x3e3b86;this['_pendingHost']===_0x58d4ba&&(this[_0x117461(0x4a0)]=null);}),_0x58d4ba;}async[_0x69a5c7(0x2c2)](){const _0x3c0ba1=_0x69a5c7;try{return(await this['ensureHandle']())[_0x3c0ba1(0x242)];}catch{return null;}}['checkMounted'](){const _0x4b2989=_0x69a5c7;let _0x5f11fa=this[_0x4b2989(0x493)](),_0x199f93=(_0x5f11fa==null?void 0x0:_0x5f11fa['domId'])??this[_0x4b2989(0x3ed)],_0x377727=document[_0x4b2989(0x2c5)](_0x199f93);return!!(this[_0x4b2989(0x1ef)]&&_0x377727!=null&&_0x377727[_0x4b2989(0x44a)](this[_0x4b2989(0x1ef)][_0x4b2989(0x242)]));}[_0x69a5c7(0x20f)](){const _0x5a440b=_0x69a5c7;if(!this[_0x5a440b(0x1ef)])return;let _0x4f6b2c=this[_0x5a440b(0x413)]();_0x4f6b2c&&this[_0x5a440b(0x1ef)][_0x5a440b(0x421)](this[_0x5a440b(0x4c3)](_0x4f6b2c),this[_0x5a440b(0x3f3)]());}[_0x69a5c7(0x302)](){const _0x188380=_0x69a5c7;this[_0x188380(0x3a2)]();}['markNotReady'](){const _0x20a16e=_0x69a5c7;this[_0x20a16e(0x2d6)]();}['setDataUpdateAnimation'](_0x354766){const _0xa5108c=_0x69a5c7;this[_0xa5108c(0x222)]=_0x354766;let _0x17fe49=this[_0xa5108c(0x493)](),_0x5ef069=document[_0xa5108c(0x2c5)]((_0x17fe49==null?void 0x0:_0x17fe49['domId'])??this['chartId']);_0x5ef069&&this[_0xa5108c(0x409)](_0x5ef069);}[_0x69a5c7(0x393)](){const _0x3ba499=_0x69a5c7;var _0xd09717,_0x5c2d8b;this[_0x3ba499(0x204)]||(this[_0x3ba499(0x443)](),this[_0x3ba499(0x21c)]=null,this[_0x3ba499(0x4a0)]=null,this['_cancelHostWait'](),this[_0x3ba499(0x269)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0xd09717=this[_0x3ba499(0x332)])==null||_0xd09717['dispose'](),this[_0x3ba499(0x332)]=null,(_0x5c2d8b=this[_0x3ba499(0x1ef)])==null||_0x5c2d8b[_0x3ba499(0x393)](),this[_0x3ba499(0x1ef)]=null,this[_0x3ba499(0x221)](),super[_0x3ba499(0x393)]());}async[_0x69a5c7(0x4a1)](){const _0x36ba77=_0x69a5c7;let _0x5cc27d=this[_0x36ba77(0x493)]();if(!_0x5cc27d)throw Error(_0x36ba77(0x46a));let _0x286906=_0x5cc27d[_0x36ba77(0x2b3)]??this[_0x36ba77(0x3ed)],_0xfaf73f=ai(_0x286906),_0x598157=Symbol(this[_0x36ba77(0x3ed)]);this[_0x36ba77(0x21c)]=_0x598157,this['_waiter']=_0xfaf73f;try{var _0x1c1cdd;let _0x39cd11=await _0xfaf73f[_0x36ba77(0x46f)],_0x557745=this[_0x36ba77(0x493)](),_0x49e94e=(_0x557745==null?void 0x0:_0x557745['domId'])??this[_0x36ba77(0x3ed)];if(this[_0x36ba77(0x204)]||this['_isProviderDisposed']()||this['_pendingToken']!==_0x598157||!_0x557745||_0x49e94e!==_0x286906||document[_0x36ba77(0x2c5)](_0x286906)!==_0x39cd11||!_0x39cd11[_0x36ba77(0x4be)])throw Error(_0x36ba77(0x46a));let _0x425e22=this[_0x36ba77(0x413)]();if(!_0x425e22)throw Error(_0x36ba77(0x46a));let _0x54677e=new _0x3fc8d5(_0x39cd11);return _0x54677e['update'](this[_0x36ba77(0x4c3)](_0x425e22),this['_frameStyle']()),this[_0x36ba77(0x23c)](_0x39cd11),this['_domFrame']=_0x54677e,(_0x1c1cdd=this[_0x36ba77(0x332)])==null||_0x1c1cdd[_0x36ba77(0x393)](),this[_0x36ba77(0x332)]=this['_bindPointerEvents'](_0x39cd11),this[_0x36ba77(0x269)]=!0x0,{'mountNode':_0x54677e['mountNode'],'dispose':()=>{const _0x55a171=_0x36ba77;this[_0x55a171(0x393)](),_0x5cc27d['dispose'][_0x55a171(0x393)]();}};}finally{this[_0x36ba77(0x432)]===_0xfaf73f&&(this[_0x36ba77(0x432)]=null),this[_0x36ba77(0x21c)]===_0x598157&&(this['_pendingToken']=null);}}[_0x69a5c7(0x293)](){const _0x3f0951=_0x69a5c7;let _0x54c107=this['_waiter'];_0x54c107&&(_0x54c107['cancel'](),this[_0x3f0951(0x432)]=null);}[_0x69a5c7(0x30d)](){const _0x5f59d6=_0x69a5c7;let _0x187f10=this[_0x5f59d6(0x413)]();this[_0x5f59d6(0x1ef)]&&_0x187f10&&this['_domFrame'][_0x5f59d6(0x421)](this['_resolveLayout'](_0x187f10),this[_0x5f59d6(0x3f3)]());}[_0x69a5c7(0x4c3)](_0x195f7c){const _0x39ab83=_0x69a5c7;return _0x45f261[_0x39ab83(0x43b)]({'logicalOuterRect':{'left':_0x195f7c[_0x39ab83(0x213)],'top':_0x195f7c[_0x39ab83(0x3db)],'width':_0x195f7c[_0x39ab83(0x3fd)],'height':_0x195f7c['height']},'scale':{'scaleX':_0x195f7c[_0x39ab83(0x2e9)],'scaleY':_0x195f7c[_0x39ab83(0x480)]},'hostStyle':this['_frameStyle'](),'contentMode':_0x46d290[_0x39ab83(0x3f2)]});}[_0x69a5c7(0x3f3)](){const _0x3008fc=_0x69a5c7;return{...this[_0x3008fc(0x3fb)],'radius':_0x2b1964};}['_activateHostWrapper'](_0x430dd6){const _0x376a8a=_0x69a5c7;let _0x1bfc9f=_0x430dd6[_0x376a8a(0x232)];_0x1bfc9f&&(this[_0x376a8a(0x2a7)]||={'zIndex':_0x1bfc9f[_0x376a8a(0x338)][_0x376a8a(0x422)],'pointerEvents':_0x1bfc9f[_0x376a8a(0x338)][_0x376a8a(0x41e)]},_0x1bfc9f[_0x376a8a(0x338)]['zIndex']=_0x376a8a(0x24d),this[_0x376a8a(0x409)](_0x430dd6));}['_applyHostInteractionState'](_0x3b52e6){const _0xa4702f=_0x69a5c7;let _0x272491=_0x3b52e6[_0xa4702f(0x232)];if(!_0x272491)return;let _0x37d5dd=this[_0xa4702f(0x222)];_0x37d5dd==null?(delete _0x3b52e6[_0xa4702f(0x339)][_0xa4702f(0x23b)],delete _0x3b52e6[_0xa4702f(0x339)][_0xa4702f(0x21d)],_0x272491['style'][_0xa4702f(0x41e)]=_0xa4702f(0x317)):(_0x3b52e6[_0xa4702f(0x339)]['sheetChartDataAnimation']=_0xa4702f(0x2ba),_0x3b52e6[_0xa4702f(0x339)][_0xa4702f(0x21d)]=String(_0x37d5dd),_0x272491['style'][_0xa4702f(0x41e)]=_0xa4702f(0x397));}['_restoreHostWrapper'](){const _0xb18b1e=_0x69a5c7;if(!this[_0xb18b1e(0x2a7)])return;let _0x330454=this['_getFloatDomInfo'](),_0x2e625c=(_0x330454==null?void 0x0:_0x330454['domId'])??this[_0xb18b1e(0x3ed)],_0x4a0203=document[_0xb18b1e(0x2c5)](_0x2e625c);_0x4a0203==null||delete _0x4a0203[_0xb18b1e(0x339)]['sheetChartDataAnimation'],_0x4a0203==null||delete _0x4a0203[_0xb18b1e(0x339)]['sheetChartDataAnimationDuration'];let _0x5d12b7=_0x4a0203==null?void 0x0:_0x4a0203['parentElement'];_0x5d12b7&&(_0x5d12b7['style'][_0xb18b1e(0x422)]=this[_0xb18b1e(0x2a7)][_0xb18b1e(0x422)],_0x5d12b7['style'][_0xb18b1e(0x41e)]=this['_savedWrapperStyle'][_0xb18b1e(0x41e)]),this[_0xb18b1e(0x2a7)]=null;}},si=class extends _0x5f44fb{constructor(_0x1fd62c,_0x3121a4,_0x48509e,_0x1d32eb){const _0x17da95=_0x69a5c7;super(),this[_0x17da95(0x2a3)]=_0x3121a4,W(this,'_gesture',null),W(this,_0x17da95(0x33d),!0x1);let _0x4598bd=_0x208a11=>{const _0x464bb6=_0x17da95;this[_0x464bb6(0x33d)]&&(_0x208a11['preventDefault'](),_0x208a11['stopImmediatePropagation']());},_0x37b2d1=_0x22ce48=>{const _0x6f4058=_0x17da95;let _0x5359a0=this[_0x6f4058(0x424)];(_0x5359a0==null?void 0x0:_0x5359a0[_0x6f4058(0x3e3)][_0x6f4058(0x1e0)])===_0x22ce48['pointerId']&&!_0x5359a0[_0x6f4058(0x289)]['hasPointerCapture'](_0x22ce48[_0x6f4058(0x1e0)])&&this['_cancelGesture']();};_0x1fd62c[_0x17da95(0x4ca)](_0x17da95(0x306),_0x4598bd,!0x0),_0x1fd62c[_0x17da95(0x4ca)](_0x17da95(0x37d),_0x4598bd,!0x0),_0x1fd62c['addEventListener'](_0x17da95(0x3b3),_0x37b2d1),this['disposeWithMe'](_0x354ba0(()=>{const _0x26c5c2=_0x17da95;_0x1fd62c[_0x26c5c2(0x21a)](_0x26c5c2(0x306),_0x4598bd,!0x0),_0x1fd62c['removeEventListener'](_0x26c5c2(0x37d),_0x4598bd,!0x0),_0x1fd62c[_0x26c5c2(0x21a)](_0x26c5c2(0x3b3),_0x37b2d1),_0x1d32eb(_0x3121a4);})),this['disposeWithMe'](_0x48509e[_0x17da95(0x32e)](()=>{const _0x413aeb=_0x17da95;this[_0x413aeb(0x424)]&&(this[_0x413aeb(0x33d)]=!0x0);})),_0x1d32eb({'onPointerDown':_0x3bbfc7=>{const _0x1c115c=_0x17da95;this[_0x1c115c(0x33d)]=!0x1,_0x3bbfc7 instanceof PointerEvent&&_0x3bbfc7[_0x1c115c(0x289)]instanceof Element&&_0x1fd62c[_0x1c115c(0x44a)](_0x3bbfc7[_0x1c115c(0x289)])&&(this['_gesture']={'target':_0x3bbfc7[_0x1c115c(0x289)],'event':_0x3bbfc7}),_0x3121a4[_0x1c115c(0x3ba)](_0x3bbfc7),this[_0x1c115c(0x4c9)](_0x3bbfc7);},'onPointerMove':_0x314ffa=>{const _0x3e1e1f=_0x17da95;_0x3121a4[_0x3e1e1f(0x2f7)](_0x314ffa),this[_0x3e1e1f(0x4c9)](_0x314ffa);},'onPointerUp':_0x510b92=>{const _0x9924a6=_0x17da95;try{_0x3121a4[_0x9924a6(0x396)](_0x510b92);}finally{var _0xafe176;_0x510b92 instanceof PointerEvent&&((_0xafe176=this[_0x9924a6(0x424)])==null?void 0x0:_0xafe176['event']['pointerId'])===_0x510b92['pointerId']&&this[_0x9924a6(0x30b)]();}}});}[_0x69a5c7(0x393)](){const _0x2dfd8c=_0x69a5c7;this[_0x2dfd8c(0x204)]||(this[_0x2dfd8c(0x48a)](),super[_0x2dfd8c(0x393)]());}[_0x69a5c7(0x4c9)](_0x36c572){const _0x5061d2=_0x69a5c7;let _0x431174=this['_gesture'];_0x36c572 instanceof PointerEvent&&(_0x431174==null?void 0x0:_0x431174[_0x5061d2(0x3e3)][_0x5061d2(0x1e0)])===_0x36c572[_0x5061d2(0x1e0)]&&(_0x431174['event']=_0x36c572,_0x431174[_0x5061d2(0x289)][_0x5061d2(0x4be)]?_0x431174[_0x5061d2(0x289)][_0x5061d2(0x2f4)](_0x36c572[_0x5061d2(0x1e0)]):this[_0x5061d2(0x48a)]());}[_0x69a5c7(0x30b)](){const _0x48cc86=_0x69a5c7;let _0x35a6cc=this['_gesture'];this[_0x48cc86(0x424)]=null,_0x35a6cc!=null&&_0x35a6cc[_0x48cc86(0x289)][_0x48cc86(0x2eb)](_0x35a6cc['event'][_0x48cc86(0x1e0)])&&_0x35a6cc[_0x48cc86(0x289)][_0x48cc86(0x22e)](_0x35a6cc[_0x48cc86(0x3e3)][_0x48cc86(0x1e0)]);}[_0x69a5c7(0x48a)](){const _0x5f383b=_0x69a5c7;let _0x1f17ed=this[_0x5f383b(0x424)];this[_0x5f383b(0x30b)](),_0x1f17ed&&this[_0x5f383b(0x2a3)][_0x5f383b(0x396)](new PointerEvent(_0x5f383b(0x286),_0x1f17ed['event']));}},ci=class extends _0x29f4ac{constructor(_0x587eaf,_0x31ab04,_0x358083,_0x45a510,_0x44d9a2,_0x226491){const _0x3315ee=_0x69a5c7;super(_0x587eaf),this[_0x3315ee(0x256)]=_0x31ab04,this[_0x3315ee(0x3f5)]=_0x358083,this['_snapshotKey']=_0x45a510,this['_snapshotStore']=_0x44d9a2,this[_0x3315ee(0x26a)]=_0x226491;}[_0x69a5c7(0x3df)](){const _0x41a36f=_0x69a5c7;let _0x1fa891=this[_0x41a36f(0x256)]();return _0x1fa891?Zr(_0x1fa891):null;}[_0x69a5c7(0x3a1)](_0x675abe){const _0x255377=_0x69a5c7;this[_0x255377(0x3f5)](_0x675abe);}[_0x69a5c7(0x2f1)](){const _0x1d8d33=_0x69a5c7;return this[_0x1d8d33(0x3b4)][_0x1d8d33(0x2f1)](this['_snapshotKey']);}[_0x69a5c7(0x1ff)](_0xf2181d,_0x2d44f2){const _0x41fdb3=_0x69a5c7;return this[_0x41fdb3(0x3b4)][_0x41fdb3(0x3ce)](this[_0x41fdb3(0x279)],_0xf2181d,_0x2d44f2);}['requestPaint'](){const _0x2dc6f8=_0x69a5c7;this[_0x2dc6f8(0x26a)]();}[_0x69a5c7(0x3d3)](){const _0x54aeb3=_0x69a5c7;this[_0x54aeb3(0x3b4)][_0x54aeb3(0x2f1)](this[_0x54aeb3(0x279)]);}};function K(_0x827730,_0xbcb7a0){return function(_0x29072b,_0x25ecd5){_0xbcb7a0(_0x29072b,_0x25ecd5,_0x827730);};}function q(_0x3a8942,_0x252389,_0xf03a54,_0x4ab359){const _0x591742=_0x69a5c7;var _0x2c5cbd=arguments[_0x591742(0x44b)],_0x4c28c1=_0x2c5cbd<0x3?_0x252389:_0x4ab359===null?_0x4ab359=Object[_0x591742(0x235)](_0x252389,_0xf03a54):_0x4ab359,_0x4fe3b8;if(typeof Reflect=='object'&&typeof Reflect[_0x591742(0x482)]==_0x591742(0x2f8))_0x4c28c1=Reflect['decorate'](_0x3a8942,_0x252389,_0xf03a54,_0x4ab359);else{for(var _0x3d47dd=_0x3a8942[_0x591742(0x44b)]-0x1;_0x3d47dd>=0x0;_0x3d47dd--)(_0x4fe3b8=_0x3a8942[_0x3d47dd])&&(_0x4c28c1=(_0x2c5cbd<0x3?_0x4fe3b8(_0x4c28c1):_0x2c5cbd>0x3?_0x4fe3b8(_0x252389,_0xf03a54,_0x4c28c1):_0x4fe3b8(_0x252389,_0xf03a54))||_0x4c28c1);}return _0x2c5cbd>0x3&&_0x4c28c1&&Object[_0x591742(0x2f0)](_0x252389,_0xf03a54,_0x4c28c1),_0x4c28c1;}const li=0.5;function ui(_0x27adb7){const _0x85fdb7=_0x69a5c7;let _0x38fa52=Math[_0x85fdb7(0x2dc)](_0x27adb7[_0x85fdb7(0x2ef)]-_0x27adb7[_0x85fdb7(0x357)],0x0),_0x1e0556=Math[_0x85fdb7(0x2dc)](_0x27adb7['endY']-_0x27adb7[_0x85fdb7(0x30e)],0x0),_0x48236a=_0x27adb7[_0x85fdb7(0x30c)]['left']&&_0x27adb7['width']-_0x38fa52>li,_0x1802b5=_0x27adb7['absolute'][_0x85fdb7(0x3db)]&&_0x27adb7[_0x85fdb7(0x452)]-_0x1e0556>li;return!_0x48236a&&!_0x1802b5?_0x27adb7:{..._0x27adb7,'absolute':{'left':!_0x48236a&&_0x27adb7['absolute'][_0x85fdb7(0x213)],'top':!_0x1802b5&&_0x27adb7['absolute'][_0x85fdb7(0x3db)]}};}function di(_0x526fb2){const _0x50fff6=_0x69a5c7;if(!Object[_0x50fff6(0x211)][_0x50fff6(0x3d8)]['call'](_0x526fb2,'border'))return _0x526fb2;let {border:_0xfb76a1,..._0xcb8c5f}=_0x526fb2;return{..._0xcb8c5f,'stroke':(_0xfb76a1==null?void 0x0:_0xfb76a1[_0x50fff6(0x377)])??'transparent','strokeWidth':(_0xfb76a1==null?void 0x0:_0xfb76a1[_0x50fff6(0x3fd)])??0x0};}let fi=class extends _0x5f44fb{constructor(_0x2ddb22,_0x1a1f9c,_0x249117,_0x59482d){const _0x491ded=_0x69a5c7;super(),this[_0x491ded(0x2b0)]=_0x2ddb22,this[_0x491ded(0x410)]=_0x1a1f9c,this[_0x491ded(0x3d6)]=_0x249117,this[_0x491ded(0x3d0)]=_0x59482d,W(this,'_chartHostMap',new Map()),W(this,_0x491ded(0x4a4),new Set()),W(this,_0x491ded(0x47c),new _0x8138ee()),W(this,'removeHost$',this[_0x491ded(0x47c)][_0x491ded(0x473)]()),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x491ded(0x22f)][_0x491ded(0x32e)](_0x54d722=>{const _0x2a8a16=_0x491ded;let _0x4b501e=this[_0x2a8a16(0x22d)][_0x2a8a16(0x39d)](_0x54d722['id']);_0x4b501e!=null&&_0x4b501e[_0x2a8a16(0x2bd)]()&&(_0x4b501e[_0x2a8a16(0x2b8)](),this[_0x2a8a16(0x47c)][_0x2a8a16(0x2ab)](_0x54d722['id']));}));}[_0x69a5c7(0x3f9)](_0x59e264){const _0x2bf608=_0x69a5c7;if(_0x59e264==null)return;let _0x34c245=this[_0x2bf608(0x410)][_0x2bf608(0x420)](_0x59e264),_0x2a75b0=_0x34c245==null?void 0x0:_0x34c245[_0x2bf608(0x2a1)];return _0x34c245==null||_0x2a75b0==null?null:{'scene':_0x2a75b0,'transformer':_0x2a75b0[_0x2bf608(0x25a)](),'renderUnit':_0x34c245,'canvas':_0x34c245[_0x2bf608(0x4bc)][_0x2bf608(0x27e)]()};}[_0x69a5c7(0x385)](_0x1dd75f,_0xf13b9f){const _0x5de4ca=_0x69a5c7;let _0x3f3259=this[_0x5de4ca(0x2b0)],_0x482756=_0xf13b9f||_0x5de4ca(0x2c8),_0xf98473=_0x3f3259['getFloatDomInfo'](_0x1dd75f);if(_0xf98473){let {unitId:_0x542f37,subUnitId:_0x264876}=_0xf98473;_0x3f3259[_0x5de4ca(0x374)](_0x542f37,_0x264876,_0x1dd75f,{'stroke':_0x482756});}}[_0x69a5c7(0x1f7)](_0x5135fb,_0x4e6b06){const _0x53da6a=_0x69a5c7;let _0x61f1ff=this[_0x53da6a(0x2b0)],_0x25e97b=_0x61f1ff[_0x53da6a(0x454)](_0x5135fb);if(_0x25e97b){let {unitId:_0x3256bd,subUnitId:_0x319110}=_0x25e97b;_0x61f1ff['updateFloatDomProps'](_0x3256bd,_0x319110,_0x5135fb,di(_0x4e6b06));}}[_0x69a5c7(0x2c6)](_0x184ac4){const _0x21b4b3=_0x69a5c7;let _0x9e1776=this['_sheetCanvasFloatDomManagerService'][_0x21b4b3(0x454)](_0x184ac4);return _0x9e1776?_0x9e1776['rect']:null;}[_0x69a5c7(0x2be)](_0x28a7d8){const _0x21ce97=_0x69a5c7;let _0x422baf=this[_0x21ce97(0x2b0)][_0x21ce97(0x454)](_0x28a7d8),_0x1fc88d=document[_0x21ce97(0x2c5)]((_0x422baf==null?void 0x0:_0x422baf[_0x21ce97(0x2b3)])??_0x28a7d8);return(_0x1fc88d==null?void 0x0:_0x1fc88d['getBoundingClientRect']())??null;}[_0x69a5c7(0x25b)](_0x302f34,_0x19037c){const _0x442050=_0x69a5c7;var _0x1011ab;(_0x1011ab=this['_chartHostMap']['get'](_0x302f34))==null||_0x1011ab[_0x442050(0x25b)](_0x19037c);}['checkHost'](_0x1f3fcd){const _0x3aaeab=_0x69a5c7;var _0x1a1258;return((_0x1a1258=this[_0x3aaeab(0x22d)][_0x3aaeab(0x39d)](_0x1f3fcd))==null?void 0x0:_0x1a1258['checkMounted']())??!0x1;}[_0x69a5c7(0x48e)](_0x2a0027){const _0x1d66e8=_0x69a5c7;var _0x3c1d42;(_0x3c1d42=this[_0x1d66e8(0x22d)][_0x1d66e8(0x39d)](_0x2a0027))==null||_0x3c1d42[_0x1d66e8(0x20f)]();}['removeHost'](_0x2649bd){const _0x45a6f5=_0x69a5c7;let _0x29bd1d=this[_0x45a6f5(0x22d)][_0x45a6f5(0x39d)](_0x2649bd);_0x29bd1d&&(_0x29bd1d[_0x45a6f5(0x393)](),this[_0x45a6f5(0x3d0)][_0x45a6f5(0x312)](_0x2649bd,{'eventPassThrough':!0x0})),this[_0x45a6f5(0x22d)][_0x45a6f5(0x21b)](_0x2649bd);}async[_0x69a5c7(0x2d8)](_0x374723,_0x5843c7){const _0x5e0ef0=_0x69a5c7;if(_0x5843c7===_0x339cde[_0x5e0ef0(0x49a)])return this['_createImageChartHost'](_0x374723);if(_0x5843c7===_0x339cde['Dom'])return this[_0x5e0ef0(0x29c)](_0x374723);let _0x38f7ec=this['_getOrCreateSheetChartHost'](_0x374723);if(!_0x38f7ec)throw Error(_0x5e0ef0(0x46a));return _0x38f7ec[_0x5e0ef0(0x1e8)]();}[_0x69a5c7(0x2ed)](_0x25ff51){const _0x104e4b=_0x69a5c7;var _0x2eb743;return this[_0x104e4b(0x4a4)][_0x104e4b(0x29a)](_0x25ff51)?(_0x2eb743=this[_0x104e4b(0x22d)][_0x104e4b(0x39d)](_0x25ff51))!=null&&_0x2eb743[_0x104e4b(0x20b)]()?!0x0:(this[_0x104e4b(0x4a4)][_0x104e4b(0x21b)](_0x25ff51),this['_restoreFloatDomPositionStream'](_0x25ff51),!0x1):!0x1;}[_0x69a5c7(0x251)](_0x317e67){const _0x49dee3=_0x69a5c7;this[_0x49dee3(0x4a4)][_0x49dee3(0x21b)](_0x317e67)&&(this[_0x49dee3(0x2db)](_0x317e67),this[_0x49dee3(0x434)](_0x317e67));}['invalidateSnapshot'](_0x4f19e6){const _0x89c81e=_0x69a5c7;let _0x5964eb=this['_getChartSnapshotKey'](_0x4f19e6);_0x5964eb&&this[_0x89c81e(0x3d6)][_0x89c81e(0x2f1)](_0x5964eb);}[_0x69a5c7(0x365)](_0x4068b5){const _0x479bc5=_0x69a5c7;let _0x6f81c3=this[_0x479bc5(0x4a7)](_0x4068b5);return!_0x6f81c3||!this[_0x479bc5(0x2c6)](_0x4068b5)?null:new ci(_0x4068b5,()=>this['getHostSize'](_0x4068b5),_0x4cb92f=>this[_0x479bc5(0x1f7)](_0x4068b5,_0x4cb92f),_0x6f81c3,this[_0x479bc5(0x3d6)],()=>this['_requestChartCanvasRender'](_0x4068b5));}['_getOrCreateSheetChartHost'](_0x24c9a8){const _0x2380cb=_0x69a5c7;if(!this['getHostSize'](_0x24c9a8))return null;this['_canvasFloatDomService']['updateFloatDom'](_0x24c9a8,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x3b919a=this['_chartHostMap'][_0x2380cb(0x39d)](_0x24c9a8);if(_0x3b919a)return _0x3b919a;let _0xbfedc7=new oi(_0x24c9a8,()=>this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x24c9a8),()=>this[_0x2380cb(0x477)](_0x24c9a8),_0x5d1328=>this[_0x2380cb(0x1f7)](_0x24c9a8,_0x5d1328),()=>this[_0x2380cb(0x204)],()=>this[_0x2380cb(0x38d)](_0x24c9a8),()=>this['markHostNotReady'](_0x24c9a8),_0x183968=>this[_0x2380cb(0x24b)](_0x24c9a8,_0x183968));return this[_0x2380cb(0x22d)]['set'](_0x24c9a8,_0xbfedc7),_0xbfedc7;}[_0x69a5c7(0x24b)](_0x3f2de5,_0x597614){const _0x526a98=_0x69a5c7;var _0x4401ec;let _0x29d7a5=this[_0x526a98(0x2b0)][_0x526a98(0x454)](_0x3f2de5),_0x155686=(_0x4401ec=this[_0x526a98(0x3d0)][_0x526a98(0x27c)][_0x526a98(0x321)](([_0x46d59e])=>_0x46d59e===_0x3f2de5))==null?void 0x0:_0x4401ec[0x1],_0x2c0095=_0x29d7a5?this[_0x526a98(0x3f9)](_0x29d7a5[_0x526a98(0x1ee)]):null;if(!_0x29d7a5||!_0x155686||!_0x2c0095)return _0x354ba0(()=>{});let _0x330b8f=_0x558e11({'unitId':_0x29d7a5['unitId'],'subUnitId':_0x29d7a5['subUnitId'],'drawingId':_0x3f2de5});return new si(_0x597614,{'onPointerDown':_0x155686[_0x526a98(0x3ba)],'onPointerMove':_0x155686['onPointerMove'],'onPointerUp':_0x155686[_0x526a98(0x396)]},_0x2c0095[_0x526a98(0x418)][_0x526a98(0x1f2)][_0x526a98(0x2b7)](_0x501dd5(_0x4467d9=>_0x4467d9[_0x526a98(0x318)][_0x526a98(0x29a)](_0x330b8f)&&((_0x4467d9[_0x526a98(0x343)]??0x0)!==0x0||(_0x4467d9[_0x526a98(0x1fe)]??0x0)!==0x0))),_0xc40edf=>this[_0x526a98(0x3d0)][_0x526a98(0x312)](_0x3f2de5,_0xc40edf));}[_0x69a5c7(0x38d)](_0x291b13){const _0x501841=_0x69a5c7;this[_0x501841(0x4a4)]['has'](_0x291b13)||(this[_0x501841(0x4a4)][_0x501841(0x337)](_0x291b13),this[_0x501841(0x363)](_0x291b13),this['_requestChartCanvasRender'](_0x291b13));}['_alignFloatDomPositionWithSceneRender'](_0xbe06ef){const _0x2f6bd1=_0x69a5c7;var _0x15326d;let _0x2a063d=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xbe06ef),_0x431566=_0x2a063d?(_0x15326d=this[_0x2f6bd1(0x410)][_0x2f6bd1(0x420)](_0x2a063d[_0x2f6bd1(0x1ee)]))==null?void 0x0:_0x15326d[_0x2f6bd1(0x2a1)]:null;if(!_0x2a063d||!_0x431566)return;let _0x18f9b4=_0x597287(_0x2a063d[_0x2f6bd1(0x255)][_0x2f6bd1(0x2b7)](_0x11684a(0x1)),_0x431566[_0x2f6bd1(0x40d)]['pipe'](_0x17c793(_0x2a063d[_0x2f6bd1(0x255)]),_0x398f6c(([,_0x29bd93])=>_0x29bd93)))[_0x2f6bd1(0x2b7)](_0x4ad411(),_0x398f6c(ui));this[_0x2f6bd1(0x3d0)][_0x2f6bd1(0x312)](_0xbe06ef,{'position$':_0x18f9b4});}['_restoreFloatDomPositionStream'](_0x1a775e){const _0x1db293=_0x69a5c7;let _0x53b42a=this[_0x1db293(0x2b0)][_0x1db293(0x454)](_0x1a775e);_0x53b42a&&this[_0x1db293(0x3d0)][_0x1db293(0x312)](_0x1a775e,{'position$':_0x53b42a['position$']});}[_0x69a5c7(0x4a7)](_0x83e716){const _0x2c2a7c=_0x69a5c7;let _0x2304ba=this[_0x2c2a7c(0x2b0)][_0x2c2a7c(0x454)](_0x83e716);return _0x2304ba?{'unitId':_0x2304ba[_0x2c2a7c(0x1ee)],'subUnitId':_0x2304ba[_0x2c2a7c(0x419)],'chartId':_0x83e716}:null;}[_0x69a5c7(0x434)](_0x58f85c){const _0x7e5aca=_0x69a5c7;var _0x3dfb7e,_0x2bafcb,_0x54a11c;let _0xcf78cc=this[_0x7e5aca(0x2b0)]['getFloatDomInfo'](_0x58f85c);if(!_0xcf78cc)return;let _0x165a30=(_0x3dfb7e=this[_0x7e5aca(0x410)]['getRenderUnitById'](_0xcf78cc[_0x7e5aca(0x1ee)]))==null?void 0x0:_0x3dfb7e[_0x7e5aca(0x2a1)],_0x53fe1f=(_0x165a30==null||(_0x2bafcb=_0x165a30[_0x7e5aca(0x3a3)])==null?void 0x0:_0x2bafcb['call'](_0x165a30,_0x558e11({'unitId':_0xcf78cc[_0x7e5aca(0x1ee)],'subUnitId':_0xcf78cc['subUnitId'],'drawingId':_0x58f85c})))??(_0x165a30==null?void 0x0:_0x165a30[_0x7e5aca(0x2d1)](_0x558e11({'unitId':_0xcf78cc[_0x7e5aca(0x1ee)],'subUnitId':_0xcf78cc[_0x7e5aca(0x419)],'drawingId':_0x58f85c})))??null;_0x53fe1f==null||(_0x54a11c=_0x53fe1f['makeDirty'])==null||_0x54a11c[_0x7e5aca(0x4b0)](_0x53fe1f,!0x0),_0x165a30==null||_0x165a30[_0x7e5aca(0x376)](!0x0);}[_0x69a5c7(0x477)](_0x316865){const _0x354fc9=_0x69a5c7;let _0x3924e4=this[_0x354fc9(0x2b0)]['getFloatDomInfo'](_0x316865);if(!_0x3924e4)return null;let _0x16cc77=this[_0x354fc9(0x3f9)](_0x3924e4['unitId']),_0x3075d4=_0x16cc77==null?void 0x0:_0x16cc77[_0x354fc9(0x2a1)],_0x473db2=document[_0x354fc9(0x2c5)](_0x3924e4['domId']??_0x316865);return Qr(_0x3924e4[_0x354fc9(0x35e)],{'scaleX':(_0x3075d4==null?void 0x0:_0x3075d4['scaleX'])??0x1,'scaleY':(_0x3075d4==null?void 0x0:_0x3075d4[_0x354fc9(0x480)])??0x1},_0x473db2?{'left':_0x473db2[_0x354fc9(0x4c0)],'top':_0x473db2['offsetTop']}:void 0x0);}[_0x69a5c7(0x393)](){const _0x1a5864=_0x69a5c7;this[_0x1a5864(0x204)]||(Array[_0x1a5864(0x445)](this['_chartHostMap']['keys']())[_0x1a5864(0x330)](_0x20120c=>this[_0x1a5864(0x458)](_0x20120c)),this[_0x1a5864(0x4a4)][_0x1a5864(0x4bb)](),this[_0x1a5864(0x47c)][_0x1a5864(0x37f)](),super[_0x1a5864(0x393)]());}};fi=q([K(0x0,_0x345df3(_0x5a2ef7)),K(0x1,_0x345df3(_0x3a5b98)),K(0x2,_0x345df3(ii)),K(0x3,_0x345df3(_0x9fa0b5))],fi);const pi=_0x2e14a3(_0x69a5c7(0x358)),mi=_0x339cde[_0x69a5c7(0x49a)];var hi=class extends _0x29f4ac{constructor(_0x1cf43a,_0x4c5a19){const _0x49eecf=_0x69a5c7;super(_0x1cf43a),this[_0x49eecf(0x2e2)]=_0x4c5a19,W(this,_0x49eecf(0x1e4),0x0),W(this,'_image',void 0x0),W(this,_0x49eecf(0x338),{});}[_0x69a5c7(0x3df)](){const _0x36f3d6=_0x69a5c7;return this[_0x36f3d6(0x2e2)];}[_0x69a5c7(0x3a1)](_0x4c05a8){const _0x41c5b5=_0x69a5c7;this[_0x41c5b5(0x338)]=_0x4c05a8;}[_0x69a5c7(0x2f1)](){const _0x2f31b1=_0x69a5c7;return++this[_0x2f31b1(0x1e4)];}['commitSnapshot'](_0x2a209c,_0x2b5a4e){const _0x2adbbc=_0x69a5c7;return _0x2b5a4e===this['_version']?(G(this[_0x2adbbc(0x4b9)]),this['_image']=_0x2a209c,!0x0):(G(_0x2a209c),!0x1);}[_0x69a5c7(0x33b)](){}[_0x69a5c7(0x3d3)](){const _0x185605=_0x69a5c7;this[_0x185605(0x1e4)]+=0x1;}[_0x69a5c7(0x298)](){const _0x53926f=_0x69a5c7;let _0x43c88f=this[_0x53926f(0x4b9)];return this[_0x53926f(0x4b9)]=void 0x0,_0x43c88f;}[_0x69a5c7(0x393)](){const _0x58315b=_0x69a5c7;G(this[_0x58315b(0x4b9)]),this[_0x58315b(0x4b9)]=void 0x0,super['dispose']();}};function gi(_0x4731dc,_0x387b58,_0x3ec335){const _0xd1a349=_0x69a5c7;let _0x127223=_0x4731dc[_0xd1a349(0x314)](_0x387b58),_0x37758d={..._0x4731dc[_0xd1a349(0x338)],'runtime':{..._0x127223,'layoutInset':0x8,..._0x3ec335===void 0x0?{}:{'addWatermark':_0x3ec335}},'direction':_0x387b58};return _0x3b9cac(_0x37758d,_0x4731dc[_0xd1a349(0x24f)]);}let J=class extends _0x5f44fb{constructor(_0x242e23,_0x2cb032,_0x5d71bc,_0x337b08,_0x4ae55f,_0x50bb9f,_0x1238ed,_0x5b23d6,_0x3f8263,_0x45e25b,_0x1062a2,_0x50515f,_0x35b129){const _0x28d744=_0x69a5c7;super(),this['_chartHostProvider']=_0x242e23,this[_0x28d744(0x2b0)]=_0x2cb032,this['_chartModelService']=_0x5d71bc,this['_drawingManagerService']=_0x337b08,this[_0x28d744(0x2f3)]=_0x4ae55f,this[_0x28d744(0x410)]=_0x50bb9f,this[_0x28d744(0x36a)]=_0x1238ed,this['_injector']=_0x5b23d6,this[_0x28d744(0x453)]=_0x3f8263,this[_0x28d744(0x292)]=_0x45e25b,this[_0x28d744(0x350)]=_0x1062a2,this[_0x28d744(0x3d6)]=_0x50515f,this['_renderModelManager']=_0x35b129,W(this,_0x28d744(0x295),new Map()),W(this,_0x28d744(0x412),new Map()),W(this,'_chartEventSubscriptions',new Map()),W(this,_0x28d744(0x206),new Map()),W(this,_0x28d744(0x36b),new Map()),W(this,'_debounceHandleMap',new Map()),W(this,_0x28d744(0x281),new Map()),W(this,_0x28d744(0x439),void 0x0),W(this,_0x28d744(0x4bf),void 0x0),W(this,_0x28d744(0x3cb),new Map()),W(this,_0x28d744(0x381),new Set()),W(this,'_dataUpdateAnimationTimers',new Map()),W(this,_0x28d744(0x2ad),null),W(this,_0x28d744(0x28c),null);let _0x127d78=_0x119e1e(this[_0x28d744(0x203)]),_0x3a792d=this['_configService'][_0x28d744(0x23d)](_0x4c1a80);this[_0x28d744(0x439)]=(_0x3a792d==null?void 0x0:_0x3a792d[_0x28d744(0x39e)])??mi,this['_addWatermark']=_0x127d78['length']!==0x1||_0x127d78[0x0]!==_0x28d744(0x398),this['_registerChartImageRenderObjectFactory'](),this[_0x28d744(0x470)](),this[_0x28d744(0x3a7)](),this[_0x28d744(0x35f)](),this['handleActiveSubUnitChange']();}['getChartSnapshotImage'](_0x46fb07){const _0x164754=_0x69a5c7;let _0xbd77ca=this['_getChartSnapshotKey'](_0x46fb07);return _0xbd77ca?this[_0x164754(0x3d6)][_0x164754(0x3bb)](_0xbd77ca):void 0x0;}[_0x69a5c7(0x3eb)](_0x4a17c8){const _0x109fbc=_0x69a5c7;var _0x53ee14;return((_0x53ee14=this[_0x109fbc(0x3c5)][_0x109fbc(0x2c4)])==null?void 0x0:_0x53ee14['id'])===_0x4a17c8?_0x339cde[_0x109fbc(0x212)]:this[_0x109fbc(0x439)];}[_0x69a5c7(0x4a7)](_0x350574){const _0x4ef4ee=_0x69a5c7;let _0x23a55a=this[_0x4ef4ee(0x2b0)][_0x4ef4ee(0x454)](_0x350574);return _0x23a55a?{'unitId':_0x23a55a[_0x4ef4ee(0x1ee)],'subUnitId':_0x23a55a[_0x4ef4ee(0x419)],'chartId':_0x350574}:null;}[_0x69a5c7(0x3b9)](){const _0x28cc18=_0x69a5c7;this[_0x28cc18(0x439)]===_0x339cde[_0x28cc18(0x49a)]&&this[_0x28cc18(0x237)](this[_0x28cc18(0x2b0)]['registerRenderObjectFactory'](_0x56b014['DRAWING_CHART'],({key:_0x5690c3,config:_0x44b98d,unitId:_0x3c3737,subUnitId:_0x153003,drawingId:_0x2de0de})=>new ei(_0x5690c3,_0x44b98d,()=>this[_0x28cc18(0x3d6)]['getImage']({'unitId':_0x3c3737,'subUnitId':_0x153003,'chartId':_0x2de0de}),()=>this['_chartHostProvider'][_0x28cc18(0x2ed)](_0x2de0de))));}[_0x69a5c7(0x470)](){const _0x2595c4=_0x69a5c7;this[_0x2595c4(0x237)](this[_0x2595c4(0x3c5)][_0x2595c4(0x1e3)][_0x2595c4(0x32e)](_0x5f5760=>{const _0x1e20aa=_0x2595c4;let _0x43a168=(_0x5f5760==null?void 0x0:_0x5f5760['id'])??null,_0x55fa09=this[_0x1e20aa(0x2ad)];_0x55fa09!==_0x43a168&&(_0x55fa09&&(this[_0x1e20aa(0x230)][_0x1e20aa(0x251)](_0x55fa09),this[_0x1e20aa(0x21f)](_0x55fa09),this[_0x1e20aa(0x3b1)](_0x55fa09)),this[_0x1e20aa(0x2ad)]=_0x43a168,_0x43a168&&(this['_deactivateDataUpdateAnimation'](_0x43a168),this[_0x1e20aa(0x230)][_0x1e20aa(0x251)](_0x43a168),this[_0x1e20aa(0x3be)](_0x43a168),this[_0x1e20aa(0x252)](_0x43a168)));}));}['_initDrawingDeactivationListener'](){const _0x56ca16=_0x69a5c7;this[_0x56ca16(0x237)](this[_0x56ca16(0x4a9)][_0x56ca16(0x266)][_0x56ca16(0x32e)](_0x52a8ac=>{const _0x24a6b4=_0x56ca16;var _0x3ee70c;let _0x25623b=(_0x3ee70c=this[_0x24a6b4(0x3c5)][_0x24a6b4(0x2c4)])==null?void 0x0:_0x3ee70c['id'];_0x25623b&&_0x52a8ac['some'](_0x3f41e9=>_0x3f41e9['children'][_0x24a6b4(0x400)](_0x457a15=>_0x457a15[_0x24a6b4(0x3c1)]===_0x25623b))&&this[_0x24a6b4(0x3c5)][_0x24a6b4(0x259)](null);})),this['disposeWithMe'](this[_0x56ca16(0x4a9)][_0x56ca16(0x438)][_0x56ca16(0x32e)](_0x3b0100=>{const _0x117dd7=_0x56ca16;var _0xc39b10;let _0x8bd95a=(_0xc39b10=this[_0x117dd7(0x3c5)]['activeChartModel'])==null?void 0x0:_0xc39b10['id'];_0x8bd95a&&_0x3b0100['some'](_0x5d0d80=>_0x5d0d80['parent'][_0x117dd7(0x3c1)]===_0x8bd95a||_0x5d0d80[_0x117dd7(0x2e0)]['some'](_0x13214c=>_0x13214c[_0x117dd7(0x3c1)]===_0x8bd95a))&&this[_0x117dd7(0x3c5)][_0x117dd7(0x259)](null);}));}[_0x69a5c7(0x35f)](){const _0x328b87=_0x69a5c7;this[_0x328b87(0x237)](this['_drawingManagerService'][_0x328b87(0x313)][_0x328b87(0x32e)](_0x32b91f=>{const _0x2efd53=_0x328b87;var _0x2d2215;let _0x546bb1=(_0x2d2215=this[_0x2efd53(0x3c5)][_0x2efd53(0x2c4)])==null?void 0x0:_0x2d2215['id'];if(!_0x546bb1){_0x32b91f[_0x2efd53(0x27b)][_0x2efd53(0x330)](_0x51479c=>{const _0x18ecd2=_0x2efd53;this[_0x18ecd2(0x3c5)][_0x18ecd2(0x3a4)](_0x51479c)&&this['_resetChartRuntimeZIndex'](_0x51479c);});return;}let _0x5587df=this[_0x2efd53(0x2b0)][_0x2efd53(0x454)](_0x546bb1);(_0x5587df==null?void 0x0:_0x5587df['unitId'])===_0x32b91f[_0x2efd53(0x1ee)]&&_0x5587df[_0x2efd53(0x419)]===_0x32b91f[_0x2efd53(0x419)]&&this[_0x2efd53(0x3be)](_0x546bb1);})),this[_0x328b87(0x237)](this[_0x328b87(0x4a9)][_0x328b87(0x4b1)][_0x328b87(0x32e)](_0x215819=>{const _0xd6b23b=_0x328b87;var _0x2a960a;let _0x362641=(_0x2a960a=this[_0xd6b23b(0x3c5)][_0xd6b23b(0x2c4)])==null?void 0x0:_0x2a960a['id'];if(!_0x362641)return;let _0x19a72e=this['_sheetCanvasFloatDomManagerService'][_0xd6b23b(0x454)](_0x362641);_0x19a72e&&_0x215819[_0xd6b23b(0x400)](_0x29ae20=>_0x29ae20[_0xd6b23b(0x1ee)]===_0x19a72e[_0xd6b23b(0x1ee)]&&_0x29ae20['subUnitId']===_0x19a72e[_0xd6b23b(0x419)])&&this[_0xd6b23b(0x3be)](_0x362641);})),this[_0x328b87(0x237)](this['_chartModelService'][_0x328b87(0x21e)][_0x328b87(0x32e)](_0x212288=>{const _0x1b94ee=_0x328b87;var _0x4e0172;this[_0x1b94ee(0x347)](_0x212288),this[_0x1b94ee(0x2fc)](_0x212288),this[_0x1b94ee(0x412)]['delete'](_0x212288),this['_deactivateDataUpdateAnimation'](_0x212288),this[_0x1b94ee(0x3cb)][_0x1b94ee(0x21b)](_0x212288),this[_0x1b94ee(0x3d6)]['clearChart'](_0x212288),this[_0x1b94ee(0x32c)](_0x212288),this[_0x1b94ee(0x230)][_0x1b94ee(0x251)](_0x212288),((_0x4e0172=this[_0x1b94ee(0x3c5)]['activeChartModel'])==null?void 0x0:_0x4e0172['id'])===_0x212288?this[_0x1b94ee(0x3c5)][_0x1b94ee(0x259)](null):this[_0x1b94ee(0x21f)](_0x212288),this[_0x1b94ee(0x309)](_0x212288);}));}[_0x69a5c7(0x252)](_0x51172f){const _0x4a4cc0=_0x69a5c7;let _0x22c0e7=this[_0x4a4cc0(0x3cb)]['get'](_0x51172f);_0x22c0e7&&this[_0x4a4cc0(0x36e)](_0x51172f,_0x22c0e7[_0x4a4cc0(0x42d)],_0x22c0e7[_0x4a4cc0(0x338)]);}[_0x69a5c7(0x3b1)](_0x5108d2){const _0x4a090f=_0x69a5c7;let _0x2b1c7b=this[_0x4a090f(0x295)]['get'](_0x5108d2);(_0x2b1c7b==null?void 0x0:_0x2b1c7b['mode'])===_0x4a090f(0x40e)&&(this[_0x4a090f(0x2fc)](_0x5108d2),_0x2b1c7b['dispose'](),this[_0x4a090f(0x295)][_0x4a090f(0x21b)](_0x5108d2)),this[_0x4a090f(0x230)][_0x4a090f(0x251)](_0x5108d2),this[_0x4a090f(0x230)][_0x4a090f(0x458)](_0x5108d2);}[_0x69a5c7(0x309)](_0x157ac4){const _0x53dd52=_0x69a5c7;let _0x2ec2c5=this[_0x53dd52(0x295)][_0x53dd52(0x39d)](_0x157ac4);_0x2ec2c5&&(this[_0x53dd52(0x2fc)](_0x157ac4),_0x2ec2c5[_0x53dd52(0x393)](),this[_0x53dd52(0x295)][_0x53dd52(0x21b)](_0x157ac4)),this[_0x53dd52(0x230)][_0x53dd52(0x251)](_0x157ac4),this[_0x53dd52(0x230)][_0x53dd52(0x458)](_0x157ac4);}[_0x69a5c7(0x32c)](_0x4b6d1b){const _0x13112c=_0x69a5c7;var _0x207861,_0x53797c;(_0x207861=this[_0x13112c(0x4b4)][_0x13112c(0x3ef)](_0x22ce5a))==null||(_0x53797c=_0x207861['emitChartEvent'])==null||_0x53797c[_0x13112c(0x4b0)](_0x207861,{'type':_0x13112c(0x233),'chartId':_0x4b6d1b});}[_0x69a5c7(0x362)](_0x529659,_0x3c3ad0){const _0x2d1053=_0x69a5c7;let _0x58f8c7=this['_drawingManagerService'][_0x2d1053(0x247)](_0x529659,_0x3c3ad0);Object[_0x2d1053(0x42e)](_0x58f8c7??{})['forEach'](_0x1008f4=>{const _0x2feacf=_0x2d1053;if(_0x1008f4[_0x2feacf(0x33f)]===_0x56b014['DRAWING_CHART']){var _0x4dd1fc,_0x35dbff;(_0x4dd1fc=this[_0x2feacf(0x4b4)][_0x2feacf(0x3ef)](_0x22ce5a))==null||(_0x35dbff=_0x4dd1fc['emitChartEvent'])==null||_0x35dbff[_0x2feacf(0x4b0)](_0x4dd1fc,{'type':_0x2feacf(0x3cf),'chartId':_0x1008f4['drawingId']});}});}[_0x69a5c7(0x40a)](_0x69073,_0x48fd3f){const _0x9978f4=_0x69a5c7;var _0x37ad44;return((_0x37ad44=_0x69073[_0x9978f4(0x3a3)])==null?void 0x0:_0x37ad44[_0x9978f4(0x4b0)](_0x69073,_0x48fd3f))??_0x69073[_0x9978f4(0x2d1)](_0x48fd3f)??null;}[_0x69a5c7(0x351)](_0x18ea2a){const _0x1bee2b=_0x69a5c7;var _0x1aadbd;let _0x354855=this[_0x1bee2b(0x2b0)]['getFloatDomInfo'](_0x18ea2a);if(!_0x354855)return null;let _0x252e78=(_0x1aadbd=this[_0x1bee2b(0x410)][_0x1bee2b(0x420)](_0x354855[_0x1bee2b(0x1ee)]))==null?void 0x0:_0x1aadbd[_0x1bee2b(0x2a1)];if(!_0x252e78)return null;let _0x3e214a=this[_0x1bee2b(0x40a)](_0x252e78,_0x558e11({'unitId':_0x354855['unitId'],'subUnitId':_0x354855['subUnitId'],'drawingId':_0x18ea2a}));return _0x3e214a?{'info':_0x354855,'scene':_0x252e78,'chartObject':_0x3e214a}:null;}[_0x69a5c7(0x48f)](_0x2a4ae7,_0x13d16a){const _0x2edaf0=_0x69a5c7;var _0x1c3d56,_0x5af58b,_0x543a00,_0xc965c1;let _0x4a5882=this[_0x2edaf0(0x351)](_0x2a4ae7);_0x4a5882&&((_0x1c3d56=(_0x5af58b=_0x4a5882[_0x2edaf0(0x209)])[_0x2edaf0(0x1db)])==null||_0x1c3d56[_0x2edaf0(0x4b0)](_0x5af58b,{'zIndex':_0x13d16a}),(_0x543a00=(_0xc965c1=_0x4a5882['chartObject'])['makeDirty'])==null||_0x543a00['call'](_0xc965c1,!0x0),_0x4a5882[_0x2edaf0(0x2a1)][_0x2edaf0(0x376)](!0x0));}[_0x69a5c7(0x3be)](_0x56abaf){const _0x2f6faf=_0x69a5c7;let _0x5a4d79=this[_0x2f6faf(0x2b0)]['getFloatDomInfo'](_0x56abaf);if(!_0x5a4d79)return;let _0x330515=this['_drawingManagerService'][_0x2f6faf(0x304)](_0x5a4d79[_0x2f6faf(0x1ee)],_0x5a4d79['subUnitId']);this['_setChartRuntimeZIndex'](_0x56abaf,_0x330515[_0x2f6faf(0x44b)]);}[_0x69a5c7(0x21f)](_0x27de51){const _0x187673=_0x69a5c7;let _0x14f4f5=this[_0x187673(0x2b0)]['getFloatDomInfo'](_0x27de51);if(!_0x14f4f5)return;let _0x383874=this[_0x187673(0x4a9)]['getDrawingOrder'](_0x14f4f5['unitId'],_0x14f4f5[_0x187673(0x419)]),_0x2968ff=_0x383874['indexOf'](_0x27de51);this[_0x187673(0x48f)](_0x27de51,_0x2968ff===-0x1?Math[_0x187673(0x2dc)](_0x383874[_0x187673(0x44b)]-0x1,0x0):_0x2968ff);}[_0x69a5c7(0x3de)](_0x443a85,_0x5f10cf){const _0x4e23dc=_0x69a5c7;let _0x1da764=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x443a85);if(_0x5f10cf[_0x4e23dc(0x3fd)]!==void 0x0&&_0x5f10cf[_0x4e23dc(0x452)]!==void 0x0&&_0x1da764){var _0x3677a2;let {subUnitId:_0x56113f}=_0x1da764,_0x5b375a=(_0x3677a2=this[_0x4e23dc(0x2f3)][_0x4e23dc(0x401)](_0x3cb846[_0x4e23dc(0x216)]))==null?void 0x0:_0x3677a2['getActiveSheet']();if((_0x5b375a==null?void 0x0:_0x5b375a[_0x4e23dc(0x36c)]())===_0x56113f){let {width:_0x2f5eb1,height:_0x15bc30}=_0x5f10cf,_0x16f313=this['_chartModelService'][_0x4e23dc(0x3a4)](_0x443a85),_0x13feaf=_0x16f313==null?void 0x0:_0x16f313[_0x4e23dc(0x338)];(Math[_0x4e23dc(0x236)](_0x2f5eb1-((_0x13feaf==null?void 0x0:_0x13feaf['width'])||0x0))>0x1||Math[_0x4e23dc(0x236)](_0x15bc30-((_0x13feaf==null?void 0x0:_0x13feaf[_0x4e23dc(0x452)])||0x0))>0x1)&&(_0x16f313==null||_0x16f313[_0x4e23dc(0x249)]({..._0x13feaf,'width':_0x2f5eb1,'height':_0x15bc30}));}}}[_0x69a5c7(0x1dc)](_0x2c8952,_0x486bbc,_0x4fbdfe=0x0){const _0x50def5=_0x69a5c7;let _0x448b41=this[_0x50def5(0x320)][_0x50def5(0x39d)](_0x2c8952);_0x448b41||(_0x448b41=_0x32b3ce(_0x3b27b7=>{const _0x3905a5=_0x50def5;this[_0x3905a5(0x3de)](_0x2c8952,_0x3b27b7);},_0x4fbdfe),this[_0x50def5(0x320)][_0x50def5(0x46c)](_0x2c8952,_0x448b41)),_0x448b41(_0x486bbc);}[_0x69a5c7(0x345)](){const _0x46aaee=_0x69a5c7;let _0xff87e=this[_0x46aaee(0x36b)],_0x4c711b=_0x23d3af=>{const _0x5d1b0b=_0x46aaee;if(!_0xff87e[_0x5d1b0b(0x29a)](_0x23d3af)){let _0x19b243=_0x32b3ce((_0x4c0ca5,_0x12bd77,_0x2ab59c,_0x20376a)=>{const _0x253f06=_0x5d1b0b;var _0x24dce9,_0x162598;if(!_0x2ab59c)return;(_0x24dce9=_0x2ab59c[_0x253f06(0x371)])==null||_0x24dce9[_0x253f06(0x24a)]['forEach']((_0x8996c7,_0x3b2d7b)=>{const _0x37bd3a=_0x253f06;_0x8996c7[_0x37bd3a(0x386)]||=this['_localeService']['t'](_0x37bd3a(0x2cd))+'\x20'+(_0x3b2d7b+0x1);}),_0x2ab59c[_0x253f06(0x415)][_0x253f06(0x330)]((_0x1af503,_0x1f4249)=>{const _0x2ea794=_0x253f06;_0x1af503[_0x2ea794(0x3f8)]||=this[_0x2ea794(0x36a)]['t'](_0x2ea794(0x44f))+'\x20'+(_0x1f4249+0x1);});let _0x59d80c=this['createRuntimeChartStyle'](_0x4c0ca5,_0x20376a),_0x26cb19=(_0x162598=this[_0x253f06(0x2f3)][_0x253f06(0x401)](_0x3cb846[_0x253f06(0x216)]))==null?void 0x0:_0x162598[_0x253f06(0x469)]();(_0x26cb19==null?void 0x0:_0x26cb19[_0x253f06(0x36c)]())===_0x12bd77&&this['render'](_0x4c0ca5['id'],_0x2ab59c,_0x59d80c);},0x11);_0xff87e[_0x5d1b0b(0x46c)](_0x23d3af,_0x19b243);}return _0xff87e['get'](_0x23d3af);};this[_0x46aaee(0x237)](this[_0x46aaee(0x2f3)]['focused$'][_0x46aaee(0x32e)](_0x2685ce=>{const _0x432743=_0x46aaee;let _0x486d8e=this[_0x432743(0x2f3)][_0x432743(0x401)](_0x3cb846[_0x432743(0x216)]);if(_0x2685ce&&_0x486d8e&&_0x486d8e['getUnitId']()===_0x2685ce){var _0x8bca73;let _0x3fbcf6=_0x486d8e['getActiveSheet']()['getSheetId']();this[_0x432743(0x28c)]&&(this[_0x432743(0x28c)][_0x432743(0x1ee)]!==_0x2685ce||this[_0x432743(0x28c)][_0x432743(0x419)]!==_0x3fbcf6)&&this[_0x432743(0x362)](this['_lastActiveSheet'][_0x432743(0x1ee)],this[_0x432743(0x28c)][_0x432743(0x419)]),this[_0x432743(0x28c)]={'unitId':_0x2685ce,'subUnitId':_0x3fbcf6};let _0x4ccee8=this[_0x432743(0x4a9)]['getDrawingData'](_0x2685ce,_0x3fbcf6);if(!((_0x8bca73=this[_0x432743(0x410)][_0x432743(0x420)](_0x2685ce))!=null&&_0x8bca73['with'](_0x3b1fb0)[_0x432743(0x267)](_0x3fbcf6)))return;if(_0x4ccee8)for(let _0x21d90d in _0x4ccee8){let {drawingId:_0x316501}=_0x4ccee8[_0x21d90d],_0x3dd488=this[_0x432743(0x3c5)][_0x432743(0x3a4)](_0x316501);_0x3dd488&&_0x4c711b(_0x3dd488['id'])(_0x3dd488,_0x3fbcf6,_0x3dd488[_0x432743(0x42d)],this['_localeService'][_0x432743(0x403)]());}}})),this[_0x46aaee(0x237)](this['_themeService'][_0x46aaee(0x2ca)][_0x46aaee(0x32e)](()=>{const _0x99a76a=_0x46aaee;var _0x4f355a;let _0x4308f6=this[_0x99a76a(0x2f3)][_0x99a76a(0x401)](_0x3cb846[_0x99a76a(0x216)]);if(!_0x4308f6)return;let _0x5322d3=_0x4308f6[_0x99a76a(0x307)](),_0x9fa46e=_0x4308f6[_0x99a76a(0x469)]()[_0x99a76a(0x36c)](),_0x36d0ea=this['_drawingManagerService'][_0x99a76a(0x247)](_0x5322d3,_0x9fa46e);if((_0x4f355a=this[_0x99a76a(0x410)]['getRenderUnitById'](_0x5322d3))!=null&&_0x4f355a[_0x99a76a(0x300)](_0x3b1fb0)[_0x99a76a(0x267)](_0x9fa46e)&&_0x36d0ea)for(let _0x4d027e in _0x36d0ea){let {drawingId:_0x267d73}=_0x36d0ea[_0x4d027e],_0x2fda4b=this[_0x99a76a(0x3c5)][_0x99a76a(0x3a4)](_0x267d73);_0x2fda4b&&_0x4c711b(_0x2fda4b['id'])(_0x2fda4b,_0x9fa46e,_0x2fda4b[_0x99a76a(0x42d)],this['_localeService'][_0x99a76a(0x403)]());}})),this['disposeWithMe'](this[_0x46aaee(0x4a9)][_0x46aaee(0x4b1)][_0x46aaee(0x32e)](_0x2dbb86=>{_0x2dbb86['forEach'](_0x575da=>{const _0x3d4175=_0x20d6;var _0x32b739;let {drawingId:_0x463a15,unitId:_0x3f3d0c,subUnitId:_0x95ec73}=_0x575da,_0x2840ee=this[_0x3d4175(0x410)]['getRenderUnitById'](_0x3f3d0c);if((_0x2840ee==null?void 0x0:_0x2840ee[_0x3d4175(0x297)])!==_0x3cb846['UNIVER_SHEET']||!_0x2840ee[_0x3d4175(0x300)](_0x3b1fb0)['getSkeleton'](_0x95ec73))return;let {drawingType:_0x45c219}=this[_0x3d4175(0x4a9)][_0x3d4175(0x474)](_0x575da);if(_0x45c219!==_0x56b014[_0x3d4175(0x464)])return;let _0x49b3aa=this[_0x3d4175(0x2b0)]['getFloatDomInfo'](_0x463a15);this[_0x3d4175(0x347)](_0x463a15);let _0x3a6ab2=new _0x5f44fb();this[_0x3d4175(0x281)][_0x3d4175(0x46c)](_0x463a15,_0x3a6ab2);let _0x413f70=(_0x49b3aa==null?void 0x0:_0x49b3aa[_0x3d4175(0x2b3)])??_0x463a15,_0x24c88e=_0x49b3aa==null?void 0x0:_0x49b3aa[_0x3d4175(0x35e)],_0x3469ef=(_0x32b739=this['_renderManagerService']['getRenderUnitById'](_0x3f3d0c))==null?void 0x0:_0x32b739['scene'];if(_0x24c88e){let _0x1eb1a2=new Xr(_0x24c88e,_0x4171f1=>{const _0x4ca195=_0x3d4175;var _0x1133ed;let _0xb6621e=this[_0x4ca195(0x2f3)][_0x4ca195(0x401)](_0x3cb846[_0x4ca195(0x216)]);if((_0xb6621e==null?void 0x0:_0xb6621e['getUnitId']())===_0x3f3d0c&&((_0x1133ed=_0xb6621e['getActiveSheet']())==null?void 0x0:_0x1133ed['getSheetId']())===_0x95ec73&&(this[_0x4ca195(0x230)]['syncHostLayout'](_0x463a15),_0x4171f1)){var _0x4e3b72;(_0x4e3b72=this[_0x4ca195(0x295)][_0x4ca195(0x39d)](_0x463a15))==null||_0x4e3b72[_0x4ca195(0x391)](),this[_0x4ca195(0x1dc)](_0x463a15,{'width':_0x24c88e[_0x4ca195(0x3fd)],'height':_0x24c88e[_0x4ca195(0x452)]},0x64);}});_0x3a6ab2[_0x3d4175(0x237)](_0x1eb1a2),_0x3a6ab2[_0x3d4175(0x237)](this[_0x3d4175(0x2f3)][_0x3d4175(0x2d9)][_0x3d4175(0x32e)](()=>_0x1eb1a2[_0x3d4175(0x239)]())),_0x3469ef&&_0x3a6ab2[_0x3d4175(0x237)](_0x3469ef['getTransformerByCreate']()[_0x3d4175(0x428)][_0x3d4175(0x32e)](({objects:_0xc0c06e})=>{const _0x349bd2=_0x3d4175;if(_0xc0c06e[_0x349bd2(0x29a)](_0x24c88e[_0x349bd2(0x4c5)])){var _0x287d53;_0x1eb1a2['flush'](),(_0x287d53=this[_0x349bd2(0x320)][_0x349bd2(0x39d)](_0x463a15))==null||_0x287d53['flush']();}}));}_0x3469ef&&_0x3a6ab2[_0x3d4175(0x237)](_0x3469ef['onTransformChange$'][_0x3d4175(0x436)](_0x36eabc=>{const _0x55bae2=_0x3d4175;var _0x2706c4;_0x36eabc[_0x55bae2(0x297)]===_0x111a6e[_0x55bae2(0x475)]&&(_0x2706c4=document['getElementById'](_0x413f70))!=null&&_0x2706c4[_0x55bae2(0x2df)](_0x55bae2(0x35a))&&this[_0x55bae2(0x230)][_0x55bae2(0x48e)](_0x463a15);}));let _0x25dd12=this[_0x3d4175(0x3c5)][_0x3d4175(0x3a4)](_0x463a15);_0x25dd12&&_0x3a6ab2[_0x3d4175(0x237)](_0x491efe([_0x25dd12[_0x3d4175(0x446)],_0x25dd12[_0x3d4175(0x2b5)],this[_0x3d4175(0x36a)][_0x3d4175(0x319)]])[_0x3d4175(0x32e)](([_0x87630,_0x88d63b,_0x390b80])=>{_0x4c711b(_0x25dd12['id'])(_0x25dd12,_0x95ec73,_0x87630,_0x390b80);}));});})),this[_0x46aaee(0x237)](_0x491efe([this[_0x46aaee(0x4a9)][_0x46aaee(0x22f)]])[_0x46aaee(0x32e)](([_0xbeb2aa])=>{const _0x3a9987=_0x46aaee;_0xbeb2aa[_0x3a9987(0x330)](_0x4d1069=>{const _0xa7f54f=_0x3a9987;var _0x42138b;let {drawingId:_0x20cdf8}=_0x4d1069;this[_0xa7f54f(0x347)](_0x20cdf8),((_0x42138b=this[_0xa7f54f(0x3c5)]['activeChartModel'])==null?void 0x0:_0x42138b['id'])===_0x20cdf8&&this[_0xa7f54f(0x3c5)]['setActiveChartModel'](null),this[_0xa7f54f(0x2fc)](_0x20cdf8),this[_0xa7f54f(0x230)]['markHostNotReady'](_0x20cdf8),this[_0xa7f54f(0x21f)](_0x20cdf8),this[_0xa7f54f(0x309)](_0x20cdf8),this[_0xa7f54f(0x3d6)][_0xa7f54f(0x38f)](_0x20cdf8),this[_0xa7f54f(0x32c)](_0x20cdf8),this['_lastRenderInputMap'][_0xa7f54f(0x21b)](_0x20cdf8),this[_0xa7f54f(0x206)][_0xa7f54f(0x21b)](_0x20cdf8);});}));}['setElementEditMode'](_0x12ed3a,_0x2d1e99){const _0x2945a7=_0x69a5c7;var _0xe43610;_0x2d1e99?this[_0x2945a7(0x206)]['set'](_0x12ed3a,!0x0):this[_0x2945a7(0x206)]['delete'](_0x12ed3a),(_0xe43610=this[_0x2945a7(0x295)][_0x2945a7(0x39d)](_0x12ed3a))==null||_0xe43610['setElementEditMode'](_0x2d1e99);}async['exportImage'](_0x550388,_0x1af9f6){const _0x1af40d=_0x69a5c7;var _0x237f53;let _0x5237eb=this[_0x1af40d(0x3cb)][_0x1af40d(0x39d)](_0x550388),_0x15a0bb=(_0x237f53=this[_0x1af40d(0x2b0)][_0x1af40d(0x454)](_0x550388))==null?void 0x0:_0x237f53[_0x1af40d(0x35e)];if(_0x5237eb&&_0x15a0bb)return(await this[_0x1af40d(0x4b4)][_0x1af40d(0x352)]({'chartId':_0x550388,'config':_0x5237eb['config'],'style':_0x5237eb[_0x1af40d(0x338)],'width':_0x15a0bb[_0x1af40d(0x3fd)],'height':_0x15a0bb[_0x1af40d(0x452)]},_0x1af9f6))['dataUrl'];if((_0x1af9f6==null?void 0x0:_0x1af9f6[_0x1af40d(0x25c)])===_0x38cf3f['SVG'])return;let _0x196c50=this['_getCurrentSnapshotImage'](_0x550388);return _0x196c50?_0x2eb5b6(_0x196c50):void 0x0;}['on'](_0x3eb67e,_0x5093de,_0x25fbbe){const _0x3e8696=_0x69a5c7;let _0x441c3f=this[_0x3e8696(0x412)][_0x3e8696(0x39d)](_0x3eb67e);_0x441c3f||(_0x441c3f=new Map(),this[_0x3e8696(0x412)][_0x3e8696(0x46c)](_0x3eb67e,_0x441c3f));let _0x1217bc=_0x441c3f[_0x3e8696(0x39d)](_0x5093de);_0x1217bc||(_0x1217bc=new Set(),_0x441c3f[_0x3e8696(0x46c)](_0x5093de,_0x1217bc)),_0x1217bc[_0x3e8696(0x337)](_0x25fbbe);let _0x438876=this[_0x3e8696(0x295)]['get'](_0x3eb67e);return _0x438876&&this[_0x3e8696(0x349)](_0x3eb67e,_0x438876,_0x5093de,_0x25fbbe),{'dispose':()=>{const _0x508456=_0x3e8696;var _0x2f0925;(_0x2f0925=this[_0x508456(0x412)][_0x508456(0x39d)](_0x3eb67e))==null||(_0x2f0925=_0x2f0925[_0x508456(0x39d)](_0x5093de))==null||_0x2f0925[_0x508456(0x21b)](_0x25fbbe),this[_0x508456(0x1ec)](_0x3eb67e,_0x5093de,_0x25fbbe);}};}['_getCurrentSnapshotImage'](_0x32798b){const _0x18830c=_0x69a5c7;let _0x1c25e8=this[_0x18830c(0x2f3)][_0x18830c(0x401)](_0x3cb846[_0x18830c(0x216)]),_0x3e9fe7=_0x1c25e8==null?void 0x0:_0x1c25e8[_0x18830c(0x469)](),_0xba352d=_0x1c25e8==null?void 0x0:_0x1c25e8[_0x18830c(0x307)](),_0x157f64=_0x3e9fe7==null?void 0x0:_0x3e9fe7[_0x18830c(0x36c)]();if(_0xba352d&&_0x157f64)return this[_0x18830c(0x3d6)][_0x18830c(0x3bb)]({'unitId':_0xba352d,'subUnitId':_0x157f64,'chartId':_0x32798b});}[_0x69a5c7(0x3b6)](_0x5cb3dc,_0x30890e){const _0x25e868=_0x69a5c7;let _0x180eaf=this[_0x25e868(0x412)]['get'](_0x5cb3dc);_0x180eaf&&_0x180eaf['forEach']((_0x5725c3,_0x298eae)=>{const _0x3ac14d=_0x25e868;_0x5725c3['forEach'](_0x59576e=>this[_0x3ac14d(0x349)](_0x5cb3dc,_0x30890e,_0x298eae,_0x59576e));});}[_0x69a5c7(0x349)](_0x1df58f,_0x2250ff,_0x5b1adf,_0x141604){const _0x5045fb=_0x69a5c7;let _0x5c1b37=this['_chartEventSubscriptions'][_0x5045fb(0x39d)](_0x1df58f);_0x5c1b37||(_0x5c1b37=new Map(),this['_chartEventSubscriptions'][_0x5045fb(0x46c)](_0x1df58f,_0x5c1b37));let _0x2bbba4=_0x5c1b37[_0x5045fb(0x39d)](_0x5b1adf);_0x2bbba4||(_0x2bbba4=new Map(),_0x5c1b37['set'](_0x5b1adf,_0x2bbba4)),!_0x2bbba4[_0x5045fb(0x29a)](_0x141604)&&_0x2bbba4[_0x5045fb(0x46c)](_0x141604,_0x2250ff['on'](_0x5b1adf,_0x141604));}[_0x69a5c7(0x1ec)](_0x508db1,_0x2a323a,_0x397a21){const _0x5a430f=_0x69a5c7;var _0xd67d5,_0x583696;let _0xa1cbd5=(_0xd67d5=this[_0x5a430f(0x3e4)][_0x5a430f(0x39d)](_0x508db1))==null?void 0x0:_0xd67d5['get'](_0x2a323a);_0xa1cbd5==null||(_0x583696=_0xa1cbd5[_0x5a430f(0x39d)](_0x397a21))==null||_0x583696['dispose'](),_0xa1cbd5==null||_0xa1cbd5[_0x5a430f(0x21b)](_0x397a21);}['_disposeChartEventSubscriptions'](_0x2a977f){const _0x6c9cf4=_0x69a5c7;let _0x54a6b0=this['_chartEventSubscriptions'][_0x6c9cf4(0x39d)](_0x2a977f);_0x54a6b0==null||_0x54a6b0[_0x6c9cf4(0x330)](_0x2b8a4d=>{const _0x348b78=_0x6c9cf4;_0x2b8a4d[_0x348b78(0x330)](_0x380a48=>_0x380a48[_0x348b78(0x393)]()),_0x2b8a4d[_0x348b78(0x4bb)]();}),this['_chartEventSubscriptions'][_0x6c9cf4(0x21b)](_0x2a977f);}[_0x69a5c7(0x394)](_0x307ebe,_0x4520a0){return gi(_0x307ebe,_0x4520a0,this['_addWatermark']);}['checkChartCanRender'](_0x7346cc){const _0x3488a4=_0x69a5c7;return this[_0x3488a4(0x1da)](_0x7346cc)==null;}['_getChartRenderSkipReason'](_0xb5556){const _0x22f309=_0x69a5c7;var _0x59c620;let _0x36d7a3=this[_0x22f309(0x2b0)]['getFloatDomInfo'](_0xb5556);if(!_0x36d7a3)return _0x22f309(0x3d5);let {subUnitId:_0x55624b}=_0x36d7a3,_0x320afc=(_0x59c620=this[_0x22f309(0x2f3)][_0x22f309(0x401)](_0x3cb846[_0x22f309(0x216)]))==null?void 0x0:_0x59c620[_0x22f309(0x469)]();if(!_0x320afc)return _0x22f309(0x1dd);if(_0x320afc[_0x22f309(0x36c)]()!==_0x55624b)return _0x22f309(0x4c1);}async['render'](_0x5cc106,_0x46d8b7,_0x138183,_0x3a97de={}){const _0xc17145=_0x69a5c7;let _0x5dcba9=this[_0xc17145(0x4b4)][_0xc17145(0x3ef)](_0x22ce5a);if(!_0x5dcba9)return;let _0x251e9c=this[_0xc17145(0x3cb)][_0xc17145(0x39d)](_0x5cc106);if(this[_0xc17145(0x3cb)][_0xc17145(0x46c)](_0x5cc106,{'config':_0x46d8b7,'style':_0x138183}),this[_0xc17145(0x1da)](_0x5cc106))return;let {canAnimate:_0xa6b601,renderMode:_0x5a0325,shouldStartTransientAnimation:_0x5bede3,transientAnimationActive:_0x4ed532}=this['_prepareDataUpdateRender'](_0x5cc106,_0x251e9c!=null,_0x3a97de[_0xc17145(0x262)]===!0x0);if(_0x5a0325===_0x339cde[_0xc17145(0x49a)])this[_0xc17145(0x3b1)](_0x5cc106);else{var _0x18bf85;this['_chartHostProvider'][_0xc17145(0x3d3)](_0x5cc106),((_0x18bf85=this[_0xc17145(0x3c5)][_0xc17145(0x2c4)])==null?void 0x0:_0x18bf85['id'])===_0x5cc106&&this[_0xc17145(0x3be)](_0x5cc106);}let _0x25a676=_0x5a0325===_0x339cde[_0xc17145(0x49a)]?_0x339cde[_0xc17145(0x49a)]:_0x339cde[_0xc17145(0x212)],_0x3950d8=await this[_0xc17145(0x230)]['ensureHost'](_0x5cc106,_0x25a676);if(!_0x3950d8){_0x5bede3&&this[_0xc17145(0x1df)](_0x5cc106);return;}this[_0xc17145(0x230)][_0xc17145(0x25b)](_0x5cc106,_0x4ed532?_0x27627e:null);let _0x4a0e6a=this[_0xc17145(0x389)](_0x5cc106,_0x25a676,_0x5dcba9);_0x4a0e6a[_0xc17145(0x3a9)](_0x3950d8);try{let _0x37581a={'chartId':_0x5cc106,'config':_0x46d8b7,'style':_0x138183};_0xa6b601&&_0x251e9c&&_0x4a0e6a[_0xc17145(0x290)]?await _0x4a0e6a[_0xc17145(0x290)]({'chartId':_0x5cc106,'config':_0x251e9c[_0xc17145(0x42d)],'style':_0x251e9c[_0xc17145(0x338)]},_0x37581a,{'duration':_0x27627e}):await _0x4a0e6a[_0xc17145(0x36e)](_0x37581a),await this[_0xc17145(0x1fa)](_0x5cc106,_0x5a0325,_0x4a0e6a),_0xa6b601&&_0x4ed532&&this['_scheduleDataUpdateAnimationEnd'](_0x5cc106);}catch(_0x1ddd35){if(_0x5bede3&&this[_0xc17145(0x1df)](_0x5cc106),_0x5a0325!==_0x339cde[_0xc17145(0x49a)])throw _0x1ddd35;}}async[_0x69a5c7(0x1fa)](_0x21b259,_0xb83a3,_0x237477){const _0x38d20b=_0x69a5c7;var _0x89376c;if(_0xb83a3!==_0x339cde[_0x38d20b(0x212)]||((_0x89376c=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x89376c['id'])!==_0x21b259)return;let _0x2a478b=await this[_0x38d20b(0x230)][_0x38d20b(0x2d8)](_0x21b259,_0x339cde['Image']);if(!_0x2a478b)return;let _0x21e42a=_0x2a478b[_0x38d20b(0x2f1)]();try{let _0x3f4efc=await _0x237477[_0x38d20b(0x3fc)]();_0x3f4efc&&_0x2a478b['commitSnapshot']({'type':_0x5c1e70[_0x38d20b(0x408)],'url':_0x3f4efc},_0x21e42a)&&_0x2a478b[_0x38d20b(0x33b)]();}catch{}}[_0x69a5c7(0x2fe)](_0x606b94,_0x2ade13,_0x2acaa6){const _0x189e24=_0x69a5c7;let _0x5e1249=this[_0x189e24(0x3eb)](_0x606b94),_0x5a3414=_0x5e1249===_0x339cde[_0x189e24(0x212)]&&_0x2acaa6&&_0x2ade13&&this[_0x189e24(0x2ec)](_0x606b94),_0xdbd71b=this['_dataUpdateAnimationChartIds'][_0x189e24(0x29a)](_0x606b94);return{'canAnimate':_0x5a3414,'renderMode':_0xdbd71b?_0x339cde[_0x189e24(0x212)]:_0x5e1249,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xdbd71b};}['_canAnimateDataUpdate'](_0x3a8255){const _0x1b0411=_0x69a5c7;var _0xee76be,_0x307611,_0xd882c5,_0x3aca8d;if(typeof document>'u'||typeof window>'u'||document[_0x1b0411(0x2a6)]===_0x1b0411(0x2d5)||(_0xee76be=(_0x307611=window)[_0x1b0411(0x258)])!=null&&(_0xee76be=_0xee76be[_0x1b0411(0x4b0)](_0x307611,_0x1b0411(0x49c)))!=null&&_0xee76be['matches']||(_0xd882c5=(_0x3aca8d=window)[_0x1b0411(0x258)])!=null&&(_0xd882c5=_0xd882c5[_0x1b0411(0x4b0)](_0x3aca8d,_0x1b0411(0x486)))!=null&&_0xd882c5['matches'])return!0x1;let _0x1b580a=this[_0x1b0411(0x230)]['getHostClientRect'](_0x3a8255);return _0x1b580a!=null&&_0x1b580a[_0x1b0411(0x3fd)]>0x0&&_0x1b580a[_0x1b0411(0x452)]>0x0&&_0x1b580a[_0x1b0411(0x380)]>0x0&&_0x1b580a[_0x1b0411(0x2f6)]>0x0&&_0x1b580a[_0x1b0411(0x213)]<window[_0x1b0411(0x2fa)]&&_0x1b580a[_0x1b0411(0x3db)]<window[_0x1b0411(0x2bb)];}[_0x69a5c7(0x3c9)](_0x4848fd){const _0x3ec7e3=_0x69a5c7;let _0x36a7e9=this[_0x3ec7e3(0x273)][_0x3ec7e3(0x39d)](_0x4848fd);_0x36a7e9&&(clearTimeout(_0x36a7e9),this[_0x3ec7e3(0x273)]['delete'](_0x4848fd)),this[_0x3ec7e3(0x381)][_0x3ec7e3(0x337)](_0x4848fd),this[_0x3ec7e3(0x230)][_0x3ec7e3(0x25b)](_0x4848fd,_0x27627e);}['_scheduleDataUpdateAnimationEnd'](_0x26cab5){const _0x10edb8=_0x69a5c7;let _0x5e9683=this[_0x10edb8(0x273)][_0x10edb8(0x39d)](_0x26cab5);_0x5e9683&&clearTimeout(_0x5e9683);let _0x3d4cbd=setTimeout(()=>{const _0x448a20=_0x10edb8;this[_0x448a20(0x273)]['delete'](_0x26cab5),this[_0x448a20(0x381)][_0x448a20(0x21b)](_0x26cab5)&&(this['_chartHostProvider'][_0x448a20(0x25b)](_0x26cab5,null),this[_0x448a20(0x3b1)](_0x26cab5),this['_rerenderLatest'](_0x26cab5));},_0x27627e);this[_0x10edb8(0x273)][_0x10edb8(0x46c)](_0x26cab5,_0x3d4cbd);}[_0x69a5c7(0x1df)](_0x50002b){const _0x3d0be0=_0x69a5c7;let _0x4ed412=this[_0x3d0be0(0x273)]['get'](_0x50002b);_0x4ed412&&(clearTimeout(_0x4ed412),this['_dataUpdateAnimationTimers'][_0x3d0be0(0x21b)](_0x50002b)),this[_0x3d0be0(0x381)][_0x3d0be0(0x21b)](_0x50002b),this[_0x3d0be0(0x230)][_0x3d0be0(0x25b)](_0x50002b,null);}async[_0x69a5c7(0x2e5)](_0x37df5d,_0x134cec,_0x3b6c08){const _0x213f97=_0x69a5c7;let _0x490027=this[_0x213f97(0x4a9)]['getDrawingData'](_0x37df5d,_0x134cec),_0x556f86=this[_0x213f97(0x4a9)][_0x213f97(0x304)](_0x37df5d,_0x134cec),_0x1202db=Object[_0x213f97(0x42e)](_0x490027??{})['filter'](_0xb97c31=>_0xb97c31[_0x213f97(0x33f)]===_0x56b014[_0x213f97(0x464)]&&_0xb97c31[_0x213f97(0x2d5)]!==!0x0);await Promise[_0x213f97(0x303)](_0x1202db['map'](async _0x1fe160=>{const _0x3a724b=_0x213f97;let _0x306dc6=await this[_0x3a724b(0x463)](_0x1fe160,_0x556f86);_0x306dc6&&(_0x3b6c08[_0x3a724b(0x3bd)](_0x306dc6,_0x427904),_0x1fe160[_0x3a724b(0x457)]&&_0x55d117({'drawingId':_0x1fe160[_0x3a724b(0x457)],'unitId':_0x37df5d,'subUnitId':_0x134cec},_0x306dc6,_0x3b6c08,this[_0x3a724b(0x4a9)]));}));}async[_0x69a5c7(0x463)](_0x4ed422,_0xffed09){const _0x3c7463=_0x69a5c7;let _0x322ce6=this[_0x3c7463(0x3c5)]['getChartModel'](_0x4ed422[_0x3c7463(0x3c1)]),_0x24259e=this['_renderModelManager'][_0x3c7463(0x3ef)](_0x22ce5a),_0x9fc7b0=_0x4ed422[_0x3c7463(0x3c7)],_0x5eb018=_0x322ce6==null?void 0x0:_0x322ce6[_0x3c7463(0x42d)];if(!_0x322ce6||!_0x24259e||!_0x9fc7b0||!_0x5eb018||_0x9fc7b0[_0x3c7463(0x3fd)]==null||_0x9fc7b0['height']==null)return null;let _0x21cd2b=new hi(_0x4ed422[_0x3c7463(0x3c1)],{'width':_0x9fc7b0[_0x3c7463(0x3fd)],'height':_0x9fc7b0['height']}),_0x4dae3f=_0x24259e[_0x3c7463(0x42f)](_0x339cde[_0x3c7463(0x49a)],this[_0x3c7463(0x323)]());_0x4dae3f[_0x3c7463(0x3a9)](_0x21cd2b);let _0x3d7ad0;try{await _0x4dae3f[_0x3c7463(0x36e)]({'chartId':_0x4ed422[_0x3c7463(0x3c1)],'config':_0x5eb018,'style':this[_0x3c7463(0x394)](_0x322ce6,this[_0x3c7463(0x36a)][_0x3c7463(0x403)]())});}catch(_0x3b9a90){console[_0x3c7463(0x24c)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x3b9a90);}finally{_0x3d7ad0=_0x21cd2b[_0x3c7463(0x298)](),_0x4dae3f[_0x3c7463(0x393)](),_0x21cd2b[_0x3c7463(0x393)]();}let _0x25b9a9=this[_0x3c7463(0x3d6)]['getImage']({'unitId':_0x4ed422[_0x3c7463(0x1ee)],'subUnitId':_0x4ed422['subUnitId'],'chartId':_0x4ed422['drawingId']}),_0x2a4830=_0x3d7ad0??_0x25b9a9;if(!_0x2a4830)return null;let _0x16fcd0=_0xffed09[_0x3c7463(0x4ce)](_0x4ed422[_0x3c7463(0x3c1)]);return new ei(_0x558e11(_0x4ed422),{..._0x9fc7b0,..._0x235aca,...di(_0x21cd2b[_0x3c7463(0x338)]),'visible':!0x0,'zIndex':_0x16fcd0===-0x1?Math['max'](_0xffed09[_0x3c7463(0x44b)]-0x1,0x0):_0x16fcd0},()=>_0x2a4830,void 0x0,_0x3d7ad0?()=>G(_0x3d7ad0):void 0x0);}[_0x69a5c7(0x389)](_0x15d784,_0x56e6df,_0x2828fd){const _0x30c5e8=_0x69a5c7;let _0x13c5b6=this['_chartInstanceMap'][_0x30c5e8(0x39d)](_0x15d784);if((_0x13c5b6==null?void 0x0:_0x13c5b6['mode'])===_0x56e6df)return _0x13c5b6;_0x13c5b6&&(this[_0x30c5e8(0x2fc)](_0x15d784),_0x13c5b6[_0x30c5e8(0x393)](),this[_0x30c5e8(0x295)][_0x30c5e8(0x21b)](_0x15d784));let _0xa278cc=_0x2828fd['createChartInstance'](_0x56e6df,this[_0x30c5e8(0x323)]());return this['_chartInstanceMap'][_0x30c5e8(0x46c)](_0x15d784,_0xa278cc),_0xa278cc['setElementEditMode'](this['_chartElementEditMode'][_0x30c5e8(0x39d)](_0x15d784)===!0x0),this['_bindChartEventHandlers'](_0x15d784,_0xa278cc),_0xa278cc;}[_0x69a5c7(0x323)](){const _0x46ed39=_0x69a5c7;return{'resolveHostStyle':({style:_0x3bfcc9})=>_0x526b52({'style':_0x3bfcc9,'getRenderColor':_0x4f8c4e=>this[_0x46ed39(0x453)][_0x46ed39(0x270)](_0x4f8c4e)}),'resolveRenderBackgroundColor':({style:_0x76a169})=>this['_chartThemeService'][_0x46ed39(0x270)](_0xdd049b(_0x76a169))};}[_0x69a5c7(0x347)](_0x545ece){const _0x4f0fad=_0x69a5c7;var _0x2f27cb,_0x2a0377,_0x48a7d1;(_0x2f27cb=this[_0x4f0fad(0x281)][_0x4f0fad(0x39d)](_0x545ece))==null||_0x2f27cb[_0x4f0fad(0x393)](),this[_0x4f0fad(0x281)][_0x4f0fad(0x21b)](_0x545ece),(_0x2a0377=this['_renderDebounceMap'][_0x4f0fad(0x39d)](_0x545ece))==null||_0x2a0377[_0x4f0fad(0x440)](),this[_0x4f0fad(0x36b)][_0x4f0fad(0x21b)](_0x545ece),(_0x48a7d1=this[_0x4f0fad(0x320)][_0x4f0fad(0x39d)](_0x545ece))==null||_0x48a7d1[_0x4f0fad(0x440)](),this[_0x4f0fad(0x320)][_0x4f0fad(0x21b)](_0x545ece);}[_0x69a5c7(0x29f)](){const _0x99a8ac=_0x69a5c7;this[_0x99a8ac(0x36b)]['forEach'](_0x2f287c=>_0x2f287c['cancel']()),this[_0x99a8ac(0x36b)][_0x99a8ac(0x4bb)](),this[_0x99a8ac(0x320)][_0x99a8ac(0x330)](_0x30b7fe=>_0x30b7fe[_0x99a8ac(0x440)]()),this[_0x99a8ac(0x320)][_0x99a8ac(0x4bb)]();}[_0x69a5c7(0x393)](){const _0x576db9=_0x69a5c7;this[_0x576db9(0x281)]['forEach'](_0x436a02=>_0x436a02[_0x576db9(0x393)]()),this['_chartChangeSubscriptions']['clear'](),this['_dataUpdateAnimationTimers'][_0x576db9(0x330)](_0x5a2898=>clearTimeout(_0x5a2898)),this['_dataUpdateAnimationTimers']['clear'](),this[_0x576db9(0x381)]['clear'](),Array[_0x576db9(0x445)](this[_0x576db9(0x295)]['keys']())[_0x576db9(0x330)](_0x2a7706=>this[_0x576db9(0x309)](_0x2a7706)),this[_0x576db9(0x412)][_0x576db9(0x4bb)](),this[_0x576db9(0x206)]['clear'](),this[_0x576db9(0x29f)](),this[_0x576db9(0x3cb)]['clear'](),this[_0x576db9(0x2ad)]=null,this['_lastActiveSheet']=null,super[_0x576db9(0x393)]();}};J=q([K(0x0,pi),K(0x1,_0x345df3(_0x5a2ef7)),K(0x2,_0x345df3(_0xfc5243)),K(0x3,_0x6f6e55),K(0x4,_0x1534cf),K(0x5,_0x345df3(_0x3a5b98)),K(0x6,_0x345df3(_0x332fea)),K(0x7,_0x345df3(_0x21bd92)),K(0x8,_0x345df3(_0x56cc75)),K(0x9,_0x345df3(_0x596b6e)),K(0xa,_0x250254),K(0xb,_0x345df3(ii)),K(0xc,_0x4a6d3a)],J);const Y=_0x2e14a3(_0x69a5c7(0x263));let _i=class extends _0x1d0c18{constructor(_0x120c2b,_0x463b45,_0x4f0f5b,_0x24e979,_0x2a32b1){const _0x378319=_0x69a5c7;super(_0x2a32b1),this['_chartModelService']=_0x120c2b,this[_0x378319(0x2d2)]=_0x463b45,this['_commandService']=_0x4f0f5b,this['_univerInstanceService']=_0x24e979,W(this,'_rangeSelectMode',!0x1),W(this,_0x378319(0x316),new _0x4b7bf6(!0x1)),W(this,_0x378319(0x200),new _0x4b7bf6(null)),W(this,_0x378319(0x340),this[_0x378319(0x316)]['asObservable']()),W(this,_0x378319(0x35d),this[_0x378319(0x200)][_0x378319(0x473)]());}get[_0x69a5c7(0x497)](){const _0x235ceb=_0x69a5c7;return this[_0x235ceb(0x3c5)][_0x235ceb(0x2c4)]??null;}get[_0x69a5c7(0x43a)](){const _0x1e1d42=_0x69a5c7;return this[_0x1e1d42(0x316)][_0x1e1d42(0x335)]();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x69a5c7(0x361)](_0x3746ef){this['_rangeSelectMode']=_0x3746ef;}[_0x69a5c7(0x220)](_0x189e38){const _0x45fe02=_0x69a5c7;this[_0x45fe02(0x316)][_0x45fe02(0x335)]()!==_0x189e38&&this[_0x45fe02(0x316)][_0x45fe02(0x2ab)](_0x189e38);}['isElementEditModeActive'](_0xfc875c){const _0x513630=_0x69a5c7;var _0x29c9c9;return this[_0x513630(0x43a)]&&((_0x29c9c9=this[_0x513630(0x3c5)][_0x513630(0x2c4)])==null?void 0x0:_0x29c9c9['id'])===_0xfc875c;}[_0x69a5c7(0x287)](_0x5404d8,_0x1ff901){const _0x4f0a51=_0x69a5c7;this[_0x4f0a51(0x200)]['next']({'chartId':_0x5404d8,'route':_0x1ff901});}[_0x69a5c7(0x225)](){const _0x64fe94=_0x69a5c7;this[_0x64fe94(0x200)][_0x64fe94(0x2ab)](null);}['setDataRange'](_0x2213f9){const _0x4e3aba=_0x69a5c7;let _0x560dca=this[_0x4e3aba(0x3c5)][_0x4e3aba(0x2c4)];_0x560dca&&this[_0x4e3aba(0x388)]({'chartModelId':_0x560dca['id'],'range':_0x2213f9});}[_0x69a5c7(0x2b2)](_0xe31ab8){const _0x40322d=_0x69a5c7;let _0x2a73cf=this[_0x40322d(0x3c5)][_0x40322d(0x2c4)];if(!_0x2a73cf)return;let _0x5d3ad9=this[_0x40322d(0x2d2)][_0x40322d(0x253)](_0x2a73cf['id']);if(!_0x5d3ad9||Array[_0x40322d(0x3c3)](_0x5d3ad9))return;let _0x170076={..._0x5d3ad9,'isRowDirection':_0xe31ab8===_0x364c6a[_0x40322d(0x3ae)]};this[_0x40322d(0x388)]({'chartModelId':_0x2a73cf['id'],'range':_0x170076});}[_0x69a5c7(0x429)](_0x368a84){const _0xb37410=_0x69a5c7;var _0x5cd94d;this[_0xb37410(0x465)][_0xb37410(0x37e)](_0x2ebcde['id'],{..._0x368a84,'unitId':((_0x5cd94d=this[_0xb37410(0x2f3)]['getFocusedUnit']())==null?void 0x0:_0x5cd94d[_0xb37410(0x307)]())??''});}['_executeChartUpdateSourceConfig'](_0xe621aa){const _0x200067=_0x69a5c7;var _0x36a5d3;this['_commandService'][_0x200067(0x37e)](_0x50e31b['id'],{..._0xe621aa,'unitId':((_0x36a5d3=this['_univerInstanceService'][_0x200067(0x451)]())==null?void 0x0:_0x36a5d3[_0x200067(0x307)]())??''});}['dispose'](){const _0x4c52e9=_0x69a5c7;this[_0x4c52e9(0x316)]['complete'](),this[_0x4c52e9(0x200)]['complete'](),super[_0x4c52e9(0x393)]();}};_i=q([K(0x0,_0x345df3(_0xfc5243)),K(0x1,_0x345df3(_0x186c61)),K(0x2,_0xb35996),K(0x3,_0x1534cf),K(0x4,_0x345df3(_0x45f903))],_i);var vi;const yi={'axis':{..._0x20a172,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x251037,'heatmap':_0x1d78a8,'indicatorLine':_0x5eae0d,'legend':_0x1eaeba,'lineAndArea':_0x432b2b,'pareto':_0x5540c1,'pie':_0x183bbc,'relation':{..._0x3ab465,'useValueAsSymbolSize':!0x0},'radar':_0x41c0bd,'series':{..._0x333ef3,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((vi=_0x497b2d[_0x69a5c7(0x25f)])==null?void 0x0:vi[_0x69a5c7(0x405)])??!0x1}},'style':_0x39d4a9,'titles':_0x1b6863,'trendline':_0x174c0d,'waterfallStyle':_0x58db5f,'wordCloud':_0x9f7cea},bi=_0x5df71c=>_0x5df71c[_0x69a5c7(0x401)](_0x3cb846['UNIVER_SHEET'])[_0x69a5c7(0x307)](),xi=_0x3b8f95=>{const _0x6ff558=_0x69a5c7;var _0x1610d1;return(_0x1610d1=_0x3b8f95[_0x6ff558(0x401)](_0x3cb846['UNIVER_SHEET'])[_0x6ff558(0x469)]())==null?void 0x0:_0x1610d1[_0x6ff558(0x36c)]();},Si=()=>{const _0x30354f=_0x69a5c7;var _0x1cdb60;let _0x387338=_0x29d6b7(Y),_0x53786c=_0x29d6b7(_0xfc5243),_0xc1fa65=_0x29d6b7(_0x332fea),_0x44671b=_0x29d6b7(_0x21bd92),_0x3926f5=_0x119e1e(_0x44671b),_0x7677fc=_0x6c0456(()=>{const _0xc954e1=_0x20d6;let _0x5a2410=Ir(Pr[_0xc954e1(0x461)](),_0x3926f5);return _0x2e6d09(_0x5a2410[_0xc954e1(0x44e)](_0x128bda=>({'id':_0x128bda['id'],'label':_0xc1fa65['t'](_0xc954e1(0x276)+_0x128bda[_0xc954e1(0x46e)]),'pieSecondaryPlotType':_0x128bda[_0xc954e1(0x3e6)],'value':_0x128bda[_0xc954e1(0x305)]})));},[_0x3926f5,_0xc1fa65]),_0x140dbe=_0x293efe(_0x53786c[_0x30354f(0x1e3)],_0x53786c['activeChartModel']),_0xecc06=_0x293efe(_0x140dbe==null?void 0x0:_0x140dbe[_0x30354f(0x205)],_0x140dbe==null?void 0x0:_0x140dbe['context']),_0x253ead=_0x293efe(_0x140dbe==null?void 0x0:_0x140dbe[_0x30354f(0x2b9)],_0x140dbe==null?void 0x0:_0x140dbe[_0x30354f(0x447)]),_0x4dec23=_0x293efe(_0x253ead==null?void 0x0:_0x253ead[_0x30354f(0x476)],_0x253ead==null?void 0x0:_0x253ead[_0x30354f(0x427)]()),_0x353b7a=Array[_0x30354f(0x3c3)](_0x4dec23),_0x2876d4=_0x4dec23&&!_0x353b7a&&_0x4dec23['isRowDirection']?_0x364c6a['Row']:_0x364c6a[_0x30354f(0x27d)],_0x2e7ca0=_0x353b7a?(_0x1cdb60=_0x4dec23[0x0])==null?void 0x0:_0x1cdb60[_0x30354f(0x4cc)]:_0x4dec23==null?void 0x0:_0x4dec23['rangeInfo'];return _0x1b1cd9(_0x30354f(0x382),{'className':_0x30354f(0x2d7),'children':[_0x39cd6c(_0x175816,{'chartTypeOptions':_0x7677fc,'dataSourceControl':_0x39cd6c(Ci,{'dataRange':_0x4dec23,'primaryRange':_0x2e7ca0}),'categoryToggleLabel':_0xc1fa65['t'](_0x30354f(0x4b6),_0x2876d4===_0x364c6a['Row']?_0x2876d4+'\x20'+(((_0x2e7ca0==null?void 0x0:_0x2e7ca0[_0x30354f(0x4cc)][_0x30354f(0x272)])??0x0)+0x1):_0x2876d4+'\x20'+_0x29488d((_0x2e7ca0==null?void 0x0:_0x2e7ca0['range'][_0x30354f(0x3d9)])??0x0)),'orientationControl':_0x353b7a?void 0x0:_0x39cd6c(_0x43a6c9,{'size':'small','onClick':()=>_0x387338[_0x30354f(0x2b2)](_0x2876d4===_0x364c6a[_0x30354f(0x3ae)]?_0x364c6a[_0x30354f(0x27d)]:_0x364c6a[_0x30354f(0x3ae)]),'children':_0xc1fa65['t'](_0x30354f(0x43d))})}),_0x39cd6c(_0x134911,{'checked':(_0xecc06==null?void 0x0:_0xecc06['plotVisibleOnly'])===!0x1,'disabled':!_0x140dbe,'onChange':_0x5b8b55=>{const _0x4e1200=_0x30354f;_0x140dbe&&_0x387338[_0x4e1200(0x429)]({'chartModelId':_0x140dbe['id'],'context':{'plotVisibleOnly':!_0x5b8b55}});},'children':_0xc1fa65['t'](_0x30354f(0x278))})]});};function Ci(_0x34d76d){const _0x10de99=_0x69a5c7;let {dataRange:_0x5e476b,primaryRange:_0x36ac63}=_0x34d76d,_0x35dfc6=_0x29d6b7(Y),_0x4c6043=_0x29d6b7(_0x332fea),_0x136a20=_0x29d6b7(_0x1534cf),_0x59f8a4=_0x29d6b7(_0x3387ab),[_0x1c22e2,_0x21d24a]=_0x11eb2f(!0x1),[_0x10f806,_0x299707]=_0x11eb2f(!0x1),[_0x32cdbc,_0x36b3c4]=_0x11eb2f(),_0x18d492=bi(_0x136a20),_0xee25fc=xi(_0x136a20),_0x212987=_0x5e476b?Mr(_0x5e476b,_0x136a20):'',_0xb96d67=_0x3ebae9(_0x212987),_0xac6b72=_0x3ebae9(void 0x0),_0x17e40c=_0x3ebae9(null);_0x434cb3(()=>{const _0x271b58=_0x20d6;_0x35dfc6['setRangeSelectMode'](_0x1c22e2),_0x59f8a4[_0x271b58(0x36d)](_0x2d0220,_0x1c22e2);},[_0x59f8a4,_0x1c22e2,_0x35dfc6]),_0x434cb3(()=>()=>{const _0x333a19=_0x20d6;_0x35dfc6[_0x333a19(0x361)](!0x1),_0x59f8a4[_0x333a19(0x36d)](_0x2d0220,!0x1);},[_0x59f8a4,_0x35dfc6]);let _0x1718c2=_0x16d356(_0x2e274c=>{const _0x4b7e54=_0x20d6;var _0x280631;if(Mr(_0x5e476b,_0x136a20)===_0x2e274c)return _0x36b3c4(void 0x0),!0x0;let _0x2aa6e8=_0x2e274c[_0x4b7e54(0x39b)](_0x477ba7[_0x4b7e54(0x274)]);if(!_0x2e274c['trim']()||_0x2aa6e8[_0x4b7e54(0x44b)]!==0x1||!((_0x280631=_0x17e40c[_0x4b7e54(0x277)])!=null&&_0x280631[_0x4b7e54(0x27a)]()))return _0x36b3c4(_0x4c6043['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0xe95e0e,sheetName:_0x5663c8,range:_0x386536}=_0x77b34e(_0x2aa6e8[0x0]),_0x1a6966=_0xe95e0e||_0x18d492,_0x53b379=_0x136a20[_0x4b7e54(0x49d)](_0x1a6966),_0x15a0b5=(_0x36ac63==null?void 0x0:_0x36ac63[_0x4b7e54(0x1ee)])===_0x1a6966?_0x36ac63[_0x4b7e54(0x419)]:_0xee25fc,_0x7acccd=_0x5663c8?_0x53b379==null?void 0x0:_0x53b379['getSheetBySheetName'](_0x5663c8):_0x53b379==null?void 0x0:_0x53b379[_0x4b7e54(0x460)](_0x15a0b5??'');return!_0x53b379||!_0x7acccd||!_0x409d0d(_0x386536,_0x7acccd)?(_0x36b3c4(_0x4c6043['t']('sheets-chart-ui.common.invalidDataRange')),!0x1):(_0x36b3c4(void 0x0),_0x35dfc6[_0x4b7e54(0x3dc)]({'rangeInfo':{'range':_0x386536,'unitId':_0x1a6966,'subUnitId':_0x7acccd['getSheetId']()}}),!0x0);},[_0x5e476b,_0x4c6043,_0x36ac63,_0x35dfc6,_0xee25fc,_0x18d492,_0x136a20]),_0x2d8150=_0x6c0456(()=>({'keyCodes':[{'keyCode':_0x26f9ff['ENTER'],'nativeTextEditorBehavior':_0x958064[_0x10de99(0x3ff)]}],'handler':_0x26e01d=>{const _0x1344b0=_0x10de99;_0x26e01d===_0x26f9ff[_0x1344b0(0x219)]&&_0x1718c2(_0xb96d67[_0x1344b0(0x277)])&&(_0xac6b72[_0x1344b0(0x277)]=_0xb96d67[_0x1344b0(0x277)]);}}),[_0x1718c2]);return _0x39cd6c(_0x10de99(0x382),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':_0x1b1cd9(_0x10de99(0x382),{'children':[_0x39cd6c(_0x33cfc0,{'title':_0x4c6043['t'](_0x10de99(0x2cf))}),_0x39cd6c(_0x1f1e9d,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x18d492,'subUnitId':_0xee25fc,'initialValue':_0x212987,'keyboardEventConfig':_0x2d8150,'selectorRef':_0x17e40c,'onChange':(_0xa3c587,_0x2ebc1a)=>{const _0x4da76a=_0x10de99;_0xb96d67[_0x4da76a(0x277)]=_0x2ebc1a,_0x10f806&&_0xac6b72[_0x4da76a(0x277)]!==_0x2ebc1a&&_0x1718c2(_0x2ebc1a)&&(_0xac6b72[_0x4da76a(0x277)]=_0x2ebc1a);},'onFocusChange':(_0x5c950e,_0x21281a)=>{const _0x19492e=_0x10de99;if(_0x21281a!==void 0x0&&(_0xb96d67['current']=_0x21281a),_0x10f806||_0x21d24a(_0x5c950e),_0x5c950e)_0xac6b72['current']=_0xb96d67[_0x19492e(0x277)];else{let _0x5aafe7=_0xac6b72['current'];_0xac6b72[_0x19492e(0x277)]=void 0x0,_0x5aafe7!==void 0x0&&_0xb96d67['current']!==_0x5aafe7&&_0x1718c2(_0xb96d67[_0x19492e(0x277)]);}},'onRangeSelectorDialogVisibleChange':_0x20c499=>{_0x299707(_0x20c499),_0x21d24a(_0x20c499);}}),_0x32cdbc?_0x39cd6c(_0x10de99(0x382),{'className':_0x10de99(0x441),'children':_0x32cdbc}):null]})});}function X(_0x35d15f){const _0x586b66=_0x69a5c7;return _0x1b1cd9(_0x23cb6b,{'id':_0x35d15f['id'],'children':[_0x39cd6c(_0x2305ff,{'children':_0x35d15f[_0x586b66(0x386)]}),_0x39cd6c(_0x511db8,{'children':_0x35d15f['children']})]});}const wi=_0x76abbe=>{const _0x286724=_0x69a5c7;let _0x59d10c=_0x29d6b7(_0x332fea),_0x2e4cf6=_0x29d6b7(Y),_0x2f8c0c=_0x29d6b7(_0xfc5243),_0x2a1bfc=_0x293efe(_0x2f8c0c[_0x286724(0x1e3)],_0x2f8c0c[_0x286724(0x2c4)]),_0x7b4c07=_0x293efe(_0x2e4cf6[_0x286724(0x35d)],null),_0x42c619=_0x7b4c07&&_0x7b4c07[_0x286724(0x3ed)]===(_0x2a1bfc==null?void 0x0:_0x2a1bfc['id'])?_0x7b4c07[_0x286724(0x3a6)]:null,_0x4ac77d=_0x16eed1(),_0xffdabd=_0x3640db(),[_0x48aa8d,_0x3a6ae6]=_0x11eb2f(null);_0x434cb3(()=>{const _0x10c90f=_0x286724;_0x42c619!=null&&_0x42c619[_0x10c90f(0x4cb)]&&_0x3a6ae6(_0x42c619[_0x10c90f(0x4cb)]);},[_0x42c619]);let _0x10d0f1=_0x8e9e65['baseOn'](_0x4ac77d,_0x5c9c9b['Pie']),_0xaed0f2=_0x4ac77d===_0x5c9c9b[_0x286724(0x4c4)],_0x73c5da=_0x4ac77d===_0x5c9c9b['WordCloud'],_0x5aa833=_0x4ac77d===_0x5c9c9b[_0x286724(0x4b2)],_0x3cf643=_0x8e9e65[_0x286724(0x411)](_0x4ac77d,_0x5c9c9b[_0x286724(0x2a9)]),_0x568647=_0x4ac77d===_0x5c9c9b['Relation'],_0x2e2c81=_0x4ac77d===_0x5c9c9b[_0x286724(0x1fc)],_0x400449=_0x4ac77d===_0x5c9c9b['Pareto'],_0x22b9f9=_0x4ac77d===_0x5c9c9b[_0x286724(0x433)],_0x5bec6e,_0x5d8a72;switch(_0x4ac77d){case _0x5c9c9b[_0x286724(0x32f)]:_0x5bec6e=_0x189941[_0x286724(0x32f)],_0x5d8a72=_0x59d10c['t'](_0x286724(0x4af));break;case _0x5c9c9b[_0x286724(0x38a)]:_0x5bec6e=_0x189941[_0x286724(0x38a)],_0x5d8a72=_0x59d10c['t'](_0x286724(0x442));break;case _0x5c9c9b[_0x286724(0x4b7)]:_0x5bec6e=_0x189941['Treemap'],_0x5d8a72=_0x59d10c['t'](_0x286724(0x370));break;case _0x5c9c9b[_0x286724(0x45f)]:_0x5bec6e=_0x189941[_0x286724(0x45f)],_0x5d8a72=_0x59d10c['t']('sheets-chart-ui.section.sunburst');break;case _0x5c9c9b[_0x286724(0x210)]:_0x5bec6e=_0x189941[_0x286724(0x210)],_0x5d8a72=_0x59d10c['t'](_0x286724(0x32a));break;case _0x5c9c9b[_0x286724(0x489)]:_0x5bec6e=_0x189941['Chord'],_0x5d8a72=_0x59d10c['t'](_0x286724(0x20d));}let _0x26b438=_0x348fa8(_0x4ac77d,_0x2b2428[_0x286724(0x354)])&&!_0x3cf643&&!_0x400449;return _0x1b1cd9(_0x305079,{'value':_0x48aa8d,'onChange':_0x3a6ae6,'children':[_0x39cd6c(X,{'id':_0x189941[_0x286724(0x32b)],'label':_0x59d10c['t'](_0x286724(0x41d)),'children':_0x39cd6c(_0x933573,{'defaultValues':_0x76abbe[_0x286724(0x284)]['style']})}),_0x39cd6c(X,{'id':_0x189941[_0x286724(0x22a)],'label':_0x59d10c['t'](_0x286724(0x2fb)),'children':_0x39cd6c(_0x517690,{'commitMode':'blur','defaultValues':_0x76abbe[_0x286724(0x284)]['titles'],'selectedTitleKey':_0x42c619==null?void 0x0:_0x42c619[_0x286724(0x2bc)]})}),_0x39cd6c(_0x3e41f1,{'section':'view'}),_0x26b438&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x4cd)],'label':_0x59d10c['t'](_0x286724(0x291)),'children':_0x39cd6c(_0x594dcf,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x415)],'NumberFormatField':_0x16c936,'selectedSeriesId':_0x42c619==null?void 0x0:_0x42c619[_0x286724(0x3fe)]})}),_0x2e2c81&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x3af)],'label':_0x59d10c['t'](_0x286724(0x2f9)),'children':_0x39cd6c(_0x5c7b23,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x448)],'getDefaultBucketName':({seriesName:_0x2ca76d,target:_0x2ea408})=>_0x2ea408===_0x165144['Subtotal']?_0x59d10c['t'](_0x286724(0x3fa)):_0x2ca76d?_0x2ca76d+'-('+_0x59d10c['t'](_0x2ea408===_0x165144[_0x286724(0x308)]?'sheets-chart-ui.waterfall.positive':_0x286724(0x1e2))+')':'','NumberFormatField':_0x16c936,'selectedSeriesId':_0x42c619==null?void 0x0:_0x42c619[_0x286724(0x3fe)]})}),_0x400449&&_0x1b1cd9(_0x4328e0,{'children':[_0x39cd6c(X,{'id':_0x189941[_0x286724(0x28b)],'label':_0x59d10c['t'](_0x286724(0x3c2)),'children':_0x39cd6c(_0x388c4c,{'defaultValues':_0x76abbe[_0x286724(0x284)]['pareto'],'NumberFormatField':_0x16c936,'showDataPointEditor':!0x0,'target':_0x286724(0x45d)})}),_0x39cd6c(X,{'id':_0x189941[_0x286724(0x33c)],'label':_0x59d10c['t'](_0x286724(0x459)),'children':_0x39cd6c(_0x388c4c,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x20e)],'NumberFormatField':_0x16c936,'showDataPointEditor':!0x1,'target':_0x286724(0x498)})})]}),_0x10d0f1&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x1ed)],'label':_0x59d10c['t'](_0x286724(0x4a2)),'children':_0x39cd6c(_0x4d83dd,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x4a6)],'NumberFormatField':_0x16c936})}),_0x73c5da&&_0x39cd6c(X,{'id':_0x189941['WordCloud'],'label':_0x59d10c['t'](_0x286724(0x379)),'children':_0x39cd6c(_0x28e719,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x2ce)]})}),_0xaed0f2&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x4c4)],'label':_0x59d10c['t'](_0x286724(0x383)),'children':_0x39cd6c(_0x33c557,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x1e5)]})}),_0x5aa833&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x4b2)],'label':_0x59d10c['t'](_0x286724(0x45c)),'children':_0x39cd6c(_0x15c403,{'defaultValues':_0x76abbe[_0x286724(0x284)]['funnel'],'gapControl':'select'})}),_0x22b9f9&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x433)],'label':_0x59d10c['t'](_0x286724(0x49b)),'children':_0x39cd6c(_0x54df14,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x367)]})}),_0x568647&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x22c)],'label':_0x59d10c['t'](_0x286724(0x30a)),'children':_0x39cd6c(_0x3e4c84,{'defaultValues':_0x76abbe['defaultValues'][_0x286724(0x2d4)]})}),_0x23d2ec(_0x4ac77d)&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x47e)],'label':_0x59d10c['t'](_0x8e9e65['baseOn'](_0x4ac77d,_0x5c9c9b[_0x286724(0x283)])?'sheets-chart-ui.chartTypes.area':_0x286724(0x40b)),'children':_0x39cd6c(_0x20f957,{'defaultValues':_0x76abbe[_0x286724(0x284)]['lineAndArea'],'lineStyleControl':_0x286724(0x224)})}),_0x348fa8(_0x4ac77d,_0x2b2428[_0x286724(0x44c)])&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x44c)],'label':_0x59d10c['t'](_0x286724(0x2e8)),'children':_0x39cd6c(_0x52cf08,{'defaultValues':_0x76abbe['defaultValues'][_0x286724(0x4c8)]})}),_0x348fa8(_0x4ac77d,_0x2b2428[_0x286724(0x462)])&&_0x1b1cd9(_0x4328e0,{'children':[_0x39cd6c(X,{'id':_0x189941[_0x286724(0x488)],'label':_0x59d10c['t'](_0x286724(0x3f1)),'children':_0x39cd6c(_0x511d6a,{'axis':'x','defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x3b8)],'NumberFormatField':_0x16c936})}),_0x39cd6c(X,{'id':_0x189941[_0x286724(0x38b)],'label':_0x59d10c['t'](_0x286724(0x2c7)),'children':_0x39cd6c(_0x511d6a,{'axis':'y','defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x3b8)],'NumberFormatField':_0x16c936})}),_0x39cd6c(_0x3e41f1,{'section':'depthAxis'}),_0xffdabd&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x42a)],'label':_0x59d10c['t'](_0x286724(0x4c7)),'children':_0x39cd6c(_0x511d6a,{'axis':_0x286724(0x40f),'defaultValues':_0x76abbe['defaultValues'][_0x286724(0x3b8)],'NumberFormatField':_0x16c936})}),_0x39cd6c(X,{'id':_0x189941[_0x286724(0x2a0)],'label':_0x59d10c['t'](_0x286724(0x417)),'children':_0x39cd6c(_0x4f0962,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x3b8)]})})]}),_0x348fa8(_0x4ac77d,_0x2b2428[_0x286724(0x29d)])&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x29d)],'label':_0x59d10c['t'](_0x286724(0x326)),'children':_0x39cd6c(_0x5188b5,{'defaultValues':_0x76abbe[_0x286724(0x284)]['indicatorLine']})}),_0x3af596(_0x4ac77d)&&_0x39cd6c(X,{'id':_0x189941[_0x286724(0x41a)],'label':_0x59d10c['t'](_0x286724(0x46b)),'children':_0x39cd6c(_0x37fa4b,{'defaultValues':_0x76abbe[_0x286724(0x284)][_0x286724(0x39a)]})}),_0x5bec6e&&_0x5d8a72&&_0x39cd6c(X,{'id':_0x5bec6e,'label':_0x5d8a72,'children':_0x39cd6c(_0x49c80e,{})})]});};function Ti(_0x309141){const _0x5d9864=_0x69a5c7;let {className:_0x157d8c}=_0x309141,[_0x4071f7,_0x105da6]=_0x11eb2f(_0x1f97c4[_0x5d9864(0x2e7)]),_0x42c6c9=_0x29d6b7(_0x21bd92),_0x38266b=_0x29d6b7(_0x332fea),_0x2e7d68=_0x29d6b7(Y),_0x5c2ce2=_0x29d6b7(_0xfc5243),_0x51bb0e=_0x29d6b7(_0x186c61),_0x5b3dbf=_0x293efe(_0x5c2ce2[_0x5d9864(0x1e3)],_0x5c2ce2['activeChartModel']),_0x4d383a=_0x293efe(_0x2e7d68['panelRoute$'],null),_0x3ce571=_0x6c0456(()=>{const _0x1fdf4f=_0x5d9864;var _0x218133;if(!_0x5b3dbf)return null;let _0x552845=_0x51bb0e['getChartSourceSpec'](_0x5b3dbf['id']);if(!_0x552845)return null;let _0x264246=Array[_0x1fdf4f(0x3c3)](_0x552845)?(_0x218133=_0x552845[0x0])==null?void 0x0:_0x218133[_0x1fdf4f(0x4cc)]:_0x552845['rangeInfo'];return _0x264246?new _0x68520(_0x5b3dbf,new _0x3bea97({'unitId':_0x264246['unitId'],'subUnitId':_0x264246['subUnitId'],'chartId':_0x5b3dbf['id'],'injector':_0x42c6c9})):null;},[_0x5b3dbf,_0x42c6c9,_0x51bb0e]);if(_0x434cb3(()=>{const _0x2e66a6=_0x5d9864;var _0x1ec939,_0x34e43b;_0x5b3dbf&&(_0x4d383a==null?void 0x0:_0x4d383a[_0x2e66a6(0x3ed)])===_0x5b3dbf['id']&&(((_0x1ec939=_0x4d383a['route'])==null?void 0x0:_0x1ec939[_0x2e66a6(0x37a)])===_0x1f97c4[_0x2e66a6(0x4ba)]&&_0x105da6(_0x1f97c4[_0x2e66a6(0x4ba)]),((_0x34e43b=_0x4d383a[_0x2e66a6(0x3a6)])==null?void 0x0:_0x34e43b['tab'])===_0x1f97c4['Data']&&_0x105da6(_0x1f97c4[_0x2e66a6(0x2e7)]));},[_0x5b3dbf,_0x4d383a]),!_0x3ce571)return null;let _0x33f071=_0x39cd6c(_0x5d9864(0x382),{'className':_0x5d9864(0x2d0)+(_0x4071f7===_0x1f97c4[_0x5d9864(0x4ba)]?_0x5d9864(0x322):'univer-overflow-hidden')+_0x5d9864(0x353)+(_0x157d8c??'')+_0x5d9864(0x215),'children':_0x39cd6c(_0x2aef1e,{'ariaLabel':_0x38266b['t'](_0x5d9864(0x484)),'activeTab':_0x4071f7,'onTabChange':_0x105da6,'tabListClassName':_0x5d9864(0x3e7),'panelClassName':_0x4071f7===_0x1f97c4['Style']?'-univer-mx-4':void 0x0,'tabs':[{'id':_0x1f97c4['Data'],'panelId':Di,'title':_0x38266b['t']('sheets-chart-ui.common.setup'),'content':_0x39cd6c(Si,{})},{'id':_0x1f97c4[_0x5d9864(0x4ba)],'panelId':Oi,'title':_0x38266b['t'](_0x5d9864(0x31d)),'content':_0x39cd6c(wi,{'defaultValues':yi})}]})});return _0x39cd6c(_0xbe9ad0,{'chartUIService':_0x2e7d68,'hostAdapter':_0x3ce571,'children':_0x33f071});}const Ei=_0x69a5c7(0x310),Di=_0x69a5c7(0x49e),Oi=_0x69a5c7(0x1fd);function ki(_0xc85eb3){const _0x1b9431=_0x69a5c7;return _0xc85eb3[_0x1b9431(0x44b)]===0x1&&Ai(_0xc85eb3[0x0]);}function Ai(_0x2a24ba){const _0x10fbae=_0x69a5c7;return(_0x2a24ba==null?void 0x0:_0x2a24ba[_0x10fbae(0x33f)])===_0x56b014[_0x10fbae(0x464)]&&!_0x2a24ba[_0x10fbae(0x457)];}function _0x20d6(_0x353d82,_0x920d49){_0x353d82=_0x353d82-0x1da;const _0xfb2565=_0xfb25();let _0x20d6ef=_0xfb2565[_0x353d82];return _0x20d6ef;}let ji=class extends _0x5f44fb{constructor(_0x44bc71,_0x28fd02,_0x47631a,_0x5cdb57,_0x2a81b4,_0x595ee7,_0x2e9025,_0x3ad24a,_0x188410,_0x83dac8,_0x4a89c9,_0x3094d4,_0x3bc394,_0x184017,_0x5e64da){const _0x17edb8=_0x69a5c7;var _0x47f7a7;super(),this[_0x17edb8(0x4a9)]=_0x44bc71,this[_0x17edb8(0x2f3)]=_0x28fd02,this[_0x17edb8(0x3c5)]=_0x47631a,this[_0x17edb8(0x2d2)]=_0x5cdb57,this[_0x17edb8(0x1e7)]=_0x2a81b4,this['_sheetDrawingHitTestService']=_0x595ee7,this[_0x17edb8(0x3ec)]=_0x2e9025,this[_0x17edb8(0x1f5)]=_0x3ad24a,this['_sheetCanvasFloatDomManagerService']=_0x188410,this[_0x17edb8(0x299)]=_0x83dac8,this['_commandService']=_0x4a89c9,this[_0x17edb8(0x2c3)]=_0x3094d4,this[_0x17edb8(0x202)]=_0x3bc394,this[_0x17edb8(0x36a)]=_0x184017,W(this,_0x17edb8(0x246),null),W(this,'_isChartElementEditEnabled',void 0x0),this['_isChartElementEditEnabled']=((_0x47f7a7=_0x5e64da[_0x17edb8(0x23d)](_0x17edb8(0x4b3)))==null?void 0x0:_0x47f7a7[_0x17edb8(0x359)])===!0x0,this[_0x17edb8(0x261)](),this[_0x17edb8(0x237)](this['_univerInstanceService'][_0x17edb8(0x3ab)](_0x3cb846[_0x17edb8(0x216)])[_0x17edb8(0x32e)](_0x46ddb5=>{var _0xe10e1e;_0x46ddb5||(_0xe10e1e=this['_sidebarDisposable'])==null||_0xe10e1e['dispose']();})),this[_0x17edb8(0x237)](_0x354ba0(this[_0x17edb8(0x3ac)][_0x17edb8(0x496)][_0x17edb8(0x32e)](async({drawing:_0xb40361})=>{await this['_handleDrawingDoubleClick'](_0xb40361);})));}[_0x69a5c7(0x3d2)](){const _0x64d715=_0x69a5c7;this[_0x64d715(0x246)]=this[_0x64d715(0x3ec)][_0x64d715(0x48d)]({'id':Ei,'header':{'title':this[_0x64d715(0x36a)]['t'](_0x64d715(0x484))},'width':0x154,'children':{'label':Ei},'onClose':()=>{const _0x19ac66=_0x64d715;this[_0x19ac66(0x246)]=null,this[_0x19ac66(0x271)](),this[_0x19ac66(0x3c5)][_0x19ac66(0x2c4)]&&this['_chartModelService'][_0x19ac66(0x259)](null),this[_0x19ac66(0x4a9)][_0x19ac66(0x414)](null),this[_0x19ac66(0x202)][_0x19ac66(0x36d)](_0x23d889,!0x1);}});}[_0x69a5c7(0x402)](){const _0x1f57df=_0x69a5c7;let _0x3ff78e=this[_0x1f57df(0x246)];this['_sidebarDisposable']=null,this[_0x1f57df(0x271)](),this[_0x1f57df(0x3c5)]['activeChartModel']&&this[_0x1f57df(0x3c5)][_0x1f57df(0x259)](null),_0x3ff78e==null||_0x3ff78e[_0x1f57df(0x393)]();}[_0x69a5c7(0x26b)](){const _0x322b3a=_0x69a5c7;let _0x23b7c4=this['_univerInstanceService'][_0x322b3a(0x401)](_0x3cb846[_0x322b3a(0x216)]);this[_0x322b3a(0x237)](this[_0x322b3a(0x3ec)]['sidebarOptions$'][_0x322b3a(0x32e)](_0x5318fd=>{const _0x43eecd=_0x322b3a;_0x5318fd['id']===_0x43eecd(0x310)&&(_0x5318fd[_0x43eecd(0x2c0)]||this[_0x43eecd(0x3ec)]['sidebarOptions$'][_0x43eecd(0x2ab)]({'visible':!0x1}));})),this[_0x322b3a(0x237)](_0x491efe([this[_0x322b3a(0x3c5)]['activeChartModel$'],this['_sheetsChartUIService'][_0x322b3a(0x340)]])[_0x322b3a(0x2b7)](_0x398f6c(([_0x458225,_0x47d2a2])=>_0x47d2a2?(_0x458225==null?void 0x0:_0x458225['id'])??null:null),_0x4ad411(),_0x453064(null),_0x3861e1())[_0x322b3a(0x32e)](([_0x5e3174,_0x208c1c])=>{const _0xc8f6e3=_0x322b3a;this[_0xc8f6e3(0x34f)](_0x5e3174,_0x208c1c);})),this[_0x322b3a(0x237)](this[_0x322b3a(0x3c5)][_0x322b3a(0x1e3)][_0x322b3a(0x32e)](_0x300e50=>{const _0x38c867=_0x322b3a;!_0x300e50&&this[_0x38c867(0x246)]&&this[_0x38c867(0x402)]();})),this[_0x322b3a(0x237)](this['_commandService'][_0x322b3a(0x34c)](_0x147766=>{const _0x581f98=_0x322b3a;if(_0x147766['id']===H['id']){let _0x210497=_0x147766[_0x581f98(0x3cc)];if(!Ai(this['_drawingManagerService'][_0x581f98(0x474)]({'unitId':_0x210497[_0x581f98(0x1ee)],'subUnitId':_0x210497[_0x581f98(0x419)],'drawingId':_0x210497[_0x581f98(0x3c1)]})))return;this['openChartPanelById'](_0x210497[_0x581f98(0x3c1)],_0x210497[_0x581f98(0x3a6)]);}if(_0x147766['id']===Tr['id']&&this['hidePanel'](),_0x147766['id']===_0x3c244d['id']){var _0x1f9560;_0x147766[_0x581f98(0x3cc)]['chartId']===((_0x1f9560=this[_0x581f98(0x3c5)][_0x581f98(0x2c4)])==null?void 0x0:_0x1f9560['id'])&&this['hidePanel'](),this[_0x581f98(0x202)][_0x581f98(0x1eb)](_0x23d889)&&(this[_0x581f98(0x202)][_0x581f98(0x36d)](_0x23d889,!0x1),this[_0x581f98(0x4a9)][_0x581f98(0x414)](null));}})),this[_0x322b3a(0x237)](this['_sheetCanvasFloatDomManagerService']['remove$']['subscribe'](({id:_0x25c3b5})=>{const _0x3189dd=_0x322b3a;this[_0x3189dd(0x2c3)]['isElementEditModeActive'](_0x25c3b5)&&this[_0x3189dd(0x402)]();})),this[_0x322b3a(0x237)](this[_0x322b3a(0x2b0)][_0x322b3a(0x1fb)][_0x322b3a(0x32e)](({id:_0x49825a})=>{const _0x482de7=_0x322b3a;this[_0x482de7(0x2c3)][_0x482de7(0x404)](_0x49825a)&&(this[_0x482de7(0x2c3)][_0x482de7(0x225)](),this[_0x482de7(0x1e7)][_0x482de7(0x234)](_0x49825a,!0x1),this['_shouldEnableChartElementEdit'](_0x49825a)&&this['_chartRenderService']['setElementEditMode'](_0x49825a,!0x0));})),this[_0x322b3a(0x237)](this[_0x322b3a(0x4a9)][_0x322b3a(0x43f)]['subscribe'](_0x17a20d=>{const _0xee6b4b=_0x322b3a;let _0xe1b466=_0x17a20d[0x0];if(!this['_sheetsChartUIService'][_0xee6b4b(0x34a)]){if(ki(_0x17a20d)){var _0x336f4e;let _0x564d87=this[_0xee6b4b(0x3c5)][_0xee6b4b(0x3a4)](_0xe1b466[_0xee6b4b(0x3c1)]);_0x564d87&&this['_isOwnedChart'](_0x564d87['id'])&&((_0x336f4e=this['_chartModelService'][_0xee6b4b(0x2c4)])==null?void 0x0:_0x336f4e['id'])!==_0x564d87['id']&&this[_0xee6b4b(0x3c5)][_0xee6b4b(0x259)](_0x564d87);}else this[_0xee6b4b(0x3c5)][_0xee6b4b(0x2c4)]&&this[_0xee6b4b(0x3c5)][_0xee6b4b(0x259)](null),!_0xe1b466&&!this['_sheetsChartUIService'][_0xee6b4b(0x34a)]&&this[_0xee6b4b(0x402)]();}})),_0x23b7c4&&(this['disposeWithMe'](_0x23b7c4[_0x322b3a(0x223)][_0x322b3a(0x32e)](()=>{const _0x49b16c=_0x322b3a;this[_0x49b16c(0x402)]();})),this[_0x322b3a(0x237)](_0x23b7c4[_0x322b3a(0x481)][_0x322b3a(0x32e)](()=>{const _0x2499d8=_0x322b3a;this[_0x2499d8(0x402)]();})));}async[_0x69a5c7(0x315)](_0x36626c){const _0x360582=_0x69a5c7;this[_0x360582(0x2c3)]['chartEditorOpen']||Ai(_0x36626c)&&this[_0x360582(0x328)](_0x36626c[_0x360582(0x3c1)])&&await this[_0x360582(0x3e2)](_0x36626c['unitId'],_0x36626c[_0x360582(0x419)],_0x36626c[_0x360582(0x3c1)]);}async['_openEditPanelByDoubleClick'](_0x33286a,_0x1c8dc7,_0x300329){const _0x91a2fa=_0x69a5c7;this[_0x91a2fa(0x3c5)][_0x91a2fa(0x3a4)](_0x300329)&&this[_0x91a2fa(0x328)](_0x300329)&&await this[_0x91a2fa(0x465)][_0x91a2fa(0x37e)](H['id'],{'unitId':_0x33286a,'subUnitId':_0x1c8dc7,'drawingId':_0x300329});}[_0x69a5c7(0x3c0)](_0x67c439,_0x241594){const _0x4097a7=_0x69a5c7;let _0x252661=this[_0x4097a7(0x3c5)]['getChartModel'](_0x67c439);_0x252661&&this['_isOwnedChart'](_0x67c439)&&(this[_0x4097a7(0x3c5)][_0x4097a7(0x259)](_0x252661),this[_0x4097a7(0x3d2)](),this[_0x4097a7(0x4a5)](_0x67c439,_0x241594??null));}[_0x69a5c7(0x4a5)](_0x59b917,_0x332ca9){const _0x36e4c4=_0x69a5c7;this[_0x36e4c4(0x2c3)][_0x36e4c4(0x220)](!0x0),this[_0x36e4c4(0x2c3)][_0x36e4c4(0x287)](_0x59b917,_0x332ca9);}['_deactivateEditPanelState'](){const _0x39a480=_0x69a5c7;this[_0x39a480(0x2c3)]['setChartEditorOpen'](!0x1);}[_0x69a5c7(0x34f)](_0x33f630,_0x1e4fec){const _0x45d355=_0x69a5c7;_0x33f630!==_0x1e4fec&&(_0x33f630&&this[_0x45d355(0x1e7)][_0x45d355(0x234)](_0x33f630,!0x1),this['_sheetsChartUIService']['clearPanelRoute'](),_0x1e4fec&&(this[_0x45d355(0x2c3)][_0x45d355(0x287)](_0x1e4fec,null),this['_chartRenderService'][_0x45d355(0x234)](_0x1e4fec,this[_0x45d355(0x3ad)](_0x1e4fec))));}[_0x69a5c7(0x261)](){const _0x3bd3d2=_0x69a5c7;this[_0x3bd3d2(0x1f5)]['mergeMenu'](Ur),this['_sheetCanvasPopManagerService']['registerFeatureMenu'](_0x56b014['DRAWING_CHART'],this[_0x3bd3d2(0x467)][_0x3bd3d2(0x3a9)](this));}[_0x69a5c7(0x3ad)](_0x5844b2){const _0x483764=_0x69a5c7;let _0x54951f=this[_0x483764(0x3c5)]['getChartModel'](_0x5844b2);return!this[_0x483764(0x483)]||!_0x54951f||!this['_isOwnedChart'](_0x5844b2)?!0x1:Gr(_0x54951f['chartType']);}[_0x69a5c7(0x467)](_0x1c84e4,_0x4c2f7f,_0x4873f7,_0x3eb216){const _0x1a14c9=_0x69a5c7;if(!this[_0x1a14c9(0x3c5)][_0x1a14c9(0x3a4)](_0x4873f7))return[];let _0x179e2d=[{'label':this[_0x1a14c9(0x36a)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x1c84e4,'subUnitId':_0x4c2f7f,'drawingId':_0x4873f7},'disable':_0x3eb216!==_0x56b014[_0x1a14c9(0x464)]}];return this[_0x1a14c9(0x328)](_0x4873f7)?[..._0x179e2d,{'label':this[_0x1a14c9(0x36a)]['t'](_0x1a14c9(0x490)),'index':0x1,'commandId':_0xa337c1['id'],'commandParams':{'unitId':_0x1c84e4,'drawings':[{'unitId':_0x1c84e4,'subUnitId':_0x4c2f7f,'drawingId':_0x4873f7,'drawingType':_0x3eb216}]},'disable':!0x1},{'label':this[_0x1a14c9(0x36a)]['t'](_0x1a14c9(0x260)),'index':0x2,'commandId':Tr['id'],'commandParams':{'unitId':_0x1c84e4,'subUnitId':_0x4c2f7f,'drawingId':_0x4873f7},'disable':!0x1}]:_0x179e2d;}[_0x69a5c7(0x328)](_0x17f087){const _0x353b79=_0x69a5c7;return this[_0x353b79(0x2d2)]['getChartSourceSpec'](_0x17f087)!==void 0x0;}};ji=q([K(0x0,_0x6f6e55),K(0x1,_0x1534cf),K(0x2,_0x345df3(_0xfc5243)),K(0x3,_0x345df3(_0x186c61)),K(0x4,_0x345df3(J)),K(0x5,_0x345df3(_0x57df2c)),K(0x6,_0x345df3(_0x147114)),K(0x7,_0x31d4ae),K(0x8,_0x345df3(_0x5a2ef7)),K(0x9,_0x345df3(_0xd20d74)),K(0xa,_0xb35996),K(0xb,Y),K(0xc,_0x3387ab),K(0xd,_0x345df3(_0x332fea)),K(0xe,_0x250254)],ji);var Mi=_0x69a5c7(0x34e),Ni=_0x69a5c7(0x430);let Pi=class extends _0x5f44fb{constructor(_0x1a344e,_0xc1fef7){const _0x5b7956=_0x69a5c7;super(),this[_0x5b7956(0x214)]=_0x1a344e,this[_0x5b7956(0x3c5)]=_0xc1fef7,this[_0x5b7956(0x2a5)]();}['_init'](){const _0x1d78f1=_0x69a5c7;this['disposeWithMe'](this[_0x1d78f1(0x214)][_0x1d78f1(0x1f6)][_0x1d78f1(0x32e)](_0x2512cd=>{const _0x589d36=_0x1d78f1;this['_chartModelService'][_0x589d36(0x4ac)](_0x2512cd);}));}};Pi=q([K(0x0,pi),K(0x1,_0x345df3(_0xfc5243))],Pi);let Fi=class extends _0x5f44fb{constructor(_0x59eaa4,_0x2e9337,_0x29866e,_0x3434e6,_0x310911,_0x21ce4f){const _0x1ea0e5=_0x69a5c7;super(),this[_0x1ea0e5(0x3c5)]=_0x59eaa4,this['_chartRenderService']=_0x2e9337,this['_localeService']=_0x29866e,this[_0x1ea0e5(0x3dd)]=_0x3434e6,this['_commandService']=_0x310911,this[_0x1ea0e5(0x2ac)]=_0x21ce4f,W(this,_0x1ea0e5(0x3e8),new Map()),W(this,'_pendingDataUpdateChartIds',new Set()),this[_0x1ea0e5(0x2a5)](),this[_0x1ea0e5(0x2e6)](),this[_0x1ea0e5(0x1f0)]();}[_0x69a5c7(0x1f0)](){const _0x16d438=_0x69a5c7;this['disposeWithMe'](this[_0x16d438(0x2ac)][_0x16d438(0x38e)][_0x16d438(0x34b)](this['_sheetPrintInterceptorService'][_0x16d438(0x38e)]['getInterceptPoints']()[_0x16d438(0x39f)],{'handler':(_0x1327bd,_0x52beb2,_0x405945)=>{const _0x535cf6=_0x16d438;let _0x490635=this[_0x535cf6(0x1e7)][_0x535cf6(0x2e5)](_0x52beb2[_0x535cf6(0x1ee)],_0x52beb2[_0x535cf6(0x419)],_0x52beb2[_0x535cf6(0x2a1)]);return _0x52beb2['resourceCollector'][_0x535cf6(0x337)](_0x490635),_0x405945(_0x1327bd);}}));}[_0x69a5c7(0x2a5)](){const _0x36348b=_0x69a5c7;this[_0x36348b(0x237)](this[_0x36348b(0x3c5)][_0x36348b(0x45a)][_0x36348b(0x32e)](_0x5c8e81=>{const _0x250b38=_0x36348b;if(_0x5c8e81){let _0x38513d=new _0x2ae904();_0x38513d[_0x250b38(0x337)](_0x5c8e81['dataSource$'][_0x250b38(0x2b7)](_0x3c1160(_0x5df48b=>_0x5df48b[_0x250b38(0x44d)]['pipe'](_0x1b1665(0x1))))[_0x250b38(0x32e)](()=>{const _0xfa8a83=_0x250b38;this[_0xfa8a83(0x24e)]['add'](_0x5c8e81['id']);})),_0x38513d[_0x250b38(0x337)](_0x5c8e81[_0x250b38(0x446)][_0x250b38(0x2b7)](_0x3f98ea(_0x5c8e81[_0x250b38(0x2b5)]),_0x3f98ea(this[_0x250b38(0x36a)][_0x250b38(0x319)]),_0x5117d2(0x64))['subscribe'](([[_0x3372f5,_0x17bce8],_0x1dacd6])=>{const _0x1b14dd=_0x250b38;var _0x2c844a;if(!_0x3372f5)return;(_0x2c844a=_0x3372f5[_0x1b14dd(0x371)])==null||_0x2c844a['items'][_0x1b14dd(0x330)]((_0x202754,_0x4aa272)=>{const _0x1f00a0=_0x1b14dd;_0x202754[_0x1f00a0(0x386)]||=this[_0x1f00a0(0x36a)]['t'](_0x1f00a0(0x2cd))+'\x20'+(_0x4aa272+0x1);}),_0x3372f5['series'][_0x1b14dd(0x330)]((_0x782f8f,_0x4dd088)=>{const _0x38588e=_0x1b14dd;_0x782f8f[_0x38588e(0x3f8)]||=this[_0x38588e(0x36a)]['t'](_0x38588e(0x44f))+'\x20'+(_0x4dd088+0x1);});let _0x29d225=this['_chartRenderService'][_0x1b14dd(0x394)](_0x5c8e81,_0x1dacd6),_0x1a98d0=this[_0x1b14dd(0x24e)]['delete'](_0x5c8e81['id']);this[_0x1b14dd(0x1e7)]['render'](_0x5c8e81['id'],_0x3372f5,_0x29d225,{'animateDataUpdate':_0x1a98d0});})),_0x5c8e81[_0x250b38(0x3c8)](()=>{const _0x51b489=_0x250b38;this['_pendingDataUpdateChartIds']['delete'](_0x5c8e81['id']),_0x38513d[_0x51b489(0x393)]();});}}));}[_0x69a5c7(0x2e6)](){const _0x322cb1=_0x69a5c7;this[_0x322cb1(0x237)](this[_0x322cb1(0x465)]['onCommandExecuted'](_0x5706e7=>{const _0x494fed=_0x322cb1;if(_0x5706e7['id']!==_0x2147c7['id'])return;let _0x483fcf=_0x5706e7['params'];_0x483fcf!=null&&_0x483fcf[_0x494fed(0x226)]&&Promise[_0x494fed(0x43b)]()[_0x494fed(0x2f5)](()=>this[_0x494fed(0x46d)](_0x483fcf));}));}[_0x69a5c7(0x46d)](_0x577f1c){const _0x206ece=_0x69a5c7;let _0x1240a1=this[_0x206ece(0x3c5)]['getChartModel'](_0x577f1c[_0x206ece(0x226)]);if(!_0x1240a1||_0x1240a1[_0x206ece(0x24f)]!==_0x5c9c9b[_0x206ece(0x478)])return;let _0x1cea71=_0x1240a1[_0x206ece(0x42d)];_0x1cea71?this[_0x206ece(0x372)](_0x1240a1,_0x1cea71):this[_0x206ece(0x390)](_0x1240a1);}['_renderWhenConfigReady'](_0x5dc424){const _0xe0ebca=_0x69a5c7;if(this[_0xe0ebca(0x3e8)][_0xe0ebca(0x39d)](_0x5dc424['id']))return;let _0x59616a=_0x5dc424[_0xe0ebca(0x446)][_0xe0ebca(0x2b7)](_0x501dd5(_0x4aa7f1=>_0x4aa7f1!=null),_0x11684a(0x1))[_0xe0ebca(0x32e)](_0x5b225c=>{const _0xe1ac29=_0xe0ebca;this[_0xe1ac29(0x3e8)]['delete'](_0x5dc424['id']),this['_renderChartModel'](_0x5dc424,_0x5b225c);});this[_0xe0ebca(0x3e8)][_0xe0ebca(0x46c)](_0x5dc424['id'],_0x59616a),_0x5dc424[_0xe0ebca(0x3c8)](()=>{const _0x39dbd2=_0xe0ebca;_0x59616a['unsubscribe'](),this[_0x39dbd2(0x3e8)]['delete'](_0x5dc424['id']);});}[_0x69a5c7(0x372)](_0x4874bf,_0x2fe0ee){const _0x4ddc69=_0x69a5c7;let _0x3fbadf=this['_chartRenderService'][_0x4ddc69(0x394)](_0x4874bf,this[_0x4ddc69(0x36a)][_0x4ddc69(0x403)]());this[_0x4ddc69(0x1e7)][_0x4ddc69(0x36e)](_0x4874bf['id'],_0x2fe0ee,_0x3fbadf);}};Fi=q([K(0x0,_0x345df3(_0xfc5243)),K(0x1,_0x345df3(J)),K(0x2,_0x345df3(_0x332fea)),K(0x3,Y),K(0x4,_0xb35996),K(0x5,_0x345df3(_0x24e67d))],Fi);function Ii(_0xd0ec60,_0x443b50){const _0x1524fd=_0x69a5c7;return _0xd0ec60[_0x1524fd(0x1ee)]!==_0x443b50[_0x1524fd(0x1ee)]||_0xd0ec60[_0x1524fd(0x419)]!==_0x443b50[_0x1524fd(0x31c)]?_0xd0ec60:{..._0xd0ec60,'subUnitId':_0x443b50[_0x1524fd(0x228)]};}function Li(_0x56c33d,_0xb7dd01){const _0x2e27a2=_0x69a5c7;return(_0x56c33d==null?void 0x0:_0x56c33d[_0x2e27a2(0x297)])===_0x427e12[_0x2e27a2(0x1e9)]?{..._0x56c33d,'source':Ii(_0x56c33d[_0x2e27a2(0x238)],_0xb7dd01)}:_0x56c33d;}function Ri(_0x40c76c,_0x37af80){const _0x323db0=_0x69a5c7;let {rangeInfo:_0x2018df}=_0x40c76c;return Array[_0x323db0(0x3c3)](_0x2018df)?{..._0x40c76c,'rangeInfo':_0x2018df[_0x323db0(0x44e)](_0x51e80c=>({..._0x51e80c,..._0x51e80c[_0x323db0(0x217)]?{'header':Li(_0x51e80c['header'],_0x37af80)}:{},'range':Ii(_0x51e80c[_0x323db0(0x4cc)],_0x37af80)}))}:{..._0x40c76c,'rangeInfo':{..._0x2018df,..._0x2018df[_0x323db0(0x217)]?{'header':{..._0x2018df['header'],..._0x2018df[_0x323db0(0x217)][_0x323db0(0x499)]?{'titles':zi(_0x2018df[_0x323db0(0x217)]['titles'],_0x37af80)}:{}}}:{},'rangeInfo':Ii(_0x2018df[_0x323db0(0x346)],_0x37af80)}};}function zi(_0x4f7235,_0x529c60){const _0x5a9a8d=_0x69a5c7;return _0x4f7235[_0x5a9a8d(0x297)]===_0x427e12[_0x5a9a8d(0x3da)]?{..._0x4f7235,'values':{..._0x4f7235['values']}}:_0x4f7235[_0x5a9a8d(0x297)]===_0x427e12['References']?{..._0x4f7235,'values':Object['fromEntries'](Object[_0x5a9a8d(0x364)](_0x4f7235[_0x5a9a8d(0x42e)])[_0x5a9a8d(0x44e)](([_0x1c0b9f,_0x47bdb1])=>[_0x1c0b9f,_0x47bdb1&&Ii(_0x47bdb1,_0x529c60)]))}:{..._0x4f7235,'values':Object[_0x5a9a8d(0x23a)](Object['entries'](_0x4f7235['values'])['map'](([_0x9a81a1,_0x4dfc8d])=>[_0x9a81a1,_0x4dfc8d&&Li(_0x4dfc8d,_0x529c60)]))};}function Bi(_0x158b31,_0x228206,_0x391bd3,_0xf4f4e1){const _0x48b08c=_0x69a5c7;let _0xb4b638=_0x469840(_0x158b31,_0x228206,_0x391bd3),_0xf60894=[];for(let _0x261b38 of _0x228206){let _0x5eece5=_0xb4b638[_0x48b08c(0x241)]['get'](_0x261b38[_0x48b08c(0x3c1)]),_0x27b640=_0xf4f4e1(_0x261b38);_0x5eece5&&_0x27b640&&_0xf60894[_0x48b08c(0x327)]({'targetChartId':_0x5eece5,'source':Ri(_0x27b640,_0x391bd3)});}return _0xf60894;}let Z=class extends _0x5f44fb{constructor(_0x1f8bf9,_0x3a2b5d,_0x193d8d,_0x469a0e,_0x5585a4){const _0x3ce8cc=_0x69a5c7;super(),this[_0x3ce8cc(0x2f3)]=_0x1f8bf9,this['_sheetInterceptorService']=_0x3a2b5d,this[_0x3ce8cc(0x47d)]=_0x193d8d,this[_0x3ce8cc(0x3c5)]=_0x469a0e,this[_0x3ce8cc(0x2d2)]=_0x5585a4,this[_0x3ce8cc(0x294)]();}['_initSheetChange'](){const _0x1885ed=_0x69a5c7;this[_0x1885ed(0x237)](this[_0x1885ed(0x3ea)]['interceptCommand']({'getMutations':_0x495068=>{const _0x30a057=_0x1885ed;if(_0x495068['id']===_0xa9c809['id']){let _0x422607=_0x1fa958(this[_0x30a057(0x2f3)],_0x495068[_0x30a057(0x3cc)]);if(!_0x422607)return{'redos':[],'undos':[]};let {unitId:_0x435d4f,subUnitId:_0x596761}=_0x422607,_0x138c57=this[_0x30a057(0x47d)][_0x30a057(0x247)](_0x435d4f,_0x596761),_0x123993=Object[_0x30a057(0x42e)](_0x138c57)['filter'](_0x582d57=>_0x582d57[_0x30a057(0x33f)]===_0x56b014[_0x30a057(0x464)]);if(_0x123993[_0x30a057(0x44b)]===0x0)return{'redos':[],'undos':[]};let _0x41a373=[],_0x1b329b=[];for(let _0x58b69b=0x0;_0x58b69b<_0x123993[_0x30a057(0x44b)];_0x58b69b++){let _0x63bcc9=_0x123993[_0x58b69b],_0x346acb=this[_0x30a057(0x3c5)][_0x30a057(0x3a4)](_0x63bcc9[_0x30a057(0x3c1)]);if(!_0x346acb)continue;let _0x1b2bbd=this[_0x30a057(0x2d2)][_0x30a057(0x253)](_0x346acb['id']);if(!_0x1b2bbd)continue;let {chartType:_0x14a906,context:_0x3ca772,style:_0x390f2f,dataAggregation:_0x345151}=_0x346acb[_0x30a057(0x3a0)]();_0x41a373['push']({'id':_0x3c244d['id'],'params':{'unitId':_0x435d4f,'subUnitId':_0x596761,'chartId':_0x63bcc9[_0x30a057(0x3c1)]}}),_0x1b329b[_0x30a057(0x327)]({'id':_0x1af921['id'],'params':{'unitId':_0x435d4f,'subUnitId':_0x596761,'chartId':_0x63bcc9[_0x30a057(0x3c1)],'chartType':_0x14a906,..._0x270522(_0x1b2bbd),'context':_0x3ca772,'style':_0x390f2f,'dataAggregation':_0x345151}});}return{'redos':_0x41a373,'undos':_0x1b329b};}if(_0x495068['id']===_0x3e7429['id']){let {unitId:_0x16f414,subUnitId:_0x3dcf8e,targetSubUnitId:_0x3cbaa6,copyContext:_0x425c36}=_0x495068[_0x30a057(0x3cc)];if(!_0x16f414||!_0x3dcf8e||!_0x3cbaa6)return{'redos':[],'undos':[]};let _0x4bf37b=this[_0x30a057(0x47d)][_0x30a057(0x247)](_0x16f414,_0x3dcf8e),_0x1d6704=Object[_0x30a057(0x42e)](_0x4bf37b)['filter'](_0x384463=>_0x384463[_0x30a057(0x33f)]===_0x56b014[_0x30a057(0x464)]);if(_0x1d6704[_0x30a057(0x44b)]===0x0)return{'redos':[],'undos':[]};let _0x1bcd41=Bi(_0x425c36,_0x1d6704,{'unitId':_0x16f414,'sourceSubUnitId':_0x3dcf8e,'targetSubUnitId':_0x3cbaa6},_0x47069f=>{const _0x127fc6=_0x30a057;let _0x1018b1=this['_chartModelService'][_0x127fc6(0x3a4)](_0x47069f['drawingId']);if(!_0x1018b1)return;let _0x809f8c=this[_0x127fc6(0x2d2)][_0x127fc6(0x253)](_0x1018b1['id']);if(!_0x809f8c)return;let {chartType:_0x1046b8,context:_0x135072,style:_0xb5af3c,dataAggregation:_0x15426c}=_0x1018b1[_0x127fc6(0x3a0)]();return{'rangeInfo':_0x809f8c,'chartType':_0x1046b8,'context':_0x135072,'style':_0xb5af3c,'dataAggregation':_0x15426c};}),_0x279628=[],_0x3b8619=[];for(let {targetChartId:_0x1849c6,source:_0x330caf}of _0x1bcd41){let {rangeInfo:_0x3c9e92,chartType:_0x150154,context:_0x73085f,style:_0x569817,dataAggregation:_0x293646}=_0x330caf;_0x279628['push']({'id':_0x1af921['id'],'params':{'unitId':_0x16f414,'subUnitId':_0x3cbaa6,'chartId':_0x1849c6,'chartType':_0x150154,..._0x270522(_0x3c9e92),'context':_0x73085f,'style':_0x569817,'dataAggregation':_0x293646}}),_0x3b8619[_0x30a057(0x327)]({'id':_0x3c244d['id'],'params':{'unitId':_0x16f414,'subUnitId':_0x3cbaa6,'chartId':_0x1849c6}});}return{'redos':_0x279628,'undos':_0x3b8619};}return{'redos':[],'undos':[]};}}));}};Z=q([K(0x0,_0x345df3(_0x1534cf)),K(0x1,_0x345df3(_0x60328a)),K(0x2,_0x345df3(_0x1ae351)),K(0x3,_0x345df3(_0xfc5243)),K(0x4,_0x345df3(_0x186c61))],Z);const Vi=_0x594228=>_0x594228['getCurrentUnitOfType'](_0x3cb846[_0x69a5c7(0x216)])['getUnitId'](),Hi=_0x39df0a=>{const _0x351b7c=_0x69a5c7;var _0x2485a4;return(_0x2485a4=_0x39df0a[_0x351b7c(0x401)](_0x3cb846['UNIVER_SHEET'])['getActiveSheet']())==null?void 0x0:_0x2485a4[_0x351b7c(0x36c)]();};function Ui(){const _0x37741d=_0x69a5c7;var _0x3d8666;let _0x227a8b=_0x29d6b7(Y),_0x5a6954=_0x29d6b7(_0xfc5243),_0x151735=_0x29d6b7(_0x186c61),_0x5c7038=_0x29d6b7(_0x332fea),_0x57f36=_0x29d6b7(_0x21bd92),_0x142fc4=_0x119e1e(_0x57f36),_0x352577=_0x6c0456(()=>{const _0x389a9c=_0x20d6;let _0x65ddc9=Ir(Pr[_0x389a9c(0x461)](),_0x142fc4);return _0x2e6d09(_0x65ddc9[_0x389a9c(0x44e)](_0x35aa61=>({'id':_0x35aa61['id'],'label':_0x5c7038['t'](_0x389a9c(0x276)+_0x35aa61[_0x389a9c(0x46e)]),'pieSecondaryPlotType':_0x35aa61[_0x389a9c(0x3e6)],'value':_0x35aa61[_0x389a9c(0x305)]})));},[_0x142fc4,_0x5c7038]),_0x45ce6a=_0x293efe(_0x5a6954[_0x37741d(0x1e3)],_0x5a6954['activeChartModel']),_0x1ab9b4=_0x45ce6a?_0x151735[_0x37741d(0x3d4)](_0x45ce6a['id']):void 0x0,_0x9b881f=_0x293efe(_0x1ab9b4==null?void 0x0:_0x1ab9b4[_0x37741d(0x476)],_0x1ab9b4==null?void 0x0:_0x1ab9b4[_0x37741d(0x427)]()),_0x1abb81=Array['isArray'](_0x9b881f),_0x16bdfa=_0x9b881f&&!_0x1abb81&&_0x9b881f[_0x37741d(0x2e1)]?_0x364c6a[_0x37741d(0x3ae)]:_0x364c6a[_0x37741d(0x27d)],_0x41f2da=_0x1abb81?(_0x3d8666=_0x9b881f[0x0])==null?void 0x0:_0x3d8666[_0x37741d(0x4cc)]:_0x9b881f==null?void 0x0:_0x9b881f[_0x37741d(0x346)];return _0x39cd6c('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x39cd6c(_0x175816,{'chartTypeOptions':_0x352577,'dataSourceControl':_0x39cd6c(Wi,{'dataRange':_0x9b881f,'primaryRange':_0x41f2da}),'categoryToggleLabel':_0x5c7038['t'](_0x37741d(0x4b6),_0x16bdfa===_0x364c6a[_0x37741d(0x3ae)]?_0x16bdfa+'\x20'+(((_0x41f2da==null?void 0x0:_0x41f2da[_0x37741d(0x4cc)][_0x37741d(0x272)])??0x0)+0x1):_0x16bdfa+'\x20'+_0x29488d((_0x41f2da==null?void 0x0:_0x41f2da[_0x37741d(0x4cc)][_0x37741d(0x3d9)])??0x0)),'orientationControl':_0x1abb81?void 0x0:_0x39cd6c(_0x43a6c9,{'size':_0x37741d(0x35c),'onClick':()=>_0x227a8b[_0x37741d(0x2b2)](_0x16bdfa===_0x364c6a[_0x37741d(0x3ae)]?_0x364c6a[_0x37741d(0x27d)]:_0x364c6a['Row']),'children':_0x5c7038['t'](_0x37741d(0x43d))})})});}function Wi(_0x4a6e0e){const _0x593cc6=_0x69a5c7;let {dataRange:_0x192658,primaryRange:_0x4a84cb}=_0x4a6e0e,_0xee4d0f=_0x29d6b7(Y),_0x3942c8=_0x29d6b7(_0x332fea),_0x52a6ff=_0x29d6b7(_0x1534cf),[_0x5dfe65,_0xf16293]=_0x11eb2f(!0x1),[_0x4905bc,_0x5890f0]=_0x11eb2f(!0x1),_0xcaf669=Vi(_0x52a6ff),_0x56385f=Hi(_0x52a6ff);_0x434cb3(()=>{const _0xaa7b2=_0x20d6;_0xee4d0f[_0xaa7b2(0x361)](_0x5dfe65);},[_0x5dfe65,_0xee4d0f]);let _0x71d293=_0x6c0456(()=>_0x32b3ce(async _0x3504b4=>{const _0x12e534=_0x20d6;var _0x2d4b79;if(Mr(_0x192658,_0x52a6ff)===_0x3504b4)return;let _0x2596f9=_0x3504b4['split'](',')[_0x12e534(0x1de)](Boolean)[_0x12e534(0x44e)](_0x77b34e)[0x0];if(!_0x2596f9)return;let {unitId:_0x2f6ed3,sheetName:_0x5578c1,range:_0x492ad6}=_0x2596f9,_0x2f9adf=_0x2f6ed3||_0xcaf669,_0x1d4491=((_0x2d4b79=_0x52a6ff['getUnit'](_0x2f9adf)['getSheetBySheetName'](_0x5578c1))==null?void 0x0:_0x2d4b79['getSheetId']())||(_0x4a84cb==null?void 0x0:_0x4a84cb[_0x12e534(0x419)])||_0x56385f;_0x1d4491&&_0xee4d0f[_0x12e534(0x3dc)]({'rangeInfo':{'range':_0x492ad6,'unitId':_0x2f9adf,'subUnitId':_0x1d4491}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x192658,_0x4a84cb,_0xee4d0f,_0x56385f,_0xcaf669,_0x52a6ff]);return _0x434cb3(()=>()=>_0x71d293['cancel'](),[_0x71d293]),_0x39cd6c(_0x593cc6(0x382),{'className':_0x593cc6(0x38c),'children':_0x1b1cd9(_0x593cc6(0x382),{'children':[_0x39cd6c(_0x33cfc0,{'title':_0x3942c8['t']('sheets-chart-ui.common.dataRange')}),_0x39cd6c(_0x5901f0,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0xcaf669,'subUnitId':_0x56385f,'initialValue':_0x192658?Mr(_0x192658,_0x52a6ff):'','onChange':(_0x3897e9,_0x5ea9c6)=>_0x71d293(_0x5ea9c6),'onFocusChange':_0x4ef7d0=>{_0x4905bc||_0xf16293(_0x4ef7d0);},'onRangeSelectorDialogVisibleChange':_0x3edea8=>{_0x5890f0(_0x3edea8),_0xf16293(_0x3edea8);}})]})});}function Gi(){const _0x372cc1=_0x69a5c7;let [_0x55d5a7,_0x261090]=_0x11eb2f(_0x1f97c4[_0x372cc1(0x2e7)]),_0xd9e73=_0x29d6b7(_0x21bd92),_0x26252c=_0x29d6b7(_0x332fea),_0x4bb8ff=_0x29d6b7(Y),_0x5a39f3=_0x29d6b7(_0xfc5243),_0x5430d7=_0x29d6b7(_0x186c61),_0x6f2c69=_0x293efe(_0x5a39f3[_0x372cc1(0x1e3)],_0x5a39f3['activeChartModel']),_0x58eda2=_0x293efe(_0x4bb8ff[_0x372cc1(0x35d)],null),_0x3c7daf=_0x6c0456(()=>{const _0x5a707b=_0x372cc1;var _0x2c6c73;if(!_0x6f2c69)return null;let _0xc92fa5=_0x5430d7[_0x5a707b(0x253)](_0x6f2c69['id']);if(!_0xc92fa5)return null;let _0x3ca7a5=Array['isArray'](_0xc92fa5)?(_0x2c6c73=_0xc92fa5[0x0])==null?void 0x0:_0x2c6c73[_0x5a707b(0x4cc)]:_0xc92fa5[_0x5a707b(0x346)];return _0x3ca7a5?new _0x68520(_0x6f2c69,new _0x3bea97({'unitId':_0x3ca7a5[_0x5a707b(0x1ee)],'subUnitId':_0x3ca7a5[_0x5a707b(0x419)],'chartId':_0x6f2c69['id'],'injector':_0xd9e73})):null;},[_0x6f2c69,_0xd9e73,_0x5430d7]);if(_0x434cb3(()=>{const _0x520ce6=_0x372cc1;var _0x57fad2,_0x50e69b;_0x6f2c69&&(_0x58eda2==null?void 0x0:_0x58eda2[_0x520ce6(0x3ed)])===_0x6f2c69['id']&&(((_0x57fad2=_0x58eda2['route'])==null?void 0x0:_0x57fad2[_0x520ce6(0x37a)])===_0x1f97c4[_0x520ce6(0x4ba)]&&_0x261090(_0x1f97c4['Style']),((_0x50e69b=_0x58eda2[_0x520ce6(0x3a6)])==null?void 0x0:_0x50e69b[_0x520ce6(0x37a)])===_0x1f97c4['Data']&&_0x261090(_0x1f97c4[_0x520ce6(0x2e7)]));},[_0x6f2c69,_0x58eda2]),!_0x3c7daf)return null;let _0x4e2b63=_0x39cd6c('div',{'className':_0x372cc1(0x2f2),'children':_0x39cd6c(_0x2aef1e,{'ariaLabel':_0x26252c['t'](_0x372cc1(0x484)),'activeTab':_0x55d5a7,'onTabChange':_0x261090,'tabListClassName':_0x372cc1(0x2cb),'panelClassName':_0x55d5a7===_0x1f97c4[_0x372cc1(0x4ba)]?'-univer-mx-4\x20univer-overflow-visible':_0x372cc1(0x322),'tabs':[{'id':_0x1f97c4[_0x372cc1(0x2e7)],'panelId':_0x372cc1(0x27f),'title':_0x26252c['t'](_0x372cc1(0x435)),'content':_0x39cd6c(Ui,{})},{'id':_0x1f97c4[_0x372cc1(0x4ba)],'panelId':_0x372cc1(0x2d3),'title':_0x26252c['t']('sheets-chart-ui.common.customize'),'content':_0x39cd6c(wi,{'defaultValues':yi})}]})});return _0x39cd6c(_0x19c27e,{'chartUIService':_0x4bb8ff,'hostAdapter':_0x3c7daf,'children':_0x4e2b63});}let Ki=class extends _0x5f44fb{constructor(_0x30f9ff){const _0x40003d=_0x69a5c7;super(),this['disposeWithMe'](_0x30f9ff[_0x40003d(0x33e)](Ei,Gi));}};Ki=q([K(0x0,_0x345df3(_0x78a75))],Ki);let qi=class extends _0x5f44fb{constructor(_0x439348,_0x2c77f5,_0x1b587a,_0x18f6c8,_0x38bbf9,_0x12c38d,_0x302832,_0x74cca5,_0x176714){const _0x2c85dd=_0x69a5c7;super(),this['_drawingManagerService']=_0x439348,this['_chartModelService']=_0x2c77f5,this[_0x2c85dd(0x3ec)]=_0x1b587a,this['_menuManagerService']=_0x18f6c8,this[_0x2c85dd(0x299)]=_0x38bbf9,this[_0x2c85dd(0x465)]=_0x12c38d,this['_sheetsChartUIService']=_0x302832,this[_0x2c85dd(0x202)]=_0x74cca5,this[_0x2c85dd(0x36a)]=_0x176714,W(this,_0x2c85dd(0x246),null),W(this,'_panelInitialized',!0x1),this['_initMenus']();}[_0x69a5c7(0x393)](){const _0x3e74e5=_0x69a5c7;this[_0x3e74e5(0x402)](),super[_0x3e74e5(0x393)]();}[_0x69a5c7(0x26b)](){const _0x2a836b=_0x69a5c7;this['_panelInitialized']||(this[_0x2a836b(0x1f3)]=!0x0,this[_0x2a836b(0x237)](this['_commandService'][_0x2a836b(0x34c)](_0x3ce176=>{const _0x4b2668=_0x2a836b;if(_0x3ce176['id']!==H['id'])return;let _0x365818=_0x3ce176[_0x4b2668(0x3cc)];this[_0x4b2668(0x3c0)](_0x365818[_0x4b2668(0x3c1)],_0x365818[_0x4b2668(0x3a6)]);})));}[_0x69a5c7(0x3c0)](_0xdcb717,_0x225a80){const _0x1d40e7=_0x69a5c7;let _0x58b550=this[_0x1d40e7(0x3c5)]['getChartModel'](_0xdcb717);_0x58b550&&(this['_chartModelService'][_0x1d40e7(0x259)](_0x58b550),this[_0x1d40e7(0x3d2)](),this[_0x1d40e7(0x2c3)][_0x1d40e7(0x220)](!0x0),this[_0x1d40e7(0x2c3)]['setPanelRoute'](_0xdcb717,_0x225a80??null));}[_0x69a5c7(0x402)](){const _0x3cf9be=_0x69a5c7;let _0x24c565=this['_sidebarDisposable'];this[_0x3cf9be(0x246)]=null,this['_clearPanelState'](),_0x24c565==null||_0x24c565[_0x3cf9be(0x393)]();}[_0x69a5c7(0x261)](){const _0x1d22a0=_0x69a5c7;this[_0x1d22a0(0x1f5)][_0x1d22a0(0x42b)]({[_0x15dc3c[_0x1d22a0(0x268)]]:{[U['id']]:{'order':0x4,'menuItemFactory':Lr}}}),this[_0x1d22a0(0x299)]['registerFeatureMenu'](_0x56b014[_0x1d22a0(0x464)],(_0x3f413b,_0x305a83,_0x4bcf68,_0x2b558f)=>[{'label':this['_localeService']['t']('sheets-chart-ui.common.editChart'),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x3f413b,'subUnitId':_0x305a83,'drawingId':_0x4bcf68},'disable':_0x2b558f!==_0x56b014[_0x1d22a0(0x464)]},{'label':this[_0x1d22a0(0x36a)]['t'](_0x1d22a0(0x490)),'index':0x1,'commandId':_0xa337c1['id'],'commandParams':{'unitId':_0x3f413b,'drawings':[{'unitId':_0x3f413b,'subUnitId':_0x305a83,'drawingId':_0x4bcf68,'drawingType':_0x2b558f}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}['_openPanel'](){const _0x339c13=_0x69a5c7;this['_sidebarDisposable']=this[_0x339c13(0x3ec)][_0x339c13(0x48d)]({'id':Ei,'header':{'title':this['_localeService']['t']('sheets-chart-ui.common.editChart')},'children':{'label':Ei},'onClose':()=>{const _0x21d9bc=_0x339c13;this[_0x21d9bc(0x246)]=null,this[_0x21d9bc(0x3b5)]();}});}['_clearPanelState'](){const _0x1783e4=_0x69a5c7;this[_0x1783e4(0x2c3)][_0x1783e4(0x220)](!0x1),this[_0x1783e4(0x2c3)][_0x1783e4(0x225)](),this[_0x1783e4(0x3c5)][_0x1783e4(0x2c4)]&&this[_0x1783e4(0x3c5)][_0x1783e4(0x259)](null),this[_0x1783e4(0x4a9)][_0x1783e4(0x414)](null),this[_0x1783e4(0x202)]['setContextValue'](_0x23d889,!0x1);}};qi=q([K(0x0,_0x6f6e55),K(0x1,_0x345df3(_0xfc5243)),K(0x2,_0x345df3(_0x147114)),K(0x3,_0x31d4ae),K(0x4,_0x345df3(_0xd20d74)),K(0x5,_0xb35996),K(0x6,Y),K(0x7,_0x3387ab),K(0x8,_0x345df3(_0x332fea))],qi);let Ji=class extends _0x5f44fb{constructor(_0x423783,_0x29db52,_0x21ef8e,_0x3a6994,_0x10004e){const _0x52efbf=_0x69a5c7;super(),this[_0x52efbf(0x399)]=_0x423783,this[_0x52efbf(0x254)]=_0x29db52,this['_sheetDrawingService']=_0x21ef8e,this[_0x52efbf(0x3c5)]=_0x3a6994,this[_0x52efbf(0x2d2)]=_0x10004e,W(this,'_copyInfo',void 0x0),this[_0x52efbf(0x28d)]();}get['_focusedDrawings'](){const _0x3e76ba=_0x69a5c7;return this[_0x3e76ba(0x47d)][_0x3e76ba(0x331)]();}[_0x69a5c7(0x28d)](){const _0x1bb983=_0x69a5c7;this[_0x1bb983(0x237)](this[_0x1bb983(0x254)][_0x1bb983(0x344)]({'id':_0x112fc2,'onBeforeCopyFocusedObject':(_0x3acf64,_0x1a582b,_0x54eb96)=>{const _0x52d9eb=_0x1bb983;this['_copyInfo']=null;let _0x2411b4=this[_0x52d9eb(0x34d)][_0x52d9eb(0x1de)](_0x5bee0c=>this['_isOwnedChart'](_0x5bee0c));return _0x2411b4['length']!==0x0&&(this['_copyInfo']={'unitId':_0x3acf64,'subUnitId':_0x1a582b,'copyType':_0x54eb96,'drawings':_0x2411b4},!0x0);},'onBeforeCopy':(_0x29e1a0,_0x33dcb5,_0x5f2133,_0x2bf573)=>{const _0x23b3e6=_0x1bb983;this['_copyInfo']=null,this[_0x23b3e6(0x494)](_0x29e1a0,_0x33dcb5,_0x5f2133,_0x2bf573);},'onPasteCells':(_0x566d76,_0x438073,_0x54970b,_0x124346)=>{const _0x5b307e=_0x1bb983;if(!_0x124346[_0x5b307e(0x31b)]||!_0x566d76||!this[_0x5b307e(0x31e)])return{'redos':[],'undos':[]};let {pasteType:_0x13f9ab}=_0x124346;return _0x13f9ab===_0x1ff07e[_0x5b307e(0x2e3)]?this[_0x5b307e(0x26c)](_0x438073,this[_0x5b307e(0x31e)]['copyType']===_0x2edb47[_0x5b307e(0x26f)]):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0x105f72,_0x536a52,_0xb4fc3f,_0x1e6d9e){const _0x7551a=_0x69a5c7;let _0x113bf3=this['_sheetSkeletonService'][_0x7551a(0x267)](_0x105f72,_0x536a52);if(!_0x113bf3)return;let _0x2439b1=_0x191702(_0x113bf3,_0xb4fc3f);if(!_0x2439b1)return;let {startX:_0x313b7c,endX:_0x384998,startY:_0xc2fdbf,endY:_0x5d278a}=_0x2439b1,_0x31f041=this[_0x7551a(0x47d)]['getDrawingData'](_0x105f72,_0x536a52),_0x2f31e7=[];for(let [_0x527b42,_0x40ac8e]of Object['entries'](_0x31f041)){if(!this[_0x7551a(0x328)](_0x40ac8e))continue;let {transform:_0x1a7a7b}=_0x40ac8e;if(!_0x1a7a7b)continue;let {left:_0x7b0097=0x0,top:_0x5aed84=0x0,width:_0x12b915=0x0,height:_0x329a19=0x0}=_0x1a7a7b;_0x313b7c<=_0x7b0097&&_0x384998>=_0x7b0097+_0x12b915&&_0xc2fdbf<=_0x5aed84&&_0x5d278a>=_0x5aed84+_0x329a19&&_0x2f31e7[_0x7551a(0x327)](_0x40ac8e);}_0x2f31e7[_0x7551a(0x44b)]>0x0&&(this[_0x7551a(0x31e)]={'unitId':_0x105f72,'subUnitId':_0x536a52,'copyType':_0x1e6d9e,'copyRange':_0xb4fc3f,'drawings':_0x2f31e7});}['_isOwnedChart'](_0x1e994c){const _0x584faf=_0x69a5c7;return _0x1e994c[_0x584faf(0x33f)]===_0x56b014[_0x584faf(0x464)]&&this[_0x584faf(0x2d2)][_0x584faf(0x264)](_0x1e994c[_0x584faf(0x1ee)],_0x1e994c[_0x584faf(0x3c1)])===_0x1e994c[_0x584faf(0x419)];}[_0x69a5c7(0x26c)](_0x28599c,_0x528fec){const _0x2f1b7b=_0x69a5c7;let {unitId:_0x43174c,subUnitId:_0xc6ca6d,range:_0x3e1344}=_0x28599c,_0x574109=this[_0x2f1b7b(0x399)][_0x2f1b7b(0x267)](_0x43174c,_0xc6ca6d);if(!_0x574109)return{'redos':[],'undos':[]};let _0x3e3bdd=_0x55eda6(_0x3e1344),{unitId:_0x436286,subUnitId:_0xae2b7c,copyRange:_0x4cb277,drawings:_0x38ae56}=this[_0x2f1b7b(0x31e)],_0x4d1455=this[_0x2f1b7b(0x399)][_0x2f1b7b(0x267)](_0x436286,_0xae2b7c);if(!_0x4d1455)return{'redos':[],'undos':[]};let _0x24a2f0=[],_0x49429c=[];for(let _0x2edc33 of _0x38ae56){let {drawingId:_0x1f151c,transform:_0x3d1c8a,sheetTransform:_0xf71a16}=_0x2edc33,_0x45371c=this[_0x2f1b7b(0x3c5)][_0x2f1b7b(0x3a4)](_0x1f151c);if(!_0x45371c||!_0x3d1c8a||!_0xf71a16)continue;let _0x139f40=this[_0x2f1b7b(0x3f4)]({'transform':_0x3d1c8a,'sheetTransform':_0xf71a16},{'skeleton':_0x4d1455,'range':_0x4cb277},{'skeleton':_0x574109,'range':_0x3e3bdd});if(_0x528fec){let {redos:_0x2a4375,undos:_0x49ecc9}=this[_0x2f1b7b(0x456)]({'fromUnitId':_0x436286,'fromSubUnitId':_0xae2b7c,'toUnitId':_0x43174c,'toSubUnitId':_0xc6ca6d,'drawing':_0x2edc33,'newTransforms':_0x139f40},_0x45371c);_0x24a2f0[_0x2f1b7b(0x327)](..._0x2a4375),_0x49429c[_0x2f1b7b(0x327)](..._0x49ecc9);continue;}let {redos:_0x1ec973,undos:_0x17f136}=this[_0x2f1b7b(0x416)]({'toUnitId':_0x43174c,'toSubUnitId':_0xc6ca6d,'drawing':_0x2edc33,'newTransforms':_0x139f40},_0x45371c);_0x24a2f0[_0x2f1b7b(0x327)](..._0x1ec973),_0x49429c[_0x2f1b7b(0x327)](..._0x17f136);}return{'redos':_0x24a2f0,'undos':_0x49429c};}[_0x69a5c7(0x456)](_0x5be94a,_0x43f969){const _0x12a4c7=_0x69a5c7;let {fromUnitId:_0x6e6646,fromSubUnitId:_0x2bfb8e,toUnitId:_0x351ead,toSubUnitId:_0x240afb,drawing:_0x519352,newTransforms:_0x5e9633}=_0x5be94a,_0x72ae72={..._0x519352,'unitId':_0x351ead,'subUnitId':_0x240afb,'transform':_0x5e9633[_0x12a4c7(0x3c7)],'sheetTransform':_0x5e9633['sheetTransform']};if(_0x351ead===_0x6e6646&&_0x240afb===_0x2bfb8e){let {redo:_0x54c7c4,undo:_0x4755a6,objects:_0x4e8ab2}=this[_0x12a4c7(0x47d)][_0x12a4c7(0x32d)]([_0x72ae72]);return{'redos':[{'id':_0x558242['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'type':_0x51d5ba['UPDATE'],'op':_0x54c7c4,'objects':_0x4e8ab2}}],'undos':[{'id':_0x558242['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'type':_0x51d5ba[_0x12a4c7(0x208)],'op':_0x4755a6,'objects':_0x4e8ab2}}]};}{let _0x3ca2ba=this[_0x12a4c7(0x47d)][_0x12a4c7(0x406)]([_0x519352]),_0xc7a5d7=this['_sheetDrawingService'][_0x12a4c7(0x491)]([_0x72ae72]),_0x56c956=this['_sheetsChartService'][_0x12a4c7(0x253)](_0x43f969['id']);if(!_0x56c956)return{'redos':[],'undos':[]};let {chartType:_0x4f4e12,context:_0x41e27d,style:_0x4d5991,dataAggregation:_0x2a41ae}=_0x43f969[_0x12a4c7(0x3a0)]();return{'redos':[{'id':_0x558242['id'],'params':{'unitId':_0x6e6646,'subUnitId':_0x2bfb8e,'type':_0x51d5ba[_0x12a4c7(0x45e)],'op':_0x3ca2ba['redo'],'objects':_0x3ca2ba[_0x12a4c7(0x318)]}},{'id':_0x3c244d['id'],'params':{'unitId':_0x6e6646,'subUnitId':_0x2bfb8e,'chartId':_0x519352['drawingId']}},{'id':_0x558242['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'type':_0x51d5ba[_0x12a4c7(0x28f)],'op':_0xc7a5d7['redo'],'objects':_0xc7a5d7['objects']}},{'id':_0x1af921['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'chartId':_0x519352['drawingId'],'chartType':_0x4f4e12,..._0x270522(_0x56c956),'context':_0x41e27d,'style':_0x4d5991,'dataAggregation':_0x2a41ae}}],'undos':[{'id':_0x558242['id'],'params':{'unitId':_0x6e6646,'subUnitId':_0x2bfb8e,'type':_0x51d5ba['INSERT'],'op':_0x3ca2ba[_0x12a4c7(0x3f0)],'objects':_0x3ca2ba[_0x12a4c7(0x318)]}},{'id':_0x1af921['id'],'params':{'unitId':_0x6e6646,'subUnitId':_0x2bfb8e,'chartId':_0x519352[_0x12a4c7(0x3c1)],'chartType':_0x4f4e12,..._0x270522(_0x56c956),'context':_0x41e27d,'style':_0x4d5991,'dataAggregation':_0x2a41ae}},{'id':_0x558242['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'type':_0x51d5ba[_0x12a4c7(0x45e)],'op':_0xc7a5d7['undo'],'objects':_0xc7a5d7[_0x12a4c7(0x318)]}},{'id':_0x3c244d['id'],'params':{'unitId':_0x351ead,'subUnitId':_0x240afb,'chartId':_0x519352['drawingId']}}]};}}['_generateCopyPasteMutations'](_0x4fa959,_0x42ee6e){const _0x1a666a=_0x69a5c7;let {toUnitId:_0x50f63b,toSubUnitId:_0x5e9eba,drawing:_0x1533bd,newTransforms:_0x1e5757}=_0x4fa959,_0x501e32=_0x202a60(),_0xf6e4b9={..._0x1533bd,'unitId':_0x50f63b,'subUnitId':_0x5e9eba,'drawingId':_0x501e32,'transform':_0x1e5757[_0x1a666a(0x3c7)],'sheetTransform':_0x1e5757[_0x1a666a(0x3d1)]},{redo:_0x220cd4,undo:_0x12ea56,objects:_0x1ce064}=this['_sheetDrawingService'][_0x1a666a(0x491)]([_0xf6e4b9]),_0x254bd7=this['_sheetsChartService'][_0x1a666a(0x253)](_0x42ee6e['id']);if(!_0x254bd7)return{'redos':[],'undos':[]};let {chartType:_0x32b536,context:_0x4379d6,style:_0x1d6eb2,dataAggregation:_0x130588}=_0x42ee6e[_0x1a666a(0x3a0)]();return{'redos':[{'id':_0x558242['id'],'params':{'unitId':_0x50f63b,'subUnitId':_0x5e9eba,'type':_0x51d5ba['INSERT'],'op':_0x220cd4,'objects':_0x1ce064}},{'id':_0x1af921['id'],'params':{'unitId':_0x50f63b,'subUnitId':_0x5e9eba,'chartId':_0x501e32,'chartType':_0x32b536,..._0x270522(_0x254bd7),'context':_0x4379d6,'style':_0x1d6eb2,'dataAggregation':_0x130588}}],'undos':[{'id':_0x558242['id'],'params':{'unitId':_0x50f63b,'subUnitId':_0x5e9eba,'type':_0x51d5ba[_0x1a666a(0x45e)],'op':_0x12ea56,'objects':_0x1ce064}},{'id':_0x3c244d['id'],'params':{'unitId':_0x50f63b,'subUnitId':_0x5e9eba,'chartId':_0x501e32}}]};}[_0x69a5c7(0x3f4)](_0x4dd9a2,_0x2a46d9,_0x55c8b2){const _0x3ccae5=_0x69a5c7;let {range:_0x51f82a,skeleton:_0x1f0406}=_0x2a46d9,{range:_0x1d1bb0,skeleton:_0x3b8c23}=_0x55c8b2,{transform:_0x29c372,sheetTransform:_0x18a4d6}=_0x4dd9a2,_0x295dc0={..._0x29c372};if(_0x51f82a){let _0x15fb70=_0x191702(_0x1f0406,_0x51f82a),_0x5df000=_0x191702(_0x3b8c23,_0x1d1bb0);if(_0x15fb70&&_0x5df000){let _0x42d46a=_0x5df000[_0x3ccae5(0x357)]-_0x15fb70[_0x3ccae5(0x357)],_0x1227a5=_0x5df000[_0x3ccae5(0x30e)]-_0x15fb70[_0x3ccae5(0x30e)];_0x295dc0[_0x3ccae5(0x213)]=(_0x295dc0[_0x3ccae5(0x213)]??0x0)+_0x42d46a,_0x295dc0[_0x3ccae5(0x3db)]=(_0x295dc0[_0x3ccae5(0x3db)]??0x0)+_0x1227a5;}}else{let _0x5ca659=_0x191702(_0x3b8c23,_0x1d1bb0);_0x295dc0[_0x3ccae5(0x213)]=_0x5ca659==null?void 0x0:_0x5ca659[_0x3ccae5(0x357)],_0x295dc0['top']=_0x5ca659==null?void 0x0:_0x5ca659[_0x3ccae5(0x30e)];}return{'transform':_0x295dc0,'sheetTransform':_0x3fe23c(_0x295dc0,_0x3b8c23)??_0x18a4d6};}};Ji=q([K(0x0,_0x345df3(_0x38e42c)),K(0x1,_0x345df3(_0x917367)),K(0x2,_0x345df3(_0x1ae351)),K(0x3,_0x345df3(_0xfc5243)),K(0x4,_0x345df3(_0x186c61))],Ji);let Yi=class extends _0x5f44fb{constructor(_0x163c01,_0x2a4912,_0x1d3555,_0x29fbdd){const _0x5399c4=_0x69a5c7;super(),this[_0x5399c4(0x465)]=_0x163c01,this[_0x5399c4(0x36a)]=_0x2a4912,this[_0x5399c4(0x22b)]=_0x1d3555,this[_0x5399c4(0x2d2)]=_0x29fbdd,this['_initPermission']();}[_0x69a5c7(0x1f4)](){const _0x586331=_0x69a5c7;this[_0x586331(0x237)](this[_0x586331(0x465)][_0x586331(0x2cc)](_0xd46f78=>{const _0x43aa03=_0x586331;let _0xe5f2f2,_0x20c84b;if(_0xd46f78['id']===_0x5a5e08['id']){let _0x171d89=_0xd46f78[_0x43aa03(0x3cc)];_0xe5f2f2=_0x171d89['unitId'],_0x20c84b=_0x171d89[_0x43aa03(0x419)];}else{if(_0xd46f78['id']===_0x2ebcde['id']||_0xd46f78['id']===_0x50e31b['id']){let _0x4dee25=_0xd46f78[_0x43aa03(0x3cc)];_0xe5f2f2=_0x4dee25[_0x43aa03(0x1ee)],_0x20c84b=this['_sheetsChartService'][_0x43aa03(0x264)](_0x4dee25[_0x43aa03(0x1ee)],_0x4dee25[_0x43aa03(0x226)]);}}_0xe5f2f2&&_0x20c84b&&(this[_0x43aa03(0x22b)]['permissionCheckWithoutRange']({'workbookTypes':[_0x49772b],'worksheetTypes':[_0x42fea3]},_0xe5f2f2,_0x20c84b)||this[_0x43aa03(0x22b)][_0x43aa03(0x2bf)](this[_0x43aa03(0x36a)]['t'](_0x43aa03(0x26d))));}));}};Yi=q([K(0x0,_0x345df3(_0xb35996)),K(0x1,_0x345df3(_0x332fea)),K(0x2,_0x345df3(_0x582ab5)),K(0x3,_0x345df3(_0x186c61))],Yi);let Xi=class extends _0x5f44fb{constructor(_0x319c0f,_0x5b61e8){const _0x20b1a0=_0x69a5c7;super(),this[_0x20b1a0(0x282)]=_0x5b61e8,this[_0x20b1a0(0x237)](_0x319c0f[_0x20b1a0(0x33e)](this));}[_0x69a5c7(0x288)](_0xcfc030){const _0x3c3aab=_0x69a5c7;return _0x3c3aab(0x1ee)in _0xcfc030&&_0x3c3aab(0x419)in _0xcfc030;}['exportImage'](_0x470d22,_0x33b24f){const _0x3f0262=_0x69a5c7;return this[_0x3f0262(0x282)]['exportImage'](_0x470d22[_0x3f0262(0x37b)](),_0x33b24f);}};Xi=q([K(0x0,_0x345df3(_0x16b7e0)),K(0x1,_0x345df3(J))],Xi);let Q=class extends _0x5a6cd9{constructor(_0x4fd3e9=wr,_0x36c9ef,_0x2629a4,_0x15178f){const _0x2dfc11=_0x69a5c7;super(),this[_0x2dfc11(0x3bc)]=_0x4fd3e9,this[_0x2dfc11(0x203)]=_0x36c9ef,this[_0x2dfc11(0x350)]=_0x2629a4,this['_commandService']=_0x15178f;let {..._0x133a3d}=_0x43ed0f({},wr,this['_config']);this[_0x2dfc11(0x350)][_0x2dfc11(0x3b0)](Cr,_0x133a3d),this[_0x2dfc11(0x495)]();}[_0x69a5c7(0x39c)](){const _0x340671=_0x69a5c7;let _0xdfc16d=[[Ki],[Y,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[J],[Xi],[qi],[Pi],[Fi],[Ji],[Z],[Yi]],_0x3ca4a3=[[Ki],[qi],[Fi],[Pi],[Xi],[Y],[Ji],[Z],[Yi]];_0xdfc16d[_0x340671(0x330)](_0x1ee971=>this[_0x340671(0x203)]['add'](_0x1ee971)),_0x13e92b(this[_0x340671(0x203)],_0x3ca4a3);}[_0x69a5c7(0x3aa)](){const _0x27fbc0=_0x69a5c7;var _0x4b6999;(_0x4b6999=this['_injector'][_0x27fbc0(0x39d)](qi))==null||_0x4b6999['initPanel']();}[_0x69a5c7(0x495)](){const _0xdb376e=_0x69a5c7;[U,H][_0xdb376e(0x330)](_0x247d75=>this['disposeWithMe'](this[_0xdb376e(0x465)][_0xdb376e(0x2fd)](_0x247d75)));}};W(Q,_0x69a5c7(0x297),_0x3cb846[_0x69a5c7(0x216)]),W(Q,_0x69a5c7(0x487),_0x69a5c7(0x466)),W(Q,'packageName',Mi),W(Q,'version',Ni),Q=q([_0x29ad3a(_0x1820fc,_0x5660da,_0x2e4d79,_0x404a8f,_0x4da14f,_0xedd2d6,_0x222f25,_0x4372aa,_0x50420e,_0x3e8082),K(0x1,_0x345df3(_0x21bd92)),K(0x2,_0x250254),K(0x3,_0xb35996)],Q);const Zi={'scaleX':0x1,'scaleY':0x1};function Qi(_0xf9d1a4){let _0x4f06d5=_0xf9d1a4['nativeEvent'];return _0x4f06d5 instanceof MouseEvent?_0x4f06d5:void 0x0;}function $i(_0x151753){const _0x1e91ed=_0x69a5c7;let _0x3d86f0=_0x151753[_0x1e91ed(0x201)],_0x276333=_0x3d86f0==null?void 0x0:_0x3d86f0[_0x1e91ed(0x289)];return _0x276333 instanceof Element?_0x276333:void 0x0;}function ea(_0x22a813){const _0x137541=_0x69a5c7;var _0x2bd701;return(_0x2bd701=$i(_0x22a813))==null?void 0x0:_0x2bd701[_0x137541(0x373)]();}function ta(_0x201928){const _0x48d7e5=_0x69a5c7;return _0x201928['width']||_0x201928['right']-_0x201928[_0x48d7e5(0x213)];}function na(_0x4b7110){const _0x3ba408=_0x69a5c7;return _0x4b7110[_0x3ba408(0x452)]||_0x4b7110[_0x3ba408(0x2f6)]-_0x4b7110[_0x3ba408(0x3db)];}function ra(_0x57e03c,_0x1491e5){const _0x4c5416=_0x69a5c7;let _0x500b41=_0x57e03c[_0x4c5416(0x25e)]||(_0x57e03c instanceof HTMLElement?_0x57e03c[_0x4c5416(0x437)]:0x0),_0x2608b6=_0x57e03c['clientHeight']||(_0x57e03c instanceof HTMLElement?_0x57e03c['offsetHeight']:0x0),_0x228fdb=ta(_0x1491e5),_0x3ab82c=na(_0x1491e5);return{'scaleX':_0x500b41>0x0&&_0x228fdb>0x0?_0x228fdb/_0x500b41:Zi['scaleX'],'scaleY':_0x2608b6>0x0&&_0x3ab82c>0x0?_0x3ab82c/_0x2608b6:Zi[_0x4c5416(0x480)]};}function ia(_0x5d65dc,_0x3f6157,_0x2a8560){const _0x2d8125=_0x69a5c7;return{'left':_0x5d65dc[_0x2d8125(0x213)]+_0x3f6157['left']*_0x2a8560[_0x2d8125(0x2e9)],'right':_0x5d65dc['left']+_0x3f6157[_0x2d8125(0x380)]*_0x2a8560[_0x2d8125(0x2e9)],'top':_0x5d65dc['top']+_0x3f6157[_0x2d8125(0x3db)]*_0x2a8560[_0x2d8125(0x480)],'bottom':_0x5d65dc[_0x2d8125(0x3db)]+_0x3f6157[_0x2d8125(0x2f6)]*_0x2a8560[_0x2d8125(0x480)]};}function aa(_0xa6f8c3){const _0x3f88c1=_0x69a5c7;let _0xce6de8=$i(_0xa6f8c3),_0x758b7a=_0xa6f8c3[_0x3f88c1(0x378)][_0x3f88c1(0x243)];if(_0xce6de8&&_0x758b7a){let _0x46e5c4=_0xce6de8[_0x3f88c1(0x373)]();return()=>{const _0x54d25d=_0x3f88c1;let _0x35f6bf=_0xce6de8['getBoundingClientRect']();return(_0xce6de8[_0x54d25d(0x4be)]||ta(_0x35f6bf)>0x0||na(_0x35f6bf)>0x0)&&(_0x46e5c4=_0x35f6bf),ia(_0x46e5c4,_0x758b7a,ra(_0xce6de8,_0x46e5c4));};}return()=>{const _0x48189c=_0x3f88c1;let _0x164ea6=ea(_0xa6f8c3);if(_0x164ea6&&_0x758b7a)return ia(_0x164ea6,_0x758b7a,_0xce6de8?ra(_0xce6de8,_0x164ea6):Zi);let _0x5269b3=Qi(_0xa6f8c3),_0x2731fc=_0xce6de8&&_0x164ea6?ra(_0xce6de8,_0x164ea6):Zi,_0x44cfba=(_0x5269b3==null?void 0x0:_0x5269b3[_0x48189c(0x2a8)])??(_0x164ea6?_0x164ea6[_0x48189c(0x213)]+_0xa6f8c3[_0x48189c(0x342)]['x']*_0x2731fc[_0x48189c(0x2e9)]:_0xa6f8c3[_0x48189c(0x342)]['x']),_0x534a87=(_0x5269b3==null?void 0x0:_0x5269b3[_0x48189c(0x47b)])??(_0x164ea6?_0x164ea6[_0x48189c(0x3db)]+_0xa6f8c3[_0x48189c(0x342)]['y']*_0x2731fc[_0x48189c(0x480)]:_0xa6f8c3[_0x48189c(0x342)]['y']);return{'left':_0x44cfba,'right':_0x44cfba+0x1,'top':_0x534a87,'bottom':_0x534a87+0x1};};}function oa(_0x5dca9d){const _0x12defb=_0x69a5c7;return typeof _0x5dca9d=='number'&&Number[_0x12defb(0x29e)](_0x5dca9d);}function sa(_0x544e51){const _0x2e4612=_0x69a5c7;if(!_0x544e51||typeof _0x544e51!=_0x2e4612(0x47f))return!0x0;let {startX:_0x1ecbc3,endX:_0x44f8b6,startY:_0x263480,endY:_0x1111e8}=_0x544e51;return!oa(_0x1ecbc3)||!oa(_0x44f8b6)||!oa(_0x263480)||!oa(_0x1111e8)||_0x44f8b6-_0x1ecbc3>0x2&&_0x1111e8-_0x263480>0x2;}function ca(_0x5900d4){const _0x4b3b23=_0x69a5c7;return _0x5900d4['right']<=_0x5900d4['left']||_0x5900d4['bottom']<=_0x5900d4[_0x4b3b23(0x3db)]?!0x1:typeof window>'u'||_0x5900d4[_0x4b3b23(0x380)]>0x0&&_0x5900d4['bottom']>0x0&&_0x5900d4[_0x4b3b23(0x213)]<window['innerWidth']&&_0x5900d4['top']<window[_0x4b3b23(0x2bb)];}function la(_0x367000){const _0x1b2f3c=_0x69a5c7;var _0x38a289;return _0x367000==null||(_0x38a289=_0x367000[_0x1b2f3c(0x335)])==null?void 0x0:_0x38a289[_0x1b2f3c(0x4b0)](_0x367000);}function ua(_0x28893d,_0x4f85bf,_0x5e423d){const _0x20860f=_0x69a5c7;let _0x41021e=aa(_0x28893d),_0x2ecd8e=la(_0x4f85bf),_0x59982f=_0x41021e(),_0x4b4e6f=new _0x4b7bf6(_0x59982f),_0x32e6b3=new _0x2ae904(),_0x1d8287=!0x1,_0x19cefe=!0x1,_0xd57c5b=_0x75d67=>sa(_0x2ecd8e)&&ca(_0x75d67),_0x57a7be=()=>{_0x19cefe||_0x1d8287||(_0x19cefe=!0x0,queueMicrotask(()=>{if(_0x19cefe=!0x1,!_0x1d8287){let _0x1df171=_0x41021e();if(!_0xd57c5b(_0x1df171)){_0x5e423d();return;}_0x4b4e6f['next'](_0x1df171);}}));};return _0x4f85bf&&_0x32e6b3[_0x20860f(0x337)](_0x4f85bf[_0x20860f(0x32e)](_0x35f151=>{_0x2ecd8e=_0x35f151,_0x57a7be();})),typeof window<'u'&&_0x32e6b3['add'](_0x597287(_0x528341(window,_0x20860f(0x336),{'capture':!0x0}),_0x528341(window,_0x20860f(0x391)))['pipe'](_0x3de94d(0x10))[_0x20860f(0x32e)](_0x57a7be)),{'initialRect':_0x59982f,'anchorRect$':_0x4b4e6f[_0x20860f(0x473)](),'visible':_0xd57c5b(_0x59982f),'dispose':()=>{const _0x23fbbb=_0x20860f;_0x1d8287=!0x0,_0x32e6b3['dispose'](),_0x4b4e6f[_0x23fbbb(0x37f)]();}};}const da='sheets-chart-element-float-menu';let fa=class extends _0x5f44fb{constructor(_0x47f60e,_0x231ea4,_0x1e817a,_0xadf882,_0x5ccec9,_0x557db8,_0x27c589,_0x12e131,_0x59ccc0){const _0x4dd879=_0x69a5c7;super(),this[_0x4dd879(0x3c5)]=_0x47f60e,this['_chartRenderService']=_0x231ea4,this[_0x4dd879(0x230)]=_0x1e817a,this[_0x4dd879(0x299)]=_0xadf882,this[_0x4dd879(0x2b0)]=_0x5ccec9,this[_0x4dd879(0x3dd)]=_0x557db8,this['_adapterRegistry']=_0x27c589,this['_commandService']=_0x12e131,this[_0x4dd879(0x203)]=_0x59ccc0,W(this,_0x4dd879(0x28a),null),W(this,'_popupChartId',null),W(this,_0x4dd879(0x2da),null),this[_0x4dd879(0x324)](),this[_0x4dd879(0x31f)]();}[_0x69a5c7(0x393)](){const _0x9f1907=_0x69a5c7;this[_0x9f1907(0x301)](),super['dispose']();}['_registerAdapter'](){const _0x2104ca=_0x69a5c7;let _0xd1492d=_0x52faeb({'chartUIService':this[_0x2104ca(0x3dd)],'getHostAdapter':_0x99fcca=>{const _0x591bfd=_0x2104ca;let _0x512d77=this[_0x591bfd(0x3c5)][_0x591bfd(0x3a4)](_0x99fcca['chartId']);if(_0x512d77&&_0x99fcca[_0x591bfd(0x419)])return new _0x68520(_0x512d77,new _0x3bea97({'unitId':_0x99fcca[_0x591bfd(0x1ee)],'subUnitId':_0x99fcca[_0x591bfd(0x419)],'chartId':_0x99fcca['chartId'],'injector':this[_0x591bfd(0x203)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x4d736d=>{const _0x539c13=_0x2104ca;let {unitId:_0x361ba3,subUnitId:_0x1a1a4c,drawingId:_0x3f8032,chartId:_0x4324df}=_0x4d736d,_0x56251d=_0x14da42(_0x4d736d[_0x539c13(0x289)]);this[_0x539c13(0x465)][_0x539c13(0x37e)](H['id'],{'unitId':_0x361ba3,'subUnitId':_0x1a1a4c??'','drawingId':_0x3f8032??_0x4324df,..._0x56251d?{'route':_0x56251d}:{}});}});this[_0x2104ca(0x237)](this[_0x2104ca(0x48b)][_0x2104ca(0x33e)](da,_0xd1492d));}['_subscribeChartEvents'](){const _0xc6012f=_0x69a5c7;this[_0xc6012f(0x237)](this[_0xc6012f(0x3c5)][_0xc6012f(0x45a)][_0xc6012f(0x32e)](_0x480c57=>{const _0x4caae4=_0xc6012f;let _0x395d54=new _0x2ae904();_0x395d54[_0x4caae4(0x337)](this[_0x4caae4(0x1e7)]['on'](_0x480c57['id'],_0x4caae4(0x306),_0x49006c=>{const _0x22aa89=_0x4caae4;this[_0x22aa89(0x2ee)](_0x480c57['id'],_0x49006c);})),_0x395d54[_0x4caae4(0x337)](this['_chartRenderService']['on'](_0x480c57['id'],_0x4caae4(0x37d),()=>{const _0x7b10ac=_0x4caae4;this[_0x7b10ac(0x3e2)](_0x480c57['id']);})),_0x480c57[_0x4caae4(0x3c8)](()=>{const _0xa9e9e7=_0x4caae4;_0x395d54[_0xa9e9e7(0x393)](),this[_0xa9e9e7(0x348)](_0x480c57['id']);}),this[_0x4caae4(0x237)](_0x395d54);})),this['disposeWithMe'](_0x491efe([this[_0xc6012f(0x3c5)][_0xc6012f(0x1e3)],this[_0xc6012f(0x3dd)]['chartEditorOpen$']])['subscribe'](([_0x5e2c17,_0x3595b8])=>{const _0x16c9eb=_0xc6012f;(!_0x3595b8||this[_0x16c9eb(0x360)]&&(_0x5e2c17==null?void 0x0:_0x5e2c17['id'])!==this[_0x16c9eb(0x360)])&&this['_closePopup']();})),this[_0xc6012f(0x237)](this[_0xc6012f(0x2b0)][_0xc6012f(0x1fb)][_0xc6012f(0x32e)](({id:_0x19a6dd})=>{const _0x17aa12=_0xc6012f;this[_0x17aa12(0x348)](_0x19a6dd);})),this['disposeWithMe'](this[_0xc6012f(0x2b0)][_0xc6012f(0x22f)]['subscribe'](({id:_0x2c0699})=>{const _0x5c0888=_0xc6012f;this[_0x5c0888(0x348)](_0x2c0699);})),this[_0xc6012f(0x237)](this[_0xc6012f(0x230)][_0xc6012f(0x1f6)]['subscribe'](_0x77643d=>{const _0x2ed324=_0xc6012f;this[_0x2ed324(0x348)](_0x77643d);}));}['_openEditPanelByDoubleClick'](_0x3c6bf1){const _0x424d67=_0x69a5c7;if(this[_0x424d67(0x3dd)][_0x424d67(0x43a)])return;let _0x3c9d37=this[_0x424d67(0x3c5)][_0x424d67(0x3a4)](_0x3c6bf1),_0x4eaeb0=this['_sheetCanvasFloatDomManagerService'][_0x424d67(0x454)](_0x3c6bf1);_0x3c9d37&&_0x4eaeb0&&this[_0x424d67(0x465)][_0x424d67(0x37e)](H['id'],{'unitId':_0x4eaeb0[_0x424d67(0x1ee)],'subUnitId':_0x4eaeb0[_0x424d67(0x419)]??'','drawingId':_0x3c6bf1});}[_0x69a5c7(0x2ee)](_0x5544a9,_0x2a0f17){const _0xd310fc=_0x69a5c7;if(!this[_0xd310fc(0x3dd)][_0xd310fc(0x404)](_0x5544a9))return;let _0x3669b6=this[_0xd310fc(0x3c5)][_0xd310fc(0x3a4)](_0x5544a9),_0x4fd575=_0x3669b6?Kr(_0x3669b6,_0x2a0f17[_0xd310fc(0x378)]):void 0x0;if(!_0x4fd575){this['_chartUIService'][_0xd310fc(0x225)](),this[_0xd310fc(0x301)]();return;}let _0x3351e6=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x5544a9);if(!_0x3669b6||!_0x3351e6){this[_0xd310fc(0x3dd)][_0xd310fc(0x225)](),this['_closePopup']();return;}let _0x51aa54=JSON['stringify']([_0x3351e6['unitId'],_0x3351e6[_0xd310fc(0x419)],_0x5544a9,_0x4fd575[_0xd310fc(0x289)]]);if(this[_0xd310fc(0x28a)]&&this[_0xd310fc(0x2da)]===_0x51aa54||(this[_0xd310fc(0x3dd)][_0xd310fc(0x287)](_0x5544a9,_0x4fd575['route']),this[_0xd310fc(0x301)](),!_0x4fd575['showFloatMenu']))return;let _0x593712=ua(_0x2a0f17,_0x3351e6[_0xd310fc(0x255)],()=>this[_0xd310fc(0x26e)](_0x5544a9));if(!_0x593712[_0xd310fc(0x2c0)]){_0x593712[_0xd310fc(0x393)]();return;}let _0x2393f4=this[_0xd310fc(0x299)]['attachPopupToDynamicAbsolutePosition'](_0x593712[_0xd310fc(0x41f)],_0x593712['anchorRect$'],{'componentKey':_0x4a8725,'constrainToCanvas':!0x0,'direction':_0xd310fc(0x3f6),'offset':[0x0,0x8],'extraProps':{'unitId':_0x3351e6['unitId'],'subUnitId':_0x3351e6[_0xd310fc(0x419)],'chartId':_0x5544a9,'drawingId':_0x5544a9,'element':_0x2a0f17[_0xd310fc(0x378)],'target':_0x4fd575[_0xd310fc(0x289)],'adapterKey':da}},_0x3351e6[_0xd310fc(0x1ee)],_0x3351e6['subUnitId'])??null;if(!_0x2393f4){_0x593712[_0xd310fc(0x393)]();return;}let _0x89698=new _0x2ae904();_0x89698[_0xd310fc(0x337)](_0x2393f4),_0x89698[_0xd310fc(0x337)](_0x593712),this['_popupDisposable']=_0x89698,this['_popupChartId']=_0x5544a9,this[_0xd310fc(0x2da)]=_0x51aa54;}[_0x69a5c7(0x301)](){const _0x5f3249=_0x69a5c7;var _0x50a842;(_0x50a842=this[_0x5f3249(0x28a)])==null||_0x50a842[_0x5f3249(0x393)](),this[_0x5f3249(0x28a)]=null,this[_0x5f3249(0x360)]=null,this['_popupSessionKey']=null;}[_0x69a5c7(0x348)](_0x1a0244){const _0xe8ccbb=_0x69a5c7;(this[_0xe8ccbb(0x3dd)][_0xe8ccbb(0x404)](_0x1a0244)||this[_0xe8ccbb(0x360)]===_0x1a0244)&&(this[_0xe8ccbb(0x3dd)]['clearPanelRoute'](),this['_popupChartId']===_0x1a0244&&this[_0xe8ccbb(0x301)]());}[_0x69a5c7(0x26e)](_0x66426f){const _0x1fcccc=_0x69a5c7;this[_0x1fcccc(0x348)](_0x66426f),this[_0x1fcccc(0x3dd)]['isElementEditModeActive'](_0x66426f)&&(this[_0x1fcccc(0x1e7)][_0x1fcccc(0x234)](_0x66426f,!0x1),this[_0x1fcccc(0x1e7)]['setElementEditMode'](_0x66426f,!0x0));}};fa=q([K(0x0,_0x345df3(_0xfc5243)),K(0x1,_0x345df3(J)),K(0x2,pi),K(0x3,_0x345df3(_0xd20d74)),K(0x4,_0x345df3(_0x5a2ef7)),K(0x5,Y),K(0x6,_0x345df3(_0x39aee3)),K(0x7,_0xb35996),K(0x8,_0x345df3(_0x21bd92))],fa);let pa=class extends _0x5f44fb{constructor(_0xb4f27e,_0x4bf2d4){const _0x8322f7=_0x69a5c7;super(),this[_0x8322f7(0x1f1)]=_0xb4f27e,this['_iconManager']=_0x4bf2d4,this[_0x8322f7(0x37c)](),this[_0x8322f7(0x40c)]();}['_registerIcons'](){const _0x2c9947=_0x69a5c7;this['disposeWithMe'](this[_0x2c9947(0x425)][_0x2c9947(0x33e)]({'PenIcon':_0x1980bd}));}[_0x69a5c7(0x40c)](){[[Ei,Ti]]['forEach'](([_0x2183ac,_0x9b88ef])=>{const _0x45ac12=_0x20d6;this[_0x45ac12(0x237)](this['_componentManager'][_0x45ac12(0x33e)](_0x2183ac,_0x9b88ef));});}};pa=q([K(0x0,_0x345df3(_0x78a75)),K(0x1,_0x345df3(_0x1e722e))],pa);let $=class extends _0x5a6cd9{constructor(_0x4781f4=wr,_0xc136f,_0x3dfba4,_0x432d0e){const _0x5e3cac=_0x69a5c7;super(),this[_0x5e3cac(0x3bc)]=_0x4781f4,this[_0x5e3cac(0x203)]=_0xc136f,this[_0x5e3cac(0x350)]=_0x3dfba4,this['_commandService']=_0x432d0e,W(this,_0x5e3cac(0x207),void 0x0);let {..._0x34c5cf}=_0x43ed0f({},wr,this[_0x5e3cac(0x3bc)]);this['_resolvedConfig']=_0x34c5cf,this[_0x5e3cac(0x350)][_0x5e3cac(0x3b0)](Cr,_0x34c5cf),this[_0x5e3cac(0x495)]();}['onStarting'](){const _0x47fb44=_0x69a5c7;this[_0x47fb44(0x203)][_0x47fb44(0x337)]([pa]),this[_0x47fb44(0x203)][_0x47fb44(0x39d)](pa);let _0x4e34ef=this['_injector'],_0x3e6aa7=[[Y,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[J],[Xi],[ji],[Pi],[Fi],[Ji],[Z],[Yi]],_0x9301af=[[ji],[Fi],[Pi],[Xi],[Y],[Ji],[Z],[Yi]];this[_0x47fb44(0x207)][_0x47fb44(0x359)]&&(_0x3e6aa7[_0x47fb44(0x327)]([fa]),_0x9301af[_0x47fb44(0x327)]([fa])),_0x3e6aa7[_0x47fb44(0x330)](_0xa333ba=>_0x4e34ef[_0x47fb44(0x337)](_0xa333ba)),_0x13e92b(this[_0x47fb44(0x203)],_0x9301af);}[_0x69a5c7(0x3aa)](){const _0x3ffe07=_0x69a5c7;var _0x44249b;(_0x44249b=this[_0x3ffe07(0x203)][_0x3ffe07(0x39d)](ji))==null||_0x44249b[_0x3ffe07(0x26b)]();}['_initCommands'](){const _0x5813d9=_0x69a5c7;[U,Or,kr,Ar,jr,H,Tr][_0x5813d9(0x330)](_0x32b556=>this[_0x5813d9(0x237)](this[_0x5813d9(0x465)][_0x5813d9(0x2fd)](_0x32b556)));}};W($,_0x69a5c7(0x297),_0x3cb846[_0x69a5c7(0x216)]),W($,'pluginName','UniverSheetsChartUIPlugin'),W($,_0x69a5c7(0x296),Mi),W($,_0x69a5c7(0x4ae),Ni),$=q([_0x29ad3a(_0x1820fc,_0x5660da,_0x2e4d79,_0x404a8f,_0x4da14f,_0x4258cf,_0x222f25,_0x1ad69a,_0x5dca7f),K(0x1,_0x345df3(_0x21bd92)),K(0x2,_0x250254),K(0x3,_0xb35996)],$);export{H as ChartOpenPanelOperation,J as ChartRenderService,Y as ISheetsChartUIService,Cr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,ji as SheetsChartUIController,Ur as SheetsChartUIMenuSchema,_i as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,ua as createChartElementPopupAnchorObserver};
|