@univerjs-pro/sheets-pivot 0.6.10-nightly.202504111607 → 0.6.10-nightly.202504121606
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 +39 -39
- 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 _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)});}));
|
|
1
|
+
(function(_0x3a26f9,_0xd57e88){const _0x2271ad=_0x542f,_0x3928c7=_0x3a26f9();while(!![]){try{const _0x1b90b0=-parseInt(_0x2271ad(0x2a4))/0x1*(-parseInt(_0x2271ad(0x36b))/0x2)+-parseInt(_0x2271ad(0x3ff))/0x3*(parseInt(_0x2271ad(0x449))/0x4)+parseInt(_0x2271ad(0x3a5))/0x5+parseInt(_0x2271ad(0x32c))/0x6+-parseInt(_0x2271ad(0x195))/0x7*(parseInt(_0x2271ad(0x3e6))/0x8)+-parseInt(_0x2271ad(0x368))/0x9+parseInt(_0x2271ad(0x1e3))/0xa;if(_0x1b90b0===_0xd57e88)break;else _0x3928c7['push'](_0x3928c7['shift']());}catch(_0x55c04b){_0x3928c7['push'](_0x3928c7['shift']());}}}(_0x46d7,0xbf957),function(_0x5ebcbb,_0x324991){const _0xd1c8b=_0x542f;typeof exports==_0xd1c8b(0x37d)&&typeof module<'u'?_0x324991(exports,require('@univerjs-pro/engine-pivot'),require(_0xd1c8b(0x2c6)),require(_0xd1c8b(0x1f0)),require('@univerjs/sheets'),require('rxjs'),require(_0xd1c8b(0x424)),require(_0xd1c8b(0x31a)),require(_0xd1c8b(0x298)),require('@univerjs/engine-render')):typeof define==_0xd1c8b(0x3ca)&&define['amd']?define([_0xd1c8b(0x1c4),'@univerjs-pro/engine-pivot',_0xd1c8b(0x2c6),_0xd1c8b(0x1f0),_0xd1c8b(0x1ae),_0xd1c8b(0x1f3),_0xd1c8b(0x424),_0xd1c8b(0x31a),'@univerjs/rpc',_0xd1c8b(0x2e9)],_0x324991):(_0x5ebcbb=typeof globalThis<'u'?globalThis:_0x5ebcbb||self,_0x324991(_0x5ebcbb[_0xd1c8b(0x396)]={},_0x5ebcbb[_0xd1c8b(0x2e2)],_0x5ebcbb[_0xd1c8b(0x245)],_0x5ebcbb[_0xd1c8b(0x1de)],_0x5ebcbb[_0xd1c8b(0x301)],_0x5ebcbb['rxjs'],_0x5ebcbb[_0xd1c8b(0x3df)],_0x5ebcbb['UniverSheetsFilter'],_0x5ebcbb['UniverRpc'],_0x5ebcbb[_0xd1c8b(0x145)]));}(this,function(_0x37cc3d,_0x403b84,_0x585029,_0x57dbf3,_0x537052,_0x28c886,_0x1eafcc,_0x5332cf,_0x221b99,_0x27abcd){'use strict';const _0x19f2bc=_0x542f;var _0x320389=Object[_0x19f2bc(0x28e)],_0x39b9a1=(_0x1f8704,_0x5a2851,_0x18ac88)=>_0x5a2851 in _0x1f8704?_0x320389(_0x1f8704,_0x5a2851,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18ac88}):_0x1f8704[_0x5a2851]=_0x18ac88,_0x37aa9d=(_0x1ddc9d,_0x49fba4,_0x25297a)=>_0x39b9a1(_0x1ddc9d,typeof _0x49fba4!=_0x19f2bc(0x39f)?_0x49fba4+'':_0x49fba4,_0x25297a);const _0x3859d0=Number[_0x19f2bc(0x1d9)](0x67fa907b),_0x45b349=0x10,_0x41a561=0x1,_0x3dbca5=_0x19f2bc(0x418),_0x65df37=0x1,_0x1c7b74=_0x19f2bc(0x1c0),_0x556404=_0x19f2bc(0x378),_0xce8fa='#b2b2b2',_0x2acc0d=_0x19f2bc(0x314),_0x4a2471=_0x19f2bc(0x314),_0x4c6484=_0x19f2bc(0x3ef),_0x2d1916=_0x19f2bc(0x370),_0x27faa9=_0x19f2bc(0x1b1),_0xaf0f22='#e6ebfa',_0x5a9b63=_0x19f2bc(0x370),_0x4f0a63='#FFFFFF',_0x1fa92f=_0x19f2bc(0x2c4),_0xa47f72=0xe,_0x1551dd=0x6;var _0x516961=(_0x3e56a6=>(_0x3e56a6['Existing']='existing',_0x3e56a6[_0x19f2bc(0x209)]=_0x19f2bc(0x367),_0x3e56a6))(_0x516961||{});const _0x2f6606={'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':''}}},_0x40164c=0x1e,_0x3061ca={'b':{'s':0x1,'cl':{'rgb':_0xce8fa}},'l':{'s':0x1,'cl':{'rgb':_0xce8fa}},'r':{'s':0x1,'cl':{'rgb':_0xce8fa}},'t':{'s':0x1,'cl':{'rgb':_0xce8fa}}},_0x383e1a={'bg':{'rgb':_0x1c7b74},'ht':0x2,'vt':0x2,'tb':0x1},_0x5a1cf1={'bg':{'rgb':_0x556404},'ht':0x2,'vt':0x2,'tb':0x1},_0x312c25={'rowStyle':{'bg':{'rgb':_0x1fa92f},'bd':_0x3061ca,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5a9b63},'bd':null,'cl':{'rgb':_0x4f0a63},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3061ca,'bg':{'rgb':_0xaf0f22},'vt':0x2},'cornerStyle':{'bd':_0x3061ca,'bg':{'rgb':_0x4c6484},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3061ca,'bg':{'rgb':_0x2acc0d},'vt':0x2},'leafStyle':{'bd':_0x3061ca,'bg':{'rgb':_0x4a2471},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2d1916},'cl':{'rgb':_0x27faa9},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3061ca,'vt':0x2}};function _0x48c841(_0x4ff58f,_0x23376c,_0x5b3947){const _0x28fa02=_0x19f2bc,_0x554bcc=_0x4ff58f[_0x28fa02(0x2b1)](_0x585029['LocaleService']),_0x53e727=_0x5b3947[_0x28fa02(0x28b)]('_');switch(_0x23376c){case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x3af)]:return _0x554bcc['t'](_0x28fa02(0x3c3),..._0x53e727);case _0x403b84['PivotDateGroupFieldDateTypeEnum'][_0x28fa02(0x3ce)]:return _0x554bcc['t'](_0x28fa02(0x2f8),..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)]['Hour']:return _0x554bcc['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x153)]:return _0x554bcc['t'](_0x28fa02(0x3cf),..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)]['Date']:return _0x554bcc['t'](_0x28fa02(0x388),..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)]['Month']:return _0x554bcc['t'](_0x28fa02(0x312),..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x44c)]:return _0x554bcc['t'](_0x28fa02(0x29e),..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x321)]:return _0x554bcc['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x3ee)]:return _0x554bcc['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x53e727);case _0x403b84[_0x28fa02(0x2cf)][_0x28fa02(0x32f)]:return _0x554bcc['t'](_0x28fa02(0x1a7),..._0x53e727);}return'';}const _0x4c953e=(_0xacd8ec,_0x33cb9e,_0x20960a,_0x389a35)=>{const _0xd47003=_0x19f2bc;let _0x293e4b;const _0x33157f=_0xacd8ec[_0xd47003(0x2b1)](_0x585029[_0xd47003(0x42c)])['getCurrentUnitForType'](_0x585029[_0xd47003(0x2d6)][_0xd47003(0x383)]);if(!_0x33157f)return null;const _0x326baf=_0x33157f[_0xd47003(0x287)]();let _0x3f73b1;if(_0x20960a&&(_0x3f73b1=_0x326baf[_0xd47003(0x218)](_0x20960a)),_0x33cb9e!=null&&_0x33cb9e['v']||(_0x33cb9e==null?void 0x0:_0x33cb9e['v'])===0x0){_0x293e4b||(_0x293e4b={});const _0x32c886=_0x3ddd19(_0x33cb9e['v']);typeof _0x32c886==_0xd47003(0x33e)?_0x293e4b['t']=_0x585029[_0xd47003(0x355)]['NUMBER']:typeof _0x32c886=='string'&&(_0x293e4b['t']=_0x585029[_0xd47003(0x355)][_0xd47003(0x2b0)]),_0x293e4b['v']=_0x32c886;}if((_0x33cb9e!=null&&_0x33cb9e['i']||(_0x33cb9e==null?void 0x0:_0x33cb9e['i'])===0x0)&&(_0x293e4b||(_0x293e4b={}),_0x293e4b['fi']=_0x33cb9e['i']),_0x33cb9e!=null&&_0x33cb9e['s']&&(_0x293e4b||(_0x293e4b={}),_0x293e4b[_0xd47003(0x173)]=_0x33cb9e['s']),_0x20960a&&(_0x293e4b||(_0x293e4b={}),_0x293e4b['s']=_0x3f73b1),_0x389a35&&_0x293e4b!=null&&_0x293e4b['v']&&_0x293e4b[_0xd47003(0x173)]!==_0x403b84[_0xd47003(0x294)][_0xd47003(0x2ee)]&&_0x293e4b['pbt']!==_0x403b84[_0xd47003(0x294)][_0xd47003(0x413)]){const _0x3f169b=String(_0x293e4b['v']),{dateType:_0x33ac26}=_0x389a35;_0x293e4b['v']=_0x48c841(_0xacd8ec,_0x33ac26,_0x3f169b),_0x293e4b['t']=_0x585029[_0xd47003(0x355)]['STRING'];}return _0x293e4b;},_0x1b2e46=(_0x39e2af,_0x520224,_0xaf1c1,_0x1b250b)=>{const _0x2e46ec=_0x19f2bc;var _0x420f0f,_0x3acdc0,_0x43af0f,_0xc7dbac,_0x32f369,_0x5a1efe,_0x28685c,_0x4eae82,_0x1fecfc,_0x270557,_0x7fd777,_0x43c4b3,_0x3c64e2,_0x485b25;const _0x3380d0=_0xaf1c1[_0x2e46ec(0x25f)],{cornerView:_0x28f672,rowView:_0x2a2ff3,colView:_0x3642d3,dataView:_0x5d0963,pageView:_0x47470c,formatMap:_0x9c9ca5,groupInfo:_0x3bd940}=_0x520224,{row:_0x348f79,col:_0x3cd073}=_0x3380d0,_0x486baf=new _0x585029['ObjectMatrix'](),_0x5b7799={},_0x536af7={},_0x58407a={},_0x316ceb={},_0x517bf9={};let _0xabac0a=_0x348f79,_0x5996db=_0x3cd073;Object[_0x2e46ec(0x255)](_0x47470c[_0x2e46ec(0x28f)])[_0x2e46ec(0x1d4)](_0x63882f=>{const _0x3177f0=_0x2e46ec;Object['keys'](_0x47470c[_0x3177f0(0x28f)][Number(_0x63882f)])[_0x3177f0(0x1d4)](_0x470dc1=>{const _0x20b1f0=_0x3177f0,_0x44f0fd={..._0x47470c[_0x20b1f0(0x28f)][Number(_0x63882f)][Number(_0x470dc1)]};_0x486baf['setValue'](Number(_0x63882f)+_0xabac0a,Number(_0x470dc1)+_0x5996db,_0x4c953e(_0x39e2af,_0x44f0fd,_0x312c25['pageStyle']));});});const _0x2ec00e=Object[_0x2e46ec(0x255)](_0x47470c['data'])['length'];_0xabac0a+=_0x2ec00e+(_0x2ec00e?_0x65df37:0x0);const _0x3ca91b=_0x28f672[_0x2e46ec(0x25e)](),_0x6ff719=_0x28f672['getColCount']();for(let _0x305475=0x0;_0x305475<_0x3ca91b;_0x305475++)for(let _0x3394b4=0x0;_0x3394b4<_0x6ff719;_0x3394b4++){const _0x292ab8={...(_0x3acdc0=(_0x420f0f=_0x28f672[_0x2e46ec(0x28f)])==null?void 0x0:_0x420f0f[_0x305475])==null?void 0x0:_0x3acdc0[_0x3394b4]};_0x292ab8&&((_0x43af0f=_0x2a2ff3['headerMap'][_0x3394b4])!=null&&_0x43af0f[_0x2e46ec(0x390)])&&_0x3394b4===_0x6ff719-0x1&&_0x305475===_0x3ca91b-0x1&&(_0x292ab8['v']=''+_0x1b250b[_0x2e46ec(0x30e)]),_0x486baf[_0x2e46ec(0x218)](_0x305475+_0xabac0a,_0x3394b4+_0x5996db,_0x4c953e(_0x39e2af,_0x292ab8,_0x312c25['cornerStyle']));}for(let _0x278fbc=0x0;_0x278fbc<_0x28f672['info'][_0x2e46ec(0x183)];_0x278fbc++)_0x28f672['info'][_0x278fbc]&&(_0x58407a[''+(_0x278fbc+_0x5996db)]=_0x28f672[_0x2e46ec(0x1fa)][_0x278fbc]);_0x5996db+=_0x6ff719;const _0x382c68=_0x3642d3[_0x2e46ec(0x2ea)],_0x7cb7ab=_0x3642d3[_0x2e46ec(0x44b)]()>=0x0?_0x3642d3[_0x2e46ec(0x44b)]()+0x1:0x0,_0x387ae3=_0x3642d3[_0x2e46ec(0x269)]()>=0x0?_0x3642d3[_0x2e46ec(0x269)]()+0x1:0x0;for(let _0x1a2ef4=0x0;_0x1a2ef4<_0x387ae3;_0x1a2ef4++){for(let _0x14a915=0x0;_0x14a915<_0x7cb7ab;_0x14a915++){const _0x7c5244={...(_0x32f369=(_0xc7dbac=_0x3642d3['data'])==null?void 0x0:_0xc7dbac[_0x14a915])==null?void 0x0:_0x32f369[_0x1a2ef4]},_0x31dc4d=(_0x5a1efe=_0x382c68[_0x14a915])==null?void 0x0:_0x5a1efe[_0x2e46ec(0x14e)],_0x179da7=_0x9c9ca5[_0x31dc4d],_0x239901=_0x3bd940[_0x31dc4d];_0x7c5244&&(_0x7c5244['v']=_0x13abf2(_0x7c5244,_0x14a915===0x0&&((_0x28685c=_0x3642d3[_0x2e46ec(0x219)](_0x1a2ef4+0x1))==null?void 0x0:_0x28685c[_0x2e46ec(0x390)]),_0x179da7,_0x1b250b));let _0x189d78;_0x179da7?_0x189d78={..._0x312c25[_0x2e46ec(0x249)],'n':{'pattern':_0x179da7}}:_0x189d78={..._0x312c25[_0x2e46ec(0x249)]},_0x486baf[_0x2e46ec(0x218)](_0x14a915+_0xabac0a,_0x1a2ef4+_0x5996db,_0x4c953e(_0x39e2af,_0x7c5244,_0x189d78,_0x239901));}_0x3642d3[_0x2e46ec(0x1fa)][_0x1a2ef4]&&(_0x536af7[''+(_0x1a2ef4+_0x5996db)]=_0x3642d3['info'][_0x1a2ef4]),_0x3642d3[_0x2e46ec(0x2ea)][_0x1a2ef4+0x1]&&(_0x517bf9[''+(_0x1a2ef4+_0xabac0a+0x1)]=_0x3642d3[_0x2e46ec(0x2ea)][_0x1a2ef4+0x1]);}_0xabac0a+=_0x3ca91b;const _0x2eea0e=_0x2a2ff3[_0x2e46ec(0x2ea)],_0x38eb9d=_0x2a2ff3[_0x2e46ec(0x44b)]()>=0x0?_0x2a2ff3[_0x2e46ec(0x44b)]()+0x1:0x0,_0x4f07cb=_0x2a2ff3['getLastCol']()>=0x0?_0x2a2ff3[_0x2e46ec(0x269)]()+0x1:0x0;for(let _0x1dcabb=0x0;_0x1dcabb<_0x38eb9d;_0x1dcabb++){for(let _0xc1d56c=0x0;_0xc1d56c<_0x4f07cb;_0xc1d56c++){const _0x5ab3ad={...(_0x1fecfc=(_0x4eae82=_0x2a2ff3[_0x2e46ec(0x28f)])==null?void 0x0:_0x4eae82[_0x1dcabb])==null?void 0x0:_0x1fecfc[_0xc1d56c]},_0x1bd616=(_0x270557=_0x2eea0e[_0xc1d56c])==null?void 0x0:_0x270557[_0x2e46ec(0x14e)],_0x40cbc4=_0x9c9ca5[_0x1bd616],_0x376822=_0x3bd940[_0x1bd616];_0x5ab3ad&&(_0x5ab3ad['v']=_0x13abf2(_0x5ab3ad,!0x1,_0x40cbc4,_0x1b250b));let _0x1ed310;_0x2a2ff3[_0x2e46ec(0x1fa)][_0x1dcabb]['level']===_0x2a2ff3[_0x2e46ec(0x3c2)]()?_0x1ed310=_0x312c25[_0x2e46ec(0x17f)]:_0x2a2ff3[_0x2e46ec(0x1fa)][_0x1dcabb]['isBottomTotal']?_0x1ed310=_0x2a2ff3[_0x2e46ec(0x1fa)][_0x1dcabb][_0x2e46ec(0x41c)]===0x0?_0x312c25[_0x2e46ec(0x234)]:_0x312c25[_0x2e46ec(0x3da)]:_0x1ed310=_0x312c25[_0x2e46ec(0x433)],_0x40cbc4&&(_0x1ed310={..._0x1ed310,'n':{'pattern':_0x40cbc4}}),_0x486baf[_0x2e46ec(0x218)](_0x1dcabb+_0xabac0a,_0xc1d56c+_0x3cd073,_0x4c953e(_0x39e2af,_0x5ab3ad,_0x1ed310,_0x376822));}_0x2a2ff3[_0x2e46ec(0x1fa)][_0x1dcabb]&&(_0x5b7799[''+(_0x1dcabb+_0xabac0a)]=_0x2a2ff3[_0x2e46ec(0x1fa)][_0x1dcabb]),_0x2a2ff3[_0x2e46ec(0x2ea)][_0x1dcabb]&&(_0x316ceb[''+(_0x1dcabb+_0x3cd073)]=_0x2a2ff3[_0x2e46ec(0x2ea)][_0x1dcabb]);}const _0x1dfab5=_0x5d0963[_0x2e46ec(0x25e)](),_0x411414=_0x5d0963[_0x2e46ec(0x3c2)]();for(let _0x24a7cd=0x0;_0x24a7cd<_0x1dfab5;_0x24a7cd++)for(let _0xeffc5a=0x0;_0xeffc5a<_0x411414;_0xeffc5a++){const _0x33aada={...(_0x43c4b3=(_0x7fd777=_0x5d0963[_0x2e46ec(0x28f)])==null?void 0x0:_0x7fd777[_0x24a7cd])==null?void 0x0:_0x43c4b3[_0xeffc5a]};let _0x2eaf70;_0x2a2ff3['info'][_0x24a7cd]['isBottomTotal']?_0x2eaf70=_0x2a2ff3[_0x2e46ec(0x1fa)][_0x24a7cd][_0x2e46ec(0x41c)]===0x0?_0x312c25[_0x2e46ec(0x234)]:_0x312c25['subTotalStyle']:_0x2eaf70=_0x312c25[_0x2e46ec(0x3ac)];const _0x514e47=_0x2a2ff3[_0x2e46ec(0x1fa)][_0x24a7cd][_0x2e46ec(0x19b)],_0x3479d2=_0x3642d3[_0x2e46ec(0x1fa)][_0xeffc5a][_0x2e46ec(0x19b)],_0x2caf9f=Math['max'](_0x514e47,_0x3479d2),_0x59d7dd=_0xaf1c1[_0x2e46ec(0x373)][_0x2e46ec(0x40e)][_0x2e46ec(0x2a9)]();let _0x580a68='';_0x2caf9f<0x0?_0x580a68=(_0x3c64e2=_0x59d7dd[0x0])!=null?_0x3c64e2:'':_0x580a68=(_0x485b25=_0x59d7dd[_0x2caf9f])!=null?_0x485b25:'';const _0x1d96bd=_0x9c9ca5[_0x580a68];_0x1d96bd&&(_0x2eaf70={..._0x2eaf70,'n':{'pattern':_0x1d96bd}}),_0x486baf[_0x2e46ec(0x218)](_0x24a7cd+_0xabac0a,_0xeffc5a+_0x5996db,_0x4c953e(_0x39e2af,_0x33aada,_0x2eaf70));}return{'valueMatrix':_0x486baf,'rowInfo':_0x5b7799,'colInfo':_0x536af7,'cornerInfo':_0x58407a,'rowHeaderMap':_0x316ceb,'colHeaderMap':_0x517bf9};};function _0x13abf2(_0x5c23f6,_0x229320,_0xe76b38,_0x526e76){const _0x2e1dc1=_0x19f2bc;let _0x166cc5=_0x5c23f6['v'];_0x229320&&(_0x166cc5=''+_0x526e76[_0x2e1dc1(0x30e)]);const _0x5b0558=_0x5c23f6['t']&&(_0x5c23f6['t']&_0x403b84[_0x2e1dc1(0x141)][_0x2e1dc1(0x1d2)])>0x0;if(_0x5b0558&&(_0x166cc5=''+_0x526e76[_0x2e1dc1(0x1ab)]),_0x5c23f6['s']===_0x403b84[_0x2e1dc1(0x294)][_0x2e1dc1(0x413)]){let _0x29dcc0=_0x166cc5,_0x3be994='';_0x403b84[_0x2e1dc1(0x1c6)](_0x166cc5)&&(_0x29dcc0=_0x166cc5[_0x2e1dc1(0x1dd)],_0x3be994=_0x166cc5[_0x2e1dc1(0x3bf)]);const _0x3e02e2=_0xe76b38&&!_0x5b0558?_0x585029[_0x2e1dc1(0x345)]['format'](_0xe76b38,Number(_0x29dcc0)):_0x29dcc0;_0x3be994?_0x166cc5=_0x3e02e2+'\x20'+_0x3be994:_0x166cc5=_0x3e02e2+'\x20'+_0x526e76['sheets-pivot.subTotal'];}else _0x5c23f6['s']===_0x403b84['PivotCellStyleTypeEnum'][_0x2e1dc1(0x2ee)]&&(_0x166cc5=_0x166cc5+'\x20'+_0x526e76[_0x2e1dc1(0x2bb)]);return _0x166cc5;}function _0x3ddd19(_0x5c07d8){const _0x3ae56e=_0x19f2bc;if(_0x403b84['isErrorValue'](_0x5c07d8)){const {errorType:_0x1b061d}=_0x5c07d8;switch(_0x1b061d){case _0x403b84[_0x3ae56e(0x1e9)]['Div0']:return _0x57dbf3['ErrorType'][_0x3ae56e(0x263)];case _0x403b84[_0x3ae56e(0x1e9)]['NotNumber']:return _0x57dbf3[_0x3ae56e(0x3f0)][_0x3ae56e(0x3ed)];case _0x403b84[_0x3ae56e(0x1e9)][_0x3ae56e(0x3c7)]:return _0x57dbf3[_0x3ae56e(0x3f0)][_0x3ae56e(0x202)];case _0x403b84[_0x3ae56e(0x1e9)][_0x3ae56e(0x181)]:return _0x57dbf3[_0x3ae56e(0x3f0)][_0x3ae56e(0x202)];case _0x403b84[_0x3ae56e(0x1e9)][_0x3ae56e(0x356)]:return _0x57dbf3[_0x3ae56e(0x3f0)]['REF'];}}return _0x5c07d8;}function _0x3a254c(_0x330360,_0x4cb6c3,_0x57e471=!0x1,_0x2ccffd=!0x1){const _0xe55e90=_0x19f2bc,{data:_0x6401a1}=_0x4cb6c3,_0x2d275e=_0x4cb6c3[_0xe55e90(0x25e)](),_0x1d8a7a=_0x4cb6c3['getColCount']();if(_0x2d275e<=0x0||_0x1d8a7a<=0x0)return[];const _0x79d828=_0x4cb6c3[_0xe55e90(0x269)](),_0x1f8138=_0x4cb6c3[_0xe55e90(0x44b)](),_0x816e7f=_0x2ccffd?_0x1f8138>=0x0?_0x1f8138+0x1:0x0:_0x2d275e,_0x6799a8=_0x2ccffd?_0x79d828>=0x0?_0x79d828+0x1:0x0:_0x1d8a7a,{row:_0x5856b2,col:_0xd56fb3}=_0x330360,_0x5dba8c=_0x5856b2,_0x1c6c9e=_0xd56fb3;if(_0x57e471){const _0x42b6e4=[];for(const [_0x9d541a,_0x33f514]of Object[_0xe55e90(0x2aa)](_0x6401a1))for(const [_0x33aeae,_0x36e689]of Object['entries'](_0x33f514))_0x42b6e4[_0xe55e90(0x1b6)](_0x585029[_0xe55e90(0x3a6)](_0x5dba8c+Number(_0x9d541a),_0x1c6c9e+Number(_0x33aeae)));return _0x42b6e4;}else{const _0x4af3b7=_0x2ccffd?_0x816e7f>0x0?0x1:0x0:0x1,_0x3a9c05=_0x2ccffd?_0x6799a8>0x0?0x1:0x0:0x1,_0x27bd75=_0x5856b2+_0x816e7f-_0x4af3b7,_0x3ebe5b=_0xd56fb3+_0x6799a8-_0x3a9c05;return[{'startRow':_0x5dba8c,'startColumn':_0x1c6c9e,'endRow':_0x27bd75,'endColumn':_0x3ebe5b}];}}const _0x47e846=_0x19f2bc(0x338),_0x4978c8=_0x19f2bc(0x201);var _0x24e6a2=(_0x7a35ff=>(_0x7a35ff[_0x19f2bc(0x179)]=_0x19f2bc(0x244),_0x7a35ff[_0x19f2bc(0x1a2)]=_0x19f2bc(0x32d),_0x7a35ff[_0x19f2bc(0x2bd)]=_0x19f2bc(0x1a9),_0x7a35ff[_0x19f2bc(0x2b3)]=_0x19f2bc(0x2b3),_0x7a35ff['AddPivotTable']='addPivotTable',_0x7a35ff[_0x19f2bc(0x178)]='movePivotField',_0x7a35ff[_0x19f2bc(0x450)]=_0x19f2bc(0x2d5),_0x7a35ff[_0x19f2bc(0x1d1)]=_0x19f2bc(0x29f),_0x7a35ff[_0x19f2bc(0x1fc)]='setPivotFilter',_0x7a35ff[_0x19f2bc(0x275)]=_0x19f2bc(0x24e),_0x7a35ff[_0x19f2bc(0x2bf)]=_0x19f2bc(0x437),_0x7a35ff[_0x19f2bc(0x22e)]=_0x19f2bc(0x3a9),_0x7a35ff[_0x19f2bc(0x1a1)]=_0x19f2bc(0x40f),_0x7a35ff[_0x19f2bc(0x40c)]='drillDown',_0x7a35ff[_0x19f2bc(0x235)]='setValuePivotFilter',_0x7a35ff[_0x19f2bc(0x199)]=_0x19f2bc(0x3b9),_0x7a35ff[_0x19f2bc(0x35d)]=_0x19f2bc(0x3d0),_0x7a35ff))(_0x24e6a2||{});const _0x4b01bd={'sheets-pivot.blankValue':_0x19f2bc(0x18d),'sheets-pivot.columnName':_0x19f2bc(0x168),'sheets-pivot.subTotalText':_0x19f2bc(0x320),'sheets-pivot.grandTotalText':_0x19f2bc(0x362),'sheets-pivot.valueText':_0x19f2bc(0x39a),'sheets-pivot.averageName':_0x19f2bc(0x3b5),'sheets-pivot.countName':_0x19f2bc(0x158),'sheets-pivot.countNumsName':_0x19f2bc(0x158),'sheets-pivot.maxName':_0x19f2bc(0x2f9),'sheets-pivot.minName':_0x19f2bc(0x33b),'sheets-pivot.productName':_0x19f2bc(0x375),'sheets-pivot.stdDevName':_0x19f2bc(0x403),'sheets-pivot.stdDevpName':_0x19f2bc(0x14d),'sheets-pivot.sumName':_0x19f2bc(0x364),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x19f2bc(0x434),'sheets-pivot.subTotal':_0x19f2bc(0x413),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x19f2bc(0x1d2),'sheets-pivot.emptyPivot.filter':_0x19f2bc(0x179),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x19f2bc(0x22b),'sheets-pivot.emptyPivot.values':_0x19f2bc(0x21f)},_0x53465d={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1d05a1=_0x585029[_0x19f2bc(0x414)]('pivotPerformCheck'),_0x19d91c=_0x585029[_0x19f2bc(0x182)](_0x19f2bc(0x19f));var _0x3acc8d=(_0x4f6ccf=>(_0x4f6ccf[_0x19f2bc(0x1f8)]=_0x19f2bc(0x1f8),_0x4f6ccf[_0x19f2bc(0x3d8)]='delete',_0x4f6ccf[_0x19f2bc(0x285)]='update',_0x4f6ccf))(_0x3acc8d||{}),_0x29e361=(_0xf7f8ad=>(_0xf7f8ad[_0x19f2bc(0x326)]=_0x19f2bc(0x1f8),_0xf7f8ad[_0x19f2bc(0x24f)]=_0x19f2bc(0x36d),_0xf7f8ad[_0x19f2bc(0x21d)]=_0x19f2bc(0x3d8),_0xf7f8ad))(_0x29e361||{});const _0x2a972c={0x0:'c',0x1:'A',0x2:'M',0x3:'d',0x4:'8',0x5:'2',0x6:'t',0x7:'U',0x8:'I',0x9:'j','s':'0','Y':'1','q':'3','M':'4','A':'5','j':'6','k':'7','t':'9','y':'a','h':'b','J':'e','N':'f','H':'g','B':'h','a':'i','x':'k','v':'l','C':'m','n':'n','K':'o','Z':'p','S':'q','b':'r','e':'s','l':'u','f':'v','L':'w','g':'x','I':'y','W':'z','E':'B','G':'C','r':'D','X':'E','c':'F','Q':'G','u':'H','z':'J','F':'K','T':'L','m':'N','i':'O','O':'P','P':'Q','R':'R','V':'S','w':'T','d':'V','U':'W','p':'X','D':'Y','o':'Z'},_0x173bc1='Nln06aKn\x203J0bIZ6aKn(va0JneJ,\x20Zlhva0FJI)\x20{\x20\x20\x20\x206bI\x20{\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20va0JneJ8nNKOyb61bbyI\x20=\x20va0JneJ.eZva6(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20KbaHan2JeeyHJ\x20=\x20zVim.ZybeJ(y6Kh(va0JneJ8nNKOyb61bbyI[5]));\x20\x20\x20\x20\x20\x20\x20\x20aN\x20(!KbaHan2JeeyHJ.l3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KbaHan2JeeyHJ.l3\x20=\x20mlChJb(va0JneJ8nNKOyb61bbyI[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20aeUKbxJb\x20=\x206IZJKN\x20UKbxJbQvKhyvV0KZJ\x20!==\x20\x27ln3JNanJ3\x27\x20&&\x20eJvN\x20ane6yn0JKN\x20UKbxJbQvKhyvV0KZJ;\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x200Kn6Jg6\x20=\x20aeUKbxJb\x20?\x20eJvN\x20:\x20Lan3KL;\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20CJeeyHJUKb3\x20=\x200Kn6Jg6.__EyeJjM__.ZybeJ(va0JneJ8nNKOyb61bbyI[5]);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20CJeeyHJ\x20=\x200Kn6Jg6.__uJg__.e6banHaNI(CJeeyHJUKb3);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20eaHny6lbJUKb3\x20=\x200Kn6Jg6.__EyeJjM__.ZybeJ(va0JneJ8nNKOyb61bbyI[q]);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20eaHny6lbJ\x20=\x200Kn6Jg6.__uJg__.e6banHaNI(eaHny6lbJUKb3);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20eaHndyva3\x20=\x200Kn6Jg6.__fJbaNI__(eaHny6lbJ,\x20CJeeyHJ,\x20Zlhva0FJI);\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x203KCyan\x20=\x20KbaHan2JeeyHJ.3C;\x20\x20\x20\x20\x20\x20\x20\x20Nln06aKn\x20aerKCyan2y60BanH(KOy66Jbn,\x20KuKe6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20Zy66Jbn\x20=\x20KOy66Jbn.bJZvy0J(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20BKe6\x20=\x20KuKe6.bJZvy0J(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20Zy66JbnOyb6e\x20=\x20Zy66Jbn.eZva6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20BKe6Oyb6e\x20=\x20BKe6.eZva6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aN\x20(!Zy66Jbn.an0vl3Je(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bJ6lbn\x20Zy66Jbn\x20===\x20BKe6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aN\x20(Zy66JbnOyb6e.vJnH6B\x20<\x205\x20||\x20Zy66JbnOyb6e[s]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bJ6lbn\x20NyveJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20Zy66JbnVlNNag\x20=\x20Zy66JbnOyb6e.eva0J(Y).9Kan(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20BKe6VlNNag\x20=\x20BKe6Oyb6e.eva0J(-Zy66JbnOyb6e.vJnH6B\x20+\x20Y).9Kan(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bJ6lbn\x20Zy66JbnVlNNag\x20===\x20BKe6VlNNag;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vJ6\x203KCyandyva3\x20=\x20(3KCyan\x20&&\x203KCyan.vJnH6B)\x20?\x203KCyan.eKCJ((3C86JC)\x20=>\x20aerKCyan2y60BanH(3C86JC,\x20vK0y6aKn.BKe6nyCJ))\x20:\x206blJ;\x20\x20\x20\x20\x20\x20\x20\x20aN\x20(vK0y6aKn.BKe6nyCJ\x20===\x20\x27vK0yvBKe6\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203KCyandyva3\x20=\x206blJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200Kne6\x20fyva3\x20=\x20eaHndyva3\x20&&\x203KCyandyva3;\x20\x20\x20\x20\x20\x20\x20\x20bJ6lbn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fyva3,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CJeeyHJ:\x20KbaHan2JeeyHJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x200y60B\x20(JbbKb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20bJ6lbn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fyva3:\x20NyveJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CJeeyHJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x32866a={'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x1dc),'handler':()=>!0x0},_0x21900c={'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x2ab),'handler':()=>!0x0},_0x2bc750={'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x238),'handler':()=>!0x0},_0x479728={'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x331),'handler':()=>!0x0},_0x3ed008={'type':_0x585029['CommandType']['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x3dac36=_0x994a2b=>{const _0x2fdeb5=_0x19f2bc;var _0x3c156d;return((_0x3c156d=_0x994a2b[_0x2fdeb5(0x16a)])==null?void 0x0:_0x3c156d[_0x2fdeb5(0x3c0)][_0x2fdeb5(0x1a3)](/\r\n$/,''))||'';};class _0xeb87d3 extends _0x403b84[_0x19f2bc(0x39c)]{constructor(_0xf13f45,_0x537fec){const _0x327148=_0x19f2bc;super(),_0x37aa9d(this,_0x327148(0x3eb),{}),_0x37aa9d(this,_0x327148(0x358)),_0x37aa9d(this,_0x327148(0x140)),(this[_0x327148(0x358)]=_0x537fec,this[_0x327148(0x140)]=_0xf13f45);}['initDataRanges'](){const _0x22b655=_0x19f2bc;for(const _0x34444b in this['dataFields']){const _0x52db9c=this['dataFields'][_0x34444b],_0x2e8191=_0x52db9c[_0x22b655(0x3c6)]();this[_0x22b655(0x3eb)][_0x2e8191]=_0x52db9c['getId']();}}['getAutoDisplayNameFunction'](){const _0x517dc1=_0x19f2bc,_0x593990=this[_0x517dc1(0x140)];return _0x54bb8d[_0x517dc1(0x3a0)](_0x593990);}['deleteDataField'](_0x2f34ae){const _0x1a2dc1=_0x19f2bc,_0x4bb9d9=this['dataFields'][_0x2f34ae][_0x1a2dc1(0x1bc)];delete this[_0x1a2dc1(0x16d)][_0x2f34ae],delete this[_0x1a2dc1(0x3eb)][_0x4bb9d9];}[_0x19f2bc(0x155)](_0x2e1c62){const _0x2c6f7d=_0x19f2bc;this[_0x2c6f7d(0x16d)][_0x2e1c62[_0x2c6f7d(0x2dc)]()]=_0x2e1c62;}[_0x19f2bc(0x1d8)](_0x13a4c3){const _0x36e9b5=_0x19f2bc;var _0x484323,_0x40060b;const _0x1bc65c=this[_0x36e9b5(0x140)][_0x36e9b5(0x1d6)](_0x13a4c3);if(_0x1bc65c){const {unitId:_0x4a3941,subUnitId:_0x54fd99}=_0x1bc65c,_0x19e5a6=(_0x484323=this[_0x36e9b5(0x140)][_0x36e9b5(0x2eb)](_0x4a3941,_0x54fd99,_0x13a4c3))==null?void 0x0:_0x484323[_0x36e9b5(0x389)];this[_0x36e9b5(0x140)]['broadcastCollectionChange']({'token':_0x13a4c3,'type':_0x3acc8d[_0x36e9b5(0x3d8)],'dataRangeInfo':_0x19e5a6});}(_0x40060b=this[_0x36e9b5(0x33a)](_0x13a4c3))==null||_0x40060b[_0x36e9b5(0x13d)](),delete this[_0x36e9b5(0x2c9)][_0x13a4c3];}[_0x19f2bc(0x3c6)](_0x26e1f2,_0x212d60){const _0x4ee215=_0x19f2bc,{sheetName:_0x4cb7b0,unitId:_0x3ca412,range:_0x2a7a1a}=_0x26e1f2,{startRow:_0x2d977e,endRow:_0x3299dd}=_0x2a7a1a;return _0x57dbf3[_0x4ee215(0x39b)](_0x3ca412,_0x4cb7b0,{'startRow':_0x2d977e,'endRow':_0x3299dd,'startColumn':_0x212d60,'endColumn':_0x212d60});}[_0x19f2bc(0x37e)](_0x500a44){const _0x3147e8=_0x19f2bc;return this[_0x3147e8(0x16d)][this[_0x3147e8(0x3eb)][_0x500a44]];}[_0x19f2bc(0x436)](_0x3208d0,_0x1d04b){const _0x1144f3=_0x19f2bc;this[_0x1144f3(0x3eb)][_0x3208d0]=_0x1d04b;}['updateRangeKeyMap'](_0x3138cd,_0x2d8b7c){const _0x48bb51=_0x19f2bc;this[_0x48bb51(0x3eb)][_0x2d8b7c]=this[_0x48bb51(0x3eb)][_0x3138cd],delete this[_0x48bb51(0x3eb)][_0x3138cd];}[_0x19f2bc(0x43c)](_0x1755f1,_0x38273c,_0x5f36f5,_0x5db1a6){const _0x2ec24c=_0x19f2bc,_0xa2c411=new _0x403b84[(_0x2ec24c(0x31b))](this);_0xa2c411['fromJSON'](_0x38273c);const _0x116346=[];let _0x42b6b7=0x0;for(const _0x48448d of _0xa2c411[_0x2ec24c(0x273)]){const _0x44ae35=this[_0x2ec24c(0x3c6)](_0x5f36f5,_0x42b6b7),_0x2a0ee8=this[_0x2ec24c(0x16d)][_0x48448d];_0x2a0ee8&&(_0x2a0ee8[_0x2ec24c(0x1bc)]=_0x44ae35,this[_0x2ec24c(0x436)](_0x44ae35,_0x48448d),_0x116346[_0x2ec24c(0x1b6)]({'index':_0x42b6b7,'dataField':_0x2a0ee8})),_0x42b6b7++;}return this['addCollection'](_0x1755f1,_0xa2c411,_0x5f36f5,_0x5db1a6),{'collection':_0xa2c411,'updateDataFieldList':_0x116346};}[_0x19f2bc(0x29b)](_0xf0a72f,_0x3c7a12){const _0x1a2bf8=_0x19f2bc;return _0xf0a72f[_0x1a2bf8(0x44e)]===_0x585029[_0x1a2bf8(0x297)][_0x1a2bf8(0x3e0)]?{'startRow':0x0,'startColumn':_0xf0a72f[_0x1a2bf8(0x35a)],'endRow':_0x3c7a12[_0x1a2bf8(0x25e)]()-0x1,'endColumn':_0xf0a72f[_0x1a2bf8(0x2ad)]}:{'startRow':_0xf0a72f[_0x1a2bf8(0x20b)],'startColumn':_0xf0a72f[_0x1a2bf8(0x35a)],'endRow':_0xf0a72f['endRow'],'endColumn':_0xf0a72f['endColumn']};}[_0x19f2bc(0x159)](_0x2a0226){const _0x5c71c4=_0x19f2bc,{sheetName:_0xa6fa25,range:_0x250115}=_0x2a0226,_0x1ccc67=this[_0x5c71c4(0x358)][_0x5c71c4(0x240)](_0x585029['UniverInstanceType'][_0x5c71c4(0x383)]),_0x511795=_0x1ccc67[_0x5c71c4(0x371)](_0xa6fa25),_0x238efd=_0x511795[_0x5c71c4(0x174)](),{startColumn:_0x5456cd,startRow:_0x866a1c,endColumn:_0x50f736}=this['getRangeStartEndInfo'](_0x250115,_0x511795),_0x3bb252=_0x1ccc67[_0x5c71c4(0x287)](),_0x179cb7=new _0x403b84[(_0x5c71c4(0x31b))](this);_0x179cb7[_0x5c71c4(0x415)](_0x2a0226);const _0x3805e7=[],_0x35eb86={};for(let _0x4cd437=_0x5456cd;_0x4cd437<=_0x50f736;_0x4cd437++){const _0x2bd200=_0x238efd[_0x5c71c4(0x37c)](_0x866a1c,_0x4cd437),_0x5ea29e=this['getRangeKey'](_0x2a0226,_0x4cd437),_0xbac5fc=this[_0x5c71c4(0x37e)](_0x5ea29e);if(_0xbac5fc)_0x179cb7['addField'](_0xbac5fc[_0x5c71c4(0x2dc)](),_0xbac5fc[_0x5c71c4(0x224)]());else{const _0x44e3b3=this[_0x5c71c4(0x3f5)]();let _0x16968b=this[_0x5c71c4(0x19d)](_0x2bd200,_0x3bb252,_0x35eb86);_0x403b84[_0x5c71c4(0x230)](_0x16968b)&&(_0x16968b=_0x585029[_0x5c71c4(0x345)][_0x5c71c4(0x302)](_0x16968b['f'],Number(_0x16968b['v'])));const _0x3187f1=this[_0x5c71c4(0x2db)](_0x16968b,_0x4cd437),_0x57b88f=new _0x403b84[(_0x5c71c4(0x192))](_0x44e3b3,_0x3187f1,_0x403b84[_0x5c71c4(0x438)](0x3));_0x57b88f['rangeKey']=_0x5ea29e,this[_0x5c71c4(0x16d)][_0x44e3b3]=_0x57b88f,_0x179cb7['addField'](_0x44e3b3,_0x3187f1),_0x3805e7['push']({'index':_0x4cd437,'dataField':_0x57b88f});}}return{'updateDataFieldList':_0x3805e7,'collection':_0x179cb7};}[_0x19f2bc(0x3e8)](_0x1a4108){const _0x5e7fa0=_0x19f2bc;return this[_0x5e7fa0(0x140)]['getTextInfo']()[_0x5e7fa0(0x148)]+'\x20'+_0x585029[_0x5e7fa0(0x18f)](_0x1a4108);}[_0x19f2bc(0x2db)](_0x185f21,_0x35dc05){const _0x48ac2c=_0x19f2bc;return _0x185f21==null||_0x185f21===''?this[_0x48ac2c(0x3e8)](_0x35dc05):String(_0x185f21);}['getCollection'](_0x3233a7){const _0x288c9f=_0x19f2bc;return this[_0x288c9f(0x2c9)][_0x3233a7];}['addCollection'](_0x4d03bd,_0x36b4b4,_0x30d7aa,_0x5aa854){const _0x4b5485=_0x19f2bc;this[_0x4b5485(0x2c9)][_0x4d03bd]=_0x36b4b4,_0x36b4b4[_0x4b5485(0x415)](_0x30d7aa),this[_0x4b5485(0x140)][_0x4b5485(0x40d)]({'token':_0x4d03bd,'type':_0x3acc8d['add'],'dataRangeInfo':_0x30d7aa,'targetCellInfo':_0x5aa854});}[_0x19f2bc(0x24a)](_0x913c78,_0x4aaf4b){const _0x189702=_0x19f2bc,_0x2f969f=this[_0x189702(0x33a)](_0x913c78),_0x5a9010=_0x2f969f[_0x189702(0x1af)]();let _0x236d9c=0x0;for(const _0x53a7e2 of _0x5a9010){const _0x5d2ec9=_0x2f969f[_0x189702(0x3ab)](_0x53a7e2),_0x2c9cca=this['getRangeKey'](_0x4aaf4b,_0x236d9c);this['updateRangeKeyMap'](_0x5d2ec9[_0x189702(0x1bc)],_0x2c9cca),_0x236d9c++;}}[_0x19f2bc(0x2d0)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x19f2bc(0x2cc)](_0x39b41c,_0x1c56a6){const _0x231ace=_0x19f2bc;if(this[_0x231ace(0x33a)](_0x39b41c)){const _0x884d61=this['getRangeKeyList'](_0x1c56a6),_0x82a063=[];for(const _0x5f2a72 of _0x884d61)this[_0x231ace(0x3eb)][_0x5f2a72]!==void 0x0&&_0x82a063[_0x231ace(0x1b6)](this[_0x231ace(0x3eb)][_0x5f2a72]);const _0x482c43=this['getNoUsedDataFieldIds'](_0x39b41c),_0x4fcd83=[],_0x3defa6=new Set(_0x82a063);for(const _0x26f09b of _0x482c43)_0x3defa6['has'](_0x26f09b)||_0x4fcd83[_0x231ace(0x1b6)](_0x26f09b);return _0x4fcd83;}}[_0x19f2bc(0x2d2)](_0x2423d7,_0x1fc0cd,_0x1095fd,_0x5dfd00,_0x427964){const _0x501d58=_0x19f2bc;return _0x1fc0cd&&_0x1fc0cd[_0x501d58(0x37c)](_0x5dfd00,_0x427964)?_0x1fc0cd[_0x501d58(0x37c)](_0x5dfd00,_0x427964):_0x1095fd&&_0x1095fd[_0x501d58(0x37c)](_0x5dfd00,_0x427964)?_0x1095fd[_0x501d58(0x37c)](_0x5dfd00,_0x427964):_0x2423d7['getValue'](_0x5dfd00,_0x427964);}[_0x19f2bc(0x2df)](_0x3b077d,_0x158b4f,_0x5ad6af,_0x4e641b){const _0xfa567c=_0x19f2bc,_0x8f2e03=this[_0xfa567c(0x16d)][_0x3b077d];if(!_0x8f2e03)return;const {subUnitId:_0xffc9d2,range:_0x38cb78,unitId:_0xb650e0}=_0x158b4f,_0xbad506=this[_0xfa567c(0x358)][_0xfa567c(0x15c)](_0xb650e0);if(!_0xbad506){console[_0xfa567c(0x17e)](_0xfa567c(0x2ce));return;}const _0x49001c=_0xbad506['getSheetBySheetId'](_0xffc9d2),_0x4dec14=_0x49001c['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x34ccc3,unitDataMatrix:_0x4880ed}=_0x4e641b||{},{startRow:_0x490e64,startColumn:_0xacb9b,endRow:_0x3cd360}=this[_0xfa567c(0x29b)](_0x38cb78,_0x49001c);_0x8f2e03['reset']();const _0x17869b=_0xbad506[_0xfa567c(0x287)](),_0x4ccdc9={},_0x20effa=this['getMatrixValue'](_0x4dec14,_0x34ccc3,_0x4880ed,_0x490e64,_0xacb9b+_0x5ad6af);let _0x30953e=this['adjustSheetCellData'](_0x20effa,_0x17869b,_0x4ccdc9);_0x403b84[_0xfa567c(0x230)](_0x30953e)&&(_0x30953e=_0x585029['numfmt'][_0xfa567c(0x302)](_0x30953e['f'],Number(_0x30953e['v'])));const _0x193cbf=this[_0xfa567c(0x2db)](_0x30953e,_0xacb9b+_0x5ad6af);_0x8f2e03[_0xfa567c(0x15d)](_0x193cbf);for(let _0x3f2343=_0x490e64+0x1;_0x3f2343<=_0x3cd360;_0x3f2343++){const _0x11989c=this[_0xfa567c(0x2d2)](_0x4dec14,_0x34ccc3,_0x4880ed,_0x3f2343,_0xacb9b+_0x5ad6af);_0x8f2e03['addRecord'](this[_0xfa567c(0x19d)](_0x11989c,_0x17869b,_0x4ccdc9),_0x3f2343-0x1-_0x490e64);}}[_0x19f2bc(0x428)](_0x1e534d,_0x30ae2e,_0x9b9fc6){const _0xa9c70c=_0x19f2bc,{subUnitId:_0x34832d,range:_0x2b97c7,unitId:_0x4d0d77}=_0x9b9fc6,_0x4d39a6=this[_0xa9c70c(0x358)]['getUnit'](_0x4d0d77);if(!_0x4d39a6){console[_0xa9c70c(0x17e)](_0xa9c70c(0x2ce));return;}const _0x387c78=_0x4d39a6[_0xa9c70c(0x26d)](_0x34832d),_0x59f6ca=_0x387c78['getCellMatrix'](),{startRow:_0x23d4a5,startColumn:_0x32a4f6,endRow:_0x182a8e}=this[_0xa9c70c(0x29b)](_0x2b97c7,_0x387c78),_0x52817f=_0x4d39a6[_0xa9c70c(0x287)](),_0x5439ea={};for(const {dataField:_0x442056,index:_0xcf271a}of _0x30ae2e){_0x442056[_0xa9c70c(0x391)]();const _0x596d62=this[_0xa9c70c(0x2d2)](_0x59f6ca,void 0x0,void 0x0,_0x23d4a5,_0x32a4f6+_0xcf271a);let _0x28c0a0=this[_0xa9c70c(0x19d)](_0x596d62,_0x52817f,_0x5439ea);_0x403b84[_0xa9c70c(0x230)](_0x28c0a0)&&(_0x28c0a0=_0x585029[_0xa9c70c(0x345)]['format'](_0x28c0a0['f'],Number(_0x28c0a0['v'])));const _0x3d5716=this[_0xa9c70c(0x2db)](_0x28c0a0,_0x32a4f6+_0xcf271a);_0x442056[_0xa9c70c(0x15d)](_0x3d5716);}_0x1e534d[_0xa9c70c(0x322)]();for(let _0x12b380=_0x23d4a5+0x1;_0x12b380<=_0x182a8e;_0x12b380++)for(const {index:_0x1b8c60,dataField:_0x13adba}of _0x30ae2e){const _0x3fd234=_0x59f6ca[_0xa9c70c(0x37c)](_0x12b380,_0x32a4f6+_0x1b8c60);_0x13adba['addRecord'](this[_0xa9c70c(0x19d)](_0x3fd234,_0x52817f,_0x5439ea),_0x12b380-0x1-_0x23d4a5);}_0x1e534d['setDataRecordCount'](_0x182a8e-_0x23d4a5);}[_0x19f2bc(0x30a)](_0x91b550){const _0x1c0ccc=_0x19f2bc,{range:_0x17c2fc}=_0x91b550,{startColumn:_0x4ceded,endColumn:_0x45b9b5}=_0x17c2fc,_0x34eabf=[];for(let _0x289549=_0x4ceded;_0x289549<=_0x45b9b5;_0x289549++)_0x34eabf[_0x1c0ccc(0x1b6)](this[_0x1c0ccc(0x3c6)](_0x91b550,_0x289549));return _0x34eabf;}[_0x19f2bc(0x19d)](_0xb4241f,_0x4fc61b,_0x186c79){const _0x4a9e33=_0x19f2bc;if(_0xb4241f){const {s:_0x37653a,v:_0x114d30,t:_0x438cdb,p:_0x113404}=_0xb4241f;if(_0x113404)return _0x3dac36(_0x113404);const _0x161d28=_0x4fc61b[_0x4a9e33(0x2b1)](_0x37653a);if(_0x161d28&&_0x438cdb===_0x585029[_0x4a9e33(0x355)][_0x4a9e33(0x42d)]&&_0x161d28['n']){const {pattern:_0x3af92a}=_0x161d28['n'];_0x186c79[_0x3af92a]||(_0x186c79[_0x3af92a]=_0x585029['numfmt']['getInfo'](_0x3af92a));const _0x5e650b=_0x186c79[_0x3af92a],_0xc75622=_0x5e650b['isDate'];if(_0x5e650b['isText'])return String(_0x114d30);if(_0xc75622)return{'v':_0x114d30,'f':_0x3af92a};}if(_0x438cdb===_0x585029[_0x4a9e33(0x355)][_0x4a9e33(0x42d)])return Number(_0x114d30);if(_0x438cdb===_0x585029['CellValueType'][_0x4a9e33(0x2b0)]||_0x438cdb===_0x585029[_0x4a9e33(0x355)][_0x4a9e33(0x421)])return String(_0x114d30);if(_0x438cdb===void 0x0){const _0x1b0339=Number(_0x114d30);if(!Number['isNaN'](_0x1b0339)&&String(_0x1b0339)===_0x114d30)return _0x1b0339;}return _0x114d30!=null?_0x114d30:null;}else return null;}['getRangeData'](_0xbe605){const _0x20ff0a=_0x19f2bc,{sheetName:_0xaa2d39,range:_0x351500,unitId:_0x4a1754}=_0xbe605,_0x2f1c00=this[_0x20ff0a(0x358)][_0x20ff0a(0x15c)](_0x4a1754);if(!_0x2f1c00)return console[_0x20ff0a(0x17e)](_0x20ff0a(0x2ce)),{'header':[],'data':[]};const _0x5b3c4a=_0x2f1c00[_0x20ff0a(0x371)](_0xaa2d39),_0xc8a0f5=_0x5b3c4a[_0x20ff0a(0x174)](),{startRow:_0x4ec114,startColumn:_0x158c92,endRow:_0x1f8a9f,endColumn:_0x190f47}=this['getRangeStartEndInfo'](_0x351500,_0x5b3c4a),_0x352365=_0x2f1c00[_0x20ff0a(0x287)](),_0x10232b=[],_0x4dc49b=[],_0x5ec815={};for(let _0x4bdc31=_0x4ec114;_0x4bdc31<=_0x1f8a9f;_0x4bdc31++){const _0xf7e721=[];for(let _0x2d01a2=_0x158c92;_0x2d01a2<=_0x190f47;_0x2d01a2++){const _0x3cf9fd=_0xc8a0f5['getValue'](_0x4bdc31,_0x2d01a2);_0x4bdc31===_0x4ec114?_0x10232b[_0x20ff0a(0x1b6)](_0x3cf9fd==null?null:String(_0x3cf9fd['v'])):_0xf7e721[_0x20ff0a(0x1b6)](this[_0x20ff0a(0x19d)](_0x3cf9fd,_0x352365,_0x5ec815));}_0x4dc49b[_0x20ff0a(0x1b6)](_0xf7e721);}return{'header':_0x10232b,'data':_0x4dc49b};}[_0x19f2bc(0x1e4)](){return super['toJSON']();}[_0x19f2bc(0x3b4)](_0x13ff10){const _0x1386cb=_0x19f2bc;super[_0x1386cb(0x3b4)](_0x13ff10),this[_0x1386cb(0x42a)]();}[_0x19f2bc(0x13d)](){const _0x201554=_0x19f2bc;super[_0x201554(0x13d)](),this[_0x201554(0x3eb)]={},this[_0x201554(0x140)]=null;}}const _0x47bf32=_0x20b1d2=>{const _0x16294a=_0x19f2bc,{targetCellInfo:_0x89f402}=_0x20b1d2,{matrixCache:_0x1d8633,rangesCache:_0x39178b}=_0x2d175b({'filter':_0x16294a(0x179),'row':_0x16294a(0x15a),'column':_0x16294a(0x22b),'values':'Values'},_0x89f402),_0x4dfcf5=new _0x585029[(_0x16294a(0x1ff))]();return _0x1d8633[_0x16294a(0x149)]((_0x23cd0d,_0x440c64,_0x151904)=>{const _0x5bbb55=_0x16294a;_0x4dfcf5[_0x5bbb55(0x218)](_0x23cd0d,_0x440c64,_0x151904);}),{'matrix':_0x4dfcf5,'rangesCache':_0x39178b};},_0xe049d5=_0x677e9=>{const _0x90615e=_0x19f2bc;let _0x5444e3;if(_0x677e9!=null&&_0x677e9['v']||(_0x677e9==null?void 0x0:_0x677e9['v'])===0x0){_0x5444e3||(_0x5444e3={});const _0x263002=_0x3ddd19(_0x677e9['v']);typeof _0x263002==_0x90615e(0x33e)?_0x5444e3['t']=_0x585029[_0x90615e(0x355)][_0x90615e(0x42d)]:typeof _0x263002==_0x90615e(0x251)&&(_0x5444e3['t']=_0x585029[_0x90615e(0x355)]['STRING']),_0x5444e3['v']=_0x263002;}return _0x5444e3;},_0x50253b=(_0x246fba,_0x611571,_0xe5a9a1)=>{const _0xd195c2=_0x19f2bc;var _0x33bcff,_0x10dbd1,_0x2dcdbe,_0xb48a67,_0x387865,_0x3fe2f2,_0x5b5ea6,_0x420195,_0x10cb40,_0x4b8ee3,_0x52f8c4,_0x584a86;const {cornerView:_0x568b9a,rowView:_0x18811f,colView:_0x46a5ca,dataView:_0x5dc116,pageView:_0xefe191,formatMap:_0x355a3a}=_0x246fba,{row:_0x11cf7a,col:_0x5420ee}=_0x611571,_0x31f38b=new _0x585029[(_0xd195c2(0x1ff))]();let _0x14db81=_0x11cf7a,_0x195d09=_0x5420ee;Object['keys'](_0xefe191[_0xd195c2(0x28f)])['forEach'](_0xe1b40=>{const _0x1beaee=_0xd195c2;Object[_0x1beaee(0x255)](_0xefe191[_0x1beaee(0x28f)][Number(_0xe1b40)])[_0x1beaee(0x1d4)](_0x4a905c=>{const _0x4c2fcf=_0x1beaee,_0x2eb0c6={..._0xefe191['data'][Number(_0xe1b40)][Number(_0x4a905c)]};_0x31f38b[_0x4c2fcf(0x218)](Number(_0xe1b40)+_0x14db81,Number(_0x4a905c)+_0x195d09,_0xe049d5(_0x2eb0c6));});});const _0x31305c=Object[_0xd195c2(0x255)](_0xefe191[_0xd195c2(0x28f)])[_0xd195c2(0x183)];_0x14db81+=_0x31305c+(_0x31305c?_0x65df37:0x0);const _0xee4d6b=_0x568b9a[_0xd195c2(0x25e)](),_0x1eba40=_0x568b9a['getColCount']();for(let _0x18a4d8=0x0;_0x18a4d8<_0xee4d6b;_0x18a4d8++)for(let _0x1399d9=0x0;_0x1399d9<_0x1eba40;_0x1399d9++){const _0x3dbe9e={...(_0x10dbd1=(_0x33bcff=_0x568b9a['data'])==null?void 0x0:_0x33bcff[_0x18a4d8])==null?void 0x0:_0x10dbd1[_0x1399d9]};_0x3dbe9e&&((_0x2dcdbe=_0x18811f[_0xd195c2(0x2ea)][_0x1399d9])!=null&&_0x2dcdbe[_0xd195c2(0x390)])&&_0x1399d9===_0x1eba40-0x1&&_0x18a4d8===_0xee4d6b-0x1&&(_0x3dbe9e['v']=''+_0xe5a9a1[_0xd195c2(0x30e)]),_0x31f38b[_0xd195c2(0x218)](_0x18a4d8+_0x14db81,_0x1399d9+_0x195d09,_0xe049d5(_0x3dbe9e));}_0x195d09+=_0x1eba40;const _0x5a1cd8=_0x46a5ca[_0xd195c2(0x2ea)],_0x59f6b9=_0x46a5ca[_0xd195c2(0x44b)]()>=0x0?_0x46a5ca['getLastRow']()+0x1:0x0,_0x5c802a=_0x46a5ca[_0xd195c2(0x269)]()>=0x0?_0x46a5ca[_0xd195c2(0x269)]()+0x1:0x0;for(let _0x6cdef=0x0;_0x6cdef<_0x5c802a;_0x6cdef++)for(let _0x5b966d=0x0;_0x5b966d<_0x59f6b9;_0x5b966d++){const _0x2e0ea2={...(_0x387865=(_0xb48a67=_0x46a5ca['data'])==null?void 0x0:_0xb48a67[_0x6cdef])==null?void 0x0:_0x387865[_0x5b966d]},_0x42932f=(_0x3fe2f2=_0x5a1cd8[_0x6cdef])==null?void 0x0:_0x3fe2f2[_0xd195c2(0x14e)],_0x201ec0=_0x355a3a[_0x42932f];_0x2e0ea2&&(_0x2e0ea2['v']=_0x13abf2(_0x2e0ea2,_0x6cdef===0x0&&((_0x5b5ea6=_0x46a5ca[_0xd195c2(0x219)](_0x5b966d+0x1))==null?void 0x0:_0x5b5ea6[_0xd195c2(0x390)]),_0x201ec0,_0xe5a9a1)),_0x31f38b[_0xd195c2(0x218)](_0x6cdef+_0x14db81,_0x5b966d+_0x195d09,_0xe049d5(_0x2e0ea2));}_0x14db81+=_0xee4d6b;const _0x30791a=_0x18811f['headerMap'],_0x6eb871=_0x18811f[_0xd195c2(0x44b)]()>=0x0?_0x18811f[_0xd195c2(0x44b)]()+0x1:0x0,_0xaf3cd5=_0x18811f['getLastCol']()>=0x0?_0x18811f[_0xd195c2(0x269)]()+0x1:0x0;for(let _0x2d2329=0x0;_0x2d2329<_0x6eb871;_0x2d2329++)for(let _0x306ae1=0x0;_0x306ae1<_0xaf3cd5;_0x306ae1++){const _0x18eb69={...(_0x10cb40=(_0x420195=_0x18811f[_0xd195c2(0x28f)])==null?void 0x0:_0x420195[_0x2d2329])==null?void 0x0:_0x10cb40[_0x306ae1]},_0x39e44f=(_0x4b8ee3=_0x30791a[_0x306ae1])==null?void 0x0:_0x4b8ee3[_0xd195c2(0x14e)],_0x567a5f=_0x355a3a[_0x39e44f];_0x18eb69&&(_0x18eb69['v']=_0x13abf2(_0x18eb69,!0x1,_0x567a5f,_0xe5a9a1)),_0x31f38b[_0xd195c2(0x218)](_0x2d2329+_0x14db81,_0x306ae1+_0x5420ee,_0xe049d5(_0x18eb69));}const _0x18a514=_0x5dc116[_0xd195c2(0x25e)](),_0x1c35d2=_0x5dc116[_0xd195c2(0x3c2)]();for(let _0x2144ca=0x0;_0x2144ca<_0x18a514;_0x2144ca++)for(let _0x4f5d62=0x0;_0x4f5d62<_0x1c35d2;_0x4f5d62++){const _0x448fa2={...(_0x584a86=(_0x52f8c4=_0x5dc116[_0xd195c2(0x28f)])==null?void 0x0:_0x52f8c4[_0x2144ca])==null?void 0x0:_0x584a86[_0x4f5d62]};_0x31f38b[_0xd195c2(0x218)](_0x2144ca+_0x14db81,_0x4f5d62+_0x195d09,_0xe049d5(_0x448fa2));}return _0x31f38b;},_0x1817ce=_0x471859=>{const _0x2dea73=_0x19f2bc,{view:_0x2ade8b,targetCellInfo:_0x479477,isEmpty:_0x3804f0,textInfo:_0xe573f2}=_0x471859;if(_0x3804f0)return _0x47bf32(_0x471859);const {pageView:_0x21e0fb,cornerView:_0x58ea0c,rowView:_0x12fb33,colView:_0x222f66,dataView:_0x503ccc}=_0x2ade8b,_0x235b2f=_0x3a254c(_0x479477,_0x21e0fb,!0x0),_0x19bf1c=_0x21e0fb[_0x2dea73(0x39e)]>=0x0?_0x21e0fb[_0x2dea73(0x39e)]+0x1:0x0,_0x8f23fb=_0x58ea0c[_0x2dea73(0x25e)](),_0xa65fd4=_0x58ea0c[_0x2dea73(0x3c2)](),_0x4c8386=_0x235b2f[_0x2dea73(0x183)]>0x0?_0x65df37:0x0,_0x5e513c=_0x3a254c({'row':_0x479477[_0x2dea73(0x439)]+_0x19bf1c+_0x4c8386,'col':_0x479477[_0x2dea73(0x177)]},_0x58ea0c,!0x1,!0x1),_0x10ae47=_0x3a254c({'row':_0x479477[_0x2dea73(0x439)]+_0x19bf1c+_0x4c8386+_0x8f23fb,'col':_0x479477[_0x2dea73(0x177)]},_0x12fb33,!0x1,!0x0),_0x458022=_0x3a254c({'row':_0x479477[_0x2dea73(0x439)]+_0x19bf1c+_0x4c8386,'col':_0x479477[_0x2dea73(0x177)]+_0xa65fd4},_0x222f66,!0x1,!0x0),_0x52ab17=_0x3a254c({'row':_0x479477['row']+_0x19bf1c+_0x4c8386+_0x8f23fb,'col':_0x479477['col']+_0xa65fd4},_0x503ccc,!0x1,!0x1),_0x54c0ac={'rowRanges':_0x10ae47,'colRanges':_0x458022,'cornerRanges':_0x5e513c,'dataRanges':_0x52ab17,'pageRanges':_0x235b2f};return{'matrix':_0x50253b(_0x2ade8b,_0x479477,_0xe573f2),'rangesCache':_0x54c0ac};};var _0x2f4564=Object['getOwnPropertyDescriptor'],_0x1be2fb=(_0x118246,_0x52dbff,_0x5f4bf5,_0x297cd8)=>{const _0x16ae95=_0x19f2bc;for(var _0x2992f1=_0x297cd8>0x1?void 0x0:_0x297cd8?_0x2f4564(_0x52dbff,_0x5f4bf5):_0x52dbff,_0x4f8d74=_0x118246[_0x16ae95(0x183)]-0x1,_0x4b5cbf;_0x4f8d74>=0x0;_0x4f8d74--)(_0x4b5cbf=_0x118246[_0x4f8d74])&&(_0x2992f1=_0x4b5cbf(_0x2992f1)||_0x2992f1);return _0x2992f1;},_0x494e21=(_0x5e6260,_0x375100)=>(_0x1fa20b,_0x5d6105)=>_0x375100(_0x1fa20b,_0x5d6105,_0x5e6260);_0x37cc3d['SheetsPivotDataSourceModel']=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x425518,_0x4ee574,_0x2dfe86,_0x500a7b,_0x199b30,_0xdc0e){const _0x3fa1f6=_0x19f2bc;super(),_0x37aa9d(this,_0x3fa1f6(0x3b0),new Map()),_0x37aa9d(this,'_pivotTableInstanceCache',new Map()),_0x37aa9d(this,_0x3fa1f6(0x1c9),new Map()),_0x37aa9d(this,_0x3fa1f6(0x157)),_0x37aa9d(this,_0x3fa1f6(0x276),new _0x28c886[(_0x3fa1f6(0x3e2))]()),_0x37aa9d(this,'collectionChange$',this[_0x3fa1f6(0x276)]['asObservable']()),_0x37aa9d(this,_0x3fa1f6(0x3ad),new _0x28c886[(_0x3fa1f6(0x3e2))]()),_0x37aa9d(this,_0x3fa1f6(0x2a5),this[_0x3fa1f6(0x3ad)][_0x3fa1f6(0x3dc)]()),_0x37aa9d(this,'_fieldsCollectionChange$',new _0x28c886[(_0x3fa1f6(0x3e2))]()),_0x37aa9d(this,'fieldsCollectionChange$',this[_0x3fa1f6(0x2e5)]['asObservable']()),_0x37aa9d(this,_0x3fa1f6(0x189),new Map()),_0x37aa9d(this,'needSameDeleteModel',[]),_0x37aa9d(this,_0x3fa1f6(0x18c),new Map()),(this[_0x3fa1f6(0x3b3)]=_0x425518,this['_univerInstanceService']=_0x4ee574,this[_0x3fa1f6(0x3e4)]=_0x2dfe86,this[_0x3fa1f6(0x171)]=_0x500a7b,this['_commandService']=_0x199b30,this[_0x3fa1f6(0x38f)]=_0xdc0e,this[_0x3fa1f6(0x432)]());}[_0x19f2bc(0x1b4)](){const _0x118598=_0x19f2bc;return this[_0x118598(0x157)]?this[_0x118598(0x157)]:_0x4b01bd;}[_0x19f2bc(0x21b)](_0x948be1){const _0x36152d=_0x19f2bc;this[_0x36152d(0x157)]=_0x948be1;}['handleMoveRange'](_0x42e01c){const _0x1776c1=_0x19f2bc;var _0x4ba5ab;const {from:_0xbaa903,to:_0x2ee9e7,unitId:_0x2832b1,fromRange:_0x75a6bc,toRange:_0x4d0ba3}=_0x42e01c;if(_0xbaa903&&_0x2ee9e7){const _0x392d47=this[_0x1776c1(0x30d)](_0x2832b1),_0x62f9e0=this[_0x1776c1(0x3b0)]['get'](_0x2832b1),_0x49bc1d=(_0x4ba5ab=this[_0x1776c1(0x358)][_0x1776c1(0x15c)](_0x2832b1))==null?void 0x0:_0x4ba5ab[_0x1776c1(0x26d)](_0x2ee9e7[_0x1776c1(0x265)]);if(!_0x62f9e0||!_0x49bc1d)return;const _0x3d5f9e=_0x49bc1d==null?void 0x0:_0x49bc1d[_0x1776c1(0x224)]();for(const [_0x2900f4,_0x542e68]of _0x62f9e0[_0x1776c1(0x2aa)]())for(const [_0x2a8483,_0x5c0ddd]of _0x542e68[_0x1776c1(0x2aa)]()){const {sourceRangeInfo:_0x4db3c9}=_0x5c0ddd;if(_0x4db3c9[_0x1776c1(0x1f2)]===_0x2832b1&&_0x4db3c9[_0x1776c1(0x265)]===_0xbaa903[_0x1776c1(0x265)]&&_0x585029[_0x1776c1(0x144)][_0x1776c1(0x456)](_0x75a6bc,_0x4db3c9[_0x1776c1(0x246)])){const _0xd37488={'row':_0x4db3c9[_0x1776c1(0x246)][_0x1776c1(0x20b)]-_0x75a6bc[_0x1776c1(0x20b)],'col':_0x4db3c9['range'][_0x1776c1(0x35a)]-_0x75a6bc[_0x1776c1(0x35a)]},_0x6d6201={'unitId':_0x2832b1,'subUnitId':_0x2ee9e7['subUnitId'],'sheetName':_0x3d5f9e,'range':{'startRow':_0x4d0ba3[_0x1776c1(0x20b)]+_0xd37488[_0x1776c1(0x439)],'endRow':_0x4d0ba3[_0x1776c1(0x20b)]+_0xd37488[_0x1776c1(0x439)]+_0x4db3c9['range'][_0x1776c1(0x325)]-_0x4db3c9[_0x1776c1(0x246)]['startRow'],'startColumn':_0x4d0ba3['startColumn']+_0xd37488[_0x1776c1(0x177)],'endColumn':_0x4d0ba3[_0x1776c1(0x35a)]+_0xd37488[_0x1776c1(0x177)]+_0x4db3c9['range'][_0x1776c1(0x2ad)]-_0x4db3c9[_0x1776c1(0x246)]['startColumn']}};_0x392d47['handleMoveRange'](_0x2a8483,_0x6d6201);const _0x1f4709={..._0x5c0ddd,'sourceRangeInfo':_0x6d6201};this['_updateModelCache'](_0x2832b1,_0x2ee9e7[_0x1776c1(0x265)],_0x2a8483,_0x1f4709),this[_0x1776c1(0x40d)]({'unitId':_0x2832b1,'token':_0x2a8483,'type':_0x3acc8d[_0x1776c1(0x285)],'oldSourceRangeInfo':_0x4db3c9,'dataRangeInfo':_0x6d6201,'targetCellInfo':_0x5c0ddd[_0x1776c1(0x25f)]}),this[_0x1776c1(0x22c)]({'unitId':_0x2832b1,'subUnitId':_0x2ee9e7[_0x1776c1(0x265)],'oldSubUnitId':_0x2900f4,'pivotTableId':_0x2a8483,'pivotTableConfig':_0x1f4709,'collectionConfig':_0x392d47['toJSON']()});}}}}[_0x19f2bc(0x40d)](_0x47e1fc){const _0x2eb25d=_0x19f2bc;this[_0x2eb25d(0x276)][_0x2eb25d(0x357)](_0x47e1fc);}[_0x19f2bc(0x30d)](_0x48eff8){const _0x40ef73=_0x19f2bc;let _0x45e1c1=this[_0x40ef73(0x189)]['get'](_0x48eff8);return _0x45e1c1||(_0x45e1c1=new _0xeb87d3(this,this[_0x40ef73(0x358)]),this[_0x40ef73(0x189)]['set'](_0x48eff8,_0x45e1c1)),_0x45e1c1;}['getCollection'](_0x1be3e1,_0x3970dd){const _0x378157=_0x19f2bc;return this[_0x378157(0x30d)](_0x1be3e1)[_0x378157(0x2c9)][_0x3970dd];}[_0x19f2bc(0x2cc)](_0x753c30,_0x4837eb,_0x1a47bc){const _0x3c2a90=_0x19f2bc;return this[_0x3c2a90(0x30d)](_0x753c30)[_0x3c2a90(0x2cc)](_0x4837eb,_0x1a47bc);}[_0x19f2bc(0x19a)](_0x4dcb12,_0x203d52){const _0x3fc703=_0x19f2bc;let _0x77f7d=this[_0x3fc703(0x3b0)][_0x3fc703(0x2b1)](_0x4dcb12);_0x77f7d||(_0x77f7d=new Map(),this['_model'][_0x3fc703(0x36d)](_0x4dcb12,_0x77f7d));let _0x23392b=_0x77f7d[_0x3fc703(0x2b1)](_0x203d52);return _0x23392b||(_0x23392b=new Map(),_0x77f7d[_0x3fc703(0x36d)](_0x203d52,_0x23392b)),_0x23392b;}[_0x19f2bc(0x416)](_0x873cd6,_0x440735,_0x270237,_0x32caf1){const _0x37b07=_0x19f2bc;this[_0x37b07(0x19a)](_0x873cd6,_0x440735)[_0x37b07(0x36d)](_0x270237,_0x32caf1);}[_0x19f2bc(0x444)](_0x10e78a,_0x5d19f9,_0xb6cd02){const _0x1128cf=_0x19f2bc;var _0x4aba73,_0xde4590,_0x1f7e79,_0x523175;((_0xde4590=(_0x4aba73=this[_0x1128cf(0x3b0)][_0x1128cf(0x2b1)](_0x10e78a))==null?void 0x0:_0x4aba73[_0x1128cf(0x2b1)](_0x5d19f9))==null?void 0x0:_0xde4590[_0x1128cf(0x2b1)](_0xb6cd02))&&((_0x523175=(_0x1f7e79=this[_0x1128cf(0x3b0)][_0x1128cf(0x2b1)](_0x10e78a))==null?void 0x0:_0x1f7e79['get'](_0x5d19f9))==null||_0x523175['delete'](_0xb6cd02));}[_0x19f2bc(0x170)](_0x24cf4c,_0x102086){const _0x187db5=_0x19f2bc;this[_0x187db5(0x363)][_0x187db5(0x36d)](_0x24cf4c,_0x102086);}[_0x19f2bc(0x248)](_0x407f11){const _0xc1ed9c=_0x19f2bc;this[_0xc1ed9c(0x363)][_0xc1ed9c(0x3d8)](_0x407f11);}[_0x19f2bc(0x3fe)](_0x48a2eb,_0x46280b){const _0x32561a=_0x19f2bc;let _0x172f7c=this[_0x32561a(0x1c9)]['get'](_0x48a2eb);_0x172f7c||(_0x172f7c=new Map(),this['_viewData'][_0x32561a(0x36d)](_0x48a2eb,_0x172f7c));let _0x45fbea=_0x172f7c[_0x32561a(0x2b1)](_0x46280b);return _0x45fbea||(_0x45fbea=new Map(),_0x172f7c['set'](_0x46280b,_0x45fbea)),_0x45fbea;}[_0x19f2bc(0x22c)](_0x5a8218){const _0x3da2b9=_0x19f2bc,{unitId:_0x55fad8,subUnitId:_0xbe6fec,pivotTableId:_0x4d1510,pivotTableConfig:_0x4b84b5,collectionConfig:_0x317d89}=_0x5a8218,_0x2f6943={'unitId':_0x55fad8,'subUnitId':_0xbe6fec,'oldSubUnitId':_0xbe6fec,'pivotTableId':_0x4d1510,'pivotTableConfig':_0x4b84b5,'collectionConfig':_0x317d89};this[_0x3da2b9(0x1f6)][_0x3da2b9(0x399)](_0x479728['id'],_0x2f6943,{'onlyLocal':!0x0});}[_0x19f2bc(0x223)](_0x3ce169,_0x197fcd,_0x2aa849,_0x579fa3,_0x17c7f6,_0xd25dfe,_0x59e4ec,_0x10d4bf=!0x1){const _0x5c03be=_0x19f2bc;var _0x5c6c3c;this['_commandService'][_0x5c03be(0x399)](_0x2bc750['id'],{'single':{'unitId':_0x3ce169,'subUnitId':_0x197fcd,'type':_0x2aa849,'pivotTableId':_0x579fa3,'view':_0x17c7f6,'pivotConfig':_0xd25dfe},'collectionConfig':{[_0x3ce169]:_0x59e4ec}},{'onlyLocal':!0x0});const _0x3f65c2=!!((_0x5c6c3c=this['getPivotTableInstance'](_0x579fa3))!=null&&_0x5c6c3c[_0x5c03be(0x402)]()),_0x4ec403=this[_0x5c03be(0x2eb)](_0x3ce169,_0x197fcd,_0x579fa3);_0x4ec403&&this[_0x5c03be(0x247)]({'view':_0x17c7f6,'pivotTableId':_0x579fa3,'textInfo':this[_0x5c03be(0x1b4)](),'isEmpty':_0x3f65c2,'targetCellInfo':_0x4ec403[_0x5c03be(0x25f)]},_0x10d4bf);}[_0x19f2bc(0x247)](_0x3c419c,_0x434ac9){const _0x4dca67=_0x19f2bc,{targetCellInfo:_0x32eaf5,pivotTableId:_0x3712a8}=_0x3c419c,{unitId:_0x241b97,subUnitId:_0x26c4f1}=_0x32eaf5,_0x34739b=this['_ensureViewDataMap'](_0x241b97,_0x26c4f1),_0x14d617=_0x34739b[_0x4dca67(0x2b1)](_0x3712a8);let _0x28da43,_0x5796c9;_0x14d617&&(_0x28da43=_0x14d617['rangeCache'],_0x5796c9=_0x14d617[_0x4dca67(0x221)]);const {rangesCache:_0x2c471b,matrix:_0x29ce47}=_0x1817ce(_0x3c419c);_0x34739b[_0x4dca67(0x36d)](_0x3712a8,{'rangeCache':_0x2c471b,'matrix':_0x29ce47,'oldMatrix':_0x5796c9,'oldRangeCache':_0x28da43}),_0x434ac9||this[_0x4dca67(0x3ad)][_0x4dca67(0x357)]({'unitId':_0x241b97,'subUnitId':_0x26c4f1,'pivotTableId':_0x3712a8});}[_0x19f2bc(0x37a)](_0x2abed9,_0x35f13f,_0x185a89,_0x397071,_0x55eda1){const _0x8dd772=_0x19f2bc;this['_updateModelCache'](_0x2abed9,_0x35f13f,_0x185a89,_0x55eda1),this[_0x8dd772(0x170)](_0x185a89,_0x397071);}['removePivotTable'](_0xd6955c,_0x5d72c2,_0x4af710){const _0x4ce7e8=_0x19f2bc,_0x501316=this[_0x4ce7e8(0x30d)](_0xd6955c);_0x501316[_0x4ce7e8(0x3c4)](_0x4af710)[_0x4ce7e8(0x1d4)](_0xb3776=>{const _0x449245=_0x4ce7e8;_0x501316[_0x449245(0x3ec)](_0xb3776);}),this['removeCollections'](_0xd6955c,_0x4af710),this['_deleteModelCache'](_0xd6955c,_0x5d72c2,_0x4af710),this[_0x4ce7e8(0x248)](_0x4af710);}[_0x19f2bc(0x3c1)](_0x329772,_0x1f72ab,_0x467378,_0x27d2d4){const _0x4f6314=_0x19f2bc;this[_0x4f6314(0x416)](_0x329772,_0x1f72ab,_0x467378,_0x27d2d4);}[_0x19f2bc(0x2eb)](_0x24a798,_0x436ec2,_0x4bd904){const _0x5b8858=_0x19f2bc;var _0x2fcb0f,_0x2a1743;const _0x37cd53=(_0x2a1743=(_0x2fcb0f=this[_0x5b8858(0x3b0)]['get'](_0x24a798))==null?void 0x0:_0x2fcb0f[_0x5b8858(0x2b1)](_0x436ec2))==null?void 0x0:_0x2a1743[_0x5b8858(0x2b1)](_0x4bd904);if(_0x37cd53)return _0x37cd53;}[_0x19f2bc(0x1aa)](_0xe094e3,_0x5f5039,_0xfde790){const _0x163aa8=_0x19f2bc;var _0x5e5d05,_0x178f21;const _0x16abe1=(_0x178f21=(_0x5e5d05=this['_model'][_0x163aa8(0x2b1)](_0xe094e3))==null?void 0x0:_0x5e5d05['get'](_0x5f5039))==null?void 0x0:_0x178f21[_0x163aa8(0x2b1)](_0xfde790);if(_0x16abe1)return _0x16abe1[_0x163aa8(0x373)];}['getPivotTableInstance'](_0x1fc476){const _0x3c742f=_0x19f2bc;return this[_0x3c742f(0x363)][_0x3c742f(0x2b1)](_0x1fc476);}[_0x19f2bc(0x412)](_0x125836){const _0x222bf1=_0x19f2bc;this[_0x222bf1(0x3b0)][_0x222bf1(0x3d8)](_0x125836);const _0x3b1857=this['_dataFieldManagerCollection'][_0x222bf1(0x2b1)](_0x125836);_0x3b1857&&(_0x3b1857[_0x222bf1(0x13d)](),this['_dataFieldManagerCollection']['delete'](_0x125836)),this[_0x222bf1(0x1c9)]['delete'](_0x125836),this[_0x222bf1(0x22a)]['forEach'](_0x246d44=>{const _0x186f19=_0x222bf1;_0x246d44[_0x186f19(0x412)](_0x125836);});}['addCollectionByJSON'](_0x57d74f,_0x226973,_0x27e850,_0x62ac76){const _0x380641=_0x19f2bc;return this['getDataFieldManager'](_0x27e850[_0x380641(0x1f2)])[_0x380641(0x43c)](_0x57d74f,_0x226973,_0x27e850,_0x62ac76);}['createCollectionWithDataRange'](_0x331e2c){const _0x38ba5a=_0x19f2bc;return this[_0x38ba5a(0x30d)](_0x331e2c['unitId'])['createCollectionWithDataRange'](_0x331e2c);}[_0x19f2bc(0x428)](_0x3e69ff,_0x303bf7,_0x57f8e1){const _0x337d3f=_0x19f2bc;this[_0x337d3f(0x30d)](_0x57f8e1[_0x337d3f(0x1f2)])[_0x337d3f(0x428)](_0x3e69ff,_0x303bf7,_0x57f8e1);}[_0x19f2bc(0x369)](_0x50542c,_0x3d65c9){const _0x4be549=_0x19f2bc;this['getDataFieldManager'](_0x50542c)[_0x4be549(0x3ec)](_0x3d65c9);}[_0x19f2bc(0x311)](_0x2fdf6e,_0x2342f6){const _0x569c15=_0x19f2bc;this[_0x569c15(0x30d)](_0x2fdf6e)[_0x569c15(0x1d8)](_0x2342f6);}['getSubUnitPivotConfigs'](_0x43761b,_0x32fcb6){const _0x1523cf=_0x19f2bc;var _0x249f14;return(_0x249f14=this[_0x1523cf(0x3b0)]['get'](_0x43761b))==null?void 0x0:_0x249f14['get'](_0x32fcb6);}[_0x19f2bc(0x1d6)](_0xa8cc36){const _0x5900c2=_0x19f2bc;for(const [_0x1e9e5a,_0x22b739]of this['_model'][_0x5900c2(0x2aa)]())for(const [_0x58a21d,_0x4fce85]of _0x22b739[_0x5900c2(0x2aa)]())if(_0x4fce85[_0x5900c2(0x3cd)](_0xa8cc36))return{'unitId':_0x1e9e5a,'subUnitId':_0x58a21d};return null;}[_0x19f2bc(0x208)](_0x42adc7,_0x41bf56,_0x590047,_0x2e968d){const _0x195be1=_0x19f2bc,_0x3e81ed=this[_0x195be1(0x3fe)](_0x42adc7,_0x41bf56);_0x2e968d?_0x3e81ed['set'](_0x590047,_0x2e968d):_0x3e81ed['delete'](_0x590047),this[_0x195be1(0x3ad)][_0x195be1(0x357)]({'unitId':_0x42adc7,'subUnitId':_0x41bf56,'pivotTableId':_0x590047});}['dispose'](){const _0x5e3781=_0x19f2bc;super[_0x5e3781(0x13d)]();}['getViewData'](_0x38c33f,_0x447b7b,_0x18c0d2){const _0x31821e=_0x19f2bc;var _0xba16a9,_0x635a61;const _0x15ba36=(_0x635a61=(_0xba16a9=this['_viewData']['get'](_0x38c33f))==null?void 0x0:_0xba16a9[_0x31821e(0x2b1)](_0x447b7b))==null?void 0x0:_0x635a61[_0x31821e(0x2b1)](_0x18c0d2);return _0x15ba36||null;}[_0x19f2bc(0x264)](_0x24d2ee){const _0x5e302a=_0x19f2bc;this[_0x5e302a(0x397)](_0x24d2ee);}['updateDirtyPivotTable'](_0x195959){const _0x1e7626=_0x19f2bc,{token:_0x2d80bc,unitId:_0x15fced,subUnitId:_0x4be13b}=_0x195959,_0x5f1c91=_0x15fced+'-'+_0x4be13b+'-'+_0x2d80bc;this[_0x1e7626(0x18c)][_0x1e7626(0x2b1)](_0x5f1c91)&&clearTimeout(this[_0x1e7626(0x18c)][_0x1e7626(0x2b1)](_0x5f1c91));const _0x2759e1=setTimeout(()=>{const _0x2ffe35=_0x1e7626;this[_0x2ffe35(0x349)](_0x195959),this[_0x2ffe35(0x18c)][_0x2ffe35(0x3d8)](_0x5f1c91);},_0x40164c);this[_0x1e7626(0x18c)][_0x1e7626(0x36d)](_0x5f1c91,_0x2759e1);}[_0x19f2bc(0x349)](_0x1762f6){const _0xe9127c=_0x19f2bc,{unitId:_0xa78748,subUnitId:_0x2e63ee,token:_0x4b9a7c,type:_0x5307ee,pivotConfig:_0x4d7d93}=_0x1762f6,_0x13accc=this[_0xe9127c(0x1eb)](_0x4b9a7c),_0x49422a=_0x13accc==null?void 0x0:_0x13accc[_0xe9127c(0x172)](),_0x253632=_0x4d7d93!=null?_0x4d7d93:this['getPivotTableConfig'](_0xa78748,_0x2e63ee,_0x4b9a7c);_0x253632&&(_0x253632['isEmpty']=!!(_0x13accc!=null&&_0x13accc[_0xe9127c(0x402)]())),(_0x49422a||_0x5307ee===_0x29e361[_0xe9127c(0x21d)])&&this[_0xe9127c(0x223)](_0xa78748,_0x2e63ee,_0x5307ee,_0x4b9a7c,_0x49422a,_0x253632,this['getDataFieldManager'](_0xa78748)[_0xe9127c(0x1e4)]());}[_0x19f2bc(0x1e4)](_0x138382){const _0x165a65=_0x19f2bc,_0x592c21={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x165a65(0x30d)](_0x138382)&&(_0x592c21[_0x165a65(0x38d)][_0x138382]=this[_0x165a65(0x30d)](_0x138382)[_0x165a65(0x1e4)]()),this[_0x165a65(0x3b0)][_0x165a65(0x2b1)](_0x138382)){_0x592c21[_0x165a65(0x190)][_0x138382]={};const _0x4f9c97=this[_0x165a65(0x3b0)][_0x165a65(0x2b1)](_0x138382);_0x4f9c97!=null&&_0x4f9c97[_0x165a65(0x31c)]&&[..._0x4f9c97[_0x165a65(0x255)]()]['forEach'](_0x45fd8e=>{const _0x387c80=_0x165a65,_0xdaba46=_0x4f9c97[_0x387c80(0x2b1)](_0x45fd8e);_0xdaba46!=null&&_0xdaba46[_0x387c80(0x31c)]&&(_0x592c21[_0x387c80(0x190)][_0x138382][_0x45fd8e]={},[..._0xdaba46[_0x387c80(0x255)]()]['forEach'](_0x3b0345=>{const _0x482017=_0x387c80,_0x5f4fef=_0xdaba46[_0x482017(0x2b1)](_0x3b0345);_0x5f4fef&&(_0x592c21[_0x482017(0x190)][_0x138382][_0x45fd8e][_0x3b0345]=_0x5f4fef);}));});}return _0x592c21;}[_0x19f2bc(0x3b4)](_0x5873d0){const _0x6bdab3=_0x19f2bc;var _0x38cc95;const {dataFieldManagerConfig:_0x55718e,pivotTableConfigs:_0x304135}=_0x5873d0;_0x55718e&&Object[_0x6bdab3(0x255)](_0x55718e)[_0x6bdab3(0x1d4)](_0x3b078d=>{const _0x1e44b8=_0x6bdab3;this[_0x1e44b8(0x30d)](_0x3b078d)[_0x1e44b8(0x3b4)](_0x55718e[_0x3b078d]);});const _0x1ec9d1=[];if(_0x304135){const _0x42a7f5=(_0x38cc95=this[_0x6bdab3(0x3b3)][_0x6bdab3(0x2b1)](_0x585029['IConfigService'])['getConfig'](_0x1eafcc['LS_CONFIG_KEY']))!=null?_0x38cc95:{},{ls:_0x2318a5,pbk:_0x354aed}=_0x42a7f5,_0x754f66=_0x3d1186(_0x41a561,_0x2318a5,_0x354aed)['count'];Object['keys'](_0x304135)[_0x6bdab3(0x1d4)](_0x438297=>{const _0x5d1678=_0x6bdab3;let _0x45df86=0x0;const _0x594145=_0x304135[_0x438297];Object[_0x5d1678(0x255)](_0x594145)[_0x5d1678(0x1d4)](_0x33e7b7=>{const _0x9dcc59=_0x5d1678,_0x986537=_0x594145[_0x33e7b7];Object[_0x9dcc59(0x255)](_0x986537)[_0x9dcc59(0x1d4)](_0x394dd1=>{const _0x32d552=_0x9dcc59,_0x424b54=_0x986537[_0x394dd1];if(_0x424b54){if(_0x45df86>=_0x754f66)return;_0x45df86++;const _0x24de4b=this['getDataFieldManager'](_0x438297),_0x535489=_0x24de4b[_0x32d552(0x2c9)][_0x394dd1],_0x529d42=_0x535489[_0x32d552(0x1af)]();let _0x18843f=0x0;const _0x5dfcdc=[];for(const _0x48f943 of _0x529d42){const _0x269e54=_0x535489[_0x32d552(0x3ab)](_0x48f943);if(_0x403b84[_0x32d552(0x3ba)](_0x269e54)){const _0x2fba45=_0x269e54['getOriginFieldId'](),_0x313775=_0x535489[_0x32d552(0x3ab)](_0x2fba45);_0x313775&&_0x5dfcdc['push']([_0x269e54,_0x313775]);continue;}_0x24de4b[_0x32d552(0x2df)](_0x48f943,_0x424b54[_0x32d552(0x389)],_0x18843f),_0x18843f++;}_0x5dfcdc['forEach'](([_0x24a115,_0x25fe26])=>{_0x24a115['refreshGroupField'](_0x25fe26);});const _0x92c51b=new _0x403b84[(_0x32d552(0x359))](_0x535489);_0x92c51b[_0x32d552(0x3b4)](_0x424b54[_0x32d552(0x373)]),this[_0x32d552(0x37a)](_0x438297,_0x33e7b7,_0x394dd1,_0x92c51b,_0x424b54);const _0x200e7a=_0x92c51b[_0x32d552(0x172)]();_0x1ec9d1['push']({'unitId':_0x438297,'subUnitId':_0x33e7b7,'pivotTableId':_0x394dd1,'view':_0x200e7a[_0x32d552(0x1e4)](),'pivotConfig':_0x424b54,'type':_0x29e361[_0x32d552(0x326)]});const _0x16c6ec=!!_0x92c51b[_0x32d552(0x402)](),_0x1bc601={'view':_0x200e7a,'pivotTableId':_0x394dd1,'textInfo':this[_0x32d552(0x1b4)](),'isEmpty':_0x16c6ec,'targetCellInfo':_0x424b54[_0x32d552(0x25f)]};this[_0x32d552(0x247)](_0x1bc601,!0x1);}});});});}_0x55718e&&Object['keys'](_0x55718e)['forEach'](_0x364d68=>{const _0x583f80=_0x6bdab3,_0xaacdd2=this[_0x583f80(0x30d)](_0x364d68);this[_0x583f80(0x2e5)][_0x583f80(0x357)](_0xaacdd2[_0x583f80(0x2c9)]);}),this[_0x6bdab3(0x1f6)]['executeCommand'](_0x2bc750['id'],{'batch':_0x1ec9d1,'collectionConfig':_0x55718e},{'onlyLocal':!0x0});}[_0x19f2bc(0x432)](){const _0x1faae0=_0x19f2bc;this[_0x1faae0(0x446)](this['_resourceManagerService'][_0x1faae0(0x290)]({'toJson':_0x43a284=>JSON[_0x1faae0(0x395)](this[_0x1faae0(0x1e4)](_0x43a284)),'parseJson':_0x5d7f2e=>{const _0x317fec=_0x1faae0;if(!_0x5d7f2e)return{};try{return JSON[_0x317fec(0x18e)](_0x5d7f2e);}catch{return{};}},'businesses':[_0x585029[_0x1faae0(0x2d6)][_0x1faae0(0x383)]],'pluginName':_0x3dbca5,'onLoad':(_0x1b870c,_0x419add)=>{const _0x4a6e0b=_0x1faae0;this[_0x4a6e0b(0x3b4)](_0x419add);},'onUnLoad':_0x15d61c=>{this['deleteUnitId'](_0x15d61c);}}));}},_0x37cc3d[_0x19f2bc(0x154)]=_0x1be2fb([_0x494e21(0x0,_0x585029[_0x19f2bc(0x239)](_0x585029['Injector'])),_0x494e21(0x1,_0x585029[_0x19f2bc(0x42c)]),_0x494e21(0x2,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x333)])),_0x494e21(0x3,_0x585029[_0x19f2bc(0x2e1)]),_0x494e21(0x4,_0x585029[_0x19f2bc(0x1fd)]),_0x494e21(0x5,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x3cc)]))],_0x37cc3d[_0x19f2bc(0x154)]);const _0x5cfaea={0x0:{0x0:{'v':_0x19f2bc(0x244),'s':_0x383e1a}},0x2:{0x1:{'v':'','s':_0x383e1a},0x2:{'v':'','s':_0x383e1a},0x3:{'v':_0x19f2bc(0x283),'s':_0x383e1a},0x4:{'v':'','s':_0x383e1a},0x5:{'v':'','s':_0x383e1a}},0x3:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x4:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x5:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x6:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x7:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x8:{0x0:{'v':_0x19f2bc(0x439),'s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':_0x19f2bc(0x3c9),'s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0x9:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0xa:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0xb:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0xc:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}},0xd:{0x0:{'v':'','s':_0x383e1a},0x1:{'v':'','s':_0x5a1cf1},0x2:{'v':'','s':_0x5a1cf1},0x3:{'v':'','s':_0x5a1cf1},0x4:{'v':'','s':_0x5a1cf1},0x5:{'v':'','s':_0x5a1cf1}}},_0x1fc7e3={'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':[]},_0x2d175b=(_0x177fe5,_0x4a9e52)=>{const _0x54dbe6=_0x19f2bc,_0x87344c=new _0x585029[(_0x54dbe6(0x1ff))](),_0x802735=new _0x585029[(_0x54dbe6(0x1ff))](_0x5cfaea),{row:_0x202d26,col:_0x5b72c2}=_0x4a9e52;_0x802735[_0x54dbe6(0x149)]((_0x463eca,_0x5e277e,_0x276fe4)=>{const _0x4424a0=_0x54dbe6;let _0x27cff6='';_0x276fe4['v']===_0x4424a0(0x244)?_0x27cff6=_0x177fe5[_0x4424a0(0x244)]:_0x276fe4['v']===_0x4424a0(0x439)?_0x27cff6=_0x177fe5[_0x4424a0(0x439)]:_0x276fe4['v']===_0x4424a0(0x283)?_0x27cff6=_0x177fe5[_0x4424a0(0x283)]:_0x276fe4['v']===_0x4424a0(0x3c9)&&(_0x27cff6=_0x177fe5[_0x4424a0(0x3c9)]),_0x87344c['setValue'](_0x463eca+_0x202d26,_0x5e277e+_0x5b72c2,{..._0x276fe4,'v':_0x27cff6});});const _0x56e792=_0x585029[_0x54dbe6(0x261)][_0x54dbe6(0x13c)](_0x1fc7e3);return Object[_0x54dbe6(0x255)](_0x1fc7e3)[_0x54dbe6(0x1d4)](_0x573912=>{const _0xebb0fc=_0x54dbe6;_0x56e792[_0x573912]=_0x1fc7e3[_0x573912][_0xebb0fc(0x36c)](_0x3fba43=>({..._0x3fba43,'startRow':_0x3fba43[_0xebb0fc(0x20b)]+_0x202d26,'endRow':_0x3fba43[_0xebb0fc(0x325)]+_0x202d26,'startColumn':_0x3fba43[_0xebb0fc(0x35a)]+_0x5b72c2,'endColumn':_0x3fba43['endColumn']+_0x5b72c2}));}),{'matrixCache':_0x87344c,'rangesCache':_0x56e792};};function _0x54bb8d(_0x2c959b,_0xd919d1){const _0x5ee98c=_0x19f2bc;let _0x48228f='';const _0x543310=this['getTextInfo']();switch(_0xd919d1){case _0x403b84[_0x5ee98c(0x1ad)]['average']:_0x48228f=_0x543310[_0x5ee98c(0x30b)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)][_0x5ee98c(0x2cb)]:_0x48228f=_0x543310[_0x5ee98c(0x279)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)]['countNums']:_0x48228f=_0x543310[_0x5ee98c(0x1b8)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)][_0x5ee98c(0x3c8)]:_0x48228f=_0x543310[_0x5ee98c(0x3a4)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)][_0x5ee98c(0x271)]:_0x48228f=_0x543310[_0x5ee98c(0x36e)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)]['product']:_0x48228f=_0x543310[_0x5ee98c(0x206)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)][_0x5ee98c(0x211)]:_0x48228f=_0x543310[_0x5ee98c(0x34c)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)]['stdDevp']:_0x48228f=_0x543310[_0x5ee98c(0x2fb)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)][_0x5ee98c(0x175)]:_0x48228f=_0x543310[_0x5ee98c(0x3d5)]+_0x2c959b;break;case _0x403b84[_0x5ee98c(0x1ad)]['var']:_0x48228f=_0x543310[_0x5ee98c(0x3ea)]+_0x2c959b;break;case _0x403b84['PivotSubtotalTypeEnum'][_0x5ee98c(0x43f)]:_0x48228f=_0x543310[_0x5ee98c(0x23d)]+_0x2c959b;break;default:_0x48228f=_0x2c959b;break;}return _0x48228f;}function _0x1921d6(_0x71e093,_0x5a2d6d,_0x287aaa,_0x1bcd42,_0x37ac1c){const _0x2bc7bb=_0x19f2bc;var _0x32e1e3,_0x10bc49,_0x33c60a,_0x2fa6c7,_0x2a995a;const _0x12dd23=_0x585029[_0x2bc7bb(0x3a6)](_0x71e093,_0x5a2d6d),{rangesInfo:_0x2e31cb,areaInfo:_0xff3ed2,headerMap:_0x535e1f}=_0x37ac1c;if(!_0x2e31cb||!_0xff3ed2||!_0x535e1f)return;const _0x1e8e1c=Object['keys'](_0x2e31cb)[_0x2bc7bb(0x304)](_0x17c2ae=>_0x2e31cb[_0x17c2ae]['some'](_0x4efe7e=>_0x585029['Rectangle'][_0x2bc7bb(0x456)](_0x4efe7e,_0x12dd23))),_0x246233=_0xff3ed2;let _0x5e0375,_0x4ac64f,_0x3e571f;if(_0x1e8e1c===_0x2bc7bb(0x2a7))_0x5e0375=(_0x32e1e3=_0x246233==null?void 0x0:_0x246233[_0x2bc7bb(0x1e6)])==null?void 0x0:_0x32e1e3[_0x71e093],_0x4ac64f=(_0x10bc49=_0x535e1f==null?void 0x0:_0x535e1f[_0x2bc7bb(0x268)])==null?void 0x0:_0x10bc49[_0x5a2d6d],_0x3e571f=_0x4ac64f==null?void 0x0:_0x4ac64f[_0x2bc7bb(0x14e)];else{if(_0x1e8e1c===_0x2bc7bb(0x1ec))_0x5e0375=(_0x33c60a=_0x246233==null?void 0x0:_0x246233[_0x2bc7bb(0x384)])==null?void 0x0:_0x33c60a[_0x5a2d6d],_0x4ac64f=(_0x2fa6c7=_0x535e1f[_0x2bc7bb(0x3d9)])==null?void 0x0:_0x2fa6c7[_0x71e093+0x1+_0x5a2d6d-_0x2e31cb['colRanges'][0x0][_0x2bc7bb(0x35a)]],_0x3e571f=_0x4ac64f==null?void 0x0:_0x4ac64f[_0x2bc7bb(0x14e)];else{if(_0x1e8e1c==='cornerRanges')_0x5e0375=(_0x2a995a=_0x246233==null?void 0x0:_0x246233[_0x2bc7bb(0x24d)])==null?void 0x0:_0x2a995a[_0x5a2d6d],_0x3e571f=_0x5e0375==null?void 0x0:_0x5e0375[_0x2bc7bb(0x14e)];else{if(_0x1e8e1c===_0x2bc7bb(0x334)){const _0xf5bcc0=_0x287aaa==null?void 0x0:_0x287aaa['fi'];_0xf5bcc0!==void 0x0&&(_0x3e571f=_0x1bcd42[_0x2bc7bb(0x1e7)](_0xf5bcc0));}}}}return{'filterId':_0x3e571f,'info':_0x5e0375,'data':_0x287aaa,'headerInfo':_0x4ac64f};}function _0x5a9788(_0x1c34a9,_0x28a349,_0x3aaf4c){const _0x45d1bd=_0x19f2bc,_0x318af0=_0x1c34a9[_0x45d1bd(0x212)],_0x13713d=_0x318af0[_0x45d1bd(0x1af)](),_0xa2c71a=new Set();_0x1c34a9[_0x45d1bd(0x392)](_0x54894b=>{const _0x3ea2f1=_0x45d1bd;_0xa2c71a[_0x3ea2f1(0x1f8)](_0x54894b[_0x3ea2f1(0x27f)]);});const _0x5ee663=_0x13713d[_0x45d1bd(0x36c)](_0x33a14a=>{const _0x514248=_0x45d1bd,_0x116ed2=_0x318af0[_0x514248(0x3ab)](_0x33a14a);return{'checked':_0xa2c71a[_0x514248(0x3cd)](_0x33a14a),'dataFieldId':_0x116ed2['id'],'id':_0x116ed2['id'],'name':_0x318af0[_0x514248(0x316)](_0x116ed2['id']),'type':_0x116ed2[_0x514248(0x3be)](),'pivotTableId':_0x28a349};}),_0x2c91d8=[];_0x1c34a9[_0x45d1bd(0x2b4)](_0x403b84['PivotTableFiledAreaEnum'][_0x45d1bd(0x15a)],_0x3d4770=>{const _0x1980af=_0x45d1bd;_0x2c91d8['push']({'dataFieldId':_0x3d4770[_0x1980af(0x27f)],'tableFieldId':_0x3d4770[_0x1980af(0x2dc)](),'displayName':_0x3d4770['getDisplayName']()});});const _0x29e914=[];_0x1c34a9[_0x45d1bd(0x2b4)](_0x403b84[_0x45d1bd(0x442)][_0x45d1bd(0x22b)],_0x5f4970=>{const _0x148635=_0x45d1bd;_0x29e914[_0x148635(0x1b6)]({'dataFieldId':_0x5f4970[_0x148635(0x27f)],'tableFieldId':_0x5f4970[_0x148635(0x2dc)](),'displayName':_0x5f4970['getDisplayName']()});});const _0x57d9c7=[];if(_0x1c34a9[_0x45d1bd(0x2b4)](_0x403b84[_0x45d1bd(0x442)][_0x45d1bd(0x39a)],_0x4b1393=>{const _0xbbb626=_0x45d1bd;_0x57d9c7[_0xbbb626(0x1b6)]({'dataFieldId':_0x4b1393[_0xbbb626(0x27f)],'tableFieldId':_0x4b1393['getId'](),'displayName':_0x4b1393[_0xbbb626(0x316)](),'format':_0x4b1393['getFormat'](),'subTotalType':_0x4b1393['getSubtotal']()});}),_0x57d9c7[_0x45d1bd(0x183)]>0x1){const _0x5a6100=_0x1c34a9[_0x45d1bd(0x23e)]();(_0x1c34a9[_0x45d1bd(0x1ed)]()?_0x29e914:_0x2c91d8)['splice'](_0x5a6100,0x0,{'dataFieldId':'','tableFieldId':_0x45d1bd(0x3f7),'displayName':_0x45d1bd(0x313)});}const _0x2069b8=[];_0x1c34a9[_0x45d1bd(0x2b4)](_0x403b84[_0x45d1bd(0x442)][_0x45d1bd(0x179)],_0x3e75e7=>{const _0x232a5f=_0x45d1bd;_0x2069b8[_0x232a5f(0x1b6)]({'dataFieldId':_0x3e75e7['dataFieldId'],'tableFieldId':_0x3e75e7[_0x232a5f(0x2dc)](),'displayName':_0x3e75e7[_0x232a5f(0x316)]()});});const _0x4837d4=_0x3aaf4c[_0x45d1bd(0x389)];return{'sourceList':_0x5ee663,'sourceRange':_0x4837d4,'rowFields':_0x2c91d8,'columnFields':_0x29e914,'valueFields':_0x57d9c7,'filterFields':_0x2069b8,'positionInfo':_0x3aaf4c[_0x45d1bd(0x25f)]};}function _0x279f25(_0x4bb52d,_0x55b065,_0x1eff04='',_0x4c4dcd={}){const _0x1ed67e=_0x19f2bc,_0x186a21=_0x4bb52d[_0x1ed67e(0x2b1)](_0x585029[_0x1ed67e(0x1a8)]);for(const _0x41e087 in _0x55b065)if(Object[_0x1ed67e(0x232)]['hasOwnProperty'][_0x1ed67e(0x1f4)](_0x55b065,_0x41e087)){const _0x48dd52=_0x1eff04?_0x1eff04+'.'+_0x41e087:_0x41e087;typeof _0x55b065[_0x41e087]==_0x1ed67e(0x37d)&&_0x55b065[_0x41e087]!==null&&!Array[_0x1ed67e(0x344)](_0x55b065[_0x41e087])?_0x279f25(_0x4bb52d,_0x55b065[_0x41e087],_0x48dd52,_0x4c4dcd):_0x4c4dcd[_0x48dd52]=_0x186a21['t'](_0x48dd52);}return _0x4c4dcd;}const _0x428786=_0x5a7000=>{const _0x245e1b=_0x19f2bc;if(!_0x5a7000)return[];const {rowRanges:_0x4dd139,colRanges:_0x267a6e,cornerRanges:_0xaeec7b,dataRanges:_0x1114d2,pageRanges:_0x5c5e1c}=_0x5a7000,_0x5239de=[..._0x267a6e,..._0x4dd139,..._0x1114d2,..._0xaeec7b][_0x245e1b(0x244)](_0x192ef5=>_0x192ef5[_0x245e1b(0x20b)]>=0x0&&_0x192ef5[_0x245e1b(0x35a)]>=0x0&&_0x192ef5[_0x245e1b(0x325)]>=0x0&&_0x192ef5['endColumn']>=0x0);let _0x27cd5f=Number[_0x245e1b(0x1a0)],_0x27f99c=Number[_0x245e1b(0x1ba)],_0x574d23=Number['MAX_SAFE_INTEGER'],_0x58300e=Number[_0x245e1b(0x1ba)];for(let _0x5ce31b=0x0;_0x5ce31b<_0x5239de[_0x245e1b(0x183)];_0x5ce31b++)_0x27cd5f=Math[_0x245e1b(0x271)](_0x27cd5f,_0x5239de[_0x5ce31b][_0x245e1b(0x20b)]),_0x27f99c=Math[_0x245e1b(0x3c8)](_0x27f99c,_0x5239de[_0x5ce31b]['endRow']),_0x574d23=Math[_0x245e1b(0x271)](_0x574d23,_0x5239de[_0x5ce31b][_0x245e1b(0x35a)]),_0x58300e=Math[_0x245e1b(0x3c8)](_0x58300e,_0x5239de[_0x5ce31b][_0x245e1b(0x2ad)]);return[..._0x5c5e1c,{'startRow':_0x27cd5f,'endRow':_0x27f99c,'startColumn':_0x574d23,'endColumn':_0x58300e}];};function _0x2046aa(_0xf8ab5b,_0x57f2d5){const _0x187e9a=_0x19f2bc,_0x46b81e=_0x57f2d5[_0x187e9a(0x26b)]['drillDown'],{pivotTableId:_0x51be27,unitId:_0x318a82,subUnitId:_0x10b448}=_0x57f2d5;if(!_0x46b81e)return;const _0x4aab9d=_0xf8ab5b[_0x187e9a(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),_0x321b44=_0x4aab9d[_0x187e9a(0x1eb)](_0x51be27),_0x31dd43=_0x4aab9d[_0x187e9a(0x2eb)](_0x318a82,_0x10b448,_0x51be27);if(!_0x321b44||!_0x31dd43)return;const _0x4a2c29=_0x321b44[_0x187e9a(0x1a5)](_0x46b81e[_0x187e9a(0x14a)]);if(!(_0x4a2c29!=null&&_0x4a2c29[_0x187e9a(0x183)]))return;const _0x541000=_0x31dd43[_0x187e9a(0x389)],{unitId:_0x46c5e4,subUnitId:_0x3c1d31,range:_0xd2079e}=_0x541000;let _0x4cf330=0x0;const _0x543d23=_0x321b44[_0x187e9a(0x212)][_0x187e9a(0x1af)]()['reduce']((_0x2d35d4,_0x5a3180)=>{const _0x37c5a6=_0x187e9a;var _0x1ae784;const _0x3f4083=(_0x1ae784=_0x321b44[_0x37c5a6(0x227)](_0x5a3180))==null?void 0x0:_0x1ae784[_0x37c5a6(0x2e0)]();return _0x3f4083&&(_0x2d35d4[String(_0x4cf330)]=_0x3f4083),_0x4cf330++,_0x2d35d4;},{});return{'indexes':_0x4a2c29,'range':_0xd2079e,'sourceUnitId':_0x46c5e4,'sourceSubUnitId':_0x3c1d31,'formatMap':_0x543d23};}function _0xd24cda(_0x512c12,_0x47b46e){const _0x15f70c=_0x19f2bc;if(!_0x512c12||!_0x47b46e)return!0x0;const _0x11cc1=_0x1eafcc[_0x15f70c(0x1ac)](_0x173bc1,_0x2a972c),_0xcc7fd=new Function(_0x15f70c(0x2be)+_0x11cc1)()(_0x512c12,_0x47b46e)[_0x15f70c(0x272)],_0x20af18=_0x1eafcc[_0x15f70c(0x166)](_0xcc7fd,'sf',_0x3859d0);return!((_0xcc7fd==null?void 0x0:_0xcc7fd['rt'])===_0x1eafcc[_0x15f70c(0x196)][_0x15f70c(0x404)]&&!_0x20af18);}function _0x3d1186(_0x1e3266,_0x764b35,_0x3f2a83){const _0x41ae59=_0x19f2bc,_0x1dcf02={'count':_0x1e3266,'timeValid':!0x1};if(!_0x764b35||!_0x3f2a83)return _0x1dcf02;const _0x36bbe3=_0x1eafcc[_0x41ae59(0x1ac)](_0x173bc1,_0x2a972c),_0x341392=new Function(_0x41ae59(0x2be)+_0x36bbe3)()(_0x764b35,_0x3f2a83);if(_0x341392!=null&&_0x341392[_0x41ae59(0x3d3)]){const _0x1c2175=_0x341392[_0x41ae59(0x272)],_0x4b248b=_0x1eafcc[_0x41ae59(0x166)](_0x1c2175,'sf',_0x3859d0);return{'count':_0x1eafcc['getSheetFeatureLimit'](_0x1c2175,_0x4b248b,_0x41ae59(0x31d),_0x1e3266,_0x1e3266,0x0),'timeValid':_0x4b248b};}return _0x1dcf02;}function _0x5763f4(_0x1d9501,_0x29df16,_0x4836a8,_0x5210d3){const _0x4c9c85=_0x19f2bc,_0x5332fa={'subUnitId':_0x4836a8,'unitId':_0x29df16,'cellValue':_0x537052[_0x4c9c85(0x3b6)](_0x5210d3)},_0x178c59=_0x537052['SetRangeValuesUndoMutationFactory'](_0x1d9501,_0x5332fa);let _0x392103=!0x1;return new _0x585029[(_0x4c9c85(0x1ff))](_0x178c59[_0x4c9c85(0x44d)])['forValue']((_0xda743c,_0x2a472d,_0x37e395)=>{const _0x4d0ea9=_0x4c9c85;if(!_0x392103&&_0x37e395&&(_0x37e395[_0x4d0ea9(0x1b7)]||_0x37e395['f']||_0x37e395['p']||_0x37e395['s']||_0x37e395['si']||_0x37e395['t']||_0x37e395['v']))return _0x392103=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x537052[_0x4c9c85(0x2f1)]['id'],'params':_0x178c59},'setRangeValueRedoMutation':{'id':_0x537052['SetRangeValuesMutation']['id'],'params':_0x5332fa},'shouldClear':_0x392103};}function _0x37ad6e(_0x971975){const {row:_0x56ba2c,col:_0x216b58}=_0x971975,_0x3c558a={'startRow':_0x56ba2c,'endRow':_0x56ba2c,'startColumn':_0x216b58,'endColumn':_0x216b58},_0x20db25={'startRow':_0x56ba2c+0x2,'endRow':_0x56ba2c+0xe,'startColumn':_0x216b58,'endColumn':_0x216b58+0x6};return[_0x3c558a,_0x20db25];}function _0x4403e3(_0x3efb36,_0x37c99a,_0x2b399b){const _0x397095=_0x19f2bc,{cornerView:_0x5873a7,rowView:_0x1f20fa,colView:_0x4a7446,pageView:_0x2db66d}=_0x3efb36,{row:_0x4af1ed,col:_0x4dbffa}=_0x37c99a;if(_0x2b399b)return{'rowCount':_0xa47f72+_0x4af1ed,'colCount':_0x1551dd+_0x4dbffa};const _0x548433=_0x2db66d[_0x397095(0x39e)]>-0x1?_0x2db66d[_0x397095(0x39e)]+0x1:0x0,_0x21ecb0=_0x2db66d[_0x397095(0x38a)]>-0x1?_0x2db66d[_0x397095(0x38a)]:0x0,_0x55faaa=_0x4af1ed+_0x548433+(_0x548433?0x1:0x0)+_0x5873a7[_0x397095(0x24c)]+_0x1f20fa[_0x397095(0x24c)],_0x576e2f=_0x4dbffa+_0x21ecb0,_0x465d0a=_0x4dbffa+_0x5873a7[_0x397095(0x1be)]+_0x4a7446[_0x397095(0x1be)],_0x4b7435=Math[_0x397095(0x3c8)](_0x576e2f,_0x465d0a);return{'rowCount':_0x55faaa,'colCount':_0x4b7435};}function _0xac2e7d(_0x5845c6,_0x1549b2,_0xce1100,_0x1c6a7e){const _0x229021=_0x19f2bc,{row:_0xd3fa70,col:_0x464aef,unitId:_0x293296,subUnitId:_0x3a59c8}=_0xce1100,_0x180dea=_0x4403e3(_0x1549b2,{'row':_0xd3fa70,'col':_0x464aef},_0x1c6a7e),_0x1ada80=_0x5845c6['get'](_0x585029['IUniverInstanceService']),_0x5b127b=_0x537052[_0x229021(0x3fc)](_0x1ada80,{'unitId':_0x293296,'subUnitId':_0x3a59c8}),_0x180579=[],_0x44483f=[];if(!_0x5b127b)return{'undos':_0x44483f,'redos':_0x180579};const {worksheet:_0x2f0030}=_0x5b127b,_0x396e48=_0x2f0030['getRowCount'](),_0x10254a=_0x2f0030['getColumnCount']();return _0x396e48<_0x180dea[_0x229021(0x24c)]&&(_0x180579[_0x229021(0x1b6)]({'id':_0x537052[_0x229021(0x176)]['id'],'params':{'unitId':_0x293296,'subUnitId':_0x3a59c8,'range':{'startRow':_0x396e48,'endRow':_0x180dea[_0x229021(0x24c)]-0x1,'startColumn':0x0,'endColumn':_0x10254a-0x1}}}),_0x44483f[_0x229021(0x1b6)]({'id':_0x537052[_0x229021(0x341)]['id'],'params':{'unitId':_0x293296,'subUnitId':_0x3a59c8,'range':{'startRow':_0x396e48,'endRow':_0x180dea[_0x229021(0x24c)]-0x1,'startColumn':0x0,'endColumn':_0x10254a-0x1}}})),_0x10254a<_0x180dea[_0x229021(0x1be)]&&(_0x180579[_0x229021(0x1b6)]({'id':_0x537052['InsertColMutation']['id'],'params':{'unitId':_0x293296,'subUnitId':_0x3a59c8,'range':{'startRow':0x0,'endRow':_0x396e48-0x1,'startColumn':_0x10254a,'endColumn':_0x180dea[_0x229021(0x1be)]-0x1}}}),_0x44483f['push']({'id':_0x537052[_0x229021(0x435)]['id'],'params':{'unitId':_0x293296,'subUnitId':_0x3a59c8,'range':{'startRow':0x0,'endRow':_0x396e48-0x1,'startColumn':_0x10254a,'endColumn':_0x180dea['colCount']-0x1}}})),{'undos':_0x44483f,'redos':_0x180579};}function _0x31740e(_0x857d77){let _0x19f4a5=0x0;for(let _0x2da847=0x0;_0x2da847<_0x857d77['length'];_0x2da847++){const _0x454b63=_0x857d77['charCodeAt'](_0x2da847);_0x454b63>=0x4e00&&_0x454b63<=0x9fff||_0x454b63>=0x3000&&_0x454b63<=0x303f||_0x454b63>=0xff00&&_0x454b63<=0xffef?_0x19f4a5+=0x2:_0x19f4a5+=0x1;}return _0x19f4a5;}function _0x446234(_0x3d5bd4,_0x4d43dd,_0x1d6a0c,_0x37f754){const _0x4e0212=_0x19f2bc;var _0x2094a0,_0x1a56fc,_0x396651,_0x50abd8;const {rowCount:_0x11a67d,colCount:_0x3910a4,headerMap:_0x336c02}=_0x3d5bd4,_0x50c545=0x64,_0x54f0eb=Math['min'](_0x11a67d,_0x50c545),_0x36f5b3=Math[_0x4e0212(0x271)](_0x3910a4,_0x50c545);let _0x26edbf='',_0x51e8c2=0x0;for(let _0xd8ff35=0x0;_0xd8ff35<_0x54f0eb;_0xd8ff35++)for(let _0x1a086e=0x0;_0x1a086e<_0x36f5b3;_0x1a086e++){const _0x26bd0c={...(_0x1a56fc=(_0x2094a0=_0x3d5bd4[_0x4e0212(0x28f)])==null?void 0x0:_0x2094a0[_0xd8ff35])==null?void 0x0:_0x1a56fc[_0x1a086e]},_0x43a45f=(_0x396651=_0x336c02[_0xd8ff35])==null?void 0x0:_0x396651[_0x4e0212(0x14e)],_0x10501c=_0x37f754[_0x43a45f];let _0x45b8f7=_0x3d5bd4['getValue'](_0xd8ff35,_0x1a086e);if(_0x26bd0c){const _0xaf48a8=_0x1d6a0c?_0x1a086e===0x0&&((_0x50abd8=_0x3d5bd4[_0x4e0212(0x219)](_0x1a086e+0x1))==null?void 0x0:_0x50abd8[_0x4e0212(0x390)]):!0x1;_0x45b8f7=_0x13abf2(_0x26bd0c,_0xaf48a8,_0x10501c,_0x4d43dd);}if(_0x45b8f7!==void 0x0){const _0x26fa5e=_0x31740e(String(_0x45b8f7));_0x51e8c2<_0x26fa5e&&(_0x26edbf=String(_0x45b8f7),_0x51e8c2=_0x26fa5e);}}return _0x26edbf;}function _0x2b0166(_0x423590){const _0x264060=_0x19f2bc,{rowCount:_0x19d503,colCount:_0x78bb35}=_0x423590;let _0x2f0114='',_0x1c5a73=0x0;for(let _0x3108e0=_0x19d503-0x1;_0x3108e0>0x0&&_0x3108e0>_0x19d503-0x3;_0x3108e0--)for(let _0x1df193=0x0;_0x1df193<_0x78bb35;_0x1df193++){const _0x5cf790=_0x423590[_0x264060(0x37c)](_0x3108e0,_0x1df193);if(_0x5cf790!==void 0x0){const _0x51e681=String(_0x5cf790)['length'];_0x1c5a73<_0x51e681&&(_0x2f0114=String(_0x5cf790),_0x1c5a73=_0x51e681);}}return _0x2f0114;}function _0x2bf10d(_0x4d3429){const _0x192315=_0x19f2bc,{rowCount:_0x503574,colCount:_0xea68b9}=_0x4d3429;let _0x73590e='',_0x17ac4b=0x0;for(let _0x55644b=0x0;_0x55644b<_0x503574;_0x55644b++)for(let _0x3e514b=0x0;_0x3e514b<_0xea68b9;_0x3e514b++){const _0x49c8b5=_0x4d3429[_0x192315(0x37c)](_0x55644b,_0x3e514b);if(_0x49c8b5!==void 0x0){const _0x1647b7=String(_0x49c8b5)['length'];_0x17ac4b<_0x1647b7&&(_0x73590e=String(_0x49c8b5),_0x17ac4b=_0x1647b7);}}return _0x73590e;}function _0x291ac4(_0x2e539a,_0x168200){const _0x43878a=_0x19f2bc,{rowFields:_0x20922f,columnFields:_0x5bc48c,valueFields:_0x2f9baa,filterFields:_0x3b6871,dimension:_0x3154d0,measure:_0x5ab5d9}=_0x168200;for(const _0xaefad6 of _0x20922f){const _0x56b797=_0x3154d0[_0xaefad6];_0x56b797&&_0x2e539a[_0x43878a(0x227)](_0x56b797['dataFieldId'])&&(_0x2e539a[_0x43878a(0x2bc)](_0x56b797[_0x43878a(0x27f)],_0x403b84[_0x43878a(0x442)]['Row'],void 0x0,_0xaefad6),_0x56b797[_0x43878a(0x22d)]&&_0x2e539a[_0x43878a(0x31e)](_0x56b797['id'],_0x56b797['displayName']),_0x56b797[_0x43878a(0x296)]&&_0x2e539a[_0x43878a(0x332)](_0x56b797['id'],_0x56b797[_0x43878a(0x296)]),_0x56b797['filterInfo']&&_0x2e539a[_0x43878a(0x393)](_0x56b797['id'],_0x56b797[_0x43878a(0x2ac)]));}for(const _0x33708b of _0x5bc48c){const _0x171c2f=_0x3154d0[_0x33708b];_0x171c2f&&_0x2e539a[_0x43878a(0x227)](_0x171c2f[_0x43878a(0x27f)])&&(_0x2e539a[_0x43878a(0x2bc)](_0x171c2f[_0x43878a(0x27f)],_0x403b84['PivotTableFiledAreaEnum'][_0x43878a(0x22b)],void 0x0,_0x33708b),_0x171c2f[_0x43878a(0x296)]&&_0x2e539a[_0x43878a(0x332)](_0x171c2f['id'],_0x171c2f[_0x43878a(0x296)]),_0x171c2f[_0x43878a(0x2ac)]&&_0x2e539a[_0x43878a(0x393)](_0x171c2f['id'],_0x171c2f[_0x43878a(0x2ac)]),_0x171c2f['displayName']&&_0x2e539a[_0x43878a(0x31e)](_0x171c2f['id'],_0x171c2f[_0x43878a(0x22d)]));}for(const _0x40b4e5 of _0x3b6871){const _0x5dfb47=_0x3154d0[_0x40b4e5];_0x5dfb47&&_0x2e539a['getDataFieldByDataFieldId'](_0x5dfb47[_0x43878a(0x27f)])&&(_0x2e539a['addFieldWithSourceId'](_0x5dfb47['dataFieldId'],_0x403b84[_0x43878a(0x442)][_0x43878a(0x179)],void 0x0,_0x40b4e5),_0x5dfb47[_0x43878a(0x296)]&&_0x2e539a[_0x43878a(0x332)](_0x5dfb47['id'],_0x5dfb47['sortInfo']),_0x5dfb47['filterInfo']&&_0x2e539a[_0x43878a(0x393)](_0x5dfb47['id'],_0x5dfb47['filterInfo']),_0x5dfb47[_0x43878a(0x22d)]&&_0x2e539a[_0x43878a(0x31e)](_0x5dfb47['id'],_0x5dfb47[_0x43878a(0x22d)]));}for(const _0x399ca2 of _0x2f9baa){const _0x5492c4=_0x5ab5d9[_0x399ca2];_0x5492c4&&_0x2e539a[_0x43878a(0x227)](_0x5492c4[_0x43878a(0x27f)])&&(_0x2e539a[_0x43878a(0x2bc)](_0x5492c4['dataFieldId'],_0x403b84[_0x43878a(0x442)][_0x43878a(0x39a)],void 0x0,_0x399ca2),_0x5492c4[_0x43878a(0x184)]!==void 0x0&&_0x2e539a[_0x43878a(0x3db)](_0x399ca2,_0x5492c4[_0x43878a(0x184)]),_0x5492c4[_0x43878a(0x302)]&&_0x2e539a[_0x43878a(0x225)](_0x399ca2,_0x5492c4[_0x43878a(0x302)]),_0x5492c4[_0x43878a(0x22d)]&&_0x2e539a['renameField'](_0x5492c4['id'],_0x5492c4[_0x43878a(0x22d)]));}const _0xb771ed=_0x168200[_0x43878a(0x1ef)];for(const {fieldId:_0x34b153,filterInfo:_0x472e88}of _0xb771ed)_0x2e539a[_0x43878a(0x336)](_0x34b153,_0x472e88);}function _0x556caa(_0x38d414,_0xaabd91){const _0x1cb624=_0x19f2bc,_0x57ec71=[];_0xaabd91===_0x403b84['PivotTableFiledAreaEnum'][_0x1cb624(0x15a)]&&_0x38d414[_0x1cb624(0x2b4)](_0x403b84['PivotTableFiledAreaEnum']['Row'],_0x41775b=>{const _0x4c8e69=_0x1cb624;_0x57ec71[_0x4c8e69(0x1b6)](_0x41775b[_0x4c8e69(0x2dc)]());}),_0xaabd91===_0x403b84['PivotTableFiledAreaEnum'][_0x1cb624(0x22b)]&&_0x38d414[_0x1cb624(0x2b4)](_0x403b84['PivotTableFiledAreaEnum'][_0x1cb624(0x22b)],_0x357720=>{const _0x2eb981=_0x1cb624;_0x57ec71[_0x2eb981(0x1b6)](_0x357720[_0x2eb981(0x2dc)]());}),_0xaabd91===_0x403b84[_0x1cb624(0x442)][_0x1cb624(0x179)]&&_0x38d414[_0x1cb624(0x2b4)](_0x403b84[_0x1cb624(0x442)][_0x1cb624(0x179)],_0x1f0576=>{const _0x1041bb=_0x1cb624;_0x57ec71['push'](_0x1f0576[_0x1041bb(0x2dc)]());}),_0xaabd91===_0x403b84[_0x1cb624(0x442)]['Value']&&_0x38d414[_0x1cb624(0x2b4)](_0x403b84[_0x1cb624(0x442)][_0x1cb624(0x39a)],_0x403742=>{_0x57ec71['push'](_0x403742['getId']());}),_0xaabd91===void 0x0&&_0x38d414[_0x1cb624(0x392)](_0xb3a6a6=>{const _0x5e14dc=_0x1cb624;_0x57ec71[_0x5e14dc(0x1b6)](_0xb3a6a6['getId']());});const _0x15a44c=_0x57ec71[_0x1cb624(0x183)];for(let _0x5277d7=_0x15a44c-0x1;_0x5277d7>=0x0;_0x5277d7--)_0x38d414[_0x1cb624(0x27e)](_0x57ec71[_0x5277d7]);const _0x29090a=_0x38d414[_0x1cb624(0x214)]();for(const _0xd63cf2 in _0x29090a)_0x38d414[_0x1cb624(0x452)](_0xd63cf2);}function _0xb61f1e(_0x49661d,_0xee856b){const _0x19f778=_0x19f2bc,_0x19da28=new Date(_0x403b84['excelDateToUnixMilliseconds'](_0xee856b)),_0x4ab90f=new Date(_0x403b84[_0x19f778(0x18a)](_0x49661d)),_0x5e0870=_0x19da28['getFullYear'](),_0x43fc3f=_0x4ab90f[_0x19f778(0x3dd)](),_0x22bea1=_0x19da28[_0x19f778(0x198)](),_0x12419d=_0x4ab90f[_0x19f778(0x198)](),_0x2cd7d7=_0x19da28[_0x19f778(0x411)](),_0x4a8ecd=_0x4ab90f[_0x19f778(0x411)](),_0x1541ed=_0x5e0870===_0x43fc3f,_0x5d44d8=_0x1541ed&&_0x22bea1===_0x12419d;return _0x1541ed&&_0x5d44d8&&!(_0x5d44d8&&_0x2cd7d7===_0x4a8ecd)?_0x403b84[_0x19f778(0x2cf)][_0x19f778(0x3ee)]:_0x1541ed&&!_0x5d44d8?_0x403b84[_0x19f778(0x2cf)]['YearMonth']:_0x403b84[_0x19f778(0x2cf)][_0x19f778(0x3af)];}function _0x4f6767(_0x1e3b2a,_0xe0fb05){const _0x5aac6c=_0x19f2bc,_0x38b9d9=_0x1e3b2a[_0x5aac6c(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x1d0685='';switch(_0xe0fb05){case _0x403b84[_0x5aac6c(0x2cf)]['YearMonthDate']:_0x1d0685=_0x38b9d9['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x321)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x33d)];break;case _0x403b84[_0x5aac6c(0x2cf)]['Year']:_0x1d0685=_0x38b9d9[_0x5aac6c(0x441)];break;case _0x403b84[_0x5aac6c(0x2cf)]['Month']:_0x1d0685=_0x38b9d9['sheets-pivot.dateGroup.month'];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x44c)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x380)];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x277)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x2c2)];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x153)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x187)];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x324)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x348)];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x3ce)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x258)];break;case _0x403b84[_0x5aac6c(0x2cf)]['MonthDate']:_0x1d0685=_0x38b9d9[_0x5aac6c(0x2c7)];break;case _0x403b84[_0x5aac6c(0x2cf)][_0x5aac6c(0x32f)]:_0x1d0685=_0x38b9d9[_0x5aac6c(0x203)];break;default:_0x1d0685='';break;}return _0x1d0685;}const _0x3ac092='sheets-pivot.config',_0x53bde1={};var _0x2f1b7f=Object['getOwnPropertyDescriptor'],_0xc9b78b=(_0x48bd40,_0x3e5f3f,_0x280daf,_0x4aa11d)=>{for(var _0x217971=_0x4aa11d>0x1?void 0x0:_0x4aa11d?_0x2f1b7f(_0x3e5f3f,_0x280daf):_0x3e5f3f,_0x1d1a6e=_0x48bd40['length']-0x1,_0x368411;_0x1d1a6e>=0x0;_0x1d1a6e--)(_0x368411=_0x48bd40[_0x1d1a6e])&&(_0x217971=_0x368411(_0x217971)||_0x217971);return _0x217971;},_0x440692=(_0x5a0e2d,_0x101f87)=>(_0x5ee136,_0x3fd9e7)=>_0x101f87(_0x5ee136,_0x3fd9e7,_0x5a0e2d);_0x37cc3d[_0x19f2bc(0x382)]=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x5d8db6,_0x2163d2,_0x504253,_0x39992f,_0x2a0e93){const _0x2f4390=_0x19f2bc;super(),_0x37aa9d(this,_0x2f4390(0x3b0),new Map()),_0x37aa9d(this,_0x2f4390(0x24b),new Map()),_0x37aa9d(this,_0x2f4390(0x40b),new Map()),_0x37aa9d(this,'_pivotTableMatrixInfo',new Map()),_0x37aa9d(this,_0x2f4390(0x169),new _0x28c886[(_0x2f4390(0x3e2))]()),_0x37aa9d(this,_0x2f4390(0x23c),new _0x28c886['Subject']()),_0x37aa9d(this,'pivotInitCompleted$',this[_0x2f4390(0x23c)][_0x2f4390(0x3dc)]()),_0x37aa9d(this,'_pivotConfigChange$',new _0x28c886[(_0x2f4390(0x3e2))]()),_0x37aa9d(this,'pivotConfigChange$',this['_pivotConfigChange$'][_0x2f4390(0x3dc)]()),_0x37aa9d(this,_0x2f4390(0x157),{}),_0x37aa9d(this,_0x2f4390(0x2f6),this[_0x2f4390(0x169)][_0x2f4390(0x3dc)]()),(this[_0x2f4390(0x3b3)]=_0x5d8db6,this['_commandService']=_0x2163d2,this[_0x2f4390(0x358)]=_0x504253,this[_0x2f4390(0x38f)]=_0x39992f,this[_0x2f4390(0x171)]=_0x2a0e93,this[_0x2f4390(0x354)](),this[_0x2f4390(0x1cc)]());const _0x421c57=this[_0x2f4390(0x171)]['getConfig'](_0x3ac092);(_0x421c57==null?void 0x0:_0x421c57['notExecuteFormula'])===!0x0&&this[_0x2f4390(0x432)]();}[_0x19f2bc(0x1cc)](){const _0x21bb08=_0x19f2bc;this[_0x21bb08(0x446)](this[_0x21bb08(0x358)][_0x21bb08(0x361)](_0x585029['UniverInstanceType'][_0x21bb08(0x383)])['subscribe'](_0x53b338=>{const _0x52e76a=_0x21bb08;this[_0x52e76a(0x412)](_0x53b338['getUnitId']());}));}[_0x19f2bc(0x3de)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x19f2bc(0x354)](){const _0x12eddf=_0x19f2bc,_0x414ed6=_0x279f25(this['_injector'],_0x2f6606,'',{});this[_0x12eddf(0x157)]=_0x414ed6,this['_commandService'][_0x12eddf(0x399)](_0x3ed008['id'],{'textInfo':_0x414ed6},{'onlyLocal':!0x0});}[_0x19f2bc(0x1b4)](){const _0x5ad00f=_0x19f2bc;return this[_0x5ad00f(0x157)];}[_0x19f2bc(0x308)](_0x237d5a,_0x81109b,_0x9d82cc,_0x9858e1,_0x10e795){const _0x928f5=_0x19f2bc;this[_0x928f5(0x1bb)](_0x237d5a,_0x81109b,_0x9d82cc,_0x9858e1),this[_0x928f5(0x2d3)](_0x237d5a,_0x81109b,_0x9d82cc,_0x10e795);}[_0x19f2bc(0x2eb)](_0x528cd9,_0x3dda4e,_0x243a23){const _0x2e3d75=_0x19f2bc;var _0x2f5ffc;const _0x247679=(_0x2f5ffc=this[_0x2e3d75(0x3b0)]['get'](_0x528cd9))==null?void 0x0:_0x2f5ffc[_0x2e3d75(0x2b1)](_0x3dda4e);if(_0x247679)return _0x247679[_0x2e3d75(0x2b1)](_0x243a23);}[_0x19f2bc(0x1c8)](_0x385a08,_0x53f9f9){const _0x34a417=_0x19f2bc,_0x1ac097=this[_0x34a417(0x3b0)]['get'](_0x385a08);if(_0x1ac097){for(const [_0x5ed001,_0x617932]of _0x1ac097[_0x34a417(0x2aa)]())for(const [_0x2b2dfa,_0xeb5b8f]of _0x617932[_0x34a417(0x2aa)]())if(_0x2b2dfa===_0x53f9f9)return _0xeb5b8f[_0x34a417(0x25f)];}}['getTargetByPivotId'](_0x1be5f4,_0x46eb05,_0x387685){const _0xe61ae9=_0x19f2bc,_0x37da42=this[_0xe61ae9(0x2eb)](_0x1be5f4,_0x46eb05,_0x387685);return _0x37da42==null?void 0x0:_0x37da42[_0xe61ae9(0x25f)];}['getSubUnitPivotConfigs'](_0x17911d,_0x2884e0){const _0x3ac663=_0x19f2bc;var _0x116a9f;return(_0x116a9f=this[_0x3ac663(0x3b0)][_0x3ac663(0x2b1)](_0x17911d))==null?void 0x0:_0x116a9f[_0x3ac663(0x2b1)](_0x2884e0);}[_0x19f2bc(0x15b)](_0x1b6444,_0xe9d138,_0x395845,_0x9ff764){const _0x565a93=_0x19f2bc,_0x126cb4=this[_0x565a93(0x19a)](_0x1b6444,_0xe9d138);_0x9ff764?_0x126cb4[_0x565a93(0x36d)](_0x395845,_0x9ff764):_0x126cb4[_0x565a93(0x3d8)](_0x395845),this[_0x565a93(0x278)]['next']({'unitId':_0x1b6444,'subUnitId':_0xe9d138,'pivotTableId':_0x395845,'pivotTableConfig':_0x9ff764});}[_0x19f2bc(0x33a)](_0x594f93,_0x1d943b){const _0x332bb1=_0x19f2bc;var _0x5475e6;return(_0x5475e6=this[_0x332bb1(0x24b)][_0x332bb1(0x2b1)](_0x594f93))==null?void 0x0:_0x5475e6['collections'][_0x1d943b];}[_0x19f2bc(0x2a0)](_0x55e2a2,_0x54bd28){const _0x131f19=_0x19f2bc;this[_0x131f19(0x24b)][_0x131f19(0x36d)](_0x55e2a2,_0x54bd28),this[_0x131f19(0x169)][_0x131f19(0x357)](Math['random']());}[_0x19f2bc(0x19a)](_0x517847,_0x34327a){const _0x5ad049=_0x19f2bc;let _0x12855d=this[_0x5ad049(0x3b0)][_0x5ad049(0x2b1)](_0x517847);_0x12855d||(_0x12855d=new Map(),this[_0x5ad049(0x3b0)][_0x5ad049(0x36d)](_0x517847,_0x12855d));let _0x268528=_0x12855d['get'](_0x34327a);return _0x268528||(_0x268528=new Map(),_0x12855d['set'](_0x34327a,_0x268528)),_0x268528;}['_ensurePivotTableRangeInfo'](_0x358ab4,_0x3e4aac){const _0x44ade3=_0x19f2bc;let _0x24fe25=this[_0x44ade3(0x40b)][_0x44ade3(0x2b1)](_0x358ab4);_0x24fe25||(_0x24fe25=new Map(),this['_pivotTableRangeInfo']['set'](_0x358ab4,_0x24fe25));let _0x2bb599=_0x24fe25[_0x44ade3(0x2b1)](_0x3e4aac);return _0x2bb599||(_0x2bb599=new Map(),_0x24fe25[_0x44ade3(0x36d)](_0x3e4aac,_0x2bb599)),_0x2bb599;}['_ensurePivotTableMatrixInfo'](_0x56bf11,_0x2c52b7){const _0x1af426=_0x19f2bc;let _0x2279c0=this['_pivotTableMatrixInfo']['get'](_0x56bf11);_0x2279c0||(_0x2279c0=new Map(),this['_pivotTableMatrixInfo'][_0x1af426(0x36d)](_0x56bf11,_0x2279c0));let _0x14f3e5=_0x2279c0[_0x1af426(0x2b1)](_0x2c52b7);return _0x14f3e5||(_0x14f3e5=new Map(),_0x2279c0[_0x1af426(0x36d)](_0x2c52b7,_0x14f3e5)),_0x14f3e5;}[_0x19f2bc(0x2d3)](_0x26a850,_0x8f9206,_0x1d2b3c,_0x5927a3){const _0x48bbf4=_0x19f2bc;var _0x36b9e7;const _0x50e610=this[_0x48bbf4(0x407)](_0x26a850,_0x8f9206),_0x414549=(_0x36b9e7=_0x50e610[_0x48bbf4(0x2b1)](_0x1d2b3c))==null?void 0x0:_0x36b9e7[_0x48bbf4(0x1d5)];_0x50e610[_0x48bbf4(0x36d)](_0x1d2b3c,{'oldRangeInfo':_0x414549,'rangeInfo':_0x5927a3});}[_0x19f2bc(0x1bb)](_0x29e3fc,_0x4f6f6b,_0x1a23f6,_0x195415){const _0x2d3b66=_0x19f2bc;var _0x26548a;const _0x55072d=this[_0x2d3b66(0x142)](_0x29e3fc,_0x4f6f6b),_0x1cf966=(_0x26548a=_0x55072d['get'](_0x1a23f6))==null?void 0x0:_0x26548a[_0x2d3b66(0x259)];_0x55072d[_0x2d3b66(0x36d)](_0x1a23f6,{'oldMatrix':_0x1cf966,'matrix':_0x195415});}[_0x19f2bc(0x448)](_0x2d5a9a,_0x5ee13b,_0x435d7e){const _0xc264d9=_0x19f2bc;var _0x38c9c2,_0x14d8eb;return(_0x14d8eb=(_0x38c9c2=this[_0xc264d9(0x40b)][_0xc264d9(0x2b1)](_0x2d5a9a))==null?void 0x0:_0x38c9c2[_0xc264d9(0x2b1)](_0x5ee13b))==null?void 0x0:_0x14d8eb[_0xc264d9(0x2b1)](_0x435d7e);}[_0x19f2bc(0x2da)](_0x24c3ea,_0x1f7db9,_0x4fb43d){const _0x6cb4cd=_0x19f2bc;var _0x25b7ad,_0x167acb;return(_0x167acb=(_0x25b7ad=this[_0x6cb4cd(0x35b)]['get'](_0x24c3ea))==null?void 0x0:_0x25b7ad[_0x6cb4cd(0x2b1)](_0x1f7db9))==null?void 0x0:_0x167acb[_0x6cb4cd(0x2b1)](_0x4fb43d);}[_0x19f2bc(0x412)](_0x521b50){const _0x6139c4=_0x19f2bc;this['_model'][_0x6139c4(0x3d8)](_0x521b50),this[_0x6139c4(0x24b)]['delete'](_0x521b50);}['_toJSON'](_0x30129e){const _0x2726a3=_0x19f2bc,_0x159133={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2726a3(0x24b)]['get'](_0x30129e)&&(_0x159133[_0x2726a3(0x38d)][_0x30129e]=this[_0x2726a3(0x24b)][_0x2726a3(0x2b1)](_0x30129e)),this['_model']['get'](_0x30129e)){_0x159133[_0x2726a3(0x190)][_0x30129e]={};const _0x483f25=this['_model'][_0x2726a3(0x2b1)](_0x30129e);_0x483f25!=null&&_0x483f25[_0x2726a3(0x31c)]&&[..._0x483f25[_0x2726a3(0x255)]()][_0x2726a3(0x1d4)](_0x2c96c3=>{const _0x2dfc24=_0x2726a3,_0xa12916=_0x483f25['get'](_0x2c96c3);_0xa12916!=null&&_0xa12916[_0x2dfc24(0x31c)]&&(_0x159133['pivotTableConfigs'][_0x30129e][_0x2c96c3]={},[..._0xa12916[_0x2dfc24(0x255)]()]['forEach'](_0x46fa2a=>{const _0x3bfba1=_0x2dfc24,_0x336eb5=_0xa12916['get'](_0x46fa2a);_0x336eb5&&(_0x159133[_0x3bfba1(0x190)][_0x30129e][_0x2c96c3][_0x46fa2a]=_0x336eb5);}));});}return _0x159133;}['_initSnapshot'](){const _0xc5289b=_0x19f2bc;this[_0xc5289b(0x446)](this[_0xc5289b(0x38f)][_0xc5289b(0x290)]({'toJson':_0x41d145=>JSON['stringify'](this[_0xc5289b(0x41e)](_0x41d145)),'parseJson':_0x21d7f9=>({}),'businesses':[_0x585029['UniverInstanceType'][_0xc5289b(0x383)]],'pluginName':_0x3dbca5,'onLoad':(_0x21daca,_0x1c3efb)=>{},'onUnLoad':_0x1cf2be=>{const _0x1e8bf2=_0xc5289b;this[_0x1e8bf2(0x412)](_0x1cf2be);}}));}},_0x37cc3d[_0x19f2bc(0x382)]=_0xc9b78b([_0x440692(0x0,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x454)])),_0x440692(0x1,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x1fd)])),_0x440692(0x2,_0x585029['Inject'](_0x585029['IUniverInstanceService'])),_0x440692(0x3,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x3cc)])),_0x440692(0x4,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x2e1)]))],_0x37cc3d[_0x19f2bc(0x382)]);var _0x5367cb=Object[_0x19f2bc(0x2c5)],_0x31a670=(_0x2e3acf,_0x389b95,_0x5dd22c,_0x2596e9)=>{for(var _0x4c33cb=_0x2596e9>0x1?void 0x0:_0x2596e9?_0x5367cb(_0x389b95,_0x5dd22c):_0x389b95,_0x48fae5=_0x2e3acf['length']-0x1,_0x565038;_0x48fae5>=0x0;_0x48fae5--)(_0x565038=_0x2e3acf[_0x48fae5])&&(_0x4c33cb=_0x565038(_0x4c33cb)||_0x4c33cb);return _0x4c33cb;},_0x1e07f4=(_0x463c93,_0x3c34f8)=>(_0x8c1f20,_0xce0ef0)=>_0x3c34f8(_0x8c1f20,_0xce0ef0,_0x463c93);_0x37cc3d[_0x19f2bc(0x2c0)]=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x5e22a9,_0x57da52,_0x297060,_0x66dc6c,_0x1f9059){const _0x126064=_0x19f2bc;super(),_0x37aa9d(this,'_pivotRenderInfoCache',new Map()),_0x37aa9d(this,_0x126064(0x1ce),new Map()),_0x37aa9d(this,_0x126064(0x40a),new _0x28c886[(_0x126064(0x3e2))]()),_0x37aa9d(this,_0x126064(0x372),this[_0x126064(0x40a)][_0x126064(0x3dc)]()),_0x37aa9d(this,_0x126064(0x197),new _0x28c886[(_0x126064(0x3e2))]()),_0x37aa9d(this,_0x126064(0x257),this['_viewUpdate$'][_0x126064(0x3dc)]()),_0x37aa9d(this,_0x126064(0x157)),(this[_0x126064(0x236)]=_0x5e22a9,this['_injector']=_0x57da52,this['_sheetsPivotTableConfigModel']=_0x297060,this['_univerInstanceService']=_0x66dc6c,this[_0x126064(0x385)]=_0x1f9059,this[_0x126064(0x354)](),this[_0x126064(0x1cc)]());}['_initUnitDisposed'](){const _0x17b6ed=_0x19f2bc;this[_0x17b6ed(0x446)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x585029[_0x17b6ed(0x2d6)][_0x17b6ed(0x383)])['subscribe'](_0x73292=>{const _0x2a509b=_0x17b6ed;this[_0x2a509b(0x412)](_0x73292[_0x2a509b(0x318)]());}));}[_0x19f2bc(0x354)](){const _0xd2bd9=_0x19f2bc;this[_0xd2bd9(0x157)]=_0x279f25(this[_0xd2bd9(0x3b3)],_0x2f6606,'',{});}[_0x19f2bc(0x3d6)](_0x22ffe8){const _0x55127f=_0x19f2bc,{view:_0x184ab5,unitId:_0x5c43e3,subUnitId:_0x31d549,pivotTableId:_0x5378e8,type:_0x35ecde}=_0x22ffe8,_0x49b3f2=this[_0x55127f(0x3d2)][_0x55127f(0x2eb)](_0x5c43e3,_0x31d549,_0x5378e8);if(!_0x184ab5||!_0x49b3f2||_0x35ecde===_0x29e361['Delete'])return;const {pageView:_0x2a4ca4,cornerView:_0x567205,rowView:_0x2b4af6,colView:_0x1de469,dataView:_0x51a647}=_0x184ab5,_0x404359=_0x49b3f2[_0x55127f(0x25f)],_0x469470=_0x49b3f2[_0x55127f(0x402)],_0x12c336=this[_0x55127f(0x14b)](_0x5c43e3,_0x31d549),_0x436a5e=this['_ensurePivotItemRenderInfoCache'](_0x5c43e3,_0x31d549,_0x5378e8);if(_0x469470)return this['_updateRenderEmptyCache'](_0x22ffe8,_0x12c336,_0x404359,_0x436a5e);{const _0x2bf7a8=_0x3a254c(_0x404359,_0x2a4ca4,!0x0),_0x2585d7=_0x2a4ca4[_0x55127f(0x39e)]>=0x0?_0x2a4ca4['lastRow']+0x1:0x0,_0x472dc2=_0x567205['getRowCount'](),_0x3c81c6=_0x567205['getColCount'](),_0x1dceee=_0x2bf7a8['length']>0x0?_0x65df37:0x0,_0x558867=_0x3a254c({'row':_0x404359['row']+_0x2585d7+_0x1dceee,'col':_0x404359[_0x55127f(0x177)]},_0x567205,!0x1,!0x1),_0x72282a=_0x3a254c({'row':_0x404359[_0x55127f(0x439)]+_0x2585d7+_0x1dceee+_0x472dc2,'col':_0x404359[_0x55127f(0x177)]},_0x2b4af6,!0x1,!0x0),_0x16d90e=_0x3a254c({'row':_0x404359[_0x55127f(0x439)]+_0x2585d7+_0x1dceee,'col':_0x404359[_0x55127f(0x177)]+_0x3c81c6},_0x1de469,!0x1,!0x0),_0x736284=_0x3a254c({'row':_0x404359['row']+_0x2585d7+_0x1dceee+_0x472dc2,'col':_0x404359[_0x55127f(0x177)]+_0x3c81c6},_0x51a647,!0x1,!0x1);_0x436a5e['rangesInfo']={'rowRanges':_0x72282a,'colRanges':_0x16d90e,'cornerRanges':_0x558867,'dataRanges':_0x736284,'pageRanges':_0x2bf7a8};const _0x14099c=_0x1b2e46(this['_injector'],_0x184ab5,_0x49b3f2,this[_0x55127f(0x157)]),{valueMatrix:_0x12cf55,rowInfo:_0x31b167,colInfo:_0x48f909,cornerInfo:_0x3b2ec9,rowHeaderMap:_0x2a1422,colHeaderMap:_0x147938}=_0x14099c;return _0x436a5e[_0x55127f(0x3e7)]={'rowInfo':_0x31b167,'colInfo':_0x48f909,'cornerInfo':_0x3b2ec9},_0x436a5e[_0x55127f(0x2ea)]={'rowHeaderMap':_0x2a1422,'colHeaderMap':_0x147938},_0x12cf55[_0x55127f(0x1d4)]((_0x16259b,_0x1a597d)=>{Object['keys'](_0x1a597d)['forEach'](_0xb6334b=>{const _0x54959c=_0x542f,_0x368685=+_0xb6334b,_0x4f9cea=_0x12cf55[_0x54959c(0x37c)](_0x16259b,_0x368685);_0x12c336[_0x54959c(0x218)](_0x16259b,_0x368685,_0x4f9cea);});}),this[_0x55127f(0x197)]['next']({'unitId':_0x5c43e3,'subUnitId':_0x31d549,'valueMatrix':_0x12c336,'rangesCache':_0x436a5e['rangesInfo'],'pivotTableId':_0x5378e8,'type':_0x22ffe8[_0x55127f(0x194)]}),this[_0x55127f(0x3d2)][_0x55127f(0x308)](_0x5c43e3,_0x31d549,_0x5378e8,_0x12c336,_0x436a5e['rangesInfo']),this[_0x55127f(0x385)][_0x55127f(0x309)](_0x5c43e3,_0x31d549,_0x4978c8,this[_0x55127f(0x34e)](_0x436a5e[_0x55127f(0x386)],_0x5378e8)),{'rangeCache':_0x436a5e[_0x55127f(0x386)],'matrix':_0x12c336};}}['_updateRenderEmptyCache'](_0x10567d,_0x25fe2a,_0x585060,_0x134608){const _0x3ab1ad=_0x19f2bc,_0xa00282=this[_0x3ab1ad(0x236)]['t'],{unitId:_0x398f52,subUnitId:_0x16c59e,pivotTableId:_0x14eee6}=_0x10567d,_0x400887={'filter':_0xa00282(_0x3ab1ad(0x207)),'row':_0xa00282(_0x3ab1ad(0x32e)),'column':_0xa00282('sheets-pivot.emptyPivot.column'),'values':_0xa00282(_0x3ab1ad(0x3f2))},{matrixCache:_0x17054d,rangesCache:_0x1cbb14}=_0x2d175b(_0x400887,_0x585060);return _0x17054d[_0x3ab1ad(0x149)]((_0xd78ad2,_0x42b64d,_0x298a46)=>{const _0x52786d=_0x3ab1ad;_0x25fe2a[_0x52786d(0x218)](_0xd78ad2,_0x42b64d,_0x298a46);}),_0x134608[_0x3ab1ad(0x386)]=_0x1cbb14,this[_0x3ab1ad(0x197)][_0x3ab1ad(0x357)]({'unitId':_0x398f52,'subUnitId':_0x16c59e,'valueMatrix':_0x25fe2a,'rangesCache':_0x1cbb14,'pivotTableId':_0x14eee6,'type':_0x10567d[_0x3ab1ad(0x194)],'isEmpty':!0x0}),this[_0x3ab1ad(0x3d2)][_0x3ab1ad(0x308)](_0x398f52,_0x16c59e,_0x14eee6,_0x25fe2a,_0x1cbb14),this['_exclusiveRangeService'][_0x3ab1ad(0x309)](_0x398f52,_0x16c59e,_0x4978c8,this[_0x3ab1ad(0x34e)](_0x1cbb14,_0x14eee6)),{'rangeCache':_0x134608[_0x3ab1ad(0x386)],'matrix':_0x25fe2a};}[_0x19f2bc(0x34e)](_0x199297,_0x2e8e76){const _0x1b98e7=_0x19f2bc,_0xb6c15e=[],_0x110b3a=_0x428786(_0x199297);for(const _0x4aa869 of _0x110b3a)_0xb6c15e[_0x1b98e7(0x1b6)]({'groupId':_0x2e8e76,'range':_0x4aa869});return _0xb6c15e;}['clearRenderCache'](_0x168017){const _0x3c2bde=_0x19f2bc;var _0x37591b,_0x383ee8,_0x2215a7,_0x13e5a4;const {pivotTableId:_0x3c3b82,unitId:_0x5e5a42,subUnitId:_0x3a45a7}=_0x168017;if(!_0x3c3b82||!_0x5e5a42||!_0x3a45a7)return;const _0x2b4d19=this[_0x3c2bde(0x14b)](_0x5e5a42,_0x3a45a7),_0x479d42=(_0x383ee8=(_0x37591b=this[_0x3c2bde(0x2f3)][_0x3c2bde(0x2b1)](_0x5e5a42))==null?void 0x0:_0x37591b[_0x3c2bde(0x2b1)](_0x3a45a7))==null?void 0x0:_0x383ee8[_0x3c2bde(0x2b1)](_0x3c3b82);if(_0x479d42!=null&&_0x479d42['rangesInfo']){for(const _0x1be7b9 of Object[_0x3c2bde(0x255)](_0x479d42['rangesInfo']))_0x479d42[_0x3c2bde(0x386)][_0x1be7b9][_0x3c2bde(0x1d4)](_0x271bd3=>{const _0x3132d6=_0x3c2bde;for(let _0x488dbd=_0x271bd3[_0x3132d6(0x20b)];_0x488dbd<=_0x271bd3[_0x3132d6(0x325)];_0x488dbd++)for(let _0x5e1a0a=_0x271bd3['startColumn'];_0x5e1a0a<=_0x271bd3[_0x3132d6(0x2ad)];_0x5e1a0a++)_0x2b4d19[_0x3132d6(0x419)](_0x488dbd,_0x5e1a0a);});}_0x479d42&&((_0x13e5a4=(_0x2215a7=this[_0x3c2bde(0x2f3)]['get'](_0x5e5a42))==null?void 0x0:_0x2215a7['get'](_0x3a45a7))==null||_0x13e5a4[_0x3c2bde(0x3d8)](_0x3c3b82)),this[_0x3c2bde(0x197)]['next']({'unitId':_0x5e5a42,'subUnitId':_0x3a45a7,'valueMatrix':_0x2b4d19,'pivotTableId':_0x3c3b82,'rangesCache':void 0x0,'type':_0x168017['type']}),this[_0x3c2bde(0x385)]['clearExclusiveRangesByGroupId'](_0x5e5a42,_0x3a45a7,_0x4978c8,_0x3c3b82);}[_0x19f2bc(0x185)](_0x1c700a,_0x493a4a,_0x977831){const _0x436b47=_0x19f2bc;var _0x21bc19,_0xa5b3bb,_0x1af0df,_0x150e61,_0x483694,_0x487f49;return this[_0x436b47(0x2f3)][_0x436b47(0x3cd)](_0x1c700a)||this[_0x436b47(0x2f3)][_0x436b47(0x36d)](_0x1c700a,new Map()),(_0x21bc19=this['_pivotRenderInfoCache']['get'](_0x1c700a))!=null&&_0x21bc19[_0x436b47(0x3cd)](_0x493a4a)||(_0xa5b3bb=this[_0x436b47(0x2f3)][_0x436b47(0x2b1)](_0x1c700a))==null||_0xa5b3bb[_0x436b47(0x36d)](_0x493a4a,new Map()),(_0x150e61=(_0x1af0df=this[_0x436b47(0x2f3)]['get'](_0x1c700a))==null?void 0x0:_0x1af0df[_0x436b47(0x2b1)](_0x493a4a))!=null&&_0x150e61[_0x436b47(0x3cd)](_0x977831)||(_0x487f49=(_0x483694=this[_0x436b47(0x2f3)][_0x436b47(0x2b1)](_0x1c700a))==null?void 0x0:_0x483694[_0x436b47(0x2b1)](_0x493a4a))==null||_0x487f49['set'](_0x977831,{}),this['_pivotRenderInfoCache']['get'](_0x1c700a)[_0x436b47(0x2b1)](_0x493a4a)['get'](_0x977831);}[_0x19f2bc(0x14b)](_0x2d1ab5,_0x3f43c9){const _0xa7c757=_0x19f2bc;var _0x157613,_0x5cd3f6;return this['_pivotRenderValueMatrixCache'][_0xa7c757(0x3cd)](_0x2d1ab5)||this[_0xa7c757(0x1ce)][_0xa7c757(0x36d)](_0x2d1ab5,new Map()),(_0x157613=this['_pivotRenderValueMatrixCache'][_0xa7c757(0x2b1)](_0x2d1ab5))!=null&&_0x157613[_0xa7c757(0x3cd)](_0x3f43c9)||(_0x5cd3f6=this['_pivotRenderValueMatrixCache']['get'](_0x2d1ab5))==null||_0x5cd3f6[_0xa7c757(0x36d)](_0x3f43c9,new _0x585029[(_0xa7c757(0x1ff))]()),this[_0xa7c757(0x1ce)][_0xa7c757(0x2b1)](_0x2d1ab5)[_0xa7c757(0x2b1)](_0x3f43c9);}[_0x19f2bc(0x28a)](_0x4828e5,_0xf576b0,_0x30bfbe,_0x107c49){const _0x33a1de=_0x19f2bc;var _0x1f8b75,_0x26753d;const _0x20eb37=(_0x26753d=(_0x1f8b75=this[_0x33a1de(0x1ce)]['get'](_0x4828e5))==null?void 0x0:_0x1f8b75[_0x33a1de(0x2b1)](_0xf576b0))==null?void 0x0:_0x26753d[_0x33a1de(0x37c)](_0x30bfbe,_0x107c49);if(_0x20eb37!=null)return _0x20eb37;}[_0x19f2bc(0x366)](_0x14e881,_0xf7d783,_0x5bf1cc,_0x17573e){const _0x2f5632=_0x19f2bc;var _0x42008c;const _0x13a4e9=_0x585029[_0x2f5632(0x3a6)](_0x5bf1cc,_0x17573e),_0x109b3b=(_0x42008c=this[_0x2f5632(0x2f3)]['get'](_0x14e881))==null?void 0x0:_0x42008c[_0x2f5632(0x2b1)](_0xf7d783);return _0x109b3b?Array[_0x2f5632(0x2ed)](_0x109b3b[_0x2f5632(0x255)]())['find'](_0x2a402c=>{const _0x3e616d=_0x2f5632,_0x366075=_0x109b3b['get'](_0x2a402c),_0x5b7c53=_0x366075==null?void 0x0:_0x366075[_0x3e616d(0x386)];return _0x5b7c53?Object[_0x3e616d(0x255)](_0x5b7c53)[_0x3e616d(0x213)](_0x3d27ad=>_0x5b7c53[_0x3d27ad]['some'](_0x421278=>_0x585029[_0x3e616d(0x144)]['contains'](_0x421278,_0x13a4e9))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x5871af,_0xf6a0eb,_0xc1684e){const _0x1b1207=_0x19f2bc;var _0x5163f9;const _0x2b8ea3=(_0x5163f9=this[_0x1b1207(0x2f3)][_0x1b1207(0x2b1)](_0x5871af))==null?void 0x0:_0x5163f9[_0x1b1207(0x2b1)](_0xf6a0eb),_0x2522e7=[];return _0x2b8ea3&&Array[_0x1b1207(0x2ed)](_0x2b8ea3[_0x1b1207(0x255)]())['forEach'](_0x2522d9=>{const _0x375f43=_0x1b1207,_0x1d9311=_0x2b8ea3['get'](_0x2522d9),_0x4c1178=_0x1d9311==null?void 0x0:_0x1d9311[_0x375f43(0x386)];if(_0x4c1178)for(const _0x31d7d3 of Object[_0x375f43(0x3c9)](_0x4c1178)){let _0x1970c2=!0x1;for(const _0x1fbdd7 of _0x31d7d3)if(_0x585029[_0x375f43(0x144)]['intersects'](_0x1fbdd7,_0xc1684e)){_0x2522e7[_0x375f43(0x1b6)](_0x2522d9),_0x1970c2=!0x0;break;}if(_0x1970c2)break;}}),_0x2522e7;}[_0x19f2bc(0x17d)](_0x10dcd5,_0x4174f5){const _0x186b75=_0x19f2bc;var _0x5650e7,_0x5d5f35;return(_0x5d5f35=(_0x5650e7=this['_pivotRenderValueMatrixCache'][_0x186b75(0x2b1)](_0x10dcd5))==null?void 0x0:_0x5650e7[_0x186b75(0x2b1)](_0x4174f5))!=null?_0x5d5f35:new _0x585029[(_0x186b75(0x1ff))]();}['getSubUnitPivotRenderCache'](_0x22ccfe,_0x45e756){const _0x4a3d61=_0x19f2bc;var _0x521f84;return(_0x521f84=this[_0x4a3d61(0x2f3)][_0x4a3d61(0x2b1)](_0x22ccfe))==null?void 0x0:_0x521f84[_0x4a3d61(0x2b1)](_0x45e756);}[_0x19f2bc(0x379)](_0x3cbd4f,_0x537f7c,_0x4bad58){const _0x49c1f5=_0x19f2bc;var _0x131cf0,_0x37c6f7;return(_0x37c6f7=(_0x131cf0=this[_0x49c1f5(0x2f3)][_0x49c1f5(0x2b1)](_0x3cbd4f))==null?void 0x0:_0x131cf0[_0x49c1f5(0x2b1)](_0x537f7c))==null?void 0x0:_0x37c6f7[_0x49c1f5(0x2b1)](_0x4bad58);}[_0x19f2bc(0x412)](_0x291a69){const _0x383d0c=_0x19f2bc;this[_0x383d0c(0x2f3)][_0x383d0c(0x3d8)](_0x291a69),this[_0x383d0c(0x1ce)][_0x383d0c(0x3d8)](_0x291a69);}[_0x19f2bc(0x2c3)](_0x1312e6,_0xb95375){this['_markDirty$']['next']({'unitId':_0x1312e6,'subUnitId':_0xb95375});}},_0x37cc3d['SheetsPivotTableAdaptorModel']=_0x31a670([_0x1e07f4(0x0,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x1a8)])),_0x1e07f4(0x1,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x454)])),_0x1e07f4(0x2,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x382)])),_0x1e07f4(0x3,_0x585029['Inject'](_0x585029[_0x19f2bc(0x42c)])),_0x1e07f4(0x4,_0x585029[_0x19f2bc(0x239)](_0x537052['IExclusiveRangeService']))],_0x37cc3d[_0x19f2bc(0x2c0)]);var _0x2543f8=Object[_0x19f2bc(0x2c5)],_0x4275be=(_0x24dffc,_0x48a8d0,_0x38d21d,_0x205b54)=>{const _0x5599ee=_0x19f2bc;for(var _0xe52455=_0x205b54>0x1?void 0x0:_0x205b54?_0x2543f8(_0x48a8d0,_0x38d21d):_0x48a8d0,_0x4887c6=_0x24dffc[_0x5599ee(0x183)]-0x1,_0x3ef93a;_0x4887c6>=0x0;_0x4887c6--)(_0x3ef93a=_0x24dffc[_0x4887c6])&&(_0xe52455=_0x3ef93a(_0xe52455)||_0xe52455);return _0xe52455;},_0x56a915=(_0x57d4c6,_0x38377a)=>(_0x1e1114,_0x12bf72)=>_0x38377a(_0x1e1114,_0x12bf72,_0x57d4c6);_0x37cc3d[_0x19f2bc(0x26f)]=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x53d1a3,_0x4541dd){const _0x31d8ca=_0x19f2bc;super(),_0x37aa9d(this,_0x31d8ca(0x3bb),new _0x585029[(_0x31d8ca(0x22f))]({'PIVOT_PERFORM_CHECK':_0x1d05a1})),_0x37aa9d(this,_0x31d8ca(0x243),new _0x585029['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x19d91c})),(this[_0x31d8ca(0x139)]=_0x53d1a3,this[_0x31d8ca(0x3e9)]=_0x4541dd,this[_0x31d8ca(0x43a)]());}['_init'](){this['_initViewModelBySheetInterceptor']();}[_0x19f2bc(0x425)](_0x5d0e7e){const _0x103c31=_0x19f2bc;return this[_0x103c31(0x3bb)]['fetchThroughAsyncInterceptors'](_0x1d05a1)(!0x1,_0x5d0e7e);}[_0x19f2bc(0x2ec)](){const _0x150290=_0x19f2bc;this[_0x150290(0x446)](this[_0x150290(0x139)]['intercept'](_0x537052[_0x150290(0x37b)][_0x150290(0x163)],{'priority':0xc8,'effect':_0x585029['InterceptorEffectEnum']['Value']|_0x585029['InterceptorEffectEnum'][_0x150290(0x317)],'handler':(_0x205b7e,_0x595f3a,_0x395347)=>{const _0x1b44d2=_0x150290,{row:_0x27487a,col:_0x7c1143,unitId:_0x4ff37f,subUnitId:_0x37ba3f,workbook:_0x4134b1}=_0x595f3a,_0x37ce94=this[_0x1b44d2(0x3e9)]['getPivotTableCellData'](_0x4ff37f,_0x37ba3f,_0x27487a,_0x7c1143);if(!_0x37ce94)return _0x395347(_0x205b7e);const _0x1503ef={..._0x205b7e};(_0x37ce94['v']||_0x37ce94['v']===0x0)&&(_0x1503ef['v']=_0x37ce94['v']),_0x37ce94['t']&&(_0x1503ef['t']=_0x37ce94['t']);const _0x63c172=(typeof(_0x205b7e==null?void 0x0:_0x205b7e['s'])=='string'?_0x4134b1['getStyles']()[_0x1b44d2(0x2b1)](_0x205b7e==null?void 0x0:_0x205b7e['s']):_0x205b7e==null?void 0x0:_0x205b7e['s'])||{},_0x1e5349=_0x4134b1[_0x1b44d2(0x287)]()[_0x1b44d2(0x2b1)](_0x37ce94['s']),_0x44ed72={..._0x1e5349,..._0x63c172};_0x1e5349!=null&&_0x1e5349['n']&&(_0x44ed72['n']=_0x1e5349['n']);const _0x35a571=_0x4134b1['getStyles']()['setValue'](_0x44ed72);return _0x1503ef['s']=_0x35a571,(_0x37ce94['pbt']===_0x403b84[_0x1b44d2(0x294)][_0x1b44d2(0x205)]||_0x37ce94['pbt']===_0x403b84['PivotCellStyleTypeEnum']['Expand'])&&(_0x1503ef[_0x1b44d2(0x1b9)]={},_0x1503ef[_0x1b44d2(0x1b9)][_0x1b44d2(0x394)]=_0x45b349),_0x395347(_0x1503ef);}}));}},_0x37cc3d['SheetsPivotTableService']=_0x4275be([_0x56a915(0x0,_0x585029['Inject'](_0x537052[_0x19f2bc(0x3f1)])),_0x56a915(0x1,_0x585029['Inject'](_0x37cc3d[_0x19f2bc(0x2c0)]))],_0x37cc3d[_0x19f2bc(0x26f)]);function _0xec6b38(_0x2e1444,_0x322881){const _0x3ed504=_0x19f2bc;switch(_0x322881){case _0x403b84[_0x3ed504(0x442)][_0x3ed504(0x39a)]:return _0x2e1444['valueFields'];case _0x403b84[_0x3ed504(0x442)][_0x3ed504(0x179)]:return _0x2e1444[_0x3ed504(0x20f)];case _0x403b84[_0x3ed504(0x442)][_0x3ed504(0x15a)]:return _0x2e1444[_0x3ed504(0x2ca)];case _0x403b84[_0x3ed504(0x442)][_0x3ed504(0x22b)]:return _0x2e1444['columnFields'];default:return[];}}function _0x2f0444(_0x190017,_0x4b4ed7){return _0x190017['measure'][_0x4b4ed7]||_0x190017['dimension'][_0x4b4ed7];}function _0x29e8cb(_0x2fe4bd,_0x3d6a98){const _0xaffb39=_0x19f2bc,{area:_0x446318,fieldJson:_0x240575,index:_0x155b15}=_0x3d6a98;_0x446318===_0x403b84['PivotTableFiledAreaEnum']['Value']?_0x2fe4bd[_0xaffb39(0x1cf)][_0x240575['id']]=_0x240575:_0x2fe4bd[_0xaffb39(0x426)][_0x240575['id']]=_0x240575,_0xec6b38(_0x2fe4bd,_0x446318)[_0xaffb39(0x34f)](_0x155b15,0x0,_0x240575['id']);}function _0x54bfc8(_0x93627b,_0x2a6536){const _0x38fe42=_0x19f2bc,{area:_0x17b618,fieldId:_0x2da028,index:_0xed499a}=_0x2a6536;_0x17b618===_0x403b84[_0x38fe42(0x442)]['Value']?delete _0x93627b[_0x38fe42(0x1cf)][_0x2da028]:delete _0x93627b[_0x38fe42(0x426)][_0x2da028],_0xec6b38(_0x93627b,_0x17b618)[_0x38fe42(0x34f)](_0xed499a,0x1);}function _0x4c65c5(_0x5aa48b,_0x14b759){const {fieldId:_0x5b0f77,name:_0x3c4239}=_0x14b759,_0x400793=_0x2f0444(_0x5aa48b,_0x5b0f77);_0x400793&&(_0x400793['displayName']=_0x3c4239);}function _0x29dbb4(_0x11b0fe,_0x4dfd99){const _0x14c362=_0x19f2bc,{fieldId:_0x3f082a,collapse:_0x4c1b85,item:_0x2e9116}=_0x4dfd99;_0x2e9116!==void 0x0?(_0x11b0fe[_0x14c362(0x21e)][_0x3f082a]=_0x11b0fe[_0x14c362(0x21e)][_0x3f082a]||{},_0x11b0fe[_0x14c362(0x21e)][_0x3f082a][_0x2e9116]=_0x4c1b85):_0x11b0fe['collapseInfo'][_0x3f082a]=_0x4c1b85;}function _0x54c96e(_0xbd9c,_0xf3a08e){const _0x5ebe8c=_0x19f2bc,{fieldId:_0x27c46d,format:_0x3822ea}=_0xf3a08e,_0x418a2d=_0x2f0444(_0xbd9c,_0x27c46d);_0x418a2d&&(_0x418a2d[_0x5ebe8c(0x302)]=_0x3822ea);}function _0x123c86(_0x31ec9b,_0x1e585d){const _0x14dbd8=_0x19f2bc,{fieldId:_0x310376,filterInfo:_0x489964}=_0x1e585d,_0x25912b=_0x2f0444(_0x31ec9b,_0x310376);_0x25912b&&(_0x25912b[_0x14dbd8(0x2ac)]=_0x489964);}function _0xfe708c(_0x44defb,_0x1a880c){const _0xadaec4=_0x19f2bc,{fieldId:_0x45297a,filterInfo:_0x3e43e0}=_0x1a880c,_0x4b6c59=_0x44defb[_0xadaec4(0x1ef)]['filter'](_0x5c436e=>_0x5c436e['fieldId']!==_0x45297a);_0x3e43e0&&_0x4b6c59['push']({'fieldId':_0x45297a,'filterInfo':_0x3e43e0}),_0x44defb[_0xadaec4(0x1ef)]=_0x4b6c59;}function _0x3df152(_0x576405,_0x163935){const {fieldId:_0x581ab0,subtotalType:_0x191739}=_0x163935,_0x186e87=_0x2f0444(_0x576405,_0x581ab0);_0x186e87&&(_0x186e87['subtotal']=_0x191739);}function _0x2cf065(_0x16aab9,_0x381333){const _0x2db910=_0x19f2bc,{fieldId:_0x2871f9,oldArea:_0x1b337c,area:_0x1c35e0,oldIndex:_0x3f9716,index:_0xdfbd1b}=_0x381333,_0x547c2f=_0x1b337c!==_0x403b84[_0x2db910(0x442)]['Value']&&_0x1c35e0===_0x403b84[_0x2db910(0x442)][_0x2db910(0x39a)],_0x73143e=_0x1b337c===_0x403b84['PivotTableFiledAreaEnum'][_0x2db910(0x39a)]&&_0x1c35e0!==_0x403b84['PivotTableFiledAreaEnum'][_0x2db910(0x39a)];if(_0x547c2f||_0x73143e){const _0x2f6a1c=_0x2f0444(_0x16aab9,_0x2871f9);_0x2f6a1c&&(_0x547c2f?(delete _0x16aab9[_0x2db910(0x426)][_0x2871f9],_0x16aab9[_0x2db910(0x1cf)][_0x2871f9]=_0x2f6a1c):(delete _0x16aab9[_0x2db910(0x1cf)][_0x2871f9],_0x16aab9[_0x2db910(0x426)][_0x2871f9]=_0x2f6a1c));}const _0x264984=_0xec6b38(_0x16aab9,_0x1b337c),_0x3bd026=_0xec6b38(_0x16aab9,_0x1c35e0);_0x264984[_0x2db910(0x34f)](_0x3f9716,0x1),_0x3bd026['splice'](_0xdfbd1b,0x0,_0x2871f9);}function _0x595407(_0x31d537,_0x4635a7){const _0x17ed74=_0x19f2bc,{valuePosition:_0x5abf03,index:_0x5e42a3}=_0x4635a7;_0x31d537['valuePosition']=_0x5abf03,_0x31d537[_0x17ed74(0x19b)]=_0x5e42a3;}function _0x6609d7(_0x4b04e3,_0x4b5991){const _0xd6cb57=_0x19f2bc,{tableFieldId:_0x398529,sourceName:_0x4d31ab,dataFieldId:_0x32c904}=_0x4b5991,_0x53556e=_0x2f0444(_0x4b04e3,_0x398529);_0x53556e&&(_0x53556e[_0xd6cb57(0x229)]=_0x4d31ab,_0x53556e[_0xd6cb57(0x27f)]=_0x32c904);}function _0x319cff(_0x843eed,_0x51f9ed){const _0x2895dd=_0x19f2bc,{fieldId:_0x539128,sortInfo:_0x4dc5fb}=_0x51f9ed,_0x4255d0=_0x2f0444(_0x843eed,_0x539128);_0x4255d0&&(_0x4255d0[_0x2895dd(0x296)]=_0x4dc5fb);}function _0x447d0f(_0x202a2f,_0x1351cc){const _0xbc224=_0x19f2bc,{options:_0x125d0a}=_0x1351cc;_0x202a2f[_0xbc224(0x3aa)]={..._0x202a2f[_0xbc224(0x3aa)],..._0x125d0a};}const _0x42e4ed={'type':_0x585029[_0x19f2bc(0x15e)]['MUTATION'],'id':_0x19f2bc(0x2f2),'handler'(_0x2ebccb,_0x455211){const _0x351e94=_0x19f2bc;if(!_0x455211)return!0x1;if(!!_0x2ebccb[_0x351e94(0x2b1)](_0x585029[_0x351e94(0x2e1)])['getConfig'](_0x47e846))return!0x0;const _0x237ae3=_0x2ebccb[_0x351e94(0x2b1)](_0x37cc3d[_0x351e94(0x154)]),{pivotTableId:_0x54e7c0,fieldJson:_0xf6992d,area:_0x59844f,index:_0x568f30,unitId:_0x33dd87,subUnitId:_0x2618ef}=_0x455211,_0x3e0624=_0x237ae3[_0x351e94(0x1eb)](_0x54e7c0);if(!_0x3e0624)return!0x1;let _0x2f226f;_0x59844f===_0x403b84[_0x351e94(0x442)][_0x351e94(0x39a)]?_0x2f226f=_0x403b84['createValueField'](_0xf6992d):_0x2f226f=_0x403b84[_0x351e94(0x1a6)](_0xf6992d),_0x3e0624[_0x351e94(0x2a8)](_0x2f226f,_0x59844f,_0x568f30);const _0x24431f=_0x237ae3[_0x351e94(0x1aa)](_0x33dd87,_0x2618ef,_0x54e7c0);_0x29e8cb(_0x24431f,_0x455211);const _0x487b60=_0x237ae3[_0x351e94(0x2eb)](_0x33dd87,_0x2618ef,_0x54e7c0);return _0x237ae3[_0x351e94(0x264)]({'unitId':_0x33dd87,'subUnitId':_0x2618ef,'token':_0x54e7c0,'type':_0x29e361['Set'],'pivotConfig':_0x487b60}),!0x0;}},_0x2e1510={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x241),'handler'(_0x2e5ff2,_0x5190b9){const _0x472dc4=_0x19f2bc;if(!_0x5190b9)return!0x1;if(!!_0x2e5ff2[_0x472dc4(0x2b1)](_0x585029[_0x472dc4(0x2e1)])[_0x472dc4(0x143)](_0x47e846))return!0x0;const _0x264900=_0x2e5ff2['get'](_0x37cc3d[_0x472dc4(0x154)]),{pivotTableId:_0x15b39f,fieldId:_0x49e958,unitId:_0x13f7c6,subUnitId:_0x1f665d}=_0x5190b9,_0x2a3b86=_0x264900['getPivotTableInstance'](_0x15b39f);if(!_0x2a3b86)return!0x1;_0x2a3b86['removeField'](_0x49e958);const _0x5e4124=_0x264900[_0x472dc4(0x1aa)](_0x13f7c6,_0x1f665d,_0x15b39f);_0x54bfc8(_0x5e4124,_0x5190b9);const _0x53da15=_0x264900[_0x472dc4(0x2eb)](_0x13f7c6,_0x1f665d,_0x15b39f);return _0x264900['addDirtyPivotTable']({'unitId':_0x13f7c6,'subUnitId':_0x1f665d,'token':_0x15b39f,'type':_0x29e361['Set'],'pivotConfig':_0x53da15}),!0x0;}},_0x3159b8={'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x1e8),'handler'(_0x427f4c,_0x262240){const _0x5272cf=_0x19f2bc;if(!_0x262240)return!0x1;if(!!_0x427f4c['get'](_0x585029[_0x5272cf(0x2e1)])[_0x5272cf(0x143)](_0x47e846))return!0x0;const _0x2fb4c3=_0x427f4c[_0x5272cf(0x2b1)](_0x37cc3d[_0x5272cf(0x154)]),{unitId:_0xb2602a,subUnitId:_0x2d14fa,pivotTableId:_0xa0b39f,fieldId:_0x588c9e,name:_0x524aea}=_0x262240,_0x9b8f7c=_0x2fb4c3[_0x5272cf(0x1eb)](_0xa0b39f);if(!_0x9b8f7c)return!0x1;_0x9b8f7c['renameField'](_0x588c9e,_0x524aea);const _0xb1db37=_0x2fb4c3[_0x5272cf(0x1aa)](_0xb2602a,_0x2d14fa,_0xa0b39f);return _0x4c65c5(_0xb1db37,_0x262240),_0x2fb4c3[_0x5272cf(0x264)]({'unitId':_0xb2602a,'subUnitId':_0x2d14fa,'token':_0xa0b39f,'type':_0x29e361[_0x5272cf(0x24f)]}),!0x0;}},_0x56d533={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x21a),'handler'(_0x169c08,_0x45146a){const _0x561bb1=_0x19f2bc;if(!_0x45146a)return!0x1;if(!!_0x169c08[_0x561bb1(0x2b1)](_0x585029[_0x561bb1(0x2e1)])['getConfig'](_0x47e846))return!0x0;const _0x5df881=_0x169c08[_0x561bb1(0x2b1)](_0x37cc3d[_0x561bb1(0x154)]),{unitId:_0x2dc94b,subUnitId:_0x3aa676,pivotTableId:_0x4f7084,fieldId:_0x4d29b6,collapse:_0x3e147f,item:_0x24d552}=_0x45146a,_0x1a1039=_0x5df881['getPivotTableInstance'](_0x4f7084);if(!_0x1a1039)return!0x1;_0x1a1039[_0x561bb1(0x42e)](_0x4d29b6,_0x3e147f,_0x24d552);const _0x137876=_0x5df881['getPivotTableModelConfig'](_0x2dc94b,_0x3aa676,_0x4f7084);return _0x29dbb4(_0x137876,_0x45146a),_0x5df881['addDirtyPivotTable']({'unitId':_0x2dc94b,'subUnitId':_0x3aa676,'token':_0x4f7084,'type':_0x29e361[_0x561bb1(0x24f)]}),!0x0;}},_0x4173e6={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x429),'handler'(_0x4ae469,_0x58103d){const _0x5eaa5b=_0x19f2bc;if(!_0x58103d)return!0x1;if(!!_0x4ae469[_0x5eaa5b(0x2b1)](_0x585029[_0x5eaa5b(0x2e1)])[_0x5eaa5b(0x143)](_0x47e846))return!0x0;const _0xbc5dd9=_0x4ae469['get'](_0x37cc3d['SheetsPivotDataSourceModel']),{unitId:_0x47d492,subUnitId:_0x2705c2,pivotTableId:_0x56d674,fieldId:_0xafe1b3,format:_0xfd3e48}=_0x58103d,_0x3d22c0=_0xbc5dd9[_0x5eaa5b(0x1eb)](_0x56d674);if(!_0x3d22c0)return!0x1;_0x3d22c0[_0x5eaa5b(0x225)](_0xafe1b3,_0xfd3e48);const _0x23bed3=_0xbc5dd9['getPivotTableModelConfig'](_0x47d492,_0x2705c2,_0x56d674);return _0x54c96e(_0x23bed3,_0x58103d),_0xbc5dd9[_0x5eaa5b(0x264)]({'unitId':_0x47d492,'subUnitId':_0x2705c2,'token':_0x56d674,'type':_0x29e361['Set']}),!0x0;}},_0xed97a7={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x152),'handler'(_0x3d8362,_0xfa00a1){const _0x30986d=_0x19f2bc;if(!_0xfa00a1)return!0x1;if(!!_0x3d8362[_0x30986d(0x2b1)](_0x585029[_0x30986d(0x2e1)])['getConfig'](_0x47e846))return!0x0;const _0x4b4ec2=_0x3d8362['get'](_0x37cc3d[_0x30986d(0x154)]),{unitId:_0x47161e,subUnitId:_0x4cad28,pivotTableId:_0x4e4b58,fieldId:_0x18be7f,filterInfo:_0x169462}=_0xfa00a1,_0x29a154=_0x4b4ec2[_0x30986d(0x1eb)](_0x4e4b58);if(!_0x29a154)return!0x1;_0x29a154[_0x30986d(0x393)](_0x18be7f,_0x169462);const _0x3be7c7=_0x4b4ec2[_0x30986d(0x1aa)](_0x47161e,_0x4cad28,_0x4e4b58);return _0x123c86(_0x3be7c7,_0xfa00a1),_0x4b4ec2[_0x30986d(0x264)]({'unitId':_0x47161e,'subUnitId':_0x4cad28,'token':_0x4e4b58,'type':_0x29e361['Set']}),!0x0;}},_0x44b32f={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':'sheet.mutation.set-pivot-option','handler'(_0x140030,_0x475f79){const _0x208dd7=_0x19f2bc;if(!_0x475f79)return!0x1;if(!!_0x140030[_0x208dd7(0x2b1)](_0x585029[_0x208dd7(0x2e1)])[_0x208dd7(0x143)](_0x47e846))return!0x0;const _0x1c8ddb=_0x140030[_0x208dd7(0x2b1)](_0x37cc3d[_0x208dd7(0x154)]),{unitId:_0x33fdf9,subUnitId:_0x8ed75c,pivotTableId:_0x3220b6,options:_0x34bb3e}=_0x475f79,_0x218588=_0x1c8ddb['getPivotTableInstance'](_0x3220b6);if(!_0x218588)return!0x1;_0x218588['setOptions'](_0x34bb3e);const _0x5e5322=_0x1c8ddb[_0x208dd7(0x1aa)](_0x33fdf9,_0x8ed75c,_0x3220b6);return _0x447d0f(_0x5e5322,_0x475f79),_0x1c8ddb[_0x208dd7(0x264)]({'unitId':_0x33fdf9,'subUnitId':_0x8ed75c,'token':_0x3220b6,'type':_0x29e361[_0x208dd7(0x24f)]}),!0x0;}},_0x2e6de9={'type':_0x585029['CommandType']['MUTATION'],'id':_0x19f2bc(0x228),'handler'(_0x28c5a7,_0x9bf1b1){const _0x4fd955=_0x19f2bc;if(!_0x9bf1b1)return!0x1;if(!!_0x28c5a7[_0x4fd955(0x2b1)](_0x585029[_0x4fd955(0x2e1)])[_0x4fd955(0x143)](_0x47e846))return!0x0;const _0x78f9ea=_0x28c5a7[_0x4fd955(0x2b1)](_0x37cc3d[_0x4fd955(0x154)]),{unitId:_0x47249a,subUnitId:_0x3c6511,pivotTableId:_0x194487,sortInfo:_0x457550,fieldId:_0x122545}=_0x9bf1b1,_0x456b22=_0x78f9ea[_0x4fd955(0x1eb)](_0x194487);if(!_0x456b22)return!0x1;_0x456b22[_0x4fd955(0x332)](_0x122545,_0x457550);const _0x490ca5=_0x78f9ea[_0x4fd955(0x1aa)](_0x47249a,_0x3c6511,_0x194487);return _0x319cff(_0x490ca5,_0x9bf1b1),_0x78f9ea[_0x4fd955(0x264)]({'unitId':_0x47249a,'subUnitId':_0x3c6511,'token':_0x194487,'type':_0x29e361['Set']}),!0x0;}},_0x425d2b={'type':_0x585029[_0x19f2bc(0x15e)]['MUTATION'],'id':_0x19f2bc(0x16e),'handler'(_0x23f852,_0x218867){const _0x14711c=_0x19f2bc;if(!_0x218867)return!0x1;if(!!_0x23f852[_0x14711c(0x2b1)](_0x585029[_0x14711c(0x2e1)])['getConfig'](_0x47e846))return!0x0;const _0x817a2b=_0x23f852[_0x14711c(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),{unitId:_0x162fae,subUnitId:_0x342eab,pivotTableId:_0x2db21a,fieldId:_0x3622dd,subtotalType:_0x446f16}=_0x218867,_0x25d8f6=_0x817a2b[_0x14711c(0x1eb)](_0x2db21a);if(!_0x25d8f6)return!0x1;_0x25d8f6[_0x14711c(0x3db)](_0x3622dd,_0x446f16);const _0x260193=_0x817a2b[_0x14711c(0x1aa)](_0x162fae,_0x342eab,_0x2db21a);return _0x3df152(_0x260193,_0x218867),_0x817a2b[_0x14711c(0x264)]({'unitId':_0x162fae,'subUnitId':_0x342eab,'token':_0x2db21a,'type':_0x29e361['Set']}),!0x0;}},_0x417162={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x266),'handler'(_0x243c0e,_0x597137){const _0x13d6a5=_0x19f2bc;if(!_0x597137)return!0x1;if(!!_0x243c0e[_0x13d6a5(0x2b1)](_0x585029[_0x13d6a5(0x2e1)])['getConfig'](_0x47e846))return!0x0;const _0x596827=_0x243c0e[_0x13d6a5(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),{unitId:_0x134194,subUnitId:_0x41f62c,pivotTableId:_0x3836e3,fieldId:_0x1e293f,filterInfo:_0x36cdd9}=_0x597137,_0x1f1952=_0x596827['getPivotTableInstance'](_0x3836e3);if(!_0x1f1952)return!0x1;_0x1f1952[_0x13d6a5(0x336)](_0x1e293f,_0x36cdd9);const _0x5d5b63=_0x596827[_0x13d6a5(0x1aa)](_0x134194,_0x41f62c,_0x3836e3);return _0xfe708c(_0x5d5b63,_0x597137),_0x596827['addDirtyPivotTable']({'unitId':_0x134194,'subUnitId':_0x41f62c,'token':_0x3836e3,'type':_0x29e361[_0x13d6a5(0x24f)]}),!0x0;}},_0x2d0b1d={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x38b),'handler'(_0x1dba88,_0x4d63d7){const _0x2f2701=_0x19f2bc;if(!_0x4d63d7)return!0x1;if(!!_0x1dba88[_0x2f2701(0x2b1)](_0x585029[_0x2f2701(0x2e1)])[_0x2f2701(0x143)](_0x47e846))return!0x0;const _0x525c42=_0x1dba88['get'](_0x37cc3d[_0x2f2701(0x154)]),{unitId:_0x1d33af,subUnitId:_0x46f768,pivotTableId:_0x4b9e98,area:_0x39be53,index:_0x463325,fieldId:_0x10f82d}=_0x4d63d7,_0x1db9e3=_0x525c42[_0x2f2701(0x1eb)](_0x4b9e98);if(!_0x1db9e3)return!0x1;_0x1db9e3[_0x2f2701(0x250)](_0x10f82d,_0x39be53,_0x463325);const _0x2e9042=_0x525c42[_0x2f2701(0x1aa)](_0x1d33af,_0x46f768,_0x4b9e98);return _0x2cf065(_0x2e9042,_0x4d63d7),_0x525c42['addDirtyPivotTable']({'unitId':_0x1d33af,'subUnitId':_0x46f768,'token':_0x4b9e98,'type':_0x29e361[_0x2f2701(0x24f)]}),!0x0;}},_0x3bd337={'type':_0x585029[_0x19f2bc(0x15e)]['MUTATION'],'id':_0x19f2bc(0x2fe),'handler'(_0x135a72,_0x5df9ea){const _0x1fa5f1=_0x19f2bc;if(!_0x5df9ea)return!0x1;if(!!_0x135a72[_0x1fa5f1(0x2b1)](_0x585029[_0x1fa5f1(0x2e1)])[_0x1fa5f1(0x143)](_0x47e846))return!0x0;const _0x3ba380=_0x135a72['get'](_0x37cc3d['SheetsPivotDataSourceModel']),{unitId:_0x253a25,subUnitId:_0xb7acd0,pivotTableId:_0x32f922,sourceName:_0x515e0c,dataFieldId:_0x2188fb,tableFieldId:_0x5c4c7e}=_0x5df9ea,_0x5c5a23=_0x3ba380['getPivotTableInstance'](_0x32f922);if(!_0x5c5a23)return!0x1;_0x5c5a23[_0x1fa5f1(0x1f9)](_0x5c4c7e,_0x515e0c,_0x2188fb);const _0x4576c1=_0x3ba380['getPivotTableModelConfig'](_0x253a25,_0xb7acd0,_0x32f922);return _0x6609d7(_0x4576c1,_0x5df9ea),_0x3ba380[_0x1fa5f1(0x264)]({'unitId':_0x253a25,'subUnitId':_0xb7acd0,'token':_0x32f922,'type':_0x29e361[_0x1fa5f1(0x24f)]}),!0x0;}},_0x4c6338={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x164),'handler'(_0x21eb44,_0x1ad39e){const _0x1881ac=_0x19f2bc;if(!_0x1ad39e)return!0x1;if(!!_0x21eb44['get'](_0x585029[_0x1881ac(0x2e1)])[_0x1881ac(0x143)](_0x47e846))return!0x0;const _0x4e2c5f=_0x21eb44[_0x1881ac(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),{unitId:_0x1e38cc,subUnitId:_0x4d58e6,pivotTableId:_0x5f58a9,valuePosition:_0x29981c,index:_0x313cf9}=_0x1ad39e,_0xc51ca4=_0x4e2c5f[_0x1881ac(0x1eb)](_0x5f58a9);if(!_0xc51ca4)return!0x1;_0xc51ca4[_0x1881ac(0x40f)](_0x29981c,_0x313cf9);const _0x135ad8=_0x4e2c5f['getPivotTableModelConfig'](_0x1e38cc,_0x4d58e6,_0x5f58a9);return _0x595407(_0x135ad8,_0x1ad39e),_0x4e2c5f['addDirtyPivotTable']({'unitId':_0x1e38cc,'subUnitId':_0x4d58e6,'token':_0x5f58a9,'type':_0x29e361[_0x1881ac(0x24f)]}),!0x0;}};function _0x4bcad0(_0x308c0a,_0xd24381,_0x36823a){const _0x186e25=_0x19f2bc,{pivotTableId:_0x1b0d51,unitId:_0x10d860,subUnitId:_0x311020}=_0xd24381,_0x4095a2=[],_0x5059ea=[];for(const _0x50c54b of _0x36823a)switch(_0x50c54b[_0x186e25(0x194)]){case _0x403b84[_0x186e25(0x3a7)]['AddField']:{const {fieldJson:_0x56f9bf,area:_0x407679,index:_0x436703}=_0x50c54b,_0x1eeca1={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldJson':_0x56f9bf,'area':_0x407679,'index':_0x436703},_0x1e7856={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x56f9bf['id'],'area':_0x407679,'index':_0x436703};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x42e4ed['id'],'params':_0x1eeca1}),_0x5059ea[_0x186e25(0x3ae)]({'id':_0x2e1510['id'],'params':_0x1e7856});}break;case _0x403b84['PivotTableChangeTypeEnum'][_0x186e25(0x19e)]:{const {fieldId:_0x5bd507,newSubtotalType:_0x89ab6d,oldSubtotalType:_0x1655f5}=_0x50c54b,_0x4c2f9b={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x5bd507,'subtotalType':_0x89ab6d};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x425d2b['id'],'params':_0x4c2f9b});const _0x111a70={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x5bd507,'subtotalType':_0x1655f5};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x425d2b['id'],'params':_0x111a70});}break;case _0x403b84[_0x186e25(0x3a7)]['RemoveField']:{const {fieldId:_0x3caf1e,fieldJson:_0x33dbdc,area:_0x18049d,index:_0x232fe5}=_0x50c54b,_0x2e40c5={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x3caf1e,'index':_0x232fe5,'area':_0x18049d};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x2e1510['id'],'params':_0x2e40c5});const _0x515f39={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldJson':_0x33dbdc,'area':_0x18049d,'index':_0x232fe5};_0x5059ea['unshift']({'id':_0x42e4ed['id'],'params':_0x515f39});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x31f)]:{const {fieldId:_0x2deab0,oldName:_0xc6ae52,newName:_0x7800c2}=_0x50c54b,_0x3d8a47={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x2deab0,'name':_0x7800c2};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x3159b8['id'],'params':_0x3d8a47});const _0x117271={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x2deab0,'name':_0xc6ae52};_0x5059ea['unshift']({'id':_0x3159b8['id'],'params':_0x117271});}break;case _0x403b84[_0x186e25(0x3a7)]['SetFilterInfo']:{const {fieldId:_0x3fac49,oldFilterInfo:_0x5b29e8,newFilterInfo:_0x2abfe0}=_0x50c54b,_0x2d3930={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x3fac49,'filterInfo':_0x2abfe0};_0x4095a2[_0x186e25(0x1b6)]({'id':_0xed97a7['id'],'params':_0x2d3930});const _0x459906={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x3fac49,'filterInfo':_0x5b29e8};_0x5059ea[_0x186e25(0x3ae)]({'id':_0xed97a7['id'],'params':_0x459906});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x307)]:{const {fieldId:_0x3e78bc,oldSortInfo:_0x4f01a8,newSortInfo:_0x1962e6}=_0x50c54b,_0x567406={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x3e78bc,'sortInfo':_0x1962e6};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x2e6de9['id'],'params':_0x567406});const _0xfa683e={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x3e78bc,'sortInfo':_0x4f01a8};_0x5059ea['unshift']({'id':_0x2e6de9['id'],'params':_0xfa683e});}break;case _0x403b84['PivotTableChangeTypeEnum'][_0x186e25(0x253)]:{const {oldOptions:_0x59ec6a,newOptions:_0x3cea33}=_0x50c54b,_0x559cba={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'options':_0x3cea33};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x44b32f['id'],'params':_0x559cba});const _0x4359e3={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'options':_0x59ec6a};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x44b32f['id'],'params':_0x4359e3});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x180)]:{const {oldArea:_0x54564b,newArea:_0xf28784,oldIndex:_0x32fdea,newIndex:_0x547da9,fieldId:_0x109c8d}=_0x50c54b,_0x3b248d={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x109c8d,'area':_0xf28784,'index':_0x547da9,'oldArea':_0x54564b,'oldIndex':_0x32fdea};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x2d0b1d['id'],'params':_0x3b248d});const _0x2ae270={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x109c8d,'area':_0x54564b,'index':_0x32fdea,'oldArea':_0xf28784,'oldIndex':_0x547da9};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x2d0b1d['id'],'params':_0x2ae270});}break;case _0x403b84[_0x186e25(0x3a7)]['UpdateValuePosition']:{const {oldValuePosition:_0x21bb3f,newValuePosition:_0x242633,oldIndex:_0x59fab6,newIndex:_0x1d5ba3}=_0x50c54b,_0x46f432={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'valuePosition':_0x242633,'index':_0x1d5ba3};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x4c6338['id'],'params':_0x46f432});const _0x1c5a07={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'valuePosition':_0x21bb3f,'index':_0x59fab6};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x4c6338['id'],'params':_0x1c5a07});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x1c7)]:{const {fieldId:_0x36d159,collapse:_0x6ed2e1,item:_0x54dbef}=_0x50c54b,_0x50793b={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x36d159,'collapse':_0x6ed2e1,'item':_0x54dbef};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x56d533['id'],'params':_0x50793b});const _0x372e47={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x36d159,'collapse':!_0x6ed2e1,'item':_0x54dbef};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x56d533['id'],'params':_0x372e47});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x1a4)]:{const {newFormat:_0x55ddb8,oldFormat:_0x32bbec,fieldId:_0x2ce59b}=_0x50c54b,_0xa6926c={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x2ce59b,'format':_0x55ddb8};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x4173e6['id'],'params':_0xa6926c});const _0x45de04={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x2ce59b,'format':_0x32bbec};_0x5059ea['unshift']({'id':_0x4173e6['id'],'params':_0x45de04});}break;case _0x403b84[_0x186e25(0x3a7)]['UpdateSource']:{const {tableFieldId:_0x5e3d95,oldSourceName:_0x26071d,newSourceName:_0x4d37de,oldDataFieldId:_0x21eaf4,newDataFieldId:_0x1cda13}=_0x50c54b,_0x42ac6={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'tableFieldId':_0x5e3d95,'sourceName':_0x4d37de,'dataFieldId':_0x1cda13};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x3bd337['id'],'params':_0x42ac6});const _0x27a4a0={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'tableFieldId':_0x5e3d95,'sourceName':_0x26071d,'dataFieldId':_0x21eaf4};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x3bd337['id'],'params':_0x27a4a0});}break;case _0x403b84[_0x186e25(0x3a7)][_0x186e25(0x2ae)]:{const {fieldId:_0x104f58,filterInfo:_0x5b9110,oldFilterInfo:_0x1636a5}=_0x50c54b,_0x3d6fc4={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x104f58,'filterInfo':_0x5b9110};_0x4095a2[_0x186e25(0x1b6)]({'id':_0x417162['id'],'params':_0x3d6fc4});const _0xb1bba9={'unitId':_0x10d860,'subUnitId':_0x311020,'pivotTableId':_0x1b0d51,'fieldId':_0x104f58,'filterInfo':_0x1636a5};_0x5059ea[_0x186e25(0x3ae)]({'id':_0x417162['id'],'params':_0xb1bba9});}}return{'redos':_0x4095a2,'undos':_0x5059ea};}function _0x3f2e69(_0x1a153a,_0x433423){const _0x515f69=_0x19f2bc;var _0x127d39;const _0x5a8009=_0x1a153a['get'](_0x37cc3d[_0x515f69(0x26f)]),{cellInfo:_0x5ad3d2,view:_0x23d1db,isEmpty:_0x380a1e}=_0x433423;return(_0x127d39=_0x5a8009[_0x515f69(0x243)][_0x515f69(0x3a3)](_0x19d91c)(_0x53465d,{'cellInfo':_0x5ad3d2,'view':_0x23d1db,'isEmpty':_0x380a1e}))!=null?_0x127d39:_0x53465d;}const _0x3228f7=()=>typeof process<'u'&&process[_0x19f2bc(0x1fe)]!=null&&process['versions'][_0x19f2bc(0x337)]!=null,_0x26b648={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x422),'handler'(_0x7a3ad,_0x5c58ef){const _0x4a4948=_0x19f2bc;var _0x138084;if(!_0x5c58ef)return!0x1;const _0x541b9e=_0x7a3ad['get'](_0x585029[_0x4a4948(0x2e1)]);if(!!_0x541b9e['getConfig'](_0x47e846))return!0x0;const _0x4d539c=_0x7a3ad['get'](_0x585029['IUniverInstanceService']),_0x34d06d=_0x7a3ad[_0x4a4948(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),{pivotTableId:_0x22fadc,pivotTableConfig:_0x53a99a,collectionConfig:_0x2c125b,unitId:_0x2f358f,subUnitId:_0x15cebb}=_0x5c58ef,{sourceRangeInfo:_0x137f39,fieldsConfig:_0x54aad1,targetCellInfo:_0x15dda9}=_0x53a99a,_0x134a1f=_0x4d539c['getUnit'](_0x2f358f);if(!_0x134a1f||!_0x134a1f[_0x4a4948(0x26d)](_0x15cebb))return!0x1;if(!_0x3228f7()){let _0x4ef677=0x0;_0x134a1f[_0x4a4948(0x30f)]()[_0x4a4948(0x1d4)](_0x4c46f4=>{const _0x54cf41=_0x4a4948;var _0x2bdf15,_0x2a5fdd;_0x4ef677+=(_0x2a5fdd=(_0x2bdf15=_0x34d06d[_0x54cf41(0x2c1)](_0x2f358f,_0x4c46f4[_0x54cf41(0x27d)]()))==null?void 0x0:_0x2bdf15[_0x54cf41(0x31c)])!=null?_0x2a5fdd:0x0;});const _0x1dccf6=(_0x138084=_0x541b9e['getConfig'](_0x1eafcc['LS_CONFIG_KEY']))!=null?_0x138084:{},{ls:_0xc9927d,pbk:_0x6a6bb0}=_0x1dccf6;if(!_0xd24cda(_0xc9927d,_0x6a6bb0))throw new _0x585029[(_0x4a4948(0x3fd))](_0x4a4948(0x365));const _0x398f35=_0x3d1186(_0x41a561,_0xc9927d,_0x6a6bb0)[_0x4a4948(0x2cb)];if(_0x4ef677>=_0x398f35)throw new _0x585029['CustomCommandExecutionError'](_0x4a4948(0x365));}if(!_0x2c125b||!_0x54aad1)return!0x1;const {collection:_0x403467,updateDataFieldList:_0x3e60dd}=_0x34d06d[_0x4a4948(0x43c)](_0x22fadc,_0x2c125b,_0x137f39,_0x15dda9);_0x34d06d['refreshData'](_0x403467,_0x3e60dd,_0x137f39);const _0x4b1121=new _0x403b84['PivotTable'](_0x403467,void 0x0,_0x22fadc);_0x4b1121[_0x4a4948(0x3b4)](_0x54aad1);const _0x3d23ac=JSON['parse'](JSON[_0x4a4948(0x395)](_0x53a99a));return _0x34d06d[_0x4a4948(0x37a)](_0x2f358f,_0x15cebb,_0x22fadc,_0x4b1121,_0x3d23ac),_0x34d06d[_0x4a4948(0x264)]({'unitId':_0x2f358f,'subUnitId':_0x15cebb,'token':_0x22fadc,'type':_0x29e361['Add'],'pivotConfig':_0x3d23ac}),!0x0;}},_0x45d409={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x1c1),'handler'(_0x13aa48,_0x45499e){const _0xb48099=_0x19f2bc;if(!_0x45499e)return!0x1;if(!!_0x13aa48[_0xb48099(0x2b1)](_0x585029[_0xb48099(0x2e1)])[_0xb48099(0x143)](_0x47e846))return!0x0;const {pivotTableId:_0x1d10ad,unitId:_0xe704f6,subUnitId:_0x219251}=_0x45499e,_0x5b5950=_0x13aa48[_0xb48099(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']);return _0x5b5950[_0xb48099(0x2eb)](_0xe704f6,_0x219251,_0x1d10ad)?(_0x5b5950[_0xb48099(0x264)]({'unitId':_0xe704f6,'subUnitId':_0x219251,'token':_0x1d10ad,'type':_0x29e361['Delete']}),_0x5b5950[_0xb48099(0x1bd)](_0xe704f6,_0x219251,_0x1d10ad),!0x0):!0x1;}},_0x521325={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x186),'handler'(_0x309ee4,_0x56d5ca){const _0x2d5d81=_0x19f2bc;if(!_0x56d5ca)return!0x1;if(!!_0x309ee4[_0x2d5d81(0x2b1)](_0x585029[_0x2d5d81(0x2e1)])[_0x2d5d81(0x143)](_0x47e846))return!0x0;const {pivotTableId:_0x4be9fd,targetCellPosition:_0x1d8c51,unitId:_0x17d77c,subUnitId:_0x37024e}=_0x56d5ca,_0x34990a=_0x309ee4[_0x2d5d81(0x2b1)](_0x37cc3d[_0x2d5d81(0x154)]);if(!_0x34990a[_0x2d5d81(0x1eb)](_0x56d5ca[_0x2d5d81(0x306)]))return!0x1;const _0xbc8b72=_0x34990a[_0x2d5d81(0x1d6)](_0x4be9fd);if(!_0xbc8b72)return!0x1;const _0x398512=_0x34990a[_0x2d5d81(0x33a)](_0xbc8b72[_0x2d5d81(0x1f2)],_0x56d5ca[_0x2d5d81(0x306)]);if(!_0x398512)return!0x1;const _0x5a4483=_0x34990a[_0x2d5d81(0x2eb)](_0xbc8b72[_0x2d5d81(0x1f2)],_0xbc8b72[_0x2d5d81(0x265)],_0x4be9fd);if(!_0x5a4483)return!0x1;const _0x20f346=_0x585029[_0x2d5d81(0x261)]['deepClone'](_0x5a4483);_0x20f346['targetCellInfo']={'unitId':_0x17d77c,'subUnitId':_0x37024e,'row':_0x1d8c51[_0x2d5d81(0x439)],'col':_0x1d8c51[_0x2d5d81(0x177)]};const _0x68863b=_0x398512[_0x2d5d81(0x1e4)]();if(_0xbc8b72[_0x2d5d81(0x265)]===_0x37024e&&_0xbc8b72[_0x2d5d81(0x1f2)]===_0x17d77c)_0x34990a['setPivotTable'](_0x17d77c,_0x37024e,_0x4be9fd,_0x20f346),_0x34990a[_0x2d5d81(0x264)]({'unitId':_0x17d77c,'subUnitId':_0x37024e,'token':_0x4be9fd,'type':_0x29e361['Set']});else{_0x34990a[_0x2d5d81(0x264)]({'unitId':_0xbc8b72[_0x2d5d81(0x1f2)],'subUnitId':_0xbc8b72[_0x2d5d81(0x265)],'token':_0x4be9fd,'type':_0x29e361['Delete']}),_0x34990a[_0x2d5d81(0x1bd)](_0xbc8b72[_0x2d5d81(0x1f2)],_0xbc8b72['subUnitId'],_0x4be9fd);const _0x5b35ee=_0x34990a[_0x2d5d81(0x43c)](_0x4be9fd,_0x68863b,_0x5a4483['sourceRangeInfo'],_0x20f346[_0x2d5d81(0x25f)]),_0x4e814e=new _0x403b84[(_0x2d5d81(0x359))](_0x5b35ee[_0x2d5d81(0x408)],void 0x0,_0x4be9fd);_0x4e814e['fromJSON'](_0x20f346[_0x2d5d81(0x373)]),_0x34990a['addPivotTable'](_0x17d77c,_0x37024e,_0x4be9fd,_0x4e814e,_0x20f346),_0x34990a['addDirtyPivotTable']({'unitId':_0x17d77c,'subUnitId':_0x37024e,'token':_0x4be9fd,'type':_0x29e361['Add'],'pivotConfig':_0x20f346});}return!0x0;}},_0x4ff570={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':_0x19f2bc(0x1b2),'handler'(_0x288ab0,_0x35769d){const _0x59b240=_0x19f2bc;if(!_0x35769d)return!0x1;if(!!_0x288ab0[_0x59b240(0x2b1)](_0x585029[_0x59b240(0x2e1)])[_0x59b240(0x143)](_0x47e846))return!0x0;const _0x59a948=_0x288ab0[_0x59b240(0x2b1)](_0x37cc3d[_0x59b240(0x154)]),{pivotTableId:_0x2aa5bc,deleteIds:_0x14d789,collectionJSON:_0x322b12,dataRangeInfo:_0x5c87e3,unitId:_0x1f9892,subUnitId:_0x274c44}=_0x35769d,_0x5177db=_0x59a948[_0x59b240(0x1eb)](_0x2aa5bc),_0x54a676=_0x59a948[_0x59b240(0x2eb)](_0x1f9892,_0x274c44,_0x2aa5bc);if(!_0x5177db||!_0x54a676)return!0x1;const {collection:_0x2cde32,updateDataFieldList:_0x5c435e}=_0x59a948['addCollectionByJSON'](_0x2aa5bc,_0x322b12,_0x5c87e3,_0x54a676['targetCellInfo']);_0x59a948[_0x59b240(0x428)](_0x2cde32,_0x5c435e,_0x5c87e3),_0x5177db['updateDataFieldsCollection'](_0x2cde32);for(const _0x1e7998 of _0x14d789)_0x59a948[_0x59b240(0x369)](_0x5c87e3[_0x59b240(0x1f2)],_0x1e7998);const _0x4f98ee=_0x59a948[_0x59b240(0x2eb)](_0x1f9892,_0x274c44,_0x2aa5bc);return _0x4f98ee[_0x59b240(0x389)]=JSON[_0x59b240(0x18e)](JSON[_0x59b240(0x395)](_0x5c87e3)),_0x59a948[_0x59b240(0x264)]({'unitId':_0x1f9892,'subUnitId':_0x274c44,'token':_0x2aa5bc,'type':_0x29e361[_0x59b240(0x24f)]}),!0x0;}},_0x182e59={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x406610=Object[_0x19f2bc(0x2c5)],_0x4cb872=(_0x1f977b,_0x467344,_0x103cbe,_0x3f12f8)=>{for(var _0x5036c4=_0x3f12f8>0x1?void 0x0:_0x3f12f8?_0x406610(_0x467344,_0x103cbe):_0x467344,_0x3fb4fb=_0x1f977b['length']-0x1,_0x3386fd;_0x3fb4fb>=0x0;_0x3fb4fb--)(_0x3386fd=_0x1f977b[_0x3fb4fb])&&(_0x5036c4=_0x3386fd(_0x5036c4)||_0x5036c4);return _0x5036c4;},_0x3039d6=(_0x245e46,_0x4f8438)=>(_0x23b066,_0x309d30)=>_0x4f8438(_0x23b066,_0x309d30,_0x245e46);_0x37cc3d['SheetsPivotRPCService']=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x428f68,_0x373fc6){super(),_0x37aa9d(this,'_requestResolvers',new Map()),(this['_injector']=_0x428f68,this['_commandService']=_0x373fc6);}[_0x19f2bc(0x2b9)](_0x4a4eb4){const _0x3670e4=_0x19f2bc,{version:_0x219f34}=_0x4a4eb4,_0x45e48c=this[_0x3670e4(0x1d0)]['get'](_0x219f34);_0x45e48c&&(_0x45e48c(_0x4a4eb4),this[_0x3670e4(0x1d0)][_0x3670e4(0x3d8)](_0x219f34));}[_0x19f2bc(0x1ca)](_0x444d54){return new Promise((_0x453abc,_0x1d9dc0)=>{const _0x3bef52=_0x542f,_0x4c83b6=this['_generateUniqueVersion']();this[_0x3bef52(0x1d0)][_0x3bef52(0x36d)](_0x4c83b6,_0x453abc),this['_commandService'][_0x3bef52(0x399)](_0x32866a['id'],{'version':_0x4c83b6,..._0x444d54},{'onlyLocal':!0x0});});}[_0x19f2bc(0x409)](){const _0x5884b9=_0x19f2bc;return Math['random']()[_0x5884b9(0x286)](0x24)[_0x5884b9(0x376)](0x2,0x10);}},_0x37cc3d[_0x19f2bc(0x17a)]=_0x4cb872([_0x3039d6(0x0,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x454)])),_0x3039d6(0x1,_0x585029['Inject'](_0x585029['ICommandService']))],_0x37cc3d['SheetsPivotRPCService']);const _0x339123={'id':_0x19f2bc(0x2ff),'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x17c)],'handler':(_0x3fd748,_0x372382)=>{const _0x4563d2=_0x19f2bc;if(!_0x372382)return!0x1;if(!!_0x3fd748[_0x4563d2(0x2b1)](_0x585029[_0x4563d2(0x2e1)])['getConfig'](_0x47e846))return!0x0;const {pivotTableId:_0x29b1af,fieldJSON:_0x2d3b6a,unitId:_0x2194ca,subUnitId:_0x2ea56d}=_0x372382,_0x47dfb8=_0x403b84[_0x4563d2(0x25c)]['fromJSON'](_0x2d3b6a);if(!_0x47dfb8)return!0x1;const _0x4b3fa7=_0x3fd748[_0x4563d2(0x2b1)](_0x37cc3d['SheetsPivotDataSourceModel']),_0x3a978e=_0x4b3fa7['getDataFieldManager'](_0x2194ca),_0x433c48=_0x3a978e[_0x4563d2(0x33a)](_0x29b1af);_0x3a978e[_0x4563d2(0x155)](_0x47dfb8),_0x433c48[_0x4563d2(0x2a8)](_0x47dfb8[_0x4563d2(0x2dc)](),_0x47dfb8[_0x4563d2(0x224)]());const _0x342ac5=_0x433c48[_0x4563d2(0x3ab)](_0x47dfb8['getOriginFieldId']());_0x342ac5&&_0x47dfb8[_0x4563d2(0x151)](_0x342ac5);const _0x1bf627=_0x4b3fa7[_0x4563d2(0x2eb)](_0x2194ca,_0x2ea56d,_0x29b1af);return _0x4b3fa7['addDirtyPivotTable']({'unitId':_0x2194ca,'subUnitId':_0x2ea56d,'token':_0x29b1af,'type':_0x29e361['Set'],'pivotConfig':_0x1bf627}),!0x0;}},_0x11b89d={'id':_0x19f2bc(0x1f5),'type':_0x585029[_0x19f2bc(0x15e)]['MUTATION'],'handler':(_0x5e909d,_0x4b1909)=>{const _0x13ef6b=_0x19f2bc;if(!_0x4b1909)return!0x1;if(!!_0x5e909d['get'](_0x585029[_0x13ef6b(0x2e1)])[_0x13ef6b(0x143)](_0x47e846))return!0x0;const {pivotTableId:_0x286d2a,dataFieldId:_0x172bef,unitId:_0xfa45b3,subUnitId:_0x13491a}=_0x4b1909,_0x540572=_0x5e909d[_0x13ef6b(0x2b1)](_0x37cc3d[_0x13ef6b(0x154)]),_0x5175fb=_0x540572[_0x13ef6b(0x30d)](_0xfa45b3);_0x5175fb[_0x13ef6b(0x33a)](_0x286d2a)['deleteField'](_0x172bef);let _0x56291e=!0x0;for(const _0x55ce94 in _0x5175fb['collections'])if(_0x5175fb['collections'][_0x55ce94][_0x13ef6b(0x1af)]()[_0x13ef6b(0x1d3)](_0x172bef)){_0x56291e=!0x1;break;}_0x56291e&&_0x5175fb[_0x13ef6b(0x3ec)](_0x172bef);const _0x38a659=_0x540572[_0x13ef6b(0x2eb)](_0xfa45b3,_0x13491a,_0x286d2a);return _0x540572[_0x13ef6b(0x264)]({'unitId':_0xfa45b3,'subUnitId':_0x13491a,'token':_0x286d2a,'type':_0x29e361[_0x13ef6b(0x24f)],'pivotConfig':_0x38a659}),!0x0;}},_0x46b43a={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x3b1),async 'handler'(_0x6b7088,_0x4dad45){const _0x24adb3=_0x19f2bc;if(!_0x4dad45)return!0x1;const _0x44f666=_0x6b7088[_0x24adb3(0x2b1)](_0x585029[_0x24adb3(0x1fd)]),_0x176773=_0x6b7088[_0x24adb3(0x2b1)](_0x37cc3d[_0x24adb3(0x17a)]),_0x262764=_0x6b7088[_0x24adb3(0x2b1)](_0x585029[_0x24adb3(0x2dd)]),{pivotTableId:_0x3363b8,dataFieldId:_0x17f425,fieldArea:_0xaaf41f,index:_0x4a7c50,unitId:_0x148048,subUnitId:_0x192321}=_0x4dad45,_0x27b635=(await _0x176773[_0x24adb3(0x1ca)]({'unitId':_0x148048,'subUnitId':_0x192321,'pivotTableId':_0x3363b8,'params':{'type':_0x24e6a2[_0x24adb3(0x2bd)],'addPivotField':{'dataFieldId':_0x17f425,'fieldArea':_0xaaf41f,'index':_0x4a7c50}}}))[_0x24adb3(0x3b7)][_0x24adb3(0x1a9)];if(!_0x27b635)return!0x1;const {view:_0xe431d1,changesets:_0x5edcd0,isEmpty:_0x4c837d,pivotTableConfig:_0x3f1c81,shouldBeAddedGroupJSON:_0x160b18}=_0x27b635,_0x1fd9d8=_0x3f1c81[_0x24adb3(0x25f)],_0x4ab31e=new _0x403b84['PivotView']();_0x4ab31e[_0x24adb3(0x3bc)](_0xe431d1);const _0xfd978a={'cellInfo':_0x1fd9d8,'view':_0x4ab31e,'isEmpty':_0x4c837d};if(!await _0x6b7088[_0x24adb3(0x2b1)](_0x37cc3d[_0x24adb3(0x26f)])[_0x24adb3(0x3bb)][_0x24adb3(0x2b6)](_0x1d05a1)(!0x0,_0xfd978a))return!0x1;const _0x4e8b4e=_0xac2e7d(_0x6b7088,_0x4ab31e,_0x1fd9d8,_0x4c837d),_0x27b6ac=_0x3f2e69(_0x6b7088,_0xfd978a),{undos:_0x366284,redos:_0x418366}=_0x4bcad0(_0x44f666,{'pivotTableId':_0x3363b8,'unitId':_0x148048,'subUnitId':_0x192321},_0x5edcd0);return _0x160b18&&(_0x418366[_0x24adb3(0x3ae)]({'id':_0x339123['id'],'params':{'pivotTableId':_0x3363b8,'fieldJSON':_0x160b18,'unitId':_0x148048,'subUnitId':_0x192321}}),_0x366284['push']({'id':_0x11b89d['id'],'params':{'pivotTableId':_0x3363b8,'dataFieldId':_0x160b18['id'],'unitId':_0x148048,'subUnitId':_0x192321}})),_0x585029[_0x24adb3(0x14c)]([..._0x4e8b4e[_0x24adb3(0x42f)],..._0x27b6ac[_0x24adb3(0x42f)],..._0x418366],_0x44f666),_0x262764[_0x24adb3(0x242)]({'unitID':_0x148048,'redoMutations':[..._0x4e8b4e[_0x24adb3(0x42f)],..._0x27b6ac['redos'],..._0x418366],'undoMutations':[..._0x4e8b4e[_0x24adb3(0x3f9)],..._0x27b6ac['undos'],..._0x366284]}),!0x0;}},_0x487f2f={'type':_0x585029[_0x19f2bc(0x15e)]['COMMAND'],'id':_0x19f2bc(0x398),async 'handler'(_0x193e13,_0xf043d0){const _0x481fba=_0x19f2bc;if(!_0xf043d0)return!0x1;const {sourceDataInfo:_0x353e03,pivotTableConfig:_0xabf086}=_0xf043d0;if(!_0x353e03||!_0xabf086)return!0x1;const {unitId:_0x1ad41e,subUnitId:_0x15a4d7,range:_0x41de96}=_0x353e03,_0x343bf7=_0x193e13[_0x481fba(0x2b1)](_0x585029['IUniverInstanceService']),_0x5663eb=_0x193e13[_0x481fba(0x2b1)](_0x37cc3d['SheetsPivotRPCService']),_0x4bac5a=_0x193e13[_0x481fba(0x2b1)](_0x585029[_0x481fba(0x1a8)]),_0x3c4260=_0x193e13['get'](_0x585029[_0x481fba(0x1fd)]),_0x415c3d=_0x343bf7[_0x481fba(0x15c)](_0x1ad41e);if(!_0x415c3d)return!0x1;const _0x36801e=_0x415c3d[_0x481fba(0x26d)](_0x15a4d7);if(!_0x36801e)return!0x1;const _0x86ff64=_0x403b84[_0x481fba(0x438)](0x8),_0x127a5c=_0x41de96||{'startRow':0x0,'startColumn':0x0,'endRow':_0x36801e['getRowCount']()-0x1,'endColumn':_0x36801e['getColumnCount']()-0x1};_0x127a5c['rangeType']=_0x585029[_0x481fba(0x297)]['NORMAL'];const _0x39ddc4=(await _0x5663eb[_0x481fba(0x1ca)]({'unitId':_0x1ad41e,'subUnitId':_0x15a4d7,'pivotTableId':_0x86ff64,'params':{'type':_0x24e6a2[_0x481fba(0x2b3)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x1ad41e,'sheetName':_0x36801e[_0x481fba(0x224)](),'subUnitId':_0x15a4d7,'range':_0x127a5c},'pivotTableId':_0x86ff64,'pivotTableIndexConfig':_0xabf086}}}))[_0x481fba(0x3b7)][_0x481fba(0x1da)];if(!_0x39ddc4)return!0x1;const {isEmpty:_0x27d048,fieldsConfig:_0x2d5271,collectionConfig:_0x1b2b8a,changesets:_0x60a28c}=_0x39ddc4,_0x2de906=_0x415c3d[_0x481fba(0x30f)]()[_0x481fba(0x183)],_0x1c6ddf=_0x585029[_0x481fba(0x410)]({'rowCount':_0x36801e['getRowCount']()-0x1,'columnCount':_0x36801e[_0x481fba(0x231)]()-0x1});_0x1c6ddf['id']=_0x585029['generateRandomId'](),_0x1c6ddf[_0x481fba(0x423)]=_0x415c3d[_0x481fba(0x3fa)](''+_0x4bac5a['t'](_0x481fba(0x13f)));const _0x4c2bcb={'index':_0x2de906,'sheet':_0x1c6ddf,'unitId':_0x1ad41e},{redos:_0x2d9279}=_0x4bcad0(_0x3c4260,{'pivotTableId':_0x86ff64,'unitId':_0x1ad41e,'subUnitId':_0x1c6ddf['id']},_0x60a28c),_0x1e72b4=[{'id':_0x537052[_0x481fba(0x2e7)]['id'],'params':_0x4c2bcb},{'id':_0x26b648['id'],'params':{'unitId':_0x1ad41e,'subUnitId':_0x1c6ddf['id'],'pivotTableId':_0x86ff64,'pivotTableConfig':{'isEmpty':_0x27d048,'fieldsConfig':_0x2d5271,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x1ad41e,'subUnitId':_0x1c6ddf['id']},'sourceRangeInfo':{'subUnitId':_0x15a4d7,'unitId':_0x1ad41e,'range':_0x127a5c,'sheetName':_0x36801e[_0x481fba(0x224)]()}},'collectionConfig':_0x1b2b8a}},..._0x2d9279];return _0x585029[_0x481fba(0x14c)](_0x1e72b4,_0x3c4260),!0x0;}},_0x886fac={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x2fa),async 'handler'(_0x287455,_0x261de2){const _0x186af8=_0x19f2bc;var _0xaa6805,_0x6e2d3d;const _0x5b3be6=_0x287455[_0x186af8(0x2b1)](_0x585029['ICommandService']),_0x1b48f6=_0x287455['get'](_0x585029[_0x186af8(0x42c)]),_0x19629c=_0x287455[_0x186af8(0x2b1)](_0x585029[_0x186af8(0x1a8)]),_0x1e986a=_0x287455[_0x186af8(0x2b1)](_0x37cc3d['SheetsPivotRPCService']),_0x4881e0=_0x287455[_0x186af8(0x2b1)](_0x585029[_0x186af8(0x2dd)]),_0x1c6c20=_0x287455[_0x186af8(0x2b1)](_0x37cc3d['SheetsPivotTableConfigModel']),_0x429f2a=_0x287455[_0x186af8(0x2b1)](_0x585029[_0x186af8(0x2e1)]);if(!_0x261de2)return!0x1;const {pivotTableConfig:_0x35d66b,positionType:_0x318134}=_0x261de2,{targetCellInfo:_0x555b73,sourceRangeInfo:_0x168342}=_0x35d66b,{unitId:_0x1de087,subUnitId:_0x22b967}=_0x555b73,_0x4b8013=_0x1b48f6['getUnit'](_0x1de087);if(!_0x4b8013)return!0x1;let _0x5583ee=0x0;_0x4b8013['getSheets']()['forEach'](_0x1b09eb=>{const _0x299662=_0x186af8;var _0x53895e,_0x2cb69;_0x5583ee+=(_0x2cb69=(_0x53895e=_0x1c6c20[_0x299662(0x2c1)](_0x1de087,_0x1b09eb[_0x299662(0x27d)]()))==null?void 0x0:_0x53895e[_0x299662(0x31c)])!=null?_0x2cb69:0x0;});const _0x5f7fdf=(_0xaa6805=_0x429f2a[_0x186af8(0x143)](_0x1eafcc[_0x186af8(0x335)]))!=null?_0xaa6805:{},{ls:_0x136514,pbk:_0x116a19}=_0x5f7fdf;if(!_0xd24cda(_0x136514,_0x116a19))return!0x1;const _0x134b5c=_0x3d1186(_0x41a561,_0x136514,_0x116a19)[_0x186af8(0x2cb)];if(_0x5583ee>=_0x134b5c)return!0x1;const _0x2379b8=_0x261de2[_0x186af8(0x306)]||_0x403b84['generateHexNumber'](0x8),_0x12b7d7=(await _0x1e986a[_0x186af8(0x1ca)]({'unitId':_0x1de087,'subUnitId':_0x22b967,'pivotTableId':_0x2379b8,'params':{'type':_0x24e6a2[_0x186af8(0x1d7)],'addPivotTable':{'sourceRangeInfo':_0x168342,'pivotTableId':_0x2379b8}}}))[_0x186af8(0x3b7)]['addPivotTable'];if(!_0x12b7d7)return!0x1;const {view:_0x40ce0d,isEmpty:_0x5dfd60,fieldsConfig:_0x36dc4b,collectionConfig:_0x1eefcd}=_0x12b7d7,_0x59264e=[],_0x49ab1b=[];if(_0x318134===_0x516961['New']){const _0x191a02=_0x4b8013[_0x186af8(0x30f)]()[_0x186af8(0x183)],_0x65e92c=_0x585029[_0x186af8(0x410)]({});_0x65e92c['id']=_0x35d66b['targetCellInfo']['subUnitId'],_0x65e92c[_0x186af8(0x423)]=(_0x6e2d3d=_0x35d66b[_0x186af8(0x25f)][_0x186af8(0x288)])!=null?_0x6e2d3d:_0x4b8013[_0x186af8(0x3fa)](''+_0x19629c['t'](_0x186af8(0x13f)));const _0x192db1={'index':_0x191a02,'sheet':_0x65e92c,'unitId':_0x1de087},_0x37a596=_0x537052[_0x186af8(0x2a6)](_0x287455,_0x192db1);_0x59264e[_0x186af8(0x1b6)]({'id':_0x537052[_0x186af8(0x1e0)]['id'],'params':_0x37a596}),_0x49ab1b[_0x186af8(0x1b6)]({'id':_0x537052['InsertSheetMutation']['id'],'params':_0x192db1});}else{if(!_0x4b8013[_0x186af8(0x26d)](_0x22b967))return!0x1;const _0x378535=_0xac2e7d(_0x287455,new _0x403b84['PivotView'](),_0x555b73,!0x0);_0x49ab1b[_0x186af8(0x1b6)](..._0x378535[_0x186af8(0x42f)]),_0x59264e[_0x186af8(0x1b6)](..._0x378535[_0x186af8(0x3f9)]);const _0x149f02={'cellInfo':_0x555b73,'view':_0x40ce0d,'isEmpty':_0x5dfd60};if(!await _0x287455[_0x186af8(0x2b1)](_0x37cc3d[_0x186af8(0x26f)])[_0x186af8(0x3bb)][_0x186af8(0x2b6)](_0x1d05a1)(!0x0,_0x149f02))return!0x1;const _0x58628f=_0x3f2e69(_0x287455,_0x149f02);_0x49ab1b[_0x186af8(0x1b6)](..._0x58628f[_0x186af8(0x42f)]),_0x59264e[_0x186af8(0x1b6)](..._0x58628f['undos']);}return _0x49ab1b['push']({'id':_0x26b648['id'],'params':{'unitId':_0x555b73['unitId'],'subUnitId':_0x555b73[_0x186af8(0x265)],'pivotTableId':_0x2379b8,'pivotTableConfig':{'targetCellInfo':_0x555b73,'sourceRangeInfo':_0x168342,'fieldsConfig':_0x36dc4b},'collectionConfig':_0x1eefcd}}),_0x59264e[_0x186af8(0x3ae)]({'id':_0x45d409['id'],'params':{'unitId':_0x1de087,'subUnitId':_0x22b967,'pivotTableId':_0x2379b8}}),_0x585029[_0x186af8(0x14c)](_0x49ab1b,_0x5b3be6)&&_0x4881e0[_0x186af8(0x242)]({'unitID':_0x1de087,'undoMutations':_0x59264e,'redoMutations':_0x49ab1b}),!0x0;}},_0x1bdaa3={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x13e),async 'handler'(_0x547c90,_0x4fd57d){const _0x42b14f=_0x19f2bc;if(!_0x4fd57d)return!0x1;const _0x374b2c=_0x547c90['get'](_0x585029['ICommandService']),_0x11adb5=_0x547c90[_0x42b14f(0x2b1)](_0x37cc3d[_0x42b14f(0x17a)]),_0x340f69=_0x547c90[_0x42b14f(0x2b1)](_0x585029[_0x42b14f(0x2dd)]),{pivotTableId:_0x5e4a4c,fieldId:_0x2238d3,area:_0x54cd50,index:_0x384c92,unitId:_0x50f97e,subUnitId:_0x117422}=_0x4fd57d,_0x367069=(await _0x11adb5[_0x42b14f(0x1ca)]({'unitId':_0x50f97e,'subUnitId':_0x117422,'pivotTableId':_0x5e4a4c,'params':{'type':_0x24e6a2[_0x42b14f(0x178)],'movePivotField':{'fieldId':_0x2238d3,'area':_0x54cd50,'index':_0x384c92}}}))[_0x42b14f(0x3b7)][_0x42b14f(0x39d)];if(!_0x367069)return!0x1;const {changesets:_0x2720a3,view:_0x567705,isEmpty:_0xeb96ab,pivotTableConfig:_0x576d55}=_0x367069,_0x46b74a=_0x576d55['targetCellInfo'],_0x5add0f=new _0x403b84[(_0x42b14f(0x300))]();_0x5add0f['formJSON'](_0x567705);const _0x454202={'cellInfo':_0x46b74a,'view':_0x5add0f,'isEmpty':_0xeb96ab};if(!await _0x547c90['get'](_0x37cc3d[_0x42b14f(0x26f)])[_0x42b14f(0x3bb)][_0x42b14f(0x2b6)](_0x1d05a1)(!0x0,_0x454202))return!0x1;const _0x5b9127=_0xac2e7d(_0x547c90,_0x5add0f,_0x46b74a,_0xeb96ab),_0x393577=_0x3f2e69(_0x547c90,_0x454202),{redos:_0x13eaf4,undos:_0x204520}=_0x4bcad0(_0x374b2c,{'pivotTableId':_0x5e4a4c,'unitId':_0x50f97e,'subUnitId':_0x117422},_0x2720a3);return _0x585029['sequenceExecute']([..._0x5b9127[_0x42b14f(0x42f)],..._0x393577[_0x42b14f(0x42f)],..._0x13eaf4],_0x374b2c),_0x340f69[_0x42b14f(0x242)]({'unitID':_0x50f97e,'redoMutations':[..._0x5b9127[_0x42b14f(0x42f)],..._0x393577[_0x42b14f(0x42f)],..._0x13eaf4],'undoMutations':[..._0x5b9127[_0x42b14f(0x3f9)],..._0x393577[_0x42b14f(0x3f9)],..._0x204520]}),!0x0;}},_0x1a7d86={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x222),async 'handler'(_0x4e13fe,_0x116590){const _0x375136=_0x19f2bc;var _0x41bb81;if(!_0x116590)return!0x1;const _0x5701e4=_0x4e13fe[_0x375136(0x2b1)](_0x585029[_0x375136(0x42c)]),_0x4f201d=_0x537052[_0x375136(0x3fc)](_0x5701e4);if(!_0x4f201d)return!0x1;const {unitId:_0xbed223,subUnitId:_0x454dee,workbook:_0x572494}=_0x4f201d,{row:_0x521c99,col:_0x447c6b}=_0x116590,_0x1a6186=_0x4e13fe['get'](_0x37cc3d[_0x375136(0x2c0)]),_0x8a1e3f=_0x1a6186[_0x375136(0x366)](_0xbed223,_0x454dee,_0x521c99,_0x447c6b);if(!_0x8a1e3f)return!0x1;const _0x32ae55=(_0x41bb81=_0x1a6186[_0x375136(0x379)](_0xbed223,_0x454dee,_0x8a1e3f))==null?void 0x0:_0x41bb81[_0x375136(0x3e7)];if(!_0x32ae55)return!0x1;const _0x35222d=_0x4e13fe['get'](_0x37cc3d[_0x375136(0x382)])[_0x375136(0x2eb)](_0xbed223,_0x454dee,_0x8a1e3f);if(!_0x35222d)return!0x1;const {rowInfo:_0x29a71b,colInfo:_0x86144f}=_0x32ae55,_0x4ac0ed=_0x29a71b[_0x521c99]['paths'],_0x16398a=_0x86144f[_0x447c6b][_0x375136(0x328)],_0x4d7d07=_0x29a71b[_0x521c99][_0x375136(0x41c)],_0x6f8be0=_0x86144f[_0x447c6b][_0x375136(0x41c)],_0x384755=_0x4ac0ed[_0x375136(0x2a9)](_0x16398a),_0xb7cba2=_0x35222d['fieldsConfig'][_0x375136(0x2ca)][_0x375136(0x374)](0x0,_0x4d7d07),_0x4dada7=_0x35222d[_0x375136(0x373)]['columnFields'][_0x375136(0x374)](0x0,_0x6f8be0),_0xfec06b=_0xb7cba2[_0x375136(0x2a9)](_0x4dada7),_0x17720b=_0x384755[_0x375136(0x36c)]((_0x27ee90,_0xee8219)=>[_0x27ee90,_0xfec06b[_0xee8219]]),_0x35dd6f=(await _0x4e13fe[_0x375136(0x2b1)](_0x37cc3d[_0x375136(0x17a)])[_0x375136(0x1ca)]({'unitId':_0xbed223,'subUnitId':_0x454dee,'pivotTableId':_0x8a1e3f,'params':{'type':_0x24e6a2['DrillDown'],'drillDown':{'tuple':_0x17720b}}}))[_0x375136(0x3b7)][_0x375136(0x25a)];if(!_0x35dd6f)return!0x1;const {indexes:_0x5b403b,range:_0x32f168,sourceUnitId:_0x125c54,sourceSubUnitId:_0x2d4a69,formatMap:_0x41ff8f}=_0x35dd6f,{startRow:_0x20b597,endRow:_0x193af3,startColumn:_0x3a64e9,endColumn:_0x4ed324}=_0x32f168,_0x436e9c=new _0x585029[(_0x375136(0x1ff))](),_0x1c546a=_0x193af3-_0x20b597,_0x2d1504=_0x4ed324-_0x3a64e9,_0x345765={},_0x5deda8=_0x537052[_0x375136(0x3fc)](_0x5701e4,{'unitId':_0x125c54,'subUnitId':_0x2d4a69});if(!_0x5deda8)return!0x1;const _0x455292=_0x312c25[_0x375136(0x249)],_0x2e34a9=_0x312c25[_0x375136(0x3da)],_0x5d084b=_0x312c25[_0x375136(0x3da)],_0x28694a=_0x572494[_0x375136(0x287)]()[_0x375136(0x218)](_0x455292),_0x5df319=_0x572494[_0x375136(0x287)]()[_0x375136(0x218)](_0x2e34a9),_0x1be39d=_0x572494['getStyles']()['setValue'](_0x5d084b),{worksheet:_0x28160d}=_0x5deda8;let _0x2c1790=0x0;const _0x5201ba=0x1;_0x5b403b[_0x375136(0x1d4)](_0x509580=>{const _0x4be6dd=_0x375136;for(let _0x11edbe=0x0;_0x11edbe<=_0x4ed324-_0x3a64e9;_0x11edbe++)_0x436e9c['setValue'](_0x2c1790,_0x11edbe,_0x28160d[_0x4be6dd(0x216)](_0x509580+_0x32f168[_0x4be6dd(0x20b)]+_0x5201ba,_0x11edbe));_0x2c1790++;});for(let _0x3b643e=_0x3a64e9;_0x3b643e<=_0x4ed324;_0x3b643e++){const _0x10fdd7=_0x28160d['getCellRaw'](_0x20b597,_0x3b643e);_0x345765[_0x20b597]||(_0x345765[_0x20b597]={}),_0x345765[_0x20b597][_0x3b643e]={..._0x10fdd7,'s':_0x28694a};}let _0x1f4fae=0x1;const _0x9254a2={},_0xf8076c={};_0x436e9c[_0x375136(0x19c)]((_0x303980,_0xdfa0b1)=>{const _0x25f998=_0x375136;_0xdfa0b1[_0x25f998(0x1d4)](_0x2524c1=>{const _0x273e23=_0x25f998,_0x17f1cc=_0x436e9c[_0x273e23(0x37c)](_0x303980,_0x2524c1);if(_0x345765[_0x1f4fae]||(_0x345765[_0x1f4fae]={}),_0x345765[_0x1f4fae][_0x2524c1]={..._0x17f1cc,'s':_0x1f4fae%0x2===0x0?_0x1be39d:_0x5df319},_0x41ff8f[_0x2524c1]&&_0x303980>=0x0){const _0x2f4573=_0x1f4fae%0x2===0x0;let _0xb0c717=_0x2f4573?_0xf8076c[_0x2524c1]:_0x9254a2[_0x2524c1];_0xb0c717||(_0xb0c717=_0x572494[_0x273e23(0x287)]()['setValue']({..._0x2f4573?_0x5d084b:_0x2e34a9,'n':{'pattern':_0x41ff8f[_0x2524c1]}}),_0x2f4573?_0xf8076c[_0x2524c1]=_0xb0c717:_0x9254a2[_0x2524c1]=_0xb0c717),_0x345765[_0x1f4fae][_0x2524c1]['s']=_0xb0c717;}}),_0x1f4fae++;});const _0x2820dd=new _0x585029[(_0x375136(0x1ff))](_0x345765),_0x59fb90={};_0x2820dd[_0x375136(0x149)]((_0x392871,_0xde2da1,_0x20b94c)=>{_0x59fb90[_0x392871]||(_0x59fb90[_0x392871]={}),_0x59fb90[_0x392871][_0xde2da1]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x31d27c=[],_0x5b75d5=[],_0x271366=_0x572494[_0x375136(0x30f)]()[_0x375136(0x183)],_0xe6bb8b=_0x585029[_0x375136(0x410)]({'rowCount':Math[_0x375136(0x3c8)](_0x585029['DEFAULT_WORKSHEET_ROW_COUNT'],_0x1c546a+0xa),'columnCount':Math[_0x375136(0x3c8)](_0x585029[_0x375136(0x2d9)],_0x2d1504+0x5)}),_0x422fb5=_0x4e13fe[_0x375136(0x2b1)](_0x585029['LocaleService']);_0xe6bb8b['id']=_0x585029[_0x375136(0x2b7)](),_0xe6bb8b[_0x375136(0x423)]=_0x572494[_0x375136(0x3fa)](''+_0x422fb5['t'](_0x375136(0x13f)));const _0x82dfbf={'index':_0x271366,'sheet':_0xe6bb8b,'unitId':_0xbed223},_0x2fb4a7=_0x537052[_0x375136(0x2a6)](_0x4e13fe,_0x82dfbf);_0x5b75d5['push']({'id':_0x537052[_0x375136(0x1b0)]['id'],'params':_0x82dfbf}),_0x31d27c[_0x375136(0x1b6)]({'id':_0x537052[_0x375136(0x1e0)]['id'],'params':_0x2fb4a7}),_0x5b75d5[_0x375136(0x1b6)]({'id':_0x537052[_0x375136(0x2f1)]['id'],'params':{'unitId':_0xbed223,'subUnitId':_0xe6bb8b['id'],'cellValue':_0x345765}}),_0x31d27c[_0x375136(0x3ae)]({'id':_0x537052[_0x375136(0x2f1)]['id'],'params':{'unitId':_0xbed223,'subUnitId':_0xe6bb8b['id'],'cellValue':_0x59fb90}});const _0x3e597a={'startRow':0x0,'startColumn':0x0,'endRow':_0x1f4fae-0x1,'endColumn':_0x4ed324};_0x5b75d5[_0x375136(0x1b6)]({'id':_0x5332cf['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0xbed223,'subUnitId':_0xe6bb8b['id'],'range':_0x3e597a}}),_0x31d27c[_0x375136(0x3ae)]({'id':_0x5332cf[_0x375136(0x254)]['id'],'params':{'unitId':_0xbed223,'subUnitId':_0xe6bb8b['id']}});const _0x1ed496=_0x4e13fe[_0x375136(0x2b1)](_0x585029[_0x375136(0x1fd)]);return _0x585029['sequenceExecute'](_0x5b75d5,_0x1ed496)&&_0x4e13fe[_0x375136(0x2b1)](_0x585029[_0x375136(0x2dd)])[_0x375136(0x242)]({'unitID':_0xbed223,'undoMutations':_0x31d27c,'redoMutations':_0x5b75d5}),!0x0;}},_0x348feb={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x305),async 'handler'(_0x2865e0,_0x481278){const _0x2f82db=_0x19f2bc;if(!_0x481278)return!0x1;const _0x57396e=_0x2865e0[_0x2f82db(0x2b1)](_0x585029[_0x2f82db(0x1fd)]),_0x1a06ec=_0x2865e0[_0x2f82db(0x2b1)](_0x37cc3d[_0x2f82db(0x17a)]),_0x2c54e1=_0x2865e0[_0x2f82db(0x2b1)](_0x585029[_0x2f82db(0x2dd)]),{pivotTableId:_0x4ffb39,fieldIds:_0x48fd6d,unitId:_0x210835,subUnitId:_0x469e11}=_0x481278,_0x4acaf7=(await _0x1a06ec[_0x2f82db(0x1ca)]({'unitId':_0x210835,'subUnitId':_0x469e11,'pivotTableId':_0x4ffb39,'params':{'type':_0x24e6a2[_0x2f82db(0x450)],'removePivotField':{'fieldIds':_0x48fd6d}}}))['result']['removePivotField'];if(!_0x4acaf7)return!0x1;const {view:_0x577296,changesets:_0x4a13a5,isEmpty:_0x51b4a9,pivotTableConfig:_0x1089cc}=_0x4acaf7,_0x47284c=_0x1089cc[_0x2f82db(0x25f)],_0x2544f0=new _0x403b84[(_0x2f82db(0x300))]();_0x2544f0[_0x2f82db(0x3bc)](_0x577296);const _0x2d1715={'cellInfo':_0x47284c,'view':_0x2544f0,'isEmpty':_0x51b4a9};if(!await _0x2865e0['get'](_0x37cc3d[_0x2f82db(0x26f)])[_0x2f82db(0x3bb)][_0x2f82db(0x2b6)](_0x1d05a1)(!0x0,_0x2d1715))return!0x1;const _0x291cdf=_0xac2e7d(_0x2865e0,_0x2544f0,_0x47284c,_0x51b4a9),_0x4e7546=_0x3f2e69(_0x2865e0,_0x2d1715),{redos:_0x11c34e,undos:_0x5246e4}=_0x4bcad0(_0x57396e,{'pivotTableId':_0x4ffb39,'unitId':_0x210835,'subUnitId':_0x469e11},_0x4a13a5);return _0x585029['sequenceExecute']([..._0x291cdf['redos'],..._0x4e7546[_0x2f82db(0x42f)],..._0x11c34e],_0x57396e),_0x2c54e1['pushUndoRedo']({'unitID':_0x210835,'redoMutations':[..._0x291cdf[_0x2f82db(0x42f)],..._0x4e7546[_0x2f82db(0x42f)],..._0x11c34e],'undoMutations':[..._0x291cdf[_0x2f82db(0x3f9)],..._0x4e7546[_0x2f82db(0x3f9)],..._0x5246e4]}),!0x0;}},_0x567856={'type':_0x585029[_0x19f2bc(0x15e)]['COMMAND'],'id':_0x19f2bc(0x26a),async 'handler'(_0xaeee3e,_0x1d094d){const _0x47518e=_0x19f2bc;var _0x2b9749;const _0xb27793=_0xaeee3e[_0x47518e(0x2b1)](_0x585029[_0x47518e(0x1fd)]),_0x49116b=_0xaeee3e[_0x47518e(0x2b1)](_0x37cc3d[_0x47518e(0x17a)]),_0xe1b2d8=_0xaeee3e[_0x47518e(0x2b1)](_0x37cc3d[_0x47518e(0x2c0)]),_0x10350a=_0xaeee3e['get'](_0x585029[_0x47518e(0x42c)]),_0x46b866=_0xaeee3e['get'](_0x585029[_0x47518e(0x2dd)]);if(!_0x1d094d)return!0x1;const {unitId:_0x5f3086,subUnitId:_0x435771,row:_0x596b81,col:_0xbc79c3,collapse:_0x50672}=_0x1d094d,_0x2594bd=_0x10350a[_0x47518e(0x15c)](_0x5f3086);if(!_0x2594bd||!_0x2594bd[_0x47518e(0x26d)](_0x435771))return!0x1;const _0x5f34aa=_0xe1b2d8[_0x47518e(0x366)](_0x5f3086,_0x435771,_0x596b81,_0xbc79c3);if(!_0x5f34aa)return!0x1;const _0x2079b5=_0xe1b2d8[_0x47518e(0x379)](_0x5f3086,_0x435771,_0x5f34aa);if(!_0x2079b5)return!0x1;const _0x391d6c=_0x585029[_0x47518e(0x3a6)](_0x596b81,_0xbc79c3),{rangesInfo:_0x123f97,areaInfo:_0x2f3d52,headerMap:_0x3c70cc}=_0x2079b5;if(!_0x123f97||!_0x2f3d52||!_0x3c70cc)return!0x1;const _0x42af07=Object[_0x47518e(0x255)](_0x123f97)[_0x47518e(0x304)](_0x3b4331=>_0x123f97[_0x3b4331][_0x47518e(0x213)](_0x10c329=>_0x585029[_0x47518e(0x144)][_0x47518e(0x456)](_0x10c329,_0x391d6c)));let _0x26f495;_0x42af07===_0x47518e(0x2a7)?_0x26f495=_0x3c70cc[_0x47518e(0x268)][_0xbc79c3]:_0x42af07==='colRanges'&&(_0x26f495=_0x3c70cc['colHeaderMap'][_0x596b81]);const _0x324f6e=_0x26f495==null?void 0x0:_0x26f495[_0x47518e(0x14e)],_0x32438c=(_0x2b9749=_0xe1b2d8[_0x47518e(0x28a)](_0x5f3086,_0x435771,_0x596b81,_0xbc79c3))==null?void 0x0:_0x2b9749['v'];if(_0x32438c==null||!_0x5f34aa||!_0x324f6e)return!0x1;const _0x50956a=await _0x49116b['getPivotDisplayConfig']({'unitId':_0x5f3086,'subUnitId':_0x435771,'pivotTableId':_0x5f34aa,'params':{'type':_0x24e6a2[_0x47518e(0x1d1)],'setPivotCollapse':{'tableFieldId':_0x324f6e,'collapse':_0x50672,'item':_0x32438c}}}),_0x3c7b5d=_0x50956a==null?void 0x0:_0x50956a[_0x47518e(0x3b7)][_0x47518e(0x29f)];if(!_0x3c7b5d)return!0x1;const {view:_0x2f2c0,pivotTableConfig:_0x5c31c8,isEmpty:_0x5ebd1c,changesets:_0x3416d1}=_0x3c7b5d,_0x4c3120=new _0x403b84[(_0x47518e(0x300))]();_0x4c3120[_0x47518e(0x3bc)](_0x2f2c0);const _0x4343e4=_0x5c31c8[_0x47518e(0x25f)],_0x2cc70e={'cellInfo':_0x4343e4,'view':_0x4c3120,'isEmpty':_0x5ebd1c};if(!await _0xaeee3e[_0x47518e(0x2b1)](_0x37cc3d[_0x47518e(0x26f)])['asyncInterceptor'][_0x47518e(0x2b6)](_0x1d05a1)(!0x0,_0x2cc70e))return!0x1;const _0x3015d0=_0xac2e7d(_0xaeee3e,_0x4c3120,_0x4343e4,_0x5ebd1c),_0x57113d=_0x3f2e69(_0xaeee3e,_0x2cc70e),{redos:_0x4a7e0d,undos:_0x48a7bd}=_0x4bcad0(_0xb27793,{'pivotTableId':_0x5f34aa,'unitId':_0x5f3086,'subUnitId':_0x435771},_0x3416d1);return _0x585029[_0x47518e(0x14c)]([..._0x3015d0['redos'],..._0x57113d[_0x47518e(0x42f)],..._0x4a7e0d],_0xb27793),_0x46b866[_0x47518e(0x242)]({'unitID':_0x5f3086,'redoMutations':[..._0x3015d0['redos'],..._0x57113d['redos'],..._0x4a7e0d],'undoMutations':[..._0x3015d0['undos'],..._0x57113d[_0x47518e(0x3f9)],..._0x48a7bd]}),!0x0;}},_0x38a461={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x2b2),async 'handler'(_0x2ef678,_0x19b6ed){const _0x31cf32=_0x19f2bc;if(!_0x19b6ed)return!0x1;const _0x1170d0=_0x2ef678[_0x31cf32(0x2b1)](_0x585029[_0x31cf32(0x1fd)]),{pivotTableId:_0x5af99e,tableFieldId:_0x5bc4e5,items:_0x225a02,unitId:_0x3d05f4,subUnitId:_0x378db8,isAll:_0x4e9dca}=_0x19b6ed,_0x53bbf9=_0x2ef678[_0x31cf32(0x2b1)](_0x37cc3d[_0x31cf32(0x17a)]),_0x3d771d=_0x2ef678[_0x31cf32(0x2b1)](_0x585029[_0x31cf32(0x2dd)]),_0x18baa4=(await _0x53bbf9[_0x31cf32(0x1ca)]({'unitId':_0x3d05f4,'subUnitId':_0x378db8,'pivotTableId':_0x5af99e,'params':{'type':_0x24e6a2['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x5bc4e5,'items':_0x225a02,'isAll':_0x4e9dca}}}))[_0x31cf32(0x3b7)][_0x31cf32(0x160)];if(!_0x18baa4)return!0x1;const {changesets:_0x33bd7b,pivotTableConfig:_0x46ac95,isEmpty:_0x54eee8,view:_0x454784}=_0x18baa4,_0x20e075=_0x46ac95[_0x31cf32(0x25f)],_0x45b610=new _0x403b84['PivotView']();_0x45b610['formJSON'](_0x454784);const _0x2faa2d={'cellInfo':_0x20e075,'view':_0x45b610,'isEmpty':_0x54eee8};if(!await _0x2ef678[_0x31cf32(0x2b1)](_0x37cc3d['SheetsPivotTableService'])[_0x31cf32(0x3bb)]['fetchThroughAsyncInterceptors'](_0x1d05a1)(!0x0,_0x2faa2d))return!0x1;const _0x10d9b5=_0xac2e7d(_0x2ef678,_0x45b610,_0x20e075,_0x54eee8),_0x386b7f=_0x3f2e69(_0x2ef678,_0x2faa2d),{undos:_0x262445,redos:_0x41dc4d}=_0x4bcad0(_0x1170d0,{'pivotTableId':_0x5af99e,'unitId':_0x3d05f4,'subUnitId':_0x378db8},_0x33bd7b);return _0x585029[_0x31cf32(0x14c)]([..._0x10d9b5[_0x31cf32(0x42f)],..._0x386b7f[_0x31cf32(0x42f)],..._0x41dc4d],_0x1170d0),_0x3d771d[_0x31cf32(0x242)]({'unitID':_0x3d05f4,'redoMutations':[..._0x10d9b5[_0x31cf32(0x42f)],..._0x386b7f[_0x31cf32(0x42f)],..._0x41dc4d],'undoMutations':[..._0x10d9b5[_0x31cf32(0x3f9)],..._0x386b7f[_0x31cf32(0x3f9)],..._0x262445]}),!0x0;}},_0x5cfaec={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x2f0),async 'handler'(_0xae6792,_0x23255f){const _0x285012=_0x19f2bc;if(!_0x23255f)return!0x1;const _0x10f8e6=_0xae6792[_0x285012(0x2b1)](_0x585029[_0x285012(0x1fd)]),_0xa940e0=_0xae6792['get'](_0x585029[_0x285012(0x2dd)]),_0x34aa2e=_0xae6792[_0x285012(0x2b1)](_0x37cc3d[_0x285012(0x17a)]),{info:_0x1b6e23,tableFieldId:_0x1a97ea,pivotTableId:_0x1b181c,unitId:_0x10f141,subUnitId:_0x4f0b6b}=_0x23255f,_0x2cdd64=(await _0x34aa2e[_0x285012(0x1ca)]({'unitId':_0x10f141,'subUnitId':_0x4f0b6b,'pivotTableId':_0x1b181c,'params':{'type':_0x24e6a2['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x1a97ea,'info':_0x1b6e23}}}))[_0x285012(0x3b7)][_0x285012(0x24e)];if(!_0x2cdd64)return!0x1;const {changesets:_0xea794c}=_0x2cdd64,{redos:_0x2f3ec0,undos:_0x471e9d}=_0x4bcad0(_0x10f8e6,{'pivotTableId':_0x1b181c,'unitId':_0x10f141,'subUnitId':_0x4f0b6b},_0xea794c);return _0x585029[_0x285012(0x14c)](_0x2f3ec0,_0x10f8e6),_0xa940e0[_0x285012(0x242)]({'unitID':_0x10f141,'redoMutations':_0x2f3ec0,'undoMutations':_0x471e9d}),!0x0;}},_0x589983={'type':_0x585029['CommandType'][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x28d),async 'handler'(_0x3bdbea,_0x142838){const _0x15d83c=_0x19f2bc;if(!_0x142838)return!0x1;const _0x4796b2=_0x3bdbea['get'](_0x585029[_0x15d83c(0x1fd)]),_0x179eaa=_0x3bdbea[_0x15d83c(0x2b1)](_0x585029[_0x15d83c(0x2dd)]),_0x5903a8=_0x3bdbea[_0x15d83c(0x2b1)](_0x37cc3d[_0x15d83c(0x17a)]),{displayName:_0x340666,subtotalType:_0x56164b,format:_0x252f0a,tableFieldId:_0x29bee2,pivotTableId:_0x42e148,unitId:_0x1fd109,subUnitId:_0x11c5b4}=_0x142838,_0x31bc48=(await _0x5903a8[_0x15d83c(0x1ca)]({'unitId':_0x1fd109,'subUnitId':_0x11c5b4,'pivotTableId':_0x42e148,'params':{'type':_0x24e6a2['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x29bee2,'displayName':_0x340666,'subtotalType':_0x56164b,'format':_0x252f0a}}}))['result'][_0x15d83c(0x437)];if(!_0x31bc48)return!0x1;const {changesets:_0x36f501,view:_0x3337fb,pivotTableConfig:_0x53d24c,isEmpty:_0x550a89}=_0x31bc48,_0x1167b2=_0x53d24c[_0x15d83c(0x25f)],_0x31f5ee=new _0x403b84[(_0x15d83c(0x300))]();_0x31f5ee[_0x15d83c(0x3bc)](_0x3337fb);const _0x174738={'cellInfo':_0x1167b2,'view':_0x31f5ee,'isEmpty':_0x550a89};if(!await _0x3bdbea[_0x15d83c(0x2b1)](_0x37cc3d[_0x15d83c(0x26f)])[_0x15d83c(0x3bb)][_0x15d83c(0x2b6)](_0x1d05a1)(!0x0,_0x174738))return!0x1;const _0x241e50=_0xac2e7d(_0x3bdbea,_0x31f5ee,_0x1167b2,_0x550a89),_0x389dcf=_0x3f2e69(_0x3bdbea,_0x174738),{undos:_0x5f0479,redos:_0x2aba63}=_0x4bcad0(_0x4796b2,{'pivotTableId':_0x42e148,'unitId':_0x1fd109,'subUnitId':_0x11c5b4},_0x36f501);return _0x585029[_0x15d83c(0x14c)]([..._0x241e50[_0x15d83c(0x42f)],..._0x389dcf['redos'],..._0x2aba63],_0x4796b2),_0x179eaa['pushUndoRedo']({'unitID':_0x1fd109,'redoMutations':[..._0x241e50[_0x15d83c(0x42f)],..._0x389dcf[_0x15d83c(0x42f)],..._0x2aba63],'undoMutations':[..._0x241e50[_0x15d83c(0x3f9)],..._0x389dcf[_0x15d83c(0x3f9)],..._0x5f0479]}),!0x0;}},_0x5ec3a8={'type':_0x585029[_0x19f2bc(0x15e)]['COMMAND'],'id':_0x19f2bc(0x1b5),async 'handler'(_0x5151f2,_0xa8283d){const _0x386c85=_0x19f2bc,_0x33444a=_0x5151f2[_0x386c85(0x2b1)](_0x585029[_0x386c85(0x1fd)]),_0x5c3436=_0x5151f2[_0x386c85(0x2b1)](_0x37cc3d[_0x386c85(0x17a)]),_0x12d14c=_0x5151f2['get'](_0x585029[_0x386c85(0x2dd)]);if(!_0xa8283d)return!0x1;const {token:_0x58f1c8,dataRangeInfo:_0x2dbf80,unitId:_0x23196c,subUnitId:_0x3a5535}=_0xa8283d,_0x1f78bf=[],_0x55d379=[],_0x4998bf=(await _0x5c3436[_0x386c85(0x1ca)]({'unitId':_0x23196c,'subUnitId':_0x3a5535,'pivotTableId':_0x58f1c8,'params':{'type':_0x24e6a2['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x2dbf80,'unitId':_0x23196c,'subUnitId':_0x3a5535}}}))[_0x386c85(0x3b7)][_0x386c85(0x3a9)];if(!_0x4998bf)return!0x1;const {changesets:_0x4007d8,deleteIds:_0x8b1146,collectionConfig:_0x38f1dc,oldCollectionConfig:_0x2aa050,view:_0x43731e,isEmpty:_0x4b0a34,pivotTableConfig:_0x14265d}=_0x4998bf;_0x55d379[_0x386c85(0x1b6)]({'id':_0x4ff570['id'],'params':{'pivotTableId':_0x58f1c8,'deleteIds':_0x8b1146,'collectionJSON':_0x38f1dc,'dataRangeInfo':_0x2dbf80,'unitId':_0x23196c,'subUnitId':_0x3a5535}}),_0x1f78bf[_0x386c85(0x3ae)]({'id':_0x4ff570['id'],'params':{'pivotTableId':_0x58f1c8,'deleteIds':[],'collectionJSON':_0x2aa050,'dataRangeInfo':_0x14265d['sourceRangeInfo'],'unitId':_0x23196c,'subUnitId':_0x3a5535}});const _0x413c3f=_0x14265d[_0x386c85(0x25f)],_0x14834c=new _0x403b84[(_0x386c85(0x300))]();_0x14834c[_0x386c85(0x3bc)](_0x43731e);const _0x54851c={'cellInfo':_0x413c3f,'view':_0x14834c,'isEmpty':_0x4b0a34};if(!await _0x5151f2[_0x386c85(0x2b1)](_0x37cc3d[_0x386c85(0x26f)])[_0x386c85(0x3bb)][_0x386c85(0x2b6)](_0x1d05a1)(!0x0,_0x54851c))return!0x1;const _0x47b8ec=_0xac2e7d(_0x5151f2,_0x14834c,_0x413c3f,_0x4b0a34),_0x2c6de3=_0x3f2e69(_0x5151f2,_0x54851c),{undos:_0x140b29,redos:_0x550c99}=_0x4bcad0(_0x33444a,{'pivotTableId':_0x58f1c8,'unitId':_0x23196c,'subUnitId':_0x3a5535},_0x4007d8);return _0x585029['sequenceExecute']([..._0x47b8ec[_0x386c85(0x42f)],..._0x2c6de3[_0x386c85(0x42f)],..._0x55d379,..._0x140b29],_0x33444a),_0x12d14c[_0x386c85(0x242)]({'unitID':_0x23196c,'redoMutations':[..._0x47b8ec[_0x386c85(0x42f)],..._0x2c6de3['redos'],..._0x55d379,..._0x140b29],'undoMutations':[..._0x47b8ec[_0x386c85(0x3f9)],..._0x2c6de3['undos'],..._0x1f78bf,..._0x550c99]}),!0x0;}},_0x8605da={'type':_0x585029[_0x19f2bc(0x15e)]['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x192b1c,_0x47475d){const _0x1f8d54=_0x19f2bc;if(!_0x47475d)return!0x1;const _0x5d9593=_0x192b1c['get'](_0x585029[_0x1f8d54(0x1fd)]),_0x2ccd82=_0x192b1c[_0x1f8d54(0x2b1)](_0x37cc3d[_0x1f8d54(0x17a)]),_0x2c927c=_0x192b1c[_0x1f8d54(0x2b1)](_0x585029[_0x1f8d54(0x42c)]),_0x2f2d3b=_0x192b1c[_0x1f8d54(0x2b1)](_0x585029[_0x1f8d54(0x2dd)]),{pivotTableId:_0x4d51a5,position:_0x21bc4f,index:_0x169812}=_0x47475d,_0x55f2a3=_0x537052['getSheetCommandTarget'](_0x2c927c);if(!_0x55f2a3)return!0x1;const {unitId:_0x2a4ac1,subUnitId:_0x44f67b}=_0x55f2a3,_0x22833b=(await _0x2ccd82[_0x1f8d54(0x1ca)]({'unitId':_0x2a4ac1,'subUnitId':_0x44f67b,'pivotTableId':_0x4d51a5,'params':{'type':_0x24e6a2[_0x1f8d54(0x1a1)],'updateValuePosition':{'position':_0x21bc4f,'index':_0x169812}}}))['result']['updateValuePosition'];if(!_0x22833b)return!0x1;const {changesets:_0x3db75f,view:_0x786677,isEmpty:_0x136999,pivotTableConfig:_0x3a86bc}=_0x22833b,_0x5b8a7c=_0x3a86bc[_0x1f8d54(0x25f)],_0x29e19a=new _0x403b84[(_0x1f8d54(0x300))]();_0x29e19a[_0x1f8d54(0x3bc)](_0x786677);const _0x3250a7=_0x192b1c[_0x1f8d54(0x2b1)](_0x37cc3d[_0x1f8d54(0x26f)]),_0x1d64ba={'cellInfo':_0x5b8a7c,'view':_0x29e19a,'isEmpty':_0x136999};if(!await _0x3250a7[_0x1f8d54(0x3bb)][_0x1f8d54(0x2b6)](_0x1d05a1)(!0x0,_0x1d64ba))return!0x1;const _0x325307=_0xac2e7d(_0x192b1c,_0x29e19a,_0x5b8a7c,_0x136999),_0x4a4284=_0x3f2e69(_0x192b1c,_0x1d64ba),{undos:_0x369b42,redos:_0x581152}=_0x4bcad0(_0x5d9593,{'pivotTableId':_0x4d51a5,'unitId':_0x2a4ac1,'subUnitId':_0x44f67b},_0x3db75f);return _0x585029[_0x1f8d54(0x14c)]([..._0x325307[_0x1f8d54(0x42f)],..._0x4a4284[_0x1f8d54(0x42f)],..._0x581152],_0x5d9593),_0x2f2d3b['pushUndoRedo']({'unitID':_0x2a4ac1,'redoMutations':[..._0x325307['redos'],..._0x4a4284[_0x1f8d54(0x42f)],..._0x581152],'undoMutations':[..._0x325307[_0x1f8d54(0x3f9)],..._0x4a4284[_0x1f8d54(0x3f9)],..._0x369b42]}),!0x0;}},_0x17027c={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x16f),'handler':(_0x4d5208,_0x9b1cd0)=>{const _0x45729=_0x19f2bc,_0x51f616=_0x4d5208[_0x45729(0x2b1)](_0x585029[_0x45729(0x1fd)]),_0x804d5d=_0x4d5208[_0x45729(0x2b1)](_0x585029[_0x45729(0x2dd)]),_0x2fa725=_0x4d5208[_0x45729(0x2b1)](_0x37cc3d['SheetsPivotTableConfigModel']),_0x5d0ea3=_0x4d5208[_0x45729(0x2b1)](_0x585029[_0x45729(0x42c)]);if(!_0x9b1cd0)return!0x1;const _0x17aab9=_0x537052[_0x45729(0x3fc)](_0x5d0ea3);if(!_0x17aab9)return!0x1;const {unitId:_0x55081c,subUnitId:_0x2e3e56,workbook:_0x5b46ae}=_0x17aab9,_0x4fcbac=_0x2fa725[_0x45729(0x2eb)](_0x9b1cd0[_0x45729(0x303)][_0x45729(0x1f2)],_0x9b1cd0['originTargetInfo'][_0x45729(0x265)],_0x9b1cd0[_0x45729(0x306)]);if(!_0x4fcbac)return!0x1;const _0x14b32e=_0x5b46ae[_0x45729(0x26d)](_0x9b1cd0[_0x45729(0x25f)][_0x45729(0x265)]);if(!_0x14b32e)throw new Error(_0x45729(0x29a));const _0x46dc5c=_0x14b32e[_0x45729(0x25e)](),_0x30b153=_0x14b32e[_0x45729(0x231)]();if(_0x9b1cd0[_0x45729(0x25f)]['row']>_0x46dc5c||_0x9b1cd0[_0x45729(0x25f)][_0x45729(0x177)]>_0x30b153)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x1b1b16=[{'id':_0x521325['id'],'params':{'unitId':_0x55081c,'subUnitId':_0x9b1cd0[_0x45729(0x25f)][_0x45729(0x265)],'pivotTableId':_0x9b1cd0[_0x45729(0x306)],'targetCellPosition':{'row':_0x9b1cd0[_0x45729(0x25f)][_0x45729(0x439)],'col':_0x9b1cd0[_0x45729(0x25f)][_0x45729(0x177)]}}}],_0x436643=[{'id':_0x521325['id'],'params':{'unitId':_0x55081c,'subUnitId':_0x2e3e56,'pivotTableId':_0x9b1cd0[_0x45729(0x306)],'targetCellPosition':{'row':_0x4fcbac[_0x45729(0x25f)][_0x45729(0x439)],'col':_0x4fcbac['targetCellInfo'][_0x45729(0x177)]}}}];return _0x585029[_0x45729(0x14c)](_0x1b1b16,_0x51f616)&&_0x804d5d[_0x45729(0x242)]({'unitID':_0x55081c,'undoMutations':_0x436643,'redoMutations':_0x1b1b16}),!0x0;}},_0x5afa6e={'type':_0x585029[_0x19f2bc(0x15e)][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x3b8),async 'handler'(_0x5a225b,_0x2eca80){const _0x113c12=_0x19f2bc;if(!_0x2eca80)return!0x1;const _0x599335=_0x5a225b[_0x113c12(0x2b1)](_0x585029[_0x113c12(0x1fd)]),{pivotTableId:_0x116f3e,fieldId:_0x5e002f,valueFilterInfo:_0x257433,unitId:_0x4b5ac5,subUnitId:_0x2a44bb}=_0x2eca80,_0x3631ed=_0x5a225b[_0x113c12(0x2b1)](_0x37cc3d[_0x113c12(0x17a)]),_0x489339=_0x5a225b['get'](_0x585029[_0x113c12(0x2dd)]),_0x207631=(await _0x3631ed[_0x113c12(0x1ca)]({'unitId':_0x4b5ac5,'subUnitId':_0x2a44bb,'pivotTableId':_0x116f3e,'params':{'type':_0x24e6a2['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5e002f,'filterInfo':_0x257433}}}))[_0x113c12(0x3b7)][_0x113c12(0x14f)];if(!_0x207631)return!0x1;const {changesets:_0x326dee,pivotTableConfig:_0xc24102,isEmpty:_0x47e766,view:_0x2d9ba5}=_0x207631,_0x2d2741=_0xc24102[_0x113c12(0x25f)],_0x29d7b9=new _0x403b84[(_0x113c12(0x300))]();_0x29d7b9['formJSON'](_0x2d9ba5);const _0x2fa51b={'cellInfo':_0x2d2741,'view':_0x29d7b9,'isEmpty':_0x47e766};if(!await _0x5a225b[_0x113c12(0x2b1)](_0x37cc3d['SheetsPivotTableService'])['asyncInterceptor'][_0x113c12(0x2b6)](_0x1d05a1)(!0x0,_0x2fa51b))return!0x1;const _0x3ad958=_0xac2e7d(_0x5a225b,_0x29d7b9,_0x2d2741,_0x47e766),_0x33a9bb=_0x3f2e69(_0x5a225b,_0x2fa51b),{undos:_0x56ece6,redos:_0x4d7a5a}=_0x4bcad0(_0x599335,{'pivotTableId':_0x116f3e,'unitId':_0x4b5ac5,'subUnitId':_0x2a44bb},_0x326dee);return _0x585029[_0x113c12(0x14c)]([..._0x3ad958[_0x113c12(0x42f)],..._0x33a9bb[_0x113c12(0x42f)],..._0x4d7a5a],_0x599335),_0x489339['pushUndoRedo']({'unitID':_0x4b5ac5,'redoMutations':[..._0x3ad958['redos'],..._0x33a9bb[_0x113c12(0x42f)],..._0x4d7a5a],'undoMutations':[..._0x3ad958[_0x113c12(0x3f9)],..._0x33a9bb[_0x113c12(0x3f9)],..._0x56ece6]}),!0x0;}},_0x362de0={'type':_0x585029['CommandType'][_0x19f2bc(0x28c)],'id':_0x19f2bc(0x1c3),async 'handler'(_0x4a9812,_0x47f581){const _0x140133=_0x19f2bc;if(!_0x47f581)return!0x1;const _0x5170d1=_0x4a9812[_0x140133(0x2b1)](_0x585029[_0x140133(0x1fd)]),_0x7e67be=_0x4a9812[_0x140133(0x2b1)](_0x585029[_0x140133(0x2dd)]),_0x45958c=_0x4a9812['get'](_0x37cc3d[_0x140133(0x17a)]),{pivotTableConfig:_0x737c3d,pivotTableId:_0x1cf56e,unitId:_0x538baa,subUnitId:_0xb6dc1f}=_0x47f581,_0x2188f4=(await _0x45958c['getPivotDisplayConfig']({'unitId':_0x538baa,'subUnitId':_0xb6dc1f,'pivotTableId':_0x1cf56e,'params':{'type':_0x24e6a2[_0x140133(0x199)],'setPivotTableConfig':{'pivotTableId':_0x1cf56e,'pivotTableConfig':_0x737c3d}}}))[_0x140133(0x3b7)][_0x140133(0x3b9)];if(!_0x2188f4)return!0x1;const {changesets:_0x3eda13}=_0x2188f4,{redos:_0x32321a,undos:_0x5b8a64}=_0x4bcad0(_0x5170d1,{'pivotTableId':_0x1cf56e,'unitId':_0x538baa,'subUnitId':_0xb6dc1f},_0x3eda13);return _0x585029[_0x140133(0x14c)](_0x32321a,_0x5170d1),_0x7e67be[_0x140133(0x242)]({'unitID':_0x538baa,'redoMutations':_0x32321a,'undoMutations':_0x5b8a64}),!0x0;}},_0x955524={'type':_0x585029['CommandType']['COMMAND'],'id':_0x19f2bc(0x1fb),async 'handler'(_0x32d6dc,_0xd5b384){const _0x1e7b4e=_0x19f2bc;if(!_0xd5b384)return!0x1;const _0x4cc2f=_0x32d6dc[_0x1e7b4e(0x2b1)](_0x585029[_0x1e7b4e(0x1fd)]),_0x511f38=_0x32d6dc['get'](_0x585029[_0x1e7b4e(0x2dd)]),_0x41d5e4=_0x32d6dc['get'](_0x37cc3d[_0x1e7b4e(0x17a)]),{resetArea:_0x33106c,pivotTableId:_0x223e69,unitId:_0x323be1,subUnitId:_0x59c8ce}=_0xd5b384,_0x4b27b5=(await _0x41d5e4[_0x1e7b4e(0x1ca)]({'unitId':_0x323be1,'subUnitId':_0x59c8ce,'pivotTableId':_0x223e69,'params':{'type':_0x24e6a2[_0x1e7b4e(0x35d)],'resetPivotTable':{'pivotTableId':_0x223e69,'resetArea':_0x33106c}}}))[_0x1e7b4e(0x3b7)][_0x1e7b4e(0x3d0)];if(!_0x4b27b5)return!0x1;const {changesets:_0x12b12a}=_0x4b27b5,{redos:_0x591df4,undos:_0x34b3f2}=_0x4bcad0(_0x4cc2f,{'pivotTableId':_0x223e69,'unitId':_0x323be1,'subUnitId':_0x59c8ce},_0x12b12a);return _0x585029['sequenceExecute'](_0x591df4,_0x4cc2f),_0x511f38[_0x1e7b4e(0x242)]({'unitID':_0x323be1,'redoMutations':_0x591df4,'undoMutations':_0x34b3f2}),!0x0;}},_0x139876={'id':_0x19f2bc(0x351),'type':_0x585029['CommandType'][_0x19f2bc(0x17c)],'handler':(_0xc6e149,_0x25dda8)=>{const _0x221d9b=_0x19f2bc;if(!_0x25dda8)return!0x1;if(!!_0xc6e149[_0x221d9b(0x2b1)](_0x585029[_0x221d9b(0x2e1)])['getConfig'](_0x47e846))return!0x0;const {unitId:_0x57b955,subUnitId:_0x4ef687,pivotTableId:_0x379761,tableFieldId:_0x1214ef,dateType:_0xd8abd5}=_0x25dda8,_0x1307c6=_0xc6e149[_0x221d9b(0x2b1)](_0x37cc3d[_0x221d9b(0x154)]),_0x38bc26=_0x1307c6['getPivotTableInstance'](_0x379761);if(!_0x38bc26)return!0x1;const _0x2dd844=_0x38bc26[_0x221d9b(0x27a)](_0x1214ef);if(!_0x2dd844)return!0x1;const _0x3aaffe=_0x2dd844[_0x221d9b(0x16c)](),_0x1fe6a3=_0x38bc26[_0x221d9b(0x227)](_0x3aaffe),_0x5112d8=(_0x1fe6a3==null?void 0x0:_0x1fe6a3[_0x221d9b(0x224)]())+'\x20'+_0x4f6767(_0xc6e149,_0xd8abd5);_0x1307c6[_0x221d9b(0x33a)](_0x57b955,_0x379761)[_0x221d9b(0x41a)](_0x2dd844['id'],_0x5112d8);const _0x74c10b=_0x38bc26[_0x221d9b(0x256)](_0x1214ef);if(!_0x74c10b)return!0x1;_0x38bc26[_0x221d9b(0x31e)](_0x74c10b[_0x221d9b(0x2dc)](),_0x5112d8),_0x2dd844[_0x221d9b(0x26c)](_0xd8abd5);const _0x23edb0=_0x1307c6['getPivotTableConfig'](_0x57b955,_0x4ef687,_0x379761);return _0x1307c6[_0x221d9b(0x264)]({'unitId':_0x57b955,'subUnitId':_0x4ef687,'token':_0x379761,'type':_0x29e361[_0x221d9b(0x24f)],'pivotConfig':_0x23edb0}),!0x0;}},_0x7631a0={'id':_0x19f2bc(0x27c),'type':_0x585029[_0x19f2bc(0x15e)]['COMMAND'],'handler':(_0x78b5cd,_0x24d62a)=>{const _0x1a442c=_0x19f2bc;if(!_0x24d62a)return!0x1;const _0x481bba=_0x78b5cd[_0x1a442c(0x2b1)](_0x585029[_0x1a442c(0x2dd)]),{unitId:_0x128be8,subUnitId:_0x256fe6,pivotTableId:_0x41df30,tableFieldId:_0x1af599}=_0x24d62a,_0x273fef=[],_0x309da3=[],_0x24dcf3=_0x78b5cd[_0x1a442c(0x2b1)](_0x37cc3d[_0x1a442c(0x382)]),_0x1ba13e=_0x24dcf3['getCollection'](_0x128be8,_0x41df30),_0x49413d=_0x24dcf3[_0x1a442c(0x2eb)](_0x128be8,_0x256fe6,_0x41df30);if(!(_0x49413d!=null&&_0x49413d[_0x1a442c(0x373)]['dimension']))return!0x1;const _0x3fbb99=Object['values'](_0x49413d['fieldsConfig'][_0x1a442c(0x426)])[_0x1a442c(0x304)](_0x493b68=>_0x493b68['id']===_0x1af599);if(!_0x3fbb99)return!0x1;const _0x94c7c1=_0x3fbb99['dataFieldId'];if(!(_0x1ba13e!=null&&_0x1ba13e[_0x1a442c(0x32b)]))return!0x1;const _0x5ac14f=Object[_0x1a442c(0x3c9)](_0x1ba13e==null?void 0x0:_0x1ba13e[_0x1a442c(0x32b)])[_0x1a442c(0x304)](_0x468daa=>_0x468daa['id']===_0x94c7c1);if(!_0x5ac14f)return!0x1;_0x403b84[_0x1a442c(0x217)](_0x5ac14f)&&_0x273fef[_0x1a442c(0x1b6)]({'id':_0x139876['id'],'params':{..._0x24d62a,'dateType':_0x5ac14f[_0x1a442c(0x406)]}}),_0x309da3['push']({'id':_0x139876['id'],'params':{..._0x24d62a}});const _0x4da1b1=_0x78b5cd['get'](_0x585029['ICommandService']);return _0x585029['sequenceExecute'](_0x309da3,_0x4da1b1)&&_0x481bba[_0x1a442c(0x242)]({'unitID':_0x128be8,'undoMutations':_0x273fef,'redoMutations':_0x309da3}),!0x0;}};var _0x39e9d9=Object[_0x19f2bc(0x2c5)],_0x327cf7=(_0x47e660,_0x4d10fe,_0x338c4c,_0x535580)=>{for(var _0xfc5ffc=_0x535580>0x1?void 0x0:_0x535580?_0x39e9d9(_0x4d10fe,_0x338c4c):_0x4d10fe,_0x540d81=_0x47e660['length']-0x1,_0x16b2fd;_0x540d81>=0x0;_0x540d81--)(_0x16b2fd=_0x47e660[_0x540d81])&&(_0xfc5ffc=_0x16b2fd(_0xfc5ffc)||_0xfc5ffc);return _0xfc5ffc;},_0x27c983=(_0x578396,_0x196dcf)=>(_0x22d8c2,_0x217b73)=>_0x196dcf(_0x22d8c2,_0x217b73,_0x578396);const _0x473bb2=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x11ff0f=(_0x377d62,_0x9ddbe,_0x13d037)=>{const _0x438e42=_0x19f2bc,_0x28917a=_0x377d62[_0x438e42(0x212)];_0x377d62[_0x438e42(0x188)](_0x962090=>{const _0x3e35ef=_0x438e42,_0x1a4117=_0x962090['getId'](),_0x167ece=_0x962090[_0x3e35ef(0x1f1)](),_0x28b2b4=_0x962090[_0x3e35ef(0x270)](),_0x420925=_0x962090[_0x3e35ef(0x316)]();_0x9ddbe[_0x167ece]&&_0x9ddbe[_0x167ece]===_0x420925&&_0x28b2b4===_0x420925&&(_0x377d62[_0x3e35ef(0x31e)](_0x1a4117,_0x28917a['getDisplayName'](_0x167ece)),_0x962090['setSourceName'](_0x28917a[_0x3e35ef(0x316)](_0x167ece)));}),_0x377d62['iterateFieldByArea'](_0x403b84[_0x438e42(0x442)][_0x438e42(0x39a)],_0x43419a=>{const _0x2bd82f=_0x438e42,_0x281ff4=_0x43419a['getId'](),_0x3aeb2d=_0x43419a[_0x2bd82f(0x1f1)](),_0x1e0b4a=_0x43419a[_0x2bd82f(0x270)](),_0x2e68ca=_0x43419a[_0x2bd82f(0x316)](),_0x26a9bc=_0x43419a[_0x2bd82f(0x37f)](),_0x37fe71=_0x13d037(_0x1e0b4a,_0x26a9bc);_0x9ddbe[_0x3aeb2d]&&_0x9ddbe[_0x3aeb2d]===_0x1e0b4a&&_0x37fe71===_0x2e68ca&&(_0x377d62[_0x2bd82f(0x31e)](_0x281ff4,_0x13d037(_0x28917a['getDisplayName'](_0x3aeb2d),_0x26a9bc)),_0x43419a[_0x2bd82f(0x291)](_0x28917a['getDisplayName'](_0x3aeb2d)));});},_0x4820f5=(_0x23d761,_0x20f5f5,_0x2b98e7)=>{const _0x286150=_0x19f2bc;var _0x1613e3,_0x2cc917;const {arrayFormulaCellData:_0xc273d1,unitData:_0x29d772}=_0x20f5f5,{unitId:_0x1ad52b,subUnitId:_0x430914}=_0x2b98e7,_0x377a36=_0x2b98e7[_0x286150(0x246)],{startColumn:_0x1f9251,endColumn:_0x29f5d8}=_0x377a36,_0x158bfb=(_0x1613e3=_0xc273d1==null?void 0x0:_0xc273d1[_0x1ad52b])==null?void 0x0:_0x1613e3[_0x430914],_0x41e2b3=(_0x2cc917=_0x29d772==null?void 0x0:_0x29d772[_0x1ad52b])==null?void 0x0:_0x2cc917[_0x430914],_0x5b4fd2=new Set(),_0x584080=_0x29f5d8-_0x1f9251+0x1,{dirtyRanges:_0xa8581c}=_0x23d761;if(_0xa8581c)for(const {range:_0x14b602,sheetId:_0x59a762,unitId:_0xfb93b3}of _0xa8581c){if(_0x59a762!==_0x430914||_0x1ad52b!==_0xfb93b3)continue;const _0x49907d=_0x585029[_0x286150(0x144)]['getIntersects'](_0x14b602,_0x377a36);if(_0x49907d){const {startColumn:_0x5f427f,endColumn:_0x2189df}=_0x49907d;for(let _0x367bcf=_0x5f427f;_0x367bcf<=_0x2189df;_0x367bcf++)_0x5b4fd2['add'](_0x367bcf);}}if(_0x5b4fd2[_0x286150(0x31c)]===_0x584080||_0x5b4fd2['size']===_0x584080)return Array[_0x286150(0x2ed)](_0x5b4fd2);if(_0x41e2b3){const _0x52f113=_0x41e2b3[_0x286150(0x282)](),_0x2f91f7=Object['keys'](_0x52f113);for(const _0x1e95a9 of _0x2f91f7){const _0x2c7540=Number(_0x1e95a9),_0x1fb5eb=_0x52f113[_0x2c7540];if(_0x5b4fd2[_0x286150(0x31c)]===_0x584080)break;for(const _0x48ef01 in _0x1fb5eb){const _0x412d9d=Number(_0x48ef01);_0x412d9d<_0x1f9251||_0x412d9d>_0x29f5d8||_0x5b4fd2[_0x286150(0x1f8)](_0x412d9d);}}}if(_0x158bfb){const _0x24092f=_0x158bfb[_0x286150(0x282)](),_0x5a4a00=Object[_0x286150(0x255)](_0x24092f);for(const _0x348d15 of _0x5a4a00){const _0x274310=Number(_0x348d15),_0x1caa64=_0x24092f[_0x274310];if(_0x5b4fd2[_0x286150(0x31c)]===_0x584080)break;for(const _0x62331c in _0x1caa64){const _0x7b1814=Number(_0x62331c);_0x7b1814<_0x1f9251||_0x7b1814>_0x29f5d8||_0x5b4fd2[_0x286150(0x1f8)](_0x7b1814);}}}return Array['from'](_0x5b4fd2);},_0x841321=_0x18ae54=>{const _0x4a128d=_0x19f2bc,_0x7db805=new Set(),_0x287bec=[];for(const _0x508211 of _0x18ae54){const _0x4fd9bd=_0x508211['startRow']+','+_0x508211[_0x4a128d(0x325)]+','+_0x508211['startColumn']+','+_0x508211[_0x4a128d(0x2ad)];_0x7db805[_0x4a128d(0x3cd)](_0x4fd9bd)||(_0x7db805['add'](_0x4fd9bd),_0x287bec[_0x4a128d(0x1b6)](_0x508211));}return _0x287bec;};let _0x3e8eb9=class extends _0x585029['Disposable']{constructor(_0x2f712f,_0x46d029,_0x370e8f,_0x32915c,_0x53ab8c,_0x4495af){const _0x19d62b=_0x19f2bc;super(),_0x37aa9d(this,_0x19d62b(0x342),new _0x28c886[(_0x19d62b(0x15f))](!0x0)),_0x37aa9d(this,_0x19d62b(0x2ba),_0x3e6c01=>{const _0x351834=_0x19d62b;this[_0x351834(0x342)]['next'](!0x1);}),_0x37aa9d(this,_0x19d62b(0x1e5),_0x309912=>{const _0x235df8=_0x19d62b;this[_0x235df8(0x342)][_0x235df8(0x357)](!0x0);}),(this[_0x19d62b(0x295)]=_0x2f712f,this[_0x19d62b(0x171)]=_0x46d029,this[_0x19d62b(0x1e2)]=_0x370e8f,this[_0x19d62b(0x1f6)]=_0x32915c,this[_0x19d62b(0x360)]=_0x53ab8c,this[_0x19d62b(0x3b3)]=_0x4495af,this['_init'](),this[_0x19d62b(0x33f)]());}['_init'](){const _0x5ebf42=_0x19f2bc;this[_0x5ebf42(0x387)](),this[_0x5ebf42(0x156)](),this['_initPivotTextInfo'](),this[_0x5ebf42(0x41f)]();}[_0x19f2bc(0x210)](){const _0x4579a1=_0x19f2bc;this[_0x4579a1(0x360)][_0x4579a1(0x233)](this[_0x4579a1(0x342)]),_0x403b84[_0x4579a1(0x359)]['registerCallbackWithEvent'](_0x403b84[_0x4579a1(0x2de)][_0x4579a1(0x237)],this['_globalComputedStartHelpFunc']),_0x403b84['PivotTable'][_0x4579a1(0x315)](_0x403b84[_0x4579a1(0x2de)][_0x4579a1(0x346)],this['_globalComputedEndHelpFunc']);}['_initPivotDataGetListener'](){const _0x38828=_0x19f2bc;this[_0x38828(0x446)](this[_0x38828(0x1f6)][_0x38828(0x3cb)](_0x27fb8f=>{const _0x5a6bcb=_0x38828;_0x27fb8f['id']===_0x537052[_0x5a6bcb(0x2c8)]['id']&&this[_0x5a6bcb(0x295)][_0x5a6bcb(0x24a)](_0x27fb8f[_0x5a6bcb(0x26b)]);})),this[_0x38828(0x446)](this[_0x38828(0x1f6)]['onCommandExecuted'](_0x31e6a1=>{const _0x134180=_0x38828;if(_0x31e6a1['id']!==_0x32866a['id'])return;const _0x283f4f=_0x31e6a1[_0x134180(0x26b)],{unitId:_0x45fae4,subUnitId:_0x2969cf,pivotTableId:_0x4f76b8}=_0x283f4f,_0x3a2d28=_0x283f4f[_0x134180(0x26b)][_0x134180(0x194)],_0x3d2012={};switch(_0x3a2d28){case _0x24e6a2[_0x134180(0x179)]:{const _0x4d9ac7=_0x283f4f['params']['filter'];if(!_0x4d9ac7)return;const {row:_0x541516,col:_0x908df6,cellData:_0x24d496,pivotItemRenderInfoCache:_0x1d8d32,tableFieldId:_0x8dd27a}=_0x4d9ac7,_0x1a882c=this['_sheetsPivotDataSourceModel'][_0x134180(0x1eb)](_0x283f4f[_0x134180(0x306)]);if(!_0x1a882c||!_0x1d8d32)return;if(_0x8dd27a){const _0xf5a630=_0x1a882c['getDataFieldByTableId'](_0x8dd27a);if(!_0xf5a630)return;_0x3d2012['filter']={..._0x1a882c[_0x134180(0x23f)](_0xf5a630),'tableFieldId':_0x8dd27a,'pivotTableId':_0x283f4f[_0x134180(0x306)],'filterInfo':_0x1a882c[_0x134180(0x327)](_0x8dd27a),'sortInfo':_0x1a882c[_0x134180(0x2d7)](_0x8dd27a),'format':_0x1a882c[_0x134180(0x193)](_0x8dd27a)};}else{const _0x1f8ea3=_0x1921d6(_0x541516,_0x908df6,_0x24d496,_0x1a882c,_0x1d8d32),_0x2b2a99=_0x1f8ea3==null?void 0x0:_0x1f8ea3[_0x134180(0x2e3)];if(!_0x2b2a99)return;const _0x5e1d7a=_0x1a882c[_0x134180(0x27a)](_0x2b2a99);if(!_0x5e1d7a)return;_0x3d2012['filter']={..._0x1a882c[_0x134180(0x23f)](_0x5e1d7a),'tableFieldId':_0x2b2a99,'pivotTableId':_0x283f4f['pivotTableId'],'filterInfo':_0x1a882c[_0x134180(0x327)](_0x2b2a99),'sortInfo':_0x1a882c[_0x134180(0x2d7)](_0x2b2a99),'format':_0x1a882c[_0x134180(0x193)](_0x2b2a99)};}}break;case _0x24e6a2[_0x134180(0x1a2)]:{const _0x8ae7d9=_0x283f4f[_0x134180(0x26b)]['panel'];if(!_0x8ae7d9)return;const {pivotTableId:_0x1a06ab}=_0x8ae7d9,_0x21ac6e=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x1a06ab);if(!_0x21ac6e)return;const _0x172695=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x1a06ab),_0x5e2a82=_0x5a9788(_0x21ac6e,_0x1a06ab,_0x172695);_0x3d2012[_0x134180(0x32d)]=_0x5e2a82;}break;case _0x24e6a2['AddPivotField']:{const _0x43efac=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8),_0x5f02b5=this[_0x134180(0x295)]['getDataFieldManager'](_0x45fae4),_0x348035=_0x5f02b5['getCollection'](_0x4f76b8);let _0x571576=null;const _0x57341d=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x45fae4,_0x2969cf,_0x4f76b8),_0x370aba=_0x283f4f[_0x134180(0x26b)][_0x134180(0x1a9)];if(!_0x43efac||!_0x57341d||!_0x370aba)return!0x1;const {dataFieldId:_0x582869,fieldArea:_0x457c34,index:_0x1c163d}=_0x370aba;_0x43efac[_0x134180(0x35c)]();const _0x1ffa9a=_0x43efac[_0x134180(0x2bc)](_0x582869,_0x457c34,_0x1c163d);if(_0x1ffa9a&&_0x457c34===_0x403b84[_0x134180(0x442)][_0x134180(0x39a)]){const _0x5920b7=_0x1ffa9a[_0x134180(0x2dc)](),_0x3e634e=_0x43efac['getDataFieldByTableId'](_0x5920b7);if(_0x3e634e){const _0x1ab085=_0x3e634e==null?void 0x0:_0x3e634e[_0x134180(0x3be)]();_0x43efac[_0x134180(0x3db)](_0x1ffa9a[_0x134180(0x2dc)](),_0x1ab085===_0x403b84[_0x134180(0x1e1)][_0x134180(0x33e)]?_0x403b84[_0x134180(0x1ad)]['sum']:_0x403b84[_0x134180(0x1ad)]['count']);}const _0x177e8d=_0x43efac[_0x134180(0x23e)](),_0x101d4f=_0x43efac[_0x134180(0x447)](),_0x27e11b=_0x43efac[_0x134180(0x353)](_0x403b84[_0x134180(0x442)][_0x134180(0x39a)]);if(_0x177e8d===-0x1&&_0x27e11b>0x1){const _0x2aed34=_0x101d4f===_0x403b84['PivotTableValuePositionEnum'][_0x134180(0x260)]?_0x403b84['PivotTableValuePositionEnum'][_0x134180(0x22b)]:_0x101d4f,_0x56c38d=_0x2aed34===_0x403b84[_0x134180(0x3b2)][_0x134180(0x15a)]?_0x403b84[_0x134180(0x442)][_0x134180(0x15a)]:_0x403b84[_0x134180(0x442)][_0x134180(0x22b)];_0x43efac['updateValuePosition'](_0x2aed34,_0x43efac[_0x134180(0x353)](_0x56c38d));}}else{if(_0x1ffa9a&&(_0x457c34===_0x403b84[_0x134180(0x442)]['Row']||_0x457c34===_0x403b84[_0x134180(0x442)][_0x134180(0x22b)])){const _0x4fe9b0=_0x1ffa9a[_0x134180(0x2dc)](),_0xe93b4f=_0x43efac[_0x134180(0x27a)](_0x4fe9b0);if(_0xe93b4f&&(_0xe93b4f==null?void 0x0:_0xe93b4f['getFieldDataType']())===_0x403b84[_0x134180(0x1e1)]['date']){const _0x526c0c=_0xe93b4f[_0x134180(0x2e0)]();if(_0x526c0c&&_0x43efac[_0x134180(0x225)](_0x1ffa9a['getId'](),_0x526c0c),!_0x348035[_0x134180(0x1af)]()[_0x134180(0x213)](_0x4b36ad=>{const _0x1a329b=_0x134180,_0x3f47b8=_0x348035[_0x1a329b(0x3ab)](_0x4b36ad);return _0x403b84[_0x1a329b(0x38e)](_0x3f47b8)?_0x3f47b8[_0x1a329b(0x13a)]()['originalFieldId']===_0x582869:!0x1;})){const _0x19af3e=_0x5f02b5[_0x134180(0x3f5)](),_0x5aa146=_0xb61f1e(_0xe93b4f[_0x134180(0x299)],_0xe93b4f[_0x134180(0x226)]),_0x2fba3b=_0xe93b4f[_0x134180(0x224)]()+_0x134180(0x3e1)+_0x4f6767(this[_0x134180(0x3b3)],_0x5aa146),_0x23ab62=new _0x403b84[(_0x134180(0x147))](_0x19af3e,_0x2fba3b,_0x403b84[_0x134180(0x438)](0x3),_0xe93b4f[_0x134180(0x2dc)](),_0x5aa146);_0x5f02b5[_0x134180(0x155)](_0x23ab62),_0x348035[_0x134180(0x2a8)](_0x19af3e,_0x2fba3b),_0x43efac['addFieldWithSourceId'](_0x19af3e,_0x457c34,(_0x1c163d!=null?_0x1c163d:0x0)+0x1),_0x571576=_0x23ab62;}}}}const _0x4b0369=_0x43efac[_0x134180(0x402)](),_0x19d7a4=_0x43efac[_0x134180(0x172)]()[_0x134180(0x1e4)]();let _0xf895bc;if(_0x571576){_0xf895bc=_0x571576['toJSON']();const _0x549ac5=_0x571576[_0x134180(0x2dc)]();_0x348035[_0x134180(0x34b)](_0x549ac5);let _0x4d130c=!0x0;for(const _0x548eba in _0x5f02b5[_0x134180(0x2c9)])if(_0x5f02b5['collections'][_0x548eba]['getFieldIds']()['includes'](_0x549ac5)){_0x4d130c=!0x1;break;}_0x4d130c&&_0x5f02b5['deleteDataField'](_0x549ac5);}const _0x278033=_0x43efac['endCollectChangeset']();_0x3d2012[_0x134180(0x1a9)]={'view':_0x19d7a4,'changesets':_0x278033,'isEmpty':_0x4b0369,'pivotTableConfig':_0x57341d,'shouldBeAddedGroupJSON':_0xf895bc};}break;case _0x24e6a2[_0x134180(0x1d7)]:{const _0x567f06=_0x283f4f[_0x134180(0x26b)][_0x134180(0x37a)];if(!_0x567f06)return;const _0x12c9de=_0x567f06[_0x134180(0x389)],_0x2d89cd=_0x567f06[_0x134180(0x306)],{collection:_0xede549}=this[_0x134180(0x295)][_0x134180(0x159)]({'unitId':_0x12c9de['unitId'],'sheetName':_0x12c9de[_0x134180(0x288)],'subUnitId':_0x12c9de[_0x134180(0x265)],'range':_0x12c9de[_0x134180(0x246)]}),_0xc9166d=new _0x403b84[(_0x134180(0x359))](_0xede549,void 0x0,_0x2d89cd),_0x4d3454=_0xc9166d[_0x134180(0x172)](),_0x5968ed=_0xc9166d[_0x134180(0x1e4)](),_0x460829=_0xede549[_0x134180(0x1e4)]();_0x3d2012[_0x134180(0x37a)]={'view':_0x4d3454,'fieldsConfig':_0x5968ed,'collectionConfig':_0x460829,'isEmpty':_0xc9166d[_0x134180(0x402)]()};}break;case _0x24e6a2[_0x134180(0x178)]:{const _0x1fa128=_0x283f4f['params'][_0x134180(0x39d)];if(!_0x1fa128)return;const {fieldId:_0x464c19,area:_0x561e3e,index:_0x36c97c}=_0x1fa128,_0x380ee7=this[_0x134180(0x295)]['getPivotTableConfig'](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x380ee7)return;const _0x4d39bc=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8);if(!_0x4d39bc)return;_0x4d39bc[_0x134180(0x35c)]();const {area:_0x1df03e,index:_0x1374c7}=_0x4d39bc[_0x134180(0x25b)](_0x464c19);if(_0x4d39bc[_0x134180(0x250)](_0x464c19,_0x561e3e,_0x36c97c),_0x561e3e===_0x403b84['PivotTableFiledAreaEnum'][_0x134180(0x39a)]&&_0x4d39bc[_0x134180(0x256)](_0x464c19)['getSubtotal']()===void 0x0){const _0xe0a662=_0x4d39bc[_0x134180(0x256)](_0x464c19);if(_0xe0a662&&_0xe0a662['getSubtotal']()===void 0x0){const _0x1856dc=_0x4d39bc[_0x134180(0x27a)](_0x464c19);if(_0x1856dc){const _0x5dda68=_0x1856dc==null?void 0x0:_0x1856dc[_0x134180(0x3be)]();_0x4d39bc[_0x134180(0x3db)](_0x464c19,_0x5dda68===_0x403b84[_0x134180(0x1e1)][_0x134180(0x33e)]?_0x403b84[_0x134180(0x1ad)][_0x134180(0x175)]:_0x403b84[_0x134180(0x1ad)][_0x134180(0x2cb)]);}}}const _0x39526e=_0x4d39bc[_0x134180(0x447)](),_0x3e88b0=_0x4d39bc[_0x134180(0x23e)](),_0x325fbf=_0x4d39bc[_0x134180(0x353)](_0x403b84['PivotTableFiledAreaEnum'][_0x134180(0x39a)])>0x1;if(_0x325fbf&&_0x1df03e===_0x561e3e&&(_0x561e3e===_0x403b84[_0x134180(0x442)]['Row']&&_0x39526e===_0x403b84[_0x134180(0x3b2)]['Row']||_0x561e3e===_0x403b84[_0x134180(0x442)][_0x134180(0x22b)]&&_0x39526e===_0x403b84['PivotTableValuePositionEnum'][_0x134180(0x22b)])){let _0xbae9d4=_0x3e88b0;_0x1374c7<=_0x3e88b0&&_0xbae9d4--,_0x36c97c<=_0x3e88b0&&_0xbae9d4++,_0x4d39bc['updateValuePosition'](_0x39526e,_0xbae9d4);}else _0x325fbf&&(_0x1df03e===_0x403b84[_0x134180(0x442)]['Row']&&_0x39526e===_0x403b84[_0x134180(0x3b2)][_0x134180(0x15a)]||_0x1df03e===_0x403b84[_0x134180(0x442)][_0x134180(0x22b)]&&_0x39526e===_0x403b84[_0x134180(0x3b2)][_0x134180(0x22b)])&&_0x3e88b0>=_0x1374c7&&_0x4d39bc[_0x134180(0x40f)](_0x39526e,_0x3e88b0-0x1),_0x325fbf&&(_0x561e3e===_0x403b84[_0x134180(0x442)][_0x134180(0x15a)]&&_0x39526e===_0x403b84['PivotTableValuePositionEnum'][_0x134180(0x15a)]||_0x561e3e===_0x403b84[_0x134180(0x442)][_0x134180(0x22b)]&&_0x39526e===_0x403b84[_0x134180(0x3b2)][_0x134180(0x22b)])&&_0x3e88b0>=_0x36c97c&&_0x4d39bc['updateValuePosition'](_0x39526e,_0x3e88b0+0x1);const _0x2045c7=_0x4d39bc[_0x134180(0x172)](),_0x5718e8=_0x4d39bc[_0x134180(0x402)](),_0x340f91=_0x4d39bc['endCollectChangeset']();_0x3d2012[_0x134180(0x39d)]={'view':_0x2045c7[_0x134180(0x1e4)](),'changesets':_0x340f91,'isEmpty':_0x5718e8,'pivotTableConfig':_0x380ee7};}break;case _0x24e6a2[_0x134180(0x450)]:{const _0x352c40=_0x283f4f[_0x134180(0x26b)][_0x134180(0x2d5)];if(!_0x352c40)return;const _0x24e295=_0x352c40['fieldIds'],_0x12a5d0=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x12a5d0)return!0x1;const _0x3249a1=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8);if(!_0x3249a1)return!0x1;_0x3249a1[_0x134180(0x35c)]();for(const _0x4a17c1 of _0x24e295){const {area:_0x1e4a83}=_0x3249a1[_0x134180(0x25b)](_0x4a17c1);_0x1e4a83===_0x403b84[_0x134180(0x442)][_0x134180(0x39a)]&&_0x3249a1['removeValueFilterInfoByValueFieldId'](_0x4a17c1),(_0x1e4a83===_0x403b84[_0x134180(0x442)]['Row']||_0x1e4a83===_0x403b84[_0x134180(0x442)]['Column'])&&_0x3249a1[_0x134180(0x452)](_0x4a17c1),_0x3249a1[_0x134180(0x27e)](_0x4a17c1);}const _0x1a7655=_0x3249a1['isEmpty'](),_0xe4399e=_0x3249a1[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x19bbe2=_0x3249a1[_0x134180(0x2b8)]();_0x3d2012[_0x134180(0x2d5)]={'changesets':_0x19bbe2,'pivotTableConfig':_0x12a5d0,'isEmpty':_0x1a7655,'view':_0xe4399e};}break;case _0x24e6a2[_0x134180(0x1fc)]:{const _0x4cbb3f=_0x283f4f[_0x134180(0x26b)][_0x134180(0x160)];if(!_0x4cbb3f)return;const {tableFieldId:_0x3b403b,items:_0x34b5e9,isAll:_0x1bcae2}=_0x4cbb3f,_0x263333=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8),_0x5da8cf=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x263333||!_0x5da8cf)return;_0x263333['startCollectChangeset'](),_0x263333[_0x134180(0x393)](_0x3b403b,{'type':_0x403b84['PivotFilterTypeEnum'][_0x134180(0x43d)],'list':_0x34b5e9,'isAll':_0x1bcae2});const _0x4fc941=_0x263333[_0x134180(0x402)](),_0x52da47=_0x263333[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x234d81=_0x263333['endCollectChangeset']();_0x3d2012[_0x134180(0x160)]={'view':_0x52da47,'changesets':_0x234d81,'isEmpty':_0x4fc941,'pivotTableConfig':_0x5da8cf};}break;case _0x24e6a2[_0x134180(0x235)]:{const _0x5ee34a=_0x283f4f[_0x134180(0x26b)]['setValuePivotFilter'];if(!_0x5ee34a)return;const {tableFieldId:_0x4c0233,filterInfo:_0x1fa957}=_0x5ee34a,_0x508795=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8),_0x542dcd=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x508795||!_0x542dcd)return;_0x508795[_0x134180(0x35c)](),_0x508795[_0x134180(0x336)](_0x4c0233,_0x1fa957);const _0x274a67=_0x508795[_0x134180(0x402)](),_0x30c3e6=_0x508795[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x5254d6=_0x508795[_0x134180(0x2b8)]();_0x3d2012[_0x134180(0x14f)]={'view':_0x30c3e6,'changesets':_0x5254d6,'isEmpty':_0x274a67,'pivotTableConfig':_0x542dcd};}break;case _0x24e6a2[_0x134180(0x275)]:{const _0x148d05=_0x283f4f[_0x134180(0x26b)][_0x134180(0x24e)];if(!_0x148d05)return;const {tableFieldId:_0x59cea8,info:_0x2eacf3}=_0x148d05,_0x350703=this[_0x134180(0x295)]['getPivotTableInstance'](_0x4f76b8),_0x3e0cf1=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x350703||!_0x3e0cf1)return;_0x350703[_0x134180(0x35c)](),_0x350703[_0x134180(0x332)](_0x59cea8,_0x2eacf3);const _0x1c6815=_0x350703[_0x134180(0x402)](),_0x44995f=_0x350703['query']()[_0x134180(0x1e4)](),_0x2ceecb=_0x350703[_0x134180(0x2b8)]();_0x3d2012[_0x134180(0x24e)]={'view':_0x44995f,'changesets':_0x2ceecb,'isEmpty':_0x1c6815,'pivotTableConfig':_0x3e0cf1};}break;case _0x24e6a2[_0x134180(0x2bf)]:{const _0x5a724b=_0x283f4f[_0x134180(0x26b)][_0x134180(0x437)];if(!_0x5a724b)return;const {tableFieldId:_0x51f6a0,displayName:_0x2b5c7b,subtotalType:_0x4376d1,format:_0x4ca030}=_0x5a724b,_0x490cbb=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4f76b8),_0xfcb61b=this[_0x134180(0x295)]['getPivotTableConfig'](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x490cbb||!_0xfcb61b)return;_0x490cbb[_0x134180(0x35c)](),_0x2b5c7b!==void 0x0&&_0x490cbb[_0x134180(0x31e)](_0x51f6a0,_0x2b5c7b),_0x4376d1!==void 0x0&&_0x490cbb[_0x134180(0x3db)](_0x51f6a0,_0x4376d1),_0x4ca030!==void 0x0&&_0x490cbb[_0x134180(0x225)](_0x51f6a0,_0x4ca030);const _0x60d686=_0x490cbb[_0x134180(0x402)](),_0x373c39=_0x490cbb[_0x134180(0x172)]()['toJSON'](),_0x382a6d=_0x490cbb['endCollectChangeset']();_0x3d2012[_0x134180(0x437)]={'changesets':_0x382a6d,'pivotTableConfig':_0xfcb61b,'isEmpty':_0x60d686,'view':_0x373c39};}break;case _0x24e6a2[_0x134180(0x22e)]:{const _0x3d8029=_0x283f4f['params'][_0x134180(0x3a9)];if(!_0x3d8029)return;const {dataRangeInfo:_0x10cb07,unitId:_0x499ac2,subUnitId:_0x2e2c76}=_0x3d8029,_0x538116=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x499ac2,_0x2e2c76,_0x4f76b8),_0x4c0a85=this[_0x134180(0x295)]['getPivotTableInstance'](_0x4f76b8);if(!this[_0x134180(0x295)][_0x134180(0x33a)](_0x499ac2,_0x4f76b8)||!_0x4c0a85||!_0x538116)return;const _0x2dab79=this[_0x134180(0x295)][_0x134180(0x2cc)](_0x499ac2,_0x4f76b8,_0x10cb07),_0x223f74=this[_0x134180(0x295)][_0x134180(0x33a)](_0x499ac2,_0x4f76b8)[_0x134180(0x1e4)](),{collection:_0x5c9160}=this[_0x134180(0x295)][_0x134180(0x159)]({'unitId':_0x10cb07[_0x134180(0x1f2)],'sheetName':_0x10cb07['sheetName'],'subUnitId':_0x10cb07[_0x134180(0x265)],'range':_0x10cb07['range']}),_0x5d94bb=_0x5c9160['toJSON']();_0x4c0a85[_0x134180(0x35c)]();const _0xf8f283=this[_0x134180(0x295)][_0x134180(0x30d)](_0x499ac2)['getAutoDisplayNameFunction']()||_0x403b84[_0x134180(0x2fc)];_0x4c0a85['iterateField'](_0x584871=>{const _0x3c517c=_0x134180,_0xd5f2c3=_0x584871['getDataFieldId']();if(!_0x5c9160[_0x3c517c(0x23a)](_0xd5f2c3)){const _0x2cc8ae=_0x5c9160[_0x3c517c(0x220)](_0x584871['getSourceName']());if(_0x2cc8ae){_0x4c0a85['updateFieldSourceInfo'](_0x584871[_0x3c517c(0x2dc)](),_0x2cc8ae[_0x3c517c(0x224)](),_0x2cc8ae[_0x3c517c(0x2dc)]());const {area:_0x7efee6}=_0x4c0a85[_0x3c517c(0x25b)](_0x584871[_0x3c517c(0x2dc)]());let _0x17b3c5=_0x584871[_0x3c517c(0x270)]();const _0x1e0500=_0x584871['getDisplayName']();if(_0x7efee6===_0x403b84[_0x3c517c(0x442)]['Value']){const _0x142848=_0x584871['getSubtotal']();_0x17b3c5=_0xf8f283(_0x2cc8ae[_0x3c517c(0x224)](),_0x142848);}_0x1e0500!==_0x17b3c5&&_0x4c0a85[_0x3c517c(0x31e)](_0x584871[_0x3c517c(0x2dc)](),_0x17b3c5);}else _0x4c0a85[_0x3c517c(0x27e)](_0x584871['getId']());}});const _0x794344=_0x4c0a85[_0x134180(0x402)](),_0x1fc6ae=_0x4c0a85[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x57f385=_0x4c0a85[_0x134180(0x2b8)]();_0x3d2012['updatePivotSource']={'view':_0x1fc6ae,'changesets':_0x57f385,'isEmpty':_0x794344,'pivotTableConfig':_0x538116,'collectionConfig':_0x5d94bb,'oldCollectionConfig':_0x223f74,'deleteIds':_0x2dab79};}break;case _0x24e6a2[_0x134180(0x1a1)]:{const _0xa51440=_0x283f4f[_0x134180(0x26b)][_0x134180(0x40f)];if(!_0xa51440)return;const {position:_0x48ed89,index:_0x5efe98}=_0xa51440,_0x5011e1=this['_sheetsPivotDataSourceModel'][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x5011e1)return!0x1;const _0x69b480=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8);if(!_0x69b480)return!0x1;_0x69b480[_0x134180(0x35c)](),_0x69b480[_0x134180(0x40f)](_0x48ed89,_0x5efe98);const _0x172137=_0x69b480[_0x134180(0x402)](),_0x5189b3=_0x69b480[_0x134180(0x172)]()['toJSON'](),_0x18ffa9=_0x69b480[_0x134180(0x2b8)]();_0x3d2012[_0x134180(0x40f)]={'changesets':_0x18ffa9,'pivotTableConfig':_0x5011e1,'isEmpty':_0x172137,'view':_0x5189b3};}break;case _0x24e6a2[_0x134180(0x1d1)]:{const _0x6a5687=_0x283f4f[_0x134180(0x26b)][_0x134180(0x29f)];if(!_0x6a5687)return;const {tableFieldId:_0x409443,collapse:_0x1cb200,item:_0x44f941}=_0x6a5687,_0x5aedf5=this['_sheetsPivotDataSourceModel'][_0x134180(0x1eb)](_0x4f76b8),_0x1d4e50=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x5aedf5||!_0x1d4e50)return;_0x5aedf5[_0x134180(0x35c)](),_0x5aedf5['setCollapse'](_0x409443,_0x1cb200,_0x44f941);const _0x3fb3bb=_0x5aedf5[_0x134180(0x402)](),_0x3406cd=_0x5aedf5['query']()[_0x134180(0x1e4)](),_0x1e2ce9=_0x5aedf5[_0x134180(0x2b8)]();_0x3d2012['setPivotCollapse']={'view':_0x3406cd,'isEmpty':_0x3fb3bb,'pivotTableConfig':_0x1d4e50,'changesets':_0x1e2ce9};}break;case _0x24e6a2['SetPivotTableConfig']:{const _0xf3cdbc=_0x283f4f[_0x134180(0x26b)]['setPivotTableConfig'];if(!_0xf3cdbc)return;const {pivotTableConfig:_0x21b2e2}=_0xf3cdbc,_0x14d01d=this['_sheetsPivotDataSourceModel'][_0x134180(0x1eb)](_0x4f76b8),_0x55548e=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x14d01d||!_0x55548e)return;_0x14d01d[_0x134180(0x35c)](),_0x291ac4(_0x14d01d,_0x21b2e2);const _0xe3199a=_0x14d01d[_0x134180(0x402)](),_0x1e21f6=_0x14d01d[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x172f34=_0x14d01d[_0x134180(0x2b8)]();_0x3d2012[_0x134180(0x3b9)]={'view':_0x1e21f6,'isEmpty':_0xe3199a,'pivotTableConfig':{..._0x55548e,'fieldsConfig':_0x14d01d['toJSON']()},'changesets':_0x172f34};}break;case _0x24e6a2[_0x134180(0x35d)]:{const _0x591a91=_0x283f4f[_0x134180(0x26b)][_0x134180(0x3d0)];if(!_0x591a91)return;const _0x128a4a=this[_0x134180(0x295)][_0x134180(0x1eb)](_0x4f76b8),_0x3b6e54=this[_0x134180(0x295)][_0x134180(0x2eb)](_0x45fae4,_0x2969cf,_0x4f76b8);if(!_0x128a4a||!_0x3b6e54)return;_0x128a4a[_0x134180(0x35c)](),_0x556caa(_0x128a4a,_0x591a91[_0x134180(0x329)]);const _0x7e96b8=_0x128a4a[_0x134180(0x172)]()[_0x134180(0x1e4)](),_0x52b43f=_0x128a4a['endCollectChangeset']();_0x3d2012['resetPivotTable']={'view':_0x7e96b8,'isEmpty':!0x0,'pivotTableConfig':{..._0x3b6e54,'fieldsConfig':_0x128a4a[_0x134180(0x1e4)]()},'changesets':_0x52b43f};}break;case _0x24e6a2[_0x134180(0x2b3)]:{const _0x1194fd=_0x283f4f[_0x134180(0x26b)][_0x134180(0x1da)];if(!_0x1194fd)return;const _0x4737f8=_0x1194fd[_0x134180(0x389)],_0x59f362=_0x1194fd['pivotTableId'],{collection:_0xde86af}=this[_0x134180(0x295)][_0x134180(0x159)]({'unitId':_0x4737f8[_0x134180(0x1f2)],'sheetName':_0x4737f8[_0x134180(0x288)],'subUnitId':_0x4737f8[_0x134180(0x265)],'range':_0x4737f8[_0x134180(0x246)]}),_0x480557=new _0x403b84[(_0x134180(0x359))](_0xde86af,void 0x0,_0x59f362),_0x23891e=_0xde86af['getFieldIds'](),{rows:_0x111348,columns:_0x3553a6,filters:_0x1f8905,values:_0x145cb3}=_0x1194fd[_0x134180(0x162)];_0x480557['startCollectChangeset']();for(const {field:_0xe7bdc2,selectedItems:_0x495441}of _0x111348||[]){const _0x56f3e3=_0x23891e[_0xe7bdc2];if(_0x56f3e3){const _0xe7fd86=_0x480557[_0x134180(0x2bc)](_0x56f3e3,_0x403b84['PivotTableFiledAreaEnum'][_0x134180(0x15a)]);_0x495441&&_0xe7fd86&&_0x480557[_0x134180(0x393)](_0xe7fd86[_0x134180(0x2dc)](),{'type':_0x403b84[_0x134180(0x20d)][_0x134180(0x43d)],'list':_0x495441,'isAll':!0x1});}}for(const {field:_0x4892f9,selectedItems:_0x2bdeb6}of _0x3553a6||[]){const _0xd2c933=_0x23891e[_0x4892f9];if(_0xd2c933){const _0x7fa7b2=_0x480557[_0x134180(0x2bc)](_0xd2c933,_0x403b84['PivotTableFiledAreaEnum'][_0x134180(0x22b)]);_0x2bdeb6&&_0x7fa7b2&&_0x480557[_0x134180(0x393)](_0x7fa7b2[_0x134180(0x2dc)](),{'type':_0x403b84[_0x134180(0x20d)][_0x134180(0x43d)],'list':_0x2bdeb6,'isAll':!0x1});}}for(const {field:_0x54ebae,selectedItems:_0x237a95}of _0x1f8905||[]){const _0x1e675c=_0x23891e[_0x54ebae];if(_0x1e675c){const _0x581274=_0x480557[_0x134180(0x2bc)](_0x1e675c,_0x403b84[_0x134180(0x442)][_0x134180(0x179)]);_0x237a95&&_0x581274&&_0x480557[_0x134180(0x393)](_0x581274[_0x134180(0x2dc)](),{'type':_0x403b84[_0x134180(0x20d)][_0x134180(0x43d)],'list':_0x237a95,'isAll':!0x1});}}for(const {field:_0x4e2275,subTotalType:_0x44c0a3,formatString:_0x28c5e2}of _0x145cb3||[]){const _0x2e15c6=_0xde86af['getFieldById'](_0x23891e[_0x4e2275]);if(!_0x2e15c6)continue;const _0x27d410=_0x23891e[_0x4e2275];if(_0x27d410){const _0x446235=_0x480557[_0x134180(0x2bc)](_0x27d410,_0x403b84[_0x134180(0x442)]['Value']);if(_0x446235){if(_0x44c0a3!==void 0x0){_0x480557['setSubtotalType'](_0x446235[_0x134180(0x2dc)](),_0x44c0a3);const _0x7f700b=this['_sheetsPivotDataSourceModel'][_0x134180(0x30d)](_0x4737f8['unitId'])[_0x134180(0x161)]()||_0x403b84[_0x134180(0x2fc)],_0x2071af=_0xde86af[_0x134180(0x316)](_0x27d410),_0x2ec0e5=_0x7f700b(_0x2071af,_0x44c0a3);_0x480557[_0x134180(0x31e)](_0x446235[_0x134180(0x2dc)](),_0x2ec0e5);}else{if(_0x2e15c6){const _0x3c0de6=_0x2e15c6==null?void 0x0:_0x2e15c6['getFieldDataType']();_0x480557[_0x134180(0x3db)](_0x446235[_0x134180(0x2dc)](),_0x3c0de6===_0x403b84['PivotDataFieldDataTypeEnum']['number']?_0x403b84['PivotSubtotalTypeEnum'][_0x134180(0x175)]:_0x403b84[_0x134180(0x1ad)][_0x134180(0x2cb)]);}}_0x28c5e2&&_0x480557['setFieldFormat'](_0x446235['getId'](),_0x28c5e2);}}}const _0x6e7c3e=_0x480557[_0x134180(0x172)](),_0x9621fb=_0x480557[_0x134180(0x1e4)](),_0x417bb9=_0x480557[_0x134180(0x402)](),_0x2f2a69=_0x480557[_0x134180(0x2b8)](),_0x3bddb4=_0xde86af[_0x134180(0x1e4)]();_0x3d2012['addPivotTableWithConfig']={'view':_0x6e7c3e,'fieldsConfig':_0x9621fb,'collectionConfig':_0x3bddb4,'isEmpty':_0x417bb9,'changesets':_0x2f2a69};}break;case _0x24e6a2[_0x134180(0x40c)]:{const _0x1803f9=_0x2046aa(this[_0x134180(0x3b3)],_0x283f4f);if(!_0x1803f9)return;const {range:_0x36bebc,sourceSubUnitId:_0x20cf13,sourceUnitId:_0x57648e,formatMap:_0x4c0e53,indexes:_0x514879}=_0x1803f9;_0x3d2012['drillDown']={'range':_0x36bebc,'sourceSubUnitId':_0x20cf13,'sourceUnitId':_0x57648e,'formatMap':_0x4c0e53,'indexes':_0x514879};}break;}this[_0x134180(0x1f6)][_0x134180(0x399)](_0x21900c['id'],{'version':_0x283f4f[_0x134180(0x16b)],'result':_0x3d2012},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x2e1fa1=_0x19f2bc;this['disposeWithMe'](this[_0x2e1fa1(0x1f6)]['onCommandExecuted'](_0x579ee3=>{const _0x53440a=_0x2e1fa1;if(_0x579ee3['id']!==_0x3ed008['id'])return;const _0x31b93d=_0x579ee3[_0x53440a(0x26b)];return this[_0x53440a(0x295)][_0x53440a(0x21b)](_0x31b93d[_0x53440a(0x3f6)]),!0x0;}));}[_0x19f2bc(0x387)](){const _0x42c505=_0x19f2bc;this['_sheetsPivotDataSourceModel'][_0x42c505(0x44f)][_0x42c505(0x200)](_0x437318=>{const _0x3622de=_0x42c505;switch(_0x437318['type']){case _0x3acc8d[_0x3622de(0x1f8)]:_0x437318['dataRangeInfo']&&_0x437318['targetCellInfo']&&this['handleSourceRangeChange'](_0x437318['token'],_0x437318[_0x3622de(0x13b)],_0x437318[_0x3622de(0x25f)]);break;case _0x3acc8d['delete']:{const {unitId:_0x292b84,subUnitId:_0x3bf7b0,token:_0x2bb0f8}=_0x437318;_0x292b84&&_0x3bf7b0&&_0x2bb0f8&&this['removeSourceRangeChange'](_0x292b84,_0x3bf7b0,_0x2bb0f8);}break;case _0x3acc8d[_0x3622de(0x285)]:{const {token:_0x314742,oldSourceRangeInfo:_0x47140e,dataRangeInfo:_0x3b6da7,targetCellInfo:_0x5b1380}=_0x437318,{unitId:_0x3c2771,subUnitId:_0x2791a4}=_0x47140e||{};_0x3c2771&&_0x2791a4&&_0x314742&&this['removeSourceRangeChange'](_0x3c2771,_0x2791a4,_0x314742),_0x3b6da7&&_0x5b1380&&this[_0x3622de(0x2af)](_0x314742,_0x3b6da7,_0x5b1380);}break;}});}[_0x19f2bc(0x41f)](){const _0x1f2547=_0x19f2bc;this[_0x1f2547(0x295)][_0x1f2547(0x44a)]['subscribe'](_0x457ed6=>{const _0xa500b=_0x1f2547;Object[_0xa500b(0x255)](_0x457ed6)[_0xa500b(0x1d4)](_0x19d36d=>{const _0x2aaae4=_0xa500b,_0x4a8aed=this['_sheetsPivotDataSourceModel'][_0x2aaae4(0x1d6)](_0x19d36d);if(_0x4a8aed){const _0xf9e1ca=this[_0x2aaae4(0x295)][_0x2aaae4(0x2eb)](_0x4a8aed==null?void 0x0:_0x4a8aed[_0x2aaae4(0x1f2)],_0x4a8aed==null?void 0x0:_0x4a8aed[_0x2aaae4(0x265)],_0x19d36d);_0xf9e1ca&&(this[_0x2aaae4(0x2af)](_0x19d36d,_0xf9e1ca[_0x2aaae4(0x389)],_0xf9e1ca[_0x2aaae4(0x25f)]),this['triggerDirtyFeature']([{'unitId':_0x4a8aed[_0x2aaae4(0x1f2)],'subUnitId':_0x4a8aed[_0x2aaae4(0x265)],'token':_0x19d36d}]));}});});}[_0x19f2bc(0x156)](){const _0x467dfe=_0x19f2bc;this[_0x467dfe(0x295)][_0x467dfe(0x2a5)][_0x467dfe(0x200)](_0x140f4a=>{const _0x3830ba=_0x467dfe,{unitId:_0x28c1c0,subUnitId:_0x4e3cb7,pivotTableId:_0x5a6dcb}=_0x140f4a;_0x28c1c0&&_0x4e3cb7&&_0x5a6dcb&&this[_0x3830ba(0x2e6)]([{'unitId':_0x28c1c0,'subUnitId':_0x4e3cb7,'token':_0x5a6dcb}]);});}[_0x19f2bc(0x2e6)](_0x496b3a){const _0x34b96e=_0x19f2bc,_0x245d2c={};_0x496b3a[_0x34b96e(0x1d4)](_0x59b864=>{var _0x37a282,_0x1d5d9f;const {unitId:_0x51038c,subUnitId:_0x625d69,token:_0x4fb21c}=_0x59b864;_0x245d2c[_0x51038c]=(_0x37a282=_0x245d2c[_0x51038c])!=null?_0x37a282:{},_0x245d2c[_0x51038c][_0x625d69]=(_0x1d5d9f=_0x245d2c[_0x51038c][_0x625d69])!=null?_0x1d5d9f:{},_0x245d2c[_0x51038c][_0x625d69][_0x4fb21c]=!0x0;}),this[_0x34b96e(0x1f6)][_0x34b96e(0x399)](_0x182e59['id'],_0x245d2c);}[_0x19f2bc(0x1cb)](_0x2ea029,_0x528781,_0x1462c3){this['_featureCalculationManagerService']['remove'](_0x2ea029,_0x528781,[_0x1462c3]);}[_0x19f2bc(0x2af)](_0x7cf95b,_0x39fafd,_0x18dc0a){const _0x4c5aed=_0x19f2bc,{unitId:_0x701f40,subUnitId:_0xfd64c4}=_0x39fafd;this[_0x4c5aed(0x1e2)][_0x4c5aed(0x3cd)](_0x18dc0a['unitId'],_0x18dc0a['subUnitId'],_0x7cf95b)&&this[_0x4c5aed(0x1cb)](_0x701f40,_0xfd64c4,_0x7cf95b);const _0x4a22cd={'sheetId':_0xfd64c4,..._0x39fafd};this['_featureCalculationManagerService'][_0x4c5aed(0x3f4)](_0x18dc0a[_0x4c5aed(0x1f2)],_0x18dc0a[_0x4c5aed(0x265)],_0x7cf95b,{'unitId':_0x18dc0a[_0x4c5aed(0x1f2)],'subUnitId':_0x18dc0a[_0x4c5aed(0x265)],'dependencyRanges':[_0x4a22cd],'getDirtyData':(_0x58762d,_0x3f9235)=>{const _0x11ef95=_0x4c5aed,_0x357a4c=this[_0x11ef95(0x295)],_0x572d7b=_0x357a4c[_0x11ef95(0x1d6)](_0x7cf95b);if(!_0x572d7b)return _0x473bb2();const {unitId:_0x1dfa97,subUnitId:_0x110dda}=_0x572d7b,_0x360980=_0x4820f5(_0x58762d,_0x3f9235,_0x39fafd);if(_0x360980[_0x11ef95(0x183)]>0x0){const _0x4ffd5e=_0x357a4c[_0x11ef95(0x33a)](_0x701f40,_0x7cf95b),_0x57498a=_0x4ffd5e[_0x11ef95(0x1af)](),_0x5071d7=this[_0x11ef95(0x292)](_0x39fafd[_0x11ef95(0x1f2)],_0x39fafd['subUnitId'],_0x3f9235),_0x548a18={},_0x1ddc6f=this[_0x11ef95(0x295)]['getDataFieldManager'](_0x1dfa97)[_0x11ef95(0x161)]()||_0x403b84['getAutoDisplayName'],_0x41a000=[];for(const _0x2d536c of _0x360980){const _0x351ecc=_0x2d536c-(_0x39fafd[_0x11ef95(0x246)][_0x11ef95(0x35a)]||0x0),_0x5049d3=_0x57498a[_0x351ecc];_0x41a000[_0x11ef95(0x1b6)](_0x5049d3),_0x548a18[_0x5049d3]=_0x4ffd5e[_0x11ef95(0x3ab)](_0x5049d3)[_0x11ef95(0x224)](),_0x357a4c['getDataFieldManager'](_0x701f40)[_0x11ef95(0x2df)](_0x5049d3,_0x39fafd,_0x351ecc,_0x5071d7);}_0x4ffd5e['getGroupFieldsInfoByIds'](_0x41a000)[_0x11ef95(0x1d4)](_0x97fa2=>{const _0x58d563=_0x11ef95,[_0x908236,_0x5371be]=_0x97fa2,_0x370691=_0x4ffd5e[_0x58d563(0x3ab)](_0x908236),_0x36f565=_0x4ffd5e[_0x58d563(0x3ab)](_0x5371be);_0x370691&&_0x36f565&&_0x370691[_0x58d563(0x151)](_0x36f565);}),_0x4ffd5e[_0x11ef95(0x322)]();const _0x1c38c7=_0x357a4c[_0x11ef95(0x1eb)](_0x7cf95b);if(_0x1c38c7){_0x11ff0f(_0x1c38c7,_0x548a18,_0x1ddc6f),_0x1c38c7[_0x11ef95(0x417)](!0x0);const _0x1c858b=_0x1c38c7[_0x11ef95(0x172)](),_0x51b04e=_0x357a4c[_0x11ef95(0x2eb)](_0x1dfa97,_0x110dda,_0x7cf95b),_0x55bf09=_0x357a4c[_0x11ef95(0x30d)](_0x701f40)[_0x11ef95(0x1e4)]();_0x357a4c[_0x11ef95(0x223)](_0x1dfa97,_0x110dda,_0x29e361['Set'],_0x7cf95b,_0x1c858b,_0x51b04e,_0x55bf09,!0x0);}}return this[_0x11ef95(0x445)](_0x1dfa97,_0x110dda,_0x7cf95b);}});}[_0x19f2bc(0x292)](_0x325bd5,_0x14a298,_0x3e73c7){var _0x3f7aff,_0x13946a;const {arrayFormulaCellData:_0x361c0a,unitData:_0x127f94}=_0x3e73c7,_0x4e8d14=(_0x3f7aff=_0x361c0a==null?void 0x0:_0x361c0a[_0x325bd5])==null?void 0x0:_0x3f7aff[_0x14a298],_0x2c179f=(_0x13946a=_0x127f94==null?void 0x0:_0x127f94[_0x325bd5])==null?void 0x0:_0x13946a[_0x14a298];return{'arrayFormulaCellDataMatrix':_0x4e8d14,'unitDataMatrix':_0x2c179f};}[_0x19f2bc(0x445)](_0x513d3a,_0x299fcb,_0x3b6455){const _0x4a8940=_0x19f2bc,_0x7ddede=this[_0x4a8940(0x295)][_0x4a8940(0x25d)](_0x513d3a,_0x299fcb,_0x3b6455),_0x23a8f9=[],_0x2766a7=new _0x585029['ObjectMatrix']();if(_0x7ddede){const {rangeCache:_0x1e335c,matrix:_0x1cbd59,oldRangeCache:_0x4dc185,oldMatrix:_0x4e9d79}=_0x7ddede,_0x32d9c1=_0x428786(_0x4dc185),_0x461c5b=_0x428786(_0x1e335c);_0x23a8f9[_0x4a8940(0x1b6)](..._0x461c5b,..._0x32d9c1),_0x4e9d79&&_0x4dc185&&_0x32d9c1[_0x4a8940(0x1d4)](_0x10b9b5=>{const _0x571648=_0x4a8940;for(let _0x48a064=_0x10b9b5[_0x571648(0x20b)];_0x48a064<=_0x10b9b5['endRow'];_0x48a064++)for(let _0x22d5fa=_0x10b9b5[_0x571648(0x35a)];_0x22d5fa<=_0x10b9b5[_0x571648(0x2ad)];_0x22d5fa++)_0x2766a7['realDeleteValue'](_0x48a064,_0x22d5fa);}),_0x1cbd59&&_0x461c5b&&_0x461c5b[_0x4a8940(0x1d4)](_0x547e7b=>{const _0x1b44a8=_0x4a8940;for(let _0x49e4df=_0x547e7b['startRow'];_0x49e4df<=_0x547e7b['endRow'];_0x49e4df++)for(let _0xaf0163=_0x547e7b[_0x1b44a8(0x35a)];_0xaf0163<=_0x547e7b['endColumn'];_0xaf0163++)_0x2766a7[_0x1b44a8(0x218)](_0x49e4df,_0xaf0163,_0x1cbd59[_0x1b44a8(0x37c)](_0x49e4df,_0xaf0163));});}const _0x557dc9={};return _0x557dc9[_0x513d3a]={[_0x299fcb]:_0x841321(_0x23a8f9)},{'runtimeCellData':{[_0x513d3a]:{[_0x299fcb]:_0x2766a7}},'dirtyRanges':_0x557dc9};}[_0x19f2bc(0x13d)](){}};_0x3e8eb9=_0x327cf7([_0x27c983(0x0,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x154)])),_0x27c983(0x1,_0x585029['IConfigService']),_0x27c983(0x2,_0x585029['Inject'](_0x57dbf3[_0x19f2bc(0x3e3)])),_0x27c983(0x3,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x1fd)])),_0x27c983(0x4,_0x585029['Inject'](_0x57dbf3[_0x19f2bc(0x2a3)])),_0x27c983(0x5,_0x585029[_0x19f2bc(0x239)](_0x585029['Injector']))],_0x3e8eb9);var _0x529568=Object[_0x19f2bc(0x2c5)],_0x1b7e9e=(_0x3c9cba,_0x536522,_0x2d3e31,_0x42e226)=>{for(var _0x31df70=_0x42e226>0x1?void 0x0:_0x42e226?_0x529568(_0x536522,_0x2d3e31):_0x536522,_0x186abb=_0x3c9cba['length']-0x1,_0x531769;_0x186abb>=0x0;_0x186abb--)(_0x531769=_0x3c9cba[_0x186abb])&&(_0x31df70=_0x531769(_0x31df70)||_0x31df70);return _0x31df70;},_0x4855af=(_0x599e0c,_0x3b030d)=>(_0xb9ebbb,_0x533300)=>_0x3b030d(_0xb9ebbb,_0x533300,_0x599e0c);let _0x275033=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x4eb487,_0xc4118c,_0x157e88,_0x512900){const _0x26c1fe=_0x19f2bc;super(),_0x37aa9d(this,_0x26c1fe(0x2d8),new _0x585029[(_0x26c1fe(0x2d1))]()),(this[_0x26c1fe(0x358)]=_0x4eb487,this[_0x26c1fe(0x139)]=_0xc4118c,this[_0x26c1fe(0x377)]=_0x157e88,this[_0x26c1fe(0x3d2)]=_0x512900,this[_0x26c1fe(0x451)]());}['_initClearSelectionCommandInterceptor'](){const _0x1aa903=_0x19f2bc;this[_0x1aa903(0x446)](this[_0x1aa903(0x139)][_0x1aa903(0x20a)]({'getMutations':_0xb7eb67=>{const _0x123c98=_0x1aa903;if(_0xb7eb67['id']===_0x537052['ClearSelectionContentCommand']['id']||_0xb7eb67['id']===_0x537052[_0x123c98(0x3a8)]['id']){const _0x4f7471=[],_0xc2ac32=[],_0x404851=this[_0x123c98(0x377)]['getCurrentSelections']()[_0x123c98(0x36c)](_0x1ee4da=>_0x1ee4da['range']),_0x3ba31c=_0x537052[_0x123c98(0x3fc)](this[_0x123c98(0x358)]);if(!_0x3ba31c)return{'redos':[],'undos':[]};const {unitId:_0x2abf93,subUnitId:_0xdf5bde}=_0x3ba31c,_0x54fd77={},_0xb3b22e=this[_0x123c98(0x3d2)]['getSubUnitPivotConfigs'](_0x2abf93,_0xdf5bde);if(_0xb3b22e!=null&&_0xb3b22e[_0x123c98(0x31c)])for(const [_0x3d70dc,_0x18b847]of _0xb3b22e){const {unitId:_0x15a7fd,subUnitId:_0x11fb85,row:_0x212e62,col:_0x348b80}=_0x18b847[_0x123c98(0x25f)];_0x15a7fd===_0x3ba31c[_0x123c98(0x1f2)]&&_0x11fb85===_0x3ba31c['subUnitId']&&(_0x54fd77[_0x212e62+'-'+_0x348b80]=_0x3d70dc);}return _0x404851&&_0x3ba31c&&_0x404851[_0x123c98(0x1d4)](_0x35bb4a=>{const _0x1acf03=_0x123c98;_0x585029[_0x1acf03(0x330)][_0x1acf03(0x3f3)](_0x35bb4a,(_0x23b33a,_0x9b1e16)=>{const _0x52d3de=_0x1acf03,_0x5e03ce=_0x23b33a+'-'+_0x9b1e16;if(_0x54fd77[_0x5e03ce]){const _0x5059d8=_0x54fd77[_0x5e03ce];_0x4f7471[_0x52d3de(0x1b6)]({'id':_0x45d409['id'],'params':{'unitId':_0x2abf93,'subUnitId':_0xdf5bde,'pivotTableId':_0x5059d8}});const _0x6dc423=this[_0x52d3de(0x3d2)]['getCollection'](_0x2abf93,_0x5059d8),_0x1bd81d=this[_0x52d3de(0x3d2)]['getPivotTableConfig'](_0x2abf93,_0xdf5bde,_0x5059d8);_0xc2ac32[_0x52d3de(0x1b6)]({'id':_0x26b648['id'],'params':{'unitId':_0x2abf93,'subUnitId':_0xdf5bde,'pivotTableId':_0x5059d8,'pivotTableConfig':_0x1bd81d,'collectionConfig':_0x6dc423}});}});}),{'redos':_0x4f7471,'undos':_0xc2ac32};}return{'redos':[],'undos':[]};}}));}};_0x275033=_0x1b7e9e([_0x4855af(0x0,_0x585029[_0x19f2bc(0x42c)]),_0x4855af(0x1,_0x585029[_0x19f2bc(0x239)](_0x537052['SheetInterceptorService'])),_0x4855af(0x2,_0x585029[_0x19f2bc(0x239)](_0x537052[_0x19f2bc(0x1c5)])),_0x4855af(0x3,_0x585029['Inject'](_0x37cc3d[_0x19f2bc(0x382)]))],_0x275033);var _0x465b4e=Object[_0x19f2bc(0x2c5)],_0x20d5c8=(_0x7824ad,_0x1f3b51,_0x4d2c32,_0xe1d370)=>{const _0x3a8be2=_0x19f2bc;for(var _0x14e0e6=_0xe1d370>0x1?void 0x0:_0xe1d370?_0x465b4e(_0x1f3b51,_0x4d2c32):_0x1f3b51,_0x229aad=_0x7824ad[_0x3a8be2(0x183)]-0x1,_0x4143c6;_0x229aad>=0x0;_0x229aad--)(_0x4143c6=_0x7824ad[_0x229aad])&&(_0x14e0e6=_0x4143c6(_0x14e0e6)||_0x14e0e6);return _0x14e0e6;},_0x4dac77=(_0x5e4139,_0x28e5c7)=>(_0x55caa8,_0x3fd8d)=>_0x28e5c7(_0x55caa8,_0x3fd8d,_0x5e4139);let _0x1d812a=class extends _0x585029['Disposable']{constructor(_0x1393b6,_0xbbf9c3,_0x1415b2,_0x2a93c8,_0x5c0519,_0x277fa2){const _0x36ef52=_0x19f2bc;super(),this[_0x36ef52(0x236)]=_0x1393b6,this[_0x36ef52(0x139)]=_0xbbf9c3,this['_injector']=_0x1415b2,this[_0x36ef52(0x358)]=_0x2a93c8,this[_0x36ef52(0x3d2)]=_0x5c0519,this[_0x36ef52(0x33c)]=_0x277fa2,this[_0x36ef52(0x42b)]();}[_0x19f2bc(0x17b)](_0x125c81,_0x37b6b3,_0x44b168){const _0xf58f8c=_0x19f2bc,{pageView:_0x548306,cornerView:_0x2db9f0,rowView:_0x5276c1,colView:_0x353f80,dataView:_0xcedcdb}=_0x37b6b3,_0x1d7be0=_0x125c81;let _0x1157da;if(_0x44b168)_0x1157da=[..._0x37ad6e(_0x1d7be0)];else{const _0x4fade9=_0x3a254c(_0x1d7be0,_0x548306,!0x0),_0x5ee133=_0x548306[_0xf58f8c(0x39e)]>=0x0?_0x548306[_0xf58f8c(0x39e)]+0x1:0x0,_0x3ecd61=_0x2db9f0[_0xf58f8c(0x24c)],_0xcbb50c=_0x2db9f0['colCount'],_0x12cefd=_0x4fade9['length']>0x0?_0x65df37:0x0,_0xc8c93f=_0x3a254c({'row':_0x1d7be0[_0xf58f8c(0x439)]+_0x5ee133+_0x12cefd,'col':_0x1d7be0[_0xf58f8c(0x177)]},_0x2db9f0,!0x1,!0x1),_0x3e0c88=_0x3a254c({'row':_0x1d7be0['row']+_0x5ee133+_0x12cefd+_0x3ecd61,'col':_0x1d7be0['col']},_0x5276c1,!0x1,!0x0),_0x158f37=_0x3a254c({'row':_0x1d7be0[_0xf58f8c(0x439)]+_0x5ee133+_0x12cefd,'col':_0x1d7be0[_0xf58f8c(0x177)]+_0xcbb50c},_0x353f80,!0x1,!0x0),_0x4fef53=_0x3a254c({'row':_0x1d7be0[_0xf58f8c(0x439)]+_0x5ee133+_0x12cefd+_0x3ecd61,'col':_0x1d7be0['col']+_0xcbb50c},_0xcedcdb,!0x1,!0x0);_0x1157da=[..._0x4fade9,..._0xc8c93f,..._0x3e0c88,..._0x158f37,..._0x4fef53];}return _0x1157da;}[_0x19f2bc(0x42b)](){const _0x28a6c1=_0x19f2bc;this[_0x28a6c1(0x446)](this[_0x28a6c1(0x33c)]['interceptor']['intercept'](this[_0x28a6c1(0x33c)]['interceptor'][_0x28a6c1(0x2d4)]()[_0x28a6c1(0x1bf)],{'handler':(_0x54946f,_0x5d2202)=>{const _0x1c1789=_0x28a6c1,{cellInfo:_0x1d1a69,view:_0x6557ed,isEmpty:_0x3cd78e}=_0x5d2202,_0x4492b6=_0x1d1a69,{unitId:_0x7b4650,subUnitId:_0x25829d}=_0x4492b6,_0x1708a0=this['_getPivotAppliedRanges'](_0x1d1a69,_0x6557ed,_0x3cd78e),_0x239bd4=this['_sheetInterceptorService'][_0x1c1789(0x323)]({'unitId':_0x7b4650,'subUnitId':_0x25829d,'ranges':_0x1708a0}),_0x570cce=_0x5763f4(this[_0x1c1789(0x3b3)],_0x7b4650,_0x25829d,_0x1708a0);_0x570cce['shouldClear']&&(_0x239bd4[_0x1c1789(0x42f)][_0x1c1789(0x1b6)](_0x570cce[_0x1c1789(0x3c5)]),_0x239bd4[_0x1c1789(0x3f9)][_0x1c1789(0x1b6)](_0x570cce['setRangeValueUndoMutation']));const _0x3a91ce=this[_0x1c1789(0x1ee)](_0x6557ed,_0x1d1a69);return _0x239bd4[_0x1c1789(0x42f)]['push'](..._0x3a91ce[_0x1c1789(0x42f)]),_0x239bd4['undos'][_0x1c1789(0x1b6)](..._0x3a91ce[_0x1c1789(0x3f9)]),{'redos':_0x239bd4[_0x1c1789(0x42f)],'undos':_0x239bd4[_0x1c1789(0x3f9)]};}}));}['getAutoFitColumnsMutations'](_0x38d273,_0x15f7b6){const _0x627975=_0x19f2bc,{col:_0x3243ab,unitId:_0x551eaf,subUnitId:_0x5bc20a}=_0x15f7b6,_0x565417=[],_0x27ccf4=[],_0x318c73=_0x537052[_0x627975(0x3fc)](this['_univerInstanceService'],{'unitId':_0x551eaf,'subUnitId':_0x5bc20a});if(!_0x15f7b6||!_0x38d273||!_0x318c73)return{'undos':_0x27ccf4,'redos':_0x565417};const _0xa4f047=this[_0x627975(0x3d2)]['getTextInfo'](),{colView:_0x31a4b6,dataView:_0x1e8604,cornerView:_0x49b2ec,rowView:_0x2600c3,formatMap:_0x3c847e}=_0x38d273,_0x236104=_0x446234(_0x31a4b6,_0xa4f047,!0x0,_0x3c847e),_0x620c20=_0x446234(_0x2600c3,_0xa4f047,!0x1,_0x3c847e),_0x2b7e0a=_0x2b0166(_0x1e8604),_0x4d147d=_0x2bf10d(_0x49b2ec),{worksheet:_0x3d1843}=_0x318c73;if(typeof window<'u'&&window[_0x627975(0x3f8)]){const _0x239196=_0x27abcd[_0x627975(0x400)]({..._0x312c25['colStyle']}),_0x2156ae=_0x27abcd[_0x627975(0x146)][_0x627975(0x347)](_0x236104,_0x239196)[_0x627975(0x34d)]+0x10,_0x485311=_0x27abcd[_0x627975(0x146)][_0x627975(0x347)](_0x2b7e0a,_0x239196)[_0x627975(0x34d)],_0x1243be=Math['floor'](Math['max'](_0x2156ae,_0x485311))+0x10,_0x5de695=Math['floor'](_0x27abcd[_0x627975(0x146)][_0x627975(0x347)](_0x620c20,_0x239196)[_0x627975(0x34d)]),_0x1996a7=Math[_0x627975(0x36f)](_0x27abcd[_0x627975(0x146)]['getTextSize'](_0x4d147d,_0x239196)[_0x627975(0x34d)]),_0x3a2760=Math['max'](_0x5de695,_0x1996a7,0x28)+0xc,_0x2f1d0f=_0x31a4b6[_0x627975(0x1be)]+_0x49b2ec[_0x627975(0x1be)],_0x5d984f={},_0x5758e6={};for(let _0x2cba1d=_0x3243ab;_0x2cba1d<_0x3243ab+_0x2f1d0f;_0x2cba1d++){const _0x3dd101=_0x3d1843[_0x627975(0x262)](_0x2cba1d);_0x5d984f[_0x2cba1d]=_0x3dd101,_0x2cba1d-_0x3243ab<_0x49b2ec[_0x627975(0x1be)]?_0x5758e6[_0x2cba1d-_0x3243ab]=_0x3a2760:_0x5758e6[_0x2cba1d-_0x3243ab]=_0x1243be;}_0x565417[_0x627975(0x1b6)]({'id':_0x537052['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5bc20a,'unitId':_0x551eaf,'ranges':[{'startColumn':_0x3243ab,'endColumn':_0x3243ab+_0x2f1d0f-0x1,'startRow':0x0,'endRow':_0x3d1843[_0x627975(0x25e)]()-0x1}],'colWidth':_0x5758e6}}),_0x27ccf4['push']({'id':_0x537052['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5bc20a,'unitId':_0x551eaf,'ranges':[{'startColumn':_0x3243ab,'endColumn':_0x3243ab+_0x2f1d0f-0x1,'startRow':0x0,'endRow':_0x3d1843[_0x627975(0x25e)]()-0x1}],'colWidth':_0x5d984f}});}return{'undos':_0x27ccf4,'redos':_0x565417};}};_0x1d812a=_0x20d5c8([_0x4dac77(0x0,_0x585029['Inject'](_0x585029[_0x19f2bc(0x1a8)])),_0x4dac77(0x1,_0x585029[_0x19f2bc(0x239)](_0x537052['SheetInterceptorService'])),_0x4dac77(0x2,_0x585029['Inject'](_0x585029[_0x19f2bc(0x454)])),_0x4dac77(0x3,_0x585029[_0x19f2bc(0x239)](_0x585029[_0x19f2bc(0x42c)])),_0x4dac77(0x4,_0x585029[_0x19f2bc(0x239)](_0x37cc3d['SheetsPivotTableConfigModel'])),_0x4dac77(0x5,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x26f)]))],_0x1d812a);var _0x36ba3c=Object[_0x19f2bc(0x2c5)],_0xea6577=(_0x5d48e6,_0x6cc98d,_0x110188,_0x444a35)=>{const _0x2cff82=_0x19f2bc;for(var _0x143d18=_0x444a35>0x1?void 0x0:_0x444a35?_0x36ba3c(_0x6cc98d,_0x110188):_0x6cc98d,_0xcc053e=_0x5d48e6[_0x2cff82(0x183)]-0x1,_0x51fe99;_0xcc053e>=0x0;_0xcc053e--)(_0x51fe99=_0x5d48e6[_0xcc053e])&&(_0x143d18=_0x51fe99(_0x143d18)||_0x143d18);return _0x143d18;},_0x5ab282=(_0x4bdff4,_0x87f616)=>(_0x2be2c2,_0x18c1f9)=>_0x87f616(_0x2be2c2,_0x18c1f9,_0x4bdff4);let _0x3448c0=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x43ae0c,_0xa34974,_0x4b207d,_0x4fd0ae,_0xbd4319,_0x2ff31b,_0x27a56c){const _0x258805=_0x19f2bc;super(),_0x37aa9d(this,_0x258805(0x2d8),new _0x585029[(_0x258805(0x2d1))]()),(this[_0x258805(0x3b3)]=_0x43ae0c,this['_refRangeService']=_0xa34974,this[_0x258805(0x1f6)]=_0x4b207d,this[_0x258805(0x358)]=_0x4fd0ae,this[_0x258805(0x3d2)]=_0xbd4319,this['_sheetsPivotTableAdaptorModel']=_0x2ff31b,this[_0x258805(0x139)]=_0x27a56c,this['_onRefRangeChange']());}[_0x19f2bc(0x43b)](){const _0x152d82=_0x19f2bc,_0x542481=(_0x3d9316,_0x43311e)=>{const _0xfd1f19=_0x542f,_0x2c15f3=this[_0xfd1f19(0x358)][_0xfd1f19(0x240)](_0x585029[_0xfd1f19(0x2d6)]['UNIVER_SHEET']);if(!_0x2c15f3||!(_0x2c15f3==null?void 0x0:_0x2c15f3[_0xfd1f19(0x26d)](_0x43311e)))return;this[_0xfd1f19(0x2d8)][_0xfd1f19(0x13d)]();const _0x58e40e=_0x2fe8d6=>this[_0xfd1f19(0x2a2)](_0x2fe8d6,_0x3d9316,_0x43311e),_0x571357=this[_0xfd1f19(0x3d2)][_0xfd1f19(0x2c1)](_0x3d9316,_0x43311e);if(!(_0x571357!=null&&_0x571357[_0xfd1f19(0x31c)]))return;Array[_0xfd1f19(0x2ed)](_0x571357[_0xfd1f19(0x3c9)]())[_0xfd1f19(0x36c)](_0x51f6aa=>{const _0x357423=_0xfd1f19,{row:_0x2357c7,col:_0x30f066}=_0x51f6aa[_0x357423(0x25f)];return _0x585029[_0x357423(0x3a6)](_0x2357c7,_0x30f066);})[_0xfd1f19(0x1d4)](_0x3c3b40=>{const _0x30e15d=_0xfd1f19;this[_0x30e15d(0x2d8)]['add'](this[_0x30e15d(0x2cd)][_0x30e15d(0x3d1)](_0x3c3b40,_0x58e40e,_0x3d9316,_0x43311e));});},_0xb3f34e=()=>{const _0x90bb6e=_0x542f,_0x23907c=this['_univerInstanceService']['getCurrentUnitForType'](_0x585029['UniverInstanceType']['UNIVER_SHEET']);if(_0x23907c){const _0x36d8ea=_0x23907c['getActiveSheet']();if(!_0x36d8ea)return;_0x542481(_0x23907c[_0x90bb6e(0x318)](),_0x36d8ea['getSheetId']());}};this['disposeWithMe'](this[_0x152d82(0x1f6)][_0x152d82(0x3cb)](_0x4e95e6=>{const _0x1ec90a=_0x152d82;if(_0x4e95e6['id']===_0x537052[_0x1ec90a(0x310)]['id']){const _0x387dfc=_0x4e95e6[_0x1ec90a(0x26b)],_0xea2e28=_0x387dfc[_0x1ec90a(0x265)],_0x509ac0=_0x387dfc[_0x1ec90a(0x1f2)];if(!_0xea2e28||!_0x509ac0)return;_0x542481(_0x509ac0,_0xea2e28);}})),this['disposeWithMe'](this[_0x152d82(0x3d2)]['pivotInitCompleted$'][_0x152d82(0x200)](_0x2e80bf=>{_0x2e80bf&&_0xb3f34e();})),this[_0x152d82(0x446)](this[_0x152d82(0x3d2)]['pivotConfigChange$'][_0x152d82(0x200)](_0xa4c05a=>{const _0x910d9d=_0x152d82,_0x4c8427=_0x537052[_0x910d9d(0x3fc)](this[_0x910d9d(0x358)]);if(!_0x4c8427)return;const {unitId:_0x33150a,subUnitId:_0x3290bc}=_0x4c8427,{unitId:_0x141959,subUnitId:_0x57e520}=_0xa4c05a;_0x33150a!==_0x141959||_0x3290bc!==_0x57e520||_0x542481(_0x33150a,_0x3290bc);})),_0xb3f34e();}[_0x19f2bc(0x2a2)](_0x3797eb,_0x21ef00,_0x3cc444){switch(_0x3797eb['id']){case _0x537052['MoveRangeCommand']['id']:return this['getRefRangeMutationsByMoveRange'](_0x3797eb['params'],_0x21ef00,_0x3cc444);}return{'redos':[],'undos':[]};}[_0x19f2bc(0x293)](_0x42252e,_0x4475ef,_0x16ceb9){const _0x7d94c1=_0x19f2bc,{fromRange:_0x28140c,toRange:_0x418419}=_0x42252e,_0x2d04a3=[],_0x147268=[],_0x10500e=_0x537052[_0x7d94c1(0x3fc)](this[_0x7d94c1(0x358)]);if(!_0x10500e)return{'undos':_0x147268,'redos':_0x2d04a3};if(_0x4475ef!==_0x10500e[_0x7d94c1(0x1f2)]||_0x16ceb9!==_0x10500e[_0x7d94c1(0x265)])return{'undos':_0x147268,'redos':_0x2d04a3};const _0x3a4d94=this[_0x7d94c1(0x3d2)][_0x7d94c1(0x2c1)](_0x4475ef,_0x16ceb9);if(_0x3a4d94!=null&&_0x3a4d94['size'])for(const [_0x30e1e6,_0x34d718]of _0x3a4d94){const {unitId:_0xd69e2e,subUnitId:_0x2b9e32,row:_0x1ad786,col:_0x23a8b1}=_0x34d718['targetCellInfo'];if(_0xd69e2e===_0x10500e[_0x7d94c1(0x1f2)]&&_0x2b9e32===_0x10500e['subUnitId']){const _0xae359f=_0x585029[_0x7d94c1(0x3a6)](_0x1ad786,_0x23a8b1);if(_0x585029[_0x7d94c1(0x144)][_0x7d94c1(0x191)](_0xae359f,_0x28140c)){const _0x4e07ca=_0x1ad786-_0x28140c['startRow'],_0x3c352f=_0x23a8b1-_0x28140c[_0x7d94c1(0x35a)],_0x313813={'row':_0x418419['startRow']+_0x4e07ca,'col':_0x418419[_0x7d94c1(0x35a)]+_0x3c352f};_0x2d04a3[_0x7d94c1(0x1b6)]({'id':_0x521325['id'],'params':{'unitId':_0xd69e2e,'subUnitId':_0x2b9e32,'pivotTableId':_0x30e1e6,'targetCellPosition':_0x313813}}),_0x147268[_0x7d94c1(0x1b6)]({'id':_0x521325['id'],'params':{'unitId':_0xd69e2e,'subUnitId':_0x2b9e32,'pivotTableId':_0x30e1e6,'targetCellPosition':{'row':_0x1ad786,'col':_0x23a8b1}}});const _0x591c2b=_0x313813[_0x7d94c1(0x439)]-_0x1ad786,_0x2e8838=_0x313813[_0x7d94c1(0x177)]-_0x23a8b1,_0x309176=[],_0x4821ae=this[_0x7d94c1(0x3e9)][_0x7d94c1(0x379)](_0xd69e2e,_0x2b9e32,_0x30e1e6),_0x2faea7=_0x4821ae==null?void 0x0:_0x4821ae[_0x7d94c1(0x386)];if(_0x2faea7){Object['keys'](_0x2faea7)[_0x7d94c1(0x1d4)](_0x54404f=>{_0x2faea7[_0x54404f]['forEach'](_0x5bd253=>{const _0x3c550d=_0x542f,_0x3f8fd9={..._0x5bd253};_0x3f8fd9['startRow']=_0x5bd253['startRow']+_0x591c2b,_0x3f8fd9['endRow']=_0x5bd253[_0x3c550d(0x325)]+_0x591c2b,_0x3f8fd9['startColumn']=_0x5bd253[_0x3c550d(0x35a)]+_0x2e8838,_0x3f8fd9[_0x3c550d(0x2ad)]=_0x5bd253[_0x3c550d(0x2ad)]+_0x2e8838,_0x309176[_0x3c550d(0x1b6)](_0x3f8fd9);});});const _0x1dff46=this[_0x7d94c1(0x139)][_0x7d94c1(0x323)]({'unitId':_0xd69e2e,'subUnitId':_0x2b9e32,'ranges':_0x309176});_0x2d04a3[_0x7d94c1(0x1b6)](..._0x1dff46['redos']),_0x147268[_0x7d94c1(0x1b6)](..._0x1dff46['undos']);const _0x52e0f8=_0x5763f4(this[_0x7d94c1(0x3b3)],_0xd69e2e,_0x2b9e32,_0x309176);_0x52e0f8[_0x7d94c1(0x427)]&&(_0x2d04a3['push'](_0x52e0f8['setRangeValueRedoMutation']),_0x147268[_0x7d94c1(0x1b6)](_0x52e0f8['setRangeValueUndoMutation']));}}}}return{'redos':_0x2d04a3,'undos':_0x147268};}};_0x3448c0=_0xea6577([_0x5ab282(0x0,_0x585029[_0x19f2bc(0x239)](_0x585029['Injector'])),_0x5ab282(0x1,_0x585029[_0x19f2bc(0x239)](_0x537052[_0x19f2bc(0x339)])),_0x5ab282(0x2,_0x585029[_0x19f2bc(0x1fd)]),_0x5ab282(0x3,_0x585029[_0x19f2bc(0x42c)]),_0x5ab282(0x4,_0x585029['Inject'](_0x37cc3d[_0x19f2bc(0x382)])),_0x5ab282(0x5,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x2c0)])),_0x5ab282(0x6,_0x585029[_0x19f2bc(0x239)](_0x537052[_0x19f2bc(0x3f1)]))],_0x3448c0);var _0x25ba6e=Object['getOwnPropertyDescriptor'],_0xb5144d=(_0x326e52,_0x545c64,_0x3b1a7d,_0x21c84c)=>{const _0x5801fc=_0x19f2bc;for(var _0x427e96=_0x21c84c>0x1?void 0x0:_0x21c84c?_0x25ba6e(_0x545c64,_0x3b1a7d):_0x545c64,_0xefd40d=_0x326e52[_0x5801fc(0x183)]-0x1,_0x4d503a;_0xefd40d>=0x0;_0xefd40d--)(_0x4d503a=_0x326e52[_0xefd40d])&&(_0x427e96=_0x4d503a(_0x427e96)||_0x427e96);return _0x427e96;},_0x44f5fe=(_0x1f9ef1,_0xb6c91a)=>(_0x3cfaac,_0x1e1d84)=>_0xb6c91a(_0x3cfaac,_0x1e1d84,_0x1f9ef1);let _0x4c6a66=class extends _0x585029[_0x19f2bc(0x453)]{constructor(_0x2749f4,_0x513045){const _0x4d0268=_0x19f2bc;super(),this['_sheetInterceptorService']=_0x2749f4,this[_0x4d0268(0x3d2)]=_0x513045,this[_0x4d0268(0x215)]();}[_0x19f2bc(0x215)](){const _0x5ccd12=_0x19f2bc;this[_0x5ccd12(0x446)](this['_sheetInterceptorService'][_0x5ccd12(0x20a)]({'getMutations':_0x19d448=>{const _0x431697=_0x5ccd12;if(_0x19d448['id']===_0x537052[_0x431697(0x3a2)]['id']){const _0x4013f8=[],_0x32f696=[],_0x4d3c01=_0x19d448['params'],{unitId:_0x355c64,subUnitId:_0x5dd8bb}=_0x4d3c01;if(!_0x355c64||!_0x5dd8bb)return{'undos':_0x32f696,'redos':_0x4013f8};const _0x1662ed=this[_0x431697(0x3d2)][_0x431697(0x2c1)](_0x355c64,_0x5dd8bb);if(_0x1662ed!=null&&_0x1662ed[_0x431697(0x31c)])for(const [_0x59b9ec,_0x20e6cc]of _0x1662ed){_0x4013f8[_0x431697(0x1b6)]({'id':_0x45d409['id'],'params':{'unitId':_0x355c64,'subUnitId':_0x5dd8bb,'pivotTableId':_0x59b9ec}});const _0x5bac60={...this[_0x431697(0x3d2)]['getCollection'](_0x355c64,_0x59b9ec)};_0x32f696[_0x431697(0x1b6)]({'id':_0x26b648['id'],'params':{'unitId':_0x355c64,'subUnitId':_0x5dd8bb,'pivotTableId':_0x59b9ec,'pivotTableConfig':_0x20e6cc,'collectionConfig':_0x5bac60}});}return{'redos':_0x4013f8,'undos':_0x32f696};}return{'redos':[],'undos':[]};}}));}};_0x4c6a66=_0xb5144d([_0x44f5fe(0x0,_0x585029['Inject'](_0x537052[_0x19f2bc(0x3f1)])),_0x44f5fe(0x1,_0x585029[_0x19f2bc(0x239)](_0x37cc3d['SheetsPivotTableConfigModel']))],_0x4c6a66);var _0x40fdcc=Object[_0x19f2bc(0x2c5)],_0xd0a37e=(_0x485dd6,_0x21cce3,_0x15e843,_0x28c5b0)=>{const _0xddf65=_0x19f2bc;for(var _0x2b4d63=_0x28c5b0>0x1?void 0x0:_0x28c5b0?_0x40fdcc(_0x21cce3,_0x15e843):_0x21cce3,_0x5de84b=_0x485dd6[_0xddf65(0x183)]-0x1,_0x42d096;_0x5de84b>=0x0;_0x5de84b--)(_0x42d096=_0x485dd6[_0x5de84b])&&(_0x2b4d63=_0x42d096(_0x2b4d63)||_0x2b4d63);return _0x2b4d63;},_0xfe2e00=(_0x99069f,_0x1c8d19)=>(_0x30149e,_0x594229)=>_0x1c8d19(_0x30149e,_0x594229,_0x99069f);let _0x26eeaf=class extends _0x585029['Disposable']{constructor(_0x1cdbf0,_0x3fbddb,_0x542fc0,_0x52e3d7,_0x430d32,_0x5e15d1){const _0x42b486=_0x19f2bc;super(),this[_0x42b486(0x1f6)]=_0x1cdbf0,this[_0x42b486(0x18b)]=_0x3fbddb,this['_sheetsPivotTableAdaptorModel']=_0x542fc0,this[_0x42b486(0x3d2)]=_0x52e3d7,this[_0x42b486(0x358)]=_0x430d32,this[_0x42b486(0x2e8)]=_0x5e15d1,this[_0x42b486(0x150)](),this[_0x42b486(0x3e5)]();}[_0x19f2bc(0x150)](){const _0x13067c=_0x19f2bc;this[_0x13067c(0x446)](this['_commandService'][_0x13067c(0x3cb)](_0x256357=>{const _0x1fe34b=_0x13067c;if(_0x256357['id']!==_0x21900c['id'])return;const _0x470bf3=_0x256357[_0x1fe34b(0x26b)];this[_0x1fe34b(0x18b)][_0x1fe34b(0x2b9)](_0x470bf3);})),this[_0x13067c(0x446)](this[_0x13067c(0x1f6)]['onCommandExecuted'](_0x2b660a=>{const _0x57d7c7=_0x13067c;if(_0x2b660a['id']===_0x479728['id']){const _0x54d7d7=_0x2b660a['params'];if(_0x54d7d7){const {unitId:_0x3f078d,subUnitId:_0x24fe3b,oldSubUnitId:_0x35ddd7,pivotTableId:_0x3dbe7f,pivotTableConfig:_0x5142f5,collectionConfig:_0x49ea53}=_0x54d7d7;this[_0x57d7c7(0x3d2)][_0x57d7c7(0x15b)](_0x3f078d,_0x35ddd7,_0x54d7d7[_0x57d7c7(0x306)],null),this['_sheetsPivotTableConfigModel'][_0x57d7c7(0x15b)](_0x3f078d,_0x24fe3b,_0x3dbe7f,_0x5142f5),this[_0x57d7c7(0x3d2)][_0x57d7c7(0x2a0)](_0x3f078d,_0x49ea53);}}})),this[_0x13067c(0x446)](this['_commandService'][_0x13067c(0x3cb)](_0x4576ec=>{const _0x221644=_0x13067c;if(_0x4576ec['id']!==_0x2bc750['id'])return;const _0x325675=_0x537052[_0x221644(0x3fc)](this[_0x221644(0x358)]);if(!_0x325675)return;const {unitId:_0x313713,subUnitId:_0x5e799b}=_0x325675,_0x2db92b=_0x4576ec[_0x221644(0x26b)];if(_0x2db92b['collectionConfig']&&Object[_0x221644(0x255)](_0x2db92b[_0x221644(0x3d7)])[_0x221644(0x1d4)](_0x357186=>{const _0x3278b9=_0x221644;var _0x3e36ae;(_0x3e36ae=_0x2db92b[_0x3278b9(0x3d7)])!=null&&_0x3e36ae[_0x357186]&&this['_sheetsPivotTableConfigModel'][_0x3278b9(0x2a0)](_0x357186,_0x2db92b[_0x3278b9(0x3d7)][_0x357186]);}),_0x2db92b[_0x221644(0x405)]){const _0x33940a=_0x2db92b[_0x221644(0x405)],{unitId:_0x4a0a36,subUnitId:_0x36832c,view:_0xbf89f,pivotTableId:_0x5dfe1a,type:_0x1bb15d,pivotConfig:_0x3039d7}=_0x33940a;if(_0x1bb15d===_0x29e361['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x221644(0x281)]({'unitId':_0x4a0a36,'subUnitId':_0x36832c,'pivotTableId':_0x5dfe1a,'type':_0x1bb15d}),this[_0x221644(0x3d2)][_0x221644(0x15b)](_0x4a0a36,_0x36832c,_0x5dfe1a,null);else{const _0xfa0b13=new _0x403b84['PivotView']();_0xfa0b13[_0x221644(0x3bc)](_0xbf89f),this[_0x221644(0x3d2)][_0x221644(0x15b)](_0x4a0a36,_0x36832c,_0x5dfe1a,_0x3039d7),this[_0x221644(0x3e9)][_0x221644(0x281)]({'unitId':_0x4a0a36,'subUnitId':_0x36832c,'pivotTableId':_0x5dfe1a,'type':_0x1bb15d,'view':_0xfa0b13}),this[_0x221644(0x3e9)][_0x221644(0x3d6)]({'unitId':_0x4a0a36,'subUnitId':_0x36832c,'view':_0xfa0b13,'pivotTableId':_0x5dfe1a,'type':_0x1bb15d});}}else _0x2db92b[_0x221644(0x2f7)]&&(_0x2db92b[_0x221644(0x2f7)]['forEach'](_0x442455=>{const _0x5b1ab0=_0x221644,{unitId:_0x2a7714,subUnitId:_0x4b029a,view:_0x3ad8d9,pivotTableId:_0x3a2d73,type:_0x1d7385,pivotConfig:_0x24ed73}=_0x442455,_0x199905=new _0x403b84[(_0x5b1ab0(0x300))]();_0x199905[_0x5b1ab0(0x3bc)](_0x3ad8d9),this[_0x5b1ab0(0x3d2)][_0x5b1ab0(0x15b)](_0x2a7714,_0x4b029a,_0x3a2d73,_0x24ed73),this[_0x5b1ab0(0x3e9)][_0x5b1ab0(0x3d6)]({'unitId':_0x2a7714,'subUnitId':_0x4b029a,'view':_0x199905,'pivotTableId':_0x3a2d73,'type':_0x1d7385});}),this[_0x221644(0x3d2)][_0x221644(0x3de)]());this[_0x221644(0x3e9)][_0x221644(0x2c3)](_0x313713,_0x5e799b);}));}[_0x19f2bc(0x3e5)](){const _0x3a4870=_0x19f2bc;this['_activeDirtyManagerService'][_0x3a4870(0x3f4)](_0x182e59['id'],{'commandId':_0x182e59['id'],'getDirtyData'(_0x458ebe){const _0x2cc1be=_0x3a4870;return{'dirtyUnitFeatureMap':_0x458ebe[_0x2cc1be(0x26b)]};}});}};_0x26eeaf=_0xd0a37e([_0xfe2e00(0x0,_0x585029['Inject'](_0x585029[_0x19f2bc(0x1fd)])),_0xfe2e00(0x1,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x17a)])),_0xfe2e00(0x2,_0x585029[_0x19f2bc(0x239)](_0x37cc3d[_0x19f2bc(0x2c0)])),_0xfe2e00(0x3,_0x585029[_0x19f2bc(0x239)](_0x37cc3d['SheetsPivotTableConfigModel'])),_0xfe2e00(0x4,_0x585029['Inject'](_0x585029[_0x19f2bc(0x42c)])),_0xfe2e00(0x5,_0x57dbf3[_0x19f2bc(0x252)])],_0x26eeaf);var _0x4054ad=Object[_0x19f2bc(0x28e)],_0x49eb13=Object['getOwnPropertyDescriptor'],_0x478ed1=(_0x1ac7f2,_0x58de2e,_0xad90a9)=>_0x58de2e in _0x1ac7f2?_0x4054ad(_0x1ac7f2,_0x58de2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xad90a9}):_0x1ac7f2[_0x58de2e]=_0xad90a9,_0x1d7c8d=(_0x4116fb,_0x5d0d8e,_0x251ba8,_0x24e644)=>{for(var _0x1e257a=_0x24e644>0x1?void 0x0:_0x24e644?_0x49eb13(_0x5d0d8e,_0x251ba8):_0x5d0d8e,_0x1c57f9=_0x4116fb['length']-0x1,_0x1716f3;_0x1c57f9>=0x0;_0x1c57f9--)(_0x1716f3=_0x4116fb[_0x1c57f9])&&(_0x1e257a=_0x1716f3(_0x1e257a)||_0x1e257a);return _0x1e257a;},_0x2e0841=(_0x27b6d3,_0x3f2451)=>(_0x33f02f,_0x5acd95)=>_0x3f2451(_0x33f02f,_0x5acd95,_0x27b6d3),_0x5ed92f=(_0x4f849c,_0x5d8377,_0x498808)=>_0x478ed1(_0x4f849c,typeof _0x5d8377!='symbol'?_0x5d8377+'':_0x5d8377,_0x498808);_0x37cc3d[_0x19f2bc(0x41b)]=class extends _0x585029['Plugin']{constructor(_0x1470bc=_0x53bde1,_0xcdf21c,_0x17a62e,_0x2758de,_0x3721ca){const _0x54261=_0x19f2bc;super(),this[_0x54261(0x26e)]=_0x1470bc,this['_injector']=_0xcdf21c,this[_0x54261(0x1f6)]=_0x17a62e,this['_configService']=_0x2758de,this['_dataSyncPrimaryController']=_0x3721ca;const {..._0xc4751e}=_0x585029[_0x54261(0x21c)]({},_0x53bde1,this[_0x54261(0x26e)]);this['_configService'][_0x54261(0x3d4)](_0x3ac092,_0xc4751e),this[_0x54261(0x2ef)](),this[_0x54261(0x350)]();}[_0x19f2bc(0x350)](){const _0x39e4e5=_0x19f2bc;var _0x330dd4;const _0x1eca42=(_0x330dd4=this[_0x39e4e5(0x26e)])==null?void 0x0:_0x330dd4[_0x39e4e5(0x41d)];this[_0x39e4e5(0x171)][_0x39e4e5(0x3d4)](_0x47e846,_0x1eca42===!0x0);}[_0x19f2bc(0x35f)](){const _0x3c6f4a=_0x19f2bc;var _0x4406f0;let _0x20fb25=[];const _0x330e66=(_0x4406f0=this[_0x3c6f4a(0x26e)])==null?void 0x0:_0x4406f0['notExecuteFormula'];_0x330e66===!0x0?_0x20fb25=[[_0x37cc3d['SheetsPivotTableService']],[_0x37cc3d['SheetsPivotRPCService']],[_0x26eeaf],[_0x37cc3d[_0x3c6f4a(0x2c0)]],[_0x37cc3d[_0x3c6f4a(0x382)]],[_0x4c6a66],[_0x275033],[_0x3448c0],[_0x1d812a]]:_0x330e66===!0x1?_0x20fb25=[[_0x37cc3d[_0x3c6f4a(0x154)]],[_0x3e8eb9]]:_0x330e66===void 0x0&&(_0x20fb25=[[_0x37cc3d[_0x3c6f4a(0x154)]],[_0x3e8eb9],[_0x37cc3d[_0x3c6f4a(0x26f)]],[_0x37cc3d[_0x3c6f4a(0x17a)]],[_0x26eeaf],[_0x37cc3d[_0x3c6f4a(0x2c0)]],[_0x37cc3d[_0x3c6f4a(0x382)]],[_0x4c6a66],[_0x275033],[_0x3448c0],[_0x1d812a]]),_0x20fb25[_0x3c6f4a(0x1d4)](_0x34c8c8=>this['_injector']['add'](_0x34c8c8)),[_0x3e8eb9,_0x26eeaf,_0x37cc3d['SheetsPivotTableService'],_0x275033,_0x4c6a66,_0x3448c0,_0x1d812a][_0x3c6f4a(0x1d4)](_0x1c3bb1=>{const _0x233e0b=_0x3c6f4a;this[_0x233e0b(0x3b3)][_0x233e0b(0x3cd)](_0x1c3bb1)&&this['_injector'][_0x233e0b(0x2b1)](_0x1c3bb1);});}[_0x19f2bc(0x2ef)](){const _0x357dc3=_0x19f2bc;[_0x487f2f,_0x886fac,_0x46b43a,_0x1bdaa3,_0x348feb,_0x8605da,_0x7631a0,_0x567856,_0x5cfaec,_0x38a461,_0x589983,_0x5ec3a8,_0x17027c,_0x1a7d86,_0x26b648,_0x139876,_0x45d409,_0x42e4ed,_0x339123,_0x11b89d,_0xed97a7,_0x2e1510,_0x3159b8,_0x56d533,_0x2e6de9,_0x44b32f,_0x521325,_0x32866a,_0x21900c,_0x2bc750,_0x2d0b1d,_0x4c6338,_0x425d2b,_0x4173e6,_0x3ed008,_0x4ff570,_0x3bd337,_0x182e59,_0x479728,_0x5afa6e,_0x417162,_0x362de0,_0x955524][_0x357dc3(0x1d4)](_0x28953c=>{const _0x2bee88=_0x357dc3;var _0x388c0f;(_0x388c0f=this[_0x2bee88(0x2f5)])==null||_0x388c0f['registerSyncingMutations'](_0x28953c),this[_0x2bee88(0x1f6)][_0x2bee88(0x1ea)](_0x28953c);});}},_0x5ed92f(_0x37cc3d[_0x19f2bc(0x41b)],'pluginName',_0x3dbca5),_0x5ed92f(_0x37cc3d['UniverSheetsPivotTablePlugin'],_0x19f2bc(0x194),_0x585029[_0x19f2bc(0x2d6)][_0x19f2bc(0x383)]),_0x37cc3d[_0x19f2bc(0x41b)]=_0x1d7c8d([_0x585029['DependentOn'](_0x1eafcc[_0x19f2bc(0x1f7)]),_0x2e0841(0x1,_0x585029['Inject'](_0x585029[_0x19f2bc(0x454)])),_0x2e0841(0x2,_0x585029[_0x19f2bc(0x239)](_0x585029['ICommandService'])),_0x2e0841(0x3,_0x585029['IConfigService']),_0x2e0841(0x4,_0x585029[_0x19f2bc(0x280)](_0x221b99[_0x19f2bc(0x274)]))],_0x37cc3d[_0x19f2bc(0x41b)]),_0x37cc3d['AddPivotFieldCommand']=_0x46b43a,_0x37cc3d[_0x19f2bc(0x3fb)]=_0x42e4ed,_0x37cc3d[_0x19f2bc(0x20c)]=_0x886fac,_0x37cc3d[_0x19f2bc(0x2e4)]=_0x26b648,_0x37cc3d[_0x19f2bc(0x30c)]=_0x487f2f,_0x37cc3d[_0x19f2bc(0x430)]=_0x65df37,_0x37cc3d[_0x19f2bc(0x43e)]=_0x41a561,_0x37cc3d[_0x19f2bc(0x27b)]=_0x1bdaa3,_0x37cc3d[_0x19f2bc(0x319)]=_0x17027c,_0x37cc3d['PivotDisplayDataType']=_0x24e6a2,_0x37cc3d[_0x19f2bc(0x2fd)]=_0x1a7d86,_0x37cc3d[_0x19f2bc(0x440)]=_0x29e361,_0x37cc3d[_0x19f2bc(0x29c)]=_0x182e59,_0x37cc3d[_0x19f2bc(0x35e)]=_0x516961,_0x37cc3d['RemovePivotFieldCommand']=_0x348feb,_0x37cc3d[_0x19f2bc(0x343)]=_0x2e1510,_0x37cc3d[_0x19f2bc(0x1c2)]=_0x45d409,_0x37cc3d[_0x19f2bc(0x284)]=_0x3159b8,_0x37cc3d[_0x19f2bc(0x36a)]=_0x955524,_0x37cc3d[_0x19f2bc(0x32a)]=_0x3ac092,_0x37cc3d[_0x19f2bc(0x418)]=_0x3dbca5,_0x37cc3d[_0x19f2bc(0x431)]=_0x567856,_0x37cc3d[_0x19f2bc(0x352)]=_0x56d533,_0x37cc3d[_0x19f2bc(0x381)]=_0x4173e6,_0x37cc3d[_0x19f2bc(0x3bd)]=_0x362de0,_0x37cc3d['SetPivotFilterCommand']=_0x38a461,_0x37cc3d[_0x19f2bc(0x340)]=_0xed97a7,_0x37cc3d[_0x19f2bc(0x20e)]=_0x44b32f,_0x37cc3d[_0x19f2bc(0x443)]=_0x521325,_0x37cc3d['SetPivotSortCommand']=_0x5cfaec,_0x37cc3d['SetPivotSortMutation']=_0x2e6de9,_0x37cc3d[_0x19f2bc(0x289)]=_0x425d2b,_0x37cc3d[_0x19f2bc(0x204)]=_0x5afa6e,_0x37cc3d[_0x19f2bc(0x420)]=_0x417162,_0x37cc3d[_0x19f2bc(0x1cd)]=_0x7631a0,_0x37cc3d[_0x19f2bc(0x29d)]=_0x2d0b1d,_0x37cc3d[_0x19f2bc(0x401)]=_0x589983,_0x37cc3d[_0x19f2bc(0x2a1)]=_0x3bd337,_0x37cc3d[_0x19f2bc(0x2f4)]=_0x5ec3a8,_0x37cc3d[_0x19f2bc(0x3a1)]=_0x4ff570,_0x37cc3d[_0x19f2bc(0x1b3)]=_0x8605da,_0x37cc3d[_0x19f2bc(0x167)]=_0x4c6338,_0x37cc3d[_0x19f2bc(0x455)]=_0x4bcad0,_0x37cc3d['canUsePivot']=_0xd24cda,_0x37cc3d['defaultThemeStyle']=_0x312c25,_0x37cc3d[_0x19f2bc(0x1db)]=_0x5763f4,_0x37cc3d[_0x19f2bc(0x38c)]=_0x3a254c,_0x37cc3d['getEmptyPivotRanges']=_0x37ad6e,_0x37cc3d[_0x19f2bc(0x23b)]=_0xec6b38,_0x37cc3d['getInsertRowColMutations']=_0xac2e7d,_0x37cc3d[_0x19f2bc(0x165)]=_0x1921d6,_0x37cc3d[_0x19f2bc(0x1df)]=_0x3d1186,_0x37cc3d[_0x19f2bc(0x2b5)]=_0x5a9788,_0x37cc3d[_0x19f2bc(0x34a)]=_0x13abf2,_0x37cc3d['unionPivotViewRange']=_0x428786,Object[_0x19f2bc(0x28e)](_0x37cc3d,Symbol['toStringTag'],{'value':_0x19f2bc(0x267)});}));function _0x542f(_0xc2f136,_0x5e06b6){const _0x46d7b1=_0x46d7();return _0x542f=function(_0x542f85,_0x204ce0){_0x542f85=_0x542f85-0x139;let _0x59a51c=_0x46d7b1[_0x542f85];return _0x59a51c;},_0x542f(_0xc2f136,_0x5e06b6);}function _0x46d7(){const _0xbb23a8=['sheets-pivot.dateGroup.monthDate','MoveRangeMutation','collections','rowFields','count','getUpdateRangeDeleteIds','_refRangeService','workbook\x20is\x20not\x20found','PivotDateGroupFieldDateTypeEnum','getPivotDirtyViewInfo','DisposableCollection','getMatrixValue','updatePivotTableRangeInfo','getInterceptPoints','removePivotField','UniverInstanceType','getSortInfo','disposableCollection','DEFAULT_WORKSHEET_COLUMN_COUNT','getPivotTableMatrixInfo','uniqueDataFieldName','getId','IUndoRedoService','PivotCallbackEnum','refreshDataField','getformat','IConfigService','UniverProEnginePivot','filterId','AddPivotTableMutation','_fieldsCollectionChange$','triggerDirtyFeature','InsertSheetCommand','_activeDirtyManagerService','@univerjs/engine-render','headerMap','getPivotTableConfig','_initViewModelBySheetInterceptor','from','GrandTotal','_initRegisterCommand','sheet.command.set-pivot-sort','SetRangeValuesMutation','sheet.mutation.add-pivot-field','_pivotRenderInfoCache','UpdatePivotTableSourceRangeCommand','_dataSyncPrimaryController','configVersion$','batch','sheets-pivot.cellDateGroupDisplay.minute','Max\x20of\x20','sheet.command.add-pivot-table','sheets-pivot.stdDevpName','getAutoDisplayName','PivotDrillDownCommand','sheet.mutation.pivot-update-field-source-info','sheet.mutation.add-group-collection','PivotView','UniverSheets','format','originTargetInfo','find','sheet.command.remove-pivot-field','pivotTableId','SetSortInfo','updateViewInfo','addExclusiveRange','getRangeKeyList','sheets-pivot.averageName','AddPivotTableWithConfigCommand','getDataFieldManager','sheets-pivot.value','getSheets','SetWorksheetActiveOperation','removeCollections','sheets-pivot.cellDateGroupDisplay.month','ΣValue','#f4f4f5','registerCallbackWithEvent','getDisplayName','Style','getUnitId','MovePivotTableCommand','@univerjs/sheets-filter','FieldsCollection','size','ptn','renameField','RenameField','Total','YearMonth','updateAllDisplayName','generateMutationsByRanges','Hour','endRow','Add','getFilterInfo','paths','resetArea','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','fields','2437656vxncrl','panel','sheets-pivot.emptyPivot.row','YearQuarter','Range','sheet.mutation.send-pivot-config-local','setSortInfo','LifecycleService','pageRanges','LS_CONFIG_KEY','setValueFilterInfo','node','SHEET_PIVOT_IN_MAIN_THREAD','RefRangeService','getCollection','Min\x20of\x20','_sheetsPivotTableService','sheets-pivot.dateGroup.yearMonth','number','_initPivotDataGetListener','SetPivotFilterMutation','RemoveRowMutation','_globalSubject','RemovePivotFieldMutation','isArray','numfmt','onQueryEnd','getTextSize','sheets-pivot.dateGroup.hour','queryDirtyPivotTable','transFromCellValue','deleteField','sheets-pivot.stdDevName','width','_createExclusiveRange','splice','_initConfig','sheet.mutation.update-date-group','SetPivotCollapseMutation','getFieldCountByArea','_initLocale','CellValueType','BadReference','next','_univerInstanceService','PivotTable','startColumn','_pivotTableMatrixInfo','startCollectChangeset','ResetPivotTable','PositionType','onStarting','_globalComputingSrv','getTypeOfUnitDisposed$','Grand\x20Total','_pivotTableInstanceCache','Sum\x20of\x20','limit\x20pivot','getPivotTableIdByCell','new','3757770NkgVoL','removeDataField','ResetPivotFieldsConfigCommand','526010iuWZuc','map','set','sheets-pivot.minName','floor','#1d32e9','getSheetBySheetName','markDirty$','fieldsConfig','slice','Product\x20of\x20','substring','_sheetsSelectionsService','rgb(255,255,255)','getPivotItemRenderInfoCache','addPivotTable','INTERCEPTOR_POINT','getValue','object','getDataFieldByRangeKey','getSubtotal','sheets-pivot.dateGroup.quarter','SetPivotFieldFormatMutation','SheetsPivotTableConfigModel','UNIVER_SHEET','colInfo','_exclusiveRangeService','rangesInfo','_subjectCollectionChange','sheets-pivot.cellDateGroupDisplay.date','sourceRangeInfo','lastCol','sheet.mutation.pivot-update-field-position','getAdjustRangesPosition','dataFieldManagerConfig','isDateGroupField','_resourceManagerService','isValue','reset','iterateField','setLabelFilterInfo','leftOffset','stringify','UniverProSheetsPivot','updateDirtyPivotTable','sheet.command.add-pivot-table-with-config','executeCommand','Value','serializeRangeWithSpreadsheet','DataFieldManager','movePivotField','lastRow','symbol','bind','UpdatePivotTableSourceRangeMutation','RemoveSheetCommand','fetchThroughInterceptors','sheets-pivot.maxName','4411690qMYmwJ','cellToRange','PivotTableChangeTypeEnum','ClearSelectionAllCommand','updatePivotSource','options','getFieldById','dataStyle','_viewData$','unshift','Year','_model','sheet.command.add-pivot-field','PivotTableValuePositionEnum','_injector','fromJSON','Average\x20of\x20','generateNullCell','result','sheet.command.set-pivot-value-filter','setPivotTableConfig','isBaseGroupField','asyncInterceptor','formJSON','SetPivotFieldsConfigCommand','getFieldDataType','value','dataStream','setPivotTable','getColCount','sheets-pivot.cellDateGroupDisplay.year','getNoUsedDataFieldIds','setRangeValueRedoMutation','getRangeKey','NotFunction','max','values','function','onCommandExecuted','IResourceManagerService','has','Minute','sheets-pivot.cellDateGroupDisplay.hourMinute','resetPivotTable','registerRefRange','_sheetsPivotTableConfigModel','valid','setConfig','sheets-pivot.sumName','updateRenderCache','collectionConfig','delete','colHeaderMap','subTotalStyle','setSubtotalType','asObservable','getFullYear','setPivotInitCompleted','UniverProLicense','COLUMN','\x20-\x20','Subject','IFeatureCalculationManagerService','_lifecycleService','registerDirtyService','8jOYOzU','areaInfo','_getAutoName','_sheetsPivotTableAdaptorModel','sheets-pivot.varName','rangeKeyMap','deleteDataField','NUM','YearMonthDate','#eceeff','ErrorType','SheetInterceptorService','sheets-pivot.emptyPivot.values','foreach','register','createDataFieldId','textInfo','PivotMultipleValueId','document','undos','generateNewSheetName','AddPivotFieldMutation','getSheetCommandTarget','CustomCommandExecutionError','_ensureViewDataMap','77277czotBY','getFontStyleString','UpdatePivotFieldSettingCommand','isEmpty','StdDev\x20of\x20','NO_COMMERCIAL','single','dateType','_ensurePivotTableRangeInfo','collection','_generateUniqueVersion','_markDirty$','_pivotTableRangeInfo','DrillDown','broadcastCollectionChange','valueFields','updateValuePosition','mergeWorksheetSnapshotWithDefault','getDate','deleteUnitId','Subtotal','createAsyncInterceptorKey','setRange','_updateModelCache','setDirty','SHEET_PIVOT_TABLE_PLUGIN','realDeleteValue','setDisplayName','UniverSheetsPivotTablePlugin','level','notExecuteFormula','_toJSON','_subjectFieldsCollectionChange','SetPivotValueFilterMutation','FORCE_STRING','sheet.mutation.add-pivot-table','name','@univerjs-pro/license','getPivotPerformCheck','dimension','shouldClear','refreshData','sheet.mutation.set-pivot-format','initDataRanges','_initCommandInterceptListener','IUniverInstanceService','NUMBER','setCollapse','redos','BLANK_ROW_COUNT','SetPivotCollapseCommand','_initSnapshot','rowStyle','Varp\x20of\x20','RemoveColMutation','setRangeKeyMap','setPivotSetting','generateHexNumber','row','_init','_onRefRangeChange','addCollectionByJSON','ManualFilter','DEFAULT_PIVOT_NUMBER','varp','PivotTableOperationEnum','sheets-pivot.dateGroup.year','PivotTableFiledAreaEnum','SetPivotPositionMutation','_deleteModelCache','getDirtyInfo','disposeWithMe','getValuePosition','getPivotTableRangeInfo','124VRBkxS','fieldsCollectionChange$','getLastRow','Quarter','cellValue','rangeType','collectionChange$','RemovePivotField','_initClearSelectionCommandInterceptor','removeValueFilterInfo','Disposable','Injector','applyChangeSet','contains','_sheetInterceptorService','getFieldInfo','dataRangeInfo','deepClone','dispose','sheet.command.move-pivot-field','sheets.tabs.sheet','_host','PivotViewCellValueTypeEnum','_ensurePivotTableMatrixInfo','getConfig','Rectangle','UniverEngineRender','FontCache','DateGroupField','sheets-pivot.columnName','forValue','tuple','_ensurePivotItemRenderValueMatrixCache','sequenceExecute','StdDevp\x20of\x20','tableFieldId','setValuePivotFilter','_initDataSendListener','refreshGroupField','sheet.mutation.set-pivot-filter','HourMinute','SheetsPivotDataSourceModel','addDataFieldWithoutUnitInfo','_subjectViewChange','_textInfo','Count\x20of\x20','createCollectionWithDataRange','Row','updateConfigCache','getUnit','setName','CommandType','BehaviorSubject','setPivotFilter','getAutoDisplayNameFunction','pivotTableIndexConfig','CELL_CONTENT','sheet.mutation.pivot-update-value-position','getPivotCellInfo','isFeatureAuthorizedWithinTime','UpdateValuePositionMutation','Column\x20','_configVersion$','body','version','getOriginFieldId','dataFields','sheet.mutation.set-pivot-field-subtotal-type','sheet.command.move-pivot-table','_updatePivotTableInstanceCache','_configService','query','pbt','getCellMatrix','sum','InsertRowMutation','col','MovePivotField','Filter','SheetsPivotRPCService','_getPivotAppliedRanges','MUTATION','getSubUnitPivotMatrix','error','leafStyle','UpdateFieldPosition','NotName','createInterceptorKey','length','subtotal','_ensurePivotItemRenderInfoCache','sheet.mutation.set-pivot-position','sheets-pivot.dateGroup.hourMinute','iterateFieldDim','_dataFieldManagerCollection','excelDateToUnixMilliseconds','_sheetsPivotRpcService','_queryingMap','(Blank)','parse','numberToABC','pivotTableConfigs','intersects','DataField','getFieldFormat','type','7603253yDHHEL','ReleaseType','_viewUpdate$','getMonth','SetPivotTableConfig','_ensurePivotMap','valueIndex','forRow','adjustSheetCellData','SetSubtotalType','pivotMutationGenerate','MAX_SAFE_INTEGER','UpdateValuePosition','Panel','replace','SetFieldFormat','getIndexesByPathStr','createLabelField','sheets-pivot.cellDateGroupDisplay.yearQuarter','LocaleService','addPivotField','getPivotTableModelConfig','sheets-pivot.blank','unshiftString','PivotSubtotalTypeEnum','@univerjs/sheets','getFieldIds','InsertSheetMutation','#FFFFFF','sheet.mutation.update-pivot-table-source-range','UpdatePivotValuePositionCommand','getTextInfo','sheet.command.update-pivot-table-source-range','push','custom','sheets-pivot.countNumsName','fontRenderExtension','MIN_SAFE_INTEGER','updatePivotTableMatrixInfo','rangeKey','removePivotTable','colCount','PIVOT_MUTATION_GENERATE','rgb(240,241,243)','sheet.mutation.remove-pivot-table','RemovePivotTableMutation','sheet.command.set-pivot-fields-config','exports','SheetsSelectionsService','isPrefixValue','SetCollapse','getTargetByPivotTableId','_viewData','getPivotDisplayConfig','removeSourceRangeChange','_initUnitDisposed','UpdateDateGroupCommand','_pivotRenderValueMatrixCache','measure','_requestResolvers','SetPivotCollapse','blank','includes','forEach','oldRangeInfo','getTargetByPivotId','AddPivotTable','removeCollectionImp','parseInt','addPivotTableWithConfig','generateSetRangeValueMutations','sheet.mutation.get-pivot-data-local','prefix','UniverEngineFormula','getPivotInfoByLicense','RemoveSheetMutation','PivotDataFieldDataTypeEnum','_featureCalculationManagerService','4833260QQlJgb','toJSON','_globalComputedEndHelpFunc','rowInfo','getFilterFieldIdByIndex','sheet.mutation.rename-pivot-field','PivotErrorTypeEnum','registerCommand','getPivotTableInstance','colRanges','isColMultiMeasure','getAutoFitColumnsMutations','valueFilter','@univerjs/engine-formula','getDataFieldId','unitId','rxjs','call','sheet.mutation.remove-group-collection','_commandService','UniverLicensePlugin','add','updateFieldSourceInfo','info','sheet.command.reset-pivot-fields-config','SetPivotFilter','ICommandService','versions','ObjectMatrix','subscribe','SHEET_PIVOT_EXCLUSIVE_ID','NAME','sheets-pivot.dateGroup.yearQuarter','SetPivotValueFilterCommand','Collapse','sheets-pivot.productName','sheets-pivot.emptyPivot.filter','sideEffectUpdateWorkerCache','New','interceptCommand','startRow','AddPivotTableCommand','PivotFilterTypeEnum','SetPivotOptionMutation','filterFields','_initGlobalComputed','stdDev','dataFieldsCollection','some','getValueFilterInfos','_initRemoveSheetCommandInterceptor','getCellRaw','isDateGroupFieldJSON','setValue','getHeaderMapItem','sheet.mutation.set-pivot-collapse','setTextInfo','merge','Delete','collapseInfo','Values','getDataFieldBySourceName','matrix','sheet.command.pivot-drill-down','updateView','getName','setFieldFormat','minDate','getDataFieldByDataFieldId','sheet.mutation.set-pivot-sort-info','sourceName','needSameDeleteModel','Column','updateConfig','displayName','UpdatePivotSource','AsyncInterceptorManager','isDateValue','getColumnCount','prototype','pushComputingStatusSubject','grandTotal','SetValuePivotFilter','_localeService','onQueryStart','sheet.mutation.send-pivot-view-local','Inject','hasField','getFieldListByArea','_pivotInitCompleted$','sheets-pivot.varpName','getValueIndex','getDataFieldItemInfo','getCurrentUnitForType','sheet.mutation.remove-pivot-field','pushUndoRedo','interceptor','filter','UniverCore','range','updateViewData','_deletePivotTableInstanceCache','colStyle','handleMoveRange','_collectionConfigModel','rowCount','cornerInfo','setPivotSort','Set','updateFieldPosition','string','IActiveDirtyManagerService','SetOptions','RemoveSheetsFilterMutation','keys','getTableFieldById','viewUpdate$','sheets-pivot.dateGroup.minute','oldMatrix','drillDown','getFieldPositionInfoById','BaseGroupField','getViewData','getRowCount','targetCellInfo','None','Tools','getColumnWidth','DIV_BY_ZERO','addDirtyPivotTable','subUnitId','sheet.mutation.set-pivot-value-filter','Module','rowHeaderMap','getLastCol','sheet.command.set-pivot-collapse','params','setDateType','getSheetBySheetId','_config','SheetsPivotTableService','getSourceName','min','message','fieldIds','DataSyncPrimaryController','SetPivotSort','_collectionChange$','Date','_pivotConfigChange$','sheets-pivot.countName','getDataFieldByTableId','MovePivotFieldCommand','sheet.command.update-date-group','getSheetId','removeField','dataFieldId','Optional','clearRenderCache','getMatrix','column','RenamePivotFieldMutation','update','toString','getStyles','sheetName','SetPivotSubtotalTypeMutation','getPivotTableCellData','split','COMMAND','sheet.command.set-pivot-field-setting','defineProperty','data','registerPluginResource','setSourceName','getMatrixFromRunTimeData','getRefRangeMutationsByMoveRange','PivotCellStyleTypeEnum','_sheetsPivotDataSourceModel','sortInfo','RANGE_TYPE','@univerjs/rpc','maxDate','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getRangeStartEndInfo','PivotTableViewDirtyMarkOperation','UpdateFieldPositionMutation','sheets-pivot.cellDateGroupDisplay.quarter','setPivotCollapse','updateCollectionConfig','UpdatePivotFieldSourceInfoMutation','_refRangeHandle','GlobalComputingStatusService','5yxYcFS','viewData$','InsertSheetUndoMutationFactory','rowRanges','addField','concat','entries','sheet.mutation.send-pivot-data-local','filterInfo','endColumn','SetValueFilter','handleSourceRangeChange','STRING','get','sheet.command.set-pivot-filter','AddPivotTableWithConfig','iterateFieldByArea','getPivotTableInfo','fetchThroughAsyncInterceptors','generateRandomId','endCollectChangeset','handleAsyncResponse','_globalComputedStartHelpFunc','sheets-pivot.grandTotal','addFieldWithSourceId','AddPivotField','return\x20','SetPivotSetting','SheetsPivotTableAdaptorModel','getSubUnitPivotConfigs','sheets-pivot.dateGroup.date','markDirty','#e6ebfb','getOwnPropertyDescriptor','@univerjs/core'];_0x46d7=function(){return _0xbb23a8;};return _0x46d7();}
|