@univerjs-pro/sheets-pivot 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5799(){const _0x19ebc8=['CELL_CONTENT','resetArea','UpdateValuePositionMutation','dataFieldManagerConfig','_deletePivotTableInstanceCache','_createExclusiveRange','updateConfig','_deleteModelCache','registerPluginResource','range','updateViewData','getTargetByPivotId','RemovePivotFieldMutation','node','SetSubtotalType','MUTATION','removePivotField','@univerjs/engine-render','SheetsSelectionsService','refreshData','RenamePivotFieldMutation','_globalSubject','removeCollections','getSheets','exports','getTypeOfUnitDisposed$','_pivotConfigChange$','SetPivotFieldsConfigCommand','sheets-pivot.cellDateGroupDisplay.hourMinute','_configService','_sheetsPivotTableService','NO_COMMERCIAL','blank','pivotInitCompleted$','remove','colInfo','updateValuePosition','mergeWorksheetSnapshotWithDefault','PositionType','fieldsCollectionChange$','intersects','ManualFilter','collection','getAutoDisplayName','rowCount','getTextSize','#FFFFFF','ResetPivotFieldsConfigCommand','reduce','SetOptions','Count\x20of\x20','getRangeStartEndInfo','_queryingMap','registerDirtyService','splice','getRowCount','getFilterInfo','setPivotSort','unitId','pluginName','update','getActiveSheet','_viewData$','YearQuarter','sheet.mutation.add-group-collection','#e6ebfb','getFieldById','movePivotField','sheets-pivot.dateGroup.minute','getPivotItemRenderInfoCache','SetPivotCollapse','subUnitId','random','Var\x20of\x20','addField','_sheetInterceptorService','sheets.tabs.sheet','result','InsertSheetMutation','2594324WPccUC','viewUpdate$','pivotTableId','markDirty','sheets-pivot.dateGroup.yearQuarter','_init','iterateFieldByArea','deleteUnitId','getAutoFitColumnsMutations','SetRangeValuesMutation','startRow','_configVersion$','_commandService','setRangeKeyMap','MIN_SAFE_INTEGER','Rectangle','Plugin','_dataFieldManagerCollection','_dataSyncPrimaryController','sheet.command.add-pivot-table-with-config','deleteField','width','dateType','SetPivotCollapseCommand','LocaleService','IResourceManagerService','substring','rowInfo','level','pivotTableIndexConfig','stringify','getUpdateRangeDeleteIds','_initRemoveSheetCommandInterceptor','FORCE_STRING','setOptions','getLastRow','setPivotTableConfig','getDate','getPivotTableConfig','interceptor','rxjs','toJSON','Varp\x20of\x20','Min\x20of\x20','#1d32e9','registerCommand','UniverEngineFormula','getNoUsedDataFieldIds','DIV_BY_ZERO','SetPivotFilterCommand','sheets-pivot.stdDevpName','_viewUpdate$','needSameDeleteModel','_initGlobalComputed','Hour','getFilterFieldIdByIndex','columnFields','SetPivotSortCommand','_sheetsPivotRpcService','BehaviorSubject','_injector','updateRenderCache','setRangeValueUndoMutation','message','deleteDataField','UpdatePivotValuePositionCommand','subscribe','STRING','createValueField','COLUMN','ErrorType','varp','PIVOT_MUTATION_GENERATE','_textInfo','DEFAULT_WORKSHEET_ROW_COUNT','updateCollectionConfig','startColumn','textInfo','Column','getSheetId','ResetPivotTable','removePivotTable','AddPivotField','stdDevp','dataFieldId','sheet.command.pivot-drill-down','@univerjs-pro/engine-pivot','getDataFieldManager','getTargetByPivotTableId','onQueryEnd','PivotViewCellValueTypeEnum','ClearSelectionAllCommand','getUnit','collectionChange$','endColumn','_localeService','createAsyncInterceptorKey','SheetsPivotDataSourceModel','_pivotRenderValueMatrixCache','getCellRaw','getPivotTableIdByCell','@univerjs/core','split','register','getDirtyInfo','_pivotTableMatrixInfo','tableFieldId','_ensurePivotTableRangeInfo','stdDev','updateFieldSourceInfo','UpdateValuePosition','SheetsPivotRPCService','getFormatInfo','UniverLicensePlugin','foreach','function','originTargetInfo','options','prototype','getFieldDataType','NotNumber','generateRandomId','1264152pwbIGh','values','rangesInfo','isErrorValue','pbt','GrandTotal','call','find','uniqueDataFieldName','sheet.mutation.send-pivot-view-local','format','contains','_resourceManagerService','_pivotTableRangeInfo','add','ClearSelectionContentCommand','SetPivotPositionMutation','rgb(240,241,243)','_activeDirtyManagerService','addDataFieldWithoutUnitInfo','isText','_refRangeHandle','valuePosition','_subjectViewChange','adjustSheetCellData','getSheetFeatureLimit','Delete','toString','forValue','isDateValue','registerSyncingMutations','headerMap','min','getStyles','_sheetsPivotDataSourceModel','sheet.mutation.update-pivot-table-source-range','object','filterId','clearRenderCache','cellToRange','charCodeAt','isValue','sheet.mutation.add-pivot-field','asyncInterceptor','_sheetsPivotTableConfigModel','sheet.mutation.pivot-update-field-position','setDirty','interceptCommand','Values','sheet.mutation.update-date-group','pushComputingStatusSubject','handleSourceRangeChange','sheet.command.update-pivot-value-position','dispose','getCurrentUnitForType','collapseInfo','SetPivotSetting','sheet.mutation.set-pivot-sort-info','startCollectChangeset','IActiveDirtyManagerService','@univerjs/sheets-filter','None','Set','5922894dbLvBX','renameField','updatePivotTableRangeInfo','@univerjs/engine-formula','createCollectionWithDataRange','fetchThroughAsyncInterceptors','PivotDisplayDataType','IFeatureCalculationManagerService','getFieldFormat','10245352BdUGAY','token','getSubUnitPivotMatrix','sheets-pivot.value','updateFieldPosition','dataStream','InterceptorEffectEnum','_collectionConfigModel','AddPivotFieldCommand','colCount','New','applyChangeSet','MoveRangeCommand','removeCollectionImp','CommandType','Existing','removeField','getPivotInfoByLicense','Tools','LS_CONFIG_KEY','getIntersectsPivotTable','PivotSubtotalTypeEnum','PivotFilterTypeEnum','iterateField','rangeType','sheets-pivot.emptyPivot.filter','dataStyle','getTextInfo','sheet.command.set-pivot-fields-config','_subjectFieldsCollectionChange','@univerjs-pro/license','lastCol','getFieldIds','Collapse','getValue','_initPivotTextInfo','setCollapse','initDataRanges','StdDev\x20of\x20','getFieldPositionInfoById','Add','INTERCEPTOR_POINT','MovePivotField','Minute','colHeaderMap','DisposableCollection','getPivotTableRangeInfo','setDataRecordCount','pivotPerformCheck','HourMinute','COMMAND','sheet.operation.pivot-table-view-formula-mark-dirty','disposeWithMe','UniverCore','getLastCol','undos','getIndexesByPathStr','_univerInstanceService','valueFilter','Subtotal','custom','generateNewSheetName','sheets-pivot.varName','filterFields','removeDataField','pushUndoRedo','sheet.command.set-pivot-filter','new','sheet.command.set-pivot-field-setting','3965416nmAQZp','IUniverInstanceService','updateAllDisplayName','SetPivotCollapseMutation','SetWorksheetColWidthMutation','DataField','setPivotCollapse','SheetsPivotTableAdaptorModel','sheets-pivot.blank','getPivotDirtyViewInfo','entries','Value','valueIndex','RemovePivotFieldCommand','PivotCallbackEnum','setLabelFilterInfo','Sum\x20of\x20','FontCache','UniverProEnginePivot','params','grandTotal','numfmt','col','sheets-pivot.columnName','Expand','Column\x20','clearExclusiveRangesByGroupId','SHEET_PIVOT_IN_MAIN_THREAD','rangeKey','createLabelField','endCollectChangeset','InsertSheetUndoMutationFactory','PivotTableValuePositionEnum','addCollectionByJSON','_initViewModelBySheetInterceptor','getPivotTableModelConfig','_getPivotAppliedRanges','Row','NAME','markDirty$','addRecord','type','unshift','getCurrentSelections','getRefRangeMutationsByMoveRange','#f4f4f5','UpdateFieldPositionMutation','SetPivotSubtotalTypeMutation','setFieldFormat','sortInfo','numberToABC','getSheetBySheetId','_sheetsPivotTableAdaptorModel','PivotDataFieldDataTypeEnum','_subjectCollectionChange','existing','filter','setRange','getName','replace','YearMonthDate','colStyle','redos','resetPivotTable','Filter','includes','@univerjs/rpc','addPivotTable','_ensureViewDataMap','error','PivotCellStyleTypeEnum','createInterceptorKey','hasField','realDeleteValue','_onRefRangeChange','parse','getPivotTableInstance','targetCellInfo','dataFields','UniverSheets','_ensurePivotItemRenderValueMatrixCache','sideEffectUpdateWorkerCache','return\x20','subTotalStyle','handleMoveRange','onCommandExecuted','sequenceExecute','sheet.mutation.rename-pivot-field','IConfigService','SetPivotValueFilterCommand','isDate','count','sheets-pivot.grandTotal','SetPivotSort','toStringTag','sheets-pivot.dateGroup.month','Grand\x20Total','sheets-pivot.cellDateGroupDisplay.year','isNaN','setSourceName','UpdatePivotFieldSourceInfoMutation','_initCommandInterceptListener','SetSortInfo','_viewData','minDate','getMatrix','_updateModelCache','getRangeData','disposableCollection','getColumnCount','formJSON','sheet.mutation.pivot-update-field-source-info','UniverProSheetsPivot','getRangeKeyList','PivotTableFiledAreaEnum','UniverEngineRender','sheet.mutation.remove-group-collection','setPivotTable','getValuePosition','YearMonth','rangeKeyMap','Klp7h9Bp\x20GD7zOsh9Bp(w97DpWD,\x20slqw97fDO)\x20{\x20\x20\x20\x20hzO\x20{\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20w97DpWD5pKBdEzhLzzEO\x20=\x20w97DpWD.Wsw9h(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20Bz9U9prDWWEUD\x20=\x20tHem.sEzWD(EhBq(w97DpWD5pKBdEzhLzzEO[X]));\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!Bz9U9prDWWEUD.lG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bz9U9prDWWEUD.lG\x20=\x20ml1qDz(w97DpWD5pKBdEzhLzzEO[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x209WnBzgDz\x20=\x20hOsDBK\x20nBzgDz2wBqEwH7BsD\x20!==\x20\x27lpGDK9pDG\x27\x20&&\x20WDwK\x209pWhEp7DBK\x20nBzgDz2wBqEwH7BsD;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x207BphDIh\x20=\x209WnBzgDz\x20?\x20WDwK\x20:\x20u9pGBu;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[X]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(1DWWEUDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[S]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(W9UpEhlzDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpJEw9G\x20=\x207BphDIh.__RDz9KO__(W9UpEhlzD,\x201DWWEUD,\x20slqw97fDO);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20GB1E9p\x20=\x20Bz9U9prDWWEUD.G1;\x20\x20\x20\x20\x20\x20\x20\x20Klp7h9Bp\x209WbB1E9prEh7v9pU(BdEhhDzp,\x20BYBWh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzp\x20=\x20BdEhhDzp.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWh\x20=\x20BYBWh.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpdEzhW\x20=\x20sEhhDzp.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhdEzhW\x20=\x20vBWh.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!sEhhDzp.9p7wlGDW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzp\x20===\x20vBWh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(sEhhDzpdEzhW.wDpUhv\x20<\x20X\x20||\x20sEhhDzpdEzhW[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20KEwWD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpHlKK9I\x20=\x20sEhhDzpdEzhW.Ww97D(4).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhHlKK9I\x20=\x20vBWhdEzhW.Ww97D(-sEhhDzpdEzhW.wDpUhv\x20+\x204).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzpHlKK9I\x20===\x20vBWhHlKK9I;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wDh\x20GB1E9pJEw9G\x20=\x20(GB1E9p\x20&&\x20GB1E9p.wDpUhv)\x20?\x20GB1E9p.WB1D((G15hD1)\x20=>\x209WbB1E9prEh7v9pU(G15hD1,\x20wB7Eh9Bp.vBWhpE1D))\x20:\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x209K\x20(wB7Eh9Bp.vBWhpE1D\x20===\x20\x27wB7EwvBWh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GB1E9pJEw9G\x20=\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20REw9G\x20=\x20W9UpJEw9G\x20&&\x20GB1E9pJEw9G;\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20Bz9U9prDWWEUD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x207Eh7v\x20(DzzBz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G:\x20KEwWD,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','intercept','sheet.command.move-pivot-field','MAX_SAFE_INTEGER','sheets-pivot.dateGroup.yearMonthDate','GlobalComputingStatusService','getRangeKey','dimension','getPivotCellInfo','refreshDataField','_sheetsSelectionsService','unshiftString','Date','symbol','cornerInfo','getFullYear','forEach','get','_initConfig','PivotDateGroupFieldDateTypeEnum','sheets-pivot.stdDevName','DEFAULT_WORKSHEET_COLUMN_COUNT','leftOffset','CellValueType','sum','setPivotInitCompleted','sheets-pivot.countNumsName','pivotMutationGenerate','Product\x20of\x20','InsertSheetCommand','sheet.mutation.send-pivot-data-local','getColCount','query','Range','RemoveColMutation','sheets-pivot.cellDateGroupDisplay.hour','IUndoRedoService','single','getPivotTableCellData','keys','getFieldInfo','size','cornerRanges','PivotTableChangeTypeEnum','_host','_config','Disposable','viewData$','_ensurePivotItemRenderInfoCache','fieldIds','setRangeValueRedoMutation','getOwnPropertyDescriptor','BaseGroupField','setTextInfo','getColumnWidth','some','refreshGroupField','SetPivotOptionMutation','NotName','max','PivotView','setSubtotalType','serializeRangeWithSpreadsheet','Div0','from','NUM','getValueFilterInfos','_globalComputedStartHelpFunc','SetPivotTableConfig','createDataFieldId','DrillDown','asObservable','getMatrixFromRunTimeData','5678420jLKkKP','sourceName','getFieldListByArea','_exclusiveRangeService','PivotErrorTypeEnum','_model','UpdatePivotSource','average','getUnitId','getViewData','rowRanges','sheetName','var','updatePivotSource','panel','pivotTableConfigs','areaInfo','_initRegisterCommand','body','_globalComputingSrv','_initPivotDataGetListener','delete','getSortInfo','BLANK_ROW_COUNT','InterceptorManager','collectionConfig','string','isBottomTotal','getInterceptPoints','PivotTableViewDirtyMarkOperation','configVersion$','getSheetCommandTarget','reset','sheets-pivot.dateGroup.hour','setConfig','hasOwnProperty','fieldsConfig','paths','getValueIndex','_generateUniqueVersion','Injector','cellValue','notExecuteFormula','Subject','sheets-pivot.dateGroup.monthDate','setValueFilterInfo','getDataFieldId','updateDirtyPivotTable','addExclusiveRange','Quarter','getDataFieldByDataFieldId','getPivotTableInfo','isBaseGroupField','SHEET_PIVOT_TABLE_PLUGIN','Max\x20of\x20','SheetsPivotTableService','sheet.command.remove-pivot-field','isEmpty','sheets-pivot.sumName','ICommandService','lastRow','sheets-pivot.cellDateGroupDisplay.yearMonth','_fieldsCollectionChange$','limit\x20pivot','handleAsyncResponse','getMatrixValue','excelDateToUnixMilliseconds','subtotal','sheets-pivot.cellDateGroupDisplay.yearQuarter','getHeaderMapItem','SheetInterceptorService','getFieldCountByArea','sheets-pivot.varpName','_initLocale','generateHexNumber','getCollection','deepClone','pageRanges','setSortInfo','_collectionChange$','getDataFieldItemInfo','updateConfigCache','_getAutoName','_initSnapshot','getCellMatrix','fetchThroughInterceptors','broadcastCollectionChange','setPivotFilter','row','bind','sheets-pivot.cellDateGroupDisplay.date','measure','iterateFieldDim','valueFields','sheets-pivot.cellDateGroupDisplay.yearMonthDate','prefix','getSourceName','getFontStyleString','UniverProLicense','sourceRangeInfo','RemoveField','UpdateFieldPosition','rowHeaderMap','name','RefRangeService','info','defaultThemeStyle','valid','MovePivotTableCommand','459118hzkncO','UpdateSource','triggerDirtyFeature','\x20-\x20','Month','getPivotDisplayConfig','_featureCalculationManagerService','registerRefRange','PivotMultipleValueId','UpdatePivotTableSourceRangeMutation','isColMultiMeasure','versions','version','SheetsPivotTableConfigModel','tuple','RemovePivotTableMutation','4ZXXDFN','number','getEmptyPivotRanges','sheets-pivot.cellDateGroupDisplay.minute','getTableFieldById','RemoveSheetMutation','sheet.command.add-pivot-table','_ensurePivotMap','addDirtyPivotTable','ObjectMatrix','oldMatrix','SetCollapse','sheet.mutation.get-pivot-data-local','SetFilterInfo','_toJSON','batch','generateMutationsByRanges','updateView','SetPivotFilter','SetValuePivotFilter','Style','_markDirty$','SetValueFilter','getSheetBySheetName','UniverInstanceType','Total','_updateRenderEmptyCache','updateViewInfo','sheets-pivot.emptyPivot.row','isFeatureAuthorizedWithinTime','addPivotTableWithConfig','PivotTable','concat','dataFieldsCollection','setDateType','#b2b2b2','document','sheet.command.set-pivot-collapse','_pivotRenderInfoCache','isDateGroupField','fields','SetFieldFormat','StdDevp\x20of\x20','Optional','sheet.mutation.remove-pivot-table','set','addPivotField','drillDown','getSubtotal','floor','getAutoDisplayNameFunction','Year','matrix','generateSetRangeValueMutations','pivotConfigChange$','getGroupFieldsInfoByIds','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setValuePivotFilter','addCollection','defineProperty','sheet.mutation.set-pivot-filter','MovePivotFieldCommand','value','originalFieldId','UniverSheetsPivotTablePlugin','filterInfo','SetWorksheetActiveOperation','_pivotTableInstanceCache','getConfig','isArray','data','_globalComputedEndHelpFunc','_refRangeService','collections','CustomCommandExecutionError','rangeCache','sheet.mutation.remove-pivot-field','getMonth','rowFields','UpdatePivotTableSourceRangeCommand','getDataFieldByTableId','sheet.mutation.set-pivot-position','getDisplayName','fromJSON','column','next','map','sheets-pivot.emptyPivot.column','REF','registerCallbackWithEvent','transFromCellValue','sheets-pivot.dateGroup.date','SHEET_PIVOT_EXCLUSIVE_ID','length','has','push','getId','countNums','_pivotInitCompleted$','getOriginFieldId','AddPivotTableWithConfig','sheets-pivot.subTotal','canUsePivot','MonthDate','AddPivotTable','RemovePivotField','parseInt','_initUnitDisposed','slice','setPivotSetting','sheet.mutation.set-pivot-value-filter','sheets-pivot.maxName','sheet.command.set-pivot-value-filter','shouldClear','sheet.mutation.add-pivot-table','executeCommand','setValue','removeValueFilterInfoByValueFieldId','NUMBER','displayName','workbook\x20is\x20not\x20found','_updatePivotTableInstanceCache','getSubUnitPivotConfigs','UNIVER_SHEET','Inject','endRow','sheets-pivot.averageName','setName','_requestResolvers','addFieldWithSourceId','_initDataSendListener'];_0x5799=function(){return _0x19ebc8;};return _0x5799();}function _0x2079(_0x100884,_0x42560d){const _0x5799b2=_0x5799();return _0x2079=function(_0x2079a0,_0xf4c4a9){_0x2079a0=_0x2079a0-0x11e;let _0x398285=_0x5799b2[_0x2079a0];return _0x398285;},_0x2079(_0x100884,_0x42560d);}(function(_0x5496ae,_0x48751b){const _0x45d203=_0x2079,_0x373121=_0x5496ae();while(!![]){try{const _0x25d49d=-parseInt(_0x45d203(0x225))/0x1+parseInt(_0x45d203(0x235))/0x2*(parseInt(_0x45d203(0x381))/0x3)+-parseInt(_0x45d203(0x307))/0x4+parseInt(_0x45d203(0x1b8))/0x5+-parseInt(_0x45d203(0x3c0))/0x6+-parseInt(_0x45d203(0x40e))/0x7+parseInt(_0x45d203(0x3c9))/0x8;if(_0x25d49d===_0x48751b)break;else _0x373121['push'](_0x373121['shift']());}catch(_0x2ee663){_0x373121['push'](_0x373121['shift']());}}}(_0x5799,0x91f19),function(_0x459298,_0x644158){const _0xebe184=_0x2079;typeof exports==_0xebe184(0x3a5)&&typeof module<'u'?_0x644158(exports,require(_0xebe184(0x35d)),require(_0xebe184(0x36c)),require(_0xebe184(0x3c3)),require('@univerjs/sheets'),require(_0xebe184(0x32f)),require(_0xebe184(0x3e7)),require(_0xebe184(0x3bd)),require(_0xebe184(0x138)),require(_0xebe184(0x2c9))):typeof define==_0xebe184(0x37a)&&define['amd']?define([_0xebe184(0x2d0),_0xebe184(0x35d),_0xebe184(0x36c),'@univerjs/engine-formula','@univerjs/sheets',_0xebe184(0x32f),_0xebe184(0x3e7),_0xebe184(0x3bd),_0xebe184(0x138),_0xebe184(0x2c9)],_0x644158):(_0x459298=typeof globalThis<'u'?globalThis:_0x459298||self,_0x644158(_0x459298[_0xebe184(0x166)]={},_0x459298[_0xebe184(0x420)],_0x459298[_0xebe184(0x3fe)],_0x459298[_0xebe184(0x335)],_0x459298[_0xebe184(0x145)],_0x459298[_0xebe184(0x32f)],_0x459298[_0xebe184(0x21a)],_0x459298['UniverSheetsFilter'],_0x459298['UniverRpc'],_0x459298[_0xebe184(0x169)]));}(this,function(_0x1f13ed,_0x570035,_0x4417df,_0x4d88b0,_0x3bcacb,_0x1dc88d,_0x34fa9b,_0x587a0d,_0x13d8f1,_0x36a6fb){'use strict';const _0x31d072=_0x2079;var _0x506bf7=Object['defineProperty'],_0x27a533=(_0x5b0aee,_0x4988a3,_0x33951a)=>_0x4988a3 in _0x5b0aee?_0x506bf7(_0x5b0aee,_0x4988a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33951a}):_0x5b0aee[_0x4988a3]=_0x33951a,_0x36561d=(_0x1cd570,_0x54183c,_0x486d4e)=>_0x27a533(_0x1cd570,typeof _0x54183c!=_0x31d072(0x17c)?_0x54183c+'':_0x54183c,_0x486d4e);const _0x1c58ab=Number[_0x31d072(0x29f)](0x683dcdb3),_0x228871=0x10,_0x213ae5=0x1,_0x208d15=_0x31d072(0x1ed),_0x2fa24f=0x1,_0x59b0ac=_0x31d072(0x392),_0x51a10b='rgb(255,255,255)',_0x2f0736=_0x31d072(0x258),_0x17d4e=_0x31d072(0x123),_0x498593='#f4f4f5',_0x3764d2='#eceeff',_0x38d127=_0x31d072(0x333),_0x5ab96c=_0x31d072(0x2e6),_0x2e07bd='#e6ebfa',_0x3ca1fc=_0x31d072(0x333),_0x2719f3=_0x31d072(0x2e6),_0x4366ff=_0x31d072(0x2f9),_0x5ce418=0xe,_0x3e5c14=0x6;var _0x22968b=(_0x27f253=>(_0x27f253[_0x31d072(0x3d8)]=_0x31d072(0x12d),_0x27f253[_0x31d072(0x3d3)]=_0x31d072(0x40c),_0x27f253))(_0x22968b||{});const _0x8b6e3f={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0xd8bfb1=0x1e,_0x2d88af={'b':{'s':0x1,'cl':{'rgb':_0x2f0736}},'l':{'s':0x1,'cl':{'rgb':_0x2f0736}},'r':{'s':0x1,'cl':{'rgb':_0x2f0736}},'t':{'s':0x1,'cl':{'rgb':_0x2f0736}}},_0x46f2f0={'bg':{'rgb':_0x59b0ac},'ht':0x2,'vt':0x2,'tb':0x1},_0xde1f9b={'bg':{'rgb':_0x51a10b},'ht':0x2,'vt':0x2,'tb':0x1},_0x333486={'rowStyle':{'bg':{'rgb':_0x4366ff},'bd':_0x2d88af,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x3ca1fc},'bd':null,'cl':{'rgb':_0x2719f3},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x2d88af,'bg':{'rgb':_0x2e07bd},'vt':0x2},'cornerStyle':{'bd':_0x2d88af,'bg':{'rgb':_0x3764d2},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x2d88af,'bg':{'rgb':_0x17d4e},'vt':0x2},'leafStyle':{'bd':_0x2d88af,'bg':{'rgb':_0x498593},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x38d127},'cl':{'rgb':_0x5ab96c},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x2d88af,'vt':0x2}};function _0x33b037(_0x4946b8,_0x33ef98,_0x4331d3){const _0x228825=_0x31d072,_0x191921=_0x4946b8[_0x228825(0x180)](_0x4417df[_0x228825(0x31f)]),_0x5845cf=_0x4331d3[_0x228825(0x36d)]('_');switch(_0x33ef98){case _0x570035[_0x228825(0x182)][_0x228825(0x268)]:return _0x191921['t'](_0x228825(0x157),..._0x5845cf);case _0x570035[_0x228825(0x182)]['Minute']:return _0x191921['t'](_0x228825(0x238),..._0x5845cf);case _0x570035[_0x228825(0x182)]['Hour']:return _0x191921['t'](_0x228825(0x192),..._0x5845cf);case _0x570035['PivotDateGroupFieldDateTypeEnum'][_0x228825(0x3fa)]:return _0x191921['t'](_0x228825(0x2d4),..._0x5845cf);case _0x570035['PivotDateGroupFieldDateTypeEnum'][_0x228825(0x17b)]:return _0x191921['t'](_0x228825(0x212),..._0x5845cf);case _0x570035[_0x228825(0x182)][_0x228825(0x229)]:return _0x191921['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x5845cf);case _0x570035[_0x228825(0x182)]['Quarter']:return _0x191921['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x5845cf);case _0x570035[_0x228825(0x182)][_0x228825(0x16d)]:return _0x191921['t'](_0x228825(0x1f5),..._0x5845cf);case _0x570035[_0x228825(0x182)][_0x228825(0x132)]:return _0x191921['t'](_0x228825(0x216),..._0x5845cf);case _0x570035[_0x228825(0x182)]['YearQuarter']:return _0x191921['t'](_0x228825(0x1fc),..._0x5845cf);}return'';}const _0x5bdf97=(_0x6f65b6,_0x6a6706,_0x5c1d2e,_0x391f67)=>{const _0x3ffbee=_0x31d072;let _0x1e9991;const _0x4885d9=_0x6f65b6[_0x3ffbee(0x180)](_0x4417df[_0x3ffbee(0x40f)])['getCurrentUnitForType'](_0x4417df[_0x3ffbee(0x24d)]['UNIVER_SHEET']);if(!_0x4885d9)return null;const _0x220527=_0x4885d9['getStyles']();let _0x48b279;if(_0x5c1d2e&&(_0x48b279=_0x220527[_0x3ffbee(0x2a9)](_0x5c1d2e)),_0x6a6706!=null&&_0x6a6706['v']||(_0x6a6706==null?void 0x0:_0x6a6706['v'])===0x0){_0x1e9991||(_0x1e9991={});const _0x16e519=_0x536400(_0x6a6706['v']);typeof _0x16e519==_0x3ffbee(0x236)?_0x1e9991['t']=_0x4417df['CellValueType'][_0x3ffbee(0x2ab)]:typeof _0x16e519==_0x3ffbee(0x1d2)&&(_0x1e9991['t']=_0x4417df[_0x3ffbee(0x186)]['STRING']),_0x1e9991['v']=_0x16e519;}if((_0x6a6706!=null&&_0x6a6706['i']||(_0x6a6706==null?void 0x0:_0x6a6706['i'])===0x0)&&(_0x1e9991||(_0x1e9991={}),_0x1e9991['fi']=_0x6a6706['i']),_0x6a6706!=null&&_0x6a6706['s']&&(_0x1e9991||(_0x1e9991={}),_0x1e9991[_0x3ffbee(0x385)]=_0x6a6706['s']),_0x5c1d2e&&(_0x1e9991||(_0x1e9991={}),_0x1e9991['s']=_0x48b279),_0x391f67&&_0x1e9991!=null&&_0x1e9991['v']&&_0x1e9991['pbt']!==_0x570035[_0x3ffbee(0x13c)][_0x3ffbee(0x386)]&&_0x1e9991['pbt']!==_0x570035[_0x3ffbee(0x13c)][_0x3ffbee(0x404)]){const _0x8ada50=String(_0x1e9991['v']),{dateType:_0x18f67d}=_0x391f67;_0x1e9991['v']=_0x33b037(_0x6f65b6,_0x18f67d,_0x8ada50),_0x1e9991['t']=_0x4417df['CellValueType'][_0x3ffbee(0x34a)];}return _0x1e9991;},_0x311d12=(_0x36270f,_0x1c2842,_0x3981f0,_0x5c4c88)=>{const _0x227929=_0x31d072;var _0x8dc668,_0x46aaf6,_0x6b7fdd,_0x211577,_0x12721b,_0x323898,_0x102f09,_0x27fd34,_0x1612ea,_0x605f48,_0x3cd8f0,_0x300fc3,_0x151a92,_0x9c8aa3;const _0xaff758=_0x3981f0['targetCellInfo'],{cornerView:_0x4a5b79,rowView:_0x304f18,colView:_0x23e3c7,dataView:_0x450194,pageView:_0x28d03d,formatMap:_0x3e64d9,groupInfo:_0x5218a9}=_0x1c2842,{row:_0x5050ca,col:_0x4444cf}=_0xaff758,_0x3ffad5=new _0x4417df['ObjectMatrix'](),_0x18b997={},_0x3afb19={},_0x39dd81={},_0x4d6f14={},_0x16046e={};let _0x32c0c7=_0x5050ca,_0x473b3c=_0x4444cf;Object[_0x227929(0x196)](_0x28d03d[_0x227929(0x27b)])[_0x227929(0x17f)](_0x4a3644=>{const _0x50a58d=_0x227929;Object[_0x50a58d(0x196)](_0x28d03d[_0x50a58d(0x27b)][Number(_0x4a3644)])[_0x50a58d(0x17f)](_0x3fceca=>{const _0xb481e4={..._0x28d03d['data'][Number(_0x4a3644)][Number(_0x3fceca)]};_0x3ffad5['setValue'](Number(_0x4a3644)+_0x32c0c7,Number(_0x3fceca)+_0x473b3c,_0x5bdf97(_0x36270f,_0xb481e4,_0x333486['pageStyle']));});});const _0x1332a4=Object[_0x227929(0x196)](_0x28d03d[_0x227929(0x27b)])[_0x227929(0x292)];_0x32c0c7+=_0x1332a4+(_0x1332a4?_0x2fa24f:0x0);const _0x357f40=_0x4a5b79[_0x227929(0x2ef)](),_0x43f1d6=_0x4a5b79[_0x227929(0x18e)]();for(let _0x4857c3=0x0;_0x4857c3<_0x357f40;_0x4857c3++)for(let _0x396a6e=0x0;_0x396a6e<_0x43f1d6;_0x396a6e++){const _0x198927={...(_0x46aaf6=(_0x8dc668=_0x4a5b79['data'])==null?void 0x0:_0x8dc668[_0x4857c3])==null?void 0x0:_0x46aaf6[_0x396a6e]};_0x198927&&((_0x6b7fdd=_0x304f18[_0x227929(0x3a0)][_0x396a6e])!=null&&_0x6b7fdd[_0x227929(0x3aa)])&&_0x396a6e===_0x43f1d6-0x1&&_0x4857c3===_0x357f40-0x1&&(_0x198927['v']=''+_0x5c4c88[_0x227929(0x3cc)]),_0x3ffad5[_0x227929(0x2a9)](_0x4857c3+_0x32c0c7,_0x396a6e+_0x473b3c,_0x5bdf97(_0x36270f,_0x198927,_0x333486['cornerStyle']));}for(let _0x501c1b=0x0;_0x501c1b<_0x4a5b79[_0x227929(0x221)][_0x227929(0x292)];_0x501c1b++)_0x4a5b79[_0x227929(0x221)][_0x501c1b]&&(_0x39dd81[''+(_0x501c1b+_0x473b3c)]=_0x4a5b79['info'][_0x501c1b]);_0x473b3c+=_0x43f1d6;const _0x315865=_0x23e3c7[_0x227929(0x3a0)],_0x85096f=_0x23e3c7[_0x227929(0x32a)]()>=0x0?_0x23e3c7[_0x227929(0x32a)]()+0x1:0x0,_0x4d7b5b=_0x23e3c7[_0x227929(0x3ff)]()>=0x0?_0x23e3c7['getLastCol']()+0x1:0x0;for(let _0x5c7f7e=0x0;_0x5c7f7e<_0x4d7b5b;_0x5c7f7e++){for(let _0x4fb9fe=0x0;_0x4fb9fe<_0x85096f;_0x4fb9fe++){const _0x4793d0={...(_0x12721b=(_0x211577=_0x23e3c7[_0x227929(0x27b)])==null?void 0x0:_0x211577[_0x4fb9fe])==null?void 0x0:_0x12721b[_0x5c7f7e]},_0x27f3f6=(_0x323898=_0x315865[_0x4fb9fe])==null?void 0x0:_0x323898['tableFieldId'],_0x27d71c=_0x3e64d9[_0x27f3f6],_0x23c3f9=_0x5218a9[_0x27f3f6];_0x4793d0&&(_0x4793d0['v']=_0x56db4c(_0x4793d0,_0x4fb9fe===0x0&&((_0x102f09=_0x23e3c7['getHeaderMapItem'](_0x5c7f7e+0x1))==null?void 0x0:_0x102f09[_0x227929(0x3aa)]),_0x27d71c,_0x5c4c88));let _0x1ae188;_0x27d71c?_0x1ae188={..._0x333486[_0x227929(0x133)],'n':{'pattern':_0x27d71c}}:_0x1ae188={..._0x333486['colStyle']},_0x3ffad5[_0x227929(0x2a9)](_0x4fb9fe+_0x32c0c7,_0x5c7f7e+_0x473b3c,_0x5bdf97(_0x36270f,_0x4793d0,_0x1ae188,_0x23c3f9));}_0x23e3c7[_0x227929(0x221)][_0x5c7f7e]&&(_0x3afb19[''+(_0x5c7f7e+_0x473b3c)]=_0x23e3c7[_0x227929(0x221)][_0x5c7f7e]),_0x23e3c7[_0x227929(0x3a0)][_0x5c7f7e+0x1]&&(_0x16046e[''+(_0x5c7f7e+_0x32c0c7+0x1)]=_0x23e3c7[_0x227929(0x3a0)][_0x5c7f7e+0x1]);}_0x32c0c7+=_0x357f40;const _0x466c79=_0x304f18[_0x227929(0x3a0)],_0x49be04=_0x304f18[_0x227929(0x32a)]()>=0x0?_0x304f18['getLastRow']()+0x1:0x0,_0xe5e4cc=_0x304f18[_0x227929(0x3ff)]()>=0x0?_0x304f18[_0x227929(0x3ff)]()+0x1:0x0;for(let _0x156a04=0x0;_0x156a04<_0x49be04;_0x156a04++){for(let _0x19290c=0x0;_0x19290c<_0xe5e4cc;_0x19290c++){const _0x4b745e={...(_0x1612ea=(_0x27fd34=_0x304f18[_0x227929(0x27b)])==null?void 0x0:_0x27fd34[_0x156a04])==null?void 0x0:_0x1612ea[_0x19290c]},_0x48721f=(_0x605f48=_0x466c79[_0x19290c])==null?void 0x0:_0x605f48['tableFieldId'],_0x42ad45=_0x3e64d9[_0x48721f],_0x2ed1fd=_0x5218a9[_0x48721f];_0x4b745e&&(_0x4b745e['v']=_0x56db4c(_0x4b745e,!0x1,_0x42ad45,_0x5c4c88));let _0xbb7d85;_0x304f18[_0x227929(0x221)][_0x156a04]['level']===_0x304f18[_0x227929(0x18e)]()?_0xbb7d85=_0x333486['leafStyle']:_0x304f18[_0x227929(0x221)][_0x156a04][_0x227929(0x1d3)]?_0xbb7d85=_0x304f18[_0x227929(0x221)][_0x156a04][_0x227929(0x323)]===0x0?_0x333486[_0x227929(0x422)]:_0x333486['subTotalStyle']:_0xbb7d85=_0x333486['rowStyle'],_0x42ad45&&(_0xbb7d85={..._0xbb7d85,'n':{'pattern':_0x42ad45}}),_0x3ffad5[_0x227929(0x2a9)](_0x156a04+_0x32c0c7,_0x19290c+_0x4444cf,_0x5bdf97(_0x36270f,_0x4b745e,_0xbb7d85,_0x2ed1fd));}_0x304f18['info'][_0x156a04]&&(_0x18b997[''+(_0x156a04+_0x32c0c7)]=_0x304f18[_0x227929(0x221)][_0x156a04]),_0x304f18['headerMap'][_0x156a04]&&(_0x4d6f14[''+(_0x156a04+_0x4444cf)]=_0x304f18[_0x227929(0x3a0)][_0x156a04]);}const _0x519cca=_0x450194[_0x227929(0x2ef)](),_0x22df1a=_0x450194[_0x227929(0x18e)]();for(let _0x2be270=0x0;_0x2be270<_0x519cca;_0x2be270++)for(let _0xde066=0x0;_0xde066<_0x22df1a;_0xde066++){const _0x28745c={...(_0x300fc3=(_0x3cd8f0=_0x450194[_0x227929(0x27b)])==null?void 0x0:_0x3cd8f0[_0x2be270])==null?void 0x0:_0x300fc3[_0xde066]};let _0x41f5fa;_0x304f18[_0x227929(0x221)][_0x2be270][_0x227929(0x1d3)]?_0x41f5fa=_0x304f18['info'][_0x2be270][_0x227929(0x323)]===0x0?_0x333486[_0x227929(0x422)]:_0x333486['subTotalStyle']:_0x41f5fa=_0x333486[_0x227929(0x3e3)];const _0x5b0821=_0x304f18[_0x227929(0x221)][_0x2be270][_0x227929(0x41a)],_0x33a448=_0x23e3c7[_0x227929(0x221)][_0xde066]['valueIndex'],_0x2a95b4=Math[_0x227929(0x1aa)](_0x5b0821,_0x33a448),_0x3d049e=_0x3981f0[_0x227929(0x1dc)][_0x227929(0x215)]['concat']();let _0x834a72='';_0x2a95b4<0x0?_0x834a72=(_0x151a92=_0x3d049e[0x0])!=null?_0x151a92:'':_0x834a72=(_0x9c8aa3=_0x3d049e[_0x2a95b4])!=null?_0x9c8aa3:'';const _0x38162b=_0x3e64d9[_0x834a72];_0x38162b&&(_0x41f5fa={..._0x41f5fa,'n':{'pattern':_0x38162b}}),_0x3ffad5[_0x227929(0x2a9)](_0x2be270+_0x32c0c7,_0xde066+_0x473b3c,_0x5bdf97(_0x36270f,_0x28745c,_0x41f5fa));}return{'valueMatrix':_0x3ffad5,'rowInfo':_0x18b997,'colInfo':_0x3afb19,'cornerInfo':_0x39dd81,'rowHeaderMap':_0x4d6f14,'colHeaderMap':_0x16046e};};function _0x56db4c(_0x48212a,_0x20bfa7,_0x52c46f,_0x5084c9){const _0x2f968f=_0x31d072;let _0x5da145=_0x48212a['v'];_0x20bfa7&&(_0x5da145=''+_0x5084c9[_0x2f968f(0x3cc)]);const _0x4e5986=_0x48212a['t']&&(_0x48212a['t']&_0x570035[_0x2f968f(0x361)][_0x2f968f(0x2d8)])>0x0;if(_0x4e5986&&(_0x5da145=''+_0x5084c9[_0x2f968f(0x416)]),_0x48212a['s']===_0x570035[_0x2f968f(0x13c)][_0x2f968f(0x404)]){let _0x5aa931=_0x5da145,_0xd9bb75='';_0x570035['isPrefixValue'](_0x5da145)&&(_0x5aa931=_0x5da145[_0x2f968f(0x217)],_0xd9bb75=_0x5da145[_0x2f968f(0x273)]);const _0x3ef71b=_0x52c46f&&!_0x4e5986?_0x4417df[_0x2f968f(0x423)][_0x2f968f(0x38b)](_0x52c46f,Number(_0x5aa931)):_0x5aa931;_0xd9bb75?_0x5da145=_0x3ef71b+'\x20'+_0xd9bb75:_0x5da145=_0x3ef71b+'\x20'+_0x5084c9[_0x2f968f(0x29a)];}else _0x48212a['s']===_0x570035[_0x2f968f(0x13c)][_0x2f968f(0x386)]&&(_0x5da145=_0x5da145+'\x20'+_0x5084c9[_0x2f968f(0x152)]);return _0x5da145;}function _0x536400(_0x490d66){const _0x2f1134=_0x31d072;if(_0x570035[_0x2f1134(0x384)](_0x490d66)){const {errorType:_0x4cd3de}=_0x490d66;switch(_0x4cd3de){case _0x570035[_0x2f1134(0x1bc)][_0x2f1134(0x1ae)]:return _0x4d88b0[_0x2f1134(0x34d)][_0x2f1134(0x337)];case _0x570035['PivotErrorTypeEnum'][_0x2f1134(0x37f)]:return _0x4d88b0[_0x2f1134(0x34d)][_0x2f1134(0x1b0)];case _0x570035[_0x2f1134(0x1bc)]['NotFunction']:return _0x4d88b0[_0x2f1134(0x34d)][_0x2f1134(0x434)];case _0x570035[_0x2f1134(0x1bc)][_0x2f1134(0x1a9)]:return _0x4d88b0['ErrorType'][_0x2f1134(0x434)];case _0x570035['PivotErrorTypeEnum']['BadReference']:return _0x4d88b0[_0x2f1134(0x34d)][_0x2f1134(0x28d)];}}return _0x490d66;}function _0x3624ce(_0x216783,_0x4fbe26,_0x1e0ef8=!0x1,_0x20035d=!0x1){const _0x4a0053=_0x31d072,{data:_0x4c6156}=_0x4fbe26,_0x5b17cf=_0x4fbe26['getRowCount'](),_0x4b4875=_0x4fbe26[_0x4a0053(0x18e)]();if(_0x5b17cf<=0x0||_0x4b4875<=0x0)return[];const _0x301fde=_0x4fbe26[_0x4a0053(0x3ff)](),_0x320d3f=_0x4fbe26[_0x4a0053(0x32a)](),_0x4a9dee=_0x20035d?_0x320d3f>=0x0?_0x320d3f+0x1:0x0:_0x5b17cf,_0xfe6068=_0x20035d?_0x301fde>=0x0?_0x301fde+0x1:0x0:_0x4b4875,{row:_0x288b5a,col:_0x4c1205}=_0x216783,_0x2164ed=_0x288b5a,_0x2a2bc9=_0x4c1205;if(_0x1e0ef8){const _0x223f94=[];for(const [_0x2f4768,_0x3a51aa]of Object['entries'](_0x4c6156))for(const [_0xbc75e9,_0x4f572c]of Object[_0x4a0053(0x418)](_0x3a51aa))_0x223f94['push'](_0x4417df[_0x4a0053(0x3a8)](_0x2164ed+Number(_0x2f4768),_0x2a2bc9+Number(_0xbc75e9)));return _0x223f94;}else{const _0x52f88b=_0x20035d?_0x4a9dee>0x0?0x1:0x0:0x1,_0x2ca99b=_0x20035d?_0xfe6068>0x0?0x1:0x0:0x1,_0x1827da=_0x288b5a+_0x4a9dee-_0x52f88b,_0x128121=_0x4c1205+_0xfe6068-_0x2ca99b;return[{'startRow':_0x2164ed,'startColumn':_0x2a2bc9,'endRow':_0x1827da,'endColumn':_0x128121}];}}const _0xe54c00=_0x31d072(0x429),_0xa31e85=_0x31d072(0x291);var _0x1ffaf9=(_0xe243df=>(_0xe243df[_0x31d072(0x136)]=_0x31d072(0x12e),_0xe243df['Panel']=_0x31d072(0x1c6),_0xe243df[_0x31d072(0x359)]=_0x31d072(0x263),_0xe243df[_0x31d072(0x299)]=_0x31d072(0x299),_0xe243df[_0x31d072(0x29d)]=_0x31d072(0x139),_0xe243df[_0x31d072(0x3f3)]=_0x31d072(0x2fb),_0xe243df[_0x31d072(0x29e)]='removePivotField',_0xe243df['SetPivotCollapse']=_0x31d072(0x414),_0xe243df[_0x31d072(0x247)]=_0x31d072(0x20f),_0xe243df['SetPivotSort']='setPivotSort',_0xe243df[_0x31d072(0x3b9)]=_0x31d072(0x2a2),_0xe243df[_0x31d072(0x1be)]=_0x31d072(0x1c5),_0xe243df[_0x31d072(0x375)]=_0x31d072(0x2dc),_0xe243df['DrillDown']='drillDown',_0xe243df[_0x31d072(0x248)]=_0x31d072(0x26e),_0xe243df['SetPivotTableConfig']=_0x31d072(0x32b),_0xe243df[_0x31d072(0x357)]=_0x31d072(0x135),_0xe243df))(_0x1ffaf9||{});const _0x152c3e={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x31d072(0x427),'sheets-pivot.subTotalText':_0x31d072(0x24e),'sheets-pivot.grandTotalText':_0x31d072(0x156),'sheets-pivot.valueText':_0x31d072(0x419),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x31d072(0x2ea),'sheets-pivot.countNumsName':_0x31d072(0x2ea),'sheets-pivot.maxName':_0x31d072(0x1ee),'sheets-pivot.minName':_0x31d072(0x332),'sheets-pivot.productName':_0x31d072(0x18b),'sheets-pivot.stdDevName':_0x31d072(0x3ef),'sheets-pivot.stdDevpName':_0x31d072(0x25f),'sheets-pivot.sumName':_0x31d072(0x41e),'sheets-pivot.varName':_0x31d072(0x301),'sheets-pivot.varpName':_0x31d072(0x331),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x31d072(0x156),'sheets-pivot.value':_0x31d072(0x273),'sheets-pivot.blank':_0x31d072(0x2d8),'sheets-pivot.emptyPivot.filter':_0x31d072(0x136),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x31d072(0x355),'sheets-pivot.emptyPivot.values':_0x31d072(0x3b1)},_0x9259bd={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2f9d04=_0x4417df[_0x31d072(0x367)](_0x31d072(0x3f9)),_0x1659a1=_0x4417df[_0x31d072(0x13d)](_0x31d072(0x18a));var _0x46a58e=(_0x3beb52=>(_0x3beb52[_0x31d072(0x38f)]=_0x31d072(0x38f),_0x3beb52[_0x31d072(0x1cd)]=_0x31d072(0x1cd),_0x3beb52[_0x31d072(0x2f4)]='update',_0x3beb52))(_0x46a58e||{}),_0x1cfd99=(_0x176486=>(_0x176486[_0x31d072(0x3f1)]='add',_0x176486[_0x31d072(0x3bf)]='set',_0x176486[_0x31d072(0x39b)]=_0x31d072(0x1cd),_0x176486))(_0x1cfd99||{});const _0xd68440={0x0:'B',0x1:'m',0x2:'G',0x3:'F',0x4:'1',0x5:'I',0x6:'8',0x7:'c',0x8:'Y',0x9:'i','k':'0','X':'2','S':'3','M':'4','C':'5','o':'6','T':'7','i':'9','E':'a','q':'b','G':'d','D':'e','K':'f','U':'g','v':'h','x':'j','g':'k','w':'l','p':'n','B':'o','s':'p','N':'q','z':'r','W':'s','h':'t','l':'u','R':'v','u':'w','I':'x','O':'y','a':'z','L':'A','j':'C','b':'D','y':'E','Y':'H','t':'J','f':'K','c':'L','r':'M','m':'N','e':'O','d':'P','V':'Q','F':'R','H':'S','P':'T','Z':'U','J':'V','n':'W','Q':'X','A':'Z'},_0x41599d=_0x31d072(0x16f),_0x31ec6f={'type':_0x4417df[_0x31d072(0x3d7)]['MUTATION'],'id':_0x31d072(0x241),'handler':()=>!0x0},_0x322627={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x18d),'handler':()=>!0x0},_0x311c32={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x38a),'handler':()=>!0x0},_0x5d2fae={'type':_0x4417df[_0x31d072(0x3d7)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x568db5={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x46be6b=_0x4b4127=>{const _0x450909=_0x31d072;var _0x3de1f4;return((_0x3de1f4=_0x4b4127[_0x450909(0x1ca)])==null?void 0x0:_0x3de1f4[_0x450909(0x3ce)][_0x450909(0x131)](/\r\n$/,''))||'';};class _0x50f65f extends _0x570035['DataFieldManager']{constructor(_0x525b62,_0x40bfec){const _0x4bc4e6=_0x31d072;super(),_0x36561d(this,'rangeKeyMap',{}),_0x36561d(this,_0x4bc4e6(0x402)),_0x36561d(this,'_host'),(this[_0x4bc4e6(0x402)]=_0x40bfec,this[_0x4bc4e6(0x19b)]=_0x525b62);}[_0x31d072(0x3ee)](){const _0x2823bc=_0x31d072;for(const _0x3d690b in this['dataFields']){const _0x39a39c=this[_0x2823bc(0x144)][_0x3d690b],_0x30a6e3=_0x39a39c[_0x2823bc(0x175)]();this[_0x2823bc(0x16e)][_0x30a6e3]=_0x39a39c[_0x2823bc(0x295)]();}}[_0x31d072(0x267)](){const _0x4165ce=_0x31d072,_0xff5bc9=this['_host'];return _0x436271[_0x4165ce(0x211)](_0xff5bc9);}[_0x31d072(0x347)](_0x231878){const _0x405f90=_0x31d072,_0x480929=this[_0x405f90(0x144)][_0x231878]['rangeKey'];delete this[_0x405f90(0x144)][_0x231878],delete this['rangeKeyMap'][_0x480929];}[_0x31d072(0x394)](_0x324081){const _0x994c2c=_0x31d072;this[_0x994c2c(0x144)][_0x324081[_0x994c2c(0x295)]()]=_0x324081;}[_0x31d072(0x3d6)](_0x498364){const _0x450bdf=_0x31d072;var _0x18864c,_0x557d51;const _0x3ad7c2=this[_0x450bdf(0x19b)][_0x450bdf(0x2c3)](_0x498364);if(_0x3ad7c2){const {unitId:_0x1be9cd,subUnitId:_0x12010a}=_0x3ad7c2,_0x613b6c=(_0x18864c=this[_0x450bdf(0x19b)][_0x450bdf(0x32d)](_0x1be9cd,_0x12010a,_0x498364))==null?void 0x0:_0x18864c[_0x450bdf(0x21b)];this[_0x450bdf(0x19b)]['broadcastCollectionChange']({'token':_0x498364,'type':_0x46a58e['delete'],'dataRangeInfo':_0x613b6c});}(_0x557d51=this[_0x450bdf(0x203)](_0x498364))==null||_0x557d51[_0x450bdf(0x3b6)](),delete this[_0x450bdf(0x27e)][_0x498364];}['getRangeKey'](_0x37366e,_0x515e3c){const _0x3047cc=_0x31d072,{sheetName:_0x409511,unitId:_0x5107c2,range:_0x729d5a}=_0x37366e,{startRow:_0x2be489,endRow:_0x7f05eb}=_0x729d5a;return _0x4d88b0[_0x3047cc(0x1ad)](_0x5107c2,_0x409511,{'startRow':_0x2be489,'endRow':_0x7f05eb,'startColumn':_0x515e3c,'endColumn':_0x515e3c});}['getDataFieldByRangeKey'](_0x3d9790){const _0x5dacf2=_0x31d072;return this[_0x5dacf2(0x144)][this[_0x5dacf2(0x16e)][_0x3d9790]];}[_0x31d072(0x314)](_0x4ae059,_0x2fda9b){const _0x203bc7=_0x31d072;this[_0x203bc7(0x16e)][_0x4ae059]=_0x2fda9b;}['updateRangeKeyMap'](_0x22e95f,_0x1bd49d){const _0x39a994=_0x31d072;this[_0x39a994(0x16e)][_0x1bd49d]=this[_0x39a994(0x16e)][_0x22e95f],delete this[_0x39a994(0x16e)][_0x22e95f];}['addCollectionByJSON'](_0x5556ba,_0x4f6718,_0x6b92b7,_0x4cd935){const _0x56a847=_0x31d072,_0x282fce=new _0x570035['FieldsCollection'](this);_0x282fce[_0x56a847(0x288)](_0x4f6718);const _0x5cce68=[];let _0x8327af=0x0;for(const _0x108c1d of _0x282fce[_0x56a847(0x1a0)]){const _0x11e2e7=this[_0x56a847(0x175)](_0x6b92b7,_0x8327af),_0x479589=this[_0x56a847(0x144)][_0x108c1d];_0x479589&&(_0x479589['rangeKey']=_0x11e2e7,this[_0x56a847(0x314)](_0x11e2e7,_0x108c1d),_0x5cce68[_0x56a847(0x294)]({'index':_0x8327af,'dataField':_0x479589})),_0x8327af++;}return this[_0x56a847(0x26f)](_0x5556ba,_0x282fce,_0x6b92b7,_0x4cd935),{'collection':_0x282fce,'updateDataFieldList':_0x5cce68};}['getRangeStartEndInfo'](_0x3ba36c,_0x489317){const _0x346127=_0x31d072;return _0x3ba36c[_0x346127(0x3e1)]===_0x4417df['RANGE_TYPE'][_0x346127(0x34c)]?{'startRow':0x0,'startColumn':_0x3ba36c[_0x346127(0x353)],'endRow':_0x489317[_0x346127(0x2ef)]()-0x1,'endColumn':_0x3ba36c[_0x346127(0x365)]}:{'startRow':_0x3ba36c[_0x346127(0x311)],'startColumn':_0x3ba36c['startColumn'],'endRow':_0x3ba36c[_0x346127(0x2b2)],'endColumn':_0x3ba36c[_0x346127(0x365)]};}[_0x31d072(0x3c4)](_0x6cfdab){const _0x224b23=_0x31d072,{sheetName:_0x4310e0,range:_0x12617a}=_0x6cfdab,_0x315b26=this[_0x224b23(0x402)][_0x224b23(0x3b7)](_0x4417df[_0x224b23(0x24d)][_0x224b23(0x2b0)]),_0x4afd51=_0x315b26['getSheetBySheetName'](_0x4310e0),_0xa0583a=_0x4afd51[_0x224b23(0x20c)](),{startColumn:_0x5528b7,startRow:_0x442d14,endColumn:_0x4cc62e}=this[_0x224b23(0x2eb)](_0x12617a,_0x4afd51),_0x2c65e8=_0x315b26[_0x224b23(0x3a2)](),_0xe86d22=new _0x570035['FieldsCollection'](this);_0xe86d22[_0x224b23(0x12f)](_0x6cfdab);const _0x48e784=[],_0x127353={};for(let _0x571668=_0x5528b7;_0x571668<=_0x4cc62e;_0x571668++){const _0x49344b=_0xa0583a[_0x224b23(0x3eb)](_0x442d14,_0x571668),_0x11aa55=this['getRangeKey'](_0x6cfdab,_0x571668),_0x2d82db=this['getDataFieldByRangeKey'](_0x11aa55);if(_0x2d82db)_0xe86d22[_0x224b23(0x302)](_0x2d82db[_0x224b23(0x295)](),_0x2d82db['getName']());else{const _0x3e61d3=this[_0x224b23(0x1b4)]();let _0x14cd29=this['adjustSheetCellData'](_0x49344b,_0x2c65e8,_0x127353);_0x570035[_0x224b23(0x39e)](_0x14cd29)&&(_0x14cd29=_0x4417df[_0x224b23(0x423)]['format'](_0x14cd29['f'],Number(_0x14cd29['v'])));const _0x4189de=this['uniqueDataFieldName'](_0x14cd29,_0x571668),_0x14a01b=new _0x570035[(_0x224b23(0x413))](_0x3e61d3,_0x4189de,_0x570035['generateHexNumber'](0x3));_0x14a01b[_0x224b23(0x42a)]=_0x11aa55,this[_0x224b23(0x144)][_0x3e61d3]=_0x14a01b,_0xe86d22['addField'](_0x3e61d3,_0x4189de),_0x48e784['push']({'index':_0x571668,'dataField':_0x14a01b});}}return{'updateDataFieldList':_0x48e784,'collection':_0xe86d22};}[_0x31d072(0x20a)](_0x8f14d4){const _0x1d6f3f=_0x31d072;return this[_0x1d6f3f(0x19b)][_0x1d6f3f(0x3e4)]()[_0x1d6f3f(0x425)]+'\x20'+_0x4417df[_0x1d6f3f(0x128)](_0x8f14d4);}[_0x31d072(0x389)](_0x1c6edb,_0xd9c932){const _0x494716=_0x31d072;return _0x1c6edb==null||_0x1c6edb===''?this[_0x494716(0x20a)](_0xd9c932):String(_0x1c6edb);}[_0x31d072(0x203)](_0x1e47e5){return this['collections'][_0x1e47e5];}[_0x31d072(0x26f)](_0x4b8960,_0x47197f,_0x1a3eb7,_0x43b3cc){const _0x3947ac=_0x31d072;this[_0x3947ac(0x27e)][_0x4b8960]=_0x47197f,_0x47197f[_0x3947ac(0x12f)](_0x1a3eb7),this['_host'][_0x3947ac(0x20e)]({'token':_0x4b8960,'type':_0x46a58e[_0x3947ac(0x38f)],'dataRangeInfo':_0x1a3eb7,'targetCellInfo':_0x43b3cc});}[_0x31d072(0x14a)](_0x4e694d,_0x3cfc7e){const _0x3befc4=_0x31d072,_0x33f6af=this[_0x3befc4(0x203)](_0x4e694d),_0x4977d8=_0x33f6af[_0x3befc4(0x3e9)]();let _0x234ac8=0x0;for(const _0xaa71b2 of _0x4977d8){const _0x1fcda3=_0x33f6af[_0x3befc4(0x2fa)](_0xaa71b2),_0x162902=this[_0x3befc4(0x175)](_0x3cfc7e,_0x234ac8);this['updateRangeKeyMap'](_0x1fcda3[_0x3befc4(0x42a)],_0x162902),_0x234ac8++;}}[_0x31d072(0x417)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4c7c62,_0x32760c){const _0x4626c0=_0x31d072;if(this[_0x4626c0(0x203)](_0x4c7c62)){const _0x3b045a=this[_0x4626c0(0x167)](_0x32760c),_0x47966f=[];for(const _0x40bbfe of _0x3b045a)this['rangeKeyMap'][_0x40bbfe]!==void 0x0&&_0x47966f[_0x4626c0(0x294)](this[_0x4626c0(0x16e)][_0x40bbfe]);const _0x46f548=this['getNoUsedDataFieldIds'](_0x4c7c62),_0x85e596=[],_0x3d1f0d=new Set(_0x47966f);for(const _0x53641d of _0x46f548)_0x3d1f0d[_0x4626c0(0x293)](_0x53641d)||_0x85e596[_0x4626c0(0x294)](_0x53641d);return _0x85e596;}}['getMatrixValue'](_0xeef42a,_0xc626a5,_0x133b16,_0x38610a,_0x4d9a38){const _0x4f9904=_0x31d072;return _0xc626a5&&_0xc626a5[_0x4f9904(0x3eb)](_0x38610a,_0x4d9a38)?_0xc626a5[_0x4f9904(0x3eb)](_0x38610a,_0x4d9a38):_0x133b16&&_0x133b16[_0x4f9904(0x3eb)](_0x38610a,_0x4d9a38)?_0x133b16[_0x4f9904(0x3eb)](_0x38610a,_0x4d9a38):_0xeef42a[_0x4f9904(0x3eb)](_0x38610a,_0x4d9a38);}[_0x31d072(0x178)](_0x40d923,_0x1ecfe1,_0x11d245,_0x2570f6){const _0x337e8c=_0x31d072,_0x16da9f=this[_0x337e8c(0x144)][_0x40d923];if(!_0x16da9f)return;const {subUnitId:_0x330a5f,range:_0x201443,unitId:_0x368590}=_0x1ecfe1,_0x3bac67=this['_univerInstanceService'][_0x337e8c(0x363)](_0x368590);if(!_0x3bac67){console[_0x337e8c(0x13b)](_0x337e8c(0x2ad));return;}const _0x52490d=_0x3bac67[_0x337e8c(0x129)](_0x330a5f),_0x530450=_0x52490d['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x4f59f7,unitDataMatrix:_0xc03cdb}=_0x2570f6||{},{startRow:_0x5adeb5,startColumn:_0x2aeb9a,endRow:_0x5ebaf9}=this[_0x337e8c(0x2eb)](_0x201443,_0x52490d);_0x16da9f['reset']();const _0x32b0c3=_0x3bac67['getStyles'](),_0x460c46={},_0x5f532d=this[_0x337e8c(0x1f9)](_0x530450,_0x4f59f7,_0xc03cdb,_0x5adeb5,_0x2aeb9a+_0x11d245);let _0x5b4f6f=this[_0x337e8c(0x399)](_0x5f532d,_0x32b0c3,_0x460c46);_0x570035[_0x337e8c(0x39e)](_0x5b4f6f)&&(_0x5b4f6f=_0x4417df[_0x337e8c(0x423)][_0x337e8c(0x38b)](_0x5b4f6f['f'],Number(_0x5b4f6f['v'])));const _0x36b19c=this[_0x337e8c(0x389)](_0x5b4f6f,_0x2aeb9a+_0x11d245);_0x16da9f[_0x337e8c(0x2b4)](_0x36b19c);for(let _0xd3b051=_0x5adeb5+0x1;_0xd3b051<=_0x5ebaf9;_0xd3b051++){const _0x5f2ffb=this[_0x337e8c(0x1f9)](_0x530450,_0x4f59f7,_0xc03cdb,_0xd3b051,_0x2aeb9a+_0x11d245);_0x16da9f[_0x337e8c(0x11e)](this[_0x337e8c(0x399)](_0x5f2ffb,_0x32b0c3,_0x460c46),_0xd3b051-0x1-_0x5adeb5);}}[_0x31d072(0x2cb)](_0x154ce2,_0x194fef,_0x47295a){const _0x2ef347=_0x31d072,{subUnitId:_0x2c2c0b,range:_0x508318,unitId:_0x26b214}=_0x47295a,_0x1f3108=this[_0x2ef347(0x402)][_0x2ef347(0x363)](_0x26b214);if(!_0x1f3108){console[_0x2ef347(0x13b)]('workbook\x20is\x20not\x20found');return;}const _0x4c36f3=_0x1f3108[_0x2ef347(0x129)](_0x2c2c0b),_0x579bc0=_0x4c36f3['getCellMatrix'](),{startRow:_0xbaba22,startColumn:_0x4e74da,endRow:_0x4c9d17}=this['getRangeStartEndInfo'](_0x508318,_0x4c36f3),_0xf1c9be=_0x1f3108[_0x2ef347(0x3a2)](),_0x2fd737={};for(const {dataField:_0x32e12f,index:_0xff11ee}of _0x194fef){_0x32e12f[_0x2ef347(0x1d8)]();const _0x306358=this[_0x2ef347(0x1f9)](_0x579bc0,void 0x0,void 0x0,_0xbaba22,_0x4e74da+_0xff11ee);let _0x53247f=this['adjustSheetCellData'](_0x306358,_0xf1c9be,_0x2fd737);_0x570035[_0x2ef347(0x39e)](_0x53247f)&&(_0x53247f=_0x4417df[_0x2ef347(0x423)][_0x2ef347(0x38b)](_0x53247f['f'],Number(_0x53247f['v'])));const _0x41fd3d=this[_0x2ef347(0x389)](_0x53247f,_0x4e74da+_0xff11ee);_0x32e12f[_0x2ef347(0x2b4)](_0x41fd3d);}_0x154ce2[_0x2ef347(0x410)]();for(let _0x5f4300=_0xbaba22+0x1;_0x5f4300<=_0x4c9d17;_0x5f4300++)for(const {index:_0x4847d4,dataField:_0x4c9f70}of _0x194fef){const _0x38096b=_0x579bc0[_0x2ef347(0x3eb)](_0x5f4300,_0x4e74da+_0x4847d4);_0x4c9f70[_0x2ef347(0x11e)](this[_0x2ef347(0x399)](_0x38096b,_0xf1c9be,_0x2fd737),_0x5f4300-0x1-_0xbaba22);}_0x154ce2[_0x2ef347(0x3f8)](_0x4c9d17-_0xbaba22);}[_0x31d072(0x167)](_0x34e9eb){const _0x329ebd=_0x31d072,{range:_0x3e21c0}=_0x34e9eb,{startColumn:_0x6bca2d,endColumn:_0x1d7cfb}=_0x3e21c0,_0x30b767=[];for(let _0xe92c01=_0x6bca2d;_0xe92c01<=_0x1d7cfb;_0xe92c01++)_0x30b767[_0x329ebd(0x294)](this[_0x329ebd(0x175)](_0x34e9eb,_0xe92c01));return _0x30b767;}[_0x31d072(0x399)](_0x230a06,_0x45a142,_0x1808f4){const _0x59af64=_0x31d072;if(_0x230a06){const {s:_0x352002,v:_0x4c1c70,t:_0x4b29b3,p:_0xf7b1d5}=_0x230a06;if(_0xf7b1d5)return _0x46be6b(_0xf7b1d5);const _0x18ce05=_0x45a142[_0x59af64(0x180)](_0x352002);if(_0x18ce05&&_0x4b29b3===_0x4417df['CellValueType'][_0x59af64(0x2ab)]&&_0x18ce05['n']){const {pattern:_0x1185a6}=_0x18ce05['n'];_0x1808f4[_0x1185a6]||(_0x1808f4[_0x1185a6]=_0x4417df[_0x59af64(0x423)][_0x59af64(0x377)](_0x1185a6));const _0x22fa0b=_0x1808f4[_0x1185a6],_0x33c5fe=_0x22fa0b[_0x59af64(0x150)];if(_0x22fa0b[_0x59af64(0x395)])return String(_0x4c1c70);if(_0x33c5fe)return{'v':_0x4c1c70,'f':_0x1185a6};}if(_0x4b29b3===_0x4417df[_0x59af64(0x186)][_0x59af64(0x2ab)])return Number(_0x4c1c70);if(_0x4b29b3===_0x4417df[_0x59af64(0x186)][_0x59af64(0x34a)]||_0x4b29b3===_0x4417df['CellValueType'][_0x59af64(0x328)])return String(_0x4c1c70);if(_0x4b29b3===void 0x0){const _0x507337=Number(_0x4c1c70);if(!Number[_0x59af64(0x158)](_0x507337)&&String(_0x507337)===_0x4c1c70)return _0x507337;}return _0x4c1c70!=null?_0x4c1c70:null;}else return null;}[_0x31d072(0x161)](_0x43f885){const _0x373c67=_0x31d072,{sheetName:_0x33b942,range:_0x35346b,unitId:_0x417522}=_0x43f885,_0x80fc37=this[_0x373c67(0x402)][_0x373c67(0x363)](_0x417522);if(!_0x80fc37)return console['error'](_0x373c67(0x2ad)),{'header':[],'data':[]};const _0x4fb96c=_0x80fc37[_0x373c67(0x24c)](_0x33b942),_0x176081=_0x4fb96c[_0x373c67(0x20c)](),{startRow:_0x47d006,startColumn:_0x2803b4,endRow:_0x377903,endColumn:_0x5362c7}=this['getRangeStartEndInfo'](_0x35346b,_0x4fb96c),_0x10b213=_0x80fc37[_0x373c67(0x3a2)](),_0x303499=[],_0x54d0ac=[],_0x58ff49={};for(let _0x44e1c1=_0x47d006;_0x44e1c1<=_0x377903;_0x44e1c1++){const _0x1d30d1=[];for(let _0x13b9ac=_0x2803b4;_0x13b9ac<=_0x5362c7;_0x13b9ac++){const _0x1e12f0=_0x176081[_0x373c67(0x3eb)](_0x44e1c1,_0x13b9ac);_0x44e1c1===_0x47d006?_0x303499[_0x373c67(0x294)](_0x1e12f0==null?null:String(_0x1e12f0['v'])):_0x1d30d1['push'](this[_0x373c67(0x399)](_0x1e12f0,_0x10b213,_0x58ff49));}_0x54d0ac[_0x373c67(0x294)](_0x1d30d1);}return{'header':_0x303499,'data':_0x54d0ac};}[_0x31d072(0x330)](){const _0x5d829a=_0x31d072;return super[_0x5d829a(0x330)]();}[_0x31d072(0x288)](_0x53b414){const _0x4320cc=_0x31d072;super['fromJSON'](_0x53b414),this[_0x4320cc(0x3ee)]();}[_0x31d072(0x3b6)](){const _0x363f82=_0x31d072;super[_0x363f82(0x3b6)](),this[_0x363f82(0x16e)]={},this[_0x363f82(0x19b)]=null;}}const _0x474839=_0x108c36=>{const _0x7f4228=_0x31d072,{targetCellInfo:_0x3e97f9}=_0x108c36,{matrixCache:_0x82f13,rangesCache:_0x2c87c8}=_0x415b07({'filter':_0x7f4228(0x136),'row':'Row','column':_0x7f4228(0x355),'values':_0x7f4228(0x3b1)},_0x3e97f9),_0x6b306a=new _0x4417df[(_0x7f4228(0x23e))]();return _0x82f13[_0x7f4228(0x39d)]((_0x278fb2,_0x3a860c,_0x17645e)=>{const _0x3e3991=_0x7f4228;_0x6b306a[_0x3e3991(0x2a9)](_0x278fb2,_0x3a860c,_0x17645e);}),{'matrix':_0x6b306a,'rangesCache':_0x2c87c8};},_0x2d90d7=_0x4e1c28=>{const _0x57c075=_0x31d072;let _0x3cbf10;if(_0x4e1c28!=null&&_0x4e1c28['v']||(_0x4e1c28==null?void 0x0:_0x4e1c28['v'])===0x0){_0x3cbf10||(_0x3cbf10={});const _0x41dd99=_0x536400(_0x4e1c28['v']);typeof _0x41dd99==_0x57c075(0x236)?_0x3cbf10['t']=_0x4417df[_0x57c075(0x186)]['NUMBER']:typeof _0x41dd99==_0x57c075(0x1d2)&&(_0x3cbf10['t']=_0x4417df[_0x57c075(0x186)][_0x57c075(0x34a)]),_0x3cbf10['v']=_0x41dd99;}return _0x3cbf10;},_0x4f958d=(_0x4fa6bd,_0x5f1e5d,_0x18699f)=>{const _0x3b918d=_0x31d072;var _0x3e8629,_0x4b252b,_0x5202a5,_0x500e53,_0xd0ed4c,_0x2fd57d,_0x34f50e,_0x43a1b5,_0x343767,_0x1cb72a,_0x25d820,_0x3ee446;const {cornerView:_0x428d0b,rowView:_0x311168,colView:_0x547a64,dataView:_0x5a6243,pageView:_0x18ffa2,formatMap:_0x2d5dc6}=_0x4fa6bd,{row:_0x23a2dd,col:_0x38d9a5}=_0x5f1e5d,_0x51aba4=new _0x4417df[(_0x3b918d(0x23e))]();let _0x10305e=_0x23a2dd,_0x43a171=_0x38d9a5;Object[_0x3b918d(0x196)](_0x18ffa2['data'])[_0x3b918d(0x17f)](_0x170da4=>{const _0xdfc625=_0x3b918d;Object[_0xdfc625(0x196)](_0x18ffa2['data'][Number(_0x170da4)])['forEach'](_0x3ff343=>{const _0x2adb60=_0xdfc625,_0x26b6aa={..._0x18ffa2['data'][Number(_0x170da4)][Number(_0x3ff343)]};_0x51aba4[_0x2adb60(0x2a9)](Number(_0x170da4)+_0x10305e,Number(_0x3ff343)+_0x43a171,_0x2d90d7(_0x26b6aa));});});const _0x4184d7=Object[_0x3b918d(0x196)](_0x18ffa2[_0x3b918d(0x27b)])[_0x3b918d(0x292)];_0x10305e+=_0x4184d7+(_0x4184d7?_0x2fa24f:0x0);const _0x2b3613=_0x428d0b[_0x3b918d(0x2ef)](),_0x286958=_0x428d0b['getColCount']();for(let _0x3e51e7=0x0;_0x3e51e7<_0x2b3613;_0x3e51e7++)for(let _0x1f29b8=0x0;_0x1f29b8<_0x286958;_0x1f29b8++){const _0x3467d0={...(_0x4b252b=(_0x3e8629=_0x428d0b[_0x3b918d(0x27b)])==null?void 0x0:_0x3e8629[_0x3e51e7])==null?void 0x0:_0x4b252b[_0x1f29b8]};_0x3467d0&&((_0x5202a5=_0x311168[_0x3b918d(0x3a0)][_0x1f29b8])!=null&&_0x5202a5[_0x3b918d(0x3aa)])&&_0x1f29b8===_0x286958-0x1&&_0x3e51e7===_0x2b3613-0x1&&(_0x3467d0['v']=''+_0x18699f[_0x3b918d(0x3cc)]),_0x51aba4[_0x3b918d(0x2a9)](_0x3e51e7+_0x10305e,_0x1f29b8+_0x43a171,_0x2d90d7(_0x3467d0));}_0x43a171+=_0x286958;const _0x459f06=_0x547a64[_0x3b918d(0x3a0)],_0x45903a=_0x547a64[_0x3b918d(0x32a)]()>=0x0?_0x547a64[_0x3b918d(0x32a)]()+0x1:0x0,_0x2430da=_0x547a64[_0x3b918d(0x3ff)]()>=0x0?_0x547a64['getLastCol']()+0x1:0x0;for(let _0x2d41cf=0x0;_0x2d41cf<_0x2430da;_0x2d41cf++)for(let _0x33b37b=0x0;_0x33b37b<_0x45903a;_0x33b37b++){const _0x17dec2={...(_0xd0ed4c=(_0x500e53=_0x547a64[_0x3b918d(0x27b)])==null?void 0x0:_0x500e53[_0x2d41cf])==null?void 0x0:_0xd0ed4c[_0x33b37b]},_0x796d43=(_0x2fd57d=_0x459f06[_0x2d41cf])==null?void 0x0:_0x2fd57d[_0x3b918d(0x371)],_0x222432=_0x2d5dc6[_0x796d43];_0x17dec2&&(_0x17dec2['v']=_0x56db4c(_0x17dec2,_0x2d41cf===0x0&&((_0x34f50e=_0x547a64[_0x3b918d(0x1fd)](_0x33b37b+0x1))==null?void 0x0:_0x34f50e[_0x3b918d(0x3aa)]),_0x222432,_0x18699f)),_0x51aba4[_0x3b918d(0x2a9)](_0x2d41cf+_0x10305e,_0x33b37b+_0x43a171,_0x2d90d7(_0x17dec2));}_0x10305e+=_0x2b3613;const _0x479c68=_0x311168['headerMap'],_0x2ebd3f=_0x311168[_0x3b918d(0x32a)]()>=0x0?_0x311168['getLastRow']()+0x1:0x0,_0x4709db=_0x311168[_0x3b918d(0x3ff)]()>=0x0?_0x311168['getLastCol']()+0x1:0x0;for(let _0x9495c4=0x0;_0x9495c4<_0x2ebd3f;_0x9495c4++)for(let _0x322780=0x0;_0x322780<_0x4709db;_0x322780++){const _0x33aaba={...(_0x343767=(_0x43a1b5=_0x311168['data'])==null?void 0x0:_0x43a1b5[_0x9495c4])==null?void 0x0:_0x343767[_0x322780]},_0x1ef09f=(_0x1cb72a=_0x479c68[_0x322780])==null?void 0x0:_0x1cb72a[_0x3b918d(0x371)],_0x3f929f=_0x2d5dc6[_0x1ef09f];_0x33aaba&&(_0x33aaba['v']=_0x56db4c(_0x33aaba,!0x1,_0x3f929f,_0x18699f)),_0x51aba4[_0x3b918d(0x2a9)](_0x9495c4+_0x10305e,_0x322780+_0x38d9a5,_0x2d90d7(_0x33aaba));}const _0x54b1c9=_0x5a6243[_0x3b918d(0x2ef)](),_0x5e1967=_0x5a6243[_0x3b918d(0x18e)]();for(let _0x33f444=0x0;_0x33f444<_0x54b1c9;_0x33f444++)for(let _0x4a1b61=0x0;_0x4a1b61<_0x5e1967;_0x4a1b61++){const _0x21935b={...(_0x3ee446=(_0x25d820=_0x5a6243[_0x3b918d(0x27b)])==null?void 0x0:_0x25d820[_0x33f444])==null?void 0x0:_0x3ee446[_0x4a1b61]};_0x51aba4[_0x3b918d(0x2a9)](_0x33f444+_0x10305e,_0x4a1b61+_0x43a171,_0x2d90d7(_0x21935b));}return _0x51aba4;},_0x1cfa7a=_0x2df82f=>{const _0x25af02=_0x31d072,{view:_0xf715bc,targetCellInfo:_0x4b551c,isEmpty:_0x59b778,textInfo:_0x99a275}=_0x2df82f;if(_0x59b778)return _0x474839(_0x2df82f);const {pageView:_0x432199,cornerView:_0x485c80,rowView:_0x153224,colView:_0x206497,dataView:_0xeb423d}=_0xf715bc,_0x44064b=_0x3624ce(_0x4b551c,_0x432199,!0x0),_0x1bcabf=_0x432199[_0x25af02(0x1f4)]>=0x0?_0x432199['lastRow']+0x1:0x0,_0x56cead=_0x485c80['getRowCount'](),_0x2f5c27=_0x485c80[_0x25af02(0x18e)](),_0x48459c=_0x44064b[_0x25af02(0x292)]>0x0?_0x2fa24f:0x0,_0x479615=_0x3624ce({'row':_0x4b551c[_0x25af02(0x210)]+_0x1bcabf+_0x48459c,'col':_0x4b551c[_0x25af02(0x424)]},_0x485c80,!0x1,!0x1),_0x351050=_0x3624ce({'row':_0x4b551c[_0x25af02(0x210)]+_0x1bcabf+_0x48459c+_0x56cead,'col':_0x4b551c[_0x25af02(0x424)]},_0x153224,!0x1,!0x0),_0x249ec0=_0x3624ce({'row':_0x4b551c[_0x25af02(0x210)]+_0x1bcabf+_0x48459c,'col':_0x4b551c[_0x25af02(0x424)]+_0x2f5c27},_0x206497,!0x1,!0x0),_0x4d0b4a=_0x3624ce({'row':_0x4b551c['row']+_0x1bcabf+_0x48459c+_0x56cead,'col':_0x4b551c[_0x25af02(0x424)]+_0x2f5c27},_0xeb423d,!0x1,!0x1),_0x235692={'rowRanges':_0x351050,'colRanges':_0x249ec0,'cornerRanges':_0x479615,'dataRanges':_0x4d0b4a,'pageRanges':_0x44064b};return{'matrix':_0x4f958d(_0xf715bc,_0x4b551c,_0x99a275),'rangesCache':_0x235692};};var _0x443f32=Object['getOwnPropertyDescriptor'],_0x5f5d3=(_0x3a0e85,_0x24bc8b,_0x406e65,_0xbf8d8e)=>{const _0x502845=_0x31d072;for(var _0x1500a1=_0xbf8d8e>0x1?void 0x0:_0xbf8d8e?_0x443f32(_0x24bc8b,_0x406e65):_0x24bc8b,_0x199da6=_0x3a0e85[_0x502845(0x292)]-0x1,_0xa12cb8;_0x199da6>=0x0;_0x199da6--)(_0xa12cb8=_0x3a0e85[_0x199da6])&&(_0x1500a1=_0xa12cb8(_0x1500a1)||_0x1500a1);return _0x1500a1;},_0x38a04c=(_0x8d0830,_0x45ed3e)=>(_0x364648,_0x227eb4)=>_0x45ed3e(_0x364648,_0x227eb4,_0x8d0830);_0x1f13ed[_0x31d072(0x368)]=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x4b8d25,_0x200129,_0x500749,_0x5bd530,_0x382069,_0x556b4c){const _0x28f21a=_0x31d072;super(),_0x36561d(this,_0x28f21a(0x1bd),new Map()),_0x36561d(this,_0x28f21a(0x278),new Map()),_0x36561d(this,'_viewData',new Map()),_0x36561d(this,_0x28f21a(0x350)),_0x36561d(this,_0x28f21a(0x207),new _0x1dc88d[(_0x28f21a(0x1e3))]()),_0x36561d(this,'collectionChange$',this[_0x28f21a(0x207)][_0x28f21a(0x1b6)]()),_0x36561d(this,'_viewData$',new _0x1dc88d[(_0x28f21a(0x1e3))]()),_0x36561d(this,_0x28f21a(0x19e),this['_viewData$']['asObservable']()),_0x36561d(this,_0x28f21a(0x1f6),new _0x1dc88d[(_0x28f21a(0x1e3))]()),_0x36561d(this,_0x28f21a(0x2df),this[_0x28f21a(0x1f6)]['asObservable']()),_0x36561d(this,'_dataFieldManagerCollection',new Map()),_0x36561d(this,_0x28f21a(0x33b),[]),_0x36561d(this,'_queryingMap',new Map()),(this[_0x28f21a(0x343)]=_0x4b8d25,this[_0x28f21a(0x402)]=_0x200129,this['_lifecycleService']=_0x500749,this[_0x28f21a(0x2d5)]=_0x5bd530,this[_0x28f21a(0x313)]=_0x382069,this[_0x28f21a(0x38d)]=_0x556b4c,this[_0x28f21a(0x20b)]());}[_0x31d072(0x3e4)](){const _0x25f954=_0x31d072;return this['_textInfo']?this[_0x25f954(0x350)]:_0x152c3e;}[_0x31d072(0x1a4)](_0x20d8b6){this['_textInfo']=_0x20d8b6;}['handleMoveRange'](_0x43be8d){const _0x110205=_0x31d072;var _0x2ad4a2;const {from:_0x344b0a,to:_0x3dc962,unitId:_0x189dc3,fromRange:_0x5c5967,toRange:_0xed0007}=_0x43be8d;if(_0x344b0a&&_0x3dc962){const _0x5db5d5=this['getDataFieldManager'](_0x189dc3),_0x460964=this['_model']['get'](_0x189dc3),_0xacd604=(_0x2ad4a2=this['_univerInstanceService'][_0x110205(0x363)](_0x189dc3))==null?void 0x0:_0x2ad4a2[_0x110205(0x129)](_0x3dc962['subUnitId']);if(!_0x460964||!_0xacd604)return;const _0x3e8e2d=_0xacd604==null?void 0x0:_0xacd604[_0x110205(0x130)]();for(const [_0x106a10,_0x3e1999]of _0x460964[_0x110205(0x418)]())for(const [_0x12a747,_0x411b50]of _0x3e1999[_0x110205(0x418)]()){const {sourceRangeInfo:_0x4cd542}=_0x411b50;if(_0x4cd542[_0x110205(0x2f2)]===_0x189dc3&&_0x4cd542[_0x110205(0x2ff)]===_0x344b0a[_0x110205(0x2ff)]&&_0x4417df[_0x110205(0x316)]['contains'](_0x5c5967,_0x4cd542[_0x110205(0x2c1)])){const _0x341734={'row':_0x4cd542[_0x110205(0x2c1)][_0x110205(0x311)]-_0x5c5967['startRow'],'col':_0x4cd542[_0x110205(0x2c1)]['startColumn']-_0x5c5967['startColumn']},_0x3ebadd={'unitId':_0x189dc3,'subUnitId':_0x3dc962[_0x110205(0x2ff)],'sheetName':_0x3e8e2d,'range':{'startRow':_0xed0007[_0x110205(0x311)]+_0x341734['row'],'endRow':_0xed0007[_0x110205(0x311)]+_0x341734[_0x110205(0x210)]+_0x4cd542[_0x110205(0x2c1)][_0x110205(0x2b2)]-_0x4cd542[_0x110205(0x2c1)][_0x110205(0x311)],'startColumn':_0xed0007[_0x110205(0x353)]+_0x341734[_0x110205(0x424)],'endColumn':_0xed0007[_0x110205(0x353)]+_0x341734['col']+_0x4cd542[_0x110205(0x2c1)][_0x110205(0x365)]-_0x4cd542[_0x110205(0x2c1)]['startColumn']}};_0x5db5d5[_0x110205(0x14a)](_0x12a747,_0x3ebadd);const _0x3b2de3={..._0x411b50,'sourceRangeInfo':_0x3ebadd};this[_0x110205(0x160)](_0x189dc3,_0x3dc962['subUnitId'],_0x12a747,_0x3b2de3),this[_0x110205(0x20e)]({'unitId':_0x189dc3,'token':_0x12a747,'type':_0x46a58e[_0x110205(0x2f4)],'oldSourceRangeInfo':_0x4cd542,'dataRangeInfo':_0x3ebadd,'targetCellInfo':_0x411b50[_0x110205(0x143)]}),this[_0x110205(0x2be)]({'unitId':_0x189dc3,'subUnitId':_0x3dc962['subUnitId'],'oldSubUnitId':_0x106a10,'pivotTableId':_0x12a747,'pivotTableConfig':_0x3b2de3,'collectionConfig':_0x5db5d5[_0x110205(0x330)]()});}}}}['broadcastCollectionChange'](_0x50780b){const _0x44ad67=_0x31d072;this['_collectionChange$'][_0x44ad67(0x28a)](_0x50780b);}[_0x31d072(0x35e)](_0x29c50d){const _0x2451bd=_0x31d072;let _0x467a2f=this[_0x2451bd(0x318)][_0x2451bd(0x180)](_0x29c50d);return _0x467a2f||(_0x467a2f=new _0x50f65f(this,this[_0x2451bd(0x402)]),this[_0x2451bd(0x318)][_0x2451bd(0x262)](_0x29c50d,_0x467a2f)),_0x467a2f;}[_0x31d072(0x203)](_0x3ce8a3,_0x54fb6b){const _0x38a9d9=_0x31d072;return this['getDataFieldManager'](_0x3ce8a3)[_0x38a9d9(0x27e)][_0x54fb6b];}[_0x31d072(0x326)](_0x396d67,_0x2c956e,_0x54c996){const _0x17d551=_0x31d072;return this[_0x17d551(0x35e)](_0x396d67)['getUpdateRangeDeleteIds'](_0x2c956e,_0x54c996);}[_0x31d072(0x23c)](_0x506ffb,_0x6eebb0){const _0x196ef0=_0x31d072;let _0x2475ba=this[_0x196ef0(0x1bd)]['get'](_0x506ffb);_0x2475ba||(_0x2475ba=new Map(),this[_0x196ef0(0x1bd)]['set'](_0x506ffb,_0x2475ba));let _0xe80c51=_0x2475ba[_0x196ef0(0x180)](_0x6eebb0);return _0xe80c51||(_0xe80c51=new Map(),_0x2475ba['set'](_0x6eebb0,_0xe80c51)),_0xe80c51;}['_updateModelCache'](_0xf022c8,_0x1a65a4,_0x3ce9f7,_0x4c7513){const _0x43e822=_0x31d072;this['_ensurePivotMap'](_0xf022c8,_0x1a65a4)[_0x43e822(0x262)](_0x3ce9f7,_0x4c7513);}['_deleteModelCache'](_0x39b6c1,_0x414c07,_0x5deefa){const _0x570a05=_0x31d072;var _0x1c453c,_0x1ff846,_0x2a6706,_0x63a244;((_0x1ff846=(_0x1c453c=this[_0x570a05(0x1bd)]['get'](_0x39b6c1))==null?void 0x0:_0x1c453c['get'](_0x414c07))==null?void 0x0:_0x1ff846[_0x570a05(0x180)](_0x5deefa))&&((_0x63a244=(_0x2a6706=this[_0x570a05(0x1bd)][_0x570a05(0x180)](_0x39b6c1))==null?void 0x0:_0x2a6706['get'](_0x414c07))==null||_0x63a244[_0x570a05(0x1cd)](_0x5deefa));}['_updatePivotTableInstanceCache'](_0x4a1335,_0x5cc05d){const _0x15cdbd=_0x31d072;this[_0x15cdbd(0x278)][_0x15cdbd(0x262)](_0x4a1335,_0x5cc05d);}['_deletePivotTableInstanceCache'](_0x2cd419){const _0x1bd74d=_0x31d072;this[_0x1bd74d(0x278)][_0x1bd74d(0x1cd)](_0x2cd419);}['_ensureViewDataMap'](_0x4013ca,_0xb6ee4d){const _0x450f8e=_0x31d072;let _0x22e137=this[_0x450f8e(0x15d)]['get'](_0x4013ca);_0x22e137||(_0x22e137=new Map(),this['_viewData'][_0x450f8e(0x262)](_0x4013ca,_0x22e137));let _0x33672e=_0x22e137['get'](_0xb6ee4d);return _0x33672e||(_0x33672e=new Map(),_0x22e137['set'](_0xb6ee4d,_0x33672e)),_0x33672e;}['updateConfig'](_0x3e6e94){const _0x7bbf98=_0x31d072,{unitId:_0x53d978,subUnitId:_0x15c872,pivotTableId:_0x3e34c1,pivotTableConfig:_0x2233e8,collectionConfig:_0x3e479e}=_0x3e6e94,_0x2f78c7={'unitId':_0x53d978,'subUnitId':_0x15c872,'oldSubUnitId':_0x15c872,'pivotTableId':_0x3e34c1,'pivotTableConfig':_0x2233e8,'collectionConfig':_0x3e479e};this[_0x7bbf98(0x313)][_0x7bbf98(0x2a8)](_0x5d2fae['id'],_0x2f78c7,{'onlyLocal':!0x0});}['updateView'](_0x153815,_0x528131,_0x340133,_0x43baff,_0x1680b2,_0xee5070,_0x2d5b7c,_0x2e08f4=!0x1){const _0x340219=_0x31d072;var _0x32fb49;this[_0x340219(0x313)][_0x340219(0x2a8)](_0x311c32['id'],{'single':{'unitId':_0x153815,'subUnitId':_0x528131,'type':_0x340133,'pivotTableId':_0x43baff,'view':_0x1680b2,'pivotConfig':_0xee5070},'collectionConfig':{[_0x153815]:_0x2d5b7c}},{'onlyLocal':!0x0});const _0x277760=!!((_0x32fb49=this[_0x340219(0x142)](_0x43baff))!=null&&_0x32fb49['isEmpty']()),_0x448e9b=this['getPivotTableConfig'](_0x153815,_0x528131,_0x43baff);_0x448e9b&&this[_0x340219(0x2c2)]({'view':_0x1680b2,'pivotTableId':_0x43baff,'textInfo':this[_0x340219(0x3e4)](),'isEmpty':_0x277760,'targetCellInfo':_0x448e9b[_0x340219(0x143)]},_0x2e08f4);}[_0x31d072(0x2c2)](_0x2d7f08,_0x52ff01){const _0x48ea69=_0x31d072,{targetCellInfo:_0x474de6,pivotTableId:_0x49dfd9}=_0x2d7f08,{unitId:_0x3b17c7,subUnitId:_0x16484a}=_0x474de6,_0x35d1b5=this[_0x48ea69(0x13a)](_0x3b17c7,_0x16484a),_0x22734a=_0x35d1b5[_0x48ea69(0x180)](_0x49dfd9);let _0x15bbe0,_0x26cd2d;_0x22734a&&(_0x15bbe0=_0x22734a[_0x48ea69(0x280)],_0x26cd2d=_0x22734a[_0x48ea69(0x269)]);const {rangesCache:_0x144520,matrix:_0x2c8b2b}=_0x1cfa7a(_0x2d7f08);_0x35d1b5[_0x48ea69(0x262)](_0x49dfd9,{'rangeCache':_0x144520,'matrix':_0x2c8b2b,'oldMatrix':_0x26cd2d,'oldRangeCache':_0x15bbe0}),_0x52ff01||this[_0x48ea69(0x2f6)][_0x48ea69(0x28a)]({'unitId':_0x3b17c7,'subUnitId':_0x16484a,'pivotTableId':_0x49dfd9});}[_0x31d072(0x139)](_0x394986,_0x4c4b21,_0x564c88,_0x2bdf78,_0x565a02){const _0x468c3c=_0x31d072;this[_0x468c3c(0x160)](_0x394986,_0x4c4b21,_0x564c88,_0x565a02),this[_0x468c3c(0x2ae)](_0x564c88,_0x2bdf78);}[_0x31d072(0x358)](_0x212aef,_0x5545c6,_0x54f057){const _0xda9a73=_0x31d072,_0xa47367=this[_0xda9a73(0x35e)](_0x212aef);_0xa47367[_0xda9a73(0x336)](_0x54f057)['forEach'](_0x3bc346=>{const _0x12d0e6=_0xda9a73;_0xa47367[_0x12d0e6(0x347)](_0x3bc346);}),this[_0xda9a73(0x2ce)](_0x212aef,_0x54f057),this[_0xda9a73(0x2bf)](_0x212aef,_0x5545c6,_0x54f057),this[_0xda9a73(0x2bc)](_0x54f057);}[_0x31d072(0x16b)](_0x3f00f6,_0x226499,_0x1e75b3,_0x4411a4){this['_updateModelCache'](_0x3f00f6,_0x226499,_0x1e75b3,_0x4411a4);}[_0x31d072(0x32d)](_0x503437,_0x4db69b,_0x184c4a){const _0x7486df=_0x31d072;var _0x47fe3a,_0x1b5cb4;const _0x2ab264=(_0x1b5cb4=(_0x47fe3a=this[_0x7486df(0x1bd)][_0x7486df(0x180)](_0x503437))==null?void 0x0:_0x47fe3a[_0x7486df(0x180)](_0x4db69b))==null?void 0x0:_0x1b5cb4[_0x7486df(0x180)](_0x184c4a);if(_0x2ab264)return _0x2ab264;}[_0x31d072(0x431)](_0x4cd46a,_0x17ad1f,_0xb0534a){const _0x529d70=_0x31d072;var _0x188d24,_0x57fb15;const _0x14d16f=(_0x57fb15=(_0x188d24=this[_0x529d70(0x1bd)][_0x529d70(0x180)](_0x4cd46a))==null?void 0x0:_0x188d24[_0x529d70(0x180)](_0x17ad1f))==null?void 0x0:_0x57fb15[_0x529d70(0x180)](_0xb0534a);if(_0x14d16f)return _0x14d16f[_0x529d70(0x1dc)];}[_0x31d072(0x142)](_0x2143a5){const _0x5045c7=_0x31d072;return this['_pivotTableInstanceCache'][_0x5045c7(0x180)](_0x2143a5);}[_0x31d072(0x30e)](_0x284437){const _0x110f92=_0x31d072;this[_0x110f92(0x1bd)][_0x110f92(0x1cd)](_0x284437);const _0x53f248=this[_0x110f92(0x318)]['get'](_0x284437);_0x53f248&&(_0x53f248[_0x110f92(0x3b6)](),this['_dataFieldManagerCollection'][_0x110f92(0x1cd)](_0x284437)),this['_viewData'][_0x110f92(0x1cd)](_0x284437),this[_0x110f92(0x33b)][_0x110f92(0x17f)](_0xc01ce1=>{_0xc01ce1['deleteUnitId'](_0x284437);});}[_0x31d072(0x42f)](_0x5a5d5e,_0x3b477b,_0x389bb1,_0xe9a31c){const _0x1fd449=_0x31d072;return this['getDataFieldManager'](_0x389bb1[_0x1fd449(0x2f2)])[_0x1fd449(0x42f)](_0x5a5d5e,_0x3b477b,_0x389bb1,_0xe9a31c);}['createCollectionWithDataRange'](_0x555ff7){const _0xd292ed=_0x31d072;return this[_0xd292ed(0x35e)](_0x555ff7['unitId'])[_0xd292ed(0x3c4)](_0x555ff7);}['refreshData'](_0x473a3a,_0x11e11c,_0x372e0e){const _0x5a3ba7=_0x31d072;this[_0x5a3ba7(0x35e)](_0x372e0e[_0x5a3ba7(0x2f2)])[_0x5a3ba7(0x2cb)](_0x473a3a,_0x11e11c,_0x372e0e);}[_0x31d072(0x409)](_0xf5fcde,_0x445e74){const _0x245b7c=_0x31d072;this[_0x245b7c(0x35e)](_0xf5fcde)[_0x245b7c(0x347)](_0x445e74);}[_0x31d072(0x2ce)](_0x3327c3,_0x11be6f){const _0x21863d=_0x31d072;this[_0x21863d(0x35e)](_0x3327c3)[_0x21863d(0x3d6)](_0x11be6f);}[_0x31d072(0x2af)](_0x331fa0,_0x7bb5e3){const _0x232791=_0x31d072;var _0x4ce36d;return(_0x4ce36d=this['_model'][_0x232791(0x180)](_0x331fa0))==null?void 0x0:_0x4ce36d['get'](_0x7bb5e3);}[_0x31d072(0x2c3)](_0x4bcb78){const _0x21d7af=_0x31d072;for(const [_0x1f9946,_0x19f367]of this[_0x21d7af(0x1bd)][_0x21d7af(0x418)]())for(const [_0x1b3a74,_0x2fda51]of _0x19f367[_0x21d7af(0x418)]())if(_0x2fda51[_0x21d7af(0x293)](_0x4bcb78))return{'unitId':_0x1f9946,'subUnitId':_0x1b3a74};return null;}[_0x31d072(0x147)](_0x57bfa2,_0x4bf5a1,_0x39d402,_0x137088){const _0x546647=_0x31d072,_0x1c7c87=this['_ensureViewDataMap'](_0x57bfa2,_0x4bf5a1);_0x137088?_0x1c7c87[_0x546647(0x262)](_0x39d402,_0x137088):_0x1c7c87['delete'](_0x39d402),this[_0x546647(0x2f6)]['next']({'unitId':_0x57bfa2,'subUnitId':_0x4bf5a1,'pivotTableId':_0x39d402});}[_0x31d072(0x3b6)](){super['dispose']();}[_0x31d072(0x1c1)](_0x4cd9cc,_0x44af59,_0x258aae){const _0x156b01=_0x31d072;var _0x9c54d9,_0x5b2fb4;const _0x2a8f23=(_0x5b2fb4=(_0x9c54d9=this[_0x156b01(0x15d)][_0x156b01(0x180)](_0x4cd9cc))==null?void 0x0:_0x9c54d9[_0x156b01(0x180)](_0x44af59))==null?void 0x0:_0x5b2fb4[_0x156b01(0x180)](_0x258aae);return _0x2a8f23||null;}[_0x31d072(0x23d)](_0x1dc23e){const _0x117c9c=_0x31d072;this[_0x117c9c(0x1e7)](_0x1dc23e);}[_0x31d072(0x1e7)](_0x5a06c3){const _0x778945=_0x31d072,{token:_0x404304,unitId:_0x17b94e,subUnitId:_0x8ff822}=_0x5a06c3,_0x5c1c9e=_0x17b94e+'-'+_0x8ff822+'-'+_0x404304;this[_0x778945(0x2ec)][_0x778945(0x180)](_0x5c1c9e)&&clearTimeout(this[_0x778945(0x2ec)]['get'](_0x5c1c9e));const _0x2d0b6f=setTimeout(()=>{const _0x2997e5=_0x778945;this['queryDirtyPivotTable'](_0x5a06c3),this[_0x2997e5(0x2ec)]['delete'](_0x5c1c9e);},_0xd8bfb1);this[_0x778945(0x2ec)][_0x778945(0x262)](_0x5c1c9e,_0x2d0b6f);}['queryDirtyPivotTable'](_0x407840){const _0x15a5de=_0x31d072,{unitId:_0x583427,subUnitId:_0x38778c,token:_0x102fa6,type:_0x2f971c,pivotConfig:_0x3d8649}=_0x407840,_0x5a6c3a=this[_0x15a5de(0x142)](_0x102fa6),_0x1efc45=_0x5a6c3a==null?void 0x0:_0x5a6c3a[_0x15a5de(0x18f)](),_0xd3c1ea=_0x3d8649!=null?_0x3d8649:this[_0x15a5de(0x32d)](_0x583427,_0x38778c,_0x102fa6);_0xd3c1ea&&(_0xd3c1ea[_0x15a5de(0x1f1)]=!!(_0x5a6c3a!=null&&_0x5a6c3a[_0x15a5de(0x1f1)]())),(_0x1efc45||_0x2f971c===_0x1cfd99[_0x15a5de(0x39b)])&&this[_0x15a5de(0x246)](_0x583427,_0x38778c,_0x2f971c,_0x102fa6,_0x1efc45,_0xd3c1ea,this[_0x15a5de(0x35e)](_0x583427)[_0x15a5de(0x330)]());}['toJSON'](_0x8ac1f4){const _0x1c6536=_0x31d072,_0x4db5c6={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x8ac1f4)&&(_0x4db5c6[_0x1c6536(0x2bb)][_0x8ac1f4]=this[_0x1c6536(0x35e)](_0x8ac1f4)[_0x1c6536(0x330)]()),this['_model'][_0x1c6536(0x180)](_0x8ac1f4)){_0x4db5c6['pivotTableConfigs'][_0x8ac1f4]={};const _0x51cdbe=this[_0x1c6536(0x1bd)][_0x1c6536(0x180)](_0x8ac1f4);_0x51cdbe!=null&&_0x51cdbe[_0x1c6536(0x198)]&&[..._0x51cdbe[_0x1c6536(0x196)]()]['forEach'](_0x379952=>{const _0x48a471=_0x1c6536,_0x1ed472=_0x51cdbe['get'](_0x379952);_0x1ed472!=null&&_0x1ed472[_0x48a471(0x198)]&&(_0x4db5c6[_0x48a471(0x1c7)][_0x8ac1f4][_0x379952]={},[..._0x1ed472['keys']()][_0x48a471(0x17f)](_0x43e9c5=>{const _0x3e261a=_0x48a471,_0x1480fc=_0x1ed472['get'](_0x43e9c5);_0x1480fc&&(_0x4db5c6[_0x3e261a(0x1c7)][_0x8ac1f4][_0x379952][_0x43e9c5]=_0x1480fc);}));});}return _0x4db5c6;}['fromJSON'](_0x3fb4da){const _0x1fca68=_0x31d072;var _0x158fe2;const {dataFieldManagerConfig:_0x346361,pivotTableConfigs:_0x499a9c}=_0x3fb4da;_0x346361&&Object[_0x1fca68(0x196)](_0x346361)[_0x1fca68(0x17f)](_0xb973cc=>{const _0xb3d79b=_0x1fca68;this[_0xb3d79b(0x35e)](_0xb973cc)[_0xb3d79b(0x288)](_0x346361[_0xb973cc]);});const _0x104811=[];if(_0x499a9c){const _0x4a249b=(_0x158fe2=this['_injector'][_0x1fca68(0x180)](_0x4417df['IConfigService'])[_0x1fca68(0x279)](_0x34fa9b['LS_CONFIG_KEY']))!=null?_0x158fe2:{},{ls:_0x3a370b,pbk:_0x236b16}=_0x4a249b,_0x171dab=_0x41f0b1(_0x213ae5,_0x3a370b,_0x236b16)['count'];Object[_0x1fca68(0x196)](_0x499a9c)['forEach'](_0x5463f0=>{const _0x17dcfe=_0x1fca68;let _0x24125b=0x0;const _0x5daf89=_0x499a9c[_0x5463f0];Object[_0x17dcfe(0x196)](_0x5daf89)[_0x17dcfe(0x17f)](_0x573df5=>{const _0x15880e=_0x17dcfe,_0x49b7c1=_0x5daf89[_0x573df5];Object[_0x15880e(0x196)](_0x49b7c1)['forEach'](_0xdfafd7=>{const _0x735f51=_0x15880e,_0xdcb06=_0x49b7c1[_0xdfafd7];if(_0xdcb06){if(_0x24125b>=_0x171dab)return;_0x24125b++;const _0xfe8a7d=this[_0x735f51(0x35e)](_0x5463f0),_0x350a82=_0xfe8a7d['collections'][_0xdfafd7],_0x11c538=_0x350a82[_0x735f51(0x3e9)]();let _0x124b9d=0x0;const _0x466fa3=[];for(const _0x45f00c of _0x11c538){const _0x3a51eb=_0x350a82[_0x735f51(0x2fa)](_0x45f00c);if(_0x570035[_0x735f51(0x1ec)](_0x3a51eb)){const _0x28499c=_0x3a51eb[_0x735f51(0x298)](),_0x1f2205=_0x350a82[_0x735f51(0x2fa)](_0x28499c);_0x1f2205&&_0x466fa3[_0x735f51(0x294)]([_0x3a51eb,_0x1f2205]);continue;}_0xfe8a7d[_0x735f51(0x178)](_0x45f00c,_0xdcb06['sourceRangeInfo'],_0x124b9d),_0x124b9d++;}_0x466fa3[_0x735f51(0x17f)](([_0x55eb27,_0xc03e13])=>{const _0x277b01=_0x735f51;_0x55eb27[_0x277b01(0x1a7)](_0xc03e13);});const _0x3cb361=new _0x570035[(_0x735f51(0x254))](_0x350a82);_0x3cb361[_0x735f51(0x288)](_0xdcb06['fieldsConfig']),this[_0x735f51(0x139)](_0x5463f0,_0x573df5,_0xdfafd7,_0x3cb361,_0xdcb06);const _0x4ea384=_0x3cb361['query']();_0x104811[_0x735f51(0x294)]({'unitId':_0x5463f0,'subUnitId':_0x573df5,'pivotTableId':_0xdfafd7,'view':_0x4ea384[_0x735f51(0x330)](),'pivotConfig':_0xdcb06,'type':_0x1cfd99['Add']});const _0x21c157=!!_0x3cb361[_0x735f51(0x1f1)](),_0x4600f8={'view':_0x4ea384,'pivotTableId':_0xdfafd7,'textInfo':this[_0x735f51(0x3e4)](),'isEmpty':_0x21c157,'targetCellInfo':_0xdcb06[_0x735f51(0x143)]};this[_0x735f51(0x2c2)](_0x4600f8,!0x1);}});});});}_0x346361&&Object[_0x1fca68(0x196)](_0x346361)[_0x1fca68(0x17f)](_0x447c6f=>{const _0x5cdc9b=_0x1fca68,_0x4f0503=this['getDataFieldManager'](_0x447c6f);this[_0x5cdc9b(0x1f6)]['next'](_0x4f0503['collections']);}),this['_commandService'][_0x1fca68(0x2a8)](_0x311c32['id'],{'batch':_0x104811,'collectionConfig':_0x346361},{'onlyLocal':!0x0});}[_0x31d072(0x20b)](){const _0x567c15=_0x31d072;this[_0x567c15(0x3fd)](this['_resourceManagerService'][_0x567c15(0x2c0)]({'toJson':_0x4186f4=>JSON[_0x567c15(0x325)](this[_0x567c15(0x330)](_0x4186f4)),'parseJson':_0x26f3e8=>{const _0x5da8d7=_0x567c15;if(!_0x26f3e8)return{};try{return JSON[_0x5da8d7(0x141)](_0x26f3e8);}catch{return{};}},'businesses':[_0x4417df['UniverInstanceType'][_0x567c15(0x2b0)]],'pluginName':_0x208d15,'onLoad':(_0x3a8294,_0x13c753)=>{this['fromJSON'](_0x13c753);},'onUnLoad':_0x26990f=>{const _0xe62652=_0x567c15;this[_0xe62652(0x30e)](_0x26990f);}}));}},_0x1f13ed[_0x31d072(0x368)]=_0x5f5d3([_0x38a04c(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1e0)])),_0x38a04c(0x1,_0x4417df[_0x31d072(0x40f)]),_0x38a04c(0x2,_0x4417df[_0x31d072(0x2b1)](_0x4417df['LifecycleService'])),_0x38a04c(0x3,_0x4417df['IConfigService']),_0x38a04c(0x4,_0x4417df['ICommandService']),_0x38a04c(0x5,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x320)]))],_0x1f13ed[_0x31d072(0x368)]);const _0x219e36={0x0:{0x0:{'v':'filter','s':_0x46f2f0}},0x2:{0x1:{'v':'','s':_0x46f2f0},0x2:{'v':'','s':_0x46f2f0},0x3:{'v':'column','s':_0x46f2f0},0x4:{'v':'','s':_0x46f2f0},0x5:{'v':'','s':_0x46f2f0}},0x3:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x4:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x5:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x6:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x7:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x8:{0x0:{'v':_0x31d072(0x210),'s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':_0x31d072(0x382),'s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0x9:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0xa:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0xb:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0xc:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}},0xd:{0x0:{'v':'','s':_0x46f2f0},0x1:{'v':'','s':_0xde1f9b},0x2:{'v':'','s':_0xde1f9b},0x3:{'v':'','s':_0xde1f9b},0x4:{'v':'','s':_0xde1f9b},0x5:{'v':'','s':_0xde1f9b}}},_0x47e358={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},_0x415b07=(_0x40c5f3,_0x2c192c)=>{const _0x328521=_0x31d072,_0xc9c257=new _0x4417df['ObjectMatrix'](),_0x4ac968=new _0x4417df['ObjectMatrix'](_0x219e36),{row:_0x466ef3,col:_0x31540e}=_0x2c192c;_0x4ac968[_0x328521(0x39d)]((_0x5712ab,_0x21e0db,_0x23aa5b)=>{const _0x277fbb=_0x328521;let _0x41e942='';_0x23aa5b['v']===_0x277fbb(0x12e)?_0x41e942=_0x40c5f3[_0x277fbb(0x12e)]:_0x23aa5b['v']==='row'?_0x41e942=_0x40c5f3[_0x277fbb(0x210)]:_0x23aa5b['v']===_0x277fbb(0x289)?_0x41e942=_0x40c5f3[_0x277fbb(0x289)]:_0x23aa5b['v']===_0x277fbb(0x382)&&(_0x41e942=_0x40c5f3[_0x277fbb(0x382)]),_0xc9c257[_0x277fbb(0x2a9)](_0x5712ab+_0x466ef3,_0x21e0db+_0x31540e,{..._0x23aa5b,'v':_0x41e942});});const _0x107776=_0x4417df[_0x328521(0x3db)]['deepClone'](_0x47e358);return Object['keys'](_0x47e358)[_0x328521(0x17f)](_0x22e1a8=>{const _0x32e144=_0x328521;_0x107776[_0x22e1a8]=_0x47e358[_0x22e1a8][_0x32e144(0x28b)](_0xa63bdb=>({..._0xa63bdb,'startRow':_0xa63bdb[_0x32e144(0x311)]+_0x466ef3,'endRow':_0xa63bdb['endRow']+_0x466ef3,'startColumn':_0xa63bdb['startColumn']+_0x31540e,'endColumn':_0xa63bdb[_0x32e144(0x365)]+_0x31540e}));}),{'matrixCache':_0xc9c257,'rangesCache':_0x107776};};function _0x436271(_0x281868,_0x33faf1){const _0x2a9459=_0x31d072;let _0x780395='';const _0x33372a=this[_0x2a9459(0x3e4)]();switch(_0x33faf1){case _0x570035['PivotSubtotalTypeEnum'][_0x2a9459(0x1bf)]:_0x780395=_0x33372a[_0x2a9459(0x2b3)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x151)]:_0x780395=_0x33372a['sheets-pivot.countName']+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x296)]:_0x780395=_0x33372a[_0x2a9459(0x189)]+_0x281868;break;case _0x570035['PivotSubtotalTypeEnum'][_0x2a9459(0x1aa)]:_0x780395=_0x33372a[_0x2a9459(0x2a4)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x3a1)]:_0x780395=_0x33372a['sheets-pivot.minName']+_0x281868;break;case _0x570035['PivotSubtotalTypeEnum']['product']:_0x780395=_0x33372a['sheets-pivot.productName']+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x373)]:_0x780395=_0x33372a[_0x2a9459(0x183)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x35a)]:_0x780395=_0x33372a[_0x2a9459(0x339)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x187)]:_0x780395=_0x33372a[_0x2a9459(0x1f2)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x1c4)]:_0x780395=_0x33372a[_0x2a9459(0x407)]+_0x281868;break;case _0x570035[_0x2a9459(0x3de)][_0x2a9459(0x34e)]:_0x780395=_0x33372a[_0x2a9459(0x200)]+_0x281868;break;default:_0x780395=_0x281868;break;}return _0x780395;}function _0xf4a99b(_0x1b02d6,_0x485450,_0x2f8154,_0x30a244,_0x4abdf6){const _0x3603a6=_0x31d072;var _0x59fd1a,_0x329779,_0x4c5034,_0x610838,_0x1a5816;const _0x93a4=_0x4417df[_0x3603a6(0x3a8)](_0x1b02d6,_0x485450),{rangesInfo:_0x9b130e,areaInfo:_0x1418ce,headerMap:_0x4f7e25}=_0x4abdf6;if(!_0x9b130e||!_0x1418ce||!_0x4f7e25)return;const _0x255cd2=Object[_0x3603a6(0x196)](_0x9b130e)[_0x3603a6(0x388)](_0x157278=>_0x9b130e[_0x157278][_0x3603a6(0x1a6)](_0x22baad=>_0x4417df['Rectangle'][_0x3603a6(0x38c)](_0x22baad,_0x93a4))),_0x264b99=_0x1418ce;let _0x40865,_0x4336ea,_0x241e25;if(_0x255cd2===_0x3603a6(0x1c2))_0x40865=(_0x59fd1a=_0x264b99==null?void 0x0:_0x264b99[_0x3603a6(0x322)])==null?void 0x0:_0x59fd1a[_0x1b02d6],_0x4336ea=(_0x329779=_0x4f7e25==null?void 0x0:_0x4f7e25[_0x3603a6(0x21e)])==null?void 0x0:_0x329779[_0x485450],_0x241e25=_0x4336ea==null?void 0x0:_0x4336ea['tableFieldId'];else{if(_0x255cd2==='colRanges')_0x40865=(_0x4c5034=_0x264b99==null?void 0x0:_0x264b99[_0x3603a6(0x2db)])==null?void 0x0:_0x4c5034[_0x485450],_0x4336ea=(_0x610838=_0x4f7e25[_0x3603a6(0x3f5)])==null?void 0x0:_0x610838[_0x1b02d6+0x1+_0x485450-_0x9b130e['colRanges'][0x0][_0x3603a6(0x353)]],_0x241e25=_0x4336ea==null?void 0x0:_0x4336ea[_0x3603a6(0x371)];else{if(_0x255cd2===_0x3603a6(0x199))_0x40865=(_0x1a5816=_0x264b99==null?void 0x0:_0x264b99[_0x3603a6(0x17d)])==null?void 0x0:_0x1a5816[_0x485450],_0x241e25=_0x40865==null?void 0x0:_0x40865['tableFieldId'];else{if(_0x255cd2===_0x3603a6(0x205)){const _0x1d215f=_0x2f8154==null?void 0x0:_0x2f8154['fi'];_0x1d215f!==void 0x0&&(_0x241e25=_0x30a244[_0x3603a6(0x33e)](_0x1d215f));}}}}return{'filterId':_0x241e25,'info':_0x40865,'data':_0x2f8154,'headerInfo':_0x4336ea};}function _0xb635cd(_0x3c8002,_0x2b20da,_0x3605bb){const _0x17dfe0=_0x31d072,_0x3ffe33=_0x3c8002[_0x17dfe0(0x256)],_0x38ef78=_0x3ffe33[_0x17dfe0(0x3e9)](),_0x52b274=new Set();_0x3c8002[_0x17dfe0(0x3e0)](_0x1a213a=>{const _0x1fee11=_0x17dfe0;_0x52b274[_0x1fee11(0x38f)](_0x1a213a[_0x1fee11(0x35b)]);});const _0x423648=_0x38ef78['map'](_0x4501a5=>{const _0x31f76b=_0x17dfe0,_0x387933=_0x3ffe33[_0x31f76b(0x2fa)](_0x4501a5);return{'checked':_0x52b274['has'](_0x4501a5),'dataFieldId':_0x387933['id'],'id':_0x387933['id'],'name':_0x3ffe33[_0x31f76b(0x287)](_0x387933['id']),'type':_0x387933[_0x31f76b(0x37e)](),'pivotTableId':_0x2b20da};}),_0x305b89=[];_0x3c8002[_0x17dfe0(0x30d)](_0x570035[_0x17dfe0(0x168)][_0x17dfe0(0x433)],_0x4bf243=>{const _0x2be330=_0x17dfe0;_0x305b89['push']({'dataFieldId':_0x4bf243[_0x2be330(0x35b)],'tableFieldId':_0x4bf243[_0x2be330(0x295)](),'displayName':_0x4bf243['getDisplayName']()});});const _0x198695=[];_0x3c8002['iterateFieldByArea'](_0x570035['PivotTableFiledAreaEnum'][_0x17dfe0(0x355)],_0x1fd541=>{const _0x2494f9=_0x17dfe0;_0x198695[_0x2494f9(0x294)]({'dataFieldId':_0x1fd541[_0x2494f9(0x35b)],'tableFieldId':_0x1fd541[_0x2494f9(0x295)](),'displayName':_0x1fd541[_0x2494f9(0x287)]()});});const _0x1b8d04=[];if(_0x3c8002[_0x17dfe0(0x30d)](_0x570035[_0x17dfe0(0x168)][_0x17dfe0(0x419)],_0x4eca01=>{const _0x433d35=_0x17dfe0;_0x1b8d04[_0x433d35(0x294)]({'dataFieldId':_0x4eca01[_0x433d35(0x35b)],'tableFieldId':_0x4eca01['getId'](),'displayName':_0x4eca01[_0x433d35(0x287)](),'format':_0x4eca01['getFormat'](),'subTotalType':_0x4eca01[_0x433d35(0x265)]()});}),_0x1b8d04[_0x17dfe0(0x292)]>0x1){const _0x5f123e=_0x3c8002[_0x17dfe0(0x1de)]();(_0x3c8002[_0x17dfe0(0x22f)]()?_0x198695:_0x305b89)[_0x17dfe0(0x2ee)](_0x5f123e,0x0,{'dataFieldId':'','tableFieldId':_0x17dfe0(0x22d),'displayName':'ΣValue'});}const _0x3ca432=[];_0x3c8002[_0x17dfe0(0x30d)](_0x570035[_0x17dfe0(0x168)][_0x17dfe0(0x136)],_0x5a6575=>{const _0x47e746=_0x17dfe0;_0x3ca432[_0x47e746(0x294)]({'dataFieldId':_0x5a6575[_0x47e746(0x35b)],'tableFieldId':_0x5a6575['getId'](),'displayName':_0x5a6575[_0x47e746(0x287)]()});});const _0x391af6=_0x3605bb['sourceRangeInfo'];return{'sourceList':_0x423648,'sourceRange':_0x391af6,'rowFields':_0x305b89,'columnFields':_0x198695,'valueFields':_0x1b8d04,'filterFields':_0x3ca432,'positionInfo':_0x3605bb[_0x17dfe0(0x143)]};}function _0x5e89b1(_0x5d6113,_0xb7f2a4,_0x127c95='',_0x10e911={}){const _0x328f0e=_0x31d072,_0x1788ec=_0x5d6113[_0x328f0e(0x180)](_0x4417df['LocaleService']);for(const _0x1cf331 in _0xb7f2a4)if(Object[_0x328f0e(0x37d)][_0x328f0e(0x1db)][_0x328f0e(0x387)](_0xb7f2a4,_0x1cf331)){const _0x539045=_0x127c95?_0x127c95+'.'+_0x1cf331:_0x1cf331;typeof _0xb7f2a4[_0x1cf331]==_0x328f0e(0x3a5)&&_0xb7f2a4[_0x1cf331]!==null&&!Array[_0x328f0e(0x27a)](_0xb7f2a4[_0x1cf331])?_0x5e89b1(_0x5d6113,_0xb7f2a4[_0x1cf331],_0x539045,_0x10e911):_0x10e911[_0x539045]=_0x1788ec['t'](_0x539045);}return _0x10e911;}const _0x4a8507=_0x5dbdbc=>{const _0x154e19=_0x31d072;if(!_0x5dbdbc)return[];const {rowRanges:_0xd90001,colRanges:_0x26c0a3,cornerRanges:_0x23587f,dataRanges:_0xe46d53,pageRanges:_0x4feb5f}=_0x5dbdbc,_0x38fba4=[..._0x26c0a3,..._0xd90001,..._0xe46d53,..._0x23587f][_0x154e19(0x12e)](_0x4e838c=>_0x4e838c[_0x154e19(0x311)]>=0x0&&_0x4e838c[_0x154e19(0x353)]>=0x0&&_0x4e838c[_0x154e19(0x2b2)]>=0x0&&_0x4e838c['endColumn']>=0x0);let _0x3233f1=Number[_0x154e19(0x172)],_0x51a092=Number[_0x154e19(0x315)],_0x148000=Number[_0x154e19(0x172)],_0x54ff69=Number[_0x154e19(0x315)];for(let _0x4ba1a8=0x0;_0x4ba1a8<_0x38fba4['length'];_0x4ba1a8++)_0x3233f1=Math[_0x154e19(0x3a1)](_0x3233f1,_0x38fba4[_0x4ba1a8][_0x154e19(0x311)]),_0x51a092=Math[_0x154e19(0x1aa)](_0x51a092,_0x38fba4[_0x4ba1a8][_0x154e19(0x2b2)]),_0x148000=Math[_0x154e19(0x3a1)](_0x148000,_0x38fba4[_0x4ba1a8][_0x154e19(0x353)]),_0x54ff69=Math[_0x154e19(0x1aa)](_0x54ff69,_0x38fba4[_0x4ba1a8]['endColumn']);return[..._0x4feb5f,{'startRow':_0x3233f1,'endRow':_0x51a092,'startColumn':_0x148000,'endColumn':_0x54ff69}];};function _0x27d056(_0xd919b3,_0x5cf89d){const _0x13f70d=_0x31d072,_0x5d8381=_0x5cf89d[_0x13f70d(0x421)][_0x13f70d(0x264)],{pivotTableId:_0x24440f,unitId:_0xd2db85,subUnitId:_0x3f122c}=_0x5cf89d;if(!_0x5d8381)return;const _0x3cb917=_0xd919b3[_0x13f70d(0x180)](_0x1f13ed[_0x13f70d(0x368)]),_0x34a0b9=_0x3cb917['getPivotTableInstance'](_0x24440f),_0x1d1687=_0x3cb917[_0x13f70d(0x32d)](_0xd2db85,_0x3f122c,_0x24440f);if(!_0x34a0b9||!_0x1d1687)return;const _0x3eb7a0=_0x34a0b9[_0x13f70d(0x401)](_0x5d8381[_0x13f70d(0x233)]);if(!(_0x3eb7a0!=null&&_0x3eb7a0['length']))return;const _0x3042a3=_0x1d1687[_0x13f70d(0x21b)],{unitId:_0x1ec43e,subUnitId:_0x41ffbd,range:_0xda9a9b}=_0x3042a3;let _0x1682f8=0x0;const _0x37391c=_0x34a0b9[_0x13f70d(0x256)]['getFieldIds']()[_0x13f70d(0x2e8)]((_0x32c99b,_0x5c19fb)=>{const _0x4c53d8=_0x13f70d;var _0x7e25a1;const _0x2b2696=(_0x7e25a1=_0x34a0b9[_0x4c53d8(0x1ea)](_0x5c19fb))==null?void 0x0:_0x7e25a1['getformat']();return _0x2b2696&&(_0x32c99b[String(_0x1682f8)]=_0x2b2696),_0x1682f8++,_0x32c99b;},{});return{'indexes':_0x3eb7a0,'range':_0xda9a9b,'sourceUnitId':_0x1ec43e,'sourceSubUnitId':_0x41ffbd,'formatMap':_0x37391c};}function _0x12e8b3(_0x48feaf,_0x4d50e0){const _0x41994b=_0x31d072;if(!_0x48feaf||!_0x4d50e0)return!0x0;const _0x380191=_0x34fa9b[_0x41994b(0x17a)](_0x41599d,_0xd68440),_0x43a7aa=new Function(_0x41994b(0x148)+_0x380191)()(_0x48feaf,_0x4d50e0)[_0x41994b(0x346)],_0x4744fa=_0x34fa9b['isFeatureAuthorizedWithinTime'](_0x43a7aa,'sf',_0x1c58ab);return!((_0x43a7aa==null?void 0x0:_0x43a7aa['rt'])===_0x34fa9b['ReleaseType'][_0x41994b(0x2d7)]&&!_0x4744fa);}function _0x41f0b1(_0x1eaea1,_0xfbf453,_0x10b3a2){const _0x386f47=_0x31d072,_0x351402={'count':_0x1eaea1,'timeValid':!0x1};if(!_0xfbf453||!_0x10b3a2)return _0x351402;const _0x1de5bf=_0x34fa9b[_0x386f47(0x17a)](_0x41599d,_0xd68440),_0x127961=new Function('return\x20'+_0x1de5bf)()(_0xfbf453,_0x10b3a2);if(_0x127961!=null&&_0x127961[_0x386f47(0x223)]){const _0x5f2b07=_0x127961[_0x386f47(0x346)],_0x51df90=_0x34fa9b[_0x386f47(0x252)](_0x5f2b07,'sf',_0x1c58ab);return{'count':_0x34fa9b[_0x386f47(0x39a)](_0x5f2b07,_0x51df90,'ptn',_0x1eaea1,_0x1eaea1,0x0),'timeValid':_0x51df90};}return _0x351402;}function _0x57446e(_0x344907,_0x4cca03,_0x2a6a0c,_0x71836a){const _0x1ec0a2=_0x31d072,_0x28676f={'subUnitId':_0x2a6a0c,'unitId':_0x4cca03,'cellValue':_0x3bcacb['generateNullCell'](_0x71836a)},_0x18df22=_0x3bcacb['SetRangeValuesUndoMutationFactory'](_0x344907,_0x28676f);let _0x2b4f6b=!0x1;return new _0x4417df['ObjectMatrix'](_0x18df22[_0x1ec0a2(0x1e1)])[_0x1ec0a2(0x39d)]((_0x16d673,_0x23bcfe,_0x5a3859)=>{const _0x92a5f4=_0x1ec0a2;if(!_0x2b4f6b&&_0x5a3859&&(_0x5a3859[_0x92a5f4(0x405)]||_0x5a3859['f']||_0x5a3859['p']||_0x5a3859['s']||_0x5a3859['si']||_0x5a3859['t']||_0x5a3859['v']))return _0x2b4f6b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3bcacb[_0x1ec0a2(0x310)]['id'],'params':_0x18df22},'setRangeValueRedoMutation':{'id':_0x3bcacb[_0x1ec0a2(0x310)]['id'],'params':_0x28676f},'shouldClear':_0x2b4f6b};}function _0x417f23(_0x4f515f){const {row:_0x8657b4,col:_0x50719f}=_0x4f515f,_0x4cad50={'startRow':_0x8657b4,'endRow':_0x8657b4,'startColumn':_0x50719f,'endColumn':_0x50719f},_0x162d46={'startRow':_0x8657b4+0x2,'endRow':_0x8657b4+0xe,'startColumn':_0x50719f,'endColumn':_0x50719f+0x6};return[_0x4cad50,_0x162d46];}function _0x1ca5be(_0xcc8107,_0x5e28a2,_0x2f0872){const _0x3add01=_0x31d072,{cornerView:_0x2f50ea,rowView:_0x2b345b,colView:_0x519974,pageView:_0x3984cb}=_0xcc8107,{row:_0x39218f,col:_0x3e3165}=_0x5e28a2;if(_0x2f0872)return{'rowCount':_0x5ce418+_0x39218f,'colCount':_0x3e5c14+_0x3e3165};const _0xfc02fd=_0x3984cb[_0x3add01(0x1f4)]>-0x1?_0x3984cb[_0x3add01(0x1f4)]+0x1:0x0,_0x3db327=_0x3984cb[_0x3add01(0x3e8)]>-0x1?_0x3984cb[_0x3add01(0x3e8)]:0x0,_0xb818bd=_0x39218f+_0xfc02fd+(_0xfc02fd?0x1:0x0)+_0x2f50ea[_0x3add01(0x2e4)]+_0x2b345b[_0x3add01(0x2e4)],_0xe68a30=_0x3e3165+_0x3db327,_0x42fa8e=_0x3e3165+_0x2f50ea['colCount']+_0x519974[_0x3add01(0x3d2)],_0x41de8c=Math['max'](_0xe68a30,_0x42fa8e);return{'rowCount':_0xb818bd,'colCount':_0x41de8c};}function _0x2942f2(_0x47c622,_0x1f0846,_0x225d80,_0x268240){const _0x327a17=_0x31d072,{row:_0x103507,col:_0x3349aa,unitId:_0xac2587,subUnitId:_0x5cc9f2}=_0x225d80,_0x53d914=_0x1ca5be(_0x1f0846,{'row':_0x103507,'col':_0x3349aa},_0x268240),_0x4d3cc6=_0x47c622['get'](_0x4417df[_0x327a17(0x40f)]),_0x34235a=_0x3bcacb[_0x327a17(0x1d7)](_0x4d3cc6,{'unitId':_0xac2587,'subUnitId':_0x5cc9f2}),_0x3d6fbc=[],_0x3e4bf7=[];if(!_0x34235a)return{'undos':_0x3e4bf7,'redos':_0x3d6fbc};const {worksheet:_0x518291}=_0x34235a,_0x4e7724=_0x518291['getRowCount'](),_0x5e7455=_0x518291[_0x327a17(0x163)]();return _0x4e7724<_0x53d914['rowCount']&&(_0x3d6fbc[_0x327a17(0x294)]({'id':_0x3bcacb['InsertRowMutation']['id'],'params':{'unitId':_0xac2587,'subUnitId':_0x5cc9f2,'range':{'startRow':_0x4e7724,'endRow':_0x53d914[_0x327a17(0x2e4)]-0x1,'startColumn':0x0,'endColumn':_0x5e7455-0x1}}}),_0x3e4bf7[_0x327a17(0x294)]({'id':_0x3bcacb['RemoveRowMutation']['id'],'params':{'unitId':_0xac2587,'subUnitId':_0x5cc9f2,'range':{'startRow':_0x4e7724,'endRow':_0x53d914['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x5e7455-0x1}}})),_0x5e7455<_0x53d914[_0x327a17(0x3d2)]&&(_0x3d6fbc['push']({'id':_0x3bcacb['InsertColMutation']['id'],'params':{'unitId':_0xac2587,'subUnitId':_0x5cc9f2,'range':{'startRow':0x0,'endRow':_0x4e7724-0x1,'startColumn':_0x5e7455,'endColumn':_0x53d914[_0x327a17(0x3d2)]-0x1}}}),_0x3e4bf7[_0x327a17(0x294)]({'id':_0x3bcacb[_0x327a17(0x191)]['id'],'params':{'unitId':_0xac2587,'subUnitId':_0x5cc9f2,'range':{'startRow':0x0,'endRow':_0x4e7724-0x1,'startColumn':_0x5e7455,'endColumn':_0x53d914[_0x327a17(0x3d2)]-0x1}}})),{'undos':_0x3e4bf7,'redos':_0x3d6fbc};}function _0x2689d1(_0x2352e5){const _0x502ad0=_0x31d072;let _0x35403b=0x0;for(let _0x1b89f8=0x0;_0x1b89f8<_0x2352e5[_0x502ad0(0x292)];_0x1b89f8++){const _0x486f5e=_0x2352e5[_0x502ad0(0x3a9)](_0x1b89f8);_0x486f5e>=0x4e00&&_0x486f5e<=0x9fff||_0x486f5e>=0x3000&&_0x486f5e<=0x303f||_0x486f5e>=0xff00&&_0x486f5e<=0xffef?_0x35403b+=0x2:_0x35403b+=0x1;}return _0x35403b;}function _0x16bc7e(_0x87d3d0,_0x172dde,_0x54738b,_0x26e5dd){const _0xd41a5=_0x31d072;var _0xe7f887,_0x4ff726,_0x49ab66,_0x1be30b;const {rowCount:_0x41dd61,colCount:_0x47e2f6,headerMap:_0x6f334c}=_0x87d3d0,_0x33d0dc=0x64,_0x1f2f45=Math[_0xd41a5(0x3a1)](_0x41dd61,_0x33d0dc),_0x30a021=Math[_0xd41a5(0x3a1)](_0x47e2f6,_0x33d0dc);let _0xb516e6='',_0x16aabc=0x0;for(let _0x184dec=0x0;_0x184dec<_0x1f2f45;_0x184dec++)for(let _0x1c91dd=0x0;_0x1c91dd<_0x30a021;_0x1c91dd++){const _0x186622={...(_0x4ff726=(_0xe7f887=_0x87d3d0[_0xd41a5(0x27b)])==null?void 0x0:_0xe7f887[_0x184dec])==null?void 0x0:_0x4ff726[_0x1c91dd]},_0x6c3649=(_0x49ab66=_0x6f334c[_0x184dec])==null?void 0x0:_0x49ab66['tableFieldId'],_0x549c26=_0x26e5dd[_0x6c3649];let _0xf60352=_0x87d3d0[_0xd41a5(0x3eb)](_0x184dec,_0x1c91dd);if(_0x186622){const _0x136037=_0x54738b?_0x1c91dd===0x0&&((_0x1be30b=_0x87d3d0[_0xd41a5(0x1fd)](_0x1c91dd+0x1))==null?void 0x0:_0x1be30b[_0xd41a5(0x3aa)]):!0x1;_0xf60352=_0x56db4c(_0x186622,_0x136037,_0x549c26,_0x172dde);}if(_0xf60352!==void 0x0){const _0x2f6b98=_0x2689d1(String(_0xf60352));_0x16aabc<_0x2f6b98&&(_0xb516e6=String(_0xf60352),_0x16aabc=_0x2f6b98);}}return _0xb516e6;}function _0x57675a(_0x1fa77c){const _0x25261c=_0x31d072,{rowCount:_0x58e504,colCount:_0x5a0439}=_0x1fa77c;let _0x128893='',_0x2fa4ec=0x0;for(let _0x46a5e5=_0x58e504-0x1;_0x46a5e5>0x0&&_0x46a5e5>_0x58e504-0x3;_0x46a5e5--)for(let _0x36809d=0x0;_0x36809d<_0x5a0439;_0x36809d++){const _0x495183=_0x1fa77c[_0x25261c(0x3eb)](_0x46a5e5,_0x36809d);if(_0x495183!==void 0x0){const _0x1bddfc=String(_0x495183)['length'];_0x2fa4ec<_0x1bddfc&&(_0x128893=String(_0x495183),_0x2fa4ec=_0x1bddfc);}}return _0x128893;}function _0x564f1a(_0x4509e1){const _0x28a65c=_0x31d072,{rowCount:_0x3135e3,colCount:_0xe280b9}=_0x4509e1;let _0x1984ba='',_0x53d822=0x0;for(let _0x1e3fc4=0x0;_0x1e3fc4<_0x3135e3;_0x1e3fc4++)for(let _0xca938d=0x0;_0xca938d<_0xe280b9;_0xca938d++){const _0x49af4a=_0x4509e1[_0x28a65c(0x3eb)](_0x1e3fc4,_0xca938d);if(_0x49af4a!==void 0x0){const _0x9f5a16=String(_0x49af4a)[_0x28a65c(0x292)];_0x53d822<_0x9f5a16&&(_0x1984ba=String(_0x49af4a),_0x53d822=_0x9f5a16);}}return _0x1984ba;}function _0x2d4c31(_0x23ffbd,_0x52e212){const _0x54e0ef=_0x31d072,{rowFields:_0xa0a8c0,columnFields:_0x5ed7d6,valueFields:_0x24f12d,filterFields:_0x5f2d42,dimension:_0xcaf80f,measure:_0x41a181}=_0x52e212;for(const _0xa17c18 of _0xa0a8c0){const _0x5cf555=_0xcaf80f[_0xa17c18];_0x5cf555&&_0x23ffbd[_0x54e0ef(0x1ea)](_0x5cf555[_0x54e0ef(0x35b)])&&(_0x23ffbd[_0x54e0ef(0x2b6)](_0x5cf555[_0x54e0ef(0x35b)],_0x570035[_0x54e0ef(0x168)][_0x54e0ef(0x433)],void 0x0,_0xa17c18),_0x5cf555['displayName']&&_0x23ffbd[_0x54e0ef(0x3c1)](_0x5cf555['id'],_0x5cf555['displayName']),_0x5cf555[_0x54e0ef(0x127)]&&_0x23ffbd['setSortInfo'](_0x5cf555['id'],_0x5cf555['sortInfo']),_0x5cf555[_0x54e0ef(0x276)]&&_0x23ffbd['setLabelFilterInfo'](_0x5cf555['id'],_0x5cf555['filterInfo']));}for(const _0x580891 of _0x5ed7d6){const _0x9d6ef6=_0xcaf80f[_0x580891];_0x9d6ef6&&_0x23ffbd['getDataFieldByDataFieldId'](_0x9d6ef6[_0x54e0ef(0x35b)])&&(_0x23ffbd[_0x54e0ef(0x2b6)](_0x9d6ef6[_0x54e0ef(0x35b)],_0x570035[_0x54e0ef(0x168)]['Column'],void 0x0,_0x580891),_0x9d6ef6[_0x54e0ef(0x127)]&&_0x23ffbd[_0x54e0ef(0x206)](_0x9d6ef6['id'],_0x9d6ef6[_0x54e0ef(0x127)]),_0x9d6ef6[_0x54e0ef(0x276)]&&_0x23ffbd[_0x54e0ef(0x41d)](_0x9d6ef6['id'],_0x9d6ef6[_0x54e0ef(0x276)]),_0x9d6ef6['displayName']&&_0x23ffbd[_0x54e0ef(0x3c1)](_0x9d6ef6['id'],_0x9d6ef6['displayName']));}for(const _0x29aea3 of _0x5f2d42){const _0x315414=_0xcaf80f[_0x29aea3];_0x315414&&_0x23ffbd['getDataFieldByDataFieldId'](_0x315414[_0x54e0ef(0x35b)])&&(_0x23ffbd[_0x54e0ef(0x2b6)](_0x315414[_0x54e0ef(0x35b)],_0x570035[_0x54e0ef(0x168)][_0x54e0ef(0x136)],void 0x0,_0x29aea3),_0x315414['sortInfo']&&_0x23ffbd[_0x54e0ef(0x206)](_0x315414['id'],_0x315414[_0x54e0ef(0x127)]),_0x315414[_0x54e0ef(0x276)]&&_0x23ffbd['setLabelFilterInfo'](_0x315414['id'],_0x315414[_0x54e0ef(0x276)]),_0x315414[_0x54e0ef(0x2ac)]&&_0x23ffbd['renameField'](_0x315414['id'],_0x315414['displayName']));}for(const _0x52b681 of _0x24f12d){const _0x5e398f=_0x41a181[_0x52b681];_0x5e398f&&_0x23ffbd[_0x54e0ef(0x1ea)](_0x5e398f[_0x54e0ef(0x35b)])&&(_0x23ffbd['addFieldWithSourceId'](_0x5e398f[_0x54e0ef(0x35b)],_0x570035[_0x54e0ef(0x168)][_0x54e0ef(0x419)],void 0x0,_0x52b681),_0x5e398f[_0x54e0ef(0x1fb)]!==void 0x0&&_0x23ffbd['setSubtotalType'](_0x52b681,_0x5e398f[_0x54e0ef(0x1fb)]),_0x5e398f['format']&&_0x23ffbd['setFieldFormat'](_0x52b681,_0x5e398f[_0x54e0ef(0x38b)]),_0x5e398f[_0x54e0ef(0x2ac)]&&_0x23ffbd[_0x54e0ef(0x3c1)](_0x5e398f['id'],_0x5e398f['displayName']));}const _0x53f2ae=_0x52e212[_0x54e0ef(0x403)];for(const {fieldId:_0xce58f4,filterInfo:_0x4d5cc0}of _0x53f2ae)_0x23ffbd[_0x54e0ef(0x1e5)](_0xce58f4,_0x4d5cc0);}function _0xc90c3b(_0x1b4efa,_0x3c83f0){const _0x48ca75=_0x31d072,_0x2741c0=[];_0x3c83f0===_0x570035[_0x48ca75(0x168)][_0x48ca75(0x433)]&&_0x1b4efa[_0x48ca75(0x30d)](_0x570035[_0x48ca75(0x168)]['Row'],_0x258dcd=>{const _0x598f85=_0x48ca75;_0x2741c0[_0x598f85(0x294)](_0x258dcd[_0x598f85(0x295)]());}),_0x3c83f0===_0x570035[_0x48ca75(0x168)]['Column']&&_0x1b4efa[_0x48ca75(0x30d)](_0x570035[_0x48ca75(0x168)]['Column'],_0x22f002=>{const _0x14bf6f=_0x48ca75;_0x2741c0[_0x14bf6f(0x294)](_0x22f002['getId']());}),_0x3c83f0===_0x570035['PivotTableFiledAreaEnum'][_0x48ca75(0x136)]&&_0x1b4efa[_0x48ca75(0x30d)](_0x570035[_0x48ca75(0x168)][_0x48ca75(0x136)],_0x9882b6=>{const _0x1fb3a6=_0x48ca75;_0x2741c0['push'](_0x9882b6[_0x1fb3a6(0x295)]());}),_0x3c83f0===_0x570035[_0x48ca75(0x168)][_0x48ca75(0x419)]&&_0x1b4efa['iterateFieldByArea'](_0x570035[_0x48ca75(0x168)][_0x48ca75(0x419)],_0x18b424=>{const _0x227ddc=_0x48ca75;_0x2741c0[_0x227ddc(0x294)](_0x18b424[_0x227ddc(0x295)]());}),_0x3c83f0===void 0x0&&_0x1b4efa[_0x48ca75(0x3e0)](_0x554407=>{const _0x1a5e84=_0x48ca75;_0x2741c0[_0x1a5e84(0x294)](_0x554407[_0x1a5e84(0x295)]());});const _0x2b2439=_0x2741c0[_0x48ca75(0x292)];for(let _0x17f7df=_0x2b2439-0x1;_0x17f7df>=0x0;_0x17f7df--)_0x1b4efa[_0x48ca75(0x3d9)](_0x2741c0[_0x17f7df]);const _0x1ca4ce=_0x1b4efa[_0x48ca75(0x1b1)]();for(const _0x199cb6 in _0x1ca4ce)_0x1b4efa['removeValueFilterInfo'](_0x199cb6);}function _0x1b11f7(_0x2e5089,_0x38f4e4){const _0x4a7688=_0x31d072,_0x3eae0f=new Date(_0x570035[_0x4a7688(0x1fa)](_0x38f4e4)),_0x1601ab=new Date(_0x570035['excelDateToUnixMilliseconds'](_0x2e5089)),_0x3c6246=_0x3eae0f[_0x4a7688(0x17e)](),_0x1cfe27=_0x1601ab[_0x4a7688(0x17e)](),_0x12a02d=_0x3eae0f[_0x4a7688(0x282)](),_0x1147e3=_0x1601ab[_0x4a7688(0x282)](),_0x37d36c=_0x3eae0f[_0x4a7688(0x32c)](),_0x5f3f89=_0x1601ab[_0x4a7688(0x32c)](),_0x1fa2f4=_0x3c6246===_0x1cfe27,_0xc5be57=_0x1fa2f4&&_0x12a02d===_0x1147e3;return _0x1fa2f4&&_0xc5be57&&!(_0xc5be57&&_0x37d36c===_0x5f3f89)?_0x570035[_0x4a7688(0x182)][_0x4a7688(0x132)]:_0x1fa2f4&&!_0xc5be57?_0x570035[_0x4a7688(0x182)][_0x4a7688(0x16d)]:_0x570035[_0x4a7688(0x182)]['Year'];}function _0x30149e(_0x2cafb6,_0x1eeb97){const _0x4f9558=_0x31d072,_0x2e69c5=_0x2cafb6[_0x4f9558(0x180)](_0x1f13ed['SheetsPivotDataSourceModel'])[_0x4f9558(0x3e4)]();let _0x3df523='';switch(_0x1eeb97){case _0x570035['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x3df523=_0x2e69c5[_0x4f9558(0x173)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x16d)]:_0x3df523=_0x2e69c5['sheets-pivot.dateGroup.yearMonth'];break;case _0x570035['PivotDateGroupFieldDateTypeEnum'][_0x4f9558(0x268)]:_0x3df523=_0x2e69c5['sheets-pivot.dateGroup.year'];break;case _0x570035[_0x4f9558(0x182)]['Month']:_0x3df523=_0x2e69c5[_0x4f9558(0x155)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x1e9)]:_0x3df523=_0x2e69c5['sheets-pivot.dateGroup.quarter'];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x17b)]:_0x3df523=_0x2e69c5[_0x4f9558(0x290)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x3fa)]:_0x3df523=_0x2e69c5['sheets-pivot.dateGroup.hourMinute'];break;case _0x570035['PivotDateGroupFieldDateTypeEnum'][_0x4f9558(0x33d)]:_0x3df523=_0x2e69c5[_0x4f9558(0x1d9)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x3f4)]:_0x3df523=_0x2e69c5[_0x4f9558(0x2fc)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x29c)]:_0x3df523=_0x2e69c5[_0x4f9558(0x1e4)];break;case _0x570035[_0x4f9558(0x182)][_0x4f9558(0x2f7)]:_0x3df523=_0x2e69c5[_0x4f9558(0x30b)];break;default:_0x3df523='';break;}return _0x3df523;}const _0x5f8813='sheets-pivot.config',_0x164b35={};var _0x498e7a=Object['getOwnPropertyDescriptor'],_0x1c6d18=(_0x16fd43,_0x4fdcc7,_0x1fc2af,_0x3788a6)=>{const _0x4d0511=_0x31d072;for(var _0x3cfab1=_0x3788a6>0x1?void 0x0:_0x3788a6?_0x498e7a(_0x4fdcc7,_0x1fc2af):_0x4fdcc7,_0x3d62ad=_0x16fd43[_0x4d0511(0x292)]-0x1,_0xf4834c;_0x3d62ad>=0x0;_0x3d62ad--)(_0xf4834c=_0x16fd43[_0x3d62ad])&&(_0x3cfab1=_0xf4834c(_0x3cfab1)||_0x3cfab1);return _0x3cfab1;},_0xe25f20=(_0xc406ba,_0x72e999)=>(_0x31895f,_0x48fd27)=>_0x72e999(_0x31895f,_0x48fd27,_0xc406ba);_0x1f13ed['SheetsPivotTableConfigModel']=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x439571,_0x520307,_0x2b29f4,_0x344067,_0x42aa1e){const _0x2babd8=_0x31d072;super(),_0x36561d(this,'_model',new Map()),_0x36561d(this,_0x2babd8(0x3d0),new Map()),_0x36561d(this,'_pivotTableRangeInfo',new Map()),_0x36561d(this,_0x2babd8(0x370),new Map()),_0x36561d(this,_0x2babd8(0x312),new _0x1dc88d[(_0x2babd8(0x1e3))]()),_0x36561d(this,'_pivotInitCompleted$',new _0x1dc88d[(_0x2babd8(0x1e3))]()),_0x36561d(this,_0x2babd8(0x2d9),this[_0x2babd8(0x297)][_0x2babd8(0x1b6)]()),_0x36561d(this,_0x2babd8(0x2d2),new _0x1dc88d[(_0x2babd8(0x1e3))]()),_0x36561d(this,_0x2babd8(0x26b),this['_pivotConfigChange$']['asObservable']()),_0x36561d(this,'_textInfo',{}),_0x36561d(this,_0x2babd8(0x1d6),this[_0x2babd8(0x312)][_0x2babd8(0x1b6)]()),(this[_0x2babd8(0x343)]=_0x439571,this['_commandService']=_0x520307,this[_0x2babd8(0x402)]=_0x2b29f4,this[_0x2babd8(0x38d)]=_0x344067,this[_0x2babd8(0x2d5)]=_0x42aa1e,this[_0x2babd8(0x201)](),this['_initUnitDisposed']());const _0x361c7c=this['_configService'][_0x2babd8(0x279)](_0x5f8813);(_0x361c7c==null?void 0x0:_0x361c7c[_0x2babd8(0x1e2)])===!0x0&&this[_0x2babd8(0x20b)]();}[_0x31d072(0x2a0)](){const _0x56bdf8=_0x31d072;this[_0x56bdf8(0x3fd)](this[_0x56bdf8(0x402)][_0x56bdf8(0x2d1)](_0x4417df[_0x56bdf8(0x24d)][_0x56bdf8(0x2b0)])[_0x56bdf8(0x349)](_0x2fbbee=>{const _0x5ea946=_0x56bdf8;this['deleteUnitId'](_0x2fbbee[_0x5ea946(0x1c0)]());}));}[_0x31d072(0x188)](){const _0x43e4ad=_0x31d072;this[_0x43e4ad(0x297)][_0x43e4ad(0x28a)](!0x0);}[_0x31d072(0x201)](){const _0x5a0398=_0x31d072,_0x222d8c=_0x5e89b1(this['_injector'],_0x8b6e3f,'',{});this[_0x5a0398(0x350)]=_0x222d8c,this[_0x5a0398(0x313)][_0x5a0398(0x2a8)](_0x568db5['id'],{'textInfo':_0x222d8c},{'onlyLocal':!0x0});}[_0x31d072(0x3e4)](){const _0x5c09ba=_0x31d072;return this[_0x5c09ba(0x350)];}[_0x31d072(0x250)](_0x5d1b7a,_0xa04643,_0x51e325,_0xca0f17,_0x30f585){const _0x4797da=_0x31d072;this['updatePivotTableMatrixInfo'](_0x5d1b7a,_0xa04643,_0x51e325,_0xca0f17),this[_0x4797da(0x3c2)](_0x5d1b7a,_0xa04643,_0x51e325,_0x30f585);}[_0x31d072(0x32d)](_0x22abb9,_0x497921,_0x5b68f0){const _0x3fb91b=_0x31d072;var _0x7d084e;const _0x23b9bf=(_0x7d084e=this[_0x3fb91b(0x1bd)]['get'](_0x22abb9))==null?void 0x0:_0x7d084e['get'](_0x497921);if(_0x23b9bf)return _0x23b9bf[_0x3fb91b(0x180)](_0x5b68f0);}[_0x31d072(0x35f)](_0x537564,_0x240913){const _0x499582=_0x31d072,_0x1dfd3e=this[_0x499582(0x1bd)][_0x499582(0x180)](_0x537564);if(_0x1dfd3e){for(const [_0x293e5f,_0x1b3efe]of _0x1dfd3e['entries']())for(const [_0x51210e,_0x497d6d]of _0x1b3efe[_0x499582(0x418)]())if(_0x51210e===_0x240913)return _0x497d6d['targetCellInfo'];}}['getTargetByPivotId'](_0x251abd,_0x2ff6c3,_0x1cf700){const _0x3f731d=_0x31d072,_0x4717e6=this[_0x3f731d(0x32d)](_0x251abd,_0x2ff6c3,_0x1cf700);return _0x4717e6==null?void 0x0:_0x4717e6[_0x3f731d(0x143)];}[_0x31d072(0x2af)](_0x264870,_0x18170b){const _0x1e4fc8=_0x31d072;var _0xb4f4cd;return(_0xb4f4cd=this[_0x1e4fc8(0x1bd)]['get'](_0x264870))==null?void 0x0:_0xb4f4cd[_0x1e4fc8(0x180)](_0x18170b);}[_0x31d072(0x209)](_0x4ef3db,_0x12ca9c,_0x243225,_0x5ac5ab){const _0x2626e3=_0x31d072,_0x5d2832=this[_0x2626e3(0x23c)](_0x4ef3db,_0x12ca9c);_0x5ac5ab?_0x5d2832['set'](_0x243225,_0x5ac5ab):_0x5d2832[_0x2626e3(0x1cd)](_0x243225),this[_0x2626e3(0x2d2)][_0x2626e3(0x28a)]({'unitId':_0x4ef3db,'subUnitId':_0x12ca9c,'pivotTableId':_0x243225,'pivotTableConfig':_0x5ac5ab});}[_0x31d072(0x203)](_0x1964e3,_0x564a87){const _0x29ea0b=_0x31d072;var _0x500e8a;return(_0x500e8a=this[_0x29ea0b(0x3d0)][_0x29ea0b(0x180)](_0x1964e3))==null?void 0x0:_0x500e8a[_0x29ea0b(0x27e)][_0x564a87];}[_0x31d072(0x352)](_0x3317ab,_0x589d2d){const _0x413838=_0x31d072;this[_0x413838(0x3d0)][_0x413838(0x262)](_0x3317ab,_0x589d2d),this[_0x413838(0x312)]['next'](Math[_0x413838(0x300)]());}[_0x31d072(0x23c)](_0x219e79,_0x37ba5f){const _0x3a07c1=_0x31d072;let _0x3860aa=this[_0x3a07c1(0x1bd)][_0x3a07c1(0x180)](_0x219e79);_0x3860aa||(_0x3860aa=new Map(),this[_0x3a07c1(0x1bd)]['set'](_0x219e79,_0x3860aa));let _0x1f2989=_0x3860aa[_0x3a07c1(0x180)](_0x37ba5f);return _0x1f2989||(_0x1f2989=new Map(),_0x3860aa[_0x3a07c1(0x262)](_0x37ba5f,_0x1f2989)),_0x1f2989;}['_ensurePivotTableRangeInfo'](_0x19bbca,_0x2bfe24){const _0x1da5b6=_0x31d072;let _0x409753=this['_pivotTableRangeInfo'][_0x1da5b6(0x180)](_0x19bbca);_0x409753||(_0x409753=new Map(),this[_0x1da5b6(0x38e)]['set'](_0x19bbca,_0x409753));let _0x44658a=_0x409753[_0x1da5b6(0x180)](_0x2bfe24);return _0x44658a||(_0x44658a=new Map(),_0x409753[_0x1da5b6(0x262)](_0x2bfe24,_0x44658a)),_0x44658a;}['_ensurePivotTableMatrixInfo'](_0x15fec9,_0x50383b){const _0x1a3254=_0x31d072;let _0x5d9921=this[_0x1a3254(0x370)][_0x1a3254(0x180)](_0x15fec9);_0x5d9921||(_0x5d9921=new Map(),this[_0x1a3254(0x370)][_0x1a3254(0x262)](_0x15fec9,_0x5d9921));let _0x58f65=_0x5d9921[_0x1a3254(0x180)](_0x50383b);return _0x58f65||(_0x58f65=new Map(),_0x5d9921['set'](_0x50383b,_0x58f65)),_0x58f65;}[_0x31d072(0x3c2)](_0x31764e,_0x22f86a,_0x2c7601,_0x197977){const _0x4025a6=_0x31d072;var _0x1802f3;const _0xd9af6e=this[_0x4025a6(0x372)](_0x31764e,_0x22f86a),_0x548ecd=(_0x1802f3=_0xd9af6e[_0x4025a6(0x180)](_0x2c7601))==null?void 0x0:_0x1802f3['oldRangeInfo'];_0xd9af6e['set'](_0x2c7601,{'oldRangeInfo':_0x548ecd,'rangeInfo':_0x197977});}['updatePivotTableMatrixInfo'](_0xf947f5,_0x5980a4,_0x9a5ea8,_0x2bb6db){const _0x44520e=_0x31d072;var _0x26aa52;const _0x583c91=this['_ensurePivotTableMatrixInfo'](_0xf947f5,_0x5980a4),_0x53802e=(_0x26aa52=_0x583c91[_0x44520e(0x180)](_0x9a5ea8))==null?void 0x0:_0x26aa52[_0x44520e(0x23f)];_0x583c91[_0x44520e(0x262)](_0x9a5ea8,{'oldMatrix':_0x53802e,'matrix':_0x2bb6db});}[_0x31d072(0x3f7)](_0x233374,_0x49b913,_0x2b271b){const _0x512beb=_0x31d072;var _0x32598c,_0x5c2717;return(_0x5c2717=(_0x32598c=this[_0x512beb(0x38e)][_0x512beb(0x180)](_0x233374))==null?void 0x0:_0x32598c[_0x512beb(0x180)](_0x49b913))==null?void 0x0:_0x5c2717['get'](_0x2b271b);}['getPivotTableMatrixInfo'](_0x71a8f1,_0x22b687,_0x11b1fb){const _0x573e56=_0x31d072;var _0x33d7b9,_0x3bf3b5;return(_0x3bf3b5=(_0x33d7b9=this[_0x573e56(0x370)][_0x573e56(0x180)](_0x71a8f1))==null?void 0x0:_0x33d7b9[_0x573e56(0x180)](_0x22b687))==null?void 0x0:_0x3bf3b5[_0x573e56(0x180)](_0x11b1fb);}[_0x31d072(0x30e)](_0x1275cc){const _0x470566=_0x31d072;this[_0x470566(0x1bd)][_0x470566(0x1cd)](_0x1275cc),this[_0x470566(0x3d0)][_0x470566(0x1cd)](_0x1275cc);}[_0x31d072(0x243)](_0x318f1a){const _0x140d43=_0x31d072,_0x4b1f26={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x140d43(0x3d0)][_0x140d43(0x180)](_0x318f1a)&&(_0x4b1f26[_0x140d43(0x2bb)][_0x318f1a]=this[_0x140d43(0x3d0)][_0x140d43(0x180)](_0x318f1a)),this['_model']['get'](_0x318f1a)){_0x4b1f26['pivotTableConfigs'][_0x318f1a]={};const _0x5e77bb=this[_0x140d43(0x1bd)][_0x140d43(0x180)](_0x318f1a);_0x5e77bb!=null&&_0x5e77bb['size']&&[..._0x5e77bb['keys']()][_0x140d43(0x17f)](_0x205233=>{const _0x3ceb55=_0x140d43,_0x41be4b=_0x5e77bb[_0x3ceb55(0x180)](_0x205233);_0x41be4b!=null&&_0x41be4b[_0x3ceb55(0x198)]&&(_0x4b1f26[_0x3ceb55(0x1c7)][_0x318f1a][_0x205233]={},[..._0x41be4b[_0x3ceb55(0x196)]()][_0x3ceb55(0x17f)](_0x2a98bf=>{const _0x100aba=_0x3ceb55,_0xeb5105=_0x41be4b[_0x100aba(0x180)](_0x2a98bf);_0xeb5105&&(_0x4b1f26['pivotTableConfigs'][_0x318f1a][_0x205233][_0x2a98bf]=_0xeb5105);}));});}return _0x4b1f26;}[_0x31d072(0x20b)](){const _0x218dc7=_0x31d072;this[_0x218dc7(0x3fd)](this['_resourceManagerService'][_0x218dc7(0x2c0)]({'toJson':_0xe534ca=>JSON['stringify'](this['_toJSON'](_0xe534ca)),'parseJson':_0x5f0b65=>({}),'businesses':[_0x4417df[_0x218dc7(0x24d)]['UNIVER_SHEET']],'pluginName':_0x208d15,'onLoad':(_0x3dc74c,_0x1982a4)=>{},'onUnLoad':_0x4f8252=>{const _0x526c42=_0x218dc7;this[_0x526c42(0x30e)](_0x4f8252);}}));}},_0x1f13ed['SheetsPivotTableConfigModel']=_0x1c6d18([_0xe25f20(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1e0)])),_0xe25f20(0x1,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1f3)])),_0xe25f20(0x2,_0x4417df['Inject'](_0x4417df['IUniverInstanceService'])),_0xe25f20(0x3,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x320)])),_0xe25f20(0x4,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x14e)]))],_0x1f13ed[_0x31d072(0x232)]);var _0x57fc42=Object[_0x31d072(0x1a2)],_0x3eda86=(_0x472cc1,_0x140088,_0x5b1ebf,_0xb1e400)=>{const _0x22bb87=_0x31d072;for(var _0x5c2f06=_0xb1e400>0x1?void 0x0:_0xb1e400?_0x57fc42(_0x140088,_0x5b1ebf):_0x140088,_0x14114b=_0x472cc1[_0x22bb87(0x292)]-0x1,_0x54066f;_0x14114b>=0x0;_0x14114b--)(_0x54066f=_0x472cc1[_0x14114b])&&(_0x5c2f06=_0x54066f(_0x5c2f06)||_0x5c2f06);return _0x5c2f06;},_0xcc939a=(_0x15ec07,_0x2d471d)=>(_0x4f9046,_0x2984cf)=>_0x2d471d(_0x4f9046,_0x2984cf,_0x15ec07);_0x1f13ed['SheetsPivotTableAdaptorModel']=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x316594,_0x441aae,_0x24d3d4,_0x2f084b,_0x2d6d0d){const _0xc1f177=_0x31d072;super(),_0x36561d(this,_0xc1f177(0x25b),new Map()),_0x36561d(this,_0xc1f177(0x369),new Map()),_0x36561d(this,_0xc1f177(0x24a),new _0x1dc88d[(_0xc1f177(0x1e3))]()),_0x36561d(this,_0xc1f177(0x435),this[_0xc1f177(0x24a)][_0xc1f177(0x1b6)]()),_0x36561d(this,'_viewUpdate$',new _0x1dc88d[(_0xc1f177(0x1e3))]()),_0x36561d(this,_0xc1f177(0x308),this[_0xc1f177(0x33a)][_0xc1f177(0x1b6)]()),_0x36561d(this,_0xc1f177(0x350)),(this[_0xc1f177(0x366)]=_0x316594,this[_0xc1f177(0x343)]=_0x441aae,this[_0xc1f177(0x3ad)]=_0x24d3d4,this[_0xc1f177(0x402)]=_0x2f084b,this[_0xc1f177(0x1bb)]=_0x2d6d0d,this[_0xc1f177(0x201)](),this[_0xc1f177(0x2a0)]());}['_initUnitDisposed'](){const _0x245cbc=_0x31d072;this[_0x245cbc(0x3fd)](this[_0x245cbc(0x402)][_0x245cbc(0x2d1)](_0x4417df[_0x245cbc(0x24d)][_0x245cbc(0x2b0)])['subscribe'](_0x4f90bf=>{const _0x9def0d=_0x245cbc;this[_0x9def0d(0x30e)](_0x4f90bf[_0x9def0d(0x1c0)]());}));}['_initLocale'](){const _0x48a83d=_0x31d072;this[_0x48a83d(0x350)]=_0x5e89b1(this[_0x48a83d(0x343)],_0x8b6e3f,'',{});}[_0x31d072(0x344)](_0x4f1a74){const _0x8651cb=_0x31d072,{view:_0x4a5bb9,unitId:_0x41a090,subUnitId:_0x8d4960,pivotTableId:_0x1fbf47,type:_0x41accd}=_0x4f1a74,_0x2d2fa7=this[_0x8651cb(0x3ad)]['getPivotTableConfig'](_0x41a090,_0x8d4960,_0x1fbf47);if(!_0x4a5bb9||!_0x2d2fa7||_0x41accd===_0x1cfd99[_0x8651cb(0x39b)])return;const {pageView:_0x41257a,cornerView:_0x57152,rowView:_0x5b5680,colView:_0x3b9014,dataView:_0x4da0e5}=_0x4a5bb9,_0xd44970=_0x2d2fa7[_0x8651cb(0x143)],_0x25004d=_0x2d2fa7[_0x8651cb(0x1f1)],_0x54494d=this[_0x8651cb(0x146)](_0x41a090,_0x8d4960),_0x4843e0=this[_0x8651cb(0x19f)](_0x41a090,_0x8d4960,_0x1fbf47);if(_0x25004d)return this[_0x8651cb(0x24f)](_0x4f1a74,_0x54494d,_0xd44970,_0x4843e0);{const _0x44670b=_0x3624ce(_0xd44970,_0x41257a,!0x0),_0x49bb92=_0x41257a[_0x8651cb(0x1f4)]>=0x0?_0x41257a[_0x8651cb(0x1f4)]+0x1:0x0,_0x316d7c=_0x57152[_0x8651cb(0x2ef)](),_0x3f19c1=_0x57152['getColCount'](),_0x58a424=_0x44670b[_0x8651cb(0x292)]>0x0?_0x2fa24f:0x0,_0x45b1fd=_0x3624ce({'row':_0xd44970['row']+_0x49bb92+_0x58a424,'col':_0xd44970[_0x8651cb(0x424)]},_0x57152,!0x1,!0x1),_0x337b9a=_0x3624ce({'row':_0xd44970[_0x8651cb(0x210)]+_0x49bb92+_0x58a424+_0x316d7c,'col':_0xd44970[_0x8651cb(0x424)]},_0x5b5680,!0x1,!0x0),_0x1103f1=_0x3624ce({'row':_0xd44970[_0x8651cb(0x210)]+_0x49bb92+_0x58a424,'col':_0xd44970[_0x8651cb(0x424)]+_0x3f19c1},_0x3b9014,!0x1,!0x0),_0x5eb772=_0x3624ce({'row':_0xd44970[_0x8651cb(0x210)]+_0x49bb92+_0x58a424+_0x316d7c,'col':_0xd44970[_0x8651cb(0x424)]+_0x3f19c1},_0x4da0e5,!0x1,!0x1);_0x4843e0[_0x8651cb(0x383)]={'rowRanges':_0x337b9a,'colRanges':_0x1103f1,'cornerRanges':_0x45b1fd,'dataRanges':_0x5eb772,'pageRanges':_0x44670b};const _0xbf9b15=_0x311d12(this['_injector'],_0x4a5bb9,_0x2d2fa7,this[_0x8651cb(0x350)]),{valueMatrix:_0x4bd2d4,rowInfo:_0x13193e,colInfo:_0xa3b363,cornerInfo:_0x31a8f5,rowHeaderMap:_0x3ce092,colHeaderMap:_0x5a5f20}=_0xbf9b15;return _0x4843e0[_0x8651cb(0x1c8)]={'rowInfo':_0x13193e,'colInfo':_0xa3b363,'cornerInfo':_0x31a8f5},_0x4843e0[_0x8651cb(0x3a0)]={'rowHeaderMap':_0x3ce092,'colHeaderMap':_0x5a5f20},_0x4bd2d4[_0x8651cb(0x17f)]((_0x59c329,_0x4e4092)=>{const _0x3d34b0=_0x8651cb;Object['keys'](_0x4e4092)[_0x3d34b0(0x17f)](_0x4a5df6=>{const _0x45d890=_0x3d34b0,_0x1f3e30=+_0x4a5df6,_0x2edec8=_0x4bd2d4[_0x45d890(0x3eb)](_0x59c329,_0x1f3e30);_0x54494d[_0x45d890(0x2a9)](_0x59c329,_0x1f3e30,_0x2edec8);});}),this[_0x8651cb(0x33a)]['next']({'unitId':_0x41a090,'subUnitId':_0x8d4960,'valueMatrix':_0x54494d,'rangesCache':_0x4843e0[_0x8651cb(0x383)],'pivotTableId':_0x1fbf47,'type':_0x4f1a74[_0x8651cb(0x11f)]}),this[_0x8651cb(0x3ad)][_0x8651cb(0x250)](_0x41a090,_0x8d4960,_0x1fbf47,_0x54494d,_0x4843e0[_0x8651cb(0x383)]),this[_0x8651cb(0x1bb)][_0x8651cb(0x1e8)](_0x41a090,_0x8d4960,_0xa31e85,this[_0x8651cb(0x2bd)](_0x4843e0[_0x8651cb(0x383)],_0x1fbf47)),{'rangeCache':_0x4843e0[_0x8651cb(0x383)],'matrix':_0x54494d};}}[_0x31d072(0x24f)](_0x379005,_0x370f9c,_0x4ac32d,_0x480a75){const _0x50328a=_0x31d072,_0x2c4a81=this[_0x50328a(0x366)]['t'],{unitId:_0x3568d0,subUnitId:_0x3e77d2,pivotTableId:_0x3af8b2}=_0x379005,_0x39e543={'filter':_0x2c4a81(_0x50328a(0x3e2)),'row':_0x2c4a81(_0x50328a(0x251)),'column':_0x2c4a81(_0x50328a(0x28c)),'values':_0x2c4a81('sheets-pivot.emptyPivot.values')},{matrixCache:_0x2582b4,rangesCache:_0x23ece0}=_0x415b07(_0x39e543,_0x4ac32d);return _0x2582b4[_0x50328a(0x39d)]((_0x4623f3,_0x183517,_0x29d39c)=>{const _0x1131e3=_0x50328a;_0x370f9c[_0x1131e3(0x2a9)](_0x4623f3,_0x183517,_0x29d39c);}),_0x480a75[_0x50328a(0x383)]=_0x23ece0,this[_0x50328a(0x33a)][_0x50328a(0x28a)]({'unitId':_0x3568d0,'subUnitId':_0x3e77d2,'valueMatrix':_0x370f9c,'rangesCache':_0x23ece0,'pivotTableId':_0x3af8b2,'type':_0x379005[_0x50328a(0x11f)],'isEmpty':!0x0}),this[_0x50328a(0x3ad)][_0x50328a(0x250)](_0x3568d0,_0x3e77d2,_0x3af8b2,_0x370f9c,_0x23ece0),this[_0x50328a(0x1bb)]['addExclusiveRange'](_0x3568d0,_0x3e77d2,_0xa31e85,this[_0x50328a(0x2bd)](_0x23ece0,_0x3af8b2)),{'rangeCache':_0x480a75[_0x50328a(0x383)],'matrix':_0x370f9c};}[_0x31d072(0x2bd)](_0x53c137,_0x2b7539){const _0x2f510c=_0x31d072,_0x39e211=[],_0x1ab3ca=_0x4a8507(_0x53c137);for(const _0x29dd58 of _0x1ab3ca)_0x39e211[_0x2f510c(0x294)]({'groupId':_0x2b7539,'range':_0x29dd58});return _0x39e211;}['clearRenderCache'](_0x38de0d){const _0x573fcf=_0x31d072;var _0x4ea1f1,_0x3484e5,_0x31a5b9,_0x5e8892;const {pivotTableId:_0x3cd40f,unitId:_0x457d43,subUnitId:_0x2d6d28}=_0x38de0d;if(!_0x3cd40f||!_0x457d43||!_0x2d6d28)return;const _0x2ca621=this[_0x573fcf(0x146)](_0x457d43,_0x2d6d28),_0x44736c=(_0x3484e5=(_0x4ea1f1=this[_0x573fcf(0x25b)]['get'](_0x457d43))==null?void 0x0:_0x4ea1f1[_0x573fcf(0x180)](_0x2d6d28))==null?void 0x0:_0x3484e5[_0x573fcf(0x180)](_0x3cd40f);if(_0x44736c!=null&&_0x44736c['rangesInfo']){for(const _0x564ac2 of Object[_0x573fcf(0x196)](_0x44736c[_0x573fcf(0x383)]))_0x44736c[_0x573fcf(0x383)][_0x564ac2][_0x573fcf(0x17f)](_0x41d259=>{const _0x59ca02=_0x573fcf;for(let _0x3a472f=_0x41d259[_0x59ca02(0x311)];_0x3a472f<=_0x41d259[_0x59ca02(0x2b2)];_0x3a472f++)for(let _0x47a8ff=_0x41d259[_0x59ca02(0x353)];_0x47a8ff<=_0x41d259[_0x59ca02(0x365)];_0x47a8ff++)_0x2ca621[_0x59ca02(0x13f)](_0x3a472f,_0x47a8ff);});}_0x44736c&&((_0x5e8892=(_0x31a5b9=this[_0x573fcf(0x25b)][_0x573fcf(0x180)](_0x457d43))==null?void 0x0:_0x31a5b9[_0x573fcf(0x180)](_0x2d6d28))==null||_0x5e8892[_0x573fcf(0x1cd)](_0x3cd40f)),this[_0x573fcf(0x33a)][_0x573fcf(0x28a)]({'unitId':_0x457d43,'subUnitId':_0x2d6d28,'valueMatrix':_0x2ca621,'pivotTableId':_0x3cd40f,'rangesCache':void 0x0,'type':_0x38de0d['type']}),this[_0x573fcf(0x1bb)][_0x573fcf(0x428)](_0x457d43,_0x2d6d28,_0xa31e85,_0x3cd40f);}[_0x31d072(0x19f)](_0x877e65,_0x14f631,_0x5345f0){const _0x38ac14=_0x31d072;var _0x296296,_0x4b2c32,_0x2a361f,_0xed33fb,_0x460bd7,_0x331897;return this[_0x38ac14(0x25b)][_0x38ac14(0x293)](_0x877e65)||this[_0x38ac14(0x25b)][_0x38ac14(0x262)](_0x877e65,new Map()),(_0x296296=this[_0x38ac14(0x25b)][_0x38ac14(0x180)](_0x877e65))!=null&&_0x296296['has'](_0x14f631)||(_0x4b2c32=this['_pivotRenderInfoCache'][_0x38ac14(0x180)](_0x877e65))==null||_0x4b2c32[_0x38ac14(0x262)](_0x14f631,new Map()),(_0xed33fb=(_0x2a361f=this['_pivotRenderInfoCache'][_0x38ac14(0x180)](_0x877e65))==null?void 0x0:_0x2a361f[_0x38ac14(0x180)](_0x14f631))!=null&&_0xed33fb['has'](_0x5345f0)||(_0x331897=(_0x460bd7=this['_pivotRenderInfoCache'][_0x38ac14(0x180)](_0x877e65))==null?void 0x0:_0x460bd7[_0x38ac14(0x180)](_0x14f631))==null||_0x331897['set'](_0x5345f0,{}),this[_0x38ac14(0x25b)][_0x38ac14(0x180)](_0x877e65)['get'](_0x14f631)['get'](_0x5345f0);}[_0x31d072(0x146)](_0x2f2493,_0x58e8fc){const _0x249877=_0x31d072;var _0x807302,_0x2566bd;return this[_0x249877(0x369)][_0x249877(0x293)](_0x2f2493)||this[_0x249877(0x369)][_0x249877(0x262)](_0x2f2493,new Map()),(_0x807302=this[_0x249877(0x369)]['get'](_0x2f2493))!=null&&_0x807302[_0x249877(0x293)](_0x58e8fc)||(_0x2566bd=this['_pivotRenderValueMatrixCache'][_0x249877(0x180)](_0x2f2493))==null||_0x2566bd[_0x249877(0x262)](_0x58e8fc,new _0x4417df[(_0x249877(0x23e))]()),this[_0x249877(0x369)][_0x249877(0x180)](_0x2f2493)[_0x249877(0x180)](_0x58e8fc);}[_0x31d072(0x195)](_0x2fc205,_0x563862,_0x54665f,_0x58dfc7){const _0x4e8867=_0x31d072;var _0xf7970e,_0xef84d9;const _0x51b3dd=(_0xef84d9=(_0xf7970e=this[_0x4e8867(0x369)][_0x4e8867(0x180)](_0x2fc205))==null?void 0x0:_0xf7970e[_0x4e8867(0x180)](_0x563862))==null?void 0x0:_0xef84d9['getValue'](_0x54665f,_0x58dfc7);if(_0x51b3dd!=null)return _0x51b3dd;}[_0x31d072(0x36b)](_0x2632f4,_0x38c730,_0xe77780,_0x7368be){const _0x540d1d=_0x31d072;var _0x101df4;const _0x234128=_0x4417df[_0x540d1d(0x3a8)](_0xe77780,_0x7368be),_0x2587ef=(_0x101df4=this['_pivotRenderInfoCache']['get'](_0x2632f4))==null?void 0x0:_0x101df4[_0x540d1d(0x180)](_0x38c730);return _0x2587ef?Array[_0x540d1d(0x1af)](_0x2587ef[_0x540d1d(0x196)]())[_0x540d1d(0x388)](_0x1a18ae=>{const _0x387006=_0x540d1d,_0x4b9e4c=_0x2587ef[_0x387006(0x180)](_0x1a18ae),_0x1f1096=_0x4b9e4c==null?void 0x0:_0x4b9e4c[_0x387006(0x383)];return _0x1f1096?Object['keys'](_0x1f1096)[_0x387006(0x1a6)](_0x3162ab=>_0x1f1096[_0x3162ab][_0x387006(0x1a6)](_0x1a4000=>_0x4417df[_0x387006(0x316)][_0x387006(0x38c)](_0x1a4000,_0x234128))):!0x1;}):void 0x0;}[_0x31d072(0x3dd)](_0x2523d8,_0x6d5a4d,_0x59ea7f){const _0xb24c2c=_0x31d072;var _0x5778ef;const _0x4aac9a=(_0x5778ef=this[_0xb24c2c(0x25b)][_0xb24c2c(0x180)](_0x2523d8))==null?void 0x0:_0x5778ef[_0xb24c2c(0x180)](_0x6d5a4d),_0x3e9c83=[];return _0x4aac9a&&Array['from'](_0x4aac9a[_0xb24c2c(0x196)]())[_0xb24c2c(0x17f)](_0x4c9199=>{const _0x3df9b5=_0xb24c2c,_0x52b225=_0x4aac9a[_0x3df9b5(0x180)](_0x4c9199),_0x1a3a8c=_0x52b225==null?void 0x0:_0x52b225[_0x3df9b5(0x383)];if(_0x1a3a8c)for(const _0x5f28ce of Object['values'](_0x1a3a8c)){let _0x588f9b=!0x1;for(const _0x23c18b of _0x5f28ce)if(_0x4417df['Rectangle'][_0x3df9b5(0x2e0)](_0x23c18b,_0x59ea7f)){_0x3e9c83[_0x3df9b5(0x294)](_0x4c9199),_0x588f9b=!0x0;break;}if(_0x588f9b)break;}}),_0x3e9c83;}[_0x31d072(0x3cb)](_0x566616,_0x5453aa){const _0x653ef2=_0x31d072;var _0x1f563c,_0x2198bd;return(_0x2198bd=(_0x1f563c=this[_0x653ef2(0x369)][_0x653ef2(0x180)](_0x566616))==null?void 0x0:_0x1f563c[_0x653ef2(0x180)](_0x5453aa))!=null?_0x2198bd:new _0x4417df[(_0x653ef2(0x23e))]();}['getSubUnitPivotRenderCache'](_0x47a4c0,_0x21572c){const _0x3b4adb=_0x31d072;var _0x34ab62;return(_0x34ab62=this[_0x3b4adb(0x25b)][_0x3b4adb(0x180)](_0x47a4c0))==null?void 0x0:_0x34ab62[_0x3b4adb(0x180)](_0x21572c);}['getPivotItemRenderInfoCache'](_0x256be9,_0x50087d,_0x4587c9){const _0x3c6a19=_0x31d072;var _0x2caabe,_0x3af177;return(_0x3af177=(_0x2caabe=this['_pivotRenderInfoCache'][_0x3c6a19(0x180)](_0x256be9))==null?void 0x0:_0x2caabe['get'](_0x50087d))==null?void 0x0:_0x3af177[_0x3c6a19(0x180)](_0x4587c9);}[_0x31d072(0x30e)](_0x5a3ed0){const _0x2d939d=_0x31d072;this[_0x2d939d(0x25b)]['delete'](_0x5a3ed0),this[_0x2d939d(0x369)][_0x2d939d(0x1cd)](_0x5a3ed0);}['markDirty'](_0x4b0775,_0x52c16d){const _0x4f91db=_0x31d072;this['_markDirty$'][_0x4f91db(0x28a)]({'unitId':_0x4b0775,'subUnitId':_0x52c16d});}},_0x1f13ed[_0x31d072(0x415)]=_0x3eda86([_0xcc939a(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x31f)])),_0xcc939a(0x1,_0x4417df[_0x31d072(0x2b1)](_0x4417df['Injector'])),_0xcc939a(0x2,_0x4417df['Inject'](_0x1f13ed[_0x31d072(0x232)])),_0xcc939a(0x3,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x40f)])),_0xcc939a(0x4,_0x4417df['Inject'](_0x3bcacb['IExclusiveRangeService']))],_0x1f13ed[_0x31d072(0x415)]);var _0x1bf456=Object[_0x31d072(0x1a2)],_0x5439bb=(_0x316b58,_0x19810e,_0x4e105d,_0x486f87)=>{for(var _0x3a6e17=_0x486f87>0x1?void 0x0:_0x486f87?_0x1bf456(_0x19810e,_0x4e105d):_0x19810e,_0xf1378a=_0x316b58['length']-0x1,_0x47869f;_0xf1378a>=0x0;_0xf1378a--)(_0x47869f=_0x316b58[_0xf1378a])&&(_0x3a6e17=_0x47869f(_0x3a6e17)||_0x3a6e17);return _0x3a6e17;},_0x1855bf=(_0x5ca1c3,_0x404190)=>(_0x5d94a7,_0x42794a)=>_0x404190(_0x5d94a7,_0x42794a,_0x5ca1c3);_0x1f13ed[_0x31d072(0x1ef)]=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0xcd436f,_0x56c36c){const _0x5b11c6=_0x31d072;super(),_0x36561d(this,'asyncInterceptor',new _0x4417df['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x2f9d04})),_0x36561d(this,'interceptor',new _0x4417df[(_0x5b11c6(0x1d0))]({'PIVOT_MUTATION_GENERATE':_0x1659a1})),(this[_0x5b11c6(0x303)]=_0xcd436f,this[_0x5b11c6(0x12a)]=_0x56c36c,this[_0x5b11c6(0x30c)]());}['_init'](){const _0x3a1f0a=_0x31d072;this[_0x3a1f0a(0x430)]();}['getPivotPerformCheck'](_0x4c839f){const _0x49675d=_0x31d072;return this[_0x49675d(0x3ac)]['fetchThroughAsyncInterceptors'](_0x2f9d04)(!0x1,_0x4c839f);}[_0x31d072(0x430)](){const _0x49577c=_0x31d072;this['disposeWithMe'](this[_0x49577c(0x303)][_0x49577c(0x170)](_0x3bcacb[_0x49577c(0x3f2)][_0x49577c(0x2b8)],{'priority':0xc8,'effect':_0x4417df[_0x49577c(0x3cf)]['Value']|_0x4417df[_0x49577c(0x3cf)][_0x49577c(0x249)],'handler':(_0x3597e6,_0x1ad980,_0x1d46b1)=>{const _0x8c5b5=_0x49577c,{row:_0x399206,col:_0xed2e3,unitId:_0x533603,subUnitId:_0x568f8e,workbook:_0x436b94}=_0x1ad980,_0xda97e2=this[_0x8c5b5(0x12a)][_0x8c5b5(0x195)](_0x533603,_0x568f8e,_0x399206,_0xed2e3);if(!_0xda97e2)return _0x1d46b1(_0x3597e6);const _0x997af={..._0x3597e6};(_0xda97e2['v']||_0xda97e2['v']===0x0)&&(_0x997af['v']=_0xda97e2['v']),_0xda97e2['t']&&(_0x997af['t']=_0xda97e2['t']);const _0x283254=(typeof(_0x3597e6==null?void 0x0:_0x3597e6['s'])==_0x8c5b5(0x1d2)?_0x436b94[_0x8c5b5(0x3a2)]()[_0x8c5b5(0x180)](_0x3597e6==null?void 0x0:_0x3597e6['s']):_0x3597e6==null?void 0x0:_0x3597e6['s'])||{},_0x3c19fb=_0x436b94[_0x8c5b5(0x3a2)]()[_0x8c5b5(0x180)](_0xda97e2['s']),_0x4d9f55={..._0x3c19fb,..._0x283254};_0x3c19fb!=null&&_0x3c19fb['n']&&(_0x4d9f55['n']=_0x3c19fb['n']);const _0x45f72d=_0x436b94[_0x8c5b5(0x3a2)]()[_0x8c5b5(0x2a9)](_0x4d9f55);return _0x997af['s']=_0x45f72d,(_0xda97e2[_0x8c5b5(0x385)]===_0x570035[_0x8c5b5(0x13c)][_0x8c5b5(0x3ea)]||_0xda97e2[_0x8c5b5(0x385)]===_0x570035[_0x8c5b5(0x13c)][_0x8c5b5(0x426)])&&(_0x997af['fontRenderExtension']={},_0x997af['fontRenderExtension'][_0x8c5b5(0x185)]=_0x228871),_0x1d46b1(_0x997af);}}));}},_0x1f13ed[_0x31d072(0x1ef)]=_0x5439bb([_0x1855bf(0x0,_0x4417df['Inject'](_0x3bcacb[_0x31d072(0x1fe)])),_0x1855bf(0x1,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x415)]))],_0x1f13ed['SheetsPivotTableService']);function _0x25910d(_0x443d4d,_0x2aca01){const _0x1d4ed9=_0x31d072;switch(_0x2aca01){case _0x570035['PivotTableFiledAreaEnum'][_0x1d4ed9(0x419)]:return _0x443d4d['valueFields'];case _0x570035['PivotTableFiledAreaEnum'][_0x1d4ed9(0x136)]:return _0x443d4d[_0x1d4ed9(0x408)];case _0x570035[_0x1d4ed9(0x168)][_0x1d4ed9(0x433)]:return _0x443d4d[_0x1d4ed9(0x283)];case _0x570035[_0x1d4ed9(0x168)][_0x1d4ed9(0x355)]:return _0x443d4d[_0x1d4ed9(0x33f)];default:return[];}}function _0x66183c(_0x2f4fd9,_0x5a9c4a){const _0x2a27a0=_0x31d072;return _0x2f4fd9[_0x2a27a0(0x213)][_0x5a9c4a]||_0x2f4fd9[_0x2a27a0(0x176)][_0x5a9c4a];}function _0x8d5734(_0x6969e0,_0x57cae5){const _0x4de382=_0x31d072,{area:_0x3db0dd,fieldJson:_0xd862e1,index:_0x50940e}=_0x57cae5;_0x3db0dd===_0x570035[_0x4de382(0x168)][_0x4de382(0x419)]?_0x6969e0[_0x4de382(0x213)][_0xd862e1['id']]=_0xd862e1:_0x6969e0['dimension'][_0xd862e1['id']]=_0xd862e1,_0x25910d(_0x6969e0,_0x3db0dd)[_0x4de382(0x2ee)](_0x50940e,0x0,_0xd862e1['id']);}function _0x474e1d(_0x740734,_0x441860){const _0x3ea9b7=_0x31d072,{area:_0x35f3af,fieldId:_0x2e91a8,index:_0x568b03}=_0x441860;_0x35f3af===_0x570035[_0x3ea9b7(0x168)][_0x3ea9b7(0x419)]?delete _0x740734['measure'][_0x2e91a8]:delete _0x740734[_0x3ea9b7(0x176)][_0x2e91a8],_0x25910d(_0x740734,_0x35f3af)[_0x3ea9b7(0x2ee)](_0x568b03,0x1);}function _0x314ec5(_0x2f0e6d,_0x35ac15){const _0x563610=_0x31d072,{fieldId:_0x12268c,name:_0x4864b0}=_0x35ac15,_0x697255=_0x66183c(_0x2f0e6d,_0x12268c);_0x697255&&(_0x697255[_0x563610(0x2ac)]=_0x4864b0);}function _0x95680(_0x50b347,_0x273dd3){const _0x2a529c=_0x31d072,{fieldId:_0x123357,collapse:_0x4bd054,item:_0x235381}=_0x273dd3;_0x235381!==void 0x0?(_0x50b347[_0x2a529c(0x3b8)][_0x123357]=_0x50b347[_0x2a529c(0x3b8)][_0x123357]||{},_0x50b347['collapseInfo'][_0x123357][_0x235381]=_0x4bd054):_0x50b347[_0x2a529c(0x3b8)][_0x123357]=_0x4bd054;}function _0x4a0e78(_0xf576cb,_0x4836ed){const _0x777c9d=_0x31d072,{fieldId:_0x1d9e16,format:_0x5c4f06}=_0x4836ed,_0x106c3e=_0x66183c(_0xf576cb,_0x1d9e16);_0x106c3e&&(_0x106c3e[_0x777c9d(0x38b)]=_0x5c4f06);}function _0x267e54(_0x5c003e,_0x2cb139){const _0x178f55=_0x31d072,{fieldId:_0x2052b9,filterInfo:_0x569c47}=_0x2cb139,_0x258e51=_0x66183c(_0x5c003e,_0x2052b9);_0x258e51&&(_0x258e51[_0x178f55(0x276)]=_0x569c47);}function _0x5102ce(_0x23a840,_0x13b303){const _0x289dbf=_0x31d072,{fieldId:_0x4134e7,filterInfo:_0x481fed}=_0x13b303,_0x4d18c0=_0x23a840[_0x289dbf(0x403)][_0x289dbf(0x12e)](_0xb7ec7=>_0xb7ec7['fieldId']!==_0x4134e7);_0x481fed&&_0x4d18c0[_0x289dbf(0x294)]({'fieldId':_0x4134e7,'filterInfo':_0x481fed}),_0x23a840['valueFilter']=_0x4d18c0;}function _0x3cc01e(_0x3a3eac,_0x51e6b3){const _0x1282f3=_0x31d072,{fieldId:_0x1104c0,subtotalType:_0x314137}=_0x51e6b3,_0x51bc5f=_0x66183c(_0x3a3eac,_0x1104c0);_0x51bc5f&&(_0x51bc5f[_0x1282f3(0x1fb)]=_0x314137);}function _0x50edca(_0x2a685a,_0x11fd30){const _0xce76a5=_0x31d072,{fieldId:_0x5215ee,oldArea:_0x137e3d,area:_0x4832ce,oldIndex:_0x36a3db,index:_0x3811f2}=_0x11fd30,_0x2b8437=_0x137e3d!==_0x570035[_0xce76a5(0x168)]['Value']&&_0x4832ce===_0x570035[_0xce76a5(0x168)]['Value'],_0x35fcec=_0x137e3d===_0x570035[_0xce76a5(0x168)]['Value']&&_0x4832ce!==_0x570035['PivotTableFiledAreaEnum']['Value'];if(_0x2b8437||_0x35fcec){const _0xa7e9b6=_0x66183c(_0x2a685a,_0x5215ee);_0xa7e9b6&&(_0x2b8437?(delete _0x2a685a[_0xce76a5(0x176)][_0x5215ee],_0x2a685a[_0xce76a5(0x213)][_0x5215ee]=_0xa7e9b6):(delete _0x2a685a[_0xce76a5(0x213)][_0x5215ee],_0x2a685a[_0xce76a5(0x176)][_0x5215ee]=_0xa7e9b6));}const _0x55f49a=_0x25910d(_0x2a685a,_0x137e3d),_0x2710c3=_0x25910d(_0x2a685a,_0x4832ce);_0x55f49a['splice'](_0x36a3db,0x1),_0x2710c3[_0xce76a5(0x2ee)](_0x3811f2,0x0,_0x5215ee);}function _0x5f4521(_0x3d4908,_0x1fa57c){const _0x575010=_0x31d072,{valuePosition:_0x10f45f,index:_0x50317c}=_0x1fa57c;_0x3d4908[_0x575010(0x397)]=_0x10f45f,_0x3d4908[_0x575010(0x41a)]=_0x50317c;}function _0x29a6cf(_0x6b8ec3,_0x141ab8){const _0x573258=_0x31d072,{tableFieldId:_0x32c9a7,sourceName:_0x19a01e,dataFieldId:_0x5854f0}=_0x141ab8,_0x31949b=_0x66183c(_0x6b8ec3,_0x32c9a7);_0x31949b&&(_0x31949b[_0x573258(0x1b9)]=_0x19a01e,_0x31949b['dataFieldId']=_0x5854f0);}function _0x444103(_0x17038a,_0x5e8a49){const _0x4f1be3=_0x31d072,{fieldId:_0x48e43b,sortInfo:_0x4d79e4}=_0x5e8a49,_0x314dbc=_0x66183c(_0x17038a,_0x48e43b);_0x314dbc&&(_0x314dbc[_0x4f1be3(0x127)]=_0x4d79e4);}function _0x4fdf5f(_0x575c5f,_0x5e864e){const _0x57e64c=_0x31d072,{options:_0x469fe2}=_0x5e864e;_0x575c5f[_0x57e64c(0x37c)]={..._0x575c5f[_0x57e64c(0x37c)],..._0x469fe2};}const _0x353cbd={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x3ab),'handler'(_0x47866a,_0x472dc7){const _0x36bd48=_0x31d072;if(!_0x472dc7)return!0x1;if(!!_0x47866a[_0x36bd48(0x180)](_0x4417df[_0x36bd48(0x14e)])[_0x36bd48(0x279)](_0xe54c00))return!0x0;const _0x440195=_0x47866a[_0x36bd48(0x180)](_0x1f13ed[_0x36bd48(0x368)]),{pivotTableId:_0x5ca584,fieldJson:_0x4068da,area:_0x25d1e8,index:_0x4d94a8,unitId:_0x4ea883,subUnitId:_0xc5cc49}=_0x472dc7,_0x16297e=_0x440195['getPivotTableInstance'](_0x5ca584);if(!_0x16297e)return!0x1;let _0x3eaeb2;_0x25d1e8===_0x570035[_0x36bd48(0x168)][_0x36bd48(0x419)]?_0x3eaeb2=_0x570035[_0x36bd48(0x34b)](_0x4068da):_0x3eaeb2=_0x570035[_0x36bd48(0x42b)](_0x4068da),_0x16297e[_0x36bd48(0x302)](_0x3eaeb2,_0x25d1e8,_0x4d94a8);const _0x140185=_0x440195[_0x36bd48(0x431)](_0x4ea883,_0xc5cc49,_0x5ca584);_0x8d5734(_0x140185,_0x472dc7);const _0x123a68=_0x440195['getPivotTableConfig'](_0x4ea883,_0xc5cc49,_0x5ca584);return _0x440195[_0x36bd48(0x23d)]({'unitId':_0x4ea883,'subUnitId':_0xc5cc49,'token':_0x5ca584,'type':_0x1cfd99[_0x36bd48(0x3bf)],'pivotConfig':_0x123a68}),!0x0;}},_0x1efe59={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x281),'handler'(_0x4018be,_0x596247){const _0xdca042=_0x31d072;if(!_0x596247)return!0x1;if(!!_0x4018be['get'](_0x4417df[_0xdca042(0x14e)])['getConfig'](_0xe54c00))return!0x0;const _0xb30892=_0x4018be['get'](_0x1f13ed[_0xdca042(0x368)]),{pivotTableId:_0x4bf463,fieldId:_0x292b89,unitId:_0x361403,subUnitId:_0x34601f}=_0x596247,_0x90cd27=_0xb30892[_0xdca042(0x142)](_0x4bf463);if(!_0x90cd27)return!0x1;_0x90cd27[_0xdca042(0x3d9)](_0x292b89);const _0x2bc562=_0xb30892['getPivotTableModelConfig'](_0x361403,_0x34601f,_0x4bf463);_0x474e1d(_0x2bc562,_0x596247);const _0x25ebc4=_0xb30892[_0xdca042(0x32d)](_0x361403,_0x34601f,_0x4bf463);return _0xb30892[_0xdca042(0x23d)]({'unitId':_0x361403,'subUnitId':_0x34601f,'token':_0x4bf463,'type':_0x1cfd99[_0xdca042(0x3bf)],'pivotConfig':_0x25ebc4}),!0x0;}},_0x571963={'type':_0x4417df['CommandType'][_0x31d072(0x2c7)],'id':_0x31d072(0x14d),'handler'(_0xc1c4ba,_0x40b55b){const _0x23192e=_0x31d072;if(!_0x40b55b)return!0x1;if(!!_0xc1c4ba[_0x23192e(0x180)](_0x4417df[_0x23192e(0x14e)])[_0x23192e(0x279)](_0xe54c00))return!0x0;const _0x45078c=_0xc1c4ba[_0x23192e(0x180)](_0x1f13ed['SheetsPivotDataSourceModel']),{unitId:_0x42930c,subUnitId:_0xc88f5d,pivotTableId:_0x177515,fieldId:_0xaf2aa6,name:_0x30f59d}=_0x40b55b,_0x35f7d1=_0x45078c['getPivotTableInstance'](_0x177515);if(!_0x35f7d1)return!0x1;_0x35f7d1['renameField'](_0xaf2aa6,_0x30f59d);const _0x2a142a=_0x45078c[_0x23192e(0x431)](_0x42930c,_0xc88f5d,_0x177515);return _0x314ec5(_0x2a142a,_0x40b55b),_0x45078c[_0x23192e(0x23d)]({'unitId':_0x42930c,'subUnitId':_0xc88f5d,'token':_0x177515,'type':_0x1cfd99[_0x23192e(0x3bf)]}),!0x0;}},_0x3271fa={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x3b5c74,_0x8d588a){const _0x8d37ec=_0x31d072;if(!_0x8d588a)return!0x1;if(!!_0x3b5c74[_0x8d37ec(0x180)](_0x4417df['IConfigService'])[_0x8d37ec(0x279)](_0xe54c00))return!0x0;const _0x3cc92a=_0x3b5c74[_0x8d37ec(0x180)](_0x1f13ed[_0x8d37ec(0x368)]),{unitId:_0x509d33,subUnitId:_0x490e51,pivotTableId:_0x6924fc,fieldId:_0x437e7e,collapse:_0x1d5e9c,item:_0x4c11c0}=_0x8d588a,_0x4f3fbc=_0x3cc92a[_0x8d37ec(0x142)](_0x6924fc);if(!_0x4f3fbc)return!0x1;_0x4f3fbc[_0x8d37ec(0x3ed)](_0x437e7e,_0x1d5e9c,_0x4c11c0);const _0x2d08e2=_0x3cc92a['getPivotTableModelConfig'](_0x509d33,_0x490e51,_0x6924fc);return _0x95680(_0x2d08e2,_0x8d588a),_0x3cc92a['addDirtyPivotTable']({'unitId':_0x509d33,'subUnitId':_0x490e51,'token':_0x6924fc,'type':_0x1cfd99['Set']}),!0x0;}},_0x3e8267={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':'sheet.mutation.set-pivot-format','handler'(_0x409ef4,_0x1525ee){const _0x5b0277=_0x31d072;if(!_0x1525ee)return!0x1;if(!!_0x409ef4[_0x5b0277(0x180)](_0x4417df['IConfigService'])['getConfig'](_0xe54c00))return!0x0;const _0x27d67d=_0x409ef4[_0x5b0277(0x180)](_0x1f13ed[_0x5b0277(0x368)]),{unitId:_0x592450,subUnitId:_0x5744f9,pivotTableId:_0x371881,fieldId:_0x5ee96c,format:_0x2373e8}=_0x1525ee,_0x52d95b=_0x27d67d[_0x5b0277(0x142)](_0x371881);if(!_0x52d95b)return!0x1;_0x52d95b[_0x5b0277(0x126)](_0x5ee96c,_0x2373e8);const _0x204526=_0x27d67d[_0x5b0277(0x431)](_0x592450,_0x5744f9,_0x371881);return _0x4a0e78(_0x204526,_0x1525ee),_0x27d67d[_0x5b0277(0x23d)]({'unitId':_0x592450,'subUnitId':_0x5744f9,'token':_0x371881,'type':_0x1cfd99[_0x5b0277(0x3bf)]}),!0x0;}},_0x8aa7c7={'type':_0x4417df['CommandType'][_0x31d072(0x2c7)],'id':_0x31d072(0x271),'handler'(_0x2e7d0b,_0xb38a98){const _0x57e018=_0x31d072;if(!_0xb38a98)return!0x1;if(!!_0x2e7d0b['get'](_0x4417df[_0x57e018(0x14e)])[_0x57e018(0x279)](_0xe54c00))return!0x0;const _0x5e2ffb=_0x2e7d0b[_0x57e018(0x180)](_0x1f13ed['SheetsPivotDataSourceModel']),{unitId:_0x453328,subUnitId:_0x44843e,pivotTableId:_0x1c7ed8,fieldId:_0x52c186,filterInfo:_0x4e03c3}=_0xb38a98,_0x64c11a=_0x5e2ffb[_0x57e018(0x142)](_0x1c7ed8);if(!_0x64c11a)return!0x1;_0x64c11a[_0x57e018(0x41d)](_0x52c186,_0x4e03c3);const _0x2b2d3d=_0x5e2ffb['getPivotTableModelConfig'](_0x453328,_0x44843e,_0x1c7ed8);return _0x267e54(_0x2b2d3d,_0xb38a98),_0x5e2ffb[_0x57e018(0x23d)]({'unitId':_0x453328,'subUnitId':_0x44843e,'token':_0x1c7ed8,'type':_0x1cfd99[_0x57e018(0x3bf)]}),!0x0;}},_0x25498e={'type':_0x4417df['CommandType'][_0x31d072(0x2c7)],'id':'sheet.mutation.set-pivot-option','handler'(_0x3587d4,_0x543896){const _0x1e222f=_0x31d072;if(!_0x543896)return!0x1;if(!!_0x3587d4[_0x1e222f(0x180)](_0x4417df['IConfigService'])['getConfig'](_0xe54c00))return!0x0;const _0x55ec07=_0x3587d4[_0x1e222f(0x180)](_0x1f13ed[_0x1e222f(0x368)]),{unitId:_0x30155c,subUnitId:_0x2f70cd,pivotTableId:_0x2859b9,options:_0x224385}=_0x543896,_0x2817be=_0x55ec07[_0x1e222f(0x142)](_0x2859b9);if(!_0x2817be)return!0x1;_0x2817be[_0x1e222f(0x329)](_0x224385);const _0x4dd431=_0x55ec07['getPivotTableModelConfig'](_0x30155c,_0x2f70cd,_0x2859b9);return _0x4fdf5f(_0x4dd431,_0x543896),_0x55ec07[_0x1e222f(0x23d)]({'unitId':_0x30155c,'subUnitId':_0x2f70cd,'token':_0x2859b9,'type':_0x1cfd99['Set']}),!0x0;}},_0x18eedf={'type':_0x4417df[_0x31d072(0x3d7)]['MUTATION'],'id':_0x31d072(0x3ba),'handler'(_0x422ab6,_0x33d6d6){const _0x4a65dd=_0x31d072;if(!_0x33d6d6)return!0x1;if(!!_0x422ab6[_0x4a65dd(0x180)](_0x4417df[_0x4a65dd(0x14e)])[_0x4a65dd(0x279)](_0xe54c00))return!0x0;const _0x4bff07=_0x422ab6[_0x4a65dd(0x180)](_0x1f13ed[_0x4a65dd(0x368)]),{unitId:_0x821603,subUnitId:_0x4075ba,pivotTableId:_0x4d03c9,sortInfo:_0x352437,fieldId:_0x228810}=_0x33d6d6,_0x43545d=_0x4bff07[_0x4a65dd(0x142)](_0x4d03c9);if(!_0x43545d)return!0x1;_0x43545d[_0x4a65dd(0x206)](_0x228810,_0x352437);const _0xdf6231=_0x4bff07[_0x4a65dd(0x431)](_0x821603,_0x4075ba,_0x4d03c9);return _0x444103(_0xdf6231,_0x33d6d6),_0x4bff07[_0x4a65dd(0x23d)]({'unitId':_0x821603,'subUnitId':_0x4075ba,'token':_0x4d03c9,'type':_0x1cfd99[_0x4a65dd(0x3bf)]}),!0x0;}},_0xc2a30f={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x499757,_0x3c22aa){const _0x29db69=_0x31d072;if(!_0x3c22aa)return!0x1;if(!!_0x499757[_0x29db69(0x180)](_0x4417df[_0x29db69(0x14e)])[_0x29db69(0x279)](_0xe54c00))return!0x0;const _0x53e7eb=_0x499757['get'](_0x1f13ed[_0x29db69(0x368)]),{unitId:_0x35f334,subUnitId:_0x3cb68c,pivotTableId:_0x1d0f77,fieldId:_0x293e81,subtotalType:_0x4f6113}=_0x3c22aa,_0x4f8629=_0x53e7eb[_0x29db69(0x142)](_0x1d0f77);if(!_0x4f8629)return!0x1;_0x4f8629[_0x29db69(0x1ac)](_0x293e81,_0x4f6113);const _0x11e8b7=_0x53e7eb['getPivotTableModelConfig'](_0x35f334,_0x3cb68c,_0x1d0f77);return _0x3cc01e(_0x11e8b7,_0x3c22aa),_0x53e7eb[_0x29db69(0x23d)]({'unitId':_0x35f334,'subUnitId':_0x3cb68c,'token':_0x1d0f77,'type':_0x1cfd99[_0x29db69(0x3bf)]}),!0x0;}},_0x5b0657={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x2a3),'handler'(_0x58737e,_0x4e7c3e){const _0x38499a=_0x31d072;if(!_0x4e7c3e)return!0x1;if(!!_0x58737e[_0x38499a(0x180)](_0x4417df[_0x38499a(0x14e)])['getConfig'](_0xe54c00))return!0x0;const _0x1ed595=_0x58737e['get'](_0x1f13ed[_0x38499a(0x368)]),{unitId:_0x472906,subUnitId:_0x109cb6,pivotTableId:_0x513a4a,fieldId:_0x5dbd6f,filterInfo:_0x45eb1d}=_0x4e7c3e,_0x417d57=_0x1ed595[_0x38499a(0x142)](_0x513a4a);if(!_0x417d57)return!0x1;_0x417d57[_0x38499a(0x1e5)](_0x5dbd6f,_0x45eb1d);const _0x434916=_0x1ed595['getPivotTableModelConfig'](_0x472906,_0x109cb6,_0x513a4a);return _0x5102ce(_0x434916,_0x4e7c3e),_0x1ed595['addDirtyPivotTable']({'unitId':_0x472906,'subUnitId':_0x109cb6,'token':_0x513a4a,'type':_0x1cfd99[_0x38499a(0x3bf)]}),!0x0;}},_0x1589ff={'type':_0x4417df['CommandType'][_0x31d072(0x2c7)],'id':_0x31d072(0x3ae),'handler'(_0xc46955,_0x3a5c8e){const _0x12e904=_0x31d072;if(!_0x3a5c8e)return!0x1;if(!!_0xc46955[_0x12e904(0x180)](_0x4417df['IConfigService'])[_0x12e904(0x279)](_0xe54c00))return!0x0;const _0x33af86=_0xc46955[_0x12e904(0x180)](_0x1f13ed['SheetsPivotDataSourceModel']),{unitId:_0x36acb3,subUnitId:_0x6716a7,pivotTableId:_0x5d9830,area:_0x34e628,index:_0x23bf96,fieldId:_0x118387}=_0x3a5c8e,_0xfe4aea=_0x33af86[_0x12e904(0x142)](_0x5d9830);if(!_0xfe4aea)return!0x1;_0xfe4aea[_0x12e904(0x3cd)](_0x118387,_0x34e628,_0x23bf96);const _0x3be841=_0x33af86[_0x12e904(0x431)](_0x36acb3,_0x6716a7,_0x5d9830);return _0x50edca(_0x3be841,_0x3a5c8e),_0x33af86[_0x12e904(0x23d)]({'unitId':_0x36acb3,'subUnitId':_0x6716a7,'token':_0x5d9830,'type':_0x1cfd99['Set']}),!0x0;}},_0x495011={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x165),'handler'(_0x4c77e2,_0x10c3d4){const _0x2cf8b7=_0x31d072;if(!_0x10c3d4)return!0x1;if(!!_0x4c77e2[_0x2cf8b7(0x180)](_0x4417df[_0x2cf8b7(0x14e)])[_0x2cf8b7(0x279)](_0xe54c00))return!0x0;const _0x2e76e0=_0x4c77e2[_0x2cf8b7(0x180)](_0x1f13ed[_0x2cf8b7(0x368)]),{unitId:_0x34424e,subUnitId:_0x5c5d30,pivotTableId:_0x42d495,sourceName:_0x856f88,dataFieldId:_0x3a9ccd,tableFieldId:_0x18dd30}=_0x10c3d4,_0x38ac2f=_0x2e76e0[_0x2cf8b7(0x142)](_0x42d495);if(!_0x38ac2f)return!0x1;_0x38ac2f[_0x2cf8b7(0x374)](_0x18dd30,_0x856f88,_0x3a9ccd);const _0x36ee8a=_0x2e76e0[_0x2cf8b7(0x431)](_0x34424e,_0x5c5d30,_0x42d495);return _0x29a6cf(_0x36ee8a,_0x10c3d4),_0x2e76e0[_0x2cf8b7(0x23d)]({'unitId':_0x34424e,'subUnitId':_0x5c5d30,'token':_0x42d495,'type':_0x1cfd99[_0x2cf8b7(0x3bf)]}),!0x0;}},_0x1e3c14={'type':_0x4417df['CommandType'][_0x31d072(0x2c7)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x94e192,_0x1e0851){const _0x34a473=_0x31d072;if(!_0x1e0851)return!0x1;if(!!_0x94e192[_0x34a473(0x180)](_0x4417df[_0x34a473(0x14e)])['getConfig'](_0xe54c00))return!0x0;const _0xf5761e=_0x94e192[_0x34a473(0x180)](_0x1f13ed['SheetsPivotDataSourceModel']),{unitId:_0x57f46f,subUnitId:_0x269724,pivotTableId:_0x2aa655,valuePosition:_0x21e9f4,index:_0x2a644f}=_0x1e0851,_0x565f1e=_0xf5761e[_0x34a473(0x142)](_0x2aa655);if(!_0x565f1e)return!0x1;_0x565f1e[_0x34a473(0x2dc)](_0x21e9f4,_0x2a644f);const _0x3d417b=_0xf5761e[_0x34a473(0x431)](_0x57f46f,_0x269724,_0x2aa655);return _0x5f4521(_0x3d417b,_0x1e0851),_0xf5761e['addDirtyPivotTable']({'unitId':_0x57f46f,'subUnitId':_0x269724,'token':_0x2aa655,'type':_0x1cfd99['Set']}),!0x0;}};function _0x18ed64(_0x24e6d1,_0x6480c,_0x9539cc){const _0xf0a77e=_0x31d072,{pivotTableId:_0x12b3f1,unitId:_0xaa02a9,subUnitId:_0x159347}=_0x6480c,_0x5d4e60=[],_0x534c08=[];for(const _0xa3f9dd of _0x9539cc)switch(_0xa3f9dd[_0xf0a77e(0x11f)]){case _0x570035[_0xf0a77e(0x19a)]['AddField']:{const {fieldJson:_0x2d40c5,area:_0x2c3fc8,index:_0x480346}=_0xa3f9dd,_0x97a817={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldJson':_0x2d40c5,'area':_0x2c3fc8,'index':_0x480346},_0xda79ab={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2d40c5['id'],'area':_0x2c3fc8,'index':_0x480346};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x353cbd['id'],'params':_0x97a817}),_0x534c08['unshift']({'id':_0x1efe59['id'],'params':_0xda79ab});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x2c6)]:{const {fieldId:_0x4a0846,newSubtotalType:_0x3476ed,oldSubtotalType:_0x2b002f}=_0xa3f9dd,_0x14692e={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x4a0846,'subtotalType':_0x3476ed};_0x5d4e60['push']({'id':_0xc2a30f['id'],'params':_0x14692e});const _0x1eed37={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x4a0846,'subtotalType':_0x2b002f};_0x534c08[_0xf0a77e(0x120)]({'id':_0xc2a30f['id'],'params':_0x1eed37});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x21c)]:{const {fieldId:_0x43bb7b,fieldJson:_0x36e872,area:_0x1b4032,index:_0x2c0f50}=_0xa3f9dd,_0x2b22df={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x43bb7b,'index':_0x2c0f50,'area':_0x1b4032};_0x5d4e60['push']({'id':_0x1efe59['id'],'params':_0x2b22df});const _0x1f7a50={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldJson':_0x36e872,'area':_0x1b4032,'index':_0x2c0f50};_0x534c08[_0xf0a77e(0x120)]({'id':_0x353cbd['id'],'params':_0x1f7a50});}break;case _0x570035[_0xf0a77e(0x19a)]['RenameField']:{const {fieldId:_0x4c8176,oldName:_0x5ee5fc,newName:_0x33e289}=_0xa3f9dd,_0x4578ee={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x4c8176,'name':_0x33e289};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x571963['id'],'params':_0x4578ee});const _0x4e17f2={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x4c8176,'name':_0x5ee5fc};_0x534c08[_0xf0a77e(0x120)]({'id':_0x571963['id'],'params':_0x4e17f2});}break;case _0x570035['PivotTableChangeTypeEnum'][_0xf0a77e(0x242)]:{const {fieldId:_0x3ca0ad,oldFilterInfo:_0x4c4015,newFilterInfo:_0x175b1b}=_0xa3f9dd,_0xc99861={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x3ca0ad,'filterInfo':_0x175b1b};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x8aa7c7['id'],'params':_0xc99861});const _0x1d03d0={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x3ca0ad,'filterInfo':_0x4c4015};_0x534c08['unshift']({'id':_0x8aa7c7['id'],'params':_0x1d03d0});}break;case _0x570035['PivotTableChangeTypeEnum'][_0xf0a77e(0x15c)]:{const {fieldId:_0x526658,oldSortInfo:_0xef91c5,newSortInfo:_0x452365}=_0xa3f9dd,_0x201b3b={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x526658,'sortInfo':_0x452365};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x18eedf['id'],'params':_0x201b3b});const _0x208e4d={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x526658,'sortInfo':_0xef91c5};_0x534c08[_0xf0a77e(0x120)]({'id':_0x18eedf['id'],'params':_0x208e4d});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x2e9)]:{const {oldOptions:_0x3e92a7,newOptions:_0x22da04}=_0xa3f9dd,_0x48b0f4={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'options':_0x22da04};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x25498e['id'],'params':_0x48b0f4});const _0x1f9cc6={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'options':_0x3e92a7};_0x534c08[_0xf0a77e(0x120)]({'id':_0x25498e['id'],'params':_0x1f9cc6});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x21d)]:{const {oldArea:_0x4bb60e,newArea:_0x481f3b,oldIndex:_0x1a486a,newIndex:_0x311afb,fieldId:_0x2fd0af}=_0xa3f9dd,_0x48a303={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2fd0af,'area':_0x481f3b,'index':_0x311afb,'oldArea':_0x4bb60e,'oldIndex':_0x1a486a};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x1589ff['id'],'params':_0x48a303});const _0x307556={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2fd0af,'area':_0x4bb60e,'index':_0x1a486a,'oldArea':_0x481f3b,'oldIndex':_0x311afb};_0x534c08[_0xf0a77e(0x120)]({'id':_0x1589ff['id'],'params':_0x307556});}break;case _0x570035[_0xf0a77e(0x19a)]['UpdateValuePosition']:{const {oldValuePosition:_0x16ca5d,newValuePosition:_0x2019d3,oldIndex:_0x405532,newIndex:_0x1be405}=_0xa3f9dd,_0x2c7cb3={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'valuePosition':_0x2019d3,'index':_0x1be405};_0x5d4e60['push']({'id':_0x1e3c14['id'],'params':_0x2c7cb3});const _0x51e71f={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'valuePosition':_0x16ca5d,'index':_0x405532};_0x534c08[_0xf0a77e(0x120)]({'id':_0x1e3c14['id'],'params':_0x51e71f});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x240)]:{const {fieldId:_0x5be57b,collapse:_0x4c06b6,item:_0x19c135}=_0xa3f9dd,_0x15b5de={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x5be57b,'collapse':_0x4c06b6,'item':_0x19c135};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x3271fa['id'],'params':_0x15b5de});const _0x1b7ccb={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x5be57b,'collapse':!_0x4c06b6,'item':_0x19c135};_0x534c08[_0xf0a77e(0x120)]({'id':_0x3271fa['id'],'params':_0x1b7ccb});}break;case _0x570035['PivotTableChangeTypeEnum'][_0xf0a77e(0x25e)]:{const {newFormat:_0x52d56d,oldFormat:_0x57100e,fieldId:_0x2a2da7}=_0xa3f9dd,_0xe27564={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2a2da7,'format':_0x52d56d};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x3e8267['id'],'params':_0xe27564});const _0x43e457={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2a2da7,'format':_0x57100e};_0x534c08[_0xf0a77e(0x120)]({'id':_0x3e8267['id'],'params':_0x43e457});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x226)]:{const {tableFieldId:_0x26bba2,oldSourceName:_0x404153,newSourceName:_0x12e6a4,oldDataFieldId:_0x56f146,newDataFieldId:_0x255e6d}=_0xa3f9dd,_0x5253df={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'tableFieldId':_0x26bba2,'sourceName':_0x12e6a4,'dataFieldId':_0x255e6d};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x495011['id'],'params':_0x5253df});const _0x25528d={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'tableFieldId':_0x26bba2,'sourceName':_0x404153,'dataFieldId':_0x56f146};_0x534c08[_0xf0a77e(0x120)]({'id':_0x495011['id'],'params':_0x25528d});}break;case _0x570035[_0xf0a77e(0x19a)][_0xf0a77e(0x24b)]:{const {fieldId:_0x2ab5d0,filterInfo:_0x84d30,oldFilterInfo:_0x1c6b46}=_0xa3f9dd,_0x2c55be={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2ab5d0,'filterInfo':_0x84d30};_0x5d4e60[_0xf0a77e(0x294)]({'id':_0x5b0657['id'],'params':_0x2c55be});const _0x4cbf87={'unitId':_0xaa02a9,'subUnitId':_0x159347,'pivotTableId':_0x12b3f1,'fieldId':_0x2ab5d0,'filterInfo':_0x1c6b46};_0x534c08[_0xf0a77e(0x120)]({'id':_0x5b0657['id'],'params':_0x4cbf87});}}return{'redos':_0x5d4e60,'undos':_0x534c08};}function _0x4a51e6(_0x3605ca,_0x839502){const _0x1f1936=_0x31d072;var _0x4d673f;const _0x5cdcae=_0x3605ca[_0x1f1936(0x180)](_0x1f13ed[_0x1f1936(0x1ef)]),{cellInfo:_0xcc9d80,view:_0x57c9ee,isEmpty:_0x18a992}=_0x839502;return(_0x4d673f=_0x5cdcae[_0x1f1936(0x32e)][_0x1f1936(0x20d)](_0x1659a1)(_0x9259bd,{'cellInfo':_0xcc9d80,'view':_0x57c9ee,'isEmpty':_0x18a992}))!=null?_0x4d673f:_0x9259bd;}const _0x15ba30=()=>typeof process<'u'&&process[_0x31d072(0x230)]!=null&&process[_0x31d072(0x230)][_0x31d072(0x2c5)]!=null,_0x1d8f15={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x2a7),'handler'(_0x563771,_0x22670e){const _0x5e136f=_0x31d072;var _0x3e854e;if(!_0x22670e)return!0x1;const _0xbb0ee=_0x563771['get'](_0x4417df[_0x5e136f(0x14e)]);if(!!_0xbb0ee[_0x5e136f(0x279)](_0xe54c00))return!0x0;const _0x4e35cf=_0x563771[_0x5e136f(0x180)](_0x4417df['IUniverInstanceService']),_0x255748=_0x563771['get'](_0x1f13ed[_0x5e136f(0x368)]),{pivotTableId:_0x59c021,pivotTableConfig:_0x1d7923,collectionConfig:_0x2f891f,unitId:_0x4bec0f,subUnitId:_0x3c7367}=_0x22670e,{sourceRangeInfo:_0xe76ad2,fieldsConfig:_0x41aeec,targetCellInfo:_0x464ae4}=_0x1d7923,_0x4965db=_0x4e35cf[_0x5e136f(0x363)](_0x4bec0f);if(!_0x4965db||!_0x4965db[_0x5e136f(0x129)](_0x3c7367))return!0x1;if(!_0x15ba30()){let _0x2c4e4f=0x0;_0x4965db['getSheets']()[_0x5e136f(0x17f)](_0x43aca1=>{const _0x4455db=_0x5e136f;var _0x51d48a,_0x219729;_0x2c4e4f+=(_0x219729=(_0x51d48a=_0x255748[_0x4455db(0x2af)](_0x4bec0f,_0x43aca1[_0x4455db(0x356)]()))==null?void 0x0:_0x51d48a['size'])!=null?_0x219729:0x0;});const _0x15fe4f=(_0x3e854e=_0xbb0ee['getConfig'](_0x34fa9b[_0x5e136f(0x3dc)]))!=null?_0x3e854e:{},{ls:_0x443de9,pbk:_0x5cd1b1}=_0x15fe4f;if(!_0x12e8b3(_0x443de9,_0x5cd1b1))throw new _0x4417df[(_0x5e136f(0x27f))](_0x5e136f(0x1f7));const _0x3dafd3=_0x41f0b1(_0x213ae5,_0x443de9,_0x5cd1b1)[_0x5e136f(0x151)];if(_0x2c4e4f>=_0x3dafd3)throw new _0x4417df['CustomCommandExecutionError'](_0x5e136f(0x1f7));}if(!_0x2f891f||!_0x41aeec)return!0x1;const {collection:_0x9ba3e0,updateDataFieldList:_0x43b321}=_0x255748[_0x5e136f(0x42f)](_0x59c021,_0x2f891f,_0xe76ad2,_0x464ae4);_0x255748['refreshData'](_0x9ba3e0,_0x43b321,_0xe76ad2);const _0x3a24f5=new _0x570035[(_0x5e136f(0x254))](_0x9ba3e0,void 0x0,_0x59c021);_0x3a24f5[_0x5e136f(0x288)](_0x41aeec);const _0x3e2357=JSON['parse'](JSON[_0x5e136f(0x325)](_0x1d7923));return _0x255748[_0x5e136f(0x139)](_0x4bec0f,_0x3c7367,_0x59c021,_0x3a24f5,_0x3e2357),_0x255748['addDirtyPivotTable']({'unitId':_0x4bec0f,'subUnitId':_0x3c7367,'token':_0x59c021,'type':_0x1cfd99[_0x5e136f(0x3f1)],'pivotConfig':_0x3e2357}),!0x0;}},_0xb941dc={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x261),'handler'(_0x28a377,_0x6b268c){const _0x4dea2c=_0x31d072;if(!_0x6b268c)return!0x1;if(!!_0x28a377[_0x4dea2c(0x180)](_0x4417df[_0x4dea2c(0x14e)])[_0x4dea2c(0x279)](_0xe54c00))return!0x0;const {pivotTableId:_0x2bf0ee,unitId:_0x1912cc,subUnitId:_0x3c1f69}=_0x6b268c,_0x47bc71=_0x28a377['get'](_0x1f13ed[_0x4dea2c(0x368)]);return _0x47bc71[_0x4dea2c(0x32d)](_0x1912cc,_0x3c1f69,_0x2bf0ee)?(_0x47bc71[_0x4dea2c(0x23d)]({'unitId':_0x1912cc,'subUnitId':_0x3c1f69,'token':_0x2bf0ee,'type':_0x1cfd99[_0x4dea2c(0x39b)]}),_0x47bc71[_0x4dea2c(0x358)](_0x1912cc,_0x3c1f69,_0x2bf0ee),!0x0):!0x1;}},_0x7ea6d5={'type':_0x4417df[_0x31d072(0x3d7)]['MUTATION'],'id':_0x31d072(0x286),'handler'(_0x2373a4,_0xf04ac2){const _0x5b504d=_0x31d072;if(!_0xf04ac2)return!0x1;if(!!_0x2373a4[_0x5b504d(0x180)](_0x4417df['IConfigService'])[_0x5b504d(0x279)](_0xe54c00))return!0x0;const {pivotTableId:_0x498d2f,targetCellPosition:_0x29eb15,unitId:_0x3657ed,subUnitId:_0x5adc8d}=_0xf04ac2,_0x29dfc5=_0x2373a4['get'](_0x1f13ed[_0x5b504d(0x368)]);if(!_0x29dfc5[_0x5b504d(0x142)](_0xf04ac2[_0x5b504d(0x309)]))return!0x1;const _0x23be28=_0x29dfc5['getTargetByPivotId'](_0x498d2f);if(!_0x23be28)return!0x1;const _0x1c358e=_0x29dfc5[_0x5b504d(0x203)](_0x23be28[_0x5b504d(0x2f2)],_0xf04ac2[_0x5b504d(0x309)]);if(!_0x1c358e)return!0x1;const _0x25ae53=_0x29dfc5[_0x5b504d(0x32d)](_0x23be28['unitId'],_0x23be28[_0x5b504d(0x2ff)],_0x498d2f);if(!_0x25ae53)return!0x1;const _0x573e6b=_0x4417df[_0x5b504d(0x3db)][_0x5b504d(0x204)](_0x25ae53);_0x573e6b['targetCellInfo']={'unitId':_0x3657ed,'subUnitId':_0x5adc8d,'row':_0x29eb15[_0x5b504d(0x210)],'col':_0x29eb15[_0x5b504d(0x424)]};const _0x232155=_0x1c358e[_0x5b504d(0x330)]();if(_0x23be28[_0x5b504d(0x2ff)]===_0x5adc8d&&_0x23be28[_0x5b504d(0x2f2)]===_0x3657ed)_0x29dfc5['setPivotTable'](_0x3657ed,_0x5adc8d,_0x498d2f,_0x573e6b),_0x29dfc5['addDirtyPivotTable']({'unitId':_0x3657ed,'subUnitId':_0x5adc8d,'token':_0x498d2f,'type':_0x1cfd99[_0x5b504d(0x3bf)]});else{_0x29dfc5[_0x5b504d(0x23d)]({'unitId':_0x23be28[_0x5b504d(0x2f2)],'subUnitId':_0x23be28[_0x5b504d(0x2ff)],'token':_0x498d2f,'type':_0x1cfd99[_0x5b504d(0x39b)]}),_0x29dfc5[_0x5b504d(0x358)](_0x23be28[_0x5b504d(0x2f2)],_0x23be28[_0x5b504d(0x2ff)],_0x498d2f);const _0x32286d=_0x29dfc5[_0x5b504d(0x42f)](_0x498d2f,_0x232155,_0x25ae53[_0x5b504d(0x21b)],_0x573e6b['targetCellInfo']),_0x36bdfd=new _0x570035[(_0x5b504d(0x254))](_0x32286d[_0x5b504d(0x2e2)],void 0x0,_0x498d2f);_0x36bdfd[_0x5b504d(0x288)](_0x573e6b[_0x5b504d(0x1dc)]),_0x29dfc5[_0x5b504d(0x139)](_0x3657ed,_0x5adc8d,_0x498d2f,_0x36bdfd,_0x573e6b),_0x29dfc5['addDirtyPivotTable']({'unitId':_0x3657ed,'subUnitId':_0x5adc8d,'token':_0x498d2f,'type':_0x1cfd99[_0x5b504d(0x3f1)],'pivotConfig':_0x573e6b});}return!0x0;}},_0x2c1259={'type':_0x4417df[_0x31d072(0x3d7)]['MUTATION'],'id':_0x31d072(0x3a4),'handler'(_0x93aae6,_0x749056){const _0xf329e5=_0x31d072;if(!_0x749056)return!0x1;if(!!_0x93aae6[_0xf329e5(0x180)](_0x4417df[_0xf329e5(0x14e)])['getConfig'](_0xe54c00))return!0x0;const _0x2dc624=_0x93aae6['get'](_0x1f13ed[_0xf329e5(0x368)]),{pivotTableId:_0x49dbb7,deleteIds:_0x21e0d4,collectionJSON:_0x492ecb,dataRangeInfo:_0x576a9c,unitId:_0x27f67b,subUnitId:_0x5bc55b}=_0x749056,_0x5f0f15=_0x2dc624[_0xf329e5(0x142)](_0x49dbb7),_0x25a67a=_0x2dc624[_0xf329e5(0x32d)](_0x27f67b,_0x5bc55b,_0x49dbb7);if(!_0x5f0f15||!_0x25a67a)return!0x1;const {collection:_0x340fde,updateDataFieldList:_0x213bf0}=_0x2dc624[_0xf329e5(0x42f)](_0x49dbb7,_0x492ecb,_0x576a9c,_0x25a67a[_0xf329e5(0x143)]);_0x2dc624[_0xf329e5(0x2cb)](_0x340fde,_0x213bf0,_0x576a9c),_0x5f0f15['updateDataFieldsCollection'](_0x340fde);for(const _0x4129a2 of _0x21e0d4)_0x2dc624[_0xf329e5(0x409)](_0x576a9c[_0xf329e5(0x2f2)],_0x4129a2);const _0x216752=_0x2dc624[_0xf329e5(0x32d)](_0x27f67b,_0x5bc55b,_0x49dbb7);return _0x216752[_0xf329e5(0x21b)]=JSON[_0xf329e5(0x141)](JSON['stringify'](_0x576a9c)),_0x2dc624['addDirtyPivotTable']({'unitId':_0x27f67b,'subUnitId':_0x5bc55b,'token':_0x49dbb7,'type':_0x1cfd99[_0xf329e5(0x3bf)]}),!0x0;}},_0x12b49f={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'id':_0x31d072(0x3fc),'handler'(){return!0x0;}};var _0x78f1d7=Object[_0x31d072(0x1a2)],_0x36faca=(_0xad8bf,_0x185f66,_0x405dcf,_0x1ff0bb)=>{for(var _0x10073b=_0x1ff0bb>0x1?void 0x0:_0x1ff0bb?_0x78f1d7(_0x185f66,_0x405dcf):_0x185f66,_0x4984bd=_0xad8bf['length']-0x1,_0x4b1659;_0x4984bd>=0x0;_0x4984bd--)(_0x4b1659=_0xad8bf[_0x4984bd])&&(_0x10073b=_0x4b1659(_0x10073b)||_0x10073b);return _0x10073b;},_0x5ac616=(_0x41f6f7,_0x1fe6c9)=>(_0x3a5291,_0x3e487b)=>_0x1fe6c9(_0x3a5291,_0x3e487b,_0x41f6f7);_0x1f13ed[_0x31d072(0x376)]=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x499464,_0x27bc47){const _0x524cc6=_0x31d072;super(),_0x36561d(this,_0x524cc6(0x2b5),new Map()),(this[_0x524cc6(0x343)]=_0x499464,this[_0x524cc6(0x313)]=_0x27bc47);}[_0x31d072(0x1f8)](_0x34e8b2){const _0xa4a3ed=_0x31d072,{version:_0xcb2299}=_0x34e8b2,_0x3d4e2b=this[_0xa4a3ed(0x2b5)][_0xa4a3ed(0x180)](_0xcb2299);_0x3d4e2b&&(_0x3d4e2b(_0x34e8b2),this[_0xa4a3ed(0x2b5)][_0xa4a3ed(0x1cd)](_0xcb2299));}[_0x31d072(0x22a)](_0xf6eb63){return new Promise((_0x23e8ac,_0x298efd)=>{const _0x45e25e=_0x2079,_0x2adf0b=this[_0x45e25e(0x1df)]();this[_0x45e25e(0x2b5)][_0x45e25e(0x262)](_0x2adf0b,_0x23e8ac),this['_commandService'][_0x45e25e(0x2a8)](_0x31ec6f['id'],{'version':_0x2adf0b,..._0xf6eb63},{'onlyLocal':!0x0});});}[_0x31d072(0x1df)](){const _0x5d467e=_0x31d072;return Math[_0x5d467e(0x300)]()[_0x5d467e(0x39c)](0x24)[_0x5d467e(0x321)](0x2,0x10);}},_0x1f13ed[_0x31d072(0x376)]=_0x36faca([_0x5ac616(0x0,_0x4417df['Inject'](_0x4417df[_0x31d072(0x1e0)])),_0x5ac616(0x1,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1f3)]))],_0x1f13ed[_0x31d072(0x376)]);const _0x4376fc={'id':_0x31d072(0x2f8),'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'handler':(_0x461ca0,_0xa4fb7f)=>{const _0x528e66=_0x31d072;if(!_0xa4fb7f)return!0x1;if(!!_0x461ca0[_0x528e66(0x180)](_0x4417df[_0x528e66(0x14e)])[_0x528e66(0x279)](_0xe54c00))return!0x0;const {pivotTableId:_0x38221f,fieldJSON:_0x147fa7,unitId:_0x45a82d,subUnitId:_0x2b514d}=_0xa4fb7f,_0x58ffe7=_0x570035[_0x528e66(0x1a3)]['fromJSON'](_0x147fa7);if(!_0x58ffe7)return!0x1;const _0x36e522=_0x461ca0['get'](_0x1f13ed[_0x528e66(0x368)]),_0x2a76d0=_0x36e522['getDataFieldManager'](_0x45a82d),_0x5e81ac=_0x2a76d0[_0x528e66(0x203)](_0x38221f);_0x2a76d0[_0x528e66(0x394)](_0x58ffe7),_0x5e81ac[_0x528e66(0x302)](_0x58ffe7[_0x528e66(0x295)](),_0x58ffe7[_0x528e66(0x130)]());const _0x56bb89=_0x5e81ac['getFieldById'](_0x58ffe7[_0x528e66(0x298)]());_0x56bb89&&_0x58ffe7['refreshGroupField'](_0x56bb89);const _0x343b34=_0x36e522['getPivotTableConfig'](_0x45a82d,_0x2b514d,_0x38221f);return _0x36e522['addDirtyPivotTable']({'unitId':_0x45a82d,'subUnitId':_0x2b514d,'token':_0x38221f,'type':_0x1cfd99[_0x528e66(0x3bf)],'pivotConfig':_0x343b34}),!0x0;}},_0x2cd923={'id':_0x31d072(0x16a),'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'handler':(_0xf0f4a2,_0x503082)=>{const _0x4b5933=_0x31d072;if(!_0x503082)return!0x1;if(!!_0xf0f4a2[_0x4b5933(0x180)](_0x4417df[_0x4b5933(0x14e)])[_0x4b5933(0x279)](_0xe54c00))return!0x0;const {pivotTableId:_0x584b3e,dataFieldId:_0x5d8f72,unitId:_0x2e01df,subUnitId:_0xf1b3de}=_0x503082,_0x3ff433=_0xf0f4a2[_0x4b5933(0x180)](_0x1f13ed[_0x4b5933(0x368)]),_0x1abe9f=_0x3ff433[_0x4b5933(0x35e)](_0x2e01df);_0x1abe9f[_0x4b5933(0x203)](_0x584b3e)['deleteField'](_0x5d8f72);let _0x544f6b=!0x0;for(const _0x583c83 in _0x1abe9f[_0x4b5933(0x27e)])if(_0x1abe9f['collections'][_0x583c83][_0x4b5933(0x3e9)]()['includes'](_0x5d8f72)){_0x544f6b=!0x1;break;}_0x544f6b&&_0x1abe9f[_0x4b5933(0x347)](_0x5d8f72);const _0x37001c=_0x3ff433[_0x4b5933(0x32d)](_0x2e01df,_0xf1b3de,_0x584b3e);return _0x3ff433[_0x4b5933(0x23d)]({'unitId':_0x2e01df,'subUnitId':_0xf1b3de,'token':_0x584b3e,'type':_0x1cfd99[_0x4b5933(0x3bf)],'pivotConfig':_0x37001c}),!0x0;}},_0x62d925={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x2029db,_0x35f3a0){const _0x25a092=_0x31d072;if(!_0x35f3a0)return!0x1;const _0x2d1311=_0x2029db[_0x25a092(0x180)](_0x4417df[_0x25a092(0x1f3)]),_0x50c475=_0x2029db[_0x25a092(0x180)](_0x1f13ed['SheetsPivotRPCService']),_0x2c3444=_0x2029db[_0x25a092(0x180)](_0x4417df[_0x25a092(0x193)]),{pivotTableId:_0x4733fe,dataFieldId:_0x2b335c,fieldArea:_0x341e4d,index:_0x5a80d3,unitId:_0x370ecf,subUnitId:_0x3b336d}=_0x35f3a0,_0x330300=(await _0x50c475[_0x25a092(0x22a)]({'unitId':_0x370ecf,'subUnitId':_0x3b336d,'pivotTableId':_0x4733fe,'params':{'type':_0x1ffaf9[_0x25a092(0x359)],'addPivotField':{'dataFieldId':_0x2b335c,'fieldArea':_0x341e4d,'index':_0x5a80d3}}}))[_0x25a092(0x305)]['addPivotField'];if(!_0x330300)return!0x1;const {view:_0x70d8dd,changesets:_0xe6e580,isEmpty:_0x298c50,pivotTableConfig:_0x32a9da,shouldBeAddedGroupJSON:_0x32562f}=_0x330300,_0x4d5f29=_0x32a9da[_0x25a092(0x143)],_0x285ce2=new _0x570035[(_0x25a092(0x1ab))]();_0x285ce2[_0x25a092(0x164)](_0x70d8dd);const _0x36313d={'cellInfo':_0x4d5f29,'view':_0x285ce2,'isEmpty':_0x298c50};if(!await _0x2029db[_0x25a092(0x180)](_0x1f13ed[_0x25a092(0x1ef)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2f9d04)(!0x0,_0x36313d))return!0x1;const _0x28c6b9=_0x2942f2(_0x2029db,_0x285ce2,_0x4d5f29,_0x298c50),_0x20b347=_0x4a51e6(_0x2029db,_0x36313d),{undos:_0x7dbe02,redos:_0x5aaa32}=_0x18ed64(_0x2d1311,{'pivotTableId':_0x4733fe,'unitId':_0x370ecf,'subUnitId':_0x3b336d},_0xe6e580);return _0x32562f&&(_0x5aaa32[_0x25a092(0x120)]({'id':_0x4376fc['id'],'params':{'pivotTableId':_0x4733fe,'fieldJSON':_0x32562f,'unitId':_0x370ecf,'subUnitId':_0x3b336d}}),_0x7dbe02['push']({'id':_0x2cd923['id'],'params':{'pivotTableId':_0x4733fe,'dataFieldId':_0x32562f['id'],'unitId':_0x370ecf,'subUnitId':_0x3b336d}})),_0x4417df[_0x25a092(0x14c)]([..._0x28c6b9[_0x25a092(0x134)],..._0x20b347[_0x25a092(0x134)],..._0x5aaa32],_0x2d1311),_0x2c3444['pushUndoRedo']({'unitID':_0x370ecf,'redoMutations':[..._0x28c6b9[_0x25a092(0x134)],..._0x20b347[_0x25a092(0x134)],..._0x5aaa32],'undoMutations':[..._0x28c6b9[_0x25a092(0x400)],..._0x20b347[_0x25a092(0x400)],..._0x7dbe02]}),!0x0;}},_0x3158f1={'type':_0x4417df['CommandType']['COMMAND'],'id':_0x31d072(0x31a),async 'handler'(_0x2c757d,_0x254cf7){const _0x4af57f=_0x31d072;if(!_0x254cf7)return!0x1;const {sourceDataInfo:_0x45adc2,pivotTableConfig:_0x2049a8}=_0x254cf7;if(!_0x45adc2||!_0x2049a8)return!0x1;const {unitId:_0x2c8f92,subUnitId:_0x2bd0b7,range:_0x272993}=_0x45adc2,_0x4f5273=_0x2c757d[_0x4af57f(0x180)](_0x4417df['IUniverInstanceService']),_0x538193=_0x2c757d[_0x4af57f(0x180)](_0x1f13ed[_0x4af57f(0x376)]),_0x5dd364=_0x2c757d['get'](_0x4417df[_0x4af57f(0x31f)]),_0x63e43d=_0x2c757d['get'](_0x4417df[_0x4af57f(0x1f3)]),_0x707bb7=_0x4f5273['getUnit'](_0x2c8f92);if(!_0x707bb7)return!0x1;const _0x48a1ec=_0x707bb7['getSheetBySheetId'](_0x2bd0b7);if(!_0x48a1ec)return!0x1;const _0x1a3a1f=_0x570035[_0x4af57f(0x202)](0x8),_0x4e7549=_0x272993||{'startRow':0x0,'startColumn':0x0,'endRow':_0x48a1ec[_0x4af57f(0x2ef)]()-0x1,'endColumn':_0x48a1ec[_0x4af57f(0x163)]()-0x1};_0x4e7549[_0x4af57f(0x3e1)]=_0x4417df['RANGE_TYPE']['NORMAL'];const _0x1b4e9b=(await _0x538193[_0x4af57f(0x22a)]({'unitId':_0x2c8f92,'subUnitId':_0x2bd0b7,'pivotTableId':_0x1a3a1f,'params':{'type':_0x1ffaf9['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2c8f92,'sheetName':_0x48a1ec[_0x4af57f(0x130)](),'subUnitId':_0x2bd0b7,'range':_0x4e7549},'pivotTableId':_0x1a3a1f,'pivotTableIndexConfig':_0x2049a8}}}))[_0x4af57f(0x305)][_0x4af57f(0x253)];if(!_0x1b4e9b)return!0x1;const {isEmpty:_0x781e,fieldsConfig:_0x2cae08,collectionConfig:_0x57e6c8,changesets:_0x56541b}=_0x1b4e9b,_0x109bee=_0x707bb7['getSheets']()[_0x4af57f(0x292)],_0x31c1e9=_0x4417df[_0x4af57f(0x2dd)]({'rowCount':_0x48a1ec[_0x4af57f(0x2ef)]()-0x1,'columnCount':_0x48a1ec['getColumnCount']()-0x1});_0x31c1e9['id']=_0x4417df[_0x4af57f(0x380)](),_0x31c1e9[_0x4af57f(0x21f)]=_0x707bb7['generateNewSheetName'](''+_0x5dd364['t'](_0x4af57f(0x304)));const _0x2726a2={'index':_0x109bee,'sheet':_0x31c1e9,'unitId':_0x2c8f92},{redos:_0x3f04e3}=_0x18ed64(_0x63e43d,{'pivotTableId':_0x1a3a1f,'unitId':_0x2c8f92,'subUnitId':_0x31c1e9['id']},_0x56541b),_0x568248=[{'id':_0x3bcacb[_0x4af57f(0x18c)]['id'],'params':_0x2726a2},{'id':_0x1d8f15['id'],'params':{'unitId':_0x2c8f92,'subUnitId':_0x31c1e9['id'],'pivotTableId':_0x1a3a1f,'pivotTableConfig':{'isEmpty':_0x781e,'fieldsConfig':_0x2cae08,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2c8f92,'subUnitId':_0x31c1e9['id']},'sourceRangeInfo':{'subUnitId':_0x2bd0b7,'unitId':_0x2c8f92,'range':_0x4e7549,'sheetName':_0x48a1ec['getName']()}},'collectionConfig':_0x57e6c8}},..._0x3f04e3];return _0x4417df[_0x4af57f(0x14c)](_0x568248,_0x63e43d),!0x0;}},_0x2a76cb={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x23b),async 'handler'(_0x5b6935,_0x5d64c0){const _0x42d02e=_0x31d072;var _0x2f6734,_0x56a7b2;const _0x3e9796=_0x5b6935[_0x42d02e(0x180)](_0x4417df[_0x42d02e(0x1f3)]),_0x3767aa=_0x5b6935[_0x42d02e(0x180)](_0x4417df['IUniverInstanceService']),_0x525840=_0x5b6935[_0x42d02e(0x180)](_0x4417df[_0x42d02e(0x31f)]),_0xd9e98b=_0x5b6935[_0x42d02e(0x180)](_0x1f13ed[_0x42d02e(0x376)]),_0x35400f=_0x5b6935[_0x42d02e(0x180)](_0x4417df[_0x42d02e(0x193)]),_0x2a2d81=_0x5b6935[_0x42d02e(0x180)](_0x1f13ed[_0x42d02e(0x232)]),_0x5e83b7=_0x5b6935[_0x42d02e(0x180)](_0x4417df[_0x42d02e(0x14e)]);if(!_0x5d64c0)return!0x1;const {pivotTableConfig:_0x244629,positionType:_0x5b3daa}=_0x5d64c0,{targetCellInfo:_0x496603,sourceRangeInfo:_0x32b6d5}=_0x244629,{unitId:_0x1e6952,subUnitId:_0xc9cb5}=_0x496603,_0x53c18b=_0x3767aa['getUnit'](_0x1e6952);if(!_0x53c18b)return!0x1;let _0xe0c801=0x0;_0x53c18b[_0x42d02e(0x2cf)]()[_0x42d02e(0x17f)](_0x58493c=>{const _0x4fb77a=_0x42d02e;var _0x418ab4,_0x42b5b3;_0xe0c801+=(_0x42b5b3=(_0x418ab4=_0x2a2d81[_0x4fb77a(0x2af)](_0x1e6952,_0x58493c[_0x4fb77a(0x356)]()))==null?void 0x0:_0x418ab4[_0x4fb77a(0x198)])!=null?_0x42b5b3:0x0;});const _0xeed6d6=(_0x2f6734=_0x5e83b7[_0x42d02e(0x279)](_0x34fa9b['LS_CONFIG_KEY']))!=null?_0x2f6734:{},{ls:_0x162d00,pbk:_0xefe11}=_0xeed6d6;if(!_0x12e8b3(_0x162d00,_0xefe11))return!0x1;const _0x1c131e=_0x41f0b1(_0x213ae5,_0x162d00,_0xefe11)[_0x42d02e(0x151)];if(_0xe0c801>=_0x1c131e)return!0x1;const _0x64f967=_0x5d64c0[_0x42d02e(0x309)]||_0x570035[_0x42d02e(0x202)](0x8),_0x19884a=(await _0xd9e98b[_0x42d02e(0x22a)]({'unitId':_0x1e6952,'subUnitId':_0xc9cb5,'pivotTableId':_0x64f967,'params':{'type':_0x1ffaf9[_0x42d02e(0x29d)],'addPivotTable':{'sourceRangeInfo':_0x32b6d5,'pivotTableId':_0x64f967}}}))['result'][_0x42d02e(0x139)];if(!_0x19884a)return!0x1;const {view:_0x134c48,isEmpty:_0xea8778,fieldsConfig:_0x4764ae,collectionConfig:_0x3c4194}=_0x19884a,_0xf81471=[],_0x2aee22=[];if(_0x5b3daa===_0x22968b[_0x42d02e(0x3d3)]){const _0x159776=_0x53c18b[_0x42d02e(0x2cf)]()[_0x42d02e(0x292)],_0x5da7fe=_0x4417df['mergeWorksheetSnapshotWithDefault']({});_0x5da7fe['id']=_0x244629[_0x42d02e(0x143)][_0x42d02e(0x2ff)],_0x5da7fe[_0x42d02e(0x21f)]=(_0x56a7b2=_0x244629[_0x42d02e(0x143)][_0x42d02e(0x1c3)])!=null?_0x56a7b2:_0x53c18b[_0x42d02e(0x406)](''+_0x525840['t']('sheets.tabs.sheet'));const _0x15badb={'index':_0x159776,'sheet':_0x5da7fe,'unitId':_0x1e6952},_0xbd5042=_0x3bcacb[_0x42d02e(0x42d)](_0x5b6935,_0x15badb);_0xf81471[_0x42d02e(0x294)]({'id':_0x3bcacb[_0x42d02e(0x23a)]['id'],'params':_0xbd5042}),_0x2aee22[_0x42d02e(0x294)]({'id':_0x3bcacb['InsertSheetMutation']['id'],'params':_0x15badb});}else{if(!_0x53c18b[_0x42d02e(0x129)](_0xc9cb5))return!0x1;const _0x420653=_0x2942f2(_0x5b6935,new _0x570035[(_0x42d02e(0x1ab))](),_0x496603,!0x0);_0x2aee22[_0x42d02e(0x294)](..._0x420653[_0x42d02e(0x134)]),_0xf81471[_0x42d02e(0x294)](..._0x420653[_0x42d02e(0x400)]);const _0x13861f={'cellInfo':_0x496603,'view':_0x134c48,'isEmpty':_0xea8778};if(!await _0x5b6935[_0x42d02e(0x180)](_0x1f13ed[_0x42d02e(0x1ef)])[_0x42d02e(0x3ac)]['fetchThroughAsyncInterceptors'](_0x2f9d04)(!0x0,_0x13861f))return!0x1;const _0x35186c=_0x4a51e6(_0x5b6935,_0x13861f);_0x2aee22['push'](..._0x35186c[_0x42d02e(0x134)]),_0xf81471[_0x42d02e(0x294)](..._0x35186c['undos']);}return _0x2aee22['push']({'id':_0x1d8f15['id'],'params':{'unitId':_0x496603[_0x42d02e(0x2f2)],'subUnitId':_0x496603['subUnitId'],'pivotTableId':_0x64f967,'pivotTableConfig':{'targetCellInfo':_0x496603,'sourceRangeInfo':_0x32b6d5,'fieldsConfig':_0x4764ae},'collectionConfig':_0x3c4194}}),_0xf81471[_0x42d02e(0x120)]({'id':_0xb941dc['id'],'params':{'unitId':_0x1e6952,'subUnitId':_0xc9cb5,'pivotTableId':_0x64f967}}),_0x4417df[_0x42d02e(0x14c)](_0x2aee22,_0x3e9796)&&_0x35400f['pushUndoRedo']({'unitID':_0x1e6952,'undoMutations':_0xf81471,'redoMutations':_0x2aee22}),!0x0;}},_0xe04f88={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x171),async 'handler'(_0x3565a2,_0x11cd20){const _0x9ce97f=_0x31d072;if(!_0x11cd20)return!0x1;const _0x47f7de=_0x3565a2[_0x9ce97f(0x180)](_0x4417df[_0x9ce97f(0x1f3)]),_0xb69382=_0x3565a2[_0x9ce97f(0x180)](_0x1f13ed['SheetsPivotRPCService']),_0x1d77f1=_0x3565a2[_0x9ce97f(0x180)](_0x4417df[_0x9ce97f(0x193)]),{pivotTableId:_0x3ab670,fieldId:_0x5da66b,area:_0x4ca9ef,index:_0x54f9ea,unitId:_0x197699,subUnitId:_0x4bdeff}=_0x11cd20,_0x54cc2b=(await _0xb69382['getPivotDisplayConfig']({'unitId':_0x197699,'subUnitId':_0x4bdeff,'pivotTableId':_0x3ab670,'params':{'type':_0x1ffaf9[_0x9ce97f(0x3f3)],'movePivotField':{'fieldId':_0x5da66b,'area':_0x4ca9ef,'index':_0x54f9ea}}}))['result'][_0x9ce97f(0x2fb)];if(!_0x54cc2b)return!0x1;const {changesets:_0x177368,view:_0x1eb523,isEmpty:_0x41b76f,pivotTableConfig:_0x5d06ed}=_0x54cc2b,_0x594703=_0x5d06ed['targetCellInfo'],_0x1a71c3=new _0x570035[(_0x9ce97f(0x1ab))]();_0x1a71c3['formJSON'](_0x1eb523);const _0x1c399d={'cellInfo':_0x594703,'view':_0x1a71c3,'isEmpty':_0x41b76f};if(!await _0x3565a2['get'](_0x1f13ed['SheetsPivotTableService'])[_0x9ce97f(0x3ac)][_0x9ce97f(0x3c5)](_0x2f9d04)(!0x0,_0x1c399d))return!0x1;const _0x29219b=_0x2942f2(_0x3565a2,_0x1a71c3,_0x594703,_0x41b76f),_0x2d1097=_0x4a51e6(_0x3565a2,_0x1c399d),{redos:_0x568347,undos:_0x383c6e}=_0x18ed64(_0x47f7de,{'pivotTableId':_0x3ab670,'unitId':_0x197699,'subUnitId':_0x4bdeff},_0x177368);return _0x4417df[_0x9ce97f(0x14c)]([..._0x29219b['redos'],..._0x2d1097[_0x9ce97f(0x134)],..._0x568347],_0x47f7de),_0x1d77f1[_0x9ce97f(0x40a)]({'unitID':_0x197699,'redoMutations':[..._0x29219b[_0x9ce97f(0x134)],..._0x2d1097[_0x9ce97f(0x134)],..._0x568347],'undoMutations':[..._0x29219b[_0x9ce97f(0x400)],..._0x2d1097[_0x9ce97f(0x400)],..._0x383c6e]}),!0x0;}},_0x1b43ff={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x35c),async 'handler'(_0x16aecf,_0x39e2d8){const _0xc31fe4=_0x31d072;var _0x54f676;if(!_0x39e2d8)return!0x1;const _0x47f92d=_0x16aecf[_0xc31fe4(0x180)](_0x4417df[_0xc31fe4(0x40f)]),_0x529594=_0x3bcacb['getSheetCommandTarget'](_0x47f92d);if(!_0x529594)return!0x1;const {unitId:_0x1bf92a,subUnitId:_0x17d565,workbook:_0x11dcc5}=_0x529594,{row:_0x3d7a73,col:_0x321896}=_0x39e2d8,_0x599752=_0x16aecf[_0xc31fe4(0x180)](_0x1f13ed[_0xc31fe4(0x415)]),_0x1b3bec=_0x599752['getPivotTableIdByCell'](_0x1bf92a,_0x17d565,_0x3d7a73,_0x321896);if(!_0x1b3bec)return!0x1;const _0x2167c7=(_0x54f676=_0x599752[_0xc31fe4(0x2fd)](_0x1bf92a,_0x17d565,_0x1b3bec))==null?void 0x0:_0x54f676[_0xc31fe4(0x1c8)];if(!_0x2167c7)return!0x1;const _0x165148=_0x16aecf[_0xc31fe4(0x180)](_0x1f13ed[_0xc31fe4(0x232)])[_0xc31fe4(0x32d)](_0x1bf92a,_0x17d565,_0x1b3bec);if(!_0x165148)return!0x1;const {rowInfo:_0x420d9f,colInfo:_0x143227}=_0x2167c7,_0x1c606e=_0x420d9f[_0x3d7a73]['paths'],_0x10602d=_0x143227[_0x321896][_0xc31fe4(0x1dd)],_0x1e3eed=_0x420d9f[_0x3d7a73][_0xc31fe4(0x323)],_0x55d032=_0x143227[_0x321896][_0xc31fe4(0x323)],_0x55280b=_0x1c606e[_0xc31fe4(0x255)](_0x10602d),_0x369ed3=_0x165148[_0xc31fe4(0x1dc)][_0xc31fe4(0x283)][_0xc31fe4(0x2a1)](0x0,_0x1e3eed),_0x375796=_0x165148['fieldsConfig'][_0xc31fe4(0x33f)][_0xc31fe4(0x2a1)](0x0,_0x55d032),_0x3e013f=_0x369ed3['concat'](_0x375796),_0x30c95b=_0x55280b[_0xc31fe4(0x28b)]((_0x5abdc1,_0xb9c797)=>[_0x5abdc1,_0x3e013f[_0xb9c797]]),_0x446034=(await _0x16aecf[_0xc31fe4(0x180)](_0x1f13ed['SheetsPivotRPCService'])[_0xc31fe4(0x22a)]({'unitId':_0x1bf92a,'subUnitId':_0x17d565,'pivotTableId':_0x1b3bec,'params':{'type':_0x1ffaf9['DrillDown'],'drillDown':{'tuple':_0x30c95b}}}))[_0xc31fe4(0x305)][_0xc31fe4(0x264)];if(!_0x446034)return!0x1;const {indexes:_0x4d5c04,range:_0x2102bc,sourceUnitId:_0x3d8b1a,sourceSubUnitId:_0x2b805,formatMap:_0x16bef6}=_0x446034,{startRow:_0x54e357,endRow:_0x59bcb3,startColumn:_0x5d1b83,endColumn:_0x2a3d63}=_0x2102bc,_0x441d0c=new _0x4417df[(_0xc31fe4(0x23e))](),_0x1770b2=_0x59bcb3-_0x54e357,_0x2483d0=_0x2a3d63-_0x5d1b83,_0x4e7e5b={},_0x31bb86=_0x3bcacb[_0xc31fe4(0x1d7)](_0x47f92d,{'unitId':_0x3d8b1a,'subUnitId':_0x2b805});if(!_0x31bb86)return!0x1;const _0x44ad2d=_0x333486[_0xc31fe4(0x133)],_0x4c92d3=_0x333486[_0xc31fe4(0x149)],_0x3d2847=_0x333486[_0xc31fe4(0x149)],_0x32c724=_0x11dcc5[_0xc31fe4(0x3a2)]()[_0xc31fe4(0x2a9)](_0x44ad2d),_0x19fe27=_0x11dcc5['getStyles']()[_0xc31fe4(0x2a9)](_0x4c92d3),_0x301c37=_0x11dcc5[_0xc31fe4(0x3a2)]()[_0xc31fe4(0x2a9)](_0x3d2847),{worksheet:_0x4fdc18}=_0x31bb86;let _0x1614ef=0x0;const _0x475c05=0x1;_0x4d5c04[_0xc31fe4(0x17f)](_0x54a71e=>{const _0x18f78f=_0xc31fe4;for(let _0x3d939e=0x0;_0x3d939e<=_0x2a3d63-_0x5d1b83;_0x3d939e++)_0x441d0c[_0x18f78f(0x2a9)](_0x1614ef,_0x3d939e,_0x4fdc18[_0x18f78f(0x36a)](_0x54a71e+_0x2102bc['startRow']+_0x475c05,_0x3d939e));_0x1614ef++;});for(let _0x7bac51=_0x5d1b83;_0x7bac51<=_0x2a3d63;_0x7bac51++){const _0x1a834b=_0x4fdc18[_0xc31fe4(0x36a)](_0x54e357,_0x7bac51);_0x4e7e5b[_0x54e357]||(_0x4e7e5b[_0x54e357]={}),_0x4e7e5b[_0x54e357][_0x7bac51]={..._0x1a834b,'s':_0x32c724};}let _0xdc64ed=0x1;const _0x5c4479={},_0x565f6f={};_0x441d0c['forRow']((_0xf51ccf,_0x27fb06)=>{const _0x51f110=_0xc31fe4;_0x27fb06[_0x51f110(0x17f)](_0x50df28=>{const _0x16627b=_0x51f110,_0x530c88=_0x441d0c[_0x16627b(0x3eb)](_0xf51ccf,_0x50df28);if(_0x4e7e5b[_0xdc64ed]||(_0x4e7e5b[_0xdc64ed]={}),_0x4e7e5b[_0xdc64ed][_0x50df28]={..._0x530c88,'s':_0xdc64ed%0x2===0x0?_0x301c37:_0x19fe27},_0x16bef6[_0x50df28]&&_0xf51ccf>=0x0){const _0x4fbd6a=_0xdc64ed%0x2===0x0;let _0x5dcb07=_0x4fbd6a?_0x565f6f[_0x50df28]:_0x5c4479[_0x50df28];_0x5dcb07||(_0x5dcb07=_0x11dcc5[_0x16627b(0x3a2)]()[_0x16627b(0x2a9)]({..._0x4fbd6a?_0x3d2847:_0x4c92d3,'n':{'pattern':_0x16bef6[_0x50df28]}}),_0x4fbd6a?_0x565f6f[_0x50df28]=_0x5dcb07:_0x5c4479[_0x50df28]=_0x5dcb07),_0x4e7e5b[_0xdc64ed][_0x50df28]['s']=_0x5dcb07;}}),_0xdc64ed++;});const _0x2dcc94=new _0x4417df['ObjectMatrix'](_0x4e7e5b),_0x338af6={};_0x2dcc94[_0xc31fe4(0x39d)]((_0x5db040,_0x142dcc,_0x51aa15)=>{_0x338af6[_0x5db040]||(_0x338af6[_0x5db040]={}),_0x338af6[_0x5db040][_0x142dcc]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x32ad56=[],_0x2b1d8d=[],_0x4d7fe5=_0x11dcc5[_0xc31fe4(0x2cf)]()[_0xc31fe4(0x292)],_0x1d785f=_0x4417df[_0xc31fe4(0x2dd)]({'rowCount':Math['max'](_0x4417df[_0xc31fe4(0x351)],_0x1770b2+0xa),'columnCount':Math['max'](_0x4417df[_0xc31fe4(0x184)],_0x2483d0+0x5)}),_0x227d5f=_0x16aecf['get'](_0x4417df[_0xc31fe4(0x31f)]);_0x1d785f['id']=_0x4417df[_0xc31fe4(0x380)](),_0x1d785f[_0xc31fe4(0x21f)]=_0x11dcc5[_0xc31fe4(0x406)](''+_0x227d5f['t'](_0xc31fe4(0x304)));const _0x1b37f8={'index':_0x4d7fe5,'sheet':_0x1d785f,'unitId':_0x1bf92a},_0x186b75=_0x3bcacb['InsertSheetUndoMutationFactory'](_0x16aecf,_0x1b37f8);_0x2b1d8d[_0xc31fe4(0x294)]({'id':_0x3bcacb[_0xc31fe4(0x306)]['id'],'params':_0x1b37f8}),_0x32ad56[_0xc31fe4(0x294)]({'id':_0x3bcacb[_0xc31fe4(0x23a)]['id'],'params':_0x186b75}),_0x2b1d8d[_0xc31fe4(0x294)]({'id':_0x3bcacb[_0xc31fe4(0x310)]['id'],'params':{'unitId':_0x1bf92a,'subUnitId':_0x1d785f['id'],'cellValue':_0x4e7e5b}}),_0x32ad56['unshift']({'id':_0x3bcacb[_0xc31fe4(0x310)]['id'],'params':{'unitId':_0x1bf92a,'subUnitId':_0x1d785f['id'],'cellValue':_0x338af6}});const _0x445c97={'startRow':0x0,'startColumn':0x0,'endRow':_0xdc64ed-0x1,'endColumn':_0x2a3d63};_0x2b1d8d['push']({'id':_0x587a0d['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x1bf92a,'subUnitId':_0x1d785f['id'],'range':_0x445c97}}),_0x32ad56[_0xc31fe4(0x120)]({'id':_0x587a0d['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x1bf92a,'subUnitId':_0x1d785f['id']}});const _0x4fc978=_0x16aecf[_0xc31fe4(0x180)](_0x4417df[_0xc31fe4(0x1f3)]);return _0x4417df[_0xc31fe4(0x14c)](_0x2b1d8d,_0x4fc978)&&_0x16aecf['get'](_0x4417df['IUndoRedoService'])[_0xc31fe4(0x40a)]({'unitID':_0x1bf92a,'undoMutations':_0x32ad56,'redoMutations':_0x2b1d8d}),!0x0;}},_0x519ba1={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x1f0),async 'handler'(_0x40d40e,_0xe08936){const _0x743f7a=_0x31d072;if(!_0xe08936)return!0x1;const _0x4eb370=_0x40d40e[_0x743f7a(0x180)](_0x4417df[_0x743f7a(0x1f3)]),_0x3fad31=_0x40d40e['get'](_0x1f13ed['SheetsPivotRPCService']),_0x1e4288=_0x40d40e['get'](_0x4417df[_0x743f7a(0x193)]),{pivotTableId:_0x55a369,fieldIds:_0x5ecb36,unitId:_0x5abd24,subUnitId:_0x29b227}=_0xe08936,_0x490e6e=(await _0x3fad31[_0x743f7a(0x22a)]({'unitId':_0x5abd24,'subUnitId':_0x29b227,'pivotTableId':_0x55a369,'params':{'type':_0x1ffaf9['RemovePivotField'],'removePivotField':{'fieldIds':_0x5ecb36}}}))[_0x743f7a(0x305)][_0x743f7a(0x2c8)];if(!_0x490e6e)return!0x1;const {view:_0x40a14d,changesets:_0x41db72,isEmpty:_0x5f3980,pivotTableConfig:_0x423826}=_0x490e6e,_0x2970f1=_0x423826[_0x743f7a(0x143)],_0x2b4775=new _0x570035['PivotView']();_0x2b4775['formJSON'](_0x40a14d);const _0xc40de3={'cellInfo':_0x2970f1,'view':_0x2b4775,'isEmpty':_0x5f3980};if(!await _0x40d40e['get'](_0x1f13ed[_0x743f7a(0x1ef)])[_0x743f7a(0x3ac)][_0x743f7a(0x3c5)](_0x2f9d04)(!0x0,_0xc40de3))return!0x1;const _0x23fa17=_0x2942f2(_0x40d40e,_0x2b4775,_0x2970f1,_0x5f3980),_0x2700fb=_0x4a51e6(_0x40d40e,_0xc40de3),{redos:_0x3b4b48,undos:_0x22a3e9}=_0x18ed64(_0x4eb370,{'pivotTableId':_0x55a369,'unitId':_0x5abd24,'subUnitId':_0x29b227},_0x41db72);return _0x4417df[_0x743f7a(0x14c)]([..._0x23fa17[_0x743f7a(0x134)],..._0x2700fb[_0x743f7a(0x134)],..._0x3b4b48],_0x4eb370),_0x1e4288[_0x743f7a(0x40a)]({'unitID':_0x5abd24,'redoMutations':[..._0x23fa17['redos'],..._0x2700fb[_0x743f7a(0x134)],..._0x3b4b48],'undoMutations':[..._0x23fa17[_0x743f7a(0x400)],..._0x2700fb[_0x743f7a(0x400)],..._0x22a3e9]}),!0x0;}},_0x39fb5d={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x25a),async 'handler'(_0x146d2a,_0x2b94bf){const _0x30e3c1=_0x31d072;var _0x55cdb0;const _0x39486f=_0x146d2a[_0x30e3c1(0x180)](_0x4417df[_0x30e3c1(0x1f3)]),_0x1ef665=_0x146d2a[_0x30e3c1(0x180)](_0x1f13ed['SheetsPivotRPCService']),_0x1f50e6=_0x146d2a[_0x30e3c1(0x180)](_0x1f13ed[_0x30e3c1(0x415)]),_0x10ae03=_0x146d2a[_0x30e3c1(0x180)](_0x4417df['IUniverInstanceService']),_0x135642=_0x146d2a[_0x30e3c1(0x180)](_0x4417df[_0x30e3c1(0x193)]);if(!_0x2b94bf)return!0x1;const {unitId:_0x1cfdbc,subUnitId:_0x5da688,row:_0x5f54da,col:_0x54aff6,collapse:_0x5fbaad}=_0x2b94bf,_0x4edf96=_0x10ae03[_0x30e3c1(0x363)](_0x1cfdbc);if(!_0x4edf96||!_0x4edf96[_0x30e3c1(0x129)](_0x5da688))return!0x1;const _0x544438=_0x1f50e6['getPivotTableIdByCell'](_0x1cfdbc,_0x5da688,_0x5f54da,_0x54aff6);if(!_0x544438)return!0x1;const _0x3797a9=_0x1f50e6[_0x30e3c1(0x2fd)](_0x1cfdbc,_0x5da688,_0x544438);if(!_0x3797a9)return!0x1;const _0x5e0b7e=_0x4417df['cellToRange'](_0x5f54da,_0x54aff6),{rangesInfo:_0x53d241,areaInfo:_0x1b77f8,headerMap:_0x13e35d}=_0x3797a9;if(!_0x53d241||!_0x1b77f8||!_0x13e35d)return!0x1;const _0x1cfdd0=Object[_0x30e3c1(0x196)](_0x53d241)[_0x30e3c1(0x388)](_0x2adb85=>_0x53d241[_0x2adb85][_0x30e3c1(0x1a6)](_0x9f9f2c=>_0x4417df[_0x30e3c1(0x316)]['contains'](_0x9f9f2c,_0x5e0b7e)));let _0x2e0f60;_0x1cfdd0===_0x30e3c1(0x1c2)?_0x2e0f60=_0x13e35d[_0x30e3c1(0x21e)][_0x54aff6]:_0x1cfdd0==='colRanges'&&(_0x2e0f60=_0x13e35d[_0x30e3c1(0x3f5)][_0x5f54da]);const _0x49917b=_0x2e0f60==null?void 0x0:_0x2e0f60[_0x30e3c1(0x371)],_0x3973dc=(_0x55cdb0=_0x1f50e6[_0x30e3c1(0x195)](_0x1cfdbc,_0x5da688,_0x5f54da,_0x54aff6))==null?void 0x0:_0x55cdb0['v'];if(_0x3973dc==null||!_0x544438||!_0x49917b)return!0x1;const _0x145947=await _0x1ef665[_0x30e3c1(0x22a)]({'unitId':_0x1cfdbc,'subUnitId':_0x5da688,'pivotTableId':_0x544438,'params':{'type':_0x1ffaf9[_0x30e3c1(0x2fe)],'setPivotCollapse':{'tableFieldId':_0x49917b,'collapse':_0x5fbaad,'item':_0x3973dc}}}),_0x150b29=_0x145947==null?void 0x0:_0x145947['result']['setPivotCollapse'];if(!_0x150b29)return!0x1;const {view:_0x16035c,pivotTableConfig:_0x54c383,isEmpty:_0x1b70c4,changesets:_0x3a700e}=_0x150b29,_0x3d73f6=new _0x570035[(_0x30e3c1(0x1ab))]();_0x3d73f6[_0x30e3c1(0x164)](_0x16035c);const _0x40f3e5=_0x54c383[_0x30e3c1(0x143)],_0x397284={'cellInfo':_0x40f3e5,'view':_0x3d73f6,'isEmpty':_0x1b70c4};if(!await _0x146d2a[_0x30e3c1(0x180)](_0x1f13ed[_0x30e3c1(0x1ef)])[_0x30e3c1(0x3ac)][_0x30e3c1(0x3c5)](_0x2f9d04)(!0x0,_0x397284))return!0x1;const _0x3c2f7e=_0x2942f2(_0x146d2a,_0x3d73f6,_0x40f3e5,_0x1b70c4),_0x19b8ab=_0x4a51e6(_0x146d2a,_0x397284),{redos:_0x28c661,undos:_0x22b6e0}=_0x18ed64(_0x39486f,{'pivotTableId':_0x544438,'unitId':_0x1cfdbc,'subUnitId':_0x5da688},_0x3a700e);return _0x4417df[_0x30e3c1(0x14c)]([..._0x3c2f7e[_0x30e3c1(0x134)],..._0x19b8ab[_0x30e3c1(0x134)],..._0x28c661],_0x39486f),_0x135642['pushUndoRedo']({'unitID':_0x1cfdbc,'redoMutations':[..._0x3c2f7e['redos'],..._0x19b8ab[_0x30e3c1(0x134)],..._0x28c661],'undoMutations':[..._0x3c2f7e[_0x30e3c1(0x400)],..._0x19b8ab[_0x30e3c1(0x400)],..._0x22b6e0]}),!0x0;}},_0x605344={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x40b),async 'handler'(_0x363f9e,_0x5f3682){const _0x37416b=_0x31d072;if(!_0x5f3682)return!0x1;const _0x4945bf=_0x363f9e[_0x37416b(0x180)](_0x4417df[_0x37416b(0x1f3)]),{pivotTableId:_0x3d63ba,tableFieldId:_0x1a6b48,items:_0x2517ae,unitId:_0x2a1fa6,subUnitId:_0x13035f,isAll:_0x31b0df}=_0x5f3682,_0x18c1b3=_0x363f9e[_0x37416b(0x180)](_0x1f13ed[_0x37416b(0x376)]),_0x4627a8=_0x363f9e[_0x37416b(0x180)](_0x4417df[_0x37416b(0x193)]),_0x408027=(await _0x18c1b3[_0x37416b(0x22a)]({'unitId':_0x2a1fa6,'subUnitId':_0x13035f,'pivotTableId':_0x3d63ba,'params':{'type':_0x1ffaf9[_0x37416b(0x247)],'setPivotFilter':{'tableFieldId':_0x1a6b48,'items':_0x2517ae,'isAll':_0x31b0df}}}))[_0x37416b(0x305)][_0x37416b(0x20f)];if(!_0x408027)return!0x1;const {changesets:_0x49f8ab,pivotTableConfig:_0x72a08d,isEmpty:_0x2c3a4e,view:_0x3b3c7c}=_0x408027,_0x557259=_0x72a08d[_0x37416b(0x143)],_0x1b41e0=new _0x570035[(_0x37416b(0x1ab))]();_0x1b41e0[_0x37416b(0x164)](_0x3b3c7c);const _0x536928={'cellInfo':_0x557259,'view':_0x1b41e0,'isEmpty':_0x2c3a4e};if(!await _0x363f9e[_0x37416b(0x180)](_0x1f13ed['SheetsPivotTableService'])[_0x37416b(0x3ac)][_0x37416b(0x3c5)](_0x2f9d04)(!0x0,_0x536928))return!0x1;const _0x2dcfe0=_0x2942f2(_0x363f9e,_0x1b41e0,_0x557259,_0x2c3a4e),_0x23371c=_0x4a51e6(_0x363f9e,_0x536928),{undos:_0x146ed5,redos:_0x55259f}=_0x18ed64(_0x4945bf,{'pivotTableId':_0x3d63ba,'unitId':_0x2a1fa6,'subUnitId':_0x13035f},_0x49f8ab);return _0x4417df[_0x37416b(0x14c)]([..._0x2dcfe0[_0x37416b(0x134)],..._0x23371c['redos'],..._0x55259f],_0x4945bf),_0x4627a8[_0x37416b(0x40a)]({'unitID':_0x2a1fa6,'redoMutations':[..._0x2dcfe0[_0x37416b(0x134)],..._0x23371c[_0x37416b(0x134)],..._0x55259f],'undoMutations':[..._0x2dcfe0[_0x37416b(0x400)],..._0x23371c[_0x37416b(0x400)],..._0x146ed5]}),!0x0;}},_0x19e301={'type':_0x4417df['CommandType']['COMMAND'],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x2182fe,_0xbf74d9){const _0x3391fb=_0x31d072;if(!_0xbf74d9)return!0x1;const _0x614b6f=_0x2182fe[_0x3391fb(0x180)](_0x4417df[_0x3391fb(0x1f3)]),_0x30bac6=_0x2182fe[_0x3391fb(0x180)](_0x4417df[_0x3391fb(0x193)]),_0x58c59a=_0x2182fe[_0x3391fb(0x180)](_0x1f13ed[_0x3391fb(0x376)]),{info:_0x50130b,tableFieldId:_0x547f6b,pivotTableId:_0x1a9113,unitId:_0x23dcc6,subUnitId:_0x401977}=_0xbf74d9,_0x4d168f=(await _0x58c59a[_0x3391fb(0x22a)]({'unitId':_0x23dcc6,'subUnitId':_0x401977,'pivotTableId':_0x1a9113,'params':{'type':_0x1ffaf9[_0x3391fb(0x153)],'setPivotSort':{'tableFieldId':_0x547f6b,'info':_0x50130b}}}))['result'][_0x3391fb(0x2f1)];if(!_0x4d168f)return!0x1;const {changesets:_0x3bd91e}=_0x4d168f,{redos:_0x3a3f1d,undos:_0xcc1739}=_0x18ed64(_0x614b6f,{'pivotTableId':_0x1a9113,'unitId':_0x23dcc6,'subUnitId':_0x401977},_0x3bd91e);return _0x4417df['sequenceExecute'](_0x3a3f1d,_0x614b6f),_0x30bac6['pushUndoRedo']({'unitID':_0x23dcc6,'redoMutations':_0x3a3f1d,'undoMutations':_0xcc1739}),!0x0;}},_0x5958be={'type':_0x4417df[_0x31d072(0x3d7)]['COMMAND'],'id':_0x31d072(0x40d),async 'handler'(_0x24f697,_0x2a1170){const _0x59ef84=_0x31d072;if(!_0x2a1170)return!0x1;const _0x48bfde=_0x24f697[_0x59ef84(0x180)](_0x4417df[_0x59ef84(0x1f3)]),_0x11b463=_0x24f697[_0x59ef84(0x180)](_0x4417df[_0x59ef84(0x193)]),_0x36b411=_0x24f697[_0x59ef84(0x180)](_0x1f13ed[_0x59ef84(0x376)]),{displayName:_0x137400,subtotalType:_0xc8c526,format:_0x72c007,tableFieldId:_0x5f0094,pivotTableId:_0x189d0d,unitId:_0x170ac2,subUnitId:_0x24e70d}=_0x2a1170,_0x83ae6b=(await _0x36b411['getPivotDisplayConfig']({'unitId':_0x170ac2,'subUnitId':_0x24e70d,'pivotTableId':_0x189d0d,'params':{'type':_0x1ffaf9[_0x59ef84(0x3b9)],'setPivotSetting':{'tableFieldId':_0x5f0094,'displayName':_0x137400,'subtotalType':_0xc8c526,'format':_0x72c007}}}))[_0x59ef84(0x305)][_0x59ef84(0x2a2)];if(!_0x83ae6b)return!0x1;const {changesets:_0x500bc6,view:_0x36262d,pivotTableConfig:_0xf866c9,isEmpty:_0x5dd073}=_0x83ae6b,_0x34a8aa=_0xf866c9[_0x59ef84(0x143)],_0x3a72c8=new _0x570035['PivotView']();_0x3a72c8[_0x59ef84(0x164)](_0x36262d);const _0x1bc846={'cellInfo':_0x34a8aa,'view':_0x3a72c8,'isEmpty':_0x5dd073};if(!await _0x24f697[_0x59ef84(0x180)](_0x1f13ed[_0x59ef84(0x1ef)])[_0x59ef84(0x3ac)]['fetchThroughAsyncInterceptors'](_0x2f9d04)(!0x0,_0x1bc846))return!0x1;const _0x3fc27d=_0x2942f2(_0x24f697,_0x3a72c8,_0x34a8aa,_0x5dd073),_0x4ebdba=_0x4a51e6(_0x24f697,_0x1bc846),{undos:_0x1e34da,redos:_0x3bb40d}=_0x18ed64(_0x48bfde,{'pivotTableId':_0x189d0d,'unitId':_0x170ac2,'subUnitId':_0x24e70d},_0x500bc6);return _0x4417df['sequenceExecute']([..._0x3fc27d[_0x59ef84(0x134)],..._0x4ebdba[_0x59ef84(0x134)],..._0x3bb40d],_0x48bfde),_0x11b463[_0x59ef84(0x40a)]({'unitID':_0x170ac2,'redoMutations':[..._0x3fc27d[_0x59ef84(0x134)],..._0x4ebdba[_0x59ef84(0x134)],..._0x3bb40d],'undoMutations':[..._0x3fc27d[_0x59ef84(0x400)],..._0x4ebdba[_0x59ef84(0x400)],..._0x1e34da]}),!0x0;}},_0x3f9678={'type':_0x4417df[_0x31d072(0x3d7)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x3f7e40,_0x1b3053){const _0x38ff2a=_0x31d072,_0x5b5df6=_0x3f7e40[_0x38ff2a(0x180)](_0x4417df['ICommandService']),_0xc1513e=_0x3f7e40[_0x38ff2a(0x180)](_0x1f13ed[_0x38ff2a(0x376)]),_0x3093c0=_0x3f7e40['get'](_0x4417df[_0x38ff2a(0x193)]);if(!_0x1b3053)return!0x1;const {token:_0x43220b,dataRangeInfo:_0x1c3e13,unitId:_0x3b8910,subUnitId:_0x3b6e89}=_0x1b3053,_0x54ad18=[],_0x15de9d=[],_0x1a2afd=(await _0xc1513e['getPivotDisplayConfig']({'unitId':_0x3b8910,'subUnitId':_0x3b6e89,'pivotTableId':_0x43220b,'params':{'type':_0x1ffaf9[_0x38ff2a(0x1be)],'updatePivotSource':{'dataRangeInfo':_0x1c3e13,'unitId':_0x3b8910,'subUnitId':_0x3b6e89}}}))[_0x38ff2a(0x305)]['updatePivotSource'];if(!_0x1a2afd)return!0x1;const {changesets:_0x1f1d99,deleteIds:_0x1f6563,collectionConfig:_0x4c4195,oldCollectionConfig:_0xf6231e,view:_0x22874d,isEmpty:_0x2b4c25,pivotTableConfig:_0x43830b}=_0x1a2afd;_0x15de9d['push']({'id':_0x2c1259['id'],'params':{'pivotTableId':_0x43220b,'deleteIds':_0x1f6563,'collectionJSON':_0x4c4195,'dataRangeInfo':_0x1c3e13,'unitId':_0x3b8910,'subUnitId':_0x3b6e89}}),_0x54ad18[_0x38ff2a(0x120)]({'id':_0x2c1259['id'],'params':{'pivotTableId':_0x43220b,'deleteIds':[],'collectionJSON':_0xf6231e,'dataRangeInfo':_0x43830b[_0x38ff2a(0x21b)],'unitId':_0x3b8910,'subUnitId':_0x3b6e89}});const _0x546be9=_0x43830b['targetCellInfo'],_0x1a20cd=new _0x570035['PivotView']();_0x1a20cd[_0x38ff2a(0x164)](_0x22874d);const _0x4e462b={'cellInfo':_0x546be9,'view':_0x1a20cd,'isEmpty':_0x2b4c25};if(!await _0x3f7e40[_0x38ff2a(0x180)](_0x1f13ed['SheetsPivotTableService'])[_0x38ff2a(0x3ac)][_0x38ff2a(0x3c5)](_0x2f9d04)(!0x0,_0x4e462b))return!0x1;const _0x5cbfa0=_0x2942f2(_0x3f7e40,_0x1a20cd,_0x546be9,_0x2b4c25),_0x292126=_0x4a51e6(_0x3f7e40,_0x4e462b),{undos:_0x64bc1f,redos:_0x1d67a6}=_0x18ed64(_0x5b5df6,{'pivotTableId':_0x43220b,'unitId':_0x3b8910,'subUnitId':_0x3b6e89},_0x1f1d99);return _0x4417df[_0x38ff2a(0x14c)]([..._0x5cbfa0[_0x38ff2a(0x134)],..._0x292126[_0x38ff2a(0x134)],..._0x15de9d,..._0x64bc1f],_0x5b5df6),_0x3093c0[_0x38ff2a(0x40a)]({'unitID':_0x3b8910,'redoMutations':[..._0x5cbfa0[_0x38ff2a(0x134)],..._0x292126[_0x38ff2a(0x134)],..._0x15de9d,..._0x64bc1f],'undoMutations':[..._0x5cbfa0['undos'],..._0x292126[_0x38ff2a(0x400)],..._0x54ad18,..._0x1d67a6]}),!0x0;}},_0x2f574d={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x3b5),async 'handler'(_0x4c8354,_0x3a5c56){const _0x4b8885=_0x31d072;if(!_0x3a5c56)return!0x1;const _0x8369dc=_0x4c8354[_0x4b8885(0x180)](_0x4417df[_0x4b8885(0x1f3)]),_0x52c46c=_0x4c8354[_0x4b8885(0x180)](_0x1f13ed[_0x4b8885(0x376)]),_0x478ae3=_0x4c8354[_0x4b8885(0x180)](_0x4417df[_0x4b8885(0x40f)]),_0x47841d=_0x4c8354['get'](_0x4417df[_0x4b8885(0x193)]),{pivotTableId:_0x1f2858,position:_0x5ef39b,index:_0x7e6005}=_0x3a5c56,_0x443d3b=_0x3bcacb[_0x4b8885(0x1d7)](_0x478ae3);if(!_0x443d3b)return!0x1;const {unitId:_0xca2ea2,subUnitId:_0x5ab377}=_0x443d3b,_0x5ad9bb=(await _0x52c46c[_0x4b8885(0x22a)]({'unitId':_0xca2ea2,'subUnitId':_0x5ab377,'pivotTableId':_0x1f2858,'params':{'type':_0x1ffaf9[_0x4b8885(0x375)],'updateValuePosition':{'position':_0x5ef39b,'index':_0x7e6005}}}))['result'][_0x4b8885(0x2dc)];if(!_0x5ad9bb)return!0x1;const {changesets:_0x2d78bf,view:_0x187b0b,isEmpty:_0x12192a,pivotTableConfig:_0x526b9c}=_0x5ad9bb,_0x5c90c1=_0x526b9c['targetCellInfo'],_0x24c372=new _0x570035['PivotView']();_0x24c372['formJSON'](_0x187b0b);const _0x8300f3=_0x4c8354[_0x4b8885(0x180)](_0x1f13ed[_0x4b8885(0x1ef)]),_0x475dbf={'cellInfo':_0x5c90c1,'view':_0x24c372,'isEmpty':_0x12192a};if(!await _0x8300f3[_0x4b8885(0x3ac)][_0x4b8885(0x3c5)](_0x2f9d04)(!0x0,_0x475dbf))return!0x1;const _0x439336=_0x2942f2(_0x4c8354,_0x24c372,_0x5c90c1,_0x12192a),_0x5a9b49=_0x4a51e6(_0x4c8354,_0x475dbf),{undos:_0x522e09,redos:_0x362380}=_0x18ed64(_0x8369dc,{'pivotTableId':_0x1f2858,'unitId':_0xca2ea2,'subUnitId':_0x5ab377},_0x2d78bf);return _0x4417df[_0x4b8885(0x14c)]([..._0x439336[_0x4b8885(0x134)],..._0x5a9b49['redos'],..._0x362380],_0x8369dc),_0x47841d[_0x4b8885(0x40a)]({'unitID':_0xca2ea2,'redoMutations':[..._0x439336[_0x4b8885(0x134)],..._0x5a9b49[_0x4b8885(0x134)],..._0x362380],'undoMutations':[..._0x439336[_0x4b8885(0x400)],..._0x5a9b49[_0x4b8885(0x400)],..._0x522e09]}),!0x0;}},_0x3d7a56={'type':_0x4417df['CommandType'][_0x31d072(0x3fb)],'id':'sheet.command.move-pivot-table','handler':(_0x567cdb,_0xf4415)=>{const _0x52a589=_0x31d072,_0x53e4f8=_0x567cdb['get'](_0x4417df[_0x52a589(0x1f3)]),_0x1a9e54=_0x567cdb[_0x52a589(0x180)](_0x4417df[_0x52a589(0x193)]),_0x529fee=_0x567cdb[_0x52a589(0x180)](_0x1f13ed['SheetsPivotTableConfigModel']),_0x52d66d=_0x567cdb[_0x52a589(0x180)](_0x4417df[_0x52a589(0x40f)]);if(!_0xf4415)return!0x1;const _0xe53f3c=_0x3bcacb[_0x52a589(0x1d7)](_0x52d66d);if(!_0xe53f3c)return!0x1;const {unitId:_0x14da40,subUnitId:_0x5efed4,workbook:_0x28c3db}=_0xe53f3c,_0x4d6184=_0x529fee[_0x52a589(0x32d)](_0xf4415[_0x52a589(0x37b)][_0x52a589(0x2f2)],_0xf4415[_0x52a589(0x37b)][_0x52a589(0x2ff)],_0xf4415[_0x52a589(0x309)]);if(!_0x4d6184)return!0x1;const _0x359105=_0x28c3db['getSheetBySheetId'](_0xf4415[_0x52a589(0x143)][_0x52a589(0x2ff)]);if(!_0x359105)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x14240c=_0x359105[_0x52a589(0x2ef)](),_0x3cf2e7=_0x359105[_0x52a589(0x163)]();if(_0xf4415[_0x52a589(0x143)][_0x52a589(0x210)]>_0x14240c||_0xf4415['targetCellInfo'][_0x52a589(0x424)]>_0x3cf2e7)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x434ee5=[{'id':_0x7ea6d5['id'],'params':{'unitId':_0x14da40,'subUnitId':_0xf4415[_0x52a589(0x143)]['subUnitId'],'pivotTableId':_0xf4415[_0x52a589(0x309)],'targetCellPosition':{'row':_0xf4415[_0x52a589(0x143)][_0x52a589(0x210)],'col':_0xf4415[_0x52a589(0x143)][_0x52a589(0x424)]}}}],_0xd715c7=[{'id':_0x7ea6d5['id'],'params':{'unitId':_0x14da40,'subUnitId':_0x5efed4,'pivotTableId':_0xf4415[_0x52a589(0x309)],'targetCellPosition':{'row':_0x4d6184[_0x52a589(0x143)][_0x52a589(0x210)],'col':_0x4d6184[_0x52a589(0x143)]['col']}}}];return _0x4417df['sequenceExecute'](_0x434ee5,_0x53e4f8)&&_0x1a9e54[_0x52a589(0x40a)]({'unitID':_0x14da40,'undoMutations':_0xd715c7,'redoMutations':_0x434ee5}),!0x0;}},_0x3f2b90={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x2a5),async 'handler'(_0x24c7fd,_0x19fc06){const _0x15be11=_0x31d072;if(!_0x19fc06)return!0x1;const _0x2e8993=_0x24c7fd['get'](_0x4417df[_0x15be11(0x1f3)]),{pivotTableId:_0x3b86a6,fieldId:_0x14531e,valueFilterInfo:_0x203f21,unitId:_0x1e4d44,subUnitId:_0x48565f}=_0x19fc06,_0x43cea5=_0x24c7fd[_0x15be11(0x180)](_0x1f13ed[_0x15be11(0x376)]),_0x3ad5bf=_0x24c7fd[_0x15be11(0x180)](_0x4417df[_0x15be11(0x193)]),_0x420315=(await _0x43cea5[_0x15be11(0x22a)]({'unitId':_0x1e4d44,'subUnitId':_0x48565f,'pivotTableId':_0x3b86a6,'params':{'type':_0x1ffaf9[_0x15be11(0x248)],'setValuePivotFilter':{'tableFieldId':_0x14531e,'filterInfo':_0x203f21}}}))['result'][_0x15be11(0x26e)];if(!_0x420315)return!0x1;const {changesets:_0xf367d2,pivotTableConfig:_0x5673e8,isEmpty:_0x323955,view:_0x421610}=_0x420315,_0x1fecfb=_0x5673e8[_0x15be11(0x143)],_0x28b8bc=new _0x570035[(_0x15be11(0x1ab))]();_0x28b8bc[_0x15be11(0x164)](_0x421610);const _0x5286b9={'cellInfo':_0x1fecfb,'view':_0x28b8bc,'isEmpty':_0x323955};if(!await _0x24c7fd[_0x15be11(0x180)](_0x1f13ed[_0x15be11(0x1ef)])[_0x15be11(0x3ac)]['fetchThroughAsyncInterceptors'](_0x2f9d04)(!0x0,_0x5286b9))return!0x1;const _0x5d6bdc=_0x2942f2(_0x24c7fd,_0x28b8bc,_0x1fecfb,_0x323955),_0x4a134c=_0x4a51e6(_0x24c7fd,_0x5286b9),{undos:_0x3f72f9,redos:_0x25d5ed}=_0x18ed64(_0x2e8993,{'pivotTableId':_0x3b86a6,'unitId':_0x1e4d44,'subUnitId':_0x48565f},_0xf367d2);return _0x4417df[_0x15be11(0x14c)]([..._0x5d6bdc[_0x15be11(0x134)],..._0x4a134c[_0x15be11(0x134)],..._0x25d5ed],_0x2e8993),_0x3ad5bf[_0x15be11(0x40a)]({'unitID':_0x1e4d44,'redoMutations':[..._0x5d6bdc['redos'],..._0x4a134c[_0x15be11(0x134)],..._0x25d5ed],'undoMutations':[..._0x5d6bdc[_0x15be11(0x400)],..._0x4a134c[_0x15be11(0x400)],..._0x3f72f9]}),!0x0;}},_0x43423d={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':_0x31d072(0x3e5),async 'handler'(_0x36a539,_0x42c7e2){const _0xe44bbf=_0x31d072;if(!_0x42c7e2)return!0x1;const _0x5a40f1=_0x36a539[_0xe44bbf(0x180)](_0x4417df[_0xe44bbf(0x1f3)]),_0x3d7878=_0x36a539['get'](_0x4417df[_0xe44bbf(0x193)]),_0x3c9c92=_0x36a539[_0xe44bbf(0x180)](_0x1f13ed[_0xe44bbf(0x376)]),{pivotTableConfig:_0x23f16a,pivotTableId:_0x460704,unitId:_0x4b2e58,subUnitId:_0x3d7dcb}=_0x42c7e2,_0x3264b9=(await _0x3c9c92[_0xe44bbf(0x22a)]({'unitId':_0x4b2e58,'subUnitId':_0x3d7dcb,'pivotTableId':_0x460704,'params':{'type':_0x1ffaf9[_0xe44bbf(0x1b3)],'setPivotTableConfig':{'pivotTableId':_0x460704,'pivotTableConfig':_0x23f16a}}}))[_0xe44bbf(0x305)]['setPivotTableConfig'];if(!_0x3264b9)return!0x1;const {changesets:_0x2bbea8}=_0x3264b9,{redos:_0x23ddd0,undos:_0xb3b463}=_0x18ed64(_0x5a40f1,{'pivotTableId':_0x460704,'unitId':_0x4b2e58,'subUnitId':_0x3d7dcb},_0x2bbea8);return _0x4417df[_0xe44bbf(0x14c)](_0x23ddd0,_0x5a40f1),_0x3d7878[_0xe44bbf(0x40a)]({'unitID':_0x4b2e58,'redoMutations':_0x23ddd0,'undoMutations':_0xb3b463}),!0x0;}},_0x2a605c={'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x2a4367,_0x333068){const _0x437355=_0x31d072;if(!_0x333068)return!0x1;const _0x3db99e=_0x2a4367[_0x437355(0x180)](_0x4417df['ICommandService']),_0x30d6e2=_0x2a4367[_0x437355(0x180)](_0x4417df[_0x437355(0x193)]),_0x4acaec=_0x2a4367[_0x437355(0x180)](_0x1f13ed[_0x437355(0x376)]),{resetArea:_0x26b0a7,pivotTableId:_0x292727,unitId:_0x2e4494,subUnitId:_0x1f4495}=_0x333068,_0x34019b=(await _0x4acaec[_0x437355(0x22a)]({'unitId':_0x2e4494,'subUnitId':_0x1f4495,'pivotTableId':_0x292727,'params':{'type':_0x1ffaf9['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x292727,'resetArea':_0x26b0a7}}}))[_0x437355(0x305)]['resetPivotTable'];if(!_0x34019b)return!0x1;const {changesets:_0x288232}=_0x34019b,{redos:_0x2f4724,undos:_0x230449}=_0x18ed64(_0x3db99e,{'pivotTableId':_0x292727,'unitId':_0x2e4494,'subUnitId':_0x1f4495},_0x288232);return _0x4417df[_0x437355(0x14c)](_0x2f4724,_0x3db99e),_0x30d6e2[_0x437355(0x40a)]({'unitID':_0x2e4494,'redoMutations':_0x2f4724,'undoMutations':_0x230449}),!0x0;}},_0x5ed14b={'id':_0x31d072(0x3b2),'type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x2c7)],'handler':(_0x2e84f6,_0x4ecd93)=>{const _0x4eb154=_0x31d072;if(!_0x4ecd93)return!0x1;if(!!_0x2e84f6[_0x4eb154(0x180)](_0x4417df['IConfigService'])[_0x4eb154(0x279)](_0xe54c00))return!0x0;const {unitId:_0x30dae7,subUnitId:_0x21ea60,pivotTableId:_0x337f28,tableFieldId:_0x1ccf2e,dateType:_0x279467}=_0x4ecd93,_0x377571=_0x2e84f6[_0x4eb154(0x180)](_0x1f13ed['SheetsPivotDataSourceModel']),_0x26c698=_0x377571['getPivotTableInstance'](_0x337f28);if(!_0x26c698)return!0x1;const _0x392907=_0x26c698[_0x4eb154(0x285)](_0x1ccf2e);if(!_0x392907)return!0x1;const _0x4512b6=_0x392907[_0x4eb154(0x298)](),_0x4ae54b=_0x26c698[_0x4eb154(0x1ea)](_0x4512b6),_0x592aba=(_0x4ae54b==null?void 0x0:_0x4ae54b[_0x4eb154(0x130)]())+'\x20'+_0x30149e(_0x2e84f6,_0x279467);_0x377571['getCollection'](_0x30dae7,_0x337f28)['setDisplayName'](_0x392907['id'],_0x592aba);const _0x9a549c=_0x26c698[_0x4eb154(0x239)](_0x1ccf2e);if(!_0x9a549c)return!0x1;_0x26c698[_0x4eb154(0x3c1)](_0x9a549c['getId'](),_0x592aba),_0x392907[_0x4eb154(0x257)](_0x279467);const _0x4e3062=_0x377571[_0x4eb154(0x32d)](_0x30dae7,_0x21ea60,_0x337f28);return _0x377571[_0x4eb154(0x23d)]({'unitId':_0x30dae7,'subUnitId':_0x21ea60,'token':_0x337f28,'type':_0x1cfd99[_0x4eb154(0x3bf)],'pivotConfig':_0x4e3062}),!0x0;}},_0x8076b9={'id':'sheet.command.update-date-group','type':_0x4417df[_0x31d072(0x3d7)][_0x31d072(0x3fb)],'handler':(_0x10e90c,_0x28b4f3)=>{const _0x1bbf45=_0x31d072;if(!_0x28b4f3)return!0x1;const _0x10a513=_0x10e90c['get'](_0x4417df[_0x1bbf45(0x193)]),{unitId:_0xa85ad2,subUnitId:_0x4409d9,pivotTableId:_0x1983ec,tableFieldId:_0x433864}=_0x28b4f3,_0x4e60e5=[],_0x2c35df=[],_0xa09c40=_0x10e90c[_0x1bbf45(0x180)](_0x1f13ed[_0x1bbf45(0x232)]),_0x40e7c4=_0xa09c40[_0x1bbf45(0x203)](_0xa85ad2,_0x1983ec),_0x5e692b=_0xa09c40[_0x1bbf45(0x32d)](_0xa85ad2,_0x4409d9,_0x1983ec);if(!(_0x5e692b!=null&&_0x5e692b[_0x1bbf45(0x1dc)][_0x1bbf45(0x176)]))return!0x1;const _0x58cc84=Object[_0x1bbf45(0x382)](_0x5e692b['fieldsConfig'][_0x1bbf45(0x176)])[_0x1bbf45(0x388)](_0x3d6930=>_0x3d6930['id']===_0x433864);if(!_0x58cc84)return!0x1;const _0x49059a=_0x58cc84['dataFieldId'];if(!(_0x40e7c4!=null&&_0x40e7c4[_0x1bbf45(0x25d)]))return!0x1;const _0x137a87=Object[_0x1bbf45(0x382)](_0x40e7c4==null?void 0x0:_0x40e7c4[_0x1bbf45(0x25d)])[_0x1bbf45(0x388)](_0x445d58=>_0x445d58['id']===_0x49059a);if(!_0x137a87)return!0x1;_0x570035['isDateGroupFieldJSON'](_0x137a87)&&_0x4e60e5['push']({'id':_0x5ed14b['id'],'params':{..._0x28b4f3,'dateType':_0x137a87[_0x1bbf45(0x31d)]}}),_0x2c35df['push']({'id':_0x5ed14b['id'],'params':{..._0x28b4f3}});const _0x5ee2a6=_0x10e90c[_0x1bbf45(0x180)](_0x4417df[_0x1bbf45(0x1f3)]);return _0x4417df[_0x1bbf45(0x14c)](_0x2c35df,_0x5ee2a6)&&_0x10a513[_0x1bbf45(0x40a)]({'unitID':_0xa85ad2,'undoMutations':_0x4e60e5,'redoMutations':_0x2c35df}),!0x0;}};var _0x335841=Object['getOwnPropertyDescriptor'],_0x5caa1b=(_0x5417ed,_0x1c66c9,_0x9c2d8a,_0x579bb8)=>{for(var _0x4f1526=_0x579bb8>0x1?void 0x0:_0x579bb8?_0x335841(_0x1c66c9,_0x9c2d8a):_0x1c66c9,_0x5d7680=_0x5417ed['length']-0x1,_0x31e160;_0x5d7680>=0x0;_0x5d7680--)(_0x31e160=_0x5417ed[_0x5d7680])&&(_0x4f1526=_0x31e160(_0x4f1526)||_0x4f1526);return _0x4f1526;},_0xf13c81=(_0x4a5f4a,_0x2aa06b)=>(_0x440004,_0x232315)=>_0x2aa06b(_0x440004,_0x232315,_0x4a5f4a);const _0x30a5b8=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x13cfe4=(_0x5e1208,_0x127a65,_0x3d6156)=>{const _0x351cc1=_0x31d072,_0x386fc2=_0x5e1208[_0x351cc1(0x256)];_0x5e1208[_0x351cc1(0x214)](_0x2502ab=>{const _0xe75354=_0x351cc1,_0x23bac1=_0x2502ab['getId'](),_0x58a906=_0x2502ab['getDataFieldId'](),_0x53acc8=_0x2502ab['getSourceName'](),_0x34ad4c=_0x2502ab[_0xe75354(0x287)]();_0x127a65[_0x58a906]&&_0x127a65[_0x58a906]===_0x34ad4c&&_0x53acc8===_0x34ad4c&&(_0x5e1208['renameField'](_0x23bac1,_0x386fc2[_0xe75354(0x287)](_0x58a906)),_0x2502ab[_0xe75354(0x159)](_0x386fc2['getDisplayName'](_0x58a906)));}),_0x5e1208[_0x351cc1(0x30d)](_0x570035['PivotTableFiledAreaEnum'][_0x351cc1(0x419)],_0x1b6ee9=>{const _0x4e9779=_0x351cc1,_0x144d47=_0x1b6ee9[_0x4e9779(0x295)](),_0x1d30de=_0x1b6ee9[_0x4e9779(0x1e6)](),_0x17628e=_0x1b6ee9[_0x4e9779(0x218)](),_0x19b37d=_0x1b6ee9[_0x4e9779(0x287)](),_0x5707d6=_0x1b6ee9['getSubtotal'](),_0x54009b=_0x3d6156(_0x17628e,_0x5707d6);_0x127a65[_0x1d30de]&&_0x127a65[_0x1d30de]===_0x17628e&&_0x54009b===_0x19b37d&&(_0x5e1208[_0x4e9779(0x3c1)](_0x144d47,_0x3d6156(_0x386fc2['getDisplayName'](_0x1d30de),_0x5707d6)),_0x1b6ee9['setSourceName'](_0x386fc2[_0x4e9779(0x287)](_0x1d30de)));});},_0xc8d6d3=(_0x3dcc2b,_0x5848ac,_0x2da682)=>{const _0x5cded3=_0x31d072;var _0x518cf8,_0x243f51;const {arrayFormulaCellData:_0x104f7b,unitData:_0x130964}=_0x5848ac,{unitId:_0x5ba83b,subUnitId:_0x5d4b5d}=_0x2da682,_0x3c6a78=_0x2da682[_0x5cded3(0x2c1)],{startColumn:_0x5a3cba,endColumn:_0x355b55}=_0x3c6a78,_0x4feb12=(_0x518cf8=_0x104f7b==null?void 0x0:_0x104f7b[_0x5ba83b])==null?void 0x0:_0x518cf8[_0x5d4b5d],_0x1426a9=(_0x243f51=_0x130964==null?void 0x0:_0x130964[_0x5ba83b])==null?void 0x0:_0x243f51[_0x5d4b5d],_0x310b5a=new Set(),_0x25c101=_0x355b55-_0x5a3cba+0x1,{dirtyRanges:_0x2313ae}=_0x3dcc2b;if(_0x2313ae)for(const {range:_0x19288a,sheetId:_0x55f55b,unitId:_0x3d3c39}of _0x2313ae){if(_0x55f55b!==_0x5d4b5d||_0x5ba83b!==_0x3d3c39)continue;const _0x389a75=_0x4417df[_0x5cded3(0x316)]['getIntersects'](_0x19288a,_0x3c6a78);if(_0x389a75){const {startColumn:_0x2460f0,endColumn:_0x1fd2b6}=_0x389a75;for(let _0x3696c6=_0x2460f0;_0x3696c6<=_0x1fd2b6;_0x3696c6++)_0x310b5a[_0x5cded3(0x38f)](_0x3696c6);}}if(_0x310b5a[_0x5cded3(0x198)]===_0x25c101||_0x310b5a[_0x5cded3(0x198)]===_0x25c101)return Array[_0x5cded3(0x1af)](_0x310b5a);if(_0x1426a9){const _0x171c5d=_0x1426a9[_0x5cded3(0x15f)](),_0x21eace=Object[_0x5cded3(0x196)](_0x171c5d);for(const _0x2f826e of _0x21eace){const _0x704762=Number(_0x2f826e),_0x323360=_0x171c5d[_0x704762];if(_0x310b5a[_0x5cded3(0x198)]===_0x25c101)break;for(const _0x53bff1 in _0x323360){const _0x547ece=Number(_0x53bff1);_0x547ece<_0x5a3cba||_0x547ece>_0x355b55||_0x310b5a[_0x5cded3(0x38f)](_0x547ece);}}}if(_0x4feb12){const _0x4dd0e5=_0x4feb12[_0x5cded3(0x15f)](),_0x3e2dc7=Object[_0x5cded3(0x196)](_0x4dd0e5);for(const _0x356f32 of _0x3e2dc7){const _0x2cf25d=Number(_0x356f32),_0x5a352e=_0x4dd0e5[_0x2cf25d];if(_0x310b5a['size']===_0x25c101)break;for(const _0x104e9e in _0x5a352e){const _0x181197=Number(_0x104e9e);_0x181197<_0x5a3cba||_0x181197>_0x355b55||_0x310b5a[_0x5cded3(0x38f)](_0x181197);}}}return Array[_0x5cded3(0x1af)](_0x310b5a);},_0x40d94a=_0x4344f2=>{const _0x436e94=_0x31d072,_0x96f9ad=new Set(),_0x263c1e=[];for(const _0x126d03 of _0x4344f2){const _0x55771a=_0x126d03['startRow']+','+_0x126d03['endRow']+','+_0x126d03['startColumn']+','+_0x126d03['endColumn'];_0x96f9ad[_0x436e94(0x293)](_0x55771a)||(_0x96f9ad['add'](_0x55771a),_0x263c1e[_0x436e94(0x294)](_0x126d03));}return _0x263c1e;};let _0x1e7682=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x3fd73a,_0x34df81,_0x49937a,_0x2aaa96,_0x35e61,_0x589900){const _0x64433d=_0x31d072;super(),_0x36561d(this,_0x64433d(0x2cd),new _0x1dc88d[(_0x64433d(0x342))](!0x0)),_0x36561d(this,_0x64433d(0x1b2),_0x5c9780=>{const _0x4f1e30=_0x64433d;this[_0x4f1e30(0x2cd)][_0x4f1e30(0x28a)](!0x1);}),_0x36561d(this,_0x64433d(0x27c),_0x110989=>{const _0x2edcb4=_0x64433d;this['_globalSubject'][_0x2edcb4(0x28a)](!0x0);}),(this[_0x64433d(0x3a3)]=_0x3fd73a,this[_0x64433d(0x2d5)]=_0x34df81,this[_0x64433d(0x22b)]=_0x49937a,this[_0x64433d(0x313)]=_0x2aaa96,this[_0x64433d(0x1cb)]=_0x35e61,this[_0x64433d(0x343)]=_0x589900,this[_0x64433d(0x30c)](),this[_0x64433d(0x1cc)]());}['_init'](){const _0x41ccc0=_0x31d072;this['_subjectCollectionChange'](),this[_0x41ccc0(0x398)](),this[_0x41ccc0(0x3ec)](),this[_0x41ccc0(0x3e6)]();}[_0x31d072(0x33c)](){const _0xfc88df=_0x31d072;this[_0xfc88df(0x1cb)][_0xfc88df(0x3b3)](this['_globalSubject']),_0x570035[_0xfc88df(0x254)][_0xfc88df(0x28e)](_0x570035['PivotCallbackEnum']['onQueryStart'],this[_0xfc88df(0x1b2)]),_0x570035[_0xfc88df(0x254)][_0xfc88df(0x28e)](_0x570035[_0xfc88df(0x41c)][_0xfc88df(0x360)],this[_0xfc88df(0x27c)]);}[_0x31d072(0x1cc)](){const _0x259ee7=_0x31d072;this['disposeWithMe'](this[_0x259ee7(0x313)][_0x259ee7(0x14b)](_0x57a156=>{const _0xba8f2f=_0x259ee7;_0x57a156['id']===_0x3bcacb['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0xba8f2f(0x14a)](_0x57a156[_0xba8f2f(0x421)]);})),this['disposeWithMe'](this['_commandService'][_0x259ee7(0x14b)](_0x314b77=>{const _0x3a4218=_0x259ee7;if(_0x314b77['id']!==_0x31ec6f['id'])return;const _0x51f22e=_0x314b77[_0x3a4218(0x421)],{unitId:_0x4b45ff,subUnitId:_0x8ed767,pivotTableId:_0x3d49eb}=_0x51f22e,_0x23f42a=_0x51f22e['params'][_0x3a4218(0x11f)],_0x44f8ed={};switch(_0x23f42a){case _0x1ffaf9[_0x3a4218(0x136)]:{const _0x32abb8=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x12e)];if(!_0x32abb8)return;const {row:_0x5881ba,col:_0x158ca2,cellData:_0x3b3043,pivotItemRenderInfoCache:_0x188dc0,tableFieldId:_0x1ebb92}=_0x32abb8,_0x4fdafb=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x51f22e[_0x3a4218(0x309)]);if(!_0x4fdafb||!_0x188dc0)return;if(_0x1ebb92){const _0x3f8d85=_0x4fdafb[_0x3a4218(0x285)](_0x1ebb92);if(!_0x3f8d85)return;_0x44f8ed[_0x3a4218(0x12e)]={..._0x4fdafb[_0x3a4218(0x208)](_0x3f8d85),'tableFieldId':_0x1ebb92,'pivotTableId':_0x51f22e[_0x3a4218(0x309)],'filterInfo':_0x4fdafb[_0x3a4218(0x2f0)](_0x1ebb92),'sortInfo':_0x4fdafb[_0x3a4218(0x1ce)](_0x1ebb92),'format':_0x4fdafb['getFieldFormat'](_0x1ebb92)};}else{const _0x444fec=_0xf4a99b(_0x5881ba,_0x158ca2,_0x3b3043,_0x4fdafb,_0x188dc0),_0x497306=_0x444fec==null?void 0x0:_0x444fec[_0x3a4218(0x3a6)];if(!_0x497306)return;const _0x2956e0=_0x4fdafb[_0x3a4218(0x285)](_0x497306);if(!_0x2956e0)return;_0x44f8ed[_0x3a4218(0x12e)]={..._0x4fdafb['getDataFieldItemInfo'](_0x2956e0),'tableFieldId':_0x497306,'pivotTableId':_0x51f22e[_0x3a4218(0x309)],'filterInfo':_0x4fdafb[_0x3a4218(0x2f0)](_0x497306),'sortInfo':_0x4fdafb['getSortInfo'](_0x497306),'format':_0x4fdafb[_0x3a4218(0x3c8)](_0x497306)};}}break;case _0x1ffaf9['Panel']:{const _0x21f72d=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x1c6)];if(!_0x21f72d)return;const {pivotTableId:_0x3e6860}=_0x21f72d,_0x3113b5=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3e6860);if(!_0x3113b5)return;const _0x411912=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3e6860),_0x5d2fe3=_0xb635cd(_0x3113b5,_0x3e6860,_0x411912);_0x44f8ed[_0x3a4218(0x1c6)]=_0x5d2fe3;}break;case _0x1ffaf9[_0x3a4218(0x359)]:{const _0x471c6f=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x142)](_0x3d49eb),_0xb47930=this[_0x3a4218(0x3a3)][_0x3a4218(0x35e)](_0x4b45ff),_0x3cda88=_0xb47930['getCollection'](_0x3d49eb);let _0x3af0cc=null;const _0xb4368=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x4b45ff,_0x8ed767,_0x3d49eb),_0x19b1a1=_0x51f22e['params'][_0x3a4218(0x263)];if(!_0x471c6f||!_0xb4368||!_0x19b1a1)return!0x1;const {dataFieldId:_0x547c3d,fieldArea:_0x5118e5,index:_0x4360db}=_0x19b1a1;_0x471c6f['startCollectChangeset']();const _0x2ad4bd=_0x471c6f[_0x3a4218(0x2b6)](_0x547c3d,_0x5118e5,_0x4360db);if(_0x2ad4bd&&_0x5118e5===_0x570035[_0x3a4218(0x168)][_0x3a4218(0x419)]){const _0x591ff3=_0x2ad4bd[_0x3a4218(0x295)](),_0x3c7984=_0x471c6f['getDataFieldByTableId'](_0x591ff3);if(_0x3c7984){const _0x2aa237=_0x3c7984==null?void 0x0:_0x3c7984['getFieldDataType']();_0x471c6f['setSubtotalType'](_0x2ad4bd['getId'](),_0x2aa237===_0x570035[_0x3a4218(0x12b)]['number']?_0x570035['PivotSubtotalTypeEnum']['sum']:_0x570035['PivotSubtotalTypeEnum'][_0x3a4218(0x151)]);}const _0x4c22d7=_0x471c6f['getValueIndex'](),_0x1d2a1c=_0x471c6f[_0x3a4218(0x16c)](),_0x4c1560=_0x471c6f[_0x3a4218(0x1ff)](_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x419)]);if(_0x4c22d7===-0x1&&_0x4c1560>0x1){const _0x174922=_0x1d2a1c===_0x570035[_0x3a4218(0x42e)][_0x3a4218(0x3be)]?_0x570035[_0x3a4218(0x42e)]['Column']:_0x1d2a1c,_0x3a12d8=_0x174922===_0x570035[_0x3a4218(0x42e)][_0x3a4218(0x433)]?_0x570035[_0x3a4218(0x168)]['Row']:_0x570035[_0x3a4218(0x168)][_0x3a4218(0x355)];_0x471c6f['updateValuePosition'](_0x174922,_0x471c6f[_0x3a4218(0x1ff)](_0x3a12d8));}}else{if(_0x2ad4bd&&(_0x5118e5===_0x570035[_0x3a4218(0x168)][_0x3a4218(0x433)]||_0x5118e5===_0x570035[_0x3a4218(0x168)][_0x3a4218(0x355)])){const _0x37278b=_0x2ad4bd[_0x3a4218(0x295)](),_0x530eef=_0x471c6f[_0x3a4218(0x285)](_0x37278b);if(_0x530eef&&(_0x530eef==null?void 0x0:_0x530eef[_0x3a4218(0x37e)]())===_0x570035[_0x3a4218(0x12b)]['date']){const _0x903f9f=_0x530eef['getformat']();if(_0x903f9f&&_0x471c6f[_0x3a4218(0x126)](_0x2ad4bd[_0x3a4218(0x295)](),_0x903f9f),!_0x3cda88[_0x3a4218(0x3e9)]()[_0x3a4218(0x1a6)](_0x178665=>{const _0x681fea=_0x3a4218,_0x157766=_0x3cda88['getFieldById'](_0x178665);return _0x570035[_0x681fea(0x25c)](_0x157766)?_0x157766[_0x681fea(0x197)]()[_0x681fea(0x274)]===_0x547c3d:!0x1;})){const _0xe80d6e=_0xb47930[_0x3a4218(0x1b4)](),_0x3e6909=_0x1b11f7(_0x530eef['maxDate'],_0x530eef[_0x3a4218(0x15e)]),_0x52747a=_0x530eef[_0x3a4218(0x130)]()+_0x3a4218(0x228)+_0x30149e(this[_0x3a4218(0x343)],_0x3e6909),_0xf567=new _0x570035['DateGroupField'](_0xe80d6e,_0x52747a,_0x570035[_0x3a4218(0x202)](0x3),_0x530eef[_0x3a4218(0x295)](),_0x3e6909);_0xb47930['addDataFieldWithoutUnitInfo'](_0xf567),_0x3cda88[_0x3a4218(0x302)](_0xe80d6e,_0x52747a),_0x471c6f['addFieldWithSourceId'](_0xe80d6e,_0x5118e5,(_0x4360db!=null?_0x4360db:0x0)+0x1),_0x3af0cc=_0xf567;}}}}const _0x10f04e=_0x471c6f[_0x3a4218(0x1f1)](),_0x2b4fc1=_0x471c6f[_0x3a4218(0x18f)]()['toJSON']();let _0x1fe945;if(_0x3af0cc){_0x1fe945=_0x3af0cc[_0x3a4218(0x330)]();const _0x10671c=_0x3af0cc[_0x3a4218(0x295)]();_0x3cda88[_0x3a4218(0x31b)](_0x10671c);let _0x5d5bff=!0x0;for(const _0x2d4ddf in _0xb47930[_0x3a4218(0x27e)])if(_0xb47930[_0x3a4218(0x27e)][_0x2d4ddf][_0x3a4218(0x3e9)]()[_0x3a4218(0x137)](_0x10671c)){_0x5d5bff=!0x1;break;}_0x5d5bff&&_0xb47930[_0x3a4218(0x347)](_0x10671c);}const _0x32915c=_0x471c6f[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x263)]={'view':_0x2b4fc1,'changesets':_0x32915c,'isEmpty':_0x10f04e,'pivotTableConfig':_0xb4368,'shouldBeAddedGroupJSON':_0x1fe945};}break;case _0x1ffaf9[_0x3a4218(0x29d)]:{const _0x28533a=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x139)];if(!_0x28533a)return;const _0x26f487=_0x28533a[_0x3a4218(0x21b)],_0x263f27=_0x28533a[_0x3a4218(0x309)],{collection:_0x207ef9}=this[_0x3a4218(0x3a3)][_0x3a4218(0x3c4)]({'unitId':_0x26f487[_0x3a4218(0x2f2)],'sheetName':_0x26f487['sheetName'],'subUnitId':_0x26f487[_0x3a4218(0x2ff)],'range':_0x26f487[_0x3a4218(0x2c1)]}),_0x159620=new _0x570035['PivotTable'](_0x207ef9,void 0x0,_0x263f27),_0x36e866=_0x159620[_0x3a4218(0x18f)](),_0x80104e=_0x159620[_0x3a4218(0x330)](),_0x463aa6=_0x207ef9[_0x3a4218(0x330)]();_0x44f8ed[_0x3a4218(0x139)]={'view':_0x36e866,'fieldsConfig':_0x80104e,'collectionConfig':_0x463aa6,'isEmpty':_0x159620[_0x3a4218(0x1f1)]()};}break;case _0x1ffaf9[_0x3a4218(0x3f3)]:{const _0x263412=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x2fb)];if(!_0x263412)return;const {fieldId:_0x26ad07,area:_0x3a5bf5,index:_0x3bc48b}=_0x263412,_0x3b2d08=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x3b2d08)return;const _0x55ea46=this[_0x3a4218(0x3a3)]['getPivotTableInstance'](_0x3d49eb);if(!_0x55ea46)return;_0x55ea46['startCollectChangeset']();const {area:_0x57a3b5,index:_0x4bb4bd}=_0x55ea46[_0x3a4218(0x3f0)](_0x26ad07);if(_0x55ea46[_0x3a4218(0x3cd)](_0x26ad07,_0x3a5bf5,_0x3bc48b),_0x3a5bf5===_0x570035['PivotTableFiledAreaEnum']['Value']&&_0x55ea46[_0x3a4218(0x239)](_0x26ad07)[_0x3a4218(0x265)]()===void 0x0){const _0x4bfcc2=_0x55ea46['getTableFieldById'](_0x26ad07);if(_0x4bfcc2&&_0x4bfcc2[_0x3a4218(0x265)]()===void 0x0){const _0x2a1bc5=_0x55ea46[_0x3a4218(0x285)](_0x26ad07);if(_0x2a1bc5){const _0x88a4b3=_0x2a1bc5==null?void 0x0:_0x2a1bc5[_0x3a4218(0x37e)]();_0x55ea46[_0x3a4218(0x1ac)](_0x26ad07,_0x88a4b3===_0x570035[_0x3a4218(0x12b)]['number']?_0x570035[_0x3a4218(0x3de)][_0x3a4218(0x187)]:_0x570035[_0x3a4218(0x3de)][_0x3a4218(0x151)]);}}}const _0x49bcf2=_0x55ea46['getValuePosition'](),_0x2aea55=_0x55ea46[_0x3a4218(0x1de)](),_0x357210=_0x55ea46[_0x3a4218(0x1ff)](_0x570035[_0x3a4218(0x168)][_0x3a4218(0x419)])>0x1;if(_0x357210&&_0x57a3b5===_0x3a5bf5&&(_0x3a5bf5===_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x433)]&&_0x49bcf2===_0x570035[_0x3a4218(0x42e)]['Row']||_0x3a5bf5===_0x570035[_0x3a4218(0x168)]['Column']&&_0x49bcf2===_0x570035['PivotTableValuePositionEnum']['Column'])){let _0x2b456e=_0x2aea55;_0x4bb4bd<=_0x2aea55&&_0x2b456e--,_0x3bc48b<=_0x2aea55&&_0x2b456e++,_0x55ea46[_0x3a4218(0x2dc)](_0x49bcf2,_0x2b456e);}else _0x357210&&(_0x57a3b5===_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x433)]&&_0x49bcf2===_0x570035[_0x3a4218(0x42e)][_0x3a4218(0x433)]||_0x57a3b5===_0x570035[_0x3a4218(0x168)][_0x3a4218(0x355)]&&_0x49bcf2===_0x570035[_0x3a4218(0x42e)]['Column'])&&_0x2aea55>=_0x4bb4bd&&_0x55ea46[_0x3a4218(0x2dc)](_0x49bcf2,_0x2aea55-0x1),_0x357210&&(_0x3a5bf5===_0x570035[_0x3a4218(0x168)][_0x3a4218(0x433)]&&_0x49bcf2===_0x570035[_0x3a4218(0x42e)][_0x3a4218(0x433)]||_0x3a5bf5===_0x570035['PivotTableFiledAreaEnum']['Column']&&_0x49bcf2===_0x570035[_0x3a4218(0x42e)][_0x3a4218(0x355)])&&_0x2aea55>=_0x3bc48b&&_0x55ea46[_0x3a4218(0x2dc)](_0x49bcf2,_0x2aea55+0x1);const _0x9eb79a=_0x55ea46[_0x3a4218(0x18f)](),_0x26358e=_0x55ea46[_0x3a4218(0x1f1)](),_0x1cacc1=_0x55ea46[_0x3a4218(0x42c)]();_0x44f8ed['movePivotField']={'view':_0x9eb79a[_0x3a4218(0x330)](),'changesets':_0x1cacc1,'isEmpty':_0x26358e,'pivotTableConfig':_0x3b2d08};}break;case _0x1ffaf9['RemovePivotField']:{const _0x471e51=_0x51f22e['params'][_0x3a4218(0x2c8)];if(!_0x471e51)return;const _0x558e02=_0x471e51[_0x3a4218(0x1a0)],_0x501a08=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x501a08)return!0x1;const _0x3d1cf7=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb);if(!_0x3d1cf7)return!0x1;_0x3d1cf7[_0x3a4218(0x3bb)]();for(const _0x3b593d of _0x558e02){const {area:_0x994cc9}=_0x3d1cf7['getFieldPositionInfoById'](_0x3b593d);_0x994cc9===_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x419)]&&_0x3d1cf7[_0x3a4218(0x2aa)](_0x3b593d),(_0x994cc9===_0x570035['PivotTableFiledAreaEnum']['Row']||_0x994cc9===_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x355)])&&_0x3d1cf7['removeValueFilterInfo'](_0x3b593d),_0x3d1cf7['removeField'](_0x3b593d);}const _0x16ca8c=_0x3d1cf7[_0x3a4218(0x1f1)](),_0x560c83=_0x3d1cf7[_0x3a4218(0x18f)]()[_0x3a4218(0x330)](),_0x387b24=_0x3d1cf7[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x2c8)]={'changesets':_0x387b24,'pivotTableConfig':_0x501a08,'isEmpty':_0x16ca8c,'view':_0x560c83};}break;case _0x1ffaf9[_0x3a4218(0x247)]:{const _0xa2e81c=_0x51f22e['params'][_0x3a4218(0x20f)];if(!_0xa2e81c)return;const {tableFieldId:_0x35b6fc,items:_0x5b81f8,isAll:_0x28b7bd}=_0xa2e81c,_0x3e2e9c=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb),_0x58ddfe=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x3e2e9c||!_0x58ddfe)return;_0x3e2e9c[_0x3a4218(0x3bb)](),_0x3e2e9c[_0x3a4218(0x41d)](_0x35b6fc,{'type':_0x570035[_0x3a4218(0x3df)][_0x3a4218(0x2e1)],'list':_0x5b81f8,'isAll':_0x28b7bd});const _0xc1d1b8=_0x3e2e9c[_0x3a4218(0x1f1)](),_0x30ec03=_0x3e2e9c[_0x3a4218(0x18f)]()['toJSON'](),_0x433766=_0x3e2e9c[_0x3a4218(0x42c)]();_0x44f8ed['setPivotFilter']={'view':_0x30ec03,'changesets':_0x433766,'isEmpty':_0xc1d1b8,'pivotTableConfig':_0x58ddfe};}break;case _0x1ffaf9['SetValuePivotFilter']:{const _0x525d58=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x26e)];if(!_0x525d58)return;const {tableFieldId:_0x4b58dd,filterInfo:_0x1cc9dc}=_0x525d58,_0x4a01cf=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb),_0x14cdaf=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x4a01cf||!_0x14cdaf)return;_0x4a01cf['startCollectChangeset'](),_0x4a01cf[_0x3a4218(0x1e5)](_0x4b58dd,_0x1cc9dc);const _0x13f165=_0x4a01cf[_0x3a4218(0x1f1)](),_0x28c26f=_0x4a01cf[_0x3a4218(0x18f)]()['toJSON'](),_0x4bbd7c=_0x4a01cf[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x26e)]={'view':_0x28c26f,'changesets':_0x4bbd7c,'isEmpty':_0x13f165,'pivotTableConfig':_0x14cdaf};}break;case _0x1ffaf9[_0x3a4218(0x153)]:{const _0x4179ac=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x2f1)];if(!_0x4179ac)return;const {tableFieldId:_0x1e6a38,info:_0x7b925b}=_0x4179ac,_0x4ecf4d=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb),_0x13fc6e=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x4ecf4d||!_0x13fc6e)return;_0x4ecf4d[_0x3a4218(0x3bb)](),_0x4ecf4d[_0x3a4218(0x206)](_0x1e6a38,_0x7b925b);const _0x4a41b2=_0x4ecf4d['isEmpty'](),_0x1fec97=_0x4ecf4d['query']()[_0x3a4218(0x330)](),_0x1d32bb=_0x4ecf4d[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x2f1)]={'view':_0x1fec97,'changesets':_0x1d32bb,'isEmpty':_0x4a41b2,'pivotTableConfig':_0x13fc6e};}break;case _0x1ffaf9[_0x3a4218(0x3b9)]:{const _0xf462e2=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x2a2)];if(!_0xf462e2)return;const {tableFieldId:_0x1616b3,displayName:_0x355c87,subtotalType:_0x486d7d,format:_0x1515bb}=_0xf462e2,_0x23bf17=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x142)](_0x3d49eb),_0x3e8d1c=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x23bf17||!_0x3e8d1c)return;_0x23bf17[_0x3a4218(0x3bb)](),_0x355c87!==void 0x0&&_0x23bf17[_0x3a4218(0x3c1)](_0x1616b3,_0x355c87),_0x486d7d!==void 0x0&&_0x23bf17[_0x3a4218(0x1ac)](_0x1616b3,_0x486d7d),_0x1515bb!==void 0x0&&_0x23bf17[_0x3a4218(0x126)](_0x1616b3,_0x1515bb);const _0x4042a1=_0x23bf17[_0x3a4218(0x1f1)](),_0x39f763=_0x23bf17[_0x3a4218(0x18f)]()[_0x3a4218(0x330)](),_0x4c7888=_0x23bf17[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x2a2)]={'changesets':_0x4c7888,'pivotTableConfig':_0x3e8d1c,'isEmpty':_0x4042a1,'view':_0x39f763};}break;case _0x1ffaf9[_0x3a4218(0x1be)]:{const _0x1d1cd5=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x1c5)];if(!_0x1d1cd5)return;const {dataRangeInfo:_0x6c5cf8,unitId:_0x21c2fb,subUnitId:_0x12c539}=_0x1d1cd5,_0xdb0253=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x21c2fb,_0x12c539,_0x3d49eb),_0x3a0833=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb);if(!this[_0x3a4218(0x3a3)][_0x3a4218(0x203)](_0x21c2fb,_0x3d49eb)||!_0x3a0833||!_0xdb0253)return;const _0x41b7e2=this[_0x3a4218(0x3a3)][_0x3a4218(0x326)](_0x21c2fb,_0x3d49eb,_0x6c5cf8),_0x5dcb3c=this[_0x3a4218(0x3a3)][_0x3a4218(0x203)](_0x21c2fb,_0x3d49eb)[_0x3a4218(0x330)](),{collection:_0x3191d6}=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x3c4)]({'unitId':_0x6c5cf8[_0x3a4218(0x2f2)],'sheetName':_0x6c5cf8[_0x3a4218(0x1c3)],'subUnitId':_0x6c5cf8[_0x3a4218(0x2ff)],'range':_0x6c5cf8[_0x3a4218(0x2c1)]}),_0x4d602d=_0x3191d6['toJSON']();_0x3a0833[_0x3a4218(0x3bb)]();const _0x47af4c=this[_0x3a4218(0x3a3)][_0x3a4218(0x35e)](_0x21c2fb)[_0x3a4218(0x267)]()||_0x570035['getAutoDisplayName'];_0x3a0833['iterateField'](_0x107e42=>{const _0x21000c=_0x3a4218,_0x436825=_0x107e42[_0x21000c(0x1e6)]();if(!_0x3191d6[_0x21000c(0x13e)](_0x436825)){const _0x34a7c4=_0x3191d6['getDataFieldBySourceName'](_0x107e42[_0x21000c(0x218)]());if(_0x34a7c4){_0x3a0833[_0x21000c(0x374)](_0x107e42[_0x21000c(0x295)](),_0x34a7c4['getName'](),_0x34a7c4['getId']());const {area:_0x571881}=_0x3a0833['getFieldPositionInfoById'](_0x107e42[_0x21000c(0x295)]());let _0x26d018=_0x107e42['getSourceName']();const _0x424492=_0x107e42[_0x21000c(0x287)]();if(_0x571881===_0x570035[_0x21000c(0x168)]['Value']){const _0x150c73=_0x107e42[_0x21000c(0x265)]();_0x26d018=_0x47af4c(_0x34a7c4[_0x21000c(0x130)](),_0x150c73);}_0x424492!==_0x26d018&&_0x3a0833['renameField'](_0x107e42[_0x21000c(0x295)](),_0x26d018);}else _0x3a0833[_0x21000c(0x3d9)](_0x107e42['getId']());}});const _0x2a6445=_0x3a0833[_0x3a4218(0x1f1)](),_0x2375c0=_0x3a0833[_0x3a4218(0x18f)]()[_0x3a4218(0x330)](),_0x186034=_0x3a0833['endCollectChangeset']();_0x44f8ed['updatePivotSource']={'view':_0x2375c0,'changesets':_0x186034,'isEmpty':_0x2a6445,'pivotTableConfig':_0xdb0253,'collectionConfig':_0x4d602d,'oldCollectionConfig':_0x5dcb3c,'deleteIds':_0x41b7e2};}break;case _0x1ffaf9['UpdateValuePosition']:{const _0x52650a=_0x51f22e['params']['updateValuePosition'];if(!_0x52650a)return;const {position:_0x37126f,index:_0x579512}=_0x52650a,_0x368e5e=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x368e5e)return!0x1;const _0x2b5572=this[_0x3a4218(0x3a3)][_0x3a4218(0x142)](_0x3d49eb);if(!_0x2b5572)return!0x1;_0x2b5572['startCollectChangeset'](),_0x2b5572[_0x3a4218(0x2dc)](_0x37126f,_0x579512);const _0x44526f=_0x2b5572['isEmpty'](),_0x108bda=_0x2b5572[_0x3a4218(0x18f)]()['toJSON'](),_0x237135=_0x2b5572[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x2dc)]={'changesets':_0x237135,'pivotTableConfig':_0x368e5e,'isEmpty':_0x44526f,'view':_0x108bda};}break;case _0x1ffaf9['SetPivotCollapse']:{const _0x4cc0f9=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x414)];if(!_0x4cc0f9)return;const {tableFieldId:_0x351a3e,collapse:_0x4fc340,item:_0x100214}=_0x4cc0f9,_0xe69dae=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x142)](_0x3d49eb),_0x503749=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0xe69dae||!_0x503749)return;_0xe69dae['startCollectChangeset'](),_0xe69dae['setCollapse'](_0x351a3e,_0x4fc340,_0x100214);const _0xc886da=_0xe69dae[_0x3a4218(0x1f1)](),_0x18d4fb=_0xe69dae[_0x3a4218(0x18f)]()[_0x3a4218(0x330)](),_0x15eadb=_0xe69dae[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x414)]={'view':_0x18d4fb,'isEmpty':_0xc886da,'pivotTableConfig':_0x503749,'changesets':_0x15eadb};}break;case _0x1ffaf9[_0x3a4218(0x1b3)]:{const _0x5f2e37=_0x51f22e[_0x3a4218(0x421)][_0x3a4218(0x32b)];if(!_0x5f2e37)return;const {pivotTableConfig:_0x2f9915}=_0x5f2e37,_0x26560b=this['_sheetsPivotDataSourceModel'][_0x3a4218(0x142)](_0x3d49eb),_0x309191=this[_0x3a4218(0x3a3)]['getPivotTableConfig'](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x26560b||!_0x309191)return;_0x26560b[_0x3a4218(0x3bb)](),_0x2d4c31(_0x26560b,_0x2f9915);const _0xdbe640=_0x26560b[_0x3a4218(0x1f1)](),_0x46a6cc=_0x26560b[_0x3a4218(0x18f)]()[_0x3a4218(0x330)](),_0x3ef071=_0x26560b['endCollectChangeset']();_0x44f8ed[_0x3a4218(0x32b)]={'view':_0x46a6cc,'isEmpty':_0xdbe640,'pivotTableConfig':{..._0x309191,'fieldsConfig':_0x26560b[_0x3a4218(0x330)]()},'changesets':_0x3ef071};}break;case _0x1ffaf9[_0x3a4218(0x357)]:{const _0x218164=_0x51f22e['params'][_0x3a4218(0x135)];if(!_0x218164)return;const _0x49c016=this[_0x3a4218(0x3a3)]['getPivotTableInstance'](_0x3d49eb),_0x368465=this[_0x3a4218(0x3a3)][_0x3a4218(0x32d)](_0x4b45ff,_0x8ed767,_0x3d49eb);if(!_0x49c016||!_0x368465)return;_0x49c016['startCollectChangeset'](),_0xc90c3b(_0x49c016,_0x218164[_0x3a4218(0x2b9)]);const _0x508d96=_0x49c016[_0x3a4218(0x18f)]()['toJSON'](),_0x5a675f=_0x49c016[_0x3a4218(0x42c)]();_0x44f8ed[_0x3a4218(0x135)]={'view':_0x508d96,'isEmpty':!0x0,'pivotTableConfig':{..._0x368465,'fieldsConfig':_0x49c016[_0x3a4218(0x330)]()},'changesets':_0x5a675f};}break;case _0x1ffaf9['AddPivotTableWithConfig']:{const _0x5389ea=_0x51f22e['params'][_0x3a4218(0x253)];if(!_0x5389ea)return;const _0x4d4614=_0x5389ea[_0x3a4218(0x21b)],_0x3d5897=_0x5389ea[_0x3a4218(0x309)],{collection:_0x1ee432}=this[_0x3a4218(0x3a3)]['createCollectionWithDataRange']({'unitId':_0x4d4614['unitId'],'sheetName':_0x4d4614[_0x3a4218(0x1c3)],'subUnitId':_0x4d4614[_0x3a4218(0x2ff)],'range':_0x4d4614[_0x3a4218(0x2c1)]}),_0xf13105=new _0x570035[(_0x3a4218(0x254))](_0x1ee432,void 0x0,_0x3d5897),_0x41bc20=_0x1ee432[_0x3a4218(0x3e9)](),{rows:_0x231070,columns:_0x55ac2b,filters:_0x23ad11,values:_0x4eacd9}=_0x5389ea[_0x3a4218(0x324)];_0xf13105[_0x3a4218(0x3bb)]();for(const {field:_0x4a2d0a,selectedItems:_0xb1884f}of _0x231070||[]){const _0x30c546=_0x41bc20[_0x4a2d0a];if(_0x30c546){const _0xb223c2=_0xf13105[_0x3a4218(0x2b6)](_0x30c546,_0x570035[_0x3a4218(0x168)][_0x3a4218(0x433)]);_0xb1884f&&_0xb223c2&&_0xf13105[_0x3a4218(0x41d)](_0xb223c2[_0x3a4218(0x295)](),{'type':_0x570035[_0x3a4218(0x3df)][_0x3a4218(0x2e1)],'list':_0xb1884f,'isAll':!0x1});}}for(const {field:_0x302fbe,selectedItems:_0x1485bd}of _0x55ac2b||[]){const _0xcce228=_0x41bc20[_0x302fbe];if(_0xcce228){const _0xe43ec6=_0xf13105[_0x3a4218(0x2b6)](_0xcce228,_0x570035['PivotTableFiledAreaEnum'][_0x3a4218(0x355)]);_0x1485bd&&_0xe43ec6&&_0xf13105[_0x3a4218(0x41d)](_0xe43ec6[_0x3a4218(0x295)](),{'type':_0x570035[_0x3a4218(0x3df)]['ManualFilter'],'list':_0x1485bd,'isAll':!0x1});}}for(const {field:_0x2ead9e,selectedItems:_0x391060}of _0x23ad11||[]){const _0x3682ae=_0x41bc20[_0x2ead9e];if(_0x3682ae){const _0x2b510a=_0xf13105[_0x3a4218(0x2b6)](_0x3682ae,_0x570035[_0x3a4218(0x168)]['Filter']);_0x391060&&_0x2b510a&&_0xf13105['setLabelFilterInfo'](_0x2b510a[_0x3a4218(0x295)](),{'type':_0x570035[_0x3a4218(0x3df)][_0x3a4218(0x2e1)],'list':_0x391060,'isAll':!0x1});}}for(const {field:_0x51be7a,subTotalType:_0x56edd3,formatString:_0xde8f6f}of _0x4eacd9||[]){const _0x4eb249=_0x1ee432[_0x3a4218(0x2fa)](_0x41bc20[_0x51be7a]);if(!_0x4eb249)continue;const _0x1b9620=_0x41bc20[_0x51be7a];if(_0x1b9620){const _0x44b1c4=_0xf13105[_0x3a4218(0x2b6)](_0x1b9620,_0x570035[_0x3a4218(0x168)][_0x3a4218(0x419)]);if(_0x44b1c4){if(_0x56edd3!==void 0x0){_0xf13105[_0x3a4218(0x1ac)](_0x44b1c4[_0x3a4218(0x295)](),_0x56edd3);const _0x209f50=this[_0x3a4218(0x3a3)][_0x3a4218(0x35e)](_0x4d4614[_0x3a4218(0x2f2)])['getAutoDisplayNameFunction']()||_0x570035[_0x3a4218(0x2e3)],_0x3bef68=_0x1ee432[_0x3a4218(0x287)](_0x1b9620),_0x563b04=_0x209f50(_0x3bef68,_0x56edd3);_0xf13105[_0x3a4218(0x3c1)](_0x44b1c4[_0x3a4218(0x295)](),_0x563b04);}else{if(_0x4eb249){const _0x1042dc=_0x4eb249==null?void 0x0:_0x4eb249[_0x3a4218(0x37e)]();_0xf13105[_0x3a4218(0x1ac)](_0x44b1c4[_0x3a4218(0x295)](),_0x1042dc===_0x570035['PivotDataFieldDataTypeEnum'][_0x3a4218(0x236)]?_0x570035[_0x3a4218(0x3de)][_0x3a4218(0x187)]:_0x570035[_0x3a4218(0x3de)][_0x3a4218(0x151)]);}}_0xde8f6f&&_0xf13105[_0x3a4218(0x126)](_0x44b1c4[_0x3a4218(0x295)](),_0xde8f6f);}}}const _0x218c30=_0xf13105['query'](),_0x515829=_0xf13105['toJSON'](),_0x4e297d=_0xf13105[_0x3a4218(0x1f1)](),_0x4fe215=_0xf13105[_0x3a4218(0x42c)](),_0x183a69=_0x1ee432[_0x3a4218(0x330)]();_0x44f8ed['addPivotTableWithConfig']={'view':_0x218c30,'fieldsConfig':_0x515829,'collectionConfig':_0x183a69,'isEmpty':_0x4e297d,'changesets':_0x4fe215};}break;case _0x1ffaf9[_0x3a4218(0x1b5)]:{const _0x3d80a1=_0x27d056(this[_0x3a4218(0x343)],_0x51f22e);if(!_0x3d80a1)return;const {range:_0x596acf,sourceSubUnitId:_0x165e4f,sourceUnitId:_0x1e45f8,formatMap:_0x174faf,indexes:_0x1387bf}=_0x3d80a1;_0x44f8ed[_0x3a4218(0x264)]={'range':_0x596acf,'sourceSubUnitId':_0x165e4f,'sourceUnitId':_0x1e45f8,'formatMap':_0x174faf,'indexes':_0x1387bf};}break;}this['_commandService'][_0x3a4218(0x2a8)](_0x322627['id'],{'version':_0x51f22e[_0x3a4218(0x231)],'result':_0x44f8ed},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x288ad0=_0x31d072;this[_0x288ad0(0x3fd)](this['_commandService'][_0x288ad0(0x14b)](_0x57778b=>{const _0x51530d=_0x288ad0;if(_0x57778b['id']!==_0x568db5['id'])return;const _0x252800=_0x57778b[_0x51530d(0x421)];return this[_0x51530d(0x3a3)][_0x51530d(0x1a4)](_0x252800[_0x51530d(0x354)]),!0x0;}));}[_0x31d072(0x12c)](){const _0x279025=_0x31d072;this[_0x279025(0x3a3)][_0x279025(0x364)][_0x279025(0x349)](_0x3f18cf=>{const _0x189297=_0x279025;switch(_0x3f18cf[_0x189297(0x11f)]){case _0x46a58e[_0x189297(0x38f)]:_0x3f18cf['dataRangeInfo']&&_0x3f18cf[_0x189297(0x143)]&&this['handleSourceRangeChange'](_0x3f18cf[_0x189297(0x3ca)],_0x3f18cf['dataRangeInfo'],_0x3f18cf['targetCellInfo']);break;case _0x46a58e[_0x189297(0x1cd)]:{const {unitId:_0x5ae07d,subUnitId:_0x204b04,token:_0x293694}=_0x3f18cf;_0x5ae07d&&_0x204b04&&_0x293694&&this['removeSourceRangeChange'](_0x5ae07d,_0x204b04,_0x293694);}break;case _0x46a58e[_0x189297(0x2f4)]:{const {token:_0x57a7eb,oldSourceRangeInfo:_0xf4ab59,dataRangeInfo:_0x43773e,targetCellInfo:_0x852c5d}=_0x3f18cf,{unitId:_0x332b21,subUnitId:_0x2abe9b}=_0xf4ab59||{};_0x332b21&&_0x2abe9b&&_0x57a7eb&&this['removeSourceRangeChange'](_0x332b21,_0x2abe9b,_0x57a7eb),_0x43773e&&_0x852c5d&&this['handleSourceRangeChange'](_0x57a7eb,_0x43773e,_0x852c5d);}break;}});}[_0x31d072(0x3e6)](){const _0x32b22c=_0x31d072;this[_0x32b22c(0x3a3)][_0x32b22c(0x2df)][_0x32b22c(0x349)](_0x2bf655=>{const _0x4fd19e=_0x32b22c;Object[_0x4fd19e(0x196)](_0x2bf655)[_0x4fd19e(0x17f)](_0x506009=>{const _0x3bfbfa=_0x4fd19e,_0x52fb1d=this['_sheetsPivotDataSourceModel'][_0x3bfbfa(0x2c3)](_0x506009);if(_0x52fb1d){const _0xf08a25=this[_0x3bfbfa(0x3a3)][_0x3bfbfa(0x32d)](_0x52fb1d==null?void 0x0:_0x52fb1d[_0x3bfbfa(0x2f2)],_0x52fb1d==null?void 0x0:_0x52fb1d[_0x3bfbfa(0x2ff)],_0x506009);_0xf08a25&&(this[_0x3bfbfa(0x3b4)](_0x506009,_0xf08a25[_0x3bfbfa(0x21b)],_0xf08a25['targetCellInfo']),this[_0x3bfbfa(0x227)]([{'unitId':_0x52fb1d['unitId'],'subUnitId':_0x52fb1d['subUnitId'],'token':_0x506009}]));}});});}[_0x31d072(0x398)](){const _0x437837=_0x31d072;this[_0x437837(0x3a3)][_0x437837(0x19e)][_0x437837(0x349)](_0xd9afcf=>{const _0x16651a=_0x437837,{unitId:_0xc6a7a8,subUnitId:_0x57d647,pivotTableId:_0x59dce2}=_0xd9afcf;_0xc6a7a8&&_0x57d647&&_0x59dce2&&this[_0x16651a(0x227)]([{'unitId':_0xc6a7a8,'subUnitId':_0x57d647,'token':_0x59dce2}]);});}[_0x31d072(0x227)](_0x3a7075){const _0x4a01dc=_0x31d072,_0x186649={};_0x3a7075[_0x4a01dc(0x17f)](_0x31e809=>{var _0x49e15a,_0x1c0220;const {unitId:_0x3a70dc,subUnitId:_0x1bc78c,token:_0x8b4046}=_0x31e809;_0x186649[_0x3a70dc]=(_0x49e15a=_0x186649[_0x3a70dc])!=null?_0x49e15a:{},_0x186649[_0x3a70dc][_0x1bc78c]=(_0x1c0220=_0x186649[_0x3a70dc][_0x1bc78c])!=null?_0x1c0220:{},_0x186649[_0x3a70dc][_0x1bc78c][_0x8b4046]=!0x0;}),this[_0x4a01dc(0x313)]['executeCommand'](_0x12b49f['id'],_0x186649);}['removeSourceRangeChange'](_0x1f3cc5,_0xa9cd5c,_0x466d05){const _0xf47fb2=_0x31d072;this['_featureCalculationManagerService'][_0xf47fb2(0x2da)](_0x1f3cc5,_0xa9cd5c,[_0x466d05]);}['handleSourceRangeChange'](_0x54605c,_0x57a519,_0x2a87da){const _0x4693da=_0x31d072,{unitId:_0x2669d5,subUnitId:_0x4b82f7}=_0x57a519;this[_0x4693da(0x22b)][_0x4693da(0x293)](_0x2a87da['unitId'],_0x2a87da[_0x4693da(0x2ff)],_0x54605c)&&this['removeSourceRangeChange'](_0x2669d5,_0x4b82f7,_0x54605c);const _0x2e9bea={'sheetId':_0x4b82f7,..._0x57a519};this['_featureCalculationManagerService'][_0x4693da(0x36e)](_0x2a87da[_0x4693da(0x2f2)],_0x2a87da[_0x4693da(0x2ff)],_0x54605c,{'unitId':_0x2a87da[_0x4693da(0x2f2)],'subUnitId':_0x2a87da[_0x4693da(0x2ff)],'dependencyRanges':[_0x2e9bea],'getDirtyData':(_0x1fc46f,_0x313b7d)=>{const _0x1f5ef1=_0x4693da,_0x50cc1f=this['_sheetsPivotDataSourceModel'],_0x2c0790=_0x50cc1f['getTargetByPivotId'](_0x54605c);if(!_0x2c0790)return _0x30a5b8();const {unitId:_0x3bc9c8,subUnitId:_0x16c2ac}=_0x2c0790,_0x27175f=_0xc8d6d3(_0x1fc46f,_0x313b7d,_0x57a519);if(_0x27175f[_0x1f5ef1(0x292)]>0x0){const _0x191125=_0x50cc1f[_0x1f5ef1(0x203)](_0x2669d5,_0x54605c),_0x259fa7=_0x191125['getFieldIds'](),_0x2db3c5=this[_0x1f5ef1(0x1b7)](_0x57a519[_0x1f5ef1(0x2f2)],_0x57a519[_0x1f5ef1(0x2ff)],_0x313b7d),_0x3360ca={},_0x553cdd=this[_0x1f5ef1(0x3a3)][_0x1f5ef1(0x35e)](_0x3bc9c8)[_0x1f5ef1(0x267)]()||_0x570035[_0x1f5ef1(0x2e3)],_0x28bf48=[];for(const _0x596c4a of _0x27175f){const _0x5a3783=_0x596c4a-(_0x57a519['range'][_0x1f5ef1(0x353)]||0x0),_0x45abf7=_0x259fa7[_0x5a3783];_0x28bf48[_0x1f5ef1(0x294)](_0x45abf7),_0x3360ca[_0x45abf7]=_0x191125[_0x1f5ef1(0x2fa)](_0x45abf7)['getName'](),_0x50cc1f[_0x1f5ef1(0x35e)](_0x2669d5)[_0x1f5ef1(0x178)](_0x45abf7,_0x57a519,_0x5a3783,_0x2db3c5);}_0x191125[_0x1f5ef1(0x26c)](_0x28bf48)[_0x1f5ef1(0x17f)](_0xc15834=>{const _0x47a05b=_0x1f5ef1,[_0x2ff87e,_0x10d750]=_0xc15834,_0x3a8f1a=_0x191125['getFieldById'](_0x2ff87e),_0x125a8c=_0x191125[_0x47a05b(0x2fa)](_0x10d750);_0x3a8f1a&&_0x125a8c&&_0x3a8f1a[_0x47a05b(0x1a7)](_0x125a8c);}),_0x191125[_0x1f5ef1(0x410)]();const _0x50dc97=_0x50cc1f[_0x1f5ef1(0x142)](_0x54605c);if(_0x50dc97){_0x13cfe4(_0x50dc97,_0x3360ca,_0x553cdd),_0x50dc97[_0x1f5ef1(0x3af)](!0x0);const _0x5a737f=_0x50dc97[_0x1f5ef1(0x18f)](),_0x1b3842=_0x50cc1f[_0x1f5ef1(0x32d)](_0x3bc9c8,_0x16c2ac,_0x54605c),_0x19fe17=_0x50cc1f['getDataFieldManager'](_0x2669d5)[_0x1f5ef1(0x330)]();_0x50cc1f[_0x1f5ef1(0x246)](_0x3bc9c8,_0x16c2ac,_0x1cfd99[_0x1f5ef1(0x3bf)],_0x54605c,_0x5a737f,_0x1b3842,_0x19fe17,!0x0);}}return this[_0x1f5ef1(0x36f)](_0x3bc9c8,_0x16c2ac,_0x54605c);}});}[_0x31d072(0x1b7)](_0x28c530,_0x3addf9,_0x5ac2fa){var _0x1785dc,_0x4a0c8a;const {arrayFormulaCellData:_0x15ad12,unitData:_0x52ad06}=_0x5ac2fa,_0x5c091f=(_0x1785dc=_0x15ad12==null?void 0x0:_0x15ad12[_0x28c530])==null?void 0x0:_0x1785dc[_0x3addf9],_0xb3f1ae=(_0x4a0c8a=_0x52ad06==null?void 0x0:_0x52ad06[_0x28c530])==null?void 0x0:_0x4a0c8a[_0x3addf9];return{'arrayFormulaCellDataMatrix':_0x5c091f,'unitDataMatrix':_0xb3f1ae};}['getDirtyInfo'](_0x1315d4,_0x3f2c5f,_0x4bf54f){const _0x423b5c=_0x31d072,_0x165149=this[_0x423b5c(0x3a3)][_0x423b5c(0x1c1)](_0x1315d4,_0x3f2c5f,_0x4bf54f),_0x3dbf66=[],_0x195233=new _0x4417df[(_0x423b5c(0x23e))]();if(_0x165149){const {rangeCache:_0x561562,matrix:_0x33009a,oldRangeCache:_0x2cfd42,oldMatrix:_0x47941e}=_0x165149,_0x2cda87=_0x4a8507(_0x2cfd42),_0xe7200a=_0x4a8507(_0x561562);_0x3dbf66[_0x423b5c(0x294)](..._0xe7200a,..._0x2cda87),_0x47941e&&_0x2cfd42&&_0x2cda87[_0x423b5c(0x17f)](_0x1955af=>{const _0x1c1845=_0x423b5c;for(let _0x47317e=_0x1955af[_0x1c1845(0x311)];_0x47317e<=_0x1955af[_0x1c1845(0x2b2)];_0x47317e++)for(let _0x328dc5=_0x1955af[_0x1c1845(0x353)];_0x328dc5<=_0x1955af['endColumn'];_0x328dc5++)_0x195233[_0x1c1845(0x13f)](_0x47317e,_0x328dc5);}),_0x33009a&&_0xe7200a&&_0xe7200a[_0x423b5c(0x17f)](_0x3aee1a=>{const _0x195dde=_0x423b5c;for(let _0x2526c0=_0x3aee1a['startRow'];_0x2526c0<=_0x3aee1a[_0x195dde(0x2b2)];_0x2526c0++)for(let _0x51f6dd=_0x3aee1a['startColumn'];_0x51f6dd<=_0x3aee1a[_0x195dde(0x365)];_0x51f6dd++)_0x195233[_0x195dde(0x2a9)](_0x2526c0,_0x51f6dd,_0x33009a['getValue'](_0x2526c0,_0x51f6dd));});}const _0x1ffd93={};return _0x1ffd93[_0x1315d4]={[_0x3f2c5f]:_0x40d94a(_0x3dbf66)},{'runtimeCellData':{[_0x1315d4]:{[_0x3f2c5f]:_0x195233}},'dirtyRanges':_0x1ffd93};}[_0x31d072(0x3b6)](){}};_0x1e7682=_0x5caa1b([_0xf13c81(0x0,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x368)])),_0xf13c81(0x1,_0x4417df['IConfigService']),_0xf13c81(0x2,_0x4417df[_0x31d072(0x2b1)](_0x4d88b0[_0x31d072(0x3c7)])),_0xf13c81(0x3,_0x4417df[_0x31d072(0x2b1)](_0x4417df['ICommandService'])),_0xf13c81(0x4,_0x4417df['Inject'](_0x4d88b0[_0x31d072(0x174)])),_0xf13c81(0x5,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1e0)]))],_0x1e7682);var _0x49a5ed=Object[_0x31d072(0x1a2)],_0x574892=(_0x2f9fe7,_0x373f83,_0x34b386,_0x2aac11)=>{const _0x532439=_0x31d072;for(var _0x49903a=_0x2aac11>0x1?void 0x0:_0x2aac11?_0x49a5ed(_0x373f83,_0x34b386):_0x373f83,_0x4bcaee=_0x2f9fe7[_0x532439(0x292)]-0x1,_0x49a976;_0x4bcaee>=0x0;_0x4bcaee--)(_0x49a976=_0x2f9fe7[_0x4bcaee])&&(_0x49903a=_0x49a976(_0x49903a)||_0x49903a);return _0x49903a;},_0x20effb=(_0x2c733c,_0x349ae2)=>(_0x514213,_0xd9c6cc)=>_0x349ae2(_0x514213,_0xd9c6cc,_0x2c733c);let _0x95a2c4=class extends _0x4417df['Disposable']{constructor(_0x2d1796,_0x221c6f,_0x47b6f7,_0x461356){const _0x49c2c3=_0x31d072;super(),_0x36561d(this,_0x49c2c3(0x162),new _0x4417df[(_0x49c2c3(0x3f6))]()),(this['_univerInstanceService']=_0x2d1796,this['_sheetInterceptorService']=_0x221c6f,this[_0x49c2c3(0x179)]=_0x47b6f7,this[_0x49c2c3(0x3ad)]=_0x461356,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x539bfe=_0x31d072;this['disposeWithMe'](this[_0x539bfe(0x303)][_0x539bfe(0x3b0)]({'getMutations':_0x4120a2=>{const _0x555f82=_0x539bfe;if(_0x4120a2['id']===_0x3bcacb[_0x555f82(0x390)]['id']||_0x4120a2['id']===_0x3bcacb[_0x555f82(0x362)]['id']){const _0xe47af7=[],_0x5eb86f=[],_0x147318=this['_sheetsSelectionsService'][_0x555f82(0x121)]()['map'](_0x485545=>_0x485545[_0x555f82(0x2c1)]),_0x47ea55=_0x3bcacb['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x47ea55)return{'redos':[],'undos':[]};const {unitId:_0x19d93b,subUnitId:_0x3ad849}=_0x47ea55,_0x4bc552={},_0x2082c0=this[_0x555f82(0x3ad)][_0x555f82(0x2af)](_0x19d93b,_0x3ad849);if(_0x2082c0!=null&&_0x2082c0['size'])for(const [_0x2f9add,_0x555d0f]of _0x2082c0){const {unitId:_0x23188c,subUnitId:_0x3ad4e3,row:_0x42ea10,col:_0x2af290}=_0x555d0f[_0x555f82(0x143)];_0x23188c===_0x47ea55[_0x555f82(0x2f2)]&&_0x3ad4e3===_0x47ea55[_0x555f82(0x2ff)]&&(_0x4bc552[_0x42ea10+'-'+_0x2af290]=_0x2f9add);}return _0x147318&&_0x47ea55&&_0x147318['forEach'](_0x22da37=>{const _0x1c3897=_0x555f82;_0x4417df[_0x1c3897(0x190)][_0x1c3897(0x379)](_0x22da37,(_0x190280,_0x1befb3)=>{const _0x2a3472=_0x1c3897,_0xbe471b=_0x190280+'-'+_0x1befb3;if(_0x4bc552[_0xbe471b]){const _0x44e470=_0x4bc552[_0xbe471b];_0xe47af7[_0x2a3472(0x294)]({'id':_0xb941dc['id'],'params':{'unitId':_0x19d93b,'subUnitId':_0x3ad849,'pivotTableId':_0x44e470}});const _0x5706f2=this[_0x2a3472(0x3ad)]['getCollection'](_0x19d93b,_0x44e470),_0x31252b=this[_0x2a3472(0x3ad)][_0x2a3472(0x32d)](_0x19d93b,_0x3ad849,_0x44e470);_0x5eb86f[_0x2a3472(0x294)]({'id':_0x1d8f15['id'],'params':{'unitId':_0x19d93b,'subUnitId':_0x3ad849,'pivotTableId':_0x44e470,'pivotTableConfig':_0x31252b,'collectionConfig':_0x5706f2}});}});}),{'redos':_0xe47af7,'undos':_0x5eb86f};}return{'redos':[],'undos':[]};}}));}};_0x95a2c4=_0x574892([_0x20effb(0x0,_0x4417df[_0x31d072(0x40f)]),_0x20effb(0x1,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb['SheetInterceptorService'])),_0x20effb(0x2,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb[_0x31d072(0x2ca)])),_0x20effb(0x3,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x232)]))],_0x95a2c4);var _0x5e5fd6=Object[_0x31d072(0x1a2)],_0x328f1a=(_0x48e917,_0x4f3f49,_0x645002,_0x5b4acd)=>{const _0x40e4dc=_0x31d072;for(var _0x22e283=_0x5b4acd>0x1?void 0x0:_0x5b4acd?_0x5e5fd6(_0x4f3f49,_0x645002):_0x4f3f49,_0x3cd2d9=_0x48e917[_0x40e4dc(0x292)]-0x1,_0x3002f9;_0x3cd2d9>=0x0;_0x3cd2d9--)(_0x3002f9=_0x48e917[_0x3cd2d9])&&(_0x22e283=_0x3002f9(_0x22e283)||_0x22e283);return _0x22e283;},_0x6d0c58=(_0x4d1882,_0x6e6cef)=>(_0x8741ba,_0xf75e51)=>_0x6e6cef(_0x8741ba,_0xf75e51,_0x4d1882);let _0x2bf1d6=class extends _0x4417df['Disposable']{constructor(_0x3fd3ec,_0x1344ac,_0x42068e,_0x2ca441,_0x44e331,_0x52f5c5){const _0x179298=_0x31d072;super(),this[_0x179298(0x366)]=_0x3fd3ec,this[_0x179298(0x303)]=_0x1344ac,this[_0x179298(0x343)]=_0x42068e,this[_0x179298(0x402)]=_0x2ca441,this[_0x179298(0x3ad)]=_0x44e331,this[_0x179298(0x2d6)]=_0x52f5c5,this[_0x179298(0x15b)]();}[_0x31d072(0x432)](_0x57a51d,_0x1d8b7b,_0xc6aeff){const _0x4255f2=_0x31d072,{pageView:_0x3a4066,cornerView:_0x265811,rowView:_0x457aa1,colView:_0x2b59af,dataView:_0x228c68}=_0x1d8b7b,_0x366510=_0x57a51d;let _0x2865a0;if(_0xc6aeff)_0x2865a0=[..._0x417f23(_0x366510)];else{const _0x669f14=_0x3624ce(_0x366510,_0x3a4066,!0x0),_0x297c65=_0x3a4066[_0x4255f2(0x1f4)]>=0x0?_0x3a4066[_0x4255f2(0x1f4)]+0x1:0x0,_0x363032=_0x265811[_0x4255f2(0x2e4)],_0x57dc6c=_0x265811[_0x4255f2(0x3d2)],_0xd5053a=_0x669f14[_0x4255f2(0x292)]>0x0?_0x2fa24f:0x0,_0x4fe175=_0x3624ce({'row':_0x366510[_0x4255f2(0x210)]+_0x297c65+_0xd5053a,'col':_0x366510[_0x4255f2(0x424)]},_0x265811,!0x1,!0x1),_0x2a5184=_0x3624ce({'row':_0x366510[_0x4255f2(0x210)]+_0x297c65+_0xd5053a+_0x363032,'col':_0x366510['col']},_0x457aa1,!0x1,!0x0),_0x17aaf3=_0x3624ce({'row':_0x366510['row']+_0x297c65+_0xd5053a,'col':_0x366510[_0x4255f2(0x424)]+_0x57dc6c},_0x2b59af,!0x1,!0x0),_0x3f0dd4=_0x3624ce({'row':_0x366510[_0x4255f2(0x210)]+_0x297c65+_0xd5053a+_0x363032,'col':_0x366510[_0x4255f2(0x424)]+_0x57dc6c},_0x228c68,!0x1,!0x0);_0x2865a0=[..._0x669f14,..._0x4fe175,..._0x2a5184,..._0x17aaf3,..._0x3f0dd4];}return _0x2865a0;}[_0x31d072(0x15b)](){const _0x54aafe=_0x31d072;this['disposeWithMe'](this[_0x54aafe(0x2d6)][_0x54aafe(0x32e)][_0x54aafe(0x170)](this['_sheetsPivotTableService'][_0x54aafe(0x32e)][_0x54aafe(0x1d4)]()[_0x54aafe(0x34f)],{'handler':(_0x4059cc,_0x2921d0)=>{const _0x3e48b1=_0x54aafe,{cellInfo:_0x525dfa,view:_0x42e81e,isEmpty:_0x1ca6eb}=_0x2921d0,_0x3320bc=_0x525dfa,{unitId:_0x22a3e6,subUnitId:_0x41815b}=_0x3320bc,_0x5108c2=this[_0x3e48b1(0x432)](_0x525dfa,_0x42e81e,_0x1ca6eb),_0x46d58a=this[_0x3e48b1(0x303)][_0x3e48b1(0x245)]({'unitId':_0x22a3e6,'subUnitId':_0x41815b,'ranges':_0x5108c2}),_0x1ce9cd=_0x57446e(this[_0x3e48b1(0x343)],_0x22a3e6,_0x41815b,_0x5108c2);_0x1ce9cd[_0x3e48b1(0x2a6)]&&(_0x46d58a[_0x3e48b1(0x134)][_0x3e48b1(0x294)](_0x1ce9cd[_0x3e48b1(0x1a1)]),_0x46d58a[_0x3e48b1(0x400)][_0x3e48b1(0x294)](_0x1ce9cd['setRangeValueUndoMutation']));const _0x57e7c1=this[_0x3e48b1(0x30f)](_0x42e81e,_0x525dfa);return _0x46d58a['redos'][_0x3e48b1(0x294)](..._0x57e7c1['redos']),_0x46d58a[_0x3e48b1(0x400)][_0x3e48b1(0x294)](..._0x57e7c1['undos']),{'redos':_0x46d58a[_0x3e48b1(0x134)],'undos':_0x46d58a['undos']};}}));}[_0x31d072(0x30f)](_0x4bbc63,_0x48780a){const _0x147a83=_0x31d072,{col:_0x387197,unitId:_0x17e10f,subUnitId:_0xc3a8b1}=_0x48780a,_0x5446c9=[],_0x5cc5eb=[],_0x379bf5=_0x3bcacb[_0x147a83(0x1d7)](this[_0x147a83(0x402)],{'unitId':_0x17e10f,'subUnitId':_0xc3a8b1});if(!_0x48780a||!_0x4bbc63||!_0x379bf5)return{'undos':_0x5cc5eb,'redos':_0x5446c9};const _0x36ae1c=this[_0x147a83(0x3ad)][_0x147a83(0x3e4)](),{colView:_0x46a08c,dataView:_0x1ed039,cornerView:_0x3367b8,rowView:_0x17be4b,formatMap:_0x3ce2c1}=_0x4bbc63,_0x4f906c=_0x16bc7e(_0x46a08c,_0x36ae1c,!0x0,_0x3ce2c1),_0xa0b4de=_0x16bc7e(_0x17be4b,_0x36ae1c,!0x1,_0x3ce2c1),_0x48c6ca=_0x57675a(_0x1ed039),_0x3368e1=_0x564f1a(_0x3367b8),{worksheet:_0xa9c4fa}=_0x379bf5;if(typeof window<'u'&&window[_0x147a83(0x259)]){const _0x11937d=_0x36a6fb[_0x147a83(0x219)]({..._0x333486[_0x147a83(0x133)]}),_0x4fce4c=_0x36a6fb[_0x147a83(0x41f)][_0x147a83(0x2e5)](_0x4f906c,_0x11937d)[_0x147a83(0x31c)]+0x10,_0x503ac1=_0x36a6fb[_0x147a83(0x41f)][_0x147a83(0x2e5)](_0x48c6ca,_0x11937d)[_0x147a83(0x31c)],_0x3e6669=Math[_0x147a83(0x266)](Math[_0x147a83(0x1aa)](_0x4fce4c,_0x503ac1))+0x10,_0x2cfad2=Math[_0x147a83(0x266)](_0x36a6fb[_0x147a83(0x41f)][_0x147a83(0x2e5)](_0xa0b4de,_0x11937d)[_0x147a83(0x31c)]),_0x75358e=Math[_0x147a83(0x266)](_0x36a6fb[_0x147a83(0x41f)][_0x147a83(0x2e5)](_0x3368e1,_0x11937d)[_0x147a83(0x31c)]),_0x11495c=Math[_0x147a83(0x1aa)](_0x2cfad2,_0x75358e,0x28)+0xc,_0x249f0a=_0x46a08c['colCount']+_0x3367b8['colCount'],_0xa85ef0={},_0x33e6ae={};for(let _0x377fae=_0x387197;_0x377fae<_0x387197+_0x249f0a;_0x377fae++){const _0x2448dc=_0xa9c4fa[_0x147a83(0x1a5)](_0x377fae);_0xa85ef0[_0x377fae]=_0x2448dc,_0x377fae-_0x387197<_0x3367b8[_0x147a83(0x3d2)]?_0x33e6ae[_0x377fae-_0x387197]=_0x11495c:_0x33e6ae[_0x377fae-_0x387197]=_0x3e6669;}_0x5446c9[_0x147a83(0x294)]({'id':_0x3bcacb[_0x147a83(0x412)]['id'],'params':{'subUnitId':_0xc3a8b1,'unitId':_0x17e10f,'ranges':[{'startColumn':_0x387197,'endColumn':_0x387197+_0x249f0a-0x1,'startRow':0x0,'endRow':_0xa9c4fa['getRowCount']()-0x1}],'colWidth':_0x33e6ae}}),_0x5cc5eb[_0x147a83(0x294)]({'id':_0x3bcacb[_0x147a83(0x412)]['id'],'params':{'subUnitId':_0xc3a8b1,'unitId':_0x17e10f,'ranges':[{'startColumn':_0x387197,'endColumn':_0x387197+_0x249f0a-0x1,'startRow':0x0,'endRow':_0xa9c4fa[_0x147a83(0x2ef)]()-0x1}],'colWidth':_0xa85ef0}});}return{'undos':_0x5cc5eb,'redos':_0x5446c9};}};_0x2bf1d6=_0x328f1a([_0x6d0c58(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x31f)])),_0x6d0c58(0x1,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb[_0x31d072(0x1fe)])),_0x6d0c58(0x2,_0x4417df['Inject'](_0x4417df[_0x31d072(0x1e0)])),_0x6d0c58(0x3,_0x4417df['Inject'](_0x4417df[_0x31d072(0x40f)])),_0x6d0c58(0x4,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x232)])),_0x6d0c58(0x5,_0x4417df['Inject'](_0x1f13ed[_0x31d072(0x1ef)]))],_0x2bf1d6);var _0x48fbda=Object[_0x31d072(0x1a2)],_0x584466=(_0xd61ff8,_0x208812,_0x323854,_0x2b6452)=>{const _0x34aa5e=_0x31d072;for(var _0x320c0f=_0x2b6452>0x1?void 0x0:_0x2b6452?_0x48fbda(_0x208812,_0x323854):_0x208812,_0xa2090b=_0xd61ff8[_0x34aa5e(0x292)]-0x1,_0x549758;_0xa2090b>=0x0;_0xa2090b--)(_0x549758=_0xd61ff8[_0xa2090b])&&(_0x320c0f=_0x549758(_0x320c0f)||_0x320c0f);return _0x320c0f;},_0x6057a2=(_0xb66f0d,_0x35ce8a)=>(_0x5e8c17,_0xa732ed)=>_0x35ce8a(_0x5e8c17,_0xa732ed,_0xb66f0d);let _0x32c4cf=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x146009,_0x5471b3,_0x4bb1f4,_0x1459b5,_0x4d064c,_0x76fa75,_0x399013){const _0x795c74=_0x31d072;super(),_0x36561d(this,_0x795c74(0x162),new _0x4417df[(_0x795c74(0x3f6))]()),(this[_0x795c74(0x343)]=_0x146009,this[_0x795c74(0x27d)]=_0x5471b3,this[_0x795c74(0x313)]=_0x4bb1f4,this['_univerInstanceService']=_0x1459b5,this['_sheetsPivotTableConfigModel']=_0x4d064c,this['_sheetsPivotTableAdaptorModel']=_0x76fa75,this['_sheetInterceptorService']=_0x399013,this[_0x795c74(0x140)]());}['_onRefRangeChange'](){const _0x4689aa=_0x31d072,_0x322150=(_0x30f40f,_0x19f305)=>{const _0x5eb7cc=_0x2079,_0x566065=this[_0x5eb7cc(0x402)]['getCurrentUnitForType'](_0x4417df[_0x5eb7cc(0x24d)][_0x5eb7cc(0x2b0)]);if(!_0x566065||!(_0x566065==null?void 0x0:_0x566065[_0x5eb7cc(0x129)](_0x19f305)))return;this['disposableCollection'][_0x5eb7cc(0x3b6)]();const _0x126f8d=_0x19e56a=>this[_0x5eb7cc(0x396)](_0x19e56a,_0x30f40f,_0x19f305),_0x318a6f=this[_0x5eb7cc(0x3ad)][_0x5eb7cc(0x2af)](_0x30f40f,_0x19f305);if(!(_0x318a6f!=null&&_0x318a6f[_0x5eb7cc(0x198)]))return;Array['from'](_0x318a6f[_0x5eb7cc(0x382)]())['map'](_0x39f81d=>{const _0x29b7d4=_0x5eb7cc,{row:_0x554054,col:_0x21612c}=_0x39f81d[_0x29b7d4(0x143)];return _0x4417df[_0x29b7d4(0x3a8)](_0x554054,_0x21612c);})['forEach'](_0x40a794=>{const _0x4255d0=_0x5eb7cc;this[_0x4255d0(0x162)][_0x4255d0(0x38f)](this['_refRangeService'][_0x4255d0(0x22c)](_0x40a794,_0x126f8d,_0x30f40f,_0x19f305));});},_0x5cc155=()=>{const _0xc16b03=_0x2079,_0x54caef=this['_univerInstanceService'][_0xc16b03(0x3b7)](_0x4417df[_0xc16b03(0x24d)][_0xc16b03(0x2b0)]);if(_0x54caef){const _0x127144=_0x54caef[_0xc16b03(0x2f5)]();if(!_0x127144)return;_0x322150(_0x54caef['getUnitId'](),_0x127144['getSheetId']());}};this[_0x4689aa(0x3fd)](this['_commandService']['onCommandExecuted'](_0x111d79=>{const _0x9949ed=_0x4689aa;if(_0x111d79['id']===_0x3bcacb[_0x9949ed(0x277)]['id']){const _0x2bdd10=_0x111d79['params'],_0x23f166=_0x2bdd10[_0x9949ed(0x2ff)],_0x292b80=_0x2bdd10[_0x9949ed(0x2f2)];if(!_0x23f166||!_0x292b80)return;_0x322150(_0x292b80,_0x23f166);}})),this[_0x4689aa(0x3fd)](this[_0x4689aa(0x3ad)][_0x4689aa(0x2d9)][_0x4689aa(0x349)](_0x2f4a5f=>{_0x2f4a5f&&_0x5cc155();})),this[_0x4689aa(0x3fd)](this[_0x4689aa(0x3ad)][_0x4689aa(0x26b)]['subscribe'](_0x1d60d8=>{const _0x526929=_0x4689aa,_0x37749a=_0x3bcacb[_0x526929(0x1d7)](this[_0x526929(0x402)]);if(!_0x37749a)return;const {unitId:_0x206179,subUnitId:_0x1cd74a}=_0x37749a,{unitId:_0x1b9151,subUnitId:_0x527d75}=_0x1d60d8;_0x206179!==_0x1b9151||_0x1cd74a!==_0x527d75||_0x322150(_0x206179,_0x1cd74a);})),_0x5cc155();}[_0x31d072(0x396)](_0x2ef69b,_0x416050,_0x4593a6){const _0x3b8828=_0x31d072;switch(_0x2ef69b['id']){case _0x3bcacb[_0x3b8828(0x3d5)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x2ef69b[_0x3b8828(0x421)],_0x416050,_0x4593a6);}return{'redos':[],'undos':[]};}[_0x31d072(0x122)](_0x4a4cb8,_0x5465a1,_0xf67bc1){const _0x3b8e58=_0x31d072,{fromRange:_0x246af7,toRange:_0x343af4}=_0x4a4cb8,_0x43abd0=[],_0x1b35d3=[],_0x50ef6f=_0x3bcacb[_0x3b8e58(0x1d7)](this[_0x3b8e58(0x402)]);if(!_0x50ef6f)return{'undos':_0x1b35d3,'redos':_0x43abd0};if(_0x5465a1!==_0x50ef6f[_0x3b8e58(0x2f2)]||_0xf67bc1!==_0x50ef6f[_0x3b8e58(0x2ff)])return{'undos':_0x1b35d3,'redos':_0x43abd0};const _0x2a9d9a=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x5465a1,_0xf67bc1);if(_0x2a9d9a!=null&&_0x2a9d9a['size'])for(const [_0x519cce,_0x448048]of _0x2a9d9a){const {unitId:_0x246948,subUnitId:_0x33317d,row:_0x59a3d7,col:_0x502904}=_0x448048[_0x3b8e58(0x143)];if(_0x246948===_0x50ef6f['unitId']&&_0x33317d===_0x50ef6f[_0x3b8e58(0x2ff)]){const _0x48a090=_0x4417df[_0x3b8e58(0x3a8)](_0x59a3d7,_0x502904);if(_0x4417df[_0x3b8e58(0x316)][_0x3b8e58(0x2e0)](_0x48a090,_0x246af7)){const _0x3d8d5f=_0x59a3d7-_0x246af7[_0x3b8e58(0x311)],_0x27bba2=_0x502904-_0x246af7['startColumn'],_0x4196e5={'row':_0x343af4[_0x3b8e58(0x311)]+_0x3d8d5f,'col':_0x343af4['startColumn']+_0x27bba2};_0x43abd0['push']({'id':_0x7ea6d5['id'],'params':{'unitId':_0x246948,'subUnitId':_0x33317d,'pivotTableId':_0x519cce,'targetCellPosition':_0x4196e5}}),_0x1b35d3[_0x3b8e58(0x294)]({'id':_0x7ea6d5['id'],'params':{'unitId':_0x246948,'subUnitId':_0x33317d,'pivotTableId':_0x519cce,'targetCellPosition':{'row':_0x59a3d7,'col':_0x502904}}});const _0x12f9e8=_0x4196e5[_0x3b8e58(0x210)]-_0x59a3d7,_0x3f4a0e=_0x4196e5[_0x3b8e58(0x424)]-_0x502904,_0x455f1b=[],_0x2b772f=this[_0x3b8e58(0x12a)]['getPivotItemRenderInfoCache'](_0x246948,_0x33317d,_0x519cce),_0x2ca5e0=_0x2b772f==null?void 0x0:_0x2b772f['rangesInfo'];if(_0x2ca5e0){Object['keys'](_0x2ca5e0)[_0x3b8e58(0x17f)](_0xc290c6=>{_0x2ca5e0[_0xc290c6]['forEach'](_0x17fa47=>{const _0x2f9369=_0x2079,_0x4ac9fe={..._0x17fa47};_0x4ac9fe['startRow']=_0x17fa47[_0x2f9369(0x311)]+_0x12f9e8,_0x4ac9fe['endRow']=_0x17fa47[_0x2f9369(0x2b2)]+_0x12f9e8,_0x4ac9fe[_0x2f9369(0x353)]=_0x17fa47[_0x2f9369(0x353)]+_0x3f4a0e,_0x4ac9fe['endColumn']=_0x17fa47[_0x2f9369(0x365)]+_0x3f4a0e,_0x455f1b['push'](_0x4ac9fe);});});const _0x26a4a3=this[_0x3b8e58(0x303)][_0x3b8e58(0x245)]({'unitId':_0x246948,'subUnitId':_0x33317d,'ranges':_0x455f1b});_0x43abd0['push'](..._0x26a4a3[_0x3b8e58(0x134)]),_0x1b35d3[_0x3b8e58(0x294)](..._0x26a4a3[_0x3b8e58(0x400)]);const _0x3a5e8b=_0x57446e(this[_0x3b8e58(0x343)],_0x246948,_0x33317d,_0x455f1b);_0x3a5e8b[_0x3b8e58(0x2a6)]&&(_0x43abd0[_0x3b8e58(0x294)](_0x3a5e8b[_0x3b8e58(0x1a1)]),_0x1b35d3[_0x3b8e58(0x294)](_0x3a5e8b[_0x3b8e58(0x345)]));}}}}return{'redos':_0x43abd0,'undos':_0x1b35d3};}};_0x32c4cf=_0x584466([_0x6057a2(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1e0)])),_0x6057a2(0x1,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb[_0x31d072(0x220)])),_0x6057a2(0x2,_0x4417df[_0x31d072(0x1f3)]),_0x6057a2(0x3,_0x4417df[_0x31d072(0x40f)]),_0x6057a2(0x4,_0x4417df['Inject'](_0x1f13ed[_0x31d072(0x232)])),_0x6057a2(0x5,_0x4417df['Inject'](_0x1f13ed[_0x31d072(0x415)])),_0x6057a2(0x6,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb[_0x31d072(0x1fe)]))],_0x32c4cf);var _0x2d6f20=Object[_0x31d072(0x1a2)],_0x1283e2=(_0x3c842b,_0x23ec86,_0x1b9c73,_0x65a38f)=>{const _0x581e90=_0x31d072;for(var _0x1138e5=_0x65a38f>0x1?void 0x0:_0x65a38f?_0x2d6f20(_0x23ec86,_0x1b9c73):_0x23ec86,_0x3eaca9=_0x3c842b[_0x581e90(0x292)]-0x1,_0x258f9e;_0x3eaca9>=0x0;_0x3eaca9--)(_0x258f9e=_0x3c842b[_0x3eaca9])&&(_0x1138e5=_0x258f9e(_0x1138e5)||_0x1138e5);return _0x1138e5;},_0x5ae466=(_0x5bba01,_0x5bc557)=>(_0x405011,_0x56f292)=>_0x5bc557(_0x405011,_0x56f292,_0x5bba01);let _0x1b44bf=class extends _0x4417df['Disposable']{constructor(_0x458141,_0xe995ca){const _0x2e4ba2=_0x31d072;super(),this['_sheetInterceptorService']=_0x458141,this[_0x2e4ba2(0x3ad)]=_0xe995ca,this[_0x2e4ba2(0x327)]();}[_0x31d072(0x327)](){const _0x5b4322=_0x31d072;this[_0x5b4322(0x3fd)](this[_0x5b4322(0x303)][_0x5b4322(0x3b0)]({'getMutations':_0x13aa86=>{const _0x16387=_0x5b4322;if(_0x13aa86['id']===_0x3bcacb['RemoveSheetCommand']['id']){const _0x301903=[],_0x118a21=[],_0x4f4992=_0x13aa86[_0x16387(0x421)],{unitId:_0x4f26cc,subUnitId:_0x35080e}=_0x4f4992;if(!_0x4f26cc||!_0x35080e)return{'undos':_0x118a21,'redos':_0x301903};const _0x3c1f4e=this['_sheetsPivotTableConfigModel'][_0x16387(0x2af)](_0x4f26cc,_0x35080e);if(_0x3c1f4e!=null&&_0x3c1f4e[_0x16387(0x198)])for(const [_0x551ef2,_0x81dc95]of _0x3c1f4e){_0x301903[_0x16387(0x294)]({'id':_0xb941dc['id'],'params':{'unitId':_0x4f26cc,'subUnitId':_0x35080e,'pivotTableId':_0x551ef2}});const _0x42941b={...this[_0x16387(0x3ad)][_0x16387(0x203)](_0x4f26cc,_0x551ef2)};_0x118a21[_0x16387(0x294)]({'id':_0x1d8f15['id'],'params':{'unitId':_0x4f26cc,'subUnitId':_0x35080e,'pivotTableId':_0x551ef2,'pivotTableConfig':_0x81dc95,'collectionConfig':_0x42941b}});}return{'redos':_0x301903,'undos':_0x118a21};}return{'redos':[],'undos':[]};}}));}};_0x1b44bf=_0x1283e2([_0x5ae466(0x0,_0x4417df[_0x31d072(0x2b1)](_0x3bcacb[_0x31d072(0x1fe)])),_0x5ae466(0x1,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x232)]))],_0x1b44bf);var _0x3ea195=Object[_0x31d072(0x1a2)],_0x5936e9=(_0x2f3147,_0x5c3b80,_0x3f20d8,_0x456207)=>{const _0x49378e=_0x31d072;for(var _0xab98fa=_0x456207>0x1?void 0x0:_0x456207?_0x3ea195(_0x5c3b80,_0x3f20d8):_0x5c3b80,_0x4261bf=_0x2f3147[_0x49378e(0x292)]-0x1,_0x3b3be8;_0x4261bf>=0x0;_0x4261bf--)(_0x3b3be8=_0x2f3147[_0x4261bf])&&(_0xab98fa=_0x3b3be8(_0xab98fa)||_0xab98fa);return _0xab98fa;},_0x288a60=(_0x3c4c57,_0x381bf9)=>(_0x3aac56,_0x2b331e)=>_0x381bf9(_0x3aac56,_0x2b331e,_0x3c4c57);let _0x10f730=class extends _0x4417df[_0x31d072(0x19d)]{constructor(_0x486c97,_0x66e28d,_0x53fc3f,_0x50f049,_0x5da5e6,_0x466b36){const _0x242e22=_0x31d072;super(),this[_0x242e22(0x313)]=_0x486c97,this[_0x242e22(0x341)]=_0x66e28d,this['_sheetsPivotTableAdaptorModel']=_0x53fc3f,this[_0x242e22(0x3ad)]=_0x50f049,this['_univerInstanceService']=_0x5da5e6,this[_0x242e22(0x393)]=_0x466b36,this[_0x242e22(0x2b7)](),this['registerDirtyService']();}[_0x31d072(0x2b7)](){const _0x19fbf6=_0x31d072;this[_0x19fbf6(0x3fd)](this['_commandService'][_0x19fbf6(0x14b)](_0x46d3b8=>{const _0x8028f=_0x19fbf6;if(_0x46d3b8['id']!==_0x322627['id'])return;const _0x78925f=_0x46d3b8[_0x8028f(0x421)];this[_0x8028f(0x341)][_0x8028f(0x1f8)](_0x78925f);})),this[_0x19fbf6(0x3fd)](this[_0x19fbf6(0x313)][_0x19fbf6(0x14b)](_0x225c7e=>{const _0x399966=_0x19fbf6;if(_0x225c7e['id']===_0x5d2fae['id']){const _0x258d3e=_0x225c7e[_0x399966(0x421)];if(_0x258d3e){const {unitId:_0x228ba6,subUnitId:_0x1a5fc6,oldSubUnitId:_0x3ee0cf,pivotTableId:_0x2da376,pivotTableConfig:_0x1e02f7,collectionConfig:_0x2bb566}=_0x258d3e;this[_0x399966(0x3ad)]['updateConfigCache'](_0x228ba6,_0x3ee0cf,_0x258d3e['pivotTableId'],null),this[_0x399966(0x3ad)]['updateConfigCache'](_0x228ba6,_0x1a5fc6,_0x2da376,_0x1e02f7),this[_0x399966(0x3ad)][_0x399966(0x352)](_0x228ba6,_0x2bb566);}}})),this['disposeWithMe'](this['_commandService'][_0x19fbf6(0x14b)](_0x418bca=>{const _0x5736f8=_0x19fbf6;if(_0x418bca['id']!==_0x311c32['id'])return;const _0x2cb279=_0x3bcacb[_0x5736f8(0x1d7)](this['_univerInstanceService']);if(!_0x2cb279)return;const {unitId:_0x10f1cd,subUnitId:_0x2b5ec9}=_0x2cb279,_0x19ac26=_0x418bca[_0x5736f8(0x421)];if(_0x19ac26['collectionConfig']&&Object[_0x5736f8(0x196)](_0x19ac26['collectionConfig'])[_0x5736f8(0x17f)](_0x8be44c=>{const _0x5299fe=_0x5736f8;var _0x122e5a;(_0x122e5a=_0x19ac26[_0x5299fe(0x1d1)])!=null&&_0x122e5a[_0x8be44c]&&this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x8be44c,_0x19ac26[_0x5299fe(0x1d1)][_0x8be44c]);}),_0x19ac26[_0x5736f8(0x194)]){const _0x10ded4=_0x19ac26[_0x5736f8(0x194)],{unitId:_0xb7e39c,subUnitId:_0x503bcd,view:_0x4c8535,pivotTableId:_0xd9520c,type:_0x4d95cb,pivotConfig:_0x1d7dfb}=_0x10ded4;if(_0x4d95cb===_0x1cfd99['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x5736f8(0x3a7)]({'unitId':_0xb7e39c,'subUnitId':_0x503bcd,'pivotTableId':_0xd9520c,'type':_0x4d95cb}),this[_0x5736f8(0x3ad)][_0x5736f8(0x209)](_0xb7e39c,_0x503bcd,_0xd9520c,null);else{const _0x112216=new _0x570035[(_0x5736f8(0x1ab))]();_0x112216[_0x5736f8(0x164)](_0x4c8535),this[_0x5736f8(0x3ad)][_0x5736f8(0x209)](_0xb7e39c,_0x503bcd,_0xd9520c,_0x1d7dfb),this['_sheetsPivotTableAdaptorModel'][_0x5736f8(0x3a7)]({'unitId':_0xb7e39c,'subUnitId':_0x503bcd,'pivotTableId':_0xd9520c,'type':_0x4d95cb,'view':_0x112216}),this[_0x5736f8(0x12a)][_0x5736f8(0x344)]({'unitId':_0xb7e39c,'subUnitId':_0x503bcd,'view':_0x112216,'pivotTableId':_0xd9520c,'type':_0x4d95cb});}}else _0x19ac26[_0x5736f8(0x244)]&&(_0x19ac26[_0x5736f8(0x244)]['forEach'](_0x35106a=>{const _0xc0f028=_0x5736f8,{unitId:_0x3dbc69,subUnitId:_0x36381a,view:_0x5dbf56,pivotTableId:_0x3c79eb,type:_0x1aef96,pivotConfig:_0x3cb7b6}=_0x35106a,_0x16e894=new _0x570035['PivotView']();_0x16e894[_0xc0f028(0x164)](_0x5dbf56),this[_0xc0f028(0x3ad)][_0xc0f028(0x209)](_0x3dbc69,_0x36381a,_0x3c79eb,_0x3cb7b6),this[_0xc0f028(0x12a)][_0xc0f028(0x344)]({'unitId':_0x3dbc69,'subUnitId':_0x36381a,'view':_0x16e894,'pivotTableId':_0x3c79eb,'type':_0x1aef96});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel'][_0x5736f8(0x30a)](_0x10f1cd,_0x2b5ec9);}));}[_0x31d072(0x2ed)](){const _0x2db6c6=_0x31d072;this['_activeDirtyManagerService'][_0x2db6c6(0x36e)](_0x12b49f['id'],{'commandId':_0x12b49f['id'],'getDirtyData'(_0x97cdc8){const _0x20ffea=_0x2db6c6;return{'dirtyUnitFeatureMap':_0x97cdc8[_0x20ffea(0x421)]};}});}};_0x10f730=_0x5936e9([_0x288a60(0x0,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1f3)])),_0x288a60(0x1,_0x4417df['Inject'](_0x1f13ed[_0x31d072(0x376)])),_0x288a60(0x2,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed['SheetsPivotTableAdaptorModel'])),_0x288a60(0x3,_0x4417df[_0x31d072(0x2b1)](_0x1f13ed[_0x31d072(0x232)])),_0x288a60(0x4,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x40f)])),_0x288a60(0x5,_0x4d88b0[_0x31d072(0x3bc)])],_0x10f730);var _0x57372b=Object[_0x31d072(0x270)],_0x1e89be=Object[_0x31d072(0x1a2)],_0x461bdb=(_0x35459b,_0x14245d,_0x1aa5a9)=>_0x14245d in _0x35459b?_0x57372b(_0x35459b,_0x14245d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aa5a9}):_0x35459b[_0x14245d]=_0x1aa5a9,_0x515c7f=(_0x178655,_0x12fa98,_0x447931,_0x3c335f)=>{const _0x17a06d=_0x31d072;for(var _0x3c1cd9=_0x3c335f>0x1?void 0x0:_0x3c335f?_0x1e89be(_0x12fa98,_0x447931):_0x12fa98,_0x27667a=_0x178655[_0x17a06d(0x292)]-0x1,_0x3eb0f3;_0x27667a>=0x0;_0x27667a--)(_0x3eb0f3=_0x178655[_0x27667a])&&(_0x3c1cd9=_0x3eb0f3(_0x3c1cd9)||_0x3c1cd9);return _0x3c1cd9;},_0x4b15ca=(_0x2649d8,_0x509f43)=>(_0x3018d2,_0x5b8fdd)=>_0x509f43(_0x3018d2,_0x5b8fdd,_0x2649d8),_0x3856bf=(_0xa73814,_0x2324ae,_0x462991)=>_0x461bdb(_0xa73814,typeof _0x2324ae!=_0x31d072(0x17c)?_0x2324ae+'':_0x2324ae,_0x462991);_0x1f13ed['UniverSheetsPivotTablePlugin']=class extends _0x4417df[_0x31d072(0x317)]{constructor(_0x5c1567=_0x164b35,_0x1143e6,_0x2f3211,_0xcbc298,_0x2b0be9){const _0x391be4=_0x31d072;super(),this[_0x391be4(0x19c)]=_0x5c1567,this[_0x391be4(0x343)]=_0x1143e6,this[_0x391be4(0x313)]=_0x2f3211,this['_configService']=_0xcbc298,this[_0x391be4(0x319)]=_0x2b0be9;const {..._0x55b2e5}=_0x4417df['merge']({},_0x164b35,this['_config']);this['_configService'][_0x391be4(0x1da)](_0x5f8813,_0x55b2e5),this[_0x391be4(0x1c9)](),this[_0x391be4(0x181)]();}[_0x31d072(0x181)](){const _0x23cb38=_0x31d072;var _0x29923c;const _0x307a1f=(_0x29923c=this[_0x23cb38(0x19c)])==null?void 0x0:_0x29923c[_0x23cb38(0x1e2)];this[_0x23cb38(0x2d5)][_0x23cb38(0x1da)](_0xe54c00,_0x307a1f===!0x0);}['onStarting'](){const _0x43d671=_0x31d072;var _0x43fec9;let _0x6dd7a3=[];const _0x1f922c=(_0x43fec9=this['_config'])==null?void 0x0:_0x43fec9[_0x43d671(0x1e2)];_0x1f922c===!0x0?_0x6dd7a3=[[_0x1f13ed['SheetsPivotTableService']],[_0x1f13ed['SheetsPivotRPCService']],[_0x10f730],[_0x1f13ed['SheetsPivotTableAdaptorModel']],[_0x1f13ed[_0x43d671(0x232)]],[_0x1b44bf],[_0x95a2c4],[_0x32c4cf],[_0x2bf1d6]]:_0x1f922c===!0x1?_0x6dd7a3=[[_0x1f13ed[_0x43d671(0x368)]],[_0x1e7682]]:_0x1f922c===void 0x0&&(_0x6dd7a3=[[_0x1f13ed['SheetsPivotDataSourceModel']],[_0x1e7682],[_0x1f13ed[_0x43d671(0x1ef)]],[_0x1f13ed['SheetsPivotRPCService']],[_0x10f730],[_0x1f13ed['SheetsPivotTableAdaptorModel']],[_0x1f13ed[_0x43d671(0x232)]],[_0x1b44bf],[_0x95a2c4],[_0x32c4cf],[_0x2bf1d6]]),_0x6dd7a3[_0x43d671(0x17f)](_0x38a09c=>this['_injector'][_0x43d671(0x38f)](_0x38a09c)),[_0x1e7682,_0x10f730,_0x1f13ed['SheetsPivotTableService'],_0x95a2c4,_0x1b44bf,_0x32c4cf,_0x2bf1d6][_0x43d671(0x17f)](_0x51abbe=>{const _0x39f67e=_0x43d671;this['_injector'][_0x39f67e(0x293)](_0x51abbe)&&this['_injector'][_0x39f67e(0x180)](_0x51abbe);});}['_initRegisterCommand'](){const _0x26f9e8=_0x31d072;[_0x3158f1,_0x2a76cb,_0x62d925,_0xe04f88,_0x519ba1,_0x2f574d,_0x8076b9,_0x39fb5d,_0x19e301,_0x605344,_0x5958be,_0x3f9678,_0x3d7a56,_0x1b43ff,_0x1d8f15,_0x5ed14b,_0xb941dc,_0x353cbd,_0x4376fc,_0x2cd923,_0x8aa7c7,_0x1efe59,_0x571963,_0x3271fa,_0x18eedf,_0x25498e,_0x7ea6d5,_0x31ec6f,_0x322627,_0x311c32,_0x1589ff,_0x1e3c14,_0xc2a30f,_0x3e8267,_0x568db5,_0x2c1259,_0x495011,_0x12b49f,_0x5d2fae,_0x3f2b90,_0x5b0657,_0x43423d,_0x2a605c][_0x26f9e8(0x17f)](_0x23004f=>{const _0x4e402c=_0x26f9e8;var _0x35ad30;(_0x35ad30=this['_dataSyncPrimaryController'])==null||_0x35ad30[_0x4e402c(0x39f)](_0x23004f),this['_commandService'][_0x4e402c(0x334)](_0x23004f);});}},_0x3856bf(_0x1f13ed[_0x31d072(0x275)],_0x31d072(0x2f3),_0x208d15),_0x3856bf(_0x1f13ed[_0x31d072(0x275)],_0x31d072(0x11f),_0x4417df['UniverInstanceType'][_0x31d072(0x2b0)]),_0x1f13ed[_0x31d072(0x275)]=_0x515c7f([_0x4417df['DependentOn'](_0x34fa9b[_0x31d072(0x378)]),_0x4b15ca(0x1,_0x4417df[_0x31d072(0x2b1)](_0x4417df[_0x31d072(0x1e0)])),_0x4b15ca(0x2,_0x4417df['Inject'](_0x4417df[_0x31d072(0x1f3)])),_0x4b15ca(0x3,_0x4417df[_0x31d072(0x14e)]),_0x4b15ca(0x4,_0x4417df[_0x31d072(0x260)](_0x13d8f1['DataSyncPrimaryController']))],_0x1f13ed[_0x31d072(0x275)]),_0x1f13ed[_0x31d072(0x3d1)]=_0x62d925,_0x1f13ed['AddPivotFieldMutation']=_0x353cbd,_0x1f13ed['AddPivotTableCommand']=_0x2a76cb,_0x1f13ed['AddPivotTableMutation']=_0x1d8f15,_0x1f13ed['AddPivotTableWithConfigCommand']=_0x3158f1,_0x1f13ed[_0x31d072(0x1cf)]=_0x2fa24f,_0x1f13ed['DEFAULT_PIVOT_NUMBER']=_0x213ae5,_0x1f13ed[_0x31d072(0x272)]=_0xe04f88,_0x1f13ed[_0x31d072(0x224)]=_0x3d7a56,_0x1f13ed[_0x31d072(0x3c6)]=_0x1ffaf9,_0x1f13ed['PivotDrillDownCommand']=_0x1b43ff,_0x1f13ed['PivotTableOperationEnum']=_0x1cfd99,_0x1f13ed[_0x31d072(0x1d5)]=_0x12b49f,_0x1f13ed[_0x31d072(0x2de)]=_0x22968b,_0x1f13ed[_0x31d072(0x41b)]=_0x519ba1,_0x1f13ed[_0x31d072(0x2c4)]=_0x1efe59,_0x1f13ed[_0x31d072(0x234)]=_0xb941dc,_0x1f13ed[_0x31d072(0x2cc)]=_0x571963,_0x1f13ed[_0x31d072(0x2e7)]=_0x2a605c,_0x1f13ed[_0x31d072(0x26d)]=_0x5f8813,_0x1f13ed[_0x31d072(0x1ed)]=_0x208d15,_0x1f13ed[_0x31d072(0x31e)]=_0x39fb5d,_0x1f13ed[_0x31d072(0x411)]=_0x3271fa,_0x1f13ed['SetPivotFieldFormatMutation']=_0x3e8267,_0x1f13ed[_0x31d072(0x2d3)]=_0x43423d,_0x1f13ed[_0x31d072(0x338)]=_0x605344,_0x1f13ed['SetPivotFilterMutation']=_0x8aa7c7,_0x1f13ed[_0x31d072(0x1a8)]=_0x25498e,_0x1f13ed[_0x31d072(0x391)]=_0x7ea6d5,_0x1f13ed[_0x31d072(0x340)]=_0x19e301,_0x1f13ed['SetPivotSortMutation']=_0x18eedf,_0x1f13ed[_0x31d072(0x125)]=_0xc2a30f,_0x1f13ed[_0x31d072(0x14f)]=_0x3f2b90,_0x1f13ed['SetPivotValueFilterMutation']=_0x5b0657,_0x1f13ed['UpdateDateGroupCommand']=_0x8076b9,_0x1f13ed[_0x31d072(0x124)]=_0x1589ff,_0x1f13ed['UpdatePivotFieldSettingCommand']=_0x5958be,_0x1f13ed[_0x31d072(0x15a)]=_0x495011,_0x1f13ed[_0x31d072(0x284)]=_0x3f9678,_0x1f13ed[_0x31d072(0x22e)]=_0x2c1259,_0x1f13ed[_0x31d072(0x348)]=_0x2f574d,_0x1f13ed[_0x31d072(0x2ba)]=_0x1e3c14,_0x1f13ed[_0x31d072(0x3d4)]=_0x18ed64,_0x1f13ed[_0x31d072(0x29b)]=_0x12e8b3,_0x1f13ed[_0x31d072(0x222)]=_0x333486,_0x1f13ed[_0x31d072(0x26a)]=_0x57446e,_0x1f13ed['getAdjustRangesPosition']=_0x3624ce,_0x1f13ed[_0x31d072(0x237)]=_0x417f23,_0x1f13ed[_0x31d072(0x1ba)]=_0x25910d,_0x1f13ed['getInsertRowColMutations']=_0x2942f2,_0x1f13ed[_0x31d072(0x177)]=_0xf4a99b,_0x1f13ed[_0x31d072(0x3da)]=_0x41f0b1,_0x1f13ed[_0x31d072(0x1eb)]=_0xb635cd,_0x1f13ed[_0x31d072(0x28f)]=_0x56db4c,_0x1f13ed['unionPivotViewRange']=_0x4a8507,Object[_0x31d072(0x270)](_0x1f13ed,Symbol[_0x31d072(0x154)],{'value':'Module'});}));
1
+ function _0x1cd0(_0xe66e61,_0x584023){const _0x3b728e=_0x3b72();return _0x1cd0=function(_0x1cd0c4,_0x12f45c){_0x1cd0c4=_0x1cd0c4-0x17c;let _0x4387a2=_0x3b728e[_0x1cd0c4];return _0x4387a2;},_0x1cd0(_0xe66e61,_0x584023);}function _0x3b72(){const _0x4015ab=['sheet.mutation.send-pivot-config-local','limit\x20pivot','sheets.tabs.sheet','setFieldFormat','rangeKey','clearExclusiveRangesByGroupId','dataFieldId','foreach','#e6ebfa','MoveRangeCommand','query','refreshGroupField','InsertRowMutation','toStringTag','updateConfig','floor','average','collapseInfo','endColumn','getSheetBySheetName','map','getCellRaw','dispose','removeSourceRangeChange','16287600uKuxaj','rowInfo','pivotPerformCheck','_generateUniqueVersion','updateDataFieldsCollection','getPivotTableConfig','_ensurePivotItemRenderInfoCache','getTargetByPivotId','type','getLastCol','sheets-pivot.dateGroup.yearMonth','createDataFieldId','getInsertRowColMutations','_toJSON','token','symbol','generateNullCell','_config','_initRemoveSheetCommandInterceptor','getFilterInfo','sheets-pivot.dateGroup.year','version','generateMutationsByRanges','parseInt','COMMAND','isPrefixValue','SetPivotCollapse','_createExclusiveRange','lastRow','NO_COMMERCIAL','InsertSheetUndoMutationFactory','setRange','sheet.mutation.update-pivot-table-source-range','exports','toString','SheetsPivotTableService','string','sheets-pivot.subTotal','getDataFieldItemInfo','updateViewInfo','UpdateValuePositionMutation','PositionType','getRangeData','shouldClear','getFieldCountByArea','Minute','DEFAULT_PIVOT_NUMBER','set','sum','disposeWithMe','stringify','SheetsPivotDataSourceModel','setDirty','iterateField','getIndexesByPathStr','rangeType','getId','New','PivotTableValuePositionEnum','sheet.mutation.rename-pivot-field','_dataFieldManagerCollection','getPivotDisplayConfig','DrillDown','iterateFieldByArea','prefix','isDate','IUniverInstanceService','SetWorksheetActiveOperation','sheet.command.set-pivot-sort','getMatrixValue','PivotTable','pushComputingStatusSubject','_exclusiveRangeService','updateView','PivotFilterTypeEnum','get','charCodeAt','sheets-pivot.stdDevName','YearQuarter','keys','sheet.mutation.pivot-update-field-position','blank','getIntersects','reset','getFieldById','InsertColMutation','rxjs','_activeDirtyManagerService','interceptor','addCollectionByJSON','handleAsyncResponse','_updateRenderEmptyCache','colInfo','setValuePivotFilter','getNoUsedDataFieldIds','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','InterceptorManager','parse','AddPivotTable','Grand\x20Total','getPivotTableRangeInfo','HourMinute','SetRangeValuesMutation','sheets-pivot.value','filterInfo','Hour','setSortInfo','Values','sheets-pivot.varName','sheet.mutation.get-pivot-data-local','getFilterFieldIdByIndex','sheet.mutation.remove-pivot-table','AddField','sheet.mutation.set-pivot-option','sheetName','DisposableCollection','SetPivotSubtotalTypeMutation','drillDown','_updateModelCache','toJSON','RemoveColMutation','Date','sheets-pivot.varpName','fieldsConfig','pushUndoRedo','_subjectCollectionChange','Varp\x20of\x20','118352UDeGju','rowCount','message','#e6ebfb','ΣValue','viewData$','RemoveSheetCommand','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.stdDevpName','UpdateFieldPosition','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheets-pivot.cellDateGroupDisplay.yearMonth','Rectangle','SetFieldFormat','_refRangeHandle','forValue','_updatePivotTableInstanceCache','SHEET_PIVOT_TABLE_PLUGIN','#eceeff','sheet.mutation.set-pivot-value-filter','number','cellToRange','sheet.command.remove-pivot-field','Delete','updatePivotTableRangeInfo','#f4f4f5','addExclusiveRange','SetSubtotalType','setTextInfo','rangeKeyMap','getDataFieldByTableId','SetPivotFilterMutation','UniverProLicense','NUMBER','pageStyle','valid','addPivotField','removeCollectionImp','getFieldListByArea','SetPivotValueFilterMutation','updateCollectionConfig','defaultThemeStyle','getRangeStartEndInfo','getDisplayName','sheets-pivot.cellDateGroupDisplay.quarter','setValue','ClearSelectionAllCommand','some','setOptions','date','PivotMultipleValueId','PivotTableViewDirtyMarkOperation','removePivotField','defineProperty','GrandTotal','sheet.command.move-pivot-field','459158diBtSf','sheets-pivot.minName','generateSetRangeValueMutations','forEach','FontCache','BadReference','getAutoDisplayName','rangeCache','getSubtotal','concat','registerCommand','getValueIndex','count','return\x20','RemovePivotFieldCommand','_deleteModelCache','getSheets','updateFieldSourceInfo','RefRangeService','SetPivotFieldFormatMutation','sheets-pivot.cellDateGroupDisplay.yearQuarter','getInterceptPoints','PivotCellStyleTypeEnum','SheetsSelectionsService','YearMonth','pivotTableId','setConfig','Div0','_queryingMap','DataSyncPrimaryController','_ensureViewDataMap','sheets-pivot.dateGroup.monthDate','_collectionChange$','_initLocale','StdDev\x20of\x20','addRecord','refreshData','targetCellInfo','getAutoFitColumnsMutations','document','getCurrentUnitForType','_pivotConfigChange$','setPivotTableConfig','IResourceManagerService','getTargetByPivotTableId','sheet.command.update-pivot-table-source-range','_initGlobalComputed','PivotViewCellValueTypeEnum','dataFieldsCollection','sheet.mutation.add-pivot-table','LocaleService','OL0IhlR0\x20biITB3hlR0(vlIi0Ki,\x203L6vlIqiB)\x20{\x20\x20\x20\x20hTB\x20{\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20vlIi0Kis0ORMSThATTSB\x20=\x20vlIi0Ki.K3vlh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20RTlxl0oiKKSxi\x20=\x20zZa8.3STKi(ShR6(vlIi0Kis0ORMSThATTSB[m]));\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(!RTlxl0oiKKSxi.Lb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTlxl0oiKKSxi.Lb\x20=\x208Lf6iT(vlIi0Kis0ORMSThATTSB[9]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20lKJRTniT\x20=\x20hB3iRO\x20JRTniTdvR6SvZIR3i\x20!==\x20\x27L0biOl0ib\x27\x20&&\x20KivO\x20l0KhS0IiRO\x20JRTniTdvR6SvZIR3i;\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20IR0hiyh\x20=\x20lKJRTniT\x20?\x20KivO\x20:\x20Hl0bRH;\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20fiKKSxiJRTb\x20=\x20IR0hiyh.__tSKiQ9__.3STKi(vlIi0Kis0ORMSThATTSB[m]);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20fiKKSxi\x20=\x20IR0hiyh.__eiy__.KhTl0xlOB(fiKKSxiJRTb);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0ShLTiJRTb\x20=\x20IR0hiyh.__tSKiQ9__.3STKi(vlIi0Kis0ORMSThATTSB[P]);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0ShLTi\x20=\x20IR0hiyh.__eiy__.KhTl0xlOB(Klx0ShLTiJRTb);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0FSvlb\x20=\x20IR0hiyh.__CiTlOB__(Klx0ShLTi,\x20fiKKSxi,\x203L6vlIqiB);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20bRfSl0\x20=\x20RTlxl0oiKKSxi.bf;\x20\x20\x20\x20\x20\x20\x20\x20OL0IhlR0\x20lKGRfSl0oShI2l0x(RMShhiT0,\x20ReRKh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0\x20=\x20RMShhiT0.Ti3vSIi(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKh\x20=\x20ReRKh.Ti3vSIi(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0MSThK\x20=\x203ShhiT0.K3vlh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKhMSThK\x20=\x202RKh.K3vlh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(!3ShhiT0.l0IvLbiK(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x203ShhiT0\x20===\x202RKh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(3ShhiT0MSThK.vi0xh2\x20<\x20m\x20||\x203ShhiT0MSThK[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20OSvKi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0ZLOOly\x20=\x203ShhiT0MSThK.KvlIi(V).pRl0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKhZLOOly\x20=\x202RKhMSThK.KvlIi(-3ShhiT0MSThK.vi0xh2\x20+\x20V).pRl0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x203ShhiT0ZLOOly\x20===\x202RKhZLOOly;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vih\x20bRfSl0FSvlb\x20=\x20(bRfSl0\x20&&\x20bRfSl0.vi0xh2)\x20?\x20bRfSl0.KRfi((bfshif)\x20=>\x20lKGRfSl0oShI2l0x(bfshif,\x20vRIShlR0.2RKh0Sfi))\x20:\x20hTLi;\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(vRIShlR0.2RKh0Sfi\x20===\x20\x27vRISv2RKh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bRfSl0FSvlb\x20=\x20hTLi;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20CSvlb\x20=\x20Klx0FSvlb\x20&&\x20bRfSl0FSvlb;\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSvlb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fiKKSxi:\x20RTlxl0oiKKSxi,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IShI2\x20(iTTRT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSvlb:\x20OSvKi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fiKKSxi:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','filterFields','getTextInfo','viewUpdate$','sheet.mutation.send-pivot-data-local','setPivotTable','sourceRangeInfo','_globalComputingSrv','_host','DEFAULT_WORKSHEET_COLUMN_COUNT','SetPivotTableConfig','updateValuePosition','new','updatePivotSource','setRangeKeyMap','Existing','textInfo','unshiftString','sheet.mutation.set-pivot-collapse','sheet.command.add-pivot-table-with-config','UpdateFieldPositionMutation','node','sheets-pivot.cellDateGroupDisplay.hour','AddPivotTableCommand','Year','CELL_CONTENT','sheets-pivot.blank','versions','getPivotTableIdByCell','UpdateValuePosition','Max\x20of\x20','fields','registerPluginResource','_collectionConfigModel','size','sideEffectUpdateWorkerCache','ReleaseType','isDateValue','getDataFieldByDataFieldId','grandTotal','onCommandExecuted','_initPivotDataGetListener','sheet.mutation.add-group-collection','_univerInstanceService','PivotSubtotalTypeEnum','IUndoRedoService','_textInfo','sheet.command.set-pivot-filter','setPivotSetting','AddPivotFieldMutation','stdDevp','_onRefRangeChange','collections','48MBaJlm','valueFilter','tableFieldId','registerDirtyService','hasField','length','setPivotInitCompleted','format','getLastRow','setDateType','updateViewData','getPivotTableInfo','mergeWorksheetSnapshotWithDefault','_ensurePivotMap','notExecuteFormula','Injector','addDirtyPivotTable','(Blank)','_initSnapshot','formJSON','body','sheet.operation.pivot-table-view-formula-mark-dirty','updatePivotTableMatrixInfo','createAsyncInterceptorKey','getPivotCellInfo','_model','UniverSheetsFilter','uniqueDataFieldName','sheets-pivot.config','isErrorValue','LS_CONFIG_KEY','updateRangeKeyMap','_globalSubject','startColumn','rowHeaderMap','cornerInfo','rangesInfo','collection','fieldIds','getSourceName','DependentOn','isColMultiMeasure','fromJSON','MonthDate','deleteUnitId','18SLDQEs','adjustSheetCellData','_initRegisterCommand','setSourceName','DataField','sortInfo','_initClearSelectionCommandInterceptor','_initDataSendListener','getPivotInfoByLicense','getViewData','_sheetsPivotTableService','@univerjs/engine-render','getPivotTableInstance','getDirtyInfo','InterceptorEffectEnum','getPivotItemRenderInfoCache','sheet.mutation.pivot-update-field-source-info','createValueField','_pivotInitCompleted$','endRow','PivotDateGroupFieldDateTypeEnum','_initViewModelBySheetInterceptor','getFormatInfo','intercept','error','sheets-pivot.dateGroup.hour','AddPivotTableWithConfig','CommandType','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','addCollection','existing','getFieldDataType','level','row','value','setLabelFilterInfo','pivotTableConfigs','range','PivotErrorTypeEnum','measure','deleteDataField','BehaviorSubject','_ensurePivotItemRenderValueMatrixCache','SheetsPivotTableConfigModel','filter','_dataSyncPrimaryController','getFieldInfo','getRangeKey','getDataFieldByRangeKey','leafStyle','AddPivotTableWithConfigCommand','sheet.command.update-date-group','getFontStyleString','SetPivotPositionMutation','next','getTextSize','getOriginFieldId','iterateFieldDim','RenameField','movePivotField','collectionChange$','SetWorksheetColWidthMutation','updateRenderCache','subUnitId','removeCollections','MAX_SAFE_INTEGER','_viewData$','_sheetsPivotTableAdaptorModel','DEFAULT_WORKSHEET_ROW_COUNT','addFieldWithSourceId','sheet.command.set-pivot-fields-config','UniverInstanceType','updateDirtyPivotTable','oldMatrix','removeValueFilterInfo','max','sheet.command.add-pivot-field','isNaN','getDataFieldManager','PivotTableChangeTypeEnum','_sheetsPivotDataSourceModel','_viewUpdate$','PivotDisplayDataType','setSubtotalType','_sheetsPivotTableConfigModel','params','DIV_BY_ZERO','ICommandService','delete','CustomCommandExecutionError','queryDirtyPivotTable','object','_initConfig','register','StdDevp\x20of\x20','subscribe','sheet.command.set-pivot-field-setting','markDirty$','originalFieldId','sheets-pivot.cellDateGroupDisplay.minute','setPivotFilter','SheetsPivotRPCService','MoveRangeMutation','name','excelDateToUnixMilliseconds','@univerjs/core','colStyle','IConfigService','SheetInterceptorService','unionPivotViewRange','onQueryEnd','UpdatePivotFieldSettingCommand','unshift','Collapse','sheets-pivot.productName','UniverRpc','SetSheetsFilterRangeMutation','collectionConfig','_requestResolvers','generateHexNumber','batch','sheets-pivot.dateGroup.minute','merge','matrix','_configService','leftOffset','serializeRangeWithSpreadsheet','Column\x20','_localeService','getSheetCommandTarget','getMatrix','isText','SetOptions','SheetsPivotTableAdaptorModel','getSortInfo','amd','sheet.command.set-pivot-collapse','valueFields','_pivotTableMatrixInfo','_getAutoName','UniverProSheetsPivot','addPivotTableWithConfig','isBaseGroupField','SetPivotFilter','SetPivotFieldsConfigCommand','dataFields','_initPivotTextInfo','NAME','DateGroupField','UniverSheets','@univerjs-pro/engine-pivot','setName','fontRenderExtension','sheets-pivot.sumName','markDirty','getRefRangeMutationsByMoveRange','UpdatePivotValuePositionCommand','clearRenderCache','onStarting','getSheetId','PivotTableFiledAreaEnum','getCurrentSelections','RemoveSheetMutation','PivotDataFieldDataTypeEnum','_viewData','PivotView','executeCommand','_getPivotAppliedRanges','subtotal','getSheetFeatureLimit','Tools','sheets-pivot.grandTotal','product','969340yZjEbu','Set','sheet.command.pivot-drill-down','getValue','MIN_SAFE_INTEGER','None','setCollapse','refreshDataField','getTableFieldById','endCollectChangeset','@univerjs/sheets','isValue','rgb(255,255,255)','pageRanges','sheet.mutation.set-pivot-filter','getFullYear','NotName','areaInfo','colCount','update','sheets-pivot.countName','STRING','SetPivotCollapseMutation','isArray','Column','getConfig','setPivotCollapse','_fieldsCollectionChange$','getRowCount','SHEET_PIVOT_EXCLUSIVE_ID','originTargetInfo','Module','colHeaderMap','contains','@univerjs-pro/license','SetSortInfo','createLabelField','UpdatePivotTableSourceRangeCommand','isBottomTotal','SetPivotSort','UpdateSource','PivotTableOperationEnum','Var\x20of\x20','updateConfigCache','_globalComputedStartHelpFunc','dataRangeInfo','splice','_commandService','getPivotTableCellData','generateRandomId','getCellMatrix','AddPivotTableMutation','getColCount','_sheetsSelectionsService','setRangeValueUndoMutation','numberToABC','38QzbjMz','getPivotTableModelConfig','add','getDataFieldId','getPivotDirtyViewInfo','Filter','prototype','isDateGroupField','getOwnPropertyDescriptor','width','getTypeOfUnitDisposed$','5225193FjnbGA','RemovePivotField','_pivotRenderInfoCache','_init','startCollectChangeset','UpdatePivotSource','Min\x20of\x20','REF','addField','resetArea','sequenceExecute','data','split','workbook\x20is\x20not\x20found','interceptCommand','filterId','rowFields','_injector','subTotalStyle','displayName','PivotDrillDownCommand','sheet.command.set-pivot-value-filter','_subjectViewChange','lastCol','getFieldPositionInfoById','MovePivotTableCommand','RemoveRowMutation','_subjectFieldsCollectionChange','Subtotal','deleteField','removeDataField','getValuePosition','asyncInterceptor','sheets-pivot.dateGroup.quarter','getSubUnitPivotMatrix','Panel','UNIVER_SHEET','_pivotRenderValueMatrixCache','redos','ManualFilter','valueIndex','Subject','maxDate','values','Count\x20of\x20','Disposable','triggerDirtyFeature','getActiveSheet','intersects','applyChangeSet','1518873mpzRPf','removeValueFilterInfoByValueFieldId','getUnit','LifecycleService','broadcastCollectionChange','getName','getHeaderMapItem','sheets-pivot.dateGroup.yearMonthDate','_initUnitDisposed','MUTATION','getGroupFieldsInfoByIds','sheet.mutation.update-date-group','addDataFieldWithoutUnitInfo','_globalComputedEndHelpFunc','Average\x20of\x20','NUM','UpdatePivotFieldSourceInfoMutation','reduce','_ensurePivotTableMatrixInfo','cornerRanges','sheet.mutation.set-pivot-position','sheet.mutation.send-pivot-view-local','unitId','UpdateDateGroupCommand','SetValueFilter','headerMap','pivotConfigChange$','_pivotTableInstanceCache','getFieldFormat','_sheetsPivotRpcService','sheets-pivot.dateGroup.yearQuarter','panel','sheet.mutation.send-init-pivot-text-local','sheets-pivot.columnName','Add','getStyles','sheets-pivot.cellDateGroupDisplay.yearMonthDate','handleMoveRange','disposableCollection','colRanges','getSheetBySheetId','SetPivotSetting','_pivotTableRangeInfo','FORCE_STRING','INTERCEPTOR_POINT','fieldId','_refRangeService','countNums','entries','pbt','fieldsCollectionChange$','RANGE_TYPE','createInterceptorKey','startRow','_initCommandInterceptListener','fetchThroughInterceptors','dimension','getColumnWidth','from','addPivotTable','getDate','getSubUnitPivotRenderCache','getSubUnitPivotConfigs','_resourceManagerService','Quarter','CellValueType','pluginName','col','column','has','getAutoDisplayNameFunction','IExclusiveRangeService','slice','setPivotSort','dataFieldManagerConfig','getAdjustRangesPosition','isFeatureAuthorizedWithinTime','resetPivotTable','find','updateAllDisplayName','onQueryStart','_featureCalculationManagerService','call','Month','Value','ResetPivotTable','dataStyle','asObservable','sheet.command.reset-pivot-fields-config','getIntersectsPivotTable','@univerjs/rpc','InsertSheetCommand','columnFields','info','PivotCallbackEnum','dateType','includes','SetValuePivotFilter','generateNewSheetName','removeField','getCollection','single','deepClone','isEmpty','sheets-pivot.maxName','registerRefRange','InsertSheetMutation','function','ClearSelectionContentCommand','Optional','getformat','274gXAcUv','push','replace','getRangeKeyList','SetPivotFilterCommand','pivotInitCompleted$','getColumnCount','valuePosition','getUnitId','RenamePivotFieldMutation','_configVersion$','MovePivotFieldCommand','result','Inject','sheet.mutation.remove-group-collection','_sheetInterceptorService','_deletePivotTableInstanceCache','realDeleteValue','oldRangeInfo','AddPivotField','handleSourceRangeChange','ErrorType','Style','getMatrixFromRunTimeData','fetchThroughAsyncInterceptors','RemoveSheetsFilterMutation','Row','rowRanges','paths','ObjectMatrix','cellValue','getMonth','RemovePivotFieldMutation','@univerjs/sheets-filter','Range','undos','SetPivotOptionMutation','createCollectionWithDataRange','FieldsCollection','#FFFFFF','numfmt','sheets-pivot.cellDateGroupDisplay.hourMinute','_markDirty$','NotNumber','getFieldIds','UniverSheetsPivotTablePlugin','sheets-pivot.dateGroup.month','min','setRangeValueRedoMutation','sheets-pivot.emptyPivot.column','setValueFilterInfo','YearMonthDate','MovePivotField','getDataFieldBySourceName','#1d32e9','renameField','getUpdateRangeDeleteIds','sheet.mutation.set-pivot-sort-info'];_0x3b72=function(){return _0x4015ab;};return _0x3b72();}(function(_0x487eea,_0x43d3da){const _0x4aaf2f=_0x1cd0,_0x1b1a91=_0x487eea();while(!![]){try{const _0x39ce7d=parseInt(_0x4aaf2f(0x2af))/0x1*(-parseInt(_0x4aaf2f(0x203))/0x2)+-parseInt(_0x4aaf2f(0x240))/0x3+-parseInt(_0x4aaf2f(0x380))/0x4+parseInt(_0x4aaf2f(0x1cb))/0x5*(-parseInt(_0x4aaf2f(0x44d))/0x6)+parseInt(_0x4aaf2f(0x3b8))/0x7*(parseInt(_0x4aaf2f(0x420))/0x8)+-parseInt(_0x4aaf2f(0x20e))/0x9+parseInt(_0x4aaf2f(0x301))/0xa;if(_0x39ce7d===_0x43d3da)break;else _0x1b1a91['push'](_0x1b1a91['shift']());}catch(_0x379bd3){_0x1b1a91['push'](_0x1b1a91['shift']());}}}(_0x3b72,0x4de52),function(_0x16a1c9,_0x285c40){const _0x4ef60e=_0x1cd0;typeof exports==_0x4ef60e(0x4a8)&&typeof module<'u'?_0x285c40(exports,require(_0x4ef60e(0x1b4)),require(_0x4ef60e(0x187)),require('@univerjs/engine-formula'),require(_0x4ef60e(0x1d5)),require(_0x4ef60e(0x357)),require(_0x4ef60e(0x1ed)),require(_0x4ef60e(0x2d0)),require(_0x4ef60e(0x29a)),require(_0x4ef60e(0x458))):typeof define==_0x4ef60e(0x2ab)&&define[_0x4ef60e(0x1a5)]?define([_0x4ef60e(0x322),_0x4ef60e(0x1b4),_0x4ef60e(0x187),'@univerjs/engine-formula',_0x4ef60e(0x1d5),'rxjs',_0x4ef60e(0x1ed),'@univerjs/sheets-filter','@univerjs/rpc',_0x4ef60e(0x458)],_0x285c40):(_0x16a1c9=typeof globalThis<'u'?globalThis:_0x16a1c9||self,_0x285c40(_0x16a1c9[_0x4ef60e(0x1aa)]={},_0x16a1c9['UniverProEnginePivot'],_0x16a1c9['UniverCore'],_0x16a1c9['UniverEngineFormula'],_0x16a1c9[_0x4ef60e(0x1b3)],_0x16a1c9[_0x4ef60e(0x357)],_0x16a1c9[_0x4ef60e(0x3a0)],_0x16a1c9[_0x4ef60e(0x43a)],_0x16a1c9[_0x4ef60e(0x191)],_0x16a1c9['UniverEngineRender']));}(this,function(_0xc194b8,_0x1dcf85,_0x4f5d51,_0x2f1667,_0x55067d,_0x8145ab,_0x25d21e,_0x32dd55,_0x54165e,_0x7d97b8){'use strict';const _0x4d3dd6=_0x1cd0;var _0x43bea4=Object[_0x4d3dd6(0x3b5)],_0x1e48e4=(_0x3010f4,_0x18f126,_0x3c004b)=>_0x18f126 in _0x3010f4?_0x43bea4(_0x3010f4,_0x18f126,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c004b}):_0x3010f4[_0x18f126]=_0x3c004b,_0x8a8b01=(_0x3ec7c6,_0x3d9b7b,_0xfbe7cf)=>_0x1e48e4(_0x3ec7c6,typeof _0x3d9b7b!=_0x4d3dd6(0x310)?_0x3d9b7b+'':_0x3d9b7b,_0xfbe7cf);const _0x529fa9=Number[_0x4d3dd6(0x318)](0x683f1e11),_0x35a5cf=0x10,_0x42e383=0x1,_0x51ad8b='SHEET_PIVOT_TABLE_PLUGIN',_0x124551=0x1,_0x23b97d='rgb(240,241,243)',_0x5ccec5=_0x4d3dd6(0x1d7),_0x21064a='#b2b2b2',_0x18f46d=_0x4d3dd6(0x399),_0x3be83b=_0x4d3dd6(0x399),_0x43c1b4=_0x4d3dd6(0x392),_0x5bbcc3=_0x4d3dd6(0x2e5),_0x26b110=_0x4d3dd6(0x2d6),_0x150450=_0x4d3dd6(0x2f1),_0x5d155d=_0x4d3dd6(0x2e5),_0x34a991=_0x4d3dd6(0x2d6),_0x5a5deb=_0x4d3dd6(0x383),_0x44d257=0xe,_0x192519=0x6;var _0xab386e=(_0x255de8=>(_0x255de8[_0x4d3dd6(0x3fa)]=_0x4d3dd6(0x46b),_0x255de8[_0x4d3dd6(0x33a)]=_0x4d3dd6(0x3f7),_0x255de8))(_0xab386e||{});const _0x28e0c7={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x5e9470=0x1e,_0x1e4b45={'b':{'s':0x1,'cl':{'rgb':_0x21064a}},'l':{'s':0x1,'cl':{'rgb':_0x21064a}},'r':{'s':0x1,'cl':{'rgb':_0x21064a}},'t':{'s':0x1,'cl':{'rgb':_0x21064a}}},_0x3d10ea={'bg':{'rgb':_0x23b97d},'ht':0x2,'vt':0x2,'tb':0x1},_0x5e43b9={'bg':{'rgb':_0x5ccec5},'ht':0x2,'vt':0x2,'tb':0x1},_0xee2008={'rowStyle':{'bg':{'rgb':_0x5a5deb},'bd':_0x1e4b45,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5d155d},'bd':null,'cl':{'rgb':_0x34a991},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1e4b45,'bg':{'rgb':_0x150450},'vt':0x2},'cornerStyle':{'bd':_0x1e4b45,'bg':{'rgb':_0x43c1b4},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1e4b45,'bg':{'rgb':_0x18f46d},'vt':0x2},'leafStyle':{'bd':_0x1e4b45,'bg':{'rgb':_0x3be83b},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5bbcc3},'cl':{'rgb':_0x26b110},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1e4b45,'vt':0x2}};function _0x1c3091(_0x12fd24,_0x370896,_0x30136b){const _0x48d151=_0x4d3dd6,_0x45a701=_0x12fd24['get'](_0x4f5d51['LocaleService']),_0xba10f5=_0x30136b[_0x48d151(0x21a)]('_');switch(_0x370896){case _0x1dcf85[_0x48d151(0x461)]['Year']:return _0x45a701['t']('sheets-pivot.cellDateGroupDisplay.year',..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x32e)]:return _0x45a701['t'](_0x48d151(0x181),..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x36a)]:return _0x45a701['t'](_0x48d151(0x401),..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x366)]:return _0x45a701['t'](_0x48d151(0x2d8),..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x37a)]:return _0x45a701['t']('sheets-pivot.cellDateGroupDisplay.date',..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x293)]:return _0x45a701['t'](_0x48d151(0x387),..._0xba10f5);case _0x1dcf85['PivotDateGroupFieldDateTypeEnum']['Quarter']:return _0x45a701['t'](_0x48d151(0x3ac),..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x3d0)]:return _0x45a701['t'](_0x48d151(0x38b),..._0xba10f5);case _0x1dcf85['PivotDateGroupFieldDateTypeEnum'][_0x48d151(0x2e2)]:return _0x45a701['t'](_0x48d151(0x264),..._0xba10f5);case _0x1dcf85[_0x48d151(0x461)][_0x48d151(0x34f)]:return _0x45a701['t'](_0x48d151(0x3cc),..._0xba10f5);}return'';}const _0x1c5264=(_0x472c08,_0x1d3eab,_0x35ee6f,_0x1f4263)=>{const _0x18d890=_0x4d3dd6;let _0x182ae0;const _0x1b1cf6=_0x472c08['get'](_0x4f5d51['IUniverInstanceService'])['getCurrentUnitForType'](_0x4f5d51['UniverInstanceType'][_0x18d890(0x232)]);if(!_0x1b1cf6)return null;const _0x2ebdab=_0x1b1cf6[_0x18d890(0x263)]();let _0x1f77da;if(_0x35ee6f&&(_0x1f77da=_0x2ebdab[_0x18d890(0x3ad)](_0x35ee6f)),_0x1d3eab!=null&&_0x1d3eab['v']||(_0x1d3eab==null?void 0x0:_0x1d3eab['v'])===0x0){_0x182ae0||(_0x182ae0={});const _0x12a536=_0x13eb43(_0x1d3eab['v']);typeof _0x12a536=='number'?_0x182ae0['t']=_0x4f5d51['CellValueType'][_0x18d890(0x3a1)]:typeof _0x12a536==_0x18d890(0x325)&&(_0x182ae0['t']=_0x4f5d51[_0x18d890(0x281)][_0x18d890(0x1e0)]),_0x182ae0['v']=_0x12a536;}if((_0x1d3eab!=null&&_0x1d3eab['i']||(_0x1d3eab==null?void 0x0:_0x1d3eab['i'])===0x0)&&(_0x182ae0||(_0x182ae0={}),_0x182ae0['fi']=_0x1d3eab['i']),_0x1d3eab!=null&&_0x1d3eab['s']&&(_0x182ae0||(_0x182ae0={}),_0x182ae0[_0x18d890(0x271)]=_0x1d3eab['s']),_0x35ee6f&&(_0x182ae0||(_0x182ae0={}),_0x182ae0['s']=_0x1f77da),_0x1f4263&&_0x182ae0!=null&&_0x182ae0['v']&&_0x182ae0[_0x18d890(0x271)]!==_0x1dcf85[_0x18d890(0x3ce)][_0x18d890(0x3b6)]&&_0x182ae0[_0x18d890(0x271)]!==_0x1dcf85['PivotCellStyleTypeEnum'][_0x18d890(0x22a)]){const _0x6ee169=String(_0x182ae0['v']),{dateType:_0x23a856}=_0x1f4263;_0x182ae0['v']=_0x1c3091(_0x472c08,_0x23a856,_0x6ee169),_0x182ae0['t']=_0x4f5d51['CellValueType'][_0x18d890(0x1e0)];}return _0x182ae0;},_0x5e69c7=(_0x3fd5f5,_0x3315f9,_0x8ea0fb,_0x51555a)=>{const _0x35ed10=_0x4d3dd6;var _0x396a82,_0x4e0d78,_0x271042,_0x42735f,_0xb3eb5a,_0x346c95,_0x557119,_0x12f29b,_0x45088e,_0x3a723e,_0x4fbaba,_0x4fc6e6,_0x4d7a0c,_0x4daf4b;const _0x37e206=_0x8ea0fb[_0x35ed10(0x3dd)],{cornerView:_0x16cea0,rowView:_0x2434cd,colView:_0x254472,dataView:_0x2a7d51,pageView:_0x21b157,formatMap:_0x2b846f,groupInfo:_0x548a5b}=_0x3315f9,{row:_0x1895ad,col:_0x5a31d6}=_0x37e206,_0x22ad9b=new _0x4f5d51[(_0x35ed10(0x2cc))](),_0x17d6b0={},_0x258daf={},_0x1a8d75={},_0xf9c20c={},_0x431c1e={};let _0x20da6b=_0x1895ad,_0x1e16b9=_0x5a31d6;Object[_0x35ed10(0x350)](_0x21b157[_0x35ed10(0x219)])[_0x35ed10(0x3bb)](_0x5abf51=>{const _0x4a0c46=_0x35ed10;Object[_0x4a0c46(0x350)](_0x21b157['data'][Number(_0x5abf51)])['forEach'](_0x21d805=>{const _0x332e9e=_0x4a0c46,_0x3d4990={..._0x21b157[_0x332e9e(0x219)][Number(_0x5abf51)][Number(_0x21d805)]};_0x22ad9b['setValue'](Number(_0x5abf51)+_0x20da6b,Number(_0x21d805)+_0x1e16b9,_0x1c5264(_0x3fd5f5,_0x3d4990,_0xee2008[_0x332e9e(0x3a2)]));});});const _0x2e7ef5=Object[_0x35ed10(0x350)](_0x21b157['data'])[_0x35ed10(0x425)];_0x20da6b+=_0x2e7ef5+(_0x2e7ef5?_0x124551:0x0);const _0x49d554=_0x16cea0[_0x35ed10(0x1e7)](),_0x1f23d2=_0x16cea0[_0x35ed10(0x1ff)]();for(let _0x1472fa=0x0;_0x1472fa<_0x49d554;_0x1472fa++)for(let _0x594cf2=0x0;_0x594cf2<_0x1f23d2;_0x594cf2++){const _0x5559d1={...(_0x4e0d78=(_0x396a82=_0x16cea0[_0x35ed10(0x219)])==null?void 0x0:_0x396a82[_0x1472fa])==null?void 0x0:_0x4e0d78[_0x594cf2]};_0x5559d1&&((_0x271042=_0x2434cd[_0x35ed10(0x259)][_0x594cf2])!=null&&_0x271042['isValue'])&&_0x594cf2===_0x1f23d2-0x1&&_0x1472fa===_0x49d554-0x1&&(_0x5559d1['v']=''+_0x51555a[_0x35ed10(0x368)]),_0x22ad9b['setValue'](_0x1472fa+_0x20da6b,_0x594cf2+_0x1e16b9,_0x1c5264(_0x3fd5f5,_0x5559d1,_0xee2008['cornerStyle']));}for(let _0x2a4cdc=0x0;_0x2a4cdc<_0x16cea0[_0x35ed10(0x29d)]['length'];_0x2a4cdc++)_0x16cea0[_0x35ed10(0x29d)][_0x2a4cdc]&&(_0x1a8d75[''+(_0x2a4cdc+_0x1e16b9)]=_0x16cea0[_0x35ed10(0x29d)][_0x2a4cdc]);_0x1e16b9+=_0x1f23d2;const _0x43a93b=_0x254472[_0x35ed10(0x259)],_0x256049=_0x254472[_0x35ed10(0x428)]()>=0x0?_0x254472[_0x35ed10(0x428)]()+0x1:0x0,_0x394b87=_0x254472[_0x35ed10(0x30a)]()>=0x0?_0x254472['getLastCol']()+0x1:0x0;for(let _0xc9cb78=0x0;_0xc9cb78<_0x394b87;_0xc9cb78++){for(let _0x42079c=0x0;_0x42079c<_0x256049;_0x42079c++){const _0x1243b8={...(_0xb3eb5a=(_0x42735f=_0x254472[_0x35ed10(0x219)])==null?void 0x0:_0x42735f[_0x42079c])==null?void 0x0:_0xb3eb5a[_0xc9cb78]},_0x4481cc=(_0x346c95=_0x43a93b[_0x42079c])==null?void 0x0:_0x346c95[_0x35ed10(0x422)],_0x4d6e1d=_0x2b846f[_0x4481cc],_0x5e73be=_0x548a5b[_0x4481cc];_0x1243b8&&(_0x1243b8['v']=_0x2590fc(_0x1243b8,_0x42079c===0x0&&((_0x557119=_0x254472['getHeaderMapItem'](_0xc9cb78+0x1))==null?void 0x0:_0x557119[_0x35ed10(0x1d6)]),_0x4d6e1d,_0x51555a));let _0x4f9059;_0x4d6e1d?_0x4f9059={..._0xee2008[_0x35ed10(0x188)],'n':{'pattern':_0x4d6e1d}}:_0x4f9059={..._0xee2008[_0x35ed10(0x188)]},_0x22ad9b[_0x35ed10(0x3ad)](_0x42079c+_0x20da6b,_0xc9cb78+_0x1e16b9,_0x1c5264(_0x3fd5f5,_0x1243b8,_0x4f9059,_0x5e73be));}_0x254472[_0x35ed10(0x29d)][_0xc9cb78]&&(_0x258daf[''+(_0xc9cb78+_0x1e16b9)]=_0x254472[_0x35ed10(0x29d)][_0xc9cb78]),_0x254472[_0x35ed10(0x259)][_0xc9cb78+0x1]&&(_0x431c1e[''+(_0xc9cb78+_0x20da6b+0x1)]=_0x254472['headerMap'][_0xc9cb78+0x1]);}_0x20da6b+=_0x49d554;const _0x57cfc7=_0x2434cd[_0x35ed10(0x259)],_0x571fd7=_0x2434cd[_0x35ed10(0x428)]()>=0x0?_0x2434cd[_0x35ed10(0x428)]()+0x1:0x0,_0x4dc54b=_0x2434cd[_0x35ed10(0x30a)]()>=0x0?_0x2434cd[_0x35ed10(0x30a)]()+0x1:0x0;for(let _0x4dd3d3=0x0;_0x4dd3d3<_0x571fd7;_0x4dd3d3++){for(let _0x117726=0x0;_0x117726<_0x4dc54b;_0x117726++){const _0x51f5d9={...(_0x45088e=(_0x12f29b=_0x2434cd['data'])==null?void 0x0:_0x12f29b[_0x4dd3d3])==null?void 0x0:_0x45088e[_0x117726]},_0x285f52=(_0x3a723e=_0x57cfc7[_0x117726])==null?void 0x0:_0x3a723e[_0x35ed10(0x422)],_0x464173=_0x2b846f[_0x285f52],_0x28f6cf=_0x548a5b[_0x285f52];_0x51f5d9&&(_0x51f5d9['v']=_0x2590fc(_0x51f5d9,!0x1,_0x464173,_0x51555a));let _0x12e547;_0x2434cd[_0x35ed10(0x29d)][_0x4dd3d3]['level']===_0x2434cd[_0x35ed10(0x1ff)]()?_0x12e547=_0xee2008[_0x35ed10(0x47e)]:_0x2434cd[_0x35ed10(0x29d)][_0x4dd3d3][_0x35ed10(0x1f1)]?_0x12e547=_0x2434cd['info'][_0x4dd3d3][_0x35ed10(0x46d)]===0x0?_0xee2008[_0x35ed10(0x412)]:_0xee2008['subTotalStyle']:_0x12e547=_0xee2008['rowStyle'],_0x464173&&(_0x12e547={..._0x12e547,'n':{'pattern':_0x464173}}),_0x22ad9b[_0x35ed10(0x3ad)](_0x4dd3d3+_0x20da6b,_0x117726+_0x5a31d6,_0x1c5264(_0x3fd5f5,_0x51f5d9,_0x12e547,_0x28f6cf));}_0x2434cd[_0x35ed10(0x29d)][_0x4dd3d3]&&(_0x17d6b0[''+(_0x4dd3d3+_0x20da6b)]=_0x2434cd[_0x35ed10(0x29d)][_0x4dd3d3]),_0x2434cd[_0x35ed10(0x259)][_0x4dd3d3]&&(_0xf9c20c[''+(_0x4dd3d3+_0x5a31d6)]=_0x2434cd[_0x35ed10(0x259)][_0x4dd3d3]);}const _0xc51bce=_0x2a7d51[_0x35ed10(0x1e7)](),_0x28336e=_0x2a7d51[_0x35ed10(0x1ff)]();for(let _0x2d10fb=0x0;_0x2d10fb<_0xc51bce;_0x2d10fb++)for(let _0x554157=0x0;_0x554157<_0x28336e;_0x554157++){const _0x3a5456={...(_0x4fc6e6=(_0x4fbaba=_0x2a7d51['data'])==null?void 0x0:_0x4fbaba[_0x2d10fb])==null?void 0x0:_0x4fc6e6[_0x554157]};let _0x24c25e;_0x2434cd[_0x35ed10(0x29d)][_0x2d10fb][_0x35ed10(0x1f1)]?_0x24c25e=_0x2434cd['info'][_0x2d10fb][_0x35ed10(0x46d)]===0x0?_0xee2008[_0x35ed10(0x412)]:_0xee2008['subTotalStyle']:_0x24c25e=_0xee2008[_0x35ed10(0x296)];const _0x16ccdf=_0x2434cd['info'][_0x2d10fb][_0x35ed10(0x236)],_0x1c603a=_0x254472[_0x35ed10(0x29d)][_0x554157][_0x35ed10(0x236)],_0x42b215=Math['max'](_0x16ccdf,_0x1c603a),_0x4e62dc=_0x8ea0fb[_0x35ed10(0x37c)][_0x35ed10(0x1a7)][_0x35ed10(0x3c1)]();let _0x490afa='';_0x42b215<0x0?_0x490afa=(_0x4d7a0c=_0x4e62dc[0x0])!=null?_0x4d7a0c:'':_0x490afa=(_0x4daf4b=_0x4e62dc[_0x42b215])!=null?_0x4daf4b:'';const _0xc0d8=_0x2b846f[_0x490afa];_0xc0d8&&(_0x24c25e={..._0x24c25e,'n':{'pattern':_0xc0d8}}),_0x22ad9b[_0x35ed10(0x3ad)](_0x2d10fb+_0x20da6b,_0x554157+_0x1e16b9,_0x1c5264(_0x3fd5f5,_0x3a5456,_0x24c25e));}return{'valueMatrix':_0x22ad9b,'rowInfo':_0x17d6b0,'colInfo':_0x258daf,'cornerInfo':_0x1a8d75,'rowHeaderMap':_0xf9c20c,'colHeaderMap':_0x431c1e};};function _0x2590fc(_0x4f15cd,_0x5d7a03,_0x2815a2,_0x59f71b){const _0x2ebffa=_0x4d3dd6;let _0x26e80e=_0x4f15cd['v'];_0x5d7a03&&(_0x26e80e=''+_0x59f71b[_0x2ebffa(0x368)]);const _0x5a1231=_0x4f15cd['t']&&(_0x4f15cd['t']&_0x1dcf85[_0x2ebffa(0x3e7)][_0x2ebffa(0x352)])>0x0;if(_0x5a1231&&(_0x26e80e=''+_0x59f71b[_0x2ebffa(0x405)]),_0x4f15cd['s']===_0x1dcf85[_0x2ebffa(0x3ce)][_0x2ebffa(0x22a)]){let _0x2931eb=_0x26e80e,_0x573454='';_0x1dcf85[_0x2ebffa(0x31a)](_0x26e80e)&&(_0x2931eb=_0x26e80e[_0x2ebffa(0x341)],_0x573454=_0x26e80e[_0x2ebffa(0x46f)]);const _0x423055=_0x2815a2&&!_0x5a1231?_0x4f5d51[_0x2ebffa(0x2d7)][_0x2ebffa(0x427)](_0x2815a2,Number(_0x2931eb)):_0x2931eb;_0x573454?_0x26e80e=_0x423055+'\x20'+_0x573454:_0x26e80e=_0x423055+'\x20'+_0x59f71b[_0x2ebffa(0x326)];}else _0x4f15cd['s']===_0x1dcf85['PivotCellStyleTypeEnum'][_0x2ebffa(0x3b6)]&&(_0x26e80e=_0x26e80e+'\x20'+_0x59f71b[_0x2ebffa(0x1c9)]);return _0x26e80e;}function _0x13eb43(_0x54a07d){const _0x5e0de3=_0x4d3dd6;if(_0x1dcf85[_0x5e0de3(0x43d)](_0x54a07d)){const {errorType:_0x1ee659}=_0x54a07d;switch(_0x1ee659){case _0x1dcf85[_0x5e0de3(0x473)][_0x5e0de3(0x3d3)]:return _0x2f1667[_0x5e0de3(0x2c4)][_0x5e0de3(0x4a3)];case _0x1dcf85[_0x5e0de3(0x473)][_0x5e0de3(0x2da)]:return _0x2f1667[_0x5e0de3(0x2c4)][_0x5e0de3(0x24f)];case _0x1dcf85['PivotErrorTypeEnum']['NotFunction']:return _0x2f1667['ErrorType']['NAME'];case _0x1dcf85['PivotErrorTypeEnum'][_0x5e0de3(0x1db)]:return _0x2f1667[_0x5e0de3(0x2c4)][_0x5e0de3(0x1b1)];case _0x1dcf85[_0x5e0de3(0x473)][_0x5e0de3(0x3bd)]:return _0x2f1667[_0x5e0de3(0x2c4)][_0x5e0de3(0x215)];}}return _0x54a07d;}function _0x2b9699(_0x6d538,_0x2cfdb5,_0x5e084b=!0x1,_0x552ad4=!0x1){const _0x362f8f=_0x4d3dd6,{data:_0x1f43a9}=_0x2cfdb5,_0x4c7426=_0x2cfdb5[_0x362f8f(0x1e7)](),_0x27d224=_0x2cfdb5['getColCount']();if(_0x4c7426<=0x0||_0x27d224<=0x0)return[];const _0x3e129b=_0x2cfdb5[_0x362f8f(0x30a)](),_0xb9e3ae=_0x2cfdb5[_0x362f8f(0x428)](),_0x49d8cc=_0x552ad4?_0xb9e3ae>=0x0?_0xb9e3ae+0x1:0x0:_0x4c7426,_0x1d45dc=_0x552ad4?_0x3e129b>=0x0?_0x3e129b+0x1:0x0:_0x27d224,{row:_0x240012,col:_0x1cd27c}=_0x6d538,_0x3d974b=_0x240012,_0x3e2350=_0x1cd27c;if(_0x5e084b){const _0x3e2951=[];for(const [_0x1d5afd,_0x33795a]of Object[_0x362f8f(0x270)](_0x1f43a9))for(const [_0x24b0d8,_0x56e6e5]of Object[_0x362f8f(0x270)](_0x33795a))_0x3e2951[_0x362f8f(0x2b0)](_0x4f5d51[_0x362f8f(0x395)](_0x3d974b+Number(_0x1d5afd),_0x3e2350+Number(_0x24b0d8)));return _0x3e2951;}else{const _0xdd1f13=_0x552ad4?_0x49d8cc>0x0?0x1:0x0:0x1,_0x1975b3=_0x552ad4?_0x1d45dc>0x0?0x1:0x0:0x1,_0xf97838=_0x240012+_0x49d8cc-_0xdd1f13,_0x2b36f5=_0x1cd27c+_0x1d45dc-_0x1975b3;return[{'startRow':_0x3d974b,'startColumn':_0x3e2350,'endRow':_0xf97838,'endColumn':_0x2b36f5}];}}const _0x57486b='SHEET_PIVOT_IN_MAIN_THREAD',_0x5a3207=_0x4d3dd6(0x1e8);var _0x2fe1bc=(_0x417a84=>(_0x417a84['Filter']=_0x4d3dd6(0x479),_0x417a84[_0x4d3dd6(0x231)]=_0x4d3dd6(0x25f),_0x417a84[_0x4d3dd6(0x2c2)]='addPivotField',_0x417a84[_0x4d3dd6(0x467)]=_0x4d3dd6(0x467),_0x417a84[_0x4d3dd6(0x363)]='addPivotTable',_0x417a84[_0x4d3dd6(0x2e3)]=_0x4d3dd6(0x488),_0x417a84['RemovePivotField']=_0x4d3dd6(0x3b4),_0x417a84[_0x4d3dd6(0x31b)]=_0x4d3dd6(0x1e5),_0x417a84['SetPivotFilter']='setPivotFilter',_0x417a84[_0x4d3dd6(0x1f2)]=_0x4d3dd6(0x289),_0x417a84[_0x4d3dd6(0x269)]='setPivotSetting',_0x417a84[_0x4d3dd6(0x213)]='updatePivotSource',_0x417a84['UpdateValuePosition']=_0x4d3dd6(0x3f6),_0x417a84[_0x4d3dd6(0x33f)]='drillDown',_0x417a84[_0x4d3dd6(0x2a1)]=_0x4d3dd6(0x35e),_0x417a84[_0x4d3dd6(0x3f5)]=_0x4d3dd6(0x3e2),_0x417a84['ResetPivotTable']='resetPivotTable',_0x417a84))(_0x2fe1bc||{});const _0x41855f={'sheets-pivot.blankValue':_0x4d3dd6(0x431),'sheets-pivot.columnName':_0x4d3dd6(0x19d),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x4d3dd6(0x364),'sheets-pivot.valueText':_0x4d3dd6(0x294),'sheets-pivot.averageName':_0x4d3dd6(0x24e),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x4d3dd6(0x23a),'sheets-pivot.maxName':_0x4d3dd6(0x409),'sheets-pivot.minName':_0x4d3dd6(0x214),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x4d3dd6(0x3da),'sheets-pivot.stdDevpName':_0x4d3dd6(0x17c),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x4d3dd6(0x1f5),'sheets-pivot.varpName':_0x4d3dd6(0x37f),'sheets-pivot.subTotal':_0x4d3dd6(0x22a),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x4d3dd6(0x352),'sheets-pivot.emptyPivot.filter':_0x4d3dd6(0x208),'sheets-pivot.emptyPivot.row':_0x4d3dd6(0x2c9),'sheets-pivot.emptyPivot.column':_0x4d3dd6(0x1e3),'sheets-pivot.emptyPivot.values':_0x4d3dd6(0x36c)},_0x680e0f={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x250960=_0x4f5d51[_0x4d3dd6(0x437)](_0x4d3dd6(0x303)),_0x117510=_0x4f5d51[_0x4d3dd6(0x274)]('pivotMutationGenerate');var _0x4a1a7c=(_0x3e163a=>(_0x3e163a[_0x4d3dd6(0x205)]=_0x4d3dd6(0x205),_0x3e163a[_0x4d3dd6(0x4a5)]='delete',_0x3e163a[_0x4d3dd6(0x1de)]=_0x4d3dd6(0x1de),_0x3e163a))(_0x4a1a7c||{}),_0x50514a=(_0x45b6f7=>(_0x45b6f7[_0x4d3dd6(0x262)]=_0x4d3dd6(0x205),_0x45b6f7[_0x4d3dd6(0x1cc)]=_0x4d3dd6(0x330),_0x45b6f7[_0x4d3dd6(0x397)]='delete',_0x45b6f7))(_0x50514a||{});const _0x3ed1f1={0x0:'n',0x1:'E',0x2:'h',0x3:'p',0x4:'9',0x5:'T',0x6:'b',0x7:'0',0x8:'N',0x9:'4','V':'1','m':'2','P':'3','w':'5','Q':'6','j':'7','U':'8','S':'a','I':'c','b':'d','i':'e','O':'f','x':'g','l':'i','p':'j','n':'k','v':'l','f':'m','R':'o','N':'q','T':'r','K':'s','h':'t','L':'u','C':'v','H':'w','y':'x','B':'y','g':'z','A':'A','t':'B','X':'C','G':'D','r':'F','d':'G','e':'H','s':'I','z':'J','q':'K','c':'L','o':'M','a':'O','M':'P','u':'Q','W':'R','Z':'S','k':'U','F':'V','J':'W','Y':'X','E':'Y','D':'Z'},_0x4c9018=_0x4d3dd6(0x3eb),_0x15f1cc={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x36e),'handler':()=>!0x0},_0x1b131b={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x3ef),'handler':()=>!0x0},_0x48aa26={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x255),'handler':()=>!0x0},_0x49ce0e={'type':_0x4f5d51['CommandType']['MUTATION'],'id':_0x4d3dd6(0x2e9),'handler':()=>!0x0},_0x29aa46={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x260),'handler':()=>!0x0},_0x25eff4=_0x3d492d=>{const _0x3b7cfb=_0x4d3dd6;var _0x12a0f3;return((_0x12a0f3=_0x3d492d[_0x3b7cfb(0x434)])==null?void 0x0:_0x12a0f3['dataStream'][_0x3b7cfb(0x2b1)](/\r\n$/,''))||'';};class _0x58c1f4 extends _0x1dcf85['DataFieldManager']{constructor(_0x2af428,_0x296adb){const _0x5d142e=_0x4d3dd6;super(),_0x8a8b01(this,_0x5d142e(0x39d),{}),_0x8a8b01(this,_0x5d142e(0x416)),_0x8a8b01(this,'_host'),(this[_0x5d142e(0x416)]=_0x296adb,this['_host']=_0x2af428);}['initDataRanges'](){const _0x106038=_0x4d3dd6;for(const _0x34027d in this['dataFields']){const _0x41fe38=this[_0x106038(0x1af)][_0x34027d],_0x5895b5=_0x41fe38[_0x106038(0x47c)]();this['rangeKeyMap'][_0x5895b5]=_0x41fe38[_0x106038(0x339)]();}}[_0x4d3dd6(0x286)](){const _0x4ee2b3=_0x4d3dd6,_0x1ad552=this[_0x4ee2b3(0x3f3)];return _0x1a6124['bind'](_0x1ad552);}[_0x4d3dd6(0x475)](_0x723c3a){const _0x4e3240=_0x4d3dd6,_0x1cdda9=this['dataFields'][_0x723c3a][_0x4e3240(0x2ed)];delete this[_0x4e3240(0x1af)][_0x723c3a],delete this['rangeKeyMap'][_0x1cdda9];}[_0x4d3dd6(0x24c)](_0x27eb9c){const _0x38719d=_0x4d3dd6;this[_0x38719d(0x1af)][_0x27eb9c[_0x38719d(0x339)]()]=_0x27eb9c;}[_0x4d3dd6(0x3a5)](_0x15c26a){const _0x48937d=_0x4d3dd6;var _0x57e9ef,_0x564b0a;const _0x276a5b=this[_0x48937d(0x3f3)][_0x48937d(0x308)](_0x15c26a);if(_0x276a5b){const {unitId:_0x48a78f,subUnitId:_0x3775ce}=_0x276a5b,_0x3970a1=(_0x57e9ef=this[_0x48937d(0x3f3)][_0x48937d(0x306)](_0x48a78f,_0x3775ce,_0x15c26a))==null?void 0x0:_0x57e9ef[_0x48937d(0x3f1)];this[_0x48937d(0x3f3)][_0x48937d(0x244)]({'token':_0x15c26a,'type':_0x4a1a7c['delete'],'dataRangeInfo':_0x3970a1});}(_0x564b0a=this[_0x48937d(0x2a4)](_0x15c26a))==null||_0x564b0a[_0x48937d(0x2ff)](),delete this[_0x48937d(0x41f)][_0x15c26a];}[_0x4d3dd6(0x47c)](_0x23e0b6,_0xc5366b){const _0xa32438=_0x4d3dd6,{sheetName:_0x3ce8c2,unitId:_0x38a5a7,range:_0xc7521}=_0x23e0b6,{startRow:_0x528e37,endRow:_0x27e4d2}=_0xc7521;return _0x2f1667[_0xa32438(0x19c)](_0x38a5a7,_0x3ce8c2,{'startRow':_0x528e37,'endRow':_0x27e4d2,'startColumn':_0xc5366b,'endColumn':_0xc5366b});}[_0x4d3dd6(0x47d)](_0x2d4004){const _0xf982e3=_0x4d3dd6;return this[_0xf982e3(0x1af)][this[_0xf982e3(0x39d)][_0x2d4004]];}[_0x4d3dd6(0x3f9)](_0x1b1cb5,_0x2d5983){const _0x437274=_0x4d3dd6;this[_0x437274(0x39d)][_0x1b1cb5]=_0x2d5983;}['updateRangeKeyMap'](_0x423809,_0x470938){const _0x385ae7=_0x4d3dd6;this[_0x385ae7(0x39d)][_0x470938]=this['rangeKeyMap'][_0x423809],delete this[_0x385ae7(0x39d)][_0x423809];}['addCollectionByJSON'](_0x25fbd3,_0x5c5c6c,_0x47a5ce,_0x2935ca){const _0x3201dd=_0x4d3dd6,_0x3261ac=new _0x1dcf85[(_0x3201dd(0x2d5))](this);_0x3261ac[_0x3201dd(0x44a)](_0x5c5c6c);const _0x22cb32=[];let _0x4e8453=0x0;for(const _0x2bc40c of _0x3261ac[_0x3201dd(0x446)]){const _0x4dbba9=this[_0x3201dd(0x47c)](_0x47a5ce,_0x4e8453),_0x2f2da6=this[_0x3201dd(0x1af)][_0x2bc40c];_0x2f2da6&&(_0x2f2da6[_0x3201dd(0x2ed)]=_0x4dbba9,this[_0x3201dd(0x3f9)](_0x4dbba9,_0x2bc40c),_0x22cb32[_0x3201dd(0x2b0)]({'index':_0x4e8453,'dataField':_0x2f2da6})),_0x4e8453++;}return this['addCollection'](_0x25fbd3,_0x3261ac,_0x47a5ce,_0x2935ca),{'collection':_0x3261ac,'updateDataFieldList':_0x22cb32};}['getRangeStartEndInfo'](_0x1d7df8,_0x5e767c){const _0x3e8075=_0x4d3dd6;return _0x1d7df8[_0x3e8075(0x338)]===_0x4f5d51[_0x3e8075(0x273)]['COLUMN']?{'startRow':0x0,'startColumn':_0x1d7df8['startColumn'],'endRow':_0x5e767c[_0x3e8075(0x1e7)]()-0x1,'endColumn':_0x1d7df8['endColumn']}:{'startRow':_0x1d7df8['startRow'],'startColumn':_0x1d7df8[_0x3e8075(0x441)],'endRow':_0x1d7df8[_0x3e8075(0x460)],'endColumn':_0x1d7df8[_0x3e8075(0x2fb)]};}[_0x4d3dd6(0x2d4)](_0xb2a198){const _0x1d78cc=_0x4d3dd6,{sheetName:_0xcc4fc4,range:_0x4cd203}=_0xb2a198,_0x493f42=this[_0x1d78cc(0x416)]['getCurrentUnitForType'](_0x4f5d51['UniverInstanceType'][_0x1d78cc(0x232)]),_0x428557=_0x493f42[_0x1d78cc(0x2fc)](_0xcc4fc4),_0x32b45d=_0x428557['getCellMatrix'](),{startColumn:_0x4b5eed,startRow:_0x2b8d0e,endColumn:_0xf399f9}=this['getRangeStartEndInfo'](_0x4cd203,_0x428557),_0x20f534=_0x493f42[_0x1d78cc(0x263)](),_0x435b21=new _0x1dcf85[(_0x1d78cc(0x2d5))](this);_0x435b21['setRange'](_0xb2a198);const _0x1ab4c1=[],_0x3d914a={};for(let _0xcbbf23=_0x4b5eed;_0xcbbf23<=_0xf399f9;_0xcbbf23++){const _0x36f388=_0x32b45d[_0x1d78cc(0x1ce)](_0x2b8d0e,_0xcbbf23),_0x1f7aed=this[_0x1d78cc(0x47c)](_0xb2a198,_0xcbbf23),_0x1d3dcb=this[_0x1d78cc(0x47d)](_0x1f7aed);if(_0x1d3dcb)_0x435b21['addField'](_0x1d3dcb[_0x1d78cc(0x339)](),_0x1d3dcb[_0x1d78cc(0x245)]());else{const _0x222c43=this[_0x1d78cc(0x30c)]();let _0x151162=this[_0x1d78cc(0x44e)](_0x36f388,_0x20f534,_0x3d914a);_0x1dcf85['isDateValue'](_0x151162)&&(_0x151162=_0x4f5d51[_0x1d78cc(0x2d7)][_0x1d78cc(0x427)](_0x151162['f'],Number(_0x151162['v'])));const _0x2a244a=this[_0x1d78cc(0x43b)](_0x151162,_0xcbbf23),_0xaa059c=new _0x1dcf85[(_0x1d78cc(0x451))](_0x222c43,_0x2a244a,_0x1dcf85[_0x1d78cc(0x195)](0x3));_0xaa059c[_0x1d78cc(0x2ed)]=_0x1f7aed,this[_0x1d78cc(0x1af)][_0x222c43]=_0xaa059c,_0x435b21[_0x1d78cc(0x216)](_0x222c43,_0x2a244a),_0x1ab4c1[_0x1d78cc(0x2b0)]({'index':_0xcbbf23,'dataField':_0xaa059c});}}return{'updateDataFieldList':_0x1ab4c1,'collection':_0x435b21};}[_0x4d3dd6(0x1a9)](_0x2d410d){const _0x159c60=_0x4d3dd6;return this['_host'][_0x159c60(0x3ed)]()[_0x159c60(0x261)]+'\x20'+_0x4f5d51[_0x159c60(0x202)](_0x2d410d);}[_0x4d3dd6(0x43b)](_0x3ab2e5,_0x3688d8){const _0x37d66b=_0x4d3dd6;return _0x3ab2e5==null||_0x3ab2e5===''?this[_0x37d66b(0x1a9)](_0x3688d8):String(_0x3ab2e5);}[_0x4d3dd6(0x2a4)](_0x2c8c94){const _0x5c0421=_0x4d3dd6;return this[_0x5c0421(0x41f)][_0x2c8c94];}[_0x4d3dd6(0x46a)](_0x382741,_0x4651f3,_0x2f70c9,_0xd59d4b){const _0x9c473f=_0x4d3dd6;this[_0x9c473f(0x41f)][_0x382741]=_0x4651f3,_0x4651f3[_0x9c473f(0x320)](_0x2f70c9),this[_0x9c473f(0x3f3)][_0x9c473f(0x244)]({'token':_0x382741,'type':_0x4a1a7c[_0x9c473f(0x205)],'dataRangeInfo':_0x2f70c9,'targetCellInfo':_0xd59d4b});}[_0x4d3dd6(0x265)](_0x59576b,_0x451a5f){const _0x2ee1a9=_0x4d3dd6,_0x51e096=this[_0x2ee1a9(0x2a4)](_0x59576b),_0x58f023=_0x51e096[_0x2ee1a9(0x2db)]();let _0x38bc40=0x0;for(const _0xa8503c of _0x58f023){const _0x12acd9=_0x51e096[_0x2ee1a9(0x355)](_0xa8503c),_0x56ff4a=this[_0x2ee1a9(0x47c)](_0x451a5f,_0x38bc40);this[_0x2ee1a9(0x43f)](_0x12acd9[_0x2ee1a9(0x2ed)],_0x56ff4a),_0x38bc40++;}}[_0x4d3dd6(0x207)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4d3dd6(0x2e7)](_0x145cd3,_0x500a88){const _0x1e8c58=_0x4d3dd6;if(this[_0x1e8c58(0x2a4)](_0x145cd3)){const _0x243206=this['getRangeKeyList'](_0x500a88),_0x50db7a=[];for(const _0x50783b of _0x243206)this['rangeKeyMap'][_0x50783b]!==void 0x0&&_0x50db7a[_0x1e8c58(0x2b0)](this[_0x1e8c58(0x39d)][_0x50783b]);const _0x1a01b1=this[_0x1e8c58(0x35f)](_0x145cd3),_0x8dc436=[],_0x580501=new Set(_0x50db7a);for(const _0x33a7fc of _0x1a01b1)_0x580501['has'](_0x33a7fc)||_0x8dc436['push'](_0x33a7fc);return _0x8dc436;}}[_0x4d3dd6(0x346)](_0x3d899b,_0x5a5517,_0xe9601d,_0x14b1ee,_0x4c3de3){const _0x20bc7a=_0x4d3dd6;return _0x5a5517&&_0x5a5517[_0x20bc7a(0x1ce)](_0x14b1ee,_0x4c3de3)?_0x5a5517[_0x20bc7a(0x1ce)](_0x14b1ee,_0x4c3de3):_0xe9601d&&_0xe9601d[_0x20bc7a(0x1ce)](_0x14b1ee,_0x4c3de3)?_0xe9601d[_0x20bc7a(0x1ce)](_0x14b1ee,_0x4c3de3):_0x3d899b[_0x20bc7a(0x1ce)](_0x14b1ee,_0x4c3de3);}[_0x4d3dd6(0x1d2)](_0x43a16a,_0x55aad9,_0x4cccc5,_0x494cc8){const _0x3d43fc=_0x4d3dd6,_0x5dff32=this[_0x3d43fc(0x1af)][_0x43a16a];if(!_0x5dff32)return;const {subUnitId:_0x2b132e,range:_0x988f71,unitId:_0x519982}=_0x55aad9,_0x13b796=this[_0x3d43fc(0x416)][_0x3d43fc(0x242)](_0x519982);if(!_0x13b796){console['error'](_0x3d43fc(0x21b));return;}const _0xe425b7=_0x13b796[_0x3d43fc(0x268)](_0x2b132e),_0x519804=_0xe425b7[_0x3d43fc(0x1fd)](),{arrayFormulaCellDataMatrix:_0x5d2809,unitDataMatrix:_0x2cd7b7}=_0x494cc8||{},{startRow:_0x4f2cf0,startColumn:_0x45a5e1,endRow:_0x45412b}=this['getRangeStartEndInfo'](_0x988f71,_0xe425b7);_0x5dff32[_0x3d43fc(0x354)]();const _0xa0897a=_0x13b796[_0x3d43fc(0x263)](),_0x6199f6={},_0xa8e576=this[_0x3d43fc(0x346)](_0x519804,_0x5d2809,_0x2cd7b7,_0x4f2cf0,_0x45a5e1+_0x4cccc5);let _0x2580ba=this[_0x3d43fc(0x44e)](_0xa8e576,_0xa0897a,_0x6199f6);_0x1dcf85[_0x3d43fc(0x410)](_0x2580ba)&&(_0x2580ba=_0x4f5d51['numfmt'][_0x3d43fc(0x427)](_0x2580ba['f'],Number(_0x2580ba['v'])));const _0x28b36e=this[_0x3d43fc(0x43b)](_0x2580ba,_0x45a5e1+_0x4cccc5);_0x5dff32['setName'](_0x28b36e);for(let _0x2f85c4=_0x4f2cf0+0x1;_0x2f85c4<=_0x45412b;_0x2f85c4++){const _0x44d7db=this[_0x3d43fc(0x346)](_0x519804,_0x5d2809,_0x2cd7b7,_0x2f85c4,_0x45a5e1+_0x4cccc5);_0x5dff32[_0x3d43fc(0x3db)](this['adjustSheetCellData'](_0x44d7db,_0xa0897a,_0x6199f6),_0x2f85c4-0x1-_0x4f2cf0);}}[_0x4d3dd6(0x3dc)](_0x4eacb2,_0x1bda5d,_0xc058c5){const _0x20f255=_0x4d3dd6,{subUnitId:_0x479a95,range:_0xa52c8,unitId:_0x24a7ad}=_0xc058c5,_0x5265e3=this[_0x20f255(0x416)][_0x20f255(0x242)](_0x24a7ad);if(!_0x5265e3){console[_0x20f255(0x465)](_0x20f255(0x21b));return;}const _0x23d3ea=_0x5265e3[_0x20f255(0x268)](_0x479a95),_0x58af23=_0x23d3ea[_0x20f255(0x1fd)](),{startRow:_0x42e4f3,startColumn:_0x1b0345,endRow:_0x1bdde9}=this[_0x20f255(0x3aa)](_0xa52c8,_0x23d3ea),_0x3e933b=_0x5265e3[_0x20f255(0x263)](),_0x179a76={};for(const {dataField:_0x2fb979,index:_0x4ad340}of _0x1bda5d){_0x2fb979[_0x20f255(0x354)]();const _0x29ac53=this[_0x20f255(0x346)](_0x58af23,void 0x0,void 0x0,_0x42e4f3,_0x1b0345+_0x4ad340);let _0x40ede6=this[_0x20f255(0x44e)](_0x29ac53,_0x3e933b,_0x179a76);_0x1dcf85[_0x20f255(0x410)](_0x40ede6)&&(_0x40ede6=_0x4f5d51[_0x20f255(0x2d7)][_0x20f255(0x427)](_0x40ede6['f'],Number(_0x40ede6['v'])));const _0x535f84=this[_0x20f255(0x43b)](_0x40ede6,_0x1b0345+_0x4ad340);_0x2fb979[_0x20f255(0x1b5)](_0x535f84);}_0x4eacb2[_0x20f255(0x28f)]();for(let _0x52aad2=_0x42e4f3+0x1;_0x52aad2<=_0x1bdde9;_0x52aad2++)for(const {index:_0x59bb83,dataField:_0x397b28}of _0x1bda5d){const _0xf00dc8=_0x58af23['getValue'](_0x52aad2,_0x1b0345+_0x59bb83);_0x397b28[_0x20f255(0x3db)](this['adjustSheetCellData'](_0xf00dc8,_0x3e933b,_0x179a76),_0x52aad2-0x1-_0x42e4f3);}_0x4eacb2['setDataRecordCount'](_0x1bdde9-_0x42e4f3);}[_0x4d3dd6(0x2b2)](_0x232d38){const _0x53ddb7=_0x4d3dd6,{range:_0x50d13a}=_0x232d38,{startColumn:_0x234646,endColumn:_0x3f46c5}=_0x50d13a,_0x372045=[];for(let _0x282e44=_0x234646;_0x282e44<=_0x3f46c5;_0x282e44++)_0x372045['push'](this[_0x53ddb7(0x47c)](_0x232d38,_0x282e44));return _0x372045;}[_0x4d3dd6(0x44e)](_0x5652ab,_0x4a9e97,_0x27e2fb){const _0x49c711=_0x4d3dd6;if(_0x5652ab){const {s:_0x3360d5,v:_0x348e74,t:_0x15a0db,p:_0x466975}=_0x5652ab;if(_0x466975)return _0x25eff4(_0x466975);const _0x4e1c7d=_0x4a9e97['get'](_0x3360d5);if(_0x4e1c7d&&_0x15a0db===_0x4f5d51['CellValueType']['NUMBER']&&_0x4e1c7d['n']){const {pattern:_0x21ddb0}=_0x4e1c7d['n'];_0x27e2fb[_0x21ddb0]||(_0x27e2fb[_0x21ddb0]=_0x4f5d51[_0x49c711(0x2d7)][_0x49c711(0x463)](_0x21ddb0));const _0x28ef6c=_0x27e2fb[_0x21ddb0],_0x3376fe=_0x28ef6c[_0x49c711(0x342)];if(_0x28ef6c[_0x49c711(0x1a1)])return String(_0x348e74);if(_0x3376fe)return{'v':_0x348e74,'f':_0x21ddb0};}if(_0x15a0db===_0x4f5d51['CellValueType'][_0x49c711(0x3a1)])return Number(_0x348e74);if(_0x15a0db===_0x4f5d51[_0x49c711(0x281)]['STRING']||_0x15a0db===_0x4f5d51[_0x49c711(0x281)][_0x49c711(0x26b)])return String(_0x348e74);if(_0x15a0db===void 0x0){const _0x1b0020=Number(_0x348e74);if(!Number[_0x49c711(0x49a)](_0x1b0020)&&String(_0x1b0020)===_0x348e74)return _0x1b0020;}return _0x348e74!=null?_0x348e74:null;}else return null;}[_0x4d3dd6(0x32b)](_0x21856a){const _0x14d9ed=_0x4d3dd6,{sheetName:_0x5e7844,range:_0x4ba458,unitId:_0x12adad}=_0x21856a,_0x123393=this[_0x14d9ed(0x416)]['getUnit'](_0x12adad);if(!_0x123393)return console[_0x14d9ed(0x465)](_0x14d9ed(0x21b)),{'header':[],'data':[]};const _0x23586e=_0x123393[_0x14d9ed(0x2fc)](_0x5e7844),_0x1939c8=_0x23586e['getCellMatrix'](),{startRow:_0x23e8d3,startColumn:_0x51026d,endRow:_0x3d5d92,endColumn:_0x9e3bc5}=this[_0x14d9ed(0x3aa)](_0x4ba458,_0x23586e),_0x54ec51=_0x123393['getStyles'](),_0x234182=[],_0x2352de=[],_0x8661d2={};for(let _0x530fa5=_0x23e8d3;_0x530fa5<=_0x3d5d92;_0x530fa5++){const _0x10de74=[];for(let _0x47c8e1=_0x51026d;_0x47c8e1<=_0x9e3bc5;_0x47c8e1++){const _0x1e8de1=_0x1939c8[_0x14d9ed(0x1ce)](_0x530fa5,_0x47c8e1);_0x530fa5===_0x23e8d3?_0x234182[_0x14d9ed(0x2b0)](_0x1e8de1==null?null:String(_0x1e8de1['v'])):_0x10de74[_0x14d9ed(0x2b0)](this[_0x14d9ed(0x44e)](_0x1e8de1,_0x54ec51,_0x8661d2));}_0x2352de['push'](_0x10de74);}return{'header':_0x234182,'data':_0x2352de};}[_0x4d3dd6(0x378)](){return super['toJSON']();}['fromJSON'](_0x4a38b0){const _0x4bb9e5=_0x4d3dd6;super[_0x4bb9e5(0x44a)](_0x4a38b0),this['initDataRanges']();}[_0x4d3dd6(0x2ff)](){const _0x379e8c=_0x4d3dd6;super['dispose'](),this['rangeKeyMap']={},this[_0x379e8c(0x3f3)]=null;}}const _0x4a842f=_0x7d3242=>{const _0x10688c=_0x4d3dd6,{targetCellInfo:_0xd8d51b}=_0x7d3242,{matrixCache:_0x4486c6,rangesCache:_0x1bc11b}=_0x22eb01({'filter':'Filter','row':'Row','column':_0x10688c(0x1e3),'values':_0x10688c(0x36c)},_0xd8d51b),_0x5e7182=new _0x4f5d51['ObjectMatrix']();return _0x4486c6[_0x10688c(0x38f)]((_0x4fa1b0,_0x4dc226,_0x4b932b)=>{const _0xe930b6=_0x10688c;_0x5e7182[_0xe930b6(0x3ad)](_0x4fa1b0,_0x4dc226,_0x4b932b);}),{'matrix':_0x5e7182,'rangesCache':_0x1bc11b};},_0x167543=_0x2fb47c=>{const _0x334044=_0x4d3dd6;let _0x3bacfd;if(_0x2fb47c!=null&&_0x2fb47c['v']||(_0x2fb47c==null?void 0x0:_0x2fb47c['v'])===0x0){_0x3bacfd||(_0x3bacfd={});const _0x4c67e1=_0x13eb43(_0x2fb47c['v']);typeof _0x4c67e1==_0x334044(0x394)?_0x3bacfd['t']=_0x4f5d51[_0x334044(0x281)][_0x334044(0x3a1)]:typeof _0x4c67e1==_0x334044(0x325)&&(_0x3bacfd['t']=_0x4f5d51['CellValueType'][_0x334044(0x1e0)]),_0x3bacfd['v']=_0x4c67e1;}return _0x3bacfd;},_0x942d22=(_0x814230,_0x4498f1,_0x250afd)=>{const _0x38c3f8=_0x4d3dd6;var _0x2a744c,_0x57cc14,_0x4a79f6,_0x583d61,_0x1a3c39,_0x539036,_0x5931bc,_0x5946d2,_0x387e60,_0x3f3e0e,_0x17ea39,_0x23d6c8;const {cornerView:_0x5127e8,rowView:_0x469fb4,colView:_0x50b0b9,dataView:_0x11d6c6,pageView:_0x252a88,formatMap:_0x3c2c03}=_0x814230,{row:_0x3859ed,col:_0x2ab90a}=_0x4498f1,_0x3b7c58=new _0x4f5d51[(_0x38c3f8(0x2cc))]();let _0x1d0427=_0x3859ed,_0x2a7d08=_0x2ab90a;Object[_0x38c3f8(0x350)](_0x252a88[_0x38c3f8(0x219)])[_0x38c3f8(0x3bb)](_0xf02116=>{const _0x9e8ea3=_0x38c3f8;Object[_0x9e8ea3(0x350)](_0x252a88[_0x9e8ea3(0x219)][Number(_0xf02116)])['forEach'](_0x416441=>{const _0x3d80c1=_0x9e8ea3,_0x53c310={..._0x252a88[_0x3d80c1(0x219)][Number(_0xf02116)][Number(_0x416441)]};_0x3b7c58[_0x3d80c1(0x3ad)](Number(_0xf02116)+_0x1d0427,Number(_0x416441)+_0x2a7d08,_0x167543(_0x53c310));});});const _0x25d4f4=Object[_0x38c3f8(0x350)](_0x252a88[_0x38c3f8(0x219)])[_0x38c3f8(0x425)];_0x1d0427+=_0x25d4f4+(_0x25d4f4?_0x124551:0x0);const _0x512e8a=_0x5127e8['getRowCount'](),_0x50d89b=_0x5127e8[_0x38c3f8(0x1ff)]();for(let _0x13386f=0x0;_0x13386f<_0x512e8a;_0x13386f++)for(let _0x34ed96=0x0;_0x34ed96<_0x50d89b;_0x34ed96++){const _0x792614={...(_0x57cc14=(_0x2a744c=_0x5127e8['data'])==null?void 0x0:_0x2a744c[_0x13386f])==null?void 0x0:_0x57cc14[_0x34ed96]};_0x792614&&((_0x4a79f6=_0x469fb4[_0x38c3f8(0x259)][_0x34ed96])!=null&&_0x4a79f6['isValue'])&&_0x34ed96===_0x50d89b-0x1&&_0x13386f===_0x512e8a-0x1&&(_0x792614['v']=''+_0x250afd[_0x38c3f8(0x368)]),_0x3b7c58[_0x38c3f8(0x3ad)](_0x13386f+_0x1d0427,_0x34ed96+_0x2a7d08,_0x167543(_0x792614));}_0x2a7d08+=_0x50d89b;const _0x512a01=_0x50b0b9[_0x38c3f8(0x259)],_0x2b0e9a=_0x50b0b9[_0x38c3f8(0x428)]()>=0x0?_0x50b0b9['getLastRow']()+0x1:0x0,_0x2663ca=_0x50b0b9[_0x38c3f8(0x30a)]()>=0x0?_0x50b0b9[_0x38c3f8(0x30a)]()+0x1:0x0;for(let _0x28ee5d=0x0;_0x28ee5d<_0x2663ca;_0x28ee5d++)for(let _0x3939dd=0x0;_0x3939dd<_0x2b0e9a;_0x3939dd++){const _0x3107bc={...(_0x1a3c39=(_0x583d61=_0x50b0b9[_0x38c3f8(0x219)])==null?void 0x0:_0x583d61[_0x28ee5d])==null?void 0x0:_0x1a3c39[_0x3939dd]},_0x226d2b=(_0x539036=_0x512a01[_0x28ee5d])==null?void 0x0:_0x539036[_0x38c3f8(0x422)],_0x74f027=_0x3c2c03[_0x226d2b];_0x3107bc&&(_0x3107bc['v']=_0x2590fc(_0x3107bc,_0x28ee5d===0x0&&((_0x5931bc=_0x50b0b9[_0x38c3f8(0x246)](_0x3939dd+0x1))==null?void 0x0:_0x5931bc[_0x38c3f8(0x1d6)]),_0x74f027,_0x250afd)),_0x3b7c58[_0x38c3f8(0x3ad)](_0x28ee5d+_0x1d0427,_0x3939dd+_0x2a7d08,_0x167543(_0x3107bc));}_0x1d0427+=_0x512e8a;const _0x4805f8=_0x469fb4[_0x38c3f8(0x259)],_0x536e16=_0x469fb4[_0x38c3f8(0x428)]()>=0x0?_0x469fb4[_0x38c3f8(0x428)]()+0x1:0x0,_0x87fe0b=_0x469fb4[_0x38c3f8(0x30a)]()>=0x0?_0x469fb4['getLastCol']()+0x1:0x0;for(let _0x50ff44=0x0;_0x50ff44<_0x536e16;_0x50ff44++)for(let _0x2b79f5=0x0;_0x2b79f5<_0x87fe0b;_0x2b79f5++){const _0x58ad56={...(_0x387e60=(_0x5946d2=_0x469fb4[_0x38c3f8(0x219)])==null?void 0x0:_0x5946d2[_0x50ff44])==null?void 0x0:_0x387e60[_0x2b79f5]},_0x33770e=(_0x3f3e0e=_0x4805f8[_0x2b79f5])==null?void 0x0:_0x3f3e0e[_0x38c3f8(0x422)],_0x12d0f5=_0x3c2c03[_0x33770e];_0x58ad56&&(_0x58ad56['v']=_0x2590fc(_0x58ad56,!0x1,_0x12d0f5,_0x250afd)),_0x3b7c58['setValue'](_0x50ff44+_0x1d0427,_0x2b79f5+_0x2ab90a,_0x167543(_0x58ad56));}const _0x44651b=_0x11d6c6['getRowCount'](),_0x5a23ff=_0x11d6c6[_0x38c3f8(0x1ff)]();for(let _0x14e2d6=0x0;_0x14e2d6<_0x44651b;_0x14e2d6++)for(let _0x57ca9e=0x0;_0x57ca9e<_0x5a23ff;_0x57ca9e++){const _0x4257f4={...(_0x23d6c8=(_0x17ea39=_0x11d6c6[_0x38c3f8(0x219)])==null?void 0x0:_0x17ea39[_0x14e2d6])==null?void 0x0:_0x23d6c8[_0x57ca9e]};_0x3b7c58[_0x38c3f8(0x3ad)](_0x14e2d6+_0x1d0427,_0x57ca9e+_0x2a7d08,_0x167543(_0x4257f4));}return _0x3b7c58;},_0x58a10d=_0x2fde87=>{const _0x54acd0=_0x4d3dd6,{view:_0x49a044,targetCellInfo:_0x5bd5ac,isEmpty:_0x3e1e57,textInfo:_0x1a2f30}=_0x2fde87;if(_0x3e1e57)return _0x4a842f(_0x2fde87);const {pageView:_0x2a66d3,cornerView:_0x56934d,rowView:_0x16c2b4,colView:_0x2d241b,dataView:_0x2df392}=_0x49a044,_0x25b958=_0x2b9699(_0x5bd5ac,_0x2a66d3,!0x0),_0x3df9a0=_0x2a66d3[_0x54acd0(0x31d)]>=0x0?_0x2a66d3[_0x54acd0(0x31d)]+0x1:0x0,_0x38e3e8=_0x56934d[_0x54acd0(0x1e7)](),_0x3ae15d=_0x56934d[_0x54acd0(0x1ff)](),_0x24a350=_0x25b958[_0x54acd0(0x425)]>0x0?_0x124551:0x0,_0x8003e8=_0x2b9699({'row':_0x5bd5ac[_0x54acd0(0x46e)]+_0x3df9a0+_0x24a350,'col':_0x5bd5ac[_0x54acd0(0x283)]},_0x56934d,!0x1,!0x1),_0x1f2f8c=_0x2b9699({'row':_0x5bd5ac[_0x54acd0(0x46e)]+_0x3df9a0+_0x24a350+_0x38e3e8,'col':_0x5bd5ac[_0x54acd0(0x283)]},_0x16c2b4,!0x1,!0x0),_0x3e1958=_0x2b9699({'row':_0x5bd5ac[_0x54acd0(0x46e)]+_0x3df9a0+_0x24a350,'col':_0x5bd5ac[_0x54acd0(0x283)]+_0x3ae15d},_0x2d241b,!0x1,!0x0),_0x1d46c4=_0x2b9699({'row':_0x5bd5ac[_0x54acd0(0x46e)]+_0x3df9a0+_0x24a350+_0x38e3e8,'col':_0x5bd5ac[_0x54acd0(0x283)]+_0x3ae15d},_0x2df392,!0x1,!0x1),_0x226cc4={'rowRanges':_0x1f2f8c,'colRanges':_0x3e1958,'cornerRanges':_0x8003e8,'dataRanges':_0x1d46c4,'pageRanges':_0x25b958};return{'matrix':_0x942d22(_0x49a044,_0x5bd5ac,_0x1a2f30),'rangesCache':_0x226cc4};};var _0x50c8ef=Object['getOwnPropertyDescriptor'],_0x47e447=(_0x120cd0,_0x29b270,_0x45669d,_0x42589c)=>{for(var _0x3ef6d4=_0x42589c>0x1?void 0x0:_0x42589c?_0x50c8ef(_0x29b270,_0x45669d):_0x29b270,_0x2c370d=_0x120cd0['length']-0x1,_0x2bf2ec;_0x2c370d>=0x0;_0x2c370d--)(_0x2bf2ec=_0x120cd0[_0x2c370d])&&(_0x3ef6d4=_0x2bf2ec(_0x3ef6d4)||_0x3ef6d4);return _0x3ef6d4;},_0x11801d=(_0x2b5630,_0x31128e)=>(_0x17ec8e,_0x7072aa)=>_0x31128e(_0x17ec8e,_0x7072aa,_0x2b5630);_0xc194b8[_0x4d3dd6(0x334)]=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x4dd2c4,_0x120875,_0x7179df,_0x335b27,_0x54a259,_0xb65965){const _0x3854fb=_0x4d3dd6;super(),_0x8a8b01(this,_0x3854fb(0x439),new Map()),_0x8a8b01(this,_0x3854fb(0x25b),new Map()),_0x8a8b01(this,'_viewData',new Map()),_0x8a8b01(this,_0x3854fb(0x419)),_0x8a8b01(this,'_collectionChange$',new _0x8145ab[(_0x3854fb(0x237))]()),_0x8a8b01(this,_0x3854fb(0x489),this[_0x3854fb(0x3d8)][_0x3854fb(0x297)]()),_0x8a8b01(this,_0x3854fb(0x48f),new _0x8145ab[(_0x3854fb(0x237))]()),_0x8a8b01(this,_0x3854fb(0x385),this[_0x3854fb(0x48f)]['asObservable']()),_0x8a8b01(this,_0x3854fb(0x1e6),new _0x8145ab['Subject']()),_0x8a8b01(this,_0x3854fb(0x272),this['_fieldsCollectionChange$'][_0x3854fb(0x297)]()),_0x8a8b01(this,_0x3854fb(0x33d),new Map()),_0x8a8b01(this,'needSameDeleteModel',[]),_0x8a8b01(this,_0x3854fb(0x3d4),new Map()),(this[_0x3854fb(0x21f)]=_0x4dd2c4,this['_univerInstanceService']=_0x120875,this['_lifecycleService']=_0x7179df,this[_0x3854fb(0x19a)]=_0x335b27,this[_0x3854fb(0x1fa)]=_0x54a259,this[_0x3854fb(0x27f)]=_0xb65965,this[_0x3854fb(0x432)]());}[_0x4d3dd6(0x3ed)](){const _0x3b983e=_0x4d3dd6;return this[_0x3b983e(0x419)]?this['_textInfo']:_0x41855f;}[_0x4d3dd6(0x39c)](_0x13a4ea){const _0x49aa0b=_0x4d3dd6;this[_0x49aa0b(0x419)]=_0x13a4ea;}[_0x4d3dd6(0x265)](_0x2098de){const _0x41d023=_0x4d3dd6;var _0x1ab248;const {from:_0x47299e,to:_0x10cd5d,unitId:_0x4b474b,fromRange:_0x1ab6a7,toRange:_0x430983}=_0x2098de;if(_0x47299e&&_0x10cd5d){const _0x1a60a2=this[_0x41d023(0x49b)](_0x4b474b),_0x356395=this['_model']['get'](_0x4b474b),_0x439b63=(_0x1ab248=this['_univerInstanceService'][_0x41d023(0x242)](_0x4b474b))==null?void 0x0:_0x1ab248[_0x41d023(0x268)](_0x10cd5d['subUnitId']);if(!_0x356395||!_0x439b63)return;const _0x375a10=_0x439b63==null?void 0x0:_0x439b63[_0x41d023(0x245)]();for(const [_0x48a677,_0x4c4004]of _0x356395[_0x41d023(0x270)]())for(const [_0x1cb4f3,_0x5733a5]of _0x4c4004[_0x41d023(0x270)]()){const {sourceRangeInfo:_0x221ccb}=_0x5733a5;if(_0x221ccb[_0x41d023(0x256)]===_0x4b474b&&_0x221ccb[_0x41d023(0x48c)]===_0x47299e['subUnitId']&&_0x4f5d51['Rectangle'][_0x41d023(0x1ec)](_0x1ab6a7,_0x221ccb[_0x41d023(0x472)])){const _0x1fb504={'row':_0x221ccb['range'][_0x41d023(0x275)]-_0x1ab6a7[_0x41d023(0x275)],'col':_0x221ccb[_0x41d023(0x472)][_0x41d023(0x441)]-_0x1ab6a7['startColumn']},_0x12c7ed={'unitId':_0x4b474b,'subUnitId':_0x10cd5d[_0x41d023(0x48c)],'sheetName':_0x375a10,'range':{'startRow':_0x430983[_0x41d023(0x275)]+_0x1fb504[_0x41d023(0x46e)],'endRow':_0x430983[_0x41d023(0x275)]+_0x1fb504[_0x41d023(0x46e)]+_0x221ccb[_0x41d023(0x472)]['endRow']-_0x221ccb[_0x41d023(0x472)][_0x41d023(0x275)],'startColumn':_0x430983[_0x41d023(0x441)]+_0x1fb504[_0x41d023(0x283)],'endColumn':_0x430983[_0x41d023(0x441)]+_0x1fb504[_0x41d023(0x283)]+_0x221ccb['range'][_0x41d023(0x2fb)]-_0x221ccb['range'][_0x41d023(0x441)]}};_0x1a60a2[_0x41d023(0x265)](_0x1cb4f3,_0x12c7ed);const _0x38c6e9={..._0x5733a5,'sourceRangeInfo':_0x12c7ed};this['_updateModelCache'](_0x4b474b,_0x10cd5d[_0x41d023(0x48c)],_0x1cb4f3,_0x38c6e9),this['broadcastCollectionChange']({'unitId':_0x4b474b,'token':_0x1cb4f3,'type':_0x4a1a7c['update'],'oldSourceRangeInfo':_0x221ccb,'dataRangeInfo':_0x12c7ed,'targetCellInfo':_0x5733a5[_0x41d023(0x3dd)]}),this[_0x41d023(0x2f7)]({'unitId':_0x4b474b,'subUnitId':_0x10cd5d['subUnitId'],'oldSubUnitId':_0x48a677,'pivotTableId':_0x1cb4f3,'pivotTableConfig':_0x38c6e9,'collectionConfig':_0x1a60a2['toJSON']()});}}}}[_0x4d3dd6(0x244)](_0x2d6d4a){const _0x46c6a3=_0x4d3dd6;this['_collectionChange$'][_0x46c6a3(0x483)](_0x2d6d4a);}[_0x4d3dd6(0x49b)](_0x854775){const _0x494e54=_0x4d3dd6;let _0x3a7703=this['_dataFieldManagerCollection']['get'](_0x854775);return _0x3a7703||(_0x3a7703=new _0x58c1f4(this,this[_0x494e54(0x416)]),this[_0x494e54(0x33d)][_0x494e54(0x330)](_0x854775,_0x3a7703)),_0x3a7703;}[_0x4d3dd6(0x2a4)](_0x529367,_0x5a7c85){const _0x22e9a3=_0x4d3dd6;return this[_0x22e9a3(0x49b)](_0x529367)[_0x22e9a3(0x41f)][_0x5a7c85];}['getUpdateRangeDeleteIds'](_0x296b23,_0x3c26f8,_0x56d2d7){const _0x43084=_0x4d3dd6;return this[_0x43084(0x49b)](_0x296b23)[_0x43084(0x2e7)](_0x3c26f8,_0x56d2d7);}[_0x4d3dd6(0x42d)](_0x4d6d25,_0x32645e){const _0x1b1ae6=_0x4d3dd6;let _0x556607=this[_0x1b1ae6(0x439)][_0x1b1ae6(0x34c)](_0x4d6d25);_0x556607||(_0x556607=new Map(),this[_0x1b1ae6(0x439)][_0x1b1ae6(0x330)](_0x4d6d25,_0x556607));let _0x47de6d=_0x556607[_0x1b1ae6(0x34c)](_0x32645e);return _0x47de6d||(_0x47de6d=new Map(),_0x556607[_0x1b1ae6(0x330)](_0x32645e,_0x47de6d)),_0x47de6d;}[_0x4d3dd6(0x377)](_0x2b7f37,_0x3f6e06,_0x59f6ee,_0x1075cc){const _0x370a98=_0x4d3dd6;this[_0x370a98(0x42d)](_0x2b7f37,_0x3f6e06)[_0x370a98(0x330)](_0x59f6ee,_0x1075cc);}[_0x4d3dd6(0x3c7)](_0x2f064f,_0x33d615,_0x5ed197){const _0x1db223=_0x4d3dd6;var _0x4f7f15,_0x324f3f,_0x455465,_0x551eb9;((_0x324f3f=(_0x4f7f15=this['_model'][_0x1db223(0x34c)](_0x2f064f))==null?void 0x0:_0x4f7f15['get'](_0x33d615))==null?void 0x0:_0x324f3f[_0x1db223(0x34c)](_0x5ed197))&&((_0x551eb9=(_0x455465=this[_0x1db223(0x439)][_0x1db223(0x34c)](_0x2f064f))==null?void 0x0:_0x455465[_0x1db223(0x34c)](_0x33d615))==null||_0x551eb9[_0x1db223(0x4a5)](_0x5ed197));}[_0x4d3dd6(0x390)](_0x44d4d8,_0x59ef6e){this['_pivotTableInstanceCache']['set'](_0x44d4d8,_0x59ef6e);}[_0x4d3dd6(0x2bf)](_0x5daad8){const _0x2dcdb5=_0x4d3dd6;this[_0x2dcdb5(0x25b)][_0x2dcdb5(0x4a5)](_0x5daad8);}[_0x4d3dd6(0x3d6)](_0x46afca,_0x519caf){const _0x1e5024=_0x4d3dd6;let _0x585c27=this['_viewData'][_0x1e5024(0x34c)](_0x46afca);_0x585c27||(_0x585c27=new Map(),this[_0x1e5024(0x1c2)]['set'](_0x46afca,_0x585c27));let _0x13cde8=_0x585c27[_0x1e5024(0x34c)](_0x519caf);return _0x13cde8||(_0x13cde8=new Map(),_0x585c27['set'](_0x519caf,_0x13cde8)),_0x13cde8;}[_0x4d3dd6(0x2f7)](_0x30b6a2){const _0x251761=_0x4d3dd6,{unitId:_0x2af90a,subUnitId:_0x2f083f,pivotTableId:_0x2208f3,pivotTableConfig:_0x5a1b40,collectionConfig:_0x5e4015}=_0x30b6a2,_0x11a6c4={'unitId':_0x2af90a,'subUnitId':_0x2f083f,'oldSubUnitId':_0x2f083f,'pivotTableId':_0x2208f3,'pivotTableConfig':_0x5a1b40,'collectionConfig':_0x5e4015};this['_commandService'][_0x251761(0x1c4)](_0x49ce0e['id'],_0x11a6c4,{'onlyLocal':!0x0});}[_0x4d3dd6(0x34a)](_0x2bb785,_0x4145af,_0x1683d4,_0x3ece08,_0x353473,_0x4c6204,_0x28db98,_0x51ce81=!0x1){const _0x2c82b8=_0x4d3dd6;var _0xab7d8d;this[_0x2c82b8(0x1fa)]['executeCommand'](_0x48aa26['id'],{'single':{'unitId':_0x2bb785,'subUnitId':_0x4145af,'type':_0x1683d4,'pivotTableId':_0x3ece08,'view':_0x353473,'pivotConfig':_0x4c6204},'collectionConfig':{[_0x2bb785]:_0x28db98}},{'onlyLocal':!0x0});const _0x24a975=!!((_0xab7d8d=this[_0x2c82b8(0x459)](_0x3ece08))!=null&&_0xab7d8d[_0x2c82b8(0x2a7)]()),_0x6c27de=this[_0x2c82b8(0x306)](_0x2bb785,_0x4145af,_0x3ece08);_0x6c27de&&this[_0x2c82b8(0x42a)]({'view':_0x353473,'pivotTableId':_0x3ece08,'textInfo':this[_0x2c82b8(0x3ed)](),'isEmpty':_0x24a975,'targetCellInfo':_0x6c27de[_0x2c82b8(0x3dd)]},_0x51ce81);}[_0x4d3dd6(0x42a)](_0x16e67b,_0x4e1be1){const _0x1a25d5=_0x4d3dd6,{targetCellInfo:_0x5ee4b9,pivotTableId:_0x29d9fb}=_0x16e67b,{unitId:_0x5cc549,subUnitId:_0x53159b}=_0x5ee4b9,_0x2d4af6=this[_0x1a25d5(0x3d6)](_0x5cc549,_0x53159b),_0x2d3c06=_0x2d4af6[_0x1a25d5(0x34c)](_0x29d9fb);let _0x3c5a94,_0x180402;_0x2d3c06&&(_0x3c5a94=_0x2d3c06[_0x1a25d5(0x3bf)],_0x180402=_0x2d3c06[_0x1a25d5(0x199)]);const {rangesCache:_0x285940,matrix:_0x5f08a1}=_0x58a10d(_0x16e67b);_0x2d4af6['set'](_0x29d9fb,{'rangeCache':_0x285940,'matrix':_0x5f08a1,'oldMatrix':_0x180402,'oldRangeCache':_0x3c5a94}),_0x4e1be1||this[_0x1a25d5(0x48f)][_0x1a25d5(0x483)]({'unitId':_0x5cc549,'subUnitId':_0x53159b,'pivotTableId':_0x29d9fb});}['addPivotTable'](_0x46451b,_0x3ae6f2,_0x59c6a1,_0x3327e4,_0x1a40a2){const _0x590fc2=_0x4d3dd6;this[_0x590fc2(0x377)](_0x46451b,_0x3ae6f2,_0x59c6a1,_0x1a40a2),this['_updatePivotTableInstanceCache'](_0x59c6a1,_0x3327e4);}['removePivotTable'](_0x2ab23b,_0x4e30fc,_0x1bbb5b){const _0x20724d=_0x4d3dd6,_0x371ff2=this[_0x20724d(0x49b)](_0x2ab23b);_0x371ff2['getNoUsedDataFieldIds'](_0x1bbb5b)['forEach'](_0xf9c146=>{const _0x1e571b=_0x20724d;_0x371ff2[_0x1e571b(0x475)](_0xf9c146);}),this['removeCollections'](_0x2ab23b,_0x1bbb5b),this[_0x20724d(0x3c7)](_0x2ab23b,_0x4e30fc,_0x1bbb5b),this[_0x20724d(0x2bf)](_0x1bbb5b);}[_0x4d3dd6(0x3f0)](_0x1e3a3f,_0x51ce16,_0xcc7d01,_0x74ff34){this['_updateModelCache'](_0x1e3a3f,_0x51ce16,_0xcc7d01,_0x74ff34);}['getPivotTableConfig'](_0x2a893f,_0x3cbc42,_0x48f47d){const _0x184b25=_0x4d3dd6;var _0x2fec11,_0x394447;const _0x6ea310=(_0x394447=(_0x2fec11=this[_0x184b25(0x439)][_0x184b25(0x34c)](_0x2a893f))==null?void 0x0:_0x2fec11[_0x184b25(0x34c)](_0x3cbc42))==null?void 0x0:_0x394447[_0x184b25(0x34c)](_0x48f47d);if(_0x6ea310)return _0x6ea310;}[_0x4d3dd6(0x204)](_0x24100e,_0x1aba61,_0x2b3286){const _0x55dcae=_0x4d3dd6;var _0x2af6f2,_0xe67bc4;const _0x1ffd8b=(_0xe67bc4=(_0x2af6f2=this[_0x55dcae(0x439)][_0x55dcae(0x34c)](_0x24100e))==null?void 0x0:_0x2af6f2[_0x55dcae(0x34c)](_0x1aba61))==null?void 0x0:_0xe67bc4[_0x55dcae(0x34c)](_0x2b3286);if(_0x1ffd8b)return _0x1ffd8b[_0x55dcae(0x37c)];}[_0x4d3dd6(0x459)](_0x19710c){const _0x2ab6fb=_0x4d3dd6;return this['_pivotTableInstanceCache'][_0x2ab6fb(0x34c)](_0x19710c);}[_0x4d3dd6(0x44c)](_0x1a92f9){const _0x3511d3=_0x4d3dd6;this['_model']['delete'](_0x1a92f9);const _0x48753a=this[_0x3511d3(0x33d)][_0x3511d3(0x34c)](_0x1a92f9);_0x48753a&&(_0x48753a[_0x3511d3(0x2ff)](),this['_dataFieldManagerCollection'][_0x3511d3(0x4a5)](_0x1a92f9)),this[_0x3511d3(0x1c2)][_0x3511d3(0x4a5)](_0x1a92f9),this['needSameDeleteModel'][_0x3511d3(0x3bb)](_0x115b9c=>{const _0x10c9a3=_0x3511d3;_0x115b9c[_0x10c9a3(0x44c)](_0x1a92f9);});}['addCollectionByJSON'](_0x11f4fc,_0x528613,_0x13cae9,_0x25345e){const _0x4603f4=_0x4d3dd6;return this['getDataFieldManager'](_0x13cae9[_0x4603f4(0x256)])['addCollectionByJSON'](_0x11f4fc,_0x528613,_0x13cae9,_0x25345e);}[_0x4d3dd6(0x2d4)](_0x41d5f6){const _0x33119f=_0x4d3dd6;return this[_0x33119f(0x49b)](_0x41d5f6['unitId'])[_0x33119f(0x2d4)](_0x41d5f6);}[_0x4d3dd6(0x3dc)](_0x38cbaa,_0x24fcae,_0x3c65c9){const _0x3fd528=_0x4d3dd6;this['getDataFieldManager'](_0x3c65c9['unitId'])[_0x3fd528(0x3dc)](_0x38cbaa,_0x24fcae,_0x3c65c9);}[_0x4d3dd6(0x22c)](_0x4bc471,_0x309621){const _0x3fd22d=_0x4d3dd6;this[_0x3fd22d(0x49b)](_0x4bc471)['deleteDataField'](_0x309621);}[_0x4d3dd6(0x48d)](_0x239fc0,_0x4f3fd6){const _0x7b0abb=_0x4d3dd6;this[_0x7b0abb(0x49b)](_0x239fc0)[_0x7b0abb(0x3a5)](_0x4f3fd6);}[_0x4d3dd6(0x27e)](_0x23efd9,_0x4d038e){const _0xa67b23=_0x4d3dd6;var _0x31b758;return(_0x31b758=this[_0xa67b23(0x439)]['get'](_0x23efd9))==null?void 0x0:_0x31b758[_0xa67b23(0x34c)](_0x4d038e);}['getTargetByPivotId'](_0x57e2bd){const _0xe22aff=_0x4d3dd6;for(const [_0x4cf57d,_0x2ba278]of this[_0xe22aff(0x439)][_0xe22aff(0x270)]())for(const [_0x1ed9f1,_0xc615b2]of _0x2ba278[_0xe22aff(0x270)]())if(_0xc615b2[_0xe22aff(0x285)](_0x57e2bd))return{'unitId':_0x4cf57d,'subUnitId':_0x1ed9f1};return null;}[_0x4d3dd6(0x40e)](_0x4fb1a0,_0x188970,_0x406ed4,_0x575b54){const _0xabd7a9=_0x4d3dd6,_0x301e5e=this[_0xabd7a9(0x3d6)](_0x4fb1a0,_0x188970);_0x575b54?_0x301e5e['set'](_0x406ed4,_0x575b54):_0x301e5e[_0xabd7a9(0x4a5)](_0x406ed4),this[_0xabd7a9(0x48f)][_0xabd7a9(0x483)]({'unitId':_0x4fb1a0,'subUnitId':_0x188970,'pivotTableId':_0x406ed4});}['dispose'](){super['dispose']();}[_0x4d3dd6(0x456)](_0x46e12c,_0x40d22c,_0x3a8f74){const _0x16bd10=_0x4d3dd6;var _0xcf5f40,_0x3aeacc;const _0x1f1da6=(_0x3aeacc=(_0xcf5f40=this[_0x16bd10(0x1c2)][_0x16bd10(0x34c)](_0x46e12c))==null?void 0x0:_0xcf5f40[_0x16bd10(0x34c)](_0x40d22c))==null?void 0x0:_0x3aeacc[_0x16bd10(0x34c)](_0x3a8f74);return _0x1f1da6||null;}['addDirtyPivotTable'](_0x87522c){this['updateDirtyPivotTable'](_0x87522c);}[_0x4d3dd6(0x495)](_0x1f03e4){const _0x4bb3a1=_0x4d3dd6,{token:_0x1d332d,unitId:_0x4f376a,subUnitId:_0x2f9a31}=_0x1f03e4,_0x1564cd=_0x4f376a+'-'+_0x2f9a31+'-'+_0x1d332d;this[_0x4bb3a1(0x3d4)][_0x4bb3a1(0x34c)](_0x1564cd)&&clearTimeout(this[_0x4bb3a1(0x3d4)]['get'](_0x1564cd));const _0x330173=setTimeout(()=>{const _0x479f6f=_0x4bb3a1;this['queryDirtyPivotTable'](_0x1f03e4),this[_0x479f6f(0x3d4)][_0x479f6f(0x4a5)](_0x1564cd);},_0x5e9470);this[_0x4bb3a1(0x3d4)][_0x4bb3a1(0x330)](_0x1564cd,_0x330173);}[_0x4d3dd6(0x4a7)](_0x2cd47d){const _0x53bf9c=_0x4d3dd6,{unitId:_0x1c2b82,subUnitId:_0x46cc73,token:_0x2ef7a1,type:_0x4d2de6,pivotConfig:_0x48d19b}=_0x2cd47d,_0x376395=this['getPivotTableInstance'](_0x2ef7a1),_0x13cf52=_0x376395==null?void 0x0:_0x376395[_0x53bf9c(0x2f3)](),_0x350bfa=_0x48d19b!=null?_0x48d19b:this['getPivotTableConfig'](_0x1c2b82,_0x46cc73,_0x2ef7a1);_0x350bfa&&(_0x350bfa[_0x53bf9c(0x2a7)]=!!(_0x376395!=null&&_0x376395[_0x53bf9c(0x2a7)]())),(_0x13cf52||_0x4d2de6===_0x50514a[_0x53bf9c(0x397)])&&this['updateView'](_0x1c2b82,_0x46cc73,_0x4d2de6,_0x2ef7a1,_0x13cf52,_0x350bfa,this[_0x53bf9c(0x49b)](_0x1c2b82)[_0x53bf9c(0x378)]());}[_0x4d3dd6(0x378)](_0x465ad8){const _0x55e768=_0x4d3dd6,_0x2d80a1={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x55e768(0x49b)](_0x465ad8)&&(_0x2d80a1[_0x55e768(0x28a)][_0x465ad8]=this['getDataFieldManager'](_0x465ad8)['toJSON']()),this['_model']['get'](_0x465ad8)){_0x2d80a1[_0x55e768(0x471)][_0x465ad8]={};const _0x2fc298=this[_0x55e768(0x439)][_0x55e768(0x34c)](_0x465ad8);_0x2fc298!=null&&_0x2fc298[_0x55e768(0x40d)]&&[..._0x2fc298[_0x55e768(0x350)]()]['forEach'](_0x1f11b4=>{const _0x14cfeb=_0x55e768,_0x47771a=_0x2fc298[_0x14cfeb(0x34c)](_0x1f11b4);_0x47771a!=null&&_0x47771a[_0x14cfeb(0x40d)]&&(_0x2d80a1['pivotTableConfigs'][_0x465ad8][_0x1f11b4]={},[..._0x47771a['keys']()][_0x14cfeb(0x3bb)](_0x4e4ba1=>{const _0x508f30=_0x14cfeb,_0x9b83b8=_0x47771a[_0x508f30(0x34c)](_0x4e4ba1);_0x9b83b8&&(_0x2d80a1[_0x508f30(0x471)][_0x465ad8][_0x1f11b4][_0x4e4ba1]=_0x9b83b8);}));});}return _0x2d80a1;}[_0x4d3dd6(0x44a)](_0x2064a1){const _0x16ab45=_0x4d3dd6;var _0x501295;const {dataFieldManagerConfig:_0x350aa6,pivotTableConfigs:_0x114a6e}=_0x2064a1;_0x350aa6&&Object[_0x16ab45(0x350)](_0x350aa6)[_0x16ab45(0x3bb)](_0x359f67=>{const _0x5e1803=_0x16ab45;this['getDataFieldManager'](_0x359f67)[_0x5e1803(0x44a)](_0x350aa6[_0x359f67]);});const _0x14ae07=[];if(_0x114a6e){const _0x6c27f1=(_0x501295=this[_0x16ab45(0x21f)]['get'](_0x4f5d51[_0x16ab45(0x189)])[_0x16ab45(0x1e4)](_0x25d21e[_0x16ab45(0x43e)]))!=null?_0x501295:{},{ls:_0x2c3fe5,pbk:_0x903f74}=_0x6c27f1,_0x283a9c=_0x231f35(_0x42e383,_0x2c3fe5,_0x903f74)['count'];Object[_0x16ab45(0x350)](_0x114a6e)[_0x16ab45(0x3bb)](_0x411076=>{const _0x48b75b=_0x16ab45;let _0x2dccc3=0x0;const _0x3b5326=_0x114a6e[_0x411076];Object['keys'](_0x3b5326)[_0x48b75b(0x3bb)](_0x1a04f2=>{const _0x4ece4f=_0x48b75b,_0x590b23=_0x3b5326[_0x1a04f2];Object[_0x4ece4f(0x350)](_0x590b23)[_0x4ece4f(0x3bb)](_0x2c95e5=>{const _0x5a35e7=_0x4ece4f,_0x1feb02=_0x590b23[_0x2c95e5];if(_0x1feb02){if(_0x2dccc3>=_0x283a9c)return;_0x2dccc3++;const _0x225d2d=this['getDataFieldManager'](_0x411076),_0xe2686d=_0x225d2d[_0x5a35e7(0x41f)][_0x2c95e5],_0xde96a3=_0xe2686d['getFieldIds']();let _0x167844=0x0;const _0x13527c=[];for(const _0x22b2f2 of _0xde96a3){const _0x1aaba9=_0xe2686d[_0x5a35e7(0x355)](_0x22b2f2);if(_0x1dcf85[_0x5a35e7(0x1ac)](_0x1aaba9)){const _0x3676a0=_0x1aaba9['getOriginFieldId'](),_0x5d1d2e=_0xe2686d[_0x5a35e7(0x355)](_0x3676a0);_0x5d1d2e&&_0x13527c['push']([_0x1aaba9,_0x5d1d2e]);continue;}_0x225d2d['refreshDataField'](_0x22b2f2,_0x1feb02[_0x5a35e7(0x3f1)],_0x167844),_0x167844++;}_0x13527c['forEach'](([_0x2ecaea,_0x30d30b])=>{const _0xd3a1ca=_0x5a35e7;_0x2ecaea[_0xd3a1ca(0x2f4)](_0x30d30b);});const _0x52f567=new _0x1dcf85['PivotTable'](_0xe2686d);_0x52f567['fromJSON'](_0x1feb02['fieldsConfig']),this[_0x5a35e7(0x27b)](_0x411076,_0x1a04f2,_0x2c95e5,_0x52f567,_0x1feb02);const _0x3554e0=_0x52f567[_0x5a35e7(0x2f3)]();_0x14ae07['push']({'unitId':_0x411076,'subUnitId':_0x1a04f2,'pivotTableId':_0x2c95e5,'view':_0x3554e0[_0x5a35e7(0x378)](),'pivotConfig':_0x1feb02,'type':_0x50514a[_0x5a35e7(0x262)]});const _0x2fcd6b=!!_0x52f567[_0x5a35e7(0x2a7)](),_0x4a8cae={'view':_0x3554e0,'pivotTableId':_0x2c95e5,'textInfo':this[_0x5a35e7(0x3ed)](),'isEmpty':_0x2fcd6b,'targetCellInfo':_0x1feb02[_0x5a35e7(0x3dd)]};this['updateViewData'](_0x4a8cae,!0x1);}});});});}_0x350aa6&&Object[_0x16ab45(0x350)](_0x350aa6)[_0x16ab45(0x3bb)](_0x5ae309=>{const _0x3df891=_0x16ab45,_0xc79df6=this[_0x3df891(0x49b)](_0x5ae309);this[_0x3df891(0x1e6)][_0x3df891(0x483)](_0xc79df6['collections']);}),this[_0x16ab45(0x1fa)][_0x16ab45(0x1c4)](_0x48aa26['id'],{'batch':_0x14ae07,'collectionConfig':_0x350aa6},{'onlyLocal':!0x0});}[_0x4d3dd6(0x432)](){const _0x26a7cf=_0x4d3dd6;this[_0x26a7cf(0x332)](this[_0x26a7cf(0x27f)][_0x26a7cf(0x40b)]({'toJson':_0x1ed813=>JSON[_0x26a7cf(0x333)](this[_0x26a7cf(0x378)](_0x1ed813)),'parseJson':_0x1bcaef=>{const _0x357bbe=_0x26a7cf;if(!_0x1bcaef)return{};try{return JSON[_0x357bbe(0x362)](_0x1bcaef);}catch{return{};}},'businesses':[_0x4f5d51[_0x26a7cf(0x494)]['UNIVER_SHEET']],'pluginName':_0x51ad8b,'onLoad':(_0x17f407,_0x30f9db)=>{this['fromJSON'](_0x30f9db);},'onUnLoad':_0x503b30=>{const _0x5298f5=_0x26a7cf;this[_0x5298f5(0x44c)](_0x503b30);}}));}},_0xc194b8[_0x4d3dd6(0x334)]=_0x47e447([_0x11801d(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x11801d(0x1,_0x4f5d51[_0x4d3dd6(0x343)]),_0x11801d(0x2,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x243)])),_0x11801d(0x3,_0x4f5d51[_0x4d3dd6(0x189)]),_0x11801d(0x4,_0x4f5d51[_0x4d3dd6(0x4a4)]),_0x11801d(0x5,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x3e3)]))],_0xc194b8[_0x4d3dd6(0x334)]);const _0x10f407={0x0:{0x0:{'v':_0x4d3dd6(0x479),'s':_0x3d10ea}},0x2:{0x1:{'v':'','s':_0x3d10ea},0x2:{'v':'','s':_0x3d10ea},0x3:{'v':_0x4d3dd6(0x284),'s':_0x3d10ea},0x4:{'v':'','s':_0x3d10ea},0x5:{'v':'','s':_0x3d10ea}},0x3:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x4:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x5:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x6:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x7:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x8:{0x0:{'v':_0x4d3dd6(0x46e),'s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':_0x4d3dd6(0x239),'s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0x9:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0xa:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0xb:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0xc:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}},0xd:{0x0:{'v':'','s':_0x3d10ea},0x1:{'v':'','s':_0x5e43b9},0x2:{'v':'','s':_0x5e43b9},0x3:{'v':'','s':_0x5e43b9},0x4:{'v':'','s':_0x5e43b9},0x5:{'v':'','s':_0x5e43b9}}},_0x29551d={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},_0x22eb01=(_0x521efe,_0xf8fdb7)=>{const _0x1f62a6=_0x4d3dd6,_0x21abc0=new _0x4f5d51[(_0x1f62a6(0x2cc))](),_0x3ef064=new _0x4f5d51[(_0x1f62a6(0x2cc))](_0x10f407),{row:_0x5bccbb,col:_0x270655}=_0xf8fdb7;_0x3ef064['forValue']((_0x2de3c6,_0x324865,_0xefd56)=>{const _0x4cb8f4=_0x1f62a6;let _0x3f2773='';_0xefd56['v']===_0x4cb8f4(0x479)?_0x3f2773=_0x521efe[_0x4cb8f4(0x479)]:_0xefd56['v']===_0x4cb8f4(0x46e)?_0x3f2773=_0x521efe[_0x4cb8f4(0x46e)]:_0xefd56['v']==='column'?_0x3f2773=_0x521efe[_0x4cb8f4(0x284)]:_0xefd56['v']==='values'&&(_0x3f2773=_0x521efe['values']),_0x21abc0[_0x4cb8f4(0x3ad)](_0x2de3c6+_0x5bccbb,_0x324865+_0x270655,{..._0xefd56,'v':_0x3f2773});});const _0x333a2c=_0x4f5d51[_0x1f62a6(0x1c8)][_0x1f62a6(0x2a6)](_0x29551d);return Object[_0x1f62a6(0x350)](_0x29551d)[_0x1f62a6(0x3bb)](_0x4f980f=>{const _0x13ed8d=_0x1f62a6;_0x333a2c[_0x4f980f]=_0x29551d[_0x4f980f]['map'](_0x4f7875=>({..._0x4f7875,'startRow':_0x4f7875['startRow']+_0x5bccbb,'endRow':_0x4f7875['endRow']+_0x5bccbb,'startColumn':_0x4f7875[_0x13ed8d(0x441)]+_0x270655,'endColumn':_0x4f7875[_0x13ed8d(0x2fb)]+_0x270655}));}),{'matrixCache':_0x21abc0,'rangesCache':_0x333a2c};};function _0x1a6124(_0x31130c,_0x5419ab){const _0x125345=_0x4d3dd6;let _0x88f6f8='';const _0x112062=this['getTextInfo']();switch(_0x5419ab){case _0x1dcf85[_0x125345(0x417)][_0x125345(0x2f9)]:_0x88f6f8=_0x112062['sheets-pivot.averageName']+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x3c4)]:_0x88f6f8=_0x112062[_0x125345(0x1df)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x26f)]:_0x88f6f8=_0x112062['sheets-pivot.countNumsName']+_0x31130c;break;case _0x1dcf85['PivotSubtotalTypeEnum'][_0x125345(0x498)]:_0x88f6f8=_0x112062[_0x125345(0x2a8)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x2de)]:_0x88f6f8=_0x112062[_0x125345(0x3b9)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x1ca)]:_0x88f6f8=_0x112062[_0x125345(0x190)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)]['stdDev']:_0x88f6f8=_0x112062[_0x125345(0x34e)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x41d)]:_0x88f6f8=_0x112062[_0x125345(0x388)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)][_0x125345(0x331)]:_0x88f6f8=_0x112062[_0x125345(0x1b7)]+_0x31130c;break;case _0x1dcf85[_0x125345(0x417)]['var']:_0x88f6f8=_0x112062[_0x125345(0x36d)]+_0x31130c;break;case _0x1dcf85['PivotSubtotalTypeEnum']['varp']:_0x88f6f8=_0x112062[_0x125345(0x37b)]+_0x31130c;break;default:_0x88f6f8=_0x31130c;break;}return _0x88f6f8;}function _0x5a95c9(_0x51e691,_0x2c1284,_0x3b5a1b,_0x541094,_0x557e1f){const _0x2ff1d2=_0x4d3dd6;var _0x57e50e,_0x13feba,_0x4ef81a,_0x5478a5,_0x4ffc37;const _0x322d6b=_0x4f5d51[_0x2ff1d2(0x395)](_0x51e691,_0x2c1284),{rangesInfo:_0x5ae97e,areaInfo:_0x421db6,headerMap:_0x4c55ab}=_0x557e1f;if(!_0x5ae97e||!_0x421db6||!_0x4c55ab)return;const _0x48f919=Object[_0x2ff1d2(0x350)](_0x5ae97e)[_0x2ff1d2(0x28e)](_0x49d2ec=>_0x5ae97e[_0x49d2ec][_0x2ff1d2(0x3af)](_0x58f727=>_0x4f5d51[_0x2ff1d2(0x38c)][_0x2ff1d2(0x1ec)](_0x58f727,_0x322d6b))),_0x1b82a3=_0x421db6;let _0x570ea3,_0x22688e,_0x396309;if(_0x48f919===_0x2ff1d2(0x2ca))_0x570ea3=(_0x57e50e=_0x1b82a3==null?void 0x0:_0x1b82a3[_0x2ff1d2(0x302)])==null?void 0x0:_0x57e50e[_0x51e691],_0x22688e=(_0x13feba=_0x4c55ab==null?void 0x0:_0x4c55ab['rowHeaderMap'])==null?void 0x0:_0x13feba[_0x2c1284],_0x396309=_0x22688e==null?void 0x0:_0x22688e[_0x2ff1d2(0x422)];else{if(_0x48f919===_0x2ff1d2(0x267))_0x570ea3=(_0x4ef81a=_0x1b82a3==null?void 0x0:_0x1b82a3[_0x2ff1d2(0x35d)])==null?void 0x0:_0x4ef81a[_0x2c1284],_0x22688e=(_0x5478a5=_0x4c55ab[_0x2ff1d2(0x1eb)])==null?void 0x0:_0x5478a5[_0x51e691+0x1+_0x2c1284-_0x5ae97e[_0x2ff1d2(0x267)][0x0][_0x2ff1d2(0x441)]],_0x396309=_0x22688e==null?void 0x0:_0x22688e[_0x2ff1d2(0x422)];else{if(_0x48f919===_0x2ff1d2(0x253))_0x570ea3=(_0x4ffc37=_0x1b82a3==null?void 0x0:_0x1b82a3[_0x2ff1d2(0x443)])==null?void 0x0:_0x4ffc37[_0x2c1284],_0x396309=_0x570ea3==null?void 0x0:_0x570ea3[_0x2ff1d2(0x422)];else{if(_0x48f919===_0x2ff1d2(0x1d8)){const _0x4a76d5=_0x3b5a1b==null?void 0x0:_0x3b5a1b['fi'];_0x4a76d5!==void 0x0&&(_0x396309=_0x541094[_0x2ff1d2(0x36f)](_0x4a76d5));}}}}return{'filterId':_0x396309,'info':_0x570ea3,'data':_0x3b5a1b,'headerInfo':_0x22688e};}function _0x1ac3c9(_0xc29a6a,_0x143741,_0x356a99){const _0x525d37=_0x4d3dd6,_0x3e2a6f=_0xc29a6a[_0x525d37(0x3e8)],_0x40fdde=_0x3e2a6f[_0x525d37(0x2db)](),_0x5b6e59=new Set();_0xc29a6a['iterateField'](_0x51f446=>{const _0x115948=_0x525d37;_0x5b6e59[_0x115948(0x205)](_0x51f446[_0x115948(0x2ef)]);});const _0x3aff35=_0x40fdde[_0x525d37(0x2fd)](_0x2980fd=>{const _0x33bb09=_0x525d37,_0x54b270=_0x3e2a6f[_0x33bb09(0x355)](_0x2980fd);return{'checked':_0x5b6e59['has'](_0x2980fd),'dataFieldId':_0x54b270['id'],'id':_0x54b270['id'],'name':_0x3e2a6f[_0x33bb09(0x3ab)](_0x54b270['id']),'type':_0x54b270[_0x33bb09(0x46c)](),'pivotTableId':_0x143741};}),_0x52bed1=[];_0xc29a6a[_0x525d37(0x340)](_0x1dcf85['PivotTableFiledAreaEnum'][_0x525d37(0x2c9)],_0x23e8c0=>{const _0xf8d426=_0x525d37;_0x52bed1[_0xf8d426(0x2b0)]({'dataFieldId':_0x23e8c0[_0xf8d426(0x2ef)],'tableFieldId':_0x23e8c0[_0xf8d426(0x339)](),'displayName':_0x23e8c0[_0xf8d426(0x3ab)]()});});const _0x4c83a1=[];_0xc29a6a['iterateFieldByArea'](_0x1dcf85['PivotTableFiledAreaEnum'][_0x525d37(0x1e3)],_0x3897ef=>{const _0x461c21=_0x525d37;_0x4c83a1['push']({'dataFieldId':_0x3897ef['dataFieldId'],'tableFieldId':_0x3897ef[_0x461c21(0x339)](),'displayName':_0x3897ef['getDisplayName']()});});const _0x12e4b4=[];if(_0xc29a6a['iterateFieldByArea'](_0x1dcf85['PivotTableFiledAreaEnum']['Value'],_0x31e752=>{const _0x36949e=_0x525d37;_0x12e4b4[_0x36949e(0x2b0)]({'dataFieldId':_0x31e752['dataFieldId'],'tableFieldId':_0x31e752['getId'](),'displayName':_0x31e752[_0x36949e(0x3ab)](),'format':_0x31e752['getFormat'](),'subTotalType':_0x31e752[_0x36949e(0x3c0)]()});}),_0x12e4b4['length']>0x1){const _0x4df791=_0xc29a6a[_0x525d37(0x3c3)]();(_0xc29a6a[_0x525d37(0x449)]()?_0x4c83a1:_0x52bed1)[_0x525d37(0x1f9)](_0x4df791,0x0,{'dataFieldId':'','tableFieldId':_0x525d37(0x3b2),'displayName':_0x525d37(0x384)});}const _0xc9adaf=[];_0xc29a6a['iterateFieldByArea'](_0x1dcf85['PivotTableFiledAreaEnum'][_0x525d37(0x208)],_0x2a7af0=>{const _0xbb5173=_0x525d37;_0xc9adaf[_0xbb5173(0x2b0)]({'dataFieldId':_0x2a7af0[_0xbb5173(0x2ef)],'tableFieldId':_0x2a7af0[_0xbb5173(0x339)](),'displayName':_0x2a7af0[_0xbb5173(0x3ab)]()});});const _0xa250ab=_0x356a99[_0x525d37(0x3f1)];return{'sourceList':_0x3aff35,'sourceRange':_0xa250ab,'rowFields':_0x52bed1,'columnFields':_0x4c83a1,'valueFields':_0x12e4b4,'filterFields':_0xc9adaf,'positionInfo':_0x356a99[_0x525d37(0x3dd)]};}function _0x4ceb07(_0x4784f3,_0x34e429,_0xfb894b='',_0xf0c3e9={}){const _0x1623ef=_0x4d3dd6,_0x5d4d87=_0x4784f3[_0x1623ef(0x34c)](_0x4f5d51[_0x1623ef(0x3ea)]);for(const _0x54123e in _0x34e429)if(Object[_0x1623ef(0x209)]['hasOwnProperty'][_0x1623ef(0x292)](_0x34e429,_0x54123e)){const _0x158589=_0xfb894b?_0xfb894b+'.'+_0x54123e:_0x54123e;typeof _0x34e429[_0x54123e]==_0x1623ef(0x4a8)&&_0x34e429[_0x54123e]!==null&&!Array[_0x1623ef(0x1e2)](_0x34e429[_0x54123e])?_0x4ceb07(_0x4784f3,_0x34e429[_0x54123e],_0x158589,_0xf0c3e9):_0xf0c3e9[_0x158589]=_0x5d4d87['t'](_0x158589);}return _0xf0c3e9;}const _0x1d908f=_0x5ced81=>{const _0x183c64=_0x4d3dd6;if(!_0x5ced81)return[];const {rowRanges:_0x509e06,colRanges:_0x39be66,cornerRanges:_0x301f24,dataRanges:_0xb729a9,pageRanges:_0x4997c5}=_0x5ced81,_0x5f422f=[..._0x39be66,..._0x509e06,..._0xb729a9,..._0x301f24][_0x183c64(0x479)](_0x5782d8=>_0x5782d8[_0x183c64(0x275)]>=0x0&&_0x5782d8[_0x183c64(0x441)]>=0x0&&_0x5782d8[_0x183c64(0x460)]>=0x0&&_0x5782d8[_0x183c64(0x2fb)]>=0x0);let _0x4ffdee=Number[_0x183c64(0x48e)],_0x29ad9a=Number['MIN_SAFE_INTEGER'],_0x17df48=Number['MAX_SAFE_INTEGER'],_0x140b92=Number[_0x183c64(0x1cf)];for(let _0x482cac=0x0;_0x482cac<_0x5f422f[_0x183c64(0x425)];_0x482cac++)_0x4ffdee=Math[_0x183c64(0x2de)](_0x4ffdee,_0x5f422f[_0x482cac]['startRow']),_0x29ad9a=Math[_0x183c64(0x498)](_0x29ad9a,_0x5f422f[_0x482cac][_0x183c64(0x460)]),_0x17df48=Math[_0x183c64(0x2de)](_0x17df48,_0x5f422f[_0x482cac]['startColumn']),_0x140b92=Math[_0x183c64(0x498)](_0x140b92,_0x5f422f[_0x482cac]['endColumn']);return[..._0x4997c5,{'startRow':_0x4ffdee,'endRow':_0x29ad9a,'startColumn':_0x17df48,'endColumn':_0x140b92}];};function _0x53f0d2(_0x298617,_0x4abcb4){const _0x10274a=_0x4d3dd6,_0x42c84a=_0x4abcb4[_0x10274a(0x4a2)][_0x10274a(0x376)],{pivotTableId:_0x4680ce,unitId:_0x5c6f80,subUnitId:_0xcb73f4}=_0x4abcb4;if(!_0x42c84a)return;const _0x313210=_0x298617[_0x10274a(0x34c)](_0xc194b8[_0x10274a(0x334)]),_0x3a8bd2=_0x313210['getPivotTableInstance'](_0x4680ce),_0x5d7122=_0x313210[_0x10274a(0x306)](_0x5c6f80,_0xcb73f4,_0x4680ce);if(!_0x3a8bd2||!_0x5d7122)return;const _0x4ade62=_0x3a8bd2[_0x10274a(0x337)](_0x42c84a['tuple']);if(!(_0x4ade62!=null&&_0x4ade62[_0x10274a(0x425)]))return;const _0x11d0f8=_0x5d7122[_0x10274a(0x3f1)],{unitId:_0x1acaaa,subUnitId:_0x548caf,range:_0x47f48a}=_0x11d0f8;let _0x5ae603=0x0;const _0x319dae=_0x3a8bd2[_0x10274a(0x3e8)][_0x10274a(0x2db)]()[_0x10274a(0x251)]((_0x4e9b26,_0x3cc514)=>{const _0x3e1c5c=_0x10274a;var _0x48a397;const _0x242f3c=(_0x48a397=_0x3a8bd2[_0x3e1c5c(0x411)](_0x3cc514))==null?void 0x0:_0x48a397[_0x3e1c5c(0x2ae)]();return _0x242f3c&&(_0x4e9b26[String(_0x5ae603)]=_0x242f3c),_0x5ae603++,_0x4e9b26;},{});return{'indexes':_0x4ade62,'range':_0x47f48a,'sourceUnitId':_0x1acaaa,'sourceSubUnitId':_0x548caf,'formatMap':_0x319dae};}function _0x75d115(_0x215cd1,_0x7f22d){const _0xf82abc=_0x4d3dd6;if(!_0x215cd1||!_0x7f22d)return!0x0;const _0x19036c=_0x25d21e[_0xf82abc(0x3fc)](_0x4c9018,_0x3ed1f1),_0x5bd0b4=new Function('return\x20'+_0x19036c)()(_0x215cd1,_0x7f22d)['message'],_0x3f9468=_0x25d21e[_0xf82abc(0x28c)](_0x5bd0b4,'sf',_0x529fa9);return!((_0x5bd0b4==null?void 0x0:_0x5bd0b4['rt'])===_0x25d21e[_0xf82abc(0x40f)][_0xf82abc(0x31e)]&&!_0x3f9468);}function _0x231f35(_0xd5c8ff,_0x4bd75e,_0x296e44){const _0x55da61=_0x4d3dd6,_0x2f0206={'count':_0xd5c8ff,'timeValid':!0x1};if(!_0x4bd75e||!_0x296e44)return _0x2f0206;const _0x43593b=_0x25d21e['unshiftString'](_0x4c9018,_0x3ed1f1),_0x38f43b=new Function(_0x55da61(0x3c5)+_0x43593b)()(_0x4bd75e,_0x296e44);if(_0x38f43b!=null&&_0x38f43b[_0x55da61(0x3a3)]){const _0x5efd71=_0x38f43b[_0x55da61(0x382)],_0x34b75e=_0x25d21e[_0x55da61(0x28c)](_0x5efd71,'sf',_0x529fa9);return{'count':_0x25d21e[_0x55da61(0x1c7)](_0x5efd71,_0x34b75e,'ptn',_0xd5c8ff,_0xd5c8ff,0x0),'timeValid':_0x34b75e};}return _0x2f0206;}function _0x43cd0f(_0x17976f,_0x1c3006,_0x300995,_0xaef26a){const _0x3c0b0d=_0x4d3dd6,_0x319525={'subUnitId':_0x300995,'unitId':_0x1c3006,'cellValue':_0x55067d[_0x3c0b0d(0x311)](_0xaef26a)},_0x4d7251=_0x55067d['SetRangeValuesUndoMutationFactory'](_0x17976f,_0x319525);let _0x3352c5=!0x1;return new _0x4f5d51[(_0x3c0b0d(0x2cc))](_0x4d7251[_0x3c0b0d(0x2cd)])[_0x3c0b0d(0x38f)]((_0x3d03ab,_0x44ec78,_0xf1ad42)=>{if(!_0x3352c5&&_0xf1ad42&&(_0xf1ad42['custom']||_0xf1ad42['f']||_0xf1ad42['p']||_0xf1ad42['s']||_0xf1ad42['si']||_0xf1ad42['t']||_0xf1ad42['v']))return _0x3352c5=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x55067d[_0x3c0b0d(0x367)]['id'],'params':_0x4d7251},'setRangeValueRedoMutation':{'id':_0x55067d[_0x3c0b0d(0x367)]['id'],'params':_0x319525},'shouldClear':_0x3352c5};}function _0x56fc8d(_0x5acc4e){const {row:_0x2d491d,col:_0x362a33}=_0x5acc4e,_0x3d153f={'startRow':_0x2d491d,'endRow':_0x2d491d,'startColumn':_0x362a33,'endColumn':_0x362a33},_0x58a3f0={'startRow':_0x2d491d+0x2,'endRow':_0x2d491d+0xe,'startColumn':_0x362a33,'endColumn':_0x362a33+0x6};return[_0x3d153f,_0x58a3f0];}function _0x190628(_0x14f270,_0x48f82f,_0xf976ca){const _0x353a07=_0x4d3dd6,{cornerView:_0x3036b2,rowView:_0x2a8b46,colView:_0x4b8b4f,pageView:_0x105458}=_0x14f270,{row:_0x5793e8,col:_0x525906}=_0x48f82f;if(_0xf976ca)return{'rowCount':_0x44d257+_0x5793e8,'colCount':_0x192519+_0x525906};const _0x4a9467=_0x105458[_0x353a07(0x31d)]>-0x1?_0x105458[_0x353a07(0x31d)]+0x1:0x0,_0x29b075=_0x105458[_0x353a07(0x225)]>-0x1?_0x105458['lastCol']:0x0,_0x506ec1=_0x5793e8+_0x4a9467+(_0x4a9467?0x1:0x0)+_0x3036b2[_0x353a07(0x381)]+_0x2a8b46[_0x353a07(0x381)],_0x2a58f5=_0x525906+_0x29b075,_0x2dd7d7=_0x525906+_0x3036b2[_0x353a07(0x1dd)]+_0x4b8b4f[_0x353a07(0x1dd)],_0x411509=Math[_0x353a07(0x498)](_0x2a58f5,_0x2dd7d7);return{'rowCount':_0x506ec1,'colCount':_0x411509};}function _0x15adda(_0x4c4545,_0x23b340,_0xd9f4b,_0x2fa51c){const _0x263c50=_0x4d3dd6,{row:_0x5327da,col:_0x1431b7,unitId:_0x4aab06,subUnitId:_0x28bc76}=_0xd9f4b,_0x17e749=_0x190628(_0x23b340,{'row':_0x5327da,'col':_0x1431b7},_0x2fa51c),_0x33f1b4=_0x4c4545[_0x263c50(0x34c)](_0x4f5d51[_0x263c50(0x343)]),_0x2527ad=_0x55067d[_0x263c50(0x19f)](_0x33f1b4,{'unitId':_0x4aab06,'subUnitId':_0x28bc76}),_0x247093=[],_0x2654c0=[];if(!_0x2527ad)return{'undos':_0x2654c0,'redos':_0x247093};const {worksheet:_0x3669c0}=_0x2527ad,_0x2d07bd=_0x3669c0[_0x263c50(0x1e7)](),_0x177cae=_0x3669c0[_0x263c50(0x2b5)]();return _0x2d07bd<_0x17e749[_0x263c50(0x381)]&&(_0x247093[_0x263c50(0x2b0)]({'id':_0x55067d[_0x263c50(0x2f5)]['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x28bc76,'range':{'startRow':_0x2d07bd,'endRow':_0x17e749[_0x263c50(0x381)]-0x1,'startColumn':0x0,'endColumn':_0x177cae-0x1}}}),_0x2654c0[_0x263c50(0x2b0)]({'id':_0x55067d[_0x263c50(0x228)]['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x28bc76,'range':{'startRow':_0x2d07bd,'endRow':_0x17e749[_0x263c50(0x381)]-0x1,'startColumn':0x0,'endColumn':_0x177cae-0x1}}})),_0x177cae<_0x17e749[_0x263c50(0x1dd)]&&(_0x247093['push']({'id':_0x55067d[_0x263c50(0x356)]['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x28bc76,'range':{'startRow':0x0,'endRow':_0x2d07bd-0x1,'startColumn':_0x177cae,'endColumn':_0x17e749[_0x263c50(0x1dd)]-0x1}}}),_0x2654c0[_0x263c50(0x2b0)]({'id':_0x55067d[_0x263c50(0x379)]['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x28bc76,'range':{'startRow':0x0,'endRow':_0x2d07bd-0x1,'startColumn':_0x177cae,'endColumn':_0x17e749[_0x263c50(0x1dd)]-0x1}}})),{'undos':_0x2654c0,'redos':_0x247093};}function _0x2a03b6(_0x573354){const _0x5da762=_0x4d3dd6;let _0xb08ad8=0x0;for(let _0xdf55d=0x0;_0xdf55d<_0x573354['length'];_0xdf55d++){const _0x3733bf=_0x573354[_0x5da762(0x34d)](_0xdf55d);_0x3733bf>=0x4e00&&_0x3733bf<=0x9fff||_0x3733bf>=0x3000&&_0x3733bf<=0x303f||_0x3733bf>=0xff00&&_0x3733bf<=0xffef?_0xb08ad8+=0x2:_0xb08ad8+=0x1;}return _0xb08ad8;}function _0x3765ec(_0x529298,_0x74b67,_0x58074e,_0x15956f){const _0x42a25c=_0x4d3dd6;var _0x54dcd8,_0x334878,_0x56ed4e,_0x467572;const {rowCount:_0x285ffe,colCount:_0x3072ec,headerMap:_0x2420c5}=_0x529298,_0xd5cfe6=0x64,_0xba5540=Math[_0x42a25c(0x2de)](_0x285ffe,_0xd5cfe6),_0x47a691=Math['min'](_0x3072ec,_0xd5cfe6);let _0x2a1738='',_0x210263=0x0;for(let _0x5dc3e4=0x0;_0x5dc3e4<_0xba5540;_0x5dc3e4++)for(let _0x1ecc95=0x0;_0x1ecc95<_0x47a691;_0x1ecc95++){const _0x32b66e={...(_0x334878=(_0x54dcd8=_0x529298['data'])==null?void 0x0:_0x54dcd8[_0x5dc3e4])==null?void 0x0:_0x334878[_0x1ecc95]},_0xb3833f=(_0x56ed4e=_0x2420c5[_0x5dc3e4])==null?void 0x0:_0x56ed4e['tableFieldId'],_0x17a776=_0x15956f[_0xb3833f];let _0x189d30=_0x529298[_0x42a25c(0x1ce)](_0x5dc3e4,_0x1ecc95);if(_0x32b66e){const _0x1f6493=_0x58074e?_0x1ecc95===0x0&&((_0x467572=_0x529298[_0x42a25c(0x246)](_0x1ecc95+0x1))==null?void 0x0:_0x467572['isValue']):!0x1;_0x189d30=_0x2590fc(_0x32b66e,_0x1f6493,_0x17a776,_0x74b67);}if(_0x189d30!==void 0x0){const _0x9852f4=_0x2a03b6(String(_0x189d30));_0x210263<_0x9852f4&&(_0x2a1738=String(_0x189d30),_0x210263=_0x9852f4);}}return _0x2a1738;}function _0x46e169(_0x4f4270){const {rowCount:_0x2d3fe9,colCount:_0x44f47b}=_0x4f4270;let _0x528486='',_0x44399b=0x0;for(let _0x750152=_0x2d3fe9-0x1;_0x750152>0x0&&_0x750152>_0x2d3fe9-0x3;_0x750152--)for(let _0x8533cf=0x0;_0x8533cf<_0x44f47b;_0x8533cf++){const _0x400039=_0x4f4270['getValue'](_0x750152,_0x8533cf);if(_0x400039!==void 0x0){const _0xe679ac=String(_0x400039)['length'];_0x44399b<_0xe679ac&&(_0x528486=String(_0x400039),_0x44399b=_0xe679ac);}}return _0x528486;}function _0x2548f3(_0x3ee171){const _0x4044c8=_0x4d3dd6,{rowCount:_0x23bc3a,colCount:_0x5c3111}=_0x3ee171;let _0x4e2711='',_0x5e48eb=0x0;for(let _0x2635f3=0x0;_0x2635f3<_0x23bc3a;_0x2635f3++)for(let _0x56e9f9=0x0;_0x56e9f9<_0x5c3111;_0x56e9f9++){const _0x348fa6=_0x3ee171[_0x4044c8(0x1ce)](_0x2635f3,_0x56e9f9);if(_0x348fa6!==void 0x0){const _0x1fb0fc=String(_0x348fa6)[_0x4044c8(0x425)];_0x5e48eb<_0x1fb0fc&&(_0x4e2711=String(_0x348fa6),_0x5e48eb=_0x1fb0fc);}}return _0x4e2711;}function _0x52c691(_0x5c0225,_0x597dd1){const _0x2cbfb4=_0x4d3dd6,{rowFields:_0x23ba01,columnFields:_0x4b070a,valueFields:_0x4a7d1a,filterFields:_0x328cc4,dimension:_0x4fbbc8,measure:_0x12d027}=_0x597dd1;for(const _0x3b1119 of _0x23ba01){const _0x395df1=_0x4fbbc8[_0x3b1119];_0x395df1&&_0x5c0225[_0x2cbfb4(0x411)](_0x395df1[_0x2cbfb4(0x2ef)])&&(_0x5c0225[_0x2cbfb4(0x492)](_0x395df1[_0x2cbfb4(0x2ef)],_0x1dcf85[_0x2cbfb4(0x1be)][_0x2cbfb4(0x2c9)],void 0x0,_0x3b1119),_0x395df1['displayName']&&_0x5c0225[_0x2cbfb4(0x2e6)](_0x395df1['id'],_0x395df1['displayName']),_0x395df1[_0x2cbfb4(0x452)]&&_0x5c0225[_0x2cbfb4(0x36b)](_0x395df1['id'],_0x395df1[_0x2cbfb4(0x452)]),_0x395df1[_0x2cbfb4(0x369)]&&_0x5c0225[_0x2cbfb4(0x470)](_0x395df1['id'],_0x395df1[_0x2cbfb4(0x369)]));}for(const _0x3173ba of _0x4b070a){const _0x30e402=_0x4fbbc8[_0x3173ba];_0x30e402&&_0x5c0225['getDataFieldByDataFieldId'](_0x30e402['dataFieldId'])&&(_0x5c0225[_0x2cbfb4(0x492)](_0x30e402[_0x2cbfb4(0x2ef)],_0x1dcf85[_0x2cbfb4(0x1be)][_0x2cbfb4(0x1e3)],void 0x0,_0x3173ba),_0x30e402[_0x2cbfb4(0x452)]&&_0x5c0225[_0x2cbfb4(0x36b)](_0x30e402['id'],_0x30e402[_0x2cbfb4(0x452)]),_0x30e402[_0x2cbfb4(0x369)]&&_0x5c0225[_0x2cbfb4(0x470)](_0x30e402['id'],_0x30e402[_0x2cbfb4(0x369)]),_0x30e402['displayName']&&_0x5c0225[_0x2cbfb4(0x2e6)](_0x30e402['id'],_0x30e402[_0x2cbfb4(0x221)]));}for(const _0x259119 of _0x328cc4){const _0x705368=_0x4fbbc8[_0x259119];_0x705368&&_0x5c0225[_0x2cbfb4(0x411)](_0x705368['dataFieldId'])&&(_0x5c0225[_0x2cbfb4(0x492)](_0x705368['dataFieldId'],_0x1dcf85[_0x2cbfb4(0x1be)][_0x2cbfb4(0x208)],void 0x0,_0x259119),_0x705368[_0x2cbfb4(0x452)]&&_0x5c0225['setSortInfo'](_0x705368['id'],_0x705368[_0x2cbfb4(0x452)]),_0x705368[_0x2cbfb4(0x369)]&&_0x5c0225['setLabelFilterInfo'](_0x705368['id'],_0x705368[_0x2cbfb4(0x369)]),_0x705368[_0x2cbfb4(0x221)]&&_0x5c0225[_0x2cbfb4(0x2e6)](_0x705368['id'],_0x705368[_0x2cbfb4(0x221)]));}for(const _0x5134d1 of _0x4a7d1a){const _0x31178f=_0x12d027[_0x5134d1];_0x31178f&&_0x5c0225[_0x2cbfb4(0x411)](_0x31178f[_0x2cbfb4(0x2ef)])&&(_0x5c0225[_0x2cbfb4(0x492)](_0x31178f[_0x2cbfb4(0x2ef)],_0x1dcf85[_0x2cbfb4(0x1be)]['Value'],void 0x0,_0x5134d1),_0x31178f[_0x2cbfb4(0x1c6)]!==void 0x0&&_0x5c0225[_0x2cbfb4(0x4a0)](_0x5134d1,_0x31178f[_0x2cbfb4(0x1c6)]),_0x31178f[_0x2cbfb4(0x427)]&&_0x5c0225[_0x2cbfb4(0x2ec)](_0x5134d1,_0x31178f[_0x2cbfb4(0x427)]),_0x31178f[_0x2cbfb4(0x221)]&&_0x5c0225[_0x2cbfb4(0x2e6)](_0x31178f['id'],_0x31178f[_0x2cbfb4(0x221)]));}const _0x2f5e26=_0x597dd1['valueFilter'];for(const {fieldId:_0x5bee92,filterInfo:_0x1e024c}of _0x2f5e26)_0x5c0225[_0x2cbfb4(0x2e1)](_0x5bee92,_0x1e024c);}function _0x1e28e3(_0x3f44b3,_0x40ec1c){const _0xea8b9c=_0x4d3dd6,_0x307a28=[];_0x40ec1c===_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x2c9)]&&_0x3f44b3[_0xea8b9c(0x340)](_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x2c9)],_0x364fd4=>{const _0x72787e=_0xea8b9c;_0x307a28['push'](_0x364fd4[_0x72787e(0x339)]());}),_0x40ec1c===_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x1e3)]&&_0x3f44b3['iterateFieldByArea'](_0x1dcf85['PivotTableFiledAreaEnum'][_0xea8b9c(0x1e3)],_0x48b8b3=>{const _0x356134=_0xea8b9c;_0x307a28[_0x356134(0x2b0)](_0x48b8b3[_0x356134(0x339)]());}),_0x40ec1c===_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x208)]&&_0x3f44b3[_0xea8b9c(0x340)](_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x208)],_0x28b272=>{_0x307a28['push'](_0x28b272['getId']());}),_0x40ec1c===_0x1dcf85[_0xea8b9c(0x1be)][_0xea8b9c(0x294)]&&_0x3f44b3[_0xea8b9c(0x340)](_0x1dcf85[_0xea8b9c(0x1be)]['Value'],_0x18f044=>{const _0x56aa5a=_0xea8b9c;_0x307a28['push'](_0x18f044[_0x56aa5a(0x339)]());}),_0x40ec1c===void 0x0&&_0x3f44b3[_0xea8b9c(0x336)](_0x357197=>{const _0x4ea85d=_0xea8b9c;_0x307a28[_0x4ea85d(0x2b0)](_0x357197['getId']());});const _0x316e34=_0x307a28[_0xea8b9c(0x425)];for(let _0x11300e=_0x316e34-0x1;_0x11300e>=0x0;_0x11300e--)_0x3f44b3[_0xea8b9c(0x2a3)](_0x307a28[_0x11300e]);const _0x4e49d8=_0x3f44b3['getValueFilterInfos']();for(const _0x364be5 in _0x4e49d8)_0x3f44b3['removeValueFilterInfo'](_0x364be5);}function _0x40f054(_0x5e92c3,_0x464cff){const _0x351bf0=_0x4d3dd6,_0x178769=new Date(_0x1dcf85[_0x351bf0(0x186)](_0x464cff)),_0xde757e=new Date(_0x1dcf85['excelDateToUnixMilliseconds'](_0x5e92c3)),_0x4e051e=_0x178769['getFullYear'](),_0x2cf04f=_0xde757e[_0x351bf0(0x1da)](),_0x5ba40e=_0x178769[_0x351bf0(0x2ce)](),_0x550d3a=_0xde757e[_0x351bf0(0x2ce)](),_0x534c3c=_0x178769[_0x351bf0(0x27c)](),_0x4b3f79=_0xde757e['getDate'](),_0x205c6e=_0x4e051e===_0x2cf04f,_0x115642=_0x205c6e&&_0x5ba40e===_0x550d3a;return _0x205c6e&&_0x115642&&!(_0x115642&&_0x534c3c===_0x4b3f79)?_0x1dcf85['PivotDateGroupFieldDateTypeEnum'][_0x351bf0(0x2e2)]:_0x205c6e&&!_0x115642?_0x1dcf85[_0x351bf0(0x461)]['YearMonth']:_0x1dcf85['PivotDateGroupFieldDateTypeEnum'][_0x351bf0(0x403)];}function _0x522708(_0x4292a2,_0x230fa1){const _0x4630ea=_0x4d3dd6,_0x40b9f5=_0x4292a2[_0x4630ea(0x34c)](_0xc194b8['SheetsPivotDataSourceModel'])[_0x4630ea(0x3ed)]();let _0xa0c526='';switch(_0x230fa1){case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x2e2)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x247)];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x3d0)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x30b)];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x403)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x315)];break;case _0x1dcf85[_0x4630ea(0x461)]['Month']:_0xa0c526=_0x40b9f5[_0x4630ea(0x2dd)];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x280)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x22f)];break;case _0x1dcf85['PivotDateGroupFieldDateTypeEnum'][_0x4630ea(0x37a)]:_0xa0c526=_0x40b9f5['sheets-pivot.dateGroup.date'];break;case _0x1dcf85['PivotDateGroupFieldDateTypeEnum'][_0x4630ea(0x366)]:_0xa0c526=_0x40b9f5['sheets-pivot.dateGroup.hourMinute'];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x36a)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x466)];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x32e)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x197)];break;case _0x1dcf85[_0x4630ea(0x461)][_0x4630ea(0x44b)]:_0xa0c526=_0x40b9f5[_0x4630ea(0x3d7)];break;case _0x1dcf85[_0x4630ea(0x461)]['YearQuarter']:_0xa0c526=_0x40b9f5[_0x4630ea(0x25e)];break;default:_0xa0c526='';break;}return _0xa0c526;}const _0x46553a=_0x4d3dd6(0x43c),_0x264f07={};var _0x46c489=Object[_0x4d3dd6(0x20b)],_0x4eebee=(_0x4cab3e,_0x5b3e8b,_0x33cb51,_0x4d5dc5)=>{for(var _0x5628d1=_0x4d5dc5>0x1?void 0x0:_0x4d5dc5?_0x46c489(_0x5b3e8b,_0x33cb51):_0x5b3e8b,_0x1223c5=_0x4cab3e['length']-0x1,_0x2a6d6c;_0x1223c5>=0x0;_0x1223c5--)(_0x2a6d6c=_0x4cab3e[_0x1223c5])&&(_0x5628d1=_0x2a6d6c(_0x5628d1)||_0x5628d1);return _0x5628d1;},_0x52f358=(_0x3f4cb7,_0x54751a)=>(_0x39db71,_0xb01a15)=>_0x54751a(_0x39db71,_0xb01a15,_0x3f4cb7);_0xc194b8[_0x4d3dd6(0x478)]=class extends _0x4f5d51['Disposable']{constructor(_0x57000d,_0x4b73c0,_0x286e29,_0x363f4c,_0x1a687e){const _0x57628e=_0x4d3dd6;super(),_0x8a8b01(this,_0x57628e(0x439),new Map()),_0x8a8b01(this,_0x57628e(0x40c),new Map()),_0x8a8b01(this,_0x57628e(0x26a),new Map()),_0x8a8b01(this,_0x57628e(0x1a8),new Map()),_0x8a8b01(this,_0x57628e(0x2b9),new _0x8145ab['Subject']()),_0x8a8b01(this,_0x57628e(0x45f),new _0x8145ab[(_0x57628e(0x237))]()),_0x8a8b01(this,_0x57628e(0x2b4),this[_0x57628e(0x45f)][_0x57628e(0x297)]()),_0x8a8b01(this,_0x57628e(0x3e1),new _0x8145ab[(_0x57628e(0x237))]()),_0x8a8b01(this,_0x57628e(0x25a),this[_0x57628e(0x3e1)][_0x57628e(0x297)]()),_0x8a8b01(this,_0x57628e(0x419),{}),_0x8a8b01(this,'configVersion$',this[_0x57628e(0x2b9)][_0x57628e(0x297)]()),(this[_0x57628e(0x21f)]=_0x57000d,this[_0x57628e(0x1fa)]=_0x4b73c0,this[_0x57628e(0x416)]=_0x286e29,this[_0x57628e(0x27f)]=_0x363f4c,this[_0x57628e(0x19a)]=_0x1a687e,this[_0x57628e(0x3d9)](),this[_0x57628e(0x248)]());const _0x222c49=this[_0x57628e(0x19a)]['getConfig'](_0x46553a);(_0x222c49==null?void 0x0:_0x222c49[_0x57628e(0x42e)])===!0x0&&this[_0x57628e(0x432)]();}[_0x4d3dd6(0x248)](){const _0x352c27=_0x4d3dd6;this[_0x352c27(0x332)](this[_0x352c27(0x416)][_0x352c27(0x20d)](_0x4f5d51['UniverInstanceType'][_0x352c27(0x232)])[_0x352c27(0x17d)](_0x11b1f7=>{const _0xec5127=_0x352c27;this[_0xec5127(0x44c)](_0x11b1f7['getUnitId']());}));}[_0x4d3dd6(0x426)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x4d3dd6(0x3d9)](){const _0x99215b=_0x4d3dd6,_0x56dd05=_0x4ceb07(this[_0x99215b(0x21f)],_0x28e0c7,'',{});this[_0x99215b(0x419)]=_0x56dd05,this['_commandService'][_0x99215b(0x1c4)](_0x29aa46['id'],{'textInfo':_0x56dd05},{'onlyLocal':!0x0});}[_0x4d3dd6(0x3ed)](){const _0x4c9e88=_0x4d3dd6;return this[_0x4c9e88(0x419)];}['updateViewInfo'](_0x17c3f6,_0x1c707d,_0x574ce1,_0x7dc554,_0x3e1acf){const _0x5bdc99=_0x4d3dd6;this[_0x5bdc99(0x436)](_0x17c3f6,_0x1c707d,_0x574ce1,_0x7dc554),this[_0x5bdc99(0x398)](_0x17c3f6,_0x1c707d,_0x574ce1,_0x3e1acf);}['getPivotTableConfig'](_0x1283c2,_0x3bd860,_0xf69d68){const _0x44cd2f=_0x4d3dd6;var _0x2c19f3;const _0x182dc3=(_0x2c19f3=this['_model']['get'](_0x1283c2))==null?void 0x0:_0x2c19f3[_0x44cd2f(0x34c)](_0x3bd860);if(_0x182dc3)return _0x182dc3['get'](_0xf69d68);}[_0x4d3dd6(0x3e4)](_0x4b38b3,_0x30bcef){const _0x158943=_0x4d3dd6,_0x2ac394=this[_0x158943(0x439)]['get'](_0x4b38b3);if(_0x2ac394){for(const [_0x35ab07,_0x517cdf]of _0x2ac394[_0x158943(0x270)]())for(const [_0xe25f5c,_0xffda5b]of _0x517cdf[_0x158943(0x270)]())if(_0xe25f5c===_0x30bcef)return _0xffda5b[_0x158943(0x3dd)];}}['getTargetByPivotId'](_0x2f5991,_0x5de203,_0x202e2a){const _0x255ff0=_0x4d3dd6,_0x5a93db=this[_0x255ff0(0x306)](_0x2f5991,_0x5de203,_0x202e2a);return _0x5a93db==null?void 0x0:_0x5a93db[_0x255ff0(0x3dd)];}['getSubUnitPivotConfigs'](_0x5849ac,_0x403d8a){const _0x32675e=_0x4d3dd6;var _0x2ae800;return(_0x2ae800=this[_0x32675e(0x439)]['get'](_0x5849ac))==null?void 0x0:_0x2ae800['get'](_0x403d8a);}[_0x4d3dd6(0x1f6)](_0x1a6ea8,_0x2c8478,_0x55a43b,_0x4c62b1){const _0x12c562=_0x4d3dd6,_0x597800=this[_0x12c562(0x42d)](_0x1a6ea8,_0x2c8478);_0x4c62b1?_0x597800[_0x12c562(0x330)](_0x55a43b,_0x4c62b1):_0x597800[_0x12c562(0x4a5)](_0x55a43b),this[_0x12c562(0x3e1)][_0x12c562(0x483)]({'unitId':_0x1a6ea8,'subUnitId':_0x2c8478,'pivotTableId':_0x55a43b,'pivotTableConfig':_0x4c62b1});}[_0x4d3dd6(0x2a4)](_0x2214d8,_0x15afbd){const _0x4e4000=_0x4d3dd6;var _0x1d93f8;return(_0x1d93f8=this['_collectionConfigModel'][_0x4e4000(0x34c)](_0x2214d8))==null?void 0x0:_0x1d93f8[_0x4e4000(0x41f)][_0x15afbd];}['updateCollectionConfig'](_0x2a279c,_0x193823){const _0xabe2e6=_0x4d3dd6;this['_collectionConfigModel'][_0xabe2e6(0x330)](_0x2a279c,_0x193823),this[_0xabe2e6(0x2b9)][_0xabe2e6(0x483)](Math['random']());}[_0x4d3dd6(0x42d)](_0x19a909,_0x2611e9){const _0x2dc96d=_0x4d3dd6;let _0x4d4b13=this[_0x2dc96d(0x439)][_0x2dc96d(0x34c)](_0x19a909);_0x4d4b13||(_0x4d4b13=new Map(),this['_model'][_0x2dc96d(0x330)](_0x19a909,_0x4d4b13));let _0x41ba75=_0x4d4b13['get'](_0x2611e9);return _0x41ba75||(_0x41ba75=new Map(),_0x4d4b13['set'](_0x2611e9,_0x41ba75)),_0x41ba75;}['_ensurePivotTableRangeInfo'](_0x11b312,_0x4c8661){const _0x7295d5=_0x4d3dd6;let _0x10b0cb=this['_pivotTableRangeInfo'][_0x7295d5(0x34c)](_0x11b312);_0x10b0cb||(_0x10b0cb=new Map(),this[_0x7295d5(0x26a)]['set'](_0x11b312,_0x10b0cb));let _0x4db0e9=_0x10b0cb['get'](_0x4c8661);return _0x4db0e9||(_0x4db0e9=new Map(),_0x10b0cb[_0x7295d5(0x330)](_0x4c8661,_0x4db0e9)),_0x4db0e9;}['_ensurePivotTableMatrixInfo'](_0x946e30,_0x47cefb){const _0x6bff4e=_0x4d3dd6;let _0xbda082=this[_0x6bff4e(0x1a8)]['get'](_0x946e30);_0xbda082||(_0xbda082=new Map(),this[_0x6bff4e(0x1a8)][_0x6bff4e(0x330)](_0x946e30,_0xbda082));let _0x54d027=_0xbda082[_0x6bff4e(0x34c)](_0x47cefb);return _0x54d027||(_0x54d027=new Map(),_0xbda082[_0x6bff4e(0x330)](_0x47cefb,_0x54d027)),_0x54d027;}[_0x4d3dd6(0x398)](_0x10128c,_0x228b55,_0x3759cc,_0x1bf27f){const _0x44e3b6=_0x4d3dd6;var _0x1dd318;const _0x549f07=this['_ensurePivotTableRangeInfo'](_0x10128c,_0x228b55),_0x2086ee=(_0x1dd318=_0x549f07[_0x44e3b6(0x34c)](_0x3759cc))==null?void 0x0:_0x1dd318[_0x44e3b6(0x2c1)];_0x549f07['set'](_0x3759cc,{'oldRangeInfo':_0x2086ee,'rangeInfo':_0x1bf27f});}[_0x4d3dd6(0x436)](_0x1b08e7,_0x484ed9,_0x1c9afc,_0x20b313){const _0x39aa23=_0x4d3dd6;var _0x48227f;const _0x5224cf=this[_0x39aa23(0x252)](_0x1b08e7,_0x484ed9),_0x27766c=(_0x48227f=_0x5224cf['get'](_0x1c9afc))==null?void 0x0:_0x48227f[_0x39aa23(0x496)];_0x5224cf[_0x39aa23(0x330)](_0x1c9afc,{'oldMatrix':_0x27766c,'matrix':_0x20b313});}[_0x4d3dd6(0x365)](_0x5df27f,_0x30ca5a,_0x5e6a0b){const _0x3d42e4=_0x4d3dd6;var _0x148a1e,_0x44d2ec;return(_0x44d2ec=(_0x148a1e=this[_0x3d42e4(0x26a)][_0x3d42e4(0x34c)](_0x5df27f))==null?void 0x0:_0x148a1e[_0x3d42e4(0x34c)](_0x30ca5a))==null?void 0x0:_0x44d2ec['get'](_0x5e6a0b);}['getPivotTableMatrixInfo'](_0xac4eac,_0xc23838,_0x2cf43b){const _0x366548=_0x4d3dd6;var _0x42d7f3,_0x3a4e91;return(_0x3a4e91=(_0x42d7f3=this[_0x366548(0x1a8)]['get'](_0xac4eac))==null?void 0x0:_0x42d7f3[_0x366548(0x34c)](_0xc23838))==null?void 0x0:_0x3a4e91[_0x366548(0x34c)](_0x2cf43b);}[_0x4d3dd6(0x44c)](_0x574274){const _0x34db28=_0x4d3dd6;this[_0x34db28(0x439)][_0x34db28(0x4a5)](_0x574274),this[_0x34db28(0x40c)][_0x34db28(0x4a5)](_0x574274);}[_0x4d3dd6(0x30e)](_0x29b54d){const _0x1c6307=_0x4d3dd6,_0x1cf1e5={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x1c6307(0x40c)][_0x1c6307(0x34c)](_0x29b54d)&&(_0x1cf1e5['dataFieldManagerConfig'][_0x29b54d]=this['_collectionConfigModel'][_0x1c6307(0x34c)](_0x29b54d)),this[_0x1c6307(0x439)]['get'](_0x29b54d)){_0x1cf1e5[_0x1c6307(0x471)][_0x29b54d]={};const _0x439f82=this[_0x1c6307(0x439)][_0x1c6307(0x34c)](_0x29b54d);_0x439f82!=null&&_0x439f82['size']&&[..._0x439f82[_0x1c6307(0x350)]()][_0x1c6307(0x3bb)](_0x367b81=>{const _0x538f8d=_0x1c6307,_0x5eadb4=_0x439f82['get'](_0x367b81);_0x5eadb4!=null&&_0x5eadb4[_0x538f8d(0x40d)]&&(_0x1cf1e5['pivotTableConfigs'][_0x29b54d][_0x367b81]={},[..._0x5eadb4[_0x538f8d(0x350)]()][_0x538f8d(0x3bb)](_0x41cb64=>{const _0x4826ea=_0x538f8d,_0x29ac05=_0x5eadb4['get'](_0x41cb64);_0x29ac05&&(_0x1cf1e5[_0x4826ea(0x471)][_0x29b54d][_0x367b81][_0x41cb64]=_0x29ac05);}));});}return _0x1cf1e5;}[_0x4d3dd6(0x432)](){const _0x30a6aa=_0x4d3dd6;this[_0x30a6aa(0x332)](this['_resourceManagerService'][_0x30a6aa(0x40b)]({'toJson':_0x38dedb=>JSON[_0x30a6aa(0x333)](this[_0x30a6aa(0x30e)](_0x38dedb)),'parseJson':_0x2253ab=>({}),'businesses':[_0x4f5d51['UniverInstanceType'][_0x30a6aa(0x232)]],'pluginName':_0x51ad8b,'onLoad':(_0x39929e,_0x1937ba)=>{},'onUnLoad':_0x36f0f1=>{const _0x3b71b7=_0x30a6aa;this[_0x3b71b7(0x44c)](_0x36f0f1);}}));}},_0xc194b8[_0x4d3dd6(0x478)]=_0x4eebee([_0x52f358(0x0,_0x4f5d51['Inject'](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x52f358(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x4a4)])),_0x52f358(0x2,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x343)])),_0x52f358(0x3,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51['IResourceManagerService'])),_0x52f358(0x4,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51['IConfigService']))],_0xc194b8[_0x4d3dd6(0x478)]);var _0x46b692=Object[_0x4d3dd6(0x20b)],_0x228f8d=(_0x2fec66,_0xf59cf0,_0x119d15,_0x85ec7b)=>{const _0x2df4f5=_0x4d3dd6;for(var _0x245d63=_0x85ec7b>0x1?void 0x0:_0x85ec7b?_0x46b692(_0xf59cf0,_0x119d15):_0xf59cf0,_0x54402a=_0x2fec66[_0x2df4f5(0x425)]-0x1,_0x4f5f09;_0x54402a>=0x0;_0x54402a--)(_0x4f5f09=_0x2fec66[_0x54402a])&&(_0x245d63=_0x4f5f09(_0x245d63)||_0x245d63);return _0x245d63;},_0x1f1a97=(_0x353923,_0x5d7de2)=>(_0x576e59,_0x106730)=>_0x5d7de2(_0x576e59,_0x106730,_0x353923);_0xc194b8[_0x4d3dd6(0x1a3)]=class extends _0x4f5d51['Disposable']{constructor(_0x375165,_0x4fc365,_0x1b64ca,_0xfb38e9,_0x22d5e4){const _0x49e4c7=_0x4d3dd6;super(),_0x8a8b01(this,'_pivotRenderInfoCache',new Map()),_0x8a8b01(this,_0x49e4c7(0x233),new Map()),_0x8a8b01(this,_0x49e4c7(0x2d9),new _0x8145ab[(_0x49e4c7(0x237))]()),_0x8a8b01(this,_0x49e4c7(0x17f),this['_markDirty$'][_0x49e4c7(0x297)]()),_0x8a8b01(this,_0x49e4c7(0x49e),new _0x8145ab['Subject']()),_0x8a8b01(this,_0x49e4c7(0x3ee),this[_0x49e4c7(0x49e)]['asObservable']()),_0x8a8b01(this,'_textInfo'),(this[_0x49e4c7(0x19e)]=_0x375165,this[_0x49e4c7(0x21f)]=_0x4fc365,this[_0x49e4c7(0x4a1)]=_0x1b64ca,this[_0x49e4c7(0x416)]=_0xfb38e9,this[_0x49e4c7(0x349)]=_0x22d5e4,this[_0x49e4c7(0x3d9)](),this[_0x49e4c7(0x248)]());}['_initUnitDisposed'](){const _0x207665=_0x4d3dd6;this[_0x207665(0x332)](this['_univerInstanceService'][_0x207665(0x20d)](_0x4f5d51[_0x207665(0x494)][_0x207665(0x232)])[_0x207665(0x17d)](_0x9979e2=>{const _0x5cbf61=_0x207665;this[_0x5cbf61(0x44c)](_0x9979e2['getUnitId']());}));}[_0x4d3dd6(0x3d9)](){const _0x49e23a=_0x4d3dd6;this[_0x49e23a(0x419)]=_0x4ceb07(this[_0x49e23a(0x21f)],_0x28e0c7,'',{});}[_0x4d3dd6(0x48b)](_0x5276c2){const _0x3182cc=_0x4d3dd6,{view:_0x447892,unitId:_0x462bdc,subUnitId:_0x65383d,pivotTableId:_0xec9dbd,type:_0xc85f8f}=_0x5276c2,_0x3bb1bb=this[_0x3182cc(0x4a1)][_0x3182cc(0x306)](_0x462bdc,_0x65383d,_0xec9dbd);if(!_0x447892||!_0x3bb1bb||_0xc85f8f===_0x50514a['Delete'])return;const {pageView:_0x57ae72,cornerView:_0x1e2a05,rowView:_0xc9ffc2,colView:_0x78ce3e,dataView:_0x5a489c}=_0x447892,_0x5b0e37=_0x3bb1bb[_0x3182cc(0x3dd)],_0x535f69=_0x3bb1bb[_0x3182cc(0x2a7)],_0x244736=this[_0x3182cc(0x477)](_0x462bdc,_0x65383d),_0x1055c1=this[_0x3182cc(0x307)](_0x462bdc,_0x65383d,_0xec9dbd);if(_0x535f69)return this[_0x3182cc(0x35c)](_0x5276c2,_0x244736,_0x5b0e37,_0x1055c1);{const _0x359314=_0x2b9699(_0x5b0e37,_0x57ae72,!0x0),_0x2655cf=_0x57ae72[_0x3182cc(0x31d)]>=0x0?_0x57ae72['lastRow']+0x1:0x0,_0x4e797=_0x1e2a05[_0x3182cc(0x1e7)](),_0x31b3a3=_0x1e2a05[_0x3182cc(0x1ff)](),_0x3acf69=_0x359314[_0x3182cc(0x425)]>0x0?_0x124551:0x0,_0x6a10a4=_0x2b9699({'row':_0x5b0e37[_0x3182cc(0x46e)]+_0x2655cf+_0x3acf69,'col':_0x5b0e37[_0x3182cc(0x283)]},_0x1e2a05,!0x1,!0x1),_0x5a16e5=_0x2b9699({'row':_0x5b0e37[_0x3182cc(0x46e)]+_0x2655cf+_0x3acf69+_0x4e797,'col':_0x5b0e37[_0x3182cc(0x283)]},_0xc9ffc2,!0x1,!0x0),_0x537ccb=_0x2b9699({'row':_0x5b0e37[_0x3182cc(0x46e)]+_0x2655cf+_0x3acf69,'col':_0x5b0e37[_0x3182cc(0x283)]+_0x31b3a3},_0x78ce3e,!0x1,!0x0),_0x3f4423=_0x2b9699({'row':_0x5b0e37[_0x3182cc(0x46e)]+_0x2655cf+_0x3acf69+_0x4e797,'col':_0x5b0e37[_0x3182cc(0x283)]+_0x31b3a3},_0x5a489c,!0x1,!0x1);_0x1055c1[_0x3182cc(0x444)]={'rowRanges':_0x5a16e5,'colRanges':_0x537ccb,'cornerRanges':_0x6a10a4,'dataRanges':_0x3f4423,'pageRanges':_0x359314};const _0x45855c=_0x5e69c7(this['_injector'],_0x447892,_0x3bb1bb,this['_textInfo']),{valueMatrix:_0x189e6a,rowInfo:_0x4a2963,colInfo:_0x1d409b,cornerInfo:_0x349d45,rowHeaderMap:_0x1e482a,colHeaderMap:_0x1eae24}=_0x45855c;return _0x1055c1['areaInfo']={'rowInfo':_0x4a2963,'colInfo':_0x1d409b,'cornerInfo':_0x349d45},_0x1055c1[_0x3182cc(0x259)]={'rowHeaderMap':_0x1e482a,'colHeaderMap':_0x1eae24},_0x189e6a[_0x3182cc(0x3bb)]((_0x2507e6,_0x4b9ec5)=>{const _0x26aa72=_0x3182cc;Object[_0x26aa72(0x350)](_0x4b9ec5)['forEach'](_0x1218b7=>{const _0x2d51d0=_0x26aa72,_0x44b209=+_0x1218b7,_0x142ca7=_0x189e6a[_0x2d51d0(0x1ce)](_0x2507e6,_0x44b209);_0x244736[_0x2d51d0(0x3ad)](_0x2507e6,_0x44b209,_0x142ca7);});}),this[_0x3182cc(0x49e)][_0x3182cc(0x483)]({'unitId':_0x462bdc,'subUnitId':_0x65383d,'valueMatrix':_0x244736,'rangesCache':_0x1055c1[_0x3182cc(0x444)],'pivotTableId':_0xec9dbd,'type':_0x5276c2[_0x3182cc(0x309)]}),this[_0x3182cc(0x4a1)][_0x3182cc(0x328)](_0x462bdc,_0x65383d,_0xec9dbd,_0x244736,_0x1055c1['rangesInfo']),this[_0x3182cc(0x349)][_0x3182cc(0x39a)](_0x462bdc,_0x65383d,_0x5a3207,this['_createExclusiveRange'](_0x1055c1[_0x3182cc(0x444)],_0xec9dbd)),{'rangeCache':_0x1055c1['rangesInfo'],'matrix':_0x244736};}}[_0x4d3dd6(0x35c)](_0x39140e,_0x5bd83a,_0x3028b2,_0xb1554d){const _0x28edb3=_0x4d3dd6,_0x31c289=this['_localeService']['t'],{unitId:_0x39ec58,subUnitId:_0x1e1ebc,pivotTableId:_0x5b04d2}=_0x39140e,_0x1778d6={'filter':_0x31c289('sheets-pivot.emptyPivot.filter'),'row':_0x31c289('sheets-pivot.emptyPivot.row'),'column':_0x31c289(_0x28edb3(0x2e0)),'values':_0x31c289('sheets-pivot.emptyPivot.values')},{matrixCache:_0x3fe8ed,rangesCache:_0x42fa1a}=_0x22eb01(_0x1778d6,_0x3028b2);return _0x3fe8ed['forValue']((_0x28a51e,_0x5c8eb6,_0xf45a3f)=>{const _0x40c2e5=_0x28edb3;_0x5bd83a[_0x40c2e5(0x3ad)](_0x28a51e,_0x5c8eb6,_0xf45a3f);}),_0xb1554d['rangesInfo']=_0x42fa1a,this[_0x28edb3(0x49e)]['next']({'unitId':_0x39ec58,'subUnitId':_0x1e1ebc,'valueMatrix':_0x5bd83a,'rangesCache':_0x42fa1a,'pivotTableId':_0x5b04d2,'type':_0x39140e[_0x28edb3(0x309)],'isEmpty':!0x0}),this[_0x28edb3(0x4a1)]['updateViewInfo'](_0x39ec58,_0x1e1ebc,_0x5b04d2,_0x5bd83a,_0x42fa1a),this['_exclusiveRangeService'][_0x28edb3(0x39a)](_0x39ec58,_0x1e1ebc,_0x5a3207,this[_0x28edb3(0x31c)](_0x42fa1a,_0x5b04d2)),{'rangeCache':_0xb1554d[_0x28edb3(0x444)],'matrix':_0x5bd83a};}[_0x4d3dd6(0x31c)](_0x5b2071,_0x19fd34){const _0x19723b=_0x4d3dd6,_0x500da8=[],_0x5c93a9=_0x1d908f(_0x5b2071);for(const _0x4a939e of _0x5c93a9)_0x500da8[_0x19723b(0x2b0)]({'groupId':_0x19fd34,'range':_0x4a939e});return _0x500da8;}[_0x4d3dd6(0x1bb)](_0x598222){const _0x5c820b=_0x4d3dd6;var _0x2d2a2e,_0x1b7efa,_0x2bf6ae,_0x58fe2d;const {pivotTableId:_0x2d206c,unitId:_0x4a4671,subUnitId:_0x52ff0e}=_0x598222;if(!_0x2d206c||!_0x4a4671||!_0x52ff0e)return;const _0x2ee1e2=this[_0x5c820b(0x477)](_0x4a4671,_0x52ff0e),_0x3edf2b=(_0x1b7efa=(_0x2d2a2e=this['_pivotRenderInfoCache']['get'](_0x4a4671))==null?void 0x0:_0x2d2a2e['get'](_0x52ff0e))==null?void 0x0:_0x1b7efa['get'](_0x2d206c);if(_0x3edf2b!=null&&_0x3edf2b[_0x5c820b(0x444)]){for(const _0x1876bd of Object[_0x5c820b(0x350)](_0x3edf2b[_0x5c820b(0x444)]))_0x3edf2b['rangesInfo'][_0x1876bd]['forEach'](_0x2d8f2b=>{const _0x137094=_0x5c820b;for(let _0x393d1b=_0x2d8f2b[_0x137094(0x275)];_0x393d1b<=_0x2d8f2b[_0x137094(0x460)];_0x393d1b++)for(let _0x24efef=_0x2d8f2b[_0x137094(0x441)];_0x24efef<=_0x2d8f2b[_0x137094(0x2fb)];_0x24efef++)_0x2ee1e2[_0x137094(0x2c0)](_0x393d1b,_0x24efef);});}_0x3edf2b&&((_0x58fe2d=(_0x2bf6ae=this[_0x5c820b(0x210)][_0x5c820b(0x34c)](_0x4a4671))==null?void 0x0:_0x2bf6ae['get'](_0x52ff0e))==null||_0x58fe2d[_0x5c820b(0x4a5)](_0x2d206c)),this[_0x5c820b(0x49e)][_0x5c820b(0x483)]({'unitId':_0x4a4671,'subUnitId':_0x52ff0e,'valueMatrix':_0x2ee1e2,'pivotTableId':_0x2d206c,'rangesCache':void 0x0,'type':_0x598222['type']}),this[_0x5c820b(0x349)][_0x5c820b(0x2ee)](_0x4a4671,_0x52ff0e,_0x5a3207,_0x2d206c);}['_ensurePivotItemRenderInfoCache'](_0x397ea5,_0x394468,_0x3f8ae1){const _0xb1cc5c=_0x4d3dd6;var _0x10e87f,_0x410abe,_0x81be03,_0x4c2bf4,_0x1b72bf,_0x73e240;return this[_0xb1cc5c(0x210)]['has'](_0x397ea5)||this[_0xb1cc5c(0x210)][_0xb1cc5c(0x330)](_0x397ea5,new Map()),(_0x10e87f=this['_pivotRenderInfoCache'][_0xb1cc5c(0x34c)](_0x397ea5))!=null&&_0x10e87f[_0xb1cc5c(0x285)](_0x394468)||(_0x410abe=this[_0xb1cc5c(0x210)][_0xb1cc5c(0x34c)](_0x397ea5))==null||_0x410abe['set'](_0x394468,new Map()),(_0x4c2bf4=(_0x81be03=this[_0xb1cc5c(0x210)]['get'](_0x397ea5))==null?void 0x0:_0x81be03[_0xb1cc5c(0x34c)](_0x394468))!=null&&_0x4c2bf4[_0xb1cc5c(0x285)](_0x3f8ae1)||(_0x73e240=(_0x1b72bf=this['_pivotRenderInfoCache'][_0xb1cc5c(0x34c)](_0x397ea5))==null?void 0x0:_0x1b72bf[_0xb1cc5c(0x34c)](_0x394468))==null||_0x73e240[_0xb1cc5c(0x330)](_0x3f8ae1,{}),this[_0xb1cc5c(0x210)][_0xb1cc5c(0x34c)](_0x397ea5)[_0xb1cc5c(0x34c)](_0x394468)[_0xb1cc5c(0x34c)](_0x3f8ae1);}['_ensurePivotItemRenderValueMatrixCache'](_0x2585a0,_0x3cbb0f){const _0x475741=_0x4d3dd6;var _0x473887,_0x16b8df;return this[_0x475741(0x233)]['has'](_0x2585a0)||this[_0x475741(0x233)][_0x475741(0x330)](_0x2585a0,new Map()),(_0x473887=this[_0x475741(0x233)][_0x475741(0x34c)](_0x2585a0))!=null&&_0x473887['has'](_0x3cbb0f)||(_0x16b8df=this[_0x475741(0x233)][_0x475741(0x34c)](_0x2585a0))==null||_0x16b8df[_0x475741(0x330)](_0x3cbb0f,new _0x4f5d51[(_0x475741(0x2cc))]()),this['_pivotRenderValueMatrixCache'][_0x475741(0x34c)](_0x2585a0)[_0x475741(0x34c)](_0x3cbb0f);}[_0x4d3dd6(0x1fb)](_0xd19809,_0x5e3e10,_0x230203,_0x21222e){const _0x33fae4=_0x4d3dd6;var _0xba3dc0,_0xc8d038;const _0x5443df=(_0xc8d038=(_0xba3dc0=this[_0x33fae4(0x233)][_0x33fae4(0x34c)](_0xd19809))==null?void 0x0:_0xba3dc0['get'](_0x5e3e10))==null?void 0x0:_0xc8d038[_0x33fae4(0x1ce)](_0x230203,_0x21222e);if(_0x5443df!=null)return _0x5443df;}['getPivotTableIdByCell'](_0x48f920,_0x56e521,_0x2dacb5,_0x38ac32){const _0x8fe165=_0x4d3dd6;var _0x312fa7;const _0x2b4936=_0x4f5d51[_0x8fe165(0x395)](_0x2dacb5,_0x38ac32),_0x85f807=(_0x312fa7=this[_0x8fe165(0x210)]['get'](_0x48f920))==null?void 0x0:_0x312fa7[_0x8fe165(0x34c)](_0x56e521);return _0x85f807?Array['from'](_0x85f807[_0x8fe165(0x350)]())[_0x8fe165(0x28e)](_0x4041c6=>{const _0x582cb0=_0x8fe165,_0x11b4e5=_0x85f807[_0x582cb0(0x34c)](_0x4041c6),_0xbbc8d2=_0x11b4e5==null?void 0x0:_0x11b4e5['rangesInfo'];return _0xbbc8d2?Object[_0x582cb0(0x350)](_0xbbc8d2)[_0x582cb0(0x3af)](_0xd5e848=>_0xbbc8d2[_0xd5e848][_0x582cb0(0x3af)](_0xaa5de0=>_0x4f5d51[_0x582cb0(0x38c)][_0x582cb0(0x1ec)](_0xaa5de0,_0x2b4936))):!0x1;}):void 0x0;}[_0x4d3dd6(0x299)](_0x2dc8c3,_0x31c5f7,_0x5532fb){const _0x5c2abf=_0x4d3dd6;var _0x2c2066;const _0x525ab4=(_0x2c2066=this[_0x5c2abf(0x210)][_0x5c2abf(0x34c)](_0x2dc8c3))==null?void 0x0:_0x2c2066[_0x5c2abf(0x34c)](_0x31c5f7),_0x31613e=[];return _0x525ab4&&Array[_0x5c2abf(0x27a)](_0x525ab4[_0x5c2abf(0x350)]())['forEach'](_0x3a8d01=>{const _0x1570ff=_0x5c2abf,_0x2d6b55=_0x525ab4[_0x1570ff(0x34c)](_0x3a8d01),_0x3c8f54=_0x2d6b55==null?void 0x0:_0x2d6b55[_0x1570ff(0x444)];if(_0x3c8f54)for(const _0x36badd of Object[_0x1570ff(0x239)](_0x3c8f54)){let _0x506aa5=!0x1;for(const _0x297755 of _0x36badd)if(_0x4f5d51['Rectangle'][_0x1570ff(0x23e)](_0x297755,_0x5532fb)){_0x31613e[_0x1570ff(0x2b0)](_0x3a8d01),_0x506aa5=!0x0;break;}if(_0x506aa5)break;}}),_0x31613e;}[_0x4d3dd6(0x230)](_0x7c5384,_0x348f33){const _0x2187c6=_0x4d3dd6;var _0x3b3619,_0x129272;return(_0x129272=(_0x3b3619=this[_0x2187c6(0x233)][_0x2187c6(0x34c)](_0x7c5384))==null?void 0x0:_0x3b3619['get'](_0x348f33))!=null?_0x129272:new _0x4f5d51['ObjectMatrix']();}[_0x4d3dd6(0x27d)](_0x25401b,_0x196b90){const _0x1fe784=_0x4d3dd6;var _0x373644;return(_0x373644=this[_0x1fe784(0x210)][_0x1fe784(0x34c)](_0x25401b))==null?void 0x0:_0x373644['get'](_0x196b90);}[_0x4d3dd6(0x45c)](_0x5d6967,_0x3634d1,_0x55cc53){const _0x3a0c7e=_0x4d3dd6;var _0x29f513,_0x2f4102;return(_0x2f4102=(_0x29f513=this[_0x3a0c7e(0x210)][_0x3a0c7e(0x34c)](_0x5d6967))==null?void 0x0:_0x29f513[_0x3a0c7e(0x34c)](_0x3634d1))==null?void 0x0:_0x2f4102[_0x3a0c7e(0x34c)](_0x55cc53);}[_0x4d3dd6(0x44c)](_0x568217){const _0x2ab6c0=_0x4d3dd6;this[_0x2ab6c0(0x210)][_0x2ab6c0(0x4a5)](_0x568217),this[_0x2ab6c0(0x233)]['delete'](_0x568217);}[_0x4d3dd6(0x1b8)](_0x23e451,_0x115c6a){const _0x228fa1=_0x4d3dd6;this['_markDirty$'][_0x228fa1(0x483)]({'unitId':_0x23e451,'subUnitId':_0x115c6a});}},_0xc194b8[_0x4d3dd6(0x1a3)]=_0x228f8d([_0x1f1a97(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x3ea)])),_0x1f1a97(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51['Injector'])),_0x1f1a97(0x2,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x478)])),_0x1f1a97(0x3,_0x4f5d51['Inject'](_0x4f5d51[_0x4d3dd6(0x343)])),_0x1f1a97(0x4,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d[_0x4d3dd6(0x287)]))],_0xc194b8[_0x4d3dd6(0x1a3)]);var _0x48be79=Object[_0x4d3dd6(0x20b)],_0x33e712=(_0x1d481d,_0x487f13,_0x5e9fbc,_0x3735d2)=>{const _0x4e34c7=_0x4d3dd6;for(var _0x4d2e3c=_0x3735d2>0x1?void 0x0:_0x3735d2?_0x48be79(_0x487f13,_0x5e9fbc):_0x487f13,_0x57ea9=_0x1d481d[_0x4e34c7(0x425)]-0x1,_0x40e1f6;_0x57ea9>=0x0;_0x57ea9--)(_0x40e1f6=_0x1d481d[_0x57ea9])&&(_0x4d2e3c=_0x40e1f6(_0x4d2e3c)||_0x4d2e3c);return _0x4d2e3c;},_0x1594a2=(_0x2cd7e9,_0x5ad9a4)=>(_0x2192cf,_0x5c089b)=>_0x5ad9a4(_0x2192cf,_0x5c089b,_0x2cd7e9);_0xc194b8[_0x4d3dd6(0x324)]=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x3f6374,_0x14ffb5){const _0xcf8e6d=_0x4d3dd6;super(),_0x8a8b01(this,_0xcf8e6d(0x22e),new _0x4f5d51['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x250960})),_0x8a8b01(this,_0xcf8e6d(0x359),new _0x4f5d51[(_0xcf8e6d(0x361))]({'PIVOT_MUTATION_GENERATE':_0x117510})),(this[_0xcf8e6d(0x2be)]=_0x3f6374,this[_0xcf8e6d(0x490)]=_0x14ffb5,this[_0xcf8e6d(0x211)]());}['_init'](){const _0x152605=_0x4d3dd6;this[_0x152605(0x462)]();}['getPivotPerformCheck'](_0x17a03c){const _0x5eadd3=_0x4d3dd6;return this[_0x5eadd3(0x22e)]['fetchThroughAsyncInterceptors'](_0x250960)(!0x1,_0x17a03c);}['_initViewModelBySheetInterceptor'](){const _0xf67e71=_0x4d3dd6;this['disposeWithMe'](this[_0xf67e71(0x2be)]['intercept'](_0x55067d[_0xf67e71(0x26c)][_0xf67e71(0x404)],{'priority':0xc8,'effect':_0x4f5d51[_0xf67e71(0x45b)][_0xf67e71(0x294)]|_0x4f5d51[_0xf67e71(0x45b)][_0xf67e71(0x2c5)],'handler':(_0x5a31d3,_0x335368,_0x163801)=>{const _0x38f58e=_0xf67e71,{row:_0x4dc2cd,col:_0x4b4c47,unitId:_0x449fd4,subUnitId:_0x53f541,workbook:_0x1a9ca7}=_0x335368,_0x415bc8=this[_0x38f58e(0x490)][_0x38f58e(0x1fb)](_0x449fd4,_0x53f541,_0x4dc2cd,_0x4b4c47);if(!_0x415bc8)return _0x163801(_0x5a31d3);const _0x430520={..._0x5a31d3};(_0x415bc8['v']||_0x415bc8['v']===0x0)&&(_0x430520['v']=_0x415bc8['v']),_0x415bc8['t']&&(_0x430520['t']=_0x415bc8['t']);const _0x3b85cd=(typeof(_0x5a31d3==null?void 0x0:_0x5a31d3['s'])=='string'?_0x1a9ca7['getStyles']()[_0x38f58e(0x34c)](_0x5a31d3==null?void 0x0:_0x5a31d3['s']):_0x5a31d3==null?void 0x0:_0x5a31d3['s'])||{},_0xb730e0=_0x1a9ca7[_0x38f58e(0x263)]()[_0x38f58e(0x34c)](_0x415bc8['s']),_0x5d4c46={..._0xb730e0,..._0x3b85cd};_0xb730e0!=null&&_0xb730e0['n']&&(_0x5d4c46['n']=_0xb730e0['n']);const _0x1c3fa8=_0x1a9ca7[_0x38f58e(0x263)]()[_0x38f58e(0x3ad)](_0x5d4c46);return _0x430520['s']=_0x1c3fa8,(_0x415bc8[_0x38f58e(0x271)]===_0x1dcf85['PivotCellStyleTypeEnum'][_0x38f58e(0x18f)]||_0x415bc8[_0x38f58e(0x271)]===_0x1dcf85['PivotCellStyleTypeEnum']['Expand'])&&(_0x430520[_0x38f58e(0x1b6)]={},_0x430520[_0x38f58e(0x1b6)][_0x38f58e(0x19b)]=_0x35a5cf),_0x163801(_0x430520);}}));}},_0xc194b8[_0x4d3dd6(0x324)]=_0x33e712([_0x1594a2(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d['SheetInterceptorService'])),_0x1594a2(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x1a3)]))],_0xc194b8[_0x4d3dd6(0x324)]);function _0x17d2a7(_0x1208b0,_0x4de26c){const _0x552143=_0x4d3dd6;switch(_0x4de26c){case _0x1dcf85[_0x552143(0x1be)][_0x552143(0x294)]:return _0x1208b0[_0x552143(0x1a7)];case _0x1dcf85[_0x552143(0x1be)][_0x552143(0x208)]:return _0x1208b0[_0x552143(0x3ec)];case _0x1dcf85[_0x552143(0x1be)]['Row']:return _0x1208b0[_0x552143(0x21e)];case _0x1dcf85['PivotTableFiledAreaEnum']['Column']:return _0x1208b0[_0x552143(0x29c)];default:return[];}}function _0x1fb4d8(_0x12288e,_0x1919f8){const _0x40f045=_0x4d3dd6;return _0x12288e['measure'][_0x1919f8]||_0x12288e[_0x40f045(0x278)][_0x1919f8];}function _0x4c68b5(_0x34402e,_0xe005ea){const _0x1e8b46=_0x4d3dd6,{area:_0x33c0d4,fieldJson:_0x14ca53,index:_0x57dfa1}=_0xe005ea;_0x33c0d4===_0x1dcf85[_0x1e8b46(0x1be)][_0x1e8b46(0x294)]?_0x34402e[_0x1e8b46(0x474)][_0x14ca53['id']]=_0x14ca53:_0x34402e[_0x1e8b46(0x278)][_0x14ca53['id']]=_0x14ca53,_0x17d2a7(_0x34402e,_0x33c0d4)['splice'](_0x57dfa1,0x0,_0x14ca53['id']);}function _0x445853(_0x295984,_0x1f9736){const _0x22db1c=_0x4d3dd6,{area:_0x2c709a,fieldId:_0x52f94e,index:_0xac2d0b}=_0x1f9736;_0x2c709a===_0x1dcf85[_0x22db1c(0x1be)]['Value']?delete _0x295984[_0x22db1c(0x474)][_0x52f94e]:delete _0x295984[_0x22db1c(0x278)][_0x52f94e],_0x17d2a7(_0x295984,_0x2c709a)[_0x22db1c(0x1f9)](_0xac2d0b,0x1);}function _0x270317(_0x3f7f55,_0x34f56c){const _0x352252=_0x4d3dd6,{fieldId:_0x454703,name:_0x54d83b}=_0x34f56c,_0x94886=_0x1fb4d8(_0x3f7f55,_0x454703);_0x94886&&(_0x94886[_0x352252(0x221)]=_0x54d83b);}function _0x1d9617(_0x5aabcf,_0x9d6228){const _0x358a03=_0x4d3dd6,{fieldId:_0x2b5155,collapse:_0x5b7be0,item:_0xe84530}=_0x9d6228;_0xe84530!==void 0x0?(_0x5aabcf['collapseInfo'][_0x2b5155]=_0x5aabcf[_0x358a03(0x2fa)][_0x2b5155]||{},_0x5aabcf['collapseInfo'][_0x2b5155][_0xe84530]=_0x5b7be0):_0x5aabcf[_0x358a03(0x2fa)][_0x2b5155]=_0x5b7be0;}function _0x45695d(_0x5b43a1,_0xb2f5ee){const _0x3938a3=_0x4d3dd6,{fieldId:_0x3d47c5,format:_0xd1a8cd}=_0xb2f5ee,_0x1d15a0=_0x1fb4d8(_0x5b43a1,_0x3d47c5);_0x1d15a0&&(_0x1d15a0[_0x3938a3(0x427)]=_0xd1a8cd);}function _0x43eeef(_0x1eb8bf,_0x1869e2){const {fieldId:_0x978c4b,filterInfo:_0x32e1e2}=_0x1869e2,_0x27fca5=_0x1fb4d8(_0x1eb8bf,_0x978c4b);_0x27fca5&&(_0x27fca5['filterInfo']=_0x32e1e2);}function _0x5815c6(_0x64868,_0x461c2a){const _0x1bb43d=_0x4d3dd6,{fieldId:_0x1f062f,filterInfo:_0x39271a}=_0x461c2a,_0x2bba8a=_0x64868[_0x1bb43d(0x421)]['filter'](_0x23927d=>_0x23927d[_0x1bb43d(0x26d)]!==_0x1f062f);_0x39271a&&_0x2bba8a[_0x1bb43d(0x2b0)]({'fieldId':_0x1f062f,'filterInfo':_0x39271a}),_0x64868[_0x1bb43d(0x421)]=_0x2bba8a;}function _0x1969b5(_0x164271,_0x4454bb){const _0x380daa=_0x4d3dd6,{fieldId:_0xa561fb,subtotalType:_0x2e63d1}=_0x4454bb,_0x5285fd=_0x1fb4d8(_0x164271,_0xa561fb);_0x5285fd&&(_0x5285fd[_0x380daa(0x1c6)]=_0x2e63d1);}function _0x2900cb(_0x59fef9,_0x3f5817){const _0x58defc=_0x4d3dd6,{fieldId:_0x662d17,oldArea:_0x5264e6,area:_0x273277,oldIndex:_0x32457a,index:_0x21d65d}=_0x3f5817,_0x59affa=_0x5264e6!==_0x1dcf85[_0x58defc(0x1be)][_0x58defc(0x294)]&&_0x273277===_0x1dcf85[_0x58defc(0x1be)][_0x58defc(0x294)],_0x47b5cc=_0x5264e6===_0x1dcf85[_0x58defc(0x1be)]['Value']&&_0x273277!==_0x1dcf85[_0x58defc(0x1be)][_0x58defc(0x294)];if(_0x59affa||_0x47b5cc){const _0x2180b5=_0x1fb4d8(_0x59fef9,_0x662d17);_0x2180b5&&(_0x59affa?(delete _0x59fef9[_0x58defc(0x278)][_0x662d17],_0x59fef9[_0x58defc(0x474)][_0x662d17]=_0x2180b5):(delete _0x59fef9[_0x58defc(0x474)][_0x662d17],_0x59fef9[_0x58defc(0x278)][_0x662d17]=_0x2180b5));}const _0x2bfac1=_0x17d2a7(_0x59fef9,_0x5264e6),_0x46d097=_0x17d2a7(_0x59fef9,_0x273277);_0x2bfac1[_0x58defc(0x1f9)](_0x32457a,0x1),_0x46d097['splice'](_0x21d65d,0x0,_0x662d17);}function _0x6dc38f(_0x12306e,_0x37d568){const _0x1780fa=_0x4d3dd6,{valuePosition:_0x22bc0c,index:_0x40e1ae}=_0x37d568;_0x12306e[_0x1780fa(0x2b6)]=_0x22bc0c,_0x12306e[_0x1780fa(0x236)]=_0x40e1ae;}function _0x5144c4(_0x183ded,_0x53a101){const _0x4ca840=_0x4d3dd6,{tableFieldId:_0x1bd650,sourceName:_0xe85f07,dataFieldId:_0x1d145d}=_0x53a101,_0x4b68a7=_0x1fb4d8(_0x183ded,_0x1bd650);_0x4b68a7&&(_0x4b68a7['sourceName']=_0xe85f07,_0x4b68a7[_0x4ca840(0x2ef)]=_0x1d145d);}function _0x2c084d(_0x5509c5,_0x33bf6b){const _0x12ebc4=_0x4d3dd6,{fieldId:_0xa1fd0c,sortInfo:_0x381d72}=_0x33bf6b,_0x2ee713=_0x1fb4d8(_0x5509c5,_0xa1fd0c);_0x2ee713&&(_0x2ee713[_0x12ebc4(0x452)]=_0x381d72);}function _0x3a457d(_0x325ada,_0x408eec){const {options:_0x3bc243}=_0x408eec;_0x325ada['options']={..._0x325ada['options'],..._0x3bc243};}const _0x16ebb3={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x220a4a,_0x4a347b){const _0x22cc6a=_0x4d3dd6;if(!_0x4a347b)return!0x1;if(!!_0x220a4a[_0x22cc6a(0x34c)](_0x4f5d51['IConfigService'])[_0x22cc6a(0x1e4)](_0x57486b))return!0x0;const _0x4d9722=_0x220a4a[_0x22cc6a(0x34c)](_0xc194b8[_0x22cc6a(0x334)]),{pivotTableId:_0x457db1,fieldJson:_0x27ab69,area:_0x558046,index:_0x1f5446,unitId:_0x493c08,subUnitId:_0x5e9209}=_0x4a347b,_0xd578a0=_0x4d9722[_0x22cc6a(0x459)](_0x457db1);if(!_0xd578a0)return!0x1;let _0x3da31e;_0x558046===_0x1dcf85[_0x22cc6a(0x1be)][_0x22cc6a(0x294)]?_0x3da31e=_0x1dcf85[_0x22cc6a(0x45e)](_0x27ab69):_0x3da31e=_0x1dcf85[_0x22cc6a(0x1ef)](_0x27ab69),_0xd578a0['addField'](_0x3da31e,_0x558046,_0x1f5446);const _0x171dd1=_0x4d9722[_0x22cc6a(0x204)](_0x493c08,_0x5e9209,_0x457db1);_0x4c68b5(_0x171dd1,_0x4a347b);const _0x220777=_0x4d9722['getPivotTableConfig'](_0x493c08,_0x5e9209,_0x457db1);return _0x4d9722[_0x22cc6a(0x430)]({'unitId':_0x493c08,'subUnitId':_0x5e9209,'token':_0x457db1,'type':_0x50514a['Set'],'pivotConfig':_0x220777}),!0x0;}},_0x39167d={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x4534a7,_0x2d0c61){const _0x3de9d2=_0x4d3dd6;if(!_0x2d0c61)return!0x1;if(!!_0x4534a7[_0x3de9d2(0x34c)](_0x4f5d51[_0x3de9d2(0x189)])[_0x3de9d2(0x1e4)](_0x57486b))return!0x0;const _0x1ccf0a=_0x4534a7[_0x3de9d2(0x34c)](_0xc194b8[_0x3de9d2(0x334)]),{pivotTableId:_0x13d2fb,fieldId:_0x642dc4,unitId:_0x39f755,subUnitId:_0x320915}=_0x2d0c61,_0x34bd7a=_0x1ccf0a['getPivotTableInstance'](_0x13d2fb);if(!_0x34bd7a)return!0x1;_0x34bd7a[_0x3de9d2(0x2a3)](_0x642dc4);const _0x49d0ff=_0x1ccf0a[_0x3de9d2(0x204)](_0x39f755,_0x320915,_0x13d2fb);_0x445853(_0x49d0ff,_0x2d0c61);const _0x5123f6=_0x1ccf0a[_0x3de9d2(0x306)](_0x39f755,_0x320915,_0x13d2fb);return _0x1ccf0a['addDirtyPivotTable']({'unitId':_0x39f755,'subUnitId':_0x320915,'token':_0x13d2fb,'type':_0x50514a[_0x3de9d2(0x1cc)],'pivotConfig':_0x5123f6}),!0x0;}},_0x326ac3={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x33c),'handler'(_0x4d89de,_0x4e05b1){const _0x5bfb56=_0x4d3dd6;if(!_0x4e05b1)return!0x1;if(!!_0x4d89de[_0x5bfb56(0x34c)](_0x4f5d51[_0x5bfb56(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x3f1ba0=_0x4d89de[_0x5bfb56(0x34c)](_0xc194b8[_0x5bfb56(0x334)]),{unitId:_0x2478e0,subUnitId:_0x511a74,pivotTableId:_0xd312e8,fieldId:_0x1214f0,name:_0x2ff385}=_0x4e05b1,_0x43e617=_0x3f1ba0[_0x5bfb56(0x459)](_0xd312e8);if(!_0x43e617)return!0x1;_0x43e617[_0x5bfb56(0x2e6)](_0x1214f0,_0x2ff385);const _0x329a2f=_0x3f1ba0[_0x5bfb56(0x204)](_0x2478e0,_0x511a74,_0xd312e8);return _0x270317(_0x329a2f,_0x4e05b1),_0x3f1ba0[_0x5bfb56(0x430)]({'unitId':_0x2478e0,'subUnitId':_0x511a74,'token':_0xd312e8,'type':_0x50514a[_0x5bfb56(0x1cc)]}),!0x0;}},_0x53817a={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x3fd),'handler'(_0x5111b4,_0x3fb32f){const _0x428bc1=_0x4d3dd6;if(!_0x3fb32f)return!0x1;if(!!_0x5111b4[_0x428bc1(0x34c)](_0x4f5d51[_0x428bc1(0x189)])[_0x428bc1(0x1e4)](_0x57486b))return!0x0;const _0xf09f06=_0x5111b4[_0x428bc1(0x34c)](_0xc194b8[_0x428bc1(0x334)]),{unitId:_0x3a5ad5,subUnitId:_0x8cfc67,pivotTableId:_0x670625,fieldId:_0x973db1,collapse:_0x4388b7,item:_0x2867cc}=_0x3fb32f,_0x33da43=_0xf09f06[_0x428bc1(0x459)](_0x670625);if(!_0x33da43)return!0x1;_0x33da43['setCollapse'](_0x973db1,_0x4388b7,_0x2867cc);const _0x1c738c=_0xf09f06[_0x428bc1(0x204)](_0x3a5ad5,_0x8cfc67,_0x670625);return _0x1d9617(_0x1c738c,_0x3fb32f),_0xf09f06[_0x428bc1(0x430)]({'unitId':_0x3a5ad5,'subUnitId':_0x8cfc67,'token':_0x670625,'type':_0x50514a[_0x428bc1(0x1cc)]}),!0x0;}},_0x815402={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':'sheet.mutation.set-pivot-format','handler'(_0x4862d7,_0x41f5c1){const _0x291658=_0x4d3dd6;if(!_0x41f5c1)return!0x1;if(!!_0x4862d7[_0x291658(0x34c)](_0x4f5d51['IConfigService'])['getConfig'](_0x57486b))return!0x0;const _0x176f82=_0x4862d7[_0x291658(0x34c)](_0xc194b8[_0x291658(0x334)]),{unitId:_0x1af8dc,subUnitId:_0x37f5ef,pivotTableId:_0x1f5f87,fieldId:_0x5dc3ce,format:_0x1c8934}=_0x41f5c1,_0x1d7c17=_0x176f82[_0x291658(0x459)](_0x1f5f87);if(!_0x1d7c17)return!0x1;_0x1d7c17[_0x291658(0x2ec)](_0x5dc3ce,_0x1c8934);const _0x3311d4=_0x176f82['getPivotTableModelConfig'](_0x1af8dc,_0x37f5ef,_0x1f5f87);return _0x45695d(_0x3311d4,_0x41f5c1),_0x176f82['addDirtyPivotTable']({'unitId':_0x1af8dc,'subUnitId':_0x37f5ef,'token':_0x1f5f87,'type':_0x50514a[_0x291658(0x1cc)]}),!0x0;}},_0x2cbbdf={'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x1d9),'handler'(_0x963e69,_0xbdced8){const _0x16eeb0=_0x4d3dd6;if(!_0xbdced8)return!0x1;if(!!_0x963e69['get'](_0x4f5d51[_0x16eeb0(0x189)])[_0x16eeb0(0x1e4)](_0x57486b))return!0x0;const _0x69afa1=_0x963e69[_0x16eeb0(0x34c)](_0xc194b8[_0x16eeb0(0x334)]),{unitId:_0x17b82d,subUnitId:_0x37688a,pivotTableId:_0x458803,fieldId:_0x11cbc4,filterInfo:_0x5f39a7}=_0xbdced8,_0x541d98=_0x69afa1[_0x16eeb0(0x459)](_0x458803);if(!_0x541d98)return!0x1;_0x541d98[_0x16eeb0(0x470)](_0x11cbc4,_0x5f39a7);const _0x296eaf=_0x69afa1[_0x16eeb0(0x204)](_0x17b82d,_0x37688a,_0x458803);return _0x43eeef(_0x296eaf,_0xbdced8),_0x69afa1[_0x16eeb0(0x430)]({'unitId':_0x17b82d,'subUnitId':_0x37688a,'token':_0x458803,'type':_0x50514a[_0x16eeb0(0x1cc)]}),!0x0;}},_0x50eaec={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x372),'handler'(_0x47471b,_0x16ec1d){const _0x53ae81=_0x4d3dd6;if(!_0x16ec1d)return!0x1;if(!!_0x47471b[_0x53ae81(0x34c)](_0x4f5d51[_0x53ae81(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x49c253=_0x47471b[_0x53ae81(0x34c)](_0xc194b8[_0x53ae81(0x334)]),{unitId:_0x34905b,subUnitId:_0x2c371b,pivotTableId:_0x459f33,options:_0x530c0b}=_0x16ec1d,_0x57dae3=_0x49c253['getPivotTableInstance'](_0x459f33);if(!_0x57dae3)return!0x1;_0x57dae3[_0x53ae81(0x3b0)](_0x530c0b);const _0x41048b=_0x49c253[_0x53ae81(0x204)](_0x34905b,_0x2c371b,_0x459f33);return _0x3a457d(_0x41048b,_0x16ec1d),_0x49c253['addDirtyPivotTable']({'unitId':_0x34905b,'subUnitId':_0x2c371b,'token':_0x459f33,'type':_0x50514a[_0x53ae81(0x1cc)]}),!0x0;}},_0x18cf20={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x2e8),'handler'(_0x332802,_0x1cc7b8){const _0x3adbe2=_0x4d3dd6;if(!_0x1cc7b8)return!0x1;if(!!_0x332802[_0x3adbe2(0x34c)](_0x4f5d51[_0x3adbe2(0x189)])[_0x3adbe2(0x1e4)](_0x57486b))return!0x0;const _0x546627=_0x332802[_0x3adbe2(0x34c)](_0xc194b8[_0x3adbe2(0x334)]),{unitId:_0x382e79,subUnitId:_0x4b1016,pivotTableId:_0x35e291,sortInfo:_0x2e045a,fieldId:_0x40aefb}=_0x1cc7b8,_0x32e0e0=_0x546627[_0x3adbe2(0x459)](_0x35e291);if(!_0x32e0e0)return!0x1;_0x32e0e0['setSortInfo'](_0x40aefb,_0x2e045a);const _0x1eb11d=_0x546627[_0x3adbe2(0x204)](_0x382e79,_0x4b1016,_0x35e291);return _0x2c084d(_0x1eb11d,_0x1cc7b8),_0x546627[_0x3adbe2(0x430)]({'unitId':_0x382e79,'subUnitId':_0x4b1016,'token':_0x35e291,'type':_0x50514a[_0x3adbe2(0x1cc)]}),!0x0;}},_0x3822f3={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x3469b6,_0x115fc0){const _0x9dac2d=_0x4d3dd6;if(!_0x115fc0)return!0x1;if(!!_0x3469b6['get'](_0x4f5d51[_0x9dac2d(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x192c0f=_0x3469b6[_0x9dac2d(0x34c)](_0xc194b8[_0x9dac2d(0x334)]),{unitId:_0x16eda6,subUnitId:_0x2cda2a,pivotTableId:_0x49f4bc,fieldId:_0x1de2a0,subtotalType:_0x47fc0e}=_0x115fc0,_0x5cbe4e=_0x192c0f[_0x9dac2d(0x459)](_0x49f4bc);if(!_0x5cbe4e)return!0x1;_0x5cbe4e[_0x9dac2d(0x4a0)](_0x1de2a0,_0x47fc0e);const _0x39a26e=_0x192c0f['getPivotTableModelConfig'](_0x16eda6,_0x2cda2a,_0x49f4bc);return _0x1969b5(_0x39a26e,_0x115fc0),_0x192c0f[_0x9dac2d(0x430)]({'unitId':_0x16eda6,'subUnitId':_0x2cda2a,'token':_0x49f4bc,'type':_0x50514a[_0x9dac2d(0x1cc)]}),!0x0;}},_0x4570ce={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x393),'handler'(_0x400a6f,_0x444139){const _0x835c8c=_0x4d3dd6;if(!_0x444139)return!0x1;if(!!_0x400a6f[_0x835c8c(0x34c)](_0x4f5d51[_0x835c8c(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x1e2cb1=_0x400a6f[_0x835c8c(0x34c)](_0xc194b8[_0x835c8c(0x334)]),{unitId:_0x15be9b,subUnitId:_0x4e918e,pivotTableId:_0xb73c1b,fieldId:_0x879a1d,filterInfo:_0xeebda0}=_0x444139,_0x222f3d=_0x1e2cb1['getPivotTableInstance'](_0xb73c1b);if(!_0x222f3d)return!0x1;_0x222f3d[_0x835c8c(0x2e1)](_0x879a1d,_0xeebda0);const _0x423aa6=_0x1e2cb1[_0x835c8c(0x204)](_0x15be9b,_0x4e918e,_0xb73c1b);return _0x5815c6(_0x423aa6,_0x444139),_0x1e2cb1['addDirtyPivotTable']({'unitId':_0x15be9b,'subUnitId':_0x4e918e,'token':_0xb73c1b,'type':_0x50514a[_0x835c8c(0x1cc)]}),!0x0;}},_0x3857da={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x351),'handler'(_0x305120,_0x34f72d){const _0x4d2d2b=_0x4d3dd6;if(!_0x34f72d)return!0x1;if(!!_0x305120['get'](_0x4f5d51[_0x4d2d2b(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x15d2ff=_0x305120[_0x4d2d2b(0x34c)](_0xc194b8[_0x4d2d2b(0x334)]),{unitId:_0x297cc6,subUnitId:_0x312d76,pivotTableId:_0x5e80a1,area:_0x58b26e,index:_0x58ccd6,fieldId:_0x1ccfa9}=_0x34f72d,_0x32a473=_0x15d2ff[_0x4d2d2b(0x459)](_0x5e80a1);if(!_0x32a473)return!0x1;_0x32a473['updateFieldPosition'](_0x1ccfa9,_0x58b26e,_0x58ccd6);const _0x35e8f0=_0x15d2ff['getPivotTableModelConfig'](_0x297cc6,_0x312d76,_0x5e80a1);return _0x2900cb(_0x35e8f0,_0x34f72d),_0x15d2ff[_0x4d2d2b(0x430)]({'unitId':_0x297cc6,'subUnitId':_0x312d76,'token':_0x5e80a1,'type':_0x50514a[_0x4d2d2b(0x1cc)]}),!0x0;}},_0x4fe954={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x45d),'handler'(_0x3f9b2a,_0x1b817e){const _0x19153a=_0x4d3dd6;if(!_0x1b817e)return!0x1;if(!!_0x3f9b2a[_0x19153a(0x34c)](_0x4f5d51['IConfigService'])[_0x19153a(0x1e4)](_0x57486b))return!0x0;const _0x51c54a=_0x3f9b2a[_0x19153a(0x34c)](_0xc194b8['SheetsPivotDataSourceModel']),{unitId:_0x43ed41,subUnitId:_0x4546f9,pivotTableId:_0x55231d,sourceName:_0xe9cd97,dataFieldId:_0xed856e,tableFieldId:_0x20ff2d}=_0x1b817e,_0x2b8626=_0x51c54a[_0x19153a(0x459)](_0x55231d);if(!_0x2b8626)return!0x1;_0x2b8626[_0x19153a(0x3c9)](_0x20ff2d,_0xe9cd97,_0xed856e);const _0x33ac95=_0x51c54a[_0x19153a(0x204)](_0x43ed41,_0x4546f9,_0x55231d);return _0x5144c4(_0x33ac95,_0x1b817e),_0x51c54a['addDirtyPivotTable']({'unitId':_0x43ed41,'subUnitId':_0x4546f9,'token':_0x55231d,'type':_0x50514a[_0x19153a(0x1cc)]}),!0x0;}},_0x32c67c={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x15188e,_0x5336d3){const _0x59f61f=_0x4d3dd6;if(!_0x5336d3)return!0x1;if(!!_0x15188e[_0x59f61f(0x34c)](_0x4f5d51[_0x59f61f(0x189)])['getConfig'](_0x57486b))return!0x0;const _0x2f5d4f=_0x15188e['get'](_0xc194b8[_0x59f61f(0x334)]),{unitId:_0x7a289e,subUnitId:_0x24ce25,pivotTableId:_0x94afa4,valuePosition:_0x486ffe,index:_0x441bee}=_0x5336d3,_0x4eca70=_0x2f5d4f['getPivotTableInstance'](_0x94afa4);if(!_0x4eca70)return!0x1;_0x4eca70['updateValuePosition'](_0x486ffe,_0x441bee);const _0x43601b=_0x2f5d4f[_0x59f61f(0x204)](_0x7a289e,_0x24ce25,_0x94afa4);return _0x6dc38f(_0x43601b,_0x5336d3),_0x2f5d4f[_0x59f61f(0x430)]({'unitId':_0x7a289e,'subUnitId':_0x24ce25,'token':_0x94afa4,'type':_0x50514a[_0x59f61f(0x1cc)]}),!0x0;}};function _0x42b781(_0x403093,_0x463bff,_0x28637f){const _0x36e066=_0x4d3dd6,{pivotTableId:_0x43afea,unitId:_0x7552b5,subUnitId:_0x1d80f8}=_0x463bff,_0x1f5d89=[],_0x5e56b9=[];for(const _0x12dff9 of _0x28637f)switch(_0x12dff9[_0x36e066(0x309)]){case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x371)]:{const {fieldJson:_0x4c7d35,area:_0xd8e4c6,index:_0x30d15b}=_0x12dff9,_0x9cdaef={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldJson':_0x4c7d35,'area':_0xd8e4c6,'index':_0x30d15b},_0x54bac2={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x4c7d35['id'],'area':_0xd8e4c6,'index':_0x30d15b};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x16ebb3['id'],'params':_0x9cdaef}),_0x5e56b9[_0x36e066(0x18e)]({'id':_0x39167d['id'],'params':_0x54bac2});}break;case _0x1dcf85['PivotTableChangeTypeEnum'][_0x36e066(0x39b)]:{const {fieldId:_0x45a5cc,newSubtotalType:_0x135c92,oldSubtotalType:_0x566a24}=_0x12dff9,_0x22f9bb={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x45a5cc,'subtotalType':_0x135c92};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x3822f3['id'],'params':_0x22f9bb});const _0x2ffb5f={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x45a5cc,'subtotalType':_0x566a24};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x3822f3['id'],'params':_0x2ffb5f});}break;case _0x1dcf85[_0x36e066(0x49c)]['RemoveField']:{const {fieldId:_0x77beb3,fieldJson:_0x1ed635,area:_0x2197bf,index:_0x108e21}=_0x12dff9,_0x449c40={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x77beb3,'index':_0x108e21,'area':_0x2197bf};_0x1f5d89['push']({'id':_0x39167d['id'],'params':_0x449c40});const _0x4f3db5={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldJson':_0x1ed635,'area':_0x2197bf,'index':_0x108e21};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x16ebb3['id'],'params':_0x4f3db5});}break;case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x487)]:{const {fieldId:_0x3e6b0d,oldName:_0x4dad0c,newName:_0x27d445}=_0x12dff9,_0x45130e={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x3e6b0d,'name':_0x27d445};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x326ac3['id'],'params':_0x45130e});const _0x4b14a2={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x3e6b0d,'name':_0x4dad0c};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x326ac3['id'],'params':_0x4b14a2});}break;case _0x1dcf85['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x144362,oldFilterInfo:_0x4a01d3,newFilterInfo:_0x9c857e}=_0x12dff9,_0x52c9ae={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x144362,'filterInfo':_0x9c857e};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x2cbbdf['id'],'params':_0x52c9ae});const _0x34c166={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x144362,'filterInfo':_0x4a01d3};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x2cbbdf['id'],'params':_0x34c166});}break;case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x1ee)]:{const {fieldId:_0x596593,oldSortInfo:_0x41d3d2,newSortInfo:_0x49905a}=_0x12dff9,_0x5af0bf={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x596593,'sortInfo':_0x49905a};_0x1f5d89['push']({'id':_0x18cf20['id'],'params':_0x5af0bf});const _0x101647={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x596593,'sortInfo':_0x41d3d2};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x18cf20['id'],'params':_0x101647});}break;case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x1a2)]:{const {oldOptions:_0x188684,newOptions:_0x19b286}=_0x12dff9,_0x15ab7c={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'options':_0x19b286};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x50eaec['id'],'params':_0x15ab7c});const _0x53c4e3={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'options':_0x188684};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x50eaec['id'],'params':_0x53c4e3});}break;case _0x1dcf85['PivotTableChangeTypeEnum'][_0x36e066(0x389)]:{const {oldArea:_0x1ce4db,newArea:_0x31945a,oldIndex:_0x48a18b,newIndex:_0x1c52f5,fieldId:_0x578042}=_0x12dff9,_0x1e170e={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x578042,'area':_0x31945a,'index':_0x1c52f5,'oldArea':_0x1ce4db,'oldIndex':_0x48a18b};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x3857da['id'],'params':_0x1e170e});const _0x3a5026={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x578042,'area':_0x1ce4db,'index':_0x48a18b,'oldArea':_0x31945a,'oldIndex':_0x1c52f5};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x3857da['id'],'params':_0x3a5026});}break;case _0x1dcf85['PivotTableChangeTypeEnum'][_0x36e066(0x408)]:{const {oldValuePosition:_0x2df36f,newValuePosition:_0x54c830,oldIndex:_0x108732,newIndex:_0x28352c}=_0x12dff9,_0x535578={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'valuePosition':_0x54c830,'index':_0x28352c};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x32c67c['id'],'params':_0x535578});const _0x47fec0={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'valuePosition':_0x2df36f,'index':_0x108732};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x32c67c['id'],'params':_0x47fec0});}break;case _0x1dcf85['PivotTableChangeTypeEnum']['SetCollapse']:{const {fieldId:_0x2e3363,collapse:_0x3a968c,item:_0x56121c}=_0x12dff9,_0x5d0179={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x2e3363,'collapse':_0x3a968c,'item':_0x56121c};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x53817a['id'],'params':_0x5d0179});const _0x9f3a47={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x2e3363,'collapse':!_0x3a968c,'item':_0x56121c};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x53817a['id'],'params':_0x9f3a47});}break;case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x38d)]:{const {newFormat:_0x534536,oldFormat:_0x23814d,fieldId:_0x39e6ef}=_0x12dff9,_0x17c0e3={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x39e6ef,'format':_0x534536};_0x1f5d89['push']({'id':_0x815402['id'],'params':_0x17c0e3});const _0x298c94={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x39e6ef,'format':_0x23814d};_0x5e56b9['unshift']({'id':_0x815402['id'],'params':_0x298c94});}break;case _0x1dcf85[_0x36e066(0x49c)][_0x36e066(0x1f3)]:{const {tableFieldId:_0x13dfae,oldSourceName:_0x3b6231,newSourceName:_0x507f0a,oldDataFieldId:_0x3f0b70,newDataFieldId:_0x560872}=_0x12dff9,_0x521932={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'tableFieldId':_0x13dfae,'sourceName':_0x507f0a,'dataFieldId':_0x560872};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x4fe954['id'],'params':_0x521932});const _0x4fb20e={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'tableFieldId':_0x13dfae,'sourceName':_0x3b6231,'dataFieldId':_0x3f0b70};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x4fe954['id'],'params':_0x4fb20e});}break;case _0x1dcf85['PivotTableChangeTypeEnum'][_0x36e066(0x258)]:{const {fieldId:_0x8da0c0,filterInfo:_0x10b500,oldFilterInfo:_0x269ae9}=_0x12dff9,_0x5dc366={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x8da0c0,'filterInfo':_0x10b500};_0x1f5d89[_0x36e066(0x2b0)]({'id':_0x4570ce['id'],'params':_0x5dc366});const _0x232c06={'unitId':_0x7552b5,'subUnitId':_0x1d80f8,'pivotTableId':_0x43afea,'fieldId':_0x8da0c0,'filterInfo':_0x269ae9};_0x5e56b9[_0x36e066(0x18e)]({'id':_0x4570ce['id'],'params':_0x232c06});}}return{'redos':_0x1f5d89,'undos':_0x5e56b9};}function _0x2403dd(_0x206e15,_0x1440bf){const _0x5b0b07=_0x4d3dd6;var _0x54bc2b;const _0x98379=_0x206e15[_0x5b0b07(0x34c)](_0xc194b8[_0x5b0b07(0x324)]),{cellInfo:_0xf60ac3,view:_0x3226a3,isEmpty:_0x3223f0}=_0x1440bf;return(_0x54bc2b=_0x98379[_0x5b0b07(0x359)][_0x5b0b07(0x277)](_0x117510)(_0x680e0f,{'cellInfo':_0xf60ac3,'view':_0x3226a3,'isEmpty':_0x3223f0}))!=null?_0x54bc2b:_0x680e0f;}const _0x48b356=()=>typeof process<'u'&&process[_0x4d3dd6(0x406)]!=null&&process['versions'][_0x4d3dd6(0x400)]!=null,_0x115c42={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x3e9),'handler'(_0x334173,_0x460db8){const _0x104c3c=_0x4d3dd6;var _0x239c16;if(!_0x460db8)return!0x1;const _0x457077=_0x334173['get'](_0x4f5d51['IConfigService']);if(!!_0x457077['getConfig'](_0x57486b))return!0x0;const _0x369f56=_0x334173['get'](_0x4f5d51[_0x104c3c(0x343)]),_0x21dcba=_0x334173['get'](_0xc194b8[_0x104c3c(0x334)]),{pivotTableId:_0xc0b009,pivotTableConfig:_0x157d3c,collectionConfig:_0x16f3e2,unitId:_0x5c9a77,subUnitId:_0x5440ee}=_0x460db8,{sourceRangeInfo:_0x40f744,fieldsConfig:_0x52873d,targetCellInfo:_0x575d89}=_0x157d3c,_0x1656fd=_0x369f56[_0x104c3c(0x242)](_0x5c9a77);if(!_0x1656fd||!_0x1656fd[_0x104c3c(0x268)](_0x5440ee))return!0x1;if(!_0x48b356()){let _0x233946=0x0;_0x1656fd[_0x104c3c(0x3c8)]()['forEach'](_0x4a6d87=>{const _0x47d9ea=_0x104c3c;var _0x3a329a,_0x48fba6;_0x233946+=(_0x48fba6=(_0x3a329a=_0x21dcba[_0x47d9ea(0x27e)](_0x5c9a77,_0x4a6d87['getSheetId']()))==null?void 0x0:_0x3a329a[_0x47d9ea(0x40d)])!=null?_0x48fba6:0x0;});const _0x173a55=(_0x239c16=_0x457077['getConfig'](_0x25d21e['LS_CONFIG_KEY']))!=null?_0x239c16:{},{ls:_0x2f7356,pbk:_0x135521}=_0x173a55;if(!_0x75d115(_0x2f7356,_0x135521))throw new _0x4f5d51[(_0x104c3c(0x4a6))](_0x104c3c(0x2ea));const _0x5ea455=_0x231f35(_0x42e383,_0x2f7356,_0x135521)[_0x104c3c(0x3c4)];if(_0x233946>=_0x5ea455)throw new _0x4f5d51['CustomCommandExecutionError']('limit\x20pivot');}if(!_0x16f3e2||!_0x52873d)return!0x1;const {collection:_0x495662,updateDataFieldList:_0x193762}=_0x21dcba[_0x104c3c(0x35a)](_0xc0b009,_0x16f3e2,_0x40f744,_0x575d89);_0x21dcba[_0x104c3c(0x3dc)](_0x495662,_0x193762,_0x40f744);const _0x1ac7e9=new _0x1dcf85['PivotTable'](_0x495662,void 0x0,_0xc0b009);_0x1ac7e9['fromJSON'](_0x52873d);const _0x2d4b31=JSON[_0x104c3c(0x362)](JSON[_0x104c3c(0x333)](_0x157d3c));return _0x21dcba['addPivotTable'](_0x5c9a77,_0x5440ee,_0xc0b009,_0x1ac7e9,_0x2d4b31),_0x21dcba[_0x104c3c(0x430)]({'unitId':_0x5c9a77,'subUnitId':_0x5440ee,'token':_0xc0b009,'type':_0x50514a[_0x104c3c(0x262)],'pivotConfig':_0x2d4b31}),!0x0;}},_0x9a990a={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x370),'handler'(_0x11ae78,_0x312438){const _0x57cb34=_0x4d3dd6;if(!_0x312438)return!0x1;if(!!_0x11ae78[_0x57cb34(0x34c)](_0x4f5d51['IConfigService'])[_0x57cb34(0x1e4)](_0x57486b))return!0x0;const {pivotTableId:_0x59e6be,unitId:_0x64485a,subUnitId:_0x9f003}=_0x312438,_0x57b2bf=_0x11ae78[_0x57cb34(0x34c)](_0xc194b8['SheetsPivotDataSourceModel']);return _0x57b2bf[_0x57cb34(0x306)](_0x64485a,_0x9f003,_0x59e6be)?(_0x57b2bf[_0x57cb34(0x430)]({'unitId':_0x64485a,'subUnitId':_0x9f003,'token':_0x59e6be,'type':_0x50514a[_0x57cb34(0x397)]}),_0x57b2bf['removePivotTable'](_0x64485a,_0x9f003,_0x59e6be),!0x0):!0x1;}},_0x3ac2e1={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x254),'handler'(_0x3e21df,_0x1e3b32){const _0x2334f4=_0x4d3dd6;if(!_0x1e3b32)return!0x1;if(!!_0x3e21df[_0x2334f4(0x34c)](_0x4f5d51[_0x2334f4(0x189)])['getConfig'](_0x57486b))return!0x0;const {pivotTableId:_0x3f69e5,targetCellPosition:_0xc6bb79,unitId:_0x22e891,subUnitId:_0x4efc91}=_0x1e3b32,_0x17f7fb=_0x3e21df[_0x2334f4(0x34c)](_0xc194b8[_0x2334f4(0x334)]);if(!_0x17f7fb[_0x2334f4(0x459)](_0x1e3b32['pivotTableId']))return!0x1;const _0x466e2a=_0x17f7fb['getTargetByPivotId'](_0x3f69e5);if(!_0x466e2a)return!0x1;const _0x2305b9=_0x17f7fb[_0x2334f4(0x2a4)](_0x466e2a[_0x2334f4(0x256)],_0x1e3b32[_0x2334f4(0x3d1)]);if(!_0x2305b9)return!0x1;const _0x299a9e=_0x17f7fb['getPivotTableConfig'](_0x466e2a[_0x2334f4(0x256)],_0x466e2a['subUnitId'],_0x3f69e5);if(!_0x299a9e)return!0x1;const _0x564a6c=_0x4f5d51[_0x2334f4(0x1c8)][_0x2334f4(0x2a6)](_0x299a9e);_0x564a6c[_0x2334f4(0x3dd)]={'unitId':_0x22e891,'subUnitId':_0x4efc91,'row':_0xc6bb79[_0x2334f4(0x46e)],'col':_0xc6bb79[_0x2334f4(0x283)]};const _0x5c15be=_0x2305b9['toJSON']();if(_0x466e2a[_0x2334f4(0x48c)]===_0x4efc91&&_0x466e2a[_0x2334f4(0x256)]===_0x22e891)_0x17f7fb['setPivotTable'](_0x22e891,_0x4efc91,_0x3f69e5,_0x564a6c),_0x17f7fb[_0x2334f4(0x430)]({'unitId':_0x22e891,'subUnitId':_0x4efc91,'token':_0x3f69e5,'type':_0x50514a[_0x2334f4(0x1cc)]});else{_0x17f7fb[_0x2334f4(0x430)]({'unitId':_0x466e2a[_0x2334f4(0x256)],'subUnitId':_0x466e2a[_0x2334f4(0x48c)],'token':_0x3f69e5,'type':_0x50514a['Delete']}),_0x17f7fb['removePivotTable'](_0x466e2a[_0x2334f4(0x256)],_0x466e2a[_0x2334f4(0x48c)],_0x3f69e5);const _0x4106f2=_0x17f7fb['addCollectionByJSON'](_0x3f69e5,_0x5c15be,_0x299a9e[_0x2334f4(0x3f1)],_0x564a6c['targetCellInfo']),_0x1a8ed8=new _0x1dcf85[(_0x2334f4(0x347))](_0x4106f2[_0x2334f4(0x445)],void 0x0,_0x3f69e5);_0x1a8ed8[_0x2334f4(0x44a)](_0x564a6c['fieldsConfig']),_0x17f7fb['addPivotTable'](_0x22e891,_0x4efc91,_0x3f69e5,_0x1a8ed8,_0x564a6c),_0x17f7fb[_0x2334f4(0x430)]({'unitId':_0x22e891,'subUnitId':_0x4efc91,'token':_0x3f69e5,'type':_0x50514a[_0x2334f4(0x262)],'pivotConfig':_0x564a6c});}return!0x0;}},_0x83b693={'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'id':_0x4d3dd6(0x321),'handler'(_0x22d458,_0x1d0b34){const _0x139e57=_0x4d3dd6;if(!_0x1d0b34)return!0x1;if(!!_0x22d458['get'](_0x4f5d51[_0x139e57(0x189)])[_0x139e57(0x1e4)](_0x57486b))return!0x0;const _0x37fabc=_0x22d458[_0x139e57(0x34c)](_0xc194b8[_0x139e57(0x334)]),{pivotTableId:_0x1dd547,deleteIds:_0x1f7f4a,collectionJSON:_0x3eca2f,dataRangeInfo:_0xca0796,unitId:_0x490c50,subUnitId:_0x2d932f}=_0x1d0b34,_0xcb638b=_0x37fabc['getPivotTableInstance'](_0x1dd547),_0x5a0673=_0x37fabc[_0x139e57(0x306)](_0x490c50,_0x2d932f,_0x1dd547);if(!_0xcb638b||!_0x5a0673)return!0x1;const {collection:_0x1e7d07,updateDataFieldList:_0x28d8b8}=_0x37fabc['addCollectionByJSON'](_0x1dd547,_0x3eca2f,_0xca0796,_0x5a0673[_0x139e57(0x3dd)]);_0x37fabc[_0x139e57(0x3dc)](_0x1e7d07,_0x28d8b8,_0xca0796),_0xcb638b[_0x139e57(0x305)](_0x1e7d07);for(const _0x1099ac of _0x1f7f4a)_0x37fabc[_0x139e57(0x22c)](_0xca0796['unitId'],_0x1099ac);const _0x301796=_0x37fabc[_0x139e57(0x306)](_0x490c50,_0x2d932f,_0x1dd547);return _0x301796[_0x139e57(0x3f1)]=JSON['parse'](JSON['stringify'](_0xca0796)),_0x37fabc[_0x139e57(0x430)]({'unitId':_0x490c50,'subUnitId':_0x2d932f,'token':_0x1dd547,'type':_0x50514a['Set']}),!0x0;}},_0x2af18f={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'id':_0x4d3dd6(0x435),'handler'(){return!0x0;}};var _0x39d847=Object[_0x4d3dd6(0x20b)],_0x549d30=(_0x2e9814,_0xd27ac9,_0x33c7cd,_0x5e2a91)=>{const _0x20cc4a=_0x4d3dd6;for(var _0x52d0f1=_0x5e2a91>0x1?void 0x0:_0x5e2a91?_0x39d847(_0xd27ac9,_0x33c7cd):_0xd27ac9,_0x5bede6=_0x2e9814[_0x20cc4a(0x425)]-0x1,_0x31a434;_0x5bede6>=0x0;_0x5bede6--)(_0x31a434=_0x2e9814[_0x5bede6])&&(_0x52d0f1=_0x31a434(_0x52d0f1)||_0x52d0f1);return _0x52d0f1;},_0x4c2011=(_0x5de029,_0x38773e)=>(_0x3ba605,_0x827ea8)=>_0x38773e(_0x3ba605,_0x827ea8,_0x5de029);_0xc194b8[_0x4d3dd6(0x183)]=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x23e21e,_0x4e41ed){const _0x3450e3=_0x4d3dd6;super(),_0x8a8b01(this,_0x3450e3(0x194),new Map()),(this[_0x3450e3(0x21f)]=_0x23e21e,this[_0x3450e3(0x1fa)]=_0x4e41ed);}[_0x4d3dd6(0x35b)](_0x4d9371){const _0x3de219=_0x4d3dd6,{version:_0x1aafb0}=_0x4d9371,_0x433d15=this[_0x3de219(0x194)]['get'](_0x1aafb0);_0x433d15&&(_0x433d15(_0x4d9371),this['_requestResolvers']['delete'](_0x1aafb0));}[_0x4d3dd6(0x33e)](_0x403ec0){return new Promise((_0x52ad6b,_0x4230ca)=>{const _0x4c18c0=_0x1cd0,_0x283d42=this[_0x4c18c0(0x304)]();this[_0x4c18c0(0x194)][_0x4c18c0(0x330)](_0x283d42,_0x52ad6b),this[_0x4c18c0(0x1fa)][_0x4c18c0(0x1c4)](_0x15f1cc['id'],{'version':_0x283d42,..._0x403ec0},{'onlyLocal':!0x0});});}[_0x4d3dd6(0x304)](){const _0xfa886c=_0x4d3dd6;return Math['random']()[_0xfa886c(0x323)](0x24)['substring'](0x2,0x10);}},_0xc194b8[_0x4d3dd6(0x183)]=_0x549d30([_0x4c2011(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x4c2011(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x4a4)]))],_0xc194b8[_0x4d3dd6(0x183)]);const _0x14082e={'id':_0x4d3dd6(0x415),'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x249)],'handler':(_0x1daf71,_0x55e865)=>{const _0x2701b0=_0x4d3dd6;if(!_0x55e865)return!0x1;if(!!_0x1daf71[_0x2701b0(0x34c)](_0x4f5d51[_0x2701b0(0x189)])[_0x2701b0(0x1e4)](_0x57486b))return!0x0;const {pivotTableId:_0x245841,fieldJSON:_0x5aa96b,unitId:_0x5c3c0d,subUnitId:_0x7b138}=_0x55e865,_0x249568=_0x1dcf85['BaseGroupField'][_0x2701b0(0x44a)](_0x5aa96b);if(!_0x249568)return!0x1;const _0x98ab0d=_0x1daf71[_0x2701b0(0x34c)](_0xc194b8['SheetsPivotDataSourceModel']),_0x30ab15=_0x98ab0d[_0x2701b0(0x49b)](_0x5c3c0d),_0x189fbc=_0x30ab15[_0x2701b0(0x2a4)](_0x245841);_0x30ab15['addDataFieldWithoutUnitInfo'](_0x249568),_0x189fbc[_0x2701b0(0x216)](_0x249568[_0x2701b0(0x339)](),_0x249568[_0x2701b0(0x245)]());const _0x9cde05=_0x189fbc[_0x2701b0(0x355)](_0x249568[_0x2701b0(0x485)]());_0x9cde05&&_0x249568[_0x2701b0(0x2f4)](_0x9cde05);const _0xc43b31=_0x98ab0d[_0x2701b0(0x306)](_0x5c3c0d,_0x7b138,_0x245841);return _0x98ab0d[_0x2701b0(0x430)]({'unitId':_0x5c3c0d,'subUnitId':_0x7b138,'token':_0x245841,'type':_0x50514a[_0x2701b0(0x1cc)],'pivotConfig':_0xc43b31}),!0x0;}},_0xfc59ce={'id':_0x4d3dd6(0x2bd),'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x249)],'handler':(_0x3e8fa7,_0x51637e)=>{const _0x48f41f=_0x4d3dd6;if(!_0x51637e)return!0x1;if(!!_0x3e8fa7[_0x48f41f(0x34c)](_0x4f5d51['IConfigService'])[_0x48f41f(0x1e4)](_0x57486b))return!0x0;const {pivotTableId:_0x3680a1,dataFieldId:_0x16aa60,unitId:_0x4d4a8d,subUnitId:_0x134681}=_0x51637e,_0x176670=_0x3e8fa7['get'](_0xc194b8[_0x48f41f(0x334)]),_0x4414fe=_0x176670['getDataFieldManager'](_0x4d4a8d);_0x4414fe[_0x48f41f(0x2a4)](_0x3680a1)[_0x48f41f(0x22b)](_0x16aa60);let _0x3f2510=!0x0;for(const _0x1fadcb in _0x4414fe[_0x48f41f(0x41f)])if(_0x4414fe['collections'][_0x1fadcb][_0x48f41f(0x2db)]()[_0x48f41f(0x2a0)](_0x16aa60)){_0x3f2510=!0x1;break;}_0x3f2510&&_0x4414fe[_0x48f41f(0x475)](_0x16aa60);const _0x3ad4b7=_0x176670[_0x48f41f(0x306)](_0x4d4a8d,_0x134681,_0x3680a1);return _0x176670[_0x48f41f(0x430)]({'unitId':_0x4d4a8d,'subUnitId':_0x134681,'token':_0x3680a1,'type':_0x50514a[_0x48f41f(0x1cc)],'pivotConfig':_0x3ad4b7}),!0x0;}},_0x19bc7a={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x499),async 'handler'(_0x41bf0c,_0x4f6fdc){const _0x343ab5=_0x4d3dd6;if(!_0x4f6fdc)return!0x1;const _0x4bfc38=_0x41bf0c[_0x343ab5(0x34c)](_0x4f5d51[_0x343ab5(0x4a4)]),_0x2b8586=_0x41bf0c[_0x343ab5(0x34c)](_0xc194b8[_0x343ab5(0x183)]),_0x287b1f=_0x41bf0c[_0x343ab5(0x34c)](_0x4f5d51[_0x343ab5(0x418)]),{pivotTableId:_0x50d5a7,dataFieldId:_0x1549e1,fieldArea:_0x55d226,index:_0x49539d,unitId:_0x563b5c,subUnitId:_0x39f837}=_0x4f6fdc,_0x5d72bd=(await _0x2b8586[_0x343ab5(0x33e)]({'unitId':_0x563b5c,'subUnitId':_0x39f837,'pivotTableId':_0x50d5a7,'params':{'type':_0x2fe1bc[_0x343ab5(0x2c2)],'addPivotField':{'dataFieldId':_0x1549e1,'fieldArea':_0x55d226,'index':_0x49539d}}}))[_0x343ab5(0x2bb)]['addPivotField'];if(!_0x5d72bd)return!0x1;const {view:_0x5e9bae,changesets:_0x467ab3,isEmpty:_0x25fd3a,pivotTableConfig:_0x31e961,shouldBeAddedGroupJSON:_0x2904d0}=_0x5d72bd,_0x9f175a=_0x31e961[_0x343ab5(0x3dd)],_0x12506e=new _0x1dcf85[(_0x343ab5(0x1c3))]();_0x12506e[_0x343ab5(0x433)](_0x5e9bae);const _0x333478={'cellInfo':_0x9f175a,'view':_0x12506e,'isEmpty':_0x25fd3a};if(!await _0x41bf0c[_0x343ab5(0x34c)](_0xc194b8[_0x343ab5(0x324)])[_0x343ab5(0x22e)][_0x343ab5(0x2c7)](_0x250960)(!0x0,_0x333478))return!0x1;const _0x1bd49c=_0x15adda(_0x41bf0c,_0x12506e,_0x9f175a,_0x25fd3a),_0x384e39=_0x2403dd(_0x41bf0c,_0x333478),{undos:_0x4b2623,redos:_0x1f9f32}=_0x42b781(_0x4bfc38,{'pivotTableId':_0x50d5a7,'unitId':_0x563b5c,'subUnitId':_0x39f837},_0x467ab3);return _0x2904d0&&(_0x1f9f32[_0x343ab5(0x18e)]({'id':_0x14082e['id'],'params':{'pivotTableId':_0x50d5a7,'fieldJSON':_0x2904d0,'unitId':_0x563b5c,'subUnitId':_0x39f837}}),_0x4b2623[_0x343ab5(0x2b0)]({'id':_0xfc59ce['id'],'params':{'pivotTableId':_0x50d5a7,'dataFieldId':_0x2904d0['id'],'unitId':_0x563b5c,'subUnitId':_0x39f837}})),_0x4f5d51[_0x343ab5(0x218)]([..._0x1bd49c[_0x343ab5(0x234)],..._0x384e39[_0x343ab5(0x234)],..._0x1f9f32],_0x4bfc38),_0x287b1f['pushUndoRedo']({'unitID':_0x563b5c,'redoMutations':[..._0x1bd49c['redos'],..._0x384e39[_0x343ab5(0x234)],..._0x1f9f32],'undoMutations':[..._0x1bd49c[_0x343ab5(0x2d2)],..._0x384e39[_0x343ab5(0x2d2)],..._0x4b2623]}),!0x0;}},_0x83ba6={'type':_0x4f5d51[_0x4d3dd6(0x468)]['COMMAND'],'id':_0x4d3dd6(0x3fe),async 'handler'(_0x110411,_0x4c5774){const _0xae6dd6=_0x4d3dd6;if(!_0x4c5774)return!0x1;const {sourceDataInfo:_0x528c6e,pivotTableConfig:_0x2ba7f3}=_0x4c5774;if(!_0x528c6e||!_0x2ba7f3)return!0x1;const {unitId:_0x356308,subUnitId:_0x5a14a2,range:_0x4cf090}=_0x528c6e,_0x5ea30f=_0x110411[_0xae6dd6(0x34c)](_0x4f5d51[_0xae6dd6(0x343)]),_0xdbf36a=_0x110411['get'](_0xc194b8[_0xae6dd6(0x183)]),_0x316965=_0x110411[_0xae6dd6(0x34c)](_0x4f5d51[_0xae6dd6(0x3ea)]),_0x1bbc43=_0x110411[_0xae6dd6(0x34c)](_0x4f5d51[_0xae6dd6(0x4a4)]),_0x3e9c5a=_0x5ea30f['getUnit'](_0x356308);if(!_0x3e9c5a)return!0x1;const _0x4187eb=_0x3e9c5a[_0xae6dd6(0x268)](_0x5a14a2);if(!_0x4187eb)return!0x1;const _0x2eaf8c=_0x1dcf85['generateHexNumber'](0x8),_0x454283=_0x4cf090||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4187eb['getRowCount']()-0x1,'endColumn':_0x4187eb[_0xae6dd6(0x2b5)]()-0x1};_0x454283['rangeType']=_0x4f5d51[_0xae6dd6(0x273)]['NORMAL'];const _0x1e54de=(await _0xdbf36a['getPivotDisplayConfig']({'unitId':_0x356308,'subUnitId':_0x5a14a2,'pivotTableId':_0x2eaf8c,'params':{'type':_0x2fe1bc['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x356308,'sheetName':_0x4187eb[_0xae6dd6(0x245)](),'subUnitId':_0x5a14a2,'range':_0x454283},'pivotTableId':_0x2eaf8c,'pivotTableIndexConfig':_0x2ba7f3}}}))[_0xae6dd6(0x2bb)][_0xae6dd6(0x1ab)];if(!_0x1e54de)return!0x1;const {isEmpty:_0x550800,fieldsConfig:_0x1486b1,collectionConfig:_0xe24d2f,changesets:_0x5e756b}=_0x1e54de,_0x251762=_0x3e9c5a[_0xae6dd6(0x3c8)]()['length'],_0x455a11=_0x4f5d51[_0xae6dd6(0x42c)]({'rowCount':_0x4187eb[_0xae6dd6(0x1e7)]()-0x1,'columnCount':_0x4187eb[_0xae6dd6(0x2b5)]()-0x1});_0x455a11['id']=_0x4f5d51[_0xae6dd6(0x1fc)](),_0x455a11[_0xae6dd6(0x185)]=_0x3e9c5a[_0xae6dd6(0x2a2)](''+_0x316965['t'](_0xae6dd6(0x2eb)));const _0x221189={'index':_0x251762,'sheet':_0x455a11,'unitId':_0x356308},{redos:_0x142a1f}=_0x42b781(_0x1bbc43,{'pivotTableId':_0x2eaf8c,'unitId':_0x356308,'subUnitId':_0x455a11['id']},_0x5e756b),_0x31fafa=[{'id':_0x55067d[_0xae6dd6(0x29b)]['id'],'params':_0x221189},{'id':_0x115c42['id'],'params':{'unitId':_0x356308,'subUnitId':_0x455a11['id'],'pivotTableId':_0x2eaf8c,'pivotTableConfig':{'isEmpty':_0x550800,'fieldsConfig':_0x1486b1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x356308,'subUnitId':_0x455a11['id']},'sourceRangeInfo':{'subUnitId':_0x5a14a2,'unitId':_0x356308,'range':_0x454283,'sheetName':_0x4187eb[_0xae6dd6(0x245)]()}},'collectionConfig':_0xe24d2f}},..._0x142a1f];return _0x4f5d51[_0xae6dd6(0x218)](_0x31fafa,_0x1bbc43),!0x0;}},_0x53b1d4={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x2a81a5,_0x17681e){const _0x1cd6f7=_0x4d3dd6;var _0x459867,_0x5b6d2e;const _0x551812=_0x2a81a5[_0x1cd6f7(0x34c)](_0x4f5d51[_0x1cd6f7(0x4a4)]),_0x5bdf3e=_0x2a81a5[_0x1cd6f7(0x34c)](_0x4f5d51[_0x1cd6f7(0x343)]),_0x5e97bb=_0x2a81a5[_0x1cd6f7(0x34c)](_0x4f5d51[_0x1cd6f7(0x3ea)]),_0x4cae27=_0x2a81a5[_0x1cd6f7(0x34c)](_0xc194b8[_0x1cd6f7(0x183)]),_0x4295fd=_0x2a81a5['get'](_0x4f5d51[_0x1cd6f7(0x418)]),_0x462915=_0x2a81a5[_0x1cd6f7(0x34c)](_0xc194b8[_0x1cd6f7(0x478)]),_0x132038=_0x2a81a5[_0x1cd6f7(0x34c)](_0x4f5d51[_0x1cd6f7(0x189)]);if(!_0x17681e)return!0x1;const {pivotTableConfig:_0x307ac6,positionType:_0x25f0f8}=_0x17681e,{targetCellInfo:_0x3ee76f,sourceRangeInfo:_0x57560e}=_0x307ac6,{unitId:_0x2eb675,subUnitId:_0x11079d}=_0x3ee76f,_0x57283e=_0x5bdf3e[_0x1cd6f7(0x242)](_0x2eb675);if(!_0x57283e)return!0x1;let _0x527e9f=0x0;_0x57283e[_0x1cd6f7(0x3c8)]()['forEach'](_0x55f78c=>{const _0x392a3b=_0x1cd6f7;var _0x1eaf73,_0x34105f;_0x527e9f+=(_0x34105f=(_0x1eaf73=_0x462915[_0x392a3b(0x27e)](_0x2eb675,_0x55f78c[_0x392a3b(0x1bd)]()))==null?void 0x0:_0x1eaf73[_0x392a3b(0x40d)])!=null?_0x34105f:0x0;});const _0x53c747=(_0x459867=_0x132038['getConfig'](_0x25d21e[_0x1cd6f7(0x43e)]))!=null?_0x459867:{},{ls:_0x3fedae,pbk:_0x8311a6}=_0x53c747;if(!_0x75d115(_0x3fedae,_0x8311a6))return!0x1;const _0x5b8b07=_0x231f35(_0x42e383,_0x3fedae,_0x8311a6)[_0x1cd6f7(0x3c4)];if(_0x527e9f>=_0x5b8b07)return!0x1;const _0x36df72=_0x17681e[_0x1cd6f7(0x3d1)]||_0x1dcf85[_0x1cd6f7(0x195)](0x8),_0x55cb8f=(await _0x4cae27[_0x1cd6f7(0x33e)]({'unitId':_0x2eb675,'subUnitId':_0x11079d,'pivotTableId':_0x36df72,'params':{'type':_0x2fe1bc[_0x1cd6f7(0x363)],'addPivotTable':{'sourceRangeInfo':_0x57560e,'pivotTableId':_0x36df72}}}))[_0x1cd6f7(0x2bb)][_0x1cd6f7(0x27b)];if(!_0x55cb8f)return!0x1;const {view:_0x47285c,isEmpty:_0x3a7ace,fieldsConfig:_0x836a9e,collectionConfig:_0x3e3d53}=_0x55cb8f,_0x562360=[],_0x3865fc=[];if(_0x25f0f8===_0xab386e[_0x1cd6f7(0x33a)]){const _0x48f367=_0x57283e['getSheets']()['length'],_0x137c34=_0x4f5d51[_0x1cd6f7(0x42c)]({});_0x137c34['id']=_0x307ac6[_0x1cd6f7(0x3dd)][_0x1cd6f7(0x48c)],_0x137c34['name']=(_0x5b6d2e=_0x307ac6[_0x1cd6f7(0x3dd)][_0x1cd6f7(0x373)])!=null?_0x5b6d2e:_0x57283e[_0x1cd6f7(0x2a2)](''+_0x5e97bb['t']('sheets.tabs.sheet'));const _0x3ea01a={'index':_0x48f367,'sheet':_0x137c34,'unitId':_0x2eb675},_0x404472=_0x55067d[_0x1cd6f7(0x31f)](_0x2a81a5,_0x3ea01a);_0x562360['push']({'id':_0x55067d[_0x1cd6f7(0x1c0)]['id'],'params':_0x404472}),_0x3865fc[_0x1cd6f7(0x2b0)]({'id':_0x55067d[_0x1cd6f7(0x2aa)]['id'],'params':_0x3ea01a});}else{if(!_0x57283e[_0x1cd6f7(0x268)](_0x11079d))return!0x1;const _0x3a510b=_0x15adda(_0x2a81a5,new _0x1dcf85[(_0x1cd6f7(0x1c3))](),_0x3ee76f,!0x0);_0x3865fc[_0x1cd6f7(0x2b0)](..._0x3a510b['redos']),_0x562360['push'](..._0x3a510b[_0x1cd6f7(0x2d2)]);const _0x311ffb={'cellInfo':_0x3ee76f,'view':_0x47285c,'isEmpty':_0x3a7ace};if(!await _0x2a81a5[_0x1cd6f7(0x34c)](_0xc194b8[_0x1cd6f7(0x324)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x250960)(!0x0,_0x311ffb))return!0x1;const _0x20771e=_0x2403dd(_0x2a81a5,_0x311ffb);_0x3865fc[_0x1cd6f7(0x2b0)](..._0x20771e[_0x1cd6f7(0x234)]),_0x562360[_0x1cd6f7(0x2b0)](..._0x20771e['undos']);}return _0x3865fc[_0x1cd6f7(0x2b0)]({'id':_0x115c42['id'],'params':{'unitId':_0x3ee76f['unitId'],'subUnitId':_0x3ee76f['subUnitId'],'pivotTableId':_0x36df72,'pivotTableConfig':{'targetCellInfo':_0x3ee76f,'sourceRangeInfo':_0x57560e,'fieldsConfig':_0x836a9e},'collectionConfig':_0x3e3d53}}),_0x562360[_0x1cd6f7(0x18e)]({'id':_0x9a990a['id'],'params':{'unitId':_0x2eb675,'subUnitId':_0x11079d,'pivotTableId':_0x36df72}}),_0x4f5d51[_0x1cd6f7(0x218)](_0x3865fc,_0x551812)&&_0x4295fd[_0x1cd6f7(0x37d)]({'unitID':_0x2eb675,'undoMutations':_0x562360,'redoMutations':_0x3865fc}),!0x0;}},_0x3053b6={'type':_0x4f5d51[_0x4d3dd6(0x468)]['COMMAND'],'id':_0x4d3dd6(0x3b7),async 'handler'(_0x13eb3a,_0x3761de){const _0x3b4f38=_0x4d3dd6;if(!_0x3761de)return!0x1;const _0x5455c5=_0x13eb3a['get'](_0x4f5d51[_0x3b4f38(0x4a4)]),_0x2874f9=_0x13eb3a[_0x3b4f38(0x34c)](_0xc194b8[_0x3b4f38(0x183)]),_0x2624a7=_0x13eb3a[_0x3b4f38(0x34c)](_0x4f5d51[_0x3b4f38(0x418)]),{pivotTableId:_0x4a9652,fieldId:_0x1675d3,area:_0x8a41bb,index:_0xc5ab00,unitId:_0x5c114a,subUnitId:_0x10d7c5}=_0x3761de,_0x236963=(await _0x2874f9[_0x3b4f38(0x33e)]({'unitId':_0x5c114a,'subUnitId':_0x10d7c5,'pivotTableId':_0x4a9652,'params':{'type':_0x2fe1bc[_0x3b4f38(0x2e3)],'movePivotField':{'fieldId':_0x1675d3,'area':_0x8a41bb,'index':_0xc5ab00}}}))[_0x3b4f38(0x2bb)][_0x3b4f38(0x488)];if(!_0x236963)return!0x1;const {changesets:_0x50208b,view:_0x336350,isEmpty:_0x1c8477,pivotTableConfig:_0x20b2cd}=_0x236963,_0x3ed6ac=_0x20b2cd[_0x3b4f38(0x3dd)],_0x8c6b4e=new _0x1dcf85[(_0x3b4f38(0x1c3))]();_0x8c6b4e[_0x3b4f38(0x433)](_0x336350);const _0x4852d9={'cellInfo':_0x3ed6ac,'view':_0x8c6b4e,'isEmpty':_0x1c8477};if(!await _0x13eb3a[_0x3b4f38(0x34c)](_0xc194b8['SheetsPivotTableService'])[_0x3b4f38(0x22e)][_0x3b4f38(0x2c7)](_0x250960)(!0x0,_0x4852d9))return!0x1;const _0x5e8ead=_0x15adda(_0x13eb3a,_0x8c6b4e,_0x3ed6ac,_0x1c8477),_0x1a78e2=_0x2403dd(_0x13eb3a,_0x4852d9),{redos:_0x1d4fce,undos:_0x4f78b5}=_0x42b781(_0x5455c5,{'pivotTableId':_0x4a9652,'unitId':_0x5c114a,'subUnitId':_0x10d7c5},_0x50208b);return _0x4f5d51[_0x3b4f38(0x218)]([..._0x5e8ead[_0x3b4f38(0x234)],..._0x1a78e2[_0x3b4f38(0x234)],..._0x1d4fce],_0x5455c5),_0x2624a7['pushUndoRedo']({'unitID':_0x5c114a,'redoMutations':[..._0x5e8ead['redos'],..._0x1a78e2['redos'],..._0x1d4fce],'undoMutations':[..._0x5e8ead[_0x3b4f38(0x2d2)],..._0x1a78e2[_0x3b4f38(0x2d2)],..._0x4f78b5]}),!0x0;}},_0x39e708={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x1cd),async 'handler'(_0x44273d,_0x3c1d6c){const _0x1bdf79=_0x4d3dd6;var _0x257c0b;if(!_0x3c1d6c)return!0x1;const _0x1362bd=_0x44273d['get'](_0x4f5d51[_0x1bdf79(0x343)]),_0x5daf16=_0x55067d[_0x1bdf79(0x19f)](_0x1362bd);if(!_0x5daf16)return!0x1;const {unitId:_0x3f2d44,subUnitId:_0x29b3e5,workbook:_0x54025f}=_0x5daf16,{row:_0xca3691,col:_0x43e160}=_0x3c1d6c,_0x1f3fdb=_0x44273d[_0x1bdf79(0x34c)](_0xc194b8[_0x1bdf79(0x1a3)]),_0x11f476=_0x1f3fdb[_0x1bdf79(0x407)](_0x3f2d44,_0x29b3e5,_0xca3691,_0x43e160);if(!_0x11f476)return!0x1;const _0x52cab3=(_0x257c0b=_0x1f3fdb[_0x1bdf79(0x45c)](_0x3f2d44,_0x29b3e5,_0x11f476))==null?void 0x0:_0x257c0b[_0x1bdf79(0x1dc)];if(!_0x52cab3)return!0x1;const _0xb23864=_0x44273d[_0x1bdf79(0x34c)](_0xc194b8[_0x1bdf79(0x478)])['getPivotTableConfig'](_0x3f2d44,_0x29b3e5,_0x11f476);if(!_0xb23864)return!0x1;const {rowInfo:_0x3aff78,colInfo:_0x14b388}=_0x52cab3,_0x1b404c=_0x3aff78[_0xca3691][_0x1bdf79(0x2cb)],_0x579f04=_0x14b388[_0x43e160][_0x1bdf79(0x2cb)],_0x5f2e8a=_0x3aff78[_0xca3691][_0x1bdf79(0x46d)],_0x47a99a=_0x14b388[_0x43e160][_0x1bdf79(0x46d)],_0x14b12d=_0x1b404c['concat'](_0x579f04),_0x1325cc=_0xb23864[_0x1bdf79(0x37c)][_0x1bdf79(0x21e)][_0x1bdf79(0x288)](0x0,_0x5f2e8a),_0x3428f7=_0xb23864[_0x1bdf79(0x37c)][_0x1bdf79(0x29c)][_0x1bdf79(0x288)](0x0,_0x47a99a),_0x98d69e=_0x1325cc[_0x1bdf79(0x3c1)](_0x3428f7),_0x1a7d71=_0x14b12d[_0x1bdf79(0x2fd)]((_0x249888,_0x186d47)=>[_0x249888,_0x98d69e[_0x186d47]]),_0x3a24dd=(await _0x44273d['get'](_0xc194b8['SheetsPivotRPCService'])[_0x1bdf79(0x33e)]({'unitId':_0x3f2d44,'subUnitId':_0x29b3e5,'pivotTableId':_0x11f476,'params':{'type':_0x2fe1bc[_0x1bdf79(0x33f)],'drillDown':{'tuple':_0x1a7d71}}}))[_0x1bdf79(0x2bb)][_0x1bdf79(0x376)];if(!_0x3a24dd)return!0x1;const {indexes:_0x2dffdf,range:_0x1435ab,sourceUnitId:_0x2f94b0,sourceSubUnitId:_0x718ca4,formatMap:_0x4d78a5}=_0x3a24dd,{startRow:_0x3d8a50,endRow:_0xaede72,startColumn:_0x90dab6,endColumn:_0x2e7459}=_0x1435ab,_0x243d3e=new _0x4f5d51[(_0x1bdf79(0x2cc))](),_0x18a000=_0xaede72-_0x3d8a50,_0x580b1a=_0x2e7459-_0x90dab6,_0x23571f={},_0x384d04=_0x55067d[_0x1bdf79(0x19f)](_0x1362bd,{'unitId':_0x2f94b0,'subUnitId':_0x718ca4});if(!_0x384d04)return!0x1;const _0x26ce33=_0xee2008[_0x1bdf79(0x188)],_0xa873b7=_0xee2008[_0x1bdf79(0x220)],_0x30e2d7=_0xee2008[_0x1bdf79(0x220)],_0xf86096=_0x54025f[_0x1bdf79(0x263)]()[_0x1bdf79(0x3ad)](_0x26ce33),_0x4810db=_0x54025f[_0x1bdf79(0x263)]()['setValue'](_0xa873b7),_0xa1a718=_0x54025f[_0x1bdf79(0x263)]()[_0x1bdf79(0x3ad)](_0x30e2d7),{worksheet:_0x10c92f}=_0x384d04;let _0x1adda2=0x0;const _0x2f1c3c=0x1;_0x2dffdf[_0x1bdf79(0x3bb)](_0x2d4c23=>{const _0x2a3e61=_0x1bdf79;for(let _0x263cc6=0x0;_0x263cc6<=_0x2e7459-_0x90dab6;_0x263cc6++)_0x243d3e[_0x2a3e61(0x3ad)](_0x1adda2,_0x263cc6,_0x10c92f[_0x2a3e61(0x2fe)](_0x2d4c23+_0x1435ab['startRow']+_0x2f1c3c,_0x263cc6));_0x1adda2++;});for(let _0x65bd32=_0x90dab6;_0x65bd32<=_0x2e7459;_0x65bd32++){const _0x51544e=_0x10c92f[_0x1bdf79(0x2fe)](_0x3d8a50,_0x65bd32);_0x23571f[_0x3d8a50]||(_0x23571f[_0x3d8a50]={}),_0x23571f[_0x3d8a50][_0x65bd32]={..._0x51544e,'s':_0xf86096};}let _0x1cfee3=0x1;const _0x2713af={},_0x1aa1e2={};_0x243d3e['forRow']((_0x30cec2,_0xe06dba)=>{const _0x49abfc=_0x1bdf79;_0xe06dba[_0x49abfc(0x3bb)](_0x3a01f6=>{const _0x4eabda=_0x49abfc,_0x248646=_0x243d3e['getValue'](_0x30cec2,_0x3a01f6);if(_0x23571f[_0x1cfee3]||(_0x23571f[_0x1cfee3]={}),_0x23571f[_0x1cfee3][_0x3a01f6]={..._0x248646,'s':_0x1cfee3%0x2===0x0?_0xa1a718:_0x4810db},_0x4d78a5[_0x3a01f6]&&_0x30cec2>=0x0){const _0x1b62a9=_0x1cfee3%0x2===0x0;let _0x2b0f08=_0x1b62a9?_0x1aa1e2[_0x3a01f6]:_0x2713af[_0x3a01f6];_0x2b0f08||(_0x2b0f08=_0x54025f['getStyles']()[_0x4eabda(0x3ad)]({..._0x1b62a9?_0x30e2d7:_0xa873b7,'n':{'pattern':_0x4d78a5[_0x3a01f6]}}),_0x1b62a9?_0x1aa1e2[_0x3a01f6]=_0x2b0f08:_0x2713af[_0x3a01f6]=_0x2b0f08),_0x23571f[_0x1cfee3][_0x3a01f6]['s']=_0x2b0f08;}}),_0x1cfee3++;});const _0x1503da=new _0x4f5d51[(_0x1bdf79(0x2cc))](_0x23571f),_0x2d9049={};_0x1503da[_0x1bdf79(0x38f)]((_0x1563f6,_0x510c94,_0x383464)=>{_0x2d9049[_0x1563f6]||(_0x2d9049[_0x1563f6]={}),_0x2d9049[_0x1563f6][_0x510c94]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3939d7=[],_0x96a85b=[],_0x28067b=_0x54025f[_0x1bdf79(0x3c8)]()[_0x1bdf79(0x425)],_0x2e6aa2=_0x4f5d51[_0x1bdf79(0x42c)]({'rowCount':Math[_0x1bdf79(0x498)](_0x4f5d51[_0x1bdf79(0x491)],_0x18a000+0xa),'columnCount':Math[_0x1bdf79(0x498)](_0x4f5d51[_0x1bdf79(0x3f4)],_0x580b1a+0x5)}),_0x11ade7=_0x44273d[_0x1bdf79(0x34c)](_0x4f5d51[_0x1bdf79(0x3ea)]);_0x2e6aa2['id']=_0x4f5d51[_0x1bdf79(0x1fc)](),_0x2e6aa2['name']=_0x54025f[_0x1bdf79(0x2a2)](''+_0x11ade7['t'](_0x1bdf79(0x2eb)));const _0x3163be={'index':_0x28067b,'sheet':_0x2e6aa2,'unitId':_0x3f2d44},_0x3f63e8=_0x55067d[_0x1bdf79(0x31f)](_0x44273d,_0x3163be);_0x96a85b[_0x1bdf79(0x2b0)]({'id':_0x55067d['InsertSheetMutation']['id'],'params':_0x3163be}),_0x3939d7[_0x1bdf79(0x2b0)]({'id':_0x55067d[_0x1bdf79(0x1c0)]['id'],'params':_0x3f63e8}),_0x96a85b['push']({'id':_0x55067d[_0x1bdf79(0x367)]['id'],'params':{'unitId':_0x3f2d44,'subUnitId':_0x2e6aa2['id'],'cellValue':_0x23571f}}),_0x3939d7[_0x1bdf79(0x18e)]({'id':_0x55067d[_0x1bdf79(0x367)]['id'],'params':{'unitId':_0x3f2d44,'subUnitId':_0x2e6aa2['id'],'cellValue':_0x2d9049}});const _0x255164={'startRow':0x0,'startColumn':0x0,'endRow':_0x1cfee3-0x1,'endColumn':_0x2e7459};_0x96a85b[_0x1bdf79(0x2b0)]({'id':_0x32dd55[_0x1bdf79(0x192)]['id'],'params':{'unitId':_0x3f2d44,'subUnitId':_0x2e6aa2['id'],'range':_0x255164}}),_0x3939d7[_0x1bdf79(0x18e)]({'id':_0x32dd55[_0x1bdf79(0x2c8)]['id'],'params':{'unitId':_0x3f2d44,'subUnitId':_0x2e6aa2['id']}});const _0x58baaf=_0x44273d[_0x1bdf79(0x34c)](_0x4f5d51[_0x1bdf79(0x4a4)]);return _0x4f5d51[_0x1bdf79(0x218)](_0x96a85b,_0x58baaf)&&_0x44273d['get'](_0x4f5d51[_0x1bdf79(0x418)])[_0x1bdf79(0x37d)]({'unitID':_0x3f2d44,'undoMutations':_0x3939d7,'redoMutations':_0x96a85b}),!0x0;}},_0x8204b2={'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x396),async 'handler'(_0x5b4ac4,_0x523123){const _0xa26df6=_0x4d3dd6;if(!_0x523123)return!0x1;const _0x52d389=_0x5b4ac4[_0xa26df6(0x34c)](_0x4f5d51[_0xa26df6(0x4a4)]),_0x19ca13=_0x5b4ac4[_0xa26df6(0x34c)](_0xc194b8[_0xa26df6(0x183)]),_0x7fdfe7=_0x5b4ac4['get'](_0x4f5d51['IUndoRedoService']),{pivotTableId:_0x30cc4e,fieldIds:_0x56b2ec,unitId:_0x32c640,subUnitId:_0x15dbc8}=_0x523123,_0x4864c1=(await _0x19ca13[_0xa26df6(0x33e)]({'unitId':_0x32c640,'subUnitId':_0x15dbc8,'pivotTableId':_0x30cc4e,'params':{'type':_0x2fe1bc[_0xa26df6(0x20f)],'removePivotField':{'fieldIds':_0x56b2ec}}}))['result'][_0xa26df6(0x3b4)];if(!_0x4864c1)return!0x1;const {view:_0xc9e60f,changesets:_0x43f4b9,isEmpty:_0x42d9fb,pivotTableConfig:_0x2d897b}=_0x4864c1,_0x230233=_0x2d897b[_0xa26df6(0x3dd)],_0x9e5e76=new _0x1dcf85['PivotView']();_0x9e5e76[_0xa26df6(0x433)](_0xc9e60f);const _0x5505d6={'cellInfo':_0x230233,'view':_0x9e5e76,'isEmpty':_0x42d9fb};if(!await _0x5b4ac4['get'](_0xc194b8['SheetsPivotTableService'])['asyncInterceptor'][_0xa26df6(0x2c7)](_0x250960)(!0x0,_0x5505d6))return!0x1;const _0x2c0f60=_0x15adda(_0x5b4ac4,_0x9e5e76,_0x230233,_0x42d9fb),_0x2f62f4=_0x2403dd(_0x5b4ac4,_0x5505d6),{redos:_0x4296a6,undos:_0xbb3ad8}=_0x42b781(_0x52d389,{'pivotTableId':_0x30cc4e,'unitId':_0x32c640,'subUnitId':_0x15dbc8},_0x43f4b9);return _0x4f5d51[_0xa26df6(0x218)]([..._0x2c0f60[_0xa26df6(0x234)],..._0x2f62f4[_0xa26df6(0x234)],..._0x4296a6],_0x52d389),_0x7fdfe7['pushUndoRedo']({'unitID':_0x32c640,'redoMutations':[..._0x2c0f60[_0xa26df6(0x234)],..._0x2f62f4[_0xa26df6(0x234)],..._0x4296a6],'undoMutations':[..._0x2c0f60[_0xa26df6(0x2d2)],..._0x2f62f4[_0xa26df6(0x2d2)],..._0xbb3ad8]}),!0x0;}},_0x457d7c={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x1a6),async 'handler'(_0x432b9a,_0x122c6c){const _0x225928=_0x4d3dd6;var _0x22c4cc;const _0x3aa25e=_0x432b9a[_0x225928(0x34c)](_0x4f5d51[_0x225928(0x4a4)]),_0x878c90=_0x432b9a[_0x225928(0x34c)](_0xc194b8['SheetsPivotRPCService']),_0x4e038d=_0x432b9a[_0x225928(0x34c)](_0xc194b8['SheetsPivotTableAdaptorModel']),_0x3a70d8=_0x432b9a[_0x225928(0x34c)](_0x4f5d51['IUniverInstanceService']),_0x4f6ad1=_0x432b9a[_0x225928(0x34c)](_0x4f5d51[_0x225928(0x418)]);if(!_0x122c6c)return!0x1;const {unitId:_0x167a23,subUnitId:_0x13195f,row:_0x1c7970,col:_0x1112ad,collapse:_0x138dc2}=_0x122c6c,_0x564cc0=_0x3a70d8[_0x225928(0x242)](_0x167a23);if(!_0x564cc0||!_0x564cc0['getSheetBySheetId'](_0x13195f))return!0x1;const _0x4b8c3b=_0x4e038d[_0x225928(0x407)](_0x167a23,_0x13195f,_0x1c7970,_0x1112ad);if(!_0x4b8c3b)return!0x1;const _0x209aae=_0x4e038d[_0x225928(0x45c)](_0x167a23,_0x13195f,_0x4b8c3b);if(!_0x209aae)return!0x1;const _0x3c1f37=_0x4f5d51[_0x225928(0x395)](_0x1c7970,_0x1112ad),{rangesInfo:_0x6044a0,areaInfo:_0x8ef72c,headerMap:_0x41f03f}=_0x209aae;if(!_0x6044a0||!_0x8ef72c||!_0x41f03f)return!0x1;const _0x3d5e83=Object[_0x225928(0x350)](_0x6044a0)[_0x225928(0x28e)](_0x4c2e9d=>_0x6044a0[_0x4c2e9d]['some'](_0x1dc20e=>_0x4f5d51[_0x225928(0x38c)][_0x225928(0x1ec)](_0x1dc20e,_0x3c1f37)));let _0x3e9e36;_0x3d5e83===_0x225928(0x2ca)?_0x3e9e36=_0x41f03f[_0x225928(0x442)][_0x1112ad]:_0x3d5e83===_0x225928(0x267)&&(_0x3e9e36=_0x41f03f[_0x225928(0x1eb)][_0x1c7970]);const _0x3b72d0=_0x3e9e36==null?void 0x0:_0x3e9e36[_0x225928(0x422)],_0x152008=(_0x22c4cc=_0x4e038d['getPivotTableCellData'](_0x167a23,_0x13195f,_0x1c7970,_0x1112ad))==null?void 0x0:_0x22c4cc['v'];if(_0x152008==null||!_0x4b8c3b||!_0x3b72d0)return!0x1;const _0x340e16=await _0x878c90[_0x225928(0x33e)]({'unitId':_0x167a23,'subUnitId':_0x13195f,'pivotTableId':_0x4b8c3b,'params':{'type':_0x2fe1bc[_0x225928(0x31b)],'setPivotCollapse':{'tableFieldId':_0x3b72d0,'collapse':_0x138dc2,'item':_0x152008}}}),_0x392e32=_0x340e16==null?void 0x0:_0x340e16[_0x225928(0x2bb)]['setPivotCollapse'];if(!_0x392e32)return!0x1;const {view:_0x46d2b9,pivotTableConfig:_0x31ffd4,isEmpty:_0x55177b,changesets:_0x11ab1e}=_0x392e32,_0x4b93d7=new _0x1dcf85[(_0x225928(0x1c3))]();_0x4b93d7[_0x225928(0x433)](_0x46d2b9);const _0x5318ea=_0x31ffd4[_0x225928(0x3dd)],_0x1d31b4={'cellInfo':_0x5318ea,'view':_0x4b93d7,'isEmpty':_0x55177b};if(!await _0x432b9a[_0x225928(0x34c)](_0xc194b8['SheetsPivotTableService'])[_0x225928(0x22e)][_0x225928(0x2c7)](_0x250960)(!0x0,_0x1d31b4))return!0x1;const _0x3de589=_0x15adda(_0x432b9a,_0x4b93d7,_0x5318ea,_0x55177b),_0x1039f3=_0x2403dd(_0x432b9a,_0x1d31b4),{redos:_0x1406e8,undos:_0x180759}=_0x42b781(_0x3aa25e,{'pivotTableId':_0x4b8c3b,'unitId':_0x167a23,'subUnitId':_0x13195f},_0x11ab1e);return _0x4f5d51['sequenceExecute']([..._0x3de589[_0x225928(0x234)],..._0x1039f3[_0x225928(0x234)],..._0x1406e8],_0x3aa25e),_0x4f6ad1['pushUndoRedo']({'unitID':_0x167a23,'redoMutations':[..._0x3de589[_0x225928(0x234)],..._0x1039f3[_0x225928(0x234)],..._0x1406e8],'undoMutations':[..._0x3de589[_0x225928(0x2d2)],..._0x1039f3[_0x225928(0x2d2)],..._0x180759]}),!0x0;}},_0x509731={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x41a),async 'handler'(_0x555628,_0x55cea2){const _0x1e09c1=_0x4d3dd6;if(!_0x55cea2)return!0x1;const _0x376c43=_0x555628[_0x1e09c1(0x34c)](_0x4f5d51[_0x1e09c1(0x4a4)]),{pivotTableId:_0x1d2593,tableFieldId:_0x530872,items:_0xd97ec9,unitId:_0xc9870b,subUnitId:_0x519a12,isAll:_0x23413a}=_0x55cea2,_0x5c4d3d=_0x555628[_0x1e09c1(0x34c)](_0xc194b8[_0x1e09c1(0x183)]),_0x16be1d=_0x555628[_0x1e09c1(0x34c)](_0x4f5d51[_0x1e09c1(0x418)]),_0x26e039=(await _0x5c4d3d[_0x1e09c1(0x33e)]({'unitId':_0xc9870b,'subUnitId':_0x519a12,'pivotTableId':_0x1d2593,'params':{'type':_0x2fe1bc[_0x1e09c1(0x1ad)],'setPivotFilter':{'tableFieldId':_0x530872,'items':_0xd97ec9,'isAll':_0x23413a}}}))[_0x1e09c1(0x2bb)]['setPivotFilter'];if(!_0x26e039)return!0x1;const {changesets:_0xfd8b0d,pivotTableConfig:_0x6bf535,isEmpty:_0x38063f,view:_0x194549}=_0x26e039,_0x434ef9=_0x6bf535[_0x1e09c1(0x3dd)],_0x630b83=new _0x1dcf85[(_0x1e09c1(0x1c3))]();_0x630b83['formJSON'](_0x194549);const _0x575365={'cellInfo':_0x434ef9,'view':_0x630b83,'isEmpty':_0x38063f};if(!await _0x555628[_0x1e09c1(0x34c)](_0xc194b8[_0x1e09c1(0x324)])['asyncInterceptor'][_0x1e09c1(0x2c7)](_0x250960)(!0x0,_0x575365))return!0x1;const _0x346c3b=_0x15adda(_0x555628,_0x630b83,_0x434ef9,_0x38063f),_0x1796e4=_0x2403dd(_0x555628,_0x575365),{undos:_0x2dd576,redos:_0x3b3298}=_0x42b781(_0x376c43,{'pivotTableId':_0x1d2593,'unitId':_0xc9870b,'subUnitId':_0x519a12},_0xfd8b0d);return _0x4f5d51[_0x1e09c1(0x218)]([..._0x346c3b[_0x1e09c1(0x234)],..._0x1796e4[_0x1e09c1(0x234)],..._0x3b3298],_0x376c43),_0x16be1d['pushUndoRedo']({'unitID':_0xc9870b,'redoMutations':[..._0x346c3b[_0x1e09c1(0x234)],..._0x1796e4['redos'],..._0x3b3298],'undoMutations':[..._0x346c3b[_0x1e09c1(0x2d2)],..._0x1796e4['undos'],..._0x2dd576]}),!0x0;}},_0x54a601={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x345),async 'handler'(_0x481a13,_0x481a17){const _0x2953bc=_0x4d3dd6;if(!_0x481a17)return!0x1;const _0x1479c1=_0x481a13['get'](_0x4f5d51[_0x2953bc(0x4a4)]),_0x511c43=_0x481a13[_0x2953bc(0x34c)](_0x4f5d51['IUndoRedoService']),_0xfad50e=_0x481a13['get'](_0xc194b8[_0x2953bc(0x183)]),{info:_0x32ec9e,tableFieldId:_0x22b91d,pivotTableId:_0x5b65a5,unitId:_0x16e504,subUnitId:_0x165b9d}=_0x481a17,_0x3163a6=(await _0xfad50e[_0x2953bc(0x33e)]({'unitId':_0x16e504,'subUnitId':_0x165b9d,'pivotTableId':_0x5b65a5,'params':{'type':_0x2fe1bc[_0x2953bc(0x1f2)],'setPivotSort':{'tableFieldId':_0x22b91d,'info':_0x32ec9e}}}))['result'][_0x2953bc(0x289)];if(!_0x3163a6)return!0x1;const {changesets:_0x2490ee}=_0x3163a6,{redos:_0x4ad8c1,undos:_0x2024f0}=_0x42b781(_0x1479c1,{'pivotTableId':_0x5b65a5,'unitId':_0x16e504,'subUnitId':_0x165b9d},_0x2490ee);return _0x4f5d51[_0x2953bc(0x218)](_0x4ad8c1,_0x1479c1),_0x511c43[_0x2953bc(0x37d)]({'unitID':_0x16e504,'redoMutations':_0x4ad8c1,'undoMutations':_0x2024f0}),!0x0;}},_0x31875d={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x17e),async 'handler'(_0x243d0b,_0x2fa917){const _0x4d6dab=_0x4d3dd6;if(!_0x2fa917)return!0x1;const _0x15fde2=_0x243d0b['get'](_0x4f5d51[_0x4d6dab(0x4a4)]),_0x99b29=_0x243d0b[_0x4d6dab(0x34c)](_0x4f5d51[_0x4d6dab(0x418)]),_0xb8a0e=_0x243d0b[_0x4d6dab(0x34c)](_0xc194b8[_0x4d6dab(0x183)]),{displayName:_0x5a6777,subtotalType:_0x1274d4,format:_0x420a18,tableFieldId:_0x2da692,pivotTableId:_0x22b2af,unitId:_0x329e37,subUnitId:_0xa302c9}=_0x2fa917,_0x3002c8=(await _0xb8a0e['getPivotDisplayConfig']({'unitId':_0x329e37,'subUnitId':_0xa302c9,'pivotTableId':_0x22b2af,'params':{'type':_0x2fe1bc[_0x4d6dab(0x269)],'setPivotSetting':{'tableFieldId':_0x2da692,'displayName':_0x5a6777,'subtotalType':_0x1274d4,'format':_0x420a18}}}))[_0x4d6dab(0x2bb)][_0x4d6dab(0x41b)];if(!_0x3002c8)return!0x1;const {changesets:_0x50a177,view:_0x295352,pivotTableConfig:_0x456405,isEmpty:_0x1bf78b}=_0x3002c8,_0x2d60df=_0x456405['targetCellInfo'],_0x18d112=new _0x1dcf85[(_0x4d6dab(0x1c3))]();_0x18d112[_0x4d6dab(0x433)](_0x295352);const _0x3a246d={'cellInfo':_0x2d60df,'view':_0x18d112,'isEmpty':_0x1bf78b};if(!await _0x243d0b[_0x4d6dab(0x34c)](_0xc194b8[_0x4d6dab(0x324)])[_0x4d6dab(0x22e)][_0x4d6dab(0x2c7)](_0x250960)(!0x0,_0x3a246d))return!0x1;const _0x1bfdc5=_0x15adda(_0x243d0b,_0x18d112,_0x2d60df,_0x1bf78b),_0x31d016=_0x2403dd(_0x243d0b,_0x3a246d),{undos:_0x4d9090,redos:_0x916827}=_0x42b781(_0x15fde2,{'pivotTableId':_0x22b2af,'unitId':_0x329e37,'subUnitId':_0xa302c9},_0x50a177);return _0x4f5d51['sequenceExecute']([..._0x1bfdc5['redos'],..._0x31d016[_0x4d6dab(0x234)],..._0x916827],_0x15fde2),_0x99b29[_0x4d6dab(0x37d)]({'unitID':_0x329e37,'redoMutations':[..._0x1bfdc5['redos'],..._0x31d016[_0x4d6dab(0x234)],..._0x916827],'undoMutations':[..._0x1bfdc5[_0x4d6dab(0x2d2)],..._0x31d016['undos'],..._0x4d9090]}),!0x0;}},_0x3d0092={'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x3e5),async 'handler'(_0x304b8c,_0x45c527){const _0x17ebfc=_0x4d3dd6,_0x4af5ae=_0x304b8c[_0x17ebfc(0x34c)](_0x4f5d51[_0x17ebfc(0x4a4)]),_0x2e5ac5=_0x304b8c['get'](_0xc194b8[_0x17ebfc(0x183)]),_0x3b07e0=_0x304b8c['get'](_0x4f5d51[_0x17ebfc(0x418)]);if(!_0x45c527)return!0x1;const {token:_0x2e1d7c,dataRangeInfo:_0x52d103,unitId:_0x1fbd54,subUnitId:_0x17f2c8}=_0x45c527,_0x46c78e=[],_0x49531c=[],_0x421392=(await _0x2e5ac5[_0x17ebfc(0x33e)]({'unitId':_0x1fbd54,'subUnitId':_0x17f2c8,'pivotTableId':_0x2e1d7c,'params':{'type':_0x2fe1bc[_0x17ebfc(0x213)],'updatePivotSource':{'dataRangeInfo':_0x52d103,'unitId':_0x1fbd54,'subUnitId':_0x17f2c8}}}))[_0x17ebfc(0x2bb)][_0x17ebfc(0x3f8)];if(!_0x421392)return!0x1;const {changesets:_0x4ef7c9,deleteIds:_0xaf78b6,collectionConfig:_0x28917c,oldCollectionConfig:_0x27a962,view:_0x209292,isEmpty:_0x47a651,pivotTableConfig:_0xed06a6}=_0x421392;_0x49531c[_0x17ebfc(0x2b0)]({'id':_0x83b693['id'],'params':{'pivotTableId':_0x2e1d7c,'deleteIds':_0xaf78b6,'collectionJSON':_0x28917c,'dataRangeInfo':_0x52d103,'unitId':_0x1fbd54,'subUnitId':_0x17f2c8}}),_0x46c78e[_0x17ebfc(0x18e)]({'id':_0x83b693['id'],'params':{'pivotTableId':_0x2e1d7c,'deleteIds':[],'collectionJSON':_0x27a962,'dataRangeInfo':_0xed06a6[_0x17ebfc(0x3f1)],'unitId':_0x1fbd54,'subUnitId':_0x17f2c8}});const _0x2ceb1d=_0xed06a6[_0x17ebfc(0x3dd)],_0x12a40a=new _0x1dcf85[(_0x17ebfc(0x1c3))]();_0x12a40a['formJSON'](_0x209292);const _0x488ce2={'cellInfo':_0x2ceb1d,'view':_0x12a40a,'isEmpty':_0x47a651};if(!await _0x304b8c['get'](_0xc194b8['SheetsPivotTableService'])[_0x17ebfc(0x22e)][_0x17ebfc(0x2c7)](_0x250960)(!0x0,_0x488ce2))return!0x1;const _0x12ba1f=_0x15adda(_0x304b8c,_0x12a40a,_0x2ceb1d,_0x47a651),_0x36754f=_0x2403dd(_0x304b8c,_0x488ce2),{undos:_0x55d2c4,redos:_0x29f9b9}=_0x42b781(_0x4af5ae,{'pivotTableId':_0x2e1d7c,'unitId':_0x1fbd54,'subUnitId':_0x17f2c8},_0x4ef7c9);return _0x4f5d51[_0x17ebfc(0x218)]([..._0x12ba1f[_0x17ebfc(0x234)],..._0x36754f[_0x17ebfc(0x234)],..._0x49531c,..._0x55d2c4],_0x4af5ae),_0x3b07e0['pushUndoRedo']({'unitID':_0x1fbd54,'redoMutations':[..._0x12ba1f[_0x17ebfc(0x234)],..._0x36754f['redos'],..._0x49531c,..._0x55d2c4],'undoMutations':[..._0x12ba1f[_0x17ebfc(0x2d2)],..._0x36754f[_0x17ebfc(0x2d2)],..._0x46c78e,..._0x29f9b9]}),!0x0;}},_0x2ce565={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x1dd9fb,_0x1120be){const _0x2135fb=_0x4d3dd6;if(!_0x1120be)return!0x1;const _0x1e662b=_0x1dd9fb['get'](_0x4f5d51[_0x2135fb(0x4a4)]),_0x254c7b=_0x1dd9fb[_0x2135fb(0x34c)](_0xc194b8['SheetsPivotRPCService']),_0x4fd06c=_0x1dd9fb[_0x2135fb(0x34c)](_0x4f5d51[_0x2135fb(0x343)]),_0x5b2778=_0x1dd9fb['get'](_0x4f5d51['IUndoRedoService']),{pivotTableId:_0x354b93,position:_0x3536c4,index:_0x4bf216}=_0x1120be,_0x55ddcb=_0x55067d[_0x2135fb(0x19f)](_0x4fd06c);if(!_0x55ddcb)return!0x1;const {unitId:_0x4e2f41,subUnitId:_0x357d3a}=_0x55ddcb,_0x3c98d8=(await _0x254c7b[_0x2135fb(0x33e)]({'unitId':_0x4e2f41,'subUnitId':_0x357d3a,'pivotTableId':_0x354b93,'params':{'type':_0x2fe1bc[_0x2135fb(0x408)],'updateValuePosition':{'position':_0x3536c4,'index':_0x4bf216}}}))[_0x2135fb(0x2bb)][_0x2135fb(0x3f6)];if(!_0x3c98d8)return!0x1;const {changesets:_0xb45275,view:_0x251c97,isEmpty:_0x1fdd88,pivotTableConfig:_0x2fb506}=_0x3c98d8,_0x2efa08=_0x2fb506[_0x2135fb(0x3dd)],_0x335cb5=new _0x1dcf85[(_0x2135fb(0x1c3))]();_0x335cb5[_0x2135fb(0x433)](_0x251c97);const _0x408fe2=_0x1dd9fb['get'](_0xc194b8[_0x2135fb(0x324)]),_0x12d26b={'cellInfo':_0x2efa08,'view':_0x335cb5,'isEmpty':_0x1fdd88};if(!await _0x408fe2[_0x2135fb(0x22e)][_0x2135fb(0x2c7)](_0x250960)(!0x0,_0x12d26b))return!0x1;const _0x3e10f2=_0x15adda(_0x1dd9fb,_0x335cb5,_0x2efa08,_0x1fdd88),_0x27b8c0=_0x2403dd(_0x1dd9fb,_0x12d26b),{undos:_0x2e6e5a,redos:_0x243772}=_0x42b781(_0x1e662b,{'pivotTableId':_0x354b93,'unitId':_0x4e2f41,'subUnitId':_0x357d3a},_0xb45275);return _0x4f5d51['sequenceExecute']([..._0x3e10f2['redos'],..._0x27b8c0[_0x2135fb(0x234)],..._0x243772],_0x1e662b),_0x5b2778['pushUndoRedo']({'unitID':_0x4e2f41,'redoMutations':[..._0x3e10f2[_0x2135fb(0x234)],..._0x27b8c0[_0x2135fb(0x234)],..._0x243772],'undoMutations':[..._0x3e10f2[_0x2135fb(0x2d2)],..._0x27b8c0[_0x2135fb(0x2d2)],..._0x2e6e5a]}),!0x0;}},_0x39afed={'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'id':'sheet.command.move-pivot-table','handler':(_0x30180c,_0x5db677)=>{const _0x5454b6=_0x4d3dd6,_0x184183=_0x30180c['get'](_0x4f5d51[_0x5454b6(0x4a4)]),_0x8b9ee3=_0x30180c[_0x5454b6(0x34c)](_0x4f5d51['IUndoRedoService']),_0x476bc1=_0x30180c[_0x5454b6(0x34c)](_0xc194b8[_0x5454b6(0x478)]),_0x3849ee=_0x30180c[_0x5454b6(0x34c)](_0x4f5d51[_0x5454b6(0x343)]);if(!_0x5db677)return!0x1;const _0x575499=_0x55067d[_0x5454b6(0x19f)](_0x3849ee);if(!_0x575499)return!0x1;const {unitId:_0x192778,subUnitId:_0x3a3317,workbook:_0x3b902a}=_0x575499,_0x34d70e=_0x476bc1[_0x5454b6(0x306)](_0x5db677['originTargetInfo'][_0x5454b6(0x256)],_0x5db677[_0x5454b6(0x1e9)]['subUnitId'],_0x5db677[_0x5454b6(0x3d1)]);if(!_0x34d70e)return!0x1;const _0x525c74=_0x3b902a[_0x5454b6(0x268)](_0x5db677[_0x5454b6(0x3dd)]['subUnitId']);if(!_0x525c74)throw new Error(_0x5454b6(0x38a));const _0x22cb88=_0x525c74[_0x5454b6(0x1e7)](),_0x29d250=_0x525c74[_0x5454b6(0x2b5)]();if(_0x5db677['targetCellInfo'][_0x5454b6(0x46e)]>_0x22cb88||_0x5db677[_0x5454b6(0x3dd)][_0x5454b6(0x283)]>_0x29d250)throw new Error(_0x5454b6(0x360));const _0x5e8f0f=[{'id':_0x3ac2e1['id'],'params':{'unitId':_0x192778,'subUnitId':_0x5db677['targetCellInfo'][_0x5454b6(0x48c)],'pivotTableId':_0x5db677[_0x5454b6(0x3d1)],'targetCellPosition':{'row':_0x5db677[_0x5454b6(0x3dd)]['row'],'col':_0x5db677[_0x5454b6(0x3dd)][_0x5454b6(0x283)]}}}],_0x4798b6=[{'id':_0x3ac2e1['id'],'params':{'unitId':_0x192778,'subUnitId':_0x3a3317,'pivotTableId':_0x5db677['pivotTableId'],'targetCellPosition':{'row':_0x34d70e['targetCellInfo'][_0x5454b6(0x46e)],'col':_0x34d70e['targetCellInfo'][_0x5454b6(0x283)]}}}];return _0x4f5d51[_0x5454b6(0x218)](_0x5e8f0f,_0x184183)&&_0x8b9ee3[_0x5454b6(0x37d)]({'unitID':_0x192778,'undoMutations':_0x4798b6,'redoMutations':_0x5e8f0f}),!0x0;}},_0x1543e7={'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x223),async 'handler'(_0x31365c,_0x4a9dd6){const _0x3047bc=_0x4d3dd6;if(!_0x4a9dd6)return!0x1;const _0x3cee56=_0x31365c[_0x3047bc(0x34c)](_0x4f5d51['ICommandService']),{pivotTableId:_0x4b15e4,fieldId:_0x110d4f,valueFilterInfo:_0x45016e,unitId:_0x59b622,subUnitId:_0x39be4e}=_0x4a9dd6,_0x4b328b=_0x31365c[_0x3047bc(0x34c)](_0xc194b8['SheetsPivotRPCService']),_0x178864=_0x31365c[_0x3047bc(0x34c)](_0x4f5d51[_0x3047bc(0x418)]),_0x5a2aae=(await _0x4b328b[_0x3047bc(0x33e)]({'unitId':_0x59b622,'subUnitId':_0x39be4e,'pivotTableId':_0x4b15e4,'params':{'type':_0x2fe1bc[_0x3047bc(0x2a1)],'setValuePivotFilter':{'tableFieldId':_0x110d4f,'filterInfo':_0x45016e}}}))[_0x3047bc(0x2bb)][_0x3047bc(0x35e)];if(!_0x5a2aae)return!0x1;const {changesets:_0x5bd7b6,pivotTableConfig:_0x3da8fa,isEmpty:_0x3a90b9,view:_0x18619f}=_0x5a2aae,_0x3d4b2f=_0x3da8fa[_0x3047bc(0x3dd)],_0x1f4f1c=new _0x1dcf85[(_0x3047bc(0x1c3))]();_0x1f4f1c['formJSON'](_0x18619f);const _0x29f052={'cellInfo':_0x3d4b2f,'view':_0x1f4f1c,'isEmpty':_0x3a90b9};if(!await _0x31365c[_0x3047bc(0x34c)](_0xc194b8['SheetsPivotTableService'])['asyncInterceptor'][_0x3047bc(0x2c7)](_0x250960)(!0x0,_0x29f052))return!0x1;const _0x374b58=_0x15adda(_0x31365c,_0x1f4f1c,_0x3d4b2f,_0x3a90b9),_0x4d6563=_0x2403dd(_0x31365c,_0x29f052),{undos:_0x10ff63,redos:_0x1c1954}=_0x42b781(_0x3cee56,{'pivotTableId':_0x4b15e4,'unitId':_0x59b622,'subUnitId':_0x39be4e},_0x5bd7b6);return _0x4f5d51[_0x3047bc(0x218)]([..._0x374b58['redos'],..._0x4d6563[_0x3047bc(0x234)],..._0x1c1954],_0x3cee56),_0x178864[_0x3047bc(0x37d)]({'unitID':_0x59b622,'redoMutations':[..._0x374b58[_0x3047bc(0x234)],..._0x4d6563[_0x3047bc(0x234)],..._0x1c1954],'undoMutations':[..._0x374b58[_0x3047bc(0x2d2)],..._0x4d6563[_0x3047bc(0x2d2)],..._0x10ff63]}),!0x0;}},_0x5bcf14={'type':_0x4f5d51['CommandType'][_0x4d3dd6(0x319)],'id':_0x4d3dd6(0x493),async 'handler'(_0x36a5bf,_0x35adac){const _0x1f9a3d=_0x4d3dd6;if(!_0x35adac)return!0x1;const _0x5e05f3=_0x36a5bf[_0x1f9a3d(0x34c)](_0x4f5d51[_0x1f9a3d(0x4a4)]),_0x1d0920=_0x36a5bf[_0x1f9a3d(0x34c)](_0x4f5d51[_0x1f9a3d(0x418)]),_0x38a4b4=_0x36a5bf[_0x1f9a3d(0x34c)](_0xc194b8['SheetsPivotRPCService']),{pivotTableConfig:_0x426fd2,pivotTableId:_0x380e20,unitId:_0x3ef274,subUnitId:_0xd07771}=_0x35adac,_0x36a2c9=(await _0x38a4b4[_0x1f9a3d(0x33e)]({'unitId':_0x3ef274,'subUnitId':_0xd07771,'pivotTableId':_0x380e20,'params':{'type':_0x2fe1bc[_0x1f9a3d(0x3f5)],'setPivotTableConfig':{'pivotTableId':_0x380e20,'pivotTableConfig':_0x426fd2}}}))['result'][_0x1f9a3d(0x3e2)];if(!_0x36a2c9)return!0x1;const {changesets:_0x11c4b1}=_0x36a2c9,{redos:_0x1c8ccf,undos:_0xb9ab40}=_0x42b781(_0x5e05f3,{'pivotTableId':_0x380e20,'unitId':_0x3ef274,'subUnitId':_0xd07771},_0x11c4b1);return _0x4f5d51[_0x1f9a3d(0x218)](_0x1c8ccf,_0x5e05f3),_0x1d0920['pushUndoRedo']({'unitID':_0x3ef274,'redoMutations':_0x1c8ccf,'undoMutations':_0xb9ab40}),!0x0;}},_0x3877bb={'type':_0x4f5d51[_0x4d3dd6(0x468)]['COMMAND'],'id':_0x4d3dd6(0x298),async 'handler'(_0x2afc0c,_0x805487){const _0x2f79a8=_0x4d3dd6;if(!_0x805487)return!0x1;const _0x1b3d1b=_0x2afc0c['get'](_0x4f5d51[_0x2f79a8(0x4a4)]),_0x3ca13d=_0x2afc0c['get'](_0x4f5d51['IUndoRedoService']),_0x47a05e=_0x2afc0c['get'](_0xc194b8['SheetsPivotRPCService']),{resetArea:_0x47a3d5,pivotTableId:_0x4500f5,unitId:_0x43df04,subUnitId:_0x3caff3}=_0x805487,_0x2a0ff3=(await _0x47a05e[_0x2f79a8(0x33e)]({'unitId':_0x43df04,'subUnitId':_0x3caff3,'pivotTableId':_0x4500f5,'params':{'type':_0x2fe1bc[_0x2f79a8(0x295)],'resetPivotTable':{'pivotTableId':_0x4500f5,'resetArea':_0x47a3d5}}}))[_0x2f79a8(0x2bb)][_0x2f79a8(0x28d)];if(!_0x2a0ff3)return!0x1;const {changesets:_0x1d523e}=_0x2a0ff3,{redos:_0x1ef0b3,undos:_0x1bc41f}=_0x42b781(_0x1b3d1b,{'pivotTableId':_0x4500f5,'unitId':_0x43df04,'subUnitId':_0x3caff3},_0x1d523e);return _0x4f5d51[_0x2f79a8(0x218)](_0x1ef0b3,_0x1b3d1b),_0x3ca13d['pushUndoRedo']({'unitID':_0x43df04,'redoMutations':_0x1ef0b3,'undoMutations':_0x1bc41f}),!0x0;}},_0x258ede={'id':_0x4d3dd6(0x24b),'type':_0x4f5d51[_0x4d3dd6(0x468)]['MUTATION'],'handler':(_0x1b4df0,_0x142709)=>{const _0x4dcc39=_0x4d3dd6;if(!_0x142709)return!0x1;if(!!_0x1b4df0[_0x4dcc39(0x34c)](_0x4f5d51[_0x4dcc39(0x189)])[_0x4dcc39(0x1e4)](_0x57486b))return!0x0;const {unitId:_0x408dae,subUnitId:_0x557bb2,pivotTableId:_0x50e758,tableFieldId:_0x1cbeea,dateType:_0xe0743e}=_0x142709,_0x55db00=_0x1b4df0[_0x4dcc39(0x34c)](_0xc194b8[_0x4dcc39(0x334)]),_0x20ef67=_0x55db00[_0x4dcc39(0x459)](_0x50e758);if(!_0x20ef67)return!0x1;const _0x12a0dc=_0x20ef67['getDataFieldByTableId'](_0x1cbeea);if(!_0x12a0dc)return!0x1;const _0x5d585a=_0x12a0dc[_0x4dcc39(0x485)](),_0x169c4f=_0x20ef67['getDataFieldByDataFieldId'](_0x5d585a),_0x3cd042=(_0x169c4f==null?void 0x0:_0x169c4f['getName']())+'\x20'+_0x522708(_0x1b4df0,_0xe0743e);_0x55db00[_0x4dcc39(0x2a4)](_0x408dae,_0x50e758)['setDisplayName'](_0x12a0dc['id'],_0x3cd042);const _0x3d7956=_0x20ef67[_0x4dcc39(0x1d3)](_0x1cbeea);if(!_0x3d7956)return!0x1;_0x20ef67['renameField'](_0x3d7956[_0x4dcc39(0x339)](),_0x3cd042),_0x12a0dc[_0x4dcc39(0x429)](_0xe0743e);const _0x20c6a2=_0x55db00['getPivotTableConfig'](_0x408dae,_0x557bb2,_0x50e758);return _0x55db00[_0x4dcc39(0x430)]({'unitId':_0x408dae,'subUnitId':_0x557bb2,'token':_0x50e758,'type':_0x50514a[_0x4dcc39(0x1cc)],'pivotConfig':_0x20c6a2}),!0x0;}},_0x519a75={'id':_0x4d3dd6(0x480),'type':_0x4f5d51[_0x4d3dd6(0x468)][_0x4d3dd6(0x319)],'handler':(_0x36287a,_0x2be835)=>{const _0x339855=_0x4d3dd6;if(!_0x2be835)return!0x1;const _0x48bbb5=_0x36287a[_0x339855(0x34c)](_0x4f5d51['IUndoRedoService']),{unitId:_0x27d7e5,subUnitId:_0x5211f5,pivotTableId:_0x6c6654,tableFieldId:_0x3dca10}=_0x2be835,_0x5c7d26=[],_0x2b67f4=[],_0x5492a8=_0x36287a[_0x339855(0x34c)](_0xc194b8['SheetsPivotTableConfigModel']),_0x325503=_0x5492a8[_0x339855(0x2a4)](_0x27d7e5,_0x6c6654),_0x3d9e17=_0x5492a8[_0x339855(0x306)](_0x27d7e5,_0x5211f5,_0x6c6654);if(!(_0x3d9e17!=null&&_0x3d9e17[_0x339855(0x37c)]['dimension']))return!0x1;const _0xca3762=Object[_0x339855(0x239)](_0x3d9e17[_0x339855(0x37c)]['dimension'])[_0x339855(0x28e)](_0x50ecfa=>_0x50ecfa['id']===_0x3dca10);if(!_0xca3762)return!0x1;const _0x24972e=_0xca3762['dataFieldId'];if(!(_0x325503!=null&&_0x325503[_0x339855(0x40a)]))return!0x1;const _0xe267d6=Object[_0x339855(0x239)](_0x325503==null?void 0x0:_0x325503[_0x339855(0x40a)])['find'](_0x2e30ef=>_0x2e30ef['id']===_0x24972e);if(!_0xe267d6)return!0x1;_0x1dcf85['isDateGroupFieldJSON'](_0xe267d6)&&_0x5c7d26[_0x339855(0x2b0)]({'id':_0x258ede['id'],'params':{..._0x2be835,'dateType':_0xe267d6[_0x339855(0x29f)]}}),_0x2b67f4[_0x339855(0x2b0)]({'id':_0x258ede['id'],'params':{..._0x2be835}});const _0x35501a=_0x36287a['get'](_0x4f5d51[_0x339855(0x4a4)]);return _0x4f5d51[_0x339855(0x218)](_0x2b67f4,_0x35501a)&&_0x48bbb5['pushUndoRedo']({'unitID':_0x27d7e5,'undoMutations':_0x5c7d26,'redoMutations':_0x2b67f4}),!0x0;}};var _0x44ae8d=Object[_0x4d3dd6(0x20b)],_0x130818=(_0x28f481,_0x168cd8,_0xba201f,_0x16d622)=>{const _0x4e4db9=_0x4d3dd6;for(var _0x12ac33=_0x16d622>0x1?void 0x0:_0x16d622?_0x44ae8d(_0x168cd8,_0xba201f):_0x168cd8,_0x8379d1=_0x28f481[_0x4e4db9(0x425)]-0x1,_0x381973;_0x8379d1>=0x0;_0x8379d1--)(_0x381973=_0x28f481[_0x8379d1])&&(_0x12ac33=_0x381973(_0x12ac33)||_0x12ac33);return _0x12ac33;},_0x5390f0=(_0x496ec4,_0xde105b)=>(_0x1cc724,_0x1a8774)=>_0xde105b(_0x1cc724,_0x1a8774,_0x496ec4);const _0x430a21=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x13a082=(_0x2eeeb4,_0x2b4924,_0x45e8e4)=>{const _0x33760b=_0x4d3dd6,_0x324612=_0x2eeeb4[_0x33760b(0x3e8)];_0x2eeeb4[_0x33760b(0x486)](_0x335df6=>{const _0x3aa6e1=_0x33760b,_0x2126a2=_0x335df6[_0x3aa6e1(0x339)](),_0x8a9cea=_0x335df6[_0x3aa6e1(0x206)](),_0x42a839=_0x335df6['getSourceName'](),_0x3eb07b=_0x335df6[_0x3aa6e1(0x3ab)]();_0x2b4924[_0x8a9cea]&&_0x2b4924[_0x8a9cea]===_0x3eb07b&&_0x42a839===_0x3eb07b&&(_0x2eeeb4[_0x3aa6e1(0x2e6)](_0x2126a2,_0x324612[_0x3aa6e1(0x3ab)](_0x8a9cea)),_0x335df6['setSourceName'](_0x324612[_0x3aa6e1(0x3ab)](_0x8a9cea)));}),_0x2eeeb4[_0x33760b(0x340)](_0x1dcf85[_0x33760b(0x1be)][_0x33760b(0x294)],_0x227269=>{const _0x113715=_0x33760b,_0x25a996=_0x227269[_0x113715(0x339)](),_0x4f7cf2=_0x227269[_0x113715(0x206)](),_0x26cecb=_0x227269['getSourceName'](),_0x3c2533=_0x227269[_0x113715(0x3ab)](),_0x169e28=_0x227269[_0x113715(0x3c0)](),_0x49a98d=_0x45e8e4(_0x26cecb,_0x169e28);_0x2b4924[_0x4f7cf2]&&_0x2b4924[_0x4f7cf2]===_0x26cecb&&_0x49a98d===_0x3c2533&&(_0x2eeeb4[_0x113715(0x2e6)](_0x25a996,_0x45e8e4(_0x324612[_0x113715(0x3ab)](_0x4f7cf2),_0x169e28)),_0x227269[_0x113715(0x450)](_0x324612['getDisplayName'](_0x4f7cf2)));});},_0x32d555=(_0x2d2d26,_0x2e00e4,_0x5434a4)=>{const _0x4974d1=_0x4d3dd6;var _0x1b11b1,_0x188b0f;const {arrayFormulaCellData:_0x330ebc,unitData:_0x303dc1}=_0x2e00e4,{unitId:_0x37fbb1,subUnitId:_0x3c97b6}=_0x5434a4,_0x24698e=_0x5434a4[_0x4974d1(0x472)],{startColumn:_0x4bb8b7,endColumn:_0x5dba17}=_0x24698e,_0x2e25c9=(_0x1b11b1=_0x330ebc==null?void 0x0:_0x330ebc[_0x37fbb1])==null?void 0x0:_0x1b11b1[_0x3c97b6],_0x303cba=(_0x188b0f=_0x303dc1==null?void 0x0:_0x303dc1[_0x37fbb1])==null?void 0x0:_0x188b0f[_0x3c97b6],_0x3410d5=new Set(),_0x3396ce=_0x5dba17-_0x4bb8b7+0x1,{dirtyRanges:_0x22b807}=_0x2d2d26;if(_0x22b807)for(const {range:_0x23356c,sheetId:_0x3d0ff9,unitId:_0x3ed0d4}of _0x22b807){if(_0x3d0ff9!==_0x3c97b6||_0x37fbb1!==_0x3ed0d4)continue;const _0x263a98=_0x4f5d51[_0x4974d1(0x38c)][_0x4974d1(0x353)](_0x23356c,_0x24698e);if(_0x263a98){const {startColumn:_0x144c7d,endColumn:_0x5a21f7}=_0x263a98;for(let _0x17023e=_0x144c7d;_0x17023e<=_0x5a21f7;_0x17023e++)_0x3410d5[_0x4974d1(0x205)](_0x17023e);}}if(_0x3410d5[_0x4974d1(0x40d)]===_0x3396ce||_0x3410d5['size']===_0x3396ce)return Array[_0x4974d1(0x27a)](_0x3410d5);if(_0x303cba){const _0x4ad2b4=_0x303cba['getMatrix'](),_0x2b926b=Object[_0x4974d1(0x350)](_0x4ad2b4);for(const _0x2e9502 of _0x2b926b){const _0x2a9131=Number(_0x2e9502),_0x46d60f=_0x4ad2b4[_0x2a9131];if(_0x3410d5[_0x4974d1(0x40d)]===_0x3396ce)break;for(const _0x268b44 in _0x46d60f){const _0x59c6d9=Number(_0x268b44);_0x59c6d9<_0x4bb8b7||_0x59c6d9>_0x5dba17||_0x3410d5[_0x4974d1(0x205)](_0x59c6d9);}}}if(_0x2e25c9){const _0x5b79d8=_0x2e25c9[_0x4974d1(0x1a0)](),_0x1e4ae0=Object[_0x4974d1(0x350)](_0x5b79d8);for(const _0x54ab40 of _0x1e4ae0){const _0x2cd92a=Number(_0x54ab40),_0x342961=_0x5b79d8[_0x2cd92a];if(_0x3410d5[_0x4974d1(0x40d)]===_0x3396ce)break;for(const _0x2eadf0 in _0x342961){const _0x330ce5=Number(_0x2eadf0);_0x330ce5<_0x4bb8b7||_0x330ce5>_0x5dba17||_0x3410d5[_0x4974d1(0x205)](_0x330ce5);}}}return Array[_0x4974d1(0x27a)](_0x3410d5);},_0x358414=_0x3c05b2=>{const _0x1965dd=_0x4d3dd6,_0x25bd17=new Set(),_0x37fa6e=[];for(const _0x21e4a4 of _0x3c05b2){const _0x8c1018=_0x21e4a4[_0x1965dd(0x275)]+','+_0x21e4a4[_0x1965dd(0x460)]+','+_0x21e4a4[_0x1965dd(0x441)]+','+_0x21e4a4[_0x1965dd(0x2fb)];_0x25bd17[_0x1965dd(0x285)](_0x8c1018)||(_0x25bd17[_0x1965dd(0x205)](_0x8c1018),_0x37fa6e[_0x1965dd(0x2b0)](_0x21e4a4));}return _0x37fa6e;};let _0x3da052=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x2ecaf1,_0x3d0b19,_0x2c50fa,_0x495044,_0x4d1d91,_0x5e14dd){const _0x633ae9=_0x4d3dd6;super(),_0x8a8b01(this,_0x633ae9(0x440),new _0x8145ab[(_0x633ae9(0x476))](!0x0)),_0x8a8b01(this,_0x633ae9(0x1f7),_0x230171=>{const _0x34b3bf=_0x633ae9;this['_globalSubject'][_0x34b3bf(0x483)](!0x1);}),_0x8a8b01(this,_0x633ae9(0x24d),_0x5b4e83=>{const _0x314b43=_0x633ae9;this['_globalSubject'][_0x314b43(0x483)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2ecaf1,this[_0x633ae9(0x19a)]=_0x3d0b19,this[_0x633ae9(0x291)]=_0x2c50fa,this['_commandService']=_0x495044,this['_globalComputingSrv']=_0x4d1d91,this[_0x633ae9(0x21f)]=_0x5e14dd,this['_init'](),this[_0x633ae9(0x414)]());}['_init'](){const _0x55dedb=_0x4d3dd6;this['_subjectCollectionChange'](),this[_0x55dedb(0x224)](),this[_0x55dedb(0x1b0)](),this[_0x55dedb(0x229)]();}[_0x4d3dd6(0x3e6)](){const _0x5f1ddb=_0x4d3dd6;this[_0x5f1ddb(0x3f2)][_0x5f1ddb(0x348)](this[_0x5f1ddb(0x440)]),_0x1dcf85[_0x5f1ddb(0x347)]['registerCallbackWithEvent'](_0x1dcf85[_0x5f1ddb(0x29e)][_0x5f1ddb(0x290)],this[_0x5f1ddb(0x1f7)]),_0x1dcf85[_0x5f1ddb(0x347)]['registerCallbackWithEvent'](_0x1dcf85[_0x5f1ddb(0x29e)][_0x5f1ddb(0x18c)],this[_0x5f1ddb(0x24d)]);}[_0x4d3dd6(0x414)](){const _0x1f3e92=_0x4d3dd6;this[_0x1f3e92(0x332)](this[_0x1f3e92(0x1fa)][_0x1f3e92(0x413)](_0x5d300e=>{const _0x344595=_0x1f3e92;_0x5d300e['id']===_0x55067d[_0x344595(0x184)]['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x5d300e['params']);})),this['disposeWithMe'](this['_commandService'][_0x1f3e92(0x413)](_0x779e8d=>{const _0x1cc489=_0x1f3e92;if(_0x779e8d['id']!==_0x15f1cc['id'])return;const _0x5ad064=_0x779e8d[_0x1cc489(0x4a2)],{unitId:_0x2b085b,subUnitId:_0x2ba1af,pivotTableId:_0x439466}=_0x5ad064,_0x56a044=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x309)],_0x4ece38={};switch(_0x56a044){case _0x2fe1bc['Filter']:{const _0x22532c=_0x5ad064['params'][_0x1cc489(0x479)];if(!_0x22532c)return;const {row:_0x20d7ed,col:_0x1b655c,cellData:_0x1f43ab,pivotItemRenderInfoCache:_0x5253b7,tableFieldId:_0x703870}=_0x22532c,_0x17c749=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x5ad064['pivotTableId']);if(!_0x17c749||!_0x5253b7)return;if(_0x703870){const _0x3ecccd=_0x17c749[_0x1cc489(0x39e)](_0x703870);if(!_0x3ecccd)return;_0x4ece38['filter']={..._0x17c749[_0x1cc489(0x327)](_0x3ecccd),'tableFieldId':_0x703870,'pivotTableId':_0x5ad064['pivotTableId'],'filterInfo':_0x17c749[_0x1cc489(0x314)](_0x703870),'sortInfo':_0x17c749[_0x1cc489(0x1a4)](_0x703870),'format':_0x17c749[_0x1cc489(0x25c)](_0x703870)};}else{const _0x1ac3cb=_0x5a95c9(_0x20d7ed,_0x1b655c,_0x1f43ab,_0x17c749,_0x5253b7),_0x20a8ef=_0x1ac3cb==null?void 0x0:_0x1ac3cb[_0x1cc489(0x21d)];if(!_0x20a8ef)return;const _0x1c3f58=_0x17c749[_0x1cc489(0x39e)](_0x20a8ef);if(!_0x1c3f58)return;_0x4ece38[_0x1cc489(0x479)]={..._0x17c749[_0x1cc489(0x327)](_0x1c3f58),'tableFieldId':_0x20a8ef,'pivotTableId':_0x5ad064[_0x1cc489(0x3d1)],'filterInfo':_0x17c749[_0x1cc489(0x314)](_0x20a8ef),'sortInfo':_0x17c749['getSortInfo'](_0x20a8ef),'format':_0x17c749[_0x1cc489(0x25c)](_0x20a8ef)};}}break;case _0x2fe1bc['Panel']:{const _0x4148ba=_0x5ad064['params']['panel'];if(!_0x4148ba)return;const {pivotTableId:_0x142011}=_0x4148ba,_0x3e2956=this['_sheetsPivotDataSourceModel'][_0x1cc489(0x459)](_0x142011);if(!_0x3e2956)return;const _0x3d3a5c=this[_0x1cc489(0x49d)]['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x142011),_0x4d61bb=_0x1ac3c9(_0x3e2956,_0x142011,_0x3d3a5c);_0x4ece38[_0x1cc489(0x25f)]=_0x4d61bb;}break;case _0x2fe1bc[_0x1cc489(0x2c2)]:{const _0xcad091=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466),_0x45202d=this[_0x1cc489(0x49d)][_0x1cc489(0x49b)](_0x2b085b),_0x469bfa=_0x45202d[_0x1cc489(0x2a4)](_0x439466);let _0x227869=null;const _0x122f6c=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466),_0x30e4c7=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x3a4)];if(!_0xcad091||!_0x122f6c||!_0x30e4c7)return!0x1;const {dataFieldId:_0x2d0994,fieldArea:_0x1b6081,index:_0x4fc5cb}=_0x30e4c7;_0xcad091['startCollectChangeset']();const _0x1f9898=_0xcad091[_0x1cc489(0x492)](_0x2d0994,_0x1b6081,_0x4fc5cb);if(_0x1f9898&&_0x1b6081===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x294)]){const _0x83627b=_0x1f9898[_0x1cc489(0x339)](),_0x4b7e23=_0xcad091[_0x1cc489(0x39e)](_0x83627b);if(_0x4b7e23){const _0x2b629c=_0x4b7e23==null?void 0x0:_0x4b7e23[_0x1cc489(0x46c)]();_0xcad091[_0x1cc489(0x4a0)](_0x1f9898[_0x1cc489(0x339)](),_0x2b629c===_0x1dcf85['PivotDataFieldDataTypeEnum']['number']?_0x1dcf85[_0x1cc489(0x417)][_0x1cc489(0x331)]:_0x1dcf85[_0x1cc489(0x417)]['count']);}const _0x5e6ecb=_0xcad091[_0x1cc489(0x3c3)](),_0xb2477b=_0xcad091[_0x1cc489(0x22d)](),_0x515306=_0xcad091[_0x1cc489(0x32d)](_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x294)]);if(_0x5e6ecb===-0x1&&_0x515306>0x1){const _0x41a285=_0xb2477b===_0x1dcf85[_0x1cc489(0x33b)][_0x1cc489(0x1d0)]?_0x1dcf85['PivotTableValuePositionEnum'][_0x1cc489(0x1e3)]:_0xb2477b,_0x259c21=_0x41a285===_0x1dcf85[_0x1cc489(0x33b)][_0x1cc489(0x2c9)]?_0x1dcf85['PivotTableFiledAreaEnum']['Row']:_0x1dcf85['PivotTableFiledAreaEnum']['Column'];_0xcad091[_0x1cc489(0x3f6)](_0x41a285,_0xcad091[_0x1cc489(0x32d)](_0x259c21));}}else{if(_0x1f9898&&(_0x1b6081===_0x1dcf85[_0x1cc489(0x1be)]['Row']||_0x1b6081===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x1e3)])){const _0x28f85c=_0x1f9898[_0x1cc489(0x339)](),_0x4d559b=_0xcad091[_0x1cc489(0x39e)](_0x28f85c);if(_0x4d559b&&(_0x4d559b==null?void 0x0:_0x4d559b[_0x1cc489(0x46c)]())===_0x1dcf85['PivotDataFieldDataTypeEnum'][_0x1cc489(0x3b1)]){const _0x3c7ee4=_0x4d559b[_0x1cc489(0x2ae)]();if(_0x3c7ee4&&_0xcad091[_0x1cc489(0x2ec)](_0x1f9898['getId'](),_0x3c7ee4),!_0x469bfa[_0x1cc489(0x2db)]()[_0x1cc489(0x3af)](_0x49316c=>{const _0x5c1906=_0x1cc489,_0xba175=_0x469bfa[_0x5c1906(0x355)](_0x49316c);return _0x1dcf85[_0x5c1906(0x20a)](_0xba175)?_0xba175[_0x5c1906(0x47b)]()[_0x5c1906(0x180)]===_0x2d0994:!0x1;})){const _0x49c5e0=_0x45202d[_0x1cc489(0x30c)](),_0x63978f=_0x40f054(_0x4d559b[_0x1cc489(0x238)],_0x4d559b['minDate']),_0x526f2f=_0x4d559b['getName']()+'\x20-\x20'+_0x522708(this[_0x1cc489(0x21f)],_0x63978f),_0x2393e1=new _0x1dcf85[(_0x1cc489(0x1b2))](_0x49c5e0,_0x526f2f,_0x1dcf85[_0x1cc489(0x195)](0x3),_0x4d559b[_0x1cc489(0x339)](),_0x63978f);_0x45202d[_0x1cc489(0x24c)](_0x2393e1),_0x469bfa[_0x1cc489(0x216)](_0x49c5e0,_0x526f2f),_0xcad091['addFieldWithSourceId'](_0x49c5e0,_0x1b6081,(_0x4fc5cb!=null?_0x4fc5cb:0x0)+0x1),_0x227869=_0x2393e1;}}}}const _0x40d3b3=_0xcad091[_0x1cc489(0x2a7)](),_0x1208c5=_0xcad091[_0x1cc489(0x2f3)]()['toJSON']();let _0x1bf830;if(_0x227869){_0x1bf830=_0x227869[_0x1cc489(0x378)]();const _0x25db74=_0x227869[_0x1cc489(0x339)]();_0x469bfa[_0x1cc489(0x22b)](_0x25db74);let _0x42017f=!0x0;for(const _0x223178 in _0x45202d['collections'])if(_0x45202d[_0x1cc489(0x41f)][_0x223178][_0x1cc489(0x2db)]()[_0x1cc489(0x2a0)](_0x25db74)){_0x42017f=!0x1;break;}_0x42017f&&_0x45202d['deleteDataField'](_0x25db74);}const _0x5c2791=_0xcad091['endCollectChangeset']();_0x4ece38[_0x1cc489(0x3a4)]={'view':_0x1208c5,'changesets':_0x5c2791,'isEmpty':_0x40d3b3,'pivotTableConfig':_0x122f6c,'shouldBeAddedGroupJSON':_0x1bf830};}break;case _0x2fe1bc[_0x1cc489(0x363)]:{const _0x5a730f=_0x5ad064['params'][_0x1cc489(0x27b)];if(!_0x5a730f)return;const _0x516596=_0x5a730f['sourceRangeInfo'],_0x188efe=_0x5a730f[_0x1cc489(0x3d1)],{collection:_0x3e19ba}=this[_0x1cc489(0x49d)]['createCollectionWithDataRange']({'unitId':_0x516596[_0x1cc489(0x256)],'sheetName':_0x516596[_0x1cc489(0x373)],'subUnitId':_0x516596[_0x1cc489(0x48c)],'range':_0x516596[_0x1cc489(0x472)]}),_0x284ec1=new _0x1dcf85['PivotTable'](_0x3e19ba,void 0x0,_0x188efe),_0x2014fe=_0x284ec1[_0x1cc489(0x2f3)](),_0x713f4f=_0x284ec1[_0x1cc489(0x378)](),_0xb057b0=_0x3e19ba[_0x1cc489(0x378)]();_0x4ece38[_0x1cc489(0x27b)]={'view':_0x2014fe,'fieldsConfig':_0x713f4f,'collectionConfig':_0xb057b0,'isEmpty':_0x284ec1[_0x1cc489(0x2a7)]()};}break;case _0x2fe1bc[_0x1cc489(0x2e3)]:{const _0x1b0685=_0x5ad064['params'][_0x1cc489(0x488)];if(!_0x1b0685)return;const {fieldId:_0x5c0d5c,area:_0x58badf,index:_0x1a1a59}=_0x1b0685,_0x4ae6b9=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x4ae6b9)return;const _0x5927f9=this[_0x1cc489(0x49d)]['getPivotTableInstance'](_0x439466);if(!_0x5927f9)return;_0x5927f9[_0x1cc489(0x212)]();const {area:_0x1c4595,index:_0x585dbc}=_0x5927f9[_0x1cc489(0x226)](_0x5c0d5c);if(_0x5927f9['updateFieldPosition'](_0x5c0d5c,_0x58badf,_0x1a1a59),_0x58badf===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x294)]&&_0x5927f9[_0x1cc489(0x1d3)](_0x5c0d5c)[_0x1cc489(0x3c0)]()===void 0x0){const _0x34dd95=_0x5927f9[_0x1cc489(0x1d3)](_0x5c0d5c);if(_0x34dd95&&_0x34dd95[_0x1cc489(0x3c0)]()===void 0x0){const _0x2b178c=_0x5927f9[_0x1cc489(0x39e)](_0x5c0d5c);if(_0x2b178c){const _0x272f00=_0x2b178c==null?void 0x0:_0x2b178c[_0x1cc489(0x46c)]();_0x5927f9[_0x1cc489(0x4a0)](_0x5c0d5c,_0x272f00===_0x1dcf85[_0x1cc489(0x1c1)]['number']?_0x1dcf85[_0x1cc489(0x417)][_0x1cc489(0x331)]:_0x1dcf85['PivotSubtotalTypeEnum'][_0x1cc489(0x3c4)]);}}}const _0x1870d6=_0x5927f9[_0x1cc489(0x22d)](),_0x389a45=_0x5927f9[_0x1cc489(0x3c3)](),_0x37ac1a=_0x5927f9[_0x1cc489(0x32d)](_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x294)])>0x1;if(_0x37ac1a&&_0x1c4595===_0x58badf&&(_0x58badf===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x2c9)]&&_0x1870d6===_0x1dcf85[_0x1cc489(0x33b)][_0x1cc489(0x2c9)]||_0x58badf===_0x1dcf85['PivotTableFiledAreaEnum'][_0x1cc489(0x1e3)]&&_0x1870d6===_0x1dcf85[_0x1cc489(0x33b)][_0x1cc489(0x1e3)])){let _0x382adf=_0x389a45;_0x585dbc<=_0x389a45&&_0x382adf--,_0x1a1a59<=_0x389a45&&_0x382adf++,_0x5927f9[_0x1cc489(0x3f6)](_0x1870d6,_0x382adf);}else _0x37ac1a&&(_0x1c4595===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x2c9)]&&_0x1870d6===_0x1dcf85['PivotTableValuePositionEnum'][_0x1cc489(0x2c9)]||_0x1c4595===_0x1dcf85[_0x1cc489(0x1be)]['Column']&&_0x1870d6===_0x1dcf85['PivotTableValuePositionEnum'][_0x1cc489(0x1e3)])&&_0x389a45>=_0x585dbc&&_0x5927f9['updateValuePosition'](_0x1870d6,_0x389a45-0x1),_0x37ac1a&&(_0x58badf===_0x1dcf85['PivotTableFiledAreaEnum'][_0x1cc489(0x2c9)]&&_0x1870d6===_0x1dcf85['PivotTableValuePositionEnum'][_0x1cc489(0x2c9)]||_0x58badf===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x1e3)]&&_0x1870d6===_0x1dcf85['PivotTableValuePositionEnum'][_0x1cc489(0x1e3)])&&_0x389a45>=_0x1a1a59&&_0x5927f9['updateValuePosition'](_0x1870d6,_0x389a45+0x1);const _0x54194f=_0x5927f9[_0x1cc489(0x2f3)](),_0x28988a=_0x5927f9[_0x1cc489(0x2a7)](),_0x5e610e=_0x5927f9[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x488)]={'view':_0x54194f[_0x1cc489(0x378)](),'changesets':_0x5e610e,'isEmpty':_0x28988a,'pivotTableConfig':_0x4ae6b9};}break;case _0x2fe1bc[_0x1cc489(0x20f)]:{const _0x29ef34=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x3b4)];if(!_0x29ef34)return;const _0x4565f2=_0x29ef34[_0x1cc489(0x446)],_0x30f907=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x30f907)return!0x1;const _0x591412=this['_sheetsPivotDataSourceModel'][_0x1cc489(0x459)](_0x439466);if(!_0x591412)return!0x1;_0x591412[_0x1cc489(0x212)]();for(const _0xb3b27e of _0x4565f2){const {area:_0x283359}=_0x591412['getFieldPositionInfoById'](_0xb3b27e);_0x283359===_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x294)]&&_0x591412[_0x1cc489(0x241)](_0xb3b27e),(_0x283359===_0x1dcf85['PivotTableFiledAreaEnum'][_0x1cc489(0x2c9)]||_0x283359===_0x1dcf85['PivotTableFiledAreaEnum'][_0x1cc489(0x1e3)])&&_0x591412[_0x1cc489(0x497)](_0xb3b27e),_0x591412[_0x1cc489(0x2a3)](_0xb3b27e);}const _0xaf5bf5=_0x591412[_0x1cc489(0x2a7)](),_0x47dc61=_0x591412['query']()[_0x1cc489(0x378)](),_0x26fab9=_0x591412[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x3b4)]={'changesets':_0x26fab9,'pivotTableConfig':_0x30f907,'isEmpty':_0xaf5bf5,'view':_0x47dc61};}break;case _0x2fe1bc['SetPivotFilter']:{const _0x310da4=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x182)];if(!_0x310da4)return;const {tableFieldId:_0x1e7fe4,items:_0x591eb6,isAll:_0xa1c49c}=_0x310da4,_0x412261=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466),_0x56d554=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x412261||!_0x56d554)return;_0x412261[_0x1cc489(0x212)](),_0x412261[_0x1cc489(0x470)](_0x1e7fe4,{'type':_0x1dcf85[_0x1cc489(0x34b)][_0x1cc489(0x235)],'list':_0x591eb6,'isAll':_0xa1c49c});const _0x510153=_0x412261['isEmpty'](),_0x318969=_0x412261['query']()['toJSON'](),_0x1adbbd=_0x412261[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x182)]={'view':_0x318969,'changesets':_0x1adbbd,'isEmpty':_0x510153,'pivotTableConfig':_0x56d554};}break;case _0x2fe1bc[_0x1cc489(0x2a1)]:{const _0x36223a=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x35e)];if(!_0x36223a)return;const {tableFieldId:_0xac76bc,filterInfo:_0x20713e}=_0x36223a,_0x4c3d5e=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466),_0x22d74e=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x4c3d5e||!_0x22d74e)return;_0x4c3d5e[_0x1cc489(0x212)](),_0x4c3d5e['setValueFilterInfo'](_0xac76bc,_0x20713e);const _0x17a8b1=_0x4c3d5e['isEmpty'](),_0x5f121a=_0x4c3d5e[_0x1cc489(0x2f3)]()['toJSON'](),_0x1e51b7=_0x4c3d5e[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x35e)]={'view':_0x5f121a,'changesets':_0x1e51b7,'isEmpty':_0x17a8b1,'pivotTableConfig':_0x22d74e};}break;case _0x2fe1bc[_0x1cc489(0x1f2)]:{const _0x23b9c2=_0x5ad064[_0x1cc489(0x4a2)]['setPivotSort'];if(!_0x23b9c2)return;const {tableFieldId:_0x1893ce,info:_0x91d83e}=_0x23b9c2,_0x1f0499=this[_0x1cc489(0x49d)]['getPivotTableInstance'](_0x439466),_0x3bec51=this[_0x1cc489(0x49d)]['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x1f0499||!_0x3bec51)return;_0x1f0499['startCollectChangeset'](),_0x1f0499['setSortInfo'](_0x1893ce,_0x91d83e);const _0x3be6fb=_0x1f0499[_0x1cc489(0x2a7)](),_0x36a2d8=_0x1f0499[_0x1cc489(0x2f3)]()['toJSON'](),_0x199679=_0x1f0499[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x289)]={'view':_0x36a2d8,'changesets':_0x199679,'isEmpty':_0x3be6fb,'pivotTableConfig':_0x3bec51};}break;case _0x2fe1bc[_0x1cc489(0x269)]:{const _0x4a991c=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x41b)];if(!_0x4a991c)return;const {tableFieldId:_0x30da9c,displayName:_0xb30361,subtotalType:_0x10dca8,format:_0x1a99d6}=_0x4a991c,_0x10960c=this[_0x1cc489(0x49d)]['getPivotTableInstance'](_0x439466),_0x40d380=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x10960c||!_0x40d380)return;_0x10960c[_0x1cc489(0x212)](),_0xb30361!==void 0x0&&_0x10960c['renameField'](_0x30da9c,_0xb30361),_0x10dca8!==void 0x0&&_0x10960c[_0x1cc489(0x4a0)](_0x30da9c,_0x10dca8),_0x1a99d6!==void 0x0&&_0x10960c[_0x1cc489(0x2ec)](_0x30da9c,_0x1a99d6);const _0x159d80=_0x10960c['isEmpty'](),_0x5e3eba=_0x10960c['query']()[_0x1cc489(0x378)](),_0xeb6a1=_0x10960c[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x41b)]={'changesets':_0xeb6a1,'pivotTableConfig':_0x40d380,'isEmpty':_0x159d80,'view':_0x5e3eba};}break;case _0x2fe1bc[_0x1cc489(0x213)]:{const _0x105692=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x3f8)];if(!_0x105692)return;const {dataRangeInfo:_0x3550e5,unitId:_0x44eb73,subUnitId:_0x19d60c}=_0x105692,_0x32c80f=this[_0x1cc489(0x49d)]['getPivotTableConfig'](_0x44eb73,_0x19d60c,_0x439466),_0x101f12=this['_sheetsPivotDataSourceModel'][_0x1cc489(0x459)](_0x439466);if(!this[_0x1cc489(0x49d)]['getCollection'](_0x44eb73,_0x439466)||!_0x101f12||!_0x32c80f)return;const _0x224a65=this['_sheetsPivotDataSourceModel'][_0x1cc489(0x2e7)](_0x44eb73,_0x439466,_0x3550e5),_0x2b5e5f=this[_0x1cc489(0x49d)][_0x1cc489(0x2a4)](_0x44eb73,_0x439466)['toJSON'](),{collection:_0x55f536}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x3550e5[_0x1cc489(0x256)],'sheetName':_0x3550e5[_0x1cc489(0x373)],'subUnitId':_0x3550e5[_0x1cc489(0x48c)],'range':_0x3550e5['range']}),_0x3a6574=_0x55f536[_0x1cc489(0x378)]();_0x101f12[_0x1cc489(0x212)]();const _0xcab369=this[_0x1cc489(0x49d)][_0x1cc489(0x49b)](_0x44eb73)[_0x1cc489(0x286)]()||_0x1dcf85['getAutoDisplayName'];_0x101f12[_0x1cc489(0x336)](_0x1b4596=>{const _0xb8555b=_0x1cc489,_0x32d8ca=_0x1b4596['getDataFieldId']();if(!_0x55f536[_0xb8555b(0x424)](_0x32d8ca)){const _0x2ae9fc=_0x55f536[_0xb8555b(0x2e4)](_0x1b4596['getSourceName']());if(_0x2ae9fc){_0x101f12['updateFieldSourceInfo'](_0x1b4596[_0xb8555b(0x339)](),_0x2ae9fc[_0xb8555b(0x245)](),_0x2ae9fc[_0xb8555b(0x339)]());const {area:_0x3f9c1d}=_0x101f12[_0xb8555b(0x226)](_0x1b4596[_0xb8555b(0x339)]());let _0x56063a=_0x1b4596[_0xb8555b(0x447)]();const _0x464727=_0x1b4596[_0xb8555b(0x3ab)]();if(_0x3f9c1d===_0x1dcf85[_0xb8555b(0x1be)]['Value']){const _0x5014a9=_0x1b4596[_0xb8555b(0x3c0)]();_0x56063a=_0xcab369(_0x2ae9fc[_0xb8555b(0x245)](),_0x5014a9);}_0x464727!==_0x56063a&&_0x101f12[_0xb8555b(0x2e6)](_0x1b4596[_0xb8555b(0x339)](),_0x56063a);}else _0x101f12['removeField'](_0x1b4596['getId']());}});const _0x398501=_0x101f12['isEmpty'](),_0x4e70e8=_0x101f12[_0x1cc489(0x2f3)]()[_0x1cc489(0x378)](),_0x39d6f3=_0x101f12['endCollectChangeset']();_0x4ece38[_0x1cc489(0x3f8)]={'view':_0x4e70e8,'changesets':_0x39d6f3,'isEmpty':_0x398501,'pivotTableConfig':_0x32c80f,'collectionConfig':_0x3a6574,'oldCollectionConfig':_0x2b5e5f,'deleteIds':_0x224a65};}break;case _0x2fe1bc[_0x1cc489(0x408)]:{const _0x78e819=_0x5ad064['params'][_0x1cc489(0x3f6)];if(!_0x78e819)return;const {position:_0x477bc9,index:_0xd9f0cc}=_0x78e819,_0x43f1fa=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x43f1fa)return!0x1;const _0x279b17=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466);if(!_0x279b17)return!0x1;_0x279b17['startCollectChangeset'](),_0x279b17[_0x1cc489(0x3f6)](_0x477bc9,_0xd9f0cc);const _0x1442a4=_0x279b17[_0x1cc489(0x2a7)](),_0x4f173c=_0x279b17['query']()['toJSON'](),_0x474bdf=_0x279b17[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x3f6)]={'changesets':_0x474bdf,'pivotTableConfig':_0x43f1fa,'isEmpty':_0x1442a4,'view':_0x4f173c};}break;case _0x2fe1bc[_0x1cc489(0x31b)]:{const _0x662fdf=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x1e5)];if(!_0x662fdf)return;const {tableFieldId:_0x509d62,collapse:_0x34e777,item:_0x1e66b1}=_0x662fdf,_0x215eb4=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466),_0x53ce02=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x215eb4||!_0x53ce02)return;_0x215eb4[_0x1cc489(0x212)](),_0x215eb4[_0x1cc489(0x1d1)](_0x509d62,_0x34e777,_0x1e66b1);const _0x5f3914=_0x215eb4[_0x1cc489(0x2a7)](),_0x4eb732=_0x215eb4[_0x1cc489(0x2f3)]()[_0x1cc489(0x378)](),_0xb662eb=_0x215eb4[_0x1cc489(0x1d4)]();_0x4ece38['setPivotCollapse']={'view':_0x4eb732,'isEmpty':_0x5f3914,'pivotTableConfig':_0x53ce02,'changesets':_0xb662eb};}break;case _0x2fe1bc[_0x1cc489(0x3f5)]:{const _0x557de7=_0x5ad064['params']['setPivotTableConfig'];if(!_0x557de7)return;const {pivotTableConfig:_0x40fb18}=_0x557de7,_0x81bd75=this[_0x1cc489(0x49d)][_0x1cc489(0x459)](_0x439466),_0x2ffd20=this[_0x1cc489(0x49d)][_0x1cc489(0x306)](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x81bd75||!_0x2ffd20)return;_0x81bd75[_0x1cc489(0x212)](),_0x52c691(_0x81bd75,_0x40fb18);const _0x35055d=_0x81bd75[_0x1cc489(0x2a7)](),_0x4a6be2=_0x81bd75[_0x1cc489(0x2f3)]()[_0x1cc489(0x378)](),_0x537865=_0x81bd75[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x3e2)]={'view':_0x4a6be2,'isEmpty':_0x35055d,'pivotTableConfig':{..._0x2ffd20,'fieldsConfig':_0x81bd75['toJSON']()},'changesets':_0x537865};}break;case _0x2fe1bc[_0x1cc489(0x295)]:{const _0x52f3ba=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x28d)];if(!_0x52f3ba)return;const _0x3a3e53=this['_sheetsPivotDataSourceModel'][_0x1cc489(0x459)](_0x439466),_0x1c8a79=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2b085b,_0x2ba1af,_0x439466);if(!_0x3a3e53||!_0x1c8a79)return;_0x3a3e53['startCollectChangeset'](),_0x1e28e3(_0x3a3e53,_0x52f3ba[_0x1cc489(0x217)]);const _0x8157b2=_0x3a3e53['query']()[_0x1cc489(0x378)](),_0x4103d6=_0x3a3e53[_0x1cc489(0x1d4)]();_0x4ece38[_0x1cc489(0x28d)]={'view':_0x8157b2,'isEmpty':!0x0,'pivotTableConfig':{..._0x1c8a79,'fieldsConfig':_0x3a3e53[_0x1cc489(0x378)]()},'changesets':_0x4103d6};}break;case _0x2fe1bc[_0x1cc489(0x467)]:{const _0x40d04c=_0x5ad064[_0x1cc489(0x4a2)][_0x1cc489(0x1ab)];if(!_0x40d04c)return;const _0x29682c=_0x40d04c[_0x1cc489(0x3f1)],_0x5f4a4b=_0x40d04c['pivotTableId'],{collection:_0x5ce76a}=this[_0x1cc489(0x49d)][_0x1cc489(0x2d4)]({'unitId':_0x29682c['unitId'],'sheetName':_0x29682c[_0x1cc489(0x373)],'subUnitId':_0x29682c['subUnitId'],'range':_0x29682c['range']}),_0x3e5518=new _0x1dcf85['PivotTable'](_0x5ce76a,void 0x0,_0x5f4a4b),_0x4c6b86=_0x5ce76a[_0x1cc489(0x2db)](),{rows:_0x1e7d66,columns:_0x2e0cad,filters:_0x4e3053,values:_0x37c206}=_0x40d04c['pivotTableIndexConfig'];_0x3e5518['startCollectChangeset']();for(const {field:_0x485afc,selectedItems:_0xf53aaf}of _0x1e7d66||[]){const _0x47d207=_0x4c6b86[_0x485afc];if(_0x47d207){const _0x2abc4b=_0x3e5518['addFieldWithSourceId'](_0x47d207,_0x1dcf85[_0x1cc489(0x1be)]['Row']);_0xf53aaf&&_0x2abc4b&&_0x3e5518[_0x1cc489(0x470)](_0x2abc4b[_0x1cc489(0x339)](),{'type':_0x1dcf85[_0x1cc489(0x34b)]['ManualFilter'],'list':_0xf53aaf,'isAll':!0x1});}}for(const {field:_0x45310d,selectedItems:_0x50cd2a}of _0x2e0cad||[]){const _0x5d2221=_0x4c6b86[_0x45310d];if(_0x5d2221){const _0xe5b7d3=_0x3e5518[_0x1cc489(0x492)](_0x5d2221,_0x1dcf85[_0x1cc489(0x1be)]['Column']);_0x50cd2a&&_0xe5b7d3&&_0x3e5518['setLabelFilterInfo'](_0xe5b7d3[_0x1cc489(0x339)](),{'type':_0x1dcf85['PivotFilterTypeEnum'][_0x1cc489(0x235)],'list':_0x50cd2a,'isAll':!0x1});}}for(const {field:_0x4ef14c,selectedItems:_0x36b2a4}of _0x4e3053||[]){const _0x50480a=_0x4c6b86[_0x4ef14c];if(_0x50480a){const _0x9b9741=_0x3e5518[_0x1cc489(0x492)](_0x50480a,_0x1dcf85[_0x1cc489(0x1be)][_0x1cc489(0x208)]);_0x36b2a4&&_0x9b9741&&_0x3e5518['setLabelFilterInfo'](_0x9b9741[_0x1cc489(0x339)](),{'type':_0x1dcf85[_0x1cc489(0x34b)][_0x1cc489(0x235)],'list':_0x36b2a4,'isAll':!0x1});}}for(const {field:_0x15a472,subTotalType:_0xe51660,formatString:_0x5dd940}of _0x37c206||[]){const _0x1b575b=_0x5ce76a['getFieldById'](_0x4c6b86[_0x15a472]);if(!_0x1b575b)continue;const _0x3510db=_0x4c6b86[_0x15a472];if(_0x3510db){const _0x443b08=_0x3e5518[_0x1cc489(0x492)](_0x3510db,_0x1dcf85['PivotTableFiledAreaEnum']['Value']);if(_0x443b08){if(_0xe51660!==void 0x0){_0x3e5518[_0x1cc489(0x4a0)](_0x443b08['getId'](),_0xe51660);const _0x73dab0=this[_0x1cc489(0x49d)][_0x1cc489(0x49b)](_0x29682c[_0x1cc489(0x256)])[_0x1cc489(0x286)]()||_0x1dcf85['getAutoDisplayName'],_0x132f2e=_0x5ce76a[_0x1cc489(0x3ab)](_0x3510db),_0x14ffb8=_0x73dab0(_0x132f2e,_0xe51660);_0x3e5518['renameField'](_0x443b08[_0x1cc489(0x339)](),_0x14ffb8);}else{if(_0x1b575b){const _0x1c157f=_0x1b575b==null?void 0x0:_0x1b575b['getFieldDataType']();_0x3e5518[_0x1cc489(0x4a0)](_0x443b08['getId'](),_0x1c157f===_0x1dcf85['PivotDataFieldDataTypeEnum']['number']?_0x1dcf85[_0x1cc489(0x417)][_0x1cc489(0x331)]:_0x1dcf85[_0x1cc489(0x417)][_0x1cc489(0x3c4)]);}}_0x5dd940&&_0x3e5518[_0x1cc489(0x2ec)](_0x443b08[_0x1cc489(0x339)](),_0x5dd940);}}}const _0x37e852=_0x3e5518[_0x1cc489(0x2f3)](),_0x355efc=_0x3e5518[_0x1cc489(0x378)](),_0x562684=_0x3e5518[_0x1cc489(0x2a7)](),_0x2de719=_0x3e5518[_0x1cc489(0x1d4)](),_0x3b1a05=_0x5ce76a[_0x1cc489(0x378)]();_0x4ece38['addPivotTableWithConfig']={'view':_0x37e852,'fieldsConfig':_0x355efc,'collectionConfig':_0x3b1a05,'isEmpty':_0x562684,'changesets':_0x2de719};}break;case _0x2fe1bc[_0x1cc489(0x33f)]:{const _0x4bf0e2=_0x53f0d2(this['_injector'],_0x5ad064);if(!_0x4bf0e2)return;const {range:_0x330610,sourceSubUnitId:_0x33e2e4,sourceUnitId:_0x9d749,formatMap:_0xabc609,indexes:_0x22a786}=_0x4bf0e2;_0x4ece38[_0x1cc489(0x376)]={'range':_0x330610,'sourceSubUnitId':_0x33e2e4,'sourceUnitId':_0x9d749,'formatMap':_0xabc609,'indexes':_0x22a786};}break;}this[_0x1cc489(0x1fa)]['executeCommand'](_0x1b131b['id'],{'version':_0x5ad064[_0x1cc489(0x316)],'result':_0x4ece38},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x222a59=_0x4d3dd6;this[_0x222a59(0x332)](this['_commandService']['onCommandExecuted'](_0x2662e4=>{const _0x43b743=_0x222a59;if(_0x2662e4['id']!==_0x29aa46['id'])return;const _0x539824=_0x2662e4[_0x43b743(0x4a2)];return this[_0x43b743(0x49d)]['setTextInfo'](_0x539824[_0x43b743(0x3fb)]),!0x0;}));}[_0x4d3dd6(0x37e)](){const _0x94c953=_0x4d3dd6;this[_0x94c953(0x49d)][_0x94c953(0x489)]['subscribe'](_0x4e7db0=>{const _0x5778de=_0x94c953;switch(_0x4e7db0[_0x5778de(0x309)]){case _0x4a1a7c[_0x5778de(0x205)]:_0x4e7db0['dataRangeInfo']&&_0x4e7db0[_0x5778de(0x3dd)]&&this[_0x5778de(0x2c3)](_0x4e7db0[_0x5778de(0x30f)],_0x4e7db0[_0x5778de(0x1f8)],_0x4e7db0[_0x5778de(0x3dd)]);break;case _0x4a1a7c[_0x5778de(0x4a5)]:{const {unitId:_0x1244f3,subUnitId:_0x440f96,token:_0x3a3383}=_0x4e7db0;_0x1244f3&&_0x440f96&&_0x3a3383&&this[_0x5778de(0x300)](_0x1244f3,_0x440f96,_0x3a3383);}break;case _0x4a1a7c[_0x5778de(0x1de)]:{const {token:_0x1cd043,oldSourceRangeInfo:_0x4d85d7,dataRangeInfo:_0x1f6c03,targetCellInfo:_0x2fa8c1}=_0x4e7db0,{unitId:_0x20a7d0,subUnitId:_0x2e7c3f}=_0x4d85d7||{};_0x20a7d0&&_0x2e7c3f&&_0x1cd043&&this[_0x5778de(0x300)](_0x20a7d0,_0x2e7c3f,_0x1cd043),_0x1f6c03&&_0x2fa8c1&&this[_0x5778de(0x2c3)](_0x1cd043,_0x1f6c03,_0x2fa8c1);}break;}});}['_subjectFieldsCollectionChange'](){const _0x398317=_0x4d3dd6;this['_sheetsPivotDataSourceModel'][_0x398317(0x272)]['subscribe'](_0x30de27=>{const _0x19bbd2=_0x398317;Object['keys'](_0x30de27)[_0x19bbd2(0x3bb)](_0x460b1d=>{const _0x4c226f=_0x19bbd2,_0x4c09ac=this['_sheetsPivotDataSourceModel'][_0x4c226f(0x308)](_0x460b1d);if(_0x4c09ac){const _0x27b573=this[_0x4c226f(0x49d)][_0x4c226f(0x306)](_0x4c09ac==null?void 0x0:_0x4c09ac['unitId'],_0x4c09ac==null?void 0x0:_0x4c09ac['subUnitId'],_0x460b1d);_0x27b573&&(this[_0x4c226f(0x2c3)](_0x460b1d,_0x27b573[_0x4c226f(0x3f1)],_0x27b573[_0x4c226f(0x3dd)]),this[_0x4c226f(0x23c)]([{'unitId':_0x4c09ac[_0x4c226f(0x256)],'subUnitId':_0x4c09ac[_0x4c226f(0x48c)],'token':_0x460b1d}]));}});});}[_0x4d3dd6(0x224)](){const _0x945222=_0x4d3dd6;this['_sheetsPivotDataSourceModel'][_0x945222(0x385)][_0x945222(0x17d)](_0x35e904=>{const _0x57c1ba=_0x945222,{unitId:_0x2c34fa,subUnitId:_0x9b5639,pivotTableId:_0x45fa89}=_0x35e904;_0x2c34fa&&_0x9b5639&&_0x45fa89&&this[_0x57c1ba(0x23c)]([{'unitId':_0x2c34fa,'subUnitId':_0x9b5639,'token':_0x45fa89}]);});}[_0x4d3dd6(0x23c)](_0x15e36a){const _0x51428b=_0x4d3dd6,_0x1b1d83={};_0x15e36a[_0x51428b(0x3bb)](_0xa40946=>{var _0x5e7dfd,_0x3fb0f2;const {unitId:_0x3d7ba7,subUnitId:_0xb7a8cd,token:_0x228ab8}=_0xa40946;_0x1b1d83[_0x3d7ba7]=(_0x5e7dfd=_0x1b1d83[_0x3d7ba7])!=null?_0x5e7dfd:{},_0x1b1d83[_0x3d7ba7][_0xb7a8cd]=(_0x3fb0f2=_0x1b1d83[_0x3d7ba7][_0xb7a8cd])!=null?_0x3fb0f2:{},_0x1b1d83[_0x3d7ba7][_0xb7a8cd][_0x228ab8]=!0x0;}),this['_commandService'][_0x51428b(0x1c4)](_0x2af18f['id'],_0x1b1d83);}[_0x4d3dd6(0x300)](_0x4df875,_0x49c2a1,_0x5799cd){const _0x46d0bd=_0x4d3dd6;this[_0x46d0bd(0x291)]['remove'](_0x4df875,_0x49c2a1,[_0x5799cd]);}[_0x4d3dd6(0x2c3)](_0x27313e,_0x1a677b,_0x373f7f){const _0x7aa89=_0x4d3dd6,{unitId:_0x145028,subUnitId:_0x7092d6}=_0x1a677b;this[_0x7aa89(0x291)][_0x7aa89(0x285)](_0x373f7f[_0x7aa89(0x256)],_0x373f7f[_0x7aa89(0x48c)],_0x27313e)&&this[_0x7aa89(0x300)](_0x145028,_0x7092d6,_0x27313e);const _0x169b77={'sheetId':_0x7092d6,..._0x1a677b};this[_0x7aa89(0x291)]['register'](_0x373f7f[_0x7aa89(0x256)],_0x373f7f[_0x7aa89(0x48c)],_0x27313e,{'unitId':_0x373f7f['unitId'],'subUnitId':_0x373f7f[_0x7aa89(0x48c)],'dependencyRanges':[_0x169b77],'getDirtyData':(_0x433ea7,_0x47e709)=>{const _0x31ae1f=_0x7aa89,_0x1487c8=this['_sheetsPivotDataSourceModel'],_0x4ea7d4=_0x1487c8[_0x31ae1f(0x308)](_0x27313e);if(!_0x4ea7d4)return _0x430a21();const {unitId:_0x464749,subUnitId:_0xd380b}=_0x4ea7d4,_0x32b9e2=_0x32d555(_0x433ea7,_0x47e709,_0x1a677b);if(_0x32b9e2['length']>0x0){const _0x1578ac=_0x1487c8[_0x31ae1f(0x2a4)](_0x145028,_0x27313e),_0x399093=_0x1578ac[_0x31ae1f(0x2db)](),_0x518ac2=this[_0x31ae1f(0x2c6)](_0x1a677b[_0x31ae1f(0x256)],_0x1a677b[_0x31ae1f(0x48c)],_0x47e709),_0x50432c={},_0x14e145=this[_0x31ae1f(0x49d)][_0x31ae1f(0x49b)](_0x464749)[_0x31ae1f(0x286)]()||_0x1dcf85[_0x31ae1f(0x3be)],_0x3f7b9b=[];for(const _0x521ab7 of _0x32b9e2){const _0x41c5c8=_0x521ab7-(_0x1a677b[_0x31ae1f(0x472)][_0x31ae1f(0x441)]||0x0),_0x183f9d=_0x399093[_0x41c5c8];_0x3f7b9b[_0x31ae1f(0x2b0)](_0x183f9d),_0x50432c[_0x183f9d]=_0x1578ac['getFieldById'](_0x183f9d)['getName'](),_0x1487c8['getDataFieldManager'](_0x145028)[_0x31ae1f(0x1d2)](_0x183f9d,_0x1a677b,_0x41c5c8,_0x518ac2);}_0x1578ac[_0x31ae1f(0x24a)](_0x3f7b9b)[_0x31ae1f(0x3bb)](_0x224e0e=>{const _0x5c40fe=_0x31ae1f,[_0x5ec7f2,_0x35f79e]=_0x224e0e,_0x27f921=_0x1578ac[_0x5c40fe(0x355)](_0x5ec7f2),_0x714313=_0x1578ac[_0x5c40fe(0x355)](_0x35f79e);_0x27f921&&_0x714313&&_0x27f921[_0x5c40fe(0x2f4)](_0x714313);}),_0x1578ac[_0x31ae1f(0x28f)]();const _0x1f41d6=_0x1487c8[_0x31ae1f(0x459)](_0x27313e);if(_0x1f41d6){_0x13a082(_0x1f41d6,_0x50432c,_0x14e145),_0x1f41d6[_0x31ae1f(0x335)](!0x0);const _0x3084c9=_0x1f41d6[_0x31ae1f(0x2f3)](),_0x4a8d4b=_0x1487c8['getPivotTableConfig'](_0x464749,_0xd380b,_0x27313e),_0x401b19=_0x1487c8[_0x31ae1f(0x49b)](_0x145028)[_0x31ae1f(0x378)]();_0x1487c8[_0x31ae1f(0x34a)](_0x464749,_0xd380b,_0x50514a['Set'],_0x27313e,_0x3084c9,_0x4a8d4b,_0x401b19,!0x0);}}return this[_0x31ae1f(0x45a)](_0x464749,_0xd380b,_0x27313e);}});}['getMatrixFromRunTimeData'](_0x2dabad,_0x4c3468,_0xb3777e){var _0x5b94de,_0x2db26c;const {arrayFormulaCellData:_0x27a95d,unitData:_0x384b19}=_0xb3777e,_0x5a32b2=(_0x5b94de=_0x27a95d==null?void 0x0:_0x27a95d[_0x2dabad])==null?void 0x0:_0x5b94de[_0x4c3468],_0x2e15f4=(_0x2db26c=_0x384b19==null?void 0x0:_0x384b19[_0x2dabad])==null?void 0x0:_0x2db26c[_0x4c3468];return{'arrayFormulaCellDataMatrix':_0x5a32b2,'unitDataMatrix':_0x2e15f4};}[_0x4d3dd6(0x45a)](_0x3cf140,_0x31e783,_0x106e8d){const _0x3b7244=_0x4d3dd6,_0x115c25=this['_sheetsPivotDataSourceModel'][_0x3b7244(0x456)](_0x3cf140,_0x31e783,_0x106e8d),_0xfce7a5=[],_0x525fab=new _0x4f5d51[(_0x3b7244(0x2cc))]();if(_0x115c25){const {rangeCache:_0x39bd1b,matrix:_0x3bef8d,oldRangeCache:_0x4a8886,oldMatrix:_0x7cfdac}=_0x115c25,_0xc39174=_0x1d908f(_0x4a8886),_0x93dccb=_0x1d908f(_0x39bd1b);_0xfce7a5[_0x3b7244(0x2b0)](..._0x93dccb,..._0xc39174),_0x7cfdac&&_0x4a8886&&_0xc39174[_0x3b7244(0x3bb)](_0x539e07=>{const _0x1becf7=_0x3b7244;for(let _0x314204=_0x539e07[_0x1becf7(0x275)];_0x314204<=_0x539e07['endRow'];_0x314204++)for(let _0x394558=_0x539e07[_0x1becf7(0x441)];_0x394558<=_0x539e07['endColumn'];_0x394558++)_0x525fab[_0x1becf7(0x2c0)](_0x314204,_0x394558);}),_0x3bef8d&&_0x93dccb&&_0x93dccb['forEach'](_0x243d0f=>{const _0x3294fb=_0x3b7244;for(let _0x49c181=_0x243d0f[_0x3294fb(0x275)];_0x49c181<=_0x243d0f[_0x3294fb(0x460)];_0x49c181++)for(let _0x5f362b=_0x243d0f[_0x3294fb(0x441)];_0x5f362b<=_0x243d0f[_0x3294fb(0x2fb)];_0x5f362b++)_0x525fab[_0x3294fb(0x3ad)](_0x49c181,_0x5f362b,_0x3bef8d['getValue'](_0x49c181,_0x5f362b));});}const _0x3152b4={};return _0x3152b4[_0x3cf140]={[_0x31e783]:_0x358414(_0xfce7a5)},{'runtimeCellData':{[_0x3cf140]:{[_0x31e783]:_0x525fab}},'dirtyRanges':_0x3152b4};}[_0x4d3dd6(0x2ff)](){}};_0x3da052=_0x130818([_0x5390f0(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x334)])),_0x5390f0(0x1,_0x4f5d51['IConfigService']),_0x5390f0(0x2,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x2f1667['IFeatureCalculationManagerService'])),_0x5390f0(0x3,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x4a4)])),_0x5390f0(0x4,_0x4f5d51['Inject'](_0x2f1667['GlobalComputingStatusService'])),_0x5390f0(0x5,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51['Injector']))],_0x3da052);var _0x3ffc9b=Object[_0x4d3dd6(0x20b)],_0x137988=(_0x1e535e,_0x445eb2,_0x1056b5,_0x353655)=>{const _0x2a12af=_0x4d3dd6;for(var _0x3e255b=_0x353655>0x1?void 0x0:_0x353655?_0x3ffc9b(_0x445eb2,_0x1056b5):_0x445eb2,_0x4832eb=_0x1e535e[_0x2a12af(0x425)]-0x1,_0x43a08d;_0x4832eb>=0x0;_0x4832eb--)(_0x43a08d=_0x1e535e[_0x4832eb])&&(_0x3e255b=_0x43a08d(_0x3e255b)||_0x3e255b);return _0x3e255b;},_0x21f67a=(_0x279c97,_0x24edce)=>(_0x2f85b5,_0x1afef4)=>_0x24edce(_0x2f85b5,_0x1afef4,_0x279c97);let _0x485d62=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x5dda09,_0x5b2db9,_0x47c00d,_0xe612ab){const _0x36008c=_0x4d3dd6;super(),_0x8a8b01(this,'disposableCollection',new _0x4f5d51[(_0x36008c(0x374))]()),(this['_univerInstanceService']=_0x5dda09,this[_0x36008c(0x2be)]=_0x5b2db9,this[_0x36008c(0x200)]=_0x47c00d,this[_0x36008c(0x4a1)]=_0xe612ab,this[_0x36008c(0x453)]());}[_0x4d3dd6(0x453)](){const _0x9024b5=_0x4d3dd6;this[_0x9024b5(0x332)](this[_0x9024b5(0x2be)][_0x9024b5(0x21c)]({'getMutations':_0x31db6f=>{const _0x5dc645=_0x9024b5;if(_0x31db6f['id']===_0x55067d[_0x5dc645(0x2ac)]['id']||_0x31db6f['id']===_0x55067d[_0x5dc645(0x3ae)]['id']){const _0x192ef6=[],_0x64a996=[],_0x2f1b5f=this[_0x5dc645(0x200)][_0x5dc645(0x1bf)]()[_0x5dc645(0x2fd)](_0x581707=>_0x581707[_0x5dc645(0x472)]),_0x38ff7c=_0x55067d[_0x5dc645(0x19f)](this[_0x5dc645(0x416)]);if(!_0x38ff7c)return{'redos':[],'undos':[]};const {unitId:_0x59e679,subUnitId:_0x27ac7e}=_0x38ff7c,_0x146759={},_0x2ea39d=this[_0x5dc645(0x4a1)]['getSubUnitPivotConfigs'](_0x59e679,_0x27ac7e);if(_0x2ea39d!=null&&_0x2ea39d[_0x5dc645(0x40d)])for(const [_0x42789d,_0x2c5a8d]of _0x2ea39d){const {unitId:_0x25bc7a,subUnitId:_0xa5ec8f,row:_0xeda74c,col:_0x299d1c}=_0x2c5a8d[_0x5dc645(0x3dd)];_0x25bc7a===_0x38ff7c['unitId']&&_0xa5ec8f===_0x38ff7c[_0x5dc645(0x48c)]&&(_0x146759[_0xeda74c+'-'+_0x299d1c]=_0x42789d);}return _0x2f1b5f&&_0x38ff7c&&_0x2f1b5f['forEach'](_0x59695e=>{const _0x3be368=_0x5dc645;_0x4f5d51[_0x3be368(0x2d1)][_0x3be368(0x2f0)](_0x59695e,(_0x5cd10d,_0x2108a2)=>{const _0x7f4834=_0x3be368,_0x28a417=_0x5cd10d+'-'+_0x2108a2;if(_0x146759[_0x28a417]){const _0x1aca2e=_0x146759[_0x28a417];_0x192ef6['push']({'id':_0x9a990a['id'],'params':{'unitId':_0x59e679,'subUnitId':_0x27ac7e,'pivotTableId':_0x1aca2e}});const _0xd02097=this[_0x7f4834(0x4a1)][_0x7f4834(0x2a4)](_0x59e679,_0x1aca2e),_0x1fd55b=this['_sheetsPivotTableConfigModel'][_0x7f4834(0x306)](_0x59e679,_0x27ac7e,_0x1aca2e);_0x64a996[_0x7f4834(0x2b0)]({'id':_0x115c42['id'],'params':{'unitId':_0x59e679,'subUnitId':_0x27ac7e,'pivotTableId':_0x1aca2e,'pivotTableConfig':_0x1fd55b,'collectionConfig':_0xd02097}});}});}),{'redos':_0x192ef6,'undos':_0x64a996};}return{'redos':[],'undos':[]};}}));}};_0x485d62=_0x137988([_0x21f67a(0x0,_0x4f5d51[_0x4d3dd6(0x343)]),_0x21f67a(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d[_0x4d3dd6(0x18a)])),_0x21f67a(0x2,_0x4f5d51['Inject'](_0x55067d[_0x4d3dd6(0x3cf)])),_0x21f67a(0x3,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x478)]))],_0x485d62);var _0x195449=Object[_0x4d3dd6(0x20b)],_0xc5d5ce=(_0x58fc6c,_0x5b865f,_0x2db185,_0x508f78)=>{const _0x560215=_0x4d3dd6;for(var _0xab9bc2=_0x508f78>0x1?void 0x0:_0x508f78?_0x195449(_0x5b865f,_0x2db185):_0x5b865f,_0x4fb7e9=_0x58fc6c[_0x560215(0x425)]-0x1,_0x3b8899;_0x4fb7e9>=0x0;_0x4fb7e9--)(_0x3b8899=_0x58fc6c[_0x4fb7e9])&&(_0xab9bc2=_0x3b8899(_0xab9bc2)||_0xab9bc2);return _0xab9bc2;},_0x4bea1e=(_0x1b4390,_0x46d787)=>(_0x3a4e50,_0x4ed9a8)=>_0x46d787(_0x3a4e50,_0x4ed9a8,_0x1b4390);let _0x1e372e=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x30fce4,_0x2c6057,_0x422412,_0x38c477,_0x1f3945,_0x10a358){const _0xc287b3=_0x4d3dd6;super(),this[_0xc287b3(0x19e)]=_0x30fce4,this[_0xc287b3(0x2be)]=_0x2c6057,this[_0xc287b3(0x21f)]=_0x422412,this[_0xc287b3(0x416)]=_0x38c477,this[_0xc287b3(0x4a1)]=_0x1f3945,this[_0xc287b3(0x457)]=_0x10a358,this[_0xc287b3(0x276)]();}[_0x4d3dd6(0x1c5)](_0x122d30,_0x4a4374,_0x19e1b7){const _0x106815=_0x4d3dd6,{pageView:_0x45ade7,cornerView:_0x22161c,rowView:_0x48cd67,colView:_0x1e7eba,dataView:_0x335b30}=_0x4a4374,_0x4c6747=_0x122d30;let _0x48b343;if(_0x19e1b7)_0x48b343=[..._0x56fc8d(_0x4c6747)];else{const _0x5cb7c9=_0x2b9699(_0x4c6747,_0x45ade7,!0x0),_0x137872=_0x45ade7[_0x106815(0x31d)]>=0x0?_0x45ade7[_0x106815(0x31d)]+0x1:0x0,_0x924d86=_0x22161c['rowCount'],_0x509cd5=_0x22161c['colCount'],_0x51588c=_0x5cb7c9[_0x106815(0x425)]>0x0?_0x124551:0x0,_0x3f373a=_0x2b9699({'row':_0x4c6747[_0x106815(0x46e)]+_0x137872+_0x51588c,'col':_0x4c6747[_0x106815(0x283)]},_0x22161c,!0x1,!0x1),_0x56acff=_0x2b9699({'row':_0x4c6747[_0x106815(0x46e)]+_0x137872+_0x51588c+_0x924d86,'col':_0x4c6747[_0x106815(0x283)]},_0x48cd67,!0x1,!0x0),_0x47e0a2=_0x2b9699({'row':_0x4c6747['row']+_0x137872+_0x51588c,'col':_0x4c6747[_0x106815(0x283)]+_0x509cd5},_0x1e7eba,!0x1,!0x0),_0x590c5c=_0x2b9699({'row':_0x4c6747['row']+_0x137872+_0x51588c+_0x924d86,'col':_0x4c6747[_0x106815(0x283)]+_0x509cd5},_0x335b30,!0x1,!0x0);_0x48b343=[..._0x5cb7c9,..._0x3f373a,..._0x56acff,..._0x47e0a2,..._0x590c5c];}return _0x48b343;}[_0x4d3dd6(0x276)](){const _0x31bce3=_0x4d3dd6;this[_0x31bce3(0x332)](this[_0x31bce3(0x457)][_0x31bce3(0x359)][_0x31bce3(0x464)](this[_0x31bce3(0x457)][_0x31bce3(0x359)][_0x31bce3(0x3cd)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x367710,_0x4e196b)=>{const _0x5ad641=_0x31bce3,{cellInfo:_0x1f616f,view:_0x5547a0,isEmpty:_0xdd1362}=_0x4e196b,_0xf74c3d=_0x1f616f,{unitId:_0x5762e0,subUnitId:_0x208bd9}=_0xf74c3d,_0x31b1cb=this[_0x5ad641(0x1c5)](_0x1f616f,_0x5547a0,_0xdd1362),_0x5540e4=this[_0x5ad641(0x2be)][_0x5ad641(0x317)]({'unitId':_0x5762e0,'subUnitId':_0x208bd9,'ranges':_0x31b1cb}),_0x2517fc=_0x43cd0f(this[_0x5ad641(0x21f)],_0x5762e0,_0x208bd9,_0x31b1cb);_0x2517fc[_0x5ad641(0x32c)]&&(_0x5540e4[_0x5ad641(0x234)][_0x5ad641(0x2b0)](_0x2517fc[_0x5ad641(0x2df)]),_0x5540e4[_0x5ad641(0x2d2)][_0x5ad641(0x2b0)](_0x2517fc[_0x5ad641(0x201)]));const _0x5c2898=this[_0x5ad641(0x3de)](_0x5547a0,_0x1f616f);return _0x5540e4['redos'][_0x5ad641(0x2b0)](..._0x5c2898[_0x5ad641(0x234)]),_0x5540e4[_0x5ad641(0x2d2)][_0x5ad641(0x2b0)](..._0x5c2898['undos']),{'redos':_0x5540e4[_0x5ad641(0x234)],'undos':_0x5540e4['undos']};}}));}[_0x4d3dd6(0x3de)](_0x9b6a17,_0x176b97){const _0x49807a=_0x4d3dd6,{col:_0x3c95bd,unitId:_0x5cf60f,subUnitId:_0x5e1c33}=_0x176b97,_0x108e8a=[],_0x508427=[],_0x3d01f8=_0x55067d[_0x49807a(0x19f)](this[_0x49807a(0x416)],{'unitId':_0x5cf60f,'subUnitId':_0x5e1c33});if(!_0x176b97||!_0x9b6a17||!_0x3d01f8)return{'undos':_0x508427,'redos':_0x108e8a};const _0x43119a=this['_sheetsPivotTableConfigModel'][_0x49807a(0x3ed)](),{colView:_0x3ad06e,dataView:_0x951af4,cornerView:_0x57b774,rowView:_0x147afe,formatMap:_0x584e05}=_0x9b6a17,_0x56f6ae=_0x3765ec(_0x3ad06e,_0x43119a,!0x0,_0x584e05),_0x1946f8=_0x3765ec(_0x147afe,_0x43119a,!0x1,_0x584e05),_0x6c4fa5=_0x46e169(_0x951af4),_0x200410=_0x2548f3(_0x57b774),{worksheet:_0x57659a}=_0x3d01f8;if(typeof window<'u'&&window[_0x49807a(0x3df)]){const _0x4426e6=_0x7d97b8[_0x49807a(0x481)]({..._0xee2008[_0x49807a(0x188)]}),_0x3ab5e9=_0x7d97b8[_0x49807a(0x3bc)][_0x49807a(0x484)](_0x56f6ae,_0x4426e6)['width']+0x10,_0xa3ea19=_0x7d97b8[_0x49807a(0x3bc)][_0x49807a(0x484)](_0x6c4fa5,_0x4426e6)[_0x49807a(0x20c)],_0x4bed6b=Math['floor'](Math[_0x49807a(0x498)](_0x3ab5e9,_0xa3ea19))+0x10,_0x450238=Math['floor'](_0x7d97b8['FontCache'][_0x49807a(0x484)](_0x1946f8,_0x4426e6)[_0x49807a(0x20c)]),_0x31c615=Math[_0x49807a(0x2f8)](_0x7d97b8[_0x49807a(0x3bc)][_0x49807a(0x484)](_0x200410,_0x4426e6)[_0x49807a(0x20c)]),_0x130bd9=Math[_0x49807a(0x498)](_0x450238,_0x31c615,0x28)+0xc,_0x52e158=_0x3ad06e[_0x49807a(0x1dd)]+_0x57b774[_0x49807a(0x1dd)],_0x4dd6f6={},_0x448d42={};for(let _0x51c039=_0x3c95bd;_0x51c039<_0x3c95bd+_0x52e158;_0x51c039++){const _0x1a3700=_0x57659a[_0x49807a(0x279)](_0x51c039);_0x4dd6f6[_0x51c039]=_0x1a3700,_0x51c039-_0x3c95bd<_0x57b774[_0x49807a(0x1dd)]?_0x448d42[_0x51c039-_0x3c95bd]=_0x130bd9:_0x448d42[_0x51c039-_0x3c95bd]=_0x4bed6b;}_0x108e8a[_0x49807a(0x2b0)]({'id':_0x55067d[_0x49807a(0x48a)]['id'],'params':{'subUnitId':_0x5e1c33,'unitId':_0x5cf60f,'ranges':[{'startColumn':_0x3c95bd,'endColumn':_0x3c95bd+_0x52e158-0x1,'startRow':0x0,'endRow':_0x57659a[_0x49807a(0x1e7)]()-0x1}],'colWidth':_0x448d42}}),_0x508427[_0x49807a(0x2b0)]({'id':_0x55067d['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5e1c33,'unitId':_0x5cf60f,'ranges':[{'startColumn':_0x3c95bd,'endColumn':_0x3c95bd+_0x52e158-0x1,'startRow':0x0,'endRow':_0x57659a['getRowCount']()-0x1}],'colWidth':_0x4dd6f6}});}return{'undos':_0x508427,'redos':_0x108e8a};}};_0x1e372e=_0xc5d5ce([_0x4bea1e(0x0,_0x4f5d51['Inject'](_0x4f5d51[_0x4d3dd6(0x3ea)])),_0x4bea1e(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d[_0x4d3dd6(0x18a)])),_0x4bea1e(0x2,_0x4f5d51['Inject'](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x4bea1e(0x3,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51['IUniverInstanceService'])),_0x4bea1e(0x4,_0x4f5d51['Inject'](_0xc194b8[_0x4d3dd6(0x478)])),_0x4bea1e(0x5,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x324)]))],_0x1e372e);var _0x5f3c04=Object[_0x4d3dd6(0x20b)],_0x794ff0=(_0x21e722,_0x12f50c,_0x24540a,_0x4d2216)=>{const _0x28aeec=_0x4d3dd6;for(var _0x5d4d50=_0x4d2216>0x1?void 0x0:_0x4d2216?_0x5f3c04(_0x12f50c,_0x24540a):_0x12f50c,_0x3e4ad7=_0x21e722[_0x28aeec(0x425)]-0x1,_0x3ff8ee;_0x3e4ad7>=0x0;_0x3e4ad7--)(_0x3ff8ee=_0x21e722[_0x3e4ad7])&&(_0x5d4d50=_0x3ff8ee(_0x5d4d50)||_0x5d4d50);return _0x5d4d50;},_0x385800=(_0x37cdf2,_0x4bc1ba)=>(_0x530767,_0x5008e7)=>_0x4bc1ba(_0x530767,_0x5008e7,_0x37cdf2);let _0x9ee01d=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0x219627,_0x587f9d,_0x29367c,_0x44654a,_0x58f28a,_0x2cdbc0,_0x1d1bc4){const _0x24ca22=_0x4d3dd6;super(),_0x8a8b01(this,_0x24ca22(0x266),new _0x4f5d51['DisposableCollection']()),(this[_0x24ca22(0x21f)]=_0x219627,this[_0x24ca22(0x26e)]=_0x587f9d,this['_commandService']=_0x29367c,this['_univerInstanceService']=_0x44654a,this[_0x24ca22(0x4a1)]=_0x58f28a,this[_0x24ca22(0x490)]=_0x2cdbc0,this[_0x24ca22(0x2be)]=_0x1d1bc4,this[_0x24ca22(0x41e)]());}[_0x4d3dd6(0x41e)](){const _0xc97941=_0x4d3dd6,_0x21594e=(_0x181225,_0x27dc67)=>{const _0x3d005e=_0x1cd0,_0x1f7e5b=this['_univerInstanceService']['getCurrentUnitForType'](_0x4f5d51['UniverInstanceType'][_0x3d005e(0x232)]);if(!_0x1f7e5b||!(_0x1f7e5b==null?void 0x0:_0x1f7e5b['getSheetBySheetId'](_0x27dc67)))return;this[_0x3d005e(0x266)][_0x3d005e(0x2ff)]();const _0x2e410c=_0x43879d=>this[_0x3d005e(0x38e)](_0x43879d,_0x181225,_0x27dc67),_0x16bafc=this[_0x3d005e(0x4a1)][_0x3d005e(0x27e)](_0x181225,_0x27dc67);if(!(_0x16bafc!=null&&_0x16bafc[_0x3d005e(0x40d)]))return;Array[_0x3d005e(0x27a)](_0x16bafc['values']())[_0x3d005e(0x2fd)](_0x2550bc=>{const _0x243616=_0x3d005e,{row:_0x3af1a1,col:_0x40ba81}=_0x2550bc[_0x243616(0x3dd)];return _0x4f5d51[_0x243616(0x395)](_0x3af1a1,_0x40ba81);})[_0x3d005e(0x3bb)](_0x57b409=>{const _0x240f1e=_0x3d005e;this['disposableCollection'][_0x240f1e(0x205)](this[_0x240f1e(0x26e)][_0x240f1e(0x2a9)](_0x57b409,_0x2e410c,_0x181225,_0x27dc67));});},_0x2ff0b6=()=>{const _0x3d37f7=_0x1cd0,_0x135df5=this['_univerInstanceService'][_0x3d37f7(0x3e0)](_0x4f5d51[_0x3d37f7(0x494)][_0x3d37f7(0x232)]);if(_0x135df5){const _0x567652=_0x135df5[_0x3d37f7(0x23d)]();if(!_0x567652)return;_0x21594e(_0x135df5[_0x3d37f7(0x2b7)](),_0x567652[_0x3d37f7(0x1bd)]());}};this[_0xc97941(0x332)](this['_commandService'][_0xc97941(0x413)](_0x1eadf5=>{const _0x29740a=_0xc97941;if(_0x1eadf5['id']===_0x55067d[_0x29740a(0x344)]['id']){const _0x4d658c=_0x1eadf5[_0x29740a(0x4a2)],_0x3ad239=_0x4d658c[_0x29740a(0x48c)],_0x41d592=_0x4d658c['unitId'];if(!_0x3ad239||!_0x41d592)return;_0x21594e(_0x41d592,_0x3ad239);}})),this[_0xc97941(0x332)](this[_0xc97941(0x4a1)]['pivotInitCompleted$'][_0xc97941(0x17d)](_0x546054=>{_0x546054&&_0x2ff0b6();})),this[_0xc97941(0x332)](this[_0xc97941(0x4a1)]['pivotConfigChange$'][_0xc97941(0x17d)](_0x5b25bf=>{const _0x577663=_0x55067d['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x577663)return;const {unitId:_0x3572bf,subUnitId:_0x2b0d99}=_0x577663,{unitId:_0x3d6afd,subUnitId:_0x43540d}=_0x5b25bf;_0x3572bf!==_0x3d6afd||_0x2b0d99!==_0x43540d||_0x21594e(_0x3572bf,_0x2b0d99);})),_0x2ff0b6();}[_0x4d3dd6(0x38e)](_0xe4eafc,_0x918e8d,_0x432604){const _0x543c00=_0x4d3dd6;switch(_0xe4eafc['id']){case _0x55067d[_0x543c00(0x2f2)]['id']:return this[_0x543c00(0x1b9)](_0xe4eafc[_0x543c00(0x4a2)],_0x918e8d,_0x432604);}return{'redos':[],'undos':[]};}[_0x4d3dd6(0x1b9)](_0x29cb57,_0x635e3f,_0x310a77){const _0x3ec964=_0x4d3dd6,{fromRange:_0x52af43,toRange:_0x11dd98}=_0x29cb57,_0x3fd6f1=[],_0x42658a=[],_0x3ce933=_0x55067d[_0x3ec964(0x19f)](this['_univerInstanceService']);if(!_0x3ce933)return{'undos':_0x42658a,'redos':_0x3fd6f1};if(_0x635e3f!==_0x3ce933[_0x3ec964(0x256)]||_0x310a77!==_0x3ce933[_0x3ec964(0x48c)])return{'undos':_0x42658a,'redos':_0x3fd6f1};const _0x289563=this[_0x3ec964(0x4a1)]['getSubUnitPivotConfigs'](_0x635e3f,_0x310a77);if(_0x289563!=null&&_0x289563[_0x3ec964(0x40d)])for(const [_0x1ba2dc,_0x279371]of _0x289563){const {unitId:_0x29ab2c,subUnitId:_0x22e078,row:_0x139c91,col:_0x2eed15}=_0x279371['targetCellInfo'];if(_0x29ab2c===_0x3ce933['unitId']&&_0x22e078===_0x3ce933[_0x3ec964(0x48c)]){const _0x82d7ec=_0x4f5d51[_0x3ec964(0x395)](_0x139c91,_0x2eed15);if(_0x4f5d51[_0x3ec964(0x38c)][_0x3ec964(0x23e)](_0x82d7ec,_0x52af43)){const _0x509757=_0x139c91-_0x52af43[_0x3ec964(0x275)],_0x5a1d1d=_0x2eed15-_0x52af43[_0x3ec964(0x441)],_0x31b942={'row':_0x11dd98['startRow']+_0x509757,'col':_0x11dd98[_0x3ec964(0x441)]+_0x5a1d1d};_0x3fd6f1[_0x3ec964(0x2b0)]({'id':_0x3ac2e1['id'],'params':{'unitId':_0x29ab2c,'subUnitId':_0x22e078,'pivotTableId':_0x1ba2dc,'targetCellPosition':_0x31b942}}),_0x42658a['push']({'id':_0x3ac2e1['id'],'params':{'unitId':_0x29ab2c,'subUnitId':_0x22e078,'pivotTableId':_0x1ba2dc,'targetCellPosition':{'row':_0x139c91,'col':_0x2eed15}}});const _0x50d083=_0x31b942[_0x3ec964(0x46e)]-_0x139c91,_0x51dacc=_0x31b942[_0x3ec964(0x283)]-_0x2eed15,_0x57ed4e=[],_0x5d6692=this[_0x3ec964(0x490)]['getPivotItemRenderInfoCache'](_0x29ab2c,_0x22e078,_0x1ba2dc),_0x4153c8=_0x5d6692==null?void 0x0:_0x5d6692['rangesInfo'];if(_0x4153c8){Object[_0x3ec964(0x350)](_0x4153c8)[_0x3ec964(0x3bb)](_0x2c4957=>{const _0x5b2b0a=_0x3ec964;_0x4153c8[_0x2c4957][_0x5b2b0a(0x3bb)](_0x405072=>{const _0x3ee031=_0x5b2b0a,_0x5d85d5={..._0x405072};_0x5d85d5[_0x3ee031(0x275)]=_0x405072['startRow']+_0x50d083,_0x5d85d5[_0x3ee031(0x460)]=_0x405072[_0x3ee031(0x460)]+_0x50d083,_0x5d85d5[_0x3ee031(0x441)]=_0x405072['startColumn']+_0x51dacc,_0x5d85d5[_0x3ee031(0x2fb)]=_0x405072[_0x3ee031(0x2fb)]+_0x51dacc,_0x57ed4e[_0x3ee031(0x2b0)](_0x5d85d5);});});const _0x3777dd=this[_0x3ec964(0x2be)][_0x3ec964(0x317)]({'unitId':_0x29ab2c,'subUnitId':_0x22e078,'ranges':_0x57ed4e});_0x3fd6f1['push'](..._0x3777dd[_0x3ec964(0x234)]),_0x42658a['push'](..._0x3777dd[_0x3ec964(0x2d2)]);const _0x55db3a=_0x43cd0f(this['_injector'],_0x29ab2c,_0x22e078,_0x57ed4e);_0x55db3a[_0x3ec964(0x32c)]&&(_0x3fd6f1[_0x3ec964(0x2b0)](_0x55db3a[_0x3ec964(0x2df)]),_0x42658a[_0x3ec964(0x2b0)](_0x55db3a[_0x3ec964(0x201)]));}}}}return{'redos':_0x3fd6f1,'undos':_0x42658a};}};_0x9ee01d=_0x794ff0([_0x385800(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x385800(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d[_0x4d3dd6(0x3ca)])),_0x385800(0x2,_0x4f5d51[_0x4d3dd6(0x4a4)]),_0x385800(0x3,_0x4f5d51[_0x4d3dd6(0x343)]),_0x385800(0x4,_0x4f5d51['Inject'](_0xc194b8[_0x4d3dd6(0x478)])),_0x385800(0x5,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8['SheetsPivotTableAdaptorModel'])),_0x385800(0x6,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d[_0x4d3dd6(0x18a)]))],_0x9ee01d);var _0x28728f=Object['getOwnPropertyDescriptor'],_0x16bb75=(_0x1451d0,_0x22d5ee,_0x16a49b,_0x182116)=>{const _0x400dcd=_0x4d3dd6;for(var _0x4a9888=_0x182116>0x1?void 0x0:_0x182116?_0x28728f(_0x22d5ee,_0x16a49b):_0x22d5ee,_0x5690d9=_0x1451d0[_0x400dcd(0x425)]-0x1,_0x585283;_0x5690d9>=0x0;_0x5690d9--)(_0x585283=_0x1451d0[_0x5690d9])&&(_0x4a9888=_0x585283(_0x4a9888)||_0x4a9888);return _0x4a9888;},_0x24ea00=(_0x4e0417,_0x20471a)=>(_0x25672c,_0x12f6b3)=>_0x20471a(_0x25672c,_0x12f6b3,_0x4e0417);let _0x8c3497=class extends _0x4f5d51['Disposable']{constructor(_0x2949ba,_0x52dc1f){const _0x3fa66c=_0x4d3dd6;super(),this[_0x3fa66c(0x2be)]=_0x2949ba,this[_0x3fa66c(0x4a1)]=_0x52dc1f,this['_initRemoveSheetCommandInterceptor']();}[_0x4d3dd6(0x313)](){const _0x20dbc6=_0x4d3dd6;this[_0x20dbc6(0x332)](this[_0x20dbc6(0x2be)][_0x20dbc6(0x21c)]({'getMutations':_0x32f172=>{const _0x1e3218=_0x20dbc6;if(_0x32f172['id']===_0x55067d[_0x1e3218(0x386)]['id']){const _0x11e407=[],_0x5cbec1=[],_0x16bdcc=_0x32f172[_0x1e3218(0x4a2)],{unitId:_0x3afd2a,subUnitId:_0x25ffec}=_0x16bdcc;if(!_0x3afd2a||!_0x25ffec)return{'undos':_0x5cbec1,'redos':_0x11e407};const _0x5d8387=this[_0x1e3218(0x4a1)][_0x1e3218(0x27e)](_0x3afd2a,_0x25ffec);if(_0x5d8387!=null&&_0x5d8387[_0x1e3218(0x40d)])for(const [_0xbba5ed,_0x528e32]of _0x5d8387){_0x11e407[_0x1e3218(0x2b0)]({'id':_0x9a990a['id'],'params':{'unitId':_0x3afd2a,'subUnitId':_0x25ffec,'pivotTableId':_0xbba5ed}});const _0x466986={...this[_0x1e3218(0x4a1)][_0x1e3218(0x2a4)](_0x3afd2a,_0xbba5ed)};_0x5cbec1[_0x1e3218(0x2b0)]({'id':_0x115c42['id'],'params':{'unitId':_0x3afd2a,'subUnitId':_0x25ffec,'pivotTableId':_0xbba5ed,'pivotTableConfig':_0x528e32,'collectionConfig':_0x466986}});}return{'redos':_0x11e407,'undos':_0x5cbec1};}return{'redos':[],'undos':[]};}}));}};_0x8c3497=_0x16bb75([_0x24ea00(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x55067d['SheetInterceptorService'])),_0x24ea00(0x1,_0x4f5d51['Inject'](_0xc194b8[_0x4d3dd6(0x478)]))],_0x8c3497);var _0x5f30d6=Object['getOwnPropertyDescriptor'],_0x4ed41c=(_0x51b4e5,_0x424856,_0x277328,_0x266ef4)=>{const _0x456666=_0x4d3dd6;for(var _0x3e2ef0=_0x266ef4>0x1?void 0x0:_0x266ef4?_0x5f30d6(_0x424856,_0x277328):_0x424856,_0x3e6016=_0x51b4e5[_0x456666(0x425)]-0x1,_0x57ecdf;_0x3e6016>=0x0;_0x3e6016--)(_0x57ecdf=_0x51b4e5[_0x3e6016])&&(_0x3e2ef0=_0x57ecdf(_0x3e2ef0)||_0x3e2ef0);return _0x3e2ef0;},_0x9aeaf8=(_0x25fdec,_0x3a3959)=>(_0x16596c,_0x3a1818)=>_0x3a3959(_0x16596c,_0x3a1818,_0x25fdec);let _0x1e2d98=class extends _0x4f5d51[_0x4d3dd6(0x23b)]{constructor(_0xbd4bc9,_0x25e132,_0x2bb5f4,_0x21fb3d,_0x222e2c,_0x55d739){const _0x771a3b=_0x4d3dd6;super(),this[_0x771a3b(0x1fa)]=_0xbd4bc9,this[_0x771a3b(0x25d)]=_0x25e132,this[_0x771a3b(0x490)]=_0x2bb5f4,this[_0x771a3b(0x4a1)]=_0x21fb3d,this[_0x771a3b(0x416)]=_0x222e2c,this[_0x771a3b(0x358)]=_0x55d739,this[_0x771a3b(0x454)](),this[_0x771a3b(0x423)]();}[_0x4d3dd6(0x454)](){const _0x3b6194=_0x4d3dd6;this[_0x3b6194(0x332)](this[_0x3b6194(0x1fa)][_0x3b6194(0x413)](_0x37ab38=>{const _0x247b5d=_0x3b6194;if(_0x37ab38['id']!==_0x1b131b['id'])return;const _0x53ad81=_0x37ab38['params'];this[_0x247b5d(0x25d)][_0x247b5d(0x35b)](_0x53ad81);})),this['disposeWithMe'](this['_commandService'][_0x3b6194(0x413)](_0x4746ab=>{const _0x415077=_0x3b6194;if(_0x4746ab['id']===_0x49ce0e['id']){const _0x2dc964=_0x4746ab[_0x415077(0x4a2)];if(_0x2dc964){const {unitId:_0x238bb4,subUnitId:_0x9cb303,oldSubUnitId:_0x127a76,pivotTableId:_0x3065b5,pivotTableConfig:_0x5df2eb,collectionConfig:_0x232ab7}=_0x2dc964;this['_sheetsPivotTableConfigModel'][_0x415077(0x1f6)](_0x238bb4,_0x127a76,_0x2dc964['pivotTableId'],null),this[_0x415077(0x4a1)][_0x415077(0x1f6)](_0x238bb4,_0x9cb303,_0x3065b5,_0x5df2eb),this[_0x415077(0x4a1)]['updateCollectionConfig'](_0x238bb4,_0x232ab7);}}})),this[_0x3b6194(0x332)](this[_0x3b6194(0x1fa)][_0x3b6194(0x413)](_0x5abd17=>{const _0x310e52=_0x3b6194;if(_0x5abd17['id']!==_0x48aa26['id'])return;const _0xdaefd7=_0x55067d[_0x310e52(0x19f)](this[_0x310e52(0x416)]);if(!_0xdaefd7)return;const {unitId:_0x4f64c9,subUnitId:_0x4a137d}=_0xdaefd7,_0xd85ed=_0x5abd17['params'];if(_0xd85ed[_0x310e52(0x193)]&&Object[_0x310e52(0x350)](_0xd85ed[_0x310e52(0x193)])[_0x310e52(0x3bb)](_0x1a7cc2=>{const _0x5c8f92=_0x310e52;var _0x1a8edd;(_0x1a8edd=_0xd85ed[_0x5c8f92(0x193)])!=null&&_0x1a8edd[_0x1a7cc2]&&this[_0x5c8f92(0x4a1)][_0x5c8f92(0x3a8)](_0x1a7cc2,_0xd85ed[_0x5c8f92(0x193)][_0x1a7cc2]);}),_0xd85ed[_0x310e52(0x2a5)]){const _0x37403d=_0xd85ed[_0x310e52(0x2a5)],{unitId:_0xcad4f9,subUnitId:_0x1a8fe2,view:_0x4f8788,pivotTableId:_0x1d375b,type:_0x1851d8,pivotConfig:_0x422fff}=_0x37403d;if(_0x1851d8===_0x50514a[_0x310e52(0x397)])this[_0x310e52(0x490)][_0x310e52(0x1bb)]({'unitId':_0xcad4f9,'subUnitId':_0x1a8fe2,'pivotTableId':_0x1d375b,'type':_0x1851d8}),this[_0x310e52(0x4a1)][_0x310e52(0x1f6)](_0xcad4f9,_0x1a8fe2,_0x1d375b,null);else{const _0x45b9b6=new _0x1dcf85[(_0x310e52(0x1c3))]();_0x45b9b6['formJSON'](_0x4f8788),this[_0x310e52(0x4a1)][_0x310e52(0x1f6)](_0xcad4f9,_0x1a8fe2,_0x1d375b,_0x422fff),this[_0x310e52(0x490)]['clearRenderCache']({'unitId':_0xcad4f9,'subUnitId':_0x1a8fe2,'pivotTableId':_0x1d375b,'type':_0x1851d8,'view':_0x45b9b6}),this['_sheetsPivotTableAdaptorModel'][_0x310e52(0x48b)]({'unitId':_0xcad4f9,'subUnitId':_0x1a8fe2,'view':_0x45b9b6,'pivotTableId':_0x1d375b,'type':_0x1851d8});}}else _0xd85ed['batch']&&(_0xd85ed[_0x310e52(0x196)]['forEach'](_0x2fa106=>{const _0x3528cf=_0x310e52,{unitId:_0x1073f2,subUnitId:_0x2b3e4d,view:_0x1e2e29,pivotTableId:_0x17f2e9,type:_0xb8b640,pivotConfig:_0x1ea938}=_0x2fa106,_0x2e83ed=new _0x1dcf85[(_0x3528cf(0x1c3))]();_0x2e83ed[_0x3528cf(0x433)](_0x1e2e29),this[_0x3528cf(0x4a1)][_0x3528cf(0x1f6)](_0x1073f2,_0x2b3e4d,_0x17f2e9,_0x1ea938),this[_0x3528cf(0x490)][_0x3528cf(0x48b)]({'unitId':_0x1073f2,'subUnitId':_0x2b3e4d,'view':_0x2e83ed,'pivotTableId':_0x17f2e9,'type':_0xb8b640});}),this[_0x310e52(0x4a1)][_0x310e52(0x426)]());this[_0x310e52(0x490)][_0x310e52(0x1b8)](_0x4f64c9,_0x4a137d);}));}[_0x4d3dd6(0x423)](){const _0x56937f=_0x4d3dd6;this[_0x56937f(0x358)][_0x56937f(0x4aa)](_0x2af18f['id'],{'commandId':_0x2af18f['id'],'getDirtyData'(_0x326c14){const _0x4cd3c8=_0x56937f;return{'dirtyUnitFeatureMap':_0x326c14[_0x4cd3c8(0x4a2)]};}});}};_0x1e2d98=_0x4ed41c([_0x9aeaf8(0x0,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x4a4)])),_0x9aeaf8(0x1,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x183)])),_0x9aeaf8(0x2,_0x4f5d51['Inject'](_0xc194b8[_0x4d3dd6(0x1a3)])),_0x9aeaf8(0x3,_0x4f5d51[_0x4d3dd6(0x2bc)](_0xc194b8[_0x4d3dd6(0x478)])),_0x9aeaf8(0x4,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x343)])),_0x9aeaf8(0x5,_0x2f1667['IActiveDirtyManagerService'])],_0x1e2d98);var _0x53c007=Object[_0x4d3dd6(0x3b5)],_0x2b25a7=Object['getOwnPropertyDescriptor'],_0x2e8ca=(_0x56d33e,_0x3d2ddf,_0xbe7ad9)=>_0x3d2ddf in _0x56d33e?_0x53c007(_0x56d33e,_0x3d2ddf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbe7ad9}):_0x56d33e[_0x3d2ddf]=_0xbe7ad9,_0x1c9088=(_0x5ec980,_0x5b66d7,_0x33c03b,_0x4dbb6e)=>{const _0x90bda8=_0x4d3dd6;for(var _0x39f19c=_0x4dbb6e>0x1?void 0x0:_0x4dbb6e?_0x2b25a7(_0x5b66d7,_0x33c03b):_0x5b66d7,_0x25b5be=_0x5ec980[_0x90bda8(0x425)]-0x1,_0x23216c;_0x25b5be>=0x0;_0x25b5be--)(_0x23216c=_0x5ec980[_0x25b5be])&&(_0x39f19c=_0x23216c(_0x39f19c)||_0x39f19c);return _0x39f19c;},_0x12ddb4=(_0x2a877b,_0x398b67)=>(_0x53bbf4,_0x495726)=>_0x398b67(_0x53bbf4,_0x495726,_0x2a877b),_0x357dab=(_0x5eb1da,_0x24844f,_0x2d347e)=>_0x2e8ca(_0x5eb1da,typeof _0x24844f!=_0x4d3dd6(0x310)?_0x24844f+'':_0x24844f,_0x2d347e);_0xc194b8[_0x4d3dd6(0x2dc)]=class extends _0x4f5d51['Plugin']{constructor(_0x49bbd5=_0x264f07,_0x196030,_0x329fc1,_0x2833a4,_0x32bb9a){const _0x15c86b=_0x4d3dd6;super(),this[_0x15c86b(0x312)]=_0x49bbd5,this[_0x15c86b(0x21f)]=_0x196030,this[_0x15c86b(0x1fa)]=_0x329fc1,this[_0x15c86b(0x19a)]=_0x2833a4,this[_0x15c86b(0x47a)]=_0x32bb9a;const {..._0x1b7aa7}=_0x4f5d51[_0x15c86b(0x198)]({},_0x264f07,this[_0x15c86b(0x312)]);this['_configService'][_0x15c86b(0x3d2)](_0x46553a,_0x1b7aa7),this[_0x15c86b(0x44f)](),this[_0x15c86b(0x4a9)]();}['_initConfig'](){const _0xfc66b3=_0x4d3dd6;var _0x89f5be;const _0x40fa5a=(_0x89f5be=this[_0xfc66b3(0x312)])==null?void 0x0:_0x89f5be[_0xfc66b3(0x42e)];this[_0xfc66b3(0x19a)][_0xfc66b3(0x3d2)](_0x57486b,_0x40fa5a===!0x0);}[_0x4d3dd6(0x1bc)](){const _0x196479=_0x4d3dd6;var _0x3a74f5;let _0x2aa21e=[];const _0x53b104=(_0x3a74f5=this[_0x196479(0x312)])==null?void 0x0:_0x3a74f5[_0x196479(0x42e)];_0x53b104===!0x0?_0x2aa21e=[[_0xc194b8[_0x196479(0x324)]],[_0xc194b8[_0x196479(0x183)]],[_0x1e2d98],[_0xc194b8['SheetsPivotTableAdaptorModel']],[_0xc194b8[_0x196479(0x478)]],[_0x8c3497],[_0x485d62],[_0x9ee01d],[_0x1e372e]]:_0x53b104===!0x1?_0x2aa21e=[[_0xc194b8[_0x196479(0x334)]],[_0x3da052]]:_0x53b104===void 0x0&&(_0x2aa21e=[[_0xc194b8['SheetsPivotDataSourceModel']],[_0x3da052],[_0xc194b8[_0x196479(0x324)]],[_0xc194b8[_0x196479(0x183)]],[_0x1e2d98],[_0xc194b8[_0x196479(0x1a3)]],[_0xc194b8[_0x196479(0x478)]],[_0x8c3497],[_0x485d62],[_0x9ee01d],[_0x1e372e]]),_0x2aa21e[_0x196479(0x3bb)](_0x101247=>this['_injector'][_0x196479(0x205)](_0x101247)),[_0x3da052,_0x1e2d98,_0xc194b8[_0x196479(0x324)],_0x485d62,_0x8c3497,_0x9ee01d,_0x1e372e][_0x196479(0x3bb)](_0x4528c0=>{const _0x246cbe=_0x196479;this[_0x246cbe(0x21f)][_0x246cbe(0x285)](_0x4528c0)&&this[_0x246cbe(0x21f)]['get'](_0x4528c0);});}[_0x4d3dd6(0x44f)](){const _0x5f1cac=_0x4d3dd6;[_0x83ba6,_0x53b1d4,_0x19bc7a,_0x3053b6,_0x8204b2,_0x2ce565,_0x519a75,_0x457d7c,_0x54a601,_0x509731,_0x31875d,_0x3d0092,_0x39afed,_0x39e708,_0x115c42,_0x258ede,_0x9a990a,_0x16ebb3,_0x14082e,_0xfc59ce,_0x2cbbdf,_0x39167d,_0x326ac3,_0x53817a,_0x18cf20,_0x50eaec,_0x3ac2e1,_0x15f1cc,_0x1b131b,_0x48aa26,_0x3857da,_0x32c67c,_0x3822f3,_0x815402,_0x29aa46,_0x83b693,_0x4fe954,_0x2af18f,_0x49ce0e,_0x1543e7,_0x4570ce,_0x5bcf14,_0x3877bb][_0x5f1cac(0x3bb)](_0x275cc4=>{const _0x267146=_0x5f1cac;var _0x366d2f;(_0x366d2f=this[_0x267146(0x47a)])==null||_0x366d2f['registerSyncingMutations'](_0x275cc4),this[_0x267146(0x1fa)][_0x267146(0x3c2)](_0x275cc4);});}},_0x357dab(_0xc194b8[_0x4d3dd6(0x2dc)],_0x4d3dd6(0x282),_0x51ad8b),_0x357dab(_0xc194b8['UniverSheetsPivotTablePlugin'],_0x4d3dd6(0x309),_0x4f5d51[_0x4d3dd6(0x494)]['UNIVER_SHEET']),_0xc194b8['UniverSheetsPivotTablePlugin']=_0x1c9088([_0x4f5d51[_0x4d3dd6(0x448)](_0x25d21e['UniverLicensePlugin']),_0x12ddb4(0x1,_0x4f5d51['Inject'](_0x4f5d51[_0x4d3dd6(0x42f)])),_0x12ddb4(0x2,_0x4f5d51[_0x4d3dd6(0x2bc)](_0x4f5d51[_0x4d3dd6(0x4a4)])),_0x12ddb4(0x3,_0x4f5d51[_0x4d3dd6(0x189)]),_0x12ddb4(0x4,_0x4f5d51[_0x4d3dd6(0x2ad)](_0x54165e[_0x4d3dd6(0x3d5)]))],_0xc194b8[_0x4d3dd6(0x2dc)]),_0xc194b8['AddPivotFieldCommand']=_0x19bc7a,_0xc194b8[_0x4d3dd6(0x41c)]=_0x16ebb3,_0xc194b8[_0x4d3dd6(0x402)]=_0x53b1d4,_0xc194b8[_0x4d3dd6(0x1fe)]=_0x115c42,_0xc194b8[_0x4d3dd6(0x47f)]=_0x83ba6,_0xc194b8['BLANK_ROW_COUNT']=_0x124551,_0xc194b8[_0x4d3dd6(0x32f)]=_0x42e383,_0xc194b8[_0x4d3dd6(0x2ba)]=_0x3053b6,_0xc194b8[_0x4d3dd6(0x227)]=_0x39afed,_0xc194b8[_0x4d3dd6(0x49f)]=_0x2fe1bc,_0xc194b8[_0x4d3dd6(0x222)]=_0x39e708,_0xc194b8[_0x4d3dd6(0x1f4)]=_0x50514a,_0xc194b8[_0x4d3dd6(0x3b3)]=_0x2af18f,_0xc194b8[_0x4d3dd6(0x32a)]=_0xab386e,_0xc194b8[_0x4d3dd6(0x3c6)]=_0x8204b2,_0xc194b8[_0x4d3dd6(0x2cf)]=_0x39167d,_0xc194b8['RemovePivotTableMutation']=_0x9a990a,_0xc194b8[_0x4d3dd6(0x2b8)]=_0x326ac3,_0xc194b8['ResetPivotFieldsConfigCommand']=_0x3877bb,_0xc194b8[_0x4d3dd6(0x469)]=_0x46553a,_0xc194b8[_0x4d3dd6(0x391)]=_0x51ad8b,_0xc194b8['SetPivotCollapseCommand']=_0x457d7c,_0xc194b8[_0x4d3dd6(0x1e1)]=_0x53817a,_0xc194b8[_0x4d3dd6(0x3cb)]=_0x815402,_0xc194b8[_0x4d3dd6(0x1ae)]=_0x5bcf14,_0xc194b8[_0x4d3dd6(0x2b3)]=_0x509731,_0xc194b8[_0x4d3dd6(0x39f)]=_0x2cbbdf,_0xc194b8[_0x4d3dd6(0x2d3)]=_0x50eaec,_0xc194b8[_0x4d3dd6(0x482)]=_0x3ac2e1,_0xc194b8['SetPivotSortCommand']=_0x54a601,_0xc194b8['SetPivotSortMutation']=_0x18cf20,_0xc194b8[_0x4d3dd6(0x375)]=_0x3822f3,_0xc194b8['SetPivotValueFilterCommand']=_0x1543e7,_0xc194b8[_0x4d3dd6(0x3a7)]=_0x4570ce,_0xc194b8[_0x4d3dd6(0x257)]=_0x519a75,_0xc194b8[_0x4d3dd6(0x3ff)]=_0x3857da,_0xc194b8[_0x4d3dd6(0x18d)]=_0x31875d,_0xc194b8[_0x4d3dd6(0x250)]=_0x4fe954,_0xc194b8[_0x4d3dd6(0x1f0)]=_0x3d0092,_0xc194b8['UpdatePivotTableSourceRangeMutation']=_0x83b693,_0xc194b8[_0x4d3dd6(0x1ba)]=_0x2ce565,_0xc194b8[_0x4d3dd6(0x329)]=_0x32c67c,_0xc194b8[_0x4d3dd6(0x23f)]=_0x42b781,_0xc194b8['canUsePivot']=_0x75d115,_0xc194b8[_0x4d3dd6(0x3a9)]=_0xee2008,_0xc194b8[_0x4d3dd6(0x3ba)]=_0x43cd0f,_0xc194b8[_0x4d3dd6(0x28b)]=_0x2b9699,_0xc194b8['getEmptyPivotRanges']=_0x56fc8d,_0xc194b8[_0x4d3dd6(0x3a6)]=_0x17d2a7,_0xc194b8[_0x4d3dd6(0x30d)]=_0x15adda,_0xc194b8[_0x4d3dd6(0x438)]=_0x5a95c9,_0xc194b8[_0x4d3dd6(0x455)]=_0x231f35,_0xc194b8[_0x4d3dd6(0x42b)]=_0x1ac3c9,_0xc194b8['transFromCellValue']=_0x2590fc,_0xc194b8[_0x4d3dd6(0x18b)]=_0x1d908f,Object[_0x4d3dd6(0x3b5)](_0xc194b8,Symbol[_0x4d3dd6(0x2f6)],{'value':_0x4d3dd6(0x1ea)});}));