@univerjs-pro/sheets-chart-ui 1.0.0-alpha.7 → 1.0.0-beta.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.css +14 -377
- 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/commands/commands/focused-chart.command.d.ts +1 -1
- package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +4 -1
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
- package/lib/types/config/config.d.ts +4 -0
- package/lib/types/controllers/chart-element-float-menu.controller.d.ts +4 -3
- package/lib/types/controllers/chart-render.controller.d.ts +3 -1
- package/lib/types/controllers/ui.controller.d.ts +7 -6
- package/lib/types/index.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +55 -302
- package/lib/types/services/chart-element-selection.d.ts +6 -6
- package/lib/types/services/chart-render.service.d.ts +10 -10
- package/lib/types/services/sheet-chart-host.d.ts +2 -4
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -2
- package/lib/types/services/sheets-chart-ui.service.d.ts +25 -138
- package/lib/types/util.d.ts +7 -4
- package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +79 -0
- package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +4 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/StyleTabPanel.d.ts +4 -5
- package/lib/types/views/chart-menu/chart-menu-factory.d.ts +1 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
- package/lib/types/hooks.d.ts +0 -3
- package/lib/types/services/chart-panel-route.d.ts +0 -20
- package/lib/types/views/chart-edit-panel/Options.d.ts +0 -165
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -3
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +0 -8
- package/lib/types/views/chart-edit-panel/button-switch/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/data-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -9
- package/lib/types/views/chart-edit-panel/style-tab-panel/ChartNumfmtDialog.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +0 -25
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +0 -16
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -5
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -4
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +0 -11
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +0 -33
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +0 -3
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5e57d6=_0x9d8e;(function(_0x44a781,_0x37dbab){const _0x11bb6b=_0x9d8e,_0x20cb9a=_0x44a781();while(!![]){try{const _0x40d9c5=-parseInt(_0x11bb6b(0x4fd))/0x1*(-parseInt(_0x11bb6b(0x1b0))/0x2)+-parseInt(_0x11bb6b(0x1cf))/0x3*(-parseInt(_0x11bb6b(0x185))/0x4)+parseInt(_0x11bb6b(0x143))/0x5+parseInt(_0x11bb6b(0x22b))/0x6*(-parseInt(_0x11bb6b(0x176))/0x7)+parseInt(_0x11bb6b(0x244))/0x8+parseInt(_0x11bb6b(0x147))/0x9+-parseInt(_0x11bb6b(0x271))/0xa;if(_0x40d9c5===_0x37dbab)break;else _0x20cb9a['push'](_0x20cb9a['shift']());}catch(_0x26589c){_0x20cb9a['push'](_0x20cb9a['shift']());}}}(_0x4909,0xcb40f));import{ChartModelService as _0x412f7b,ChartRenderMode as _0x359e61,ChartUpdateConfigCommand as _0xe54a4f,ChartUpdateConfigMutation as _0x2d53f3,ChartUpdateSourceCommand as _0x2a11fc,InsertChartCommand as _0x3b5be0,InsertSheetsChartMutation as _0x7f39c7,RemoveSheetsChartMutation as _0x425c7f,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1dfee4,SHEETS_CHART_PLUGIN_NAME as _0x18515b,SheetsChartService as _0x5500b1,UniverSheetsChartPlugin as _0x303b79,getAllowedChartTypes as _0x50505,toInsertChartMutationSource as _0x3bdc2f}from'@univerjs-pro/sheets-chart';import{CommandType as _0xf5a2d1,DependentOn as _0x2109eb,Disposable as _0x5ae490,DisposableCollection as _0x5c396c,DrawingTypeEnum as _0x4f620b,FOCUSING_COMMON_DRAWINGS as _0x4ccb66,FOCUSING_PANEL_EDITOR as _0x1481d1,ICommandService as _0x536519,IConfigService as _0xc91c4e,IContextService as _0x1b2842,IUniverInstanceService as _0x1a9126,Inject as _0x188178,Injector as _0x5c466e,LocaleService as _0x4a3b9f,Plugin as _0x3b31d5,ThemeService as _0x56ff38,Tools as _0x1cc2c1,UniverInstanceType as _0x3829a7,createIdentifier as _0x390056,currencySymbols as _0x2fb200,debounce as _0x4243f7,generateRandomId as _0x1262ec,isPatternEqualWithoutDecimal as _0x4142ba,merge as _0x3273fe,numfmt as _0x4fc25c,toDisposable as _0x3ce854,touchDependencies as _0x4967dd}from'@univerjs/core';import{IDrawingManagerService as _0x451416,getDrawingShapeKeyByDrawingSearch as _0x4187c1}from'@univerjs/drawing';import{DrawingApplyType as _0x30810d,ISheetDrawingService as _0x52c0a1,RemoveSheetDrawingCommand as _0x58e188,SetDrawingApplyMutation as _0x4d5871,transformToDrawingPosition as _0x4372d6}from'@univerjs/sheets-drawing';import{IDrawingContextMenuService as _0x206e46,SHEET_CHART_RENDER_OBJECT_CONFIG as _0x421adc,SheetCanvasFloatDomManagerService as _0x1d2b7b,SheetDrawingHitTestService as _0x45232d,UniverSheetsDrawingUIPlugin as _0xaa487c}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x243c89,ISheetClipboardService as _0x1a48bb,PREDEFINED_HOOK_NAME as _0x107567,SheetCanvasPopManagerService as _0x48e9dc,SheetCopyCommand as _0x153d38,SheetPrintInterceptorService as _0x5a002d,SheetSkeletonManagerService as _0x5a7891,deriveStateFromActiveSheet$ as _0x2e1e9e,getCurrentRangeDisable$ as _0x124846}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x136676,ComponentManager as _0x59a3a4,ContextMenuGroup as _0x491713,IDialogService as _0x4ea893,IMenuManagerService as _0x21fe29,IMessageService as _0x329aee,ISidebarService as _0x23cfe1,IconManager as _0x49393e,MenuItemType as _0x5c22b3,MenuManagerPosition as _0x4092b0,RibbonInsertGroup as _0x272824,getMenuHiddenObservable as _0x1a6630,useDependency as _0x1d4ad7,useObservable as _0x209200}from'@univerjs/ui';import{BehaviorSubject as _0x576421,Observable as _0x34f121,Subject as _0x21df3a,combineLatest as _0x4e5559,combineLatestWith as _0x2fd0c0,debounceTime as _0x50400f,distinctUntilChanged as _0x4f45b8,filter as _0xbaef5c,fromEvent as _0x4c9bee,map as _0x44d876,merge as _0x2283e9,startWith as _0x44293d,take as _0x34bac3,throttleTime as _0x4a7fe7}from'rxjs';import{AreaLineStyle as _0x4fd4ea,AxisAlignEnum as _0x312ddc,AxisValueType as _0x2ee1af,CartesianPointRoleIndex as _0x30d0f8,CategoryType as _0x1bc961,ChartAttributeBits as _0x37d654,ChartBorderDashType as _0xfdedb0,ChartHostRenderMode as _0x1db636,ChartImageSourceType as _0x1eea30,ChartThemeService as _0x293d57,ChartTrendlineType as _0x73f7cd,ChartTypeBits as _0xca8a9a,DataOrientation as _0x30bac8,EChartRenderEngineName as _0x305bb3,EChartRenderModel as _0xe010a9,IChartRenderModelManagerService as _0x21048b,IRuntimeAxisPosition as _0x5ee842,IRuntimeAxisPriority as _0x2bd274,ImageChartHost as _0x59b1c7,InvalidValueType as _0x3604fe,LabelContentType as _0x41401c,LegendPositionEnum as _0x250370,LinePointShape as _0x3fc086,PieLabelPosition as _0x1bb21b,RTLChartStyle as _0x503aac,RadarShape as _0x2023ae,RelationChartLayoutEnum as _0x37c928,SelectModeEnum as _0x172403,SeriesLabelPosition as _0xef6810,StackType as _0x584361,TextAlign as _0x3cee12,TextVerticalAlign as _0x24882f,TitlePositionEnum as _0x1c3b68,WaterfallSeriesTypeEnum as _0x4a90b8,WaterfallStackTypeEnum as _0x5aeb42,WordCloudMuskImageService as _0x26f422,chartBitsUtils as _0x17e760,chartImageSourceToDataUrl as _0x4dc697,chartTypeCanUseTrendLine as _0xc2cf8a,defaultChartConfig as _0x489146,echarts as _0x3637c7,registerWordCloudChart as _0x53b19c,resolveChartRuntimeStyle as _0x31b96d,resolveChartStyleBackgroundColor as _0x22cda3,resolveDefaultChartHostFrameStyle as _0x22a911}from'@univerjs-pro/engine-chart';import{insertGroupObject as _0x378516}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x4bce64,IRenderManagerService as _0x403baa,ObjectType as _0x5b443f,RENDER_CLASS_TYPE as _0x40a928,Rect as _0x4e7e97,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1407f0,Transform as _0x3b6ce4}from'@univerjs/engine-render';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x5bd501,CHART_HOST_BORDER_RADIUS as _0x4d5e5b,ChartDomFrame as _0x4d64dc,ChartEditBlockTitle as _0x35325d,ChartEditPanelTabs as _0x316875,ChartElementFloatMenuAdapterRegistry as _0x5b07d1,ChartFrameContentMode as _0x569830,ChartFrameLayout as _0x312d98,ChartLegendWrapField as _0x6eee88,ChartPointMappingStateKey as _0x3bfc44,ColorPickerControl as _0x3aacc5,DropdownSelector as _0x5b6b2d,FontFormatBar as _0x58756c,UniverChartUIPlugin as _0x746d5e,resolveChartElementConfigTarget as _0x3c0e36}from'@univerjs-pro/chart-ui';import{Accordion as _0x2811eb,Button as _0x4a1a8b,Checkbox as _0x1326e3,Dropdown as _0x1f83bb,DropdownMenu as _0x384ce7,Input as _0x5d055d,InputNumber as _0x1319dd,MessageType as _0xf82b3a,MultipleSelect as _0x37934f,Radio as _0x46f7af,RadioGroup as _0xeb515c,Segmented as _0x402cc5,Select as _0x35b928,SelectList as _0x2947a4,Tooltip as _0x253082,borderClassName as _0x49a7cc,clsx as _0x5d3286,scrollbarClassName as _0x1cd27f}from'@univerjs/design';import{CopySheetCommand as _0x47c6e6,RemoveSheetCommand as _0x3f8e78,SheetInterceptorService as _0x15babf,SheetPermissionCheckController as _0x3b8569,SheetSkeletonService as _0x28c68d,SheetsSelectionsService as _0x541018,WorkbookEditablePermission as _0x47bac2,WorksheetEditPermission as _0x4e62a6,attachRangeWithCoord as _0x3aee65,discreteRangeToRange as _0x2c8ca1,getSheetCommandTarget as _0x30a944}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x550103,serializeRangeWithSheet as _0x59e79b}from'@univerjs/engine-formula';import{useCallback as _0x2d0a51,useEffect as _0x214f89,useMemo as _0x5f47d8,useRef as _0x530131,useState as _0x41b73e}from'react';import{AreaChartIcon as _0x586424,BarChartIcon as _0x30942f,BoxplotIcon as _0xbb7994,BubbleIcon as _0x361cd2,ChartIcon as _0x5a1446,CloudOutlineIcon as _0x2c2ea8,ColumnChartIcon as _0x172169,ComboChartIcon as _0x56b670,DeleteEmptyIcon as _0x4d2f5c,DeleteIcon as _0x45f0e6,ExponentialIcon as _0x39ffed,FunnelIcon as _0x13f77f,HeatmapIcon as _0x127af7,IncreaseIcon as _0x2f1d7b,LineChartIcon as _0xd67be4,LinearIcon as _0x11604b,LogarithmicIcon as _0x161081,MovingAverageIcon as _0x14d2cc,PenIcon as _0x2711a8,PieChartIcon as _0x294b65,PolynomialIcon as _0xa4de6b,PowerLineIcon as _0x3a92fb,RadarChartIcon as _0xe89405,RelationshipIcon as _0x165513,SankeyIcon as _0x48d801,ScatterChartIcon as _0x143b8e,WaterfallChartIcon as _0x3bcb0d}from'@univerjs/icons';import{RangeSelector as _0x28bf92}from'@univerjs/sheets-formula-ui';import{Fragment as _0xecfe96,jsx as _0x286043,jsxs as _0x5735fc}from'react/jsx-runtime';import{UniverLicensePlugin as _0x206717}from'@univerjs-pro/license';const mr=_0x5e57d6(0x1a3),hr={'enableChartElementFloatMenu':!0x1},gr={'type':_0xf5a2d1['OPERATION'],'id':_0x5e57d6(0x311),'handler'(){return!0x0;}},_r={'type':_0xf5a2d1['OPERATION'],'id':_0x5e57d6(0x13c),'handler'(){return!0x0;}};function vr(_0x414dd2,_0xa9a9b0=0x1){const _0x4398ae=_0x5e57d6;return{'width':Math['max'](_0xa9a9b0,_0x414dd2[_0x4398ae(0x41a)]),'height':Math[_0x4398ae(0x465)](_0xa9a9b0,_0x414dd2[_0x4398ae(0x3c3)])};}function yr(_0x50a064,_0x49519d={},_0xe1c249={'left':0x0,'top':0x0}){const _0x139042=_0x5e57d6;var _0x4291c5,_0xb38e62;let _0x2813ec=(_0x4291c5=_0x49519d[_0x139042(0x40c)])==null?0x1:_0x4291c5,_0x25333b=(_0xb38e62=_0x49519d['scaleY'])==null?0x1:_0xb38e62,_0x41443a=_0x312d98[_0x139042(0x354)]({'logicalOuterRect':{'left':-_0xe1c249[_0x139042(0x473)],'top':-_0xe1c249[_0x139042(0x135)],...vr(_0x50a064)},'scale':{'scaleX':_0x2813ec,'scaleY':_0x25333b},'hostStyle':{},'contentMode':_0x569830['Overlay']});return{'left':_0x41443a['logicalOuterRect'][_0x139042(0x473)],'top':_0x41443a[_0x139042(0x1db)]['top'],'width':_0x41443a[_0x139042(0x1db)][_0x139042(0x41a)],'height':_0x41443a['logicalOuterRect'][_0x139042(0x3c3)],'scaleX':_0x2813ec,'scaleY':_0x25333b};}function br(_0x212fd0){'@babel/helpers - typeof';const _0x1e9275=_0x5e57d6;return br=typeof Symbol==_0x1e9275(0x34e)&&typeof Symbol['iterator']=='symbol'?function(_0x5c4ae7){return typeof _0x5c4ae7;}:function(_0x34bb60){const _0x38303e=_0x1e9275;return _0x34bb60&&typeof Symbol==_0x38303e(0x34e)&&_0x34bb60[_0x38303e(0x12c)]===Symbol&&_0x34bb60!==Symbol['prototype']?'symbol':typeof _0x34bb60;},br(_0x212fd0);}function xr(_0x2d32be,_0x54cd3d){const _0xa46c2c=_0x5e57d6;if(br(_0x2d32be)!=_0xa46c2c(0x11b)||!_0x2d32be)return _0x2d32be;var _0x17a6df=_0x2d32be[Symbol[_0xa46c2c(0x3de)]];if(_0x17a6df!==void 0x0){var _0x296102=_0x17a6df[_0xa46c2c(0x278)](_0x2d32be,_0x54cd3d||'default');if(br(_0x296102)!=_0xa46c2c(0x11b))return _0x296102;throw TypeError(_0xa46c2c(0x35a));}return(_0x54cd3d==='string'?String:Number)(_0x2d32be);}function Sr(_0x5ec0f0){const _0x3d15d7=_0x5e57d6;var _0x240f88=xr(_0x5ec0f0,_0x3d15d7(0x48e));return br(_0x240f88)=='symbol'?_0x240f88:_0x240f88+'';}function Z(_0x7e94d1,_0xc0b8f5,_0x57036b){const _0x2ea9e2=_0x5e57d6;return(_0xc0b8f5=Sr(_0xc0b8f5))in _0x7e94d1?Object[_0x2ea9e2(0x15a)](_0x7e94d1,_0xc0b8f5,{'value':_0x57036b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7e94d1[_0xc0b8f5]=_0x57036b,_0x7e94d1;}function Cr(_0x54768f){const _0x3df3f8=_0x5e57d6;switch(_0x54768f[_0x3df3f8(0x127)]){case _0x1eea30['Canvas']:return _0x54768f['canvas'];case _0x1eea30[_0x3df3f8(0xfe)]:return _0x54768f['imageBitmap'];default:return;}}var wr=class extends _0x4e7e97{constructor(_0x3ee3d9,_0x1a5ffb,_0x2f908c,_0x54dc56=()=>!0x1,_0x556e1b=()=>{}){const _0x3ad7df=_0x5e57d6;var _0x189792;super(_0x3ee3d9,{..._0x1a5ffb,'evented':(_0x189792=_0x1a5ffb['evented'])==null?!0x0:_0x189792}),this[_0x3ad7df(0x453)]=_0x2f908c,this[_0x3ad7df(0x336)]=_0x54dc56,this[_0x3ad7df(0x1bf)]=_0x556e1b,Z(this,'_urlImage',null),Z(this,_0x3ad7df(0x39c),null),this['setObjectType'](_0x5b443f[_0x3ad7df(0x3f5)]);}[_0x5e57d6(0x466)](){const _0xa103b7=_0x5e57d6;this[_0xa103b7(0x1bf)](),super[_0xa103b7(0x466)]();}[_0x5e57d6(0x456)](_0x4d093b,_0x20f63c){const _0x3a744c=_0x5e57d6;if(!this[_0x3a744c(0x1eb)])return this[_0x3a744c(0x146)](!0x1),this;if(!this[_0x3a744c(0x376)])return this;let {width:_0x5d516c,height:_0x5a0ef5,left:_0x4763fa,top:_0x1b43a2}=this['getRealBound']();if(this[_0x3a744c(0x188)](_0x20f63c)){let {top:_0x332e78,left:_0x24f43f,bottom:_0xaf0417,right:_0x4c4078}=_0x20f63c['viewBound'];if(_0x5d516c+this[_0x3a744c(0x234)]+_0x4763fa<_0x24f43f||_0x4c4078<_0x4763fa||_0x5a0ef5+this[_0x3a744c(0x234)]+_0x1b43a2<_0x332e78||_0xaf0417<_0x1b43a2)return this;}let _0x4cb259=this[_0x3a744c(0x376)][_0x3a744c(0x41d)]();_0x4d093b[_0x3a744c(0x3c4)]();let _0x267b1a=_0x4763fa+_0x5d516c/0x2,_0x17e795=_0x1b43a2+_0x5a0ef5/0x2;return _0x4d093b[_0x3a744c(0x376)](_0x4cb259[0x0],_0x4cb259[0x1],_0x4cb259[0x2],_0x4cb259[0x3],_0x267b1a,_0x17e795),this[_0x3a744c(0x33f)]!==0x1&&(_0x4d093b['globalAlpha']=this[_0x3a744c(0x33f)]),this[_0x3a744c(0x14a)](_0x4d093b,void 0x0,_0x5d516c,_0x5a0ef5),_0x4d093b['restore'](),this[_0x3a744c(0x146)](!0x1),this;}[_0x5e57d6(0x14a)](_0xd2ae78,_0x43e42a,_0x24bbff=this[_0x5e57d6(0x41a)],_0x227264=this[_0x5e57d6(0x3c3)]){const _0x1f7a31=_0x5e57d6;this[_0x1f7a31(0x2a1)](_0xd2ae78,_0x24bbff,_0x227264,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x1f7a31(0x1d2)](_0xd2ae78,_0x24bbff,_0x227264),this[_0x1f7a31(0x2a1)](_0xd2ae78,_0x24bbff,_0x227264,{'fill':void 0x0});}[_0x5e57d6(0x2a1)](_0xafc1f2,_0x31ebb7,_0x6d4ee7,_0x402921){const _0x33e112=_0x5e57d6;_0xafc1f2['save'](),_0xafc1f2[_0x33e112(0xe1)](-_0x31ebb7/0x2,-_0x6d4ee7/0x2),_0x4e7e97[_0x33e112(0x475)](_0xafc1f2,Tr(this,_0x31ebb7,_0x6d4ee7,_0x402921)),_0xafc1f2[_0x33e112(0x489)]();}[_0x5e57d6(0x28f)](_0x41edfb){const _0x5dd5ca=_0x5e57d6;let {left:_0xd788db,top:_0x2fb5fc,width:_0x260559,height:_0x319fdb}=this[_0x5dd5ca(0x4a6)](),_0x17f0ba=_0xd788db+_0x260559/0x2,_0x180bac=_0x2fb5fc+_0x319fdb/0x2,_0x4d387d=this[_0x5dd5ca(0x376)]['getMatrix'](),_0x2f9f7c=new _0x3b6ce4([_0x4d387d[0x0],_0x4d387d[0x1],_0x4d387d[0x2],_0x4d387d[0x3],_0x17f0ba,_0x180bac]),_0x128adf=this['getParent'](),_0x5857f7=(this[_0x5dd5ca(0x28a)]&&(_0x128adf==null?void 0x0:_0x128adf[_0x5dd5ca(0x33c)])===_0x40a928['GROUP']?_0x128adf['ancestorTransform'][_0x5dd5ca(0x320)](_0x2f9f7c):_0x2f9f7c)[_0x5dd5ca(0x43b)]()[_0x5dd5ca(0x4d9)](_0x41edfb),_0x4711ad=_0x260559/0x2,_0x33198a=_0x319fdb/0x2;return _0x5857f7['x']>=-_0x4711ad-this[_0x5dd5ca(0x234)]/0x2&&_0x5857f7['x']<=_0x4711ad+this[_0x5dd5ca(0x234)]/0x2&&_0x5857f7['y']>=-_0x33198a-this[_0x5dd5ca(0x234)]/0x2&&_0x5857f7['y']<=_0x33198a+this[_0x5dd5ca(0x234)]/0x2;}[_0x5e57d6(0x1d2)](_0x346d16,_0x48a8c5,_0x3251c0){const _0x4f6ac8=_0x5e57d6;if(this['_shouldSuppressSnapshot']())return;let _0x11ba8f=this[_0x4f6ac8(0x453)](),_0x2f1aa0=_0x11ba8f?this[_0x4f6ac8(0x3c6)](_0x11ba8f):void 0x0;if(!_0x2f1aa0)return;let {width:_0x2d32e0,height:_0x364a84}=vr({'width':_0x48a8c5,'height':_0x3251c0},0x0);_0x2d32e0===0x0||_0x364a84===0x0||(_0x346d16[_0x4f6ac8(0x3c4)](),_0x346d16[_0x4f6ac8(0xe1)](-_0x48a8c5/0x2,-_0x3251c0/0x2),Er(_0x346d16,_0x2d32e0,_0x364a84,this['radius']),_0x346d16[_0x4f6ac8(0xeb)](),_0x346d16[_0x4f6ac8(0x4b2)](_0x2f1aa0,0x0,0x0,_0x2d32e0,_0x364a84),_0x346d16[_0x4f6ac8(0x489)]());}['_getDrawable'](_0xaa1f41){const _0x1f8e74=_0x5e57d6;var _0x4c5f7f;let _0xce7a6e=Cr(_0xaa1f41);if(_0xce7a6e)return _0xce7a6e;if(_0xaa1f41[_0x1f8e74(0x127)]===_0x1eea30['Url']&&(this[_0x1f8e74(0x39c)]!==_0xaa1f41[_0x1f8e74(0xc3)]&&(this[_0x1f8e74(0x39c)]=_0xaa1f41['url'],this[_0x1f8e74(0x40d)]=document[_0x1f8e74(0x3ca)]('img'),this[_0x1f8e74(0x40d)][_0x1f8e74(0x4de)]=_0x1f8e74(0x285),this[_0x1f8e74(0x40d)][_0x1f8e74(0x184)]=()=>this['makeDirty'](!0x0),this['_urlImage'][_0x1f8e74(0x4be)]=_0xaa1f41[_0x1f8e74(0xc3)]),(_0x4c5f7f=this[_0x1f8e74(0x40d)])!=null&&_0x4c5f7f[_0x1f8e74(0x2ef)]&&this[_0x1f8e74(0x40d)][_0x1f8e74(0x4d0)]>0x0&&this[_0x1f8e74(0x40d)][_0x1f8e74(0x2f9)]>0x0))return this[_0x1f8e74(0x40d)];}};function Tr(_0x2d3432,_0x50487d,_0x41b63c,_0x39f0df){const _0x4222fb=_0x5e57d6;let _0x488989=Object['create'](_0x2d3432);return Object[_0x4222fb(0x15a)](_0x488989,_0x4222fb(0x41a),{'value':_0x50487d}),Object['defineProperty'](_0x488989,_0x4222fb(0x3c3),{'value':_0x41b63c}),Object['keys'](_0x39f0df)['forEach'](_0x584b68=>{const _0x16602f=_0x4222fb;Object[_0x16602f(0x15a)](_0x488989,_0x584b68,{'value':_0x39f0df[_0x584b68]});}),_0x488989;}function Er(_0x20c025,_0x4a8531,_0x58e793,_0x4b88a7){const _0x290a01=_0x5e57d6;let _0x15292e=Math['min'](_0x4b88a7||0x0,_0x4a8531/0x2,_0x58e793/0x2);if(_0x20c025[_0x290a01(0x345)](),!_0x15292e){_0x20c025['rect'](0x0,0x0,_0x4a8531,_0x58e793),_0x20c025[_0x290a01(0x3ed)]();return;}_0x20c025[_0x290a01(0x232)](_0x15292e,0x0),_0x20c025[_0x290a01(0x33b)](_0x4a8531-_0x15292e,0x0),_0x20c025[_0x290a01(0x427)](_0x4a8531-_0x15292e,_0x15292e,_0x15292e,Math['PI']*0x3/0x2,0x0,!0x1),_0x20c025[_0x290a01(0x33b)](_0x4a8531,_0x58e793-_0x15292e),_0x20c025[_0x290a01(0x427)](_0x4a8531-_0x15292e,_0x58e793-_0x15292e,_0x15292e,0x0,Math['PI']/0x2,!0x1),_0x20c025[_0x290a01(0x33b)](_0x15292e,_0x58e793),_0x20c025[_0x290a01(0x427)](_0x15292e,_0x58e793-_0x15292e,_0x15292e,Math['PI']/0x2,Math['PI'],!0x1),_0x20c025['lineTo'](0x0,_0x15292e),_0x20c025['arc'](_0x15292e,_0x15292e,_0x15292e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20c025[_0x290a01(0x3ed)]();}function Dr(_0x52a703){const _0x1d4fc9=_0x5e57d6;(_0x52a703==null?void 0x0:_0x52a703[_0x1d4fc9(0x127)])===_0x1eea30[_0x1d4fc9(0xfe)]&&_0x52a703[_0x1d4fc9(0x155)][_0x1d4fc9(0x419)]();}function Or(_0x5c6347){const _0x240c64=_0x5e57d6;return _0x5c6347[_0x240c64(0x522)]+_0x240c64(0x29b)+_0x5c6347[_0x240c64(0x37e)]+'#-#'+_0x5c6347[_0x240c64(0x18e)];}var kr=class extends _0x5ae490{constructor(..._0x463672){const _0x5bb362=_0x5e57d6;super(..._0x463672),Z(this,_0x5bb362(0x158),new Map());}[_0x5e57d6(0x2ad)](_0x2cde8a){const _0x181481=_0x5e57d6;var _0x503309;let _0x4dcb14=Or(_0x2cde8a),_0x1c3b22=(_0x503309=this['_entries']['get'](_0x4dcb14))==null?{'version':0x0}:_0x503309;return _0x1c3b22['version']+=0x1,this[_0x181481(0x158)][_0x181481(0x197)](_0x4dcb14,_0x1c3b22),_0x1c3b22[_0x181481(0x29c)];}[_0x5e57d6(0x46f)](_0x18092d,_0x4a9ea4){const _0x3a2ec3=_0x5e57d6;var _0x40bc75;return((_0x40bc75=this[_0x3a2ec3(0x158)][_0x3a2ec3(0x1cc)](Or(_0x18092d)))==null?void 0x0:_0x40bc75[_0x3a2ec3(0x29c)])===_0x4a9ea4;}['setImage'](_0x1aebe4,_0xe6ca29,_0x531017){const _0x2b7e66=_0x5e57d6;var _0x4f54d5;if(!this['isLatest'](_0x1aebe4,_0x531017))return Dr(_0xe6ca29),!0x1;let _0x1d62e6=Or(_0x1aebe4),_0x3cca94=(_0x4f54d5=this[_0x2b7e66(0x158)][_0x2b7e66(0x1cc)](_0x1d62e6))==null?{'version':_0x531017}:_0x4f54d5,_0x13daa3=_0x3cca94['image'];return _0x3cca94[_0x2b7e66(0x3df)]=_0xe6ca29,_0x3cca94[_0x2b7e66(0x29c)]=_0x531017,this[_0x2b7e66(0x158)][_0x2b7e66(0x197)](_0x1d62e6,_0x3cca94),_0x13daa3!==_0xe6ca29&&Dr(_0x13daa3),!0x0;}['getImage'](_0x2b3604){var _0x47843e;return(_0x47843e=this['_entries']['get'](Or(_0x2b3604)))==null?void 0x0:_0x47843e['image'];}['clearImage'](_0x36d8ab){const _0x298358=_0x5e57d6;let _0xfa0826=Or(_0x36d8ab),_0x256544=this['_entries'][_0x298358(0x1cc)](_0xfa0826);_0x256544&&(Dr(_0x256544[_0x298358(0x3df)]),this[_0x298358(0x158)][_0x298358(0x45e)](_0xfa0826));}[_0x5e57d6(0x209)](_0x12e04c){const _0x5105b6=_0x5e57d6;for(let [_0x529d50,_0x891247]of this['_entries'])_0x529d50['endsWith'](_0x5105b6(0x29b)+_0x12e04c)&&(Dr(_0x891247['image']),this[_0x5105b6(0x158)][_0x5105b6(0x45e)](_0x529d50));}[_0x5e57d6(0x466)](){const _0x5ce170=_0x5e57d6;this[_0x5ce170(0x158)][_0x5ce170(0x260)](_0x1aeaee=>Dr(_0x1aeaee[_0x5ce170(0x3df)])),this[_0x5ce170(0x158)]['clear'](),super[_0x5ce170(0x466)]();}};function Ar(_0x2ae82a,_0x564cc1=0x7d0){let _0x46c492=null,_0x24d60f=null,_0x3b70da=!0x1,_0x1da0d0=()=>{},_0x27c10b=()=>{_0x46c492!=null&&(clearInterval(_0x46c492),_0x46c492=null),_0x24d60f!=null&&(clearTimeout(_0x24d60f),_0x24d60f=null);};return{'promise':new Promise((_0x315096,_0x46d60e)=>{_0x1da0d0=_0x46d60e;let _0xc7758a=()=>{const _0x5a02d3=_0x9d8e;let _0x43a1f0=document[_0x5a02d3(0x448)](_0x2ae82a);!_0x43a1f0||_0x3b70da||(_0x3b70da=!0x0,_0x27c10b(),_0x315096(_0x43a1f0));};_0xc7758a(),!_0x3b70da&&(_0x46c492=setInterval(_0xc7758a,16.666666666666668),_0x24d60f=setTimeout(()=>{const _0x40e0ef=_0x9d8e;_0x3b70da||(_0x3b70da=!0x0,_0x27c10b(),_0x46d60e(Error(_0x40e0ef(0x499)+_0x2ae82a+'\x22.')));},_0x564cc1));}),'cancel':()=>{const _0x100340=_0x9d8e;_0x3b70da||(_0x3b70da=!0x0,_0x27c10b(),_0x1da0d0(Error(_0x100340(0x4eb)+_0x2ae82a+'\x22.')));}};}var jr=class extends _0x5ae490{constructor(_0x332970,_0x1b85c3,_0x533edf,_0x47fb00,_0x2a34ce,_0x524fa5,_0x3451d4){const _0x1ba1af=_0x5e57d6;super(),this[_0x1ba1af(0x18e)]=_0x332970,this[_0x1ba1af(0x3bf)]=_0x1b85c3,this['_getPlacement']=_0x533edf,this[_0x1ba1af(0x4c2)]=_0x47fb00,this['_isProviderDisposed']=_0x2a34ce,this[_0x1ba1af(0x512)]=_0x524fa5,this[_0x1ba1af(0x243)]=_0x3451d4,Z(this,'mode',_0x1db636[_0x1ba1af(0x493)]),Z(this,_0x1ba1af(0xba),null),Z(this,_0x1ba1af(0x269),!0x1),Z(this,'_pendingToken',null),Z(this,_0x1ba1af(0x23b),null),Z(this,_0x1ba1af(0x1ff),null),Z(this,'_hostStyle',{}),Z(this,_0x1ba1af(0x4f7),null);}['isManaged'](){const _0x4cef04=_0x5e57d6;return this[_0x4cef04(0x269)];}[_0x5e57d6(0x334)](){this['_managed']=!0x1;}[_0x5e57d6(0x393)](){const _0x367ea6=_0x5e57d6;let _0x49c5c4=this[_0x367ea6(0x325)]();return _0x49c5c4?{'width':_0x49c5c4['width'],'height':_0x49c5c4[_0x367ea6(0x3c3)]}:null;}[_0x5e57d6(0x3ee)](_0xe39122){const _0x103f36=_0x5e57d6;this['_hostStyle']=_0xe39122,this[_0x103f36(0x4c2)](_0xe39122),this[_0x103f36(0x2c3)]();}async[_0x5e57d6(0x352)](){const _0x3d9a0c=_0x5e57d6;var _0x300603;if(this[_0x3d9a0c(0x31a)]||this[_0x3d9a0c(0x34d)]())throw Error(_0x3d9a0c(0x27c));let _0x57c043=this[_0x3d9a0c(0x3bf)](),_0x7e289c=(_0x300603=_0x57c043==null?void 0x0:_0x57c043['domId'])==null?this[_0x3d9a0c(0x18e)]:_0x300603,_0x44f4ee=document[_0x3d9a0c(0x448)](_0x7e289c);if(this[_0x3d9a0c(0xba)]&&_0x44f4ee!=null&&_0x44f4ee[_0x3d9a0c(0x1b5)](this['_domFrame']['mountNode']))return{'mountNode':this[_0x3d9a0c(0xba)][_0x3d9a0c(0x2bd)],'dispose':()=>{const _0x5b9701=_0x3d9a0c;this[_0x5b9701(0x466)](),_0x57c043==null||_0x57c043[_0x5b9701(0x466)][_0x5b9701(0x466)]();}};if(this['_pendingHost'])return this[_0x3d9a0c(0x23b)];let _0x1b12bd=this[_0x3d9a0c(0x1ac)]();return this[_0x3d9a0c(0x23b)]=_0x1b12bd,_0x1b12bd['then'](()=>{const _0x3f3bff=_0x3d9a0c;this[_0x3f3bff(0x23b)]===_0x1b12bd&&(this[_0x3f3bff(0x23b)]=null);},()=>{const _0x13486e=_0x3d9a0c;this['_pendingHost']===_0x1b12bd&&(this[_0x13486e(0x23b)]=null);}),_0x1b12bd;}async[_0x5e57d6(0xf2)](){try{return(await this['ensureHandle']())['mountNode'];}catch{return null;}}['checkMounted'](){const _0x21e0ab=_0x5e57d6;var _0x38464f;let _0x1b4b7a=this[_0x21e0ab(0x3bf)](),_0x3b0c56=(_0x38464f=_0x1b4b7a==null?void 0x0:_0x1b4b7a['domId'])==null?this[_0x21e0ab(0x18e)]:_0x38464f,_0x480e09=document[_0x21e0ab(0x448)](_0x3b0c56);return!!(this[_0x21e0ab(0xba)]&&_0x480e09!=null&&_0x480e09[_0x21e0ab(0x1b5)](this['_domFrame'][_0x21e0ab(0x2bd)]));}[_0x5e57d6(0xd0)](){const _0x56bbe0=_0x5e57d6;if(!this[_0x56bbe0(0xba)])return;let _0x50f475=this['_getPlacement']();_0x50f475&&this[_0x56bbe0(0xba)][_0x56bbe0(0x2e1)](this[_0x56bbe0(0x22e)](_0x50f475),this[_0x56bbe0(0x1b7)]());}[_0x5e57d6(0x34c)](){const _0x2831d6=_0x5e57d6;this[_0x2831d6(0x512)]();}[_0x5e57d6(0x241)](){const _0x46ae3a=_0x5e57d6;this[_0x46ae3a(0x243)]();}[_0x5e57d6(0x466)](){const _0x4e7d1e=_0x5e57d6;var _0x45c5fc;this[_0x4e7d1e(0x31a)]||(this[_0x4e7d1e(0x241)](),this[_0x4e7d1e(0xf0)]=null,this['_pendingHost']=null,this[_0x4e7d1e(0x4bd)](),this[_0x4e7d1e(0x269)]=!0x1,(_0x45c5fc=this['_domFrame'])==null||_0x45c5fc[_0x4e7d1e(0x466)](),this[_0x4e7d1e(0xba)]=null,this[_0x4e7d1e(0x2d7)](),super[_0x4e7d1e(0x466)]());}async[_0x5e57d6(0x1ac)](){const _0x5aa006=_0x5e57d6;var _0x486db8;let _0x42536c=this[_0x5aa006(0x3bf)]();if(!_0x42536c)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x16cc0c=(_0x486db8=_0x42536c[_0x5aa006(0x1ad)])==null?this[_0x5aa006(0x18e)]:_0x486db8,_0x26d665=Ar(_0x16cc0c),_0x391d37=Symbol(this[_0x5aa006(0x18e)]);this['_pendingToken']=_0x391d37,this[_0x5aa006(0x1ff)]=_0x26d665;try{var _0x49371f;let _0x5d5274=await _0x26d665[_0x5aa006(0x43f)],_0x5a39b4=this[_0x5aa006(0x3bf)](),_0x2154a8=(_0x49371f=_0x5a39b4==null?void 0x0:_0x5a39b4[_0x5aa006(0x1ad)])==null?this[_0x5aa006(0x18e)]:_0x49371f;if(this[_0x5aa006(0x31a)]||this[_0x5aa006(0x34d)]()||this[_0x5aa006(0xf0)]!==_0x391d37||!_0x5a39b4||_0x2154a8!==_0x16cc0c||document[_0x5aa006(0x448)](_0x16cc0c)!==_0x5d5274||!_0x5d5274[_0x5aa006(0x2b7)])throw Error(_0x5aa006(0x27c));let _0x34f4d5=this[_0x5aa006(0x325)]();if(!_0x34f4d5)throw Error(_0x5aa006(0x27c));let _0x5711b6=new _0x4d64dc(_0x5d5274);return _0x5711b6[_0x5aa006(0x2e1)](this[_0x5aa006(0x22e)](_0x34f4d5),this[_0x5aa006(0x1b7)]()),this[_0x5aa006(0x4ae)](_0x5d5274),this[_0x5aa006(0xba)]=_0x5711b6,this['_managed']=!0x0,{'mountNode':_0x5711b6[_0x5aa006(0x2bd)],'dispose':()=>{const _0x24dded=_0x5aa006;this['dispose'](),_0x42536c['dispose'][_0x24dded(0x466)]();}};}finally{this[_0x5aa006(0x1ff)]===_0x26d665&&(this[_0x5aa006(0x1ff)]=null),this[_0x5aa006(0xf0)]===_0x391d37&&(this[_0x5aa006(0xf0)]=null);}}[_0x5e57d6(0x4bd)](){const _0x3a62a5=_0x5e57d6;let _0x38d27c=this[_0x3a62a5(0x1ff)];_0x38d27c&&(_0x38d27c[_0x3a62a5(0x307)](),this[_0x3a62a5(0x1ff)]=null);}[_0x5e57d6(0x2c3)](){const _0x4ff502=_0x5e57d6;let _0x5ec97c=this[_0x4ff502(0x325)]();this[_0x4ff502(0xba)]&&_0x5ec97c&&this[_0x4ff502(0xba)]['update'](this['_resolveLayout'](_0x5ec97c),this['_frameStyle']());}[_0x5e57d6(0x22e)](_0x29e7d4){const _0x46eb1a=_0x5e57d6;return _0x312d98[_0x46eb1a(0x354)]({'logicalOuterRect':{'left':_0x29e7d4[_0x46eb1a(0x473)],'top':_0x29e7d4['top'],'width':_0x29e7d4['width'],'height':_0x29e7d4[_0x46eb1a(0x3c3)]},'scale':{'scaleX':_0x29e7d4['scaleX'],'scaleY':_0x29e7d4[_0x46eb1a(0x2a8)]},'hostStyle':this[_0x46eb1a(0x1b7)](),'contentMode':_0x569830[_0x46eb1a(0x159)]});}[_0x5e57d6(0x1b7)](){const _0x4e263b=_0x5e57d6;return{...this[_0x4e263b(0x2b8)],'radius':_0x4d5e5b};}[_0x5e57d6(0x4ae)](_0x749a7c){const _0x33bbb7=_0x5e57d6;let _0x21938c=_0x749a7c[_0x33bbb7(0x513)];_0x21938c&&(this[_0x33bbb7(0x4f7)]||(this[_0x33bbb7(0x4f7)]={'zIndex':_0x21938c[_0x33bbb7(0x47a)][_0x33bbb7(0x51c)],'pointerEvents':_0x21938c[_0x33bbb7(0x47a)]['pointerEvents']}),_0x21938c[_0x33bbb7(0x47a)][_0x33bbb7(0x51c)]=_0x33bbb7(0x40e),_0x21938c[_0x33bbb7(0x47a)]['pointerEvents']=_0x33bbb7(0xc5));}[_0x5e57d6(0x2d7)](){const _0x49af06=_0x5e57d6;var _0x2a3590,_0x4e4184;if(!this['_savedWrapperStyle'])return;let _0x1fac36=this[_0x49af06(0x3bf)](),_0x4f8007=(_0x2a3590=_0x1fac36==null?void 0x0:_0x1fac36['domId'])==null?this[_0x49af06(0x18e)]:_0x2a3590,_0x4e82f6=(_0x4e4184=document[_0x49af06(0x448)](_0x4f8007))==null?void 0x0:_0x4e4184['parentElement'];_0x4e82f6&&(_0x4e82f6[_0x49af06(0x47a)][_0x49af06(0x51c)]=this['_savedWrapperStyle'][_0x49af06(0x51c)],_0x4e82f6[_0x49af06(0x47a)][_0x49af06(0x3c7)]=this[_0x49af06(0x4f7)]['pointerEvents']),this[_0x49af06(0x4f7)]=null;}},Mr=class extends _0x59b1c7{constructor(_0x54687e,_0x54b7fe,_0x3ddeaa,_0x1c0265,_0x4eb192,_0x2a7798){const _0x1c3426=_0x5e57d6;super(_0x54687e),this[_0x1c3426(0x4fc)]=_0x54b7fe,this[_0x1c3426(0x4c2)]=_0x3ddeaa,this['_snapshotKey']=_0x1c0265,this[_0x1c3426(0x1b8)]=_0x4eb192,this['_requestPaint']=_0x2a7798;}[_0x5e57d6(0x393)](){const _0xac9cd5=_0x5e57d6;let _0x3ca787=this[_0xac9cd5(0x4fc)]();return _0x3ca787?vr(_0x3ca787):null;}[_0x5e57d6(0x3ee)](_0x26f10d){const _0x328fbe=_0x5e57d6;this[_0x328fbe(0x4c2)](_0x26f10d);}[_0x5e57d6(0x2ad)](){const _0x1cfd6d=_0x5e57d6;return this[_0x1cfd6d(0x1b8)][_0x1cfd6d(0x2ad)](this['_snapshotKey']);}[_0x5e57d6(0x48c)](_0x4e415c,_0x39d4e1){const _0x386c0a=_0x5e57d6;return this[_0x386c0a(0x1b8)]['setImage'](this['_snapshotKey'],_0x4e415c,_0x39d4e1);}['requestPaint'](){this['_requestPaint']();}[_0x5e57d6(0x474)](){const _0x10634f=_0x5e57d6;this[_0x10634f(0x1b8)][_0x10634f(0x2ad)](this[_0x10634f(0xc6)]);}};function Q(_0x17d790,_0x5243c7){return function(_0x5346bd,_0x426c84){_0x5243c7(_0x5346bd,_0x426c84,_0x17d790);};}function Nr(_0x4577be,_0x4a595a,_0x4258db,_0x1a647e){const _0xc08c50=_0x5e57d6;var _0x405fdc=arguments[_0xc08c50(0x407)],_0x404196=_0x405fdc<0x3?_0x4a595a:_0x1a647e===null?_0x1a647e=Object[_0xc08c50(0x49c)](_0x4a595a,_0x4258db):_0x1a647e,_0x17775a;if(typeof Reflect==_0xc08c50(0x11b)&&typeof Reflect['decorate']==_0xc08c50(0x34e))_0x404196=Reflect[_0xc08c50(0x190)](_0x4577be,_0x4a595a,_0x4258db,_0x1a647e);else{for(var _0x5e2fc8=_0x4577be[_0xc08c50(0x407)]-0x1;_0x5e2fc8>=0x0;_0x5e2fc8--)(_0x17775a=_0x4577be[_0x5e2fc8])&&(_0x404196=(_0x405fdc<0x3?_0x17775a(_0x404196):_0x405fdc>0x3?_0x17775a(_0x4a595a,_0x4258db,_0x404196):_0x17775a(_0x4a595a,_0x4258db))||_0x404196);}return _0x405fdc>0x3&&_0x404196&&Object[_0xc08c50(0x15a)](_0x4a595a,_0x4258db,_0x404196),_0x404196;}function Pr(_0x4fbf1c){const _0x371974=_0x5e57d6;var _0x4c8439,_0x3b5c3d;if(!Object[_0x371974(0x131)][_0x371974(0x37c)][_0x371974(0x278)](_0x4fbf1c,_0x371974(0x500)))return _0x4fbf1c;let {border:_0x476237,..._0x4390dc}=_0x4fbf1c;return{..._0x4390dc,'stroke':(_0x4c8439=_0x476237==null?void 0x0:_0x476237['color'])==null?_0x371974(0x34a):_0x4c8439,'strokeWidth':(_0x3b5c3d=_0x476237==null?void 0x0:_0x476237['width'])==null?0x0:_0x3b5c3d};}let Fr=class extends _0x5ae490{constructor(_0x42a9f7,_0x598419,_0x942c8b,_0x4fd810){const _0x1edafc=_0x5e57d6;super(),this[_0x1edafc(0x1f8)]=_0x42a9f7,this['_renderManagerService']=_0x598419,this[_0x1edafc(0x2aa)]=_0x942c8b,this['_canvasFloatDomService']=_0x4fd810,Z(this,'_chartHostMap',new Map()),Z(this,_0x1edafc(0x4db),new Set()),Z(this,_0x1edafc(0x37d),new _0x21df3a()),Z(this,_0x1edafc(0x4c0),this[_0x1edafc(0x37d)][_0x1edafc(0x2dd)]()),this[_0x1edafc(0x43a)](this[_0x1edafc(0x1f8)][_0x1edafc(0x3b3)][_0x1edafc(0x35d)](_0x614d8a=>{const _0x887ca9=_0x1edafc;let _0x3e2c25=this[_0x887ca9(0x25c)][_0x887ca9(0x1cc)](_0x614d8a['id']);_0x3e2c25!=null&&_0x3e2c25['isManaged']()&&(_0x3e2c25['markUnmanaged'](),this['_removeHost$']['next'](_0x614d8a['id']));}));}[_0x5e57d6(0x1a6)](_0x9469bb){const _0xaae969=_0x5e57d6;if(_0x9469bb==null)return;let _0x40012d=this['_renderManagerService'][_0xaae969(0x12a)](_0x9469bb),_0xede6f6=_0x40012d==null?void 0x0:_0x40012d[_0xaae969(0xd9)];return _0x40012d==null||_0xede6f6==null?null:{'scene':_0xede6f6,'transformer':_0xede6f6[_0xaae969(0x305)](),'renderUnit':_0x40012d,'canvas':_0x40012d[_0xaae969(0x2f3)][_0xaae969(0x4cc)]()};}[_0x5e57d6(0x242)](_0x100bea,_0x2f2436){const _0x285387=_0x5e57d6;let _0xe2d9d8=this[_0x285387(0x1f8)],_0x3e1a9c=_0x2f2436||'transparent',_0x4dc930=_0xe2d9d8[_0x285387(0x16e)](_0x100bea);if(_0x4dc930){let {unitId:_0x48f307,subUnitId:_0x669a65}=_0x4dc930;_0xe2d9d8[_0x285387(0x4bf)](_0x48f307,_0x669a65,_0x100bea,{'stroke':_0x3e1a9c});}}[_0x5e57d6(0x300)](_0x3b049d,_0x1e9642){const _0x2f0143=_0x5e57d6;let _0x32098f=this[_0x2f0143(0x1f8)],_0x2bf149=_0x32098f[_0x2f0143(0x16e)](_0x3b049d);if(_0x2bf149){let {unitId:_0xf4fc24,subUnitId:_0x4e935b}=_0x2bf149;_0x32098f[_0x2f0143(0x4bf)](_0xf4fc24,_0x4e935b,_0x3b049d,Pr(_0x1e9642));}}[_0x5e57d6(0x519)](_0x2ddfc0){const _0x343cde=_0x5e57d6;let _0x459cbd=this[_0x343cde(0x1f8)]['getFloatDomInfo'](_0x2ddfc0);return _0x459cbd?_0x459cbd[_0x343cde(0x47e)]:null;}[_0x5e57d6(0x3d0)](_0xb1cf72){const _0x56d835=_0x5e57d6;var _0x161802,_0x269678;return(_0x161802=(_0x269678=this[_0x56d835(0x25c)][_0x56d835(0x1cc)](_0xb1cf72))==null?void 0x0:_0x269678[_0x56d835(0x2ee)]())==null?!0x1:_0x161802;}[_0x5e57d6(0x1a2)](_0x55eb0b){const _0x1ec490=_0x5e57d6;var _0x50bc79;(_0x50bc79=this[_0x1ec490(0x25c)][_0x1ec490(0x1cc)](_0x55eb0b))==null||_0x50bc79[_0x1ec490(0xd0)]();}[_0x5e57d6(0x22d)](_0x57f2a){const _0x5404dd=_0x5e57d6;let _0x158fae=this[_0x5404dd(0x25c)][_0x5404dd(0x1cc)](_0x57f2a);_0x158fae==null||_0x158fae[_0x5404dd(0x466)](),this[_0x5404dd(0x25c)][_0x5404dd(0x45e)](_0x57f2a);}async[_0x5e57d6(0xec)](_0xe6498f,_0x16da11){const _0x3fee8b=_0x5e57d6;if(_0x16da11===_0x1db636[_0x3fee8b(0xbf)])return this[_0x3fee8b(0x423)](_0xe6498f);if(_0x16da11===_0x1db636['Dom'])return this['_getOrCreateSheetChartHost'](_0xe6498f);let _0x28144a=this[_0x3fee8b(0x1ce)](_0xe6498f);if(!_0x28144a)throw Error(_0x3fee8b(0x27c));return _0x28144a[_0x3fee8b(0x352)]();}['isDomReady'](_0x53daac){const _0x2658ec=_0x5e57d6;return this[_0x2658ec(0x4db)][_0x2658ec(0x298)](_0x53daac);}[_0x5e57d6(0x10f)](_0x12111d){const _0x15b2b9=_0x5e57d6;this[_0x15b2b9(0x4db)][_0x15b2b9(0x45e)](_0x12111d)&&this[_0x15b2b9(0x2ac)](_0x12111d);}[_0x5e57d6(0x474)](_0x43ed56){const _0x6f42e9=_0x5e57d6;let _0x417f62=this['_getChartSnapshotKey'](_0x43ed56);_0x417f62&&this[_0x6f42e9(0x2aa)]['nextVersion'](_0x417f62);}['_createImageChartHost'](_0x4dd0f0){const _0x342748=_0x5e57d6;let _0xa307dd=this[_0x342748(0x502)](_0x4dd0f0);return!_0xa307dd||!this[_0x342748(0x519)](_0x4dd0f0)?null:new Mr(_0x4dd0f0,()=>this[_0x342748(0x519)](_0x4dd0f0),_0x9797d8=>this[_0x342748(0x300)](_0x4dd0f0,_0x9797d8),_0xa307dd,this[_0x342748(0x2aa)],()=>this[_0x342748(0x2ac)](_0x4dd0f0));}['_getOrCreateSheetChartHost'](_0x3ed126){const _0x2c824d=_0x5e57d6;if(!this[_0x2c824d(0x519)](_0x3ed126))return null;this[_0x2c824d(0x385)][_0x2c824d(0xed)](_0x3ed126,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x3ff70d=this[_0x2c824d(0x25c)][_0x2c824d(0x1cc)](_0x3ed126);if(_0x3ff70d)return _0x3ff70d;let _0x509bb1=new jr(_0x3ed126,()=>this[_0x2c824d(0x1f8)][_0x2c824d(0x16e)](_0x3ed126),()=>this[_0x2c824d(0x498)](_0x3ed126),_0x43c1d6=>this['setHostStyle'](_0x3ed126,_0x43c1d6),()=>this[_0x2c824d(0x31a)],()=>this[_0x2c824d(0xe2)](_0x3ed126),()=>this['markHostNotReady'](_0x3ed126));return this[_0x2c824d(0x25c)][_0x2c824d(0x197)](_0x3ed126,_0x509bb1),_0x509bb1;}['_markHostReady'](_0x554358){const _0x88be7e=_0x5e57d6;this[_0x88be7e(0x4db)][_0x88be7e(0x298)](_0x554358)||(this[_0x88be7e(0x4db)][_0x88be7e(0x312)](_0x554358),this[_0x88be7e(0x2ac)](_0x554358));}[_0x5e57d6(0x502)](_0x24cfa0){const _0x23013b=_0x5e57d6;let _0x24079c=this[_0x23013b(0x1f8)]['getFloatDomInfo'](_0x24cfa0);return _0x24079c?{'unitId':_0x24079c[_0x23013b(0x522)],'subUnitId':_0x24079c[_0x23013b(0x37e)],'chartId':_0x24cfa0}:null;}[_0x5e57d6(0x2ac)](_0x55dd26){const _0x510b58=_0x5e57d6;var _0x1a308b,_0x43527c,_0x4baf16,_0x30b69c,_0xe00e0e;let _0x298c00=this[_0x510b58(0x1f8)]['getFloatDomInfo'](_0x55dd26);if(!_0x298c00)return;let _0x4ffbe8=(_0x1a308b=this[_0x510b58(0x511)][_0x510b58(0x12a)](_0x298c00[_0x510b58(0x522)]))==null?void 0x0:_0x1a308b[_0x510b58(0xd9)],_0x26e788=(_0x43527c=(_0x4baf16=_0x4ffbe8==null||(_0x30b69c=_0x4ffbe8[_0x510b58(0x125)])==null?void 0x0:_0x30b69c['call'](_0x4ffbe8,_0x4187c1({'unitId':_0x298c00[_0x510b58(0x522)],'subUnitId':_0x298c00[_0x510b58(0x37e)],'drawingId':_0x55dd26})))==null?_0x4ffbe8==null?void 0x0:_0x4ffbe8[_0x510b58(0x36d)](_0x4187c1({'unitId':_0x298c00[_0x510b58(0x522)],'subUnitId':_0x298c00['subUnitId'],'drawingId':_0x55dd26})):_0x4baf16)==null?null:_0x43527c;_0x26e788==null||(_0xe00e0e=_0x26e788[_0x510b58(0x146)])==null||_0xe00e0e[_0x510b58(0x278)](_0x26e788,!0x0),_0x4ffbe8==null||_0x4ffbe8[_0x510b58(0x146)](!0x0);}['_getHostPlacement'](_0x536391){const _0x5e25fb=_0x5e57d6;var _0x2113b4,_0x2f27e2,_0x3eeb3c;let _0x1dd68d=this[_0x5e25fb(0x1f8)]['getFloatDomInfo'](_0x536391);if(!_0x1dd68d)return null;let _0x55de8d=this[_0x5e25fb(0x1a6)](_0x1dd68d['unitId']),_0x330fbe=_0x55de8d==null?void 0x0:_0x55de8d['scene'],_0x586fdc=document[_0x5e25fb(0x448)]((_0x2113b4=_0x1dd68d['domId'])==null?_0x536391:_0x2113b4);return yr(_0x1dd68d[_0x5e25fb(0x47e)],{'scaleX':(_0x2f27e2=_0x330fbe==null?void 0x0:_0x330fbe[_0x5e25fb(0x40c)])==null?0x1:_0x2f27e2,'scaleY':(_0x3eeb3c=_0x330fbe==null?void 0x0:_0x330fbe[_0x5e25fb(0x2a8)])==null?0x1:_0x3eeb3c},_0x586fdc?{'left':_0x586fdc['offsetLeft'],'top':_0x586fdc[_0x5e25fb(0x152)]}:void 0x0);}['dispose'](){const _0x3a6234=_0x5e57d6;this[_0x3a6234(0x31a)]||(this['_chartHostMap'][_0x3a6234(0x260)](_0x98c8f3=>_0x98c8f3[_0x3a6234(0x466)]()),this[_0x3a6234(0x25c)][_0x3a6234(0x240)](),this[_0x3a6234(0x4db)]['clear'](),this[_0x3a6234(0x37d)][_0x3a6234(0x2ef)](),super[_0x3a6234(0x466)]());}};Fr=Nr([Q(0x0,_0x188178(_0x1d2b7b)),Q(0x1,_0x188178(_0x403baa)),Q(0x2,_0x188178(kr)),Q(0x3,_0x188178(_0x136676))],Fr);const Ir=_0x390056(_0x5e57d6(0x3a2)),Lr=_0x359e61[_0x5e57d6(0xbf)];var Rr=class extends _0x59b1c7{constructor(_0x90e600,_0x2c89f9){const _0x50dafe=_0x5e57d6;super(_0x90e600),this[_0x50dafe(0x3d8)]=_0x2c89f9,Z(this,_0x50dafe(0x253),0x0),Z(this,_0x50dafe(0xf3),void 0x0),Z(this,_0x50dafe(0x47a),{});}[_0x5e57d6(0x393)](){return this['_rect'];}[_0x5e57d6(0x3ee)](_0x568cd5){const _0x50ad14=_0x5e57d6;this[_0x50ad14(0x47a)]=_0x568cd5;}['nextVersion'](){const _0x255f25=_0x5e57d6;return++this[_0x255f25(0x253)];}['commitSnapshot'](_0x296ea1,_0x33f21c){const _0xcd2ab2=_0x5e57d6;return _0x33f21c===this[_0xcd2ab2(0x253)]?(Dr(this[_0xcd2ab2(0xf3)]),this[_0xcd2ab2(0xf3)]=_0x296ea1,!0x0):(Dr(_0x296ea1),!0x1);}[_0x5e57d6(0x26f)](){}[_0x5e57d6(0x474)](){const _0x4ee058=_0x5e57d6;this[_0x4ee058(0x253)]+=0x1;}[_0x5e57d6(0x160)](){const _0x2925f0=_0x5e57d6;let _0x53f175=this[_0x2925f0(0xf3)];return this[_0x2925f0(0xf3)]=void 0x0,_0x53f175;}[_0x5e57d6(0x466)](){const _0x77c6d0=_0x5e57d6;Dr(this['_image']),this[_0x77c6d0(0xf3)]=void 0x0,super[_0x77c6d0(0x466)]();}};function zr(_0x292572,_0x5bbfba){const _0x32b52d=_0x5e57d6;let _0x34c8cd=_0x292572[_0x32b52d(0x430)](_0x5bbfba);return _0x31b96d({..._0x292572[_0x32b52d(0x47a)],'runtime':{..._0x34c8cd,'layoutInset':0x8},'direction':_0x5bbfba},_0x292572[_0x32b52d(0x3ea)]);}let Br=class extends _0x5ae490{constructor(_0x84e265,_0x574648,_0x292fc8,_0x3aba13,_0x20a0e3,_0x22bd6c,_0x188eb2,_0x4725b9,_0x1bd153,_0x2395eb,_0x2d13dd,_0x129224,_0x3d2626){const _0x1ca2d6=_0x5e57d6;var _0x394d01;super(),this[_0x1ca2d6(0x23d)]=_0x84e265,this[_0x1ca2d6(0x1f8)]=_0x574648,this[_0x1ca2d6(0x279)]=_0x292fc8,this[_0x1ca2d6(0x3f2)]=_0x3aba13,this[_0x1ca2d6(0x2d9)]=_0x20a0e3,this['_renderManagerService']=_0x22bd6c,this[_0x1ca2d6(0x3d1)]=_0x188eb2,this[_0x1ca2d6(0x283)]=_0x4725b9,this[_0x1ca2d6(0x282)]=_0x1bd153,this['_themeService']=_0x2395eb,this['_configService']=_0x2d13dd,this['_chartSnapshotStoreService']=_0x129224,Z(this,'_chartInstanceMap',new Map()),Z(this,_0x1ca2d6(0x510),new Map()),Z(this,_0x1ca2d6(0x103),new Map()),Z(this,_0x1ca2d6(0x445),new Map()),Z(this,_0x1ca2d6(0x364),void 0x0),Z(this,'_renderDebounceMap',new Map()),Z(this,'_debounceHandleMap',new Map()),Z(this,_0x1ca2d6(0x1c4),void 0x0),Z(this,_0x1ca2d6(0x435),new Map()),Z(this,_0x1ca2d6(0x373),null),Z(this,_0x1ca2d6(0x157),null),this['_renderModelManager']=_0x3d2626;let _0x6d7685=!0x0,_0x6de032=_0x50505(this[_0x1ca2d6(0x283)]);_0x6de032['length']===0x1&&_0x6de032[0x0]===_0x1ca2d6(0x191)&&(_0x6d7685=!0x1);let _0x1d2cfd=this['_configService'][_0x1ca2d6(0x4e3)](_0x1dfee4);this[_0x1ca2d6(0x1c4)]=(_0x394d01=_0x1d2cfd==null?void 0x0:_0x1d2cfd[_0x1ca2d6(0x33e)])==null?Lr:_0x394d01,this[_0x1ca2d6(0x364)][_0x1ca2d6(0x208)](_0x305bb3)||this[_0x1ca2d6(0x1d8)](_0x305bb3,new _0xe010a9(_0x6d7685,{'wordCloudRenderConfig':_0x1d2cfd==null?void 0x0:_0x1d2cfd[_0x1ca2d6(0x2fc)]})),this[_0x1ca2d6(0x3d2)](),this[_0x1ca2d6(0x114)](),this[_0x1ca2d6(0x49d)](),this[_0x1ca2d6(0x1cb)](),this[_0x1ca2d6(0x11e)]();}[_0x5e57d6(0x129)](){const _0x361bca=_0x5e57d6;let _0x4a7382=!0x0,_0x25c412=_0x50505(this[_0x361bca(0x283)]);return _0x25c412[_0x361bca(0x407)]===0x1&&_0x25c412[0x0]===_0x361bca(0x191)&&(_0x4a7382=!0x1),_0x4a7382;}[_0x5e57d6(0x1d8)](_0x5a6a0b,_0x49460){const _0x2d60b0=_0x5e57d6;this[_0x2d60b0(0x364)][_0x2d60b0(0x1d8)](_0x5a6a0b,_0x49460);}[_0x5e57d6(0xff)](_0x4d2c32){const _0x4643ba=_0x5e57d6;this[_0x4643ba(0x364)]['setRenderModel'](_0x4d2c32);}['getChartSnapshotImage'](_0x4172d6){const _0x2ce40a=_0x5e57d6;let _0x4fcb30=this['_getChartSnapshotKey'](_0x4172d6);return _0x4fcb30?this['_chartSnapshotStoreService'][_0x2ce40a(0x198)](_0x4fcb30):void 0x0;}[_0x5e57d6(0x379)](_0xe01b48){const _0x588731=_0x5e57d6;var _0x15ae69;return((_0x15ae69=this[_0x588731(0x279)][_0x588731(0x51e)])==null?void 0x0:_0x15ae69['id'])===_0xe01b48?_0x359e61[_0x588731(0x493)]:this[_0x588731(0x1c4)];}[_0x5e57d6(0x502)](_0x5e6378){const _0x48237e=_0x5e57d6;let _0x36a94c=this[_0x48237e(0x1f8)][_0x48237e(0x16e)](_0x5e6378);return _0x36a94c?{'unitId':_0x36a94c[_0x48237e(0x522)],'subUnitId':_0x36a94c['subUnitId'],'chartId':_0x5e6378}:null;}[_0x5e57d6(0x3d2)](){const _0x35b4d9=_0x5e57d6;this['_chartRenderMode']===_0x359e61[_0x35b4d9(0xbf)]&&this[_0x35b4d9(0x43a)](this[_0x35b4d9(0x1f8)][_0x35b4d9(0x470)](_0x4f620b[_0x35b4d9(0x2af)],({key:_0x20a412,config:_0x31da82,unitId:_0x49a751,subUnitId:_0x5452c9,drawingId:_0x1ffef0})=>new wr(_0x20a412,_0x31da82,()=>this[_0x35b4d9(0x2aa)]['getImage']({'unitId':_0x49a751,'subUnitId':_0x5452c9,'chartId':_0x1ffef0}),()=>this[_0x35b4d9(0x23d)]['isDomReady'](_0x1ffef0))));}[_0x5e57d6(0x114)](){const _0x289f2a=_0x5e57d6;this['disposeWithMe'](this[_0x289f2a(0x279)][_0x289f2a(0x398)]['subscribe'](_0x4a53fe=>{const _0xda2b6a=_0x289f2a;var _0x33e5ff;let _0x24be4c=(_0x33e5ff=_0x4a53fe==null?void 0x0:_0x4a53fe['id'])==null?null:_0x33e5ff,_0x456b13=this['_activeChartId'];_0x456b13!==_0x24be4c&&(_0x456b13&&(this[_0xda2b6a(0x23d)][_0xda2b6a(0x10f)](_0x456b13),this[_0xda2b6a(0xdf)](_0x456b13),this[_0xda2b6a(0x42b)](_0x456b13),this[_0xda2b6a(0x202)](_0x456b13)),this[_0xda2b6a(0x373)]=_0x24be4c,_0x24be4c&&(this[_0xda2b6a(0x23d)][_0xda2b6a(0x10f)](_0x24be4c),this[_0xda2b6a(0x215)](_0x24be4c),this[_0xda2b6a(0x202)](_0x24be4c)));}));}[_0x5e57d6(0x49d)](){const _0xa5d421=_0x5e57d6;this[_0xa5d421(0x43a)](this[_0xa5d421(0x3f2)][_0xa5d421(0x297)][_0xa5d421(0x35d)](_0x5f243c=>{const _0x53f489=_0xa5d421;var _0x41c9fc;let _0x616d3c=(_0x41c9fc=this[_0x53f489(0x279)][_0x53f489(0x51e)])==null?void 0x0:_0x41c9fc['id'];_0x616d3c&&_0x5f243c[_0x53f489(0x484)](_0x2538be=>_0x2538be[_0x53f489(0x4ad)][_0x53f489(0x484)](_0x4892dd=>_0x4892dd[_0x53f489(0x207)]===_0x616d3c))&&this['_chartModelService'][_0x53f489(0x4f1)](null);})),this[_0xa5d421(0x43a)](this[_0xa5d421(0x3f2)][_0xa5d421(0x18c)][_0xa5d421(0x35d)](_0x39bd4d=>{const _0x2525e2=_0xa5d421;var _0x7e81ef;let _0x95ceed=(_0x7e81ef=this[_0x2525e2(0x279)][_0x2525e2(0x51e)])==null?void 0x0:_0x7e81ef['id'];_0x95ceed&&_0x39bd4d[_0x2525e2(0x484)](_0x190e51=>_0x190e51['parent'][_0x2525e2(0x207)]===_0x95ceed||_0x190e51[_0x2525e2(0x4ad)][_0x2525e2(0x484)](_0x160bb7=>_0x160bb7[_0x2525e2(0x207)]===_0x95ceed))&&this[_0x2525e2(0x279)][_0x2525e2(0x4f1)](null);}));}[_0x5e57d6(0x1cb)](){const _0x10540d=_0x5e57d6;this[_0x10540d(0x43a)](this['_drawingManagerService']['featurePluginOrderUpdate$'][_0x10540d(0x35d)](_0x46e9af=>{const _0x134d08=_0x10540d;var _0x1cf55b;let _0x493f99=(_0x1cf55b=this['_chartModelService'][_0x134d08(0x51e)])==null?void 0x0:_0x1cf55b['id'];if(!_0x493f99){_0x46e9af[_0x134d08(0xda)][_0x134d08(0x260)](_0x434b9c=>{const _0x3eb1ce=_0x134d08;this['_chartModelService'][_0x3eb1ce(0x335)](_0x434b9c)&&this[_0x3eb1ce(0xdf)](_0x434b9c);});return;}let _0x132281=this['_sheetCanvasFloatDomManagerService'][_0x134d08(0x16e)](_0x493f99);(_0x132281==null?void 0x0:_0x132281[_0x134d08(0x522)])===_0x46e9af['unitId']&&_0x132281[_0x134d08(0x37e)]===_0x46e9af[_0x134d08(0x37e)]&&this[_0x134d08(0x215)](_0x493f99);})),this[_0x10540d(0x43a)](this[_0x10540d(0x3f2)][_0x10540d(0x403)][_0x10540d(0x35d)](_0x2d2b16=>{const _0x3e0f7f=_0x10540d;var _0x5a3457;let _0x3b07db=(_0x5a3457=this[_0x3e0f7f(0x279)][_0x3e0f7f(0x51e)])==null?void 0x0:_0x5a3457['id'];if(!_0x3b07db)return;let _0x56c000=this[_0x3e0f7f(0x1f8)]['getFloatDomInfo'](_0x3b07db);_0x56c000&&_0x2d2b16[_0x3e0f7f(0x484)](_0x3df6b5=>_0x3df6b5[_0x3e0f7f(0x522)]===_0x56c000[_0x3e0f7f(0x522)]&&_0x3df6b5[_0x3e0f7f(0x37e)]===_0x56c000['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x3b07db);})),this[_0x10540d(0x43a)](this[_0x10540d(0x279)]['chartModelRemoved$'][_0x10540d(0x35d)](_0x3cc4ff=>{const _0x3e6d98=_0x10540d;var _0x4bbcb2;this[_0x3e6d98(0x435)][_0x3e6d98(0x45e)](_0x3cc4ff),this['_chartSnapshotStoreService'][_0x3e6d98(0x209)](_0x3cc4ff),this[_0x3e6d98(0xea)](_0x3cc4ff),this['_chartHostProvider'][_0x3e6d98(0x10f)](_0x3cc4ff),((_0x4bbcb2=this[_0x3e6d98(0x279)][_0x3e6d98(0x51e)])==null?void 0x0:_0x4bbcb2['id'])===_0x3cc4ff?this[_0x3e6d98(0x279)]['setActiveChartModel'](null):this[_0x3e6d98(0xdf)](_0x3cc4ff),this[_0x3e6d98(0x194)](_0x3cc4ff);}));}['_rerenderLatest'](_0x28ad5c){const _0xfa4778=_0x5e57d6;let _0x15fd11=this[_0xfa4778(0x435)]['get'](_0x28ad5c);_0x15fd11&&this[_0xfa4778(0x456)](_0x28ad5c,_0x15fd11[_0xfa4778(0x506)],_0x15fd11[_0xfa4778(0x47a)]);}[_0x5e57d6(0x42b)](_0x4ebe49){const _0x19bf20=_0x5e57d6;let _0x3847fc=this[_0x19bf20(0x4ba)][_0x19bf20(0x1cc)](_0x4ebe49);(_0x3847fc==null?void 0x0:_0x3847fc[_0x19bf20(0x308)])===_0x19bf20(0x217)&&(this[_0x19bf20(0x170)](_0x4ebe49),_0x3847fc['dispose'](),this[_0x19bf20(0x4ba)]['delete'](_0x4ebe49)),this[_0x19bf20(0x23d)][_0x19bf20(0x10f)](_0x4ebe49),this['_chartHostProvider'][_0x19bf20(0x22d)](_0x4ebe49);}[_0x5e57d6(0x194)](_0x14f468){const _0x161277=_0x5e57d6;let _0x7da8b0=this[_0x161277(0x4ba)][_0x161277(0x1cc)](_0x14f468);_0x7da8b0&&(this[_0x161277(0x170)](_0x14f468),_0x7da8b0[_0x161277(0x466)](),this[_0x161277(0x4ba)][_0x161277(0x45e)](_0x14f468)),this['_chartHostProvider'][_0x161277(0x10f)](_0x14f468),this[_0x161277(0x23d)][_0x161277(0x22d)](_0x14f468);}[_0x5e57d6(0xea)](_0x4abc8b){const _0x519020=_0x5e57d6;var _0x3bebe6,_0x34801f;(_0x3bebe6=this[_0x519020(0x208)](_0x305bb3))==null||(_0x34801f=_0x3bebe6['clearRuntimeCache'])==null||_0x34801f[_0x519020(0x278)](_0x3bebe6,_0x4abc8b);}[_0x5e57d6(0x3cf)](_0x452efa,_0x2dcb00){const _0x5a8c10=_0x5e57d6;let _0x3ed77d=this[_0x5a8c10(0x3f2)][_0x5a8c10(0x11f)](_0x452efa,_0x2dcb00);Object[_0x5a8c10(0x183)](_0x3ed77d==null?{}:_0x3ed77d)[_0x5a8c10(0x260)](_0x27871b=>{const _0x36f3bd=_0x5a8c10;_0x27871b[_0x36f3bd(0x4bb)]===_0x4f620b[_0x36f3bd(0x2af)]&&this[_0x36f3bd(0xea)](_0x27871b[_0x36f3bd(0x207)]);});}['_getChartRenderObject'](_0x2c7887,_0x14c9a6){const _0x5649b4=_0x5e57d6;var _0x13a5c2,_0x5778d6,_0x35c17a;return(_0x13a5c2=(_0x5778d6=(_0x35c17a=_0x2c7887['getObjectIncludeInGroup'])==null?void 0x0:_0x35c17a[_0x5649b4(0x278)](_0x2c7887,_0x14c9a6))==null?_0x2c7887[_0x5649b4(0x36d)](_0x14c9a6):_0x5778d6)==null?null:_0x13a5c2;}['_getChartRenderObjectContext'](_0x5e9930){const _0x136fcd=_0x5e57d6;var _0x14ea5d;let _0x508cd7=this[_0x136fcd(0x1f8)]['getFloatDomInfo'](_0x5e9930);if(!_0x508cd7)return null;let _0x35f3f7=(_0x14ea5d=this[_0x136fcd(0x511)]['getRenderById'](_0x508cd7[_0x136fcd(0x522)]))==null?void 0x0:_0x14ea5d['scene'];if(!_0x35f3f7)return null;let _0x5ab1bf=this[_0x136fcd(0x422)](_0x35f3f7,_0x4187c1({'unitId':_0x508cd7['unitId'],'subUnitId':_0x508cd7[_0x136fcd(0x37e)],'drawingId':_0x5e9930}));return _0x5ab1bf?{'info':_0x508cd7,'scene':_0x35f3f7,'chartObject':_0x5ab1bf}:null;}[_0x5e57d6(0x104)](_0x5c522f,_0x37f36e){const _0x5a8d38=_0x5e57d6;var _0x311cf1,_0x422ece,_0x115657,_0x5ed3ba;let _0x374899=this['_getChartRenderObjectContext'](_0x5c522f);_0x374899&&((_0x311cf1=(_0x422ece=_0x374899[_0x5a8d38(0x142)])[_0x5a8d38(0x340)])==null||_0x311cf1[_0x5a8d38(0x278)](_0x422ece,{'zIndex':_0x37f36e}),(_0x115657=(_0x5ed3ba=_0x374899['chartObject'])[_0x5a8d38(0x146)])==null||_0x115657['call'](_0x5ed3ba,!0x0),_0x374899['scene'][_0x5a8d38(0x146)](!0x0));}[_0x5e57d6(0x215)](_0x4680db){const _0x33a932=_0x5e57d6;let _0x56bfcb=this[_0x33a932(0x1f8)][_0x33a932(0x16e)](_0x4680db);if(!_0x56bfcb)return;let _0x38d0d9=this[_0x33a932(0x3f2)][_0x33a932(0x365)](_0x56bfcb['unitId'],_0x56bfcb[_0x33a932(0x37e)]);this[_0x33a932(0x104)](_0x4680db,_0x38d0d9[_0x33a932(0x407)]);}[_0x5e57d6(0xdf)](_0x1f2415){const _0x4942ce=_0x5e57d6;let _0x284fc3=this[_0x4942ce(0x1f8)][_0x4942ce(0x16e)](_0x1f2415);if(!_0x284fc3)return;let _0x15696b=this[_0x4942ce(0x3f2)][_0x4942ce(0x365)](_0x284fc3[_0x4942ce(0x522)],_0x284fc3[_0x4942ce(0x37e)]),_0x1ee3a6=_0x15696b[_0x4942ce(0x13a)](_0x1f2415);this[_0x4942ce(0x104)](_0x1f2415,_0x1ee3a6===-0x1?Math['max'](_0x15696b['length']-0x1,0x0):_0x1ee3a6);}['_resizeChart'](_0x56397a,_0x444f56){const _0x14d369=_0x5e57d6;let _0x3dceef=this[_0x14d369(0x1f8)]['getFloatDomInfo'](_0x56397a);if(!(_0x444f56[_0x14d369(0x41a)]===void 0x0||_0x444f56[_0x14d369(0x3c3)]===void 0x0)&&_0x3dceef){var _0x23aa0f;let {subUnitId:_0x4e05eb}=_0x3dceef,_0x2ae450=(_0x23aa0f=this[_0x14d369(0x2d9)][_0x14d369(0x1be)](_0x3829a7['UNIVER_SHEET']))==null?void 0x0:_0x23aa0f['getActiveSheet']();if((_0x2ae450==null?void 0x0:_0x2ae450[_0x14d369(0x31f)]())===_0x4e05eb){let {width:_0x40e9d1,height:_0x3a1d73}=_0x444f56,_0x3fe3f1=this[_0x14d369(0x279)][_0x14d369(0x335)](_0x56397a),_0x3fcf6a=_0x3fe3f1==null?void 0x0:_0x3fe3f1[_0x14d369(0x47a)];if(Math[_0x14d369(0x18d)](_0x40e9d1-((_0x3fcf6a==null?void 0x0:_0x3fcf6a[_0x14d369(0x41a)])||0x0))>0x1||Math[_0x14d369(0x18d)](_0x3a1d73-((_0x3fcf6a==null?void 0x0:_0x3fcf6a[_0x14d369(0x3c3)])||0x0))>0x1){_0x3fe3f1==null||_0x3fe3f1['applyStyle']({..._0x3fcf6a,'width':_0x40e9d1,'height':_0x3a1d73});let _0x5ea8cc=this[_0x14d369(0x4ba)][_0x14d369(0x1cc)](_0x56397a);_0x5ea8cc&&(this['_chartHostProvider'][_0x14d369(0x1a2)](_0x56397a),_0x5ea8cc[_0x14d369(0x32a)]());}}}}[_0x5e57d6(0x526)](_0x5cb398,_0x49c03e,_0x4c6b6f=0x0){const _0xfd6284=_0x5e57d6;let _0x29752f=this['_debounceHandleMap'][_0xfd6284(0x1cc)](_0x5cb398);_0x29752f||(_0x29752f=_0x4243f7(_0x5c8c03=>{this['_resizeChart'](_0x5cb398,_0x5c8c03);},_0x4c6b6f),this['_debounceHandleMap'][_0xfd6284(0x197)](_0x5cb398,_0x29752f)),_0x29752f(_0x49c03e);}['handleActiveSubUnitChange'](){const _0x141d89=_0x5e57d6;let _0x184b4f=this[_0x141d89(0x3c2)],_0x362ade=_0x2203c0=>{const _0x7f2135=_0x141d89;if(!_0x184b4f[_0x7f2135(0x298)](_0x2203c0)){let _0xef160b=_0x4243f7((_0x2fa9e2,_0x50d32a,_0x545485,_0x201320)=>{const _0x1dd0d5=_0x7f2135;var _0x4e0b42,_0x1ba36e;if(!_0x545485)return;(_0x4e0b42=_0x545485['category'])==null||_0x4e0b42['items'][_0x1dd0d5(0x260)]((_0x246f5c,_0x2cceae)=>{const _0x4b88e7=_0x1dd0d5;_0x246f5c['label']||(_0x246f5c['label']=this['_localeService']['t'](_0x4b88e7(0x3c1))+'\x20'+(_0x2cceae+0x1));}),_0x545485[_0x1dd0d5(0x36a)][_0x1dd0d5(0x260)]((_0x5741cf,_0x48e106)=>{const _0x466e3a=_0x1dd0d5;_0x5741cf[_0x466e3a(0x24d)]||(_0x5741cf['name']=this[_0x466e3a(0x3d1)]['t'](_0x466e3a(0x20f))+'\x20'+(_0x48e106+0x1));});let _0x27853a=zr(_0x2fa9e2,_0x201320),_0x16997c=(_0x1ba36e=this['_univerInstanceService'][_0x1dd0d5(0x1be)](_0x3829a7[_0x1dd0d5(0x492)]))==null?void 0x0:_0x1ba36e['getActiveSheet']();(_0x16997c==null?void 0x0:_0x16997c[_0x1dd0d5(0x31f)]())===_0x50d32a&&this[_0x1dd0d5(0x456)](_0x2fa9e2['id'],_0x545485,_0x27853a);},0x11);_0x184b4f[_0x7f2135(0x197)](_0x2203c0,_0xef160b);}return _0x184b4f[_0x7f2135(0x1cc)](_0x2203c0);};this[_0x141d89(0x43a)](this['_univerInstanceService']['focused$'][_0x141d89(0x35d)](_0x228af3=>{const _0x1f3554=_0x141d89;let _0x37ef65=this[_0x1f3554(0x2d9)]['getCurrentUnitOfType'](_0x3829a7['UNIVER_SHEET']);if(_0x228af3&&_0x37ef65&&_0x37ef65['getUnitId']()===_0x228af3){var _0x13546f;let _0x11d041=_0x37ef65[_0x1f3554(0x15c)]()['getSheetId']();this[_0x1f3554(0x157)]&&(this[_0x1f3554(0x157)][_0x1f3554(0x522)]!==_0x228af3||this['_lastActiveSheet'][_0x1f3554(0x37e)]!==_0x11d041)&&this[_0x1f3554(0x3cf)](this[_0x1f3554(0x157)]['unitId'],this[_0x1f3554(0x157)][_0x1f3554(0x37e)]),this[_0x1f3554(0x157)]={'unitId':_0x228af3,'subUnitId':_0x11d041};let _0x496839=this[_0x1f3554(0x3f2)][_0x1f3554(0x11f)](_0x228af3,_0x11d041);if(!((_0x13546f=this[_0x1f3554(0x511)][_0x1f3554(0x12a)](_0x228af3))!=null&&_0x13546f['with'](_0x5a7891)[_0x1f3554(0x4c5)](_0x11d041)))return;if(_0x496839)for(let _0x4ac23e in _0x496839){let {drawingId:_0x38a9a2}=_0x496839[_0x4ac23e],_0x42154d=this[_0x1f3554(0x279)][_0x1f3554(0x335)](_0x38a9a2);_0x42154d&&_0x362ade(_0x42154d['id'])(_0x42154d,_0x11d041,_0x42154d[_0x1f3554(0x506)],this[_0x1f3554(0x3d1)]['getDirection']());}}})),this[_0x141d89(0x43a)](this[_0x141d89(0x1f4)][_0x141d89(0x3a5)][_0x141d89(0x35d)](()=>{const _0x5d067c=_0x141d89;var _0x167651;let _0x4dcd8f=this['_univerInstanceService'][_0x5d067c(0x1be)](_0x3829a7['UNIVER_SHEET']);if(!_0x4dcd8f)return;let _0x19670b=_0x4dcd8f[_0x5d067c(0x3e9)](),_0x1dba92=_0x4dcd8f[_0x5d067c(0x15c)]()['getSheetId'](),_0x2465b9=this[_0x5d067c(0x3f2)]['getDrawingData'](_0x19670b,_0x1dba92);if((_0x167651=this[_0x5d067c(0x511)][_0x5d067c(0x12a)](_0x19670b))!=null&&_0x167651[_0x5d067c(0x24f)](_0x5a7891)['getSkeleton'](_0x1dba92)&&_0x2465b9)for(let _0x2a3ed0 in _0x2465b9){let {drawingId:_0x1811b9}=_0x2465b9[_0x2a3ed0],_0xb477e8=this['_chartModelService']['getChartModel'](_0x1811b9);_0xb477e8&&_0x362ade(_0xb477e8['id'])(_0xb477e8,_0x1dba92,_0xb477e8[_0x5d067c(0x506)],this[_0x5d067c(0x3d1)][_0x5d067c(0x29d)]());}})),this['disposeWithMe'](this[_0x141d89(0x3f2)]['add$'][_0x141d89(0x35d)](_0x21d25a=>{const _0xad9b10=_0x141d89;_0x21d25a[_0xad9b10(0x260)](_0x4237b1=>{const _0x118fb1=_0xad9b10;var _0x1d956d,_0x324651,_0x51e09b;let {drawingId:_0x346160,unitId:_0x1e49dc,subUnitId:_0x4c4534}=_0x4237b1;if(!((_0x1d956d=this[_0x118fb1(0x511)][_0x118fb1(0x12a)](_0x1e49dc))!=null&&_0x1d956d['with'](_0x5a7891)[_0x118fb1(0x4c5)](_0x4c4534)))return;let {drawingType:_0x22e4b5}=this['_drawingManagerService'][_0x118fb1(0x3f3)](_0x4237b1);if(_0x22e4b5!==_0x4f620b[_0x118fb1(0x2af)])return;let _0x1a0f78=this[_0x118fb1(0x1f8)][_0x118fb1(0x16e)](_0x346160),_0x2b56a6=(_0x324651=_0x1a0f78==null?void 0x0:_0x1a0f78[_0x118fb1(0x1ad)])==null?_0x346160:_0x324651,_0x4a6331=_0x1a0f78==null?void 0x0:_0x1a0f78[_0x118fb1(0x47e)],_0xa94518=(_0x51e09b=this[_0x118fb1(0x511)][_0x118fb1(0x12a)](_0x1e49dc))==null?void 0x0:_0x51e09b[_0x118fb1(0xd9)];_0x4a6331&&this['disposeWithMe'](_0x4a6331==null?void 0x0:_0x4a6331[_0x118fb1(0x358)][_0x118fb1(0x10b)](_0x401533=>{const _0x5b9ac1=_0x118fb1;let {type:_0x34f1e2,value:_0x475da8}=_0x401533;if(_0x1407f0[_0x5b9ac1(0x32a)]===_0x34f1e2||_0x1407f0[_0x5b9ac1(0x191)]===_0x34f1e2){let {width:_0x31bc99,height:_0x4b3872}=_0x475da8;this[_0x5b9ac1(0x526)](_0x346160,{'width':_0x31bc99,'height':_0x4b3872},0x64);}})),_0xa94518&&this[_0x118fb1(0x43a)](_0xa94518[_0x118fb1(0x358)]['subscribeEvent'](_0x476462=>{const _0x9f40c5=_0x118fb1;var _0x29cee8;_0x476462[_0x9f40c5(0x127)]===_0x1407f0['scale']&&(_0x29cee8=document[_0x9f40c5(0x448)](_0x2b56a6))!=null&&_0x29cee8[_0x9f40c5(0x400)]('.chart-host')&&this[_0x9f40c5(0x23d)][_0x9f40c5(0x1a2)](_0x346160);}));let _0x5f134e=this[_0x118fb1(0x279)][_0x118fb1(0x335)](_0x346160);_0x5f134e&&this[_0x118fb1(0x43a)](_0x4e5559([_0x5f134e[_0x118fb1(0x2bf)],_0x5f134e['style$'],this[_0x118fb1(0x3d1)][_0x118fb1(0x262)]])[_0x118fb1(0x35d)](([_0x5167ce,_0x375cf8,_0xcee7bf])=>{_0x362ade(_0x5f134e['id'])(_0x5f134e,_0x4c4534,_0x5167ce,_0xcee7bf);}));});})),this['disposeWithMe'](_0x4e5559([this[_0x141d89(0x3f2)][_0x141d89(0x3b3)]])[_0x141d89(0x35d)](([_0x554c5f])=>{const _0x42edf9=_0x141d89;_0x554c5f[_0x42edf9(0x260)](_0x11a223=>{const _0x598e54=_0x42edf9;var _0x3f41fe;let {drawingId:_0x3784de}=_0x11a223;((_0x3f41fe=this[_0x598e54(0x279)]['activeChartModel'])==null?void 0x0:_0x3f41fe['id'])===_0x3784de&&this[_0x598e54(0x279)][_0x598e54(0x4f1)](null),this['_disposeChartEventSubscriptions'](_0x3784de),this[_0x598e54(0x510)][_0x598e54(0x45e)](_0x3784de),this[_0x598e54(0x23d)]['markHostNotReady'](_0x3784de),this['_resetChartRuntimeZIndex'](_0x3784de),this[_0x598e54(0x194)](_0x3784de),this[_0x598e54(0x2aa)][_0x598e54(0x209)](_0x3784de),this[_0x598e54(0xea)](_0x3784de),this[_0x598e54(0x435)][_0x598e54(0x45e)](_0x3784de),this['_chartElementEditMode'][_0x598e54(0x45e)](_0x3784de);});}));}[_0x5e57d6(0x3e3)](_0x52b2ad,_0x4ee370){const _0x4916f4=_0x5e57d6;var _0x378639;_0x4ee370?this[_0x4916f4(0x445)]['set'](_0x52b2ad,!0x0):this[_0x4916f4(0x445)][_0x4916f4(0x45e)](_0x52b2ad),(_0x378639=this['_chartInstanceMap'][_0x4916f4(0x1cc)](_0x52b2ad))==null||_0x378639[_0x4916f4(0x3e3)](_0x4ee370);}async[_0x5e57d6(0x150)](_0x4d99c4){const _0x22915d=_0x5e57d6;let _0x13655a=this[_0x22915d(0x4ba)][_0x22915d(0x1cc)](_0x4d99c4);if(_0x13655a){let _0x4da060=this['_chartElementEditMode'][_0x22915d(0x1cc)](_0x4d99c4)===!0x0;_0x4da060&&_0x13655a['setElementEditMode'](!0x1);try{let _0x311333=await _0x13655a[_0x22915d(0x328)]();if(_0x311333)return _0x311333;}finally{_0x4da060&&this[_0x22915d(0x4ba)][_0x22915d(0x1cc)](_0x4d99c4)===_0x13655a&&_0x13655a[_0x22915d(0x3e3)](!0x0);}}let _0x3b5cd7=this['_getCurrentSnapshotImage'](_0x4d99c4);return _0x3b5cd7?_0x4dc697(_0x3b5cd7):void 0x0;}['on'](_0x59a1d7,_0x5e9896,_0x59dbc7){const _0x1bae17=_0x5e57d6;let _0x11b06b=this[_0x1bae17(0x510)][_0x1bae17(0x1cc)](_0x59a1d7);_0x11b06b||(_0x11b06b=new Map(),this[_0x1bae17(0x510)][_0x1bae17(0x197)](_0x59a1d7,_0x11b06b));let _0x20c89e=_0x11b06b[_0x1bae17(0x1cc)](_0x5e9896);_0x20c89e||(_0x20c89e=new Set(),_0x11b06b[_0x1bae17(0x197)](_0x5e9896,_0x20c89e)),_0x20c89e[_0x1bae17(0x312)](_0x59dbc7);let _0x52e0e0=this['_chartInstanceMap']['get'](_0x59a1d7);return _0x52e0e0&&this[_0x1bae17(0x4e8)](_0x59a1d7,_0x52e0e0,_0x5e9896,_0x59dbc7),{'dispose':()=>{const _0xd11a92=_0x1bae17;var _0x26ce40;(_0x26ce40=this[_0xd11a92(0x510)][_0xd11a92(0x1cc)](_0x59a1d7))==null||(_0x26ce40=_0x26ce40['get'](_0x5e9896))==null||_0x26ce40[_0xd11a92(0x45e)](_0x59dbc7),this['_disposeChartEventSubscription'](_0x59a1d7,_0x5e9896,_0x59dbc7);}};}['_getCurrentSnapshotImage'](_0x570219){const _0x145737=_0x5e57d6;let _0x27fe85=this[_0x145737(0x2d9)][_0x145737(0x1be)](_0x3829a7[_0x145737(0x492)]),_0x37aba4=_0x27fe85==null?void 0x0:_0x27fe85[_0x145737(0x15c)](),_0x8b92c9=_0x27fe85==null?void 0x0:_0x27fe85[_0x145737(0x3e9)](),_0x4d9507=_0x37aba4==null?void 0x0:_0x37aba4[_0x145737(0x31f)]();if(!(!_0x8b92c9||!_0x4d9507))return this[_0x145737(0x2aa)][_0x145737(0x198)]({'unitId':_0x8b92c9,'subUnitId':_0x4d9507,'chartId':_0x570219});}[_0x5e57d6(0x4ac)](_0x331036,_0x499882){const _0x22500b=_0x5e57d6;let _0x5290f1=this[_0x22500b(0x510)][_0x22500b(0x1cc)](_0x331036);_0x5290f1&&_0x5290f1[_0x22500b(0x260)]((_0xada076,_0x28ef84)=>{const _0x13f497=_0x22500b;_0xada076[_0x13f497(0x260)](_0x35b592=>this['_bindChartEventHandler'](_0x331036,_0x499882,_0x28ef84,_0x35b592));});}[_0x5e57d6(0x4e8)](_0x2dd403,_0x3e6faf,_0x1ff281,_0x20bf08){const _0x2381fd=_0x5e57d6;let _0x2cf004=this[_0x2381fd(0x103)][_0x2381fd(0x1cc)](_0x2dd403);_0x2cf004||(_0x2cf004=new Map(),this['_chartEventSubscriptions'][_0x2381fd(0x197)](_0x2dd403,_0x2cf004));let _0x5cd180=_0x2cf004[_0x2381fd(0x1cc)](_0x1ff281);_0x5cd180||(_0x5cd180=new Map(),_0x2cf004[_0x2381fd(0x197)](_0x1ff281,_0x5cd180)),!_0x5cd180[_0x2381fd(0x298)](_0x20bf08)&&_0x5cd180[_0x2381fd(0x197)](_0x20bf08,_0x3e6faf['on'](_0x1ff281,_0x20bf08));}[_0x5e57d6(0x2b3)](_0x263852,_0x5ee9b2,_0x2c2d1b){const _0xf4f7d9=_0x5e57d6;var _0x33d88e,_0x706eb4;let _0x51b414=(_0x33d88e=this[_0xf4f7d9(0x103)][_0xf4f7d9(0x1cc)](_0x263852))==null?void 0x0:_0x33d88e['get'](_0x5ee9b2);_0x51b414==null||(_0x706eb4=_0x51b414[_0xf4f7d9(0x1cc)](_0x2c2d1b))==null||_0x706eb4[_0xf4f7d9(0x466)](),_0x51b414==null||_0x51b414[_0xf4f7d9(0x45e)](_0x2c2d1b);}[_0x5e57d6(0x170)](_0x283d30){const _0x4c404e=_0x5e57d6;let _0x2ae01b=this[_0x4c404e(0x103)]['get'](_0x283d30);_0x2ae01b==null||_0x2ae01b[_0x4c404e(0x260)](_0x2bca6f=>{const _0xe5c1cf=_0x4c404e;_0x2bca6f[_0xe5c1cf(0x260)](_0x54bc61=>_0x54bc61[_0xe5c1cf(0x466)]()),_0x2bca6f[_0xe5c1cf(0x240)]();}),this[_0x4c404e(0x103)][_0x4c404e(0x45e)](_0x283d30);}[_0x5e57d6(0x208)](_0x5f3183){const _0x21c668=_0x5e57d6;let _0x5f0b2f=this[_0x21c668(0x364)]['getRenderModel'](_0x5f3183),_0x5ae5ef=this[_0x21c668(0x129)]();return _0x5f0b2f&&_0x5f0b2f[_0x21c668(0x384)](_0x5ae5ef),_0x5f0b2f;}[_0x5e57d6(0x483)](_0xd30edd){const _0x200618=_0x5e57d6;return this[_0x200618(0x326)](_0xd30edd)==null;}[_0x5e57d6(0x326)](_0xddbe1e){const _0x1b5e0a=_0x5e57d6;var _0x12d320;let _0x837d8d=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xddbe1e);if(!_0x837d8d)return _0x1b5e0a(0x1c7);let {subUnitId:_0x1a8283}=_0x837d8d,_0x4d0384=(_0x12d320=this['_univerInstanceService'][_0x1b5e0a(0x1be)](_0x3829a7['UNIVER_SHEET']))==null?void 0x0:_0x12d320[_0x1b5e0a(0x15c)]();if(!_0x4d0384)return _0x1b5e0a(0x1ec);if(_0x4d0384[_0x1b5e0a(0x31f)]()!==_0x1a8283)return _0x1b5e0a(0x3e8);}async[_0x5e57d6(0x456)](_0x3add7d,_0x5ed2d8,_0x47ca6c){const _0x50298e=_0x5e57d6;let _0x4823b7=this[_0x50298e(0x208)](_0x305bb3);if(!_0x4823b7||(this['_lastRenderInputMap'][_0x50298e(0x197)](_0x3add7d,{'config':_0x5ed2d8,'style':_0x47ca6c}),this['_getChartRenderSkipReason'](_0x3add7d)))return;let _0xd6284a=this[_0x50298e(0x379)](_0x3add7d);if(_0xd6284a===_0x359e61[_0x50298e(0xbf)])this[_0x50298e(0x42b)](_0x3add7d);else{var _0x1adadb;this[_0x50298e(0x23d)][_0x50298e(0x474)](_0x3add7d),((_0x1adadb=this[_0x50298e(0x279)][_0x50298e(0x51e)])==null?void 0x0:_0x1adadb['id'])===_0x3add7d&&this[_0x50298e(0x215)](_0x3add7d);}let _0x65a337=_0xd6284a===_0x359e61[_0x50298e(0xbf)]?_0x1db636[_0x50298e(0xbf)]:_0x1db636[_0x50298e(0x493)],_0x15411a=await this[_0x50298e(0x23d)]['ensureHost'](_0x3add7d,_0x65a337);if(!_0x15411a)return;let _0x261bee=this['_getOrCreateChartRenderInstance'](_0x3add7d,_0x65a337,_0x4823b7);_0x261bee[_0x50298e(0x134)](_0x15411a);try{await _0x261bee['render']({'chartId':_0x3add7d,'config':_0x5ed2d8,'style':_0x47ca6c});}catch(_0x407b68){if(_0xd6284a!==_0x359e61['Image'])throw _0x407b68;}}async[_0x5e57d6(0x169)](_0x64e1a2,_0x5f395a,_0x4968f8){const _0x3aba1=_0x5e57d6;let _0x516a1a=this[_0x3aba1(0x3f2)][_0x3aba1(0x11f)](_0x64e1a2,_0x5f395a),_0xe16410=this[_0x3aba1(0x3f2)]['getDrawingOrder'](_0x64e1a2,_0x5f395a),_0x59d327=Object[_0x3aba1(0x183)](_0x516a1a==null?{}:_0x516a1a)[_0x3aba1(0x4d2)](_0x3174d8=>_0x3174d8[_0x3aba1(0x4bb)]===_0x4f620b[_0x3aba1(0x2af)]&&_0x3174d8[_0x3aba1(0x4e4)]!==!0x0);await Promise[_0x3aba1(0x1e1)](_0x59d327[_0x3aba1(0x290)](async _0xc38248=>{const _0x28e877=_0x3aba1;let _0x1a769b=await this[_0x28e877(0x482)](_0xc38248,_0xe16410);_0x1a769b&&(_0x4968f8[_0x28e877(0x26d)](_0x1a769b,_0x4bce64),_0xc38248[_0x28e877(0x145)]&&_0x378516({'drawingId':_0xc38248['groupId'],'unitId':_0x64e1a2,'subUnitId':_0x5f395a},_0x1a769b,_0x4968f8,this[_0x28e877(0x3f2)]));}));}async[_0x5e57d6(0x482)](_0x4ffbc2,_0xc78d1c){const _0x1ec351=_0x5e57d6;var _0x53c031;let _0x351e3f=this['_chartModelService'][_0x1ec351(0x335)](_0x4ffbc2[_0x1ec351(0x207)]),_0x2087ad=this[_0x1ec351(0x208)](_0x305bb3),_0x4a73d3=_0x4ffbc2['transform'],_0x342c3c=_0x351e3f==null?void 0x0:_0x351e3f[_0x1ec351(0x506)];if(!_0x351e3f||!_0x2087ad||!_0x4a73d3||!_0x342c3c||_0x4a73d3[_0x1ec351(0x41a)]==null||_0x4a73d3[_0x1ec351(0x3c3)]==null)return null;let _0x445cc3=new Rr(_0x4ffbc2[_0x1ec351(0x207)],{'width':_0x4a73d3['width'],'height':_0x4a73d3[_0x1ec351(0x3c3)]}),_0x5d60dd=_0x2087ad[_0x1ec351(0x458)](_0x1db636[_0x1ec351(0xbf)],this[_0x1ec351(0x31c)]());_0x5d60dd[_0x1ec351(0x134)](_0x445cc3);let _0x3c75ca;try{await _0x5d60dd['render']({'chartId':_0x4ffbc2[_0x1ec351(0x207)],'config':_0x342c3c,'style':zr(_0x351e3f,this[_0x1ec351(0x3d1)][_0x1ec351(0x29d)]())});}catch(_0x4d8cef){console[_0x1ec351(0x13f)](_0x1ec351(0x428),_0x4d8cef);}finally{_0x3c75ca=_0x445cc3[_0x1ec351(0x160)](),_0x5d60dd[_0x1ec351(0x466)](),_0x445cc3[_0x1ec351(0x466)]();}let _0x2304b8=this[_0x1ec351(0x2aa)][_0x1ec351(0x198)]({'unitId':_0x4ffbc2[_0x1ec351(0x522)],'subUnitId':_0x4ffbc2['subUnitId'],'chartId':_0x4ffbc2[_0x1ec351(0x207)]}),_0x26a447=(_0x53c031=_0x3c75ca)==null?_0x2304b8:_0x53c031;if(!_0x26a447)return null;let _0x5cbd66=_0xc78d1c['indexOf'](_0x4ffbc2['drawingId']);return new wr(_0x4187c1(_0x4ffbc2),{..._0x4a73d3,..._0x421adc,...Pr(_0x445cc3[_0x1ec351(0x47a)]),'visible':!0x0,'zIndex':_0x5cbd66===-0x1?Math[_0x1ec351(0x465)](_0xc78d1c[_0x1ec351(0x407)]-0x1,0x0):_0x5cbd66},()=>_0x26a447,void 0x0,_0x3c75ca?()=>Dr(_0x3c75ca):void 0x0);}[_0x5e57d6(0x2db)](_0x3c2ed6,_0x5a74e4,_0x53a26b){const _0x298618=_0x5e57d6;let _0x43cd26=this[_0x298618(0x4ba)][_0x298618(0x1cc)](_0x3c2ed6);if((_0x43cd26==null?void 0x0:_0x43cd26[_0x298618(0x308)])===_0x5a74e4)return _0x43cd26;_0x43cd26&&(this[_0x298618(0x170)](_0x3c2ed6),_0x43cd26[_0x298618(0x466)](),this[_0x298618(0x4ba)][_0x298618(0x45e)](_0x3c2ed6));let _0x4b2a5b=_0x53a26b[_0x298618(0x458)](_0x5a74e4,this[_0x298618(0x31c)]());return this['_chartInstanceMap'][_0x298618(0x197)](_0x3c2ed6,_0x4b2a5b),_0x4b2a5b[_0x298618(0x3e3)](this['_chartElementEditMode']['get'](_0x3c2ed6)===!0x0),this[_0x298618(0x4ac)](_0x3c2ed6,_0x4b2a5b),_0x4b2a5b;}[_0x5e57d6(0x31c)](){const _0x28b271=_0x5e57d6;return{'resolveHostStyle':({style:_0x265db9})=>_0x22a911({'style':_0x265db9,'getRenderColor':_0x5015bc=>this['_chartThemeService'][_0x28b271(0xbe)](_0x5015bc)}),'resolveRenderBackgroundColor':({style:_0x248bf3})=>this[_0x28b271(0x282)]['getRenderColor'](_0x22cda3(_0x248bf3))};}[_0x5e57d6(0x401)](){const _0x2837b1=_0x5e57d6;this['_renderDebounceMap'][_0x2837b1(0x260)](_0x362288=>_0x362288[_0x2837b1(0x307)]()),this[_0x2837b1(0x3c2)]['clear'](),this[_0x2837b1(0x19f)][_0x2837b1(0x260)](_0x43a883=>_0x43a883[_0x2837b1(0x307)]()),this[_0x2837b1(0x19f)]['clear']();}[_0x5e57d6(0x466)](){const _0x2841d0=_0x5e57d6;Array[_0x2841d0(0x4e7)](this[_0x2841d0(0x4ba)]['keys']())[_0x2841d0(0x260)](_0xe9cb34=>this[_0x2841d0(0x194)](_0xe9cb34)),this[_0x2841d0(0x445)][_0x2841d0(0x240)](),this['_cancelDebouncedCallbacks'](),this['_lastRenderInputMap']['clear'](),this[_0x2841d0(0x373)]=null,this[_0x2841d0(0x157)]=null,super['dispose']();}};Br=Nr([Q(0x0,Ir),Q(0x1,_0x188178(_0x1d2b7b)),Q(0x2,_0x188178(_0x412f7b)),Q(0x3,_0x451416),Q(0x4,_0x1a9126),Q(0x5,_0x188178(_0x403baa)),Q(0x6,_0x188178(_0x4a3b9f)),Q(0x7,_0x188178(_0x5c466e)),Q(0x8,_0x188178(_0x293d57)),Q(0x9,_0x188178(_0x56ff38)),Q(0xa,_0xc91c4e),Q(0xb,_0x188178(kr)),Q(0xc,_0x21048b)],Br);function Vr(_0xd333a1){const _0xc7e32b=_0x5e57d6;let _0x3224df=_0xd333a1[_0xc7e32b(0x1cc)](_0x52c0a1)[_0xc7e32b(0x3a7)]();if(_0x3224df[_0xc7e32b(0x407)]!==0x1)return null;let _0x3f0920=_0x3224df[0x0];return _0x3f0920[_0xc7e32b(0x4bb)]===_0x4f620b['DRAWING_CHART']?_0x3f0920:null;}function Hr(_0x5f9f64,_0x2db1fe){const _0x91ca9d=_0x5e57d6;let _0x1c13ba=document[_0x91ca9d(0x3ca)]('a');_0x1c13ba[_0x91ca9d(0x41c)]=_0x5f9f64,_0x1c13ba[_0x91ca9d(0x47c)]=_0x2db1fe,_0x1c13ba[_0x91ca9d(0x408)]();}const Ur={'id':_0x5e57d6(0x2c2),'type':_0xf5a2d1[_0x5e57d6(0x504)],'handler':(_0x2ad66b,_0x1e988d)=>{const _0x308664=_0x5e57d6;let _0x5c58ad=Vr(_0x2ad66b);return _0x5c58ad?_0x2ad66b[_0x308664(0x1cc)](_0x536519)[_0x308664(0xbd)](_r['id'],{'unitId':_0x5c58ad['unitId'],'subUnitId':_0x5c58ad[_0x308664(0x37e)],'drawingId':_0x5c58ad[_0x308664(0x207)],..._0x1e988d!=null&&_0x1e988d['route']?{'route':_0x1e988d['route']}:{}}):!0x1;}},Wr={'id':_0x5e57d6(0x286),'type':_0xf5a2d1['COMMAND'],'handler':_0x904f32=>Vr(_0x904f32)?_0x904f32[_0x5e57d6(0x1cc)](_0x536519)[_0x5e57d6(0xbd)](_0x153d38['id']):!0x1},Gr={'id':'sheet.command.chart.export-focused-image','type':_0xf5a2d1[_0x5e57d6(0x504)],'handler':async _0x2ae030=>{const _0x28f383=_0x5e57d6;let _0x18bb8b=Vr(_0x2ae030);if(!_0x18bb8b)return!0x1;let _0x570194=await _0x2ae030[_0x28f383(0x1cc)](Br)['exportImage'](_0x18bb8b[_0x28f383(0x207)]);return _0x570194?(Hr(_0x570194,_0x18bb8b[_0x28f383(0x207)]+_0x28f383(0x4ab)),!0x0):!0x1;}},Kr={'id':'sheet.command.chart.delete-focused-chart','type':_0xf5a2d1[_0x5e57d6(0x504)],'handler':_0x4677c1=>{const _0xb9bdc4=_0x5e57d6;let _0x179ca5=Vr(_0x4677c1);return _0x179ca5?_0x4677c1[_0xb9bdc4(0x1cc)](_0x536519)[_0xb9bdc4(0xbd)](_0x58e188['id'],{'unitId':_0x179ca5['unitId'],'drawings':[{'unitId':_0x179ca5[_0xb9bdc4(0x522)],'subUnitId':_0x179ca5[_0xb9bdc4(0x37e)],'drawingId':_0x179ca5['drawingId'],'drawingType':_0x4f620b[_0xb9bdc4(0x2af)]}]}):!0x1;}},qr='SHEETS_CHART_CONTEXT_MENU';function Jr(_0xb09bcd){const _0x8c61d=_0x5e57d6;let _0x48e660=_0xb09bcd['get'](_0x52c0a1);return _0x48e660['focus$'][_0x8c61d(0x1ea)](_0x44293d(_0x48e660[_0x8c61d(0x3a7)]()),_0x44d876(()=>Vr(_0xb09bcd)==null));}function Yr(_0x291914){const _0x520c92=_0x5e57d6;return{'id':Ur['id'],'commandId':Ur['id'],'type':_0x5c22b3[_0x520c92(0x2b5)],'title':'sheets-chart-ui.openChartPanel','icon':_0x520c92(0x4ed),'hidden$':Jr(_0x291914)};}function Xr(_0x177a72){const _0x47bee6=_0x5e57d6;return{'id':Wr['id'],'commandId':Wr['id'],'type':_0x5c22b3[_0x47bee6(0x2b5)],'title':_0x47bee6(0x3ef),'icon':_0x47bee6(0x10d),'hidden$':Jr(_0x177a72)};}function Zr(_0x3c7842){const _0x2c3052=_0x5e57d6;return{'id':Gr['id'],'commandId':Gr['id'],'type':_0x5c22b3[_0x2c3052(0x2b5)],'title':_0x2c3052(0xf5),'icon':_0x2c3052(0x28c),'hidden$':Jr(_0x3c7842)};}function Qr(_0xc6e71e){const _0x4db009=_0x5e57d6;return{'id':Kr['id'],'commandId':Kr['id'],'type':_0x5c22b3['BUTTON'],'title':_0x4db009(0x211),'icon':'DeleteIcon','hidden$':Jr(_0xc6e71e)};}const $r={'type':_0xf5a2d1[_0x5e57d6(0x504)],'id':_0x5e57d6(0x4d8),'handler':async(_0x5f2515,_0x6252f)=>{const _0x516dbe=_0x5e57d6;let _0x25fdf3=_0x30a944(_0x5f2515[_0x516dbe(0x1cc)](_0x1a9126));if(!_0x25fdf3)return!0x1;let _0x3c4e7a=_0x5f2515['get'](_0x541018)[_0x516dbe(0x3f1)]();if(!_0x3c4e7a)return!0x1;let {range:_0x13b10b}=_0x3c4e7a;if(_0x13b10b[_0x516dbe(0x289)]===_0x13b10b[_0x516dbe(0x3a3)])return _0x5f2515[_0x516dbe(0x1cc)](_0x329aee)['show']({'type':_0xf82b3a[_0x516dbe(0x3e4)],'content':_0x5f2515[_0x516dbe(0x1cc)](_0x4a3b9f)['t'](_0x516dbe(0x1f9))}),!0x1;let _0x37b6dc=_0x5f2515['get'](_0x536519),{unitId:_0x158266,subUnitId:_0x4a19ee}=_0x25fdf3,{value:_0x379ee1}=_0x6252f;return _0x37b6dc[_0x516dbe(0xbd)](_0x3b5be0['id'],{'unitId':_0x158266,'subUnitId':_0x4a19ee,'chartType':_0x379ee1,'source':{'rangeInfo':{'unitId':_0x158266,'subUnitId':_0x4a19ee,'range':_0x13b10b}}});}};function ei(_0x522382,_0x42ee68){const _0x4bcbf7=_0x5e57d6;return _0x522382==null||Array[_0x4bcbf7(0x303)](_0x522382)?'':ti(_0x522382[_0x4bcbf7(0x2d8)],_0x42ee68);}function ti(_0x460d74,_0x281f34){const _0x91931b=_0x5e57d6;var _0x8cb9de;let {unitId:_0x56274a,subUnitId:_0x1342a4,range:_0x1df712}=_0x460d74,_0x7a150a=(_0x8cb9de=_0x281f34[_0x91931b(0x2e3)](_0x56274a))==null?void 0x0:_0x8cb9de[_0x91931b(0xc0)](_0x1342a4);return _0x7a150a?_0x59e79b(_0x7a150a[_0x91931b(0xce)](),_0x1df712):'';}const ni=[{'label':_0x5e57d6(0x380),'value':_0xca8a9a[_0x5e57d6(0x189)],'icon':_0x5e57d6(0x3d5)},{'label':_0x5e57d6(0x329),'value':_0xca8a9a[_0x5e57d6(0x507)],'icon':_0x5e57d6(0x391)},{'label':'sheets-chart-ui.chartTypes.pie','value':_0xca8a9a[_0x5e57d6(0xc8)],'icon':_0x5e57d6(0x378)},{'label':_0x5e57d6(0x2fd),'value':_0xca8a9a['Bar'],'icon':_0x5e57d6(0x280)},{'label':_0x5e57d6(0x28d),'value':_0xca8a9a[_0x5e57d6(0x4f8)],'icon':_0x5e57d6(0x280)},{'label':_0x5e57d6(0x527),'value':_0xca8a9a[_0x5e57d6(0x438)],'icon':'BarChartIcon'},{'label':_0x5e57d6(0x137),'value':_0xca8a9a[_0x5e57d6(0x347)],'icon':'PieChartIcon'},{'label':'sheets-chart-ui.chartTypes.area','value':_0xca8a9a[_0x5e57d6(0x410)],'icon':_0x5e57d6(0xf4)},{'label':_0x5e57d6(0x304),'value':_0xca8a9a[_0x5e57d6(0x330)],'icon':_0x5e57d6(0xf4)},{'label':_0x5e57d6(0x301),'value':_0xca8a9a[_0x5e57d6(0x13e)],'icon':_0x5e57d6(0xf4)},{'label':_0x5e57d6(0x102),'value':_0xca8a9a['Radar'],'icon':_0x5e57d6(0x1f5)},{'label':_0x5e57d6(0x21a),'value':_0xca8a9a[_0x5e57d6(0x1b2)],'icon':_0x5e57d6(0x123)},{'label':_0x5e57d6(0x39a),'value':_0xca8a9a[_0x5e57d6(0x29f)],'icon':_0x5e57d6(0x15e)},{'label':'sheets-chart-ui.chartTypes.wordCloud','value':_0xca8a9a[_0x5e57d6(0x187)],'icon':'CloudIcon'},{'label':_0x5e57d6(0x402),'value':_0xca8a9a[_0x5e57d6(0x39f)],'icon':'FunnelIcon'},{'label':_0x5e57d6(0x210),'value':_0xca8a9a['Bubble'],'icon':_0x5e57d6(0x432)},{'label':_0x5e57d6(0x116),'value':_0xca8a9a[_0x5e57d6(0x153)],'icon':_0x5e57d6(0x2d1)},{'label':'sheets-chart-ui.chartTypes.waterfall','value':_0xca8a9a[_0x5e57d6(0xf6)],'icon':_0x5e57d6(0xf7)},{'label':'sheets-chart-ui.chartTypes.pareto','value':_0xca8a9a['Pareto'],'icon':_0x5e57d6(0x123)},{'label':_0x5e57d6(0x39b),'value':_0xca8a9a[_0x5e57d6(0x1d5)],'icon':_0x5e57d6(0x19b)},{'label':_0x5e57d6(0x4d5),'value':_0xca8a9a[_0x5e57d6(0x177)],'icon':_0x5e57d6(0x4a8)},{'label':_0x5e57d6(0x449),'value':_0xca8a9a[_0x5e57d6(0x20a)],'icon':_0x5e57d6(0x411)}];function ri(){return ni;}const ii=(_0x5712c5,_0x2aa8ce)=>{const _0xa9600a=_0x5e57d6;if(_0x2aa8ce[_0xa9600a(0x407)]===0x1&&_0x2aa8ce[0x0]===_0xa9600a(0x191))return _0x5712c5;if(_0x2aa8ce[_0xa9600a(0x407)]>0x1){let _0x339ae2=new Set();for(let _0x44adb7 of _0x2aa8ce)_0x339ae2['add'](Number(_0x44adb7));return _0x5712c5['filter'](_0x49e449=>_0x339ae2['has'](_0x49e449[_0xa9600a(0x3fd)]));}return[];};function ai(_0x516012){const _0x42ff45=_0x5e57d6;let _0x25ac2f=_0x516012['get'](_0x1a9126),_0x2808ba=_0x50505(_0x516012),_0xc1eed4=ii(ri()['concat'](),_0x2808ba);return{'id':$r['id'],'type':_0x5c22b3[_0x42ff45(0x4c9)],'selections':_0xc1eed4,'icon':_0x42ff45(0x490),'tooltip':_0x42ff45(0x41e),'activated$':_0x2e1e9e(_0x25ac2f,!0x1,()=>new _0x34f121(_0x4093c5=>{const _0x5e34ba=_0x42ff45;_0x4093c5[_0x5e34ba(0x415)](!0x1);})),'hidden$':_0x1a6630(_0x516012,_0x3829a7['UNIVER_SHEET']),'disabled$':_0x124846(_0x516012)};}const oi={[_0x272824[_0x5e57d6(0x1bd)]]:{[$r['id']]:{'order':0x4,'menuItemFactory':ai}},[_0x4092b0[_0x5e57d6(0x478)]]:{[qr]:{'order':0x6,[_0x491713[_0x5e57d6(0x436)]]:{[Ur['id']]:{'order':0x0,'menuItemFactory':Yr},[Wr['id']]:{'order':0x1,'menuItemFactory':Xr},[Gr['id']]:{'order':0x2,'menuItemFactory':Zr},[Kr['id']]:{'order':0x3,'menuItemFactory':Qr}}}}};function si(_0x3d2a){const _0x29c17b=_0x5e57d6;_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x228),_0x21937f=>_0x21937f['context$'][_0x29c17b(0x1ea)](_0x44d876(_0x34865b=>_0x34865b[_0x29c17b(0x228)]))),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x3ea),_0x108875=>({'set'(_0x50f3c4){const _0x3f2aae=_0x29c17b;let _0x5383aa={};_0x50f3c4===_0xca8a9a[_0x3f2aae(0xc8)]&&(_0x5383aa['pie']={'doughnutHole':null}),_0x3d2a[_0x3f2aae(0x27e)]({'chartModelId':_0x108875['id'],'chartType':_0x50f3c4,'style':_0x5383aa});},'get'(){return _0x108875['chartType$'];}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x17b),_0x3cad0a=>({'set'(_0xe8dfb9){const _0x21f0b3=_0x29c17b;_0xe8dfb9&&_0x3d2a[_0x21f0b3(0x20c)]({'chartModelId':_0x3cad0a['id'],'range':_0xe8dfb9});},'get'(){const _0x173635=_0x29c17b;let _0x488cc8=_0x3d2a[_0x173635(0x1dc)](_0x3cad0a['id']);if(_0x488cc8)return _0x488cc8[_0x173635(0x517)];}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x38c),_0x5dc063=>({'set'(_0x4f726f){const _0x2d441c=_0x29c17b;typeof _0x4f726f=='number'&&_0x3d2a[_0x2d441c(0x27e)]({'chartModelId':_0x5dc063['id'],'context':{'categoryIndex':_0x4f726f}});},'get'(){const _0x5b9dff=_0x29c17b;return _0x5dc063[_0x5b9dff(0x2f1)][_0x5b9dff(0x1ea)](_0x44d876(_0x28c151=>_0x28c151[_0x5b9dff(0x38c)]),_0x4f45b8());}})),_0x3d2a['registerViewState']('categoryType',_0x361871=>_0x361871[_0x29c17b(0x2f1)][_0x29c17b(0x1ea)](_0x44d876(_0xa1380e=>_0xa1380e[_0x29c17b(0x1d0)]),_0x4f45b8())),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x3cc),_0x265171=>{const _0x8f5beb=_0x29c17b;var _0x547547;let _0x34e596=(_0x547547=_0x3d2a[_0x8f5beb(0x1dc)](_0x265171['id']))==null?void 0x0:_0x547547[_0x8f5beb(0x517)];return _0x34e596?_0x265171[_0x8f5beb(0x2f1)][_0x8f5beb(0x1ea)](_0x2fd0c0(_0x34e596),_0x44d876(([_0x46696a,_0x180fdb])=>{const _0x4b5d4f=_0x8f5beb;let {categoryResourceIndexes:_0xc0d114,headers:_0x3f6eaa}=_0x46696a,_0xe77298=(_0xc0d114||[])[_0x4b5d4f(0x34b)]((_0x8369df,_0x13d999)=>(_0x8369df||0x0)-(_0x13d999||0x0));return!_0xe77298||Array[_0x4b5d4f(0x303)](_0x180fdb)?[]:_0xe77298[_0x4b5d4f(0x290)](_0x45edaa=>({'label':(_0x3f6eaa==null?void 0x0:_0x3f6eaa[_0x45edaa])||_0x3d2a['t'](_0x4b5d4f(0x257),''+(_0x45edaa+0x1)),'value':String(_0x45edaa)}));})):_0x265171[_0x8f5beb(0x2f1)][_0x8f5beb(0x1ea)](_0x44d876(()=>[]));}),_0x3d2a[_0x29c17b(0x128)]('categoryList',_0x31272f=>{const _0x49ad2f=_0x29c17b;var _0x444e2e;let _0x3ca173=(_0x444e2e=_0x3d2a['getDataSource'](_0x31272f['id']))==null?void 0x0:_0x444e2e[_0x49ad2f(0x517)];return _0x3ca173?_0x31272f[_0x49ad2f(0x2f1)][_0x49ad2f(0x1ea)](_0x2fd0c0(_0x3ca173),_0x44d876(([_0x4cfe7e,_0x3144f0])=>{const _0x32e10f=_0x49ad2f;let {categoryResourceIndexes:_0x4bc833,seriesResourceIndexes:_0x534358,headers:_0x531727}=_0x4cfe7e,_0x5874ba=_0x4bc833==null?void 0x0:_0x4bc833[_0x32e10f(0x14e)](_0x534358||[])[_0x32e10f(0x34b)]((_0x356941,_0x48e658)=>(_0x356941||0x0)-(_0x48e658||0x0));return!_0x5874ba||Array['isArray'](_0x3144f0)?[]:_0x5874ba[_0x32e10f(0x290)](_0x11def8=>({'label':(_0x531727==null?void 0x0:_0x531727[_0x11def8])||_0x3d2a['t'](_0x32e10f(0x257),''+(_0x11def8+0x1)),'value':String(_0x11def8)}));})):_0x31272f[_0x49ad2f(0x2f1)]['pipe'](_0x44d876(()=>[]));}),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x13b),_0x1bc8d9=>({'set'(_0x19aba9){const _0x26719=_0x29c17b;_0x3d2a[_0x26719(0x27e)]({'chartModelId':_0x1bc8d9['id'],'context':{'seriesIndexes':_0x19aba9}});},'get'(){const _0x3ce5d3=_0x29c17b;return _0x1bc8d9[_0x3ce5d3(0x2f1)][_0x3ce5d3(0x1ea)](_0x44d876(_0x33c357=>{let {seriesIndexes:_0x1ba2b9=[]}=_0x33c357;return _0x1ba2b9;}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x16c),_0xccda01=>({'set'(_0x32f657){const _0x41def1=_0x29c17b;_0x3d2a[_0x41def1(0x27e)]({'chartModelId':_0xccda01['id'],'style':{'trendlines':_0x32f657}});},'get'(){const _0x20f5d1=_0x29c17b;return _0xccda01[_0x20f5d1(0x138)][_0x20f5d1(0x1ea)](_0x44d876(_0xf045be=>_0xf045be[_0x20f5d1(0x350)]));}})),_0x3d2a[_0x29c17b(0x128)]('seriesList',_0x500134=>{const _0x1a355d=_0x29c17b;var _0x4a32c9;let _0x54a5c1=(_0x4a32c9=_0x3d2a[_0x1a355d(0x1dc)](_0x500134['id']))==null?void 0x0:_0x4a32c9[_0x1a355d(0x517)];return _0x54a5c1?_0x500134['context$']['pipe'](_0x2fd0c0(_0x54a5c1),_0x44d876(([_0xb93591,_0x268669])=>{const _0x4f6abf=_0x1a355d;let {seriesIndexes:_0x79c599=[],headers:_0x1db426}=_0xb93591;return Array['isArray'](_0x268669)?[]:_0x79c599[_0x4f6abf(0x290)](_0x4a7781=>({'label':(_0x1db426==null?void 0x0:_0x1db426[_0x4a7781])||_0x3d2a['t']('sheets-chart-ui.seriesDefaultName',''+_0x4a7781),'value':String(_0x4a7781)}));})):_0x500134[_0x1a355d(0x2f1)]['pipe'](_0x44d876(()=>[]));}),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x3b1),_0x3f8d44=>{const _0x238a16=_0x29c17b;var _0xf000ae;let _0x1688a8=(_0xf000ae=_0x3d2a[_0x238a16(0x1dc)](_0x3f8d44['id']))==null?void 0x0:_0xf000ae[_0x238a16(0x517)];return _0x1688a8?_0x3f8d44[_0x238a16(0x2f1)]['pipe'](_0x2fd0c0(_0x1688a8),_0x44d876(([_0x2c6ae6,_0x3da44a])=>{const _0x373019=_0x238a16;let {seriesResourceIndexes:_0x52b515=[],headers:_0x1e483d}=_0x2c6ae6;if(Array['isArray'](_0x3da44a))return[];let _0x1ab1c0=new Map();return _0x52b515[_0x373019(0x290)](_0xe7c645=>{const _0x42e999=_0x373019;let _0x24ad35=(_0x1e483d==null?void 0x0:_0x1e483d[_0xe7c645])||_0x3d2a['t']('sheets-chart-ui.seriesDefaultName',''+_0xe7c645);return _0x1ab1c0[_0x42e999(0x298)](_0x24ad35)?_0x1ab1c0[_0x42e999(0x197)](_0x24ad35,_0x1ab1c0['get'](_0x24ad35)+0x1):_0x1ab1c0['set'](_0x24ad35,0x0),{'label':(_0x1ab1c0[_0x42e999(0x298)](_0x24ad35)&&_0x1ab1c0[_0x42e999(0x1cc)](_0x24ad35)>0x0?_0x24ad35+'\x20'+_0x1ab1c0[_0x42e999(0x1cc)](_0x24ad35):_0x24ad35)||_0x3d2a['t'](_0x42e999(0xde),''+_0xe7c645),'value':String(_0xe7c645)};});})):_0x3f8d44['context$'][_0x238a16(0x1ea)](_0x44d876(()=>[]));}),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x171),_0x38e510=>({'set'(_0x3d6e37){const _0x3bbad4=_0x29c17b;_0x3d2a[_0x3bbad4(0x27e)]({'chartModelId':_0x38e510['id'],'dataAggregation':{'aggregate':_0x3d6e37}});},'get'(){const _0x2e9f5a=_0x29c17b;return _0x38e510[_0x2e9f5a(0x2d4)][_0x2e9f5a(0x1ea)](_0x44d876(_0x1a6cf7=>_0x1a6cf7[_0x2e9f5a(0x171)]||!0x1),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x4f9),_0x2fd0ea=>({'set'(_0x5f91c5){const _0x468249=_0x29c17b;var _0x503714;let _0x322190=(_0x503714=_0x3d2a[_0x468249(0x1dc)](_0x2fd0ea['id']))==null?void 0x0:_0x503714['getRangeInfo']();if(_0x322190){let _0x250f8f={..._0x322190,'isRowDirection':_0x5f91c5===_0x30bac8[_0x468249(0x1c0)]};_0x3d2a[_0x468249(0x27e)]({'chartModelId':_0x2fd0ea['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x3d2a['executeChartUpdateSourceConfig']({'chartModelId':_0x2fd0ea['id'],'range':_0x250f8f});}},'get'(){const _0x3760b0=_0x29c17b;var _0x4e4b93;return(_0x4e4b93=_0x3d2a[_0x3760b0(0x1dc)](_0x2fd0ea['id']))==null?void 0x0:_0x4e4b93[_0x3760b0(0x517)]['pipe'](_0x44d876(_0x596986=>_0x596986[_0x3760b0(0x47f)]?_0x30bac8[_0x3760b0(0x1c0)]:_0x30bac8[_0x3760b0(0x507)]),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)]('gradientFill',_0x15d02c=>({'set'(_0x4d1ebe){const _0x371db2=_0x29c17b;_0x3d2a[_0x371db2(0x27e)]({'chartModelId':_0x15d02c['id'],'style':{'gradientFill':_0x4d1ebe}});},'get'(){const _0x510154=_0x29c17b;return _0x15d02c[_0x510154(0x138)]['pipe'](_0x44d876(_0x17ac80=>_0x17ac80['gradientFill']),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)]('indicator',_0x44b3e3=>({'set'(_0x32fe35){const _0x425a72=_0x29c17b;_0x3d2a[_0x425a72(0x27e)]({'chartModelId':_0x44b3e3['id'],'style':{'tooltip':_0x32fe35}});},'get'(){const _0x172b83=_0x29c17b;return _0x44b3e3[_0x172b83(0x138)]['pipe'](_0x44d876(_0xfb675b=>_0xfb675b[_0x172b83(0x4fb)]),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x222),_0x2de472=>({'set'(_0x1482ce){const _0x247838=_0x29c17b;let {context:_0x4d6e6a}=_0x2de472,_0x5797ee=_0x40794d=>{const _0x3ec0e3=_0x9d8e;var _0x450124;return((_0x450124=_0x4d6e6a[_0x3ec0e3(0x4e5)])==null?void 0x0:_0x450124['indexOf'](_0x40794d))!==-0x1;};if(_0x1482ce){var _0x5e39d0;let _0x2e4e34=(_0x5e39d0=_0x4d6e6a[_0x247838(0x22a)])==null?void 0x0:_0x5e39d0[0x0];if(_0x2e4e34===void 0x0)return;let _0x2844bc={'categoryIndex':_0x2e4e34,'categoryType':_0x1bc961[_0x247838(0x196)]};if(_0x5797ee(_0x2e4e34)){var _0x24f218;_0x2844bc['seriesIndexes']=(_0x24f218=_0x4d6e6a[_0x247838(0x22a)])==null?void 0x0:_0x24f218['filter'](_0x27b9f8=>_0x27b9f8!==_0x2e4e34);}_0x3d2a[_0x247838(0x27e)]({'chartModelId':_0x2de472['id'],'context':_0x2844bc});}else{if(_0x4d6e6a['categoryIndex']===void 0x0)return;let _0x63b74e={'categoryIndex':void 0x0,'categoryType':void 0x0};_0x5797ee(_0x4d6e6a[_0x247838(0x38c)])&&(_0x63b74e['seriesIndexes']=[_0x4d6e6a[_0x247838(0x38c)]][_0x247838(0x14e)](_0x4d6e6a[_0x247838(0x22a)]||[])),_0x3d2a[_0x247838(0x27e)]({'chartModelId':_0x2de472['id'],'context':_0x63b74e});}},'get'(){const _0x5b216e=_0x29c17b;return _0x2de472[_0x5b216e(0x2f1)][_0x5b216e(0x1ea)](_0x44d876(_0x1d096=>{const _0x7a228d=_0x5b216e;var _0x4fc00c;return _0x1d096[_0x7a228d(0x38c)]===void 0x0?!0x1:!!((_0x4fc00c=_0x1d096[_0x7a228d(0x4e5)])!=null&&_0x4fc00c[_0x7a228d(0x4cf)](_0x1d096[_0x7a228d(0x38c)]));}));}})),_0x3d2a[_0x29c17b(0x128)]('backgroundColor',_0x19a497=>({'set'(_0x27e4c9){const _0x5b1544=_0x29c17b;_0x3d2a[_0x5b1544(0x27e)]({'chartModelId':_0x19a497['id'],'style':{'backgroundColor':_0x27e4c9==null?null:_0x27e4c9}});},'get'(){const _0x349c1c=_0x29c17b;return _0x19a497[_0x349c1c(0x138)][_0x349c1c(0x1ea)](_0x44d876(_0x4808aa=>_0x4808aa==null?void 0x0:_0x4808aa['backgroundColor']),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x4dc),_0x3f0752=>({'set'(_0x25bf9d){const _0x30cb37=_0x29c17b;_0x3d2a[_0x30cb37(0x27e)]({'chartModelId':_0x3f0752['id'],'style':{'borderColor':_0x25bf9d==null?null:_0x25bf9d}}),_0x3d2a['setBorder'](_0x3f0752['id'],_0x25bf9d);},'get'(){const _0x30047a=_0x29c17b;return _0x3f0752[_0x30047a(0x138)]['pipe'](_0x44d876(_0x3634aa=>_0x3634aa['borderColor']),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)]('fontSize',_0xce98ff=>({'set'(_0x286214){const _0x458776=_0x29c17b;_0x3d2a[_0x458776(0x27e)]({'chartModelId':_0xce98ff['id'],'style':{'fontSize':_0x286214}});},'get'(){const _0x31ded9=_0x29c17b;return _0xce98ff['style$']['pipe'](_0x44d876(_0x3a8a66=>_0x3a8a66[_0x31ded9(0x4d7)]),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x3e6),_0x575fc3=>({'set'(_0x4802de){const _0x537877=_0x29c17b;_0x3d2a[_0x537877(0x27e)]({'chartModelId':_0x575fc3['id'],'style':{'titleFontSize':_0x4802de}});},'get'(){const _0x3a2c7c=_0x29c17b;return _0x575fc3[_0x3a2c7c(0x138)][_0x3a2c7c(0x1ea)](_0x44d876(_0x47a36c=>_0x47a36c['titleFontSize']),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x44a),_0x33ffb7=>({'set'(_0x3ae11d){const _0x1e6621=_0x29c17b;_0x3d2a[_0x1e6621(0x27e)]({'chartModelId':_0x33ffb7['id'],'style':{'titles':_0x3ae11d}});},'get'(){const _0x4caa17=_0x29c17b;return _0x33ffb7[_0x4caa17(0x138)][_0x4caa17(0x1ea)](_0x44d876(_0x50cd09=>_0x50cd09[_0x4caa17(0x44a)]));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x3b7),_0x1ba5d7=>({'set'(_0x4489c3){const _0x1fa39e=_0x29c17b;let _0x6fb80=Object[_0x1fa39e(0x4e6)](_0x4489c3),_0x840d88=_0x1cc2c1[_0x1fa39e(0x274)](_0x1ba5d7[_0x1fa39e(0x47a)][_0x1fa39e(0x16a)]||{}),_0x3a5ce4={};for(let _0x59486d in _0x840d88)if(Object[_0x1fa39e(0x131)][_0x1fa39e(0x37c)]['call'](_0x840d88,_0x59486d)){let _0x1ee37c=_0x840d88[_0x59486d];if(!_0x1ee37c)continue;for(let _0x11d4db of _0x6fb80)Object['prototype'][_0x1fa39e(0x37c)][_0x1fa39e(0x278)](_0x1ee37c,_0x11d4db)&&(_0x3a5ce4[_0x59486d]={[_0x11d4db]:null});}let _0x4939c6={'allSeriesStyle':_0x4489c3,'seriesStyleMap':_0x3a5ce4},_0x374fb7=_0x1ba5d7[_0x1fa39e(0x3ea)],_0x21e3da=new Set(_0x6fb80);_0x374fb7===_0xca8a9a[_0x1fa39e(0x17f)]&&(_0x21e3da[_0x1fa39e(0x298)](_0x1fa39e(0x381))||_0x21e3da[_0x1fa39e(0x298)]('\x22fillOpacity\x22'))&&(_0x4939c6['radar']={'fill':!0x0}),_0x3d2a[_0x1fa39e(0x27e)]({'chartModelId':_0x1ba5d7['id'],'style':_0x4939c6});},'get'(){const _0x1188ee=_0x29c17b;return _0x1ba5d7[_0x1188ee(0x138)][_0x1188ee(0x1ea)](_0x44d876(_0x504212=>_0x504212[_0x1188ee(0x3b7)]));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x16a),_0x508848=>({'set'(_0x8a38bc){const _0x3974f6=_0x29c17b;_0x3d2a[_0x3974f6(0x27e)]({'chartModelId':_0x508848['id'],'style':{'seriesStyleMap':_0x8a38bc}});},'get'(){const _0x446629=_0x29c17b;return _0x508848[_0x446629(0x138)][_0x446629(0x1ea)](_0x44d876(_0x43d8f5=>_0x43d8f5[_0x446629(0x16a)]));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x4d6),_0x17e7a3=>({'set'(_0x470f1c){const _0x159262=_0x29c17b;_0x3d2a[_0x159262(0x27e)]({'chartModelId':_0x17e7a3['id'],'style':{'legend':_0x470f1c}});},'get'(){const _0x14743c=_0x29c17b;return _0x17e7a3[_0x14743c(0x138)][_0x14743c(0x1ea)](_0x44d876(_0x13f49c=>_0x13f49c['legend']));}})),_0x3d2a['registerViewState'](_0x29c17b(0x48b),_0x542d71=>({'set'(_0x5ae157){const _0xf10ae1=_0x29c17b;_0x3d2a[_0xf10ae1(0x27e)]({'chartModelId':_0x542d71['id'],'style':{'xAxis':_0x5ae157}});},'get'(){const _0x2dbe91=_0x29c17b;return _0x542d71[_0x2dbe91(0x138)]['pipe'](_0x44d876(_0x37e153=>_0x37e153[_0x2dbe91(0x524)]));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x42a),_0x517185=>({'set'(_0x43a179){const _0x4de5a1=_0x29c17b;_0x3d2a[_0x4de5a1(0x27e)]({'chartModelId':_0x517185['id'],'style':{'yAxis':_0x43a179}});},'get'(){const _0x5b68f9=_0x29c17b;return _0x517185['style$'][_0x5b68f9(0x1ea)](_0x44d876(_0x448b9b=>_0x448b9b[_0x5b68f9(0x321)]));}})),_0x3d2a['registerViewState'](_0x29c17b(0x167),_0x1d0a20=>({'set'(_0x3e0452){const _0x32ad79=_0x29c17b;_0x3d2a[_0x32ad79(0x27e)]({'chartModelId':_0x1d0a20['id'],'style':{'rightYAxis':_0x3e0452}});},'get'(){const _0x45f255=_0x29c17b;return _0x1d0a20['style$']['pipe'](_0x44d876(_0x13c4fc=>_0x13c4fc[_0x45f255(0x256)]));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x1c1),_0x2f7a05=>_0x2f7a05[_0x29c17b(0x138)][_0x29c17b(0x1ea)](_0x2fd0c0(_0x3d2a['direction$']),_0x44d876(([,_0x469db9])=>_0x2f7a05[_0x29c17b(0x430)](_0x469db9)[_0x29c17b(0x38b)]))),_0x3d2a[_0x29c17b(0x128)]('areaLineStyle',_0x4cdbd5=>({'set'(_0x5688c7){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x4cdbd5['id'],'style':{'area':{'lineStyle':_0x5688c7==null?void 0x0:_0x5688c7}}});},'get'(){const _0x4740f7=_0x29c17b;return _0x4cdbd5['style$'][_0x4740f7(0x1ea)](_0x44d876(_0x11f5ff=>{const _0x30a321=_0x4740f7;var _0x508a55;return(_0x508a55=_0x11f5ff[_0x30a321(0x4d4)])==null?void 0x0:_0x508a55[_0x30a321(0x2b6)];}));}})),_0x3d2a[_0x29c17b(0x128)]('pieLabelStyle',_0x5beed9=>({'set'(_0x2cc1d0){const _0x728d47=_0x29c17b;_0x3d2a[_0x728d47(0x27e)]({'chartModelId':_0x5beed9['id'],'style':{'pie':{'labelStyle':_0x2cc1d0==null?void 0x0:_0x2cc1d0}}});},'get'(){const _0x342139=_0x29c17b;return _0x5beed9[_0x342139(0x138)][_0x342139(0x1ea)](_0x44d876(_0x3b1694=>{const _0x4197fc=_0x342139;var _0x23e86d;return(_0x23e86d=_0x3b1694[_0x4197fc(0x446)])==null?void 0x0:_0x23e86d[_0x4197fc(0x412)];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x463),_0x37ef5a=>({'set'(_0x40dbc5){const _0x5e805e=_0x29c17b;_0x3d2a[_0x5e805e(0x27e)]({'chartModelId':_0x37ef5a['id'],'style':{'wordCloud':{'shape':_0x40dbc5==null?void 0x0:_0x40dbc5,'maskImage':_0x40dbc5==null?void 0x0:_0x40dbc5}}});},'get'(){const _0xe25f88=_0x29c17b;return _0x37ef5a['style$'][_0xe25f88(0x1ea)](_0x44d876(_0x3ec0e9=>{const _0x8ca69b=_0xe25f88;var _0x1718c0;return(_0x1718c0=_0x3ec0e9[_0x8ca69b(0x1a9)])==null?void 0x0:_0x1718c0[_0x8ca69b(0x186)];}));}})),_0x3d2a[_0x29c17b(0x128)]('wordCloudMask',_0x29bfff=>({'set'(_0x12aa3a){const _0x4f4c88=_0x29c17b;_0x3d2a[_0x4f4c88(0x27e)]({'chartModelId':_0x29bfff['id'],'style':{'wordCloud':{'maskImage':_0x12aa3a==null?void 0x0:_0x12aa3a,'shape':void 0x0}}});},'get'(){const _0x256189=_0x29c17b;return _0x29bfff[_0x256189(0x138)][_0x256189(0x1ea)](_0x44d876(_0x13245c=>{var _0xeb1b90;return(_0xeb1b90=_0x13245c['wordCloud'])==null?void 0x0:_0xeb1b90['maskImage'];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x4a1),_0xfafaaa=>({'set'(_0x2c0fbf){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0xfafaaa['id'],'style':{'wordCloud':{'repeat':_0x2c0fbf==null?void 0x0:_0x2c0fbf}}});},'get'(){const _0x5c2947=_0x29c17b;return _0xfafaaa[_0x5c2947(0x138)]['pipe'](_0x44d876(_0x530a9d=>{var _0x1832ea;return(_0x1832ea=_0x530a9d['wordCloud'])==null?void 0x0:_0x1832ea['repeat'];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x20d),_0x1f8cfb=>({'set'(_0x4f8f6a){const _0x3f4d0c=_0x29c17b;_0x3d2a[_0x3f4d0c(0x27e)]({'chartModelId':_0x1f8cfb['id'],'style':{'funnel':{'gap':_0x4f8f6a==null?void 0x0:_0x4f8f6a}}});},'get'(){const _0x157d76=_0x29c17b;return _0x1f8cfb[_0x157d76(0x138)]['pipe'](_0x44d876(_0x4a6bc4=>{const _0xe5a345=_0x157d76;var _0x2e42dd;return(_0x2e42dd=_0x4a6bc4[_0xe5a345(0x1f3)])==null?void 0x0:_0x2e42dd[_0xe5a345(0x2da)];}));}})),_0x3d2a[_0x29c17b(0x128)]('funnelUseAbsValue',_0x9e6233=>({'set'(_0x56481b){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x9e6233['id'],'style':{'funnel':{'useAbsValue':_0x56481b==null?void 0x0:_0x56481b}}});},'get'(){const _0x2626a6=_0x29c17b;return _0x9e6233['style$'][_0x2626a6(0x1ea)](_0x44d876(_0x8e39d6=>{var _0x4ed61a;return(_0x4ed61a=_0x8e39d6['funnel'])==null?void 0x0:_0x4ed61a['useAbsValue'];}));}})),_0x3d2a[_0x29c17b(0x128)]('padAngleStyle',_0x50840c=>({'set'(_0x40bf0f){const _0x4a414d=_0x29c17b;_0x3d2a[_0x4a414d(0x27e)]({'chartModelId':_0x50840c['id'],'style':{'pie':{'hasPaddingAngle':!!_0x40bf0f}}});},'get'(){const _0x525bb1=_0x29c17b;return _0x50840c[_0x525bb1(0x138)][_0x525bb1(0x1ea)](_0x44d876(_0x2c3ab4=>{const _0x247c24=_0x525bb1;var _0x470b74;return(_0x470b74=_0x2c3ab4['pie'])==null?void 0x0:_0x470b74[_0x247c24(0x3af)];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x293),_0x441347=>({'set'(_0x44d6f6){const _0x35f254=_0x29c17b;_0x3d2a[_0x35f254(0x27e)]({'chartModelId':_0x441347['id'],'style':{'pie':{'isHalfPie':!!_0x44d6f6}}});},'get'(){const _0x5474ba=_0x29c17b;return _0x441347[_0x5474ba(0x138)][_0x5474ba(0x1ea)](_0x44d876(_0x3fb9af=>{const _0x4a7fe4=_0x5474ba;var _0x3bcb33;return(_0x3bcb33=_0x3fb9af['pie'])==null?void 0x0:_0x3bcb33[_0x4a7fe4(0x293)];}));}})),_0x3d2a[_0x29c17b(0x128)]('valueScale',_0x453b08=>({'set'(_0x188150){const _0xb4883b=_0x29c17b;_0x3d2a[_0xb4883b(0x27e)]({'chartModelId':_0x453b08['id'],'style':{'pie':{'valueScale':Number(_0x188150)}}});},'get'(){return _0x453b08['style$']['pipe'](_0x44d876(_0x34ebca=>{const _0x3be679=_0x9d8e;var _0x3d40e3;return(_0x3d40e3=_0x34ebca[_0x3be679(0x446)])==null?void 0x0:_0x3d40e3[_0x3be679(0x3ec)];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x249),_0x455758=>({'set'(_0x4837e3){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x455758['id'],'style':{'pie':{'digitalFixed':Number(_0x4837e3)}}});},'get'(){return _0x455758['style$']['pipe'](_0x44d876(_0x4c7d4c=>{const _0x9e50a3=_0x9d8e;var _0x31e3f6;return(_0x31e3f6=_0x4c7d4c[_0x9e50a3(0x446)])==null?void 0x0:_0x31e3f6[_0x9e50a3(0x249)];}));}})),_0x3d2a[_0x29c17b(0x128)]('valueSuffix',_0x3b2859=>({'set'(_0x3defad){const _0x58a31a=_0x29c17b;_0x3d2a[_0x58a31a(0x27e)]({'chartModelId':_0x3b2859['id'],'style':{'pie':{'valueSuffix':String(_0x3defad)}}});},'get'(){const _0x3a514c=_0x29c17b;return _0x3b2859[_0x3a514c(0x138)][_0x3a514c(0x1ea)](_0x44d876(_0x41b44c=>{const _0x5f525f=_0x3a514c;var _0x26ed55;return(_0x26ed55=_0x41b44c[_0x5f525f(0x446)])==null?void 0x0:_0x26ed55['valueSuffix'];}));}})),_0x3d2a[_0x29c17b(0x128)]('isRosePie',_0x597a48=>({'set'(_0x16ca7e){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x597a48['id'],'style':{'pie':{'rosePie':!!_0x16ca7e}}});},'get'(){const _0x2aa445=_0x29c17b;return _0x597a48[_0x2aa445(0x138)][_0x2aa445(0x1ea)](_0x44d876(_0x2db714=>{const _0x45b837=_0x2aa445;var _0x49d6fe;return(_0x49d6fe=_0x2db714[_0x45b837(0x446)])==null?void 0x0:_0x49d6fe[_0x45b837(0x420)];}));}})),_0x3d2a['registerViewState'](_0x29c17b(0x3b4),_0x141654=>({'set'(_0x1d10d9){const _0x25cf1b=_0x29c17b;_0x3d2a[_0x25cf1b(0x27e)]({'chartModelId':_0x141654['id'],'style':{'pie':{'showLabelLine':!!_0x1d10d9}}});},'get'(){const _0x4f732c=_0x29c17b;return _0x141654[_0x4f732c(0x138)]['pipe'](_0x44d876(_0x349299=>{const _0x2f9035=_0x4f732c;var _0x5576b3;return(_0x5576b3=_0x349299[_0x2f9035(0x446)])==null?void 0x0:_0x5576b3[_0x2f9035(0x3b4)];}));}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0xef),_0x89c0de=>({'set'(_0x24ac56){const _0x2d66fc=_0x29c17b;_0x3d2a[_0x2d66fc(0x27e)]({'chartModelId':_0x89c0de['id'],'chartType':_0x24ac56?_0xca8a9a[_0x2d66fc(0x347)]:_0xca8a9a['Pie'],'style':{'pie':{'doughnutHole':_0x24ac56}}});},'get'(){const _0x127692=_0x29c17b;return _0x89c0de[_0x127692(0x138)][_0x127692(0x1ea)](_0x44d876(_0xab812f=>{const _0x19888c=_0x127692;var _0x571d2a;return(_0x571d2a=_0xab812f[_0x19888c(0x446)])==null?void 0x0:_0x571d2a[_0x19888c(0xef)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x178),_0x27e825=>({'set'(_0x43a2cc){const _0x5a8245=_0x29c17b;_0x3d2a[_0x5a8245(0x27e)]({'chartModelId':_0x27e825['id'],'style':{'pie':{'borderColor':_0x43a2cc}}});},'get'(){return _0x27e825['style$']['pipe'](_0x44d876(_0x74e71a=>{const _0x51df99=_0x9d8e;var _0x48dc01;return(_0x48dc01=_0x74e71a['pie'])==null?void 0x0:_0x48dc01[_0x51df99(0x4dc)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x2ab),_0x31eb80=>({'set'(_0x425050){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x31eb80['id'],'style':{'radar':{'shape':_0x425050}}});},'get'(){const _0x4811bb=_0x29c17b;return _0x31eb80['style$'][_0x4811bb(0x1ea)](_0x44d876(_0x178bda=>{const _0x40a613=_0x4811bb;var _0x449e38;return(_0x449e38=_0x178bda['radar'])==null?void 0x0:_0x449e38[_0x40a613(0x186)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x201),_0x4bfa90=>({'set'(_0x3a598e){const _0x55fba4=_0x29c17b;_0x3d2a[_0x55fba4(0x27e)]({'chartModelId':_0x4bfa90['id'],'style':{'radar':{'fill':_0x3a598e}}});},'get'(){const _0x55f502=_0x29c17b;return _0x4bfa90['style$'][_0x55f502(0x1ea)](_0x44d876(_0x1c3c4d=>{const _0x3f739c=_0x55f502;var _0xbf774;return(_0xbf774=_0x1c3c4d[_0x3f739c(0x3b6)])==null?void 0x0:_0xbf774[_0x3f739c(0x233)];}),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x457),_0x7f3017=>({'set'(_0x56f276){const _0xb091fb=_0x29c17b;_0x3d2a[_0xb091fb(0x27e)]({'chartModelId':_0x7f3017['id'],'style':{'invalidValueType':_0x56f276}});},'get'(){const _0x3dcaa9=_0x29c17b;return _0x7f3017['style$'][_0x3dcaa9(0x1ea)](_0x44d876(_0x32f68c=>_0x32f68c['invalidValueType']),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x409),_0x621260=>_0x621260[_0x29c17b(0x2bf)][_0x29c17b(0x1ea)](_0x44d876(_0x5b9611=>{const _0x3a1b6f=_0x29c17b;var _0x28b49d,_0x444939;let _0x17f0d8=_0x5b9611==null||(_0x28b49d=_0x5b9611[_0x3a1b6f(0x32e)])==null?void 0x0:_0x28b49d['items'];return((_0x5b9611==null||(_0x444939=_0x5b9611[_0x3a1b6f(0x36a)][0x0])==null?void 0x0:_0x444939[_0x3a1b6f(0x494)])||[])['map']((_0x45eb1e,_0x1a545e)=>({'label':_0x17f0d8&&_0x17f0d8[_0x1a545e]!==void 0x0?_0x17f0d8[_0x1a545e][_0x3a1b6f(0x467)]:_0x3d2a['t'](_0x3a1b6f(0x291),''+(_0x1a545e+0x1)),'value':''+_0x1a545e}));}))),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x357),_0x1f05a4=>({'set'(_0x467d4e){const _0x21330a=_0x29c17b;let _0x33fe42={'theme':_0x467d4e},_0x2244d3=_0x1f05a4[_0x21330a(0x47a)][_0x21330a(0x3b7)];if((_0x2244d3==null?void 0x0:_0x2244d3[_0x21330a(0x381)])!==void 0x0){var _0x57921c,_0xebac39,_0x25c0dd;_0x33fe42[_0x21330a(0x3b7)]={'color':null},(_0x2244d3==null||(_0x57921c=_0x2244d3[_0x21330a(0x130)])==null||(_0x57921c=_0x57921c[_0x21330a(0x25f)])==null?void 0x0:_0x57921c[_0x21330a(0x381)])!==void 0x0&&(_0x2244d3['waterfall'][_0x21330a(0x25f)]['color']=null),(_0x2244d3==null||(_0xebac39=_0x2244d3['waterfall'])==null||(_0xebac39=_0xebac39[_0x21330a(0x43e)])==null?void 0x0:_0xebac39[_0x21330a(0x381)])!==void 0x0&&(_0x2244d3[_0x21330a(0x130)][_0x21330a(0x43e)][_0x21330a(0x381)]=null),(_0x2244d3==null||(_0x25c0dd=_0x2244d3[_0x21330a(0x130)])==null||(_0x25c0dd=_0x25c0dd[_0x21330a(0x2d2)])==null?void 0x0:_0x25c0dd[_0x21330a(0x381)])!==void 0x0&&(_0x2244d3[_0x21330a(0x130)][_0x21330a(0x2d2)]['color']=null);}let _0x1d19b7=_0x1f05a4[_0x21330a(0x47a)]['seriesStyleMap']||{};for(let _0x3df335 in _0x1d19b7){var _0x453f14,_0x190f34,_0x13c289;_0x1d19b7[_0x3df335][_0x21330a(0x381)]!==void 0x0&&(_0x33fe42[_0x21330a(0x16a)]={..._0x33fe42['seriesStyleMap'],[_0x3df335]:{'color':null}}),((_0x453f14=_0x1d19b7[_0x3df335])==null||(_0x453f14=_0x453f14['waterfall'])==null||(_0x453f14=_0x453f14[_0x21330a(0x25f)])==null?void 0x0:_0x453f14[_0x21330a(0x381)])!==void 0x0&&(_0x1d19b7[_0x3df335][_0x21330a(0x130)][_0x21330a(0x25f)][_0x21330a(0x381)]=null),((_0x190f34=_0x1d19b7[_0x3df335])==null||(_0x190f34=_0x190f34[_0x21330a(0x130)])==null||(_0x190f34=_0x190f34['negative'])==null?void 0x0:_0x190f34['color'])!==void 0x0&&(_0x1d19b7[_0x3df335]['waterfall'][_0x21330a(0x43e)]['color']=null),((_0x13c289=_0x1d19b7[_0x3df335])==null||(_0x13c289=_0x13c289['waterfall'])==null||(_0x13c289=_0x13c289[_0x21330a(0x2d2)])==null?void 0x0:_0x13c289[_0x21330a(0x381)])!==void 0x0&&(_0x1d19b7[_0x3df335]['waterfall'][_0x21330a(0x2d2)][_0x21330a(0x381)]=null);}_0x3d2a[_0x21330a(0x27e)]({'chartModelId':_0x1f05a4['id'],'style':_0x33fe42});},'get'(){const _0x57d2fe=_0x29c17b;return _0x1f05a4[_0x57d2fe(0x138)][_0x57d2fe(0x1ea)](_0x44d876(_0x342428=>_0x342428[_0x57d2fe(0x1fa)]||'default'));}})),_0x3d2a['registerViewState'](_0x29c17b(0x3f6),_0x567df5=>({'set'(_0x1a12bc){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x567df5['id'],'style':{'titles':{'titlePosition':_0x1a12bc}}});},'get'(){const _0x507469=_0x29c17b;return _0x567df5[_0x507469(0x138)]['pipe'](_0x44d876(_0x3871f2=>{const _0x2585fd=_0x507469;var _0x1e83c0;return((_0x1e83c0=_0x3871f2[_0x2585fd(0x44a)])==null?void 0x0:_0x1e83c0[_0x2585fd(0x3f6)])||void 0x0;}));}})),_0x3d2a['registerViewState'](_0x3bfc44['BubbleSizeIndex'],_0x478e0d=>({'set'(_0x4b4510){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x478e0d['id'],'context':{'bubbleSizeIndex':_0x4b4510}});},'get'(){const _0x2b29a5=_0x29c17b;return _0x478e0d[_0x2b29a5(0x2f1)][_0x2b29a5(0x1ea)](_0x44d876(_0xb59a24=>_0xb59a24[_0x2b29a5(0x1b6)]||void 0x0));}})),_0x3d2a[_0x29c17b(0x128)](_0x3bfc44[_0x29c17b(0x32d)],_0x57cb57=>({'set'(_0x443ca1){const _0x2a48a8=_0x29c17b;_0x3d2a[_0x2a48a8(0x27e)]({'chartModelId':_0x57cb57['id'],'context':{'scatterXIndex':_0x443ca1}});},'get'(){const _0x24e390=_0x29c17b;return _0x57cb57[_0x24e390(0x2f1)][_0x24e390(0x1ea)](_0x44d876(_0x2b6e0c=>{const _0x3f092c=_0x24e390;var _0x28ff21;return(_0x28ff21=_0x2b6e0c[_0x3f092c(0x434)])==null?void 0x0:_0x28ff21;}));}})),_0x3d2a[_0x29c17b(0x128)](_0x3bfc44['ScatterYIndex'],_0x12c23d=>({'set'(_0x803d3f){const _0x1d6dfd=_0x29c17b;_0x3d2a[_0x1d6dfd(0x27e)]({'chartModelId':_0x12c23d['id'],'context':{'scatterYIndex':_0x803d3f}});},'get'(){const _0x4d8e83=_0x29c17b;return _0x12c23d[_0x4d8e83(0x2f1)]['pipe'](_0x44d876(_0x275940=>{const _0x2cc992=_0x4d8e83;var _0x10eb5f;return(_0x10eb5f=_0x275940[_0x2cc992(0x424)])==null?void 0x0:_0x10eb5f;}));}})),_0x3d2a[_0x29c17b(0x128)](_0x3bfc44['ScatterLabelIndex'],_0x1b7fdc=>({'set'(_0x508745){const _0xdbdb64=_0x29c17b;_0x3d2a[_0xdbdb64(0x27e)]({'chartModelId':_0x1b7fdc['id'],'context':{'scatterLabelIndex':_0x508745}});},'get'(){const _0x3de1ea=_0x29c17b;return _0x1b7fdc[_0x3de1ea(0x2f1)][_0x3de1ea(0x1ea)](_0x44d876(_0x5e00c0=>{const _0x428309=_0x3de1ea;var _0x55648a;return(_0x55648a=_0x5e00c0[_0x428309(0x3e7)])==null?void 0x0:_0x55648a;}));}})),_0x3d2a[_0x29c17b(0x128)](_0x3bfc44['BubbleSeriesIndex'],_0x16da93=>({'set'(_0x1f6305){const _0x599334=_0x29c17b;_0x3d2a[_0x599334(0x27e)]({'chartModelId':_0x16da93['id'],'context':{'bubbleSeriesIndex':_0x1f6305}});},'get'(){const _0x5681be=_0x29c17b;return _0x16da93['context$'][_0x5681be(0x1ea)](_0x44d876(_0x4bd7b4=>{var _0x372858;return(_0x372858=_0x4bd7b4['bubbleSeriesIndex'])==null?void 0x0:_0x372858;}));}})),_0x3d2a['registerViewState']('relationLayout',_0x10aac2=>({'set'(_0x11571f){const _0x35e296=_0x29c17b;_0x3d2a[_0x35e296(0x27e)]({'chartModelId':_0x10aac2['id'],'style':{'relation':{'layout':_0x11571f}}});},'get'(){return _0x10aac2['style$']['pipe'](_0x44d876(_0x1faa83=>{const _0x401178=_0x9d8e;var _0x1ebd94;return(_0x1ebd94=_0x1faa83[_0x401178(0xb9)])==null?void 0x0:_0x1ebd94[_0x401178(0x24a)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x4a4),_0x5ce09f=>({'set'(_0x3ab0d0){const _0x38ba5f=_0x29c17b;_0x3d2a[_0x38ba5f(0x27e)]({'chartModelId':_0x5ce09f['id'],'style':{'relation':{'useValueAsSymbolSize':!!_0x3ab0d0}}});},'get'(){const _0x149b95=_0x29c17b;return _0x5ce09f[_0x149b95(0x138)][_0x149b95(0x1ea)](_0x44d876(_0xb01479=>{const _0x4ce635=_0x149b95;var _0x357922;return(_0x357922=_0xb01479[_0x4ce635(0xb9)])==null?void 0x0:_0x357922[_0x4ce635(0x4a4)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x2f4),_0x1137a9=>({'set'(_0x1afb45){const _0x55eb43=_0x29c17b;_0x3d2a[_0x55eb43(0x27e)]({'chartModelId':_0x1137a9['id'],'style':{'relation':{'force':_0x1afb45}}});},'get'(){const _0x53b526=_0x29c17b;return _0x1137a9[_0x53b526(0x138)]['pipe'](_0x44d876(_0x1c81f5=>{const _0x566fe0=_0x53b526;var _0x3d1a10;return(_0x3d1a10=_0x1c81f5[_0x566fe0(0xb9)])==null?void 0x0:_0x3d1a10['force'];}),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x461),_0x2ba549=>({'set'(_0x214b80){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x2ba549['id'],'style':{'relation':{'circular':{'rotateLabel':!!_0x214b80}}}});},'get'(){return _0x2ba549['style$']['pipe'](_0x44d876(_0x35011f=>{const _0x3752f5=_0x9d8e;var _0x2fc43b;return(_0x2fc43b=_0x35011f[_0x3752f5(0xb9)])==null||(_0x2fc43b=_0x2fc43b[_0x3752f5(0x343)])==null?void 0x0:_0x2fc43b[_0x3752f5(0x461)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x3eb),_0x21aa24=>({'set'(_0x3ab253){const _0x4fef99=_0x29c17b;_0x3d2a[_0x4fef99(0x27e)]({'chartModelId':_0x21aa24['id'],'style':{'relation':{'nodeShape':_0x3ab253}}});},'get'(){const _0x3a99a1=_0x29c17b;return _0x21aa24[_0x3a99a1(0x138)][_0x3a99a1(0x1ea)](_0x44d876(_0x37a777=>{const _0x2cb07f=_0x3a99a1;var _0x5a8353;return(_0x5a8353=_0x37a777['relation'])==null?void 0x0:_0x5a8353[_0x2cb07f(0x2cc)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x332),_0x9f197d=>({'set'(_0x27d278){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x9f197d['id'],'style':{'relation':{'useEmphasis':!!_0x27d278}}});},'get'(){const _0x176727=_0x29c17b;return _0x9f197d[_0x176727(0x138)][_0x176727(0x1ea)](_0x44d876(_0x250e0c=>{const _0x10bf50=_0x176727;var _0x4de352;return(_0x4de352=_0x250e0c[_0x10bf50(0xb9)])==null?void 0x0:_0x4de352['useEmphasis'];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x1d3),_0x4960d4=>({'set'(_0xc2f88c){const _0x58f495=_0x29c17b;_0x3d2a[_0x58f495(0x27e)]({'chartModelId':_0x4960d4['id'],'context':{'useDateAxis':!!_0xc2f88c}});},'get'(){const _0x112414=_0x29c17b;return _0x4960d4['context$'][_0x112414(0x1ea)](_0x44d876(_0x1dd9d5=>_0x1dd9d5[_0x112414(0x1d3)]),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x1bc),_0x50432=>({'set'(_0x32c457){_0x3d2a['executeChartUpdateConfig']({'chartModelId':_0x50432['id'],'style':{'waterfall':{'stackType':_0x32c457}}});},'get'(){return _0x50432['style$']['pipe'](_0x44d876(_0x42da8c=>{const _0x276a29=_0x9d8e;var _0x4e05a4;return(_0x4e05a4=_0x42da8c['waterfall'])==null?void 0x0:_0x4e05a4[_0x276a29(0x3a9)];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)](_0x29c17b(0x50c),_0x134f73=>({'set'(_0xdfcf09){const _0xeae3a7=_0x29c17b;_0x3d2a[_0xeae3a7(0x27e)]({'chartModelId':_0x134f73['id'],'style':{'waterfall':{'useSubtotal':_0xdfcf09}}});},'get'(){const _0x325a85=_0x29c17b;return _0x134f73[_0x325a85(0x138)][_0x325a85(0x1ea)](_0x44d876(_0x569c97=>{const _0x3f009f=_0x325a85;var _0x2c72f7;return(_0x2c72f7=_0x569c97[_0x3f009f(0x130)])==null?void 0x0:_0x2c72f7[_0x3f009f(0x50c)];}),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x119),_0x3195fb=>({'set'(_0x5ae7b0){const _0x193b92=_0x29c17b;_0x3d2a[_0x193b92(0x27e)]({'chartModelId':_0x3195fb['id'],'style':{'pareto':_0x5ae7b0}});},'get'(){const _0x38aea8=_0x29c17b;return _0x3195fb['style$'][_0x38aea8(0x1ea)](_0x44d876(_0x432020=>_0x432020[_0x38aea8(0x382)]),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x2ec),_0x2f5617=>_0x2f5617[_0x29c17b(0x2bf)]['pipe'](_0x44d876(_0x27447e=>{const _0x571634=_0x29c17b;var _0x333a63;let _0x57d843=_0x27447e==null||(_0x333a63=_0x27447e[_0x571634(0x32e)])==null?void 0x0:_0x333a63[_0x571634(0x494)],_0x5698cb=new Map();return _0x27447e==null||_0x27447e[_0x571634(0x36a)][0x0][_0x571634(0x494)][_0x571634(0x260)]((_0x5c0eb8,_0x267eba)=>{const _0x3a5c5a=_0x571634;let _0x3eb1f7=_0x57d843?String(_0x57d843[_0x267eba][_0x3a5c5a(0x3fd)]):_0x3d2a['t'](_0x3a5c5a(0x291),''+(_0x267eba+0x1));_0x5698cb['has'](_0x3eb1f7)||_0x5698cb[_0x3a5c5a(0x197)](_0x3eb1f7,_0x5c0eb8[_0x3a5c5a(0x3fd)]);}),Array[_0x571634(0x4e7)](_0x5698cb[_0x571634(0x2eb)]())[_0x571634(0x4d2)](_0x5172ac=>_0x5172ac[0x1]>0x0)['sort']((_0x38551a,_0x454f7f)=>_0x454f7f[0x1]-_0x38551a[0x1])['map']((_0x453498,_0x3ebb7b)=>({'label':_0x453498[0x0]||_0x3d2a['t'](_0x571634(0x291),''+(_0x3ebb7b+0x1)),'value':''+_0x3ebb7b}));}))),_0x3d2a['registerViewState'](_0x29c17b(0x3fa),_0x446d49=>({'set'(_0x200bce){const _0x53211d=_0x29c17b;_0x3d2a[_0x53211d(0x27e)]({'chartModelId':_0x446d49['id'],'style':{'heatmap':{'visualMapType':_0x200bce}}});},'get'(){const _0x542f4e=_0x29c17b;return _0x446d49['style$'][_0x542f4e(0x1ea)](_0x44d876(_0x36f8cd=>{const _0x1e8c41=_0x542f4e;var _0x493e7d;return(_0x493e7d=_0x36f8cd[_0x1e8c41(0x1b4)])==null?void 0x0:_0x493e7d['visualMapType'];}),_0x4f45b8());}})),_0x3d2a[_0x29c17b(0x128)]('heatmapMax',_0x5ef111=>({'set'(_0x4d211c){const _0xe1449a=_0x29c17b;_0x3d2a[_0xe1449a(0x27e)]({'chartModelId':_0x5ef111['id'],'style':{'heatmap':{'max':_0x4d211c}}});},'get'(){const _0xc9bf08=_0x29c17b;return _0x5ef111[_0xc9bf08(0x138)]['pipe'](_0x44d876(_0x399cb6=>{const _0x5d824d=_0xc9bf08;var _0x4e7ae4;return(_0x4e7ae4=_0x399cb6[_0x5d824d(0x1b4)])==null?void 0x0:_0x4e7ae4[_0x5d824d(0x465)];}),_0x4f45b8());}})),_0x3d2a['registerViewState'](_0x29c17b(0x3bc),_0xaf7fc9=>({'set'(_0x50b531){const _0x5ef698=_0x29c17b;_0x3d2a[_0x5ef698(0x27e)]({'chartModelId':_0xaf7fc9['id'],'style':{'heatmap':{'min':_0x50b531}}});},'get'(){const _0x1aa9dc=_0x29c17b;return _0xaf7fc9[_0x1aa9dc(0x138)][_0x1aa9dc(0x1ea)](_0x44d876(_0x49d0b7=>{const _0x5dfa96=_0x1aa9dc;var _0x5156ab;return(_0x5156ab=_0x49d0b7[_0x5dfa96(0x1b4)])==null?void 0x0:_0x5156ab[_0x5dfa96(0x1fb)];}),_0x4f45b8());}}));}const ci=_0x390056(_0x5e57d6(0x2dc));let li=class extends _0x5ae490{constructor(_0x66bfe7,_0x48c611,_0x362180,_0x538c49,_0x340613,_0x105a27){const _0x1de0c1=_0x5e57d6;super(),this[_0x1de0c1(0x279)]=_0x66bfe7,this[_0x1de0c1(0x51f)]=_0x48c611,this[_0x1de0c1(0x205)]=_0x362180,this[_0x1de0c1(0x3d1)]=_0x538c49,this[_0x1de0c1(0x139)]=_0x340613,this[_0x1de0c1(0x2d9)]=_0x105a27,Z(this,_0x1de0c1(0x440),new Map()),Z(this,_0x1de0c1(0x497),!0x1),Z(this,'_activeEditChart$',new _0x576421(null)),Z(this,_0x1de0c1(0x3e0),new _0x576421(null)),Z(this,_0x1de0c1(0x42f),new _0x576421(null)),Z(this,_0x1de0c1(0x414),this[_0x1de0c1(0x3a0)]['asObservable']()),Z(this,_0x1de0c1(0x342),this['_selectedElement$'][_0x1de0c1(0x2dd)]()),Z(this,_0x1de0c1(0xe7),this[_0x1de0c1(0x42f)]['asObservable']()),si(this);}get[_0x5e57d6(0x51e)](){const _0x4b5699=_0x5e57d6;return this[_0x4b5699(0x279)][_0x4b5699(0x51e)];}get['activeChartModel$'](){const _0x196d02=_0x5e57d6;return this['_chartModelService'][_0x196d02(0x398)];}get[_0x5e57d6(0x4da)](){const _0xf7913b=_0x5e57d6;return this[_0xf7913b(0x497)];}get['activeEditChart'](){const _0x57a2db=_0x5e57d6;return this[_0x57a2db(0x3a0)][_0x57a2db(0x3cd)]();}get[_0x5e57d6(0x262)](){const _0x393e74=_0x5e57d6;return this[_0x393e74(0x3d1)][_0x393e74(0x262)];}[_0x5e57d6(0x1f6)](_0x457d5f){const _0x1b239e=_0x5e57d6;this[_0x1b239e(0x497)]=_0x457d5f;}['setActiveEditChart'](_0x1d4b2d){const _0x5851ec=_0x5e57d6;this[_0x5851ec(0x3a0)][_0x5851ec(0x3cd)]()!==_0x1d4b2d&&this['_activeEditChart$'][_0x5851ec(0x415)](_0x1d4b2d);}[_0x5e57d6(0x277)](_0x217d37){const _0x5e35be=_0x5e57d6;return this[_0x5e35be(0x3a0)][_0x5e35be(0x3cd)]()===_0x217d37;}[_0x5e57d6(0x19c)](_0x48307a){const _0x1e941b=_0x5e57d6;this[_0x1e941b(0x3e0)]['next'](_0x48307a);}[_0x5e57d6(0x2bc)](_0x536a94,_0x324380){const _0x2bcdf8=_0x5e57d6;this[_0x2bcdf8(0x42f)][_0x2bcdf8(0x415)]({'chartId':_0x536a94,'route':_0x324380});}[_0x5e57d6(0x144)](){const _0x48ce24=_0x5e57d6;this[_0x48ce24(0x42f)]['next'](null);}[_0x5e57d6(0x1dc)](_0x6647bc){const _0x3da43d=_0x5e57d6;return this[_0x3da43d(0x51f)][_0x3da43d(0x17a)](_0x6647bc);}['registerViewState'](_0x3234cf,_0x5a7b25){const _0x49a852=_0x5e57d6;this[_0x49a852(0x440)][_0x49a852(0x197)](_0x3234cf,_0x5a7b25);}[_0x5e57d6(0x433)](_0x2e69d1,_0x58be71=this[_0x5e57d6(0x279)][_0x5e57d6(0x51e)]){const _0x181564=_0x5e57d6;if(!_0x58be71)return;let _0x41658e=this[_0x181564(0x440)][_0x181564(0x1cc)](_0x2e69d1);if(_0x41658e)return _0x41658e(_0x58be71);}[_0x5e57d6(0x27e)](_0x446466){const _0x496e1b=_0x5e57d6;var _0x4555b8,_0x38e5f8;this[_0x496e1b(0x205)][_0x496e1b(0xbd)](_0xe54a4f['id'],{..._0x446466,'unitId':(_0x4555b8=(_0x38e5f8=this[_0x496e1b(0x2d9)][_0x496e1b(0x18a)]())==null?void 0x0:_0x38e5f8[_0x496e1b(0x3e9)]())==null?'':_0x4555b8});}[_0x5e57d6(0x20c)](_0x3dbca1){const _0x5c52fe=_0x5e57d6;var _0x2c784b,_0x32b410;this[_0x5c52fe(0x205)][_0x5c52fe(0xbd)](_0x2a11fc['id'],{..._0x3dbca1,'unitId':(_0x2c784b=(_0x32b410=this[_0x5c52fe(0x2d9)][_0x5c52fe(0x18a)]())==null?void 0x0:_0x32b410[_0x5c52fe(0x3e9)]())==null?'':_0x2c784b});}[_0x5e57d6(0x44e)](_0x4a70cc){const _0x1b6402=_0x5e57d6;let {_viewState:_0x37593a}=this;_0x37593a['has'](_0x4a70cc)&&_0x37593a[_0x1b6402(0x45e)](_0x4a70cc);}[_0x5e57d6(0x242)](_0x506d82,_0x2bffc3){const _0x2caa1c=_0x5e57d6;this[_0x2caa1c(0x139)][_0x2caa1c(0x300)](_0x506d82,{'stroke':_0x2bffc3});}['t'](..._0x1587bc){const _0x25891a=_0x5e57d6;return this[_0x25891a(0x3d1)]['t'](..._0x1587bc);}[_0x5e57d6(0x466)](){const _0xa86282=_0x5e57d6;super[_0xa86282(0x466)](),this[_0xa86282(0x440)][_0xa86282(0x240)](),this[_0xa86282(0x3a0)][_0xa86282(0x2ef)](),this['_selectedElement$'][_0xa86282(0x2ef)](),this['_panelRoute$'][_0xa86282(0x2ef)]();}};li=Nr([Q(0x0,_0x188178(_0x412f7b)),Q(0x1,_0x188178(_0x5500b1)),Q(0x2,_0x536519),Q(0x3,_0x188178(_0x4a3b9f)),Q(0x4,_0x188178(Ir)),Q(0x5,_0x1a9126)],li);function $(_0x4b61e0,_0x320846){const _0x45967e=_0x5e57d6;let _0x303ffd=_0x1d4ad7(ci),_0xf7731f=_0x209200(_0x303ffd['activeChartModel$'],_0x303ffd[_0x45967e(0x51e)]),_0x886d01=_0x5f47d8(()=>_0x303ffd['getViewState'](_0x4b61e0,_0xf7731f),[_0xf7731f,_0x4b61e0,_0x303ffd]);return[_0x209200(_0x5f47d8(()=>_0x886d01 instanceof _0x34f121?_0x886d01:_0x886d01==null?void 0x0:_0x886d01[_0x45967e(0x1cc)](),[_0x886d01]),_0x320846),_0x2d0a51(_0x5977a1=>{const _0x42283f=_0x45967e;if(!(_0x886d01 instanceof _0x34f121)){var _0x1dc8f0;_0x886d01==null||(_0x1dc8f0=_0x886d01[_0x42283f(0x197)])==null||_0x1dc8f0[_0x42283f(0x278)](_0x886d01,_0x5977a1);}},[_0x886d01])];}const ui={'label':_0x5e57d6(0x38f),'value':'__default__'},di={[_0xca8a9a[_0x5e57d6(0x189)]]:_0x286043(_0xd67be4,{}),[_0xca8a9a[_0x5e57d6(0x507)]]:_0x286043(_0x172169,{}),[_0xca8a9a[_0x5e57d6(0x24b)]]:_0x286043(_0x30942f,{}),[_0xca8a9a[_0x5e57d6(0x4f8)]]:_0x286043(_0x30942f,{}),[_0xca8a9a[_0x5e57d6(0x438)]]:_0x286043(_0x30942f,{}),[_0xca8a9a['Pie']]:_0x286043(_0x294b65,{}),[_0xca8a9a[_0x5e57d6(0x347)]]:_0x286043(_0x294b65,{}),[_0xca8a9a[_0x5e57d6(0x410)]]:_0x286043(_0x586424,{}),[_0xca8a9a['AreaStacked']]:_0x286043(_0x586424,{}),[_0xca8a9a[_0x5e57d6(0x13e)]]:_0x286043(_0x586424,{}),[_0xca8a9a[_0x5e57d6(0x17f)]]:_0x286043(_0xe89405,{}),[_0xca8a9a[_0x5e57d6(0x1b2)]]:_0x286043(_0x56b670,{}),[_0xca8a9a[_0x5e57d6(0x29f)]]:_0x286043(_0x143b8e,{}),[_0xca8a9a[_0x5e57d6(0x4fe)]]:void 0x0,[_0xca8a9a[_0x5e57d6(0x4e1)]]:_0x286043(_0x172169,{}),[_0xca8a9a[_0x5e57d6(0x133)]]:_0x286043(_0x172169,{}),[_0xca8a9a[_0x5e57d6(0x187)]]:_0x286043(_0x2c2ea8,{}),[_0xca8a9a[_0x5e57d6(0x39f)]]:_0x286043(_0x13f77f,{}),[_0xca8a9a['Bubble']]:_0x286043(_0x361cd2,{}),[_0xca8a9a[_0x5e57d6(0x153)]]:_0x286043(_0x165513,{}),[_0xca8a9a[_0x5e57d6(0xf6)]]:_0x286043(_0x3bcb0d,{}),[_0xca8a9a[_0x5e57d6(0x268)]]:_0x286043(_0x56b670,{}),[_0xca8a9a[_0x5e57d6(0x1d5)]]:_0x286043(_0x48d801,{}),[_0xca8a9a['Heatmap']]:_0x286043(_0x127af7,{}),[_0xca8a9a[_0x5e57d6(0x20a)]]:_0x286043(_0xbb7994,{})},fi=ni[_0x5e57d6(0x4d2)](_0x2c4956=>[_0xca8a9a[_0x5e57d6(0x189)],_0xca8a9a[_0x5e57d6(0x507)],_0xca8a9a['Area']][_0x5e57d6(0x290)](_0x3e14fd=>String(_0x3e14fd))[_0x5e57d6(0x4cf)](String(_0x2c4956[_0x5e57d6(0x3fd)])))['map'](({label:_0x30345b,value:_0x4ba737})=>({'label':_0x30345b,'value':String(_0x4ba737)})),pi=[{'label':_0x5e57d6(0x46e),'value':_0x5e57d6(0x43d)},{'label':_0x5e57d6(0x265),'value':_0x5e57d6(0x258)},{'label':_0x5e57d6(0x33d),'value':'yAxisTitle'},{'label':'sheets-chart-ui.titles.rightYAxisTitle','value':'rightYAxisTitle'}];function mi(){const _0x445a8c=_0x5e57d6;return{'label':'sheets-chart-ui.allSeries','value':_0x489146[_0x445a8c(0x447)]};}const hi=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0]['map'](_0x271121=>({'label':_0x271121*0x64+'%','value':String(_0x271121)})),gi=[{'label':_0x5e57d6(0x3f8),'value':_0xfdedb0[_0x5e57d6(0x17e)]},{'label':_0x5e57d6(0x226),'value':_0xfdedb0[_0x5e57d6(0x468)]},{'label':_0x5e57d6(0x36b),'value':_0xfdedb0[_0x5e57d6(0x2a4)]}],_i=[{'label':_0x5e57d6(0x38d),'value':_0x3fc086[_0x5e57d6(0x508)]},{'label':_0x5e57d6(0x503),'value':_0x3fc086[_0x5e57d6(0x221)]},{'label':_0x5e57d6(0x2a7),'value':_0x3fc086['Triangle']},{'label':_0x5e57d6(0x36c),'value':_0x3fc086[_0x5e57d6(0x2ae)]},{'label':_0x5e57d6(0x459),'value':_0x3fc086['Rect']},{'label':_0x5e57d6(0x148),'value':_0x3fc086[_0x5e57d6(0x4a0)]},{'label':_0x5e57d6(0x50a),'value':_0x3fc086[_0x5e57d6(0x266)]},{'label':_0x5e57d6(0x471),'value':_0x3fc086[_0x5e57d6(0x1a0)]},{'label':'sheets-chart-ui.shape.none','value':_0x3fc086[_0x5e57d6(0x4fe)]},{'label':'sheets-chart-ui.shape.emptyCircle','value':_0x3fc086[_0x5e57d6(0x24e)]},{'label':'sheets-chart-ui.shape.emptySquare','value':_0x3fc086[_0x5e57d6(0x115)]},{'label':_0x5e57d6(0x25b),'value':_0x3fc086['EmptyTriangle']},{'label':_0x5e57d6(0x406),'value':_0x3fc086[_0x5e57d6(0x47d)]},{'label':_0x5e57d6(0x50f),'value':_0x3fc086[_0x5e57d6(0x3ff)]},{'label':_0x5e57d6(0x339),'value':_0x3fc086[_0x5e57d6(0x4b9)]},{'label':_0x5e57d6(0x4cb),'value':_0x3fc086[_0x5e57d6(0x42e)]},{'label':'sheets-chart-ui.shape.emptyArrow','value':_0x3fc086[_0x5e57d6(0xe5)]}],vi=[0x0,0x2,0x5,0x7,0xa,0xe][_0x5e57d6(0x290)](_0x1855b9=>({'label':_0x1855b9+'px','value':String(_0x1855b9)})),yi=[0x0,0x1,0x2,0x4,0x8][_0x5e57d6(0x290)](_0x2c85aa=>({'label':_0x2c85aa+'px','value':String(_0x2c85aa)})),bi=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x5e57d6(0x290)](_0x57f632=>({'label':_0x57f632+'°','value':String(_0x57f632)})),xi=[{'label':'sheets-chart-ui.trendline.linear','value':_0x73f7cd[_0x5e57d6(0x2d3)]},{'label':'sheets-chart-ui.trendline.exp','value':_0x73f7cd['exp']},{'label':_0x5e57d6(0x1de),'value':_0x73f7cd['log']},{'label':_0x5e57d6(0x3f4),'value':_0x73f7cd[_0x5e57d6(0x12e)]},{'label':_0x5e57d6(0x3e1),'value':_0x73f7cd[_0x5e57d6(0x4c7)]},{'label':_0x5e57d6(0x360),'value':_0x73f7cd[_0x5e57d6(0x22c)]}],Si={[_0x73f7cd[_0x5e57d6(0x2d3)]]:_0x286043(_0x11604b,{}),[_0x73f7cd[_0x5e57d6(0x15f)]]:_0x286043(_0x39ffed,{}),[_0x73f7cd[_0x5e57d6(0x4f6)]]:_0x286043(_0x161081,{}),[_0x73f7cd[_0x5e57d6(0x12e)]]:_0x286043(_0x3a92fb,{}),[_0x73f7cd[_0x5e57d6(0x4c7)]]:_0x286043(_0x14d2cc,{}),[_0x73f7cd[_0x5e57d6(0x22c)]]:_0x286043(_0xa4de6b,{})},Ci=[0x2,0x3,0x4,0x5,0x6][_0x5e57d6(0x290)](_0x4ab432=>({'label':''+_0x4ab432,'value':String(_0x4ab432)})),wi=[_0xef6810['Auto'],_0xef6810[_0x5e57d6(0x39e)],_0xef6810[_0x5e57d6(0x41b)],_0xef6810[_0x5e57d6(0x4d3)],_0xef6810['Top'],_0xef6810[_0x5e57d6(0x2fb)]][_0x5e57d6(0x290)](_0x2fd288=>({'label':'sheets-chart-ui.positionType.'+_0x2fd288,'value':_0x2fd288})),Ti=[_0x1bb21b[_0x5e57d6(0x39e)],_0x1bb21b[_0x5e57d6(0x40b)]][_0x5e57d6(0x290)](_0x2f9e9f=>({'label':_0x5e57d6(0x2df)+_0x2f9e9f,'value':_0x2f9e9f})),Ei=[_0x250370['Top'],_0x250370[_0x5e57d6(0x2fb)],_0x250370[_0x5e57d6(0x41b)],_0x250370[_0x5e57d6(0x4d3)],_0x250370[_0x5e57d6(0x3a8)]][_0x5e57d6(0x290)](_0x3fc830=>({'label':_0x5e57d6(0x2df)+_0x3fc830,'value':_0x3fc830})),Di=[_0x172403[_0x5e57d6(0x4c6)],_0x172403[_0x5e57d6(0x237)],_0x172403[_0x5e57d6(0x455)]]['map'](_0x28a62b=>({'label':_0x5e57d6(0x2c8)+_0x28a62b,'value':_0x28a62b})),Oi=['continuous',_0x5e57d6(0x1df)]['map'](_0x55bd38=>({'label':_0x5e57d6(0x3d9)+_0x55bd38,'value':_0x55bd38})),ki=[_0x1c3b68[_0x5e57d6(0x4fa)],_0x1c3b68[_0x5e57d6(0x2fb)],_0x1c3b68[_0x5e57d6(0x41b)],_0x1c3b68[_0x5e57d6(0x4d3)],_0x1c3b68['Hide']][_0x5e57d6(0x290)](_0x5d4079=>({'label':'sheets-chart-ui.positionType.'+_0x5d4079,'value':_0x5d4079})),Ai=[_0x312ddc['Start'],_0x312ddc[_0x5e57d6(0x1b1)],_0x312ddc[_0x5e57d6(0x276)]]['map'](_0x33284d=>({'label':_0x5e57d6(0x1c5)+_0x33284d,'value':_0x33284d}));[_0x3cee12[_0x5e57d6(0x41b)],_0x3cee12[_0x5e57d6(0x1b1)],_0x3cee12[_0x5e57d6(0x4d3)]][_0x5e57d6(0x290)](_0x4e83ad=>({'label':'sheets-chart-ui.align.'+_0x4e83ad,'value':_0x4e83ad})),[_0x24882f['Top'],_0x24882f['Middle'],_0x24882f[_0x5e57d6(0x2fb)]]['map'](_0x37be3f=>({'label':_0x5e57d6(0xe8)+_0x37be3f,'value':_0x37be3f}));const ji=[{'value':_0x5e57d6(0x524),'label':_0x5e57d6(0x30f)},{'value':_0x5e57d6(0x321),'label':_0x5e57d6(0x239)},{'value':_0x5e57d6(0x256),'label':_0x5e57d6(0x1c3)}],Mi=[0x1,0x2,0x3][_0x5e57d6(0x290)](_0x740175=>({'label':_0x740175+'px','value':String(_0x740175)})),Ni=[{'label':_0x5e57d6(0x324),'value':''},{'label':'sheets-chart-ui.stackType.stack','value':_0x584361[_0x5e57d6(0x390)]},{'label':_0x5e57d6(0x26c),'value':_0x584361['Percent']}],Pi=[{'label':'sheets-chart-ui.lineType.line','value':_0x4fd4ea[_0x5e57d6(0x189)]},{'label':_0x5e57d6(0x19a),'value':_0x4fd4ea['Smooth']},{'label':_0x5e57d6(0x121),'value':_0x4fd4ea[_0x5e57d6(0xfa)]}],Fi=[0x0,0.25,0.5,0.75][_0x5e57d6(0x290)](_0x1d2cf4=>({'label':_0x1d2cf4*0x64+'%','value':String(_0x1d2cf4)})),Ii=[{'label':_0x5e57d6(0x151),'value':_0x2023ae['Polygon']},{'label':_0x5e57d6(0x38d),'value':_0x2023ae[_0x5e57d6(0x508)]}],Li=[{'label':_0x5e57d6(0x1e8),'value':_0x3604fe[_0x5e57d6(0x1a7)]},{'label':_0x5e57d6(0x192),'value':_0x3604fe[_0x5e57d6(0x306)]},{'label':_0x5e57d6(0x46a),'value':_0x3604fe[_0x5e57d6(0x451)]}],Ri=[_0x41401c[_0x5e57d6(0x21e)],_0x41401c[_0x5e57d6(0x10a)],_0x41401c['Value'],_0x41401c[_0x5e57d6(0x16b)]],zi=[{'label':'sheets-chart-ui.category','value':_0x41401c[_0x5e57d6(0x21e)]},{'label':_0x5e57d6(0x20f),'value':_0x41401c[_0x5e57d6(0x10a)]},{'label':_0x5e57d6(0x421),'value':_0x41401c[_0x5e57d6(0x454)]},{'label':_0x5e57d6(0x1ab),'value':_0x41401c[_0x5e57d6(0x16b)]}]['map'](_0x193b4f=>({..._0x193b4f,'value':String(_0x193b4f[_0x5e57d6(0x3fd)])})),Bi=zi[_0x5e57d6(0x4d2)](_0x532404=>_0x532404[_0x5e57d6(0x3fd)]!==String(_0x41401c['SeriesName'])),Vi=[0x6,0xc,0x12,0x18][_0x5e57d6(0x290)](_0xbc768f=>({'label':_0xbc768f+'px','value':String(_0xbc768f)})),Hi=[0x1,0x2,0x4,0x8][_0x5e57d6(0x290)](_0x1a3340=>({'label':_0x1a3340+'px','value':String(_0x1a3340)})),Ui=[{'label':_0x5e57d6(0x181),'value':_0x5e57d6(0x2ba)},{'label':'sheets-chart-ui.relation.circular','value':_0x5e57d6(0x343)},{'label':_0x5e57d6(0x47b),'value':'force'}],Wi=[{'label':_0x5e57d6(0x405),'suffix':'yyyy-MM-dd'},{'label':'1930/08/05','suffix':_0x5e57d6(0x4e2)},{'label':_0x5e57d6(0x3e5),'suffix':_0x5e57d6(0x2a0)},{'label':'08-05','suffix':_0x5e57d6(0x236)},{'label':_0x5e57d6(0x44b),'suffix':_0x5e57d6(0x255)},{'label':_0x5e57d6(0x3da),'suffix':'h:mm:ss'},{'label':_0x5e57d6(0x394),'suffix':_0x5e57d6(0x1d7)},{'label':'下午01:30','suffix':_0x5e57d6(0x166)},{'label':'下午1:30','suffix':_0x5e57d6(0x108)},{'label':_0x5e57d6(0x3b8),'suffix':_0x5e57d6(0x2be)},{'label':_0x5e57d6(0x2f8),'suffix':_0x5e57d6(0x2ca)}],Gi=[{'label':'(1,235)','suffix':_0x5e57d6(0x1dd)},{'label':_0x5e57d6(0x49a),'suffix':_0x5e57d6(0xe0),'color':'red'},{'label':'1,234.56','suffix':_0x5e57d6(0x30b)},{'label':_0x5e57d6(0x4b0),'suffix':_0x5e57d6(0x2e5),'color':_0x5e57d6(0x4f4)},{'label':_0x5e57d6(0x3c9),'suffix':_0x5e57d6(0x3d4)},{'label':'-1,234.56','suffix':_0x5e57d6(0x469),'color':_0x5e57d6(0x4f4)}],Ki=[{'label':_0x2d2735=>_0x2d2735+'1,235','suffix':_0x2059cc=>'\x22'+_0x2059cc+_0x5e57d6(0x214)+_0x2059cc+_0x5e57d6(0x2b9)},{'label':_0x2bed49=>_0x2bed49+_0x5e57d6(0x26e),'suffix':_0x210a68=>'\x22'+_0x210a68+_0x5e57d6(0x417)+_0x210a68+_0x5e57d6(0x2b9),'color':'red'},{'label':_0xb355f=>'('+_0xb355f+_0x5e57d6(0x126),'suffix':_0x437255=>'\x22'+_0x437255+'\x22#,##0.00_);(\x22'+_0x437255+_0x5e57d6(0x464)},{'label':_0x53092e=>'('+_0x53092e+_0x5e57d6(0x126),'suffix':_0x46d960=>'\x22'+_0x46d960+'\x22#,##0.00_);[Red](\x22'+_0x46d960+_0x5e57d6(0x464),'color':_0x5e57d6(0x4f4)},{'label':_0x131d37=>'-'+_0x131d37+_0x5e57d6(0x26e),'suffix':_0x2ca016=>'\x22'+_0x2ca016+'\x22#,##0.00_);-\x22'+_0x2ca016+_0x5e57d6(0x2b9)},{'label':_0x1d2577=>'-'+_0x1d2577+_0x5e57d6(0x26e),'suffix':_0x154d09=>'\x22'+_0x154d09+_0x5e57d6(0x250)+_0x154d09+'\x22#,##0.00','color':_0x5e57d6(0x4f4)}],qi=_0x5e57d6(0x2a2),Ji=_0x5e57d6(0x10c),Yi=[{'label':_0x5e57d6(0x35b),'value':_0x5aeb42[_0x5e57d6(0x327)]},{'label':_0x5e57d6(0x399),'value':_0x5aeb42[_0x5e57d6(0x390)]}],Xi=_0x25def1=>{const _0x3c7d72=_0x5e57d6;let {className:_0x47e1cc}=_0x25def1,_0x2173ca=_0x1d4ad7(_0x4a3b9f),[_0x4388ee,_0x3e6652]=$(_0x3c7d72(0x2ab)),[_0x581228,_0x1f1cde]=$(_0x3c7d72(0x201)),_0x44e651=Ii[_0x3c7d72(0x290)](_0x58b788=>({..._0x58b788,'label':_0x2173ca['t'](_0x58b788[_0x3c7d72(0x467)])}));return _0x5735fc(_0x3c7d72(0x1ee),{'className':_0x47e1cc,'children':[_0x286043(_0x3c7d72(0x1ee),{'children':_0x286043(_0x402cc5,{'value':_0x4388ee==null?_0x489146[_0x3c7d72(0x3b6)][_0x3c7d72(0x186)]:_0x4388ee,'items':_0x44e651,'onChange':_0x3e6652})}),_0x286043(_0x3c7d72(0x1ee),{'className':_0x3c7d72(0x1ca),'children':_0x286043(_0x1326e3,{'checked':!!_0x581228,'onChange':_0x220131=>{_0x1f1cde(!!_0x220131);},'children':_0x2173ca['t'](_0x3c7d72(0xcf))})})]});},Zi=()=>{const _0x487fd0=_0x5e57d6;var _0x19f512,_0x286cc0,_0x458474;let _0x4eb532=_0x1d4ad7(_0x4a3b9f),[_0x4ee048]=$(_0x487fd0(0x124)),[_0x247253]=$('categoryList'),[_0xca62b1]=$(_0x487fd0(0x3b1)),[_0x329d36,_0x5d3501]=$(_0x3bfc44['ScatterXIndex']),[_0x42f5b8,_0x1c80c0]=$(_0x3bfc44[_0x487fd0(0x45d)]),[_0x2aeaca,_0x323afe]=$(_0x3bfc44[_0x487fd0(0x30e)]),[_0x1a88c2,_0x15bdda]=$(_0x3bfc44[_0x487fd0(0x263)]),[_0x3d8053,_0x3366a9]=$(_0x3bfc44[_0x487fd0(0x23e)]),_0x47c237=_0x5b11a7=>{_0x3366a9(_0x5b11a7);};return _0x5735fc(_0x487fd0(0x1ee),{'className':_0x487fd0(0x132),'children':[_0x286043(_0x487fd0(0x1ee),{'className':_0x487fd0(0x29e),'children':_0x4eb532['t'](_0x487fd0(0x397))}),_0x286043(_0x35b928,{'className':_0x487fd0(0x110),'value':typeof _0x2aeaca==_0x487fd0(0x337)?String(_0x2aeaca):'','options':_0x247253||[],'onChange':_0x5075dd=>_0x323afe(Number(_0x5075dd))}),_0x286043(_0x487fd0(0x1ee),{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4eb532['t'](_0x487fd0(0x2c6))}),_0x286043(_0x35b928,{'className':_0x487fd0(0x110),'value':_0x329d36===void 0x0?(_0x19f512=(_0xca62b1||[])[_0x30d0f8['X']])==null?void 0x0:_0x19f512[_0x487fd0(0x3fd)]:String(_0x329d36),'options':_0xca62b1||[],'onChange':_0x40731c=>_0x5d3501(Number(_0x40731c))}),_0x286043('div',{'className':_0x487fd0(0x29e),'children':_0x4eb532['t'](_0x487fd0(0x230))}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x42f5b8===void 0x0?(_0x286cc0=(_0xca62b1||[])[_0x30d0f8['Y']])==null?void 0x0:_0x286cc0['value']:String(_0x42f5b8),'options':_0xca62b1,'onChange':_0x13eec5=>{_0x1c80c0(Number(_0x13eec5));}}),_0x286043(_0x487fd0(0x1ee),{'className':_0x487fd0(0x29e),'children':_0x4eb532['t'](_0x487fd0(0x20f))}),_0x286043(_0x35b928,{'className':_0x487fd0(0x110),'value':_0x1a88c2===void 0x0?'':String(_0x1a88c2),'options':_0x247253,'onChange':_0x257bb1=>{_0x15bdda(Number(_0x257bb1));}}),_0x286043(_0x487fd0(0x1ee),{'className':_0x487fd0(0x29e),'children':_0x4eb532['t']('sheets-chart-ui.bubble.size')}),_0x286043(_0x35b928,{'className':_0x487fd0(0x110),'value':_0x3d8053?String(_0x3d8053):(_0x458474=(_0xca62b1||[])[_0x30d0f8[_0x487fd0(0x204)]])==null?void 0x0:_0x458474[_0x487fd0(0x3fd)],'options':_0x4ee048,'onChange':_0xcd308d=>_0x47c237(Number(_0xcd308d))})]});},Qi=_0x317b8d=>_0x317b8d['getCurrentUnitOfType'](_0x3829a7[_0x5e57d6(0x492)])[_0x5e57d6(0x3e9)](),$i=_0xe51a91=>{const _0x3eb75e=_0x5e57d6;var _0x3d5308;return(_0x3d5308=_0xe51a91['getCurrentUnitOfType'](_0x3829a7['UNIVER_SHEET'])[_0x3eb75e(0x15c)]())==null?void 0x0:_0x3d5308['getSheetId']();},ea=[_0xca8a9a[_0x5e57d6(0x410)],_0xca8a9a[_0x5e57d6(0x24b)]];function ta(_0x56fddc){const _0x52c1b6=_0x5e57d6;return _0x286043(_0xecfe96,{'children':_0x56fddc['map'](_0x51df1f=>_0x286043('div',{'className':_0x52c1b6(0x4d1),'style':{'backgroundColor':_0x51df1f}},_0x51df1f))});}function na(_0x1d77a8,_0x48ee8f){const _0x5ac872=_0x5e57d6;return _0x1d77a8[_0x5ac872(0x290)](_0x158d3e=>({'label':_0x286043(_0x5ac872(0x1ee),{'className':_0x5ac872(0x370),'children':ta(_0x48ee8f[_0x5ac872(0x3b0)](_0x158d3e))}),'value':_0x158d3e}));}const ra=()=>{const _0x317601=_0x5e57d6;var _0x33244c;let _0x2ac1a0=_0x1d4ad7(ci),_0xb9a6a7=_0x1d4ad7(_0x1a9126),_0x13d1ff=_0x1d4ad7(_0x4a3b9f),_0x29f53f=_0x1d4ad7(_0x293d57),_0x274485=_0x29f53f[_0x317601(0x27d)](),_0x4d8d5c=_0x50505(_0x1d4ad7(_0x5c466e)),_0x526522=_0x5f47d8(()=>ii(ni['concat'](),_0x4d8d5c)[_0x317601(0x290)](_0x4e60e6=>({'label':_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x295),'children':[_0x286043('div',{'className':_0x317601(0x521),'children':di==null?void 0x0:di[_0x4e60e6[_0x317601(0x3fd)]]}),_0x286043('div',{'className':_0x317601(0x1c6),'children':_0x13d1ff['t'](_0x4e60e6[_0x317601(0x467)])})]}),'value':String(_0x4e60e6[_0x317601(0x3fd)])})),[_0x13d1ff]),[_0x180802,_0x310832]=_0x41b73e(!0x1);_0x214f89(()=>{const _0x30c44e=_0x317601;_0x2ac1a0[_0x30c44e(0x1f6)](_0x180802);},[_0x180802,_0x2ac1a0]);let _0x2ee2e0=Li[_0x317601(0x290)](_0x3f0783=>({..._0x3f0783,'label':_0x13d1ff['t'](_0x3f0783['label'])})),_0x291724=Ni[_0x317601(0x290)](_0x4c8c3b=>({..._0x4c8c3b,'label':_0x13d1ff['t'](_0x4c8c3b['label'])})),_0x44e970=Pi['map'](_0x5b6387=>({..._0x5b6387,'label':_0x13d1ff['t'](_0x5b6387[_0x317601(0x467)])})),_0xcc0bd6=Yi[_0x317601(0x290)](_0x512532=>({..._0x512532,'label':_0x13d1ff['t'](_0x512532[_0x317601(0x467)])})),_0x30d728=na(_0x274485,_0x29f53f),_0x2452ff=Qi(_0xb9a6a7),_0x1b2123=$i(_0xb9a6a7),_0x2f9e46=_0x1d4ad7(_0x1b2842),[_0x17fb12,_0x2bc763]=$(_0x317601(0x3ea)),[_0x43f240,_0x5852ee]=$('dataRange'),[_0x5ca3d6,_0x52e3dd]=$('areaLineStyle'),[_0xce871d,_0x58cdd7]=$(_0x317601(0x38c)),[_0x586562]=$('categoryType'),[_0x110da6]=$('categoryList'),[_0x21ab0b,_0x2d0517]=$(_0x317601(0x13b)),[_0x58c9aa]=$('seriesResourceList'),[_0x4548d4,_0x4c3527]=$(_0x317601(0x1bc)),[_0x44da6d,_0x342e58]=$(_0x317601(0x50c)),[_0x5a5a10,_0x1f0e5d]=$(_0x317601(0x3db)),[_0x498dc9,_0x2f7a6e]=$(_0x317601(0x3bc)),[_0x35a4f0,_0x4a806f]=$('chartThemeColorType'),[_0x383481,_0x2e4f6a]=$(_0x317601(0x51d)),_0x3641d7=_0x5f47d8(()=>_0x383481===void 0x0?_0x17fb12?_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a[_0x317601(0x410)]):!0x1:_0x383481,[_0x383481,_0x17fb12]),[_0x2ded9e,_0x20c557]=$(_0x317601(0x4f9)),[_0x45ed77,_0x58b1a0]=$('invalidValueType'),[_0x2b2ff3,_0x32a7b6]=$(_0x317601(0x222)),[_0x2d4c53,_0x4fc523]=$('funnelGap'),[_0x301a3d,_0x4c01c8]=$(_0x317601(0x1cd)),_0x5ac284=_0x17fb12&&ea['some'](_0x54e6d0=>_0x17e760[_0x317601(0x21d)](_0x17fb12,_0x54e6d0)),_0x184eb4=_0x17fb12&&[_0xca8a9a[_0x317601(0x410)],_0xca8a9a['Line']][_0x317601(0x484)](_0x379bcb=>_0x17e760[_0x317601(0x21d)](_0x17fb12,_0x379bcb)),_0x2750b6=_0x17fb12&&[_0xca8a9a['Line'],_0xca8a9a[_0x317601(0x17f)],_0xca8a9a[_0x317601(0x187)],_0xca8a9a['Scatter']][_0x317601(0x15b)](_0xd78790=>_0xd78790!==_0x17fb12),_0x349b4a=_0x586562===_0x1bc961[_0x317601(0x118)]||typeof _0xce871d!=_0x317601(0x337),_0x20c437=_0x17fb12&&[_0xca8a9a[_0x317601(0xc8)],_0xca8a9a[_0x317601(0x347)]][_0x317601(0x484)](_0x202166=>_0x17fb12===_0x202166),_0x42b26e=!_0x20c437||_0x20c437&&_0x21ab0b&&(_0x21ab0b==null?void 0x0:_0x21ab0b[_0x317601(0x407)])<0x1,_0x4e392c=_0x17fb12&&_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a[_0x317601(0xf6)]),_0x1086ba=_0x17fb12&&_0xc2cf8a(_0x17fb12),[_0x53b6f7,_0x23af08]=$(_0x317601(0x16c)),_0x37b6a0=_0x17fb12&&_0x17fb12===_0xca8a9a['Relation'],_0x22e2d2=_0x17fb12&&_0x17fb12===_0xca8a9a[_0x317601(0x1d5)],_0x5b2397=_0x17fb12&&_0x17fb12===_0xca8a9a[_0x317601(0x177)],_0x11c040=_0x17fb12&&_0x17fb12===_0xca8a9a['Boxplot'],_0x250fb1=_0x17fb12&&_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a[_0x317601(0x32f)]),_0x57f03=_0x255e72=>{_0x53b6f7&&_0x23af08(_0x53b6f7['filter']((_0x1043ff,_0x235d7b)=>_0x235d7b!==_0x255e72));},_0x5457a2=(_0x5b4ed2,_0x3a54d6)=>{const _0xbf6109=_0x317601;if(_0x53b6f7){_0x53b6f7[_0x5b4ed2]['seriesIndex']=_0x3a54d6;let _0x56b6ee=(_0x58c9aa==null?void 0x0:_0x58c9aa[_0x3a54d6]['label'])||'';_0x56b6ee&&(_0x53b6f7[_0x5b4ed2][_0xbf6109(0x24d)]=_0x13d1ff['t'](_0xbf6109(0x37a))+'-'+_0x13d1ff['t'](_0xbf6109(0x4f2))+'-('+_0x56b6ee+')'),_0x23af08(_0x53b6f7['slice']());}},_0x101492=!!(_0x17fb12&&_0x17e760['baseOn'](_0x17fb12,_0xca8a9a[_0x317601(0x39f)])),_0x86aa5e=yi,[_0x56407b,_0xdb3097]=_0x41b73e(!0x1),_0x5246fb=_0x5f47d8(()=>_0x4243f7(async _0x556f8d=>{const _0x602e39=_0x317601;var _0x584af4;if(ei(_0x43f240,_0xb9a6a7)===_0x556f8d)return;let {unitId:_0x4faa5a,sheetName:_0xa3873f,range:_0x13c17a}=_0x556f8d[_0x602e39(0x375)](',')[_0x602e39(0x4d2)](_0x5f1296=>!!_0x5f1296)[_0x602e39(0x290)](_0x550103)[0x0],_0x271344=_0x4faa5a||_0x2452ff;_0x5852ee({'rangeInfo':{'range':_0x13c17a,'unitId':_0x271344,'subUnitId':((_0x584af4=_0xb9a6a7[_0x602e39(0x2e3)](_0x271344)[_0x602e39(0x35c)](_0xa3873f))==null?void 0x0:_0x584af4[_0x602e39(0x31f)]())||(_0x43f240==null?void 0x0:_0x43f240[_0x602e39(0x2d8)]['subUnitId'])},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x5852ee,_0x2452ff,_0xb9a6a7]),_0x2c96ef=_0x44859c=>{const _0x527d4c=_0x317601;_0x21ab0b&&_0x2d0517(_0x21ab0b[_0x527d4c(0x4d2)]((_0x44d03e,_0x5566e3)=>_0x5566e3!==_0x44859c));},_0x4b3ab8=_0x17fb12&&(_0x17e760['has'](_0x17fb12,_0x37d654[_0x317601(0x3c8)])?_0x584361[_0x317601(0x386)]:_0x17e760[_0x317601(0x298)](_0x17fb12,_0x37d654['Stack'])?_0x584361[_0x317601(0x390)]:void 0x0),_0x599a64=!!(_0x17fb12&&_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a[_0x317601(0x187)])),_0xf48371=_0x2d0a51(_0x54e706=>{const _0xc739bc=_0x317601;if(!_0x17fb12)return;let _0x59ee85=_0x54e706,_0x315821=_0x17e760[_0xc739bc(0x2e7)](_0x17fb12,_0x37d654[_0xc739bc(0x3c8)]);switch(_0x59ee85){case _0x584361[_0xc739bc(0x390)]:_0x2bc763(_0x315821|_0x37d654[_0xc739bc(0x29a)]);break;case _0x584361[_0xc739bc(0x386)]:_0x2bc763(_0x315821|_0x37d654[_0xc739bc(0x3c8)]);break;default:_0x2bc763(_0x315821);break;}},[_0x17fb12]);return _0x5735fc(_0x317601(0x1ee),{'children':[_0x5735fc(_0x317601(0x1ee),{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t']('sheets-chart-ui.chartType')}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x17fb12?String(_0x17fb12):'','options':_0x526522,'onChange':_0x58a0fe=>_0x2bc763(Number(_0x58a0fe))})]}),_0x17fb12&&(_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a['Area'])||_0x17e760[_0x317601(0x21d)](_0x17fb12,_0xca8a9a[_0x317601(0x189)]))&&_0x286043(_0x402cc5,{'items':_0x44e970,'className':_0x317601(0x1ca),'value':_0x5ca3d6==null?_0x489146[_0x317601(0x4d4)]['lineStyle']:_0x5ca3d6,'onChange':_0x52e3dd}),_0x17fb12===_0xca8a9a[_0x317601(0x17f)]&&_0x286043(Xi,{'className':_0x317601(0x1ca)}),_0x5735fc(_0x317601(0x1ee),{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t']('sheets-chart-ui.themes')}),_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':_0x35a4f0?String(_0x35a4f0):'','options':_0x30d728,'onChange':_0x44c119=>{_0x4a806f(_0x44c119);}})]}),_0x4e392c&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x479))}),_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':_0x4548d4==null?_0x489146[_0x317601(0x130)][_0x317601(0x3a9)]:_0x4548d4,'options':_0xcc0bd6,'onChange':_0x1d6fbb=>{_0x4c3527(_0x1d6fbb);}}),_0x286043(_0x317601(0x1ee),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x286043(_0x1326e3,{'checked':_0x44da6d==null?_0x489146[_0x317601(0x130)][_0x317601(0x50c)]:_0x44da6d,'onChange':_0x1facb6=>_0x342e58(!!_0x1facb6),'children':_0x13d1ff['t']('sheets-chart-ui.waterfall.showSubtotal')})})]}),_0x2750b6&&!_0x599a64&&!_0x101492&&!_0x37b6a0&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x286043(_0x317601(0x1ee),{'className':_0x317601(0xe9),'children':_0x286043(_0x1326e3,{'checked':!!_0x3641d7,'onChange':_0x37a0db=>_0x2e4f6a(!!_0x37a0db),'children':_0x13d1ff['t'](_0x317601(0x4ee))})}),_0x101492&&_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x372),'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x3fe))}),_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':String(_0x2d4c53==null?_0x489146['funnel'][_0x317601(0x2da)]:_0x2d4c53),'options':_0x86aa5e,'onChange':_0x456808=>_0x4fc523(Number(_0x456808))}),_0x286043(_0x317601(0x1ee),{'className':_0x317601(0x1d4),'children':_0x286043(_0x1326e3,{'checked':_0x301a3d==null?!0x1:_0x301a3d,'onChange':_0x8db12a=>{_0x4c01c8(!!_0x8db12a);},'children':_0x13d1ff['t'](_0x317601(0x2bb))})})]}),_0x5ac284&&_0x5735fc(_0x317601(0x1ee),{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x319))}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x4b3ab8||'','options':_0x291724,'onChange':_0xf48371})]}),_0x5735fc(_0x317601(0x1ee),{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x254))}),_0x286043(_0x28bf92,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x2452ff,'subUnitId':_0x1b2123,'initialValue':_0x43f240?ei(_0x43f240,_0xb9a6a7):'','onChange':(_0x2c2c0c,_0x190a3c)=>_0x5246fb(_0x190a3c),'onFocusChange':_0x16d27d=>{_0x56407b||_0x310832(_0x16d27d);},'onRangeSelectorDialogVisibleChange':_0x458c28=>{_0x458c28?(_0xdb3097(!0x0),_0x310832(!0x0)):_0xdb3097(!0x1);}})]}),!_0x250fb1&&!_0x37b6a0&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x5735fc(_0x317601(0x1ee),{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x3c1))}),_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':typeof _0xce871d==_0x317601(0x337)?String(_0xce871d):'','options':_0x110da6||[],'onChange':_0x54f0e7=>_0x58cdd7(Number(_0x54f0e7))})]}),_0x5735fc(_0x317601(0x1ee),{'children':[!_0x250fb1&&!_0x37b6a0&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x20f))}),_0x5735fc(_0x317601(0x1ee),{'className':'univer-mt-2','children':[_0x21ab0b==null?void 0x0:_0x21ab0b[_0x317601(0x290)]((_0x579aed,_0x382835)=>_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x117),'children':[_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':String(_0x579aed),'options':_0x58c9aa,'onChange':_0x587e3a=>{_0x21ab0b[_0x382835]=Number(_0x587e3a),_0x2d0517(_0x21ab0b['slice']());}}),_0x286043(_0x317601(0x1ee),{'className':'univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','onClick':()=>_0x2c96ef(_0x382835),'children':_0x286043(_0x4d2f5c,{})})]},_0x382835)),_0x42b26e&&_0x58c9aa&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x286043(_0x384ce7,{'className':_0x317601(0x3fc),'items':_0x58c9aa[_0x317601(0x290)](_0x44bd77=>({'type':_0x317601(0x515),'children':_0x44bd77[_0x317601(0x467)],'onSelect':()=>{const _0x32b4db=_0x317601;_0x2d0517([..._0x21ab0b||[],Number(_0x44bd77[_0x32b4db(0x3fd)])]);}})),'children':_0x5735fc('a',{'className':_0x317601(0x323),'children':[_0x286043(_0x2f1d7b,{'className':_0x317601(0x14d)}),_0x286043(_0x317601(0x344),{'className':_0x317601(0xbb),'children':_0x13d1ff['t'](_0x317601(0x14f))})]})})]})]}),_0x1086ba&&!_0x250fb1&&!_0x37b6a0&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x4f2))}),_0x5735fc(_0x317601(0x1ee),{'className':'univer-mt-2','children':[_0x53b6f7==null?void 0x0:_0x53b6f7[_0x317601(0x290)]((_0x174cb4,_0x36e38b)=>_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x117),'children':[_0x286043(_0x35b928,{'className':_0x317601(0x110),'value':String(_0x174cb4[_0x317601(0x24d)]),'options':_0x58c9aa,'onChange':_0x568a6e=>{_0x5457a2(_0x36e38b,Number(_0x568a6e)-0x1);}}),_0x286043(_0x317601(0x1ee),{'className':_0x317601(0xfb),'onClick':()=>_0x57f03(_0x36e38b),'children':_0x286043(_0x4d2f5c,{})})]},_0x36e38b)),_0x1086ba&&_0x58c9aa&&_0x286043(_0x384ce7,{'className':_0x317601(0x3fc),'items':_0x58c9aa['map'](_0x4b1115=>({'type':_0x317601(0x515),'children':_0x4b1115[_0x317601(0x467)],'onSelect':()=>{const _0x288e76=_0x317601;let _0x1946dc={'seriesIndex':Number(_0x4b1115['value'])-0x1,'type':_0x73f7cd[_0x288e76(0x2d3)],'name':_0x13d1ff['t']('sheets-chart-ui.trendline.linear')+'-'+_0x13d1ff['t'](_0x288e76(0x4f2))+'-('+_0x4b1115[_0x288e76(0x467)]+')'};_0x23af08([..._0x53b6f7||[],_0x1946dc]);}})),'children':_0x5735fc('a',{'className':_0x317601(0x323),'children':[_0x286043(_0x2f1d7b,{'className':_0x317601(0x14d)}),_0x286043(_0x317601(0x344),{'className':_0x317601(0xbb),'children':_0x13d1ff['t']('sheets-chart-ui.trendline.addTrendLine')})]})})]})]}),_0x5b2397&&_0x5735fc('div',{'className':'univer-mt-2','children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x154))}),_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x372),'children':[_0x286043(_0x317601(0x1ee),{'className':_0x317601(0x231),'children':_0x13d1ff['t'](_0x317601(0x23f))}),_0x286043(_0x1319dd,{'value':_0x5a5a10==null?void 0x0:_0x5a5a10,'onChange':_0x589d62=>{const _0x1ca875=_0x317601;_0x2f9e46[_0x1ca875(0x3ab)](_0x1481d1,!0x1),_0x1f0e5d(Number[_0x1ca875(0x444)](_0x589d62)?null:Number(_0x589d62));},'onFocus':()=>_0x2f9e46['setContextValue'](_0x1481d1,!0x0),'onBlur':_0x2291bb=>{const _0x3eddea=_0x317601;_0x2f9e46[_0x3eddea(0x3ab)](_0x1481d1,!0x1);let _0x14153b=_0x2291bb['target'][_0x3eddea(0x3fd)];_0x1f0e5d(_0x14153b===''?null:Number(_0x14153b));},'onPressEnter':_0x18b32a=>{let _0x4f8a3d=_0x18b32a['target']['value'];_0x1f0e5d(_0x4f8a3d===''?null:Number(_0x4f8a3d));}})]}),_0x5735fc(_0x317601(0x1ee),{'className':_0x317601(0x200),'children':[_0x286043(_0x317601(0x1ee),{'className':_0x317601(0x231),'children':_0x13d1ff['t'](_0x317601(0x4a2))}),_0x286043(_0x1319dd,{'value':_0x498dc9==null?void 0x0:_0x498dc9,'onChange':_0x362db5=>{const _0x55538b=_0x317601;_0x2f9e46['setContextValue'](_0x1481d1,!0x1),_0x2f7a6e(Number[_0x55538b(0x444)](_0x362db5)?null:Number(_0x362db5));},'onFocus':()=>_0x2f9e46[_0x317601(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x25996a=>{const _0x419bac=_0x317601;_0x2f9e46[_0x419bac(0x3ab)](_0x1481d1,!0x1);let _0x5cf260=_0x25996a[_0x419bac(0x173)]['value'];_0x2f7a6e(_0x5cf260===''?null:Number(_0x5cf260));},'onPressEnter':_0x4b5d4e=>{const _0x26cb31=_0x317601;let _0x21ade0=_0x4b5d4e[_0x26cb31(0x173)][_0x26cb31(0x3fd)];_0x2f7a6e(_0x21ade0===''?null:Number(_0x21ade0));}})]})]}),_0x250fb1&&_0x286043(Zi,{}),!_0x37b6a0&&!_0x22e2d2&&!_0x5b2397&&!_0x11c040&&_0x286043('div',{'className':'univer-mt-2-base','children':_0x286043(_0x4a1a8b,{'className':'','size':_0x317601(0x437),'onClick':()=>{const _0x4f1649=_0x317601;_0x20c557(_0x2ded9e===_0x30bac8[_0x4f1649(0x1c0)]?_0x30bac8['Column']:_0x30bac8[_0x4f1649(0x1c0)]);},'children':_0x13d1ff['t'](_0x317601(0xcc))})}),_0x349b4a&&_0x286043('div',{'className':_0x317601(0x1d4),'children':_0x286043(_0x1326e3,{'checked':_0x2b2ff3,'onChange':_0x90579e=>{_0x32a7b6(!!_0x90579e);},'children':_0x13d1ff['t'](_0x317601(0x294),(_0x2ded9e||'')+'\x20'+(((_0x33244c=_0x2ded9e===_0x30bac8[_0x317601(0x1c0)]?_0x43f240==null?void 0x0:_0x43f240[_0x317601(0x2d8)][_0x317601(0x4e0)][_0x317601(0x383)]:_0x43f240==null?void 0x0:_0x43f240[_0x317601(0x2d8)][_0x317601(0x4e0)][_0x317601(0x289)])==null?0x0:_0x33244c)+0x1))})})]}),_0x184eb4&&_0x5735fc('div',{'children':[_0x286043(_0x35325d,{'title':_0x13d1ff['t'](_0x317601(0x31b))}),_0x286043(_0x317601(0x1ee),{'className':'univer-mt-2','children':_0x286043(_0xeb515c,{'value':_0x45ed77==null?_0x489146[_0x317601(0x457)]:_0x45ed77,'onChange':_0x1e1d22=>_0x58b1a0(_0x1e1d22),'className':_0x317601(0x1e0),'children':_0x2ee2e0[_0x317601(0x290)](_0x4b8f9a=>_0x286043(_0x46f7af,{'value':_0x4b8f9a[_0x317601(0x3fd)],'children':_0x4b8f9a[_0x317601(0x467)]},_0x4b8f9a['value']))})})]})]});};function ia(_0x57f81e){return!Number['isNaN'](_0x57f81e)&&Number['isFinite'](_0x57f81e);}const aa=_0x21f06c=>{const _0x21dd4c=_0x5e57d6;var _0x14853d,_0x5b9b9c,_0x589ef5,_0x534774,_0x5d8c2f,_0x170450,_0x277db9,_0x544945,_0x51ca5b,_0x2ff3b9;let {valueAxis:_0x4abec3,axisOptions:_0x4e3a7d,onChange:_0xbf0793,canUseDateAxis:_0x2cd7cd}=_0x21f06c,_0x1b0eb7=_0x1d4ad7(_0x4a3b9f),[_0x5a3c54,_0x5994fb]=_0x41b73e(_0x4e3a7d==null?void 0x0:_0x4e3a7d[_0x21dd4c(0x465)]),[_0x244acb,_0x3a1493]=_0x41b73e(_0x4e3a7d==null?void 0x0:_0x4e3a7d[_0x21dd4c(0x1fb)]),_0x5dc2b1=_0x1d4ad7(_0x1b2842),[_0x4bda56,_0x1df818]=$('useDateAxis',!0x1),_0x36a9fb=_0x443faa=>{if(_0x443faa!==null&&!ia(_0x443faa)){_0xbf0793==null||_0xbf0793({'min':null}),_0x3a1493(null);return;}_0x443faa==null?(_0x3a1493(null),_0xbf0793==null||_0xbf0793({'min':null})):(_0x3a1493(_0x443faa),_0x5a3c54!=null&&_0x443faa>=_0x5a3c54?(_0x5994fb(null),_0xbf0793==null||_0xbf0793({'min':_0x443faa,'max':null})):_0xbf0793==null||_0xbf0793({'min':_0x443faa}));},_0x211e25=_0x516f7d=>{if(_0x516f7d!==null&&!ia(_0x516f7d)){_0xbf0793==null||_0xbf0793({'max':null}),_0x5994fb(null);return;}_0x516f7d==null?(_0x5994fb(null),_0xbf0793==null||_0xbf0793({'max':null})):(_0x5994fb(_0x516f7d),_0x244acb!=null&&_0x516f7d<=_0x244acb?(_0x3a1493(null),_0xbf0793==null||_0xbf0793({'max':_0x516f7d,'min':null})):_0xbf0793==null||_0xbf0793({'max':_0x516f7d}));},_0x23607d=(_0x14853d=_0x4e3a7d==null||(_0x5b9b9c=_0x4e3a7d[_0x21dd4c(0x467)])==null?void 0x0:_0x5b9b9c[_0x21dd4c(0x113)])==null?_0x4bda56?_0x489146['axis'][_0x21dd4c(0x3f0)]:0x0:_0x14853d;return _0x5735fc(_0x21dd4c(0x25e),{'children':[_0x286043(_0x21dd4c(0x1ee),{'className':_0x21dd4c(0x231),'children':_0x1b0eb7['t']('sheets-chart-ui.axes.axisOptions')}),_0x5735fc(_0x21dd4c(0x1ee),{'className':_0x21dd4c(0x219),'children':[_0x286043('div',{'className':_0x21dd4c(0x372),'children':_0x286043(_0x1326e3,{'checked':(_0x589ef5=_0x4e3a7d==null||(_0x534774=_0x4e3a7d['label'])==null?void 0x0:_0x534774[_0x21dd4c(0x1eb)])==null?_0x489146[_0x21dd4c(0x299)][_0x21dd4c(0x525)]:_0x589ef5,'onChange':_0x3c2257=>_0xbf0793==null?void 0x0:_0xbf0793({'label':{'visible':!!_0x3c2257}}),'children':_0x1b0eb7['t'](_0x21dd4c(0x149))})}),!_0x4abec3&&_0x5735fc(_0x21dd4c(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x1326e3,{'checked':(_0x5d8c2f=_0x4e3a7d==null?void 0x0:_0x4e3a7d[_0x21dd4c(0x264)])==null?_0x489146[_0x21dd4c(0x299)][_0x21dd4c(0x264)]:_0x5d8c2f,'onChange':_0x1cff8f=>_0xbf0793==null?void 0x0:_0xbf0793({'reverse':!!_0x1cff8f}),'children':_0x1b0eb7['t'](_0x21dd4c(0x12f))}),'\x20']})]}),_0x286043(_0x1326e3,{'className':'univer-mt-2','checked':(_0x170450=_0x4e3a7d==null?void 0x0:_0x4e3a7d[_0x21dd4c(0xcb)])==null?!0x1:_0x170450,'onChange':_0x2c934b=>_0xbf0793==null?void 0x0:_0xbf0793({'lineVisible':!!_0x2c934b}),'children':_0x1b0eb7['t'](_0x21dd4c(0xdd))}),_0x286043('div',{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':_0x286043(_0x58756c,{'className':_0x21dd4c(0x1ca),..._0x4e3a7d==null?void 0x0:_0x4e3a7d[_0x21dd4c(0x467)],'fontSize':(_0x277db9=_0x4e3a7d==null||(_0x544945=_0x4e3a7d[_0x21dd4c(0x467)])==null?void 0x0:_0x544945[_0x21dd4c(0x4d7)])==null?_0x489146[_0x21dd4c(0x44c)][_0x21dd4c(0x4d7)]:_0x277db9,'color':(_0x51ca5b=_0x4e3a7d==null||(_0x2ff3b9=_0x4e3a7d['label'])==null?void 0x0:_0x2ff3b9['color'])==null?_0x489146[_0x21dd4c(0x44c)][_0x21dd4c(0x381)]:_0x51ca5b,'onChange':(_0xf9f618,_0x179b7d)=>_0xbf0793==null?void 0x0:_0xbf0793({'label':{[_0xf9f618]:_0x179b7d}})})}),_0x2cd7cd&&_0x286043(_0x21dd4c(0x1ee),{'className':_0x21dd4c(0x219),'children':_0x286043(_0x1326e3,{'checked':!!_0x4bda56,'onChange':_0x1e6074=>_0x1df818==null?void 0x0:_0x1df818(!!_0x1e6074),'children':_0x286043(_0x253082,{'title':_0x1b0eb7['t'](_0x21dd4c(0x4f0)),'children':_0x286043(_0x21dd4c(0x344),{'children':_0x1b0eb7['t'](_0x21dd4c(0x4a7))})})})}),_0x5735fc('div',{'className':_0x21dd4c(0x219),'children':[_0x286043('div',{'className':_0x21dd4c(0x231),'children':_0x1b0eb7['t'](_0x21dd4c(0x2c0))}),_0x286043(_0x35b928,{'className':'!univer-min-w-0\x20univer-flex-1','value':String(_0x23607d),'onChange':_0x44d164=>_0xbf0793==null?void 0x0:_0xbf0793({'label':{'rotate':Number(_0x44d164)}}),'options':bi})]}),_0x4abec3&&_0x5735fc(_0x21dd4c(0x1ee),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[_0x5735fc(_0x21dd4c(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x21dd4c(0x1ee),{'className':_0x21dd4c(0x231),'children':_0x1b0eb7['t'](_0x21dd4c(0x23f))}),_0x286043(_0x1319dd,{'value':_0x244acb,'onChange':_0x36bddf=>{const _0x38846d=_0x21dd4c;_0x3a1493(_0x36bddf),_0x5dc2b1[_0x38846d(0x3ab)](_0x1481d1,!0x1),_0x36a9fb(Number[_0x38846d(0x444)](_0x36bddf)?null:Number(_0x36bddf));},'onFocus':()=>_0x5dc2b1[_0x21dd4c(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x2bdef0=>{const _0x5bab0d=_0x21dd4c;_0x5dc2b1['setContextValue'](_0x1481d1,!0x1);let _0x13ab8f=_0x2bdef0['target'][_0x5bab0d(0x3fd)];_0x36a9fb(_0x13ab8f===''?null:Number(_0x13ab8f));},'onPressEnter':_0x11c151=>{const _0x15f4b5=_0x21dd4c;let _0x5e645b=_0x11c151[_0x15f4b5(0x173)][_0x15f4b5(0x3fd)];_0x36a9fb(_0x5e645b===''?null:Number(_0x5e645b));}})]}),_0x5735fc(_0x21dd4c(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x21dd4c(0x1ee),{'className':_0x21dd4c(0x231),'children':_0x1b0eb7['t']('sheets-chart-ui.max')}),_0x286043(_0x1319dd,{'value':_0x5a3c54,'onChange':_0x254640=>{const _0x4e14eb=_0x21dd4c;_0x5994fb(_0x254640),_0x5dc2b1[_0x4e14eb(0x3ab)](_0x1481d1,!0x1),_0x211e25(Number[_0x4e14eb(0x444)](_0x254640)?null:Number(_0x254640));},'onFocus':()=>_0x5dc2b1['setContextValue'](_0x1481d1,!0x0),'onBlur':_0x14ebc5=>{const _0x241ccb=_0x21dd4c;_0x5dc2b1[_0x241ccb(0x3ab)](_0x1481d1,!0x1);let _0x18de77=_0x14ebc5['target'][_0x241ccb(0x3fd)];_0x211e25(_0x18de77===''?null:Number(_0x18de77));},'onPressEnter':_0x5f0901=>{const _0x1375b9=_0x21dd4c;let _0x3b9cc4=_0x5f0901[_0x1375b9(0x173)][_0x1375b9(0x3fd)];_0x211e25(_0x3b9cc4===''?null:Number(_0x3b9cc4));}})]})]})]});},oa=_0x582c74=>{const _0x3c786e=_0x5e57d6;var _0x440c8d,_0xe11b4c,_0x581f65,_0xd000c3;let {runtimeAxes:_0x3d8a9f,className:_0x67fb2c}=_0x582c74,_0x658610=_0x1d4ad7(_0x4a3b9f),_0x6e5d25=_0x5f47d8(()=>ji[_0x3c786e(0x4d2)](_0x1fda8b=>{const _0x41daa9=_0x3c786e;let _0x52c467=_0x3d8a9f==null?void 0x0:_0x3d8a9f[_0x41daa9(0x484)](_0x4e7be5=>_0x4e7be5[_0x41daa9(0x2e8)]===_0x5ee842[_0x41daa9(0x4d3)]);return _0x1fda8b['value']===_0x41daa9(0x256)?_0x52c467:!0x0;}),[_0x3d8a9f])[_0x3c786e(0x290)](_0x299d1c=>({..._0x299d1c,'label':_0x658610['t'](_0x299d1c[_0x3c786e(0x467)])})),_0x4abc6c=_0x5f47d8(()=>_0x3d8a9f==null?void 0x0:_0x3d8a9f[_0x3c786e(0x3a1)](_0x123d61=>_0x123d61[_0x3c786e(0x392)]===_0x2bd274[_0x3c786e(0x3bd)]),[_0x3d8a9f]),[_0x3fd47a,_0x285567]=_0x41b73e(ji[0x0]['value']),[_0x11a89b,_0x1a2f7e]=$(_0x3c786e(0x48b)),[_0x273a9c,_0x41e6f1]=$('yAxisOptions'),[_0x40b42f,_0x58e983]=$('rightYAxisOptions'),_0x70d0b3={'xAxis':_0x11a89b,'yAxis':_0x273a9c,'rightYAxis':_0x40b42f}[_0x3fd47a],_0x2a6351={'xAxis':_0x1a2f7e,'yAxis':_0x41e6f1,'rightYAxis':_0x58e983}[_0x3fd47a],_0x421c57={'xAxis':_0x3c786e(0x37b),'yAxis':_0x3c786e(0x473),'rightYAxis':'right'}[_0x3fd47a],_0x563bbd=_0x70d0b3==null?void 0x0:_0x70d0b3['tick'],_0x415514=_0x70d0b3==null?void 0x0:_0x70d0b3[_0x3c786e(0x14b)],_0x5b2d09=_0x2d0a51(_0x593513=>{_0x2a6351==null||_0x2a6351({'gridLine':_0x593513});},[_0x2a6351]),{visible:_0x3a3215,color:_0x14443d,width:_0x518004}=_0x415514==null?{}:_0x415514,_0x128cf4=_0x3a3215==null?(_0x4abc6c==null?void 0x0:_0x4abc6c['position'])===_0x421c57:_0x3a3215,_0x522879=Ti[_0x3c786e(0x290)](_0xba54a7=>({..._0xba54a7,'label':_0x658610['t'](_0xba54a7['label'])})),_0x4a01ab=_0x5f47d8(()=>[{...ui,'label':_0x658610['t'](ui[_0x3c786e(0x467)])},...Vi],[_0x658610]),_0x2590a9=_0x5f47d8(()=>[{...ui,'label':_0x658610['t'](ui['label'])},...Hi],[_0x658610]);return _0x5735fc('div',{'className':_0x67fb2c,'children':[_0x286043(_0x3c786e(0x1ee),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':_0x286043(_0x35b928,{'className':_0x3c786e(0x110),'options':_0x6e5d25,'value':_0x3fd47a,'onChange':_0x285567})}),_0x286043(_0x3c786e(0x1ee),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x372),'children':_0x286043(_0x1326e3,{'checked':_0x128cf4,'onChange':_0x5cc496=>_0x5b2d09==null?void 0x0:_0x5b2d09({'visible':!!_0x5cc496}),'children':_0x658610['t'](_0x3c786e(0x1fd))})})}),_0x128cf4&&_0x5735fc('div',{'className':_0x3c786e(0x219),'children':[_0x5735fc('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x5735fc('div',{'className':_0x3c786e(0x231),'children':[_0x658610['t'](_0x3c786e(0xc9)),_0x658610['t'](_0x3c786e(0x3ac))]}),_0x286043(_0x3aacc5,{'color':_0x14443d,'onChange':_0x326466=>_0x5b2d09==null?void 0x0:_0x5b2d09({'color':_0x326466==null?void 0x0:_0x326466})})]}),_0x5735fc(_0x3c786e(0x1ee),{'className':_0x3c786e(0x372),'children':[_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x231),'children':_0x658610['t']('sheets-chart-ui.withThickness',_0x658610['t'](_0x3c786e(0xc9)))}),_0x286043(_0x35b928,{'className':_0x3c786e(0x110),'value':String(_0x518004==null?'':_0x518004),'onChange':_0x3ba5c3=>_0x5b2d09==null?void 0x0:_0x5b2d09({'width':Number(_0x3ba5c3)}),'options':Mi})]})]}),_0x5735fc(_0x3c786e(0x1ee),{'children':[_0x286043('div',{'children':_0x286043(_0x1326e3,{'checked':_0x563bbd==null?void 0x0:_0x563bbd['visible'],'onChange':_0x10c356=>_0x2a6351==null?void 0x0:_0x2a6351({'tick':{'visible':!!_0x10c356}}),'children':_0x658610['t'](_0x3c786e(0x481))})}),_0x5735fc(_0x3c786e(0x1ee),{'children':[_0x5735fc(_0x3c786e(0x1ee),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[_0x5735fc(_0x3c786e(0x1ee),{'className':_0x3c786e(0x372),'children':[_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x231),'children':_0x658610['t']('sheets-chart-ui.ticks.tickPosition')}),_0x286043(_0x35b928,{'className':_0x3c786e(0x110),'value':(_0x440c8d=_0x563bbd==null?void 0x0:_0x563bbd['position'])==null?_0x1bb21b['Outside']:_0x440c8d,'options':_0x522879,'onChange':_0x571fbf=>_0x2a6351==null?void 0x0:_0x2a6351({'tick':{'position':_0x571fbf}})})]}),_0x5735fc('div',{'className':_0x3c786e(0x372),'children':[_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x231),'children':_0x658610['t']('sheets-chart-ui.ticks.tickLength')}),_0x286043(_0x35b928,{'className':_0x3c786e(0x110),'value':String((_0xe11b4c=_0x563bbd==null?void 0x0:_0x563bbd[_0x3c786e(0x407)])==null?ui[_0x3c786e(0x3fd)]:_0xe11b4c),'options':_0x4a01ab,'onChange':_0x52d647=>_0x2a6351==null?void 0x0:_0x2a6351({'tick':{'length':_0x52d647===ui[_0x3c786e(0x3fd)]?void 0x0:Number(_0x52d647)}})})]})]}),_0x5735fc(_0x3c786e(0x1ee),{'className':_0x3c786e(0x219),'children':[_0x5735fc(_0x3c786e(0x1ee),{'className':_0x3c786e(0x372),'children':[_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x231),'children':_0x658610['t'](_0x3c786e(0x1e2),_0x658610['t'](_0x3c786e(0x19d)))}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x581f65=_0x563bbd==null?void 0x0:_0x563bbd[_0x3c786e(0x48a)])==null?ui[_0x3c786e(0x3fd)]:_0x581f65),'options':_0x2590a9,'onChange':_0x8938c4=>_0x2a6351==null?void 0x0:_0x2a6351({'tick':{'lineWidth':_0x8938c4===ui[_0x3c786e(0x3fd)]?void 0x0:Number(_0x8938c4)}})})]}),_0x5735fc(_0x3c786e(0x1ee),{'className':_0x3c786e(0x372),'children':[_0x286043(_0x3c786e(0x1ee),{'className':_0x3c786e(0x231),'children':_0x658610['t']('sheets-chart-ui.withColor',_0x658610['t'](_0x3c786e(0x19d)))}),_0x286043(_0x3aacc5,{'color':(_0xd000c3=_0x563bbd==null?void 0x0:_0x563bbd[_0x3c786e(0x404)])==null?'':_0xd000c3,'onChange':_0x2d5dfd=>_0x2a6351==null?void 0x0:_0x2a6351({'tick':{'lineColor':_0x2d5dfd==null?void 0x0:_0x2d5dfd}})})]})]})]})]})]});},sa=_0x180045=>{const _0xb9fdc3=_0x5e57d6;let {onChange:_0x43c331,indicatorLabelColor:_0x1f434d,indicatorLineType:_0x54a9d1,indicatorLabelTextColor:_0x228842,indicatorLineColor:_0x4b3c81}=_0x180045,_0x5a4c39=_0x1d4ad7(_0x4a3b9f),_0x2e835f=gi[_0xb9fdc3(0x290)](_0x484f2f=>({..._0x484f2f,'label':_0x5a4c39['t'](_0x484f2f[_0xb9fdc3(0x467)])}));return _0x5735fc(_0xecfe96,{'children':[_0x5735fc('div',{'className':_0xb9fdc3(0x35f),'children':[_0x5735fc(_0xb9fdc3(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0xb9fdc3(0x1ee),{'className':_0xb9fdc3(0x231),'children':_0x5a4c39['t'](_0xb9fdc3(0x3a4))}),_0x286043(_0x35b928,{'className':_0xb9fdc3(0x110),'value':_0x54a9d1,'options':_0x2e835f,'onChange':_0x3906c0=>{_0x43c331==null||_0x43c331({'indicatorLineType':_0x3906c0});}})]}),_0x5735fc(_0xb9fdc3(0x1ee),{'className':_0xb9fdc3(0x372),'children':[_0x286043(_0xb9fdc3(0x1ee),{'className':_0xb9fdc3(0x231),'children':_0x5a4c39['t']('sheets-chart-ui.indicatorLineColor')}),_0x286043(_0x3aacc5,{'color':_0x4b3c81,'onChange':_0xd36470=>{_0x43c331==null||_0x43c331({'indicatorLineColor':_0xd36470});}})]})]}),_0x5735fc(_0xb9fdc3(0x1ee),{'className':_0xb9fdc3(0x35f),'children':[_0x5735fc(_0xb9fdc3(0x1ee),{'className':_0xb9fdc3(0x372),'children':[_0x286043(_0xb9fdc3(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5a4c39['t'](_0xb9fdc3(0x28e))}),_0x286043(_0x3aacc5,{'color':_0x1f434d,'onChange':_0x355903=>{_0x43c331==null||_0x43c331({'indicatorLabelColor':_0x355903});}})]}),_0x5735fc('div',{'className':_0xb9fdc3(0x372),'children':[_0x286043(_0xb9fdc3(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5a4c39['t']('sheets-chart-ui.indicatorValue')}),_0x286043(_0x3aacc5,{'color':_0x228842,'onChange':_0x2ed2af=>{_0x43c331==null||_0x43c331({'indicatorLabelTextColor':_0x2ed2af});}})]})]})]});},ca=new Set([_0xca8a9a['Pie'],_0xca8a9a[_0x5e57d6(0x347)],_0xca8a9a[_0x5e57d6(0x13e)],_0xca8a9a[_0x5e57d6(0x438)],_0xca8a9a[_0x5e57d6(0x133)]]),la=_0x4711da=>{const _0x211950=_0x5e57d6;var _0x3931c7,_0x1b947f;let {fallbackLabelStyle:_0xa9a302,labelStyle:_0x378ad4,positionOptions:_0x4ba549,contentTypeOptions:_0x2b2a53,onLabelStyleChange:_0x5bd07c,onVisibleChange:_0x1e25d5,onPadAngleChange:_0x4ab580,isPieLike:_0x213ada,padAngleStyle:_0x426877,onHalfPieChange:_0x3c4189,isHalfPie:_0x29143d,onRosePieChange:_0x161ae7,isRosePie:_0x5c077b,onShowLabelLineChange:_0x3fe8ae,showLabelLine:_0x28b4cd,chartType:_0x361087}=_0x4711da,_0x22baa2=_0x1d4ad7(_0x4a3b9f),_0x1b5ba3={..._0xa9a302,..._0x378ad4},{contentType:_0x2ba73}=_0x1b5ba3,_0x5ad4c0=_0x5f47d8(()=>{const _0x1d2aa8=_0x9d8e;if(!_0x2ba73)return[];let _0x569646=Ri['filter'](_0x41dded=>_0x17e760[_0x1d2aa8(0x298)](_0x2ba73,_0x41dded)),_0x1fda32=[];for(let _0x14d382 of _0x569646)_0x14d382===_0x41401c['Percentage']?ca[_0x1d2aa8(0x298)](_0x361087)&&_0x1fda32[_0x1d2aa8(0x25d)](_0x14d382):_0x1fda32[_0x1d2aa8(0x25d)](_0x14d382);return _0x1fda32[_0x1d2aa8(0x290)](_0x4f75e6=>String(_0x4f75e6));},[_0x2ba73]),_0x137800=_0x2d0a51(_0x3573f0=>{const _0x325e3d=_0x9d8e;let _0x23f409=_0x3573f0['map'](_0x123af7=>Number(_0x123af7));if(_0x23f409[_0x325e3d(0x407)]<=0x0)return;let _0x502812=_0x23f409[_0x325e3d(0x407)]>0x0?_0x23f409[_0x325e3d(0x2ed)]((_0x45bee0,_0x38f287)=>_0x45bee0|_0x38f287):_0x41401c['Empty'];_0x5bd07c==null||_0x5bd07c('contentType',_0x502812);},[_0x5bd07c]);return _0x5735fc(_0x211950(0x1ee),{'children':[_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x286043(_0x1326e3,{'checked':(_0x3931c7=_0x1b5ba3[_0x211950(0x1eb)])==null?!0x1:_0x3931c7,'onChange':_0x42956b=>{_0x1e25d5==null||_0x1e25d5(!!_0x42956b);},'children':_0x22baa2['t'](_0x211950(0x2f0))})}),_0x213ada&&_0x5735fc(_0xecfe96,{'children':[_0x286043('div',{'className':_0x211950(0x231),'children':_0x286043(_0x1326e3,{'checked':_0x426877==null?!0x1:_0x426877,'onChange':_0x2529fd=>{_0x4ab580==null||_0x4ab580(!!_0x2529fd);},'children':_0x22baa2['t'](_0x211950(0x206))})}),_0x286043(_0x211950(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x286043(_0x1326e3,{'checked':_0x29143d==null?!0x1:_0x29143d,'onChange':_0x524ff6=>{_0x3c4189==null||_0x3c4189(!!_0x524ff6);},'children':_0x22baa2['t'](_0x211950(0x486))})}),_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x286043(_0x1326e3,{'checked':_0x5c077b==null?!0x1:_0x5c077b,'onChange':_0x2d01b1=>{_0x161ae7==null||_0x161ae7(!!_0x2d01b1);},'children':_0x22baa2['t'](_0x211950(0x4b7))})}),_0x1b5ba3[_0x211950(0x1eb)]===!0x0&&_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x286043(_0x1326e3,{'checked':_0x28b4cd==null?!0x1:_0x28b4cd,'onChange':_0x60488b=>{_0x3fe8ae==null||_0x3fe8ae(!!_0x60488b);},'children':_0x22baa2['t']('sheets-chart-ui.styleEditPanel.showLabelLine')})})]}),_0x1b5ba3[_0x211950(0x1eb)]&&_0x5735fc(_0x211950(0x1ee),{'className':_0x211950(0x120),'children':[_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x22baa2['t'](_0x211950(0xd1))}),_0x286043(_0x35b928,{'className':_0x211950(0x110),'value':(_0x1b947f=_0x1b5ba3[_0x211950(0x2e8)])==null?'':_0x1b947f,'onChange':_0x5646dd=>_0x5bd07c==null?void 0x0:_0x5bd07c('position',_0x5646dd),'options':_0x4ba549}),_0x2b2a53&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x22baa2['t'](_0x211950(0x172))}),_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x36e),'children':_0x286043(_0x37934f,{'className':_0x211950(0x17d),'value':_0x5ad4c0,'options':_0x2b2a53,'onChange':_0x137800})})]}),_0x5735fc('div',{'children':[_0x286043(_0x211950(0x1ee),{'className':_0x211950(0x231),'children':_0x22baa2['t'](_0x211950(0x1aa))}),_0x286043(_0x58756c,{..._0x1b5ba3,'onChange':_0x5bd07c})]})]})]});},ua=_0x46480d=>{const _0x44a6d2=_0x5e57d6;var _0x12b16d,_0x205673;let {seriesStyle:_0x3086c9,onSeriesStyleChange:_0x446837,controlName:_0x386831,allSeriesStyle:_0x4fe49e,chartType:_0x2c8d79}=_0x46480d,_0x3f9013=_0x1d4ad7(_0x4a3b9f),_0x5d5934=_0x2c8d79===_0xca8a9a[_0x44a6d2(0x17f)]?_0x489146[_0x44a6d2(0x3b6)][_0x44a6d2(0x2fe)]:_0x489146['borderStyle'][_0x44a6d2(0x33f)];return _0x5735fc(_0x44a6d2(0x1ee),{'className':_0x44a6d2(0x35f),'children':[_0x5735fc('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x44a6d2(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f9013['t']('sheets-chart-ui.withColor',_0x386831)}),_0x286043(_0x3aacc5,{'color':(_0x3086c9==null?void 0x0:_0x3086c9[_0x44a6d2(0x381)])||(_0x4fe49e==null?void 0x0:_0x4fe49e['color'])||'','onChange':_0x50da55=>_0x446837==null?void 0x0:_0x446837({'color':_0x50da55})})]}),_0x5735fc(_0x44a6d2(0x1ee),{'className':_0x44a6d2(0x372),'children':[_0x286043(_0x44a6d2(0x1ee),{'className':_0x44a6d2(0x231),'children':_0x3f9013['t'](_0x44a6d2(0x224),_0x386831)}),_0x286043(_0x35b928,{'className':_0x44a6d2(0x110),'value':String((_0x12b16d=(_0x205673=_0x3086c9==null?void 0x0:_0x3086c9['fillOpacity'])==null?_0x4fe49e==null?void 0x0:_0x4fe49e['fillOpacity']:_0x205673)==null?_0x5d5934:_0x12b16d),'options':hi,'onChange':_0xaed2ce=>_0x446837==null?void 0x0:_0x446837({'fillOpacity':Number(_0xaed2ce)})})]})]});},da=_0x44a4ba=>{const _0xe0ba7=_0x5e57d6;var _0x337675,_0x1f2b25,_0x128317,_0x40459a;let {borderStyle:_0x1fb62e,onSeriesStyleChange:_0x2d4870,controlName:_0x826273,hideBorder:_0x388ddf,allSeriesBorderStyle:_0x15cc2f,isLineOrAreaChart:_0xbd12d1}=_0x44a4ba,_0x995647=_0x1d4ad7(_0x4a3b9f),_0xd69044=gi[_0xe0ba7(0x290)](_0x3395b8=>({..._0x3395b8,'label':_0x995647['t'](_0x3395b8['label'])})),_0x21d224=_0xbd12d1?yi[_0xe0ba7(0x1a5)](0x1):yi;return _0x5735fc(_0xecfe96,{'children':[_0x388ddf&&_0x5735fc(_0xe0ba7(0x1ee),{'className':_0xe0ba7(0x35f),'children':[_0x5735fc(_0xe0ba7(0x1ee),{'className':_0xe0ba7(0x372),'children':[_0x286043(_0xe0ba7(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x995647['t'](_0xe0ba7(0x45a),_0x826273)}),_0x286043(_0x3aacc5,{'color':(_0x337675=_0x1fb62e==null?void 0x0:_0x1fb62e[_0xe0ba7(0x381)])==null?_0x15cc2f==null?void 0x0:_0x15cc2f[_0xe0ba7(0x381)]:_0x337675,'onChange':_0x1cc952=>_0x2d4870==null?void 0x0:_0x2d4870({'border':{'color':_0x1cc952}})})]}),_0x5735fc(_0xe0ba7(0x1ee),{'className':_0xe0ba7(0x372),'children':[_0x286043(_0xe0ba7(0x1ee),{'className':_0xe0ba7(0x231),'children':_0x995647['t']('sheets-chart-ui.withOpacity',_0x826273)}),_0x286043(_0x35b928,{'className':_0xe0ba7(0x110),'value':String((_0x1f2b25=_0x1fb62e==null?void 0x0:_0x1fb62e['opacity'])==null?_0x15cc2f==null?void 0x0:_0x15cc2f[_0xe0ba7(0x33f)]:_0x1f2b25),'options':hi,'onChange':_0x5d3450=>_0x2d4870==null?void 0x0:_0x2d4870({'border':{'opacity':Number(_0x5d3450)}})})]})]}),_0x5735fc('div',{'className':_0xe0ba7(0x35f),'children':[_0x5735fc('div',{'className':_0xe0ba7(0x372),'children':[_0x286043(_0xe0ba7(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x995647['t'](_0xe0ba7(0x270),_0x826273)}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x128317=_0x1fb62e==null?void 0x0:_0x1fb62e[_0xe0ba7(0x163)])==null?_0x15cc2f==null?void 0x0:_0x15cc2f[_0xe0ba7(0x163)]:_0x128317,'options':_0xd69044,'onChange':_0x2c52b5=>_0x2d4870==null?void 0x0:_0x2d4870({'border':{'dashType':_0x2c52b5}})})]}),_0x5735fc('div',{'className':_0xe0ba7(0x372),'children':[_0x286043(_0xe0ba7(0x1ee),{'className':_0xe0ba7(0x231),'children':_0x995647['t'](_0xe0ba7(0x1e2),_0x826273)}),_0x286043(_0x35b928,{'className':_0xe0ba7(0x110),'value':String((_0x40459a=_0x1fb62e==null?void 0x0:_0x1fb62e['width'])==null?_0x15cc2f==null?void 0x0:_0x15cc2f[_0xe0ba7(0x41a)]:_0x40459a),'options':_0x21d224,'onChange':_0x5905b9=>_0x2d4870==null?void 0x0:_0x2d4870({'border':{'width':Number(_0x5905b9)}})})]})]})]});},fa=_0xbbb4e6=>{const _0x3d5dc5=_0x5e57d6;let {pointStyle:_0x41de10,controls:_0x4e6c0d,onChange:_0xc170b5}=_0xbbb4e6,_0x23f42a=_0x1d4ad7(_0x4a3b9f),_0x2b3792=_i[_0x3d5dc5(0x290)](_0x457f17=>({..._0x457f17,'label':_0x23f42a['t'](_0x457f17[_0x3d5dc5(0x467)])})),_0x155b65=vi,_0x122a75=_0x4e6c0d[_0x3d5dc5(0x290)](_0x40ff71=>{const _0x4d2c2a=_0x3d5dc5;switch(_0x40ff71){case _0x4d2c2a(0x186):return _0x5735fc(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x372),'children':[_0x286043(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x231),'children':_0x23f42a['t'](_0x4d2c2a(0xd4),_0x23f42a['t'](_0x4d2c2a(0x11a)))}),_0x286043(_0x35b928,{'className':_0x4d2c2a(0x110),'value':String(_0x41de10[_0x4d2c2a(0x186)]),'options':_0x2b3792,'onChange':_0x3fe7bd=>_0xc170b5==null?void 0x0:_0xc170b5(_0x4d2c2a(0x186),_0x3fe7bd)})]},_0x40ff71);case _0x4d2c2a(0x45c):return _0x5735fc(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x372),'children':[_0x286043(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x231),'children':_0x23f42a['t']('sheets-chart-ui.withSize',_0x23f42a['t']('sheets-chart-ui.dataPoint'))}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x41de10[_0x4d2c2a(0x45c)]),'options':_0x155b65,'onChange':_0x364a5d=>_0xc170b5==null?void 0x0:_0xc170b5(_0x4d2c2a(0x45c),Number(_0x364a5d))})]},_0x40ff71);case _0x4d2c2a(0x381):return _0x5735fc(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x372),'children':[_0x286043(_0x4d2c2a(0x1ee),{'className':_0x4d2c2a(0x231),'children':_0x23f42a['t']('sheets-chart-ui.withColor',_0x23f42a['t'](_0x4d2c2a(0x4aa)))}),_0x286043(_0x3aacc5,{'color':_0x41de10['color'],'onChange':_0x1abff0=>_0xc170b5==null?void 0x0:_0xc170b5(_0x4d2c2a(0x381),_0x1abff0)})]},_0x40ff71);}return null;}),_0x32fa26=[];for(let _0x359e39=0x0;_0x359e39<_0x122a75[_0x3d5dc5(0x407)];_0x359e39+=0x2)_0x32fa26[_0x3d5dc5(0x25d)](_0x5735fc(_0x3d5dc5(0x1ee),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[_0x122a75[_0x359e39],_0x359e39+0x1<_0x122a75['length']?_0x122a75[_0x359e39+0x1]:_0x286043('div',{'className':_0x3d5dc5(0x372)})]},_0x359e39));return _0x286043(_0xecfe96,{'children':[..._0x32fa26]});},pa=_0x3e5e7b=>{const _0x41e32e=_0x5e57d6;let {rightYAxis:_0x223f62,onSeriesStyleChange:_0x5e242d}=_0x3e5e7b;return _0x286043(_0x41e32e(0x1ee),{'className':_0x41e32e(0x35f),'children':_0x286043('div',{'className':_0x41e32e(0x372),'children':_0x286043(_0x1326e3,{'checked':_0x223f62,'onChange':_0x53d461=>{_0x5e242d==null||_0x5e242d({'rightYAxis':!!_0x53d461});},'children':_0x1d4ad7(_0x4a3b9f)['t'](_0x41e32e(0x3e2))})})});},ma={'shape':_0x489146[_0x5e57d6(0x514)][_0x5e57d6(0x186)],'size':_0x489146[_0x5e57d6(0x514)][_0x5e57d6(0x45c)],'color':_0x5e57d6(0x34a)},ha=['shape',_0x5e57d6(0x45c)],ga=_0xd35ab2=>{const _0x55f4e8=_0x5e57d6;let {chartType:_0x8ab5d3,data:_0x2340cd,options:_0x180970,onChange:_0x375318}=_0xd35ab2,_0x1d1834=_0x1d4ad7(_0x4a3b9f),_0x303585=_0x8ab5d3===_0xca8a9a['Line'],_0x8d56ff=_0x2340cd==null?{}:_0x2340cd;return _0x286043(_0x55f4e8(0x1ee),{'className':_0x55f4e8(0x2a5),'children':Object[_0x55f4e8(0x4e6)](_0x8d56ff)[_0x55f4e8(0x290)](_0x3f5124=>({'key':_0x3f5124,'style':_0x8d56ff[Number(_0x3f5124)]}))[_0x55f4e8(0x290)](_0x4a7eaa=>{const _0x220025=_0x55f4e8;var _0x571de0,_0x58bcf7,_0x1c0dec;let {style:_0x3f6dc6}=_0x4a7eaa;return _0x3f6dc6===void 0x0?null:_0x5735fc(_0x220025(0x1ee),{'className':'univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','children':[_0x5735fc('div',{'className':_0x220025(0x35f),'children':[_0x5735fc(_0x220025(0x1ee),{'className':_0x220025(0x372),'children':[_0x286043(_0x220025(0x1ee),{'className':_0x220025(0x231),'children':_0x1d1834['t'](_0x220025(0x4aa))}),_0x286043(_0x35b928,{'className':_0x220025(0x110),'value':_0x4a7eaa[_0x220025(0x162)],'options':_0x180970,'onChange':_0x4aa5b8=>{const _0x2e9cd9=_0x220025;_0x375318==null||_0x375318({[_0x4a7eaa[_0x2e9cd9(0x162)]]:void 0x0,[Number(_0x4aa5b8)]:_0x4a7eaa['style']});}})]}),_0x5735fc(_0x220025(0x1ee),{'className':_0x220025(0x372),'children':[_0x286043(_0x220025(0x1ee),{'className':_0x220025(0x231),'children':_0x1d1834['t'](_0x220025(0x3ac))}),_0x286043(_0x3aacc5,{'color':(_0x571de0=_0x3f6dc6==null?void 0x0:_0x3f6dc6[_0x220025(0x381)])==null?'':_0x571de0,'onChange':_0x26676d=>{_0x375318==null||_0x375318({[_0x4a7eaa['key']]:{'color':_0x26676d}});}})]}),_0x286043(_0x4a1a8b,{'className':_0x220025(0x23c),'variant':_0x220025(0x366),'onClick':()=>_0x375318==null?void 0x0:_0x375318({[_0x4a7eaa[_0x220025(0x162)]]:void 0x0}),'children':_0x286043(_0x45f0e6,{})})]}),_0x303585&&_0x286043(fa,{'pointStyle':{...ma,'shape':(_0x58bcf7=_0x3f6dc6[_0x220025(0x186)])==null?ma['shape']:_0x58bcf7,'size':(_0x1c0dec=_0x3f6dc6[_0x220025(0x45c)])==null?ma['size']:_0x1c0dec},'controls':ha,'onChange':(_0x3b342d,_0x1a40b2)=>_0x375318==null?void 0x0:_0x375318({[_0x4a7eaa[_0x220025(0x162)]]:{[_0x3b342d]:_0x1a40b2}})})]},_0x4a7eaa[_0x220025(0x162)]);})});},_a={'fontSize':_0x489146[_0x5e57d6(0x44c)][_0x5e57d6(0x4d7)],'contentType':_0x489146[_0x5e57d6(0x28b)],'position':_0x489146[_0x5e57d6(0x44c)][_0x5e57d6(0x2e8)]},va=_0x1e6af8=>{const _0x461780=_0x5e57d6;let {isLineSeries:_0x31fed9}=_0x1e6af8,_0x2e9f0a=_0x1d4ad7(_0x4a3b9f),[_0x1b1865]=$('allSeriesStyle'),[_0x4c61cf,_0x25414e]=$(_0x461780(0x119)),_0x45adae=[_0x461780(0x186),_0x461780(0x45c),_0x461780(0x381)],[_0x34638f]=$(_0x461780(0x2ec)),_0x38f212=_0x31fed9?_0x5e2ea2=>{_0x25414e({'lineStyle':{..._0x5e2ea2}});}:_0x424abb=>{_0x25414e({'barStyle':{..._0x424abb}});},_0x25a7c7=_0x489146['borderStyle'],_0x51642b=_0x31fed9?_0x4c61cf==null?void 0x0:_0x4c61cf['lineStyle']:_0x4c61cf==null?void 0x0:_0x4c61cf[_0x461780(0x11c)],_0x198436=_0x51642b==null?void 0x0:_0x51642b[_0x461780(0x259)],_0xc68c88=_0x4db31b=>{const _0x47cfed=_0x461780;_0x51642b&&_0x51642b[_0x47cfed(0x259)]&&_0x51642b[_0x47cfed(0x259)][_0x4db31b]||_0x38f212({'dataPoints':{[_0x4db31b]:{}}});},_0x489111=_0x17ae71=>{_0x38f212({'dataPoints':_0x17ae71});},_0x4884d3=wi[_0x461780(0x290)](_0x3af2dd=>({..._0x3af2dd,'label':_0x2e9f0a['t'](_0x3af2dd[_0x461780(0x467)])})),_0x5d813e=_0x5f47d8(()=>zi[_0x461780(0x290)](_0xef3512=>({'value':_0xef3512[_0x461780(0x3fd)],'label':_0x2e9f0a['t'](_0xef3512['label'])})),[_0x2e9f0a]),_0x37c3df=Object[_0x461780(0x369)]({'color':_0x461780(0x34a),'opacity':_0x25a7c7[_0x461780(0x33f)],'width':_0x31fed9?_0x25a7c7[_0x461780(0x100)]['lineOrArea']:_0x25a7c7[_0x461780(0x41a)],'dashType':_0x25a7c7[_0x461780(0x163)]},_0x51642b==null?void 0x0:_0x51642b[_0x461780(0x500)]),_0x822955=Object['assign']({'shape':_0x489146[_0x461780(0x514)][_0x461780(0x186)],'size':_0x489146[_0x461780(0x382)][_0x461780(0x4a9)],'color':_0x461780(0x34a)},_0x1b1865==null?void 0x0:_0x1b1865[_0x461780(0x514)],_0x51642b==null?void 0x0:_0x51642b[_0x461780(0x514)]),_0x28a5cc=Object[_0x461780(0x369)]({},_0x51642b==null?void 0x0:_0x51642b[_0x461780(0x467)]);return _0x5735fc(_0x461780(0x25e),{'className':_0x461780(0x356),'children':[_0x286043(ua,{'chartType':_0xca8a9a[_0x461780(0x268)],'allSeriesStyle':_0x1b1865,'controlName':_0x2e9f0a['t'](_0x31fed9?'sheets-chart-ui.line':'sheets-chart-ui.fill'),'seriesStyle':_0x51642b,'onSeriesStyleChange':_0x38f212}),_0x286043(da,{'isLineOrAreaChart':_0x31fed9,'allSeriesBorderStyle':_0x51642b==null?void 0x0:_0x51642b[_0x461780(0x500)],'hideBorder':!_0x31fed9,'controlName':_0x2e9f0a['t'](_0x31fed9?_0x461780(0x19d):_0x461780(0x1ed)),'borderStyle':_0x37c3df,'onSeriesStyleChange':_0x38f212}),_0x31fed9&&_0x286043(fa,{'pointStyle':_0x822955,'onChange':(_0x46c4f7,_0x50ddef)=>_0x38f212({'point':{[_0x46c4f7]:_0x50ddef}}),'controls':_0x45adae}),!_0x31fed9&&_0x5735fc(_0xecfe96,{'children':[_0x5735fc(_0x461780(0x1ee),{'className':_0x461780(0x105),'children':[_0x286043(_0x461780(0x1ee),{'className':_0x461780(0x372),'children':_0x286043(_0x461780(0x1ee),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x2e9f0a['t'](_0x461780(0xf1),_0x2e9f0a['t'](_0x461780(0x4aa)))})}),_0x286043(_0x461780(0x1ee),{'className':_0x461780(0x372),'children':_0x286043(_0x5b6b2d,{'value':'','menus':_0x34638f==null?[]:_0x34638f,'onSelect':_0x3b5e85=>_0xc68c88(+_0x3b5e85),'children':_0x5735fc(_0x461780(0x1ee),{'className':_0x461780(0x31e),'children':[_0x286043(_0x2f1d7b,{}),_0x286043(_0x461780(0x344),{'children':_0x2e9f0a['t'](_0x461780(0x460))})]})})})]}),_0x198436&&_0x286043(ga,{'chartType':_0xca8a9a[_0x461780(0x268)],'data':_0x198436,'options':_0x34638f==null?[]:_0x34638f,'onChange':_0x489111})]}),_0x286043(_0x461780(0x1ee),{'className':_0x461780(0x1ca),'children':_0x286043(la,{'fallbackLabelStyle':_a,'labelStyle':_0x28a5cc,'positionOptions':_0x4884d3,'contentTypeOptions':_0x5d813e,'onLabelStyleChange':(_0x12d832,_0x65709f)=>_0x38f212({'label':{[_0x12d832]:_0x65709f}}),'onVisibleChange':_0x3cf06b=>_0x38f212({'label':{'visible':_0x3cf06b}}),'isPieLike':!0x1,'chartType':_0xca8a9a[_0x461780(0x268)]})})]});},ya=_0x5aadb2=>{const _0x7e5413=_0x5e57d6;let {chartType:_0x297786,onChartTypeChange:_0x318ba3}=_0x5aadb2,_0x1be526=_0x1d4ad7(_0x4a3b9f),[_0x53f8cd,_0x22590e]=$(_0x7e5413(0x178)),[_0x22d2c9,_0x307507]=$('pieLabelStyle'),[_0x576aae,_0x3382d2]=$(_0x7e5413(0x44d)),[_0x30b8bc,_0x3713a9]=$(_0x7e5413(0x293)),[_0x2e1da5,_0x1f45ba]=$(_0x7e5413(0x275)),[_0x184475,_0x4973b6]=$(_0x7e5413(0x3b4)),[_0x1c4440,_0x346e75]=$(_0x7e5413(0x3ec)),[_0x24116d,_0x527c7]=$(_0x7e5413(0x2a3)),[_0x1d8464,_0x580e4f]=$(_0x7e5413(0x249)),[_0x53f242,_0x218be2]=_0x41b73e(_0x24116d||''),_0xea1704=_0x297786===_0xca8a9a[_0x7e5413(0x347)]?_0x489146[_0x7e5413(0x446)]['doughnutHole']:0x0,[_0x4d569b,_0x2487f5]=$(_0x7e5413(0xef)),_0x10ecf3=Ti[_0x7e5413(0x290)](_0x5bc002=>({..._0x5bc002,'label':_0x1be526['t'](_0x5bc002['label'])})),_0x3860b8=Bi[_0x7e5413(0x290)](_0x1d07e0=>({..._0x1d07e0,'label':_0x1be526['t'](_0x1d07e0['label'])})),_0x386807=_0x1d4ad7(_0x1b2842),_0x2c1e82=_0x5f47d8(()=>({'visible':!0x0,'contentType':_0x489146[_0x7e5413(0x446)][_0x7e5413(0x28b)],'fontSize':_0x489146[_0x7e5413(0x44c)][_0x7e5413(0x4d7)],'position':_0x1bb21b[_0x7e5413(0x40b)]}),[]),_0x457eda=_0x2d0a51(_0x490f7f=>{const _0x5a02a8=_0x7e5413;let _0x17f9d7=Number(_0x490f7f),_0x1069f3=_0x17f9d7>0x0?_0xca8a9a[_0x5a02a8(0x347)]:_0xca8a9a[_0x5a02a8(0xc8)];_0x1069f3!==_0x297786&&(_0x318ba3==null||_0x318ba3(_0x1069f3)),_0x2487f5(_0x17f9d7);},[_0x297786,_0x318ba3]);return _0x5735fc(_0x7e5413(0x1ee),{'className':_0x7e5413(0x356),'children':[_0x5735fc(_0x7e5413(0x1ee),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[_0x5735fc(_0x7e5413(0x1ee),{'className':_0x7e5413(0x372),'children':[_0x286043(_0x7e5413(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1be526['t'](_0x7e5413(0xd7))}),_0x286043(_0x35b928,{'className':_0x7e5413(0x110),'value':_0x4d569b?String(_0x4d569b):_0xea1704*0x64+'%','options':Fi,'onChange':_0x457eda})]}),_0x5735fc(_0x7e5413(0x1ee),{'className':_0x7e5413(0x372),'children':[_0x286043(_0x7e5413(0x1ee),{'className':_0x7e5413(0x231),'children':_0x1be526['t'](_0x7e5413(0x45a),_0x1be526['t'](_0x7e5413(0x1ed)))}),_0x286043(_0x3aacc5,{'color':_0x53f8cd==null?'':_0x53f8cd,'onChange':_0x22590e})]})]}),_0x5735fc(_0x7e5413(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x7e5413(0x1ee),{'className':_0x7e5413(0x231),'children':_0x1be526['t'](_0x7e5413(0x520))}),_0x5735fc(_0x7e5413(0x1ee),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[_0x5735fc(_0x7e5413(0x1ee),{'className':_0x7e5413(0x372),'children':[_0x286043(_0x7e5413(0x1ee),{'className':_0x7e5413(0x231),'children':_0x1be526['t'](_0x7e5413(0x520))}),_0x286043(_0x1319dd,{'value':_0x1c4440==null?0x1:_0x1c4440,'onChange':_0x5369d0=>{const _0x5ba360=_0x7e5413;_0x386807[_0x5ba360(0x3ab)](_0x1481d1,!0x1),_0x346e75(Number[_0x5ba360(0x444)](_0x5369d0)?null:Number(_0x5369d0));},'onFocus':()=>_0x386807[_0x7e5413(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x4a2c89=>{const _0x4475f8=_0x7e5413;_0x386807['setContextValue'](_0x1481d1,!0x1);let _0x20a3ec=_0x4a2c89[_0x4475f8(0x173)]['value'];_0x346e75(_0x20a3ec===''?null:Number(_0x20a3ec));},'onPressEnter':_0x4be7f4=>{const _0x221bce=_0x7e5413;let _0xba58d2=_0x4be7f4[_0x221bce(0x173)][_0x221bce(0x3fd)];_0x346e75(_0xba58d2===''?null:Number(_0xba58d2));}})]}),_0x5735fc('div',{'className':_0x7e5413(0x372),'children':[_0x286043(_0x7e5413(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1be526['t']('sheets-chart-ui.styleEditPanel.pieDigitalFixed')}),_0x286043(_0x1319dd,{'value':_0x1d8464==null?0x1:_0x1d8464,'onChange':_0x3e17b2=>{const _0x5d00a0=_0x7e5413;_0x386807[_0x5d00a0(0x3ab)](_0x1481d1,!0x1),_0x580e4f(Number['isNaN'](_0x3e17b2)?null:Number(_0x3e17b2));},'onFocus':()=>_0x386807[_0x7e5413(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x20e972=>{const _0x3a93d9=_0x7e5413;_0x386807[_0x3a93d9(0x3ab)](_0x1481d1,!0x1);let _0x251f19=_0x20e972[_0x3a93d9(0x173)]['value'];_0x580e4f(_0x251f19===''?null:Number(_0x251f19));},'onPressEnter':_0x23f292=>{const _0x59b42b=_0x7e5413;let _0xa019ff=_0x23f292[_0x59b42b(0x173)][_0x59b42b(0x3fd)];_0x580e4f(_0xa019ff===''?null:Number(_0xa019ff));}})]}),_0x5735fc('div',{'className':_0x7e5413(0x372),'children':[_0x286043(_0x7e5413(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1be526['t'](_0x7e5413(0x2b0))}),_0x286043(_0x5d055d,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x53f242,'onChange':_0x218be2,'onFocus':()=>{_0x386807['setContextValue'](_0x1481d1,!0x0);},'onBlur':()=>{_0x386807['setContextValue'](_0x1481d1,!0x1),_0x527c7(_0x53f242);}})]})]})]}),_0x286043(la,{'chartType':_0x297786,'fallbackLabelStyle':_0x2c1e82,'labelStyle':_0x22d2c9==null?{}:_0x22d2c9,'onVisibleChange':_0x11f066=>_0x307507({'visible':_0x11f066}),'onLabelStyleChange':(_0xf5125,_0x2561ca)=>_0x307507({[_0xf5125]:_0x2561ca}),'positionOptions':_0x10ecf3,'contentTypeOptions':_0x3860b8,'onPadAngleChange':_0x25cbe5=>_0x3382d2(_0x25cbe5),'padAngleStyle':_0x576aae,'onHalfPieChange':_0x1c7278=>_0x3713a9(_0x1c7278),'isHalfPie':_0x30b8bc,'isRosePie':_0x2e1da5,'onRosePieChange':_0x37060b=>_0x1f45ba(_0x37060b),'onShowLabelLineChange':_0x201d40=>_0x4973b6(_0x201d40),'showLabelLine':_0x184475,'isPieLike':!0x0})]});};function ba(){const _0xc2cc24=_0x5e57d6;var _0x49631b,_0xae3ecc;let _0x1a55f4=_0x1d4ad7(_0x4a3b9f),_0x5a59d1=_0x1d4ad7(_0x1b2842),_0x1208b0=Ui[_0xc2cc24(0x290)](_0x347176=>({..._0x347176,'label':_0x1a55f4['t'](_0x347176['label'])})),[_0x16fe89,_0x3f0f35]=$('relationLayout'),[_0x261ec0,_0xeff720]=$(_0xc2cc24(0x4a4)),[_0x1bb333,_0x256fd5]=$(_0xc2cc24(0x332)),[_0xeaf3b4,_0x5db998]=$(_0xc2cc24(0x2f4)),[_0xd1ca51,_0x5a3a7e]=$(_0xc2cc24(0x461)),_0x336c97=_0xf307a2=>{_0x5db998({..._0xeaf3b4,..._0xf307a2});},_0xbc159e=_0x55af80=>{_0x3f0f35(_0x55af80);},_0x3cd3b1=_0x16fe89===_0x37c928[_0xc2cc24(0x3a6)],_0x52f639=_0x16fe89===_0x37c928[_0xc2cc24(0x261)],_0x41ec63=_i[_0xc2cc24(0x290)](_0x26813e=>({..._0x26813e,'label':_0x1a55f4['t'](_0x26813e[_0xc2cc24(0x467)])})),[_0xacebe4,_0x275fb8]=$('relationNodeShape');return _0x5735fc(_0xc2cc24(0x1ee),{'children':[_0x5735fc('div',{'className':_0xc2cc24(0x333),'children':[_0x286043(_0xc2cc24(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a55f4['t'](_0xc2cc24(0x223))}),_0x286043(_0x35b928,{'className':_0xc2cc24(0x110),'value':String(_0xacebe4==null?_0x489146[_0xc2cc24(0xb9)]['nodeShape']:_0xacebe4),'options':_0x41ec63,'onChange':_0x408dc1=>_0x275fb8(_0x408dc1)})]},'shape'),_0x286043(_0xc2cc24(0x1ee),{'children':_0x286043(_0x1326e3,{'checked':_0x261ec0==null?!0x0:_0x261ec0,'onChange':_0x49348b=>{_0xeff720==null||_0xeff720(!!_0x49348b);},'children':_0x1a55f4['t'](_0xc2cc24(0x109))})}),_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x161),'children':_0x286043(_0x1326e3,{'checked':_0x1bb333==null?!0x0:_0x1bb333,'onChange':_0x5597b2=>{_0x256fd5(!!_0x5597b2);},'children':_0x1a55f4['t'](_0xc2cc24(0x368))})}),_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x36f),'children':_0x1a55f4['t'](_0xc2cc24(0x40f))}),_0x286043(_0x35b928,{'className':_0xc2cc24(0x110),'value':_0x16fe89==null?_0x37c928[_0xc2cc24(0x4fe)]:_0x16fe89,'options':_0x1208b0,'onChange':_0xbc159e}),_0x3cd3b1&&_0x5735fc('div',{'className':'univer-mt-4','children':[_0x286043('div',{'className':_0xc2cc24(0x231),'children':_0x1a55f4['t'](_0xc2cc24(0x2c7))}),_0x5735fc('div',{'className':_0xc2cc24(0x238),'children':[_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x1ef),'children':_0x1a55f4['t']('sheets-chart-ui.relation.repulsion')}),_0x286043(_0x1319dd,{'className':_0xc2cc24(0x1ef),'controls':!0x1,'onFocus':()=>_0x5a59d1[_0xc2cc24(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x412477=>{const _0x552f17=_0xc2cc24;_0x5a59d1[_0x552f17(0x3ab)](_0x1481d1,!0x1);},'value':(_0x49631b=_0xeaf3b4==null?void 0x0:_0xeaf3b4[_0xc2cc24(0x2e2)])==null?_0x489146[_0xc2cc24(0xb9)][_0xc2cc24(0x4b1)][_0xc2cc24(0x2e2)]:_0x49631b,'onChange':_0x115e51=>_0x336c97({'repulsion':_0x115e51})})]}),_0x5735fc(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x238),'children':[_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x1ef),'children':_0x1a55f4['t'](_0xc2cc24(0x2b4))}),_0x286043(_0x1319dd,{'className':_0xc2cc24(0x1ef),'controls':!0x1,'onFocus':()=>_0x5a59d1[_0xc2cc24(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x4f177e=>{_0x5a59d1['setContextValue'](_0x1481d1,!0x1);},'value':(_0xae3ecc=_0xeaf3b4==null?void 0x0:_0xeaf3b4[_0xc2cc24(0x15d)])==null?_0x489146[_0xc2cc24(0xb9)][_0xc2cc24(0x4b1)][_0xc2cc24(0x15d)]:_0xae3ecc,'onChange':_0x45b21e=>_0x336c97({'gravity':_0x45b21e})})]}),_0x5735fc(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x238),'children':[_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x1ef),'children':_0x1a55f4['t'](_0xc2cc24(0x488))}),_0x286043(_0x1319dd,{'className':_0xc2cc24(0x1ef),'controls':!0x1,'value':_0xeaf3b4==null?void 0x0:_0xeaf3b4[_0xc2cc24(0x322)],'onFocus':()=>_0x5a59d1[_0xc2cc24(0x3ab)](_0x1481d1,!0x0),'onBlur':_0x3ef8da=>{const _0x44bdd9=_0xc2cc24;_0x5a59d1[_0x44bdd9(0x3ab)](_0x1481d1,!0x1);},'onChange':_0x48618b=>_0x336c97({'edgeLength':_0x48618b}),'min':0x0,'step':0xa})]})]}),_0x52f639&&_0x286043(_0xc2cc24(0x1ee),{'className':_0xc2cc24(0x1ca),'children':_0x286043(_0x1326e3,{'checked':_0xd1ca51==null?_0x489146[_0xc2cc24(0xb9)]['circular']['rotateLabel']:_0xd1ca51,'onChange':_0x2f80a3=>{_0x5a3a7e(!!_0x2f80a3);},'children':_0x1a55f4['t']('sheets-chart-ui.relation.rotateLabel')})})]});}const xa=_0x489146[_0x5e57d6(0xe4)];function _0x4909(){const _0x203331=['univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','interceptCommand','scope','_renderModelManager','getDrawingOrder','text','part','sheets-chart-ui.relation.emphasis','assign','series','sheets-chart-ui.dashType.dot','sheets-chart-ui.shape.diamond','getObject','univer-w-[208px]','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','pieStyle','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','_activeChartId','sheets-chart-ui.dialog.numfmt.general','split','transform','seriesStyle','PieChartIcon','_resolveChartRenderMode','sheets-chart-ui.trendline.linear','bottom','hasOwnProperty','_removeHost$','subUnitId','attachPopupToDynamicAbsolutePosition','sheets-chart-ui.chartTypes.line','color','pareto','startRow','updateWatermark','_canvasFloatDomService','Percent','sheets-chart-ui.trendline.trendlineDashType','rightYAxisTitle','_initPrinting','univer-size-4','axes','categoryIndex','sheets-chart-ui.shape.circle','univer-mr-2\x20univer-text-2xl','sheets-chart-ui.default','Stacked','ColumnChartIcon','priority','getRect','13:30','_registerComponents','_copyInfo','sheets-chart-ui.bubble.label','activeChartModel$','sheets-chart-ui.waterfall.stacked','sheets-chart-ui.chartTypes.scatter','sheets-chart-ui.chartTypes.sankey','_url','Horizontal','Inside','Funnel','_activeEditChart$','find','sheets-chart-ui.host.provider','endColumn','sheets-chart-ui.indicatorLineType','darkMode$','Force','getFocusDrawings','Hide','stackType','seriesIndex','setContextValue','sheets-chart-ui.color','unsubscribe','copyType','hasPaddingAngle','getColors','seriesResourceList','univer-text-2xl','remove$','showLabelLine','paretoBarSeries','radar','allSeriesStyle','下午1:30:30','sheets-chart-ui.chartAndAxisTitles','_generatePasteMutations','getRangeInfo','heatmapMin','Secondary','initialRect','_getFloatDomInfo','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','sheets-chart-ui.category','_renderDebounceMap','height','save','undo','_getDrawable','pointerEvents','PercentStack','-1,234.56','createElement','onDispose','bubbleCategoryList','getValue','redo','_clearSheetChartRuntimeCaches','checkHost','_localeService','_registerChartImageRenderObjectFactory','startY','#,##0.00_);-#,##0.00','LineChartIcon','sheets-chart-ui.dialog.numfmt.dateTypes','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','_rect','sheets-chart-ui.legendVisualMapType.','13:30:30','heatmapMax','_sheetDrawingHitTestService','_clearHiddenSelectedTarget','toPrimitive','image','_selectedElement$','sheets-chart-ui.trendline.movingAvg','sheets-chart-ui.axes.useRightAxis','setElementEditMode','Error','1930年08月05日','titleFontSize','scatterLabelIndex','inactive-sheet','getUnitId','chartType','relationNodeShape','valueScale','closePath','setStyle','sheets-chart-ui.copy','dateAxisRotate','getCurrentLastSelection','_drawingManagerService','getDrawingByParam','sheets-chart-ui.trendline.pow','CHART','titlePosition','_contextService','sheets-chart-ui.dashType.solid','_init','visualMapType','univer-flex','univer-w-[--radix-popper-anchor-width]','value','sheets-chart-ui.styleEditPanel.gap','EmptyRect','querySelector','_cancelDebouncedCallbacks','sheets-chart-ui.chartTypes.funnel','add$','lineColor','1930-08-05','sheets-chart-ui.shape.emptyDiamond','length','click','dataPointsOptions','chartArea','Outside','scaleX','_urlImage','1000','sheets-chart-ui.relation.layoutType','Area','BoxplotIcon','labelStyle','sheets-chart-ui.dialog.numfmt.currencyDesc','activeEditChart$','next','sidebarOptions$','\x22#,##0.00_);[Red]\x22','univer-mb-2\x20univer-text-sm\x20univer-font-medium','close','width','Left','href','getMatrix','sheets-chart-ui.insertChart','sheets-chart-ui.waterfall.negativeLegendText','rosePie','sheets-chart-ui.value','_getChartRenderObject','_createImageChartHost','scatterYIndex','_drawingContextMenuService','rtl','arc','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','wordCloudMask','yAxisOptions','_disposeChartDomInstance','univer-flex\x20univer-items-center\x20univer-justify-between','interceptor','EmptyPin','_panelRoute$','getRuntimeContext','_initPermission','BubbleIcon','getViewState','scatterXIndex','_lastRenderInputMap','OTHERS','small','BarPercentStacked','sheets-chart-ui.legend','disposeWithMe','invert','sheets-chart-ui.titles.title','title','negative','promise','_viewState','sheets-chart-ui.trendline.formula','_registerIcons','paretoLineSeries','isNaN','_chartElementEditMode','pie','allSeriesId','getElementById','sheets-chart-ui.chartTypes.boxplot','titles','8月5日','textStyle','padAngleStyle','removeViewState','right','isFinite','Link','sheets-chart-ui.trendline.r2','_getImage','Value','Close','render','invalidValueType','createChartInstance','sheets-chart-ui.shape.rect','sheets-chart-ui.withColor','sheet','size','ScatterYIndex','delete','UPDATE','sheets-chart-ui.addDataPoint','rotateLabel','-univer-mx-4','wordCloudShape','\x22#,##0.00)','max','dispose','label','Dashed','#,##0.00_);[Red]-#,##0.00','sheets-chart-ui.invalidType.connectDataPointsWithStraightLines','waterfallStyle','sheet.numfmt.thousandthPercentile','icon','sheets-chart-ui.titles.mainTitle','isLatest','registerRenderObjectFactory','sheets-chart-ui.shape.arrow','beforeCommandExecuted','left','invalidateSnapshot','drawWith','sheets-chart-ui.waterfall.subtotalStyle','_initCopyPaste','CONTEXT_MENU','sheets-chart-ui.waterfall.stackType','style','sheets-chart-ui.relation.force','download','EmptyDiamond','rect','isRowDirection','sheets-chart-ui.waterfall.negativeStyle','sheets-chart-ui.ticks.majorTick','_createPrintingChartObject','checkChartCanRender','some','_closePopup','sheets-chart-ui.styleEditPanel.halfPie','getBatchAddOp','sheets-chart-ui.relation.edgeLength','restore','lineWidth','xAxisOptions','commitSnapshot','suffix','string','params','ChartIcon','_renderChartModel','UNIVER_SHEET','Dom','items','_subscribeChartEvents','header','_rangeSelectMode','_getHostPlacement','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','(1,235)\x20','DEFAULT_PASTE','getOwnPropertyDescriptor','_initDrawingDeactivationListener','clientX','mark','RoundRect','wordCloudRepeat','sheets-chart-ui.max','_generateCopyPasteMutations','useValueAsSymbolSize','findIndex','getRealBound','sheets-chart-ui.styleEditPanel.useDateAxis','HeatmapChartIcon','symbolSize','sheets-chart-ui.dataPoint','.png','_bindChartEventHandlers','children','_activateHostWrapper','_adapterRegistry','1,234.56','force','drawImage','sheets-chart-ui.dialog.numfmt.date','format','sheets-chart-ui.cloud.title','current','sheets-chart-ui.styleEditPanel.rosePie','nativeEvent','EmptyRoundRect','_chartInstanceMap','drawingType','setConfig','_cancelHostWait','src','updateFloatDomProps','removeHost$','sheets-chart-ui.dialog.setFormat','_setHostStyle','indicatorLabelColor','then','getSkeleton','Single','movingAvg','tab','SELECTOR','sheets-chart-ui.pareto.barSeries','sheets-chart-ui.shape.emptyPin','getCanvasElement','_setActiveChart','clientHeight','includes','naturalWidth','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','filter','Right','area','sheets-chart-ui.chartTypes.heatmap','legendStyle','fontSize','sheet.command.menu-insert-chart','applyPoint','rangeSelectMode','_activeDomReadyChartIds','borderColor','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','crossOrigin','replace','range','ColumnStacked','yyyy/MM/dd','getConfig','hidden','seriesResourceIndexes','keys','from','_bindChartEventHandler','_initCommands','getWordCloudImageMaskMap','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','top-center','PenIcon','sheets-chart-ui.gradientFill','startX','sheets-chart-ui.styleEditPanel.dateAxisTips','setActiveChartModel','sheets-chart-ui.trendline.name','baseSeriesIndex','red','_initSheetChange','log','_savedWrapperStyle','BarStacked','orient','Top','tooltip','_getOuterRect','124363fgTOIf','None','sheets-chart-ui.customChart','border','_activateEditPanelState','_getChartSnapshotKey','sheets-chart-ui.shape.square','COMMAND','_popupChartId','config','Column','Circle','sheet.numfmt.currency','sheets-chart-ui.shape.pin','trendline','useSubtotal','Numeric','@univerjs-pro/sheets-chart-ui','sheets-chart-ui.shape.emptyRect','_chartEventHandlers','_renderManagerService','_markReady','parentElement','point','item','_sheetCanvasPopManagerService','rangeInfo$','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','getHostSize','transformChange$','_listenChartUpdateMutations','zIndex','gradientFill','activeChartModel','_sheetsChartService','sheets-chart-ui.styleEditPanel.pieValScale','univer-flex\x20univer-items-center\x20univer-text-base','unitId','sheets-chart-ui.dialog.numfmt.confirm','xAxis','labelVisible','_debounceHandle','sheets-chart-ui.chartTypes.barPercentStacked','relation','_domFrame','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','sheets-chart-ui.chartStyle','executeCommand','getRenderColor','Image','getSheetBySheetId','getBoundingClientRect','blockExecuteWithoutPermission','url','bounds','auto','_snapshotKey','getContextValue','Pie','sheets-chart-ui.gridlines.text','selectMode','lineVisible','sheets-chart-ui.settingsLabels.switchToRowOrColumn','_sidebarService','getName','sheets-chart-ui.fill','syncLayout','sheets-chart-ui.styleEditPanel.labelPosition','sheets-chart-ui.dialog.numfmt.thousandthPercentile','_updateTransform','sheets-chart-ui.withShape','borderStyle','panel','sheets-chart-ui.doughnutHole','sheets-chart-ui.dialog.numfmt.currencyTypes','scene','drawingIds','sheets-chart-ui.trendline.showFormula','dataSource','sheets-chart-ui.styleEditPanel.showAxisLine','sheets-chart-ui.seriesDefaultName','_resetChartRuntimeZIndex','#,##0_);[Red](#,##0)','translate','_markHostReady','univer-box-border\x20univer-h-8\x20univer-w-full\x20univer-rounded-md\x20univer-bg-white\x20univer-px-2\x20univer-pb-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20placeholder:univer-text-gray-400\x20focus:univer-border-primary-500\x20focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-50','combination','EmptyArrow','maxDecimals','panelRoute$','sheets-chart-ui.alignY.','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','_clearChartRuntimeCache','clip','ensureHost','updateFloatDom','_deactivateEditPanelState','doughnutHole','_pendingToken','sheets-chart-ui.withFormat','ensureMount','_image','AreaChartIcon','sheets-chart-ui.exportImage','Waterfall','WaterfallChartIcon','tooltipAxisLabelBackground','directEdit','Step','univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','tooltipAxisColor','firstChartType','ImageBitmap','setRenderModel','specialChartWidthMap','univer-mb-2\x20univer-h-8','sheets-chart-ui.chartTypes.radar','_chartEventSubscriptions','_setChartRuntimeZIndex','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','innerHeight','waterfallSeries','A/P\x20h:mm','sheets-chart-ui.relation.useValueAsSymbolSize','SeriesName','subscribeEvent','univer-sheet-chart-format-dialog','CopyDoubleIcon','open','markHostNotReady','univer-w-full\x20!univer-min-w-0','sheets-chart-ui.dialog.numfmt.cancel','sheets-chart-ui.setupChart','rotate','_initActiveChartModelListener','EmptySquare','sheets-chart-ui.chartTypes.relation','univer-mb-2\x20univer-flex\x20univer-items-center','Linear','paretoStyle','sheets-chart-ui.point','object','barStyle','openChartPanelById','handleActiveSubUnitChange','getDrawingData','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','sheets-chart-ui.lineType.step','sheets-chart-ui.relation.title','ComboChartIcon','seriesList','getObjectIncludeInGroup','1,235)','type','registerViewState','_getWatermark','getRenderById','_openFloatMenu','constructor','_resolvedConfig','pow','sheets-chart-ui.styleEditPanel.reverseAxisOrder','waterfall','prototype','univer-mb-2','ColumnPercentStacked','bind','top','register','sheets-chart-ui.chartTypes.donut','style$','_chartHostProviderService','indexOf','seriesValues','sheet.operation.open-chart-panel','_chartRenderService','AreaPercentStacked','error','indicatorLineColor','otherChartType','chartObject','4230210JxEtGU','clearPanelRoute','groupId','makeDirty','5111343hbDPSe','sheets-chart-ui.shape.roundRect','sheets-chart-ui.styleEditPanel.showLabels','_draw','gridLine','showFloatMenu','univer-text-xs','concat','sheets-chart-ui.addSeries','exportImage','sheets-chart-ui.shape.polygon','offsetTop','Relation','sheets-chart-ui.visualMapScope','imageBitmap','mergeMenu','_lastActiveSheet','_entries','Overlay','defineProperty','every','getActiveSheet','gravity','ScatterChartIcon','exp','takeSnapshot','univer-my-2','key','dashType','_renderWhenConfigReady','indicator','A/P\x20hh:mm','rightYAxisOptions','sheets-chart-ui.dialog.numfmt.formatTypes','renderChartsForPrinting','seriesStyleMap','Percentage','trendlineValues','getFormatInfo','getFloatDomInfo','sheetTransform','_disposeChartEventSubscriptions','aggregate','sheets-chart-ui.styleEditPanel.labelText','target','subTitleFontSize','setActiveEditChart','7SyEGdX','Heatmap','pieBorderColor','titleKey','getChartDataSource','dataRange','univer-size-full','univer-w-full','Solid','Radar','sheets-chart-ui.waterfall.positiveLegendText','sheets-chart-ui.relation.auto','sheets-chart-ui.chartType','values','onload','4UHEvoc','shape','WordCloud','isRender','Line','getFocusedUnit','datetime','featurePluginUngroupUpdate$','abs','chartId','univer-ml-3','decorate','all','sheets-chart-ui.invalidType.zero','getCurrentTypeOfUnit$','_disposeChartRenderInstance','_generateCutPasteMutations','Text','set','getImage','_sidebarDisposable','sheets-chart-ui.lineType.smooth','SankeyChartIcon','setSelectedElement','sheets-chart-ui.line','tick','_debounceHandleMap','Arrow','sheets-chart-ui.trendline.period','syncHostLayout','sheets-chart-ui.config','scatterSymbolSize','slice','_getSceneAndTransformerByDrawingSearch','Break','showR2','wordCloud','sheets-chart-ui.titles.titleText','sheets-chart-ui.percentage','_createHost','domId','sheets-chart-ui.seriesBlock.format','sheets-chart-ui.legendSelectMode','2BvMVUg','Center','Combination','REMOVE','heatmap','contains','bubbleSizeIndex','_frameStyle','_snapshotStore','data','sheets-chart-ui.openChartPanel','sheets-chart-ui.hideChartPanel','waterfallStack','MEDIA','getCurrentUnitOfType','_disposeImage','Row','runtimeAxes','sheets-chart-ui.dialog.numfmt.currency','sheets-chart-ui.axes.rightAxis','_chartRenderMode','sheets-chart-ui.axisPositionType.','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','missing-float-dom','line','_menuManagerService','univer-mt-2','_initActiveRuntimeLayerListener','get','funnelUseAbsValue','_getOrCreateSheetChartHost','1045551TGEDKL','categoryType','indicatorLabelTextColor','_drawChartImage','useDateAxis','univer-mt-2-base','Sankey','\x22*\x20#,##0','h:mm','registerRenderModel','focusDrawing','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','logicalOuterRect','getDataSource','#,##0_);(#,##0)','sheets-chart-ui.trendline.log','piecewise','univer-flex\x20univer-flex-col\x20univer-gap-2.5','allSettled','sheets-chart-ui.withThickness','subtitle','_sheetsChartUIService','order','join','pluginName','sheets-chart-ui.invalidType.gaps','primary','pipe','visible','missing-active-sheet','sheets-chart-ui.border','div','univer-flex-1','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','chartAndAxisTitles','sheet.chart.edit.panel','funnel','_themeService','RadarChartIcon','setRangeSelectMode','route','_sheetCanvasFloatDomManagerService','sheets-chart-ui.msg.invalidSource','theme','min','univer-mt-2.5','sheets-chart-ui.gridlines.majorGridlines','chartModelAdded$','_waiter','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','radarFill','_rerenderLatest','_pendingMutationConfigRenders','Size','_commandService','sheets-chart-ui.styleEditPanel.padAngle','drawingId','getRenderModel','clearChart','Boxplot','sheets-chart-ui.titles.titleFormat','executeChartUpdateSourceConfig','funnelGap','serialize','sheets-chart-ui.series','sheets-chart-ui.chartTypes.bubble','sheets-chart-ui.deleteChart','hit','axisTitleAlign','\x22#,##0.00_);\x22','_applyActiveChartRuntimeZIndex','onCommandExecuted','dom','sheets-chart-ui.editChart','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','sheets-chart-ui.chartTypes.combination','rightVerticalAxis','PRINTING_COMPONENT_COLLECT','baseOn','CategoryName','sheets-chart-ui.axes.rightVerticalAxis','onDoubleClick$','Square','asCategory','sheets-chart-ui.dataNodeShape','sheets-chart-ui.withOpacity','dataIndex','sheets-chart-ui.dashType.dash','_clearSelectedTarget','headers','localPoint','seriesIndexes','2952918ORdpKe','poly','removeHost','_resolveLayout','axisTitle','sheets-chart-ui.bubble.yAxis','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','moveTo','fill','strokeWidth','legend','MM-dd','Multiple','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','sheets-chart-ui.axes.verticalAxis','test','_pendingHost','univer-absolute\x20univer-right-2\x20univer-top-2','_chartHostProvider','BubbleSizeIndex','sheets-chart-ui.min','clear','markNotReady','setBorder','_markNotReady','8892800oyRmfV','sheets-chart-ui.trendline.showR2','_sheetPrintInterceptorService','dblclick','_sheetDrawingService','digitalFixed','layout','Bar','sheets-chart-ui.dialog.numfmt.negativeNumberTypes','name','EmptyCircle','with','\x22#,##0.00_);[Red]-\x22','univer-box-border\x20univer-h-8','_initMenus','_version','sheets-chart-ui.dataRange','M\x22月\x22d\x22日\x22','rightYAxis','sheets-chart-ui.categoryDefaultName','xAxisTitle','dataPoints','titleAlign','sheets-chart-ui.shape.emptyTriangle','_chartHostMap','push','section','positive','forEach','Circular','direction$','BubbleSeriesIndex','reverse','sheets-chart-ui.titles.xAxisTitle','Pin','hidePanel','Pareto','_managed','univer-w-[136px]','univer-flex\x20univer-items-center','sheets-chart-ui.stackType.percent','addObject','1,235','requestPaint','sheets-chart-ui.withType','16737690NPuVUW','activeSheet$','sheets-chart-ui.dialog.numfmt.dateDesc','deepClone','isRosePie','End','isElementEditModeActive','call','_chartModelService','_createCopyInfoByRange','sheets-chart-ui.dialog.numfmt.generalDesc','Fail\x20to\x20create\x20float\x20dom','getRegisteredThemes','executeChartUpdateConfig','univer-flex-1\x20univer-overflow-auto','BarChartIcon','sheets-chart-ui.styleEditPanel.repeatWordCould','_chartThemeService','_injector','waterfallSeriesType','anonymous','sheet.command.chart.copy-focused-chart','_componentManager','_registerAdapter','startColumn','isInGroup','labelContentType','DownloadImageIcon','sheets-chart-ui.chartTypes.barStacked','sheets-chart-ui.indicatorLabel','isHit','map','sheets-chart-ui.theIndexItem','CUT','isHalfPie','sheets-chart-ui.settingsLabels.useAsCategoryLabels','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','sheets-chart-ui.titles.titleAlign','featurePluginGroupUpdate$','has','axis','Stack','#-#','version','getDirection','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Scatter','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','_drawChartFrame','univer-sheet-chart-format-dialog-id','valueSuffix','Dotted','univer-flex\x20univer-flex-col\x20univer-gap-4','offsetHeight','sheets-chart-ui.shape.triangle','scaleY','img','_chartSnapshotStoreService','radarShape','_requestChartCanvasRender','nextVersion','Diamond','DRAWING_CHART','sheets-chart-ui.styleEditPanel.pieValSuffix','_openEditPanelByDoubleClick','date','_disposeChartEventSubscription','sheets-chart-ui.relation.gravity','BUTTON','lineStyle','isConnected','_hostStyle','\x22#,##0.00','none','sheets-chart-ui.styleEditPanel.useAbsValue','setPanelRoute','mountNode','A/P\x20h:mm:ss','config$','sheets-chart-ui.styleEditPanel.labelRotate','dataPoint','sheet.command.chart.open-focused-panel','_applyHostStyle','sheets-chart-ui.dialog.numfmt.accounting','univer-rounded-lg\x20univer-p-2','sheets-chart-ui.bubble.xAxis','sheets-chart-ui.relation.forceOptions','sheets-chart-ui.legendSelectModeType.','onRendered','MM-dd\x20A/P\x20hh:mm','chartStyle','nodeShape','_(\x22','registerCommand','sheet.numfmt.accounting','_sheetPermissionCheckController','RelationshipIcon','subtotal','linear','dataAggregation$','showFormula','sheet.numfmt.date','_restoreHostWrapper','rangeInfo','_univerInstanceService','gap','_getOrCreateChartRenderInstance','sheets-chart.ui.service','asObservable','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','sheets-chart-ui.positionType.','_popupDisposable','update','repulsion','getUnit','period','#,##0.00_);[Red]#,##0.00','offsetWidth','remove','position','activeEditChart','_openPanel','entries','paretoDataPointsOptions','reduce','checkMounted','complete','sheets-chart-ui.styleEditPanel.showDataLabels','context$','_sheetSkeletonService','engine','forceOption','kind','sheets-chart-ui.waterfall.negative','_renderAfterChartUpdateMutation','08-05\x20下午\x2001:30','naturalHeight','sheets-chart-ui.dialog.numfmt.decimalPlaces','Bottom','wordCloudRenderConfig','sheets-chart-ui.chartTypes.bar','areaOpacity','UniverSheetsChartUIPlugin','setHostStyle','sheets-chart-ui.chartTypes.areaPercentStacked','sheets-chart-ui.waterfall.positiveStyle','isArray','sheets-chart-ui.chartTypes.areaStacked','getTransformerByCreate','Zero','cancel','mode','objects','_sheetInterceptorService','#,##0.00_);#,##0.00','button','enableChartElementFloatMenu','ScatterLabelIndex','sheets-chart-ui.axes.horizontalAxis','sheet.numfmt.general','sheet.operation.hide-chart-panel','add','startsWith','_iconManager','seriesId','getBatchUpdateOp','_focusedDrawings','initPanel','sheets-chart-ui.stack','_disposed','sheets-chart-ui.settingsLabels.showEmptyCellsAs','_createChartRenderInstanceContext','INSERT','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','getSheetId','multiply','yAxis','edgeLength','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','sheets-chart-ui.none','_getPlacement','_getChartRenderSkipReason','Arrangement','exportImg','sheets-chart-ui.chartTypes.column','resize','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','sheets-chart-ui.permission.editErr','ScatterXIndex','category','Bubble','AreaStacked','horizontalAxis','useEmphasis','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','markUnmanaged','getChartModel','_shouldSuppressSnapshot','number','getTheme','sheets-chart-ui.shape.emptyRoundRect','bar','lineTo','classType','sheets-chart-ui.titles.yAxisTitle','chartRenderMode','opacity','setProps','getSubUnitId','selectedElement$','circular','span','beginPath','sheets-chart-element-float-menu','Doughnut','chartModelId','_config','transparent','sort','markReady','_isProviderDisposed','function','sheets-chart-ui.backgroundColor','trendlines','sheets-chart-ui.chartTypes.pie','ensureHandle','packageName','resolve','content','univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chartThemeColorType','onTransformChange$','onStarting','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheets-chart-ui.waterfall.arrangement','getSheetBySheetName','subscribe','1.0.0-alpha.7','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','sheets-chart-ui.trendline.poly'];_0x4909=function(){return _0x203331;};return _0x4909();}function Sa(_0x41cd0c,_0xb3c359){const _0x13875d=_0x5e57d6;let [_0x4ea51f]=$('seriesStyleMap'),[_0x3be472]=$('seriesValues'),_0x1aa244=_0xb3c359===_0x489146[_0x13875d(0x447)],_0x5372f9=_0x4ea51f==null?void 0x0:_0x4ea51f[_0xb3c359];return _0x41cd0c===_0xca8a9a[_0x13875d(0x1b2)]?_0x1aa244?((()=>{const _0x48eda0=_0x13875d;let _0x271412=_0x3be472==null?void 0x0:_0x3be472[_0x48eda0(0x290)]((_0x489c01,_0x18402b)=>{const _0x1d46d2=_0x48eda0;var _0x35a31c;let _0x127ec3=_0x4ea51f==null?void 0x0:_0x4ea51f[_0x489c01],_0x1d4799=_0x18402b===0x0?xa[_0x1d46d2(0xfd)]:xa['otherChartType'];return(_0x35a31c=_0x127ec3==null?void 0x0:_0x127ec3[_0x1d46d2(0x3ea)])==null?_0x1d4799:_0x35a31c;}),_0x4b9584=_0x271412==null?void 0x0:_0x271412[0x0];return _0x271412!=null&&_0x271412[_0x48eda0(0x15b)](_0x138d12=>_0x138d12===_0x4b9584)?_0x4b9584:_0xca8a9a[_0x48eda0(0x4fe)];})()):((()=>{const _0x426aad=_0x13875d;var _0x10e397;let _0x1ff364=_0xb3c359===String(_0x3be472==null?void 0x0:_0x3be472[0x0])?xa[_0x426aad(0xfd)]:xa[_0x426aad(0x141)];return(_0x10e397=_0x5372f9==null?void 0x0:_0x5372f9[_0x426aad(0x3ea)])==null?_0x1ff364:_0x10e397;})()):_0x41cd0c;}const Ca=_0x47e57a=>{const _0xceebe0=_0x5e57d6;let {seriesId:_0xbbf0bd}=_0x47e57a,_0x39f715=_0x1d4ad7(_0x4a3b9f),_0x5d5c23=fi[_0xceebe0(0x290)](_0x59c424=>({..._0x59c424,'label':_0x39f715['t'](_0x59c424[_0xceebe0(0x467)])})),[_0x3f4cb6,_0x46993f]=$('seriesStyleMap'),[_0x2f9c0f]=$(_0xceebe0(0x13b)),_0x4eaf06=_0x2d0a51(_0x1e4941=>{const _0x521677=_0xceebe0;let _0x2845f0=Number(_0x1e4941);if(_0xbbf0bd===_0x489146['allSeriesId']){let _0x3d79eb=_0x2f9c0f==null?void 0x0:_0x2f9c0f[_0x521677(0x2ed)]((_0xb7c7e6,_0x20f591)=>(_0xb7c7e6[String(_0x20f591)]={'chartType':_0x2845f0},_0xb7c7e6),{});if(!_0x3d79eb)return;_0x46993f(_0x3d79eb);}else _0x46993f({[_0xbbf0bd]:{'chartType':_0x2845f0}});},[_0xbbf0bd]),_0x4f6d6e=Sa(_0xca8a9a['Combination'],_0xbbf0bd),_0x2e90ba=String(_0x4f6d6e==null?'':_0x4f6d6e);return _0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x4f6d6e===_0xca8a9a['None']?'':_0x2e90ba,'options':_0x5d5c23,'onChange':_0x4eaf06});},wa={'shape':_0x489146[_0x5e57d6(0x3b6)]['symbolType'],'size':_0x489146[_0x5e57d6(0x3b6)]['symbolSize'],'color':void 0x0},Ta=['shape',_0x5e57d6(0x45c),_0x5e57d6(0x381)],Ea=_0x4c526c=>{let {setSeriesStyle:_0xc73766,pointStyle:_0x1a7083}=_0x4c526c;return _0x1d4ad7(_0x4a3b9f),_0x286043(fa,{'pointStyle':{...wa,..._0x1a7083},'controls':Ta,'onChange':(_0x3b3c5b,_0x227246)=>_0xc73766({'point':{[_0x3b3c5b]:_0x227246}})});},Da={'fontSize':_0x489146[_0x5e57d6(0x44c)][_0x5e57d6(0x4d7)],'contentType':_0x489146[_0x5e57d6(0x28b)],'position':_0x489146[_0x5e57d6(0x44c)][_0x5e57d6(0x2e8)]},Oa=[mi()],ka=_0x489146[_0x5e57d6(0xd5)],Aa=[_0x5e57d6(0x186),_0x5e57d6(0x45c),_0x5e57d6(0x381)],ja=[_0x5e57d6(0x186),_0x5e57d6(0x45c)],Ma=_0x4ad544=>(_0x4ad544&_0xca8a9a[_0x5e57d6(0x189)])>0x0||(_0x4ad544&_0xca8a9a['Area'])>0x0?ka['specialChartWidthMap']['lineOrArea']:_0x4ad544===_0xca8a9a[_0x5e57d6(0x17f)]?ka[_0x5e57d6(0x100)][_0x5e57d6(0x3b6)]:ka[_0x5e57d6(0x41a)],Na=_0x22ed37=>{const _0xdf3a08=_0x5e57d6;var _0x15e915,_0x130296,_0x5b363e,_0x4b7498;let {chartType:_0x5a4037,selectedSeriesId:_0x41b8ef}=_0x22ed37,_0x44076d=_0x1d4ad7(_0x4a3b9f),_0x5570d6=_0x209200(_0x44076d[_0xdf3a08(0x262)],_0x44076d['getDirection']()),_0x14ac5d=_0x5f47d8(()=>_0x5570d6===_0xdf3a08(0x426)?_0x503aac:{},[_0x5570d6]),_0x467195=_0x5f47d8(()=>{const _0x114dac=_0xdf3a08;var _0x4eeb1b;return{...Da,...(_0x4eeb1b=_0x14ac5d['allSeriesStyle'])==null?void 0x0:_0x4eeb1b[_0x114dac(0x467)]};},[_0x14ac5d]),_0x441dbe=wi['map'](_0x4036e6=>({..._0x4036e6,'label':_0x44076d['t'](_0x4036e6[_0xdf3a08(0x467)])})),_0x49d186=_0x5f47d8(()=>zi[_0xdf3a08(0x4d2)](_0x208d9e=>_0x5a4037===_0xca8a9a['Radar']?_0x208d9e[_0xdf3a08(0x3fd)]!==String(_0x41401c[_0xdf3a08(0x10a)])&&_0x208d9e[_0xdf3a08(0x3fd)]!==String(_0x41401c[_0xdf3a08(0x16b)]):ca['has'](_0x5a4037)?!0x0:_0x208d9e[_0xdf3a08(0x3fd)]!==String(_0x41401c[_0xdf3a08(0x16b)]))['map'](_0x578d32=>({'value':_0x578d32[_0xdf3a08(0x3fd)],'label':_0x44076d['t'](_0x578d32[_0xdf3a08(0x467)])})),[_0x5a4037,_0x44076d]),[_0x4d1d02]=Oa[_0xdf3a08(0x290)](_0x398404=>({..._0x398404,'label':_0x44076d['t'](_0x398404[_0xdf3a08(0x467)])})),[_0x4e0102,_0x59c5e9]=_0x41b73e(_0x489146['allSeriesId']),_0x174410=_0x4e0102===_0x489146[_0xdf3a08(0x447)],[_0x253374,_0x28adaf]=$(_0xdf3a08(0x3b7)),[_0x230134,_0x5b51f6]=$(_0xdf3a08(0x16a)),[_0x490f0e]=$('dataPointsOptions'),_0x355b4a=_0x230134==null?void 0x0:_0x230134[_0x4e0102],[_0x14fe26]=$(_0xdf3a08(0x124)),_0x4903f8=_0x355b4a==null?void 0x0:_0x355b4a['dataPoints'],_0x28b08a=_0x5f47d8(()=>_0x14fe26?[_0x4d1d02,..._0x14fe26]:[],[_0x4d1d02,_0x14fe26]);_0x214f89(()=>{const _0x5744d6=_0xdf3a08;var _0x48c9c1;if(!_0x41b8ef||_0x28b08a[_0x5744d6(0x407)]===0x0)return;let _0x59f93f=_0x28b08a['find'](_0x28762f=>_0x28762f[_0x5744d6(0x3fd)]===_0x41b8ef),_0x5c33a5=_0x28b08a[_0x5744d6(0x3a1)](_0x24ee48=>_0x24ee48[_0x5744d6(0x3fd)]!==_0x489146[_0x5744d6(0x447)]),_0x34f606=(_0x48c9c1=_0x59f93f==null?void 0x0:_0x59f93f[_0x5744d6(0x3fd)])==null?_0x5c33a5==null?void 0x0:_0x5c33a5[_0x5744d6(0x3fd)]:_0x48c9c1;_0x34f606&&_0x59c5e9(_0x34f606);},[_0x41b8ef,_0x28b08a]);let _0x3f30cd=_0x5a4037?_0x17e760['has'](_0x5a4037,_0x37d654[_0xdf3a08(0x39d)]):!0x1,_0x5c6284=Sa(_0x5a4037,_0x4e0102),_0x4fd490=_0x5c6284===_0xca8a9a[_0xdf3a08(0x189)],_0x1edefd=(_0x5c6284&_0xca8a9a[_0xdf3a08(0x410)])>0x0,_0x3f7c6f=_0x5c6284===_0xca8a9a[_0xdf3a08(0x17f)],_0x4cad38=_0x5c6284===_0xca8a9a[_0xdf3a08(0x29f)],_0x2ad060=_0x4fd490||_0x1edefd,_0x26e6b4=(_0x5a4037&_0xca8a9a['Pie'])>0x0||_0x3f7c6f,_0x14b255=Ma(_0x5a4037),_0x55b040=_0x2d0a51(_0x2a1034=>{_0x5b51f6({[_0x4e0102]:_0x2a1034});},[_0x4e0102]),_0x9e825d=_0x5bbbf6=>{_0x174410?_0x28adaf(_0x5bbbf6):_0x55b040(_0x5bbbf6);},_0x2478be={..._0x355b4a==null?void 0x0:_0x355b4a[_0xdf3a08(0x500)]},_0x4ab8bf=Object[_0xdf3a08(0x369)]({'color':'transparent','opacity':ka[_0xdf3a08(0x33f)],'width':_0x14b255,'dashType':ka[_0xdf3a08(0x163)]},_0x2478be),_0x2b1571=Object[_0xdf3a08(0x369)]({'color':'transparent','opacity':ka[_0xdf3a08(0x33f)],'width':_0x14b255,'dashType':ka[_0xdf3a08(0x163)]},_0x253374==null?void 0x0:_0x253374[_0xdf3a08(0x500)]),_0xd5c9bf=Object['assign']({'shape':_0x489146['point'][_0xdf3a08(0x186)],'size':_0x4cad38?_0x489146[_0xdf3a08(0x514)][_0xdf3a08(0x1a4)]:_0x489146[_0xdf3a08(0x514)]['size'],'color':_0xdf3a08(0x34a)},_0x253374==null?void 0x0:_0x253374[_0xdf3a08(0x514)],_0x355b4a==null?void 0x0:_0x355b4a['point']),_0x386ed9=_0x174410?(_0x15e915=_0x253374==null?void 0x0:_0x253374['label'])==null?{}:_0x15e915:Object[_0xdf3a08(0x369)]({},_0x253374==null?void 0x0:_0x253374[_0xdf3a08(0x467)],_0x355b4a==null?void 0x0:_0x355b4a[_0xdf3a08(0x467)]),_0x230ea2=(_0x130296=(_0x5b363e=_0x355b4a==null?void 0x0:_0x355b4a[_0xdf3a08(0x256)])==null?_0x253374==null?void 0x0:_0x253374[_0xdf3a08(0x256)]:_0x5b363e)==null?(_0x4b7498=_0x14ac5d['allSeriesStyle'])==null?void 0x0:_0x4b7498[_0xdf3a08(0x256)]:_0x130296,_0x35a978=_0x5c6284===_0xca8a9a['None']||_0x5a4037===_0xca8a9a[_0xdf3a08(0x1b2)]&&_0x5c6284===_0xca8a9a['Column']&&_0x174410,_0x144131=_0x2d0a51(_0x5d80fe=>{const _0x3f5e8c=_0xdf3a08;_0x355b4a&&_0x355b4a[_0x3f5e8c(0x259)]&&_0x355b4a[_0x3f5e8c(0x259)][_0x5d80fe]||_0x5b51f6({[_0x4e0102]:{'dataPoints':{[_0x5d80fe]:{}}}});},[_0x355b4a,_0x4e0102]),_0x286c90=_0x2d0a51(_0x3ffd1f=>{_0x5b51f6({[_0x4e0102]:{'dataPoints':_0x3ffd1f}});},[_0x4e0102]);return _0x5735fc(_0xecfe96,{'children':[_0x286043(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x356),'children':_0x286043(_0x35b928,{'className':_0xdf3a08(0x110),'value':_0x4e0102,'onChange':_0x4935fa=>_0x59c5e9(_0x4935fa),'options':_0x28b08a})}),_0x5a4037===_0xca8a9a[_0xdf3a08(0x1b2)]&&_0x5735fc(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x356),'children':[_0x286043(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x518),'children':_0x44076d['t'](_0xdf3a08(0x182))}),_0x286043(Ca,{'seriesId':_0x4e0102})]}),_0x5735fc(_0xdf3a08(0x1ee),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[!_0x35a978&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x1da),'children':_0x44076d['t'](_0xdf3a08(0x1ae))}),(!_0x4cad38||_0x4cad38&&!_0x174410)&&_0x286043(ua,{'chartType':_0x5a4037,'allSeriesStyle':_0x253374,'controlName':_0x44076d['t'](_0x4fd490?'sheets-chart-ui.line':_0xdf3a08(0xcf)),'seriesStyle':_0x174410?_0x253374:_0x355b4a,'onSeriesStyleChange':_0x9e825d}),!_0x4cad38&&_0x286043(da,{'isLineOrAreaChart':_0x2ad060,'allSeriesBorderStyle':_0x253374==null?void 0x0:_0x253374[_0xdf3a08(0x500)],'hideBorder':!_0x4fd490,'controlName':_0x44076d['t'](_0x4fd490||_0x3f7c6f?_0xdf3a08(0x19d):_0xdf3a08(0x1ed)),'borderStyle':_0x174410?_0x2b1571:_0x4ab8bf,'onSeriesStyleChange':_0x9e825d}),(_0x2ad060||_0x4cad38)&&_0x286043(fa,{'pointStyle':_0xd5c9bf,'onChange':(_0x16ae15,_0x405f53)=>_0x9e825d({'point':{[_0x16ae15]:_0x405f53}}),'controls':_0x174410?ja:Aa})]}),!_0x3f30cd&&!_0x174410&&!_0x26e6b4&&_0x286043(pa,{'rightYAxis':!!_0x230ea2,'onSeriesStyleChange':_0x9e825d})]}),_0x5735fc(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x356),'children':[!_0x174410&&_0x3f7c6f&&_0x286043(Ea,{'pointStyle':_0x355b4a==null?void 0x0:_0x355b4a[_0xdf3a08(0x514)],'setSeriesStyle':_0x9e825d}),!_0x174410&&!_0x3f7c6f&&_0x5735fc(_0xecfe96,{'children':[_0x5735fc(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x105),'children':[_0x286043(_0xdf3a08(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x286043('div',{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x44076d['t'](_0xdf3a08(0xf1),_0x44076d['t'](_0xdf3a08(0x4aa)))})}),_0x286043('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x286043(_0x5b6b2d,{'value':_0x4e0102,'menus':_0x490f0e==null?[]:_0x490f0e,'onSelect':_0x4a11a2=>_0x144131(+_0x4a11a2),'children':_0x5735fc(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x31e),'children':[_0x286043(_0x2f1d7b,{}),_0x286043(_0xdf3a08(0x344),{'children':_0x44076d['t'](_0xdf3a08(0x460))})]})})})]}),_0x4903f8&&_0x286043(ga,{'chartType':_0x5a4037,'data':_0x4903f8,'options':_0x490f0e==null?[]:_0x490f0e,'onChange':_0x286c90})]})]}),_0x286043(_0xdf3a08(0x1ee),{'className':_0xdf3a08(0x356),'children':_0x286043(la,{'fallbackLabelStyle':_0x467195,'labelStyle':_0x386ed9,'positionOptions':_0x441dbe,'contentTypeOptions':_0x49d186,'onLabelStyleChange':(_0x5906e4,_0x377960)=>_0x9e825d({'label':{[_0x5906e4]:_0x377960}}),'onVisibleChange':_0x171dec=>_0x9e825d({'label':{'visible':_0x171dec}}),'isPieLike':!0x1,'chartType':_0x5a4037})})]});},Pa=()=>{const _0x134b5d=_0x5e57d6;var _0x9a1de4,_0x579f50,_0x55d14b,_0x35f3c1;let _0x8faced=_0x1d4ad7(_0x4a3b9f),_0x2b2b15=_0x1d4ad7(_0x1b2842),[_0x5e518a,_0x35dbf2]=$('trendlineValues'),[_0x618351,_0xfed92e]=_0x41b73e(0x0),_0x4536d4=xi[_0x134b5d(0x290)](_0x5340f5=>({'label':_0x5735fc('div',{'className':_0x134b5d(0x1f0),'children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x521),'children':Si==null?void 0x0:Si[_0x5340f5[_0x134b5d(0x3fd)]]}),_0x286043(_0x134b5d(0x1ee),{'className':'univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x8faced['t'](_0x5340f5['label'])})]}),'value':_0x5340f5[_0x134b5d(0x3fd)]})),_0x4f8753=gi[_0x134b5d(0x290)](_0x320987=>({..._0x320987,'label':_0x8faced['t'](_0x320987[_0x134b5d(0x467)])})),_0x101f9b=yi[_0x134b5d(0x1a5)](0x1),_0x5c1d97=(_0x5e518a||[])[_0x134b5d(0x290)]((_0x1ac918,_0x4f296b)=>({'label':_0x1ac918[_0x134b5d(0x24d)],'value':String(_0x4f296b)})),_0x23cf0b=_0x2d0a51(_0x2c761e=>{if(_0x5e518a){let _0xfe579f=[..._0x5e518a];_0xfe579f[_0x618351]={..._0xfe579f[_0x618351],..._0x2c761e},_0x35dbf2(_0xfe579f);}},[_0x5e518a,_0x618351]),_0x3c069f=_0x5f47d8(()=>_0x5e518a?_0x5e518a[_0x618351]:void 0x0,[_0x5e518a,_0x618351]),[_0x9d4d3b,_0x34572c]=_0x41b73e((_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x24d)])||'');return _0x5e518a===void 0x0||_0x5e518a[_0x134b5d(0x407)]===0x0?null:_0x5735fc(_0x134b5d(0x25e),{'className':_0x134b5d(0x356),'children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x618351),'onChange':_0x4fc230=>_0xfed92e(Number(_0x4fc230)),'options':_0x5c1d97})}),_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t']('sheets-chart-ui.trendline.displayName')}),_0x286043('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x286043(_0x5d055d,{'value':_0x9d4d3b,'onChange':_0x34572c,'onBlur':()=>{const _0x19ee55=_0x134b5d;_0x2b2b15[_0x19ee55(0x3ab)](_0x1481d1,!0x1),_0x9d4d3b?_0x23cf0b==null||_0x23cf0b({'name':_0x9d4d3b}):_0x34572c((_0x3c069f==null?void 0x0:_0x3c069f[_0x19ee55(0x24d)])||'');},'onFocus':()=>{const _0x24eee0=_0x134b5d;_0x2b2b15[_0x24eee0(0x3ab)](_0x1481d1,!0x0);}})}),_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x387))}),_0x5735fc('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x286043(_0x35b928,{'className':_0x134b5d(0x3c0),'value':String(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x127)]),'onChange':_0xb26597=>_0x23cf0b==null?void 0x0:_0x23cf0b({'type':_0xb26597}),'options':_0x4536d4}),_0x286043(_0x134b5d(0x1ee),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x286043(_0x1326e3,{'checked':(_0x3c069f==null?void 0x0:_0x3c069f['showFormula'])||_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x2d5)],'onChange':_0x3df5a3=>_0x23cf0b({'showFormula':!!_0x3df5a3}),'children':_0x8faced['t'](_0x134b5d(0xdb))})}),_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0xe9),'children':_0x286043(_0x1326e3,{'checked':(_0x3c069f==null?void 0x0:_0x3c069f['showR2'])||_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x1a8)],'onChange':_0x4b07a1=>_0x23cf0b({'showR2':!!_0x4b07a1}),'children':_0x8faced['t'](_0x134b5d(0x245))})}),((_0x3c069f==null?void 0x0:_0x3c069f['type'])===_0x73f7cd[_0x134b5d(0x22c)]||(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x127)])===_0x73f7cd['movingAvg'])&&_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x161),'children':[(_0x3c069f==null?void 0x0:_0x3c069f['type'])===_0x73f7cd[_0x134b5d(0x22c)]&&_0x5735fc(_0xecfe96,{'children':[_0x286043('div',{'className':_0x134b5d(0x231),'children':_0x8faced['t']('sheets-chart-ui.trendline.order')}),_0x286043(_0x35b928,{'className':_0x134b5d(0x110),'value':String((_0x9a1de4=_0x3c069f==null?void 0x0:_0x3c069f['order'])==null?_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x1e5)]:_0x9a1de4),'options':Ci,'onChange':_0x2dd351=>_0x23cf0b==null?void 0x0:_0x23cf0b({'order':Number(_0x2dd351)})})]}),(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x127)])===_0x73f7cd[_0x134b5d(0x4c7)]&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x1a1))}),_0x286043(_0x1319dd,{'value':(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x2e4)])||_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x2e4)],'onChange':_0x233d43=>_0x23cf0b==null?void 0x0:_0x23cf0b({'period':Math['floor'](_0x233d43)})})]})]}),_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x1ae))}),_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x361),'children':[_0x5735fc('div',{'className':_0x134b5d(0x372),'children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x45a),_0x8faced['t']('sheets-chart-ui.trendline.name'))}),_0x286043(_0x3aacc5,{'color':(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x381)])||'','onChange':_0x5996dd=>_0x23cf0b==null?void 0x0:_0x23cf0b({'color':_0x5996dd})})]}),_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x372),'children':[_0x286043('div',{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x224),_0x8faced['t']('sheets-chart-ui.trendline.name'))}),_0x286043(_0x35b928,{'className':_0x134b5d(0x110),'value':String((_0x579f50=_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x33f)])==null?_0x489146[_0x134b5d(0x50b)]['opacity']:_0x579f50),'options':hi,'onChange':_0x3f75d0=>_0x23cf0b==null?void 0x0:_0x23cf0b({'opacity':Number(_0x3f75d0)})})]})]}),_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x361),'children':[_0x5735fc('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x8faced['t'](_0x134b5d(0x270),_0x8faced['t'](_0x134b5d(0x4f2)))}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x55d14b=_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x163)])==null?_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x163)]:_0x55d14b),'options':_0x4f8753,'onChange':_0x3ab0d5=>_0x23cf0b==null?void 0x0:_0x23cf0b({'dashType':_0x3ab0d5})})]}),_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x372),'children':[_0x286043(_0x134b5d(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x8faced['t']('sheets-chart-ui.withThickness',_0x8faced['t'](_0x134b5d(0x4f2)))}),_0x286043(_0x35b928,{'className':_0x134b5d(0x110),'value':String((_0x35f3c1=_0x3c069f==null?void 0x0:_0x3c069f['width'])==null?_0x489146[_0x134b5d(0x50b)][_0x134b5d(0x41a)]:_0x35f3c1),'options':_0x101f9b,'onChange':_0x2ffd33=>_0x23cf0b==null?void 0x0:_0x23cf0b({'width':Number(_0x2ffd33)})})]})]}),(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x127)])!==_0x73f7cd[_0x134b5d(0x4c7)]&&_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x361),'children':[(_0x3c069f==null?void 0x0:_0x3c069f['showFormula'])&&_0x5735fc(_0x134b5d(0x1ee),{'className':_0x134b5d(0x372),'children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x45a),_0x8faced['t'](_0x134b5d(0x441)))}),_0x286043(_0x3aacc5,{'color':(_0x3c069f==null?void 0x0:_0x3c069f['formulaColor'])||'','onChange':_0x5b690a=>_0x23cf0b==null?void 0x0:_0x23cf0b({'formulaColor':_0x5b690a})})]}),(_0x3c069f==null?void 0x0:_0x3c069f[_0x134b5d(0x1a8)])&&_0x5735fc(_0x134b5d(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x286043(_0x134b5d(0x1ee),{'className':_0x134b5d(0x231),'children':_0x8faced['t'](_0x134b5d(0x45a),_0x8faced['t'](_0x134b5d(0x452)))}),_0x286043(_0x3aacc5,{'color':(_0x3c069f==null?void 0x0:_0x3c069f['r2Color'])||'','onChange':_0xab3ef9=>_0x23cf0b==null?void 0x0:_0x23cf0b({'r2Color':_0xab3ef9})})]})]})]})]});},Fa={'fontSize':_0x489146['textStyle']['fontSize'],'contentType':_0x489146[_0x5e57d6(0x28b)],'position':_0x489146[_0x5e57d6(0x44c)][_0x5e57d6(0x2e8)]},Ia=()=>{const _0x3c0fad=_0x5e57d6;var _0x474750,_0x471dc3,_0x5a6436,_0x26486d,_0x183cd8,_0x20993f,_0x32ae74,_0x29fa6b,_0x2d730d,_0x389e77,_0x46a9ce,_0x57ba3e,_0x1fc52b,_0x319059,_0x945299,_0x3d8b2c,_0x58a659;let _0x4c7c58=_0x1d4ad7(_0x4a3b9f),_0x555389=wi[_0x3c0fad(0x290)](_0xe3b3c1=>({..._0xe3b3c1,'label':_0x4c7c58['t'](_0xe3b3c1[_0x3c0fad(0x467)])})),_0x14ecdc=_0x5f47d8(()=>zi[_0x3c0fad(0x4d2)](_0x445949=>_0x445949[_0x3c0fad(0x3fd)]!==String(_0x41401c[_0x3c0fad(0x16b)]))[_0x3c0fad(0x290)](_0x3f615b=>({'value':_0x3f615b[_0x3c0fad(0x3fd)],'label':_0x4c7c58['t'](_0x3f615b[_0x3c0fad(0x467)])})),[_0x4c7c58]),_0x5a7dce=_0x1d4ad7(_0x1b2842),[_0x2b6644,_0x4e5375]=_0x41b73e(_0x489146[_0x3c0fad(0x447)]),_0x35c5df=_0x2b6644===_0x489146['allSeriesId'],[_0x598606,_0x4e00e2]=$(_0x3c0fad(0x3b7)),[_0x4f38c6,_0x4ad7cf]=$(_0x3c0fad(0x16a)),[_0x5e4f79]=$(_0x3c0fad(0x124)),[_0x282f1e]=$('waterfallStack'),_0x421491=_0x282f1e!==_0x5aeb42[_0x3c0fad(0x390)],[_0x593ad8]=[mi()]['map'](_0x1d2cee=>({..._0x1d2cee,'label':_0x4c7c58['t'](_0x1d2cee['label'])})),_0x544af1=_0x4f38c6==null?void 0x0:_0x4f38c6[_0x2b6644],_0x8d9268=_0x5f47d8(()=>_0x5e4f79?[_0x593ad8,..._0x5e4f79]:[],[_0x593ad8,_0x5e4f79]),_0x3b4409=_0xa2b35e=>{_0x35c5df?_0x4e00e2(_0xa2b35e):_0x4ad7cf({[_0x2b6644]:_0xa2b35e});},_0x2e3eb5=_0x489146[_0x3c0fad(0xd5)],_0x1275c4={'color':'transparent','opacity':_0x2e3eb5[_0x3c0fad(0x33f)],'width':0x0,'dashType':_0x2e3eb5[_0x3c0fad(0x163)]},_0x343fcc=_0x35c5df?{..._0x1275c4,..._0x598606==null||(_0x474750=_0x598606[_0x3c0fad(0x130)])==null||(_0x474750=_0x474750['positive'])==null?void 0x0:_0x474750[_0x3c0fad(0x500)]}:{..._0x1275c4,..._0x544af1==null||(_0x471dc3=_0x544af1[_0x3c0fad(0x130)])==null||(_0x471dc3=_0x471dc3[_0x3c0fad(0x25f)])==null?void 0x0:_0x471dc3[_0x3c0fad(0x500)]},_0x262f5f=_0x35c5df?{..._0x1275c4,..._0x598606==null||(_0x5a6436=_0x598606['waterfall'])==null||(_0x5a6436=_0x5a6436[_0x3c0fad(0x43e)])==null?void 0x0:_0x5a6436[_0x3c0fad(0x500)]}:{..._0x1275c4,..._0x544af1==null||(_0x26486d=_0x544af1[_0x3c0fad(0x130)])==null||(_0x26486d=_0x26486d[_0x3c0fad(0x43e)])==null?void 0x0:_0x26486d['border']},_0x8f7ffd=_0x35c5df?{..._0x1275c4,..._0x598606==null||(_0x183cd8=_0x598606[_0x3c0fad(0x130)])==null||(_0x183cd8=_0x183cd8[_0x3c0fad(0x2d2)])==null?void 0x0:_0x183cd8[_0x3c0fad(0x500)]}:{..._0x1275c4,..._0x544af1==null||(_0x20993f=_0x544af1['waterfall'])==null||(_0x20993f=_0x20993f[_0x3c0fad(0x2d2)])==null?void 0x0:_0x20993f[_0x3c0fad(0x500)]},_0xa3c414=(_0x34b4be,_0x55f507)=>{const _0x47dd82=_0x3c0fad;if(_0x55f507===_0x4a90b8[_0x47dd82(0x2d2)])return _0x4c7c58['t']('sheets-chart-ui.waterfall.subtotal');let _0x320a5f=_0x5e4f79==null?void 0x0:_0x5e4f79[_0x47dd82(0x3a1)](_0x157645=>_0x157645['value']===_0x34b4be);if(_0x320a5f){let _0x40f016=_0x320a5f[_0x47dd82(0x467)];switch(_0x55f507){case _0x4a90b8[_0x47dd82(0x25f)]:return _0x40f016+'-('+_0x4c7c58['t']('sheets-chart-ui.waterfall.positive')+')';case _0x4a90b8[_0x47dd82(0x43e)]:return _0x40f016+'-('+_0x4c7c58['t'](_0x47dd82(0x2f6))+')';default:return _0x40f016;}}return'';},_0x11f369=_0x35c5df?(_0x32ae74=_0x598606==null?void 0x0:_0x598606[_0x3c0fad(0x467)])==null?{}:_0x32ae74:Object[_0x3c0fad(0x369)]({},_0x598606==null?void 0x0:_0x598606[_0x3c0fad(0x467)],_0x544af1==null?void 0x0:_0x544af1[_0x3c0fad(0x467)]),_0x908d7b=_0x421491?_0x544af1==null||(_0x29fa6b=_0x544af1[_0x3c0fad(0x130)])==null||(_0x29fa6b=_0x29fa6b[_0x3c0fad(0x2d2)])==null?void 0x0:_0x29fa6b['name']:_0x598606==null||(_0x2d730d=_0x598606[_0x3c0fad(0x130)])==null||(_0x2d730d=_0x2d730d['subtotal'])==null?void 0x0:_0x2d730d['name'],_0x4847a9=_0x282f1e===_0x5aeb42[_0x3c0fad(0x390)]?_0x35c5df:!0x0;return _0x5735fc(_0x3c0fad(0x1ee),{'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x101),'children':_0x286043(_0x35b928,{'className':_0x3c0fad(0x110),'value':_0x2b6644,'onChange':_0x4acaec=>_0x4e5375(_0x4acaec),'options':_0x8d9268})}),_0x5735fc('div',{'className':_0x3c0fad(0x356),'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x1da),'children':_0x4c7c58['t'](_0x3c0fad(0x302))}),!_0x35c5df&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x333),'children':_0x4c7c58['t'](_0x3c0fad(0x180))}),_0x286043(_0x5d055d,{'className':_0x3c0fad(0x132),'value':(_0x544af1==null||(_0x389e77=_0x544af1[_0x3c0fad(0x130)])==null||(_0x389e77=_0x389e77[_0x3c0fad(0x25f)])==null?void 0x0:_0x389e77[_0x3c0fad(0x24d)])||_0xa3c414(_0x2b6644,_0x4a90b8[_0x3c0fad(0x25f)]),'onChange':_0x2b3efb=>{_0x3b4409({'waterfall':{'positive':{'name':_0x2b3efb}}});},'onFocus':()=>{_0x5a7dce['setContextValue'](_0x1481d1,!0x0);},'onBlur':()=>{const _0x420343=_0x3c0fad;_0x5a7dce[_0x420343(0x3ab)](_0x1481d1,!0x1);}})]}),_0x286043(ua,{'chartType':_0xca8a9a[_0x3c0fad(0xf6)],'allSeriesStyle':_0x598606,'controlName':'','seriesStyle':_0x35c5df?_0x598606==null||(_0x46a9ce=_0x598606[_0x3c0fad(0x130)])==null?void 0x0:_0x46a9ce[_0x3c0fad(0x25f)]:_0x544af1==null||(_0x57ba3e=_0x544af1[_0x3c0fad(0x130)])==null?void 0x0:_0x57ba3e[_0x3c0fad(0x25f)],'onSeriesStyleChange':_0x3f56ba=>_0x3b4409({'waterfall':{'positive':_0x3f56ba}})}),_0x286043(da,{'isLineOrAreaChart':!0x1,'allSeriesBorderStyle':_0x598606==null?void 0x0:_0x598606[_0x3c0fad(0x500)],'hideBorder':!0x0,'controlName':_0x4c7c58['t'](_0x3c0fad(0x1ed)),'borderStyle':_0x343fcc,'onSeriesStyleChange':_0x2294d9=>_0x3b4409({'waterfall':{'positive':_0x2294d9}})})]}),_0x5735fc(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x356),'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x1da),'children':_0x4c7c58['t'](_0x3c0fad(0x480))}),!_0x35c5df&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x333),'children':_0x4c7c58['t'](_0x3c0fad(0x41f))}),_0x286043(_0x5d055d,{'className':_0x3c0fad(0x132),'value':(_0x544af1==null||(_0x1fc52b=_0x544af1[_0x3c0fad(0x130)])==null||(_0x1fc52b=_0x1fc52b[_0x3c0fad(0x43e)])==null?void 0x0:_0x1fc52b[_0x3c0fad(0x24d)])||_0xa3c414(_0x2b6644,_0x4a90b8['negative']),'onChange':_0x184fc5=>{_0x3b4409({'waterfall':{'negative':{'name':_0x184fc5}}});},'onFocus':()=>{const _0x43306e=_0x3c0fad;_0x5a7dce[_0x43306e(0x3ab)](_0x1481d1,!0x0);},'onBlur':()=>{const _0x539874=_0x3c0fad;_0x5a7dce[_0x539874(0x3ab)](_0x1481d1,!0x1);}})]}),_0x286043(ua,{'chartType':_0xca8a9a[_0x3c0fad(0xf6)],'allSeriesStyle':_0x598606,'controlName':'','seriesStyle':_0x35c5df?_0x598606==null||(_0x319059=_0x598606[_0x3c0fad(0x130)])==null?void 0x0:_0x319059['negative']:_0x544af1==null||(_0x945299=_0x544af1['waterfall'])==null?void 0x0:_0x945299[_0x3c0fad(0x43e)],'onSeriesStyleChange':_0x1c8d0b=>_0x3b4409({'waterfall':{'negative':_0x1c8d0b}})}),_0x286043(da,{'controlName':_0x4c7c58['t']('sheets-chart-ui.border'),'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x598606==null?void 0x0:_0x598606[_0x3c0fad(0x500)],'borderStyle':_0x262f5f,'onSeriesStyleChange':_0x5393b9=>_0x3b4409({'waterfall':{'negative':_0x5393b9}})})]}),_0x4847a9&&_0x286043(_0xecfe96,{'children':_0x286043('div',{'className':_0x3c0fad(0x356),'children':_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x1da),'children':_0x4c7c58['t'](_0x3c0fad(0x476))}),_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x333),'children':_0x4c7c58['t']('sheets-chart-ui.waterfall.subtotalLegendText')}),_0x286043(_0x5d055d,{'className':_0x3c0fad(0x132),'value':_0x908d7b||_0xa3c414(_0x2b6644,_0x4a90b8[_0x3c0fad(0x2d2)]),'onChange':_0xf5acc6=>{_0x3b4409({'waterfall':{'subtotal':{'name':_0xf5acc6}}});},'onFocus':()=>{_0x5a7dce['setContextValue'](_0x1481d1,!0x0);},'onBlur':()=>{const _0x58103f=_0x3c0fad;_0x5a7dce[_0x58103f(0x3ab)](_0x1481d1,!0x1);}})]}),_0x286043(ua,{'chartType':_0xca8a9a[_0x3c0fad(0xf6)],'allSeriesStyle':_0x598606,'controlName':'','seriesStyle':_0x35c5df?_0x598606==null||(_0x3d8b2c=_0x598606[_0x3c0fad(0x130)])==null?void 0x0:_0x3d8b2c[_0x3c0fad(0x2d2)]:_0x544af1==null||(_0x58a659=_0x544af1[_0x3c0fad(0x130)])==null?void 0x0:_0x58a659[_0x3c0fad(0x2d2)],'onSeriesStyleChange':_0x53520f=>_0x3b4409({'waterfall':{'subtotal':_0x53520f}})}),_0x286043(da,{'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x598606==null?void 0x0:_0x598606[_0x3c0fad(0x500)],'controlName':_0x4c7c58['t'](_0x3c0fad(0x1ed)),'borderStyle':_0x8f7ffd,'onSeriesStyleChange':_0x871716=>_0x3b4409({'waterfall':{'subtotal':_0x871716}})})]})})}),_0x286043(_0x3c0fad(0x1ee),{'className':_0x3c0fad(0x356),'children':_0x286043(la,{'fallbackLabelStyle':Fa,'labelStyle':_0x11f369,'positionOptions':_0x555389,'contentTypeOptions':_0x14ecdc,'onLabelStyleChange':(_0x5bd656,_0x1f8b90)=>_0x3b4409({'label':{[_0x5bd656]:_0x1f8b90}}),'onVisibleChange':_0x3ea3cb=>_0x3b4409({'label':{'visible':_0x3ea3cb}}),'isPieLike':!0x1,'chartType':_0xca8a9a[_0x3c0fad(0xf6)]})})]});};function La(_0x1a495c){const _0x4de0a0=_0x5e57d6;let _0x81623b=[];for(let [_0x9b178c,_0x316316]of _0x1a495c)_0x81623b[_0x4de0a0(0x25d)]({'value':_0x9b178c,'label':_0x9b178c,'icon':_0x316316[_0x4de0a0(0x4be)]});return _0x81623b;}function Ra(){const _0x4495a5=_0x5e57d6;let _0x23d8fa=_0x1d4ad7(_0x4a3b9f),_0x59988c=La(_0x1d4ad7(_0x26f422)[_0x4495a5(0x4ea)]()),[_0x26e912,_0x3d90b1]=$(_0x4495a5(0x429)),[_0x254d12,_0x32dd31]=$(_0x4495a5(0x4a1)),[_0x53abf7,_0x538871]=_0x41b73e(!0x1),_0x1a310a=_0x59988c['find'](_0x16e99a=>_0x16e99a[_0x4495a5(0x3fd)]===_0x26e912)||_0x59988c[0x0];return _0x5735fc('div',{'className':_0x4495a5(0x356),'children':[_0x286043(_0x4495a5(0x1ee),{'className':'univer-text\x20univer-mb-2\x20univer-text-sm','children':_0x23d8fa['t']('sheets-chart-ui.styleEditPanel.wordCloudShape')}),_0x286043(_0x1f83bb,{'open':_0x53abf7,'onOpenChange':_0x538871,'overlay':_0x286043(_0x4495a5(0x1ee),{'className':_0x4495a5(0x3d7),'children':_0x59988c[_0x4495a5(0x290)](_0x48b8b1=>_0x286043('button',{'className':_0x5d3286(_0x4495a5(0x32b),_0x49a7cc,{'univer-bg-white':_0x1a310a['value']!==_0x48b8b1[_0x4495a5(0x3fd)],'univer-select-item-option-selected':_0x1a310a['value']===_0x48b8b1[_0x4495a5(0x3fd)]}),'type':_0x4495a5(0x30c),'onClick':()=>{const _0x2ff9b3=_0x4495a5;_0x3d90b1(_0x48b8b1[_0x2ff9b3(0x3fd)]),_0x538871(!0x1);},'children':_0x286043(_0x4495a5(0x344),{'className':_0x4495a5(0x3b2),'children':_0x286043(_0x4495a5(0x2a9),{'src':_0x48b8b1['icon'],'alt':_0x48b8b1[_0x4495a5(0x467)]})})},_0x48b8b1[_0x4495a5(0x3fd)]))}),'children':_0x286043(_0x4495a5(0x30c),{'className':_0x5d3286(_0x4495a5(0xe3),_0x49a7cc),'type':_0x4495a5(0x30c),'children':_0x5735fc(_0x4495a5(0x344),{'className':_0x4495a5(0x3fb),'children':[_0x286043(_0x4495a5(0x344),{'className':_0x4495a5(0x38e),'children':_0x286043('img',{'className':_0x4495a5(0x38a),'src':_0x1a310a[_0x4495a5(0x46d)],'alt':_0x1a310a[_0x4495a5(0x467)]})}),_0x286043(_0x4495a5(0x344),{'children':_0x1a310a['label']})]})})}),_0x286043(_0x1326e3,{'className':_0x4495a5(0x1fc),'checked':_0x254d12==null?_0x489146['wordCloud']['repeat']:_0x254d12,'onChange':_0x994654=>{_0x32dd31==null||_0x32dd31(!!_0x994654);},'children':_0x23d8fa['t'](_0x4495a5(0x281))})]});}const {textStyle:za}=_0x489146;function Ba(_0x3763fd){const _0x532a2f=_0x5e57d6;var _0x8df529;return(_0x8df529=_0x3763fd==null?void 0x0:_0x3763fd[_0x532a2f(0x3a1)](_0xeeb12b=>_0xeeb12b[_0x532a2f(0x2e8)]===_0x5ee842['Left']))==null?_0x3763fd==null?void 0x0:_0x3763fd[_0x532a2f(0x3a1)](_0x3f2047=>_0x3f2047[_0x532a2f(0x2e8)]===_0x5ee842[_0x532a2f(0x4d3)]):_0x8df529;}const Va=()=>{const _0x50ca29=_0x5e57d6;var _0x57c883,_0x5bc53a,_0x1bcf05,_0x29e464,_0x3101b5,_0x5e888a,_0x19d72e,_0x49978a,_0x1180df;let _0x5daa60=_0x1d4ad7(_0x4a3b9f),_0x493c62=_0x1d4ad7(_0x1b2842),_0x40649f=_0x1d4ad7(ci),_0x3e17af=_0x1d4ad7(_0x4ea893),_0x1283df=_0x209200(_0x40649f[_0x50ca29(0x414)],null),_0x4ee554=_0x209200(_0x40649f[_0x50ca29(0xe7)],null),_0x4cbfa5=(_0x4ee554==null?void 0x0:_0x4ee554[_0x50ca29(0x18e)])===_0x1283df?_0x4ee554['route']:null,_0x3842f9=_0x530131(null),[_0x1cbaa4,_0x7d1f4c]=$(_0x50ca29(0x3ea)),[_0x144132,_0x3152ca]=$('backgroundColor',''),[_0x165879,_0x1b40f9]=$(_0x50ca29(0x4dc),''),[_0x1faa39,_0x1b04ef]=$(_0x50ca29(0x4d6)),[_0x5a1bf8,_0x2e7924]=$(_0x50ca29(0x3fa)),[_0x147ddd,_0x3c7f56]=$(_0x50ca29(0x48b)),[_0x167b09,_0x3f986f]=$(_0x50ca29(0x42a)),[_0x5c36de,_0x541a02]=$(_0x50ca29(0x167)),[_0x4b3ec5,_0x32a3e9]=$(_0x50ca29(0x44a)),[_0x1ec500,_0x5db064]=$(_0x50ca29(0x3f6)),[_0x5d8700,_0x170135]=$(_0x50ca29(0x165)),[_0x1cef84]=$(_0x50ca29(0x1c1)),[_0x43602b]=$(_0x50ca29(0x357)),_0x637338=_0x1d4ad7(_0x293d57),[_0x4dd444,_0x5b69bf]=_0x41b73e(''),[_0x2471df]=$(_0x50ca29(0x16c)),_0x41bb3d=_0x1cbaa4&&_0xc2cf8a(_0x1cbaa4),_0x459d96=_0x2471df&&_0x2471df['length']>0x0,_0x1aede0=_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x29f)]),_0x31642b=_0x5f47d8(()=>_0x43602b?_0x637338[_0x50ca29(0x338)](_0x43602b):_0x637338['getDefaultTheme'](),[_0x43602b]),_0x308e57=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x187)])),_0x40c83f=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a['Bubble'])),_0x14b74b=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x39f)])),_0x36712d=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a['Relation'])),_0x3a07e3=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x268)])),_0x330880=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x1d5)])),_0x2a8de0=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x177)])),_0xd7e893=_0x5f47d8(()=>_0x1cef84==null?void 0x0:_0x1cef84[_0x50ca29(0x2ed)]((_0x1c047b,_0x589dbc)=>(_0x1c047b[_0x589dbc[_0x50ca29(0x2e8)]]=_0x589dbc,_0x1c047b),{}),[_0x1cef84]),_0xad1ed=!!(_0xd7e893!=null&&_0xd7e893[_0x5ee842['Right']])&&!!(_0xd7e893!=null&&_0xd7e893[_0x5ee842['Left']])&&(_0x1cbaa4&_0xca8a9a[_0x50ca29(0xc8)])===0x0&&(_0x1cbaa4&_0xca8a9a[_0x50ca29(0x17f)])===0x0,_0x3d2ebf=Ba(_0x1cef84),[_0x37f4d3,_0xb362aa]=_0x41b73e(pi[0x0]['value']),[_0x178ba6,_0x1e39fb]=_0x41b73e(null),_0x1eec46=_0x4b3ec5==null?void 0x0:_0x4b3ec5[_0x37f4d3],_0x158b42={'color':za['color'],'fontSize':_0x37f4d3===_0x50ca29(0x43d)?za[_0x50ca29(0x3e6)]:_0x37f4d3===_0x50ca29(0x1e3)?za[_0x50ca29(0x174)]:za['fontSize'],..._0x1eec46},_0x38e73f=_0x2d0a51(_0x7ef951=>{_0x32a3e9({[_0x37f4d3]:_0x7ef951});},[_0x37f4d3]),_0x19c495=_0x362f69=>{const _0x58c342=_0x50ca29;let _0x11c47a={'label':{'axisTitleAlign':_0x362f69}};_0x37f4d3===_0x58c342(0x258)&&_0x3c7f56(_0x11c47a),_0x37f4d3==='yAxisTitle'&&_0x3f986f(_0x11c47a),_0x37f4d3===_0x58c342(0x388)&&_0x541a02(_0x11c47a);},_0x3b2b34=()=>{const _0x4f4a7f=_0x50ca29;if(_0x37f4d3===_0x4f4a7f(0x258)){var _0x4f2fc3;return _0x147ddd==null||(_0x4f2fc3=_0x147ddd['label'])==null?void 0x0:_0x4f2fc3[_0x4f4a7f(0x213)];}if(_0x37f4d3==='yAxisTitle'){var _0x156095;return _0x167b09==null||(_0x156095=_0x167b09['label'])==null?void 0x0:_0x156095[_0x4f4a7f(0x213)];}if(_0x37f4d3==='rightYAxisTitle'){var _0x25686e;return _0x5c36de==null||(_0x25686e=_0x5c36de[_0x4f4a7f(0x467)])==null?void 0x0:_0x25686e[_0x4f4a7f(0x213)];}};_0x214f89(()=>{var _0x417789;_0x5b69bf((_0x417789=_0x158b42==null?void 0x0:_0x158b42['content'])==null?'':_0x417789);},[_0x158b42==null?void 0x0:_0x158b42[_0x50ca29(0x355)]]);let _0x3f262a=Ei[_0x50ca29(0x290)](_0x31e126=>({..._0x31e126,'label':_0x5daa60['t'](_0x31e126[_0x50ca29(0x467)])})),_0x5f393a=pi[_0x50ca29(0x290)](_0xed940d=>({..._0xed940d,'label':_0x5daa60['t'](_0xed940d['label'])})),_0x254057=Di[_0x50ca29(0x290)](_0x2cc55f=>({..._0x2cc55f,'label':_0x5daa60['t'](_0x2cc55f[_0x50ca29(0x467)])})),_0x59c386=Oi[_0x50ca29(0x290)](_0x28d705=>({..._0x28d705,'label':_0x5daa60['t'](_0x28d705['label'])})),_0x45923d=(_0x57c883=_0x1faa39==null?void 0x0:_0x1faa39[_0x50ca29(0x2e8)])==null?_0x489146[_0x50ca29(0x235)]['position']:_0x57c883,_0x1b16b7=[_0x5f393a[0x0]],_0x5a7e82=ki['map'](_0x20f733=>({..._0x20f733,'label':_0x5daa60['t'](_0x20f733[_0x50ca29(0x467)])})),_0x4ab387=Ai['map'](_0x519d30=>({..._0x519d30,'label':_0x5daa60['t'](_0x519d30[_0x50ca29(0x467)])})),_0x4135e1=(_0x47c7a5,_0x514c7a)=>{const _0x370052=_0x50ca29;let _0x1fa7da={'label':Ji,'onPatternApply':_0x514c7a,'originPattern':_0x47c7a5};_0x3e17af[_0x370052(0x10e)]({'id':qi,'title':{'title':_0x5daa60['t'](_0x370052(0x4c1))},'children':_0x1fa7da,'width':0x258,'onClose':()=>{_0x3e17af['close'](qi);}});},_0x32abd2=!!(_0x1cbaa4&&_0x17e760[_0x50ca29(0x21d)](_0x1cbaa4,_0xca8a9a[_0x50ca29(0xc8)])),_0x527460=!!(_0x1cbaa4&&_0x17e760['baseOn'](_0x1cbaa4,_0xca8a9a[_0x50ca29(0x17f)])),_0x5377a9=!!(_0x1cbaa4&&_0x17e760['baseOn'](_0x1cbaa4,_0xca8a9a[_0x50ca29(0xf6)])),_0x53fd42=[{'id':'chartStyle','label':_0x286043('div',{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0xbc))}),'children':_0x286043(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':_0x5735fc('div',{'className':_0x50ca29(0x219),'children':[_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x372),'children':[_0x286043('div',{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x34f))}),_0x286043(_0x3aacc5,{'color':_0x144132,'onChange':_0x3152ca})]}),_0x5735fc('div',{'className':_0x50ca29(0x372),'children':[_0x286043('div',{'className':_0x50ca29(0x231),'children':_0x5daa60['t']('sheets-chart-ui.chartBorderColor')}),_0x286043(_0x3aacc5,{'color':_0x165879,'onChange':_0x1b40f9})]})]})})},{'id':_0x50ca29(0x1f1),'label':_0x286043(_0x50ca29(0x1ee),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x3b9))}),'children':_0x5735fc('section',{'children':[_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043('div',{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x43c))}),_0x286043(_0x35b928,{'className':_0x50ca29(0x110),'value':_0x37f4d3,'options':_0x32abd2||_0x527460||_0x308e57?_0x1b16b7:_0x5f393a,'onChange':_0x39afc0=>_0xb362aa(_0x39afc0)})]}),_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x1aa))}),_0x286043(_0x5d055d,{'value':_0x4dd444,'onChange':_0x5b69bf,'onFocus':()=>{const _0x4d4275=_0x50ca29;_0x493c62[_0x4d4275(0x3ab)](_0x1481d1,!0x0);},'onBlur':()=>{const _0x38af60=_0x50ca29;_0x493c62[_0x38af60(0x3ab)](_0x1481d1,!0x1),_0x4dd444!==(_0x158b42==null?void 0x0:_0x158b42[_0x38af60(0x355)])&&_0x38e73f({'content':_0x4dd444});}})]}),_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x219),'children':_0x5735fc(_0x50ca29(0x1ee),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[_0x37f4d3==='title'&&_0x5735fc(_0xecfe96,{'children':[_0x286043('div',{'className':_0x50ca29(0x231),'children':_0x5daa60['t']('sheets-chart-ui.titles.titlePosition')}),_0x286043(_0x35b928,{'className':_0x50ca29(0x110),'value':_0x1ec500==null?_0x489146[_0x50ca29(0x3f6)]:_0x1ec500,'options':_0x5a7e82,'onChange':_0x34ae0b=>_0x5db064(_0x34ae0b)})]}),_0x37f4d3!==_0x50ca29(0x43d)&&_0x5735fc(_0xecfe96,{'children':[_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x296))}),_0x286043(_0x35b928,{'className':_0x50ca29(0x110),'value':(_0x5bc53a=_0x3b2b34())==null?_0x489146['axis'][_0x50ca29(0x25a)]:_0x5bc53a,'options':_0x4ab387,'onChange':_0x50f305=>_0x19c495(_0x50f305)})]})]})})}),_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x20b))}),_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x26b),'children':_0x286043(_0x58756c,{'alignControl':_0x37f4d3===_0x50ca29(0x43d),..._0x158b42,'onChange':(_0x3eab68,_0x40f87a)=>_0x38e73f({[_0x3eab68]:_0x40f87a})})})]})]})},_0x308e57&&{'id':_0x50ca29(0x1a9),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x4b5))}),'children':_0x286043(Ra,{})},!_0x308e57&&!_0x32abd2&&!_0x40c83f&&!_0x36712d&&!_0x5377a9&&!_0x3a07e3&&!_0x330880&&!_0x2a8de0&&{'id':_0x50ca29(0x36a),'label':_0x286043(_0x50ca29(0x1ee),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x20f))}),'children':_0x286043(Na,{'chartType':_0x1cbaa4,'selectedSeriesId':(_0x4cbfa5==null?void 0x0:_0x4cbfa5['section'])===_0x50ca29(0x36a)?_0x4cbfa5[_0x50ca29(0x315)]:void 0x0})},_0x3a07e3&&{'id':_0x50ca29(0x3b5),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x4ca))}),'children':_0x286043(va,{'isLineSeries':!0x1})},_0x3a07e3&&{'id':_0x50ca29(0x443),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t']('sheets-chart-ui.pareto.lineSeries')}),'children':_0x286043(va,{'isLineSeries':!0x0})},_0x5377a9&&{'id':_0x50ca29(0x107),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t']('sheets-chart-ui.series')}),'children':_0x286043(Ia,{})},_0x32abd2&&{'id':_0x50ca29(0x371),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x351))}),'children':_0x286043(ya,{'chartType':_0x1cbaa4,'onChartTypeChange':_0x7d1f4c})},!_0x308e57&&!_0x330880&&{'id':_0x50ca29(0x235),'label':_0x286043(_0x50ca29(0x1ee),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x439))}),'children':_0x5735fc(_0x50ca29(0x25e),{'children':[_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x231),'children':_0x5daa60['t']('sheets-chart-ui.position')}),_0x286043(_0x35b928,{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x1faa39==null?void 0x0:_0x1faa39[_0x50ca29(0x2e8)])||_0x489146[_0x50ca29(0x235)][_0x50ca29(0x2e8)],'onChange':_0x19573a=>_0x1b04ef({..._0x1faa39,'position':_0x19573a}),'options':_0x3f262a})]}),_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x1af))}),!_0x2a8de0&&_0x286043(_0x35b928,{'className':_0x50ca29(0x110),'value':(_0x1faa39==null?void 0x0:_0x1faa39[_0x50ca29(0xca)])||_0x489146[_0x50ca29(0x235)][_0x50ca29(0xca)],'onChange':_0x5ebf0c=>_0x1b04ef({..._0x1faa39,'selectMode':_0x5ebf0c}),'options':_0x254057}),_0x2a8de0&&_0x286043(_0x35b928,{'className':_0x50ca29(0x110),'value':_0x5a1bf8||_0x489146['heatmap'][_0x50ca29(0x3fa)],'onChange':_0x52fa46=>_0x2e7924(_0x52fa46),'options':_0x59c386})]}),_0x286043(_0x6eee88,{'chartType':_0x1cbaa4,'position':_0x45923d,'wrap':_0x1faa39==null?void 0x0:_0x1faa39['wrap'],'onChange':_0x4b38bc=>_0x1b04ef({..._0x1faa39,'wrap':_0x4b38bc})}),!_0x2a8de0&&_0x5735fc(_0x50ca29(0x1ee),{'className':_0x50ca29(0x356),'children':[_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x231),'children':_0x5daa60['t'](_0x50ca29(0x20b))}),_0x286043(_0x58756c,{..._0x1faa39==null?void 0x0:_0x1faa39['label'],'fontSize':(_0x1bcf05=_0x1faa39==null||(_0x29e464=_0x1faa39['label'])==null?void 0x0:_0x29e464[_0x50ca29(0x4d7)])==null?_0x489146[_0x50ca29(0x44c)]['fontSize']:_0x1bcf05,'color':(_0x3101b5=_0x1faa39==null||(_0x5e888a=_0x1faa39[_0x50ca29(0x467)])==null?void 0x0:_0x5e888a[_0x50ca29(0x381)])==null?_0x489146['textStyle']['color']:_0x3101b5,'onChange':(_0x4e2735,_0x49e6a3)=>_0x1b04ef({'label':{[_0x4e2735]:_0x49e6a3}})})]})]})},!_0x308e57&&!_0x32abd2&&!_0x527460&&!_0x14b74b&&!_0x36712d&&!_0x330880&&!_0x2a8de0&&{'id':_0x50ca29(0x331),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x30f))}),'children':_0x5735fc(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':[_0x286043(aa,{'axisOptions':_0x147ddd,'canUseDateAxis':_0x1cbaa4!==_0xca8a9a[_0x50ca29(0x29f)]&&_0x1cbaa4!==_0xca8a9a[_0x50ca29(0xf6)],'valueAxis':_0x1aede0||(_0xd7e893==null||(_0x19d72e=_0xd7e893[_0x5ee842[_0x50ca29(0x2fb)]])==null?void 0x0:_0x19d72e[_0x50ca29(0x127)])===_0x2ee1af[_0x50ca29(0x50d)],'onChange':_0x3c7f56}),_0x286043(_0x4a1a8b,{'className':'','size':_0x50ca29(0x437),'onClick':()=>{const _0x3f4969=_0x50ca29;_0x4135e1(_0x147ddd==null?void 0x0:_0x147ddd[_0x3f4969(0x4b4)],_0x25c189=>{_0x3c7f56({'format':_0x25c189});});},'children':_0x5daa60['t'](_0x50ca29(0x4c1))})]})},!_0x308e57&&!_0x32abd2&&!_0x527460&&!_0x14b74b&&!_0x36712d&&!_0x330880&&!_0x2a8de0&&{'id':'verticalAxis','label':_0x286043('div',{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x239))}),'children':_0x5735fc(_0x50ca29(0x25e),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x286043(aa,{'axisOptions':_0x167b09,'canUseDateAxis':!0x1,'valueAxis':(_0x3d2ebf==null?void 0x0:_0x3d2ebf['type'])===_0x2ee1af[_0x50ca29(0x50d)],'onChange':_0x3f986f}),(_0x3d2ebf==null?void 0x0:_0x3d2ebf[_0x50ca29(0x127)])===_0x2ee1af[_0x50ca29(0x50d)]&&_0x286043(_0x4a1a8b,{'className':'','size':_0x50ca29(0x437),'onClick':()=>{const _0x17babc=_0x50ca29;_0x4135e1(_0x167b09==null?void 0x0:_0x167b09[_0x17babc(0x4b4)],_0x44c4a4=>{_0x3f986f({'format':_0x44c4a4});});},'children':_0x5daa60['t'](_0x50ca29(0x4c1))})]})},!_0x308e57&&_0xad1ed&&!_0x36712d&&!_0x330880&&!_0x2a8de0&&{'id':_0x50ca29(0x21b),'label':_0x286043('div',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x21f))}),'children':_0x5735fc(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':[_0x286043(aa,{'canUseDateAxis':!0x1,'axisOptions':_0x5c36de,'onChange':_0x541a02,'valueAxis':!0x0}),(_0xd7e893==null||(_0x49978a=_0xd7e893[_0x5ee842[_0x50ca29(0x4d3)]])==null?void 0x0:_0x49978a['type'])===_0x2ee1af[_0x50ca29(0x50d)]&&_0x286043(_0x4a1a8b,{'className':'','size':'small','onClick':()=>{const _0x3ddf47=_0x50ca29;_0x4135e1(_0x5c36de==null?void 0x0:_0x5c36de[_0x3ddf47(0x4b4)],_0x42a02b=>{_0x541a02({'format':_0x42a02b});});},'children':_0x5daa60['t'](_0x50ca29(0x4c1))})]})},!_0x308e57&&!_0x32abd2&&!_0x527460&&!_0x36712d&&!_0x14b74b&&!_0x330880&&!_0x2a8de0&&{'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t']('sheets-chart-ui.gridlinesAndTicks')}),'children':_0x286043(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':_0x286043(oa,{'className':_0x50ca29(0x1ca),'runtimeAxes':_0x1cef84})})},!_0x308e57&&!_0x36712d&&!_0x32abd2&&!_0x14b74b&&!_0x330880&&{'label':_0x286043('div',{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t']('sheets-chart-ui.indicatorLine')}),'children':_0x286043(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':_0x286043(sa,{'indicatorLabelColor':(_0x5d8700==null?void 0x0:_0x5d8700[_0x50ca29(0x4c3)])||_0x489146[_0x50ca29(0xf8)],'indicatorLineType':(_0x5d8700==null?void 0x0:_0x5d8700['indicatorLineType'])||_0x489146['indicatorLineType'],'indicatorLabelTextColor':(_0x5d8700==null?void 0x0:_0x5d8700[_0x50ca29(0x1d1)])||_0x489146['tooltipAxisLabelColor'],'indicatorLineColor':(_0x5d8700==null?void 0x0:_0x5d8700[_0x50ca29(0x140)])||(_0x31642b==null||(_0x1180df=_0x31642b[_0x50ca29(0x1fa)])==null?void 0x0:_0x1180df[_0x50ca29(0xfc)]),'onChange':_0x3b6c3=>{_0x170135(_0x3b6c3);}})})},_0x41bb3d&&_0x459d96&&{'label':_0x286043(_0x50ca29(0x1ee),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5daa60['t'](_0x50ca29(0x4f2))}),'children':_0x286043(Pa,{})},_0x36712d&&{'id':_0x50ca29(0xb9),'label':_0x286043(_0x50ca29(0x1ee),{'className':_0x50ca29(0x4dd),'children':_0x5daa60['t'](_0x50ca29(0x122))}),'children':_0x286043(_0x50ca29(0x25e),{'className':_0x50ca29(0x356),'children':_0x286043(ba,{})})}][_0x50ca29(0x4d2)](Boolean);return _0x214f89(()=>{const _0x7a0235=_0x50ca29;if(!_0x4cbfa5||!_0x4ee554||_0x4ee554[_0x7a0235(0x18e)]!==_0x1283df||_0x3842f9['current']===_0x4ee554)return;_0x4cbfa5['titleKey']&&_0xb362aa(_0x4cbfa5['titleKey']);let _0x9fe031=_0x53fd42[_0x7a0235(0x4a5)](_0x555fc0=>_0x555fc0['id']===_0x4cbfa5[_0x7a0235(0x25e)]);_0x9fe031>=0x0&&_0x1e39fb(_0x9fe031),_0x3842f9[_0x7a0235(0x4b6)]=_0x4ee554;},[_0x1283df,_0x4cbfa5,_0x53fd42,_0x4ee554]),_0x286043('div',{'className':'','children':_0x286043(_0x2811eb,{'className':_0x50ca29(0x462),'items':_0x53fd42,'openIndex':_0x178ba6,'onOpenIndexChange':_0x1e39fb})});};function Ha(_0x13ec2c){const _0x1710d1=_0x5e57d6;let {className:_0x52a487}=_0x13ec2c,[_0x59d5db,_0x23ac6c]=_0x41b73e(0x0),_0x3356a2=_0x1d4ad7(_0x4a3b9f),_0x34c415=_0x1d4ad7(ci),_0x5511dc=_0x209200(_0x34c415[_0x1710d1(0x414)],null),_0x467a04=_0x209200(_0x34c415['panelRoute$'],null);return _0x214f89(()=>{const _0x47044d=_0x1710d1;var _0x5061f0,_0x405319;(_0x467a04==null?void 0x0:_0x467a04['chartId'])===_0x5511dc&&(((_0x5061f0=_0x467a04[_0x47044d(0x1f7)])==null?void 0x0:_0x5061f0['tab'])==='style'&&_0x23ac6c(0x1),((_0x405319=_0x467a04[_0x47044d(0x1f7)])==null?void 0x0:_0x405319[_0x47044d(0x4c8)])===_0x47044d(0x1b9)&&_0x23ac6c(0x0));},[_0x5511dc,_0x467a04]),_0x5735fc(_0x1710d1(0x1ee),{'className':_0x5d3286(_0x1710d1(0x17c),_0x52a487),'children':[_0x286043(_0x316875,{'value':_0x59d5db,'items':[{'label':_0x3356a2['t'](_0x1710d1(0x112)),'value':0x0},{'label':_0x3356a2['t'](_0x1710d1(0x4ff)),'value':0x1}],'onChange':_0x23ac6c}),_0x286043('div',{'className':_0x1710d1(0x27f),'children':_0x286043(_0x59d5db===0x0?ra:Va,{})})]});}const Ua=_0x5e57d6(0x1f2);function Wa(_0x1e3234){const _0x578967=_0x5e57d6;if(_0x1e3234['length']!==0x1)return!0x1;let _0x322a60=_0x1e3234[0x0];return _0x322a60[_0x578967(0x4bb)]===_0x4f620b['DRAWING_CHART']&&!_0x322a60[_0x578967(0x145)];}let Ga=class extends _0x5ae490{constructor(_0x5d531f,_0x101681,_0x4b73fe,_0xd0d753,_0x2bd641,_0x4eecc8,_0x3ef9db,_0x27cb99,_0xa3da3a,_0x15c348,_0x3c0777,_0x382200,_0x38c9a4,_0x474522,_0xf8cb7c){const _0x534d26=_0x5e57d6;super(),this[_0x534d26(0x3f2)]=_0x5d531f,this[_0x534d26(0x2d9)]=_0x101681,this['_chartModelService']=_0x4b73fe,this['_chartRenderService']=_0xd0d753,this[_0x534d26(0x3dc)]=_0x2bd641,this['_sidebarService']=_0x4eecc8,this[_0x534d26(0x287)]=_0x3ef9db,this[_0x534d26(0x314)]=_0x27cb99,this[_0x534d26(0x1c9)]=_0xa3da3a,this['_drawingContextMenuService']=_0x15c348,this[_0x534d26(0x1f8)]=_0x3c0777,this[_0x534d26(0x516)]=_0x382200,this[_0x534d26(0x205)]=_0x38c9a4,this[_0x534d26(0x1e4)]=_0x474522,this['_contextService']=_0xf8cb7c,Z(this,'_sidebarDisposable',null),this[_0x534d26(0x252)](),this['disposeWithMe'](this[_0x534d26(0x2d9)][_0x534d26(0x193)](_0x3829a7[_0x534d26(0x492)])[_0x534d26(0x35d)](_0x8927ae=>{const _0x4fa120=_0x534d26;var _0x47dbdd;_0x8927ae||(_0x47dbdd=this['_sidebarDisposable'])==null||_0x47dbdd[_0x4fa120(0x466)]();})),this[_0x534d26(0x43a)](_0x3ce854(this[_0x534d26(0x3dc)][_0x534d26(0x220)]['subscribe'](({drawing:_0x10e23f})=>{this['_handleDrawingDoubleClick'](_0x10e23f);})));}[_0x5e57d6(0x2ea)](){const _0x230e89=_0x5e57d6;this['_sidebarDisposable']=this['_sidebarService']['open']({'id':Ua,'header':{'title':_0x230e89(0x218)},'width':0x154,'children':{'label':Ua},'onClose':()=>{const _0x407d2f=_0x230e89;this['_chartModelService']['setActiveChartModel'](null),this[_0x407d2f(0xee)](),this[_0x407d2f(0x3f2)][_0x407d2f(0x1d9)](null),this['_contextService'][_0x407d2f(0x3ab)](_0x4ccb66,!0x1),this[_0x407d2f(0x199)]=null;}});}[_0x5e57d6(0x267)](){const _0x4d408a=_0x5e57d6;var _0x61a352;this[_0x4d408a(0x279)][_0x4d408a(0x4f1)](null),this[_0x4d408a(0xee)](),(_0x61a352=this[_0x4d408a(0x199)])==null||_0x61a352['dispose']();}[_0x5e57d6(0x318)](){const _0xcdb649=_0x5e57d6;let _0x314079=this[_0xcdb649(0x2d9)][_0xcdb649(0x1be)](_0x3829a7[_0xcdb649(0x492)]);this['disposeWithMe'](this[_0xcdb649(0xcd)][_0xcdb649(0x416)][_0xcdb649(0x35d)](_0x50eabf=>{const _0x297144=_0xcdb649;_0x50eabf['id']===_0x297144(0x1f2)&&(_0x50eabf['visible']||this[_0x297144(0xcd)]['sidebarOptions$'][_0x297144(0x415)]({'visible':!0x1}));})),this[_0xcdb649(0x43a)](this['_commandService'][_0xcdb649(0x216)](_0x4c7c83=>{const _0x2b9cf3=_0xcdb649;if(_0x4c7c83['id']===_r['id']){let _0x2b22ae=_0x4c7c83['params'];this[_0x2b9cf3(0x11d)](_0x2b22ae[_0x2b9cf3(0x207)],_0x2b22ae[_0x2b9cf3(0x1f7)]);}if(_0x4c7c83['id']===gr['id']&&this['hidePanel'](),_0x4c7c83['id']===_0x425c7f['id']){var _0x2da97b;_0x4c7c83['params'][_0x2b9cf3(0x18e)]===((_0x2da97b=this[_0x2b9cf3(0x279)][_0x2b9cf3(0x51e)])==null?void 0x0:_0x2da97b['id'])&&this[_0x2b9cf3(0x267)](),this[_0x2b9cf3(0x3f7)][_0x2b9cf3(0xc7)](_0x4ccb66)&&(this[_0x2b9cf3(0x3f7)][_0x2b9cf3(0x3ab)](_0x4ccb66,!0x1),this[_0x2b9cf3(0x3f2)][_0x2b9cf3(0x1d9)](null));}})),this['disposeWithMe'](this[_0xcdb649(0x1f8)][_0xcdb649(0x3b3)][_0xcdb649(0x35d)](({id:_0xf94adc})=>{const _0x578855=_0xcdb649;_0xf94adc===this[_0x578855(0x1e4)][_0x578855(0x2e9)]&&this[_0x578855(0x267)]();})),this[_0xcdb649(0x43a)](this[_0xcdb649(0x1f8)][_0xcdb649(0x51a)][_0xcdb649(0x35d)](({id:_0x1db6c9})=>{const _0x1d025f=_0xcdb649;_0x1db6c9===this['_sheetsChartUIService']['activeEditChart']&&(this[_0x1d025f(0x1e4)][_0x1d025f(0x19c)](null),this[_0x1d025f(0x1e4)]['clearPanelRoute'](),this[_0x1d025f(0x13d)][_0x1d025f(0x3e3)](_0x1db6c9,!0x1),this['_chartRenderService'][_0x1d025f(0x3e3)](_0x1db6c9,!0x0));})),this[_0xcdb649(0x43a)](this[_0xcdb649(0x3f2)]['focus$'][_0xcdb649(0x35d)](_0x48284a=>{const _0x5a839b=_0xcdb649;let _0x1609ee=_0x48284a[0x0];if(!this[_0x5a839b(0x1e4)][_0x5a839b(0x4da)]){if(Wa(_0x48284a)){var _0xf8f767;let _0x16c171=this[_0x5a839b(0x279)]['getChartModel'](_0x1609ee[_0x5a839b(0x207)]);_0x16c171&&((_0xf8f767=this['_chartModelService'][_0x5a839b(0x51e)])==null?void 0x0:_0xf8f767['id'])!==_0x16c171['id']&&this[_0x5a839b(0x279)][_0x5a839b(0x4f1)](_0x16c171);return;}this[_0x5a839b(0x279)]['activeChartModel']&&this['_chartModelService']['setActiveChartModel'](null),!_0x1609ee&&!this[_0x5a839b(0x1e4)][_0x5a839b(0x4da)]&&this[_0x5a839b(0x267)]();}})),_0x314079&&(this[_0xcdb649(0x43a)](_0x314079['sheetDisposed$'][_0xcdb649(0x35d)](()=>{const _0x37e192=_0xcdb649;this[_0x37e192(0x267)]();})),this[_0xcdb649(0x43a)](_0x314079[_0xcdb649(0x272)]['subscribe'](()=>{this['hidePanel']();})));}['_handleDrawingDoubleClick'](_0x1894f3){const _0x5f2985=_0x5e57d6;this[_0x5f2985(0x1e4)]['activeEditChart']||_0x1894f3[_0x5f2985(0x4bb)]===_0x4f620b[_0x5f2985(0x2af)]&&this[_0x5f2985(0x2b1)](_0x1894f3[_0x5f2985(0x522)],_0x1894f3[_0x5f2985(0x37e)],_0x1894f3['drawingId']);}[_0x5e57d6(0x2b1)](_0x5c3552,_0x42ec0b,_0x58580c){const _0x379519=_0x5e57d6;let _0x4911a3=this['_chartModelService']['getChartModel'](_0x58580c);_0x4911a3&&(this['_chartModelService'][_0x379519(0x4f1)](_0x4911a3),this[_0x379519(0x205)][_0x379519(0xbd)](_r['id'],{'unitId':_0x5c3552,'subUnitId':_0x42ec0b,'drawingId':_0x58580c}));}['openChartPanelById'](_0x4fd188,_0x114255){const _0x3a889a=_0x5e57d6;let _0x3455bb=this[_0x3a889a(0x279)][_0x3a889a(0x335)](_0x4fd188);_0x3455bb&&(this[_0x3a889a(0x279)][_0x3a889a(0x4f1)](_0x3455bb),this[_0x3a889a(0x2ea)](),this[_0x3a889a(0x501)](_0x4fd188,_0x114255==null?null:_0x114255));}['_activateEditPanelState'](_0x306b7b,_0xd9f975){const _0x241892=_0x5e57d6;let _0x4d721a=this[_0x241892(0x1e4)]['activeEditChart'];_0x4d721a&&_0x4d721a!==_0x306b7b&&(this[_0x241892(0x13d)][_0x241892(0x3e3)](_0x4d721a,!0x1),this['_sheetsChartUIService']['setSelectedElement'](null)),this[_0x241892(0x1e4)][_0x241892(0x175)](_0x306b7b),this[_0x241892(0x1e4)][_0x241892(0x2bc)](_0x306b7b,_0xd9f975),this[_0x241892(0x13d)][_0x241892(0x3e3)](_0x306b7b,!0x0);}[_0x5e57d6(0xee)](){const _0x2a8738=_0x5e57d6;let _0x15ecfd=this[_0x2a8738(0x1e4)][_0x2a8738(0x2e9)];_0x15ecfd&&this['_chartRenderService']['setElementEditMode'](_0x15ecfd,!0x1),this[_0x2a8738(0x1e4)][_0x2a8738(0x175)](null),this[_0x2a8738(0x1e4)][_0x2a8738(0x19c)](null),this[_0x2a8738(0x1e4)]['clearPanelRoute']();}[_0x5e57d6(0x252)](){const _0x6b1d23=_0x5e57d6;this['_menuManagerService'][_0x6b1d23(0x156)](oi),this['disposeWithMe'](this[_0x6b1d23(0x425)]['registerProvider'](_0x4f620b[_0x6b1d23(0x2af)],{'getContextMenuPosition':()=>qr})),this[_0x6b1d23(0x516)]['registerFeatureMenu'](_0x4f620b[_0x6b1d23(0x2af)],this['getChartPopupMenus']['bind'](this));}['getChartPopupMenus'](_0x4fc6a2,_0x4dfabf,_0x302871,_0x138f0f){const _0x284324=_0x5e57d6;return[{'label':_0x284324(0x1ba),'index':0x0,'commandId':_r['id'],'commandParams':{'unitId':_0x4fc6a2,'subUnitId':_0x4dfabf,'drawingId':_0x302871},'disable':_0x138f0f!==_0x4f620b['DRAWING_CHART']},{'label':_0x284324(0x211),'index':0x1,'commandId':_0x58e188['id'],'commandParams':{'unitId':_0x4fc6a2,'drawings':[{'unitId':_0x4fc6a2,'subUnitId':_0x4dfabf,'drawingId':_0x302871,'drawingType':_0x138f0f}]},'disable':!0x1},{'label':_0x284324(0x1bb),'index':0x2,'commandId':gr['id'],'commandParams':{'unitId':_0x4fc6a2,'subUnitId':_0x4dfabf,'drawingId':_0x302871},'disable':!0x1}];}};Ga=Nr([Q(0x0,_0x451416),Q(0x1,_0x1a9126),Q(0x2,_0x188178(_0x412f7b)),Q(0x3,_0x188178(Br)),Q(0x4,_0x188178(_0x45232d)),Q(0x5,_0x188178(_0x23cfe1)),Q(0x6,_0x188178(_0x59a3a4)),Q(0x7,_0x188178(_0x49393e)),Q(0x8,_0x21fe29),Q(0x9,_0x206e46),Q(0xa,_0x188178(_0x1d2b7b)),Q(0xb,_0x188178(_0x48e9dc)),Q(0xc,_0x536519),Q(0xd,ci),Q(0xe,_0x1b2842)],Ga);var Ka=_0x5e57d6(0x50e),qa=_0x5e57d6(0x35e);const Ja={'scaleX':0x1,'scaleY':0x1};function Ya(_0x28ac1c){const _0x8cd82d=_0x5e57d6;let _0x3d831e=_0x28ac1c[_0x8cd82d(0x4b8)];return _0x3d831e instanceof MouseEvent?_0x3d831e:void 0x0;}function Xa(_0x54134b){const _0x1711ea=_0x5e57d6;let _0x410d92=_0x54134b[_0x1711ea(0x4b8)],_0x30561a=_0x410d92==null?void 0x0:_0x410d92['target'];return _0x30561a instanceof Element?_0x30561a:void 0x0;}function Za(_0x1824e0){const _0x7d96e5=_0x5e57d6;var _0xdde84;return(_0xdde84=Xa(_0x1824e0))==null?void 0x0:_0xdde84[_0x7d96e5(0xc1)]();}function Qa(_0x45abf1){const _0x55df89=_0x5e57d6;return _0x45abf1[_0x55df89(0x41a)]||_0x45abf1['right']-_0x45abf1[_0x55df89(0x473)];}function $a(_0x363515){const _0x4fb1fd=_0x5e57d6;return _0x363515[_0x4fb1fd(0x3c3)]||_0x363515[_0x4fb1fd(0x37b)]-_0x363515[_0x4fb1fd(0x135)];}function eo(_0x1c0ed5,_0x5b8e87){const _0x44894a=_0x5e57d6;let _0x49d6ea=_0x1c0ed5['clientWidth']||(_0x1c0ed5 instanceof HTMLElement?_0x1c0ed5[_0x44894a(0x2e6)]:0x0),_0x1eacde=_0x1c0ed5[_0x44894a(0x4ce)]||(_0x1c0ed5 instanceof HTMLElement?_0x1c0ed5[_0x44894a(0x2a6)]:0x0),_0x29636a=Qa(_0x5b8e87),_0x503d0f=$a(_0x5b8e87);return{'scaleX':_0x49d6ea>0x0&&_0x29636a>0x0?_0x29636a/_0x49d6ea:Ja[_0x44894a(0x40c)],'scaleY':_0x1eacde>0x0&&_0x503d0f>0x0?_0x503d0f/_0x1eacde:Ja[_0x44894a(0x2a8)]};}function to(_0x51b255,_0x2a2de1,_0x4fab27){const _0x5ab39e=_0x5e57d6;return{'left':_0x51b255[_0x5ab39e(0x473)]+_0x2a2de1[_0x5ab39e(0x473)]*_0x4fab27['scaleX'],'right':_0x51b255[_0x5ab39e(0x473)]+_0x2a2de1[_0x5ab39e(0x44f)]*_0x4fab27[_0x5ab39e(0x40c)],'top':_0x51b255[_0x5ab39e(0x135)]+_0x2a2de1['top']*_0x4fab27[_0x5ab39e(0x2a8)],'bottom':_0x51b255[_0x5ab39e(0x135)]+_0x2a2de1[_0x5ab39e(0x37b)]*_0x4fab27[_0x5ab39e(0x2a8)]};}function no(_0x555584){const _0xa1924d=_0x5e57d6;let _0x2b262a=Xa(_0x555584),_0x2189aa=_0x555584[_0xa1924d(0x212)][_0xa1924d(0xc4)];return _0x2b262a&&_0x2189aa?()=>{const _0x5dc1ed=_0xa1924d;let _0xbae2a7=_0x2b262a[_0x5dc1ed(0xc1)]();return to(_0xbae2a7,_0x2189aa,eo(_0x2b262a,_0xbae2a7));}:()=>{const _0x50ee67=_0xa1924d;var _0x4fdce5,_0x162502;let _0x488e4f=Za(_0x555584);if(_0x488e4f&&_0x2189aa)return to(_0x488e4f,_0x2189aa,_0x2b262a?eo(_0x2b262a,_0x488e4f):Ja);let _0x29e940=Ya(_0x555584),_0x15a5b9=_0x2b262a&&_0x488e4f?eo(_0x2b262a,_0x488e4f):Ja,_0x246f4a=(_0x4fdce5=_0x29e940==null?void 0x0:_0x29e940[_0x50ee67(0x49e)])==null?_0x488e4f?_0x488e4f[_0x50ee67(0x473)]+_0x555584[_0x50ee67(0x229)]['x']*_0x15a5b9[_0x50ee67(0x40c)]:_0x555584[_0x50ee67(0x229)]['x']:_0x4fdce5,_0x1be8d5=(_0x162502=_0x29e940==null?void 0x0:_0x29e940['clientY'])==null?_0x488e4f?_0x488e4f[_0x50ee67(0x135)]+_0x555584[_0x50ee67(0x229)]['y']*_0x15a5b9[_0x50ee67(0x2a8)]:_0x555584[_0x50ee67(0x229)]['y']:_0x162502;return{'left':_0x246f4a,'right':_0x246f4a+0x1,'top':_0x1be8d5,'bottom':_0x1be8d5+0x1};};}function ro(_0x29d99d){const _0x2f7095=_0x5e57d6;return typeof _0x29d99d==_0x2f7095(0x337)&&Number[_0x2f7095(0x450)](_0x29d99d);}function io(_0x3b81c4){const _0x219b1c=_0x5e57d6;if(!_0x3b81c4||typeof _0x3b81c4!=_0x219b1c(0x11b))return!0x0;let {startX:_0x5d4f3a,endX:_0x2a7137,startY:_0x3eeaeb,endY:_0x6df828}=_0x3b81c4;return!ro(_0x5d4f3a)||!ro(_0x2a7137)||!ro(_0x3eeaeb)||!ro(_0x6df828)?!0x0:_0x2a7137-_0x5d4f3a>0x2&&_0x6df828-_0x3eeaeb>0x2;}function ao(_0x3dd9c7){const _0x4a0b76=_0x5e57d6;return _0x3dd9c7[_0x4a0b76(0x44f)]<=_0x3dd9c7[_0x4a0b76(0x473)]||_0x3dd9c7[_0x4a0b76(0x37b)]<=_0x3dd9c7['top']?!0x1:typeof window>'u'?!0x0:_0x3dd9c7['right']>0x0&&_0x3dd9c7['bottom']>0x0&&_0x3dd9c7[_0x4a0b76(0x473)]<window['innerWidth']&&_0x3dd9c7[_0x4a0b76(0x135)]<window[_0x4a0b76(0x106)];}function oo(_0x546562){const _0x4fb44d=_0x5e57d6;var _0x3e62c3;return _0x546562==null||(_0x3e62c3=_0x546562[_0x4fb44d(0x3cd)])==null?void 0x0:_0x3e62c3[_0x4fb44d(0x278)](_0x546562);}function so(_0x55cdcd,_0x122d1d,_0x7b0bb2){const _0x435f58=_0x5e57d6;let _0x15c424=no(_0x55cdcd),_0x171891=oo(_0x122d1d),_0x4f38fe=_0x15c424(),_0x58c87f=new _0x576421(_0x4f38fe),_0x835a5c=new _0x5c396c(),_0x1a69c5=!0x1,_0x473ac7=!0x1,_0x3c7a9f=_0x51fbcc=>io(_0x171891)&&ao(_0x51fbcc),_0x550b82=()=>{_0x473ac7||_0x1a69c5||(_0x473ac7=!0x0,queueMicrotask(()=>{const _0x29b852=_0x9d8e;if(_0x473ac7=!0x1,!_0x1a69c5){let _0x508070=_0x15c424();if(!_0x3c7a9f(_0x508070)){_0x7b0bb2();return;}_0x58c87f[_0x29b852(0x415)](_0x508070);}}));};return _0x122d1d&&_0x835a5c[_0x435f58(0x312)](_0x122d1d[_0x435f58(0x35d)](_0x1a8207=>{_0x171891=_0x1a8207,_0x550b82();})),typeof window<'u'&&_0x835a5c[_0x435f58(0x312)](_0x2283e9(_0x4c9bee(window,'scroll',{'capture':!0x0}),_0x4c9bee(window,_0x435f58(0x32a)))[_0x435f58(0x1ea)](_0x4a7fe7(0x10))['subscribe'](_0x550b82)),{'initialRect':_0x4f38fe,'anchorRect$':_0x58c87f['asObservable'](),'visible':_0x3c7a9f(_0x4f38fe),'dispose':()=>{const _0x4d1029=_0x435f58;_0x1a69c5=!0x0,_0x835a5c[_0x4d1029(0x466)](),_0x58c87f[_0x4d1029(0x2ef)]();}};}function co(_0x3a8c94){const _0x422b58=_0x5e57d6;return _0x3a8c94===_0x422b58(0x524)?{'tab':'style','section':'horizontalAxis','axisId':_0x3a8c94}:_0x3a8c94===_0x422b58(0x256)?{'tab':_0x422b58(0x47a),'section':_0x422b58(0x21b),'axisId':_0x3a8c94}:{'tab':'style','section':'verticalAxis','axisId':_0x3a8c94};}function lo(_0x1c1ec1){const _0x348e29=_0x5e57d6;switch(_0x1c1ec1['scope']){case _0x348e29(0x40a):return{'tab':'style','section':_0x348e29(0x2cb)};case _0x348e29(0x43d):return{'tab':_0x348e29(0x47a),'section':_0x348e29(0x1f1),'titleKey':_0x1c1ec1[_0x348e29(0x179)]};case _0x348e29(0x22f):return{'tab':_0x348e29(0x47a),'section':_0x348e29(0x1f1),'axisId':_0x1c1ec1['axisId'],'titleKey':_0x1c1ec1[_0x348e29(0x179)]};case'axis':case'gridLine':case _0x348e29(0x19e):return co(_0x1c1ec1['axisId']);case _0x348e29(0x235):return{'tab':'style','section':_0x348e29(0x235)};case _0x348e29(0x49f):{let _0x25c18c=_0x1c1ec1['directEdit'];return(_0x25c18c==null?void 0x0:_0x25c18c['kind'])==='seriesStyle'?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x36a),'seriesId':_0x25c18c[_0x348e29(0x315)]}:(_0x25c18c==null?void 0x0:_0x25c18c[_0x348e29(0x2f5)])==='pieStyle'?{'tab':'style','section':_0x348e29(0x371)}:(_0x25c18c==null?void 0x0:_0x25c18c['kind'])===_0x348e29(0x119)?{'tab':_0x348e29(0x47a),'section':_0x25c18c[_0x348e29(0x367)]===_0x348e29(0x33a)?_0x348e29(0x3b5):_0x348e29(0x443)}:(_0x25c18c==null?void 0x0:_0x25c18c[_0x348e29(0x2f5)])===_0x348e29(0x46b)?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x107),'seriesId':_0x25c18c['seriesId']}:_0x1c1ec1[_0x348e29(0xd6)]==='pieStyle'?{'tab':_0x348e29(0x47a),'section':'pieStyle'}:_0x1c1ec1[_0x348e29(0xd6)]==='paretoBarSeries'?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x3b5)}:_0x1c1ec1[_0x348e29(0xd6)]==='paretoLineSeries'?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x443)}:_0x1c1ec1['panel']===_0x348e29(0x107)?{'tab':'style','section':_0x348e29(0x107),'seriesId':_0x1c1ec1[_0x348e29(0x315)]}:_0x1c1ec1[_0x348e29(0xd6)]===_0x348e29(0xb9)?{'tab':_0x348e29(0x47a),'section':_0x348e29(0xb9)}:_0x1c1ec1[_0x348e29(0xd6)]===_0x348e29(0x1a9)?{'tab':_0x348e29(0x47a),'section':'wordCloud'}:_0x1c1ec1['panel']===_0x348e29(0x1b9)?{'tab':'data'}:_0x1c1ec1['seriesId']?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x36a),'seriesId':_0x1c1ec1[_0x348e29(0x315)]}:void 0x0;}case _0x348e29(0x36a):return{'tab':_0x348e29(0x47a),'section':'series','seriesId':_0x1c1ec1[_0x348e29(0x315)]};case _0x348e29(0x2c1):case'dataLabel':return _0x1c1ec1[_0x348e29(0x315)]?{'tab':_0x348e29(0x47a),'section':_0x348e29(0x36a),'seriesId':_0x1c1ec1[_0x348e29(0x315)]}:void 0x0;}}function uo(_0x4b1543){const _0x11627b=_0x5e57d6;return _0x4b1543===_0xca8a9a['Combination']||_0x4b1543===_0xca8a9a[_0x11627b(0x17f)]||_0x4b1543===_0xca8a9a['Boxplot']||_0x17e760[_0x11627b(0x21d)](_0x4b1543,_0xca8a9a[_0x11627b(0x189)])||_0x17e760['baseOn'](_0x4b1543,_0xca8a9a[_0x11627b(0x507)])||_0x17e760[_0x11627b(0x21d)](_0x4b1543,_0xca8a9a[_0x11627b(0x410)])||_0x17e760['baseOn'](_0x4b1543,_0xca8a9a[_0x11627b(0x29f)]);}function _0x9d8e(_0x2f650e,_0x444b33){_0x2f650e=_0x2f650e-0xb9;const _0x490924=_0x4909();let _0x9d8ecf=_0x490924[_0x2f650e];return _0x9d8ecf;}function fo(_0x448bb6){const _0x49d75e=_0x5e57d6;switch(_0x448bb6){case _0x4a90b8[_0x49d75e(0x25f)]:return'positive';case _0x4a90b8['negative']:return _0x49d75e(0x43e);case _0x4a90b8[_0x49d75e(0x2d2)]:return _0x49d75e(0x2d2);default:return;}}function po(_0x2272b0,_0xaa24bf){const _0x3746f9=_0x5e57d6;var _0x4ea8b0;if(typeof _0xaa24bf[_0x3746f9(0x3aa)]!=_0x3746f9(0x337))return;let _0x303f25=(_0x4ea8b0=_0x2272b0['context'])==null||(_0x4ea8b0=_0x4ea8b0['seriesIndexes'])==null?void 0x0:_0x4ea8b0[_0xaa24bf[_0x3746f9(0x3aa)]],_0x2c7016=_0x303f25===void 0x0?_0xaa24bf[_0x3746f9(0x315)]:String(_0x303f25);if(typeof _0x2c7016==_0x3746f9(0x48e))return{'seriesId':_0x2c7016,'seriesIndex':_0xaa24bf[_0x3746f9(0x3aa)]};}function mo(_0x54585e,_0x5929d8){const _0x57c920=_0x5e57d6;let _0x3c0ef1=_0x54585e[_0x57c920(0x3ea)],_0x58ef5d={'scope':_0x57c920(0x49f)};if(_0x5929d8['seriesId']!==void 0x0&&(_0x58ef5d[_0x57c920(0x315)]=_0x5929d8[_0x57c920(0x315)]),_0x5929d8['seriesIndex']!==void 0x0&&(_0x58ef5d[_0x57c920(0x3aa)]=_0x5929d8[_0x57c920(0x3aa)]),_0x5929d8[_0x57c920(0x225)]!==void 0x0&&(_0x58ef5d['dataIndex']=_0x5929d8[_0x57c920(0x225)]),_0x17e760[_0x57c920(0x21d)](_0x3c0ef1,_0xca8a9a[_0x57c920(0xc8)]))return{..._0x58ef5d,'directEdit':{'kind':_0x57c920(0x371)},'panel':'pieStyle'};if(_0x17e760[_0x57c920(0x21d)](_0x3c0ef1,_0xca8a9a['Pareto']))return _0x5929d8[_0x57c920(0x3aa)]===0x0?{..._0x58ef5d,'directEdit':{'kind':_0x57c920(0x119),'part':_0x57c920(0x33a)},'panel':_0x57c920(0x3b5)}:_0x5929d8['seriesIndex']===0x1?{..._0x58ef5d,'directEdit':{'kind':'paretoStyle','part':_0x57c920(0x1c8)},'panel':_0x57c920(0x443)}:{..._0x58ef5d,'panel':'paretoBarSeries'};if(_0x17e760[_0x57c920(0x21d)](_0x3c0ef1,_0xca8a9a[_0x57c920(0xf6)])){var _0x24a7c6;let _0x5eceaa=fo(_0x5929d8[_0x57c920(0x284)]),_0x42aa68=(_0x24a7c6=_0x5929d8[_0x57c920(0x4f3)])==null?_0x5929d8[_0x57c920(0x315)]:_0x24a7c6;return _0x5eceaa&&_0x42aa68?{..._0x58ef5d,'seriesId':_0x42aa68,'directEdit':{'kind':_0x57c920(0x46b),'seriesId':_0x42aa68,'seriesIndex':_0x5929d8['seriesIndex'],'part':_0x5eceaa},'panel':_0x57c920(0x107)}:{..._0x58ef5d,'seriesId':_0x42aa68,'panel':'waterfallSeries'};}if(uo(_0x3c0ef1)){let _0x4c6c21=po(_0x54585e,_0x5929d8);return _0x4c6c21?{..._0x58ef5d,'seriesId':_0x4c6c21[_0x57c920(0x315)],'seriesIndex':_0x4c6c21['seriesIndex'],'directEdit':{'kind':_0x57c920(0x377),'seriesId':_0x4c6c21[_0x57c920(0x315)],'seriesIndex':_0x4c6c21['seriesIndex']}}:void 0x0;}return _0x17e760[_0x57c920(0x21d)](_0x3c0ef1,_0xca8a9a[_0x57c920(0x153)])?{..._0x58ef5d,'panel':_0x57c920(0xb9)}:_0x17e760[_0x57c920(0x21d)](_0x3c0ef1,_0xca8a9a['WordCloud'])?{..._0x58ef5d,'panel':_0x57c920(0x1a9)}:{..._0x58ef5d,'panel':_0x57c920(0x1b9)};}function ho(_0xc19a31,_0x3c67dc){const _0x392799=_0x5e57d6;let _0x393cef=_0x3c67dc[_0x392799(0x2f5)]==='mark'?mo(_0xc19a31,_0x3c67dc):_0x3c0e36(_0x3c67dc),_0x11edd2=_0x393cef?lo(_0x393cef):void 0x0;if(!(!_0x393cef||!_0x11edd2))return{'target':_0x393cef,'route':_0x11edd2,'showFloatMenu':_0x393cef[_0x392799(0x363)]!==_0x392799(0x49f)||!!_0x393cef[_0x392799(0xf9)]};}const go=_0x5e57d6(0x346);let _o=class extends _0x5ae490{constructor(_0x46b062,_0x32df59,_0x24e027,_0x521a9d,_0x674f33,_0x2286f3,_0x2c863c,_0x129418){const _0x3ea2fa=_0x5e57d6;super(),this[_0x3ea2fa(0x279)]=_0x46b062,this[_0x3ea2fa(0x13d)]=_0x32df59,this[_0x3ea2fa(0x23d)]=_0x24e027,this[_0x3ea2fa(0x516)]=_0x521a9d,this[_0x3ea2fa(0x1f8)]=_0x674f33,this[_0x3ea2fa(0x1e4)]=_0x2286f3,this['_adapterRegistry']=_0x2c863c,this[_0x3ea2fa(0x205)]=_0x129418,Z(this,'_popupDisposable',null),Z(this,_0x3ea2fa(0x505),null),this['_registerAdapter'](),this[_0x3ea2fa(0x495)]();}['dispose'](){const _0x4ac98a=_0x5e57d6;this['_closePopup'](),super[_0x4ac98a(0x466)]();}[_0x5e57d6(0x288)](){const _0x25ed59=_0x5e57d6;this[_0x25ed59(0x43a)](this[_0x25ed59(0x4af)][_0x25ed59(0x136)](go,{'getState':(_0x1322f1,_0x59f149)=>{const _0x404ba1=_0x25ed59;this[_0x404ba1(0x4cd)](_0x1322f1['chartId']);let _0x500ceb=this['_sheetsChartUIService'][_0x404ba1(0x433)](_0x59f149);return _0x500ceb instanceof _0x34f121?_0x500ceb:_0x500ceb==null?void 0x0:_0x500ceb[_0x404ba1(0x1cc)]();},'setState':(_0x3f5c8c,_0x5e2031,_0x4cc50e)=>{const _0x420f7f=_0x25ed59;this[_0x420f7f(0x4cd)](_0x3f5c8c[_0x420f7f(0x18e)]);let _0x33b0aa=this['_sheetsChartUIService'][_0x420f7f(0x433)](_0x5e2031);if(!(_0x33b0aa instanceof _0x34f121)){var _0x36c62d;_0x33b0aa==null||(_0x36c62d=_0x33b0aa['set'])==null||_0x36c62d[_0x420f7f(0x278)](_0x33b0aa,_0x4cc50e);}},'close':()=>this['_closePopup'](),'openFullPanel':_0x459b62=>{const _0x190e42=_0x25ed59;let {unitId:_0x127e18,subUnitId:_0x4d1757,drawingId:_0x53c1d4,chartId:_0x21489e}=_0x459b62,_0x280c22=lo(_0x459b62[_0x190e42(0x173)]);this['_commandService']['executeCommand'](_r['id'],{'unitId':_0x127e18,'subUnitId':_0x4d1757==null?'':_0x4d1757,'drawingId':_0x53c1d4==null?_0x21489e:_0x53c1d4,..._0x280c22?{'route':_0x280c22}:{}});}}));}[_0x5e57d6(0x495)](){const _0x543917=_0x5e57d6;this[_0x543917(0x43a)](this[_0x543917(0x279)][_0x543917(0x1fe)][_0x543917(0x35d)](_0x5448a8=>{const _0x191e3c=_0x543917;let _0x1f43ae=new _0x5c396c();_0x1f43ae[_0x191e3c(0x312)](this[_0x191e3c(0x13d)]['on'](_0x5448a8['id'],_0x191e3c(0x408),_0xe5d36=>{const _0x26c4a4=_0x191e3c;this[_0x26c4a4(0x12b)](_0x5448a8['id'],_0xe5d36);})),_0x1f43ae[_0x191e3c(0x312)](this['_chartRenderService']['on'](_0x5448a8['id'],_0x191e3c(0x247),()=>{const _0xe7bb38=_0x191e3c;this[_0xe7bb38(0x2b1)](_0x5448a8['id']);})),_0x5448a8[_0x191e3c(0x3cb)](()=>{const _0xad32ae=_0x191e3c;_0x1f43ae[_0xad32ae(0x466)](),this[_0xad32ae(0x227)](_0x5448a8['id']);}),this[_0x191e3c(0x43a)](_0x1f43ae);})),this['disposeWithMe'](this['_sheetsChartUIService'][_0x543917(0x414)]['subscribe'](_0x37850d=>{const _0x164349=_0x543917;(!_0x37850d||this[_0x164349(0x505)]&&_0x37850d!==this[_0x164349(0x505)])&&this[_0x164349(0x485)]();})),this[_0x543917(0x43a)](this[_0x543917(0x1f8)][_0x543917(0x51a)]['subscribe'](({id:_0xbe2dca})=>{const _0x4127eb=_0x543917;this[_0x4127eb(0x227)](_0xbe2dca);})),this[_0x543917(0x43a)](this[_0x543917(0x1f8)][_0x543917(0x3b3)][_0x543917(0x35d)](({id:_0x3083a3})=>{const _0x18fa05=_0x543917;this[_0x18fa05(0x227)](_0x3083a3);})),this[_0x543917(0x43a)](this[_0x543917(0x23d)][_0x543917(0x4c0)][_0x543917(0x35d)](_0x3e7226=>{const _0x3db2b1=_0x543917;this[_0x3db2b1(0x227)](_0x3e7226);}));}[_0x5e57d6(0x2b1)](_0x1379bf){const _0x52c169=_0x5e57d6;var _0x19b69f;if(this[_0x52c169(0x1e4)][_0x52c169(0x2e9)])return;let _0x4fa14c=this[_0x52c169(0x279)][_0x52c169(0x335)](_0x1379bf),_0x123731=this['_sheetCanvasFloatDomManagerService'][_0x52c169(0x16e)](_0x1379bf);!_0x4fa14c||!_0x123731||(this[_0x52c169(0x279)][_0x52c169(0x4f1)](_0x4fa14c),this[_0x52c169(0x205)][_0x52c169(0xbd)](_r['id'],{'unitId':_0x123731[_0x52c169(0x522)],'subUnitId':(_0x19b69f=_0x123731['subUnitId'])==null?'':_0x19b69f,'drawingId':_0x1379bf}));}[_0x5e57d6(0x4cd)](_0x3f43d4){const _0x57c428=_0x5e57d6;let _0x4b0b42=this['_chartModelService'][_0x57c428(0x335)](_0x3f43d4);_0x4b0b42&&this['_chartModelService']['setActiveChartModel'](_0x4b0b42);}[_0x5e57d6(0x12b)](_0x30a0c7,_0x3d8d7e){const _0x3a91d7=_0x5e57d6;var _0x52a568;if(!this[_0x3a91d7(0x1e4)][_0x3a91d7(0x277)](_0x30a0c7))return;let _0x4b0a6e=this[_0x3a91d7(0x279)]['getChartModel'](_0x30a0c7),_0x4d0348=_0x4b0a6e?ho(_0x4b0a6e,_0x3d8d7e['hit']):void 0x0;if(!_0x4d0348){this[_0x3a91d7(0x1e4)][_0x3a91d7(0x19c)](null),this[_0x3a91d7(0x1e4)][_0x3a91d7(0x144)](),this['_closePopup']();return;}let _0x3968a0=this['_sheetCanvasFloatDomManagerService'][_0x3a91d7(0x16e)](_0x30a0c7);if(!_0x4b0a6e||!_0x3968a0){this[_0x3a91d7(0x1e4)][_0x3a91d7(0x19c)](null),this[_0x3a91d7(0x1e4)][_0x3a91d7(0x144)](),this[_0x3a91d7(0x485)]();return;}if(this[_0x3a91d7(0x279)][_0x3a91d7(0x4f1)](_0x4b0a6e),this[_0x3a91d7(0x1e4)][_0x3a91d7(0x19c)]({'chartId':_0x30a0c7,'element':_0x3d8d7e['hit'],'target':_0x4d0348[_0x3a91d7(0x173)],'route':_0x4d0348['route']}),this['_sheetsChartUIService'][_0x3a91d7(0x2bc)](_0x30a0c7,_0x4d0348[_0x3a91d7(0x1f7)]),this['_closePopup'](),!_0x4d0348[_0x3a91d7(0x14c)])return;let _0x4af7ef=so(_0x3d8d7e,_0x3968a0['position$'],()=>this[_0x3a91d7(0x3dd)](_0x30a0c7));if(!_0x4af7ef[_0x3a91d7(0x1eb)]){_0x4af7ef[_0x3a91d7(0x466)]();return;}let _0xb5f978=(_0x52a568=this['_sheetCanvasPopManagerService'][_0x3a91d7(0x37f)](_0x4af7ef[_0x3a91d7(0x3be)],_0x4af7ef['anchorRect$'],{'componentKey':_0x5bd501,'direction':_0x3a91d7(0x4ec),'offset':[0x0,0x8],'extraProps':{'host':_0x3a91d7(0x45b),'unitId':_0x3968a0[_0x3a91d7(0x522)],'subUnitId':_0x3968a0['subUnitId'],'chartId':_0x30a0c7,'drawingId':_0x30a0c7,'element':_0x3d8d7e[_0x3a91d7(0x212)],'target':_0x4d0348[_0x3a91d7(0x173)],'adapterKey':go}},_0x3968a0[_0x3a91d7(0x522)],_0x3968a0['subUnitId']))==null?null:_0x52a568;if(!_0xb5f978){_0x4af7ef['dispose']();return;}let _0xe5334d=new _0x5c396c();_0xe5334d[_0x3a91d7(0x312)](_0xb5f978),_0xe5334d[_0x3a91d7(0x312)](_0x4af7ef),this[_0x3a91d7(0x2e0)]=_0xe5334d,this[_0x3a91d7(0x505)]=_0x30a0c7;}[_0x5e57d6(0x485)](){const _0x533d3c=_0x5e57d6;var _0x28a309;(_0x28a309=this['_popupDisposable'])==null||_0x28a309[_0x533d3c(0x466)](),this['_popupDisposable']=null,this[_0x533d3c(0x505)]=null;}[_0x5e57d6(0x227)](_0x36c140){const _0x2dd448=_0x5e57d6;!this[_0x2dd448(0x1e4)]['isElementEditModeActive'](_0x36c140)&&this[_0x2dd448(0x505)]!==_0x36c140||(this[_0x2dd448(0x1e4)][_0x2dd448(0x19c)](null),this[_0x2dd448(0x1e4)][_0x2dd448(0x144)](),this[_0x2dd448(0x505)]===_0x36c140&&this[_0x2dd448(0x485)]());}[_0x5e57d6(0x3dd)](_0x28e7cc){const _0x19d8fd=_0x5e57d6;this[_0x19d8fd(0x227)](_0x28e7cc),this[_0x19d8fd(0x1e4)]['isElementEditModeActive'](_0x28e7cc)&&(this['_chartRenderService'][_0x19d8fd(0x3e3)](_0x28e7cc,!0x1),this[_0x19d8fd(0x13d)][_0x19d8fd(0x3e3)](_0x28e7cc,!0x0));}};_o=Nr([Q(0x0,_0x188178(_0x412f7b)),Q(0x1,_0x188178(Br)),Q(0x2,Ir),Q(0x3,_0x188178(_0x48e9dc)),Q(0x4,_0x188178(_0x1d2b7b)),Q(0x5,ci),Q(0x6,_0x188178(_0x5b07d1)),Q(0x7,_0x536519)],_o);let vo=class extends _0x5ae490{constructor(_0x29f205,_0x5bb1a2){const _0x168564=_0x5e57d6;super(),this[_0x168564(0x139)]=_0x29f205,this[_0x168564(0x279)]=_0x5bb1a2,this[_0x168564(0x3f9)]();}[_0x5e57d6(0x3f9)](){const _0x5810d7=_0x5e57d6;this[_0x5810d7(0x43a)](this['_chartHostProviderService'][_0x5810d7(0x4c0)][_0x5810d7(0x35d)](_0x4b6af1=>{const _0x541974=_0x5810d7;this[_0x541974(0x279)]['removeChartModel'](_0x4b6af1);}));}};vo=Nr([Q(0x0,Ir),Q(0x1,_0x188178(_0x412f7b))],vo);let yo=class extends _0x5ae490{constructor(_0x43a0a0,_0x1384b4,_0x30ba7f,_0x2920aa,_0x4266f8){const _0x5ba217=_0x5e57d6;super(),this[_0x5ba217(0x279)]=_0x43a0a0,this[_0x5ba217(0x13d)]=_0x1384b4,this['_localeService']=_0x30ba7f,this[_0x5ba217(0x205)]=_0x2920aa,this['_sheetPrintInterceptorService']=_0x4266f8,Z(this,_0x5ba217(0x203),new Map()),this[_0x5ba217(0x3f9)](),this[_0x5ba217(0x51b)](),this['_initPrinting']();}[_0x5e57d6(0x389)](){const _0x6dba36=_0x5e57d6;this[_0x6dba36(0x43a)](this[_0x6dba36(0x246)][_0x6dba36(0x42d)]['intercept'](this[_0x6dba36(0x246)][_0x6dba36(0x42d)]['getInterceptPoints']()[_0x6dba36(0x21c)],{'handler':(_0x346023,_0xd4396c,_0x250565)=>{const _0x1548e7=_0x6dba36;let _0xc0c135=this[_0x1548e7(0x13d)][_0x1548e7(0x169)](_0xd4396c[_0x1548e7(0x522)],_0xd4396c['subUnitId'],_0xd4396c[_0x1548e7(0xd9)]);return _0xd4396c['resourceCollector'][_0x1548e7(0x312)](_0xc0c135),_0x250565(_0x346023);}}));}['_init'](){const _0x1d276e=_0x5e57d6;this[_0x1d276e(0x43a)](this[_0x1d276e(0x279)][_0x1d276e(0x1fe)][_0x1d276e(0x35d)](_0x110ca5=>{const _0x337220=_0x1d276e;if(_0x110ca5){let _0x4b2a9d=new _0x5c396c();_0x4b2a9d[_0x337220(0x312)](_0x110ca5[_0x337220(0x2bf)][_0x337220(0x1ea)](_0x2fd0c0(_0x110ca5[_0x337220(0x138)]),_0x2fd0c0(this[_0x337220(0x3d1)]['direction$']),_0x50400f(0x64))[_0x337220(0x35d)](([[_0x40152c,_0x12ea7c],_0x3ef13b])=>{const _0x55116e=_0x337220;var _0x1382d3;if(!_0x40152c)return;(_0x1382d3=_0x40152c[_0x55116e(0x32e)])==null||_0x1382d3[_0x55116e(0x494)]['forEach']((_0x42a7d6,_0x33db89)=>{const _0x5cab45=_0x55116e;_0x42a7d6[_0x5cab45(0x467)]||(_0x42a7d6[_0x5cab45(0x467)]=this[_0x5cab45(0x3d1)]['t'](_0x5cab45(0x3c1))+'\x20'+(_0x33db89+0x1));}),_0x40152c[_0x55116e(0x36a)][_0x55116e(0x260)]((_0x1037e1,_0x2b80e6)=>{const _0x27a927=_0x55116e;_0x1037e1[_0x27a927(0x24d)]||(_0x1037e1['name']=this[_0x27a927(0x3d1)]['t'](_0x27a927(0x20f))+'\x20'+(_0x2b80e6+0x1));});let _0x445c8f=zr(_0x110ca5,_0x3ef13b);this[_0x55116e(0x13d)][_0x55116e(0x456)](_0x110ca5['id'],_0x40152c,_0x445c8f);})),_0x110ca5[_0x337220(0x3cb)](()=>{const _0x27efa9=_0x337220;_0x4b2a9d[_0x27efa9(0x466)]();});}}));}[_0x5e57d6(0x51b)](){const _0x4a6ce0=_0x5e57d6;this[_0x4a6ce0(0x43a)](this[_0x4a6ce0(0x205)][_0x4a6ce0(0x216)](_0x1734ea=>{const _0x424186=_0x4a6ce0;if(_0x1734ea['id']!==_0x2d53f3['id'])return;let _0x1d6c97=_0x1734ea[_0x424186(0x48f)];_0x1d6c97!=null&&_0x1d6c97[_0x424186(0x348)]&&Promise[_0x424186(0x354)]()[_0x424186(0x4c4)](()=>this[_0x424186(0x2f7)](_0x1d6c97));}));}[_0x5e57d6(0x2f7)](_0x6df120){const _0x579331=_0x5e57d6;let _0x31a143=this[_0x579331(0x279)]['getChartModel'](_0x6df120[_0x579331(0x348)]);if(!_0x31a143||_0x31a143[_0x579331(0x3ea)]!==_0xca8a9a['WordCloud'])return;let _0x431308=_0x31a143[_0x579331(0x506)];if(!_0x431308){this[_0x579331(0x164)](_0x31a143);return;}this[_0x579331(0x491)](_0x31a143,_0x431308);}[_0x5e57d6(0x164)](_0x1801cf){const _0x33d58=_0x5e57d6;if(this['_pendingMutationConfigRenders'][_0x33d58(0x1cc)](_0x1801cf['id']))return;let _0x4ab22f=_0x1801cf[_0x33d58(0x2bf)][_0x33d58(0x1ea)](_0xbaef5c(_0x74ccc2=>_0x74ccc2!=null),_0x34bac3(0x1))[_0x33d58(0x35d)](_0x31722c=>{const _0x4fb530=_0x33d58;this[_0x4fb530(0x203)][_0x4fb530(0x45e)](_0x1801cf['id']),this[_0x4fb530(0x491)](_0x1801cf,_0x31722c);});this['_pendingMutationConfigRenders'][_0x33d58(0x197)](_0x1801cf['id'],_0x4ab22f),_0x1801cf[_0x33d58(0x3cb)](()=>{const _0x17e07f=_0x33d58;_0x4ab22f[_0x17e07f(0x3ad)](),this['_pendingMutationConfigRenders'][_0x17e07f(0x45e)](_0x1801cf['id']);});}[_0x5e57d6(0x491)](_0x13eebb,_0x4dad11){const _0x7f1460=_0x5e57d6;let _0x244eb7=zr(_0x13eebb,this[_0x7f1460(0x3d1)][_0x7f1460(0x29d)]());this[_0x7f1460(0x13d)][_0x7f1460(0x456)](_0x13eebb['id'],_0x4dad11,_0x244eb7);}};yo=Nr([Q(0x0,_0x188178(_0x412f7b)),Q(0x1,_0x188178(Br)),Q(0x2,_0x188178(_0x4a3b9f)),Q(0x3,_0x536519),Q(0x4,_0x188178(_0x5a002d))],yo);let bo=class extends _0x5ae490{constructor(_0x424170,_0x4b091d,_0x411924,_0x3a0a29){const _0x189dca=_0x5e57d6;super(),this['_univerInstanceService']=_0x424170,this[_0x189dca(0x30a)]=_0x4b091d,this['_sheetDrawingService']=_0x411924,this['_chartModelService']=_0x3a0a29,this[_0x189dca(0x4f5)]();}[_0x5e57d6(0x4f5)](){const _0x991f73=_0x5e57d6;this[_0x991f73(0x43a)](this[_0x991f73(0x30a)][_0x991f73(0x362)]({'getMutations':_0x38d46a=>{const _0xf4bbe5=_0x991f73;if(_0x38d46a['id']===_0x3f8e78['id']){let _0x50d7a4=_0x30a944(this[_0xf4bbe5(0x2d9)],_0x38d46a[_0xf4bbe5(0x48f)]);if(!_0x50d7a4)return{'redos':[],'undos':[]};let {unitId:_0x1f6688,subUnitId:_0x4d2ff3}=_0x50d7a4,_0x448a3c=this[_0xf4bbe5(0x248)]['getDrawingData'](_0x1f6688,_0x4d2ff3),_0x4859e5=Object['values'](_0x448a3c)[_0xf4bbe5(0x4d2)](_0x4ea363=>_0x4ea363['drawingType']===_0x4f620b[_0xf4bbe5(0x2af)]);if(_0x4859e5[_0xf4bbe5(0x407)]===0x0)return{'redos':[],'undos':[]};let _0x1f82fe=[],_0x2172c1=[];for(let _0x5b48c6=0x0;_0x5b48c6<_0x4859e5[_0xf4bbe5(0x407)];_0x5b48c6++){let _0x564946=_0x4859e5[_0x5b48c6],_0x515f1e=this[_0xf4bbe5(0x279)]['getChartModel'](_0x564946[_0xf4bbe5(0x207)]);if(!_0x515f1e)continue;let _0x378923=_0x515f1e[_0xf4bbe5(0xdc)][_0xf4bbe5(0x3bb)](),{chartType:_0x4727c3,context:_0x1dd628,style:_0x4617cb,dataAggregation:_0x345b2d}=_0x515f1e[_0xf4bbe5(0x20e)](),{redo:_0x3b49e0,undo:_0x3f2e77,objects:_0x9cfdc3}=this[_0xf4bbe5(0x248)]['getBatchRemoveOp']([_0x564946]);_0x1f82fe[_0xf4bbe5(0x25d)]({'id':_0x425c7f['id'],'params':{'unitId':_0x1f6688,'subUnitId':_0x4d2ff3,'chartId':_0x564946[_0xf4bbe5(0x207)]}}),_0x1f82fe[_0xf4bbe5(0x25d)]({'id':_0x4d5871['id'],'params':{'unitId':_0x1f6688,'subUnitId':_0x4d2ff3,'type':_0x30810d[_0xf4bbe5(0x1b3)],'op':_0x3b49e0,'objects':_0x9cfdc3}}),_0x2172c1[_0xf4bbe5(0x25d)]({'id':_0x4d5871['id'],'params':{'unitId':_0x1f6688,'subUnitId':_0x4d2ff3,'type':_0x30810d['INSERT'],'op':_0x3f2e77,'objects':_0x9cfdc3}}),_0x2172c1['push']({'id':_0x7f39c7['id'],'params':{'unitId':_0x1f6688,'subUnitId':_0x4d2ff3,'chartId':_0x564946[_0xf4bbe5(0x207)],'chartType':_0x4727c3,..._0x3bdc2f(_0x378923),'context':_0x1dd628,'style':_0x4617cb,'dataAggregation':_0x345b2d}});}return{'redos':_0x1f82fe,'undos':_0x2172c1};}else{if(_0x38d46a['id']===_0x47c6e6['id']){let {unitId:_0x53b5cf,subUnitId:_0x4cb2ed,targetSubUnitId:_0x3cc02b}=_0x38d46a[_0xf4bbe5(0x48f)];if(!_0x53b5cf||!_0x4cb2ed||!_0x3cc02b)return{'redos':[],'undos':[]};let _0x22dc83=this[_0xf4bbe5(0x248)][_0xf4bbe5(0x11f)](_0x53b5cf,_0x4cb2ed),_0x37d2d5=Object[_0xf4bbe5(0x183)](_0x22dc83)[_0xf4bbe5(0x4d2)](_0x1b1b88=>_0x1b1b88[_0xf4bbe5(0x4bb)]===_0x4f620b['DRAWING_CHART']);if(_0x37d2d5[_0xf4bbe5(0x407)]===0x0)return{'redos':[],'undos':[]};let _0x4bcda5=[],_0x2b0838=[];for(let _0x5f1fe8=0x0;_0x5f1fe8<_0x37d2d5[_0xf4bbe5(0x407)];_0x5f1fe8++){let _0x29c247=_0x37d2d5[_0x5f1fe8],_0x5b2f0c=this[_0xf4bbe5(0x279)][_0xf4bbe5(0x335)](_0x29c247[_0xf4bbe5(0x207)]);if(!_0x5b2f0c)continue;let _0x48fc09=_0x1262ec(),_0x204643={..._0x29c247,'unitId':_0x53b5cf,'subUnitId':_0x3cc02b,'drawingId':_0x48fc09},_0x26a2d9=_0x5b2f0c[_0xf4bbe5(0xdc)]['getRangeInfo'](),_0x4a4997=Array[_0xf4bbe5(0x303)](_0x26a2d9)?_0x26a2d9['map'](_0x56a1bd=>({..._0x56a1bd,..._0x56a1bd[_0xf4bbe5(0x496)]?{'header':{..._0x56a1bd[_0xf4bbe5(0x496)],'subUnitId':_0x3cc02b}}:{},'range':{..._0x56a1bd[_0xf4bbe5(0x4e0)],'subUnitId':_0x3cc02b}})):{..._0x26a2d9,'rangeInfo':{..._0x26a2d9[_0xf4bbe5(0x2d8)],'subUnitId':_0x3cc02b}},{chartType:_0x16e070,context:_0x3dbd76,style:_0x3b40dc,dataAggregation:_0x38298e}=_0x5b2f0c['serialize'](),{redo:_0x18cfb3,undo:_0x214830,objects:_0x2a461f}=this[_0xf4bbe5(0x248)][_0xf4bbe5(0x487)]([_0x204643]);_0x4bcda5[_0xf4bbe5(0x25d)]({'id':_0x4d5871['id'],'params':{'unitId':_0x53b5cf,'subUnitId':_0x3cc02b,'type':_0x30810d[_0xf4bbe5(0x31d)],'op':_0x18cfb3,'objects':_0x2a461f}}),_0x4bcda5['push']({'id':_0x7f39c7['id'],'params':{'unitId':_0x53b5cf,'subUnitId':_0x3cc02b,'chartId':_0x48fc09,'chartType':_0x16e070,..._0x3bdc2f(_0x4a4997),'context':_0x3dbd76,'style':_0x3b40dc,'dataAggregation':_0x38298e}}),_0x2b0838['push']({'id':_0x425c7f['id'],'params':{'unitId':_0x53b5cf,'subUnitId':_0x3cc02b,'chartId':_0x48fc09}}),_0x2b0838[_0xf4bbe5(0x25d)]({'id':_0x4d5871['id'],'params':{'unitId':_0x53b5cf,'subUnitId':_0x3cc02b,'type':_0x30810d[_0xf4bbe5(0x1b3)],'op':_0x214830,'objects':_0x2a461f}});}return{'redos':_0x4bcda5,'undos':_0x2b0838};}}return{'redos':[],'undos':[]};}}));}};bo=Nr([Q(0x0,_0x188178(_0x1a9126)),Q(0x1,_0x188178(_0x15babf)),Q(0x2,_0x188178(_0x52c0a1)),Q(0x3,_0x188178(_0x412f7b))],bo);const xo=_0x32b2d7=>_0x2fb200[_0x5e57d6(0x3a1)](_0x267d09=>_0x32b2d7[_0x5e57d6(0x4cf)](_0x267d09)),So=_0x5d8cf9=>!_0x5d8cf9,Co=_0x4e259e=>!!xo(_0x4e259e)&&_0x4e259e[_0x5e57d6(0x313)]('_('),wo=_0x177637=>!!xo(_0x177637)&&!_0x177637[_0x5e57d6(0x313)]('_('),To=(_0x156182,_0xf0978a=0x0)=>{const _0x54bf24=_0x5e57d6;var _0x46beb7;return _0x156182?(_0x46beb7=_0x4fc25c[_0x54bf24(0x16d)](_0x156182)[_0x54bf24(0xe6)])==null?_0xf0978a:_0x46beb7:_0xf0978a;},Eo=_0x1a1189=>Array(Math[_0x5e57d6(0x1fb)](Math[_0x5e57d6(0x465)](0x0,Number(_0x1a1189)),0x1e))[_0x5e57d6(0x233)](0x0)[_0x5e57d6(0x1e6)](''),Do=(_0x8b9d42,_0x3779cb)=>_0x8b9d42[_0x5e57d6(0x375)](';')['map'](_0x550055=>/\.0?/[_0x5e57d6(0x23a)](_0x550055)?_0x550055['replace'](/\.0*/g,''+(_0x3779cb>0x0?'.':'')+Eo(Number(_0x3779cb||0x0))):/0[^0]?/['test'](_0x550055)?_0x550055[_0x5e57d6(0x4df)](/0[^0]+|0$/,'0'+(_0x3779cb>0x0?'.':'')+Eo(Number(_0x3779cb||0x0))):_0x550055)[_0x5e57d6(0x1e6)](';'),Oo=()=>Gi[_0x5e57d6(0x290)](_0x38dd07=>({'label':_0x38dd07[_0x5e57d6(0x467)],'value':_0x38dd07[_0x5e57d6(0x48d)],'color':_0x38dd07[_0x5e57d6(0x381)]})),ko=_0x115071=>Oo()[_0x5e57d6(0x484)](_0x583652=>_0x4142ba(_0x583652[_0x5e57d6(0x3fd)],_0x115071)),Ao=()=>Wi[_0x5e57d6(0x290)](_0x36d76a=>({'label':_0x36d76a[_0x5e57d6(0x467)],'value':_0x36d76a[_0x5e57d6(0x48d)]})),jo=_0x5d716b=>{const _0x22e17b=_0x5e57d6;let _0x5942fb=_0x4fc25c['getFormatInfo'](_0x5d716b);return Ao()[_0x22e17b(0x290)](_0x29800f=>_0x29800f['value'])[_0x22e17b(0x4cf)](_0x5d716b)||[_0x22e17b(0x2b2),_0x22e17b(0x18b),'time'][_0x22e17b(0x4cf)](_0x5942fb[_0x22e17b(0x127)]);},Mo=({handlePatternChange:_0x3fc61d})=>{const _0x341657=_0x5e57d6;let _0x12b8e6=_0x1d4ad7(_0x4a3b9f);return _0x214f89(()=>{_0x3fc61d('');},[]),_0x286043(_0x341657(0x1ee),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12b8e6['t'](_0x341657(0x27b))});},No=({originPattern:_0xd3a201,handlePatternChange:_0x54843b})=>{const _0x2e94ab=_0x5e57d6;let _0x8565e7=_0x1d4ad7(_0x4a3b9f),_0x1ee14f=_0x2fb200[_0x2e94ab(0x290)](_0x45ce69=>({'label':_0x45ce69,'value':_0x45ce69})),[_0x467329,_0x5c4951]=_0x41b73e(()=>To(_0xd3a201||'',0x2)),[_0x5820d8,_0x310b4d]=_0x41b73e(()=>xo(_0xd3a201==null?'':_0xd3a201)||_0x1ee14f[0x0][_0x2e94ab(0x3fd)]);return _0x214f89(()=>{_0x54843b(Do('_(\x22'+_0x5820d8+'\x22*\x20#,##0'+(_0x467329>0x0?'.0':'')+'_)',_0x467329));},[]),_0x5735fc(_0x2e94ab(0x1ee),{'className':_0x2e94ab(0x1fc),'children':[_0x5735fc(_0x2e94ab(0x1ee),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x5735fc(_0x2e94ab(0x1ee),{'className':'univer-w-[136px]','children':[_0x286043('div',{'className':_0x2e94ab(0x418),'children':_0x8565e7['t']('sheets-chart-ui.dialog.numfmt.decimalPlaces')}),_0x286043(_0x1319dd,{'className':_0x2e94ab(0x251),'value':_0x467329,'max':0x14,'min':0x0,'onChange':_0x563000=>{const _0x2d9764=_0x2e94ab;let _0x2d1b2a=_0x563000==null?0x0:_0x563000;_0x5c4951(_0x2d1b2a),_0x54843b(Do(_0x2d9764(0x2cd)+_0x5820d8+'\x22*\x20#,##0'+(_0x2d1b2a>0x0?'.0':'')+'_)',_0x2d1b2a));}})]}),_0x5735fc('div',{'className':_0x2e94ab(0x26a),'children':[_0x286043(_0x2e94ab(0x1ee),{'className':_0x2e94ab(0x418),'children':_0x8565e7['t'](_0x2e94ab(0xd8))}),_0x286043(_0x35b928,{'options':_0x1ee14f,'value':_0x5820d8,'onChange':_0x9a26b4=>{const _0x319561=_0x2e94ab;_0x310b4d(_0x9a26b4),_0x54843b(Do(_0x319561(0x2cd)+_0x9a26b4+_0x319561(0x1d6)+(_0x467329>0x0?'.0':'')+'_)',_0x467329));}})]})]}),_0x286043(_0x2e94ab(0x1ee),{'className':_0x2e94ab(0x2de),'children':_0x8565e7['t']('sheets-chart-ui.dialog.numfmt.accountingDesc')})]});},Po=({originPattern:_0x1fda63,handlePatternChange:_0x2bde89})=>{const _0x351573=_0x5e57d6;let _0x2a1b7a=_0x1d4ad7(_0x4a3b9f),_0x7fc472=_0x2fb200[_0x351573(0x290)](_0x751a1b=>({'label':_0x751a1b,'value':_0x751a1b})),[_0x4ffd1d,_0x3118dc]=_0x41b73e(()=>To(_0x1fda63||'',0x2)),[_0x36aba2,_0x2813f6]=_0x41b73e(()=>xo(_0x1fda63==null?'':_0x1fda63)||_0x7fc472[0x0][_0x351573(0x3fd)]),_0x52f7a9=Ki[_0x351573(0x290)](_0x339302=>({'label':_0x339302[_0x351573(0x467)](_0x36aba2),'value':_0x339302[_0x351573(0x48d)](_0x36aba2),'color':_0x339302[_0x351573(0x381)]})),[_0x2d618f,_0x49e2b8]=_0x41b73e(()=>{const _0xebe94d=_0x351573;var _0x3eb80d;return((_0x3eb80d=_0x52f7a9[_0xebe94d(0x3a1)](_0x32eb9f=>_0x4142ba(_0x32eb9f[_0xebe94d(0x3fd)],_0x1fda63==null?'':_0x1fda63)))==null?void 0x0:_0x3eb80d[_0xebe94d(0x3fd)])||_0x52f7a9[0x0]['value'];});return _0x214f89(()=>{_0x2bde89(Do(_0x2d618f,_0x4ffd1d));},[]),_0x5735fc(_0x351573(0x1ee),{'className':_0x351573(0x1fc),'children':[_0x5735fc(_0x351573(0x1ee),{'className':_0x351573(0x42c),'children':[_0x5735fc('div',{'className':_0x351573(0x26a),'children':[_0x286043(_0x351573(0x1ee),{'className':_0x351573(0x418),'children':_0x2a1b7a['t']('sheets-chart-ui.dialog.numfmt.decimalPlaces')}),_0x286043(_0x1319dd,{'className':_0x351573(0x251),'value':_0x4ffd1d,'max':0x14,'min':0x0,'onChange':_0x5ab484=>{_0x5ab484&&(_0x3118dc(_0x5ab484),_0x2bde89(Do(_0x2d618f,_0x5ab484)));}})]}),_0x5735fc('div',{'className':_0x351573(0x26a),'children':[_0x286043(_0x351573(0x1ee),{'className':_0x351573(0x418),'children':_0x2a1b7a['t']('sheets-chart-ui.dialog.numfmt.currencyTypes')}),_0x286043(_0x35b928,{'options':_0x7fc472,'value':_0x36aba2,'onChange':_0x3abc5c=>{const _0x43e1e2=_0x351573;_0x2813f6(_0x3abc5c);let _0x2a4b5b=Ki[_0x43e1e2(0x290)](_0x122433=>({'label':_0x122433[_0x43e1e2(0x467)](_0x3abc5c),'value':_0x122433['suffix'](_0x3abc5c),'color':_0x122433[_0x43e1e2(0x381)]}));_0x49e2b8(_0x2a4b5b[0x0][_0x43e1e2(0x3fd)]),_0x2bde89(Do(_0x2a4b5b[0x0][_0x43e1e2(0x3fd)],_0x4ffd1d));}})]})]}),_0x5735fc(_0x351573(0x1ee),{'className':_0x351573(0x1ca),'children':[_0x286043(_0x351573(0x1ee),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x2a1b7a['t'](_0x351573(0x24c))}),_0x286043(_0x2947a4,{'className':_0x5d3286(_0x351573(0x2c5),_0x1cd27f),'options':_0x52f7a9,'value':_0x2d618f,'onChange':_0x3a56db=>{_0x49e2b8(_0x3a56db),_0x2bde89(Do(_0x3a56db,_0x4ffd1d));}}),_0x286043('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2a1b7a['t'](_0x351573(0x413))})]})]});},Fo=({originPattern:_0x5dee60,handlePatternChange:_0x372f37})=>{const _0x233c44=_0x5e57d6;let _0x1a38cd=_0x1d4ad7(_0x4a3b9f),_0x48c15c=Wi[_0x233c44(0x290)](_0x53ba6b=>({'label':_0x53ba6b[_0x233c44(0x467)],'value':_0x53ba6b[_0x233c44(0x48d)]})),[_0x57644c,_0x2d7f03]=_0x41b73e(()=>{const _0x3f8b07=_0x233c44;if(_0x5dee60){let _0x2ae442=_0x48c15c[_0x3f8b07(0x3a1)](_0x35fbed=>_0x35fbed['value']===_0x5dee60);if(_0x2ae442)return _0x2ae442[_0x3f8b07(0x3fd)];}return _0x48c15c[0x0][_0x3f8b07(0x3fd)];});return _0x214f89(()=>{_0x372f37(_0x57644c);},[]),_0x286043(_0x233c44(0x1ee),{'className':_0x233c44(0x1fc),'children':_0x5735fc('div',{'className':_0x233c44(0x1ca),'children':[_0x286043(_0x233c44(0x1ee),{'className':_0x233c44(0x418),'children':_0x1a38cd['t'](_0x233c44(0x3d6))}),_0x286043(_0x233c44(0x1ee),{'children':_0x286043(_0x2947a4,{'className':_0x5d3286('univer-rounded-lg\x20univer-p-2',_0x1cd27f),'options':_0x48c15c,'value':_0x57644c,'onChange':_0x170bdc=>{_0x2d7f03(_0x170bdc),_0x372f37(_0x170bdc);}})}),_0x286043('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a38cd['t'](_0x233c44(0x273))})]})});},Io=({originPattern:_0x113a45,handlePatternChange:_0x1224f3})=>{const _0x4d86fe=_0x5e57d6;let _0x56a7c0=_0x1d4ad7(_0x4a3b9f),[_0x433f98,_0x3cb06b]=_0x41b73e(()=>To(_0x113a45||'',0x0)),_0x2c40b9=Gi['map'](_0x1a6083=>({'label':_0x1a6083[_0x4d86fe(0x467)],'value':_0x1a6083['suffix'],'color':_0x1a6083[_0x4d86fe(0x381)]})),[_0x42dcd2,_0x40cfd6]=_0x41b73e(()=>{const _0x4cddad=_0x4d86fe;let _0xf08bd1=_0x2c40b9['find'](_0x873c30=>_0x4142ba(_0x873c30[_0x4cddad(0x3fd)],_0x113a45||''));return(_0xf08bd1==null?void 0x0:_0xf08bd1[_0x4cddad(0x3fd)])||_0x2c40b9[0x0][_0x4cddad(0x3fd)];});return _0x214f89(()=>{_0x1224f3(Do(_0x42dcd2,Number(_0x433f98||0x0)));},[]),_0x5735fc(_0x4d86fe(0x1ee),{'className':_0x4d86fe(0x1fc),'children':[_0x286043(_0x4d86fe(0x1ee),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x5735fc(_0x4d86fe(0x1ee),{'className':_0x4d86fe(0x26a),'children':[_0x286043('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x56a7c0['t'](_0x4d86fe(0x2fa))}),_0x286043(_0x1319dd,{'className':_0x4d86fe(0x251),'value':_0x433f98,'max':0x14,'min':0x0,'onChange':_0x5ca33d=>{_0x5ca33d&&(_0x3cb06b(_0x5ca33d),_0x1224f3(Do(_0x42dcd2,Number(_0x5ca33d))));}})]})}),_0x5735fc(_0x4d86fe(0x1ee),{'className':_0x4d86fe(0x1ca),'children':[_0x286043(_0x4d86fe(0x1ee),{'className':_0x4d86fe(0x418),'children':_0x56a7c0['t']('sheets-chart-ui.dialog.numfmt.negativeNumberTypes')}),_0x286043(_0x2947a4,{'className':_0x5d3286(_0x4d86fe(0x2c5),_0x1cd27f),'options':_0x2c40b9,'value':_0x42dcd2,'onChange':_0x19e0f9=>{_0x3cb06b(To(_0x19e0f9,0x0)),_0x40cfd6(_0x19e0f9),_0x1224f3(_0x19e0f9);}}),_0x286043('div',{'className':_0x4d86fe(0x2de),'children':_0x56a7c0['t']('sheets-chart-ui.dialog.numfmt.thousandthPercentileDesc')})]})]});},Lo=({originPattern:_0x2190b2,onPatternApply:_0xcce65f})=>{const _0x1e6b1e=_0x5e57d6;let _0x202dd3=_0x1d4ad7(_0x4a3b9f),_0x5139c8=_0x1d4ad7(_0x4ea893),_0x38ae7d=_0x5f47d8(()=>[{'label':_0x1e6b1e(0x374),'component':Mo,'key':_0x1e6b1e(0x310)},{'label':_0x1e6b1e(0x2c4),'component':No,'key':_0x1e6b1e(0x2cf)},{'label':_0x1e6b1e(0x1c2),'component':Po,'key':_0x1e6b1e(0x509)},{'label':_0x1e6b1e(0x4b3),'component':Fo,'key':'sheet.numfmt.date'},{'label':_0x1e6b1e(0xd2),'component':Io,'key':_0x1e6b1e(0x46c)}]['map'](_0x38a293=>({..._0x38a293,'label':_0x202dd3['t'](_0x38a293[_0x1e6b1e(0x467)])})),[_0x202dd3]),_0x485cfd=_0x48882f=>[So,Co,wo,jo,ko][_0x1e6b1e(0x2ed)]((_0x37bf28,_0x1bd573,_0x1b4766)=>_0x37bf28||(_0x1bd573(_0x48882f==null?'':_0x48882f)?_0x38ae7d[_0x1b4766]['key']:void 0x0),void 0x0)||_0x38ae7d[0x0][_0x1e6b1e(0x162)],_0x1d6f81=_0x38ae7d[_0x1e6b1e(0x290)](_0xa3c276=>({'label':_0xa3c276[_0x1e6b1e(0x467)],'value':_0xa3c276['key']})),[_0x4760fe,_0x1eb8a4]=_0x41b73e(()=>_0x485cfd(_0x2190b2)),[_0x4719c4,_0x42413b]=_0x41b73e(_0x2190b2),_0xe4f51d=_0x1e571e=>_0x42413b(_0x1e571e),_0x1be98d=_0x51d0dd=>{_0x1eb8a4(_0x51d0dd);};return _0x214f89(()=>{let _0x320d65=_0x485cfd(_0x2190b2);_0x320d65!==_0x4760fe&&_0x1eb8a4(_0x320d65),_0x2190b2!==_0x4719c4&&_0x42413b(_0x2190b2);},[_0x2190b2]),_0x5735fc(_0x1e6b1e(0x1ee),{'children':[_0x286043(_0x1e6b1e(0x1ee),{'className':'univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','children':_0x202dd3['t'](_0x1e6b1e(0x168))}),_0x286043(_0x1e6b1e(0x1ee),{'children':_0x286043(_0x35b928,{'className':_0x1e6b1e(0x17d),'onChange':_0xa738fb=>_0x1be98d(_0xa738fb),'options':_0x1d6f81,'value':_0x4760fe})}),_0x5735fc(_0x1e6b1e(0x1ee),{'className':_0x1e6b1e(0x1ca),'children':[_0x4760fe===_0x1e6b1e(0x310)&&_0x286043(Mo,{'originPattern':_0x2190b2,'handlePatternChange':_0xe4f51d}),_0x4760fe===_0x1e6b1e(0x2cf)&&_0x286043(No,{'originPattern':_0x2190b2,'handlePatternChange':_0xe4f51d}),_0x4760fe===_0x1e6b1e(0x509)&&_0x286043(Po,{'originPattern':_0x2190b2,'handlePatternChange':_0xe4f51d}),_0x4760fe===_0x1e6b1e(0x2d6)&&_0x286043(Fo,{'originPattern':_0x2190b2,'handlePatternChange':_0xe4f51d}),_0x4760fe===_0x1e6b1e(0x46c)&&_0x286043(Io,{'originPattern':_0x2190b2,'handlePatternChange':_0xe4f51d})]}),_0x5735fc('div',{'className':'univer-mt-5\x20univer-flex\x20univer-justify-end','children':[_0x286043(_0x4a1a8b,{'onClick':()=>{_0x5139c8['close'](qi);},'children':_0x202dd3['t'](_0x1e6b1e(0x111))}),_0x286043(_0x4a1a8b,{'className':_0x1e6b1e(0x18f),'variant':_0x1e6b1e(0x1e9),'onClick':()=>{_0xcce65f&&_0xcce65f(_0x4719c4),_0x5139c8['close'](qi);},'children':_0x202dd3['t'](_0x1e6b1e(0x523))})]})]});};let Ro=class extends _0x5ae490{constructor(_0x17adce,_0x8c9c57){const _0x2a98e8=_0x5e57d6;super(),this[_0x2a98e8(0x287)]=_0x17adce,this[_0x2a98e8(0x314)]=_0x8c9c57,this[_0x2a98e8(0x442)](),this['_registerComponents']();}[_0x5e57d6(0x442)](){const _0x2ba94f=_0x5e57d6;this[_0x2ba94f(0x43a)](this[_0x2ba94f(0x314)]['register']({'ChartIcon':_0x5a1446,'AreaChartIcon':_0x586424,'BarChartIcon':_0x30942f,'ColumnChartIcon':_0x172169,'ComboChartIcon':_0x56b670,'LineChartIcon':_0xd67be4,'PenIcon':_0x2711a8,'PieChartIcon':_0x294b65,'RadarChartIcon':_0xe89405,'ScatterChartIcon':_0x143b8e,'FunnelIcon':_0x13f77f,'CloudIcon':_0x2c2ea8,'BubbleIcon':_0x361cd2,'RelationshipIcon':_0x165513,'WaterfallChartIcon':_0x3bcb0d,'SankeyChartIcon':_0x48d801,'HeatmapChartIcon':_0x127af7,'BoxplotIcon':_0xbb7994}));}[_0x5e57d6(0x395)](){const _0xa8b963=_0x5e57d6;[[Ua,Ha],[Ji,Lo]][_0xa8b963(0x260)](([_0x5a740e,_0x449776])=>{const _0x304709=_0xa8b963;this['disposeWithMe'](this['_componentManager'][_0x304709(0x136)](_0x5a740e,_0x449776));});}};Ro=Nr([Q(0x0,_0x188178(_0x59a3a4)),Q(0x1,_0x188178(_0x49393e))],Ro);let zo=class extends _0x5ae490{constructor(_0x1ee0a1,_0x534c26,_0x29bdeb,_0x951f1d){const _0x305fe4=_0x5e57d6;super(),this[_0x305fe4(0x2f2)]=_0x1ee0a1,this['_sheetClipboardService']=_0x534c26,this['_sheetDrawingService']=_0x29bdeb,this[_0x305fe4(0x279)]=_0x951f1d,Z(this,_0x305fe4(0x396),void 0x0),this[_0x305fe4(0x477)]();}get['_focusedDrawings'](){const _0x51e842=_0x5e57d6;return this[_0x51e842(0x248)][_0x51e842(0x3a7)]();}['_initCopyPaste'](){const _0x40d634=_0x5e57d6;this[_0x40d634(0x43a)](this['_sheetClipboardService']['addClipboardHook']({'id':_0x18515b,'onBeforeCopy':(_0x2986ee,_0x323b77,_0x4095bd,_0x317c92)=>{const _0x3dd434=_0x40d634;this[_0x3dd434(0x396)]=null;let _0x3f5891=this[_0x3dd434(0x317)];if(_0x3f5891[_0x3dd434(0x407)]){let _0x29eb69=_0x3f5891[_0x3dd434(0x4d2)](_0x4a542a=>_0x4a542a[_0x3dd434(0x4bb)]===_0x4f620b[_0x3dd434(0x2af)]);if(_0x29eb69[_0x3dd434(0x407)]===0x0)return;this['_copyInfo']={'unitId':_0x2986ee,'subUnitId':_0x323b77,'copyType':_0x317c92,'drawings':_0x29eb69};}else this[_0x3dd434(0x27a)](_0x2986ee,_0x323b77,_0x4095bd,_0x317c92);},'onPasteCells':(_0x34829c,_0xfd6c7f,_0x542385,_0x19058a)=>{const _0x40d10f=_0x40d634;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0xd9998a}=_0x19058a;return _0xd9998a===_0x107567[_0x40d10f(0x49b)]?this['_generatePasteMutations'](_0xfd6c7f,this['_copyInfo'][_0x40d10f(0x3ae)]===_0x243c89['CUT']):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x621e86=>this[_0x40d634(0x396)]?this[_0x40d634(0x3ba)](_0x621e86,this[_0x40d634(0x396)][_0x40d634(0x3ae)]===_0x243c89[_0x40d634(0x292)]):{'redos':[],'undos':[]}}));}[_0x5e57d6(0x27a)](_0x3fbe1f,_0x5af892,_0x58f878,_0x200fd4){const _0x23d9c2=_0x5e57d6;let _0xed6380=this['_sheetSkeletonService']['getSkeleton'](_0x3fbe1f,_0x5af892);if(!_0xed6380)return;let _0x2457de=_0x3aee65(_0xed6380,_0x58f878);if(!_0x2457de)return;let {startX:_0xef5bf4,endX:_0x2f8909,startY:_0x546b8a,endY:_0x23ced7}=_0x2457de,_0x21fb12=this[_0x23d9c2(0x248)][_0x23d9c2(0x11f)](_0x3fbe1f,_0x5af892),_0x3996cc=this['_focusedDrawings'][_0x23d9c2(0x1a5)]();for(let [_0x480ab6,_0x39ed82]of Object[_0x23d9c2(0x2eb)](_0x21fb12)){if(_0x39ed82[_0x23d9c2(0x4bb)]!==_0x4f620b[_0x23d9c2(0x2af)])continue;let {transform:_0x5c45fe}=_0x39ed82;if(!_0x5c45fe)continue;let {left:_0x22138b=0x0,top:_0x1352e4=0x0,width:_0x385fe8=0x0,height:_0x1d7b31=0x0}=_0x5c45fe;_0xef5bf4<=_0x22138b&&_0x2f8909>=_0x22138b+_0x385fe8&&_0x546b8a<=_0x1352e4&&_0x23ced7>=_0x1352e4+_0x1d7b31&&_0x3996cc[_0x23d9c2(0x25d)](_0x39ed82);}_0x3996cc[_0x23d9c2(0x407)]>0x0&&(this[_0x23d9c2(0x396)]={'unitId':_0x3fbe1f,'subUnitId':_0x5af892,'copyType':_0x200fd4,'copyRange':_0x58f878,'drawings':_0x3996cc});}[_0x5e57d6(0x3ba)](_0x1a5df9,_0x3fe4f0){const _0x5469c1=_0x5e57d6;let {unitId:_0xfae349,subUnitId:_0x3e8e27,range:_0x373d88}=_0x1a5df9,_0x4a5f86=this['_sheetSkeletonService'][_0x5469c1(0x4c5)](_0xfae349,_0x3e8e27);if(!_0x4a5f86)return{'redos':[],'undos':[]};let _0x1796a6=_0x2c8ca1(_0x373d88),{unitId:_0xa71a79,subUnitId:_0xc3da4b,copyRange:_0x6fc29a,drawings:_0x11c9f9}=this['_copyInfo'],_0x275d21=this[_0x5469c1(0x2f2)]['getSkeleton'](_0xa71a79,_0xc3da4b);if(!_0x275d21)return{'redos':[],'undos':[]};let _0x240d17=[],_0x3e07e4=[];for(let _0x48e67d of _0x11c9f9){let {drawingId:_0x698ba7,transform:_0x572f4b,sheetTransform:_0x3e2463}=_0x48e67d,_0x33a76b=this[_0x5469c1(0x279)]['getChartModel'](_0x698ba7);if(!_0x33a76b||!_0x572f4b||!_0x3e2463)continue;let _0x33079f=this[_0x5469c1(0xd3)]({'transform':_0x572f4b,'sheetTransform':_0x3e2463},{'skeleton':_0x275d21,'range':_0x6fc29a},{'skeleton':_0x4a5f86,'range':_0x1796a6});if(_0x3fe4f0){let {redos:_0x3e8e1f,undos:_0x262bd2}=this[_0x5469c1(0x195)]({'fromUnitId':_0xa71a79,'fromSubUnitId':_0xc3da4b,'toUnitId':_0xfae349,'toSubUnitId':_0x3e8e27,'drawing':_0x48e67d,'newTransforms':_0x33079f},_0x33a76b);_0x240d17[_0x5469c1(0x25d)](..._0x3e8e1f),_0x3e07e4[_0x5469c1(0x25d)](..._0x262bd2);continue;}let {redos:_0xe9a67f,undos:_0x3b106e}=this[_0x5469c1(0x4a3)]({'toUnitId':_0xfae349,'toSubUnitId':_0x3e8e27,'drawing':_0x48e67d,'newTransforms':_0x33079f},_0x33a76b);_0x240d17[_0x5469c1(0x25d)](..._0xe9a67f),_0x3e07e4[_0x5469c1(0x25d)](..._0x3b106e);}return{'redos':_0x240d17,'undos':_0x3e07e4};}[_0x5e57d6(0x195)](_0x20a295,_0x52a5a0){const _0x5a875e=_0x5e57d6;let {fromUnitId:_0x279bcf,fromSubUnitId:_0x5692e2,toUnitId:_0x14f35b,toSubUnitId:_0x545b53,drawing:_0x437146,newTransforms:_0x48f963}=_0x20a295,_0x8a4ae4={..._0x437146,'unitId':_0x14f35b,'subUnitId':_0x545b53,'transform':_0x48f963[_0x5a875e(0x376)],'sheetTransform':_0x48f963[_0x5a875e(0x16f)]};if(_0x14f35b===_0x279bcf&&_0x545b53===_0x5692e2){let {redo:_0x4cb8ed,undo:_0x2f9bf0,objects:_0x25bc97}=this[_0x5a875e(0x248)][_0x5a875e(0x316)]([_0x8a4ae4]);return{'redos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'type':_0x30810d[_0x5a875e(0x45f)],'op':_0x4cb8ed,'objects':_0x25bc97}}],'undos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'type':_0x30810d[_0x5a875e(0x45f)],'op':_0x2f9bf0,'objects':_0x25bc97}}]};}else{let _0x549e4e=this[_0x5a875e(0x248)]['getBatchRemoveOp']([_0x437146]),_0x14ef17=this[_0x5a875e(0x248)][_0x5a875e(0x487)]([_0x8a4ae4]),_0x4e9cc5=_0x52a5a0[_0x5a875e(0xdc)][_0x5a875e(0x3bb)](),{chartType:_0x59e435,context:_0x2f7457,style:_0x1b5169,dataAggregation:_0x37f8fc}=_0x52a5a0[_0x5a875e(0x20e)]();return{'redos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x279bcf,'subUnitId':_0x5692e2,'type':_0x30810d[_0x5a875e(0x1b3)],'op':_0x549e4e[_0x5a875e(0x3ce)],'objects':_0x549e4e[_0x5a875e(0x309)]}},{'id':_0x425c7f['id'],'params':{'unitId':_0x279bcf,'subUnitId':_0x5692e2,'chartId':_0x437146['drawingId']}},{'id':_0x4d5871['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'type':_0x30810d['INSERT'],'op':_0x14ef17[_0x5a875e(0x3ce)],'objects':_0x14ef17[_0x5a875e(0x309)]}},{'id':_0x7f39c7['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'chartId':_0x437146[_0x5a875e(0x207)],'chartType':_0x59e435,..._0x3bdc2f(_0x4e9cc5),'context':_0x2f7457,'style':_0x1b5169,'dataAggregation':_0x37f8fc}}],'undos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x279bcf,'subUnitId':_0x5692e2,'type':_0x30810d[_0x5a875e(0x31d)],'op':_0x549e4e[_0x5a875e(0x3c5)],'objects':_0x549e4e['objects']}},{'id':_0x7f39c7['id'],'params':{'unitId':_0x279bcf,'subUnitId':_0x5692e2,'chartId':_0x437146[_0x5a875e(0x207)],'chartType':_0x59e435,..._0x3bdc2f(_0x4e9cc5),'context':_0x2f7457,'style':_0x1b5169,'dataAggregation':_0x37f8fc}},{'id':_0x4d5871['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'type':_0x30810d['REMOVE'],'op':_0x14ef17[_0x5a875e(0x3c5)],'objects':_0x14ef17['objects']}},{'id':_0x425c7f['id'],'params':{'unitId':_0x14f35b,'subUnitId':_0x545b53,'chartId':_0x437146[_0x5a875e(0x207)]}}]};}}[_0x5e57d6(0x4a3)](_0x48200a,_0x5f9a1f){const _0x4d3048=_0x5e57d6;let {toUnitId:_0x1cb297,toSubUnitId:_0x14c2c3,drawing:_0x31a70b,newTransforms:_0x88eb91}=_0x48200a,_0x1dc0bd=_0x1262ec(),_0x4613a7={..._0x31a70b,'unitId':_0x1cb297,'subUnitId':_0x14c2c3,'drawingId':_0x1dc0bd,'transform':_0x88eb91[_0x4d3048(0x376)],'sheetTransform':_0x88eb91[_0x4d3048(0x16f)]},{redo:_0x270aff,undo:_0x4a5a4b,objects:_0x21f1d7}=this[_0x4d3048(0x248)][_0x4d3048(0x487)]([_0x4613a7]),_0x712755=_0x5f9a1f[_0x4d3048(0xdc)]['getRangeInfo'](),{chartType:_0x20b226,context:_0x314c6e,style:_0x3d9744,dataAggregation:_0x19bb91}=_0x5f9a1f[_0x4d3048(0x20e)]();return{'redos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x1cb297,'subUnitId':_0x14c2c3,'type':_0x30810d['INSERT'],'op':_0x270aff,'objects':_0x21f1d7}},{'id':_0x7f39c7['id'],'params':{'unitId':_0x1cb297,'subUnitId':_0x14c2c3,'chartId':_0x1dc0bd,'chartType':_0x20b226,..._0x3bdc2f(_0x712755),'context':_0x314c6e,'style':_0x3d9744,'dataAggregation':_0x19bb91}}],'undos':[{'id':_0x4d5871['id'],'params':{'unitId':_0x1cb297,'subUnitId':_0x14c2c3,'type':_0x30810d['REMOVE'],'op':_0x4a5a4b,'objects':_0x21f1d7}},{'id':_0x425c7f['id'],'params':{'unitId':_0x1cb297,'subUnitId':_0x14c2c3,'chartId':_0x1dc0bd}}]};}[_0x5e57d6(0xd3)](_0x5c06b7,_0x4a514c,_0x355798){const _0x231475=_0x5e57d6;var _0x2e9f28;let {range:_0x2b2ec0,skeleton:_0x2ef7b2}=_0x4a514c,{range:_0x3f5cb5,skeleton:_0x263789}=_0x355798,{transform:_0x4ebf90,sheetTransform:_0x53b291}=_0x5c06b7,_0x154a90={..._0x4ebf90};if(_0x2b2ec0){let _0x4e6731=_0x3aee65(_0x2ef7b2,_0x2b2ec0),_0x27a342=_0x3aee65(_0x263789,_0x3f5cb5);if(_0x4e6731&&_0x27a342){var _0x5e642b,_0x2c8b97;let _0x50d850=_0x27a342['startX']-_0x4e6731['startX'],_0x35b490=_0x27a342[_0x231475(0x3d3)]-_0x4e6731['startY'];_0x154a90[_0x231475(0x473)]=((_0x5e642b=_0x154a90[_0x231475(0x473)])==null?0x0:_0x5e642b)+_0x50d850,_0x154a90[_0x231475(0x135)]=((_0x2c8b97=_0x154a90[_0x231475(0x135)])==null?0x0:_0x2c8b97)+_0x35b490;}}else{let _0x1cf42a=_0x3aee65(_0x263789,_0x3f5cb5);_0x154a90['left']=_0x1cf42a==null?void 0x0:_0x1cf42a[_0x231475(0x4ef)],_0x154a90['top']=_0x1cf42a==null?void 0x0:_0x1cf42a[_0x231475(0x3d3)];}return{'transform':_0x154a90,'sheetTransform':(_0x2e9f28=_0x4372d6(_0x154a90,_0x263789))==null?_0x53b291:_0x2e9f28};}};zo=Nr([Q(0x0,_0x188178(_0x28c68d)),Q(0x1,_0x188178(_0x1a48bb)),Q(0x2,_0x188178(_0x52c0a1)),Q(0x3,_0x188178(_0x412f7b))],zo);let Bo=class extends _0x5ae490{constructor(_0xe7248d,_0x3634ac,_0x5b1d5f,_0x23f467){const _0x5db222=_0x5e57d6;super(),this[_0x5db222(0x205)]=_0xe7248d,this['_localeService']=_0x3634ac,this['_sheetPermissionCheckController']=_0x5b1d5f,this[_0x5db222(0x51f)]=_0x23f467,this[_0x5db222(0x431)]();}[_0x5e57d6(0x431)](){const _0x34c3b6=_0x5e57d6;this[_0x34c3b6(0x43a)](this[_0x34c3b6(0x205)][_0x34c3b6(0x472)](_0x144c2a=>{const _0x13b75a=_0x34c3b6;let _0x48da51,_0x2b1266;if(_0x144c2a['id']===_0x3b5be0['id']){let _0x1ff5d0=_0x144c2a[_0x13b75a(0x48f)];_0x48da51=_0x1ff5d0[_0x13b75a(0x522)],_0x2b1266=_0x1ff5d0[_0x13b75a(0x37e)];}else{if(_0x144c2a['id']===_0xe54a4f['id']||_0x144c2a['id']===_0x2a11fc['id']){let _0xc8217=_0x144c2a[_0x13b75a(0x48f)];_0x48da51=_0xc8217[_0x13b75a(0x522)],_0x2b1266=this[_0x13b75a(0x51f)][_0x13b75a(0x341)](_0xc8217[_0x13b75a(0x522)],_0xc8217['chartModelId']);}}!_0x48da51||!_0x2b1266||this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x47bac2],'worksheetTypes':[_0x4e62a6]},_0x48da51,_0x2b1266)||this[_0x13b75a(0x2d0)][_0x13b75a(0xc2)](this['_localeService']['t'](_0x13b75a(0x32c)));}));}};Bo=Nr([Q(0x0,_0x188178(_0x536519)),Q(0x1,_0x188178(_0x4a3b9f)),Q(0x2,_0x188178(_0x3b8569)),Q(0x3,_0x188178(_0x5500b1))],Bo);let Vo=class extends _0x3b31d5{constructor(_0xbe39ec=hr,_0x198369,_0x1f8b51,_0x11479d){const _0x105e44=_0x5e57d6;super(),this[_0x105e44(0x349)]=_0xbe39ec,this[_0x105e44(0x283)]=_0x198369,this['_configService']=_0x1f8b51,this[_0x105e44(0x205)]=_0x11479d,Z(this,_0x105e44(0x12d),void 0x0);let {..._0x10f71f}=_0x3273fe({},hr,this[_0x105e44(0x349)]);this[_0x105e44(0x12d)]=_0x10f71f,this['_configService'][_0x105e44(0x4bc)](mr,_0x10f71f),this[_0x105e44(0x4e9)](),_0x53b19c(_0x3637c7);}[_0x5e57d6(0x359)](){const _0xb23fd8=_0x5e57d6;this[_0xb23fd8(0x283)]['add']([Ro]),this[_0xb23fd8(0x283)][_0xb23fd8(0x1cc)](Ro);let _0x399830=this[_0xb23fd8(0x283)],_0x3bae69=[[ci,{'useClass':li}],[Ir,{'useClass':Fr}],[kr],[Br],[Ga],[vo],[yo],[zo],[bo],[Bo]],_0x40a519=[[Ga],[yo],[vo],[ci],[zo],[bo],[Bo]];this['_resolvedConfig'][_0xb23fd8(0x30d)]&&(_0x3bae69[_0xb23fd8(0x25d)]([_o]),_0x40a519[_0xb23fd8(0x25d)]([_o])),_0x3bae69[_0xb23fd8(0x260)](_0x540890=>_0x399830[_0xb23fd8(0x312)](_0x540890)),_0x4967dd(this[_0xb23fd8(0x283)],_0x40a519);}[_0x5e57d6(0x2c9)](){const _0x32930e=_0x5e57d6;var _0x4f57dc;(_0x4f57dc=this['_injector'][_0x32930e(0x1cc)](Ga))==null||_0x4f57dc[_0x32930e(0x318)]();}[_0x5e57d6(0x4e9)](){const _0x570189=_0x5e57d6;[$r,Ur,Wr,Gr,Kr,_r,gr][_0x570189(0x260)](_0x59522f=>this[_0x570189(0x43a)](this['_commandService'][_0x570189(0x2ce)](_0x59522f)));}};Z(Vo,'type',_0x3829a7[_0x5e57d6(0x492)]),Z(Vo,_0x5e57d6(0x1e7),_0x5e57d6(0x2ff)),Z(Vo,_0x5e57d6(0x353),Ka),Z(Vo,_0x5e57d6(0x29c),qa),Vo=Nr([_0x2109eb(_0x746d5e,_0x206717,_0xaa487c,_0x303b79),Q(0x1,_0x188178(_0x5c466e)),Q(0x2,_0xc91c4e),Q(0x3,_0x536519)],Vo);export{ci as ISheetsChartUIService,mr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Ga as SheetsChartUIController,oi as SheetsChartUIMenuSchema,li as SheetsChartUIService,Vo as UniverSheetsChartUIPlugin,lo as resolveChartEditPanelRoute};
|
|
1
|
+
const _0x42a697=_0x8d76;(function(_0x2f8706,_0x146d7d){const _0x26c232=_0x8d76,_0x3d5183=_0x2f8706();while(!![]){try{const _0xeb27dd=-parseInt(_0x26c232(0x34e))/0x1*(parseInt(_0x26c232(0x2c7))/0x2)+-parseInt(_0x26c232(0x1a7))/0x3*(parseInt(_0x26c232(0x1fe))/0x4)+parseInt(_0x26c232(0x34a))/0x5*(parseInt(_0x26c232(0x2bf))/0x6)+-parseInt(_0x26c232(0x1b4))/0x7+-parseInt(_0x26c232(0x2bd))/0x8*(parseInt(_0x26c232(0x214))/0x9)+-parseInt(_0x26c232(0x3cd))/0xa+parseInt(_0x26c232(0x20d))/0xb*(parseInt(_0x26c232(0x20f))/0xc);if(_0xeb27dd===_0x146d7d)break;else _0x3d5183['push'](_0x3d5183['shift']());}catch(_0x7bf79d){_0x3d5183['push'](_0x3d5183['shift']());}}}(_0x1e7d,0x93335));import{ChartModelService as _0x3db1ab,ChartRenderMode as _0xb0238,ChartUpdateConfigCommand as _0x376d77,ChartUpdateConfigMutation as _0x3f4f82,ChartUpdateSourceCommand as _0x2c914e,InsertChartCommand as _0x6e5b4c,InsertSheetsChartMutation as _0x5f2686,RemoveSheetsChartMutation as _0x54d713,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1eb9cf,SHEETS_CHART_PLUGIN_NAME as _0x227e0c,SheetChartBuilderAdapter as _0x17cadd,SheetsChartService as _0x4ce731,UniverSheetsChartPlugin as _0x594a73,getAllowedChartTypes as _0x4c7049,toInsertChartMutationSource as _0xbcc4c3}from'@univerjs-pro/sheets-chart';import{CommandType as _0x5004ac,DependentOn as _0x7bb0e4,Disposable as _0x306247,DisposableCollection as _0x26ed62,DrawingTypeEnum as _0x4cd99f,FOCUSING_COMMON_DRAWINGS as _0x4965bb,ICommandService as _0x5e196b,IConfigService as _0x42fc9b,IContextService as _0x52e096,IUniverInstanceService as _0x39f3aa,Inject as _0x3c5f23,Injector as _0x2f4582,LocaleService as _0xd5d68c,Plugin as _0x4c3811,ThemeService as _0x42b947,UniverInstanceType as _0x351816,createIdentifier as _0x10e12c,debounce as _0x23b2a1,generateRandomId as _0x1d4220,merge as _0x4bcc46,numberToABC as _0x592b49,toDisposable as _0x35a9aa,touchDependencies as _0x3748ed}from'@univerjs/core';import{IDrawingManagerService as _0x3e323c,UniverDrawingPlugin as _0x4bd1ff,getDrawingShapeKeyByDrawingSearch as _0x4a9fe4}from'@univerjs/drawing';import{DrawingApplyType as _0x4a5972,ISheetDrawingService as _0x1e8199,RemoveSheetDrawingCommand as _0x42f5a4,SetDrawingApplyMutation as _0x41a1c6,UniverSheetsDrawingPlugin as _0x3f289a,transformToDrawingPosition as _0x434b54}from'@univerjs/sheets-drawing';import{IDrawingContextMenuService as _0x2afa85,SHEET_CHART_RENDER_OBJECT_CONFIG as _0x3e8982,SheetCanvasFloatDomManagerService as _0x463e32,SheetDrawingHitTestService as _0x18294c,UniverSheetsDrawingUIPlugin as _0x554972}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x383c66,ISheetClipboardService as _0x4856f0,PREDEFINED_HOOK_NAME as _0x4e1be3,SheetCanvasPopManagerService as _0x4d1830,SheetCopyCommand as _0x3cc3a6,SheetPrintInterceptorService as _0xb35bee,SheetSkeletonManagerService as _0xb53775,UniverSheetsUIPlugin as _0x32fcea,deriveStateFromActiveSheet$ as _0x2f2775,getCurrentRangeDisable$ as _0x32ff81}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x37bc3b,ComponentManager as _0x49123f,ContextMenuGroup as _0x17c827,IMenuManagerService as _0x35353b,ISidebarService as _0x2ce6f1,IconManager as _0x2f93b0,MenuItemType as _0x3afb21,MenuManagerPosition as _0x18406c,RibbonInsertGroup as _0x563f0b,getMenuHiddenObservable as _0x14c5fe,useDependency as _0x367ed8,useObservable as _0x1f7c84}from'@univerjs/ui';import{BehaviorSubject as _0x2b0349,Observable as _0x5d87df,Subject as _0x68b55a,combineLatest as _0x54d9ab,combineLatestWith as _0x57c29d,debounceTime as _0x117f83,filter as _0x469439,fromEvent as _0x2843a7,map as _0x7692dd,merge as _0x4b9e2a,startWith as _0x1d4871,take as _0x3adbcc,throttleTime as _0x90ae39}from'rxjs';import{ChartHostRenderMode as _0x54947a,ChartImageSourceType as _0x5516f3,ChartThemeService as _0x274d2d,ChartTypeBits as _0x240ffc,ChartWaterfallStyleTarget as _0x563997,DataOrientation as _0x469e35,EChartRenderEngineName as _0x223dba,IChartRenderModelManagerService as _0x127e53,ImageChartHost as _0x353b6b,PieSecondaryPlotType as _0x3862b3,RTLChartStyle as _0x3cc793,chartBitsUtils as _0x255937,chartImageSourceToDataUrl as _0x4d8890,chartTypeCanUseTrendLine as _0x424832,echarts as _0x31550f,registerWordCloudChart as _0xfba3fc,resolveChartRuntimeStyle as _0x24fc40,resolveChartStyleBackgroundColor as _0x15eac5,resolveDefaultChartHostFrameStyle as _0x1501c4}from'@univerjs-pro/engine-chart';import{insertGroupObject as _0x448638}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x2c5142,IRenderManagerService as _0xf835e7,ObjectType as _0x5c8946,RENDER_CLASS_TYPE as _0x80b0a2,Rect as _0x238021,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x29c8d5,Transform as _0x59dff8,UniverRenderEnginePlugin as _0x364117}from'@univerjs/engine-render';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x28baa3,CHART_HOST_BORDER_RADIUS as _0x2ccc17,CHART_TYPE_CATALOG as _0x524b83,ChartAxisSection as _0xccd877,ChartCommonDataMappingSection as _0x35d650,ChartDomFrame as _0x4859f1,ChartEditBlockTitle as _0x84b2b8,ChartEditPanel as _0x2424c5,ChartEditPanelSection as _0x3c23c3,ChartEditPanelTab as _0x3b42b0,ChartEditPanelTabs as _0x49153f,ChartEditorCapability as _0x43169f,ChartEditorProvider as _0xf1436d,ChartElementFloatMenuAdapterRegistry as _0x542574,ChartFrameContentMode as _0xa6704b,ChartFrameLayout as _0x1400b0,ChartFunnelStyleSection as _0xbc3057,ChartGradientFillField as _0x2af025,ChartGridlinesAndTicksSection as _0x109817,ChartHeatmapStyleSection as _0x3c4227,ChartHostAdapter as _0x5ef80d,ChartIndicatorLineSection as _0xd2470d,ChartLegendSection as _0x458cad,ChartLineAndAreaSection as _0x4a4456,ChartNumberFormatAtom as _0x3102a0,ChartParetoSeriesSection as _0x37c56e,ChartPieStyleSection as _0x4e0d64,ChartRadarStyleSection as _0xb6967a,ChartRelationStyleSection as _0x43b985,ChartSectionAccordion as _0x575c48,ChartSectionAccordionContent as _0xa01ef5,ChartSectionAccordionItem as _0xeb30a0,ChartSectionAccordionTrigger as _0x2bd995,ChartSeriesSection as _0x3c165b,ChartStackField as _0x4ab927,ChartStyleSection as _0x581303,ChartThemeField as _0x456843,ChartTitlesSection as _0x1a4929,ChartTrendlineSection as _0x678707,ChartTypeField as _0x4d08fa,ChartTypeSpecificDataSection as _0x570a19,ChartTypeSpecificSetupSection as _0x14264b,ChartTypeSpecificStyleSection as _0x359faf,ChartUIService as _0x56b2af,ChartViewStateRegistry as _0x3bf128,ChartWaterfallSetupFields as _0x5770f4,ChartWaterfallStyleSection as _0x3fecf2,ChartWordCloudStyleSection as _0x516864,DEFAULT_CHART_AXIS_VALUES as _0x2feaa6,DEFAULT_CHART_FUNNEL_VALUES as _0x3fb233,DEFAULT_CHART_HEATMAP_VALUES as _0x98612d,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x4cf3b3,DEFAULT_CHART_LEGEND_VALUES as _0x19f7ca,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x19f7dc,DEFAULT_CHART_PARETO_VALUES as _0x4b5d06,DEFAULT_CHART_PIE_VALUES as _0x23c81f,DEFAULT_CHART_RADAR_VALUES as _0x2b90af,DEFAULT_CHART_RELATION_VALUES as _0xc75f7b,DEFAULT_CHART_SERIES_VALUES as _0x53676a,DEFAULT_CHART_STYLE_VALUES as _0x3498c5,DEFAULT_CHART_TITLE_VALUES as _0x4b2829,DEFAULT_CHART_TRENDLINE_VALUES as _0x2f622d,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x1b0dd9,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x46c2a2,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x3af533,UniverChartUIPlugin as _0x34e502,buildChartTypeSelectOptions as _0x331b94,chartTypeSupportsCapability as _0x1d1e32,chartTypeSupportsLineAndAreaStyle as _0x131c61,createChartElementFloatMenuAdapter as _0x22ec99,resolveChartCreationIntent as _0x3586ff,resolveChartEditPanelRoute as _0x560369,resolveChartElementSelection as _0x335cad,useChartEditorChartType as _0x86f9d0,useChartEditorHasRightAxis as _0x53a80a}from'@univerjs-pro/chart-ui';import{CopySheetCommand as _0x2a62df,RemoveSheetCommand as _0x2cce8e,SheetInterceptorService as _0x11f0ef,SheetPermissionCheckController as _0x3cf479,SheetSkeletonService as _0x17d31b,SheetsSelectionsService as _0xde53d5,UniverSheetsPlugin as _0x53c22d,WorkbookEditablePermission as _0x227e27,WorksheetEditPermission as _0x4cbead,attachRangeWithCoord as _0x514a90,discreteRangeToRange as _0x48b088,getSheetCommandTarget as _0x241644}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x2aefeb,serializeRangeWithSheet as _0x3b62ae}from'@univerjs/engine-formula';import{useEffect as _0x3ee071,useMemo as _0x4b66e2,useState as _0x749001}from'react';import{Button as _0x3c6ee6}from'@univerjs/design';import{RangeSelector as _0x8f7d65}from'@univerjs/sheets-formula-ui';import{Fragment as _0x2bd778,jsx as _0x447924,jsxs as _0x4f508d}from'react/jsx-runtime';import{UniverLicensePlugin as _0x273b4b}from'@univerjs-pro/license';import{PenIcon as _0x1ade42}from'@univerjs/icons';const fr=_0x42a697(0x2da),pr={'enableChartElementFloatMenu':!0x0},mr={'type':_0x5004ac[_0x42a697(0x25c)],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}},V={'type':_0x5004ac[_0x42a697(0x25c)],'id':_0x42a697(0x2f0),'handler'(){return!0x0;}};function hr(_0x5ccaef,_0x433647=0x1){const _0x58742c=_0x42a697;return{'width':Math[_0x58742c(0x2fa)](_0x433647,_0x5ccaef['width']),'height':Math[_0x58742c(0x2fa)](_0x433647,_0x5ccaef[_0x58742c(0x20b)])};}function gr(_0x167d2f,_0x485f87={},_0x3997cc={'left':0x0,'top':0x0}){const _0x212c70=_0x42a697;let _0x10e52b=_0x485f87[_0x212c70(0x3c6)]??0x1,_0x185715=_0x485f87[_0x212c70(0x235)]??0x1,_0x2184d5=_0x1400b0['resolve']({'logicalOuterRect':{'left':-_0x3997cc['left'],'top':-_0x3997cc[_0x212c70(0x181)],...hr(_0x167d2f)},'scale':{'scaleX':_0x10e52b,'scaleY':_0x185715},'hostStyle':{},'contentMode':_0xa6704b[_0x212c70(0x17a)]});return{'left':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x329)],'top':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x181)],'width':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x180)],'height':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x20b)],'scaleX':_0x10e52b,'scaleY':_0x185715};}function H(_0x25106a){'@babel/helpers - typeof';const _0x562dc3=_0x42a697;return H=typeof Symbol=='function'&&typeof Symbol[_0x562dc3(0x170)]=='symbol'?function(_0x2f3b43){return typeof _0x2f3b43;}:function(_0x1d5014){const _0x4567f7=_0x562dc3;return _0x1d5014&&typeof Symbol==_0x4567f7(0x3b6)&&_0x1d5014['constructor']===Symbol&&_0x1d5014!==Symbol[_0x4567f7(0x3da)]?_0x4567f7(0x3b9):typeof _0x1d5014;},H(_0x25106a);}function _r(_0x7e6419,_0x3dd46a){const _0x43c868=_0x42a697;if(H(_0x7e6419)!=_0x43c868(0x351)||!_0x7e6419)return _0x7e6419;var _0x1c2e25=_0x7e6419[Symbol[_0x43c868(0x27c)]];if(_0x1c2e25!==void 0x0){var _0x1e8391=_0x1c2e25[_0x43c868(0x286)](_0x7e6419,_0x3dd46a||_0x43c868(0x233));if(H(_0x1e8391)!='object')return _0x1e8391;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3dd46a===_0x43c868(0x32c)?String:Number)(_0x7e6419);}function vr(_0x161076){const _0x29955c=_0x42a697;var _0x356c5b=_r(_0x161076,_0x29955c(0x32c));return H(_0x356c5b)==_0x29955c(0x3b9)?_0x356c5b:_0x356c5b+'';}function U(_0x182622,_0x547635,_0x3959b5){return(_0x547635=vr(_0x547635))in _0x182622?Object['defineProperty'](_0x182622,_0x547635,{'value':_0x3959b5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x182622[_0x547635]=_0x3959b5,_0x182622;}function yr(_0x315603){const _0x50cf20=_0x42a697;switch(_0x315603['type']){case _0x5516f3[_0x50cf20(0x337)]:return _0x315603[_0x50cf20(0x357)];case _0x5516f3[_0x50cf20(0x18c)]:return _0x315603[_0x50cf20(0x394)];default:return;}}var br=class extends _0x238021{constructor(_0x3a7281,_0x44a787,_0x1e8fb5,_0x41aa10=()=>!0x1,_0x1c62c8=()=>{}){const _0xae593e=_0x42a697;super(_0x3a7281,{..._0x44a787,'evented':_0x44a787[_0xae593e(0x21e)]??!0x0}),this[_0xae593e(0x218)]=_0x1e8fb5,this[_0xae593e(0x176)]=_0x41aa10,this[_0xae593e(0x26a)]=_0x1c62c8,U(this,_0xae593e(0x1a1),null),U(this,_0xae593e(0x37a),null),this[_0xae593e(0x2e7)](_0x5c8946[_0xae593e(0x171)]);}['dispose'](){const _0x5bb8e7=_0x42a697;this[_0x5bb8e7(0x26a)](),super[_0x5bb8e7(0x1e4)]();}[_0x42a697(0x2cf)](_0x4fa703,_0x4429bc){const _0x848d9f=_0x42a697;if(!this['visible'])return this[_0x848d9f(0x1b1)](!0x1),this;if(!this[_0x848d9f(0x26f)])return this;let {width:_0x1d109b,height:_0x238fef,left:_0x5501ea,top:_0x5a5b14}=this[_0x848d9f(0x33e)]();if(this[_0x848d9f(0x2c6)](_0x4429bc)){let {top:_0x4d117f,left:_0x430d3d,bottom:_0x44494d,right:_0x2ba3b3}=_0x4429bc[_0x848d9f(0x334)];if(_0x1d109b+this[_0x848d9f(0x1e6)]+_0x5501ea<_0x430d3d||_0x2ba3b3<_0x5501ea||_0x238fef+this[_0x848d9f(0x1e6)]+_0x5a5b14<_0x4d117f||_0x44494d<_0x5a5b14)return this;}let _0x584a97=this[_0x848d9f(0x26f)][_0x848d9f(0x248)]();_0x4fa703['save']();let _0x1d60f6=_0x5501ea+_0x1d109b/0x2,_0x223fa8=_0x5a5b14+_0x238fef/0x2;return _0x4fa703[_0x848d9f(0x26f)](_0x584a97[0x0],_0x584a97[0x1],_0x584a97[0x2],_0x584a97[0x3],_0x1d60f6,_0x223fa8),this[_0x848d9f(0x2d6)]!==0x1&&(_0x4fa703[_0x848d9f(0x2dc)]=this['opacity']),this[_0x848d9f(0x178)](_0x4fa703,void 0x0,_0x1d109b,_0x238fef),_0x4fa703[_0x848d9f(0x2de)](),this[_0x848d9f(0x1b1)](!0x1),this;}['_draw'](_0x231258,_0x333ff7,_0x2aa905=this[_0x42a697(0x180)],_0x526de4=this[_0x42a697(0x20b)]){const _0x2dff65=_0x42a697;this[_0x2dff65(0x258)](_0x231258,_0x2aa905,_0x526de4,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x231258,_0x2aa905,_0x526de4),this['_drawChartFrame'](_0x231258,_0x2aa905,_0x526de4,{'fill':void 0x0});}[_0x42a697(0x258)](_0x3284cd,_0x1525b0,_0x17f7d3,_0x4819e2){const _0x34d332=_0x42a697;_0x3284cd['save'](),_0x3284cd[_0x34d332(0x1f2)](-_0x1525b0/0x2,-_0x17f7d3/0x2),_0x238021[_0x34d332(0x39e)](_0x3284cd,xr(this,_0x1525b0,_0x17f7d3,_0x4819e2)),_0x3284cd['restore']();}['isHit'](_0x6dc869){const _0x42b15f=_0x42a697;let {left:_0x5d8a0e,top:_0x580b98,width:_0x45bf29,height:_0x40e033}=this[_0x42b15f(0x33e)](),_0x2ba5c5=_0x5d8a0e+_0x45bf29/0x2,_0x43e9f4=_0x580b98+_0x40e033/0x2,_0x277d0f=this[_0x42b15f(0x26f)][_0x42b15f(0x248)](),_0x34a0b6=new _0x59dff8([_0x277d0f[0x0],_0x277d0f[0x1],_0x277d0f[0x2],_0x277d0f[0x3],_0x2ba5c5,_0x43e9f4]),_0x2a3146=this['getParent'](),_0xa975c3=(this[_0x42b15f(0x2ec)]&&(_0x2a3146==null?void 0x0:_0x2a3146['classType'])===_0x80b0a2[_0x42b15f(0x2c3)]?_0x2a3146[_0x42b15f(0x366)]['multiply'](_0x34a0b6):_0x34a0b6)[_0x42b15f(0x200)]()[_0x42b15f(0x3b2)](_0x6dc869),_0x3f1354=_0x45bf29/0x2,_0x2f7bec=_0x40e033/0x2;return _0xa975c3['x']>=-_0x3f1354-this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['x']<=_0x3f1354+this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['y']>=-_0x2f7bec-this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['y']<=_0x2f7bec+this[_0x42b15f(0x1e6)]/0x2;}['_drawChartImage'](_0x399105,_0x556b18,_0x1d314c){const _0x2ecb3a=_0x42a697;if(this['_shouldSuppressSnapshot']())return;let _0x54f754=this[_0x2ecb3a(0x218)](),_0xbf721d=_0x54f754?this[_0x2ecb3a(0x297)](_0x54f754):void 0x0;if(!_0xbf721d)return;let {width:_0x40f2c5,height:_0x40fce2}=hr({'width':_0x556b18,'height':_0x1d314c},0x0);_0x40f2c5!==0x0&&_0x40fce2!==0x0&&(_0x399105[_0x2ecb3a(0x173)](),_0x399105[_0x2ecb3a(0x1f2)](-_0x556b18/0x2,-_0x1d314c/0x2),Sr(_0x399105,_0x40f2c5,_0x40fce2,this[_0x2ecb3a(0x363)]),_0x399105[_0x2ecb3a(0x23f)](),_0x399105[_0x2ecb3a(0x187)](_0xbf721d,0x0,0x0,_0x40f2c5,_0x40fce2),_0x399105[_0x2ecb3a(0x2de)]());}[_0x42a697(0x297)](_0x5b4701){const _0x26f339=_0x42a697;var _0x18a17e;let _0x441a30=yr(_0x5b4701);if(_0x441a30)return _0x441a30;if(_0x5b4701['type']===_0x5516f3['Url']&&(this[_0x26f339(0x37a)]!==_0x5b4701['url']&&(this['_url']=_0x5b4701[_0x26f339(0x1fd)],this[_0x26f339(0x1a1)]=document[_0x26f339(0x239)]('img'),this[_0x26f339(0x1a1)][_0x26f339(0x3ad)]=_0x26f339(0x260),this[_0x26f339(0x1a1)][_0x26f339(0x18f)]=()=>this[_0x26f339(0x1b1)](!0x0),this['_urlImage'][_0x26f339(0x237)]=_0x5b4701[_0x26f339(0x1fd)]),(_0x18a17e=this[_0x26f339(0x1a1)])!=null&&_0x18a17e[_0x26f339(0x358)]&&this[_0x26f339(0x1a1)][_0x26f339(0x287)]>0x0&&this[_0x26f339(0x1a1)][_0x26f339(0x1d6)]>0x0))return this[_0x26f339(0x1a1)];}};function xr(_0x3d236c,_0x9b26a0,_0x158de4,_0x427bfb){const _0x118e35=_0x42a697;let _0x29b295=Object[_0x118e35(0x396)](_0x3d236c);return Object[_0x118e35(0x3ef)](_0x29b295,'width',{'value':_0x9b26a0}),Object[_0x118e35(0x3ef)](_0x29b295,_0x118e35(0x20b),{'value':_0x158de4}),Object['keys'](_0x427bfb)['forEach'](_0x278ead=>{const _0x243178=_0x118e35;Object[_0x243178(0x3ef)](_0x29b295,_0x278ead,{'value':_0x427bfb[_0x278ead]});}),_0x29b295;}function Sr(_0x135b1f,_0x3d78b0,_0x3f319d,_0x11630a){const _0x2234ca=_0x42a697;let _0x89f266=Math['min'](_0x11630a||0x0,_0x3d78b0/0x2,_0x3f319d/0x2);if(_0x135b1f[_0x2234ca(0x1a8)](),!_0x89f266){_0x135b1f[_0x2234ca(0x3ee)](0x0,0x0,_0x3d78b0,_0x3f319d),_0x135b1f[_0x2234ca(0x280)]();return;}_0x135b1f[_0x2234ca(0x2b8)](_0x89f266,0x0),_0x135b1f[_0x2234ca(0x283)](_0x3d78b0-_0x89f266,0x0),_0x135b1f[_0x2234ca(0x246)](_0x3d78b0-_0x89f266,_0x89f266,_0x89f266,Math['PI']*0x3/0x2,0x0,!0x1),_0x135b1f[_0x2234ca(0x283)](_0x3d78b0,_0x3f319d-_0x89f266),_0x135b1f[_0x2234ca(0x246)](_0x3d78b0-_0x89f266,_0x3f319d-_0x89f266,_0x89f266,0x0,Math['PI']/0x2,!0x1),_0x135b1f[_0x2234ca(0x283)](_0x89f266,_0x3f319d),_0x135b1f[_0x2234ca(0x246)](_0x89f266,_0x3f319d-_0x89f266,_0x89f266,Math['PI']/0x2,Math['PI'],!0x1),_0x135b1f[_0x2234ca(0x283)](0x0,_0x89f266),_0x135b1f[_0x2234ca(0x246)](_0x89f266,_0x89f266,_0x89f266,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x135b1f['closePath']();}function W(_0x15954d){const _0x5ad93a=_0x42a697;(_0x15954d==null?void 0x0:_0x15954d[_0x5ad93a(0x232)])===_0x5516f3[_0x5ad93a(0x18c)]&&_0x15954d[_0x5ad93a(0x394)]['close']();}function G(_0x5dbb04){const _0x476c7f=_0x42a697;return _0x5dbb04['unitId']+_0x476c7f(0x37d)+_0x5dbb04['subUnitId']+_0x476c7f(0x37d)+_0x5dbb04[_0x476c7f(0x249)];}var Cr=class extends _0x306247{constructor(..._0x37875f){const _0x5baa88=_0x42a697;super(..._0x37875f),U(this,_0x5baa88(0x28d),new Map());}[_0x42a697(0x319)](_0x574b45){const _0x56d3ad=_0x42a697;let _0x51eaa3=G(_0x574b45),_0x3bcde4=this[_0x56d3ad(0x28d)][_0x56d3ad(0x33d)](_0x51eaa3)??{'version':0x0};return _0x3bcde4['version']+=0x1,this[_0x56d3ad(0x28d)]['set'](_0x51eaa3,_0x3bcde4),_0x3bcde4['version'];}[_0x42a697(0x1b7)](_0x358f19,_0x571cfd){const _0x250835=_0x42a697;var _0x30fec2;return((_0x30fec2=this[_0x250835(0x28d)][_0x250835(0x33d)](G(_0x358f19)))==null?void 0x0:_0x30fec2[_0x250835(0x251)])===_0x571cfd;}['setImage'](_0x8a6c31,_0x157228,_0x2a1c28){const _0x26bf5b=_0x42a697;if(!this[_0x26bf5b(0x1b7)](_0x8a6c31,_0x2a1c28))return W(_0x157228),!0x1;let _0x33abcb=G(_0x8a6c31),_0xec379c=this[_0x26bf5b(0x28d)][_0x26bf5b(0x33d)](_0x33abcb)??{'version':_0x2a1c28},_0x555fad=_0xec379c[_0x26bf5b(0x1d3)];return _0xec379c['image']=_0x157228,_0xec379c[_0x26bf5b(0x251)]=_0x2a1c28,this[_0x26bf5b(0x28d)][_0x26bf5b(0x19a)](_0x33abcb,_0xec379c),_0x555fad!==_0x157228&&W(_0x555fad),!0x0;}['getImage'](_0x3b2353){const _0x478a57=_0x42a697;var _0x37f679;return(_0x37f679=this[_0x478a57(0x28d)][_0x478a57(0x33d)](G(_0x3b2353)))==null?void 0x0:_0x37f679['image'];}[_0x42a697(0x3d9)](_0x62d09c){const _0xfdbd70=_0x42a697;let _0x17c7cd=G(_0x62d09c),_0x36f5e6=this['_entries']['get'](_0x17c7cd);_0x36f5e6&&(W(_0x36f5e6[_0xfdbd70(0x1d3)]),this[_0xfdbd70(0x28d)]['delete'](_0x17c7cd));}[_0x42a697(0x1d1)](_0x38f76e){const _0x3345ce=_0x42a697;for(let [_0x43fb35,_0x19ff98]of this[_0x3345ce(0x28d)])_0x43fb35['endsWith'](_0x3345ce(0x37d)+_0x38f76e)&&(W(_0x19ff98['image']),this[_0x3345ce(0x28d)]['delete'](_0x43fb35));}[_0x42a697(0x1e4)](){const _0x598756=_0x42a697;this[_0x598756(0x28d)]['forEach'](_0xc97d79=>W(_0xc97d79[_0x598756(0x1d3)])),this[_0x598756(0x28d)]['clear'](),super[_0x598756(0x1e4)]();}};function wr(_0x288b42,_0x30c4ac=0x7d0){let _0x475b05=null,_0x5becfd=null,_0x181a08=!0x1,_0x3bc148=()=>{},_0x504d61=()=>{_0x475b05!=null&&(clearInterval(_0x475b05),_0x475b05=null),_0x5becfd!=null&&(clearTimeout(_0x5becfd),_0x5becfd=null);};return{'promise':new Promise((_0xedaa4e,_0x4a4ef6)=>{_0x3bc148=_0x4a4ef6;let _0x231540=()=>{const _0x2783c1=_0x8d76;let _0x2bace0=document[_0x2783c1(0x22f)](_0x288b42);!_0x2bace0||_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0xedaa4e(_0x2bace0));};_0x231540(),!_0x181a08&&(_0x475b05=setInterval(_0x231540,16.666666666666668),_0x5becfd=setTimeout(()=>{const _0x50512f=_0x8d76;_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0x4a4ef6(Error(_0x50512f(0x373)+_0x288b42+'\x22.')));},_0x30c4ac));}),'cancel':()=>{_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0x3bc148(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x288b42+'\x22.')));}};}var Tr=class extends _0x306247{constructor(_0x27caaf,_0x3b86d4,_0x258e38,_0x5d834e,_0x17caa1,_0x4c3c26,_0xf551d8){const _0x39ca82=_0x42a697;super(),this[_0x39ca82(0x249)]=_0x27caaf,this['_getFloatDomInfo']=_0x3b86d4,this[_0x39ca82(0x3a8)]=_0x258e38,this['_setHostStyle']=_0x5d834e,this[_0x39ca82(0x26d)]=_0x17caa1,this[_0x39ca82(0x17b)]=_0x4c3c26,this[_0x39ca82(0x2e5)]=_0xf551d8,U(this,_0x39ca82(0x3be),_0x54947a[_0x39ca82(0x202)]),U(this,_0x39ca82(0x24d),null),U(this,_0x39ca82(0x32f),!0x1),U(this,_0x39ca82(0x17d),null),U(this,_0x39ca82(0x1b9),null),U(this,_0x39ca82(0x31a),null),U(this,'_hostStyle',{}),U(this,_0x39ca82(0x2d4),null);}[_0x42a697(0x379)](){const _0x264c69=_0x42a697;return this[_0x264c69(0x32f)];}[_0x42a697(0x3a0)](){this['_managed']=!0x1;}[_0x42a697(0x3e7)](){const _0x1529b1=_0x42a697;let _0x3387a2=this[_0x1529b1(0x3a8)]();return _0x3387a2?{'width':_0x3387a2[_0x1529b1(0x180)],'height':_0x3387a2[_0x1529b1(0x20b)]}:null;}[_0x42a697(0x225)](_0x50da73){const _0x51d58d=_0x42a697;this[_0x51d58d(0x345)]=_0x50da73,this['_setHostStyle'](_0x50da73),this[_0x51d58d(0x393)]();}async['ensureHandle'](){const _0xa33b3=_0x42a697;if(this[_0xa33b3(0x399)]||this[_0xa33b3(0x26d)]())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x30cabf=this[_0xa33b3(0x326)](),_0x34cb43=(_0x30cabf==null?void 0x0:_0x30cabf[_0xa33b3(0x2d5)])??this[_0xa33b3(0x249)],_0x2e6722=document[_0xa33b3(0x22f)](_0x34cb43);if(this[_0xa33b3(0x24d)]&&_0x2e6722!=null&&_0x2e6722['contains'](this[_0xa33b3(0x24d)][_0xa33b3(0x2ac)]))return{'mountNode':this['_domFrame'][_0xa33b3(0x2ac)],'dispose':()=>{const _0x5dd836=_0xa33b3;this['dispose'](),_0x30cabf==null||_0x30cabf[_0x5dd836(0x1e4)]['dispose']();}};if(this[_0xa33b3(0x1b9)])return this['_pendingHost'];let _0x1f51a2=this[_0xa33b3(0x253)]();return this['_pendingHost']=_0x1f51a2,_0x1f51a2[_0xa33b3(0x196)](()=>{const _0x3d2698=_0xa33b3;this[_0x3d2698(0x1b9)]===_0x1f51a2&&(this[_0x3d2698(0x1b9)]=null);},()=>{const _0x103613=_0xa33b3;this['_pendingHost']===_0x1f51a2&&(this[_0x103613(0x1b9)]=null);}),_0x1f51a2;}async[_0x42a697(0x3db)](){const _0x4bdfe9=_0x42a697;try{return(await this[_0x4bdfe9(0x311)]())[_0x4bdfe9(0x2ac)];}catch{return null;}}[_0x42a697(0x21c)](){const _0x260ba0=_0x42a697;let _0x1e02d3=this[_0x260ba0(0x326)](),_0x3dcc2f=(_0x1e02d3==null?void 0x0:_0x1e02d3['domId'])??this[_0x260ba0(0x249)],_0x351e9a=document[_0x260ba0(0x22f)](_0x3dcc2f);return!!(this['_domFrame']&&_0x351e9a!=null&&_0x351e9a[_0x260ba0(0x276)](this[_0x260ba0(0x24d)][_0x260ba0(0x2ac)]));}['syncLayout'](){const _0x2ed913=_0x42a697;if(!this[_0x2ed913(0x24d)])return;let _0x200947=this[_0x2ed913(0x3a8)]();_0x200947&&this[_0x2ed913(0x24d)][_0x2ed913(0x29f)](this[_0x2ed913(0x2ed)](_0x200947),this[_0x2ed913(0x21f)]());}['markReady'](){const _0x45559b=_0x42a697;this[_0x45559b(0x17b)]();}[_0x42a697(0x35f)](){const _0x501ae7=_0x42a697;this[_0x501ae7(0x2e5)]();}['dispose'](){const _0x3ed177=_0x42a697;var _0x20b827;this[_0x3ed177(0x399)]||(this[_0x3ed177(0x35f)](),this[_0x3ed177(0x17d)]=null,this['_pendingHost']=null,this[_0x3ed177(0x271)](),this[_0x3ed177(0x32f)]=!0x1,(_0x20b827=this['_domFrame'])==null||_0x20b827[_0x3ed177(0x1e4)](),this['_domFrame']=null,this['_restoreHostWrapper'](),super[_0x3ed177(0x1e4)]());}async['_createHost'](){const _0x5c1b7b=_0x42a697;let _0x4999b8=this[_0x5c1b7b(0x326)]();if(!_0x4999b8)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x52fc5b=_0x4999b8[_0x5c1b7b(0x2d5)]??this[_0x5c1b7b(0x249)],_0x2ed9aa=wr(_0x52fc5b),_0x413ae6=Symbol(this['chartId']);this[_0x5c1b7b(0x17d)]=_0x413ae6,this[_0x5c1b7b(0x31a)]=_0x2ed9aa;try{let _0x2e78ec=await _0x2ed9aa[_0x5c1b7b(0x3b8)],_0x1bb415=this[_0x5c1b7b(0x326)](),_0x34e3f9=(_0x1bb415==null?void 0x0:_0x1bb415[_0x5c1b7b(0x2d5)])??this[_0x5c1b7b(0x249)];if(this[_0x5c1b7b(0x399)]||this[_0x5c1b7b(0x26d)]()||this[_0x5c1b7b(0x17d)]!==_0x413ae6||!_0x1bb415||_0x34e3f9!==_0x52fc5b||document[_0x5c1b7b(0x22f)](_0x52fc5b)!==_0x2e78ec||!_0x2e78ec[_0x5c1b7b(0x38b)])throw Error(_0x5c1b7b(0x338));let _0x8716e0=this[_0x5c1b7b(0x3a8)]();if(!_0x8716e0)throw Error(_0x5c1b7b(0x338));let _0x43964a=new _0x4859f1(_0x2e78ec);return _0x43964a[_0x5c1b7b(0x29f)](this[_0x5c1b7b(0x2ed)](_0x8716e0),this['_frameStyle']()),this[_0x5c1b7b(0x2d8)](_0x2e78ec),this[_0x5c1b7b(0x24d)]=_0x43964a,this[_0x5c1b7b(0x1c6)](_0x1bb415[_0x5c1b7b(0x2e0)][_0x5c1b7b(0x2d9)](()=>this[_0x5c1b7b(0x1bd)]())),this[_0x5c1b7b(0x32f)]=!0x0,{'mountNode':_0x43964a[_0x5c1b7b(0x2ac)],'dispose':()=>{const _0x18ab88=_0x5c1b7b;this['dispose'](),_0x4999b8[_0x18ab88(0x1e4)]['dispose']();}};}finally{this[_0x5c1b7b(0x31a)]===_0x2ed9aa&&(this['_waiter']=null),this[_0x5c1b7b(0x17d)]===_0x413ae6&&(this[_0x5c1b7b(0x17d)]=null);}}[_0x42a697(0x271)](){const _0x542424=_0x42a697;let _0x22bccf=this[_0x542424(0x31a)];_0x22bccf&&(_0x22bccf[_0x542424(0x390)](),this[_0x542424(0x31a)]=null);}[_0x42a697(0x393)](){const _0x458dd4=_0x42a697;let _0x39abda=this['_getPlacement']();this[_0x458dd4(0x24d)]&&_0x39abda&&this['_domFrame'][_0x458dd4(0x29f)](this['_resolveLayout'](_0x39abda),this[_0x458dd4(0x21f)]());}[_0x42a697(0x2ed)](_0x1d175a){const _0x984582=_0x42a697;return _0x1400b0['resolve']({'logicalOuterRect':{'left':_0x1d175a[_0x984582(0x329)],'top':_0x1d175a[_0x984582(0x181)],'width':_0x1d175a['width'],'height':_0x1d175a['height']},'scale':{'scaleX':_0x1d175a[_0x984582(0x3c6)],'scaleY':_0x1d175a[_0x984582(0x235)]},'hostStyle':this[_0x984582(0x21f)](),'contentMode':_0xa6704b['Overlay']});}[_0x42a697(0x21f)](){const _0x2c74a1=_0x42a697;return{...this[_0x2c74a1(0x345)],'radius':_0x2ccc17};}['_activateHostWrapper'](_0x1d5a78){const _0xdcc03c=_0x42a697;let _0x38c86b=_0x1d5a78[_0xdcc03c(0x24e)];_0x38c86b&&(this['_savedWrapperStyle']||={'zIndex':_0x38c86b[_0xdcc03c(0x211)]['zIndex'],'pointerEvents':_0x38c86b[_0xdcc03c(0x211)][_0xdcc03c(0x290)]},_0x38c86b['style'][_0xdcc03c(0x39a)]='1000',_0x38c86b[_0xdcc03c(0x211)][_0xdcc03c(0x290)]=_0xdcc03c(0x2ff));}['_restoreHostWrapper'](){const _0x3538a6=_0x42a697;var _0x335834;if(!this[_0x3538a6(0x2d4)])return;let _0x286dec=this['_getFloatDomInfo'](),_0x5033ba=(_0x286dec==null?void 0x0:_0x286dec['domId'])??this[_0x3538a6(0x249)],_0x438b45=(_0x335834=document[_0x3538a6(0x22f)](_0x5033ba))==null?void 0x0:_0x335834[_0x3538a6(0x24e)];_0x438b45&&(_0x438b45[_0x3538a6(0x211)][_0x3538a6(0x39a)]=this['_savedWrapperStyle'][_0x3538a6(0x39a)],_0x438b45['style']['pointerEvents']=this[_0x3538a6(0x2d4)][_0x3538a6(0x290)]),this['_savedWrapperStyle']=null;}},Er=class extends _0x353b6b{constructor(_0xf17d8d,_0x5410c0,_0x537fa5,_0x1bbac5,_0x546155,_0x5d688e){const _0x279fe0=_0x42a697;super(_0xf17d8d),this['_getOuterRect']=_0x5410c0,this[_0x279fe0(0x333)]=_0x537fa5,this[_0x279fe0(0x3f0)]=_0x1bbac5,this[_0x279fe0(0x19d)]=_0x546155,this[_0x279fe0(0x22e)]=_0x5d688e;}[_0x42a697(0x3e7)](){const _0x4a469e=_0x42a697;let _0x5bca78=this[_0x4a469e(0x2d7)]();return _0x5bca78?hr(_0x5bca78):null;}[_0x42a697(0x225)](_0x5547c4){const _0x1165f3=_0x42a697;this[_0x1165f3(0x333)](_0x5547c4);}[_0x42a697(0x319)](){const _0x14465d=_0x42a697;return this[_0x14465d(0x19d)]['nextVersion'](this[_0x14465d(0x3f0)]);}[_0x42a697(0x2ab)](_0x266ca2,_0x441d88){const _0x479fe8=_0x42a697;return this[_0x479fe8(0x19d)]['setImage'](this[_0x479fe8(0x3f0)],_0x266ca2,_0x441d88);}[_0x42a697(0x270)](){const _0xf51557=_0x42a697;this[_0xf51557(0x22e)]();}['invalidateSnapshot'](){const _0x13de58=_0x42a697;this[_0x13de58(0x19d)][_0x13de58(0x319)](this[_0x13de58(0x3f0)]);}};function K(_0x209f49,_0x45a764){return function(_0x3bece9,_0x11c372){_0x45a764(_0x3bece9,_0x11c372,_0x209f49);};}function q(_0xa3bea5,_0x3dfcbb,_0x5bab36,_0x522438){const _0x599541=_0x42a697;var _0x47c733=arguments['length'],_0x29dc90=_0x47c733<0x3?_0x3dfcbb:_0x522438===null?_0x522438=Object[_0x599541(0x33f)](_0x3dfcbb,_0x5bab36):_0x522438,_0x17b608;if(typeof Reflect==_0x599541(0x351)&&typeof Reflect['decorate']==_0x599541(0x3b6))_0x29dc90=Reflect['decorate'](_0xa3bea5,_0x3dfcbb,_0x5bab36,_0x522438);else{for(var _0x48391f=_0xa3bea5[_0x599541(0x206)]-0x1;_0x48391f>=0x0;_0x48391f--)(_0x17b608=_0xa3bea5[_0x48391f])&&(_0x29dc90=(_0x47c733<0x3?_0x17b608(_0x29dc90):_0x47c733>0x3?_0x17b608(_0x3dfcbb,_0x5bab36,_0x29dc90):_0x17b608(_0x3dfcbb,_0x5bab36))||_0x29dc90);}return _0x47c733>0x3&&_0x29dc90&&Object[_0x599541(0x3ef)](_0x3dfcbb,_0x5bab36,_0x29dc90),_0x29dc90;}function Dr(_0x1dbb4b){const _0x2af6b0=_0x42a697;if(!Object[_0x2af6b0(0x3da)][_0x2af6b0(0x269)]['call'](_0x1dbb4b,_0x2af6b0(0x2cb)))return _0x1dbb4b;let {border:_0xbdc51,..._0x1ba26d}=_0x1dbb4b;return{..._0x1ba26d,'stroke':(_0xbdc51==null?void 0x0:_0xbdc51[_0x2af6b0(0x398)])??_0x2af6b0(0x370),'strokeWidth':(_0xbdc51==null?void 0x0:_0xbdc51['width'])??0x0};}let Or=class extends _0x306247{constructor(_0x3e17d9,_0x34422,_0x7cfeda,_0x3f48ca){const _0x1b0e53=_0x42a697;super(),this[_0x1b0e53(0x343)]=_0x3e17d9,this[_0x1b0e53(0x28e)]=_0x34422,this[_0x1b0e53(0x2e2)]=_0x7cfeda,this[_0x1b0e53(0x1c2)]=_0x3f48ca,U(this,_0x1b0e53(0x1db),new Map()),U(this,_0x1b0e53(0x1e5),new Set()),U(this,'_removeHost$',new _0x68b55a()),U(this,_0x1b0e53(0x278),this['_removeHost$'][_0x1b0e53(0x3a2)]()),this['disposeWithMe'](this[_0x1b0e53(0x343)][_0x1b0e53(0x1cc)][_0x1b0e53(0x2d9)](_0xe6d1e=>{const _0x42c678=_0x1b0e53;let _0x3565ec=this[_0x42c678(0x1db)][_0x42c678(0x33d)](_0xe6d1e['id']);_0x3565ec!=null&&_0x3565ec['isManaged']()&&(_0x3565ec['markUnmanaged'](),this[_0x42c678(0x33a)]['next'](_0xe6d1e['id']));}));}[_0x42a697(0x35c)](_0x14ddb5){const _0x379f9a=_0x42a697;if(_0x14ddb5==null)return;let _0x376f54=this['_renderManagerService']['getRenderUnitById'](_0x14ddb5),_0x477c23=_0x376f54==null?void 0x0:_0x376f54[_0x379f9a(0x37e)];return _0x376f54==null||_0x477c23==null?null:{'scene':_0x477c23,'transformer':_0x477c23[_0x379f9a(0x3d1)](),'renderUnit':_0x376f54,'canvas':_0x376f54[_0x379f9a(0x268)][_0x379f9a(0x2cd)]()};}[_0x42a697(0x27e)](_0x3008d3,_0x1b1781){const _0x2aaa33=_0x42a697;let _0x4b7352=this[_0x2aaa33(0x343)],_0x232b8f=_0x1b1781||'transparent',_0x46cc0d=_0x4b7352[_0x2aaa33(0x3b5)](_0x3008d3);if(_0x46cc0d){let {unitId:_0x23a227,subUnitId:_0x232e69}=_0x46cc0d;_0x4b7352[_0x2aaa33(0x3f2)](_0x23a227,_0x232e69,_0x3008d3,{'stroke':_0x232b8f});}}['setHostStyle'](_0x86cfce,_0x227d5b){const _0x53ca49=_0x42a697;let _0x55bd1d=this['_sheetCanvasFloatDomManagerService'],_0x34c2cb=_0x55bd1d[_0x53ca49(0x3b5)](_0x86cfce);if(_0x34c2cb){let {unitId:_0x203244,subUnitId:_0x5b3eea}=_0x34c2cb;_0x55bd1d['updateFloatDomProps'](_0x203244,_0x5b3eea,_0x86cfce,Dr(_0x227d5b));}}[_0x42a697(0x39c)](_0x34153a){const _0x131ba4=_0x42a697;let _0x234c5a=this[_0x131ba4(0x343)][_0x131ba4(0x3b5)](_0x34153a);return _0x234c5a?_0x234c5a['rect']:null;}[_0x42a697(0x2a3)](_0x272a44){const _0x273a00=_0x42a697;var _0x220915;return((_0x220915=this[_0x273a00(0x1db)][_0x273a00(0x33d)](_0x272a44))==null?void 0x0:_0x220915[_0x273a00(0x21c)]())??!0x1;}[_0x42a697(0x3a6)](_0x1eecd8){const _0x2ee489=_0x42a697;var _0x1d4ccd;(_0x1d4ccd=this[_0x2ee489(0x1db)][_0x2ee489(0x33d)](_0x1eecd8))==null||_0x1d4ccd[_0x2ee489(0x1bd)]();}[_0x42a697(0x28c)](_0x18bd24){const _0x58bd17=_0x42a697;let _0x22b449=this[_0x58bd17(0x1db)][_0x58bd17(0x33d)](_0x18bd24);_0x22b449==null||_0x22b449[_0x58bd17(0x1e4)](),this['_chartHostMap'][_0x58bd17(0x210)](_0x18bd24);}async[_0x42a697(0x3e0)](_0x3a52dc,_0x171d9b){const _0x2aaecf=_0x42a697;if(_0x171d9b===_0x54947a[_0x2aaecf(0x2f5)])return this[_0x2aaecf(0x3e3)](_0x3a52dc);if(_0x171d9b===_0x54947a['Dom'])return this[_0x2aaecf(0x3e9)](_0x3a52dc);let _0x495ab5=this[_0x2aaecf(0x3e9)](_0x3a52dc);if(!_0x495ab5)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x495ab5[_0x2aaecf(0x311)]();}[_0x42a697(0x2aa)](_0x6ef787){const _0x73bdf6=_0x42a697;return this[_0x73bdf6(0x1e5)][_0x73bdf6(0x3a1)](_0x6ef787);}[_0x42a697(0x2f7)](_0x14c30c){const _0x3d7e6e=_0x42a697;this[_0x3d7e6e(0x1e5)][_0x3d7e6e(0x210)](_0x14c30c)&&this[_0x3d7e6e(0x1c9)](_0x14c30c);}[_0x42a697(0x2c1)](_0x5a561e){const _0x1c0bf7=_0x42a697;let _0x5b5e7e=this[_0x1c0bf7(0x3de)](_0x5a561e);_0x5b5e7e&&this[_0x1c0bf7(0x2e2)][_0x1c0bf7(0x319)](_0x5b5e7e);}[_0x42a697(0x3e3)](_0x5f353c){const _0x3f4095=_0x42a697;let _0x2c95c0=this[_0x3f4095(0x3de)](_0x5f353c);return!_0x2c95c0||!this[_0x3f4095(0x39c)](_0x5f353c)?null:new Er(_0x5f353c,()=>this[_0x3f4095(0x39c)](_0x5f353c),_0x471a4c=>this[_0x3f4095(0x2e1)](_0x5f353c,_0x471a4c),_0x2c95c0,this[_0x3f4095(0x2e2)],()=>this[_0x3f4095(0x1c9)](_0x5f353c));}[_0x42a697(0x3e9)](_0x11c1c9){const _0x4bee7a=_0x42a697;if(!this['getHostSize'](_0x11c1c9))return null;this[_0x4bee7a(0x1c2)][_0x4bee7a(0x261)](_0x11c1c9,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x3b3211=this['_chartHostMap']['get'](_0x11c1c9);if(_0x3b3211)return _0x3b3211;let _0x9b3f0e=new Tr(_0x11c1c9,()=>this[_0x4bee7a(0x343)]['getFloatDomInfo'](_0x11c1c9),()=>this[_0x4bee7a(0x17e)](_0x11c1c9),_0x100d97=>this[_0x4bee7a(0x2e1)](_0x11c1c9,_0x100d97),()=>this[_0x4bee7a(0x399)],()=>this[_0x4bee7a(0x1f8)](_0x11c1c9),()=>this['markHostNotReady'](_0x11c1c9));return this[_0x4bee7a(0x1db)][_0x4bee7a(0x19a)](_0x11c1c9,_0x9b3f0e),_0x9b3f0e;}[_0x42a697(0x1f8)](_0x498771){const _0x2900a4=_0x42a697;this[_0x2900a4(0x1e5)][_0x2900a4(0x3a1)](_0x498771)||(this[_0x2900a4(0x1e5)][_0x2900a4(0x245)](_0x498771),this[_0x2900a4(0x1c9)](_0x498771));}['_getChartSnapshotKey'](_0x4e4b16){const _0x1d8bd4=_0x42a697;let _0x5bcc0f=this[_0x1d8bd4(0x343)]['getFloatDomInfo'](_0x4e4b16);return _0x5bcc0f?{'unitId':_0x5bcc0f[_0x1d8bd4(0x201)],'subUnitId':_0x5bcc0f['subUnitId'],'chartId':_0x4e4b16}:null;}[_0x42a697(0x1c9)](_0x48031a){const _0x597109=_0x42a697;var _0x5e6f37,_0xade3b7,_0x59cf4b;let _0x523691=this[_0x597109(0x343)]['getFloatDomInfo'](_0x48031a);if(!_0x523691)return;let _0x4eeaa4=(_0x5e6f37=this['_renderManagerService'][_0x597109(0x3ec)](_0x523691[_0x597109(0x201)]))==null?void 0x0:_0x5e6f37[_0x597109(0x37e)],_0x494e27=(_0x4eeaa4==null||(_0xade3b7=_0x4eeaa4['getObjectIncludeInGroup'])==null?void 0x0:_0xade3b7[_0x597109(0x286)](_0x4eeaa4,_0x4a9fe4({'unitId':_0x523691['unitId'],'subUnitId':_0x523691['subUnitId'],'drawingId':_0x48031a})))??(_0x4eeaa4==null?void 0x0:_0x4eeaa4[_0x597109(0x2c4)](_0x4a9fe4({'unitId':_0x523691[_0x597109(0x201)],'subUnitId':_0x523691[_0x597109(0x267)],'drawingId':_0x48031a})))??null;_0x494e27==null||(_0x59cf4b=_0x494e27[_0x597109(0x1b1)])==null||_0x59cf4b[_0x597109(0x286)](_0x494e27,!0x0),_0x4eeaa4==null||_0x4eeaa4[_0x597109(0x1b1)](!0x0);}[_0x42a697(0x17e)](_0x12bd11){const _0x1ae272=_0x42a697;let _0x3fa8ca=this[_0x1ae272(0x343)][_0x1ae272(0x3b5)](_0x12bd11);if(!_0x3fa8ca)return null;let _0x23d5c9=this['_getSceneAndTransformerByDrawingSearch'](_0x3fa8ca[_0x1ae272(0x201)]),_0x187c12=_0x23d5c9==null?void 0x0:_0x23d5c9[_0x1ae272(0x37e)],_0x3d9f6a=document['getElementById'](_0x3fa8ca[_0x1ae272(0x2d5)]??_0x12bd11);return gr(_0x3fa8ca['rect'],{'scaleX':(_0x187c12==null?void 0x0:_0x187c12[_0x1ae272(0x3c6)])??0x1,'scaleY':(_0x187c12==null?void 0x0:_0x187c12[_0x1ae272(0x235)])??0x1},_0x3d9f6a?{'left':_0x3d9f6a[_0x1ae272(0x18e)],'top':_0x3d9f6a['offsetTop']}:void 0x0);}[_0x42a697(0x1e4)](){const _0x2a3c46=_0x42a697;this[_0x2a3c46(0x399)]||(this[_0x2a3c46(0x1db)][_0x2a3c46(0x1d2)](_0xf4b3bd=>_0xf4b3bd[_0x2a3c46(0x1e4)]()),this[_0x2a3c46(0x1db)][_0x2a3c46(0x3af)](),this['_activeDomReadyChartIds']['clear'](),this[_0x2a3c46(0x33a)][_0x2a3c46(0x358)](),super[_0x2a3c46(0x1e4)]());}};Or=q([K(0x0,_0x3c5f23(_0x463e32)),K(0x1,_0x3c5f23(_0xf835e7)),K(0x2,_0x3c5f23(Cr)),K(0x3,_0x3c5f23(_0x37bc3b))],Or);const kr=_0x10e12c(_0x42a697(0x1af)),J=_0x10e12c(_0x42a697(0x2af));let Ar=class extends _0x56b2af{constructor(_0x1a6577,_0x2e7479,_0x35b1c0,_0x1cf9fa,_0x25c8fd,_0xce2396){const _0x5f1336=_0x42a697;super(_0xce2396),this['_chartModelService']=_0x1a6577,this['_sheetsChartService']=_0x2e7479,this[_0x5f1336(0x2a7)]=_0x35b1c0,this[_0x5f1336(0x289)]=_0x1cf9fa,this[_0x5f1336(0x32e)]=_0x25c8fd,U(this,_0x5f1336(0x2b9),!0x1),U(this,_0x5f1336(0x36d),new _0x2b0349(null)),U(this,_0x5f1336(0x1ff),new _0x2b0349(null)),U(this,_0x5f1336(0x378),new _0x2b0349(null)),U(this,_0x5f1336(0x3cf),this[_0x5f1336(0x36d)][_0x5f1336(0x3a2)]()),U(this,_0x5f1336(0x3ba),this['_selectedElement$'][_0x5f1336(0x3a2)]()),U(this,_0x5f1336(0x323),this[_0x5f1336(0x378)]['asObservable']());}get[_0x42a697(0x226)](){const _0x5df33a=_0x42a697;return this[_0x5df33a(0x2a8)][_0x5df33a(0x259)]??null;}get[_0x42a697(0x259)](){const _0x5956a1=_0x42a697;return this[_0x5956a1(0x2a8)]['activeChartModel'];}get['activeChartModel$'](){const _0x57f4c7=_0x42a697;return this[_0x57f4c7(0x2a8)][_0x57f4c7(0x382)];}get[_0x42a697(0x2f1)](){const _0x1fbf48=_0x42a697;return this['_activeEditChart$'][_0x1fbf48(0x298)]();}get[_0x42a697(0x25e)](){const _0x329a2e=_0x42a697;return this['_localeService'][_0x329a2e(0x25e)];}get[_0x42a697(0x356)](){const _0x341b46=_0x42a697;return this[_0x341b46(0x2b9)];}[_0x42a697(0x26c)](_0x3f1d93){const _0x36b126=_0x42a697;this[_0x36b126(0x2b9)]=_0x3f1d93;}[_0x42a697(0x367)](_0x3eae44){const _0x700c61=_0x42a697;this['_activeEditChart$'][_0x700c61(0x298)]()!==_0x3eae44&&this[_0x700c61(0x36d)][_0x700c61(0x35b)](_0x3eae44);}[_0x42a697(0x381)](_0x3ee2f4){const _0x987c67=_0x42a697;return this[_0x987c67(0x2f1)]===_0x3ee2f4;}[_0x42a697(0x2ce)](_0x385830){const _0x387207=_0x42a697;this[_0x387207(0x1ff)]['next'](_0x385830);}[_0x42a697(0x331)](_0x2d0381,_0xe039f){const _0x3aa43e=_0x42a697;this[_0x3aa43e(0x378)]['next']({'chartId':_0x2d0381,'route':_0xe039f});}[_0x42a697(0x28a)](){const _0x3608a2=_0x42a697;this[_0x3608a2(0x378)][_0x3608a2(0x35b)](null);}['setDataRange'](_0x49ab55){const _0x438604=_0x42a697;let _0x5c82ad=this[_0x438604(0x259)];_0x5c82ad&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5c82ad['id'],'range':_0x49ab55});}[_0x42a697(0x1a9)](_0x1c581c){const _0x3270a8=_0x42a697;var _0x5a8b2d;let _0x36c811=this[_0x3270a8(0x259)];if(!_0x36c811)return;let _0x3955d5=(_0x5a8b2d=this['_sheetsChartService'][_0x3270a8(0x387)](_0x36c811['id']))==null?void 0x0:_0x5a8b2d['getRangeInfo']();if(!_0x3955d5)return;let _0x12de5d={..._0x3955d5,'isRowDirection':_0x1c581c===_0x469e35[_0x3270a8(0x3eb)]};this[_0x3270a8(0x3ce)]({'chartModelId':_0x36c811['id'],'range':_0x12de5d});}['executeChartUpdateConfig'](_0x5e5fcc){const _0x52fc88=_0x42a697;var _0x2d7b08;this['_commandService']['executeCommand'](_0x376d77['id'],{..._0x5e5fcc,'unitId':((_0x2d7b08=this['_univerInstanceService'][_0x52fc88(0x1d5)]())==null?void 0x0:_0x2d7b08['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x118aac){const _0x4aa2e9=_0x42a697;var _0x170389;this['_commandService'][_0x4aa2e9(0x312)](_0x2c914e['id'],{..._0x118aac,'unitId':((_0x170389=this[_0x4aa2e9(0x32e)][_0x4aa2e9(0x1d5)]())==null?void 0x0:_0x170389[_0x4aa2e9(0x193)]())??''});}[_0x42a697(0x1e4)](){const _0x3dddbb=_0x42a697;this[_0x3dddbb(0x36d)]['complete'](),this[_0x3dddbb(0x1ff)][_0x3dddbb(0x358)](),this[_0x3dddbb(0x378)]['complete'](),super['dispose']();}};Ar=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(_0x4ce731)),K(0x2,_0x5e196b),K(0x3,_0x3c5f23(_0xd5d68c)),K(0x4,_0x39f3aa),K(0x5,_0x3c5f23(_0x3bf128))],Ar);const jr=_0xb0238[_0x42a697(0x2f5)];var Mr=class extends _0x353b6b{constructor(_0x131f4f,_0x5a8f28){const _0x483797=_0x42a697;super(_0x131f4f),this[_0x483797(0x216)]=_0x5a8f28,U(this,_0x483797(0x179),0x0),U(this,'_image',void 0x0),U(this,'style',{});}[_0x42a697(0x3e7)](){const _0x46ef97=_0x42a697;return this[_0x46ef97(0x216)];}[_0x42a697(0x225)](_0x970e53){const _0x348eee=_0x42a697;this[_0x348eee(0x211)]=_0x970e53;}['nextVersion'](){return++this['_version'];}[_0x42a697(0x2ab)](_0x1e02e8,_0x1cfc98){const _0x234d93=_0x42a697;return _0x1cfc98===this['_version']?(W(this[_0x234d93(0x2f6)]),this[_0x234d93(0x2f6)]=_0x1e02e8,!0x0):(W(_0x1e02e8),!0x1);}[_0x42a697(0x270)](){}[_0x42a697(0x2c1)](){this['_version']+=0x1;}[_0x42a697(0x350)](){const _0x391e5f=_0x42a697;let _0x46af61=this[_0x391e5f(0x2f6)];return this[_0x391e5f(0x2f6)]=void 0x0,_0x46af61;}[_0x42a697(0x1e4)](){const _0x579173=_0x42a697;W(this['_image']),this[_0x579173(0x2f6)]=void 0x0,super['dispose']();}};function Nr(_0x27206a,_0x4e441e,_0x3f778d){const _0x381f0f=_0x42a697;let _0x351a05=_0x27206a[_0x381f0f(0x3e1)](_0x4e441e);return _0x24fc40({..._0x27206a[_0x381f0f(0x211)],'runtime':{..._0x351a05,'layoutInset':0x8,..._0x3f778d===void 0x0?{}:{'addWatermark':_0x3f778d}},'direction':_0x4e441e},_0x27206a[_0x381f0f(0x2a2)]);}let Y=class extends _0x306247{constructor(_0x30623b,_0x12ffa0,_0x1a6d32,_0x2af0c4,_0x3c8e60,_0x4516a0,_0x129338,_0x583f3a,_0x14cadb,_0x5b4bcf,_0x5965b7,_0x4079a2,_0x50bba1,_0x13067b){const _0x48d657=_0x42a697;super(),this[_0x48d657(0x1ce)]=_0x30623b,this[_0x48d657(0x343)]=_0x12ffa0,this[_0x48d657(0x2a8)]=_0x1a6d32,this[_0x48d657(0x1f1)]=_0x2af0c4,this['_univerInstanceService']=_0x3c8e60,this[_0x48d657(0x28e)]=_0x4516a0,this[_0x48d657(0x289)]=_0x129338,this[_0x48d657(0x368)]=_0x583f3a,this[_0x48d657(0x2e4)]=_0x14cadb,this[_0x48d657(0x281)]=_0x5b4bcf,this[_0x48d657(0x219)]=_0x5965b7,this[_0x48d657(0x1f5)]=_0x4079a2,this['_chartSnapshotStoreService']=_0x50bba1,this[_0x48d657(0x35d)]=_0x13067b,U(this,_0x48d657(0x3b0),new Map()),U(this,_0x48d657(0x3cc),new Map()),U(this,'_chartEventSubscriptions',new Map()),U(this,_0x48d657(0x185),new Map()),U(this,_0x48d657(0x300),new Map()),U(this,_0x48d657(0x292),new Map()),U(this,_0x48d657(0x386),void 0x0),U(this,_0x48d657(0x321),void 0x0),U(this,_0x48d657(0x288),new Map()),U(this,_0x48d657(0x3aa),null),U(this,_0x48d657(0x3df),null);let _0x19d6cf=_0x4c7049(this[_0x48d657(0x2e4)]),_0xc63393=this[_0x48d657(0x1f5)]['getConfig'](_0x1eb9cf);this['_chartRenderMode']=(_0xc63393==null?void 0x0:_0xc63393[_0x48d657(0x1bc)])??jr,this[_0x48d657(0x321)]=_0x19d6cf['length']!==0x1||_0x19d6cf[0x0]!==_0x48d657(0x303),this['_registerChartImageRenderObjectFactory'](),this['_initActiveChartModelListener'](),this[_0x48d657(0x296)](),this[_0x48d657(0x19c)](),this[_0x48d657(0x2ea)]();}[_0x42a697(0x238)](_0x3bfeb6){const _0x255b1a=_0x42a697;let _0x59c56b=this[_0x255b1a(0x3de)](_0x3bfeb6);return _0x59c56b?this['_chartSnapshotStoreService'][_0x255b1a(0x1a4)](_0x59c56b):void 0x0;}[_0x42a697(0x1eb)](_0x5ada7d){const _0x17315e=_0x42a697;var _0x4f38fe;return((_0x4f38fe=this[_0x17315e(0x2a8)][_0x17315e(0x259)])==null?void 0x0:_0x4f38fe['id'])===_0x5ada7d?_0xb0238[_0x17315e(0x202)]:this['_chartRenderMode'];}[_0x42a697(0x3de)](_0x14fecc){const _0x4bf002=_0x42a697;let _0x583470=this[_0x4bf002(0x343)][_0x4bf002(0x3b5)](_0x14fecc);return _0x583470?{'unitId':_0x583470[_0x4bf002(0x201)],'subUnitId':_0x583470[_0x4bf002(0x267)],'chartId':_0x14fecc}:null;}[_0x42a697(0x3c1)](){const _0x436561=_0x42a697;this['_chartRenderMode']===_0xb0238[_0x436561(0x2f5)]&&this[_0x436561(0x1c6)](this[_0x436561(0x343)][_0x436561(0x344)](_0x4cd99f[_0x436561(0x3b1)],({key:_0x3ae14a,config:_0x4cd773,unitId:_0x39fbf5,subUnitId:_0x19e5cc,drawingId:_0x38d39a})=>new br(_0x3ae14a,_0x4cd773,()=>this[_0x436561(0x2e2)][_0x436561(0x1a4)]({'unitId':_0x39fbf5,'subUnitId':_0x19e5cc,'chartId':_0x38d39a}),()=>this[_0x436561(0x1ce)]['isDomReady'](_0x38d39a))));}[_0x42a697(0x3f1)](){const _0x521dfc=_0x42a697;this['disposeWithMe'](this['_chartModelService'][_0x521dfc(0x382)][_0x521dfc(0x2d9)](_0x363e10=>{const _0xa58f05=_0x521dfc;let _0x3fce2b=(_0x363e10==null?void 0x0:_0x363e10['id'])??null,_0x26d158=this[_0xa58f05(0x3aa)];_0x26d158!==_0x3fce2b&&(_0x26d158&&(this[_0xa58f05(0x1ce)][_0xa58f05(0x2f7)](_0x26d158),this[_0xa58f05(0x1e8)](_0x26d158),this[_0xa58f05(0x25d)](_0x26d158),this[_0xa58f05(0x175)](_0x26d158)),this[_0xa58f05(0x3aa)]=_0x3fce2b,_0x3fce2b&&(this[_0xa58f05(0x1ce)]['markHostNotReady'](_0x3fce2b),this[_0xa58f05(0x215)](_0x3fce2b),this['_rerenderLatest'](_0x3fce2b)));}));}[_0x42a697(0x296)](){const _0x483c6=_0x42a697;this[_0x483c6(0x1c6)](this[_0x483c6(0x1f1)][_0x483c6(0x3e4)][_0x483c6(0x2d9)](_0x2b58b9=>{const _0x1d4144=_0x483c6;var _0x22aa9f;let _0x388072=(_0x22aa9f=this[_0x1d4144(0x2a8)]['activeChartModel'])==null?void 0x0:_0x22aa9f['id'];_0x388072&&_0x2b58b9[_0x1d4144(0x1b8)](_0x322572=>_0x322572['children']['some'](_0x50c233=>_0x50c233[_0x1d4144(0x2ae)]===_0x388072))&&this['_chartModelService'][_0x1d4144(0x302)](null);})),this['disposeWithMe'](this[_0x483c6(0x1f1)][_0x483c6(0x346)][_0x483c6(0x2d9)](_0x590aab=>{const _0x305ee2=_0x483c6;var _0x24d120;let _0xfccee6=(_0x24d120=this[_0x305ee2(0x2a8)][_0x305ee2(0x259)])==null?void 0x0:_0x24d120['id'];_0xfccee6&&_0x590aab[_0x305ee2(0x1b8)](_0x52bbda=>_0x52bbda[_0x305ee2(0x2a9)][_0x305ee2(0x2ae)]===_0xfccee6||_0x52bbda[_0x305ee2(0x349)][_0x305ee2(0x1b8)](_0x2d9483=>_0x2d9483['drawingId']===_0xfccee6))&&this['_chartModelService'][_0x305ee2(0x302)](null);}));}[_0x42a697(0x19c)](){const _0x57bfb1=_0x42a697;this[_0x57bfb1(0x1c6)](this[_0x57bfb1(0x1f1)][_0x57bfb1(0x305)][_0x57bfb1(0x2d9)](_0x397e73=>{const _0x250864=_0x57bfb1;var _0xf69f6;let _0x356085=(_0xf69f6=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xf69f6['id'];if(!_0x356085){_0x397e73[_0x250864(0x3e2)][_0x250864(0x1d2)](_0x2da3da=>{const _0x1af742=_0x250864;this[_0x1af742(0x2a8)][_0x1af742(0x18d)](_0x2da3da)&&this[_0x1af742(0x1e8)](_0x2da3da);});return;}let _0x4bf193=this[_0x250864(0x343)][_0x250864(0x3b5)](_0x356085);(_0x4bf193==null?void 0x0:_0x4bf193[_0x250864(0x201)])===_0x397e73[_0x250864(0x201)]&&_0x4bf193[_0x250864(0x267)]===_0x397e73['subUnitId']&&this[_0x250864(0x215)](_0x356085);})),this[_0x57bfb1(0x1c6)](this['_drawingManagerService']['add$'][_0x57bfb1(0x2d9)](_0x188896=>{const _0x545933=_0x57bfb1;var _0x4f67a9;let _0xb35c27=(_0x4f67a9=this[_0x545933(0x2a8)]['activeChartModel'])==null?void 0x0:_0x4f67a9['id'];if(!_0xb35c27)return;let _0x20d1e7=this[_0x545933(0x343)]['getFloatDomInfo'](_0xb35c27);_0x20d1e7&&_0x188896['some'](_0x63051b=>_0x63051b[_0x545933(0x201)]===_0x20d1e7[_0x545933(0x201)]&&_0x63051b[_0x545933(0x267)]===_0x20d1e7[_0x545933(0x267)])&&this[_0x545933(0x215)](_0xb35c27);})),this[_0x57bfb1(0x1c6)](this['_chartModelService'][_0x57bfb1(0x1da)][_0x57bfb1(0x2d9)](_0x5a523e=>{const _0x280464=_0x57bfb1;var _0x48e183;this[_0x280464(0x288)]['delete'](_0x5a523e),this[_0x280464(0x2e2)][_0x280464(0x1d1)](_0x5a523e),this[_0x280464(0x364)](_0x5a523e),this['_chartHostProvider'][_0x280464(0x2f7)](_0x5a523e),((_0x48e183=this[_0x280464(0x2a8)][_0x280464(0x259)])==null?void 0x0:_0x48e183['id'])===_0x5a523e?this[_0x280464(0x2a8)][_0x280464(0x302)](null):this['_resetChartRuntimeZIndex'](_0x5a523e),this['_disposeChartRenderInstance'](_0x5a523e);}));}[_0x42a697(0x175)](_0x4f134f){const _0x4a4c9c=_0x42a697;let _0x54a052=this[_0x4a4c9c(0x288)]['get'](_0x4f134f);_0x54a052&&this[_0x4a4c9c(0x2cf)](_0x4f134f,_0x54a052[_0x4a4c9c(0x2e6)],_0x54a052[_0x4a4c9c(0x211)]);}[_0x42a697(0x25d)](_0x5c1cb8){const _0x58d5b2=_0x42a697;let _0x26150b=this[_0x58d5b2(0x3b0)]['get'](_0x5c1cb8);(_0x26150b==null?void 0x0:_0x26150b['mode'])===_0x58d5b2(0x3e8)&&(this[_0x58d5b2(0x1e0)](_0x5c1cb8),_0x26150b[_0x58d5b2(0x1e4)](),this['_chartInstanceMap']['delete'](_0x5c1cb8)),this[_0x58d5b2(0x1ce)][_0x58d5b2(0x2f7)](_0x5c1cb8),this['_chartHostProvider'][_0x58d5b2(0x28c)](_0x5c1cb8);}[_0x42a697(0x306)](_0x17e508){const _0x47eedb=_0x42a697;let _0x48826d=this[_0x47eedb(0x3b0)][_0x47eedb(0x33d)](_0x17e508);_0x48826d&&(this[_0x47eedb(0x1e0)](_0x17e508),_0x48826d[_0x47eedb(0x1e4)](),this[_0x47eedb(0x3b0)][_0x47eedb(0x210)](_0x17e508)),this['_chartHostProvider']['markHostNotReady'](_0x17e508),this['_chartHostProvider']['removeHost'](_0x17e508);}[_0x42a697(0x364)](_0x52ab1d){const _0x39b02a=_0x42a697;var _0x50a79b,_0x1971e2;(_0x50a79b=this['_renderModelManager']['getRenderModel'](_0x223dba))==null||(_0x1971e2=_0x50a79b[_0x39b02a(0x221)])==null||_0x1971e2[_0x39b02a(0x286)](_0x50a79b,_0x52ab1d);}['_clearSheetChartRuntimeCaches'](_0x424ebd,_0x19c339){const _0xcba52e=_0x42a697;let _0x9cb82b=this[_0xcba52e(0x1f1)][_0xcba52e(0x327)](_0x424ebd,_0x19c339);Object[_0xcba52e(0x3ab)](_0x9cb82b??{})[_0xcba52e(0x1d2)](_0x3859ad=>{const _0x5c8cc1=_0xcba52e;_0x3859ad[_0x5c8cc1(0x341)]===_0x4cd99f['DRAWING_CHART']&&this[_0x5c8cc1(0x364)](_0x3859ad[_0x5c8cc1(0x2ae)]);});}['_getChartRenderObject'](_0x3d371b,_0x57e095){const _0x41ae4e=_0x42a697;var _0x179894;return((_0x179894=_0x3d371b['getObjectIncludeInGroup'])==null?void 0x0:_0x179894[_0x41ae4e(0x286)](_0x3d371b,_0x57e095))??_0x3d371b['getObject'](_0x57e095)??null;}[_0x42a697(0x1dd)](_0x52108a){const _0x8a790e=_0x42a697;var _0x57abc2;let _0x16c469=this[_0x8a790e(0x343)][_0x8a790e(0x3b5)](_0x52108a);if(!_0x16c469)return null;let _0x5d3754=(_0x57abc2=this[_0x8a790e(0x28e)][_0x8a790e(0x3ec)](_0x16c469['unitId']))==null?void 0x0:_0x57abc2[_0x8a790e(0x37e)];if(!_0x5d3754)return null;let _0xddd031=this[_0x8a790e(0x242)](_0x5d3754,_0x4a9fe4({'unitId':_0x16c469['unitId'],'subUnitId':_0x16c469['subUnitId'],'drawingId':_0x52108a}));return _0xddd031?{'info':_0x16c469,'scene':_0x5d3754,'chartObject':_0xddd031}:null;}['_setChartRuntimeZIndex'](_0x5386b8,_0x5a069d){const _0x417a95=_0x42a697;var _0x8ac42f,_0x33df7e,_0x383dfb,_0x2d4d5d;let _0x332d0a=this[_0x417a95(0x1dd)](_0x5386b8);_0x332d0a&&((_0x8ac42f=(_0x33df7e=_0x332d0a[_0x417a95(0x375)])[_0x417a95(0x16f)])==null||_0x8ac42f[_0x417a95(0x286)](_0x33df7e,{'zIndex':_0x5a069d}),(_0x383dfb=(_0x2d4d5d=_0x332d0a[_0x417a95(0x375)])[_0x417a95(0x1b1)])==null||_0x383dfb[_0x417a95(0x286)](_0x2d4d5d,!0x0),_0x332d0a[_0x417a95(0x37e)][_0x417a95(0x1b1)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x331cdb){const _0x499301=_0x42a697;let _0x440025=this[_0x499301(0x343)][_0x499301(0x3b5)](_0x331cdb);if(!_0x440025)return;let _0xdc123b=this[_0x499301(0x1f1)]['getDrawingOrder'](_0x440025[_0x499301(0x201)],_0x440025[_0x499301(0x267)]);this[_0x499301(0x2b4)](_0x331cdb,_0xdc123b[_0x499301(0x206)]);}['_resetChartRuntimeZIndex'](_0x3352c4){const _0x3604d4=_0x42a697;let _0x311839=this[_0x3604d4(0x343)]['getFloatDomInfo'](_0x3352c4);if(!_0x311839)return;let _0x4bfcd4=this[_0x3604d4(0x1f1)][_0x3604d4(0x17f)](_0x311839[_0x3604d4(0x201)],_0x311839[_0x3604d4(0x267)]),_0x586a20=_0x4bfcd4[_0x3604d4(0x360)](_0x3352c4);this[_0x3604d4(0x2b4)](_0x3352c4,_0x586a20===-0x1?Math[_0x3604d4(0x2fa)](_0x4bfcd4[_0x3604d4(0x206)]-0x1,0x0):_0x586a20);}[_0x42a697(0x3f4)](_0x363e1a,_0x216696){const _0x3a8085=_0x42a697;let _0x5e7920=this[_0x3a8085(0x343)][_0x3a8085(0x3b5)](_0x363e1a);if(_0x216696[_0x3a8085(0x180)]!==void 0x0&&_0x216696[_0x3a8085(0x20b)]!==void 0x0&&_0x5e7920){var _0x3f1756;let {subUnitId:_0x451f3e}=_0x5e7920,_0x371222=(_0x3f1756=this[_0x3a8085(0x32e)][_0x3a8085(0x339)](_0x351816['UNIVER_SHEET']))==null?void 0x0:_0x3f1756['getActiveSheet']();if((_0x371222==null?void 0x0:_0x371222[_0x3a8085(0x1ec)]())===_0x451f3e){let {width:_0x43d2a3,height:_0x26e16d}=_0x216696,_0x42aa7f=this[_0x3a8085(0x2a8)][_0x3a8085(0x18d)](_0x363e1a),_0x26be6f=_0x42aa7f==null?void 0x0:_0x42aa7f['style'];if(Math[_0x3a8085(0x230)](_0x43d2a3-((_0x26be6f==null?void 0x0:_0x26be6f['width'])||0x0))>0x1||Math[_0x3a8085(0x230)](_0x26e16d-((_0x26be6f==null?void 0x0:_0x26be6f['height'])||0x0))>0x1){_0x42aa7f==null||_0x42aa7f['assignStyle']({..._0x26be6f,'width':_0x43d2a3,'height':_0x26e16d});let _0x51d83f=this[_0x3a8085(0x3b0)]['get'](_0x363e1a);_0x51d83f&&(this['_chartHostProvider'][_0x3a8085(0x3a6)](_0x363e1a),_0x51d83f[_0x3a8085(0x31d)]());}}}}[_0x42a697(0x1c5)](_0x476c53,_0x2bcca5,_0xa9f03b=0x0){const _0x467b76=_0x42a697;let _0x2f8d62=this[_0x467b76(0x292)][_0x467b76(0x33d)](_0x476c53);_0x2f8d62||(_0x2f8d62=_0x23b2a1(_0x17dcf1=>{const _0x3e7c62=_0x467b76;this[_0x3e7c62(0x3f4)](_0x476c53,_0x17dcf1);},_0xa9f03b),this['_debounceHandleMap']['set'](_0x476c53,_0x2f8d62)),_0x2f8d62(_0x2bcca5);}[_0x42a697(0x2ea)](){const _0xb6de38=_0x42a697;let _0x1bc60e=this[_0xb6de38(0x300)],_0x20f2be=_0x116a81=>{const _0x4b7f55=_0xb6de38;if(!_0x1bc60e[_0x4b7f55(0x3a1)](_0x116a81)){let _0x4ec48f=_0x23b2a1((_0xfdce18,_0x115bfa,_0x2fa745,_0x3815e6)=>{const _0x31d39b=_0x4b7f55;var _0x3b0995,_0x436d61;if(!_0x2fa745)return;(_0x3b0995=_0x2fa745[_0x31d39b(0x315)])==null||_0x3b0995['items']['forEach']((_0x5d9dd0,_0x589894)=>{const _0x500361=_0x31d39b;_0x5d9dd0[_0x500361(0x279)]||=this[_0x500361(0x289)]['t'](_0x500361(0x20e))+'\x20'+(_0x589894+0x1);}),_0x2fa745['series']['forEach']((_0x2cdb44,_0x21e203)=>{const _0x2463b4=_0x31d39b;_0x2cdb44[_0x2463b4(0x3b4)]||=this['_localeService']['t'](_0x2463b4(0x1a0))+'\x20'+(_0x21e203+0x1);});let _0xe43122=this[_0x31d39b(0x353)](_0xfdce18,_0x3815e6),_0x4cbfea=(_0x436d61=this[_0x31d39b(0x32e)]['getCurrentUnitOfType'](_0x351816['UNIVER_SHEET']))==null?void 0x0:_0x436d61[_0x31d39b(0x241)]();(_0x4cbfea==null?void 0x0:_0x4cbfea[_0x31d39b(0x1ec)]())===_0x115bfa&&this[_0x31d39b(0x2cf)](_0xfdce18['id'],_0x2fa745,_0xe43122);},0x11);_0x1bc60e[_0x4b7f55(0x19a)](_0x116a81,_0x4ec48f);}return _0x1bc60e[_0x4b7f55(0x33d)](_0x116a81);};this[_0xb6de38(0x1c6)](this[_0xb6de38(0x32e)]['focused$'][_0xb6de38(0x2d9)](_0x5a0ac3=>{const _0x3a45f4=_0xb6de38;let _0x5097bf=this[_0x3a45f4(0x32e)][_0x3a45f4(0x339)](_0x351816['UNIVER_SHEET']);if(_0x5a0ac3&&_0x5097bf&&_0x5097bf['getUnitId']()===_0x5a0ac3){var _0x4fb2a4;let _0x227a40=_0x5097bf['getActiveSheet']()[_0x3a45f4(0x1ec)]();this[_0x3a45f4(0x3df)]&&(this[_0x3a45f4(0x3df)][_0x3a45f4(0x201)]!==_0x5a0ac3||this[_0x3a45f4(0x3df)]['subUnitId']!==_0x227a40)&&this[_0x3a45f4(0x229)](this[_0x3a45f4(0x3df)][_0x3a45f4(0x201)],this[_0x3a45f4(0x3df)]['subUnitId']),this[_0x3a45f4(0x3df)]={'unitId':_0x5a0ac3,'subUnitId':_0x227a40};let _0x130745=this[_0x3a45f4(0x1f1)][_0x3a45f4(0x327)](_0x5a0ac3,_0x227a40);if(!((_0x4fb2a4=this[_0x3a45f4(0x28e)][_0x3a45f4(0x3ec)](_0x5a0ac3))!=null&&_0x4fb2a4['with'](_0xb53775)[_0x3a45f4(0x38d)](_0x227a40)))return;if(_0x130745)for(let _0x2ef005 in _0x130745){let {drawingId:_0x40c834}=_0x130745[_0x2ef005],_0x4dde71=this[_0x3a45f4(0x2a8)][_0x3a45f4(0x18d)](_0x40c834);_0x4dde71&&_0x20f2be(_0x4dde71['id'])(_0x4dde71,_0x227a40,_0x4dde71[_0x3a45f4(0x2e6)],this[_0x3a45f4(0x289)][_0x3a45f4(0x208)]());}}})),this[_0xb6de38(0x1c6)](this['_themeService'][_0xb6de38(0x26b)]['subscribe'](()=>{const _0x2bae61=_0xb6de38;var _0x3836bd;let _0xf7816d=this[_0x2bae61(0x32e)][_0x2bae61(0x339)](_0x351816[_0x2bae61(0x194)]);if(!_0xf7816d)return;let _0x45c55e=_0xf7816d[_0x2bae61(0x193)](),_0x377ce2=_0xf7816d['getActiveSheet']()[_0x2bae61(0x1ec)](),_0x3f01f4=this[_0x2bae61(0x1f1)]['getDrawingData'](_0x45c55e,_0x377ce2);if((_0x3836bd=this[_0x2bae61(0x28e)]['getRenderUnitById'](_0x45c55e))!=null&&_0x3836bd[_0x2bae61(0x234)](_0xb53775)[_0x2bae61(0x38d)](_0x377ce2)&&_0x3f01f4)for(let _0x37098b in _0x3f01f4){let {drawingId:_0x2125e7}=_0x3f01f4[_0x37098b],_0x44dd15=this[_0x2bae61(0x2a8)]['getChartModel'](_0x2125e7);_0x44dd15&&_0x20f2be(_0x44dd15['id'])(_0x44dd15,_0x377ce2,_0x44dd15[_0x2bae61(0x2e6)],this[_0x2bae61(0x289)][_0x2bae61(0x208)]());}})),this['disposeWithMe'](this[_0xb6de38(0x1f1)][_0xb6de38(0x277)]['subscribe'](_0x62aafb=>{const _0x2b8e07=_0xb6de38;_0x62aafb[_0x2b8e07(0x1d2)](_0x389623=>{const _0x490d99=_0x2b8e07;var _0x2e6190,_0x19f3b6;let {drawingId:_0x4255dd,unitId:_0x2cd94e,subUnitId:_0x1f2b66}=_0x389623;if(!((_0x2e6190=this[_0x490d99(0x28e)][_0x490d99(0x3ec)](_0x2cd94e))!=null&&_0x2e6190[_0x490d99(0x234)](_0xb53775)[_0x490d99(0x38d)](_0x1f2b66)))return;let {drawingType:_0x4459b9}=this[_0x490d99(0x1f1)][_0x490d99(0x3c5)](_0x389623);if(_0x4459b9!==_0x4cd99f[_0x490d99(0x3b1)])return;let _0x230e8e=this[_0x490d99(0x343)][_0x490d99(0x3b5)](_0x4255dd),_0x49767a=(_0x230e8e==null?void 0x0:_0x230e8e[_0x490d99(0x2d5)])??_0x4255dd,_0x9c1ed0=_0x230e8e==null?void 0x0:_0x230e8e[_0x490d99(0x3ee)],_0x2b60ab=(_0x19f3b6=this[_0x490d99(0x28e)][_0x490d99(0x3ec)](_0x2cd94e))==null?void 0x0:_0x19f3b6[_0x490d99(0x37e)];_0x9c1ed0&&this[_0x490d99(0x1c6)](_0x9c1ed0==null?void 0x0:_0x9c1ed0['onTransformChange$'][_0x490d99(0x1f9)](_0x3a2c5e=>{const _0x29de6f=_0x490d99;let {type:_0x57c0e1,value:_0x360c8e}=_0x3a2c5e;if(_0x29c8d5[_0x29de6f(0x31d)]===_0x57c0e1||_0x29c8d5[_0x29de6f(0x303)]===_0x57c0e1){let {width:_0x14848f,height:_0x222e2b}=_0x360c8e;this[_0x29de6f(0x1c5)](_0x4255dd,{'width':_0x14848f,'height':_0x222e2b},0x64);}})),_0x2b60ab&&this[_0x490d99(0x1c6)](_0x2b60ab[_0x490d99(0x2f3)][_0x490d99(0x1f9)](_0x3b88dc=>{const _0x572a66=_0x490d99;var _0x198468;_0x3b88dc[_0x572a66(0x232)]===_0x29c8d5[_0x572a66(0x182)]&&(_0x198468=document[_0x572a66(0x22f)](_0x49767a))!=null&&_0x198468[_0x572a66(0x2db)](_0x572a66(0x1c7))&&this[_0x572a66(0x1ce)]['syncHostLayout'](_0x4255dd);}));let _0x14cbca=this[_0x490d99(0x2a8)][_0x490d99(0x18d)](_0x4255dd);_0x14cbca&&this[_0x490d99(0x1c6)](_0x54d9ab([_0x14cbca[_0x490d99(0x299)],_0x14cbca[_0x490d99(0x274)],this[_0x490d99(0x289)]['direction$']])[_0x490d99(0x2d9)](([_0x90d1c2,_0x5f2d7e,_0x1fa8f3])=>{_0x20f2be(_0x14cbca['id'])(_0x14cbca,_0x1f2b66,_0x90d1c2,_0x1fa8f3);}));});})),this['disposeWithMe'](_0x54d9ab([this['_drawingManagerService'][_0xb6de38(0x1cc)]])['subscribe'](([_0x30a441])=>{const _0x3f164e=_0xb6de38;_0x30a441[_0x3f164e(0x1d2)](_0x38da34=>{const _0x2747dd=_0x3f164e;var _0x3d2c05;let {drawingId:_0x51d5f9}=_0x38da34;((_0x3d2c05=this[_0x2747dd(0x2a8)]['activeChartModel'])==null?void 0x0:_0x3d2c05['id'])===_0x51d5f9&&this['_chartModelService'][_0x2747dd(0x302)](null),this[_0x2747dd(0x1e0)](_0x51d5f9),this[_0x2747dd(0x3cc)][_0x2747dd(0x210)](_0x51d5f9),this[_0x2747dd(0x1ce)][_0x2747dd(0x2f7)](_0x51d5f9),this[_0x2747dd(0x1e8)](_0x51d5f9),this[_0x2747dd(0x306)](_0x51d5f9),this[_0x2747dd(0x2e2)][_0x2747dd(0x1d1)](_0x51d5f9),this[_0x2747dd(0x364)](_0x51d5f9),this['_lastRenderInputMap']['delete'](_0x51d5f9),this[_0x2747dd(0x185)][_0x2747dd(0x210)](_0x51d5f9);});}));}[_0x42a697(0x3a4)](_0x30298d,_0x290786){const _0x468e64=_0x42a697;var _0xb62b1d;_0x290786?this['_chartElementEditMode'][_0x468e64(0x19a)](_0x30298d,!0x0):this[_0x468e64(0x185)]['delete'](_0x30298d),(_0xb62b1d=this['_chartInstanceMap'][_0x468e64(0x33d)](_0x30298d))==null||_0xb62b1d[_0x468e64(0x3a4)](_0x290786);}async['exportImage'](_0x1a4316){const _0x16d413=_0x42a697;let _0x3867c7=this['_chartInstanceMap'][_0x16d413(0x33d)](_0x1a4316);if(_0x3867c7){let _0x3ea14e=this[_0x16d413(0x185)][_0x16d413(0x33d)](_0x1a4316)===!0x0;_0x3ea14e&&_0x3867c7[_0x16d413(0x3a4)](!0x1);try{let _0x8521ff=await _0x3867c7[_0x16d413(0x362)]();if(_0x8521ff)return _0x8521ff;}finally{_0x3ea14e&&this[_0x16d413(0x3b0)]['get'](_0x1a4316)===_0x3867c7&&_0x3867c7['setElementEditMode'](!0x0);}}let _0x347840=this[_0x16d413(0x22a)](_0x1a4316);return _0x347840?_0x4d8890(_0x347840):void 0x0;}['on'](_0xe913c5,_0x100230,_0x549028){const _0x49cda8=_0x42a697;let _0x88ef7=this[_0x49cda8(0x3cc)]['get'](_0xe913c5);_0x88ef7||(_0x88ef7=new Map(),this[_0x49cda8(0x3cc)]['set'](_0xe913c5,_0x88ef7));let _0x17d869=_0x88ef7['get'](_0x100230);_0x17d869||(_0x17d869=new Set(),_0x88ef7[_0x49cda8(0x19a)](_0x100230,_0x17d869)),_0x17d869[_0x49cda8(0x245)](_0x549028);let _0x56bcbb=this[_0x49cda8(0x3b0)][_0x49cda8(0x33d)](_0xe913c5);return _0x56bcbb&&this[_0x49cda8(0x313)](_0xe913c5,_0x56bcbb,_0x100230,_0x549028),{'dispose':()=>{const _0x41b6d8=_0x49cda8;var _0x15b0ec;(_0x15b0ec=this[_0x41b6d8(0x3cc)]['get'](_0xe913c5))==null||(_0x15b0ec=_0x15b0ec['get'](_0x100230))==null||_0x15b0ec[_0x41b6d8(0x210)](_0x549028),this[_0x41b6d8(0x1ed)](_0xe913c5,_0x100230,_0x549028);}};}[_0x42a697(0x22a)](_0x2f0ee5){const _0x40076d=_0x42a697;let _0x4af667=this[_0x40076d(0x32e)]['getCurrentUnitOfType'](_0x351816[_0x40076d(0x194)]),_0x2ff484=_0x4af667==null?void 0x0:_0x4af667[_0x40076d(0x241)](),_0x11a1a3=_0x4af667==null?void 0x0:_0x4af667[_0x40076d(0x193)](),_0x16be0e=_0x2ff484==null?void 0x0:_0x2ff484[_0x40076d(0x1ec)]();if(!(!_0x11a1a3||!_0x16be0e))return this[_0x40076d(0x2e2)][_0x40076d(0x1a4)]({'unitId':_0x11a1a3,'subUnitId':_0x16be0e,'chartId':_0x2f0ee5});}[_0x42a697(0x32a)](_0x9ba61f,_0x59dc0d){const _0x479f2d=_0x42a697;let _0x262bbc=this[_0x479f2d(0x3cc)][_0x479f2d(0x33d)](_0x9ba61f);_0x262bbc&&_0x262bbc[_0x479f2d(0x1d2)]((_0x2ebf3b,_0x28eac6)=>{const _0x539b45=_0x479f2d;_0x2ebf3b[_0x539b45(0x1d2)](_0x244fec=>this[_0x539b45(0x313)](_0x9ba61f,_0x59dc0d,_0x28eac6,_0x244fec));});}[_0x42a697(0x313)](_0x5bb68e,_0x2a4d32,_0x5795ee,_0x322e7e){const _0x34b840=_0x42a697;let _0x3f86fc=this[_0x34b840(0x29d)][_0x34b840(0x33d)](_0x5bb68e);_0x3f86fc||(_0x3f86fc=new Map(),this[_0x34b840(0x29d)][_0x34b840(0x19a)](_0x5bb68e,_0x3f86fc));let _0x299e94=_0x3f86fc[_0x34b840(0x33d)](_0x5795ee);_0x299e94||(_0x299e94=new Map(),_0x3f86fc[_0x34b840(0x19a)](_0x5795ee,_0x299e94)),!_0x299e94[_0x34b840(0x3a1)](_0x322e7e)&&_0x299e94[_0x34b840(0x19a)](_0x322e7e,_0x2a4d32['on'](_0x5795ee,_0x322e7e));}[_0x42a697(0x1ed)](_0x4afa95,_0x1a3e69,_0x4f6fc8){const _0x41b079=_0x42a697;var _0x26c408,_0xac81a8;let _0x42fbcd=(_0x26c408=this[_0x41b079(0x29d)][_0x41b079(0x33d)](_0x4afa95))==null?void 0x0:_0x26c408[_0x41b079(0x33d)](_0x1a3e69);_0x42fbcd==null||(_0xac81a8=_0x42fbcd[_0x41b079(0x33d)](_0x4f6fc8))==null||_0xac81a8['dispose'](),_0x42fbcd==null||_0x42fbcd[_0x41b079(0x210)](_0x4f6fc8);}[_0x42a697(0x1e0)](_0x58fa84){const _0x11137b=_0x42a697;let _0xd6d758=this[_0x11137b(0x29d)]['get'](_0x58fa84);_0xd6d758==null||_0xd6d758['forEach'](_0x3074da=>{const _0x2fb456=_0x11137b;_0x3074da[_0x2fb456(0x1d2)](_0x388a20=>_0x388a20[_0x2fb456(0x1e4)]()),_0x3074da[_0x2fb456(0x3af)]();}),this[_0x11137b(0x29d)][_0x11137b(0x210)](_0x58fa84);}['createRuntimeChartStyle'](_0x1093d6,_0x18aea7){const _0x542573=_0x42a697;return Nr(_0x1093d6,_0x18aea7,this[_0x542573(0x321)]);}[_0x42a697(0x32d)](_0x5eebc6){return this['_getChartRenderSkipReason'](_0x5eebc6)==null;}[_0x42a697(0x36e)](_0x5b5f8b){const _0x95f6ec=_0x42a697;var _0x1e3bc4;let _0x4c713f=this[_0x95f6ec(0x343)]['getFloatDomInfo'](_0x5b5f8b);if(!_0x4c713f)return _0x95f6ec(0x33c);let {subUnitId:_0x3661e4}=_0x4c713f,_0x41a43e=(_0x1e3bc4=this[_0x95f6ec(0x32e)]['getCurrentUnitOfType'](_0x351816[_0x95f6ec(0x194)]))==null?void 0x0:_0x1e3bc4['getActiveSheet']();if(!_0x41a43e)return _0x95f6ec(0x374);if(_0x41a43e[_0x95f6ec(0x1ec)]()!==_0x3661e4)return _0x95f6ec(0x1e9);}async[_0x42a697(0x2cf)](_0x1a4d25,_0x55e5d8,_0x110613){const _0x3c3fbc=_0x42a697;let _0x24a668=this[_0x3c3fbc(0x35d)][_0x3c3fbc(0x365)](_0x223dba);if(!_0x24a668||(this[_0x3c3fbc(0x288)]['set'](_0x1a4d25,{'config':_0x55e5d8,'style':_0x110613}),this[_0x3c3fbc(0x36e)](_0x1a4d25)))return;let _0x1e359f=this[_0x3c3fbc(0x1eb)](_0x1a4d25);if(_0x1e359f===_0xb0238[_0x3c3fbc(0x2f5)])this['_disposeChartDomInstance'](_0x1a4d25);else{var _0x5b1ae4;this[_0x3c3fbc(0x1ce)]['invalidateSnapshot'](_0x1a4d25),((_0x5b1ae4=this[_0x3c3fbc(0x2a8)][_0x3c3fbc(0x259)])==null?void 0x0:_0x5b1ae4['id'])===_0x1a4d25&&this[_0x3c3fbc(0x215)](_0x1a4d25);}let _0xd2df8c=_0x1e359f===_0xb0238[_0x3c3fbc(0x2f5)]?_0x54947a[_0x3c3fbc(0x2f5)]:_0x54947a[_0x3c3fbc(0x202)],_0x36f36d=await this[_0x3c3fbc(0x1ce)][_0x3c3fbc(0x3e0)](_0x1a4d25,_0xd2df8c);if(!_0x36f36d)return;let _0x158ae8=this['_getOrCreateChartRenderInstance'](_0x1a4d25,_0xd2df8c,_0x24a668);_0x158ae8['bind'](_0x36f36d);try{await _0x158ae8[_0x3c3fbc(0x2cf)]({'chartId':_0x1a4d25,'config':_0x55e5d8,'style':_0x110613});}catch(_0x118913){if(_0x1e359f!==_0xb0238[_0x3c3fbc(0x2f5)])throw _0x118913;}}async[_0x42a697(0x1c4)](_0x59f093,_0x248742,_0x43bfb6){const _0x51895b=_0x42a697;let _0x4ed56e=this['_drawingManagerService'][_0x51895b(0x327)](_0x59f093,_0x248742),_0x1a184e=this['_drawingManagerService']['getDrawingOrder'](_0x59f093,_0x248742),_0x251e68=Object[_0x51895b(0x3ab)](_0x4ed56e??{})['filter'](_0x2cdc43=>_0x2cdc43[_0x51895b(0x341)]===_0x4cd99f[_0x51895b(0x3b1)]&&_0x2cdc43['hidden']!==!0x0);await Promise[_0x51895b(0x1d8)](_0x251e68[_0x51895b(0x2bb)](async _0x25303d=>{const _0x56390f=_0x51895b;let _0x14b338=await this['_createPrintingChartObject'](_0x25303d,_0x1a184e);_0x14b338&&(_0x43bfb6['addObject'](_0x14b338,_0x2c5142),_0x25303d[_0x56390f(0x189)]&&_0x448638({'drawingId':_0x25303d[_0x56390f(0x189)],'unitId':_0x59f093,'subUnitId':_0x248742},_0x14b338,_0x43bfb6,this[_0x56390f(0x1f1)]));}));}async[_0x42a697(0x3d6)](_0x4ab6b1,_0x30e70b){const _0x327f79=_0x42a697;let _0xc447a=this[_0x327f79(0x2a8)][_0x327f79(0x18d)](_0x4ab6b1[_0x327f79(0x2ae)]),_0x509c63=this[_0x327f79(0x35d)][_0x327f79(0x365)](_0x223dba),_0x515366=_0x4ab6b1[_0x327f79(0x26f)],_0x19a0ee=_0xc447a==null?void 0x0:_0xc447a[_0x327f79(0x2e6)];if(!_0xc447a||!_0x509c63||!_0x515366||!_0x19a0ee||_0x515366[_0x327f79(0x180)]==null||_0x515366['height']==null)return null;let _0x4b038d=new Mr(_0x4ab6b1[_0x327f79(0x2ae)],{'width':_0x515366[_0x327f79(0x180)],'height':_0x515366['height']}),_0xc9aa7=_0x509c63[_0x327f79(0x264)](_0x54947a[_0x327f79(0x2f5)],this['_createChartRenderInstanceContext']());_0xc9aa7[_0x327f79(0x2c0)](_0x4b038d);let _0x5134b3;try{await _0xc9aa7[_0x327f79(0x2cf)]({'chartId':_0x4ab6b1[_0x327f79(0x2ae)],'config':_0x19a0ee,'style':this[_0x327f79(0x353)](_0xc447a,this[_0x327f79(0x289)][_0x327f79(0x208)]())});}catch(_0x2e17d0){console[_0x327f79(0x1fb)](_0x327f79(0x28f),_0x2e17d0);}finally{_0x5134b3=_0x4b038d[_0x327f79(0x350)](),_0xc9aa7[_0x327f79(0x1e4)](),_0x4b038d[_0x327f79(0x1e4)]();}let _0x3987e6=this[_0x327f79(0x2e2)]['getImage']({'unitId':_0x4ab6b1[_0x327f79(0x201)],'subUnitId':_0x4ab6b1[_0x327f79(0x267)],'chartId':_0x4ab6b1['drawingId']}),_0x3b989f=_0x5134b3??_0x3987e6;if(!_0x3b989f)return null;let _0x263aea=_0x30e70b['indexOf'](_0x4ab6b1[_0x327f79(0x2ae)]);return new br(_0x4a9fe4(_0x4ab6b1),{..._0x515366,..._0x3e8982,...Dr(_0x4b038d[_0x327f79(0x211)]),'visible':!0x0,'zIndex':_0x263aea===-0x1?Math[_0x327f79(0x2fa)](_0x30e70b[_0x327f79(0x206)]-0x1,0x0):_0x263aea},()=>_0x3b989f,void 0x0,_0x5134b3?()=>W(_0x5134b3):void 0x0);}[_0x42a697(0x3c3)](_0x787718,_0x52f764,_0x454537){const _0x402cc2=_0x42a697;let _0x31e09f=this[_0x402cc2(0x3b0)][_0x402cc2(0x33d)](_0x787718);if((_0x31e09f==null?void 0x0:_0x31e09f['mode'])===_0x52f764)return _0x31e09f;_0x31e09f&&(this['_disposeChartEventSubscriptions'](_0x787718),_0x31e09f['dispose'](),this[_0x402cc2(0x3b0)][_0x402cc2(0x210)](_0x787718));let _0x569a9e=_0x454537[_0x402cc2(0x264)](_0x52f764,this['_createChartRenderInstanceContext']());return this['_chartInstanceMap'][_0x402cc2(0x19a)](_0x787718,_0x569a9e),_0x569a9e['setElementEditMode'](this[_0x402cc2(0x185)][_0x402cc2(0x33d)](_0x787718)===!0x0),this['_bindChartEventHandlers'](_0x787718,_0x569a9e),_0x569a9e;}[_0x42a697(0x212)](){const _0x3264a2=_0x42a697;return{'resolveHostStyle':({style:_0xf9e588})=>_0x1501c4({'style':_0xf9e588,'getRenderColor':_0x1a65f1=>this[_0x3264a2(0x281)][_0x3264a2(0x324)](_0x1a65f1)}),'resolveRenderBackgroundColor':({style:_0x527cf5})=>this[_0x3264a2(0x281)][_0x3264a2(0x324)](_0x15eac5(_0x527cf5))};}[_0x42a697(0x3d2)](){const _0x14a051=_0x42a697;this[_0x14a051(0x300)][_0x14a051(0x1d2)](_0x6717d1=>_0x6717d1[_0x14a051(0x390)]()),this[_0x14a051(0x300)]['clear'](),this[_0x14a051(0x292)][_0x14a051(0x1d2)](_0x2f8b95=>_0x2f8b95[_0x14a051(0x390)]()),this[_0x14a051(0x292)][_0x14a051(0x3af)]();}[_0x42a697(0x1e4)](){const _0x78345e=_0x42a697;Array[_0x78345e(0x328)](this[_0x78345e(0x3b0)][_0x78345e(0x24c)]())[_0x78345e(0x1d2)](_0x27b5f3=>this[_0x78345e(0x306)](_0x27b5f3)),this[_0x78345e(0x185)][_0x78345e(0x3af)](),this[_0x78345e(0x3d2)](),this[_0x78345e(0x288)]['clear'](),this[_0x78345e(0x3aa)]=null,this['_lastActiveSheet']=null,super[_0x78345e(0x1e4)]();}};Y=q([K(0x0,kr),K(0x1,_0x3c5f23(_0x463e32)),K(0x2,_0x3c5f23(_0x3db1ab)),K(0x3,_0x3e323c),K(0x4,_0x39f3aa),K(0x5,_0x3c5f23(_0xf835e7)),K(0x6,_0x3c5f23(_0xd5d68c)),K(0x7,J),K(0x8,_0x3c5f23(_0x2f4582)),K(0x9,_0x3c5f23(_0x274d2d)),K(0xa,_0x3c5f23(_0x42b947)),K(0xb,_0x42fc9b),K(0xc,_0x3c5f23(Cr)),K(0xd,_0x127e53)],Y);function X(_0x1c2a40){const _0x1f8e13=_0x42a697;let _0x17b059=_0x1c2a40['get'](_0x1e8199)[_0x1f8e13(0x2f4)]();if(_0x17b059[_0x1f8e13(0x206)]!==0x1)return null;let _0x2a945d=_0x17b059[0x0];return _0x2a945d[_0x1f8e13(0x341)]===_0x4cd99f[_0x1f8e13(0x3b1)]?_0x2a945d:null;}function Pr(_0x485924,_0x25af89){const _0xdab9ff=_0x42a697;let _0x2cdd0c=document[_0xdab9ff(0x239)]('a');_0x2cdd0c[_0xdab9ff(0x2f8)]=_0x485924,_0x2cdd0c[_0xdab9ff(0x307)]=_0x25af89,_0x2cdd0c[_0xdab9ff(0x1d0)]();}const Fr={'id':_0x42a697(0x33b),'type':_0x5004ac[_0x42a697(0x316)],'handler':(_0xe6fb29,_0x4c0cc6)=>{const _0x44cd0a=_0x42a697;let _0xc41770=X(_0xe6fb29);return _0xc41770?_0xe6fb29[_0x44cd0a(0x33d)](_0x5e196b)['executeCommand'](V['id'],{'unitId':_0xc41770[_0x44cd0a(0x201)],'subUnitId':_0xc41770['subUnitId'],'drawingId':_0xc41770[_0x44cd0a(0x2ae)],..._0x4c0cc6!=null&&_0x4c0cc6[_0x44cd0a(0x2be)]?{'route':_0x4c0cc6['route']}:{}}):!0x1;}},Ir={'id':_0x42a697(0x3b7),'type':_0x5004ac[_0x42a697(0x316)],'handler':_0x5ec6b0=>X(_0x5ec6b0)?_0x5ec6b0['get'](_0x5e196b)['executeCommand'](_0x3cc3a6['id']):!0x1},Lr={'id':'sheet.command.chart.export-focused-image','type':_0x5004ac[_0x42a697(0x316)],'handler':async _0x4c69a2=>{const _0x4c7863=_0x42a697;let _0x4821a2=X(_0x4c69a2);if(!_0x4821a2)return!0x1;let _0x551927=await _0x4c69a2['get'](Y)[_0x4c7863(0x2c8)](_0x4821a2['drawingId']);return _0x551927?(Pr(_0x551927,_0x4821a2['drawingId']+_0x4c7863(0x231)),!0x0):!0x1;}},Rr={'id':_0x42a697(0x2f2),'type':_0x5004ac['COMMAND'],'handler':_0x54e926=>{const _0x5e66b6=_0x42a697;let _0x48cb57=X(_0x54e926);return _0x48cb57?_0x54e926['get'](_0x5e196b)[_0x5e66b6(0x312)](_0x42f5a4['id'],{'unitId':_0x48cb57[_0x5e66b6(0x201)],'drawings':[{'unitId':_0x48cb57[_0x5e66b6(0x201)],'subUnitId':_0x48cb57[_0x5e66b6(0x267)],'drawingId':_0x48cb57[_0x5e66b6(0x2ae)],'drawingType':_0x4cd99f[_0x5e66b6(0x3b1)]}]}):!0x1;}},zr='SHEETS_CHART_CONTEXT_MENU';function Br(_0x168dde){const _0x58d78d=_0x42a697;let _0x532bd9=_0x168dde[_0x58d78d(0x33d)](_0x1e8199);return _0x532bd9[_0x58d78d(0x32b)][_0x58d78d(0x2f9)](_0x1d4871(_0x532bd9['getFocusDrawings']()),_0x7692dd(()=>X(_0x168dde)==null));}function Vr(_0x213604){const _0x3616cb=_0x42a697;return{'id':Fr['id'],'commandId':Fr['id'],'type':_0x3afb21[_0x3616cb(0x2b6)],'title':_0x213604['get'](_0xd5d68c)['t'](_0x3616cb(0x217)),'icon':_0x3616cb(0x2b1),'hidden$':Br(_0x213604)};}function Hr(_0xd94840){const _0x1c98b3=_0x42a697;return{'id':Ir['id'],'commandId':Ir['id'],'type':_0x3afb21[_0x1c98b3(0x2b6)],'title':_0xd94840[_0x1c98b3(0x33d)](_0xd5d68c)['t'](_0x1c98b3(0x2b5)),'icon':_0x1c98b3(0x39b),'hidden$':Br(_0xd94840)};}function Ur(_0x3ec7f5){const _0x51e698=_0x42a697;return{'id':Lr['id'],'commandId':Lr['id'],'type':_0x3afb21[_0x51e698(0x2b6)],'title':_0x3ec7f5['get'](_0xd5d68c)['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':Br(_0x3ec7f5)};}function Wr(_0xe6fab6){const _0x5ce48e=_0x42a697;return{'id':Rr['id'],'commandId':Rr['id'],'type':_0x3afb21[_0x5ce48e(0x2b6)],'title':_0xe6fab6['get'](_0xd5d68c)['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x5ce48e(0x2a6),'hidden$':Br(_0xe6fab6)};}const Gr={'type':_0x5004ac['COMMAND'],'id':'sheet.command.menu-insert-chart','handler':async(_0x514d32,_0x18ea31)=>{const _0x15ef97=_0x42a697;let _0x4d1c84=_0x241644(_0x514d32[_0x15ef97(0x33d)](_0x39f3aa));if(!_0x4d1c84)return!0x1;let _0x4aabf7=_0x514d32[_0x15ef97(0x33d)](_0xde53d5)[_0x15ef97(0x224)]();if(!_0x4aabf7)return!0x1;let {range:_0x3c912a}=_0x4aabf7,_0x4644b3=_0x514d32['get'](_0x5e196b),{unitId:_0x1bf57d,subUnitId:_0x2cbcc4}=_0x4d1c84,{pieSecondaryPlotType:_0x43a25a,value:_0x494c01}=_0x18ea31,_0x5c6fb3=_0x43a25a!==void 0x0;if(_0x5c6fb3&&(_0x494c01!==_0x240ffc[_0x15ef97(0x1df)]||_0x43a25a!==_0x3862b3[_0x15ef97(0x1df)]&&_0x43a25a!==_0x3862b3[_0x15ef97(0x2a5)]))return!0x1;let _0x333486=_0x5c6fb3?_0x1d4220():void 0x0;return _0x4644b3[_0x15ef97(0x312)](_0x6e5b4c['id'],{'unitId':_0x1bf57d,'subUnitId':_0x2cbcc4,'chartType':_0x494c01,..._0x333486&&_0x43a25a?{'chartId':_0x333486,'config':{'unitId':_0x1bf57d,'chartModelId':_0x333486,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x43a25a}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x1bf57d,'subUnitId':_0x2cbcc4,'range':_0x3c912a}}});}};function Kr(_0xcc3b05,_0x3c1661){return _0xcc3b05==null||Array['isArray'](_0xcc3b05)?'':qr(_0xcc3b05['rangeInfo'],_0x3c1661);}function qr(_0x1b4dee,_0x8ae48d){const _0x5ade41=_0x42a697;var _0x4f097c;let {unitId:_0x552a0a,subUnitId:_0x553216,range:_0xd8f986}=_0x1b4dee,_0x48f90c=(_0x4f097c=_0x8ae48d[_0x5ade41(0x36c)](_0x552a0a))==null?void 0x0:_0x4f097c[_0x5ade41(0x37b)](_0x553216);return _0x48f90c?_0x3b62ae(_0x48f90c['getName'](),_0xd8f986):'';}const Jr=new Set([_0x42a697(0x24a),'columnPercentStacked']),Yr=_0x524b83[_0x42a697(0x3bd)](_0x189502=>!Jr[_0x42a697(0x3a1)](_0x189502['labelId']))['map'](_0x3d7cf2=>({'id':'id'in _0x3d7cf2?_0x3d7cf2['id']:void 0x0,'labelId':_0x3d7cf2['labelId'],'pieSecondaryPlotType':_0x42a697(0x30f)in _0x3d7cf2?_0x3d7cf2[_0x42a697(0x30f)]:void 0x0,'value':_0x3d7cf2['value'],'icon':_0x3d7cf2[_0x42a697(0x371)]}));function Xr(_0x55f8c0=Yr){const _0x56edba=_0x42a697;return _0x55f8c0[_0x56edba(0x2bb)](({id:_0x223798,icon:_0x575de0,value:_0xa326e1})=>{const _0x4d5d1d=_0x56edba;let _0x425a9a=_0x3586ff(_0x223798??String(_0xa326e1)),_0xe14a33=_0x425a9a?{'value':_0x425a9a[_0x4d5d1d(0x2a2)],..._0x425a9a[_0x4d5d1d(0x30f)]?{'pieSecondaryPlotType':_0x425a9a[_0x4d5d1d(0x30f)]}:{}}:{'value':_0xa326e1};return{'icon':_0x575de0,'value':_0x223798??_0xa326e1,'params':_0xe14a33};});}const Zr=(_0x1ff698,_0x8015ab)=>{const _0x2d610e=_0x42a697;if(_0x8015ab['length']===0x1&&_0x8015ab[0x0]===_0x2d610e(0x303))return _0x1ff698;if(_0x8015ab[_0x2d610e(0x206)]>0x1){let _0x3f6a18=new Set();for(let _0x506f10 of _0x8015ab)_0x3f6a18[_0x2d610e(0x245)](Number(_0x506f10));return _0x1ff698[_0x2d610e(0x3bd)](_0x236f01=>_0x3f6a18['has'](_0x236f01[_0x2d610e(0x2ef)]));}return[];};function _0x8d76(_0x3dbc97,_0x321551){_0x3dbc97=_0x3dbc97-0x16d;const _0x1e7de3=_0x1e7d();let _0x8d761e=_0x1e7de3[_0x3dbc97];return _0x8d761e;}function Qr(_0x559d1d){const _0x2e29b7=_0x42a697;let _0x29b857=_0x559d1d['get'](_0x39f3aa),_0x58f50e=_0x4c7049(_0x559d1d),_0x17c316=Zr(Yr[_0x2e29b7(0x1aa)](),_0x58f50e),_0x30102e=_0x559d1d[_0x2e29b7(0x33d)](_0xd5d68c),_0x34f9fb=Xr(_0x17c316)[_0x2e29b7(0x2bb)]((_0x3502da,_0x154201)=>({..._0x3502da,'label':_0x30102e['t'](_0x2e29b7(0x336)+_0x17c316[_0x154201]['labelId'])}));return{'id':Gr['id'],'type':_0x3afb21[_0x2e29b7(0x30b)],'selectionsCommandId':Gr['id'],'selections':_0x34f9fb,'icon':'ChartIcon','tooltip':_0x30102e['t'](_0x2e29b7(0x38e)),'activated$':_0x2f2775(_0x29b857,!0x1,()=>new _0x5d87df(_0x4864d4=>{_0x4864d4['next'](!0x1);})),'hidden$':_0x14c5fe(_0x559d1d,_0x351816['UNIVER_SHEET']),'disabled$':_0x32ff81(_0x559d1d)};}const $r={[_0x563f0b[_0x42a697(0x3ed)]]:{[Gr['id']]:{'order':0x4,'menuItemFactory':Qr}},[_0x18406c[_0x42a697(0x2ee)]]:{[zr]:{'order':0x6,[_0x17c827['OTHERS']]:{[Fr['id']]:{'order':0x0,'menuItemFactory':Vr},[Ir['id']]:{'order':0x1,'menuItemFactory':Hr},[Lr['id']]:{'order':0x2,'menuItemFactory':Ur},[Rr['id']]:{'order':0x3,'menuItemFactory':Wr}}}}};function ei(_0x49f410){const _0x3b9e86=_0x42a697;return _0x49f410===_0x240ffc[_0x3b9e86(0x25a)]||_0x49f410===_0x240ffc[_0x3b9e86(0x2df)]||_0x49f410===_0x240ffc['Boxplot']||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x1a2)])||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x39d)])||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x252)])||_0x255937['baseOn'](_0x49f410,_0x240ffc[_0x3b9e86(0x223)]);}function ti(_0x3c069a){const _0x550f1f=_0x42a697;return ei(_0x3c069a)||_0x255937[_0x550f1f(0x265)](_0x3c069a,_0x240ffc[_0x550f1f(0x1df)])||_0x255937[_0x550f1f(0x265)](_0x3c069a,_0x240ffc[_0x550f1f(0x29c)])||_0x255937['baseOn'](_0x3c069a,_0x240ffc[_0x550f1f(0x29b)]);}function ni(_0x536099,_0xd1877e){const _0x48aff9=_0x42a697;let _0x55e3f7=_0x335cad(_0x536099,_0xd1877e),_0x3c68cb=_0x55e3f7?_0x560369(_0x55e3f7[_0x48aff9(0x22c)]):void 0x0;if(!(!_0x55e3f7||!_0x3c68cb))return{..._0x55e3f7,'route':_0x3c68cb,'showFloatMenu':ti(_0x536099[_0x48aff9(0x2a2)])&&_0x55e3f7[_0x48aff9(0x255)]};}function _0x1e7d(){const _0x44666c=['_chartThemeService','section','lineTo','range','setConfig','call','naturalWidth','_lastRenderInputMap','_localeService','clearPanelRoute','sheetDisposed$','removeHost','_entries','_renderManagerService','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','pointerEvents','bottom','_debounceHandleMap','_copyInfo','Series','sheet.chart.edit.panel','_initDrawingDeactivationListener','_getDrawable','getValue','config$','sheets-chart-ui.waterfall.positive','Waterfall','Pareto','_chartEventSubscriptions','_initMenus','update','GridlinesAndTicks','sheets-chart-ui.section.paretoLine','chartType','checkHost','Heatmap','Bar','DeleteIcon','_commandService','_chartModelService','parent','isDomReady','commitSnapshot','mountNode','lineAndArea','drawingId','sheets-chart.ui.service','_setActiveChart','PenIcon','INSERT','allSeriesStyle','_setChartRuntimeZIndex','sheets-chart-ui.common.copy','BUTTON','visible','moveTo','_rangeSelectMode','Sunburst','map','Legend','72zfIsyk','route','997758UWSQXb','bind','invalidateSnapshot','sheets-chart-ui.common.verticalAxis','GROUP','getObject','wordCloud','isRender','2ZUMpQR','exportImage','_clearSelectedTarget','rangeInfo','border','attachPopupToDynamicAbsolutePosition','getCanvasElement','setSelectedElement','render','_sidebarDisposable','sheets-chart-ui.section.gridlinesAndTicks','_activateEditPanelState','sheets-chart-ui.common.useAsCategoryLabels','_savedWrapperStyle','domId','opacity','_getOuterRect','_activateHostWrapper','subscribe','sheets-chart-ui.config','querySelector','globalAlpha','Chord','restore','Radar','position$','setHostStyle','_chartSnapshotStoreService','logicalOuterRect','_injector','_markNotReady','config','setObjectType','_renderWhenConfigReady','_initCopyPaste','handleActiveSubUnitChange','unsubscribe','isInGroup','_resolveLayout','CONTEXT_MENU','value','sheet.operation.open-chart-panel','activeEditChart','sheet.command.chart.delete-focused-chart','onTransformChange$','getFocusDrawings','Image','_image','markHostNotReady','href','pipe','max','dblclick','_openEditPanelByDoubleClick','_focusedDrawings','split','auto','_renderDebounceMap','trendline','setActiveChartModel','all','chartModelId','featurePluginOrderUpdate$','_disposeChartRenderInstance','download','interceptor','sheets-chart-ui.common.horizontalAxis','getBatchUpdateOp','SELECTOR','cumulativeLineStyle','Positive','_renderChartModel','pieSecondaryPlotType','sheetTransform','ensureHandle','executeCommand','_bindChartEventHandler','offsetHeight','category','COMMAND','anchorRect$','CUT','nextVersion','_waiter','_popupDisposable','getRangeInfo','resize','_resolvedConfig','sheets-chart-ui.common.legend','_chartRenderService','_addWatermark','Style','panelRoute$','getRenderColor','tab','_getFloatDomInfo','getDrawingData','from','left','_bindChartEventHandlers','focus$','string','checkChartCanRender','_univerInstanceService','_managed','sheets-chart-ui.common.series','setPanelRoute','_registerComponents','_setHostStyle','viewBound','_shouldEnableChartElementEdit','sheets-chart-ui.chartTypes.','Canvas','Fail\x20to\x20create\x20float\x20dom','getCurrentUnitOfType','_removeHost$','sheet.command.chart.open-focused-panel','missing-float-dom','get','getRealBound','getOwnPropertyDescriptor','_sheetDrawingService','drawingType','titleKey','_sheetCanvasFloatDomManagerService','registerRenderObjectFactory','_hostStyle','featurePluginUngroupUpdate$','sheets-chart-ui.section.histogram','sheet-chart-style-panel','children','15gJByBy','packageName','params','clientHeight','1088321veYWpw','labelId','takeSnapshot','object','_isChartElementEditEnabled','createRuntimeChartStyle','_menuManagerService','pie','rangeSelectMode','canvas','complete','series','sheets-chart-ui.common.trendline','next','_getSceneAndTransformerByDrawingSearch','_renderModelManager','redo','markNotReady','indexOf','push','exportImg','radius','_clearChartRuntimeCache','getRenderModel','ancestorTransform','setActiveEditChart','_chartUIService','clientY','getBoundingClientRect','undo','getUnit','_activeEditChart$','_getChartRenderSkipReason','_popupChartId','transparent','iconName','_generateCopyPasteMutations','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','missing-active-sheet','chartObject','pareto','_updateTransform','_panelRoute$','isManaged','_url','getSheetBySheetId','defaultValues','#-#','scene','_sheetInterceptorService','bounds','isElementEditModeActive','activeChartModel$','sheets-chart-ui.common.setup','_renderAfterChartUpdateMutation','registerCommand','_chartRenderMode','getChartDataSource','_sheetsChartUIService','sheets-chart-ui.common.chartStyle','register','isConnected','entries','getSkeleton','sheets-chart-ui.common.insertChart','sheets-chart-ui.section.sunburst','cancel','_init','sheets-chart-ui.waterfall.subtotal','_applyHostStyle','imageBitmap','sheets-chart-ui.section.radar','create','_initSheetChange','color','_disposed','zIndex','CopyDoubleIcon','getHostSize','Column','drawWith','every','markUnmanaged','has','asObservable','initPanel','setElementEditMode','nativeEvent','syncHostLayout','axis','_getPlacement','pluginName','_activeChartId','values','Sankey','crossOrigin','items','clear','_chartInstanceMap','DRAWING_CHART','applyPoint','setContextValue','name','getFloatDomInfo','function','sheet.command.chart.copy-focused-chart','promise','symbol','selectedElement$','PieStyle','GeneralSeries','filter','mode','sheets-chart-ui.section.waterfall','onCommandExecuted','_registerChartImageRenderObjectFactory','header','_getOrCreateChartRenderInstance','innerWidth','getDrawingByParam','scaleX','Histogram','waterfallStyle','getInterceptPoints','_openPanel','sheets-chart-ui.waterfall.negative','_chartEventHandlers','7411970lRkqvb','_executeChartUpdateSourceConfig','activeEditChart$','_subscribeChartEvents','getTransformerByCreate','_cancelDebouncedCallbacks','_sheetPrintInterceptorService','_generatePasteMutations','_adapterRegistry','_createPrintingChartObject','_sheetsChartService','sheets-chart-element-float-menu','clearImage','prototype','ensureMount','enableChartElementFloatMenu','indicatorLine','_getChartSnapshotKey','_lastActiveSheet','ensureHost','getRuntimeContext','drawingIds','_createImageChartHost','featurePluginGroupUpdate$','Candlestick','WordCloud','getRect','dom','_getOrCreateSheetChartHost','sheets-chart-ui.common.heatmap','Row','getRenderUnitById','MEDIA','rect','defineProperty','_snapshotKey','_initActiveChartModelListener','updateFloatDomProps','registerFeatureMenu','_resizeChart','HorizontalAxis','sheets-chart-ui.common.switchRowColumn','setProps','iterator','CHART','addClipboardHook','save','seriesId','_rerenderLatest','_shouldSuppressSnapshot','clientWidth','_draw','_version','Overlay','_markReady','getContextValue','_pendingToken','_getHostPlacement','getDrawingOrder','width','top','scale','sheets-chart-ui.section.paretoBar','resourceCollector','_chartElementEditMode','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','drawImage','sheets-chart-ui.common.rightVerticalAxis','groupId','div','sheets-chart-ui.section.candlestick','ImageBitmap','getChartModel','offsetLeft','onload','_sidebarService','Trendline','onDispose','getUnitId','UNIVER_SHEET','_sheetSkeletonService','then','_sheetClipboardService','sheets-chart-ui.section.relation','blockExecuteWithoutPermission','set','IndicatorLine','_initActiveRuntimeLayerListener','_snapshotStore','innerHeight','sheets-chart-ui.common.customize','sheets-chart-ui.chord.target','_urlImage','Line','startX','getImage','number','hit','3knseAQ','beginPath','setOrientation','concat','isRowDirection','slice','Funnel','objects','sheets-chart-ui.host.provider','barStyle','makeDirty','Treemap','permissionCheckWithoutRange','554547fhWZvR','right','segmented','isLatest','some','_pendingHost','copyType','open','chartRenderMode','syncLayout','_createCopyInfoByRange','registerProvider','_sheetCanvasPopManagerService','small','_canvasFloatDomService','sheet-chart-setup-panel','renderChartsForPrinting','_debounceHandle','disposeWithMe','.chart-host','serialize','_requestChartCanvasRender','1.0.0-beta.0','UniverSheetsChartUIPlugin','remove$','_handleDrawingDoubleClick','_chartHostProvider','_initCommands','click','clearChart','forEach','image','removeChartModel','getFocusedUnit','naturalHeight','activeSheet$','allSettled','getSheetBySheetName','chartModelRemoved$','_chartHostMap','REMOVE','_getChartRenderObjectContext','ChartStyle','Pie','_disposeChartEventSubscriptions','funnel','getChartPopupMenus','mergeMenu','dispose','_activeDomReadyChartIds','strokeWidth','sheets-chart-ui.section.lineAndArea','_resetChartRuntimeZIndex','inactive-sheet','sheets-chart-ui.section.pie','_resolveChartRenderMode','getSheetId','_disposeChartEventSubscription','_iconManager','_deactivateEditPanelState','localPoint','_drawingManagerService','translate','hidePanel','_sheetDrawingHitTestService','_configService','focusDrawing','_generateCutPasteMutations','_markHostReady','subscribeEvent','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','error','_pendingMutationConfigRenders','url','1822596jKhZat','_selectedElement$','invert','unitId','Dom','sheets-chart-ui.section.chord','resolve','_registerIcons','length','onDoubleClick$','getDirection','\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-white\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','_initPermission','height','univer-overflow-hidden','20317ktzqIS','sheets-chart-ui.common.category','18540eKNZSQ','delete','style','_createChartRenderInstanceContext','_sheetPermissionCheckController','385173VLFYYP','_applyActiveChartRuntimeZIndex','_rect','sheets-chart-ui.common.openChartPanel','_getImage','_themeService','sheets-chart-ui.common.editChart','relation','checkMounted','chartModelAdded$','evented','_frameStyle','getBatchRemoveOp','clearRuntimeCache','setDataRange','Scatter','getCurrentLastSelection','setStyle','activeRuntimeModel','openChartPanelById','_openFloatMenu','_clearSheetChartRuntimeCaches','_getCurrentSnapshotImage','-univer-mx-4','target','univer-overflow-visible','_requestPaint','getElementById','abs','.png','type','default','with','scaleY','onStarting','src','getChartSnapshotImage','createElement','_closePopup','beforeCommandExecuted','_componentManager','_drawingContextMenuService','_chartHostProviderService','clip','DEFAULT_PASTE','getActiveSheet','_getChartRenderObject','intercept','offsetWidth','add','arc','@univerjs-pro/sheets-chart-ui','getMatrix','chartId','columnStacked','sheets-chart-ui.section.treemap','keys','_domFrame','parentElement','sheets-chart-ui.section.gauge','_config','version','Area','_createHost','onRendered','showFloatMenu','_clearHiddenSelectedTarget','transformChange$','_drawChartFrame','activeChartModel','Combination','_registerAdapter','OPERATION','_disposeChartDomInstance','direction$','Data','anonymous','updateFloatDom','isArray','dataSource','createChartInstance','baseOn','sheets-chart-ui.permission.editErr','subUnitId','engine','hasOwnProperty','_disposeImage','darkMode$','setRangeSelectMode','_isProviderDisposed','Gauge','transform','requestPaint','_cancelHostWait','_listenChartUpdateMutations','getBatchAddOp','style$','Axes','contains','add$','removeHost$','label','PRINTING_COMPONENT_COLLECT','UPDATE','toPrimitive','Relation','setBorder','_contextService','closePath'];_0x1e7d=function(){return _0x44666c;};return _0x1e7d();}var ri;const ii={'axis':{..._0x2feaa6,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x3fb233,'heatmap':_0x98612d,'indicatorLine':_0x4cf3b3,'legend':_0x19f7ca,'lineAndArea':_0x19f7dc,'pareto':_0x4b5d06,'pie':{..._0x23c81f,'doughnutHole':0.5,'pieHole':0x0},'relation':{..._0xc75f7b,'useValueAsSymbolSize':!0x0},'radar':_0x2b90af,'series':{..._0x53676a,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((ri=_0x3cc793[_0x42a697(0x2b3)])==null?void 0x0:ri['rightYAxis'])??!0x1}},'style':_0x3498c5,'titles':_0x4b2829,'trendline':_0x2f622d,'waterfall':{..._0x1b0dd9,'useSubtotal':!0x0},'waterfallStyle':_0x46c2a2,'wordCloud':_0x3af533},ai=_0xb5de80=>_0xb5de80[_0x42a697(0x339)](_0x351816[_0x42a697(0x194)])[_0x42a697(0x193)](),oi=_0x4e144d=>{const _0x518fd6=_0x42a697;var _0x23eeb6;return(_0x23eeb6=_0x4e144d['getCurrentUnitOfType'](_0x351816[_0x518fd6(0x194)])['getActiveSheet']())==null?void 0x0:_0x23eeb6[_0x518fd6(0x1ec)]();},si=[_0x240ffc['Line'],_0x240ffc[_0x42a697(0x2df)],_0x240ffc[_0x42a697(0x3e6)],_0x240ffc[_0x42a697(0x223)],_0x240ffc[_0x42a697(0x1ad)],_0x240ffc[_0x42a697(0x27d)],_0x240ffc[_0x42a697(0x3ac)],_0x240ffc[_0x42a697(0x2a4)],_0x240ffc['Boxplot'],_0x240ffc['Candlestick'],_0x240ffc[_0x42a697(0x3c7)],_0x240ffc[_0x42a697(0x1b2)],_0x240ffc[_0x42a697(0x2ba)],_0x240ffc[_0x42a697(0x26e)],_0x240ffc['Chord']];function ci(){const _0x33c89d=_0x42a697;let _0x2173e4=_0x86f9d0();return _0x447924(_0x2af025,{'visible':si[_0x33c89d(0x39f)](_0x158142=>!_0x255937[_0x33c89d(0x265)](_0x2173e4,_0x158142))});}const li=_0x4fcb31=>{const _0x4f7f64=_0x42a697;let _0x123d6d=_0x367ed8(J),_0x5e5b8f=_0x367ed8(_0xd5d68c),_0x495ba4=_0x4c7049(_0x367ed8(_0x2f4582)),_0x5a1fe4=_0x4b66e2(()=>_0x331b94(Zr(Yr[_0x4f7f64(0x1aa)](),_0x495ba4)[_0x4f7f64(0x2bb)](_0x3b5136=>({'id':_0x3b5136['id'],'label':_0x5e5b8f['t'](_0x4f7f64(0x336)+_0x3b5136[_0x4f7f64(0x34f)]),'pieSecondaryPlotType':_0x3b5136[_0x4f7f64(0x30f)],'value':_0x3b5136[_0x4f7f64(0x2ef)]}))),[_0x495ba4,_0x5e5b8f]),_0x49ad5b=_0x1f7c84(_0x123d6d[_0x4f7f64(0x382)],_0x123d6d[_0x4f7f64(0x259)]),_0x13ca34=_0x1f7c84(_0x49ad5b==null?void 0x0:_0x49ad5b['dataSource']['rangeInfo$'],_0x49ad5b==null?void 0x0:_0x49ad5b[_0x4f7f64(0x263)]['getRangeInfo']()),_0x5718ff=_0x13ca34&&!Array[_0x4f7f64(0x262)](_0x13ca34)&&_0x13ca34[_0x4f7f64(0x1ab)]?_0x469e35[_0x4f7f64(0x3eb)]:_0x469e35[_0x4f7f64(0x39d)];return _0x4f508d(_0x4f7f64(0x18a),{'className':_0x4f7f64(0x186),'children':[_0x447924(_0x4d08fa,{'options':_0x5a1fe4}),_0x447924(_0x14264b,{}),_0x447924(_0x456843,{}),_0x447924(ci,{}),_0x447924(_0x4ab927,{}),_0x447924(ui,{'dataRange':_0x13ca34}),_0x447924(_0x35d650,{'categoryToggleLabel':_0x5e5b8f['t'](_0x4f7f64(0x2d3),_0x5718ff===_0x469e35[_0x4f7f64(0x3eb)]?_0x5718ff+'\x20'+(((_0x13ca34==null?void 0x0:_0x13ca34['rangeInfo'][_0x4f7f64(0x284)]['startRow'])??0x0)+0x1):_0x5718ff+'\x20'+_0x592b49((_0x13ca34==null?void 0x0:_0x13ca34['rangeInfo'][_0x4f7f64(0x284)]['startColumn'])??0x0)),'orientationControl':_0x447924(_0x3c6ee6,{'size':_0x4f7f64(0x1c1),'onClick':()=>_0x123d6d[_0x4f7f64(0x1a9)](_0x5718ff===_0x469e35[_0x4f7f64(0x3eb)]?_0x469e35[_0x4f7f64(0x39d)]:_0x469e35[_0x4f7f64(0x3eb)]),'children':_0x5e5b8f['t'](_0x4f7f64(0x16e))})}),_0x447924(_0x570a19,{}),_0x447924(_0x5770f4,{'defaultValues':_0x4fcb31[_0x4f7f64(0x37c)]['waterfall']})]});};function ui(_0x3b48b1){const _0x5a2275=_0x42a697;let {dataRange:_0x1f69da}=_0x3b48b1,_0x3b07bb=_0x367ed8(J),_0x2f5fdb=_0x367ed8(_0xd5d68c),_0x4f08eb=_0x367ed8(_0x39f3aa),[_0x1527cf,_0x59aa49]=_0x749001(!0x1),[_0x57fe12,_0xe3a0ba]=_0x749001(!0x1),_0xe376d5=ai(_0x4f08eb),_0x4194a8=oi(_0x4f08eb);_0x3ee071(()=>{const _0x39c415=_0x8d76;_0x3b07bb[_0x39c415(0x26c)](_0x1527cf);},[_0x1527cf,_0x3b07bb]);let _0xad54b5=_0x4b66e2(()=>_0x23b2a1(async _0x5a12c0=>{const _0x23d0b7=_0x8d76;var _0x10756d;if(Kr(_0x1f69da,_0x4f08eb)===_0x5a12c0)return;let _0x2f37ab=_0x5a12c0[_0x23d0b7(0x2fe)](',')[_0x23d0b7(0x3bd)](Boolean)['map'](_0x2aefeb)[0x0];if(!_0x2f37ab)return;let {unitId:_0x4297e3,sheetName:_0x1e75a6,range:_0x460f7c}=_0x2f37ab,_0x4c5ebb=_0x4297e3||_0xe376d5,_0x4c89f7=((_0x10756d=_0x4f08eb['getUnit'](_0x4c5ebb)[_0x23d0b7(0x1d9)](_0x1e75a6))==null?void 0x0:_0x10756d['getSheetId']())||(_0x1f69da==null?void 0x0:_0x1f69da[_0x23d0b7(0x2ca)][_0x23d0b7(0x267)]);_0x3b07bb[_0x23d0b7(0x222)]({'rangeInfo':{'range':_0x460f7c,'unitId':_0x4c5ebb,'subUnitId':_0x4c89f7},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x1f69da,_0x3b07bb,_0xe376d5,_0x4f08eb]);return _0x3ee071(()=>()=>_0xad54b5['cancel'](),[_0xad54b5]),_0x447924('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':_0x4f508d(_0x5a2275(0x18a),{'children':[_0x447924(_0x84b2b8,{'title':_0x2f5fdb['t']('sheets-chart-ui.common.dataRange')}),_0x447924(_0x8f7d65,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0xe376d5,'subUnitId':_0x4194a8,'initialValue':_0x1f69da?Kr(_0x1f69da,_0x4f08eb):'','onChange':(_0x17eb4a,_0x20fc89)=>_0xad54b5(_0x20fc89),'onFocusChange':_0x4ca1cd=>{_0x57fe12||_0x59aa49(_0x4ca1cd);},'onRangeSelectorDialogVisibleChange':_0x4fbed9=>{_0xe3a0ba(_0x4fbed9),_0x59aa49(_0x4fbed9);}})]})});}function Z(_0x4d7876){const _0x1d49de=_0x42a697;return _0x4f508d(_0xeb30a0,{'id':_0x4d7876['id'],'children':[_0x447924(_0x2bd995,{'children':_0x4d7876[_0x1d49de(0x279)]}),_0x447924(_0xa01ef5,{'children':_0x4d7876['children']})]});}const di=_0x54231d=>{const _0x4692d=_0x42a697;let _0x52acd9=_0x367ed8(_0xd5d68c),_0x55e896=_0x367ed8(J),_0x1e9227=_0x1f7c84(_0x55e896[_0x4692d(0x3cf)],null),_0x5b6e07=_0x1f7c84(_0x55e896[_0x4692d(0x323)],null),_0x554ca0=(_0x5b6e07==null?void 0x0:_0x5b6e07[_0x4692d(0x249)])===_0x1e9227?_0x5b6e07[_0x4692d(0x2be)]:null,_0x24fd60=_0x86f9d0(),_0x35f92e=_0x53a80a(),[_0xf853a6,_0x3f686d]=_0x749001(null);_0x3ee071(()=>{const _0x2442dc=_0x4692d;_0x554ca0!=null&&_0x554ca0[_0x2442dc(0x282)]&&_0x3f686d(_0x554ca0[_0x2442dc(0x282)]);},[_0x554ca0]);let _0x53de94=_0x255937[_0x4692d(0x265)](_0x24fd60,_0x240ffc[_0x4692d(0x1df)]),_0x30c0d9=_0x24fd60===_0x240ffc['Radar'],_0x9d5733=_0x24fd60===_0x240ffc['WordCloud'],_0x286ae2=_0x24fd60===_0x240ffc['Funnel'],_0x443faf=_0x255937['baseOn'](_0x24fd60,_0x240ffc['Bubble']),_0x58ae27=_0x24fd60===_0x240ffc[_0x4692d(0x27d)],_0x5c277f=_0x24fd60===_0x240ffc[_0x4692d(0x29b)],_0x45148d=_0x24fd60===_0x240ffc[_0x4692d(0x29c)],_0x7785c3=_0x24fd60===_0x240ffc['Heatmap'],_0x409339,_0x309174;switch(_0x24fd60){case _0x240ffc[_0x4692d(0x3e5)]:_0x409339=_0x3c23c3[_0x4692d(0x3e5)],_0x309174=_0x52acd9['t'](_0x4692d(0x18b));break;case _0x240ffc[_0x4692d(0x3c7)]:_0x409339=_0x3c23c3[_0x4692d(0x3c7)],_0x309174=_0x52acd9['t'](_0x4692d(0x347));break;case _0x240ffc[_0x4692d(0x1b2)]:_0x409339=_0x3c23c3[_0x4692d(0x1b2)],_0x309174=_0x52acd9['t'](_0x4692d(0x24b));break;case _0x240ffc[_0x4692d(0x2ba)]:_0x409339=_0x3c23c3[_0x4692d(0x2ba)],_0x309174=_0x52acd9['t'](_0x4692d(0x38f));break;case _0x240ffc[_0x4692d(0x26e)]:_0x409339=_0x3c23c3[_0x4692d(0x26e)],_0x309174=_0x52acd9['t'](_0x4692d(0x24f));break;case _0x240ffc[_0x4692d(0x2dd)]:_0x409339=_0x3c23c3['Chord'],_0x309174=_0x52acd9['t'](_0x4692d(0x203));break;}let _0x4a93a9=_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x3bc)])&&!_0x443faf&&!_0x45148d;return _0x4f508d(_0x575c48,{'value':_0xf853a6,'onChange':_0x3f686d,'children':[_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x1de)],'label':_0x52acd9['t'](_0x4692d(0x389)),'children':_0x447924(_0x581303,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x211)],'showBodyFont':!0x0})}),_0x447924(Z,{'id':_0x3c23c3['ChartAndAxisTitles'],'label':_0x52acd9['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x447924(_0x1a4929,{'commitMode':'blur','defaultValues':_0x54231d[_0x4692d(0x37c)]['titles'],'selectedTitleKey':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x342)]})}),_0x4a93a9&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x294)],'label':_0x52acd9['t'](_0x4692d(0x330)),'children':_0x447924(_0x3c165b,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x359)],'NumberFormatField':_0x3102a0,'selectedSeriesId':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x174)]})}),_0x5c277f&&_0x447924(Z,{'id':_0x3c23c3['WaterfallSeries'],'label':_0x52acd9['t'](_0x4692d(0x3bf)),'children':_0x447924(_0x3fecf2,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3c8)],'getDefaultBucketName':({seriesName:_0x2e8dfe,target:_0x4850b8})=>_0x4850b8===_0x563997['Subtotal']?_0x52acd9['t'](_0x4692d(0x392)):_0x2e8dfe?_0x2e8dfe+'-('+_0x52acd9['t'](_0x4850b8===_0x563997[_0x4692d(0x30d)]?_0x4692d(0x29a):_0x4692d(0x3cb))+')':'','NumberFormatField':_0x3102a0,'selectedSeriesId':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x174)]})}),_0x45148d&&_0x4f508d(_0x2bd778,{'children':[_0x447924(Z,{'id':_0x3c23c3['ParetoBarSeries'],'label':_0x52acd9['t'](_0x4692d(0x183)),'children':_0x447924(_0x37c56e,{'defaultValues':_0x54231d['defaultValues'][_0x4692d(0x376)],'NumberFormatField':_0x3102a0,'showDataPointEditor':!0x0,'target':_0x4692d(0x1b0)})}),_0x447924(Z,{'id':_0x3c23c3['ParetoLineSeries'],'label':_0x52acd9['t'](_0x4692d(0x2a1)),'children':_0x447924(_0x37c56e,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x376)],'NumberFormatField':_0x3102a0,'showDataPointEditor':!0x1,'target':_0x4692d(0x30c)})})]}),_0x53de94&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x3bb)],'label':_0x52acd9['t'](_0x4692d(0x1ea)),'children':_0x447924(_0x4e0d64,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x355)],'NumberFormatField':_0x3102a0})}),_0x9d5733&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x3e6)],'label':_0x52acd9['t']('sheets-chart-ui.section.wordCloud'),'children':_0x447924(_0x516864,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x2c5)]})}),_0x30c0d9&&_0x447924(Z,{'id':_0x3c23c3['Radar'],'label':_0x52acd9['t'](_0x4692d(0x395)),'children':_0x447924(_0xb6967a,{'defaultValues':_0x54231d[_0x4692d(0x37c)]['radar']})}),_0x286ae2&&_0x447924(Z,{'id':_0x3c23c3['Funnel'],'label':_0x52acd9['t']('sheets-chart-ui.section.funnel'),'children':_0x447924(_0xbc3057,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x1e1)],'gapControl':'select'})}),_0x7785c3&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x2a4)],'label':_0x52acd9['t'](_0x4692d(0x3ea)),'children':_0x447924(_0x3c4227,{'defaultValues':_0x54231d['defaultValues']['heatmap']})}),_0x58ae27&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x27d)],'label':_0x52acd9['t'](_0x4692d(0x198)),'children':_0x447924(_0x43b985,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x21b)]})}),_0x131c61(_0x24fd60)&&_0x447924(Z,{'id':_0x3c23c3['LineAndArea'],'label':_0x52acd9['t'](_0x4692d(0x1e7)),'children':_0x447924(_0x4a4456,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x2ad)],'lineStyleControl':_0x4692d(0x1b6)})}),_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x2bc)])&&_0x447924(Z,{'id':_0x3c23c3['Legend'],'label':_0x52acd9['t'](_0x4692d(0x31f)),'children':_0x447924(_0x458cad,{'defaultValues':_0x54231d['defaultValues']['legend']})}),_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x275)])&&_0x4f508d(_0x2bd778,{'children':[_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x16d)],'label':_0x52acd9['t'](_0x4692d(0x309)),'children':_0x447924(_0xccd877,{'axis':'x','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x447924(Z,{'id':_0x3c23c3['VerticalAxis'],'label':_0x52acd9['t'](_0x4692d(0x2c2)),'children':_0x447924(_0xccd877,{'axis':'y','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x35f92e&&_0x447924(Z,{'id':_0x3c23c3['RightVerticalAxis'],'label':_0x52acd9['t'](_0x4692d(0x188)),'children':_0x447924(_0xccd877,{'axis':'rightY','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x2a0)],'label':_0x52acd9['t'](_0x4692d(0x2d1)),'children':_0x447924(_0x109817,{'defaultValues':_0x54231d[_0x4692d(0x37c)]['axis']})})]}),_0x1d1e32(_0x24fd60,_0x43169f['IndicatorLine'])&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x19b)],'label':_0x52acd9['t']('sheets-chart-ui.section.indicatorLine'),'children':_0x447924(_0xd2470d,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3dd)]})}),_0x424832(_0x24fd60)&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x191)],'label':_0x52acd9['t'](_0x4692d(0x35a)),'children':_0x447924(_0x678707,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x301)]})}),_0x409339&&_0x309174&&_0x447924(Z,{'id':_0x409339,'label':_0x309174,'children':_0x447924(_0x359faf,{})})]});};function fi(_0x1c1edd){const _0x348e5e=_0x42a697;let {className:_0x3858c1}=_0x1c1edd,[_0x1d1afa,_0x73916c]=_0x749001(_0x3b42b0['Data']),_0x5e2034=_0x367ed8(_0x2f4582),_0x1c6744=_0x367ed8(_0xd5d68c),_0x11146f=_0x367ed8(J),_0x4a46e5=_0x1f7c84(_0x11146f[_0x348e5e(0x3cf)],null),_0x8487b9=_0x1f7c84(_0x11146f[_0x348e5e(0x382)],null),_0x14afc4=_0x1f7c84(_0x11146f[_0x348e5e(0x323)],null),_0x53f1d6=_0x4b66e2(()=>{const _0xa07a75=_0x348e5e;var _0x1b4723;if(!_0x8487b9)return null;let _0x544d95=_0x8487b9[_0xa07a75(0x263)][_0xa07a75(0x31c)](),_0x3d49da=Array[_0xa07a75(0x262)](_0x544d95)?(_0x1b4723=_0x544d95[0x0])==null?void 0x0:_0x1b4723['range']:_0x544d95[_0xa07a75(0x2ca)];return _0x3d49da?new _0x5ef80d(_0x8487b9,new _0x17cadd({'unitId':_0x3d49da[_0xa07a75(0x201)],'subUnitId':_0x3d49da[_0xa07a75(0x267)],'chartId':_0x8487b9['id'],'injector':_0x5e2034})):null;},[_0x8487b9,_0x5e2034]);_0x3ee071(()=>{const _0x61d0b9=_0x348e5e;var _0x512d23,_0x3f11c9;(_0x14afc4==null?void 0x0:_0x14afc4[_0x61d0b9(0x249)])===_0x4a46e5&&(((_0x512d23=_0x14afc4[_0x61d0b9(0x2be)])==null?void 0x0:_0x512d23[_0x61d0b9(0x325)])===_0x3b42b0[_0x61d0b9(0x322)]&&_0x73916c(_0x3b42b0['Style']),((_0x3f11c9=_0x14afc4[_0x61d0b9(0x2be)])==null?void 0x0:_0x3f11c9[_0x61d0b9(0x325)])===_0x3b42b0[_0x61d0b9(0x25f)]&&_0x73916c(_0x3b42b0[_0x61d0b9(0x25f)]));},[_0x4a46e5,_0x14afc4]);let _0x4ef390=_0x4f508d('div',{'className':_0x348e5e(0x209)+(_0x1d1afa===_0x3b42b0['Style']?_0x348e5e(0x22d):_0x348e5e(0x20c))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3858c1??'')+_0x348e5e(0x1fa),'children':[_0x447924(_0x49153f,{'ariaLabel':_0x1c6744['t'](_0x348e5e(0x21a)),'className':'univer-shrink-0','items':[{'label':_0x1c6744['t'](_0x348e5e(0x383)),'panelId':mi,'value':_0x3b42b0[_0x348e5e(0x25f)]},{'label':_0x1c6744['t'](_0x348e5e(0x19f)),'panelId':hi,'value':_0x3b42b0['Style']}],'value':_0x1d1afa,'onChange':_0x73916c}),_0x1d1afa===_0x3b42b0[_0x348e5e(0x25f)]?_0x447924(_0x2424c5,{'id':mi,'label':_0x1c6744['t']('sheets-chart-ui.common.setup'),'children':_0x447924(li,{'defaultValues':ii})}):_0x447924(_0x2424c5,{'id':hi,'className':_0x348e5e(0x22b),'label':_0x1c6744['t'](_0x348e5e(0x19f)),'children':_0x447924(di,{'defaultValues':ii})})]});return _0x53f1d6?_0x447924(_0xf1436d,{'chartUIService':_0x11146f,'hostAdapter':_0x53f1d6,'children':_0x4ef390}):_0x4ef390;}const pi=_0x42a697(0x295),mi=_0x42a697(0x1c3),hi=_0x42a697(0x348);function gi(_0x2585e2){const _0x3e7e7c=_0x42a697;if(_0x2585e2[_0x3e7e7c(0x206)]!==0x1)return!0x1;let _0x1ba4c8=_0x2585e2[0x0];return _0x1ba4c8[_0x3e7e7c(0x341)]===_0x4cd99f['DRAWING_CHART']&&!_0x1ba4c8['groupId'];}let Q=class extends _0x306247{constructor(_0x258f99,_0x74bcb3,_0x46d8d,_0x1c1fb2,_0x44c733,_0x4da1c8,_0x3f8c19,_0x290f9c,_0x47bf73,_0x5aa25b,_0x33b301,_0x2775a8,_0x4a89de,_0x22e11f,_0x2fddce){const _0x33a12f=_0x42a697;var _0x222cc6;super(),this[_0x33a12f(0x1f1)]=_0x258f99,this[_0x33a12f(0x32e)]=_0x74bcb3,this['_chartModelService']=_0x46d8d,this['_chartRenderService']=_0x1c1fb2,this[_0x33a12f(0x1f4)]=_0x44c733,this[_0x33a12f(0x190)]=_0x4da1c8,this[_0x33a12f(0x354)]=_0x3f8c19,this[_0x33a12f(0x23d)]=_0x290f9c,this[_0x33a12f(0x343)]=_0x47bf73,this['_sheetCanvasPopManagerService']=_0x5aa25b,this[_0x33a12f(0x2a7)]=_0x33b301,this['_sheetsChartUIService']=_0x2775a8,this[_0x33a12f(0x27f)]=_0x4a89de,this[_0x33a12f(0x289)]=_0x22e11f,U(this,_0x33a12f(0x2d0),null),U(this,'_isChartElementEditEnabled',void 0x0),this[_0x33a12f(0x352)]=((_0x222cc6=_0x2fddce['getConfig'](_0x33a12f(0x2da)))==null?void 0x0:_0x222cc6['enableChartElementFloatMenu'])===!0x0,this[_0x33a12f(0x29e)](),this['disposeWithMe'](this[_0x33a12f(0x32e)]['getCurrentTypeOfUnit$'](_0x351816[_0x33a12f(0x194)])[_0x33a12f(0x2d9)](_0x4fc08f=>{const _0x2a4d8a=_0x33a12f;var _0x470298;_0x4fc08f||(_0x470298=this[_0x2a4d8a(0x2d0)])==null||_0x470298[_0x2a4d8a(0x1e4)]();})),this['disposeWithMe'](_0x35a9aa(this['_sheetDrawingHitTestService'][_0x33a12f(0x207)][_0x33a12f(0x2d9)](async({drawing:_0xd66a35})=>{const _0x18772e=_0x33a12f;await this[_0x18772e(0x1cd)](_0xd66a35);})));}[_0x42a697(0x3ca)](){const _0x122c1c=_0x42a697;this[_0x122c1c(0x2d0)]=this[_0x122c1c(0x190)][_0x122c1c(0x1bb)]({'id':pi,'header':{'title':this[_0x122c1c(0x289)]['t']('sheets-chart-ui.common.editChart')},'width':0x154,'children':{'label':pi},'onClose':()=>{const _0x33882d=_0x122c1c;this[_0x33882d(0x2a8)]['setActiveChartModel'](null),this['_deactivateEditPanelState'](),this['_drawingManagerService'][_0x33882d(0x1f6)](null),this[_0x33882d(0x27f)][_0x33882d(0x3b3)](_0x4965bb,!0x1),this[_0x33882d(0x2d0)]=null;}});}['hidePanel'](){const _0x12590e=_0x42a697;var _0x1853e4;this[_0x12590e(0x2a8)][_0x12590e(0x302)](null),this[_0x12590e(0x1ef)](),(_0x1853e4=this[_0x12590e(0x2d0)])==null||_0x1853e4[_0x12590e(0x1e4)]();}[_0x42a697(0x3a3)](){const _0x330baa=_0x42a697;let _0x5ddf86=this[_0x330baa(0x32e)][_0x330baa(0x339)](_0x351816[_0x330baa(0x194)]);this[_0x330baa(0x1c6)](this[_0x330baa(0x190)]['sidebarOptions$'][_0x330baa(0x2d9)](_0x2ff310=>{const _0x4b8115=_0x330baa;_0x2ff310['id']===_0x4b8115(0x295)&&(_0x2ff310[_0x4b8115(0x2b7)]||this[_0x4b8115(0x190)]['sidebarOptions$']['next']({'visible':!0x1}));})),this['disposeWithMe'](this[_0x330baa(0x2a7)][_0x330baa(0x3c0)](_0x35d09e=>{const _0x39214f=_0x330baa;if(_0x35d09e['id']===V['id']){let _0x377972=_0x35d09e[_0x39214f(0x34c)];this[_0x39214f(0x227)](_0x377972[_0x39214f(0x2ae)],_0x377972[_0x39214f(0x2be)]);}if(_0x35d09e['id']===mr['id']&&this['hidePanel'](),_0x35d09e['id']===_0x54d713['id']){var _0x43515e;_0x35d09e[_0x39214f(0x34c)][_0x39214f(0x249)]===((_0x43515e=this['_chartModelService'][_0x39214f(0x259)])==null?void 0x0:_0x43515e['id'])&&this['hidePanel'](),this[_0x39214f(0x27f)][_0x39214f(0x17c)](_0x4965bb)&&(this[_0x39214f(0x27f)]['setContextValue'](_0x4965bb,!0x1),this[_0x39214f(0x1f1)][_0x39214f(0x1f6)](null));}})),this[_0x330baa(0x1c6)](this[_0x330baa(0x343)][_0x330baa(0x1cc)]['subscribe'](({id:_0x7d0104})=>{const _0x13206b=_0x330baa;_0x7d0104===this['_sheetsChartUIService'][_0x13206b(0x2f1)]&&this[_0x13206b(0x1f3)]();})),this[_0x330baa(0x1c6)](this[_0x330baa(0x343)][_0x330baa(0x257)][_0x330baa(0x2d9)](({id:_0x6204af})=>{const _0x3b34f7=_0x330baa;_0x6204af===this['_sheetsChartUIService'][_0x3b34f7(0x2f1)]&&(this[_0x3b34f7(0x388)][_0x3b34f7(0x2ce)](null),this['_sheetsChartUIService']['clearPanelRoute'](),this['_chartRenderService']['setElementEditMode'](_0x6204af,!0x1),this[_0x3b34f7(0x335)](_0x6204af)&&this[_0x3b34f7(0x320)][_0x3b34f7(0x3a4)](_0x6204af,!0x0));})),this[_0x330baa(0x1c6)](this[_0x330baa(0x1f1)]['focus$'][_0x330baa(0x2d9)](_0x13eb70=>{const _0x233e56=_0x330baa;let _0x4649c3=_0x13eb70[0x0];if(!this[_0x233e56(0x388)][_0x233e56(0x356)]){if(gi(_0x13eb70)){var _0xfa433;let _0x3013ee=this[_0x233e56(0x2a8)][_0x233e56(0x18d)](_0x4649c3[_0x233e56(0x2ae)]);_0x3013ee&&((_0xfa433=this[_0x233e56(0x2a8)][_0x233e56(0x259)])==null?void 0x0:_0xfa433['id'])!==_0x3013ee['id']&&this['_chartModelService'][_0x233e56(0x302)](_0x3013ee);return;}this[_0x233e56(0x2a8)]['activeChartModel']&&this[_0x233e56(0x2a8)][_0x233e56(0x302)](null),!_0x4649c3&&!this[_0x233e56(0x388)][_0x233e56(0x356)]&&this[_0x233e56(0x1f3)]();}})),_0x5ddf86&&(this[_0x330baa(0x1c6)](_0x5ddf86[_0x330baa(0x28b)][_0x330baa(0x2d9)](()=>{const _0x3fb887=_0x330baa;this[_0x3fb887(0x1f3)]();})),this[_0x330baa(0x1c6)](_0x5ddf86[_0x330baa(0x1d7)][_0x330baa(0x2d9)](()=>{const _0x5653b8=_0x330baa;this[_0x5653b8(0x1f3)]();})));}async[_0x42a697(0x1cd)](_0x42aba0){const _0x16a568=_0x42a697;this[_0x16a568(0x388)]['activeEditChart']||_0x42aba0['drawingType']===_0x4cd99f['DRAWING_CHART']&&await this[_0x16a568(0x2fc)](_0x42aba0[_0x16a568(0x201)],_0x42aba0['subUnitId'],_0x42aba0['drawingId']);}async[_0x42a697(0x2fc)](_0x207d40,_0x5cf332,_0x509063){const _0x57fa4b=_0x42a697;let _0x2e85e9=this[_0x57fa4b(0x2a8)][_0x57fa4b(0x18d)](_0x509063);_0x2e85e9&&(this['_chartModelService'][_0x57fa4b(0x302)](_0x2e85e9),await this[_0x57fa4b(0x2a7)]['executeCommand'](V['id'],{'unitId':_0x207d40,'subUnitId':_0x5cf332,'drawingId':_0x509063}));}[_0x42a697(0x227)](_0x314334,_0x4934cc){const _0x2ffb45=_0x42a697;let _0x4b54a9=this[_0x2ffb45(0x2a8)][_0x2ffb45(0x18d)](_0x314334);_0x4b54a9&&(this[_0x2ffb45(0x2a8)][_0x2ffb45(0x302)](_0x4b54a9),this[_0x2ffb45(0x3ca)](),this[_0x2ffb45(0x2d2)](_0x314334,_0x4934cc??null));}[_0x42a697(0x2d2)](_0x518c39,_0x38b8e5){const _0x476065=_0x42a697;let _0x4b1e85=this[_0x476065(0x388)]['activeEditChart'];_0x4b1e85&&_0x4b1e85!==_0x518c39&&(this[_0x476065(0x320)][_0x476065(0x3a4)](_0x4b1e85,!0x1),this[_0x476065(0x388)][_0x476065(0x2ce)](null)),this[_0x476065(0x388)]['setActiveEditChart'](_0x518c39),this[_0x476065(0x388)][_0x476065(0x331)](_0x518c39,_0x38b8e5),this['_chartRenderService']['setElementEditMode'](_0x518c39,this['_shouldEnableChartElementEdit'](_0x518c39));}[_0x42a697(0x1ef)](){const _0x49992d=_0x42a697;let _0x1a6dc9=this[_0x49992d(0x388)][_0x49992d(0x2f1)];_0x1a6dc9&&this['_chartRenderService'][_0x49992d(0x3a4)](_0x1a6dc9,!0x1),this['_sheetsChartUIService'][_0x49992d(0x367)](null),this[_0x49992d(0x388)][_0x49992d(0x2ce)](null),this[_0x49992d(0x388)][_0x49992d(0x28a)]();}[_0x42a697(0x29e)](){const _0x553fbc=_0x42a697;this[_0x553fbc(0x354)][_0x553fbc(0x1e3)]($r),this[_0x553fbc(0x1c6)](this['_drawingContextMenuService'][_0x553fbc(0x1bf)](_0x4cd99f['DRAWING_CHART'],{'getContextMenuPosition':()=>zr})),this[_0x553fbc(0x1c0)][_0x553fbc(0x3f3)](_0x4cd99f[_0x553fbc(0x3b1)],this[_0x553fbc(0x1e2)][_0x553fbc(0x2c0)](this));}[_0x42a697(0x335)](_0x498315){const _0x213acf=_0x42a697;let _0x521a5e=this['_chartModelService']['getChartModel'](_0x498315);return!this['_isChartElementEditEnabled']||!_0x521a5e?!0x1:ti(_0x521a5e[_0x213acf(0x2a2)]);}[_0x42a697(0x1e2)](_0xe8d7b9,_0x16dd62,_0x491f6d,_0xe040cb){const _0x445c39=_0x42a697;return[{'label':this[_0x445c39(0x289)]['t'](_0x445c39(0x217)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d},'disable':_0xe040cb!==_0x4cd99f[_0x445c39(0x3b1)]},{'label':this[_0x445c39(0x289)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42f5a4['id'],'commandParams':{'unitId':_0xe8d7b9,'drawings':[{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d,'drawingType':_0xe040cb}]},'disable':!0x1},{'label':this[_0x445c39(0x289)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':mr['id'],'commandParams':{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d},'disable':!0x1}];}};Q=q([K(0x0,_0x3e323c),K(0x1,_0x39f3aa),K(0x2,_0x3c5f23(_0x3db1ab)),K(0x3,_0x3c5f23(Y)),K(0x4,_0x3c5f23(_0x18294c)),K(0x5,_0x3c5f23(_0x2ce6f1)),K(0x6,_0x35353b),K(0x7,_0x2afa85),K(0x8,_0x3c5f23(_0x463e32)),K(0x9,_0x3c5f23(_0x4d1830)),K(0xa,_0x5e196b),K(0xb,J),K(0xc,_0x52e096),K(0xd,_0x3c5f23(_0xd5d68c)),K(0xe,_0x42fc9b)],Q);var _i=_0x42a697(0x247),vi=_0x42a697(0x1ca);const yi={'scaleX':0x1,'scaleY':0x1};function bi(_0x4c8183){const _0x4e4718=_0x42a697;let _0x590807=_0x4c8183[_0x4e4718(0x3a5)];return _0x590807 instanceof MouseEvent?_0x590807:void 0x0;}function xi(_0x5ad950){let _0x3fe8d9=_0x5ad950['nativeEvent'],_0x48f412=_0x3fe8d9==null?void 0x0:_0x3fe8d9['target'];return _0x48f412 instanceof Element?_0x48f412:void 0x0;}function Si(_0x131ef5){const _0x254bf2=_0x42a697;var _0x2cc478;return(_0x2cc478=xi(_0x131ef5))==null?void 0x0:_0x2cc478[_0x254bf2(0x36a)]();}function Ci(_0x3df16c){const _0x1f3ad6=_0x42a697;return _0x3df16c[_0x1f3ad6(0x180)]||_0x3df16c[_0x1f3ad6(0x1b5)]-_0x3df16c[_0x1f3ad6(0x329)];}function wi(_0x15de6b){const _0x4684a2=_0x42a697;return _0x15de6b[_0x4684a2(0x20b)]||_0x15de6b[_0x4684a2(0x291)]-_0x15de6b[_0x4684a2(0x181)];}function Ti(_0x753770,_0xa93177){const _0x104443=_0x42a697;let _0x38feb1=_0x753770[_0x104443(0x177)]||(_0x753770 instanceof HTMLElement?_0x753770[_0x104443(0x244)]:0x0),_0x248fe6=_0x753770[_0x104443(0x34d)]||(_0x753770 instanceof HTMLElement?_0x753770[_0x104443(0x314)]:0x0),_0x588f67=Ci(_0xa93177),_0x4f1ae4=wi(_0xa93177);return{'scaleX':_0x38feb1>0x0&&_0x588f67>0x0?_0x588f67/_0x38feb1:yi[_0x104443(0x3c6)],'scaleY':_0x248fe6>0x0&&_0x4f1ae4>0x0?_0x4f1ae4/_0x248fe6:yi[_0x104443(0x235)]};}function Ei(_0x3c2157,_0xa480b8,_0x12dc0f){const _0x32ef9a=_0x42a697;return{'left':_0x3c2157[_0x32ef9a(0x329)]+_0xa480b8[_0x32ef9a(0x329)]*_0x12dc0f[_0x32ef9a(0x3c6)],'right':_0x3c2157['left']+_0xa480b8['right']*_0x12dc0f['scaleX'],'top':_0x3c2157['top']+_0xa480b8[_0x32ef9a(0x181)]*_0x12dc0f['scaleY'],'bottom':_0x3c2157[_0x32ef9a(0x181)]+_0xa480b8[_0x32ef9a(0x291)]*_0x12dc0f[_0x32ef9a(0x235)]};}function Di(_0x327298){const _0x58d84c=_0x42a697;let _0x482251=xi(_0x327298),_0xa3b16f=_0x327298[_0x58d84c(0x1a6)][_0x58d84c(0x380)];return _0x482251&&_0xa3b16f?()=>{const _0x26bed1=_0x58d84c;let _0x58457f=_0x482251[_0x26bed1(0x36a)]();return Ei(_0x58457f,_0xa3b16f,Ti(_0x482251,_0x58457f));}:()=>{const _0x26c1bf=_0x58d84c;let _0x633a22=Si(_0x327298);if(_0x633a22&&_0xa3b16f)return Ei(_0x633a22,_0xa3b16f,_0x482251?Ti(_0x482251,_0x633a22):yi);let _0x1d1383=bi(_0x327298),_0x4f26a6=_0x482251&&_0x633a22?Ti(_0x482251,_0x633a22):yi,_0x2f1e06=(_0x1d1383==null?void 0x0:_0x1d1383['clientX'])??(_0x633a22?_0x633a22['left']+_0x327298[_0x26c1bf(0x1f0)]['x']*_0x4f26a6[_0x26c1bf(0x3c6)]:_0x327298['localPoint']['x']),_0x52878c=(_0x1d1383==null?void 0x0:_0x1d1383[_0x26c1bf(0x369)])??(_0x633a22?_0x633a22['top']+_0x327298[_0x26c1bf(0x1f0)]['y']*_0x4f26a6[_0x26c1bf(0x235)]:_0x327298[_0x26c1bf(0x1f0)]['y']);return{'left':_0x2f1e06,'right':_0x2f1e06+0x1,'top':_0x52878c,'bottom':_0x52878c+0x1};};}function Oi(_0x26372c){const _0x20c419=_0x42a697;return typeof _0x26372c==_0x20c419(0x1a5)&&Number['isFinite'](_0x26372c);}function ki(_0x27bbe3){const _0x501971=_0x42a697;if(!_0x27bbe3||typeof _0x27bbe3!=_0x501971(0x351))return!0x0;let {startX:_0x377da3,endX:_0x2e4ef7,startY:_0x5ec71b,endY:_0x2489de}=_0x27bbe3;return!Oi(_0x377da3)||!Oi(_0x2e4ef7)||!Oi(_0x5ec71b)||!Oi(_0x2489de)||_0x2e4ef7-_0x377da3>0x2&&_0x2489de-_0x5ec71b>0x2;}function Ai(_0x39f41a){const _0x3d313b=_0x42a697;return _0x39f41a[_0x3d313b(0x1b5)]<=_0x39f41a['left']||_0x39f41a[_0x3d313b(0x291)]<=_0x39f41a[_0x3d313b(0x181)]?!0x1:typeof window>'u'||_0x39f41a[_0x3d313b(0x1b5)]>0x0&&_0x39f41a['bottom']>0x0&&_0x39f41a['left']<window[_0x3d313b(0x3c4)]&&_0x39f41a[_0x3d313b(0x181)]<window[_0x3d313b(0x19e)];}function ji(_0x5344b8){const _0x3eae5e=_0x42a697;var _0xed22e2;return _0x5344b8==null||(_0xed22e2=_0x5344b8['getValue'])==null?void 0x0:_0xed22e2[_0x3eae5e(0x286)](_0x5344b8);}function Mi(_0x3d55df,_0x1437ef,_0x517c05){const _0x56376a=_0x42a697;let _0x43258c=Di(_0x3d55df),_0x4f99de=ji(_0x1437ef),_0x119d30=_0x43258c(),_0x50056e=new _0x2b0349(_0x119d30),_0x22e6d7=new _0x26ed62(),_0x4604c5=!0x1,_0x125edf=!0x1,_0x4358ce=_0x28088f=>ki(_0x4f99de)&&Ai(_0x28088f),_0x776692=()=>{_0x125edf||_0x4604c5||(_0x125edf=!0x0,queueMicrotask(()=>{if(_0x125edf=!0x1,!_0x4604c5){let _0x33b392=_0x43258c();if(!_0x4358ce(_0x33b392)){_0x517c05();return;}_0x50056e['next'](_0x33b392);}}));};return _0x1437ef&&_0x22e6d7[_0x56376a(0x245)](_0x1437ef[_0x56376a(0x2d9)](_0x3d5e80=>{_0x4f99de=_0x3d5e80,_0x776692();})),typeof window<'u'&&_0x22e6d7['add'](_0x4b9e2a(_0x2843a7(window,'scroll',{'capture':!0x0}),_0x2843a7(window,_0x56376a(0x31d)))[_0x56376a(0x2f9)](_0x90ae39(0x10))[_0x56376a(0x2d9)](_0x776692)),{'initialRect':_0x119d30,'anchorRect$':_0x50056e[_0x56376a(0x3a2)](),'visible':_0x4358ce(_0x119d30),'dispose':()=>{const _0x423cad=_0x56376a;_0x4604c5=!0x0,_0x22e6d7[_0x423cad(0x1e4)](),_0x50056e[_0x423cad(0x358)]();}};}const Ni=_0x42a697(0x3d8);let Pi=class extends _0x306247{constructor(_0x52d485,_0x5989ab,_0x30d532,_0x5ca9f4,_0x10927f,_0x1f675c,_0x574e0e,_0x433e46,_0x4d9af1){const _0x3c1d7d=_0x42a697;super(),this[_0x3c1d7d(0x2a8)]=_0x52d485,this[_0x3c1d7d(0x320)]=_0x5989ab,this[_0x3c1d7d(0x1ce)]=_0x30d532,this['_sheetCanvasPopManagerService']=_0x5ca9f4,this[_0x3c1d7d(0x343)]=_0x10927f,this['_chartUIService']=_0x1f675c,this[_0x3c1d7d(0x3d5)]=_0x574e0e,this[_0x3c1d7d(0x2a7)]=_0x433e46,this[_0x3c1d7d(0x2e4)]=_0x4d9af1,U(this,_0x3c1d7d(0x31b),null),U(this,'_popupChartId',null),this[_0x3c1d7d(0x25b)](),this[_0x3c1d7d(0x3d0)]();}['dispose'](){const _0x4ae302=_0x42a697;this[_0x4ae302(0x23a)](),super[_0x4ae302(0x1e4)]();}[_0x42a697(0x25b)](){const _0x54fe14=_0x42a697;let _0x49b627=_0x22ec99({'chartUIService':this[_0x54fe14(0x368)],'getHostAdapter':_0x3beff1=>{const _0x358900=_0x54fe14;this[_0x358900(0x2b0)](_0x3beff1[_0x358900(0x249)]);let _0x3f4e8e=this[_0x358900(0x2a8)][_0x358900(0x18d)](_0x3beff1[_0x358900(0x249)]);if(!(!_0x3f4e8e||!_0x3beff1[_0x358900(0x267)]))return new _0x5ef80d(_0x3f4e8e,new _0x17cadd({'unitId':_0x3beff1[_0x358900(0x201)],'subUnitId':_0x3beff1[_0x358900(0x267)],'chartId':_0x3beff1[_0x358900(0x249)],'injector':this[_0x358900(0x2e4)]}));},'close':()=>this[_0x54fe14(0x23a)](),'openFullPanel':_0x5db464=>{const _0x325363=_0x54fe14;let {unitId:_0x5b5871,subUnitId:_0x370c42,drawingId:_0x169ad2,chartId:_0x2fac47}=_0x5db464,_0x1aa6fc=_0x560369(_0x5db464[_0x325363(0x22c)]);this[_0x325363(0x2a7)][_0x325363(0x312)](V['id'],{'unitId':_0x5b5871,'subUnitId':_0x370c42??'','drawingId':_0x169ad2??_0x2fac47,..._0x1aa6fc?{'route':_0x1aa6fc}:{}});}});this[_0x54fe14(0x1c6)](this[_0x54fe14(0x3d5)][_0x54fe14(0x38a)](Ni,_0x49b627));}[_0x42a697(0x3d0)](){const _0x4f4175=_0x42a697;this[_0x4f4175(0x1c6)](this[_0x4f4175(0x2a8)][_0x4f4175(0x21d)][_0x4f4175(0x2d9)](_0x5aac09=>{const _0x5912d6=_0x4f4175;let _0x3ac690=new _0x26ed62();_0x3ac690[_0x5912d6(0x245)](this[_0x5912d6(0x320)]['on'](_0x5aac09['id'],'click',_0x2f16ef=>{const _0x2603f1=_0x5912d6;this[_0x2603f1(0x228)](_0x5aac09['id'],_0x2f16ef);})),_0x3ac690[_0x5912d6(0x245)](this['_chartRenderService']['on'](_0x5aac09['id'],_0x5912d6(0x2fb),()=>{const _0x4f13d1=_0x5912d6;this[_0x4f13d1(0x2fc)](_0x5aac09['id']);})),_0x5aac09['onDispose'](()=>{const _0x25effc=_0x5912d6;_0x3ac690[_0x25effc(0x1e4)](),this[_0x25effc(0x2c9)](_0x5aac09['id']);}),this[_0x5912d6(0x1c6)](_0x3ac690);})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x368)]['activeEditChart$']['subscribe'](_0x294365=>{const _0x4812e6=_0x4f4175;(!_0x294365||this[_0x4812e6(0x36f)]&&_0x294365!==this[_0x4812e6(0x36f)])&&this[_0x4812e6(0x23a)]();})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x343)]['transformChange$']['subscribe'](({id:_0x44670c})=>{this['_clearSelectedTarget'](_0x44670c);})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x343)][_0x4f4175(0x1cc)][_0x4f4175(0x2d9)](({id:_0x2bde00})=>{const _0x476ccc=_0x4f4175;this[_0x476ccc(0x2c9)](_0x2bde00);})),this['disposeWithMe'](this[_0x4f4175(0x1ce)][_0x4f4175(0x278)][_0x4f4175(0x2d9)](_0x5e5233=>{const _0x4939c6=_0x4f4175;this[_0x4939c6(0x2c9)](_0x5e5233);}));}[_0x42a697(0x2fc)](_0x4ae735){const _0x4e5507=_0x42a697;if(this[_0x4e5507(0x368)]['activeEditChart'])return;let _0x4616e8=this[_0x4e5507(0x2a8)][_0x4e5507(0x18d)](_0x4ae735),_0x1e6a3e=this[_0x4e5507(0x343)]['getFloatDomInfo'](_0x4ae735);!_0x4616e8||!_0x1e6a3e||(this[_0x4e5507(0x2a8)]['setActiveChartModel'](_0x4616e8),this['_commandService']['executeCommand'](V['id'],{'unitId':_0x1e6a3e[_0x4e5507(0x201)],'subUnitId':_0x1e6a3e[_0x4e5507(0x267)]??'','drawingId':_0x4ae735}));}[_0x42a697(0x2b0)](_0x1a0d5f){const _0x3e2434=_0x42a697;let _0x30df73=this[_0x3e2434(0x2a8)][_0x3e2434(0x18d)](_0x1a0d5f);_0x30df73&&this[_0x3e2434(0x2a8)][_0x3e2434(0x302)](_0x30df73);}[_0x42a697(0x228)](_0x47f60,_0x11581c){const _0x16128c=_0x42a697;if(!this['_chartUIService'][_0x16128c(0x381)](_0x47f60))return;let _0x446de9=this['_chartModelService']['getChartModel'](_0x47f60),_0x5f3db6=_0x446de9?ni(_0x446de9,_0x11581c[_0x16128c(0x1a6)]):void 0x0;if(!_0x5f3db6){this[_0x16128c(0x368)][_0x16128c(0x2ce)](null),this[_0x16128c(0x368)][_0x16128c(0x28a)](),this[_0x16128c(0x23a)]();return;}let _0x24b35c=this['_sheetCanvasFloatDomManagerService'][_0x16128c(0x3b5)](_0x47f60);if(!_0x446de9||!_0x24b35c){this[_0x16128c(0x368)][_0x16128c(0x2ce)](null),this['_chartUIService'][_0x16128c(0x28a)](),this[_0x16128c(0x23a)]();return;}if(this['_chartModelService']['setActiveChartModel'](_0x446de9),this[_0x16128c(0x368)][_0x16128c(0x2ce)]({'chartId':_0x47f60,'element':_0x11581c[_0x16128c(0x1a6)],'target':_0x5f3db6[_0x16128c(0x22c)],'route':_0x5f3db6[_0x16128c(0x2be)]}),this[_0x16128c(0x368)]['setPanelRoute'](_0x47f60,_0x5f3db6[_0x16128c(0x2be)]),this['_closePopup'](),!_0x5f3db6[_0x16128c(0x255)])return;let _0x2c0368=Mi(_0x11581c,_0x24b35c[_0x16128c(0x2e0)],()=>this['_clearHiddenSelectedTarget'](_0x47f60));if(!_0x2c0368[_0x16128c(0x2b7)]){_0x2c0368[_0x16128c(0x1e4)]();return;}let _0x5259c2=this[_0x16128c(0x1c0)][_0x16128c(0x2cc)](_0x2c0368['initialRect'],_0x2c0368[_0x16128c(0x317)],{'componentKey':_0x28baa3,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x24b35c[_0x16128c(0x201)],'subUnitId':_0x24b35c[_0x16128c(0x267)],'chartId':_0x47f60,'drawingId':_0x47f60,'element':_0x11581c[_0x16128c(0x1a6)],'target':_0x5f3db6[_0x16128c(0x22c)],'adapterKey':Ni}},_0x24b35c[_0x16128c(0x201)],_0x24b35c[_0x16128c(0x267)])??null;if(!_0x5259c2){_0x2c0368[_0x16128c(0x1e4)]();return;}let _0x27ab24=new _0x26ed62();_0x27ab24['add'](_0x5259c2),_0x27ab24['add'](_0x2c0368),this[_0x16128c(0x31b)]=_0x27ab24,this[_0x16128c(0x36f)]=_0x47f60;}['_closePopup'](){const _0x24e7d9=_0x42a697;var _0x5a4063;(_0x5a4063=this[_0x24e7d9(0x31b)])==null||_0x5a4063[_0x24e7d9(0x1e4)](),this[_0x24e7d9(0x31b)]=null,this[_0x24e7d9(0x36f)]=null;}['_clearSelectedTarget'](_0x10752c){const _0x2e1d9d=_0x42a697;!this[_0x2e1d9d(0x368)][_0x2e1d9d(0x381)](_0x10752c)&&this[_0x2e1d9d(0x36f)]!==_0x10752c||(this[_0x2e1d9d(0x368)][_0x2e1d9d(0x2ce)](null),this[_0x2e1d9d(0x368)]['clearPanelRoute'](),this[_0x2e1d9d(0x36f)]===_0x10752c&&this[_0x2e1d9d(0x23a)]());}[_0x42a697(0x256)](_0x5a375f){const _0x20ed5e=_0x42a697;this['_clearSelectedTarget'](_0x5a375f),this['_chartUIService'][_0x20ed5e(0x381)](_0x5a375f)&&(this[_0x20ed5e(0x320)][_0x20ed5e(0x3a4)](_0x5a375f,!0x1),this[_0x20ed5e(0x320)][_0x20ed5e(0x3a4)](_0x5a375f,!0x0));}};Pi=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(Y)),K(0x2,kr),K(0x3,_0x3c5f23(_0x4d1830)),K(0x4,_0x3c5f23(_0x463e32)),K(0x5,J),K(0x6,_0x3c5f23(_0x542574)),K(0x7,_0x5e196b),K(0x8,_0x3c5f23(_0x2f4582))],Pi);let Fi=class extends _0x306247{constructor(_0x327795,_0xc8702d){const _0x193afc=_0x42a697;super(),this[_0x193afc(0x23e)]=_0x327795,this[_0x193afc(0x2a8)]=_0xc8702d,this[_0x193afc(0x391)]();}['_init'](){const _0x36165e=_0x42a697;this['disposeWithMe'](this[_0x36165e(0x23e)][_0x36165e(0x278)]['subscribe'](_0x10dcde=>{const _0x478dfe=_0x36165e;this['_chartModelService'][_0x478dfe(0x1d4)](_0x10dcde);}));}};Fi=q([K(0x0,kr),K(0x1,_0x3c5f23(_0x3db1ab))],Fi);let Ii=class extends _0x306247{constructor(_0x382a75,_0xb24201,_0x331b9f,_0x42e1f5,_0x1867cc,_0x54d5cb){const _0x2969e3=_0x42a697;super(),this[_0x2969e3(0x2a8)]=_0x382a75,this['_chartRenderService']=_0xb24201,this[_0x2969e3(0x289)]=_0x331b9f,this['_chartUIService']=_0x42e1f5,this['_commandService']=_0x1867cc,this[_0x2969e3(0x3d3)]=_0x54d5cb,U(this,_0x2969e3(0x1fc),new Map()),this[_0x2969e3(0x391)](),this[_0x2969e3(0x272)](),this['_initPrinting']();}['_initPrinting'](){const _0x2cd8c9=_0x42a697;this['disposeWithMe'](this[_0x2cd8c9(0x3d3)][_0x2cd8c9(0x308)][_0x2cd8c9(0x243)](this['_sheetPrintInterceptorService'][_0x2cd8c9(0x308)][_0x2cd8c9(0x3c9)]()[_0x2cd8c9(0x27a)],{'handler':(_0x59b7a3,_0x4c4463,_0x436f4a)=>{const _0x5bc7c2=_0x2cd8c9;let _0x4347f8=this[_0x5bc7c2(0x320)][_0x5bc7c2(0x1c4)](_0x4c4463['unitId'],_0x4c4463[_0x5bc7c2(0x267)],_0x4c4463['scene']);return _0x4c4463[_0x5bc7c2(0x184)][_0x5bc7c2(0x245)](_0x4347f8),_0x436f4a(_0x59b7a3);}}));}[_0x42a697(0x391)](){const _0x1b8577=_0x42a697;this['disposeWithMe'](this[_0x1b8577(0x2a8)][_0x1b8577(0x21d)][_0x1b8577(0x2d9)](_0x4d5551=>{const _0x250892=_0x1b8577;if(_0x4d5551){let _0x582860=new _0x26ed62();_0x582860[_0x250892(0x245)](_0x4d5551[_0x250892(0x299)][_0x250892(0x2f9)](_0x57c29d(_0x4d5551[_0x250892(0x274)]),_0x57c29d(this[_0x250892(0x289)][_0x250892(0x25e)]),_0x117f83(0x64))[_0x250892(0x2d9)](([[_0x466db8,_0x53a626],_0x4c47d4])=>{const _0x3aba92=_0x250892;var _0x4ec97f;if(!_0x466db8)return;(_0x4ec97f=_0x466db8[_0x3aba92(0x315)])==null||_0x4ec97f[_0x3aba92(0x3ae)]['forEach']((_0x7dfed2,_0x2c2089)=>{const _0x1928f4=_0x3aba92;_0x7dfed2[_0x1928f4(0x279)]||=this[_0x1928f4(0x289)]['t'](_0x1928f4(0x20e))+'\x20'+(_0x2c2089+0x1);}),_0x466db8['series'][_0x3aba92(0x1d2)]((_0x3973b4,_0x4f5c59)=>{const _0x40f708=_0x3aba92;_0x3973b4[_0x40f708(0x3b4)]||=this[_0x40f708(0x289)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x4f5c59+0x1);});let _0x4107ba=this[_0x3aba92(0x320)]['createRuntimeChartStyle'](_0x4d5551,_0x4c47d4);this['_chartRenderService'][_0x3aba92(0x2cf)](_0x4d5551['id'],_0x466db8,_0x4107ba);})),_0x4d5551[_0x250892(0x192)](()=>{const _0x5ff0be=_0x250892;_0x582860[_0x5ff0be(0x1e4)]();});}}));}[_0x42a697(0x272)](){const _0x5e4625=_0x42a697;this[_0x5e4625(0x1c6)](this[_0x5e4625(0x2a7)][_0x5e4625(0x3c0)](_0x448174=>{const _0x378354=_0x5e4625;if(_0x448174['id']!==_0x3f4f82['id'])return;let _0x13b683=_0x448174[_0x378354(0x34c)];_0x13b683!=null&&_0x13b683['chartModelId']&&Promise[_0x378354(0x204)]()['then'](()=>this[_0x378354(0x384)](_0x13b683));}));}['_renderAfterChartUpdateMutation'](_0x5c77c6){const _0x55deb6=_0x42a697;let _0x20ffcd=this[_0x55deb6(0x2a8)][_0x55deb6(0x18d)](_0x5c77c6['chartModelId']);if(!_0x20ffcd||_0x20ffcd[_0x55deb6(0x2a2)]!==_0x240ffc[_0x55deb6(0x3e6)])return;let _0x5aa3fb=_0x20ffcd[_0x55deb6(0x2e6)];if(!_0x5aa3fb){this[_0x55deb6(0x2e8)](_0x20ffcd);return;}this[_0x55deb6(0x30e)](_0x20ffcd,_0x5aa3fb);}[_0x42a697(0x2e8)](_0x1cb4be){const _0x21e657=_0x42a697;if(this[_0x21e657(0x1fc)][_0x21e657(0x33d)](_0x1cb4be['id']))return;let _0x14062e=_0x1cb4be[_0x21e657(0x299)][_0x21e657(0x2f9)](_0x469439(_0x20f51e=>_0x20f51e!=null),_0x3adbcc(0x1))['subscribe'](_0x2bea40=>{const _0x24408c=_0x21e657;this[_0x24408c(0x1fc)][_0x24408c(0x210)](_0x1cb4be['id']),this[_0x24408c(0x30e)](_0x1cb4be,_0x2bea40);});this[_0x21e657(0x1fc)][_0x21e657(0x19a)](_0x1cb4be['id'],_0x14062e),_0x1cb4be[_0x21e657(0x192)](()=>{const _0x2e0a93=_0x21e657;_0x14062e[_0x2e0a93(0x2eb)](),this[_0x2e0a93(0x1fc)][_0x2e0a93(0x210)](_0x1cb4be['id']);});}[_0x42a697(0x30e)](_0x6294bb,_0xaa033b){const _0x479660=_0x42a697;let _0x2042d8=this[_0x479660(0x320)]['createRuntimeChartStyle'](_0x6294bb,this[_0x479660(0x289)][_0x479660(0x208)]());this[_0x479660(0x320)][_0x479660(0x2cf)](_0x6294bb['id'],_0xaa033b,_0x2042d8);}};Ii=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(Y)),K(0x2,_0x3c5f23(_0xd5d68c)),K(0x3,J),K(0x4,_0x5e196b),K(0x5,_0x3c5f23(_0xb35bee))],Ii);let Li=class extends _0x306247{constructor(_0x584025,_0x18f19b,_0x1238af,_0x58f89e){const _0x5a3609=_0x42a697;super(),this[_0x5a3609(0x32e)]=_0x584025,this[_0x5a3609(0x37f)]=_0x18f19b,this[_0x5a3609(0x340)]=_0x1238af,this[_0x5a3609(0x2a8)]=_0x58f89e,this[_0x5a3609(0x397)]();}[_0x42a697(0x397)](){const _0x78b993=_0x42a697;this[_0x78b993(0x1c6)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x3b18be=>{const _0x11d7ef=_0x78b993;if(_0x3b18be['id']===_0x2cce8e['id']){let _0x5b3753=_0x241644(this['_univerInstanceService'],_0x3b18be[_0x11d7ef(0x34c)]);if(!_0x5b3753)return{'redos':[],'undos':[]};let {unitId:_0x2ae86b,subUnitId:_0x159424}=_0x5b3753,_0x4530f5=this['_sheetDrawingService'][_0x11d7ef(0x327)](_0x2ae86b,_0x159424),_0x47ba12=Object[_0x11d7ef(0x3ab)](_0x4530f5)[_0x11d7ef(0x3bd)](_0x5d932d=>_0x5d932d[_0x11d7ef(0x341)]===_0x4cd99f[_0x11d7ef(0x3b1)]);if(_0x47ba12[_0x11d7ef(0x206)]===0x0)return{'redos':[],'undos':[]};let _0x3a94f8=[],_0x401666=[];for(let _0x57897e=0x0;_0x57897e<_0x47ba12[_0x11d7ef(0x206)];_0x57897e++){let _0x1be5f8=_0x47ba12[_0x57897e],_0x3e6a3c=this['_chartModelService'][_0x11d7ef(0x18d)](_0x1be5f8[_0x11d7ef(0x2ae)]);if(!_0x3e6a3c)continue;let _0x13c9a5=_0x3e6a3c[_0x11d7ef(0x263)][_0x11d7ef(0x31c)](),{chartType:_0x3c9273,context:_0x106a7d,style:_0x639e73,dataAggregation:_0xafa184}=_0x3e6a3c[_0x11d7ef(0x1c8)](),{redo:_0x387198,undo:_0x2b6b54,objects:_0xf25f2b}=this['_sheetDrawingService'][_0x11d7ef(0x220)]([_0x1be5f8]);_0x3a94f8[_0x11d7ef(0x361)]({'id':_0x54d713['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'chartId':_0x1be5f8['drawingId']}}),_0x3a94f8[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'type':_0x4a5972[_0x11d7ef(0x1dc)],'op':_0x387198,'objects':_0xf25f2b}}),_0x401666[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'type':_0x4a5972[_0x11d7ef(0x2b2)],'op':_0x2b6b54,'objects':_0xf25f2b}}),_0x401666[_0x11d7ef(0x361)]({'id':_0x5f2686['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'chartId':_0x1be5f8[_0x11d7ef(0x2ae)],'chartType':_0x3c9273,..._0xbcc4c3(_0x13c9a5),'context':_0x106a7d,'style':_0x639e73,'dataAggregation':_0xafa184}});}return{'redos':_0x3a94f8,'undos':_0x401666};}else{if(_0x3b18be['id']===_0x2a62df['id']){let {unitId:_0x8bfcd8,subUnitId:_0x46a2c7,targetSubUnitId:_0x355b4a}=_0x3b18be[_0x11d7ef(0x34c)];if(!_0x8bfcd8||!_0x46a2c7||!_0x355b4a)return{'redos':[],'undos':[]};let _0x42bbbd=this['_sheetDrawingService'][_0x11d7ef(0x327)](_0x8bfcd8,_0x46a2c7),_0x1d0a4f=Object['values'](_0x42bbbd)[_0x11d7ef(0x3bd)](_0x2e241f=>_0x2e241f[_0x11d7ef(0x341)]===_0x4cd99f[_0x11d7ef(0x3b1)]);if(_0x1d0a4f['length']===0x0)return{'redos':[],'undos':[]};let _0x1662de=[],_0xf9ef46=[];for(let _0x2bee17=0x0;_0x2bee17<_0x1d0a4f['length'];_0x2bee17++){let _0x457578=_0x1d0a4f[_0x2bee17],_0x1bd40c=this[_0x11d7ef(0x2a8)][_0x11d7ef(0x18d)](_0x457578[_0x11d7ef(0x2ae)]);if(!_0x1bd40c)continue;let _0x870c52=_0x1d4220(),_0x2b6ac2={..._0x457578,'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'drawingId':_0x870c52},_0x554de0=_0x1bd40c[_0x11d7ef(0x263)][_0x11d7ef(0x31c)](),_0x2b0253=Array['isArray'](_0x554de0)?_0x554de0[_0x11d7ef(0x2bb)](_0x328f34=>({..._0x328f34,..._0x328f34[_0x11d7ef(0x3c2)]?{'header':{..._0x328f34[_0x11d7ef(0x3c2)],'subUnitId':_0x355b4a}}:{},'range':{..._0x328f34[_0x11d7ef(0x284)],'subUnitId':_0x355b4a}})):{..._0x554de0,'rangeInfo':{..._0x554de0[_0x11d7ef(0x2ca)],'subUnitId':_0x355b4a}},{chartType:_0x36a5d7,context:_0x3fd8fc,style:_0x128e06,dataAggregation:_0x4af7b8}=_0x1bd40c[_0x11d7ef(0x1c8)](),{redo:_0x576964,undo:_0x394fc8,objects:_0x36984b}=this[_0x11d7ef(0x340)][_0x11d7ef(0x273)]([_0x2b6ac2]);_0x1662de[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'type':_0x4a5972[_0x11d7ef(0x2b2)],'op':_0x576964,'objects':_0x36984b}}),_0x1662de[_0x11d7ef(0x361)]({'id':_0x5f2686['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'chartId':_0x870c52,'chartType':_0x36a5d7,..._0xbcc4c3(_0x2b0253),'context':_0x3fd8fc,'style':_0x128e06,'dataAggregation':_0x4af7b8}}),_0xf9ef46['push']({'id':_0x54d713['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'chartId':_0x870c52}}),_0xf9ef46[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'type':_0x4a5972[_0x11d7ef(0x1dc)],'op':_0x394fc8,'objects':_0x36984b}});}return{'redos':_0x1662de,'undos':_0xf9ef46};}}return{'redos':[],'undos':[]};}}));}};Li=q([K(0x0,_0x3c5f23(_0x39f3aa)),K(0x1,_0x3c5f23(_0x11f0ef)),K(0x2,_0x3c5f23(_0x1e8199)),K(0x3,_0x3c5f23(_0x3db1ab))],Li);let Ri=class extends _0x306247{constructor(_0x2819a0,_0xc0c7ab){const _0xcbb98f=_0x42a697;super(),this['_componentManager']=_0x2819a0,this[_0xcbb98f(0x1ee)]=_0xc0c7ab,this[_0xcbb98f(0x205)](),this[_0xcbb98f(0x332)]();}['_registerIcons'](){const _0x2ed952=_0x42a697;this['disposeWithMe'](this['_iconManager'][_0x2ed952(0x38a)]({'PenIcon':_0x1ade42}));}['_registerComponents'](){const _0x2a7cc5=_0x42a697;[[pi,fi]][_0x2a7cc5(0x1d2)](([_0x56dc81,_0x109c5e])=>{const _0x2a3ec7=_0x2a7cc5;this[_0x2a3ec7(0x1c6)](this[_0x2a3ec7(0x23c)][_0x2a3ec7(0x38a)](_0x56dc81,_0x109c5e));});}};Ri=q([K(0x0,_0x3c5f23(_0x49123f)),K(0x1,_0x3c5f23(_0x2f93b0))],Ri);let zi=class extends _0x306247{constructor(_0xc228a0,_0x5e1114,_0xeec81d,_0x18c4f6){const _0x2c3ce5=_0x42a697;super(),this[_0x2c3ce5(0x195)]=_0xc228a0,this[_0x2c3ce5(0x197)]=_0x5e1114,this['_sheetDrawingService']=_0xeec81d,this[_0x2c3ce5(0x2a8)]=_0x18c4f6,U(this,_0x2c3ce5(0x293),void 0x0),this[_0x2c3ce5(0x2e9)]();}get['_focusedDrawings'](){const _0x5ba355=_0x42a697;return this[_0x5ba355(0x340)]['getFocusDrawings']();}[_0x42a697(0x2e9)](){const _0x15d518=_0x42a697;this[_0x15d518(0x1c6)](this[_0x15d518(0x197)][_0x15d518(0x172)]({'id':_0x227e0c,'onBeforeCopy':(_0x248ce6,_0x1b1798,_0x20bbb3,_0x54d4e4)=>{const _0x1e20ef=_0x15d518;this[_0x1e20ef(0x293)]=null;let _0x14cd5f=this['_focusedDrawings'];if(_0x14cd5f[_0x1e20ef(0x206)]){let _0x122399=_0x14cd5f[_0x1e20ef(0x3bd)](_0x8a6b9e=>_0x8a6b9e[_0x1e20ef(0x341)]===_0x4cd99f['DRAWING_CHART']);if(_0x122399[_0x1e20ef(0x206)]===0x0)return;this[_0x1e20ef(0x293)]={'unitId':_0x248ce6,'subUnitId':_0x1b1798,'copyType':_0x54d4e4,'drawings':_0x122399};}else this[_0x1e20ef(0x1be)](_0x248ce6,_0x1b1798,_0x20bbb3,_0x54d4e4);},'onPasteCells':(_0x10b03b,_0x3c6652,_0x5e39b4,_0x232d94)=>{const _0x47e971=_0x15d518;if(!this[_0x47e971(0x293)])return{'redos':[],'undos':[]};let {pasteType:_0x21cf75}=_0x232d94;return _0x21cf75===_0x4e1be3[_0x47e971(0x240)]?this[_0x47e971(0x3d4)](_0x3c6652,this[_0x47e971(0x293)][_0x47e971(0x1ba)]===_0x383c66[_0x47e971(0x318)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x4cc107=>this[_0x15d518(0x293)]?this['_generatePasteMutations'](_0x4cc107,this[_0x15d518(0x293)]['copyType']===_0x383c66['CUT']):{'redos':[],'undos':[]}}));}[_0x42a697(0x1be)](_0x2bf4e2,_0x42c2b7,_0x223288,_0x1342a8){const _0x5def1e=_0x42a697;let _0x441e11=this[_0x5def1e(0x195)]['getSkeleton'](_0x2bf4e2,_0x42c2b7);if(!_0x441e11)return;let _0x40cf37=_0x514a90(_0x441e11,_0x223288);if(!_0x40cf37)return;let {startX:_0x5122da,endX:_0x4294aa,startY:_0x5a4e0a,endY:_0x54201e}=_0x40cf37,_0x2bee02=this['_sheetDrawingService']['getDrawingData'](_0x2bf4e2,_0x42c2b7),_0x2be93a=this[_0x5def1e(0x2fd)][_0x5def1e(0x1ac)]();for(let [_0x5970af,_0x9721c0]of Object[_0x5def1e(0x38c)](_0x2bee02)){if(_0x9721c0[_0x5def1e(0x341)]!==_0x4cd99f[_0x5def1e(0x3b1)])continue;let {transform:_0x11140f}=_0x9721c0;if(!_0x11140f)continue;let {left:_0x19e585=0x0,top:_0x1e02d6=0x0,width:_0x320b3b=0x0,height:_0x418928=0x0}=_0x11140f;_0x5122da<=_0x19e585&&_0x4294aa>=_0x19e585+_0x320b3b&&_0x5a4e0a<=_0x1e02d6&&_0x54201e>=_0x1e02d6+_0x418928&&_0x2be93a[_0x5def1e(0x361)](_0x9721c0);}_0x2be93a['length']>0x0&&(this[_0x5def1e(0x293)]={'unitId':_0x2bf4e2,'subUnitId':_0x42c2b7,'copyType':_0x1342a8,'copyRange':_0x223288,'drawings':_0x2be93a});}[_0x42a697(0x3d4)](_0x2c20e5,_0x4edb71){const _0x171956=_0x42a697;let {unitId:_0x79a55a,subUnitId:_0x139718,range:_0x5d82a6}=_0x2c20e5,_0x3d5954=this[_0x171956(0x195)][_0x171956(0x38d)](_0x79a55a,_0x139718);if(!_0x3d5954)return{'redos':[],'undos':[]};let _0x173984=_0x48b088(_0x5d82a6),{unitId:_0xeb3ef8,subUnitId:_0x5ee7a3,copyRange:_0x26e7f5,drawings:_0x4b4404}=this[_0x171956(0x293)],_0x21be51=this['_sheetSkeletonService'][_0x171956(0x38d)](_0xeb3ef8,_0x5ee7a3);if(!_0x21be51)return{'redos':[],'undos':[]};let _0x51ac3a=[],_0x3052e4=[];for(let _0x5b0e59 of _0x4b4404){let {drawingId:_0x19657c,transform:_0x2dc31f,sheetTransform:_0x184b51}=_0x5b0e59,_0x994d7b=this[_0x171956(0x2a8)][_0x171956(0x18d)](_0x19657c);if(!_0x994d7b||!_0x2dc31f||!_0x184b51)continue;let _0x328728=this[_0x171956(0x377)]({'transform':_0x2dc31f,'sheetTransform':_0x184b51},{'skeleton':_0x21be51,'range':_0x26e7f5},{'skeleton':_0x3d5954,'range':_0x173984});if(_0x4edb71){let {redos:_0x5eb51e,undos:_0x1dda14}=this[_0x171956(0x1f7)]({'fromUnitId':_0xeb3ef8,'fromSubUnitId':_0x5ee7a3,'toUnitId':_0x79a55a,'toSubUnitId':_0x139718,'drawing':_0x5b0e59,'newTransforms':_0x328728},_0x994d7b);_0x51ac3a['push'](..._0x5eb51e),_0x3052e4[_0x171956(0x361)](..._0x1dda14);continue;}let {redos:_0x14cb0f,undos:_0x52f04f}=this[_0x171956(0x372)]({'toUnitId':_0x79a55a,'toSubUnitId':_0x139718,'drawing':_0x5b0e59,'newTransforms':_0x328728},_0x994d7b);_0x51ac3a['push'](..._0x14cb0f),_0x3052e4[_0x171956(0x361)](..._0x52f04f);}return{'redos':_0x51ac3a,'undos':_0x3052e4};}[_0x42a697(0x1f7)](_0x28a192,_0x14a20b){const _0x1bc145=_0x42a697;let {fromUnitId:_0x18280f,fromSubUnitId:_0xa33310,toUnitId:_0x418e71,toSubUnitId:_0x4b207d,drawing:_0x1b52cc,newTransforms:_0x325fdd}=_0x28a192,_0x58f364={..._0x1b52cc,'unitId':_0x418e71,'subUnitId':_0x4b207d,'transform':_0x325fdd[_0x1bc145(0x26f)],'sheetTransform':_0x325fdd[_0x1bc145(0x310)]};if(_0x418e71===_0x18280f&&_0x4b207d===_0xa33310){let {redo:_0x28a7ea,undo:_0x2154a4,objects:_0x681bea}=this[_0x1bc145(0x340)][_0x1bc145(0x30a)]([_0x58f364]);return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x27b)],'op':_0x28a7ea,'objects':_0x681bea}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x27b)],'op':_0x2154a4,'objects':_0x681bea}}]};}else{let _0x675c86=this['_sheetDrawingService']['getBatchRemoveOp']([_0x1b52cc]),_0x57994f=this[_0x1bc145(0x340)]['getBatchAddOp']([_0x58f364]),_0x326002=_0x14a20b[_0x1bc145(0x263)]['getRangeInfo'](),{chartType:_0xa29aa6,context:_0x353d9c,style:_0x475e37,dataAggregation:_0x4d132d}=_0x14a20b['serialize']();return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'type':_0x4a5972[_0x1bc145(0x1dc)],'op':_0x675c86[_0x1bc145(0x35e)],'objects':_0x675c86['objects']}},{'id':_0x54d713['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'chartId':_0x1b52cc[_0x1bc145(0x2ae)]}},{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x2b2)],'op':_0x57994f[_0x1bc145(0x35e)],'objects':_0x57994f['objects']}},{'id':_0x5f2686['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'chartId':_0x1b52cc[_0x1bc145(0x2ae)],'chartType':_0xa29aa6,..._0xbcc4c3(_0x326002),'context':_0x353d9c,'style':_0x475e37,'dataAggregation':_0x4d132d}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'type':_0x4a5972[_0x1bc145(0x2b2)],'op':_0x675c86[_0x1bc145(0x36b)],'objects':_0x675c86[_0x1bc145(0x1ae)]}},{'id':_0x5f2686['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'chartId':_0x1b52cc[_0x1bc145(0x2ae)],'chartType':_0xa29aa6,..._0xbcc4c3(_0x326002),'context':_0x353d9c,'style':_0x475e37,'dataAggregation':_0x4d132d}},{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x1dc)],'op':_0x57994f['undo'],'objects':_0x57994f[_0x1bc145(0x1ae)]}},{'id':_0x54d713['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'chartId':_0x1b52cc[_0x1bc145(0x2ae)]}}]};}}[_0x42a697(0x372)](_0x2f2c7d,_0x20f531){const _0x1a60d5=_0x42a697;let {toUnitId:_0xf09e6e,toSubUnitId:_0x5bc55b,drawing:_0x152c17,newTransforms:_0x355dd7}=_0x2f2c7d,_0x35de3b=_0x1d4220(),_0x4221a1={..._0x152c17,'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'drawingId':_0x35de3b,'transform':_0x355dd7[_0x1a60d5(0x26f)],'sheetTransform':_0x355dd7[_0x1a60d5(0x310)]},{redo:_0x370a65,undo:_0x3cff11,objects:_0x4addcf}=this[_0x1a60d5(0x340)][_0x1a60d5(0x273)]([_0x4221a1]),_0x583b55=_0x20f531['dataSource']['getRangeInfo'](),{chartType:_0x443ff2,context:_0x168345,style:_0x344f69,dataAggregation:_0x3906dd}=_0x20f531[_0x1a60d5(0x1c8)]();return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'type':_0x4a5972[_0x1a60d5(0x2b2)],'op':_0x370a65,'objects':_0x4addcf}},{'id':_0x5f2686['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'chartId':_0x35de3b,'chartType':_0x443ff2,..._0xbcc4c3(_0x583b55),'context':_0x168345,'style':_0x344f69,'dataAggregation':_0x3906dd}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'type':_0x4a5972['REMOVE'],'op':_0x3cff11,'objects':_0x4addcf}},{'id':_0x54d713['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'chartId':_0x35de3b}}]};}['_updateTransform'](_0xa7fc78,_0x44e382,_0x48fbc2){const _0x380a62=_0x42a697;let {range:_0x4b3327,skeleton:_0x13b9c2}=_0x44e382,{range:_0x2d45e,skeleton:_0x195297}=_0x48fbc2,{transform:_0x573248,sheetTransform:_0x2ce5d1}=_0xa7fc78,_0x3625d9={..._0x573248};if(_0x4b3327){let _0x427e74=_0x514a90(_0x13b9c2,_0x4b3327),_0x347340=_0x514a90(_0x195297,_0x2d45e);if(_0x427e74&&_0x347340){let _0x35a619=_0x347340[_0x380a62(0x1a3)]-_0x427e74[_0x380a62(0x1a3)],_0x992822=_0x347340['startY']-_0x427e74['startY'];_0x3625d9[_0x380a62(0x329)]=(_0x3625d9[_0x380a62(0x329)]??0x0)+_0x35a619,_0x3625d9[_0x380a62(0x181)]=(_0x3625d9[_0x380a62(0x181)]??0x0)+_0x992822;}}else{let _0x52a044=_0x514a90(_0x195297,_0x2d45e);_0x3625d9[_0x380a62(0x329)]=_0x52a044==null?void 0x0:_0x52a044[_0x380a62(0x1a3)],_0x3625d9[_0x380a62(0x181)]=_0x52a044==null?void 0x0:_0x52a044['startY'];}return{'transform':_0x3625d9,'sheetTransform':_0x434b54(_0x3625d9,_0x195297)??_0x2ce5d1};}};zi=q([K(0x0,_0x3c5f23(_0x17d31b)),K(0x1,_0x3c5f23(_0x4856f0)),K(0x2,_0x3c5f23(_0x1e8199)),K(0x3,_0x3c5f23(_0x3db1ab))],zi);let Bi=class extends _0x306247{constructor(_0x22ec9f,_0x4874b3,_0x5a67d3,_0x158407){const _0x86f7e5=_0x42a697;super(),this[_0x86f7e5(0x2a7)]=_0x22ec9f,this[_0x86f7e5(0x289)]=_0x4874b3,this['_sheetPermissionCheckController']=_0x5a67d3,this[_0x86f7e5(0x3d7)]=_0x158407,this[_0x86f7e5(0x20a)]();}[_0x42a697(0x20a)](){const _0x584b23=_0x42a697;this[_0x584b23(0x1c6)](this[_0x584b23(0x2a7)][_0x584b23(0x23b)](_0xcad416=>{const _0x4d71fc=_0x584b23;let _0x5d65a3,_0x2757a6;if(_0xcad416['id']===_0x6e5b4c['id']){let _0x575d5d=_0xcad416['params'];_0x5d65a3=_0x575d5d[_0x4d71fc(0x201)],_0x2757a6=_0x575d5d[_0x4d71fc(0x267)];}else{if(_0xcad416['id']===_0x376d77['id']||_0xcad416['id']===_0x2c914e['id']){let _0x207828=_0xcad416['params'];_0x5d65a3=_0x207828['unitId'],_0x2757a6=this[_0x4d71fc(0x3d7)]['getSubUnitId'](_0x207828['unitId'],_0x207828[_0x4d71fc(0x304)]);}}!_0x5d65a3||!_0x2757a6||this['_sheetPermissionCheckController'][_0x4d71fc(0x1b3)]({'workbookTypes':[_0x227e27],'worksheetTypes':[_0x4cbead]},_0x5d65a3,_0x2757a6)||this[_0x4d71fc(0x213)][_0x4d71fc(0x199)](this[_0x4d71fc(0x289)]['t'](_0x4d71fc(0x266)));}));}};Bi=q([K(0x0,_0x3c5f23(_0x5e196b)),K(0x1,_0x3c5f23(_0xd5d68c)),K(0x2,_0x3c5f23(_0x3cf479)),K(0x3,_0x3c5f23(_0x4ce731))],Bi);let $=class extends _0x4c3811{constructor(_0x5b480a=pr,_0x4f4ca4,_0x59cced,_0x3e8d14){const _0x13989f=_0x42a697;super(),this[_0x13989f(0x250)]=_0x5b480a,this[_0x13989f(0x2e4)]=_0x4f4ca4,this[_0x13989f(0x1f5)]=_0x59cced,this['_commandService']=_0x3e8d14,U(this,'_resolvedConfig',void 0x0);let {..._0x449ab3}=_0x4bcc46({},pr,this[_0x13989f(0x250)]);this[_0x13989f(0x31e)]=_0x449ab3,this['_configService'][_0x13989f(0x285)](fr,_0x449ab3),this['_initCommands'](),_0xfba3fc(_0x31550f);}[_0x42a697(0x236)](){const _0x542212=_0x42a697;this[_0x542212(0x2e4)][_0x542212(0x245)]([Ri]),this[_0x542212(0x2e4)][_0x542212(0x33d)](Ri);let _0x5eaab3=this[_0x542212(0x2e4)],_0x8264e0=[[J,{'useClass':Ar}],[kr,{'useClass':Or}],[Cr],[Y],[Q],[Fi],[Ii],[zi],[Li],[Bi]],_0x501e84=[[Q],[Ii],[Fi],[J],[zi],[Li],[Bi]];this[_0x542212(0x31e)][_0x542212(0x3dc)]&&(_0x8264e0[_0x542212(0x361)]([Pi]),_0x501e84[_0x542212(0x361)]([Pi])),_0x8264e0[_0x542212(0x1d2)](_0x5aa7e4=>_0x5eaab3['add'](_0x5aa7e4)),_0x3748ed(this[_0x542212(0x2e4)],_0x501e84);}[_0x42a697(0x254)](){const _0x596818=_0x42a697;var _0x50bbeb;(_0x50bbeb=this[_0x596818(0x2e4)]['get'](Q))==null||_0x50bbeb[_0x596818(0x3a3)]();}[_0x42a697(0x1cf)](){const _0x264698=_0x42a697;[Gr,Fr,Ir,Lr,Rr,V,mr][_0x264698(0x1d2)](_0x421f32=>this['disposeWithMe'](this['_commandService'][_0x264698(0x385)](_0x421f32)));}};U($,_0x42a697(0x232),_0x351816[_0x42a697(0x194)]),U($,_0x42a697(0x3a9),_0x42a697(0x1cb)),U($,_0x42a697(0x34b),_i),U($,_0x42a697(0x251),vi),$=q([_0x7bb0e4(_0x273b4b,_0x4bd1ff,_0x364117,_0x53c22d,_0x3f289a,_0x34e502,_0x594a73,_0x554972,_0x32fcea),K(0x1,_0x3c5f23(_0x2f4582)),K(0x2,_0x42fc9b),K(0x3,_0x5e196b)],$);export{J as ISheetsChartUIService,fr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Q as SheetsChartUIController,$r as SheetsChartUIMenuSchema,Ar as SheetsChartUIService,$ as UniverSheetsChartUIPlugin};
|