@univerjs-pro/sheets-pivot 0.6.10-experimental.20250410-d40d076 → 0.6.10-experimental.20250411-f5b7b16

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 _0x50dd(_0x2b07b2,_0x220693){const _0x332454=_0x3324();return _0x50dd=function(_0x50dd32,_0x14a391){_0x50dd32=_0x50dd32-0x77;let _0x200869=_0x332454[_0x50dd32];return _0x200869;},_0x50dd(_0x2b07b2,_0x220693);}function _0x3324(){const _0x3cd157=['updateView','stdDev','@univerjs/sheets','getCellRaw','sheets-pivot.countNumsName','_host','pushComputingStatusSubject','AddPivotTableCommand','sheets-pivot.varName','setPivotCollapse','movePivotField','_deleteModelCache','getAutoDisplayNameFunction','sheetName','setRangeValueUndoMutation','getDataFieldManager','_ensurePivotMap','DataField','charCodeAt','NotFunction','forValue','dataStream','width','IResourceManagerService','addPivotField','subUnitId','getNoUsedDataFieldIds','PivotDisplayDataType','interceptCommand','sheet.mutation.pivot-update-field-source-info','sheets-pivot.dateGroup.month','collectionChange$','@univerjs/sheets-filter','lastCol','paths','getPivotTableConfig','addCollectionByJSON','setDirty','intersects','sequenceExecute','setValueFilterInfo','SetPivotPositionMutation','RemoveSheetCommand','updateViewData','getDate','asyncInterceptor','pivotPerformCheck','DependentOn','Rectangle','defaultThemeStyle','getSubUnitPivotRenderCache','concat','getDisplayName','_localeService','subtotal','_sheetInterceptorService','collections','exports','asObservable','InterceptorEffectEnum','register','addField','UniverCore','UniverProSheetsPivot','targetCellInfo','_config','entries','removeValueFilterInfoByValueFieldId','NAME','getRangeKey','_ensurePivotItemRenderValueMatrixCache','hasField','_ensurePivotTableMatrixInfo','setSubtotalType','sheet.command.move-pivot-field','sheet.command.set-pivot-filter','cellToRange','UNIVER_SHEET','Value','_pivotTableMatrixInfo','pivotTableId','from','Tools','_fieldsCollectionChange$','_pivotRenderInfoCache','Quarter','document','PivotTableValuePositionEnum','Count\x20of\x20','Sum\x20of\x20','sheet.command.set-pivot-sort','_globalComputedStartHelpFunc','sheets-pivot.cellDateGroupDisplay.date','Date','getCellMatrix','setOptions','sheet.operation.pivot-table-view-formula-mark-dirty','setTextInfo','_initDataSendListener','FontCache','_ensurePivotItemRenderInfoCache','MoveRangeCommand','PivotCellStyleTypeEnum','serializeRangeWithSpreadsheet','valueFields','existing','_textInfo','toJSON','GrandTotal','isPrefixValue','setRangeValueRedoMutation','valid','sheets-pivot.blank','token','_resourceManagerService','executeCommand','interceptor','maxDate','drillDown','startRow','dataFields','PivotDateGroupFieldDateTypeEnum','sheets-pivot.grandTotal','InsertRowMutation','COLUMN','PIVOT_MUTATION_GENERATE','get','InterceptorManager','_commandService','SHEET_PIVOT_IN_MAIN_THREAD','Min\x20of\x20','SetPivotFilter','generateNewSheetName','SheetsPivotTableService','textInfo','limit\x20pivot','blank','random','forEach','Module','handleSourceRangeChange','_createExclusiveRange','getDirtyInfo','isDateGroupFieldJSON','SetCollapse','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','toStringTag','rangeCache','LS_CONFIG_KEY','_sheetsPivotTableConfigModel','SetPivotSort','foreach','_initGlobalComputed','getSheetBySheetName','fieldIds','fields','getMatrix','pluginName','IExclusiveRangeService','fetchThroughAsyncInterceptors','remove','isArray','row','sheets-pivot.sumName','addCollection','colRanges','startColumn','IUniverInstanceService','generateHexNumber','filterInfo','some','options','getSheets','contains','ErrorType','number','DrillDown','hasOwnProperty','SetWorksheetActiveOperation','isBaseGroupField','endColumn','update','addExclusiveRange','@univerjs-pro/license','SheetsPivotTableAdaptorModel','getDataFieldId','sheets-pivot.productName','format','SetPivotFieldsConfigCommand','_sheetsPivotTableAdaptorModel','_univerInstanceService','setDataRecordCount','setValue','next','removePivotTable','registerCallbackWithEvent','isColMultiMeasure','new','STRING','getUnitId','_pivotTableInstanceCache','unshiftString','createDataFieldId','getFilterFieldIdByIndex','body','displayName','UpdateDateGroupCommand','addFieldWithSourceId','substring','getCurrentSelections','DataFieldManager','updateFieldPosition','getPivotPerformCheck','AddPivotTable','_pivotConfigChange$','addPivotTable','ReleaseType','tuple','getFieldInfo','sortInfo','getPivotItemRenderInfoCache','registerCommand','@univerjs-pro/engine-pivot','getIndexesByPathStr','pivotConfigChange$','onQueryEnd','sheets-pivot.maxName','_viewData','setRange','getSheetId','getPivotTableRangeInfo','_globalSubject','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getDataFieldByDataFieldId','New','getAutoFitColumnsMutations','info','rangeKeyMap','getUnit','setLabelFilterInfo','setSourceName','adjustSheetCellData','getSheetBySheetId','getTypeOfUnitDisposed$','RenamePivotFieldMutation','updateRenderCache','params','add','getAutoDisplayName','_pivotInitCompleted$','result','delete','getFilterInfo','Add','_requestResolvers','NUMBER','Column\x20','sheets-pivot.dateGroup.hour','PivotSubtotalTypeEnum','_featureCalculationManagerService','getAdjustRangesPosition','versions','(Blank)','pushUndoRedo','Set','onQueryStart','131967NkCAqr','unshift','tableFieldId','pageStyle','_updateModelCache','getInfo','defineProperty','RemovePivotFieldMutation','notExecuteFormula','deepClone','updateDataFieldsCollection','deleteUnitId','Subtotal','_initPivotTextInfo','configVersion$','rangeKey','merge','reduce','PivotViewCellValueTypeEnum','applyChangeSet','getViewData','addDataFieldWithoutUnitInfo','name','DEFAULT_WORKSHEET_ROW_COUNT','_subjectFieldsCollectionChange','removePivotField','IConfigService','getTargetByPivotTableId','isBottomTotal','removeCollections','amd','YearQuarter','MoveRangeMutation','getConfig','areaInfo','pbt','disposeWithMe','type','startCollectChangeset','sheet.mutation.remove-pivot-table','headerMap','getFullYear','getTableFieldById','SetPivotValueFilterMutation','UpdatePivotValuePositionCommand','sheet.command.reset-pivot-fields-config','slice','_refRangeHandle','queryDirtyPivotTable','100194RzUUgS','ClearSelectionContentCommand','generateNullCell','_ensureViewDataMap','#f4f4f5','subscribe','rangeType','updatePivotSource','rgb(255,255,255)','sheet.mutation.set-pivot-format','isDateValue','getFieldPositionInfoById','REF','MIN_SAFE_INTEGER','Minute','getActiveSheet','lastRow','95LWuzlC','_markDirty$','fieldsConfig','getInsertRowColMutations','collection','sheet.command.set-pivot-fields-config','push','sheet.command.set-pivot-field-setting','MonthDate','PivotTableChangeTypeEnum','updateValuePosition','sheet.mutation.update-pivot-table-source-range','collapseInfo','UpdatePivotSource','Month','dataFieldsCollection','size','getTargetByPivotId','getDataFieldByTableId','getColumnWidth','Row','rangesInfo','originalFieldId','measure','dataFieldId','endRow','_dataSyncPrimaryController','MUTATION','ptn','undos','COMMAND','updatePivotTableRangeInfo','getCurrentUnitForType','getValueIndex','single','FORCE_STRING','bind','col','Filter','sheets-pivot.dateGroup.yearQuarter','setDisplayName','colStyle','sheets-pivot.stdDevName','Grand\x20Total','UpdatePivotTableSourceRangeMutation','getOwnPropertyDescriptor','panel','getLastRow','iterateField','SetPivotTableConfig','getValueFilterInfos','_sheetsPivotTableService','floor','sheets-pivot.cellDateGroupDisplay.month','has','setPivotSetting','PivotDataFieldDataTypeEnum','mergeWorksheetSnapshotWithDefault','SetPivotSetting','sheet.mutation.rename-pivot-field','return\x20','_viewUpdate$','_sheetsSelectionsService','cornerStyle','UpdatePivotFieldSettingCommand','sheet.command.pivot-drill-down','column','sheet.mutation.remove-group-collection','SetSubtotalType','getMatrixValue','rowStyle','sheets-pivot.emptyPivot.column','valueIndex','_getAutoName','_deletePivotTableInstanceCache','SetPivotCollapseCommand','IActiveDirtyManagerService','getSubUnitPivotConfigs','DEFAULT_PIVOT_NUMBER','level','matrix','IUndoRedoService','Inject','clearExclusiveRangesByGroupId','MovePivotTableCommand','_subjectCollectionChange','getPivotTableInfo','updateRangeKeyMap','AddPivotField','_refRangeService','_subjectViewChange','refreshGroupField','NORMAL','getPivotDisplayConfig','SetOptions','sum','#e6ebfa','parse','unionPivotViewRange','InsertSheetUndoMutationFactory','setFieldFormat','setName','1822220iUrdcR','DisposableCollection','_globalComputingSrv','ObjectMatrix','Delete','_initPivotDataGetListener','DataSyncPrimaryController','sheets-pivot.dateGroup.monthDate','varp','dimension','sheets-pivot.dateGroup.yearMonthDate','AddPivotTableWithConfig','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','dataRangeInfo','broadcastCollectionChange','Injector','PivotTableViewDirtyMarkOperation','_globalComputedEndHelpFunc','getValue','CELL_CONTENT','UniverSheetsFilter','pivotTableConfigs','deleteField','columnFields','SetPivotOptionMutation','realDeleteValue','UniverEngineRender','SetFieldFormat','_sheetsPivotRpcService','YearMonthDate','registerSyncingMutations','generateSetRangeValueMutations','canUsePivot','removeSourceRangeChange','setPivotTableConfig','registerRefRange','InsertSheetCommand','StdDev\x20of\x20','filter','range','getColCount','message','handleMoveRange','fromJSON','stringify','UniverProLicense','getTextInfo','SheetsPivotDataSourceModel','sheet.command.add-pivot-table','#e6ebfb','SetPivotValueFilterCommand','numfmt','_ensurePivotTableRangeInfo','SetValuePivotFilter','_configVersion$','formJSON','getFieldCountByArea','_sheetsPivotDataSourceModel','_initLocale','_initRegisterCommand','getSubUnitPivotMatrix','isFeatureAuthorizedWithinTime','CommandType','addRecord','MAX_SAFE_INTEGER','@univerjs/rpc','UpdateValuePosition','_pivotTableRangeInfo','unitId','refreshData','sheets-pivot.cellDateGroupDisplay.minute','LocaleService','sheet.command.set-pivot-value-filter','object','replace','needSameDeleteModel','refreshDataField','UpdateSource','_injector','SetRangeValuesMutation','362803QhAVzc','triggerDirtyFeature','colCount','values','sheet.mutation.pivot-update-field-position','sheets-pivot.emptyPivot.values','getLastCol','updateCollectionConfig','oldRangeInfo','updateConfig','getSheetFeatureLimit','Column','getIntersectsPivotTable','Max\x20of\x20','getFieldFormat','clearRenderCache','SetPivotCollapseMutation','markDirty','cornerRanges','version','INTERCEPTOR_POINT','createValueField','createInterceptorKey','query','getSortInfo','sheet.mutation.set-pivot-collapse','getId','UpdatePivotTableSourceRangeCommand','cornerInfo','RemoveField','function','splice','updateFieldSourceInfo','_generateUniqueVersion','minDate','viewData$','Year','PivotErrorTypeEnum','sheet.command.remove-pivot-field','error','_onRefRangeChange','getStyles','ResetPivotFieldsConfigCommand','updatePivotTableMatrixInfo','Varp\x20of\x20','SetPivotFilterCommand','getMatrixFromRunTimeData','addPivotTableWithConfig','symbol','sheets-pivot.cellDateGroupDisplay.hour','PivotView','UniverRpc','sheet.mutation.set-pivot-value-filter','MovePivotFieldCommand','16jGsdcI','getFieldIds','sheet.mutation.add-group-collection','getPivotTableModelConfig','pageRanges','Hour','AddPivotTableMutation','map','createAsyncInterceptorKey','BLANK_ROW_COUNT','sheets-pivot.minName','updateViewInfo','getPivotCellInfo','onCommandExecuted','_toJSON','valueFilter','endCollectChangeset','createCollectionWithDataRange','getRowCount','RemovePivotField','Div0','RemoveSheetsFilterMutation','@univerjs/core','_viewData$','sheet.mutation.set-pivot-filter','getIntersects','set','DateGroupField','SheetsSelectionsService','UniverLicensePlugin','getGroupFieldsInfoByIds','getOriginFieldId','YearMonth','NotName','PivotCallbackEnum','sheets-pivot.config','rowHeaderMap','initDataRanges','ResetPivotTable','_lifecycleService','custom','CellValueType','setPivotFilter','getMonth','registerDirtyService','getFieldById','pivotMutationGenerate','createLabelField','ManualFilter','uniqueDataFieldName','disposableCollection','sheet.command.update-date-group','getRangeKeyList','_initRemoveSheetCommandInterceptor','3325500dEEaJT','sheet.command.update-pivot-value-position','_initViewModelBySheetInterceptor','find','HourMinute','setDateType','Panel','setRangeKeyMap','sheet.command.add-pivot-field','getSubtotal','intercept','transFromCellValue','redos','_updateRenderEmptyCache','_initSnapshot','sheet.command.set-pivot-collapse','sheets.tabs.sheet','resetPivotTable','Subject','SheetInterceptorService','batch','fieldsCollectionChange$','keys','fontRenderExtension','removeCollectionImp','getSheetCommandTarget','parseInt','getFieldDataType','getSourceName','_activeDirtyManagerService','UpdatePivotFieldSourceInfoMutation','getPivotTableIdByCell','UniverInstanceType','SetPivotSortCommand','getTextSize','dateType','_collectionChange$','_dataFieldManagerCollection','updateConfigCache','ClearSelectionAllCommand','isErrorValue','sideEffectUpdateWorkerCache','pxo93aso\x20Pu9hfg3aso(Ya9uoMu,\x20gxNYa9Buf)\x20{\x20\x20\x20\x203hf\x20{\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Ya9uoMuLopsD7h3nhh7f\x20=\x20Ya9uoMu.MgYa3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20shaHaoGuMM7Hu\x20=\x20wrmF.g7hMu(73sN(Ya9uoMuLopsD7h3nhh7f[Q]));\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(!shaHaoGuMM7Hu.xP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shaHaoGuMM7Hu.xP\x20=\x20Fx4Nuh(Ya9uoMuLopsD7h3nhh7f[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20aM2shRuh\x20=\x203fgusp\x202shRuhtYsN7Yr9sgu\x20!==\x20\x27xoPupaouP\x27\x20&&\x20MuYp\x20aoM37o9usp\x202shRuhtYsN7Yr9sgu;\x20\x20\x20\x20\x20\x20\x20\x209soM3\x209so3ub3\x20=\x20aM2shRuh\x20?\x20MuYp\x20:\x20jaoPsj;\x20\x20\x20\x20\x20\x20\x20\x209soM3\x204uMM7Hu2shP\x20=\x209so3ub3.__67MuqK__.g7hMu(Ya9uoMuLopsD7h3nhh7f[Q]);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x204uMM7Hu\x20=\x209so3ub3.__cub__.M3haoHapf(4uMM7Hu2shP);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHo73xhu2shP\x20=\x209so3ub3.__67MuqK__.g7hMu(Ya9uoMuLopsD7h3nhh7f[C]);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHo73xhu\x20=\x209so3ub3.__cub__.M3haoHapf(MaHo73xhu2shP);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHoi7YaP\x20=\x209so3ub3.__Zuhapf__(MaHo73xhu,\x204uMM7Hu,\x20gxNYa9Buf);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Ps47ao\x20=\x20shaHaoGuMM7Hu.P4;\x20\x20\x20\x20\x20\x20\x20\x20pxo93aso\x20aMJs47aoG739IaoH(sD733uho,\x20scsM3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uho\x20=\x20sD733uho.hugY79u(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3\x20=\x20scsM3.hugY79u(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uhoD7h3M\x20=\x20g733uho.MgYa3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3D7h3M\x20=\x20IsM3.MgYa3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(!g733uho.ao9YxPuM(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20g733uho\x20===\x20IsM3;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(g733uhoD7h3M.YuoH3I\x20<\x20Q\x20||\x20g733uhoD7h3M[y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20p7YMu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uhorxppab\x20=\x20g733uhoD7h3M.MYa9u(X).Osao(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3rxppab\x20=\x20IsM3D7h3M.MYa9u(-g733uhoD7h3M.YuoH3I\x20+\x20X).Osao(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20g733uhorxppab\x20===\x20IsM3rxppab;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Yu3\x20Ps47aoi7YaP\x20=\x20(Ps47ao\x20&&\x20Ps47ao.YuoH3I)\x20?\x20Ps47ao.Ms4u((P4L3u4)\x20=>\x20aMJs47aoG739IaoH(P4L3u4,\x20Ys973aso.IsM3o74u))\x20:\x203hxu;\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(Ys973aso.IsM3o74u\x20===\x20\x27Ys97YIsM3\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ps47aoi7YaP\x20=\x203hxu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Z7YaP\x20=\x20MaHoi7YaP\x20&&\x20Ps47aoi7YaP;\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Z7YaP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204uMM7Hu:\x20shaHaoGuMM7Hu,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x209739I\x20(uhhsh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Z7YaP:\x20p7YMu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204uMM7Hu:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.subTotal','SetSheetsFilterRangeMutation','getUpdateRangeDeleteIds','Disposable','grandTotal','_updatePivotTableInstanceCache','setPivotTable','updateDirtyPivotTable','filterId','getInterceptPoints','shouldClear','sheets-pivot.dateGroup.hourMinute','Existing','setPivotInitCompleted','isValue','generateRandomId','sheets-pivot.emptyPivot.filter','getPivotTableInstance','sheet.mutation.set-pivot-field-subtotal-type','isNaN','Expand','sheets-pivot.cellDateGroupDisplay.year','SetWorksheetColWidthMutation','removeField','sheets-pivot.dateGroup.yearMonth','setSortInfo','sheet.command.add-pivot-table-with-config','iterateFieldByArea','#FFFFFF','_initConfig','setPivotSort','_initClearSelectionCommandInterceptor','length','SetPivotFilterMutation','workbook\x20is\x20not\x20found','SetPivotSubtotalTypeMutation','ICommandService','dispose','MovePivotField','setCollapse','rxjs','UniverSheetsPivotTablePlugin','date','SHEET_PIVOT_TABLE_PLUGIN','min','getName','InsertSheetMutation','isEmpty','includes','rowRanges','getPivotTableCellData','getHeaderMapItem','renameField','@univerjs/engine-formula','UniverEngineFormula','sheets-pivot.value','SetRangeValuesUndoMutationFactory','getValuePosition','DIV_BY_ZERO','rowFields','value','RANGE_TYPE','_init','_pivotRenderValueMatrixCache','_configService','Range','sourceRangeInfo','SheetsPivotTableConfigModel','getRangeStartEndInfo','8vnrhhV','Values','_initUnitDisposed','975662eiBfsm','fieldId','149832faHjwV','setConfig','collectionConfig','originTargetInfo','_model','excelDateToUnixMilliseconds','sheets-pivot.dateGroup.year','Product\x20of\x20','_collectionConfigModel','PivotTableFiledAreaEnum','CustomCommandExecutionError','@univerjs/engine-render','sourceName','None','sheets-pivot.cellDateGroupDisplay.quarter','data','PivotTable','generateMutationsByRanges','Collapse','#1d32e9','SetPivotCollapse','sheet.mutation.set-pivot-sort-info','deleteDataField','getDataFieldByRangeKey','SHEET_PIVOT_EXCLUSIVE_ID','rowCount','RemovePivotTableMutation','registerPluginResource','DEFAULT_WORKSHEET_COLUMN_COUNT','getDataFieldItemInfo','SheetsPivotRPCService','getFontStyleString','SetPivotSortMutation','addDirtyPivotTable','Var\x20of\x20','string','removeValueFilterInfo','colHeaderMap','setValuePivotFilter','sheet.mutation.get-pivot-data-local','subTotalStyle','PivotFilterTypeEnum','fetchThroughInterceptors','UpdateFieldPositionMutation','getColumnCount','split','count','_exclusiveRangeService','sheets-pivot.stdDevpName','updateAllDisplayName','getCollection','_queryingMap','FieldsCollection','#eceeff','max','NO_COMMERCIAL'];_0x3324=function(){return _0x3cd157;};return _0x3324();}(function(_0x140c35,_0x17f852){const _0x5eed26=_0x50dd,_0x23f531=_0x140c35();while(!![]){try{const _0x1b8d12=-parseInt(_0x5eed26(0xb0))/0x1+parseInt(_0x5eed26(0x287))/0x2+-parseInt(_0x5eed26(0xe1))/0x3*(parseInt(_0x5eed26(0x284))/0x4)+-parseInt(_0x5eed26(0xf2))/0x5*(-parseInt(_0x5eed26(0x289))/0x6)+parseInt(_0x5eed26(0x1a8))/0x7*(parseInt(_0x5eed26(0x1de))/0x8)+-parseInt(_0x5eed26(0x214))/0x9+-parseInt(_0x5eed26(0x158))/0xa;if(_0x1b8d12===_0x17f852)break;else _0x23f531['push'](_0x23f531['shift']());}catch(_0xa760ad){_0x23f531['push'](_0x23f531['shift']());}}}(_0x3324,0x4d050),function(_0x9e7281,_0xf91070){const _0x3611c4=_0x50dd;typeof exports==_0x3611c4(0x1a1)&&typeof module<'u'?_0xf91070(exports,require(_0x3611c4(0x84)),require(_0x3611c4(0x1f4)),require(_0x3611c4(0x274)),require(_0x3611c4(0x2c3)),require(_0x3611c4(0x267)),require(_0x3611c4(0x378)),require('@univerjs/sheets-filter'),require(_0x3611c4(0x199)),require(_0x3611c4(0x294))):typeof define==_0x3611c4(0x1c6)&&define[_0x3611c4(0xce)]?define([_0x3611c4(0x2fa),'@univerjs-pro/engine-pivot',_0x3611c4(0x1f4),_0x3611c4(0x274),'@univerjs/sheets',_0x3611c4(0x267),_0x3611c4(0x378),_0x3611c4(0x2e1),'@univerjs/rpc',_0x3611c4(0x294)],_0xf91070):(_0x9e7281=typeof globalThis<'u'?globalThis:_0x9e7281||self,_0xf91070(_0x9e7281[_0x3611c4(0x300)]={},_0x9e7281['UniverProEnginePivot'],_0x9e7281[_0x3611c4(0x2ff)],_0x9e7281[_0x3611c4(0x275)],_0x9e7281['UniverSheets'],_0x9e7281[_0x3611c4(0x267)],_0x9e7281[_0x3611c4(0x185)],_0x9e7281[_0x3611c4(0x16c)],_0x9e7281[_0x3611c4(0x1db)],_0x9e7281[_0x3611c4(0x172)]));}(this,function(_0x159003,_0x3ed89a,_0x2814ce,_0x58eb5c,_0x5cc6ba,_0x139446,_0xde1950,_0x184d1f,_0x558e05,_0x10c6a9){'use strict';const _0x2d3cd7=_0x50dd;var _0x5c106c=Object[_0x2d3cd7(0xb6)],_0x3b17e3=(_0x341309,_0x282459,_0x36854a)=>_0x282459 in _0x341309?_0x5c106c(_0x341309,_0x282459,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36854a}):_0x341309[_0x282459]=_0x36854a,_0x4a4d7d=(_0x201dc4,_0xa49694,_0x38c33a)=>_0x3b17e3(_0x201dc4,typeof _0xa49694!=_0x2d3cd7(0x1d8)?_0xa49694+'':_0xa49694,_0x38c33a);const _0x542082=Number[_0x2d3cd7(0x22e)](0x67f7ba78),_0x4573e1=0x10,_0x3c672e=0x1,_0x3e4154=_0x2d3cd7(0x26a),_0x1312a9=0x1,_0x1e026f='rgb(240,241,243)',_0x50109f=_0x2d3cd7(0xe9),_0x57e884='#b2b2b2',_0x35ea8c='#f4f4f5',_0x1e7973=_0x2d3cd7(0xe5),_0x570016=_0x2d3cd7(0x2be),_0x2e0afc=_0x2d3cd7(0x29c),_0x48ad7c=_0x2d3cd7(0x25b),_0x285ef1=_0x2d3cd7(0x152),_0x2d1e69='#1d32e9',_0xd0d4c8=_0x2d3cd7(0x25b),_0x26989f=_0x2d3cd7(0x189),_0x1a5fe3=0xe,_0xdc74e6=0x6;var _0x45e53c=(_0x276fbb=>(_0x276fbb[_0x2d3cd7(0x24b)]=_0x2d3cd7(0x32a),_0x276fbb[_0x2d3cd7(0x90)]=_0x2d3cd7(0x386),_0x276fbb))(_0x45e53c||{});const _0x1ab070={'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':''}}},_0x289787=0x1e,_0x44309e={'b':{'s':0x1,'cl':{'rgb':_0x57e884}},'l':{'s':0x1,'cl':{'rgb':_0x57e884}},'r':{'s':0x1,'cl':{'rgb':_0x57e884}},'t':{'s':0x1,'cl':{'rgb':_0x57e884}}},_0x4cb2bd={'bg':{'rgb':_0x1e026f},'ht':0x2,'vt':0x2,'tb':0x1},_0x325ec1={'bg':{'rgb':_0x50109f},'ht':0x2,'vt':0x2,'tb':0x1},_0x473100={'rowStyle':{'bg':{'rgb':_0x26989f},'bd':_0x44309e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2d1e69},'bd':null,'cl':{'rgb':_0xd0d4c8},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x44309e,'bg':{'rgb':_0x285ef1},'vt':0x2},'cornerStyle':{'bd':_0x44309e,'bg':{'rgb':_0x570016},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x44309e,'bg':{'rgb':_0x35ea8c},'vt':0x2},'leafStyle':{'bd':_0x44309e,'bg':{'rgb':_0x1e7973},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2e0afc},'cl':{'rgb':_0x48ad7c},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x44309e,'vt':0x2}};function _0x43e0b0(_0x5c6e91,_0xa941a6,_0x47fe28){const _0x2f0954=_0x2d3cd7,_0x2cdabd=_0x5c6e91[_0x2f0954(0x33f)](_0x2814ce[_0x2f0954(0x19f)]),_0x4f7f12=_0x47fe28[_0x2f0954(0x2b6)]('_');switch(_0xa941a6){case _0x3ed89a[_0x2f0954(0x33a)]['Year']:return _0x2cdabd['t'](_0x2f0954(0x254),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0xef)]:return _0x2cdabd['t'](_0x2f0954(0x19e),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)]['Hour']:return _0x2cdabd['t'](_0x2f0954(0x1d9),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x218)]:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)]['Date']:return _0x2cdabd['t'](_0x2f0954(0x31d),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x100)]:return _0x2cdabd['t'](_0x2f0954(0x127),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x316)]:return _0x2cdabd['t'](_0x2f0954(0x297),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x1fe)]:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x4f7f12);case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x2f0954(0x175)]:return _0x2cdabd['t'](_0x2f0954(0x8e),..._0x4f7f12);case _0x3ed89a['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x4f7f12);}return'';}const _0x12fede=(_0x58f6d2,_0x5f45d5,_0x2098f2,_0x5688fe)=>{const _0x58500b=_0x2d3cd7;let _0x4f7f74;const _0x2600b1=_0x58f6d2[_0x58500b(0x33f)](_0x2814ce[_0x58500b(0x368)])[_0x58500b(0x112)](_0x2814ce[_0x58500b(0x234)]['UNIVER_SHEET']);if(!_0x2600b1)return null;const _0x5d5c36=_0x2600b1[_0x58500b(0x1d1)]();let _0x3d5157;if(_0x2098f2&&(_0x3d5157=_0x5d5c36[_0x58500b(0x381)](_0x2098f2)),_0x5f45d5!=null&&_0x5f45d5['v']||(_0x5f45d5==null?void 0x0:_0x5f45d5['v'])===0x0){_0x4f7f74||(_0x4f7f74={});const _0x142629=_0x202265(_0x5f45d5['v']);typeof _0x142629==_0x58500b(0x370)?_0x4f7f74['t']=_0x2814ce[_0x58500b(0x207)][_0x58500b(0xa5)]:typeof _0x142629=='string'&&(_0x4f7f74['t']=_0x2814ce['CellValueType'][_0x58500b(0x387)]),_0x4f7f74['v']=_0x142629;}if((_0x5f45d5!=null&&_0x5f45d5['i']||(_0x5f45d5==null?void 0x0:_0x5f45d5['i'])===0x0)&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['fi']=_0x5f45d5['i']),_0x5f45d5!=null&&_0x5f45d5['s']&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['pbt']=_0x5f45d5['s']),_0x2098f2&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['s']=_0x3d5157),_0x5688fe&&_0x4f7f74!=null&&_0x4f7f74['v']&&_0x4f7f74[_0x58500b(0xd3)]!==_0x3ed89a[_0x58500b(0x327)][_0x58500b(0x32d)]&&_0x4f7f74['pbt']!==_0x3ed89a[_0x58500b(0x327)][_0x58500b(0xbc)]){const _0x2a89cd=String(_0x4f7f74['v']),{dateType:_0x5cb930}=_0x5688fe;_0x4f7f74['v']=_0x43e0b0(_0x58f6d2,_0x5cb930,_0x2a89cd),_0x4f7f74['t']=_0x2814ce[_0x58500b(0x207)][_0x58500b(0x387)];}return _0x4f7f74;},_0x53bb8f=(_0x391fe2,_0x576804,_0x2c31b3,_0x569d03)=>{const _0x3912f7=_0x2d3cd7;var _0xcf2b0a,_0x26c81c,_0x483b87,_0x471244,_0x291c43,_0x5eb315,_0x106695,_0x587958,_0x3b8e4c,_0x677b59,_0x5d7430,_0x9905f5,_0x588bbd,_0x736f4c;const _0x178a15=_0x2c31b3[_0x3912f7(0x301)],{cornerView:_0x27c88c,rowView:_0x11e800,colView:_0x79a916,dataView:_0x39a1a9,pageView:_0x46c44a,formatMap:_0x2bc126,groupInfo:_0x39e607}=_0x576804,{row:_0x323cea,col:_0x5a68a7}=_0x178a15,_0x317c6f=new _0x2814ce[(_0x3912f7(0x15b))](),_0x192fb2={},_0x238320={},_0x415771={},_0x54f585={},_0x2c4026={};let _0xdbba94=_0x323cea,_0x1a489a=_0x5a68a7;Object[_0x3912f7(0x22a)](_0x46c44a[_0x3912f7(0x298)])['forEach'](_0x2dd78f=>{const _0x553579=_0x3912f7;Object[_0x553579(0x22a)](_0x46c44a['data'][Number(_0x2dd78f)])[_0x553579(0x34b)](_0x4496e4=>{const _0xce0919=_0x553579,_0xf7984b={..._0x46c44a[_0xce0919(0x298)][Number(_0x2dd78f)][Number(_0x4496e4)]};_0x317c6f[_0xce0919(0x381)](Number(_0x2dd78f)+_0xdbba94,Number(_0x4496e4)+_0x1a489a,_0x12fede(_0x391fe2,_0xf7984b,_0x473100[_0xce0919(0xb3)]));});});const _0x3eac12=Object[_0x3912f7(0x22a)](_0x46c44a[_0x3912f7(0x298)])[_0x3912f7(0x25f)];_0xdbba94+=_0x3eac12+(_0x3eac12?_0x1312a9:0x0);const _0x514a0d=_0x27c88c[_0x3912f7(0x1f0)](),_0x3e4e04=_0x27c88c[_0x3912f7(0x180)]();for(let _0x1868d5=0x0;_0x1868d5<_0x514a0d;_0x1868d5++)for(let _0x3d921a=0x0;_0x3d921a<_0x3e4e04;_0x3d921a++){const _0x4818a7={...(_0x26c81c=(_0xcf2b0a=_0x27c88c['data'])==null?void 0x0:_0xcf2b0a[_0x1868d5])==null?void 0x0:_0x26c81c[_0x3d921a]};_0x4818a7&&((_0x483b87=_0x11e800[_0x3912f7(0xd8)][_0x3d921a])!=null&&_0x483b87[_0x3912f7(0x24d)])&&_0x3d921a===_0x3e4e04-0x1&&_0x1868d5===_0x514a0d-0x1&&(_0x4818a7['v']=''+_0x569d03[_0x3912f7(0x276)]),_0x317c6f[_0x3912f7(0x381)](_0x1868d5+_0xdbba94,_0x3d921a+_0x1a489a,_0x12fede(_0x391fe2,_0x4818a7,_0x473100[_0x3912f7(0x131)]));}for(let _0x2a2d18=0x0;_0x2a2d18<_0x27c88c['info'][_0x3912f7(0x25f)];_0x2a2d18++)_0x27c88c[_0x3912f7(0x92)][_0x2a2d18]&&(_0x415771[''+(_0x2a2d18+_0x1a489a)]=_0x27c88c[_0x3912f7(0x92)][_0x2a2d18]);_0x1a489a+=_0x3e4e04;const _0x4fe4f0=_0x79a916[_0x3912f7(0xd8)],_0xf8989f=_0x79a916[_0x3912f7(0x121)]()>=0x0?_0x79a916['getLastRow']()+0x1:0x0,_0x4d9114=_0x79a916['getLastCol']()>=0x0?_0x79a916[_0x3912f7(0x1ae)]()+0x1:0x0;for(let _0x5a4140=0x0;_0x5a4140<_0x4d9114;_0x5a4140++){for(let _0x5d1de6=0x0;_0x5d1de6<_0xf8989f;_0x5d1de6++){const _0x586a6b={...(_0x291c43=(_0x471244=_0x79a916[_0x3912f7(0x298)])==null?void 0x0:_0x471244[_0x5d1de6])==null?void 0x0:_0x291c43[_0x5a4140]},_0x4ed258=(_0x5eb315=_0x4fe4f0[_0x5d1de6])==null?void 0x0:_0x5eb315[_0x3912f7(0xb2)],_0x3d19bf=_0x2bc126[_0x4ed258],_0x5d4275=_0x39e607[_0x4ed258];_0x586a6b&&(_0x586a6b['v']=_0x5764ab(_0x586a6b,_0x5d1de6===0x0&&((_0x106695=_0x79a916[_0x3912f7(0x272)](_0x5a4140+0x1))==null?void 0x0:_0x106695[_0x3912f7(0x24d)]),_0x3d19bf,_0x569d03));let _0x26c9d5;_0x3d19bf?_0x26c9d5={..._0x473100[_0x3912f7(0x11b)],'n':{'pattern':_0x3d19bf}}:_0x26c9d5={..._0x473100[_0x3912f7(0x11b)]},_0x317c6f['setValue'](_0x5d1de6+_0xdbba94,_0x5a4140+_0x1a489a,_0x12fede(_0x391fe2,_0x586a6b,_0x26c9d5,_0x5d4275));}_0x79a916[_0x3912f7(0x92)][_0x5a4140]&&(_0x238320[''+(_0x5a4140+_0x1a489a)]=_0x79a916['info'][_0x5a4140]),_0x79a916['headerMap'][_0x5a4140+0x1]&&(_0x2c4026[''+(_0x5a4140+_0xdbba94+0x1)]=_0x79a916[_0x3912f7(0xd8)][_0x5a4140+0x1]);}_0xdbba94+=_0x514a0d;const _0x4361ae=_0x11e800['headerMap'],_0x2e53bf=_0x11e800['getLastRow']()>=0x0?_0x11e800[_0x3912f7(0x121)]()+0x1:0x0,_0x1d1475=_0x11e800[_0x3912f7(0x1ae)]()>=0x0?_0x11e800[_0x3912f7(0x1ae)]()+0x1:0x0;for(let _0x328fc9=0x0;_0x328fc9<_0x2e53bf;_0x328fc9++){for(let _0x226fa7=0x0;_0x226fa7<_0x1d1475;_0x226fa7++){const _0x20225c={...(_0x3b8e4c=(_0x587958=_0x11e800[_0x3912f7(0x298)])==null?void 0x0:_0x587958[_0x328fc9])==null?void 0x0:_0x3b8e4c[_0x226fa7]},_0x17fb34=(_0x677b59=_0x4361ae[_0x226fa7])==null?void 0x0:_0x677b59['tableFieldId'],_0x3ebd97=_0x2bc126[_0x17fb34],_0x2241ec=_0x39e607[_0x17fb34];_0x20225c&&(_0x20225c['v']=_0x5764ab(_0x20225c,!0x1,_0x3ebd97,_0x569d03));let _0x399ba5;_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0x141)]===_0x11e800[_0x3912f7(0x180)]()?_0x399ba5=_0x473100['leafStyle']:_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0xcc)]?_0x399ba5=_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0x141)]===0x0?_0x473100['grandTotal']:_0x473100[_0x3912f7(0x2b1)]:_0x399ba5=_0x473100[_0x3912f7(0x138)],_0x3ebd97&&(_0x399ba5={..._0x399ba5,'n':{'pattern':_0x3ebd97}}),_0x317c6f['setValue'](_0x328fc9+_0xdbba94,_0x226fa7+_0x5a68a7,_0x12fede(_0x391fe2,_0x20225c,_0x399ba5,_0x2241ec));}_0x11e800[_0x3912f7(0x92)][_0x328fc9]&&(_0x192fb2[''+(_0x328fc9+_0xdbba94)]=_0x11e800[_0x3912f7(0x92)][_0x328fc9]),_0x11e800[_0x3912f7(0xd8)][_0x328fc9]&&(_0x54f585[''+(_0x328fc9+_0x5a68a7)]=_0x11e800['headerMap'][_0x328fc9]);}const _0x5f2504=_0x39a1a9[_0x3912f7(0x1f0)](),_0x57846c=_0x39a1a9['getColCount']();for(let _0x14aff3=0x0;_0x14aff3<_0x5f2504;_0x14aff3++)for(let _0x108c60=0x0;_0x108c60<_0x57846c;_0x108c60++){const _0x55b3b1={...(_0x9905f5=(_0x5d7430=_0x39a1a9['data'])==null?void 0x0:_0x5d7430[_0x14aff3])==null?void 0x0:_0x9905f5[_0x108c60]};let _0x1c15d5;_0x11e800['info'][_0x14aff3][_0x3912f7(0xcc)]?_0x1c15d5=_0x11e800[_0x3912f7(0x92)][_0x14aff3][_0x3912f7(0x141)]===0x0?_0x473100[_0x3912f7(0x243)]:_0x473100[_0x3912f7(0x2b1)]:_0x1c15d5=_0x473100['dataStyle'];const _0x1b0018=_0x11e800[_0x3912f7(0x92)][_0x14aff3][_0x3912f7(0x13a)],_0x381732=_0x79a916['info'][_0x108c60][_0x3912f7(0x13a)],_0x45103e=Math[_0x3912f7(0x2bf)](_0x1b0018,_0x381732),_0x3863b6=_0x2c31b3[_0x3912f7(0xf4)][_0x3912f7(0x329)][_0x3912f7(0x2f4)]();let _0x2c4c80='';_0x45103e<0x0?_0x2c4c80=(_0x588bbd=_0x3863b6[0x0])!=null?_0x588bbd:'':_0x2c4c80=(_0x736f4c=_0x3863b6[_0x45103e])!=null?_0x736f4c:'';const _0x393f6f=_0x2bc126[_0x2c4c80];_0x393f6f&&(_0x1c15d5={..._0x1c15d5,'n':{'pattern':_0x393f6f}}),_0x317c6f[_0x3912f7(0x381)](_0x14aff3+_0xdbba94,_0x108c60+_0x1a489a,_0x12fede(_0x391fe2,_0x55b3b1,_0x1c15d5));}return{'valueMatrix':_0x317c6f,'rowInfo':_0x192fb2,'colInfo':_0x238320,'cornerInfo':_0x415771,'rowHeaderMap':_0x54f585,'colHeaderMap':_0x2c4026};};function _0x5764ab(_0x2f5469,_0x271d01,_0x5eaff2,_0x3588aa){const _0x753a57=_0x2d3cd7;let _0x3a624e=_0x2f5469['v'];_0x271d01&&(_0x3a624e=''+_0x3588aa['sheets-pivot.value']);const _0x18c083=_0x2f5469['t']&&(_0x2f5469['t']&_0x3ed89a[_0x753a57(0xc2)][_0x753a57(0x349)])>0x0;if(_0x18c083&&(_0x3a624e=''+_0x3588aa[_0x753a57(0x331)]),_0x2f5469['s']===_0x3ed89a[_0x753a57(0x327)]['Subtotal']){let _0xd3eca8=_0x3a624e,_0x6a7f4e='';_0x3ed89a[_0x753a57(0x32e)](_0x3a624e)&&(_0xd3eca8=_0x3a624e['prefix'],_0x6a7f4e=_0x3a624e[_0x753a57(0x27b)]);const _0x363fac=_0x5eaff2&&!_0x18c083?_0x2814ce[_0x753a57(0x18b)][_0x753a57(0x37c)](_0x5eaff2,Number(_0xd3eca8)):_0xd3eca8;_0x6a7f4e?_0x3a624e=_0x363fac+'\x20'+_0x6a7f4e:_0x3a624e=_0x363fac+'\x20'+_0x3588aa[_0x753a57(0x23f)];}else _0x2f5469['s']===_0x3ed89a['PivotCellStyleTypeEnum'][_0x753a57(0x32d)]&&(_0x3a624e=_0x3a624e+'\x20'+_0x3588aa[_0x753a57(0x33b)]);return _0x3a624e;}function _0x202265(_0x1a2e26){const _0x83c6b5=_0x2d3cd7;if(_0x3ed89a[_0x83c6b5(0x23c)](_0x1a2e26)){const {errorType:_0x294c65}=_0x1a2e26;switch(_0x294c65){case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x1f2)]:return _0x58eb5c['ErrorType'][_0x83c6b5(0x279)];case _0x3ed89a[_0x83c6b5(0x1cd)]['NotNumber']:return _0x58eb5c['ErrorType']['NUM'];case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x2d4)]:return _0x58eb5c['ErrorType']['NAME'];case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x1ff)]:return _0x58eb5c[_0x83c6b5(0x36f)][_0x83c6b5(0x305)];case _0x3ed89a[_0x83c6b5(0x1cd)]['BadReference']:return _0x58eb5c['ErrorType'][_0x83c6b5(0xed)];}}return _0x1a2e26;}function _0x341800(_0x2cf114,_0x23dce8,_0x51f6a8=!0x1,_0x13c293=!0x1){const _0x50eaee=_0x2d3cd7,{data:_0x39b282}=_0x23dce8,_0x159a63=_0x23dce8['getRowCount'](),_0x44936a=_0x23dce8[_0x50eaee(0x180)]();if(_0x159a63<=0x0||_0x44936a<=0x0)return[];const _0x3e0ebc=_0x23dce8[_0x50eaee(0x1ae)](),_0x11c61d=_0x23dce8[_0x50eaee(0x121)](),_0x500b7a=_0x13c293?_0x11c61d>=0x0?_0x11c61d+0x1:0x0:_0x159a63,_0x13d278=_0x13c293?_0x3e0ebc>=0x0?_0x3e0ebc+0x1:0x0:_0x44936a,{row:_0x3fd1ca,col:_0x34cffd}=_0x2cf114,_0x2ef250=_0x3fd1ca,_0x45beb9=_0x34cffd;if(_0x51f6a8){const _0x1e144d=[];for(const [_0x2204f6,_0x371b3b]of Object[_0x50eaee(0x303)](_0x39b282))for(const [_0x19e5be,_0x8e30f4]of Object[_0x50eaee(0x303)](_0x371b3b))_0x1e144d[_0x50eaee(0xf8)](_0x2814ce[_0x50eaee(0x30d)](_0x2ef250+Number(_0x2204f6),_0x45beb9+Number(_0x19e5be)));return _0x1e144d;}else{const _0xb97862=_0x13c293?_0x500b7a>0x0?0x1:0x0:0x1,_0x3d0ae3=_0x13c293?_0x13d278>0x0?0x1:0x0:0x1,_0x51e43e=_0x3fd1ca+_0x500b7a-_0xb97862,_0xc84231=_0x34cffd+_0x13d278-_0x3d0ae3;return[{'startRow':_0x2ef250,'startColumn':_0x45beb9,'endRow':_0x51e43e,'endColumn':_0xc84231}];}}const _0x3fcf75=_0x2d3cd7(0x342),_0x18e776=_0x2d3cd7(0x2a1);var _0x6c21f4=(_0x4a3cef=>(_0x4a3cef[_0x2d3cd7(0x118)]=_0x2d3cd7(0x17e),_0x4a3cef[_0x2d3cd7(0x21a)]=_0x2d3cd7(0x120),_0x4a3cef[_0x2d3cd7(0x14a)]='addPivotField',_0x4a3cef[_0x2d3cd7(0x163)]=_0x2d3cd7(0x163),_0x4a3cef[_0x2d3cd7(0x7b)]=_0x2d3cd7(0x7d),_0x4a3cef[_0x2d3cd7(0x265)]=_0x2d3cd7(0x2cb),_0x4a3cef[_0x2d3cd7(0x1f1)]=_0x2d3cd7(0xc9),_0x4a3cef[_0x2d3cd7(0x29d)]=_0x2d3cd7(0x2ca),_0x4a3cef[_0x2d3cd7(0x344)]=_0x2d3cd7(0x208),_0x4a3cef['SetPivotSort']=_0x2d3cd7(0x25d),_0x4a3cef[_0x2d3cd7(0x12c)]=_0x2d3cd7(0x129),_0x4a3cef[_0x2d3cd7(0xff)]=_0x2d3cd7(0xe8),_0x4a3cef[_0x2d3cd7(0x19a)]=_0x2d3cd7(0xfc),_0x4a3cef[_0x2d3cd7(0x371)]=_0x2d3cd7(0x337),_0x4a3cef[_0x2d3cd7(0x18d)]='setValuePivotFilter',_0x4a3cef[_0x2d3cd7(0x123)]=_0x2d3cd7(0x17a),_0x4a3cef[_0x2d3cd7(0x204)]=_0x2d3cd7(0x225),_0x4a3cef))(_0x6c21f4||{});const _0x4fe1c6={'sheets-pivot.blankValue':_0x2d3cd7(0xac),'sheets-pivot.columnName':_0x2d3cd7(0xa6),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x2d3cd7(0x11d),'sheets-pivot.valueText':_0x2d3cd7(0x30f),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x2d3cd7(0x319),'sheets-pivot.maxName':_0x2d3cd7(0x1b5),'sheets-pivot.minName':_0x2d3cd7(0x343),'sheets-pivot.productName':_0x2d3cd7(0x290),'sheets-pivot.stdDevName':_0x2d3cd7(0x17d),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x2d3cd7(0x31a),'sheets-pivot.varName':_0x2d3cd7(0x2ab),'sheets-pivot.varpName':_0x2d3cd7(0x1d4),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x2d3cd7(0x27b),'sheets-pivot.blank':_0x2d3cd7(0x349),'sheets-pivot.emptyPivot.filter':_0x2d3cd7(0x118),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x2d3cd7(0x1b3),'sheets-pivot.emptyPivot.values':_0x2d3cd7(0x285)},_0x2e95a7={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x17b1a6=_0x2814ce[_0x2d3cd7(0x1e6)](_0x2d3cd7(0x2ef)),_0x4a5516=_0x2814ce[_0x2d3cd7(0x1be)](_0x2d3cd7(0x20c));var _0x488eeb=(_0x4b8e72=>(_0x4b8e72[_0x2d3cd7(0x9d)]=_0x2d3cd7(0x9d),_0x4b8e72[_0x2d3cd7(0xa1)]=_0x2d3cd7(0xa1),_0x4b8e72[_0x2d3cd7(0x376)]=_0x2d3cd7(0x376),_0x4b8e72))(_0x488eeb||{}),_0x2229c0=(_0x4c8661=>(_0x4c8661['Add']=_0x2d3cd7(0x9d),_0x4c8661[_0x2d3cd7(0xae)]='set',_0x4c8661[_0x2d3cd7(0x15c)]=_0x2d3cd7(0xa1),_0x4c8661))(_0x2229c0||{});const _0x1c86e9={0x0:'X',0x1:'q',0x2:'W',0x3:'t',0x4:'m',0x5:'Q',0x6:'B',0x7:'a',0x8:'U',0x9:'c','y':'0','X':'1','Q':'2','C':'3','K':'4','z':'5','q':'6','U':'7','k':'8','d':'9','N':'b','P':'d','u':'e','p':'f','H':'g','I':'h','a':'i','O':'j','R':'k','Y':'l','o':'n','s':'o','g':'p','h':'r','M':'s','x':'u','Z':'v','j':'w','b':'x','f':'y','v':'z','n':'A','l':'C','J':'D','W':'E','T':'F','t':'G','c':'H','L':'I','w':'J','B':'K','A':'L','G':'M','F':'N','m':'O','D':'P','S':'R','r':'S','V':'T','i':'V','e':'Y','E':'Z'},_0x5a898f=_0x2d3cd7(0x23e),_0x3b71d1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x2b0),'handler':()=>!0x0},_0x5e28f5={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4b3f05={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x137307={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x411e65={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x3d8b31=_0x4a9a86=>{const _0x1cdb73=_0x2d3cd7;var _0x418bfc;return((_0x418bfc=_0x4a9a86[_0x1cdb73(0x38d)])==null?void 0x0:_0x418bfc[_0x1cdb73(0x2d6)][_0x1cdb73(0x1a2)](/\r\n$/,''))||'';};class _0x26395d extends _0x3ed89a[_0x2d3cd7(0x78)]{constructor(_0x4c2083,_0x511b21){const _0x11db0d=_0x2d3cd7;super(),_0x4a4d7d(this,_0x11db0d(0x93),{}),_0x4a4d7d(this,_0x11db0d(0x37f)),_0x4a4d7d(this,'_host'),(this[_0x11db0d(0x37f)]=_0x511b21,this[_0x11db0d(0x2c6)]=_0x4c2083);}[_0x2d3cd7(0x203)](){const _0x4d6139=_0x2d3cd7;for(const _0x3bcbbf in this['dataFields']){const _0x2e37d3=this[_0x4d6139(0x339)][_0x3bcbbf],_0x6017d3=_0x2e37d3['getRangeKey']();this[_0x4d6139(0x93)][_0x6017d3]=_0x2e37d3[_0x4d6139(0x1c2)]();}}['getAutoDisplayNameFunction'](){const _0x4de52d=_0x2d3cd7,_0x375748=this[_0x4de52d(0x2c6)];return _0x48dae4[_0x4de52d(0x116)](_0x375748);}[_0x2d3cd7(0x29f)](_0x529dee){const _0x4b0dfc=_0x2d3cd7,_0xe35984=this[_0x4b0dfc(0x339)][_0x529dee][_0x4b0dfc(0xbf)];delete this[_0x4b0dfc(0x339)][_0x529dee],delete this[_0x4b0dfc(0x93)][_0xe35984];}['addDataFieldWithoutUnitInfo'](_0x275b59){const _0x53499f=_0x2d3cd7;this[_0x53499f(0x339)][_0x275b59[_0x53499f(0x1c2)]()]=_0x275b59;}[_0x2d3cd7(0x22c)](_0x5dfb3d){const _0x25496d=_0x2d3cd7;var _0x516cd5,_0x31e466;const _0x3ddd0c=this[_0x25496d(0x2c6)][_0x25496d(0x103)](_0x5dfb3d);if(_0x3ddd0c){const {unitId:_0x24a119,subUnitId:_0x446568}=_0x3ddd0c,_0xfec032=(_0x516cd5=this['_host']['getPivotTableConfig'](_0x24a119,_0x446568,_0x5dfb3d))==null?void 0x0:_0x516cd5[_0x25496d(0x281)];this[_0x25496d(0x2c6)][_0x25496d(0x166)]({'token':_0x5dfb3d,'type':_0x488eeb[_0x25496d(0xa1)],'dataRangeInfo':_0xfec032});}(_0x31e466=this[_0x25496d(0x2bb)](_0x5dfb3d))==null||_0x31e466[_0x25496d(0x264)](),delete this[_0x25496d(0x2f9)][_0x5dfb3d];}['getRangeKey'](_0x4670f1,_0x1e8d42){const _0x373eab=_0x2d3cd7,{sheetName:_0x5df7f9,unitId:_0x47e719,range:_0x4034b3}=_0x4670f1,{startRow:_0x2b22bc,endRow:_0x545545}=_0x4034b3;return _0x58eb5c[_0x373eab(0x328)](_0x47e719,_0x5df7f9,{'startRow':_0x2b22bc,'endRow':_0x545545,'startColumn':_0x1e8d42,'endColumn':_0x1e8d42});}[_0x2d3cd7(0x2a0)](_0x57e8cf){const _0x5ebfeb=_0x2d3cd7;return this[_0x5ebfeb(0x339)][this['rangeKeyMap'][_0x57e8cf]];}[_0x2d3cd7(0x21b)](_0xb246f6,_0x19ca1e){const _0x53d1e=_0x2d3cd7;this[_0x53d1e(0x93)][_0xb246f6]=_0x19ca1e;}[_0x2d3cd7(0x149)](_0x3de284,_0x305b96){this['rangeKeyMap'][_0x305b96]=this['rangeKeyMap'][_0x3de284],delete this['rangeKeyMap'][_0x3de284];}[_0x2d3cd7(0x2e5)](_0x51a3b7,_0x32836d,_0x4c33f5,_0x3c73ba){const _0x44ba57=_0x2d3cd7,_0x584491=new _0x3ed89a['FieldsCollection'](this);_0x584491[_0x44ba57(0x183)](_0x32836d);const _0x391f9d=[];let _0x43a11c=0x0;for(const _0x209287 of _0x584491[_0x44ba57(0x35b)]){const _0xa50bf8=this[_0x44ba57(0x306)](_0x4c33f5,_0x43a11c),_0x589121=this[_0x44ba57(0x339)][_0x209287];_0x589121&&(_0x589121[_0x44ba57(0xbf)]=_0xa50bf8,this[_0x44ba57(0x21b)](_0xa50bf8,_0x209287),_0x391f9d[_0x44ba57(0xf8)]({'index':_0x43a11c,'dataField':_0x589121})),_0x43a11c++;}return this[_0x44ba57(0x365)](_0x51a3b7,_0x584491,_0x4c33f5,_0x3c73ba),{'collection':_0x584491,'updateDataFieldList':_0x391f9d};}[_0x2d3cd7(0x283)](_0x2373d2,_0x23c427){const _0x47fe83=_0x2d3cd7;return _0x2373d2[_0x47fe83(0xe7)]===_0x2814ce['RANGE_TYPE'][_0x47fe83(0x33d)]?{'startRow':0x0,'startColumn':_0x2373d2[_0x47fe83(0x367)],'endRow':_0x23c427['getRowCount']()-0x1,'endColumn':_0x2373d2['endColumn']}:{'startRow':_0x2373d2['startRow'],'startColumn':_0x2373d2[_0x47fe83(0x367)],'endRow':_0x2373d2[_0x47fe83(0x10b)],'endColumn':_0x2373d2[_0x47fe83(0x375)]};}[_0x2d3cd7(0x1ef)](_0x3313b7){const _0x1a93ea=_0x2d3cd7,{sheetName:_0x318824,range:_0x3e38f7}=_0x3313b7,_0x30751e=this[_0x1a93ea(0x37f)][_0x1a93ea(0x112)](_0x2814ce[_0x1a93ea(0x234)][_0x1a93ea(0x30e)]),_0x1f1a66=_0x30751e[_0x1a93ea(0x35a)](_0x318824),_0x1885b4=_0x1f1a66[_0x1a93ea(0x31f)](),{startColumn:_0x48b073,startRow:_0x5dd603,endColumn:_0x3d45ce}=this[_0x1a93ea(0x283)](_0x3e38f7,_0x1f1a66),_0x29a919=_0x30751e[_0x1a93ea(0x1d1)](),_0x12caf0=new _0x3ed89a[(_0x1a93ea(0x2bd))](this);_0x12caf0[_0x1a93ea(0x8a)](_0x3313b7);const _0x368cb2=[],_0x57cc2b={};for(let _0x5c934b=_0x48b073;_0x5c934b<=_0x3d45ce;_0x5c934b++){const _0x55f5c1=_0x1885b4['getValue'](_0x5dd603,_0x5c934b),_0x402d91=this[_0x1a93ea(0x306)](_0x3313b7,_0x5c934b),_0x4d3c43=this[_0x1a93ea(0x2a0)](_0x402d91);if(_0x4d3c43)_0x12caf0[_0x1a93ea(0x2fe)](_0x4d3c43[_0x1a93ea(0x1c2)](),_0x4d3c43['getName']());else{const _0x27cefc=this[_0x1a93ea(0x38b)]();let _0x383c94=this[_0x1a93ea(0x97)](_0x55f5c1,_0x29a919,_0x57cc2b);_0x3ed89a[_0x1a93ea(0xeb)](_0x383c94)&&(_0x383c94=_0x2814ce['numfmt'][_0x1a93ea(0x37c)](_0x383c94['f'],Number(_0x383c94['v'])));const _0x2b29c0=this['uniqueDataFieldName'](_0x383c94,_0x5c934b),_0x139623=new _0x3ed89a[(_0x1a93ea(0x2d2))](_0x27cefc,_0x2b29c0,_0x3ed89a[_0x1a93ea(0x369)](0x3));_0x139623['rangeKey']=_0x402d91,this[_0x1a93ea(0x339)][_0x27cefc]=_0x139623,_0x12caf0['addField'](_0x27cefc,_0x2b29c0),_0x368cb2['push']({'index':_0x5c934b,'dataField':_0x139623});}}return{'updateDataFieldList':_0x368cb2,'collection':_0x12caf0};}[_0x2d3cd7(0x13b)](_0x1bf909){const _0x5e1e7c=_0x2d3cd7;return this['_host'][_0x5e1e7c(0x186)]()['sheets-pivot.columnName']+'\x20'+_0x2814ce['numberToABC'](_0x1bf909);}[_0x2d3cd7(0x20f)](_0x45c3f6,_0x4bce34){const _0xce35d8=_0x2d3cd7;return _0x45c3f6==null||_0x45c3f6===''?this[_0xce35d8(0x13b)](_0x4bce34):String(_0x45c3f6);}[_0x2d3cd7(0x2bb)](_0xca7a9a){const _0x618a0c=_0x2d3cd7;return this[_0x618a0c(0x2f9)][_0xca7a9a];}[_0x2d3cd7(0x365)](_0x51c3e7,_0x2f0acf,_0x3f30e6,_0x5731b2){const _0xf3bd5a=_0x2d3cd7;this[_0xf3bd5a(0x2f9)][_0x51c3e7]=_0x2f0acf,_0x2f0acf[_0xf3bd5a(0x8a)](_0x3f30e6),this[_0xf3bd5a(0x2c6)]['broadcastCollectionChange']({'token':_0x51c3e7,'type':_0x488eeb[_0xf3bd5a(0x9d)],'dataRangeInfo':_0x3f30e6,'targetCellInfo':_0x5731b2});}[_0x2d3cd7(0x182)](_0x102e3f,_0x3be165){const _0x26b9ff=_0x2d3cd7,_0x42f9bc=this[_0x26b9ff(0x2bb)](_0x102e3f),_0x38e9f6=_0x42f9bc['getFieldIds']();let _0x4a5f72=0x0;for(const _0x46bd95 of _0x38e9f6){const _0x897670=_0x42f9bc[_0x26b9ff(0x20b)](_0x46bd95),_0x152a81=this[_0x26b9ff(0x306)](_0x3be165,_0x4a5f72);this['updateRangeKeyMap'](_0x897670[_0x26b9ff(0xbf)],_0x152a81),_0x4a5f72++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2d3cd7(0x241)](_0x14c93f,_0x196d63){const _0x37eea8=_0x2d3cd7;if(this[_0x37eea8(0x2bb)](_0x14c93f)){const _0x2a53f6=this[_0x37eea8(0x212)](_0x196d63),_0x2a9b21=[];for(const _0x5b2b16 of _0x2a53f6)this[_0x37eea8(0x93)][_0x5b2b16]!==void 0x0&&_0x2a9b21[_0x37eea8(0xf8)](this[_0x37eea8(0x93)][_0x5b2b16]);const _0x4880d4=this['getNoUsedDataFieldIds'](_0x14c93f),_0x280e1f=[],_0x2073a2=new Set(_0x2a9b21);for(const _0x542e79 of _0x4880d4)_0x2073a2[_0x37eea8(0x128)](_0x542e79)||_0x280e1f[_0x37eea8(0xf8)](_0x542e79);return _0x280e1f;}}[_0x2d3cd7(0x137)](_0x5ea967,_0x26bba1,_0x376e8e,_0x26de25,_0xbb348a){const _0x363b9f=_0x2d3cd7;return _0x26bba1&&_0x26bba1[_0x363b9f(0x16a)](_0x26de25,_0xbb348a)?_0x26bba1[_0x363b9f(0x16a)](_0x26de25,_0xbb348a):_0x376e8e&&_0x376e8e[_0x363b9f(0x16a)](_0x26de25,_0xbb348a)?_0x376e8e[_0x363b9f(0x16a)](_0x26de25,_0xbb348a):_0x5ea967['getValue'](_0x26de25,_0xbb348a);}['refreshDataField'](_0x394555,_0x102856,_0xea31b2,_0x23f6c0){const _0x522eb2=_0x2d3cd7,_0x4c3e44=this[_0x522eb2(0x339)][_0x394555];if(!_0x4c3e44)return;const {subUnitId:_0x3bf1c4,range:_0x503182,unitId:_0x149866}=_0x102856,_0x490b81=this[_0x522eb2(0x37f)][_0x522eb2(0x94)](_0x149866);if(!_0x490b81){console[_0x522eb2(0x1cf)](_0x522eb2(0x261));return;}const _0xaaa49d=_0x490b81[_0x522eb2(0x98)](_0x3bf1c4),_0xf9aa68=_0xaaa49d[_0x522eb2(0x31f)](),{arrayFormulaCellDataMatrix:_0x35c943,unitDataMatrix:_0x136249}=_0x23f6c0||{},{startRow:_0x545f49,startColumn:_0x444038,endRow:_0x5aa16b}=this['getRangeStartEndInfo'](_0x503182,_0xaaa49d);_0x4c3e44['reset']();const _0x516b31=_0x490b81[_0x522eb2(0x1d1)](),_0x455f57={},_0x222a3f=this['getMatrixValue'](_0xf9aa68,_0x35c943,_0x136249,_0x545f49,_0x444038+_0xea31b2);let _0x37cb70=this['adjustSheetCellData'](_0x222a3f,_0x516b31,_0x455f57);_0x3ed89a[_0x522eb2(0xeb)](_0x37cb70)&&(_0x37cb70=_0x2814ce['numfmt'][_0x522eb2(0x37c)](_0x37cb70['f'],Number(_0x37cb70['v'])));const _0x6cb354=this[_0x522eb2(0x20f)](_0x37cb70,_0x444038+_0xea31b2);_0x4c3e44[_0x522eb2(0x157)](_0x6cb354);for(let _0x50f335=_0x545f49+0x1;_0x50f335<=_0x5aa16b;_0x50f335++){const _0x2eb5cf=this[_0x522eb2(0x137)](_0xf9aa68,_0x35c943,_0x136249,_0x50f335,_0x444038+_0xea31b2);_0x4c3e44[_0x522eb2(0x197)](this[_0x522eb2(0x97)](_0x2eb5cf,_0x516b31,_0x455f57),_0x50f335-0x1-_0x545f49);}}[_0x2d3cd7(0x19d)](_0x201417,_0x22d769,_0x3cb6a5){const _0x5a690c=_0x2d3cd7,{subUnitId:_0x3eedde,range:_0x9a290a,unitId:_0x51674d}=_0x3cb6a5,_0x1f4465=this[_0x5a690c(0x37f)]['getUnit'](_0x51674d);if(!_0x1f4465){console[_0x5a690c(0x1cf)](_0x5a690c(0x261));return;}const _0x3f0fb1=_0x1f4465[_0x5a690c(0x98)](_0x3eedde),_0xe28647=_0x3f0fb1['getCellMatrix'](),{startRow:_0x505926,startColumn:_0x53a2c0,endRow:_0x31291a}=this[_0x5a690c(0x283)](_0x9a290a,_0x3f0fb1),_0x3205bb=_0x1f4465[_0x5a690c(0x1d1)](),_0x9cd0de={};for(const {dataField:_0x18aebb,index:_0x1f8507}of _0x22d769){_0x18aebb['reset']();const _0x139f62=this[_0x5a690c(0x137)](_0xe28647,void 0x0,void 0x0,_0x505926,_0x53a2c0+_0x1f8507);let _0x4bbe96=this[_0x5a690c(0x97)](_0x139f62,_0x3205bb,_0x9cd0de);_0x3ed89a[_0x5a690c(0xeb)](_0x4bbe96)&&(_0x4bbe96=_0x2814ce['numfmt'][_0x5a690c(0x37c)](_0x4bbe96['f'],Number(_0x4bbe96['v'])));const _0x53f561=this[_0x5a690c(0x20f)](_0x4bbe96,_0x53a2c0+_0x1f8507);_0x18aebb['setName'](_0x53f561);}_0x201417[_0x5a690c(0x2ba)]();for(let _0x40840e=_0x505926+0x1;_0x40840e<=_0x31291a;_0x40840e++)for(const {index:_0x115dac,dataField:_0x27db65}of _0x22d769){const _0x4f2f4b=_0xe28647[_0x5a690c(0x16a)](_0x40840e,_0x53a2c0+_0x115dac);_0x27db65['addRecord'](this['adjustSheetCellData'](_0x4f2f4b,_0x3205bb,_0x9cd0de),_0x40840e-0x1-_0x505926);}_0x201417[_0x5a690c(0x380)](_0x31291a-_0x505926);}[_0x2d3cd7(0x212)](_0x413388){const _0x3d6970=_0x2d3cd7,{range:_0x44bd76}=_0x413388,{startColumn:_0x512d52,endColumn:_0xaf084e}=_0x44bd76,_0x4d14ce=[];for(let _0x29eb43=_0x512d52;_0x29eb43<=_0xaf084e;_0x29eb43++)_0x4d14ce[_0x3d6970(0xf8)](this['getRangeKey'](_0x413388,_0x29eb43));return _0x4d14ce;}[_0x2d3cd7(0x97)](_0x35da0c,_0xe1327f,_0x129ec4){const _0x183d95=_0x2d3cd7;if(_0x35da0c){const {s:_0x3036c4,v:_0x386de4,t:_0x329b1c,p:_0x22e399}=_0x35da0c;if(_0x22e399)return _0x3d8b31(_0x22e399);const _0x1943b0=_0xe1327f['get'](_0x3036c4);if(_0x1943b0&&_0x329b1c===_0x2814ce[_0x183d95(0x207)]['NUMBER']&&_0x1943b0['n']){const {pattern:_0x13a18e}=_0x1943b0['n'];_0x129ec4[_0x13a18e]||(_0x129ec4[_0x13a18e]=_0x2814ce[_0x183d95(0x18b)][_0x183d95(0xb5)](_0x13a18e));const _0x170725=_0x129ec4[_0x13a18e],_0x1aed36=_0x170725['isDate'];if(_0x170725['isText'])return String(_0x386de4);if(_0x1aed36)return{'v':_0x386de4,'f':_0x13a18e};}if(_0x329b1c===_0x2814ce[_0x183d95(0x207)][_0x183d95(0xa5)])return Number(_0x386de4);if(_0x329b1c===_0x2814ce[_0x183d95(0x207)][_0x183d95(0x387)]||_0x329b1c===_0x2814ce['CellValueType'][_0x183d95(0x115)])return String(_0x386de4);if(_0x329b1c===void 0x0){const _0x1661e6=Number(_0x386de4);if(!Number[_0x183d95(0x252)](_0x1661e6)&&String(_0x1661e6)===_0x386de4)return _0x1661e6;}return _0x386de4!=null?_0x386de4:null;}else return null;}['getRangeData'](_0x39de1c){const _0x1723be=_0x2d3cd7,{sheetName:_0x47ec30,range:_0xdb9c57,unitId:_0x3813a2}=_0x39de1c,_0x5437d0=this[_0x1723be(0x37f)][_0x1723be(0x94)](_0x3813a2);if(!_0x5437d0)return console[_0x1723be(0x1cf)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x596c47=_0x5437d0[_0x1723be(0x35a)](_0x47ec30),_0x37afa1=_0x596c47[_0x1723be(0x31f)](),{startRow:_0x300434,startColumn:_0x45f220,endRow:_0x34b4a5,endColumn:_0x15b603}=this[_0x1723be(0x283)](_0xdb9c57,_0x596c47),_0x4605df=_0x5437d0[_0x1723be(0x1d1)](),_0x56d9cf=[],_0x1db3a3=[],_0x24775b={};for(let _0x5107eb=_0x300434;_0x5107eb<=_0x34b4a5;_0x5107eb++){const _0x498239=[];for(let _0x3fb9ce=_0x45f220;_0x3fb9ce<=_0x15b603;_0x3fb9ce++){const _0x2f6063=_0x37afa1['getValue'](_0x5107eb,_0x3fb9ce);_0x5107eb===_0x300434?_0x56d9cf[_0x1723be(0xf8)](_0x2f6063==null?null:String(_0x2f6063['v'])):_0x498239[_0x1723be(0xf8)](this[_0x1723be(0x97)](_0x2f6063,_0x4605df,_0x24775b));}_0x1db3a3[_0x1723be(0xf8)](_0x498239);}return{'header':_0x56d9cf,'data':_0x1db3a3};}[_0x2d3cd7(0x32c)](){const _0x3a618b=_0x2d3cd7;return super[_0x3a618b(0x32c)]();}[_0x2d3cd7(0x183)](_0x2ee3e5){const _0x5a6479=_0x2d3cd7;super[_0x5a6479(0x183)](_0x2ee3e5),this[_0x5a6479(0x203)]();}[_0x2d3cd7(0x264)](){const _0x48ad86=_0x2d3cd7;super[_0x48ad86(0x264)](),this['rangeKeyMap']={},this[_0x48ad86(0x2c6)]=null;}}const _0x1b53c9=_0x34b182=>{const _0x102977=_0x2d3cd7,{targetCellInfo:_0x3c5b81}=_0x34b182,{matrixCache:_0x37d7d4,rangesCache:_0x122b63}=_0x104896({'filter':_0x102977(0x118),'row':'Row','column':_0x102977(0x1b3),'values':_0x102977(0x285)},_0x3c5b81),_0x2592a1=new _0x2814ce[(_0x102977(0x15b))]();return _0x37d7d4[_0x102977(0x2d5)]((_0x534d5e,_0x4e6124,_0x5e66a4)=>{const _0x21ed7d=_0x102977;_0x2592a1[_0x21ed7d(0x381)](_0x534d5e,_0x4e6124,_0x5e66a4);}),{'matrix':_0x2592a1,'rangesCache':_0x122b63};},_0x331072=_0x2c0ebd=>{const _0x2956f5=_0x2d3cd7;let _0x47680e;if(_0x2c0ebd!=null&&_0x2c0ebd['v']||(_0x2c0ebd==null?void 0x0:_0x2c0ebd['v'])===0x0){_0x47680e||(_0x47680e={});const _0x460bda=_0x202265(_0x2c0ebd['v']);typeof _0x460bda==_0x2956f5(0x370)?_0x47680e['t']=_0x2814ce[_0x2956f5(0x207)][_0x2956f5(0xa5)]:typeof _0x460bda==_0x2956f5(0x2ac)&&(_0x47680e['t']=_0x2814ce[_0x2956f5(0x207)][_0x2956f5(0x387)]),_0x47680e['v']=_0x460bda;}return _0x47680e;},_0x555fd9=(_0xc497b,_0x54d3a9,_0x566b56)=>{const _0x5d1a40=_0x2d3cd7;var _0x44dfeb,_0x2d39e7,_0x1579b7,_0x52f187,_0x5efec4,_0x4efba4,_0x3464e1,_0x4a5dd0,_0x596570,_0x2140c5,_0x58d934,_0x49e8c0;const {cornerView:_0x276ab8,rowView:_0x3a19a9,colView:_0x8fcec8,dataView:_0xb441b7,pageView:_0x126c2d,formatMap:_0x4f82ee}=_0xc497b,{row:_0x2b5c22,col:_0x5e8e74}=_0x54d3a9,_0x376870=new _0x2814ce[(_0x5d1a40(0x15b))]();let _0x148bcb=_0x2b5c22,_0x46b914=_0x5e8e74;Object[_0x5d1a40(0x22a)](_0x126c2d[_0x5d1a40(0x298)])[_0x5d1a40(0x34b)](_0x4c1ef6=>{const _0x3a4c26=_0x5d1a40;Object['keys'](_0x126c2d[_0x3a4c26(0x298)][Number(_0x4c1ef6)])[_0x3a4c26(0x34b)](_0x273413=>{const _0x583597={..._0x126c2d['data'][Number(_0x4c1ef6)][Number(_0x273413)]};_0x376870['setValue'](Number(_0x4c1ef6)+_0x148bcb,Number(_0x273413)+_0x46b914,_0x331072(_0x583597));});});const _0x422adf=Object[_0x5d1a40(0x22a)](_0x126c2d[_0x5d1a40(0x298)])[_0x5d1a40(0x25f)];_0x148bcb+=_0x422adf+(_0x422adf?_0x1312a9:0x0);const _0x2cf817=_0x276ab8[_0x5d1a40(0x1f0)](),_0x4ed2a7=_0x276ab8[_0x5d1a40(0x180)]();for(let _0x539940=0x0;_0x539940<_0x2cf817;_0x539940++)for(let _0x36ce20=0x0;_0x36ce20<_0x4ed2a7;_0x36ce20++){const _0x1162f2={...(_0x2d39e7=(_0x44dfeb=_0x276ab8[_0x5d1a40(0x298)])==null?void 0x0:_0x44dfeb[_0x539940])==null?void 0x0:_0x2d39e7[_0x36ce20]};_0x1162f2&&((_0x1579b7=_0x3a19a9[_0x5d1a40(0xd8)][_0x36ce20])!=null&&_0x1579b7['isValue'])&&_0x36ce20===_0x4ed2a7-0x1&&_0x539940===_0x2cf817-0x1&&(_0x1162f2['v']=''+_0x566b56['sheets-pivot.value']),_0x376870[_0x5d1a40(0x381)](_0x539940+_0x148bcb,_0x36ce20+_0x46b914,_0x331072(_0x1162f2));}_0x46b914+=_0x4ed2a7;const _0x125961=_0x8fcec8[_0x5d1a40(0xd8)],_0x3c77b7=_0x8fcec8[_0x5d1a40(0x121)]()>=0x0?_0x8fcec8[_0x5d1a40(0x121)]()+0x1:0x0,_0x4de9e6=_0x8fcec8[_0x5d1a40(0x1ae)]()>=0x0?_0x8fcec8[_0x5d1a40(0x1ae)]()+0x1:0x0;for(let _0x49d3c8=0x0;_0x49d3c8<_0x4de9e6;_0x49d3c8++)for(let _0x3e79e5=0x0;_0x3e79e5<_0x3c77b7;_0x3e79e5++){const _0x1387b8={...(_0x5efec4=(_0x52f187=_0x8fcec8[_0x5d1a40(0x298)])==null?void 0x0:_0x52f187[_0x49d3c8])==null?void 0x0:_0x5efec4[_0x3e79e5]},_0x513aa3=(_0x4efba4=_0x125961[_0x49d3c8])==null?void 0x0:_0x4efba4[_0x5d1a40(0xb2)],_0x502b2f=_0x4f82ee[_0x513aa3];_0x1387b8&&(_0x1387b8['v']=_0x5764ab(_0x1387b8,_0x49d3c8===0x0&&((_0x3464e1=_0x8fcec8[_0x5d1a40(0x272)](_0x3e79e5+0x1))==null?void 0x0:_0x3464e1[_0x5d1a40(0x24d)]),_0x502b2f,_0x566b56)),_0x376870[_0x5d1a40(0x381)](_0x49d3c8+_0x148bcb,_0x3e79e5+_0x46b914,_0x331072(_0x1387b8));}_0x148bcb+=_0x2cf817;const _0x5a0764=_0x3a19a9['headerMap'],_0x4cce91=_0x3a19a9['getLastRow']()>=0x0?_0x3a19a9['getLastRow']()+0x1:0x0,_0x2d25b5=_0x3a19a9[_0x5d1a40(0x1ae)]()>=0x0?_0x3a19a9[_0x5d1a40(0x1ae)]()+0x1:0x0;for(let _0x136bae=0x0;_0x136bae<_0x4cce91;_0x136bae++)for(let _0x3d29b8=0x0;_0x3d29b8<_0x2d25b5;_0x3d29b8++){const _0x3cc743={...(_0x596570=(_0x4a5dd0=_0x3a19a9[_0x5d1a40(0x298)])==null?void 0x0:_0x4a5dd0[_0x136bae])==null?void 0x0:_0x596570[_0x3d29b8]},_0x559bd8=(_0x2140c5=_0x5a0764[_0x3d29b8])==null?void 0x0:_0x2140c5['tableFieldId'],_0x187287=_0x4f82ee[_0x559bd8];_0x3cc743&&(_0x3cc743['v']=_0x5764ab(_0x3cc743,!0x1,_0x187287,_0x566b56)),_0x376870[_0x5d1a40(0x381)](_0x136bae+_0x148bcb,_0x3d29b8+_0x5e8e74,_0x331072(_0x3cc743));}const _0xb4ec25=_0xb441b7[_0x5d1a40(0x1f0)](),_0x36d49e=_0xb441b7['getColCount']();for(let _0x693cf5=0x0;_0x693cf5<_0xb4ec25;_0x693cf5++)for(let _0x37c5ab=0x0;_0x37c5ab<_0x36d49e;_0x37c5ab++){const _0x577e72={...(_0x49e8c0=(_0x58d934=_0xb441b7[_0x5d1a40(0x298)])==null?void 0x0:_0x58d934[_0x693cf5])==null?void 0x0:_0x49e8c0[_0x37c5ab]};_0x376870[_0x5d1a40(0x381)](_0x693cf5+_0x148bcb,_0x37c5ab+_0x46b914,_0x331072(_0x577e72));}return _0x376870;},_0x1e6598=_0xc13846=>{const _0x4b21ad=_0x2d3cd7,{view:_0x57eac7,targetCellInfo:_0x28c7fd,isEmpty:_0xf8374d,textInfo:_0x3c47d9}=_0xc13846;if(_0xf8374d)return _0x1b53c9(_0xc13846);const {pageView:_0x52aa44,cornerView:_0x5acd7e,rowView:_0x4b1f4a,colView:_0x15dcd6,dataView:_0x502a58}=_0x57eac7,_0x32ede6=_0x341800(_0x28c7fd,_0x52aa44,!0x0),_0x327d7e=_0x52aa44[_0x4b21ad(0xf1)]>=0x0?_0x52aa44[_0x4b21ad(0xf1)]+0x1:0x0,_0x392571=_0x5acd7e['getRowCount'](),_0xed5227=_0x5acd7e['getColCount'](),_0x4d44a8=_0x32ede6[_0x4b21ad(0x25f)]>0x0?_0x1312a9:0x0,_0x2e6825=_0x341800({'row':_0x28c7fd['row']+_0x327d7e+_0x4d44a8,'col':_0x28c7fd[_0x4b21ad(0x117)]},_0x5acd7e,!0x1,!0x1),_0x38dde4=_0x341800({'row':_0x28c7fd['row']+_0x327d7e+_0x4d44a8+_0x392571,'col':_0x28c7fd[_0x4b21ad(0x117)]},_0x4b1f4a,!0x1,!0x0),_0x81d8ac=_0x341800({'row':_0x28c7fd[_0x4b21ad(0x363)]+_0x327d7e+_0x4d44a8,'col':_0x28c7fd[_0x4b21ad(0x117)]+_0xed5227},_0x15dcd6,!0x1,!0x0),_0x247e81=_0x341800({'row':_0x28c7fd[_0x4b21ad(0x363)]+_0x327d7e+_0x4d44a8+_0x392571,'col':_0x28c7fd[_0x4b21ad(0x117)]+_0xed5227},_0x502a58,!0x1,!0x1),_0x43b70e={'rowRanges':_0x38dde4,'colRanges':_0x81d8ac,'cornerRanges':_0x2e6825,'dataRanges':_0x247e81,'pageRanges':_0x32ede6};return{'matrix':_0x555fd9(_0x57eac7,_0x28c7fd,_0x3c47d9),'rangesCache':_0x43b70e};};var _0x2d2b5c=Object[_0x2d3cd7(0x11f)],_0x2551a6=(_0x39f22a,_0x2dec50,_0x25c091,_0x5726d1)=>{for(var _0x19ec99=_0x5726d1>0x1?void 0x0:_0x5726d1?_0x2d2b5c(_0x2dec50,_0x25c091):_0x2dec50,_0x595a82=_0x39f22a['length']-0x1,_0x334ad8;_0x595a82>=0x0;_0x595a82--)(_0x334ad8=_0x39f22a[_0x595a82])&&(_0x19ec99=_0x334ad8(_0x19ec99)||_0x19ec99);return _0x19ec99;},_0x284f5a=(_0x3d35bf,_0x1b385c)=>(_0x55ee1e,_0x31d230)=>_0x1b385c(_0x55ee1e,_0x31d230,_0x3d35bf);_0x159003['SheetsPivotDataSourceModel']=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x232e7e,_0x1fa6d4,_0x2e4a4b,_0x934d06,_0x664e8,_0x534207){const _0x25eaca=_0x2d3cd7;super(),_0x4a4d7d(this,_0x25eaca(0x28d),new Map()),_0x4a4d7d(this,_0x25eaca(0x389),new Map()),_0x4a4d7d(this,_0x25eaca(0x89),new Map()),_0x4a4d7d(this,'_textInfo'),_0x4a4d7d(this,'_collectionChange$',new _0x139446[(_0x25eaca(0x226))]()),_0x4a4d7d(this,_0x25eaca(0x2e0),this[_0x25eaca(0x238)][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x1f5),new _0x139446[(_0x25eaca(0x226))]()),_0x4a4d7d(this,_0x25eaca(0x1cb),this[_0x25eaca(0x1f5)][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x314),new _0x139446['Subject']()),_0x4a4d7d(this,_0x25eaca(0x229),this['_fieldsCollectionChange$'][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x239),new Map()),_0x4a4d7d(this,'needSameDeleteModel',[]),_0x4a4d7d(this,_0x25eaca(0x2bc),new Map()),(this[_0x25eaca(0x1a6)]=_0x232e7e,this[_0x25eaca(0x37f)]=_0x1fa6d4,this[_0x25eaca(0x205)]=_0x2e4a4b,this['_configService']=_0x934d06,this[_0x25eaca(0x341)]=_0x664e8,this[_0x25eaca(0x333)]=_0x534207,this['_initSnapshot']());}[_0x2d3cd7(0x186)](){const _0x60f855=_0x2d3cd7;return this[_0x60f855(0x32b)]?this['_textInfo']:_0x4fe1c6;}[_0x2d3cd7(0x322)](_0x1eddf1){const _0x3f0075=_0x2d3cd7;this[_0x3f0075(0x32b)]=_0x1eddf1;}['handleMoveRange'](_0x4250a8){const _0x2f439a=_0x2d3cd7;var _0x27a065;const {from:_0x482351,to:_0x22f021,unitId:_0x573a5b,fromRange:_0x637a0,toRange:_0x3959d9}=_0x4250a8;if(_0x482351&&_0x22f021){const _0x4303f0=this['getDataFieldManager'](_0x573a5b),_0x11c797=this[_0x2f439a(0x28d)]['get'](_0x573a5b),_0x31f67d=(_0x27a065=this[_0x2f439a(0x37f)]['getUnit'](_0x573a5b))==null?void 0x0:_0x27a065[_0x2f439a(0x98)](_0x22f021[_0x2f439a(0x2da)]);if(!_0x11c797||!_0x31f67d)return;const _0x414001=_0x31f67d==null?void 0x0:_0x31f67d[_0x2f439a(0x26c)]();for(const [_0x1f479d,_0xf693d0]of _0x11c797[_0x2f439a(0x303)]())for(const [_0x3452bc,_0x5e73d0]of _0xf693d0['entries']()){const {sourceRangeInfo:_0x1a1915}=_0x5e73d0;if(_0x1a1915[_0x2f439a(0x19c)]===_0x573a5b&&_0x1a1915[_0x2f439a(0x2da)]===_0x482351[_0x2f439a(0x2da)]&&_0x2814ce[_0x2f439a(0x2f1)][_0x2f439a(0x36e)](_0x637a0,_0x1a1915[_0x2f439a(0x17f)])){const _0xfa97a8={'row':_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x338)]-_0x637a0[_0x2f439a(0x338)],'col':_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x367)]-_0x637a0['startColumn']},_0x46dfbb={'unitId':_0x573a5b,'subUnitId':_0x22f021['subUnitId'],'sheetName':_0x414001,'range':{'startRow':_0x3959d9[_0x2f439a(0x338)]+_0xfa97a8[_0x2f439a(0x363)],'endRow':_0x3959d9[_0x2f439a(0x338)]+_0xfa97a8['row']+_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x10b)]-_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x338)],'startColumn':_0x3959d9[_0x2f439a(0x367)]+_0xfa97a8['col'],'endColumn':_0x3959d9[_0x2f439a(0x367)]+_0xfa97a8['col']+_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x375)]-_0x1a1915['range'][_0x2f439a(0x367)]}};_0x4303f0[_0x2f439a(0x182)](_0x3452bc,_0x46dfbb);const _0x316176={..._0x5e73d0,'sourceRangeInfo':_0x46dfbb};this[_0x2f439a(0xb4)](_0x573a5b,_0x22f021[_0x2f439a(0x2da)],_0x3452bc,_0x316176),this[_0x2f439a(0x166)]({'unitId':_0x573a5b,'token':_0x3452bc,'type':_0x488eeb[_0x2f439a(0x376)],'oldSourceRangeInfo':_0x1a1915,'dataRangeInfo':_0x46dfbb,'targetCellInfo':_0x5e73d0[_0x2f439a(0x301)]}),this['updateConfig']({'unitId':_0x573a5b,'subUnitId':_0x22f021[_0x2f439a(0x2da)],'oldSubUnitId':_0x1f479d,'pivotTableId':_0x3452bc,'pivotTableConfig':_0x316176,'collectionConfig':_0x4303f0[_0x2f439a(0x32c)]()});}}}}['broadcastCollectionChange'](_0x40b010){const _0x31b230=_0x2d3cd7;this[_0x31b230(0x238)]['next'](_0x40b010);}[_0x2d3cd7(0x2d0)](_0x314415){const _0x139e33=_0x2d3cd7;let _0xd48777=this[_0x139e33(0x239)][_0x139e33(0x33f)](_0x314415);return _0xd48777||(_0xd48777=new _0x26395d(this,this[_0x139e33(0x37f)]),this['_dataFieldManagerCollection']['set'](_0x314415,_0xd48777)),_0xd48777;}['getCollection'](_0x2837ba,_0x3ace5f){const _0x1fd914=_0x2d3cd7;return this['getDataFieldManager'](_0x2837ba)[_0x1fd914(0x2f9)][_0x3ace5f];}[_0x2d3cd7(0x241)](_0x1e3128,_0x3ed7e2,_0x385073){const _0x48b8d4=_0x2d3cd7;return this[_0x48b8d4(0x2d0)](_0x1e3128)[_0x48b8d4(0x241)](_0x3ed7e2,_0x385073);}[_0x2d3cd7(0x2d1)](_0x3f4485,_0x37f80c){const _0x45a9f1=_0x2d3cd7;let _0x15e19c=this[_0x45a9f1(0x28d)][_0x45a9f1(0x33f)](_0x3f4485);_0x15e19c||(_0x15e19c=new Map(),this[_0x45a9f1(0x28d)]['set'](_0x3f4485,_0x15e19c));let _0x32ef32=_0x15e19c[_0x45a9f1(0x33f)](_0x37f80c);return _0x32ef32||(_0x32ef32=new Map(),_0x15e19c[_0x45a9f1(0x1f8)](_0x37f80c,_0x32ef32)),_0x32ef32;}[_0x2d3cd7(0xb4)](_0x26af70,_0xfc9587,_0x3f7c6b,_0x3f88a9){const _0x3bcdde=_0x2d3cd7;this[_0x3bcdde(0x2d1)](_0x26af70,_0xfc9587)[_0x3bcdde(0x1f8)](_0x3f7c6b,_0x3f88a9);}[_0x2d3cd7(0x2cc)](_0x31d31d,_0x334904,_0x2dd844){const _0x37a30b=_0x2d3cd7;var _0x8ad3d0,_0x46dc4d,_0xd4bf97,_0x5a0b3c;((_0x46dc4d=(_0x8ad3d0=this['_model'][_0x37a30b(0x33f)](_0x31d31d))==null?void 0x0:_0x8ad3d0[_0x37a30b(0x33f)](_0x334904))==null?void 0x0:_0x46dc4d[_0x37a30b(0x33f)](_0x2dd844))&&((_0x5a0b3c=(_0xd4bf97=this[_0x37a30b(0x28d)][_0x37a30b(0x33f)](_0x31d31d))==null?void 0x0:_0xd4bf97[_0x37a30b(0x33f)](_0x334904))==null||_0x5a0b3c[_0x37a30b(0xa1)](_0x2dd844));}[_0x2d3cd7(0x244)](_0x54d2ca,_0x317ee6){const _0x4b9557=_0x2d3cd7;this['_pivotTableInstanceCache'][_0x4b9557(0x1f8)](_0x54d2ca,_0x317ee6);}['_deletePivotTableInstanceCache'](_0x9836c0){const _0x42e319=_0x2d3cd7;this[_0x42e319(0x389)][_0x42e319(0xa1)](_0x9836c0);}[_0x2d3cd7(0xe4)](_0x216cc3,_0x37b5d8){const _0x4636f4=_0x2d3cd7;let _0x2f0be5=this['_viewData'][_0x4636f4(0x33f)](_0x216cc3);_0x2f0be5||(_0x2f0be5=new Map(),this['_viewData']['set'](_0x216cc3,_0x2f0be5));let _0xb9e60c=_0x2f0be5[_0x4636f4(0x33f)](_0x37b5d8);return _0xb9e60c||(_0xb9e60c=new Map(),_0x2f0be5['set'](_0x37b5d8,_0xb9e60c)),_0xb9e60c;}[_0x2d3cd7(0x1b1)](_0x41ab1f){const _0x297db4=_0x2d3cd7,{unitId:_0x312e0d,subUnitId:_0x177473,pivotTableId:_0x24f36c,pivotTableConfig:_0x24433d,collectionConfig:_0x3a7ed8}=_0x41ab1f,_0x381e46={'unitId':_0x312e0d,'subUnitId':_0x177473,'oldSubUnitId':_0x177473,'pivotTableId':_0x24f36c,'pivotTableConfig':_0x24433d,'collectionConfig':_0x3a7ed8};this['_commandService'][_0x297db4(0x334)](_0x137307['id'],_0x381e46,{'onlyLocal':!0x0});}[_0x2d3cd7(0x2c1)](_0x1ad01f,_0x519f1c,_0x3d7147,_0x4cfee3,_0x92be31,_0x195a8f,_0x241fc5,_0x404900=!0x1){const _0x3375f2=_0x2d3cd7;var _0x47529c;this[_0x3375f2(0x341)][_0x3375f2(0x334)](_0x4b3f05['id'],{'single':{'unitId':_0x1ad01f,'subUnitId':_0x519f1c,'type':_0x3d7147,'pivotTableId':_0x4cfee3,'view':_0x92be31,'pivotConfig':_0x195a8f},'collectionConfig':{[_0x1ad01f]:_0x241fc5}},{'onlyLocal':!0x0});const _0x36159b=!!((_0x47529c=this[_0x3375f2(0x250)](_0x4cfee3))!=null&&_0x47529c['isEmpty']()),_0x4550e2=this['getPivotTableConfig'](_0x1ad01f,_0x519f1c,_0x4cfee3);_0x4550e2&&this[_0x3375f2(0x2ec)]({'view':_0x92be31,'pivotTableId':_0x4cfee3,'textInfo':this[_0x3375f2(0x186)](),'isEmpty':_0x36159b,'targetCellInfo':_0x4550e2[_0x3375f2(0x301)]},_0x404900);}[_0x2d3cd7(0x2ec)](_0x363040,_0x501f91){const _0x17278b=_0x2d3cd7,{targetCellInfo:_0x149a96,pivotTableId:_0x4da07e}=_0x363040,{unitId:_0xb826ee,subUnitId:_0x3fe2c7}=_0x149a96,_0x304613=this[_0x17278b(0xe4)](_0xb826ee,_0x3fe2c7),_0x5f23e5=_0x304613[_0x17278b(0x33f)](_0x4da07e);let _0x3cec7c,_0x1861d6;_0x5f23e5&&(_0x3cec7c=_0x5f23e5[_0x17278b(0x354)],_0x1861d6=_0x5f23e5[_0x17278b(0x142)]);const {rangesCache:_0x4da0bd,matrix:_0x565edc}=_0x1e6598(_0x363040);_0x304613[_0x17278b(0x1f8)](_0x4da07e,{'rangeCache':_0x4da0bd,'matrix':_0x565edc,'oldMatrix':_0x1861d6,'oldRangeCache':_0x3cec7c}),_0x501f91||this[_0x17278b(0x1f5)][_0x17278b(0x382)]({'unitId':_0xb826ee,'subUnitId':_0x3fe2c7,'pivotTableId':_0x4da07e});}[_0x2d3cd7(0x7d)](_0x120d78,_0x3de824,_0x511047,_0x28de03,_0x579447){const _0x18c7ed=_0x2d3cd7;this['_updateModelCache'](_0x120d78,_0x3de824,_0x511047,_0x579447),this[_0x18c7ed(0x244)](_0x511047,_0x28de03);}[_0x2d3cd7(0x383)](_0x4955bf,_0x274cf3,_0xa82c4e){const _0x31d25e=_0x2d3cd7,_0x2483f0=this['getDataFieldManager'](_0x4955bf);_0x2483f0[_0x31d25e(0x2db)](_0xa82c4e)['forEach'](_0x1b9124=>{const _0x1d3d56=_0x31d25e;_0x2483f0[_0x1d3d56(0x29f)](_0x1b9124);}),this['removeCollections'](_0x4955bf,_0xa82c4e),this[_0x31d25e(0x2cc)](_0x4955bf,_0x274cf3,_0xa82c4e),this[_0x31d25e(0x13c)](_0xa82c4e);}[_0x2d3cd7(0x245)](_0x26a5d7,_0x106185,_0x18ee1e,_0x2ab6ee){const _0x61a9f9=_0x2d3cd7;this[_0x61a9f9(0xb4)](_0x26a5d7,_0x106185,_0x18ee1e,_0x2ab6ee);}['getPivotTableConfig'](_0x562e77,_0x42cd09,_0x33770d){const _0x3d8322=_0x2d3cd7;var _0x5e8b45,_0x4f7b3d;const _0x4e22b6=(_0x4f7b3d=(_0x5e8b45=this[_0x3d8322(0x28d)][_0x3d8322(0x33f)](_0x562e77))==null?void 0x0:_0x5e8b45['get'](_0x42cd09))==null?void 0x0:_0x4f7b3d['get'](_0x33770d);if(_0x4e22b6)return _0x4e22b6;}['getPivotTableModelConfig'](_0x1cb314,_0x4c4b0b,_0x4412c5){const _0x54463f=_0x2d3cd7;var _0x518567,_0x16ddb6;const _0x2db7ea=(_0x16ddb6=(_0x518567=this['_model'][_0x54463f(0x33f)](_0x1cb314))==null?void 0x0:_0x518567[_0x54463f(0x33f)](_0x4c4b0b))==null?void 0x0:_0x16ddb6[_0x54463f(0x33f)](_0x4412c5);if(_0x2db7ea)return _0x2db7ea[_0x54463f(0xf4)];}[_0x2d3cd7(0x250)](_0x462cea){const _0x14fef0=_0x2d3cd7;return this[_0x14fef0(0x389)][_0x14fef0(0x33f)](_0x462cea);}[_0x2d3cd7(0xbb)](_0x1187b5){const _0x3a8248=_0x2d3cd7;this[_0x3a8248(0x28d)][_0x3a8248(0xa1)](_0x1187b5);const _0xb03e3=this[_0x3a8248(0x239)]['get'](_0x1187b5);_0xb03e3&&(_0xb03e3[_0x3a8248(0x264)](),this[_0x3a8248(0x239)][_0x3a8248(0xa1)](_0x1187b5)),this[_0x3a8248(0x89)][_0x3a8248(0xa1)](_0x1187b5),this[_0x3a8248(0x1a3)][_0x3a8248(0x34b)](_0x5d2022=>{const _0x11555a=_0x3a8248;_0x5d2022[_0x11555a(0xbb)](_0x1187b5);});}[_0x2d3cd7(0x2e5)](_0x57ac78,_0x281d2e,_0x35c890,_0x1d2ade){const _0x4efa1f=_0x2d3cd7;return this[_0x4efa1f(0x2d0)](_0x35c890[_0x4efa1f(0x19c)])[_0x4efa1f(0x2e5)](_0x57ac78,_0x281d2e,_0x35c890,_0x1d2ade);}[_0x2d3cd7(0x1ef)](_0x361ebf){const _0x189a85=_0x2d3cd7;return this['getDataFieldManager'](_0x361ebf[_0x189a85(0x19c)])['createCollectionWithDataRange'](_0x361ebf);}[_0x2d3cd7(0x19d)](_0x49a6b6,_0x8ffff8,_0x2cb376){const _0x4136dd=_0x2d3cd7;this[_0x4136dd(0x2d0)](_0x2cb376['unitId'])[_0x4136dd(0x19d)](_0x49a6b6,_0x8ffff8,_0x2cb376);}['removeDataField'](_0x69d338,_0xf10002){const _0x1ae3fa=_0x2d3cd7;this[_0x1ae3fa(0x2d0)](_0x69d338)[_0x1ae3fa(0x29f)](_0xf10002);}[_0x2d3cd7(0xcd)](_0x44fd26,_0x19f7ba){const _0x3ef0cc=_0x2d3cd7;this[_0x3ef0cc(0x2d0)](_0x44fd26)[_0x3ef0cc(0x22c)](_0x19f7ba);}[_0x2d3cd7(0x13f)](_0x269346,_0x1c90c6){const _0x5ecb51=_0x2d3cd7;var _0x5a3291;return(_0x5a3291=this[_0x5ecb51(0x28d)][_0x5ecb51(0x33f)](_0x269346))==null?void 0x0:_0x5a3291[_0x5ecb51(0x33f)](_0x1c90c6);}[_0x2d3cd7(0x103)](_0x3cc537){const _0x4dde08=_0x2d3cd7;for(const [_0x1b2daa,_0x30c722]of this[_0x4dde08(0x28d)]['entries']())for(const [_0x22e650,_0xf57a25]of _0x30c722[_0x4dde08(0x303)]())if(_0xf57a25[_0x4dde08(0x128)](_0x3cc537))return{'unitId':_0x1b2daa,'subUnitId':_0x22e650};return null;}[_0x2d3cd7(0x23d)](_0xccea4e,_0x2123a2,_0xa70cae,_0x5e3d49){const _0x350f90=_0x2d3cd7,_0x51bf46=this[_0x350f90(0xe4)](_0xccea4e,_0x2123a2);_0x5e3d49?_0x51bf46['set'](_0xa70cae,_0x5e3d49):_0x51bf46['delete'](_0xa70cae),this[_0x350f90(0x1f5)]['next']({'unitId':_0xccea4e,'subUnitId':_0x2123a2,'pivotTableId':_0xa70cae});}['dispose'](){const _0x37510c=_0x2d3cd7;super[_0x37510c(0x264)]();}[_0x2d3cd7(0xc4)](_0x89a9cd,_0x216795,_0x1e94a9){const _0x50719d=_0x2d3cd7;var _0x534df7,_0x384982;const _0x51776e=(_0x384982=(_0x534df7=this['_viewData'][_0x50719d(0x33f)](_0x89a9cd))==null?void 0x0:_0x534df7[_0x50719d(0x33f)](_0x216795))==null?void 0x0:_0x384982[_0x50719d(0x33f)](_0x1e94a9);return _0x51776e||null;}[_0x2d3cd7(0x2aa)](_0x379ef2){const _0x4d5d0d=_0x2d3cd7;this[_0x4d5d0d(0x246)](_0x379ef2);}[_0x2d3cd7(0x246)](_0x4e2829){const _0x2df6b1=_0x2d3cd7,{token:_0x1be10b,unitId:_0x3b62e9,subUnitId:_0xef4eab}=_0x4e2829,_0x469d93=_0x3b62e9+'-'+_0xef4eab+'-'+_0x1be10b;this['_queryingMap'][_0x2df6b1(0x33f)](_0x469d93)&&clearTimeout(this[_0x2df6b1(0x2bc)][_0x2df6b1(0x33f)](_0x469d93));const _0x1429f2=setTimeout(()=>{const _0x8b2eff=_0x2df6b1;this['queryDirtyPivotTable'](_0x4e2829),this[_0x8b2eff(0x2bc)][_0x8b2eff(0xa1)](_0x469d93);},_0x289787);this[_0x2df6b1(0x2bc)]['set'](_0x469d93,_0x1429f2);}[_0x2d3cd7(0xe0)](_0x50243e){const _0x38239f=_0x2d3cd7,{unitId:_0x2d74dd,subUnitId:_0x234845,token:_0x31394b,type:_0xe9a948,pivotConfig:_0x3e3cb5}=_0x50243e,_0x45fb32=this[_0x38239f(0x250)](_0x31394b),_0x1d7ee2=_0x45fb32==null?void 0x0:_0x45fb32[_0x38239f(0x1bf)](),_0x1e0d2a=_0x3e3cb5!=null?_0x3e3cb5:this[_0x38239f(0x2e4)](_0x2d74dd,_0x234845,_0x31394b);_0x1e0d2a&&(_0x1e0d2a[_0x38239f(0x26e)]=!!(_0x45fb32!=null&&_0x45fb32['isEmpty']())),(_0x1d7ee2||_0xe9a948===_0x2229c0[_0x38239f(0x15c)])&&this[_0x38239f(0x2c1)](_0x2d74dd,_0x234845,_0xe9a948,_0x31394b,_0x1d7ee2,_0x1e0d2a,this[_0x38239f(0x2d0)](_0x2d74dd)['toJSON']());}[_0x2d3cd7(0x32c)](_0x20ca48){const _0x3578ba=_0x2d3cd7,_0x236d66={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3578ba(0x2d0)](_0x20ca48)&&(_0x236d66['dataFieldManagerConfig'][_0x20ca48]=this[_0x3578ba(0x2d0)](_0x20ca48)[_0x3578ba(0x32c)]()),this[_0x3578ba(0x28d)][_0x3578ba(0x33f)](_0x20ca48)){_0x236d66[_0x3578ba(0x16d)][_0x20ca48]={};const _0x83de6a=this[_0x3578ba(0x28d)][_0x3578ba(0x33f)](_0x20ca48);_0x83de6a!=null&&_0x83de6a['size']&&[..._0x83de6a[_0x3578ba(0x22a)]()]['forEach'](_0x557801=>{const _0x1557eb=_0x3578ba,_0x1faf5b=_0x83de6a[_0x1557eb(0x33f)](_0x557801);_0x1faf5b!=null&&_0x1faf5b[_0x1557eb(0x102)]&&(_0x236d66['pivotTableConfigs'][_0x20ca48][_0x557801]={},[..._0x1faf5b['keys']()][_0x1557eb(0x34b)](_0xe400e7=>{const _0x53121f=_0x1557eb,_0x3682b2=_0x1faf5b[_0x53121f(0x33f)](_0xe400e7);_0x3682b2&&(_0x236d66['pivotTableConfigs'][_0x20ca48][_0x557801][_0xe400e7]=_0x3682b2);}));});}return _0x236d66;}[_0x2d3cd7(0x183)](_0x12bdf8){const _0x59ed15=_0x2d3cd7;var _0x43a60e;const {dataFieldManagerConfig:_0x551331,pivotTableConfigs:_0x47fc82}=_0x12bdf8;_0x551331&&Object[_0x59ed15(0x22a)](_0x551331)[_0x59ed15(0x34b)](_0x284eda=>{const _0x37f7dc=_0x59ed15;this[_0x37f7dc(0x2d0)](_0x284eda)[_0x37f7dc(0x183)](_0x551331[_0x284eda]);});const _0x4499a9=[];if(_0x47fc82){const _0x52a78c=(_0x43a60e=this[_0x59ed15(0x1a6)]['get'](_0x2814ce[_0x59ed15(0xca)])[_0x59ed15(0xd1)](_0xde1950['LS_CONFIG_KEY']))!=null?_0x43a60e:{},{ls:_0x3474fa,pbk:_0x5e1a30}=_0x52a78c,_0x1f97c0=_0x104462(_0x3c672e,_0x3474fa,_0x5e1a30)[_0x59ed15(0x2b7)];Object[_0x59ed15(0x22a)](_0x47fc82)[_0x59ed15(0x34b)](_0x33ff90=>{const _0x24c80b=_0x59ed15;let _0x4c9f6b=0x0;const _0x1897bf=_0x47fc82[_0x33ff90];Object[_0x24c80b(0x22a)](_0x1897bf)[_0x24c80b(0x34b)](_0x387029=>{const _0x9aeb70=_0x24c80b,_0x5082c3=_0x1897bf[_0x387029];Object[_0x9aeb70(0x22a)](_0x5082c3)[_0x9aeb70(0x34b)](_0x13cd5b=>{const _0x23be04=_0x9aeb70,_0x2887b6=_0x5082c3[_0x13cd5b];if(_0x2887b6){if(_0x4c9f6b>=_0x1f97c0)return;_0x4c9f6b++;const _0x13c83b=this['getDataFieldManager'](_0x33ff90),_0xf3a2bd=_0x13c83b[_0x23be04(0x2f9)][_0x13cd5b],_0x2f1bc1=_0xf3a2bd['getFieldIds']();let _0x165bb7=0x0;const _0x1514cb=[];for(const _0x3b50c0 of _0x2f1bc1){const _0x3937e6=_0xf3a2bd['getFieldById'](_0x3b50c0);if(_0x3ed89a[_0x23be04(0x374)](_0x3937e6)){const _0x2eb342=_0x3937e6[_0x23be04(0x1fd)](),_0x23414e=_0xf3a2bd[_0x23be04(0x20b)](_0x2eb342);_0x23414e&&_0x1514cb[_0x23be04(0xf8)]([_0x3937e6,_0x23414e]);continue;}_0x13c83b[_0x23be04(0x1a4)](_0x3b50c0,_0x2887b6[_0x23be04(0x281)],_0x165bb7),_0x165bb7++;}_0x1514cb['forEach'](([_0x232319,_0x3f56b9])=>{const _0x4c9cb0=_0x23be04;_0x232319[_0x4c9cb0(0x14d)](_0x3f56b9);});const _0x245ece=new _0x3ed89a[(_0x23be04(0x299))](_0xf3a2bd);_0x245ece[_0x23be04(0x183)](_0x2887b6[_0x23be04(0xf4)]),this[_0x23be04(0x7d)](_0x33ff90,_0x387029,_0x13cd5b,_0x245ece,_0x2887b6);const _0x20fccf=_0x245ece[_0x23be04(0x1bf)]();_0x4499a9[_0x23be04(0xf8)]({'unitId':_0x33ff90,'subUnitId':_0x387029,'pivotTableId':_0x13cd5b,'view':_0x20fccf[_0x23be04(0x32c)](),'pivotConfig':_0x2887b6,'type':_0x2229c0[_0x23be04(0xa3)]});const _0x195987=!!_0x245ece['isEmpty'](),_0x4eeafd={'view':_0x20fccf,'pivotTableId':_0x13cd5b,'textInfo':this[_0x23be04(0x186)](),'isEmpty':_0x195987,'targetCellInfo':_0x2887b6[_0x23be04(0x301)]};this[_0x23be04(0x2ec)](_0x4eeafd,!0x1);}});});});}_0x551331&&Object['keys'](_0x551331)[_0x59ed15(0x34b)](_0x463afa=>{const _0x78fc0e=_0x59ed15,_0x2a57b9=this[_0x78fc0e(0x2d0)](_0x463afa);this['_fieldsCollectionChange$']['next'](_0x2a57b9[_0x78fc0e(0x2f9)]);}),this[_0x59ed15(0x341)][_0x59ed15(0x334)](_0x4b3f05['id'],{'batch':_0x4499a9,'collectionConfig':_0x551331},{'onlyLocal':!0x0});}[_0x2d3cd7(0x222)](){const _0x208ce4=_0x2d3cd7;this['disposeWithMe'](this[_0x208ce4(0x333)][_0x208ce4(0x2a4)]({'toJson':_0x1da496=>JSON['stringify'](this[_0x208ce4(0x32c)](_0x1da496)),'parseJson':_0x56be5a=>{const _0x2906fa=_0x208ce4;if(!_0x56be5a)return{};try{return JSON[_0x2906fa(0x153)](_0x56be5a);}catch{return{};}},'businesses':[_0x2814ce[_0x208ce4(0x234)][_0x208ce4(0x30e)]],'pluginName':_0x3e4154,'onLoad':(_0x4f006,_0x91707b)=>{const _0x1aecc3=_0x208ce4;this[_0x1aecc3(0x183)](_0x91707b);},'onUnLoad':_0xcd2716=>{const _0x3fb6ee=_0x208ce4;this[_0x3fb6ee(0xbb)](_0xcd2716);}}));}},_0x159003[_0x2d3cd7(0x187)]=_0x2551a6([_0x284f5a(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x284f5a(0x1,_0x2814ce[_0x2d3cd7(0x368)]),_0x284f5a(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['LifecycleService'])),_0x284f5a(0x3,_0x2814ce[_0x2d3cd7(0xca)]),_0x284f5a(0x4,_0x2814ce[_0x2d3cd7(0x263)]),_0x284f5a(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x2d8)]))],_0x159003['SheetsPivotDataSourceModel']);const _0xe53759={0x0:{0x0:{'v':_0x2d3cd7(0x17e),'s':_0x4cb2bd}},0x2:{0x1:{'v':'','s':_0x4cb2bd},0x2:{'v':'','s':_0x4cb2bd},0x3:{'v':_0x2d3cd7(0x134),'s':_0x4cb2bd},0x4:{'v':'','s':_0x4cb2bd},0x5:{'v':'','s':_0x4cb2bd}},0x3:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x4:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x5:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x6:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x7:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x8:{0x0:{'v':'row','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':_0x2d3cd7(0x1ab),'s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x9:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xa:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xb:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xc:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xd:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}}},_0x214f00={'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':[]},_0x104896=(_0x3f3507,_0x435e65)=>{const _0x58f28b=_0x2d3cd7,_0x5ecae8=new _0x2814ce[(_0x58f28b(0x15b))](),_0x79392=new _0x2814ce[(_0x58f28b(0x15b))](_0xe53759),{row:_0x2dad87,col:_0x2559c6}=_0x435e65;_0x79392[_0x58f28b(0x2d5)]((_0x501ef6,_0x3a5b08,_0x910b3c)=>{const _0x33180b=_0x58f28b;let _0x481862='';_0x910b3c['v']===_0x33180b(0x17e)?_0x481862=_0x3f3507[_0x33180b(0x17e)]:_0x910b3c['v']===_0x33180b(0x363)?_0x481862=_0x3f3507[_0x33180b(0x363)]:_0x910b3c['v']===_0x33180b(0x134)?_0x481862=_0x3f3507[_0x33180b(0x134)]:_0x910b3c['v']===_0x33180b(0x1ab)&&(_0x481862=_0x3f3507[_0x33180b(0x1ab)]),_0x5ecae8['setValue'](_0x501ef6+_0x2dad87,_0x3a5b08+_0x2559c6,{..._0x910b3c,'v':_0x481862});});const _0x52fa04=_0x2814ce[_0x58f28b(0x313)]['deepClone'](_0x214f00);return Object[_0x58f28b(0x22a)](_0x214f00)['forEach'](_0x129d04=>{const _0xc41b5=_0x58f28b;_0x52fa04[_0x129d04]=_0x214f00[_0x129d04]['map'](_0x553b64=>({..._0x553b64,'startRow':_0x553b64[_0xc41b5(0x338)]+_0x2dad87,'endRow':_0x553b64[_0xc41b5(0x10b)]+_0x2dad87,'startColumn':_0x553b64[_0xc41b5(0x367)]+_0x2559c6,'endColumn':_0x553b64[_0xc41b5(0x375)]+_0x2559c6}));}),{'matrixCache':_0x5ecae8,'rangesCache':_0x52fa04};};function _0x48dae4(_0x1642d8,_0x4632b3){const _0x2cc33c=_0x2d3cd7;let _0x8e5a26='';const _0x56e741=this[_0x2cc33c(0x186)]();switch(_0x4632b3){case _0x3ed89a['PivotSubtotalTypeEnum']['average']:_0x8e5a26=_0x56e741['sheets-pivot.averageName']+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x2b7)]:_0x8e5a26=_0x56e741['sheets-pivot.countName']+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['countNums']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2c5)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x2bf)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x88)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x26b)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x1e8)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['product']:_0x8e5a26=_0x56e741[_0x2cc33c(0x37b)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum'][_0x2cc33c(0x2c2)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x11c)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['stdDevp']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2b9)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['sum']:_0x8e5a26=_0x56e741[_0x2cc33c(0x364)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum']['var']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2c9)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum'][_0x2cc33c(0x160)]:_0x8e5a26=_0x56e741['sheets-pivot.varpName']+_0x1642d8;break;default:_0x8e5a26=_0x1642d8;break;}return _0x8e5a26;}function _0x41da6f(_0x1d568a,_0xd8aa08,_0x585d00,_0x377cef,_0x150e07){const _0x1185e1=_0x2d3cd7;var _0xb44ae4,_0x395b7e,_0x416e87,_0x477dd2,_0x3ba7c1;const _0x458a77=_0x2814ce[_0x1185e1(0x30d)](_0x1d568a,_0xd8aa08),{rangesInfo:_0x520fb3,areaInfo:_0x28e242,headerMap:_0x217107}=_0x150e07;if(!_0x520fb3||!_0x28e242||!_0x217107)return;const _0x41f560=Object[_0x1185e1(0x22a)](_0x520fb3)[_0x1185e1(0x217)](_0x4d62b9=>_0x520fb3[_0x4d62b9][_0x1185e1(0x36b)](_0x21eb31=>_0x2814ce[_0x1185e1(0x2f1)][_0x1185e1(0x36e)](_0x21eb31,_0x458a77))),_0x47df5e=_0x28e242;let _0x2d33db,_0x24e9f5,_0x2d6619;if(_0x41f560===_0x1185e1(0x270))_0x2d33db=(_0xb44ae4=_0x47df5e==null?void 0x0:_0x47df5e['rowInfo'])==null?void 0x0:_0xb44ae4[_0x1d568a],_0x24e9f5=(_0x395b7e=_0x217107==null?void 0x0:_0x217107[_0x1185e1(0x202)])==null?void 0x0:_0x395b7e[_0xd8aa08],_0x2d6619=_0x24e9f5==null?void 0x0:_0x24e9f5[_0x1185e1(0xb2)];else{if(_0x41f560==='colRanges')_0x2d33db=(_0x416e87=_0x47df5e==null?void 0x0:_0x47df5e['colInfo'])==null?void 0x0:_0x416e87[_0xd8aa08],_0x24e9f5=(_0x477dd2=_0x217107[_0x1185e1(0x2ae)])==null?void 0x0:_0x477dd2[_0x1d568a+0x1+_0xd8aa08-_0x520fb3[_0x1185e1(0x366)][0x0][_0x1185e1(0x367)]],_0x2d6619=_0x24e9f5==null?void 0x0:_0x24e9f5[_0x1185e1(0xb2)];else{if(_0x41f560===_0x1185e1(0x1ba))_0x2d33db=(_0x3ba7c1=_0x47df5e==null?void 0x0:_0x47df5e[_0x1185e1(0x1c4)])==null?void 0x0:_0x3ba7c1[_0xd8aa08],_0x2d6619=_0x2d33db==null?void 0x0:_0x2d33db[_0x1185e1(0xb2)];else{if(_0x41f560===_0x1185e1(0x1e2)){const _0x137826=_0x585d00==null?void 0x0:_0x585d00['fi'];_0x137826!==void 0x0&&(_0x2d6619=_0x377cef[_0x1185e1(0x38c)](_0x137826));}}}}return{'filterId':_0x2d6619,'info':_0x2d33db,'data':_0x585d00,'headerInfo':_0x24e9f5};}function _0xd34b8d(_0x296957,_0x510b95,_0x6156d3){const _0x2adcc3=_0x2d3cd7,_0x533c74=_0x296957[_0x2adcc3(0x101)],_0x2fd92c=_0x533c74[_0x2adcc3(0x1df)](),_0x493fa1=new Set();_0x296957[_0x2adcc3(0x122)](_0x51c2f1=>{const _0x13225f=_0x2adcc3;_0x493fa1['add'](_0x51c2f1[_0x13225f(0x10a)]);});const _0x38adc2=_0x2fd92c[_0x2adcc3(0x1e5)](_0x21a2b6=>{const _0x5848fc=_0x2adcc3,_0x41a952=_0x533c74['getFieldById'](_0x21a2b6);return{'checked':_0x493fa1['has'](_0x21a2b6),'dataFieldId':_0x41a952['id'],'id':_0x41a952['id'],'name':_0x533c74[_0x5848fc(0x2f5)](_0x41a952['id']),'type':_0x41a952[_0x5848fc(0x22f)](),'pivotTableId':_0x510b95};}),_0x429ea1=[];_0x296957['iterateFieldByArea'](_0x3ed89a[_0x2adcc3(0x292)][_0x2adcc3(0x106)],_0x1de674=>{const _0xe4ccee=_0x2adcc3;_0x429ea1['push']({'dataFieldId':_0x1de674[_0xe4ccee(0x10a)],'tableFieldId':_0x1de674[_0xe4ccee(0x1c2)](),'displayName':_0x1de674[_0xe4ccee(0x2f5)]()});});const _0x102d89=[];_0x296957['iterateFieldByArea'](_0x3ed89a[_0x2adcc3(0x292)][_0x2adcc3(0x1b3)],_0x4ce367=>{const _0x35fdaa=_0x2adcc3;_0x102d89[_0x35fdaa(0xf8)]({'dataFieldId':_0x4ce367['dataFieldId'],'tableFieldId':_0x4ce367[_0x35fdaa(0x1c2)](),'displayName':_0x4ce367[_0x35fdaa(0x2f5)]()});});const _0x2eb358=[];if(_0x296957['iterateFieldByArea'](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2adcc3(0x30f)],_0x52f336=>{const _0x43517d=_0x2adcc3;_0x2eb358[_0x43517d(0xf8)]({'dataFieldId':_0x52f336[_0x43517d(0x10a)],'tableFieldId':_0x52f336[_0x43517d(0x1c2)](),'displayName':_0x52f336[_0x43517d(0x2f5)](),'format':_0x52f336['getFormat'](),'subTotalType':_0x52f336[_0x43517d(0x21d)]()});}),_0x2eb358[_0x2adcc3(0x25f)]>0x1){const _0x2aafa8=_0x296957[_0x2adcc3(0x113)]();(_0x296957[_0x2adcc3(0x385)]()?_0x102d89:_0x429ea1)[_0x2adcc3(0x1c7)](_0x2aafa8,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0x25d543=[];_0x296957[_0x2adcc3(0x25a)](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2adcc3(0x118)],_0x5295cd=>{const _0x1ebc8e=_0x2adcc3;_0x25d543[_0x1ebc8e(0xf8)]({'dataFieldId':_0x5295cd[_0x1ebc8e(0x10a)],'tableFieldId':_0x5295cd['getId'](),'displayName':_0x5295cd[_0x1ebc8e(0x2f5)]()});});const _0x3c35c9=_0x6156d3['sourceRangeInfo'];return{'sourceList':_0x38adc2,'sourceRange':_0x3c35c9,'rowFields':_0x429ea1,'columnFields':_0x102d89,'valueFields':_0x2eb358,'filterFields':_0x25d543,'positionInfo':_0x6156d3[_0x2adcc3(0x301)]};}function _0x38d384(_0x32632d,_0x257b5b,_0x2c4880='',_0x415098={}){const _0x116b75=_0x2d3cd7,_0xf6d650=_0x32632d[_0x116b75(0x33f)](_0x2814ce['LocaleService']);for(const _0x18a8c0 in _0x257b5b)if(Object['prototype'][_0x116b75(0x372)]['call'](_0x257b5b,_0x18a8c0)){const _0x5ee40a=_0x2c4880?_0x2c4880+'.'+_0x18a8c0:_0x18a8c0;typeof _0x257b5b[_0x18a8c0]==_0x116b75(0x1a1)&&_0x257b5b[_0x18a8c0]!==null&&!Array[_0x116b75(0x362)](_0x257b5b[_0x18a8c0])?_0x38d384(_0x32632d,_0x257b5b[_0x18a8c0],_0x5ee40a,_0x415098):_0x415098[_0x5ee40a]=_0xf6d650['t'](_0x5ee40a);}return _0x415098;}const _0x5e6293=_0x384523=>{const _0x371436=_0x2d3cd7;if(!_0x384523)return[];const {rowRanges:_0x14c4d4,colRanges:_0xdabf09,cornerRanges:_0x42bd17,dataRanges:_0x40f06c,pageRanges:_0x164907}=_0x384523,_0x2a481c=[..._0xdabf09,..._0x14c4d4,..._0x40f06c,..._0x42bd17][_0x371436(0x17e)](_0x30cb81=>_0x30cb81[_0x371436(0x338)]>=0x0&&_0x30cb81[_0x371436(0x367)]>=0x0&&_0x30cb81['endRow']>=0x0&&_0x30cb81[_0x371436(0x375)]>=0x0);let _0x515316=Number[_0x371436(0x198)],_0x544580=Number[_0x371436(0xee)],_0x322475=Number[_0x371436(0x198)],_0x54b826=Number['MIN_SAFE_INTEGER'];for(let _0x117e80=0x0;_0x117e80<_0x2a481c[_0x371436(0x25f)];_0x117e80++)_0x515316=Math[_0x371436(0x26b)](_0x515316,_0x2a481c[_0x117e80]['startRow']),_0x544580=Math[_0x371436(0x2bf)](_0x544580,_0x2a481c[_0x117e80][_0x371436(0x10b)]),_0x322475=Math[_0x371436(0x26b)](_0x322475,_0x2a481c[_0x117e80][_0x371436(0x367)]),_0x54b826=Math['max'](_0x54b826,_0x2a481c[_0x117e80][_0x371436(0x375)]);return[..._0x164907,{'startRow':_0x515316,'endRow':_0x544580,'startColumn':_0x322475,'endColumn':_0x54b826}];};function _0x2bb1f6(_0x3e8501,_0x43067b){const _0x522c1a=_0x2d3cd7,_0x2f996d=_0x43067b[_0x522c1a(0x9c)]['drillDown'],{pivotTableId:_0x5d03e6,unitId:_0x2c7ba4,subUnitId:_0x5a90da}=_0x43067b;if(!_0x2f996d)return;const _0x1c7293=_0x3e8501['get'](_0x159003['SheetsPivotDataSourceModel']),_0x3a634d=_0x1c7293[_0x522c1a(0x250)](_0x5d03e6),_0x3f2428=_0x1c7293['getPivotTableConfig'](_0x2c7ba4,_0x5a90da,_0x5d03e6);if(!_0x3a634d||!_0x3f2428)return;const _0x5f236f=_0x3a634d[_0x522c1a(0x85)](_0x2f996d[_0x522c1a(0x7f)]);if(!(_0x5f236f!=null&&_0x5f236f[_0x522c1a(0x25f)]))return;const _0x7e198c=_0x3f2428['sourceRangeInfo'],{unitId:_0x2732e5,subUnitId:_0x169483,range:_0x10ee64}=_0x7e198c;let _0x2cafe6=0x0;const _0x258299=_0x3a634d[_0x522c1a(0x101)][_0x522c1a(0x1df)]()[_0x522c1a(0xc1)]((_0x4af4c,_0x53261d)=>{const _0x15cafd=_0x522c1a;var _0x3a3301;const _0x5c5386=(_0x3a3301=_0x3a634d[_0x15cafd(0x8f)](_0x53261d))==null?void 0x0:_0x3a3301['getformat']();return _0x5c5386&&(_0x4af4c[String(_0x2cafe6)]=_0x5c5386),_0x2cafe6++,_0x4af4c;},{});return{'indexes':_0x5f236f,'range':_0x10ee64,'sourceUnitId':_0x2732e5,'sourceSubUnitId':_0x169483,'formatMap':_0x258299};}function _0x404469(_0x427217,_0x6ff2ff){const _0x59f77c=_0x2d3cd7;if(!_0x427217||!_0x6ff2ff)return!0x0;const _0x4fe276=_0xde1950[_0x59f77c(0x38a)](_0x5a898f,_0x1c86e9),_0x5639f3=new Function(_0x59f77c(0x12e)+_0x4fe276)()(_0x427217,_0x6ff2ff)[_0x59f77c(0x181)],_0x1536d2=_0xde1950[_0x59f77c(0x195)](_0x5639f3,'sf',_0x542082);return!((_0x5639f3==null?void 0x0:_0x5639f3['rt'])===_0xde1950[_0x59f77c(0x7e)][_0x59f77c(0x2c0)]&&!_0x1536d2);}function _0x104462(_0x3fbe7c,_0x23b27e,_0x1a66d7){const _0x335a7e=_0x2d3cd7,_0x220b80={'count':_0x3fbe7c,'timeValid':!0x1};if(!_0x23b27e||!_0x1a66d7)return _0x220b80;const _0x5b79bb=_0xde1950[_0x335a7e(0x38a)](_0x5a898f,_0x1c86e9),_0x142314=new Function(_0x335a7e(0x12e)+_0x5b79bb)()(_0x23b27e,_0x1a66d7);if(_0x142314!=null&&_0x142314[_0x335a7e(0x330)]){const _0x4f694e=_0x142314[_0x335a7e(0x181)],_0x160c98=_0xde1950[_0x335a7e(0x195)](_0x4f694e,'sf',_0x542082);return{'count':_0xde1950[_0x335a7e(0x1b2)](_0x4f694e,_0x160c98,_0x335a7e(0x10e),_0x3fbe7c,_0x3fbe7c,0x0),'timeValid':_0x160c98};}return _0x220b80;}function _0x34a613(_0x452207,_0x45b692,_0x41f83e,_0x344c3a){const _0xe7873a=_0x2d3cd7,_0x41dfe5={'subUnitId':_0x41f83e,'unitId':_0x45b692,'cellValue':_0x5cc6ba[_0xe7873a(0xe3)](_0x344c3a)},_0x307181=_0x5cc6ba[_0xe7873a(0x277)](_0x452207,_0x41dfe5);let _0x5d74bf=!0x1;return new _0x2814ce[(_0xe7873a(0x15b))](_0x307181['cellValue'])['forValue']((_0x3355,_0x1fea25,_0x21ebbe)=>{const _0x119b3a=_0xe7873a;if(!_0x5d74bf&&_0x21ebbe&&(_0x21ebbe[_0x119b3a(0x206)]||_0x21ebbe['f']||_0x21ebbe['p']||_0x21ebbe['s']||_0x21ebbe['si']||_0x21ebbe['t']||_0x21ebbe['v']))return _0x5d74bf=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5cc6ba[_0xe7873a(0x1a7)]['id'],'params':_0x307181},'setRangeValueRedoMutation':{'id':_0x5cc6ba[_0xe7873a(0x1a7)]['id'],'params':_0x41dfe5},'shouldClear':_0x5d74bf};}function _0x3bc057(_0xb85543){const {row:_0x4f132c,col:_0x55cc0c}=_0xb85543,_0x53ab09={'startRow':_0x4f132c,'endRow':_0x4f132c,'startColumn':_0x55cc0c,'endColumn':_0x55cc0c},_0x3d0c01={'startRow':_0x4f132c+0x2,'endRow':_0x4f132c+0xe,'startColumn':_0x55cc0c,'endColumn':_0x55cc0c+0x6};return[_0x53ab09,_0x3d0c01];}function _0x312e8c(_0x223182,_0x449387,_0x1c2217){const _0x567bf1=_0x2d3cd7,{cornerView:_0x27da85,rowView:_0x5e971b,colView:_0x3e1cde,pageView:_0x2cfd0b}=_0x223182,{row:_0x525cd2,col:_0x3567d6}=_0x449387;if(_0x1c2217)return{'rowCount':_0x1a5fe3+_0x525cd2,'colCount':_0xdc74e6+_0x3567d6};const _0x4697d9=_0x2cfd0b[_0x567bf1(0xf1)]>-0x1?_0x2cfd0b[_0x567bf1(0xf1)]+0x1:0x0,_0x1f69eb=_0x2cfd0b[_0x567bf1(0x2e2)]>-0x1?_0x2cfd0b[_0x567bf1(0x2e2)]:0x0,_0x56fa59=_0x525cd2+_0x4697d9+(_0x4697d9?0x1:0x0)+_0x27da85[_0x567bf1(0x2a2)]+_0x5e971b[_0x567bf1(0x2a2)],_0x4d16d2=_0x3567d6+_0x1f69eb,_0x3f074c=_0x3567d6+_0x27da85[_0x567bf1(0x1aa)]+_0x3e1cde[_0x567bf1(0x1aa)],_0x505b52=Math[_0x567bf1(0x2bf)](_0x4d16d2,_0x3f074c);return{'rowCount':_0x56fa59,'colCount':_0x505b52};}function _0x21902f(_0x247c2e,_0x21bfb5,_0x5e92f2,_0x311203){const _0x1ba5c8=_0x2d3cd7,{row:_0x3ad980,col:_0x5aa1e9,unitId:_0xa4ddfe,subUnitId:_0x425ee4}=_0x5e92f2,_0x30dd97=_0x312e8c(_0x21bfb5,{'row':_0x3ad980,'col':_0x5aa1e9},_0x311203),_0x3fa9a2=_0x247c2e[_0x1ba5c8(0x33f)](_0x2814ce[_0x1ba5c8(0x368)]),_0x7a9b0d=_0x5cc6ba['getSheetCommandTarget'](_0x3fa9a2,{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4}),_0xb01ec0=[],_0x147965=[];if(!_0x7a9b0d)return{'undos':_0x147965,'redos':_0xb01ec0};const {worksheet:_0x5c4a18}=_0x7a9b0d,_0x134ca3=_0x5c4a18[_0x1ba5c8(0x1f0)](),_0x3e25e7=_0x5c4a18['getColumnCount']();return _0x134ca3<_0x30dd97['rowCount']&&(_0xb01ec0[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba[_0x1ba5c8(0x33c)]['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':_0x134ca3,'endRow':_0x30dd97[_0x1ba5c8(0x2a2)]-0x1,'startColumn':0x0,'endColumn':_0x3e25e7-0x1}}}),_0x147965[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['RemoveRowMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':_0x134ca3,'endRow':_0x30dd97['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e25e7-0x1}}})),_0x3e25e7<_0x30dd97[_0x1ba5c8(0x1aa)]&&(_0xb01ec0[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['InsertColMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':0x0,'endRow':_0x134ca3-0x1,'startColumn':_0x3e25e7,'endColumn':_0x30dd97[_0x1ba5c8(0x1aa)]-0x1}}}),_0x147965[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['RemoveColMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':0x0,'endRow':_0x134ca3-0x1,'startColumn':_0x3e25e7,'endColumn':_0x30dd97[_0x1ba5c8(0x1aa)]-0x1}}})),{'undos':_0x147965,'redos':_0xb01ec0};}function _0x331f48(_0x28a9e5){const _0x3b525f=_0x2d3cd7;let _0x22b3cb=0x0;for(let _0x2a1b59=0x0;_0x2a1b59<_0x28a9e5[_0x3b525f(0x25f)];_0x2a1b59++){const _0x5b3501=_0x28a9e5[_0x3b525f(0x2d3)](_0x2a1b59);_0x5b3501>=0x4e00&&_0x5b3501<=0x9fff||_0x5b3501>=0x3000&&_0x5b3501<=0x303f||_0x5b3501>=0xff00&&_0x5b3501<=0xffef?_0x22b3cb+=0x2:_0x22b3cb+=0x1;}return _0x22b3cb;}function _0x5229da(_0x3f250c,_0x383a17,_0x34baf8,_0x5dfe98){const _0x474f15=_0x2d3cd7;var _0x27dc13,_0x26f10f,_0x41bb9a,_0x1406f7;const {rowCount:_0x15cac9,colCount:_0x307fc5,headerMap:_0x30b68c}=_0x3f250c,_0x56bee0=0x64,_0x3ea19b=Math[_0x474f15(0x26b)](_0x15cac9,_0x56bee0),_0x141c15=Math[_0x474f15(0x26b)](_0x307fc5,_0x56bee0);let _0x46a3b3='',_0x921ed6=0x0;for(let _0x5b9e9b=0x0;_0x5b9e9b<_0x3ea19b;_0x5b9e9b++)for(let _0x1ab145=0x0;_0x1ab145<_0x141c15;_0x1ab145++){const _0x15cb05={...(_0x26f10f=(_0x27dc13=_0x3f250c[_0x474f15(0x298)])==null?void 0x0:_0x27dc13[_0x5b9e9b])==null?void 0x0:_0x26f10f[_0x1ab145]},_0x56506a=(_0x41bb9a=_0x30b68c[_0x5b9e9b])==null?void 0x0:_0x41bb9a[_0x474f15(0xb2)],_0x1ad268=_0x5dfe98[_0x56506a];let _0x45d1dd=_0x3f250c[_0x474f15(0x16a)](_0x5b9e9b,_0x1ab145);if(_0x15cb05){const _0x42c066=_0x34baf8?_0x1ab145===0x0&&((_0x1406f7=_0x3f250c[_0x474f15(0x272)](_0x1ab145+0x1))==null?void 0x0:_0x1406f7['isValue']):!0x1;_0x45d1dd=_0x5764ab(_0x15cb05,_0x42c066,_0x1ad268,_0x383a17);}if(_0x45d1dd!==void 0x0){const _0x5a7d78=_0x331f48(String(_0x45d1dd));_0x921ed6<_0x5a7d78&&(_0x46a3b3=String(_0x45d1dd),_0x921ed6=_0x5a7d78);}}return _0x46a3b3;}function _0x4af06f(_0x33292b){const _0xdc917c=_0x2d3cd7,{rowCount:_0xcb9183,colCount:_0x19e5af}=_0x33292b;let _0x11abae='',_0x293b52=0x0;for(let _0x5e9d67=_0xcb9183-0x1;_0x5e9d67>0x0&&_0x5e9d67>_0xcb9183-0x3;_0x5e9d67--)for(let _0x3dbdeb=0x0;_0x3dbdeb<_0x19e5af;_0x3dbdeb++){const _0x46f84c=_0x33292b[_0xdc917c(0x16a)](_0x5e9d67,_0x3dbdeb);if(_0x46f84c!==void 0x0){const _0x1c8873=String(_0x46f84c)[_0xdc917c(0x25f)];_0x293b52<_0x1c8873&&(_0x11abae=String(_0x46f84c),_0x293b52=_0x1c8873);}}return _0x11abae;}function _0x5225e7(_0x2a3178){const _0x215937=_0x2d3cd7,{rowCount:_0x3edda5,colCount:_0x3a0614}=_0x2a3178;let _0x9cc9b7='',_0x4f005b=0x0;for(let _0x325b19=0x0;_0x325b19<_0x3edda5;_0x325b19++)for(let _0x4372a2=0x0;_0x4372a2<_0x3a0614;_0x4372a2++){const _0x3685c7=_0x2a3178[_0x215937(0x16a)](_0x325b19,_0x4372a2);if(_0x3685c7!==void 0x0){const _0x10ecb5=String(_0x3685c7)[_0x215937(0x25f)];_0x4f005b<_0x10ecb5&&(_0x9cc9b7=String(_0x3685c7),_0x4f005b=_0x10ecb5);}}return _0x9cc9b7;}function _0x37b34a(_0x53997d,_0x1d00e0){const _0x3ced55=_0x2d3cd7,{rowFields:_0x4b815c,columnFields:_0x4cb9f2,valueFields:_0x35c406,filterFields:_0x29b334,dimension:_0x192d3e,measure:_0x40b654}=_0x1d00e0;for(const _0x333b3d of _0x4b815c){const _0x469dee=_0x192d3e[_0x333b3d];_0x469dee&&_0x53997d[_0x3ced55(0x8f)](_0x469dee[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x469dee[_0x3ced55(0x10a)],_0x3ed89a[_0x3ced55(0x292)][_0x3ced55(0x106)],void 0x0,_0x333b3d),_0x469dee[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x469dee['id'],_0x469dee[_0x3ced55(0x38e)]),_0x469dee[_0x3ced55(0x81)]&&_0x53997d[_0x3ced55(0x258)](_0x469dee['id'],_0x469dee[_0x3ced55(0x81)]),_0x469dee['filterInfo']&&_0x53997d['setLabelFilterInfo'](_0x469dee['id'],_0x469dee['filterInfo']));}for(const _0x500e47 of _0x4cb9f2){const _0x3780e9=_0x192d3e[_0x500e47];_0x3780e9&&_0x53997d[_0x3ced55(0x8f)](_0x3780e9[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x3780e9['dataFieldId'],_0x3ed89a[_0x3ced55(0x292)]['Column'],void 0x0,_0x500e47),_0x3780e9[_0x3ced55(0x81)]&&_0x53997d[_0x3ced55(0x258)](_0x3780e9['id'],_0x3780e9[_0x3ced55(0x81)]),_0x3780e9[_0x3ced55(0x36a)]&&_0x53997d[_0x3ced55(0x95)](_0x3780e9['id'],_0x3780e9[_0x3ced55(0x36a)]),_0x3780e9[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x3780e9['id'],_0x3780e9['displayName']));}for(const _0x437917 of _0x29b334){const _0x1fb8c5=_0x192d3e[_0x437917];_0x1fb8c5&&_0x53997d[_0x3ced55(0x8f)](_0x1fb8c5[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x1fb8c5['dataFieldId'],_0x3ed89a[_0x3ced55(0x292)][_0x3ced55(0x118)],void 0x0,_0x437917),_0x1fb8c5['sortInfo']&&_0x53997d[_0x3ced55(0x258)](_0x1fb8c5['id'],_0x1fb8c5['sortInfo']),_0x1fb8c5[_0x3ced55(0x36a)]&&_0x53997d[_0x3ced55(0x95)](_0x1fb8c5['id'],_0x1fb8c5[_0x3ced55(0x36a)]),_0x1fb8c5[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x1fb8c5['id'],_0x1fb8c5['displayName']));}for(const _0x61634d of _0x35c406){const _0x36e61d=_0x40b654[_0x61634d];_0x36e61d&&_0x53997d[_0x3ced55(0x8f)](_0x36e61d[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x36e61d[_0x3ced55(0x10a)],_0x3ed89a['PivotTableFiledAreaEnum'][_0x3ced55(0x30f)],void 0x0,_0x61634d),_0x36e61d['subtotal']!==void 0x0&&_0x53997d[_0x3ced55(0x30a)](_0x61634d,_0x36e61d[_0x3ced55(0x2f7)]),_0x36e61d[_0x3ced55(0x37c)]&&_0x53997d[_0x3ced55(0x156)](_0x61634d,_0x36e61d[_0x3ced55(0x37c)]),_0x36e61d[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x36e61d['id'],_0x36e61d[_0x3ced55(0x38e)]));}const _0x518060=_0x1d00e0[_0x3ced55(0x1ed)];for(const {fieldId:_0x5127f5,filterInfo:_0x59354d}of _0x518060)_0x53997d['setValueFilterInfo'](_0x5127f5,_0x59354d);}function _0x39e240(_0x38fdb8,_0x3dfe7a){const _0x50eea3=_0x2d3cd7,_0x3a7088=[];_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x106)]&&_0x38fdb8[_0x50eea3(0x25a)](_0x3ed89a['PivotTableFiledAreaEnum']['Row'],_0x1334ed=>{const _0x5c5d32=_0x50eea3;_0x3a7088[_0x5c5d32(0xf8)](_0x1334ed[_0x5c5d32(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)]['Column']&&_0x38fdb8['iterateFieldByArea'](_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x1b3)],_0x1ce8d8=>{const _0x43915e=_0x50eea3;_0x3a7088['push'](_0x1ce8d8[_0x43915e(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x118)]&&_0x38fdb8[_0x50eea3(0x25a)](_0x3ed89a[_0x50eea3(0x292)]['Filter'],_0x986898=>{const _0x9783b7=_0x50eea3;_0x3a7088[_0x9783b7(0xf8)](_0x986898[_0x9783b7(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x30f)]&&_0x38fdb8['iterateFieldByArea'](_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x30f)],_0x1643d0=>{const _0x65f52a=_0x50eea3;_0x3a7088[_0x65f52a(0xf8)](_0x1643d0[_0x65f52a(0x1c2)]());}),_0x3dfe7a===void 0x0&&_0x38fdb8[_0x50eea3(0x122)](_0x159a85=>{const _0x3c8a0b=_0x50eea3;_0x3a7088[_0x3c8a0b(0xf8)](_0x159a85[_0x3c8a0b(0x1c2)]());});const _0x2d4a02=_0x3a7088[_0x50eea3(0x25f)];for(let _0x43e67f=_0x2d4a02-0x1;_0x43e67f>=0x0;_0x43e67f--)_0x38fdb8[_0x50eea3(0x256)](_0x3a7088[_0x43e67f]);const _0x572a49=_0x38fdb8[_0x50eea3(0x124)]();for(const _0x1785e1 in _0x572a49)_0x38fdb8[_0x50eea3(0x2ad)](_0x1785e1);}function _0x2c2634(_0x8f631c,_0x5ceed5){const _0xd1a7ed=_0x2d3cd7,_0x18712b=new Date(_0x3ed89a[_0xd1a7ed(0x28e)](_0x5ceed5)),_0x2a98f8=new Date(_0x3ed89a[_0xd1a7ed(0x28e)](_0x8f631c)),_0x29be98=_0x18712b[_0xd1a7ed(0xd9)](),_0x1fb3ac=_0x2a98f8['getFullYear'](),_0x27b613=_0x18712b[_0xd1a7ed(0x209)](),_0x3f09f2=_0x2a98f8[_0xd1a7ed(0x209)](),_0x5ca6b1=_0x18712b[_0xd1a7ed(0x2ed)](),_0x351207=_0x2a98f8[_0xd1a7ed(0x2ed)](),_0x556172=_0x29be98===_0x1fb3ac,_0x5d6f18=_0x556172&&_0x27b613===_0x3f09f2;return _0x556172&&_0x5d6f18&&!(_0x5d6f18&&_0x5ca6b1===_0x351207)?_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x175)]:_0x556172&&!_0x5d6f18?_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x1fe)]:_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x1cc)];}function _0x3996df(_0x4daa75,_0x1f17e9){const _0x34b64f=_0x2d3cd7,_0x10547f=_0x4daa75[_0x34b64f(0x33f)](_0x159003[_0x34b64f(0x187)])['getTextInfo']();let _0x193b44='';switch(_0x1f17e9){case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x175)]:_0x193b44=_0x10547f[_0x34b64f(0x162)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1fe)]:_0x193b44=_0x10547f[_0x34b64f(0x257)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1cc)]:_0x193b44=_0x10547f[_0x34b64f(0x28f)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x100)]:_0x193b44=_0x10547f[_0x34b64f(0x2df)];break;case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x34b64f(0x316)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.quarter'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x31e)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.date'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x218)]:_0x193b44=_0x10547f[_0x34b64f(0x24a)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1e3)]:_0x193b44=_0x10547f[_0x34b64f(0xa7)];break;case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x34b64f(0xef)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.minute'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0xfa)]:_0x193b44=_0x10547f[_0x34b64f(0x15f)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0xcf)]:_0x193b44=_0x10547f[_0x34b64f(0x119)];break;default:_0x193b44='';break;}return _0x193b44;}const _0x3eacdb=_0x2d3cd7(0x201),_0x2e2525={};var _0x4d3d40=Object[_0x2d3cd7(0x11f)],_0x52a174=(_0x3985fe,_0x37c825,_0x483b3e,_0x2b39eb)=>{const _0x5c744f=_0x2d3cd7;for(var _0x145a38=_0x2b39eb>0x1?void 0x0:_0x2b39eb?_0x4d3d40(_0x37c825,_0x483b3e):_0x37c825,_0x142a80=_0x3985fe[_0x5c744f(0x25f)]-0x1,_0x58610f;_0x142a80>=0x0;_0x142a80--)(_0x58610f=_0x3985fe[_0x142a80])&&(_0x145a38=_0x58610f(_0x145a38)||_0x145a38);return _0x145a38;},_0x52cc5b=(_0x4bc244,_0x3b9faf)=>(_0x4574b0,_0x5d30a8)=>_0x3b9faf(_0x4574b0,_0x5d30a8,_0x4bc244);_0x159003['SheetsPivotTableConfigModel']=class extends _0x2814ce['Disposable']{constructor(_0x5a4e24,_0x2581b5,_0xc562e7,_0x1f49fc,_0x864036){const _0x110cd3=_0x2d3cd7;super(),_0x4a4d7d(this,'_model',new Map()),_0x4a4d7d(this,_0x110cd3(0x291),new Map()),_0x4a4d7d(this,_0x110cd3(0x19b),new Map()),_0x4a4d7d(this,'_pivotTableMatrixInfo',new Map()),_0x4a4d7d(this,_0x110cd3(0x18e),new _0x139446['Subject']()),_0x4a4d7d(this,_0x110cd3(0x9f),new _0x139446[(_0x110cd3(0x226))]()),_0x4a4d7d(this,'pivotInitCompleted$',this[_0x110cd3(0x9f)][_0x110cd3(0x2fb)]()),_0x4a4d7d(this,_0x110cd3(0x7c),new _0x139446[(_0x110cd3(0x226))]()),_0x4a4d7d(this,_0x110cd3(0x86),this[_0x110cd3(0x7c)]['asObservable']()),_0x4a4d7d(this,_0x110cd3(0x32b),{}),_0x4a4d7d(this,_0x110cd3(0xbe),this[_0x110cd3(0x18e)][_0x110cd3(0x2fb)]()),(this['_injector']=_0x5a4e24,this[_0x110cd3(0x341)]=_0x2581b5,this[_0x110cd3(0x37f)]=_0xc562e7,this[_0x110cd3(0x333)]=_0x1f49fc,this['_configService']=_0x864036,this[_0x110cd3(0x192)](),this[_0x110cd3(0x286)]());const _0x5e91c3=this['_configService'][_0x110cd3(0xd1)](_0x3eacdb);(_0x5e91c3==null?void 0x0:_0x5e91c3[_0x110cd3(0xb8)])===!0x0&&this[_0x110cd3(0x222)]();}[_0x2d3cd7(0x286)](){const _0x4f846d=_0x2d3cd7;this[_0x4f846d(0xd4)](this[_0x4f846d(0x37f)][_0x4f846d(0x99)](_0x2814ce['UniverInstanceType'][_0x4f846d(0x30e)])['subscribe'](_0x475498=>{const _0x4f004f=_0x4f846d;this[_0x4f004f(0xbb)](_0x475498[_0x4f004f(0x388)]());}));}[_0x2d3cd7(0x24c)](){const _0x278c97=_0x2d3cd7;this[_0x278c97(0x9f)][_0x278c97(0x382)](!0x0);}['_initLocale'](){const _0xd6147=_0x2d3cd7,_0x47c8c7=_0x38d384(this['_injector'],_0x1ab070,'',{});this[_0xd6147(0x32b)]=_0x47c8c7,this['_commandService'][_0xd6147(0x334)](_0x411e65['id'],{'textInfo':_0x47c8c7},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x118d43=_0x2d3cd7;return this[_0x118d43(0x32b)];}[_0x2d3cd7(0x1e9)](_0x30bcf7,_0x42793a,_0x2813ee,_0x595a59,_0x5caa34){const _0x566e43=_0x2d3cd7;this['updatePivotTableMatrixInfo'](_0x30bcf7,_0x42793a,_0x2813ee,_0x595a59),this[_0x566e43(0x111)](_0x30bcf7,_0x42793a,_0x2813ee,_0x5caa34);}['getPivotTableConfig'](_0x125b9f,_0x54c6b9,_0x534899){const _0x112a7c=_0x2d3cd7;var _0x155653;const _0x4cadd7=(_0x155653=this['_model'][_0x112a7c(0x33f)](_0x125b9f))==null?void 0x0:_0x155653['get'](_0x54c6b9);if(_0x4cadd7)return _0x4cadd7[_0x112a7c(0x33f)](_0x534899);}[_0x2d3cd7(0xcb)](_0x566c15,_0x52fbaa){const _0x1a6256=_0x2d3cd7,_0x207a8d=this[_0x1a6256(0x28d)][_0x1a6256(0x33f)](_0x566c15);if(_0x207a8d){for(const [_0x180124,_0x2bc78b]of _0x207a8d[_0x1a6256(0x303)]())for(const [_0x2bba27,_0x196484]of _0x2bc78b[_0x1a6256(0x303)]())if(_0x2bba27===_0x52fbaa)return _0x196484[_0x1a6256(0x301)];}}['getTargetByPivotId'](_0x3c5075,_0x18ee45,_0x2e3563){const _0x46ad44=_0x2d3cd7,_0x53d0f5=this['getPivotTableConfig'](_0x3c5075,_0x18ee45,_0x2e3563);return _0x53d0f5==null?void 0x0:_0x53d0f5[_0x46ad44(0x301)];}['getSubUnitPivotConfigs'](_0x480172,_0x119c3d){const _0x5365b9=_0x2d3cd7;var _0x2f4a1d;return(_0x2f4a1d=this[_0x5365b9(0x28d)]['get'](_0x480172))==null?void 0x0:_0x2f4a1d[_0x5365b9(0x33f)](_0x119c3d);}['updateConfigCache'](_0x37be0e,_0x2735b6,_0x28e930,_0x283769){const _0x324012=_0x2d3cd7,_0x5f42c2=this[_0x324012(0x2d1)](_0x37be0e,_0x2735b6);_0x283769?_0x5f42c2[_0x324012(0x1f8)](_0x28e930,_0x283769):_0x5f42c2[_0x324012(0xa1)](_0x28e930),this[_0x324012(0x7c)][_0x324012(0x382)]({'unitId':_0x37be0e,'subUnitId':_0x2735b6,'pivotTableId':_0x28e930,'pivotTableConfig':_0x283769});}[_0x2d3cd7(0x2bb)](_0xdc74f2,_0x3f5fe2){const _0x5268d6=_0x2d3cd7;var _0x13879d;return(_0x13879d=this[_0x5268d6(0x291)][_0x5268d6(0x33f)](_0xdc74f2))==null?void 0x0:_0x13879d['collections'][_0x3f5fe2];}['updateCollectionConfig'](_0x486de8,_0x37317c){const _0x4fe907=_0x2d3cd7;this[_0x4fe907(0x291)]['set'](_0x486de8,_0x37317c),this[_0x4fe907(0x18e)]['next'](Math['random']());}[_0x2d3cd7(0x2d1)](_0x3fcc0e,_0x5255a4){const _0x38c0b2=_0x2d3cd7;let _0xc8b279=this[_0x38c0b2(0x28d)]['get'](_0x3fcc0e);_0xc8b279||(_0xc8b279=new Map(),this[_0x38c0b2(0x28d)][_0x38c0b2(0x1f8)](_0x3fcc0e,_0xc8b279));let _0x246a1a=_0xc8b279['get'](_0x5255a4);return _0x246a1a||(_0x246a1a=new Map(),_0xc8b279['set'](_0x5255a4,_0x246a1a)),_0x246a1a;}[_0x2d3cd7(0x18c)](_0x475307,_0x5f4e7c){const _0x55fde9=_0x2d3cd7;let _0xc87bc1=this[_0x55fde9(0x19b)][_0x55fde9(0x33f)](_0x475307);_0xc87bc1||(_0xc87bc1=new Map(),this[_0x55fde9(0x19b)][_0x55fde9(0x1f8)](_0x475307,_0xc87bc1));let _0x4099b4=_0xc87bc1[_0x55fde9(0x33f)](_0x5f4e7c);return _0x4099b4||(_0x4099b4=new Map(),_0xc87bc1[_0x55fde9(0x1f8)](_0x5f4e7c,_0x4099b4)),_0x4099b4;}[_0x2d3cd7(0x309)](_0x40b36c,_0x5d82b9){const _0x4a0c51=_0x2d3cd7;let _0x4e0c33=this[_0x4a0c51(0x310)][_0x4a0c51(0x33f)](_0x40b36c);_0x4e0c33||(_0x4e0c33=new Map(),this[_0x4a0c51(0x310)][_0x4a0c51(0x1f8)](_0x40b36c,_0x4e0c33));let _0x86af24=_0x4e0c33['get'](_0x5d82b9);return _0x86af24||(_0x86af24=new Map(),_0x4e0c33[_0x4a0c51(0x1f8)](_0x5d82b9,_0x86af24)),_0x86af24;}['updatePivotTableRangeInfo'](_0x5c1078,_0x55b8b8,_0xfbb851,_0x360a65){const _0x1c9cf1=_0x2d3cd7;var _0x513907;const _0x4fcedc=this[_0x1c9cf1(0x18c)](_0x5c1078,_0x55b8b8),_0x5104cb=(_0x513907=_0x4fcedc['get'](_0xfbb851))==null?void 0x0:_0x513907[_0x1c9cf1(0x1b0)];_0x4fcedc[_0x1c9cf1(0x1f8)](_0xfbb851,{'oldRangeInfo':_0x5104cb,'rangeInfo':_0x360a65});}[_0x2d3cd7(0x1d3)](_0x12694e,_0x1f0ccc,_0x17368a,_0x4ec6f7){const _0x16fe16=_0x2d3cd7;var _0x45b3ab;const _0x3c9396=this[_0x16fe16(0x309)](_0x12694e,_0x1f0ccc),_0x1d5ea2=(_0x45b3ab=_0x3c9396[_0x16fe16(0x33f)](_0x17368a))==null?void 0x0:_0x45b3ab['oldMatrix'];_0x3c9396[_0x16fe16(0x1f8)](_0x17368a,{'oldMatrix':_0x1d5ea2,'matrix':_0x4ec6f7});}[_0x2d3cd7(0x8c)](_0x4a7da2,_0xa2fde4,_0x1c92b4){const _0x35aa15=_0x2d3cd7;var _0x4ed24c,_0x25fb07;return(_0x25fb07=(_0x4ed24c=this[_0x35aa15(0x19b)][_0x35aa15(0x33f)](_0x4a7da2))==null?void 0x0:_0x4ed24c[_0x35aa15(0x33f)](_0xa2fde4))==null?void 0x0:_0x25fb07[_0x35aa15(0x33f)](_0x1c92b4);}['getPivotTableMatrixInfo'](_0x2f1024,_0x6045ee,_0x2d2572){const _0x5880d9=_0x2d3cd7;var _0x3cb388,_0x586937;return(_0x586937=(_0x3cb388=this[_0x5880d9(0x310)][_0x5880d9(0x33f)](_0x2f1024))==null?void 0x0:_0x3cb388[_0x5880d9(0x33f)](_0x6045ee))==null?void 0x0:_0x586937['get'](_0x2d2572);}[_0x2d3cd7(0xbb)](_0x4b4917){const _0x54b8d0=_0x2d3cd7;this[_0x54b8d0(0x28d)]['delete'](_0x4b4917),this[_0x54b8d0(0x291)][_0x54b8d0(0xa1)](_0x4b4917);}['_toJSON'](_0x2433e8){const _0x85a08e=_0x2d3cd7,_0x47fb9e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x85a08e(0x291)]['get'](_0x2433e8)&&(_0x47fb9e['dataFieldManagerConfig'][_0x2433e8]=this[_0x85a08e(0x291)][_0x85a08e(0x33f)](_0x2433e8)),this['_model'][_0x85a08e(0x33f)](_0x2433e8)){_0x47fb9e['pivotTableConfigs'][_0x2433e8]={};const _0x6c9f09=this[_0x85a08e(0x28d)][_0x85a08e(0x33f)](_0x2433e8);_0x6c9f09!=null&&_0x6c9f09[_0x85a08e(0x102)]&&[..._0x6c9f09[_0x85a08e(0x22a)]()][_0x85a08e(0x34b)](_0x5abc98=>{const _0x4ea591=_0x85a08e,_0x31e491=_0x6c9f09[_0x4ea591(0x33f)](_0x5abc98);_0x31e491!=null&&_0x31e491[_0x4ea591(0x102)]&&(_0x47fb9e[_0x4ea591(0x16d)][_0x2433e8][_0x5abc98]={},[..._0x31e491[_0x4ea591(0x22a)]()][_0x4ea591(0x34b)](_0x1829db=>{const _0x2d43e7=_0x4ea591,_0x85c2a9=_0x31e491[_0x2d43e7(0x33f)](_0x1829db);_0x85c2a9&&(_0x47fb9e[_0x2d43e7(0x16d)][_0x2433e8][_0x5abc98][_0x1829db]=_0x85c2a9);}));});}return _0x47fb9e;}[_0x2d3cd7(0x222)](){const _0x5eb45b=_0x2d3cd7;this['disposeWithMe'](this[_0x5eb45b(0x333)]['registerPluginResource']({'toJson':_0x399b55=>JSON[_0x5eb45b(0x184)](this[_0x5eb45b(0x1ec)](_0x399b55)),'parseJson':_0x578cc9=>({}),'businesses':[_0x2814ce['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x3e4154,'onLoad':(_0x56fa19,_0x14b2fa)=>{},'onUnLoad':_0x374ca3=>{const _0x14be9d=_0x5eb45b;this[_0x14be9d(0xbb)](_0x374ca3);}}));}},_0x159003['SheetsPivotTableConfigModel']=_0x52a174([_0x52cc5b(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x52cc5b(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['ICommandService'])),_0x52cc5b(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x368)])),_0x52cc5b(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x2d8)])),_0x52cc5b(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0xca)]))],_0x159003['SheetsPivotTableConfigModel']);var _0x3c2555=Object[_0x2d3cd7(0x11f)],_0x2d0cd6=(_0xedfea9,_0x5684aa,_0x5e4061,_0x2b7681)=>{for(var _0x2b75e6=_0x2b7681>0x1?void 0x0:_0x2b7681?_0x3c2555(_0x5684aa,_0x5e4061):_0x5684aa,_0x1b6d9e=_0xedfea9['length']-0x1,_0x1d8a7c;_0x1b6d9e>=0x0;_0x1b6d9e--)(_0x1d8a7c=_0xedfea9[_0x1b6d9e])&&(_0x2b75e6=_0x1d8a7c(_0x2b75e6)||_0x2b75e6);return _0x2b75e6;},_0x2c3cf2=(_0x3f4e90,_0x5dee6d)=>(_0x1ff6b8,_0x4fa981)=>_0x5dee6d(_0x1ff6b8,_0x4fa981,_0x3f4e90);_0x159003['SheetsPivotTableAdaptorModel']=class extends _0x2814ce['Disposable']{constructor(_0x31b0c9,_0x101eca,_0x5bb4bd,_0x108f74,_0x38e60a){const _0x28b0ba=_0x2d3cd7;super(),_0x4a4d7d(this,_0x28b0ba(0x315),new Map()),_0x4a4d7d(this,_0x28b0ba(0x27e),new Map()),_0x4a4d7d(this,_0x28b0ba(0xf3),new _0x139446['Subject']()),_0x4a4d7d(this,'markDirty$',this[_0x28b0ba(0xf3)]['asObservable']()),_0x4a4d7d(this,_0x28b0ba(0x12f),new _0x139446[(_0x28b0ba(0x226))]()),_0x4a4d7d(this,'viewUpdate$',this[_0x28b0ba(0x12f)][_0x28b0ba(0x2fb)]()),_0x4a4d7d(this,_0x28b0ba(0x32b)),(this['_localeService']=_0x31b0c9,this[_0x28b0ba(0x1a6)]=_0x101eca,this[_0x28b0ba(0x356)]=_0x5bb4bd,this[_0x28b0ba(0x37f)]=_0x108f74,this['_exclusiveRangeService']=_0x38e60a,this[_0x28b0ba(0x192)](),this[_0x28b0ba(0x286)]());}[_0x2d3cd7(0x286)](){const _0x16de86=_0x2d3cd7;this[_0x16de86(0xd4)](this[_0x16de86(0x37f)][_0x16de86(0x99)](_0x2814ce[_0x16de86(0x234)]['UNIVER_SHEET'])['subscribe'](_0x2b2a2b=>{this['deleteUnitId'](_0x2b2a2b['getUnitId']());}));}['_initLocale'](){const _0x443907=_0x2d3cd7;this[_0x443907(0x32b)]=_0x38d384(this['_injector'],_0x1ab070,'',{});}[_0x2d3cd7(0x9b)](_0x2faf34){const _0x303d61=_0x2d3cd7,{view:_0x5602cb,unitId:_0x3d381b,subUnitId:_0xd6d6a5,pivotTableId:_0x3af64f,type:_0x496ddf}=_0x2faf34,_0x3474d5=this[_0x303d61(0x356)][_0x303d61(0x2e4)](_0x3d381b,_0xd6d6a5,_0x3af64f);if(!_0x5602cb||!_0x3474d5||_0x496ddf===_0x2229c0[_0x303d61(0x15c)])return;const {pageView:_0x5cec77,cornerView:_0x426c0c,rowView:_0x377a8b,colView:_0x244542,dataView:_0xb9b095}=_0x5602cb,_0x20acda=_0x3474d5[_0x303d61(0x301)],_0x16571b=_0x3474d5[_0x303d61(0x26e)],_0x40e479=this['_ensurePivotItemRenderValueMatrixCache'](_0x3d381b,_0xd6d6a5),_0x336985=this[_0x303d61(0x325)](_0x3d381b,_0xd6d6a5,_0x3af64f);if(_0x16571b)return this[_0x303d61(0x221)](_0x2faf34,_0x40e479,_0x20acda,_0x336985);{const _0x3072eb=_0x341800(_0x20acda,_0x5cec77,!0x0),_0x4d7960=_0x5cec77[_0x303d61(0xf1)]>=0x0?_0x5cec77['lastRow']+0x1:0x0,_0x1388c9=_0x426c0c['getRowCount'](),_0x2ba085=_0x426c0c[_0x303d61(0x180)](),_0x3b58d6=_0x3072eb[_0x303d61(0x25f)]>0x0?_0x1312a9:0x0,_0x2b0cca=_0x341800({'row':_0x20acda[_0x303d61(0x363)]+_0x4d7960+_0x3b58d6,'col':_0x20acda[_0x303d61(0x117)]},_0x426c0c,!0x1,!0x1),_0x4b80b6=_0x341800({'row':_0x20acda[_0x303d61(0x363)]+_0x4d7960+_0x3b58d6+_0x1388c9,'col':_0x20acda[_0x303d61(0x117)]},_0x377a8b,!0x1,!0x0),_0x12a7ae=_0x341800({'row':_0x20acda['row']+_0x4d7960+_0x3b58d6,'col':_0x20acda[_0x303d61(0x117)]+_0x2ba085},_0x244542,!0x1,!0x0),_0x508af1=_0x341800({'row':_0x20acda['row']+_0x4d7960+_0x3b58d6+_0x1388c9,'col':_0x20acda['col']+_0x2ba085},_0xb9b095,!0x1,!0x1);_0x336985['rangesInfo']={'rowRanges':_0x4b80b6,'colRanges':_0x12a7ae,'cornerRanges':_0x2b0cca,'dataRanges':_0x508af1,'pageRanges':_0x3072eb};const _0xcd2054=_0x53bb8f(this['_injector'],_0x5602cb,_0x3474d5,this[_0x303d61(0x32b)]),{valueMatrix:_0xeb95a6,rowInfo:_0x393fd4,colInfo:_0x41dcc3,cornerInfo:_0x567a42,rowHeaderMap:_0x57d982,colHeaderMap:_0x337a4a}=_0xcd2054;return _0x336985[_0x303d61(0xd2)]={'rowInfo':_0x393fd4,'colInfo':_0x41dcc3,'cornerInfo':_0x567a42},_0x336985['headerMap']={'rowHeaderMap':_0x57d982,'colHeaderMap':_0x337a4a},_0xeb95a6[_0x303d61(0x34b)]((_0xee6ee0,_0x281bfd)=>{const _0x1cf17f=_0x303d61;Object['keys'](_0x281bfd)[_0x1cf17f(0x34b)](_0x4f8993=>{const _0x2d0a58=_0x1cf17f,_0x13a6cf=+_0x4f8993,_0x59baf5=_0xeb95a6[_0x2d0a58(0x16a)](_0xee6ee0,_0x13a6cf);_0x40e479[_0x2d0a58(0x381)](_0xee6ee0,_0x13a6cf,_0x59baf5);});}),this[_0x303d61(0x12f)][_0x303d61(0x382)]({'unitId':_0x3d381b,'subUnitId':_0xd6d6a5,'valueMatrix':_0x40e479,'rangesCache':_0x336985[_0x303d61(0x107)],'pivotTableId':_0x3af64f,'type':_0x2faf34['type']}),this['_sheetsPivotTableConfigModel'][_0x303d61(0x1e9)](_0x3d381b,_0xd6d6a5,_0x3af64f,_0x40e479,_0x336985[_0x303d61(0x107)]),this[_0x303d61(0x2b8)][_0x303d61(0x377)](_0x3d381b,_0xd6d6a5,_0x18e776,this['_createExclusiveRange'](_0x336985[_0x303d61(0x107)],_0x3af64f)),{'rangeCache':_0x336985[_0x303d61(0x107)],'matrix':_0x40e479};}}[_0x2d3cd7(0x221)](_0x26adc5,_0x549db9,_0x512d6c,_0x30b1cf){const _0x208140=_0x2d3cd7,_0x28ca74=this[_0x208140(0x2f6)]['t'],{unitId:_0x306f03,subUnitId:_0x1fb983,pivotTableId:_0x150076}=_0x26adc5,_0x3af5e9={'filter':_0x28ca74(_0x208140(0x24f)),'row':_0x28ca74('sheets-pivot.emptyPivot.row'),'column':_0x28ca74(_0x208140(0x139)),'values':_0x28ca74(_0x208140(0x1ad))},{matrixCache:_0x56b550,rangesCache:_0x43a0fc}=_0x104896(_0x3af5e9,_0x512d6c);return _0x56b550[_0x208140(0x2d5)]((_0xca900d,_0x246c77,_0x10a35a)=>{const _0x4788df=_0x208140;_0x549db9[_0x4788df(0x381)](_0xca900d,_0x246c77,_0x10a35a);}),_0x30b1cf[_0x208140(0x107)]=_0x43a0fc,this[_0x208140(0x12f)][_0x208140(0x382)]({'unitId':_0x306f03,'subUnitId':_0x1fb983,'valueMatrix':_0x549db9,'rangesCache':_0x43a0fc,'pivotTableId':_0x150076,'type':_0x26adc5['type'],'isEmpty':!0x0}),this[_0x208140(0x356)][_0x208140(0x1e9)](_0x306f03,_0x1fb983,_0x150076,_0x549db9,_0x43a0fc),this[_0x208140(0x2b8)][_0x208140(0x377)](_0x306f03,_0x1fb983,_0x18e776,this[_0x208140(0x34e)](_0x43a0fc,_0x150076)),{'rangeCache':_0x30b1cf[_0x208140(0x107)],'matrix':_0x549db9};}[_0x2d3cd7(0x34e)](_0x4995d0,_0x242cfd){const _0xca18cc=_0x2d3cd7,_0x1898c2=[],_0x3742fe=_0x5e6293(_0x4995d0);for(const _0x2df35f of _0x3742fe)_0x1898c2[_0xca18cc(0xf8)]({'groupId':_0x242cfd,'range':_0x2df35f});return _0x1898c2;}['clearRenderCache'](_0x1812d8){const _0x4056c8=_0x2d3cd7;var _0x5d18fd,_0x4bc2bf,_0x11885d,_0x510614;const {pivotTableId:_0x25ee67,unitId:_0x2a0678,subUnitId:_0x4b7373}=_0x1812d8;if(!_0x25ee67||!_0x2a0678||!_0x4b7373)return;const _0x335e9d=this[_0x4056c8(0x307)](_0x2a0678,_0x4b7373),_0x4a938e=(_0x4bc2bf=(_0x5d18fd=this['_pivotRenderInfoCache']['get'](_0x2a0678))==null?void 0x0:_0x5d18fd[_0x4056c8(0x33f)](_0x4b7373))==null?void 0x0:_0x4bc2bf[_0x4056c8(0x33f)](_0x25ee67);if(_0x4a938e!=null&&_0x4a938e[_0x4056c8(0x107)]){for(const _0x204eff of Object[_0x4056c8(0x22a)](_0x4a938e['rangesInfo']))_0x4a938e['rangesInfo'][_0x204eff][_0x4056c8(0x34b)](_0x4fff32=>{const _0x5a7bec=_0x4056c8;for(let _0x274890=_0x4fff32[_0x5a7bec(0x338)];_0x274890<=_0x4fff32[_0x5a7bec(0x10b)];_0x274890++)for(let _0x13bc03=_0x4fff32['startColumn'];_0x13bc03<=_0x4fff32[_0x5a7bec(0x375)];_0x13bc03++)_0x335e9d[_0x5a7bec(0x171)](_0x274890,_0x13bc03);});}_0x4a938e&&((_0x510614=(_0x11885d=this[_0x4056c8(0x315)][_0x4056c8(0x33f)](_0x2a0678))==null?void 0x0:_0x11885d['get'](_0x4b7373))==null||_0x510614[_0x4056c8(0xa1)](_0x25ee67)),this['_viewUpdate$']['next']({'unitId':_0x2a0678,'subUnitId':_0x4b7373,'valueMatrix':_0x335e9d,'pivotTableId':_0x25ee67,'rangesCache':void 0x0,'type':_0x1812d8[_0x4056c8(0xd5)]}),this[_0x4056c8(0x2b8)][_0x4056c8(0x145)](_0x2a0678,_0x4b7373,_0x18e776,_0x25ee67);}[_0x2d3cd7(0x325)](_0x1eba89,_0x586f24,_0x12331a){const _0x43963e=_0x2d3cd7;var _0x92ba84,_0x257abf,_0x2f8a5a,_0x1a988b,_0x429618,_0x247b29;return this[_0x43963e(0x315)]['has'](_0x1eba89)||this['_pivotRenderInfoCache'][_0x43963e(0x1f8)](_0x1eba89,new Map()),(_0x92ba84=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))!=null&&_0x92ba84['has'](_0x586f24)||(_0x257abf=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null||_0x257abf[_0x43963e(0x1f8)](_0x586f24,new Map()),(_0x1a988b=(_0x2f8a5a=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null?void 0x0:_0x2f8a5a[_0x43963e(0x33f)](_0x586f24))!=null&&_0x1a988b[_0x43963e(0x128)](_0x12331a)||(_0x247b29=(_0x429618=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null?void 0x0:_0x429618[_0x43963e(0x33f)](_0x586f24))==null||_0x247b29[_0x43963e(0x1f8)](_0x12331a,{}),this[_0x43963e(0x315)]['get'](_0x1eba89)[_0x43963e(0x33f)](_0x586f24)['get'](_0x12331a);}[_0x2d3cd7(0x307)](_0x28dca6,_0x7fe562){const _0x33545c=_0x2d3cd7;var _0x3fdc1b,_0x237572;return this[_0x33545c(0x27e)]['has'](_0x28dca6)||this[_0x33545c(0x27e)][_0x33545c(0x1f8)](_0x28dca6,new Map()),(_0x3fdc1b=this[_0x33545c(0x27e)][_0x33545c(0x33f)](_0x28dca6))!=null&&_0x3fdc1b[_0x33545c(0x128)](_0x7fe562)||(_0x237572=this[_0x33545c(0x27e)][_0x33545c(0x33f)](_0x28dca6))==null||_0x237572['set'](_0x7fe562,new _0x2814ce[(_0x33545c(0x15b))]()),this['_pivotRenderValueMatrixCache'][_0x33545c(0x33f)](_0x28dca6)['get'](_0x7fe562);}[_0x2d3cd7(0x271)](_0x5d29f0,_0x16fd60,_0x5c7a2b,_0x2dea79){const _0xf5711=_0x2d3cd7;var _0x1d211a,_0x28cf1c;const _0x3c71ae=(_0x28cf1c=(_0x1d211a=this[_0xf5711(0x27e)][_0xf5711(0x33f)](_0x5d29f0))==null?void 0x0:_0x1d211a[_0xf5711(0x33f)](_0x16fd60))==null?void 0x0:_0x28cf1c[_0xf5711(0x16a)](_0x5c7a2b,_0x2dea79);if(_0x3c71ae!=null)return _0x3c71ae;}['getPivotTableIdByCell'](_0x1df653,_0x5ac12d,_0x2bb9d6,_0x49e160){const _0x558057=_0x2d3cd7;var _0x407cfe;const _0x3a705a=_0x2814ce[_0x558057(0x30d)](_0x2bb9d6,_0x49e160),_0x49844f=(_0x407cfe=this[_0x558057(0x315)][_0x558057(0x33f)](_0x1df653))==null?void 0x0:_0x407cfe['get'](_0x5ac12d);return _0x49844f?Array[_0x558057(0x312)](_0x49844f[_0x558057(0x22a)]())[_0x558057(0x217)](_0x755b1d=>{const _0x3942e3=_0x558057,_0x283dca=_0x49844f[_0x3942e3(0x33f)](_0x755b1d),_0x1f1784=_0x283dca==null?void 0x0:_0x283dca[_0x3942e3(0x107)];return _0x1f1784?Object['keys'](_0x1f1784)['some'](_0x87825b=>_0x1f1784[_0x87825b][_0x3942e3(0x36b)](_0x2e5804=>_0x2814ce[_0x3942e3(0x2f1)][_0x3942e3(0x36e)](_0x2e5804,_0x3a705a))):!0x1;}):void 0x0;}[_0x2d3cd7(0x1b4)](_0x31b5ab,_0x576a1f,_0x347065){const _0x1dd61e=_0x2d3cd7;var _0x32b043;const _0x5121da=(_0x32b043=this[_0x1dd61e(0x315)][_0x1dd61e(0x33f)](_0x31b5ab))==null?void 0x0:_0x32b043[_0x1dd61e(0x33f)](_0x576a1f),_0x37083b=[];return _0x5121da&&Array[_0x1dd61e(0x312)](_0x5121da[_0x1dd61e(0x22a)]())[_0x1dd61e(0x34b)](_0x177f24=>{const _0x12e42d=_0x1dd61e,_0x25d3c5=_0x5121da[_0x12e42d(0x33f)](_0x177f24),_0x264207=_0x25d3c5==null?void 0x0:_0x25d3c5['rangesInfo'];if(_0x264207)for(const _0x4b295f of Object[_0x12e42d(0x1ab)](_0x264207)){let _0x1e946e=!0x1;for(const _0x398406 of _0x4b295f)if(_0x2814ce[_0x12e42d(0x2f1)][_0x12e42d(0x2e7)](_0x398406,_0x347065)){_0x37083b['push'](_0x177f24),_0x1e946e=!0x0;break;}if(_0x1e946e)break;}}),_0x37083b;}[_0x2d3cd7(0x194)](_0x41026f,_0x4b06aa){const _0x8f4aa7=_0x2d3cd7;var _0x1106c4,_0x85d67b;return(_0x85d67b=(_0x1106c4=this[_0x8f4aa7(0x27e)][_0x8f4aa7(0x33f)](_0x41026f))==null?void 0x0:_0x1106c4[_0x8f4aa7(0x33f)](_0x4b06aa))!=null?_0x85d67b:new _0x2814ce[(_0x8f4aa7(0x15b))]();}[_0x2d3cd7(0x2f3)](_0x576338,_0x1717b4){const _0x423709=_0x2d3cd7;var _0x51c1a7;return(_0x51c1a7=this[_0x423709(0x315)][_0x423709(0x33f)](_0x576338))==null?void 0x0:_0x51c1a7['get'](_0x1717b4);}['getPivotItemRenderInfoCache'](_0x5e5d52,_0xfd203f,_0x3f2d0f){const _0x3b3989=_0x2d3cd7;var _0x5f5486,_0x43355d;return(_0x43355d=(_0x5f5486=this[_0x3b3989(0x315)][_0x3b3989(0x33f)](_0x5e5d52))==null?void 0x0:_0x5f5486[_0x3b3989(0x33f)](_0xfd203f))==null?void 0x0:_0x43355d['get'](_0x3f2d0f);}[_0x2d3cd7(0xbb)](_0x5785b2){const _0x35b48c=_0x2d3cd7;this[_0x35b48c(0x315)][_0x35b48c(0xa1)](_0x5785b2),this[_0x35b48c(0x27e)][_0x35b48c(0xa1)](_0x5785b2);}[_0x2d3cd7(0x1b9)](_0x57c2f4,_0x2ef447){const _0x309cee=_0x2d3cd7;this[_0x309cee(0xf3)][_0x309cee(0x382)]({'unitId':_0x57c2f4,'subUnitId':_0x2ef447});}},_0x159003[_0x2d3cd7(0x379)]=_0x2d0cd6([_0x2c3cf2(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['LocaleService'])),_0x2c3cf2(0x1,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x167)])),_0x2c3cf2(0x2,_0x2814ce['Inject'](_0x159003[_0x2d3cd7(0x282)])),_0x2c3cf2(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x368)])),_0x2c3cf2(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x35f)]))],_0x159003[_0x2d3cd7(0x379)]);var _0x499c3b=Object[_0x2d3cd7(0x11f)],_0x523f10=(_0x41f176,_0x784338,_0xe5b3c,_0x1f6545)=>{const _0x486f9a=_0x2d3cd7;for(var _0x6061fd=_0x1f6545>0x1?void 0x0:_0x1f6545?_0x499c3b(_0x784338,_0xe5b3c):_0x784338,_0xa88dc4=_0x41f176[_0x486f9a(0x25f)]-0x1,_0x2a7b90;_0xa88dc4>=0x0;_0xa88dc4--)(_0x2a7b90=_0x41f176[_0xa88dc4])&&(_0x6061fd=_0x2a7b90(_0x6061fd)||_0x6061fd);return _0x6061fd;},_0x3f0d6c=(_0x5bd479,_0x2e9856)=>(_0x2f6284,_0x425779)=>_0x2e9856(_0x2f6284,_0x425779,_0x5bd479);_0x159003[_0x2d3cd7(0x346)]=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x2ebfba,_0x4c5655){const _0x523ea=_0x2d3cd7;super(),_0x4a4d7d(this,_0x523ea(0x2ee),new _0x2814ce['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x17b1a6})),_0x4a4d7d(this,'interceptor',new _0x2814ce[(_0x523ea(0x340))]({'PIVOT_MUTATION_GENERATE':_0x4a5516})),(this[_0x523ea(0x2f8)]=_0x2ebfba,this[_0x523ea(0x37e)]=_0x4c5655,this[_0x523ea(0x27d)]());}[_0x2d3cd7(0x27d)](){const _0x212145=_0x2d3cd7;this[_0x212145(0x216)]();}[_0x2d3cd7(0x7a)](_0x26187c){const _0x3e104c=_0x2d3cd7;return this[_0x3e104c(0x2ee)][_0x3e104c(0x360)](_0x17b1a6)(!0x1,_0x26187c);}[_0x2d3cd7(0x216)](){const _0x15fd6b=_0x2d3cd7;this[_0x15fd6b(0xd4)](this[_0x15fd6b(0x2f8)][_0x15fd6b(0x21e)](_0x5cc6ba[_0x15fd6b(0x1bc)][_0x15fd6b(0x16b)],{'priority':0xc8,'effect':_0x2814ce[_0x15fd6b(0x2fc)][_0x15fd6b(0x30f)]|_0x2814ce['InterceptorEffectEnum']['Style'],'handler':(_0xac695c,_0xa41806,_0x5702f3)=>{const _0x442061=_0x15fd6b,{row:_0x501de8,col:_0x462824,unitId:_0x1e746f,subUnitId:_0x4d671c,workbook:_0x12e5b8}=_0xa41806,_0x2bca2d=this[_0x442061(0x37e)][_0x442061(0x271)](_0x1e746f,_0x4d671c,_0x501de8,_0x462824);if(!_0x2bca2d)return _0x5702f3(_0xac695c);const _0x2408f9={..._0xac695c};(_0x2bca2d['v']||_0x2bca2d['v']===0x0)&&(_0x2408f9['v']=_0x2bca2d['v']),_0x2bca2d['t']&&(_0x2408f9['t']=_0x2bca2d['t']);const _0x4dd50=(typeof(_0xac695c==null?void 0x0:_0xac695c['s'])=='string'?_0x12e5b8['getStyles']()[_0x442061(0x33f)](_0xac695c==null?void 0x0:_0xac695c['s']):_0xac695c==null?void 0x0:_0xac695c['s'])||{},_0x4831cc=_0x12e5b8[_0x442061(0x1d1)]()[_0x442061(0x33f)](_0x2bca2d['s']),_0x53292e={..._0x4831cc,..._0x4dd50};_0x4831cc!=null&&_0x4831cc['n']&&(_0x53292e['n']=_0x4831cc['n']);const _0x37afde=_0x12e5b8[_0x442061(0x1d1)]()[_0x442061(0x381)](_0x53292e);return _0x2408f9['s']=_0x37afde,(_0x2bca2d[_0x442061(0xd3)]===_0x3ed89a[_0x442061(0x327)][_0x442061(0x29b)]||_0x2bca2d['pbt']===_0x3ed89a['PivotCellStyleTypeEnum'][_0x442061(0x253)])&&(_0x2408f9['fontRenderExtension']={},_0x2408f9[_0x442061(0x22b)]['leftOffset']=_0x4573e1),_0x5702f3(_0x2408f9);}}));}},_0x159003[_0x2d3cd7(0x346)]=_0x523f10([_0x3f0d6c(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)])),_0x3f0d6c(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)]))],_0x159003['SheetsPivotTableService']);function _0x4bb0a2(_0x3db31d,_0x37b700){const _0x46e170=_0x2d3cd7;switch(_0x37b700){case _0x3ed89a['PivotTableFiledAreaEnum'][_0x46e170(0x30f)]:return _0x3db31d[_0x46e170(0x329)];case _0x3ed89a[_0x46e170(0x292)]['Filter']:return _0x3db31d['filterFields'];case _0x3ed89a['PivotTableFiledAreaEnum']['Row']:return _0x3db31d['rowFields'];case _0x3ed89a['PivotTableFiledAreaEnum']['Column']:return _0x3db31d[_0x46e170(0x16f)];default:return[];}}function _0x105d8b(_0x1d8207,_0x47ab3b){const _0x241872=_0x2d3cd7;return _0x1d8207[_0x241872(0x109)][_0x47ab3b]||_0x1d8207[_0x241872(0x161)][_0x47ab3b];}function _0x375ffb(_0x21a8eb,_0x4c3c8a){const _0x27f1fc=_0x2d3cd7,{area:_0x55a1d7,fieldJson:_0x3a495c,index:_0xc20891}=_0x4c3c8a;_0x55a1d7===_0x3ed89a[_0x27f1fc(0x292)][_0x27f1fc(0x30f)]?_0x21a8eb[_0x27f1fc(0x109)][_0x3a495c['id']]=_0x3a495c:_0x21a8eb[_0x27f1fc(0x161)][_0x3a495c['id']]=_0x3a495c,_0x4bb0a2(_0x21a8eb,_0x55a1d7)[_0x27f1fc(0x1c7)](_0xc20891,0x0,_0x3a495c['id']);}function _0x381c84(_0x297c2d,_0x558325){const _0x1faaa1=_0x2d3cd7,{area:_0x1f7af6,fieldId:_0x156533,index:_0x596ef3}=_0x558325;_0x1f7af6===_0x3ed89a['PivotTableFiledAreaEnum']['Value']?delete _0x297c2d[_0x1faaa1(0x109)][_0x156533]:delete _0x297c2d[_0x1faaa1(0x161)][_0x156533],_0x4bb0a2(_0x297c2d,_0x1f7af6)[_0x1faaa1(0x1c7)](_0x596ef3,0x1);}function _0x269b4f(_0x44684e,_0x35f924){const {fieldId:_0x3018fb,name:_0x5f32ee}=_0x35f924,_0x42a39b=_0x105d8b(_0x44684e,_0x3018fb);_0x42a39b&&(_0x42a39b['displayName']=_0x5f32ee);}function _0x5dad8a(_0x59d794,_0x1b2e27){const _0xeed89b=_0x2d3cd7,{fieldId:_0x4290fa,collapse:_0x30d8d5,item:_0x5ee894}=_0x1b2e27;_0x5ee894!==void 0x0?(_0x59d794[_0xeed89b(0xfe)][_0x4290fa]=_0x59d794[_0xeed89b(0xfe)][_0x4290fa]||{},_0x59d794[_0xeed89b(0xfe)][_0x4290fa][_0x5ee894]=_0x30d8d5):_0x59d794['collapseInfo'][_0x4290fa]=_0x30d8d5;}function _0x56abf6(_0x97287,_0xad3c24){const {fieldId:_0x3fa5d2,format:_0x57f597}=_0xad3c24,_0x4c2a13=_0x105d8b(_0x97287,_0x3fa5d2);_0x4c2a13&&(_0x4c2a13['format']=_0x57f597);}function _0x266e01(_0x245f5e,_0x36fcb7){const _0x1d3120=_0x2d3cd7,{fieldId:_0x304028,filterInfo:_0xbbad21}=_0x36fcb7,_0xbcd960=_0x105d8b(_0x245f5e,_0x304028);_0xbcd960&&(_0xbcd960[_0x1d3120(0x36a)]=_0xbbad21);}function _0x23d394(_0x6e65b0,_0x5df72e){const _0x549cea=_0x2d3cd7,{fieldId:_0x2b5a55,filterInfo:_0x2efed6}=_0x5df72e,_0x4db85f=_0x6e65b0[_0x549cea(0x1ed)][_0x549cea(0x17e)](_0x152bc1=>_0x152bc1[_0x549cea(0x288)]!==_0x2b5a55);_0x2efed6&&_0x4db85f[_0x549cea(0xf8)]({'fieldId':_0x2b5a55,'filterInfo':_0x2efed6}),_0x6e65b0[_0x549cea(0x1ed)]=_0x4db85f;}function _0x5bba95(_0x1a1750,_0x206f67){const {fieldId:_0x429bae,subtotalType:_0x15de52}=_0x206f67,_0xc37c04=_0x105d8b(_0x1a1750,_0x429bae);_0xc37c04&&(_0xc37c04['subtotal']=_0x15de52);}function _0x1079ac(_0x5071a6,_0x30aa26){const _0x6b7688=_0x2d3cd7,{fieldId:_0x2ec3f1,oldArea:_0x175f68,area:_0x19abe3,oldIndex:_0x48dddd,index:_0x450f2b}=_0x30aa26,_0x4ed362=_0x175f68!==_0x3ed89a[_0x6b7688(0x292)]['Value']&&_0x19abe3===_0x3ed89a['PivotTableFiledAreaEnum'][_0x6b7688(0x30f)],_0x92ce15=_0x175f68===_0x3ed89a[_0x6b7688(0x292)][_0x6b7688(0x30f)]&&_0x19abe3!==_0x3ed89a[_0x6b7688(0x292)][_0x6b7688(0x30f)];if(_0x4ed362||_0x92ce15){const _0x41d7f2=_0x105d8b(_0x5071a6,_0x2ec3f1);_0x41d7f2&&(_0x4ed362?(delete _0x5071a6[_0x6b7688(0x161)][_0x2ec3f1],_0x5071a6['measure'][_0x2ec3f1]=_0x41d7f2):(delete _0x5071a6[_0x6b7688(0x109)][_0x2ec3f1],_0x5071a6[_0x6b7688(0x161)][_0x2ec3f1]=_0x41d7f2));}const _0x1b07dc=_0x4bb0a2(_0x5071a6,_0x175f68),_0x4b59bd=_0x4bb0a2(_0x5071a6,_0x19abe3);_0x1b07dc[_0x6b7688(0x1c7)](_0x48dddd,0x1),_0x4b59bd[_0x6b7688(0x1c7)](_0x450f2b,0x0,_0x2ec3f1);}function _0x5bb190(_0x22e6f4,_0x16aec2){const _0x3d5bcd=_0x2d3cd7,{valuePosition:_0x24bb50,index:_0x104a7f}=_0x16aec2;_0x22e6f4['valuePosition']=_0x24bb50,_0x22e6f4[_0x3d5bcd(0x13a)]=_0x104a7f;}function _0x1c6909(_0x3f673d,_0x12d15b){const _0x7cc8d1=_0x2d3cd7,{tableFieldId:_0x2441a8,sourceName:_0x19e926,dataFieldId:_0x155cf2}=_0x12d15b,_0x23b94b=_0x105d8b(_0x3f673d,_0x2441a8);_0x23b94b&&(_0x23b94b[_0x7cc8d1(0x295)]=_0x19e926,_0x23b94b['dataFieldId']=_0x155cf2);}function _0x5d8215(_0x47058b,_0x292ba8){const _0x2ca122=_0x2d3cd7,{fieldId:_0xbc4cd0,sortInfo:_0x358c36}=_0x292ba8,_0x384bfd=_0x105d8b(_0x47058b,_0xbc4cd0);_0x384bfd&&(_0x384bfd[_0x2ca122(0x81)]=_0x358c36);}function _0xc3a4f3(_0x5cd1ef,_0x19d8d2){const _0x9e216=_0x2d3cd7,{options:_0x45d0df}=_0x19d8d2;_0x5cd1ef['options']={..._0x5cd1ef[_0x9e216(0x36c)],..._0x45d0df};}const _0x290f89={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.add-pivot-field','handler'(_0x38eea3,_0x575c49){const _0x23c63f=_0x2d3cd7;if(!_0x575c49)return!0x1;if(!!_0x38eea3['get'](_0x2814ce[_0x23c63f(0xca)])['getConfig'](_0x3fcf75))return!0x0;const _0x2eac05=_0x38eea3['get'](_0x159003[_0x23c63f(0x187)]),{pivotTableId:_0x1a0479,fieldJson:_0x504bc0,area:_0x7b697,index:_0x4eb00a,unitId:_0x2ad065,subUnitId:_0x49b05c}=_0x575c49,_0x44e8e4=_0x2eac05['getPivotTableInstance'](_0x1a0479);if(!_0x44e8e4)return!0x1;let _0x383eb1;_0x7b697===_0x3ed89a[_0x23c63f(0x292)][_0x23c63f(0x30f)]?_0x383eb1=_0x3ed89a[_0x23c63f(0x1bd)](_0x504bc0):_0x383eb1=_0x3ed89a[_0x23c63f(0x20d)](_0x504bc0),_0x44e8e4[_0x23c63f(0x2fe)](_0x383eb1,_0x7b697,_0x4eb00a);const _0x5e2998=_0x2eac05[_0x23c63f(0x1e1)](_0x2ad065,_0x49b05c,_0x1a0479);_0x375ffb(_0x5e2998,_0x575c49);const _0x3c51b4=_0x2eac05['getPivotTableConfig'](_0x2ad065,_0x49b05c,_0x1a0479);return _0x2eac05['addDirtyPivotTable']({'unitId':_0x2ad065,'subUnitId':_0x49b05c,'token':_0x1a0479,'type':_0x2229c0[_0x23c63f(0xae)],'pivotConfig':_0x3c51b4}),!0x0;}},_0x55c8da={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x26e70a,_0x220d0a){const _0x57caf2=_0x2d3cd7;if(!_0x220d0a)return!0x1;if(!!_0x26e70a[_0x57caf2(0x33f)](_0x2814ce[_0x57caf2(0xca)])[_0x57caf2(0xd1)](_0x3fcf75))return!0x0;const _0x27648c=_0x26e70a['get'](_0x159003[_0x57caf2(0x187)]),{pivotTableId:_0x20033c,fieldId:_0x17129b,unitId:_0x172a5b,subUnitId:_0x3aaf26}=_0x220d0a,_0x2973e6=_0x27648c[_0x57caf2(0x250)](_0x20033c);if(!_0x2973e6)return!0x1;_0x2973e6[_0x57caf2(0x256)](_0x17129b);const _0x30a585=_0x27648c[_0x57caf2(0x1e1)](_0x172a5b,_0x3aaf26,_0x20033c);_0x381c84(_0x30a585,_0x220d0a);const _0x4358e2=_0x27648c[_0x57caf2(0x2e4)](_0x172a5b,_0x3aaf26,_0x20033c);return _0x27648c['addDirtyPivotTable']({'unitId':_0x172a5b,'subUnitId':_0x3aaf26,'token':_0x20033c,'type':_0x2229c0[_0x57caf2(0xae)],'pivotConfig':_0x4358e2}),!0x0;}},_0x44a6d7={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x12d),'handler'(_0x42846e,_0x2ab784){const _0x39f3fa=_0x2d3cd7;if(!_0x2ab784)return!0x1;if(!!_0x42846e['get'](_0x2814ce['IConfigService'])[_0x39f3fa(0xd1)](_0x3fcf75))return!0x0;const _0x21cff1=_0x42846e['get'](_0x159003[_0x39f3fa(0x187)]),{unitId:_0x19137f,subUnitId:_0x143295,pivotTableId:_0x2cfb73,fieldId:_0x1572f1,name:_0x2f7825}=_0x2ab784,_0x135852=_0x21cff1[_0x39f3fa(0x250)](_0x2cfb73);if(!_0x135852)return!0x1;_0x135852['renameField'](_0x1572f1,_0x2f7825);const _0x107c78=_0x21cff1[_0x39f3fa(0x1e1)](_0x19137f,_0x143295,_0x2cfb73);return _0x269b4f(_0x107c78,_0x2ab784),_0x21cff1[_0x39f3fa(0x2aa)]({'unitId':_0x19137f,'subUnitId':_0x143295,'token':_0x2cfb73,'type':_0x2229c0[_0x39f3fa(0xae)]}),!0x0;}},_0x51c8d6={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x1c1),'handler'(_0x1f1d9d,_0x3046bf){const _0x2a8d49=_0x2d3cd7;if(!_0x3046bf)return!0x1;if(!!_0x1f1d9d[_0x2a8d49(0x33f)](_0x2814ce['IConfigService'])[_0x2a8d49(0xd1)](_0x3fcf75))return!0x0;const _0x19c8e0=_0x1f1d9d['get'](_0x159003[_0x2a8d49(0x187)]),{unitId:_0xc2e5a1,subUnitId:_0x2ad86b,pivotTableId:_0x4999f6,fieldId:_0x32da7e,collapse:_0x49a54f,item:_0x4bc287}=_0x3046bf,_0x2cf3d3=_0x19c8e0[_0x2a8d49(0x250)](_0x4999f6);if(!_0x2cf3d3)return!0x1;_0x2cf3d3[_0x2a8d49(0x266)](_0x32da7e,_0x49a54f,_0x4bc287);const _0x1794c0=_0x19c8e0[_0x2a8d49(0x1e1)](_0xc2e5a1,_0x2ad86b,_0x4999f6);return _0x5dad8a(_0x1794c0,_0x3046bf),_0x19c8e0[_0x2a8d49(0x2aa)]({'unitId':_0xc2e5a1,'subUnitId':_0x2ad86b,'token':_0x4999f6,'type':_0x2229c0[_0x2a8d49(0xae)]}),!0x0;}},_0x17f918={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0xea),'handler'(_0x244ca1,_0x2a748c){const _0x58812d=_0x2d3cd7;if(!_0x2a748c)return!0x1;if(!!_0x244ca1[_0x58812d(0x33f)](_0x2814ce['IConfigService'])[_0x58812d(0xd1)](_0x3fcf75))return!0x0;const _0x49e9cc=_0x244ca1[_0x58812d(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x14edf4,subUnitId:_0x4de748,pivotTableId:_0x37a0a1,fieldId:_0x434abd,format:_0x401f3b}=_0x2a748c,_0x298c5a=_0x49e9cc[_0x58812d(0x250)](_0x37a0a1);if(!_0x298c5a)return!0x1;_0x298c5a['setFieldFormat'](_0x434abd,_0x401f3b);const _0x1819e0=_0x49e9cc[_0x58812d(0x1e1)](_0x14edf4,_0x4de748,_0x37a0a1);return _0x56abf6(_0x1819e0,_0x2a748c),_0x49e9cc['addDirtyPivotTable']({'unitId':_0x14edf4,'subUnitId':_0x4de748,'token':_0x37a0a1,'type':_0x2229c0[_0x58812d(0xae)]}),!0x0;}},_0x175887={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':_0x2d3cd7(0x1f6),'handler'(_0x1199d3,_0x395163){const _0x41e3a3=_0x2d3cd7;if(!_0x395163)return!0x1;if(!!_0x1199d3[_0x41e3a3(0x33f)](_0x2814ce[_0x41e3a3(0xca)])[_0x41e3a3(0xd1)](_0x3fcf75))return!0x0;const _0x4e25c1=_0x1199d3[_0x41e3a3(0x33f)](_0x159003[_0x41e3a3(0x187)]),{unitId:_0x534e20,subUnitId:_0x59c037,pivotTableId:_0x5937a9,fieldId:_0x4923bc,filterInfo:_0x22ad51}=_0x395163,_0x570a51=_0x4e25c1[_0x41e3a3(0x250)](_0x5937a9);if(!_0x570a51)return!0x1;_0x570a51[_0x41e3a3(0x95)](_0x4923bc,_0x22ad51);const _0xcd43cb=_0x4e25c1[_0x41e3a3(0x1e1)](_0x534e20,_0x59c037,_0x5937a9);return _0x266e01(_0xcd43cb,_0x395163),_0x4e25c1['addDirtyPivotTable']({'unitId':_0x534e20,'subUnitId':_0x59c037,'token':_0x5937a9,'type':_0x2229c0[_0x41e3a3(0xae)]}),!0x0;}},_0x244b36={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.set-pivot-option','handler'(_0x239abe,_0x428b6c){const _0x14d9ec=_0x2d3cd7;if(!_0x428b6c)return!0x1;if(!!_0x239abe[_0x14d9ec(0x33f)](_0x2814ce[_0x14d9ec(0xca)])[_0x14d9ec(0xd1)](_0x3fcf75))return!0x0;const _0x4d2302=_0x239abe[_0x14d9ec(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x1ba070,subUnitId:_0x150f4e,pivotTableId:_0x2124c8,options:_0x333bd1}=_0x428b6c,_0x4316aa=_0x4d2302[_0x14d9ec(0x250)](_0x2124c8);if(!_0x4316aa)return!0x1;_0x4316aa[_0x14d9ec(0x320)](_0x333bd1);const _0x359895=_0x4d2302[_0x14d9ec(0x1e1)](_0x1ba070,_0x150f4e,_0x2124c8);return _0xc3a4f3(_0x359895,_0x428b6c),_0x4d2302[_0x14d9ec(0x2aa)]({'unitId':_0x1ba070,'subUnitId':_0x150f4e,'token':_0x2124c8,'type':_0x2229c0[_0x14d9ec(0xae)]}),!0x0;}},_0x564b11={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x29e),'handler'(_0x36c5ae,_0x45063b){const _0x1753a3=_0x2d3cd7;if(!_0x45063b)return!0x1;if(!!_0x36c5ae['get'](_0x2814ce[_0x1753a3(0xca)])[_0x1753a3(0xd1)](_0x3fcf75))return!0x0;const _0x38e151=_0x36c5ae['get'](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x277d61,subUnitId:_0x32f0d2,pivotTableId:_0x38fd2f,sortInfo:_0x11cf34,fieldId:_0x382c1f}=_0x45063b,_0x553809=_0x38e151[_0x1753a3(0x250)](_0x38fd2f);if(!_0x553809)return!0x1;_0x553809['setSortInfo'](_0x382c1f,_0x11cf34);const _0x2c5a2c=_0x38e151[_0x1753a3(0x1e1)](_0x277d61,_0x32f0d2,_0x38fd2f);return _0x5d8215(_0x2c5a2c,_0x45063b),_0x38e151['addDirtyPivotTable']({'unitId':_0x277d61,'subUnitId':_0x32f0d2,'token':_0x38fd2f,'type':_0x2229c0[_0x1753a3(0xae)]}),!0x0;}},_0x9c00fc={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x251),'handler'(_0x48810a,_0x29c039){const _0x28fc9d=_0x2d3cd7;if(!_0x29c039)return!0x1;if(!!_0x48810a[_0x28fc9d(0x33f)](_0x2814ce[_0x28fc9d(0xca)])[_0x28fc9d(0xd1)](_0x3fcf75))return!0x0;const _0x4d71e5=_0x48810a[_0x28fc9d(0x33f)](_0x159003[_0x28fc9d(0x187)]),{unitId:_0x151478,subUnitId:_0x11e0e8,pivotTableId:_0x4221df,fieldId:_0x4fbc19,subtotalType:_0x414aa6}=_0x29c039,_0x4f00f9=_0x4d71e5[_0x28fc9d(0x250)](_0x4221df);if(!_0x4f00f9)return!0x1;_0x4f00f9[_0x28fc9d(0x30a)](_0x4fbc19,_0x414aa6);const _0x3f7928=_0x4d71e5['getPivotTableModelConfig'](_0x151478,_0x11e0e8,_0x4221df);return _0x5bba95(_0x3f7928,_0x29c039),_0x4d71e5[_0x28fc9d(0x2aa)]({'unitId':_0x151478,'subUnitId':_0x11e0e8,'token':_0x4221df,'type':_0x2229c0['Set']}),!0x0;}},_0x225a87={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x1dc),'handler'(_0x3b2fc2,_0x5960b3){const _0x50d51a=_0x2d3cd7;if(!_0x5960b3)return!0x1;if(!!_0x3b2fc2['get'](_0x2814ce[_0x50d51a(0xca)])[_0x50d51a(0xd1)](_0x3fcf75))return!0x0;const _0xf5f4ea=_0x3b2fc2[_0x50d51a(0x33f)](_0x159003[_0x50d51a(0x187)]),{unitId:_0xf80243,subUnitId:_0x3264ca,pivotTableId:_0x3d3308,fieldId:_0x17fec9,filterInfo:_0xbd3de2}=_0x5960b3,_0x365d04=_0xf5f4ea['getPivotTableInstance'](_0x3d3308);if(!_0x365d04)return!0x1;_0x365d04['setValueFilterInfo'](_0x17fec9,_0xbd3de2);const _0x589980=_0xf5f4ea[_0x50d51a(0x1e1)](_0xf80243,_0x3264ca,_0x3d3308);return _0x23d394(_0x589980,_0x5960b3),_0xf5f4ea[_0x50d51a(0x2aa)]({'unitId':_0xf80243,'subUnitId':_0x3264ca,'token':_0x3d3308,'type':_0x2229c0[_0x50d51a(0xae)]}),!0x0;}},_0x4bb57b={'type':_0x2814ce['CommandType']['MUTATION'],'id':_0x2d3cd7(0x1ac),'handler'(_0x56d345,_0xe9a9d){const _0x10f28e=_0x2d3cd7;if(!_0xe9a9d)return!0x1;if(!!_0x56d345['get'](_0x2814ce['IConfigService'])[_0x10f28e(0xd1)](_0x3fcf75))return!0x0;const _0x5e22e4=_0x56d345[_0x10f28e(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x91c8a2,subUnitId:_0x502e17,pivotTableId:_0x16c8f0,area:_0x2fa1d8,index:_0x1ab4d9,fieldId:_0x38533f}=_0xe9a9d,_0x4e3e47=_0x5e22e4[_0x10f28e(0x250)](_0x16c8f0);if(!_0x4e3e47)return!0x1;_0x4e3e47[_0x10f28e(0x79)](_0x38533f,_0x2fa1d8,_0x1ab4d9);const _0x429eb4=_0x5e22e4['getPivotTableModelConfig'](_0x91c8a2,_0x502e17,_0x16c8f0);return _0x1079ac(_0x429eb4,_0xe9a9d),_0x5e22e4[_0x10f28e(0x2aa)]({'unitId':_0x91c8a2,'subUnitId':_0x502e17,'token':_0x16c8f0,'type':_0x2229c0[_0x10f28e(0xae)]}),!0x0;}},_0xd67a87={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x2de),'handler'(_0xb8258d,_0x3c1d59){const _0x57c9c6=_0x2d3cd7;if(!_0x3c1d59)return!0x1;if(!!_0xb8258d[_0x57c9c6(0x33f)](_0x2814ce[_0x57c9c6(0xca)])[_0x57c9c6(0xd1)](_0x3fcf75))return!0x0;const _0x7ace31=_0xb8258d[_0x57c9c6(0x33f)](_0x159003[_0x57c9c6(0x187)]),{unitId:_0x333265,subUnitId:_0x2268bf,pivotTableId:_0x21e1c4,sourceName:_0x5e1e87,dataFieldId:_0x24d0a2,tableFieldId:_0x4407f2}=_0x3c1d59,_0x3d58fb=_0x7ace31['getPivotTableInstance'](_0x21e1c4);if(!_0x3d58fb)return!0x1;_0x3d58fb[_0x57c9c6(0x1c8)](_0x4407f2,_0x5e1e87,_0x24d0a2);const _0x2cc01b=_0x7ace31[_0x57c9c6(0x1e1)](_0x333265,_0x2268bf,_0x21e1c4);return _0x1c6909(_0x2cc01b,_0x3c1d59),_0x7ace31[_0x57c9c6(0x2aa)]({'unitId':_0x333265,'subUnitId':_0x2268bf,'token':_0x21e1c4,'type':_0x2229c0[_0x57c9c6(0xae)]}),!0x0;}},_0x224e89={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x591450,_0x3821ff){const _0x192ddb=_0x2d3cd7;if(!_0x3821ff)return!0x1;if(!!_0x591450[_0x192ddb(0x33f)](_0x2814ce[_0x192ddb(0xca)])['getConfig'](_0x3fcf75))return!0x0;const _0x29f0c2=_0x591450[_0x192ddb(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x3a0ac2,subUnitId:_0x211626,pivotTableId:_0x4aa0be,valuePosition:_0x105475,index:_0x4d98ae}=_0x3821ff,_0x1acebf=_0x29f0c2['getPivotTableInstance'](_0x4aa0be);if(!_0x1acebf)return!0x1;_0x1acebf[_0x192ddb(0xfc)](_0x105475,_0x4d98ae);const _0x42a48e=_0x29f0c2[_0x192ddb(0x1e1)](_0x3a0ac2,_0x211626,_0x4aa0be);return _0x5bb190(_0x42a48e,_0x3821ff),_0x29f0c2[_0x192ddb(0x2aa)]({'unitId':_0x3a0ac2,'subUnitId':_0x211626,'token':_0x4aa0be,'type':_0x2229c0[_0x192ddb(0xae)]}),!0x0;}};function _0x122f37(_0x2d2e18,_0x298f8f,_0x3b4b1a){const _0x30dc04=_0x2d3cd7,{pivotTableId:_0x37623d,unitId:_0x487d78,subUnitId:_0x49e915}=_0x298f8f,_0x108e05=[],_0x32257c=[];for(const _0x2147d6 of _0x3b4b1a)switch(_0x2147d6['type']){case _0x3ed89a[_0x30dc04(0xfb)]['AddField']:{const {fieldJson:_0xa37735,area:_0x243e45,index:_0x29ff2d}=_0x2147d6,_0x195205={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldJson':_0xa37735,'area':_0x243e45,'index':_0x29ff2d},_0x5f2aef={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0xa37735['id'],'area':_0x243e45,'index':_0x29ff2d};_0x108e05['push']({'id':_0x290f89['id'],'params':_0x195205}),_0x32257c['unshift']({'id':_0x55c8da['id'],'params':_0x5f2aef});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x136)]:{const {fieldId:_0x135615,newSubtotalType:_0x2439c4,oldSubtotalType:_0x27ff0a}=_0x2147d6,_0x5dff53={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x135615,'subtotalType':_0x2439c4};_0x108e05['push']({'id':_0x9c00fc['id'],'params':_0x5dff53});const _0x527953={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x135615,'subtotalType':_0x27ff0a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x9c00fc['id'],'params':_0x527953});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x1c5)]:{const {fieldId:_0x149a5a,fieldJson:_0x215d39,area:_0x3c662e,index:_0x2357de}=_0x2147d6,_0x46f151={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x149a5a,'index':_0x2357de,'area':_0x3c662e};_0x108e05[_0x30dc04(0xf8)]({'id':_0x55c8da['id'],'params':_0x46f151});const _0x47f4a4={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldJson':_0x215d39,'area':_0x3c662e,'index':_0x2357de};_0x32257c['unshift']({'id':_0x290f89['id'],'params':_0x47f4a4});}break;case _0x3ed89a['PivotTableChangeTypeEnum']['RenameField']:{const {fieldId:_0x39415a,oldName:_0x3f3eca,newName:_0x2a0d44}=_0x2147d6,_0x222dc0={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x39415a,'name':_0x2a0d44};_0x108e05['push']({'id':_0x44a6d7['id'],'params':_0x222dc0});const _0x2b0de5={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x39415a,'name':_0x3f3eca};_0x32257c[_0x30dc04(0xb1)]({'id':_0x44a6d7['id'],'params':_0x2b0de5});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetFilterInfo']:{const {fieldId:_0x2b2fd2,oldFilterInfo:_0x5a0ac0,newFilterInfo:_0x2dbfce}=_0x2147d6,_0x5d460a={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x2b2fd2,'filterInfo':_0x2dbfce};_0x108e05[_0x30dc04(0xf8)]({'id':_0x175887['id'],'params':_0x5d460a});const _0x55d77c={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x2b2fd2,'filterInfo':_0x5a0ac0};_0x32257c['unshift']({'id':_0x175887['id'],'params':_0x55d77c});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetSortInfo']:{const {fieldId:_0x482b52,oldSortInfo:_0x4e3fd7,newSortInfo:_0x23dc3f}=_0x2147d6,_0x59f160={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x482b52,'sortInfo':_0x23dc3f};_0x108e05['push']({'id':_0x564b11['id'],'params':_0x59f160});const _0x4e8f07={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x482b52,'sortInfo':_0x4e3fd7};_0x32257c[_0x30dc04(0xb1)]({'id':_0x564b11['id'],'params':_0x4e8f07});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x150)]:{const {oldOptions:_0x16df3a,newOptions:_0x4191ba}=_0x2147d6,_0x446635={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'options':_0x4191ba};_0x108e05[_0x30dc04(0xf8)]({'id':_0x244b36['id'],'params':_0x446635});const _0x4acb38={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'options':_0x16df3a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x244b36['id'],'params':_0x4acb38});}break;case _0x3ed89a[_0x30dc04(0xfb)]['UpdateFieldPosition']:{const {oldArea:_0x3f4a6c,newArea:_0x468dc6,oldIndex:_0xfd94d5,newIndex:_0x36ea66,fieldId:_0x13446e}=_0x2147d6,_0x3de993={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x13446e,'area':_0x468dc6,'index':_0x36ea66,'oldArea':_0x3f4a6c,'oldIndex':_0xfd94d5};_0x108e05['push']({'id':_0x4bb57b['id'],'params':_0x3de993});const _0x35ed23={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x13446e,'area':_0x3f4a6c,'index':_0xfd94d5,'oldArea':_0x468dc6,'oldIndex':_0x36ea66};_0x32257c[_0x30dc04(0xb1)]({'id':_0x4bb57b['id'],'params':_0x35ed23});}break;case _0x3ed89a[_0x30dc04(0xfb)]['UpdateValuePosition']:{const {oldValuePosition:_0x4e4621,newValuePosition:_0x2e2958,oldIndex:_0x2052cf,newIndex:_0x15d8d6}=_0x2147d6,_0x38e80a={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'valuePosition':_0x2e2958,'index':_0x15d8d6};_0x108e05[_0x30dc04(0xf8)]({'id':_0x224e89['id'],'params':_0x38e80a});const _0x16e409={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'valuePosition':_0x4e4621,'index':_0x2052cf};_0x32257c[_0x30dc04(0xb1)]({'id':_0x224e89['id'],'params':_0x16e409});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x351)]:{const {fieldId:_0x45cf11,collapse:_0x4d9182,item:_0x220e7a}=_0x2147d6,_0x431c14={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x45cf11,'collapse':_0x4d9182,'item':_0x220e7a};_0x108e05[_0x30dc04(0xf8)]({'id':_0x51c8d6['id'],'params':_0x431c14});const _0x1e67cf={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x45cf11,'collapse':!_0x4d9182,'item':_0x220e7a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x51c8d6['id'],'params':_0x1e67cf});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x173)]:{const {newFormat:_0x569cf8,oldFormat:_0x55a060,fieldId:_0x4521a2}=_0x2147d6,_0x44cda4={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x4521a2,'format':_0x569cf8};_0x108e05['push']({'id':_0x17f918['id'],'params':_0x44cda4});const _0x27bd40={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x4521a2,'format':_0x55a060};_0x32257c['unshift']({'id':_0x17f918['id'],'params':_0x27bd40});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x1a5)]:{const {tableFieldId:_0x125c58,oldSourceName:_0x35bd86,newSourceName:_0x58d3ef,oldDataFieldId:_0x48a5f5,newDataFieldId:_0x46a3ef}=_0x2147d6,_0x5e12f1={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'tableFieldId':_0x125c58,'sourceName':_0x58d3ef,'dataFieldId':_0x46a3ef};_0x108e05[_0x30dc04(0xf8)]({'id':_0xd67a87['id'],'params':_0x5e12f1});const _0x72d032={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'tableFieldId':_0x125c58,'sourceName':_0x35bd86,'dataFieldId':_0x48a5f5};_0x32257c[_0x30dc04(0xb1)]({'id':_0xd67a87['id'],'params':_0x72d032});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetValueFilter']:{const {fieldId:_0x124461,filterInfo:_0x1a9ef3,oldFilterInfo:_0x5b7a04}=_0x2147d6,_0x300c52={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x124461,'filterInfo':_0x1a9ef3};_0x108e05[_0x30dc04(0xf8)]({'id':_0x225a87['id'],'params':_0x300c52});const _0x29bf6f={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x124461,'filterInfo':_0x5b7a04};_0x32257c['unshift']({'id':_0x225a87['id'],'params':_0x29bf6f});}}return{'redos':_0x108e05,'undos':_0x32257c};}function _0x3d5d35(_0x4dc3da,_0x1c4eb5){const _0x383d84=_0x2d3cd7;var _0x474ac1;const _0x3c2767=_0x4dc3da[_0x383d84(0x33f)](_0x159003['SheetsPivotTableService']),{cellInfo:_0xa684f0,view:_0x339e06,isEmpty:_0x557ddd}=_0x1c4eb5;return(_0x474ac1=_0x3c2767[_0x383d84(0x335)][_0x383d84(0x2b3)](_0x4a5516)(_0x2e95a7,{'cellInfo':_0xa684f0,'view':_0x339e06,'isEmpty':_0x557ddd}))!=null?_0x474ac1:_0x2e95a7;}const _0x42c047=()=>typeof process<'u'&&process[_0x2d3cd7(0xab)]!=null&&process['versions']['node']!=null,_0x25211b={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x2589c8,_0x5eede5){const _0x40e156=_0x2d3cd7;var _0x5ef561;if(!_0x5eede5)return!0x1;const _0x162c7f=_0x2589c8[_0x40e156(0x33f)](_0x2814ce[_0x40e156(0xca)]);if(!!_0x162c7f['getConfig'](_0x3fcf75))return!0x0;const _0x55fc75=_0x2589c8[_0x40e156(0x33f)](_0x2814ce[_0x40e156(0x368)]),_0x539f26=_0x2589c8[_0x40e156(0x33f)](_0x159003[_0x40e156(0x187)]),{pivotTableId:_0x373298,pivotTableConfig:_0xe45970,collectionConfig:_0x5ac033,unitId:_0x54cab6,subUnitId:_0x50dc99}=_0x5eede5,{sourceRangeInfo:_0x586a7a,fieldsConfig:_0x1459e3,targetCellInfo:_0x34f81f}=_0xe45970,_0x4b88a5=_0x55fc75[_0x40e156(0x94)](_0x54cab6);if(!_0x4b88a5||!_0x4b88a5['getSheetBySheetId'](_0x50dc99))return!0x1;if(!_0x42c047()){let _0xf42032=0x0;_0x4b88a5[_0x40e156(0x36d)]()['forEach'](_0x5f315a=>{var _0x1e75e9,_0x14e078;_0xf42032+=(_0x14e078=(_0x1e75e9=_0x539f26['getSubUnitPivotConfigs'](_0x54cab6,_0x5f315a['getSheetId']()))==null?void 0x0:_0x1e75e9['size'])!=null?_0x14e078:0x0;});const _0x250959=(_0x5ef561=_0x162c7f[_0x40e156(0xd1)](_0xde1950[_0x40e156(0x355)]))!=null?_0x5ef561:{},{ls:_0x549376,pbk:_0x5e8a9e}=_0x250959;if(!_0x404469(_0x549376,_0x5e8a9e))throw new _0x2814ce[(_0x40e156(0x293))](_0x40e156(0x348));const _0x41bc17=_0x104462(_0x3c672e,_0x549376,_0x5e8a9e)['count'];if(_0xf42032>=_0x41bc17)throw new _0x2814ce[(_0x40e156(0x293))](_0x40e156(0x348));}if(!_0x5ac033||!_0x1459e3)return!0x1;const {collection:_0x543a51,updateDataFieldList:_0x6fa83b}=_0x539f26[_0x40e156(0x2e5)](_0x373298,_0x5ac033,_0x586a7a,_0x34f81f);_0x539f26[_0x40e156(0x19d)](_0x543a51,_0x6fa83b,_0x586a7a);const _0x34f579=new _0x3ed89a[(_0x40e156(0x299))](_0x543a51,void 0x0,_0x373298);_0x34f579[_0x40e156(0x183)](_0x1459e3);const _0x2f9618=JSON[_0x40e156(0x153)](JSON[_0x40e156(0x184)](_0xe45970));return _0x539f26['addPivotTable'](_0x54cab6,_0x50dc99,_0x373298,_0x34f579,_0x2f9618),_0x539f26[_0x40e156(0x2aa)]({'unitId':_0x54cab6,'subUnitId':_0x50dc99,'token':_0x373298,'type':_0x2229c0[_0x40e156(0xa3)],'pivotConfig':_0x2f9618}),!0x0;}},_0x3bf3ed={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0xd7),'handler'(_0x371309,_0x2eaf43){const _0x3a7f33=_0x2d3cd7;if(!_0x2eaf43)return!0x1;if(!!_0x371309[_0x3a7f33(0x33f)](_0x2814ce[_0x3a7f33(0xca)])[_0x3a7f33(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0xb027a6,unitId:_0x2341fd,subUnitId:_0x3d04a1}=_0x2eaf43,_0x2ce4a8=_0x371309[_0x3a7f33(0x33f)](_0x159003[_0x3a7f33(0x187)]);return _0x2ce4a8[_0x3a7f33(0x2e4)](_0x2341fd,_0x3d04a1,_0xb027a6)?(_0x2ce4a8[_0x3a7f33(0x2aa)]({'unitId':_0x2341fd,'subUnitId':_0x3d04a1,'token':_0xb027a6,'type':_0x2229c0['Delete']}),_0x2ce4a8[_0x3a7f33(0x383)](_0x2341fd,_0x3d04a1,_0xb027a6),!0x0):!0x1;}},_0x530b7f={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':'sheet.mutation.set-pivot-position','handler'(_0x4e1bcf,_0x5849f1){const _0x55319a=_0x2d3cd7;if(!_0x5849f1)return!0x1;if(!!_0x4e1bcf[_0x55319a(0x33f)](_0x2814ce['IConfigService'])[_0x55319a(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0x2d7150,targetCellPosition:_0x38f7b5,unitId:_0x4e15a0,subUnitId:_0x2d16be}=_0x5849f1,_0x19654e=_0x4e1bcf[_0x55319a(0x33f)](_0x159003[_0x55319a(0x187)]);if(!_0x19654e[_0x55319a(0x250)](_0x5849f1[_0x55319a(0x311)]))return!0x1;const _0x5f3aa4=_0x19654e[_0x55319a(0x103)](_0x2d7150);if(!_0x5f3aa4)return!0x1;const _0x318dca=_0x19654e[_0x55319a(0x2bb)](_0x5f3aa4[_0x55319a(0x19c)],_0x5849f1['pivotTableId']);if(!_0x318dca)return!0x1;const _0x4e7942=_0x19654e['getPivotTableConfig'](_0x5f3aa4[_0x55319a(0x19c)],_0x5f3aa4['subUnitId'],_0x2d7150);if(!_0x4e7942)return!0x1;const _0x29ce99=_0x2814ce[_0x55319a(0x313)][_0x55319a(0xb9)](_0x4e7942);_0x29ce99[_0x55319a(0x301)]={'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'row':_0x38f7b5[_0x55319a(0x363)],'col':_0x38f7b5[_0x55319a(0x117)]};const _0x390ff4=_0x318dca['toJSON']();if(_0x5f3aa4[_0x55319a(0x2da)]===_0x2d16be&&_0x5f3aa4[_0x55319a(0x19c)]===_0x4e15a0)_0x19654e['setPivotTable'](_0x4e15a0,_0x2d16be,_0x2d7150,_0x29ce99),_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0xae)]});else{_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x5f3aa4[_0x55319a(0x19c)],'subUnitId':_0x5f3aa4[_0x55319a(0x2da)],'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0x15c)]}),_0x19654e[_0x55319a(0x383)](_0x5f3aa4[_0x55319a(0x19c)],_0x5f3aa4[_0x55319a(0x2da)],_0x2d7150);const _0x147d1d=_0x19654e[_0x55319a(0x2e5)](_0x2d7150,_0x390ff4,_0x4e7942[_0x55319a(0x281)],_0x29ce99[_0x55319a(0x301)]),_0x437ebc=new _0x3ed89a[(_0x55319a(0x299))](_0x147d1d[_0x55319a(0xf6)],void 0x0,_0x2d7150);_0x437ebc[_0x55319a(0x183)](_0x29ce99[_0x55319a(0xf4)]),_0x19654e[_0x55319a(0x7d)](_0x4e15a0,_0x2d16be,_0x2d7150,_0x437ebc,_0x29ce99),_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0xa3)],'pivotConfig':_0x29ce99});}return!0x0;}},_0x574367={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':_0x2d3cd7(0xfd),'handler'(_0x45b7de,_0x979565){const _0xb559f9=_0x2d3cd7;if(!_0x979565)return!0x1;if(!!_0x45b7de[_0xb559f9(0x33f)](_0x2814ce[_0xb559f9(0xca)])[_0xb559f9(0xd1)](_0x3fcf75))return!0x0;const _0x173ba1=_0x45b7de[_0xb559f9(0x33f)](_0x159003[_0xb559f9(0x187)]),{pivotTableId:_0x2bbfcc,deleteIds:_0x20a27b,collectionJSON:_0x38b6aa,dataRangeInfo:_0x4c38e1,unitId:_0x3869a3,subUnitId:_0x55cc9c}=_0x979565,_0x17591e=_0x173ba1[_0xb559f9(0x250)](_0x2bbfcc),_0x173a7d=_0x173ba1[_0xb559f9(0x2e4)](_0x3869a3,_0x55cc9c,_0x2bbfcc);if(!_0x17591e||!_0x173a7d)return!0x1;const {collection:_0x516890,updateDataFieldList:_0x469b5f}=_0x173ba1[_0xb559f9(0x2e5)](_0x2bbfcc,_0x38b6aa,_0x4c38e1,_0x173a7d[_0xb559f9(0x301)]);_0x173ba1[_0xb559f9(0x19d)](_0x516890,_0x469b5f,_0x4c38e1),_0x17591e[_0xb559f9(0xba)](_0x516890);for(const _0x245c45 of _0x20a27b)_0x173ba1['removeDataField'](_0x4c38e1[_0xb559f9(0x19c)],_0x245c45);const _0x4f4cb9=_0x173ba1[_0xb559f9(0x2e4)](_0x3869a3,_0x55cc9c,_0x2bbfcc);return _0x4f4cb9[_0xb559f9(0x281)]=JSON[_0xb559f9(0x153)](JSON[_0xb559f9(0x184)](_0x4c38e1)),_0x173ba1[_0xb559f9(0x2aa)]({'unitId':_0x3869a3,'subUnitId':_0x55cc9c,'token':_0x2bbfcc,'type':_0x2229c0['Set']}),!0x0;}},_0x488c22={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x321),'handler'(){return!0x0;}};var _0x1295d1=Object[_0x2d3cd7(0x11f)],_0x4830b5=(_0x1827fb,_0x311aa6,_0x37c73d,_0x4cee0c)=>{const _0x4f0192=_0x2d3cd7;for(var _0x50c0fa=_0x4cee0c>0x1?void 0x0:_0x4cee0c?_0x1295d1(_0x311aa6,_0x37c73d):_0x311aa6,_0x43df92=_0x1827fb[_0x4f0192(0x25f)]-0x1,_0x227832;_0x43df92>=0x0;_0x43df92--)(_0x227832=_0x1827fb[_0x43df92])&&(_0x50c0fa=_0x227832(_0x50c0fa)||_0x50c0fa);return _0x50c0fa;},_0x2a3b0c=(_0x414cd8,_0xe55b7e)=>(_0x56b87d,_0x3a30ce)=>_0xe55b7e(_0x56b87d,_0x3a30ce,_0x414cd8);_0x159003[_0x2d3cd7(0x2a7)]=class extends _0x2814ce['Disposable']{constructor(_0x38f28f,_0x2e5256){const _0x16a915=_0x2d3cd7;super(),_0x4a4d7d(this,_0x16a915(0xa4),new Map()),(this['_injector']=_0x38f28f,this[_0x16a915(0x341)]=_0x2e5256);}['handleAsyncResponse'](_0x19db6d){const _0x274dc4=_0x2d3cd7,{version:_0x27f3da}=_0x19db6d,_0x5bd610=this['_requestResolvers']['get'](_0x27f3da);_0x5bd610&&(_0x5bd610(_0x19db6d),this[_0x274dc4(0xa4)][_0x274dc4(0xa1)](_0x27f3da));}[_0x2d3cd7(0x14f)](_0x41b4bf){return new Promise((_0x35d5ba,_0x10df64)=>{const _0x3bb7fb=_0x50dd,_0x184870=this[_0x3bb7fb(0x1c9)]();this['_requestResolvers'][_0x3bb7fb(0x1f8)](_0x184870,_0x35d5ba),this[_0x3bb7fb(0x341)]['executeCommand'](_0x3b71d1['id'],{'version':_0x184870,..._0x41b4bf},{'onlyLocal':!0x0});});}[_0x2d3cd7(0x1c9)](){const _0x1778d2=_0x2d3cd7;return Math[_0x1778d2(0x34a)]()['toString'](0x24)[_0x1778d2(0x391)](0x2,0x10);}},_0x159003[_0x2d3cd7(0x2a7)]=_0x4830b5([_0x2a3b0c(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x2a3b0c(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x263)]))],_0x159003[_0x2d3cd7(0x2a7)]);const _0x3b090e={'id':_0x2d3cd7(0x1e0),'type':_0x2814ce['CommandType']['MUTATION'],'handler':(_0x12523b,_0x411ec7)=>{const _0x4f50bc=_0x2d3cd7;if(!_0x411ec7)return!0x1;if(!!_0x12523b['get'](_0x2814ce['IConfigService'])[_0x4f50bc(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0x2d0131,fieldJSON:_0x137dfb,unitId:_0xc390fb,subUnitId:_0x2fadad}=_0x411ec7,_0x5a5723=_0x3ed89a['BaseGroupField']['fromJSON'](_0x137dfb);if(!_0x5a5723)return!0x1;const _0x573da8=_0x12523b[_0x4f50bc(0x33f)](_0x159003[_0x4f50bc(0x187)]),_0x5012e6=_0x573da8[_0x4f50bc(0x2d0)](_0xc390fb),_0x3780e8=_0x5012e6[_0x4f50bc(0x2bb)](_0x2d0131);_0x5012e6[_0x4f50bc(0xc5)](_0x5a5723),_0x3780e8['addField'](_0x5a5723[_0x4f50bc(0x1c2)](),_0x5a5723['getName']());const _0xa9b979=_0x3780e8['getFieldById'](_0x5a5723[_0x4f50bc(0x1fd)]());_0xa9b979&&_0x5a5723[_0x4f50bc(0x14d)](_0xa9b979);const _0x9d8755=_0x573da8[_0x4f50bc(0x2e4)](_0xc390fb,_0x2fadad,_0x2d0131);return _0x573da8[_0x4f50bc(0x2aa)]({'unitId':_0xc390fb,'subUnitId':_0x2fadad,'token':_0x2d0131,'type':_0x2229c0['Set'],'pivotConfig':_0x9d8755}),!0x0;}},_0x27d387={'id':_0x2d3cd7(0x135),'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'handler':(_0x3014b0,_0x3e4f1c)=>{const _0x5e0f70=_0x2d3cd7;if(!_0x3e4f1c)return!0x1;if(!!_0x3014b0['get'](_0x2814ce[_0x5e0f70(0xca)])['getConfig'](_0x3fcf75))return!0x0;const {pivotTableId:_0x4bb17,dataFieldId:_0x2db916,unitId:_0x43114e,subUnitId:_0x4fd6de}=_0x3e4f1c,_0x32e45b=_0x3014b0[_0x5e0f70(0x33f)](_0x159003[_0x5e0f70(0x187)]),_0x54a3bd=_0x32e45b[_0x5e0f70(0x2d0)](_0x43114e);_0x54a3bd['getCollection'](_0x4bb17)[_0x5e0f70(0x16e)](_0x2db916);let _0x4e97c8=!0x0;for(const _0x5bf615 in _0x54a3bd[_0x5e0f70(0x2f9)])if(_0x54a3bd[_0x5e0f70(0x2f9)][_0x5bf615]['getFieldIds']()[_0x5e0f70(0x26f)](_0x2db916)){_0x4e97c8=!0x1;break;}_0x4e97c8&&_0x54a3bd[_0x5e0f70(0x29f)](_0x2db916);const _0x49f590=_0x32e45b[_0x5e0f70(0x2e4)](_0x43114e,_0x4fd6de,_0x4bb17);return _0x32e45b[_0x5e0f70(0x2aa)]({'unitId':_0x43114e,'subUnitId':_0x4fd6de,'token':_0x4bb17,'type':_0x2229c0[_0x5e0f70(0xae)],'pivotConfig':_0x49f590}),!0x0;}},_0x2bc2bb={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x21c),async 'handler'(_0x22f4a9,_0x5cb521){const _0x253f66=_0x2d3cd7;if(!_0x5cb521)return!0x1;const _0x48565f=_0x22f4a9[_0x253f66(0x33f)](_0x2814ce['ICommandService']),_0x57612a=_0x22f4a9[_0x253f66(0x33f)](_0x159003[_0x253f66(0x2a7)]),_0x36f8cf=_0x22f4a9[_0x253f66(0x33f)](_0x2814ce[_0x253f66(0x143)]),{pivotTableId:_0x55a86e,dataFieldId:_0x157865,fieldArea:_0x49f5c2,index:_0x2b8c2a,unitId:_0x33acbf,subUnitId:_0x3df6c0}=_0x5cb521,_0x3aa6bb=(await _0x57612a[_0x253f66(0x14f)]({'unitId':_0x33acbf,'subUnitId':_0x3df6c0,'pivotTableId':_0x55a86e,'params':{'type':_0x6c21f4[_0x253f66(0x14a)],'addPivotField':{'dataFieldId':_0x157865,'fieldArea':_0x49f5c2,'index':_0x2b8c2a}}}))['result'][_0x253f66(0x2d9)];if(!_0x3aa6bb)return!0x1;const {view:_0x8c2300,changesets:_0x886c8f,isEmpty:_0x1e0628,pivotTableConfig:_0x378636,shouldBeAddedGroupJSON:_0x33b0c0}=_0x3aa6bb,_0x4aa17f=_0x378636['targetCellInfo'],_0x10471d=new _0x3ed89a[(_0x253f66(0x1da))]();_0x10471d[_0x253f66(0x18f)](_0x8c2300);const _0x5c97a6={'cellInfo':_0x4aa17f,'view':_0x10471d,'isEmpty':_0x1e0628};if(!await _0x22f4a9[_0x253f66(0x33f)](_0x159003[_0x253f66(0x346)])[_0x253f66(0x2ee)][_0x253f66(0x360)](_0x17b1a6)(!0x0,_0x5c97a6))return!0x1;const _0x5ba5a1=_0x21902f(_0x22f4a9,_0x10471d,_0x4aa17f,_0x1e0628),_0x2c0f23=_0x3d5d35(_0x22f4a9,_0x5c97a6),{undos:_0x4e3766,redos:_0x580899}=_0x122f37(_0x48565f,{'pivotTableId':_0x55a86e,'unitId':_0x33acbf,'subUnitId':_0x3df6c0},_0x886c8f);return _0x33b0c0&&(_0x580899['unshift']({'id':_0x3b090e['id'],'params':{'pivotTableId':_0x55a86e,'fieldJSON':_0x33b0c0,'unitId':_0x33acbf,'subUnitId':_0x3df6c0}}),_0x4e3766['push']({'id':_0x27d387['id'],'params':{'pivotTableId':_0x55a86e,'dataFieldId':_0x33b0c0['id'],'unitId':_0x33acbf,'subUnitId':_0x3df6c0}})),_0x2814ce[_0x253f66(0x2e8)]([..._0x5ba5a1[_0x253f66(0x220)],..._0x2c0f23[_0x253f66(0x220)],..._0x580899],_0x48565f),_0x36f8cf[_0x253f66(0xad)]({'unitID':_0x33acbf,'redoMutations':[..._0x5ba5a1[_0x253f66(0x220)],..._0x2c0f23[_0x253f66(0x220)],..._0x580899],'undoMutations':[..._0x5ba5a1[_0x253f66(0x10f)],..._0x2c0f23[_0x253f66(0x10f)],..._0x4e3766]}),!0x0;}},_0xfa0d1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x259),async 'handler'(_0x179a17,_0x3fabf9){const _0x2830a7=_0x2d3cd7;if(!_0x3fabf9)return!0x1;const {sourceDataInfo:_0x523671,pivotTableConfig:_0x4890b6}=_0x3fabf9;if(!_0x523671||!_0x4890b6)return!0x1;const {unitId:_0x4d59c8,subUnitId:_0x3e75ce,range:_0x3894b4}=_0x523671,_0x1691dd=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x368)]),_0xb93160=_0x179a17[_0x2830a7(0x33f)](_0x159003['SheetsPivotRPCService']),_0x13d9b1=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x19f)]),_0x4ad1d7=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x263)]),_0x177fe8=_0x1691dd[_0x2830a7(0x94)](_0x4d59c8);if(!_0x177fe8)return!0x1;const _0x3a1836=_0x177fe8['getSheetBySheetId'](_0x3e75ce);if(!_0x3a1836)return!0x1;const _0x26f0e6=_0x3ed89a[_0x2830a7(0x369)](0x8),_0x38f631=_0x3894b4||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3a1836['getRowCount']()-0x1,'endColumn':_0x3a1836['getColumnCount']()-0x1};_0x38f631[_0x2830a7(0xe7)]=_0x2814ce[_0x2830a7(0x27c)][_0x2830a7(0x14e)];const _0x1a890d=(await _0xb93160[_0x2830a7(0x14f)]({'unitId':_0x4d59c8,'subUnitId':_0x3e75ce,'pivotTableId':_0x26f0e6,'params':{'type':_0x6c21f4[_0x2830a7(0x163)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4d59c8,'sheetName':_0x3a1836['getName'](),'subUnitId':_0x3e75ce,'range':_0x38f631},'pivotTableId':_0x26f0e6,'pivotTableIndexConfig':_0x4890b6}}}))[_0x2830a7(0xa0)]['addPivotTableWithConfig'];if(!_0x1a890d)return!0x1;const {isEmpty:_0x1b26ee,fieldsConfig:_0x2289e5,collectionConfig:_0x401645,changesets:_0x5cad5d}=_0x1a890d,_0x42cfaa=_0x177fe8[_0x2830a7(0x36d)]()['length'],_0xa6e09f=_0x2814ce[_0x2830a7(0x12b)]({'rowCount':_0x3a1836[_0x2830a7(0x1f0)]()-0x1,'columnCount':_0x3a1836[_0x2830a7(0x2b5)]()-0x1});_0xa6e09f['id']=_0x2814ce[_0x2830a7(0x24e)](),_0xa6e09f['name']=_0x177fe8[_0x2830a7(0x345)](''+_0x13d9b1['t']('sheets.tabs.sheet'));const _0x4c4dd8={'index':_0x42cfaa,'sheet':_0xa6e09f,'unitId':_0x4d59c8},{redos:_0x2dccfe}=_0x122f37(_0x4ad1d7,{'pivotTableId':_0x26f0e6,'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id']},_0x5cad5d),_0x11ae7b=[{'id':_0x5cc6ba[_0x2830a7(0x17c)]['id'],'params':_0x4c4dd8},{'id':_0x25211b['id'],'params':{'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id'],'pivotTableId':_0x26f0e6,'pivotTableConfig':{'isEmpty':_0x1b26ee,'fieldsConfig':_0x2289e5,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id']},'sourceRangeInfo':{'subUnitId':_0x3e75ce,'unitId':_0x4d59c8,'range':_0x38f631,'sheetName':_0x3a1836[_0x2830a7(0x26c)]()}},'collectionConfig':_0x401645}},..._0x2dccfe];return _0x2814ce[_0x2830a7(0x2e8)](_0x11ae7b,_0x4ad1d7),!0x0;}},_0x1e55f6={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x188),async 'handler'(_0x4482fa,_0x2f49cf){const _0x272dda=_0x2d3cd7;var _0x661ae6,_0x18e95f;const _0xb508ce=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x263)]),_0x40329f=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x368)]),_0x159f89=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x19f)]),_0x456b93=_0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x2a7)]),_0x268138=_0x4482fa[_0x272dda(0x33f)](_0x2814ce['IUndoRedoService']),_0x8de7c=_0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x282)]),_0x2b9e24=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0xca)]);if(!_0x2f49cf)return!0x1;const {pivotTableConfig:_0x2c487c,positionType:_0x51de6a}=_0x2f49cf,{targetCellInfo:_0x571d13,sourceRangeInfo:_0x48c66d}=_0x2c487c,{unitId:_0x182035,subUnitId:_0x4d179c}=_0x571d13,_0x198ad7=_0x40329f['getUnit'](_0x182035);if(!_0x198ad7)return!0x1;let _0x1f4823=0x0;_0x198ad7['getSheets']()[_0x272dda(0x34b)](_0xc0dd96=>{const _0x55347f=_0x272dda;var _0x484385,_0x1d652f;_0x1f4823+=(_0x1d652f=(_0x484385=_0x8de7c[_0x55347f(0x13f)](_0x182035,_0xc0dd96[_0x55347f(0x8b)]()))==null?void 0x0:_0x484385['size'])!=null?_0x1d652f:0x0;});const _0x1b1012=(_0x661ae6=_0x2b9e24[_0x272dda(0xd1)](_0xde1950[_0x272dda(0x355)]))!=null?_0x661ae6:{},{ls:_0x11bf93,pbk:_0x26d5e4}=_0x1b1012;if(!_0x404469(_0x11bf93,_0x26d5e4))return!0x1;const _0x4c9e0a=_0x104462(_0x3c672e,_0x11bf93,_0x26d5e4)[_0x272dda(0x2b7)];if(_0x1f4823>=_0x4c9e0a)return!0x1;const _0x389395=_0x2f49cf['pivotTableId']||_0x3ed89a[_0x272dda(0x369)](0x8),_0x59b15e=(await _0x456b93[_0x272dda(0x14f)]({'unitId':_0x182035,'subUnitId':_0x4d179c,'pivotTableId':_0x389395,'params':{'type':_0x6c21f4[_0x272dda(0x7b)],'addPivotTable':{'sourceRangeInfo':_0x48c66d,'pivotTableId':_0x389395}}}))['result'][_0x272dda(0x7d)];if(!_0x59b15e)return!0x1;const {view:_0xd4b7a4,isEmpty:_0x4f4c63,fieldsConfig:_0x362dd1,collectionConfig:_0x4227a9}=_0x59b15e,_0x27d83d=[],_0x684023=[];if(_0x51de6a===_0x45e53c[_0x272dda(0x90)]){const _0x125c6b=_0x198ad7[_0x272dda(0x36d)]()[_0x272dda(0x25f)],_0x19b025=_0x2814ce['mergeWorksheetSnapshotWithDefault']({});_0x19b025['id']=_0x2c487c[_0x272dda(0x301)][_0x272dda(0x2da)],_0x19b025[_0x272dda(0xc6)]=(_0x18e95f=_0x2c487c[_0x272dda(0x301)][_0x272dda(0x2ce)])!=null?_0x18e95f:_0x198ad7[_0x272dda(0x345)](''+_0x159f89['t'](_0x272dda(0x224)));const _0x4c4e01={'index':_0x125c6b,'sheet':_0x19b025,'unitId':_0x182035},_0x565e13=_0x5cc6ba[_0x272dda(0x155)](_0x4482fa,_0x4c4e01);_0x27d83d['push']({'id':_0x5cc6ba['RemoveSheetMutation']['id'],'params':_0x565e13}),_0x684023['push']({'id':_0x5cc6ba[_0x272dda(0x26d)]['id'],'params':_0x4c4e01});}else{if(!_0x198ad7[_0x272dda(0x98)](_0x4d179c))return!0x1;const _0x25ecbb=_0x21902f(_0x4482fa,new _0x3ed89a[(_0x272dda(0x1da))](),_0x571d13,!0x0);_0x684023['push'](..._0x25ecbb[_0x272dda(0x220)]),_0x27d83d[_0x272dda(0xf8)](..._0x25ecbb['undos']);const _0x43c24a={'cellInfo':_0x571d13,'view':_0xd4b7a4,'isEmpty':_0x4f4c63};if(!await _0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x346)])[_0x272dda(0x2ee)][_0x272dda(0x360)](_0x17b1a6)(!0x0,_0x43c24a))return!0x1;const _0x51662c=_0x3d5d35(_0x4482fa,_0x43c24a);_0x684023[_0x272dda(0xf8)](..._0x51662c[_0x272dda(0x220)]),_0x27d83d[_0x272dda(0xf8)](..._0x51662c[_0x272dda(0x10f)]);}return _0x684023['push']({'id':_0x25211b['id'],'params':{'unitId':_0x571d13['unitId'],'subUnitId':_0x571d13['subUnitId'],'pivotTableId':_0x389395,'pivotTableConfig':{'targetCellInfo':_0x571d13,'sourceRangeInfo':_0x48c66d,'fieldsConfig':_0x362dd1},'collectionConfig':_0x4227a9}}),_0x27d83d[_0x272dda(0xb1)]({'id':_0x3bf3ed['id'],'params':{'unitId':_0x182035,'subUnitId':_0x4d179c,'pivotTableId':_0x389395}}),_0x2814ce[_0x272dda(0x2e8)](_0x684023,_0xb508ce)&&_0x268138[_0x272dda(0xad)]({'unitID':_0x182035,'undoMutations':_0x27d83d,'redoMutations':_0x684023}),!0x0;}},_0x458d2a={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x30b),async 'handler'(_0x56816a,_0x25653f){const _0xa81338=_0x2d3cd7;if(!_0x25653f)return!0x1;const _0x2523ee=_0x56816a[_0xa81338(0x33f)](_0x2814ce[_0xa81338(0x263)]),_0x2706ff=_0x56816a[_0xa81338(0x33f)](_0x159003[_0xa81338(0x2a7)]),_0xe4f32a=_0x56816a[_0xa81338(0x33f)](_0x2814ce[_0xa81338(0x143)]),{pivotTableId:_0x5e204b,fieldId:_0x5361b4,area:_0xf24511,index:_0x119d1d,unitId:_0x4e3171,subUnitId:_0x564117}=_0x25653f,_0x5b0b94=(await _0x2706ff['getPivotDisplayConfig']({'unitId':_0x4e3171,'subUnitId':_0x564117,'pivotTableId':_0x5e204b,'params':{'type':_0x6c21f4[_0xa81338(0x265)],'movePivotField':{'fieldId':_0x5361b4,'area':_0xf24511,'index':_0x119d1d}}}))[_0xa81338(0xa0)][_0xa81338(0x2cb)];if(!_0x5b0b94)return!0x1;const {changesets:_0x274fee,view:_0x523e44,isEmpty:_0x4c10d4,pivotTableConfig:_0x1f5861}=_0x5b0b94,_0x319443=_0x1f5861[_0xa81338(0x301)],_0x344253=new _0x3ed89a[(_0xa81338(0x1da))]();_0x344253[_0xa81338(0x18f)](_0x523e44);const _0x1269e2={'cellInfo':_0x319443,'view':_0x344253,'isEmpty':_0x4c10d4};if(!await _0x56816a[_0xa81338(0x33f)](_0x159003[_0xa81338(0x346)])['asyncInterceptor'][_0xa81338(0x360)](_0x17b1a6)(!0x0,_0x1269e2))return!0x1;const _0x336c70=_0x21902f(_0x56816a,_0x344253,_0x319443,_0x4c10d4),_0x30eb20=_0x3d5d35(_0x56816a,_0x1269e2),{redos:_0x2e5fa3,undos:_0xe1ae48}=_0x122f37(_0x2523ee,{'pivotTableId':_0x5e204b,'unitId':_0x4e3171,'subUnitId':_0x564117},_0x274fee);return _0x2814ce[_0xa81338(0x2e8)]([..._0x336c70[_0xa81338(0x220)],..._0x30eb20[_0xa81338(0x220)],..._0x2e5fa3],_0x2523ee),_0xe4f32a[_0xa81338(0xad)]({'unitID':_0x4e3171,'redoMutations':[..._0x336c70['redos'],..._0x30eb20['redos'],..._0x2e5fa3],'undoMutations':[..._0x336c70['undos'],..._0x30eb20[_0xa81338(0x10f)],..._0xe1ae48]}),!0x0;}},_0x4ea26a={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':_0x2d3cd7(0x133),async 'handler'(_0x1a6a55,_0x4284a5){const _0x930f08=_0x2d3cd7;var _0x11d017;if(!_0x4284a5)return!0x1;const _0x377d99=_0x1a6a55[_0x930f08(0x33f)](_0x2814ce[_0x930f08(0x368)]),_0x2b15aa=_0x5cc6ba[_0x930f08(0x22d)](_0x377d99);if(!_0x2b15aa)return!0x1;const {unitId:_0x3ac378,subUnitId:_0x46eaf3,workbook:_0x30d9c7}=_0x2b15aa,{row:_0x11f587,col:_0x3abeae}=_0x4284a5,_0xe937b5=_0x1a6a55[_0x930f08(0x33f)](_0x159003['SheetsPivotTableAdaptorModel']),_0x2c6dcc=_0xe937b5[_0x930f08(0x233)](_0x3ac378,_0x46eaf3,_0x11f587,_0x3abeae);if(!_0x2c6dcc)return!0x1;const _0x4b3fd8=(_0x11d017=_0xe937b5[_0x930f08(0x82)](_0x3ac378,_0x46eaf3,_0x2c6dcc))==null?void 0x0:_0x11d017[_0x930f08(0xd2)];if(!_0x4b3fd8)return!0x1;const _0x45bae5=_0x1a6a55[_0x930f08(0x33f)](_0x159003[_0x930f08(0x282)])[_0x930f08(0x2e4)](_0x3ac378,_0x46eaf3,_0x2c6dcc);if(!_0x45bae5)return!0x1;const {rowInfo:_0x327d17,colInfo:_0x1df377}=_0x4b3fd8,_0x343be0=_0x327d17[_0x11f587][_0x930f08(0x2e3)],_0x163de6=_0x1df377[_0x3abeae][_0x930f08(0x2e3)],_0x38e5d4=_0x327d17[_0x11f587][_0x930f08(0x141)],_0xe83818=_0x1df377[_0x3abeae][_0x930f08(0x141)],_0x2c6772=_0x343be0[_0x930f08(0x2f4)](_0x163de6),_0x2ef9ee=_0x45bae5[_0x930f08(0xf4)][_0x930f08(0x27a)][_0x930f08(0xde)](0x0,_0x38e5d4),_0x1542ad=_0x45bae5['fieldsConfig']['columnFields'][_0x930f08(0xde)](0x0,_0xe83818),_0x309043=_0x2ef9ee['concat'](_0x1542ad),_0x3ff5ea=_0x2c6772['map']((_0x59b65d,_0x2330f2)=>[_0x59b65d,_0x309043[_0x2330f2]]),_0x5ba05e=(await _0x1a6a55[_0x930f08(0x33f)](_0x159003['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x3ac378,'subUnitId':_0x46eaf3,'pivotTableId':_0x2c6dcc,'params':{'type':_0x6c21f4[_0x930f08(0x371)],'drillDown':{'tuple':_0x3ff5ea}}}))['result']['drillDown'];if(!_0x5ba05e)return!0x1;const {indexes:_0x4d7139,range:_0x374454,sourceUnitId:_0x5e4d39,sourceSubUnitId:_0x19ea43,formatMap:_0x2896af}=_0x5ba05e,{startRow:_0x4b70b7,endRow:_0x4f8688,startColumn:_0x2483f3,endColumn:_0x1d81bf}=_0x374454,_0x1a48f7=new _0x2814ce[(_0x930f08(0x15b))](),_0x5c0660=_0x4f8688-_0x4b70b7,_0x9bb61f=_0x1d81bf-_0x2483f3,_0x29b4c8={},_0x28dcd4=_0x5cc6ba[_0x930f08(0x22d)](_0x377d99,{'unitId':_0x5e4d39,'subUnitId':_0x19ea43});if(!_0x28dcd4)return!0x1;const _0xbe8680=_0x473100[_0x930f08(0x11b)],_0x2d6e1b=_0x473100['subTotalStyle'],_0x11476f=_0x473100[_0x930f08(0x2b1)],_0x131668=_0x30d9c7[_0x930f08(0x1d1)]()['setValue'](_0xbe8680),_0x49b967=_0x30d9c7[_0x930f08(0x1d1)]()[_0x930f08(0x381)](_0x2d6e1b),_0x57ecb1=_0x30d9c7['getStyles']()[_0x930f08(0x381)](_0x11476f),{worksheet:_0x1a543b}=_0x28dcd4;let _0x34e2af=0x0;const _0x208449=0x1;_0x4d7139[_0x930f08(0x34b)](_0x4f9e01=>{const _0xba9536=_0x930f08;for(let _0x54d5f9=0x0;_0x54d5f9<=_0x1d81bf-_0x2483f3;_0x54d5f9++)_0x1a48f7[_0xba9536(0x381)](_0x34e2af,_0x54d5f9,_0x1a543b[_0xba9536(0x2c4)](_0x4f9e01+_0x374454['startRow']+_0x208449,_0x54d5f9));_0x34e2af++;});for(let _0x4dfb18=_0x2483f3;_0x4dfb18<=_0x1d81bf;_0x4dfb18++){const _0x5a9086=_0x1a543b[_0x930f08(0x2c4)](_0x4b70b7,_0x4dfb18);_0x29b4c8[_0x4b70b7]||(_0x29b4c8[_0x4b70b7]={}),_0x29b4c8[_0x4b70b7][_0x4dfb18]={..._0x5a9086,'s':_0x131668};}let _0xa64607=0x1;const _0x88dc43={},_0x7df133={};_0x1a48f7['forRow']((_0x213ba1,_0x16ac94)=>{const _0x4218aa=_0x930f08;_0x16ac94[_0x4218aa(0x34b)](_0x165f61=>{const _0x1cb907=_0x4218aa,_0x4c14dd=_0x1a48f7['getValue'](_0x213ba1,_0x165f61);if(_0x29b4c8[_0xa64607]||(_0x29b4c8[_0xa64607]={}),_0x29b4c8[_0xa64607][_0x165f61]={..._0x4c14dd,'s':_0xa64607%0x2===0x0?_0x57ecb1:_0x49b967},_0x2896af[_0x165f61]&&_0x213ba1>=0x0){const _0x53d439=_0xa64607%0x2===0x0;let _0x1ecfc2=_0x53d439?_0x7df133[_0x165f61]:_0x88dc43[_0x165f61];_0x1ecfc2||(_0x1ecfc2=_0x30d9c7[_0x1cb907(0x1d1)]()['setValue']({..._0x53d439?_0x11476f:_0x2d6e1b,'n':{'pattern':_0x2896af[_0x165f61]}}),_0x53d439?_0x7df133[_0x165f61]=_0x1ecfc2:_0x88dc43[_0x165f61]=_0x1ecfc2),_0x29b4c8[_0xa64607][_0x165f61]['s']=_0x1ecfc2;}}),_0xa64607++;});const _0x23f14d=new _0x2814ce[(_0x930f08(0x15b))](_0x29b4c8),_0x211a5c={};_0x23f14d[_0x930f08(0x2d5)]((_0x24b10f,_0x19d409,_0xa58563)=>{_0x211a5c[_0x24b10f]||(_0x211a5c[_0x24b10f]={}),_0x211a5c[_0x24b10f][_0x19d409]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x25255e=[],_0x7994dc=[],_0x783053=_0x30d9c7[_0x930f08(0x36d)]()['length'],_0x3831d5=_0x2814ce[_0x930f08(0x12b)]({'rowCount':Math[_0x930f08(0x2bf)](_0x2814ce[_0x930f08(0xc7)],_0x5c0660+0xa),'columnCount':Math[_0x930f08(0x2bf)](_0x2814ce[_0x930f08(0x2a5)],_0x9bb61f+0x5)}),_0x576acb=_0x1a6a55[_0x930f08(0x33f)](_0x2814ce['LocaleService']);_0x3831d5['id']=_0x2814ce[_0x930f08(0x24e)](),_0x3831d5[_0x930f08(0xc6)]=_0x30d9c7['generateNewSheetName'](''+_0x576acb['t']('sheets.tabs.sheet'));const _0x16035f={'index':_0x783053,'sheet':_0x3831d5,'unitId':_0x3ac378},_0x5209a7=_0x5cc6ba[_0x930f08(0x155)](_0x1a6a55,_0x16035f);_0x7994dc[_0x930f08(0xf8)]({'id':_0x5cc6ba[_0x930f08(0x26d)]['id'],'params':_0x16035f}),_0x25255e[_0x930f08(0xf8)]({'id':_0x5cc6ba['RemoveSheetMutation']['id'],'params':_0x5209a7}),_0x7994dc['push']({'id':_0x5cc6ba[_0x930f08(0x1a7)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'cellValue':_0x29b4c8}}),_0x25255e[_0x930f08(0xb1)]({'id':_0x5cc6ba[_0x930f08(0x1a7)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'cellValue':_0x211a5c}});const _0x5db833={'startRow':0x0,'startColumn':0x0,'endRow':_0xa64607-0x1,'endColumn':_0x1d81bf};_0x7994dc[_0x930f08(0xf8)]({'id':_0x184d1f[_0x930f08(0x240)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'range':_0x5db833}}),_0x25255e['unshift']({'id':_0x184d1f[_0x930f08(0x1f3)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id']}});const _0x47dbfb=_0x1a6a55['get'](_0x2814ce[_0x930f08(0x263)]);return _0x2814ce[_0x930f08(0x2e8)](_0x7994dc,_0x47dbfb)&&_0x1a6a55[_0x930f08(0x33f)](_0x2814ce[_0x930f08(0x143)])[_0x930f08(0xad)]({'unitID':_0x3ac378,'undoMutations':_0x25255e,'redoMutations':_0x7994dc}),!0x0;}},_0x1053de={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x1ce),async 'handler'(_0x2391b8,_0x26a497){const _0x445f06=_0x2d3cd7;if(!_0x26a497)return!0x1;const _0x3566f1=_0x2391b8[_0x445f06(0x33f)](_0x2814ce[_0x445f06(0x263)]),_0x364d47=_0x2391b8[_0x445f06(0x33f)](_0x159003[_0x445f06(0x2a7)]),_0xf93cee=_0x2391b8[_0x445f06(0x33f)](_0x2814ce['IUndoRedoService']),{pivotTableId:_0x17c570,fieldIds:_0x10edf3,unitId:_0x158e10,subUnitId:_0x77eb6e}=_0x26a497,_0x3e1bc3=(await _0x364d47[_0x445f06(0x14f)]({'unitId':_0x158e10,'subUnitId':_0x77eb6e,'pivotTableId':_0x17c570,'params':{'type':_0x6c21f4[_0x445f06(0x1f1)],'removePivotField':{'fieldIds':_0x10edf3}}}))['result'][_0x445f06(0xc9)];if(!_0x3e1bc3)return!0x1;const {view:_0x6f730,changesets:_0x829f13,isEmpty:_0x5c0c9e,pivotTableConfig:_0x24d697}=_0x3e1bc3,_0x6f9f59=_0x24d697['targetCellInfo'],_0x474d18=new _0x3ed89a[(_0x445f06(0x1da))]();_0x474d18['formJSON'](_0x6f730);const _0x3daa2f={'cellInfo':_0x6f9f59,'view':_0x474d18,'isEmpty':_0x5c0c9e};if(!await _0x2391b8['get'](_0x159003[_0x445f06(0x346)])[_0x445f06(0x2ee)][_0x445f06(0x360)](_0x17b1a6)(!0x0,_0x3daa2f))return!0x1;const _0x1d7269=_0x21902f(_0x2391b8,_0x474d18,_0x6f9f59,_0x5c0c9e),_0x553394=_0x3d5d35(_0x2391b8,_0x3daa2f),{redos:_0x4b9bb1,undos:_0x291165}=_0x122f37(_0x3566f1,{'pivotTableId':_0x17c570,'unitId':_0x158e10,'subUnitId':_0x77eb6e},_0x829f13);return _0x2814ce[_0x445f06(0x2e8)]([..._0x1d7269[_0x445f06(0x220)],..._0x553394[_0x445f06(0x220)],..._0x4b9bb1],_0x3566f1),_0xf93cee[_0x445f06(0xad)]({'unitID':_0x158e10,'redoMutations':[..._0x1d7269[_0x445f06(0x220)],..._0x553394['redos'],..._0x4b9bb1],'undoMutations':[..._0x1d7269[_0x445f06(0x10f)],..._0x553394[_0x445f06(0x10f)],..._0x291165]}),!0x0;}},_0x22bc39={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x223),async 'handler'(_0x54615c,_0x2fdcf9){const _0x254409=_0x2d3cd7;var _0x5905b7;const _0x393d27=_0x54615c['get'](_0x2814ce['ICommandService']),_0x1d40a1=_0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x2a7)]),_0x4a1755=_0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x379)]),_0x37c3a2=_0x54615c['get'](_0x2814ce[_0x254409(0x368)]),_0x30aa37=_0x54615c[_0x254409(0x33f)](_0x2814ce[_0x254409(0x143)]);if(!_0x2fdcf9)return!0x1;const {unitId:_0x55e710,subUnitId:_0x31ff02,row:_0x12af8a,col:_0x3efaab,collapse:_0x105fd6}=_0x2fdcf9,_0x8d649b=_0x37c3a2[_0x254409(0x94)](_0x55e710);if(!_0x8d649b||!_0x8d649b[_0x254409(0x98)](_0x31ff02))return!0x1;const _0x538c66=_0x4a1755['getPivotTableIdByCell'](_0x55e710,_0x31ff02,_0x12af8a,_0x3efaab);if(!_0x538c66)return!0x1;const _0x1d9057=_0x4a1755[_0x254409(0x82)](_0x55e710,_0x31ff02,_0x538c66);if(!_0x1d9057)return!0x1;const _0x49e84a=_0x2814ce[_0x254409(0x30d)](_0x12af8a,_0x3efaab),{rangesInfo:_0x274c34,areaInfo:_0x30d228,headerMap:_0xda1cf5}=_0x1d9057;if(!_0x274c34||!_0x30d228||!_0xda1cf5)return!0x1;const _0x1aeb4a=Object['keys'](_0x274c34)[_0x254409(0x217)](_0x487746=>_0x274c34[_0x487746]['some'](_0x283fd3=>_0x2814ce[_0x254409(0x2f1)]['contains'](_0x283fd3,_0x49e84a)));let _0x4a1055;_0x1aeb4a===_0x254409(0x270)?_0x4a1055=_0xda1cf5[_0x254409(0x202)][_0x3efaab]:_0x1aeb4a===_0x254409(0x366)&&(_0x4a1055=_0xda1cf5[_0x254409(0x2ae)][_0x12af8a]);const _0x193664=_0x4a1055==null?void 0x0:_0x4a1055[_0x254409(0xb2)],_0x572cf8=(_0x5905b7=_0x4a1755[_0x254409(0x271)](_0x55e710,_0x31ff02,_0x12af8a,_0x3efaab))==null?void 0x0:_0x5905b7['v'];if(_0x572cf8==null||!_0x538c66||!_0x193664)return!0x1;const _0x2e69af=await _0x1d40a1['getPivotDisplayConfig']({'unitId':_0x55e710,'subUnitId':_0x31ff02,'pivotTableId':_0x538c66,'params':{'type':_0x6c21f4[_0x254409(0x29d)],'setPivotCollapse':{'tableFieldId':_0x193664,'collapse':_0x105fd6,'item':_0x572cf8}}}),_0x465a5e=_0x2e69af==null?void 0x0:_0x2e69af[_0x254409(0xa0)][_0x254409(0x2ca)];if(!_0x465a5e)return!0x1;const {view:_0x3ded7a,pivotTableConfig:_0x2f8146,isEmpty:_0x40c146,changesets:_0x245d31}=_0x465a5e,_0x370d6f=new _0x3ed89a[(_0x254409(0x1da))]();_0x370d6f['formJSON'](_0x3ded7a);const _0x5493bd=_0x2f8146[_0x254409(0x301)],_0x2f4ddf={'cellInfo':_0x5493bd,'view':_0x370d6f,'isEmpty':_0x40c146};if(!await _0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x346)])['asyncInterceptor'][_0x254409(0x360)](_0x17b1a6)(!0x0,_0x2f4ddf))return!0x1;const _0x51e03b=_0x21902f(_0x54615c,_0x370d6f,_0x5493bd,_0x40c146),_0x407abe=_0x3d5d35(_0x54615c,_0x2f4ddf),{redos:_0x2b831c,undos:_0x51a745}=_0x122f37(_0x393d27,{'pivotTableId':_0x538c66,'unitId':_0x55e710,'subUnitId':_0x31ff02},_0x245d31);return _0x2814ce[_0x254409(0x2e8)]([..._0x51e03b[_0x254409(0x220)],..._0x407abe[_0x254409(0x220)],..._0x2b831c],_0x393d27),_0x30aa37[_0x254409(0xad)]({'unitID':_0x55e710,'redoMutations':[..._0x51e03b['redos'],..._0x407abe[_0x254409(0x220)],..._0x2b831c],'undoMutations':[..._0x51e03b[_0x254409(0x10f)],..._0x407abe[_0x254409(0x10f)],..._0x51a745]}),!0x0;}},_0x2f2cf4={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x30c),async 'handler'(_0x535aac,_0x28cba9){const _0x4b3e1f=_0x2d3cd7;if(!_0x28cba9)return!0x1;const _0x4d17e1=_0x535aac[_0x4b3e1f(0x33f)](_0x2814ce[_0x4b3e1f(0x263)]),{pivotTableId:_0x5355cb,tableFieldId:_0x1e9b4b,items:_0x2b2aed,unitId:_0x1562f7,subUnitId:_0x278944,isAll:_0x2e6867}=_0x28cba9,_0x230a6d=_0x535aac[_0x4b3e1f(0x33f)](_0x159003[_0x4b3e1f(0x2a7)]),_0x2b0045=_0x535aac[_0x4b3e1f(0x33f)](_0x2814ce[_0x4b3e1f(0x143)]),_0x4c1673=(await _0x230a6d['getPivotDisplayConfig']({'unitId':_0x1562f7,'subUnitId':_0x278944,'pivotTableId':_0x5355cb,'params':{'type':_0x6c21f4['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x1e9b4b,'items':_0x2b2aed,'isAll':_0x2e6867}}}))[_0x4b3e1f(0xa0)]['setPivotFilter'];if(!_0x4c1673)return!0x1;const {changesets:_0x235458,pivotTableConfig:_0x4f0410,isEmpty:_0x5c034e,view:_0x47a3ae}=_0x4c1673,_0x56d58b=_0x4f0410['targetCellInfo'],_0x342a53=new _0x3ed89a[(_0x4b3e1f(0x1da))]();_0x342a53[_0x4b3e1f(0x18f)](_0x47a3ae);const _0x5c067b={'cellInfo':_0x56d58b,'view':_0x342a53,'isEmpty':_0x5c034e};if(!await _0x535aac['get'](_0x159003[_0x4b3e1f(0x346)])[_0x4b3e1f(0x2ee)][_0x4b3e1f(0x360)](_0x17b1a6)(!0x0,_0x5c067b))return!0x1;const _0x11621f=_0x21902f(_0x535aac,_0x342a53,_0x56d58b,_0x5c034e),_0x501da7=_0x3d5d35(_0x535aac,_0x5c067b),{undos:_0x15265f,redos:_0x27aa66}=_0x122f37(_0x4d17e1,{'pivotTableId':_0x5355cb,'unitId':_0x1562f7,'subUnitId':_0x278944},_0x235458);return _0x2814ce[_0x4b3e1f(0x2e8)]([..._0x11621f[_0x4b3e1f(0x220)],..._0x501da7[_0x4b3e1f(0x220)],..._0x27aa66],_0x4d17e1),_0x2b0045[_0x4b3e1f(0xad)]({'unitID':_0x1562f7,'redoMutations':[..._0x11621f[_0x4b3e1f(0x220)],..._0x501da7['redos'],..._0x27aa66],'undoMutations':[..._0x11621f[_0x4b3e1f(0x10f)],..._0x501da7[_0x4b3e1f(0x10f)],..._0x15265f]}),!0x0;}},_0x23cd38={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':_0x2d3cd7(0x31b),async 'handler'(_0x29ca13,_0x5b6307){const _0x469f02=_0x2d3cd7;if(!_0x5b6307)return!0x1;const _0x5014b8=_0x29ca13['get'](_0x2814ce[_0x469f02(0x263)]),_0x562715=_0x29ca13[_0x469f02(0x33f)](_0x2814ce[_0x469f02(0x143)]),_0x50beb2=_0x29ca13[_0x469f02(0x33f)](_0x159003[_0x469f02(0x2a7)]),{info:_0x3ea3c6,tableFieldId:_0x36245e,pivotTableId:_0x2ee9b6,unitId:_0x4f873a,subUnitId:_0x21da16}=_0x5b6307,_0x1592c6=(await _0x50beb2['getPivotDisplayConfig']({'unitId':_0x4f873a,'subUnitId':_0x21da16,'pivotTableId':_0x2ee9b6,'params':{'type':_0x6c21f4[_0x469f02(0x357)],'setPivotSort':{'tableFieldId':_0x36245e,'info':_0x3ea3c6}}}))['result'][_0x469f02(0x25d)];if(!_0x1592c6)return!0x1;const {changesets:_0x1b1746}=_0x1592c6,{redos:_0x163f66,undos:_0x51c262}=_0x122f37(_0x5014b8,{'pivotTableId':_0x2ee9b6,'unitId':_0x4f873a,'subUnitId':_0x21da16},_0x1b1746);return _0x2814ce[_0x469f02(0x2e8)](_0x163f66,_0x5014b8),_0x562715[_0x469f02(0xad)]({'unitID':_0x4f873a,'redoMutations':_0x163f66,'undoMutations':_0x51c262}),!0x0;}},_0x2228f4={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xf9),async 'handler'(_0x1a0619,_0x39d09d){const _0x3902d7=_0x2d3cd7;if(!_0x39d09d)return!0x1;const _0x2444a8=_0x1a0619[_0x3902d7(0x33f)](_0x2814ce[_0x3902d7(0x263)]),_0x4a609a=_0x1a0619[_0x3902d7(0x33f)](_0x2814ce[_0x3902d7(0x143)]),_0x2390a2=_0x1a0619[_0x3902d7(0x33f)](_0x159003[_0x3902d7(0x2a7)]),{displayName:_0x5b2766,subtotalType:_0x5cd7b2,format:_0x388128,tableFieldId:_0x147671,pivotTableId:_0x8d01b7,unitId:_0x28d64c,subUnitId:_0x4836f9}=_0x39d09d,_0x2f12a7=(await _0x2390a2[_0x3902d7(0x14f)]({'unitId':_0x28d64c,'subUnitId':_0x4836f9,'pivotTableId':_0x8d01b7,'params':{'type':_0x6c21f4[_0x3902d7(0x12c)],'setPivotSetting':{'tableFieldId':_0x147671,'displayName':_0x5b2766,'subtotalType':_0x5cd7b2,'format':_0x388128}}}))['result']['setPivotSetting'];if(!_0x2f12a7)return!0x1;const {changesets:_0x32da84,view:_0x5c02b6,pivotTableConfig:_0x4cb630,isEmpty:_0x4a4b5b}=_0x2f12a7,_0x4efbab=_0x4cb630[_0x3902d7(0x301)],_0xee2bfa=new _0x3ed89a[(_0x3902d7(0x1da))]();_0xee2bfa[_0x3902d7(0x18f)](_0x5c02b6);const _0x1e1359={'cellInfo':_0x4efbab,'view':_0xee2bfa,'isEmpty':_0x4a4b5b};if(!await _0x1a0619[_0x3902d7(0x33f)](_0x159003[_0x3902d7(0x346)])[_0x3902d7(0x2ee)][_0x3902d7(0x360)](_0x17b1a6)(!0x0,_0x1e1359))return!0x1;const _0x22db72=_0x21902f(_0x1a0619,_0xee2bfa,_0x4efbab,_0x4a4b5b),_0x327e8d=_0x3d5d35(_0x1a0619,_0x1e1359),{undos:_0x20157d,redos:_0x2e3449}=_0x122f37(_0x2444a8,{'pivotTableId':_0x8d01b7,'unitId':_0x28d64c,'subUnitId':_0x4836f9},_0x32da84);return _0x2814ce['sequenceExecute']([..._0x22db72['redos'],..._0x327e8d['redos'],..._0x2e3449],_0x2444a8),_0x4a609a[_0x3902d7(0xad)]({'unitID':_0x28d64c,'redoMutations':[..._0x22db72['redos'],..._0x327e8d['redos'],..._0x2e3449],'undoMutations':[..._0x22db72[_0x3902d7(0x10f)],..._0x327e8d[_0x3902d7(0x10f)],..._0x20157d]}),!0x0;}},_0x417b20={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5b9994,_0x2942d3){const _0x3995a8=_0x2d3cd7,_0x2bc58b=_0x5b9994[_0x3995a8(0x33f)](_0x2814ce[_0x3995a8(0x263)]),_0x1ba04f=_0x5b9994[_0x3995a8(0x33f)](_0x159003['SheetsPivotRPCService']),_0x243b47=_0x5b9994['get'](_0x2814ce[_0x3995a8(0x143)]);if(!_0x2942d3)return!0x1;const {token:_0x309417,dataRangeInfo:_0x79b2c0,unitId:_0x593483,subUnitId:_0x51a77e}=_0x2942d3,_0x20616a=[],_0xcf9934=[],_0x333664=(await _0x1ba04f[_0x3995a8(0x14f)]({'unitId':_0x593483,'subUnitId':_0x51a77e,'pivotTableId':_0x309417,'params':{'type':_0x6c21f4[_0x3995a8(0xff)],'updatePivotSource':{'dataRangeInfo':_0x79b2c0,'unitId':_0x593483,'subUnitId':_0x51a77e}}}))[_0x3995a8(0xa0)][_0x3995a8(0xe8)];if(!_0x333664)return!0x1;const {changesets:_0x59a219,deleteIds:_0x31d4f8,collectionConfig:_0x39d6dc,oldCollectionConfig:_0x3ddba6,view:_0x596c31,isEmpty:_0x3badd2,pivotTableConfig:_0x147282}=_0x333664;_0xcf9934[_0x3995a8(0xf8)]({'id':_0x574367['id'],'params':{'pivotTableId':_0x309417,'deleteIds':_0x31d4f8,'collectionJSON':_0x39d6dc,'dataRangeInfo':_0x79b2c0,'unitId':_0x593483,'subUnitId':_0x51a77e}}),_0x20616a[_0x3995a8(0xb1)]({'id':_0x574367['id'],'params':{'pivotTableId':_0x309417,'deleteIds':[],'collectionJSON':_0x3ddba6,'dataRangeInfo':_0x147282[_0x3995a8(0x281)],'unitId':_0x593483,'subUnitId':_0x51a77e}});const _0x24d745=_0x147282[_0x3995a8(0x301)],_0x2e83d5=new _0x3ed89a[(_0x3995a8(0x1da))]();_0x2e83d5['formJSON'](_0x596c31);const _0xb83893={'cellInfo':_0x24d745,'view':_0x2e83d5,'isEmpty':_0x3badd2};if(!await _0x5b9994[_0x3995a8(0x33f)](_0x159003['SheetsPivotTableService'])[_0x3995a8(0x2ee)]['fetchThroughAsyncInterceptors'](_0x17b1a6)(!0x0,_0xb83893))return!0x1;const _0x5d7ea9=_0x21902f(_0x5b9994,_0x2e83d5,_0x24d745,_0x3badd2),_0x4b92e1=_0x3d5d35(_0x5b9994,_0xb83893),{undos:_0x54b8a3,redos:_0x5de06d}=_0x122f37(_0x2bc58b,{'pivotTableId':_0x309417,'unitId':_0x593483,'subUnitId':_0x51a77e},_0x59a219);return _0x2814ce[_0x3995a8(0x2e8)]([..._0x5d7ea9[_0x3995a8(0x220)],..._0x4b92e1['redos'],..._0xcf9934,..._0x54b8a3],_0x2bc58b),_0x243b47[_0x3995a8(0xad)]({'unitID':_0x593483,'redoMutations':[..._0x5d7ea9[_0x3995a8(0x220)],..._0x4b92e1[_0x3995a8(0x220)],..._0xcf9934,..._0x54b8a3],'undoMutations':[..._0x5d7ea9[_0x3995a8(0x10f)],..._0x4b92e1[_0x3995a8(0x10f)],..._0x20616a,..._0x5de06d]}),!0x0;}},_0xe3d45c={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x215),async 'handler'(_0x54faad,_0x1d5fc2){const _0x59028d=_0x2d3cd7;if(!_0x1d5fc2)return!0x1;const _0x410411=_0x54faad['get'](_0x2814ce[_0x59028d(0x263)]),_0x50138e=_0x54faad[_0x59028d(0x33f)](_0x159003['SheetsPivotRPCService']),_0x3432f6=_0x54faad[_0x59028d(0x33f)](_0x2814ce[_0x59028d(0x368)]),_0x53679e=_0x54faad['get'](_0x2814ce['IUndoRedoService']),{pivotTableId:_0x2015e8,position:_0x4efa0d,index:_0x169582}=_0x1d5fc2,_0x28a23b=_0x5cc6ba['getSheetCommandTarget'](_0x3432f6);if(!_0x28a23b)return!0x1;const {unitId:_0x43e00d,subUnitId:_0x1824bb}=_0x28a23b,_0x43450f=(await _0x50138e[_0x59028d(0x14f)]({'unitId':_0x43e00d,'subUnitId':_0x1824bb,'pivotTableId':_0x2015e8,'params':{'type':_0x6c21f4['UpdateValuePosition'],'updateValuePosition':{'position':_0x4efa0d,'index':_0x169582}}}))[_0x59028d(0xa0)][_0x59028d(0xfc)];if(!_0x43450f)return!0x1;const {changesets:_0xce9b9b,view:_0x5d879d,isEmpty:_0x41df8e,pivotTableConfig:_0x3d48c8}=_0x43450f,_0x3832ff=_0x3d48c8['targetCellInfo'],_0x440713=new _0x3ed89a[(_0x59028d(0x1da))]();_0x440713[_0x59028d(0x18f)](_0x5d879d);const _0x5f173d=_0x54faad['get'](_0x159003[_0x59028d(0x346)]),_0x71c6c0={'cellInfo':_0x3832ff,'view':_0x440713,'isEmpty':_0x41df8e};if(!await _0x5f173d['asyncInterceptor'][_0x59028d(0x360)](_0x17b1a6)(!0x0,_0x71c6c0))return!0x1;const _0x13383c=_0x21902f(_0x54faad,_0x440713,_0x3832ff,_0x41df8e),_0x128249=_0x3d5d35(_0x54faad,_0x71c6c0),{undos:_0x1541b7,redos:_0x149f4a}=_0x122f37(_0x410411,{'pivotTableId':_0x2015e8,'unitId':_0x43e00d,'subUnitId':_0x1824bb},_0xce9b9b);return _0x2814ce[_0x59028d(0x2e8)]([..._0x13383c[_0x59028d(0x220)],..._0x128249[_0x59028d(0x220)],..._0x149f4a],_0x410411),_0x53679e[_0x59028d(0xad)]({'unitID':_0x43e00d,'redoMutations':[..._0x13383c[_0x59028d(0x220)],..._0x128249[_0x59028d(0x220)],..._0x149f4a],'undoMutations':[..._0x13383c[_0x59028d(0x10f)],..._0x128249[_0x59028d(0x10f)],..._0x1541b7]}),!0x0;}},_0x363f51={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':'sheet.command.move-pivot-table','handler':(_0x2104f9,_0x3e0afa)=>{const _0x2ff602=_0x2d3cd7,_0x49395d=_0x2104f9['get'](_0x2814ce[_0x2ff602(0x263)]),_0x3ae82e=_0x2104f9[_0x2ff602(0x33f)](_0x2814ce[_0x2ff602(0x143)]),_0x17184c=_0x2104f9[_0x2ff602(0x33f)](_0x159003['SheetsPivotTableConfigModel']),_0x3f4091=_0x2104f9[_0x2ff602(0x33f)](_0x2814ce[_0x2ff602(0x368)]);if(!_0x3e0afa)return!0x1;const _0x490900=_0x5cc6ba[_0x2ff602(0x22d)](_0x3f4091);if(!_0x490900)return!0x1;const {unitId:_0x1c153e,subUnitId:_0x1d1f8a,workbook:_0x16ccb4}=_0x490900,_0x212c8a=_0x17184c[_0x2ff602(0x2e4)](_0x3e0afa[_0x2ff602(0x28c)][_0x2ff602(0x19c)],_0x3e0afa[_0x2ff602(0x28c)][_0x2ff602(0x2da)],_0x3e0afa[_0x2ff602(0x311)]);if(!_0x212c8a)return!0x1;const _0x5c72e7=_0x16ccb4[_0x2ff602(0x98)](_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x2da)]);if(!_0x5c72e7)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0xaf4fda=_0x5c72e7[_0x2ff602(0x1f0)](),_0x2dd780=_0x5c72e7['getColumnCount']();if(_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x363)]>_0xaf4fda||_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x117)]>_0x2dd780)throw new Error(_0x2ff602(0x164));const _0x1e32e7=[{'id':_0x530b7f['id'],'params':{'unitId':_0x1c153e,'subUnitId':_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x2da)],'pivotTableId':_0x3e0afa[_0x2ff602(0x311)],'targetCellPosition':{'row':_0x3e0afa['targetCellInfo']['row'],'col':_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x117)]}}}],_0x10ac53=[{'id':_0x530b7f['id'],'params':{'unitId':_0x1c153e,'subUnitId':_0x1d1f8a,'pivotTableId':_0x3e0afa['pivotTableId'],'targetCellPosition':{'row':_0x212c8a[_0x2ff602(0x301)][_0x2ff602(0x363)],'col':_0x212c8a[_0x2ff602(0x301)][_0x2ff602(0x117)]}}}];return _0x2814ce['sequenceExecute'](_0x1e32e7,_0x49395d)&&_0x3ae82e[_0x2ff602(0xad)]({'unitID':_0x1c153e,'undoMutations':_0x10ac53,'redoMutations':_0x1e32e7}),!0x0;}},_0x24d4f9={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x1a0),async 'handler'(_0x17e83b,_0x5bb6cd){const _0x216907=_0x2d3cd7;if(!_0x5bb6cd)return!0x1;const _0x28a749=_0x17e83b[_0x216907(0x33f)](_0x2814ce[_0x216907(0x263)]),{pivotTableId:_0x48d0cc,fieldId:_0x5f303e,valueFilterInfo:_0x479d32,unitId:_0xc22a3a,subUnitId:_0x1ea4c9}=_0x5bb6cd,_0x2dc6aa=_0x17e83b[_0x216907(0x33f)](_0x159003['SheetsPivotRPCService']),_0x18c47e=_0x17e83b['get'](_0x2814ce[_0x216907(0x143)]),_0x2d9eb4=(await _0x2dc6aa[_0x216907(0x14f)]({'unitId':_0xc22a3a,'subUnitId':_0x1ea4c9,'pivotTableId':_0x48d0cc,'params':{'type':_0x6c21f4[_0x216907(0x18d)],'setValuePivotFilter':{'tableFieldId':_0x5f303e,'filterInfo':_0x479d32}}}))[_0x216907(0xa0)][_0x216907(0x2af)];if(!_0x2d9eb4)return!0x1;const {changesets:_0x7ac95,pivotTableConfig:_0x4886ae,isEmpty:_0x34949d,view:_0x45cee7}=_0x2d9eb4,_0x4a9f0f=_0x4886ae['targetCellInfo'],_0x426f3d=new _0x3ed89a['PivotView']();_0x426f3d[_0x216907(0x18f)](_0x45cee7);const _0x59e3c0={'cellInfo':_0x4a9f0f,'view':_0x426f3d,'isEmpty':_0x34949d};if(!await _0x17e83b[_0x216907(0x33f)](_0x159003[_0x216907(0x346)])[_0x216907(0x2ee)][_0x216907(0x360)](_0x17b1a6)(!0x0,_0x59e3c0))return!0x1;const _0x2a3e7b=_0x21902f(_0x17e83b,_0x426f3d,_0x4a9f0f,_0x34949d),_0x1b8458=_0x3d5d35(_0x17e83b,_0x59e3c0),{undos:_0x712b3e,redos:_0x179579}=_0x122f37(_0x28a749,{'pivotTableId':_0x48d0cc,'unitId':_0xc22a3a,'subUnitId':_0x1ea4c9},_0x7ac95);return _0x2814ce[_0x216907(0x2e8)]([..._0x2a3e7b[_0x216907(0x220)],..._0x1b8458[_0x216907(0x220)],..._0x179579],_0x28a749),_0x18c47e[_0x216907(0xad)]({'unitID':_0xc22a3a,'redoMutations':[..._0x2a3e7b[_0x216907(0x220)],..._0x1b8458[_0x216907(0x220)],..._0x179579],'undoMutations':[..._0x2a3e7b[_0x216907(0x10f)],..._0x1b8458[_0x216907(0x10f)],..._0x712b3e]}),!0x0;}},_0x514954={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xf7),async 'handler'(_0x592e6b,_0x3f2534){const _0x5a8d8f=_0x2d3cd7;if(!_0x3f2534)return!0x1;const _0x3b0747=_0x592e6b[_0x5a8d8f(0x33f)](_0x2814ce['ICommandService']),_0x4b18da=_0x592e6b['get'](_0x2814ce['IUndoRedoService']),_0x14f1a3=_0x592e6b['get'](_0x159003['SheetsPivotRPCService']),{pivotTableConfig:_0x507175,pivotTableId:_0x5c03e0,unitId:_0x2a86f8,subUnitId:_0x45a6dc}=_0x3f2534,_0x782dee=(await _0x14f1a3[_0x5a8d8f(0x14f)]({'unitId':_0x2a86f8,'subUnitId':_0x45a6dc,'pivotTableId':_0x5c03e0,'params':{'type':_0x6c21f4[_0x5a8d8f(0x123)],'setPivotTableConfig':{'pivotTableId':_0x5c03e0,'pivotTableConfig':_0x507175}}}))['result'][_0x5a8d8f(0x17a)];if(!_0x782dee)return!0x1;const {changesets:_0x3cc7a8}=_0x782dee,{redos:_0x26959f,undos:_0x59691e}=_0x122f37(_0x3b0747,{'pivotTableId':_0x5c03e0,'unitId':_0x2a86f8,'subUnitId':_0x45a6dc},_0x3cc7a8);return _0x2814ce[_0x5a8d8f(0x2e8)](_0x26959f,_0x3b0747),_0x4b18da[_0x5a8d8f(0xad)]({'unitID':_0x2a86f8,'redoMutations':_0x26959f,'undoMutations':_0x59691e}),!0x0;}},_0x59b4c1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xdd),async 'handler'(_0x3f3eee,_0x39d5ea){const _0x290a40=_0x2d3cd7;if(!_0x39d5ea)return!0x1;const _0x327047=_0x3f3eee[_0x290a40(0x33f)](_0x2814ce[_0x290a40(0x263)]),_0x2b891b=_0x3f3eee[_0x290a40(0x33f)](_0x2814ce[_0x290a40(0x143)]),_0x401984=_0x3f3eee[_0x290a40(0x33f)](_0x159003[_0x290a40(0x2a7)]),{resetArea:_0x540e54,pivotTableId:_0x412575,unitId:_0x1d21bf,subUnitId:_0x292b77}=_0x39d5ea,_0x4f2bda=(await _0x401984[_0x290a40(0x14f)]({'unitId':_0x1d21bf,'subUnitId':_0x292b77,'pivotTableId':_0x412575,'params':{'type':_0x6c21f4[_0x290a40(0x204)],'resetPivotTable':{'pivotTableId':_0x412575,'resetArea':_0x540e54}}}))[_0x290a40(0xa0)][_0x290a40(0x225)];if(!_0x4f2bda)return!0x1;const {changesets:_0x14baea}=_0x4f2bda,{redos:_0x3bee4b,undos:_0x14cdec}=_0x122f37(_0x327047,{'pivotTableId':_0x412575,'unitId':_0x1d21bf,'subUnitId':_0x292b77},_0x14baea);return _0x2814ce['sequenceExecute'](_0x3bee4b,_0x327047),_0x2b891b[_0x290a40(0xad)]({'unitID':_0x1d21bf,'redoMutations':_0x3bee4b,'undoMutations':_0x14cdec}),!0x0;}},_0x38408b={'id':'sheet.mutation.update-date-group','type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'handler':(_0x4eceae,_0x3dd4d7)=>{const _0x27f455=_0x2d3cd7;if(!_0x3dd4d7)return!0x1;if(!!_0x4eceae['get'](_0x2814ce[_0x27f455(0xca)])[_0x27f455(0xd1)](_0x3fcf75))return!0x0;const {unitId:_0xf5bf8c,subUnitId:_0x2cd206,pivotTableId:_0x51b849,tableFieldId:_0x33f12c,dateType:_0x4e9b5a}=_0x3dd4d7,_0x6dbe17=_0x4eceae[_0x27f455(0x33f)](_0x159003[_0x27f455(0x187)]),_0x1bf4bf=_0x6dbe17['getPivotTableInstance'](_0x51b849);if(!_0x1bf4bf)return!0x1;const _0x41e8d6=_0x1bf4bf[_0x27f455(0x104)](_0x33f12c);if(!_0x41e8d6)return!0x1;const _0x2b3418=_0x41e8d6[_0x27f455(0x1fd)](),_0x4ce4b8=_0x1bf4bf['getDataFieldByDataFieldId'](_0x2b3418),_0x1e8073=(_0x4ce4b8==null?void 0x0:_0x4ce4b8['getName']())+'\x20'+_0x3996df(_0x4eceae,_0x4e9b5a);_0x6dbe17[_0x27f455(0x2bb)](_0xf5bf8c,_0x51b849)[_0x27f455(0x11a)](_0x41e8d6['id'],_0x1e8073);const _0x53603a=_0x1bf4bf[_0x27f455(0xda)](_0x33f12c);if(!_0x53603a)return!0x1;_0x1bf4bf[_0x27f455(0x273)](_0x53603a['getId'](),_0x1e8073),_0x41e8d6[_0x27f455(0x219)](_0x4e9b5a);const _0x425d78=_0x6dbe17[_0x27f455(0x2e4)](_0xf5bf8c,_0x2cd206,_0x51b849);return _0x6dbe17[_0x27f455(0x2aa)]({'unitId':_0xf5bf8c,'subUnitId':_0x2cd206,'token':_0x51b849,'type':_0x2229c0[_0x27f455(0xae)],'pivotConfig':_0x425d78}),!0x0;}},_0x7033b1={'id':_0x2d3cd7(0x211),'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'handler':(_0x50034a,_0x45a1a3)=>{const _0x4dd0bb=_0x2d3cd7;if(!_0x45a1a3)return!0x1;const _0x3f5ffa=_0x50034a[_0x4dd0bb(0x33f)](_0x2814ce[_0x4dd0bb(0x143)]),{unitId:_0x11d068,subUnitId:_0x3aff92,pivotTableId:_0x352a50,tableFieldId:_0x127da6}=_0x45a1a3,_0x5e5b6b=[],_0x2f087d=[],_0x5b10c3=_0x50034a['get'](_0x159003[_0x4dd0bb(0x282)]),_0x352a67=_0x5b10c3[_0x4dd0bb(0x2bb)](_0x11d068,_0x352a50),_0x2cd5e7=_0x5b10c3[_0x4dd0bb(0x2e4)](_0x11d068,_0x3aff92,_0x352a50);if(!(_0x2cd5e7!=null&&_0x2cd5e7[_0x4dd0bb(0xf4)][_0x4dd0bb(0x161)]))return!0x1;const _0x597796=Object[_0x4dd0bb(0x1ab)](_0x2cd5e7['fieldsConfig'][_0x4dd0bb(0x161)])['find'](_0x36a2d4=>_0x36a2d4['id']===_0x127da6);if(!_0x597796)return!0x1;const _0x10d6a0=_0x597796[_0x4dd0bb(0x10a)];if(!(_0x352a67!=null&&_0x352a67['fields']))return!0x1;const _0x209ef0=Object[_0x4dd0bb(0x1ab)](_0x352a67==null?void 0x0:_0x352a67[_0x4dd0bb(0x35c)])[_0x4dd0bb(0x217)](_0x2c9af1=>_0x2c9af1['id']===_0x10d6a0);if(!_0x209ef0)return!0x1;_0x3ed89a[_0x4dd0bb(0x350)](_0x209ef0)&&_0x5e5b6b[_0x4dd0bb(0xf8)]({'id':_0x38408b['id'],'params':{..._0x45a1a3,'dateType':_0x209ef0[_0x4dd0bb(0x237)]}}),_0x2f087d[_0x4dd0bb(0xf8)]({'id':_0x38408b['id'],'params':{..._0x45a1a3}});const _0x163577=_0x50034a[_0x4dd0bb(0x33f)](_0x2814ce[_0x4dd0bb(0x263)]);return _0x2814ce[_0x4dd0bb(0x2e8)](_0x2f087d,_0x163577)&&_0x3f5ffa[_0x4dd0bb(0xad)]({'unitID':_0x11d068,'undoMutations':_0x5e5b6b,'redoMutations':_0x2f087d}),!0x0;}};var _0x6fe369=Object[_0x2d3cd7(0x11f)],_0x40e635=(_0x41e652,_0x3dc806,_0x5a7c4a,_0x2966ce)=>{for(var _0x37ee5d=_0x2966ce>0x1?void 0x0:_0x2966ce?_0x6fe369(_0x3dc806,_0x5a7c4a):_0x3dc806,_0x58663b=_0x41e652['length']-0x1,_0x539904;_0x58663b>=0x0;_0x58663b--)(_0x539904=_0x41e652[_0x58663b])&&(_0x37ee5d=_0x539904(_0x37ee5d)||_0x37ee5d);return _0x37ee5d;},_0x362e6d=(_0x4e2002,_0x49db29)=>(_0x4d5762,_0x3feda2)=>_0x49db29(_0x4d5762,_0x3feda2,_0x4e2002);const _0x1b57ac=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4421bf=(_0x2de21b,_0x48d27f,_0x636ed3)=>{const _0x307ffa=_0x2d3cd7,_0x1ac2b5=_0x2de21b['dataFieldsCollection'];_0x2de21b['iterateFieldDim'](_0xfc90d=>{const _0x173908=_0x50dd,_0x104367=_0xfc90d[_0x173908(0x1c2)](),_0x33ff9d=_0xfc90d[_0x173908(0x37a)](),_0x3e0f1f=_0xfc90d['getSourceName'](),_0x3de470=_0xfc90d[_0x173908(0x2f5)]();_0x48d27f[_0x33ff9d]&&_0x48d27f[_0x33ff9d]===_0x3de470&&_0x3e0f1f===_0x3de470&&(_0x2de21b[_0x173908(0x273)](_0x104367,_0x1ac2b5[_0x173908(0x2f5)](_0x33ff9d)),_0xfc90d[_0x173908(0x96)](_0x1ac2b5[_0x173908(0x2f5)](_0x33ff9d)));}),_0x2de21b[_0x307ffa(0x25a)](_0x3ed89a[_0x307ffa(0x292)][_0x307ffa(0x30f)],_0x5196e9=>{const _0x55af4f=_0x307ffa,_0x27db51=_0x5196e9['getId'](),_0x328032=_0x5196e9[_0x55af4f(0x37a)](),_0x2f0b26=_0x5196e9[_0x55af4f(0x230)](),_0x4da299=_0x5196e9['getDisplayName'](),_0x3ef797=_0x5196e9[_0x55af4f(0x21d)](),_0x23704d=_0x636ed3(_0x2f0b26,_0x3ef797);_0x48d27f[_0x328032]&&_0x48d27f[_0x328032]===_0x2f0b26&&_0x23704d===_0x4da299&&(_0x2de21b[_0x55af4f(0x273)](_0x27db51,_0x636ed3(_0x1ac2b5[_0x55af4f(0x2f5)](_0x328032),_0x3ef797)),_0x5196e9[_0x55af4f(0x96)](_0x1ac2b5['getDisplayName'](_0x328032)));});},_0x32a0db=(_0x1a1fbc,_0x6ac3c6,_0x404532)=>{const _0x1de0bf=_0x2d3cd7;var _0x55edbc,_0x26d7b1;const {arrayFormulaCellData:_0x3eba02,unitData:_0x15ef34}=_0x6ac3c6,{unitId:_0x7efd54,subUnitId:_0x2638ef}=_0x404532,_0x24ba12=_0x404532[_0x1de0bf(0x17f)],{startColumn:_0x52184e,endColumn:_0x12d252}=_0x24ba12,_0x10a9c1=(_0x55edbc=_0x3eba02==null?void 0x0:_0x3eba02[_0x7efd54])==null?void 0x0:_0x55edbc[_0x2638ef],_0xa1de0e=(_0x26d7b1=_0x15ef34==null?void 0x0:_0x15ef34[_0x7efd54])==null?void 0x0:_0x26d7b1[_0x2638ef],_0x431b48=new Set(),_0x33e520=_0x12d252-_0x52184e+0x1,{dirtyRanges:_0x26499e}=_0x1a1fbc;if(_0x26499e)for(const {range:_0x5964f2,sheetId:_0x1c4b73,unitId:_0x42fc45}of _0x26499e){if(_0x1c4b73!==_0x2638ef||_0x7efd54!==_0x42fc45)continue;const _0x45e6ea=_0x2814ce[_0x1de0bf(0x2f1)][_0x1de0bf(0x1f7)](_0x5964f2,_0x24ba12);if(_0x45e6ea){const {startColumn:_0x4e4650,endColumn:_0x3af743}=_0x45e6ea;for(let _0x4fff9a=_0x4e4650;_0x4fff9a<=_0x3af743;_0x4fff9a++)_0x431b48[_0x1de0bf(0x9d)](_0x4fff9a);}}if(_0x431b48[_0x1de0bf(0x102)]===_0x33e520||_0x431b48[_0x1de0bf(0x102)]===_0x33e520)return Array[_0x1de0bf(0x312)](_0x431b48);if(_0xa1de0e){const _0x2304f0=_0xa1de0e[_0x1de0bf(0x35d)](),_0x565ab3=Object[_0x1de0bf(0x22a)](_0x2304f0);for(const _0x89ed71 of _0x565ab3){const _0x4197df=Number(_0x89ed71),_0x165d29=_0x2304f0[_0x4197df];if(_0x431b48['size']===_0x33e520)break;for(const _0xf07980 in _0x165d29){const _0x28e5fb=Number(_0xf07980);_0x28e5fb<_0x52184e||_0x28e5fb>_0x12d252||_0x431b48[_0x1de0bf(0x9d)](_0x28e5fb);}}}if(_0x10a9c1){const _0x2fc087=_0x10a9c1[_0x1de0bf(0x35d)](),_0x1ccee4=Object['keys'](_0x2fc087);for(const _0x4954a9 of _0x1ccee4){const _0xf53d2=Number(_0x4954a9),_0x3227ee=_0x2fc087[_0xf53d2];if(_0x431b48[_0x1de0bf(0x102)]===_0x33e520)break;for(const _0x508d1a in _0x3227ee){const _0x8e7f40=Number(_0x508d1a);_0x8e7f40<_0x52184e||_0x8e7f40>_0x12d252||_0x431b48[_0x1de0bf(0x9d)](_0x8e7f40);}}}return Array['from'](_0x431b48);},_0x781158=_0xadff86=>{const _0x3a9085=_0x2d3cd7,_0x14535d=new Set(),_0x3e2dd0=[];for(const _0x28db45 of _0xadff86){const _0x268777=_0x28db45['startRow']+','+_0x28db45[_0x3a9085(0x10b)]+','+_0x28db45[_0x3a9085(0x367)]+','+_0x28db45[_0x3a9085(0x375)];_0x14535d['has'](_0x268777)||(_0x14535d[_0x3a9085(0x9d)](_0x268777),_0x3e2dd0['push'](_0x28db45));}return _0x3e2dd0;};let _0x3c83bb=class extends _0x2814ce['Disposable']{constructor(_0x5be067,_0x24da6e,_0x486d25,_0x5ba1b5,_0xb74e5,_0x5ba1a1){const _0x36dfaf=_0x2d3cd7;super(),_0x4a4d7d(this,'_globalSubject',new _0x139446['BehaviorSubject'](!0x0)),_0x4a4d7d(this,_0x36dfaf(0x31c),_0x4dc374=>{const _0x340d2e=_0x36dfaf;this[_0x340d2e(0x8d)][_0x340d2e(0x382)](!0x1);}),_0x4a4d7d(this,_0x36dfaf(0x169),_0x50ea73=>{const _0x3171a5=_0x36dfaf;this[_0x3171a5(0x8d)][_0x3171a5(0x382)](!0x0);}),(this[_0x36dfaf(0x191)]=_0x5be067,this[_0x36dfaf(0x27f)]=_0x24da6e,this[_0x36dfaf(0xa9)]=_0x486d25,this[_0x36dfaf(0x341)]=_0x5ba1b5,this[_0x36dfaf(0x15a)]=_0xb74e5,this[_0x36dfaf(0x1a6)]=_0x5ba1a1,this['_init'](),this[_0x36dfaf(0x15d)]());}[_0x2d3cd7(0x27d)](){const _0x1a09e3=_0x2d3cd7;this['_subjectCollectionChange'](),this[_0x1a09e3(0x14c)](),this[_0x1a09e3(0xbd)](),this['_subjectFieldsCollectionChange']();}[_0x2d3cd7(0x359)](){const _0xc71f2=_0x2d3cd7;this[_0xc71f2(0x15a)][_0xc71f2(0x2c7)](this[_0xc71f2(0x8d)]),_0x3ed89a[_0xc71f2(0x299)]['registerCallbackWithEvent'](_0x3ed89a[_0xc71f2(0x200)][_0xc71f2(0xaf)],this['_globalComputedStartHelpFunc']),_0x3ed89a['PivotTable'][_0xc71f2(0x384)](_0x3ed89a[_0xc71f2(0x200)][_0xc71f2(0x87)],this[_0xc71f2(0x169)]);}[_0x2d3cd7(0x15d)](){const _0x872f9c=_0x2d3cd7;this[_0x872f9c(0xd4)](this[_0x872f9c(0x341)][_0x872f9c(0x1eb)](_0x58bbe0=>{const _0x192902=_0x872f9c;_0x58bbe0['id']===_0x5cc6ba[_0x192902(0xd0)]['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x58bbe0[_0x192902(0x9c)]);})),this[_0x872f9c(0xd4)](this['_commandService'][_0x872f9c(0x1eb)](_0x3901a3=>{const _0x2aae0d=_0x872f9c;if(_0x3901a3['id']!==_0x3b71d1['id'])return;const _0x2b9352=_0x3901a3[_0x2aae0d(0x9c)],{unitId:_0x1b6317,subUnitId:_0x54f129,pivotTableId:_0x3fee6f}=_0x2b9352,_0xef8845=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xd5)],_0x4d811b={};switch(_0xef8845){case _0x6c21f4[_0x2aae0d(0x118)]:{const _0xfc5d65=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x17e)];if(!_0xfc5d65)return;const {row:_0x133481,col:_0x4b8da0,cellData:_0x1d22e0,pivotItemRenderInfoCache:_0x4a3a4b,tableFieldId:_0xcfbf9e}=_0xfc5d65,_0x5badfe=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x2b9352['pivotTableId']);if(!_0x5badfe||!_0x4a3a4b)return;if(_0xcfbf9e){const _0x381d73=_0x5badfe[_0x2aae0d(0x104)](_0xcfbf9e);if(!_0x381d73)return;_0x4d811b[_0x2aae0d(0x17e)]={..._0x5badfe[_0x2aae0d(0x2a6)](_0x381d73),'tableFieldId':_0xcfbf9e,'pivotTableId':_0x2b9352[_0x2aae0d(0x311)],'filterInfo':_0x5badfe['getFilterInfo'](_0xcfbf9e),'sortInfo':_0x5badfe[_0x2aae0d(0x1c0)](_0xcfbf9e),'format':_0x5badfe[_0x2aae0d(0x1b6)](_0xcfbf9e)};}else{const _0x42fa6d=_0x41da6f(_0x133481,_0x4b8da0,_0x1d22e0,_0x5badfe,_0x4a3a4b),_0x3cad57=_0x42fa6d==null?void 0x0:_0x42fa6d[_0x2aae0d(0x247)];if(!_0x3cad57)return;const _0x1876f5=_0x5badfe[_0x2aae0d(0x104)](_0x3cad57);if(!_0x1876f5)return;_0x4d811b[_0x2aae0d(0x17e)]={..._0x5badfe[_0x2aae0d(0x2a6)](_0x1876f5),'tableFieldId':_0x3cad57,'pivotTableId':_0x2b9352[_0x2aae0d(0x311)],'filterInfo':_0x5badfe[_0x2aae0d(0xa2)](_0x3cad57),'sortInfo':_0x5badfe[_0x2aae0d(0x1c0)](_0x3cad57),'format':_0x5badfe['getFieldFormat'](_0x3cad57)};}}break;case _0x6c21f4[_0x2aae0d(0x21a)]:{const _0x575395=_0x2b9352[_0x2aae0d(0x9c)]['panel'];if(!_0x575395)return;const {pivotTableId:_0x5b54b2}=_0x575395,_0x5e0b73=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x5b54b2);if(!_0x5e0b73)return;const _0x74875d=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x5b54b2),_0x4d3b27=_0xd34b8d(_0x5e0b73,_0x5b54b2,_0x74875d);_0x4d811b[_0x2aae0d(0x120)]=_0x4d3b27;}break;case _0x6c21f4[_0x2aae0d(0x14a)]:{const _0x47c6ab=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x197075=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x2d0)](_0x1b6317),_0x4daea7=_0x197075[_0x2aae0d(0x2bb)](_0x3fee6f);let _0x1bc8f3=null;const _0x3f7316=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f),_0x29ee9f=_0x2b9352['params'][_0x2aae0d(0x2d9)];if(!_0x47c6ab||!_0x3f7316||!_0x29ee9f)return!0x1;const {dataFieldId:_0x53b18c,fieldArea:_0x1f18ee,index:_0x49b61d}=_0x29ee9f;_0x47c6ab[_0x2aae0d(0xd6)]();const _0x95ff70=_0x47c6ab[_0x2aae0d(0x390)](_0x53b18c,_0x1f18ee,_0x49b61d);if(_0x95ff70&&_0x1f18ee===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]){const _0x5a2a6f=_0x95ff70[_0x2aae0d(0x1c2)](),_0xcdffc8=_0x47c6ab[_0x2aae0d(0x104)](_0x5a2a6f);if(_0xcdffc8){const _0x29b173=_0xcdffc8==null?void 0x0:_0xcdffc8[_0x2aae0d(0x22f)]();_0x47c6ab[_0x2aae0d(0x30a)](_0x95ff70[_0x2aae0d(0x1c2)](),_0x29b173===_0x3ed89a[_0x2aae0d(0x12a)][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x2b7)]);}const _0x2604d8=_0x47c6ab[_0x2aae0d(0x113)](),_0x34957d=_0x47c6ab[_0x2aae0d(0x278)](),_0xd2331f=_0x47c6ab[_0x2aae0d(0x190)](_0x3ed89a['PivotTableFiledAreaEnum']['Value']);if(_0x2604d8===-0x1&&_0xd2331f>0x1){const _0xdac4da=_0x34957d===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x296)]?_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)]:_0x34957d,_0x2a0f8c=_0xdac4da===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x106)]?_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x106)]:_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)];_0x47c6ab[_0x2aae0d(0xfc)](_0xdac4da,_0x47c6ab[_0x2aae0d(0x190)](_0x2a0f8c));}}else{if(_0x95ff70&&(_0x1f18ee===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]||_0x1f18ee===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)])){const _0x29ecf3=_0x95ff70[_0x2aae0d(0x1c2)](),_0x24bee1=_0x47c6ab['getDataFieldByTableId'](_0x29ecf3);if(_0x24bee1&&(_0x24bee1==null?void 0x0:_0x24bee1['getFieldDataType']())===_0x3ed89a['PivotDataFieldDataTypeEnum'][_0x2aae0d(0x269)]){const _0x8b40f2=_0x24bee1['getformat']();if(_0x8b40f2&&_0x47c6ab[_0x2aae0d(0x156)](_0x95ff70['getId'](),_0x8b40f2),!_0x4daea7[_0x2aae0d(0x1df)]()[_0x2aae0d(0x36b)](_0x2aa08c=>{const _0xd8ccff=_0x2aae0d,_0x5918fb=_0x4daea7[_0xd8ccff(0x20b)](_0x2aa08c);return _0x3ed89a['isDateGroupField'](_0x5918fb)?_0x5918fb[_0xd8ccff(0x80)]()[_0xd8ccff(0x108)]===_0x53b18c:!0x1;})){const _0x114be1=_0x197075[_0x2aae0d(0x38b)](),_0x444584=_0x2c2634(_0x24bee1[_0x2aae0d(0x336)],_0x24bee1[_0x2aae0d(0x1ca)]),_0x191bce=_0x24bee1['getName']()+'\x20-\x20'+_0x3996df(this[_0x2aae0d(0x1a6)],_0x444584),_0x3452b8=new _0x3ed89a[(_0x2aae0d(0x1f9))](_0x114be1,_0x191bce,_0x3ed89a[_0x2aae0d(0x369)](0x3),_0x24bee1[_0x2aae0d(0x1c2)](),_0x444584);_0x197075[_0x2aae0d(0xc5)](_0x3452b8),_0x4daea7[_0x2aae0d(0x2fe)](_0x114be1,_0x191bce),_0x47c6ab[_0x2aae0d(0x390)](_0x114be1,_0x1f18ee,(_0x49b61d!=null?_0x49b61d:0x0)+0x1),_0x1bc8f3=_0x3452b8;}}}}const _0x4e43d3=_0x47c6ab[_0x2aae0d(0x26e)](),_0x55de2e=_0x47c6ab['query']()[_0x2aae0d(0x32c)]();let _0x2daafe;if(_0x1bc8f3){_0x2daafe=_0x1bc8f3[_0x2aae0d(0x32c)]();const _0x4f467c=_0x1bc8f3[_0x2aae0d(0x1c2)]();_0x4daea7['deleteField'](_0x4f467c);let _0x13e3f8=!0x0;for(const _0x37b801 in _0x197075['collections'])if(_0x197075[_0x2aae0d(0x2f9)][_0x37b801][_0x2aae0d(0x1df)]()[_0x2aae0d(0x26f)](_0x4f467c)){_0x13e3f8=!0x1;break;}_0x13e3f8&&_0x197075[_0x2aae0d(0x29f)](_0x4f467c);}const _0x5a9ce3=_0x47c6ab[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2d9)]={'view':_0x55de2e,'changesets':_0x5a9ce3,'isEmpty':_0x4e43d3,'pivotTableConfig':_0x3f7316,'shouldBeAddedGroupJSON':_0x2daafe};}break;case _0x6c21f4[_0x2aae0d(0x7b)]:{const _0x404d1d=_0x2b9352['params'][_0x2aae0d(0x7d)];if(!_0x404d1d)return;const _0x149134=_0x404d1d[_0x2aae0d(0x281)],_0x5556c0=_0x404d1d[_0x2aae0d(0x311)],{collection:_0xfa992f}=this[_0x2aae0d(0x191)][_0x2aae0d(0x1ef)]({'unitId':_0x149134[_0x2aae0d(0x19c)],'sheetName':_0x149134[_0x2aae0d(0x2ce)],'subUnitId':_0x149134[_0x2aae0d(0x2da)],'range':_0x149134[_0x2aae0d(0x17f)]}),_0x155c0e=new _0x3ed89a['PivotTable'](_0xfa992f,void 0x0,_0x5556c0),_0x3b7a21=_0x155c0e[_0x2aae0d(0x1bf)](),_0x46bcf7=_0x155c0e[_0x2aae0d(0x32c)](),_0x3b807e=_0xfa992f['toJSON']();_0x4d811b[_0x2aae0d(0x7d)]={'view':_0x3b7a21,'fieldsConfig':_0x46bcf7,'collectionConfig':_0x3b807e,'isEmpty':_0x155c0e[_0x2aae0d(0x26e)]()};}break;case _0x6c21f4[_0x2aae0d(0x265)]:{const _0x5e4f85=_0x2b9352['params'][_0x2aae0d(0x2cb)];if(!_0x5e4f85)return;const {fieldId:_0x2b733d,area:_0x582e0b,index:_0x289211}=_0x5e4f85,_0x534f9a=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x534f9a)return;const _0x4e2d2d=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x4e2d2d)return;_0x4e2d2d[_0x2aae0d(0xd6)]();const {area:_0x3f442e,index:_0x32cd8c}=_0x4e2d2d[_0x2aae0d(0xec)](_0x2b733d);if(_0x4e2d2d[_0x2aae0d(0x79)](_0x2b733d,_0x582e0b,_0x289211),_0x582e0b===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x30f)]&&_0x4e2d2d['getTableFieldById'](_0x2b733d)['getSubtotal']()===void 0x0){const _0xeefe0a=_0x4e2d2d['getTableFieldById'](_0x2b733d);if(_0xeefe0a&&_0xeefe0a[_0x2aae0d(0x21d)]()===void 0x0){const _0x3f9326=_0x4e2d2d[_0x2aae0d(0x104)](_0x2b733d);if(_0x3f9326){const _0x6e978e=_0x3f9326==null?void 0x0:_0x3f9326[_0x2aae0d(0x22f)]();_0x4e2d2d[_0x2aae0d(0x30a)](_0x2b733d,_0x6e978e===_0x3ed89a['PivotDataFieldDataTypeEnum'][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a['PivotSubtotalTypeEnum']['count']);}}}const _0x1ea83f=_0x4e2d2d[_0x2aae0d(0x278)](),_0x58086d=_0x4e2d2d[_0x2aae0d(0x113)](),_0x5c7e7c=_0x4e2d2d[_0x2aae0d(0x190)](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x30f)])>0x1;if(_0x5c7e7c&&_0x3f442e===_0x582e0b&&(_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)]['Row']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x106)]||_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)]&&_0x1ea83f===_0x3ed89a['PivotTableValuePositionEnum']['Column'])){let _0x48b261=_0x58086d;_0x32cd8c<=_0x58086d&&_0x48b261--,_0x289211<=_0x58086d&&_0x48b261++,_0x4e2d2d[_0x2aae0d(0xfc)](_0x1ea83f,_0x48b261);}else _0x5c7e7c&&(_0x3f442e===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)]['Row']||_0x3f442e===_0x3ed89a[_0x2aae0d(0x292)]['Column']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)])&&_0x58086d>=_0x32cd8c&&_0x4e2d2d[_0x2aae0d(0xfc)](_0x1ea83f,_0x58086d-0x1),_0x5c7e7c&&(_0x582e0b===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)]['Row']||_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)]['Column']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)])&&_0x58086d>=_0x289211&&_0x4e2d2d['updateValuePosition'](_0x1ea83f,_0x58086d+0x1);const _0x369317=_0x4e2d2d[_0x2aae0d(0x1bf)](),_0x24535b=_0x4e2d2d[_0x2aae0d(0x26e)](),_0x306cba=_0x4e2d2d[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2cb)]={'view':_0x369317[_0x2aae0d(0x32c)](),'changesets':_0x306cba,'isEmpty':_0x24535b,'pivotTableConfig':_0x534f9a};}break;case _0x6c21f4[_0x2aae0d(0x1f1)]:{const _0x52f202=_0x2b9352[_0x2aae0d(0x9c)]['removePivotField'];if(!_0x52f202)return;const _0x1bf504=_0x52f202[_0x2aae0d(0x35b)],_0xf68343=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0xf68343)return!0x1;const _0x1a5444=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x1a5444)return!0x1;_0x1a5444['startCollectChangeset']();for(const _0x48f0df of _0x1bf504){const {area:_0x2cf9}=_0x1a5444['getFieldPositionInfoById'](_0x48f0df);_0x2cf9===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]&&_0x1a5444[_0x2aae0d(0x304)](_0x48f0df),(_0x2cf9===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]||_0x2cf9===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)])&&_0x1a5444[_0x2aae0d(0x2ad)](_0x48f0df),_0x1a5444[_0x2aae0d(0x256)](_0x48f0df);}const _0x2ef6ba=_0x1a5444[_0x2aae0d(0x26e)](),_0x3478e3=_0x1a5444[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x3077ec=_0x1a5444[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0xc9)]={'changesets':_0x3077ec,'pivotTableConfig':_0xf68343,'isEmpty':_0x2ef6ba,'view':_0x3478e3};}break;case _0x6c21f4['SetPivotFilter']:{const _0xf5635=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x208)];if(!_0xf5635)return;const {tableFieldId:_0x11d90e,items:_0x5d8c23,isAll:_0x5dd37e}=_0xf5635,_0x165512=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x24eb46=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x165512||!_0x24eb46)return;_0x165512[_0x2aae0d(0xd6)](),_0x165512['setLabelFilterInfo'](_0x11d90e,{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x5d8c23,'isAll':_0x5dd37e});const _0x2f708d=_0x165512[_0x2aae0d(0x26e)](),_0x2674f3=_0x165512[_0x2aae0d(0x1bf)]()['toJSON'](),_0x41cf7c=_0x165512[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x208)]={'view':_0x2674f3,'changesets':_0x41cf7c,'isEmpty':_0x2f708d,'pivotTableConfig':_0x24eb46};}break;case _0x6c21f4[_0x2aae0d(0x18d)]:{const _0x568b56=_0x2b9352[_0x2aae0d(0x9c)]['setValuePivotFilter'];if(!_0x568b56)return;const {tableFieldId:_0xd0fef5,filterInfo:_0x4c8565}=_0x568b56,_0x58d5fa=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x3c9687=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x58d5fa||!_0x3c9687)return;_0x58d5fa[_0x2aae0d(0xd6)](),_0x58d5fa[_0x2aae0d(0x2e9)](_0xd0fef5,_0x4c8565);const _0x49e484=_0x58d5fa[_0x2aae0d(0x26e)](),_0x26ee74=_0x58d5fa[_0x2aae0d(0x1bf)]()['toJSON'](),_0x272a0f=_0x58d5fa[_0x2aae0d(0x1ee)]();_0x4d811b['setValuePivotFilter']={'view':_0x26ee74,'changesets':_0x272a0f,'isEmpty':_0x49e484,'pivotTableConfig':_0x3c9687};}break;case _0x6c21f4['SetPivotSort']:{const _0x1fb03f=_0x2b9352[_0x2aae0d(0x9c)]['setPivotSort'];if(!_0x1fb03f)return;const {tableFieldId:_0x1c31e4,info:_0x1f285b}=_0x1fb03f,_0x2dc106=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x575330=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x2dc106||!_0x575330)return;_0x2dc106['startCollectChangeset'](),_0x2dc106[_0x2aae0d(0x258)](_0x1c31e4,_0x1f285b);const _0x506cad=_0x2dc106['isEmpty'](),_0x2ef442=_0x2dc106['query']()['toJSON'](),_0x48d0af=_0x2dc106['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x25d)]={'view':_0x2ef442,'changesets':_0x48d0af,'isEmpty':_0x506cad,'pivotTableConfig':_0x575330};}break;case _0x6c21f4[_0x2aae0d(0x12c)]:{const _0x369e2b=_0x2b9352['params']['setPivotSetting'];if(!_0x369e2b)return;const {tableFieldId:_0x3e2a63,displayName:_0x5b61b3,subtotalType:_0x52024d,format:_0x4906f1}=_0x369e2b,_0x48e21d=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x8ba06e=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x48e21d||!_0x8ba06e)return;_0x48e21d[_0x2aae0d(0xd6)](),_0x5b61b3!==void 0x0&&_0x48e21d[_0x2aae0d(0x273)](_0x3e2a63,_0x5b61b3),_0x52024d!==void 0x0&&_0x48e21d['setSubtotalType'](_0x3e2a63,_0x52024d),_0x4906f1!==void 0x0&&_0x48e21d[_0x2aae0d(0x156)](_0x3e2a63,_0x4906f1);const _0x381892=_0x48e21d['isEmpty'](),_0x343be6=_0x48e21d[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x2bd762=_0x48e21d['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x129)]={'changesets':_0x2bd762,'pivotTableConfig':_0x8ba06e,'isEmpty':_0x381892,'view':_0x343be6};}break;case _0x6c21f4['UpdatePivotSource']:{const _0x3bfc6f=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xe8)];if(!_0x3bfc6f)return;const {dataRangeInfo:_0x53650f,unitId:_0x9d9db9,subUnitId:_0x4d1356}=_0x3bfc6f,_0x325383=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x9d9db9,_0x4d1356,_0x3fee6f),_0xfb5e6c=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!this[_0x2aae0d(0x191)][_0x2aae0d(0x2bb)](_0x9d9db9,_0x3fee6f)||!_0xfb5e6c||!_0x325383)return;const _0x2608fa=this[_0x2aae0d(0x191)][_0x2aae0d(0x241)](_0x9d9db9,_0x3fee6f,_0x53650f),_0x55ca86=this[_0x2aae0d(0x191)][_0x2aae0d(0x2bb)](_0x9d9db9,_0x3fee6f)[_0x2aae0d(0x32c)](),{collection:_0x379bbc}=this[_0x2aae0d(0x191)][_0x2aae0d(0x1ef)]({'unitId':_0x53650f['unitId'],'sheetName':_0x53650f[_0x2aae0d(0x2ce)],'subUnitId':_0x53650f[_0x2aae0d(0x2da)],'range':_0x53650f[_0x2aae0d(0x17f)]}),_0x4e25f3=_0x379bbc['toJSON']();_0xfb5e6c[_0x2aae0d(0xd6)]();const _0xd74d2b=this[_0x2aae0d(0x191)][_0x2aae0d(0x2d0)](_0x9d9db9)['getAutoDisplayNameFunction']()||_0x3ed89a['getAutoDisplayName'];_0xfb5e6c['iterateField'](_0xd7b210=>{const _0x2a7da1=_0x2aae0d,_0x1885d7=_0xd7b210['getDataFieldId']();if(!_0x379bbc[_0x2a7da1(0x308)](_0x1885d7)){const _0x5f44b1=_0x379bbc['getDataFieldBySourceName'](_0xd7b210['getSourceName']());if(_0x5f44b1){_0xfb5e6c[_0x2a7da1(0x1c8)](_0xd7b210[_0x2a7da1(0x1c2)](),_0x5f44b1[_0x2a7da1(0x26c)](),_0x5f44b1[_0x2a7da1(0x1c2)]());const {area:_0x5d2632}=_0xfb5e6c[_0x2a7da1(0xec)](_0xd7b210[_0x2a7da1(0x1c2)]());let _0x1e054d=_0xd7b210['getSourceName']();const _0x48d550=_0xd7b210['getDisplayName']();if(_0x5d2632===_0x3ed89a[_0x2a7da1(0x292)][_0x2a7da1(0x30f)]){const _0xa0284b=_0xd7b210[_0x2a7da1(0x21d)]();_0x1e054d=_0xd74d2b(_0x5f44b1['getName'](),_0xa0284b);}_0x48d550!==_0x1e054d&&_0xfb5e6c[_0x2a7da1(0x273)](_0xd7b210[_0x2a7da1(0x1c2)](),_0x1e054d);}else _0xfb5e6c[_0x2a7da1(0x256)](_0xd7b210[_0x2a7da1(0x1c2)]());}});const _0x4f28f9=_0xfb5e6c[_0x2aae0d(0x26e)](),_0x51314b=_0xfb5e6c['query']()[_0x2aae0d(0x32c)](),_0x2d1d42=_0xfb5e6c[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0xe8)]={'view':_0x51314b,'changesets':_0x2d1d42,'isEmpty':_0x4f28f9,'pivotTableConfig':_0x325383,'collectionConfig':_0x4e25f3,'oldCollectionConfig':_0x55ca86,'deleteIds':_0x2608fa};}break;case _0x6c21f4[_0x2aae0d(0x19a)]:{const _0x2b6013=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xfc)];if(!_0x2b6013)return;const {position:_0x57f756,index:_0x34a7a7}=_0x2b6013,_0x504edb=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x504edb)return!0x1;const _0x65dd5c=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x65dd5c)return!0x1;_0x65dd5c['startCollectChangeset'](),_0x65dd5c[_0x2aae0d(0xfc)](_0x57f756,_0x34a7a7);const _0x117208=_0x65dd5c[_0x2aae0d(0x26e)](),_0x3d97d9=_0x65dd5c[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x213e55=_0x65dd5c['endCollectChangeset']();_0x4d811b[_0x2aae0d(0xfc)]={'changesets':_0x213e55,'pivotTableConfig':_0x504edb,'isEmpty':_0x117208,'view':_0x3d97d9};}break;case _0x6c21f4['SetPivotCollapse']:{const _0xf8ea77=_0x2b9352['params'][_0x2aae0d(0x2ca)];if(!_0xf8ea77)return;const {tableFieldId:_0x28752e,collapse:_0x21ab8c,item:_0x5cdd6f}=_0xf8ea77,_0x2f5323=this[_0x2aae0d(0x191)]['getPivotTableInstance'](_0x3fee6f),_0xcd8b5=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x2f5323||!_0xcd8b5)return;_0x2f5323[_0x2aae0d(0xd6)](),_0x2f5323[_0x2aae0d(0x266)](_0x28752e,_0x21ab8c,_0x5cdd6f);const _0x1432ce=_0x2f5323[_0x2aae0d(0x26e)](),_0x45fdb2=_0x2f5323[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x5aebad=_0x2f5323[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2ca)]={'view':_0x45fdb2,'isEmpty':_0x1432ce,'pivotTableConfig':_0xcd8b5,'changesets':_0x5aebad};}break;case _0x6c21f4[_0x2aae0d(0x123)]:{const _0xa38620=_0x2b9352['params'][_0x2aae0d(0x17a)];if(!_0xa38620)return;const {pivotTableConfig:_0x4a55bb}=_0xa38620,_0x433386=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x3fee6f),_0x390f78=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x433386||!_0x390f78)return;_0x433386[_0x2aae0d(0xd6)](),_0x37b34a(_0x433386,_0x4a55bb);const _0x3968db=_0x433386['isEmpty'](),_0x32845a=_0x433386['query']()['toJSON'](),_0x3ebf4b=_0x433386[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x17a)]={'view':_0x32845a,'isEmpty':_0x3968db,'pivotTableConfig':{..._0x390f78,'fieldsConfig':_0x433386[_0x2aae0d(0x32c)]()},'changesets':_0x3ebf4b};}break;case _0x6c21f4[_0x2aae0d(0x204)]:{const _0x4cf7bc=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x225)];if(!_0x4cf7bc)return;const _0xe2d10c=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x3fee6f),_0x1a0287=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0xe2d10c||!_0x1a0287)return;_0xe2d10c[_0x2aae0d(0xd6)](),_0x39e240(_0xe2d10c,_0x4cf7bc['resetArea']);const _0x157649=_0xe2d10c[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x3ee471=_0xe2d10c['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x225)]={'view':_0x157649,'isEmpty':!0x0,'pivotTableConfig':{..._0x1a0287,'fieldsConfig':_0xe2d10c[_0x2aae0d(0x32c)]()},'changesets':_0x3ee471};}break;case _0x6c21f4[_0x2aae0d(0x163)]:{const _0x3d48e8=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x1d7)];if(!_0x3d48e8)return;const _0x3563f2=_0x3d48e8[_0x2aae0d(0x281)],_0x1233ea=_0x3d48e8[_0x2aae0d(0x311)],{collection:_0x54c74c}=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x1ef)]({'unitId':_0x3563f2[_0x2aae0d(0x19c)],'sheetName':_0x3563f2[_0x2aae0d(0x2ce)],'subUnitId':_0x3563f2['subUnitId'],'range':_0x3563f2[_0x2aae0d(0x17f)]}),_0x6865a4=new _0x3ed89a['PivotTable'](_0x54c74c,void 0x0,_0x1233ea),_0x4c8ba9=_0x54c74c[_0x2aae0d(0x1df)](),{rows:_0x1c5eb0,columns:_0x25cb13,filters:_0x8b223,values:_0xc90bec}=_0x3d48e8['pivotTableIndexConfig'];_0x6865a4[_0x2aae0d(0xd6)]();for(const {field:_0x37cc32,selectedItems:_0x1b6892}of _0x1c5eb0||[]){const _0x106ae8=_0x4c8ba9[_0x37cc32];if(_0x106ae8){const _0x4988d9=_0x6865a4[_0x2aae0d(0x390)](_0x106ae8,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x106)]);_0x1b6892&&_0x4988d9&&_0x6865a4[_0x2aae0d(0x95)](_0x4988d9[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)]['ManualFilter'],'list':_0x1b6892,'isAll':!0x1});}}for(const {field:_0x2b9a4c,selectedItems:_0x74aee9}of _0x25cb13||[]){const _0x5a750b=_0x4c8ba9[_0x2b9a4c];if(_0x5a750b){const _0x3a3d72=_0x6865a4[_0x2aae0d(0x390)](_0x5a750b,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)]);_0x74aee9&&_0x3a3d72&&_0x6865a4[_0x2aae0d(0x95)](_0x3a3d72[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x74aee9,'isAll':!0x1});}}for(const {field:_0x3fd53e,selectedItems:_0x117d66}of _0x8b223||[]){const _0x3df596=_0x4c8ba9[_0x3fd53e];if(_0x3df596){const _0x4c86d9=_0x6865a4[_0x2aae0d(0x390)](_0x3df596,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x118)]);_0x117d66&&_0x4c86d9&&_0x6865a4['setLabelFilterInfo'](_0x4c86d9[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x117d66,'isAll':!0x1});}}for(const {field:_0x6ac954,subTotalType:_0x15a972,formatString:_0x3653aa}of _0xc90bec||[]){const _0x5b80cd=_0x54c74c[_0x2aae0d(0x20b)](_0x4c8ba9[_0x6ac954]);if(!_0x5b80cd)continue;const _0x5b9b40=_0x4c8ba9[_0x6ac954];if(_0x5b9b40){const _0xa565a0=_0x6865a4[_0x2aae0d(0x390)](_0x5b9b40,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]);if(_0xa565a0){if(_0x15a972!==void 0x0){_0x6865a4['setSubtotalType'](_0xa565a0[_0x2aae0d(0x1c2)](),_0x15a972);const _0x369335=this[_0x2aae0d(0x191)]['getDataFieldManager'](_0x3563f2[_0x2aae0d(0x19c)])[_0x2aae0d(0x2cd)]()||_0x3ed89a['getAutoDisplayName'],_0x10438f=_0x54c74c[_0x2aae0d(0x2f5)](_0x5b9b40),_0x19abad=_0x369335(_0x10438f,_0x15a972);_0x6865a4[_0x2aae0d(0x273)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x19abad);}else{if(_0x5b80cd){const _0x42471f=_0x5b80cd==null?void 0x0:_0x5b80cd[_0x2aae0d(0x22f)]();_0x6865a4[_0x2aae0d(0x30a)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x42471f===_0x3ed89a[_0x2aae0d(0x12a)][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x2b7)]);}}_0x3653aa&&_0x6865a4[_0x2aae0d(0x156)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x3653aa);}}}const _0x137210=_0x6865a4['query'](),_0x176880=_0x6865a4[_0x2aae0d(0x32c)](),_0x2814c8=_0x6865a4[_0x2aae0d(0x26e)](),_0x5f0623=_0x6865a4['endCollectChangeset'](),_0x5a478a=_0x54c74c['toJSON']();_0x4d811b[_0x2aae0d(0x1d7)]={'view':_0x137210,'fieldsConfig':_0x176880,'collectionConfig':_0x5a478a,'isEmpty':_0x2814c8,'changesets':_0x5f0623};}break;case _0x6c21f4[_0x2aae0d(0x371)]:{const _0x1648fc=_0x2bb1f6(this[_0x2aae0d(0x1a6)],_0x2b9352);if(!_0x1648fc)return;const {range:_0x3f1709,sourceSubUnitId:_0x730761,sourceUnitId:_0x5c149d,formatMap:_0x1c55ff,indexes:_0xad7975}=_0x1648fc;_0x4d811b[_0x2aae0d(0x337)]={'range':_0x3f1709,'sourceSubUnitId':_0x730761,'sourceUnitId':_0x5c149d,'formatMap':_0x1c55ff,'indexes':_0xad7975};}break;}this['_commandService'][_0x2aae0d(0x334)](_0x5e28f5['id'],{'version':_0x2b9352[_0x2aae0d(0x1bb)],'result':_0x4d811b},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x5ad50e=_0x2d3cd7;this[_0x5ad50e(0xd4)](this[_0x5ad50e(0x341)][_0x5ad50e(0x1eb)](_0x414ba7=>{const _0x4567d0=_0x5ad50e;if(_0x414ba7['id']!==_0x411e65['id'])return;const _0x52c1a9=_0x414ba7[_0x4567d0(0x9c)];return this[_0x4567d0(0x191)]['setTextInfo'](_0x52c1a9[_0x4567d0(0x347)]),!0x0;}));}[_0x2d3cd7(0x147)](){const _0xa2c5c6=_0x2d3cd7;this[_0xa2c5c6(0x191)][_0xa2c5c6(0x2e0)][_0xa2c5c6(0xe6)](_0x5f1d9c=>{const _0x1c7844=_0xa2c5c6;switch(_0x5f1d9c[_0x1c7844(0xd5)]){case _0x488eeb['add']:_0x5f1d9c[_0x1c7844(0x165)]&&_0x5f1d9c[_0x1c7844(0x301)]&&this[_0x1c7844(0x34d)](_0x5f1d9c[_0x1c7844(0x332)],_0x5f1d9c['dataRangeInfo'],_0x5f1d9c['targetCellInfo']);break;case _0x488eeb[_0x1c7844(0xa1)]:{const {unitId:_0x2e1a93,subUnitId:_0x519911,token:_0x39497f}=_0x5f1d9c;_0x2e1a93&&_0x519911&&_0x39497f&&this[_0x1c7844(0x179)](_0x2e1a93,_0x519911,_0x39497f);}break;case _0x488eeb['update']:{const {token:_0xcedbc,oldSourceRangeInfo:_0x25575d,dataRangeInfo:_0x33b336,targetCellInfo:_0x1f54da}=_0x5f1d9c,{unitId:_0xe7627a,subUnitId:_0x3f877c}=_0x25575d||{};_0xe7627a&&_0x3f877c&&_0xcedbc&&this['removeSourceRangeChange'](_0xe7627a,_0x3f877c,_0xcedbc),_0x33b336&&_0x1f54da&&this[_0x1c7844(0x34d)](_0xcedbc,_0x33b336,_0x1f54da);}break;}});}[_0x2d3cd7(0xc8)](){const _0x281f8f=_0x2d3cd7;this[_0x281f8f(0x191)]['fieldsCollectionChange$']['subscribe'](_0x134ed3=>{const _0x11e70f=_0x281f8f;Object['keys'](_0x134ed3)[_0x11e70f(0x34b)](_0x2a4657=>{const _0x22f735=_0x11e70f,_0x1fe63f=this[_0x22f735(0x191)][_0x22f735(0x103)](_0x2a4657);if(_0x1fe63f){const _0x2d1d15=this[_0x22f735(0x191)][_0x22f735(0x2e4)](_0x1fe63f==null?void 0x0:_0x1fe63f[_0x22f735(0x19c)],_0x1fe63f==null?void 0x0:_0x1fe63f['subUnitId'],_0x2a4657);_0x2d1d15&&(this[_0x22f735(0x34d)](_0x2a4657,_0x2d1d15[_0x22f735(0x281)],_0x2d1d15[_0x22f735(0x301)]),this[_0x22f735(0x1a9)]([{'unitId':_0x1fe63f[_0x22f735(0x19c)],'subUnitId':_0x1fe63f[_0x22f735(0x2da)],'token':_0x2a4657}]));}});});}[_0x2d3cd7(0x14c)](){const _0xe939ac=_0x2d3cd7;this[_0xe939ac(0x191)][_0xe939ac(0x1cb)]['subscribe'](_0x40a25d=>{const {unitId:_0x562a74,subUnitId:_0x3e19dd,pivotTableId:_0x3deac9}=_0x40a25d;_0x562a74&&_0x3e19dd&&_0x3deac9&&this['triggerDirtyFeature']([{'unitId':_0x562a74,'subUnitId':_0x3e19dd,'token':_0x3deac9}]);});}['triggerDirtyFeature'](_0x3a5d1d){const _0x1e8042=_0x2d3cd7,_0x1af353={};_0x3a5d1d[_0x1e8042(0x34b)](_0x294a78=>{var _0x44b273,_0x529616;const {unitId:_0x2466d5,subUnitId:_0x59bfc6,token:_0x5c54d8}=_0x294a78;_0x1af353[_0x2466d5]=(_0x44b273=_0x1af353[_0x2466d5])!=null?_0x44b273:{},_0x1af353[_0x2466d5][_0x59bfc6]=(_0x529616=_0x1af353[_0x2466d5][_0x59bfc6])!=null?_0x529616:{},_0x1af353[_0x2466d5][_0x59bfc6][_0x5c54d8]=!0x0;}),this['_commandService'][_0x1e8042(0x334)](_0x488c22['id'],_0x1af353);}['removeSourceRangeChange'](_0x149254,_0x2eb0e9,_0x4d8704){const _0x3a7e2d=_0x2d3cd7;this['_featureCalculationManagerService'][_0x3a7e2d(0x361)](_0x149254,_0x2eb0e9,[_0x4d8704]);}[_0x2d3cd7(0x34d)](_0x2c87a5,_0x1489f5,_0x25a84f){const _0x4a31f6=_0x2d3cd7,{unitId:_0x543389,subUnitId:_0x8db04a}=_0x1489f5;this['_featureCalculationManagerService']['has'](_0x25a84f['unitId'],_0x25a84f['subUnitId'],_0x2c87a5)&&this[_0x4a31f6(0x179)](_0x543389,_0x8db04a,_0x2c87a5);const _0x25aafc={'sheetId':_0x8db04a,..._0x1489f5};this[_0x4a31f6(0xa9)]['register'](_0x25a84f[_0x4a31f6(0x19c)],_0x25a84f[_0x4a31f6(0x2da)],_0x2c87a5,{'unitId':_0x25a84f[_0x4a31f6(0x19c)],'subUnitId':_0x25a84f[_0x4a31f6(0x2da)],'dependencyRanges':[_0x25aafc],'getDirtyData':(_0x2c530b,_0x5b39b1)=>{const _0x37627b=_0x4a31f6,_0x86862a=this[_0x37627b(0x191)],_0x3cd178=_0x86862a[_0x37627b(0x103)](_0x2c87a5);if(!_0x3cd178)return _0x1b57ac();const {unitId:_0x2d8909,subUnitId:_0x48db90}=_0x3cd178,_0x117481=_0x32a0db(_0x2c530b,_0x5b39b1,_0x1489f5);if(_0x117481[_0x37627b(0x25f)]>0x0){const _0xd1b4f5=_0x86862a[_0x37627b(0x2bb)](_0x543389,_0x2c87a5),_0x244048=_0xd1b4f5[_0x37627b(0x1df)](),_0x812bbc=this[_0x37627b(0x1d6)](_0x1489f5[_0x37627b(0x19c)],_0x1489f5[_0x37627b(0x2da)],_0x5b39b1),_0x7b9fae={},_0xf258c=this[_0x37627b(0x191)][_0x37627b(0x2d0)](_0x2d8909)['getAutoDisplayNameFunction']()||_0x3ed89a[_0x37627b(0x9e)],_0x1e8845=[];for(const _0x18e22a of _0x117481){const _0x2865c1=_0x18e22a-(_0x1489f5[_0x37627b(0x17f)][_0x37627b(0x367)]||0x0),_0x4b6eb2=_0x244048[_0x2865c1];_0x1e8845[_0x37627b(0xf8)](_0x4b6eb2),_0x7b9fae[_0x4b6eb2]=_0xd1b4f5['getFieldById'](_0x4b6eb2)['getName'](),_0x86862a[_0x37627b(0x2d0)](_0x543389)[_0x37627b(0x1a4)](_0x4b6eb2,_0x1489f5,_0x2865c1,_0x812bbc);}_0xd1b4f5[_0x37627b(0x1fc)](_0x1e8845)[_0x37627b(0x34b)](_0x5299bc=>{const _0x2431fc=_0x37627b,[_0x365761,_0x97406e]=_0x5299bc,_0x387d89=_0xd1b4f5[_0x2431fc(0x20b)](_0x365761),_0x1952c6=_0xd1b4f5['getFieldById'](_0x97406e);_0x387d89&&_0x1952c6&&_0x387d89['refreshGroupField'](_0x1952c6);}),_0xd1b4f5[_0x37627b(0x2ba)]();const _0x29d825=_0x86862a[_0x37627b(0x250)](_0x2c87a5);if(_0x29d825){_0x4421bf(_0x29d825,_0x7b9fae,_0xf258c),_0x29d825[_0x37627b(0x2e6)](!0x0);const _0x3e3873=_0x29d825['query'](),_0x97622=_0x86862a[_0x37627b(0x2e4)](_0x2d8909,_0x48db90,_0x2c87a5),_0x1c8756=_0x86862a[_0x37627b(0x2d0)](_0x543389)[_0x37627b(0x32c)]();_0x86862a[_0x37627b(0x2c1)](_0x2d8909,_0x48db90,_0x2229c0[_0x37627b(0xae)],_0x2c87a5,_0x3e3873,_0x97622,_0x1c8756,!0x0);}}return this[_0x37627b(0x34f)](_0x2d8909,_0x48db90,_0x2c87a5);}});}[_0x2d3cd7(0x1d6)](_0xc1ccca,_0x4163db,_0x8820a5){var _0x273761,_0x452f48;const {arrayFormulaCellData:_0x1390ee,unitData:_0x2a0554}=_0x8820a5,_0xf16f5a=(_0x273761=_0x1390ee==null?void 0x0:_0x1390ee[_0xc1ccca])==null?void 0x0:_0x273761[_0x4163db],_0x2081cd=(_0x452f48=_0x2a0554==null?void 0x0:_0x2a0554[_0xc1ccca])==null?void 0x0:_0x452f48[_0x4163db];return{'arrayFormulaCellDataMatrix':_0xf16f5a,'unitDataMatrix':_0x2081cd};}[_0x2d3cd7(0x34f)](_0x33d1ee,_0x51e17d,_0x572b00){const _0x1dd83e=_0x2d3cd7,_0x3e40b7=this[_0x1dd83e(0x191)]['getViewData'](_0x33d1ee,_0x51e17d,_0x572b00),_0x4de42c=[],_0x52ffe7=new _0x2814ce[(_0x1dd83e(0x15b))]();if(_0x3e40b7){const {rangeCache:_0x33dfcc,matrix:_0x9d1684,oldRangeCache:_0x24424d,oldMatrix:_0x64bab3}=_0x3e40b7,_0xf77326=_0x5e6293(_0x24424d),_0x2b42b4=_0x5e6293(_0x33dfcc);_0x4de42c[_0x1dd83e(0xf8)](..._0x2b42b4,..._0xf77326),_0x64bab3&&_0x24424d&&_0xf77326[_0x1dd83e(0x34b)](_0x288f92=>{const _0x1d670f=_0x1dd83e;for(let _0x46f51d=_0x288f92[_0x1d670f(0x338)];_0x46f51d<=_0x288f92[_0x1d670f(0x10b)];_0x46f51d++)for(let _0x1cc870=_0x288f92[_0x1d670f(0x367)];_0x1cc870<=_0x288f92[_0x1d670f(0x375)];_0x1cc870++)_0x52ffe7[_0x1d670f(0x171)](_0x46f51d,_0x1cc870);}),_0x9d1684&&_0x2b42b4&&_0x2b42b4[_0x1dd83e(0x34b)](_0x3add03=>{const _0x104545=_0x1dd83e;for(let _0x34120a=_0x3add03['startRow'];_0x34120a<=_0x3add03[_0x104545(0x10b)];_0x34120a++)for(let _0x52a82c=_0x3add03[_0x104545(0x367)];_0x52a82c<=_0x3add03[_0x104545(0x375)];_0x52a82c++)_0x52ffe7['setValue'](_0x34120a,_0x52a82c,_0x9d1684[_0x104545(0x16a)](_0x34120a,_0x52a82c));});}const _0x2622b7={};return _0x2622b7[_0x33d1ee]={[_0x51e17d]:_0x781158(_0x4de42c)},{'runtimeCellData':{[_0x33d1ee]:{[_0x51e17d]:_0x52ffe7}},'dirtyRanges':_0x2622b7};}[_0x2d3cd7(0x264)](){}};_0x3c83bb=_0x40e635([_0x362e6d(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x159003['SheetsPivotDataSourceModel'])),_0x362e6d(0x1,_0x2814ce[_0x2d3cd7(0xca)]),_0x362e6d(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x58eb5c['IFeatureCalculationManagerService'])),_0x362e6d(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x263)])),_0x362e6d(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x58eb5c['GlobalComputingStatusService'])),_0x362e6d(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)]))],_0x3c83bb);var _0x340874=Object[_0x2d3cd7(0x11f)],_0x37ad7f=(_0x4f8639,_0x508fd1,_0x36db31,_0x1c2963)=>{const _0x5cf24f=_0x2d3cd7;for(var _0x2da38b=_0x1c2963>0x1?void 0x0:_0x1c2963?_0x340874(_0x508fd1,_0x36db31):_0x508fd1,_0x41deba=_0x4f8639[_0x5cf24f(0x25f)]-0x1,_0x426c47;_0x41deba>=0x0;_0x41deba--)(_0x426c47=_0x4f8639[_0x41deba])&&(_0x2da38b=_0x426c47(_0x2da38b)||_0x2da38b);return _0x2da38b;},_0xae932=(_0x3b52d0,_0x56b610)=>(_0x50da37,_0x318031)=>_0x56b610(_0x50da37,_0x318031,_0x3b52d0);let _0x56c778=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0xa0f330,_0x4fa20b,_0x41667e,_0x28f592){const _0x50e3cf=_0x2d3cd7;super(),_0x4a4d7d(this,_0x50e3cf(0x210),new _0x2814ce['DisposableCollection']()),(this[_0x50e3cf(0x37f)]=_0xa0f330,this[_0x50e3cf(0x2f8)]=_0x4fa20b,this[_0x50e3cf(0x130)]=_0x41667e,this[_0x50e3cf(0x356)]=_0x28f592,this['_initClearSelectionCommandInterceptor']());}[_0x2d3cd7(0x25e)](){const _0x26bd49=_0x2d3cd7;this[_0x26bd49(0xd4)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x126411=>{const _0x530d6a=_0x26bd49;if(_0x126411['id']===_0x5cc6ba[_0x530d6a(0xe2)]['id']||_0x126411['id']===_0x5cc6ba[_0x530d6a(0x23b)]['id']){const _0x4846a7=[],_0x15a532=[],_0x45da40=this[_0x530d6a(0x130)][_0x530d6a(0x77)]()['map'](_0x543636=>_0x543636[_0x530d6a(0x17f)]),_0x38ee4b=_0x5cc6ba[_0x530d6a(0x22d)](this[_0x530d6a(0x37f)]);if(!_0x38ee4b)return{'redos':[],'undos':[]};const {unitId:_0x3c3c22,subUnitId:_0x36d4c5}=_0x38ee4b,_0x112bee={},_0x435068=this[_0x530d6a(0x356)][_0x530d6a(0x13f)](_0x3c3c22,_0x36d4c5);if(_0x435068!=null&&_0x435068[_0x530d6a(0x102)])for(const [_0x223dbf,_0x90b366]of _0x435068){const {unitId:_0x5ab949,subUnitId:_0x559c54,row:_0x17e900,col:_0x5173f9}=_0x90b366[_0x530d6a(0x301)];_0x5ab949===_0x38ee4b[_0x530d6a(0x19c)]&&_0x559c54===_0x38ee4b[_0x530d6a(0x2da)]&&(_0x112bee[_0x17e900+'-'+_0x5173f9]=_0x223dbf);}return _0x45da40&&_0x38ee4b&&_0x45da40[_0x530d6a(0x34b)](_0x373ba0=>{const _0x2e2666=_0x530d6a;_0x2814ce[_0x2e2666(0x280)][_0x2e2666(0x358)](_0x373ba0,(_0x4ad82f,_0x3c8ccd)=>{const _0x25d452=_0x2e2666,_0xe68541=_0x4ad82f+'-'+_0x3c8ccd;if(_0x112bee[_0xe68541]){const _0x23e895=_0x112bee[_0xe68541];_0x4846a7['push']({'id':_0x3bf3ed['id'],'params':{'unitId':_0x3c3c22,'subUnitId':_0x36d4c5,'pivotTableId':_0x23e895}});const _0x3ed687=this[_0x25d452(0x356)]['getCollection'](_0x3c3c22,_0x23e895),_0x374576=this[_0x25d452(0x356)][_0x25d452(0x2e4)](_0x3c3c22,_0x36d4c5,_0x23e895);_0x15a532[_0x25d452(0xf8)]({'id':_0x25211b['id'],'params':{'unitId':_0x3c3c22,'subUnitId':_0x36d4c5,'pivotTableId':_0x23e895,'pivotTableConfig':_0x374576,'collectionConfig':_0x3ed687}});}});}),{'redos':_0x4846a7,'undos':_0x15a532};}return{'redos':[],'undos':[]};}}));}};_0x56c778=_0x37ad7f([_0xae932(0x0,_0x2814ce[_0x2d3cd7(0x368)]),_0xae932(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)])),_0xae932(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x1fa)])),_0xae932(0x3,_0x2814ce[_0x2d3cd7(0x144)](_0x159003['SheetsPivotTableConfigModel']))],_0x56c778);var _0x12b366=Object['getOwnPropertyDescriptor'],_0x64e31=(_0x328477,_0x4fa05f,_0x5af71d,_0x44bae2)=>{const _0x2f6112=_0x2d3cd7;for(var _0x282af0=_0x44bae2>0x1?void 0x0:_0x44bae2?_0x12b366(_0x4fa05f,_0x5af71d):_0x4fa05f,_0x47c577=_0x328477[_0x2f6112(0x25f)]-0x1,_0x3cf92c;_0x47c577>=0x0;_0x47c577--)(_0x3cf92c=_0x328477[_0x47c577])&&(_0x282af0=_0x3cf92c(_0x282af0)||_0x282af0);return _0x282af0;},_0x2296d8=(_0x439c16,_0x13030c)=>(_0x1c5792,_0x155681)=>_0x13030c(_0x1c5792,_0x155681,_0x439c16);let _0x5a1f58=class extends _0x2814ce['Disposable']{constructor(_0x22f5e8,_0x256c10,_0x37844c,_0x716084,_0x1f308a,_0x4f232a){const _0x444261=_0x2d3cd7;super(),this[_0x444261(0x2f6)]=_0x22f5e8,this[_0x444261(0x2f8)]=_0x256c10,this[_0x444261(0x1a6)]=_0x37844c,this['_univerInstanceService']=_0x716084,this[_0x444261(0x356)]=_0x1f308a,this[_0x444261(0x125)]=_0x4f232a,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0xb4869b,_0x16f278,_0x3d0798){const _0x19c0d1=_0x2d3cd7,{pageView:_0x2672d7,cornerView:_0x4c85e4,rowView:_0x526f37,colView:_0x1baf7c,dataView:_0x513537}=_0x16f278,_0x25e421=_0xb4869b;let _0x48d730;if(_0x3d0798)_0x48d730=[..._0x3bc057(_0x25e421)];else{const _0xf5c957=_0x341800(_0x25e421,_0x2672d7,!0x0),_0x250d3f=_0x2672d7[_0x19c0d1(0xf1)]>=0x0?_0x2672d7[_0x19c0d1(0xf1)]+0x1:0x0,_0x2a705f=_0x4c85e4['rowCount'],_0x46fd09=_0x4c85e4[_0x19c0d1(0x1aa)],_0x5190fc=_0xf5c957[_0x19c0d1(0x25f)]>0x0?_0x1312a9:0x0,_0x27ac88=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc,'col':_0x25e421[_0x19c0d1(0x117)]},_0x4c85e4,!0x1,!0x1),_0x3ed8c0=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc+_0x2a705f,'col':_0x25e421[_0x19c0d1(0x117)]},_0x526f37,!0x1,!0x0),_0x443c30=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc,'col':_0x25e421[_0x19c0d1(0x117)]+_0x46fd09},_0x1baf7c,!0x1,!0x0),_0x2cb751=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc+_0x2a705f,'col':_0x25e421[_0x19c0d1(0x117)]+_0x46fd09},_0x513537,!0x1,!0x0);_0x48d730=[..._0xf5c957,..._0x27ac88,..._0x3ed8c0,..._0x443c30,..._0x2cb751];}return _0x48d730;}['_initCommandInterceptListener'](){const _0x535ee2=_0x2d3cd7;this['disposeWithMe'](this[_0x535ee2(0x125)][_0x535ee2(0x335)][_0x535ee2(0x21e)](this[_0x535ee2(0x125)][_0x535ee2(0x335)][_0x535ee2(0x248)]()[_0x535ee2(0x33e)],{'handler':(_0x1bd9ff,_0x12a303)=>{const _0x2ba03e=_0x535ee2,{cellInfo:_0x1c0a4a,view:_0x3ab224,isEmpty:_0x26432f}=_0x12a303,_0x5b7ec3=_0x1c0a4a,{unitId:_0x15034f,subUnitId:_0x134476}=_0x5b7ec3,_0x4e766a=this['_getPivotAppliedRanges'](_0x1c0a4a,_0x3ab224,_0x26432f),_0x47f397=this['_sheetInterceptorService'][_0x2ba03e(0x29a)]({'unitId':_0x15034f,'subUnitId':_0x134476,'ranges':_0x4e766a}),_0x517e99=_0x34a613(this[_0x2ba03e(0x1a6)],_0x15034f,_0x134476,_0x4e766a);_0x517e99[_0x2ba03e(0x249)]&&(_0x47f397[_0x2ba03e(0x220)]['push'](_0x517e99[_0x2ba03e(0x32f)]),_0x47f397[_0x2ba03e(0x10f)][_0x2ba03e(0xf8)](_0x517e99[_0x2ba03e(0x2cf)]));const _0x4dac28=this[_0x2ba03e(0x91)](_0x3ab224,_0x1c0a4a);return _0x47f397[_0x2ba03e(0x220)][_0x2ba03e(0xf8)](..._0x4dac28[_0x2ba03e(0x220)]),_0x47f397[_0x2ba03e(0x10f)][_0x2ba03e(0xf8)](..._0x4dac28[_0x2ba03e(0x10f)]),{'redos':_0x47f397[_0x2ba03e(0x220)],'undos':_0x47f397[_0x2ba03e(0x10f)]};}}));}[_0x2d3cd7(0x91)](_0x130c65,_0x22f44e){const _0x39f1cc=_0x2d3cd7,{col:_0x30a28a,unitId:_0x1bae2e,subUnitId:_0xba6cc8}=_0x22f44e,_0x247630=[],_0x53950b=[],_0x29dd33=_0x5cc6ba[_0x39f1cc(0x22d)](this[_0x39f1cc(0x37f)],{'unitId':_0x1bae2e,'subUnitId':_0xba6cc8});if(!_0x22f44e||!_0x130c65||!_0x29dd33)return{'undos':_0x53950b,'redos':_0x247630};const _0x13c32f=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x4f6fee,dataView:_0x47b657,cornerView:_0x58c9cc,rowView:_0x2d0225,formatMap:_0x4e5097}=_0x130c65,_0x16ba4b=_0x5229da(_0x4f6fee,_0x13c32f,!0x0,_0x4e5097),_0x10b3d8=_0x5229da(_0x2d0225,_0x13c32f,!0x1,_0x4e5097),_0x300c1e=_0x4af06f(_0x47b657),_0x1dfa87=_0x5225e7(_0x58c9cc),{worksheet:_0x2c3ecd}=_0x29dd33;if(typeof window<'u'&&window[_0x39f1cc(0x317)]){const _0x16b0da=_0x10c6a9[_0x39f1cc(0x2a8)]({..._0x473100[_0x39f1cc(0x11b)]}),_0x26ee7b=_0x10c6a9[_0x39f1cc(0x324)][_0x39f1cc(0x236)](_0x16ba4b,_0x16b0da)[_0x39f1cc(0x2d7)]+0x10,_0x3521f8=_0x10c6a9[_0x39f1cc(0x324)]['getTextSize'](_0x300c1e,_0x16b0da)[_0x39f1cc(0x2d7)],_0x52252a=Math[_0x39f1cc(0x126)](Math['max'](_0x26ee7b,_0x3521f8))+0x10,_0x50df2b=Math[_0x39f1cc(0x126)](_0x10c6a9['FontCache'][_0x39f1cc(0x236)](_0x10b3d8,_0x16b0da)[_0x39f1cc(0x2d7)]),_0x46be52=Math[_0x39f1cc(0x126)](_0x10c6a9[_0x39f1cc(0x324)]['getTextSize'](_0x1dfa87,_0x16b0da)[_0x39f1cc(0x2d7)]),_0x4225fa=Math[_0x39f1cc(0x2bf)](_0x50df2b,_0x46be52,0x28)+0xc,_0x155932=_0x4f6fee[_0x39f1cc(0x1aa)]+_0x58c9cc[_0x39f1cc(0x1aa)],_0x44c6a3={},_0x13f0bc={};for(let _0x3f6764=_0x30a28a;_0x3f6764<_0x30a28a+_0x155932;_0x3f6764++){const _0x2dc142=_0x2c3ecd[_0x39f1cc(0x105)](_0x3f6764);_0x44c6a3[_0x3f6764]=_0x2dc142,_0x3f6764-_0x30a28a<_0x58c9cc['colCount']?_0x13f0bc[_0x3f6764-_0x30a28a]=_0x4225fa:_0x13f0bc[_0x3f6764-_0x30a28a]=_0x52252a;}_0x247630[_0x39f1cc(0xf8)]({'id':_0x5cc6ba[_0x39f1cc(0x255)]['id'],'params':{'subUnitId':_0xba6cc8,'unitId':_0x1bae2e,'ranges':[{'startColumn':_0x30a28a,'endColumn':_0x30a28a+_0x155932-0x1,'startRow':0x0,'endRow':_0x2c3ecd[_0x39f1cc(0x1f0)]()-0x1}],'colWidth':_0x13f0bc}}),_0x53950b[_0x39f1cc(0xf8)]({'id':_0x5cc6ba[_0x39f1cc(0x255)]['id'],'params':{'subUnitId':_0xba6cc8,'unitId':_0x1bae2e,'ranges':[{'startColumn':_0x30a28a,'endColumn':_0x30a28a+_0x155932-0x1,'startRow':0x0,'endRow':_0x2c3ecd['getRowCount']()-0x1}],'colWidth':_0x44c6a3}});}return{'undos':_0x53950b,'redos':_0x247630};}};_0x5a1f58=_0x64e31([_0x2296d8(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x19f)])),_0x2296d8(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba['SheetInterceptorService'])),_0x2296d8(0x2,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x167)])),_0x2296d8(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x368)])),_0x2296d8(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x2296d8(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x346)]))],_0x5a1f58);var _0x229e52=Object[_0x2d3cd7(0x11f)],_0x4142dd=(_0x271165,_0x4e9821,_0x3af73d,_0x53010c)=>{const _0x2c23d4=_0x2d3cd7;for(var _0xd453b6=_0x53010c>0x1?void 0x0:_0x53010c?_0x229e52(_0x4e9821,_0x3af73d):_0x4e9821,_0x37b438=_0x271165[_0x2c23d4(0x25f)]-0x1,_0x560a00;_0x37b438>=0x0;_0x37b438--)(_0x560a00=_0x271165[_0x37b438])&&(_0xd453b6=_0x560a00(_0xd453b6)||_0xd453b6);return _0xd453b6;},_0x25134f=(_0x345326,_0x54858d)=>(_0x38391a,_0x532232)=>_0x54858d(_0x38391a,_0x532232,_0x345326);let _0x537899=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x2f2cf2,_0x2f3a9d,_0x27278a,_0x73d0,_0x3b7db2,_0x4bede5,_0x352a27){const _0x323a48=_0x2d3cd7;super(),_0x4a4d7d(this,_0x323a48(0x210),new _0x2814ce[(_0x323a48(0x159))]()),(this[_0x323a48(0x1a6)]=_0x2f2cf2,this[_0x323a48(0x14b)]=_0x2f3a9d,this[_0x323a48(0x341)]=_0x27278a,this[_0x323a48(0x37f)]=_0x73d0,this[_0x323a48(0x356)]=_0x3b7db2,this[_0x323a48(0x37e)]=_0x4bede5,this[_0x323a48(0x2f8)]=_0x352a27,this[_0x323a48(0x1d0)]());}[_0x2d3cd7(0x1d0)](){const _0x589531=_0x2d3cd7,_0x47fe91=(_0x4a8c7a,_0x15e7f1)=>{const _0x3bd0b6=_0x50dd,_0x502044=this[_0x3bd0b6(0x37f)][_0x3bd0b6(0x112)](_0x2814ce[_0x3bd0b6(0x234)][_0x3bd0b6(0x30e)]);if(!_0x502044||!(_0x502044==null?void 0x0:_0x502044[_0x3bd0b6(0x98)](_0x15e7f1)))return;this['disposableCollection'][_0x3bd0b6(0x264)]();const _0x53ddc8=_0x442881=>this[_0x3bd0b6(0xdf)](_0x442881,_0x4a8c7a,_0x15e7f1),_0x44bc69=this[_0x3bd0b6(0x356)][_0x3bd0b6(0x13f)](_0x4a8c7a,_0x15e7f1);if(!(_0x44bc69!=null&&_0x44bc69[_0x3bd0b6(0x102)]))return;Array['from'](_0x44bc69[_0x3bd0b6(0x1ab)]())[_0x3bd0b6(0x1e5)](_0x17f485=>{const _0x47588=_0x3bd0b6,{row:_0x46d6d3,col:_0x49f48a}=_0x17f485['targetCellInfo'];return _0x2814ce[_0x47588(0x30d)](_0x46d6d3,_0x49f48a);})[_0x3bd0b6(0x34b)](_0x2e46bf=>{const _0x16bdfd=_0x3bd0b6;this[_0x16bdfd(0x210)][_0x16bdfd(0x9d)](this[_0x16bdfd(0x14b)][_0x16bdfd(0x17b)](_0x2e46bf,_0x53ddc8,_0x4a8c7a,_0x15e7f1));});},_0x368873=()=>{const _0x4fddcb=_0x50dd,_0xc163b8=this[_0x4fddcb(0x37f)][_0x4fddcb(0x112)](_0x2814ce[_0x4fddcb(0x234)][_0x4fddcb(0x30e)]);if(_0xc163b8){const _0x458d06=_0xc163b8[_0x4fddcb(0xf0)]();if(!_0x458d06)return;_0x47fe91(_0xc163b8[_0x4fddcb(0x388)](),_0x458d06[_0x4fddcb(0x8b)]());}};this[_0x589531(0xd4)](this[_0x589531(0x341)][_0x589531(0x1eb)](_0x3eedae=>{const _0x427a5c=_0x589531;if(_0x3eedae['id']===_0x5cc6ba[_0x427a5c(0x373)]['id']){const _0x2f6c24=_0x3eedae[_0x427a5c(0x9c)],_0x1c67f9=_0x2f6c24[_0x427a5c(0x2da)],_0x14030b=_0x2f6c24[_0x427a5c(0x19c)];if(!_0x1c67f9||!_0x14030b)return;_0x47fe91(_0x14030b,_0x1c67f9);}})),this[_0x589531(0xd4)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x589531(0xe6)](_0x20f779=>{_0x20f779&&_0x368873();})),this['disposeWithMe'](this[_0x589531(0x356)][_0x589531(0x86)]['subscribe'](_0x5796cf=>{const _0x458fe3=_0x589531,_0x24c352=_0x5cc6ba[_0x458fe3(0x22d)](this[_0x458fe3(0x37f)]);if(!_0x24c352)return;const {unitId:_0x57cbee,subUnitId:_0x25db43}=_0x24c352,{unitId:_0x3f23a0,subUnitId:_0x48f768}=_0x5796cf;_0x57cbee!==_0x3f23a0||_0x25db43!==_0x48f768||_0x47fe91(_0x57cbee,_0x25db43);})),_0x368873();}[_0x2d3cd7(0xdf)](_0x585797,_0x477f08,_0x494b09){const _0x528ff0=_0x2d3cd7;switch(_0x585797['id']){case _0x5cc6ba[_0x528ff0(0x326)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x585797[_0x528ff0(0x9c)],_0x477f08,_0x494b09);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x705eca,_0x4909e4,_0xd763a){const _0x8aa5a1=_0x2d3cd7,{fromRange:_0x1b5f7e,toRange:_0x281f4a}=_0x705eca,_0x146cbe=[],_0x121e4f=[],_0x25fabd=_0x5cc6ba[_0x8aa5a1(0x22d)](this['_univerInstanceService']);if(!_0x25fabd)return{'undos':_0x121e4f,'redos':_0x146cbe};if(_0x4909e4!==_0x25fabd['unitId']||_0xd763a!==_0x25fabd[_0x8aa5a1(0x2da)])return{'undos':_0x121e4f,'redos':_0x146cbe};const _0x5aa348=this[_0x8aa5a1(0x356)]['getSubUnitPivotConfigs'](_0x4909e4,_0xd763a);if(_0x5aa348!=null&&_0x5aa348[_0x8aa5a1(0x102)])for(const [_0x5004b9,_0x29e9b3]of _0x5aa348){const {unitId:_0x347958,subUnitId:_0x31143a,row:_0x17bd5b,col:_0x1b369c}=_0x29e9b3[_0x8aa5a1(0x301)];if(_0x347958===_0x25fabd[_0x8aa5a1(0x19c)]&&_0x31143a===_0x25fabd['subUnitId']){const _0x2530c5=_0x2814ce[_0x8aa5a1(0x30d)](_0x17bd5b,_0x1b369c);if(_0x2814ce['Rectangle'][_0x8aa5a1(0x2e7)](_0x2530c5,_0x1b5f7e)){const _0x18f2ec=_0x17bd5b-_0x1b5f7e['startRow'],_0x4dbbd5=_0x1b369c-_0x1b5f7e[_0x8aa5a1(0x367)],_0x1deb3d={'row':_0x281f4a['startRow']+_0x18f2ec,'col':_0x281f4a[_0x8aa5a1(0x367)]+_0x4dbbd5};_0x146cbe['push']({'id':_0x530b7f['id'],'params':{'unitId':_0x347958,'subUnitId':_0x31143a,'pivotTableId':_0x5004b9,'targetCellPosition':_0x1deb3d}}),_0x121e4f[_0x8aa5a1(0xf8)]({'id':_0x530b7f['id'],'params':{'unitId':_0x347958,'subUnitId':_0x31143a,'pivotTableId':_0x5004b9,'targetCellPosition':{'row':_0x17bd5b,'col':_0x1b369c}}});const _0x2c92c9=_0x1deb3d[_0x8aa5a1(0x363)]-_0x17bd5b,_0x4cbdcf=_0x1deb3d[_0x8aa5a1(0x117)]-_0x1b369c,_0x4eef17=[],_0x597d8c=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x347958,_0x31143a,_0x5004b9),_0x48a973=_0x597d8c==null?void 0x0:_0x597d8c['rangesInfo'];if(_0x48a973){Object[_0x8aa5a1(0x22a)](_0x48a973)['forEach'](_0x54b5ac=>{const _0xd4d4c1=_0x8aa5a1;_0x48a973[_0x54b5ac][_0xd4d4c1(0x34b)](_0x56d930=>{const _0x138824=_0xd4d4c1,_0x42e828={..._0x56d930};_0x42e828[_0x138824(0x338)]=_0x56d930[_0x138824(0x338)]+_0x2c92c9,_0x42e828[_0x138824(0x10b)]=_0x56d930[_0x138824(0x10b)]+_0x2c92c9,_0x42e828[_0x138824(0x367)]=_0x56d930[_0x138824(0x367)]+_0x4cbdcf,_0x42e828[_0x138824(0x375)]=_0x56d930[_0x138824(0x375)]+_0x4cbdcf,_0x4eef17[_0x138824(0xf8)](_0x42e828);});});const _0x43d288=this['_sheetInterceptorService'][_0x8aa5a1(0x29a)]({'unitId':_0x347958,'subUnitId':_0x31143a,'ranges':_0x4eef17});_0x146cbe[_0x8aa5a1(0xf8)](..._0x43d288['redos']),_0x121e4f[_0x8aa5a1(0xf8)](..._0x43d288[_0x8aa5a1(0x10f)]);const _0x437ef2=_0x34a613(this[_0x8aa5a1(0x1a6)],_0x347958,_0x31143a,_0x4eef17);_0x437ef2[_0x8aa5a1(0x249)]&&(_0x146cbe[_0x8aa5a1(0xf8)](_0x437ef2['setRangeValueRedoMutation']),_0x121e4f[_0x8aa5a1(0xf8)](_0x437ef2[_0x8aa5a1(0x2cf)]));}}}}return{'redos':_0x146cbe,'undos':_0x121e4f};}};_0x537899=_0x4142dd([_0x25134f(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x25134f(0x1,_0x2814ce['Inject'](_0x5cc6ba['RefRangeService'])),_0x25134f(0x2,_0x2814ce['ICommandService']),_0x25134f(0x3,_0x2814ce[_0x2d3cd7(0x368)]),_0x25134f(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x25134f(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)])),_0x25134f(0x6,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)]))],_0x537899);var _0x5ccaca=Object[_0x2d3cd7(0x11f)],_0xbdd495=(_0x3e932f,_0x36aded,_0x2877ef,_0x5d8e67)=>{const _0x5cea31=_0x2d3cd7;for(var _0x86d32e=_0x5d8e67>0x1?void 0x0:_0x5d8e67?_0x5ccaca(_0x36aded,_0x2877ef):_0x36aded,_0x1696ee=_0x3e932f[_0x5cea31(0x25f)]-0x1,_0x1c3491;_0x1696ee>=0x0;_0x1696ee--)(_0x1c3491=_0x3e932f[_0x1696ee])&&(_0x86d32e=_0x1c3491(_0x86d32e)||_0x86d32e);return _0x86d32e;},_0x42a84d=(_0xb34e76,_0x2dd21f)=>(_0xbc6a68,_0xbd3946)=>_0x2dd21f(_0xbc6a68,_0xbd3946,_0xb34e76);let _0x5f3fb5=class extends _0x2814ce['Disposable']{constructor(_0x5006cb,_0x1b42a2){const _0x1cf14d=_0x2d3cd7;super(),this[_0x1cf14d(0x2f8)]=_0x5006cb,this[_0x1cf14d(0x356)]=_0x1b42a2,this[_0x1cf14d(0x213)]();}[_0x2d3cd7(0x213)](){const _0x3a41ba=_0x2d3cd7;this[_0x3a41ba(0xd4)](this[_0x3a41ba(0x2f8)][_0x3a41ba(0x2dd)]({'getMutations':_0x14a93d=>{const _0x1d6ae6=_0x3a41ba;if(_0x14a93d['id']===_0x5cc6ba[_0x1d6ae6(0x2eb)]['id']){const _0x112db4=[],_0x34b37f=[],_0x2aff65=_0x14a93d[_0x1d6ae6(0x9c)],{unitId:_0x296736,subUnitId:_0x5741b2}=_0x2aff65;if(!_0x296736||!_0x5741b2)return{'undos':_0x34b37f,'redos':_0x112db4};const _0x54db8e=this[_0x1d6ae6(0x356)][_0x1d6ae6(0x13f)](_0x296736,_0x5741b2);if(_0x54db8e!=null&&_0x54db8e[_0x1d6ae6(0x102)])for(const [_0x51b7be,_0x546c01]of _0x54db8e){_0x112db4[_0x1d6ae6(0xf8)]({'id':_0x3bf3ed['id'],'params':{'unitId':_0x296736,'subUnitId':_0x5741b2,'pivotTableId':_0x51b7be}});const _0xb34551={...this['_sheetsPivotTableConfigModel'][_0x1d6ae6(0x2bb)](_0x296736,_0x51b7be)};_0x34b37f['push']({'id':_0x25211b['id'],'params':{'unitId':_0x296736,'subUnitId':_0x5741b2,'pivotTableId':_0x51b7be,'pivotTableConfig':_0x546c01,'collectionConfig':_0xb34551}});}return{'redos':_0x112db4,'undos':_0x34b37f};}return{'redos':[],'undos':[]};}}));}};_0x5f3fb5=_0xbdd495([_0x42a84d(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba['SheetInterceptorService'])),_0x42a84d(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)]))],_0x5f3fb5);var _0x324a2c=Object['getOwnPropertyDescriptor'],_0x5748c3=(_0xf4b0a,_0x2dc929,_0x281c52,_0x36e4c1)=>{const _0x4b0e3a=_0x2d3cd7;for(var _0x1d7b7c=_0x36e4c1>0x1?void 0x0:_0x36e4c1?_0x324a2c(_0x2dc929,_0x281c52):_0x2dc929,_0x14fd99=_0xf4b0a[_0x4b0e3a(0x25f)]-0x1,_0x206279;_0x14fd99>=0x0;_0x14fd99--)(_0x206279=_0xf4b0a[_0x14fd99])&&(_0x1d7b7c=_0x206279(_0x1d7b7c)||_0x1d7b7c);return _0x1d7b7c;},_0x54e0b6=(_0x1ba90a,_0x24487)=>(_0x192e8f,_0xc9083b)=>_0x24487(_0x192e8f,_0xc9083b,_0x1ba90a);let _0x27dba9=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x59e06a,_0x50de2b,_0x279bad,_0x7c5421,_0x2d1b53,_0x204277){const _0x34c847=_0x2d3cd7;super(),this['_commandService']=_0x59e06a,this[_0x34c847(0x174)]=_0x50de2b,this['_sheetsPivotTableAdaptorModel']=_0x279bad,this['_sheetsPivotTableConfigModel']=_0x7c5421,this[_0x34c847(0x37f)]=_0x2d1b53,this[_0x34c847(0x231)]=_0x204277,this[_0x34c847(0x323)](),this['registerDirtyService']();}[_0x2d3cd7(0x323)](){const _0x571d2a=_0x2d3cd7;this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)]['onCommandExecuted'](_0x408abd=>{const _0x8efc9d=_0x571d2a;if(_0x408abd['id']!==_0x5e28f5['id'])return;const _0x271f05=_0x408abd[_0x8efc9d(0x9c)];this[_0x8efc9d(0x174)]['handleAsyncResponse'](_0x271f05);})),this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)]['onCommandExecuted'](_0x586832=>{const _0x3401e5=_0x571d2a;if(_0x586832['id']===_0x137307['id']){const _0xb79d5b=_0x586832[_0x3401e5(0x9c)];if(_0xb79d5b){const {unitId:_0x523e1d,subUnitId:_0x4116ec,oldSubUnitId:_0x20cf2a,pivotTableId:_0x5dbf0f,pivotTableConfig:_0x3ad2d6,collectionConfig:_0x20a693}=_0xb79d5b;this[_0x3401e5(0x356)][_0x3401e5(0x23a)](_0x523e1d,_0x20cf2a,_0xb79d5b[_0x3401e5(0x311)],null),this[_0x3401e5(0x356)][_0x3401e5(0x23a)](_0x523e1d,_0x4116ec,_0x5dbf0f,_0x3ad2d6),this[_0x3401e5(0x356)][_0x3401e5(0x1af)](_0x523e1d,_0x20a693);}}})),this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)][_0x571d2a(0x1eb)](_0x58e245=>{const _0x28cc5b=_0x571d2a;if(_0x58e245['id']!==_0x4b3f05['id'])return;const _0x5ab71c=_0x5cc6ba[_0x28cc5b(0x22d)](this[_0x28cc5b(0x37f)]);if(!_0x5ab71c)return;const {unitId:_0x2968e3,subUnitId:_0x3124c0}=_0x5ab71c,_0x170477=_0x58e245['params'];if(_0x170477['collectionConfig']&&Object[_0x28cc5b(0x22a)](_0x170477[_0x28cc5b(0x28b)])[_0x28cc5b(0x34b)](_0x1c29b2=>{const _0x327eb7=_0x28cc5b;var _0xb7130c;(_0xb7130c=_0x170477['collectionConfig'])!=null&&_0xb7130c[_0x1c29b2]&&this['_sheetsPivotTableConfigModel'][_0x327eb7(0x1af)](_0x1c29b2,_0x170477[_0x327eb7(0x28b)][_0x1c29b2]);}),_0x170477['single']){const _0x416319=_0x170477[_0x28cc5b(0x114)],{unitId:_0xad8e74,subUnitId:_0x1c99e2,view:_0x332ffe,pivotTableId:_0x5bd6b2,type:_0x14a46b,pivotConfig:_0x16de7e}=_0x416319;if(_0x14a46b===_0x2229c0[_0x28cc5b(0x15c)])this['_sheetsPivotTableAdaptorModel'][_0x28cc5b(0x1b7)]({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'pivotTableId':_0x5bd6b2,'type':_0x14a46b}),this[_0x28cc5b(0x356)][_0x28cc5b(0x23a)](_0xad8e74,_0x1c99e2,_0x5bd6b2,null);else{const _0x31af4c=new _0x3ed89a[(_0x28cc5b(0x1da))]();_0x31af4c[_0x28cc5b(0x18f)](_0x332ffe),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0xad8e74,_0x1c99e2,_0x5bd6b2,_0x16de7e),this[_0x28cc5b(0x37e)][_0x28cc5b(0x1b7)]({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'pivotTableId':_0x5bd6b2,'type':_0x14a46b,'view':_0x31af4c}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'view':_0x31af4c,'pivotTableId':_0x5bd6b2,'type':_0x14a46b});}}else _0x170477['batch']&&(_0x170477[_0x28cc5b(0x228)][_0x28cc5b(0x34b)](_0x1a803a=>{const _0x37b1c8=_0x28cc5b,{unitId:_0x5eb3b1,subUnitId:_0x7f75a2,view:_0x528436,pivotTableId:_0x2b133d,type:_0x55ca87,pivotConfig:_0x5a23e9}=_0x1a803a,_0x52a74b=new _0x3ed89a[(_0x37b1c8(0x1da))]();_0x52a74b[_0x37b1c8(0x18f)](_0x528436),this['_sheetsPivotTableConfigModel'][_0x37b1c8(0x23a)](_0x5eb3b1,_0x7f75a2,_0x2b133d,_0x5a23e9),this['_sheetsPivotTableAdaptorModel'][_0x37b1c8(0x9b)]({'unitId':_0x5eb3b1,'subUnitId':_0x7f75a2,'view':_0x52a74b,'pivotTableId':_0x2b133d,'type':_0x55ca87});}),this[_0x28cc5b(0x356)][_0x28cc5b(0x24c)]());this[_0x28cc5b(0x37e)]['markDirty'](_0x2968e3,_0x3124c0);}));}[_0x2d3cd7(0x20a)](){const _0xc4a157=_0x2d3cd7;this[_0xc4a157(0x231)][_0xc4a157(0x2fd)](_0x488c22['id'],{'commandId':_0x488c22['id'],'getDirtyData'(_0x4aabf3){const _0x4f42bb=_0xc4a157;return{'dirtyUnitFeatureMap':_0x4aabf3[_0x4f42bb(0x9c)]};}});}};_0x27dba9=_0x5748c3([_0x54e0b6(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['ICommandService'])),_0x54e0b6(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x2a7)])),_0x54e0b6(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)])),_0x54e0b6(0x3,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x54e0b6(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x368)])),_0x54e0b6(0x5,_0x58eb5c[_0x2d3cd7(0x13e)])],_0x27dba9);var _0x546695=Object[_0x2d3cd7(0xb6)],_0x5b7853=Object['getOwnPropertyDescriptor'],_0x4bf214=(_0x291f54,_0x52ea63,_0x3dfe70)=>_0x52ea63 in _0x291f54?_0x546695(_0x291f54,_0x52ea63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dfe70}):_0x291f54[_0x52ea63]=_0x3dfe70,_0x16ad13=(_0x24e2b9,_0x56f411,_0x1ccffa,_0x30f87c)=>{const _0x19682f=_0x2d3cd7;for(var _0x103161=_0x30f87c>0x1?void 0x0:_0x30f87c?_0x5b7853(_0x56f411,_0x1ccffa):_0x56f411,_0x1ee868=_0x24e2b9[_0x19682f(0x25f)]-0x1,_0x200e20;_0x1ee868>=0x0;_0x1ee868--)(_0x200e20=_0x24e2b9[_0x1ee868])&&(_0x103161=_0x200e20(_0x103161)||_0x103161);return _0x103161;},_0x216932=(_0x106796,_0x1283b1)=>(_0x116371,_0x265931)=>_0x1283b1(_0x116371,_0x265931,_0x106796),_0x393db8=(_0x324a90,_0x2587f9,_0x333769)=>_0x4bf214(_0x324a90,typeof _0x2587f9!=_0x2d3cd7(0x1d8)?_0x2587f9+'':_0x2587f9,_0x333769);_0x159003[_0x2d3cd7(0x268)]=class extends _0x2814ce['Plugin']{constructor(_0x16d944=_0x2e2525,_0x3cdb31,_0x59fe96,_0x2e6132,_0x5840f6){const _0x4b72be=_0x2d3cd7;super(),this[_0x4b72be(0x302)]=_0x16d944,this[_0x4b72be(0x1a6)]=_0x3cdb31,this[_0x4b72be(0x341)]=_0x59fe96,this[_0x4b72be(0x27f)]=_0x2e6132,this['_dataSyncPrimaryController']=_0x5840f6;const {..._0x1cced5}=_0x2814ce[_0x4b72be(0xc0)]({},_0x2e2525,this[_0x4b72be(0x302)]);this[_0x4b72be(0x27f)][_0x4b72be(0x28a)](_0x3eacdb,_0x1cced5),this[_0x4b72be(0x193)](),this[_0x4b72be(0x25c)]();}[_0x2d3cd7(0x25c)](){const _0x382122=_0x2d3cd7;var _0x5c98d2;const _0x56ef07=(_0x5c98d2=this[_0x382122(0x302)])==null?void 0x0:_0x5c98d2[_0x382122(0xb8)];this[_0x382122(0x27f)][_0x382122(0x28a)](_0x3fcf75,_0x56ef07===!0x0);}['onStarting'](){const _0x27d4b4=_0x2d3cd7;var _0x57299a;let _0x50b490=[];const _0x3575ab=(_0x57299a=this[_0x27d4b4(0x302)])==null?void 0x0:_0x57299a[_0x27d4b4(0xb8)];_0x3575ab===!0x0?_0x50b490=[[_0x159003[_0x27d4b4(0x346)]],[_0x159003[_0x27d4b4(0x2a7)]],[_0x27dba9],[_0x159003[_0x27d4b4(0x379)]],[_0x159003[_0x27d4b4(0x282)]],[_0x5f3fb5],[_0x56c778],[_0x537899],[_0x5a1f58]]:_0x3575ab===!0x1?_0x50b490=[[_0x159003[_0x27d4b4(0x187)]],[_0x3c83bb]]:_0x3575ab===void 0x0&&(_0x50b490=[[_0x159003['SheetsPivotDataSourceModel']],[_0x3c83bb],[_0x159003[_0x27d4b4(0x346)]],[_0x159003['SheetsPivotRPCService']],[_0x27dba9],[_0x159003[_0x27d4b4(0x379)]],[_0x159003[_0x27d4b4(0x282)]],[_0x5f3fb5],[_0x56c778],[_0x537899],[_0x5a1f58]]),_0x50b490['forEach'](_0x53a967=>this[_0x27d4b4(0x1a6)][_0x27d4b4(0x9d)](_0x53a967)),[_0x3c83bb,_0x27dba9,_0x159003[_0x27d4b4(0x346)],_0x56c778,_0x5f3fb5,_0x537899,_0x5a1f58]['forEach'](_0x4b1a4d=>{const _0x27f640=_0x27d4b4;this[_0x27f640(0x1a6)]['has'](_0x4b1a4d)&&this['_injector'][_0x27f640(0x33f)](_0x4b1a4d);});}['_initRegisterCommand'](){const _0x4b1a93=_0x2d3cd7;[_0xfa0d1,_0x1e55f6,_0x2bc2bb,_0x458d2a,_0x1053de,_0xe3d45c,_0x7033b1,_0x22bc39,_0x23cd38,_0x2f2cf4,_0x2228f4,_0x417b20,_0x363f51,_0x4ea26a,_0x25211b,_0x38408b,_0x3bf3ed,_0x290f89,_0x3b090e,_0x27d387,_0x175887,_0x55c8da,_0x44a6d7,_0x51c8d6,_0x564b11,_0x244b36,_0x530b7f,_0x3b71d1,_0x5e28f5,_0x4b3f05,_0x4bb57b,_0x224e89,_0x9c00fc,_0x17f918,_0x411e65,_0x574367,_0xd67a87,_0x488c22,_0x137307,_0x24d4f9,_0x225a87,_0x514954,_0x59b4c1][_0x4b1a93(0x34b)](_0x7bcbf=>{const _0x2ebeaf=_0x4b1a93;var _0x2701db;(_0x2701db=this[_0x2ebeaf(0x10c)])==null||_0x2701db[_0x2ebeaf(0x176)](_0x7bcbf),this[_0x2ebeaf(0x341)][_0x2ebeaf(0x83)](_0x7bcbf);});}},_0x393db8(_0x159003['UniverSheetsPivotTablePlugin'],_0x2d3cd7(0x35e),_0x3e4154),_0x393db8(_0x159003[_0x2d3cd7(0x268)],_0x2d3cd7(0xd5),_0x2814ce['UniverInstanceType'][_0x2d3cd7(0x30e)]),_0x159003[_0x2d3cd7(0x268)]=_0x16ad13([_0x2814ce[_0x2d3cd7(0x2f0)](_0xde1950[_0x2d3cd7(0x1fb)]),_0x216932(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x216932(0x2,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x263)])),_0x216932(0x3,_0x2814ce['IConfigService']),_0x216932(0x4,_0x2814ce['Optional'](_0x558e05[_0x2d3cd7(0x15e)]))],_0x159003[_0x2d3cd7(0x268)]),_0x159003['AddPivotFieldCommand']=_0x2bc2bb,_0x159003['AddPivotFieldMutation']=_0x290f89,_0x159003[_0x2d3cd7(0x2c8)]=_0x1e55f6,_0x159003[_0x2d3cd7(0x1e4)]=_0x25211b,_0x159003['AddPivotTableWithConfigCommand']=_0xfa0d1,_0x159003[_0x2d3cd7(0x1e7)]=_0x1312a9,_0x159003[_0x2d3cd7(0x140)]=_0x3c672e,_0x159003[_0x2d3cd7(0x1dd)]=_0x458d2a,_0x159003[_0x2d3cd7(0x146)]=_0x363f51,_0x159003[_0x2d3cd7(0x2dc)]=_0x6c21f4,_0x159003['PivotDrillDownCommand']=_0x4ea26a,_0x159003['PivotTableOperationEnum']=_0x2229c0,_0x159003[_0x2d3cd7(0x168)]=_0x488c22,_0x159003['PositionType']=_0x45e53c,_0x159003['RemovePivotFieldCommand']=_0x1053de,_0x159003[_0x2d3cd7(0xb7)]=_0x55c8da,_0x159003[_0x2d3cd7(0x2a3)]=_0x3bf3ed,_0x159003[_0x2d3cd7(0x9a)]=_0x44a6d7,_0x159003[_0x2d3cd7(0x1d2)]=_0x59b4c1,_0x159003[_0x2d3cd7(0x352)]=_0x3eacdb,_0x159003[_0x2d3cd7(0x26a)]=_0x3e4154,_0x159003[_0x2d3cd7(0x13d)]=_0x22bc39,_0x159003[_0x2d3cd7(0x1b8)]=_0x51c8d6,_0x159003['SetPivotFieldFormatMutation']=_0x17f918,_0x159003[_0x2d3cd7(0x37d)]=_0x514954,_0x159003[_0x2d3cd7(0x1d5)]=_0x2f2cf4,_0x159003[_0x2d3cd7(0x260)]=_0x175887,_0x159003[_0x2d3cd7(0x170)]=_0x244b36,_0x159003[_0x2d3cd7(0x2ea)]=_0x530b7f,_0x159003[_0x2d3cd7(0x235)]=_0x23cd38,_0x159003[_0x2d3cd7(0x2a9)]=_0x564b11,_0x159003[_0x2d3cd7(0x262)]=_0x9c00fc,_0x159003[_0x2d3cd7(0x18a)]=_0x24d4f9,_0x159003[_0x2d3cd7(0xdb)]=_0x225a87,_0x159003[_0x2d3cd7(0x38f)]=_0x7033b1,_0x159003[_0x2d3cd7(0x2b4)]=_0x4bb57b,_0x159003[_0x2d3cd7(0x132)]=_0x2228f4,_0x159003[_0x2d3cd7(0x232)]=_0xd67a87,_0x159003[_0x2d3cd7(0x1c3)]=_0x417b20,_0x159003[_0x2d3cd7(0x11e)]=_0x574367,_0x159003[_0x2d3cd7(0xdc)]=_0xe3d45c,_0x159003['UpdateValuePositionMutation']=_0x224e89,_0x159003[_0x2d3cd7(0xc3)]=_0x122f37,_0x159003[_0x2d3cd7(0x178)]=_0x404469,_0x159003[_0x2d3cd7(0x2f2)]=_0x473100,_0x159003[_0x2d3cd7(0x177)]=_0x34a613,_0x159003[_0x2d3cd7(0xaa)]=_0x341800,_0x159003['getEmptyPivotRanges']=_0x3bc057,_0x159003['getFieldListByArea']=_0x4bb0a2,_0x159003[_0x2d3cd7(0xf5)]=_0x21902f,_0x159003[_0x2d3cd7(0x1ea)]=_0x41da6f,_0x159003['getPivotInfoByLicense']=_0x104462,_0x159003[_0x2d3cd7(0x148)]=_0xd34b8d,_0x159003[_0x2d3cd7(0x21f)]=_0x5764ab,_0x159003[_0x2d3cd7(0x154)]=_0x5e6293,Object[_0x2d3cd7(0xb6)](_0x159003,Symbol[_0x2d3cd7(0x353)],{'value':_0x2d3cd7(0x34c)});}));
1
+ function _0x45c2(_0x1f43d1,_0x566078){const _0x1ff6ca=_0x1ff6();return _0x45c2=function(_0x45c2ad,_0x552258){_0x45c2ad=_0x45c2ad-0x122;let _0x5738b7=_0x1ff6ca[_0x45c2ad];return _0x5738b7;},_0x45c2(_0x1f43d1,_0x566078);}function _0x1ff6(){const _0x16cbec=['_sheetsPivotTableConfigModel','error','_initGlobalComputed','getConfig','setDataRecordCount','sheet.mutation.rename-pivot-field','bind','setSourceName','isColMultiMeasure','RemovePivotFieldCommand','isErrorValue','forEach','colInfo','16101jPhcHW','ClearSelectionContentCommand','_model','isDateGroupField','SheetsPivotTableService','YearQuarter','_sheetInterceptorService','Month','isText','LS_CONFIG_KEY','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setValue','Expand','_updatePivotTableInstanceCache','_initPivotDataGetListener','endColumn','sheet.command.add-pivot-table','set','max','getformat','sheets-pivot.dateGroup.yearMonthDate','getPivotTableCellData','MoveRangeCommand','map','count','addDirtyPivotTable','RemoveSheetMutation','RemoveField','notExecuteFormula','GrandTotal','getPivotTableInstance','updateConfig','sheet.mutation.set-pivot-collapse','column','from','subTotalStyle','_viewData','SHEET_PIVOT_EXCLUSIVE_ID','SetPivotPositionMutation','fieldIds','token','SetPivotCollapseMutation','UniverCore','resetArea','sheet.mutation.remove-pivot-table','@univerjs/engine-formula','_injector','UniverSheetsPivotTablePlugin','fontRenderExtension','getStyles','format','\x20-\x20','_sheetsPivotRpcService','getUpdateRangeDeleteIds','forValue','getPivotItemRenderInfoCache','2DGSdTz','startRow','getTableFieldById','SetPivotFilterCommand','NORMAL','_ensurePivotItemRenderValueMatrixCache','PivotErrorTypeEnum','versions','getPivotTableMatrixInfo','refreshGroupField','UpdatePivotSource','grandTotal','_activeDirtyManagerService','REF','sheet.command.move-pivot-table','amd','getUnit','size','getSheets','_config','UpdateSource','getInterceptPoints','getDataFieldManager','addPivotField','sheet.mutation.send-init-pivot-text-local','@univerjs/sheets-filter','SheetsPivotTableConfigModel','MonthDate','UpdateValuePosition','sheet.mutation.get-pivot-data-local','getFullYear','sheet.mutation.pivot-update-field-position','removeValueFilterInfo','markDirty$','_configService','@univerjs/sheets','DataField','setPivotSetting','StdDev\x20of\x20','PositionType','getRangeKey','_initLocale','maxDate','rowCount','reset','getMatrix','getValue','tableFieldId','AddPivotTableMutation','getColumnWidth','sheets-pivot.cellDateGroupDisplay.hourMinute','sheets-pivot.emptyPivot.column','Subject','_ensurePivotTableRangeInfo','parse','UpdatePivotTableSourceRangeMutation','getCellMatrix','filter','PivotTableValuePositionEnum','sheet.mutation.send-pivot-view-local','Varp\x20of\x20','endRow','sourceRangeInfo','concat','sheets-pivot.cellDateGroupDisplay.quarter','_globalSubject','disposeWithMe','#b2b2b2','width','getOriginFieldId','getPivotTableIdByCell','MUTATION','sheets-pivot.varpName','sheets-pivot.dateGroup.year','movePivotField','existing','ErrorType','setPivotFilter','getDataFieldByTableId','queryDirtyPivotTable','stdDev','_ensurePivotItemRenderInfoCache','limit\x20pivot','SHEET_PIVOT_TABLE_PLUGIN','Set','_ensurePivotTableMatrixInfo','dataRangeInfo','createDataFieldId','PivotSubtotalTypeEnum','setPivotTable','headerMap','query','Product\x20of\x20','asyncInterceptor','UpdateDateGroupCommand','_updateModelCache','getPivotDisplayConfig','ResetPivotTable','getFieldCountByArea','UniverEngineRender','sheets-pivot.dateGroup.monthDate','type','getPivotInfoByLicense','_globalComputingSrv','isNaN','getValueIndex','UniverLicensePlugin','Average\x20of\x20','getMonth','@univerjs/engine-render','fetchThroughAsyncInterceptors','originalFieldId','dimension','_init','rxjs','sheet.command.update-date-group','iterateFieldByArea','AddPivotFieldMutation','StdDevp\x20of\x20','_initViewModelBySheetInterceptor','setFieldFormat','endCollectChangeset','CellValueType','pluginName','Min\x20of\x20','PIVOT_MUTATION_GENERATE','isFeatureAuthorizedWithinTime','removeCollections','DependentOn','filterInfo','row','collectionChange$','refreshData','_deletePivotTableInstanceCache','getValuePosition','addCollectionByJSON','updatePivotSource','sheets-pivot.maxName','MovePivotField','measure','Minute','getOwnPropertyDescriptor','getColCount','find','AddField','_sheetsPivotTableAdaptorModel','addFieldWithSourceId','SetPivotCollapseCommand','defineProperty','viewData$','oldRangeInfo','body','#FFFFFF','dataFieldManagerConfig','getAutoDisplayName','pbt','SetPivotSetting','_initSnapshot','displayName','getIndexesByPathStr','minDate','sheets-pivot.cellDateGroupDisplay.year','SetPivotOptionMutation','contains','collapseInfo','intersects','getSubtotal','NotName','UpdatePivotFieldSourceInfoMutation','RemovePivotTableMutation','_updateRenderEmptyCache','AddPivotField','ptn','leafStyle','Existing','Quarter','lastRow','document','merge','setDisplayName','colCount','DataFieldManager','_initDataSendListener','@univerjs-pro/engine-pivot','SetSortInfo','sheet.mutation.add-group-collection','viewUpdate$','NO_COMMERCIAL','entries','isArray','setRangeValueUndoMutation','pushUndoRedo','PivotTableChangeTypeEnum','redos','sheet.mutation.set-pivot-value-filter','_requestResolvers','getMatrixValue','sheets-pivot.cellDateGroupDisplay.month','clearExclusiveRangesByGroupId','FontCache','getLastCol','numfmt','varp','InsertSheetUndoMutationFactory','deleteDataField','RemoveRowMutation','getLastRow','adjustSheetCellData','getDataFieldItemInfo','getFieldInfo','string','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','IUndoRedoService','setSortInfo','getId','includes','addDataFieldWithoutUnitInfo','removePivotField','cornerInfo','isDateGroupFieldJSON','toString','WOuUqgJu\x20wyUj9dqgJu(ogUyuFy,\x20dOAogUIy9)\x20{\x20\x20\x20\x20qj9\x20{\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20ogUyuFyauWJpbjqTjjb9\x20=\x20ogUyuFy.Fdogq(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20JjgHguiyFFbHy\x20=\x208eKE.dbjFy(bqJA(ogUyuFyauWJpbjqTjjb9[s]));\x20\x20\x20\x20\x20\x20\x20\x20gW\x20(!JjgHguiyFFbHy.Ow)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JjgHguiyFFbHy.Ow\x20=\x20EO1Ayj(ogUyuFyauWJpbjqTjjb9[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20gF4JjLyj\x20=\x20q9dyJW\x204JjLyjfoJAboeUJdy\x20!==\x20\x27OuwyWguyw\x27\x20&&\x20FyoW\x20guFqbuUyJW\x204JjLyjfoJAboeUJdy;\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20UJuqymq\x20=\x20gF4JjLyj\x20?\x20FyoW\x20:\x20xguwJx;\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x201yFFbHy4Jjw\x20=\x20UJuqymq.__hbFyNB__.dbjFy(ogUyuFyauWJpbjqTjjb9[s]);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x201yFFbHy\x20=\x20UJuqymq.__Xym__.FqjguHgW9(1yFFbHy4Jjw);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20FgHubqOjy4Jjw\x20=\x20UJuqymq.__hbFyNB__.dbjFy(ogUyuFyauWJpbjqTjjb9[P]);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20FgHubqOjy\x20=\x20UJuqymq.__Xym__.FqjguHgW9(FgHubqOjy4Jjw);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20FgHuVbogw\x20=\x20UJuqymq.__6yjgW9__(FgHubqOjy,\x201yFFbHy,\x20dOAogUIy9);\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20wJ1bgu\x20=\x20JjgHguiyFFbHy.w1;\x20\x20\x20\x20\x20\x20\x20\x20WOuUqgJu\x20gFvJ1bguibqUQguH(Jpbqqyju,\x20JXJFq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20dbqqyju\x20=\x20Jpbqqyju.jydobUy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20QJFq\x20=\x20JXJFq.jydobUy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20dbqqyjupbjqF\x20=\x20dbqqyju.Fdogq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20QJFqpbjqF\x20=\x20QJFq.Fdogq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gW\x20(!dbqqyju.guUoOwyF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jyqOju\x20dbqqyju\x20===\x20QJFq;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gW\x20(dbqqyjupbjqF.oyuHqQ\x20<\x20s\x20||\x20dbqqyjupbjqF[M]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jyqOju\x20WboFy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20dbqqyjueOWWgm\x20=\x20dbqqyjupbjqF.FogUy(Z).DJgu(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x20QJFqeOWWgm\x20=\x20QJFqpbjqF.FogUy(-dbqqyjupbjqF.oyuHqQ\x20+\x20Z).DJgu(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jyqOju\x20dbqqyjueOWWgm\x20===\x20QJFqeOWWgm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oyq\x20wJ1bguVbogw\x20=\x20(wJ1bgu\x20&&\x20wJ1bgu.oyuHqQ)\x20?\x20wJ1bgu.FJ1y((w1aqy1)\x20=>\x20gFvJ1bguibqUQguH(w1aqy1,\x20oJUbqgJu.QJFqub1y))\x20:\x20qjOy;\x20\x20\x20\x20\x20\x20\x20\x20gW\x20(oJUbqgJu.QJFqub1y\x20===\x20\x27oJUboQJFq\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJ1bguVbogw\x20=\x20qjOy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UJuFq\x206bogw\x20=\x20FgHuVbogw\x20&&\x20wJ1bguVbogw;\x20\x20\x20\x20\x20\x20\x20\x20jyqOju\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206bogw,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201yFFbHy:\x20JjgHguiyFFbHy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20UbqUQ\x20(yjjJj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jyqOju\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206bogw:\x20WboFy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201yFFbHy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','filterId','sheet.command.move-pivot-field','_subjectCollectionChange','getFieldListByArea','originTargetInfo','_pivotTableRangeInfo','AsyncInterceptorManager','_sheetsSelectionsService','values','sheets-pivot.varName','getFieldById','setDateType','1236204CeqKKI','updateViewData','stdDevp','addField','fromJSON','InterceptorEffectEnum','fields','setOptions','collections','panel','_initRemoveSheetCommandInterceptor','ManualFilter','IConfigService','addCollection','getDataFieldBySourceName','random','cellValue','createLabelField','Column','sortInfo','deleteField','ICommandService','sheet.command.add-pivot-field','MovePivotFieldCommand','setSubtotalType','Count\x20of\x20','DIV_BY_ZERO','getSheetFeatureLimit','pageStyle','SetPivotSortCommand','getSourceName','Column\x20','prototype','_textInfo','NUMBER','rangeKeyMap','sheets-pivot.minName','numberToABC','PivotView','setValueFilterInfo','floor','isBaseGroupField','_initCommandInterceptListener','Inject','YearMonthDate','Panel','BehaviorSubject','_ensureViewDataMap','paths','sheets-pivot.grandTotal','setPivotInitCompleted','DataSyncPrimaryController','result','Disposable','col','updatePivotTableMatrixInfo','rowStyle','AddPivotTableCommand','node','Module','remove','sheet.mutation.add-pivot-field','updateRangeKeyMap','return\x20','cornerRanges','SetFieldFormat','getFieldIds','MAX_SAFE_INTEGER','Optional','Rectangle','sheet.mutation.send-pivot-data-local','Year','getPivotTableInfo','SetPivotFieldFormatMutation','PivotDateGroupFieldDateTypeEnum','_dataSyncPrimaryController','date','lastCol','#e6ebfb','sheet.command.set-pivot-fields-config','getFieldPositionInfoById','UpdatePivotValuePositionCommand','message','subtotal','targetCellInfo','number','range','subscribe','sheets-pivot.value','broadcastCollectionChange','removeDataField','getTextInfo','Date','getEmptyPivotRanges','getInfo','fieldId','UniverProLicense','substring','_initUnitDisposed','_subjectFieldsCollectionChange','getRangeKeyList','valueFields','columnFields','updateAllDisplayName','stringify','_markDirty$','sheets-pivot.dateGroup.minute','toJSON','Delete','getMatrixFromRunTimeData','6564580nrweMI','_univerInstanceService','fieldsCollectionChange$','updateRenderCache','getPivotPerformCheck','_lifecycleService','sheet.mutation.set-pivot-format','dataStream','PivotCellStyleTypeEnum','getPivotDirtyViewInfo','InsertSheetMutation','setLabelFilterInfo','sourceName','handleAsyncResponse','sheets-pivot.averageName','SetPivotTableConfig','ObjectMatrix','unshift','sheets-pivot.subTotal','setPivotCollapse','getDataFieldId','RANGE_TYPE','serializeRangeWithSpreadsheet','replace','sheets-pivot.emptyPivot.filter','sheet.mutation.update-pivot-table-source-range','interceptCommand','PivotCallbackEnum','initDataRanges','rangeType','params','unshiftString','getIntersectsPivotTable','rowInfo','_sheetsPivotTableService','removeCollectionImp','has','getSheetCommandTarget','getPivotTableRangeInfo','RenameField','pushComputingStatusSubject','getSheetId','rowHeaderMap','cellToRange','applyChangeSet','addRecord','_ensurePivotMap','pivotConfigChange$','isDateValue','pivotInitCompleted$','NotFunction','removePivotTable','object','colHeaderMap','#f4f4f5','1419455qKcTnd','sheets-pivot.dateGroup.yearMonth','getTextSize','SheetInterceptorService','DEFAULT_WORKSHEET_ROW_COUNT','level','getViewData','generateMutationsByRanges','update','_queryingMap','getRangeStartEndInfo','UniverEngineFormula','updateViewInfo','hasOwnProperty','rowFields','startCollectChangeset','function','SetPivotSort','SetValueFilter','#eceeff','registerCommand','length','createCollectionWithDataRange','NAME','generateSetRangeValueMutations','setPivotSort','addExclusiveRange','_refRangeHandle','prefix','getSheetBySheetId','fetchThroughInterceptors','getPivotTableModelConfig','filterFields','ResetPivotFieldsConfigCommand','getFilterFieldIdByIndex','dataFields','_featureCalculationManagerService','LocaleService','_localeService','AddPivotTableWithConfigCommand','collection','registerRefRange','symbol','unionPivotViewRange','ClearSelectionAllCommand','_collectionConfigModel','dispose','_getAutoName','pageRanges','getAutoFitColumnsMutations','LifecycleService','MovePivotTableCommand','sheet.command.set-pivot-sort','IResourceManagerService','PivotTableViewDirtyMarkOperation','isBottomTotal','disposableCollection','SetSubtotalType','addPivotTableWithConfig','FieldsCollection','getPivotCellInfo','GlobalComputingStatusService','HourMinute','markDirty','INTERCEPTOR_POINT','SetPivotFilter','_subjectViewChange','_collectionChange$','version','ReleaseType','fieldsConfig','_pivotRenderInfoCache','968NWWsQQ','_viewUpdate$','setConfig','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','some','_resourceManagerService','workbook\x20is\x20not\x20found','CommandType','getRefRangeMutationsByMoveRange','drillDown','splice','_createExclusiveRange','matrix','InsertColMutation','sheet.command.set-pivot-value-filter','_initRegisterCommand','undos','getFormat','getRangeData','refreshDataField','name','SetCollapse','reduce','_exclusiveRangeService','textInfo','getFontStyleString','UpdatePivotFieldSettingCommand','sideEffectUpdateWorkerCache','SetPivotCollapse','sheet.command.set-pivot-filter','updateView','COLUMN','executeCommand','formJSON','getNoUsedDataFieldIds','getTargetByPivotTableId','AddPivotTable','_dataFieldManagerCollection','_deleteModelCache','RemovePivotField','shouldClear','getFieldDataType','hasField','Row','updateDirtyPivotTable','updateCollectionConfig','sheets-pivot.columnName','Plugin','getGroupFieldsInfoByIds','charCodeAt','uniqueDataFieldName','isDate','registerSyncingMutations','_refRangeService','Collapse','sheet.command.set-pivot-collapse','dataFieldId','_pivotTableInstanceCache','getUnitId','sheets-pivot.dateGroup.quarter','PivotDataFieldDataTypeEnum','_pivotTableMatrixInfo','Var\x20of\x20','getCurrentUnitForType','RefRangeService','@univerjs-pro/license','keys','registerPluginResource','getCellRaw','valueIndex','clearRenderCache','COMMAND','excelDateToUnixMilliseconds','setRange','rangesInfo','getTypeOfUnitDisposed$','setCollapse','generateRandomId','removeField','SheetsPivotRPCService','generateNewSheetName','getName','sheet.command.add-pivot-table-with-config','sum','YearMonth','_pivotConfigChange$','95721AaBzuW','getAdjustRangesPosition','_pivotRenderValueMatrixCache','needSameDeleteModel','_initClearSelectionCommandInterceptor','_viewData$','getSubUnitPivotMatrix','generateHexNumber','iterateField','product','toStringTag','Hour','onQueryStart','SetSheetsFilterRangeMutation','sheet.mutation.pivot-update-field-source-info','colRanges','pivotTableIndexConfig','updateConfigCache','isValue','addPivotTable','sheets-pivot.cellDateGroupDisplay.date','push','Value','SetValuePivotFilter','DisposableCollection','getHeaderMapItem','_generateUniqueVersion','getDisplayName','deepClone','sheet.command.set-pivot-field-setting','setRangeKeyMap','SetWorksheetColWidthMutation','IFeatureCalculationManagerService','UNIVER_SHEET','average','sheets-pivot.dateGroup.hourMinute','AddPivotTableWithConfig','DrillDown','updateValuePosition','setValuePivotFilter','add','BadReference','options','pivotTableId','getCollection','sheets.tabs.sheet','IUniverInstanceService','STRING','startColumn','sheets-pivot.emptyPivot.row','data','getSubUnitPivotConfigs','delete','updateFieldSourceInfo','PivotTableFiledAreaEnum','SetPivotFieldsConfigCommand','_sheetsPivotDataSourceModel','sheet.mutation.remove-group-collection','sheetName','pivotPerformCheck','_host','interceptor','getTargetByPivotId','areaInfo','CELL_CONTENT','PivotDisplayDataType','renameField','handleSourceRangeChange','SetPivotFilterMutation','getAutoDisplayNameFunction','Add','setPivotTableConfig','@univerjs/rpc','sheet.command.pivot-drill-down','SheetsPivotTableAdaptorModel','getSortInfo','PivotTable','pivotMutationGenerate','sheets-pivot.countNumsName','configVersion$','isPrefixValue','resetPivotTable','pivotTableConfigs','None','PivotDrillDownCommand','info','getDataFieldByRangeKey','getColumnCount','batch','intercept','setTextInfo','isEmpty','sheet.mutation.set-pivot-field-subtotal-type','20BCDNTs','colStyle','setRangeValueRedoMutation','collectionConfig','SheetsPivotDataSourceModel','min','@univerjs/core','register','sheets-pivot.cellDateGroupDisplay.hour','CustomCommandExecutionError','registerDirtyService','slice','_pivotInitCompleted$','getFilterInfo','sheets-pivot.dateGroup.date','mergeWorksheetSnapshotWithDefault','sequenceExecute','7234bnAPvu','iterateFieldDim','_commandService','get','sheets-pivot.emptyPivot.values','call','value','PivotFilterTypeEnum','_configVersion$','triggerDirtyFeature','Injector','deleteUnitId','dataFieldsCollection','removeSourceRangeChange','_fieldsCollectionChange$','MIN_SAFE_INTEGER','getDirtyInfo','431501dEXnTc','setName','onCommandExecuted','SetWorksheetActiveOperation','blank','Values','tuple','rangeKey','InsertRowMutation','getSheetBySheetName','getDataFieldByDataFieldId','dataStyle','_toJSON','_globalComputedEndHelpFunc','subUnitId','PivotViewCellValueTypeEnum','_initConfig','sheet.command.remove-pivot-field','next','valueFilter','UniverInstanceType','Range','sheets-pivot.stdDevpName','SetRangeValuesMutation','_initPivotTextInfo','unitId','getFieldFormat','UniverProEnginePivot','getPivotTableConfig','Tools','handleMoveRange','IActiveDirtyManagerService','Filter','sheets-pivot.dateGroup.yearQuarter','asObservable','sheets-pivot.cellDateGroupDisplay.yearMonth','_globalComputedStartHelpFunc','sheets-pivot.dateGroup.hour','_onRefRangeChange','getRowCount','cornerStyle','MoveRangeMutation','valuePosition','New'];_0x1ff6=function(){return _0x16cbec;};return _0x1ff6();}(function(_0x1b00c6,_0x365afb){const _0x397c93=_0x45c2,_0xb0dffc=_0x1b00c6();while(!![]){try{const _0x46adee=parseInt(_0x397c93(0x390))/0x1*(-parseInt(_0x397c93(0x412))/0x2)+parseInt(_0x397c93(0x322))/0x3*(parseInt(_0x397c93(0x37f))/0x4)+-parseInt(_0x397c93(0x284))/0x5+-parseInt(_0x397c93(0x1df))/0x6+parseInt(_0x397c93(0x3a1))/0x7+-parseInt(_0x397c93(0x2cc))/0x8*(parseInt(_0x397c93(0x3da))/0x9)+parseInt(_0x397c93(0x24d))/0xa;if(_0x46adee===_0x365afb)break;else _0xb0dffc['push'](_0xb0dffc['shift']());}catch(_0x4842c5){_0xb0dffc['push'](_0xb0dffc['shift']());}}}(_0x1ff6,0x280a8),function(_0xd02a69,_0x236ab5){const _0x45ba88=_0x45c2;typeof exports=='object'&&typeof module<'u'?_0x236ab5(exports,require(_0x45ba88(0x1ac)),require('@univerjs/core'),require(_0x45ba88(0x407)),require('@univerjs/sheets'),require('rxjs'),require(_0x45ba88(0x30d)),require(_0x45ba88(0x42b)),require(_0x45ba88(0x36a)),require(_0x45ba88(0x162))):typeof define==_0x45ba88(0x294)&&define[_0x45ba88(0x421)]?define(['exports',_0x45ba88(0x1ac),_0x45ba88(0x385),_0x45ba88(0x407),_0x45ba88(0x435),_0x45ba88(0x167),_0x45ba88(0x30d),_0x45ba88(0x42b),_0x45ba88(0x36a),'@univerjs/engine-render'],_0x236ab5):(_0xd02a69=typeof globalThis<'u'?globalThis:_0xd02a69||self,_0x236ab5(_0xd02a69['UniverProSheetsPivot']={},_0xd02a69[_0x45ba88(0x3bc)],_0xd02a69[_0x45ba88(0x404)],_0xd02a69[_0x45ba88(0x28f)],_0xd02a69['UniverSheets'],_0xd02a69[_0x45ba88(0x167)],_0xd02a69[_0x45ba88(0x23f)],_0xd02a69['UniverSheetsFilter'],_0xd02a69['UniverRpc'],_0xd02a69[_0x45ba88(0x158)]));}(this,function(_0x271f43,_0x5ab2d7,_0x3aab5b,_0x1cd130,_0x5b84bb,_0x2b128f,_0x2a826e,_0x4bef69,_0x2fffef,_0x2c5cc7){'use strict';const _0x6daf50=_0x45c2;var _0x27ce6d=Object[_0x6daf50(0x189)],_0x9c773c=(_0x2770e0,_0x4d1951,_0x3aec8a)=>_0x4d1951 in _0x2770e0?_0x27ce6d(_0x2770e0,_0x4d1951,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3aec8a}):_0x2770e0[_0x4d1951]=_0x3aec8a,_0x3f9e42=(_0x454dbd,_0x46b588,_0x5d5bb4)=>_0x9c773c(_0x454dbd,typeof _0x46b588!=_0x6daf50(0x2ae)?_0x46b588+'':_0x46b588,_0x5d5bb4);const _0x533439=Number['parseInt'](0x67f903e7),_0x4eaf16=0x10,_0x884d8a=0x1,_0x3a232b=_0x6daf50(0x148),_0x50ed31=0x1,_0x88dd6a='rgb(240,241,243)',_0x615ae1='rgb(255,255,255)',_0x3afd7d=_0x6daf50(0x138),_0x1f6af2=_0x6daf50(0x283),_0x1629a1=_0x6daf50(0x283),_0x2bef8a=_0x6daf50(0x297),_0x5b65ff='#1d32e9',_0x9ca638=_0x6daf50(0x18d),_0x267e74='#e6ebfa',_0x409fac='#1d32e9',_0x2f8a5a=_0x6daf50(0x18d),_0x220dfc=_0x6daf50(0x22d),_0x30b41c=0xe,_0x232a4c=0x6;var _0xdd5059=(_0x15bec6=>(_0x15bec6[_0x6daf50(0x1a3)]=_0x6daf50(0x140),_0x15bec6[_0x6daf50(0x3cc)]='new',_0x15bec6))(_0xdd5059||{});const _0x42a6ad={'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':''}}},_0x40ef3f=0x1e,_0x76bfb5={'b':{'s':0x1,'cl':{'rgb':_0x3afd7d}},'l':{'s':0x1,'cl':{'rgb':_0x3afd7d}},'r':{'s':0x1,'cl':{'rgb':_0x3afd7d}},'t':{'s':0x1,'cl':{'rgb':_0x3afd7d}}},_0x1a2a41={'bg':{'rgb':_0x88dd6a},'ht':0x2,'vt':0x2,'tb':0x1},_0x1d3c38={'bg':{'rgb':_0x615ae1},'ht':0x2,'vt':0x2,'tb':0x1},_0x34ff93={'rowStyle':{'bg':{'rgb':_0x220dfc},'bd':_0x76bfb5,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x409fac},'bd':null,'cl':{'rgb':_0x2f8a5a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x76bfb5,'bg':{'rgb':_0x267e74},'vt':0x2},'cornerStyle':{'bd':_0x76bfb5,'bg':{'rgb':_0x2bef8a},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x76bfb5,'bg':{'rgb':_0x1f6af2},'vt':0x2},'leafStyle':{'bd':_0x76bfb5,'bg':{'rgb':_0x1629a1},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5b65ff},'cl':{'rgb':_0x9ca638},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x76bfb5,'vt':0x2}};function _0xe5b251(_0x1e6de4,_0x38295b,_0x5099ec){const _0x2a6c1f=_0x6daf50,_0x36ee92=_0x1e6de4[_0x2a6c1f(0x393)](_0x3aab5b[_0x2a6c1f(0x2a9)]),_0x35e5da=_0x5099ec['split']('_');switch(_0x38295b){case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x2a6c1f(0x226)]:return _0x36ee92['t'](_0x2a6c1f(0x196),..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x181)]:return _0x36ee92['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x32d)]:return _0x36ee92['t'](_0x2a6c1f(0x387),..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x2c2)]:return _0x36ee92['t'](_0x2a6c1f(0x127),..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x23b)]:return _0x36ee92['t'](_0x2a6c1f(0x336),..._0x35e5da);case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x2a6c1f(0x3e1)]:return _0x36ee92['t'](_0x2a6c1f(0x1ba),..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x1a4)]:return _0x36ee92['t'](_0x2a6c1f(0x135),..._0x35e5da);case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x36ee92['t'](_0x2a6c1f(0x3c4),..._0x35e5da);case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:return _0x36ee92['t'](_0x2a6c1f(0x3e4),..._0x35e5da);case _0x5ab2d7[_0x2a6c1f(0x229)][_0x2a6c1f(0x3df)]:return _0x36ee92['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x35e5da);}return'';}const _0x1ac6ba=(_0x693caf,_0x2b1e6a,_0x544eb1,_0x418dae)=>{const _0x480e06=_0x6daf50;let _0x569e11;const _0x1df8d9=_0x693caf[_0x480e06(0x393)](_0x3aab5b['IUniverInstanceService'])[_0x480e06(0x30b)](_0x3aab5b['UniverInstanceType'][_0x480e06(0x343)]);if(!_0x1df8d9)return null;const _0x5cae2a=_0x1df8d9['getStyles']();let _0xd4e2da;if(_0x544eb1&&(_0xd4e2da=_0x5cae2a['setValue'](_0x544eb1)),_0x2b1e6a!=null&&_0x2b1e6a['v']||(_0x2b1e6a==null?void 0x0:_0x2b1e6a['v'])===0x0){_0x569e11||(_0x569e11={});const _0x32f139=_0x1cbd0f(_0x2b1e6a['v']);typeof _0x32f139==_0x480e06(0x234)?_0x569e11['t']=_0x3aab5b['CellValueType'][_0x480e06(0x201)]:typeof _0x32f139==_0x480e06(0x1c7)&&(_0x569e11['t']=_0x3aab5b[_0x480e06(0x16f)][_0x480e06(0x351)]),_0x569e11['v']=_0x32f139;}if((_0x2b1e6a!=null&&_0x2b1e6a['i']||(_0x2b1e6a==null?void 0x0:_0x2b1e6a['i'])===0x0)&&(_0x569e11||(_0x569e11={}),_0x569e11['fi']=_0x2b1e6a['i']),_0x2b1e6a!=null&&_0x2b1e6a['s']&&(_0x569e11||(_0x569e11={}),_0x569e11['pbt']=_0x2b1e6a['s']),_0x544eb1&&(_0x569e11||(_0x569e11={}),_0x569e11['s']=_0xd4e2da),_0x418dae&&_0x569e11!=null&&_0x569e11['v']&&_0x569e11[_0x480e06(0x190)]!==_0x5ab2d7[_0x480e06(0x255)][_0x480e06(0x3f7)]&&_0x569e11['pbt']!==_0x5ab2d7[_0x480e06(0x255)]['Subtotal']){const _0x3997df=String(_0x569e11['v']),{dateType:_0x28304a}=_0x418dae;_0x569e11['v']=_0xe5b251(_0x693caf,_0x28304a,_0x3997df),_0x569e11['t']=_0x3aab5b[_0x480e06(0x16f)]['STRING'];}return _0x569e11;},_0x489212=(_0x569214,_0x234248,_0x1cacef,_0x2687af)=>{const _0x2efd1e=_0x6daf50;var _0x23a277,_0xb9205c,_0x5373e0,_0x337483,_0x2f69b6,_0x486594,_0x5598fc,_0x400765,_0x37994b,_0x40d898,_0x1abafa,_0x8ba83a,_0x4df9d8,_0x52c468;const _0x191540=_0x1cacef[_0x2efd1e(0x233)],{cornerView:_0x3593b2,rowView:_0x15d79c,colView:_0x57a2eb,dataView:_0xd3baf5,pageView:_0x8d64ea,formatMap:_0x18b7af,groupInfo:_0xc862fc}=_0x234248,{row:_0x3e7a61,col:_0x3235ed}=_0x191540,_0x4540ad=new _0x3aab5b['ObjectMatrix'](),_0x56be9e={},_0x51ae6a={},_0x4c1cfd={},_0x122d47={},_0x4104b5={};let _0x462527=_0x3e7a61,_0x17ce64=_0x3235ed;Object['keys'](_0x8d64ea[_0x2efd1e(0x354)])[_0x2efd1e(0x3d8)](_0x21a927=>{const _0x1c5bc9=_0x2efd1e;Object[_0x1c5bc9(0x30e)](_0x8d64ea['data'][Number(_0x21a927)])[_0x1c5bc9(0x3d8)](_0x3a33cb=>{const _0x2a56fa=_0x1c5bc9,_0x3fcaa4={..._0x8d64ea[_0x2a56fa(0x354)][Number(_0x21a927)][Number(_0x3a33cb)]};_0x4540ad['setValue'](Number(_0x21a927)+_0x462527,Number(_0x3a33cb)+_0x17ce64,_0x1ac6ba(_0x569214,_0x3fcaa4,_0x34ff93[_0x2a56fa(0x1fb)]));});});const _0x437eba=Object[_0x2efd1e(0x30e)](_0x8d64ea['data'])[_0x2efd1e(0x299)];_0x462527+=_0x437eba+(_0x437eba?_0x50ed31:0x0);const _0x1b179f=_0x3593b2[_0x2efd1e(0x3c8)](),_0x4b1389=_0x3593b2[_0x2efd1e(0x183)]();for(let _0x575245=0x0;_0x575245<_0x1b179f;_0x575245++)for(let _0x30f290=0x0;_0x30f290<_0x4b1389;_0x30f290++){const _0x4f086b={...(_0xb9205c=(_0x23a277=_0x3593b2['data'])==null?void 0x0:_0x23a277[_0x575245])==null?void 0x0:_0xb9205c[_0x30f290]};_0x4f086b&&((_0x5373e0=_0x15d79c[_0x2efd1e(0x14f)][_0x30f290])!=null&&_0x5373e0[_0x2efd1e(0x334)])&&_0x30f290===_0x4b1389-0x1&&_0x575245===_0x1b179f-0x1&&(_0x4f086b['v']=''+_0x2687af[_0x2efd1e(0x237)]),_0x4540ad[_0x2efd1e(0x3e5)](_0x575245+_0x462527,_0x30f290+_0x17ce64,_0x1ac6ba(_0x569214,_0x4f086b,_0x34ff93[_0x2efd1e(0x3c9)]));}for(let _0x2ddf56=0x0;_0x2ddf56<_0x3593b2[_0x2efd1e(0x377)][_0x2efd1e(0x299)];_0x2ddf56++)_0x3593b2[_0x2efd1e(0x377)][_0x2ddf56]&&(_0x4c1cfd[''+(_0x2ddf56+_0x17ce64)]=_0x3593b2[_0x2efd1e(0x377)][_0x2ddf56]);_0x17ce64+=_0x4b1389;const _0x1e8b4a=_0x57a2eb['headerMap'],_0x5b3d5e=_0x57a2eb[_0x2efd1e(0x1c3)]()>=0x0?_0x57a2eb[_0x2efd1e(0x1c3)]()+0x1:0x0,_0x4a4384=_0x57a2eb[_0x2efd1e(0x1bd)]()>=0x0?_0x57a2eb[_0x2efd1e(0x1bd)]()+0x1:0x0;for(let _0x119f12=0x0;_0x119f12<_0x4a4384;_0x119f12++){for(let _0x484019=0x0;_0x484019<_0x5b3d5e;_0x484019++){const _0x6e382e={...(_0x2f69b6=(_0x337483=_0x57a2eb[_0x2efd1e(0x354)])==null?void 0x0:_0x337483[_0x484019])==null?void 0x0:_0x2f69b6[_0x119f12]},_0x275175=(_0x486594=_0x1e8b4a[_0x484019])==null?void 0x0:_0x486594[_0x2efd1e(0x124)],_0x229ad2=_0x18b7af[_0x275175],_0x402362=_0xc862fc[_0x275175];_0x6e382e&&(_0x6e382e['v']=_0x574731(_0x6e382e,_0x484019===0x0&&((_0x5598fc=_0x57a2eb[_0x2efd1e(0x33b)](_0x119f12+0x1))==null?void 0x0:_0x5598fc[_0x2efd1e(0x334)]),_0x229ad2,_0x2687af));let _0x2a6eeb;_0x229ad2?_0x2a6eeb={..._0x34ff93[_0x2efd1e(0x380)],'n':{'pattern':_0x229ad2}}:_0x2a6eeb={..._0x34ff93[_0x2efd1e(0x380)]},_0x4540ad[_0x2efd1e(0x3e5)](_0x484019+_0x462527,_0x119f12+_0x17ce64,_0x1ac6ba(_0x569214,_0x6e382e,_0x2a6eeb,_0x402362));}_0x57a2eb[_0x2efd1e(0x377)][_0x119f12]&&(_0x51ae6a[''+(_0x119f12+_0x17ce64)]=_0x57a2eb['info'][_0x119f12]),_0x57a2eb[_0x2efd1e(0x14f)][_0x119f12+0x1]&&(_0x4104b5[''+(_0x119f12+_0x462527+0x1)]=_0x57a2eb['headerMap'][_0x119f12+0x1]);}_0x462527+=_0x1b179f;const _0x51727a=_0x15d79c[_0x2efd1e(0x14f)],_0x2333e4=_0x15d79c[_0x2efd1e(0x1c3)]()>=0x0?_0x15d79c[_0x2efd1e(0x1c3)]()+0x1:0x0,_0x5c30e8=_0x15d79c[_0x2efd1e(0x1bd)]()>=0x0?_0x15d79c[_0x2efd1e(0x1bd)]()+0x1:0x0;for(let _0x96d8f5=0x0;_0x96d8f5<_0x2333e4;_0x96d8f5++){for(let _0x1f42bd=0x0;_0x1f42bd<_0x5c30e8;_0x1f42bd++){const _0x4b86ae={...(_0x37994b=(_0x400765=_0x15d79c[_0x2efd1e(0x354)])==null?void 0x0:_0x400765[_0x96d8f5])==null?void 0x0:_0x37994b[_0x1f42bd]},_0x2e54fe=(_0x40d898=_0x51727a[_0x1f42bd])==null?void 0x0:_0x40d898[_0x2efd1e(0x124)],_0x4692d1=_0x18b7af[_0x2e54fe],_0x45bcb5=_0xc862fc[_0x2e54fe];_0x4b86ae&&(_0x4b86ae['v']=_0x574731(_0x4b86ae,!0x1,_0x4692d1,_0x2687af));let _0xcbb212;_0x15d79c[_0x2efd1e(0x377)][_0x96d8f5][_0x2efd1e(0x289)]===_0x15d79c[_0x2efd1e(0x183)]()?_0xcbb212=_0x34ff93[_0x2efd1e(0x1a2)]:_0x15d79c[_0x2efd1e(0x377)][_0x96d8f5][_0x2efd1e(0x2bb)]?_0xcbb212=_0x15d79c[_0x2efd1e(0x377)][_0x96d8f5][_0x2efd1e(0x289)]===0x0?_0x34ff93[_0x2efd1e(0x41d)]:_0x34ff93['subTotalStyle']:_0xcbb212=_0x34ff93[_0x2efd1e(0x217)],_0x4692d1&&(_0xcbb212={..._0xcbb212,'n':{'pattern':_0x4692d1}}),_0x4540ad['setValue'](_0x96d8f5+_0x462527,_0x1f42bd+_0x3235ed,_0x1ac6ba(_0x569214,_0x4b86ae,_0xcbb212,_0x45bcb5));}_0x15d79c[_0x2efd1e(0x377)][_0x96d8f5]&&(_0x56be9e[''+(_0x96d8f5+_0x462527)]=_0x15d79c[_0x2efd1e(0x377)][_0x96d8f5]),_0x15d79c['headerMap'][_0x96d8f5]&&(_0x122d47[''+(_0x96d8f5+_0x3235ed)]=_0x15d79c[_0x2efd1e(0x14f)][_0x96d8f5]);}const _0x115b17=_0xd3baf5[_0x2efd1e(0x3c8)](),_0x3e87ea=_0xd3baf5[_0x2efd1e(0x183)]();for(let _0x3e03cf=0x0;_0x3e03cf<_0x115b17;_0x3e03cf++)for(let _0x24f499=0x0;_0x24f499<_0x3e87ea;_0x24f499++){const _0x511feb={...(_0x8ba83a=(_0x1abafa=_0xd3baf5['data'])==null?void 0x0:_0x1abafa[_0x3e03cf])==null?void 0x0:_0x8ba83a[_0x24f499]};let _0xdc327e;_0x15d79c[_0x2efd1e(0x377)][_0x3e03cf][_0x2efd1e(0x2bb)]?_0xdc327e=_0x15d79c[_0x2efd1e(0x377)][_0x3e03cf][_0x2efd1e(0x289)]===0x0?_0x34ff93[_0x2efd1e(0x41d)]:_0x34ff93[_0x2efd1e(0x3fd)]:_0xdc327e=_0x34ff93[_0x2efd1e(0x3ac)];const _0x40113e=_0x15d79c[_0x2efd1e(0x377)][_0x3e03cf][_0x2efd1e(0x311)],_0x28e55d=_0x57a2eb[_0x2efd1e(0x377)][_0x24f499][_0x2efd1e(0x311)],_0x7fc5c6=Math[_0x2efd1e(0x3ec)](_0x40113e,_0x28e55d),_0x585979=_0x1cacef[_0x2efd1e(0x2ca)][_0x2efd1e(0x244)][_0x2efd1e(0x134)]();let _0x12f2ff='';_0x7fc5c6<0x0?_0x12f2ff=(_0x4df9d8=_0x585979[0x0])!=null?_0x4df9d8:'':_0x12f2ff=(_0x52c468=_0x585979[_0x7fc5c6])!=null?_0x52c468:'';const _0x53c599=_0x18b7af[_0x12f2ff];_0x53c599&&(_0xdc327e={..._0xdc327e,'n':{'pattern':_0x53c599}}),_0x4540ad[_0x2efd1e(0x3e5)](_0x3e03cf+_0x462527,_0x24f499+_0x17ce64,_0x1ac6ba(_0x569214,_0x511feb,_0xdc327e));}return{'valueMatrix':_0x4540ad,'rowInfo':_0x56be9e,'colInfo':_0x51ae6a,'cornerInfo':_0x4c1cfd,'rowHeaderMap':_0x122d47,'colHeaderMap':_0x4104b5};};function _0x574731(_0x1db22c,_0x50ea0f,_0xbbfbb9,_0x4b2a99){const _0x586918=_0x6daf50;let _0x41c91d=_0x1db22c['v'];_0x50ea0f&&(_0x41c91d=''+_0x4b2a99[_0x586918(0x237)]);const _0xc47869=_0x1db22c['t']&&(_0x1db22c['t']&_0x5ab2d7[_0x586918(0x3b0)][_0x586918(0x3a5)])>0x0;if(_0xc47869&&(_0x41c91d=''+_0x4b2a99['sheets-pivot.blank']),_0x1db22c['s']===_0x5ab2d7[_0x586918(0x255)]['Subtotal']){let _0x2963d9=_0x41c91d,_0x49a74d='';_0x5ab2d7[_0x586918(0x372)](_0x41c91d)&&(_0x2963d9=_0x41c91d[_0x586918(0x2a0)],_0x49a74d=_0x41c91d[_0x586918(0x396)]);const _0x174652=_0xbbfbb9&&!_0xc47869?_0x3aab5b['numfmt'][_0x586918(0x40c)](_0xbbfbb9,Number(_0x2963d9)):_0x2963d9;_0x49a74d?_0x41c91d=_0x174652+'\x20'+_0x49a74d:_0x41c91d=_0x174652+'\x20'+_0x4b2a99[_0x586918(0x25f)];}else _0x1db22c['s']===_0x5ab2d7['PivotCellStyleTypeEnum'][_0x586918(0x3f7)]&&(_0x41c91d=_0x41c91d+'\x20'+_0x4b2a99[_0x586918(0x210)]);return _0x41c91d;}function _0x1cbd0f(_0x2575ec){const _0x72dccd=_0x6daf50;if(_0x5ab2d7[_0x72dccd(0x3d7)](_0x2575ec)){const {errorType:_0x513991}=_0x2575ec;switch(_0x513991){case _0x5ab2d7['PivotErrorTypeEnum']['Div0']:return _0x1cd130['ErrorType'][_0x72dccd(0x1f9)];case _0x5ab2d7[_0x72dccd(0x418)]['NotNumber']:return _0x1cd130[_0x72dccd(0x141)]['NUM'];case _0x5ab2d7[_0x72dccd(0x418)][_0x72dccd(0x27f)]:return _0x1cd130[_0x72dccd(0x141)][_0x72dccd(0x29b)];case _0x5ab2d7[_0x72dccd(0x418)][_0x72dccd(0x19c)]:return _0x1cd130[_0x72dccd(0x141)][_0x72dccd(0x29b)];case _0x5ab2d7[_0x72dccd(0x418)][_0x72dccd(0x34b)]:return _0x1cd130[_0x72dccd(0x141)][_0x72dccd(0x41f)];}}return _0x2575ec;}function _0x56e08b(_0x3acc35,_0x51a3ae,_0x37685f=!0x1,_0x5a4ccc=!0x1){const _0x2c65bb=_0x6daf50,{data:_0x1f6bd3}=_0x51a3ae,_0x236683=_0x51a3ae[_0x2c65bb(0x3c8)](),_0x4f9390=_0x51a3ae[_0x2c65bb(0x183)]();if(_0x236683<=0x0||_0x4f9390<=0x0)return[];const _0x427a7d=_0x51a3ae[_0x2c65bb(0x1bd)](),_0x1abb46=_0x51a3ae[_0x2c65bb(0x1c3)](),_0x3a1bc5=_0x5a4ccc?_0x1abb46>=0x0?_0x1abb46+0x1:0x0:_0x236683,_0x957f93=_0x5a4ccc?_0x427a7d>=0x0?_0x427a7d+0x1:0x0:_0x4f9390,{row:_0x3ec793,col:_0x561802}=_0x3acc35,_0x174325=_0x3ec793,_0x3545ca=_0x561802;if(_0x37685f){const _0x21a5d9=[];for(const [_0x3a1a17,_0x373b25]of Object[_0x2c65bb(0x1b1)](_0x1f6bd3))for(const [_0x1ab37b,_0x9baaf6]of Object['entries'](_0x373b25))_0x21a5d9[_0x2c65bb(0x337)](_0x3aab5b['cellToRange'](_0x174325+Number(_0x3a1a17),_0x3545ca+Number(_0x1ab37b)));return _0x21a5d9;}else{const _0x524b48=_0x5a4ccc?_0x3a1bc5>0x0?0x1:0x0:0x1,_0x3ecf4a=_0x5a4ccc?_0x957f93>0x0?0x1:0x0:0x1,_0x467bd8=_0x3ec793+_0x3a1bc5-_0x524b48,_0x5c6f1e=_0x561802+_0x957f93-_0x3ecf4a;return[{'startRow':_0x174325,'startColumn':_0x3545ca,'endRow':_0x467bd8,'endColumn':_0x5c6f1e}];}}const _0x332892='SHEET_PIVOT_IN_MAIN_THREAD',_0x4b122d=_0x6daf50(0x3ff);var _0x17706b=(_0x580aa8=>(_0x580aa8[_0x6daf50(0x3c1)]=_0x6daf50(0x12e),_0x580aa8['Panel']=_0x6daf50(0x1e8),_0x580aa8[_0x6daf50(0x1a0)]=_0x6daf50(0x429),_0x580aa8[_0x6daf50(0x346)]=_0x6daf50(0x346),_0x580aa8[_0x6daf50(0x2f0)]='addPivotTable',_0x580aa8['MovePivotField']=_0x6daf50(0x13f),_0x580aa8[_0x6daf50(0x2f3)]=_0x6daf50(0x1ce),_0x580aa8[_0x6daf50(0x2e8)]='setPivotCollapse',_0x580aa8[_0x6daf50(0x2c5)]='setPivotFilter',_0x580aa8[_0x6daf50(0x295)]='setPivotSort',_0x580aa8[_0x6daf50(0x191)]=_0x6daf50(0x437),_0x580aa8[_0x6daf50(0x41c)]='updatePivotSource',_0x580aa8[_0x6daf50(0x42e)]=_0x6daf50(0x348),_0x580aa8[_0x6daf50(0x347)]=_0x6daf50(0x2d5),_0x580aa8['SetValuePivotFilter']=_0x6daf50(0x349),_0x580aa8[_0x6daf50(0x25c)]=_0x6daf50(0x369),_0x580aa8[_0x6daf50(0x156)]=_0x6daf50(0x373),_0x580aa8))(_0x17706b||{});const _0x13bd35={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x6daf50(0x1fe),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x6daf50(0x160),'sheets-pivot.countName':_0x6daf50(0x1f8),'sheets-pivot.countNumsName':_0x6daf50(0x1f8),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x6daf50(0x171),'sheets-pivot.productName':_0x6daf50(0x151),'sheets-pivot.stdDevName':_0x6daf50(0x438),'sheets-pivot.stdDevpName':_0x6daf50(0x16b),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x6daf50(0x30a),'sheets-pivot.varpName':_0x6daf50(0x131),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x6daf50(0x3a5),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x6daf50(0x2f7),'sheets-pivot.emptyPivot.column':_0x6daf50(0x1f1),'sheets-pivot.emptyPivot.values':_0x6daf50(0x3a6)},_0x2929b8={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x4f637e=_0x3aab5b['createAsyncInterceptorKey'](_0x6daf50(0x35d)),_0x43df9f=_0x3aab5b['createInterceptorKey'](_0x6daf50(0x36f));var _0x284237=(_0x59c40d=>(_0x59c40d[_0x6daf50(0x34a)]=_0x6daf50(0x34a),_0x59c40d['delete']=_0x6daf50(0x356),_0x59c40d[_0x6daf50(0x28c)]=_0x6daf50(0x28c),_0x59c40d))(_0x284237||{}),_0x1ab225=(_0x4ee8c2=>(_0x4ee8c2[_0x6daf50(0x368)]=_0x6daf50(0x34a),_0x4ee8c2[_0x6daf50(0x149)]=_0x6daf50(0x3eb),_0x4ee8c2['Delete']=_0x6daf50(0x356),_0x4ee8c2))(_0x1ab225||{});const _0xba7c91={0x0:'T',0x1:'m',0x2:'Z',0x3:'q',0x4:'W',0x5:'8',0x6:'v',0x7:'9',0x8:'J',0x9:'y','M':'0','Z':'1','s':'2','P':'3','B':'4','c':'5','N':'6','n':'7','b':'a','A':'b','U':'c','w':'d','y':'e','W':'f','H':'g','Q':'h','g':'i','D':'j','L':'k','o':'l','u':'n','J':'o','d':'p','j':'r','F':'s','q':'t','O':'u','x':'w','m':'x','t':'z','T':'A','h':'B','C':'C','v':'D','R':'E','l':'F','f':'G','X':'H','a':'I','I':'K','r':'L','i':'M','E':'N','K':'O','p':'P','k':'Q','Y':'R','e':'S','z':'U','V':'V','S':'X','G':'Y'},_0x1274f4=_0x6daf50(0x1d2),_0x549956={'type':_0x3aab5b['CommandType']['MUTATION'],'id':_0x6daf50(0x42f),'handler':()=>!0x0},_0x1af275={'type':_0x3aab5b['CommandType'][_0x6daf50(0x13c)],'id':_0x6daf50(0x225),'handler':()=>!0x0},_0x261bb1={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x130),'handler':()=>!0x0},_0x19396d={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x3db2ca={'type':_0x3aab5b['CommandType'][_0x6daf50(0x13c)],'id':_0x6daf50(0x42a),'handler':()=>!0x0},_0x1d0b62=_0x46c6de=>{const _0x407895=_0x6daf50;var _0x45accf;return((_0x45accf=_0x46c6de[_0x407895(0x18c)])==null?void 0x0:_0x45accf[_0x407895(0x254)][_0x407895(0x264)](/\r\n$/,''))||'';};class _0x464dd9 extends _0x5ab2d7[_0x6daf50(0x1aa)]{constructor(_0x2ffbc1,_0x409d3a){const _0x18b32f=_0x6daf50;super(),_0x3f9e42(this,'rangeKeyMap',{}),_0x3f9e42(this,_0x18b32f(0x24e)),_0x3f9e42(this,_0x18b32f(0x35e)),(this[_0x18b32f(0x24e)]=_0x409d3a,this[_0x18b32f(0x35e)]=_0x2ffbc1);}['initDataRanges'](){const _0xdf27e3=_0x6daf50;for(const _0x248c03 in this[_0xdf27e3(0x2a7)]){const _0x5ba371=this[_0xdf27e3(0x2a7)][_0x248c03],_0x33f00a=_0x5ba371['getRangeKey']();this[_0xdf27e3(0x202)][_0x33f00a]=_0x5ba371[_0xdf27e3(0x1cb)]();}}[_0x6daf50(0x367)](){const _0x4ec6b0=_0x6daf50,_0x448830=this[_0x4ec6b0(0x35e)];return _0x155576[_0x4ec6b0(0x3d3)](_0x448830);}[_0x6daf50(0x1c1)](_0x161067){const _0xa8ab8=_0x6daf50,_0x258fe4=this['dataFields'][_0x161067]['rangeKey'];delete this[_0xa8ab8(0x2a7)][_0x161067],delete this[_0xa8ab8(0x202)][_0x258fe4];}[_0x6daf50(0x1cd)](_0x4109a9){const _0x50c776=_0x6daf50;this[_0x50c776(0x2a7)][_0x4109a9[_0x50c776(0x1cb)]()]=_0x4109a9;}[_0x6daf50(0x270)](_0x5a13bc){const _0x530cea=_0x6daf50;var _0x2fea49,_0x76d8d3;const _0x28bf9c=this[_0x530cea(0x35e)][_0x530cea(0x360)](_0x5a13bc);if(_0x28bf9c){const {unitId:_0x4e9f18,subUnitId:_0x2aee9b}=_0x28bf9c,_0x419eec=(_0x2fea49=this[_0x530cea(0x35e)][_0x530cea(0x3bd)](_0x4e9f18,_0x2aee9b,_0x5a13bc))==null?void 0x0:_0x2fea49[_0x530cea(0x133)];this[_0x530cea(0x35e)][_0x530cea(0x238)]({'token':_0x5a13bc,'type':_0x284237[_0x530cea(0x356)],'dataRangeInfo':_0x419eec});}(_0x76d8d3=this['getCollection'](_0x5a13bc))==null||_0x76d8d3['dispose'](),delete this['collections'][_0x5a13bc];}[_0x6daf50(0x43a)](_0x19c9f5,_0x21f908){const _0x5e9720=_0x6daf50,{sheetName:_0x2eb9e1,unitId:_0x1f47f1,range:_0x28326c}=_0x19c9f5,{startRow:_0xdbbbe8,endRow:_0x40f144}=_0x28326c;return _0x1cd130[_0x5e9720(0x263)](_0x1f47f1,_0x2eb9e1,{'startRow':_0xdbbbe8,'endRow':_0x40f144,'startColumn':_0x21f908,'endColumn':_0x21f908});}['getDataFieldByRangeKey'](_0x26d133){const _0x5e0fa2=_0x6daf50;return this[_0x5e0fa2(0x2a7)][this[_0x5e0fa2(0x202)][_0x26d133]];}[_0x6daf50(0x340)](_0x2a5338,_0x593338){const _0x421ca0=_0x6daf50;this[_0x421ca0(0x202)][_0x2a5338]=_0x593338;}[_0x6daf50(0x21d)](_0x40ee02,_0x4c7864){const _0x45dc25=_0x6daf50;this[_0x45dc25(0x202)][_0x4c7864]=this[_0x45dc25(0x202)][_0x40ee02],delete this['rangeKeyMap'][_0x40ee02];}[_0x6daf50(0x17c)](_0x53f946,_0x3048eb,_0x4c1a4d,_0xd28241){const _0x181da9=_0x6daf50,_0x52792b=new _0x5ab2d7[(_0x181da9(0x2bf))](this);_0x52792b[_0x181da9(0x1e3)](_0x3048eb);const _0x4fc80a=[];let _0x43aead=0x0;for(const _0x453467 of _0x52792b['fieldIds']){const _0x5a64b1=this[_0x181da9(0x43a)](_0x4c1a4d,_0x43aead),_0x1572fb=this['dataFields'][_0x453467];_0x1572fb&&(_0x1572fb[_0x181da9(0x3a8)]=_0x5a64b1,this[_0x181da9(0x340)](_0x5a64b1,_0x453467),_0x4fc80a['push']({'index':_0x43aead,'dataField':_0x1572fb})),_0x43aead++;}return this[_0x181da9(0x1ec)](_0x53f946,_0x52792b,_0x4c1a4d,_0xd28241),{'collection':_0x52792b,'updateDataFieldList':_0x4fc80a};}[_0x6daf50(0x28e)](_0x2c483e,_0x5a573b){const _0x1f7e64=_0x6daf50;return _0x2c483e[_0x1f7e64(0x26a)]===_0x3aab5b[_0x1f7e64(0x262)][_0x1f7e64(0x2eb)]?{'startRow':0x0,'startColumn':_0x2c483e[_0x1f7e64(0x352)],'endRow':_0x5a573b[_0x1f7e64(0x3c8)]()-0x1,'endColumn':_0x2c483e[_0x1f7e64(0x3e9)]}:{'startRow':_0x2c483e['startRow'],'startColumn':_0x2c483e[_0x1f7e64(0x352)],'endRow':_0x2c483e['endRow'],'endColumn':_0x2c483e[_0x1f7e64(0x3e9)]};}[_0x6daf50(0x29a)](_0x22a21b){const _0x48a8a8=_0x6daf50,{sheetName:_0x5469ae,range:_0xffa2c4}=_0x22a21b,_0x2eab2e=this[_0x48a8a8(0x24e)][_0x48a8a8(0x30b)](_0x3aab5b[_0x48a8a8(0x3b5)]['UNIVER_SHEET']),_0x3b1d50=_0x2eab2e['getSheetBySheetName'](_0x5469ae),_0x2d36dd=_0x3b1d50[_0x48a8a8(0x12d)](),{startColumn:_0x3147de,startRow:_0x2aefb4,endColumn:_0x2bc39a}=this[_0x48a8a8(0x28e)](_0xffa2c4,_0x3b1d50),_0xa6c889=_0x2eab2e[_0x48a8a8(0x40b)](),_0x1478fe=new _0x5ab2d7['FieldsCollection'](this);_0x1478fe[_0x48a8a8(0x315)](_0x22a21b);const _0x1726f6=[],_0x5e3756={};for(let _0x1db0f1=_0x3147de;_0x1db0f1<=_0x2bc39a;_0x1db0f1++){const _0xf565d4=_0x2d36dd[_0x48a8a8(0x123)](_0x2aefb4,_0x1db0f1),_0x4cef17=this[_0x48a8a8(0x43a)](_0x22a21b,_0x1db0f1),_0x1bb9a4=this[_0x48a8a8(0x378)](_0x4cef17);if(_0x1bb9a4)_0x1478fe[_0x48a8a8(0x1e2)](_0x1bb9a4['getId'](),_0x1bb9a4[_0x48a8a8(0x31d)]());else{const _0x240b1b=this['createDataFieldId']();let _0x3958a7=this[_0x48a8a8(0x1c4)](_0xf565d4,_0xa6c889,_0x5e3756);_0x5ab2d7[_0x48a8a8(0x27d)](_0x3958a7)&&(_0x3958a7=_0x3aab5b[_0x48a8a8(0x1be)][_0x48a8a8(0x40c)](_0x3958a7['f'],Number(_0x3958a7['v'])));const _0x50ed8c=this[_0x48a8a8(0x2fe)](_0x3958a7,_0x1db0f1),_0x468616=new _0x5ab2d7[(_0x48a8a8(0x436))](_0x240b1b,_0x50ed8c,_0x5ab2d7[_0x48a8a8(0x329)](0x3));_0x468616[_0x48a8a8(0x3a8)]=_0x4cef17,this[_0x48a8a8(0x2a7)][_0x240b1b]=_0x468616,_0x1478fe[_0x48a8a8(0x1e2)](_0x240b1b,_0x50ed8c),_0x1726f6['push']({'index':_0x1db0f1,'dataField':_0x468616});}}return{'updateDataFieldList':_0x1726f6,'collection':_0x1478fe};}[_0x6daf50(0x2b3)](_0x4b5f79){const _0x1f0ad9=_0x6daf50;return this[_0x1f0ad9(0x35e)]['getTextInfo']()[_0x1f0ad9(0x2fa)]+'\x20'+_0x3aab5b[_0x1f0ad9(0x204)](_0x4b5f79);}[_0x6daf50(0x2fe)](_0x2c1f01,_0x535ae2){return _0x2c1f01==null||_0x2c1f01===''?this['_getAutoName'](_0x535ae2):String(_0x2c1f01);}[_0x6daf50(0x34e)](_0x24a2ca){const _0x1fea1a=_0x6daf50;return this[_0x1fea1a(0x1e7)][_0x24a2ca];}[_0x6daf50(0x1ec)](_0x39e030,_0x903e6,_0x55781c,_0x195921){const _0x4decb9=_0x6daf50;this[_0x4decb9(0x1e7)][_0x39e030]=_0x903e6,_0x903e6[_0x4decb9(0x315)](_0x55781c),this[_0x4decb9(0x35e)]['broadcastCollectionChange']({'token':_0x39e030,'type':_0x284237[_0x4decb9(0x34a)],'dataRangeInfo':_0x55781c,'targetCellInfo':_0x195921});}['handleMoveRange'](_0x2f5544,_0x377f4d){const _0x5f39f6=_0x6daf50,_0x157526=this[_0x5f39f6(0x34e)](_0x2f5544),_0x346988=_0x157526[_0x5f39f6(0x221)]();let _0x2d7c65=0x0;for(const _0x1ad218 of _0x346988){const _0x233e54=_0x157526[_0x5f39f6(0x1dd)](_0x1ad218),_0x1a38e3=this[_0x5f39f6(0x43a)](_0x377f4d,_0x2d7c65);this[_0x5f39f6(0x21d)](_0x233e54[_0x5f39f6(0x3a8)],_0x1a38e3),_0x2d7c65++;}}[_0x6daf50(0x256)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x6daf50(0x40f)](_0x184a26,_0x32d24d){const _0x551d9d=_0x6daf50;if(this[_0x551d9d(0x34e)](_0x184a26)){const _0x91618f=this[_0x551d9d(0x243)](_0x32d24d),_0x88becd=[];for(const _0x2b2306 of _0x91618f)this[_0x551d9d(0x202)][_0x2b2306]!==void 0x0&&_0x88becd[_0x551d9d(0x337)](this['rangeKeyMap'][_0x2b2306]);const _0x566496=this[_0x551d9d(0x2ee)](_0x184a26),_0x5ae6f3=[],_0xb8a7ff=new Set(_0x88becd);for(const _0x16a7fa of _0x566496)_0xb8a7ff[_0x551d9d(0x271)](_0x16a7fa)||_0x5ae6f3[_0x551d9d(0x337)](_0x16a7fa);return _0x5ae6f3;}}[_0x6daf50(0x1b9)](_0x584732,_0x34393b,_0x1cbcd9,_0x22b6f8,_0x13bd61){const _0x52411e=_0x6daf50;return _0x34393b&&_0x34393b[_0x52411e(0x123)](_0x22b6f8,_0x13bd61)?_0x34393b['getValue'](_0x22b6f8,_0x13bd61):_0x1cbcd9&&_0x1cbcd9[_0x52411e(0x123)](_0x22b6f8,_0x13bd61)?_0x1cbcd9[_0x52411e(0x123)](_0x22b6f8,_0x13bd61):_0x584732[_0x52411e(0x123)](_0x22b6f8,_0x13bd61);}[_0x6daf50(0x2df)](_0x133b6d,_0x47d4b6,_0x990882,_0x489809){const _0x38796f=_0x6daf50,_0x559e04=this['dataFields'][_0x133b6d];if(!_0x559e04)return;const {subUnitId:_0x10420d,range:_0x545e8c,unitId:_0xad5a1f}=_0x47d4b6,_0x99880=this[_0x38796f(0x24e)][_0x38796f(0x422)](_0xad5a1f);if(!_0x99880){console['error'](_0x38796f(0x2d2));return;}const _0x5d8394=_0x99880[_0x38796f(0x2a1)](_0x10420d),_0xb6473a=_0x5d8394[_0x38796f(0x12d)](),{arrayFormulaCellDataMatrix:_0x15c177,unitDataMatrix:_0x3952ea}=_0x489809||{},{startRow:_0x38f82e,startColumn:_0x4b66e8,endRow:_0x373b0a}=this[_0x38796f(0x28e)](_0x545e8c,_0x5d8394);_0x559e04[_0x38796f(0x43e)]();const _0x4cd86e=_0x99880[_0x38796f(0x40b)](),_0x44994b={},_0x491ed4=this[_0x38796f(0x1b9)](_0xb6473a,_0x15c177,_0x3952ea,_0x38f82e,_0x4b66e8+_0x990882);let _0x559654=this[_0x38796f(0x1c4)](_0x491ed4,_0x4cd86e,_0x44994b);_0x5ab2d7[_0x38796f(0x27d)](_0x559654)&&(_0x559654=_0x3aab5b['numfmt'][_0x38796f(0x40c)](_0x559654['f'],Number(_0x559654['v'])));const _0x5b5759=this['uniqueDataFieldName'](_0x559654,_0x4b66e8+_0x990882);_0x559e04[_0x38796f(0x3a2)](_0x5b5759);for(let _0x1c008c=_0x38f82e+0x1;_0x1c008c<=_0x373b0a;_0x1c008c++){const _0x30fdcb=this[_0x38796f(0x1b9)](_0xb6473a,_0x15c177,_0x3952ea,_0x1c008c,_0x4b66e8+_0x990882);_0x559e04[_0x38796f(0x27a)](this[_0x38796f(0x1c4)](_0x30fdcb,_0x4cd86e,_0x44994b),_0x1c008c-0x1-_0x38f82e);}}[_0x6daf50(0x179)](_0x2a613b,_0x196265,_0x45e938){const _0x34d37e=_0x6daf50,{subUnitId:_0xdc55e,range:_0x395a53,unitId:_0x526f51}=_0x45e938,_0x427495=this[_0x34d37e(0x24e)][_0x34d37e(0x422)](_0x526f51);if(!_0x427495){console['error'](_0x34d37e(0x2d2));return;}const _0x1ebe26=_0x427495[_0x34d37e(0x2a1)](_0xdc55e),_0x1c68b1=_0x1ebe26['getCellMatrix'](),{startRow:_0x2cb2d5,startColumn:_0x3f46a8,endRow:_0xdf94f7}=this[_0x34d37e(0x28e)](_0x395a53,_0x1ebe26),_0xc7d59e=_0x427495[_0x34d37e(0x40b)](),_0x557449={};for(const {dataField:_0xdf92dc,index:_0x4b7882}of _0x196265){_0xdf92dc[_0x34d37e(0x43e)]();const _0x33c1f2=this[_0x34d37e(0x1b9)](_0x1c68b1,void 0x0,void 0x0,_0x2cb2d5,_0x3f46a8+_0x4b7882);let _0x246770=this[_0x34d37e(0x1c4)](_0x33c1f2,_0xc7d59e,_0x557449);_0x5ab2d7['isDateValue'](_0x246770)&&(_0x246770=_0x3aab5b[_0x34d37e(0x1be)]['format'](_0x246770['f'],Number(_0x246770['v'])));const _0xbfa41a=this[_0x34d37e(0x2fe)](_0x246770,_0x3f46a8+_0x4b7882);_0xdf92dc[_0x34d37e(0x3a2)](_0xbfa41a);}_0x2a613b[_0x34d37e(0x246)]();for(let _0x3e5896=_0x2cb2d5+0x1;_0x3e5896<=_0xdf94f7;_0x3e5896++)for(const {index:_0x44f157,dataField:_0x1e3fb7}of _0x196265){const _0x43cdb8=_0x1c68b1[_0x34d37e(0x123)](_0x3e5896,_0x3f46a8+_0x44f157);_0x1e3fb7['addRecord'](this[_0x34d37e(0x1c4)](_0x43cdb8,_0xc7d59e,_0x557449),_0x3e5896-0x1-_0x2cb2d5);}_0x2a613b[_0x34d37e(0x3d1)](_0xdf94f7-_0x2cb2d5);}[_0x6daf50(0x243)](_0x473a19){const _0x155be7=_0x6daf50,{range:_0x32ae5c}=_0x473a19,{startColumn:_0x564773,endColumn:_0x24e899}=_0x32ae5c,_0x3a8ed7=[];for(let _0x56264d=_0x564773;_0x56264d<=_0x24e899;_0x56264d++)_0x3a8ed7[_0x155be7(0x337)](this[_0x155be7(0x43a)](_0x473a19,_0x56264d));return _0x3a8ed7;}['adjustSheetCellData'](_0x52833c,_0x1fc85b,_0x50d607){const _0x12e2be=_0x6daf50;if(_0x52833c){const {s:_0x5089be,v:_0xe65913,t:_0x3b89c5,p:_0x42b68d}=_0x52833c;if(_0x42b68d)return _0x1d0b62(_0x42b68d);const _0x1b84d7=_0x1fc85b[_0x12e2be(0x393)](_0x5089be);if(_0x1b84d7&&_0x3b89c5===_0x3aab5b[_0x12e2be(0x16f)][_0x12e2be(0x201)]&&_0x1b84d7['n']){const {pattern:_0x5891bd}=_0x1b84d7['n'];_0x50d607[_0x5891bd]||(_0x50d607[_0x5891bd]=_0x3aab5b[_0x12e2be(0x1be)][_0x12e2be(0x23d)](_0x5891bd));const _0x5d4101=_0x50d607[_0x5891bd],_0x172c6b=_0x5d4101[_0x12e2be(0x2ff)];if(_0x5d4101[_0x12e2be(0x3e2)])return String(_0xe65913);if(_0x172c6b)return{'v':_0xe65913,'f':_0x5891bd};}if(_0x3b89c5===_0x3aab5b['CellValueType'][_0x12e2be(0x201)])return Number(_0xe65913);if(_0x3b89c5===_0x3aab5b[_0x12e2be(0x16f)][_0x12e2be(0x351)]||_0x3b89c5===_0x3aab5b[_0x12e2be(0x16f)]['FORCE_STRING'])return String(_0xe65913);if(_0x3b89c5===void 0x0){const _0xa1ba0c=Number(_0xe65913);if(!Number[_0x12e2be(0x15d)](_0xa1ba0c)&&String(_0xa1ba0c)===_0xe65913)return _0xa1ba0c;}return _0xe65913!=null?_0xe65913:null;}else return null;}[_0x6daf50(0x2de)](_0x292e09){const _0x56aa95=_0x6daf50,{sheetName:_0x4a922c,range:_0x114b72,unitId:_0xbc36a9}=_0x292e09,_0x7dd25d=this[_0x56aa95(0x24e)]['getUnit'](_0xbc36a9);if(!_0x7dd25d)return console[_0x56aa95(0x3ce)](_0x56aa95(0x2d2)),{'header':[],'data':[]};const _0x19b93e=_0x7dd25d[_0x56aa95(0x3aa)](_0x4a922c),_0x1b7f18=_0x19b93e[_0x56aa95(0x12d)](),{startRow:_0x3fdb3b,startColumn:_0x46956e,endRow:_0x29c68d,endColumn:_0x14e6e2}=this[_0x56aa95(0x28e)](_0x114b72,_0x19b93e),_0x99cc5a=_0x7dd25d['getStyles'](),_0x2b8660=[],_0x42df3a=[],_0x2517a0={};for(let _0x5c52ed=_0x3fdb3b;_0x5c52ed<=_0x29c68d;_0x5c52ed++){const _0x8faf68=[];for(let _0x5b37e3=_0x46956e;_0x5b37e3<=_0x14e6e2;_0x5b37e3++){const _0x5d3eea=_0x1b7f18[_0x56aa95(0x123)](_0x5c52ed,_0x5b37e3);_0x5c52ed===_0x3fdb3b?_0x2b8660[_0x56aa95(0x337)](_0x5d3eea==null?null:String(_0x5d3eea['v'])):_0x8faf68[_0x56aa95(0x337)](this[_0x56aa95(0x1c4)](_0x5d3eea,_0x99cc5a,_0x2517a0));}_0x42df3a[_0x56aa95(0x337)](_0x8faf68);}return{'header':_0x2b8660,'data':_0x42df3a};}[_0x6daf50(0x24a)](){const _0x270ff9=_0x6daf50;return super[_0x270ff9(0x24a)]();}[_0x6daf50(0x1e3)](_0x29f79c){const _0x446cdc=_0x6daf50;super['fromJSON'](_0x29f79c),this[_0x446cdc(0x269)]();}[_0x6daf50(0x2b2)](){const _0x458c7d=_0x6daf50;super[_0x458c7d(0x2b2)](),this[_0x458c7d(0x202)]={},this['_host']=null;}}const _0x238c93=_0x5e972c=>{const _0xd81c39=_0x6daf50,{targetCellInfo:_0xfa74b7}=_0x5e972c,{matrixCache:_0x1d7078,rangesCache:_0x39b34e}=_0x43512b({'filter':'Filter','row':_0xd81c39(0x2f7),'column':_0xd81c39(0x1f1),'values':_0xd81c39(0x3a6)},_0xfa74b7),_0x6e07bc=new _0x3aab5b[(_0xd81c39(0x25d))]();return _0x1d7078[_0xd81c39(0x410)]((_0x4b61d5,_0x85dc4c,_0x36c6a0)=>{_0x6e07bc['setValue'](_0x4b61d5,_0x85dc4c,_0x36c6a0);}),{'matrix':_0x6e07bc,'rangesCache':_0x39b34e};},_0x1e9277=_0x55000b=>{const _0x45e4b4=_0x6daf50;let _0x23ccee;if(_0x55000b!=null&&_0x55000b['v']||(_0x55000b==null?void 0x0:_0x55000b['v'])===0x0){_0x23ccee||(_0x23ccee={});const _0x1cdbf8=_0x1cbd0f(_0x55000b['v']);typeof _0x1cdbf8==_0x45e4b4(0x234)?_0x23ccee['t']=_0x3aab5b[_0x45e4b4(0x16f)][_0x45e4b4(0x201)]:typeof _0x1cdbf8==_0x45e4b4(0x1c7)&&(_0x23ccee['t']=_0x3aab5b['CellValueType']['STRING']),_0x23ccee['v']=_0x1cdbf8;}return _0x23ccee;},_0x4af3fb=(_0xdad184,_0x1c024f,_0x5629e9)=>{const _0x2258dc=_0x6daf50;var _0x263bdc,_0x473334,_0x21c4fd,_0x2a42a3,_0xc6fad4,_0x47b096,_0x4ed55f,_0x57526c,_0x3a6f59,_0x2b7f40,_0x4a94b2,_0x29d5e3;const {cornerView:_0x2e6b84,rowView:_0xda7479,colView:_0x17bd56,dataView:_0x13146f,pageView:_0x2ce13b,formatMap:_0x36642d}=_0xdad184,{row:_0x308616,col:_0x2775ba}=_0x1c024f,_0x2d89f6=new _0x3aab5b[(_0x2258dc(0x25d))]();let _0x50c5b0=_0x308616,_0xe0a7ef=_0x2775ba;Object[_0x2258dc(0x30e)](_0x2ce13b[_0x2258dc(0x354)])[_0x2258dc(0x3d8)](_0x22adaf=>{const _0x89a437=_0x2258dc;Object[_0x89a437(0x30e)](_0x2ce13b[_0x89a437(0x354)][Number(_0x22adaf)])[_0x89a437(0x3d8)](_0x593fa9=>{const _0x50b4f7=_0x89a437,_0x1268c5={..._0x2ce13b['data'][Number(_0x22adaf)][Number(_0x593fa9)]};_0x2d89f6[_0x50b4f7(0x3e5)](Number(_0x22adaf)+_0x50c5b0,Number(_0x593fa9)+_0xe0a7ef,_0x1e9277(_0x1268c5));});});const _0x20d4e3=Object[_0x2258dc(0x30e)](_0x2ce13b[_0x2258dc(0x354)])[_0x2258dc(0x299)];_0x50c5b0+=_0x20d4e3+(_0x20d4e3?_0x50ed31:0x0);const _0x1e21fa=_0x2e6b84[_0x2258dc(0x3c8)](),_0x26072c=_0x2e6b84[_0x2258dc(0x183)]();for(let _0x129211=0x0;_0x129211<_0x1e21fa;_0x129211++)for(let _0x2ec02d=0x0;_0x2ec02d<_0x26072c;_0x2ec02d++){const _0x88d698={...(_0x473334=(_0x263bdc=_0x2e6b84['data'])==null?void 0x0:_0x263bdc[_0x129211])==null?void 0x0:_0x473334[_0x2ec02d]};_0x88d698&&((_0x21c4fd=_0xda7479[_0x2258dc(0x14f)][_0x2ec02d])!=null&&_0x21c4fd[_0x2258dc(0x334)])&&_0x2ec02d===_0x26072c-0x1&&_0x129211===_0x1e21fa-0x1&&(_0x88d698['v']=''+_0x5629e9[_0x2258dc(0x237)]),_0x2d89f6[_0x2258dc(0x3e5)](_0x129211+_0x50c5b0,_0x2ec02d+_0xe0a7ef,_0x1e9277(_0x88d698));}_0xe0a7ef+=_0x26072c;const _0x2b11b4=_0x17bd56['headerMap'],_0x5de74a=_0x17bd56['getLastRow']()>=0x0?_0x17bd56[_0x2258dc(0x1c3)]()+0x1:0x0,_0x4ee424=_0x17bd56['getLastCol']()>=0x0?_0x17bd56['getLastCol']()+0x1:0x0;for(let _0x3b3dc8=0x0;_0x3b3dc8<_0x4ee424;_0x3b3dc8++)for(let _0x586b5a=0x0;_0x586b5a<_0x5de74a;_0x586b5a++){const _0x24b34e={...(_0xc6fad4=(_0x2a42a3=_0x17bd56[_0x2258dc(0x354)])==null?void 0x0:_0x2a42a3[_0x3b3dc8])==null?void 0x0:_0xc6fad4[_0x586b5a]},_0x4fd1b7=(_0x47b096=_0x2b11b4[_0x3b3dc8])==null?void 0x0:_0x47b096[_0x2258dc(0x124)],_0x466d44=_0x36642d[_0x4fd1b7];_0x24b34e&&(_0x24b34e['v']=_0x574731(_0x24b34e,_0x3b3dc8===0x0&&((_0x4ed55f=_0x17bd56[_0x2258dc(0x33b)](_0x586b5a+0x1))==null?void 0x0:_0x4ed55f[_0x2258dc(0x334)]),_0x466d44,_0x5629e9)),_0x2d89f6['setValue'](_0x3b3dc8+_0x50c5b0,_0x586b5a+_0xe0a7ef,_0x1e9277(_0x24b34e));}_0x50c5b0+=_0x1e21fa;const _0x450e66=_0xda7479['headerMap'],_0x43749e=_0xda7479[_0x2258dc(0x1c3)]()>=0x0?_0xda7479[_0x2258dc(0x1c3)]()+0x1:0x0,_0x554155=_0xda7479['getLastCol']()>=0x0?_0xda7479['getLastCol']()+0x1:0x0;for(let _0x3761c6=0x0;_0x3761c6<_0x43749e;_0x3761c6++)for(let _0x3d4eb5=0x0;_0x3d4eb5<_0x554155;_0x3d4eb5++){const _0x100238={...(_0x3a6f59=(_0x57526c=_0xda7479['data'])==null?void 0x0:_0x57526c[_0x3761c6])==null?void 0x0:_0x3a6f59[_0x3d4eb5]},_0x3a62fa=(_0x2b7f40=_0x450e66[_0x3d4eb5])==null?void 0x0:_0x2b7f40[_0x2258dc(0x124)],_0x20a092=_0x36642d[_0x3a62fa];_0x100238&&(_0x100238['v']=_0x574731(_0x100238,!0x1,_0x20a092,_0x5629e9)),_0x2d89f6[_0x2258dc(0x3e5)](_0x3761c6+_0x50c5b0,_0x3d4eb5+_0x2775ba,_0x1e9277(_0x100238));}const _0x53e13c=_0x13146f[_0x2258dc(0x3c8)](),_0x4b8b71=_0x13146f[_0x2258dc(0x183)]();for(let _0x3bca24=0x0;_0x3bca24<_0x53e13c;_0x3bca24++)for(let _0x4fde42=0x0;_0x4fde42<_0x4b8b71;_0x4fde42++){const _0x4d8219={...(_0x29d5e3=(_0x4a94b2=_0x13146f[_0x2258dc(0x354)])==null?void 0x0:_0x4a94b2[_0x3bca24])==null?void 0x0:_0x29d5e3[_0x4fde42]};_0x2d89f6[_0x2258dc(0x3e5)](_0x3bca24+_0x50c5b0,_0x4fde42+_0xe0a7ef,_0x1e9277(_0x4d8219));}return _0x2d89f6;},_0x1e5355=_0x28c5f2=>{const _0x29609f=_0x6daf50,{view:_0x2ff4ac,targetCellInfo:_0x1b7be8,isEmpty:_0x5db6,textInfo:_0x3d44bd}=_0x28c5f2;if(_0x5db6)return _0x238c93(_0x28c5f2);const {pageView:_0x43bbd5,cornerView:_0x185c27,rowView:_0x548508,colView:_0x20341f,dataView:_0x23a1c7}=_0x2ff4ac,_0x4cf206=_0x56e08b(_0x1b7be8,_0x43bbd5,!0x0),_0x9daa90=_0x43bbd5[_0x29609f(0x1a5)]>=0x0?_0x43bbd5[_0x29609f(0x1a5)]+0x1:0x0,_0x368526=_0x185c27[_0x29609f(0x3c8)](),_0xe7b145=_0x185c27['getColCount'](),_0x25d068=_0x4cf206[_0x29609f(0x299)]>0x0?_0x50ed31:0x0,_0x266ce6=_0x56e08b({'row':_0x1b7be8['row']+_0x9daa90+_0x25d068,'col':_0x1b7be8['col']},_0x185c27,!0x1,!0x1),_0x9ae1c9=_0x56e08b({'row':_0x1b7be8[_0x29609f(0x177)]+_0x9daa90+_0x25d068+_0x368526,'col':_0x1b7be8[_0x29609f(0x215)]},_0x548508,!0x1,!0x0),_0x2dd817=_0x56e08b({'row':_0x1b7be8[_0x29609f(0x177)]+_0x9daa90+_0x25d068,'col':_0x1b7be8[_0x29609f(0x215)]+_0xe7b145},_0x20341f,!0x1,!0x0),_0x4a0044=_0x56e08b({'row':_0x1b7be8[_0x29609f(0x177)]+_0x9daa90+_0x25d068+_0x368526,'col':_0x1b7be8[_0x29609f(0x215)]+_0xe7b145},_0x23a1c7,!0x1,!0x1),_0x3ca9f9={'rowRanges':_0x9ae1c9,'colRanges':_0x2dd817,'cornerRanges':_0x266ce6,'dataRanges':_0x4a0044,'pageRanges':_0x4cf206};return{'matrix':_0x4af3fb(_0x2ff4ac,_0x1b7be8,_0x3d44bd),'rangesCache':_0x3ca9f9};};var _0x4ad496=Object['getOwnPropertyDescriptor'],_0x39b95a=(_0x339704,_0x531afe,_0x8a0837,_0x463fd6)=>{const _0x3e6fa9=_0x6daf50;for(var _0x56de4d=_0x463fd6>0x1?void 0x0:_0x463fd6?_0x4ad496(_0x531afe,_0x8a0837):_0x531afe,_0x47c784=_0x339704[_0x3e6fa9(0x299)]-0x1,_0x230631;_0x47c784>=0x0;_0x47c784--)(_0x230631=_0x339704[_0x47c784])&&(_0x56de4d=_0x230631(_0x56de4d)||_0x56de4d);return _0x56de4d;},_0x36fecd=(_0x42bfde,_0x5f1717)=>(_0x2132ec,_0x51dc77)=>_0x5f1717(_0x2132ec,_0x51dc77,_0x42bfde);_0x271f43['SheetsPivotDataSourceModel']=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x47bb53,_0x59f063,_0x70b2ab,_0x32ac31,_0x29bda1,_0x47c4ca){const _0x56ab2b=_0x6daf50;super(),_0x3f9e42(this,'_model',new Map()),_0x3f9e42(this,_0x56ab2b(0x305),new Map()),_0x3f9e42(this,_0x56ab2b(0x3fe),new Map()),_0x3f9e42(this,'_textInfo'),_0x3f9e42(this,_0x56ab2b(0x2c7),new _0x2b128f[(_0x56ab2b(0x129))]()),_0x3f9e42(this,_0x56ab2b(0x178),this[_0x56ab2b(0x2c7)][_0x56ab2b(0x3c3)]()),_0x3f9e42(this,_0x56ab2b(0x327),new _0x2b128f[(_0x56ab2b(0x129))]()),_0x3f9e42(this,_0x56ab2b(0x18a),this[_0x56ab2b(0x327)][_0x56ab2b(0x3c3)]()),_0x3f9e42(this,_0x56ab2b(0x39e),new _0x2b128f[(_0x56ab2b(0x129))]()),_0x3f9e42(this,_0x56ab2b(0x24f),this[_0x56ab2b(0x39e)][_0x56ab2b(0x3c3)]()),_0x3f9e42(this,_0x56ab2b(0x2f1),new Map()),_0x3f9e42(this,_0x56ab2b(0x325),[]),_0x3f9e42(this,_0x56ab2b(0x28d),new Map()),(this['_injector']=_0x47bb53,this[_0x56ab2b(0x24e)]=_0x59f063,this[_0x56ab2b(0x252)]=_0x70b2ab,this[_0x56ab2b(0x434)]=_0x32ac31,this[_0x56ab2b(0x392)]=_0x29bda1,this[_0x56ab2b(0x2d1)]=_0x47c4ca,this[_0x56ab2b(0x192)]());}[_0x6daf50(0x23a)](){const _0x3252fc=_0x6daf50;return this[_0x3252fc(0x200)]?this[_0x3252fc(0x200)]:_0x13bd35;}[_0x6daf50(0x37c)](_0x431a58){const _0x54c091=_0x6daf50;this[_0x54c091(0x200)]=_0x431a58;}['handleMoveRange'](_0x3a2217){const _0x180f0d=_0x6daf50;var _0x1f6baa;const {from:_0x5803db,to:_0xa0d3fb,unitId:_0x2ace27,fromRange:_0xd3aff5,toRange:_0xdaa64c}=_0x3a2217;if(_0x5803db&&_0xa0d3fb){const _0xd45ba4=this['getDataFieldManager'](_0x2ace27),_0x5e806e=this[_0x180f0d(0x3dc)][_0x180f0d(0x393)](_0x2ace27),_0xedc0ea=(_0x1f6baa=this[_0x180f0d(0x24e)][_0x180f0d(0x422)](_0x2ace27))==null?void 0x0:_0x1f6baa[_0x180f0d(0x2a1)](_0xa0d3fb[_0x180f0d(0x3af)]);if(!_0x5e806e||!_0xedc0ea)return;const _0x164ee5=_0xedc0ea==null?void 0x0:_0xedc0ea[_0x180f0d(0x31d)]();for(const [_0x3fbe9b,_0x530a48]of _0x5e806e['entries']())for(const [_0x141653,_0x561120]of _0x530a48[_0x180f0d(0x1b1)]()){const {sourceRangeInfo:_0x185849}=_0x561120;if(_0x185849[_0x180f0d(0x3ba)]===_0x2ace27&&_0x185849[_0x180f0d(0x3af)]===_0x5803db[_0x180f0d(0x3af)]&&_0x3aab5b[_0x180f0d(0x224)]['contains'](_0xd3aff5,_0x185849['range'])){const _0x22c3fc={'row':_0x185849[_0x180f0d(0x235)][_0x180f0d(0x413)]-_0xd3aff5['startRow'],'col':_0x185849[_0x180f0d(0x235)]['startColumn']-_0xd3aff5[_0x180f0d(0x352)]},_0x5dffa0={'unitId':_0x2ace27,'subUnitId':_0xa0d3fb[_0x180f0d(0x3af)],'sheetName':_0x164ee5,'range':{'startRow':_0xdaa64c[_0x180f0d(0x413)]+_0x22c3fc[_0x180f0d(0x177)],'endRow':_0xdaa64c[_0x180f0d(0x413)]+_0x22c3fc['row']+_0x185849[_0x180f0d(0x235)][_0x180f0d(0x132)]-_0x185849['range'][_0x180f0d(0x413)],'startColumn':_0xdaa64c[_0x180f0d(0x352)]+_0x22c3fc[_0x180f0d(0x215)],'endColumn':_0xdaa64c['startColumn']+_0x22c3fc[_0x180f0d(0x215)]+_0x185849[_0x180f0d(0x235)][_0x180f0d(0x3e9)]-_0x185849[_0x180f0d(0x235)][_0x180f0d(0x352)]}};_0xd45ba4[_0x180f0d(0x3bf)](_0x141653,_0x5dffa0);const _0x1bd45f={..._0x561120,'sourceRangeInfo':_0x5dffa0};this[_0x180f0d(0x154)](_0x2ace27,_0xa0d3fb[_0x180f0d(0x3af)],_0x141653,_0x1bd45f),this[_0x180f0d(0x238)]({'unitId':_0x2ace27,'token':_0x141653,'type':_0x284237[_0x180f0d(0x28c)],'oldSourceRangeInfo':_0x185849,'dataRangeInfo':_0x5dffa0,'targetCellInfo':_0x561120[_0x180f0d(0x233)]}),this[_0x180f0d(0x3f9)]({'unitId':_0x2ace27,'subUnitId':_0xa0d3fb[_0x180f0d(0x3af)],'oldSubUnitId':_0x3fbe9b,'pivotTableId':_0x141653,'pivotTableConfig':_0x1bd45f,'collectionConfig':_0xd45ba4[_0x180f0d(0x24a)]()});}}}}['broadcastCollectionChange'](_0x2a4a77){const _0x5a2a58=_0x6daf50;this['_collectionChange$'][_0x5a2a58(0x3b3)](_0x2a4a77);}[_0x6daf50(0x428)](_0x50d83f){const _0x202608=_0x6daf50;let _0x53918b=this[_0x202608(0x2f1)][_0x202608(0x393)](_0x50d83f);return _0x53918b||(_0x53918b=new _0x464dd9(this,this[_0x202608(0x24e)]),this[_0x202608(0x2f1)][_0x202608(0x3eb)](_0x50d83f,_0x53918b)),_0x53918b;}[_0x6daf50(0x34e)](_0xfb5ef4,_0x44a6eb){const _0x2ec4ba=_0x6daf50;return this[_0x2ec4ba(0x428)](_0xfb5ef4)[_0x2ec4ba(0x1e7)][_0x44a6eb];}[_0x6daf50(0x40f)](_0x1ab1a9,_0x476657,_0x388fc5){const _0x49a9c2=_0x6daf50;return this[_0x49a9c2(0x428)](_0x1ab1a9)['getUpdateRangeDeleteIds'](_0x476657,_0x388fc5);}[_0x6daf50(0x27b)](_0x4d0c72,_0x1bf123){const _0x7f997c=_0x6daf50;let _0x4ebae5=this[_0x7f997c(0x3dc)]['get'](_0x4d0c72);_0x4ebae5||(_0x4ebae5=new Map(),this[_0x7f997c(0x3dc)][_0x7f997c(0x3eb)](_0x4d0c72,_0x4ebae5));let _0x41359a=_0x4ebae5[_0x7f997c(0x393)](_0x1bf123);return _0x41359a||(_0x41359a=new Map(),_0x4ebae5['set'](_0x1bf123,_0x41359a)),_0x41359a;}[_0x6daf50(0x154)](_0x8e667a,_0x3c0da6,_0x4d9182,_0x4c86ae){const _0x70fe0f=_0x6daf50;this[_0x70fe0f(0x27b)](_0x8e667a,_0x3c0da6)['set'](_0x4d9182,_0x4c86ae);}[_0x6daf50(0x2f2)](_0x2deda6,_0x825b9f,_0x184318){const _0x2d12c9=_0x6daf50;var _0x2d4760,_0xb3374d,_0x245147,_0x14e96c;((_0xb3374d=(_0x2d4760=this[_0x2d12c9(0x3dc)][_0x2d12c9(0x393)](_0x2deda6))==null?void 0x0:_0x2d4760[_0x2d12c9(0x393)](_0x825b9f))==null?void 0x0:_0xb3374d[_0x2d12c9(0x393)](_0x184318))&&((_0x14e96c=(_0x245147=this[_0x2d12c9(0x3dc)][_0x2d12c9(0x393)](_0x2deda6))==null?void 0x0:_0x245147[_0x2d12c9(0x393)](_0x825b9f))==null||_0x14e96c[_0x2d12c9(0x356)](_0x184318));}[_0x6daf50(0x3e7)](_0x3353c3,_0x5a9907){const _0x34d190=_0x6daf50;this[_0x34d190(0x305)]['set'](_0x3353c3,_0x5a9907);}[_0x6daf50(0x17a)](_0x312af9){const _0x5425e4=_0x6daf50;this[_0x5425e4(0x305)][_0x5425e4(0x356)](_0x312af9);}['_ensureViewDataMap'](_0x2e7a42,_0x145508){const _0x13e451=_0x6daf50;let _0x3ceb40=this[_0x13e451(0x3fe)][_0x13e451(0x393)](_0x2e7a42);_0x3ceb40||(_0x3ceb40=new Map(),this[_0x13e451(0x3fe)][_0x13e451(0x3eb)](_0x2e7a42,_0x3ceb40));let _0x4efce1=_0x3ceb40[_0x13e451(0x393)](_0x145508);return _0x4efce1||(_0x4efce1=new Map(),_0x3ceb40[_0x13e451(0x3eb)](_0x145508,_0x4efce1)),_0x4efce1;}[_0x6daf50(0x3f9)](_0x46f900){const _0x2e82a5=_0x6daf50,{unitId:_0x2e32d3,subUnitId:_0x3e5e0f,pivotTableId:_0x573ea9,pivotTableConfig:_0x5813e2,collectionConfig:_0x732222}=_0x46f900,_0x388264={'unitId':_0x2e32d3,'subUnitId':_0x3e5e0f,'oldSubUnitId':_0x3e5e0f,'pivotTableId':_0x573ea9,'pivotTableConfig':_0x5813e2,'collectionConfig':_0x732222};this[_0x2e82a5(0x392)][_0x2e82a5(0x2ec)](_0x19396d['id'],_0x388264,{'onlyLocal':!0x0});}[_0x6daf50(0x2ea)](_0x1f6355,_0x5037ae,_0x1d76d1,_0x3b390c,_0x2787b2,_0x53dd6f,_0x5ef661,_0x2e8b56=!0x1){const _0x525f68=_0x6daf50;var _0x22b21e;this[_0x525f68(0x392)][_0x525f68(0x2ec)](_0x261bb1['id'],{'single':{'unitId':_0x1f6355,'subUnitId':_0x5037ae,'type':_0x1d76d1,'pivotTableId':_0x3b390c,'view':_0x2787b2,'pivotConfig':_0x53dd6f},'collectionConfig':{[_0x1f6355]:_0x5ef661}},{'onlyLocal':!0x0});const _0x196ee4=!!((_0x22b21e=this[_0x525f68(0x3f8)](_0x3b390c))!=null&&_0x22b21e[_0x525f68(0x37d)]()),_0x57087e=this[_0x525f68(0x3bd)](_0x1f6355,_0x5037ae,_0x3b390c);_0x57087e&&this[_0x525f68(0x1e0)]({'view':_0x2787b2,'pivotTableId':_0x3b390c,'textInfo':this['getTextInfo'](),'isEmpty':_0x196ee4,'targetCellInfo':_0x57087e['targetCellInfo']},_0x2e8b56);}[_0x6daf50(0x1e0)](_0x49a74e,_0x1aed80){const _0x5a2434=_0x6daf50,{targetCellInfo:_0x925183,pivotTableId:_0x1cb7a4}=_0x49a74e,{unitId:_0x476b55,subUnitId:_0x2ce432}=_0x925183,_0x176ea5=this['_ensureViewDataMap'](_0x476b55,_0x2ce432),_0x46e6be=_0x176ea5[_0x5a2434(0x393)](_0x1cb7a4);let _0x8519fb,_0x249588;_0x46e6be&&(_0x8519fb=_0x46e6be['rangeCache'],_0x249588=_0x46e6be[_0x5a2434(0x2d8)]);const {rangesCache:_0x111d9d,matrix:_0x4be405}=_0x1e5355(_0x49a74e);_0x176ea5[_0x5a2434(0x3eb)](_0x1cb7a4,{'rangeCache':_0x111d9d,'matrix':_0x4be405,'oldMatrix':_0x249588,'oldRangeCache':_0x8519fb}),_0x1aed80||this[_0x5a2434(0x327)][_0x5a2434(0x3b3)]({'unitId':_0x476b55,'subUnitId':_0x2ce432,'pivotTableId':_0x1cb7a4});}[_0x6daf50(0x335)](_0x3bd06b,_0xb495e6,_0x151bdf,_0x4c5db5,_0x3b7a01){const _0x460ab2=_0x6daf50;this[_0x460ab2(0x154)](_0x3bd06b,_0xb495e6,_0x151bdf,_0x3b7a01),this['_updatePivotTableInstanceCache'](_0x151bdf,_0x4c5db5);}[_0x6daf50(0x280)](_0x55ec6d,_0x329df8,_0x39bff4){const _0x5db942=_0x6daf50,_0x152b3e=this[_0x5db942(0x428)](_0x55ec6d);_0x152b3e[_0x5db942(0x2ee)](_0x39bff4)['forEach'](_0x397474=>{const _0x48a8c5=_0x5db942;_0x152b3e[_0x48a8c5(0x1c1)](_0x397474);}),this[_0x5db942(0x174)](_0x55ec6d,_0x39bff4),this[_0x5db942(0x2f2)](_0x55ec6d,_0x329df8,_0x39bff4),this[_0x5db942(0x17a)](_0x39bff4);}[_0x6daf50(0x14e)](_0x3d632e,_0xa8d977,_0x57d5d7,_0x248e83){const _0x588cdf=_0x6daf50;this[_0x588cdf(0x154)](_0x3d632e,_0xa8d977,_0x57d5d7,_0x248e83);}[_0x6daf50(0x3bd)](_0x5e8420,_0x456c27,_0x461eb2){const _0x5201e4=_0x6daf50;var _0x58db07,_0x4c2e5b;const _0x3c21c9=(_0x4c2e5b=(_0x58db07=this[_0x5201e4(0x3dc)][_0x5201e4(0x393)](_0x5e8420))==null?void 0x0:_0x58db07[_0x5201e4(0x393)](_0x456c27))==null?void 0x0:_0x4c2e5b[_0x5201e4(0x393)](_0x461eb2);if(_0x3c21c9)return _0x3c21c9;}['getPivotTableModelConfig'](_0x4618b4,_0x38760a,_0x20a1a3){const _0x5465c7=_0x6daf50;var _0x2f389b,_0x1a09cc;const _0x295e9e=(_0x1a09cc=(_0x2f389b=this[_0x5465c7(0x3dc)][_0x5465c7(0x393)](_0x4618b4))==null?void 0x0:_0x2f389b[_0x5465c7(0x393)](_0x38760a))==null?void 0x0:_0x1a09cc[_0x5465c7(0x393)](_0x20a1a3);if(_0x295e9e)return _0x295e9e[_0x5465c7(0x2ca)];}[_0x6daf50(0x3f8)](_0x5a093f){const _0x2d54eb=_0x6daf50;return this['_pivotTableInstanceCache'][_0x2d54eb(0x393)](_0x5a093f);}[_0x6daf50(0x39b)](_0x46af12){const _0x2b2baf=_0x6daf50;this[_0x2b2baf(0x3dc)]['delete'](_0x46af12);const _0x10119e=this['_dataFieldManagerCollection'][_0x2b2baf(0x393)](_0x46af12);_0x10119e&&(_0x10119e['dispose'](),this['_dataFieldManagerCollection'][_0x2b2baf(0x356)](_0x46af12)),this[_0x2b2baf(0x3fe)][_0x2b2baf(0x356)](_0x46af12),this[_0x2b2baf(0x325)]['forEach'](_0x394f70=>{const _0x2a2908=_0x2b2baf;_0x394f70[_0x2a2908(0x39b)](_0x46af12);});}[_0x6daf50(0x17c)](_0x3409e8,_0x2d8e71,_0x52a8b3,_0x21055e){const _0x5d2d1c=_0x6daf50;return this[_0x5d2d1c(0x428)](_0x52a8b3[_0x5d2d1c(0x3ba)])[_0x5d2d1c(0x17c)](_0x3409e8,_0x2d8e71,_0x52a8b3,_0x21055e);}[_0x6daf50(0x29a)](_0x30241c){const _0x87088d=_0x6daf50;return this[_0x87088d(0x428)](_0x30241c[_0x87088d(0x3ba)])[_0x87088d(0x29a)](_0x30241c);}[_0x6daf50(0x179)](_0x253a4a,_0x3a976d,_0xee86ab){const _0x4283b7=_0x6daf50;this[_0x4283b7(0x428)](_0xee86ab['unitId'])[_0x4283b7(0x179)](_0x253a4a,_0x3a976d,_0xee86ab);}[_0x6daf50(0x239)](_0xc4d927,_0x1a2f8d){this['getDataFieldManager'](_0xc4d927)['deleteDataField'](_0x1a2f8d);}[_0x6daf50(0x174)](_0x5b951e,_0x214ed7){const _0xf124ea=_0x6daf50;this[_0xf124ea(0x428)](_0x5b951e)[_0xf124ea(0x270)](_0x214ed7);}[_0x6daf50(0x355)](_0x2bb31b,_0x7242e9){const _0x4ede05=_0x6daf50;var _0x34ccdc;return(_0x34ccdc=this[_0x4ede05(0x3dc)][_0x4ede05(0x393)](_0x2bb31b))==null?void 0x0:_0x34ccdc['get'](_0x7242e9);}[_0x6daf50(0x360)](_0x4994c6){const _0x54eb87=_0x6daf50;for(const [_0xc79ff1,_0x4cec9a]of this[_0x54eb87(0x3dc)]['entries']())for(const [_0x3873f6,_0x36aab6]of _0x4cec9a[_0x54eb87(0x1b1)]())if(_0x36aab6[_0x54eb87(0x271)](_0x4994c6))return{'unitId':_0xc79ff1,'subUnitId':_0x3873f6};return null;}[_0x6daf50(0x2e7)](_0x2319e6,_0x16570e,_0x478a1c,_0x420b45){const _0x2ef857=_0x6daf50,_0x237491=this[_0x2ef857(0x20e)](_0x2319e6,_0x16570e);_0x420b45?_0x237491['set'](_0x478a1c,_0x420b45):_0x237491[_0x2ef857(0x356)](_0x478a1c),this[_0x2ef857(0x327)][_0x2ef857(0x3b3)]({'unitId':_0x2319e6,'subUnitId':_0x16570e,'pivotTableId':_0x478a1c});}[_0x6daf50(0x2b2)](){const _0x39a6a3=_0x6daf50;super[_0x39a6a3(0x2b2)]();}[_0x6daf50(0x28a)](_0x1b1ff3,_0x412fd5,_0x48a18b){const _0x5cb812=_0x6daf50;var _0x180388,_0x22f0ca;const _0x1dd2a6=(_0x22f0ca=(_0x180388=this[_0x5cb812(0x3fe)][_0x5cb812(0x393)](_0x1b1ff3))==null?void 0x0:_0x180388[_0x5cb812(0x393)](_0x412fd5))==null?void 0x0:_0x22f0ca[_0x5cb812(0x393)](_0x48a18b);return _0x1dd2a6||null;}['addDirtyPivotTable'](_0x518eb8){this['updateDirtyPivotTable'](_0x518eb8);}[_0x6daf50(0x2f8)](_0x165920){const _0x216bbd=_0x6daf50,{token:_0xf534d5,unitId:_0x196985,subUnitId:_0x487577}=_0x165920,_0x3705b7=_0x196985+'-'+_0x487577+'-'+_0xf534d5;this[_0x216bbd(0x28d)][_0x216bbd(0x393)](_0x3705b7)&&clearTimeout(this['_queryingMap'][_0x216bbd(0x393)](_0x3705b7));const _0x2d82e9=setTimeout(()=>{const _0x3335f8=_0x216bbd;this[_0x3335f8(0x144)](_0x165920),this[_0x3335f8(0x28d)][_0x3335f8(0x356)](_0x3705b7);},_0x40ef3f);this[_0x216bbd(0x28d)]['set'](_0x3705b7,_0x2d82e9);}[_0x6daf50(0x144)](_0x559fef){const _0x119448=_0x6daf50,{unitId:_0x2675ec,subUnitId:_0x357823,token:_0x4f2bd4,type:_0x3cb6fe,pivotConfig:_0x1eca7d}=_0x559fef,_0x78f83d=this[_0x119448(0x3f8)](_0x4f2bd4),_0xa4af05=_0x78f83d==null?void 0x0:_0x78f83d[_0x119448(0x150)](),_0x12c2f1=_0x1eca7d!=null?_0x1eca7d:this[_0x119448(0x3bd)](_0x2675ec,_0x357823,_0x4f2bd4);_0x12c2f1&&(_0x12c2f1[_0x119448(0x37d)]=!!(_0x78f83d!=null&&_0x78f83d[_0x119448(0x37d)]())),(_0xa4af05||_0x3cb6fe===_0x1ab225[_0x119448(0x24b)])&&this[_0x119448(0x2ea)](_0x2675ec,_0x357823,_0x3cb6fe,_0x4f2bd4,_0xa4af05,_0x12c2f1,this['getDataFieldManager'](_0x2675ec)['toJSON']());}[_0x6daf50(0x24a)](_0xf1e4ae){const _0x23f5b6=_0x6daf50,_0x48d78b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x23f5b6(0x428)](_0xf1e4ae)&&(_0x48d78b[_0x23f5b6(0x18e)][_0xf1e4ae]=this[_0x23f5b6(0x428)](_0xf1e4ae)[_0x23f5b6(0x24a)]()),this[_0x23f5b6(0x3dc)][_0x23f5b6(0x393)](_0xf1e4ae)){_0x48d78b[_0x23f5b6(0x374)][_0xf1e4ae]={};const _0x430674=this[_0x23f5b6(0x3dc)][_0x23f5b6(0x393)](_0xf1e4ae);_0x430674!=null&&_0x430674[_0x23f5b6(0x423)]&&[..._0x430674[_0x23f5b6(0x30e)]()][_0x23f5b6(0x3d8)](_0x536a78=>{const _0x8ba3cb=_0x23f5b6,_0x3c5e84=_0x430674[_0x8ba3cb(0x393)](_0x536a78);_0x3c5e84!=null&&_0x3c5e84[_0x8ba3cb(0x423)]&&(_0x48d78b[_0x8ba3cb(0x374)][_0xf1e4ae][_0x536a78]={},[..._0x3c5e84[_0x8ba3cb(0x30e)]()][_0x8ba3cb(0x3d8)](_0x8c2063=>{const _0x2663ff=_0x8ba3cb,_0x240626=_0x3c5e84['get'](_0x8c2063);_0x240626&&(_0x48d78b[_0x2663ff(0x374)][_0xf1e4ae][_0x536a78][_0x8c2063]=_0x240626);}));});}return _0x48d78b;}[_0x6daf50(0x1e3)](_0x168be8){const _0x4be859=_0x6daf50;var _0x582203;const {dataFieldManagerConfig:_0x45119b,pivotTableConfigs:_0x4ab294}=_0x168be8;_0x45119b&&Object[_0x4be859(0x30e)](_0x45119b)[_0x4be859(0x3d8)](_0x48deeb=>{this['getDataFieldManager'](_0x48deeb)['fromJSON'](_0x45119b[_0x48deeb]);});const _0x327d44=[];if(_0x4ab294){const _0x5178de=(_0x582203=this['_injector'][_0x4be859(0x393)](_0x3aab5b[_0x4be859(0x1eb)])[_0x4be859(0x3d0)](_0x2a826e[_0x4be859(0x3e3)]))!=null?_0x582203:{},{ls:_0x2785f3,pbk:_0x2f15aa}=_0x5178de,_0x3c25a4=_0x21309a(_0x884d8a,_0x2785f3,_0x2f15aa)[_0x4be859(0x3f2)];Object[_0x4be859(0x30e)](_0x4ab294)[_0x4be859(0x3d8)](_0x25dc03=>{let _0x5db7c0=0x0;const _0x173a35=_0x4ab294[_0x25dc03];Object['keys'](_0x173a35)['forEach'](_0xbd1ff7=>{const _0x845a26=_0x45c2,_0x571558=_0x173a35[_0xbd1ff7];Object[_0x845a26(0x30e)](_0x571558)[_0x845a26(0x3d8)](_0x1e0315=>{const _0xe1bac4=_0x845a26,_0x2c9268=_0x571558[_0x1e0315];if(_0x2c9268){if(_0x5db7c0>=_0x3c25a4)return;_0x5db7c0++;const _0xfa9b62=this[_0xe1bac4(0x428)](_0x25dc03),_0x54b4f1=_0xfa9b62[_0xe1bac4(0x1e7)][_0x1e0315],_0x13722c=_0x54b4f1['getFieldIds']();let _0x84d2e2=0x0;const _0x5c9d16=[];for(const _0x4cbb72 of _0x13722c){const _0x30e022=_0x54b4f1[_0xe1bac4(0x1dd)](_0x4cbb72);if(_0x5ab2d7[_0xe1bac4(0x208)](_0x30e022)){const _0x250a35=_0x30e022[_0xe1bac4(0x13a)](),_0x9e2bea=_0x54b4f1[_0xe1bac4(0x1dd)](_0x250a35);_0x9e2bea&&_0x5c9d16['push']([_0x30e022,_0x9e2bea]);continue;}_0xfa9b62[_0xe1bac4(0x2df)](_0x4cbb72,_0x2c9268[_0xe1bac4(0x133)],_0x84d2e2),_0x84d2e2++;}_0x5c9d16['forEach'](([_0x2f7200,_0x303efe])=>{_0x2f7200['refreshGroupField'](_0x303efe);});const _0x2afdbe=new _0x5ab2d7['PivotTable'](_0x54b4f1);_0x2afdbe['fromJSON'](_0x2c9268[_0xe1bac4(0x2ca)]),this[_0xe1bac4(0x335)](_0x25dc03,_0xbd1ff7,_0x1e0315,_0x2afdbe,_0x2c9268);const _0x5ddb29=_0x2afdbe['query']();_0x327d44['push']({'unitId':_0x25dc03,'subUnitId':_0xbd1ff7,'pivotTableId':_0x1e0315,'view':_0x5ddb29['toJSON'](),'pivotConfig':_0x2c9268,'type':_0x1ab225['Add']});const _0x44ceef=!!_0x2afdbe['isEmpty'](),_0x2f437b={'view':_0x5ddb29,'pivotTableId':_0x1e0315,'textInfo':this[_0xe1bac4(0x23a)](),'isEmpty':_0x44ceef,'targetCellInfo':_0x2c9268['targetCellInfo']};this['updateViewData'](_0x2f437b,!0x1);}});});});}_0x45119b&&Object[_0x4be859(0x30e)](_0x45119b)[_0x4be859(0x3d8)](_0x25e285=>{const _0x146429=_0x4be859,_0x426466=this[_0x146429(0x428)](_0x25e285);this[_0x146429(0x39e)][_0x146429(0x3b3)](_0x426466[_0x146429(0x1e7)]);}),this[_0x4be859(0x392)][_0x4be859(0x2ec)](_0x261bb1['id'],{'batch':_0x327d44,'collectionConfig':_0x45119b},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4843d2=_0x6daf50;this[_0x4843d2(0x137)](this[_0x4843d2(0x2d1)]['registerPluginResource']({'toJson':_0x260996=>JSON[_0x4843d2(0x247)](this[_0x4843d2(0x24a)](_0x260996)),'parseJson':_0x2db16c=>{const _0x571be1=_0x4843d2;if(!_0x2db16c)return{};try{return JSON[_0x571be1(0x12b)](_0x2db16c);}catch{return{};}},'businesses':[_0x3aab5b[_0x4843d2(0x3b5)]['UNIVER_SHEET']],'pluginName':_0x3a232b,'onLoad':(_0xb60177,_0x596d5a)=>{const _0xdf7bd1=_0x4843d2;this[_0xdf7bd1(0x1e3)](_0x596d5a);},'onUnLoad':_0x54b185=>{this['deleteUnitId'](_0x54b185);}}));}},_0x271f43[_0x6daf50(0x383)]=_0x39b95a([_0x36fecd(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)])),_0x36fecd(0x1,_0x3aab5b[_0x6daf50(0x350)]),_0x36fecd(0x2,_0x3aab5b['Inject'](_0x3aab5b[_0x6daf50(0x2b6)])),_0x36fecd(0x3,_0x3aab5b[_0x6daf50(0x1eb)]),_0x36fecd(0x4,_0x3aab5b['ICommandService']),_0x36fecd(0x5,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x2b9)]))],_0x271f43['SheetsPivotDataSourceModel']);const _0x2b7f6a={0x0:{0x0:{'v':'filter','s':_0x1a2a41}},0x2:{0x1:{'v':'','s':_0x1a2a41},0x2:{'v':'','s':_0x1a2a41},0x3:{'v':_0x6daf50(0x3fb),'s':_0x1a2a41},0x4:{'v':'','s':_0x1a2a41},0x5:{'v':'','s':_0x1a2a41}},0x3:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x4:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x5:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x6:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x7:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x8:{0x0:{'v':_0x6daf50(0x177),'s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':_0x6daf50(0x1db),'s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0x9:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0xa:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0xb:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0xc:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}},0xd:{0x0:{'v':'','s':_0x1a2a41},0x1:{'v':'','s':_0x1d3c38},0x2:{'v':'','s':_0x1d3c38},0x3:{'v':'','s':_0x1d3c38},0x4:{'v':'','s':_0x1d3c38},0x5:{'v':'','s':_0x1d3c38}}},_0x390b1d={'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':[]},_0x43512b=(_0x129af2,_0x276221)=>{const _0x26ee5b=_0x6daf50,_0x3b35fc=new _0x3aab5b['ObjectMatrix'](),_0x20b7b6=new _0x3aab5b[(_0x26ee5b(0x25d))](_0x2b7f6a),{row:_0x357238,col:_0x42c5de}=_0x276221;_0x20b7b6[_0x26ee5b(0x410)]((_0x534509,_0x3d3c60,_0x5f1993)=>{const _0x511b4e=_0x26ee5b;let _0x3e953a='';_0x5f1993['v']===_0x511b4e(0x12e)?_0x3e953a=_0x129af2[_0x511b4e(0x12e)]:_0x5f1993['v']===_0x511b4e(0x177)?_0x3e953a=_0x129af2[_0x511b4e(0x177)]:_0x5f1993['v']===_0x511b4e(0x3fb)?_0x3e953a=_0x129af2[_0x511b4e(0x3fb)]:_0x5f1993['v']===_0x511b4e(0x1db)&&(_0x3e953a=_0x129af2['values']),_0x3b35fc[_0x511b4e(0x3e5)](_0x534509+_0x357238,_0x3d3c60+_0x42c5de,{..._0x5f1993,'v':_0x3e953a});});const _0x28eb6f=_0x3aab5b[_0x26ee5b(0x3be)][_0x26ee5b(0x33e)](_0x390b1d);return Object[_0x26ee5b(0x30e)](_0x390b1d)[_0x26ee5b(0x3d8)](_0x3b9925=>{const _0xc04137=_0x26ee5b;_0x28eb6f[_0x3b9925]=_0x390b1d[_0x3b9925][_0xc04137(0x3f1)](_0x52ae8b=>({..._0x52ae8b,'startRow':_0x52ae8b['startRow']+_0x357238,'endRow':_0x52ae8b[_0xc04137(0x132)]+_0x357238,'startColumn':_0x52ae8b['startColumn']+_0x42c5de,'endColumn':_0x52ae8b[_0xc04137(0x3e9)]+_0x42c5de}));}),{'matrixCache':_0x3b35fc,'rangesCache':_0x28eb6f};};function _0x155576(_0x23200c,_0x5121d9){const _0x518100=_0x6daf50;let _0x538251='';const _0x28f9e0=this[_0x518100(0x23a)]();switch(_0x5121d9){case _0x5ab2d7['PivotSubtotalTypeEnum'][_0x518100(0x344)]:_0x538251=_0x28f9e0[_0x518100(0x25b)]+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x3f2)]:_0x538251=_0x28f9e0['sheets-pivot.countName']+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)]['countNums']:_0x538251=_0x28f9e0[_0x518100(0x370)]+_0x23200c;break;case _0x5ab2d7['PivotSubtotalTypeEnum'][_0x518100(0x3ec)]:_0x538251=_0x28f9e0[_0x518100(0x17e)]+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x384)]:_0x538251=_0x28f9e0[_0x518100(0x203)]+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x32b)]:_0x538251=_0x28f9e0['sheets-pivot.productName']+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x145)]:_0x538251=_0x28f9e0['sheets-pivot.stdDevName']+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x1e1)]:_0x538251=_0x28f9e0[_0x518100(0x3b7)]+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x31f)]:_0x538251=_0x28f9e0['sheets-pivot.sumName']+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)]['var']:_0x538251=_0x28f9e0[_0x518100(0x1dc)]+_0x23200c;break;case _0x5ab2d7[_0x518100(0x14d)][_0x518100(0x1bf)]:_0x538251=_0x28f9e0[_0x518100(0x13d)]+_0x23200c;break;default:_0x538251=_0x23200c;break;}return _0x538251;}function _0x37a114(_0x3d9008,_0x3c4b64,_0x1ebaf7,_0x46ca90,_0x3d28fc){const _0x494a15=_0x6daf50;var _0x2e5957,_0x5ca0a1,_0x104b59,_0x1bdcc7,_0x1b3160;const _0x44091a=_0x3aab5b[_0x494a15(0x278)](_0x3d9008,_0x3c4b64),{rangesInfo:_0x155f88,areaInfo:_0x1f35ba,headerMap:_0x22f184}=_0x3d28fc;if(!_0x155f88||!_0x1f35ba||!_0x22f184)return;const _0x2d45a6=Object[_0x494a15(0x30e)](_0x155f88)[_0x494a15(0x184)](_0x2350b3=>_0x155f88[_0x2350b3][_0x494a15(0x2d0)](_0x3f647d=>_0x3aab5b[_0x494a15(0x224)][_0x494a15(0x198)](_0x3f647d,_0x44091a))),_0x2495ea=_0x1f35ba;let _0x3d8269,_0x3c092b,_0x1b1260;if(_0x2d45a6==='rowRanges')_0x3d8269=(_0x2e5957=_0x2495ea==null?void 0x0:_0x2495ea[_0x494a15(0x26e)])==null?void 0x0:_0x2e5957[_0x3d9008],_0x3c092b=(_0x5ca0a1=_0x22f184==null?void 0x0:_0x22f184[_0x494a15(0x277)])==null?void 0x0:_0x5ca0a1[_0x3c4b64],_0x1b1260=_0x3c092b==null?void 0x0:_0x3c092b[_0x494a15(0x124)];else{if(_0x2d45a6==='colRanges')_0x3d8269=(_0x104b59=_0x2495ea==null?void 0x0:_0x2495ea[_0x494a15(0x3d9)])==null?void 0x0:_0x104b59[_0x3c4b64],_0x3c092b=(_0x1bdcc7=_0x22f184[_0x494a15(0x282)])==null?void 0x0:_0x1bdcc7[_0x3d9008+0x1+_0x3c4b64-_0x155f88[_0x494a15(0x331)][0x0]['startColumn']],_0x1b1260=_0x3c092b==null?void 0x0:_0x3c092b[_0x494a15(0x124)];else{if(_0x2d45a6===_0x494a15(0x21f))_0x3d8269=(_0x1b3160=_0x2495ea==null?void 0x0:_0x2495ea[_0x494a15(0x1cf)])==null?void 0x0:_0x1b3160[_0x3c4b64],_0x1b1260=_0x3d8269==null?void 0x0:_0x3d8269['tableFieldId'];else{if(_0x2d45a6===_0x494a15(0x2b4)){const _0x17ee2b=_0x1ebaf7==null?void 0x0:_0x1ebaf7['fi'];_0x17ee2b!==void 0x0&&(_0x1b1260=_0x46ca90[_0x494a15(0x2a6)](_0x17ee2b));}}}}return{'filterId':_0x1b1260,'info':_0x3d8269,'data':_0x1ebaf7,'headerInfo':_0x3c092b};}function _0x3bc063(_0x514187,_0x101d2c,_0x387a86){const _0x6408bd=_0x6daf50,_0xa4fe47=_0x514187[_0x6408bd(0x39c)],_0x4780ad=_0xa4fe47[_0x6408bd(0x221)](),_0x5eed51=new Set();_0x514187['iterateField'](_0x1153fd=>{const _0x1d072a=_0x6408bd;_0x5eed51[_0x1d072a(0x34a)](_0x1153fd[_0x1d072a(0x304)]);});const _0x3ab9f9=_0x4780ad[_0x6408bd(0x3f1)](_0x441d9e=>{const _0xbcdafa=_0x6408bd,_0xfa8be1=_0xa4fe47[_0xbcdafa(0x1dd)](_0x441d9e);return{'checked':_0x5eed51[_0xbcdafa(0x271)](_0x441d9e),'dataFieldId':_0xfa8be1['id'],'id':_0xfa8be1['id'],'name':_0xa4fe47[_0xbcdafa(0x33d)](_0xfa8be1['id']),'type':_0xfa8be1[_0xbcdafa(0x2f5)](),'pivotTableId':_0x101d2c};}),_0xde954b=[];_0x514187[_0x6408bd(0x169)](_0x5ab2d7['PivotTableFiledAreaEnum'][_0x6408bd(0x2f7)],_0x145b69=>{const _0x16c229=_0x6408bd;_0xde954b['push']({'dataFieldId':_0x145b69[_0x16c229(0x304)],'tableFieldId':_0x145b69[_0x16c229(0x1cb)](),'displayName':_0x145b69[_0x16c229(0x33d)]()});});const _0x3bcc9a=[];_0x514187[_0x6408bd(0x169)](_0x5ab2d7['PivotTableFiledAreaEnum'][_0x6408bd(0x1f1)],_0x1a4c5a=>{const _0x1802bd=_0x6408bd;_0x3bcc9a['push']({'dataFieldId':_0x1a4c5a[_0x1802bd(0x304)],'tableFieldId':_0x1a4c5a[_0x1802bd(0x1cb)](),'displayName':_0x1a4c5a[_0x1802bd(0x33d)]()});});const _0x113b77=[];if(_0x514187[_0x6408bd(0x169)](_0x5ab2d7[_0x6408bd(0x358)]['Value'],_0xde3734=>{const _0x454c52=_0x6408bd;_0x113b77[_0x454c52(0x337)]({'dataFieldId':_0xde3734['dataFieldId'],'tableFieldId':_0xde3734[_0x454c52(0x1cb)](),'displayName':_0xde3734[_0x454c52(0x33d)](),'format':_0xde3734[_0x454c52(0x2dd)](),'subTotalType':_0xde3734['getSubtotal']()});}),_0x113b77[_0x6408bd(0x299)]>0x1){const _0x4d54f6=_0x514187['getValueIndex']();(_0x514187[_0x6408bd(0x3d5)]()?_0x3bcc9a:_0xde954b)[_0x6408bd(0x2d6)](_0x4d54f6,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0x40fd9b=[];_0x514187[_0x6408bd(0x169)](_0x5ab2d7[_0x6408bd(0x358)]['Filter'],_0x36aa78=>{const _0x36f2c7=_0x6408bd;_0x40fd9b[_0x36f2c7(0x337)]({'dataFieldId':_0x36aa78['dataFieldId'],'tableFieldId':_0x36aa78['getId'](),'displayName':_0x36aa78[_0x36f2c7(0x33d)]()});});const _0x5b56eb=_0x387a86[_0x6408bd(0x133)];return{'sourceList':_0x3ab9f9,'sourceRange':_0x5b56eb,'rowFields':_0xde954b,'columnFields':_0x3bcc9a,'valueFields':_0x113b77,'filterFields':_0x40fd9b,'positionInfo':_0x387a86['targetCellInfo']};}function _0x314566(_0x312881,_0x83e047,_0x4720ee='',_0x2ebcdb={}){const _0x53eea4=_0x6daf50,_0x128b26=_0x312881[_0x53eea4(0x393)](_0x3aab5b['LocaleService']);for(const _0x5bdc87 in _0x83e047)if(Object[_0x53eea4(0x1ff)][_0x53eea4(0x291)][_0x53eea4(0x395)](_0x83e047,_0x5bdc87)){const _0x24b2c1=_0x4720ee?_0x4720ee+'.'+_0x5bdc87:_0x5bdc87;typeof _0x83e047[_0x5bdc87]==_0x53eea4(0x281)&&_0x83e047[_0x5bdc87]!==null&&!Array[_0x53eea4(0x1b2)](_0x83e047[_0x5bdc87])?_0x314566(_0x312881,_0x83e047[_0x5bdc87],_0x24b2c1,_0x2ebcdb):_0x2ebcdb[_0x24b2c1]=_0x128b26['t'](_0x24b2c1);}return _0x2ebcdb;}const _0x1668ea=_0x112334=>{const _0x226183=_0x6daf50;if(!_0x112334)return[];const {rowRanges:_0x46e853,colRanges:_0x24e663,cornerRanges:_0x3a4e64,dataRanges:_0x5a698f,pageRanges:_0xc4eff7}=_0x112334,_0xa2a2e=[..._0x24e663,..._0x46e853,..._0x5a698f,..._0x3a4e64][_0x226183(0x12e)](_0x624946=>_0x624946['startRow']>=0x0&&_0x624946[_0x226183(0x352)]>=0x0&&_0x624946[_0x226183(0x132)]>=0x0&&_0x624946['endColumn']>=0x0);let _0x5114c6=Number[_0x226183(0x222)],_0x3bd886=Number[_0x226183(0x39f)],_0xb9dc8=Number[_0x226183(0x222)],_0x4774ae=Number[_0x226183(0x39f)];for(let _0x4409fa=0x0;_0x4409fa<_0xa2a2e[_0x226183(0x299)];_0x4409fa++)_0x5114c6=Math['min'](_0x5114c6,_0xa2a2e[_0x4409fa][_0x226183(0x413)]),_0x3bd886=Math[_0x226183(0x3ec)](_0x3bd886,_0xa2a2e[_0x4409fa]['endRow']),_0xb9dc8=Math[_0x226183(0x384)](_0xb9dc8,_0xa2a2e[_0x4409fa][_0x226183(0x352)]),_0x4774ae=Math[_0x226183(0x3ec)](_0x4774ae,_0xa2a2e[_0x4409fa]['endColumn']);return[..._0xc4eff7,{'startRow':_0x5114c6,'endRow':_0x3bd886,'startColumn':_0xb9dc8,'endColumn':_0x4774ae}];};function _0x1f7c8b(_0x3791e5,_0x3595da){const _0x4a6d89=_0x6daf50,_0x9d9414=_0x3595da[_0x4a6d89(0x26b)][_0x4a6d89(0x2d5)],{pivotTableId:_0x2bfced,unitId:_0x4b2c67,subUnitId:_0x563138}=_0x3595da;if(!_0x9d9414)return;const _0x4d5676=_0x3791e5[_0x4a6d89(0x393)](_0x271f43[_0x4a6d89(0x383)]),_0x580f14=_0x4d5676[_0x4a6d89(0x3f8)](_0x2bfced),_0x2b5a6b=_0x4d5676[_0x4a6d89(0x3bd)](_0x4b2c67,_0x563138,_0x2bfced);if(!_0x580f14||!_0x2b5a6b)return;const _0x422d89=_0x580f14[_0x4a6d89(0x194)](_0x9d9414[_0x4a6d89(0x3a7)]);if(!(_0x422d89!=null&&_0x422d89[_0x4a6d89(0x299)]))return;const _0x3ba968=_0x2b5a6b[_0x4a6d89(0x133)],{unitId:_0xb8203,subUnitId:_0x291b1b,range:_0x47ef05}=_0x3ba968;let _0x5481b6=0x0;const _0x5d3834=_0x580f14[_0x4a6d89(0x39c)][_0x4a6d89(0x221)]()[_0x4a6d89(0x2e2)]((_0x177757,_0x43cff0)=>{const _0x2e0bd4=_0x4a6d89;var _0x49533c;const _0x32d7c9=(_0x49533c=_0x580f14[_0x2e0bd4(0x3ab)](_0x43cff0))==null?void 0x0:_0x49533c['getformat']();return _0x32d7c9&&(_0x177757[String(_0x5481b6)]=_0x32d7c9),_0x5481b6++,_0x177757;},{});return{'indexes':_0x422d89,'range':_0x47ef05,'sourceUnitId':_0xb8203,'sourceSubUnitId':_0x291b1b,'formatMap':_0x5d3834};}function _0x2ffa8d(_0x15f4fd,_0x5465c8){const _0x2a812a=_0x6daf50;if(!_0x15f4fd||!_0x5465c8)return!0x0;const _0x5ad29e=_0x2a826e[_0x2a812a(0x26c)](_0x1274f4,_0xba7c91),_0x209137=new Function(_0x2a812a(0x21e)+_0x5ad29e)()(_0x15f4fd,_0x5465c8)[_0x2a812a(0x231)],_0xcfe61b=_0x2a826e['isFeatureAuthorizedWithinTime'](_0x209137,'sf',_0x533439);return!((_0x209137==null?void 0x0:_0x209137['rt'])===_0x2a826e[_0x2a812a(0x2c9)][_0x2a812a(0x1b0)]&&!_0xcfe61b);}function _0x21309a(_0x34c746,_0x2f33db,_0xd5a69e){const _0x1a6da3=_0x6daf50,_0x5e671c={'count':_0x34c746,'timeValid':!0x1};if(!_0x2f33db||!_0xd5a69e)return _0x5e671c;const _0x1cb54f=_0x2a826e['unshiftString'](_0x1274f4,_0xba7c91),_0x36540a=new Function('return\x20'+_0x1cb54f)()(_0x2f33db,_0xd5a69e);if(_0x36540a!=null&&_0x36540a['valid']){const _0x341b87=_0x36540a[_0x1a6da3(0x231)],_0x58b288=_0x2a826e[_0x1a6da3(0x173)](_0x341b87,'sf',_0x533439);return{'count':_0x2a826e[_0x1a6da3(0x1fa)](_0x341b87,_0x58b288,_0x1a6da3(0x1a1),_0x34c746,_0x34c746,0x0),'timeValid':_0x58b288};}return _0x5e671c;}function _0x40be2a(_0x2a2801,_0x16bcc5,_0xa6eaa4,_0x1b7d1d){const _0x536f63=_0x6daf50,_0x13648a={'subUnitId':_0xa6eaa4,'unitId':_0x16bcc5,'cellValue':_0x5b84bb['generateNullCell'](_0x1b7d1d)},_0x17a389=_0x5b84bb['SetRangeValuesUndoMutationFactory'](_0x2a2801,_0x13648a);let _0x35a16a=!0x1;return new _0x3aab5b[(_0x536f63(0x25d))](_0x17a389[_0x536f63(0x1ef)])[_0x536f63(0x410)]((_0x224d81,_0x2827bf,_0x4ff7f1)=>{if(!_0x35a16a&&_0x4ff7f1&&(_0x4ff7f1['custom']||_0x4ff7f1['f']||_0x4ff7f1['p']||_0x4ff7f1['s']||_0x4ff7f1['si']||_0x4ff7f1['t']||_0x4ff7f1['v']))return _0x35a16a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5b84bb[_0x536f63(0x3b8)]['id'],'params':_0x17a389},'setRangeValueRedoMutation':{'id':_0x5b84bb['SetRangeValuesMutation']['id'],'params':_0x13648a},'shouldClear':_0x35a16a};}function _0x5014d2(_0x71f695){const {row:_0x495ff5,col:_0xdc7e6e}=_0x71f695,_0x19a165={'startRow':_0x495ff5,'endRow':_0x495ff5,'startColumn':_0xdc7e6e,'endColumn':_0xdc7e6e},_0x35f8b2={'startRow':_0x495ff5+0x2,'endRow':_0x495ff5+0xe,'startColumn':_0xdc7e6e,'endColumn':_0xdc7e6e+0x6};return[_0x19a165,_0x35f8b2];}function _0x5912db(_0xc02fa2,_0x45480a,_0x4ee61b){const _0x4192a2=_0x6daf50,{cornerView:_0x44d9d1,rowView:_0x20f4e0,colView:_0x4e5486,pageView:_0x1778eb}=_0xc02fa2,{row:_0x4737f7,col:_0x23ae21}=_0x45480a;if(_0x4ee61b)return{'rowCount':_0x30b41c+_0x4737f7,'colCount':_0x232a4c+_0x23ae21};const _0x135373=_0x1778eb[_0x4192a2(0x1a5)]>-0x1?_0x1778eb[_0x4192a2(0x1a5)]+0x1:0x0,_0x4c2268=_0x1778eb[_0x4192a2(0x22c)]>-0x1?_0x1778eb[_0x4192a2(0x22c)]:0x0,_0x3924e6=_0x4737f7+_0x135373+(_0x135373?0x1:0x0)+_0x44d9d1[_0x4192a2(0x43d)]+_0x20f4e0[_0x4192a2(0x43d)],_0x391c58=_0x23ae21+_0x4c2268,_0x5923e2=_0x23ae21+_0x44d9d1[_0x4192a2(0x1a9)]+_0x4e5486[_0x4192a2(0x1a9)],_0x47df4d=Math[_0x4192a2(0x3ec)](_0x391c58,_0x5923e2);return{'rowCount':_0x3924e6,'colCount':_0x47df4d};}function _0x44c00e(_0x3db356,_0x301259,_0x2c876a,_0x75ed7f){const _0x4e6f40=_0x6daf50,{row:_0x3e1c70,col:_0x55e3e3,unitId:_0x375dae,subUnitId:_0xa877df}=_0x2c876a,_0x2d0ee4=_0x5912db(_0x301259,{'row':_0x3e1c70,'col':_0x55e3e3},_0x75ed7f),_0x4fce91=_0x3db356[_0x4e6f40(0x393)](_0x3aab5b[_0x4e6f40(0x350)]),_0x105741=_0x5b84bb[_0x4e6f40(0x272)](_0x4fce91,{'unitId':_0x375dae,'subUnitId':_0xa877df}),_0x46c898=[],_0x5572ff=[];if(!_0x105741)return{'undos':_0x5572ff,'redos':_0x46c898};const {worksheet:_0x5006ab}=_0x105741,_0x3ae350=_0x5006ab['getRowCount'](),_0x4058d4=_0x5006ab[_0x4e6f40(0x379)]();return _0x3ae350<_0x2d0ee4[_0x4e6f40(0x43d)]&&(_0x46c898[_0x4e6f40(0x337)]({'id':_0x5b84bb[_0x4e6f40(0x3a9)]['id'],'params':{'unitId':_0x375dae,'subUnitId':_0xa877df,'range':{'startRow':_0x3ae350,'endRow':_0x2d0ee4[_0x4e6f40(0x43d)]-0x1,'startColumn':0x0,'endColumn':_0x4058d4-0x1}}}),_0x5572ff[_0x4e6f40(0x337)]({'id':_0x5b84bb[_0x4e6f40(0x1c2)]['id'],'params':{'unitId':_0x375dae,'subUnitId':_0xa877df,'range':{'startRow':_0x3ae350,'endRow':_0x2d0ee4[_0x4e6f40(0x43d)]-0x1,'startColumn':0x0,'endColumn':_0x4058d4-0x1}}})),_0x4058d4<_0x2d0ee4[_0x4e6f40(0x1a9)]&&(_0x46c898[_0x4e6f40(0x337)]({'id':_0x5b84bb[_0x4e6f40(0x2d9)]['id'],'params':{'unitId':_0x375dae,'subUnitId':_0xa877df,'range':{'startRow':0x0,'endRow':_0x3ae350-0x1,'startColumn':_0x4058d4,'endColumn':_0x2d0ee4[_0x4e6f40(0x1a9)]-0x1}}}),_0x5572ff[_0x4e6f40(0x337)]({'id':_0x5b84bb['RemoveColMutation']['id'],'params':{'unitId':_0x375dae,'subUnitId':_0xa877df,'range':{'startRow':0x0,'endRow':_0x3ae350-0x1,'startColumn':_0x4058d4,'endColumn':_0x2d0ee4[_0x4e6f40(0x1a9)]-0x1}}})),{'undos':_0x5572ff,'redos':_0x46c898};}function _0x3a5858(_0x41cb51){const _0x423f85=_0x6daf50;let _0x1c0898=0x0;for(let _0x9f9452=0x0;_0x9f9452<_0x41cb51['length'];_0x9f9452++){const _0x517f60=_0x41cb51[_0x423f85(0x2fd)](_0x9f9452);_0x517f60>=0x4e00&&_0x517f60<=0x9fff||_0x517f60>=0x3000&&_0x517f60<=0x303f||_0x517f60>=0xff00&&_0x517f60<=0xffef?_0x1c0898+=0x2:_0x1c0898+=0x1;}return _0x1c0898;}function _0x43be85(_0x9b4004,_0x1e8b31,_0x22a7c3,_0x347720){const _0x359668=_0x6daf50;var _0x1c13e3,_0x4c55ad,_0x44eaff,_0x18fbcc;const {rowCount:_0x4f33c1,colCount:_0x187edd,headerMap:_0x30aea}=_0x9b4004,_0x568b62=0x64,_0x203862=Math['min'](_0x4f33c1,_0x568b62),_0x4752b9=Math[_0x359668(0x384)](_0x187edd,_0x568b62);let _0x2501fc='',_0x1c81bb=0x0;for(let _0x3f89d5=0x0;_0x3f89d5<_0x203862;_0x3f89d5++)for(let _0xc2fb32=0x0;_0xc2fb32<_0x4752b9;_0xc2fb32++){const _0x5b6373={...(_0x4c55ad=(_0x1c13e3=_0x9b4004[_0x359668(0x354)])==null?void 0x0:_0x1c13e3[_0x3f89d5])==null?void 0x0:_0x4c55ad[_0xc2fb32]},_0x2653d8=(_0x44eaff=_0x30aea[_0x3f89d5])==null?void 0x0:_0x44eaff[_0x359668(0x124)],_0x506b94=_0x347720[_0x2653d8];let _0x2a9432=_0x9b4004[_0x359668(0x123)](_0x3f89d5,_0xc2fb32);if(_0x5b6373){const _0x1c0c86=_0x22a7c3?_0xc2fb32===0x0&&((_0x18fbcc=_0x9b4004[_0x359668(0x33b)](_0xc2fb32+0x1))==null?void 0x0:_0x18fbcc[_0x359668(0x334)]):!0x1;_0x2a9432=_0x574731(_0x5b6373,_0x1c0c86,_0x506b94,_0x1e8b31);}if(_0x2a9432!==void 0x0){const _0x3bc4dc=_0x3a5858(String(_0x2a9432));_0x1c81bb<_0x3bc4dc&&(_0x2501fc=String(_0x2a9432),_0x1c81bb=_0x3bc4dc);}}return _0x2501fc;}function _0x261719(_0x3f33c7){const _0xdd6410=_0x6daf50,{rowCount:_0x3be55d,colCount:_0x96b707}=_0x3f33c7;let _0x37f46f='',_0xcb466e=0x0;for(let _0x2a07cc=_0x3be55d-0x1;_0x2a07cc>0x0&&_0x2a07cc>_0x3be55d-0x3;_0x2a07cc--)for(let _0x45215a=0x0;_0x45215a<_0x96b707;_0x45215a++){const _0x32a583=_0x3f33c7[_0xdd6410(0x123)](_0x2a07cc,_0x45215a);if(_0x32a583!==void 0x0){const _0x45b36e=String(_0x32a583)[_0xdd6410(0x299)];_0xcb466e<_0x45b36e&&(_0x37f46f=String(_0x32a583),_0xcb466e=_0x45b36e);}}return _0x37f46f;}function _0x4c0c6c(_0x1a16ff){const _0x337ab3=_0x6daf50,{rowCount:_0x198b22,colCount:_0x2315bd}=_0x1a16ff;let _0x1534d9='',_0x3f612b=0x0;for(let _0x30e354=0x0;_0x30e354<_0x198b22;_0x30e354++)for(let _0x59e7f7=0x0;_0x59e7f7<_0x2315bd;_0x59e7f7++){const _0x89f8d5=_0x1a16ff[_0x337ab3(0x123)](_0x30e354,_0x59e7f7);if(_0x89f8d5!==void 0x0){const _0xf670e4=String(_0x89f8d5)[_0x337ab3(0x299)];_0x3f612b<_0xf670e4&&(_0x1534d9=String(_0x89f8d5),_0x3f612b=_0xf670e4);}}return _0x1534d9;}function _0x1d0768(_0x3b86eb,_0x5b747e){const _0x328b0e=_0x6daf50,{rowFields:_0xf3d954,columnFields:_0x28be05,valueFields:_0x361d00,filterFields:_0x1de3ad,dimension:_0x33601f,measure:_0x1b4b22}=_0x5b747e;for(const _0x5beda5 of _0xf3d954){const _0x481216=_0x33601f[_0x5beda5];_0x481216&&_0x3b86eb[_0x328b0e(0x3ab)](_0x481216['dataFieldId'])&&(_0x3b86eb[_0x328b0e(0x187)](_0x481216['dataFieldId'],_0x5ab2d7[_0x328b0e(0x358)][_0x328b0e(0x2f7)],void 0x0,_0x5beda5),_0x481216[_0x328b0e(0x193)]&&_0x3b86eb[_0x328b0e(0x364)](_0x481216['id'],_0x481216[_0x328b0e(0x193)]),_0x481216['sortInfo']&&_0x3b86eb['setSortInfo'](_0x481216['id'],_0x481216[_0x328b0e(0x1f2)]),_0x481216['filterInfo']&&_0x3b86eb[_0x328b0e(0x258)](_0x481216['id'],_0x481216['filterInfo']));}for(const _0x100ef6 of _0x28be05){const _0x194ca1=_0x33601f[_0x100ef6];_0x194ca1&&_0x3b86eb['getDataFieldByDataFieldId'](_0x194ca1[_0x328b0e(0x304)])&&(_0x3b86eb[_0x328b0e(0x187)](_0x194ca1['dataFieldId'],_0x5ab2d7[_0x328b0e(0x358)]['Column'],void 0x0,_0x100ef6),_0x194ca1[_0x328b0e(0x1f2)]&&_0x3b86eb['setSortInfo'](_0x194ca1['id'],_0x194ca1[_0x328b0e(0x1f2)]),_0x194ca1['filterInfo']&&_0x3b86eb[_0x328b0e(0x258)](_0x194ca1['id'],_0x194ca1['filterInfo']),_0x194ca1[_0x328b0e(0x193)]&&_0x3b86eb[_0x328b0e(0x364)](_0x194ca1['id'],_0x194ca1[_0x328b0e(0x193)]));}for(const _0x204fae of _0x1de3ad){const _0xfe0a0b=_0x33601f[_0x204fae];_0xfe0a0b&&_0x3b86eb[_0x328b0e(0x3ab)](_0xfe0a0b['dataFieldId'])&&(_0x3b86eb[_0x328b0e(0x187)](_0xfe0a0b['dataFieldId'],_0x5ab2d7[_0x328b0e(0x358)][_0x328b0e(0x3c1)],void 0x0,_0x204fae),_0xfe0a0b['sortInfo']&&_0x3b86eb[_0x328b0e(0x1ca)](_0xfe0a0b['id'],_0xfe0a0b['sortInfo']),_0xfe0a0b[_0x328b0e(0x176)]&&_0x3b86eb[_0x328b0e(0x258)](_0xfe0a0b['id'],_0xfe0a0b[_0x328b0e(0x176)]),_0xfe0a0b[_0x328b0e(0x193)]&&_0x3b86eb[_0x328b0e(0x364)](_0xfe0a0b['id'],_0xfe0a0b[_0x328b0e(0x193)]));}for(const _0x59d32b of _0x361d00){const _0x5ea367=_0x1b4b22[_0x59d32b];_0x5ea367&&_0x3b86eb['getDataFieldByDataFieldId'](_0x5ea367[_0x328b0e(0x304)])&&(_0x3b86eb[_0x328b0e(0x187)](_0x5ea367[_0x328b0e(0x304)],_0x5ab2d7[_0x328b0e(0x358)][_0x328b0e(0x338)],void 0x0,_0x59d32b),_0x5ea367[_0x328b0e(0x232)]!==void 0x0&&_0x3b86eb[_0x328b0e(0x1f7)](_0x59d32b,_0x5ea367[_0x328b0e(0x232)]),_0x5ea367[_0x328b0e(0x40c)]&&_0x3b86eb[_0x328b0e(0x16d)](_0x59d32b,_0x5ea367['format']),_0x5ea367['displayName']&&_0x3b86eb['renameField'](_0x5ea367['id'],_0x5ea367['displayName']));}const _0x522a22=_0x5b747e['valueFilter'];for(const {fieldId:_0x31fe47,filterInfo:_0x3d6cb0}of _0x522a22)_0x3b86eb[_0x328b0e(0x206)](_0x31fe47,_0x3d6cb0);}function _0x22f4ff(_0x510c89,_0x13edd3){const _0x1d7157=_0x6daf50,_0x37abff=[];_0x13edd3===_0x5ab2d7[_0x1d7157(0x358)][_0x1d7157(0x2f7)]&&_0x510c89[_0x1d7157(0x169)](_0x5ab2d7[_0x1d7157(0x358)][_0x1d7157(0x2f7)],_0x575049=>{const _0x366115=_0x1d7157;_0x37abff[_0x366115(0x337)](_0x575049[_0x366115(0x1cb)]());}),_0x13edd3===_0x5ab2d7[_0x1d7157(0x358)]['Column']&&_0x510c89[_0x1d7157(0x169)](_0x5ab2d7['PivotTableFiledAreaEnum']['Column'],_0x20cbcc=>{const _0x5b19da=_0x1d7157;_0x37abff[_0x5b19da(0x337)](_0x20cbcc['getId']());}),_0x13edd3===_0x5ab2d7[_0x1d7157(0x358)][_0x1d7157(0x3c1)]&&_0x510c89[_0x1d7157(0x169)](_0x5ab2d7[_0x1d7157(0x358)][_0x1d7157(0x3c1)],_0x52efb5=>{const _0xf35246=_0x1d7157;_0x37abff['push'](_0x52efb5[_0xf35246(0x1cb)]());}),_0x13edd3===_0x5ab2d7['PivotTableFiledAreaEnum']['Value']&&_0x510c89[_0x1d7157(0x169)](_0x5ab2d7[_0x1d7157(0x358)][_0x1d7157(0x338)],_0x34945c=>{const _0x11ab1f=_0x1d7157;_0x37abff['push'](_0x34945c[_0x11ab1f(0x1cb)]());}),_0x13edd3===void 0x0&&_0x510c89[_0x1d7157(0x32a)](_0x33b2ac=>{const _0x206df0=_0x1d7157;_0x37abff[_0x206df0(0x337)](_0x33b2ac[_0x206df0(0x1cb)]());});const _0x400317=_0x37abff[_0x1d7157(0x299)];for(let _0x4be79e=_0x400317-0x1;_0x4be79e>=0x0;_0x4be79e--)_0x510c89[_0x1d7157(0x31a)](_0x37abff[_0x4be79e]);const _0x5b5d3c=_0x510c89['getValueFilterInfos']();for(const _0x26056e in _0x5b5d3c)_0x510c89[_0x1d7157(0x432)](_0x26056e);}function _0x2752ed(_0x472986,_0x574f1e){const _0x1564af=_0x6daf50,_0x345121=new Date(_0x5ab2d7[_0x1564af(0x314)](_0x574f1e)),_0x42a3db=new Date(_0x5ab2d7[_0x1564af(0x314)](_0x472986)),_0x28db79=_0x345121[_0x1564af(0x430)](),_0x231505=_0x42a3db[_0x1564af(0x430)](),_0x2d7342=_0x345121[_0x1564af(0x161)](),_0x2fee0a=_0x42a3db[_0x1564af(0x161)](),_0x138f71=_0x345121['getDate'](),_0x409b9d=_0x42a3db['getDate'](),_0xd9a263=_0x28db79===_0x231505,_0x2f0478=_0xd9a263&&_0x2d7342===_0x2fee0a;return _0xd9a263&&_0x2f0478&&!(_0x2f0478&&_0x138f71===_0x409b9d)?_0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x1564af(0x20b)]:_0xd9a263&&!_0x2f0478?_0x5ab2d7[_0x1564af(0x229)][_0x1564af(0x320)]:_0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x1564af(0x226)];}function _0x59a81c(_0x5521f5,_0x3a9cae){const _0x1a5034=_0x6daf50,_0x526901=_0x5521f5[_0x1a5034(0x393)](_0x271f43[_0x1a5034(0x383)])['getTextInfo']();let _0x298e40='';switch(_0x3a9cae){case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x20b)]:_0x298e40=_0x526901[_0x1a5034(0x3ee)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x320)]:_0x298e40=_0x526901[_0x1a5034(0x285)];break;case _0x5ab2d7[_0x1a5034(0x229)]['Year']:_0x298e40=_0x526901[_0x1a5034(0x13e)];break;case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x1a5034(0x3e1)]:_0x298e40=_0x526901['sheets-pivot.dateGroup.month'];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x1a4)]:_0x298e40=_0x526901[_0x1a5034(0x307)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x23b)]:_0x298e40=_0x526901[_0x1a5034(0x38d)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x2c2)]:_0x298e40=_0x526901[_0x1a5034(0x345)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x32d)]:_0x298e40=_0x526901[_0x1a5034(0x3c6)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x181)]:_0x298e40=_0x526901[_0x1a5034(0x249)];break;case _0x5ab2d7['PivotDateGroupFieldDateTypeEnum'][_0x1a5034(0x42d)]:_0x298e40=_0x526901[_0x1a5034(0x159)];break;case _0x5ab2d7[_0x1a5034(0x229)][_0x1a5034(0x3df)]:_0x298e40=_0x526901[_0x1a5034(0x3c2)];break;default:_0x298e40='';break;}return _0x298e40;}const _0x29fd09='sheets-pivot.config',_0x5a1be7={};var _0xd41005=Object[_0x6daf50(0x182)],_0x80f776=(_0x100115,_0x41f48b,_0x21a3d4,_0x3f4209)=>{for(var _0x122490=_0x3f4209>0x1?void 0x0:_0x3f4209?_0xd41005(_0x41f48b,_0x21a3d4):_0x41f48b,_0x109b73=_0x100115['length']-0x1,_0x1fb562;_0x109b73>=0x0;_0x109b73--)(_0x1fb562=_0x100115[_0x109b73])&&(_0x122490=_0x1fb562(_0x122490)||_0x122490);return _0x122490;},_0x51104c=(_0x2b22c3,_0x3e39e0)=>(_0x13b164,_0x3788b4)=>_0x3e39e0(_0x13b164,_0x3788b4,_0x2b22c3);_0x271f43[_0x6daf50(0x42c)]=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x556ee2,_0x1d72d4,_0x1ab03c,_0x3cbebd,_0x51a085){const _0x327253=_0x6daf50;super(),_0x3f9e42(this,_0x327253(0x3dc),new Map()),_0x3f9e42(this,'_collectionConfigModel',new Map()),_0x3f9e42(this,_0x327253(0x1d8),new Map()),_0x3f9e42(this,_0x327253(0x309),new Map()),_0x3f9e42(this,_0x327253(0x398),new _0x2b128f[(_0x327253(0x129))]()),_0x3f9e42(this,_0x327253(0x38b),new _0x2b128f[(_0x327253(0x129))]()),_0x3f9e42(this,_0x327253(0x27e),this['_pivotInitCompleted$'][_0x327253(0x3c3)]()),_0x3f9e42(this,_0x327253(0x321),new _0x2b128f['Subject']()),_0x3f9e42(this,_0x327253(0x27c),this[_0x327253(0x321)][_0x327253(0x3c3)]()),_0x3f9e42(this,_0x327253(0x200),{}),_0x3f9e42(this,_0x327253(0x371),this[_0x327253(0x398)][_0x327253(0x3c3)]()),(this['_injector']=_0x556ee2,this[_0x327253(0x392)]=_0x1d72d4,this[_0x327253(0x24e)]=_0x1ab03c,this[_0x327253(0x2d1)]=_0x3cbebd,this[_0x327253(0x434)]=_0x51a085,this[_0x327253(0x43b)](),this[_0x327253(0x241)]());const _0x25d1c3=this[_0x327253(0x434)][_0x327253(0x3d0)](_0x29fd09);(_0x25d1c3==null?void 0x0:_0x25d1c3['notExecuteFormula'])===!0x0&&this[_0x327253(0x192)]();}[_0x6daf50(0x241)](){const _0x373192=_0x6daf50;this[_0x373192(0x137)](this[_0x373192(0x24e)][_0x373192(0x317)](_0x3aab5b[_0x373192(0x3b5)][_0x373192(0x343)])[_0x373192(0x236)](_0x8f68d7=>{const _0x570ca1=_0x373192;this[_0x570ca1(0x39b)](_0x8f68d7[_0x570ca1(0x306)]());}));}[_0x6daf50(0x211)](){const _0x1c1710=_0x6daf50;this['_pivotInitCompleted$'][_0x1c1710(0x3b3)](!0x0);}[_0x6daf50(0x43b)](){const _0x1d0119=_0x6daf50,_0x377b20=_0x314566(this[_0x1d0119(0x408)],_0x42a6ad,'',{});this[_0x1d0119(0x200)]=_0x377b20,this['_commandService'][_0x1d0119(0x2ec)](_0x3db2ca['id'],{'textInfo':_0x377b20},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x345c7d=_0x6daf50;return this[_0x345c7d(0x200)];}[_0x6daf50(0x290)](_0x56cc82,_0x147bce,_0x56cb57,_0x2adeee,_0x33e9f4){const _0x364144=_0x6daf50;this[_0x364144(0x216)](_0x56cc82,_0x147bce,_0x56cb57,_0x2adeee),this['updatePivotTableRangeInfo'](_0x56cc82,_0x147bce,_0x56cb57,_0x33e9f4);}[_0x6daf50(0x3bd)](_0x1b4960,_0x5f4a95,_0x35302d){const _0x15b27e=_0x6daf50;var _0x31c34c;const _0x1e132d=(_0x31c34c=this['_model'][_0x15b27e(0x393)](_0x1b4960))==null?void 0x0:_0x31c34c[_0x15b27e(0x393)](_0x5f4a95);if(_0x1e132d)return _0x1e132d[_0x15b27e(0x393)](_0x35302d);}[_0x6daf50(0x2ef)](_0x2b02d4,_0x1880dc){const _0x58a2bd=_0x6daf50,_0x170f20=this['_model'][_0x58a2bd(0x393)](_0x2b02d4);if(_0x170f20){for(const [_0x3c13e9,_0x51d9d2]of _0x170f20[_0x58a2bd(0x1b1)]())for(const [_0x373dec,_0x5aba07]of _0x51d9d2[_0x58a2bd(0x1b1)]())if(_0x373dec===_0x1880dc)return _0x5aba07[_0x58a2bd(0x233)];}}[_0x6daf50(0x360)](_0x562caa,_0x341739,_0x5e2a58){const _0x416a9e=_0x6daf50,_0x12c2e5=this[_0x416a9e(0x3bd)](_0x562caa,_0x341739,_0x5e2a58);return _0x12c2e5==null?void 0x0:_0x12c2e5[_0x416a9e(0x233)];}[_0x6daf50(0x355)](_0x42d7f7,_0x4a9da4){const _0x1cb075=_0x6daf50;var _0x1ddafd;return(_0x1ddafd=this[_0x1cb075(0x3dc)][_0x1cb075(0x393)](_0x42d7f7))==null?void 0x0:_0x1ddafd[_0x1cb075(0x393)](_0x4a9da4);}['updateConfigCache'](_0x58bb7c,_0x58305e,_0x429f7a,_0x1eed34){const _0x3f0a95=_0x6daf50,_0x5f5bd5=this[_0x3f0a95(0x27b)](_0x58bb7c,_0x58305e);_0x1eed34?_0x5f5bd5[_0x3f0a95(0x3eb)](_0x429f7a,_0x1eed34):_0x5f5bd5[_0x3f0a95(0x356)](_0x429f7a),this[_0x3f0a95(0x321)]['next']({'unitId':_0x58bb7c,'subUnitId':_0x58305e,'pivotTableId':_0x429f7a,'pivotTableConfig':_0x1eed34});}[_0x6daf50(0x34e)](_0x2f5bf1,_0x15e8a7){const _0x14714a=_0x6daf50;var _0x3fb985;return(_0x3fb985=this[_0x14714a(0x2b1)][_0x14714a(0x393)](_0x2f5bf1))==null?void 0x0:_0x3fb985[_0x14714a(0x1e7)][_0x15e8a7];}[_0x6daf50(0x2f9)](_0x2e7d63,_0x52c118){const _0x240df1=_0x6daf50;this[_0x240df1(0x2b1)][_0x240df1(0x3eb)](_0x2e7d63,_0x52c118),this[_0x240df1(0x398)][_0x240df1(0x3b3)](Math[_0x240df1(0x1ee)]());}[_0x6daf50(0x27b)](_0x460e21,_0x3b9265){const _0x2d73b7=_0x6daf50;let _0x2d38e7=this[_0x2d73b7(0x3dc)][_0x2d73b7(0x393)](_0x460e21);_0x2d38e7||(_0x2d38e7=new Map(),this[_0x2d73b7(0x3dc)][_0x2d73b7(0x3eb)](_0x460e21,_0x2d38e7));let _0x59d738=_0x2d38e7[_0x2d73b7(0x393)](_0x3b9265);return _0x59d738||(_0x59d738=new Map(),_0x2d38e7['set'](_0x3b9265,_0x59d738)),_0x59d738;}[_0x6daf50(0x12a)](_0x34ae79,_0x3aa50b){const _0x5ac939=_0x6daf50;let _0x196fae=this[_0x5ac939(0x1d8)][_0x5ac939(0x393)](_0x34ae79);_0x196fae||(_0x196fae=new Map(),this[_0x5ac939(0x1d8)]['set'](_0x34ae79,_0x196fae));let _0x2b74d0=_0x196fae[_0x5ac939(0x393)](_0x3aa50b);return _0x2b74d0||(_0x2b74d0=new Map(),_0x196fae[_0x5ac939(0x3eb)](_0x3aa50b,_0x2b74d0)),_0x2b74d0;}[_0x6daf50(0x14a)](_0x2f28ba,_0x2a01aa){const _0x54f79d=_0x6daf50;let _0x209887=this[_0x54f79d(0x309)][_0x54f79d(0x393)](_0x2f28ba);_0x209887||(_0x209887=new Map(),this[_0x54f79d(0x309)][_0x54f79d(0x3eb)](_0x2f28ba,_0x209887));let _0x4b5296=_0x209887[_0x54f79d(0x393)](_0x2a01aa);return _0x4b5296||(_0x4b5296=new Map(),_0x209887[_0x54f79d(0x3eb)](_0x2a01aa,_0x4b5296)),_0x4b5296;}['updatePivotTableRangeInfo'](_0x1c9180,_0x320f3e,_0x4e7627,_0x2938fb){const _0x4afcd2=_0x6daf50;var _0x2432c3;const _0x3bd82d=this['_ensurePivotTableRangeInfo'](_0x1c9180,_0x320f3e),_0x4b9402=(_0x2432c3=_0x3bd82d[_0x4afcd2(0x393)](_0x4e7627))==null?void 0x0:_0x2432c3[_0x4afcd2(0x18b)];_0x3bd82d[_0x4afcd2(0x3eb)](_0x4e7627,{'oldRangeInfo':_0x4b9402,'rangeInfo':_0x2938fb});}[_0x6daf50(0x216)](_0x59c9f6,_0x4e8ff9,_0x3cd9e6,_0x3b0210){const _0x26e637=_0x6daf50;var _0x48174b;const _0x4103e1=this[_0x26e637(0x14a)](_0x59c9f6,_0x4e8ff9),_0x16eae4=(_0x48174b=_0x4103e1['get'](_0x3cd9e6))==null?void 0x0:_0x48174b['oldMatrix'];_0x4103e1[_0x26e637(0x3eb)](_0x3cd9e6,{'oldMatrix':_0x16eae4,'matrix':_0x3b0210});}[_0x6daf50(0x273)](_0x5e6179,_0x487f3f,_0x157a02){const _0x4f72cc=_0x6daf50;var _0xb2b24f,_0x4d44f9;return(_0x4d44f9=(_0xb2b24f=this[_0x4f72cc(0x1d8)][_0x4f72cc(0x393)](_0x5e6179))==null?void 0x0:_0xb2b24f[_0x4f72cc(0x393)](_0x487f3f))==null?void 0x0:_0x4d44f9['get'](_0x157a02);}[_0x6daf50(0x41a)](_0x2532fa,_0x420d90,_0x515a9f){const _0x122cd7=_0x6daf50;var _0x3ec4d2,_0x3ee710;return(_0x3ee710=(_0x3ec4d2=this[_0x122cd7(0x309)][_0x122cd7(0x393)](_0x2532fa))==null?void 0x0:_0x3ec4d2[_0x122cd7(0x393)](_0x420d90))==null?void 0x0:_0x3ee710[_0x122cd7(0x393)](_0x515a9f);}[_0x6daf50(0x39b)](_0x528a3e){const _0x4a9808=_0x6daf50;this[_0x4a9808(0x3dc)][_0x4a9808(0x356)](_0x528a3e),this[_0x4a9808(0x2b1)][_0x4a9808(0x356)](_0x528a3e);}[_0x6daf50(0x3ad)](_0xcbb347){const _0x5edac1=_0x6daf50,_0x536484={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5edac1(0x2b1)][_0x5edac1(0x393)](_0xcbb347)&&(_0x536484[_0x5edac1(0x18e)][_0xcbb347]=this['_collectionConfigModel'][_0x5edac1(0x393)](_0xcbb347)),this[_0x5edac1(0x3dc)][_0x5edac1(0x393)](_0xcbb347)){_0x536484['pivotTableConfigs'][_0xcbb347]={};const _0x231a55=this['_model']['get'](_0xcbb347);_0x231a55!=null&&_0x231a55[_0x5edac1(0x423)]&&[..._0x231a55[_0x5edac1(0x30e)]()][_0x5edac1(0x3d8)](_0x22db1b=>{const _0x16f4df=_0x5edac1,_0x20f40e=_0x231a55[_0x16f4df(0x393)](_0x22db1b);_0x20f40e!=null&&_0x20f40e[_0x16f4df(0x423)]&&(_0x536484[_0x16f4df(0x374)][_0xcbb347][_0x22db1b]={},[..._0x20f40e[_0x16f4df(0x30e)]()][_0x16f4df(0x3d8)](_0x322050=>{const _0x302664=_0x16f4df,_0x4adf5a=_0x20f40e[_0x302664(0x393)](_0x322050);_0x4adf5a&&(_0x536484[_0x302664(0x374)][_0xcbb347][_0x22db1b][_0x322050]=_0x4adf5a);}));});}return _0x536484;}[_0x6daf50(0x192)](){const _0x25fbcb=_0x6daf50;this[_0x25fbcb(0x137)](this['_resourceManagerService'][_0x25fbcb(0x30f)]({'toJson':_0x34aa26=>JSON[_0x25fbcb(0x247)](this['_toJSON'](_0x34aa26)),'parseJson':_0x32d664=>({}),'businesses':[_0x3aab5b[_0x25fbcb(0x3b5)][_0x25fbcb(0x343)]],'pluginName':_0x3a232b,'onLoad':(_0x3b3303,_0x1d4ade)=>{},'onUnLoad':_0x7ce36d=>{const _0xbb04bf=_0x25fbcb;this[_0xbb04bf(0x39b)](_0x7ce36d);}}));}},_0x271f43['SheetsPivotTableConfigModel']=_0x80f776([_0x51104c(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)])),_0x51104c(0x1,_0x3aab5b['Inject'](_0x3aab5b['ICommandService'])),_0x51104c(0x2,_0x3aab5b['Inject'](_0x3aab5b['IUniverInstanceService'])),_0x51104c(0x3,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x2b9)])),_0x51104c(0x4,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x1eb)]))],_0x271f43[_0x6daf50(0x42c)]);var _0x1e5014=Object[_0x6daf50(0x182)],_0xf8d671=(_0x226a25,_0x2ed21e,_0x501ba9,_0x2935e3)=>{const _0x165161=_0x6daf50;for(var _0x424b84=_0x2935e3>0x1?void 0x0:_0x2935e3?_0x1e5014(_0x2ed21e,_0x501ba9):_0x2ed21e,_0x2edc7c=_0x226a25[_0x165161(0x299)]-0x1,_0x33bf4d;_0x2edc7c>=0x0;_0x2edc7c--)(_0x33bf4d=_0x226a25[_0x2edc7c])&&(_0x424b84=_0x33bf4d(_0x424b84)||_0x424b84);return _0x424b84;},_0x29602c=(_0xe07b54,_0x151844)=>(_0x1e8f7e,_0xb26ffb)=>_0x151844(_0x1e8f7e,_0xb26ffb,_0xe07b54);_0x271f43['SheetsPivotTableAdaptorModel']=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x2eefad,_0x11d6ba,_0xe2ee1a,_0x357e42,_0x54d54b){const _0x764cfb=_0x6daf50;super(),_0x3f9e42(this,_0x764cfb(0x2cb),new Map()),_0x3f9e42(this,_0x764cfb(0x324),new Map()),_0x3f9e42(this,_0x764cfb(0x248),new _0x2b128f[(_0x764cfb(0x129))]()),_0x3f9e42(this,_0x764cfb(0x433),this['_markDirty$'][_0x764cfb(0x3c3)]()),_0x3f9e42(this,_0x764cfb(0x2cd),new _0x2b128f[(_0x764cfb(0x129))]()),_0x3f9e42(this,_0x764cfb(0x1af),this[_0x764cfb(0x2cd)][_0x764cfb(0x3c3)]()),_0x3f9e42(this,'_textInfo'),(this[_0x764cfb(0x2aa)]=_0x2eefad,this[_0x764cfb(0x408)]=_0x11d6ba,this[_0x764cfb(0x3cd)]=_0xe2ee1a,this[_0x764cfb(0x24e)]=_0x357e42,this[_0x764cfb(0x2e3)]=_0x54d54b,this[_0x764cfb(0x43b)](),this[_0x764cfb(0x241)]());}[_0x6daf50(0x241)](){const _0x5e6f70=_0x6daf50;this[_0x5e6f70(0x137)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3aab5b['UniverInstanceType'][_0x5e6f70(0x343)])[_0x5e6f70(0x236)](_0x3f5dfc=>{const _0x22a5fc=_0x5e6f70;this[_0x22a5fc(0x39b)](_0x3f5dfc['getUnitId']());}));}[_0x6daf50(0x43b)](){const _0x52b719=_0x6daf50;this[_0x52b719(0x200)]=_0x314566(this[_0x52b719(0x408)],_0x42a6ad,'',{});}[_0x6daf50(0x250)](_0x21bc80){const _0x19deb9=_0x6daf50,{view:_0x3ed836,unitId:_0x21560a,subUnitId:_0x5390ec,pivotTableId:_0x27d70d,type:_0x3f5887}=_0x21bc80,_0x57b6c2=this[_0x19deb9(0x3cd)][_0x19deb9(0x3bd)](_0x21560a,_0x5390ec,_0x27d70d);if(!_0x3ed836||!_0x57b6c2||_0x3f5887===_0x1ab225[_0x19deb9(0x24b)])return;const {pageView:_0x5c17cf,cornerView:_0x1fb6f4,rowView:_0x4595a4,colView:_0xf87dd9,dataView:_0x4bd6a5}=_0x3ed836,_0xdd1d2a=_0x57b6c2[_0x19deb9(0x233)],_0x3c0d68=_0x57b6c2[_0x19deb9(0x37d)],_0x39a6ba=this[_0x19deb9(0x417)](_0x21560a,_0x5390ec),_0x28a002=this[_0x19deb9(0x146)](_0x21560a,_0x5390ec,_0x27d70d);if(_0x3c0d68)return this[_0x19deb9(0x19f)](_0x21bc80,_0x39a6ba,_0xdd1d2a,_0x28a002);{const _0x591670=_0x56e08b(_0xdd1d2a,_0x5c17cf,!0x0),_0x1fb41d=_0x5c17cf[_0x19deb9(0x1a5)]>=0x0?_0x5c17cf['lastRow']+0x1:0x0,_0x553979=_0x1fb6f4[_0x19deb9(0x3c8)](),_0x1c251c=_0x1fb6f4['getColCount'](),_0x26af6a=_0x591670[_0x19deb9(0x299)]>0x0?_0x50ed31:0x0,_0x7562ff=_0x56e08b({'row':_0xdd1d2a[_0x19deb9(0x177)]+_0x1fb41d+_0x26af6a,'col':_0xdd1d2a[_0x19deb9(0x215)]},_0x1fb6f4,!0x1,!0x1),_0x59d646=_0x56e08b({'row':_0xdd1d2a['row']+_0x1fb41d+_0x26af6a+_0x553979,'col':_0xdd1d2a[_0x19deb9(0x215)]},_0x4595a4,!0x1,!0x0),_0x16d8c2=_0x56e08b({'row':_0xdd1d2a[_0x19deb9(0x177)]+_0x1fb41d+_0x26af6a,'col':_0xdd1d2a[_0x19deb9(0x215)]+_0x1c251c},_0xf87dd9,!0x1,!0x0),_0x2296e9=_0x56e08b({'row':_0xdd1d2a[_0x19deb9(0x177)]+_0x1fb41d+_0x26af6a+_0x553979,'col':_0xdd1d2a[_0x19deb9(0x215)]+_0x1c251c},_0x4bd6a5,!0x1,!0x1);_0x28a002[_0x19deb9(0x316)]={'rowRanges':_0x59d646,'colRanges':_0x16d8c2,'cornerRanges':_0x7562ff,'dataRanges':_0x2296e9,'pageRanges':_0x591670};const _0x2f0675=_0x489212(this['_injector'],_0x3ed836,_0x57b6c2,this['_textInfo']),{valueMatrix:_0x15b1d8,rowInfo:_0x55de91,colInfo:_0x2f78f5,cornerInfo:_0x25af28,rowHeaderMap:_0x343819,colHeaderMap:_0x305403}=_0x2f0675;return _0x28a002[_0x19deb9(0x361)]={'rowInfo':_0x55de91,'colInfo':_0x2f78f5,'cornerInfo':_0x25af28},_0x28a002[_0x19deb9(0x14f)]={'rowHeaderMap':_0x343819,'colHeaderMap':_0x305403},_0x15b1d8['forEach']((_0x118d22,_0xf2131d)=>{const _0x5ebd72=_0x19deb9;Object[_0x5ebd72(0x30e)](_0xf2131d)['forEach'](_0x1a7218=>{const _0x3f0bac=_0x5ebd72,_0x3ab777=+_0x1a7218,_0x3579ba=_0x15b1d8['getValue'](_0x118d22,_0x3ab777);_0x39a6ba[_0x3f0bac(0x3e5)](_0x118d22,_0x3ab777,_0x3579ba);});}),this['_viewUpdate$'][_0x19deb9(0x3b3)]({'unitId':_0x21560a,'subUnitId':_0x5390ec,'valueMatrix':_0x39a6ba,'rangesCache':_0x28a002[_0x19deb9(0x316)],'pivotTableId':_0x27d70d,'type':_0x21bc80[_0x19deb9(0x15a)]}),this['_sheetsPivotTableConfigModel'][_0x19deb9(0x290)](_0x21560a,_0x5390ec,_0x27d70d,_0x39a6ba,_0x28a002[_0x19deb9(0x316)]),this[_0x19deb9(0x2e3)][_0x19deb9(0x29e)](_0x21560a,_0x5390ec,_0x4b122d,this[_0x19deb9(0x2d7)](_0x28a002[_0x19deb9(0x316)],_0x27d70d)),{'rangeCache':_0x28a002[_0x19deb9(0x316)],'matrix':_0x39a6ba};}}['_updateRenderEmptyCache'](_0x241e7d,_0x2b3c79,_0x53104e,_0x604d24){const _0x211b48=_0x6daf50,_0x18e392=this['_localeService']['t'],{unitId:_0x2b8148,subUnitId:_0x53dcfe,pivotTableId:_0xbea1b0}=_0x241e7d,_0x418b6b={'filter':_0x18e392(_0x211b48(0x265)),'row':_0x18e392(_0x211b48(0x353)),'column':_0x18e392(_0x211b48(0x128)),'values':_0x18e392(_0x211b48(0x394))},{matrixCache:_0x20b6f2,rangesCache:_0x3d60e7}=_0x43512b(_0x418b6b,_0x53104e);return _0x20b6f2[_0x211b48(0x410)]((_0x18ed83,_0x13a6b3,_0x33736c)=>{_0x2b3c79['setValue'](_0x18ed83,_0x13a6b3,_0x33736c);}),_0x604d24[_0x211b48(0x316)]=_0x3d60e7,this[_0x211b48(0x2cd)][_0x211b48(0x3b3)]({'unitId':_0x2b8148,'subUnitId':_0x53dcfe,'valueMatrix':_0x2b3c79,'rangesCache':_0x3d60e7,'pivotTableId':_0xbea1b0,'type':_0x241e7d[_0x211b48(0x15a)],'isEmpty':!0x0}),this[_0x211b48(0x3cd)][_0x211b48(0x290)](_0x2b8148,_0x53dcfe,_0xbea1b0,_0x2b3c79,_0x3d60e7),this['_exclusiveRangeService'][_0x211b48(0x29e)](_0x2b8148,_0x53dcfe,_0x4b122d,this['_createExclusiveRange'](_0x3d60e7,_0xbea1b0)),{'rangeCache':_0x604d24[_0x211b48(0x316)],'matrix':_0x2b3c79};}[_0x6daf50(0x2d7)](_0x37a83a,_0x1515f8){const _0x56859e=[],_0x246e49=_0x1668ea(_0x37a83a);for(const _0xef4d40 of _0x246e49)_0x56859e['push']({'groupId':_0x1515f8,'range':_0xef4d40});return _0x56859e;}[_0x6daf50(0x312)](_0x277a66){const _0x20146d=_0x6daf50;var _0x592db7,_0x2a9d0c,_0x188b67,_0x1c54ff;const {pivotTableId:_0x1ebcf7,unitId:_0x5132f2,subUnitId:_0x569568}=_0x277a66;if(!_0x1ebcf7||!_0x5132f2||!_0x569568)return;const _0x3d1be7=this[_0x20146d(0x417)](_0x5132f2,_0x569568),_0x1be9a0=(_0x2a9d0c=(_0x592db7=this[_0x20146d(0x2cb)][_0x20146d(0x393)](_0x5132f2))==null?void 0x0:_0x592db7[_0x20146d(0x393)](_0x569568))==null?void 0x0:_0x2a9d0c['get'](_0x1ebcf7);if(_0x1be9a0!=null&&_0x1be9a0[_0x20146d(0x316)]){for(const _0x4c3471 of Object['keys'](_0x1be9a0['rangesInfo']))_0x1be9a0['rangesInfo'][_0x4c3471][_0x20146d(0x3d8)](_0x24e307=>{const _0x5cd6d1=_0x20146d;for(let _0x3bd330=_0x24e307[_0x5cd6d1(0x413)];_0x3bd330<=_0x24e307[_0x5cd6d1(0x132)];_0x3bd330++)for(let _0x1b16ef=_0x24e307['startColumn'];_0x1b16ef<=_0x24e307[_0x5cd6d1(0x3e9)];_0x1b16ef++)_0x3d1be7['realDeleteValue'](_0x3bd330,_0x1b16ef);});}_0x1be9a0&&((_0x1c54ff=(_0x188b67=this[_0x20146d(0x2cb)][_0x20146d(0x393)](_0x5132f2))==null?void 0x0:_0x188b67['get'](_0x569568))==null||_0x1c54ff['delete'](_0x1ebcf7)),this['_viewUpdate$'][_0x20146d(0x3b3)]({'unitId':_0x5132f2,'subUnitId':_0x569568,'valueMatrix':_0x3d1be7,'pivotTableId':_0x1ebcf7,'rangesCache':void 0x0,'type':_0x277a66['type']}),this[_0x20146d(0x2e3)][_0x20146d(0x1bb)](_0x5132f2,_0x569568,_0x4b122d,_0x1ebcf7);}[_0x6daf50(0x146)](_0x534bfc,_0x54e545,_0x44b5e9){const _0x45e0c0=_0x6daf50;var _0x34f1ef,_0x3e3f16,_0xba44fa,_0x1dc66d,_0x4d34a2,_0x30cf5d;return this[_0x45e0c0(0x2cb)][_0x45e0c0(0x271)](_0x534bfc)||this[_0x45e0c0(0x2cb)][_0x45e0c0(0x3eb)](_0x534bfc,new Map()),(_0x34f1ef=this[_0x45e0c0(0x2cb)][_0x45e0c0(0x393)](_0x534bfc))!=null&&_0x34f1ef['has'](_0x54e545)||(_0x3e3f16=this['_pivotRenderInfoCache'][_0x45e0c0(0x393)](_0x534bfc))==null||_0x3e3f16[_0x45e0c0(0x3eb)](_0x54e545,new Map()),(_0x1dc66d=(_0xba44fa=this[_0x45e0c0(0x2cb)]['get'](_0x534bfc))==null?void 0x0:_0xba44fa[_0x45e0c0(0x393)](_0x54e545))!=null&&_0x1dc66d['has'](_0x44b5e9)||(_0x30cf5d=(_0x4d34a2=this[_0x45e0c0(0x2cb)][_0x45e0c0(0x393)](_0x534bfc))==null?void 0x0:_0x4d34a2[_0x45e0c0(0x393)](_0x54e545))==null||_0x30cf5d[_0x45e0c0(0x3eb)](_0x44b5e9,{}),this[_0x45e0c0(0x2cb)][_0x45e0c0(0x393)](_0x534bfc)[_0x45e0c0(0x393)](_0x54e545)[_0x45e0c0(0x393)](_0x44b5e9);}['_ensurePivotItemRenderValueMatrixCache'](_0x2f33fa,_0x584155){const _0x3e6e32=_0x6daf50;var _0xbcee7f,_0x5109c5;return this['_pivotRenderValueMatrixCache'][_0x3e6e32(0x271)](_0x2f33fa)||this[_0x3e6e32(0x324)][_0x3e6e32(0x3eb)](_0x2f33fa,new Map()),(_0xbcee7f=this[_0x3e6e32(0x324)][_0x3e6e32(0x393)](_0x2f33fa))!=null&&_0xbcee7f[_0x3e6e32(0x271)](_0x584155)||(_0x5109c5=this['_pivotRenderValueMatrixCache'][_0x3e6e32(0x393)](_0x2f33fa))==null||_0x5109c5[_0x3e6e32(0x3eb)](_0x584155,new _0x3aab5b[(_0x3e6e32(0x25d))]()),this[_0x3e6e32(0x324)][_0x3e6e32(0x393)](_0x2f33fa)['get'](_0x584155);}[_0x6daf50(0x3ef)](_0x420d93,_0x1b6591,_0x311ed7,_0x39bfe2){const _0x1d0e9f=_0x6daf50;var _0x302ab8,_0x1e14d8;const _0x3568be=(_0x1e14d8=(_0x302ab8=this[_0x1d0e9f(0x324)]['get'](_0x420d93))==null?void 0x0:_0x302ab8[_0x1d0e9f(0x393)](_0x1b6591))==null?void 0x0:_0x1e14d8['getValue'](_0x311ed7,_0x39bfe2);if(_0x3568be!=null)return _0x3568be;}[_0x6daf50(0x13b)](_0x3baa8a,_0x29f42e,_0x5a0c7d,_0x3885f0){const _0x57bb12=_0x6daf50;var _0x212d56;const _0x5d6b53=_0x3aab5b[_0x57bb12(0x278)](_0x5a0c7d,_0x3885f0),_0x49a484=(_0x212d56=this[_0x57bb12(0x2cb)][_0x57bb12(0x393)](_0x3baa8a))==null?void 0x0:_0x212d56[_0x57bb12(0x393)](_0x29f42e);return _0x49a484?Array[_0x57bb12(0x3fc)](_0x49a484[_0x57bb12(0x30e)]())[_0x57bb12(0x184)](_0x393f0c=>{const _0x56f1a7=_0x57bb12,_0x3a7d50=_0x49a484[_0x56f1a7(0x393)](_0x393f0c),_0x4aae4b=_0x3a7d50==null?void 0x0:_0x3a7d50[_0x56f1a7(0x316)];return _0x4aae4b?Object[_0x56f1a7(0x30e)](_0x4aae4b)['some'](_0x7f513c=>_0x4aae4b[_0x7f513c][_0x56f1a7(0x2d0)](_0x5bf59b=>_0x3aab5b[_0x56f1a7(0x224)]['contains'](_0x5bf59b,_0x5d6b53))):!0x1;}):void 0x0;}[_0x6daf50(0x26d)](_0x4ae24d,_0x38c861,_0x5f5a52){const _0x352281=_0x6daf50;var _0xea0ab1;const _0x49791c=(_0xea0ab1=this[_0x352281(0x2cb)][_0x352281(0x393)](_0x4ae24d))==null?void 0x0:_0xea0ab1[_0x352281(0x393)](_0x38c861),_0x51c0bb=[];return _0x49791c&&Array['from'](_0x49791c[_0x352281(0x30e)]())[_0x352281(0x3d8)](_0x593935=>{const _0x38e550=_0x352281,_0x298006=_0x49791c[_0x38e550(0x393)](_0x593935),_0x19117a=_0x298006==null?void 0x0:_0x298006[_0x38e550(0x316)];if(_0x19117a)for(const _0x10e549 of Object[_0x38e550(0x1db)](_0x19117a)){let _0x37d51e=!0x1;for(const _0x1bcb91 of _0x10e549)if(_0x3aab5b['Rectangle'][_0x38e550(0x19a)](_0x1bcb91,_0x5f5a52)){_0x51c0bb['push'](_0x593935),_0x37d51e=!0x0;break;}if(_0x37d51e)break;}}),_0x51c0bb;}[_0x6daf50(0x328)](_0x2d0199,_0x39b323){const _0x5b76f2=_0x6daf50;var _0x837c51,_0xb9b739;return(_0xb9b739=(_0x837c51=this[_0x5b76f2(0x324)][_0x5b76f2(0x393)](_0x2d0199))==null?void 0x0:_0x837c51['get'](_0x39b323))!=null?_0xb9b739:new _0x3aab5b[(_0x5b76f2(0x25d))]();}['getSubUnitPivotRenderCache'](_0x4921cd,_0x306094){const _0x4822f9=_0x6daf50;var _0x49ab3a;return(_0x49ab3a=this[_0x4822f9(0x2cb)][_0x4822f9(0x393)](_0x4921cd))==null?void 0x0:_0x49ab3a[_0x4822f9(0x393)](_0x306094);}[_0x6daf50(0x411)](_0x291795,_0x10d500,_0x408af5){const _0x4a0c16=_0x6daf50;var _0x370056,_0x232321;return(_0x232321=(_0x370056=this[_0x4a0c16(0x2cb)]['get'](_0x291795))==null?void 0x0:_0x370056[_0x4a0c16(0x393)](_0x10d500))==null?void 0x0:_0x232321[_0x4a0c16(0x393)](_0x408af5);}['deleteUnitId'](_0x4e1b09){const _0x4165e0=_0x6daf50;this['_pivotRenderInfoCache']['delete'](_0x4e1b09),this[_0x4165e0(0x324)][_0x4165e0(0x356)](_0x4e1b09);}[_0x6daf50(0x2c3)](_0xd6642a,_0xa5e2ea){const _0x766e7f=_0x6daf50;this[_0x766e7f(0x248)][_0x766e7f(0x3b3)]({'unitId':_0xd6642a,'subUnitId':_0xa5e2ea});}},_0x271f43[_0x6daf50(0x36c)]=_0xf8d671([_0x29602c(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b['LocaleService'])),_0x29602c(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)])),_0x29602c(0x2,_0x3aab5b['Inject'](_0x271f43['SheetsPivotTableConfigModel'])),_0x29602c(0x3,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x350)])),_0x29602c(0x4,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb['IExclusiveRangeService']))],_0x271f43[_0x6daf50(0x36c)]);var _0x198160=Object[_0x6daf50(0x182)],_0x548e81=(_0x47ac84,_0x3fc221,_0x1b8cf2,_0x2d2b5f)=>{for(var _0x44f948=_0x2d2b5f>0x1?void 0x0:_0x2d2b5f?_0x198160(_0x3fc221,_0x1b8cf2):_0x3fc221,_0x37cf50=_0x47ac84['length']-0x1,_0x20339e;_0x37cf50>=0x0;_0x37cf50--)(_0x20339e=_0x47ac84[_0x37cf50])&&(_0x44f948=_0x20339e(_0x44f948)||_0x44f948);return _0x44f948;},_0x24d0b6=(_0xa12dac,_0x15192c)=>(_0x18612e,_0x2b2d35)=>_0x15192c(_0x18612e,_0x2b2d35,_0xa12dac);_0x271f43[_0x6daf50(0x3de)]=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x5167e5,_0x497de7){const _0x5f3f31=_0x6daf50;super(),_0x3f9e42(this,_0x5f3f31(0x152),new _0x3aab5b[(_0x5f3f31(0x1d9))]({'PIVOT_PERFORM_CHECK':_0x4f637e})),_0x3f9e42(this,_0x5f3f31(0x35f),new _0x3aab5b['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x43df9f})),(this['_sheetInterceptorService']=_0x5167e5,this[_0x5f3f31(0x186)]=_0x497de7,this[_0x5f3f31(0x166)]());}[_0x6daf50(0x166)](){const _0x275b62=_0x6daf50;this[_0x275b62(0x16c)]();}[_0x6daf50(0x251)](_0x57c31e){const _0x25b2bb=_0x6daf50;return this[_0x25b2bb(0x152)][_0x25b2bb(0x163)](_0x4f637e)(!0x1,_0x57c31e);}[_0x6daf50(0x16c)](){const _0x1b5baf=_0x6daf50;this[_0x1b5baf(0x137)](this[_0x1b5baf(0x3e0)][_0x1b5baf(0x37b)](_0x5b84bb[_0x1b5baf(0x2c4)][_0x1b5baf(0x362)],{'priority':0xc8,'effect':_0x3aab5b[_0x1b5baf(0x1e4)][_0x1b5baf(0x338)]|_0x3aab5b[_0x1b5baf(0x1e4)]['Style'],'handler':(_0x356637,_0xb5313d,_0x17f97f)=>{const _0x197e55=_0x1b5baf,{row:_0x243fd1,col:_0x2f91ab,unitId:_0x560392,subUnitId:_0x197d24,workbook:_0x3d1570}=_0xb5313d,_0x5b7c04=this[_0x197e55(0x186)][_0x197e55(0x3ef)](_0x560392,_0x197d24,_0x243fd1,_0x2f91ab);if(!_0x5b7c04)return _0x17f97f(_0x356637);const _0x1e0023={..._0x356637};(_0x5b7c04['v']||_0x5b7c04['v']===0x0)&&(_0x1e0023['v']=_0x5b7c04['v']),_0x5b7c04['t']&&(_0x1e0023['t']=_0x5b7c04['t']);const _0x4ec782=(typeof(_0x356637==null?void 0x0:_0x356637['s'])==_0x197e55(0x1c7)?_0x3d1570[_0x197e55(0x40b)]()[_0x197e55(0x393)](_0x356637==null?void 0x0:_0x356637['s']):_0x356637==null?void 0x0:_0x356637['s'])||{},_0x245f27=_0x3d1570[_0x197e55(0x40b)]()[_0x197e55(0x393)](_0x5b7c04['s']),_0x2bc342={..._0x245f27,..._0x4ec782};_0x245f27!=null&&_0x245f27['n']&&(_0x2bc342['n']=_0x245f27['n']);const _0x326eef=_0x3d1570[_0x197e55(0x40b)]()[_0x197e55(0x3e5)](_0x2bc342);return _0x1e0023['s']=_0x326eef,(_0x5b7c04['pbt']===_0x5ab2d7['PivotCellStyleTypeEnum'][_0x197e55(0x302)]||_0x5b7c04[_0x197e55(0x190)]===_0x5ab2d7[_0x197e55(0x255)][_0x197e55(0x3e6)])&&(_0x1e0023[_0x197e55(0x40a)]={},_0x1e0023[_0x197e55(0x40a)]['leftOffset']=_0x4eaf16),_0x17f97f(_0x1e0023);}}));}},_0x271f43[_0x6daf50(0x3de)]=_0x548e81([_0x24d0b6(0x0,_0x3aab5b['Inject'](_0x5b84bb[_0x6daf50(0x287)])),_0x24d0b6(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x36c)]))],_0x271f43[_0x6daf50(0x3de)]);function _0x349e95(_0x3e4a87,_0x39941c){const _0x21abbd=_0x6daf50;switch(_0x39941c){case _0x5ab2d7[_0x21abbd(0x358)][_0x21abbd(0x338)]:return _0x3e4a87[_0x21abbd(0x244)];case _0x5ab2d7[_0x21abbd(0x358)]['Filter']:return _0x3e4a87[_0x21abbd(0x2a4)];case _0x5ab2d7[_0x21abbd(0x358)][_0x21abbd(0x2f7)]:return _0x3e4a87[_0x21abbd(0x292)];case _0x5ab2d7[_0x21abbd(0x358)][_0x21abbd(0x1f1)]:return _0x3e4a87[_0x21abbd(0x245)];default:return[];}}function _0x387fcc(_0x4c76ae,_0x34c7cf){const _0x3cc32a=_0x6daf50;return _0x4c76ae[_0x3cc32a(0x180)][_0x34c7cf]||_0x4c76ae[_0x3cc32a(0x165)][_0x34c7cf];}function _0x56df75(_0x1b8cdc,_0x3d5e30){const _0x3a70ac=_0x6daf50,{area:_0x47318d,fieldJson:_0x36711e,index:_0x22c281}=_0x3d5e30;_0x47318d===_0x5ab2d7[_0x3a70ac(0x358)]['Value']?_0x1b8cdc['measure'][_0x36711e['id']]=_0x36711e:_0x1b8cdc['dimension'][_0x36711e['id']]=_0x36711e,_0x349e95(_0x1b8cdc,_0x47318d)[_0x3a70ac(0x2d6)](_0x22c281,0x0,_0x36711e['id']);}function _0x388764(_0x128ea9,_0x18d286){const _0x5337fd=_0x6daf50,{area:_0x28f67f,fieldId:_0x536343,index:_0x24d9dc}=_0x18d286;_0x28f67f===_0x5ab2d7[_0x5337fd(0x358)][_0x5337fd(0x338)]?delete _0x128ea9[_0x5337fd(0x180)][_0x536343]:delete _0x128ea9['dimension'][_0x536343],_0x349e95(_0x128ea9,_0x28f67f)[_0x5337fd(0x2d6)](_0x24d9dc,0x1);}function _0x4c9c91(_0x15dfee,_0x816a33){const _0x4e4bfd=_0x6daf50,{fieldId:_0xc4bc34,name:_0x3727c0}=_0x816a33,_0x7a392d=_0x387fcc(_0x15dfee,_0xc4bc34);_0x7a392d&&(_0x7a392d[_0x4e4bfd(0x193)]=_0x3727c0);}function _0x4cf75(_0x3ef901,_0x39b0be){const _0x40d9b7=_0x6daf50,{fieldId:_0x5a07fc,collapse:_0x293cd7,item:_0x3768c6}=_0x39b0be;_0x3768c6!==void 0x0?(_0x3ef901[_0x40d9b7(0x199)][_0x5a07fc]=_0x3ef901[_0x40d9b7(0x199)][_0x5a07fc]||{},_0x3ef901['collapseInfo'][_0x5a07fc][_0x3768c6]=_0x293cd7):_0x3ef901[_0x40d9b7(0x199)][_0x5a07fc]=_0x293cd7;}function _0x5c5c12(_0x2d461f,_0x5484a4){const _0x5f5dd8=_0x6daf50,{fieldId:_0xd6688,format:_0x31539c}=_0x5484a4,_0x474c8f=_0x387fcc(_0x2d461f,_0xd6688);_0x474c8f&&(_0x474c8f[_0x5f5dd8(0x40c)]=_0x31539c);}function _0x526937(_0x26f46f,_0x1bea00){const _0x22fc32=_0x6daf50,{fieldId:_0x5975d0,filterInfo:_0x3aa176}=_0x1bea00,_0x26c2cb=_0x387fcc(_0x26f46f,_0x5975d0);_0x26c2cb&&(_0x26c2cb[_0x22fc32(0x176)]=_0x3aa176);}function _0x52d012(_0x2cbc4f,_0x60891b){const _0x377904=_0x6daf50,{fieldId:_0x562b98,filterInfo:_0x203c7d}=_0x60891b,_0x23dd11=_0x2cbc4f[_0x377904(0x3b4)][_0x377904(0x12e)](_0x2da4d0=>_0x2da4d0[_0x377904(0x23e)]!==_0x562b98);_0x203c7d&&_0x23dd11[_0x377904(0x337)]({'fieldId':_0x562b98,'filterInfo':_0x203c7d}),_0x2cbc4f[_0x377904(0x3b4)]=_0x23dd11;}function _0x73a105(_0x4943ef,_0x2bd494){const _0x34d732=_0x6daf50,{fieldId:_0x327326,subtotalType:_0x2af83a}=_0x2bd494,_0x20ee77=_0x387fcc(_0x4943ef,_0x327326);_0x20ee77&&(_0x20ee77[_0x34d732(0x232)]=_0x2af83a);}function _0x29c703(_0x347c45,_0x4bf3e3){const _0x2fdf52=_0x6daf50,{fieldId:_0x4e3ffe,oldArea:_0x3a5f10,area:_0x54f497,oldIndex:_0x24c097,index:_0x3661b5}=_0x4bf3e3,_0x41c873=_0x3a5f10!==_0x5ab2d7[_0x2fdf52(0x358)]['Value']&&_0x54f497===_0x5ab2d7[_0x2fdf52(0x358)][_0x2fdf52(0x338)],_0x1ac644=_0x3a5f10===_0x5ab2d7[_0x2fdf52(0x358)]['Value']&&_0x54f497!==_0x5ab2d7['PivotTableFiledAreaEnum'][_0x2fdf52(0x338)];if(_0x41c873||_0x1ac644){const _0x1a331a=_0x387fcc(_0x347c45,_0x4e3ffe);_0x1a331a&&(_0x41c873?(delete _0x347c45['dimension'][_0x4e3ffe],_0x347c45[_0x2fdf52(0x180)][_0x4e3ffe]=_0x1a331a):(delete _0x347c45['measure'][_0x4e3ffe],_0x347c45['dimension'][_0x4e3ffe]=_0x1a331a));}const _0x317e10=_0x349e95(_0x347c45,_0x3a5f10),_0x3ad4c8=_0x349e95(_0x347c45,_0x54f497);_0x317e10[_0x2fdf52(0x2d6)](_0x24c097,0x1),_0x3ad4c8[_0x2fdf52(0x2d6)](_0x3661b5,0x0,_0x4e3ffe);}function _0x11f5d3(_0x74bb39,_0x11055b){const _0x5c2387=_0x6daf50,{valuePosition:_0x73ebcf,index:_0x53b3d1}=_0x11055b;_0x74bb39[_0x5c2387(0x3cb)]=_0x73ebcf,_0x74bb39[_0x5c2387(0x311)]=_0x53b3d1;}function _0x3f2877(_0x1a4cd1,_0x2061ba){const _0x14c5ee=_0x6daf50,{tableFieldId:_0x126078,sourceName:_0x5a82da,dataFieldId:_0x25a423}=_0x2061ba,_0x5a79e5=_0x387fcc(_0x1a4cd1,_0x126078);_0x5a79e5&&(_0x5a79e5[_0x14c5ee(0x259)]=_0x5a82da,_0x5a79e5[_0x14c5ee(0x304)]=_0x25a423);}function _0x5508d7(_0x35aa37,_0x22204a){const _0x366328=_0x6daf50,{fieldId:_0xf7ce1e,sortInfo:_0x104ee3}=_0x22204a,_0x36d16f=_0x387fcc(_0x35aa37,_0xf7ce1e);_0x36d16f&&(_0x36d16f[_0x366328(0x1f2)]=_0x104ee3);}function _0x19332f(_0x33eac6,_0x5d398e){const _0x44d3d1=_0x6daf50,{options:_0xc11545}=_0x5d398e;_0x33eac6[_0x44d3d1(0x34c)]={..._0x33eac6[_0x44d3d1(0x34c)],..._0xc11545};}const _0x1678ea={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x21c),'handler'(_0x4ae39c,_0x379e77){const _0x4a7dfe=_0x6daf50;if(!_0x379e77)return!0x1;if(!!_0x4ae39c['get'](_0x3aab5b[_0x4a7dfe(0x1eb)])[_0x4a7dfe(0x3d0)](_0x332892))return!0x0;const _0x4fb521=_0x4ae39c[_0x4a7dfe(0x393)](_0x271f43['SheetsPivotDataSourceModel']),{pivotTableId:_0x3b02d3,fieldJson:_0x3852a9,area:_0x4d674c,index:_0xf368a7,unitId:_0x1ada4e,subUnitId:_0x3f2116}=_0x379e77,_0x3a6bfe=_0x4fb521[_0x4a7dfe(0x3f8)](_0x3b02d3);if(!_0x3a6bfe)return!0x1;let _0x526dd3;_0x4d674c===_0x5ab2d7[_0x4a7dfe(0x358)][_0x4a7dfe(0x338)]?_0x526dd3=_0x5ab2d7['createValueField'](_0x3852a9):_0x526dd3=_0x5ab2d7[_0x4a7dfe(0x1f0)](_0x3852a9),_0x3a6bfe[_0x4a7dfe(0x1e2)](_0x526dd3,_0x4d674c,_0xf368a7);const _0x245fba=_0x4fb521[_0x4a7dfe(0x2a3)](_0x1ada4e,_0x3f2116,_0x3b02d3);_0x56df75(_0x245fba,_0x379e77);const _0x4432ce=_0x4fb521[_0x4a7dfe(0x3bd)](_0x1ada4e,_0x3f2116,_0x3b02d3);return _0x4fb521['addDirtyPivotTable']({'unitId':_0x1ada4e,'subUnitId':_0x3f2116,'token':_0x3b02d3,'type':_0x1ab225[_0x4a7dfe(0x149)],'pivotConfig':_0x4432ce}),!0x0;}},_0x87a600={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x500d83,_0x546770){const _0x2fe799=_0x6daf50;if(!_0x546770)return!0x1;if(!!_0x500d83['get'](_0x3aab5b[_0x2fe799(0x1eb)])['getConfig'](_0x332892))return!0x0;const _0x56694e=_0x500d83['get'](_0x271f43[_0x2fe799(0x383)]),{pivotTableId:_0xf5c45a,fieldId:_0x21a6d2,unitId:_0x3cd022,subUnitId:_0x121898}=_0x546770,_0x3f3bb4=_0x56694e[_0x2fe799(0x3f8)](_0xf5c45a);if(!_0x3f3bb4)return!0x1;_0x3f3bb4['removeField'](_0x21a6d2);const _0x59df77=_0x56694e[_0x2fe799(0x2a3)](_0x3cd022,_0x121898,_0xf5c45a);_0x388764(_0x59df77,_0x546770);const _0x1f0dbb=_0x56694e[_0x2fe799(0x3bd)](_0x3cd022,_0x121898,_0xf5c45a);return _0x56694e[_0x2fe799(0x3f3)]({'unitId':_0x3cd022,'subUnitId':_0x121898,'token':_0xf5c45a,'type':_0x1ab225[_0x2fe799(0x149)],'pivotConfig':_0x1f0dbb}),!0x0;}},_0x280ff8={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x3d2),'handler'(_0x5ef732,_0x2531ec){const _0x3c9045=_0x6daf50;if(!_0x2531ec)return!0x1;if(!!_0x5ef732[_0x3c9045(0x393)](_0x3aab5b['IConfigService'])['getConfig'](_0x332892))return!0x0;const _0x241e40=_0x5ef732[_0x3c9045(0x393)](_0x271f43[_0x3c9045(0x383)]),{unitId:_0xc2a66a,subUnitId:_0x14eb8e,pivotTableId:_0x2b9ece,fieldId:_0xb6ae5e,name:_0xc90368}=_0x2531ec,_0x5b8742=_0x241e40[_0x3c9045(0x3f8)](_0x2b9ece);if(!_0x5b8742)return!0x1;_0x5b8742['renameField'](_0xb6ae5e,_0xc90368);const _0x423847=_0x241e40[_0x3c9045(0x2a3)](_0xc2a66a,_0x14eb8e,_0x2b9ece);return _0x4c9c91(_0x423847,_0x2531ec),_0x241e40['addDirtyPivotTable']({'unitId':_0xc2a66a,'subUnitId':_0x14eb8e,'token':_0x2b9ece,'type':_0x1ab225[_0x3c9045(0x149)]}),!0x0;}},_0x50f618={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x3fa),'handler'(_0x1616b4,_0x445426){const _0x398198=_0x6daf50;if(!_0x445426)return!0x1;if(!!_0x1616b4[_0x398198(0x393)](_0x3aab5b[_0x398198(0x1eb)])['getConfig'](_0x332892))return!0x0;const _0x3b71ef=_0x1616b4[_0x398198(0x393)](_0x271f43['SheetsPivotDataSourceModel']),{unitId:_0x288d8d,subUnitId:_0x50782c,pivotTableId:_0x1ff17e,fieldId:_0x59d213,collapse:_0x5501bd,item:_0x2b6453}=_0x445426,_0x31735a=_0x3b71ef[_0x398198(0x3f8)](_0x1ff17e);if(!_0x31735a)return!0x1;_0x31735a[_0x398198(0x318)](_0x59d213,_0x5501bd,_0x2b6453);const _0x88f37a=_0x3b71ef['getPivotTableModelConfig'](_0x288d8d,_0x50782c,_0x1ff17e);return _0x4cf75(_0x88f37a,_0x445426),_0x3b71ef['addDirtyPivotTable']({'unitId':_0x288d8d,'subUnitId':_0x50782c,'token':_0x1ff17e,'type':_0x1ab225[_0x398198(0x149)]}),!0x0;}},_0x2ebdf3={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x253),'handler'(_0x3713a2,_0x4b7174){const _0x1c5c70=_0x6daf50;if(!_0x4b7174)return!0x1;if(!!_0x3713a2[_0x1c5c70(0x393)](_0x3aab5b[_0x1c5c70(0x1eb)])[_0x1c5c70(0x3d0)](_0x332892))return!0x0;const _0x3050bc=_0x3713a2[_0x1c5c70(0x393)](_0x271f43['SheetsPivotDataSourceModel']),{unitId:_0x2ef466,subUnitId:_0x28a423,pivotTableId:_0x792f7,fieldId:_0x5c6a6c,format:_0xf2c0}=_0x4b7174,_0x22677d=_0x3050bc[_0x1c5c70(0x3f8)](_0x792f7);if(!_0x22677d)return!0x1;_0x22677d['setFieldFormat'](_0x5c6a6c,_0xf2c0);const _0x6a6882=_0x3050bc[_0x1c5c70(0x2a3)](_0x2ef466,_0x28a423,_0x792f7);return _0x5c5c12(_0x6a6882,_0x4b7174),_0x3050bc['addDirtyPivotTable']({'unitId':_0x2ef466,'subUnitId':_0x28a423,'token':_0x792f7,'type':_0x1ab225[_0x1c5c70(0x149)]}),!0x0;}},_0x17d811={'type':_0x3aab5b['CommandType'][_0x6daf50(0x13c)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x184727,_0x2a0912){const _0x192aa3=_0x6daf50;if(!_0x2a0912)return!0x1;if(!!_0x184727[_0x192aa3(0x393)](_0x3aab5b[_0x192aa3(0x1eb)])[_0x192aa3(0x3d0)](_0x332892))return!0x0;const _0x831904=_0x184727[_0x192aa3(0x393)](_0x271f43[_0x192aa3(0x383)]),{unitId:_0x5728a7,subUnitId:_0x1413d8,pivotTableId:_0x268550,fieldId:_0xa164a8,filterInfo:_0x105fcc}=_0x2a0912,_0x5150f5=_0x831904['getPivotTableInstance'](_0x268550);if(!_0x5150f5)return!0x1;_0x5150f5[_0x192aa3(0x258)](_0xa164a8,_0x105fcc);const _0x1d82ae=_0x831904[_0x192aa3(0x2a3)](_0x5728a7,_0x1413d8,_0x268550);return _0x526937(_0x1d82ae,_0x2a0912),_0x831904[_0x192aa3(0x3f3)]({'unitId':_0x5728a7,'subUnitId':_0x1413d8,'token':_0x268550,'type':_0x1ab225[_0x192aa3(0x149)]}),!0x0;}},_0x31e799={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x586906,_0x2151f9){const _0x919e20=_0x6daf50;if(!_0x2151f9)return!0x1;if(!!_0x586906['get'](_0x3aab5b[_0x919e20(0x1eb)])[_0x919e20(0x3d0)](_0x332892))return!0x0;const _0x125b48=_0x586906[_0x919e20(0x393)](_0x271f43[_0x919e20(0x383)]),{unitId:_0x3af3a6,subUnitId:_0x5d2a0f,pivotTableId:_0x56d5e1,options:_0xbdae21}=_0x2151f9,_0x29c473=_0x125b48[_0x919e20(0x3f8)](_0x56d5e1);if(!_0x29c473)return!0x1;_0x29c473[_0x919e20(0x1e6)](_0xbdae21);const _0x4a865a=_0x125b48['getPivotTableModelConfig'](_0x3af3a6,_0x5d2a0f,_0x56d5e1);return _0x19332f(_0x4a865a,_0x2151f9),_0x125b48['addDirtyPivotTable']({'unitId':_0x3af3a6,'subUnitId':_0x5d2a0f,'token':_0x56d5e1,'type':_0x1ab225[_0x919e20(0x149)]}),!0x0;}},_0x5a460e={'type':_0x3aab5b['CommandType'][_0x6daf50(0x13c)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x1c948c,_0x1d9b29){const _0x3d8121=_0x6daf50;if(!_0x1d9b29)return!0x1;if(!!_0x1c948c[_0x3d8121(0x393)](_0x3aab5b['IConfigService'])[_0x3d8121(0x3d0)](_0x332892))return!0x0;const _0xac69d0=_0x1c948c['get'](_0x271f43[_0x3d8121(0x383)]),{unitId:_0x2183a5,subUnitId:_0x5da67f,pivotTableId:_0x1f84c9,sortInfo:_0x30dd18,fieldId:_0xcd35c1}=_0x1d9b29,_0x559623=_0xac69d0['getPivotTableInstance'](_0x1f84c9);if(!_0x559623)return!0x1;_0x559623[_0x3d8121(0x1ca)](_0xcd35c1,_0x30dd18);const _0x40761f=_0xac69d0[_0x3d8121(0x2a3)](_0x2183a5,_0x5da67f,_0x1f84c9);return _0x5508d7(_0x40761f,_0x1d9b29),_0xac69d0[_0x3d8121(0x3f3)]({'unitId':_0x2183a5,'subUnitId':_0x5da67f,'token':_0x1f84c9,'type':_0x1ab225[_0x3d8121(0x149)]}),!0x0;}},_0x4b2215={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':_0x6daf50(0x37e),'handler'(_0x46a69a,_0x191d00){const _0x490548=_0x6daf50;if(!_0x191d00)return!0x1;if(!!_0x46a69a[_0x490548(0x393)](_0x3aab5b[_0x490548(0x1eb)])['getConfig'](_0x332892))return!0x0;const _0x2294cd=_0x46a69a[_0x490548(0x393)](_0x271f43[_0x490548(0x383)]),{unitId:_0x1c4c19,subUnitId:_0x54af12,pivotTableId:_0x3471fe,fieldId:_0x4a7aa1,subtotalType:_0x1a1d1d}=_0x191d00,_0x55dcf6=_0x2294cd[_0x490548(0x3f8)](_0x3471fe);if(!_0x55dcf6)return!0x1;_0x55dcf6[_0x490548(0x1f7)](_0x4a7aa1,_0x1a1d1d);const _0x1b8a24=_0x2294cd[_0x490548(0x2a3)](_0x1c4c19,_0x54af12,_0x3471fe);return _0x73a105(_0x1b8a24,_0x191d00),_0x2294cd[_0x490548(0x3f3)]({'unitId':_0x1c4c19,'subUnitId':_0x54af12,'token':_0x3471fe,'type':_0x1ab225[_0x490548(0x149)]}),!0x0;}},_0x1d73d4={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x1b7),'handler'(_0xef8bb1,_0x1677b3){const _0x1571d6=_0x6daf50;if(!_0x1677b3)return!0x1;if(!!_0xef8bb1[_0x1571d6(0x393)](_0x3aab5b[_0x1571d6(0x1eb)])['getConfig'](_0x332892))return!0x0;const _0x30663e=_0xef8bb1[_0x1571d6(0x393)](_0x271f43[_0x1571d6(0x383)]),{unitId:_0x5b211b,subUnitId:_0x405aa8,pivotTableId:_0x24b1e2,fieldId:_0x4bf219,filterInfo:_0x3a1d52}=_0x1677b3,_0x3593a0=_0x30663e[_0x1571d6(0x3f8)](_0x24b1e2);if(!_0x3593a0)return!0x1;_0x3593a0['setValueFilterInfo'](_0x4bf219,_0x3a1d52);const _0x1ac4a8=_0x30663e[_0x1571d6(0x2a3)](_0x5b211b,_0x405aa8,_0x24b1e2);return _0x52d012(_0x1ac4a8,_0x1677b3),_0x30663e[_0x1571d6(0x3f3)]({'unitId':_0x5b211b,'subUnitId':_0x405aa8,'token':_0x24b1e2,'type':_0x1ab225[_0x1571d6(0x149)]}),!0x0;}},_0x12d494={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':_0x6daf50(0x431),'handler'(_0x439c62,_0x4eba2c){const _0x1a497e=_0x6daf50;if(!_0x4eba2c)return!0x1;if(!!_0x439c62['get'](_0x3aab5b['IConfigService'])['getConfig'](_0x332892))return!0x0;const _0x4a51de=_0x439c62['get'](_0x271f43[_0x1a497e(0x383)]),{unitId:_0x1fc9fb,subUnitId:_0x403e7b,pivotTableId:_0x5dc778,area:_0x75dcbe,index:_0x1cb19a,fieldId:_0x47d4ac}=_0x4eba2c,_0x426c4e=_0x4a51de[_0x1a497e(0x3f8)](_0x5dc778);if(!_0x426c4e)return!0x1;_0x426c4e['updateFieldPosition'](_0x47d4ac,_0x75dcbe,_0x1cb19a);const _0x24a15d=_0x4a51de['getPivotTableModelConfig'](_0x1fc9fb,_0x403e7b,_0x5dc778);return _0x29c703(_0x24a15d,_0x4eba2c),_0x4a51de[_0x1a497e(0x3f3)]({'unitId':_0x1fc9fb,'subUnitId':_0x403e7b,'token':_0x5dc778,'type':_0x1ab225[_0x1a497e(0x149)]}),!0x0;}},_0x5772bb={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':_0x6daf50(0x330),'handler'(_0x37edfe,_0x4e62a2){const _0x5304a4=_0x6daf50;if(!_0x4e62a2)return!0x1;if(!!_0x37edfe[_0x5304a4(0x393)](_0x3aab5b[_0x5304a4(0x1eb)])[_0x5304a4(0x3d0)](_0x332892))return!0x0;const _0x493695=_0x37edfe[_0x5304a4(0x393)](_0x271f43[_0x5304a4(0x383)]),{unitId:_0x520579,subUnitId:_0x550cbf,pivotTableId:_0x465544,sourceName:_0x328c41,dataFieldId:_0x45337d,tableFieldId:_0x196435}=_0x4e62a2,_0x59c45d=_0x493695[_0x5304a4(0x3f8)](_0x465544);if(!_0x59c45d)return!0x1;_0x59c45d[_0x5304a4(0x357)](_0x196435,_0x328c41,_0x45337d);const _0x5a4af6=_0x493695[_0x5304a4(0x2a3)](_0x520579,_0x550cbf,_0x465544);return _0x3f2877(_0x5a4af6,_0x4e62a2),_0x493695[_0x5304a4(0x3f3)]({'unitId':_0x520579,'subUnitId':_0x550cbf,'token':_0x465544,'type':_0x1ab225[_0x5304a4(0x149)]}),!0x0;}},_0x231c1a={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2e3850,_0xe86e58){const _0x3735f6=_0x6daf50;if(!_0xe86e58)return!0x1;if(!!_0x2e3850[_0x3735f6(0x393)](_0x3aab5b[_0x3735f6(0x1eb)])[_0x3735f6(0x3d0)](_0x332892))return!0x0;const _0x5e15a9=_0x2e3850[_0x3735f6(0x393)](_0x271f43[_0x3735f6(0x383)]),{unitId:_0xe9009e,subUnitId:_0x278c9b,pivotTableId:_0x1d7971,valuePosition:_0x3bf11b,index:_0x39ceaf}=_0xe86e58,_0x13b732=_0x5e15a9[_0x3735f6(0x3f8)](_0x1d7971);if(!_0x13b732)return!0x1;_0x13b732[_0x3735f6(0x348)](_0x3bf11b,_0x39ceaf);const _0x4fc168=_0x5e15a9[_0x3735f6(0x2a3)](_0xe9009e,_0x278c9b,_0x1d7971);return _0x11f5d3(_0x4fc168,_0xe86e58),_0x5e15a9[_0x3735f6(0x3f3)]({'unitId':_0xe9009e,'subUnitId':_0x278c9b,'token':_0x1d7971,'type':_0x1ab225[_0x3735f6(0x149)]}),!0x0;}};function _0x20db0e(_0x33ac99,_0x22cf51,_0x48b26a){const _0x4db9a0=_0x6daf50,{pivotTableId:_0x11e2d5,unitId:_0x31ff9e,subUnitId:_0x1f0fca}=_0x22cf51,_0x44fb6f=[],_0x337b58=[];for(const _0x5daccb of _0x48b26a)switch(_0x5daccb[_0x4db9a0(0x15a)]){case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x185)]:{const {fieldJson:_0x591d2,area:_0x3309cb,index:_0x5e9d7c}=_0x5daccb,_0x41448c={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldJson':_0x591d2,'area':_0x3309cb,'index':_0x5e9d7c},_0x414113={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x591d2['id'],'area':_0x3309cb,'index':_0x5e9d7c};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x1678ea['id'],'params':_0x41448c}),_0x337b58['unshift']({'id':_0x87a600['id'],'params':_0x414113});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x2bd)]:{const {fieldId:_0x31d8e6,newSubtotalType:_0x280d59,oldSubtotalType:_0x366707}=_0x5daccb,_0x5bc341={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x31d8e6,'subtotalType':_0x280d59};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x4b2215['id'],'params':_0x5bc341});const _0x2518d7={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x31d8e6,'subtotalType':_0x366707};_0x337b58['unshift']({'id':_0x4b2215['id'],'params':_0x2518d7});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x3f5)]:{const {fieldId:_0x582ee9,fieldJson:_0x31f6be,area:_0x1cd39e,index:_0x27a075}=_0x5daccb,_0x1540af={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x582ee9,'index':_0x27a075,'area':_0x1cd39e};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x87a600['id'],'params':_0x1540af});const _0x1f8c16={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldJson':_0x31f6be,'area':_0x1cd39e,'index':_0x27a075};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x1678ea['id'],'params':_0x1f8c16});}break;case _0x5ab2d7['PivotTableChangeTypeEnum'][_0x4db9a0(0x274)]:{const {fieldId:_0x23b397,oldName:_0x1a1329,newName:_0x4e037f}=_0x5daccb,_0x5ca0f6={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x23b397,'name':_0x4e037f};_0x44fb6f['push']({'id':_0x280ff8['id'],'params':_0x5ca0f6});const _0x3aa281={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x23b397,'name':_0x1a1329};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x280ff8['id'],'params':_0x3aa281});}break;case _0x5ab2d7['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x9d5699,oldFilterInfo:_0x46a7d7,newFilterInfo:_0x267eaf}=_0x5daccb,_0x49cf59={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x9d5699,'filterInfo':_0x267eaf};_0x44fb6f['push']({'id':_0x17d811['id'],'params':_0x49cf59});const _0x112e90={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x9d5699,'filterInfo':_0x46a7d7};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x17d811['id'],'params':_0x112e90});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x1ad)]:{const {fieldId:_0x5ed933,oldSortInfo:_0x19f8c3,newSortInfo:_0x17a4a4}=_0x5daccb,_0x49b88a={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x5ed933,'sortInfo':_0x17a4a4};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x5a460e['id'],'params':_0x49b88a});const _0x4dd043={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x5ed933,'sortInfo':_0x19f8c3};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x5a460e['id'],'params':_0x4dd043});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)]['SetOptions']:{const {oldOptions:_0xac2319,newOptions:_0x55890e}=_0x5daccb,_0x4cf707={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'options':_0x55890e};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x31e799['id'],'params':_0x4cf707});const _0x4dab31={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'options':_0xac2319};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x31e799['id'],'params':_0x4dab31});}break;case _0x5ab2d7['PivotTableChangeTypeEnum']['UpdateFieldPosition']:{const {oldArea:_0x2e4909,newArea:_0x313180,oldIndex:_0x416104,newIndex:_0x40f803,fieldId:_0x462d62}=_0x5daccb,_0x20bc08={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x462d62,'area':_0x313180,'index':_0x40f803,'oldArea':_0x2e4909,'oldIndex':_0x416104};_0x44fb6f['push']({'id':_0x12d494['id'],'params':_0x20bc08});const _0x5deeec={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x462d62,'area':_0x2e4909,'index':_0x416104,'oldArea':_0x313180,'oldIndex':_0x40f803};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x12d494['id'],'params':_0x5deeec});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)]['UpdateValuePosition']:{const {oldValuePosition:_0x29632c,newValuePosition:_0x56b066,oldIndex:_0x3ef96f,newIndex:_0x1bd348}=_0x5daccb,_0x516563={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'valuePosition':_0x56b066,'index':_0x1bd348};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x231c1a['id'],'params':_0x516563});const _0x29be71={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'valuePosition':_0x29632c,'index':_0x3ef96f};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x231c1a['id'],'params':_0x29be71});}break;case _0x5ab2d7['PivotTableChangeTypeEnum'][_0x4db9a0(0x2e1)]:{const {fieldId:_0x45f99b,collapse:_0x21dfd2,item:_0x1224ea}=_0x5daccb,_0xed5f3c={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x45f99b,'collapse':_0x21dfd2,'item':_0x1224ea};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x50f618['id'],'params':_0xed5f3c});const _0x31fdbc={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x45f99b,'collapse':!_0x21dfd2,'item':_0x1224ea};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x50f618['id'],'params':_0x31fdbc});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x220)]:{const {newFormat:_0x15c306,oldFormat:_0x43fc22,fieldId:_0x438565}=_0x5daccb,_0x134b27={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x438565,'format':_0x15c306};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x2ebdf3['id'],'params':_0x134b27});const _0x3fffda={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x438565,'format':_0x43fc22};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x2ebdf3['id'],'params':_0x3fffda});}break;case _0x5ab2d7['PivotTableChangeTypeEnum'][_0x4db9a0(0x426)]:{const {tableFieldId:_0x1932bb,oldSourceName:_0xdaedb5,newSourceName:_0x69ab8,oldDataFieldId:_0x121ccf,newDataFieldId:_0x5300c5}=_0x5daccb,_0x18f5dd={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'tableFieldId':_0x1932bb,'sourceName':_0x69ab8,'dataFieldId':_0x5300c5};_0x44fb6f[_0x4db9a0(0x337)]({'id':_0x5772bb['id'],'params':_0x18f5dd});const _0x1b6e19={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'tableFieldId':_0x1932bb,'sourceName':_0xdaedb5,'dataFieldId':_0x121ccf};_0x337b58[_0x4db9a0(0x25e)]({'id':_0x5772bb['id'],'params':_0x1b6e19});}break;case _0x5ab2d7[_0x4db9a0(0x1b5)][_0x4db9a0(0x296)]:{const {fieldId:_0x551479,filterInfo:_0x3c5b52,oldFilterInfo:_0x3e0413}=_0x5daccb,_0xdbad37={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x551479,'filterInfo':_0x3c5b52};_0x44fb6f['push']({'id':_0x1d73d4['id'],'params':_0xdbad37});const _0x546ace={'unitId':_0x31ff9e,'subUnitId':_0x1f0fca,'pivotTableId':_0x11e2d5,'fieldId':_0x551479,'filterInfo':_0x3e0413};_0x337b58['unshift']({'id':_0x1d73d4['id'],'params':_0x546ace});}}return{'redos':_0x44fb6f,'undos':_0x337b58};}function _0x10be2a(_0x31f750,_0x2137c3){const _0x28b03a=_0x6daf50;var _0x22ab7e;const _0x51b60e=_0x31f750['get'](_0x271f43[_0x28b03a(0x3de)]),{cellInfo:_0x937802,view:_0x3d66fc,isEmpty:_0x281a1b}=_0x2137c3;return(_0x22ab7e=_0x51b60e[_0x28b03a(0x35f)][_0x28b03a(0x2a2)](_0x43df9f)(_0x2929b8,{'cellInfo':_0x937802,'view':_0x3d66fc,'isEmpty':_0x281a1b}))!=null?_0x22ab7e:_0x2929b8;}const _0x1dfebb=()=>typeof process<'u'&&process['versions']!=null&&process[_0x6daf50(0x419)][_0x6daf50(0x219)]!=null,_0x17abbf={'type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x30bab4,_0x2b3ada){const _0x296f07=_0x6daf50;var _0x45d5ad;if(!_0x2b3ada)return!0x1;const _0x2bf377=_0x30bab4[_0x296f07(0x393)](_0x3aab5b[_0x296f07(0x1eb)]);if(!!_0x2bf377[_0x296f07(0x3d0)](_0x332892))return!0x0;const _0x2de007=_0x30bab4[_0x296f07(0x393)](_0x3aab5b[_0x296f07(0x350)]),_0xb71896=_0x30bab4[_0x296f07(0x393)](_0x271f43[_0x296f07(0x383)]),{pivotTableId:_0x5c8b4c,pivotTableConfig:_0x4057b3,collectionConfig:_0x38b544,unitId:_0x35f906,subUnitId:_0x5c43c9}=_0x2b3ada,{sourceRangeInfo:_0x34c6da,fieldsConfig:_0x5180c0,targetCellInfo:_0x11acec}=_0x4057b3,_0x1adeb5=_0x2de007['getUnit'](_0x35f906);if(!_0x1adeb5||!_0x1adeb5[_0x296f07(0x2a1)](_0x5c43c9))return!0x1;if(!_0x1dfebb()){let _0x221e51=0x0;_0x1adeb5[_0x296f07(0x424)]()[_0x296f07(0x3d8)](_0x2cd043=>{const _0x29e47d=_0x296f07;var _0x45685e,_0x3bf5bf;_0x221e51+=(_0x3bf5bf=(_0x45685e=_0xb71896[_0x29e47d(0x355)](_0x35f906,_0x2cd043[_0x29e47d(0x276)]()))==null?void 0x0:_0x45685e[_0x29e47d(0x423)])!=null?_0x3bf5bf:0x0;});const _0x252898=(_0x45d5ad=_0x2bf377[_0x296f07(0x3d0)](_0x2a826e[_0x296f07(0x3e3)]))!=null?_0x45d5ad:{},{ls:_0x4c54f4,pbk:_0x2cf611}=_0x252898;if(!_0x2ffa8d(_0x4c54f4,_0x2cf611))throw new _0x3aab5b[(_0x296f07(0x388))]('limit\x20pivot');const _0x31494d=_0x21309a(_0x884d8a,_0x4c54f4,_0x2cf611)[_0x296f07(0x3f2)];if(_0x221e51>=_0x31494d)throw new _0x3aab5b[(_0x296f07(0x388))](_0x296f07(0x147));}if(!_0x38b544||!_0x5180c0)return!0x1;const {collection:_0x1900d8,updateDataFieldList:_0x439d28}=_0xb71896[_0x296f07(0x17c)](_0x5c8b4c,_0x38b544,_0x34c6da,_0x11acec);_0xb71896['refreshData'](_0x1900d8,_0x439d28,_0x34c6da);const _0x3f9b1f=new _0x5ab2d7[(_0x296f07(0x36e))](_0x1900d8,void 0x0,_0x5c8b4c);_0x3f9b1f[_0x296f07(0x1e3)](_0x5180c0);const _0x50b5d0=JSON[_0x296f07(0x12b)](JSON[_0x296f07(0x247)](_0x4057b3));return _0xb71896[_0x296f07(0x335)](_0x35f906,_0x5c43c9,_0x5c8b4c,_0x3f9b1f,_0x50b5d0),_0xb71896[_0x296f07(0x3f3)]({'unitId':_0x35f906,'subUnitId':_0x5c43c9,'token':_0x5c8b4c,'type':_0x1ab225[_0x296f07(0x368)],'pivotConfig':_0x50b5d0}),!0x0;}},_0x2b2273={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x406),'handler'(_0x4044c0,_0x316e75){const _0x4a3ac6=_0x6daf50;if(!_0x316e75)return!0x1;if(!!_0x4044c0[_0x4a3ac6(0x393)](_0x3aab5b[_0x4a3ac6(0x1eb)])[_0x4a3ac6(0x3d0)](_0x332892))return!0x0;const {pivotTableId:_0x163941,unitId:_0x201889,subUnitId:_0x9c3eba}=_0x316e75,_0x4ded4b=_0x4044c0[_0x4a3ac6(0x393)](_0x271f43[_0x4a3ac6(0x383)]);return _0x4ded4b[_0x4a3ac6(0x3bd)](_0x201889,_0x9c3eba,_0x163941)?(_0x4ded4b['addDirtyPivotTable']({'unitId':_0x201889,'subUnitId':_0x9c3eba,'token':_0x163941,'type':_0x1ab225[_0x4a3ac6(0x24b)]}),_0x4ded4b[_0x4a3ac6(0x280)](_0x201889,_0x9c3eba,_0x163941),!0x0):!0x1;}},_0x2ef4c5={'type':_0x3aab5b['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x26d6aa,_0x44c53c){const _0x21f1d6=_0x6daf50;if(!_0x44c53c)return!0x1;if(!!_0x26d6aa['get'](_0x3aab5b[_0x21f1d6(0x1eb)])['getConfig'](_0x332892))return!0x0;const {pivotTableId:_0x5ab219,targetCellPosition:_0xb0f9ba,unitId:_0x349441,subUnitId:_0x531961}=_0x44c53c,_0x3d65d4=_0x26d6aa[_0x21f1d6(0x393)](_0x271f43[_0x21f1d6(0x383)]);if(!_0x3d65d4[_0x21f1d6(0x3f8)](_0x44c53c[_0x21f1d6(0x34d)]))return!0x1;const _0x4b9d29=_0x3d65d4[_0x21f1d6(0x360)](_0x5ab219);if(!_0x4b9d29)return!0x1;const _0x98f73e=_0x3d65d4['getCollection'](_0x4b9d29[_0x21f1d6(0x3ba)],_0x44c53c[_0x21f1d6(0x34d)]);if(!_0x98f73e)return!0x1;const _0x2e1916=_0x3d65d4[_0x21f1d6(0x3bd)](_0x4b9d29[_0x21f1d6(0x3ba)],_0x4b9d29['subUnitId'],_0x5ab219);if(!_0x2e1916)return!0x1;const _0x366e8a=_0x3aab5b[_0x21f1d6(0x3be)][_0x21f1d6(0x33e)](_0x2e1916);_0x366e8a[_0x21f1d6(0x233)]={'unitId':_0x349441,'subUnitId':_0x531961,'row':_0xb0f9ba['row'],'col':_0xb0f9ba['col']};const _0x3f63a5=_0x98f73e[_0x21f1d6(0x24a)]();if(_0x4b9d29['subUnitId']===_0x531961&&_0x4b9d29['unitId']===_0x349441)_0x3d65d4[_0x21f1d6(0x14e)](_0x349441,_0x531961,_0x5ab219,_0x366e8a),_0x3d65d4['addDirtyPivotTable']({'unitId':_0x349441,'subUnitId':_0x531961,'token':_0x5ab219,'type':_0x1ab225[_0x21f1d6(0x149)]});else{_0x3d65d4[_0x21f1d6(0x3f3)]({'unitId':_0x4b9d29[_0x21f1d6(0x3ba)],'subUnitId':_0x4b9d29['subUnitId'],'token':_0x5ab219,'type':_0x1ab225[_0x21f1d6(0x24b)]}),_0x3d65d4['removePivotTable'](_0x4b9d29[_0x21f1d6(0x3ba)],_0x4b9d29[_0x21f1d6(0x3af)],_0x5ab219);const _0x3be7f2=_0x3d65d4[_0x21f1d6(0x17c)](_0x5ab219,_0x3f63a5,_0x2e1916[_0x21f1d6(0x133)],_0x366e8a[_0x21f1d6(0x233)]),_0x42f2be=new _0x5ab2d7[(_0x21f1d6(0x36e))](_0x3be7f2[_0x21f1d6(0x2ac)],void 0x0,_0x5ab219);_0x42f2be[_0x21f1d6(0x1e3)](_0x366e8a[_0x21f1d6(0x2ca)]),_0x3d65d4[_0x21f1d6(0x335)](_0x349441,_0x531961,_0x5ab219,_0x42f2be,_0x366e8a),_0x3d65d4[_0x21f1d6(0x3f3)]({'unitId':_0x349441,'subUnitId':_0x531961,'token':_0x5ab219,'type':_0x1ab225[_0x21f1d6(0x368)],'pivotConfig':_0x366e8a});}return!0x0;}},_0x49672d={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':_0x6daf50(0x266),'handler'(_0x2ba6e8,_0x2adb5d){const _0x4549c5=_0x6daf50;if(!_0x2adb5d)return!0x1;if(!!_0x2ba6e8[_0x4549c5(0x393)](_0x3aab5b[_0x4549c5(0x1eb)])[_0x4549c5(0x3d0)](_0x332892))return!0x0;const _0x4d84f3=_0x2ba6e8[_0x4549c5(0x393)](_0x271f43[_0x4549c5(0x383)]),{pivotTableId:_0x31612a,deleteIds:_0x7e026c,collectionJSON:_0x75b707,dataRangeInfo:_0xcd5dbf,unitId:_0x592d7d,subUnitId:_0x3c3fd3}=_0x2adb5d,_0x57be37=_0x4d84f3[_0x4549c5(0x3f8)](_0x31612a),_0x3743db=_0x4d84f3[_0x4549c5(0x3bd)](_0x592d7d,_0x3c3fd3,_0x31612a);if(!_0x57be37||!_0x3743db)return!0x1;const {collection:_0x1119cf,updateDataFieldList:_0x158547}=_0x4d84f3[_0x4549c5(0x17c)](_0x31612a,_0x75b707,_0xcd5dbf,_0x3743db['targetCellInfo']);_0x4d84f3[_0x4549c5(0x179)](_0x1119cf,_0x158547,_0xcd5dbf),_0x57be37['updateDataFieldsCollection'](_0x1119cf);for(const _0x3e2fc9 of _0x7e026c)_0x4d84f3['removeDataField'](_0xcd5dbf['unitId'],_0x3e2fc9);const _0x4bb9a1=_0x4d84f3['getPivotTableConfig'](_0x592d7d,_0x3c3fd3,_0x31612a);return _0x4bb9a1[_0x4549c5(0x133)]=JSON[_0x4549c5(0x12b)](JSON['stringify'](_0xcd5dbf)),_0x4d84f3[_0x4549c5(0x3f3)]({'unitId':_0x592d7d,'subUnitId':_0x3c3fd3,'token':_0x31612a,'type':_0x1ab225[_0x4549c5(0x149)]}),!0x0;}},_0x326fd6={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x1246ec=Object[_0x6daf50(0x182)],_0x25f3bc=(_0xf3f48f,_0x5963a7,_0x1d9e95,_0x408baf)=>{for(var _0x58a984=_0x408baf>0x1?void 0x0:_0x408baf?_0x1246ec(_0x5963a7,_0x1d9e95):_0x5963a7,_0x18e111=_0xf3f48f['length']-0x1,_0x2fd25e;_0x18e111>=0x0;_0x18e111--)(_0x2fd25e=_0xf3f48f[_0x18e111])&&(_0x58a984=_0x2fd25e(_0x58a984)||_0x58a984);return _0x58a984;},_0x4b9096=(_0x50809e,_0x1973a6)=>(_0x3e7561,_0x366bc8)=>_0x1973a6(_0x3e7561,_0x366bc8,_0x50809e);_0x271f43[_0x6daf50(0x31b)]=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x4dc997,_0x5c25bd){const _0x50dd13=_0x6daf50;super(),_0x3f9e42(this,'_requestResolvers',new Map()),(this[_0x50dd13(0x408)]=_0x4dc997,this[_0x50dd13(0x392)]=_0x5c25bd);}['handleAsyncResponse'](_0x19452b){const _0x3c8140=_0x6daf50,{version:_0x301d65}=_0x19452b,_0x44c3ac=this[_0x3c8140(0x1b8)][_0x3c8140(0x393)](_0x301d65);_0x44c3ac&&(_0x44c3ac(_0x19452b),this['_requestResolvers'][_0x3c8140(0x356)](_0x301d65));}[_0x6daf50(0x155)](_0x3c3ffb){return new Promise((_0x234a45,_0x48abdb)=>{const _0x5e7a1c=_0x45c2,_0x22c5a1=this[_0x5e7a1c(0x33c)]();this[_0x5e7a1c(0x1b8)][_0x5e7a1c(0x3eb)](_0x22c5a1,_0x234a45),this[_0x5e7a1c(0x392)][_0x5e7a1c(0x2ec)](_0x549956['id'],{'version':_0x22c5a1,..._0x3c3ffb},{'onlyLocal':!0x0});});}[_0x6daf50(0x33c)](){const _0x185382=_0x6daf50;return Math['random']()[_0x185382(0x1d1)](0x24)[_0x185382(0x240)](0x2,0x10);}},_0x271f43[_0x6daf50(0x31b)]=_0x25f3bc([_0x4b9096(0x0,_0x3aab5b['Inject'](_0x3aab5b[_0x6daf50(0x39a)])),_0x4b9096(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x1f4)]))],_0x271f43[_0x6daf50(0x31b)]);const _0xc2bdb6={'id':_0x6daf50(0x1ae),'type':_0x3aab5b['CommandType'][_0x6daf50(0x13c)],'handler':(_0x3c493f,_0x390c7b)=>{const _0x45d1a6=_0x6daf50;if(!_0x390c7b)return!0x1;if(!!_0x3c493f[_0x45d1a6(0x393)](_0x3aab5b[_0x45d1a6(0x1eb)])[_0x45d1a6(0x3d0)](_0x332892))return!0x0;const {pivotTableId:_0xf7ea8c,fieldJSON:_0x515dc9,unitId:_0x5f4502,subUnitId:_0x5b4e15}=_0x390c7b,_0x4f272d=_0x5ab2d7['BaseGroupField'][_0x45d1a6(0x1e3)](_0x515dc9);if(!_0x4f272d)return!0x1;const _0x1ab841=_0x3c493f[_0x45d1a6(0x393)](_0x271f43[_0x45d1a6(0x383)]),_0x1c51ee=_0x1ab841[_0x45d1a6(0x428)](_0x5f4502),_0x1b61a7=_0x1c51ee[_0x45d1a6(0x34e)](_0xf7ea8c);_0x1c51ee[_0x45d1a6(0x1cd)](_0x4f272d),_0x1b61a7['addField'](_0x4f272d[_0x45d1a6(0x1cb)](),_0x4f272d[_0x45d1a6(0x31d)]());const _0x4eb7bc=_0x1b61a7[_0x45d1a6(0x1dd)](_0x4f272d[_0x45d1a6(0x13a)]());_0x4eb7bc&&_0x4f272d[_0x45d1a6(0x41b)](_0x4eb7bc);const _0x195b8c=_0x1ab841[_0x45d1a6(0x3bd)](_0x5f4502,_0x5b4e15,_0xf7ea8c);return _0x1ab841[_0x45d1a6(0x3f3)]({'unitId':_0x5f4502,'subUnitId':_0x5b4e15,'token':_0xf7ea8c,'type':_0x1ab225['Set'],'pivotConfig':_0x195b8c}),!0x0;}},_0x1062bf={'id':_0x6daf50(0x35b),'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x13c)],'handler':(_0x390b3d,_0x4103be)=>{const _0x58eabd=_0x6daf50;if(!_0x4103be)return!0x1;if(!!_0x390b3d[_0x58eabd(0x393)](_0x3aab5b[_0x58eabd(0x1eb)])['getConfig'](_0x332892))return!0x0;const {pivotTableId:_0x38e304,dataFieldId:_0x1754ec,unitId:_0x17821b,subUnitId:_0x41dde5}=_0x4103be,_0x5545ab=_0x390b3d[_0x58eabd(0x393)](_0x271f43['SheetsPivotDataSourceModel']),_0x50894a=_0x5545ab[_0x58eabd(0x428)](_0x17821b);_0x50894a[_0x58eabd(0x34e)](_0x38e304)[_0x58eabd(0x1f3)](_0x1754ec);let _0x39a0e8=!0x0;for(const _0x4c147e in _0x50894a['collections'])if(_0x50894a['collections'][_0x4c147e][_0x58eabd(0x221)]()[_0x58eabd(0x1cc)](_0x1754ec)){_0x39a0e8=!0x1;break;}_0x39a0e8&&_0x50894a['deleteDataField'](_0x1754ec);const _0x1add3d=_0x5545ab[_0x58eabd(0x3bd)](_0x17821b,_0x41dde5,_0x38e304);return _0x5545ab['addDirtyPivotTable']({'unitId':_0x17821b,'subUnitId':_0x41dde5,'token':_0x38e304,'type':_0x1ab225[_0x58eabd(0x149)],'pivotConfig':_0x1add3d}),!0x0;}},_0x18a88f={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x1f5),async 'handler'(_0x3c70f1,_0x2dd241){const _0x401604=_0x6daf50;if(!_0x2dd241)return!0x1;const _0x248adb=_0x3c70f1['get'](_0x3aab5b[_0x401604(0x1f4)]),_0x276071=_0x3c70f1['get'](_0x271f43[_0x401604(0x31b)]),_0x3dae88=_0x3c70f1['get'](_0x3aab5b['IUndoRedoService']),{pivotTableId:_0x7c0ca2,dataFieldId:_0x1d88a9,fieldArea:_0x44db5c,index:_0x5d2bca,unitId:_0x495f0a,subUnitId:_0x43d73e}=_0x2dd241,_0x24404b=(await _0x276071['getPivotDisplayConfig']({'unitId':_0x495f0a,'subUnitId':_0x43d73e,'pivotTableId':_0x7c0ca2,'params':{'type':_0x17706b['AddPivotField'],'addPivotField':{'dataFieldId':_0x1d88a9,'fieldArea':_0x44db5c,'index':_0x5d2bca}}}))['result'][_0x401604(0x429)];if(!_0x24404b)return!0x1;const {view:_0x141298,changesets:_0x276790,isEmpty:_0x368d6f,pivotTableConfig:_0x1f7bd0,shouldBeAddedGroupJSON:_0x349f72}=_0x24404b,_0x1543bf=_0x1f7bd0[_0x401604(0x233)],_0x3fd8ab=new _0x5ab2d7[(_0x401604(0x205))]();_0x3fd8ab[_0x401604(0x2ed)](_0x141298);const _0xa591b1={'cellInfo':_0x1543bf,'view':_0x3fd8ab,'isEmpty':_0x368d6f};if(!await _0x3c70f1['get'](_0x271f43[_0x401604(0x3de)])[_0x401604(0x152)][_0x401604(0x163)](_0x4f637e)(!0x0,_0xa591b1))return!0x1;const _0x48f64f=_0x44c00e(_0x3c70f1,_0x3fd8ab,_0x1543bf,_0x368d6f),_0x3c3d08=_0x10be2a(_0x3c70f1,_0xa591b1),{undos:_0x329266,redos:_0x2669f3}=_0x20db0e(_0x248adb,{'pivotTableId':_0x7c0ca2,'unitId':_0x495f0a,'subUnitId':_0x43d73e},_0x276790);return _0x349f72&&(_0x2669f3[_0x401604(0x25e)]({'id':_0xc2bdb6['id'],'params':{'pivotTableId':_0x7c0ca2,'fieldJSON':_0x349f72,'unitId':_0x495f0a,'subUnitId':_0x43d73e}}),_0x329266['push']({'id':_0x1062bf['id'],'params':{'pivotTableId':_0x7c0ca2,'dataFieldId':_0x349f72['id'],'unitId':_0x495f0a,'subUnitId':_0x43d73e}})),_0x3aab5b['sequenceExecute']([..._0x48f64f['redos'],..._0x3c3d08[_0x401604(0x1b6)],..._0x2669f3],_0x248adb),_0x3dae88['pushUndoRedo']({'unitID':_0x495f0a,'redoMutations':[..._0x48f64f[_0x401604(0x1b6)],..._0x3c3d08[_0x401604(0x1b6)],..._0x2669f3],'undoMutations':[..._0x48f64f[_0x401604(0x2dc)],..._0x3c3d08[_0x401604(0x2dc)],..._0x329266]}),!0x0;}},_0x40ec48={'type':_0x3aab5b[_0x6daf50(0x2d3)]['COMMAND'],'id':_0x6daf50(0x31e),async 'handler'(_0x4761e2,_0x5eb0d){const _0x775019=_0x6daf50;if(!_0x5eb0d)return!0x1;const {sourceDataInfo:_0x45a4ea,pivotTableConfig:_0xd42018}=_0x5eb0d;if(!_0x45a4ea||!_0xd42018)return!0x1;const {unitId:_0x5d2f3e,subUnitId:_0x1ea9f6,range:_0xbbced0}=_0x45a4ea,_0x183afc=_0x4761e2[_0x775019(0x393)](_0x3aab5b[_0x775019(0x350)]),_0xc2cb23=_0x4761e2[_0x775019(0x393)](_0x271f43[_0x775019(0x31b)]),_0xcf9949=_0x4761e2[_0x775019(0x393)](_0x3aab5b[_0x775019(0x2a9)]),_0x6ef2d2=_0x4761e2[_0x775019(0x393)](_0x3aab5b[_0x775019(0x1f4)]),_0x168a70=_0x183afc[_0x775019(0x422)](_0x5d2f3e);if(!_0x168a70)return!0x1;const _0x1e9b6b=_0x168a70['getSheetBySheetId'](_0x1ea9f6);if(!_0x1e9b6b)return!0x1;const _0x5c97e0=_0x5ab2d7[_0x775019(0x329)](0x8),_0x14a09c=_0xbbced0||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1e9b6b[_0x775019(0x3c8)]()-0x1,'endColumn':_0x1e9b6b[_0x775019(0x379)]()-0x1};_0x14a09c[_0x775019(0x26a)]=_0x3aab5b[_0x775019(0x262)][_0x775019(0x416)];const _0x4e8dfe=(await _0xc2cb23['getPivotDisplayConfig']({'unitId':_0x5d2f3e,'subUnitId':_0x1ea9f6,'pivotTableId':_0x5c97e0,'params':{'type':_0x17706b['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5d2f3e,'sheetName':_0x1e9b6b['getName'](),'subUnitId':_0x1ea9f6,'range':_0x14a09c},'pivotTableId':_0x5c97e0,'pivotTableIndexConfig':_0xd42018}}}))[_0x775019(0x213)][_0x775019(0x2be)];if(!_0x4e8dfe)return!0x1;const {isEmpty:_0x52f8bb,fieldsConfig:_0x5521e0,collectionConfig:_0x1b3f00,changesets:_0x123fb5}=_0x4e8dfe,_0x5df038=_0x168a70[_0x775019(0x424)]()['length'],_0x245b49=_0x3aab5b[_0x775019(0x38e)]({'rowCount':_0x1e9b6b[_0x775019(0x3c8)]()-0x1,'columnCount':_0x1e9b6b[_0x775019(0x379)]()-0x1});_0x245b49['id']=_0x3aab5b[_0x775019(0x319)](),_0x245b49[_0x775019(0x2e0)]=_0x168a70[_0x775019(0x31c)](''+_0xcf9949['t'](_0x775019(0x34f)));const _0x29d20e={'index':_0x5df038,'sheet':_0x245b49,'unitId':_0x5d2f3e},{redos:_0x3d4c7c}=_0x20db0e(_0x6ef2d2,{'pivotTableId':_0x5c97e0,'unitId':_0x5d2f3e,'subUnitId':_0x245b49['id']},_0x123fb5),_0x2a4aa7=[{'id':_0x5b84bb['InsertSheetCommand']['id'],'params':_0x29d20e},{'id':_0x17abbf['id'],'params':{'unitId':_0x5d2f3e,'subUnitId':_0x245b49['id'],'pivotTableId':_0x5c97e0,'pivotTableConfig':{'isEmpty':_0x52f8bb,'fieldsConfig':_0x5521e0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5d2f3e,'subUnitId':_0x245b49['id']},'sourceRangeInfo':{'subUnitId':_0x1ea9f6,'unitId':_0x5d2f3e,'range':_0x14a09c,'sheetName':_0x1e9b6b[_0x775019(0x31d)]()}},'collectionConfig':_0x1b3f00}},..._0x3d4c7c];return _0x3aab5b[_0x775019(0x38f)](_0x2a4aa7,_0x6ef2d2),!0x0;}},_0x5b2cbd={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x3ea),async 'handler'(_0x24c5a4,_0x2fb3e1){const _0x191727=_0x6daf50;var _0x4dbe15,_0x3ae4ff;const _0x1f6a5c=_0x24c5a4[_0x191727(0x393)](_0x3aab5b[_0x191727(0x1f4)]),_0xdac4f7=_0x24c5a4['get'](_0x3aab5b['IUniverInstanceService']),_0x48776f=_0x24c5a4['get'](_0x3aab5b[_0x191727(0x2a9)]),_0x31ca8a=_0x24c5a4[_0x191727(0x393)](_0x271f43[_0x191727(0x31b)]),_0x479d6a=_0x24c5a4[_0x191727(0x393)](_0x3aab5b[_0x191727(0x1c9)]),_0x4af999=_0x24c5a4[_0x191727(0x393)](_0x271f43[_0x191727(0x42c)]),_0x11a537=_0x24c5a4['get'](_0x3aab5b[_0x191727(0x1eb)]);if(!_0x2fb3e1)return!0x1;const {pivotTableConfig:_0x254c09,positionType:_0x4d9945}=_0x2fb3e1,{targetCellInfo:_0x550df9,sourceRangeInfo:_0x22125a}=_0x254c09,{unitId:_0x146d9a,subUnitId:_0x3777ad}=_0x550df9,_0x100b4c=_0xdac4f7[_0x191727(0x422)](_0x146d9a);if(!_0x100b4c)return!0x1;let _0x52c4c5=0x0;_0x100b4c[_0x191727(0x424)]()[_0x191727(0x3d8)](_0x9387b5=>{const _0x444580=_0x191727;var _0x11c3b9,_0x4ff6b6;_0x52c4c5+=(_0x4ff6b6=(_0x11c3b9=_0x4af999[_0x444580(0x355)](_0x146d9a,_0x9387b5[_0x444580(0x276)]()))==null?void 0x0:_0x11c3b9[_0x444580(0x423)])!=null?_0x4ff6b6:0x0;});const _0x93e1b6=(_0x4dbe15=_0x11a537[_0x191727(0x3d0)](_0x2a826e[_0x191727(0x3e3)]))!=null?_0x4dbe15:{},{ls:_0x32215c,pbk:_0x60701a}=_0x93e1b6;if(!_0x2ffa8d(_0x32215c,_0x60701a))return!0x1;const _0x5965b8=_0x21309a(_0x884d8a,_0x32215c,_0x60701a)['count'];if(_0x52c4c5>=_0x5965b8)return!0x1;const _0x84ca91=_0x2fb3e1[_0x191727(0x34d)]||_0x5ab2d7[_0x191727(0x329)](0x8),_0x2d70c5=(await _0x31ca8a['getPivotDisplayConfig']({'unitId':_0x146d9a,'subUnitId':_0x3777ad,'pivotTableId':_0x84ca91,'params':{'type':_0x17706b[_0x191727(0x2f0)],'addPivotTable':{'sourceRangeInfo':_0x22125a,'pivotTableId':_0x84ca91}}}))['result'][_0x191727(0x335)];if(!_0x2d70c5)return!0x1;const {view:_0x1fbc72,isEmpty:_0x36838a,fieldsConfig:_0x108ec2,collectionConfig:_0x3187dc}=_0x2d70c5,_0x4da475=[],_0x4b2af2=[];if(_0x4d9945===_0xdd5059[_0x191727(0x3cc)]){const _0x372f97=_0x100b4c[_0x191727(0x424)]()['length'],_0xe7e70=_0x3aab5b[_0x191727(0x38e)]({});_0xe7e70['id']=_0x254c09['targetCellInfo'][_0x191727(0x3af)],_0xe7e70['name']=(_0x3ae4ff=_0x254c09[_0x191727(0x233)][_0x191727(0x35c)])!=null?_0x3ae4ff:_0x100b4c[_0x191727(0x31c)](''+_0x48776f['t'](_0x191727(0x34f)));const _0x37621e={'index':_0x372f97,'sheet':_0xe7e70,'unitId':_0x146d9a},_0x3a7dfe=_0x5b84bb[_0x191727(0x1c0)](_0x24c5a4,_0x37621e);_0x4da475[_0x191727(0x337)]({'id':_0x5b84bb[_0x191727(0x3f4)]['id'],'params':_0x3a7dfe}),_0x4b2af2[_0x191727(0x337)]({'id':_0x5b84bb[_0x191727(0x257)]['id'],'params':_0x37621e});}else{if(!_0x100b4c[_0x191727(0x2a1)](_0x3777ad))return!0x1;const _0x10c496=_0x44c00e(_0x24c5a4,new _0x5ab2d7[(_0x191727(0x205))](),_0x550df9,!0x0);_0x4b2af2['push'](..._0x10c496['redos']),_0x4da475[_0x191727(0x337)](..._0x10c496['undos']);const _0x46c822={'cellInfo':_0x550df9,'view':_0x1fbc72,'isEmpty':_0x36838a};if(!await _0x24c5a4[_0x191727(0x393)](_0x271f43[_0x191727(0x3de)])[_0x191727(0x152)][_0x191727(0x163)](_0x4f637e)(!0x0,_0x46c822))return!0x1;const _0x436620=_0x10be2a(_0x24c5a4,_0x46c822);_0x4b2af2['push'](..._0x436620[_0x191727(0x1b6)]),_0x4da475[_0x191727(0x337)](..._0x436620[_0x191727(0x2dc)]);}return _0x4b2af2[_0x191727(0x337)]({'id':_0x17abbf['id'],'params':{'unitId':_0x550df9[_0x191727(0x3ba)],'subUnitId':_0x550df9[_0x191727(0x3af)],'pivotTableId':_0x84ca91,'pivotTableConfig':{'targetCellInfo':_0x550df9,'sourceRangeInfo':_0x22125a,'fieldsConfig':_0x108ec2},'collectionConfig':_0x3187dc}}),_0x4da475[_0x191727(0x25e)]({'id':_0x2b2273['id'],'params':{'unitId':_0x146d9a,'subUnitId':_0x3777ad,'pivotTableId':_0x84ca91}}),_0x3aab5b[_0x191727(0x38f)](_0x4b2af2,_0x1f6a5c)&&_0x479d6a[_0x191727(0x1b4)]({'unitID':_0x146d9a,'undoMutations':_0x4da475,'redoMutations':_0x4b2af2}),!0x0;}},_0x10ba26={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x1d4),async 'handler'(_0x94ca12,_0x481394){const _0x245d39=_0x6daf50;if(!_0x481394)return!0x1;const _0x286cc2=_0x94ca12[_0x245d39(0x393)](_0x3aab5b[_0x245d39(0x1f4)]),_0x537e67=_0x94ca12[_0x245d39(0x393)](_0x271f43[_0x245d39(0x31b)]),_0x1fd4a5=_0x94ca12[_0x245d39(0x393)](_0x3aab5b['IUndoRedoService']),{pivotTableId:_0x39b885,fieldId:_0x24804c,area:_0x5c28c0,index:_0x4a1540,unitId:_0x29467d,subUnitId:_0xe52253}=_0x481394,_0x4bda44=(await _0x537e67[_0x245d39(0x155)]({'unitId':_0x29467d,'subUnitId':_0xe52253,'pivotTableId':_0x39b885,'params':{'type':_0x17706b[_0x245d39(0x17f)],'movePivotField':{'fieldId':_0x24804c,'area':_0x5c28c0,'index':_0x4a1540}}}))[_0x245d39(0x213)][_0x245d39(0x13f)];if(!_0x4bda44)return!0x1;const {changesets:_0x59dc49,view:_0x49a250,isEmpty:_0x25acf5,pivotTableConfig:_0x30d43d}=_0x4bda44,_0x8c78b3=_0x30d43d['targetCellInfo'],_0x1da105=new _0x5ab2d7[(_0x245d39(0x205))]();_0x1da105[_0x245d39(0x2ed)](_0x49a250);const _0xe7a5e3={'cellInfo':_0x8c78b3,'view':_0x1da105,'isEmpty':_0x25acf5};if(!await _0x94ca12[_0x245d39(0x393)](_0x271f43['SheetsPivotTableService'])[_0x245d39(0x152)][_0x245d39(0x163)](_0x4f637e)(!0x0,_0xe7a5e3))return!0x1;const _0x43964c=_0x44c00e(_0x94ca12,_0x1da105,_0x8c78b3,_0x25acf5),_0x17c195=_0x10be2a(_0x94ca12,_0xe7a5e3),{redos:_0x419898,undos:_0x5bfb6d}=_0x20db0e(_0x286cc2,{'pivotTableId':_0x39b885,'unitId':_0x29467d,'subUnitId':_0xe52253},_0x59dc49);return _0x3aab5b[_0x245d39(0x38f)]([..._0x43964c[_0x245d39(0x1b6)],..._0x17c195[_0x245d39(0x1b6)],..._0x419898],_0x286cc2),_0x1fd4a5[_0x245d39(0x1b4)]({'unitID':_0x29467d,'redoMutations':[..._0x43964c[_0x245d39(0x1b6)],..._0x17c195[_0x245d39(0x1b6)],..._0x419898],'undoMutations':[..._0x43964c[_0x245d39(0x2dc)],..._0x17c195[_0x245d39(0x2dc)],..._0x5bfb6d]}),!0x0;}},_0x594ab8={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x36b),async 'handler'(_0x3ff42f,_0xc0506d){const _0x109ea8=_0x6daf50;var _0x4025e0;if(!_0xc0506d)return!0x1;const _0x241d6f=_0x3ff42f[_0x109ea8(0x393)](_0x3aab5b['IUniverInstanceService']),_0xb1b1e0=_0x5b84bb[_0x109ea8(0x272)](_0x241d6f);if(!_0xb1b1e0)return!0x1;const {unitId:_0x195a5b,subUnitId:_0x728baf,workbook:_0x57b2c7}=_0xb1b1e0,{row:_0x1b203c,col:_0x45f06a}=_0xc0506d,_0x98acf6=_0x3ff42f[_0x109ea8(0x393)](_0x271f43[_0x109ea8(0x36c)]),_0x2724a6=_0x98acf6['getPivotTableIdByCell'](_0x195a5b,_0x728baf,_0x1b203c,_0x45f06a);if(!_0x2724a6)return!0x1;const _0x5acd5f=(_0x4025e0=_0x98acf6[_0x109ea8(0x411)](_0x195a5b,_0x728baf,_0x2724a6))==null?void 0x0:_0x4025e0[_0x109ea8(0x361)];if(!_0x5acd5f)return!0x1;const _0x3c1b29=_0x3ff42f['get'](_0x271f43['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x195a5b,_0x728baf,_0x2724a6);if(!_0x3c1b29)return!0x1;const {rowInfo:_0x342725,colInfo:_0x26a6d5}=_0x5acd5f,_0x3fd94e=_0x342725[_0x1b203c]['paths'],_0x1a2fef=_0x26a6d5[_0x45f06a][_0x109ea8(0x20f)],_0x1ffaab=_0x342725[_0x1b203c][_0x109ea8(0x289)],_0xf2ee5a=_0x26a6d5[_0x45f06a][_0x109ea8(0x289)],_0xbfdae9=_0x3fd94e['concat'](_0x1a2fef),_0x234ab5=_0x3c1b29[_0x109ea8(0x2ca)][_0x109ea8(0x292)][_0x109ea8(0x38a)](0x0,_0x1ffaab),_0x23d96f=_0x3c1b29['fieldsConfig'][_0x109ea8(0x245)][_0x109ea8(0x38a)](0x0,_0xf2ee5a),_0x3ff583=_0x234ab5[_0x109ea8(0x134)](_0x23d96f),_0x4f1890=_0xbfdae9[_0x109ea8(0x3f1)]((_0x35332f,_0x4f37b7)=>[_0x35332f,_0x3ff583[_0x4f37b7]]),_0x5e5f64=(await _0x3ff42f[_0x109ea8(0x393)](_0x271f43[_0x109ea8(0x31b)])[_0x109ea8(0x155)]({'unitId':_0x195a5b,'subUnitId':_0x728baf,'pivotTableId':_0x2724a6,'params':{'type':_0x17706b[_0x109ea8(0x347)],'drillDown':{'tuple':_0x4f1890}}}))[_0x109ea8(0x213)][_0x109ea8(0x2d5)];if(!_0x5e5f64)return!0x1;const {indexes:_0x3678a7,range:_0x35d6fd,sourceUnitId:_0x487c0d,sourceSubUnitId:_0x2039a6,formatMap:_0x415680}=_0x5e5f64,{startRow:_0x128abc,endRow:_0x409f06,startColumn:_0x5d57ad,endColumn:_0x247d6d}=_0x35d6fd,_0x171fa9=new _0x3aab5b[(_0x109ea8(0x25d))](),_0x1a4e15=_0x409f06-_0x128abc,_0x1df2f3=_0x247d6d-_0x5d57ad,_0x5a2a5c={},_0x163933=_0x5b84bb[_0x109ea8(0x272)](_0x241d6f,{'unitId':_0x487c0d,'subUnitId':_0x2039a6});if(!_0x163933)return!0x1;const _0x1257bf=_0x34ff93[_0x109ea8(0x380)],_0x32f7b9=_0x34ff93[_0x109ea8(0x3fd)],_0x512f2b=_0x34ff93[_0x109ea8(0x3fd)],_0x3d9587=_0x57b2c7[_0x109ea8(0x40b)]()[_0x109ea8(0x3e5)](_0x1257bf),_0x3f2d0f=_0x57b2c7[_0x109ea8(0x40b)]()[_0x109ea8(0x3e5)](_0x32f7b9),_0x5ae53b=_0x57b2c7[_0x109ea8(0x40b)]()['setValue'](_0x512f2b),{worksheet:_0xd9346b}=_0x163933;let _0x1a9759=0x0;const _0x46e9af=0x1;_0x3678a7[_0x109ea8(0x3d8)](_0x29acd8=>{const _0x3445d0=_0x109ea8;for(let _0x3891f0=0x0;_0x3891f0<=_0x247d6d-_0x5d57ad;_0x3891f0++)_0x171fa9[_0x3445d0(0x3e5)](_0x1a9759,_0x3891f0,_0xd9346b[_0x3445d0(0x310)](_0x29acd8+_0x35d6fd[_0x3445d0(0x413)]+_0x46e9af,_0x3891f0));_0x1a9759++;});for(let _0x5e62e4=_0x5d57ad;_0x5e62e4<=_0x247d6d;_0x5e62e4++){const _0x3ac64a=_0xd9346b[_0x109ea8(0x310)](_0x128abc,_0x5e62e4);_0x5a2a5c[_0x128abc]||(_0x5a2a5c[_0x128abc]={}),_0x5a2a5c[_0x128abc][_0x5e62e4]={..._0x3ac64a,'s':_0x3d9587};}let _0x7c3661=0x1;const _0x7b9b4={},_0x340ca5={};_0x171fa9['forRow']((_0x2e3841,_0x4e2e01)=>{const _0x2586b3=_0x109ea8;_0x4e2e01[_0x2586b3(0x3d8)](_0x17e0a9=>{const _0x52817b=_0x2586b3,_0x4251a8=_0x171fa9[_0x52817b(0x123)](_0x2e3841,_0x17e0a9);if(_0x5a2a5c[_0x7c3661]||(_0x5a2a5c[_0x7c3661]={}),_0x5a2a5c[_0x7c3661][_0x17e0a9]={..._0x4251a8,'s':_0x7c3661%0x2===0x0?_0x5ae53b:_0x3f2d0f},_0x415680[_0x17e0a9]&&_0x2e3841>=0x0){const _0x312c2d=_0x7c3661%0x2===0x0;let _0x393f09=_0x312c2d?_0x340ca5[_0x17e0a9]:_0x7b9b4[_0x17e0a9];_0x393f09||(_0x393f09=_0x57b2c7[_0x52817b(0x40b)]()[_0x52817b(0x3e5)]({..._0x312c2d?_0x512f2b:_0x32f7b9,'n':{'pattern':_0x415680[_0x17e0a9]}}),_0x312c2d?_0x340ca5[_0x17e0a9]=_0x393f09:_0x7b9b4[_0x17e0a9]=_0x393f09),_0x5a2a5c[_0x7c3661][_0x17e0a9]['s']=_0x393f09;}}),_0x7c3661++;});const _0x1c7db7=new _0x3aab5b[(_0x109ea8(0x25d))](_0x5a2a5c),_0x4a3b5a={};_0x1c7db7['forValue']((_0x569a6b,_0x4b5e93,_0x2a9f5c)=>{_0x4a3b5a[_0x569a6b]||(_0x4a3b5a[_0x569a6b]={}),_0x4a3b5a[_0x569a6b][_0x4b5e93]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x29cb18=[],_0x3d23d6=[],_0x307353=_0x57b2c7[_0x109ea8(0x424)]()[_0x109ea8(0x299)],_0x2fe7a4=_0x3aab5b[_0x109ea8(0x38e)]({'rowCount':Math['max'](_0x3aab5b[_0x109ea8(0x288)],_0x1a4e15+0xa),'columnCount':Math['max'](_0x3aab5b['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x1df2f3+0x5)}),_0x3e4172=_0x3ff42f[_0x109ea8(0x393)](_0x3aab5b[_0x109ea8(0x2a9)]);_0x2fe7a4['id']=_0x3aab5b[_0x109ea8(0x319)](),_0x2fe7a4['name']=_0x57b2c7['generateNewSheetName'](''+_0x3e4172['t'](_0x109ea8(0x34f)));const _0xaf780e={'index':_0x307353,'sheet':_0x2fe7a4,'unitId':_0x195a5b},_0x3ff5aa=_0x5b84bb[_0x109ea8(0x1c0)](_0x3ff42f,_0xaf780e);_0x3d23d6[_0x109ea8(0x337)]({'id':_0x5b84bb[_0x109ea8(0x257)]['id'],'params':_0xaf780e}),_0x29cb18[_0x109ea8(0x337)]({'id':_0x5b84bb[_0x109ea8(0x3f4)]['id'],'params':_0x3ff5aa}),_0x3d23d6[_0x109ea8(0x337)]({'id':_0x5b84bb[_0x109ea8(0x3b8)]['id'],'params':{'unitId':_0x195a5b,'subUnitId':_0x2fe7a4['id'],'cellValue':_0x5a2a5c}}),_0x29cb18['unshift']({'id':_0x5b84bb[_0x109ea8(0x3b8)]['id'],'params':{'unitId':_0x195a5b,'subUnitId':_0x2fe7a4['id'],'cellValue':_0x4a3b5a}});const _0x4c5a42={'startRow':0x0,'startColumn':0x0,'endRow':_0x7c3661-0x1,'endColumn':_0x247d6d};_0x3d23d6[_0x109ea8(0x337)]({'id':_0x4bef69[_0x109ea8(0x32f)]['id'],'params':{'unitId':_0x195a5b,'subUnitId':_0x2fe7a4['id'],'range':_0x4c5a42}}),_0x29cb18['unshift']({'id':_0x4bef69['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x195a5b,'subUnitId':_0x2fe7a4['id']}});const _0x15e7c0=_0x3ff42f[_0x109ea8(0x393)](_0x3aab5b['ICommandService']);return _0x3aab5b[_0x109ea8(0x38f)](_0x3d23d6,_0x15e7c0)&&_0x3ff42f[_0x109ea8(0x393)](_0x3aab5b[_0x109ea8(0x1c9)])[_0x109ea8(0x1b4)]({'unitID':_0x195a5b,'undoMutations':_0x29cb18,'redoMutations':_0x3d23d6}),!0x0;}},_0x586638={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x3b2),async 'handler'(_0x327188,_0xa7dc17){const _0x3c56d1=_0x6daf50;if(!_0xa7dc17)return!0x1;const _0x418e48=_0x327188[_0x3c56d1(0x393)](_0x3aab5b[_0x3c56d1(0x1f4)]),_0x52e002=_0x327188[_0x3c56d1(0x393)](_0x271f43[_0x3c56d1(0x31b)]),_0x3ed4d4=_0x327188[_0x3c56d1(0x393)](_0x3aab5b['IUndoRedoService']),{pivotTableId:_0x2b9791,fieldIds:_0x2f22d7,unitId:_0x4fa97c,subUnitId:_0x393575}=_0xa7dc17,_0x11e33c=(await _0x52e002[_0x3c56d1(0x155)]({'unitId':_0x4fa97c,'subUnitId':_0x393575,'pivotTableId':_0x2b9791,'params':{'type':_0x17706b[_0x3c56d1(0x2f3)],'removePivotField':{'fieldIds':_0x2f22d7}}}))[_0x3c56d1(0x213)]['removePivotField'];if(!_0x11e33c)return!0x1;const {view:_0xffac5d,changesets:_0x367227,isEmpty:_0x29beff,pivotTableConfig:_0x32453c}=_0x11e33c,_0x4244a0=_0x32453c[_0x3c56d1(0x233)],_0x53c1bd=new _0x5ab2d7['PivotView']();_0x53c1bd[_0x3c56d1(0x2ed)](_0xffac5d);const _0x1561ca={'cellInfo':_0x4244a0,'view':_0x53c1bd,'isEmpty':_0x29beff};if(!await _0x327188[_0x3c56d1(0x393)](_0x271f43[_0x3c56d1(0x3de)])[_0x3c56d1(0x152)][_0x3c56d1(0x163)](_0x4f637e)(!0x0,_0x1561ca))return!0x1;const _0x5b34d9=_0x44c00e(_0x327188,_0x53c1bd,_0x4244a0,_0x29beff),_0x44d4d2=_0x10be2a(_0x327188,_0x1561ca),{redos:_0x40946a,undos:_0x3bf09b}=_0x20db0e(_0x418e48,{'pivotTableId':_0x2b9791,'unitId':_0x4fa97c,'subUnitId':_0x393575},_0x367227);return _0x3aab5b['sequenceExecute']([..._0x5b34d9['redos'],..._0x44d4d2[_0x3c56d1(0x1b6)],..._0x40946a],_0x418e48),_0x3ed4d4[_0x3c56d1(0x1b4)]({'unitID':_0x4fa97c,'redoMutations':[..._0x5b34d9[_0x3c56d1(0x1b6)],..._0x44d4d2[_0x3c56d1(0x1b6)],..._0x40946a],'undoMutations':[..._0x5b34d9[_0x3c56d1(0x2dc)],..._0x44d4d2['undos'],..._0x3bf09b]}),!0x0;}},_0x3bc954={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x303),async 'handler'(_0x548f3d,_0x59cbdf){const _0xd84995=_0x6daf50;var _0x566e6f;const _0x4ad1dc=_0x548f3d['get'](_0x3aab5b[_0xd84995(0x1f4)]),_0x11b963=_0x548f3d[_0xd84995(0x393)](_0x271f43['SheetsPivotRPCService']),_0x58d654=_0x548f3d[_0xd84995(0x393)](_0x271f43['SheetsPivotTableAdaptorModel']),_0x259928=_0x548f3d['get'](_0x3aab5b['IUniverInstanceService']),_0x2fb7aa=_0x548f3d['get'](_0x3aab5b[_0xd84995(0x1c9)]);if(!_0x59cbdf)return!0x1;const {unitId:_0x3097c4,subUnitId:_0xd1a09f,row:_0x182106,col:_0xb6003d,collapse:_0x885578}=_0x59cbdf,_0x5d1d79=_0x259928[_0xd84995(0x422)](_0x3097c4);if(!_0x5d1d79||!_0x5d1d79['getSheetBySheetId'](_0xd1a09f))return!0x1;const _0x277b6b=_0x58d654[_0xd84995(0x13b)](_0x3097c4,_0xd1a09f,_0x182106,_0xb6003d);if(!_0x277b6b)return!0x1;const _0x5580ab=_0x58d654[_0xd84995(0x411)](_0x3097c4,_0xd1a09f,_0x277b6b);if(!_0x5580ab)return!0x1;const _0x5e52bf=_0x3aab5b['cellToRange'](_0x182106,_0xb6003d),{rangesInfo:_0x954770,areaInfo:_0x341b17,headerMap:_0x352810}=_0x5580ab;if(!_0x954770||!_0x341b17||!_0x352810)return!0x1;const _0x50b346=Object[_0xd84995(0x30e)](_0x954770)[_0xd84995(0x184)](_0x1d679d=>_0x954770[_0x1d679d]['some'](_0x269dcc=>_0x3aab5b[_0xd84995(0x224)]['contains'](_0x269dcc,_0x5e52bf)));let _0xde51fc;_0x50b346==='rowRanges'?_0xde51fc=_0x352810[_0xd84995(0x277)][_0xb6003d]:_0x50b346===_0xd84995(0x331)&&(_0xde51fc=_0x352810[_0xd84995(0x282)][_0x182106]);const _0x168542=_0xde51fc==null?void 0x0:_0xde51fc[_0xd84995(0x124)],_0x592db8=(_0x566e6f=_0x58d654[_0xd84995(0x3ef)](_0x3097c4,_0xd1a09f,_0x182106,_0xb6003d))==null?void 0x0:_0x566e6f['v'];if(_0x592db8==null||!_0x277b6b||!_0x168542)return!0x1;const _0x475dcb=await _0x11b963['getPivotDisplayConfig']({'unitId':_0x3097c4,'subUnitId':_0xd1a09f,'pivotTableId':_0x277b6b,'params':{'type':_0x17706b[_0xd84995(0x2e8)],'setPivotCollapse':{'tableFieldId':_0x168542,'collapse':_0x885578,'item':_0x592db8}}}),_0x5bfe32=_0x475dcb==null?void 0x0:_0x475dcb[_0xd84995(0x213)][_0xd84995(0x260)];if(!_0x5bfe32)return!0x1;const {view:_0x43d48b,pivotTableConfig:_0x3d8072,isEmpty:_0x313a00,changesets:_0x7b27db}=_0x5bfe32,_0xe904fc=new _0x5ab2d7[(_0xd84995(0x205))]();_0xe904fc['formJSON'](_0x43d48b);const _0x172ef9=_0x3d8072[_0xd84995(0x233)],_0x3d1139={'cellInfo':_0x172ef9,'view':_0xe904fc,'isEmpty':_0x313a00};if(!await _0x548f3d[_0xd84995(0x393)](_0x271f43[_0xd84995(0x3de)])[_0xd84995(0x152)][_0xd84995(0x163)](_0x4f637e)(!0x0,_0x3d1139))return!0x1;const _0x41cbce=_0x44c00e(_0x548f3d,_0xe904fc,_0x172ef9,_0x313a00),_0x1541fa=_0x10be2a(_0x548f3d,_0x3d1139),{redos:_0x15d1a6,undos:_0x1e7feb}=_0x20db0e(_0x4ad1dc,{'pivotTableId':_0x277b6b,'unitId':_0x3097c4,'subUnitId':_0xd1a09f},_0x7b27db);return _0x3aab5b[_0xd84995(0x38f)]([..._0x41cbce[_0xd84995(0x1b6)],..._0x1541fa[_0xd84995(0x1b6)],..._0x15d1a6],_0x4ad1dc),_0x2fb7aa[_0xd84995(0x1b4)]({'unitID':_0x3097c4,'redoMutations':[..._0x41cbce[_0xd84995(0x1b6)],..._0x1541fa[_0xd84995(0x1b6)],..._0x15d1a6],'undoMutations':[..._0x41cbce[_0xd84995(0x2dc)],..._0x1541fa[_0xd84995(0x2dc)],..._0x1e7feb]}),!0x0;}},_0x4add00={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x2e9),async 'handler'(_0x56cb84,_0x1a2dec){const _0x64d59a=_0x6daf50;if(!_0x1a2dec)return!0x1;const _0x342942=_0x56cb84[_0x64d59a(0x393)](_0x3aab5b['ICommandService']),{pivotTableId:_0xfd77b4,tableFieldId:_0x326994,items:_0x138c08,unitId:_0x2764c5,subUnitId:_0x38bd26,isAll:_0x27b9f0}=_0x1a2dec,_0x5e6653=_0x56cb84[_0x64d59a(0x393)](_0x271f43[_0x64d59a(0x31b)]),_0x5089a6=_0x56cb84[_0x64d59a(0x393)](_0x3aab5b['IUndoRedoService']),_0x24b371=(await _0x5e6653[_0x64d59a(0x155)]({'unitId':_0x2764c5,'subUnitId':_0x38bd26,'pivotTableId':_0xfd77b4,'params':{'type':_0x17706b[_0x64d59a(0x2c5)],'setPivotFilter':{'tableFieldId':_0x326994,'items':_0x138c08,'isAll':_0x27b9f0}}}))[_0x64d59a(0x213)]['setPivotFilter'];if(!_0x24b371)return!0x1;const {changesets:_0x1ba3d1,pivotTableConfig:_0x4181d3,isEmpty:_0x2dd1f5,view:_0x2fad1f}=_0x24b371,_0x438753=_0x4181d3[_0x64d59a(0x233)],_0x56175b=new _0x5ab2d7[(_0x64d59a(0x205))]();_0x56175b[_0x64d59a(0x2ed)](_0x2fad1f);const _0x1a630d={'cellInfo':_0x438753,'view':_0x56175b,'isEmpty':_0x2dd1f5};if(!await _0x56cb84[_0x64d59a(0x393)](_0x271f43[_0x64d59a(0x3de)])['asyncInterceptor'][_0x64d59a(0x163)](_0x4f637e)(!0x0,_0x1a630d))return!0x1;const _0x24ae27=_0x44c00e(_0x56cb84,_0x56175b,_0x438753,_0x2dd1f5),_0x303cae=_0x10be2a(_0x56cb84,_0x1a630d),{undos:_0x2e3544,redos:_0x34ee98}=_0x20db0e(_0x342942,{'pivotTableId':_0xfd77b4,'unitId':_0x2764c5,'subUnitId':_0x38bd26},_0x1ba3d1);return _0x3aab5b['sequenceExecute']([..._0x24ae27[_0x64d59a(0x1b6)],..._0x303cae[_0x64d59a(0x1b6)],..._0x34ee98],_0x342942),_0x5089a6['pushUndoRedo']({'unitID':_0x2764c5,'redoMutations':[..._0x24ae27[_0x64d59a(0x1b6)],..._0x303cae[_0x64d59a(0x1b6)],..._0x34ee98],'undoMutations':[..._0x24ae27['undos'],..._0x303cae[_0x64d59a(0x2dc)],..._0x2e3544]}),!0x0;}},_0x417133={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x2b8),async 'handler'(_0x14b682,_0x343a71){const _0x2281ec=_0x6daf50;if(!_0x343a71)return!0x1;const _0x436367=_0x14b682[_0x2281ec(0x393)](_0x3aab5b[_0x2281ec(0x1f4)]),_0x1fc8de=_0x14b682['get'](_0x3aab5b['IUndoRedoService']),_0x563932=_0x14b682[_0x2281ec(0x393)](_0x271f43[_0x2281ec(0x31b)]),{info:_0x1ec59a,tableFieldId:_0x2927b2,pivotTableId:_0x1e3c58,unitId:_0x579fe0,subUnitId:_0x3d61e5}=_0x343a71,_0x245512=(await _0x563932['getPivotDisplayConfig']({'unitId':_0x579fe0,'subUnitId':_0x3d61e5,'pivotTableId':_0x1e3c58,'params':{'type':_0x17706b[_0x2281ec(0x295)],'setPivotSort':{'tableFieldId':_0x2927b2,'info':_0x1ec59a}}}))['result'][_0x2281ec(0x29d)];if(!_0x245512)return!0x1;const {changesets:_0x39469c}=_0x245512,{redos:_0x565bf5,undos:_0x386191}=_0x20db0e(_0x436367,{'pivotTableId':_0x1e3c58,'unitId':_0x579fe0,'subUnitId':_0x3d61e5},_0x39469c);return _0x3aab5b[_0x2281ec(0x38f)](_0x565bf5,_0x436367),_0x1fc8de['pushUndoRedo']({'unitID':_0x579fe0,'redoMutations':_0x565bf5,'undoMutations':_0x386191}),!0x0;}},_0x3df461={'type':_0x3aab5b[_0x6daf50(0x2d3)]['COMMAND'],'id':_0x6daf50(0x33f),async 'handler'(_0x221a6d,_0xce884a){const _0x5bd24c=_0x6daf50;if(!_0xce884a)return!0x1;const _0x12b50a=_0x221a6d[_0x5bd24c(0x393)](_0x3aab5b[_0x5bd24c(0x1f4)]),_0x2ed3f6=_0x221a6d[_0x5bd24c(0x393)](_0x3aab5b[_0x5bd24c(0x1c9)]),_0x6ed4c2=_0x221a6d['get'](_0x271f43[_0x5bd24c(0x31b)]),{displayName:_0x18f27c,subtotalType:_0x26c0dc,format:_0xbd0634,tableFieldId:_0x3b3370,pivotTableId:_0x230d4a,unitId:_0x4aa756,subUnitId:_0x109a3a}=_0xce884a,_0x37b91e=(await _0x6ed4c2[_0x5bd24c(0x155)]({'unitId':_0x4aa756,'subUnitId':_0x109a3a,'pivotTableId':_0x230d4a,'params':{'type':_0x17706b['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3b3370,'displayName':_0x18f27c,'subtotalType':_0x26c0dc,'format':_0xbd0634}}}))[_0x5bd24c(0x213)]['setPivotSetting'];if(!_0x37b91e)return!0x1;const {changesets:_0x5e15ac,view:_0x39e229,pivotTableConfig:_0xe2fc0,isEmpty:_0x1798bb}=_0x37b91e,_0x1ca240=_0xe2fc0[_0x5bd24c(0x233)],_0x4a0a09=new _0x5ab2d7['PivotView']();_0x4a0a09['formJSON'](_0x39e229);const _0x73428a={'cellInfo':_0x1ca240,'view':_0x4a0a09,'isEmpty':_0x1798bb};if(!await _0x221a6d[_0x5bd24c(0x393)](_0x271f43['SheetsPivotTableService'])[_0x5bd24c(0x152)][_0x5bd24c(0x163)](_0x4f637e)(!0x0,_0x73428a))return!0x1;const _0x5c8362=_0x44c00e(_0x221a6d,_0x4a0a09,_0x1ca240,_0x1798bb),_0x2f7a16=_0x10be2a(_0x221a6d,_0x73428a),{undos:_0x4ce3da,redos:_0x3f7a6d}=_0x20db0e(_0x12b50a,{'pivotTableId':_0x230d4a,'unitId':_0x4aa756,'subUnitId':_0x109a3a},_0x5e15ac);return _0x3aab5b['sequenceExecute']([..._0x5c8362['redos'],..._0x2f7a16[_0x5bd24c(0x1b6)],..._0x3f7a6d],_0x12b50a),_0x2ed3f6[_0x5bd24c(0x1b4)]({'unitID':_0x4aa756,'redoMutations':[..._0x5c8362['redos'],..._0x2f7a16[_0x5bd24c(0x1b6)],..._0x3f7a6d],'undoMutations':[..._0x5c8362['undos'],..._0x2f7a16[_0x5bd24c(0x2dc)],..._0x4ce3da]}),!0x0;}},_0x55f03e={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x1a003c,_0x943ab1){const _0x1ab038=_0x6daf50,_0x43971f=_0x1a003c[_0x1ab038(0x393)](_0x3aab5b[_0x1ab038(0x1f4)]),_0x46c5b2=_0x1a003c[_0x1ab038(0x393)](_0x271f43[_0x1ab038(0x31b)]),_0x4ce8b4=_0x1a003c[_0x1ab038(0x393)](_0x3aab5b[_0x1ab038(0x1c9)]);if(!_0x943ab1)return!0x1;const {token:_0x3c3022,dataRangeInfo:_0x4da33e,unitId:_0x213968,subUnitId:_0x1c50aa}=_0x943ab1,_0x20449f=[],_0x5f14d4=[],_0x586e2b=(await _0x46c5b2['getPivotDisplayConfig']({'unitId':_0x213968,'subUnitId':_0x1c50aa,'pivotTableId':_0x3c3022,'params':{'type':_0x17706b[_0x1ab038(0x41c)],'updatePivotSource':{'dataRangeInfo':_0x4da33e,'unitId':_0x213968,'subUnitId':_0x1c50aa}}}))[_0x1ab038(0x213)][_0x1ab038(0x17d)];if(!_0x586e2b)return!0x1;const {changesets:_0x48a1cb,deleteIds:_0x12666d,collectionConfig:_0x35ce06,oldCollectionConfig:_0xfa46ff,view:_0x19354d,isEmpty:_0x4f1bd4,pivotTableConfig:_0x39b8c1}=_0x586e2b;_0x5f14d4[_0x1ab038(0x337)]({'id':_0x49672d['id'],'params':{'pivotTableId':_0x3c3022,'deleteIds':_0x12666d,'collectionJSON':_0x35ce06,'dataRangeInfo':_0x4da33e,'unitId':_0x213968,'subUnitId':_0x1c50aa}}),_0x20449f[_0x1ab038(0x25e)]({'id':_0x49672d['id'],'params':{'pivotTableId':_0x3c3022,'deleteIds':[],'collectionJSON':_0xfa46ff,'dataRangeInfo':_0x39b8c1[_0x1ab038(0x133)],'unitId':_0x213968,'subUnitId':_0x1c50aa}});const _0x25f400=_0x39b8c1[_0x1ab038(0x233)],_0xb1ae84=new _0x5ab2d7['PivotView']();_0xb1ae84[_0x1ab038(0x2ed)](_0x19354d);const _0x1aa66b={'cellInfo':_0x25f400,'view':_0xb1ae84,'isEmpty':_0x4f1bd4};if(!await _0x1a003c[_0x1ab038(0x393)](_0x271f43[_0x1ab038(0x3de)])[_0x1ab038(0x152)]['fetchThroughAsyncInterceptors'](_0x4f637e)(!0x0,_0x1aa66b))return!0x1;const _0x206c6f=_0x44c00e(_0x1a003c,_0xb1ae84,_0x25f400,_0x4f1bd4),_0x460819=_0x10be2a(_0x1a003c,_0x1aa66b),{undos:_0xe54819,redos:_0x274aad}=_0x20db0e(_0x43971f,{'pivotTableId':_0x3c3022,'unitId':_0x213968,'subUnitId':_0x1c50aa},_0x48a1cb);return _0x3aab5b[_0x1ab038(0x38f)]([..._0x206c6f[_0x1ab038(0x1b6)],..._0x460819[_0x1ab038(0x1b6)],..._0x5f14d4,..._0xe54819],_0x43971f),_0x4ce8b4[_0x1ab038(0x1b4)]({'unitID':_0x213968,'redoMutations':[..._0x206c6f[_0x1ab038(0x1b6)],..._0x460819['redos'],..._0x5f14d4,..._0xe54819],'undoMutations':[..._0x206c6f['undos'],..._0x460819[_0x1ab038(0x2dc)],..._0x20449f,..._0x274aad]}),!0x0;}},_0x57f960={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x328610,_0x17da54){const _0x566848=_0x6daf50;if(!_0x17da54)return!0x1;const _0x45e272=_0x328610[_0x566848(0x393)](_0x3aab5b[_0x566848(0x1f4)]),_0x3274cb=_0x328610[_0x566848(0x393)](_0x271f43['SheetsPivotRPCService']),_0x2aab17=_0x328610[_0x566848(0x393)](_0x3aab5b['IUniverInstanceService']),_0x35882a=_0x328610[_0x566848(0x393)](_0x3aab5b[_0x566848(0x1c9)]),{pivotTableId:_0x3470e4,position:_0x43ec45,index:_0x469e11}=_0x17da54,_0x21d5b8=_0x5b84bb[_0x566848(0x272)](_0x2aab17);if(!_0x21d5b8)return!0x1;const {unitId:_0x572d0d,subUnitId:_0x1e9b70}=_0x21d5b8,_0x2b1d53=(await _0x3274cb[_0x566848(0x155)]({'unitId':_0x572d0d,'subUnitId':_0x1e9b70,'pivotTableId':_0x3470e4,'params':{'type':_0x17706b[_0x566848(0x42e)],'updateValuePosition':{'position':_0x43ec45,'index':_0x469e11}}}))[_0x566848(0x213)][_0x566848(0x348)];if(!_0x2b1d53)return!0x1;const {changesets:_0x1fc36e,view:_0x2c027a,isEmpty:_0x1d4c5e,pivotTableConfig:_0x55afd2}=_0x2b1d53,_0x32909b=_0x55afd2['targetCellInfo'],_0x4d30e4=new _0x5ab2d7['PivotView']();_0x4d30e4[_0x566848(0x2ed)](_0x2c027a);const _0x55d751=_0x328610[_0x566848(0x393)](_0x271f43[_0x566848(0x3de)]),_0x46e701={'cellInfo':_0x32909b,'view':_0x4d30e4,'isEmpty':_0x1d4c5e};if(!await _0x55d751[_0x566848(0x152)][_0x566848(0x163)](_0x4f637e)(!0x0,_0x46e701))return!0x1;const _0x3534a=_0x44c00e(_0x328610,_0x4d30e4,_0x32909b,_0x1d4c5e),_0x906c4=_0x10be2a(_0x328610,_0x46e701),{undos:_0x294d91,redos:_0x20d43f}=_0x20db0e(_0x45e272,{'pivotTableId':_0x3470e4,'unitId':_0x572d0d,'subUnitId':_0x1e9b70},_0x1fc36e);return _0x3aab5b[_0x566848(0x38f)]([..._0x3534a[_0x566848(0x1b6)],..._0x906c4['redos'],..._0x20d43f],_0x45e272),_0x35882a[_0x566848(0x1b4)]({'unitID':_0x572d0d,'redoMutations':[..._0x3534a['redos'],..._0x906c4[_0x566848(0x1b6)],..._0x20d43f],'undoMutations':[..._0x3534a[_0x566848(0x2dc)],..._0x906c4[_0x566848(0x2dc)],..._0x294d91]}),!0x0;}},_0x383fc8={'type':_0x3aab5b['CommandType']['COMMAND'],'id':_0x6daf50(0x420),'handler':(_0x2693ae,_0x152394)=>{const _0x446f0b=_0x6daf50,_0x8c7e94=_0x2693ae[_0x446f0b(0x393)](_0x3aab5b[_0x446f0b(0x1f4)]),_0x244acb=_0x2693ae[_0x446f0b(0x393)](_0x3aab5b[_0x446f0b(0x1c9)]),_0x321ff2=_0x2693ae[_0x446f0b(0x393)](_0x271f43['SheetsPivotTableConfigModel']),_0x16e2ce=_0x2693ae['get'](_0x3aab5b['IUniverInstanceService']);if(!_0x152394)return!0x1;const _0x4070db=_0x5b84bb[_0x446f0b(0x272)](_0x16e2ce);if(!_0x4070db)return!0x1;const {unitId:_0x561308,subUnitId:_0x441994,workbook:_0x4256ee}=_0x4070db,_0x3d473e=_0x321ff2['getPivotTableConfig'](_0x152394[_0x446f0b(0x1d7)][_0x446f0b(0x3ba)],_0x152394['originTargetInfo'][_0x446f0b(0x3af)],_0x152394[_0x446f0b(0x34d)]);if(!_0x3d473e)return!0x1;const _0x460668=_0x4256ee['getSheetBySheetId'](_0x152394[_0x446f0b(0x233)]['subUnitId']);if(!_0x460668)throw new Error(_0x446f0b(0x2cf));const _0x2b035e=_0x460668['getRowCount'](),_0x3327c3=_0x460668[_0x446f0b(0x379)]();if(_0x152394[_0x446f0b(0x233)][_0x446f0b(0x177)]>_0x2b035e||_0x152394[_0x446f0b(0x233)][_0x446f0b(0x215)]>_0x3327c3)throw new Error(_0x446f0b(0x1c8));const _0x48b390=[{'id':_0x2ef4c5['id'],'params':{'unitId':_0x561308,'subUnitId':_0x152394['targetCellInfo'][_0x446f0b(0x3af)],'pivotTableId':_0x152394[_0x446f0b(0x34d)],'targetCellPosition':{'row':_0x152394[_0x446f0b(0x233)][_0x446f0b(0x177)],'col':_0x152394[_0x446f0b(0x233)]['col']}}}],_0x49239e=[{'id':_0x2ef4c5['id'],'params':{'unitId':_0x561308,'subUnitId':_0x441994,'pivotTableId':_0x152394[_0x446f0b(0x34d)],'targetCellPosition':{'row':_0x3d473e[_0x446f0b(0x233)]['row'],'col':_0x3d473e[_0x446f0b(0x233)]['col']}}}];return _0x3aab5b[_0x446f0b(0x38f)](_0x48b390,_0x8c7e94)&&_0x244acb[_0x446f0b(0x1b4)]({'unitID':_0x561308,'undoMutations':_0x49239e,'redoMutations':_0x48b390}),!0x0;}},_0x492476={'type':_0x3aab5b['CommandType'][_0x6daf50(0x313)],'id':_0x6daf50(0x2da),async 'handler'(_0x3dca90,_0x3b0689){const _0x3369cd=_0x6daf50;if(!_0x3b0689)return!0x1;const _0x2022e1=_0x3dca90[_0x3369cd(0x393)](_0x3aab5b[_0x3369cd(0x1f4)]),{pivotTableId:_0x100941,fieldId:_0x48f3fa,valueFilterInfo:_0xfade53,unitId:_0xb356dd,subUnitId:_0x3b6ecd}=_0x3b0689,_0x205ecc=_0x3dca90['get'](_0x271f43['SheetsPivotRPCService']),_0x12b9f6=_0x3dca90[_0x3369cd(0x393)](_0x3aab5b[_0x3369cd(0x1c9)]),_0x41a8d8=(await _0x205ecc[_0x3369cd(0x155)]({'unitId':_0xb356dd,'subUnitId':_0x3b6ecd,'pivotTableId':_0x100941,'params':{'type':_0x17706b[_0x3369cd(0x339)],'setValuePivotFilter':{'tableFieldId':_0x48f3fa,'filterInfo':_0xfade53}}}))[_0x3369cd(0x213)][_0x3369cd(0x349)];if(!_0x41a8d8)return!0x1;const {changesets:_0x2aecb5,pivotTableConfig:_0x486e3f,isEmpty:_0x16c65d,view:_0x4d9e71}=_0x41a8d8,_0x1cca9f=_0x486e3f[_0x3369cd(0x233)],_0xfe4b56=new _0x5ab2d7['PivotView']();_0xfe4b56['formJSON'](_0x4d9e71);const _0x493290={'cellInfo':_0x1cca9f,'view':_0xfe4b56,'isEmpty':_0x16c65d};if(!await _0x3dca90[_0x3369cd(0x393)](_0x271f43[_0x3369cd(0x3de)])[_0x3369cd(0x152)][_0x3369cd(0x163)](_0x4f637e)(!0x0,_0x493290))return!0x1;const _0x3c07de=_0x44c00e(_0x3dca90,_0xfe4b56,_0x1cca9f,_0x16c65d),_0x2a15a8=_0x10be2a(_0x3dca90,_0x493290),{undos:_0x927562,redos:_0x39a655}=_0x20db0e(_0x2022e1,{'pivotTableId':_0x100941,'unitId':_0xb356dd,'subUnitId':_0x3b6ecd},_0x2aecb5);return _0x3aab5b[_0x3369cd(0x38f)]([..._0x3c07de[_0x3369cd(0x1b6)],..._0x2a15a8[_0x3369cd(0x1b6)],..._0x39a655],_0x2022e1),_0x12b9f6[_0x3369cd(0x1b4)]({'unitID':_0xb356dd,'redoMutations':[..._0x3c07de[_0x3369cd(0x1b6)],..._0x2a15a8[_0x3369cd(0x1b6)],..._0x39a655],'undoMutations':[..._0x3c07de[_0x3369cd(0x2dc)],..._0x2a15a8[_0x3369cd(0x2dc)],..._0x927562]}),!0x0;}},_0x5d22d2={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':_0x6daf50(0x22e),async 'handler'(_0x3465cc,_0x1cf633){const _0xe5ccb7=_0x6daf50;if(!_0x1cf633)return!0x1;const _0xcca9fe=_0x3465cc[_0xe5ccb7(0x393)](_0x3aab5b['ICommandService']),_0x16d63e=_0x3465cc[_0xe5ccb7(0x393)](_0x3aab5b[_0xe5ccb7(0x1c9)]),_0x2fb30a=_0x3465cc[_0xe5ccb7(0x393)](_0x271f43[_0xe5ccb7(0x31b)]),{pivotTableConfig:_0x34c341,pivotTableId:_0x53e29b,unitId:_0x21f75d,subUnitId:_0x233f83}=_0x1cf633,_0x3f0b97=(await _0x2fb30a[_0xe5ccb7(0x155)]({'unitId':_0x21f75d,'subUnitId':_0x233f83,'pivotTableId':_0x53e29b,'params':{'type':_0x17706b['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x53e29b,'pivotTableConfig':_0x34c341}}}))[_0xe5ccb7(0x213)][_0xe5ccb7(0x369)];if(!_0x3f0b97)return!0x1;const {changesets:_0x11d708}=_0x3f0b97,{redos:_0x4766ef,undos:_0x360025}=_0x20db0e(_0xcca9fe,{'pivotTableId':_0x53e29b,'unitId':_0x21f75d,'subUnitId':_0x233f83},_0x11d708);return _0x3aab5b['sequenceExecute'](_0x4766ef,_0xcca9fe),_0x16d63e[_0xe5ccb7(0x1b4)]({'unitID':_0x21f75d,'redoMutations':_0x4766ef,'undoMutations':_0x360025}),!0x0;}},_0x198890={'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x47aea8,_0x3b67a4){const _0x304485=_0x6daf50;if(!_0x3b67a4)return!0x1;const _0x3e9f09=_0x47aea8[_0x304485(0x393)](_0x3aab5b[_0x304485(0x1f4)]),_0x420d3e=_0x47aea8[_0x304485(0x393)](_0x3aab5b['IUndoRedoService']),_0x39fc72=_0x47aea8[_0x304485(0x393)](_0x271f43[_0x304485(0x31b)]),{resetArea:_0x3fac20,pivotTableId:_0x55b29a,unitId:_0x293fea,subUnitId:_0xc65679}=_0x3b67a4,_0x4e34ce=(await _0x39fc72[_0x304485(0x155)]({'unitId':_0x293fea,'subUnitId':_0xc65679,'pivotTableId':_0x55b29a,'params':{'type':_0x17706b['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x55b29a,'resetArea':_0x3fac20}}}))[_0x304485(0x213)]['resetPivotTable'];if(!_0x4e34ce)return!0x1;const {changesets:_0x46afc0}=_0x4e34ce,{redos:_0x143380,undos:_0x29cc64}=_0x20db0e(_0x3e9f09,{'pivotTableId':_0x55b29a,'unitId':_0x293fea,'subUnitId':_0xc65679},_0x46afc0);return _0x3aab5b['sequenceExecute'](_0x143380,_0x3e9f09),_0x420d3e[_0x304485(0x1b4)]({'unitID':_0x293fea,'redoMutations':_0x143380,'undoMutations':_0x29cc64}),!0x0;}},_0x3b255d={'id':'sheet.mutation.update-date-group','type':_0x3aab5b[_0x6daf50(0x2d3)]['MUTATION'],'handler':(_0x5f2398,_0x28d45e)=>{const _0x5078bc=_0x6daf50;if(!_0x28d45e)return!0x1;if(!!_0x5f2398[_0x5078bc(0x393)](_0x3aab5b['IConfigService'])[_0x5078bc(0x3d0)](_0x332892))return!0x0;const {unitId:_0x2001bd,subUnitId:_0x469103,pivotTableId:_0x208f1f,tableFieldId:_0x1789d7,dateType:_0x154fe7}=_0x28d45e,_0x5573a2=_0x5f2398[_0x5078bc(0x393)](_0x271f43[_0x5078bc(0x383)]),_0x19fd0f=_0x5573a2['getPivotTableInstance'](_0x208f1f);if(!_0x19fd0f)return!0x1;const _0x5c9750=_0x19fd0f[_0x5078bc(0x143)](_0x1789d7);if(!_0x5c9750)return!0x1;const _0x4bd3a5=_0x5c9750[_0x5078bc(0x13a)](),_0x277a96=_0x19fd0f[_0x5078bc(0x3ab)](_0x4bd3a5),_0x3b1d29=(_0x277a96==null?void 0x0:_0x277a96['getName']())+'\x20'+_0x59a81c(_0x5f2398,_0x154fe7);_0x5573a2[_0x5078bc(0x34e)](_0x2001bd,_0x208f1f)[_0x5078bc(0x1a8)](_0x5c9750['id'],_0x3b1d29);const _0x1120bd=_0x19fd0f['getTableFieldById'](_0x1789d7);if(!_0x1120bd)return!0x1;_0x19fd0f['renameField'](_0x1120bd['getId'](),_0x3b1d29),_0x5c9750[_0x5078bc(0x1de)](_0x154fe7);const _0x3fdf07=_0x5573a2[_0x5078bc(0x3bd)](_0x2001bd,_0x469103,_0x208f1f);return _0x5573a2[_0x5078bc(0x3f3)]({'unitId':_0x2001bd,'subUnitId':_0x469103,'token':_0x208f1f,'type':_0x1ab225[_0x5078bc(0x149)],'pivotConfig':_0x3fdf07}),!0x0;}},_0x5904e9={'id':_0x6daf50(0x168),'type':_0x3aab5b[_0x6daf50(0x2d3)][_0x6daf50(0x313)],'handler':(_0x284261,_0x534bf2)=>{const _0x22d296=_0x6daf50;if(!_0x534bf2)return!0x1;const _0x38e8f5=_0x284261[_0x22d296(0x393)](_0x3aab5b['IUndoRedoService']),{unitId:_0xbe26e3,subUnitId:_0x51fa65,pivotTableId:_0x24db6b,tableFieldId:_0x36bf6e}=_0x534bf2,_0x14f3c0=[],_0x3b620a=[],_0x43316b=_0x284261[_0x22d296(0x393)](_0x271f43[_0x22d296(0x42c)]),_0x5ef586=_0x43316b[_0x22d296(0x34e)](_0xbe26e3,_0x24db6b),_0x54c157=_0x43316b[_0x22d296(0x3bd)](_0xbe26e3,_0x51fa65,_0x24db6b);if(!(_0x54c157!=null&&_0x54c157[_0x22d296(0x2ca)][_0x22d296(0x165)]))return!0x1;const _0x55a51f=Object[_0x22d296(0x1db)](_0x54c157[_0x22d296(0x2ca)][_0x22d296(0x165)])[_0x22d296(0x184)](_0x3ace65=>_0x3ace65['id']===_0x36bf6e);if(!_0x55a51f)return!0x1;const _0x25200d=_0x55a51f['dataFieldId'];if(!(_0x5ef586!=null&&_0x5ef586[_0x22d296(0x1e5)]))return!0x1;const _0x366d4b=Object[_0x22d296(0x1db)](_0x5ef586==null?void 0x0:_0x5ef586['fields'])[_0x22d296(0x184)](_0x146bd7=>_0x146bd7['id']===_0x25200d);if(!_0x366d4b)return!0x1;_0x5ab2d7[_0x22d296(0x1d0)](_0x366d4b)&&_0x14f3c0[_0x22d296(0x337)]({'id':_0x3b255d['id'],'params':{..._0x534bf2,'dateType':_0x366d4b['dateType']}}),_0x3b620a[_0x22d296(0x337)]({'id':_0x3b255d['id'],'params':{..._0x534bf2}});const _0x1510fc=_0x284261[_0x22d296(0x393)](_0x3aab5b[_0x22d296(0x1f4)]);return _0x3aab5b[_0x22d296(0x38f)](_0x3b620a,_0x1510fc)&&_0x38e8f5[_0x22d296(0x1b4)]({'unitID':_0xbe26e3,'undoMutations':_0x14f3c0,'redoMutations':_0x3b620a}),!0x0;}};var _0x137135=Object[_0x6daf50(0x182)],_0x5d6a36=(_0x472530,_0x20569e,_0x9ab0f1,_0x2a99de)=>{const _0x379cc5=_0x6daf50;for(var _0x255a95=_0x2a99de>0x1?void 0x0:_0x2a99de?_0x137135(_0x20569e,_0x9ab0f1):_0x20569e,_0x374f93=_0x472530[_0x379cc5(0x299)]-0x1,_0x4cac0d;_0x374f93>=0x0;_0x374f93--)(_0x4cac0d=_0x472530[_0x374f93])&&(_0x255a95=_0x4cac0d(_0x255a95)||_0x255a95);return _0x255a95;},_0x258c3e=(_0x52a1ec,_0x18ea29)=>(_0x463d9d,_0x4a776e)=>_0x18ea29(_0x463d9d,_0x4a776e,_0x52a1ec);const _0x2dfd6c=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x1e351e=(_0x1d3f53,_0x1b3479,_0x8e6496)=>{const _0x55c6a7=_0x6daf50,_0x5aa026=_0x1d3f53['dataFieldsCollection'];_0x1d3f53[_0x55c6a7(0x391)](_0x19a35d=>{const _0x48a076=_0x55c6a7,_0x5641f0=_0x19a35d['getId'](),_0x29ddb6=_0x19a35d['getDataFieldId'](),_0x5a1fbf=_0x19a35d[_0x48a076(0x1fd)](),_0x53e90b=_0x19a35d['getDisplayName']();_0x1b3479[_0x29ddb6]&&_0x1b3479[_0x29ddb6]===_0x53e90b&&_0x5a1fbf===_0x53e90b&&(_0x1d3f53['renameField'](_0x5641f0,_0x5aa026[_0x48a076(0x33d)](_0x29ddb6)),_0x19a35d[_0x48a076(0x3d4)](_0x5aa026['getDisplayName'](_0x29ddb6)));}),_0x1d3f53['iterateFieldByArea'](_0x5ab2d7[_0x55c6a7(0x358)]['Value'],_0x39a1e5=>{const _0x41b085=_0x55c6a7,_0x2371be=_0x39a1e5[_0x41b085(0x1cb)](),_0x31225a=_0x39a1e5[_0x41b085(0x261)](),_0x4f3abf=_0x39a1e5[_0x41b085(0x1fd)](),_0x480ba9=_0x39a1e5['getDisplayName'](),_0x5cd62d=_0x39a1e5[_0x41b085(0x19b)](),_0x245d76=_0x8e6496(_0x4f3abf,_0x5cd62d);_0x1b3479[_0x31225a]&&_0x1b3479[_0x31225a]===_0x4f3abf&&_0x245d76===_0x480ba9&&(_0x1d3f53[_0x41b085(0x364)](_0x2371be,_0x8e6496(_0x5aa026[_0x41b085(0x33d)](_0x31225a),_0x5cd62d)),_0x39a1e5[_0x41b085(0x3d4)](_0x5aa026[_0x41b085(0x33d)](_0x31225a)));});},_0x16df2e=(_0x1a5329,_0x5d23b4,_0x5c9acf)=>{const _0x2a9c17=_0x6daf50;var _0xbef4bd,_0x101177;const {arrayFormulaCellData:_0x6c086,unitData:_0x15e1da}=_0x5d23b4,{unitId:_0x10fa75,subUnitId:_0x366917}=_0x5c9acf,_0x439adc=_0x5c9acf[_0x2a9c17(0x235)],{startColumn:_0x14e84e,endColumn:_0x3eab5a}=_0x439adc,_0x4b5541=(_0xbef4bd=_0x6c086==null?void 0x0:_0x6c086[_0x10fa75])==null?void 0x0:_0xbef4bd[_0x366917],_0x380c3d=(_0x101177=_0x15e1da==null?void 0x0:_0x15e1da[_0x10fa75])==null?void 0x0:_0x101177[_0x366917],_0x4fc338=new Set(),_0x48d982=_0x3eab5a-_0x14e84e+0x1,{dirtyRanges:_0x25c8ed}=_0x1a5329;if(_0x25c8ed)for(const {range:_0xdc8169,sheetId:_0x494990,unitId:_0x5b6146}of _0x25c8ed){if(_0x494990!==_0x366917||_0x10fa75!==_0x5b6146)continue;const _0x5946be=_0x3aab5b['Rectangle']['getIntersects'](_0xdc8169,_0x439adc);if(_0x5946be){const {startColumn:_0x448e86,endColumn:_0x24f4cf}=_0x5946be;for(let _0x521d89=_0x448e86;_0x521d89<=_0x24f4cf;_0x521d89++)_0x4fc338[_0x2a9c17(0x34a)](_0x521d89);}}if(_0x4fc338[_0x2a9c17(0x423)]===_0x48d982||_0x4fc338['size']===_0x48d982)return Array['from'](_0x4fc338);if(_0x380c3d){const _0x92706f=_0x380c3d['getMatrix'](),_0x3ec0f9=Object[_0x2a9c17(0x30e)](_0x92706f);for(const _0x16abe5 of _0x3ec0f9){const _0x1a57ad=Number(_0x16abe5),_0x53a392=_0x92706f[_0x1a57ad];if(_0x4fc338[_0x2a9c17(0x423)]===_0x48d982)break;for(const _0x5be054 in _0x53a392){const _0xd1fd77=Number(_0x5be054);_0xd1fd77<_0x14e84e||_0xd1fd77>_0x3eab5a||_0x4fc338[_0x2a9c17(0x34a)](_0xd1fd77);}}}if(_0x4b5541){const _0x1e1215=_0x4b5541[_0x2a9c17(0x122)](),_0x20a4c3=Object['keys'](_0x1e1215);for(const _0x3d4ed4 of _0x20a4c3){const _0x246348=Number(_0x3d4ed4),_0x4dc162=_0x1e1215[_0x246348];if(_0x4fc338[_0x2a9c17(0x423)]===_0x48d982)break;for(const _0x5414fc in _0x4dc162){const _0x3d5288=Number(_0x5414fc);_0x3d5288<_0x14e84e||_0x3d5288>_0x3eab5a||_0x4fc338[_0x2a9c17(0x34a)](_0x3d5288);}}}return Array['from'](_0x4fc338);},_0x9fd165=_0x1dfc76=>{const _0x2e0910=_0x6daf50,_0x4a7859=new Set(),_0x4bdd14=[];for(const _0x53f766 of _0x1dfc76){const _0x9e4c47=_0x53f766[_0x2e0910(0x413)]+','+_0x53f766[_0x2e0910(0x132)]+','+_0x53f766[_0x2e0910(0x352)]+','+_0x53f766[_0x2e0910(0x3e9)];_0x4a7859[_0x2e0910(0x271)](_0x9e4c47)||(_0x4a7859['add'](_0x9e4c47),_0x4bdd14[_0x2e0910(0x337)](_0x53f766));}return _0x4bdd14;};let _0x1ac75c=class extends _0x3aab5b['Disposable']{constructor(_0x1e92a6,_0x25fa66,_0x4a4a5b,_0x5e6dfc,_0xe89c83,_0x4c3f40){const _0x5406e6=_0x6daf50;super(),_0x3f9e42(this,_0x5406e6(0x136),new _0x2b128f[(_0x5406e6(0x20d))](!0x0)),_0x3f9e42(this,_0x5406e6(0x3c5),_0x562fae=>{const _0x51ad9e=_0x5406e6;this[_0x51ad9e(0x136)]['next'](!0x1);}),_0x3f9e42(this,'_globalComputedEndHelpFunc',_0x3fb995=>{const _0x2b7f0c=_0x5406e6;this[_0x2b7f0c(0x136)][_0x2b7f0c(0x3b3)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x1e92a6,this['_configService']=_0x25fa66,this['_featureCalculationManagerService']=_0x4a4a5b,this['_commandService']=_0x5e6dfc,this[_0x5406e6(0x15c)]=_0xe89c83,this[_0x5406e6(0x408)]=_0x4c3f40,this[_0x5406e6(0x166)](),this['_initPivotDataGetListener']());}[_0x6daf50(0x166)](){const _0x3857b8=_0x6daf50;this[_0x3857b8(0x1d5)](),this['_subjectViewChange'](),this[_0x3857b8(0x3b9)](),this['_subjectFieldsCollectionChange']();}[_0x6daf50(0x3cf)](){const _0x1faa10=_0x6daf50;this[_0x1faa10(0x15c)][_0x1faa10(0x275)](this[_0x1faa10(0x136)]),_0x5ab2d7[_0x1faa10(0x36e)]['registerCallbackWithEvent'](_0x5ab2d7[_0x1faa10(0x268)][_0x1faa10(0x32e)],this[_0x1faa10(0x3c5)]),_0x5ab2d7[_0x1faa10(0x36e)]['registerCallbackWithEvent'](_0x5ab2d7['PivotCallbackEnum']['onQueryEnd'],this[_0x1faa10(0x3ae)]);}[_0x6daf50(0x3e8)](){const _0x261581=_0x6daf50;this[_0x261581(0x137)](this['_commandService']['onCommandExecuted'](_0x5e1b69=>{const _0x48b496=_0x261581;_0x5e1b69['id']===_0x5b84bb[_0x48b496(0x3ca)]['id']&&this['_sheetsPivotDataSourceModel'][_0x48b496(0x3bf)](_0x5e1b69[_0x48b496(0x26b)]);})),this[_0x261581(0x137)](this[_0x261581(0x392)][_0x261581(0x3a3)](_0x3acdd1=>{const _0x543850=_0x261581;if(_0x3acdd1['id']!==_0x549956['id'])return;const _0x597fc7=_0x3acdd1[_0x543850(0x26b)],{unitId:_0x2f599d,subUnitId:_0x2e6e58,pivotTableId:_0x3c6991}=_0x597fc7,_0x124132=_0x597fc7[_0x543850(0x26b)][_0x543850(0x15a)],_0x2b60f7={};switch(_0x124132){case _0x17706b['Filter']:{const _0x38eb0a=_0x597fc7[_0x543850(0x26b)][_0x543850(0x12e)];if(!_0x38eb0a)return;const {row:_0x5ef3a7,col:_0x570303,cellData:_0x1cf0ae,pivotItemRenderInfoCache:_0x174d3f,tableFieldId:_0x29f8c7}=_0x38eb0a,_0x49b795=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x597fc7[_0x543850(0x34d)]);if(!_0x49b795||!_0x174d3f)return;if(_0x29f8c7){const _0x2867ca=_0x49b795['getDataFieldByTableId'](_0x29f8c7);if(!_0x2867ca)return;_0x2b60f7[_0x543850(0x12e)]={..._0x49b795['getDataFieldItemInfo'](_0x2867ca),'tableFieldId':_0x29f8c7,'pivotTableId':_0x597fc7[_0x543850(0x34d)],'filterInfo':_0x49b795['getFilterInfo'](_0x29f8c7),'sortInfo':_0x49b795['getSortInfo'](_0x29f8c7),'format':_0x49b795['getFieldFormat'](_0x29f8c7)};}else{const _0x3cdba9=_0x37a114(_0x5ef3a7,_0x570303,_0x1cf0ae,_0x49b795,_0x174d3f),_0x5a0602=_0x3cdba9==null?void 0x0:_0x3cdba9[_0x543850(0x1d3)];if(!_0x5a0602)return;const _0x263231=_0x49b795[_0x543850(0x143)](_0x5a0602);if(!_0x263231)return;_0x2b60f7[_0x543850(0x12e)]={..._0x49b795[_0x543850(0x1c5)](_0x263231),'tableFieldId':_0x5a0602,'pivotTableId':_0x597fc7[_0x543850(0x34d)],'filterInfo':_0x49b795[_0x543850(0x38c)](_0x5a0602),'sortInfo':_0x49b795[_0x543850(0x36d)](_0x5a0602),'format':_0x49b795[_0x543850(0x3bb)](_0x5a0602)};}}break;case _0x17706b[_0x543850(0x20c)]:{const _0x69a05=_0x597fc7[_0x543850(0x26b)][_0x543850(0x1e8)];if(!_0x69a05)return;const {pivotTableId:_0x3e71d5}=_0x69a05,_0x25fd99=this['_sheetsPivotDataSourceModel'][_0x543850(0x3f8)](_0x3e71d5);if(!_0x25fd99)return;const _0x2b0ce6=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3e71d5),_0x22e2c9=_0x3bc063(_0x25fd99,_0x3e71d5,_0x2b0ce6);_0x2b60f7[_0x543850(0x1e8)]=_0x22e2c9;}break;case _0x17706b['AddPivotField']:{const _0x5e52ef=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991),_0x34593c=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x2f599d),_0x4c07d9=_0x34593c[_0x543850(0x34e)](_0x3c6991);let _0x461037=null;const _0x15b0fc=this[_0x543850(0x35a)][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991),_0x3f8921=_0x597fc7['params'][_0x543850(0x429)];if(!_0x5e52ef||!_0x15b0fc||!_0x3f8921)return!0x1;const {dataFieldId:_0x16050e,fieldArea:_0x46a080,index:_0x286228}=_0x3f8921;_0x5e52ef[_0x543850(0x293)]();const _0x1d51d6=_0x5e52ef[_0x543850(0x187)](_0x16050e,_0x46a080,_0x286228);if(_0x1d51d6&&_0x46a080===_0x5ab2d7[_0x543850(0x358)][_0x543850(0x338)]){const _0x7d17a9=_0x1d51d6[_0x543850(0x1cb)](),_0x2ab326=_0x5e52ef[_0x543850(0x143)](_0x7d17a9);if(_0x2ab326){const _0x465779=_0x2ab326==null?void 0x0:_0x2ab326[_0x543850(0x2f5)]();_0x5e52ef[_0x543850(0x1f7)](_0x1d51d6[_0x543850(0x1cb)](),_0x465779===_0x5ab2d7[_0x543850(0x308)]['number']?_0x5ab2d7[_0x543850(0x14d)][_0x543850(0x31f)]:_0x5ab2d7[_0x543850(0x14d)][_0x543850(0x3f2)]);}const _0x10713e=_0x5e52ef[_0x543850(0x15e)](),_0x523eb7=_0x5e52ef[_0x543850(0x17b)](),_0x1adb8d=_0x5e52ef[_0x543850(0x157)](_0x5ab2d7[_0x543850(0x358)][_0x543850(0x338)]);if(_0x10713e===-0x1&&_0x1adb8d>0x1){const _0x468d45=_0x523eb7===_0x5ab2d7['PivotTableValuePositionEnum'][_0x543850(0x375)]?_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x1f1)]:_0x523eb7,_0x3d1eff=_0x468d45===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x2f7)]?_0x5ab2d7[_0x543850(0x358)][_0x543850(0x2f7)]:_0x5ab2d7[_0x543850(0x358)][_0x543850(0x1f1)];_0x5e52ef['updateValuePosition'](_0x468d45,_0x5e52ef['getFieldCountByArea'](_0x3d1eff));}}else{if(_0x1d51d6&&(_0x46a080===_0x5ab2d7['PivotTableFiledAreaEnum'][_0x543850(0x2f7)]||_0x46a080===_0x5ab2d7['PivotTableFiledAreaEnum'][_0x543850(0x1f1)])){const _0x17ea37=_0x1d51d6[_0x543850(0x1cb)](),_0x1ff40b=_0x5e52ef[_0x543850(0x143)](_0x17ea37);if(_0x1ff40b&&(_0x1ff40b==null?void 0x0:_0x1ff40b[_0x543850(0x2f5)]())===_0x5ab2d7[_0x543850(0x308)][_0x543850(0x22b)]){const _0x58e1a2=_0x1ff40b[_0x543850(0x3ed)]();if(_0x58e1a2&&_0x5e52ef['setFieldFormat'](_0x1d51d6[_0x543850(0x1cb)](),_0x58e1a2),!_0x4c07d9[_0x543850(0x221)]()['some'](_0x36e9b4=>{const _0xbcf4a1=_0x543850,_0x1683ef=_0x4c07d9[_0xbcf4a1(0x1dd)](_0x36e9b4);return _0x5ab2d7[_0xbcf4a1(0x3dd)](_0x1683ef)?_0x1683ef[_0xbcf4a1(0x1c6)]()[_0xbcf4a1(0x164)]===_0x16050e:!0x1;})){const _0x112f90=_0x34593c[_0x543850(0x14c)](),_0x10467a=_0x2752ed(_0x1ff40b[_0x543850(0x43c)],_0x1ff40b[_0x543850(0x195)]),_0x7cc8b7=_0x1ff40b[_0x543850(0x31d)]()+_0x543850(0x40d)+_0x59a81c(this[_0x543850(0x408)],_0x10467a),_0x1962d2=new _0x5ab2d7['DateGroupField'](_0x112f90,_0x7cc8b7,_0x5ab2d7[_0x543850(0x329)](0x3),_0x1ff40b[_0x543850(0x1cb)](),_0x10467a);_0x34593c[_0x543850(0x1cd)](_0x1962d2),_0x4c07d9[_0x543850(0x1e2)](_0x112f90,_0x7cc8b7),_0x5e52ef[_0x543850(0x187)](_0x112f90,_0x46a080,(_0x286228!=null?_0x286228:0x0)+0x1),_0x461037=_0x1962d2;}}}}const _0xa97b3f=_0x5e52ef[_0x543850(0x37d)](),_0x2e15bc=_0x5e52ef[_0x543850(0x150)]()[_0x543850(0x24a)]();let _0x4e3403;if(_0x461037){_0x4e3403=_0x461037[_0x543850(0x24a)]();const _0x610ddb=_0x461037[_0x543850(0x1cb)]();_0x4c07d9[_0x543850(0x1f3)](_0x610ddb);let _0x5d94e0=!0x0;for(const _0x57c83c in _0x34593c[_0x543850(0x1e7)])if(_0x34593c[_0x543850(0x1e7)][_0x57c83c][_0x543850(0x221)]()[_0x543850(0x1cc)](_0x610ddb)){_0x5d94e0=!0x1;break;}_0x5d94e0&&_0x34593c['deleteDataField'](_0x610ddb);}const _0x5e4b00=_0x5e52ef[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x429)]={'view':_0x2e15bc,'changesets':_0x5e4b00,'isEmpty':_0xa97b3f,'pivotTableConfig':_0x15b0fc,'shouldBeAddedGroupJSON':_0x4e3403};}break;case _0x17706b[_0x543850(0x2f0)]:{const _0x25abf0=_0x597fc7['params']['addPivotTable'];if(!_0x25abf0)return;const _0x2802bb=_0x25abf0[_0x543850(0x133)],_0x5c7dd7=_0x25abf0[_0x543850(0x34d)],{collection:_0x4064ab}=this[_0x543850(0x35a)][_0x543850(0x29a)]({'unitId':_0x2802bb[_0x543850(0x3ba)],'sheetName':_0x2802bb[_0x543850(0x35c)],'subUnitId':_0x2802bb[_0x543850(0x3af)],'range':_0x2802bb[_0x543850(0x235)]}),_0x4ea777=new _0x5ab2d7[(_0x543850(0x36e))](_0x4064ab,void 0x0,_0x5c7dd7),_0x45f2fa=_0x4ea777[_0x543850(0x150)](),_0x44f8a1=_0x4ea777[_0x543850(0x24a)](),_0x3436bb=_0x4064ab[_0x543850(0x24a)]();_0x2b60f7['addPivotTable']={'view':_0x45f2fa,'fieldsConfig':_0x44f8a1,'collectionConfig':_0x3436bb,'isEmpty':_0x4ea777[_0x543850(0x37d)]()};}break;case _0x17706b[_0x543850(0x17f)]:{const _0x411633=_0x597fc7[_0x543850(0x26b)][_0x543850(0x13f)];if(!_0x411633)return;const {fieldId:_0x48e7f2,area:_0x54fab3,index:_0xe9189}=_0x411633,_0x49bace=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x49bace)return;const _0x5f4611=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991);if(!_0x5f4611)return;_0x5f4611[_0x543850(0x293)]();const {area:_0x3573f7,index:_0xf4fa3e}=_0x5f4611[_0x543850(0x22f)](_0x48e7f2);if(_0x5f4611['updateFieldPosition'](_0x48e7f2,_0x54fab3,_0xe9189),_0x54fab3===_0x5ab2d7[_0x543850(0x358)][_0x543850(0x338)]&&_0x5f4611[_0x543850(0x414)](_0x48e7f2)[_0x543850(0x19b)]()===void 0x0){const _0x1646b1=_0x5f4611[_0x543850(0x414)](_0x48e7f2);if(_0x1646b1&&_0x1646b1['getSubtotal']()===void 0x0){const _0xcccd6b=_0x5f4611[_0x543850(0x143)](_0x48e7f2);if(_0xcccd6b){const _0x557b78=_0xcccd6b==null?void 0x0:_0xcccd6b[_0x543850(0x2f5)]();_0x5f4611[_0x543850(0x1f7)](_0x48e7f2,_0x557b78===_0x5ab2d7['PivotDataFieldDataTypeEnum']['number']?_0x5ab2d7[_0x543850(0x14d)][_0x543850(0x31f)]:_0x5ab2d7[_0x543850(0x14d)][_0x543850(0x3f2)]);}}}const _0x2e3110=_0x5f4611[_0x543850(0x17b)](),_0x33f9b1=_0x5f4611[_0x543850(0x15e)](),_0x225a11=_0x5f4611[_0x543850(0x157)](_0x5ab2d7[_0x543850(0x358)]['Value'])>0x1;if(_0x225a11&&_0x3573f7===_0x54fab3&&(_0x54fab3===_0x5ab2d7[_0x543850(0x358)][_0x543850(0x2f7)]&&_0x2e3110===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x2f7)]||_0x54fab3===_0x5ab2d7[_0x543850(0x358)]['Column']&&_0x2e3110===_0x5ab2d7['PivotTableValuePositionEnum'][_0x543850(0x1f1)])){let _0x1145ac=_0x33f9b1;_0xf4fa3e<=_0x33f9b1&&_0x1145ac--,_0xe9189<=_0x33f9b1&&_0x1145ac++,_0x5f4611[_0x543850(0x348)](_0x2e3110,_0x1145ac);}else _0x225a11&&(_0x3573f7===_0x5ab2d7['PivotTableFiledAreaEnum'][_0x543850(0x2f7)]&&_0x2e3110===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x2f7)]||_0x3573f7===_0x5ab2d7[_0x543850(0x358)][_0x543850(0x1f1)]&&_0x2e3110===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x1f1)])&&_0x33f9b1>=_0xf4fa3e&&_0x5f4611[_0x543850(0x348)](_0x2e3110,_0x33f9b1-0x1),_0x225a11&&(_0x54fab3===_0x5ab2d7[_0x543850(0x358)][_0x543850(0x2f7)]&&_0x2e3110===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x2f7)]||_0x54fab3===_0x5ab2d7[_0x543850(0x358)]['Column']&&_0x2e3110===_0x5ab2d7[_0x543850(0x12f)][_0x543850(0x1f1)])&&_0x33f9b1>=_0xe9189&&_0x5f4611[_0x543850(0x348)](_0x2e3110,_0x33f9b1+0x1);const _0x2a86bf=_0x5f4611['query'](),_0x1a0e2e=_0x5f4611['isEmpty'](),_0x465543=_0x5f4611[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x13f)]={'view':_0x2a86bf[_0x543850(0x24a)](),'changesets':_0x465543,'isEmpty':_0x1a0e2e,'pivotTableConfig':_0x49bace};}break;case _0x17706b['RemovePivotField']:{const _0x57063b=_0x597fc7[_0x543850(0x26b)][_0x543850(0x1ce)];if(!_0x57063b)return;const _0x3ce1ba=_0x57063b[_0x543850(0x401)],_0x449c09=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x449c09)return!0x1;const _0x348fd4=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991);if(!_0x348fd4)return!0x1;_0x348fd4['startCollectChangeset']();for(const _0x2567b7 of _0x3ce1ba){const {area:_0x4e6127}=_0x348fd4['getFieldPositionInfoById'](_0x2567b7);_0x4e6127===_0x5ab2d7['PivotTableFiledAreaEnum'][_0x543850(0x338)]&&_0x348fd4['removeValueFilterInfoByValueFieldId'](_0x2567b7),(_0x4e6127===_0x5ab2d7[_0x543850(0x358)]['Row']||_0x4e6127===_0x5ab2d7['PivotTableFiledAreaEnum']['Column'])&&_0x348fd4['removeValueFilterInfo'](_0x2567b7),_0x348fd4[_0x543850(0x31a)](_0x2567b7);}const _0x2d9a2f=_0x348fd4['isEmpty'](),_0x450554=_0x348fd4[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x3fd2fc=_0x348fd4[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x1ce)]={'changesets':_0x3fd2fc,'pivotTableConfig':_0x449c09,'isEmpty':_0x2d9a2f,'view':_0x450554};}break;case _0x17706b['SetPivotFilter']:{const _0x5b5710=_0x597fc7['params']['setPivotFilter'];if(!_0x5b5710)return;const {tableFieldId:_0x16a193,items:_0x105f7a,isAll:_0x4bf02c}=_0x5b5710,_0x3ee224=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991),_0x3a1745=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x3ee224||!_0x3a1745)return;_0x3ee224[_0x543850(0x293)](),_0x3ee224['setLabelFilterInfo'](_0x16a193,{'type':_0x5ab2d7[_0x543850(0x397)]['ManualFilter'],'list':_0x105f7a,'isAll':_0x4bf02c});const _0x30da28=_0x3ee224[_0x543850(0x37d)](),_0x39b0c7=_0x3ee224[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x4a504f=_0x3ee224[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x142)]={'view':_0x39b0c7,'changesets':_0x4a504f,'isEmpty':_0x30da28,'pivotTableConfig':_0x3a1745};}break;case _0x17706b[_0x543850(0x339)]:{const _0x5eaf5f=_0x597fc7[_0x543850(0x26b)][_0x543850(0x349)];if(!_0x5eaf5f)return;const {tableFieldId:_0x5411b7,filterInfo:_0x5a103d}=_0x5eaf5f,_0x622f83=this['_sheetsPivotDataSourceModel'][_0x543850(0x3f8)](_0x3c6991),_0x569c80=this[_0x543850(0x35a)][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x622f83||!_0x569c80)return;_0x622f83[_0x543850(0x293)](),_0x622f83[_0x543850(0x206)](_0x5411b7,_0x5a103d);const _0x288f1e=_0x622f83['isEmpty'](),_0x451534=_0x622f83[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x2bfd94=_0x622f83['endCollectChangeset']();_0x2b60f7[_0x543850(0x349)]={'view':_0x451534,'changesets':_0x2bfd94,'isEmpty':_0x288f1e,'pivotTableConfig':_0x569c80};}break;case _0x17706b[_0x543850(0x295)]:{const _0x19d476=_0x597fc7['params']['setPivotSort'];if(!_0x19d476)return;const {tableFieldId:_0xc6b86e,info:_0x1e4d74}=_0x19d476,_0x5b703b=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3c6991),_0x3ff0c8=this[_0x543850(0x35a)][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x5b703b||!_0x3ff0c8)return;_0x5b703b[_0x543850(0x293)](),_0x5b703b[_0x543850(0x1ca)](_0xc6b86e,_0x1e4d74);const _0xf664c1=_0x5b703b[_0x543850(0x37d)](),_0x750f8c=_0x5b703b['query']()[_0x543850(0x24a)](),_0x5a8a0e=_0x5b703b[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x29d)]={'view':_0x750f8c,'changesets':_0x5a8a0e,'isEmpty':_0xf664c1,'pivotTableConfig':_0x3ff0c8};}break;case _0x17706b[_0x543850(0x191)]:{const _0x2842e5=_0x597fc7[_0x543850(0x26b)][_0x543850(0x437)];if(!_0x2842e5)return;const {tableFieldId:_0x59394e,displayName:_0x25d5f0,subtotalType:_0x1a4c6a,format:_0x168279}=_0x2842e5,_0x4dd761=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991),_0x4c3ea3=this[_0x543850(0x35a)][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x4dd761||!_0x4c3ea3)return;_0x4dd761[_0x543850(0x293)](),_0x25d5f0!==void 0x0&&_0x4dd761['renameField'](_0x59394e,_0x25d5f0),_0x1a4c6a!==void 0x0&&_0x4dd761['setSubtotalType'](_0x59394e,_0x1a4c6a),_0x168279!==void 0x0&&_0x4dd761[_0x543850(0x16d)](_0x59394e,_0x168279);const _0x4feee8=_0x4dd761['isEmpty'](),_0x4b3c8f=_0x4dd761[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x21ab5d=_0x4dd761[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x437)]={'changesets':_0x21ab5d,'pivotTableConfig':_0x4c3ea3,'isEmpty':_0x4feee8,'view':_0x4b3c8f};}break;case _0x17706b[_0x543850(0x41c)]:{const _0x3b1916=_0x597fc7['params'][_0x543850(0x17d)];if(!_0x3b1916)return;const {dataRangeInfo:_0x4f1c17,unitId:_0x4cf18c,subUnitId:_0x2e6bc9}=_0x3b1916,_0x1c25ae=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x4cf18c,_0x2e6bc9,_0x3c6991),_0x28545e=this[_0x543850(0x35a)]['getPivotTableInstance'](_0x3c6991);if(!this[_0x543850(0x35a)][_0x543850(0x34e)](_0x4cf18c,_0x3c6991)||!_0x28545e||!_0x1c25ae)return;const _0x34b02e=this[_0x543850(0x35a)][_0x543850(0x40f)](_0x4cf18c,_0x3c6991,_0x4f1c17),_0x1a714f=this[_0x543850(0x35a)][_0x543850(0x34e)](_0x4cf18c,_0x3c6991)[_0x543850(0x24a)](),{collection:_0x1afd4d}=this[_0x543850(0x35a)][_0x543850(0x29a)]({'unitId':_0x4f1c17[_0x543850(0x3ba)],'sheetName':_0x4f1c17[_0x543850(0x35c)],'subUnitId':_0x4f1c17['subUnitId'],'range':_0x4f1c17['range']}),_0x482b8b=_0x1afd4d[_0x543850(0x24a)]();_0x28545e[_0x543850(0x293)]();const _0x578bae=this[_0x543850(0x35a)][_0x543850(0x428)](_0x4cf18c)[_0x543850(0x367)]()||_0x5ab2d7['getAutoDisplayName'];_0x28545e[_0x543850(0x32a)](_0x189c51=>{const _0x5c93a1=_0x543850,_0x16de9e=_0x189c51['getDataFieldId']();if(!_0x1afd4d[_0x5c93a1(0x2f6)](_0x16de9e)){const _0x230993=_0x1afd4d[_0x5c93a1(0x1ed)](_0x189c51['getSourceName']());if(_0x230993){_0x28545e[_0x5c93a1(0x357)](_0x189c51[_0x5c93a1(0x1cb)](),_0x230993['getName'](),_0x230993[_0x5c93a1(0x1cb)]());const {area:_0x4693c8}=_0x28545e[_0x5c93a1(0x22f)](_0x189c51[_0x5c93a1(0x1cb)]());let _0x121cfb=_0x189c51[_0x5c93a1(0x1fd)]();const _0xe9096c=_0x189c51[_0x5c93a1(0x33d)]();if(_0x4693c8===_0x5ab2d7[_0x5c93a1(0x358)][_0x5c93a1(0x338)]){const _0x496c75=_0x189c51['getSubtotal']();_0x121cfb=_0x578bae(_0x230993[_0x5c93a1(0x31d)](),_0x496c75);}_0xe9096c!==_0x121cfb&&_0x28545e['renameField'](_0x189c51[_0x5c93a1(0x1cb)](),_0x121cfb);}else _0x28545e[_0x5c93a1(0x31a)](_0x189c51[_0x5c93a1(0x1cb)]());}});const _0x2183d4=_0x28545e[_0x543850(0x37d)](),_0x42452d=_0x28545e[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x572243=_0x28545e[_0x543850(0x16e)]();_0x2b60f7['updatePivotSource']={'view':_0x42452d,'changesets':_0x572243,'isEmpty':_0x2183d4,'pivotTableConfig':_0x1c25ae,'collectionConfig':_0x482b8b,'oldCollectionConfig':_0x1a714f,'deleteIds':_0x34b02e};}break;case _0x17706b[_0x543850(0x42e)]:{const _0x4b823a=_0x597fc7['params']['updateValuePosition'];if(!_0x4b823a)return;const {position:_0x7f348a,index:_0x92154b}=_0x4b823a,_0x2e0233=this['_sheetsPivotDataSourceModel'][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x2e0233)return!0x1;const _0xcf494c=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991);if(!_0xcf494c)return!0x1;_0xcf494c[_0x543850(0x293)](),_0xcf494c['updateValuePosition'](_0x7f348a,_0x92154b);const _0x23f75f=_0xcf494c[_0x543850(0x37d)](),_0x4de8cc=_0xcf494c[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x2ec03e=_0xcf494c[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x348)]={'changesets':_0x2ec03e,'pivotTableConfig':_0x2e0233,'isEmpty':_0x23f75f,'view':_0x4de8cc};}break;case _0x17706b[_0x543850(0x2e8)]:{const _0x4d5d8e=_0x597fc7['params'][_0x543850(0x260)];if(!_0x4d5d8e)return;const {tableFieldId:_0x2cb633,collapse:_0x1f9abb,item:_0xfa0786}=_0x4d5d8e,_0x4edf61=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991),_0x137bb1=this[_0x543850(0x35a)][_0x543850(0x3bd)](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x4edf61||!_0x137bb1)return;_0x4edf61[_0x543850(0x293)](),_0x4edf61['setCollapse'](_0x2cb633,_0x1f9abb,_0xfa0786);const _0x168698=_0x4edf61[_0x543850(0x37d)](),_0x736b46=_0x4edf61[_0x543850(0x150)]()[_0x543850(0x24a)](),_0x1eab63=_0x4edf61['endCollectChangeset']();_0x2b60f7[_0x543850(0x260)]={'view':_0x736b46,'isEmpty':_0x168698,'pivotTableConfig':_0x137bb1,'changesets':_0x1eab63};}break;case _0x17706b[_0x543850(0x25c)]:{const _0x2b650f=_0x597fc7[_0x543850(0x26b)]['setPivotTableConfig'];if(!_0x2b650f)return;const {pivotTableConfig:_0x478b83}=_0x2b650f,_0x3f70b9=this['_sheetsPivotDataSourceModel'][_0x543850(0x3f8)](_0x3c6991),_0x1ed081=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x3f70b9||!_0x1ed081)return;_0x3f70b9[_0x543850(0x293)](),_0x1d0768(_0x3f70b9,_0x478b83);const _0x4b33ed=_0x3f70b9[_0x543850(0x37d)](),_0x5de48f=_0x3f70b9[_0x543850(0x150)]()['toJSON'](),_0x17eb98=_0x3f70b9[_0x543850(0x16e)]();_0x2b60f7[_0x543850(0x369)]={'view':_0x5de48f,'isEmpty':_0x4b33ed,'pivotTableConfig':{..._0x1ed081,'fieldsConfig':_0x3f70b9[_0x543850(0x24a)]()},'changesets':_0x17eb98};}break;case _0x17706b[_0x543850(0x156)]:{const _0x3a6a20=_0x597fc7[_0x543850(0x26b)][_0x543850(0x373)];if(!_0x3a6a20)return;const _0x370b23=this[_0x543850(0x35a)][_0x543850(0x3f8)](_0x3c6991),_0x5cd35c=this[_0x543850(0x35a)]['getPivotTableConfig'](_0x2f599d,_0x2e6e58,_0x3c6991);if(!_0x370b23||!_0x5cd35c)return;_0x370b23['startCollectChangeset'](),_0x22f4ff(_0x370b23,_0x3a6a20[_0x543850(0x405)]);const _0x1b46d5=_0x370b23[_0x543850(0x150)]()['toJSON'](),_0x4aaa15=_0x370b23['endCollectChangeset']();_0x2b60f7['resetPivotTable']={'view':_0x1b46d5,'isEmpty':!0x0,'pivotTableConfig':{..._0x5cd35c,'fieldsConfig':_0x370b23['toJSON']()},'changesets':_0x4aaa15};}break;case _0x17706b[_0x543850(0x346)]:{const _0x3166bd=_0x597fc7[_0x543850(0x26b)][_0x543850(0x2be)];if(!_0x3166bd)return;const _0x484aae=_0x3166bd[_0x543850(0x133)],_0x540736=_0x3166bd[_0x543850(0x34d)],{collection:_0xe68004}=this[_0x543850(0x35a)][_0x543850(0x29a)]({'unitId':_0x484aae[_0x543850(0x3ba)],'sheetName':_0x484aae[_0x543850(0x35c)],'subUnitId':_0x484aae[_0x543850(0x3af)],'range':_0x484aae['range']}),_0x179fb3=new _0x5ab2d7[(_0x543850(0x36e))](_0xe68004,void 0x0,_0x540736),_0x42f12f=_0xe68004['getFieldIds'](),{rows:_0x3f86fe,columns:_0x2afb7a,filters:_0x5eec18,values:_0xa0c9f3}=_0x3166bd[_0x543850(0x332)];_0x179fb3[_0x543850(0x293)]();for(const {field:_0x81aad0,selectedItems:_0x446444}of _0x3f86fe||[]){const _0x1fd45a=_0x42f12f[_0x81aad0];if(_0x1fd45a){const _0x41de82=_0x179fb3[_0x543850(0x187)](_0x1fd45a,_0x5ab2d7['PivotTableFiledAreaEnum']['Row']);_0x446444&&_0x41de82&&_0x179fb3[_0x543850(0x258)](_0x41de82[_0x543850(0x1cb)](),{'type':_0x5ab2d7['PivotFilterTypeEnum'][_0x543850(0x1ea)],'list':_0x446444,'isAll':!0x1});}}for(const {field:_0x1a07ab,selectedItems:_0x5a407d}of _0x2afb7a||[]){const _0x59f620=_0x42f12f[_0x1a07ab];if(_0x59f620){const _0x23c4e1=_0x179fb3[_0x543850(0x187)](_0x59f620,_0x5ab2d7[_0x543850(0x358)][_0x543850(0x1f1)]);_0x5a407d&&_0x23c4e1&&_0x179fb3['setLabelFilterInfo'](_0x23c4e1['getId'](),{'type':_0x5ab2d7[_0x543850(0x397)][_0x543850(0x1ea)],'list':_0x5a407d,'isAll':!0x1});}}for(const {field:_0x40dab8,selectedItems:_0x3b86d0}of _0x5eec18||[]){const _0x3d28b8=_0x42f12f[_0x40dab8];if(_0x3d28b8){const _0x109258=_0x179fb3[_0x543850(0x187)](_0x3d28b8,_0x5ab2d7[_0x543850(0x358)]['Filter']);_0x3b86d0&&_0x109258&&_0x179fb3[_0x543850(0x258)](_0x109258[_0x543850(0x1cb)](),{'type':_0x5ab2d7[_0x543850(0x397)][_0x543850(0x1ea)],'list':_0x3b86d0,'isAll':!0x1});}}for(const {field:_0x4d13bc,subTotalType:_0x15989a,formatString:_0x407fe1}of _0xa0c9f3||[]){const _0x15a8da=_0xe68004[_0x543850(0x1dd)](_0x42f12f[_0x4d13bc]);if(!_0x15a8da)continue;const _0x3d179d=_0x42f12f[_0x4d13bc];if(_0x3d179d){const _0x3d5384=_0x179fb3[_0x543850(0x187)](_0x3d179d,_0x5ab2d7[_0x543850(0x358)][_0x543850(0x338)]);if(_0x3d5384){if(_0x15989a!==void 0x0){_0x179fb3[_0x543850(0x1f7)](_0x3d5384[_0x543850(0x1cb)](),_0x15989a);const _0x2eb53f=this[_0x543850(0x35a)]['getDataFieldManager'](_0x484aae[_0x543850(0x3ba)])['getAutoDisplayNameFunction']()||_0x5ab2d7[_0x543850(0x18f)],_0x10d6f8=_0xe68004[_0x543850(0x33d)](_0x3d179d),_0x4f0356=_0x2eb53f(_0x10d6f8,_0x15989a);_0x179fb3[_0x543850(0x364)](_0x3d5384[_0x543850(0x1cb)](),_0x4f0356);}else{if(_0x15a8da){const _0x31c9=_0x15a8da==null?void 0x0:_0x15a8da[_0x543850(0x2f5)]();_0x179fb3[_0x543850(0x1f7)](_0x3d5384['getId'](),_0x31c9===_0x5ab2d7[_0x543850(0x308)][_0x543850(0x234)]?_0x5ab2d7[_0x543850(0x14d)]['sum']:_0x5ab2d7['PivotSubtotalTypeEnum'][_0x543850(0x3f2)]);}}_0x407fe1&&_0x179fb3[_0x543850(0x16d)](_0x3d5384[_0x543850(0x1cb)](),_0x407fe1);}}}const _0x1a548c=_0x179fb3[_0x543850(0x150)](),_0x49de31=_0x179fb3['toJSON'](),_0x37c640=_0x179fb3[_0x543850(0x37d)](),_0x5f349b=_0x179fb3[_0x543850(0x16e)](),_0x3fddbd=_0xe68004[_0x543850(0x24a)]();_0x2b60f7['addPivotTableWithConfig']={'view':_0x1a548c,'fieldsConfig':_0x49de31,'collectionConfig':_0x3fddbd,'isEmpty':_0x37c640,'changesets':_0x5f349b};}break;case _0x17706b[_0x543850(0x347)]:{const _0x1e3703=_0x1f7c8b(this[_0x543850(0x408)],_0x597fc7);if(!_0x1e3703)return;const {range:_0x1cb2e1,sourceSubUnitId:_0x39d318,sourceUnitId:_0x3d092e,formatMap:_0x5b5a3d,indexes:_0x39b2ae}=_0x1e3703;_0x2b60f7['drillDown']={'range':_0x1cb2e1,'sourceSubUnitId':_0x39d318,'sourceUnitId':_0x3d092e,'formatMap':_0x5b5a3d,'indexes':_0x39b2ae};}break;}this[_0x543850(0x392)][_0x543850(0x2ec)](_0x1af275['id'],{'version':_0x597fc7[_0x543850(0x2c8)],'result':_0x2b60f7},{'onlyLocal':!0x0});}));}[_0x6daf50(0x3b9)](){const _0x5d36cd=_0x6daf50;this[_0x5d36cd(0x137)](this['_commandService'][_0x5d36cd(0x3a3)](_0x35f212=>{const _0x30e26f=_0x5d36cd;if(_0x35f212['id']!==_0x3db2ca['id'])return;const _0x3d7cc8=_0x35f212['params'];return this[_0x30e26f(0x35a)][_0x30e26f(0x37c)](_0x3d7cc8[_0x30e26f(0x2e4)]),!0x0;}));}[_0x6daf50(0x1d5)](){const _0x49156a=_0x6daf50;this[_0x49156a(0x35a)]['collectionChange$'][_0x49156a(0x236)](_0x391cb4=>{const _0x2c2c16=_0x49156a;switch(_0x391cb4['type']){case _0x284237[_0x2c2c16(0x34a)]:_0x391cb4[_0x2c2c16(0x14b)]&&_0x391cb4[_0x2c2c16(0x233)]&&this['handleSourceRangeChange'](_0x391cb4[_0x2c2c16(0x402)],_0x391cb4[_0x2c2c16(0x14b)],_0x391cb4[_0x2c2c16(0x233)]);break;case _0x284237['delete']:{const {unitId:_0x5dbdae,subUnitId:_0x43f7d8,token:_0x2b7eca}=_0x391cb4;_0x5dbdae&&_0x43f7d8&&_0x2b7eca&&this[_0x2c2c16(0x39d)](_0x5dbdae,_0x43f7d8,_0x2b7eca);}break;case _0x284237[_0x2c2c16(0x28c)]:{const {token:_0x2bf220,oldSourceRangeInfo:_0x192ad3,dataRangeInfo:_0x412052,targetCellInfo:_0x37ed50}=_0x391cb4,{unitId:_0x1cb7e1,subUnitId:_0x141469}=_0x192ad3||{};_0x1cb7e1&&_0x141469&&_0x2bf220&&this[_0x2c2c16(0x39d)](_0x1cb7e1,_0x141469,_0x2bf220),_0x412052&&_0x37ed50&&this[_0x2c2c16(0x365)](_0x2bf220,_0x412052,_0x37ed50);}break;}});}[_0x6daf50(0x242)](){const _0x530515=_0x6daf50;this[_0x530515(0x35a)][_0x530515(0x24f)][_0x530515(0x236)](_0x1b6789=>{const _0x727b9=_0x530515;Object[_0x727b9(0x30e)](_0x1b6789)[_0x727b9(0x3d8)](_0x40e2b3=>{const _0x37a8e2=_0x727b9,_0x443380=this[_0x37a8e2(0x35a)][_0x37a8e2(0x360)](_0x40e2b3);if(_0x443380){const _0x18f85b=this[_0x37a8e2(0x35a)][_0x37a8e2(0x3bd)](_0x443380==null?void 0x0:_0x443380[_0x37a8e2(0x3ba)],_0x443380==null?void 0x0:_0x443380[_0x37a8e2(0x3af)],_0x40e2b3);_0x18f85b&&(this[_0x37a8e2(0x365)](_0x40e2b3,_0x18f85b[_0x37a8e2(0x133)],_0x18f85b['targetCellInfo']),this[_0x37a8e2(0x399)]([{'unitId':_0x443380[_0x37a8e2(0x3ba)],'subUnitId':_0x443380[_0x37a8e2(0x3af)],'token':_0x40e2b3}]));}});});}[_0x6daf50(0x2c6)](){const _0x4a4247=_0x6daf50;this[_0x4a4247(0x35a)][_0x4a4247(0x18a)][_0x4a4247(0x236)](_0x3052c1=>{const {unitId:_0xf72868,subUnitId:_0x50e06a,pivotTableId:_0x543e87}=_0x3052c1;_0xf72868&&_0x50e06a&&_0x543e87&&this['triggerDirtyFeature']([{'unitId':_0xf72868,'subUnitId':_0x50e06a,'token':_0x543e87}]);});}[_0x6daf50(0x399)](_0x36612a){const _0x2e9aa4=_0x6daf50,_0x40d534={};_0x36612a[_0x2e9aa4(0x3d8)](_0x40964f=>{var _0x6dc587,_0x365e70;const {unitId:_0x416302,subUnitId:_0x402205,token:_0x39abaf}=_0x40964f;_0x40d534[_0x416302]=(_0x6dc587=_0x40d534[_0x416302])!=null?_0x6dc587:{},_0x40d534[_0x416302][_0x402205]=(_0x365e70=_0x40d534[_0x416302][_0x402205])!=null?_0x365e70:{},_0x40d534[_0x416302][_0x402205][_0x39abaf]=!0x0;}),this[_0x2e9aa4(0x392)][_0x2e9aa4(0x2ec)](_0x326fd6['id'],_0x40d534);}[_0x6daf50(0x39d)](_0x19a272,_0x579fb4,_0x2f48c8){const _0x16ba04=_0x6daf50;this[_0x16ba04(0x2a8)][_0x16ba04(0x21b)](_0x19a272,_0x579fb4,[_0x2f48c8]);}[_0x6daf50(0x365)](_0xa71adf,_0x2e5d28,_0xff7033){const _0x1f4508=_0x6daf50,{unitId:_0x4350b6,subUnitId:_0x46e6b3}=_0x2e5d28;this['_featureCalculationManagerService'][_0x1f4508(0x271)](_0xff7033[_0x1f4508(0x3ba)],_0xff7033[_0x1f4508(0x3af)],_0xa71adf)&&this[_0x1f4508(0x39d)](_0x4350b6,_0x46e6b3,_0xa71adf);const _0x6689b3={'sheetId':_0x46e6b3,..._0x2e5d28};this[_0x1f4508(0x2a8)][_0x1f4508(0x386)](_0xff7033[_0x1f4508(0x3ba)],_0xff7033[_0x1f4508(0x3af)],_0xa71adf,{'unitId':_0xff7033[_0x1f4508(0x3ba)],'subUnitId':_0xff7033[_0x1f4508(0x3af)],'dependencyRanges':[_0x6689b3],'getDirtyData':(_0x2a690b,_0x38efa3)=>{const _0x40a876=_0x1f4508,_0x3902e9=this[_0x40a876(0x35a)],_0x54da6f=_0x3902e9[_0x40a876(0x360)](_0xa71adf);if(!_0x54da6f)return _0x2dfd6c();const {unitId:_0x2a1852,subUnitId:_0x590a1d}=_0x54da6f,_0x507310=_0x16df2e(_0x2a690b,_0x38efa3,_0x2e5d28);if(_0x507310[_0x40a876(0x299)]>0x0){const _0x29e87e=_0x3902e9[_0x40a876(0x34e)](_0x4350b6,_0xa71adf),_0x33a84b=_0x29e87e[_0x40a876(0x221)](),_0x231f33=this[_0x40a876(0x24c)](_0x2e5d28['unitId'],_0x2e5d28['subUnitId'],_0x38efa3),_0x483743={},_0x25ab33=this['_sheetsPivotDataSourceModel'][_0x40a876(0x428)](_0x2a1852)[_0x40a876(0x367)]()||_0x5ab2d7['getAutoDisplayName'],_0x371ab9=[];for(const _0x4a6836 of _0x507310){const _0x5e368f=_0x4a6836-(_0x2e5d28[_0x40a876(0x235)][_0x40a876(0x352)]||0x0),_0x36af16=_0x33a84b[_0x5e368f];_0x371ab9[_0x40a876(0x337)](_0x36af16),_0x483743[_0x36af16]=_0x29e87e[_0x40a876(0x1dd)](_0x36af16)['getName'](),_0x3902e9[_0x40a876(0x428)](_0x4350b6)[_0x40a876(0x2df)](_0x36af16,_0x2e5d28,_0x5e368f,_0x231f33);}_0x29e87e[_0x40a876(0x2fc)](_0x371ab9)[_0x40a876(0x3d8)](_0x16ea44=>{const _0x3bbc71=_0x40a876,[_0x4cfb89,_0x3a8d68]=_0x16ea44,_0x1cf798=_0x29e87e[_0x3bbc71(0x1dd)](_0x4cfb89),_0x4f209a=_0x29e87e[_0x3bbc71(0x1dd)](_0x3a8d68);_0x1cf798&&_0x4f209a&&_0x1cf798[_0x3bbc71(0x41b)](_0x4f209a);}),_0x29e87e[_0x40a876(0x246)]();const _0x303109=_0x3902e9['getPivotTableInstance'](_0xa71adf);if(_0x303109){_0x1e351e(_0x303109,_0x483743,_0x25ab33),_0x303109['setDirty'](!0x0);const _0x397820=_0x303109['query'](),_0x547057=_0x3902e9[_0x40a876(0x3bd)](_0x2a1852,_0x590a1d,_0xa71adf),_0x1e7448=_0x3902e9[_0x40a876(0x428)](_0x4350b6)[_0x40a876(0x24a)]();_0x3902e9['updateView'](_0x2a1852,_0x590a1d,_0x1ab225[_0x40a876(0x149)],_0xa71adf,_0x397820,_0x547057,_0x1e7448,!0x0);}}return this[_0x40a876(0x3a0)](_0x2a1852,_0x590a1d,_0xa71adf);}});}[_0x6daf50(0x24c)](_0x1a4e8c,_0x361468,_0xd93c75){var _0x362b17,_0x23fb34;const {arrayFormulaCellData:_0x556935,unitData:_0xc746af}=_0xd93c75,_0x100ced=(_0x362b17=_0x556935==null?void 0x0:_0x556935[_0x1a4e8c])==null?void 0x0:_0x362b17[_0x361468],_0x178aa7=(_0x23fb34=_0xc746af==null?void 0x0:_0xc746af[_0x1a4e8c])==null?void 0x0:_0x23fb34[_0x361468];return{'arrayFormulaCellDataMatrix':_0x100ced,'unitDataMatrix':_0x178aa7};}[_0x6daf50(0x3a0)](_0x27fdfc,_0x227451,_0x73437e){const _0x59b110=_0x6daf50,_0x57a4fe=this[_0x59b110(0x35a)][_0x59b110(0x28a)](_0x27fdfc,_0x227451,_0x73437e),_0x5e3cd9=[],_0x5874f1=new _0x3aab5b[(_0x59b110(0x25d))]();if(_0x57a4fe){const {rangeCache:_0x2e0498,matrix:_0xb556ea,oldRangeCache:_0xc86414,oldMatrix:_0x407ebe}=_0x57a4fe,_0x3c5e5f=_0x1668ea(_0xc86414),_0x4c39de=_0x1668ea(_0x2e0498);_0x5e3cd9['push'](..._0x4c39de,..._0x3c5e5f),_0x407ebe&&_0xc86414&&_0x3c5e5f[_0x59b110(0x3d8)](_0x595b45=>{const _0x42f87f=_0x59b110;for(let _0x2b0679=_0x595b45[_0x42f87f(0x413)];_0x2b0679<=_0x595b45['endRow'];_0x2b0679++)for(let _0x892451=_0x595b45['startColumn'];_0x892451<=_0x595b45[_0x42f87f(0x3e9)];_0x892451++)_0x5874f1['realDeleteValue'](_0x2b0679,_0x892451);}),_0xb556ea&&_0x4c39de&&_0x4c39de[_0x59b110(0x3d8)](_0x38476e=>{const _0x29a29d=_0x59b110;for(let _0x3f9148=_0x38476e[_0x29a29d(0x413)];_0x3f9148<=_0x38476e[_0x29a29d(0x132)];_0x3f9148++)for(let _0x410f3f=_0x38476e['startColumn'];_0x410f3f<=_0x38476e[_0x29a29d(0x3e9)];_0x410f3f++)_0x5874f1[_0x29a29d(0x3e5)](_0x3f9148,_0x410f3f,_0xb556ea[_0x29a29d(0x123)](_0x3f9148,_0x410f3f));});}const _0x2aa25f={};return _0x2aa25f[_0x27fdfc]={[_0x227451]:_0x9fd165(_0x5e3cd9)},{'runtimeCellData':{[_0x27fdfc]:{[_0x227451]:_0x5874f1}},'dirtyRanges':_0x2aa25f};}['dispose'](){}};_0x1ac75c=_0x5d6a36([_0x258c3e(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43['SheetsPivotDataSourceModel'])),_0x258c3e(0x1,_0x3aab5b[_0x6daf50(0x1eb)]),_0x258c3e(0x2,_0x3aab5b['Inject'](_0x1cd130[_0x6daf50(0x342)])),_0x258c3e(0x3,_0x3aab5b['Inject'](_0x3aab5b[_0x6daf50(0x1f4)])),_0x258c3e(0x4,_0x3aab5b[_0x6daf50(0x20a)](_0x1cd130[_0x6daf50(0x2c1)])),_0x258c3e(0x5,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)]))],_0x1ac75c);var _0x1f69f5=Object[_0x6daf50(0x182)],_0x228ded=(_0x17ced5,_0xd05c53,_0x509fc0,_0x37d2ab)=>{const _0x5e3107=_0x6daf50;for(var _0x3b86e8=_0x37d2ab>0x1?void 0x0:_0x37d2ab?_0x1f69f5(_0xd05c53,_0x509fc0):_0xd05c53,_0x259528=_0x17ced5[_0x5e3107(0x299)]-0x1,_0x5e1ec9;_0x259528>=0x0;_0x259528--)(_0x5e1ec9=_0x17ced5[_0x259528])&&(_0x3b86e8=_0x5e1ec9(_0x3b86e8)||_0x3b86e8);return _0x3b86e8;},_0x1d7a7b=(_0xa5a217,_0x42e7b1)=>(_0x533cc6,_0x366d87)=>_0x42e7b1(_0x533cc6,_0x366d87,_0xa5a217);let _0x43f816=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x440cd3,_0x459551,_0x5d159a,_0x21a73e){const _0x389503=_0x6daf50;super(),_0x3f9e42(this,_0x389503(0x2bc),new _0x3aab5b['DisposableCollection']()),(this[_0x389503(0x24e)]=_0x440cd3,this[_0x389503(0x3e0)]=_0x459551,this[_0x389503(0x1da)]=_0x5d159a,this['_sheetsPivotTableConfigModel']=_0x21a73e,this[_0x389503(0x326)]());}[_0x6daf50(0x326)](){const _0x45594d=_0x6daf50;this['disposeWithMe'](this[_0x45594d(0x3e0)][_0x45594d(0x267)]({'getMutations':_0x215177=>{const _0x44640d=_0x45594d;if(_0x215177['id']===_0x5b84bb[_0x44640d(0x3db)]['id']||_0x215177['id']===_0x5b84bb[_0x44640d(0x2b0)]['id']){const _0x51ac89=[],_0x55aff6=[],_0x319bfd=this[_0x44640d(0x1da)]['getCurrentSelections']()[_0x44640d(0x3f1)](_0x1d415b=>_0x1d415b[_0x44640d(0x235)]),_0x53635b=_0x5b84bb[_0x44640d(0x272)](this[_0x44640d(0x24e)]);if(!_0x53635b)return{'redos':[],'undos':[]};const {unitId:_0x38d2bd,subUnitId:_0x1bdd24}=_0x53635b,_0x115e2e={},_0x155aae=this[_0x44640d(0x3cd)][_0x44640d(0x355)](_0x38d2bd,_0x1bdd24);if(_0x155aae!=null&&_0x155aae['size'])for(const [_0x4c2556,_0xf697a]of _0x155aae){const {unitId:_0x1857ed,subUnitId:_0x232fd5,row:_0x2b4106,col:_0x122253}=_0xf697a[_0x44640d(0x233)];_0x1857ed===_0x53635b[_0x44640d(0x3ba)]&&_0x232fd5===_0x53635b[_0x44640d(0x3af)]&&(_0x115e2e[_0x2b4106+'-'+_0x122253]=_0x4c2556);}return _0x319bfd&&_0x53635b&&_0x319bfd[_0x44640d(0x3d8)](_0x59b46f=>{const _0x767465=_0x44640d;_0x3aab5b[_0x767465(0x3b6)]['foreach'](_0x59b46f,(_0x2ad049,_0x420b9b)=>{const _0x5668f0=_0x767465,_0x1862bf=_0x2ad049+'-'+_0x420b9b;if(_0x115e2e[_0x1862bf]){const _0x26d2cf=_0x115e2e[_0x1862bf];_0x51ac89[_0x5668f0(0x337)]({'id':_0x2b2273['id'],'params':{'unitId':_0x38d2bd,'subUnitId':_0x1bdd24,'pivotTableId':_0x26d2cf}});const _0x13b990=this['_sheetsPivotTableConfigModel'][_0x5668f0(0x34e)](_0x38d2bd,_0x26d2cf),_0x4fc566=this[_0x5668f0(0x3cd)][_0x5668f0(0x3bd)](_0x38d2bd,_0x1bdd24,_0x26d2cf);_0x55aff6[_0x5668f0(0x337)]({'id':_0x17abbf['id'],'params':{'unitId':_0x38d2bd,'subUnitId':_0x1bdd24,'pivotTableId':_0x26d2cf,'pivotTableConfig':_0x4fc566,'collectionConfig':_0x13b990}});}});}),{'redos':_0x51ac89,'undos':_0x55aff6};}return{'redos':[],'undos':[]};}}));}};_0x43f816=_0x228ded([_0x1d7a7b(0x0,_0x3aab5b[_0x6daf50(0x350)]),_0x1d7a7b(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb[_0x6daf50(0x287)])),_0x1d7a7b(0x2,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb['SheetsSelectionsService'])),_0x1d7a7b(0x3,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43['SheetsPivotTableConfigModel']))],_0x43f816);var _0x5e2884=Object[_0x6daf50(0x182)],_0x488f35=(_0x1da638,_0x25db28,_0x1c2eb3,_0x223529)=>{for(var _0x9e5b18=_0x223529>0x1?void 0x0:_0x223529?_0x5e2884(_0x25db28,_0x1c2eb3):_0x25db28,_0x2a702d=_0x1da638['length']-0x1,_0xbb310d;_0x2a702d>=0x0;_0x2a702d--)(_0xbb310d=_0x1da638[_0x2a702d])&&(_0x9e5b18=_0xbb310d(_0x9e5b18)||_0x9e5b18);return _0x9e5b18;},_0x4be18d=(_0x361b7f,_0x4e2f1e)=>(_0xe2562b,_0x319249)=>_0x4e2f1e(_0xe2562b,_0x319249,_0x361b7f);let _0x57b9f8=class extends _0x3aab5b['Disposable']{constructor(_0x17b33,_0x2db553,_0x5ce03d,_0x72f903,_0x5d5d1e,_0x472cfa){const _0x5f52a5=_0x6daf50;super(),this[_0x5f52a5(0x2aa)]=_0x17b33,this['_sheetInterceptorService']=_0x2db553,this[_0x5f52a5(0x408)]=_0x5ce03d,this[_0x5f52a5(0x24e)]=_0x72f903,this[_0x5f52a5(0x3cd)]=_0x5d5d1e,this[_0x5f52a5(0x26f)]=_0x472cfa,this[_0x5f52a5(0x209)]();}['_getPivotAppliedRanges'](_0x32f678,_0x4ddcbb,_0x42708b){const _0x3a7c45=_0x6daf50,{pageView:_0x31cdf1,cornerView:_0x127e4e,rowView:_0x1d1158,colView:_0x5bf14f,dataView:_0x39209a}=_0x4ddcbb,_0x35feea=_0x32f678;let _0x4035e8;if(_0x42708b)_0x4035e8=[..._0x5014d2(_0x35feea)];else{const _0x3c125c=_0x56e08b(_0x35feea,_0x31cdf1,!0x0),_0x7ab6a7=_0x31cdf1[_0x3a7c45(0x1a5)]>=0x0?_0x31cdf1['lastRow']+0x1:0x0,_0x384da2=_0x127e4e[_0x3a7c45(0x43d)],_0x29d1fe=_0x127e4e[_0x3a7c45(0x1a9)],_0x279eef=_0x3c125c[_0x3a7c45(0x299)]>0x0?_0x50ed31:0x0,_0x55fab1=_0x56e08b({'row':_0x35feea[_0x3a7c45(0x177)]+_0x7ab6a7+_0x279eef,'col':_0x35feea[_0x3a7c45(0x215)]},_0x127e4e,!0x1,!0x1),_0x5c878a=_0x56e08b({'row':_0x35feea['row']+_0x7ab6a7+_0x279eef+_0x384da2,'col':_0x35feea['col']},_0x1d1158,!0x1,!0x0),_0x4499a7=_0x56e08b({'row':_0x35feea[_0x3a7c45(0x177)]+_0x7ab6a7+_0x279eef,'col':_0x35feea[_0x3a7c45(0x215)]+_0x29d1fe},_0x5bf14f,!0x1,!0x0),_0x193163=_0x56e08b({'row':_0x35feea[_0x3a7c45(0x177)]+_0x7ab6a7+_0x279eef+_0x384da2,'col':_0x35feea['col']+_0x29d1fe},_0x39209a,!0x1,!0x0);_0x4035e8=[..._0x3c125c,..._0x55fab1,..._0x5c878a,..._0x4499a7,..._0x193163];}return _0x4035e8;}[_0x6daf50(0x209)](){const _0x5ed742=_0x6daf50;this['disposeWithMe'](this[_0x5ed742(0x26f)][_0x5ed742(0x35f)]['intercept'](this['_sheetsPivotTableService'][_0x5ed742(0x35f)][_0x5ed742(0x427)]()[_0x5ed742(0x172)],{'handler':(_0x22f05e,_0x4515fb)=>{const _0x1c4260=_0x5ed742,{cellInfo:_0x485329,view:_0x540da9,isEmpty:_0x483883}=_0x4515fb,_0x5659e6=_0x485329,{unitId:_0x51f1d6,subUnitId:_0x24107b}=_0x5659e6,_0x5de8c5=this['_getPivotAppliedRanges'](_0x485329,_0x540da9,_0x483883),_0x45ce39=this[_0x1c4260(0x3e0)][_0x1c4260(0x28b)]({'unitId':_0x51f1d6,'subUnitId':_0x24107b,'ranges':_0x5de8c5}),_0x3d1736=_0x40be2a(this[_0x1c4260(0x408)],_0x51f1d6,_0x24107b,_0x5de8c5);_0x3d1736[_0x1c4260(0x2f4)]&&(_0x45ce39[_0x1c4260(0x1b6)][_0x1c4260(0x337)](_0x3d1736[_0x1c4260(0x381)]),_0x45ce39['undos'][_0x1c4260(0x337)](_0x3d1736[_0x1c4260(0x1b3)]));const _0x35d414=this[_0x1c4260(0x2b5)](_0x540da9,_0x485329);return _0x45ce39[_0x1c4260(0x1b6)][_0x1c4260(0x337)](..._0x35d414[_0x1c4260(0x1b6)]),_0x45ce39[_0x1c4260(0x2dc)]['push'](..._0x35d414[_0x1c4260(0x2dc)]),{'redos':_0x45ce39['redos'],'undos':_0x45ce39[_0x1c4260(0x2dc)]};}}));}[_0x6daf50(0x2b5)](_0x53fb0c,_0xc911f8){const _0x4d733a=_0x6daf50,{col:_0x263183,unitId:_0x3da274,subUnitId:_0x78b6e3}=_0xc911f8,_0x39e9e5=[],_0x22fdc5=[],_0x57207a=_0x5b84bb[_0x4d733a(0x272)](this['_univerInstanceService'],{'unitId':_0x3da274,'subUnitId':_0x78b6e3});if(!_0xc911f8||!_0x53fb0c||!_0x57207a)return{'undos':_0x22fdc5,'redos':_0x39e9e5};const _0x460db7=this[_0x4d733a(0x3cd)][_0x4d733a(0x23a)](),{colView:_0x2070f0,dataView:_0x2b92dd,cornerView:_0x55d6ff,rowView:_0x19e08a,formatMap:_0x2aaed3}=_0x53fb0c,_0x42c793=_0x43be85(_0x2070f0,_0x460db7,!0x0,_0x2aaed3),_0x24bfc7=_0x43be85(_0x19e08a,_0x460db7,!0x1,_0x2aaed3),_0x4a80ef=_0x261719(_0x2b92dd),_0x405bf3=_0x4c0c6c(_0x55d6ff),{worksheet:_0x47e10f}=_0x57207a;if(typeof window<'u'&&window[_0x4d733a(0x1a6)]){const _0x2f447b=_0x2c5cc7[_0x4d733a(0x2e5)]({..._0x34ff93[_0x4d733a(0x380)]}),_0x4caa9a=_0x2c5cc7[_0x4d733a(0x1bc)][_0x4d733a(0x286)](_0x42c793,_0x2f447b)[_0x4d733a(0x139)]+0x10,_0x53a8e6=_0x2c5cc7[_0x4d733a(0x1bc)][_0x4d733a(0x286)](_0x4a80ef,_0x2f447b)['width'],_0x5d7f5f=Math[_0x4d733a(0x207)](Math[_0x4d733a(0x3ec)](_0x4caa9a,_0x53a8e6))+0x10,_0x16fa76=Math['floor'](_0x2c5cc7[_0x4d733a(0x1bc)][_0x4d733a(0x286)](_0x24bfc7,_0x2f447b)[_0x4d733a(0x139)]),_0x8a3a60=Math[_0x4d733a(0x207)](_0x2c5cc7[_0x4d733a(0x1bc)][_0x4d733a(0x286)](_0x405bf3,_0x2f447b)[_0x4d733a(0x139)]),_0x1e5b10=Math[_0x4d733a(0x3ec)](_0x16fa76,_0x8a3a60,0x28)+0xc,_0x592b11=_0x2070f0['colCount']+_0x55d6ff[_0x4d733a(0x1a9)],_0x206814={},_0x5e4593={};for(let _0x47f822=_0x263183;_0x47f822<_0x263183+_0x592b11;_0x47f822++){const _0x513845=_0x47e10f[_0x4d733a(0x126)](_0x47f822);_0x206814[_0x47f822]=_0x513845,_0x47f822-_0x263183<_0x55d6ff[_0x4d733a(0x1a9)]?_0x5e4593[_0x47f822-_0x263183]=_0x1e5b10:_0x5e4593[_0x47f822-_0x263183]=_0x5d7f5f;}_0x39e9e5[_0x4d733a(0x337)]({'id':_0x5b84bb[_0x4d733a(0x341)]['id'],'params':{'subUnitId':_0x78b6e3,'unitId':_0x3da274,'ranges':[{'startColumn':_0x263183,'endColumn':_0x263183+_0x592b11-0x1,'startRow':0x0,'endRow':_0x47e10f[_0x4d733a(0x3c8)]()-0x1}],'colWidth':_0x5e4593}}),_0x22fdc5[_0x4d733a(0x337)]({'id':_0x5b84bb[_0x4d733a(0x341)]['id'],'params':{'subUnitId':_0x78b6e3,'unitId':_0x3da274,'ranges':[{'startColumn':_0x263183,'endColumn':_0x263183+_0x592b11-0x1,'startRow':0x0,'endRow':_0x47e10f[_0x4d733a(0x3c8)]()-0x1}],'colWidth':_0x206814}});}return{'undos':_0x22fdc5,'redos':_0x39e9e5};}};_0x57b9f8=_0x488f35([_0x4be18d(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x2a9)])),_0x4be18d(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb['SheetInterceptorService'])),_0x4be18d(0x2,_0x3aab5b['Inject'](_0x3aab5b[_0x6daf50(0x39a)])),_0x4be18d(0x3,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x350)])),_0x4be18d(0x4,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x42c)])),_0x4be18d(0x5,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x3de)]))],_0x57b9f8);var _0x1b157c=Object[_0x6daf50(0x182)],_0x2ff832=(_0x4be6a6,_0x3b54e6,_0xf8f91e,_0x32ede9)=>{for(var _0x450911=_0x32ede9>0x1?void 0x0:_0x32ede9?_0x1b157c(_0x3b54e6,_0xf8f91e):_0x3b54e6,_0x381bf4=_0x4be6a6['length']-0x1,_0x275bf8;_0x381bf4>=0x0;_0x381bf4--)(_0x275bf8=_0x4be6a6[_0x381bf4])&&(_0x450911=_0x275bf8(_0x450911)||_0x450911);return _0x450911;},_0x4a76c7=(_0x4ff1b0,_0x2413d1)=>(_0x1e8d76,_0xda533a)=>_0x2413d1(_0x1e8d76,_0xda533a,_0x4ff1b0);let _0x2ba7de=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x583e4a,_0x2882d9,_0x4c81fb,_0x3ffa59,_0x553393,_0x2f956a,_0x57ee82){const _0x1bfae4=_0x6daf50;super(),_0x3f9e42(this,_0x1bfae4(0x2bc),new _0x3aab5b[(_0x1bfae4(0x33a))]()),(this[_0x1bfae4(0x408)]=_0x583e4a,this[_0x1bfae4(0x301)]=_0x2882d9,this[_0x1bfae4(0x392)]=_0x4c81fb,this[_0x1bfae4(0x24e)]=_0x3ffa59,this[_0x1bfae4(0x3cd)]=_0x553393,this[_0x1bfae4(0x186)]=_0x2f956a,this['_sheetInterceptorService']=_0x57ee82,this[_0x1bfae4(0x3c7)]());}[_0x6daf50(0x3c7)](){const _0x60f36b=_0x6daf50,_0x56a7c2=(_0x30cc32,_0x5063d2)=>{const _0x1afce6=_0x45c2,_0x5a9c81=this[_0x1afce6(0x24e)][_0x1afce6(0x30b)](_0x3aab5b[_0x1afce6(0x3b5)][_0x1afce6(0x343)]);if(!_0x5a9c81||!(_0x5a9c81==null?void 0x0:_0x5a9c81[_0x1afce6(0x2a1)](_0x5063d2)))return;this['disposableCollection'][_0x1afce6(0x2b2)]();const _0x1f42d0=_0x3d31f8=>this[_0x1afce6(0x29f)](_0x3d31f8,_0x30cc32,_0x5063d2),_0x50fbe0=this[_0x1afce6(0x3cd)]['getSubUnitPivotConfigs'](_0x30cc32,_0x5063d2);if(!(_0x50fbe0!=null&&_0x50fbe0[_0x1afce6(0x423)]))return;Array['from'](_0x50fbe0[_0x1afce6(0x1db)]())['map'](_0x14776e=>{const _0x4a4b56=_0x1afce6,{row:_0x347926,col:_0x306f32}=_0x14776e['targetCellInfo'];return _0x3aab5b[_0x4a4b56(0x278)](_0x347926,_0x306f32);})[_0x1afce6(0x3d8)](_0x4f72d4=>{const _0x55bcc7=_0x1afce6;this[_0x55bcc7(0x2bc)][_0x55bcc7(0x34a)](this['_refRangeService'][_0x55bcc7(0x2ad)](_0x4f72d4,_0x1f42d0,_0x30cc32,_0x5063d2));});},_0x665303=()=>{const _0x3c2a4a=_0x45c2,_0x3698b2=this['_univerInstanceService'][_0x3c2a4a(0x30b)](_0x3aab5b['UniverInstanceType']['UNIVER_SHEET']);if(_0x3698b2){const _0x5997d8=_0x3698b2['getActiveSheet']();if(!_0x5997d8)return;_0x56a7c2(_0x3698b2[_0x3c2a4a(0x306)](),_0x5997d8[_0x3c2a4a(0x276)]());}};this[_0x60f36b(0x137)](this['_commandService'][_0x60f36b(0x3a3)](_0x233ade=>{const _0xa68567=_0x60f36b;if(_0x233ade['id']===_0x5b84bb[_0xa68567(0x3a4)]['id']){const _0x475ff8=_0x233ade[_0xa68567(0x26b)],_0x3d7a51=_0x475ff8['subUnitId'],_0x568c4b=_0x475ff8[_0xa68567(0x3ba)];if(!_0x3d7a51||!_0x568c4b)return;_0x56a7c2(_0x568c4b,_0x3d7a51);}})),this[_0x60f36b(0x137)](this['_sheetsPivotTableConfigModel'][_0x60f36b(0x27e)]['subscribe'](_0x415943=>{_0x415943&&_0x665303();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x60f36b(0x27c)]['subscribe'](_0x5a4151=>{const _0x45159b=_0x60f36b,_0x3600a2=_0x5b84bb[_0x45159b(0x272)](this[_0x45159b(0x24e)]);if(!_0x3600a2)return;const {unitId:_0x464b8d,subUnitId:_0x5501d4}=_0x3600a2,{unitId:_0x24ce9f,subUnitId:_0x451420}=_0x5a4151;_0x464b8d!==_0x24ce9f||_0x5501d4!==_0x451420||_0x56a7c2(_0x464b8d,_0x5501d4);})),_0x665303();}[_0x6daf50(0x29f)](_0x103edd,_0x49dc40,_0x546dd7){const _0x40d8b3=_0x6daf50;switch(_0x103edd['id']){case _0x5b84bb[_0x40d8b3(0x3f0)]['id']:return this[_0x40d8b3(0x2d4)](_0x103edd[_0x40d8b3(0x26b)],_0x49dc40,_0x546dd7);}return{'redos':[],'undos':[]};}[_0x6daf50(0x2d4)](_0x380d41,_0x314b69,_0x244346){const _0x2c0408=_0x6daf50,{fromRange:_0x38e010,toRange:_0x28a172}=_0x380d41,_0x3529aa=[],_0x5d91da=[],_0x11d67e=_0x5b84bb['getSheetCommandTarget'](this[_0x2c0408(0x24e)]);if(!_0x11d67e)return{'undos':_0x5d91da,'redos':_0x3529aa};if(_0x314b69!==_0x11d67e['unitId']||_0x244346!==_0x11d67e[_0x2c0408(0x3af)])return{'undos':_0x5d91da,'redos':_0x3529aa};const _0x1ea783=this[_0x2c0408(0x3cd)][_0x2c0408(0x355)](_0x314b69,_0x244346);if(_0x1ea783!=null&&_0x1ea783[_0x2c0408(0x423)])for(const [_0x2d55d4,_0x59e4a2]of _0x1ea783){const {unitId:_0x5f17e6,subUnitId:_0x2744c5,row:_0x21f4aa,col:_0x502806}=_0x59e4a2[_0x2c0408(0x233)];if(_0x5f17e6===_0x11d67e['unitId']&&_0x2744c5===_0x11d67e['subUnitId']){const _0x11f967=_0x3aab5b[_0x2c0408(0x278)](_0x21f4aa,_0x502806);if(_0x3aab5b['Rectangle']['intersects'](_0x11f967,_0x38e010)){const _0x45d192=_0x21f4aa-_0x38e010[_0x2c0408(0x413)],_0x45c291=_0x502806-_0x38e010[_0x2c0408(0x352)],_0x4c880a={'row':_0x28a172[_0x2c0408(0x413)]+_0x45d192,'col':_0x28a172['startColumn']+_0x45c291};_0x3529aa[_0x2c0408(0x337)]({'id':_0x2ef4c5['id'],'params':{'unitId':_0x5f17e6,'subUnitId':_0x2744c5,'pivotTableId':_0x2d55d4,'targetCellPosition':_0x4c880a}}),_0x5d91da[_0x2c0408(0x337)]({'id':_0x2ef4c5['id'],'params':{'unitId':_0x5f17e6,'subUnitId':_0x2744c5,'pivotTableId':_0x2d55d4,'targetCellPosition':{'row':_0x21f4aa,'col':_0x502806}}});const _0x38907a=_0x4c880a[_0x2c0408(0x177)]-_0x21f4aa,_0x5a61ac=_0x4c880a[_0x2c0408(0x215)]-_0x502806,_0x54f255=[],_0x392139=this['_sheetsPivotTableAdaptorModel'][_0x2c0408(0x411)](_0x5f17e6,_0x2744c5,_0x2d55d4),_0x520be9=_0x392139==null?void 0x0:_0x392139[_0x2c0408(0x316)];if(_0x520be9){Object[_0x2c0408(0x30e)](_0x520be9)[_0x2c0408(0x3d8)](_0x12adc4=>{const _0x23f16e=_0x2c0408;_0x520be9[_0x12adc4][_0x23f16e(0x3d8)](_0x32f3dc=>{const _0xe0f2e0=_0x23f16e,_0x30b7bf={..._0x32f3dc};_0x30b7bf[_0xe0f2e0(0x413)]=_0x32f3dc[_0xe0f2e0(0x413)]+_0x38907a,_0x30b7bf[_0xe0f2e0(0x132)]=_0x32f3dc[_0xe0f2e0(0x132)]+_0x38907a,_0x30b7bf[_0xe0f2e0(0x352)]=_0x32f3dc[_0xe0f2e0(0x352)]+_0x5a61ac,_0x30b7bf[_0xe0f2e0(0x3e9)]=_0x32f3dc[_0xe0f2e0(0x3e9)]+_0x5a61ac,_0x54f255['push'](_0x30b7bf);});});const _0x55c48b=this[_0x2c0408(0x3e0)][_0x2c0408(0x28b)]({'unitId':_0x5f17e6,'subUnitId':_0x2744c5,'ranges':_0x54f255});_0x3529aa[_0x2c0408(0x337)](..._0x55c48b[_0x2c0408(0x1b6)]),_0x5d91da[_0x2c0408(0x337)](..._0x55c48b[_0x2c0408(0x2dc)]);const _0x2fe59d=_0x40be2a(this[_0x2c0408(0x408)],_0x5f17e6,_0x2744c5,_0x54f255);_0x2fe59d['shouldClear']&&(_0x3529aa[_0x2c0408(0x337)](_0x2fe59d[_0x2c0408(0x381)]),_0x5d91da[_0x2c0408(0x337)](_0x2fe59d[_0x2c0408(0x1b3)]));}}}}return{'redos':_0x3529aa,'undos':_0x5d91da};}};_0x2ba7de=_0x2ff832([_0x4a76c7(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)])),_0x4a76c7(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb[_0x6daf50(0x30c)])),_0x4a76c7(0x2,_0x3aab5b[_0x6daf50(0x1f4)]),_0x4a76c7(0x3,_0x3aab5b[_0x6daf50(0x350)]),_0x4a76c7(0x4,_0x3aab5b['Inject'](_0x271f43['SheetsPivotTableConfigModel'])),_0x4a76c7(0x5,_0x3aab5b['Inject'](_0x271f43['SheetsPivotTableAdaptorModel'])),_0x4a76c7(0x6,_0x3aab5b['Inject'](_0x5b84bb[_0x6daf50(0x287)]))],_0x2ba7de);var _0x2bb535=Object[_0x6daf50(0x182)],_0x1dd209=(_0x4507f4,_0x130992,_0x268df5,_0x2d2705)=>{const _0x58c532=_0x6daf50;for(var _0x22c95f=_0x2d2705>0x1?void 0x0:_0x2d2705?_0x2bb535(_0x130992,_0x268df5):_0x130992,_0x4ebb5a=_0x4507f4[_0x58c532(0x299)]-0x1,_0x5670e1;_0x4ebb5a>=0x0;_0x4ebb5a--)(_0x5670e1=_0x4507f4[_0x4ebb5a])&&(_0x22c95f=_0x5670e1(_0x22c95f)||_0x22c95f);return _0x22c95f;},_0xb6ed22=(_0x433bc1,_0x16e8be)=>(_0x1bd274,_0x4ed6cb)=>_0x16e8be(_0x1bd274,_0x4ed6cb,_0x433bc1);let _0x22a1fd=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x27e271,_0x2a8468){const _0x4c7c6a=_0x6daf50;super(),this['_sheetInterceptorService']=_0x27e271,this['_sheetsPivotTableConfigModel']=_0x2a8468,this[_0x4c7c6a(0x1e9)]();}[_0x6daf50(0x1e9)](){const _0x4e8146=_0x6daf50;this[_0x4e8146(0x137)](this['_sheetInterceptorService'][_0x4e8146(0x267)]({'getMutations':_0x41f7a1=>{const _0x3556ad=_0x4e8146;if(_0x41f7a1['id']===_0x5b84bb['RemoveSheetCommand']['id']){const _0x27e29f=[],_0x3fa065=[],_0x36aabf=_0x41f7a1['params'],{unitId:_0x5210a8,subUnitId:_0x27093d}=_0x36aabf;if(!_0x5210a8||!_0x27093d)return{'undos':_0x3fa065,'redos':_0x27e29f};const _0x14db62=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x5210a8,_0x27093d);if(_0x14db62!=null&&_0x14db62[_0x3556ad(0x423)])for(const [_0x4e7dd3,_0x24d75b]of _0x14db62){_0x27e29f[_0x3556ad(0x337)]({'id':_0x2b2273['id'],'params':{'unitId':_0x5210a8,'subUnitId':_0x27093d,'pivotTableId':_0x4e7dd3}});const _0x584405={...this['_sheetsPivotTableConfigModel'][_0x3556ad(0x34e)](_0x5210a8,_0x4e7dd3)};_0x3fa065[_0x3556ad(0x337)]({'id':_0x17abbf['id'],'params':{'unitId':_0x5210a8,'subUnitId':_0x27093d,'pivotTableId':_0x4e7dd3,'pivotTableConfig':_0x24d75b,'collectionConfig':_0x584405}});}return{'redos':_0x27e29f,'undos':_0x3fa065};}return{'redos':[],'undos':[]};}}));}};_0x22a1fd=_0x1dd209([_0xb6ed22(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x5b84bb[_0x6daf50(0x287)])),_0xb6ed22(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x42c)]))],_0x22a1fd);var _0x147061=Object[_0x6daf50(0x182)],_0x41c1b0=(_0x573466,_0xef1c52,_0x4e4f68,_0x8fd85a)=>{for(var _0x5f44be=_0x8fd85a>0x1?void 0x0:_0x8fd85a?_0x147061(_0xef1c52,_0x4e4f68):_0xef1c52,_0x160f88=_0x573466['length']-0x1,_0x44decf;_0x160f88>=0x0;_0x160f88--)(_0x44decf=_0x573466[_0x160f88])&&(_0x5f44be=_0x44decf(_0x5f44be)||_0x5f44be);return _0x5f44be;},_0x3e6e07=(_0x445721,_0x4dae45)=>(_0x5ab67f,_0x4d5816)=>_0x4dae45(_0x5ab67f,_0x4d5816,_0x445721);let _0x1f4982=class extends _0x3aab5b[_0x6daf50(0x214)]{constructor(_0x3942c7,_0x3f20ec,_0x1ee866,_0x53612a,_0x11baf0,_0x6fca72){const _0x2755e5=_0x6daf50;super(),this['_commandService']=_0x3942c7,this[_0x2755e5(0x40e)]=_0x3f20ec,this[_0x2755e5(0x186)]=_0x1ee866,this[_0x2755e5(0x3cd)]=_0x53612a,this['_univerInstanceService']=_0x11baf0,this[_0x2755e5(0x41e)]=_0x6fca72,this[_0x2755e5(0x1ab)](),this[_0x2755e5(0x389)]();}['_initDataSendListener'](){const _0x43f194=_0x6daf50;this[_0x43f194(0x137)](this[_0x43f194(0x392)][_0x43f194(0x3a3)](_0x2b64a5=>{const _0x41f985=_0x43f194;if(_0x2b64a5['id']!==_0x1af275['id'])return;const _0x33c7f6=_0x2b64a5[_0x41f985(0x26b)];this[_0x41f985(0x40e)][_0x41f985(0x25a)](_0x33c7f6);})),this[_0x43f194(0x137)](this['_commandService'][_0x43f194(0x3a3)](_0x25f0f6=>{const _0xb7d097=_0x43f194;if(_0x25f0f6['id']===_0x19396d['id']){const _0x3b9dce=_0x25f0f6[_0xb7d097(0x26b)];if(_0x3b9dce){const {unitId:_0x4a6903,subUnitId:_0x221ecc,oldSubUnitId:_0x3e4717,pivotTableId:_0x20b679,pivotTableConfig:_0x547e71,collectionConfig:_0x294a86}=_0x3b9dce;this[_0xb7d097(0x3cd)][_0xb7d097(0x333)](_0x4a6903,_0x3e4717,_0x3b9dce[_0xb7d097(0x34d)],null),this[_0xb7d097(0x3cd)]['updateConfigCache'](_0x4a6903,_0x221ecc,_0x20b679,_0x547e71),this[_0xb7d097(0x3cd)][_0xb7d097(0x2f9)](_0x4a6903,_0x294a86);}}})),this['disposeWithMe'](this[_0x43f194(0x392)][_0x43f194(0x3a3)](_0x472825=>{const _0x2ee7ef=_0x43f194;if(_0x472825['id']!==_0x261bb1['id'])return;const _0x23802a=_0x5b84bb[_0x2ee7ef(0x272)](this[_0x2ee7ef(0x24e)]);if(!_0x23802a)return;const {unitId:_0xf71b92,subUnitId:_0x2312a7}=_0x23802a,_0xb398bf=_0x472825[_0x2ee7ef(0x26b)];if(_0xb398bf['collectionConfig']&&Object['keys'](_0xb398bf[_0x2ee7ef(0x382)])[_0x2ee7ef(0x3d8)](_0x4fcc5f=>{const _0x35a65d=_0x2ee7ef;var _0x3fa22c;(_0x3fa22c=_0xb398bf[_0x35a65d(0x382)])!=null&&_0x3fa22c[_0x4fcc5f]&&this[_0x35a65d(0x3cd)]['updateCollectionConfig'](_0x4fcc5f,_0xb398bf[_0x35a65d(0x382)][_0x4fcc5f]);}),_0xb398bf['single']){const _0x1d1aac=_0xb398bf['single'],{unitId:_0x78a0a0,subUnitId:_0x329a1b,view:_0x538ba4,pivotTableId:_0xf774a0,type:_0x22ea84,pivotConfig:_0x28c2df}=_0x1d1aac;if(_0x22ea84===_0x1ab225[_0x2ee7ef(0x24b)])this['_sheetsPivotTableAdaptorModel'][_0x2ee7ef(0x312)]({'unitId':_0x78a0a0,'subUnitId':_0x329a1b,'pivotTableId':_0xf774a0,'type':_0x22ea84}),this['_sheetsPivotTableConfigModel'][_0x2ee7ef(0x333)](_0x78a0a0,_0x329a1b,_0xf774a0,null);else{const _0x2dda2b=new _0x5ab2d7[(_0x2ee7ef(0x205))]();_0x2dda2b[_0x2ee7ef(0x2ed)](_0x538ba4),this[_0x2ee7ef(0x3cd)][_0x2ee7ef(0x333)](_0x78a0a0,_0x329a1b,_0xf774a0,_0x28c2df),this['_sheetsPivotTableAdaptorModel'][_0x2ee7ef(0x312)]({'unitId':_0x78a0a0,'subUnitId':_0x329a1b,'pivotTableId':_0xf774a0,'type':_0x22ea84,'view':_0x2dda2b}),this[_0x2ee7ef(0x186)][_0x2ee7ef(0x250)]({'unitId':_0x78a0a0,'subUnitId':_0x329a1b,'view':_0x2dda2b,'pivotTableId':_0xf774a0,'type':_0x22ea84});}}else _0xb398bf[_0x2ee7ef(0x37a)]&&(_0xb398bf['batch'][_0x2ee7ef(0x3d8)](_0x392b37=>{const _0x53467d=_0x2ee7ef,{unitId:_0x4a758f,subUnitId:_0x35509b,view:_0x48d7f1,pivotTableId:_0x126cc3,type:_0x8c8d76,pivotConfig:_0x1f8ee3}=_0x392b37,_0x3a2ab2=new _0x5ab2d7[(_0x53467d(0x205))]();_0x3a2ab2[_0x53467d(0x2ed)](_0x48d7f1),this['_sheetsPivotTableConfigModel'][_0x53467d(0x333)](_0x4a758f,_0x35509b,_0x126cc3,_0x1f8ee3),this[_0x53467d(0x186)][_0x53467d(0x250)]({'unitId':_0x4a758f,'subUnitId':_0x35509b,'view':_0x3a2ab2,'pivotTableId':_0x126cc3,'type':_0x8c8d76});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x2ee7ef(0x186)][_0x2ee7ef(0x2c3)](_0xf71b92,_0x2312a7);}));}['registerDirtyService'](){const _0x5d69be=_0x6daf50;this[_0x5d69be(0x41e)][_0x5d69be(0x386)](_0x326fd6['id'],{'commandId':_0x326fd6['id'],'getDirtyData'(_0xa3c541){const _0x261279=_0x5d69be;return{'dirtyUnitFeatureMap':_0xa3c541[_0x261279(0x26b)]};}});}};_0x1f4982=_0x41c1b0([_0x3e6e07(0x0,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x1f4)])),_0x3e6e07(0x1,_0x3aab5b['Inject'](_0x271f43['SheetsPivotRPCService'])),_0x3e6e07(0x2,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x36c)])),_0x3e6e07(0x3,_0x3aab5b[_0x6daf50(0x20a)](_0x271f43[_0x6daf50(0x42c)])),_0x3e6e07(0x4,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x350)])),_0x3e6e07(0x5,_0x1cd130[_0x6daf50(0x3c0)])],_0x1f4982);var _0x375475=Object[_0x6daf50(0x189)],_0x2bc720=Object['getOwnPropertyDescriptor'],_0x392d3c=(_0x26c6a4,_0x2f755e,_0x2beaea)=>_0x2f755e in _0x26c6a4?_0x375475(_0x26c6a4,_0x2f755e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2beaea}):_0x26c6a4[_0x2f755e]=_0x2beaea,_0x5c4471=(_0x1c243d,_0xaf5b76,_0x2b9240,_0x4ae01b)=>{const _0x2b4c69=_0x6daf50;for(var _0x15fd3c=_0x4ae01b>0x1?void 0x0:_0x4ae01b?_0x2bc720(_0xaf5b76,_0x2b9240):_0xaf5b76,_0x1d724d=_0x1c243d[_0x2b4c69(0x299)]-0x1,_0xaa3440;_0x1d724d>=0x0;_0x1d724d--)(_0xaa3440=_0x1c243d[_0x1d724d])&&(_0x15fd3c=_0xaa3440(_0x15fd3c)||_0x15fd3c);return _0x15fd3c;},_0x11d621=(_0x2abdc9,_0x1786e4)=>(_0x3fadcc,_0x4c6e2c)=>_0x1786e4(_0x3fadcc,_0x4c6e2c,_0x2abdc9),_0x478d6f=(_0x5b76c1,_0x21351a,_0x46db31)=>_0x392d3c(_0x5b76c1,typeof _0x21351a!=_0x6daf50(0x2ae)?_0x21351a+'':_0x21351a,_0x46db31);_0x271f43[_0x6daf50(0x409)]=class extends _0x3aab5b[_0x6daf50(0x2fb)]{constructor(_0x2804cd=_0x5a1be7,_0x2a4ac1,_0x1f7fb3,_0x30a135,_0x46237e){const _0x4c70d2=_0x6daf50;super(),this[_0x4c70d2(0x425)]=_0x2804cd,this['_injector']=_0x2a4ac1,this['_commandService']=_0x1f7fb3,this[_0x4c70d2(0x434)]=_0x30a135,this[_0x4c70d2(0x22a)]=_0x46237e;const {..._0x3ca39f}=_0x3aab5b[_0x4c70d2(0x1a7)]({},_0x5a1be7,this[_0x4c70d2(0x425)]);this[_0x4c70d2(0x434)][_0x4c70d2(0x2ce)](_0x29fd09,_0x3ca39f),this[_0x4c70d2(0x2db)](),this[_0x4c70d2(0x3b1)]();}[_0x6daf50(0x3b1)](){const _0x485c07=_0x6daf50;var _0x32905a;const _0x3b240c=(_0x32905a=this[_0x485c07(0x425)])==null?void 0x0:_0x32905a[_0x485c07(0x3f6)];this[_0x485c07(0x434)][_0x485c07(0x2ce)](_0x332892,_0x3b240c===!0x0);}['onStarting'](){const _0x5d0c1c=_0x6daf50;var _0x3ae6c9;let _0x185bad=[];const _0x4006f5=(_0x3ae6c9=this[_0x5d0c1c(0x425)])==null?void 0x0:_0x3ae6c9[_0x5d0c1c(0x3f6)];_0x4006f5===!0x0?_0x185bad=[[_0x271f43['SheetsPivotTableService']],[_0x271f43[_0x5d0c1c(0x31b)]],[_0x1f4982],[_0x271f43[_0x5d0c1c(0x36c)]],[_0x271f43[_0x5d0c1c(0x42c)]],[_0x22a1fd],[_0x43f816],[_0x2ba7de],[_0x57b9f8]]:_0x4006f5===!0x1?_0x185bad=[[_0x271f43[_0x5d0c1c(0x383)]],[_0x1ac75c]]:_0x4006f5===void 0x0&&(_0x185bad=[[_0x271f43[_0x5d0c1c(0x383)]],[_0x1ac75c],[_0x271f43[_0x5d0c1c(0x3de)]],[_0x271f43[_0x5d0c1c(0x31b)]],[_0x1f4982],[_0x271f43[_0x5d0c1c(0x36c)]],[_0x271f43[_0x5d0c1c(0x42c)]],[_0x22a1fd],[_0x43f816],[_0x2ba7de],[_0x57b9f8]]),_0x185bad[_0x5d0c1c(0x3d8)](_0x3c657c=>this[_0x5d0c1c(0x408)][_0x5d0c1c(0x34a)](_0x3c657c)),[_0x1ac75c,_0x1f4982,_0x271f43[_0x5d0c1c(0x3de)],_0x43f816,_0x22a1fd,_0x2ba7de,_0x57b9f8][_0x5d0c1c(0x3d8)](_0x3a2260=>{const _0x2298bc=_0x5d0c1c;this[_0x2298bc(0x408)][_0x2298bc(0x271)](_0x3a2260)&&this['_injector'][_0x2298bc(0x393)](_0x3a2260);});}[_0x6daf50(0x2db)](){const _0x3ac30d=_0x6daf50;[_0x40ec48,_0x5b2cbd,_0x18a88f,_0x10ba26,_0x586638,_0x57f960,_0x5904e9,_0x3bc954,_0x417133,_0x4add00,_0x3df461,_0x55f03e,_0x383fc8,_0x594ab8,_0x17abbf,_0x3b255d,_0x2b2273,_0x1678ea,_0xc2bdb6,_0x1062bf,_0x17d811,_0x87a600,_0x280ff8,_0x50f618,_0x5a460e,_0x31e799,_0x2ef4c5,_0x549956,_0x1af275,_0x261bb1,_0x12d494,_0x231c1a,_0x4b2215,_0x2ebdf3,_0x3db2ca,_0x49672d,_0x5772bb,_0x326fd6,_0x19396d,_0x492476,_0x1d73d4,_0x5d22d2,_0x198890][_0x3ac30d(0x3d8)](_0x19171b=>{const _0x40e893=_0x3ac30d;var _0x128e51;(_0x128e51=this[_0x40e893(0x22a)])==null||_0x128e51[_0x40e893(0x300)](_0x19171b),this[_0x40e893(0x392)][_0x40e893(0x298)](_0x19171b);});}},_0x478d6f(_0x271f43[_0x6daf50(0x409)],_0x6daf50(0x170),_0x3a232b),_0x478d6f(_0x271f43['UniverSheetsPivotTablePlugin'],_0x6daf50(0x15a),_0x3aab5b[_0x6daf50(0x3b5)][_0x6daf50(0x343)]),_0x271f43[_0x6daf50(0x409)]=_0x5c4471([_0x3aab5b[_0x6daf50(0x175)](_0x2a826e[_0x6daf50(0x15f)]),_0x11d621(0x1,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x39a)])),_0x11d621(0x2,_0x3aab5b[_0x6daf50(0x20a)](_0x3aab5b[_0x6daf50(0x1f4)])),_0x11d621(0x3,_0x3aab5b[_0x6daf50(0x1eb)]),_0x11d621(0x4,_0x3aab5b[_0x6daf50(0x223)](_0x2fffef[_0x6daf50(0x212)]))],_0x271f43[_0x6daf50(0x409)]),_0x271f43['AddPivotFieldCommand']=_0x18a88f,_0x271f43[_0x6daf50(0x16a)]=_0x1678ea,_0x271f43[_0x6daf50(0x218)]=_0x5b2cbd,_0x271f43[_0x6daf50(0x125)]=_0x17abbf,_0x271f43[_0x6daf50(0x2ab)]=_0x40ec48,_0x271f43['BLANK_ROW_COUNT']=_0x50ed31,_0x271f43['DEFAULT_PIVOT_NUMBER']=_0x884d8a,_0x271f43[_0x6daf50(0x1f6)]=_0x10ba26,_0x271f43[_0x6daf50(0x2b7)]=_0x383fc8,_0x271f43[_0x6daf50(0x363)]=_0x17706b,_0x271f43[_0x6daf50(0x376)]=_0x594ab8,_0x271f43['PivotTableOperationEnum']=_0x1ab225,_0x271f43[_0x6daf50(0x2ba)]=_0x326fd6,_0x271f43[_0x6daf50(0x439)]=_0xdd5059,_0x271f43[_0x6daf50(0x3d6)]=_0x586638,_0x271f43['RemovePivotFieldMutation']=_0x87a600,_0x271f43[_0x6daf50(0x19e)]=_0x2b2273,_0x271f43['RenamePivotFieldMutation']=_0x280ff8,_0x271f43[_0x6daf50(0x2a5)]=_0x198890,_0x271f43['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x29fd09,_0x271f43['SHEET_PIVOT_TABLE_PLUGIN']=_0x3a232b,_0x271f43[_0x6daf50(0x188)]=_0x3bc954,_0x271f43[_0x6daf50(0x403)]=_0x50f618,_0x271f43[_0x6daf50(0x228)]=_0x2ebdf3,_0x271f43[_0x6daf50(0x359)]=_0x5d22d2,_0x271f43[_0x6daf50(0x415)]=_0x4add00,_0x271f43[_0x6daf50(0x366)]=_0x17d811,_0x271f43[_0x6daf50(0x197)]=_0x31e799,_0x271f43[_0x6daf50(0x400)]=_0x2ef4c5,_0x271f43[_0x6daf50(0x1fc)]=_0x417133,_0x271f43['SetPivotSortMutation']=_0x5a460e,_0x271f43['SetPivotSubtotalTypeMutation']=_0x4b2215,_0x271f43['SetPivotValueFilterCommand']=_0x492476,_0x271f43['SetPivotValueFilterMutation']=_0x1d73d4,_0x271f43[_0x6daf50(0x153)]=_0x5904e9,_0x271f43['UpdateFieldPositionMutation']=_0x12d494,_0x271f43[_0x6daf50(0x2e6)]=_0x3df461,_0x271f43[_0x6daf50(0x19d)]=_0x5772bb,_0x271f43['UpdatePivotTableSourceRangeCommand']=_0x55f03e,_0x271f43[_0x6daf50(0x12c)]=_0x49672d,_0x271f43[_0x6daf50(0x230)]=_0x57f960,_0x271f43['UpdateValuePositionMutation']=_0x231c1a,_0x271f43[_0x6daf50(0x279)]=_0x20db0e,_0x271f43['canUsePivot']=_0x2ffa8d,_0x271f43['defaultThemeStyle']=_0x34ff93,_0x271f43[_0x6daf50(0x29c)]=_0x40be2a,_0x271f43[_0x6daf50(0x323)]=_0x56e08b,_0x271f43[_0x6daf50(0x23c)]=_0x5014d2,_0x271f43[_0x6daf50(0x1d6)]=_0x349e95,_0x271f43['getInsertRowColMutations']=_0x44c00e,_0x271f43[_0x6daf50(0x2c0)]=_0x37a114,_0x271f43[_0x6daf50(0x15b)]=_0x21309a,_0x271f43[_0x6daf50(0x227)]=_0x3bc063,_0x271f43['transFromCellValue']=_0x574731,_0x271f43[_0x6daf50(0x2af)]=_0x1668ea,Object[_0x6daf50(0x189)](_0x271f43,Symbol[_0x6daf50(0x32c)],{'value':_0x6daf50(0x21a)});}));