@univerjs-pro/sheets-pivot 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-nightly.202504111607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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)});}));
|
|
1
|
+
function _0x6997(_0x3324fa,_0x4a27b7){const _0x446aa0=_0x446a();return _0x6997=function(_0x69979a,_0x5f2c68){_0x69979a=_0x69979a-0x71;let _0x468912=_0x446aa0[_0x69979a];return _0x468912;},_0x6997(_0x3324fa,_0x4a27b7);}function _0x446a(){const _0x29d4b9=['getPivotCellInfo','sheet.mutation.set-pivot-filter','IConfigService','sheets-pivot.dateGroup.hourMinute','startColumn','targetCellInfo','dimension','isBaseGroupField','PivotCellStyleTypeEnum','sheets-pivot.cellDateGroupDisplay.hour','Add','#1d32e9','setRange','_sheetsPivotTableConfigModel','Minute','getCollection','SetPivotSortMutation','Existing','sheet.mutation.add-pivot-field','getPivotTableConfig','Div0','_ensurePivotItemRenderValueMatrixCache','excelDateToUnixMilliseconds','stdDevp','getRangeStartEndInfo','sheet.mutation.pivot-update-value-position','interceptor','foreach','PivotTableValuePositionEnum','getMonth','removeValueFilterInfo','setPivotFilter','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','colStyle','result','sheet.command.reset-pivot-fields-config','valueIndex','PivotTableViewDirtyMarkOperation','getPivotItemRenderInfoCache','sheet.mutation.remove-pivot-field','rowRanges','ΣValue','setName','updateConfigCache','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','_sheetsPivotTableAdaptorModel','setTextInfo','rowCount','AddPivotTableWithConfig','subTotalStyle','valid','uniqueDataFieldName','removeField','dispose','CommandType','shouldClear','reset','type','batch','SetFilterInfo','addCollection','getSheets','fieldId','Row','_pivotTableRangeInfo','removeCollections','@univerjs/sheets','areaInfo','SetWorksheetActiveOperation','getDataFieldManager','SheetsPivotRPCService','setDisplayName','PivotTableChangeTypeEnum','_commandService','sheets-pivot.dateGroup.yearMonth','ClearSelectionContentCommand','intercept','_resourceManagerService','_sheetsPivotRpcService','_refRangeHandle','sheets-pivot.grandTotal','params','sheets-pivot.emptyPivot.filter','unitId','setPivotTable','Count\x20of\x20','@univerjs-pro/engine-pivot','DEFAULT_WORKSHEET_ROW_COUNT','iterateField','Tools','SetPivotCollapse','adjustSheetCellData','setSourceName','addField','name','markDirty$','getTextSize','_sheetsSelectionsService','SetRangeValuesMutation','paths','textInfo','measure','_pivotInitCompleted$','versions','createAsyncInterceptorKey','floor','iterateFieldDim','sheet.command.update-date-group','Expand','unshift','forValue','pivotMutationGenerate','STRING','isDateValue','sheet.mutation.send-pivot-view-local','format','_updateRenderEmptyCache','defineProperty','updateDirtyPivotTable','getOwnPropertyDescriptor','rowInfo','CellValueType','COLUMN','getStyles','getFieldInfo','MAX_SAFE_INTEGER','deleteUnitId','_initGlobalComputed','getUnit','getFieldFormat','SHEET_PIVOT_TABLE_PLUGIN','Values','RemovePivotField','addPivotTable','rangeKey','object','merge','sheet.mutation.send-pivot-data-local','collections','lastRow','getColumnCount','setCollapse','_config','addRecord','addPivotField','_sheetInterceptorService','colHeaderMap','44JyEkmJ','DisposableCollection','getRowCount','sheets-pivot.productName','getCellMatrix','reduce','SetPivotFieldsConfigCommand','subtotal','_deleteModelCache','dateType','disposableCollection','sheet.mutation.add-group-collection','createDataFieldId','workbook\x20is\x20not\x20found','390pWfIbs','FORCE_STRING','col','new','_initSnapshot','random','rgb(255,255,255)','_onRefRangeChange','UniverInstanceType','refreshGroupField','sheets-pivot.dateGroup.quarter','level','_initConfig','_initPivotDataGetListener','count','getDataFieldItemInfo','isDateGroupFieldJSON','removePivotTable','CELL_CONTENT','pageStyle','refreshData','redos','isDateGroupField','generateMutationsByRanges','getCurrentSelections','Rectangle','updateDataFieldsCollection','RemovePivotTableMutation','591641ybbRdC','_collectionChange$','dataStyle','leafStyle','getSheetId','setRangeValueUndoMutation','getConfig','resetPivotTable','_requestResolvers','numfmt','deepClone','getColCount','getSortInfo','exports','InterceptorEffectEnum','_getAutoName','MoveRangeCommand','slice','sideEffectUpdateWorkerCache','AddPivotFieldMutation','PivotSubtotalTypeEnum','getActiveSheet','updatePivotSource','splice','map','_createExclusiveRange','pageRanges','function','IUndoRedoService','asyncInterceptor','sum','dataFieldManagerConfig','UniverSheetsPivotTablePlugin','executeCommand','dataStream','_univerInstanceService','_deletePivotTableInstanceCache','#eceeff','sheet.command.update-pivot-table-source-range','RemovePivotFieldMutation','@univerjs/engine-formula','getSubtotal','fontRenderExtension','triggerDirtyFeature','updateConfig','getFontStyleString','dataFieldId','PivotDataFieldDataTypeEnum','forEach','PIVOT_MUTATION_GENERATE','setSubtotalType','_collectionConfigModel','SetPivotCollapseCommand','AddPivotField','addDirtyPivotTable','LS_CONFIG_KEY','UpdateValuePositionMutation','Date','42327FNDEuQ','COMMAND','rxjs','getSubUnitPivotRenderCache','toStringTag','LifecycleService','tableFieldId','getSubUnitPivotConfigs','pivotConfigChange$','_toJSON','UniverEngineFormula','addExclusiveRange','fetchThroughInterceptors','SetPivotSetting','UniverLicensePlugin','#FFFFFF','getSourceName','Var\x20of\x20','_globalComputedEndHelpFunc','IFeatureCalculationManagerService','#b2b2b2','fieldsConfig','Min\x20of\x20','getDataFieldByTableId','740224WdNBFR','getPivotInfoByLicense','sheets-pivot.cellDateGroupDisplay.yearQuarter','SetOptions','originTargetInfo','setRangeValueRedoMutation','rowHeaderMap','colCount','DrillDown','getCellRaw','RemoveField','fieldIds','_globalComputedStartHelpFunc','pivotTableId','AddPivotTableWithConfigCommand','sheet.command.move-pivot-field','rangeCache','isText','AddPivotFieldCommand','Hour','endRow','entries','canUsePivot','_pivotRenderValueMatrixCache','oldMatrix','maxDate','@univerjs/sheets-filter','transFromCellValue','getMatrixValue','sheet.command.set-pivot-value-filter','sheet.operation.pivot-table-view-formula-mark-dirty','return\x20','existing','register','createInterceptorKey','onStarting','sheets-pivot.dateGroup.yearMonthDate','_pivotTableInstanceCache','message','sheets-pivot.averageName','ErrorType','update','registerCallbackWithEvent','sheet.command.set-pivot-filter','SetPivotValueFilterCommand','UniverProEnginePivot','minDate','_featureCalculationManagerService','SetPivotCollapseMutation','collectionChange$','getRangeKey','_sheetsPivotDataSourceModel','getInterceptPoints','\x20-\x20','find','onQueryEnd','_pivotRenderInfoCache','pbt','length','getFieldPositionInfoById','UniverProLicense','removeDataField','hasOwnProperty','NAME','Disposable','sheets-pivot.dateGroup.minute','Year','isPrefixValue','InsertSheetUndoMutationFactory','_viewUpdate$','handleMoveRange','removePivotField','DependentOn','SetValuePivotFilter','AsyncInterceptorManager','refreshDataField','IActiveDirtyManagerService','grandTotal','getSheetFeatureLimit','removeSourceRangeChange','filterFields','getCurrentUnitForType','_updatePivotTableInstanceCache','getSheetBySheetId','custom','IResourceManagerService','#e6ebfb','rgb(240,241,243)','sheets-pivot.cellDateGroupDisplay.hourMinute','onCommandExecuted','PivotTable','setPivotSetting','asObservable','SetFieldFormat','generateNullCell','IUniverInstanceService','_initUnitDisposed','defaultThemeStyle','sheet.mutation.update-date-group','split','pivotPerformCheck','string','countNums','Grand\x20Total','stdDev','setSortInfo','contains','SetPivotFilter','MonthDate','SheetsPivotTableService','varp','sheets-pivot.cellDateGroupDisplay.year','add','AddPivotTableCommand','MovePivotFieldCommand','set','symbol','setPivotTableConfig','Subtotal','UniverSheets','sheets-pivot.varName','setValuePivotFilter','NUM','startRow','remove','Injector','getPivotTableModelConfig','BLANK_ROW_COUNT','RemoveSheetMutation','GrandTotal','rangeKeyMap','pluginName','getTextInfo','_queryingMap','_textInfo','getPivotDisplayConfig','_viewData$','getRefRangeMutationsByMoveRange','deleteField','UpdateValuePosition','sheet.mutation.update-pivot-table-source-range','pivotTableConfigs','movePivotField','keys','BadReference','dataRangeInfo','Value','formJSON','generateHexNumber','sheets-pivot.varpName','ICommandService','StdDevp\x20of\x20','iterateFieldByArea','Panel','initDataRanges','toString','FontCache','UpdatePivotValuePositionCommand','SheetsPivotTableAdaptorModel','NotFunction','Product\x20of\x20','max','sheet.mutation.send-pivot-config-local','RenamePivotFieldMutation','column','getTypeOfUnitDisposed$','updateViewInfo','PivotTableFiledAreaEnum','viewData$','getMatrixFromRunTimeData','_exclusiveRangeService','queryDirtyPivotTable','data','toJSON','isEmpty','configVersion$','RANGE_TYPE','sheet.command.set-pivot-fields-config','getOriginFieldId','LocaleService','ResetPivotFieldsConfigCommand','InsertSheetCommand','fromJSON','YearQuarter','@univerjs/engine-render','getLastRow','cornerStyle','Filter','hasField','Quarter','_initRemoveSheetCommandInterceptor','UpdateSource','ResetPivotTable','RemoveSheetsFilterMutation','filter','getName','generateNewSheetName','sheets-pivot.dateGroup.month','renameField','sortInfo','getId','getDataFieldId','valueFields','_ensurePivotTableMatrixInfo','12954141AZBuCQ','PivotView','single','getFilterInfo','sheetName','SheetsPivotDataSourceModel','rangeType','rangesInfo','getPivotTableRangeInfo','sheets-pivot.emptyPivot.column','needSameDeleteModel','colInfo','error','_model','AddPivotTableMutation','updateRenderCache','74574naTlxT','UNIVER_SHEET','_dataFieldManagerCollection','UpdatePivotSource','updateCollectionConfig','Sum\x20of\x20','RemoveSheetCommand','getValuePosition','mergeWorksheetSnapshotWithDefault','concat','sheets-pivot.cellDateGroupDisplay.month','setValue','_getPivotAppliedRanges','_initClearSelectionCommandInterceptor','pivotTableIndexConfig','sheets-pivot.cellDateGroupDisplay.yearMonthDate','values','matrix','cellToRange','sheet.mutation.set-pivot-sort-info','handleSourceRangeChange','1184750YpOLeJ','SHEET_PIVOT_IN_MAIN_THREAD','sheets-pivot.dateGroup.monthDate','sheet.mutation.pivot-update-field-position','getDirtyInfo','_init','SetValueFilter','setValueFilterInfo','min','getValueIndex','Column','version','isValue','HourMinute','getRangeKeyList','getAdjustRangesPosition','interceptCommand','setLabelFilterInfo','ObjectMatrix','get','row','MUTATION','Month','options','subscribe','SetPivotOptionMutation','getPivotTableMatrixInfo','updatePivotTableMatrixInfo','pushComputingStatusSubject','getFieldById','_host','@univerjs-pro/license','GlobalComputingStatusService','addFieldWithSourceId','CustomCommandExecutionError','undos','sheets.tabs.sheet','getAutoDisplayNameFunction','isNaN','getAutoDisplayName','size','getPivotTableIdByCell','_fieldsCollectionChange$','(Blank)','getInsertRowColMutations','ManualFilter','getIntersectsPivotTable','PivotCallbackEnum','addPivotTableWithConfig','sequenceExecute','sheet.command.remove-pivot-field','setFieldFormat','getFullYear','_initCommandInterceptListener','_subjectFieldsCollectionChange','next','_ensurePivotItemRenderInfoCache','_initLocale','originalFieldId','subUnitId','Range','RefRangeService','LrnkhyCn\x20mVkDHRhyCn(PykVn5V,\x20RrjPykvVH)\x20{\x20\x20\x20\x20hDH\x20{\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20PykVn5VonLC32DhYDD2H\x20=\x20PykVn5V.5RPyh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20CDyNyncV552NV\x20=\x20TziA.R2D5V(2hCj(PykVn5VonLC32DhYDD2H[l]));\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(!CDyNyncV552NV.rm)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CDyNyncV552NV.rm\x20=\x20ArJjVD(PykVn5VonLC32DhYDD2H[w]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20y5qCD4VD\x20=\x20hHRVCL\x20qCD4VD0PCj2PzkCRV\x20!==\x20\x27rnmVLynVm\x27\x20&&\x205VPL\x20yn5h2nkVCL\x20qCD4VD0PCj2PzkCRV;\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20kCnhV7h\x20=\x20y5qCD4VD\x20?\x205VPL\x20:\x20GynmCG;\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20JV552NVqCDm\x20=\x20kCnhV7h.__x25Vew__.R2D5V(PykVn5VonLC32DhYDD2H[l]);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20JV552NV\x20=\x20kCnhV7h.__8V7__.5hDynNyLH(JV552NVqCDm);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x205yNn2hrDVqCDm\x20=\x20kCnhV7h.__x25Vew__.R2D5V(PykVn5VonLC32DhYDD2H[t]);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x205yNn2hrDV\x20=\x20kCnhV7h.__8V7__.5hDynNyLH(5yNn2hrDVqCDm);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x205yNn62Pym\x20=\x20kCnhV7h.__MVDyLH__(5yNn2hrDV,\x20JV552NV,\x20RrjPykvVH);\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20mCJ2yn\x20=\x20CDyNyncV552NV.mJ;\x20\x20\x20\x20\x20\x20\x20\x20LrnkhyCn\x20y5fCJ2ync2hkBynN(C32hhVDn,\x20C8C5h)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20R2hhVDn\x20=\x20C32hhVDn.DVRP2kV(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20BC5h\x20=\x20C8C5h.DVRP2kV(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20R2hhVDn32Dh5\x20=\x20R2hhVDn.5RPyh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20BC5h32Dh5\x20=\x20BC5h.5RPyh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(!R2hhVDn.ynkPrmV5(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DVhrDn\x20R2hhVDn\x20===\x20BC5h;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(R2hhVDn32Dh5.PVnNhB\x20<\x20l\x20||\x20R2hhVDn32Dh5[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DVhrDn\x20L2P5V;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20R2hhVDnzrLLy7\x20=\x20R2hhVDn32Dh5.5PykV(U).gCyn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20BC5hzrLLy7\x20=\x20BC5h32Dh5.5PykV(-R2hhVDn32Dh5.PVnNhB\x20+\x20U).gCyn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DVhrDn\x20R2hhVDnzrLLy7\x20===\x20BC5hzrLLy7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PVh\x20mCJ2yn62Pym\x20=\x20(mCJ2yn\x20&&\x20mCJ2yn.PVnNhB)\x20?\x20mCJ2yn.5CJV((mJohVJ)\x20=>\x20y5fCJ2ync2hkBynN(mJohVJ,\x20PCk2hyCn.BC5hn2JV))\x20:\x20hDrV;\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(PCk2hyCn.BC5hn2JV\x20===\x20\x27PCk2PBC5h\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mCJ2yn62Pym\x20=\x20hDrV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20kCn5h\x20M2Pym\x20=\x205yNn62Pym\x20&&\x20mCJ2yn62Pym;\x20\x20\x20\x20\x20\x20\x20\x20DVhrDn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M2Pym,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JV552NV:\x20CDyNyncV552NV,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20k2hkB\x20(VDDCD)\x20{\x20\x20\x20\x20\x20\x20\x20\x20DVhrDn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M2Pym:\x20L2P5V,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JV552NV:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getValueFilterInfos','getformat','setConfig','createCollectionWithDataRange','_subjectCollectionChange','getUnitId','updateValuePosition','sheets-pivot.countName','updateViewData','sheets-pivot.stdDevpName','sheet.mutation.get-pivot-data-local','sheet.command.set-pivot-collapse','YearMonth','sheet.mutation.send-init-pivot-text-local','getTargetByPivotId','SetPivotFilterMutation','setDirty','sheets-pivot.columnName','stringify','unshiftString','number','SetPivotSubtotalTypeMutation','panel','parseInt','@univerjs/core','getSheetCommandTarget','colRanges','_sheetsPivotTableService','Optional','getFormat','node','filterId','collapseInfo','getPivotTableInstance','amd','realDeleteValue','updatePivotTableRangeInfo','displayName','info','generateRandomId','NO_COMMERCIAL','push','29285RbVxMp','getNoUsedDataFieldIds','registerCommand','getDataFieldBySourceName','registerPluginResource','notExecuteFormula','_configService','_initViewModelBySheetInterceptor','BaseGroupField','sheets-pivot.subTotal','numberToABC','_initRegisterCommand','SetPivotTableConfig','date','getDate','pivotInitCompleted$','from','deleteDataField','Module','#e6ebfa','fields','Subject','setPivotInitCompleted','getAutoFitColumnsMutations','getDataFieldByDataFieldId','dataFieldsCollection','clearRenderCache','DEFAULT_WORKSHEET_COLUMN_COUNT','RenameField','_pivotConfigChange$','handleAsyncResponse','rowFields','parse','sheets-pivot.cellDateGroupDisplay.quarter','RemoveColMutation','prototype','getRangeData','call','query','_ensurePivotTableRangeInfo','isFeatureAuthorizedWithinTime','pushUndoRedo','_ensurePivotMap','getColumnWidth','getTargetByPivotTableId','_initDataSendListener','sourceRangeInfo','average','prefix','getTableFieldById','RemovePivotFieldCommand','UpdatePivotTableSourceRangeCommand','sheet.mutation.set-pivot-format','valueFilter','sheet.command.set-pivot-sort','filterInfo','body','getValue','getIntersects','has','includes','Column\x20','disposeWithMe','_globalSubject','some','ReleaseType','isBottomTotal','_initPivotTextInfo','_dataSyncPrimaryController','setPivotCollapse','SetPivotSort','_injector','SHEET_PIVOT_EXCLUSIVE_ID','SheetsPivotTableConfigModel','updateAllDisplayName','sheet.mutation.add-pivot-table','sheet.command.add-pivot-table','_pivotTableMatrixInfo','updateFieldPosition','headerMap','_ensureViewDataMap','New','sheets-pivot.sumName','getDisplayName','SetCollapse','dataFields','PositionType','replace','getFieldIds','INTERCEPTOR_POINT','MovePivotField','endCollectChangeset','sheet.command.update-pivot-value-position','setDateType','_viewData','SheetInterceptorService','leftOffset','sheet.mutation.rename-pivot-field','@univerjs/rpc','blank','Delete','getEmptyPivotRanges','collectionConfig','getFieldListByArea','getViewData','delete','tuple','limit\x20pivot','getDataFieldByRangeKey','_markDirty$','fetchThroughAsyncInterceptors','_configVersion$','width','addCollectionByJSON','NotName','updateRangeKeyMap','NotNumber','UpdatePivotTableSourceRangeMutation','Average\x20of\x20','registerDirtyService','PivotFilterTypeEnum','FieldsCollection','setPivotSort','PivotErrorTypeEnum','endColumn','SetSubtotalType','getFieldDataType','_activeDirtyManagerService','getUpdateRangeDeleteIds','_updateModelCache','sheet.command.add-pivot-table-with-config','NUMBER','getHeaderMapItem','rowStyle','Inject','getLastCol','SetRangeValuesUndoMutationFactory','onQueryStart','DateGroupField','markDirty','DataFieldManager','#f4f4f5','UniverSheetsFilter','drillDown','clearExclusiveRangesByGroupId','addDataFieldWithoutUnitInfo','getFieldCountByArea','startCollectChangeset','Set','AddPivotTable','isArray','getPivotTableCellData','var','YearMonthDate','unionPivotViewRange','_refRangeService','broadcastCollectionChange','ClearSelectionAllCommand','getInfo','_subjectViewChange','_localeService','range','createValueField','getMatrix','cellValue','sheets-pivot.config','SetWorksheetColWidthMutation','updateView','sheets-pivot.dateGroup.date','setOptions','substring','columnFields','sheet.mutation.pivot-update-field-source-info','PivotDateGroupFieldDateTypeEnum','InterceptorManager','sheet.command.add-pivot-field'];_0x446a=function(){return _0x29d4b9;};return _0x446a();}(function(_0x561eb7,_0x3a4644){const _0x293807=_0x6997,_0x186551=_0x561eb7();while(!![]){try{const _0x52477b=-parseInt(_0x293807(0x33a))/0x1+parseInt(_0x293807(0x14f))/0x2+parseInt(_0x293807(0x374))/0x3*(parseInt(_0x293807(0x310))/0x4)+-parseInt(_0x293807(0x1cd))/0x5*(parseInt(_0x293807(0x31e))/0x6)+-parseInt(_0x293807(0x164))/0x7+-parseInt(_0x293807(0x73))/0x8+parseInt(_0x293807(0x13f))/0x9;if(_0x52477b===_0x3a4644)break;else _0x186551['push'](_0x186551['shift']());}catch(_0x563afb){_0x186551['push'](_0x186551['shift']());}}}(_0x446a,0x6118f),function(_0x216d76,_0x393811){const _0x5b8339=_0x6997;typeof exports==_0x5b8339(0x304)&&typeof module<'u'?_0x393811(exports,require(_0x5b8339(0x2d3)),require(_0x5b8339(0x1bb)),require(_0x5b8339(0x362)),require(_0x5b8339(0x2bf)),require(_0x5b8339(0x376)),require(_0x5b8339(0x183)),require(_0x5b8339(0x8d)),require(_0x5b8339(0x22f)),require(_0x5b8339(0x12b))):typeof define==_0x5b8339(0x355)&&define[_0x5b8339(0x1c5)]?define([_0x5b8339(0x347),_0x5b8339(0x2d3),_0x5b8339(0x1bb),_0x5b8339(0x362),_0x5b8339(0x2bf),_0x5b8339(0x376),_0x5b8339(0x183),_0x5b8339(0x8d),_0x5b8339(0x22f),_0x5b8339(0x12b)],_0x393811):(_0x216d76=typeof globalThis<'u'?globalThis:_0x216d76||self,_0x393811(_0x216d76['UniverProSheetsPivot']={},_0x216d76[_0x5b8339(0xa0)],_0x216d76['UniverCore'],_0x216d76[_0x5b8339(0x37e)],_0x216d76[_0x5b8339(0xea)],_0x216d76[_0x5b8339(0x376)],_0x216d76[_0x5b8339(0xaf)],_0x216d76[_0x5b8339(0x25b)],_0x216d76['UniverRpc'],_0x216d76['UniverEngineRender']));}(this,function(_0x3acc27,_0x949178,_0x2be92f,_0x5172e4,_0xac1e83,_0x639aa,_0x327f17,_0x2518cd,_0x1a1d34,_0x55d66f){'use strict';const _0x5b4c6d=_0x6997;var _0x47c67d=Object[_0x5b4c6d(0x2f2)],_0x2d74d5=(_0x4cc49d,_0x2d316a,_0x4c3ee0)=>_0x2d316a in _0x4cc49d?_0x47c67d(_0x4cc49d,_0x2d316a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3ee0}):_0x4cc49d[_0x2d316a]=_0x4c3ee0,_0x102d83=(_0xc33abd,_0x6d6cf7,_0x376ff6)=>_0x2d74d5(_0xc33abd,typeof _0x6d6cf7!=_0x5b4c6d(0xe7)?_0x6d6cf7+'':_0x6d6cf7,_0x376ff6);const _0x2a091a=Number[_0x5b4c6d(0x1ba)](0x67f93eb3),_0x45db70=0x10,_0x3008ad=0x1,_0x54e52d='SHEET_PIVOT_TABLE_PLUGIN',_0x549def=0x1,_0x1e0498=_0x5b4c6d(0xca),_0x4d69e8=_0x5b4c6d(0x324),_0x365ed1=_0x5b4c6d(0x388),_0x5b4741=_0x5b4c6d(0x25a),_0x45bcd1=_0x5b4c6d(0x25a),_0xb47cf5=_0x5b4c6d(0x35f),_0x4d9d36=_0x5b4c6d(0x288),_0xd4be27=_0x5b4c6d(0x383),_0xff8e87=_0x5b4c6d(0x1e0),_0x237744=_0x5b4c6d(0x288),_0x49c87c=_0x5b4c6d(0x383),_0x2f6957=_0x5b4c6d(0xc9),_0xd42983=0xe,_0x4f24ee=0x6;var _0x5242d0=(_0x2f7777=>(_0x2f7777[_0x5b4c6d(0x28e)]=_0x5b4c6d(0x93),_0x2f7777[_0x5b4c6d(0x21e)]=_0x5b4c6d(0x321),_0x2f7777))(_0x5242d0||{});const _0x5d52b8={'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':''}}},_0xffb05=0x1e,_0x11d583={'b':{'s':0x1,'cl':{'rgb':_0x365ed1}},'l':{'s':0x1,'cl':{'rgb':_0x365ed1}},'r':{'s':0x1,'cl':{'rgb':_0x365ed1}},'t':{'s':0x1,'cl':{'rgb':_0x365ed1}}},_0x41c7a5={'bg':{'rgb':_0x1e0498},'ht':0x2,'vt':0x2,'tb':0x1},_0x196547={'bg':{'rgb':_0x4d69e8},'ht':0x2,'vt':0x2,'tb':0x1},_0x5f2a0b={'rowStyle':{'bg':{'rgb':_0x2f6957},'bd':_0x11d583,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x237744},'bd':null,'cl':{'rgb':_0x49c87c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x11d583,'bg':{'rgb':_0xff8e87},'vt':0x2},'cornerStyle':{'bd':_0x11d583,'bg':{'rgb':_0xb47cf5},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x11d583,'bg':{'rgb':_0x5b4741},'vt':0x2},'leafStyle':{'bd':_0x11d583,'bg':{'rgb':_0x45bcd1},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x4d9d36},'cl':{'rgb':_0xd4be27},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x11d583,'vt':0x2}};function _0x178e92(_0x2245df,_0x51be87,_0x4560a9){const _0x9a8525=_0x5b4c6d,_0x4d742b=_0x2245df[_0x9a8525(0x177)](_0x2be92f[_0x9a8525(0x126)]),_0x171ecb=_0x4560a9[_0x9a8525(0xd6)]('_');switch(_0x51be87){case _0x949178[_0x9a8525(0x27a)]['Year']:return _0x4d742b['t'](_0x9a8525(0xe2),..._0x171ecb);case _0x949178[_0x9a8525(0x27a)][_0x9a8525(0x28b)]:return _0x4d742b['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x171ecb);case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0x9a8525(0x86)]:return _0x4d742b['t'](_0x9a8525(0x286),..._0x171ecb);case _0x949178[_0x9a8525(0x27a)][_0x9a8525(0x171)]:return _0x4d742b['t'](_0x9a8525(0xcb),..._0x171ecb);case _0x949178[_0x9a8525(0x27a)][_0x9a8525(0x373)]:return _0x4d742b['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x171ecb);case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0x9a8525(0x17a)]:return _0x4d742b['t'](_0x9a8525(0x159),..._0x171ecb);case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0x9a8525(0x130)]:return _0x4d742b['t'](_0x9a8525(0x1ee),..._0x171ecb);case _0x949178[_0x9a8525(0x27a)][_0x9a8525(0x1af)]:return _0x4d742b['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x171ecb);case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0x9a8525(0x266)]:return _0x4d742b['t'](_0x9a8525(0x15e),..._0x171ecb);case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0x9a8525(0x12a)]:return _0x4d742b['t'](_0x9a8525(0x75),..._0x171ecb);}return'';}const _0x1780b9=(_0x5cc52d,_0x21d4c0,_0x246719,_0x1ea778)=>{const _0x4e33e8=_0x5b4c6d;let _0x1aaec9;const _0x47cf13=_0x5cc52d['get'](_0x2be92f['IUniverInstanceService'])['getCurrentUnitForType'](_0x2be92f[_0x4e33e8(0x326)]['UNIVER_SHEET']);if(!_0x47cf13)return null;const _0xa207b8=_0x47cf13[_0x4e33e8(0x2f8)]();let _0x56cd27;if(_0x246719&&(_0x56cd27=_0xa207b8['setValue'](_0x246719)),_0x21d4c0!=null&&_0x21d4c0['v']||(_0x21d4c0==null?void 0x0:_0x21d4c0['v'])===0x0){_0x1aaec9||(_0x1aaec9={});const _0x4ddfb4=_0x3afadf(_0x21d4c0['v']);typeof _0x4ddfb4==_0x4e33e8(0x1b7)?_0x1aaec9['t']=_0x2be92f[_0x4e33e8(0x2f6)]['NUMBER']:typeof _0x4ddfb4==_0x4e33e8(0xd8)&&(_0x1aaec9['t']=_0x2be92f[_0x4e33e8(0x2f6)]['STRING']),_0x1aaec9['v']=_0x4ddfb4;}if((_0x21d4c0!=null&&_0x21d4c0['i']||(_0x21d4c0==null?void 0x0:_0x21d4c0['i'])===0x0)&&(_0x1aaec9||(_0x1aaec9={}),_0x1aaec9['fi']=_0x21d4c0['i']),_0x21d4c0!=null&&_0x21d4c0['s']&&(_0x1aaec9||(_0x1aaec9={}),_0x1aaec9[_0x4e33e8(0xac)]=_0x21d4c0['s']),_0x246719&&(_0x1aaec9||(_0x1aaec9={}),_0x1aaec9['s']=_0x56cd27),_0x1ea778&&_0x1aaec9!=null&&_0x1aaec9['v']&&_0x1aaec9[_0x4e33e8(0xac)]!==_0x949178[_0x4e33e8(0x285)][_0x4e33e8(0xf4)]&&_0x1aaec9[_0x4e33e8(0xac)]!==_0x949178[_0x4e33e8(0x285)]['Subtotal']){const _0x2cc6b7=String(_0x1aaec9['v']),{dateType:_0x2c69b6}=_0x1ea778;_0x1aaec9['v']=_0x178e92(_0x5cc52d,_0x2c69b6,_0x2cc6b7),_0x1aaec9['t']=_0x2be92f['CellValueType'][_0x4e33e8(0x2ed)];}return _0x1aaec9;},_0x3f0e6f=(_0x5064ae,_0x1301cf,_0x57ce10,_0x4f6825)=>{const _0x577a76=_0x5b4c6d;var _0x3bdc0d,_0x24e64a,_0x1d6a21,_0x25b4e7,_0x3da15a,_0x29c02a,_0xa885ae,_0x589573,_0x28565e,_0x5b64a9,_0x37def4,_0x213fe3,_0x22c018,_0x702929;const _0x28965f=_0x57ce10['targetCellInfo'],{cornerView:_0x3925a1,rowView:_0xbbdf3,colView:_0x1c2f9f,dataView:_0x4f26a4,pageView:_0x381ead,formatMap:_0xb51f2e,groupInfo:_0x22cf4b}=_0x1301cf,{row:_0x15d21b,col:_0x46472d}=_0x28965f,_0x40c8e7=new _0x2be92f[(_0x577a76(0x176))](),_0xfb47c4={},_0x88c86b={},_0xe4ab29={},_0x188946={},_0x321bbd={};let _0x1b89ec=_0x15d21b,_0x54a918=_0x46472d;Object[_0x577a76(0x102)](_0x381ead['data'])[_0x577a76(0x36a)](_0x43f196=>{const _0x216786=_0x577a76;Object[_0x216786(0x102)](_0x381ead[_0x216786(0x11f)][Number(_0x43f196)])[_0x216786(0x36a)](_0x4562b4=>{const _0x56f737=_0x216786,_0x6576a7={..._0x381ead[_0x56f737(0x11f)][Number(_0x43f196)][Number(_0x4562b4)]};_0x40c8e7['setValue'](Number(_0x43f196)+_0x1b89ec,Number(_0x4562b4)+_0x54a918,_0x1780b9(_0x5064ae,_0x6576a7,_0x5f2a0b[_0x56f737(0x331)]));});});const _0xb41d6b=Object['keys'](_0x381ead['data'])[_0x577a76(0xad)];_0x1b89ec+=_0xb41d6b+(_0xb41d6b?_0x549def:0x0);const _0x129e62=_0x3925a1[_0x577a76(0x312)](),_0x218c5d=_0x3925a1[_0x577a76(0x345)]();for(let _0x48c4b7=0x0;_0x48c4b7<_0x129e62;_0x48c4b7++)for(let _0x6fc192=0x0;_0x6fc192<_0x218c5d;_0x6fc192++){const _0xb566df={...(_0x24e64a=(_0x3bdc0d=_0x3925a1[_0x577a76(0x11f)])==null?void 0x0:_0x3bdc0d[_0x48c4b7])==null?void 0x0:_0x24e64a[_0x6fc192]};_0xb566df&&((_0x1d6a21=_0xbbdf3[_0x577a76(0x21c)][_0x6fc192])!=null&&_0x1d6a21[_0x577a76(0x170)])&&_0x6fc192===_0x218c5d-0x1&&_0x48c4b7===_0x129e62-0x1&&(_0xb566df['v']=''+_0x4f6825['sheets-pivot.value']),_0x40c8e7['setValue'](_0x48c4b7+_0x1b89ec,_0x6fc192+_0x54a918,_0x1780b9(_0x5064ae,_0xb566df,_0x5f2a0b[_0x577a76(0x12d)]));}for(let _0x244af2=0x0;_0x244af2<_0x3925a1[_0x577a76(0x1c9)][_0x577a76(0xad)];_0x244af2++)_0x3925a1[_0x577a76(0x1c9)][_0x244af2]&&(_0xe4ab29[''+(_0x244af2+_0x54a918)]=_0x3925a1[_0x577a76(0x1c9)][_0x244af2]);_0x54a918+=_0x218c5d;const _0x2789a3=_0x1c2f9f[_0x577a76(0x21c)],_0x2c0b04=_0x1c2f9f[_0x577a76(0x12c)]()>=0x0?_0x1c2f9f['getLastRow']()+0x1:0x0,_0x261028=_0x1c2f9f[_0x577a76(0x254)]()>=0x0?_0x1c2f9f[_0x577a76(0x254)]()+0x1:0x0;for(let _0x45a634=0x0;_0x45a634<_0x261028;_0x45a634++){for(let _0xe139b0=0x0;_0xe139b0<_0x2c0b04;_0xe139b0++){const _0xeb21ed={...(_0x3da15a=(_0x25b4e7=_0x1c2f9f[_0x577a76(0x11f)])==null?void 0x0:_0x25b4e7[_0xe139b0])==null?void 0x0:_0x3da15a[_0x45a634]},_0x2d21f8=(_0x29c02a=_0x2789a3[_0xe139b0])==null?void 0x0:_0x29c02a[_0x577a76(0x37a)],_0x7880a4=_0xb51f2e[_0x2d21f8],_0x50742f=_0x22cf4b[_0x2d21f8];_0xeb21ed&&(_0xeb21ed['v']=_0x306dd9(_0xeb21ed,_0xe139b0===0x0&&((_0xa885ae=_0x1c2f9f['getHeaderMapItem'](_0x45a634+0x1))==null?void 0x0:_0xa885ae[_0x577a76(0x170)]),_0x7880a4,_0x4f6825));let _0x53fee6;_0x7880a4?_0x53fee6={..._0x5f2a0b[_0x577a76(0x29e)],'n':{'pattern':_0x7880a4}}:_0x53fee6={..._0x5f2a0b['colStyle']},_0x40c8e7['setValue'](_0xe139b0+_0x1b89ec,_0x45a634+_0x54a918,_0x1780b9(_0x5064ae,_0xeb21ed,_0x53fee6,_0x50742f));}_0x1c2f9f[_0x577a76(0x1c9)][_0x45a634]&&(_0x88c86b[''+(_0x45a634+_0x54a918)]=_0x1c2f9f[_0x577a76(0x1c9)][_0x45a634]),_0x1c2f9f[_0x577a76(0x21c)][_0x45a634+0x1]&&(_0x321bbd[''+(_0x45a634+_0x1b89ec+0x1)]=_0x1c2f9f['headerMap'][_0x45a634+0x1]);}_0x1b89ec+=_0x129e62;const _0x27a70d=_0xbbdf3[_0x577a76(0x21c)],_0x1fc7a5=_0xbbdf3[_0x577a76(0x12c)]()>=0x0?_0xbbdf3['getLastRow']()+0x1:0x0,_0x31219d=_0xbbdf3[_0x577a76(0x254)]()>=0x0?_0xbbdf3[_0x577a76(0x254)]()+0x1:0x0;for(let _0x51a86f=0x0;_0x51a86f<_0x1fc7a5;_0x51a86f++){for(let _0x252a33=0x0;_0x252a33<_0x31219d;_0x252a33++){const _0x242bd1={...(_0x28565e=(_0x589573=_0xbbdf3[_0x577a76(0x11f)])==null?void 0x0:_0x589573[_0x51a86f])==null?void 0x0:_0x28565e[_0x252a33]},_0x3bb610=(_0x5b64a9=_0x27a70d[_0x252a33])==null?void 0x0:_0x5b64a9['tableFieldId'],_0x23fda5=_0xb51f2e[_0x3bb610],_0x4842de=_0x22cf4b[_0x3bb610];_0x242bd1&&(_0x242bd1['v']=_0x306dd9(_0x242bd1,!0x1,_0x23fda5,_0x4f6825));let _0x371189;_0xbbdf3['info'][_0x51a86f]['level']===_0xbbdf3[_0x577a76(0x345)]()?_0x371189=_0x5f2a0b[_0x577a76(0x33d)]:_0xbbdf3[_0x577a76(0x1c9)][_0x51a86f][_0x577a76(0x20f)]?_0x371189=_0xbbdf3[_0x577a76(0x1c9)][_0x51a86f][_0x577a76(0x329)]===0x0?_0x5f2a0b[_0x577a76(0xc0)]:_0x5f2a0b[_0x577a76(0x2ae)]:_0x371189=_0x5f2a0b[_0x577a76(0x252)],_0x23fda5&&(_0x371189={..._0x371189,'n':{'pattern':_0x23fda5}}),_0x40c8e7[_0x577a76(0x15a)](_0x51a86f+_0x1b89ec,_0x252a33+_0x46472d,_0x1780b9(_0x5064ae,_0x242bd1,_0x371189,_0x4842de));}_0xbbdf3['info'][_0x51a86f]&&(_0xfb47c4[''+(_0x51a86f+_0x1b89ec)]=_0xbbdf3[_0x577a76(0x1c9)][_0x51a86f]),_0xbbdf3[_0x577a76(0x21c)][_0x51a86f]&&(_0x188946[''+(_0x51a86f+_0x46472d)]=_0xbbdf3[_0x577a76(0x21c)][_0x51a86f]);}const _0x4bfb64=_0x4f26a4[_0x577a76(0x312)](),_0x4f2404=_0x4f26a4[_0x577a76(0x345)]();for(let _0xb640e0=0x0;_0xb640e0<_0x4bfb64;_0xb640e0++)for(let _0x4f000a=0x0;_0x4f000a<_0x4f2404;_0x4f000a++){const _0x4c1646={...(_0x213fe3=(_0x37def4=_0x4f26a4[_0x577a76(0x11f)])==null?void 0x0:_0x37def4[_0xb640e0])==null?void 0x0:_0x213fe3[_0x4f000a]};let _0x9ccd7;_0xbbdf3[_0x577a76(0x1c9)][_0xb640e0]['isBottomTotal']?_0x9ccd7=_0xbbdf3[_0x577a76(0x1c9)][_0xb640e0]['level']===0x0?_0x5f2a0b[_0x577a76(0xc0)]:_0x5f2a0b[_0x577a76(0x2ae)]:_0x9ccd7=_0x5f2a0b[_0x577a76(0x33c)];const _0x164625=_0xbbdf3[_0x577a76(0x1c9)][_0xb640e0][_0x577a76(0x2a1)],_0x33432f=_0x1c2f9f[_0x577a76(0x1c9)][_0x4f000a][_0x577a76(0x2a1)],_0x1462be=Math[_0x577a76(0x114)](_0x164625,_0x33432f),_0x35ddca=_0x57ce10['fieldsConfig'][_0x577a76(0x13d)][_0x577a76(0x158)]();let _0x261f58='';_0x1462be<0x0?_0x261f58=(_0x22c018=_0x35ddca[0x0])!=null?_0x22c018:'':_0x261f58=(_0x702929=_0x35ddca[_0x1462be])!=null?_0x702929:'';const _0x410531=_0xb51f2e[_0x261f58];_0x410531&&(_0x9ccd7={..._0x9ccd7,'n':{'pattern':_0x410531}}),_0x40c8e7['setValue'](_0xb640e0+_0x1b89ec,_0x4f000a+_0x54a918,_0x1780b9(_0x5064ae,_0x4c1646,_0x9ccd7));}return{'valueMatrix':_0x40c8e7,'rowInfo':_0xfb47c4,'colInfo':_0x88c86b,'cornerInfo':_0xe4ab29,'rowHeaderMap':_0x188946,'colHeaderMap':_0x321bbd};};function _0x306dd9(_0x1a1a09,_0x5a072c,_0x5a8288,_0x1734d6){const _0x1ff057=_0x5b4c6d;let _0xccc117=_0x1a1a09['v'];_0x5a072c&&(_0xccc117=''+_0x1734d6['sheets-pivot.value']);const _0xc5a347=_0x1a1a09['t']&&(_0x1a1a09['t']&_0x949178['PivotViewCellValueTypeEnum'][_0x1ff057(0x230)])>0x0;if(_0xc5a347&&(_0xccc117=''+_0x1734d6['sheets-pivot.blank']),_0x1a1a09['s']===_0x949178['PivotCellStyleTypeEnum']['Subtotal']){let _0x163747=_0xccc117,_0x35b19e='';_0x949178[_0x1ff057(0xb6)](_0xccc117)&&(_0x163747=_0xccc117[_0x1ff057(0x1fd)],_0x35b19e=_0xccc117['value']);const _0x22341c=_0x5a8288&&!_0xc5a347?_0x2be92f[_0x1ff057(0x343)][_0x1ff057(0x2f0)](_0x5a8288,Number(_0x163747)):_0x163747;_0x35b19e?_0xccc117=_0x22341c+'\x20'+_0x35b19e:_0xccc117=_0x22341c+'\x20'+_0x1734d6[_0x1ff057(0x1d6)];}else _0x1a1a09['s']===_0x949178[_0x1ff057(0x285)][_0x1ff057(0xf4)]&&(_0xccc117=_0xccc117+'\x20'+_0x1734d6[_0x1ff057(0x2cd)]);return _0xccc117;}function _0x3afadf(_0x2fff4d){const _0x5aa46d=_0x5b4c6d;if(_0x949178['isErrorValue'](_0x2fff4d)){const {errorType:_0x350d6e}=_0x2fff4d;switch(_0x350d6e){case _0x949178[_0x5aa46d(0x248)][_0x5aa46d(0x291)]:return _0x5172e4[_0x5aa46d(0x9b)]['DIV_BY_ZERO'];case _0x949178['PivotErrorTypeEnum'][_0x5aa46d(0x241)]:return _0x5172e4[_0x5aa46d(0x9b)][_0x5aa46d(0xed)];case _0x949178[_0x5aa46d(0x248)][_0x5aa46d(0x112)]:return _0x5172e4[_0x5aa46d(0x9b)][_0x5aa46d(0xb2)];case _0x949178['PivotErrorTypeEnum'][_0x5aa46d(0x23f)]:return _0x5172e4[_0x5aa46d(0x9b)][_0x5aa46d(0xb2)];case _0x949178[_0x5aa46d(0x248)][_0x5aa46d(0x103)]:return _0x5172e4[_0x5aa46d(0x9b)]['REF'];}}return _0x2fff4d;}function _0xca17aa(_0x16b02c,_0x102479,_0xd822f8=!0x1,_0x51f0c9=!0x1){const _0x320ede=_0x5b4c6d,{data:_0xc078e8}=_0x102479,_0x1b53b9=_0x102479['getRowCount'](),_0x115f19=_0x102479[_0x320ede(0x345)]();if(_0x1b53b9<=0x0||_0x115f19<=0x0)return[];const _0x15f278=_0x102479['getLastCol'](),_0x44db8f=_0x102479[_0x320ede(0x12c)](),_0x14f096=_0x51f0c9?_0x44db8f>=0x0?_0x44db8f+0x1:0x0:_0x1b53b9,_0x5a4ecf=_0x51f0c9?_0x15f278>=0x0?_0x15f278+0x1:0x0:_0x115f19,{row:_0x550512,col:_0x44f412}=_0x16b02c,_0x3478c9=_0x550512,_0x5889b4=_0x44f412;if(_0xd822f8){const _0x4463dc=[];for(const [_0x52d1f0,_0x1c6dd0]of Object[_0x320ede(0x88)](_0xc078e8))for(const [_0x2d07db,_0x167ae8]of Object['entries'](_0x1c6dd0))_0x4463dc[_0x320ede(0x1cc)](_0x2be92f['cellToRange'](_0x3478c9+Number(_0x52d1f0),_0x5889b4+Number(_0x2d07db)));return _0x4463dc;}else{const _0x2b48a4=_0x51f0c9?_0x14f096>0x0?0x1:0x0:0x1,_0x43eb66=_0x51f0c9?_0x5a4ecf>0x0?0x1:0x0:0x1,_0x365536=_0x550512+_0x14f096-_0x2b48a4,_0x35b3ff=_0x44f412+_0x5a4ecf-_0x43eb66;return[{'startRow':_0x3478c9,'startColumn':_0x5889b4,'endRow':_0x365536,'endColumn':_0x35b3ff}];}}const _0x47449f=_0x5b4c6d(0x165),_0x2a5bb6=_0x5b4c6d(0x215);var _0x357f41=(_0xc630e3=>(_0xc630e3[_0x5b4c6d(0x12e)]=_0x5b4c6d(0x135),_0xc630e3[_0x5b4c6d(0x10c)]=_0x5b4c6d(0x1b9),_0xc630e3[_0x5b4c6d(0x36f)]=_0x5b4c6d(0x30d),_0xc630e3[_0x5b4c6d(0x2ad)]=_0x5b4c6d(0x2ad),_0xc630e3['AddPivotTable']='addPivotTable',_0xc630e3[_0x5b4c6d(0x227)]=_0x5b4c6d(0x101),_0xc630e3['RemovePivotField']='removePivotField',_0xc630e3[_0x5b4c6d(0x2d7)]=_0x5b4c6d(0x212),_0xc630e3[_0x5b4c6d(0xde)]=_0x5b4c6d(0x29c),_0xc630e3[_0x5b4c6d(0x213)]='setPivotSort',_0xc630e3[_0x5b4c6d(0x381)]=_0x5b4c6d(0xce),_0xc630e3['UpdatePivotSource']='updatePivotSource',_0xc630e3['UpdateValuePosition']='updateValuePosition',_0xc630e3['DrillDown']=_0x5b4c6d(0x25c),_0xc630e3[_0x5b4c6d(0xbc)]='setValuePivotFilter',_0xc630e3[_0x5b4c6d(0x1d9)]=_0x5b4c6d(0xe8),_0xc630e3['ResetPivotTable']='resetPivotTable',_0xc630e3))(_0x357f41||{});const _0x22c154={'sheets-pivot.blankValue':_0x5b4c6d(0x18f),'sheets-pivot.columnName':_0x5b4c6d(0x20a),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x5b4c6d(0xda),'sheets-pivot.valueText':_0x5b4c6d(0x105),'sheets-pivot.averageName':_0x5b4c6d(0x243),'sheets-pivot.countName':_0x5b4c6d(0x2d2),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x5b4c6d(0x71),'sheets-pivot.productName':_0x5b4c6d(0x113),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x5b4c6d(0x10a),'sheets-pivot.sumName':_0x5b4c6d(0x154),'sheets-pivot.varName':_0x5b4c6d(0x385),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x5b4c6d(0xe9),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x5b4c6d(0x230),'sheets-pivot.emptyPivot.filter':_0x5b4c6d(0x12e),'sheets-pivot.emptyPivot.row':_0x5b4c6d(0x2bc),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x5b4c6d(0x300)},_0x2a4ef2={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x26e2dc=_0x2be92f[_0x5b4c6d(0x2e5)](_0x5b4c6d(0xd7)),_0xdfc14c=_0x2be92f[_0x5b4c6d(0x95)](_0x5b4c6d(0x2ec));var _0x1f8109=(_0xc5c266=>(_0xc5c266[_0x5b4c6d(0xe3)]='add',_0xc5c266[_0x5b4c6d(0x236)]='delete',_0xc5c266[_0x5b4c6d(0x9c)]=_0x5b4c6d(0x9c),_0xc5c266))(_0x1f8109||{}),_0x1bbb8c=(_0x5d52cb=>(_0x5d52cb[_0x5b4c6d(0x287)]=_0x5b4c6d(0xe3),_0x5d52cb['Set']=_0x5b4c6d(0xe6),_0x5d52cb['Delete']=_0x5b4c6d(0x236),_0x5d52cb))(_0x1bbb8c||{});const _0x11c203={0x0:'G',0x1:'E',0x2:'a',0x3:'P',0x4:'k',0x5:'s',0x6:'V',0x7:'x',0x8:'H',0x9:'Z','W':'0','U':'1','l':'2','t':'3','w':'4','a':'5','e':'6','K':'7','I':'8','O':'9','j':'b','k':'c','m':'d','V':'e','L':'f','N':'g','B':'h','y':'i','g':'j','P':'l','J':'m','n':'n','C':'o','R':'p','s':'q','D':'r','h':'t','r':'u','M':'v','G':'w','H':'y','Q':'z','Y':'A','x':'B','S':'C','f':'D','X':'F','o':'I','T':'J','v':'K','u':'L','c':'M','A':'N','i':'O','Z':'Q','E':'R','z':'S','b':'T','F':'U','q':'W','p':'X','d':'Y'},_0xba6fa9=_0x5b4c6d(0x1a2),_0x2ef776={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x1ad),'handler':()=>!0x0},_0x5b3f8e={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x306),'handler':()=>!0x0},_0x24b222={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['MUTATION'],'id':_0x5b4c6d(0x2ef),'handler':()=>!0x0},_0x4c61bc={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x115),'handler':()=>!0x0},_0x5273d0={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x1b0),'handler':()=>!0x0},_0x3565bf=_0x13b9f4=>{const _0x3d7ccc=_0x5b4c6d;var _0x2b7fd2;return((_0x2b7fd2=_0x13b9f4[_0x3d7ccc(0x205)])==null?void 0x0:_0x2b7fd2[_0x3d7ccc(0x35c)][_0x3d7ccc(0x224)](/\r\n$/,''))||'';};class _0x561254 extends _0x949178[_0x5b4c6d(0x259)]{constructor(_0x188c12,_0x551272){const _0x2a7e44=_0x5b4c6d;super(),_0x102d83(this,'rangeKeyMap',{}),_0x102d83(this,_0x2a7e44(0x35d)),_0x102d83(this,'_host'),(this[_0x2a7e44(0x35d)]=_0x551272,this[_0x2a7e44(0x182)]=_0x188c12);}[_0x5b4c6d(0x10d)](){const _0x225f05=_0x5b4c6d;for(const _0x7d4140 in this[_0x225f05(0x222)]){const _0x4da6c9=this[_0x225f05(0x222)][_0x7d4140],_0x3cd774=_0x4da6c9[_0x225f05(0xa5)]();this[_0x225f05(0xf5)][_0x3cd774]=_0x4da6c9['getId']();}}['getAutoDisplayNameFunction'](){const _0x1e2299=this['_host'];return _0x1c2326['bind'](_0x1e2299);}[_0x5b4c6d(0x1de)](_0x2b2ffe){const _0x1bbd45=_0x5b4c6d,_0x512a0d=this[_0x1bbd45(0x222)][_0x2b2ffe]['rangeKey'];delete this[_0x1bbd45(0x222)][_0x2b2ffe],delete this[_0x1bbd45(0xf5)][_0x512a0d];}[_0x5b4c6d(0x25e)](_0x50ffbe){const _0x4e7aed=_0x5b4c6d;this['dataFields'][_0x50ffbe[_0x4e7aed(0x13b)]()]=_0x50ffbe;}['removeCollectionImp'](_0x1e2022){const _0x3fe4e2=_0x5b4c6d;var _0x73ee52,_0x358fd7;const _0x4241a3=this[_0x3fe4e2(0x182)][_0x3fe4e2(0x1b1)](_0x1e2022);if(_0x4241a3){const {unitId:_0x46b149,subUnitId:_0x2e0e56}=_0x4241a3,_0x593edc=(_0x73ee52=this[_0x3fe4e2(0x182)][_0x3fe4e2(0x290)](_0x46b149,_0x2e0e56,_0x1e2022))==null?void 0x0:_0x73ee52[_0x3fe4e2(0x1fb)];this['_host'][_0x3fe4e2(0x269)]({'token':_0x1e2022,'type':_0x1f8109['delete'],'dataRangeInfo':_0x593edc});}(_0x358fd7=this[_0x3fe4e2(0x28c)](_0x1e2022))==null||_0x358fd7['dispose'](),delete this[_0x3fe4e2(0x307)][_0x1e2022];}[_0x5b4c6d(0xa5)](_0x2148c7,_0x312bda){const {sheetName:_0x2d9d4f,unitId:_0x4863d5,range:_0x4669f7}=_0x2148c7,{startRow:_0x3492f9,endRow:_0x4f7a92}=_0x4669f7;return _0x5172e4['serializeRangeWithSpreadsheet'](_0x4863d5,_0x2d9d4f,{'startRow':_0x3492f9,'endRow':_0x4f7a92,'startColumn':_0x312bda,'endColumn':_0x312bda});}[_0x5b4c6d(0x239)](_0x5afd37){return this['dataFields'][this['rangeKeyMap'][_0x5afd37]];}['setRangeKeyMap'](_0x2cfda4,_0x34b6f9){this['rangeKeyMap'][_0x2cfda4]=_0x34b6f9;}['updateRangeKeyMap'](_0xfbaa92,_0x29d6ef){const _0x1c3936=_0x5b4c6d;this[_0x1c3936(0xf5)][_0x29d6ef]=this[_0x1c3936(0xf5)][_0xfbaa92],delete this[_0x1c3936(0xf5)][_0xfbaa92];}[_0x5b4c6d(0x23e)](_0x23ab8c,_0x134e4f,_0x315a89,_0x5f7da5){const _0x200fc5=_0x5b4c6d,_0x176724=new _0x949178[(_0x200fc5(0x246))](this);_0x176724[_0x200fc5(0x129)](_0x134e4f);const _0x44a32c=[];let _0x36024a=0x0;for(const _0x1317eb of _0x176724[_0x200fc5(0x7e)]){const _0x2f1626=this['getRangeKey'](_0x315a89,_0x36024a),_0x4915e4=this['dataFields'][_0x1317eb];_0x4915e4&&(_0x4915e4[_0x200fc5(0x303)]=_0x2f1626,this['setRangeKeyMap'](_0x2f1626,_0x1317eb),_0x44a32c[_0x200fc5(0x1cc)]({'index':_0x36024a,'dataField':_0x4915e4})),_0x36024a++;}return this['addCollection'](_0x23ab8c,_0x176724,_0x315a89,_0x5f7da5),{'collection':_0x176724,'updateDataFieldList':_0x44a32c};}[_0x5b4c6d(0x295)](_0x5f1f2c,_0x5aa059){const _0x39b805=_0x5b4c6d;return _0x5f1f2c[_0x39b805(0x145)]===_0x2be92f[_0x39b805(0x123)][_0x39b805(0x2f7)]?{'startRow':0x0,'startColumn':_0x5f1f2c[_0x39b805(0x281)],'endRow':_0x5aa059['getRowCount']()-0x1,'endColumn':_0x5f1f2c['endColumn']}:{'startRow':_0x5f1f2c[_0x39b805(0xee)],'startColumn':_0x5f1f2c[_0x39b805(0x281)],'endRow':_0x5f1f2c[_0x39b805(0x87)],'endColumn':_0x5f1f2c[_0x39b805(0x249)]};}[_0x5b4c6d(0x1a6)](_0x52e906){const _0x5d8682=_0x5b4c6d,{sheetName:_0x4eefc4,range:_0x548e54}=_0x52e906,_0x5b5cb4=this[_0x5d8682(0x35d)][_0x5d8682(0xc4)](_0x2be92f[_0x5d8682(0x326)][_0x5d8682(0x150)]),_0x3f8a58=_0x5b5cb4['getSheetBySheetName'](_0x4eefc4),_0x5b5b82=_0x3f8a58['getCellMatrix'](),{startColumn:_0xb32f16,startRow:_0x336a00,endColumn:_0x5dcbfe}=this[_0x5d8682(0x295)](_0x548e54,_0x3f8a58),_0x1b07a8=_0x5b5cb4[_0x5d8682(0x2f8)](),_0xa4312=new _0x949178[(_0x5d8682(0x246))](this);_0xa4312[_0x5d8682(0x289)](_0x52e906);const _0x32aa17=[],_0x451357={};for(let _0x3a6292=_0xb32f16;_0x3a6292<=_0x5dcbfe;_0x3a6292++){const _0x32d34f=_0x5b5b82[_0x5d8682(0x206)](_0x336a00,_0x3a6292),_0x7daf0f=this[_0x5d8682(0xa5)](_0x52e906,_0x3a6292),_0x534b9f=this['getDataFieldByRangeKey'](_0x7daf0f);if(_0x534b9f)_0xa4312[_0x5d8682(0x2da)](_0x534b9f[_0x5d8682(0x13b)](),_0x534b9f[_0x5d8682(0x136)]());else{const _0x1a5009=this[_0x5d8682(0x31c)]();let _0x57d4ce=this[_0x5d8682(0x2d8)](_0x32d34f,_0x1b07a8,_0x451357);_0x949178[_0x5d8682(0x2ee)](_0x57d4ce)&&(_0x57d4ce=_0x2be92f[_0x5d8682(0x343)][_0x5d8682(0x2f0)](_0x57d4ce['f'],Number(_0x57d4ce['v'])));const _0x978e82=this['uniqueDataFieldName'](_0x57d4ce,_0x3a6292),_0x6ba888=new _0x949178['DataField'](_0x1a5009,_0x978e82,_0x949178[_0x5d8682(0x107)](0x3));_0x6ba888[_0x5d8682(0x303)]=_0x7daf0f,this['dataFields'][_0x1a5009]=_0x6ba888,_0xa4312[_0x5d8682(0x2da)](_0x1a5009,_0x978e82),_0x32aa17[_0x5d8682(0x1cc)]({'index':_0x3a6292,'dataField':_0x6ba888});}}return{'updateDataFieldList':_0x32aa17,'collection':_0xa4312};}['_getAutoName'](_0x453579){const _0x41e0c2=_0x5b4c6d;return this[_0x41e0c2(0x182)]['getTextInfo']()[_0x41e0c2(0x1b4)]+'\x20'+_0x2be92f[_0x41e0c2(0x1d7)](_0x453579);}[_0x5b4c6d(0x2b0)](_0x5e8926,_0x31267f){const _0x2efce0=_0x5b4c6d;return _0x5e8926==null||_0x5e8926===''?this[_0x2efce0(0x349)](_0x31267f):String(_0x5e8926);}[_0x5b4c6d(0x28c)](_0x5b8b00){return this['collections'][_0x5b8b00];}[_0x5b4c6d(0x2b9)](_0x480bc8,_0x59366a,_0x2eb4df,_0xa86e00){const _0x24104e=_0x5b4c6d;this[_0x24104e(0x307)][_0x480bc8]=_0x59366a,_0x59366a[_0x24104e(0x289)](_0x2eb4df),this[_0x24104e(0x182)]['broadcastCollectionChange']({'token':_0x480bc8,'type':_0x1f8109[_0x24104e(0xe3)],'dataRangeInfo':_0x2eb4df,'targetCellInfo':_0xa86e00});}[_0x5b4c6d(0xb9)](_0x2c664d,_0x4eb1e9){const _0x48ac3d=_0x5b4c6d,_0x5a7aa3=this[_0x48ac3d(0x28c)](_0x2c664d),_0x4b08af=_0x5a7aa3[_0x48ac3d(0x225)]();let _0x410a97=0x0;for(const _0x1512a6 of _0x4b08af){const _0x1d63f1=_0x5a7aa3[_0x48ac3d(0x181)](_0x1512a6),_0x120d21=this['getRangeKey'](_0x4eb1e9,_0x410a97);this[_0x48ac3d(0x240)](_0x1d63f1[_0x48ac3d(0x303)],_0x120d21),_0x410a97++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x5b4c6d(0x24d)](_0x44d6dc,_0xf7906c){const _0x3e1976=_0x5b4c6d;if(this[_0x3e1976(0x28c)](_0x44d6dc)){const _0x3859f5=this[_0x3e1976(0x172)](_0xf7906c),_0x2ff545=[];for(const _0x4f73aa of _0x3859f5)this[_0x3e1976(0xf5)][_0x4f73aa]!==void 0x0&&_0x2ff545['push'](this['rangeKeyMap'][_0x4f73aa]);const _0x3bd4ff=this[_0x3e1976(0x1ce)](_0x44d6dc),_0x21cada=[],_0x5b0202=new Set(_0x2ff545);for(const _0x327002 of _0x3bd4ff)_0x5b0202['has'](_0x327002)||_0x21cada[_0x3e1976(0x1cc)](_0x327002);return _0x21cada;}}['getMatrixValue'](_0xab45e7,_0x1fbc19,_0x6cea99,_0x2dd41d,_0x1cd167){const _0x268ab8=_0x5b4c6d;return _0x1fbc19&&_0x1fbc19[_0x268ab8(0x206)](_0x2dd41d,_0x1cd167)?_0x1fbc19[_0x268ab8(0x206)](_0x2dd41d,_0x1cd167):_0x6cea99&&_0x6cea99[_0x268ab8(0x206)](_0x2dd41d,_0x1cd167)?_0x6cea99[_0x268ab8(0x206)](_0x2dd41d,_0x1cd167):_0xab45e7[_0x268ab8(0x206)](_0x2dd41d,_0x1cd167);}[_0x5b4c6d(0xbe)](_0x45a07b,_0x1e9e8f,_0x33410d,_0x59bf44){const _0xedd7cc=_0x5b4c6d,_0x20f54c=this[_0xedd7cc(0x222)][_0x45a07b];if(!_0x20f54c)return;const {subUnitId:_0x3de361,range:_0x50ee03,unitId:_0x16c00f}=_0x1e9e8f,_0x58b49c=this[_0xedd7cc(0x35d)][_0xedd7cc(0x2fd)](_0x16c00f);if(!_0x58b49c){console[_0xedd7cc(0x14b)](_0xedd7cc(0x31d));return;}const _0x5e7af6=_0x58b49c[_0xedd7cc(0xc6)](_0x3de361),_0x32a49e=_0x5e7af6[_0xedd7cc(0x314)](),{arrayFormulaCellDataMatrix:_0x543f41,unitDataMatrix:_0x1f4e1b}=_0x59bf44||{},{startRow:_0x4f36ff,startColumn:_0x3312e3,endRow:_0x2024d6}=this[_0xedd7cc(0x295)](_0x50ee03,_0x5e7af6);_0x20f54c[_0xedd7cc(0x2b5)]();const _0x422d4c=_0x58b49c['getStyles'](),_0x430f11={},_0x393e43=this[_0xedd7cc(0x8f)](_0x32a49e,_0x543f41,_0x1f4e1b,_0x4f36ff,_0x3312e3+_0x33410d);let _0x13ec96=this[_0xedd7cc(0x2d8)](_0x393e43,_0x422d4c,_0x430f11);_0x949178['isDateValue'](_0x13ec96)&&(_0x13ec96=_0x2be92f[_0xedd7cc(0x343)]['format'](_0x13ec96['f'],Number(_0x13ec96['v'])));const _0xdfafab=this[_0xedd7cc(0x2b0)](_0x13ec96,_0x3312e3+_0x33410d);_0x20f54c[_0xedd7cc(0x2a7)](_0xdfafab);for(let _0x37d377=_0x4f36ff+0x1;_0x37d377<=_0x2024d6;_0x37d377++){const _0x3e099b=this[_0xedd7cc(0x8f)](_0x32a49e,_0x543f41,_0x1f4e1b,_0x37d377,_0x3312e3+_0x33410d);_0x20f54c[_0xedd7cc(0x30c)](this[_0xedd7cc(0x2d8)](_0x3e099b,_0x422d4c,_0x430f11),_0x37d377-0x1-_0x4f36ff);}}[_0x5b4c6d(0x332)](_0x54ebd5,_0x5cac39,_0x5b273b){const _0x54945c=_0x5b4c6d,{subUnitId:_0x2a4767,range:_0x189e1f,unitId:_0x130f21}=_0x5b273b,_0x162faa=this['_univerInstanceService']['getUnit'](_0x130f21);if(!_0x162faa){console[_0x54945c(0x14b)](_0x54945c(0x31d));return;}const _0x3c037b=_0x162faa[_0x54945c(0xc6)](_0x2a4767),_0x34db1a=_0x3c037b[_0x54945c(0x314)](),{startRow:_0x58cea0,startColumn:_0x1b1f90,endRow:_0x2fcf33}=this[_0x54945c(0x295)](_0x189e1f,_0x3c037b),_0x4ce0bc=_0x162faa[_0x54945c(0x2f8)](),_0x359984={};for(const {dataField:_0x2be9ca,index:_0x25a012}of _0x5cac39){_0x2be9ca[_0x54945c(0x2b5)]();const _0x325a71=this[_0x54945c(0x8f)](_0x34db1a,void 0x0,void 0x0,_0x58cea0,_0x1b1f90+_0x25a012);let _0x5ad4e8=this['adjustSheetCellData'](_0x325a71,_0x4ce0bc,_0x359984);_0x949178[_0x54945c(0x2ee)](_0x5ad4e8)&&(_0x5ad4e8=_0x2be92f[_0x54945c(0x343)][_0x54945c(0x2f0)](_0x5ad4e8['f'],Number(_0x5ad4e8['v'])));const _0x39fac2=this[_0x54945c(0x2b0)](_0x5ad4e8,_0x1b1f90+_0x25a012);_0x2be9ca[_0x54945c(0x2a7)](_0x39fac2);}_0x54ebd5['updateAllDisplayName']();for(let _0x226880=_0x58cea0+0x1;_0x226880<=_0x2fcf33;_0x226880++)for(const {index:_0x371f44,dataField:_0x5bfa0e}of _0x5cac39){const _0x28fcfc=_0x34db1a[_0x54945c(0x206)](_0x226880,_0x1b1f90+_0x371f44);_0x5bfa0e[_0x54945c(0x30c)](this[_0x54945c(0x2d8)](_0x28fcfc,_0x4ce0bc,_0x359984),_0x226880-0x1-_0x58cea0);}_0x54ebd5['setDataRecordCount'](_0x2fcf33-_0x58cea0);}['getRangeKeyList'](_0x3eec46){const _0x10e0f2=_0x5b4c6d,{range:_0x3d7b14}=_0x3eec46,{startColumn:_0x5d11e3,endColumn:_0x5df705}=_0x3d7b14,_0x268933=[];for(let _0x8282c9=_0x5d11e3;_0x8282c9<=_0x5df705;_0x8282c9++)_0x268933['push'](this[_0x10e0f2(0xa5)](_0x3eec46,_0x8282c9));return _0x268933;}[_0x5b4c6d(0x2d8)](_0x52c3b6,_0xc116de,_0x1324b5){const _0x5b1ba5=_0x5b4c6d;if(_0x52c3b6){const {s:_0x20298c,v:_0x104bbb,t:_0x5e871f,p:_0x2f9396}=_0x52c3b6;if(_0x2f9396)return _0x3565bf(_0x2f9396);const _0x2a5d32=_0xc116de['get'](_0x20298c);if(_0x2a5d32&&_0x5e871f===_0x2be92f[_0x5b1ba5(0x2f6)][_0x5b1ba5(0x250)]&&_0x2a5d32['n']){const {pattern:_0x568420}=_0x2a5d32['n'];_0x1324b5[_0x568420]||(_0x1324b5[_0x568420]=_0x2be92f['numfmt'][_0x5b1ba5(0x26b)](_0x568420));const _0x1f7980=_0x1324b5[_0x568420],_0xaab0ac=_0x1f7980['isDate'];if(_0x1f7980[_0x5b1ba5(0x84)])return String(_0x104bbb);if(_0xaab0ac)return{'v':_0x104bbb,'f':_0x568420};}if(_0x5e871f===_0x2be92f[_0x5b1ba5(0x2f6)][_0x5b1ba5(0x250)])return Number(_0x104bbb);if(_0x5e871f===_0x2be92f[_0x5b1ba5(0x2f6)][_0x5b1ba5(0x2ed)]||_0x5e871f===_0x2be92f['CellValueType'][_0x5b1ba5(0x31f)])return String(_0x104bbb);if(_0x5e871f===void 0x0){const _0x191002=Number(_0x104bbb);if(!Number[_0x5b1ba5(0x18a)](_0x191002)&&String(_0x191002)===_0x104bbb)return _0x191002;}return _0x104bbb!=null?_0x104bbb:null;}else return null;}[_0x5b4c6d(0x1f1)](_0x1bf3cf){const _0xccb426=_0x5b4c6d,{sheetName:_0x4b4f38,range:_0x2be9c4,unitId:_0x157ada}=_0x1bf3cf,_0x125819=this[_0xccb426(0x35d)]['getUnit'](_0x157ada);if(!_0x125819)return console['error']('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x203683=_0x125819['getSheetBySheetName'](_0x4b4f38),_0x3c1805=_0x203683[_0xccb426(0x314)](),{startRow:_0x34e00e,startColumn:_0x2015e6,endRow:_0x150969,endColumn:_0x372106}=this[_0xccb426(0x295)](_0x2be9c4,_0x203683),_0xdeecaa=_0x125819[_0xccb426(0x2f8)](),_0x5dc15b=[],_0x2fc87b=[],_0x200044={};for(let _0x493f87=_0x34e00e;_0x493f87<=_0x150969;_0x493f87++){const _0x5990d0=[];for(let _0x166bbc=_0x2015e6;_0x166bbc<=_0x372106;_0x166bbc++){const _0x5dd7b5=_0x3c1805[_0xccb426(0x206)](_0x493f87,_0x166bbc);_0x493f87===_0x34e00e?_0x5dc15b[_0xccb426(0x1cc)](_0x5dd7b5==null?null:String(_0x5dd7b5['v'])):_0x5990d0['push'](this[_0xccb426(0x2d8)](_0x5dd7b5,_0xdeecaa,_0x200044));}_0x2fc87b[_0xccb426(0x1cc)](_0x5990d0);}return{'header':_0x5dc15b,'data':_0x2fc87b};}['toJSON'](){const _0x2682d9=_0x5b4c6d;return super[_0x2682d9(0x120)]();}['fromJSON'](_0x56f95c){const _0x3a1724=_0x5b4c6d;super[_0x3a1724(0x129)](_0x56f95c),this['initDataRanges']();}['dispose'](){const _0x1b69d5=_0x5b4c6d;super['dispose'](),this[_0x1b69d5(0xf5)]={},this[_0x1b69d5(0x182)]=null;}}const _0x2cce0b=_0xa4536c=>{const _0x4011bd=_0x5b4c6d,{targetCellInfo:_0x9f288a}=_0xa4536c,{matrixCache:_0x5352ca,rangesCache:_0x5a2528}=_0x28cda4({'filter':_0x4011bd(0x12e),'row':_0x4011bd(0x2bc),'column':_0x4011bd(0x16e),'values':_0x4011bd(0x300)},_0x9f288a),_0x2b47ef=new _0x2be92f[(_0x4011bd(0x176))]();return _0x5352ca[_0x4011bd(0x2eb)]((_0x46204c,_0xd3ef2c,_0x4b0487)=>{_0x2b47ef['setValue'](_0x46204c,_0xd3ef2c,_0x4b0487);}),{'matrix':_0x2b47ef,'rangesCache':_0x5a2528};},_0x2f5866=_0x33c1f7=>{const _0x228f59=_0x5b4c6d;let _0x51d368;if(_0x33c1f7!=null&&_0x33c1f7['v']||(_0x33c1f7==null?void 0x0:_0x33c1f7['v'])===0x0){_0x51d368||(_0x51d368={});const _0x39b83a=_0x3afadf(_0x33c1f7['v']);typeof _0x39b83a==_0x228f59(0x1b7)?_0x51d368['t']=_0x2be92f[_0x228f59(0x2f6)][_0x228f59(0x250)]:typeof _0x39b83a==_0x228f59(0xd8)&&(_0x51d368['t']=_0x2be92f[_0x228f59(0x2f6)][_0x228f59(0x2ed)]),_0x51d368['v']=_0x39b83a;}return _0x51d368;},_0x1c2b95=(_0x47085d,_0x50d200,_0xaa3a58)=>{const _0xcacc3f=_0x5b4c6d;var _0x24622b,_0x4581ec,_0x1c8e8c,_0x1038a3,_0x2c5021,_0x7103bd,_0x436ed3,_0x51d878,_0x56e026,_0x1c43f0,_0x2df7bb,_0x58f8a7;const {cornerView:_0x518a53,rowView:_0xd7cd5e,colView:_0x24f15d,dataView:_0x380f92,pageView:_0x1516bf,formatMap:_0x5ce6b4}=_0x47085d,{row:_0x1a2ac3,col:_0x41d00a}=_0x50d200,_0x8107c6=new _0x2be92f[(_0xcacc3f(0x176))]();let _0x2d591f=_0x1a2ac3,_0x27d09b=_0x41d00a;Object['keys'](_0x1516bf[_0xcacc3f(0x11f)])[_0xcacc3f(0x36a)](_0x1ab962=>{const _0x4cb1ed=_0xcacc3f;Object[_0x4cb1ed(0x102)](_0x1516bf[_0x4cb1ed(0x11f)][Number(_0x1ab962)])[_0x4cb1ed(0x36a)](_0x3f8d37=>{const _0x2867a9=_0x4cb1ed,_0x34b267={..._0x1516bf[_0x2867a9(0x11f)][Number(_0x1ab962)][Number(_0x3f8d37)]};_0x8107c6[_0x2867a9(0x15a)](Number(_0x1ab962)+_0x2d591f,Number(_0x3f8d37)+_0x27d09b,_0x2f5866(_0x34b267));});});const _0xb2ac7b=Object[_0xcacc3f(0x102)](_0x1516bf[_0xcacc3f(0x11f)])[_0xcacc3f(0xad)];_0x2d591f+=_0xb2ac7b+(_0xb2ac7b?_0x549def:0x0);const _0x4a8f66=_0x518a53[_0xcacc3f(0x312)](),_0xbd8bca=_0x518a53[_0xcacc3f(0x345)]();for(let _0x2a6537=0x0;_0x2a6537<_0x4a8f66;_0x2a6537++)for(let _0x23a9c3=0x0;_0x23a9c3<_0xbd8bca;_0x23a9c3++){const _0x56b69f={...(_0x4581ec=(_0x24622b=_0x518a53[_0xcacc3f(0x11f)])==null?void 0x0:_0x24622b[_0x2a6537])==null?void 0x0:_0x4581ec[_0x23a9c3]};_0x56b69f&&((_0x1c8e8c=_0xd7cd5e[_0xcacc3f(0x21c)][_0x23a9c3])!=null&&_0x1c8e8c[_0xcacc3f(0x170)])&&_0x23a9c3===_0xbd8bca-0x1&&_0x2a6537===_0x4a8f66-0x1&&(_0x56b69f['v']=''+_0xaa3a58['sheets-pivot.value']),_0x8107c6[_0xcacc3f(0x15a)](_0x2a6537+_0x2d591f,_0x23a9c3+_0x27d09b,_0x2f5866(_0x56b69f));}_0x27d09b+=_0xbd8bca;const _0x35a93d=_0x24f15d[_0xcacc3f(0x21c)],_0x5254b5=_0x24f15d[_0xcacc3f(0x12c)]()>=0x0?_0x24f15d['getLastRow']()+0x1:0x0,_0x9c73c1=_0x24f15d[_0xcacc3f(0x254)]()>=0x0?_0x24f15d[_0xcacc3f(0x254)]()+0x1:0x0;for(let _0x178f8d=0x0;_0x178f8d<_0x9c73c1;_0x178f8d++)for(let _0x4a82df=0x0;_0x4a82df<_0x5254b5;_0x4a82df++){const _0x59df4b={...(_0x2c5021=(_0x1038a3=_0x24f15d[_0xcacc3f(0x11f)])==null?void 0x0:_0x1038a3[_0x178f8d])==null?void 0x0:_0x2c5021[_0x4a82df]},_0x73c22f=(_0x7103bd=_0x35a93d[_0x178f8d])==null?void 0x0:_0x7103bd[_0xcacc3f(0x37a)],_0x29fea5=_0x5ce6b4[_0x73c22f];_0x59df4b&&(_0x59df4b['v']=_0x306dd9(_0x59df4b,_0x178f8d===0x0&&((_0x436ed3=_0x24f15d[_0xcacc3f(0x251)](_0x4a82df+0x1))==null?void 0x0:_0x436ed3['isValue']),_0x29fea5,_0xaa3a58)),_0x8107c6[_0xcacc3f(0x15a)](_0x178f8d+_0x2d591f,_0x4a82df+_0x27d09b,_0x2f5866(_0x59df4b));}_0x2d591f+=_0x4a8f66;const _0x437834=_0xd7cd5e[_0xcacc3f(0x21c)],_0x26aaf6=_0xd7cd5e[_0xcacc3f(0x12c)]()>=0x0?_0xd7cd5e[_0xcacc3f(0x12c)]()+0x1:0x0,_0x508013=_0xd7cd5e[_0xcacc3f(0x254)]()>=0x0?_0xd7cd5e['getLastCol']()+0x1:0x0;for(let _0xf09f3e=0x0;_0xf09f3e<_0x26aaf6;_0xf09f3e++)for(let _0x345373=0x0;_0x345373<_0x508013;_0x345373++){const _0x83c382={...(_0x56e026=(_0x51d878=_0xd7cd5e[_0xcacc3f(0x11f)])==null?void 0x0:_0x51d878[_0xf09f3e])==null?void 0x0:_0x56e026[_0x345373]},_0x57d37d=(_0x1c43f0=_0x437834[_0x345373])==null?void 0x0:_0x1c43f0[_0xcacc3f(0x37a)],_0x52e3b8=_0x5ce6b4[_0x57d37d];_0x83c382&&(_0x83c382['v']=_0x306dd9(_0x83c382,!0x1,_0x52e3b8,_0xaa3a58)),_0x8107c6[_0xcacc3f(0x15a)](_0xf09f3e+_0x2d591f,_0x345373+_0x41d00a,_0x2f5866(_0x83c382));}const _0x4a75a3=_0x380f92[_0xcacc3f(0x312)](),_0x4b8178=_0x380f92[_0xcacc3f(0x345)]();for(let _0x50d949=0x0;_0x50d949<_0x4a75a3;_0x50d949++)for(let _0x427ce5=0x0;_0x427ce5<_0x4b8178;_0x427ce5++){const _0x139dd2={...(_0x58f8a7=(_0x2df7bb=_0x380f92[_0xcacc3f(0x11f)])==null?void 0x0:_0x2df7bb[_0x50d949])==null?void 0x0:_0x58f8a7[_0x427ce5]};_0x8107c6[_0xcacc3f(0x15a)](_0x50d949+_0x2d591f,_0x427ce5+_0x27d09b,_0x2f5866(_0x139dd2));}return _0x8107c6;},_0x52d9c0=_0x3b412d=>{const _0x340bf8=_0x5b4c6d,{view:_0x2ce44b,targetCellInfo:_0x4fa3d9,isEmpty:_0x4f9bda,textInfo:_0x2c66ef}=_0x3b412d;if(_0x4f9bda)return _0x2cce0b(_0x3b412d);const {pageView:_0x448837,cornerView:_0x3534ed,rowView:_0x989978,colView:_0x24382d,dataView:_0x305591}=_0x2ce44b,_0x4b7e4a=_0xca17aa(_0x4fa3d9,_0x448837,!0x0),_0x35d6ff=_0x448837['lastRow']>=0x0?_0x448837[_0x340bf8(0x308)]+0x1:0x0,_0x19eb4a=_0x3534ed[_0x340bf8(0x312)](),_0x32804a=_0x3534ed['getColCount'](),_0x36130f=_0x4b7e4a['length']>0x0?_0x549def:0x0,_0x5801ae=_0xca17aa({'row':_0x4fa3d9[_0x340bf8(0x178)]+_0x35d6ff+_0x36130f,'col':_0x4fa3d9[_0x340bf8(0x320)]},_0x3534ed,!0x1,!0x1),_0x1f52cb=_0xca17aa({'row':_0x4fa3d9[_0x340bf8(0x178)]+_0x35d6ff+_0x36130f+_0x19eb4a,'col':_0x4fa3d9[_0x340bf8(0x320)]},_0x989978,!0x1,!0x0),_0x228bbf=_0xca17aa({'row':_0x4fa3d9['row']+_0x35d6ff+_0x36130f,'col':_0x4fa3d9[_0x340bf8(0x320)]+_0x32804a},_0x24382d,!0x1,!0x0),_0x513ad8=_0xca17aa({'row':_0x4fa3d9[_0x340bf8(0x178)]+_0x35d6ff+_0x36130f+_0x19eb4a,'col':_0x4fa3d9[_0x340bf8(0x320)]+_0x32804a},_0x305591,!0x1,!0x1),_0x5787a4={'rowRanges':_0x1f52cb,'colRanges':_0x228bbf,'cornerRanges':_0x5801ae,'dataRanges':_0x513ad8,'pageRanges':_0x4b7e4a};return{'matrix':_0x1c2b95(_0x2ce44b,_0x4fa3d9,_0x2c66ef),'rangesCache':_0x5787a4};};var _0x36efc1=Object[_0x5b4c6d(0x2f4)],_0x1af19a=(_0xa96a77,_0x10ad42,_0x4a3542,_0x580e78)=>{const _0x3f4bf7=_0x5b4c6d;for(var _0x2a6aaf=_0x580e78>0x1?void 0x0:_0x580e78?_0x36efc1(_0x10ad42,_0x4a3542):_0x10ad42,_0x229156=_0xa96a77[_0x3f4bf7(0xad)]-0x1,_0x3a6d74;_0x229156>=0x0;_0x229156--)(_0x3a6d74=_0xa96a77[_0x229156])&&(_0x2a6aaf=_0x3a6d74(_0x2a6aaf)||_0x2a6aaf);return _0x2a6aaf;},_0xafd9a=(_0x270bc7,_0x22dc02)=>(_0x5c70ec,_0x217260)=>_0x22dc02(_0x5c70ec,_0x217260,_0x270bc7);_0x3acc27['SheetsPivotDataSourceModel']=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x264b9c,_0x8df36f,_0x597286,_0x5780e5,_0x445e97,_0x551025){const _0x1e3fa7=_0x5b4c6d;super(),_0x102d83(this,_0x1e3fa7(0x14c),new Map()),_0x102d83(this,_0x1e3fa7(0x98),new Map()),_0x102d83(this,_0x1e3fa7(0x22b),new Map()),_0x102d83(this,'_textInfo'),_0x102d83(this,_0x1e3fa7(0x33b),new _0x639aa[(_0x1e3fa7(0x1e2))]()),_0x102d83(this,_0x1e3fa7(0xa4),this['_collectionChange$']['asObservable']()),_0x102d83(this,_0x1e3fa7(0xfb),new _0x639aa[(_0x1e3fa7(0x1e2))]()),_0x102d83(this,'viewData$',this[_0x1e3fa7(0xfb)][_0x1e3fa7(0xcf)]()),_0x102d83(this,_0x1e3fa7(0x18e),new _0x639aa[(_0x1e3fa7(0x1e2))]()),_0x102d83(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x1e3fa7(0xcf)]()),_0x102d83(this,'_dataFieldManagerCollection',new Map()),_0x102d83(this,'needSameDeleteModel',[]),_0x102d83(this,'_queryingMap',new Map()),(this[_0x1e3fa7(0x214)]=_0x264b9c,this[_0x1e3fa7(0x35d)]=_0x8df36f,this['_lifecycleService']=_0x597286,this[_0x1e3fa7(0x1d3)]=_0x5780e5,this[_0x1e3fa7(0x2c6)]=_0x445e97,this[_0x1e3fa7(0x2ca)]=_0x551025,this[_0x1e3fa7(0x322)]());}[_0x5b4c6d(0xf7)](){const _0x4cf2dc=_0x5b4c6d;return this[_0x4cf2dc(0xf9)]?this[_0x4cf2dc(0xf9)]:_0x22c154;}['setTextInfo'](_0x46b3b2){const _0x9d1e01=_0x5b4c6d;this[_0x9d1e01(0xf9)]=_0x46b3b2;}[_0x5b4c6d(0xb9)](_0x24be4e){const _0x54d171=_0x5b4c6d;var _0xbffa07;const {from:_0x312e2e,to:_0x25a74b,unitId:_0xa9aec7,fromRange:_0xd7db41,toRange:_0xf15804}=_0x24be4e;if(_0x312e2e&&_0x25a74b){const _0x17298b=this[_0x54d171(0x2c2)](_0xa9aec7),_0x32d3bf=this[_0x54d171(0x14c)][_0x54d171(0x177)](_0xa9aec7),_0x42638f=(_0xbffa07=this[_0x54d171(0x35d)][_0x54d171(0x2fd)](_0xa9aec7))==null?void 0x0:_0xbffa07[_0x54d171(0xc6)](_0x25a74b[_0x54d171(0x19f)]);if(!_0x32d3bf||!_0x42638f)return;const _0x208315=_0x42638f==null?void 0x0:_0x42638f['getName']();for(const [_0x143645,_0xd5e0d0]of _0x32d3bf[_0x54d171(0x88)]())for(const [_0x3f1053,_0x594558]of _0xd5e0d0[_0x54d171(0x88)]()){const {sourceRangeInfo:_0x3161f6}=_0x594558;if(_0x3161f6[_0x54d171(0x2d0)]===_0xa9aec7&&_0x3161f6[_0x54d171(0x19f)]===_0x312e2e[_0x54d171(0x19f)]&&_0x2be92f[_0x54d171(0x337)][_0x54d171(0xdd)](_0xd7db41,_0x3161f6['range'])){const _0x3e4497={'row':_0x3161f6[_0x54d171(0x26e)][_0x54d171(0xee)]-_0xd7db41[_0x54d171(0xee)],'col':_0x3161f6['range'][_0x54d171(0x281)]-_0xd7db41[_0x54d171(0x281)]},_0xc81f00={'unitId':_0xa9aec7,'subUnitId':_0x25a74b[_0x54d171(0x19f)],'sheetName':_0x208315,'range':{'startRow':_0xf15804[_0x54d171(0xee)]+_0x3e4497['row'],'endRow':_0xf15804[_0x54d171(0xee)]+_0x3e4497[_0x54d171(0x178)]+_0x3161f6[_0x54d171(0x26e)][_0x54d171(0x87)]-_0x3161f6[_0x54d171(0x26e)]['startRow'],'startColumn':_0xf15804[_0x54d171(0x281)]+_0x3e4497['col'],'endColumn':_0xf15804['startColumn']+_0x3e4497[_0x54d171(0x320)]+_0x3161f6[_0x54d171(0x26e)][_0x54d171(0x249)]-_0x3161f6[_0x54d171(0x26e)][_0x54d171(0x281)]}};_0x17298b['handleMoveRange'](_0x3f1053,_0xc81f00);const _0x21875e={..._0x594558,'sourceRangeInfo':_0xc81f00};this['_updateModelCache'](_0xa9aec7,_0x25a74b[_0x54d171(0x19f)],_0x3f1053,_0x21875e),this[_0x54d171(0x269)]({'unitId':_0xa9aec7,'token':_0x3f1053,'type':_0x1f8109[_0x54d171(0x9c)],'oldSourceRangeInfo':_0x3161f6,'dataRangeInfo':_0xc81f00,'targetCellInfo':_0x594558[_0x54d171(0x282)]}),this['updateConfig']({'unitId':_0xa9aec7,'subUnitId':_0x25a74b[_0x54d171(0x19f)],'oldSubUnitId':_0x143645,'pivotTableId':_0x3f1053,'pivotTableConfig':_0x21875e,'collectionConfig':_0x17298b[_0x54d171(0x120)]()});}}}}[_0x5b4c6d(0x269)](_0x4cecea){const _0x3c9514=_0x5b4c6d;this[_0x3c9514(0x33b)]['next'](_0x4cecea);}[_0x5b4c6d(0x2c2)](_0x1e3b35){const _0x1afcaa=_0x5b4c6d;let _0x59a68e=this['_dataFieldManagerCollection'][_0x1afcaa(0x177)](_0x1e3b35);return _0x59a68e||(_0x59a68e=new _0x561254(this,this[_0x1afcaa(0x35d)]),this[_0x1afcaa(0x151)][_0x1afcaa(0xe6)](_0x1e3b35,_0x59a68e)),_0x59a68e;}[_0x5b4c6d(0x28c)](_0x1d2945,_0x4b815d){const _0x5e9077=_0x5b4c6d;return this[_0x5e9077(0x2c2)](_0x1d2945)['collections'][_0x4b815d];}[_0x5b4c6d(0x24d)](_0x5bea2a,_0x4302dd,_0x213a4d){const _0x490236=_0x5b4c6d;return this[_0x490236(0x2c2)](_0x5bea2a)[_0x490236(0x24d)](_0x4302dd,_0x213a4d);}[_0x5b4c6d(0x1f7)](_0x216b77,_0x342c27){const _0x243b2a=_0x5b4c6d;let _0x34ffbe=this[_0x243b2a(0x14c)]['get'](_0x216b77);_0x34ffbe||(_0x34ffbe=new Map(),this[_0x243b2a(0x14c)][_0x243b2a(0xe6)](_0x216b77,_0x34ffbe));let _0x1712b1=_0x34ffbe[_0x243b2a(0x177)](_0x342c27);return _0x1712b1||(_0x1712b1=new Map(),_0x34ffbe['set'](_0x342c27,_0x1712b1)),_0x1712b1;}['_updateModelCache'](_0x4d945a,_0x11370c,_0xab4ea1,_0x2dc987){const _0x370541=_0x5b4c6d;this['_ensurePivotMap'](_0x4d945a,_0x11370c)[_0x370541(0xe6)](_0xab4ea1,_0x2dc987);}[_0x5b4c6d(0x318)](_0x347e49,_0x43ef24,_0x561ac7){const _0x573c0a=_0x5b4c6d;var _0x499b39,_0x3dafe2,_0x5e8fa6,_0x84d0ac;((_0x3dafe2=(_0x499b39=this[_0x573c0a(0x14c)][_0x573c0a(0x177)](_0x347e49))==null?void 0x0:_0x499b39['get'](_0x43ef24))==null?void 0x0:_0x3dafe2[_0x573c0a(0x177)](_0x561ac7))&&((_0x84d0ac=(_0x5e8fa6=this[_0x573c0a(0x14c)]['get'](_0x347e49))==null?void 0x0:_0x5e8fa6['get'](_0x43ef24))==null||_0x84d0ac[_0x573c0a(0x236)](_0x561ac7));}[_0x5b4c6d(0xc5)](_0xe3a432,_0x52ce12){const _0x132467=_0x5b4c6d;this['_pivotTableInstanceCache'][_0x132467(0xe6)](_0xe3a432,_0x52ce12);}[_0x5b4c6d(0x35e)](_0x14b411){const _0x3f1200=_0x5b4c6d;this[_0x3f1200(0x98)]['delete'](_0x14b411);}['_ensureViewDataMap'](_0x25fcf1,_0x146dc5){const _0x5421f3=_0x5b4c6d;let _0x154772=this['_viewData']['get'](_0x25fcf1);_0x154772||(_0x154772=new Map(),this[_0x5421f3(0x22b)][_0x5421f3(0xe6)](_0x25fcf1,_0x154772));let _0x514336=_0x154772['get'](_0x146dc5);return _0x514336||(_0x514336=new Map(),_0x154772['set'](_0x146dc5,_0x514336)),_0x514336;}[_0x5b4c6d(0x366)](_0xbc4005){const _0x2d9308=_0x5b4c6d,{unitId:_0x19fb0b,subUnitId:_0x4a2b95,pivotTableId:_0x2dd756,pivotTableConfig:_0x13f893,collectionConfig:_0x932dc5}=_0xbc4005,_0x435946={'unitId':_0x19fb0b,'subUnitId':_0x4a2b95,'oldSubUnitId':_0x4a2b95,'pivotTableId':_0x2dd756,'pivotTableConfig':_0x13f893,'collectionConfig':_0x932dc5};this[_0x2d9308(0x2c6)][_0x2d9308(0x35b)](_0x4c61bc['id'],_0x435946,{'onlyLocal':!0x0});}[_0x5b4c6d(0x274)](_0x3011c1,_0x550bbc,_0x24b1a7,_0x3db509,_0x26f17d,_0x5551a3,_0x27ec70,_0x400b30=!0x1){const _0x578ea8=_0x5b4c6d;var _0x84bbe3;this['_commandService'][_0x578ea8(0x35b)](_0x24b222['id'],{'single':{'unitId':_0x3011c1,'subUnitId':_0x550bbc,'type':_0x24b1a7,'pivotTableId':_0x3db509,'view':_0x26f17d,'pivotConfig':_0x5551a3},'collectionConfig':{[_0x3011c1]:_0x27ec70}},{'onlyLocal':!0x0});const _0x3b27aa=!!((_0x84bbe3=this[_0x578ea8(0x1c4)](_0x3db509))!=null&&_0x84bbe3[_0x578ea8(0x121)]()),_0x21206c=this[_0x578ea8(0x290)](_0x3011c1,_0x550bbc,_0x3db509);_0x21206c&&this[_0x578ea8(0x1ab)]({'view':_0x26f17d,'pivotTableId':_0x3db509,'textInfo':this['getTextInfo'](),'isEmpty':_0x3b27aa,'targetCellInfo':_0x21206c[_0x578ea8(0x282)]},_0x400b30);}[_0x5b4c6d(0x1ab)](_0x36e83d,_0x5df546){const _0x1497ad=_0x5b4c6d,{targetCellInfo:_0x573a84,pivotTableId:_0x24b28e}=_0x36e83d,{unitId:_0xaf8e66,subUnitId:_0x34c833}=_0x573a84,_0x55f807=this[_0x1497ad(0x21d)](_0xaf8e66,_0x34c833),_0x25d036=_0x55f807['get'](_0x24b28e);let _0x2e8690,_0x5dbbcf;_0x25d036&&(_0x2e8690=_0x25d036[_0x1497ad(0x83)],_0x5dbbcf=_0x25d036[_0x1497ad(0x160)]);const {rangesCache:_0x4f131e,matrix:_0x10a89d}=_0x52d9c0(_0x36e83d);_0x55f807[_0x1497ad(0xe6)](_0x24b28e,{'rangeCache':_0x4f131e,'matrix':_0x10a89d,'oldMatrix':_0x5dbbcf,'oldRangeCache':_0x2e8690}),_0x5df546||this[_0x1497ad(0xfb)][_0x1497ad(0x19b)]({'unitId':_0xaf8e66,'subUnitId':_0x34c833,'pivotTableId':_0x24b28e});}[_0x5b4c6d(0x302)](_0x3ff816,_0x2da83d,_0x1f8da1,_0x18bdc4,_0x20b25a){const _0x34c00f=_0x5b4c6d;this[_0x34c00f(0x24e)](_0x3ff816,_0x2da83d,_0x1f8da1,_0x20b25a),this[_0x34c00f(0xc5)](_0x1f8da1,_0x18bdc4);}[_0x5b4c6d(0x32f)](_0xccabdf,_0xa6fbb8,_0x595d66){const _0x1064bc=_0x5b4c6d,_0x329169=this[_0x1064bc(0x2c2)](_0xccabdf);_0x329169[_0x1064bc(0x1ce)](_0x595d66)[_0x1064bc(0x36a)](_0x24421d=>{const _0xb64f9e=_0x1064bc;_0x329169[_0xb64f9e(0x1de)](_0x24421d);}),this[_0x1064bc(0x2be)](_0xccabdf,_0x595d66),this[_0x1064bc(0x318)](_0xccabdf,_0xa6fbb8,_0x595d66),this[_0x1064bc(0x35e)](_0x595d66);}[_0x5b4c6d(0x2d1)](_0x52e99f,_0x48aa72,_0x12cceb,_0x55504a){this['_updateModelCache'](_0x52e99f,_0x48aa72,_0x12cceb,_0x55504a);}[_0x5b4c6d(0x290)](_0x23b4ba,_0x45d816,_0x540f64){const _0x893a9e=_0x5b4c6d;var _0x4faeb7,_0x22d05a;const _0x5bf954=(_0x22d05a=(_0x4faeb7=this[_0x893a9e(0x14c)][_0x893a9e(0x177)](_0x23b4ba))==null?void 0x0:_0x4faeb7[_0x893a9e(0x177)](_0x45d816))==null?void 0x0:_0x22d05a[_0x893a9e(0x177)](_0x540f64);if(_0x5bf954)return _0x5bf954;}[_0x5b4c6d(0xf1)](_0x341c6d,_0x105aff,_0x1d4704){const _0x54490a=_0x5b4c6d;var _0x17da64,_0x3b57be;const _0x552905=(_0x3b57be=(_0x17da64=this[_0x54490a(0x14c)][_0x54490a(0x177)](_0x341c6d))==null?void 0x0:_0x17da64[_0x54490a(0x177)](_0x105aff))==null?void 0x0:_0x3b57be[_0x54490a(0x177)](_0x1d4704);if(_0x552905)return _0x552905[_0x54490a(0x389)];}[_0x5b4c6d(0x1c4)](_0x5df0a1){const _0x6d7aac=_0x5b4c6d;return this['_pivotTableInstanceCache'][_0x6d7aac(0x177)](_0x5df0a1);}[_0x5b4c6d(0x2fb)](_0x57547e){const _0x421588=_0x5b4c6d;this[_0x421588(0x14c)][_0x421588(0x236)](_0x57547e);const _0x3cfe50=this[_0x421588(0x151)][_0x421588(0x177)](_0x57547e);_0x3cfe50&&(_0x3cfe50['dispose'](),this[_0x421588(0x151)]['delete'](_0x57547e)),this[_0x421588(0x22b)][_0x421588(0x236)](_0x57547e),this[_0x421588(0x149)]['forEach'](_0x4fe3e9=>{_0x4fe3e9['deleteUnitId'](_0x57547e);});}[_0x5b4c6d(0x23e)](_0x3d2361,_0x3bfe56,_0x3e3d46,_0x4408a0){const _0x310ca3=_0x5b4c6d;return this[_0x310ca3(0x2c2)](_0x3e3d46[_0x310ca3(0x2d0)])[_0x310ca3(0x23e)](_0x3d2361,_0x3bfe56,_0x3e3d46,_0x4408a0);}[_0x5b4c6d(0x1a6)](_0x5aabc7){const _0x192555=_0x5b4c6d;return this[_0x192555(0x2c2)](_0x5aabc7[_0x192555(0x2d0)])['createCollectionWithDataRange'](_0x5aabc7);}[_0x5b4c6d(0x332)](_0x21ff53,_0x1fa63b,_0x32016d){const _0x1c683a=_0x5b4c6d;this[_0x1c683a(0x2c2)](_0x32016d[_0x1c683a(0x2d0)])[_0x1c683a(0x332)](_0x21ff53,_0x1fa63b,_0x32016d);}[_0x5b4c6d(0xb0)](_0x4a809e,_0x43a2da){const _0xe8e4f1=_0x5b4c6d;this['getDataFieldManager'](_0x4a809e)[_0xe8e4f1(0x1de)](_0x43a2da);}['removeCollections'](_0x5a3725,_0xbcfffe){const _0x59a66d=_0x5b4c6d;this[_0x59a66d(0x2c2)](_0x5a3725)['removeCollectionImp'](_0xbcfffe);}[_0x5b4c6d(0x37b)](_0x3e017f,_0x24bf98){const _0x2bc42e=_0x5b4c6d;var _0x413f64;return(_0x413f64=this[_0x2bc42e(0x14c)][_0x2bc42e(0x177)](_0x3e017f))==null?void 0x0:_0x413f64['get'](_0x24bf98);}['getTargetByPivotId'](_0x446286){const _0x54725d=_0x5b4c6d;for(const [_0x4ceee4,_0xe5c056]of this[_0x54725d(0x14c)]['entries']())for(const [_0x441371,_0x40f1e1]of _0xe5c056[_0x54725d(0x88)]())if(_0x40f1e1[_0x54725d(0x208)](_0x446286))return{'unitId':_0x4ceee4,'subUnitId':_0x441371};return null;}[_0x5b4c6d(0x34c)](_0x5b3399,_0x3d5468,_0x1d1952,_0x3b3c81){const _0x54b299=_0x5b4c6d,_0x356d6b=this[_0x54b299(0x21d)](_0x5b3399,_0x3d5468);_0x3b3c81?_0x356d6b['set'](_0x1d1952,_0x3b3c81):_0x356d6b[_0x54b299(0x236)](_0x1d1952),this[_0x54b299(0xfb)][_0x54b299(0x19b)]({'unitId':_0x5b3399,'subUnitId':_0x3d5468,'pivotTableId':_0x1d1952});}[_0x5b4c6d(0x2b2)](){const _0x4dedaa=_0x5b4c6d;super[_0x4dedaa(0x2b2)]();}[_0x5b4c6d(0x235)](_0x26a72d,_0x22d78f,_0x3de8c0){const _0x9f6404=_0x5b4c6d;var _0x59d155,_0x54499b;const _0xa28043=(_0x54499b=(_0x59d155=this['_viewData']['get'](_0x26a72d))==null?void 0x0:_0x59d155['get'](_0x22d78f))==null?void 0x0:_0x54499b[_0x9f6404(0x177)](_0x3de8c0);return _0xa28043||null;}[_0x5b4c6d(0x370)](_0x4829b2){this['updateDirtyPivotTable'](_0x4829b2);}[_0x5b4c6d(0x2f3)](_0x1ed0f1){const _0x3b3441=_0x5b4c6d,{token:_0x10566e,unitId:_0x526a06,subUnitId:_0x1f891f}=_0x1ed0f1,_0x1f6a13=_0x526a06+'-'+_0x1f891f+'-'+_0x10566e;this[_0x3b3441(0xf8)][_0x3b3441(0x177)](_0x1f6a13)&&clearTimeout(this['_queryingMap'][_0x3b3441(0x177)](_0x1f6a13));const _0x22d5fe=setTimeout(()=>{const _0x4d5a4f=_0x3b3441;this[_0x4d5a4f(0x11e)](_0x1ed0f1),this['_queryingMap']['delete'](_0x1f6a13);},_0xffb05);this[_0x3b3441(0xf8)][_0x3b3441(0xe6)](_0x1f6a13,_0x22d5fe);}[_0x5b4c6d(0x11e)](_0x410303){const _0x57da19=_0x5b4c6d,{unitId:_0x50e64e,subUnitId:_0x40fd8d,token:_0x467f30,type:_0x3cb6b4,pivotConfig:_0x4e0d8e}=_0x410303,_0x3d7881=this[_0x57da19(0x1c4)](_0x467f30),_0x15ded3=_0x3d7881==null?void 0x0:_0x3d7881['query'](),_0x5b3f42=_0x4e0d8e!=null?_0x4e0d8e:this[_0x57da19(0x290)](_0x50e64e,_0x40fd8d,_0x467f30);_0x5b3f42&&(_0x5b3f42[_0x57da19(0x121)]=!!(_0x3d7881!=null&&_0x3d7881[_0x57da19(0x121)]())),(_0x15ded3||_0x3cb6b4===_0x1bbb8c[_0x57da19(0x231)])&&this['updateView'](_0x50e64e,_0x40fd8d,_0x3cb6b4,_0x467f30,_0x15ded3,_0x5b3f42,this[_0x57da19(0x2c2)](_0x50e64e)[_0x57da19(0x120)]());}[_0x5b4c6d(0x120)](_0x529154){const _0x2c2d75=_0x5b4c6d,_0x209cf9={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2c2d75(0x2c2)](_0x529154)&&(_0x209cf9[_0x2c2d75(0x359)][_0x529154]=this[_0x2c2d75(0x2c2)](_0x529154)[_0x2c2d75(0x120)]()),this[_0x2c2d75(0x14c)]['get'](_0x529154)){_0x209cf9[_0x2c2d75(0x100)][_0x529154]={};const _0x3a347f=this[_0x2c2d75(0x14c)][_0x2c2d75(0x177)](_0x529154);_0x3a347f!=null&&_0x3a347f['size']&&[..._0x3a347f['keys']()]['forEach'](_0x48236d=>{const _0x15e9b2=_0x2c2d75,_0x39e83d=_0x3a347f['get'](_0x48236d);_0x39e83d!=null&&_0x39e83d[_0x15e9b2(0x18c)]&&(_0x209cf9[_0x15e9b2(0x100)][_0x529154][_0x48236d]={},[..._0x39e83d[_0x15e9b2(0x102)]()][_0x15e9b2(0x36a)](_0x52eaba=>{const _0x564f9b=_0x15e9b2,_0x563ad3=_0x39e83d[_0x564f9b(0x177)](_0x52eaba);_0x563ad3&&(_0x209cf9[_0x564f9b(0x100)][_0x529154][_0x48236d][_0x52eaba]=_0x563ad3);}));});}return _0x209cf9;}[_0x5b4c6d(0x129)](_0x53d620){const _0x314b04=_0x5b4c6d;var _0x30b681;const {dataFieldManagerConfig:_0x450baa,pivotTableConfigs:_0x8e11ef}=_0x53d620;_0x450baa&&Object[_0x314b04(0x102)](_0x450baa)[_0x314b04(0x36a)](_0x27ab11=>{const _0x32e77c=_0x314b04;this[_0x32e77c(0x2c2)](_0x27ab11)['fromJSON'](_0x450baa[_0x27ab11]);});const _0x1e07ab=[];if(_0x8e11ef){const _0x135ec7=(_0x30b681=this[_0x314b04(0x214)][_0x314b04(0x177)](_0x2be92f[_0x314b04(0x27f)])[_0x314b04(0x340)](_0x327f17['LS_CONFIG_KEY']))!=null?_0x30b681:{},{ls:_0x3d252c,pbk:_0x3e0da8}=_0x135ec7,_0x47072c=_0xea67dc(_0x3008ad,_0x3d252c,_0x3e0da8)['count'];Object['keys'](_0x8e11ef)['forEach'](_0x170eaf=>{const _0x169881=_0x314b04;let _0x1596f1=0x0;const _0x524622=_0x8e11ef[_0x170eaf];Object[_0x169881(0x102)](_0x524622)[_0x169881(0x36a)](_0x34d33f=>{const _0x34a007=_0x169881,_0x19fd20=_0x524622[_0x34d33f];Object[_0x34a007(0x102)](_0x19fd20)[_0x34a007(0x36a)](_0x195305=>{const _0x4cae1f=_0x34a007,_0x254db4=_0x19fd20[_0x195305];if(_0x254db4){if(_0x1596f1>=_0x47072c)return;_0x1596f1++;const _0x223225=this[_0x4cae1f(0x2c2)](_0x170eaf),_0x597573=_0x223225[_0x4cae1f(0x307)][_0x195305],_0x4f81e7=_0x597573[_0x4cae1f(0x225)]();let _0xc69074=0x0;const _0x5a5e27=[];for(const _0xdaa474 of _0x4f81e7){const _0x417a81=_0x597573[_0x4cae1f(0x181)](_0xdaa474);if(_0x949178[_0x4cae1f(0x284)](_0x417a81)){const _0x2cfe05=_0x417a81[_0x4cae1f(0x125)](),_0x5c2754=_0x597573[_0x4cae1f(0x181)](_0x2cfe05);_0x5c2754&&_0x5a5e27[_0x4cae1f(0x1cc)]([_0x417a81,_0x5c2754]);continue;}_0x223225[_0x4cae1f(0xbe)](_0xdaa474,_0x254db4[_0x4cae1f(0x1fb)],_0xc69074),_0xc69074++;}_0x5a5e27[_0x4cae1f(0x36a)](([_0x1c9b09,_0x22d102])=>{const _0x305fde=_0x4cae1f;_0x1c9b09[_0x305fde(0x327)](_0x22d102);});const _0x451cd8=new _0x949178[(_0x4cae1f(0xcd))](_0x597573);_0x451cd8[_0x4cae1f(0x129)](_0x254db4['fieldsConfig']),this[_0x4cae1f(0x302)](_0x170eaf,_0x34d33f,_0x195305,_0x451cd8,_0x254db4);const _0x51b4d4=_0x451cd8[_0x4cae1f(0x1f3)]();_0x1e07ab[_0x4cae1f(0x1cc)]({'unitId':_0x170eaf,'subUnitId':_0x34d33f,'pivotTableId':_0x195305,'view':_0x51b4d4['toJSON'](),'pivotConfig':_0x254db4,'type':_0x1bbb8c[_0x4cae1f(0x287)]});const _0x96bf18=!!_0x451cd8[_0x4cae1f(0x121)](),_0x45ad35={'view':_0x51b4d4,'pivotTableId':_0x195305,'textInfo':this['getTextInfo'](),'isEmpty':_0x96bf18,'targetCellInfo':_0x254db4[_0x4cae1f(0x282)]};this[_0x4cae1f(0x1ab)](_0x45ad35,!0x1);}});});});}_0x450baa&&Object[_0x314b04(0x102)](_0x450baa)[_0x314b04(0x36a)](_0x37549d=>{const _0x395b26=_0x314b04,_0x3bdd1d=this['getDataFieldManager'](_0x37549d);this['_fieldsCollectionChange$'][_0x395b26(0x19b)](_0x3bdd1d[_0x395b26(0x307)]);}),this[_0x314b04(0x2c6)][_0x314b04(0x35b)](_0x24b222['id'],{'batch':_0x1e07ab,'collectionConfig':_0x450baa},{'onlyLocal':!0x0});}[_0x5b4c6d(0x322)](){const _0x2c41c5=_0x5b4c6d;this['disposeWithMe'](this[_0x2c41c5(0x2ca)]['registerPluginResource']({'toJson':_0x33f176=>JSON[_0x2c41c5(0x1b5)](this[_0x2c41c5(0x120)](_0x33f176)),'parseJson':_0x200021=>{const _0x231144=_0x2c41c5;if(!_0x200021)return{};try{return JSON[_0x231144(0x1ed)](_0x200021);}catch{return{};}},'businesses':[_0x2be92f[_0x2c41c5(0x326)]['UNIVER_SHEET']],'pluginName':_0x54e52d,'onLoad':(_0x5bd7e7,_0x3c7328)=>{this['fromJSON'](_0x3c7328);},'onUnLoad':_0x510744=>{this['deleteUnitId'](_0x510744);}}));}},_0x3acc27[_0x5b4c6d(0x144)]=_0x1af19a([_0xafd9a(0x0,_0x2be92f['Inject'](_0x2be92f['Injector'])),_0xafd9a(0x1,_0x2be92f[_0x5b4c6d(0xd2)]),_0xafd9a(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x379)])),_0xafd9a(0x3,_0x2be92f[_0x5b4c6d(0x27f)]),_0xafd9a(0x4,_0x2be92f[_0x5b4c6d(0x109)]),_0xafd9a(0x5,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xc8)]))],_0x3acc27[_0x5b4c6d(0x144)]);const _0x3f37a7={0x0:{0x0:{'v':_0x5b4c6d(0x135),'s':_0x41c7a5}},0x2:{0x1:{'v':'','s':_0x41c7a5},0x2:{'v':'','s':_0x41c7a5},0x3:{'v':'column','s':_0x41c7a5},0x4:{'v':'','s':_0x41c7a5},0x5:{'v':'','s':_0x41c7a5}},0x3:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x4:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x5:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x6:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x7:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x8:{0x0:{'v':'row','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'values','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0x9:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0xa:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0xb:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0xc:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}},0xd:{0x0:{'v':'','s':_0x41c7a5},0x1:{'v':'','s':_0x196547},0x2:{'v':'','s':_0x196547},0x3:{'v':'','s':_0x196547},0x4:{'v':'','s':_0x196547},0x5:{'v':'','s':_0x196547}}},_0x5ecfca={'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':[]},_0x28cda4=(_0x2ba5c8,_0x2c691d)=>{const _0xd852c1=_0x5b4c6d,_0x497852=new _0x2be92f[(_0xd852c1(0x176))](),_0x2d46bd=new _0x2be92f[(_0xd852c1(0x176))](_0x3f37a7),{row:_0x590ece,col:_0xe122e3}=_0x2c691d;_0x2d46bd[_0xd852c1(0x2eb)]((_0x189883,_0x58cd02,_0x33a3e3)=>{const _0x524e49=_0xd852c1;let _0xb63b36='';_0x33a3e3['v']===_0x524e49(0x135)?_0xb63b36=_0x2ba5c8['filter']:_0x33a3e3['v']===_0x524e49(0x178)?_0xb63b36=_0x2ba5c8[_0x524e49(0x178)]:_0x33a3e3['v']===_0x524e49(0x117)?_0xb63b36=_0x2ba5c8['column']:_0x33a3e3['v']===_0x524e49(0x15f)&&(_0xb63b36=_0x2ba5c8[_0x524e49(0x15f)]),_0x497852[_0x524e49(0x15a)](_0x189883+_0x590ece,_0x58cd02+_0xe122e3,{..._0x33a3e3,'v':_0xb63b36});});const _0x17b242=_0x2be92f[_0xd852c1(0x2d6)][_0xd852c1(0x344)](_0x5ecfca);return Object[_0xd852c1(0x102)](_0x5ecfca)['forEach'](_0x46da74=>{const _0x22348c=_0xd852c1;_0x17b242[_0x46da74]=_0x5ecfca[_0x46da74]['map'](_0x3102a1=>({..._0x3102a1,'startRow':_0x3102a1[_0x22348c(0xee)]+_0x590ece,'endRow':_0x3102a1[_0x22348c(0x87)]+_0x590ece,'startColumn':_0x3102a1[_0x22348c(0x281)]+_0xe122e3,'endColumn':_0x3102a1[_0x22348c(0x249)]+_0xe122e3}));}),{'matrixCache':_0x497852,'rangesCache':_0x17b242};};function _0x1c2326(_0x5ea37d,_0x546388){const _0x3e2729=_0x5b4c6d;let _0x39e815='';const _0x521727=this['getTextInfo']();switch(_0x546388){case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0x1fc)]:_0x39e815=_0x521727[_0x3e2729(0x9a)]+_0x5ea37d;break;case _0x949178['PivotSubtotalTypeEnum'][_0x3e2729(0x32c)]:_0x39e815=_0x521727[_0x3e2729(0x1aa)]+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0xd9)]:_0x39e815=_0x521727['sheets-pivot.countNumsName']+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0x114)]:_0x39e815=_0x521727['sheets-pivot.maxName']+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0x16c)]:_0x39e815=_0x521727['sheets-pivot.minName']+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)]['product']:_0x39e815=_0x521727[_0x3e2729(0x313)]+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0xdb)]:_0x39e815=_0x521727['sheets-pivot.stdDevName']+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0x294)]:_0x39e815=_0x521727[_0x3e2729(0x1ac)]+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0x358)]:_0x39e815=_0x521727[_0x3e2729(0x21f)]+_0x5ea37d;break;case _0x949178['PivotSubtotalTypeEnum'][_0x3e2729(0x265)]:_0x39e815=_0x521727[_0x3e2729(0xeb)]+_0x5ea37d;break;case _0x949178[_0x3e2729(0x34e)][_0x3e2729(0xe1)]:_0x39e815=_0x521727[_0x3e2729(0x108)]+_0x5ea37d;break;default:_0x39e815=_0x5ea37d;break;}return _0x39e815;}function _0x2b3cd3(_0x246a63,_0x2c0230,_0x47755b,_0x44f740,_0xa67b78){const _0x2aedcb=_0x5b4c6d;var _0x490f07,_0x586195,_0x4fdbbe,_0x51592b,_0x45a4d0;const _0x56e3ac=_0x2be92f[_0x2aedcb(0x161)](_0x246a63,_0x2c0230),{rangesInfo:_0x308a44,areaInfo:_0x34cdc5,headerMap:_0x3dbc74}=_0xa67b78;if(!_0x308a44||!_0x34cdc5||!_0x3dbc74)return;const _0x1efb63=Object['keys'](_0x308a44)[_0x2aedcb(0xa9)](_0x378478=>_0x308a44[_0x378478][_0x2aedcb(0x20d)](_0x43a77e=>_0x2be92f[_0x2aedcb(0x337)]['contains'](_0x43a77e,_0x56e3ac))),_0x553248=_0x34cdc5;let _0x3f0b50,_0x596883,_0x49ff51;if(_0x1efb63==='rowRanges')_0x3f0b50=(_0x490f07=_0x553248==null?void 0x0:_0x553248[_0x2aedcb(0x2f5)])==null?void 0x0:_0x490f07[_0x246a63],_0x596883=(_0x586195=_0x3dbc74==null?void 0x0:_0x3dbc74[_0x2aedcb(0x79)])==null?void 0x0:_0x586195[_0x2c0230],_0x49ff51=_0x596883==null?void 0x0:_0x596883['tableFieldId'];else{if(_0x1efb63===_0x2aedcb(0x1bd))_0x3f0b50=(_0x4fdbbe=_0x553248==null?void 0x0:_0x553248[_0x2aedcb(0x14a)])==null?void 0x0:_0x4fdbbe[_0x2c0230],_0x596883=(_0x51592b=_0x3dbc74[_0x2aedcb(0x30f)])==null?void 0x0:_0x51592b[_0x246a63+0x1+_0x2c0230-_0x308a44[_0x2aedcb(0x1bd)][0x0][_0x2aedcb(0x281)]],_0x49ff51=_0x596883==null?void 0x0:_0x596883[_0x2aedcb(0x37a)];else{if(_0x1efb63==='cornerRanges')_0x3f0b50=(_0x45a4d0=_0x553248==null?void 0x0:_0x553248['cornerInfo'])==null?void 0x0:_0x45a4d0[_0x2c0230],_0x49ff51=_0x3f0b50==null?void 0x0:_0x3f0b50['tableFieldId'];else{if(_0x1efb63===_0x2aedcb(0x354)){const _0x5b5313=_0x47755b==null?void 0x0:_0x47755b['fi'];_0x5b5313!==void 0x0&&(_0x49ff51=_0x44f740['getFilterFieldIdByIndex'](_0x5b5313));}}}}return{'filterId':_0x49ff51,'info':_0x3f0b50,'data':_0x47755b,'headerInfo':_0x596883};}function _0xc6cc36(_0x3c2e15,_0x5b7d06,_0x376dea){const _0x368778=_0x5b4c6d,_0x10975a=_0x3c2e15[_0x368778(0x1e6)],_0x528c00=_0x10975a[_0x368778(0x225)](),_0x8f9d0d=new Set();_0x3c2e15[_0x368778(0x2d5)](_0x4d5294=>{const _0x7c913d=_0x368778;_0x8f9d0d[_0x7c913d(0xe3)](_0x4d5294[_0x7c913d(0x368)]);});const _0x55998d=_0x528c00[_0x368778(0x352)](_0x21e7c8=>{const _0x5b7ef1=_0x368778,_0x5a53a6=_0x10975a['getFieldById'](_0x21e7c8);return{'checked':_0x8f9d0d[_0x5b7ef1(0x208)](_0x21e7c8),'dataFieldId':_0x5a53a6['id'],'id':_0x5a53a6['id'],'name':_0x10975a['getDisplayName'](_0x5a53a6['id']),'type':_0x5a53a6[_0x5b7ef1(0x24b)](),'pivotTableId':_0x5b7d06};}),_0x36e9d9=[];_0x3c2e15[_0x368778(0x10b)](_0x949178[_0x368778(0x11a)][_0x368778(0x2bc)],_0xc642eb=>{const _0x4d088a=_0x368778;_0x36e9d9['push']({'dataFieldId':_0xc642eb[_0x4d088a(0x368)],'tableFieldId':_0xc642eb['getId'](),'displayName':_0xc642eb[_0x4d088a(0x220)]()});});const _0x5340a=[];_0x3c2e15[_0x368778(0x10b)](_0x949178[_0x368778(0x11a)][_0x368778(0x16e)],_0x1a2c70=>{const _0x8bb29c=_0x368778;_0x5340a[_0x8bb29c(0x1cc)]({'dataFieldId':_0x1a2c70[_0x8bb29c(0x368)],'tableFieldId':_0x1a2c70[_0x8bb29c(0x13b)](),'displayName':_0x1a2c70[_0x8bb29c(0x220)]()});});const _0x548ebb=[];if(_0x3c2e15[_0x368778(0x10b)](_0x949178['PivotTableFiledAreaEnum'][_0x368778(0x105)],_0x2a7929=>{const _0x3bbeaa=_0x368778;_0x548ebb[_0x3bbeaa(0x1cc)]({'dataFieldId':_0x2a7929[_0x3bbeaa(0x368)],'tableFieldId':_0x2a7929[_0x3bbeaa(0x13b)](),'displayName':_0x2a7929[_0x3bbeaa(0x220)](),'format':_0x2a7929[_0x3bbeaa(0x1c0)](),'subTotalType':_0x2a7929[_0x3bbeaa(0x363)]()});}),_0x548ebb[_0x368778(0xad)]>0x1){const _0xc99cc9=_0x3c2e15[_0x368778(0x16d)]();(_0x3c2e15['isColMultiMeasure']()?_0x5340a:_0x36e9d9)[_0x368778(0x351)](_0xc99cc9,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x368778(0x2a6)});}const _0x1cd532=[];_0x3c2e15['iterateFieldByArea'](_0x949178['PivotTableFiledAreaEnum']['Filter'],_0x331028=>{const _0x4b5b38=_0x368778;_0x1cd532['push']({'dataFieldId':_0x331028['dataFieldId'],'tableFieldId':_0x331028[_0x4b5b38(0x13b)](),'displayName':_0x331028['getDisplayName']()});});const _0x296fbc=_0x376dea['sourceRangeInfo'];return{'sourceList':_0x55998d,'sourceRange':_0x296fbc,'rowFields':_0x36e9d9,'columnFields':_0x5340a,'valueFields':_0x548ebb,'filterFields':_0x1cd532,'positionInfo':_0x376dea[_0x368778(0x282)]};}function _0x5657cd(_0x3806a6,_0x1686cb,_0x2acb02='',_0x325c43={}){const _0x53032a=_0x5b4c6d,_0x21bd20=_0x3806a6['get'](_0x2be92f[_0x53032a(0x126)]);for(const _0x11a0ff in _0x1686cb)if(Object[_0x53032a(0x1f0)][_0x53032a(0xb1)][_0x53032a(0x1f2)](_0x1686cb,_0x11a0ff)){const _0x345b51=_0x2acb02?_0x2acb02+'.'+_0x11a0ff:_0x11a0ff;typeof _0x1686cb[_0x11a0ff]==_0x53032a(0x304)&&_0x1686cb[_0x11a0ff]!==null&&!Array[_0x53032a(0x263)](_0x1686cb[_0x11a0ff])?_0x5657cd(_0x3806a6,_0x1686cb[_0x11a0ff],_0x345b51,_0x325c43):_0x325c43[_0x345b51]=_0x21bd20['t'](_0x345b51);}return _0x325c43;}const _0x4c470f=_0x29f4df=>{const _0x45fe31=_0x5b4c6d;if(!_0x29f4df)return[];const {rowRanges:_0x2e7f27,colRanges:_0x29f147,cornerRanges:_0x1d632b,dataRanges:_0xa633ce,pageRanges:_0x10f9b7}=_0x29f4df,_0x17ed69=[..._0x29f147,..._0x2e7f27,..._0xa633ce,..._0x1d632b]['filter'](_0x2d47ac=>_0x2d47ac[_0x45fe31(0xee)]>=0x0&&_0x2d47ac['startColumn']>=0x0&&_0x2d47ac[_0x45fe31(0x87)]>=0x0&&_0x2d47ac[_0x45fe31(0x249)]>=0x0);let _0x1390ab=Number[_0x45fe31(0x2fa)],_0x2a8a38=Number['MIN_SAFE_INTEGER'],_0x5ccd33=Number[_0x45fe31(0x2fa)],_0x3d930a=Number['MIN_SAFE_INTEGER'];for(let _0x39ff1c=0x0;_0x39ff1c<_0x17ed69[_0x45fe31(0xad)];_0x39ff1c++)_0x1390ab=Math['min'](_0x1390ab,_0x17ed69[_0x39ff1c]['startRow']),_0x2a8a38=Math[_0x45fe31(0x114)](_0x2a8a38,_0x17ed69[_0x39ff1c][_0x45fe31(0x87)]),_0x5ccd33=Math[_0x45fe31(0x16c)](_0x5ccd33,_0x17ed69[_0x39ff1c][_0x45fe31(0x281)]),_0x3d930a=Math[_0x45fe31(0x114)](_0x3d930a,_0x17ed69[_0x39ff1c]['endColumn']);return[..._0x10f9b7,{'startRow':_0x1390ab,'endRow':_0x2a8a38,'startColumn':_0x5ccd33,'endColumn':_0x3d930a}];};function _0x3ea438(_0x2b495a,_0x50564e){const _0x52f0dc=_0x5b4c6d,_0x218f12=_0x50564e['params'][_0x52f0dc(0x25c)],{pivotTableId:_0x103277,unitId:_0x3b527f,subUnitId:_0x591de0}=_0x50564e;if(!_0x218f12)return;const _0x35ff1a=_0x2b495a[_0x52f0dc(0x177)](_0x3acc27[_0x52f0dc(0x144)]),_0x3bca1d=_0x35ff1a[_0x52f0dc(0x1c4)](_0x103277),_0x188a00=_0x35ff1a[_0x52f0dc(0x290)](_0x3b527f,_0x591de0,_0x103277);if(!_0x3bca1d||!_0x188a00)return;const _0x5553da=_0x3bca1d['getIndexesByPathStr'](_0x218f12[_0x52f0dc(0x237)]);if(!(_0x5553da!=null&&_0x5553da[_0x52f0dc(0xad)]))return;const _0x4dc5de=_0x188a00[_0x52f0dc(0x1fb)],{unitId:_0x7bb8fa,subUnitId:_0x78ab8,range:_0x47c4f7}=_0x4dc5de;let _0x2ba262=0x0;const _0xaab82c=_0x3bca1d[_0x52f0dc(0x1e6)][_0x52f0dc(0x225)]()[_0x52f0dc(0x315)]((_0x2e06ba,_0x2280e5)=>{var _0x558f49;const _0x3840c7=(_0x558f49=_0x3bca1d['getDataFieldByDataFieldId'](_0x2280e5))==null?void 0x0:_0x558f49['getformat']();return _0x3840c7&&(_0x2e06ba[String(_0x2ba262)]=_0x3840c7),_0x2ba262++,_0x2e06ba;},{});return{'indexes':_0x5553da,'range':_0x47c4f7,'sourceUnitId':_0x7bb8fa,'sourceSubUnitId':_0x78ab8,'formatMap':_0xaab82c};}function _0x259459(_0x1d1e12,_0xabf58f){const _0x1f77c7=_0x5b4c6d;if(!_0x1d1e12||!_0xabf58f)return!0x0;const _0x344989=_0x327f17[_0x1f77c7(0x1b6)](_0xba6fa9,_0x11c203),_0x287151=new Function(_0x1f77c7(0x92)+_0x344989)()(_0x1d1e12,_0xabf58f)[_0x1f77c7(0x99)],_0x166b54=_0x327f17[_0x1f77c7(0x1f5)](_0x287151,'sf',_0x2a091a);return!((_0x287151==null?void 0x0:_0x287151['rt'])===_0x327f17[_0x1f77c7(0x20e)][_0x1f77c7(0x1cb)]&&!_0x166b54);}function _0xea67dc(_0x17613d,_0x3b88b7,_0x23559f){const _0x2e5461=_0x5b4c6d,_0x2dae6e={'count':_0x17613d,'timeValid':!0x1};if(!_0x3b88b7||!_0x23559f)return _0x2dae6e;const _0x1079aa=_0x327f17['unshiftString'](_0xba6fa9,_0x11c203),_0x168256=new Function(_0x2e5461(0x92)+_0x1079aa)()(_0x3b88b7,_0x23559f);if(_0x168256!=null&&_0x168256[_0x2e5461(0x2af)]){const _0x327610=_0x168256[_0x2e5461(0x99)],_0x2a4998=_0x327f17['isFeatureAuthorizedWithinTime'](_0x327610,'sf',_0x2a091a);return{'count':_0x327f17[_0x2e5461(0xc1)](_0x327610,_0x2a4998,'ptn',_0x17613d,_0x17613d,0x0),'timeValid':_0x2a4998};}return _0x2dae6e;}function _0x5bc07b(_0x76085c,_0x569055,_0x213b35,_0x197e9f){const _0x1a31be=_0x5b4c6d,_0x5bdd72={'subUnitId':_0x213b35,'unitId':_0x569055,'cellValue':_0xac1e83[_0x1a31be(0xd1)](_0x197e9f)},_0x40f983=_0xac1e83[_0x1a31be(0x255)](_0x76085c,_0x5bdd72);let _0x1c0de1=!0x1;return new _0x2be92f['ObjectMatrix'](_0x40f983[_0x1a31be(0x271)])[_0x1a31be(0x2eb)]((_0xaead88,_0x5a3f4b,_0x207181)=>{const _0x2352b9=_0x1a31be;if(!_0x1c0de1&&_0x207181&&(_0x207181[_0x2352b9(0xc7)]||_0x207181['f']||_0x207181['p']||_0x207181['s']||_0x207181['si']||_0x207181['t']||_0x207181['v']))return _0x1c0de1=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0xac1e83[_0x1a31be(0x2df)]['id'],'params':_0x40f983},'setRangeValueRedoMutation':{'id':_0xac1e83['SetRangeValuesMutation']['id'],'params':_0x5bdd72},'shouldClear':_0x1c0de1};}function _0xec16bb(_0x18d679){const {row:_0x4bb2e6,col:_0xf205c3}=_0x18d679,_0x3ea12d={'startRow':_0x4bb2e6,'endRow':_0x4bb2e6,'startColumn':_0xf205c3,'endColumn':_0xf205c3},_0x587231={'startRow':_0x4bb2e6+0x2,'endRow':_0x4bb2e6+0xe,'startColumn':_0xf205c3,'endColumn':_0xf205c3+0x6};return[_0x3ea12d,_0x587231];}function _0x1cc1bd(_0x3e741e,_0x55ef5c,_0x25c8df){const _0x71159=_0x5b4c6d,{cornerView:_0x461b82,rowView:_0x49705d,colView:_0x444d1d,pageView:_0xc1c423}=_0x3e741e,{row:_0x4138be,col:_0x3707d4}=_0x55ef5c;if(_0x25c8df)return{'rowCount':_0xd42983+_0x4138be,'colCount':_0x4f24ee+_0x3707d4};const _0xa4533b=_0xc1c423[_0x71159(0x308)]>-0x1?_0xc1c423[_0x71159(0x308)]+0x1:0x0,_0x1f1070=_0xc1c423['lastCol']>-0x1?_0xc1c423['lastCol']:0x0,_0x382cef=_0x4138be+_0xa4533b+(_0xa4533b?0x1:0x0)+_0x461b82[_0x71159(0x2ac)]+_0x49705d['rowCount'],_0x3ecde8=_0x3707d4+_0x1f1070,_0x24ee13=_0x3707d4+_0x461b82[_0x71159(0x7a)]+_0x444d1d[_0x71159(0x7a)],_0x536e45=Math[_0x71159(0x114)](_0x3ecde8,_0x24ee13);return{'rowCount':_0x382cef,'colCount':_0x536e45};}function _0x29e760(_0x1977ea,_0x211777,_0x4c3718,_0x4838a3){const _0x5cfa04=_0x5b4c6d,{row:_0x1b0ab7,col:_0x500275,unitId:_0x1d076b,subUnitId:_0x2e5347}=_0x4c3718,_0x5551de=_0x1cc1bd(_0x211777,{'row':_0x1b0ab7,'col':_0x500275},_0x4838a3),_0x79ca52=_0x1977ea[_0x5cfa04(0x177)](_0x2be92f[_0x5cfa04(0xd2)]),_0x3d47c1=_0xac1e83[_0x5cfa04(0x1bc)](_0x79ca52,{'unitId':_0x1d076b,'subUnitId':_0x2e5347}),_0x40523e=[],_0x1c0b6b=[];if(!_0x3d47c1)return{'undos':_0x1c0b6b,'redos':_0x40523e};const {worksheet:_0x825d9d}=_0x3d47c1,_0x1ba08c=_0x825d9d['getRowCount'](),_0x26b07b=_0x825d9d['getColumnCount']();return _0x1ba08c<_0x5551de[_0x5cfa04(0x2ac)]&&(_0x40523e['push']({'id':_0xac1e83['InsertRowMutation']['id'],'params':{'unitId':_0x1d076b,'subUnitId':_0x2e5347,'range':{'startRow':_0x1ba08c,'endRow':_0x5551de[_0x5cfa04(0x2ac)]-0x1,'startColumn':0x0,'endColumn':_0x26b07b-0x1}}}),_0x1c0b6b['push']({'id':_0xac1e83['RemoveRowMutation']['id'],'params':{'unitId':_0x1d076b,'subUnitId':_0x2e5347,'range':{'startRow':_0x1ba08c,'endRow':_0x5551de['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x26b07b-0x1}}})),_0x26b07b<_0x5551de[_0x5cfa04(0x7a)]&&(_0x40523e[_0x5cfa04(0x1cc)]({'id':_0xac1e83['InsertColMutation']['id'],'params':{'unitId':_0x1d076b,'subUnitId':_0x2e5347,'range':{'startRow':0x0,'endRow':_0x1ba08c-0x1,'startColumn':_0x26b07b,'endColumn':_0x5551de[_0x5cfa04(0x7a)]-0x1}}}),_0x1c0b6b['push']({'id':_0xac1e83[_0x5cfa04(0x1ef)]['id'],'params':{'unitId':_0x1d076b,'subUnitId':_0x2e5347,'range':{'startRow':0x0,'endRow':_0x1ba08c-0x1,'startColumn':_0x26b07b,'endColumn':_0x5551de[_0x5cfa04(0x7a)]-0x1}}})),{'undos':_0x1c0b6b,'redos':_0x40523e};}function _0x29a912(_0x4104c8){const _0xb6c930=_0x5b4c6d;let _0x3baf2e=0x0;for(let _0x1202c1=0x0;_0x1202c1<_0x4104c8[_0xb6c930(0xad)];_0x1202c1++){const _0x296d38=_0x4104c8['charCodeAt'](_0x1202c1);_0x296d38>=0x4e00&&_0x296d38<=0x9fff||_0x296d38>=0x3000&&_0x296d38<=0x303f||_0x296d38>=0xff00&&_0x296d38<=0xffef?_0x3baf2e+=0x2:_0x3baf2e+=0x1;}return _0x3baf2e;}function _0x41ec75(_0x30f50b,_0x46fcc4,_0x2fedf4,_0x59eb21){const _0x2e9e42=_0x5b4c6d;var _0x37973c,_0x1cbab4,_0x4f828e,_0xee86bc;const {rowCount:_0x462153,colCount:_0x4c7166,headerMap:_0x24c4d3}=_0x30f50b,_0x2277b8=0x64,_0x135c42=Math[_0x2e9e42(0x16c)](_0x462153,_0x2277b8),_0x46bd17=Math[_0x2e9e42(0x16c)](_0x4c7166,_0x2277b8);let _0xd24243='',_0x26e32c=0x0;for(let _0x456f14=0x0;_0x456f14<_0x135c42;_0x456f14++)for(let _0x3bd9df=0x0;_0x3bd9df<_0x46bd17;_0x3bd9df++){const _0x3076a0={...(_0x1cbab4=(_0x37973c=_0x30f50b[_0x2e9e42(0x11f)])==null?void 0x0:_0x37973c[_0x456f14])==null?void 0x0:_0x1cbab4[_0x3bd9df]},_0x4972f0=(_0x4f828e=_0x24c4d3[_0x456f14])==null?void 0x0:_0x4f828e[_0x2e9e42(0x37a)],_0x2f92b6=_0x59eb21[_0x4972f0];let _0x3b2c93=_0x30f50b[_0x2e9e42(0x206)](_0x456f14,_0x3bd9df);if(_0x3076a0){const _0x45e06f=_0x2fedf4?_0x3bd9df===0x0&&((_0xee86bc=_0x30f50b['getHeaderMapItem'](_0x3bd9df+0x1))==null?void 0x0:_0xee86bc['isValue']):!0x1;_0x3b2c93=_0x306dd9(_0x3076a0,_0x45e06f,_0x2f92b6,_0x46fcc4);}if(_0x3b2c93!==void 0x0){const _0x2629a3=_0x29a912(String(_0x3b2c93));_0x26e32c<_0x2629a3&&(_0xd24243=String(_0x3b2c93),_0x26e32c=_0x2629a3);}}return _0xd24243;}function _0x28c1e4(_0x568f62){const _0x2fdeaa=_0x5b4c6d,{rowCount:_0x4c6390,colCount:_0x3f6cc5}=_0x568f62;let _0x58ca90='',_0x3aa18f=0x0;for(let _0x5db609=_0x4c6390-0x1;_0x5db609>0x0&&_0x5db609>_0x4c6390-0x3;_0x5db609--)for(let _0x12eac9=0x0;_0x12eac9<_0x3f6cc5;_0x12eac9++){const _0x3ea976=_0x568f62[_0x2fdeaa(0x206)](_0x5db609,_0x12eac9);if(_0x3ea976!==void 0x0){const _0x17ff05=String(_0x3ea976)['length'];_0x3aa18f<_0x17ff05&&(_0x58ca90=String(_0x3ea976),_0x3aa18f=_0x17ff05);}}return _0x58ca90;}function _0x287305(_0x4f81ff){const _0x173f81=_0x5b4c6d,{rowCount:_0x35bb46,colCount:_0x34edc6}=_0x4f81ff;let _0x9e247e='',_0x193eec=0x0;for(let _0x365f10=0x0;_0x365f10<_0x35bb46;_0x365f10++)for(let _0x1b637c=0x0;_0x1b637c<_0x34edc6;_0x1b637c++){const _0x15919d=_0x4f81ff[_0x173f81(0x206)](_0x365f10,_0x1b637c);if(_0x15919d!==void 0x0){const _0x3d6a20=String(_0x15919d)[_0x173f81(0xad)];_0x193eec<_0x3d6a20&&(_0x9e247e=String(_0x15919d),_0x193eec=_0x3d6a20);}}return _0x9e247e;}function _0x4bbd9a(_0x207ece,_0x50fbb1){const _0x8321e=_0x5b4c6d,{rowFields:_0x51f185,columnFields:_0xe431e,valueFields:_0x182d8d,filterFields:_0x189fea,dimension:_0x496708,measure:_0x44ecd3}=_0x50fbb1;for(const _0xc76138 of _0x51f185){const _0x233e3f=_0x496708[_0xc76138];_0x233e3f&&_0x207ece[_0x8321e(0x1e5)](_0x233e3f[_0x8321e(0x368)])&&(_0x207ece[_0x8321e(0x185)](_0x233e3f[_0x8321e(0x368)],_0x949178['PivotTableFiledAreaEnum'][_0x8321e(0x2bc)],void 0x0,_0xc76138),_0x233e3f['displayName']&&_0x207ece[_0x8321e(0x139)](_0x233e3f['id'],_0x233e3f['displayName']),_0x233e3f[_0x8321e(0x13a)]&&_0x207ece['setSortInfo'](_0x233e3f['id'],_0x233e3f['sortInfo']),_0x233e3f[_0x8321e(0x204)]&&_0x207ece[_0x8321e(0x175)](_0x233e3f['id'],_0x233e3f['filterInfo']));}for(const _0x589de0 of _0xe431e){const _0x2fea5a=_0x496708[_0x589de0];_0x2fea5a&&_0x207ece[_0x8321e(0x1e5)](_0x2fea5a['dataFieldId'])&&(_0x207ece[_0x8321e(0x185)](_0x2fea5a['dataFieldId'],_0x949178[_0x8321e(0x11a)]['Column'],void 0x0,_0x589de0),_0x2fea5a[_0x8321e(0x13a)]&&_0x207ece[_0x8321e(0xdc)](_0x2fea5a['id'],_0x2fea5a['sortInfo']),_0x2fea5a[_0x8321e(0x204)]&&_0x207ece[_0x8321e(0x175)](_0x2fea5a['id'],_0x2fea5a[_0x8321e(0x204)]),_0x2fea5a[_0x8321e(0x1c8)]&&_0x207ece['renameField'](_0x2fea5a['id'],_0x2fea5a[_0x8321e(0x1c8)]));}for(const _0x254271 of _0x189fea){const _0x4fcbe7=_0x496708[_0x254271];_0x4fcbe7&&_0x207ece[_0x8321e(0x1e5)](_0x4fcbe7['dataFieldId'])&&(_0x207ece[_0x8321e(0x185)](_0x4fcbe7[_0x8321e(0x368)],_0x949178['PivotTableFiledAreaEnum']['Filter'],void 0x0,_0x254271),_0x4fcbe7[_0x8321e(0x13a)]&&_0x207ece[_0x8321e(0xdc)](_0x4fcbe7['id'],_0x4fcbe7[_0x8321e(0x13a)]),_0x4fcbe7[_0x8321e(0x204)]&&_0x207ece[_0x8321e(0x175)](_0x4fcbe7['id'],_0x4fcbe7[_0x8321e(0x204)]),_0x4fcbe7[_0x8321e(0x1c8)]&&_0x207ece[_0x8321e(0x139)](_0x4fcbe7['id'],_0x4fcbe7['displayName']));}for(const _0x2bbcba of _0x182d8d){const _0x6e262e=_0x44ecd3[_0x2bbcba];_0x6e262e&&_0x207ece['getDataFieldByDataFieldId'](_0x6e262e[_0x8321e(0x368)])&&(_0x207ece['addFieldWithSourceId'](_0x6e262e[_0x8321e(0x368)],_0x949178[_0x8321e(0x11a)][_0x8321e(0x105)],void 0x0,_0x2bbcba),_0x6e262e[_0x8321e(0x317)]!==void 0x0&&_0x207ece[_0x8321e(0x36c)](_0x2bbcba,_0x6e262e[_0x8321e(0x317)]),_0x6e262e[_0x8321e(0x2f0)]&&_0x207ece[_0x8321e(0x197)](_0x2bbcba,_0x6e262e[_0x8321e(0x2f0)]),_0x6e262e[_0x8321e(0x1c8)]&&_0x207ece[_0x8321e(0x139)](_0x6e262e['id'],_0x6e262e[_0x8321e(0x1c8)]));}const _0x4081b3=_0x50fbb1[_0x8321e(0x202)];for(const {fieldId:_0x341486,filterInfo:_0x11e2f2}of _0x4081b3)_0x207ece[_0x8321e(0x16b)](_0x341486,_0x11e2f2);}function _0x30779a(_0x4069a6,_0x5eedf2){const _0x57877a=_0x5b4c6d,_0x1e2314=[];_0x5eedf2===_0x949178[_0x57877a(0x11a)]['Row']&&_0x4069a6[_0x57877a(0x10b)](_0x949178['PivotTableFiledAreaEnum'][_0x57877a(0x2bc)],_0x350f0a=>{const _0x2767e9=_0x57877a;_0x1e2314[_0x2767e9(0x1cc)](_0x350f0a[_0x2767e9(0x13b)]());}),_0x5eedf2===_0x949178[_0x57877a(0x11a)][_0x57877a(0x16e)]&&_0x4069a6[_0x57877a(0x10b)](_0x949178[_0x57877a(0x11a)][_0x57877a(0x16e)],_0x4a692d=>{const _0x26c789=_0x57877a;_0x1e2314[_0x26c789(0x1cc)](_0x4a692d[_0x26c789(0x13b)]());}),_0x5eedf2===_0x949178[_0x57877a(0x11a)][_0x57877a(0x12e)]&&_0x4069a6[_0x57877a(0x10b)](_0x949178[_0x57877a(0x11a)][_0x57877a(0x12e)],_0x2679e8=>{const _0x7b505e=_0x57877a;_0x1e2314[_0x7b505e(0x1cc)](_0x2679e8['getId']());}),_0x5eedf2===_0x949178[_0x57877a(0x11a)][_0x57877a(0x105)]&&_0x4069a6[_0x57877a(0x10b)](_0x949178[_0x57877a(0x11a)][_0x57877a(0x105)],_0x588be3=>{const _0x4f9ef4=_0x57877a;_0x1e2314[_0x4f9ef4(0x1cc)](_0x588be3['getId']());}),_0x5eedf2===void 0x0&&_0x4069a6[_0x57877a(0x2d5)](_0x3c0626=>{const _0x54b471=_0x57877a;_0x1e2314[_0x54b471(0x1cc)](_0x3c0626[_0x54b471(0x13b)]());});const _0x387865=_0x1e2314[_0x57877a(0xad)];for(let _0x22f16b=_0x387865-0x1;_0x22f16b>=0x0;_0x22f16b--)_0x4069a6[_0x57877a(0x2b1)](_0x1e2314[_0x22f16b]);const _0x33abea=_0x4069a6[_0x57877a(0x1a3)]();for(const _0x4acdfb in _0x33abea)_0x4069a6[_0x57877a(0x29b)](_0x4acdfb);}function _0x4f34b6(_0x57e74c,_0x413b1b){const _0x120046=_0x5b4c6d,_0x2eb5f7=new Date(_0x949178['excelDateToUnixMilliseconds'](_0x413b1b)),_0x50fd45=new Date(_0x949178[_0x120046(0x293)](_0x57e74c)),_0x5132a2=_0x2eb5f7[_0x120046(0x198)](),_0x4af45b=_0x50fd45[_0x120046(0x198)](),_0xd7740d=_0x2eb5f7[_0x120046(0x29a)](),_0x4c4e96=_0x50fd45[_0x120046(0x29a)](),_0x2ac67c=_0x2eb5f7[_0x120046(0x1db)](),_0x4d49db=_0x50fd45[_0x120046(0x1db)](),_0xf083aa=_0x5132a2===_0x4af45b,_0x1e8d14=_0xf083aa&&_0xd7740d===_0x4c4e96;return _0xf083aa&&_0x1e8d14&&!(_0x1e8d14&&_0x2ac67c===_0x4d49db)?_0x949178[_0x120046(0x27a)][_0x120046(0x266)]:_0xf083aa&&!_0x1e8d14?_0x949178[_0x120046(0x27a)]['YearMonth']:_0x949178[_0x120046(0x27a)]['Year'];}function _0x561cfe(_0x1cec8d,_0x4c8a06){const _0xf42420=_0x5b4c6d,_0x247ee5=_0x1cec8d[_0xf42420(0x177)](_0x3acc27[_0xf42420(0x144)])['getTextInfo']();let _0x21db0a='';switch(_0x4c8a06){case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0xf42420(0x266)]:_0x21db0a=_0x247ee5[_0xf42420(0x97)];break;case _0x949178[_0xf42420(0x27a)]['YearMonth']:_0x21db0a=_0x247ee5[_0xf42420(0x2c7)];break;case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0xf42420(0xb5)]:_0x21db0a=_0x247ee5['sheets-pivot.dateGroup.year'];break;case _0x949178[_0xf42420(0x27a)][_0xf42420(0x17a)]:_0x21db0a=_0x247ee5[_0xf42420(0x138)];break;case _0x949178[_0xf42420(0x27a)]['Quarter']:_0x21db0a=_0x247ee5[_0xf42420(0x328)];break;case _0x949178[_0xf42420(0x27a)]['Date']:_0x21db0a=_0x247ee5[_0xf42420(0x275)];break;case _0x949178[_0xf42420(0x27a)][_0xf42420(0x171)]:_0x21db0a=_0x247ee5[_0xf42420(0x280)];break;case _0x949178[_0xf42420(0x27a)]['Hour']:_0x21db0a=_0x247ee5['sheets-pivot.dateGroup.hour'];break;case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0xf42420(0x28b)]:_0x21db0a=_0x247ee5[_0xf42420(0xb4)];break;case _0x949178[_0xf42420(0x27a)][_0xf42420(0xdf)]:_0x21db0a=_0x247ee5[_0xf42420(0x166)];break;case _0x949178['PivotDateGroupFieldDateTypeEnum'][_0xf42420(0x12a)]:_0x21db0a=_0x247ee5['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x21db0a='';break;}return _0x21db0a;}const _0x1db600=_0x5b4c6d(0x272),_0x32b1dd={};var _0x3aaebd=Object[_0x5b4c6d(0x2f4)],_0x4c7034=(_0x53e793,_0x4fa6b8,_0x198a6e,_0x466953)=>{const _0x1a7747=_0x5b4c6d;for(var _0x32e2bf=_0x466953>0x1?void 0x0:_0x466953?_0x3aaebd(_0x4fa6b8,_0x198a6e):_0x4fa6b8,_0x151d45=_0x53e793[_0x1a7747(0xad)]-0x1,_0x2c53f7;_0x151d45>=0x0;_0x151d45--)(_0x2c53f7=_0x53e793[_0x151d45])&&(_0x32e2bf=_0x2c53f7(_0x32e2bf)||_0x32e2bf);return _0x32e2bf;},_0x3ca588=(_0x3db3fd,_0x163d36)=>(_0xe57c6b,_0x5784aa)=>_0x163d36(_0xe57c6b,_0x5784aa,_0x3db3fd);_0x3acc27[_0x5b4c6d(0x216)]=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x49515f,_0x4f4bb6,_0x2ef377,_0xa82a61,_0x4ec68b){const _0x3103bb=_0x5b4c6d;super(),_0x102d83(this,'_model',new Map()),_0x102d83(this,_0x3103bb(0x36d),new Map()),_0x102d83(this,_0x3103bb(0x2bd),new Map()),_0x102d83(this,_0x3103bb(0x21a),new Map()),_0x102d83(this,'_configVersion$',new _0x639aa[(_0x3103bb(0x1e2))]()),_0x102d83(this,_0x3103bb(0x2e3),new _0x639aa['Subject']()),_0x102d83(this,_0x3103bb(0x1dc),this[_0x3103bb(0x2e3)][_0x3103bb(0xcf)]()),_0x102d83(this,_0x3103bb(0x1ea),new _0x639aa['Subject']()),_0x102d83(this,_0x3103bb(0x37c),this['_pivotConfigChange$'][_0x3103bb(0xcf)]()),_0x102d83(this,_0x3103bb(0xf9),{}),_0x102d83(this,_0x3103bb(0x122),this[_0x3103bb(0x23c)][_0x3103bb(0xcf)]()),(this[_0x3103bb(0x214)]=_0x49515f,this[_0x3103bb(0x2c6)]=_0x4f4bb6,this[_0x3103bb(0x35d)]=_0x2ef377,this[_0x3103bb(0x2ca)]=_0xa82a61,this['_configService']=_0x4ec68b,this[_0x3103bb(0x19d)](),this[_0x3103bb(0xd3)]());const _0x2cde3c=this['_configService'][_0x3103bb(0x340)](_0x1db600);(_0x2cde3c==null?void 0x0:_0x2cde3c[_0x3103bb(0x1d2)])===!0x0&&this[_0x3103bb(0x322)]();}['_initUnitDisposed'](){const _0x27dc63=_0x5b4c6d;this['disposeWithMe'](this[_0x27dc63(0x35d)]['getTypeOfUnitDisposed$'](_0x2be92f[_0x27dc63(0x326)][_0x27dc63(0x150)])[_0x27dc63(0x17c)](_0x1bff9a=>{const _0x53fe5c=_0x27dc63;this[_0x53fe5c(0x2fb)](_0x1bff9a[_0x53fe5c(0x1a8)]());}));}[_0x5b4c6d(0x1e3)](){const _0x5e7b0b=_0x5b4c6d;this[_0x5e7b0b(0x2e3)][_0x5e7b0b(0x19b)](!0x0);}[_0x5b4c6d(0x19d)](){const _0x34e076=_0x5b4c6d,_0x427451=_0x5657cd(this[_0x34e076(0x214)],_0x5d52b8,'',{});this[_0x34e076(0xf9)]=_0x427451,this[_0x34e076(0x2c6)]['executeCommand'](_0x5273d0['id'],{'textInfo':_0x427451},{'onlyLocal':!0x0});}[_0x5b4c6d(0xf7)](){const _0x542fe7=_0x5b4c6d;return this[_0x542fe7(0xf9)];}['updateViewInfo'](_0x556aab,_0xbbe3d6,_0x15446b,_0xcc6391,_0x4bee3b){const _0x2a860d=_0x5b4c6d;this[_0x2a860d(0x17f)](_0x556aab,_0xbbe3d6,_0x15446b,_0xcc6391),this[_0x2a860d(0x1c7)](_0x556aab,_0xbbe3d6,_0x15446b,_0x4bee3b);}[_0x5b4c6d(0x290)](_0x492286,_0x4ea4e1,_0x16daa8){const _0x59b8c0=_0x5b4c6d;var _0x3d4cc7;const _0x14cf5b=(_0x3d4cc7=this[_0x59b8c0(0x14c)][_0x59b8c0(0x177)](_0x492286))==null?void 0x0:_0x3d4cc7[_0x59b8c0(0x177)](_0x4ea4e1);if(_0x14cf5b)return _0x14cf5b['get'](_0x16daa8);}[_0x5b4c6d(0x1f9)](_0x3e40eb,_0x564d2a){const _0x28ffa9=_0x5b4c6d,_0x3bf763=this[_0x28ffa9(0x14c)][_0x28ffa9(0x177)](_0x3e40eb);if(_0x3bf763){for(const [_0x1015cf,_0x5d84f3]of _0x3bf763[_0x28ffa9(0x88)]())for(const [_0x6fb5f0,_0x7e33f4]of _0x5d84f3[_0x28ffa9(0x88)]())if(_0x6fb5f0===_0x564d2a)return _0x7e33f4['targetCellInfo'];}}[_0x5b4c6d(0x1b1)](_0xa9da50,_0x47e3f5,_0x1de2f8){const _0x2f7f48=_0x5b4c6d,_0x3d46ef=this['getPivotTableConfig'](_0xa9da50,_0x47e3f5,_0x1de2f8);return _0x3d46ef==null?void 0x0:_0x3d46ef[_0x2f7f48(0x282)];}['getSubUnitPivotConfigs'](_0x2802dd,_0x9e438f){const _0x46851f=_0x5b4c6d;var _0x40dd27;return(_0x40dd27=this[_0x46851f(0x14c)][_0x46851f(0x177)](_0x2802dd))==null?void 0x0:_0x40dd27[_0x46851f(0x177)](_0x9e438f);}['updateConfigCache'](_0x5b418b,_0xc2c4b1,_0x3e3994,_0x351365){const _0x2b74b4=_0x5b4c6d,_0x2a0be8=this['_ensurePivotMap'](_0x5b418b,_0xc2c4b1);_0x351365?_0x2a0be8[_0x2b74b4(0xe6)](_0x3e3994,_0x351365):_0x2a0be8['delete'](_0x3e3994),this['_pivotConfigChange$'][_0x2b74b4(0x19b)]({'unitId':_0x5b418b,'subUnitId':_0xc2c4b1,'pivotTableId':_0x3e3994,'pivotTableConfig':_0x351365});}[_0x5b4c6d(0x28c)](_0x43a557,_0x83cfc3){const _0x58a2bf=_0x5b4c6d;var _0x55572f;return(_0x55572f=this[_0x58a2bf(0x36d)][_0x58a2bf(0x177)](_0x43a557))==null?void 0x0:_0x55572f[_0x58a2bf(0x307)][_0x83cfc3];}[_0x5b4c6d(0x153)](_0x3c7471,_0x3f93f3){const _0x5f1804=_0x5b4c6d;this[_0x5f1804(0x36d)][_0x5f1804(0xe6)](_0x3c7471,_0x3f93f3),this[_0x5f1804(0x23c)][_0x5f1804(0x19b)](Math[_0x5f1804(0x323)]());}[_0x5b4c6d(0x1f7)](_0x5c458e,_0x16edff){const _0x2e9fcb=_0x5b4c6d;let _0x58439c=this[_0x2e9fcb(0x14c)]['get'](_0x5c458e);_0x58439c||(_0x58439c=new Map(),this[_0x2e9fcb(0x14c)]['set'](_0x5c458e,_0x58439c));let _0x3ae73b=_0x58439c['get'](_0x16edff);return _0x3ae73b||(_0x3ae73b=new Map(),_0x58439c[_0x2e9fcb(0xe6)](_0x16edff,_0x3ae73b)),_0x3ae73b;}[_0x5b4c6d(0x1f4)](_0x12f811,_0x52aaaf){const _0x591e15=_0x5b4c6d;let _0x17804d=this[_0x591e15(0x2bd)][_0x591e15(0x177)](_0x12f811);_0x17804d||(_0x17804d=new Map(),this[_0x591e15(0x2bd)][_0x591e15(0xe6)](_0x12f811,_0x17804d));let _0x59b17c=_0x17804d[_0x591e15(0x177)](_0x52aaaf);return _0x59b17c||(_0x59b17c=new Map(),_0x17804d['set'](_0x52aaaf,_0x59b17c)),_0x59b17c;}[_0x5b4c6d(0x13e)](_0x1e90bd,_0x1fe34d){const _0x2bd24d=_0x5b4c6d;let _0x308375=this[_0x2bd24d(0x21a)][_0x2bd24d(0x177)](_0x1e90bd);_0x308375||(_0x308375=new Map(),this[_0x2bd24d(0x21a)][_0x2bd24d(0xe6)](_0x1e90bd,_0x308375));let _0x55cb8e=_0x308375[_0x2bd24d(0x177)](_0x1fe34d);return _0x55cb8e||(_0x55cb8e=new Map(),_0x308375[_0x2bd24d(0xe6)](_0x1fe34d,_0x55cb8e)),_0x55cb8e;}[_0x5b4c6d(0x1c7)](_0x4a059e,_0x575ea0,_0x141f1e,_0x15239e){const _0x20eff1=_0x5b4c6d;var _0x1af9f3;const _0xcc59d5=this[_0x20eff1(0x1f4)](_0x4a059e,_0x575ea0),_0x458303=(_0x1af9f3=_0xcc59d5[_0x20eff1(0x177)](_0x141f1e))==null?void 0x0:_0x1af9f3['oldRangeInfo'];_0xcc59d5['set'](_0x141f1e,{'oldRangeInfo':_0x458303,'rangeInfo':_0x15239e});}[_0x5b4c6d(0x17f)](_0x1d9420,_0x13807a,_0x4a5198,_0x57953c){const _0x83b500=_0x5b4c6d;var _0x309801;const _0x3eb75e=this['_ensurePivotTableMatrixInfo'](_0x1d9420,_0x13807a),_0x467513=(_0x309801=_0x3eb75e['get'](_0x4a5198))==null?void 0x0:_0x309801[_0x83b500(0x8b)];_0x3eb75e[_0x83b500(0xe6)](_0x4a5198,{'oldMatrix':_0x467513,'matrix':_0x57953c});}[_0x5b4c6d(0x147)](_0x3e777c,_0xb7abd2,_0x3fd0b1){const _0x2ced5c=_0x5b4c6d;var _0x3a37ba,_0x4a35c0;return(_0x4a35c0=(_0x3a37ba=this[_0x2ced5c(0x2bd)][_0x2ced5c(0x177)](_0x3e777c))==null?void 0x0:_0x3a37ba['get'](_0xb7abd2))==null?void 0x0:_0x4a35c0[_0x2ced5c(0x177)](_0x3fd0b1);}[_0x5b4c6d(0x17e)](_0x4ff07b,_0x276e49,_0x442f73){const _0x16c075=_0x5b4c6d;var _0x26a9f2,_0x1f6052;return(_0x1f6052=(_0x26a9f2=this[_0x16c075(0x21a)][_0x16c075(0x177)](_0x4ff07b))==null?void 0x0:_0x26a9f2[_0x16c075(0x177)](_0x276e49))==null?void 0x0:_0x1f6052[_0x16c075(0x177)](_0x442f73);}[_0x5b4c6d(0x2fb)](_0xd9379e){const _0x1e6204=_0x5b4c6d;this[_0x1e6204(0x14c)][_0x1e6204(0x236)](_0xd9379e),this[_0x1e6204(0x36d)][_0x1e6204(0x236)](_0xd9379e);}[_0x5b4c6d(0x37d)](_0x500eaa){const _0x39552b=_0x5b4c6d,_0x229b6f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x39552b(0x36d)]['get'](_0x500eaa)&&(_0x229b6f[_0x39552b(0x359)][_0x500eaa]=this[_0x39552b(0x36d)][_0x39552b(0x177)](_0x500eaa)),this[_0x39552b(0x14c)][_0x39552b(0x177)](_0x500eaa)){_0x229b6f[_0x39552b(0x100)][_0x500eaa]={};const _0x3237ff=this[_0x39552b(0x14c)][_0x39552b(0x177)](_0x500eaa);_0x3237ff!=null&&_0x3237ff[_0x39552b(0x18c)]&&[..._0x3237ff[_0x39552b(0x102)]()][_0x39552b(0x36a)](_0xe33658=>{const _0x268ced=_0x39552b,_0x2862a2=_0x3237ff[_0x268ced(0x177)](_0xe33658);_0x2862a2!=null&&_0x2862a2[_0x268ced(0x18c)]&&(_0x229b6f[_0x268ced(0x100)][_0x500eaa][_0xe33658]={},[..._0x2862a2[_0x268ced(0x102)]()][_0x268ced(0x36a)](_0x23a1ca=>{const _0x22599f=_0x268ced,_0xed1993=_0x2862a2[_0x22599f(0x177)](_0x23a1ca);_0xed1993&&(_0x229b6f[_0x22599f(0x100)][_0x500eaa][_0xe33658][_0x23a1ca]=_0xed1993);}));});}return _0x229b6f;}[_0x5b4c6d(0x322)](){const _0x171203=_0x5b4c6d;this[_0x171203(0x20b)](this[_0x171203(0x2ca)][_0x171203(0x1d1)]({'toJson':_0x41820b=>JSON['stringify'](this[_0x171203(0x37d)](_0x41820b)),'parseJson':_0x183c21=>({}),'businesses':[_0x2be92f['UniverInstanceType'][_0x171203(0x150)]],'pluginName':_0x54e52d,'onLoad':(_0x31b7c2,_0x5e608b)=>{},'onUnLoad':_0x34b088=>{const _0x388715=_0x171203;this[_0x388715(0x2fb)](_0x34b088);}}));}},_0x3acc27[_0x5b4c6d(0x216)]=_0x4c7034([_0x3ca588(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xf0)])),_0x3ca588(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x109)])),_0x3ca588(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f['IUniverInstanceService'])),_0x3ca588(0x3,_0x2be92f['Inject'](_0x2be92f['IResourceManagerService'])),_0x3ca588(0x4,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x27f)]))],_0x3acc27['SheetsPivotTableConfigModel']);var _0x651db9=Object[_0x5b4c6d(0x2f4)],_0x498192=(_0x477253,_0x33f665,_0xe8904f,_0x4ad0ee)=>{const _0x355692=_0x5b4c6d;for(var _0x2f2b41=_0x4ad0ee>0x1?void 0x0:_0x4ad0ee?_0x651db9(_0x33f665,_0xe8904f):_0x33f665,_0x364e63=_0x477253[_0x355692(0xad)]-0x1,_0x556afa;_0x364e63>=0x0;_0x364e63--)(_0x556afa=_0x477253[_0x364e63])&&(_0x2f2b41=_0x556afa(_0x2f2b41)||_0x2f2b41);return _0x2f2b41;},_0xe5b048=(_0x1769a8,_0x40cd64)=>(_0x2e393a,_0x59650c)=>_0x40cd64(_0x2e393a,_0x59650c,_0x1769a8);_0x3acc27[_0x5b4c6d(0x111)]=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x18e02d,_0x46fd02,_0x3fa0c0,_0x54c869,_0x5a97bb){const _0x363820=_0x5b4c6d;super(),_0x102d83(this,_0x363820(0xab),new Map()),_0x102d83(this,_0x363820(0x8a),new Map()),_0x102d83(this,'_markDirty$',new _0x639aa[(_0x363820(0x1e2))]()),_0x102d83(this,_0x363820(0x2dc),this[_0x363820(0x23a)][_0x363820(0xcf)]()),_0x102d83(this,'_viewUpdate$',new _0x639aa[(_0x363820(0x1e2))]()),_0x102d83(this,'viewUpdate$',this['_viewUpdate$']['asObservable']()),_0x102d83(this,_0x363820(0xf9)),(this[_0x363820(0x26d)]=_0x18e02d,this['_injector']=_0x46fd02,this['_sheetsPivotTableConfigModel']=_0x3fa0c0,this[_0x363820(0x35d)]=_0x54c869,this[_0x363820(0x11d)]=_0x5a97bb,this[_0x363820(0x19d)](),this['_initUnitDisposed']());}[_0x5b4c6d(0xd3)](){const _0x2fc786=_0x5b4c6d;this[_0x2fc786(0x20b)](this[_0x2fc786(0x35d)][_0x2fc786(0x118)](_0x2be92f[_0x2fc786(0x326)][_0x2fc786(0x150)])[_0x2fc786(0x17c)](_0x5d6aa6=>{const _0x4dce4b=_0x2fc786;this[_0x4dce4b(0x2fb)](_0x5d6aa6[_0x4dce4b(0x1a8)]());}));}[_0x5b4c6d(0x19d)](){const _0x486864=_0x5b4c6d;this[_0x486864(0xf9)]=_0x5657cd(this['_injector'],_0x5d52b8,'',{});}['updateRenderCache'](_0x38fd0e){const _0x5c2e50=_0x5b4c6d,{view:_0x2ddebc,unitId:_0x111774,subUnitId:_0x3038d6,pivotTableId:_0x38b174,type:_0x42d12b}=_0x38fd0e,_0x4111e4=this[_0x5c2e50(0x28a)][_0x5c2e50(0x290)](_0x111774,_0x3038d6,_0x38b174);if(!_0x2ddebc||!_0x4111e4||_0x42d12b===_0x1bbb8c[_0x5c2e50(0x231)])return;const {pageView:_0x282455,cornerView:_0xf9c67f,rowView:_0x1a0f5c,colView:_0x5b0187,dataView:_0x58d357}=_0x2ddebc,_0x4e8919=_0x4111e4[_0x5c2e50(0x282)],_0x145121=_0x4111e4[_0x5c2e50(0x121)],_0x414f30=this[_0x5c2e50(0x292)](_0x111774,_0x3038d6),_0x50ec9c=this['_ensurePivotItemRenderInfoCache'](_0x111774,_0x3038d6,_0x38b174);if(_0x145121)return this[_0x5c2e50(0x2f1)](_0x38fd0e,_0x414f30,_0x4e8919,_0x50ec9c);{const _0x35c6c9=_0xca17aa(_0x4e8919,_0x282455,!0x0),_0x2891c2=_0x282455[_0x5c2e50(0x308)]>=0x0?_0x282455[_0x5c2e50(0x308)]+0x1:0x0,_0xfaaeda=_0xf9c67f[_0x5c2e50(0x312)](),_0x3491cc=_0xf9c67f[_0x5c2e50(0x345)](),_0x1036d6=_0x35c6c9[_0x5c2e50(0xad)]>0x0?_0x549def:0x0,_0x5dff53=_0xca17aa({'row':_0x4e8919[_0x5c2e50(0x178)]+_0x2891c2+_0x1036d6,'col':_0x4e8919['col']},_0xf9c67f,!0x1,!0x1),_0x3e047f=_0xca17aa({'row':_0x4e8919[_0x5c2e50(0x178)]+_0x2891c2+_0x1036d6+_0xfaaeda,'col':_0x4e8919[_0x5c2e50(0x320)]},_0x1a0f5c,!0x1,!0x0),_0xa1b99e=_0xca17aa({'row':_0x4e8919['row']+_0x2891c2+_0x1036d6,'col':_0x4e8919[_0x5c2e50(0x320)]+_0x3491cc},_0x5b0187,!0x1,!0x0),_0x4a7661=_0xca17aa({'row':_0x4e8919['row']+_0x2891c2+_0x1036d6+_0xfaaeda,'col':_0x4e8919[_0x5c2e50(0x320)]+_0x3491cc},_0x58d357,!0x1,!0x1);_0x50ec9c['rangesInfo']={'rowRanges':_0x3e047f,'colRanges':_0xa1b99e,'cornerRanges':_0x5dff53,'dataRanges':_0x4a7661,'pageRanges':_0x35c6c9};const _0x3080c7=_0x3f0e6f(this['_injector'],_0x2ddebc,_0x4111e4,this['_textInfo']),{valueMatrix:_0xa58674,rowInfo:_0x505bf6,colInfo:_0x30522b,cornerInfo:_0x25347e,rowHeaderMap:_0x38d8a7,colHeaderMap:_0x4ce51d}=_0x3080c7;return _0x50ec9c[_0x5c2e50(0x2c0)]={'rowInfo':_0x505bf6,'colInfo':_0x30522b,'cornerInfo':_0x25347e},_0x50ec9c[_0x5c2e50(0x21c)]={'rowHeaderMap':_0x38d8a7,'colHeaderMap':_0x4ce51d},_0xa58674[_0x5c2e50(0x36a)]((_0x442881,_0x362e0f)=>{const _0x5c985c=_0x5c2e50;Object[_0x5c985c(0x102)](_0x362e0f)[_0x5c985c(0x36a)](_0x1e99bd=>{const _0x2d69eb=_0x5c985c,_0x5c237c=+_0x1e99bd,_0xf664e=_0xa58674['getValue'](_0x442881,_0x5c237c);_0x414f30[_0x2d69eb(0x15a)](_0x442881,_0x5c237c,_0xf664e);});}),this[_0x5c2e50(0xb8)][_0x5c2e50(0x19b)]({'unitId':_0x111774,'subUnitId':_0x3038d6,'valueMatrix':_0x414f30,'rangesCache':_0x50ec9c[_0x5c2e50(0x146)],'pivotTableId':_0x38b174,'type':_0x38fd0e[_0x5c2e50(0x2b6)]}),this[_0x5c2e50(0x28a)][_0x5c2e50(0x119)](_0x111774,_0x3038d6,_0x38b174,_0x414f30,_0x50ec9c[_0x5c2e50(0x146)]),this[_0x5c2e50(0x11d)][_0x5c2e50(0x37f)](_0x111774,_0x3038d6,_0x2a5bb6,this[_0x5c2e50(0x353)](_0x50ec9c[_0x5c2e50(0x146)],_0x38b174)),{'rangeCache':_0x50ec9c[_0x5c2e50(0x146)],'matrix':_0x414f30};}}[_0x5b4c6d(0x2f1)](_0x19017c,_0x28c6dd,_0x4e70c3,_0x3d95a3){const _0x10d428=_0x5b4c6d,_0x4f2d92=this[_0x10d428(0x26d)]['t'],{unitId:_0x3131f2,subUnitId:_0x3333a7,pivotTableId:_0x49a8e3}=_0x19017c,_0x4a6ca5={'filter':_0x4f2d92(_0x10d428(0x2cf)),'row':_0x4f2d92('sheets-pivot.emptyPivot.row'),'column':_0x4f2d92(_0x10d428(0x148)),'values':_0x4f2d92('sheets-pivot.emptyPivot.values')},{matrixCache:_0x3a99bc,rangesCache:_0x4548c5}=_0x28cda4(_0x4a6ca5,_0x4e70c3);return _0x3a99bc['forValue']((_0x24174e,_0x5d47b7,_0x27e722)=>{_0x28c6dd['setValue'](_0x24174e,_0x5d47b7,_0x27e722);}),_0x3d95a3[_0x10d428(0x146)]=_0x4548c5,this[_0x10d428(0xb8)][_0x10d428(0x19b)]({'unitId':_0x3131f2,'subUnitId':_0x3333a7,'valueMatrix':_0x28c6dd,'rangesCache':_0x4548c5,'pivotTableId':_0x49a8e3,'type':_0x19017c[_0x10d428(0x2b6)],'isEmpty':!0x0}),this[_0x10d428(0x28a)][_0x10d428(0x119)](_0x3131f2,_0x3333a7,_0x49a8e3,_0x28c6dd,_0x4548c5),this[_0x10d428(0x11d)][_0x10d428(0x37f)](_0x3131f2,_0x3333a7,_0x2a5bb6,this[_0x10d428(0x353)](_0x4548c5,_0x49a8e3)),{'rangeCache':_0x3d95a3['rangesInfo'],'matrix':_0x28c6dd};}['_createExclusiveRange'](_0x1dc5cd,_0x3a28c2){const _0x5e516a=_0x5b4c6d,_0x34f367=[],_0x625114=_0x4c470f(_0x1dc5cd);for(const _0xc1e77 of _0x625114)_0x34f367[_0x5e516a(0x1cc)]({'groupId':_0x3a28c2,'range':_0xc1e77});return _0x34f367;}[_0x5b4c6d(0x1e7)](_0x4afda9){const _0x3e1263=_0x5b4c6d;var _0x4d62bb,_0x4b01dd,_0x3ffd10,_0xb18762;const {pivotTableId:_0x4bd4e7,unitId:_0x4a9b5e,subUnitId:_0x13affb}=_0x4afda9;if(!_0x4bd4e7||!_0x4a9b5e||!_0x13affb)return;const _0x2b3bbf=this[_0x3e1263(0x292)](_0x4a9b5e,_0x13affb),_0x1a2ab4=(_0x4b01dd=(_0x4d62bb=this[_0x3e1263(0xab)][_0x3e1263(0x177)](_0x4a9b5e))==null?void 0x0:_0x4d62bb['get'](_0x13affb))==null?void 0x0:_0x4b01dd['get'](_0x4bd4e7);if(_0x1a2ab4!=null&&_0x1a2ab4[_0x3e1263(0x146)]){for(const _0x41f9e0 of Object[_0x3e1263(0x102)](_0x1a2ab4[_0x3e1263(0x146)]))_0x1a2ab4[_0x3e1263(0x146)][_0x41f9e0][_0x3e1263(0x36a)](_0x214337=>{const _0x5267cd=_0x3e1263;for(let _0x3d90bb=_0x214337[_0x5267cd(0xee)];_0x3d90bb<=_0x214337[_0x5267cd(0x87)];_0x3d90bb++)for(let _0x53114f=_0x214337[_0x5267cd(0x281)];_0x53114f<=_0x214337[_0x5267cd(0x249)];_0x53114f++)_0x2b3bbf[_0x5267cd(0x1c6)](_0x3d90bb,_0x53114f);});}_0x1a2ab4&&((_0xb18762=(_0x3ffd10=this[_0x3e1263(0xab)][_0x3e1263(0x177)](_0x4a9b5e))==null?void 0x0:_0x3ffd10[_0x3e1263(0x177)](_0x13affb))==null||_0xb18762['delete'](_0x4bd4e7)),this[_0x3e1263(0xb8)][_0x3e1263(0x19b)]({'unitId':_0x4a9b5e,'subUnitId':_0x13affb,'valueMatrix':_0x2b3bbf,'pivotTableId':_0x4bd4e7,'rangesCache':void 0x0,'type':_0x4afda9[_0x3e1263(0x2b6)]}),this[_0x3e1263(0x11d)][_0x3e1263(0x25d)](_0x4a9b5e,_0x13affb,_0x2a5bb6,_0x4bd4e7);}[_0x5b4c6d(0x19c)](_0x4d1257,_0x24b4fb,_0x2d624b){const _0x38c813=_0x5b4c6d;var _0x1c15fa,_0x1ee7e9,_0x5e89d5,_0x3d4dbb,_0x3090d8,_0x31206f;return this[_0x38c813(0xab)][_0x38c813(0x208)](_0x4d1257)||this[_0x38c813(0xab)]['set'](_0x4d1257,new Map()),(_0x1c15fa=this[_0x38c813(0xab)][_0x38c813(0x177)](_0x4d1257))!=null&&_0x1c15fa[_0x38c813(0x208)](_0x24b4fb)||(_0x1ee7e9=this[_0x38c813(0xab)][_0x38c813(0x177)](_0x4d1257))==null||_0x1ee7e9[_0x38c813(0xe6)](_0x24b4fb,new Map()),(_0x3d4dbb=(_0x5e89d5=this[_0x38c813(0xab)]['get'](_0x4d1257))==null?void 0x0:_0x5e89d5['get'](_0x24b4fb))!=null&&_0x3d4dbb[_0x38c813(0x208)](_0x2d624b)||(_0x31206f=(_0x3090d8=this[_0x38c813(0xab)][_0x38c813(0x177)](_0x4d1257))==null?void 0x0:_0x3090d8['get'](_0x24b4fb))==null||_0x31206f[_0x38c813(0xe6)](_0x2d624b,{}),this[_0x38c813(0xab)][_0x38c813(0x177)](_0x4d1257)[_0x38c813(0x177)](_0x24b4fb)[_0x38c813(0x177)](_0x2d624b);}[_0x5b4c6d(0x292)](_0x90f0aa,_0x4a6c8e){const _0x204058=_0x5b4c6d;var _0x118726,_0xcab5a7;return this[_0x204058(0x8a)][_0x204058(0x208)](_0x90f0aa)||this[_0x204058(0x8a)][_0x204058(0xe6)](_0x90f0aa,new Map()),(_0x118726=this[_0x204058(0x8a)]['get'](_0x90f0aa))!=null&&_0x118726[_0x204058(0x208)](_0x4a6c8e)||(_0xcab5a7=this[_0x204058(0x8a)]['get'](_0x90f0aa))==null||_0xcab5a7[_0x204058(0xe6)](_0x4a6c8e,new _0x2be92f['ObjectMatrix']()),this[_0x204058(0x8a)][_0x204058(0x177)](_0x90f0aa)[_0x204058(0x177)](_0x4a6c8e);}[_0x5b4c6d(0x264)](_0x4eafb6,_0x5f0a89,_0x4f7436,_0x42b109){const _0x5e0924=_0x5b4c6d;var _0x374fdc,_0x26bc55;const _0x5040bf=(_0x26bc55=(_0x374fdc=this['_pivotRenderValueMatrixCache']['get'](_0x4eafb6))==null?void 0x0:_0x374fdc[_0x5e0924(0x177)](_0x5f0a89))==null?void 0x0:_0x26bc55[_0x5e0924(0x206)](_0x4f7436,_0x42b109);if(_0x5040bf!=null)return _0x5040bf;}[_0x5b4c6d(0x18d)](_0x103132,_0x5c993d,_0x3d5f7e,_0x426d47){const _0x1eb7a1=_0x5b4c6d;var _0x2b25d6;const _0x2438b7=_0x2be92f[_0x1eb7a1(0x161)](_0x3d5f7e,_0x426d47),_0x6ed929=(_0x2b25d6=this['_pivotRenderInfoCache'][_0x1eb7a1(0x177)](_0x103132))==null?void 0x0:_0x2b25d6[_0x1eb7a1(0x177)](_0x5c993d);return _0x6ed929?Array['from'](_0x6ed929[_0x1eb7a1(0x102)]())['find'](_0x10f068=>{const _0x437bc3=_0x1eb7a1,_0x1bcdae=_0x6ed929['get'](_0x10f068),_0x4e09ba=_0x1bcdae==null?void 0x0:_0x1bcdae[_0x437bc3(0x146)];return _0x4e09ba?Object[_0x437bc3(0x102)](_0x4e09ba)[_0x437bc3(0x20d)](_0x20458f=>_0x4e09ba[_0x20458f][_0x437bc3(0x20d)](_0x3087cb=>_0x2be92f[_0x437bc3(0x337)][_0x437bc3(0xdd)](_0x3087cb,_0x2438b7))):!0x1;}):void 0x0;}[_0x5b4c6d(0x192)](_0x24e3eb,_0x339f9f,_0xc43206){const _0x56cfaf=_0x5b4c6d;var _0x37fbeb;const _0x2034a2=(_0x37fbeb=this[_0x56cfaf(0xab)]['get'](_0x24e3eb))==null?void 0x0:_0x37fbeb['get'](_0x339f9f),_0x2d7866=[];return _0x2034a2&&Array[_0x56cfaf(0x1dd)](_0x2034a2[_0x56cfaf(0x102)]())[_0x56cfaf(0x36a)](_0x8023e5=>{const _0x41afeb=_0x56cfaf,_0xbde2f8=_0x2034a2[_0x41afeb(0x177)](_0x8023e5),_0x33fab1=_0xbde2f8==null?void 0x0:_0xbde2f8[_0x41afeb(0x146)];if(_0x33fab1)for(const _0x30875a of Object['values'](_0x33fab1)){let _0x229061=!0x1;for(const _0x29461e of _0x30875a)if(_0x2be92f[_0x41afeb(0x337)]['intersects'](_0x29461e,_0xc43206)){_0x2d7866[_0x41afeb(0x1cc)](_0x8023e5),_0x229061=!0x0;break;}if(_0x229061)break;}}),_0x2d7866;}['getSubUnitPivotMatrix'](_0x11ddfb,_0x22f554){const _0x4513e3=_0x5b4c6d;var _0x14aabf,_0x5c5791;return(_0x5c5791=(_0x14aabf=this[_0x4513e3(0x8a)][_0x4513e3(0x177)](_0x11ddfb))==null?void 0x0:_0x14aabf['get'](_0x22f554))!=null?_0x5c5791:new _0x2be92f[(_0x4513e3(0x176))]();}[_0x5b4c6d(0x377)](_0x292ce0,_0x2546f5){const _0x516b6d=_0x5b4c6d;var _0x2ef5e4;return(_0x2ef5e4=this[_0x516b6d(0xab)][_0x516b6d(0x177)](_0x292ce0))==null?void 0x0:_0x2ef5e4[_0x516b6d(0x177)](_0x2546f5);}['getPivotItemRenderInfoCache'](_0x2b26fe,_0x273307,_0x57f97d){const _0x46c972=_0x5b4c6d;var _0x516886,_0x49ec89;return(_0x49ec89=(_0x516886=this[_0x46c972(0xab)][_0x46c972(0x177)](_0x2b26fe))==null?void 0x0:_0x516886[_0x46c972(0x177)](_0x273307))==null?void 0x0:_0x49ec89[_0x46c972(0x177)](_0x57f97d);}[_0x5b4c6d(0x2fb)](_0x3702ed){const _0x94ab54=_0x5b4c6d;this[_0x94ab54(0xab)][_0x94ab54(0x236)](_0x3702ed),this[_0x94ab54(0x8a)][_0x94ab54(0x236)](_0x3702ed);}['markDirty'](_0x496db2,_0x4791f9){const _0x11461d=_0x5b4c6d;this[_0x11461d(0x23a)][_0x11461d(0x19b)]({'unitId':_0x496db2,'subUnitId':_0x4791f9});}},_0x3acc27[_0x5b4c6d(0x111)]=_0x498192([_0xe5b048(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f['LocaleService'])),_0xe5b048(0x1,_0x2be92f['Inject'](_0x2be92f[_0x5b4c6d(0xf0)])),_0xe5b048(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x216)])),_0xe5b048(0x3,_0x2be92f['Inject'](_0x2be92f[_0x5b4c6d(0xd2)])),_0xe5b048(0x4,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83['IExclusiveRangeService']))],_0x3acc27[_0x5b4c6d(0x111)]);var _0x2408d8=Object[_0x5b4c6d(0x2f4)],_0x46d2f7=(_0x5412fd,_0x1d132b,_0x15d8bd,_0x39e176)=>{const _0x59a7b1=_0x5b4c6d;for(var _0x4955b4=_0x39e176>0x1?void 0x0:_0x39e176?_0x2408d8(_0x1d132b,_0x15d8bd):_0x1d132b,_0x50f1c9=_0x5412fd[_0x59a7b1(0xad)]-0x1,_0x481db8;_0x50f1c9>=0x0;_0x50f1c9--)(_0x481db8=_0x5412fd[_0x50f1c9])&&(_0x4955b4=_0x481db8(_0x4955b4)||_0x4955b4);return _0x4955b4;},_0x2b90aa=(_0x174d10,_0xd6534b)=>(_0x2dfd67,_0x7d4185)=>_0xd6534b(_0x2dfd67,_0x7d4185,_0x174d10);_0x3acc27['SheetsPivotTableService']=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x3f2383,_0x2e13f0){const _0x23a6c4=_0x5b4c6d;super(),_0x102d83(this,'asyncInterceptor',new _0x2be92f[(_0x23a6c4(0xbd))]({'PIVOT_PERFORM_CHECK':_0x26e2dc})),_0x102d83(this,_0x23a6c4(0x297),new _0x2be92f[(_0x23a6c4(0x27b))]({'PIVOT_MUTATION_GENERATE':_0xdfc14c})),(this['_sheetInterceptorService']=_0x3f2383,this[_0x23a6c4(0x2aa)]=_0x2e13f0,this[_0x23a6c4(0x169)]());}['_init'](){const _0x1418ab=_0x5b4c6d;this[_0x1418ab(0x1d4)]();}['getPivotPerformCheck'](_0x15ca8b){const _0x48d33b=_0x5b4c6d;return this['asyncInterceptor'][_0x48d33b(0x23b)](_0x26e2dc)(!0x1,_0x15ca8b);}[_0x5b4c6d(0x1d4)](){const _0x95ba86=_0x5b4c6d;this['disposeWithMe'](this[_0x95ba86(0x30e)][_0x95ba86(0x2c9)](_0xac1e83[_0x95ba86(0x226)][_0x95ba86(0x330)],{'priority':0xc8,'effect':_0x2be92f[_0x95ba86(0x348)][_0x95ba86(0x105)]|_0x2be92f['InterceptorEffectEnum']['Style'],'handler':(_0xfc2671,_0x4b1423,_0x1e6994)=>{const _0x422371=_0x95ba86,{row:_0x1e5e40,col:_0x557aae,unitId:_0x5efb9f,subUnitId:_0x1fdb32,workbook:_0x4f6523}=_0x4b1423,_0x122a6d=this[_0x422371(0x2aa)][_0x422371(0x264)](_0x5efb9f,_0x1fdb32,_0x1e5e40,_0x557aae);if(!_0x122a6d)return _0x1e6994(_0xfc2671);const _0xdc8d52={..._0xfc2671};(_0x122a6d['v']||_0x122a6d['v']===0x0)&&(_0xdc8d52['v']=_0x122a6d['v']),_0x122a6d['t']&&(_0xdc8d52['t']=_0x122a6d['t']);const _0xff0a2c=(typeof(_0xfc2671==null?void 0x0:_0xfc2671['s'])=='string'?_0x4f6523[_0x422371(0x2f8)]()[_0x422371(0x177)](_0xfc2671==null?void 0x0:_0xfc2671['s']):_0xfc2671==null?void 0x0:_0xfc2671['s'])||{},_0x5238e0=_0x4f6523[_0x422371(0x2f8)]()[_0x422371(0x177)](_0x122a6d['s']),_0x29c4f1={..._0x5238e0,..._0xff0a2c};_0x5238e0!=null&&_0x5238e0['n']&&(_0x29c4f1['n']=_0x5238e0['n']);const _0x16a9c6=_0x4f6523[_0x422371(0x2f8)]()[_0x422371(0x15a)](_0x29c4f1);return _0xdc8d52['s']=_0x16a9c6,(_0x122a6d[_0x422371(0xac)]===_0x949178[_0x422371(0x285)]['Collapse']||_0x122a6d[_0x422371(0xac)]===_0x949178[_0x422371(0x285)][_0x422371(0x2e9)])&&(_0xdc8d52[_0x422371(0x364)]={},_0xdc8d52[_0x422371(0x364)][_0x422371(0x22d)]=_0x45db70),_0x1e6994(_0xdc8d52);}}));}},_0x3acc27[_0x5b4c6d(0xe0)]=_0x46d2f7([_0x2b90aa(0x0,_0x2be92f['Inject'](_0xac1e83[_0x5b4c6d(0x22c)])),_0x2b90aa(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x111)]))],_0x3acc27[_0x5b4c6d(0xe0)]);function _0x1ddf05(_0x1acbeb,_0xc3d73d){const _0x165184=_0x5b4c6d;switch(_0xc3d73d){case _0x949178[_0x165184(0x11a)]['Value']:return _0x1acbeb['valueFields'];case _0x949178[_0x165184(0x11a)][_0x165184(0x12e)]:return _0x1acbeb[_0x165184(0xc3)];case _0x949178['PivotTableFiledAreaEnum'][_0x165184(0x2bc)]:return _0x1acbeb[_0x165184(0x1ec)];case _0x949178['PivotTableFiledAreaEnum'][_0x165184(0x16e)]:return _0x1acbeb[_0x165184(0x278)];default:return[];}}function _0x1b4989(_0x2ac076,_0xae1edc){const _0x2d2b70=_0x5b4c6d;return _0x2ac076[_0x2d2b70(0x2e2)][_0xae1edc]||_0x2ac076[_0x2d2b70(0x283)][_0xae1edc];}function _0x3a62e6(_0x4b7362,_0x1557fc){const _0x555989=_0x5b4c6d,{area:_0x6d87ce,fieldJson:_0x518813,index:_0x2d3a41}=_0x1557fc;_0x6d87ce===_0x949178[_0x555989(0x11a)][_0x555989(0x105)]?_0x4b7362[_0x555989(0x2e2)][_0x518813['id']]=_0x518813:_0x4b7362['dimension'][_0x518813['id']]=_0x518813,_0x1ddf05(_0x4b7362,_0x6d87ce)['splice'](_0x2d3a41,0x0,_0x518813['id']);}function _0x411cf3(_0x208eb8,_0x52c7e4){const _0x1bc3a5=_0x5b4c6d,{area:_0x69f062,fieldId:_0x4ae9df,index:_0x3c72eb}=_0x52c7e4;_0x69f062===_0x949178[_0x1bc3a5(0x11a)][_0x1bc3a5(0x105)]?delete _0x208eb8[_0x1bc3a5(0x2e2)][_0x4ae9df]:delete _0x208eb8['dimension'][_0x4ae9df],_0x1ddf05(_0x208eb8,_0x69f062)['splice'](_0x3c72eb,0x1);}function _0x19c6e2(_0x35deba,_0x2ff7b2){const {fieldId:_0x392ede,name:_0xd52909}=_0x2ff7b2,_0x2892aa=_0x1b4989(_0x35deba,_0x392ede);_0x2892aa&&(_0x2892aa['displayName']=_0xd52909);}function _0x5c5986(_0x43a996,_0x15feac){const _0x27857f=_0x5b4c6d,{fieldId:_0x75df72,collapse:_0xef723e,item:_0x58c8e0}=_0x15feac;_0x58c8e0!==void 0x0?(_0x43a996[_0x27857f(0x1c3)][_0x75df72]=_0x43a996[_0x27857f(0x1c3)][_0x75df72]||{},_0x43a996[_0x27857f(0x1c3)][_0x75df72][_0x58c8e0]=_0xef723e):_0x43a996['collapseInfo'][_0x75df72]=_0xef723e;}function _0x5069b3(_0x5bc55c,_0x36c1d5){const _0x430cc4=_0x5b4c6d,{fieldId:_0x70783e,format:_0x49b0a7}=_0x36c1d5,_0x2d60aa=_0x1b4989(_0x5bc55c,_0x70783e);_0x2d60aa&&(_0x2d60aa[_0x430cc4(0x2f0)]=_0x49b0a7);}function _0x2c8c81(_0x27d967,_0x585317){const _0x2a0130=_0x5b4c6d,{fieldId:_0x356ab3,filterInfo:_0x3d48b7}=_0x585317,_0x27a17b=_0x1b4989(_0x27d967,_0x356ab3);_0x27a17b&&(_0x27a17b[_0x2a0130(0x204)]=_0x3d48b7);}function _0xe2e87c(_0x4ccd5d,_0x4611a9){const _0x2b5d49=_0x5b4c6d,{fieldId:_0x2d8600,filterInfo:_0x93081e}=_0x4611a9,_0x8884d4=_0x4ccd5d[_0x2b5d49(0x202)][_0x2b5d49(0x135)](_0xfaf50e=>_0xfaf50e[_0x2b5d49(0x2bb)]!==_0x2d8600);_0x93081e&&_0x8884d4[_0x2b5d49(0x1cc)]({'fieldId':_0x2d8600,'filterInfo':_0x93081e}),_0x4ccd5d['valueFilter']=_0x8884d4;}function _0x1e0eef(_0xefccba,_0x39c15b){const _0x19cb7c=_0x5b4c6d,{fieldId:_0x56b0a9,subtotalType:_0x34c071}=_0x39c15b,_0x2c08d0=_0x1b4989(_0xefccba,_0x56b0a9);_0x2c08d0&&(_0x2c08d0[_0x19cb7c(0x317)]=_0x34c071);}function _0x1740ac(_0x4e2501,_0x17ed3c){const _0x3ae463=_0x5b4c6d,{fieldId:_0x10f353,oldArea:_0x382f99,area:_0x4d4044,oldIndex:_0x59bbfa,index:_0x3173d5}=_0x17ed3c,_0x131720=_0x382f99!==_0x949178['PivotTableFiledAreaEnum'][_0x3ae463(0x105)]&&_0x4d4044===_0x949178[_0x3ae463(0x11a)][_0x3ae463(0x105)],_0x2ca03b=_0x382f99===_0x949178[_0x3ae463(0x11a)][_0x3ae463(0x105)]&&_0x4d4044!==_0x949178[_0x3ae463(0x11a)]['Value'];if(_0x131720||_0x2ca03b){const _0x579b20=_0x1b4989(_0x4e2501,_0x10f353);_0x579b20&&(_0x131720?(delete _0x4e2501[_0x3ae463(0x283)][_0x10f353],_0x4e2501[_0x3ae463(0x2e2)][_0x10f353]=_0x579b20):(delete _0x4e2501[_0x3ae463(0x2e2)][_0x10f353],_0x4e2501[_0x3ae463(0x283)][_0x10f353]=_0x579b20));}const _0x341154=_0x1ddf05(_0x4e2501,_0x382f99),_0x699c0c=_0x1ddf05(_0x4e2501,_0x4d4044);_0x341154[_0x3ae463(0x351)](_0x59bbfa,0x1),_0x699c0c['splice'](_0x3173d5,0x0,_0x10f353);}function _0x300aa0(_0x345774,_0xde0eb){const {valuePosition:_0x5d1478,index:_0x9d94fd}=_0xde0eb;_0x345774['valuePosition']=_0x5d1478,_0x345774['valueIndex']=_0x9d94fd;}function _0xe7f2a1(_0x333ef3,_0x13658f){const {tableFieldId:_0x5b3721,sourceName:_0x2bb5a7,dataFieldId:_0x8c615e}=_0x13658f,_0x2a1d4c=_0x1b4989(_0x333ef3,_0x5b3721);_0x2a1d4c&&(_0x2a1d4c['sourceName']=_0x2bb5a7,_0x2a1d4c['dataFieldId']=_0x8c615e);}function _0x330239(_0x4c69df,_0x13baa0){const _0x27e6e6=_0x5b4c6d,{fieldId:_0x282646,sortInfo:_0x4e8b87}=_0x13baa0,_0x3cb063=_0x1b4989(_0x4c69df,_0x282646);_0x3cb063&&(_0x3cb063[_0x27e6e6(0x13a)]=_0x4e8b87);}function _0x1d2d94(_0x18bb19,_0x12fc12){const _0x14c704=_0x5b4c6d,{options:_0x45fce3}=_0x12fc12;_0x18bb19[_0x14c704(0x17b)]={..._0x18bb19[_0x14c704(0x17b)],..._0x45fce3};}const _0x24d4d2={'type':_0x2be92f['CommandType']['MUTATION'],'id':_0x5b4c6d(0x28f),'handler'(_0x50172d,_0x2fd97f){const _0x462637=_0x5b4c6d;if(!_0x2fd97f)return!0x1;if(!!_0x50172d[_0x462637(0x177)](_0x2be92f[_0x462637(0x27f)])[_0x462637(0x340)](_0x47449f))return!0x0;const _0x57adeb=_0x50172d[_0x462637(0x177)](_0x3acc27[_0x462637(0x144)]),{pivotTableId:_0x444452,fieldJson:_0x22f436,area:_0x128ca6,index:_0xb37919,unitId:_0x19b76c,subUnitId:_0x90caea}=_0x2fd97f,_0x325357=_0x57adeb[_0x462637(0x1c4)](_0x444452);if(!_0x325357)return!0x1;let _0x2f1c28;_0x128ca6===_0x949178['PivotTableFiledAreaEnum']['Value']?_0x2f1c28=_0x949178[_0x462637(0x26f)](_0x22f436):_0x2f1c28=_0x949178['createLabelField'](_0x22f436),_0x325357[_0x462637(0x2da)](_0x2f1c28,_0x128ca6,_0xb37919);const _0x3157c4=_0x57adeb[_0x462637(0xf1)](_0x19b76c,_0x90caea,_0x444452);_0x3a62e6(_0x3157c4,_0x2fd97f);const _0x3755a8=_0x57adeb[_0x462637(0x290)](_0x19b76c,_0x90caea,_0x444452);return _0x57adeb[_0x462637(0x370)]({'unitId':_0x19b76c,'subUnitId':_0x90caea,'token':_0x444452,'type':_0x1bbb8c[_0x462637(0x261)],'pivotConfig':_0x3755a8}),!0x0;}},_0x4df1a2={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['MUTATION'],'id':_0x5b4c6d(0x2a4),'handler'(_0x4337ff,_0x2e3fc8){const _0x56e5a6=_0x5b4c6d;if(!_0x2e3fc8)return!0x1;if(!!_0x4337ff['get'](_0x2be92f['IConfigService'])[_0x56e5a6(0x340)](_0x47449f))return!0x0;const _0x2a5430=_0x4337ff[_0x56e5a6(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),{pivotTableId:_0xee286d,fieldId:_0x5b024c,unitId:_0x5ddc8c,subUnitId:_0x4a1d17}=_0x2e3fc8,_0x4743b8=_0x2a5430[_0x56e5a6(0x1c4)](_0xee286d);if(!_0x4743b8)return!0x1;_0x4743b8[_0x56e5a6(0x2b1)](_0x5b024c);const _0x26cc5c=_0x2a5430['getPivotTableModelConfig'](_0x5ddc8c,_0x4a1d17,_0xee286d);_0x411cf3(_0x26cc5c,_0x2e3fc8);const _0xfe4e1d=_0x2a5430[_0x56e5a6(0x290)](_0x5ddc8c,_0x4a1d17,_0xee286d);return _0x2a5430['addDirtyPivotTable']({'unitId':_0x5ddc8c,'subUnitId':_0x4a1d17,'token':_0xee286d,'type':_0x1bbb8c['Set'],'pivotConfig':_0xfe4e1d}),!0x0;}},_0x51f654={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x22e),'handler'(_0x3c42ed,_0x1ad64a){const _0x5ea8e8=_0x5b4c6d;if(!_0x1ad64a)return!0x1;if(!!_0x3c42ed[_0x5ea8e8(0x177)](_0x2be92f[_0x5ea8e8(0x27f)])[_0x5ea8e8(0x340)](_0x47449f))return!0x0;const _0x28fe4a=_0x3c42ed['get'](_0x3acc27[_0x5ea8e8(0x144)]),{unitId:_0x5bc803,subUnitId:_0x906846,pivotTableId:_0x54e861,fieldId:_0x5e8ec3,name:_0x475634}=_0x1ad64a,_0x240f5b=_0x28fe4a[_0x5ea8e8(0x1c4)](_0x54e861);if(!_0x240f5b)return!0x1;_0x240f5b[_0x5ea8e8(0x139)](_0x5e8ec3,_0x475634);const _0x231aa0=_0x28fe4a['getPivotTableModelConfig'](_0x5bc803,_0x906846,_0x54e861);return _0x19c6e2(_0x231aa0,_0x1ad64a),_0x28fe4a[_0x5ea8e8(0x370)]({'unitId':_0x5bc803,'subUnitId':_0x906846,'token':_0x54e861,'type':_0x1bbb8c[_0x5ea8e8(0x261)]}),!0x0;}},_0x1d6ae3={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x6b41e0,_0x5c4d6d){const _0x5b4064=_0x5b4c6d;if(!_0x5c4d6d)return!0x1;if(!!_0x6b41e0[_0x5b4064(0x177)](_0x2be92f['IConfigService'])[_0x5b4064(0x340)](_0x47449f))return!0x0;const _0x102e16=_0x6b41e0[_0x5b4064(0x177)](_0x3acc27[_0x5b4064(0x144)]),{unitId:_0x3d9c48,subUnitId:_0x3570c9,pivotTableId:_0x15edfd,fieldId:_0x57dfac,collapse:_0x16b32f,item:_0x9e77e4}=_0x5c4d6d,_0x34f971=_0x102e16[_0x5b4064(0x1c4)](_0x15edfd);if(!_0x34f971)return!0x1;_0x34f971['setCollapse'](_0x57dfac,_0x16b32f,_0x9e77e4);const _0x50811a=_0x102e16[_0x5b4064(0xf1)](_0x3d9c48,_0x3570c9,_0x15edfd);return _0x5c5986(_0x50811a,_0x5c4d6d),_0x102e16[_0x5b4064(0x370)]({'unitId':_0x3d9c48,'subUnitId':_0x3570c9,'token':_0x15edfd,'type':_0x1bbb8c[_0x5b4064(0x261)]}),!0x0;}},_0x7df36={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x201),'handler'(_0x522d12,_0x29610e){const _0x490335=_0x5b4c6d;if(!_0x29610e)return!0x1;if(!!_0x522d12[_0x490335(0x177)](_0x2be92f[_0x490335(0x27f)])[_0x490335(0x340)](_0x47449f))return!0x0;const _0x9e574f=_0x522d12[_0x490335(0x177)](_0x3acc27[_0x490335(0x144)]),{unitId:_0x1a78ca,subUnitId:_0x56b206,pivotTableId:_0x2e86e9,fieldId:_0xc6014c,format:_0xa27089}=_0x29610e,_0x9c4ce4=_0x9e574f['getPivotTableInstance'](_0x2e86e9);if(!_0x9c4ce4)return!0x1;_0x9c4ce4[_0x490335(0x197)](_0xc6014c,_0xa27089);const _0x553cdf=_0x9e574f[_0x490335(0xf1)](_0x1a78ca,_0x56b206,_0x2e86e9);return _0x5069b3(_0x553cdf,_0x29610e),_0x9e574f['addDirtyPivotTable']({'unitId':_0x1a78ca,'subUnitId':_0x56b206,'token':_0x2e86e9,'type':_0x1bbb8c[_0x490335(0x261)]}),!0x0;}},_0x807385={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x27e),'handler'(_0x43491b,_0x4fb075){const _0x1e32b=_0x5b4c6d;if(!_0x4fb075)return!0x1;if(!!_0x43491b['get'](_0x2be92f['IConfigService'])[_0x1e32b(0x340)](_0x47449f))return!0x0;const _0xfd5f6=_0x43491b[_0x1e32b(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),{unitId:_0x100a58,subUnitId:_0x1b8f85,pivotTableId:_0x54eb85,fieldId:_0x25d48f,filterInfo:_0x4b216e}=_0x4fb075,_0x30625a=_0xfd5f6['getPivotTableInstance'](_0x54eb85);if(!_0x30625a)return!0x1;_0x30625a[_0x1e32b(0x175)](_0x25d48f,_0x4b216e);const _0x2a0b48=_0xfd5f6[_0x1e32b(0xf1)](_0x100a58,_0x1b8f85,_0x54eb85);return _0x2c8c81(_0x2a0b48,_0x4fb075),_0xfd5f6[_0x1e32b(0x370)]({'unitId':_0x100a58,'subUnitId':_0x1b8f85,'token':_0x54eb85,'type':_0x1bbb8c['Set']}),!0x0;}},_0x5a542d={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':'sheet.mutation.set-pivot-option','handler'(_0xe259e1,_0x36bdd0){const _0x3ed5d9=_0x5b4c6d;if(!_0x36bdd0)return!0x1;if(!!_0xe259e1[_0x3ed5d9(0x177)](_0x2be92f['IConfigService'])[_0x3ed5d9(0x340)](_0x47449f))return!0x0;const _0x30883c=_0xe259e1[_0x3ed5d9(0x177)](_0x3acc27[_0x3ed5d9(0x144)]),{unitId:_0xc566c5,subUnitId:_0x78bc9f,pivotTableId:_0x1a0a04,options:_0x2cbbac}=_0x36bdd0,_0x40ebd4=_0x30883c['getPivotTableInstance'](_0x1a0a04);if(!_0x40ebd4)return!0x1;_0x40ebd4[_0x3ed5d9(0x276)](_0x2cbbac);const _0x3ad889=_0x30883c[_0x3ed5d9(0xf1)](_0xc566c5,_0x78bc9f,_0x1a0a04);return _0x1d2d94(_0x3ad889,_0x36bdd0),_0x30883c[_0x3ed5d9(0x370)]({'unitId':_0xc566c5,'subUnitId':_0x78bc9f,'token':_0x1a0a04,'type':_0x1bbb8c[_0x3ed5d9(0x261)]}),!0x0;}},_0x19ed47={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x162),'handler'(_0x4e546a,_0x3bf3f7){const _0x81c18a=_0x5b4c6d;if(!_0x3bf3f7)return!0x1;if(!!_0x4e546a[_0x81c18a(0x177)](_0x2be92f['IConfigService'])[_0x81c18a(0x340)](_0x47449f))return!0x0;const _0x4c59fe=_0x4e546a['get'](_0x3acc27[_0x81c18a(0x144)]),{unitId:_0x32144d,subUnitId:_0x1942ec,pivotTableId:_0x5506fd,sortInfo:_0x10bf34,fieldId:_0x3d2026}=_0x3bf3f7,_0xda9cc8=_0x4c59fe[_0x81c18a(0x1c4)](_0x5506fd);if(!_0xda9cc8)return!0x1;_0xda9cc8['setSortInfo'](_0x3d2026,_0x10bf34);const _0xa6dd5f=_0x4c59fe[_0x81c18a(0xf1)](_0x32144d,_0x1942ec,_0x5506fd);return _0x330239(_0xa6dd5f,_0x3bf3f7),_0x4c59fe[_0x81c18a(0x370)]({'unitId':_0x32144d,'subUnitId':_0x1942ec,'token':_0x5506fd,'type':_0x1bbb8c['Set']}),!0x0;}},_0x34c3c5={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0xa3a935,_0x167367){const _0x5f2994=_0x5b4c6d;if(!_0x167367)return!0x1;if(!!_0xa3a935[_0x5f2994(0x177)](_0x2be92f[_0x5f2994(0x27f)])[_0x5f2994(0x340)](_0x47449f))return!0x0;const _0x5d0898=_0xa3a935[_0x5f2994(0x177)](_0x3acc27[_0x5f2994(0x144)]),{unitId:_0x1e9de6,subUnitId:_0x4fc79c,pivotTableId:_0x24e346,fieldId:_0x48892a,subtotalType:_0x1a06ae}=_0x167367,_0x1127c6=_0x5d0898[_0x5f2994(0x1c4)](_0x24e346);if(!_0x1127c6)return!0x1;_0x1127c6[_0x5f2994(0x36c)](_0x48892a,_0x1a06ae);const _0x208df2=_0x5d0898['getPivotTableModelConfig'](_0x1e9de6,_0x4fc79c,_0x24e346);return _0x1e0eef(_0x208df2,_0x167367),_0x5d0898['addDirtyPivotTable']({'unitId':_0x1e9de6,'subUnitId':_0x4fc79c,'token':_0x24e346,'type':_0x1bbb8c[_0x5f2994(0x261)]}),!0x0;}},_0x82677d={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x24b4d3,_0x37df54){const _0x2b4e6c=_0x5b4c6d;if(!_0x37df54)return!0x1;if(!!_0x24b4d3[_0x2b4e6c(0x177)](_0x2be92f[_0x2b4e6c(0x27f)])[_0x2b4e6c(0x340)](_0x47449f))return!0x0;const _0x3996b4=_0x24b4d3[_0x2b4e6c(0x177)](_0x3acc27[_0x2b4e6c(0x144)]),{unitId:_0x5d7ddb,subUnitId:_0x242ce7,pivotTableId:_0x51e7b0,fieldId:_0x4d1326,filterInfo:_0x1beae1}=_0x37df54,_0x39265f=_0x3996b4['getPivotTableInstance'](_0x51e7b0);if(!_0x39265f)return!0x1;_0x39265f['setValueFilterInfo'](_0x4d1326,_0x1beae1);const _0x23654b=_0x3996b4[_0x2b4e6c(0xf1)](_0x5d7ddb,_0x242ce7,_0x51e7b0);return _0xe2e87c(_0x23654b,_0x37df54),_0x3996b4[_0x2b4e6c(0x370)]({'unitId':_0x5d7ddb,'subUnitId':_0x242ce7,'token':_0x51e7b0,'type':_0x1bbb8c['Set']}),!0x0;}},_0x152067={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x167),'handler'(_0x3b4938,_0x2c8c5a){const _0x8d7309=_0x5b4c6d;if(!_0x2c8c5a)return!0x1;if(!!_0x3b4938['get'](_0x2be92f[_0x8d7309(0x27f)])[_0x8d7309(0x340)](_0x47449f))return!0x0;const _0x50962f=_0x3b4938[_0x8d7309(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),{unitId:_0x47903a,subUnitId:_0xd06658,pivotTableId:_0x423a92,area:_0xd6a42,index:_0x6fb83c,fieldId:_0x437572}=_0x2c8c5a,_0x26732c=_0x50962f[_0x8d7309(0x1c4)](_0x423a92);if(!_0x26732c)return!0x1;_0x26732c[_0x8d7309(0x21b)](_0x437572,_0xd6a42,_0x6fb83c);const _0x5a23b8=_0x50962f[_0x8d7309(0xf1)](_0x47903a,_0xd06658,_0x423a92);return _0x1740ac(_0x5a23b8,_0x2c8c5a),_0x50962f[_0x8d7309(0x370)]({'unitId':_0x47903a,'subUnitId':_0xd06658,'token':_0x423a92,'type':_0x1bbb8c[_0x8d7309(0x261)]}),!0x0;}},_0x105cc8={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x279),'handler'(_0x4ad00e,_0x28111c){const _0x3d974e=_0x5b4c6d;if(!_0x28111c)return!0x1;if(!!_0x4ad00e[_0x3d974e(0x177)](_0x2be92f[_0x3d974e(0x27f)])['getConfig'](_0x47449f))return!0x0;const _0x4f5d44=_0x4ad00e[_0x3d974e(0x177)](_0x3acc27[_0x3d974e(0x144)]),{unitId:_0x2ff9e2,subUnitId:_0x57948f,pivotTableId:_0x4d9b95,sourceName:_0x2c0edf,dataFieldId:_0x22d93a,tableFieldId:_0x49361a}=_0x28111c,_0x4a4870=_0x4f5d44[_0x3d974e(0x1c4)](_0x4d9b95);if(!_0x4a4870)return!0x1;_0x4a4870['updateFieldSourceInfo'](_0x49361a,_0x2c0edf,_0x22d93a);const _0x1e5934=_0x4f5d44['getPivotTableModelConfig'](_0x2ff9e2,_0x57948f,_0x4d9b95);return _0xe7f2a1(_0x1e5934,_0x28111c),_0x4f5d44[_0x3d974e(0x370)]({'unitId':_0x2ff9e2,'subUnitId':_0x57948f,'token':_0x4d9b95,'type':_0x1bbb8c[_0x3d974e(0x261)]}),!0x0;}},_0x24f1f7={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x296),'handler'(_0x2c0567,_0x2f0cc6){const _0x48e988=_0x5b4c6d;if(!_0x2f0cc6)return!0x1;if(!!_0x2c0567[_0x48e988(0x177)](_0x2be92f[_0x48e988(0x27f)])[_0x48e988(0x340)](_0x47449f))return!0x0;const _0x465b30=_0x2c0567[_0x48e988(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),{unitId:_0x4effa9,subUnitId:_0x311706,pivotTableId:_0x139526,valuePosition:_0x293c55,index:_0x248231}=_0x2f0cc6,_0x474482=_0x465b30[_0x48e988(0x1c4)](_0x139526);if(!_0x474482)return!0x1;_0x474482['updateValuePosition'](_0x293c55,_0x248231);const _0x56bfe3=_0x465b30['getPivotTableModelConfig'](_0x4effa9,_0x311706,_0x139526);return _0x300aa0(_0x56bfe3,_0x2f0cc6),_0x465b30[_0x48e988(0x370)]({'unitId':_0x4effa9,'subUnitId':_0x311706,'token':_0x139526,'type':_0x1bbb8c[_0x48e988(0x261)]}),!0x0;}};function _0x54af12(_0x989b01,_0x708750,_0x4c5091){const _0x23a33d=_0x5b4c6d,{pivotTableId:_0x54d947,unitId:_0x2808e6,subUnitId:_0x5d4dfe}=_0x708750,_0x503050=[],_0x42d707=[];for(const _0x1b9b42 of _0x4c5091)switch(_0x1b9b42[_0x23a33d(0x2b6)]){case _0x949178[_0x23a33d(0x2c5)]['AddField']:{const {fieldJson:_0x78deac,area:_0x7d0caa,index:_0x4022c4}=_0x1b9b42,_0xf1d36d={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldJson':_0x78deac,'area':_0x7d0caa,'index':_0x4022c4},_0x4b5143={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x78deac['id'],'area':_0x7d0caa,'index':_0x4022c4};_0x503050[_0x23a33d(0x1cc)]({'id':_0x24d4d2['id'],'params':_0xf1d36d}),_0x42d707[_0x23a33d(0x2ea)]({'id':_0x4df1a2['id'],'params':_0x4b5143});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x24a)]:{const {fieldId:_0x3bc4e6,newSubtotalType:_0x57ada2,oldSubtotalType:_0x367f02}=_0x1b9b42,_0x255e94={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x3bc4e6,'subtotalType':_0x57ada2};_0x503050[_0x23a33d(0x1cc)]({'id':_0x34c3c5['id'],'params':_0x255e94});const _0x76a021={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x3bc4e6,'subtotalType':_0x367f02};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x34c3c5['id'],'params':_0x76a021});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x7d)]:{const {fieldId:_0x464856,fieldJson:_0x5d4b22,area:_0x521bee,index:_0x4f39b8}=_0x1b9b42,_0x3a33eb={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x464856,'index':_0x4f39b8,'area':_0x521bee};_0x503050['push']({'id':_0x4df1a2['id'],'params':_0x3a33eb});const _0x30d61f={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldJson':_0x5d4b22,'area':_0x521bee,'index':_0x4f39b8};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x24d4d2['id'],'params':_0x30d61f});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x1e9)]:{const {fieldId:_0x2b666f,oldName:_0x23d290,newName:_0x3b6bcb}=_0x1b9b42,_0x14d592={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2b666f,'name':_0x3b6bcb};_0x503050['push']({'id':_0x51f654['id'],'params':_0x14d592});const _0x584651={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2b666f,'name':_0x23d290};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x51f654['id'],'params':_0x584651});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x2b8)]:{const {fieldId:_0xd3ae80,oldFilterInfo:_0x17b2e8,newFilterInfo:_0x187640}=_0x1b9b42,_0xb7f4f7={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0xd3ae80,'filterInfo':_0x187640};_0x503050[_0x23a33d(0x1cc)]({'id':_0x807385['id'],'params':_0xb7f4f7});const _0x325dd8={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0xd3ae80,'filterInfo':_0x17b2e8};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x807385['id'],'params':_0x325dd8});}break;case _0x949178[_0x23a33d(0x2c5)]['SetSortInfo']:{const {fieldId:_0x346821,oldSortInfo:_0x844ac4,newSortInfo:_0x13a375}=_0x1b9b42,_0x4e9d17={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x346821,'sortInfo':_0x13a375};_0x503050[_0x23a33d(0x1cc)]({'id':_0x19ed47['id'],'params':_0x4e9d17});const _0x3686e4={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x346821,'sortInfo':_0x844ac4};_0x42d707['unshift']({'id':_0x19ed47['id'],'params':_0x3686e4});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x76)]:{const {oldOptions:_0x18e103,newOptions:_0x9066cb}=_0x1b9b42,_0xc8bfda={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'options':_0x9066cb};_0x503050[_0x23a33d(0x1cc)]({'id':_0x5a542d['id'],'params':_0xc8bfda});const _0x24b438={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'options':_0x18e103};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x5a542d['id'],'params':_0x24b438});}break;case _0x949178[_0x23a33d(0x2c5)]['UpdateFieldPosition']:{const {oldArea:_0x5462d9,newArea:_0x5da8ee,oldIndex:_0x184ba3,newIndex:_0x331901,fieldId:_0x2a52a8}=_0x1b9b42,_0x344e7e={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2a52a8,'area':_0x5da8ee,'index':_0x331901,'oldArea':_0x5462d9,'oldIndex':_0x184ba3};_0x503050[_0x23a33d(0x1cc)]({'id':_0x152067['id'],'params':_0x344e7e});const _0x2b6121={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2a52a8,'area':_0x5462d9,'index':_0x184ba3,'oldArea':_0x5da8ee,'oldIndex':_0x331901};_0x42d707['unshift']({'id':_0x152067['id'],'params':_0x2b6121});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0xfe)]:{const {oldValuePosition:_0x5aaaa5,newValuePosition:_0xe77c25,oldIndex:_0x1c52d0,newIndex:_0x49a5ec}=_0x1b9b42,_0x144811={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'valuePosition':_0xe77c25,'index':_0x49a5ec};_0x503050[_0x23a33d(0x1cc)]({'id':_0x24f1f7['id'],'params':_0x144811});const _0x392303={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'valuePosition':_0x5aaaa5,'index':_0x1c52d0};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x24f1f7['id'],'params':_0x392303});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x221)]:{const {fieldId:_0x2ea819,collapse:_0x2bb255,item:_0x3d59e4}=_0x1b9b42,_0x238d39={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2ea819,'collapse':_0x2bb255,'item':_0x3d59e4};_0x503050[_0x23a33d(0x1cc)]({'id':_0x1d6ae3['id'],'params':_0x238d39});const _0x43d90e={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2ea819,'collapse':!_0x2bb255,'item':_0x3d59e4};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x1d6ae3['id'],'params':_0x43d90e});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0xd0)]:{const {newFormat:_0x211ce2,oldFormat:_0x41f265,fieldId:_0x2dfdc3}=_0x1b9b42,_0x266c24={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2dfdc3,'format':_0x211ce2};_0x503050[_0x23a33d(0x1cc)]({'id':_0x7df36['id'],'params':_0x266c24});const _0x5c6133={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x2dfdc3,'format':_0x41f265};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x7df36['id'],'params':_0x5c6133});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x132)]:{const {tableFieldId:_0x57c921,oldSourceName:_0x4b702f,newSourceName:_0x2b25d2,oldDataFieldId:_0x5908a3,newDataFieldId:_0x5768f2}=_0x1b9b42,_0xe3af41={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'tableFieldId':_0x57c921,'sourceName':_0x2b25d2,'dataFieldId':_0x5768f2};_0x503050[_0x23a33d(0x1cc)]({'id':_0x105cc8['id'],'params':_0xe3af41});const _0x97da7a={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'tableFieldId':_0x57c921,'sourceName':_0x4b702f,'dataFieldId':_0x5908a3};_0x42d707[_0x23a33d(0x2ea)]({'id':_0x105cc8['id'],'params':_0x97da7a});}break;case _0x949178[_0x23a33d(0x2c5)][_0x23a33d(0x16a)]:{const {fieldId:_0x659632,filterInfo:_0x30b111,oldFilterInfo:_0x2462e2}=_0x1b9b42,_0x5de6b7={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x659632,'filterInfo':_0x30b111};_0x503050[_0x23a33d(0x1cc)]({'id':_0x82677d['id'],'params':_0x5de6b7});const _0x31497e={'unitId':_0x2808e6,'subUnitId':_0x5d4dfe,'pivotTableId':_0x54d947,'fieldId':_0x659632,'filterInfo':_0x2462e2};_0x42d707['unshift']({'id':_0x82677d['id'],'params':_0x31497e});}}return{'redos':_0x503050,'undos':_0x42d707};}function _0x169f26(_0x7acc16,_0x4d3f39){const _0x292552=_0x5b4c6d;var _0x28b7de;const _0x5d8dfc=_0x7acc16[_0x292552(0x177)](_0x3acc27[_0x292552(0xe0)]),{cellInfo:_0x4f7db3,view:_0x47a859,isEmpty:_0x2a3c4b}=_0x4d3f39;return(_0x28b7de=_0x5d8dfc[_0x292552(0x297)][_0x292552(0x380)](_0xdfc14c)(_0x2a4ef2,{'cellInfo':_0x4f7db3,'view':_0x47a859,'isEmpty':_0x2a3c4b}))!=null?_0x28b7de:_0x2a4ef2;}const _0x46a36f=()=>typeof process<'u'&&process[_0x5b4c6d(0x2e4)]!=null&&process[_0x5b4c6d(0x2e4)][_0x5b4c6d(0x1c1)]!=null,_0x5bd603={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['MUTATION'],'id':_0x5b4c6d(0x218),'handler'(_0x5b120b,_0x51e536){const _0x44edca=_0x5b4c6d;var _0x3d7815;if(!_0x51e536)return!0x1;const _0x55940c=_0x5b120b[_0x44edca(0x177)](_0x2be92f[_0x44edca(0x27f)]);if(!!_0x55940c['getConfig'](_0x47449f))return!0x0;const _0x25816d=_0x5b120b[_0x44edca(0x177)](_0x2be92f['IUniverInstanceService']),_0xe8cda2=_0x5b120b['get'](_0x3acc27[_0x44edca(0x144)]),{pivotTableId:_0x2e4e7e,pivotTableConfig:_0x5c8fb1,collectionConfig:_0x18882a,unitId:_0x500c14,subUnitId:_0x35df45}=_0x51e536,{sourceRangeInfo:_0x355bb9,fieldsConfig:_0x29d94f,targetCellInfo:_0x3fe7a7}=_0x5c8fb1,_0x320ed8=_0x25816d[_0x44edca(0x2fd)](_0x500c14);if(!_0x320ed8||!_0x320ed8[_0x44edca(0xc6)](_0x35df45))return!0x1;if(!_0x46a36f()){let _0x3d868a=0x0;_0x320ed8['getSheets']()[_0x44edca(0x36a)](_0xe1b43a=>{const _0x1bca1e=_0x44edca;var _0x249fdb,_0x14c820;_0x3d868a+=(_0x14c820=(_0x249fdb=_0xe8cda2['getSubUnitPivotConfigs'](_0x500c14,_0xe1b43a[_0x1bca1e(0x33e)]()))==null?void 0x0:_0x249fdb[_0x1bca1e(0x18c)])!=null?_0x14c820:0x0;});const _0x26575e=(_0x3d7815=_0x55940c[_0x44edca(0x340)](_0x327f17[_0x44edca(0x371)]))!=null?_0x3d7815:{},{ls:_0x1f6b91,pbk:_0xdf63ac}=_0x26575e;if(!_0x259459(_0x1f6b91,_0xdf63ac))throw new _0x2be92f[(_0x44edca(0x186))](_0x44edca(0x238));const _0x19f96a=_0xea67dc(_0x3008ad,_0x1f6b91,_0xdf63ac)[_0x44edca(0x32c)];if(_0x3d868a>=_0x19f96a)throw new _0x2be92f['CustomCommandExecutionError'](_0x44edca(0x238));}if(!_0x18882a||!_0x29d94f)return!0x1;const {collection:_0xe7bd9,updateDataFieldList:_0x4b905f}=_0xe8cda2[_0x44edca(0x23e)](_0x2e4e7e,_0x18882a,_0x355bb9,_0x3fe7a7);_0xe8cda2['refreshData'](_0xe7bd9,_0x4b905f,_0x355bb9);const _0x4312cf=new _0x949178[(_0x44edca(0xcd))](_0xe7bd9,void 0x0,_0x2e4e7e);_0x4312cf[_0x44edca(0x129)](_0x29d94f);const _0x41c6c4=JSON[_0x44edca(0x1ed)](JSON[_0x44edca(0x1b5)](_0x5c8fb1));return _0xe8cda2['addPivotTable'](_0x500c14,_0x35df45,_0x2e4e7e,_0x4312cf,_0x41c6c4),_0xe8cda2[_0x44edca(0x370)]({'unitId':_0x500c14,'subUnitId':_0x35df45,'token':_0x2e4e7e,'type':_0x1bbb8c[_0x44edca(0x287)],'pivotConfig':_0x41c6c4}),!0x0;}},_0x1d746e={'type':_0x2be92f['CommandType']['MUTATION'],'id':'sheet.mutation.remove-pivot-table','handler'(_0x22f9f8,_0x45afca){const _0x295c90=_0x5b4c6d;if(!_0x45afca)return!0x1;if(!!_0x22f9f8[_0x295c90(0x177)](_0x2be92f['IConfigService'])[_0x295c90(0x340)](_0x47449f))return!0x0;const {pivotTableId:_0x3001c0,unitId:_0x104267,subUnitId:_0x5df429}=_0x45afca,_0x58d4db=_0x22f9f8[_0x295c90(0x177)](_0x3acc27[_0x295c90(0x144)]);return _0x58d4db[_0x295c90(0x290)](_0x104267,_0x5df429,_0x3001c0)?(_0x58d4db[_0x295c90(0x370)]({'unitId':_0x104267,'subUnitId':_0x5df429,'token':_0x3001c0,'type':_0x1bbb8c[_0x295c90(0x231)]}),_0x58d4db[_0x295c90(0x32f)](_0x104267,_0x5df429,_0x3001c0),!0x0):!0x1;}},_0x2730bb={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':'sheet.mutation.set-pivot-position','handler'(_0x2ce526,_0x34c2cf){const _0x37498b=_0x5b4c6d;if(!_0x34c2cf)return!0x1;if(!!_0x2ce526[_0x37498b(0x177)](_0x2be92f['IConfigService'])['getConfig'](_0x47449f))return!0x0;const {pivotTableId:_0x5d5060,targetCellPosition:_0x2ade96,unitId:_0x5ae206,subUnitId:_0x395638}=_0x34c2cf,_0x9abafd=_0x2ce526[_0x37498b(0x177)](_0x3acc27[_0x37498b(0x144)]);if(!_0x9abafd[_0x37498b(0x1c4)](_0x34c2cf[_0x37498b(0x80)]))return!0x1;const _0x21aed1=_0x9abafd[_0x37498b(0x1b1)](_0x5d5060);if(!_0x21aed1)return!0x1;const _0x1b9bcb=_0x9abafd['getCollection'](_0x21aed1['unitId'],_0x34c2cf['pivotTableId']);if(!_0x1b9bcb)return!0x1;const _0x3d7165=_0x9abafd[_0x37498b(0x290)](_0x21aed1['unitId'],_0x21aed1[_0x37498b(0x19f)],_0x5d5060);if(!_0x3d7165)return!0x1;const _0xb2eb6=_0x2be92f[_0x37498b(0x2d6)]['deepClone'](_0x3d7165);_0xb2eb6['targetCellInfo']={'unitId':_0x5ae206,'subUnitId':_0x395638,'row':_0x2ade96[_0x37498b(0x178)],'col':_0x2ade96[_0x37498b(0x320)]};const _0x3679db=_0x1b9bcb['toJSON']();if(_0x21aed1['subUnitId']===_0x395638&&_0x21aed1[_0x37498b(0x2d0)]===_0x5ae206)_0x9abafd[_0x37498b(0x2d1)](_0x5ae206,_0x395638,_0x5d5060,_0xb2eb6),_0x9abafd[_0x37498b(0x370)]({'unitId':_0x5ae206,'subUnitId':_0x395638,'token':_0x5d5060,'type':_0x1bbb8c[_0x37498b(0x261)]});else{_0x9abafd[_0x37498b(0x370)]({'unitId':_0x21aed1[_0x37498b(0x2d0)],'subUnitId':_0x21aed1[_0x37498b(0x19f)],'token':_0x5d5060,'type':_0x1bbb8c[_0x37498b(0x231)]}),_0x9abafd[_0x37498b(0x32f)](_0x21aed1[_0x37498b(0x2d0)],_0x21aed1['subUnitId'],_0x5d5060);const _0x4618c6=_0x9abafd[_0x37498b(0x23e)](_0x5d5060,_0x3679db,_0x3d7165[_0x37498b(0x1fb)],_0xb2eb6['targetCellInfo']),_0x2cfb0f=new _0x949178['PivotTable'](_0x4618c6['collection'],void 0x0,_0x5d5060);_0x2cfb0f[_0x37498b(0x129)](_0xb2eb6[_0x37498b(0x389)]),_0x9abafd[_0x37498b(0x302)](_0x5ae206,_0x395638,_0x5d5060,_0x2cfb0f,_0xb2eb6),_0x9abafd['addDirtyPivotTable']({'unitId':_0x5ae206,'subUnitId':_0x395638,'token':_0x5d5060,'type':_0x1bbb8c[_0x37498b(0x287)],'pivotConfig':_0xb2eb6});}return!0x0;}},_0x2988cb={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0xff),'handler'(_0x2f3e87,_0x59a207){const _0x22d401=_0x5b4c6d;if(!_0x59a207)return!0x1;if(!!_0x2f3e87[_0x22d401(0x177)](_0x2be92f[_0x22d401(0x27f)])['getConfig'](_0x47449f))return!0x0;const _0x5237e5=_0x2f3e87[_0x22d401(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),{pivotTableId:_0x5c17a6,deleteIds:_0x17bb37,collectionJSON:_0x33c5be,dataRangeInfo:_0x21c1e5,unitId:_0xe52099,subUnitId:_0x725044}=_0x59a207,_0x4aa8aa=_0x5237e5[_0x22d401(0x1c4)](_0x5c17a6),_0x1692d7=_0x5237e5[_0x22d401(0x290)](_0xe52099,_0x725044,_0x5c17a6);if(!_0x4aa8aa||!_0x1692d7)return!0x1;const {collection:_0x1ea1de,updateDataFieldList:_0x29e23c}=_0x5237e5[_0x22d401(0x23e)](_0x5c17a6,_0x33c5be,_0x21c1e5,_0x1692d7[_0x22d401(0x282)]);_0x5237e5[_0x22d401(0x332)](_0x1ea1de,_0x29e23c,_0x21c1e5),_0x4aa8aa[_0x22d401(0x338)](_0x1ea1de);for(const _0x48e511 of _0x17bb37)_0x5237e5[_0x22d401(0xb0)](_0x21c1e5[_0x22d401(0x2d0)],_0x48e511);const _0x20b5bf=_0x5237e5[_0x22d401(0x290)](_0xe52099,_0x725044,_0x5c17a6);return _0x20b5bf['sourceRangeInfo']=JSON[_0x22d401(0x1ed)](JSON['stringify'](_0x21c1e5)),_0x5237e5['addDirtyPivotTable']({'unitId':_0xe52099,'subUnitId':_0x725044,'token':_0x5c17a6,'type':_0x1bbb8c['Set']}),!0x0;}},_0x500ef9={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'id':_0x5b4c6d(0x91),'handler'(){return!0x0;}};var _0x395319=Object['getOwnPropertyDescriptor'],_0x6f1b2b=(_0x17236b,_0x5c3d0b,_0x2f10cc,_0x2ce407)=>{for(var _0x2eb6c2=_0x2ce407>0x1?void 0x0:_0x2ce407?_0x395319(_0x5c3d0b,_0x2f10cc):_0x5c3d0b,_0x341fbd=_0x17236b['length']-0x1,_0x448c36;_0x341fbd>=0x0;_0x341fbd--)(_0x448c36=_0x17236b[_0x341fbd])&&(_0x2eb6c2=_0x448c36(_0x2eb6c2)||_0x2eb6c2);return _0x2eb6c2;},_0x2f52bb=(_0x4ee162,_0x2c6acf)=>(_0x2f83c7,_0x1dbce1)=>_0x2c6acf(_0x2f83c7,_0x1dbce1,_0x4ee162);_0x3acc27[_0x5b4c6d(0x2c3)]=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x31d6e3,_0x370a72){const _0x3cdd52=_0x5b4c6d;super(),_0x102d83(this,_0x3cdd52(0x342),new Map()),(this[_0x3cdd52(0x214)]=_0x31d6e3,this[_0x3cdd52(0x2c6)]=_0x370a72);}[_0x5b4c6d(0x1eb)](_0x317f6b){const _0x4d0b84=_0x5b4c6d,{version:_0x489a58}=_0x317f6b,_0x2afa0e=this[_0x4d0b84(0x342)][_0x4d0b84(0x177)](_0x489a58);_0x2afa0e&&(_0x2afa0e(_0x317f6b),this['_requestResolvers'][_0x4d0b84(0x236)](_0x489a58));}[_0x5b4c6d(0xfa)](_0x2ba005){return new Promise((_0x4cd12e,_0x161eed)=>{const _0x3c457c=_0x6997,_0x459fa1=this['_generateUniqueVersion']();this['_requestResolvers']['set'](_0x459fa1,_0x4cd12e),this[_0x3c457c(0x2c6)]['executeCommand'](_0x2ef776['id'],{'version':_0x459fa1,..._0x2ba005},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x59deec=_0x5b4c6d;return Math[_0x59deec(0x323)]()[_0x59deec(0x10e)](0x24)[_0x59deec(0x277)](0x2,0x10);}},_0x3acc27[_0x5b4c6d(0x2c3)]=_0x6f1b2b([_0x2f52bb(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f['Injector'])),_0x2f52bb(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x109)]))],_0x3acc27['SheetsPivotRPCService']);const _0x4263={'id':_0x5b4c6d(0x31b),'type':_0x2be92f['CommandType'][_0x5b4c6d(0x179)],'handler':(_0x377f74,_0x11ccb4)=>{const _0x4bee50=_0x5b4c6d;if(!_0x11ccb4)return!0x1;if(!!_0x377f74[_0x4bee50(0x177)](_0x2be92f[_0x4bee50(0x27f)])['getConfig'](_0x47449f))return!0x0;const {pivotTableId:_0xfdbff4,fieldJSON:_0x254bac,unitId:_0x36b756,subUnitId:_0x425414}=_0x11ccb4,_0x5e8390=_0x949178[_0x4bee50(0x1d5)][_0x4bee50(0x129)](_0x254bac);if(!_0x5e8390)return!0x1;const _0x454702=_0x377f74[_0x4bee50(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),_0x54d3d6=_0x454702[_0x4bee50(0x2c2)](_0x36b756),_0x5b2799=_0x54d3d6[_0x4bee50(0x28c)](_0xfdbff4);_0x54d3d6[_0x4bee50(0x25e)](_0x5e8390),_0x5b2799[_0x4bee50(0x2da)](_0x5e8390['getId'](),_0x5e8390[_0x4bee50(0x136)]());const _0x4ad72f=_0x5b2799['getFieldById'](_0x5e8390[_0x4bee50(0x125)]());_0x4ad72f&&_0x5e8390['refreshGroupField'](_0x4ad72f);const _0xc9f850=_0x454702[_0x4bee50(0x290)](_0x36b756,_0x425414,_0xfdbff4);return _0x454702[_0x4bee50(0x370)]({'unitId':_0x36b756,'subUnitId':_0x425414,'token':_0xfdbff4,'type':_0x1bbb8c[_0x4bee50(0x261)],'pivotConfig':_0xc9f850}),!0x0;}},_0x1253d3={'id':'sheet.mutation.remove-group-collection','type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'handler':(_0x4d9911,_0x15fc05)=>{const _0x1823ce=_0x5b4c6d;if(!_0x15fc05)return!0x1;if(!!_0x4d9911[_0x1823ce(0x177)](_0x2be92f[_0x1823ce(0x27f)])['getConfig'](_0x47449f))return!0x0;const {pivotTableId:_0x4ff9f5,dataFieldId:_0x52c4c0,unitId:_0x1953a5,subUnitId:_0x49be13}=_0x15fc05,_0x29ee25=_0x4d9911[_0x1823ce(0x177)](_0x3acc27['SheetsPivotDataSourceModel']),_0x32ab01=_0x29ee25['getDataFieldManager'](_0x1953a5);_0x32ab01[_0x1823ce(0x28c)](_0x4ff9f5)[_0x1823ce(0xfd)](_0x52c4c0);let _0x54eb92=!0x0;for(const _0x4664b9 in _0x32ab01['collections'])if(_0x32ab01[_0x1823ce(0x307)][_0x4664b9][_0x1823ce(0x225)]()['includes'](_0x52c4c0)){_0x54eb92=!0x1;break;}_0x54eb92&&_0x32ab01[_0x1823ce(0x1de)](_0x52c4c0);const _0x1963e5=_0x29ee25[_0x1823ce(0x290)](_0x1953a5,_0x49be13,_0x4ff9f5);return _0x29ee25[_0x1823ce(0x370)]({'unitId':_0x1953a5,'subUnitId':_0x49be13,'token':_0x4ff9f5,'type':_0x1bbb8c[_0x1823ce(0x261)],'pivotConfig':_0x1963e5}),!0x0;}},_0x1febc0={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x27c),async 'handler'(_0x51bca2,_0x334e9e){const _0x3a3778=_0x5b4c6d;if(!_0x334e9e)return!0x1;const _0xffb1cf=_0x51bca2[_0x3a3778(0x177)](_0x2be92f[_0x3a3778(0x109)]),_0x38e33b=_0x51bca2[_0x3a3778(0x177)](_0x3acc27[_0x3a3778(0x2c3)]),_0x323192=_0x51bca2['get'](_0x2be92f['IUndoRedoService']),{pivotTableId:_0x2333d4,dataFieldId:_0x58da1b,fieldArea:_0x5a24a2,index:_0x4f4f96,unitId:_0x462c90,subUnitId:_0x39a111}=_0x334e9e,_0x47179a=(await _0x38e33b['getPivotDisplayConfig']({'unitId':_0x462c90,'subUnitId':_0x39a111,'pivotTableId':_0x2333d4,'params':{'type':_0x357f41['AddPivotField'],'addPivotField':{'dataFieldId':_0x58da1b,'fieldArea':_0x5a24a2,'index':_0x4f4f96}}}))[_0x3a3778(0x29f)]['addPivotField'];if(!_0x47179a)return!0x1;const {view:_0x2234b5,changesets:_0x3ec5c6,isEmpty:_0x3dfebe,pivotTableConfig:_0x227804,shouldBeAddedGroupJSON:_0x37d9cd}=_0x47179a,_0x97f1f1=_0x227804['targetCellInfo'],_0x572553=new _0x949178[(_0x3a3778(0x140))]();_0x572553[_0x3a3778(0x106)](_0x2234b5);const _0x16ad02={'cellInfo':_0x97f1f1,'view':_0x572553,'isEmpty':_0x3dfebe};if(!await _0x51bca2[_0x3a3778(0x177)](_0x3acc27[_0x3a3778(0xe0)])[_0x3a3778(0x357)]['fetchThroughAsyncInterceptors'](_0x26e2dc)(!0x0,_0x16ad02))return!0x1;const _0x6c9442=_0x29e760(_0x51bca2,_0x572553,_0x97f1f1,_0x3dfebe),_0x5221d6=_0x169f26(_0x51bca2,_0x16ad02),{undos:_0x24b140,redos:_0x4f6e51}=_0x54af12(_0xffb1cf,{'pivotTableId':_0x2333d4,'unitId':_0x462c90,'subUnitId':_0x39a111},_0x3ec5c6);return _0x37d9cd&&(_0x4f6e51[_0x3a3778(0x2ea)]({'id':_0x4263['id'],'params':{'pivotTableId':_0x2333d4,'fieldJSON':_0x37d9cd,'unitId':_0x462c90,'subUnitId':_0x39a111}}),_0x24b140[_0x3a3778(0x1cc)]({'id':_0x1253d3['id'],'params':{'pivotTableId':_0x2333d4,'dataFieldId':_0x37d9cd['id'],'unitId':_0x462c90,'subUnitId':_0x39a111}})),_0x2be92f[_0x3a3778(0x195)]([..._0x6c9442[_0x3a3778(0x333)],..._0x5221d6['redos'],..._0x4f6e51],_0xffb1cf),_0x323192[_0x3a3778(0x1f6)]({'unitID':_0x462c90,'redoMutations':[..._0x6c9442['redos'],..._0x5221d6[_0x3a3778(0x333)],..._0x4f6e51],'undoMutations':[..._0x6c9442['undos'],..._0x5221d6['undos'],..._0x24b140]}),!0x0;}},_0x16e723={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x24f),async 'handler'(_0x5c9c95,_0x1465c4){const _0x31512a=_0x5b4c6d;if(!_0x1465c4)return!0x1;const {sourceDataInfo:_0x8a376,pivotTableConfig:_0x4e5836}=_0x1465c4;if(!_0x8a376||!_0x4e5836)return!0x1;const {unitId:_0x3d0a80,subUnitId:_0x440a07,range:_0x3ebc1c}=_0x8a376,_0x416ee2=_0x5c9c95[_0x31512a(0x177)](_0x2be92f[_0x31512a(0xd2)]),_0x579d03=_0x5c9c95['get'](_0x3acc27[_0x31512a(0x2c3)]),_0x20668e=_0x5c9c95['get'](_0x2be92f['LocaleService']),_0x332f26=_0x5c9c95[_0x31512a(0x177)](_0x2be92f[_0x31512a(0x109)]),_0x561d9b=_0x416ee2[_0x31512a(0x2fd)](_0x3d0a80);if(!_0x561d9b)return!0x1;const _0x51a366=_0x561d9b[_0x31512a(0xc6)](_0x440a07);if(!_0x51a366)return!0x1;const _0x329d19=_0x949178[_0x31512a(0x107)](0x8),_0x17e46a=_0x3ebc1c||{'startRow':0x0,'startColumn':0x0,'endRow':_0x51a366[_0x31512a(0x312)]()-0x1,'endColumn':_0x51a366[_0x31512a(0x309)]()-0x1};_0x17e46a['rangeType']=_0x2be92f[_0x31512a(0x123)]['NORMAL'];const _0x203116=(await _0x579d03['getPivotDisplayConfig']({'unitId':_0x3d0a80,'subUnitId':_0x440a07,'pivotTableId':_0x329d19,'params':{'type':_0x357f41[_0x31512a(0x2ad)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3d0a80,'sheetName':_0x51a366[_0x31512a(0x136)](),'subUnitId':_0x440a07,'range':_0x17e46a},'pivotTableId':_0x329d19,'pivotTableIndexConfig':_0x4e5836}}}))[_0x31512a(0x29f)][_0x31512a(0x194)];if(!_0x203116)return!0x1;const {isEmpty:_0x547364,fieldsConfig:_0x5b786d,collectionConfig:_0x230c78,changesets:_0x44d781}=_0x203116,_0x5b34c9=_0x561d9b[_0x31512a(0x2ba)]()[_0x31512a(0xad)],_0x224020=_0x2be92f[_0x31512a(0x157)]({'rowCount':_0x51a366[_0x31512a(0x312)]()-0x1,'columnCount':_0x51a366[_0x31512a(0x309)]()-0x1});_0x224020['id']=_0x2be92f[_0x31512a(0x1ca)](),_0x224020[_0x31512a(0x2db)]=_0x561d9b[_0x31512a(0x137)](''+_0x20668e['t']('sheets.tabs.sheet'));const _0x244a74={'index':_0x5b34c9,'sheet':_0x224020,'unitId':_0x3d0a80},{redos:_0x5acfcc}=_0x54af12(_0x332f26,{'pivotTableId':_0x329d19,'unitId':_0x3d0a80,'subUnitId':_0x224020['id']},_0x44d781),_0x526f3f=[{'id':_0xac1e83[_0x31512a(0x128)]['id'],'params':_0x244a74},{'id':_0x5bd603['id'],'params':{'unitId':_0x3d0a80,'subUnitId':_0x224020['id'],'pivotTableId':_0x329d19,'pivotTableConfig':{'isEmpty':_0x547364,'fieldsConfig':_0x5b786d,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3d0a80,'subUnitId':_0x224020['id']},'sourceRangeInfo':{'subUnitId':_0x440a07,'unitId':_0x3d0a80,'range':_0x17e46a,'sheetName':_0x51a366[_0x31512a(0x136)]()}},'collectionConfig':_0x230c78}},..._0x5acfcc];return _0x2be92f[_0x31512a(0x195)](_0x526f3f,_0x332f26),!0x0;}},_0x1b3268={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['COMMAND'],'id':_0x5b4c6d(0x219),async 'handler'(_0x2f494c,_0x11987d){const _0x209981=_0x5b4c6d;var _0x17b898,_0x14785c;const _0x327d7c=_0x2f494c['get'](_0x2be92f[_0x209981(0x109)]),_0x3666bc=_0x2f494c[_0x209981(0x177)](_0x2be92f['IUniverInstanceService']),_0x150bce=_0x2f494c[_0x209981(0x177)](_0x2be92f[_0x209981(0x126)]),_0x57c1b8=_0x2f494c[_0x209981(0x177)](_0x3acc27[_0x209981(0x2c3)]),_0x770320=_0x2f494c['get'](_0x2be92f[_0x209981(0x356)]),_0x1c0b59=_0x2f494c['get'](_0x3acc27[_0x209981(0x216)]),_0x711078=_0x2f494c[_0x209981(0x177)](_0x2be92f['IConfigService']);if(!_0x11987d)return!0x1;const {pivotTableConfig:_0x39004d,positionType:_0x452774}=_0x11987d,{targetCellInfo:_0x4a9f0f,sourceRangeInfo:_0x1061a7}=_0x39004d,{unitId:_0x2a645c,subUnitId:_0x25e386}=_0x4a9f0f,_0x4cf760=_0x3666bc[_0x209981(0x2fd)](_0x2a645c);if(!_0x4cf760)return!0x1;let _0x7b27d1=0x0;_0x4cf760[_0x209981(0x2ba)]()[_0x209981(0x36a)](_0x2fd940=>{const _0x3d8b4d=_0x209981;var _0x19c1c3,_0x411116;_0x7b27d1+=(_0x411116=(_0x19c1c3=_0x1c0b59[_0x3d8b4d(0x37b)](_0x2a645c,_0x2fd940['getSheetId']()))==null?void 0x0:_0x19c1c3['size'])!=null?_0x411116:0x0;});const _0x420ff5=(_0x17b898=_0x711078[_0x209981(0x340)](_0x327f17['LS_CONFIG_KEY']))!=null?_0x17b898:{},{ls:_0x4125c7,pbk:_0x30805c}=_0x420ff5;if(!_0x259459(_0x4125c7,_0x30805c))return!0x1;const _0x3bbb90=_0xea67dc(_0x3008ad,_0x4125c7,_0x30805c)['count'];if(_0x7b27d1>=_0x3bbb90)return!0x1;const _0x29f747=_0x11987d['pivotTableId']||_0x949178[_0x209981(0x107)](0x8),_0x4f7691=(await _0x57c1b8['getPivotDisplayConfig']({'unitId':_0x2a645c,'subUnitId':_0x25e386,'pivotTableId':_0x29f747,'params':{'type':_0x357f41['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x1061a7,'pivotTableId':_0x29f747}}}))['result'][_0x209981(0x302)];if(!_0x4f7691)return!0x1;const {view:_0x21b3de,isEmpty:_0x482bb8,fieldsConfig:_0x1abb19,collectionConfig:_0x3b73c6}=_0x4f7691,_0x1e0532=[],_0x349026=[];if(_0x452774===_0x5242d0[_0x209981(0x21e)]){const _0x122311=_0x4cf760[_0x209981(0x2ba)]()[_0x209981(0xad)],_0x32dd2c=_0x2be92f['mergeWorksheetSnapshotWithDefault']({});_0x32dd2c['id']=_0x39004d[_0x209981(0x282)][_0x209981(0x19f)],_0x32dd2c[_0x209981(0x2db)]=(_0x14785c=_0x39004d['targetCellInfo'][_0x209981(0x143)])!=null?_0x14785c:_0x4cf760['generateNewSheetName'](''+_0x150bce['t'](_0x209981(0x188)));const _0x519a58={'index':_0x122311,'sheet':_0x32dd2c,'unitId':_0x2a645c},_0x408984=_0xac1e83[_0x209981(0xb7)](_0x2f494c,_0x519a58);_0x1e0532[_0x209981(0x1cc)]({'id':_0xac1e83['RemoveSheetMutation']['id'],'params':_0x408984}),_0x349026['push']({'id':_0xac1e83['InsertSheetMutation']['id'],'params':_0x519a58});}else{if(!_0x4cf760[_0x209981(0xc6)](_0x25e386))return!0x1;const _0x4456bf=_0x29e760(_0x2f494c,new _0x949178[(_0x209981(0x140))](),_0x4a9f0f,!0x0);_0x349026['push'](..._0x4456bf['redos']),_0x1e0532[_0x209981(0x1cc)](..._0x4456bf[_0x209981(0x187)]);const _0x30ae6d={'cellInfo':_0x4a9f0f,'view':_0x21b3de,'isEmpty':_0x482bb8};if(!await _0x2f494c[_0x209981(0x177)](_0x3acc27['SheetsPivotTableService'])[_0x209981(0x357)][_0x209981(0x23b)](_0x26e2dc)(!0x0,_0x30ae6d))return!0x1;const _0x2db80b=_0x169f26(_0x2f494c,_0x30ae6d);_0x349026[_0x209981(0x1cc)](..._0x2db80b['redos']),_0x1e0532[_0x209981(0x1cc)](..._0x2db80b['undos']);}return _0x349026['push']({'id':_0x5bd603['id'],'params':{'unitId':_0x4a9f0f[_0x209981(0x2d0)],'subUnitId':_0x4a9f0f['subUnitId'],'pivotTableId':_0x29f747,'pivotTableConfig':{'targetCellInfo':_0x4a9f0f,'sourceRangeInfo':_0x1061a7,'fieldsConfig':_0x1abb19},'collectionConfig':_0x3b73c6}}),_0x1e0532[_0x209981(0x2ea)]({'id':_0x1d746e['id'],'params':{'unitId':_0x2a645c,'subUnitId':_0x25e386,'pivotTableId':_0x29f747}}),_0x2be92f[_0x209981(0x195)](_0x349026,_0x327d7c)&&_0x770320[_0x209981(0x1f6)]({'unitID':_0x2a645c,'undoMutations':_0x1e0532,'redoMutations':_0x349026}),!0x0;}},_0x31a0e8={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['COMMAND'],'id':_0x5b4c6d(0x82),async 'handler'(_0x4369c4,_0x224dac){const _0x4b355a=_0x5b4c6d;if(!_0x224dac)return!0x1;const _0x262597=_0x4369c4[_0x4b355a(0x177)](_0x2be92f[_0x4b355a(0x109)]),_0x59c6fe=_0x4369c4[_0x4b355a(0x177)](_0x3acc27['SheetsPivotRPCService']),_0x4eecc9=_0x4369c4[_0x4b355a(0x177)](_0x2be92f[_0x4b355a(0x356)]),{pivotTableId:_0x1d16a6,fieldId:_0x4c2d9c,area:_0x20e0db,index:_0x2dd7e5,unitId:_0x21d92a,subUnitId:_0x13d017}=_0x224dac,_0x1ee838=(await _0x59c6fe[_0x4b355a(0xfa)]({'unitId':_0x21d92a,'subUnitId':_0x13d017,'pivotTableId':_0x1d16a6,'params':{'type':_0x357f41[_0x4b355a(0x227)],'movePivotField':{'fieldId':_0x4c2d9c,'area':_0x20e0db,'index':_0x2dd7e5}}}))[_0x4b355a(0x29f)][_0x4b355a(0x101)];if(!_0x1ee838)return!0x1;const {changesets:_0xa0c48d,view:_0x2e0d50,isEmpty:_0x113104,pivotTableConfig:_0x28f1d9}=_0x1ee838,_0x7da52e=_0x28f1d9[_0x4b355a(0x282)],_0x2f4391=new _0x949178[(_0x4b355a(0x140))]();_0x2f4391[_0x4b355a(0x106)](_0x2e0d50);const _0x1397a0={'cellInfo':_0x7da52e,'view':_0x2f4391,'isEmpty':_0x113104};if(!await _0x4369c4[_0x4b355a(0x177)](_0x3acc27[_0x4b355a(0xe0)])[_0x4b355a(0x357)][_0x4b355a(0x23b)](_0x26e2dc)(!0x0,_0x1397a0))return!0x1;const _0x436401=_0x29e760(_0x4369c4,_0x2f4391,_0x7da52e,_0x113104),_0x4e6004=_0x169f26(_0x4369c4,_0x1397a0),{redos:_0x5ac9bb,undos:_0x20a411}=_0x54af12(_0x262597,{'pivotTableId':_0x1d16a6,'unitId':_0x21d92a,'subUnitId':_0x13d017},_0xa0c48d);return _0x2be92f[_0x4b355a(0x195)]([..._0x436401[_0x4b355a(0x333)],..._0x4e6004[_0x4b355a(0x333)],..._0x5ac9bb],_0x262597),_0x4eecc9['pushUndoRedo']({'unitID':_0x21d92a,'redoMutations':[..._0x436401[_0x4b355a(0x333)],..._0x4e6004[_0x4b355a(0x333)],..._0x5ac9bb],'undoMutations':[..._0x436401[_0x4b355a(0x187)],..._0x4e6004[_0x4b355a(0x187)],..._0x20a411]}),!0x0;}},_0x5ee8dc={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x4c7560,_0x293279){const _0x51c885=_0x5b4c6d;var _0x12b46f;if(!_0x293279)return!0x1;const _0x3123aa=_0x4c7560[_0x51c885(0x177)](_0x2be92f[_0x51c885(0xd2)]),_0x2625ad=_0xac1e83[_0x51c885(0x1bc)](_0x3123aa);if(!_0x2625ad)return!0x1;const {unitId:_0x4426ef,subUnitId:_0x361053,workbook:_0x15df4f}=_0x2625ad,{row:_0x18e002,col:_0x26324b}=_0x293279,_0x2b0ca2=_0x4c7560[_0x51c885(0x177)](_0x3acc27['SheetsPivotTableAdaptorModel']),_0x8dc7d5=_0x2b0ca2[_0x51c885(0x18d)](_0x4426ef,_0x361053,_0x18e002,_0x26324b);if(!_0x8dc7d5)return!0x1;const _0x3e2c02=(_0x12b46f=_0x2b0ca2[_0x51c885(0x2a3)](_0x4426ef,_0x361053,_0x8dc7d5))==null?void 0x0:_0x12b46f[_0x51c885(0x2c0)];if(!_0x3e2c02)return!0x1;const _0x268ca6=_0x4c7560[_0x51c885(0x177)](_0x3acc27[_0x51c885(0x216)])[_0x51c885(0x290)](_0x4426ef,_0x361053,_0x8dc7d5);if(!_0x268ca6)return!0x1;const {rowInfo:_0x44d6a1,colInfo:_0x2dd23b}=_0x3e2c02,_0x266803=_0x44d6a1[_0x18e002][_0x51c885(0x2e0)],_0x198e15=_0x2dd23b[_0x26324b][_0x51c885(0x2e0)],_0x88f03d=_0x44d6a1[_0x18e002]['level'],_0x5ab31e=_0x2dd23b[_0x26324b][_0x51c885(0x329)],_0x18d051=_0x266803[_0x51c885(0x158)](_0x198e15),_0x91daa8=_0x268ca6[_0x51c885(0x389)]['rowFields'][_0x51c885(0x34b)](0x0,_0x88f03d),_0x3de778=_0x268ca6[_0x51c885(0x389)]['columnFields']['slice'](0x0,_0x5ab31e),_0x4ab211=_0x91daa8[_0x51c885(0x158)](_0x3de778),_0x511e2c=_0x18d051[_0x51c885(0x352)]((_0x15c55a,_0x1d8f50)=>[_0x15c55a,_0x4ab211[_0x1d8f50]]),_0x515973=(await _0x4c7560[_0x51c885(0x177)](_0x3acc27[_0x51c885(0x2c3)])[_0x51c885(0xfa)]({'unitId':_0x4426ef,'subUnitId':_0x361053,'pivotTableId':_0x8dc7d5,'params':{'type':_0x357f41[_0x51c885(0x7b)],'drillDown':{'tuple':_0x511e2c}}}))[_0x51c885(0x29f)][_0x51c885(0x25c)];if(!_0x515973)return!0x1;const {indexes:_0x48baf8,range:_0x3477eb,sourceUnitId:_0x685e21,sourceSubUnitId:_0xa08072,formatMap:_0x4a3af9}=_0x515973,{startRow:_0x605760,endRow:_0x10fe05,startColumn:_0x4407f4,endColumn:_0x4f0499}=_0x3477eb,_0x5c2075=new _0x2be92f[(_0x51c885(0x176))](),_0x55e55e=_0x10fe05-_0x605760,_0xd58a5e=_0x4f0499-_0x4407f4,_0x1bcc6a={},_0x2b8e51=_0xac1e83['getSheetCommandTarget'](_0x3123aa,{'unitId':_0x685e21,'subUnitId':_0xa08072});if(!_0x2b8e51)return!0x1;const _0x37259c=_0x5f2a0b[_0x51c885(0x29e)],_0x14da7d=_0x5f2a0b[_0x51c885(0x2ae)],_0x5d0262=_0x5f2a0b['subTotalStyle'],_0x6da9fd=_0x15df4f[_0x51c885(0x2f8)]()[_0x51c885(0x15a)](_0x37259c),_0x2c1229=_0x15df4f['getStyles']()[_0x51c885(0x15a)](_0x14da7d),_0x3d69af=_0x15df4f[_0x51c885(0x2f8)]()['setValue'](_0x5d0262),{worksheet:_0x58bd94}=_0x2b8e51;let _0x1b1282=0x0;const _0x10e625=0x1;_0x48baf8['forEach'](_0x55ef41=>{const _0x6c0fbd=_0x51c885;for(let _0x3f92a3=0x0;_0x3f92a3<=_0x4f0499-_0x4407f4;_0x3f92a3++)_0x5c2075[_0x6c0fbd(0x15a)](_0x1b1282,_0x3f92a3,_0x58bd94[_0x6c0fbd(0x7c)](_0x55ef41+_0x3477eb[_0x6c0fbd(0xee)]+_0x10e625,_0x3f92a3));_0x1b1282++;});for(let _0x66a8f=_0x4407f4;_0x66a8f<=_0x4f0499;_0x66a8f++){const _0x3e2b55=_0x58bd94[_0x51c885(0x7c)](_0x605760,_0x66a8f);_0x1bcc6a[_0x605760]||(_0x1bcc6a[_0x605760]={}),_0x1bcc6a[_0x605760][_0x66a8f]={..._0x3e2b55,'s':_0x6da9fd};}let _0x320371=0x1;const _0x60493f={},_0x338abf={};_0x5c2075['forRow']((_0x2aecac,_0x41cd12)=>{const _0x2dd6d0=_0x51c885;_0x41cd12[_0x2dd6d0(0x36a)](_0x2dd4d5=>{const _0x2f3354=_0x2dd6d0,_0x50cd5b=_0x5c2075['getValue'](_0x2aecac,_0x2dd4d5);if(_0x1bcc6a[_0x320371]||(_0x1bcc6a[_0x320371]={}),_0x1bcc6a[_0x320371][_0x2dd4d5]={..._0x50cd5b,'s':_0x320371%0x2===0x0?_0x3d69af:_0x2c1229},_0x4a3af9[_0x2dd4d5]&&_0x2aecac>=0x0){const _0x5e4398=_0x320371%0x2===0x0;let _0x1be061=_0x5e4398?_0x338abf[_0x2dd4d5]:_0x60493f[_0x2dd4d5];_0x1be061||(_0x1be061=_0x15df4f['getStyles']()[_0x2f3354(0x15a)]({..._0x5e4398?_0x5d0262:_0x14da7d,'n':{'pattern':_0x4a3af9[_0x2dd4d5]}}),_0x5e4398?_0x338abf[_0x2dd4d5]=_0x1be061:_0x60493f[_0x2dd4d5]=_0x1be061),_0x1bcc6a[_0x320371][_0x2dd4d5]['s']=_0x1be061;}}),_0x320371++;});const _0x4a606b=new _0x2be92f['ObjectMatrix'](_0x1bcc6a),_0x2ca2ae={};_0x4a606b[_0x51c885(0x2eb)]((_0x3fc923,_0x2f425a,_0x398215)=>{_0x2ca2ae[_0x3fc923]||(_0x2ca2ae[_0x3fc923]={}),_0x2ca2ae[_0x3fc923][_0x2f425a]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1c01f6=[],_0x175348=[],_0x15fe32=_0x15df4f[_0x51c885(0x2ba)]()[_0x51c885(0xad)],_0x3b6b1e=_0x2be92f[_0x51c885(0x157)]({'rowCount':Math[_0x51c885(0x114)](_0x2be92f[_0x51c885(0x2d4)],_0x55e55e+0xa),'columnCount':Math['max'](_0x2be92f[_0x51c885(0x1e8)],_0xd58a5e+0x5)}),_0x34644f=_0x4c7560[_0x51c885(0x177)](_0x2be92f[_0x51c885(0x126)]);_0x3b6b1e['id']=_0x2be92f[_0x51c885(0x1ca)](),_0x3b6b1e[_0x51c885(0x2db)]=_0x15df4f[_0x51c885(0x137)](''+_0x34644f['t'](_0x51c885(0x188)));const _0x359652={'index':_0x15fe32,'sheet':_0x3b6b1e,'unitId':_0x4426ef},_0x16b0bc=_0xac1e83[_0x51c885(0xb7)](_0x4c7560,_0x359652);_0x175348['push']({'id':_0xac1e83['InsertSheetMutation']['id'],'params':_0x359652}),_0x1c01f6[_0x51c885(0x1cc)]({'id':_0xac1e83[_0x51c885(0xf3)]['id'],'params':_0x16b0bc}),_0x175348[_0x51c885(0x1cc)]({'id':_0xac1e83['SetRangeValuesMutation']['id'],'params':{'unitId':_0x4426ef,'subUnitId':_0x3b6b1e['id'],'cellValue':_0x1bcc6a}}),_0x1c01f6['unshift']({'id':_0xac1e83[_0x51c885(0x2df)]['id'],'params':{'unitId':_0x4426ef,'subUnitId':_0x3b6b1e['id'],'cellValue':_0x2ca2ae}});const _0x16dc37={'startRow':0x0,'startColumn':0x0,'endRow':_0x320371-0x1,'endColumn':_0x4f0499};_0x175348[_0x51c885(0x1cc)]({'id':_0x2518cd['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x4426ef,'subUnitId':_0x3b6b1e['id'],'range':_0x16dc37}}),_0x1c01f6[_0x51c885(0x2ea)]({'id':_0x2518cd[_0x51c885(0x134)]['id'],'params':{'unitId':_0x4426ef,'subUnitId':_0x3b6b1e['id']}});const _0x512f1f=_0x4c7560['get'](_0x2be92f['ICommandService']);return _0x2be92f[_0x51c885(0x195)](_0x175348,_0x512f1f)&&_0x4c7560[_0x51c885(0x177)](_0x2be92f[_0x51c885(0x356)])[_0x51c885(0x1f6)]({'unitID':_0x4426ef,'undoMutations':_0x1c01f6,'redoMutations':_0x175348}),!0x0;}},_0x3ffcde={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x196),async 'handler'(_0x4eaab7,_0x548a68){const _0x393332=_0x5b4c6d;if(!_0x548a68)return!0x1;const _0x541da3=_0x4eaab7['get'](_0x2be92f[_0x393332(0x109)]),_0x5a6c19=_0x4eaab7[_0x393332(0x177)](_0x3acc27[_0x393332(0x2c3)]),_0x5e8339=_0x4eaab7[_0x393332(0x177)](_0x2be92f[_0x393332(0x356)]),{pivotTableId:_0x26e705,fieldIds:_0x50a4e8,unitId:_0x31ea,subUnitId:_0x22ce48}=_0x548a68,_0x4de7f2=(await _0x5a6c19[_0x393332(0xfa)]({'unitId':_0x31ea,'subUnitId':_0x22ce48,'pivotTableId':_0x26e705,'params':{'type':_0x357f41[_0x393332(0x301)],'removePivotField':{'fieldIds':_0x50a4e8}}}))[_0x393332(0x29f)][_0x393332(0xba)];if(!_0x4de7f2)return!0x1;const {view:_0x22ba80,changesets:_0x518ac3,isEmpty:_0x5a70b1,pivotTableConfig:_0x4cf483}=_0x4de7f2,_0x367dd8=_0x4cf483[_0x393332(0x282)],_0x5c802e=new _0x949178['PivotView']();_0x5c802e[_0x393332(0x106)](_0x22ba80);const _0xf9a3e4={'cellInfo':_0x367dd8,'view':_0x5c802e,'isEmpty':_0x5a70b1};if(!await _0x4eaab7[_0x393332(0x177)](_0x3acc27[_0x393332(0xe0)])[_0x393332(0x357)][_0x393332(0x23b)](_0x26e2dc)(!0x0,_0xf9a3e4))return!0x1;const _0x432998=_0x29e760(_0x4eaab7,_0x5c802e,_0x367dd8,_0x5a70b1),_0xbd28fc=_0x169f26(_0x4eaab7,_0xf9a3e4),{redos:_0x4a9055,undos:_0x383b0f}=_0x54af12(_0x541da3,{'pivotTableId':_0x26e705,'unitId':_0x31ea,'subUnitId':_0x22ce48},_0x518ac3);return _0x2be92f[_0x393332(0x195)]([..._0x432998[_0x393332(0x333)],..._0xbd28fc['redos'],..._0x4a9055],_0x541da3),_0x5e8339[_0x393332(0x1f6)]({'unitID':_0x31ea,'redoMutations':[..._0x432998[_0x393332(0x333)],..._0xbd28fc['redos'],..._0x4a9055],'undoMutations':[..._0x432998['undos'],..._0xbd28fc[_0x393332(0x187)],..._0x383b0f]}),!0x0;}},_0x3a1b26={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x1ae),async 'handler'(_0x489a62,_0x1cb030){const _0x47460e=_0x5b4c6d;var _0x3b703d;const _0x50322a=_0x489a62['get'](_0x2be92f[_0x47460e(0x109)]),_0x1053ea=_0x489a62[_0x47460e(0x177)](_0x3acc27[_0x47460e(0x2c3)]),_0x399f29=_0x489a62[_0x47460e(0x177)](_0x3acc27[_0x47460e(0x111)]),_0x159343=_0x489a62[_0x47460e(0x177)](_0x2be92f['IUniverInstanceService']),_0x3f61d4=_0x489a62[_0x47460e(0x177)](_0x2be92f[_0x47460e(0x356)]);if(!_0x1cb030)return!0x1;const {unitId:_0x398c4e,subUnitId:_0x5d7f80,row:_0x3c5a3e,col:_0x5a5efe,collapse:_0x28380a}=_0x1cb030,_0x1b075e=_0x159343[_0x47460e(0x2fd)](_0x398c4e);if(!_0x1b075e||!_0x1b075e['getSheetBySheetId'](_0x5d7f80))return!0x1;const _0x3e965e=_0x399f29[_0x47460e(0x18d)](_0x398c4e,_0x5d7f80,_0x3c5a3e,_0x5a5efe);if(!_0x3e965e)return!0x1;const _0x517cbf=_0x399f29['getPivotItemRenderInfoCache'](_0x398c4e,_0x5d7f80,_0x3e965e);if(!_0x517cbf)return!0x1;const _0x4e3331=_0x2be92f[_0x47460e(0x161)](_0x3c5a3e,_0x5a5efe),{rangesInfo:_0x41f688,areaInfo:_0x2b089e,headerMap:_0x2c80b1}=_0x517cbf;if(!_0x41f688||!_0x2b089e||!_0x2c80b1)return!0x1;const _0x383bde=Object[_0x47460e(0x102)](_0x41f688)[_0x47460e(0xa9)](_0x565fee=>_0x41f688[_0x565fee][_0x47460e(0x20d)](_0x27b0ae=>_0x2be92f['Rectangle']['contains'](_0x27b0ae,_0x4e3331)));let _0xe8ace;_0x383bde===_0x47460e(0x2a5)?_0xe8ace=_0x2c80b1['rowHeaderMap'][_0x5a5efe]:_0x383bde===_0x47460e(0x1bd)&&(_0xe8ace=_0x2c80b1[_0x47460e(0x30f)][_0x3c5a3e]);const _0x5820c1=_0xe8ace==null?void 0x0:_0xe8ace['tableFieldId'],_0x4e2d72=(_0x3b703d=_0x399f29[_0x47460e(0x264)](_0x398c4e,_0x5d7f80,_0x3c5a3e,_0x5a5efe))==null?void 0x0:_0x3b703d['v'];if(_0x4e2d72==null||!_0x3e965e||!_0x5820c1)return!0x1;const _0xac2eb2=await _0x1053ea['getPivotDisplayConfig']({'unitId':_0x398c4e,'subUnitId':_0x5d7f80,'pivotTableId':_0x3e965e,'params':{'type':_0x357f41['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x5820c1,'collapse':_0x28380a,'item':_0x4e2d72}}}),_0x577112=_0xac2eb2==null?void 0x0:_0xac2eb2[_0x47460e(0x29f)]['setPivotCollapse'];if(!_0x577112)return!0x1;const {view:_0x5dd012,pivotTableConfig:_0x41e765,isEmpty:_0x2d579f,changesets:_0x90b321}=_0x577112,_0x526c87=new _0x949178[(_0x47460e(0x140))]();_0x526c87[_0x47460e(0x106)](_0x5dd012);const _0x45ae59=_0x41e765[_0x47460e(0x282)],_0x57fa00={'cellInfo':_0x45ae59,'view':_0x526c87,'isEmpty':_0x2d579f};if(!await _0x489a62[_0x47460e(0x177)](_0x3acc27[_0x47460e(0xe0)])[_0x47460e(0x357)]['fetchThroughAsyncInterceptors'](_0x26e2dc)(!0x0,_0x57fa00))return!0x1;const _0x244fe7=_0x29e760(_0x489a62,_0x526c87,_0x45ae59,_0x2d579f),_0x15d0e4=_0x169f26(_0x489a62,_0x57fa00),{redos:_0x39ffe5,undos:_0x222d17}=_0x54af12(_0x50322a,{'pivotTableId':_0x3e965e,'unitId':_0x398c4e,'subUnitId':_0x5d7f80},_0x90b321);return _0x2be92f[_0x47460e(0x195)]([..._0x244fe7['redos'],..._0x15d0e4[_0x47460e(0x333)],..._0x39ffe5],_0x50322a),_0x3f61d4[_0x47460e(0x1f6)]({'unitID':_0x398c4e,'redoMutations':[..._0x244fe7[_0x47460e(0x333)],..._0x15d0e4['redos'],..._0x39ffe5],'undoMutations':[..._0x244fe7['undos'],..._0x15d0e4['undos'],..._0x222d17]}),!0x0;}},_0x58d703={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x9e),async 'handler'(_0x5d8cc9,_0x4995f1){const _0xf24373=_0x5b4c6d;if(!_0x4995f1)return!0x1;const _0x1f3656=_0x5d8cc9[_0xf24373(0x177)](_0x2be92f[_0xf24373(0x109)]),{pivotTableId:_0x55678c,tableFieldId:_0x185ce7,items:_0x4c36f8,unitId:_0x4d31b0,subUnitId:_0xd5a3d2,isAll:_0x3ebe55}=_0x4995f1,_0x2817a6=_0x5d8cc9[_0xf24373(0x177)](_0x3acc27[_0xf24373(0x2c3)]),_0x2b0277=_0x5d8cc9['get'](_0x2be92f[_0xf24373(0x356)]),_0x379452=(await _0x2817a6['getPivotDisplayConfig']({'unitId':_0x4d31b0,'subUnitId':_0xd5a3d2,'pivotTableId':_0x55678c,'params':{'type':_0x357f41[_0xf24373(0xde)],'setPivotFilter':{'tableFieldId':_0x185ce7,'items':_0x4c36f8,'isAll':_0x3ebe55}}}))['result'][_0xf24373(0x29c)];if(!_0x379452)return!0x1;const {changesets:_0x548046,pivotTableConfig:_0x10b1ee,isEmpty:_0x5afaaa,view:_0x231fe9}=_0x379452,_0x35b036=_0x10b1ee[_0xf24373(0x282)],_0x4e31f4=new _0x949178[(_0xf24373(0x140))]();_0x4e31f4[_0xf24373(0x106)](_0x231fe9);const _0x36b3e8={'cellInfo':_0x35b036,'view':_0x4e31f4,'isEmpty':_0x5afaaa};if(!await _0x5d8cc9[_0xf24373(0x177)](_0x3acc27['SheetsPivotTableService'])['asyncInterceptor'][_0xf24373(0x23b)](_0x26e2dc)(!0x0,_0x36b3e8))return!0x1;const _0xddcfd1=_0x29e760(_0x5d8cc9,_0x4e31f4,_0x35b036,_0x5afaaa),_0x3eb217=_0x169f26(_0x5d8cc9,_0x36b3e8),{undos:_0x393614,redos:_0x111d33}=_0x54af12(_0x1f3656,{'pivotTableId':_0x55678c,'unitId':_0x4d31b0,'subUnitId':_0xd5a3d2},_0x548046);return _0x2be92f[_0xf24373(0x195)]([..._0xddcfd1[_0xf24373(0x333)],..._0x3eb217['redos'],..._0x111d33],_0x1f3656),_0x2b0277[_0xf24373(0x1f6)]({'unitID':_0x4d31b0,'redoMutations':[..._0xddcfd1[_0xf24373(0x333)],..._0x3eb217[_0xf24373(0x333)],..._0x111d33],'undoMutations':[..._0xddcfd1['undos'],..._0x3eb217['undos'],..._0x393614]}),!0x0;}},_0x21788d={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x203),async 'handler'(_0x15cd51,_0x402e26){const _0x1edd83=_0x5b4c6d;if(!_0x402e26)return!0x1;const _0x1cd645=_0x15cd51[_0x1edd83(0x177)](_0x2be92f[_0x1edd83(0x109)]),_0x11f234=_0x15cd51['get'](_0x2be92f[_0x1edd83(0x356)]),_0x564842=_0x15cd51['get'](_0x3acc27[_0x1edd83(0x2c3)]),{info:_0x4a106d,tableFieldId:_0x15af30,pivotTableId:_0x3d0be7,unitId:_0x48f66e,subUnitId:_0x5e4e87}=_0x402e26,_0x22bbe1=(await _0x564842[_0x1edd83(0xfa)]({'unitId':_0x48f66e,'subUnitId':_0x5e4e87,'pivotTableId':_0x3d0be7,'params':{'type':_0x357f41['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x15af30,'info':_0x4a106d}}}))[_0x1edd83(0x29f)][_0x1edd83(0x247)];if(!_0x22bbe1)return!0x1;const {changesets:_0x1ba3f6}=_0x22bbe1,{redos:_0x100a6b,undos:_0x2846f8}=_0x54af12(_0x1cd645,{'pivotTableId':_0x3d0be7,'unitId':_0x48f66e,'subUnitId':_0x5e4e87},_0x1ba3f6);return _0x2be92f[_0x1edd83(0x195)](_0x100a6b,_0x1cd645),_0x11f234[_0x1edd83(0x1f6)]({'unitID':_0x48f66e,'redoMutations':_0x100a6b,'undoMutations':_0x2846f8}),!0x0;}},_0x2497d3={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x2572f9,_0xb96f48){const _0x2940c2=_0x5b4c6d;if(!_0xb96f48)return!0x1;const _0x11c3e3=_0x2572f9[_0x2940c2(0x177)](_0x2be92f[_0x2940c2(0x109)]),_0x14b7aa=_0x2572f9[_0x2940c2(0x177)](_0x2be92f[_0x2940c2(0x356)]),_0x4299c4=_0x2572f9[_0x2940c2(0x177)](_0x3acc27[_0x2940c2(0x2c3)]),{displayName:_0x1d7d1c,subtotalType:_0x3132f0,format:_0x3a2d0c,tableFieldId:_0x17f2e4,pivotTableId:_0x3ecd12,unitId:_0x2e9ef0,subUnitId:_0xc9276d}=_0xb96f48,_0x5c36df=(await _0x4299c4[_0x2940c2(0xfa)]({'unitId':_0x2e9ef0,'subUnitId':_0xc9276d,'pivotTableId':_0x3ecd12,'params':{'type':_0x357f41[_0x2940c2(0x381)],'setPivotSetting':{'tableFieldId':_0x17f2e4,'displayName':_0x1d7d1c,'subtotalType':_0x3132f0,'format':_0x3a2d0c}}}))[_0x2940c2(0x29f)][_0x2940c2(0xce)];if(!_0x5c36df)return!0x1;const {changesets:_0x58b868,view:_0x326bcf,pivotTableConfig:_0x1db64b,isEmpty:_0x454f64}=_0x5c36df,_0x2ec559=_0x1db64b[_0x2940c2(0x282)],_0x4eec3a=new _0x949178[(_0x2940c2(0x140))]();_0x4eec3a[_0x2940c2(0x106)](_0x326bcf);const _0x5e3aa={'cellInfo':_0x2ec559,'view':_0x4eec3a,'isEmpty':_0x454f64};if(!await _0x2572f9[_0x2940c2(0x177)](_0x3acc27[_0x2940c2(0xe0)])['asyncInterceptor'][_0x2940c2(0x23b)](_0x26e2dc)(!0x0,_0x5e3aa))return!0x1;const _0x5ac17f=_0x29e760(_0x2572f9,_0x4eec3a,_0x2ec559,_0x454f64),_0x5b9fe3=_0x169f26(_0x2572f9,_0x5e3aa),{undos:_0x42c4e0,redos:_0xa73419}=_0x54af12(_0x11c3e3,{'pivotTableId':_0x3ecd12,'unitId':_0x2e9ef0,'subUnitId':_0xc9276d},_0x58b868);return _0x2be92f[_0x2940c2(0x195)]([..._0x5ac17f[_0x2940c2(0x333)],..._0x5b9fe3[_0x2940c2(0x333)],..._0xa73419],_0x11c3e3),_0x14b7aa[_0x2940c2(0x1f6)]({'unitID':_0x2e9ef0,'redoMutations':[..._0x5ac17f[_0x2940c2(0x333)],..._0x5b9fe3[_0x2940c2(0x333)],..._0xa73419],'undoMutations':[..._0x5ac17f[_0x2940c2(0x187)],..._0x5b9fe3['undos'],..._0x42c4e0]}),!0x0;}},_0x256053={'type':_0x2be92f[_0x5b4c6d(0x2b3)]['COMMAND'],'id':_0x5b4c6d(0x360),async 'handler'(_0x38d008,_0x2f4f81){const _0x374501=_0x5b4c6d,_0x1f7427=_0x38d008['get'](_0x2be92f['ICommandService']),_0x263f54=_0x38d008[_0x374501(0x177)](_0x3acc27['SheetsPivotRPCService']),_0x9ba4c7=_0x38d008['get'](_0x2be92f[_0x374501(0x356)]);if(!_0x2f4f81)return!0x1;const {token:_0x46d505,dataRangeInfo:_0xd554fe,unitId:_0x16812a,subUnitId:_0x2f4cc9}=_0x2f4f81,_0x63d1bb=[],_0x6bd523=[],_0x5b32f8=(await _0x263f54[_0x374501(0xfa)]({'unitId':_0x16812a,'subUnitId':_0x2f4cc9,'pivotTableId':_0x46d505,'params':{'type':_0x357f41[_0x374501(0x152)],'updatePivotSource':{'dataRangeInfo':_0xd554fe,'unitId':_0x16812a,'subUnitId':_0x2f4cc9}}}))[_0x374501(0x29f)]['updatePivotSource'];if(!_0x5b32f8)return!0x1;const {changesets:_0x1d9bef,deleteIds:_0x15694a,collectionConfig:_0x5a9450,oldCollectionConfig:_0x1d3ab1,view:_0x514455,isEmpty:_0x2c7a04,pivotTableConfig:_0x5afa47}=_0x5b32f8;_0x6bd523['push']({'id':_0x2988cb['id'],'params':{'pivotTableId':_0x46d505,'deleteIds':_0x15694a,'collectionJSON':_0x5a9450,'dataRangeInfo':_0xd554fe,'unitId':_0x16812a,'subUnitId':_0x2f4cc9}}),_0x63d1bb[_0x374501(0x2ea)]({'id':_0x2988cb['id'],'params':{'pivotTableId':_0x46d505,'deleteIds':[],'collectionJSON':_0x1d3ab1,'dataRangeInfo':_0x5afa47['sourceRangeInfo'],'unitId':_0x16812a,'subUnitId':_0x2f4cc9}});const _0x2fbb03=_0x5afa47[_0x374501(0x282)],_0x4f24fe=new _0x949178[(_0x374501(0x140))]();_0x4f24fe[_0x374501(0x106)](_0x514455);const _0x3a9c89={'cellInfo':_0x2fbb03,'view':_0x4f24fe,'isEmpty':_0x2c7a04};if(!await _0x38d008['get'](_0x3acc27['SheetsPivotTableService'])[_0x374501(0x357)][_0x374501(0x23b)](_0x26e2dc)(!0x0,_0x3a9c89))return!0x1;const _0x429750=_0x29e760(_0x38d008,_0x4f24fe,_0x2fbb03,_0x2c7a04),_0x2cd113=_0x169f26(_0x38d008,_0x3a9c89),{undos:_0x5b9fe5,redos:_0x1889e4}=_0x54af12(_0x1f7427,{'pivotTableId':_0x46d505,'unitId':_0x16812a,'subUnitId':_0x2f4cc9},_0x1d9bef);return _0x2be92f[_0x374501(0x195)]([..._0x429750[_0x374501(0x333)],..._0x2cd113[_0x374501(0x333)],..._0x6bd523,..._0x5b9fe5],_0x1f7427),_0x9ba4c7[_0x374501(0x1f6)]({'unitID':_0x16812a,'redoMutations':[..._0x429750[_0x374501(0x333)],..._0x2cd113[_0x374501(0x333)],..._0x6bd523,..._0x5b9fe5],'undoMutations':[..._0x429750['undos'],..._0x2cd113[_0x374501(0x187)],..._0x63d1bb,..._0x1889e4]}),!0x0;}},_0x14775b={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x229),async 'handler'(_0x16367c,_0x316e2f){const _0x5561cf=_0x5b4c6d;if(!_0x316e2f)return!0x1;const _0x3da85c=_0x16367c['get'](_0x2be92f['ICommandService']),_0x5e51b9=_0x16367c[_0x5561cf(0x177)](_0x3acc27['SheetsPivotRPCService']),_0x28cc5a=_0x16367c[_0x5561cf(0x177)](_0x2be92f[_0x5561cf(0xd2)]),_0x525e02=_0x16367c[_0x5561cf(0x177)](_0x2be92f[_0x5561cf(0x356)]),{pivotTableId:_0x476f5a,position:_0x44dfa2,index:_0x381c73}=_0x316e2f,_0x4cce83=_0xac1e83[_0x5561cf(0x1bc)](_0x28cc5a);if(!_0x4cce83)return!0x1;const {unitId:_0x52514a,subUnitId:_0x9e5f1d}=_0x4cce83,_0x3e0d9a=(await _0x5e51b9['getPivotDisplayConfig']({'unitId':_0x52514a,'subUnitId':_0x9e5f1d,'pivotTableId':_0x476f5a,'params':{'type':_0x357f41[_0x5561cf(0xfe)],'updateValuePosition':{'position':_0x44dfa2,'index':_0x381c73}}}))[_0x5561cf(0x29f)][_0x5561cf(0x1a9)];if(!_0x3e0d9a)return!0x1;const {changesets:_0x1b867d,view:_0x56698d,isEmpty:_0x24462c,pivotTableConfig:_0x2b2212}=_0x3e0d9a,_0x1b630a=_0x2b2212[_0x5561cf(0x282)],_0x217dc5=new _0x949178[(_0x5561cf(0x140))]();_0x217dc5['formJSON'](_0x56698d);const _0x50800a=_0x16367c[_0x5561cf(0x177)](_0x3acc27[_0x5561cf(0xe0)]),_0x2246ef={'cellInfo':_0x1b630a,'view':_0x217dc5,'isEmpty':_0x24462c};if(!await _0x50800a[_0x5561cf(0x357)][_0x5561cf(0x23b)](_0x26e2dc)(!0x0,_0x2246ef))return!0x1;const _0x1be899=_0x29e760(_0x16367c,_0x217dc5,_0x1b630a,_0x24462c),_0x4e658a=_0x169f26(_0x16367c,_0x2246ef),{undos:_0x1032ef,redos:_0x38dd5}=_0x54af12(_0x3da85c,{'pivotTableId':_0x476f5a,'unitId':_0x52514a,'subUnitId':_0x9e5f1d},_0x1b867d);return _0x2be92f[_0x5561cf(0x195)]([..._0x1be899[_0x5561cf(0x333)],..._0x4e658a[_0x5561cf(0x333)],..._0x38dd5],_0x3da85c),_0x525e02['pushUndoRedo']({'unitID':_0x52514a,'redoMutations':[..._0x1be899[_0x5561cf(0x333)],..._0x4e658a[_0x5561cf(0x333)],..._0x38dd5],'undoMutations':[..._0x1be899['undos'],..._0x4e658a[_0x5561cf(0x187)],..._0x1032ef]}),!0x0;}},_0x4215d3={'type':_0x2be92f['CommandType'][_0x5b4c6d(0x375)],'id':'sheet.command.move-pivot-table','handler':(_0x538a99,_0x3a545a)=>{const _0x20250f=_0x5b4c6d,_0x12f7c4=_0x538a99[_0x20250f(0x177)](_0x2be92f[_0x20250f(0x109)]),_0x411563=_0x538a99[_0x20250f(0x177)](_0x2be92f[_0x20250f(0x356)]),_0x14676c=_0x538a99[_0x20250f(0x177)](_0x3acc27[_0x20250f(0x216)]),_0x563b9c=_0x538a99[_0x20250f(0x177)](_0x2be92f[_0x20250f(0xd2)]);if(!_0x3a545a)return!0x1;const _0x3f3985=_0xac1e83[_0x20250f(0x1bc)](_0x563b9c);if(!_0x3f3985)return!0x1;const {unitId:_0x2eedf,subUnitId:_0x431457,workbook:_0x3551d3}=_0x3f3985,_0xac7991=_0x14676c[_0x20250f(0x290)](_0x3a545a['originTargetInfo']['unitId'],_0x3a545a[_0x20250f(0x77)]['subUnitId'],_0x3a545a[_0x20250f(0x80)]);if(!_0xac7991)return!0x1;const _0x59fbfa=_0x3551d3[_0x20250f(0xc6)](_0x3a545a['targetCellInfo'][_0x20250f(0x19f)]);if(!_0x59fbfa)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5a6c50=_0x59fbfa['getRowCount'](),_0x1a39e4=_0x59fbfa[_0x20250f(0x309)]();if(_0x3a545a[_0x20250f(0x282)][_0x20250f(0x178)]>_0x5a6c50||_0x3a545a[_0x20250f(0x282)][_0x20250f(0x320)]>_0x1a39e4)throw new Error(_0x20250f(0x29d));const _0xbe6f82=[{'id':_0x2730bb['id'],'params':{'unitId':_0x2eedf,'subUnitId':_0x3a545a['targetCellInfo'][_0x20250f(0x19f)],'pivotTableId':_0x3a545a[_0x20250f(0x80)],'targetCellPosition':{'row':_0x3a545a[_0x20250f(0x282)][_0x20250f(0x178)],'col':_0x3a545a[_0x20250f(0x282)][_0x20250f(0x320)]}}}],_0x18b73a=[{'id':_0x2730bb['id'],'params':{'unitId':_0x2eedf,'subUnitId':_0x431457,'pivotTableId':_0x3a545a[_0x20250f(0x80)],'targetCellPosition':{'row':_0xac7991['targetCellInfo'][_0x20250f(0x178)],'col':_0xac7991[_0x20250f(0x282)]['col']}}}];return _0x2be92f[_0x20250f(0x195)](_0xbe6f82,_0x12f7c4)&&_0x411563[_0x20250f(0x1f6)]({'unitID':_0x2eedf,'undoMutations':_0x18b73a,'redoMutations':_0xbe6f82}),!0x0;}},_0x3c9190={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x90),async 'handler'(_0x42dd38,_0x26e313){const _0x2606e5=_0x5b4c6d;if(!_0x26e313)return!0x1;const _0x378543=_0x42dd38[_0x2606e5(0x177)](_0x2be92f[_0x2606e5(0x109)]),{pivotTableId:_0x387dbf,fieldId:_0xb2d57f,valueFilterInfo:_0xd13ab9,unitId:_0x5b0201,subUnitId:_0x1a776e}=_0x26e313,_0x4b7600=_0x42dd38[_0x2606e5(0x177)](_0x3acc27['SheetsPivotRPCService']),_0x2d6d94=_0x42dd38[_0x2606e5(0x177)](_0x2be92f[_0x2606e5(0x356)]),_0x3895ae=(await _0x4b7600[_0x2606e5(0xfa)]({'unitId':_0x5b0201,'subUnitId':_0x1a776e,'pivotTableId':_0x387dbf,'params':{'type':_0x357f41[_0x2606e5(0xbc)],'setValuePivotFilter':{'tableFieldId':_0xb2d57f,'filterInfo':_0xd13ab9}}}))[_0x2606e5(0x29f)]['setValuePivotFilter'];if(!_0x3895ae)return!0x1;const {changesets:_0x33c30d,pivotTableConfig:_0x375955,isEmpty:_0x55b836,view:_0x5547be}=_0x3895ae,_0x352126=_0x375955[_0x2606e5(0x282)],_0x340aa9=new _0x949178['PivotView']();_0x340aa9[_0x2606e5(0x106)](_0x5547be);const _0x391262={'cellInfo':_0x352126,'view':_0x340aa9,'isEmpty':_0x55b836};if(!await _0x42dd38[_0x2606e5(0x177)](_0x3acc27[_0x2606e5(0xe0)])['asyncInterceptor'][_0x2606e5(0x23b)](_0x26e2dc)(!0x0,_0x391262))return!0x1;const _0x4c5bee=_0x29e760(_0x42dd38,_0x340aa9,_0x352126,_0x55b836),_0x2c94a7=_0x169f26(_0x42dd38,_0x391262),{undos:_0x5e9fcf,redos:_0xe8e736}=_0x54af12(_0x378543,{'pivotTableId':_0x387dbf,'unitId':_0x5b0201,'subUnitId':_0x1a776e},_0x33c30d);return _0x2be92f[_0x2606e5(0x195)]([..._0x4c5bee[_0x2606e5(0x333)],..._0x2c94a7['redos'],..._0xe8e736],_0x378543),_0x2d6d94[_0x2606e5(0x1f6)]({'unitID':_0x5b0201,'redoMutations':[..._0x4c5bee['redos'],..._0x2c94a7[_0x2606e5(0x333)],..._0xe8e736],'undoMutations':[..._0x4c5bee[_0x2606e5(0x187)],..._0x2c94a7[_0x2606e5(0x187)],..._0x5e9fcf]}),!0x0;}},_0x2121c9={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x124),async 'handler'(_0x396595,_0x11051e){const _0x471a56=_0x5b4c6d;if(!_0x11051e)return!0x1;const _0x561a49=_0x396595[_0x471a56(0x177)](_0x2be92f[_0x471a56(0x109)]),_0x4a72b5=_0x396595[_0x471a56(0x177)](_0x2be92f[_0x471a56(0x356)]),_0x165183=_0x396595[_0x471a56(0x177)](_0x3acc27[_0x471a56(0x2c3)]),{pivotTableConfig:_0x2849af,pivotTableId:_0xabb285,unitId:_0xd63bd6,subUnitId:_0x43d7c0}=_0x11051e,_0x3ddc70=(await _0x165183[_0x471a56(0xfa)]({'unitId':_0xd63bd6,'subUnitId':_0x43d7c0,'pivotTableId':_0xabb285,'params':{'type':_0x357f41[_0x471a56(0x1d9)],'setPivotTableConfig':{'pivotTableId':_0xabb285,'pivotTableConfig':_0x2849af}}}))[_0x471a56(0x29f)][_0x471a56(0xe8)];if(!_0x3ddc70)return!0x1;const {changesets:_0x1648dd}=_0x3ddc70,{redos:_0x1f4984,undos:_0x5233ca}=_0x54af12(_0x561a49,{'pivotTableId':_0xabb285,'unitId':_0xd63bd6,'subUnitId':_0x43d7c0},_0x1648dd);return _0x2be92f['sequenceExecute'](_0x1f4984,_0x561a49),_0x4a72b5[_0x471a56(0x1f6)]({'unitID':_0xd63bd6,'redoMutations':_0x1f4984,'undoMutations':_0x5233ca}),!0x0;}},_0x102e7b={'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x375)],'id':_0x5b4c6d(0x2a0),async 'handler'(_0x1e1a5f,_0x59a88d){const _0x352884=_0x5b4c6d;if(!_0x59a88d)return!0x1;const _0x229260=_0x1e1a5f[_0x352884(0x177)](_0x2be92f[_0x352884(0x109)]),_0x37acc3=_0x1e1a5f['get'](_0x2be92f[_0x352884(0x356)]),_0x512ecd=_0x1e1a5f[_0x352884(0x177)](_0x3acc27[_0x352884(0x2c3)]),{resetArea:_0x172ba6,pivotTableId:_0x10cd8e,unitId:_0x199e5b,subUnitId:_0x216a24}=_0x59a88d,_0x376e2e=(await _0x512ecd[_0x352884(0xfa)]({'unitId':_0x199e5b,'subUnitId':_0x216a24,'pivotTableId':_0x10cd8e,'params':{'type':_0x357f41['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x10cd8e,'resetArea':_0x172ba6}}}))[_0x352884(0x29f)]['resetPivotTable'];if(!_0x376e2e)return!0x1;const {changesets:_0x6d6e07}=_0x376e2e,{redos:_0x3467c5,undos:_0x2a659c}=_0x54af12(_0x229260,{'pivotTableId':_0x10cd8e,'unitId':_0x199e5b,'subUnitId':_0x216a24},_0x6d6e07);return _0x2be92f[_0x352884(0x195)](_0x3467c5,_0x229260),_0x37acc3['pushUndoRedo']({'unitID':_0x199e5b,'redoMutations':_0x3467c5,'undoMutations':_0x2a659c}),!0x0;}},_0x51e908={'id':_0x5b4c6d(0xd5),'type':_0x2be92f[_0x5b4c6d(0x2b3)][_0x5b4c6d(0x179)],'handler':(_0x5c7e89,_0x8af8ee)=>{const _0x11866d=_0x5b4c6d;if(!_0x8af8ee)return!0x1;if(!!_0x5c7e89['get'](_0x2be92f[_0x11866d(0x27f)])[_0x11866d(0x340)](_0x47449f))return!0x0;const {unitId:_0x5142d7,subUnitId:_0x3aa368,pivotTableId:_0x453bea,tableFieldId:_0x6c0a56,dateType:_0x302d8b}=_0x8af8ee,_0x37221c=_0x5c7e89[_0x11866d(0x177)](_0x3acc27[_0x11866d(0x144)]),_0x3f38bd=_0x37221c[_0x11866d(0x1c4)](_0x453bea);if(!_0x3f38bd)return!0x1;const _0x3ab350=_0x3f38bd[_0x11866d(0x72)](_0x6c0a56);if(!_0x3ab350)return!0x1;const _0x1218b0=_0x3ab350[_0x11866d(0x125)](),_0xa3995e=_0x3f38bd[_0x11866d(0x1e5)](_0x1218b0),_0x45086d=(_0xa3995e==null?void 0x0:_0xa3995e[_0x11866d(0x136)]())+'\x20'+_0x561cfe(_0x5c7e89,_0x302d8b);_0x37221c[_0x11866d(0x28c)](_0x5142d7,_0x453bea)[_0x11866d(0x2c4)](_0x3ab350['id'],_0x45086d);const _0x48c7c1=_0x3f38bd[_0x11866d(0x1fe)](_0x6c0a56);if(!_0x48c7c1)return!0x1;_0x3f38bd[_0x11866d(0x139)](_0x48c7c1['getId'](),_0x45086d),_0x3ab350[_0x11866d(0x22a)](_0x302d8b);const _0x3dafde=_0x37221c[_0x11866d(0x290)](_0x5142d7,_0x3aa368,_0x453bea);return _0x37221c[_0x11866d(0x370)]({'unitId':_0x5142d7,'subUnitId':_0x3aa368,'token':_0x453bea,'type':_0x1bbb8c[_0x11866d(0x261)],'pivotConfig':_0x3dafde}),!0x0;}},_0x4455f2={'id':_0x5b4c6d(0x2e8),'type':_0x2be92f[_0x5b4c6d(0x2b3)]['COMMAND'],'handler':(_0x2388f6,_0x584b11)=>{const _0x5c8f18=_0x5b4c6d;if(!_0x584b11)return!0x1;const _0x3aa5e9=_0x2388f6['get'](_0x2be92f[_0x5c8f18(0x356)]),{unitId:_0x233f2f,subUnitId:_0x489f1a,pivotTableId:_0x39d3a8,tableFieldId:_0x1a21db}=_0x584b11,_0x2ab528=[],_0x1e4a64=[],_0x10db7f=_0x2388f6[_0x5c8f18(0x177)](_0x3acc27[_0x5c8f18(0x216)]),_0xffd003=_0x10db7f[_0x5c8f18(0x28c)](_0x233f2f,_0x39d3a8),_0x483a1d=_0x10db7f['getPivotTableConfig'](_0x233f2f,_0x489f1a,_0x39d3a8);if(!(_0x483a1d!=null&&_0x483a1d['fieldsConfig'][_0x5c8f18(0x283)]))return!0x1;const _0x12a91f=Object[_0x5c8f18(0x15f)](_0x483a1d[_0x5c8f18(0x389)][_0x5c8f18(0x283)])[_0x5c8f18(0xa9)](_0x155bbf=>_0x155bbf['id']===_0x1a21db);if(!_0x12a91f)return!0x1;const _0xc0b003=_0x12a91f['dataFieldId'];if(!(_0xffd003!=null&&_0xffd003[_0x5c8f18(0x1e1)]))return!0x1;const _0x10c74e=Object[_0x5c8f18(0x15f)](_0xffd003==null?void 0x0:_0xffd003['fields'])[_0x5c8f18(0xa9)](_0x49a4e6=>_0x49a4e6['id']===_0xc0b003);if(!_0x10c74e)return!0x1;_0x949178[_0x5c8f18(0x32e)](_0x10c74e)&&_0x2ab528[_0x5c8f18(0x1cc)]({'id':_0x51e908['id'],'params':{..._0x584b11,'dateType':_0x10c74e[_0x5c8f18(0x319)]}}),_0x1e4a64[_0x5c8f18(0x1cc)]({'id':_0x51e908['id'],'params':{..._0x584b11}});const _0x507bd9=_0x2388f6[_0x5c8f18(0x177)](_0x2be92f[_0x5c8f18(0x109)]);return _0x2be92f[_0x5c8f18(0x195)](_0x1e4a64,_0x507bd9)&&_0x3aa5e9[_0x5c8f18(0x1f6)]({'unitID':_0x233f2f,'undoMutations':_0x2ab528,'redoMutations':_0x1e4a64}),!0x0;}};var _0x5718de=Object[_0x5b4c6d(0x2f4)],_0x1d0353=(_0xa6792e,_0x338f51,_0x837842,_0x2a2a6e)=>{const _0x50336f=_0x5b4c6d;for(var _0x15f51=_0x2a2a6e>0x1?void 0x0:_0x2a2a6e?_0x5718de(_0x338f51,_0x837842):_0x338f51,_0x40a24d=_0xa6792e[_0x50336f(0xad)]-0x1,_0x22a08d;_0x40a24d>=0x0;_0x40a24d--)(_0x22a08d=_0xa6792e[_0x40a24d])&&(_0x15f51=_0x22a08d(_0x15f51)||_0x15f51);return _0x15f51;},_0x4ea4bc=(_0x3ae0fb,_0x1e5735)=>(_0x268332,_0x5af0d8)=>_0x1e5735(_0x268332,_0x5af0d8,_0x3ae0fb);const _0x330b95=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x9024f1=(_0x2bd0cb,_0x58449a,_0xae4641)=>{const _0x24ba4e=_0x5b4c6d,_0x5203d0=_0x2bd0cb[_0x24ba4e(0x1e6)];_0x2bd0cb[_0x24ba4e(0x2e7)](_0x2b1bd8=>{const _0x295a32=_0x24ba4e,_0x277cbe=_0x2b1bd8[_0x295a32(0x13b)](),_0x2305bf=_0x2b1bd8['getDataFieldId'](),_0x1c8bc5=_0x2b1bd8[_0x295a32(0x384)](),_0x28c712=_0x2b1bd8[_0x295a32(0x220)]();_0x58449a[_0x2305bf]&&_0x58449a[_0x2305bf]===_0x28c712&&_0x1c8bc5===_0x28c712&&(_0x2bd0cb[_0x295a32(0x139)](_0x277cbe,_0x5203d0['getDisplayName'](_0x2305bf)),_0x2b1bd8[_0x295a32(0x2d9)](_0x5203d0[_0x295a32(0x220)](_0x2305bf)));}),_0x2bd0cb[_0x24ba4e(0x10b)](_0x949178[_0x24ba4e(0x11a)][_0x24ba4e(0x105)],_0x21e669=>{const _0x343876=_0x24ba4e,_0x524114=_0x21e669[_0x343876(0x13b)](),_0x16c790=_0x21e669[_0x343876(0x13c)](),_0x5ac087=_0x21e669['getSourceName'](),_0x262f8a=_0x21e669['getDisplayName'](),_0x72df52=_0x21e669[_0x343876(0x363)](),_0x168254=_0xae4641(_0x5ac087,_0x72df52);_0x58449a[_0x16c790]&&_0x58449a[_0x16c790]===_0x5ac087&&_0x168254===_0x262f8a&&(_0x2bd0cb['renameField'](_0x524114,_0xae4641(_0x5203d0[_0x343876(0x220)](_0x16c790),_0x72df52)),_0x21e669[_0x343876(0x2d9)](_0x5203d0['getDisplayName'](_0x16c790)));});},_0x53fc9b=(_0x4444e0,_0x254854,_0x37c31d)=>{const _0x236e24=_0x5b4c6d;var _0x4ae3d3,_0x56ac40;const {arrayFormulaCellData:_0x22de36,unitData:_0x4d4ec1}=_0x254854,{unitId:_0x46b052,subUnitId:_0x179224}=_0x37c31d,_0x1cea94=_0x37c31d[_0x236e24(0x26e)],{startColumn:_0x3eb498,endColumn:_0x559176}=_0x1cea94,_0x3f8646=(_0x4ae3d3=_0x22de36==null?void 0x0:_0x22de36[_0x46b052])==null?void 0x0:_0x4ae3d3[_0x179224],_0x4960b6=(_0x56ac40=_0x4d4ec1==null?void 0x0:_0x4d4ec1[_0x46b052])==null?void 0x0:_0x56ac40[_0x179224],_0x330645=new Set(),_0x3ab745=_0x559176-_0x3eb498+0x1,{dirtyRanges:_0x3539ec}=_0x4444e0;if(_0x3539ec)for(const {range:_0x74dda8,sheetId:_0x240b6f,unitId:_0x5cf827}of _0x3539ec){if(_0x240b6f!==_0x179224||_0x46b052!==_0x5cf827)continue;const _0x2abf00=_0x2be92f['Rectangle'][_0x236e24(0x207)](_0x74dda8,_0x1cea94);if(_0x2abf00){const {startColumn:_0x36980a,endColumn:_0x4edf5f}=_0x2abf00;for(let _0x33aa4e=_0x36980a;_0x33aa4e<=_0x4edf5f;_0x33aa4e++)_0x330645['add'](_0x33aa4e);}}if(_0x330645['size']===_0x3ab745||_0x330645[_0x236e24(0x18c)]===_0x3ab745)return Array[_0x236e24(0x1dd)](_0x330645);if(_0x4960b6){const _0x586d88=_0x4960b6[_0x236e24(0x270)](),_0x686c79=Object[_0x236e24(0x102)](_0x586d88);for(const _0x5ce663 of _0x686c79){const _0x503b3c=Number(_0x5ce663),_0x28ae35=_0x586d88[_0x503b3c];if(_0x330645[_0x236e24(0x18c)]===_0x3ab745)break;for(const _0x400671 in _0x28ae35){const _0x50de19=Number(_0x400671);_0x50de19<_0x3eb498||_0x50de19>_0x559176||_0x330645[_0x236e24(0xe3)](_0x50de19);}}}if(_0x3f8646){const _0x367260=_0x3f8646[_0x236e24(0x270)](),_0x497697=Object['keys'](_0x367260);for(const _0x59d125 of _0x497697){const _0x2d1501=Number(_0x59d125),_0x12ccee=_0x367260[_0x2d1501];if(_0x330645['size']===_0x3ab745)break;for(const _0x561c39 in _0x12ccee){const _0x2238c9=Number(_0x561c39);_0x2238c9<_0x3eb498||_0x2238c9>_0x559176||_0x330645['add'](_0x2238c9);}}}return Array['from'](_0x330645);},_0xdc4e05=_0x5d0219=>{const _0x24fe25=_0x5b4c6d,_0x3dc2cb=new Set(),_0x303793=[];for(const _0x432bb3 of _0x5d0219){const _0x4883d4=_0x432bb3[_0x24fe25(0xee)]+','+_0x432bb3[_0x24fe25(0x87)]+','+_0x432bb3['startColumn']+','+_0x432bb3[_0x24fe25(0x249)];_0x3dc2cb[_0x24fe25(0x208)](_0x4883d4)||(_0x3dc2cb[_0x24fe25(0xe3)](_0x4883d4),_0x303793['push'](_0x432bb3));}return _0x303793;};let _0x218320=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x2df6e7,_0x52b7cc,_0x71eae0,_0x2b7034,_0x1451e1,_0x582592){const _0x3b898b=_0x5b4c6d;super(),_0x102d83(this,'_globalSubject',new _0x639aa['BehaviorSubject'](!0x0)),_0x102d83(this,_0x3b898b(0x7f),_0x356fb6=>{const _0x2324ef=_0x3b898b;this[_0x2324ef(0x20c)][_0x2324ef(0x19b)](!0x1);}),_0x102d83(this,_0x3b898b(0x386),_0x2ae42c=>{const _0x6b22aa=_0x3b898b;this[_0x6b22aa(0x20c)][_0x6b22aa(0x19b)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2df6e7,this[_0x3b898b(0x1d3)]=_0x52b7cc,this[_0x3b898b(0xa2)]=_0x71eae0,this[_0x3b898b(0x2c6)]=_0x2b7034,this['_globalComputingSrv']=_0x1451e1,this[_0x3b898b(0x214)]=_0x582592,this['_init'](),this[_0x3b898b(0x32b)]());}['_init'](){const _0x1debc4=_0x5b4c6d;this[_0x1debc4(0x1a7)](),this[_0x1debc4(0x26c)](),this[_0x1debc4(0x210)](),this[_0x1debc4(0x19a)]();}[_0x5b4c6d(0x2fc)](){const _0x26e28b=_0x5b4c6d;this['_globalComputingSrv'][_0x26e28b(0x180)](this[_0x26e28b(0x20c)]),_0x949178[_0x26e28b(0xcd)][_0x26e28b(0x9d)](_0x949178[_0x26e28b(0x193)][_0x26e28b(0x256)],this[_0x26e28b(0x7f)]),_0x949178[_0x26e28b(0xcd)]['registerCallbackWithEvent'](_0x949178[_0x26e28b(0x193)][_0x26e28b(0xaa)],this['_globalComputedEndHelpFunc']);}[_0x5b4c6d(0x32b)](){const _0x1ad565=_0x5b4c6d;this[_0x1ad565(0x20b)](this[_0x1ad565(0x2c6)][_0x1ad565(0xcc)](_0x484d5c=>{const _0x55c433=_0x1ad565;_0x484d5c['id']===_0xac1e83['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x55c433(0xb9)](_0x484d5c[_0x55c433(0x2ce)]);})),this['disposeWithMe'](this[_0x1ad565(0x2c6)][_0x1ad565(0xcc)](_0x387801=>{const _0x48eb9e=_0x1ad565;if(_0x387801['id']!==_0x2ef776['id'])return;const _0x2193fb=_0x387801[_0x48eb9e(0x2ce)],{unitId:_0x258a39,subUnitId:_0xe7a154,pivotTableId:_0x104884}=_0x2193fb,_0x409784=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x2b6)],_0xbbad19={};switch(_0x409784){case _0x357f41[_0x48eb9e(0x12e)]:{const _0x4b9cfb=_0x2193fb['params'][_0x48eb9e(0x135)];if(!_0x4b9cfb)return;const {row:_0x449aaf,col:_0x12d4e6,cellData:_0x3626e5,pivotItemRenderInfoCache:_0x26b010,tableFieldId:_0x102600}=_0x4b9cfb,_0x162a40=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x2193fb[_0x48eb9e(0x80)]);if(!_0x162a40||!_0x26b010)return;if(_0x102600){const _0x5d309d=_0x162a40['getDataFieldByTableId'](_0x102600);if(!_0x5d309d)return;_0xbbad19['filter']={..._0x162a40[_0x48eb9e(0x32d)](_0x5d309d),'tableFieldId':_0x102600,'pivotTableId':_0x2193fb[_0x48eb9e(0x80)],'filterInfo':_0x162a40[_0x48eb9e(0x142)](_0x102600),'sortInfo':_0x162a40[_0x48eb9e(0x346)](_0x102600),'format':_0x162a40[_0x48eb9e(0x2fe)](_0x102600)};}else{const _0x15f1f5=_0x2b3cd3(_0x449aaf,_0x12d4e6,_0x3626e5,_0x162a40,_0x26b010),_0x479fd3=_0x15f1f5==null?void 0x0:_0x15f1f5[_0x48eb9e(0x1c2)];if(!_0x479fd3)return;const _0x20537c=_0x162a40[_0x48eb9e(0x72)](_0x479fd3);if(!_0x20537c)return;_0xbbad19[_0x48eb9e(0x135)]={..._0x162a40[_0x48eb9e(0x32d)](_0x20537c),'tableFieldId':_0x479fd3,'pivotTableId':_0x2193fb[_0x48eb9e(0x80)],'filterInfo':_0x162a40['getFilterInfo'](_0x479fd3),'sortInfo':_0x162a40[_0x48eb9e(0x346)](_0x479fd3),'format':_0x162a40['getFieldFormat'](_0x479fd3)};}}break;case _0x357f41[_0x48eb9e(0x10c)]:{const _0x485734=_0x2193fb[_0x48eb9e(0x2ce)]['panel'];if(!_0x485734)return;const {pivotTableId:_0x15a945}=_0x485734,_0xd10c52=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x15a945);if(!_0xd10c52)return;const _0x1bfe10=this[_0x48eb9e(0xa6)]['getPivotTableConfig'](_0x258a39,_0xe7a154,_0x15a945),_0x39f916=_0xc6cc36(_0xd10c52,_0x15a945,_0x1bfe10);_0xbbad19['panel']=_0x39f916;}break;case _0x357f41[_0x48eb9e(0x36f)]:{const _0x22fa75=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884),_0x48a8ed=this[_0x48eb9e(0xa6)][_0x48eb9e(0x2c2)](_0x258a39),_0x53f634=_0x48a8ed[_0x48eb9e(0x28c)](_0x104884);let _0x123d71=null;const _0x5744f1=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884),_0x3f1024=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x30d)];if(!_0x22fa75||!_0x5744f1||!_0x3f1024)return!0x1;const {dataFieldId:_0x34ab30,fieldArea:_0x17c840,index:_0x2640c5}=_0x3f1024;_0x22fa75[_0x48eb9e(0x260)]();const _0x3f678a=_0x22fa75[_0x48eb9e(0x185)](_0x34ab30,_0x17c840,_0x2640c5);if(_0x3f678a&&_0x17c840===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x105)]){const _0x25c044=_0x3f678a[_0x48eb9e(0x13b)](),_0x3cd99d=_0x22fa75['getDataFieldByTableId'](_0x25c044);if(_0x3cd99d){const _0x3140ac=_0x3cd99d==null?void 0x0:_0x3cd99d[_0x48eb9e(0x24b)]();_0x22fa75['setSubtotalType'](_0x3f678a[_0x48eb9e(0x13b)](),_0x3140ac===_0x949178[_0x48eb9e(0x369)][_0x48eb9e(0x1b7)]?_0x949178[_0x48eb9e(0x34e)][_0x48eb9e(0x358)]:_0x949178[_0x48eb9e(0x34e)]['count']);}const _0x223551=_0x22fa75[_0x48eb9e(0x16d)](),_0x328627=_0x22fa75[_0x48eb9e(0x156)](),_0xff262e=_0x22fa75['getFieldCountByArea'](_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x105)]);if(_0x223551===-0x1&&_0xff262e>0x1){const _0xce33c5=_0x328627===_0x949178['PivotTableValuePositionEnum']['None']?_0x949178[_0x48eb9e(0x299)]['Column']:_0x328627,_0x4e148a=_0xce33c5===_0x949178[_0x48eb9e(0x299)][_0x48eb9e(0x2bc)]?_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x2bc)]:_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x16e)];_0x22fa75[_0x48eb9e(0x1a9)](_0xce33c5,_0x22fa75[_0x48eb9e(0x25f)](_0x4e148a));}}else{if(_0x3f678a&&(_0x17c840===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x2bc)]||_0x17c840===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x16e)])){const _0x3f6f19=_0x3f678a['getId'](),_0x3a05d6=_0x22fa75[_0x48eb9e(0x72)](_0x3f6f19);if(_0x3a05d6&&(_0x3a05d6==null?void 0x0:_0x3a05d6[_0x48eb9e(0x24b)]())===_0x949178[_0x48eb9e(0x369)][_0x48eb9e(0x1da)]){const _0x1db8bb=_0x3a05d6[_0x48eb9e(0x1a4)]();if(_0x1db8bb&&_0x22fa75[_0x48eb9e(0x197)](_0x3f678a['getId'](),_0x1db8bb),!_0x53f634[_0x48eb9e(0x225)]()[_0x48eb9e(0x20d)](_0x731c1a=>{const _0x1cd9fd=_0x48eb9e,_0x4dd751=_0x53f634[_0x1cd9fd(0x181)](_0x731c1a);return _0x949178[_0x1cd9fd(0x334)](_0x4dd751)?_0x4dd751[_0x1cd9fd(0x2f9)]()[_0x1cd9fd(0x19e)]===_0x34ab30:!0x1;})){const _0x508ee7=_0x48a8ed[_0x48eb9e(0x31c)](),_0x253b96=_0x4f34b6(_0x3a05d6[_0x48eb9e(0x8c)],_0x3a05d6[_0x48eb9e(0xa1)]),_0x86d4ff=_0x3a05d6[_0x48eb9e(0x136)]()+_0x48eb9e(0xa8)+_0x561cfe(this[_0x48eb9e(0x214)],_0x253b96),_0x3cc5ea=new _0x949178[(_0x48eb9e(0x257))](_0x508ee7,_0x86d4ff,_0x949178['generateHexNumber'](0x3),_0x3a05d6[_0x48eb9e(0x13b)](),_0x253b96);_0x48a8ed['addDataFieldWithoutUnitInfo'](_0x3cc5ea),_0x53f634[_0x48eb9e(0x2da)](_0x508ee7,_0x86d4ff),_0x22fa75[_0x48eb9e(0x185)](_0x508ee7,_0x17c840,(_0x2640c5!=null?_0x2640c5:0x0)+0x1),_0x123d71=_0x3cc5ea;}}}}const _0xbe5539=_0x22fa75['isEmpty'](),_0xd818d0=_0x22fa75[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)]();let _0x2065db;if(_0x123d71){_0x2065db=_0x123d71[_0x48eb9e(0x120)]();const _0x32ab84=_0x123d71[_0x48eb9e(0x13b)]();_0x53f634['deleteField'](_0x32ab84);let _0xb399f4=!0x0;for(const _0x870a1d in _0x48a8ed['collections'])if(_0x48a8ed[_0x48eb9e(0x307)][_0x870a1d][_0x48eb9e(0x225)]()[_0x48eb9e(0x209)](_0x32ab84)){_0xb399f4=!0x1;break;}_0xb399f4&&_0x48a8ed[_0x48eb9e(0x1de)](_0x32ab84);}const _0x5e31e7=_0x22fa75['endCollectChangeset']();_0xbbad19['addPivotField']={'view':_0xd818d0,'changesets':_0x5e31e7,'isEmpty':_0xbe5539,'pivotTableConfig':_0x5744f1,'shouldBeAddedGroupJSON':_0x2065db};}break;case _0x357f41[_0x48eb9e(0x262)]:{const _0x4b1a3a=_0x2193fb['params'][_0x48eb9e(0x302)];if(!_0x4b1a3a)return;const _0x2392ee=_0x4b1a3a[_0x48eb9e(0x1fb)],_0xe85eb3=_0x4b1a3a[_0x48eb9e(0x80)],{collection:_0x4fa882}=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1a6)]({'unitId':_0x2392ee['unitId'],'sheetName':_0x2392ee[_0x48eb9e(0x143)],'subUnitId':_0x2392ee['subUnitId'],'range':_0x2392ee[_0x48eb9e(0x26e)]}),_0x276483=new _0x949178[(_0x48eb9e(0xcd))](_0x4fa882,void 0x0,_0xe85eb3),_0x234383=_0x276483[_0x48eb9e(0x1f3)](),_0x2fea45=_0x276483[_0x48eb9e(0x120)](),_0x45441d=_0x4fa882[_0x48eb9e(0x120)]();_0xbbad19[_0x48eb9e(0x302)]={'view':_0x234383,'fieldsConfig':_0x2fea45,'collectionConfig':_0x45441d,'isEmpty':_0x276483[_0x48eb9e(0x121)]()};}break;case _0x357f41[_0x48eb9e(0x227)]:{const _0xb7506=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x101)];if(!_0xb7506)return;const {fieldId:_0x274a3a,area:_0x107923,index:_0x4a98e6}=_0xb7506,_0xc8a9c4=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0xc8a9c4)return;const _0x292828=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x104884);if(!_0x292828)return;_0x292828[_0x48eb9e(0x260)]();const {area:_0xd17cec,index:_0x12b8cc}=_0x292828[_0x48eb9e(0xae)](_0x274a3a);if(_0x292828[_0x48eb9e(0x21b)](_0x274a3a,_0x107923,_0x4a98e6),_0x107923===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x105)]&&_0x292828[_0x48eb9e(0x1fe)](_0x274a3a)['getSubtotal']()===void 0x0){const _0xd3f125=_0x292828[_0x48eb9e(0x1fe)](_0x274a3a);if(_0xd3f125&&_0xd3f125[_0x48eb9e(0x363)]()===void 0x0){const _0x5a2ede=_0x292828[_0x48eb9e(0x72)](_0x274a3a);if(_0x5a2ede){const _0xee36ca=_0x5a2ede==null?void 0x0:_0x5a2ede[_0x48eb9e(0x24b)]();_0x292828[_0x48eb9e(0x36c)](_0x274a3a,_0xee36ca===_0x949178[_0x48eb9e(0x369)][_0x48eb9e(0x1b7)]?_0x949178[_0x48eb9e(0x34e)]['sum']:_0x949178[_0x48eb9e(0x34e)][_0x48eb9e(0x32c)]);}}}const _0x8b5a3=_0x292828[_0x48eb9e(0x156)](),_0x3f8555=_0x292828[_0x48eb9e(0x16d)](),_0x44eaa2=_0x292828[_0x48eb9e(0x25f)](_0x949178[_0x48eb9e(0x11a)]['Value'])>0x1;if(_0x44eaa2&&_0xd17cec===_0x107923&&(_0x107923===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x2bc)]&&_0x8b5a3===_0x949178[_0x48eb9e(0x299)][_0x48eb9e(0x2bc)]||_0x107923===_0x949178['PivotTableFiledAreaEnum'][_0x48eb9e(0x16e)]&&_0x8b5a3===_0x949178['PivotTableValuePositionEnum'][_0x48eb9e(0x16e)])){let _0x276174=_0x3f8555;_0x12b8cc<=_0x3f8555&&_0x276174--,_0x4a98e6<=_0x3f8555&&_0x276174++,_0x292828[_0x48eb9e(0x1a9)](_0x8b5a3,_0x276174);}else _0x44eaa2&&(_0xd17cec===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x2bc)]&&_0x8b5a3===_0x949178[_0x48eb9e(0x299)][_0x48eb9e(0x2bc)]||_0xd17cec===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x16e)]&&_0x8b5a3===_0x949178['PivotTableValuePositionEnum']['Column'])&&_0x3f8555>=_0x12b8cc&&_0x292828[_0x48eb9e(0x1a9)](_0x8b5a3,_0x3f8555-0x1),_0x44eaa2&&(_0x107923===_0x949178['PivotTableFiledAreaEnum'][_0x48eb9e(0x2bc)]&&_0x8b5a3===_0x949178[_0x48eb9e(0x299)]['Row']||_0x107923===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x16e)]&&_0x8b5a3===_0x949178[_0x48eb9e(0x299)][_0x48eb9e(0x16e)])&&_0x3f8555>=_0x4a98e6&&_0x292828[_0x48eb9e(0x1a9)](_0x8b5a3,_0x3f8555+0x1);const _0x53c6b0=_0x292828['query'](),_0x22d6b1=_0x292828[_0x48eb9e(0x121)](),_0x2b43a8=_0x292828[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0x101)]={'view':_0x53c6b0[_0x48eb9e(0x120)](),'changesets':_0x2b43a8,'isEmpty':_0x22d6b1,'pivotTableConfig':_0xc8a9c4};}break;case _0x357f41[_0x48eb9e(0x301)]:{const _0x8470b2=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0xba)];if(!_0x8470b2)return;const _0x495c26=_0x8470b2[_0x48eb9e(0x7e)],_0x13ec54=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x13ec54)return!0x1;const _0x5e7ebe=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884);if(!_0x5e7ebe)return!0x1;_0x5e7ebe[_0x48eb9e(0x260)]();for(const _0xdd0a27 of _0x495c26){const {area:_0x17dfad}=_0x5e7ebe['getFieldPositionInfoById'](_0xdd0a27);_0x17dfad===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x105)]&&_0x5e7ebe['removeValueFilterInfoByValueFieldId'](_0xdd0a27),(_0x17dfad===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x2bc)]||_0x17dfad===_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x16e)])&&_0x5e7ebe[_0x48eb9e(0x29b)](_0xdd0a27),_0x5e7ebe[_0x48eb9e(0x2b1)](_0xdd0a27);}const _0x903bb5=_0x5e7ebe['isEmpty'](),_0x1b5ec7=_0x5e7ebe[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)](),_0x412d81=_0x5e7ebe[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0xba)]={'changesets':_0x412d81,'pivotTableConfig':_0x13ec54,'isEmpty':_0x903bb5,'view':_0x1b5ec7};}break;case _0x357f41[_0x48eb9e(0xde)]:{const _0x2facc4=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x29c)];if(!_0x2facc4)return;const {tableFieldId:_0x494fb3,items:_0x4b237b,isAll:_0x31cbf6}=_0x2facc4,_0x448b06=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x1c4)](_0x104884),_0x583d12=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x448b06||!_0x583d12)return;_0x448b06[_0x48eb9e(0x260)](),_0x448b06[_0x48eb9e(0x175)](_0x494fb3,{'type':_0x949178[_0x48eb9e(0x245)][_0x48eb9e(0x191)],'list':_0x4b237b,'isAll':_0x31cbf6});const _0x259faa=_0x448b06[_0x48eb9e(0x121)](),_0x2edaff=_0x448b06[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)](),_0xcd2044=_0x448b06[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0x29c)]={'view':_0x2edaff,'changesets':_0xcd2044,'isEmpty':_0x259faa,'pivotTableConfig':_0x583d12};}break;case _0x357f41[_0x48eb9e(0xbc)]:{const _0x2f2744=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0xec)];if(!_0x2f2744)return;const {tableFieldId:_0xb4a476,filterInfo:_0x58d1d9}=_0x2f2744,_0x5098b2=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884),_0xff03b1=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x5098b2||!_0xff03b1)return;_0x5098b2[_0x48eb9e(0x260)](),_0x5098b2['setValueFilterInfo'](_0xb4a476,_0x58d1d9);const _0x4003d2=_0x5098b2[_0x48eb9e(0x121)](),_0x8db04c=_0x5098b2['query']()[_0x48eb9e(0x120)](),_0x4270a0=_0x5098b2[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0xec)]={'view':_0x8db04c,'changesets':_0x4270a0,'isEmpty':_0x4003d2,'pivotTableConfig':_0xff03b1};}break;case _0x357f41[_0x48eb9e(0x213)]:{const _0xe36874=_0x2193fb[_0x48eb9e(0x2ce)]['setPivotSort'];if(!_0xe36874)return;const {tableFieldId:_0x1c281b,info:_0x5a4c6d}=_0xe36874,_0x51c40f=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884),_0x1fa52c=this[_0x48eb9e(0xa6)]['getPivotTableConfig'](_0x258a39,_0xe7a154,_0x104884);if(!_0x51c40f||!_0x1fa52c)return;_0x51c40f['startCollectChangeset'](),_0x51c40f[_0x48eb9e(0xdc)](_0x1c281b,_0x5a4c6d);const _0x31c2d8=_0x51c40f[_0x48eb9e(0x121)](),_0x111394=_0x51c40f['query']()['toJSON'](),_0x3e1e4c=_0x51c40f['endCollectChangeset']();_0xbbad19[_0x48eb9e(0x247)]={'view':_0x111394,'changesets':_0x3e1e4c,'isEmpty':_0x31c2d8,'pivotTableConfig':_0x1fa52c};}break;case _0x357f41[_0x48eb9e(0x381)]:{const _0x12d6dc=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0xce)];if(!_0x12d6dc)return;const {tableFieldId:_0x35b6ea,displayName:_0x2a34a4,subtotalType:_0x5133a4,format:_0x8f11e2}=_0x12d6dc,_0x233477=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x104884),_0x3f2882=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x233477||!_0x3f2882)return;_0x233477[_0x48eb9e(0x260)](),_0x2a34a4!==void 0x0&&_0x233477[_0x48eb9e(0x139)](_0x35b6ea,_0x2a34a4),_0x5133a4!==void 0x0&&_0x233477[_0x48eb9e(0x36c)](_0x35b6ea,_0x5133a4),_0x8f11e2!==void 0x0&&_0x233477[_0x48eb9e(0x197)](_0x35b6ea,_0x8f11e2);const _0xe312e4=_0x233477[_0x48eb9e(0x121)](),_0x3a5b6f=_0x233477[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)](),_0x1f01eb=_0x233477['endCollectChangeset']();_0xbbad19[_0x48eb9e(0xce)]={'changesets':_0x1f01eb,'pivotTableConfig':_0x3f2882,'isEmpty':_0xe312e4,'view':_0x3a5b6f};}break;case _0x357f41[_0x48eb9e(0x152)]:{const _0xa5b4a8=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x350)];if(!_0xa5b4a8)return;const {dataRangeInfo:_0x3a3e4e,unitId:_0x2e337d,subUnitId:_0x53b763}=_0xa5b4a8,_0x178a89=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x2e337d,_0x53b763,_0x104884),_0x113b3d=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884);if(!this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x28c)](_0x2e337d,_0x104884)||!_0x113b3d||!_0x178a89)return;const _0x3721b6=this[_0x48eb9e(0xa6)][_0x48eb9e(0x24d)](_0x2e337d,_0x104884,_0x3a3e4e),_0x484b78=this[_0x48eb9e(0xa6)]['getCollection'](_0x2e337d,_0x104884)[_0x48eb9e(0x120)](),{collection:_0x9e7a76}=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1a6)]({'unitId':_0x3a3e4e[_0x48eb9e(0x2d0)],'sheetName':_0x3a3e4e[_0x48eb9e(0x143)],'subUnitId':_0x3a3e4e[_0x48eb9e(0x19f)],'range':_0x3a3e4e[_0x48eb9e(0x26e)]}),_0x522a93=_0x9e7a76[_0x48eb9e(0x120)]();_0x113b3d[_0x48eb9e(0x260)]();const _0x3b9596=this[_0x48eb9e(0xa6)][_0x48eb9e(0x2c2)](_0x2e337d)[_0x48eb9e(0x189)]()||_0x949178[_0x48eb9e(0x18b)];_0x113b3d[_0x48eb9e(0x2d5)](_0xc2dfce=>{const _0x104dc7=_0x48eb9e,_0x5f03b9=_0xc2dfce['getDataFieldId']();if(!_0x9e7a76[_0x104dc7(0x12f)](_0x5f03b9)){const _0x1f06ce=_0x9e7a76[_0x104dc7(0x1d0)](_0xc2dfce[_0x104dc7(0x384)]());if(_0x1f06ce){_0x113b3d['updateFieldSourceInfo'](_0xc2dfce[_0x104dc7(0x13b)](),_0x1f06ce['getName'](),_0x1f06ce[_0x104dc7(0x13b)]());const {area:_0x4346a3}=_0x113b3d[_0x104dc7(0xae)](_0xc2dfce[_0x104dc7(0x13b)]());let _0x2baae0=_0xc2dfce[_0x104dc7(0x384)]();const _0x357e20=_0xc2dfce['getDisplayName']();if(_0x4346a3===_0x949178[_0x104dc7(0x11a)][_0x104dc7(0x105)]){const _0x2553da=_0xc2dfce['getSubtotal']();_0x2baae0=_0x3b9596(_0x1f06ce[_0x104dc7(0x136)](),_0x2553da);}_0x357e20!==_0x2baae0&&_0x113b3d[_0x104dc7(0x139)](_0xc2dfce[_0x104dc7(0x13b)](),_0x2baae0);}else _0x113b3d['removeField'](_0xc2dfce[_0x104dc7(0x13b)]());}});const _0x1a3be4=_0x113b3d[_0x48eb9e(0x121)](),_0x263b54=_0x113b3d[_0x48eb9e(0x1f3)]()['toJSON'](),_0x15a82e=_0x113b3d[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0x350)]={'view':_0x263b54,'changesets':_0x15a82e,'isEmpty':_0x1a3be4,'pivotTableConfig':_0x178a89,'collectionConfig':_0x522a93,'oldCollectionConfig':_0x484b78,'deleteIds':_0x3721b6};}break;case _0x357f41[_0x48eb9e(0xfe)]:{const _0x2215cd=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x1a9)];if(!_0x2215cd)return;const {position:_0x2b9a7b,index:_0x5a109e}=_0x2215cd,_0x515cd4=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x515cd4)return!0x1;const _0xdb3c0f=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884);if(!_0xdb3c0f)return!0x1;_0xdb3c0f[_0x48eb9e(0x260)](),_0xdb3c0f[_0x48eb9e(0x1a9)](_0x2b9a7b,_0x5a109e);const _0x27a99f=_0xdb3c0f[_0x48eb9e(0x121)](),_0x5384fe=_0xdb3c0f['query']()[_0x48eb9e(0x120)](),_0x8559cd=_0xdb3c0f[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0x1a9)]={'changesets':_0x8559cd,'pivotTableConfig':_0x515cd4,'isEmpty':_0x27a99f,'view':_0x5384fe};}break;case _0x357f41[_0x48eb9e(0x2d7)]:{const _0x36f3d7=_0x2193fb[_0x48eb9e(0x2ce)]['setPivotCollapse'];if(!_0x36f3d7)return;const {tableFieldId:_0x4dca29,collapse:_0x47fdcc,item:_0x4eff67}=_0x36f3d7,_0xdd09e3=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884),_0x35afa8=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0xdd09e3||!_0x35afa8)return;_0xdd09e3['startCollectChangeset'](),_0xdd09e3[_0x48eb9e(0x30a)](_0x4dca29,_0x47fdcc,_0x4eff67);const _0xcd2389=_0xdd09e3[_0x48eb9e(0x121)](),_0x29dcd9=_0xdd09e3[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)](),_0xe3f896=_0xdd09e3['endCollectChangeset']();_0xbbad19['setPivotCollapse']={'view':_0x29dcd9,'isEmpty':_0xcd2389,'pivotTableConfig':_0x35afa8,'changesets':_0xe3f896};}break;case _0x357f41['SetPivotTableConfig']:{const _0x36001c=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0xe8)];if(!_0x36001c)return;const {pivotTableConfig:_0x59212a}=_0x36001c,_0x414cdb=this[_0x48eb9e(0xa6)][_0x48eb9e(0x1c4)](_0x104884),_0x5500c7=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x414cdb||!_0x5500c7)return;_0x414cdb['startCollectChangeset'](),_0x4bbd9a(_0x414cdb,_0x59212a);const _0xa65ac2=_0x414cdb[_0x48eb9e(0x121)](),_0x2d4a5b=_0x414cdb['query']()['toJSON'](),_0x126cb4=_0x414cdb[_0x48eb9e(0x228)]();_0xbbad19[_0x48eb9e(0xe8)]={'view':_0x2d4a5b,'isEmpty':_0xa65ac2,'pivotTableConfig':{..._0x5500c7,'fieldsConfig':_0x414cdb[_0x48eb9e(0x120)]()},'changesets':_0x126cb4};}break;case _0x357f41[_0x48eb9e(0x133)]:{const _0x30ba5a=_0x2193fb[_0x48eb9e(0x2ce)][_0x48eb9e(0x341)];if(!_0x30ba5a)return;const _0x28c1bc=this[_0x48eb9e(0xa6)]['getPivotTableInstance'](_0x104884),_0x34a65c=this[_0x48eb9e(0xa6)][_0x48eb9e(0x290)](_0x258a39,_0xe7a154,_0x104884);if(!_0x28c1bc||!_0x34a65c)return;_0x28c1bc[_0x48eb9e(0x260)](),_0x30779a(_0x28c1bc,_0x30ba5a['resetArea']);const _0x57758d=_0x28c1bc[_0x48eb9e(0x1f3)]()[_0x48eb9e(0x120)](),_0x4ef834=_0x28c1bc['endCollectChangeset']();_0xbbad19[_0x48eb9e(0x341)]={'view':_0x57758d,'isEmpty':!0x0,'pivotTableConfig':{..._0x34a65c,'fieldsConfig':_0x28c1bc['toJSON']()},'changesets':_0x4ef834};}break;case _0x357f41[_0x48eb9e(0x2ad)]:{const _0x4b926d=_0x2193fb[_0x48eb9e(0x2ce)]['addPivotTableWithConfig'];if(!_0x4b926d)return;const _0xd57826=_0x4b926d[_0x48eb9e(0x1fb)],_0x207f3e=_0x4b926d[_0x48eb9e(0x80)],{collection:_0x4a73cb}=this['_sheetsPivotDataSourceModel'][_0x48eb9e(0x1a6)]({'unitId':_0xd57826[_0x48eb9e(0x2d0)],'sheetName':_0xd57826['sheetName'],'subUnitId':_0xd57826[_0x48eb9e(0x19f)],'range':_0xd57826[_0x48eb9e(0x26e)]}),_0x48aae0=new _0x949178[(_0x48eb9e(0xcd))](_0x4a73cb,void 0x0,_0x207f3e),_0x4fe3c3=_0x4a73cb[_0x48eb9e(0x225)](),{rows:_0x3eb903,columns:_0x362c17,filters:_0x2806be,values:_0x2e2a5e}=_0x4b926d[_0x48eb9e(0x15d)];_0x48aae0[_0x48eb9e(0x260)]();for(const {field:_0x36a091,selectedItems:_0x22343e}of _0x3eb903||[]){const _0x144bb6=_0x4fe3c3[_0x36a091];if(_0x144bb6){const _0x130db8=_0x48aae0[_0x48eb9e(0x185)](_0x144bb6,_0x949178['PivotTableFiledAreaEnum'][_0x48eb9e(0x2bc)]);_0x22343e&&_0x130db8&&_0x48aae0['setLabelFilterInfo'](_0x130db8[_0x48eb9e(0x13b)](),{'type':_0x949178['PivotFilterTypeEnum'][_0x48eb9e(0x191)],'list':_0x22343e,'isAll':!0x1});}}for(const {field:_0x54e083,selectedItems:_0x252ba7}of _0x362c17||[]){const _0x515f75=_0x4fe3c3[_0x54e083];if(_0x515f75){const _0x273b41=_0x48aae0[_0x48eb9e(0x185)](_0x515f75,_0x949178['PivotTableFiledAreaEnum']['Column']);_0x252ba7&&_0x273b41&&_0x48aae0['setLabelFilterInfo'](_0x273b41[_0x48eb9e(0x13b)](),{'type':_0x949178['PivotFilterTypeEnum'][_0x48eb9e(0x191)],'list':_0x252ba7,'isAll':!0x1});}}for(const {field:_0x52b5b1,selectedItems:_0x1697f3}of _0x2806be||[]){const _0x1501c3=_0x4fe3c3[_0x52b5b1];if(_0x1501c3){const _0x54039d=_0x48aae0[_0x48eb9e(0x185)](_0x1501c3,_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x12e)]);_0x1697f3&&_0x54039d&&_0x48aae0[_0x48eb9e(0x175)](_0x54039d[_0x48eb9e(0x13b)](),{'type':_0x949178['PivotFilterTypeEnum'][_0x48eb9e(0x191)],'list':_0x1697f3,'isAll':!0x1});}}for(const {field:_0x5d04f1,subTotalType:_0x2ba06d,formatString:_0x2c80bc}of _0x2e2a5e||[]){const _0x12e7f8=_0x4a73cb[_0x48eb9e(0x181)](_0x4fe3c3[_0x5d04f1]);if(!_0x12e7f8)continue;const _0x497e3f=_0x4fe3c3[_0x5d04f1];if(_0x497e3f){const _0x1b3b1a=_0x48aae0[_0x48eb9e(0x185)](_0x497e3f,_0x949178[_0x48eb9e(0x11a)][_0x48eb9e(0x105)]);if(_0x1b3b1a){if(_0x2ba06d!==void 0x0){_0x48aae0[_0x48eb9e(0x36c)](_0x1b3b1a[_0x48eb9e(0x13b)](),_0x2ba06d);const _0x6d6e6b=this[_0x48eb9e(0xa6)][_0x48eb9e(0x2c2)](_0xd57826[_0x48eb9e(0x2d0)])[_0x48eb9e(0x189)]()||_0x949178['getAutoDisplayName'],_0x5c2a16=_0x4a73cb[_0x48eb9e(0x220)](_0x497e3f),_0x44bf98=_0x6d6e6b(_0x5c2a16,_0x2ba06d);_0x48aae0[_0x48eb9e(0x139)](_0x1b3b1a[_0x48eb9e(0x13b)](),_0x44bf98);}else{if(_0x12e7f8){const _0x10e5c4=_0x12e7f8==null?void 0x0:_0x12e7f8[_0x48eb9e(0x24b)]();_0x48aae0[_0x48eb9e(0x36c)](_0x1b3b1a[_0x48eb9e(0x13b)](),_0x10e5c4===_0x949178[_0x48eb9e(0x369)][_0x48eb9e(0x1b7)]?_0x949178['PivotSubtotalTypeEnum'][_0x48eb9e(0x358)]:_0x949178[_0x48eb9e(0x34e)][_0x48eb9e(0x32c)]);}}_0x2c80bc&&_0x48aae0['setFieldFormat'](_0x1b3b1a['getId'](),_0x2c80bc);}}}const _0x1dba47=_0x48aae0[_0x48eb9e(0x1f3)](),_0x31944e=_0x48aae0[_0x48eb9e(0x120)](),_0x2d2a23=_0x48aae0[_0x48eb9e(0x121)](),_0x366b12=_0x48aae0['endCollectChangeset'](),_0x53c77f=_0x4a73cb['toJSON']();_0xbbad19[_0x48eb9e(0x194)]={'view':_0x1dba47,'fieldsConfig':_0x31944e,'collectionConfig':_0x53c77f,'isEmpty':_0x2d2a23,'changesets':_0x366b12};}break;case _0x357f41[_0x48eb9e(0x7b)]:{const _0x1a06dd=_0x3ea438(this[_0x48eb9e(0x214)],_0x2193fb);if(!_0x1a06dd)return;const {range:_0x236b32,sourceSubUnitId:_0x1c8479,sourceUnitId:_0x191d4c,formatMap:_0x41f10c,indexes:_0x34dfdd}=_0x1a06dd;_0xbbad19['drillDown']={'range':_0x236b32,'sourceSubUnitId':_0x1c8479,'sourceUnitId':_0x191d4c,'formatMap':_0x41f10c,'indexes':_0x34dfdd};}break;}this[_0x48eb9e(0x2c6)][_0x48eb9e(0x35b)](_0x5b3f8e['id'],{'version':_0x2193fb[_0x48eb9e(0x16f)],'result':_0xbbad19},{'onlyLocal':!0x0});}));}[_0x5b4c6d(0x210)](){const _0x39b9cc=_0x5b4c6d;this['disposeWithMe'](this[_0x39b9cc(0x2c6)][_0x39b9cc(0xcc)](_0x334167=>{const _0x52a12c=_0x39b9cc;if(_0x334167['id']!==_0x5273d0['id'])return;const _0x128b43=_0x334167[_0x52a12c(0x2ce)];return this[_0x52a12c(0xa6)][_0x52a12c(0x2ab)](_0x128b43[_0x52a12c(0x2e1)]),!0x0;}));}['_subjectCollectionChange'](){const _0x1ce5fc=_0x5b4c6d;this[_0x1ce5fc(0xa6)][_0x1ce5fc(0xa4)][_0x1ce5fc(0x17c)](_0x2c69f9=>{const _0x5f397f=_0x1ce5fc;switch(_0x2c69f9['type']){case _0x1f8109[_0x5f397f(0xe3)]:_0x2c69f9[_0x5f397f(0x104)]&&_0x2c69f9[_0x5f397f(0x282)]&&this[_0x5f397f(0x163)](_0x2c69f9['token'],_0x2c69f9[_0x5f397f(0x104)],_0x2c69f9[_0x5f397f(0x282)]);break;case _0x1f8109[_0x5f397f(0x236)]:{const {unitId:_0x51cb43,subUnitId:_0x5d287f,token:_0x229dd5}=_0x2c69f9;_0x51cb43&&_0x5d287f&&_0x229dd5&&this[_0x5f397f(0xc2)](_0x51cb43,_0x5d287f,_0x229dd5);}break;case _0x1f8109[_0x5f397f(0x9c)]:{const {token:_0x1a704b,oldSourceRangeInfo:_0x3e9d14,dataRangeInfo:_0x31f985,targetCellInfo:_0x2b8131}=_0x2c69f9,{unitId:_0x5b04c0,subUnitId:_0x5e1556}=_0x3e9d14||{};_0x5b04c0&&_0x5e1556&&_0x1a704b&&this[_0x5f397f(0xc2)](_0x5b04c0,_0x5e1556,_0x1a704b),_0x31f985&&_0x2b8131&&this[_0x5f397f(0x163)](_0x1a704b,_0x31f985,_0x2b8131);}break;}});}[_0x5b4c6d(0x19a)](){const _0x28aedf=_0x5b4c6d;this[_0x28aedf(0xa6)]['fieldsCollectionChange$'][_0x28aedf(0x17c)](_0x37c4df=>{const _0xa9322e=_0x28aedf;Object['keys'](_0x37c4df)[_0xa9322e(0x36a)](_0xe56c6b=>{const _0xd1556d=_0xa9322e,_0x445835=this[_0xd1556d(0xa6)][_0xd1556d(0x1b1)](_0xe56c6b);if(_0x445835){const _0x30b5f4=this[_0xd1556d(0xa6)]['getPivotTableConfig'](_0x445835==null?void 0x0:_0x445835[_0xd1556d(0x2d0)],_0x445835==null?void 0x0:_0x445835[_0xd1556d(0x19f)],_0xe56c6b);_0x30b5f4&&(this[_0xd1556d(0x163)](_0xe56c6b,_0x30b5f4[_0xd1556d(0x1fb)],_0x30b5f4[_0xd1556d(0x282)]),this['triggerDirtyFeature']([{'unitId':_0x445835[_0xd1556d(0x2d0)],'subUnitId':_0x445835[_0xd1556d(0x19f)],'token':_0xe56c6b}]));}});});}[_0x5b4c6d(0x26c)](){const _0x1d5e67=_0x5b4c6d;this[_0x1d5e67(0xa6)][_0x1d5e67(0x11b)]['subscribe'](_0x692aaa=>{const _0x3bd112=_0x1d5e67,{unitId:_0x4bd641,subUnitId:_0x3747d3,pivotTableId:_0x30f1c8}=_0x692aaa;_0x4bd641&&_0x3747d3&&_0x30f1c8&&this[_0x3bd112(0x365)]([{'unitId':_0x4bd641,'subUnitId':_0x3747d3,'token':_0x30f1c8}]);});}[_0x5b4c6d(0x365)](_0x2e54a0){const _0x264f97=_0x5b4c6d,_0x2e4d8d={};_0x2e54a0['forEach'](_0x54ece3=>{var _0x506179,_0x2ee605;const {unitId:_0x4645ef,subUnitId:_0x1b75ff,token:_0xba6c12}=_0x54ece3;_0x2e4d8d[_0x4645ef]=(_0x506179=_0x2e4d8d[_0x4645ef])!=null?_0x506179:{},_0x2e4d8d[_0x4645ef][_0x1b75ff]=(_0x2ee605=_0x2e4d8d[_0x4645ef][_0x1b75ff])!=null?_0x2ee605:{},_0x2e4d8d[_0x4645ef][_0x1b75ff][_0xba6c12]=!0x0;}),this[_0x264f97(0x2c6)][_0x264f97(0x35b)](_0x500ef9['id'],_0x2e4d8d);}['removeSourceRangeChange'](_0x2ad946,_0x355328,_0x1a8a3e){const _0x2a3ef2=_0x5b4c6d;this[_0x2a3ef2(0xa2)][_0x2a3ef2(0xef)](_0x2ad946,_0x355328,[_0x1a8a3e]);}[_0x5b4c6d(0x163)](_0x42e157,_0x26a593,_0x2baac0){const _0x564b81=_0x5b4c6d,{unitId:_0x1eb2ca,subUnitId:_0x42097e}=_0x26a593;this[_0x564b81(0xa2)][_0x564b81(0x208)](_0x2baac0[_0x564b81(0x2d0)],_0x2baac0['subUnitId'],_0x42e157)&&this[_0x564b81(0xc2)](_0x1eb2ca,_0x42097e,_0x42e157);const _0x26f72e={'sheetId':_0x42097e,..._0x26a593};this[_0x564b81(0xa2)][_0x564b81(0x94)](_0x2baac0[_0x564b81(0x2d0)],_0x2baac0[_0x564b81(0x19f)],_0x42e157,{'unitId':_0x2baac0[_0x564b81(0x2d0)],'subUnitId':_0x2baac0[_0x564b81(0x19f)],'dependencyRanges':[_0x26f72e],'getDirtyData':(_0x45509e,_0x409f09)=>{const _0x44842b=_0x564b81,_0x36bfa2=this[_0x44842b(0xa6)],_0x22a1b8=_0x36bfa2[_0x44842b(0x1b1)](_0x42e157);if(!_0x22a1b8)return _0x330b95();const {unitId:_0x14d034,subUnitId:_0xba3ce5}=_0x22a1b8,_0x2dbebb=_0x53fc9b(_0x45509e,_0x409f09,_0x26a593);if(_0x2dbebb[_0x44842b(0xad)]>0x0){const _0x46bd94=_0x36bfa2[_0x44842b(0x28c)](_0x1eb2ca,_0x42e157),_0x33378c=_0x46bd94[_0x44842b(0x225)](),_0x5e75ee=this[_0x44842b(0x11c)](_0x26a593[_0x44842b(0x2d0)],_0x26a593['subUnitId'],_0x409f09),_0x494373={},_0x33179f=this['_sheetsPivotDataSourceModel'][_0x44842b(0x2c2)](_0x14d034)[_0x44842b(0x189)]()||_0x949178['getAutoDisplayName'],_0x4aa769=[];for(const _0x4552a2 of _0x2dbebb){const _0xf76465=_0x4552a2-(_0x26a593[_0x44842b(0x26e)][_0x44842b(0x281)]||0x0),_0x498040=_0x33378c[_0xf76465];_0x4aa769[_0x44842b(0x1cc)](_0x498040),_0x494373[_0x498040]=_0x46bd94[_0x44842b(0x181)](_0x498040)[_0x44842b(0x136)](),_0x36bfa2[_0x44842b(0x2c2)](_0x1eb2ca)[_0x44842b(0xbe)](_0x498040,_0x26a593,_0xf76465,_0x5e75ee);}_0x46bd94['getGroupFieldsInfoByIds'](_0x4aa769)[_0x44842b(0x36a)](_0x11f735=>{const _0x28ce99=_0x44842b,[_0x197883,_0x4d05f5]=_0x11f735,_0x166b67=_0x46bd94['getFieldById'](_0x197883),_0x14eaf4=_0x46bd94[_0x28ce99(0x181)](_0x4d05f5);_0x166b67&&_0x14eaf4&&_0x166b67[_0x28ce99(0x327)](_0x14eaf4);}),_0x46bd94[_0x44842b(0x217)]();const _0x4b1e0c=_0x36bfa2[_0x44842b(0x1c4)](_0x42e157);if(_0x4b1e0c){_0x9024f1(_0x4b1e0c,_0x494373,_0x33179f),_0x4b1e0c[_0x44842b(0x1b3)](!0x0);const _0x11974f=_0x4b1e0c['query'](),_0x10b388=_0x36bfa2[_0x44842b(0x290)](_0x14d034,_0xba3ce5,_0x42e157),_0x5daf4d=_0x36bfa2[_0x44842b(0x2c2)](_0x1eb2ca)[_0x44842b(0x120)]();_0x36bfa2['updateView'](_0x14d034,_0xba3ce5,_0x1bbb8c[_0x44842b(0x261)],_0x42e157,_0x11974f,_0x10b388,_0x5daf4d,!0x0);}}return this[_0x44842b(0x168)](_0x14d034,_0xba3ce5,_0x42e157);}});}[_0x5b4c6d(0x11c)](_0x47953a,_0x45c4ea,_0x4522d3){var _0x41e9ee,_0x509fd0;const {arrayFormulaCellData:_0x1a72a8,unitData:_0x3709c2}=_0x4522d3,_0x1a5854=(_0x41e9ee=_0x1a72a8==null?void 0x0:_0x1a72a8[_0x47953a])==null?void 0x0:_0x41e9ee[_0x45c4ea],_0x2c7152=(_0x509fd0=_0x3709c2==null?void 0x0:_0x3709c2[_0x47953a])==null?void 0x0:_0x509fd0[_0x45c4ea];return{'arrayFormulaCellDataMatrix':_0x1a5854,'unitDataMatrix':_0x2c7152};}[_0x5b4c6d(0x168)](_0xb405a1,_0x4aa1cc,_0x12b4c5){const _0x5102c3=_0x5b4c6d,_0x4aaa5c=this[_0x5102c3(0xa6)][_0x5102c3(0x235)](_0xb405a1,_0x4aa1cc,_0x12b4c5),_0xd02669=[],_0x22df61=new _0x2be92f['ObjectMatrix']();if(_0x4aaa5c){const {rangeCache:_0x569c36,matrix:_0x5cc481,oldRangeCache:_0x2fba96,oldMatrix:_0x22587b}=_0x4aaa5c,_0x557d98=_0x4c470f(_0x2fba96),_0xbe2e2=_0x4c470f(_0x569c36);_0xd02669[_0x5102c3(0x1cc)](..._0xbe2e2,..._0x557d98),_0x22587b&&_0x2fba96&&_0x557d98[_0x5102c3(0x36a)](_0x21f64a=>{const _0x350c22=_0x5102c3;for(let _0x5ce537=_0x21f64a[_0x350c22(0xee)];_0x5ce537<=_0x21f64a[_0x350c22(0x87)];_0x5ce537++)for(let _0x47fc8b=_0x21f64a[_0x350c22(0x281)];_0x47fc8b<=_0x21f64a[_0x350c22(0x249)];_0x47fc8b++)_0x22df61['realDeleteValue'](_0x5ce537,_0x47fc8b);}),_0x5cc481&&_0xbe2e2&&_0xbe2e2[_0x5102c3(0x36a)](_0x63ac66=>{const _0x3aa214=_0x5102c3;for(let _0x1d2ad2=_0x63ac66[_0x3aa214(0xee)];_0x1d2ad2<=_0x63ac66[_0x3aa214(0x87)];_0x1d2ad2++)for(let _0x305b2a=_0x63ac66[_0x3aa214(0x281)];_0x305b2a<=_0x63ac66[_0x3aa214(0x249)];_0x305b2a++)_0x22df61['setValue'](_0x1d2ad2,_0x305b2a,_0x5cc481[_0x3aa214(0x206)](_0x1d2ad2,_0x305b2a));});}const _0x56f0db={};return _0x56f0db[_0xb405a1]={[_0x4aa1cc]:_0xdc4e05(_0xd02669)},{'runtimeCellData':{[_0xb405a1]:{[_0x4aa1cc]:_0x22df61}},'dirtyRanges':_0x56f0db};}[_0x5b4c6d(0x2b2)](){}};_0x218320=_0x1d0353([_0x4ea4bc(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27['SheetsPivotDataSourceModel'])),_0x4ea4bc(0x1,_0x2be92f[_0x5b4c6d(0x27f)]),_0x4ea4bc(0x2,_0x2be92f['Inject'](_0x5172e4[_0x5b4c6d(0x387)])),_0x4ea4bc(0x3,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x109)])),_0x4ea4bc(0x4,_0x2be92f[_0x5b4c6d(0x253)](_0x5172e4[_0x5b4c6d(0x184)])),_0x4ea4bc(0x5,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xf0)]))],_0x218320);var _0xfd587b=Object[_0x5b4c6d(0x2f4)],_0x33d443=(_0x2a6bdb,_0x5bbc9c,_0x514a24,_0x1c423c)=>{for(var _0xa02895=_0x1c423c>0x1?void 0x0:_0x1c423c?_0xfd587b(_0x5bbc9c,_0x514a24):_0x5bbc9c,_0x48195c=_0x2a6bdb['length']-0x1,_0x2b0a92;_0x48195c>=0x0;_0x48195c--)(_0x2b0a92=_0x2a6bdb[_0x48195c])&&(_0xa02895=_0x2b0a92(_0xa02895)||_0xa02895);return _0xa02895;},_0x50aba6=(_0x1bdec1,_0x5c36e8)=>(_0x1a4161,_0x2c22f0)=>_0x5c36e8(_0x1a4161,_0x2c22f0,_0x1bdec1);let _0x546739=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x264ffb,_0x2c24b0,_0x4c5421,_0x3940c5){const _0x415c11=_0x5b4c6d;super(),_0x102d83(this,'disposableCollection',new _0x2be92f[(_0x415c11(0x311))]()),(this['_univerInstanceService']=_0x264ffb,this[_0x415c11(0x30e)]=_0x2c24b0,this[_0x415c11(0x2de)]=_0x4c5421,this['_sheetsPivotTableConfigModel']=_0x3940c5,this[_0x415c11(0x15c)]());}[_0x5b4c6d(0x15c)](){const _0x5c4328=_0x5b4c6d;this[_0x5c4328(0x20b)](this[_0x5c4328(0x30e)][_0x5c4328(0x174)]({'getMutations':_0x544a58=>{const _0x212248=_0x5c4328;if(_0x544a58['id']===_0xac1e83[_0x212248(0x2c8)]['id']||_0x544a58['id']===_0xac1e83[_0x212248(0x26a)]['id']){const _0x592738=[],_0x5a83e6=[],_0x17a6c1=this[_0x212248(0x2de)][_0x212248(0x336)]()['map'](_0x1d9e05=>_0x1d9e05[_0x212248(0x26e)]),_0x2255bb=_0xac1e83[_0x212248(0x1bc)](this[_0x212248(0x35d)]);if(!_0x2255bb)return{'redos':[],'undos':[]};const {unitId:_0x397afc,subUnitId:_0x1de35e}=_0x2255bb,_0x1b7cb5={},_0x878a14=this[_0x212248(0x28a)][_0x212248(0x37b)](_0x397afc,_0x1de35e);if(_0x878a14!=null&&_0x878a14[_0x212248(0x18c)])for(const [_0x1d64d4,_0x3840cc]of _0x878a14){const {unitId:_0x224abb,subUnitId:_0x2bd7a2,row:_0x5edf47,col:_0x43ca74}=_0x3840cc[_0x212248(0x282)];_0x224abb===_0x2255bb[_0x212248(0x2d0)]&&_0x2bd7a2===_0x2255bb['subUnitId']&&(_0x1b7cb5[_0x5edf47+'-'+_0x43ca74]=_0x1d64d4);}return _0x17a6c1&&_0x2255bb&&_0x17a6c1[_0x212248(0x36a)](_0x1b1f7e=>{const _0x38227d=_0x212248;_0x2be92f[_0x38227d(0x1a0)][_0x38227d(0x298)](_0x1b1f7e,(_0xa840db,_0xf13846)=>{const _0x3ea899=_0x38227d,_0x4d8f66=_0xa840db+'-'+_0xf13846;if(_0x1b7cb5[_0x4d8f66]){const _0x191d40=_0x1b7cb5[_0x4d8f66];_0x592738['push']({'id':_0x1d746e['id'],'params':{'unitId':_0x397afc,'subUnitId':_0x1de35e,'pivotTableId':_0x191d40}});const _0xcfb322=this[_0x3ea899(0x28a)][_0x3ea899(0x28c)](_0x397afc,_0x191d40),_0x17b89b=this['_sheetsPivotTableConfigModel'][_0x3ea899(0x290)](_0x397afc,_0x1de35e,_0x191d40);_0x5a83e6[_0x3ea899(0x1cc)]({'id':_0x5bd603['id'],'params':{'unitId':_0x397afc,'subUnitId':_0x1de35e,'pivotTableId':_0x191d40,'pivotTableConfig':_0x17b89b,'collectionConfig':_0xcfb322}});}});}),{'redos':_0x592738,'undos':_0x5a83e6};}return{'redos':[],'undos':[]};}}));}};_0x546739=_0x33d443([_0x50aba6(0x0,_0x2be92f['IUniverInstanceService']),_0x50aba6(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83[_0x5b4c6d(0x22c)])),_0x50aba6(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83['SheetsSelectionsService'])),_0x50aba6(0x3,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x216)]))],_0x546739);var _0x1c75cc=Object[_0x5b4c6d(0x2f4)],_0x4d0017=(_0x5a93d3,_0x96de15,_0x59ec7a,_0xbe0d36)=>{const _0x32ed47=_0x5b4c6d;for(var _0x33f6ec=_0xbe0d36>0x1?void 0x0:_0xbe0d36?_0x1c75cc(_0x96de15,_0x59ec7a):_0x96de15,_0x1e0b71=_0x5a93d3[_0x32ed47(0xad)]-0x1,_0x3ac940;_0x1e0b71>=0x0;_0x1e0b71--)(_0x3ac940=_0x5a93d3[_0x1e0b71])&&(_0x33f6ec=_0x3ac940(_0x33f6ec)||_0x33f6ec);return _0x33f6ec;},_0x194e90=(_0x10671e,_0x2adcc0)=>(_0x38b48e,_0x170ff5)=>_0x2adcc0(_0x38b48e,_0x170ff5,_0x10671e);let _0xcab1f=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x4ce9d1,_0x21fcf3,_0x24d981,_0x2a44fc,_0x3152a5,_0x55d5f7){const _0x4dc3f6=_0x5b4c6d;super(),this[_0x4dc3f6(0x26d)]=_0x4ce9d1,this[_0x4dc3f6(0x30e)]=_0x21fcf3,this[_0x4dc3f6(0x214)]=_0x24d981,this['_univerInstanceService']=_0x2a44fc,this[_0x4dc3f6(0x28a)]=_0x3152a5,this['_sheetsPivotTableService']=_0x55d5f7,this[_0x4dc3f6(0x199)]();}[_0x5b4c6d(0x15b)](_0x590a62,_0x2aac2a,_0x3e9961){const _0xa35b6d=_0x5b4c6d,{pageView:_0x48b986,cornerView:_0x17d995,rowView:_0x14ab12,colView:_0x32224f,dataView:_0x4477a9}=_0x2aac2a,_0x1a8dca=_0x590a62;let _0x5d6cac;if(_0x3e9961)_0x5d6cac=[..._0xec16bb(_0x1a8dca)];else{const _0x48b478=_0xca17aa(_0x1a8dca,_0x48b986,!0x0),_0x9a8b23=_0x48b986['lastRow']>=0x0?_0x48b986[_0xa35b6d(0x308)]+0x1:0x0,_0x2316bc=_0x17d995['rowCount'],_0xa32860=_0x17d995[_0xa35b6d(0x7a)],_0x25b34f=_0x48b478[_0xa35b6d(0xad)]>0x0?_0x549def:0x0,_0x229408=_0xca17aa({'row':_0x1a8dca['row']+_0x9a8b23+_0x25b34f,'col':_0x1a8dca[_0xa35b6d(0x320)]},_0x17d995,!0x1,!0x1),_0xc6cd2f=_0xca17aa({'row':_0x1a8dca['row']+_0x9a8b23+_0x25b34f+_0x2316bc,'col':_0x1a8dca[_0xa35b6d(0x320)]},_0x14ab12,!0x1,!0x0),_0x9cd5f3=_0xca17aa({'row':_0x1a8dca['row']+_0x9a8b23+_0x25b34f,'col':_0x1a8dca[_0xa35b6d(0x320)]+_0xa32860},_0x32224f,!0x1,!0x0),_0x119dcd=_0xca17aa({'row':_0x1a8dca[_0xa35b6d(0x178)]+_0x9a8b23+_0x25b34f+_0x2316bc,'col':_0x1a8dca[_0xa35b6d(0x320)]+_0xa32860},_0x4477a9,!0x1,!0x0);_0x5d6cac=[..._0x48b478,..._0x229408,..._0xc6cd2f,..._0x9cd5f3,..._0x119dcd];}return _0x5d6cac;}[_0x5b4c6d(0x199)](){const _0x32a6e8=_0x5b4c6d;this[_0x32a6e8(0x20b)](this[_0x32a6e8(0x1be)][_0x32a6e8(0x297)]['intercept'](this[_0x32a6e8(0x1be)]['interceptor'][_0x32a6e8(0xa7)]()[_0x32a6e8(0x36b)],{'handler':(_0x2942b7,_0x25e57b)=>{const _0x30fb4a=_0x32a6e8,{cellInfo:_0x309fcb,view:_0x2377fe,isEmpty:_0x3a872b}=_0x25e57b,_0x1ad7dc=_0x309fcb,{unitId:_0x2005d8,subUnitId:_0x53c1d1}=_0x1ad7dc,_0x2cbd46=this[_0x30fb4a(0x15b)](_0x309fcb,_0x2377fe,_0x3a872b),_0x781980=this[_0x30fb4a(0x30e)][_0x30fb4a(0x335)]({'unitId':_0x2005d8,'subUnitId':_0x53c1d1,'ranges':_0x2cbd46}),_0x5562b7=_0x5bc07b(this['_injector'],_0x2005d8,_0x53c1d1,_0x2cbd46);_0x5562b7['shouldClear']&&(_0x781980['redos'][_0x30fb4a(0x1cc)](_0x5562b7['setRangeValueRedoMutation']),_0x781980[_0x30fb4a(0x187)][_0x30fb4a(0x1cc)](_0x5562b7['setRangeValueUndoMutation']));const _0x10f5bb=this[_0x30fb4a(0x1e4)](_0x2377fe,_0x309fcb);return _0x781980[_0x30fb4a(0x333)]['push'](..._0x10f5bb[_0x30fb4a(0x333)]),_0x781980[_0x30fb4a(0x187)]['push'](..._0x10f5bb['undos']),{'redos':_0x781980['redos'],'undos':_0x781980[_0x30fb4a(0x187)]};}}));}[_0x5b4c6d(0x1e4)](_0x467456,_0x419f3f){const _0x3793c5=_0x5b4c6d,{col:_0x8c3c32,unitId:_0x2479f4,subUnitId:_0x53db44}=_0x419f3f,_0xbbe09b=[],_0x43ed15=[],_0x564f50=_0xac1e83[_0x3793c5(0x1bc)](this[_0x3793c5(0x35d)],{'unitId':_0x2479f4,'subUnitId':_0x53db44});if(!_0x419f3f||!_0x467456||!_0x564f50)return{'undos':_0x43ed15,'redos':_0xbbe09b};const _0x2232ac=this[_0x3793c5(0x28a)][_0x3793c5(0xf7)](),{colView:_0x245f1f,dataView:_0x418358,cornerView:_0x1164f9,rowView:_0x34150e,formatMap:_0x51ea5f}=_0x467456,_0x26342d=_0x41ec75(_0x245f1f,_0x2232ac,!0x0,_0x51ea5f),_0x2d549a=_0x41ec75(_0x34150e,_0x2232ac,!0x1,_0x51ea5f),_0x5ea4da=_0x28c1e4(_0x418358),_0x113e65=_0x287305(_0x1164f9),{worksheet:_0x344fa0}=_0x564f50;if(typeof window<'u'&&window['document']){const _0x12aff3=_0x55d66f[_0x3793c5(0x367)]({..._0x5f2a0b[_0x3793c5(0x29e)]}),_0x3a6da9=_0x55d66f['FontCache'][_0x3793c5(0x2dd)](_0x26342d,_0x12aff3)[_0x3793c5(0x23d)]+0x10,_0x45c780=_0x55d66f[_0x3793c5(0x10f)][_0x3793c5(0x2dd)](_0x5ea4da,_0x12aff3)[_0x3793c5(0x23d)],_0x42d906=Math[_0x3793c5(0x2e6)](Math[_0x3793c5(0x114)](_0x3a6da9,_0x45c780))+0x10,_0x38b840=Math[_0x3793c5(0x2e6)](_0x55d66f[_0x3793c5(0x10f)]['getTextSize'](_0x2d549a,_0x12aff3)[_0x3793c5(0x23d)]),_0x1f1fd4=Math['floor'](_0x55d66f['FontCache']['getTextSize'](_0x113e65,_0x12aff3)[_0x3793c5(0x23d)]),_0x101cb8=Math[_0x3793c5(0x114)](_0x38b840,_0x1f1fd4,0x28)+0xc,_0x1e80d9=_0x245f1f[_0x3793c5(0x7a)]+_0x1164f9[_0x3793c5(0x7a)],_0x38bfa7={},_0xdd10a7={};for(let _0x43f79b=_0x8c3c32;_0x43f79b<_0x8c3c32+_0x1e80d9;_0x43f79b++){const _0x3904b3=_0x344fa0[_0x3793c5(0x1f8)](_0x43f79b);_0x38bfa7[_0x43f79b]=_0x3904b3,_0x43f79b-_0x8c3c32<_0x1164f9[_0x3793c5(0x7a)]?_0xdd10a7[_0x43f79b-_0x8c3c32]=_0x101cb8:_0xdd10a7[_0x43f79b-_0x8c3c32]=_0x42d906;}_0xbbe09b[_0x3793c5(0x1cc)]({'id':_0xac1e83['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x53db44,'unitId':_0x2479f4,'ranges':[{'startColumn':_0x8c3c32,'endColumn':_0x8c3c32+_0x1e80d9-0x1,'startRow':0x0,'endRow':_0x344fa0[_0x3793c5(0x312)]()-0x1}],'colWidth':_0xdd10a7}}),_0x43ed15[_0x3793c5(0x1cc)]({'id':_0xac1e83[_0x3793c5(0x273)]['id'],'params':{'subUnitId':_0x53db44,'unitId':_0x2479f4,'ranges':[{'startColumn':_0x8c3c32,'endColumn':_0x8c3c32+_0x1e80d9-0x1,'startRow':0x0,'endRow':_0x344fa0[_0x3793c5(0x312)]()-0x1}],'colWidth':_0x38bfa7}});}return{'undos':_0x43ed15,'redos':_0xbbe09b};}};_0xcab1f=_0x4d0017([_0x194e90(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x126)])),_0x194e90(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83[_0x5b4c6d(0x22c)])),_0x194e90(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xf0)])),_0x194e90(0x3,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xd2)])),_0x194e90(0x4,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x216)])),_0x194e90(0x5,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27['SheetsPivotTableService']))],_0xcab1f);var _0x13c81a=Object[_0x5b4c6d(0x2f4)],_0x117688=(_0x40bbbe,_0x5cc52e,_0x3df599,_0x491e49)=>{const _0xeb0d52=_0x5b4c6d;for(var _0x31136b=_0x491e49>0x1?void 0x0:_0x491e49?_0x13c81a(_0x5cc52e,_0x3df599):_0x5cc52e,_0xf97a54=_0x40bbbe[_0xeb0d52(0xad)]-0x1,_0x583219;_0xf97a54>=0x0;_0xf97a54--)(_0x583219=_0x40bbbe[_0xf97a54])&&(_0x31136b=_0x583219(_0x31136b)||_0x31136b);return _0x31136b;},_0x5f4029=(_0x4c8d33,_0x278ce1)=>(_0x4c4809,_0x24d35f)=>_0x278ce1(_0x4c4809,_0x24d35f,_0x4c8d33);let _0xc831c0=class extends _0x2be92f['Disposable']{constructor(_0x3a574a,_0x3337c1,_0x289c17,_0x292e8e,_0x1c40cc,_0x4a1000,_0x3248dd){const _0x18f1e2=_0x5b4c6d;super(),_0x102d83(this,'disposableCollection',new _0x2be92f[(_0x18f1e2(0x311))]()),(this[_0x18f1e2(0x214)]=_0x3a574a,this['_refRangeService']=_0x3337c1,this[_0x18f1e2(0x2c6)]=_0x289c17,this[_0x18f1e2(0x35d)]=_0x292e8e,this[_0x18f1e2(0x28a)]=_0x1c40cc,this['_sheetsPivotTableAdaptorModel']=_0x4a1000,this[_0x18f1e2(0x30e)]=_0x3248dd,this['_onRefRangeChange']());}[_0x5b4c6d(0x325)](){const _0x389b1c=_0x5b4c6d,_0x9da226=(_0x47292c,_0x53741e)=>{const _0x431b8a=_0x6997,_0x4f2a4e=this[_0x431b8a(0x35d)][_0x431b8a(0xc4)](_0x2be92f[_0x431b8a(0x326)]['UNIVER_SHEET']);if(!_0x4f2a4e||!(_0x4f2a4e==null?void 0x0:_0x4f2a4e[_0x431b8a(0xc6)](_0x53741e)))return;this['disposableCollection'][_0x431b8a(0x2b2)]();const _0x44752f=_0x2d4e9d=>this[_0x431b8a(0x2cc)](_0x2d4e9d,_0x47292c,_0x53741e),_0x5742cf=this[_0x431b8a(0x28a)][_0x431b8a(0x37b)](_0x47292c,_0x53741e);if(!(_0x5742cf!=null&&_0x5742cf['size']))return;Array[_0x431b8a(0x1dd)](_0x5742cf[_0x431b8a(0x15f)]())[_0x431b8a(0x352)](_0x3860e8=>{const _0x3a313a=_0x431b8a,{row:_0xa8737,col:_0x395361}=_0x3860e8[_0x3a313a(0x282)];return _0x2be92f['cellToRange'](_0xa8737,_0x395361);})['forEach'](_0x54942c=>{const _0xa72330=_0x431b8a;this[_0xa72330(0x31a)]['add'](this[_0xa72330(0x268)]['registerRefRange'](_0x54942c,_0x44752f,_0x47292c,_0x53741e));});},_0x8eda83=()=>{const _0x353264=_0x6997,_0x4377d2=this[_0x353264(0x35d)][_0x353264(0xc4)](_0x2be92f[_0x353264(0x326)][_0x353264(0x150)]);if(_0x4377d2){const _0x2e9beb=_0x4377d2[_0x353264(0x34f)]();if(!_0x2e9beb)return;_0x9da226(_0x4377d2[_0x353264(0x1a8)](),_0x2e9beb['getSheetId']());}};this[_0x389b1c(0x20b)](this['_commandService'][_0x389b1c(0xcc)](_0x322974=>{const _0xfb1ccc=_0x389b1c;if(_0x322974['id']===_0xac1e83[_0xfb1ccc(0x2c1)]['id']){const _0x2de0b6=_0x322974[_0xfb1ccc(0x2ce)],_0x4fa8ee=_0x2de0b6[_0xfb1ccc(0x19f)],_0x97c29b=_0x2de0b6[_0xfb1ccc(0x2d0)];if(!_0x4fa8ee||!_0x97c29b)return;_0x9da226(_0x97c29b,_0x4fa8ee);}})),this[_0x389b1c(0x20b)](this[_0x389b1c(0x28a)][_0x389b1c(0x1dc)][_0x389b1c(0x17c)](_0x5d38cd=>{_0x5d38cd&&_0x8eda83();})),this[_0x389b1c(0x20b)](this[_0x389b1c(0x28a)]['pivotConfigChange$'][_0x389b1c(0x17c)](_0x3e0eb4=>{const _0x16b6f8=_0x389b1c,_0x130744=_0xac1e83[_0x16b6f8(0x1bc)](this[_0x16b6f8(0x35d)]);if(!_0x130744)return;const {unitId:_0x57faec,subUnitId:_0x10f383}=_0x130744,{unitId:_0x353f87,subUnitId:_0x56cbf8}=_0x3e0eb4;_0x57faec!==_0x353f87||_0x10f383!==_0x56cbf8||_0x9da226(_0x57faec,_0x10f383);})),_0x8eda83();}[_0x5b4c6d(0x2cc)](_0x367607,_0x55c6a8,_0x2eddd1){const _0x4a4830=_0x5b4c6d;switch(_0x367607['id']){case _0xac1e83[_0x4a4830(0x34a)]['id']:return this[_0x4a4830(0xfc)](_0x367607[_0x4a4830(0x2ce)],_0x55c6a8,_0x2eddd1);}return{'redos':[],'undos':[]};}[_0x5b4c6d(0xfc)](_0x21c61,_0x4107cc,_0x3e7f16){const _0x3fc9b0=_0x5b4c6d,{fromRange:_0x6f75e9,toRange:_0x5ecaae}=_0x21c61,_0x538085=[],_0x401353=[],_0x3d0abe=_0xac1e83[_0x3fc9b0(0x1bc)](this[_0x3fc9b0(0x35d)]);if(!_0x3d0abe)return{'undos':_0x401353,'redos':_0x538085};if(_0x4107cc!==_0x3d0abe[_0x3fc9b0(0x2d0)]||_0x3e7f16!==_0x3d0abe[_0x3fc9b0(0x19f)])return{'undos':_0x401353,'redos':_0x538085};const _0x142691=this[_0x3fc9b0(0x28a)][_0x3fc9b0(0x37b)](_0x4107cc,_0x3e7f16);if(_0x142691!=null&&_0x142691[_0x3fc9b0(0x18c)])for(const [_0x2e0f6f,_0x58c8a9]of _0x142691){const {unitId:_0x25f860,subUnitId:_0x2e2799,row:_0x54c546,col:_0x50ac4c}=_0x58c8a9[_0x3fc9b0(0x282)];if(_0x25f860===_0x3d0abe['unitId']&&_0x2e2799===_0x3d0abe['subUnitId']){const _0x57c7d9=_0x2be92f[_0x3fc9b0(0x161)](_0x54c546,_0x50ac4c);if(_0x2be92f[_0x3fc9b0(0x337)]['intersects'](_0x57c7d9,_0x6f75e9)){const _0x376fda=_0x54c546-_0x6f75e9[_0x3fc9b0(0xee)],_0x428c0c=_0x50ac4c-_0x6f75e9[_0x3fc9b0(0x281)],_0x2525c0={'row':_0x5ecaae[_0x3fc9b0(0xee)]+_0x376fda,'col':_0x5ecaae['startColumn']+_0x428c0c};_0x538085['push']({'id':_0x2730bb['id'],'params':{'unitId':_0x25f860,'subUnitId':_0x2e2799,'pivotTableId':_0x2e0f6f,'targetCellPosition':_0x2525c0}}),_0x401353[_0x3fc9b0(0x1cc)]({'id':_0x2730bb['id'],'params':{'unitId':_0x25f860,'subUnitId':_0x2e2799,'pivotTableId':_0x2e0f6f,'targetCellPosition':{'row':_0x54c546,'col':_0x50ac4c}}});const _0x2c4d78=_0x2525c0[_0x3fc9b0(0x178)]-_0x54c546,_0x45248f=_0x2525c0[_0x3fc9b0(0x320)]-_0x50ac4c,_0x5d4bac=[],_0x1b34b8=this[_0x3fc9b0(0x2aa)]['getPivotItemRenderInfoCache'](_0x25f860,_0x2e2799,_0x2e0f6f),_0x914594=_0x1b34b8==null?void 0x0:_0x1b34b8[_0x3fc9b0(0x146)];if(_0x914594){Object['keys'](_0x914594)[_0x3fc9b0(0x36a)](_0x250983=>{const _0x5a5c74=_0x3fc9b0;_0x914594[_0x250983][_0x5a5c74(0x36a)](_0x30f5e5=>{const _0x259330=_0x5a5c74,_0x73e888={..._0x30f5e5};_0x73e888['startRow']=_0x30f5e5[_0x259330(0xee)]+_0x2c4d78,_0x73e888[_0x259330(0x87)]=_0x30f5e5[_0x259330(0x87)]+_0x2c4d78,_0x73e888[_0x259330(0x281)]=_0x30f5e5['startColumn']+_0x45248f,_0x73e888[_0x259330(0x249)]=_0x30f5e5[_0x259330(0x249)]+_0x45248f,_0x5d4bac[_0x259330(0x1cc)](_0x73e888);});});const _0x420589=this['_sheetInterceptorService'][_0x3fc9b0(0x335)]({'unitId':_0x25f860,'subUnitId':_0x2e2799,'ranges':_0x5d4bac});_0x538085[_0x3fc9b0(0x1cc)](..._0x420589[_0x3fc9b0(0x333)]),_0x401353[_0x3fc9b0(0x1cc)](..._0x420589[_0x3fc9b0(0x187)]);const _0x152824=_0x5bc07b(this[_0x3fc9b0(0x214)],_0x25f860,_0x2e2799,_0x5d4bac);_0x152824[_0x3fc9b0(0x2b4)]&&(_0x538085[_0x3fc9b0(0x1cc)](_0x152824[_0x3fc9b0(0x78)]),_0x401353[_0x3fc9b0(0x1cc)](_0x152824[_0x3fc9b0(0x33f)]));}}}}return{'redos':_0x538085,'undos':_0x401353};}};_0xc831c0=_0x117688([_0x5f4029(0x0,_0x2be92f['Inject'](_0x2be92f[_0x5b4c6d(0xf0)])),_0x5f4029(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83[_0x5b4c6d(0x1a1)])),_0x5f4029(0x2,_0x2be92f[_0x5b4c6d(0x109)]),_0x5f4029(0x3,_0x2be92f['IUniverInstanceService']),_0x5f4029(0x4,_0x2be92f['Inject'](_0x3acc27[_0x5b4c6d(0x216)])),_0x5f4029(0x5,_0x2be92f['Inject'](_0x3acc27['SheetsPivotTableAdaptorModel'])),_0x5f4029(0x6,_0x2be92f['Inject'](_0xac1e83[_0x5b4c6d(0x22c)]))],_0xc831c0);var _0x1246cd=Object[_0x5b4c6d(0x2f4)],_0x3e8db6=(_0x1c7e81,_0x1f4be5,_0x22b0f9,_0x542a25)=>{for(var _0x3a75de=_0x542a25>0x1?void 0x0:_0x542a25?_0x1246cd(_0x1f4be5,_0x22b0f9):_0x1f4be5,_0x2e2026=_0x1c7e81['length']-0x1,_0x417816;_0x2e2026>=0x0;_0x2e2026--)(_0x417816=_0x1c7e81[_0x2e2026])&&(_0x3a75de=_0x417816(_0x3a75de)||_0x3a75de);return _0x3a75de;},_0x1a9b57=(_0x1e9bf2,_0x5fabbc)=>(_0x3ed4b6,_0x425aad)=>_0x5fabbc(_0x3ed4b6,_0x425aad,_0x1e9bf2);let _0x3c22bb=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x566d88,_0x528d3e){const _0x5f27c7=_0x5b4c6d;super(),this[_0x5f27c7(0x30e)]=_0x566d88,this[_0x5f27c7(0x28a)]=_0x528d3e,this[_0x5f27c7(0x131)]();}[_0x5b4c6d(0x131)](){const _0x1ec1e6=_0x5b4c6d;this[_0x1ec1e6(0x20b)](this[_0x1ec1e6(0x30e)][_0x1ec1e6(0x174)]({'getMutations':_0x5ae49b=>{const _0x347496=_0x1ec1e6;if(_0x5ae49b['id']===_0xac1e83[_0x347496(0x155)]['id']){const _0x161b2e=[],_0x2915b7=[],_0x4b3553=_0x5ae49b[_0x347496(0x2ce)],{unitId:_0x1a5859,subUnitId:_0x4ccbc3}=_0x4b3553;if(!_0x1a5859||!_0x4ccbc3)return{'undos':_0x2915b7,'redos':_0x161b2e};const _0xa8242d=this['_sheetsPivotTableConfigModel'][_0x347496(0x37b)](_0x1a5859,_0x4ccbc3);if(_0xa8242d!=null&&_0xa8242d[_0x347496(0x18c)])for(const [_0x1cd303,_0x472b02]of _0xa8242d){_0x161b2e[_0x347496(0x1cc)]({'id':_0x1d746e['id'],'params':{'unitId':_0x1a5859,'subUnitId':_0x4ccbc3,'pivotTableId':_0x1cd303}});const _0x24b6bb={...this[_0x347496(0x28a)][_0x347496(0x28c)](_0x1a5859,_0x1cd303)};_0x2915b7[_0x347496(0x1cc)]({'id':_0x5bd603['id'],'params':{'unitId':_0x1a5859,'subUnitId':_0x4ccbc3,'pivotTableId':_0x1cd303,'pivotTableConfig':_0x472b02,'collectionConfig':_0x24b6bb}});}return{'redos':_0x161b2e,'undos':_0x2915b7};}return{'redos':[],'undos':[]};}}));}};_0x3c22bb=_0x3e8db6([_0x1a9b57(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0xac1e83[_0x5b4c6d(0x22c)])),_0x1a9b57(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x216)]))],_0x3c22bb);var _0x14d7c7=Object[_0x5b4c6d(0x2f4)],_0x473368=(_0x506b99,_0x48ad43,_0x42d031,_0x1a21f8)=>{const _0x30009f=_0x5b4c6d;for(var _0x16ba08=_0x1a21f8>0x1?void 0x0:_0x1a21f8?_0x14d7c7(_0x48ad43,_0x42d031):_0x48ad43,_0x9fd151=_0x506b99[_0x30009f(0xad)]-0x1,_0x2c5781;_0x9fd151>=0x0;_0x9fd151--)(_0x2c5781=_0x506b99[_0x9fd151])&&(_0x16ba08=_0x2c5781(_0x16ba08)||_0x16ba08);return _0x16ba08;},_0x221af5=(_0x50b71e,_0x433e43)=>(_0x33fca1,_0x5aa3e0)=>_0x433e43(_0x33fca1,_0x5aa3e0,_0x50b71e);let _0x418b27=class extends _0x2be92f[_0x5b4c6d(0xb3)]{constructor(_0x28ab55,_0x533773,_0xeb00af,_0x369f7c,_0x1495b6,_0x33980f){const _0x57961=_0x5b4c6d;super(),this['_commandService']=_0x28ab55,this[_0x57961(0x2cb)]=_0x533773,this[_0x57961(0x2aa)]=_0xeb00af,this[_0x57961(0x28a)]=_0x369f7c,this['_univerInstanceService']=_0x1495b6,this['_activeDirtyManagerService']=_0x33980f,this[_0x57961(0x1fa)](),this[_0x57961(0x244)]();}['_initDataSendListener'](){const _0x44604a=_0x5b4c6d;this[_0x44604a(0x20b)](this[_0x44604a(0x2c6)][_0x44604a(0xcc)](_0x307bce=>{const _0x57926d=_0x44604a;if(_0x307bce['id']!==_0x5b3f8e['id'])return;const _0x416249=_0x307bce[_0x57926d(0x2ce)];this['_sheetsPivotRpcService'][_0x57926d(0x1eb)](_0x416249);})),this[_0x44604a(0x20b)](this['_commandService'][_0x44604a(0xcc)](_0xe43588=>{const _0x1af3a4=_0x44604a;if(_0xe43588['id']===_0x4c61bc['id']){const _0x4d8074=_0xe43588[_0x1af3a4(0x2ce)];if(_0x4d8074){const {unitId:_0x44b41,subUnitId:_0x3ca81e,oldSubUnitId:_0x289c1c,pivotTableId:_0x2c5c07,pivotTableConfig:_0x1b1e16,collectionConfig:_0x3d4ce6}=_0x4d8074;this[_0x1af3a4(0x28a)]['updateConfigCache'](_0x44b41,_0x289c1c,_0x4d8074[_0x1af3a4(0x80)],null),this['_sheetsPivotTableConfigModel'][_0x1af3a4(0x2a8)](_0x44b41,_0x3ca81e,_0x2c5c07,_0x1b1e16),this[_0x1af3a4(0x28a)]['updateCollectionConfig'](_0x44b41,_0x3d4ce6);}}})),this[_0x44604a(0x20b)](this[_0x44604a(0x2c6)][_0x44604a(0xcc)](_0x5804ea=>{const _0x325919=_0x44604a;if(_0x5804ea['id']!==_0x24b222['id'])return;const _0x1aa5a3=_0xac1e83[_0x325919(0x1bc)](this['_univerInstanceService']);if(!_0x1aa5a3)return;const {unitId:_0x4fb045,subUnitId:_0x1e1a93}=_0x1aa5a3,_0x5c49f9=_0x5804ea['params'];if(_0x5c49f9[_0x325919(0x233)]&&Object[_0x325919(0x102)](_0x5c49f9['collectionConfig'])[_0x325919(0x36a)](_0x22a727=>{const _0x17d4af=_0x325919;var _0x3b64a2;(_0x3b64a2=_0x5c49f9[_0x17d4af(0x233)])!=null&&_0x3b64a2[_0x22a727]&&this[_0x17d4af(0x28a)][_0x17d4af(0x153)](_0x22a727,_0x5c49f9[_0x17d4af(0x233)][_0x22a727]);}),_0x5c49f9[_0x325919(0x141)]){const _0x378ec9=_0x5c49f9['single'],{unitId:_0x1ac6bf,subUnitId:_0x284b6,view:_0x5bdfa9,pivotTableId:_0x3718c5,type:_0x1ce56b,pivotConfig:_0x1b466c}=_0x378ec9;if(_0x1ce56b===_0x1bbb8c[_0x325919(0x231)])this[_0x325919(0x2aa)]['clearRenderCache']({'unitId':_0x1ac6bf,'subUnitId':_0x284b6,'pivotTableId':_0x3718c5,'type':_0x1ce56b}),this[_0x325919(0x28a)]['updateConfigCache'](_0x1ac6bf,_0x284b6,_0x3718c5,null);else{const _0x579d5b=new _0x949178['PivotView']();_0x579d5b[_0x325919(0x106)](_0x5bdfa9),this[_0x325919(0x28a)][_0x325919(0x2a8)](_0x1ac6bf,_0x284b6,_0x3718c5,_0x1b466c),this['_sheetsPivotTableAdaptorModel'][_0x325919(0x1e7)]({'unitId':_0x1ac6bf,'subUnitId':_0x284b6,'pivotTableId':_0x3718c5,'type':_0x1ce56b,'view':_0x579d5b}),this[_0x325919(0x2aa)][_0x325919(0x14e)]({'unitId':_0x1ac6bf,'subUnitId':_0x284b6,'view':_0x579d5b,'pivotTableId':_0x3718c5,'type':_0x1ce56b});}}else _0x5c49f9[_0x325919(0x2b7)]&&(_0x5c49f9['batch']['forEach'](_0xe7cd60=>{const _0x2c0d60=_0x325919,{unitId:_0x4aa4cc,subUnitId:_0x10d8f8,view:_0x26cc49,pivotTableId:_0x108a6b,type:_0x571cf9,pivotConfig:_0x1e87ff}=_0xe7cd60,_0x5c8785=new _0x949178['PivotView']();_0x5c8785[_0x2c0d60(0x106)](_0x26cc49),this[_0x2c0d60(0x28a)]['updateConfigCache'](_0x4aa4cc,_0x10d8f8,_0x108a6b,_0x1e87ff),this[_0x2c0d60(0x2aa)][_0x2c0d60(0x14e)]({'unitId':_0x4aa4cc,'subUnitId':_0x10d8f8,'view':_0x5c8785,'pivotTableId':_0x108a6b,'type':_0x571cf9});}),this[_0x325919(0x28a)][_0x325919(0x1e3)]());this['_sheetsPivotTableAdaptorModel'][_0x325919(0x258)](_0x4fb045,_0x1e1a93);}));}[_0x5b4c6d(0x244)](){const _0x56a556=_0x5b4c6d;this[_0x56a556(0x24c)][_0x56a556(0x94)](_0x500ef9['id'],{'commandId':_0x500ef9['id'],'getDirtyData'(_0x51a7d1){const _0x1c7c22=_0x56a556;return{'dirtyUnitFeatureMap':_0x51a7d1[_0x1c7c22(0x2ce)]};}});}};_0x418b27=_0x473368([_0x221af5(0x0,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x109)])),_0x221af5(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x2c3)])),_0x221af5(0x2,_0x2be92f['Inject'](_0x3acc27[_0x5b4c6d(0x111)])),_0x221af5(0x3,_0x2be92f[_0x5b4c6d(0x253)](_0x3acc27[_0x5b4c6d(0x216)])),_0x221af5(0x4,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xd2)])),_0x221af5(0x5,_0x5172e4[_0x5b4c6d(0xbf)])],_0x418b27);var _0x212c60=Object[_0x5b4c6d(0x2f2)],_0x18b9b8=Object['getOwnPropertyDescriptor'],_0x14bda9=(_0x27636d,_0x474a9c,_0x567b7e)=>_0x474a9c in _0x27636d?_0x212c60(_0x27636d,_0x474a9c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x567b7e}):_0x27636d[_0x474a9c]=_0x567b7e,_0x2ef33c=(_0x4c4794,_0x4275ae,_0x51e733,_0x51fa20)=>{const _0x2f8082=_0x5b4c6d;for(var _0x1514c9=_0x51fa20>0x1?void 0x0:_0x51fa20?_0x18b9b8(_0x4275ae,_0x51e733):_0x4275ae,_0x5169f0=_0x4c4794[_0x2f8082(0xad)]-0x1,_0x187479;_0x5169f0>=0x0;_0x5169f0--)(_0x187479=_0x4c4794[_0x5169f0])&&(_0x1514c9=_0x187479(_0x1514c9)||_0x1514c9);return _0x1514c9;},_0x2dae77=(_0x2e9eef,_0x19b6cf)=>(_0x92352e,_0x21004a)=>_0x19b6cf(_0x92352e,_0x21004a,_0x2e9eef),_0xd4c3bb=(_0x5c71b3,_0x5e4e86,_0x52fe60)=>_0x14bda9(_0x5c71b3,typeof _0x5e4e86!=_0x5b4c6d(0xe7)?_0x5e4e86+'':_0x5e4e86,_0x52fe60);_0x3acc27['UniverSheetsPivotTablePlugin']=class extends _0x2be92f['Plugin']{constructor(_0xcb989e=_0x32b1dd,_0x583252,_0x34fd0c,_0x178afa,_0x48238a){const _0x37335a=_0x5b4c6d;super(),this[_0x37335a(0x30b)]=_0xcb989e,this[_0x37335a(0x214)]=_0x583252,this[_0x37335a(0x2c6)]=_0x34fd0c,this['_configService']=_0x178afa,this['_dataSyncPrimaryController']=_0x48238a;const {..._0x59c975}=_0x2be92f[_0x37335a(0x305)]({},_0x32b1dd,this[_0x37335a(0x30b)]);this[_0x37335a(0x1d3)][_0x37335a(0x1a5)](_0x1db600,_0x59c975),this['_initRegisterCommand'](),this[_0x37335a(0x32a)]();}[_0x5b4c6d(0x32a)](){const _0x589353=_0x5b4c6d;var _0x12d8cb;const _0x34e5fe=(_0x12d8cb=this[_0x589353(0x30b)])==null?void 0x0:_0x12d8cb[_0x589353(0x1d2)];this[_0x589353(0x1d3)][_0x589353(0x1a5)](_0x47449f,_0x34e5fe===!0x0);}[_0x5b4c6d(0x96)](){const _0x33eaa9=_0x5b4c6d;var _0x1d06f8;let _0x120b12=[];const _0x55e20e=(_0x1d06f8=this['_config'])==null?void 0x0:_0x1d06f8[_0x33eaa9(0x1d2)];_0x55e20e===!0x0?_0x120b12=[[_0x3acc27[_0x33eaa9(0xe0)]],[_0x3acc27[_0x33eaa9(0x2c3)]],[_0x418b27],[_0x3acc27[_0x33eaa9(0x111)]],[_0x3acc27['SheetsPivotTableConfigModel']],[_0x3c22bb],[_0x546739],[_0xc831c0],[_0xcab1f]]:_0x55e20e===!0x1?_0x120b12=[[_0x3acc27[_0x33eaa9(0x144)]],[_0x218320]]:_0x55e20e===void 0x0&&(_0x120b12=[[_0x3acc27[_0x33eaa9(0x144)]],[_0x218320],[_0x3acc27[_0x33eaa9(0xe0)]],[_0x3acc27[_0x33eaa9(0x2c3)]],[_0x418b27],[_0x3acc27[_0x33eaa9(0x111)]],[_0x3acc27['SheetsPivotTableConfigModel']],[_0x3c22bb],[_0x546739],[_0xc831c0],[_0xcab1f]]),_0x120b12['forEach'](_0x4e53cf=>this[_0x33eaa9(0x214)][_0x33eaa9(0xe3)](_0x4e53cf)),[_0x218320,_0x418b27,_0x3acc27[_0x33eaa9(0xe0)],_0x546739,_0x3c22bb,_0xc831c0,_0xcab1f]['forEach'](_0x555459=>{const _0x2a1dcd=_0x33eaa9;this[_0x2a1dcd(0x214)][_0x2a1dcd(0x208)](_0x555459)&&this['_injector'][_0x2a1dcd(0x177)](_0x555459);});}[_0x5b4c6d(0x1d8)](){const _0x234de5=_0x5b4c6d;[_0x16e723,_0x1b3268,_0x1febc0,_0x31a0e8,_0x3ffcde,_0x14775b,_0x4455f2,_0x3a1b26,_0x21788d,_0x58d703,_0x2497d3,_0x256053,_0x4215d3,_0x5ee8dc,_0x5bd603,_0x51e908,_0x1d746e,_0x24d4d2,_0x4263,_0x1253d3,_0x807385,_0x4df1a2,_0x51f654,_0x1d6ae3,_0x19ed47,_0x5a542d,_0x2730bb,_0x2ef776,_0x5b3f8e,_0x24b222,_0x152067,_0x24f1f7,_0x34c3c5,_0x7df36,_0x5273d0,_0x2988cb,_0x105cc8,_0x500ef9,_0x4c61bc,_0x3c9190,_0x82677d,_0x2121c9,_0x102e7b][_0x234de5(0x36a)](_0x37b980=>{const _0x358ca1=_0x234de5;var _0x4119c9;(_0x4119c9=this[_0x358ca1(0x211)])==null||_0x4119c9['registerSyncingMutations'](_0x37b980),this['_commandService'][_0x358ca1(0x1cf)](_0x37b980);});}},_0xd4c3bb(_0x3acc27[_0x5b4c6d(0x35a)],_0x5b4c6d(0xf6),_0x54e52d),_0xd4c3bb(_0x3acc27[_0x5b4c6d(0x35a)],_0x5b4c6d(0x2b6),_0x2be92f['UniverInstanceType'][_0x5b4c6d(0x150)]),_0x3acc27[_0x5b4c6d(0x35a)]=_0x2ef33c([_0x2be92f[_0x5b4c6d(0xbb)](_0x327f17[_0x5b4c6d(0x382)]),_0x2dae77(0x1,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0xf0)])),_0x2dae77(0x2,_0x2be92f[_0x5b4c6d(0x253)](_0x2be92f[_0x5b4c6d(0x109)])),_0x2dae77(0x3,_0x2be92f['IConfigService']),_0x2dae77(0x4,_0x2be92f[_0x5b4c6d(0x1bf)](_0x1a1d34['DataSyncPrimaryController']))],_0x3acc27[_0x5b4c6d(0x35a)]),_0x3acc27[_0x5b4c6d(0x85)]=_0x1febc0,_0x3acc27[_0x5b4c6d(0x34d)]=_0x24d4d2,_0x3acc27[_0x5b4c6d(0xe4)]=_0x1b3268,_0x3acc27[_0x5b4c6d(0x14d)]=_0x5bd603,_0x3acc27[_0x5b4c6d(0x81)]=_0x16e723,_0x3acc27[_0x5b4c6d(0xf2)]=_0x549def,_0x3acc27['DEFAULT_PIVOT_NUMBER']=_0x3008ad,_0x3acc27[_0x5b4c6d(0xe5)]=_0x31a0e8,_0x3acc27['MovePivotTableCommand']=_0x4215d3,_0x3acc27['PivotDisplayDataType']=_0x357f41,_0x3acc27['PivotDrillDownCommand']=_0x5ee8dc,_0x3acc27['PivotTableOperationEnum']=_0x1bbb8c,_0x3acc27[_0x5b4c6d(0x2a2)]=_0x500ef9,_0x3acc27[_0x5b4c6d(0x223)]=_0x5242d0,_0x3acc27[_0x5b4c6d(0x1ff)]=_0x3ffcde,_0x3acc27[_0x5b4c6d(0x361)]=_0x4df1a2,_0x3acc27[_0x5b4c6d(0x339)]=_0x1d746e,_0x3acc27[_0x5b4c6d(0x116)]=_0x51f654,_0x3acc27[_0x5b4c6d(0x127)]=_0x102e7b,_0x3acc27[_0x5b4c6d(0x2a9)]=_0x1db600,_0x3acc27[_0x5b4c6d(0x2ff)]=_0x54e52d,_0x3acc27[_0x5b4c6d(0x36e)]=_0x3a1b26,_0x3acc27[_0x5b4c6d(0xa3)]=_0x1d6ae3,_0x3acc27['SetPivotFieldFormatMutation']=_0x7df36,_0x3acc27[_0x5b4c6d(0x316)]=_0x2121c9,_0x3acc27['SetPivotFilterCommand']=_0x58d703,_0x3acc27[_0x5b4c6d(0x1b2)]=_0x807385,_0x3acc27[_0x5b4c6d(0x17d)]=_0x5a542d,_0x3acc27['SetPivotPositionMutation']=_0x2730bb,_0x3acc27['SetPivotSortCommand']=_0x21788d,_0x3acc27[_0x5b4c6d(0x28d)]=_0x19ed47,_0x3acc27[_0x5b4c6d(0x1b8)]=_0x34c3c5,_0x3acc27[_0x5b4c6d(0x9f)]=_0x3c9190,_0x3acc27['SetPivotValueFilterMutation']=_0x82677d,_0x3acc27['UpdateDateGroupCommand']=_0x4455f2,_0x3acc27['UpdateFieldPositionMutation']=_0x152067,_0x3acc27['UpdatePivotFieldSettingCommand']=_0x2497d3,_0x3acc27['UpdatePivotFieldSourceInfoMutation']=_0x105cc8,_0x3acc27[_0x5b4c6d(0x200)]=_0x256053,_0x3acc27[_0x5b4c6d(0x242)]=_0x2988cb,_0x3acc27[_0x5b4c6d(0x110)]=_0x14775b,_0x3acc27[_0x5b4c6d(0x372)]=_0x24f1f7,_0x3acc27['applyChangeSet']=_0x54af12,_0x3acc27[_0x5b4c6d(0x89)]=_0x259459,_0x3acc27[_0x5b4c6d(0xd4)]=_0x5f2a0b,_0x3acc27['generateSetRangeValueMutations']=_0x5bc07b,_0x3acc27[_0x5b4c6d(0x173)]=_0xca17aa,_0x3acc27[_0x5b4c6d(0x232)]=_0xec16bb,_0x3acc27[_0x5b4c6d(0x234)]=_0x1ddf05,_0x3acc27[_0x5b4c6d(0x190)]=_0x29e760,_0x3acc27[_0x5b4c6d(0x27d)]=_0x2b3cd3,_0x3acc27[_0x5b4c6d(0x74)]=_0xea67dc,_0x3acc27['getPivotTableInfo']=_0xc6cc36,_0x3acc27[_0x5b4c6d(0x8e)]=_0x306dd9,_0x3acc27[_0x5b4c6d(0x267)]=_0x4c470f,Object[_0x5b4c6d(0x2f2)](_0x3acc27,Symbol[_0x5b4c6d(0x378)],{'value':_0x5b4c6d(0x1df)});}));
|