@univerjs-pro/sheets-pivot 0.10.11-nightly.202510220308 → 0.10.12-nightly.202510221114

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.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +42 -42
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +10 -10
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x48e4(_0x5292f0,_0x4d41f2){const _0xdf07ae=_0xdf07();return _0x48e4=function(_0x48e436,_0x494202){_0x48e436=_0x48e436-0xf5;let _0x3c84cd=_0xdf07ae[_0x48e436];return _0x3c84cd;},_0x48e4(_0x5292f0,_0x4d41f2);}function _0xdf07(){const _0x5376f8=['getPivotTableModelConfig','getPivotTableMatrixInfo','startRow','uniqueDataFieldName','getAutoFitColumnsMutations','NUMBER','valueFields','Set','getUnit','getFullYear','sheet.mutation.rename-pivot-field','_queryingMap','triggerDirtyFeature','sheets-pivot.emptyPivot.column','sheet.mutation.add-pivot-field','sheets-pivot.columnName','getCurrentUnitForType','result','getCellRaw','rxjs','PivotTableFiledAreaEnum','getSubUnitPivotRenderCache','FieldsCollection','UpdatePivotValuePositionCommand','AddPivotTableCommand','getUnitId','4yrJrfD','AddPivotTableMutation','IActiveDirtyManagerService','entries','_pivotTableMatrixInfo','setValuePivotFilter','unshiftString','LS_CONFIG_KEY','YearMonthDate','UpdateValuePositionMutation','pivotInitCompleted$','STRING','measure','applyChangeSet','getSheetFeatureLimit','removeCollectionImp','InsertSheetUndoMutationFactory','sheet.command.set-pivot-collapse','sheet.mutation.add-pivot-table','SheetInterceptorService','fieldId','7gJIBpg','_configService','_injector','_dataSyncPrimaryController','#f4f4f5','_initRegisterCommand','SetPivotValueFilterCommand','createAsyncInterceptorKey','sheet.mutation.set-pivot-format','isPrefixValue','Count\x20of\x20','_generateUniqueVersion','1114955LgPKVy','getDataFieldByTableId','markDirty','@univerjs/core','sheets-pivot.dateGroup.date','registerPluginResource','IConfigService','asyncInterceptor','mergeWorksheetSnapshotWithDefault','IExclusiveRangeService','#e6ebfb','PivotDataFieldDataTypeEnum','sheet.mutation.pivot-update-field-position','AsyncInterceptorManager','PivotFilterTypeEnum','isNaN','notExecuteFormula','refreshGroupField','getPivotItemRenderInfoCache','getIntersects','Subtotal','Collapse','pivotConfigChange$','setSortInfo','PivotDateGroupFieldDateTypeEnum','column','rgb(240,241,243)','hasOwnProperty','subUnitId','realDeleteValue','sheet.mutation.set-pivot-position','_pivotRenderInfoCache','MovePivotField','getNoUsedDataFieldIds','removeDataField','SheetsPivotTableService','updateAllDisplayName','queryDirtyPivotTable','_sheetsPivotTableConfigModel','_sheetInterceptorService','type','ICommandService','AddPivotField','dataFieldsCollection','values','IUndoRedoService','toJSON','sheet.command.set-pivot-filter','AddPivotTable','createLabelField','NotName','_activeDirtyManagerService','disposableCollection','getPivotDisplayConfig','sheet.command.set-pivot-field-setting','SetPivotCollapseCommand','stdDevp','getFieldListByArea','getPivotDirtyViewInfo','SetPivotSortMutation','parse','sheet.command.add-pivot-field','sum','Delete','reset','SetPivotFilterMutation','SetRangeValuesMutation','NotFunction','call','Column','setRange','registerRefRange','endRow','getRangeData','getformat','numfmt','CELL_CONTENT','addExclusiveRange','collectionConfig','colInfo','filter','dataStyle','INTERCEPTOR_POINT','NORMAL','_globalComputingSrv','_updatePivotTableInstanceCache','getPivotTableConfig','options','sheets-pivot.dateGroup.hour','MonthDate','sheets-pivot.dateGroup.yearQuarter','addField','sheets-pivot.dateGroup.hourMinute','generateSetRangeValueMutations','params','markDirty$','getValue','PivotTable','collectionChange$','getSheetId','sheet.mutation.pivot-update-field-source-info','getFieldById','getHeaderMapItem','setPivotSort','_globalComputedStartHelpFunc','lastRow','targetCellInfo','ObjectMatrix','UpdateFieldPositionMutation','getLastRow','paths','colStyle','parseInt','@univerjs-pro/engine-pivot','GlobalConfig','rangeType','UniverProLicense','IFeatureCalculationManagerService','getDataFieldItemInfo','rangesInfo','getPivotTableIdByCell','PivotTableOperationEnum','excelDateToUnixMilliseconds','SHEET_PIVOT_IN_MAIN_THREAD','_initConfig','StdDev\x20of\x20','size','getRowCount','getSubUnitPivotMatrix','getDisplayName','_exclusiveRangeService','getFontStyleString','slice','removeValueFilterInfoByValueFieldId','getStyles','createDataFieldId','getFieldFormat','generateHexNumber','product','sheet.command.set-pivot-sort','string','sideEffectUpdateWorkerCache','setValueFilterInfo','fields','@univerjs/rpc','onCommandExecuted','collection','addDataFieldWithoutUnitInfo','getTableFieldById','\x20-\x20','sheets-pivot.dateGroup.quarter','_createExclusiveRange','map','rangeCache','getGroupFieldsInfoByIds','subtotal','generateMutationsByRanges','SheetsPivotDataSourceModel','getFormat','MoveRangeMutation','SHEET_PIVOT_TABLE_PLUGIN','removeField','colCount','cornerInfo','isDateGroupField','setDataRecordCount','_sheetsPivotTableAdaptorModel','isColMultiMeasure','setTextInfo','sheets-pivot.cellDateGroupDisplay.hour','_pivotTableRangeInfo','has','PivotView','length','_sheetsPivotRpcService','columnFields','_getAutoName','add','lastCol','sheet.mutation.add-group-collection','interceptCommand','cellValue','configVersion$','Optional','SheetsPivotTableConfigModel','getDataFieldId','updateViewInfo','getViewData','valueFilter','Sum\x20of\x20','SetPivotFieldsConfigCommand','generateRandomId','Hour','setPivotTableConfig','sheet.mutation.send-pivot-config-local','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','dataFieldManagerConfig','version','sourceName','min','sheets-pivot.subTotal','valid','ΣValue','sourceRangeInfo','GlobalComputingStatusService','InsertSheetCommand','_model','UniverLicensePlugin','replace','FORCE_STRING','setDateType','getUpdateRangeDeleteIds','#eceeff','getColCount','isValue','removeValueFilterInfo','IUniverInstanceService','setPivotTable','47798SGoaxC','UpdatePivotSource','movePivotField','InsertSheetMutation','setCollapse','SetPivotSort','SetWorksheetColWidthMutation','updateViewData','fontRenderExtension','versions','UniverSheetsPivotTablePlugin','650385kribZj','PivotDisplayDataType','matrix','getTextSize','setValue','DEFAULT_WORKSHEET_COLUMN_COUNT','sheet.mutation.remove-group-collection','redos','number','_pivotTableInstanceCache','_initRemoveSheetCommandInterceptor','sheet.mutation.send-init-pivot-text-local','getFieldPositionInfoById','next','getDataFieldByRangeKey','single','sheet.command.add-pivot-table-with-config','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','SetPivotCollapse','Add','getMatrixValue','dispose','updateFieldPosition','setPivotCollapse','MAX_SAFE_INTEGER','filterInfo','_subjectFieldsCollectionChange','pushComputingStatusSubject','formJSON','refreshData','rowHeaderMap','updateValuePosition','rowCount','getRangeKeyList','isBottomTotal','colRanges','defineProperty','stringify','DateGroupField','aUTShjkT\x20rdSEYghjkT(3jSdTzd,\x20gUe3jSydY)\x20{\x20\x20\x20\x20hEY\x20{\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x203jSdTzdITaki9Eh7EE9Y\x20=\x203jSdTzd.zg3jh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20kEjbjTmdzz9bd\x20=\x20fFJM.g9Ezd(9hke(3jSdTzdITaki9Eh7EE9Y[s]));\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(!kEjbjTmdzz9bd.Ur)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kEjbjTmdzz9bd.Ur\x20=\x20MUZedE(3jSdTzdITaki9Eh7EE9Y[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20jztkE1dE\x20=\x20hYgdka\x20tkE1dEB3ke93FSkgd\x20!==\x20\x27UTrdajTdr\x27\x20&&\x20zd3a\x20jTzh9TSdka\x20tkE1dEB3ke93FSkgd;\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20SkThdKh\x20=\x20jztkE1dE\x20?\x20zd3a\x20:\x20OjTrkO;\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Zdzz9bdtkEr\x20=\x20SkThdKh.__x9zdon__.g9Ezd(3jSdTzdITaki9Eh7EE9Y[s]);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Zdzz9bd\x20=\x20SkThdKh.__vdK__.zhEjTbjaY(Zdzz9bdtkEr);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbT9hUEdtkEr\x20=\x20SkThdKh.__x9zdon__.g9Ezd(3jSdTzdITaki9Eh7EE9Y[u]);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbT9hUEd\x20=\x20SkThdKh.__vdK__.zhEjTbjaY(zjbT9hUEdtkEr);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbTR93jr\x20=\x20SkThdKh.__GdEjaY__(zjbT9hUEd,\x20Zdzz9bd,\x20gUe3jSydY);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20rkZ9jT\x20=\x20kEjbjTmdzz9bd.rZ;\x20\x20\x20\x20\x20\x20\x20\x20aUTShjkT\x20jzXkZ9jTm9hSQjTb(ki9hhdET,\x20kvkzh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdET\x20=\x20ki9hhdET.Edg39Sd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Qkzh\x20=\x20kvkzh.Edg39Sd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdETi9Ehz\x20=\x20g9hhdET.zg3jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Qkzhi9Ehz\x20=\x20Qkzh.zg3jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(!g9hhdET.jTS3Urdz(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20g9hhdET\x20===\x20Qkzh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(g9hhdETi9Ehz.3dTbhQ\x20<\x20s\x20||\x20g9hhdETi9Ehz[0]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20a93zd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdETFUaajK\x20=\x20g9hhdETi9Ehz.z3jSd(H).pkjT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20QkzhFUaajK\x20=\x20Qkzhi9Ehz.z3jSd(-g9hhdETi9Ehz.3dTbhQ\x20+\x20H).pkjT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20g9hhdETFUaajK\x20===\x20QkzhFUaajK;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203dh\x20rkZ9jTR93jr\x20=\x20(rkZ9jT\x20&&\x20rkZ9jT.3dTbhQ)\x20?\x20rkZ9jT.zkZd((rZIhdZ)\x20=>\x20jzXkZ9jTm9hSQjTb(rZIhdZ,\x203kS9hjkT.QkzhT9Zd))\x20:\x20hEUd;\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(3kS9hjkT.QkzhT9Zd\x20===\x20\x273kS93Qkzh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rkZ9jTR93jr\x20=\x20hEUd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20G93jr\x20=\x20zjbTR93jr\x20&&\x20rkZ9jTR93jr;\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G93jr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zdzz9bd:\x20kEjbjTmdzz9bd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20S9hSQ\x20(dEEkE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G93jr:\x20a93zd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zdzz9bd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_univerInstanceService','Date','_refRangeHandle','getCollection','fetchThroughAsyncInterceptors','leftOffset','_pivotInitCompleted$','setPivotSetting','pbt','_sheetsPivotTableService','rgb(255,255,255)','toStringTag','ClearSelectionContentCommand','concat','batch','AddPivotFieldMutation','_updateModelCache','minDate','UniverCore','SetOptions','clearRenderCache','updatePivotTableRangeInfo','#FFFFFF','_deleteModelCache','RemoveRowMutation','handleSourceRangeChange','UpdateSource','getOriginFieldId','PivotCallbackEnum','SetPivotSetting','push','sheet.mutation.remove-pivot-table','_ensurePivotMap','getMatrix','_localeService','setPivotFilter','_ensureViewDataMap','setOptions','Inject','createCollectionWithDataRange','_onRefRangeChange','SheetsPivotRPCService','update','setDisplayName','isDateGroupFieldJSON','CustomCommandExecutionError','sheet.mutation.update-pivot-table-source-range','merge','_pivotConfigChange$','startCollectChangeset','updateDataFieldsCollection','getSheetBySheetId','hasField','232837hmdqCn','resetPivotTable','sheets-pivot.dateGroup.month','sheet.mutation.set-pivot-field-subtotal-type','endCollectChangeset','_globalComputedEndHelpFunc','Disposable','getSourceName','prototype','ClearSelectionAllCommand','CommandType','SetPivotTableConfig','PivotCellStyleTypeEnum','sheet.mutation.set-pivot-value-filter','getFieldInfo','_initDataSendListener','CellValueType','pageStyle','_toJSON','_viewData','RANGE_TYPE','originTargetInfo','1059258XhpJEn','Panel','maxDate','custom','sheets-pivot.other','sheets-pivot.config','Existing','MIN_SAFE_INTEGER','Minute','getConfig','_resourceManagerService','None','_collectionConfigModel','sheet.mutation.set-pivot-filter','BLANK_PLACEHOLDER','textInfo','serializeRangeWithSpreadsheet','SetSortInfo','Value','getValuePosition','tableFieldId','setConfig','RenamePivotFieldMutation','deleteField','dimension','setSubtotalType','_config','setFieldFormat','YearMonth','addPivotTableWithConfig','_sheetsSelectionsService','splice','sheet.mutation.set-pivot-collapse','@univerjs/engine-render','query','_ensurePivotTableMatrixInfo','sheets-pivot.varName','createInterceptorKey','Subject','getPivotPerformCheck','_viewUpdate$','updateDirtyPivotTable','sheets-pivot.dateGroup.minute','Rectangle','sheet.command.add-pivot-table','registerDirtyService','RemovePivotField','SetPivotSortCommand','originalFieldId','getCellMatrix','tuple','updateRenderCache','getSubtotal','asObservable','collapseInfo','dateGroupField','isEmpty','RemovePivotTableMutation','Product\x20of\x20','registerCommand','DrillDown','areaInfo','existing','getValueIndex','InterceptorEffectEnum','row','sheets-pivot.cellDateGroupDisplay.minute','FontCache','disposeWithMe','addCollectionByJSON','_globalSubject','Column\x20','getOwnPropertyDescriptor','3638968HETjUv','LocaleService','PivotTableViewDirtyMarkOperation','Filter','DataSyncPrimaryController','cellToRange','_initUnitDisposed','DEFAULT_PIVOT_NUMBER','amd','getMonth','Injector','sheets-pivot.sumName','getSortInfo','defaultThemeStyle','includes','Module','Quarter','sheets-pivot.countNumsName','registerCallbackWithEvent','setRangeValueRedoMutation','sheet.mutation.send-pivot-data-local','pageRanges','ptn','SetFieldFormat','SetPivotValueFilterMutation','get','name','setSourceName','handleMoveRange','new','getFieldIds','pivotTableIndexConfig','headerMap','removePivotField','Div0','ManualFilter','COMMAND','sheetName','rowFields','undos','setDirty','SetPivotCollapseMutation','UniverRpc','_fieldsCollectionChange$','fieldsConfig','colHeaderMap','_pivotRenderValueMatrixCache','getPivotTableInstance','subTotalStyle','count','getRangeStartEndInfo','find','createValueField','addFieldWithSourceId','sheet.mutation.remove-pivot-field','remove','getPivotTableInfo','sheets-pivot.stdDevName','getInterceptPoints','UpdatePivotFieldSourceInfoMutation','floor','getName','(Blank)','RenameField','_collectionChange$','SetPivotFilter','viewUpdate$','sheets-pivot.emptyPivot.row','setLabelFilterInfo','ReleaseType','getColumnCount','node','_subjectViewChange','_markDirty$','sheets-pivot.productName','10DVwtkR','@univerjs/engine-formula','sheets-pivot.emptyPivot.values','pivotTableConfigs','isDateValue','SetValuePivotFilter','getEmptyPivotRanges','RemoveField','document','dataFields','DependentOn','fieldIds','getLastCol','getAdjustRangesPosition','SetValueFilter','_viewData$','info','valueIndex','UpdateValuePosition','_initLocale','_commandService','dataFieldId','register','setPivotInitCompleted','PivotViewCellValueTypeEnum','function','viewData$','getFieldCountByArea','some','getRefRangeMutationsByMoveRange','_initPivotTextInfo','_textInfo','fromJSON','_ensurePivotTableRangeInfo','DEFAULT_WORKSHEET_ROW_COUNT','onStarting','unshift','sheets-pivot.grandTotal','rowRanges','contains','sheets-pivot.cellDateGroupDisplay.yearMonth','data','collections','UniverSheetsFilter','NUM','sortInfo','SheetsPivotTableAdaptorModel','getId','charCodeAt','object','PIVOT_MUTATION_GENERATE','PivotErrorTypeEnum','getPivotTableCellData','getSheetBySheetName','forRow','SetPivotFieldFormatMutation','Tools','getFilterInfo','registerSyncingMutations','level','InterceptorManager','numberToABC','sheets-pivot.averageName','refreshDataField','getAutoDisplayName','_configVersion$','getDataFieldByDataFieldId','_refRangeService','sheet.mutation.update-date-group','_initPivotDataGetListener','UpdateFieldPosition','keys','getFieldDataType','New','PivotSubtotalTypeEnum','UNIVER_SHEET','NO_COMMERCIAL','_featureCalculationManagerService','sheets-pivot.cellDateGroupDisplay.yearQuarter','ResetPivotFieldsConfigCommand','COLUMN','Var\x20of\x20','_dataFieldManagerCollection','updatePivotSource','ResetPivotTable','_requestResolvers','random','from','average','getSheets','generateNullCell','20ZCPKCW','sheet.command.update-pivot-table-source-range','sequenceExecute','deepClone','updatePivotTableMatrixInfo','getDirtyInfo','getDataFieldManager','updateRangeKeyMap','IResourceManagerService','DIV_BY_ZERO','cornerRanges','_sheetsPivotDataSourceModel','MovePivotTableCommand','ErrorType','deleteUnitId','YearQuarter','#b2b2b2','_ensurePivotItemRenderInfoCache','removeCollections','intersects','format','sheets-pivot.emptyPivot.filter','sheet.command.set-pivot-fields-config','UniverSheets','Expand','updateView','pivotTableId','startColumn','UpdatePivotTableSourceRangeMutation','toString','getCurrentSelections','intercept','shouldClear','var','other','getTextInfo','BLANK_ROW_COUNT','token','UpdatePivotFieldSettingCommand','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.varpName','value','getIndexesByPathStr','removePivotTable','Values','grandTotal','forValue','needSameDeleteModel','PivotDataFieldTypeEnum','Month','getDate','cornerStyle','blank','_initCommandInterceptListener','updateConfigCache','getSubUnitPivotConfigs','rangeKey','DataField','getTypeOfUnitDisposed$','SetCollapse','addPivotField','date','col','RefRangeService','_initClearSelectionCommandInterceptor','Plugin','width','Average\x20of\x20','getSheetCommandTarget','_deletePivotTableInstanceCache','executeCommand','symbol','updateCollectionConfig','InsertRowMutation','_subjectCollectionChange','BehaviorSubject','rangeKeyMap','adjustSheetCellData','return\x20','endColumn','getMatrixFromRunTimeData','stdDev','isFeatureAuthorizedWithinTime','updateFieldSourceInfo','PivotMultipleValueId','generateNewSheetName','Max\x20of\x20','substring','UniverInstanceType','range','_initViewModelBySheetInterceptor','sheet.command.remove-pivot-field','setName','getTargetByPivotTableId','getIntersectsPivotTable','addCollection','_host','sheets-pivot.blank','getRangeKey','set','isDate','SetSheetsFilterRangeMutation','handleAsyncResponse','NotNumber','isErrorValue','iterateField','varp','SetRangeValuesUndoMutationFactory','removeSourceRangeChange','addRecord','sheets.tabs.sheet','Row','NAME','DisposableCollection','getTargetByPivotId','HourMinute','iterateFieldByArea','MUTATION','workbook\x20is\x20not\x20found','broadcastCollectionChange','countNums','displayName','max','SetSubtotalType','dataRangeInfo','Year','fieldsCollectionChange$','getPivotCellInfo','delete','#1d32e9','limit\x20pivot','getAutoDisplayNameFunction','_init','4275837PzMwNp','getColumnWidth','sheets-pivot.cellDateGroupDisplay.date','AddPivotTableWithConfig','unionPivotViewRange','subscribe','bind','PivotTableValuePositionEnum','addPivotTable','deleteDataField','interceptor','split','RemoveSheetsFilterMutation','SetPivotOptionMutation','_initSnapshot','renameField','PivotTableChangeTypeEnum','unitId','panel','forEach','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','pushUndoRedo','addDirtyPivotTable','sheets-pivot.value'];_0xdf07=function(){return _0x5376f8;};return _0xdf07();}(function(_0x3555d0,_0x2357bb){const _0x25cdf3=_0x48e4,_0xffde02=_0x3555d0();while(!![]){try{const _0x5eb1ef=parseInt(_0x25cdf3(0x138))/0x1*(-parseInt(_0x25cdf3(0x2a5))/0x2)+parseInt(_0x25cdf3(0x143))/0x3+parseInt(_0x25cdf3(0x35c))/0x4*(-parseInt(_0x25cdf3(0x37d))/0x5)+-parseInt(_0x25cdf3(0x1b6))/0x6+parseInt(_0x25cdf3(0x371))/0x7*(parseInt(_0x25cdf3(0x1ff))/0x8)+parseInt(_0x25cdf3(0x32a))/0x9*(parseInt(_0x25cdf3(0x24a))/0xa)+-parseInt(_0x25cdf3(0x1a0))/0xb;if(_0x5eb1ef===_0x2357bb)break;else _0xffde02['push'](_0xffde02['shift']());}catch(_0x3a0423){_0xffde02['push'](_0xffde02['shift']());}}}(_0xdf07,0x3c90e),function(_0x3c4676,_0x583b9c){const _0x11d92e=_0x48e4;typeof exports==_0x11d92e(0x27b)&&typeof module<'u'?_0x583b9c(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x11d92e(0x263)&&define[_0x11d92e(0x207)]?define(['exports',_0x11d92e(0x3ee),_0x11d92e(0x380),_0x11d92e(0x24b),'@univerjs/sheets',_0x11d92e(0x355),'@univerjs-pro/license','@univerjs/sheets-filter',_0x11d92e(0x40d),_0x11d92e(0x1d7)],_0x583b9c):(_0x3c4676=typeof globalThis<'u'?globalThis:_0x3c4676||self,_0x583b9c(_0x3c4676['UniverProSheetsPivot']={},_0x3c4676['UniverProEnginePivot'],_0x3c4676[_0x11d92e(0x17d)],_0x3c4676['UniverEngineFormula'],_0x3c4676[_0x11d92e(0x2bc)],_0x3c4676[_0x11d92e(0x355)],_0x3c4676[_0x11d92e(0x3f1)],_0x3c4676[_0x11d92e(0x275)],_0x3c4676[_0x11d92e(0x229)],_0x3c4676['UniverEngineRender']));}(this,function(_0x141cd5,_0x5b2537,_0x1e9f36,_0xa39ce7,_0x18baff,_0x3ac110,_0x52512b,_0x29835b,_0x386027,_0x413c6d){'use strict';const _0x40b749=_0x48e4;var _0x1ec643=Object[_0x40b749(0x167)],_0x368ace=(_0xbf803a,_0x17a494,_0x194119)=>_0x17a494 in _0xbf803a?_0x1ec643(_0xbf803a,_0x17a494,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194119}):_0xbf803a[_0x17a494]=_0x194119,_0x3eeb3c=(_0x458f6a,_0x493389,_0x2fdc77)=>_0x368ace(_0x458f6a,typeof _0x493389!='symbol'?_0x493389+'':_0x493389,_0x2fdc77);const _0x5bf324=Number[_0x40b749(0x3ed)](0x68f84bf5),_0x3bde7f=0x10,_0x27fb1e=0x1,_0x44c80e=_0x40b749(0xfe),_0x378094=0x1,_0x4e11db=_0x40b749(0x397),_0x2bc6f0=_0x40b749(0x175),_0x121f52=_0x40b749(0x2b5),_0x276040='#f4f4f5',_0x23924d=_0x40b749(0x375),_0x1b6f6d=_0x40b749(0x132),_0x560d7d=_0x40b749(0x326),_0x997dcb=_0x40b749(0x181),_0x50897f='#e6ebfa',_0x451fb5=_0x40b749(0x326),_0x252f6d='#FFFFFF',_0x54fa82=_0x40b749(0x387),_0x1d296b=0xe,_0x569d74=0x6;var _0x13fe48=(_0x4c9092=>(_0x4c9092[_0x40b749(0x1bc)]=_0x40b749(0x1f4),_0x4c9092[_0x40b749(0x293)]=_0x40b749(0x21c),_0x4c9092))(_0x13fe48||{});const _0x183aed={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','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':''}}},_0x1e15e3=0x1e,_0x30ada5={'b':{'s':0x1,'cl':{'rgb':_0x121f52}},'l':{'s':0x1,'cl':{'rgb':_0x121f52}},'r':{'s':0x1,'cl':{'rgb':_0x121f52}},'t':{'s':0x1,'cl':{'rgb':_0x121f52}}},_0x5c8486={'bg':{'rgb':_0x4e11db},'ht':0x2,'vt':0x2,'tb':0x1},_0x1cdbb1={'bg':{'rgb':_0x2bc6f0},'ht':0x2,'vt':0x2,'tb':0x1},_0xfabaf7={'rowStyle':{'bg':{'rgb':_0x54fa82},'bd':_0x30ada5,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x451fb5},'bd':null,'cl':{'rgb':_0x252f6d},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x30ada5,'bg':{'rgb':_0x50897f},'vt':0x2},'cornerStyle':{'bd':_0x30ada5,'bg':{'rgb':_0x1b6f6d},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x30ada5,'bg':{'rgb':_0x276040},'vt':0x2},'leafStyle':{'bd':_0x30ada5,'bg':{'rgb':_0x23924d},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x560d7d},'cl':{'rgb':_0x997dcb},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x30ada5,'vt':0x2}};function _0x19036c(_0x53e14e,_0x2ea319,_0x3e4557){const _0x3482dc=_0x40b749,_0xef2c4c=_0x53e14e['get'](_0x1e9f36[_0x3482dc(0x200)]),_0x179837=_0x3e4557[_0x3482dc(0x335)]('_');switch(_0x2ea319){case _0x5b2537['PivotDateGroupFieldDateTypeEnum']['Year']:return _0xef2c4c['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x179837);case _0x5b2537[_0x3482dc(0x395)][_0x3482dc(0x1be)]:return _0xef2c4c['t'](_0x3482dc(0x1f8),..._0x179837);case _0x5b2537[_0x3482dc(0x395)][_0x3482dc(0x11e)]:return _0xef2c4c['t'](_0x3482dc(0x107),..._0x179837);case _0x5b2537[_0x3482dc(0x395)][_0x3482dc(0x318)]:return _0xef2c4c['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x179837);case _0x5b2537[_0x3482dc(0x395)][_0x3482dc(0x16c)]:return _0xef2c4c['t'](_0x3482dc(0x32c),..._0x179837);case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x3482dc(0x2d6)]:return _0xef2c4c['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x179837);case _0x5b2537[_0x3482dc(0x395)]['Quarter']:return _0xef2c4c['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x179837);case _0x5b2537[_0x3482dc(0x395)]['YearMonth']:return _0xef2c4c['t'](_0x3482dc(0x272),..._0x179837);case _0x5b2537['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:return _0xef2c4c['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x179837);case _0x5b2537[_0x3482dc(0x395)]['YearQuarter']:return _0xef2c4c['t'](_0x3482dc(0x298),..._0x179837);}return'';}const _0x356a93=(_0x1f3a1d,_0x2ab073,_0x3e9c86,_0x3b1f26)=>{const _0xb35feb=_0x40b749;let _0x2938ad;const _0x138b80=_0x1f3a1d[_0xb35feb(0x218)](_0x1e9f36['IUniverInstanceService'])[_0xb35feb(0x352)](_0x1e9f36[_0xb35feb(0x2fd)]['UNIVER_SHEET']);if(!_0x138b80)return null;const _0x11170e=_0x138b80['getStyles']();let _0x4aed2c;if(_0x3e9c86&&(_0x4aed2c=_0x11170e[_0xb35feb(0x147)](_0x3e9c86)),_0x2ab073!=null&&_0x2ab073['v']||(_0x2ab073==null?void 0x0:_0x2ab073['v'])===0x0){_0x2938ad||(_0x2938ad={});const _0x29f49d=_0x5db11f(_0x2ab073['v']);typeof _0x29f49d==_0xb35feb(0x14b)?_0x2938ad['t']=_0x1e9f36[_0xb35feb(0x1b0)][_0xb35feb(0x347)]:typeof _0x29f49d=='string'&&(_0x2938ad['t']=_0x1e9f36['CellValueType'][_0xb35feb(0x367)]),_0x2938ad['v']=_0x29f49d;}if((_0x2ab073!=null&&_0x2ab073['i']||(_0x2ab073==null?void 0x0:_0x2ab073['i'])===0x0)&&(_0x2938ad||(_0x2938ad={}),_0x2938ad['fi']=_0x2ab073['i']),_0x2ab073!=null&&_0x2ab073['s']&&(_0x2938ad||(_0x2938ad={}),_0x2938ad[_0xb35feb(0x173)]=_0x2ab073['s']),_0x3e9c86&&(_0x2938ad||(_0x2938ad={}),_0x2938ad['s']=_0x4aed2c),_0x3b1f26&&_0x2938ad!=null&&_0x2938ad['v']&&_0x2938ad[_0xb35feb(0x173)]!==_0x5b2537['PivotCellStyleTypeEnum']['GrandTotal']&&_0x2938ad[_0xb35feb(0x173)]!==_0x5b2537[_0xb35feb(0x1ac)][_0xb35feb(0x391)]){const _0x4eb7c0=String(_0x2938ad['v']),{dateType:_0x3fa0d3}=_0x3b1f26;_0x2938ad['v']=_0x19036c(_0x1f3a1d,_0x3fa0d3,_0x4eb7c0),_0x2938ad['t']=_0x1e9f36[_0xb35feb(0x1b0)][_0xb35feb(0x367)];}return _0x2938ad;},_0xd2bf56=(_0x4afe29,_0xab85c0,_0x478857,_0x1f4416)=>{const _0x5e99f1=_0x40b749;var _0x3b59d2,_0x535472,_0x281472,_0x5a28bb,_0x35d06c,_0x3ccd56,_0xac75fd,_0x3da65c,_0x2b413e,_0x2d3c06,_0x2b5c1f,_0xe7b695,_0x5974d3,_0x10b27e;const _0x25460a=_0x478857[_0x5e99f1(0x3e7)],{cornerView:_0x48726f,rowView:_0xbfb524,colView:_0x10521d,dataView:_0x3228c3,pageView:_0x33596b,formatMap:_0x39309b,groupInfo:_0x44dcf7}=_0xab85c0,{row:_0x9c6c28,col:_0x1de65c}=_0x25460a,_0x348a30=new _0x1e9f36[(_0x5e99f1(0x3e8))](),_0x49f74c={},_0x32b695={},_0x206ea0={},_0x142d87={},_0x3ffb10={};let _0x11507a=_0x9c6c28,_0x32e26f=_0x1de65c;Object[_0x5e99f1(0x291)](_0x33596b[_0x5e99f1(0x273)])[_0x5e99f1(0x33d)](_0xa01be6=>{const _0x36633a=_0x5e99f1;Object['keys'](_0x33596b['data'][Number(_0xa01be6)])[_0x36633a(0x33d)](_0x1cf23e=>{const _0x43fbd7=_0x36633a,_0xa5b981={..._0x33596b[_0x43fbd7(0x273)][Number(_0xa01be6)][Number(_0x1cf23e)]};_0x348a30[_0x43fbd7(0x147)](Number(_0xa01be6)+_0x11507a,Number(_0x1cf23e)+_0x32e26f,_0x356a93(_0x4afe29,_0xa5b981,_0xfabaf7[_0x43fbd7(0x1b1)]));});});const _0x299983=Object[_0x5e99f1(0x291)](_0x33596b[_0x5e99f1(0x273)])[_0x5e99f1(0x10b)];_0x11507a+=_0x299983+(_0x299983?_0x378094:0x0);const _0x2f448f=_0x48726f[_0x5e99f1(0x3fc)](),_0x43f6ce=_0x48726f[_0x5e99f1(0x133)]();for(let _0x32b713=0x0;_0x32b713<_0x2f448f;_0x32b713++)for(let _0x1544ef=0x0;_0x1544ef<_0x43f6ce;_0x1544ef++){const _0x48f2ca={...(_0x535472=(_0x3b59d2=_0x48726f['data'])==null?void 0x0:_0x3b59d2[_0x32b713])==null?void 0x0:_0x535472[_0x1544ef]};_0x48f2ca&&((_0x281472=_0xbfb524[_0x5e99f1(0x21f)][_0x1544ef])!=null&&_0x281472[_0x5e99f1(0x134)])&&_0x1544ef===_0x43f6ce-0x1&&_0x32b713===_0x2f448f-0x1&&(_0x48f2ca['v']=''+_0x1f4416[_0x5e99f1(0x341)]),_0x348a30[_0x5e99f1(0x147)](_0x32b713+_0x11507a,_0x1544ef+_0x32e26f,_0x356a93(_0x4afe29,_0x48f2ca,_0xfabaf7[_0x5e99f1(0x2d8)]));}for(let _0x3173c4=0x0;_0x3173c4<_0x48726f['info'][_0x5e99f1(0x10b)];_0x3173c4++)_0x48726f['info'][_0x3173c4]&&(_0x206ea0[''+(_0x3173c4+_0x32e26f)]=_0x48726f[_0x5e99f1(0x25a)][_0x3173c4]);_0x32e26f+=_0x43f6ce;const _0x506975=_0x10521d[_0x5e99f1(0x21f)],_0x1a94c6=_0x10521d['getLastRow']()>=0x0?_0x10521d[_0x5e99f1(0x3ea)]()+0x1:0x0,_0x184897=_0x10521d[_0x5e99f1(0x256)]()>=0x0?_0x10521d[_0x5e99f1(0x256)]()+0x1:0x0;for(let _0x197579=0x0;_0x197579<_0x184897;_0x197579++){for(let _0x12be2d=0x0;_0x12be2d<_0x1a94c6;_0x12be2d++){const _0x8e5ac4={...(_0x35d06c=(_0x5a28bb=_0x10521d[_0x5e99f1(0x273)])==null?void 0x0:_0x5a28bb[_0x12be2d])==null?void 0x0:_0x35d06c[_0x197579]},_0x2254ba=(_0x3ccd56=_0x506975[_0x12be2d])==null?void 0x0:_0x3ccd56['tableFieldId'],_0x25e166=_0x39309b[_0x2254ba],_0x39f741=_0x44dcf7[_0x2254ba];_0x8e5ac4&&(_0x8e5ac4['v']=_0x546530(_0x8e5ac4,_0x12be2d===0x0&&((_0xac75fd=_0x10521d['getHeaderMapItem'](_0x197579+0x1))==null?void 0x0:_0xac75fd[_0x5e99f1(0x134)]),_0x25e166,_0x1f4416));let _0x36403;_0x25e166?_0x36403={..._0xfabaf7[_0x5e99f1(0x3ec)],'n':{'pattern':_0x25e166}}:_0x36403={..._0xfabaf7['colStyle']},_0x348a30[_0x5e99f1(0x147)](_0x12be2d+_0x11507a,_0x197579+_0x32e26f,_0x356a93(_0x4afe29,_0x8e5ac4,_0x36403,_0x39f741));}_0x10521d[_0x5e99f1(0x25a)][_0x197579]&&(_0x32b695[''+(_0x197579+_0x32e26f)]=_0x10521d[_0x5e99f1(0x25a)][_0x197579]),_0x10521d[_0x5e99f1(0x21f)][_0x197579+0x1]&&(_0x3ffb10[''+(_0x197579+_0x11507a+0x1)]=_0x10521d[_0x5e99f1(0x21f)][_0x197579+0x1]);}_0x11507a+=_0x2f448f;const _0x16b94a=_0xbfb524[_0x5e99f1(0x21f)],_0x3891c6=_0xbfb524[_0x5e99f1(0x3ea)]()>=0x0?_0xbfb524['getLastRow']()+0x1:0x0,_0x43dc62=_0xbfb524[_0x5e99f1(0x256)]()>=0x0?_0xbfb524[_0x5e99f1(0x256)]()+0x1:0x0;for(let _0x54f24c=0x0;_0x54f24c<_0x3891c6;_0x54f24c++){for(let _0x32e7fc=0x0;_0x32e7fc<_0x43dc62;_0x32e7fc++){const _0x553bea={...(_0x2b413e=(_0x3da65c=_0xbfb524[_0x5e99f1(0x273)])==null?void 0x0:_0x3da65c[_0x54f24c])==null?void 0x0:_0x2b413e[_0x32e7fc]},_0x32262e=(_0x2d3c06=_0x16b94a[_0x32e7fc])==null?void 0x0:_0x2d3c06[_0x5e99f1(0x1ca)],_0xd714c7=_0x39309b[_0x32262e],_0x5e0cf9=_0x44dcf7[_0x32262e];_0x553bea&&(_0x553bea['v']=_0x546530(_0x553bea,!0x1,_0xd714c7,_0x1f4416));let _0x449c60;_0xbfb524['info'][_0x54f24c][_0x5e99f1(0x285)]===_0xbfb524[_0x5e99f1(0x133)]()?_0x449c60=_0xfabaf7['leafStyle']:_0xbfb524['info'][_0x54f24c]['isBottomTotal']?_0x449c60=_0xbfb524['info'][_0x54f24c][_0x5e99f1(0x285)]===0x0?_0xfabaf7[_0x5e99f1(0x2d2)]:_0xfabaf7[_0x5e99f1(0x22f)]:_0x449c60=_0xfabaf7['rowStyle'],_0xd714c7&&(_0x449c60={..._0x449c60,'n':{'pattern':_0xd714c7}}),_0x348a30['setValue'](_0x54f24c+_0x11507a,_0x32e7fc+_0x1de65c,_0x356a93(_0x4afe29,_0x553bea,_0x449c60,_0x5e0cf9));}_0xbfb524[_0x5e99f1(0x25a)][_0x54f24c]&&(_0x49f74c[''+(_0x54f24c+_0x11507a)]=_0xbfb524[_0x5e99f1(0x25a)][_0x54f24c]),_0xbfb524['headerMap'][_0x54f24c]&&(_0x142d87[''+(_0x54f24c+_0x1de65c)]=_0xbfb524[_0x5e99f1(0x21f)][_0x54f24c]);}const _0x9f0b51=_0x3228c3[_0x5e99f1(0x3fc)](),_0x2901a7=_0x3228c3['getColCount']();for(let _0xf575d4=0x0;_0xf575d4<_0x9f0b51;_0xf575d4++)for(let _0x26dff3=0x0;_0x26dff3<_0x2901a7;_0x26dff3++){const _0xc02322={...(_0xe7b695=(_0x2b5c1f=_0x3228c3[_0x5e99f1(0x273)])==null?void 0x0:_0x2b5c1f[_0xf575d4])==null?void 0x0:_0xe7b695[_0x26dff3]};let _0x4fb5a7;_0xbfb524[_0x5e99f1(0x25a)][_0xf575d4][_0x5e99f1(0x165)]?_0x4fb5a7=_0xbfb524[_0x5e99f1(0x25a)][_0xf575d4][_0x5e99f1(0x285)]===0x0?_0xfabaf7[_0x5e99f1(0x2d2)]:_0xfabaf7[_0x5e99f1(0x22f)]:_0x4fb5a7=_0xfabaf7[_0x5e99f1(0x3ce)];const _0x30440d=_0xbfb524[_0x5e99f1(0x25a)][_0xf575d4][_0x5e99f1(0x25b)],_0x194acd=_0x10521d[_0x5e99f1(0x25a)][_0x26dff3][_0x5e99f1(0x25b)],_0x3eccbd=Math[_0x5e99f1(0x31f)](_0x30440d,_0x194acd),_0x33d5a6=_0x478857['fieldsConfig']['valueFields'][_0x5e99f1(0x178)]();let _0x43dee1='';_0x3eccbd<0x0?_0x43dee1=(_0x5974d3=_0x33d5a6[0x0])!=null?_0x5974d3:'':_0x43dee1=(_0x10b27e=_0x33d5a6[_0x3eccbd])!=null?_0x10b27e:'';const _0x45075c=_0x39309b[_0x43dee1];_0x45075c&&(_0x4fb5a7={..._0x4fb5a7,'n':{'pattern':_0x45075c}}),_0x348a30['setValue'](_0xf575d4+_0x11507a,_0x26dff3+_0x32e26f,_0x356a93(_0x4afe29,_0xc02322,_0x4fb5a7));}return{'valueMatrix':_0x348a30,'rowInfo':_0x49f74c,'colInfo':_0x32b695,'cornerInfo':_0x206ea0,'rowHeaderMap':_0x142d87,'colHeaderMap':_0x3ffb10};};function _0x546530(_0x2aeae3,_0x405254,_0xc018,_0x2c9b04){const _0x4614cd=_0x40b749;let _0x437d9c=_0x2aeae3['v'];_0x405254&&(_0x437d9c=''+_0x2c9b04[_0x4614cd(0x341)]);const _0x4c6fb=_0x2aeae3['t']&&(_0x2aeae3['t']&_0x5b2537[_0x4614cd(0x262)][_0x4614cd(0x2d9)])>0x0;_0x4c6fb&&(_0x437d9c=''+_0x2c9b04['sheets-pivot.blank']);const _0x48ab39=_0x2aeae3['t']&&(_0x2aeae3['t']&_0x5b2537['PivotViewCellValueTypeEnum'][_0x4614cd(0x2c7)])>0x0;if(_0x48ab39&&(_0x437d9c=''+_0x2c9b04[_0x4614cd(0x1ba)]),_0x2aeae3['s']===_0x5b2537[_0x4614cd(0x1ac)][_0x4614cd(0x391)]){let _0x2757e5=_0x437d9c,_0x67cb4d='';_0x5b2537[_0x4614cd(0x37a)](_0x437d9c)&&(_0x2757e5=_0x437d9c['prefix'],_0x67cb4d=_0x437d9c[_0x4614cd(0x2ce)]);const _0xf28b3d=_0xc018&&!_0x4c6fb&&!_0x48ab39?_0x1e9f36[_0x4614cd(0x3c8)]['format'](_0xc018,Number(_0x2757e5)):_0x2757e5;_0x67cb4d?_0x437d9c=_0xf28b3d+'\x20'+_0x67cb4d:_0x437d9c=_0xf28b3d+'\x20'+_0x2c9b04[_0x4614cd(0x126)];}else _0x2aeae3['s']===_0x5b2537['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x437d9c=_0x437d9c+'\x20'+_0x2c9b04[_0x4614cd(0x26f)]);return _0x437d9c;}function _0x5db11f(_0x5dee9d){const _0x24ec1a=_0x40b749;if(_0x5b2537[_0x24ec1a(0x30d)](_0x5dee9d)){const {errorType:_0x48308}=_0x5dee9d;switch(_0x48308){case _0x5b2537[_0x24ec1a(0x27d)][_0x24ec1a(0x221)]:return _0xa39ce7[_0x24ec1a(0x2b2)][_0x24ec1a(0x2ae)];case _0x5b2537[_0x24ec1a(0x27d)][_0x24ec1a(0x30c)]:return _0xa39ce7['ErrorType'][_0x24ec1a(0x276)];case _0x5b2537['PivotErrorTypeEnum'][_0x24ec1a(0x3c0)]:return _0xa39ce7[_0x24ec1a(0x2b2)][_0x24ec1a(0x315)];case _0x5b2537[_0x24ec1a(0x27d)][_0x24ec1a(0x3af)]:return _0xa39ce7[_0x24ec1a(0x2b2)][_0x24ec1a(0x315)];case _0x5b2537[_0x24ec1a(0x27d)]['BadReference']:return _0xa39ce7[_0x24ec1a(0x2b2)]['REF'];}}return _0x5dee9d;}function _0x47b32b(_0xca33be,_0x439995,_0x53e99c=!0x1,_0x5df465=!0x1){const _0xdc49a2=_0x40b749,{data:_0x4ef676}=_0x439995,_0x1ca6d9=_0x439995['getRowCount'](),_0x3539d1=_0x439995['getColCount']();if(_0x1ca6d9<=0x0||_0x3539d1<=0x0)return[];const _0x27ced0=_0x439995[_0xdc49a2(0x256)](),_0x22cd8e=_0x439995[_0xdc49a2(0x3ea)](),_0x5710d7=_0x5df465?_0x22cd8e>=0x0?_0x22cd8e+0x1:0x0:_0x1ca6d9,_0x5f0d98=_0x5df465?_0x27ced0>=0x0?_0x27ced0+0x1:0x0:_0x3539d1,{row:_0x491e30,col:_0x3f8a92}=_0xca33be,_0x29d096=_0x491e30,_0x216c3b=_0x3f8a92;if(_0x53e99c){const _0x495aad=[];for(const [_0x3edb2b,_0x579fdc]of Object[_0xdc49a2(0x35f)](_0x4ef676))for(const [_0x29a63c,_0x646aab]of Object['entries'](_0x579fdc))_0x495aad[_0xdc49a2(0x189)](_0x1e9f36['cellToRange'](_0x29d096+Number(_0x3edb2b),_0x216c3b+Number(_0x29a63c)));return _0x495aad;}else{const _0x41bf4f=_0x5df465?_0x5710d7>0x0?0x1:0x0:0x1,_0x19faf9=_0x5df465?_0x5f0d98>0x0?0x1:0x0:0x1,_0x9d61f0=_0x491e30+_0x5710d7-_0x41bf4f,_0x1fcec2=_0x3f8a92+_0x5f0d98-_0x19faf9;return[{'startRow':_0x29d096,'startColumn':_0x216c3b,'endRow':_0x9d61f0,'endColumn':_0x1fcec2}];}}const _0x24b195=_0x40b749(0x3f8),_0x5063a7='SHEET_PIVOT_EXCLUSIVE_ID';var _0x529957=(_0x295add=>(_0x295add['Filter']=_0x40b749(0x3cd),_0x295add[_0x40b749(0x1b7)]=_0x40b749(0x33c),_0x295add[_0x40b749(0x3a7)]='addPivotField',_0x295add['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x295add[_0x40b749(0x3ad)]=_0x40b749(0x332),_0x295add[_0x40b749(0x39d)]=_0x40b749(0x13a),_0x295add[_0x40b749(0x1e4)]=_0x40b749(0x220),_0x295add['SetPivotCollapse']=_0x40b749(0x15a),_0x295add[_0x40b749(0x240)]=_0x40b749(0x18e),_0x295add[_0x40b749(0x13d)]=_0x40b749(0x3e4),_0x295add[_0x40b749(0x188)]=_0x40b749(0x172),_0x295add[_0x40b749(0x139)]='updatePivotSource',_0x295add[_0x40b749(0x25c)]='updateValuePosition',_0x295add[_0x40b749(0x1f2)]='drillDown',_0x295add[_0x40b749(0x24f)]=_0x40b749(0x361),_0x295add[_0x40b749(0x1ab)]='setPivotTableConfig',_0x295add[_0x40b749(0x29e)]='resetPivotTable',_0x295add))(_0x529957||{});const _0x5e34e7={'sheets-pivot.blankValue':_0x40b749(0x23d),'sheets-pivot.columnName':_0x40b749(0x1fd),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x40b749(0x1c8),'sheets-pivot.averageName':_0x40b749(0x2e8),'sheets-pivot.countName':_0x40b749(0x37b),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x40b749(0x2fb),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x40b749(0x1f0),'sheets-pivot.stdDevName':_0x40b749(0x3fa),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x40b749(0x11b),'sheets-pivot.varName':_0x40b749(0x29b),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x40b749(0x391),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.other':_0x40b749(0x2c7),'sheets-pivot.emptyPivot.filter':_0x40b749(0x202),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x40b749(0x3c2),'sheets-pivot.emptyPivot.values':_0x40b749(0x2d1)},_0x417674={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3a1900=_0x1e9f36[_0x40b749(0x378)]('pivotPerformCheck'),_0x457091=_0x1e9f36[_0x40b749(0x1db)]('pivotMutationGenerate');var _0x9d49ed=(_0x9bfe0f=>(_0x9bfe0f[_0x40b749(0x10f)]=_0x40b749(0x10f),_0x9bfe0f[_0x40b749(0x325)]=_0x40b749(0x325),_0x9bfe0f[_0x40b749(0x195)]='update',_0x9bfe0f))(_0x9d49ed||{}),_0x40d428=(_0x314607=>(_0x314607[_0x40b749(0x156)]='add',_0x314607[_0x40b749(0x349)]=_0x40b749(0x308),_0x314607['Delete']='delete',_0x314607))(_0x40d428||{});const _0x558d37={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x4ba20e={'type':_0x1e9f36[_0x40b749(0x1aa)]['MUTATION'],'id':_0x40b749(0x213),'handler':()=>!0x0},_0x514600={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x8ffc70={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':_0x40b749(0x120),'handler':()=>!0x0},_0x5c0f40={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':_0x40b749(0x14e),'handler':()=>!0x0};var _0x530949=Object[_0x40b749(0x1fe)],_0x23d9e3=(_0x5e5cb0,_0x49c403,_0x2713d5,_0x24e871)=>{const _0x18a5dc=_0x40b749;for(var _0x4cfe60=_0x24e871>0x1?void 0x0:_0x24e871?_0x530949(_0x49c403,_0x2713d5):_0x49c403,_0x443c0e=_0x5e5cb0[_0x18a5dc(0x10b)]-0x1,_0x12989b;_0x443c0e>=0x0;_0x443c0e--)(_0x12989b=_0x5e5cb0[_0x443c0e])&&(_0x4cfe60=_0x12989b(_0x4cfe60)||_0x4cfe60);return _0x4cfe60;},_0x42fc6e=(_0xe4d0b2,_0x5adbba)=>(_0x48a57e,_0x6cfe48)=>_0x5adbba(_0x48a57e,_0x6cfe48,_0xe4d0b2);_0x141cd5[_0x40b749(0x194)]=class extends _0x1e9f36['Disposable']{constructor(_0x1d8672){const _0x2d3e72=_0x40b749;super(),_0x3eeb3c(this,_0x2d3e72(0x29f),new Map()),this[_0x2d3e72(0x25e)]=_0x1d8672;}[_0x40b749(0x30b)](_0x91244){const _0x3c3be0=_0x40b749,{version:_0xafddc5}=_0x91244,_0xce39a1=this[_0x3c3be0(0x29f)][_0x3c3be0(0x218)](_0xafddc5);_0xce39a1&&(_0xce39a1(_0x91244),this[_0x3c3be0(0x29f)][_0x3c3be0(0x325)](_0xafddc5));}[_0x40b749(0x3b2)](_0x29fb4c){return new Promise((_0x5cf22e,_0xc75fb3)=>{const _0x2b040d=_0x48e4,_0x47eee2=this['_generateUniqueVersion']();this[_0x2b040d(0x29f)]['set'](_0x47eee2,_0x5cf22e),this[_0x2b040d(0x25e)][_0x2b040d(0x2eb)](_0x558d37['id'],{'version':_0x47eee2,..._0x29fb4c},{'onlyLocal':!0x0});});}[_0x40b749(0x37c)](){const _0x5de2f0=_0x40b749;return Math[_0x5de2f0(0x2a0)]()[_0x5de2f0(0x2c2)](0x24)[_0x5de2f0(0x2fc)](0x2,0x10);}},_0x141cd5['SheetsPivotRPCService']=_0x23d9e3([_0x42fc6e(0x0,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x3a6)]))],_0x141cd5[_0x40b749(0x194)]);const _0x4e7953={0x0:'0',0x1:'k',0x2:'C',0x3:'l',0x4:'8',0x5:'7',0x6:'Z',0x7:'A',0x8:'9',0x9:'a','H':'1','s':'2','u':'3','n':'4','W':'5','o':'6','e':'b','S':'c','r':'d','d':'e','a':'f','b':'g','Q':'h','j':'i','p':'j','Z':'m','T':'n','k':'o','g':'p','N':'q','E':'r','z':'s','h':'t','U':'u','G':'v','O':'w','K':'x','Y':'y','A':'z','x':'B','X':'D','w':'E','D':'F','B':'G','v':'H','I':'I','f':'J','y':'K','l':'L','m':'M','M':'N','J':'O','i':'P','C':'Q','V':'R','F':'S','q':'T','c':'U','R':'V','t':'W','L':'X','P':'Y'},_0x43d6d0=_0x40b749(0x16a),_0x503be4=_0x14038f=>{const _0x263278=_0x40b749;var _0x1e3fae;return((_0x1e3fae=_0x14038f['body'])==null?void 0x0:_0x1e3fae['dataStream'][_0x263278(0x12e)](/\r\n$/,''))||'';};class _0x544ff3 extends _0x5b2537['DataFieldManager']{constructor(_0x52f103,_0x41c4d8){const _0x3287fa=_0x40b749;super(),_0x3eeb3c(this,_0x3287fa(0x2f1),{}),_0x3eeb3c(this,_0x3287fa(0x16b)),_0x3eeb3c(this,_0x3287fa(0x305)),(this[_0x3287fa(0x16b)]=_0x41c4d8,this[_0x3287fa(0x305)]=_0x52f103);}['initDataRanges'](){const _0x7fa9d5=_0x40b749;for(const _0x337ee3 in this[_0x7fa9d5(0x253)]){const _0x145552=this['dataFields'][_0x337ee3],_0x393347=_0x145552['getRangeKey']();this['rangeKeyMap'][_0x393347]=_0x145552[_0x7fa9d5(0x279)]();}}[_0x40b749(0x328)](){const _0x85ab4e=_0x40b749,_0x3b16d4=this['_host'];return _0x2c8668[_0x85ab4e(0x330)](_0x3b16d4);}[_0x40b749(0x333)](_0x2840f8){const _0x12d86d=_0x40b749,_0x48fe00=this[_0x12d86d(0x253)][_0x2840f8]['rangeKey'];delete this[_0x12d86d(0x253)][_0x2840f8],delete this[_0x12d86d(0x2f1)][_0x48fe00];}[_0x40b749(0x410)](_0x48b8a6){const _0x4f238c=_0x40b749;this[_0x4f238c(0x253)][_0x48b8a6[_0x4f238c(0x279)]()]=_0x48b8a6;}[_0x40b749(0x36b)](_0x101c68){const _0x1d34a9=_0x40b749;var _0x56c6d5,_0x3ba336;const _0x530d56=this[_0x1d34a9(0x305)][_0x1d34a9(0x317)](_0x101c68);if(_0x530d56){const {unitId:_0xb4ce9c,subUnitId:_0x21281f}=_0x530d56,_0x4b898a=(_0x56c6d5=this[_0x1d34a9(0x305)][_0x1d34a9(0x3d3)](_0xb4ce9c,_0x21281f,_0x101c68))==null?void 0x0:_0x56c6d5[_0x1d34a9(0x129)];this[_0x1d34a9(0x305)]['broadcastCollectionChange']({'token':_0x101c68,'type':_0x9d49ed['delete'],'dataRangeInfo':_0x4b898a});}(_0x3ba336=this[_0x1d34a9(0x16e)](_0x101c68))==null||_0x3ba336['dispose'](),delete this['collections'][_0x101c68];}['getRangeKey'](_0x2cd1b0,_0x52b6a9){const _0x57a762=_0x40b749,{sheetName:_0x2dc750,unitId:_0x4dfab4,range:_0x4dddf6}=_0x2cd1b0,{startRow:_0x46ed0c,endRow:_0x29087f}=_0x4dddf6;return _0xa39ce7[_0x57a762(0x1c6)](_0x4dfab4,_0x2dc750,{'startRow':_0x46ed0c,'endRow':_0x29087f,'startColumn':_0x52b6a9,'endColumn':_0x52b6a9});}[_0x40b749(0x151)](_0x48535a){return this['dataFields'][this['rangeKeyMap'][_0x48535a]];}['setRangeKeyMap'](_0x1e4538,_0x31467){const _0x49f555=_0x40b749;this[_0x49f555(0x2f1)][_0x1e4538]=_0x31467;}[_0x40b749(0x2ac)](_0x30f7f2,_0x5e8879){const _0x521e74=_0x40b749;this[_0x521e74(0x2f1)][_0x5e8879]=this[_0x521e74(0x2f1)][_0x30f7f2],delete this[_0x521e74(0x2f1)][_0x30f7f2];}['addCollectionByJSON'](_0x39285d,_0x5773a9,_0x1ee1f1,_0x523c6c){const _0x36a82d=_0x40b749,_0x3dbe4a=new _0x5b2537['FieldsCollection'](this);_0x3dbe4a[_0x36a82d(0x26a)](_0x5773a9);const _0x30876e=[];let _0x784e27=0x0;for(const _0x57fbbd of _0x3dbe4a[_0x36a82d(0x255)]){const _0x5be228=this[_0x36a82d(0x307)](_0x1ee1f1,_0x784e27),_0x5e3ceb=this[_0x36a82d(0x253)][_0x57fbbd];_0x5e3ceb&&(_0x5e3ceb[_0x36a82d(0x2dd)]=_0x5be228,this['setRangeKeyMap'](_0x5be228,_0x57fbbd),_0x30876e[_0x36a82d(0x189)]({'index':_0x784e27,'dataField':_0x5e3ceb})),_0x784e27++;}return this[_0x36a82d(0x304)](_0x39285d,_0x3dbe4a,_0x1ee1f1,_0x523c6c),{'collection':_0x3dbe4a,'updateDataFieldList':_0x30876e};}[_0x40b749(0x231)](_0x40a446,_0x468807){const _0x524fe2=_0x40b749;return _0x40a446[_0x524fe2(0x3f0)]===_0x1e9f36[_0x524fe2(0x1b4)][_0x524fe2(0x29a)]?{'startRow':0x0,'startColumn':_0x40a446[_0x524fe2(0x2c0)],'endRow':_0x468807[_0x524fe2(0x3fc)]()-0x1,'endColumn':_0x40a446[_0x524fe2(0x2f4)]}:{'startRow':_0x40a446['startRow'],'startColumn':_0x40a446['startColumn'],'endRow':_0x40a446[_0x524fe2(0x3c5)],'endColumn':_0x40a446[_0x524fe2(0x2f4)]};}[_0x40b749(0x192)](_0x44e451){const _0x5241f5=_0x40b749,{sheetName:_0x48752a,range:_0x2e3bad}=_0x44e451,_0x241d39=this[_0x5241f5(0x16b)][_0x5241f5(0x352)](_0x1e9f36[_0x5241f5(0x2fd)]['UNIVER_SHEET']),_0x479756=_0x241d39[_0x5241f5(0x27f)](_0x48752a),_0x10ea61=_0x479756[_0x5241f5(0x1e7)](),{startColumn:_0x2a0c6b,startRow:_0x220bf6,endColumn:_0x31337d}=this[_0x5241f5(0x231)](_0x2e3bad,_0x479756),_0x4455ae=_0x241d39[_0x5241f5(0x403)](),_0x3c86e1=new _0x5b2537[(_0x5241f5(0x358))](this);_0x3c86e1[_0x5241f5(0x3c3)](_0x44e451);const _0x5626be=[],_0x2fd38a={};for(let _0x3f1423=_0x2a0c6b;_0x3f1423<=_0x31337d;_0x3f1423++){const _0x56b982=_0x10ea61[_0x5241f5(0x3dd)](_0x220bf6,_0x3f1423),_0x2bee0a=this[_0x5241f5(0x307)](_0x44e451,_0x3f1423),_0xb5e4d6=this[_0x5241f5(0x151)](_0x2bee0a);if(_0xb5e4d6)_0x3c86e1[_0x5241f5(0x3d8)](_0xb5e4d6[_0x5241f5(0x279)](),_0xb5e4d6[_0x5241f5(0x23c)]());else{const _0x450432=this[_0x5241f5(0x404)]();let _0x111c43=this[_0x5241f5(0x2f2)](_0x56b982,_0x4455ae,_0x2fd38a);_0x5b2537['isDateValue'](_0x111c43)&&(_0x111c43=_0x1e9f36[_0x5241f5(0x3c8)]['format'](_0x111c43['f'],Number(_0x111c43['v'])));const _0x188ba0=this[_0x5241f5(0x345)](_0x111c43,_0x3f1423),_0x64011e=new _0x5b2537[(_0x5241f5(0x2de))](_0x450432,_0x188ba0,_0x5b2537[_0x5241f5(0x406)](0x3));_0x64011e['rangeKey']=_0x2bee0a,this['dataFields'][_0x450432]=_0x64011e,_0x3c86e1[_0x5241f5(0x3d8)](_0x450432,_0x188ba0),_0x5626be[_0x5241f5(0x189)]({'index':_0x3f1423,'dataField':_0x64011e});}}return{'updateDataFieldList':_0x5626be,'collection':_0x3c86e1};}[_0x40b749(0x10e)](_0x296b99){const _0xc70f45=_0x40b749;return this[_0xc70f45(0x305)][_0xc70f45(0x2c8)]()[_0xc70f45(0x351)]+'\x20'+_0x1e9f36[_0xc70f45(0x287)](_0x296b99);}[_0x40b749(0x345)](_0x2e8e0a,_0x45f205){const _0x262f75=_0x40b749;return _0x2e8e0a==null||_0x2e8e0a===''?this[_0x262f75(0x10e)](_0x45f205):String(_0x2e8e0a);}[_0x40b749(0x16e)](_0x179e1c){const _0x54bb8e=_0x40b749;return this[_0x54bb8e(0x274)][_0x179e1c];}[_0x40b749(0x304)](_0x11ebc0,_0x406baf,_0x425df9,_0x56d3fa){const _0x71058c=_0x40b749;this[_0x71058c(0x274)][_0x11ebc0]=_0x406baf,_0x406baf[_0x71058c(0x3c3)](_0x425df9),this[_0x71058c(0x305)]['broadcastCollectionChange']({'token':_0x11ebc0,'type':_0x9d49ed[_0x71058c(0x10f)],'dataRangeInfo':_0x425df9,'targetCellInfo':_0x56d3fa});}['handleMoveRange'](_0x10fce9,_0x4923e5){const _0x19d27d=_0x40b749,_0x49fc8d=this[_0x19d27d(0x16e)](_0x10fce9),_0x3d32b0=_0x49fc8d[_0x19d27d(0x21d)]();let _0x31d2ee=0x0;for(const _0x1b608d of _0x3d32b0){const _0x407532=_0x49fc8d[_0x19d27d(0x3e2)](_0x1b608d),_0x2daff2=this['getRangeKey'](_0x4923e5,_0x31d2ee);this[_0x19d27d(0x2ac)](_0x407532['rangeKey'],_0x2daff2),_0x31d2ee++;}}[_0x40b749(0x3b7)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x220e26,_0x2effd3){const _0x2ee9e6=_0x40b749;if(this[_0x2ee9e6(0x16e)](_0x220e26)){const _0x4d9ec4=this[_0x2ee9e6(0x164)](_0x2effd3),_0x1599be=[];for(const _0xad12c1 of _0x4d9ec4)this[_0x2ee9e6(0x2f1)][_0xad12c1]!==void 0x0&&_0x1599be['push'](this[_0x2ee9e6(0x2f1)][_0xad12c1]);const _0x21c9e2=this[_0x2ee9e6(0x39e)](_0x220e26),_0x54c6a4=[],_0x494506=new Set(_0x1599be);for(const _0x185a3b of _0x21c9e2)_0x494506[_0x2ee9e6(0x109)](_0x185a3b)||_0x54c6a4[_0x2ee9e6(0x189)](_0x185a3b);return _0x54c6a4;}}[_0x40b749(0x157)](_0x5e444a,_0x166b89,_0x13b137,_0x1d4a68,_0x5b2b87){const _0x45551c=_0x40b749;return _0x166b89&&_0x166b89['getValue'](_0x1d4a68,_0x5b2b87)?_0x166b89[_0x45551c(0x3dd)](_0x1d4a68,_0x5b2b87):_0x13b137&&_0x13b137[_0x45551c(0x3dd)](_0x1d4a68,_0x5b2b87)?_0x13b137[_0x45551c(0x3dd)](_0x1d4a68,_0x5b2b87):_0x5e444a[_0x45551c(0x3dd)](_0x1d4a68,_0x5b2b87);}[_0x40b749(0x289)](_0x3a76dc,_0x145a5d,_0x1dea1f,_0xc3253){const _0x46e717=_0x40b749,_0x1fe977=this[_0x46e717(0x253)][_0x3a76dc];if(!_0x1fe977)return;const {subUnitId:_0x70d9ae,range:_0x34f2c8,unitId:_0x253a79}=_0x145a5d,_0x5bab79=this[_0x46e717(0x16b)]['getUnit'](_0x253a79);if(!_0x5bab79){console['error'](_0x46e717(0x31b));return;}const _0x45ca6c=_0x5bab79['getSheetBySheetId'](_0x70d9ae),_0x54f5c2=_0x45ca6c[_0x46e717(0x1e7)](),{arrayFormulaCellDataMatrix:_0x5aea70,unitDataMatrix:_0xf2fa52}=_0xc3253||{},{startRow:_0x54589f,startColumn:_0x1c19b4,endRow:_0x5e0fb3}=this[_0x46e717(0x231)](_0x34f2c8,_0x45ca6c);_0x1fe977[_0x46e717(0x3bd)]();const _0x5c7258=_0x5bab79[_0x46e717(0x403)](),_0x405742={},_0xf20872=this[_0x46e717(0x157)](_0x54f5c2,_0x5aea70,_0xf2fa52,_0x54589f,_0x1c19b4+_0x1dea1f);let _0x5ac8a8=this[_0x46e717(0x2f2)](_0xf20872,_0x5c7258,_0x405742);_0x5b2537[_0x46e717(0x24e)](_0x5ac8a8)&&(_0x5ac8a8=_0x1e9f36[_0x46e717(0x3c8)][_0x46e717(0x2b9)](_0x5ac8a8['f'],Number(_0x5ac8a8['v'])));const _0x19924a=this['uniqueDataFieldName'](_0x5ac8a8,_0x1c19b4+_0x1dea1f);_0x1fe977['setName'](_0x19924a);for(let _0x3ab671=_0x54589f+0x1;_0x3ab671<=_0x5e0fb3;_0x3ab671++){const _0x12ce51=this['getMatrixValue'](_0x54f5c2,_0x5aea70,_0xf2fa52,_0x3ab671,_0x1c19b4+_0x1dea1f);_0x1fe977[_0x46e717(0x312)](this[_0x46e717(0x2f2)](_0x12ce51,_0x5c7258,_0x405742),_0x3ab671-0x1-_0x54589f);}}['refreshData'](_0x4c3777,_0x5ae7d0,_0x46e4ba){const _0x4b2a24=_0x40b749,{subUnitId:_0x5d69c3,range:_0x238e4d,unitId:_0x35c205}=_0x46e4ba,_0x18857b=this[_0x4b2a24(0x16b)][_0x4b2a24(0x34a)](_0x35c205);if(!_0x18857b){console['error'](_0x4b2a24(0x31b));return;}const _0x50b67f=_0x18857b[_0x4b2a24(0x19e)](_0x5d69c3),_0x12f4ba=_0x50b67f[_0x4b2a24(0x1e7)](),{startRow:_0x856ab7,startColumn:_0x4f1063,endRow:_0x22f172}=this[_0x4b2a24(0x231)](_0x238e4d,_0x50b67f),_0xa3e1ad=_0x18857b['getStyles'](),_0x44ae28={};for(const {dataField:_0x268d2a,index:_0x78489c}of _0x5ae7d0){_0x268d2a['reset']();const _0x3dcb49=this[_0x4b2a24(0x157)](_0x12f4ba,void 0x0,void 0x0,_0x856ab7,_0x4f1063+_0x78489c);let _0x3e97a3=this[_0x4b2a24(0x2f2)](_0x3dcb49,_0xa3e1ad,_0x44ae28);_0x5b2537[_0x4b2a24(0x24e)](_0x3e97a3)&&(_0x3e97a3=_0x1e9f36[_0x4b2a24(0x3c8)]['format'](_0x3e97a3['f'],Number(_0x3e97a3['v'])));const _0x53a4c8=this[_0x4b2a24(0x345)](_0x3e97a3,_0x4f1063+_0x78489c);_0x268d2a[_0x4b2a24(0x301)](_0x53a4c8);}_0x4c3777[_0x4b2a24(0x3a1)]();for(let _0x106df7=_0x856ab7+0x1;_0x106df7<=_0x22f172;_0x106df7++)for(const {index:_0x5232eb,dataField:_0x2f38cf}of _0x5ae7d0){const _0x2ff1d9=_0x12f4ba[_0x4b2a24(0x3dd)](_0x106df7,_0x4f1063+_0x5232eb);_0x2f38cf[_0x4b2a24(0x312)](this[_0x4b2a24(0x2f2)](_0x2ff1d9,_0xa3e1ad,_0x44ae28),_0x106df7-0x1-_0x856ab7);}_0x4c3777[_0x4b2a24(0x103)](_0x22f172-_0x856ab7);}[_0x40b749(0x164)](_0x1206d0){const _0x10bf34=_0x40b749,{range:_0x4aec18}=_0x1206d0,{startColumn:_0x564a94,endColumn:_0x26901a}=_0x4aec18,_0x3c810c=[];for(let _0x2b0208=_0x564a94;_0x2b0208<=_0x26901a;_0x2b0208++)_0x3c810c[_0x10bf34(0x189)](this['getRangeKey'](_0x1206d0,_0x2b0208));return _0x3c810c;}[_0x40b749(0x2f2)](_0x16cd99,_0x5e50b6,_0x5955a8){const _0x305db7=_0x40b749;if(_0x16cd99){const {s:_0x575663,v:_0x16281f,t:_0xffb91,p:_0x382059}=_0x16cd99;if(_0x382059)return _0x503be4(_0x382059);const _0x48e57a=_0x5e50b6[_0x305db7(0x218)](_0x575663);if(_0x48e57a&&_0xffb91===_0x1e9f36['CellValueType'][_0x305db7(0x347)]&&_0x48e57a['n']){const {pattern:_0x20d4e5}=_0x48e57a['n'];_0x5955a8[_0x20d4e5]||(_0x5955a8[_0x20d4e5]=_0x1e9f36[_0x305db7(0x3c8)]['getFormatInfo'](_0x20d4e5));const _0x6a6b36=_0x5955a8[_0x20d4e5],_0x586e17=_0x6a6b36[_0x305db7(0x309)];if(_0x6a6b36['isText'])return String(_0x16281f);if(_0x586e17)return{'v':_0x16281f,'f':_0x20d4e5};}if(_0xffb91===_0x1e9f36[_0x305db7(0x1b0)]['NUMBER'])return Number(_0x16281f);if(_0xffb91===_0x1e9f36[_0x305db7(0x1b0)]['STRING']||_0xffb91===_0x1e9f36['CellValueType'][_0x305db7(0x12f)])return String(_0x16281f);if(_0xffb91===void 0x0){const _0x2d62ac=Number(_0x16281f);if(!Number[_0x305db7(0x38c)](_0x2d62ac)&&String(_0x2d62ac)===_0x16281f)return _0x2d62ac;}return _0x16281f!=null?_0x16281f:null;}else return null;}[_0x40b749(0x3c6)](_0x3bc081){const _0x3770b3=_0x40b749,{sheetName:_0x4153ac,range:_0x19a489,unitId:_0x4a00da}=_0x3bc081,_0x144154=this[_0x3770b3(0x16b)][_0x3770b3(0x34a)](_0x4a00da);if(!_0x144154)return console['error'](_0x3770b3(0x31b)),{'header':[],'data':[]};const _0x38d076=_0x144154[_0x3770b3(0x27f)](_0x4153ac),_0x51bf01=_0x38d076[_0x3770b3(0x1e7)](),{startRow:_0x1292aa,startColumn:_0x5f577c,endRow:_0x58b300,endColumn:_0x42fac9}=this[_0x3770b3(0x231)](_0x19a489,_0x38d076),_0x301867=_0x144154[_0x3770b3(0x403)](),_0x142ed2=[],_0x3e20c0=[],_0xa8dafc={};for(let _0x22cc81=_0x1292aa;_0x22cc81<=_0x58b300;_0x22cc81++){const _0xbc3571=[];for(let _0x56ffd0=_0x5f577c;_0x56ffd0<=_0x42fac9;_0x56ffd0++){const _0x144b64=_0x51bf01[_0x3770b3(0x3dd)](_0x22cc81,_0x56ffd0);_0x22cc81===_0x1292aa?_0x142ed2[_0x3770b3(0x189)](_0x144b64==null?null:String(_0x144b64['v'])):_0xbc3571['push'](this[_0x3770b3(0x2f2)](_0x144b64,_0x301867,_0xa8dafc));}_0x3e20c0[_0x3770b3(0x189)](_0xbc3571);}return{'header':_0x142ed2,'data':_0x3e20c0};}['toJSON'](){const _0x468064=_0x40b749;return super[_0x468064(0x3ab)]();}[_0x40b749(0x26a)](_0x588630){const _0x52396b=_0x40b749;super[_0x52396b(0x26a)](_0x588630),this['initDataRanges']();}[_0x40b749(0x158)](){const _0xf7a57b=_0x40b749;super['dispose'](),this[_0xf7a57b(0x2f1)]={},this[_0xf7a57b(0x305)]=null;}}const _0x3090af=_0xa7f414=>{const _0x25169f=_0x40b749,{targetCellInfo:_0x14d5bf}=_0xa7f414,{matrixCache:_0x3fe486,rangesCache:_0x4e0c70}=_0x4ca13b({'filter':_0x25169f(0x202),'row':_0x25169f(0x314),'column':_0x25169f(0x3c2),'values':_0x25169f(0x2d1)},_0x14d5bf),_0x355a97=new _0x1e9f36[(_0x25169f(0x3e8))]();return _0x3fe486[_0x25169f(0x2d3)]((_0x21b75c,_0x1b7871,_0x355250)=>{const _0x32c297=_0x25169f;_0x355a97[_0x32c297(0x147)](_0x21b75c,_0x1b7871,_0x355250);}),{'matrix':_0x355a97,'rangesCache':_0x4e0c70};},_0x1dbacb=_0x2e5173=>{const _0x4b4d43=_0x40b749;let _0x13e249;if(_0x2e5173!=null&&_0x2e5173['v']||(_0x2e5173==null?void 0x0:_0x2e5173['v'])===0x0){_0x13e249||(_0x13e249={});const _0x5865da=_0x5db11f(_0x2e5173['v']);typeof _0x5865da==_0x4b4d43(0x14b)?_0x13e249['t']=_0x1e9f36[_0x4b4d43(0x1b0)][_0x4b4d43(0x347)]:typeof _0x5865da==_0x4b4d43(0x409)&&(_0x13e249['t']=_0x1e9f36['CellValueType'][_0x4b4d43(0x367)]),_0x13e249['v']=_0x5865da;}return _0x13e249;},_0xfef422=(_0x319034,_0x4694d9,_0x5aadf2)=>{const _0x56a261=_0x40b749;var _0x1c29b4,_0x309b85,_0x2e53da,_0xf4fd57,_0x23521a,_0x24434b,_0x2e336c,_0x182163,_0x89efcb,_0x4c482a,_0xab7d4c,_0x4de37d;const {cornerView:_0x36f900,rowView:_0x263e7a,colView:_0x128c29,dataView:_0x489693,pageView:_0x4c96d8,formatMap:_0x45c549}=_0x319034,{row:_0x54bf9f,col:_0x598e38}=_0x4694d9,_0x41e148=new _0x1e9f36[(_0x56a261(0x3e8))]();let _0x404257=_0x54bf9f,_0xf588a7=_0x598e38;Object['keys'](_0x4c96d8['data'])[_0x56a261(0x33d)](_0x1cd0d9=>{const _0xd0fbf6=_0x56a261;Object[_0xd0fbf6(0x291)](_0x4c96d8[_0xd0fbf6(0x273)][Number(_0x1cd0d9)])[_0xd0fbf6(0x33d)](_0xfb4292=>{const _0x3c0f9e=_0xd0fbf6,_0x528ccd={..._0x4c96d8[_0x3c0f9e(0x273)][Number(_0x1cd0d9)][Number(_0xfb4292)]};_0x41e148[_0x3c0f9e(0x147)](Number(_0x1cd0d9)+_0x404257,Number(_0xfb4292)+_0xf588a7,_0x1dbacb(_0x528ccd));});});const _0x4613cb=Object[_0x56a261(0x291)](_0x4c96d8[_0x56a261(0x273)])[_0x56a261(0x10b)];_0x404257+=_0x4613cb+(_0x4613cb?_0x378094:0x0);const _0x3cc924=_0x36f900[_0x56a261(0x3fc)](),_0x41d908=_0x36f900[_0x56a261(0x133)]();for(let _0x21fe4a=0x0;_0x21fe4a<_0x3cc924;_0x21fe4a++)for(let _0x1b7df8=0x0;_0x1b7df8<_0x41d908;_0x1b7df8++){const _0x55f3fc={...(_0x309b85=(_0x1c29b4=_0x36f900[_0x56a261(0x273)])==null?void 0x0:_0x1c29b4[_0x21fe4a])==null?void 0x0:_0x309b85[_0x1b7df8]};_0x55f3fc&&((_0x2e53da=_0x263e7a[_0x56a261(0x21f)][_0x1b7df8])!=null&&_0x2e53da[_0x56a261(0x134)])&&_0x1b7df8===_0x41d908-0x1&&_0x21fe4a===_0x3cc924-0x1&&(_0x55f3fc['v']=''+_0x5aadf2[_0x56a261(0x341)]),_0x41e148[_0x56a261(0x147)](_0x21fe4a+_0x404257,_0x1b7df8+_0xf588a7,_0x1dbacb(_0x55f3fc));}_0xf588a7+=_0x41d908;const _0x2db682=_0x128c29[_0x56a261(0x21f)],_0x52bf98=_0x128c29[_0x56a261(0x3ea)]()>=0x0?_0x128c29['getLastRow']()+0x1:0x0,_0x46a191=_0x128c29[_0x56a261(0x256)]()>=0x0?_0x128c29[_0x56a261(0x256)]()+0x1:0x0;for(let _0x116377=0x0;_0x116377<_0x46a191;_0x116377++)for(let _0x36b839=0x0;_0x36b839<_0x52bf98;_0x36b839++){const _0x141a79={...(_0x23521a=(_0xf4fd57=_0x128c29[_0x56a261(0x273)])==null?void 0x0:_0xf4fd57[_0x116377])==null?void 0x0:_0x23521a[_0x36b839]},_0x486e45=(_0x24434b=_0x2db682[_0x116377])==null?void 0x0:_0x24434b[_0x56a261(0x1ca)],_0x2d3779=_0x45c549[_0x486e45];_0x141a79&&(_0x141a79['v']=_0x546530(_0x141a79,_0x116377===0x0&&((_0x2e336c=_0x128c29[_0x56a261(0x3e3)](_0x36b839+0x1))==null?void 0x0:_0x2e336c['isValue']),_0x2d3779,_0x5aadf2)),_0x41e148[_0x56a261(0x147)](_0x116377+_0x404257,_0x36b839+_0xf588a7,_0x1dbacb(_0x141a79));}_0x404257+=_0x3cc924;const _0x14e808=_0x263e7a[_0x56a261(0x21f)],_0x30f8e7=_0x263e7a[_0x56a261(0x3ea)]()>=0x0?_0x263e7a[_0x56a261(0x3ea)]()+0x1:0x0,_0x4d2036=_0x263e7a[_0x56a261(0x256)]()>=0x0?_0x263e7a[_0x56a261(0x256)]()+0x1:0x0;for(let _0x3181a3=0x0;_0x3181a3<_0x30f8e7;_0x3181a3++)for(let _0x5c3b3b=0x0;_0x5c3b3b<_0x4d2036;_0x5c3b3b++){const _0x1d5859={...(_0x89efcb=(_0x182163=_0x263e7a[_0x56a261(0x273)])==null?void 0x0:_0x182163[_0x3181a3])==null?void 0x0:_0x89efcb[_0x5c3b3b]},_0x1b7b21=(_0x4c482a=_0x14e808[_0x5c3b3b])==null?void 0x0:_0x4c482a[_0x56a261(0x1ca)],_0x1eda11=_0x45c549[_0x1b7b21];_0x1d5859&&(_0x1d5859['v']=_0x546530(_0x1d5859,!0x1,_0x1eda11,_0x5aadf2)),_0x41e148[_0x56a261(0x147)](_0x3181a3+_0x404257,_0x5c3b3b+_0x598e38,_0x1dbacb(_0x1d5859));}const _0x6ef948=_0x489693['getRowCount'](),_0x435305=_0x489693[_0x56a261(0x133)]();for(let _0x258ff1=0x0;_0x258ff1<_0x6ef948;_0x258ff1++)for(let _0x13b70f=0x0;_0x13b70f<_0x435305;_0x13b70f++){const _0x4329d2={...(_0x4de37d=(_0xab7d4c=_0x489693[_0x56a261(0x273)])==null?void 0x0:_0xab7d4c[_0x258ff1])==null?void 0x0:_0x4de37d[_0x13b70f]};_0x41e148[_0x56a261(0x147)](_0x258ff1+_0x404257,_0x13b70f+_0xf588a7,_0x1dbacb(_0x4329d2));}return _0x41e148;},_0x1fe68a=_0x26da2c=>{const _0x386616=_0x40b749,{view:_0x40e191,targetCellInfo:_0x3120ff,isEmpty:_0x3be1f9,textInfo:_0x4c9c25}=_0x26da2c;if(_0x3be1f9)return _0x3090af(_0x26da2c);const {pageView:_0x569e32,cornerView:_0x1c46fb,rowView:_0x4f6c08,colView:_0x247572,dataView:_0x58dc14}=_0x40e191,_0x49f5e6=_0x47b32b(_0x3120ff,_0x569e32,!0x0),_0x1eddc2=_0x569e32['lastRow']>=0x0?_0x569e32['lastRow']+0x1:0x0,_0x2149df=_0x1c46fb[_0x386616(0x3fc)](),_0x54c837=_0x1c46fb['getColCount'](),_0x5b39cb=_0x49f5e6[_0x386616(0x10b)]>0x0?_0x378094:0x0,_0x252b56=_0x47b32b({'row':_0x3120ff[_0x386616(0x1f7)]+_0x1eddc2+_0x5b39cb,'col':_0x3120ff[_0x386616(0x2e3)]},_0x1c46fb,!0x1,!0x1),_0x1b94cf=_0x47b32b({'row':_0x3120ff[_0x386616(0x1f7)]+_0x1eddc2+_0x5b39cb+_0x2149df,'col':_0x3120ff[_0x386616(0x2e3)]},_0x4f6c08,!0x1,!0x0),_0x5f88db=_0x47b32b({'row':_0x3120ff['row']+_0x1eddc2+_0x5b39cb,'col':_0x3120ff['col']+_0x54c837},_0x247572,!0x1,!0x0),_0x423c6c=_0x47b32b({'row':_0x3120ff['row']+_0x1eddc2+_0x5b39cb+_0x2149df,'col':_0x3120ff[_0x386616(0x2e3)]+_0x54c837},_0x58dc14,!0x1,!0x1),_0x4389d8={'rowRanges':_0x1b94cf,'colRanges':_0x5f88db,'cornerRanges':_0x252b56,'dataRanges':_0x423c6c,'pageRanges':_0x49f5e6};return{'matrix':_0xfef422(_0x40e191,_0x3120ff,_0x4c9c25),'rangesCache':_0x4389d8};};var _0x4ab622=Object['getOwnPropertyDescriptor'],_0x535451=(_0x5203ac,_0x3530f5,_0x56a61b,_0x595a8a)=>{const _0x4659ee=_0x40b749;for(var _0x533e99=_0x595a8a>0x1?void 0x0:_0x595a8a?_0x4ab622(_0x3530f5,_0x56a61b):_0x3530f5,_0x5e650a=_0x5203ac[_0x4659ee(0x10b)]-0x1,_0x446d77;_0x5e650a>=0x0;_0x5e650a--)(_0x446d77=_0x5203ac[_0x5e650a])&&(_0x533e99=_0x446d77(_0x533e99)||_0x533e99);return _0x533e99;},_0x44f2aa=(_0x3d3f98,_0x383e21)=>(_0x41a61d,_0x550cdf)=>_0x383e21(_0x41a61d,_0x550cdf,_0x3d3f98);_0x141cd5[_0x40b749(0xfb)]=class extends _0x1e9f36['Disposable']{constructor(_0x1812eb,_0x1b868e,_0x52df4f,_0x3067e2,_0x9da596){const _0x7fbe90=_0x40b749;super(),_0x3eeb3c(this,_0x7fbe90(0x12c),new Map()),_0x3eeb3c(this,_0x7fbe90(0x14c),new Map()),_0x3eeb3c(this,_0x7fbe90(0x1b3),new Map()),_0x3eeb3c(this,_0x7fbe90(0x269)),_0x3eeb3c(this,_0x7fbe90(0x23f),new _0x3ac110[(_0x7fbe90(0x1dc))]()),_0x3eeb3c(this,_0x7fbe90(0x3df),this[_0x7fbe90(0x23f)]['asObservable']()),_0x3eeb3c(this,'_viewData$',new _0x3ac110['Subject']()),_0x3eeb3c(this,_0x7fbe90(0x264),this[_0x7fbe90(0x259)][_0x7fbe90(0x1eb)]()),_0x3eeb3c(this,_0x7fbe90(0x22a),new _0x3ac110[(_0x7fbe90(0x1dc))]()),_0x3eeb3c(this,_0x7fbe90(0x323),this[_0x7fbe90(0x22a)][_0x7fbe90(0x1eb)]()),_0x3eeb3c(this,_0x7fbe90(0x29c),new Map()),_0x3eeb3c(this,_0x7fbe90(0x2d4),[]),_0x3eeb3c(this,'_queryingMap',new Map()),(this[_0x7fbe90(0x373)]=_0x1812eb,this[_0x7fbe90(0x16b)]=_0x1b868e,this['_lifecycleService']=_0x52df4f,this['_commandService']=_0x3067e2,this[_0x7fbe90(0x1c0)]=_0x9da596,this[_0x7fbe90(0x338)]());}[_0x40b749(0x2c8)](){const _0x2ac423=_0x40b749;return this[_0x2ac423(0x269)]?this[_0x2ac423(0x269)]:_0x5e34e7;}[_0x40b749(0x106)](_0xb2316f){this['_textInfo']=_0xb2316f;}['handleMoveRange'](_0x325fc2){const _0x5d3fe9=_0x40b749;var _0x3b90d8;const {from:_0x1b6e8f,to:_0x161bb2,unitId:_0x408e50,fromRange:_0x542eaa,toRange:_0x1782cc}=_0x325fc2;if(_0x1b6e8f&&_0x161bb2){const _0x2df28a=this[_0x5d3fe9(0x2ab)](_0x408e50),_0x4a84c0=this[_0x5d3fe9(0x12c)]['get'](_0x408e50),_0x24fa38=(_0x3b90d8=this[_0x5d3fe9(0x16b)][_0x5d3fe9(0x34a)](_0x408e50))==null?void 0x0:_0x3b90d8[_0x5d3fe9(0x19e)](_0x161bb2[_0x5d3fe9(0x399)]);if(!_0x4a84c0||!_0x24fa38)return;const _0x34cd52=_0x24fa38==null?void 0x0:_0x24fa38[_0x5d3fe9(0x23c)]();for(const [_0x6d73d0,_0x241f16]of _0x4a84c0[_0x5d3fe9(0x35f)]())for(const [_0x50a5b3,_0x2b9857]of _0x241f16[_0x5d3fe9(0x35f)]()){const {sourceRangeInfo:_0x54a24b}=_0x2b9857;if(_0x54a24b[_0x5d3fe9(0x33b)]===_0x408e50&&_0x54a24b[_0x5d3fe9(0x399)]===_0x1b6e8f[_0x5d3fe9(0x399)]&&_0x1e9f36[_0x5d3fe9(0x1e1)]['contains'](_0x542eaa,_0x54a24b[_0x5d3fe9(0x2fe)])){const _0x388c35={'row':_0x54a24b[_0x5d3fe9(0x2fe)][_0x5d3fe9(0x344)]-_0x542eaa[_0x5d3fe9(0x344)],'col':_0x54a24b[_0x5d3fe9(0x2fe)][_0x5d3fe9(0x2c0)]-_0x542eaa[_0x5d3fe9(0x2c0)]},_0x53d1c9={'unitId':_0x408e50,'subUnitId':_0x161bb2[_0x5d3fe9(0x399)],'sheetName':_0x34cd52,'range':{'startRow':_0x1782cc[_0x5d3fe9(0x344)]+_0x388c35['row'],'endRow':_0x1782cc['startRow']+_0x388c35['row']+_0x54a24b['range'][_0x5d3fe9(0x3c5)]-_0x54a24b['range']['startRow'],'startColumn':_0x1782cc[_0x5d3fe9(0x2c0)]+_0x388c35[_0x5d3fe9(0x2e3)],'endColumn':_0x1782cc['startColumn']+_0x388c35[_0x5d3fe9(0x2e3)]+_0x54a24b[_0x5d3fe9(0x2fe)]['endColumn']-_0x54a24b[_0x5d3fe9(0x2fe)][_0x5d3fe9(0x2c0)]}};_0x2df28a[_0x5d3fe9(0x21b)](_0x50a5b3,_0x53d1c9);const _0x420978={..._0x2b9857,'sourceRangeInfo':_0x53d1c9};this[_0x5d3fe9(0x17b)](_0x408e50,_0x161bb2['subUnitId'],_0x50a5b3,_0x420978),this[_0x5d3fe9(0x31c)]({'unitId':_0x408e50,'token':_0x50a5b3,'type':_0x9d49ed[_0x5d3fe9(0x195)],'oldSourceRangeInfo':_0x54a24b,'dataRangeInfo':_0x53d1c9,'targetCellInfo':_0x2b9857[_0x5d3fe9(0x3e7)]}),this['updateConfig']({'unitId':_0x408e50,'subUnitId':_0x161bb2['subUnitId'],'oldSubUnitId':_0x6d73d0,'pivotTableId':_0x50a5b3,'pivotTableConfig':_0x420978,'collectionConfig':_0x2df28a[_0x5d3fe9(0x3ab)]()});}}}}[_0x40b749(0x31c)](_0x1bad70){const _0x59d689=_0x40b749;this[_0x59d689(0x23f)]['next'](_0x1bad70);}['getDataFieldManager'](_0x1e0a0f){const _0x2f3a96=_0x40b749;let _0x430586=this['_dataFieldManagerCollection'][_0x2f3a96(0x218)](_0x1e0a0f);return _0x430586||(_0x430586=new _0x544ff3(this,this[_0x2f3a96(0x16b)]),this['_dataFieldManagerCollection'][_0x2f3a96(0x308)](_0x1e0a0f,_0x430586)),_0x430586;}[_0x40b749(0x16e)](_0x29885c,_0x558882){const _0x3e9444=_0x40b749;return this[_0x3e9444(0x2ab)](_0x29885c)[_0x3e9444(0x274)][_0x558882];}[_0x40b749(0x131)](_0x307dc1,_0x2d1aa9,_0x598e35){const _0x5518e6=_0x40b749;return this[_0x5518e6(0x2ab)](_0x307dc1)[_0x5518e6(0x131)](_0x2d1aa9,_0x598e35);}[_0x40b749(0x18b)](_0x752a60,_0x3d8b38){const _0x582ac2=_0x40b749;let _0x44f806=this['_model']['get'](_0x752a60);_0x44f806||(_0x44f806=new Map(),this[_0x582ac2(0x12c)][_0x582ac2(0x308)](_0x752a60,_0x44f806));let _0x2ff6c0=_0x44f806[_0x582ac2(0x218)](_0x3d8b38);return _0x2ff6c0||(_0x2ff6c0=new Map(),_0x44f806[_0x582ac2(0x308)](_0x3d8b38,_0x2ff6c0)),_0x2ff6c0;}['_updateModelCache'](_0x4490cb,_0x53a677,_0x287b08,_0x529481){const _0x2f4c41=_0x40b749;this['_ensurePivotMap'](_0x4490cb,_0x53a677)[_0x2f4c41(0x308)](_0x287b08,_0x529481);}[_0x40b749(0x182)](_0x268ccb,_0x51577f,_0xba8009){const _0x129315=_0x40b749;var _0x6f2712,_0x43cfec,_0x35f315,_0x1c08ee;((_0x43cfec=(_0x6f2712=this[_0x129315(0x12c)][_0x129315(0x218)](_0x268ccb))==null?void 0x0:_0x6f2712['get'](_0x51577f))==null?void 0x0:_0x43cfec[_0x129315(0x218)](_0xba8009))&&((_0x1c08ee=(_0x35f315=this[_0x129315(0x12c)][_0x129315(0x218)](_0x268ccb))==null?void 0x0:_0x35f315['get'](_0x51577f))==null||_0x1c08ee[_0x129315(0x325)](_0xba8009));}[_0x40b749(0x3d2)](_0x536ddf,_0x27d50c){const _0x3d7ebb=_0x40b749;this['_pivotTableInstanceCache'][_0x3d7ebb(0x308)](_0x536ddf,_0x27d50c);}[_0x40b749(0x2ea)](_0xf7712b){const _0x5c1b0a=_0x40b749;this[_0x5c1b0a(0x14c)]['delete'](_0xf7712b);}[_0x40b749(0x18f)](_0x584d03,_0x4cc956){const _0x402d71=_0x40b749;let _0xa6c1d4=this[_0x402d71(0x1b3)][_0x402d71(0x218)](_0x584d03);_0xa6c1d4||(_0xa6c1d4=new Map(),this[_0x402d71(0x1b3)][_0x402d71(0x308)](_0x584d03,_0xa6c1d4));let _0x3f5b26=_0xa6c1d4[_0x402d71(0x218)](_0x4cc956);return _0x3f5b26||(_0x3f5b26=new Map(),_0xa6c1d4[_0x402d71(0x308)](_0x4cc956,_0x3f5b26)),_0x3f5b26;}['updateConfig'](_0x36240d){const _0x4ff894=_0x40b749,{unitId:_0x5dbb4c,subUnitId:_0x49ff3b,pivotTableId:_0x4af730,pivotTableConfig:_0x529588,collectionConfig:_0x43b336}=_0x36240d,_0x3a3612={'unitId':_0x5dbb4c,'subUnitId':_0x49ff3b,'oldSubUnitId':_0x49ff3b,'pivotTableId':_0x4af730,'pivotTableConfig':_0x529588,'collectionConfig':_0x43b336};this[_0x4ff894(0x25e)][_0x4ff894(0x2eb)](_0x8ffc70['id'],_0x3a3612,{'onlyLocal':!0x0});}['updateView'](_0x1ccf3d,_0x4a0594,_0x5cf0d4,_0x5e644f,_0x25d74c,_0x425a54,_0x4c710b,_0x43b18f=!0x1){const _0x34dd7e=_0x40b749;var _0x4ba1c5;this[_0x34dd7e(0x25e)][_0x34dd7e(0x2eb)](_0x514600['id'],{'single':{'unitId':_0x1ccf3d,'subUnitId':_0x4a0594,'type':_0x5cf0d4,'pivotTableId':_0x5e644f,'view':_0x25d74c,'pivotConfig':_0x425a54},'collectionConfig':{[_0x1ccf3d]:_0x4c710b}},{'onlyLocal':!0x0});const _0x59b4e1=!!((_0x4ba1c5=this[_0x34dd7e(0x22e)](_0x5e644f))!=null&&_0x4ba1c5[_0x34dd7e(0x1ee)]()),_0x2fe3bc=this[_0x34dd7e(0x3d3)](_0x1ccf3d,_0x4a0594,_0x5e644f);_0x2fe3bc&&this[_0x34dd7e(0x13f)]({'view':_0x25d74c,'pivotTableId':_0x5e644f,'textInfo':this[_0x34dd7e(0x2c8)](),'isEmpty':_0x59b4e1,'targetCellInfo':_0x2fe3bc['targetCellInfo']},_0x43b18f);}['updateViewData'](_0x50de9f,_0xf644cb){const _0x520f46=_0x40b749,{targetCellInfo:_0x28e7be,pivotTableId:_0x181b51}=_0x50de9f,{unitId:_0x200911,subUnitId:_0x47671d}=_0x28e7be,_0x2c3025=this[_0x520f46(0x18f)](_0x200911,_0x47671d),_0x9af41a=_0x2c3025['get'](_0x181b51);let _0x1e8e05,_0x5df592;_0x9af41a&&(_0x1e8e05=_0x9af41a[_0x520f46(0xf7)],_0x5df592=_0x9af41a[_0x520f46(0x145)]);const {rangesCache:_0x4d73a0,matrix:_0x39b0ad}=_0x1fe68a(_0x50de9f);_0x2c3025['set'](_0x181b51,{'rangeCache':_0x4d73a0,'matrix':_0x39b0ad,'oldMatrix':_0x5df592,'oldRangeCache':_0x1e8e05}),_0xf644cb||this[_0x520f46(0x259)][_0x520f46(0x150)]({'unitId':_0x200911,'subUnitId':_0x47671d,'pivotTableId':_0x181b51});}[_0x40b749(0x332)](_0x180dca,_0x1270f2,_0x213e8c,_0x3428a6,_0x3e6287){const _0x482212=_0x40b749;this[_0x482212(0x17b)](_0x180dca,_0x1270f2,_0x213e8c,_0x3e6287),this[_0x482212(0x3d2)](_0x213e8c,_0x3428a6);}[_0x40b749(0x2d0)](_0x433a89,_0x28e947,_0x4f004b){const _0x509ee2=_0x40b749,_0x47bab7=this['getDataFieldManager'](_0x433a89);_0x47bab7['getNoUsedDataFieldIds'](_0x4f004b)[_0x509ee2(0x33d)](_0x560a4e=>{const _0x1ecee2=_0x509ee2;_0x47bab7[_0x1ecee2(0x333)](_0x560a4e);}),this[_0x509ee2(0x2b7)](_0x433a89,_0x4f004b),this[_0x509ee2(0x182)](_0x433a89,_0x28e947,_0x4f004b),this[_0x509ee2(0x2ea)](_0x4f004b);}[_0x40b749(0x137)](_0x44b7bb,_0xd66509,_0x2f3633,_0x3458b2){this['_updateModelCache'](_0x44b7bb,_0xd66509,_0x2f3633,_0x3458b2);}[_0x40b749(0x3d3)](_0x31fea8,_0x22cedc,_0x151f3b){const _0x1bce5d=_0x40b749;var _0x15b876,_0x93d1a4;const _0x536407=(_0x93d1a4=(_0x15b876=this[_0x1bce5d(0x12c)][_0x1bce5d(0x218)](_0x31fea8))==null?void 0x0:_0x15b876['get'](_0x22cedc))==null?void 0x0:_0x93d1a4['get'](_0x151f3b);if(_0x536407)return _0x536407;}[_0x40b749(0x342)](_0x52cb25,_0x3488d5,_0x3f6927){const _0x53ae88=_0x40b749;var _0x4da654,_0x566d48;const _0xd65da=(_0x566d48=(_0x4da654=this['_model'][_0x53ae88(0x218)](_0x52cb25))==null?void 0x0:_0x4da654[_0x53ae88(0x218)](_0x3488d5))==null?void 0x0:_0x566d48['get'](_0x3f6927);if(_0xd65da)return _0xd65da[_0x53ae88(0x22b)];}['getPivotTableInstance'](_0x4442d5){const _0x342f11=_0x40b749;return this[_0x342f11(0x14c)]['get'](_0x4442d5);}[_0x40b749(0x2b3)](_0x147ba2){const _0x463a9f=_0x40b749;this['_model'][_0x463a9f(0x325)](_0x147ba2);const _0x1e2137=this[_0x463a9f(0x29c)]['get'](_0x147ba2);_0x1e2137&&(_0x1e2137[_0x463a9f(0x158)](),this[_0x463a9f(0x29c)][_0x463a9f(0x325)](_0x147ba2)),this[_0x463a9f(0x1b3)]['delete'](_0x147ba2),this[_0x463a9f(0x2d4)][_0x463a9f(0x33d)](_0x268c68=>{const _0x109d75=_0x463a9f;_0x268c68[_0x109d75(0x2b3)](_0x147ba2);});}['addCollectionByJSON'](_0xd8541f,_0x1f5b26,_0x43b292,_0x4a0212){const _0x39749a=_0x40b749;return this[_0x39749a(0x2ab)](_0x43b292[_0x39749a(0x33b)])[_0x39749a(0x1fb)](_0xd8541f,_0x1f5b26,_0x43b292,_0x4a0212);}['createCollectionWithDataRange'](_0xf9daa0){const _0x696d1b=_0x40b749;return this['getDataFieldManager'](_0xf9daa0[_0x696d1b(0x33b)])[_0x696d1b(0x192)](_0xf9daa0);}[_0x40b749(0x160)](_0x445dba,_0x1e1b01,_0x184cd0){const _0x49f7af=_0x40b749;this[_0x49f7af(0x2ab)](_0x184cd0['unitId'])[_0x49f7af(0x160)](_0x445dba,_0x1e1b01,_0x184cd0);}[_0x40b749(0x39f)](_0x123b8b,_0x238ac7){const _0x42c120=_0x40b749;this[_0x42c120(0x2ab)](_0x123b8b)[_0x42c120(0x333)](_0x238ac7);}[_0x40b749(0x2b7)](_0x5f1588,_0xf2f899){this['getDataFieldManager'](_0x5f1588)['removeCollectionImp'](_0xf2f899);}['getSubUnitPivotConfigs'](_0x4f4fa4,_0x20b9ae){const _0x4f3f81=_0x40b749;var _0x4ce062;return(_0x4ce062=this[_0x4f3f81(0x12c)]['get'](_0x4f4fa4))==null?void 0x0:_0x4ce062['get'](_0x20b9ae);}[_0x40b749(0x317)](_0x4ff1a8){const _0x3a80cb=_0x40b749;for(const [_0x28a069,_0x348c42]of this[_0x3a80cb(0x12c)][_0x3a80cb(0x35f)]())for(const [_0x56acfe,_0x58658b]of _0x348c42[_0x3a80cb(0x35f)]())if(_0x58658b[_0x3a80cb(0x109)](_0x4ff1a8))return{'unitId':_0x28a069,'subUnitId':_0x56acfe};return null;}[_0x40b749(0x40a)](_0x3cddb7,_0x324111,_0x1f5bf1,_0x1b76d5){const _0x449079=_0x40b749,_0x4ead70=this[_0x449079(0x18f)](_0x3cddb7,_0x324111);_0x1b76d5?_0x4ead70[_0x449079(0x308)](_0x1f5bf1,_0x1b76d5):_0x4ead70[_0x449079(0x325)](_0x1f5bf1),this['_viewData$'][_0x449079(0x150)]({'unitId':_0x3cddb7,'subUnitId':_0x324111,'pivotTableId':_0x1f5bf1});}['dispose'](){const _0xdd7983=_0x40b749;super[_0xdd7983(0x158)]();}[_0x40b749(0x119)](_0x934486,_0x46ebdc,_0x1a077e){const _0x1df8e4=_0x40b749;var _0x4a030d,_0x1ce646;const _0x2ab954=(_0x1ce646=(_0x4a030d=this[_0x1df8e4(0x1b3)][_0x1df8e4(0x218)](_0x934486))==null?void 0x0:_0x4a030d[_0x1df8e4(0x218)](_0x46ebdc))==null?void 0x0:_0x1ce646[_0x1df8e4(0x218)](_0x1a077e);return _0x2ab954||null;}[_0x40b749(0x340)](_0x394fe1){const _0x428416=_0x40b749;this[_0x428416(0x1df)](_0x394fe1);}[_0x40b749(0x1df)](_0x303848){const _0xfb1f7=_0x40b749,{token:_0x1c7a68,unitId:_0x355cd8,subUnitId:_0x1081e1}=_0x303848,_0x579898=_0x355cd8+'-'+_0x1081e1+'-'+_0x1c7a68;this[_0xfb1f7(0x34d)][_0xfb1f7(0x218)](_0x579898)&&clearTimeout(this['_queryingMap'][_0xfb1f7(0x218)](_0x579898));const _0x574629=setTimeout(()=>{const _0x1529fa=_0xfb1f7;this[_0x1529fa(0x3a2)](_0x303848),this[_0x1529fa(0x34d)][_0x1529fa(0x325)](_0x579898);},_0x1e15e3);this['_queryingMap'][_0xfb1f7(0x308)](_0x579898,_0x574629);}[_0x40b749(0x3a2)](_0x19adcf){const _0x395e92=_0x40b749,{unitId:_0x2db5c8,subUnitId:_0x11227d,token:_0x140c75,type:_0x208298,pivotConfig:_0x35aa0d}=_0x19adcf,_0x5bfea4=this[_0x395e92(0x22e)](_0x140c75),_0x52e250=_0x5bfea4==null?void 0x0:_0x5bfea4[_0x395e92(0x1d8)](),_0x2865b2=_0x35aa0d!=null?_0x35aa0d:this[_0x395e92(0x3d3)](_0x2db5c8,_0x11227d,_0x140c75);_0x2865b2&&(_0x2865b2[_0x395e92(0x1ee)]=!!(_0x5bfea4!=null&&_0x5bfea4[_0x395e92(0x1ee)]())),(_0x52e250||_0x208298===_0x40d428[_0x395e92(0x3bc)])&&this[_0x395e92(0x2be)](_0x2db5c8,_0x11227d,_0x208298,_0x140c75,_0x52e250,_0x2865b2,this['getDataFieldManager'](_0x2db5c8)['toJSON']());}[_0x40b749(0x3ab)](_0x4221c7){const _0x24813d=_0x40b749,_0x410f9d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x24813d(0x2ab)](_0x4221c7)&&(_0x410f9d[_0x24813d(0x122)][_0x4221c7]=this[_0x24813d(0x2ab)](_0x4221c7)[_0x24813d(0x3ab)]()),this['_model'][_0x24813d(0x218)](_0x4221c7)){_0x410f9d[_0x24813d(0x24d)][_0x4221c7]={};const _0x3580db=this[_0x24813d(0x12c)][_0x24813d(0x218)](_0x4221c7);_0x3580db!=null&&_0x3580db[_0x24813d(0x3fb)]&&[..._0x3580db[_0x24813d(0x291)]()][_0x24813d(0x33d)](_0x38a7a8=>{const _0x15c9b4=_0x24813d,_0x17756c=_0x3580db[_0x15c9b4(0x218)](_0x38a7a8);_0x17756c!=null&&_0x17756c[_0x15c9b4(0x3fb)]&&(_0x410f9d[_0x15c9b4(0x24d)][_0x4221c7][_0x38a7a8]={},[..._0x17756c[_0x15c9b4(0x291)]()]['forEach'](_0x397a9a=>{const _0x548172=_0x15c9b4,_0x1b0a16=_0x17756c[_0x548172(0x218)](_0x397a9a);_0x1b0a16&&(_0x410f9d[_0x548172(0x24d)][_0x4221c7][_0x38a7a8][_0x397a9a]=_0x1b0a16);}));});}return _0x410f9d;}[_0x40b749(0x26a)](_0x18a481){const _0x2ff9ae=_0x40b749;var _0x4de653;const {dataFieldManagerConfig:_0x31d466,pivotTableConfigs:_0x520db7}=_0x18a481;_0x31d466&&Object[_0x2ff9ae(0x291)](_0x31d466)[_0x2ff9ae(0x33d)](_0x281a71=>{const _0x367df3=_0x2ff9ae;this['getDataFieldManager'](_0x281a71)[_0x367df3(0x26a)](_0x31d466[_0x281a71]);});const _0x1df715=[];if(_0x520db7){const _0x173f4d=(_0x4de653=this[_0x2ff9ae(0x373)]['get'](_0x1e9f36[_0x2ff9ae(0x383)])[_0x2ff9ae(0x1bf)](_0x52512b[_0x2ff9ae(0x363)]))!=null?_0x4de653:{},{ls:_0x4067da,pbk:_0x2f3dcb}=_0x173f4d,_0x9be591=_0x4f8174(_0x27fb1e,_0x4067da,_0x2f3dcb)['count'];Object[_0x2ff9ae(0x291)](_0x520db7)[_0x2ff9ae(0x33d)](_0x259316=>{const _0x58064c=_0x2ff9ae;let _0x43f7e4=0x0;const _0x382a8b=_0x520db7[_0x259316];Object[_0x58064c(0x291)](_0x382a8b)['forEach'](_0x186e5d=>{const _0x4773d2=_0x58064c,_0x3076b7=_0x382a8b[_0x186e5d];Object[_0x4773d2(0x291)](_0x3076b7)[_0x4773d2(0x33d)](_0x4fc22b=>{const _0x4622cc=_0x4773d2,_0x4acfd9=_0x3076b7[_0x4fc22b];if(_0x4acfd9){if(_0x43f7e4>=_0x9be591)return;_0x43f7e4++;const _0x2079fd=this[_0x4622cc(0x2ab)](_0x259316),_0x4d0193=_0x2079fd['collections'][_0x4fc22b],_0x1225ba=_0x4d0193[_0x4622cc(0x21d)]();let _0x32b2ba=0x0;const _0x5ac4a0=[];for(const _0x5b8701 of _0x1225ba){const _0x24a173=_0x4d0193[_0x4622cc(0x3e2)](_0x5b8701);if(_0x5b2537['isBaseGroupField'](_0x24a173)){const _0xaf7a55=_0x24a173['getOriginFieldId'](),_0xf7dba7=_0x4d0193[_0x4622cc(0x3e2)](_0xaf7a55);_0xf7dba7&&_0x5ac4a0['push']([_0x24a173,_0xf7dba7]);continue;}_0x2079fd[_0x4622cc(0x289)](_0x5b8701,_0x4acfd9[_0x4622cc(0x129)],_0x32b2ba),_0x32b2ba++;}_0x5ac4a0[_0x4622cc(0x33d)](([_0xd2fa81,_0x84103a])=>{_0xd2fa81['refreshGroupField'](_0x84103a);});const _0x4c6502=new _0x5b2537[(_0x4622cc(0x3de))](_0x4d0193);_0x4c6502[_0x4622cc(0x26a)](_0x4acfd9[_0x4622cc(0x22b)]),this[_0x4622cc(0x332)](_0x259316,_0x186e5d,_0x4fc22b,_0x4c6502,_0x4acfd9);const _0x4f16aa=_0x4c6502[_0x4622cc(0x1d8)]();_0x1df715[_0x4622cc(0x189)]({'unitId':_0x259316,'subUnitId':_0x186e5d,'pivotTableId':_0x4fc22b,'view':_0x4f16aa[_0x4622cc(0x3ab)](),'pivotConfig':_0x4acfd9,'type':_0x40d428[_0x4622cc(0x156)]});const _0x53142c=!!_0x4c6502[_0x4622cc(0x1ee)](),_0x24f081={'view':_0x4f16aa,'pivotTableId':_0x4fc22b,'textInfo':this[_0x4622cc(0x2c8)](),'isEmpty':_0x53142c,'targetCellInfo':_0x4acfd9[_0x4622cc(0x3e7)]};this['updateViewData'](_0x24f081,!0x1);}});});});}_0x31d466&&Object['keys'](_0x31d466)[_0x2ff9ae(0x33d)](_0x33191d=>{const _0x227161=_0x2ff9ae,_0x24f691=this['getDataFieldManager'](_0x33191d);this[_0x227161(0x22a)][_0x227161(0x150)](_0x24f691[_0x227161(0x274)]);}),this[_0x2ff9ae(0x25e)][_0x2ff9ae(0x2eb)](_0x514600['id'],{'batch':_0x1df715,'collectionConfig':_0x31d466},{'onlyLocal':!0x0});}[_0x40b749(0x338)](){const _0x1fb28f=_0x40b749;this[_0x1fb28f(0x1fa)](this[_0x1fb28f(0x1c0)]['registerPluginResource']({'toJson':_0x3acbe6=>JSON[_0x1fb28f(0x168)](this[_0x1fb28f(0x3ab)](_0x3acbe6)),'parseJson':_0x599465=>{const _0x190868=_0x1fb28f;if(!_0x599465)return{};try{return JSON[_0x190868(0x3b9)](_0x599465);}catch{return{};}},'businesses':[_0x1e9f36[_0x1fb28f(0x2fd)][_0x1fb28f(0x295)]],'pluginName':_0x44c80e,'onLoad':(_0x4d8cd2,_0x2a4b2a)=>{const _0x19dc4d=_0x1fb28f;this[_0x19dc4d(0x26a)](_0x2a4b2a);},'onUnLoad':_0x29235b=>{this['deleteUnitId'](_0x29235b);}}));}},_0x141cd5['SheetsPivotDataSourceModel']=_0x535451([_0x44f2aa(0x0,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36['Injector'])),_0x44f2aa(0x1,_0x1e9f36[_0x40b749(0x136)]),_0x44f2aa(0x2,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36['LifecycleService'])),_0x44f2aa(0x3,_0x1e9f36['ICommandService']),_0x44f2aa(0x4,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x2ad)]))],_0x141cd5[_0x40b749(0xfb)]);const _0x15bbd9={0x0:{0x0:{'v':'filter','s':_0x5c8486}},0x2:{0x1:{'v':'','s':_0x5c8486},0x2:{'v':'','s':_0x5c8486},0x3:{'v':_0x40b749(0x396),'s':_0x5c8486},0x4:{'v':'','s':_0x5c8486},0x5:{'v':'','s':_0x5c8486}},0x3:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x4:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x5:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x6:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x7:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x8:{0x0:{'v':_0x40b749(0x1f7),'s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'values','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0x9:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0xa:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0xb:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0xc:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}},0xd:{0x0:{'v':'','s':_0x5c8486},0x1:{'v':'','s':_0x1cdbb1},0x2:{'v':'','s':_0x1cdbb1},0x3:{'v':'','s':_0x1cdbb1},0x4:{'v':'','s':_0x1cdbb1},0x5:{'v':'','s':_0x1cdbb1}}},_0x523484={'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':[]},_0x4ca13b=(_0x26c579,_0x3a0519)=>{const _0x538fc8=_0x40b749,_0x5f4155=new _0x1e9f36[(_0x538fc8(0x3e8))](),_0x217cd1=new _0x1e9f36[(_0x538fc8(0x3e8))](_0x15bbd9),{row:_0x34dcd4,col:_0xe58f73}=_0x3a0519;_0x217cd1[_0x538fc8(0x2d3)]((_0x2efaa6,_0x3582ad,_0x3dea16)=>{const _0x286f4f=_0x538fc8;let _0x324a01='';_0x3dea16['v']===_0x286f4f(0x3cd)?_0x324a01=_0x26c579['filter']:_0x3dea16['v']==='row'?_0x324a01=_0x26c579[_0x286f4f(0x1f7)]:_0x3dea16['v']==='column'?_0x324a01=_0x26c579['column']:_0x3dea16['v']===_0x286f4f(0x3a9)&&(_0x324a01=_0x26c579[_0x286f4f(0x3a9)]),_0x5f4155['setValue'](_0x2efaa6+_0x34dcd4,_0x3582ad+_0xe58f73,{..._0x3dea16,'v':_0x324a01});});const _0x1b6ae9=_0x1e9f36[_0x538fc8(0x282)][_0x538fc8(0x2a8)](_0x523484);return Object[_0x538fc8(0x291)](_0x523484)[_0x538fc8(0x33d)](_0x48535d=>{const _0x261d06=_0x538fc8;_0x1b6ae9[_0x48535d]=_0x523484[_0x48535d][_0x261d06(0xf6)](_0x52788e=>({..._0x52788e,'startRow':_0x52788e[_0x261d06(0x344)]+_0x34dcd4,'endRow':_0x52788e['endRow']+_0x34dcd4,'startColumn':_0x52788e[_0x261d06(0x2c0)]+_0xe58f73,'endColumn':_0x52788e[_0x261d06(0x2f4)]+_0xe58f73}));}),{'matrixCache':_0x5f4155,'rangesCache':_0x1b6ae9};};function _0x2c8668(_0x553852,_0x332926){const _0x5b84a3=_0x40b749;let _0x3f7540='';const _0x231243=this[_0x5b84a3(0x2c8)]();switch(_0x332926){case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x2a2)]:_0x3f7540=_0x231243[_0x5b84a3(0x288)]+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)]['count']:_0x3f7540=_0x231243['sheets-pivot.countName']+_0x553852;break;case _0x5b2537['PivotSubtotalTypeEnum'][_0x5b84a3(0x31d)]:_0x3f7540=_0x231243[_0x5b84a3(0x210)]+_0x553852;break;case _0x5b2537['PivotSubtotalTypeEnum'][_0x5b84a3(0x31f)]:_0x3f7540=_0x231243['sheets-pivot.maxName']+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x125)]:_0x3f7540=_0x231243['sheets-pivot.minName']+_0x553852;break;case _0x5b2537['PivotSubtotalTypeEnum'][_0x5b84a3(0x407)]:_0x3f7540=_0x231243[_0x5b84a3(0x249)]+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x2f6)]:_0x3f7540=_0x231243[_0x5b84a3(0x238)]+_0x553852;break;case _0x5b2537['PivotSubtotalTypeEnum'][_0x5b84a3(0x3b5)]:_0x3f7540=_0x231243['sheets-pivot.stdDevpName']+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x3bb)]:_0x3f7540=_0x231243[_0x5b84a3(0x20a)]+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x2c6)]:_0x3f7540=_0x231243[_0x5b84a3(0x1da)]+_0x553852;break;case _0x5b2537[_0x5b84a3(0x294)][_0x5b84a3(0x30f)]:_0x3f7540=_0x231243[_0x5b84a3(0x2cd)]+_0x553852;break;default:_0x3f7540=_0x553852;break;}return _0x3f7540;}function _0x49e27a(_0x26e26d,_0x462be1,_0x5f2446,_0xa1c900,_0x395cbf){const _0x58d2b1=_0x40b749;var _0x3a4ac2,_0x33b638,_0x13daa7,_0x2b9684,_0xa026a;const _0x34d6bc=_0x1e9f36[_0x58d2b1(0x204)](_0x26e26d,_0x462be1),{rangesInfo:_0x5c6b95,areaInfo:_0x121501,headerMap:_0x4f385b}=_0x395cbf;if(!_0x5c6b95||!_0x121501||!_0x4f385b)return;const _0x1c85a1=Object[_0x58d2b1(0x291)](_0x5c6b95)['find'](_0x2e1c9f=>_0x5c6b95[_0x2e1c9f][_0x58d2b1(0x266)](_0x26dee1=>_0x1e9f36['Rectangle'][_0x58d2b1(0x271)](_0x26dee1,_0x34d6bc))),_0x3d476d=_0x121501;let _0x375482,_0x1a34ca,_0x169613;if(_0x1c85a1===_0x58d2b1(0x270))_0x375482=(_0x3a4ac2=_0x3d476d==null?void 0x0:_0x3d476d['rowInfo'])==null?void 0x0:_0x3a4ac2[_0x26e26d],_0x1a34ca=(_0x33b638=_0x4f385b==null?void 0x0:_0x4f385b['rowHeaderMap'])==null?void 0x0:_0x33b638[_0x462be1],_0x169613=_0x1a34ca==null?void 0x0:_0x1a34ca[_0x58d2b1(0x1ca)];else{if(_0x1c85a1===_0x58d2b1(0x166))_0x375482=(_0x13daa7=_0x3d476d==null?void 0x0:_0x3d476d[_0x58d2b1(0x3cc)])==null?void 0x0:_0x13daa7[_0x462be1],_0x1a34ca=(_0x2b9684=_0x4f385b[_0x58d2b1(0x22c)])==null?void 0x0:_0x2b9684[_0x26e26d+0x1+_0x462be1-_0x5c6b95[_0x58d2b1(0x166)][0x0][_0x58d2b1(0x2c0)]],_0x169613=_0x1a34ca==null?void 0x0:_0x1a34ca['tableFieldId'];else{if(_0x1c85a1===_0x58d2b1(0x2af))_0x375482=(_0xa026a=_0x3d476d==null?void 0x0:_0x3d476d[_0x58d2b1(0x101)])==null?void 0x0:_0xa026a[_0x462be1],_0x169613=_0x375482==null?void 0x0:_0x375482['tableFieldId'];else{if(_0x1c85a1===_0x58d2b1(0x214)){const _0x3d4006=_0x5f2446==null?void 0x0:_0x5f2446['fi'];_0x3d4006!==void 0x0&&(_0x169613=_0xa1c900['getFilterFieldIdByIndex'](_0x3d4006));}}}}return{'filterId':_0x169613,'info':_0x375482,'data':_0x5f2446,'headerInfo':_0x1a34ca};}function _0x24ba78(_0x40ef43,_0x4edfa6,_0x393999){const _0x12218f=_0x40b749,_0x1eeb5a=_0x40ef43['dataFieldsCollection'],_0x1cdc4b=_0x1eeb5a[_0x12218f(0x21d)](),_0x9a1f4d=new Set();_0x40ef43[_0x12218f(0x30e)](_0x596d51=>{const _0x51ab36=_0x12218f;_0x9a1f4d[_0x51ab36(0x10f)](_0x596d51[_0x51ab36(0x25f)]);});const _0x5c4041=_0x1cdc4b['map'](_0x1eae53=>{const _0x4c19ec=_0x12218f,_0x46a92a=_0x1eeb5a['getFieldById'](_0x1eae53);return{'checked':_0x9a1f4d['has'](_0x1eae53),'dataFieldId':_0x46a92a['id'],'id':_0x46a92a['id'],'name':_0x1eeb5a[_0x4c19ec(0x3fe)](_0x46a92a['id']),'type':_0x46a92a[_0x4c19ec(0x292)](),'pivotTableId':_0x4edfa6};}),_0xe43453=[];_0x40ef43['iterateFieldByArea'](_0x5b2537[_0x12218f(0x356)]['Row'],_0x65ae8=>{const _0x31c180=_0x12218f;_0xe43453['push']({'dataFieldId':_0x65ae8[_0x31c180(0x25f)],'tableFieldId':_0x65ae8[_0x31c180(0x279)](),'displayName':_0x65ae8[_0x31c180(0x3fe)]()});});const _0x2295bf=[];_0x40ef43[_0x12218f(0x319)](_0x5b2537['PivotTableFiledAreaEnum'][_0x12218f(0x3c2)],_0x3c6d7f=>{const _0x477eb5=_0x12218f;_0x2295bf[_0x477eb5(0x189)]({'dataFieldId':_0x3c6d7f['dataFieldId'],'tableFieldId':_0x3c6d7f[_0x477eb5(0x279)](),'displayName':_0x3c6d7f[_0x477eb5(0x3fe)]()});});const _0x52522c=[];if(_0x40ef43['iterateFieldByArea'](_0x5b2537[_0x12218f(0x356)]['Value'],_0x52de8f=>{const _0x34bbe1=_0x12218f;_0x52522c[_0x34bbe1(0x189)]({'dataFieldId':_0x52de8f['dataFieldId'],'tableFieldId':_0x52de8f[_0x34bbe1(0x279)](),'displayName':_0x52de8f[_0x34bbe1(0x3fe)](),'format':_0x52de8f[_0x34bbe1(0xfc)](),'subTotalType':_0x52de8f[_0x34bbe1(0x1ea)]()});}),_0x52522c[_0x12218f(0x10b)]>0x1){const _0x2ad784=_0x40ef43[_0x12218f(0x1f5)]();(_0x40ef43[_0x12218f(0x105)]()?_0x2295bf:_0xe43453)[_0x12218f(0x1d5)](_0x2ad784,0x0,{'dataFieldId':'','tableFieldId':_0x12218f(0x2f9),'displayName':_0x12218f(0x128)});}const _0x47748b=[];_0x40ef43[_0x12218f(0x319)](_0x5b2537[_0x12218f(0x356)][_0x12218f(0x202)],_0x6e3bea=>{const _0x8c1287=_0x12218f;_0x47748b[_0x8c1287(0x189)]({'dataFieldId':_0x6e3bea['dataFieldId'],'tableFieldId':_0x6e3bea[_0x8c1287(0x279)](),'displayName':_0x6e3bea[_0x8c1287(0x3fe)]()});});const _0x4f0fc7=_0x393999[_0x12218f(0x129)];return{'sourceList':_0x5c4041,'sourceRange':_0x4f0fc7,'rowFields':_0xe43453,'columnFields':_0x2295bf,'valueFields':_0x52522c,'filterFields':_0x47748b,'positionInfo':_0x393999[_0x12218f(0x3e7)]};}function _0x2db27e(_0x291f70,_0x47a2e9,_0x4afc6d='',_0x1a402f={}){const _0xe40a0e=_0x40b749,_0x56025b=_0x291f70[_0xe40a0e(0x218)](_0x1e9f36[_0xe40a0e(0x200)]);for(const _0xca63e0 in _0x47a2e9)if(Object[_0xe40a0e(0x1a8)][_0xe40a0e(0x398)][_0xe40a0e(0x3c1)](_0x47a2e9,_0xca63e0)){const _0x433c3d=_0x4afc6d?_0x4afc6d+'.'+_0xca63e0:_0xca63e0;typeof _0x47a2e9[_0xca63e0]=='object'&&_0x47a2e9[_0xca63e0]!==null&&!Array['isArray'](_0x47a2e9[_0xca63e0])?_0x2db27e(_0x291f70,_0x47a2e9[_0xca63e0],_0x433c3d,_0x1a402f):_0x1a402f[_0x433c3d]=_0x56025b['t'](_0x433c3d);}return _0x1a402f;}const _0x54ef33=_0x14bb7b=>{const _0xae1468=_0x40b749;if(!_0x14bb7b)return[];const {rowRanges:_0x157440,colRanges:_0x46afb3,cornerRanges:_0x32a8cb,dataRanges:_0x5f0b74,pageRanges:_0x37cf47}=_0x14bb7b,_0x8380f1=[..._0x46afb3,..._0x157440,..._0x5f0b74,..._0x32a8cb][_0xae1468(0x3cd)](_0x2e2bb4=>_0x2e2bb4[_0xae1468(0x344)]>=0x0&&_0x2e2bb4[_0xae1468(0x2c0)]>=0x0&&_0x2e2bb4[_0xae1468(0x3c5)]>=0x0&&_0x2e2bb4[_0xae1468(0x2f4)]>=0x0);let _0xafda03=Number[_0xae1468(0x15b)],_0xd2bf24=Number[_0xae1468(0x1bd)],_0xeabd65=Number[_0xae1468(0x15b)],_0xb4914e=Number[_0xae1468(0x1bd)];for(let _0x3ae378=0x0;_0x3ae378<_0x8380f1[_0xae1468(0x10b)];_0x3ae378++)_0xafda03=Math[_0xae1468(0x125)](_0xafda03,_0x8380f1[_0x3ae378]['startRow']),_0xd2bf24=Math[_0xae1468(0x31f)](_0xd2bf24,_0x8380f1[_0x3ae378][_0xae1468(0x3c5)]),_0xeabd65=Math['min'](_0xeabd65,_0x8380f1[_0x3ae378]['startColumn']),_0xb4914e=Math[_0xae1468(0x31f)](_0xb4914e,_0x8380f1[_0x3ae378]['endColumn']);return[..._0x37cf47,{'startRow':_0xafda03,'endRow':_0xd2bf24,'startColumn':_0xeabd65,'endColumn':_0xb4914e}];};function _0x128fe8(_0x189ee8,_0x45ca7f){const _0x35914c=_0x40b749,_0x21e5b9=_0x45ca7f['params']['drillDown'],{pivotTableId:_0x318569,unitId:_0xcb95af,subUnitId:_0x525fc4}=_0x45ca7f;if(!_0x21e5b9)return;const _0x2ed3eb=_0x189ee8[_0x35914c(0x218)](_0x141cd5[_0x35914c(0xfb)]),_0x24041a=_0x2ed3eb['getPivotTableInstance'](_0x318569),_0x58b90e=_0x2ed3eb['getPivotTableConfig'](_0xcb95af,_0x525fc4,_0x318569);if(!_0x24041a||!_0x58b90e)return;const _0x11201b=_0x24041a[_0x35914c(0x2cf)](_0x21e5b9[_0x35914c(0x1e8)]);if(!(_0x11201b!=null&&_0x11201b[_0x35914c(0x10b)]))return;const _0x2e5b5b=_0x58b90e[_0x35914c(0x129)],{unitId:_0x4e1533,subUnitId:_0x4b9d3e,range:_0x4ff97f}=_0x2e5b5b;let _0x4b1614=0x0;const _0x5ee940=_0x24041a[_0x35914c(0x3a8)][_0x35914c(0x21d)]()['reduce']((_0x1dba7c,_0x401b08)=>{const _0xe7ef70=_0x35914c;var _0x34cc3a;const _0x54128a=(_0x34cc3a=_0x24041a[_0xe7ef70(0x28c)](_0x401b08))==null?void 0x0:_0x34cc3a[_0xe7ef70(0x3c7)]();return _0x54128a&&(_0x1dba7c[String(_0x4b1614)]=_0x54128a),_0x4b1614++,_0x1dba7c;},{});return{'indexes':_0x11201b,'range':_0x4ff97f,'sourceUnitId':_0x4e1533,'sourceSubUnitId':_0x4b9d3e,'formatMap':_0x5ee940};}function _0x38ae35(_0x3f050a,_0xcf348e){const _0x47565b=_0x40b749;if(!_0x3f050a||!_0xcf348e)return!0x0;const _0x379176=_0x52512b[_0x47565b(0x362)](_0x43d6d0,_0x4e7953),_0x4c0951=new Function(_0x47565b(0x2f3)+_0x379176)()(_0x3f050a,_0xcf348e)['message'],_0x571026=_0x52512b['isFeatureAuthorizedWithinTime'](_0x4c0951,'sf',_0x5bf324);return!((_0x4c0951==null?void 0x0:_0x4c0951['rt'])===_0x52512b[_0x47565b(0x244)][_0x47565b(0x296)]&&!_0x571026);}function _0x4f8174(_0x26e709,_0x46893d,_0x10e55b){const _0x322d92=_0x40b749,_0x5b1242={'count':_0x26e709,'timeValid':!0x1};if(!_0x46893d||!_0x10e55b)return _0x5b1242;const _0x4f8f00=_0x52512b[_0x322d92(0x362)](_0x43d6d0,_0x4e7953),_0x1b686a=new Function('return\x20'+_0x4f8f00)()(_0x46893d,_0x10e55b);if(_0x1b686a!=null&&_0x1b686a[_0x322d92(0x127)]){const _0x5050bf=_0x1b686a['message'],_0x1b434b=_0x52512b[_0x322d92(0x2f7)](_0x5050bf,'sf',_0x5bf324);return{'count':_0x52512b[_0x322d92(0x36a)](_0x5050bf,_0x1b434b,_0x322d92(0x215),_0x26e709,_0x26e709,0x0),'timeValid':_0x1b434b};}return _0x5b1242;}function _0x6e56f6(_0x491e43,_0x1dd137,_0x242c9a,_0x1aa8d0){const _0x492a39=_0x40b749,_0x520973={'subUnitId':_0x242c9a,'unitId':_0x1dd137,'cellValue':_0x18baff[_0x492a39(0x2a4)](_0x1aa8d0)},_0x3a1524=_0x18baff[_0x492a39(0x310)](_0x491e43,_0x520973);let _0x2e21d1=!0x1;return new _0x1e9f36[(_0x492a39(0x3e8))](_0x3a1524[_0x492a39(0x113)])[_0x492a39(0x2d3)]((_0x406b5f,_0x3aaa9a,_0x5e4a8b)=>{const _0x2d3019=_0x492a39;if(!_0x2e21d1&&_0x5e4a8b&&(_0x5e4a8b[_0x2d3019(0x1b9)]||_0x5e4a8b['f']||_0x5e4a8b['p']||_0x5e4a8b['s']||_0x5e4a8b['si']||_0x5e4a8b['t']||_0x5e4a8b['v']))return _0x2e21d1=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x18baff[_0x492a39(0x3bf)]['id'],'params':_0x3a1524},'setRangeValueRedoMutation':{'id':_0x18baff[_0x492a39(0x3bf)]['id'],'params':_0x520973},'shouldClear':_0x2e21d1};}function _0x10a5e0(_0x445bbc){const {row:_0x23f663,col:_0x5a0e53}=_0x445bbc,_0x5e1db1={'startRow':_0x23f663,'endRow':_0x23f663,'startColumn':_0x5a0e53,'endColumn':_0x5a0e53},_0x48acf7={'startRow':_0x23f663+0x2,'endRow':_0x23f663+0xe,'startColumn':_0x5a0e53,'endColumn':_0x5a0e53+0x6};return[_0x5e1db1,_0x48acf7];}function _0x46b8ad(_0x4438f6,_0x31566e,_0x1a2979){const _0x23d95f=_0x40b749,{cornerView:_0x125553,rowView:_0x4d1ecf,colView:_0x45eb02,pageView:_0x4158b9}=_0x4438f6,{row:_0xfbbb98,col:_0xebf628}=_0x31566e;if(_0x1a2979)return{'rowCount':_0x1d296b+_0xfbbb98,'colCount':_0x569d74+_0xebf628};const _0x3d7d72=_0x4158b9[_0x23d95f(0x3e6)]>-0x1?_0x4158b9[_0x23d95f(0x3e6)]+0x1:0x0,_0x171716=_0x4158b9[_0x23d95f(0x110)]>-0x1?_0x4158b9[_0x23d95f(0x110)]:0x0,_0x2c34bf=_0xfbbb98+_0x3d7d72+(_0x3d7d72?0x1:0x0)+_0x125553['rowCount']+_0x4d1ecf[_0x23d95f(0x163)],_0x5bdd6d=_0xebf628+_0x171716,_0x5277ea=_0xebf628+_0x125553[_0x23d95f(0x100)]+_0x45eb02[_0x23d95f(0x100)],_0xf69efc=Math[_0x23d95f(0x31f)](_0x5bdd6d,_0x5277ea);return{'rowCount':_0x2c34bf,'colCount':_0xf69efc};}function _0x578edf(_0x1dda1f,_0x3e793,_0x587aa9,_0x34efbb){const _0x2a1d9c=_0x40b749,{row:_0x5e738f,col:_0x2560f9,unitId:_0x27805c,subUnitId:_0x4ddfef}=_0x587aa9,_0xbaefa9=_0x46b8ad(_0x3e793,{'row':_0x5e738f,'col':_0x2560f9},_0x34efbb),_0x3ddcf1=_0x1dda1f[_0x2a1d9c(0x218)](_0x1e9f36['IUniverInstanceService']),_0x25976e=_0x18baff[_0x2a1d9c(0x2e9)](_0x3ddcf1,{'unitId':_0x27805c,'subUnitId':_0x4ddfef}),_0x535401=[],_0x30238b=[];if(!_0x25976e)return{'undos':_0x30238b,'redos':_0x535401};const {worksheet:_0x309350}=_0x25976e,_0xace52d=_0x309350[_0x2a1d9c(0x3fc)](),_0x57732e=_0x309350[_0x2a1d9c(0x245)]();return _0xace52d<_0xbaefa9[_0x2a1d9c(0x163)]&&(_0x535401[_0x2a1d9c(0x189)]({'id':_0x18baff[_0x2a1d9c(0x2ee)]['id'],'params':{'unitId':_0x27805c,'subUnitId':_0x4ddfef,'range':{'startRow':_0xace52d,'endRow':_0xbaefa9[_0x2a1d9c(0x163)]-0x1,'startColumn':0x0,'endColumn':_0x57732e-0x1}}}),_0x30238b['push']({'id':_0x18baff[_0x2a1d9c(0x183)]['id'],'params':{'unitId':_0x27805c,'subUnitId':_0x4ddfef,'range':{'startRow':_0xace52d,'endRow':_0xbaefa9['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x57732e-0x1}}})),_0x57732e<_0xbaefa9[_0x2a1d9c(0x100)]&&(_0x535401[_0x2a1d9c(0x189)]({'id':_0x18baff['InsertColMutation']['id'],'params':{'unitId':_0x27805c,'subUnitId':_0x4ddfef,'range':{'startRow':0x0,'endRow':_0xace52d-0x1,'startColumn':_0x57732e,'endColumn':_0xbaefa9[_0x2a1d9c(0x100)]-0x1}}}),_0x30238b[_0x2a1d9c(0x189)]({'id':_0x18baff['RemoveColMutation']['id'],'params':{'unitId':_0x27805c,'subUnitId':_0x4ddfef,'range':{'startRow':0x0,'endRow':_0xace52d-0x1,'startColumn':_0x57732e,'endColumn':_0xbaefa9['colCount']-0x1}}})),{'undos':_0x30238b,'redos':_0x535401};}function _0x2d6459(_0x47e38b){const _0x29ed7f=_0x40b749;let _0x42b548=0x0;for(let _0x47753d=0x0;_0x47753d<_0x47e38b[_0x29ed7f(0x10b)];_0x47753d++){const _0xee2799=_0x47e38b[_0x29ed7f(0x27a)](_0x47753d);_0xee2799>=0x4e00&&_0xee2799<=0x9fff||_0xee2799>=0x3000&&_0xee2799<=0x303f||_0xee2799>=0xff00&&_0xee2799<=0xffef?_0x42b548+=0x2:_0x42b548+=0x1;}return _0x42b548;}function _0x55961c(_0x5a4117,_0x5b6c57,_0x3e5ed3,_0x281ac2){const _0x25ff93=_0x40b749;var _0x190d61,_0x45d5de,_0x1b1323,_0x31e9b0;const {rowCount:_0x5356c3,colCount:_0xf6749b,headerMap:_0x243f57}=_0x5a4117,_0xd4674e=0x64,_0x1dbb08=Math[_0x25ff93(0x125)](_0x5356c3,_0xd4674e),_0x5affa7=Math['min'](_0xf6749b,_0xd4674e);let _0x25d4ac='',_0x504858=0x0;for(let _0x3535d9=0x0;_0x3535d9<_0x1dbb08;_0x3535d9++)for(let _0x4a65ca=0x0;_0x4a65ca<_0x5affa7;_0x4a65ca++){const _0x2fa502={...(_0x45d5de=(_0x190d61=_0x5a4117['data'])==null?void 0x0:_0x190d61[_0x3535d9])==null?void 0x0:_0x45d5de[_0x4a65ca]},_0x183250=(_0x1b1323=_0x243f57[_0x3535d9])==null?void 0x0:_0x1b1323[_0x25ff93(0x1ca)],_0xe8e8b5=_0x281ac2[_0x183250];let _0x3eea44=_0x5a4117[_0x25ff93(0x3dd)](_0x3535d9,_0x4a65ca);if(_0x2fa502){const _0xb8a0f7=_0x3e5ed3?_0x4a65ca===0x0&&((_0x31e9b0=_0x5a4117[_0x25ff93(0x3e3)](_0x4a65ca+0x1))==null?void 0x0:_0x31e9b0[_0x25ff93(0x134)]):!0x1;_0x3eea44=_0x546530(_0x2fa502,_0xb8a0f7,_0xe8e8b5,_0x5b6c57);}if(_0x3eea44!==void 0x0){const _0x50e968=_0x2d6459(String(_0x3eea44));_0x504858<_0x50e968&&(_0x25d4ac=String(_0x3eea44),_0x504858=_0x50e968);}}return _0x25d4ac;}function _0x3f05e4(_0x280924){const _0x52c13a=_0x40b749,{rowCount:_0x9c6c6e,colCount:_0x5255d0}=_0x280924;let _0x310940='',_0x5df9c8=0x0;for(let _0x53caf8=_0x9c6c6e-0x1;_0x53caf8>0x0&&_0x53caf8>_0x9c6c6e-0x3;_0x53caf8--)for(let _0x713fcd=0x0;_0x713fcd<_0x5255d0;_0x713fcd++){const _0x4e3896=_0x280924['getValue'](_0x53caf8,_0x713fcd);if(_0x4e3896!==void 0x0){const _0x23addc=String(_0x4e3896)[_0x52c13a(0x10b)];_0x5df9c8<_0x23addc&&(_0x310940=String(_0x4e3896),_0x5df9c8=_0x23addc);}}return _0x310940;}function _0x530262(_0x3b72dc){const _0x5c18a8=_0x40b749,{rowCount:_0x23a5c4,colCount:_0x527d50}=_0x3b72dc;let _0x3afd08='',_0x2c66c5=0x0;for(let _0x4485a6=0x0;_0x4485a6<_0x23a5c4;_0x4485a6++)for(let _0x8099d3=0x0;_0x8099d3<_0x527d50;_0x8099d3++){const _0xfa9587=_0x3b72dc[_0x5c18a8(0x3dd)](_0x4485a6,_0x8099d3);if(_0xfa9587!==void 0x0){const _0x56914d=String(_0xfa9587)[_0x5c18a8(0x10b)];_0x2c66c5<_0x56914d&&(_0x3afd08=String(_0xfa9587),_0x2c66c5=_0x56914d);}}return _0x3afd08;}function _0xbd3694(_0x2ac6fd,_0x733984){const _0x5a64e9=_0x40b749,{rowFields:_0x181626,columnFields:_0x264323,valueFields:_0x5564b8,filterFields:_0x5732f1,dimension:_0x5856f0,measure:_0x217a3b}=_0x733984;for(const _0x2aaec4 of _0x181626){const _0x119715=_0x5856f0[_0x2aaec4];_0x119715&&_0x2ac6fd['getDataFieldByDataFieldId'](_0x119715[_0x5a64e9(0x25f)])&&(_0x2ac6fd[_0x5a64e9(0x234)](_0x119715[_0x5a64e9(0x25f)],_0x5b2537[_0x5a64e9(0x356)][_0x5a64e9(0x314)],void 0x0,_0x2aaec4),_0x119715[_0x5a64e9(0x31e)]&&_0x2ac6fd[_0x5a64e9(0x339)](_0x119715['id'],_0x119715[_0x5a64e9(0x31e)]),_0x119715[_0x5a64e9(0x277)]&&_0x2ac6fd[_0x5a64e9(0x394)](_0x119715['id'],_0x119715['sortInfo']),_0x119715[_0x5a64e9(0x15c)]&&_0x2ac6fd[_0x5a64e9(0x243)](_0x119715['id'],_0x119715[_0x5a64e9(0x15c)]));}for(const _0x22ab7d of _0x264323){const _0x3ec0b5=_0x5856f0[_0x22ab7d];_0x3ec0b5&&_0x2ac6fd['getDataFieldByDataFieldId'](_0x3ec0b5[_0x5a64e9(0x25f)])&&(_0x2ac6fd[_0x5a64e9(0x234)](_0x3ec0b5[_0x5a64e9(0x25f)],_0x5b2537[_0x5a64e9(0x356)]['Column'],void 0x0,_0x22ab7d),_0x3ec0b5['sortInfo']&&_0x2ac6fd['setSortInfo'](_0x3ec0b5['id'],_0x3ec0b5[_0x5a64e9(0x277)]),_0x3ec0b5['filterInfo']&&_0x2ac6fd[_0x5a64e9(0x243)](_0x3ec0b5['id'],_0x3ec0b5['filterInfo']),_0x3ec0b5[_0x5a64e9(0x31e)]&&_0x2ac6fd[_0x5a64e9(0x339)](_0x3ec0b5['id'],_0x3ec0b5[_0x5a64e9(0x31e)]));}for(const _0x477fc6 of _0x5732f1){const _0x24fd9e=_0x5856f0[_0x477fc6];_0x24fd9e&&_0x2ac6fd[_0x5a64e9(0x28c)](_0x24fd9e[_0x5a64e9(0x25f)])&&(_0x2ac6fd[_0x5a64e9(0x234)](_0x24fd9e['dataFieldId'],_0x5b2537[_0x5a64e9(0x356)][_0x5a64e9(0x202)],void 0x0,_0x477fc6),_0x24fd9e[_0x5a64e9(0x277)]&&_0x2ac6fd[_0x5a64e9(0x394)](_0x24fd9e['id'],_0x24fd9e[_0x5a64e9(0x277)]),_0x24fd9e[_0x5a64e9(0x15c)]&&_0x2ac6fd[_0x5a64e9(0x243)](_0x24fd9e['id'],_0x24fd9e[_0x5a64e9(0x15c)]),_0x24fd9e[_0x5a64e9(0x31e)]&&_0x2ac6fd[_0x5a64e9(0x339)](_0x24fd9e['id'],_0x24fd9e[_0x5a64e9(0x31e)]));}for(const _0x31c6b3 of _0x5564b8){const _0x1b298b=_0x217a3b[_0x31c6b3];_0x1b298b&&_0x2ac6fd[_0x5a64e9(0x28c)](_0x1b298b[_0x5a64e9(0x25f)])&&(_0x2ac6fd[_0x5a64e9(0x234)](_0x1b298b[_0x5a64e9(0x25f)],_0x5b2537[_0x5a64e9(0x356)][_0x5a64e9(0x1c8)],void 0x0,_0x31c6b3),_0x1b298b[_0x5a64e9(0xf9)]!==void 0x0&&_0x2ac6fd[_0x5a64e9(0x1cf)](_0x31c6b3,_0x1b298b[_0x5a64e9(0xf9)]),_0x1b298b['format']&&_0x2ac6fd[_0x5a64e9(0x1d1)](_0x31c6b3,_0x1b298b[_0x5a64e9(0x2b9)]),_0x1b298b[_0x5a64e9(0x31e)]&&_0x2ac6fd[_0x5a64e9(0x339)](_0x1b298b['id'],_0x1b298b['displayName']));}const _0x47a2a6=_0x733984[_0x5a64e9(0x11a)];for(const {fieldId:_0x26caf3,filterInfo:_0xf5380e}of _0x47a2a6)_0x2ac6fd[_0x5a64e9(0x40b)](_0x26caf3,_0xf5380e);}function _0x2b2aeb(_0x17c0f9,_0x250236){const _0x4cb80b=_0x40b749,_0x249a6=[];_0x250236===_0x5b2537[_0x4cb80b(0x356)][_0x4cb80b(0x314)]&&_0x17c0f9[_0x4cb80b(0x319)](_0x5b2537[_0x4cb80b(0x356)][_0x4cb80b(0x314)],_0x1eaf7d=>{const _0x18b08a=_0x4cb80b;_0x249a6[_0x18b08a(0x189)](_0x1eaf7d['getId']());}),_0x250236===_0x5b2537[_0x4cb80b(0x356)]['Column']&&_0x17c0f9['iterateFieldByArea'](_0x5b2537[_0x4cb80b(0x356)][_0x4cb80b(0x3c2)],_0x1cb206=>{const _0xa1954b=_0x4cb80b;_0x249a6[_0xa1954b(0x189)](_0x1cb206[_0xa1954b(0x279)]());}),_0x250236===_0x5b2537[_0x4cb80b(0x356)]['Filter']&&_0x17c0f9[_0x4cb80b(0x319)](_0x5b2537[_0x4cb80b(0x356)][_0x4cb80b(0x202)],_0x417ddb=>{const _0x4acac9=_0x4cb80b;_0x249a6[_0x4acac9(0x189)](_0x417ddb[_0x4acac9(0x279)]());}),_0x250236===_0x5b2537[_0x4cb80b(0x356)]['Value']&&_0x17c0f9['iterateFieldByArea'](_0x5b2537[_0x4cb80b(0x356)][_0x4cb80b(0x1c8)],_0x59f4f3=>{const _0x5c41e2=_0x4cb80b;_0x249a6[_0x5c41e2(0x189)](_0x59f4f3[_0x5c41e2(0x279)]());}),_0x250236===void 0x0&&_0x17c0f9[_0x4cb80b(0x30e)](_0x4d73e7=>{const _0x3c5a9d=_0x4cb80b;_0x249a6['push'](_0x4d73e7[_0x3c5a9d(0x279)]());});const _0x38d38e=_0x249a6[_0x4cb80b(0x10b)];for(let _0x3b7a19=_0x38d38e-0x1;_0x3b7a19>=0x0;_0x3b7a19--)_0x17c0f9['removeField'](_0x249a6[_0x3b7a19]);const _0x1293ef=_0x17c0f9['getValueFilterInfos']();for(const _0x518ce2 in _0x1293ef)_0x17c0f9[_0x4cb80b(0x135)](_0x518ce2);}function _0x5949d6(_0x1132a8,_0x118708){const _0x11ca47=_0x40b749,_0x240a9b=new Date(_0x5b2537[_0x11ca47(0x3f7)](_0x118708)),_0x4473f0=new Date(_0x5b2537[_0x11ca47(0x3f7)](_0x1132a8)),_0x15f2b0=_0x240a9b[_0x11ca47(0x34b)](),_0x3243d6=_0x4473f0[_0x11ca47(0x34b)](),_0x3c3d08=_0x240a9b[_0x11ca47(0x208)](),_0x42b924=_0x4473f0[_0x11ca47(0x208)](),_0x5d7f7d=_0x240a9b[_0x11ca47(0x2d7)](),_0x2bb579=_0x4473f0[_0x11ca47(0x2d7)](),_0x361b19=_0x15f2b0===_0x3243d6,_0x2add5c=_0x361b19&&_0x3c3d08===_0x42b924;return _0x361b19&&_0x2add5c&&!(_0x2add5c&&_0x5d7f7d===_0x2bb579)?_0x5b2537['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x361b19&&!_0x2add5c?_0x5b2537[_0x11ca47(0x395)]['YearMonth']:_0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x11ca47(0x322)];}function _0xcbef7e(_0x2ec41f,_0x497c99){const _0x1d0d5a=_0x40b749,_0x41fd85=_0x2ec41f[_0x1d0d5a(0x218)](_0x141cd5['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x4596de='';switch(_0x497c99){case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x364)]:_0x4596de=_0x41fd85['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x5b2537[_0x1d0d5a(0x395)][_0x1d0d5a(0x1d2)]:_0x4596de=_0x41fd85['sheets-pivot.dateGroup.yearMonth'];break;case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x322)]:_0x4596de=_0x41fd85['sheets-pivot.dateGroup.year'];break;case _0x5b2537[_0x1d0d5a(0x395)][_0x1d0d5a(0x2d6)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x1a2)];break;case _0x5b2537[_0x1d0d5a(0x395)][_0x1d0d5a(0x20f)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x413)];break;case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x16c)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x381)];break;case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x318)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x3d9)];break;case _0x5b2537[_0x1d0d5a(0x395)][_0x1d0d5a(0x11e)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x3d5)];break;case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x1be)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x1e0)];break;case _0x5b2537[_0x1d0d5a(0x395)][_0x1d0d5a(0x3d6)]:_0x4596de=_0x41fd85['sheets-pivot.dateGroup.monthDate'];break;case _0x5b2537['PivotDateGroupFieldDateTypeEnum'][_0x1d0d5a(0x2b4)]:_0x4596de=_0x41fd85[_0x1d0d5a(0x3d7)];break;default:_0x4596de='';break;}return _0x4596de;}const _0x18ecb1=_0x40b749(0x1bb),_0xaf9b9a={};var _0x2ea85d=Object[_0x40b749(0x1fe)],_0x3fcb46=(_0x2db079,_0x4f08b1,_0x8d79de,_0x4fd9ce)=>{const _0x17dc88=_0x40b749;for(var _0x38e072=_0x4fd9ce>0x1?void 0x0:_0x4fd9ce?_0x2ea85d(_0x4f08b1,_0x8d79de):_0x4f08b1,_0x47f0c7=_0x2db079[_0x17dc88(0x10b)]-0x1,_0x251ebd;_0x47f0c7>=0x0;_0x47f0c7--)(_0x251ebd=_0x2db079[_0x47f0c7])&&(_0x38e072=_0x251ebd(_0x38e072)||_0x38e072);return _0x38e072;},_0x70e68e=(_0x29884c,_0x2ae5bc)=>(_0x59792f,_0x5b09b6)=>_0x2ae5bc(_0x59792f,_0x5b09b6,_0x29884c);_0x141cd5[_0x40b749(0x116)]=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x29f3ad,_0xeba9bd,_0x33b907,_0xce23d3,_0x2c7dd3){const _0x220ac7=_0x40b749;super(),_0x3eeb3c(this,_0x220ac7(0x12c),new Map()),_0x3eeb3c(this,'_collectionConfigModel',new Map()),_0x3eeb3c(this,'_pivotTableRangeInfo',new Map()),_0x3eeb3c(this,_0x220ac7(0x360),new Map()),_0x3eeb3c(this,_0x220ac7(0x28b),new _0x3ac110['Subject']()),_0x3eeb3c(this,_0x220ac7(0x171),new _0x3ac110[(_0x220ac7(0x1dc))]()),_0x3eeb3c(this,_0x220ac7(0x366),this['_pivotInitCompleted$'][_0x220ac7(0x1eb)]()),_0x3eeb3c(this,_0x220ac7(0x19b),new _0x3ac110[(_0x220ac7(0x1dc))]()),_0x3eeb3c(this,'pivotConfigChange$',this[_0x220ac7(0x19b)][_0x220ac7(0x1eb)]()),_0x3eeb3c(this,_0x220ac7(0x269),{}),_0x3eeb3c(this,_0x220ac7(0x114),this[_0x220ac7(0x28b)]['asObservable']()),(this['_injector']=_0x29f3ad,this[_0x220ac7(0x25e)]=_0xeba9bd,this['_univerInstanceService']=_0x33b907,this[_0x220ac7(0x1c0)]=_0xce23d3,this[_0x220ac7(0x372)]=_0x2c7dd3,this[_0x220ac7(0x25d)](),this[_0x220ac7(0x205)]());const _0x911b52=this[_0x220ac7(0x372)]['getConfig'](_0x18ecb1);(_0x911b52==null?void 0x0:_0x911b52[_0x220ac7(0x38d)])===!0x0&&this[_0x220ac7(0x338)]();}[_0x40b749(0x205)](){const _0x3b315f=_0x40b749;this['disposeWithMe'](this[_0x3b315f(0x16b)][_0x3b315f(0x2df)](_0x1e9f36[_0x3b315f(0x2fd)][_0x3b315f(0x295)])[_0x3b315f(0x32f)](_0x3f679a=>{const _0x104ad7=_0x3b315f;this[_0x104ad7(0x2b3)](_0x3f679a['getUnitId']());}));}['setPivotInitCompleted'](){this['_pivotInitCompleted$']['next'](!0x0);}['_initLocale'](){const _0x30d248=_0x40b749,_0x10b3da=_0x2db27e(this['_injector'],_0x183aed,'',{});this[_0x30d248(0x269)]=_0x10b3da,this[_0x30d248(0x25e)]['executeCommand'](_0x5c0f40['id'],{'textInfo':_0x10b3da},{'onlyLocal':!0x0});}[_0x40b749(0x2c8)](){return this['_textInfo'];}[_0x40b749(0x118)](_0xa81e34,_0x3f00e2,_0x5a85b2,_0x6c574b,_0x39c4af){const _0x273624=_0x40b749;this[_0x273624(0x2a9)](_0xa81e34,_0x3f00e2,_0x5a85b2,_0x6c574b),this['updatePivotTableRangeInfo'](_0xa81e34,_0x3f00e2,_0x5a85b2,_0x39c4af);}['getPivotTableConfig'](_0x1275fc,_0x23ea7f,_0x4c86a4){const _0x1ff5ee=_0x40b749;var _0x56ba21;const _0x46fffe=(_0x56ba21=this[_0x1ff5ee(0x12c)][_0x1ff5ee(0x218)](_0x1275fc))==null?void 0x0:_0x56ba21['get'](_0x23ea7f);if(_0x46fffe)return _0x46fffe['get'](_0x4c86a4);}[_0x40b749(0x302)](_0x10aaf8,_0x255d77){const _0x4b33b4=_0x40b749,_0x24ea48=this[_0x4b33b4(0x12c)][_0x4b33b4(0x218)](_0x10aaf8);if(_0x24ea48){for(const [_0x11b7bd,_0x8c0c8c]of _0x24ea48[_0x4b33b4(0x35f)]())for(const [_0x4ed627,_0x374f87]of _0x8c0c8c[_0x4b33b4(0x35f)]())if(_0x4ed627===_0x255d77)return _0x374f87[_0x4b33b4(0x3e7)];}}[_0x40b749(0x317)](_0x162631,_0x373a41,_0x58f80e){const _0x3c43db=_0x40b749,_0x39873e=this[_0x3c43db(0x3d3)](_0x162631,_0x373a41,_0x58f80e);return _0x39873e==null?void 0x0:_0x39873e[_0x3c43db(0x3e7)];}['getSubUnitPivotConfigs'](_0x551631,_0x4c7f77){const _0x27c6ab=_0x40b749;var _0x26b4c8;return(_0x26b4c8=this['_model'][_0x27c6ab(0x218)](_0x551631))==null?void 0x0:_0x26b4c8[_0x27c6ab(0x218)](_0x4c7f77);}[_0x40b749(0x2db)](_0x1f2486,_0x354b8c,_0x450339,_0x10857b){const _0x3488e0=_0x40b749,_0x3c0ba4=this[_0x3488e0(0x18b)](_0x1f2486,_0x354b8c);_0x10857b?_0x3c0ba4[_0x3488e0(0x308)](_0x450339,_0x10857b):_0x3c0ba4[_0x3488e0(0x325)](_0x450339),this[_0x3488e0(0x19b)][_0x3488e0(0x150)]({'unitId':_0x1f2486,'subUnitId':_0x354b8c,'pivotTableId':_0x450339,'pivotTableConfig':_0x10857b});}[_0x40b749(0x16e)](_0x4c2fb4,_0x40d06d){const _0x35315d=_0x40b749;var _0x514629;return(_0x514629=this[_0x35315d(0x1c2)][_0x35315d(0x218)](_0x4c2fb4))==null?void 0x0:_0x514629[_0x35315d(0x274)][_0x40d06d];}[_0x40b749(0x2ed)](_0x448fb9,_0x2a6b42){const _0x182574=_0x40b749;this[_0x182574(0x1c2)][_0x182574(0x308)](_0x448fb9,_0x2a6b42),this[_0x182574(0x28b)][_0x182574(0x150)](Math[_0x182574(0x2a0)]());}[_0x40b749(0x18b)](_0xea4eb,_0x5642f1){const _0x14a13c=_0x40b749;let _0x28268a=this[_0x14a13c(0x12c)][_0x14a13c(0x218)](_0xea4eb);_0x28268a||(_0x28268a=new Map(),this[_0x14a13c(0x12c)]['set'](_0xea4eb,_0x28268a));let _0x40b3be=_0x28268a['get'](_0x5642f1);return _0x40b3be||(_0x40b3be=new Map(),_0x28268a[_0x14a13c(0x308)](_0x5642f1,_0x40b3be)),_0x40b3be;}[_0x40b749(0x26b)](_0x37a909,_0xa2d51){const _0x18ffdb=_0x40b749;let _0x4c7ad5=this[_0x18ffdb(0x108)][_0x18ffdb(0x218)](_0x37a909);_0x4c7ad5||(_0x4c7ad5=new Map(),this['_pivotTableRangeInfo']['set'](_0x37a909,_0x4c7ad5));let _0x56be1b=_0x4c7ad5[_0x18ffdb(0x218)](_0xa2d51);return _0x56be1b||(_0x56be1b=new Map(),_0x4c7ad5[_0x18ffdb(0x308)](_0xa2d51,_0x56be1b)),_0x56be1b;}[_0x40b749(0x1d9)](_0x2ef92e,_0x5a839e){const _0x3ce46a=_0x40b749;let _0x362423=this['_pivotTableMatrixInfo']['get'](_0x2ef92e);_0x362423||(_0x362423=new Map(),this[_0x3ce46a(0x360)]['set'](_0x2ef92e,_0x362423));let _0x1be3be=_0x362423['get'](_0x5a839e);return _0x1be3be||(_0x1be3be=new Map(),_0x362423[_0x3ce46a(0x308)](_0x5a839e,_0x1be3be)),_0x1be3be;}[_0x40b749(0x180)](_0x3f689a,_0x1788a6,_0x1f52df,_0x483e67){const _0x3acc30=_0x40b749;var _0x32d6ec;const _0x51a441=this[_0x3acc30(0x26b)](_0x3f689a,_0x1788a6),_0x26bc64=(_0x32d6ec=_0x51a441[_0x3acc30(0x218)](_0x1f52df))==null?void 0x0:_0x32d6ec['oldRangeInfo'];_0x51a441[_0x3acc30(0x308)](_0x1f52df,{'oldRangeInfo':_0x26bc64,'rangeInfo':_0x483e67});}[_0x40b749(0x2a9)](_0x4429e4,_0x2ab518,_0x554a64,_0x55ac42){const _0x5946cf=_0x40b749;var _0x476edb;const _0x5ab91e=this['_ensurePivotTableMatrixInfo'](_0x4429e4,_0x2ab518),_0x26e4f2=(_0x476edb=_0x5ab91e[_0x5946cf(0x218)](_0x554a64))==null?void 0x0:_0x476edb['oldMatrix'];_0x5ab91e[_0x5946cf(0x308)](_0x554a64,{'oldMatrix':_0x26e4f2,'matrix':_0x55ac42});}['getPivotTableRangeInfo'](_0x3cec64,_0x207a53,_0x409a2e){const _0x30a17b=_0x40b749;var _0x5e4c0d,_0x159748;return(_0x159748=(_0x5e4c0d=this[_0x30a17b(0x108)][_0x30a17b(0x218)](_0x3cec64))==null?void 0x0:_0x5e4c0d[_0x30a17b(0x218)](_0x207a53))==null?void 0x0:_0x159748[_0x30a17b(0x218)](_0x409a2e);}[_0x40b749(0x343)](_0xabe7d1,_0x123ee7,_0x2503ae){const _0x3816e2=_0x40b749;var _0x256039,_0x54c300;return(_0x54c300=(_0x256039=this[_0x3816e2(0x360)][_0x3816e2(0x218)](_0xabe7d1))==null?void 0x0:_0x256039[_0x3816e2(0x218)](_0x123ee7))==null?void 0x0:_0x54c300[_0x3816e2(0x218)](_0x2503ae);}[_0x40b749(0x2b3)](_0x2215ae){const _0x540876=_0x40b749;this[_0x540876(0x12c)][_0x540876(0x325)](_0x2215ae),this['_collectionConfigModel'][_0x540876(0x325)](_0x2215ae);}[_0x40b749(0x1b2)](_0x2764c9){const _0x24fb78=_0x40b749,_0x3da419={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x24fb78(0x1c2)]['get'](_0x2764c9)&&(_0x3da419['dataFieldManagerConfig'][_0x2764c9]=this[_0x24fb78(0x1c2)][_0x24fb78(0x218)](_0x2764c9)),this[_0x24fb78(0x12c)][_0x24fb78(0x218)](_0x2764c9)){_0x3da419['pivotTableConfigs'][_0x2764c9]={};const _0x127132=this[_0x24fb78(0x12c)][_0x24fb78(0x218)](_0x2764c9);_0x127132!=null&&_0x127132[_0x24fb78(0x3fb)]&&[..._0x127132[_0x24fb78(0x291)]()][_0x24fb78(0x33d)](_0x27bced=>{const _0x1add11=_0x24fb78,_0x14e670=_0x127132['get'](_0x27bced);_0x14e670!=null&&_0x14e670[_0x1add11(0x3fb)]&&(_0x3da419[_0x1add11(0x24d)][_0x2764c9][_0x27bced]={},[..._0x14e670[_0x1add11(0x291)]()]['forEach'](_0x2123b9=>{const _0x5bd5d3=_0x1add11,_0x3db3b8=_0x14e670[_0x5bd5d3(0x218)](_0x2123b9);_0x3db3b8&&(_0x3da419[_0x5bd5d3(0x24d)][_0x2764c9][_0x27bced][_0x2123b9]=_0x3db3b8);}));});}return _0x3da419;}[_0x40b749(0x338)](){const _0x173dce=_0x40b749;this['disposeWithMe'](this[_0x173dce(0x1c0)][_0x173dce(0x382)]({'toJson':_0x402f7e=>JSON['stringify'](this[_0x173dce(0x1b2)](_0x402f7e)),'parseJson':_0x3ecb99=>({}),'businesses':[_0x1e9f36[_0x173dce(0x2fd)][_0x173dce(0x295)]],'pluginName':_0x44c80e,'onLoad':(_0x5a6934,_0x2a675d)=>{},'onUnLoad':_0x1d4aab=>{const _0x33841f=_0x173dce;this[_0x33841f(0x2b3)](_0x1d4aab);}}));}},_0x141cd5[_0x40b749(0x116)]=_0x3fcb46([_0x70e68e(0x0,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x209)])),_0x70e68e(0x1,_0x1e9f36['Inject'](_0x1e9f36[_0x40b749(0x3a6)])),_0x70e68e(0x2,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x136)])),_0x70e68e(0x3,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x2ad)])),_0x70e68e(0x4,_0x1e9f36['Inject'](_0x1e9f36[_0x40b749(0x383)]))],_0x141cd5[_0x40b749(0x116)]);var _0x4a5e64=Object[_0x40b749(0x1fe)],_0x596425=(_0x187a3a,_0x12dae7,_0x52602f,_0x6ddd29)=>{const _0x590ab3=_0x40b749;for(var _0x3e6993=_0x6ddd29>0x1?void 0x0:_0x6ddd29?_0x4a5e64(_0x12dae7,_0x52602f):_0x12dae7,_0x1105c1=_0x187a3a[_0x590ab3(0x10b)]-0x1,_0x2c188f;_0x1105c1>=0x0;_0x1105c1--)(_0x2c188f=_0x187a3a[_0x1105c1])&&(_0x3e6993=_0x2c188f(_0x3e6993)||_0x3e6993);return _0x3e6993;},_0x5c650e=(_0x5562db,_0x5305b7)=>(_0x525b32,_0x1a8d1d)=>_0x5305b7(_0x525b32,_0x1a8d1d,_0x5562db);_0x141cd5[_0x40b749(0x278)]=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x3d4765,_0x8d241,_0x5c4f2e,_0x557586,_0x48ffd9){const _0x2efa2c=_0x40b749;super(),_0x3eeb3c(this,_0x2efa2c(0x39c),new Map()),_0x3eeb3c(this,_0x2efa2c(0x22d),new Map()),_0x3eeb3c(this,_0x2efa2c(0x248),new _0x3ac110['Subject']()),_0x3eeb3c(this,_0x2efa2c(0x3dc),this[_0x2efa2c(0x248)][_0x2efa2c(0x1eb)]()),_0x3eeb3c(this,_0x2efa2c(0x1de),new _0x3ac110[(_0x2efa2c(0x1dc))]()),_0x3eeb3c(this,_0x2efa2c(0x241),this[_0x2efa2c(0x1de)][_0x2efa2c(0x1eb)]()),_0x3eeb3c(this,_0x2efa2c(0x269)),(this[_0x2efa2c(0x18d)]=_0x3d4765,this[_0x2efa2c(0x373)]=_0x8d241,this[_0x2efa2c(0x3a3)]=_0x5c4f2e,this[_0x2efa2c(0x16b)]=_0x557586,this[_0x2efa2c(0x3ff)]=_0x48ffd9,this[_0x2efa2c(0x25d)](),this[_0x2efa2c(0x205)]());}[_0x40b749(0x205)](){const _0x5294f8=_0x40b749;this[_0x5294f8(0x1fa)](this['_univerInstanceService'][_0x5294f8(0x2df)](_0x1e9f36[_0x5294f8(0x2fd)][_0x5294f8(0x295)])[_0x5294f8(0x32f)](_0x20945b=>{const _0x47d73c=_0x5294f8;this[_0x47d73c(0x2b3)](_0x20945b[_0x47d73c(0x35b)]());}));}[_0x40b749(0x25d)](){const _0xc5f7a6=_0x40b749;this[_0xc5f7a6(0x269)]=_0x2db27e(this['_injector'],_0x183aed,'',{});}['updateRenderCache'](_0x206fdf){const _0x1011f2=_0x40b749,{view:_0x4165d8,unitId:_0x33ef6f,subUnitId:_0x7c7b55,pivotTableId:_0x33fcfc,type:_0x27d8c6}=_0x206fdf,_0x55d117=this[_0x1011f2(0x3a3)]['getPivotTableConfig'](_0x33ef6f,_0x7c7b55,_0x33fcfc);if(!_0x4165d8||!_0x55d117||_0x27d8c6===_0x40d428[_0x1011f2(0x3bc)])return;const {pageView:_0x38b17c,cornerView:_0x216a59,rowView:_0x58e07d,colView:_0x212052,dataView:_0x180592}=_0x4165d8,_0x136357=_0x55d117[_0x1011f2(0x3e7)],_0x2023f5=_0x55d117[_0x1011f2(0x1ee)],_0x371161=this[_0x1011f2(0x2cc)](_0x33ef6f,_0x7c7b55),_0x271982=this[_0x1011f2(0x2b6)](_0x33ef6f,_0x7c7b55,_0x33fcfc);if(_0x2023f5)return this['_updateRenderEmptyCache'](_0x206fdf,_0x371161,_0x136357,_0x271982);{const _0x5bed9e=_0x47b32b(_0x136357,_0x38b17c,!0x0),_0x168cf2=_0x38b17c['lastRow']>=0x0?_0x38b17c[_0x1011f2(0x3e6)]+0x1:0x0,_0x1d009=_0x216a59[_0x1011f2(0x3fc)](),_0x29b2d1=_0x216a59[_0x1011f2(0x133)](),_0x58f7ec=_0x5bed9e[_0x1011f2(0x10b)]>0x0?_0x378094:0x0,_0x441c40=_0x47b32b({'row':_0x136357['row']+_0x168cf2+_0x58f7ec,'col':_0x136357[_0x1011f2(0x2e3)]},_0x216a59,!0x1,!0x1),_0xc7b785=_0x47b32b({'row':_0x136357[_0x1011f2(0x1f7)]+_0x168cf2+_0x58f7ec+_0x1d009,'col':_0x136357['col']},_0x58e07d,!0x1,!0x0),_0xfad6ce=_0x47b32b({'row':_0x136357[_0x1011f2(0x1f7)]+_0x168cf2+_0x58f7ec,'col':_0x136357[_0x1011f2(0x2e3)]+_0x29b2d1},_0x212052,!0x1,!0x0),_0x111145=_0x47b32b({'row':_0x136357[_0x1011f2(0x1f7)]+_0x168cf2+_0x58f7ec+_0x1d009,'col':_0x136357[_0x1011f2(0x2e3)]+_0x29b2d1},_0x180592,!0x1,!0x1);_0x271982[_0x1011f2(0x3f4)]={'rowRanges':_0xc7b785,'colRanges':_0xfad6ce,'cornerRanges':_0x441c40,'dataRanges':_0x111145,'pageRanges':_0x5bed9e};const _0x5e1822=_0xd2bf56(this[_0x1011f2(0x373)],_0x4165d8,_0x55d117,this[_0x1011f2(0x269)]),{valueMatrix:_0x26d7e6,rowInfo:_0xc743f4,colInfo:_0x293bb4,cornerInfo:_0x5a3d51,rowHeaderMap:_0x3f0cf9,colHeaderMap:_0x5422c8}=_0x5e1822;return _0x271982[_0x1011f2(0x1f3)]={'rowInfo':_0xc743f4,'colInfo':_0x293bb4,'cornerInfo':_0x5a3d51},_0x271982[_0x1011f2(0x21f)]={'rowHeaderMap':_0x3f0cf9,'colHeaderMap':_0x5422c8},_0x26d7e6['forEach']((_0x2bc5d8,_0x104ce7)=>{Object['keys'](_0x104ce7)['forEach'](_0x2bdcbd=>{const _0x364c76=_0x48e4,_0x20a6fe=+_0x2bdcbd,_0x5973bc=_0x26d7e6[_0x364c76(0x3dd)](_0x2bc5d8,_0x20a6fe);_0x371161[_0x364c76(0x147)](_0x2bc5d8,_0x20a6fe,_0x5973bc);});}),this['_viewUpdate$'][_0x1011f2(0x150)]({'unitId':_0x33ef6f,'subUnitId':_0x7c7b55,'valueMatrix':_0x371161,'rangesCache':_0x271982[_0x1011f2(0x3f4)],'pivotTableId':_0x33fcfc,'type':_0x206fdf['type']}),this[_0x1011f2(0x3a3)][_0x1011f2(0x118)](_0x33ef6f,_0x7c7b55,_0x33fcfc,_0x371161,_0x271982[_0x1011f2(0x3f4)]),this[_0x1011f2(0x3ff)]['addExclusiveRange'](_0x33ef6f,_0x7c7b55,_0x5063a7,this[_0x1011f2(0xf5)](_0x271982[_0x1011f2(0x3f4)],_0x33fcfc)),{'rangeCache':_0x271982[_0x1011f2(0x3f4)],'matrix':_0x371161};}}['_updateRenderEmptyCache'](_0x50c7ae,_0x3d96cc,_0x5a7a59,_0x2cecc8){const _0x212a30=_0x40b749,_0x100f6e=this['_localeService']['t'],{unitId:_0x153bef,subUnitId:_0x380eb6,pivotTableId:_0x10c7b8}=_0x50c7ae,_0x1da760={'filter':_0x100f6e(_0x212a30(0x2ba)),'row':_0x100f6e(_0x212a30(0x242)),'column':_0x100f6e(_0x212a30(0x34f)),'values':_0x100f6e(_0x212a30(0x24c))},{matrixCache:_0x3c8304,rangesCache:_0x4913b0}=_0x4ca13b(_0x1da760,_0x5a7a59);return _0x3c8304[_0x212a30(0x2d3)]((_0x2a5dd7,_0x2b595f,_0xbbb7f5)=>{const _0x328fe8=_0x212a30;_0x3d96cc[_0x328fe8(0x147)](_0x2a5dd7,_0x2b595f,_0xbbb7f5);}),_0x2cecc8[_0x212a30(0x3f4)]=_0x4913b0,this[_0x212a30(0x1de)][_0x212a30(0x150)]({'unitId':_0x153bef,'subUnitId':_0x380eb6,'valueMatrix':_0x3d96cc,'rangesCache':_0x4913b0,'pivotTableId':_0x10c7b8,'type':_0x50c7ae[_0x212a30(0x3a5)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x153bef,_0x380eb6,_0x10c7b8,_0x3d96cc,_0x4913b0),this[_0x212a30(0x3ff)][_0x212a30(0x3ca)](_0x153bef,_0x380eb6,_0x5063a7,this[_0x212a30(0xf5)](_0x4913b0,_0x10c7b8)),{'rangeCache':_0x2cecc8[_0x212a30(0x3f4)],'matrix':_0x3d96cc};}[_0x40b749(0xf5)](_0x508ccf,_0x572ae1){const _0x202b6f=_0x40b749,_0x7c0d3e=[],_0x36f23b=_0x54ef33(_0x508ccf);for(const _0x7ac134 of _0x36f23b)_0x7c0d3e[_0x202b6f(0x189)]({'groupId':_0x572ae1,'range':_0x7ac134});return _0x7c0d3e;}[_0x40b749(0x17f)](_0x5c90c9){const _0x7290c=_0x40b749;var _0x4de41d,_0x1ff397,_0x3d1797,_0x43edb0;const {pivotTableId:_0x1cd4dc,unitId:_0x17a8a5,subUnitId:_0x8137f8}=_0x5c90c9;if(!_0x1cd4dc||!_0x17a8a5||!_0x8137f8)return;const _0x2b81fe=this[_0x7290c(0x2cc)](_0x17a8a5,_0x8137f8),_0x4829da=(_0x1ff397=(_0x4de41d=this['_pivotRenderInfoCache'][_0x7290c(0x218)](_0x17a8a5))==null?void 0x0:_0x4de41d[_0x7290c(0x218)](_0x8137f8))==null?void 0x0:_0x1ff397[_0x7290c(0x218)](_0x1cd4dc);if(_0x4829da!=null&&_0x4829da['rangesInfo']){for(const _0x5e7140 of Object['keys'](_0x4829da[_0x7290c(0x3f4)]))_0x4829da[_0x7290c(0x3f4)][_0x5e7140][_0x7290c(0x33d)](_0x5398f2=>{const _0x346136=_0x7290c;for(let _0x454ea2=_0x5398f2[_0x346136(0x344)];_0x454ea2<=_0x5398f2['endRow'];_0x454ea2++)for(let _0x5f1194=_0x5398f2['startColumn'];_0x5f1194<=_0x5398f2[_0x346136(0x2f4)];_0x5f1194++)_0x2b81fe[_0x346136(0x39a)](_0x454ea2,_0x5f1194);});}_0x4829da&&((_0x43edb0=(_0x3d1797=this[_0x7290c(0x39c)]['get'](_0x17a8a5))==null?void 0x0:_0x3d1797[_0x7290c(0x218)](_0x8137f8))==null||_0x43edb0[_0x7290c(0x325)](_0x1cd4dc)),this[_0x7290c(0x1de)][_0x7290c(0x150)]({'unitId':_0x17a8a5,'subUnitId':_0x8137f8,'valueMatrix':_0x2b81fe,'pivotTableId':_0x1cd4dc,'rangesCache':void 0x0,'type':_0x5c90c9[_0x7290c(0x3a5)]}),this[_0x7290c(0x3ff)]['clearExclusiveRangesByGroupId'](_0x17a8a5,_0x8137f8,_0x5063a7,_0x1cd4dc);}['_ensurePivotItemRenderInfoCache'](_0xc12ebf,_0x27bf76,_0x361b33){const _0x1aaad6=_0x40b749;var _0x470276,_0xb9d452,_0x341952,_0x2d8931,_0x520125,_0x1590d4;return this[_0x1aaad6(0x39c)][_0x1aaad6(0x109)](_0xc12ebf)||this[_0x1aaad6(0x39c)][_0x1aaad6(0x308)](_0xc12ebf,new Map()),(_0x470276=this[_0x1aaad6(0x39c)][_0x1aaad6(0x218)](_0xc12ebf))!=null&&_0x470276[_0x1aaad6(0x109)](_0x27bf76)||(_0xb9d452=this[_0x1aaad6(0x39c)][_0x1aaad6(0x218)](_0xc12ebf))==null||_0xb9d452[_0x1aaad6(0x308)](_0x27bf76,new Map()),(_0x2d8931=(_0x341952=this[_0x1aaad6(0x39c)][_0x1aaad6(0x218)](_0xc12ebf))==null?void 0x0:_0x341952[_0x1aaad6(0x218)](_0x27bf76))!=null&&_0x2d8931[_0x1aaad6(0x109)](_0x361b33)||(_0x1590d4=(_0x520125=this[_0x1aaad6(0x39c)][_0x1aaad6(0x218)](_0xc12ebf))==null?void 0x0:_0x520125[_0x1aaad6(0x218)](_0x27bf76))==null||_0x1590d4[_0x1aaad6(0x308)](_0x361b33,{}),this[_0x1aaad6(0x39c)][_0x1aaad6(0x218)](_0xc12ebf)[_0x1aaad6(0x218)](_0x27bf76)[_0x1aaad6(0x218)](_0x361b33);}[_0x40b749(0x2cc)](_0x5da548,_0x236b91){const _0x48e813=_0x40b749;var _0x3a186a,_0x9edcd5;return this[_0x48e813(0x22d)][_0x48e813(0x109)](_0x5da548)||this[_0x48e813(0x22d)][_0x48e813(0x308)](_0x5da548,new Map()),(_0x3a186a=this[_0x48e813(0x22d)][_0x48e813(0x218)](_0x5da548))!=null&&_0x3a186a[_0x48e813(0x109)](_0x236b91)||(_0x9edcd5=this['_pivotRenderValueMatrixCache'][_0x48e813(0x218)](_0x5da548))==null||_0x9edcd5['set'](_0x236b91,new _0x1e9f36['ObjectMatrix']()),this[_0x48e813(0x22d)][_0x48e813(0x218)](_0x5da548)[_0x48e813(0x218)](_0x236b91);}[_0x40b749(0x27e)](_0xbf7d92,_0x1aa44e,_0x248b86,_0x609bb2){const _0x4e5600=_0x40b749;var _0x52fff4,_0x4a0363;const _0x1533e5=(_0x4a0363=(_0x52fff4=this['_pivotRenderValueMatrixCache']['get'](_0xbf7d92))==null?void 0x0:_0x52fff4[_0x4e5600(0x218)](_0x1aa44e))==null?void 0x0:_0x4a0363[_0x4e5600(0x3dd)](_0x248b86,_0x609bb2);if(_0x1533e5!=null)return _0x1533e5;}['getPivotTableIdByCell'](_0x592943,_0x820de,_0x2b66fc,_0x458763){const _0x1448a4=_0x40b749;var _0xc56ea8;const _0x59605c=_0x1e9f36[_0x1448a4(0x204)](_0x2b66fc,_0x458763),_0x52f10f=(_0xc56ea8=this['_pivotRenderInfoCache'][_0x1448a4(0x218)](_0x592943))==null?void 0x0:_0xc56ea8[_0x1448a4(0x218)](_0x820de);return _0x52f10f?Array[_0x1448a4(0x2a1)](_0x52f10f[_0x1448a4(0x291)]())[_0x1448a4(0x232)](_0x5300b7=>{const _0xdcc4f8=_0x1448a4,_0x162f6d=_0x52f10f['get'](_0x5300b7),_0x394ee7=_0x162f6d==null?void 0x0:_0x162f6d[_0xdcc4f8(0x3f4)];return _0x394ee7?Object['keys'](_0x394ee7)[_0xdcc4f8(0x266)](_0x217c18=>_0x394ee7[_0x217c18][_0xdcc4f8(0x266)](_0x5b742b=>_0x1e9f36['Rectangle'][_0xdcc4f8(0x271)](_0x5b742b,_0x59605c))):!0x1;}):void 0x0;}[_0x40b749(0x303)](_0x5ad605,_0x5782ca,_0x1ba50b){const _0x5bd7dd=_0x40b749;var _0x4a69a5;const _0x4eee95=(_0x4a69a5=this[_0x5bd7dd(0x39c)][_0x5bd7dd(0x218)](_0x5ad605))==null?void 0x0:_0x4a69a5[_0x5bd7dd(0x218)](_0x5782ca),_0x3649f2=[];return _0x4eee95&&Array[_0x5bd7dd(0x2a1)](_0x4eee95[_0x5bd7dd(0x291)]())[_0x5bd7dd(0x33d)](_0x15203c=>{const _0x3479db=_0x5bd7dd,_0x44d8e5=_0x4eee95['get'](_0x15203c),_0x34ea87=_0x44d8e5==null?void 0x0:_0x44d8e5['rangesInfo'];if(_0x34ea87)for(const _0x53f9ff of Object[_0x3479db(0x3a9)](_0x34ea87)){let _0x23c4e3=!0x1;for(const _0x49eee3 of _0x53f9ff)if(_0x1e9f36[_0x3479db(0x1e1)]['intersects'](_0x49eee3,_0x1ba50b)){_0x3649f2[_0x3479db(0x189)](_0x15203c),_0x23c4e3=!0x0;break;}if(_0x23c4e3)break;}}),_0x3649f2;}[_0x40b749(0x3fd)](_0x3e5b22,_0x11d708){const _0x1f24f9=_0x40b749;var _0x235354,_0x15d936;return(_0x15d936=(_0x235354=this['_pivotRenderValueMatrixCache'][_0x1f24f9(0x218)](_0x3e5b22))==null?void 0x0:_0x235354['get'](_0x11d708))!=null?_0x15d936:new _0x1e9f36[(_0x1f24f9(0x3e8))]();}[_0x40b749(0x357)](_0x3c8045,_0x5ace2a){const _0x5d732c=_0x40b749;var _0x5db6b5;return(_0x5db6b5=this[_0x5d732c(0x39c)][_0x5d732c(0x218)](_0x3c8045))==null?void 0x0:_0x5db6b5['get'](_0x5ace2a);}[_0x40b749(0x38f)](_0x4b6db9,_0x28d62b,_0x25e0f7){const _0xd0f660=_0x40b749;var _0x1830ee,_0x46a670;return(_0x46a670=(_0x1830ee=this[_0xd0f660(0x39c)]['get'](_0x4b6db9))==null?void 0x0:_0x1830ee[_0xd0f660(0x218)](_0x28d62b))==null?void 0x0:_0x46a670[_0xd0f660(0x218)](_0x25e0f7);}[_0x40b749(0x2b3)](_0x33ac1d){const _0x330613=_0x40b749;this['_pivotRenderInfoCache'][_0x330613(0x325)](_0x33ac1d),this[_0x330613(0x22d)][_0x330613(0x325)](_0x33ac1d);}[_0x40b749(0x37f)](_0x3b1b46,_0x100dc5){const _0x320851=_0x40b749;this[_0x320851(0x248)][_0x320851(0x150)]({'unitId':_0x3b1b46,'subUnitId':_0x100dc5});}},_0x141cd5[_0x40b749(0x278)]=_0x596425([_0x5c650e(0x0,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x200)])),_0x5c650e(0x1,_0x1e9f36['Inject'](_0x1e9f36['Injector'])),_0x5c650e(0x2,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x116)])),_0x5c650e(0x3,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x136)])),_0x5c650e(0x4,_0x1e9f36['Inject'](_0x18baff[_0x40b749(0x386)]))],_0x141cd5[_0x40b749(0x278)]);var _0x4f9eb0=Object['getOwnPropertyDescriptor'],_0x2382f8=(_0x3b2455,_0x3c5b59,_0x5f189f,_0x1c0199)=>{const _0x1f5d24=_0x40b749;for(var _0x54743a=_0x1c0199>0x1?void 0x0:_0x1c0199?_0x4f9eb0(_0x3c5b59,_0x5f189f):_0x3c5b59,_0x3796ff=_0x3b2455[_0x1f5d24(0x10b)]-0x1,_0x2e0f8d;_0x3796ff>=0x0;_0x3796ff--)(_0x2e0f8d=_0x3b2455[_0x3796ff])&&(_0x54743a=_0x2e0f8d(_0x54743a)||_0x54743a);return _0x54743a;},_0x1276af=(_0x152e09,_0x2e05ac)=>(_0x3e53cf,_0x23a031)=>_0x2e05ac(_0x3e53cf,_0x23a031,_0x152e09);_0x141cd5[_0x40b749(0x3a0)]=class extends _0x1e9f36['Disposable']{constructor(_0xf1a072,_0x14718d){const _0x3b03a7=_0x40b749;super(),_0x3eeb3c(this,'asyncInterceptor',new _0x1e9f36[(_0x3b03a7(0x38a))]({'PIVOT_PERFORM_CHECK':_0x3a1900})),_0x3eeb3c(this,'interceptor',new _0x1e9f36[(_0x3b03a7(0x286))]({'PIVOT_MUTATION_GENERATE':_0x457091})),(this[_0x3b03a7(0x3a4)]=_0xf1a072,this[_0x3b03a7(0x104)]=_0x14718d,this[_0x3b03a7(0x329)]());}['_init'](){const _0x475d74=_0x40b749;this[_0x475d74(0x2ff)]();}[_0x40b749(0x1dd)](_0x9dacd1){const _0x489d1f=_0x40b749;return this[_0x489d1f(0x384)][_0x489d1f(0x16f)](_0x3a1900)(!0x1,_0x9dacd1);}[_0x40b749(0x2ff)](){const _0x258b8c=_0x40b749;this[_0x258b8c(0x1fa)](this[_0x258b8c(0x3a4)]['intercept'](_0x18baff[_0x258b8c(0x3cf)][_0x258b8c(0x3c9)],{'priority':0xc8,'effect':_0x1e9f36[_0x258b8c(0x1f6)][_0x258b8c(0x1c8)]|_0x1e9f36[_0x258b8c(0x1f6)]['Style'],'handler':(_0x4a120b,_0x53cf0a,_0x2af46b)=>{const _0x2b9060=_0x258b8c,{row:_0x2ac38b,col:_0x119238,unitId:_0x480807,subUnitId:_0x298fad,workbook:_0x1612bf}=_0x53cf0a,_0x19cb60=this[_0x2b9060(0x104)][_0x2b9060(0x27e)](_0x480807,_0x298fad,_0x2ac38b,_0x119238);if(!_0x19cb60)return _0x2af46b(_0x4a120b);const _0x56789e={..._0x4a120b};(_0x19cb60['v']||_0x19cb60['v']===0x0)&&(_0x56789e['v']=_0x19cb60['v']),_0x19cb60['t']&&(_0x56789e['t']=_0x19cb60['t']);const _0x572077=(typeof(_0x4a120b==null?void 0x0:_0x4a120b['s'])==_0x2b9060(0x409)?_0x1612bf[_0x2b9060(0x403)]()[_0x2b9060(0x218)](_0x4a120b==null?void 0x0:_0x4a120b['s']):_0x4a120b==null?void 0x0:_0x4a120b['s'])||{},_0x44f856=_0x1612bf['getStyles']()[_0x2b9060(0x218)](_0x19cb60['s']),_0x797bb0={..._0x44f856,..._0x572077};_0x44f856!=null&&_0x44f856['n']&&(_0x797bb0['n']=_0x44f856['n']);const _0x150488=_0x1612bf['getStyles']()[_0x2b9060(0x147)](_0x797bb0);return _0x56789e['s']=_0x150488,(_0x19cb60[_0x2b9060(0x173)]===_0x5b2537[_0x2b9060(0x1ac)][_0x2b9060(0x392)]||_0x19cb60[_0x2b9060(0x173)]===_0x5b2537['PivotCellStyleTypeEnum'][_0x2b9060(0x2bd)])&&(_0x56789e[_0x2b9060(0x140)]={},_0x56789e['fontRenderExtension'][_0x2b9060(0x170)]=_0x3bde7f),_0x2af46b(_0x56789e);}}));}},_0x141cd5['SheetsPivotTableService']=_0x2382f8([_0x1276af(0x0,_0x1e9f36['Inject'](_0x18baff[_0x40b749(0x36f)])),_0x1276af(0x1,_0x1e9f36[_0x40b749(0x191)](_0x141cd5['SheetsPivotTableAdaptorModel']))],_0x141cd5[_0x40b749(0x3a0)]);const _0x10324d={'id':_0x40b749(0x111),'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'handler':(_0x2d559a,_0x34be8a)=>{const _0x311b79=_0x40b749;if(!_0x34be8a)return!0x1;if(!!_0x2d559a['get'](_0x1e9f36[_0x311b79(0x383)])[_0x311b79(0x1bf)](_0x24b195))return!0x0;const {pivotTableId:_0x3f662d,fieldJSON:_0x6ff13b,unitId:_0x5ebb01,subUnitId:_0x2b7469}=_0x34be8a;let _0x2e6155;const {dataFieldType:_0x13c187,id:_0x192539,name:_0x34d9c0,hexCode:_0x554194,originalFieldId:_0x569071}=_0x6ff13b;if(_0x13c187===_0x5b2537[_0x311b79(0x2d5)][_0x311b79(0x1ed)]&&(_0x2e6155=new _0x5b2537[(_0x311b79(0x169))](_0x192539,_0x34d9c0,_0x554194,_0x569071)),!_0x2e6155)return!0x1;const _0x4474d0=_0x2d559a[_0x311b79(0x218)](_0x141cd5[_0x311b79(0xfb)]),_0x51e4fd=_0x4474d0['getDataFieldManager'](_0x5ebb01),_0x4e7ff6=_0x51e4fd[_0x311b79(0x16e)](_0x3f662d);_0x51e4fd[_0x311b79(0x410)](_0x2e6155),_0x4e7ff6[_0x311b79(0x3d8)](_0x2e6155[_0x311b79(0x279)](),_0x2e6155[_0x311b79(0x23c)]());const _0x1b8226=_0x4e7ff6[_0x311b79(0x3e2)](_0x2e6155[_0x311b79(0x186)]());_0x1b8226&&_0x2e6155[_0x311b79(0x38e)](_0x1b8226);const _0x5d23d0=_0x4474d0[_0x311b79(0x3d3)](_0x5ebb01,_0x2b7469,_0x3f662d);return _0x4474d0[_0x311b79(0x340)]({'unitId':_0x5ebb01,'subUnitId':_0x2b7469,'token':_0x3f662d,'type':_0x40d428[_0x311b79(0x349)],'pivotConfig':_0x5d23d0}),!0x0;}},_0x41c7eb={'id':_0x40b749(0x149),'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'handler':(_0x225170,_0xdbccc4)=>{const _0xb7f1c2=_0x40b749;if(!_0xdbccc4)return!0x1;if(!!_0x225170[_0xb7f1c2(0x218)](_0x1e9f36[_0xb7f1c2(0x383)])[_0xb7f1c2(0x1bf)](_0x24b195))return!0x0;const {pivotTableId:_0x14b67d,dataFieldId:_0x10e667,unitId:_0x14250a,subUnitId:_0x1b8b87}=_0xdbccc4,_0x205a26=_0x225170[_0xb7f1c2(0x218)](_0x141cd5['SheetsPivotDataSourceModel']),_0x173633=_0x205a26[_0xb7f1c2(0x2ab)](_0x14250a);_0x173633[_0xb7f1c2(0x16e)](_0x14b67d)[_0xb7f1c2(0x1cd)](_0x10e667);let _0x4da86b=!0x0;for(const _0x198384 in _0x173633[_0xb7f1c2(0x274)])if(_0x173633[_0xb7f1c2(0x274)][_0x198384]['getFieldIds']()[_0xb7f1c2(0x20d)](_0x10e667)){_0x4da86b=!0x1;break;}_0x4da86b&&_0x173633[_0xb7f1c2(0x333)](_0x10e667);const _0x11c204=_0x205a26['getPivotTableConfig'](_0x14250a,_0x1b8b87,_0x14b67d);return _0x205a26[_0xb7f1c2(0x340)]({'unitId':_0x14250a,'subUnitId':_0x1b8b87,'token':_0x14b67d,'type':_0x40d428['Set'],'pivotConfig':_0x11c204}),!0x0;}};function _0x26a04e(_0x719ef5,_0x3964e5){const _0x3bed3c=_0x40b749;switch(_0x3964e5){case _0x5b2537['PivotTableFiledAreaEnum'][_0x3bed3c(0x1c8)]:return _0x719ef5[_0x3bed3c(0x348)];case _0x5b2537[_0x3bed3c(0x356)]['Filter']:return _0x719ef5['filterFields'];case _0x5b2537[_0x3bed3c(0x356)][_0x3bed3c(0x314)]:return _0x719ef5[_0x3bed3c(0x225)];case _0x5b2537[_0x3bed3c(0x356)]['Column']:return _0x719ef5['columnFields'];default:return[];}}function _0x9a83e3(_0x33af11,_0xd67ad){const _0x107e0b=_0x40b749;return _0x33af11[_0x107e0b(0x368)][_0xd67ad]||_0x33af11['dimension'][_0xd67ad];}function _0x10d5db(_0x252d8e,_0x357616){const _0x473d8f=_0x40b749,{area:_0x5083e1,fieldJson:_0x4ffa4c,index:_0x247907}=_0x357616;_0x5083e1===_0x5b2537['PivotTableFiledAreaEnum']['Value']?_0x252d8e['measure'][_0x4ffa4c['id']]=_0x4ffa4c:_0x252d8e[_0x473d8f(0x1ce)][_0x4ffa4c['id']]=_0x4ffa4c,_0x26a04e(_0x252d8e,_0x5083e1)['splice'](_0x247907,0x0,_0x4ffa4c['id']);}function _0xbb3edd(_0x5213ec,_0x329e70){const _0x1b5c29=_0x40b749,{area:_0x585358,fieldId:_0x61de05,index:_0x1d0274}=_0x329e70;_0x585358===_0x5b2537[_0x1b5c29(0x356)][_0x1b5c29(0x1c8)]?delete _0x5213ec[_0x1b5c29(0x368)][_0x61de05]:delete _0x5213ec[_0x1b5c29(0x1ce)][_0x61de05],_0x26a04e(_0x5213ec,_0x585358)['splice'](_0x1d0274,0x1);}function _0x52c6d3(_0x5b8e64,_0x1ea72f){const _0x5ca9fa=_0x40b749,{fieldId:_0x118a85,name:_0x50b096}=_0x1ea72f,_0x5e5050=_0x9a83e3(_0x5b8e64,_0x118a85);_0x5e5050&&(_0x5e5050[_0x5ca9fa(0x31e)]=_0x50b096);}function _0x54f039(_0x476e7d,_0x6ae042){const _0x35766c=_0x40b749,{fieldId:_0x2a4920,collapse:_0x6f7ae,item:_0x507785}=_0x6ae042;_0x507785!==void 0x0?(_0x476e7d[_0x35766c(0x1ec)][_0x2a4920]=_0x476e7d[_0x35766c(0x1ec)][_0x2a4920]||{},_0x476e7d[_0x35766c(0x1ec)][_0x2a4920][_0x507785]=_0x6f7ae):_0x476e7d['collapseInfo'][_0x2a4920]=_0x6f7ae;}function _0x307fb8(_0x173a9e,_0x11dd55){const {fieldId:_0x3c3150,format:_0x477838}=_0x11dd55,_0x4b75a1=_0x9a83e3(_0x173a9e,_0x3c3150);_0x4b75a1&&(_0x4b75a1['format']=_0x477838);}function _0x3079d4(_0x11297a,_0x425e5c){const _0x14f484=_0x40b749,{fieldId:_0x3375c9,filterInfo:_0x28e75d}=_0x425e5c,_0xd16da1=_0x9a83e3(_0x11297a,_0x3375c9);_0xd16da1&&(_0xd16da1[_0x14f484(0x15c)]=_0x28e75d);}function _0x1c4fad(_0x1bd730,_0x547b41){const _0x29b524=_0x40b749,{fieldId:_0x554c1b,filterInfo:_0x196699}=_0x547b41,_0x2a4c04=_0x1bd730[_0x29b524(0x11a)][_0x29b524(0x3cd)](_0x1ec32d=>_0x1ec32d[_0x29b524(0x370)]!==_0x554c1b);_0x196699&&_0x2a4c04[_0x29b524(0x189)]({'fieldId':_0x554c1b,'filterInfo':_0x196699}),_0x1bd730[_0x29b524(0x11a)]=_0x2a4c04;}function _0x56ae48(_0x1cd1d5,_0x1b33d0){const _0x19a106=_0x40b749,{fieldId:_0x104a4b,subtotalType:_0x11e886}=_0x1b33d0,_0x705806=_0x9a83e3(_0x1cd1d5,_0x104a4b);_0x705806&&(_0x705806[_0x19a106(0xf9)]=_0x11e886);}function _0x475048(_0x2281a2,_0x12f74f){const _0x48e119=_0x40b749,{fieldId:_0x5e9111,oldArea:_0x1b169e,area:_0x3be95d,oldIndex:_0x368fe2,index:_0x1c87d9}=_0x12f74f,_0x319ae6=_0x1b169e!==_0x5b2537[_0x48e119(0x356)]['Value']&&_0x3be95d===_0x5b2537[_0x48e119(0x356)][_0x48e119(0x1c8)],_0x1e7487=_0x1b169e===_0x5b2537[_0x48e119(0x356)]['Value']&&_0x3be95d!==_0x5b2537[_0x48e119(0x356)][_0x48e119(0x1c8)];if(_0x319ae6||_0x1e7487){const _0x1c8fd5=_0x9a83e3(_0x2281a2,_0x5e9111);_0x1c8fd5&&(_0x319ae6?(delete _0x2281a2[_0x48e119(0x1ce)][_0x5e9111],_0x2281a2[_0x48e119(0x368)][_0x5e9111]=_0x1c8fd5):(delete _0x2281a2[_0x48e119(0x368)][_0x5e9111],_0x2281a2[_0x48e119(0x1ce)][_0x5e9111]=_0x1c8fd5));}const _0x5e0b57=_0x26a04e(_0x2281a2,_0x1b169e),_0x5584c0=_0x26a04e(_0x2281a2,_0x3be95d);_0x5e0b57['splice'](_0x368fe2,0x1),_0x5584c0[_0x48e119(0x1d5)](_0x1c87d9,0x0,_0x5e9111);}function _0x3e9eb5(_0x297dc7,_0x56009a){const {valuePosition:_0x321c1a,index:_0x2a2490}=_0x56009a;_0x297dc7['valuePosition']=_0x321c1a,_0x297dc7['valueIndex']=_0x2a2490;}function _0x251c02(_0x12d8f3,_0x575df5){const _0x13bd33=_0x40b749,{tableFieldId:_0x119cb2,sourceName:_0x5d9074,dataFieldId:_0xbeb28b}=_0x575df5,_0x323380=_0x9a83e3(_0x12d8f3,_0x119cb2);_0x323380&&(_0x323380[_0x13bd33(0x124)]=_0x5d9074,_0x323380[_0x13bd33(0x25f)]=_0xbeb28b);}function _0x1eaf15(_0x475629,_0x381a1c){const _0x282713=_0x40b749,{fieldId:_0x7cf586,sortInfo:_0x547ea2}=_0x381a1c,_0x4060e3=_0x9a83e3(_0x475629,_0x7cf586);_0x4060e3&&(_0x4060e3[_0x282713(0x277)]=_0x547ea2);}function _0x5ad5c7(_0x1b7bed,_0x3b6540){const _0x4ff063=_0x40b749,{options:_0x3f8014}=_0x3b6540;_0x1b7bed[_0x4ff063(0x3d4)]={..._0x1b7bed[_0x4ff063(0x3d4)],..._0x3f8014};}const _0x1bd195={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x350),'handler'(_0x2334eb,_0x4b23b5){const _0x9cf10f=_0x40b749;if(!_0x4b23b5)return!0x1;if(!!_0x2334eb[_0x9cf10f(0x218)](_0x1e9f36[_0x9cf10f(0x383)])['getConfig'](_0x24b195))return!0x0;const _0x297a46=_0x2334eb[_0x9cf10f(0x218)](_0x141cd5[_0x9cf10f(0xfb)]),{pivotTableId:_0x237150,fieldJson:_0x4a1887,area:_0x237cc8,index:_0x5cf435,unitId:_0xf7bb8f,subUnitId:_0x507911}=_0x4b23b5,_0x9fbc46=_0x297a46[_0x9cf10f(0x22e)](_0x237150);if(!_0x9fbc46)return!0x1;let _0x188bf9;_0x237cc8===_0x5b2537['PivotTableFiledAreaEnum']['Value']?_0x188bf9=_0x5b2537[_0x9cf10f(0x233)](_0x4a1887):_0x188bf9=_0x5b2537[_0x9cf10f(0x3ae)](_0x4a1887),_0x9fbc46[_0x9cf10f(0x3d8)](_0x188bf9,_0x237cc8,_0x5cf435);const _0x4024f7=_0x297a46['getPivotTableModelConfig'](_0xf7bb8f,_0x507911,_0x237150);_0x10d5db(_0x4024f7,_0x4b23b5);const _0xd9b3af=_0x297a46['getPivotTableConfig'](_0xf7bb8f,_0x507911,_0x237150);return _0x297a46['addDirtyPivotTable']({'unitId':_0xf7bb8f,'subUnitId':_0x507911,'token':_0x237150,'type':_0x40d428[_0x9cf10f(0x349)],'pivotConfig':_0xd9b3af}),!0x0;}},_0x357553={'type':_0x1e9f36[_0x40b749(0x1aa)]['MUTATION'],'id':_0x40b749(0x235),'handler'(_0x5e46e7,_0x276560){const _0x313c4d=_0x40b749;if(!_0x276560)return!0x1;if(!!_0x5e46e7['get'](_0x1e9f36['IConfigService'])['getConfig'](_0x24b195))return!0x0;const _0x1e3556=_0x5e46e7[_0x313c4d(0x218)](_0x141cd5[_0x313c4d(0xfb)]),{pivotTableId:_0x5a6c53,fieldId:_0x4a27bd,unitId:_0x3f3d19,subUnitId:_0x2e326d}=_0x276560,_0x5a68c4=_0x1e3556['getPivotTableInstance'](_0x5a6c53);if(!_0x5a68c4)return!0x1;_0x5a68c4[_0x313c4d(0xff)](_0x4a27bd);const _0x400019=_0x1e3556[_0x313c4d(0x342)](_0x3f3d19,_0x2e326d,_0x5a6c53);_0xbb3edd(_0x400019,_0x276560);const _0x58dc27=_0x1e3556['getPivotTableConfig'](_0x3f3d19,_0x2e326d,_0x5a6c53);return _0x1e3556[_0x313c4d(0x340)]({'unitId':_0x3f3d19,'subUnitId':_0x2e326d,'token':_0x5a6c53,'type':_0x40d428[_0x313c4d(0x349)],'pivotConfig':_0x58dc27}),!0x0;}},_0x10b394={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x34c),'handler'(_0x2ecc19,_0x167c18){const _0x124712=_0x40b749;if(!_0x167c18)return!0x1;if(!!_0x2ecc19[_0x124712(0x218)](_0x1e9f36[_0x124712(0x383)])[_0x124712(0x1bf)](_0x24b195))return!0x0;const _0x25a2d5=_0x2ecc19[_0x124712(0x218)](_0x141cd5[_0x124712(0xfb)]),{unitId:_0x2d50f8,subUnitId:_0x526de8,pivotTableId:_0x42e923,fieldId:_0xcd86ee,name:_0x4e2057}=_0x167c18,_0x3cd586=_0x25a2d5[_0x124712(0x22e)](_0x42e923);if(!_0x3cd586)return!0x1;_0x3cd586[_0x124712(0x339)](_0xcd86ee,_0x4e2057);const _0x381b59=_0x25a2d5[_0x124712(0x342)](_0x2d50f8,_0x526de8,_0x42e923);return _0x52c6d3(_0x381b59,_0x167c18),_0x25a2d5[_0x124712(0x340)]({'unitId':_0x2d50f8,'subUnitId':_0x526de8,'token':_0x42e923,'type':_0x40d428['Set']}),!0x0;}},_0x17dcfe={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':_0x40b749(0x1d6),'handler'(_0x375de1,_0x9992fe){const _0x15d36b=_0x40b749;if(!_0x9992fe)return!0x1;if(!!_0x375de1[_0x15d36b(0x218)](_0x1e9f36[_0x15d36b(0x383)])['getConfig'](_0x24b195))return!0x0;const _0x330367=_0x375de1[_0x15d36b(0x218)](_0x141cd5['SheetsPivotDataSourceModel']),{unitId:_0x3cec67,subUnitId:_0x2c6de3,pivotTableId:_0x24ccf8,fieldId:_0x4364f1,collapse:_0x37cb83,item:_0x5a2d8d}=_0x9992fe,_0x1d6c5f=_0x330367[_0x15d36b(0x22e)](_0x24ccf8);if(!_0x1d6c5f)return!0x1;_0x1d6c5f[_0x15d36b(0x13c)](_0x4364f1,_0x37cb83,_0x5a2d8d);const _0x52f62c=_0x330367[_0x15d36b(0x342)](_0x3cec67,_0x2c6de3,_0x24ccf8);return _0x54f039(_0x52f62c,_0x9992fe),_0x330367['addDirtyPivotTable']({'unitId':_0x3cec67,'subUnitId':_0x2c6de3,'token':_0x24ccf8,'type':_0x40d428['Set']}),!0x0;}},_0x25aae5={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x379),'handler'(_0x49e69b,_0x19364d){const _0x1306b2=_0x40b749;if(!_0x19364d)return!0x1;if(!!_0x49e69b[_0x1306b2(0x218)](_0x1e9f36[_0x1306b2(0x383)])[_0x1306b2(0x1bf)](_0x24b195))return!0x0;const _0x32cae3=_0x49e69b[_0x1306b2(0x218)](_0x141cd5[_0x1306b2(0xfb)]),{unitId:_0x2e2484,subUnitId:_0x5fa01f,pivotTableId:_0x3c0dce,fieldId:_0x1a8b3a,format:_0x3e59ea}=_0x19364d,_0x519480=_0x32cae3[_0x1306b2(0x22e)](_0x3c0dce);if(!_0x519480)return!0x1;_0x519480[_0x1306b2(0x1d1)](_0x1a8b3a,_0x3e59ea);const _0x86b154=_0x32cae3[_0x1306b2(0x342)](_0x2e2484,_0x5fa01f,_0x3c0dce);return _0x307fb8(_0x86b154,_0x19364d),_0x32cae3[_0x1306b2(0x340)]({'unitId':_0x2e2484,'subUnitId':_0x5fa01f,'token':_0x3c0dce,'type':_0x40d428[_0x1306b2(0x349)]}),!0x0;}},_0x3129d8={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x1c3),'handler'(_0x15e986,_0x21c358){const _0x4ac41b=_0x40b749;if(!_0x21c358)return!0x1;if(!!_0x15e986[_0x4ac41b(0x218)](_0x1e9f36[_0x4ac41b(0x383)])[_0x4ac41b(0x1bf)](_0x24b195))return!0x0;const _0x5d3826=_0x15e986[_0x4ac41b(0x218)](_0x141cd5['SheetsPivotDataSourceModel']),{unitId:_0x18adef,subUnitId:_0x2057a5,pivotTableId:_0x50e814,fieldId:_0x394e35,filterInfo:_0x54bb5b}=_0x21c358,_0x9715f3=_0x5d3826['getPivotTableInstance'](_0x50e814);if(!_0x9715f3)return!0x1;_0x9715f3[_0x4ac41b(0x243)](_0x394e35,_0x54bb5b);const _0x4115d5=_0x5d3826[_0x4ac41b(0x342)](_0x18adef,_0x2057a5,_0x50e814);return _0x3079d4(_0x4115d5,_0x21c358),_0x5d3826[_0x4ac41b(0x340)]({'unitId':_0x18adef,'subUnitId':_0x2057a5,'token':_0x50e814,'type':_0x40d428[_0x4ac41b(0x349)]}),!0x0;}},_0x2ae8df={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':'sheet.mutation.set-pivot-option','handler'(_0x1ccde3,_0x3b9a5f){const _0x4841ba=_0x40b749;if(!_0x3b9a5f)return!0x1;if(!!_0x1ccde3[_0x4841ba(0x218)](_0x1e9f36[_0x4841ba(0x383)])[_0x4841ba(0x1bf)](_0x24b195))return!0x0;const _0x25dc2f=_0x1ccde3[_0x4841ba(0x218)](_0x141cd5[_0x4841ba(0xfb)]),{unitId:_0x751845,subUnitId:_0x595348,pivotTableId:_0x124b8b,options:_0x3e5283}=_0x3b9a5f,_0x211a9d=_0x25dc2f[_0x4841ba(0x22e)](_0x124b8b);if(!_0x211a9d)return!0x1;_0x211a9d[_0x4841ba(0x190)](_0x3e5283);const _0x4e60cf=_0x25dc2f['getPivotTableModelConfig'](_0x751845,_0x595348,_0x124b8b);return _0x5ad5c7(_0x4e60cf,_0x3b9a5f),_0x25dc2f[_0x4841ba(0x340)]({'unitId':_0x751845,'subUnitId':_0x595348,'token':_0x124b8b,'type':_0x40d428[_0x4841ba(0x349)]}),!0x0;}},_0x3055c1={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x5d2d2f,_0x38bf16){const _0x251f43=_0x40b749;if(!_0x38bf16)return!0x1;if(!!_0x5d2d2f[_0x251f43(0x218)](_0x1e9f36['IConfigService'])['getConfig'](_0x24b195))return!0x0;const _0x15fc7c=_0x5d2d2f[_0x251f43(0x218)](_0x141cd5[_0x251f43(0xfb)]),{unitId:_0xb3c2fe,subUnitId:_0x1c4918,pivotTableId:_0x5af547,sortInfo:_0x2e5613,fieldId:_0x11106d}=_0x38bf16,_0x27e114=_0x15fc7c[_0x251f43(0x22e)](_0x5af547);if(!_0x27e114)return!0x1;_0x27e114['setSortInfo'](_0x11106d,_0x2e5613);const _0x5a0bd9=_0x15fc7c[_0x251f43(0x342)](_0xb3c2fe,_0x1c4918,_0x5af547);return _0x1eaf15(_0x5a0bd9,_0x38bf16),_0x15fc7c[_0x251f43(0x340)]({'unitId':_0xb3c2fe,'subUnitId':_0x1c4918,'token':_0x5af547,'type':_0x40d428['Set']}),!0x0;}},_0x7b00d0={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x1a3),'handler'(_0x479807,_0x2997ac){const _0x338255=_0x40b749;if(!_0x2997ac)return!0x1;if(!!_0x479807[_0x338255(0x218)](_0x1e9f36[_0x338255(0x383)])[_0x338255(0x1bf)](_0x24b195))return!0x0;const _0x3d8d16=_0x479807[_0x338255(0x218)](_0x141cd5[_0x338255(0xfb)]),{unitId:_0x287e42,subUnitId:_0x26e0bc,pivotTableId:_0x3d0d0b,fieldId:_0x54a79c,subtotalType:_0x3623ad}=_0x2997ac,_0x365c9d=_0x3d8d16[_0x338255(0x22e)](_0x3d0d0b);if(!_0x365c9d)return!0x1;_0x365c9d[_0x338255(0x1cf)](_0x54a79c,_0x3623ad);const _0xde398c=_0x3d8d16[_0x338255(0x342)](_0x287e42,_0x26e0bc,_0x3d0d0b);return _0x56ae48(_0xde398c,_0x2997ac),_0x3d8d16['addDirtyPivotTable']({'unitId':_0x287e42,'subUnitId':_0x26e0bc,'token':_0x3d0d0b,'type':_0x40d428[_0x338255(0x349)]}),!0x0;}},_0x4e3961={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x1ad),'handler'(_0x5c136e,_0x2536a8){const _0x5dd078=_0x40b749;if(!_0x2536a8)return!0x1;if(!!_0x5c136e[_0x5dd078(0x218)](_0x1e9f36[_0x5dd078(0x383)])[_0x5dd078(0x1bf)](_0x24b195))return!0x0;const _0x225edb=_0x5c136e[_0x5dd078(0x218)](_0x141cd5[_0x5dd078(0xfb)]),{unitId:_0x1e782f,subUnitId:_0x2d29e9,pivotTableId:_0x141f13,fieldId:_0x57cf46,filterInfo:_0x49f926}=_0x2536a8,_0x5723ba=_0x225edb[_0x5dd078(0x22e)](_0x141f13);if(!_0x5723ba)return!0x1;_0x5723ba[_0x5dd078(0x40b)](_0x57cf46,_0x49f926);const _0x3c1e62=_0x225edb[_0x5dd078(0x342)](_0x1e782f,_0x2d29e9,_0x141f13);return _0x1c4fad(_0x3c1e62,_0x2536a8),_0x225edb[_0x5dd078(0x340)]({'unitId':_0x1e782f,'subUnitId':_0x2d29e9,'token':_0x141f13,'type':_0x40d428['Set']}),!0x0;}},_0x32f7b1={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':_0x40b749(0x389),'handler'(_0xf62f79,_0x4cd8c4){const _0x4bf1b2=_0x40b749;if(!_0x4cd8c4)return!0x1;if(!!_0xf62f79['get'](_0x1e9f36['IConfigService'])[_0x4bf1b2(0x1bf)](_0x24b195))return!0x0;const _0x26a5c4=_0xf62f79[_0x4bf1b2(0x218)](_0x141cd5['SheetsPivotDataSourceModel']),{unitId:_0x35258f,subUnitId:_0xcbdbe6,pivotTableId:_0x421420,area:_0x2ab485,index:_0x35e11e,fieldId:_0x4d8a20}=_0x4cd8c4,_0x35d25b=_0x26a5c4[_0x4bf1b2(0x22e)](_0x421420);if(!_0x35d25b)return!0x1;_0x35d25b['updateFieldPosition'](_0x4d8a20,_0x2ab485,_0x35e11e);const _0x58b415=_0x26a5c4[_0x4bf1b2(0x342)](_0x35258f,_0xcbdbe6,_0x421420);return _0x475048(_0x58b415,_0x4cd8c4),_0x26a5c4[_0x4bf1b2(0x340)]({'unitId':_0x35258f,'subUnitId':_0xcbdbe6,'token':_0x421420,'type':_0x40d428['Set']}),!0x0;}},_0x2ee14a={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x3e1),'handler'(_0x51c1b8,_0x59cd90){const _0x24e1c2=_0x40b749;if(!_0x59cd90)return!0x1;if(!!_0x51c1b8[_0x24e1c2(0x218)](_0x1e9f36[_0x24e1c2(0x383)])[_0x24e1c2(0x1bf)](_0x24b195))return!0x0;const _0x3ba47e=_0x51c1b8[_0x24e1c2(0x218)](_0x141cd5['SheetsPivotDataSourceModel']),{unitId:_0x580fa2,subUnitId:_0x371da3,pivotTableId:_0x1342d6,sourceName:_0xa7418b,dataFieldId:_0x40e6a4,tableFieldId:_0x106957}=_0x59cd90,_0x23dad0=_0x3ba47e[_0x24e1c2(0x22e)](_0x1342d6);if(!_0x23dad0)return!0x1;_0x23dad0[_0x24e1c2(0x2f8)](_0x106957,_0xa7418b,_0x40e6a4);const _0x4d00b3=_0x3ba47e[_0x24e1c2(0x342)](_0x580fa2,_0x371da3,_0x1342d6);return _0x251c02(_0x4d00b3,_0x59cd90),_0x3ba47e[_0x24e1c2(0x340)]({'unitId':_0x580fa2,'subUnitId':_0x371da3,'token':_0x1342d6,'type':_0x40d428['Set']}),!0x0;}},_0x57a4f6={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x57eaf4,_0x3b4d78){const _0x1429b5=_0x40b749;if(!_0x3b4d78)return!0x1;if(!!_0x57eaf4['get'](_0x1e9f36[_0x1429b5(0x383)])[_0x1429b5(0x1bf)](_0x24b195))return!0x0;const _0x2e2748=_0x57eaf4[_0x1429b5(0x218)](_0x141cd5[_0x1429b5(0xfb)]),{unitId:_0x15a5a2,subUnitId:_0x2ff304,pivotTableId:_0x4de989,valuePosition:_0x1f7e92,index:_0x46bab8}=_0x3b4d78,_0x39c3ce=_0x2e2748[_0x1429b5(0x22e)](_0x4de989);if(!_0x39c3ce)return!0x1;_0x39c3ce['updateValuePosition'](_0x1f7e92,_0x46bab8);const _0x423fa6=_0x2e2748[_0x1429b5(0x342)](_0x15a5a2,_0x2ff304,_0x4de989);return _0x3e9eb5(_0x423fa6,_0x3b4d78),_0x2e2748[_0x1429b5(0x340)]({'unitId':_0x15a5a2,'subUnitId':_0x2ff304,'token':_0x4de989,'type':_0x40d428[_0x1429b5(0x349)]}),!0x0;}};function _0x2e72fc(_0x42edb5,_0x4630cd,_0x93cebd){const _0x2c342d=_0x40b749,{pivotTableId:_0x14d5a2,unitId:_0x4b705c,subUnitId:_0x5914bd}=_0x4630cd,_0x7baac1=[],_0x4f91e9=[];for(const _0x150d9d of _0x93cebd)switch(_0x150d9d[_0x2c342d(0x3a5)]){case _0x5b2537[_0x2c342d(0x33a)]['AddField']:{const {fieldJson:_0x280896,area:_0x1eeec3,index:_0x3be7cf}=_0x150d9d,_0xaf51df={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldJson':_0x280896,'area':_0x1eeec3,'index':_0x3be7cf},_0x42817f={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x280896['id'],'area':_0x1eeec3,'index':_0x3be7cf};_0x7baac1[_0x2c342d(0x189)]({'id':_0x1bd195['id'],'params':_0xaf51df}),_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x357553['id'],'params':_0x42817f});}break;case _0x5b2537['PivotTableChangeTypeEnum'][_0x2c342d(0x320)]:{const {fieldId:_0x55c457,newSubtotalType:_0x28c26d,oldSubtotalType:_0x5bfee7}=_0x150d9d,_0x58016b={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x55c457,'subtotalType':_0x28c26d};_0x7baac1['push']({'id':_0x7b00d0['id'],'params':_0x58016b});const _0x4152ce={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x55c457,'subtotalType':_0x5bfee7};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x7b00d0['id'],'params':_0x4152ce});}break;case _0x5b2537['PivotTableChangeTypeEnum'][_0x2c342d(0x251)]:{const {fieldId:_0x59a3f5,fieldJson:_0x5463e5,area:_0xbdd3f3,index:_0x501c44}=_0x150d9d,_0x2f4fb9={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x59a3f5,'index':_0x501c44,'area':_0xbdd3f3};_0x7baac1[_0x2c342d(0x189)]({'id':_0x357553['id'],'params':_0x2f4fb9});const _0x32810a={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldJson':_0x5463e5,'area':_0xbdd3f3,'index':_0x501c44};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x1bd195['id'],'params':_0x32810a});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x23e)]:{const {fieldId:_0xa1e1c0,oldName:_0x5b40c9,newName:_0x4f98a5}=_0x150d9d,_0x16db50={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0xa1e1c0,'name':_0x4f98a5};_0x7baac1['push']({'id':_0x10b394['id'],'params':_0x16db50});const _0x1e7fc8={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0xa1e1c0,'name':_0x5b40c9};_0x4f91e9['unshift']({'id':_0x10b394['id'],'params':_0x1e7fc8});}break;case _0x5b2537[_0x2c342d(0x33a)]['SetFilterInfo']:{const {fieldId:_0x1ce02c,oldFilterInfo:_0x50ea94,newFilterInfo:_0x8197c1}=_0x150d9d,_0xccb292={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x1ce02c,'filterInfo':_0x8197c1};_0x7baac1[_0x2c342d(0x189)]({'id':_0x3129d8['id'],'params':_0xccb292});const _0x911085={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x1ce02c,'filterInfo':_0x50ea94};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x3129d8['id'],'params':_0x911085});}break;case _0x5b2537['PivotTableChangeTypeEnum'][_0x2c342d(0x1c7)]:{const {fieldId:_0xdd4e74,oldSortInfo:_0x2447d1,newSortInfo:_0x175022}=_0x150d9d,_0x44c6e2={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0xdd4e74,'sortInfo':_0x175022};_0x7baac1[_0x2c342d(0x189)]({'id':_0x3055c1['id'],'params':_0x44c6e2});const _0x45aeaa={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0xdd4e74,'sortInfo':_0x2447d1};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x3055c1['id'],'params':_0x45aeaa});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x17e)]:{const {oldOptions:_0x274a2b,newOptions:_0x55e2f2}=_0x150d9d,_0x211e87={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'options':_0x55e2f2};_0x7baac1[_0x2c342d(0x189)]({'id':_0x2ae8df['id'],'params':_0x211e87});const _0x3523cc={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'options':_0x274a2b};_0x4f91e9['unshift']({'id':_0x2ae8df['id'],'params':_0x3523cc});}break;case _0x5b2537['PivotTableChangeTypeEnum'][_0x2c342d(0x290)]:{const {oldArea:_0x4d3419,newArea:_0x50e816,oldIndex:_0x5e1f98,newIndex:_0x26c423,fieldId:_0x2287ba}=_0x150d9d,_0x118310={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x2287ba,'area':_0x50e816,'index':_0x26c423,'oldArea':_0x4d3419,'oldIndex':_0x5e1f98};_0x7baac1[_0x2c342d(0x189)]({'id':_0x32f7b1['id'],'params':_0x118310});const _0x117b15={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x2287ba,'area':_0x4d3419,'index':_0x5e1f98,'oldArea':_0x50e816,'oldIndex':_0x26c423};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x32f7b1['id'],'params':_0x117b15});}break;case _0x5b2537['PivotTableChangeTypeEnum'][_0x2c342d(0x25c)]:{const {oldValuePosition:_0x69634,newValuePosition:_0x9dcde8,oldIndex:_0x3b39ec,newIndex:_0x916582}=_0x150d9d,_0xaa2336={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'valuePosition':_0x9dcde8,'index':_0x916582};_0x7baac1['push']({'id':_0x57a4f6['id'],'params':_0xaa2336});const _0x4c380d={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'valuePosition':_0x69634,'index':_0x3b39ec};_0x4f91e9['unshift']({'id':_0x57a4f6['id'],'params':_0x4c380d});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x2e0)]:{const {fieldId:_0x3d3273,collapse:_0x1711d8,item:_0x16e889}=_0x150d9d,_0x1e5a52={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x3d3273,'collapse':_0x1711d8,'item':_0x16e889};_0x7baac1[_0x2c342d(0x189)]({'id':_0x17dcfe['id'],'params':_0x1e5a52});const _0x2c9684={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x3d3273,'collapse':!_0x1711d8,'item':_0x16e889};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x17dcfe['id'],'params':_0x2c9684});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x216)]:{const {newFormat:_0x188f39,oldFormat:_0x26d5fd,fieldId:_0x36c030}=_0x150d9d,_0x27d865={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x36c030,'format':_0x188f39};_0x7baac1[_0x2c342d(0x189)]({'id':_0x25aae5['id'],'params':_0x27d865});const _0x379cd2={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x36c030,'format':_0x26d5fd};_0x4f91e9['unshift']({'id':_0x25aae5['id'],'params':_0x379cd2});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x185)]:{const {tableFieldId:_0x429af8,oldSourceName:_0x15c524,newSourceName:_0x462919,oldDataFieldId:_0x472968,newDataFieldId:_0xea102}=_0x150d9d,_0x20490b={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'tableFieldId':_0x429af8,'sourceName':_0x462919,'dataFieldId':_0xea102};_0x7baac1['push']({'id':_0x2ee14a['id'],'params':_0x20490b});const _0x6f5f2c={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'tableFieldId':_0x429af8,'sourceName':_0x15c524,'dataFieldId':_0x472968};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x2ee14a['id'],'params':_0x6f5f2c});}break;case _0x5b2537[_0x2c342d(0x33a)][_0x2c342d(0x258)]:{const {fieldId:_0x365c5d,filterInfo:_0x329e9d,oldFilterInfo:_0x181c4b}=_0x150d9d,_0x9f64e0={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x365c5d,'filterInfo':_0x329e9d};_0x7baac1['push']({'id':_0x4e3961['id'],'params':_0x9f64e0});const _0x5d43b1={'unitId':_0x4b705c,'subUnitId':_0x5914bd,'pivotTableId':_0x14d5a2,'fieldId':_0x365c5d,'filterInfo':_0x181c4b};_0x4f91e9[_0x2c342d(0x26e)]({'id':_0x4e3961['id'],'params':_0x5d43b1});}}return{'redos':_0x7baac1,'undos':_0x4f91e9};}function _0x596a33(_0x57265d,_0x10cc3b){const _0x46ce97=_0x40b749;var _0x4963a2;const _0x2e327c=_0x57265d[_0x46ce97(0x218)](_0x141cd5[_0x46ce97(0x3a0)]),{cellInfo:_0x2315cb,view:_0x33eb86,isEmpty:_0x3517c9}=_0x10cc3b;return(_0x4963a2=_0x2e327c[_0x46ce97(0x334)]['fetchThroughInterceptors'](_0x457091)(_0x417674,{'cellInfo':_0x2315cb,'view':_0x33eb86,'isEmpty':_0x3517c9}))!=null?_0x4963a2:_0x417674;}const _0x457235={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x3ba),async 'handler'(_0x290a47,_0x58bee4){const _0x50f6ec=_0x40b749;if(!_0x58bee4)return!0x1;const _0x262bfd=_0x290a47[_0x50f6ec(0x218)](_0x1e9f36[_0x50f6ec(0x3a6)]),_0x502e9c=_0x290a47['get'](_0x141cd5[_0x50f6ec(0x194)]),_0x4efd46=_0x290a47['get'](_0x1e9f36[_0x50f6ec(0x3aa)]),{pivotTableId:_0x32ff7a,dataFieldId:_0x24ede3,fieldArea:_0x770232,index:_0xd88130,unitId:_0xbd79e6,subUnitId:_0x1d8d86}=_0x58bee4,_0x32ebe2=(await _0x502e9c[_0x50f6ec(0x3b2)]({'unitId':_0xbd79e6,'subUnitId':_0x1d8d86,'pivotTableId':_0x32ff7a,'params':{'type':_0x529957['AddPivotField'],'addPivotField':{'dataFieldId':_0x24ede3,'fieldArea':_0x770232,'index':_0xd88130}}}))[_0x50f6ec(0x353)]['addPivotField'];if(!_0x32ebe2)return!0x1;const {view:_0x33132b,changesets:_0x132223,isEmpty:_0xcfb3da,pivotTableConfig:_0x54f900,shouldBeAddedGroupJSON:_0x9f9bc}=_0x32ebe2,_0x5e3302=_0x54f900[_0x50f6ec(0x3e7)],_0x315e34=new _0x5b2537[(_0x50f6ec(0x10a))]();_0x315e34[_0x50f6ec(0x15f)](_0x33132b);const _0x504811={'cellInfo':_0x5e3302,'view':_0x315e34,'isEmpty':_0xcfb3da};if(!await _0x290a47[_0x50f6ec(0x218)](_0x141cd5['SheetsPivotTableService'])['asyncInterceptor'][_0x50f6ec(0x16f)](_0x3a1900)(!0x0,_0x504811))return!0x1;const _0x2578e2=_0x578edf(_0x290a47,_0x315e34,_0x5e3302,_0xcfb3da),_0x386b15=_0x596a33(_0x290a47,_0x504811),{undos:_0x203bee,redos:_0x5e07cf}=_0x2e72fc(_0x262bfd,{'pivotTableId':_0x32ff7a,'unitId':_0xbd79e6,'subUnitId':_0x1d8d86},_0x132223);return _0x9f9bc&&(_0x5e07cf['unshift']({'id':_0x10324d['id'],'params':{'pivotTableId':_0x32ff7a,'fieldJSON':_0x9f9bc,'unitId':_0xbd79e6,'subUnitId':_0x1d8d86}}),_0x203bee[_0x50f6ec(0x189)]({'id':_0x41c7eb['id'],'params':{'pivotTableId':_0x32ff7a,'dataFieldId':_0x9f9bc['id'],'unitId':_0xbd79e6,'subUnitId':_0x1d8d86}})),_0x1e9f36['sequenceExecute']([..._0x2578e2[_0x50f6ec(0x14a)],..._0x386b15['redos'],..._0x5e07cf],_0x262bfd),_0x4efd46[_0x50f6ec(0x33f)]({'unitID':_0xbd79e6,'redoMutations':[..._0x2578e2[_0x50f6ec(0x14a)],..._0x386b15['redos'],..._0x5e07cf],'undoMutations':[..._0x2578e2[_0x50f6ec(0x226)],..._0x386b15['undos'],..._0x203bee]}),!0x0;}},_0x15688e=()=>typeof process<'u'&&process[_0x40b749(0x141)]!=null&&process[_0x40b749(0x141)][_0x40b749(0x246)]!=null,_0xfab1de={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x36e),'handler'(_0x266bdc,_0x3312b6){const _0x253e77=_0x40b749;var _0x3e7412;if(!_0x3312b6)return!0x1;const _0xd85b53=_0x266bdc[_0x253e77(0x218)](_0x1e9f36[_0x253e77(0x383)]);if(!!_0xd85b53[_0x253e77(0x1bf)](_0x24b195))return!0x0;const _0x1fa6a3=_0x266bdc[_0x253e77(0x218)](_0x1e9f36[_0x253e77(0x136)]),_0x197a75=_0x266bdc[_0x253e77(0x218)](_0x141cd5[_0x253e77(0xfb)]),{pivotTableId:_0xa1a8f8,pivotTableConfig:_0x369b33,collectionConfig:_0xa1dc,unitId:_0x53c119,subUnitId:_0x50ff91}=_0x3312b6,{sourceRangeInfo:_0x32d6e0,fieldsConfig:_0x4240cc,targetCellInfo:_0x27e8f1}=_0x369b33,_0x23d8b9=_0x1fa6a3['getUnit'](_0x53c119);if(!_0x23d8b9||!_0x23d8b9['getSheetBySheetId'](_0x50ff91))return!0x1;if(!_0x15688e()){let _0x176979=0x0;_0x23d8b9[_0x253e77(0x2a3)]()['forEach'](_0x260e6f=>{const _0x5b8efe=_0x253e77;var _0x4c58ec,_0x181004;_0x176979+=(_0x181004=(_0x4c58ec=_0x197a75[_0x5b8efe(0x2dc)](_0x53c119,_0x260e6f[_0x5b8efe(0x3e0)]()))==null?void 0x0:_0x4c58ec['size'])!=null?_0x181004:0x0;});const _0x4d6d60=(_0x3e7412=_0xd85b53['getConfig'](_0x52512b[_0x253e77(0x363)]))!=null?_0x3e7412:{},{ls:_0x5b1873,pbk:_0x39d867}=_0x4d6d60;if(!_0x38ae35(_0x5b1873,_0x39d867))throw new _0x1e9f36[(_0x253e77(0x198))](_0x253e77(0x327));const _0x3483a9=_0x4f8174(_0x27fb1e,_0x5b1873,_0x39d867)['count'];if(_0x176979>=_0x3483a9)throw new _0x1e9f36[(_0x253e77(0x198))](_0x253e77(0x327));}if(!_0xa1dc||!_0x4240cc)return!0x1;const {collection:_0x4772bd,updateDataFieldList:_0x1fb97c}=_0x197a75[_0x253e77(0x1fb)](_0xa1a8f8,_0xa1dc,_0x32d6e0,_0x27e8f1);_0x197a75['refreshData'](_0x4772bd,_0x1fb97c,_0x32d6e0);const _0x26b786=new _0x5b2537[(_0x253e77(0x3de))](_0x4772bd,void 0x0,_0xa1a8f8);_0x26b786[_0x253e77(0x26a)](_0x4240cc);const _0x223066=JSON[_0x253e77(0x3b9)](JSON[_0x253e77(0x168)](_0x369b33));return _0x197a75['addPivotTable'](_0x53c119,_0x50ff91,_0xa1a8f8,_0x26b786,_0x223066),_0x197a75[_0x253e77(0x340)]({'unitId':_0x53c119,'subUnitId':_0x50ff91,'token':_0xa1a8f8,'type':_0x40d428['Add'],'pivotConfig':_0x223066}),!0x0;}},_0x39a55f={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x153),async 'handler'(_0x49ee1d,_0x5c39c6){const _0x3e96bc=_0x40b749;if(!_0x5c39c6)return!0x1;const {sourceDataInfo:_0x37773f,pivotTableConfig:_0x45598b}=_0x5c39c6;if(!_0x37773f||!_0x45598b)return!0x1;const {unitId:_0x5bb0eb,subUnitId:_0x2c1a96,range:_0x22e250}=_0x37773f,_0x400758=_0x49ee1d[_0x3e96bc(0x218)](_0x1e9f36['IUniverInstanceService']),_0x4977d6=_0x49ee1d[_0x3e96bc(0x218)](_0x141cd5[_0x3e96bc(0x194)]),_0x304374=_0x49ee1d[_0x3e96bc(0x218)](_0x1e9f36[_0x3e96bc(0x200)]),_0x6186b1=_0x49ee1d[_0x3e96bc(0x218)](_0x1e9f36[_0x3e96bc(0x3a6)]),_0x160de0=_0x400758['getUnit'](_0x5bb0eb);if(!_0x160de0)return!0x1;const _0x491db9=_0x160de0[_0x3e96bc(0x19e)](_0x2c1a96);if(!_0x491db9)return!0x1;const _0x5f02f9=_0x5b2537['generateHexNumber'](0x8),_0x126d8d=_0x22e250||{'startRow':0x0,'startColumn':0x0,'endRow':_0x491db9[_0x3e96bc(0x3fc)]()-0x1,'endColumn':_0x491db9[_0x3e96bc(0x245)]()-0x1};_0x126d8d[_0x3e96bc(0x3f0)]=_0x1e9f36[_0x3e96bc(0x1b4)][_0x3e96bc(0x3d0)];const _0x1c483f=(await _0x4977d6[_0x3e96bc(0x3b2)]({'unitId':_0x5bb0eb,'subUnitId':_0x2c1a96,'pivotTableId':_0x5f02f9,'params':{'type':_0x529957[_0x3e96bc(0x32d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5bb0eb,'sheetName':_0x491db9[_0x3e96bc(0x23c)](),'subUnitId':_0x2c1a96,'range':_0x126d8d},'pivotTableId':_0x5f02f9,'pivotTableIndexConfig':_0x45598b}}}))[_0x3e96bc(0x353)]['addPivotTableWithConfig'];if(!_0x1c483f)return!0x1;const {isEmpty:_0x3f32b7,fieldsConfig:_0x44d394,collectionConfig:_0x39e1e0,changesets:_0x23ecb2}=_0x1c483f,_0x518084=_0x160de0[_0x3e96bc(0x2a3)]()[_0x3e96bc(0x10b)],_0x4e6c26=_0x1e9f36[_0x3e96bc(0x385)]({'rowCount':_0x491db9[_0x3e96bc(0x3fc)]()-0x1,'columnCount':_0x491db9['getColumnCount']()-0x1});_0x4e6c26['id']=_0x1e9f36[_0x3e96bc(0x11d)](),_0x4e6c26[_0x3e96bc(0x219)]=_0x160de0[_0x3e96bc(0x2fa)](''+_0x304374['t'](_0x3e96bc(0x313)));const _0x5d5fa7={'index':_0x518084,'sheet':_0x4e6c26,'unitId':_0x5bb0eb},{redos:_0x32575c}=_0x2e72fc(_0x6186b1,{'pivotTableId':_0x5f02f9,'unitId':_0x5bb0eb,'subUnitId':_0x4e6c26['id']},_0x23ecb2),_0x1cfae5=[{'id':_0x18baff[_0x3e96bc(0x12b)]['id'],'params':_0x5d5fa7},{'id':_0xfab1de['id'],'params':{'unitId':_0x5bb0eb,'subUnitId':_0x4e6c26['id'],'pivotTableId':_0x5f02f9,'pivotTableConfig':{'isEmpty':_0x3f32b7,'fieldsConfig':_0x44d394,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5bb0eb,'subUnitId':_0x4e6c26['id']},'sourceRangeInfo':{'subUnitId':_0x2c1a96,'unitId':_0x5bb0eb,'range':_0x126d8d,'sheetName':_0x491db9[_0x3e96bc(0x23c)]()}},'collectionConfig':_0x39e1e0}},..._0x32575c];return _0x1e9f36[_0x3e96bc(0x2a7)](_0x1cfae5,_0x6186b1),!0x0;}},_0x2ad0a5={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x18a),'handler'(_0x5433dd,_0x5a1b0d){const _0x494679=_0x40b749;if(!_0x5a1b0d)return!0x1;if(!!_0x5433dd[_0x494679(0x218)](_0x1e9f36[_0x494679(0x383)])[_0x494679(0x1bf)](_0x24b195))return!0x0;const {pivotTableId:_0x1c1088,unitId:_0x43d8f5,subUnitId:_0x9e281c}=_0x5a1b0d,_0x57e11f=_0x5433dd[_0x494679(0x218)](_0x141cd5[_0x494679(0xfb)]);return _0x57e11f[_0x494679(0x3d3)](_0x43d8f5,_0x9e281c,_0x1c1088)?(_0x57e11f[_0x494679(0x340)]({'unitId':_0x43d8f5,'subUnitId':_0x9e281c,'token':_0x1c1088,'type':_0x40d428[_0x494679(0x3bc)]}),_0x57e11f[_0x494679(0x2d0)](_0x43d8f5,_0x9e281c,_0x1c1088),!0x0):!0x1;}},_0x1314db={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x1e2),async 'handler'(_0x1e3ede,_0x213829){const _0x4c46ce=_0x40b749;var _0x57cde8,_0x53a4f1;const _0x4c826e=_0x1e3ede[_0x4c46ce(0x218)](_0x1e9f36[_0x4c46ce(0x3a6)]),_0x4b7f06=_0x1e3ede[_0x4c46ce(0x218)](_0x1e9f36[_0x4c46ce(0x136)]),_0x2b936f=_0x1e3ede[_0x4c46ce(0x218)](_0x1e9f36[_0x4c46ce(0x200)]),_0x165d40=_0x1e3ede['get'](_0x141cd5[_0x4c46ce(0x194)]),_0x30780a=_0x1e3ede[_0x4c46ce(0x218)](_0x1e9f36[_0x4c46ce(0x3aa)]),_0x57bbc0=_0x1e3ede[_0x4c46ce(0x218)](_0x141cd5[_0x4c46ce(0x116)]),_0x430e70=_0x1e3ede['get'](_0x1e9f36[_0x4c46ce(0x383)]);if(!_0x213829)return!0x1;const {pivotTableConfig:_0x2ffec7,positionType:_0x4c065d}=_0x213829,{targetCellInfo:_0x3341ac,sourceRangeInfo:_0x434fdc}=_0x2ffec7,{unitId:_0x38d5a5,subUnitId:_0x1643ca}=_0x3341ac,_0x3d6c8=_0x4b7f06[_0x4c46ce(0x34a)](_0x38d5a5);if(!_0x3d6c8)return!0x1;let _0x561578=0x0;_0x3d6c8[_0x4c46ce(0x2a3)]()[_0x4c46ce(0x33d)](_0x335485=>{const _0x24a6a6=_0x4c46ce;var _0x3de21,_0x51a295;_0x561578+=(_0x51a295=(_0x3de21=_0x57bbc0[_0x24a6a6(0x2dc)](_0x38d5a5,_0x335485['getSheetId']()))==null?void 0x0:_0x3de21[_0x24a6a6(0x3fb)])!=null?_0x51a295:0x0;});const _0x1afe7a=(_0x57cde8=_0x430e70[_0x4c46ce(0x1bf)](_0x52512b[_0x4c46ce(0x363)]))!=null?_0x57cde8:{},{ls:_0x472c47,pbk:_0x2790de}=_0x1afe7a;if(!_0x38ae35(_0x472c47,_0x2790de))return!0x1;const _0x24af7e=_0x4f8174(_0x27fb1e,_0x472c47,_0x2790de)['count'];if(_0x561578>=_0x24af7e)return!0x1;const _0x202606=_0x213829[_0x4c46ce(0x2bf)]||_0x5b2537['generateHexNumber'](0x8),_0x27330b=(await _0x165d40[_0x4c46ce(0x3b2)]({'unitId':_0x38d5a5,'subUnitId':_0x1643ca,'pivotTableId':_0x202606,'params':{'type':_0x529957[_0x4c46ce(0x3ad)],'addPivotTable':{'sourceRangeInfo':_0x434fdc,'pivotTableId':_0x202606}}}))['result']['addPivotTable'];if(!_0x27330b)return!0x1;const {view:_0x3c6c6f,isEmpty:_0x5e7ad8,fieldsConfig:_0x341f51,collectionConfig:_0x4c61f2}=_0x27330b,_0x480dc3=[],_0x357146=[];if(_0x4c065d===_0x13fe48[_0x4c46ce(0x293)]){const _0x280062=_0x3d6c8[_0x4c46ce(0x2a3)]()[_0x4c46ce(0x10b)],_0x4a3d8a=_0x1e9f36[_0x4c46ce(0x385)]({});_0x4a3d8a['id']=_0x2ffec7[_0x4c46ce(0x3e7)]['subUnitId'],_0x4a3d8a['name']=(_0x53a4f1=_0x2ffec7[_0x4c46ce(0x3e7)][_0x4c46ce(0x224)])!=null?_0x53a4f1:_0x3d6c8[_0x4c46ce(0x2fa)](''+_0x2b936f['t'](_0x4c46ce(0x313)));const _0x3b39ea={'index':_0x280062,'sheet':_0x4a3d8a,'unitId':_0x38d5a5},_0x1fa2b3=_0x18baff[_0x4c46ce(0x36c)](_0x1e3ede,_0x3b39ea);_0x480dc3[_0x4c46ce(0x189)]({'id':_0x18baff['RemoveSheetMutation']['id'],'params':_0x1fa2b3}),_0x357146['push']({'id':_0x18baff[_0x4c46ce(0x13b)]['id'],'params':_0x3b39ea});}else{if(!_0x3d6c8[_0x4c46ce(0x19e)](_0x1643ca))return!0x1;const _0x6965db=_0x578edf(_0x1e3ede,new _0x5b2537['PivotView'](),_0x3341ac,!0x0);_0x357146[_0x4c46ce(0x189)](..._0x6965db[_0x4c46ce(0x14a)]),_0x480dc3[_0x4c46ce(0x189)](..._0x6965db[_0x4c46ce(0x226)]);const _0x4d92db={'cellInfo':_0x3341ac,'view':_0x3c6c6f,'isEmpty':_0x5e7ad8};if(!await _0x1e3ede['get'](_0x141cd5[_0x4c46ce(0x3a0)])[_0x4c46ce(0x384)]['fetchThroughAsyncInterceptors'](_0x3a1900)(!0x0,_0x4d92db))return!0x1;const _0x26c8fa=_0x596a33(_0x1e3ede,_0x4d92db);_0x357146[_0x4c46ce(0x189)](..._0x26c8fa[_0x4c46ce(0x14a)]),_0x480dc3[_0x4c46ce(0x189)](..._0x26c8fa[_0x4c46ce(0x226)]);}return _0x357146[_0x4c46ce(0x189)]({'id':_0xfab1de['id'],'params':{'unitId':_0x3341ac['unitId'],'subUnitId':_0x3341ac[_0x4c46ce(0x399)],'pivotTableId':_0x202606,'pivotTableConfig':{'targetCellInfo':_0x3341ac,'sourceRangeInfo':_0x434fdc,'fieldsConfig':_0x341f51},'collectionConfig':_0x4c61f2}}),_0x480dc3[_0x4c46ce(0x26e)]({'id':_0x2ad0a5['id'],'params':{'unitId':_0x38d5a5,'subUnitId':_0x1643ca,'pivotTableId':_0x202606}}),_0x1e9f36[_0x4c46ce(0x2a7)](_0x357146,_0x4c826e)&&_0x30780a[_0x4c46ce(0x33f)]({'unitID':_0x38d5a5,'undoMutations':_0x480dc3,'redoMutations':_0x357146}),!0x0;}},_0x26820b={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x20e702,_0x59b392){const _0x487220=_0x40b749;if(!_0x59b392)return!0x1;const _0x1fb385=_0x20e702[_0x487220(0x218)](_0x1e9f36[_0x487220(0x3a6)]),_0x3ecd75=_0x20e702[_0x487220(0x218)](_0x141cd5['SheetsPivotRPCService']),_0x2055ff=_0x20e702[_0x487220(0x218)](_0x1e9f36[_0x487220(0x3aa)]),{pivotTableId:_0x349c7c,fieldId:_0x4ec441,area:_0x14e2e8,index:_0x27e397,unitId:_0x17c8e5,subUnitId:_0x3ce304}=_0x59b392,_0x214e26=(await _0x3ecd75[_0x487220(0x3b2)]({'unitId':_0x17c8e5,'subUnitId':_0x3ce304,'pivotTableId':_0x349c7c,'params':{'type':_0x529957[_0x487220(0x39d)],'movePivotField':{'fieldId':_0x4ec441,'area':_0x14e2e8,'index':_0x27e397}}}))[_0x487220(0x353)][_0x487220(0x13a)];if(!_0x214e26)return!0x1;const {changesets:_0x6f5f70,view:_0x22e3f5,isEmpty:_0x4899fb,pivotTableConfig:_0x2f2f03}=_0x214e26,_0x1607bb=_0x2f2f03[_0x487220(0x3e7)],_0x4b6696=new _0x5b2537[(_0x487220(0x10a))]();_0x4b6696[_0x487220(0x15f)](_0x22e3f5);const _0x418f3c={'cellInfo':_0x1607bb,'view':_0x4b6696,'isEmpty':_0x4899fb};if(!await _0x20e702['get'](_0x141cd5[_0x487220(0x3a0)])[_0x487220(0x384)][_0x487220(0x16f)](_0x3a1900)(!0x0,_0x418f3c))return!0x1;const _0x56ac6d=_0x578edf(_0x20e702,_0x4b6696,_0x1607bb,_0x4899fb),_0x2522a4=_0x596a33(_0x20e702,_0x418f3c),{redos:_0x29f04e,undos:_0x30c757}=_0x2e72fc(_0x1fb385,{'pivotTableId':_0x349c7c,'unitId':_0x17c8e5,'subUnitId':_0x3ce304},_0x6f5f70);return _0x1e9f36[_0x487220(0x2a7)]([..._0x56ac6d['redos'],..._0x2522a4['redos'],..._0x29f04e],_0x1fb385),_0x2055ff[_0x487220(0x33f)]({'unitID':_0x17c8e5,'redoMutations':[..._0x56ac6d[_0x487220(0x14a)],..._0x2522a4[_0x487220(0x14a)],..._0x29f04e],'undoMutations':[..._0x56ac6d[_0x487220(0x226)],..._0x2522a4[_0x487220(0x226)],..._0x30c757]}),!0x0;}},_0x4b5228={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'id':_0x40b749(0x39b),'handler'(_0x2f9ae8,_0x31f280){const _0x8834c8=_0x40b749;if(!_0x31f280)return!0x1;if(!!_0x2f9ae8['get'](_0x1e9f36[_0x8834c8(0x383)])['getConfig'](_0x24b195))return!0x0;const {pivotTableId:_0x15d929,targetCellPosition:_0x56a3a5,unitId:_0x12a492,subUnitId:_0x469f6a}=_0x31f280,_0x52d9c0=_0x2f9ae8[_0x8834c8(0x218)](_0x141cd5['SheetsPivotDataSourceModel']);if(!_0x52d9c0['getPivotTableInstance'](_0x31f280['pivotTableId']))return!0x1;const _0x5911e5=_0x52d9c0[_0x8834c8(0x317)](_0x15d929);if(!_0x5911e5)return!0x1;const _0x32b11d=_0x52d9c0[_0x8834c8(0x16e)](_0x5911e5[_0x8834c8(0x33b)],_0x31f280[_0x8834c8(0x2bf)]);if(!_0x32b11d)return!0x1;const _0x479696=_0x52d9c0['getPivotTableConfig'](_0x5911e5[_0x8834c8(0x33b)],_0x5911e5[_0x8834c8(0x399)],_0x15d929);if(!_0x479696)return!0x1;const _0x4ee80c=_0x1e9f36[_0x8834c8(0x282)]['deepClone'](_0x479696);_0x4ee80c[_0x8834c8(0x3e7)]={'unitId':_0x12a492,'subUnitId':_0x469f6a,'row':_0x56a3a5[_0x8834c8(0x1f7)],'col':_0x56a3a5[_0x8834c8(0x2e3)]};const _0x207bfd=_0x32b11d['toJSON']();if(_0x5911e5[_0x8834c8(0x399)]===_0x469f6a&&_0x5911e5[_0x8834c8(0x33b)]===_0x12a492)_0x52d9c0[_0x8834c8(0x137)](_0x12a492,_0x469f6a,_0x15d929,_0x4ee80c),_0x52d9c0['addDirtyPivotTable']({'unitId':_0x12a492,'subUnitId':_0x469f6a,'token':_0x15d929,'type':_0x40d428[_0x8834c8(0x349)]});else{_0x52d9c0[_0x8834c8(0x340)]({'unitId':_0x5911e5['unitId'],'subUnitId':_0x5911e5[_0x8834c8(0x399)],'token':_0x15d929,'type':_0x40d428['Delete']}),_0x52d9c0[_0x8834c8(0x2d0)](_0x5911e5[_0x8834c8(0x33b)],_0x5911e5['subUnitId'],_0x15d929);const _0x24b5a5=_0x52d9c0['addCollectionByJSON'](_0x15d929,_0x207bfd,_0x479696[_0x8834c8(0x129)],_0x4ee80c[_0x8834c8(0x3e7)]),_0x49d1d0=new _0x5b2537[(_0x8834c8(0x3de))](_0x24b5a5[_0x8834c8(0x40f)],void 0x0,_0x15d929);_0x49d1d0[_0x8834c8(0x26a)](_0x4ee80c['fieldsConfig']),_0x52d9c0['addPivotTable'](_0x12a492,_0x469f6a,_0x15d929,_0x49d1d0,_0x4ee80c),_0x52d9c0[_0x8834c8(0x340)]({'unitId':_0x12a492,'subUnitId':_0x469f6a,'token':_0x15d929,'type':_0x40d428[_0x8834c8(0x156)],'pivotConfig':_0x4ee80c});}return!0x0;}},_0x3a5369={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':'sheet.command.move-pivot-table','handler':(_0x155bdb,_0x5e616a)=>{const _0x38dd69=_0x40b749,_0x1121e4=_0x155bdb[_0x38dd69(0x218)](_0x1e9f36[_0x38dd69(0x3a6)]),_0x48ca39=_0x155bdb[_0x38dd69(0x218)](_0x1e9f36[_0x38dd69(0x3aa)]),_0x440bea=_0x155bdb['get'](_0x141cd5[_0x38dd69(0x116)]),_0x47b2b9=_0x155bdb['get'](_0x1e9f36[_0x38dd69(0x136)]);if(!_0x5e616a)return!0x1;const _0x53d5b1=_0x18baff[_0x38dd69(0x2e9)](_0x47b2b9);if(!_0x53d5b1)return!0x1;const {unitId:_0x540faa,subUnitId:_0x2884d6,workbook:_0x150e45}=_0x53d5b1,_0xf92ff2=_0x440bea['getPivotTableConfig'](_0x5e616a[_0x38dd69(0x1b5)]['unitId'],_0x5e616a['originTargetInfo'][_0x38dd69(0x399)],_0x5e616a['pivotTableId']);if(!_0xf92ff2)return!0x1;const _0xe54b32=_0x150e45[_0x38dd69(0x19e)](_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x399)]);if(!_0xe54b32)throw new Error(_0x38dd69(0x33e));const _0x26845e=_0xe54b32[_0x38dd69(0x3fc)](),_0x1a5de9=_0xe54b32['getColumnCount']();if(_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x1f7)]>_0x26845e||_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x2e3)]>_0x1a5de9)throw new Error(_0x38dd69(0x121));const _0x2337c1=[{'id':_0x4b5228['id'],'params':{'unitId':_0x540faa,'subUnitId':_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x399)],'pivotTableId':_0x5e616a['pivotTableId'],'targetCellPosition':{'row':_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x1f7)],'col':_0x5e616a[_0x38dd69(0x3e7)][_0x38dd69(0x2e3)]}}}],_0x83464c=[{'id':_0x4b5228['id'],'params':{'unitId':_0x540faa,'subUnitId':_0x2884d6,'pivotTableId':_0x5e616a[_0x38dd69(0x2bf)],'targetCellPosition':{'row':_0xf92ff2[_0x38dd69(0x3e7)]['row'],'col':_0xf92ff2['targetCellInfo']['col']}}}];return _0x1e9f36[_0x38dd69(0x2a7)](_0x2337c1,_0x1121e4)&&_0x48ca39[_0x38dd69(0x33f)]({'unitID':_0x540faa,'undoMutations':_0x83464c,'redoMutations':_0x2337c1}),!0x0;}},_0x4db6cb={'type':_0x1e9f36['CommandType']['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x1bcf94,_0x2e479a){const _0x4d7512=_0x40b749;var _0x5d3d4e;if(!_0x2e479a)return!0x1;const _0x36ae46=_0x1bcf94[_0x4d7512(0x218)](_0x1e9f36[_0x4d7512(0x136)]),_0x494463=_0x18baff[_0x4d7512(0x2e9)](_0x36ae46);if(!_0x494463)return!0x1;const {unitId:_0x1e9f25,subUnitId:_0x3046ea,workbook:_0x534186}=_0x494463,{row:_0x168460,col:_0x36cd49}=_0x2e479a,_0x3c5007=_0x1bcf94[_0x4d7512(0x218)](_0x141cd5[_0x4d7512(0x278)]),_0x513b80=_0x3c5007[_0x4d7512(0x3f5)](_0x1e9f25,_0x3046ea,_0x168460,_0x36cd49);if(!_0x513b80)return!0x1;const _0x28ec20=(_0x5d3d4e=_0x3c5007['getPivotItemRenderInfoCache'](_0x1e9f25,_0x3046ea,_0x513b80))==null?void 0x0:_0x5d3d4e[_0x4d7512(0x1f3)];if(!_0x28ec20)return!0x1;const _0x2581d0=_0x1bcf94['get'](_0x141cd5[_0x4d7512(0x116)])[_0x4d7512(0x3d3)](_0x1e9f25,_0x3046ea,_0x513b80);if(!_0x2581d0)return!0x1;const {rowInfo:_0xfa8aa2,colInfo:_0x106772}=_0x28ec20,_0x110aa0=_0xfa8aa2[_0x168460]['paths'],_0x4bb2a1=_0x106772[_0x36cd49][_0x4d7512(0x3eb)],_0xf298cb=_0xfa8aa2[_0x168460]['level'],_0x464ef2=_0x106772[_0x36cd49][_0x4d7512(0x285)],_0x243f91=_0x110aa0['concat'](_0x4bb2a1),_0x5e8d25=_0x2581d0[_0x4d7512(0x22b)][_0x4d7512(0x225)][_0x4d7512(0x401)](0x0,_0xf298cb),_0x5196b5=_0x2581d0[_0x4d7512(0x22b)][_0x4d7512(0x10d)][_0x4d7512(0x401)](0x0,_0x464ef2),_0x2b6c22=_0x5e8d25['concat'](_0x5196b5),_0x5c74c1=_0x243f91['map']((_0x83adbe,_0x1609e8)=>[_0x83adbe,_0x2b6c22[_0x1609e8]]),_0x481a83=(await _0x1bcf94[_0x4d7512(0x218)](_0x141cd5['SheetsPivotRPCService'])[_0x4d7512(0x3b2)]({'unitId':_0x1e9f25,'subUnitId':_0x3046ea,'pivotTableId':_0x513b80,'params':{'type':_0x529957[_0x4d7512(0x1f2)],'drillDown':{'tuple':_0x5c74c1}}}))[_0x4d7512(0x353)]['drillDown'];if(!_0x481a83)return!0x1;const {indexes:_0x5a66f4,range:_0xb7f83c,sourceUnitId:_0x23414f,sourceSubUnitId:_0x3803a3,formatMap:_0x29e056}=_0x481a83,{startRow:_0x64426b,endRow:_0x434ba3,startColumn:_0x4d7a60,endColumn:_0x4ffcd8}=_0xb7f83c,_0x236e78=new _0x1e9f36[(_0x4d7512(0x3e8))](),_0x4ebf70=_0x434ba3-_0x64426b,_0x4c5c5c=_0x4ffcd8-_0x4d7a60,_0x51e4dd={},_0x1da01e=_0x18baff[_0x4d7512(0x2e9)](_0x36ae46,{'unitId':_0x23414f,'subUnitId':_0x3803a3});if(!_0x1da01e)return!0x1;const _0x32cc5a=_0xfabaf7[_0x4d7512(0x3ec)],_0x213c31=_0xfabaf7[_0x4d7512(0x22f)],_0x2a0e77=_0xfabaf7['subTotalStyle'],_0x524a84=_0x534186['getStyles']()['setValue'](_0x32cc5a),_0x2a1522=_0x534186[_0x4d7512(0x403)]()[_0x4d7512(0x147)](_0x213c31),_0x58809f=_0x534186[_0x4d7512(0x403)]()[_0x4d7512(0x147)](_0x2a0e77),{worksheet:_0x4c5a8a}=_0x1da01e;let _0x3c44a3=0x0;const _0x59d453=0x1;_0x5a66f4[_0x4d7512(0x33d)](_0x47eacc=>{const _0x45888a=_0x4d7512;for(let _0x165299=0x0;_0x165299<=_0x4ffcd8-_0x4d7a60;_0x165299++)_0x236e78[_0x45888a(0x147)](_0x3c44a3,_0x165299,_0x4c5a8a[_0x45888a(0x354)](_0x47eacc+_0xb7f83c[_0x45888a(0x344)]+_0x59d453,_0x165299));_0x3c44a3++;});for(let _0x4d5226=_0x4d7a60;_0x4d5226<=_0x4ffcd8;_0x4d5226++){const _0x5832de=_0x4c5a8a[_0x4d7512(0x354)](_0x64426b,_0x4d5226);_0x51e4dd[_0x64426b]||(_0x51e4dd[_0x64426b]={}),_0x51e4dd[_0x64426b][_0x4d5226]={..._0x5832de,'s':_0x524a84};}let _0x5a81fe=0x1;const _0x1bd81b={},_0x141d76={};_0x236e78[_0x4d7512(0x280)]((_0x15f963,_0x2d0f52)=>{_0x2d0f52['forEach'](_0x421f5c=>{const _0x5cd4e4=_0x48e4,_0x2ec5ef=_0x236e78[_0x5cd4e4(0x3dd)](_0x15f963,_0x421f5c);if(_0x51e4dd[_0x5a81fe]||(_0x51e4dd[_0x5a81fe]={}),_0x51e4dd[_0x5a81fe][_0x421f5c]={..._0x2ec5ef,'s':_0x5a81fe%0x2===0x0?_0x58809f:_0x2a1522},_0x29e056[_0x421f5c]&&_0x15f963>=0x0){const _0x147c95=_0x5a81fe%0x2===0x0;let _0x5bb61a=_0x147c95?_0x141d76[_0x421f5c]:_0x1bd81b[_0x421f5c];_0x5bb61a||(_0x5bb61a=_0x534186[_0x5cd4e4(0x403)]()['setValue']({..._0x147c95?_0x2a0e77:_0x213c31,'n':{'pattern':_0x29e056[_0x421f5c]}}),_0x147c95?_0x141d76[_0x421f5c]=_0x5bb61a:_0x1bd81b[_0x421f5c]=_0x5bb61a),_0x51e4dd[_0x5a81fe][_0x421f5c]['s']=_0x5bb61a;}}),_0x5a81fe++;});const _0x2dbe1a=new _0x1e9f36['ObjectMatrix'](_0x51e4dd),_0x14df3a={};_0x2dbe1a['forValue']((_0x30b20a,_0xb9b529,_0x39afff)=>{_0x14df3a[_0x30b20a]||(_0x14df3a[_0x30b20a]={}),_0x14df3a[_0x30b20a][_0xb9b529]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x18940f=[],_0x4f649e=[],_0x53dbed=_0x534186[_0x4d7512(0x2a3)]()['length'],_0x1a3d3d=_0x1e9f36[_0x4d7512(0x385)]({'rowCount':Math[_0x4d7512(0x31f)](_0x1e9f36[_0x4d7512(0x26c)],_0x4ebf70+0xa),'columnCount':Math[_0x4d7512(0x31f)](_0x1e9f36[_0x4d7512(0x148)],_0x4c5c5c+0x5)}),_0x3b2ed7=_0x1bcf94[_0x4d7512(0x218)](_0x1e9f36[_0x4d7512(0x200)]);_0x1a3d3d['id']=_0x1e9f36[_0x4d7512(0x11d)](),_0x1a3d3d[_0x4d7512(0x219)]=_0x534186[_0x4d7512(0x2fa)](''+_0x3b2ed7['t'](_0x4d7512(0x313)));const _0x16e64e={'index':_0x53dbed,'sheet':_0x1a3d3d,'unitId':_0x1e9f25},_0x516b20=_0x18baff[_0x4d7512(0x36c)](_0x1bcf94,_0x16e64e);_0x4f649e['push']({'id':_0x18baff['InsertSheetMutation']['id'],'params':_0x16e64e}),_0x18940f[_0x4d7512(0x189)]({'id':_0x18baff['RemoveSheetMutation']['id'],'params':_0x516b20}),_0x4f649e[_0x4d7512(0x189)]({'id':_0x18baff[_0x4d7512(0x3bf)]['id'],'params':{'unitId':_0x1e9f25,'subUnitId':_0x1a3d3d['id'],'cellValue':_0x51e4dd}}),_0x18940f['unshift']({'id':_0x18baff['SetRangeValuesMutation']['id'],'params':{'unitId':_0x1e9f25,'subUnitId':_0x1a3d3d['id'],'cellValue':_0x14df3a}});const _0xfe4eba={'startRow':0x0,'startColumn':0x0,'endRow':_0x5a81fe-0x1,'endColumn':_0x4ffcd8};_0x4f649e[_0x4d7512(0x189)]({'id':_0x29835b[_0x4d7512(0x30a)]['id'],'params':{'unitId':_0x1e9f25,'subUnitId':_0x1a3d3d['id'],'range':_0xfe4eba}}),_0x18940f[_0x4d7512(0x26e)]({'id':_0x29835b[_0x4d7512(0x336)]['id'],'params':{'unitId':_0x1e9f25,'subUnitId':_0x1a3d3d['id']}});const _0x3d23a8=_0x1bcf94['get'](_0x1e9f36[_0x4d7512(0x3a6)]);return _0x1e9f36[_0x4d7512(0x2a7)](_0x4f649e,_0x3d23a8)&&_0x1bcf94['get'](_0x1e9f36[_0x4d7512(0x3aa)])[_0x4d7512(0x33f)]({'unitID':_0x1e9f25,'undoMutations':_0x18940f,'redoMutations':_0x4f649e}),!0x0;}},_0xc1b316={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x300),async 'handler'(_0x3ca377,_0x597372){const _0x2673e1=_0x40b749;if(!_0x597372)return!0x1;const _0x189af4=_0x3ca377['get'](_0x1e9f36[_0x2673e1(0x3a6)]),_0x5f813a=_0x3ca377[_0x2673e1(0x218)](_0x141cd5[_0x2673e1(0x194)]),_0x2a50c5=_0x3ca377[_0x2673e1(0x218)](_0x1e9f36[_0x2673e1(0x3aa)]),{pivotTableId:_0x34bbe6,fieldIds:_0x501274,unitId:_0xbfa5b6,subUnitId:_0x2e8d84}=_0x597372,_0x21be2a=(await _0x5f813a[_0x2673e1(0x3b2)]({'unitId':_0xbfa5b6,'subUnitId':_0x2e8d84,'pivotTableId':_0x34bbe6,'params':{'type':_0x529957[_0x2673e1(0x1e4)],'removePivotField':{'fieldIds':_0x501274}}}))[_0x2673e1(0x353)][_0x2673e1(0x220)];if(!_0x21be2a)return!0x1;const {view:_0x29276f,changesets:_0x3f7741,isEmpty:_0x547d1b,pivotTableConfig:_0x1cc38e}=_0x21be2a,_0x56aea3=_0x1cc38e[_0x2673e1(0x3e7)],_0xc7c019=new _0x5b2537[(_0x2673e1(0x10a))]();_0xc7c019[_0x2673e1(0x15f)](_0x29276f);const _0x54279d={'cellInfo':_0x56aea3,'view':_0xc7c019,'isEmpty':_0x547d1b};if(!await _0x3ca377[_0x2673e1(0x218)](_0x141cd5['SheetsPivotTableService'])[_0x2673e1(0x384)][_0x2673e1(0x16f)](_0x3a1900)(!0x0,_0x54279d))return!0x1;const _0x2f7198=_0x578edf(_0x3ca377,_0xc7c019,_0x56aea3,_0x547d1b),_0x3965ae=_0x596a33(_0x3ca377,_0x54279d),{redos:_0x40d858,undos:_0x2a23fb}=_0x2e72fc(_0x189af4,{'pivotTableId':_0x34bbe6,'unitId':_0xbfa5b6,'subUnitId':_0x2e8d84},_0x3f7741);return _0x1e9f36[_0x2673e1(0x2a7)]([..._0x2f7198[_0x2673e1(0x14a)],..._0x3965ae['redos'],..._0x40d858],_0x189af4),_0x2a50c5[_0x2673e1(0x33f)]({'unitID':_0xbfa5b6,'redoMutations':[..._0x2f7198[_0x2673e1(0x14a)],..._0x3965ae[_0x2673e1(0x14a)],..._0x40d858],'undoMutations':[..._0x2f7198['undos'],..._0x3965ae[_0x2673e1(0x226)],..._0x2a23fb]}),!0x0;}},_0x4cbf32={'type':_0x1e9f36['CommandType'][_0x40b749(0x223)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x3a4be7,_0x515a65){const _0x387811=_0x40b749;if(!_0x515a65)return!0x1;const _0x30097c=_0x3a4be7['get'](_0x1e9f36[_0x387811(0x3a6)]),_0x36e502=_0x3a4be7[_0x387811(0x218)](_0x1e9f36[_0x387811(0x3aa)]),_0x3092bc=_0x3a4be7[_0x387811(0x218)](_0x141cd5[_0x387811(0x194)]),{resetArea:_0x4996f3,pivotTableId:_0x4079bb,unitId:_0x2b445b,subUnitId:_0x76ac47}=_0x515a65,_0x450e8f=(await _0x3092bc[_0x387811(0x3b2)]({'unitId':_0x2b445b,'subUnitId':_0x76ac47,'pivotTableId':_0x4079bb,'params':{'type':_0x529957['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4079bb,'resetArea':_0x4996f3}}}))[_0x387811(0x353)][_0x387811(0x1a1)];if(!_0x450e8f)return!0x1;const {changesets:_0x9ad486}=_0x450e8f,{redos:_0xb7a4a9,undos:_0x3ad47b}=_0x2e72fc(_0x30097c,{'pivotTableId':_0x4079bb,'unitId':_0x2b445b,'subUnitId':_0x76ac47},_0x9ad486);return _0x1e9f36['sequenceExecute'](_0xb7a4a9,_0x30097c),_0x36e502['pushUndoRedo']({'unitID':_0x2b445b,'redoMutations':_0xb7a4a9,'undoMutations':_0x3ad47b}),!0x0;}},_0x4dce1e={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x36d),async 'handler'(_0x24a256,_0x530a8c){const _0x578eb8=_0x40b749,_0x20e43b=_0x24a256[_0x578eb8(0x218)](_0x1e9f36['ICommandService']),_0x377987=_0x24a256[_0x578eb8(0x218)](_0x141cd5[_0x578eb8(0x194)]),_0x14aa9a=_0x24a256[_0x578eb8(0x218)](_0x141cd5[_0x578eb8(0x278)]),_0x16da53=_0x24a256[_0x578eb8(0x218)](_0x1e9f36[_0x578eb8(0x136)]),_0x3a189d=_0x24a256[_0x578eb8(0x218)](_0x1e9f36[_0x578eb8(0x200)]),_0x3e3a4c=_0x24a256[_0x578eb8(0x218)](_0x1e9f36[_0x578eb8(0x3aa)]);if(!_0x530a8c)return!0x1;const {unitId:_0x10462c,subUnitId:_0x128a1e,row:_0x55104a,col:_0x4cd28c,collapse:_0x17dfb2}=_0x530a8c,_0x40b750=_0x16da53[_0x578eb8(0x34a)](_0x10462c);if(!_0x40b750||!_0x40b750[_0x578eb8(0x19e)](_0x128a1e))return!0x1;const _0x412088=_0x14aa9a[_0x578eb8(0x3f5)](_0x10462c,_0x128a1e,_0x55104a,_0x4cd28c);if(!_0x412088)return!0x1;const _0x33f3c4=_0x14aa9a[_0x578eb8(0x38f)](_0x10462c,_0x128a1e,_0x412088);if(!_0x33f3c4)return!0x1;const _0x79769f=_0x1e9f36[_0x578eb8(0x204)](_0x55104a,_0x4cd28c),{rangesInfo:_0x3e4875,areaInfo:_0x41357c,headerMap:_0x547435}=_0x33f3c4;if(!_0x3e4875||!_0x41357c||!_0x547435)return!0x1;const _0x296564=Object['keys'](_0x3e4875)['find'](_0x4a0f5b=>_0x3e4875[_0x4a0f5b][_0x578eb8(0x266)](_0x52bfac=>_0x1e9f36[_0x578eb8(0x1e1)][_0x578eb8(0x271)](_0x52bfac,_0x79769f)));let _0x1397f1;_0x296564===_0x578eb8(0x270)?_0x1397f1=_0x547435[_0x578eb8(0x161)][_0x4cd28c]:_0x296564==='colRanges'&&(_0x1397f1=_0x547435['colHeaderMap'][_0x55104a]);const _0x2d1bd8=_0x1397f1==null?void 0x0:_0x1397f1['tableFieldId'],_0x429c21=_0x14aa9a['getPivotTableCellData'](_0x10462c,_0x128a1e,_0x55104a,_0x4cd28c);let _0x52924a=_0x429c21==null?void 0x0:_0x429c21['v'];if(_0x52924a===_0x3a189d['t'](_0x578eb8(0x306))&&(_0x52924a=_0x5b2537[_0x578eb8(0x3ef)][_0x578eb8(0x1c4)]),_0x52924a==null||!_0x412088||!_0x2d1bd8)return!0x1;const _0x1ab54f=await _0x377987['getPivotDisplayConfig']({'unitId':_0x10462c,'subUnitId':_0x128a1e,'pivotTableId':_0x412088,'params':{'type':_0x529957['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x2d1bd8,'collapse':_0x17dfb2,'item':_0x52924a}}}),_0x557c03=_0x1ab54f==null?void 0x0:_0x1ab54f[_0x578eb8(0x353)][_0x578eb8(0x15a)];if(!_0x557c03)return!0x1;const {view:_0xbc591,pivotTableConfig:_0x4d24df,isEmpty:_0x5cdf30,changesets:_0x41189d}=_0x557c03,_0x1e7403=new _0x5b2537[(_0x578eb8(0x10a))]();_0x1e7403[_0x578eb8(0x15f)](_0xbc591);const _0x3acde0=_0x4d24df['targetCellInfo'],_0x504bc1={'cellInfo':_0x3acde0,'view':_0x1e7403,'isEmpty':_0x5cdf30};if(!await _0x24a256['get'](_0x141cd5[_0x578eb8(0x3a0)])[_0x578eb8(0x384)][_0x578eb8(0x16f)](_0x3a1900)(!0x0,_0x504bc1))return!0x1;const _0x420662=_0x578edf(_0x24a256,_0x1e7403,_0x3acde0,_0x5cdf30),_0x4aca75=_0x596a33(_0x24a256,_0x504bc1),{redos:_0x210108,undos:_0x3a2956}=_0x2e72fc(_0x20e43b,{'pivotTableId':_0x412088,'unitId':_0x10462c,'subUnitId':_0x128a1e},_0x41189d);return _0x1e9f36['sequenceExecute']([..._0x420662['redos'],..._0x4aca75[_0x578eb8(0x14a)],..._0x210108],_0x20e43b),_0x3e3a4c[_0x578eb8(0x33f)]({'unitID':_0x10462c,'redoMutations':[..._0x420662[_0x578eb8(0x14a)],..._0x4aca75[_0x578eb8(0x14a)],..._0x210108],'undoMutations':[..._0x420662[_0x578eb8(0x226)],..._0x4aca75[_0x578eb8(0x226)],..._0x3a2956]}),!0x0;}},_0x6edcf2={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x2bb),async 'handler'(_0x5e21e2,_0x15e3b3){const _0xb92829=_0x40b749;if(!_0x15e3b3)return!0x1;const _0x155ccc=_0x5e21e2[_0xb92829(0x218)](_0x1e9f36[_0xb92829(0x3a6)]),_0x1e6eb6=_0x5e21e2['get'](_0x1e9f36[_0xb92829(0x3aa)]),_0x17036b=_0x5e21e2[_0xb92829(0x218)](_0x141cd5[_0xb92829(0x194)]),{pivotTableConfig:_0x5d4665,pivotTableId:_0x3cb70a,unitId:_0x5cab93,subUnitId:_0x2f820d}=_0x15e3b3,_0x37bf59=(await _0x17036b[_0xb92829(0x3b2)]({'unitId':_0x5cab93,'subUnitId':_0x2f820d,'pivotTableId':_0x3cb70a,'params':{'type':_0x529957[_0xb92829(0x1ab)],'setPivotTableConfig':{'pivotTableId':_0x3cb70a,'pivotTableConfig':_0x5d4665}}}))[_0xb92829(0x353)][_0xb92829(0x11f)];if(!_0x37bf59)return!0x1;const {changesets:_0x55ed17}=_0x37bf59,{redos:_0x268972,undos:_0x4fdf8e}=_0x2e72fc(_0x155ccc,{'pivotTableId':_0x3cb70a,'unitId':_0x5cab93,'subUnitId':_0x2f820d},_0x55ed17);return _0x1e9f36[_0xb92829(0x2a7)](_0x268972,_0x155ccc),_0x1e6eb6[_0xb92829(0x33f)]({'unitID':_0x5cab93,'redoMutations':_0x268972,'undoMutations':_0x4fdf8e}),!0x0;}},_0x21b13a={'type':_0x1e9f36['CommandType']['COMMAND'],'id':_0x40b749(0x3ac),async 'handler'(_0x4c42e3,_0x241d00){const _0x2ee28e=_0x40b749;if(!_0x241d00)return!0x1;const _0x21cc0d=_0x4c42e3[_0x2ee28e(0x218)](_0x1e9f36[_0x2ee28e(0x3a6)]),{pivotTableId:_0xab7424,tableFieldId:_0x1006e5,items:_0x36ccd1,unitId:_0x13ccff,subUnitId:_0x5566a8,isAll:_0x51aba9}=_0x241d00,_0x516e76=_0x4c42e3[_0x2ee28e(0x218)](_0x141cd5['SheetsPivotRPCService']),_0x4c85df=_0x4c42e3['get'](_0x1e9f36[_0x2ee28e(0x3aa)]),_0x1cbc3b=(await _0x516e76[_0x2ee28e(0x3b2)]({'unitId':_0x13ccff,'subUnitId':_0x5566a8,'pivotTableId':_0xab7424,'params':{'type':_0x529957[_0x2ee28e(0x240)],'setPivotFilter':{'tableFieldId':_0x1006e5,'items':_0x36ccd1,'isAll':_0x51aba9}}}))['result'][_0x2ee28e(0x18e)];if(!_0x1cbc3b)return!0x1;const {changesets:_0x869b8f,pivotTableConfig:_0x416c3a,isEmpty:_0x30d6cc,view:_0x591da2}=_0x1cbc3b,_0x395ccd=_0x416c3a['targetCellInfo'],_0x11710c=new _0x5b2537[(_0x2ee28e(0x10a))]();_0x11710c[_0x2ee28e(0x15f)](_0x591da2);const _0x15626b={'cellInfo':_0x395ccd,'view':_0x11710c,'isEmpty':_0x30d6cc};if(!await _0x4c42e3[_0x2ee28e(0x218)](_0x141cd5['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3a1900)(!0x0,_0x15626b))return!0x1;const _0x11cbcc=_0x578edf(_0x4c42e3,_0x11710c,_0x395ccd,_0x30d6cc),_0x18b2bf=_0x596a33(_0x4c42e3,_0x15626b),{undos:_0x23dd7f,redos:_0x47b554}=_0x2e72fc(_0x21cc0d,{'pivotTableId':_0xab7424,'unitId':_0x13ccff,'subUnitId':_0x5566a8},_0x869b8f);return _0x1e9f36[_0x2ee28e(0x2a7)]([..._0x11cbcc['redos'],..._0x18b2bf[_0x2ee28e(0x14a)],..._0x47b554],_0x21cc0d),_0x4c85df[_0x2ee28e(0x33f)]({'unitID':_0x13ccff,'redoMutations':[..._0x11cbcc['redos'],..._0x18b2bf['redos'],..._0x47b554],'undoMutations':[..._0x11cbcc['undos'],..._0x18b2bf['undos'],..._0x23dd7f]}),!0x0;}},_0x2333c9={'type':_0x1e9f36['CommandType'][_0x40b749(0x223)],'id':_0x40b749(0x408),async 'handler'(_0x74ee2d,_0x5e0d45){const _0x19b88e=_0x40b749;if(!_0x5e0d45)return!0x1;const _0x444a24=_0x74ee2d[_0x19b88e(0x218)](_0x1e9f36['ICommandService']),_0x172dad=_0x74ee2d[_0x19b88e(0x218)](_0x1e9f36[_0x19b88e(0x3aa)]),_0x183566=_0x74ee2d[_0x19b88e(0x218)](_0x141cd5['SheetsPivotRPCService']),{info:_0x704769,tableFieldId:_0x2c8ddd,pivotTableId:_0x58df69,unitId:_0x321309,subUnitId:_0x5ca610}=_0x5e0d45,_0x1d9755=(await _0x183566['getPivotDisplayConfig']({'unitId':_0x321309,'subUnitId':_0x5ca610,'pivotTableId':_0x58df69,'params':{'type':_0x529957[_0x19b88e(0x13d)],'setPivotSort':{'tableFieldId':_0x2c8ddd,'info':_0x704769}}}))['result'][_0x19b88e(0x3e4)];if(!_0x1d9755)return!0x1;const {changesets:_0x2611eb}=_0x1d9755,{redos:_0x4003c9,undos:_0x3fbb9c}=_0x2e72fc(_0x444a24,{'pivotTableId':_0x58df69,'unitId':_0x321309,'subUnitId':_0x5ca610},_0x2611eb);return _0x1e9f36['sequenceExecute'](_0x4003c9,_0x444a24),_0x172dad[_0x19b88e(0x33f)]({'unitID':_0x321309,'redoMutations':_0x4003c9,'undoMutations':_0x3fbb9c}),!0x0;}},_0x49845e={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x1175e9,_0x3e7e0b){const _0xcc21b5=_0x40b749;if(!_0x3e7e0b)return!0x1;const _0x5d8382=_0x1175e9[_0xcc21b5(0x218)](_0x1e9f36[_0xcc21b5(0x3a6)]),{pivotTableId:_0x3c27b3,fieldId:_0x1e01c8,valueFilterInfo:_0x1e2eca,unitId:_0x1c4ace,subUnitId:_0x60b4df}=_0x3e7e0b,_0x1c9950=_0x1175e9[_0xcc21b5(0x218)](_0x141cd5[_0xcc21b5(0x194)]),_0x4bc100=_0x1175e9[_0xcc21b5(0x218)](_0x1e9f36['IUndoRedoService']),_0x4c912=(await _0x1c9950[_0xcc21b5(0x3b2)]({'unitId':_0x1c4ace,'subUnitId':_0x60b4df,'pivotTableId':_0x3c27b3,'params':{'type':_0x529957['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x1e01c8,'filterInfo':_0x1e2eca}}}))[_0xcc21b5(0x353)][_0xcc21b5(0x361)];if(!_0x4c912)return!0x1;const {changesets:_0x48a0c6,pivotTableConfig:_0x271a78,isEmpty:_0x3c4cfa,view:_0x3d06e1}=_0x4c912,_0x35a74e=_0x271a78[_0xcc21b5(0x3e7)],_0x4fbad8=new _0x5b2537['PivotView']();_0x4fbad8[_0xcc21b5(0x15f)](_0x3d06e1);const _0x5625f2={'cellInfo':_0x35a74e,'view':_0x4fbad8,'isEmpty':_0x3c4cfa};if(!await _0x1175e9[_0xcc21b5(0x218)](_0x141cd5[_0xcc21b5(0x3a0)])[_0xcc21b5(0x384)][_0xcc21b5(0x16f)](_0x3a1900)(!0x0,_0x5625f2))return!0x1;const _0x49c883=_0x578edf(_0x1175e9,_0x4fbad8,_0x35a74e,_0x3c4cfa),_0x2d4ac9=_0x596a33(_0x1175e9,_0x5625f2),{undos:_0x17a4fd,redos:_0x36d3ac}=_0x2e72fc(_0x5d8382,{'pivotTableId':_0x3c27b3,'unitId':_0x1c4ace,'subUnitId':_0x60b4df},_0x48a0c6);return _0x1e9f36[_0xcc21b5(0x2a7)]([..._0x49c883[_0xcc21b5(0x14a)],..._0x2d4ac9['redos'],..._0x36d3ac],_0x5d8382),_0x4bc100['pushUndoRedo']({'unitID':_0x1c4ace,'redoMutations':[..._0x49c883[_0xcc21b5(0x14a)],..._0x2d4ac9[_0xcc21b5(0x14a)],..._0x36d3ac],'undoMutations':[..._0x49c883[_0xcc21b5(0x226)],..._0x2d4ac9[_0xcc21b5(0x226)],..._0x17a4fd]}),!0x0;}},_0x2bec82={'id':_0x40b749(0x28e),'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x31a)],'handler':(_0x4b9fc8,_0x3b2999)=>{const _0x357432=_0x40b749;if(!_0x3b2999)return!0x1;if(!!_0x4b9fc8[_0x357432(0x218)](_0x1e9f36[_0x357432(0x383)])[_0x357432(0x1bf)](_0x24b195))return!0x0;const {unitId:_0x375eb2,subUnitId:_0x4e6a2d,pivotTableId:_0x26bdc9,tableFieldId:_0x4e98a6,dateType:_0x4f09fc}=_0x3b2999,_0x1ce189=_0x4b9fc8[_0x357432(0x218)](_0x141cd5[_0x357432(0xfb)]),_0x3bc9c7=_0x1ce189[_0x357432(0x22e)](_0x26bdc9);if(!_0x3bc9c7)return!0x1;const _0x50f75d=_0x3bc9c7[_0x357432(0x37e)](_0x4e98a6);if(!_0x50f75d)return!0x1;const _0x174f0c=_0x50f75d[_0x357432(0x186)](),_0x5a3d8c=_0x3bc9c7[_0x357432(0x28c)](_0x174f0c),_0x8c5fb7=(_0x5a3d8c==null?void 0x0:_0x5a3d8c[_0x357432(0x23c)]())+'\x20'+_0xcbef7e(_0x4b9fc8,_0x4f09fc);_0x1ce189[_0x357432(0x16e)](_0x375eb2,_0x26bdc9)[_0x357432(0x196)](_0x50f75d['id'],_0x8c5fb7);const _0x2962c1=_0x3bc9c7[_0x357432(0x411)](_0x4e98a6);if(!_0x2962c1)return!0x1;_0x3bc9c7['renameField'](_0x2962c1[_0x357432(0x279)](),_0x8c5fb7),_0x50f75d[_0x357432(0x130)](_0x4f09fc);const _0x434ea0=_0x1ce189[_0x357432(0x3d3)](_0x375eb2,_0x4e6a2d,_0x26bdc9);return _0x1ce189[_0x357432(0x340)]({'unitId':_0x375eb2,'subUnitId':_0x4e6a2d,'token':_0x26bdc9,'type':_0x40d428[_0x357432(0x349)],'pivotConfig':_0x434ea0}),!0x0;}},_0x57a150={'id':'sheet.command.update-date-group','type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'handler':(_0x1a6516,_0x2fe82f)=>{const _0xf96c51=_0x40b749;if(!_0x2fe82f)return!0x1;const _0x581515=_0x1a6516[_0xf96c51(0x218)](_0x1e9f36[_0xf96c51(0x3aa)]),{unitId:_0xf33cd0,subUnitId:_0x3b73eb,pivotTableId:_0xfa2848,tableFieldId:_0x4f3625}=_0x2fe82f,_0x56fa4c=[],_0x4f423e=[],_0x47cae4=_0x1a6516['get'](_0x141cd5[_0xf96c51(0x116)]),_0x160872=_0x47cae4['getCollection'](_0xf33cd0,_0xfa2848),_0x505f81=_0x47cae4['getPivotTableConfig'](_0xf33cd0,_0x3b73eb,_0xfa2848);if(!(_0x505f81!=null&&_0x505f81[_0xf96c51(0x22b)][_0xf96c51(0x1ce)]))return!0x1;const _0x2722a8=Object[_0xf96c51(0x3a9)](_0x505f81['fieldsConfig'][_0xf96c51(0x1ce)])[_0xf96c51(0x232)](_0x2cdb11=>_0x2cdb11['id']===_0x4f3625);if(!_0x2722a8)return!0x1;const _0x5a54fa=_0x2722a8[_0xf96c51(0x25f)];if(!(_0x160872!=null&&_0x160872[_0xf96c51(0x40c)]))return!0x1;const _0x2fec47=Object[_0xf96c51(0x3a9)](_0x160872==null?void 0x0:_0x160872['fields'])[_0xf96c51(0x232)](_0x26d5e0=>_0x26d5e0['id']===_0x5a54fa);if(!_0x2fec47)return!0x1;_0x5b2537[_0xf96c51(0x197)](_0x2fec47)&&_0x56fa4c[_0xf96c51(0x189)]({'id':_0x2bec82['id'],'params':{..._0x2fe82f,'dateType':_0x2fec47['dateType']}}),_0x4f423e[_0xf96c51(0x189)]({'id':_0x2bec82['id'],'params':{..._0x2fe82f}});const _0x2a487b=_0x1a6516[_0xf96c51(0x218)](_0x1e9f36['ICommandService']);return _0x1e9f36[_0xf96c51(0x2a7)](_0x4f423e,_0x2a487b)&&_0x581515[_0xf96c51(0x33f)]({'unitID':_0xf33cd0,'undoMutations':_0x56fa4c,'redoMutations':_0x4f423e}),!0x0;}},_0x7c824a={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x3b3),async 'handler'(_0x4b372f,_0x2b4202){const _0x35b860=_0x40b749;if(!_0x2b4202)return!0x1;const _0xdd7559=_0x4b372f[_0x35b860(0x218)](_0x1e9f36[_0x35b860(0x3a6)]),_0x2997f8=_0x4b372f[_0x35b860(0x218)](_0x1e9f36[_0x35b860(0x3aa)]),_0x10b3f3=_0x4b372f[_0x35b860(0x218)](_0x141cd5[_0x35b860(0x194)]),{displayName:_0x11048e,subtotalType:_0x3ef33f,format:_0x2a37c5,tableFieldId:_0x427b46,pivotTableId:_0x2f443f,unitId:_0x5009f5,subUnitId:_0x5692fa}=_0x2b4202,_0x173a0f=(await _0x10b3f3[_0x35b860(0x3b2)]({'unitId':_0x5009f5,'subUnitId':_0x5692fa,'pivotTableId':_0x2f443f,'params':{'type':_0x529957[_0x35b860(0x188)],'setPivotSetting':{'tableFieldId':_0x427b46,'displayName':_0x11048e,'subtotalType':_0x3ef33f,'format':_0x2a37c5}}}))['result'][_0x35b860(0x172)];if(!_0x173a0f)return!0x1;const {changesets:_0xb7864d,view:_0x38f081,pivotTableConfig:_0x39911e,isEmpty:_0x34ad38}=_0x173a0f,_0x54845d=_0x39911e[_0x35b860(0x3e7)],_0x8bfd76=new _0x5b2537[(_0x35b860(0x10a))]();_0x8bfd76['formJSON'](_0x38f081);const _0x10dfb9={'cellInfo':_0x54845d,'view':_0x8bfd76,'isEmpty':_0x34ad38};if(!await _0x4b372f['get'](_0x141cd5[_0x35b860(0x3a0)])[_0x35b860(0x384)][_0x35b860(0x16f)](_0x3a1900)(!0x0,_0x10dfb9))return!0x1;const _0x57cbec=_0x578edf(_0x4b372f,_0x8bfd76,_0x54845d,_0x34ad38),_0x3c72a4=_0x596a33(_0x4b372f,_0x10dfb9),{undos:_0x316231,redos:_0x50e412}=_0x2e72fc(_0xdd7559,{'pivotTableId':_0x2f443f,'unitId':_0x5009f5,'subUnitId':_0x5692fa},_0xb7864d);return _0x1e9f36['sequenceExecute']([..._0x57cbec[_0x35b860(0x14a)],..._0x3c72a4[_0x35b860(0x14a)],..._0x50e412],_0xdd7559),_0x2997f8[_0x35b860(0x33f)]({'unitID':_0x5009f5,'redoMutations':[..._0x57cbec[_0x35b860(0x14a)],..._0x3c72a4['redos'],..._0x50e412],'undoMutations':[..._0x57cbec[_0x35b860(0x226)],..._0x3c72a4[_0x35b860(0x226)],..._0x316231]}),!0x0;}},_0x38d80f={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':_0x40b749(0x199),'handler'(_0x1df1e1,_0x1168f7){const _0x427601=_0x40b749;if(!_0x1168f7)return!0x1;if(!!_0x1df1e1[_0x427601(0x218)](_0x1e9f36[_0x427601(0x383)])['getConfig'](_0x24b195))return!0x0;const _0x27c4a7=_0x1df1e1[_0x427601(0x218)](_0x141cd5[_0x427601(0xfb)]),{pivotTableId:_0x5dc19e,deleteIds:_0x2ccace,collectionJSON:_0x2dbc0e,dataRangeInfo:_0x395192,unitId:_0x174c66,subUnitId:_0x4b0d04}=_0x1168f7,_0x22af32=_0x27c4a7[_0x427601(0x22e)](_0x5dc19e),_0x3b02ac=_0x27c4a7[_0x427601(0x3d3)](_0x174c66,_0x4b0d04,_0x5dc19e);if(!_0x22af32||!_0x3b02ac)return!0x1;const {collection:_0x58ac57,updateDataFieldList:_0x249075}=_0x27c4a7[_0x427601(0x1fb)](_0x5dc19e,_0x2dbc0e,_0x395192,_0x3b02ac[_0x427601(0x3e7)]);_0x27c4a7[_0x427601(0x160)](_0x58ac57,_0x249075,_0x395192),_0x22af32[_0x427601(0x19d)](_0x58ac57);for(const _0x1cf658 of _0x2ccace)_0x27c4a7['removeDataField'](_0x395192[_0x427601(0x33b)],_0x1cf658);const _0x166b5b=_0x27c4a7[_0x427601(0x3d3)](_0x174c66,_0x4b0d04,_0x5dc19e);return _0x166b5b[_0x427601(0x129)]=JSON['parse'](JSON[_0x427601(0x168)](_0x395192)),_0x27c4a7['addDirtyPivotTable']({'unitId':_0x174c66,'subUnitId':_0x4b0d04,'token':_0x5dc19e,'type':_0x40d428[_0x427601(0x349)]}),!0x0;}},_0x159e09={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':_0x40b749(0x2a6),async 'handler'(_0x2bcd74,_0x782e47){const _0x50ea0d=_0x40b749,_0x9a986a=_0x2bcd74[_0x50ea0d(0x218)](_0x1e9f36['ICommandService']),_0x56a08e=_0x2bcd74['get'](_0x141cd5[_0x50ea0d(0x194)]),_0x4a4922=_0x2bcd74[_0x50ea0d(0x218)](_0x1e9f36[_0x50ea0d(0x3aa)]);if(!_0x782e47)return!0x1;const {token:_0x559428,dataRangeInfo:_0x20636a,unitId:_0x3fc7c6,subUnitId:_0x138bbb}=_0x782e47,_0x9d60b6=[],_0xf9b5b4=[],_0x1e55d5=(await _0x56a08e[_0x50ea0d(0x3b2)]({'unitId':_0x3fc7c6,'subUnitId':_0x138bbb,'pivotTableId':_0x559428,'params':{'type':_0x529957[_0x50ea0d(0x139)],'updatePivotSource':{'dataRangeInfo':_0x20636a,'unitId':_0x3fc7c6,'subUnitId':_0x138bbb}}}))[_0x50ea0d(0x353)][_0x50ea0d(0x29d)];if(!_0x1e55d5)return!0x1;const {changesets:_0x4dd468,deleteIds:_0x359414,collectionConfig:_0x341529,oldCollectionConfig:_0x59c5d2,view:_0x5a906c,isEmpty:_0x1c3f6e,pivotTableConfig:_0x265bdc}=_0x1e55d5;_0xf9b5b4[_0x50ea0d(0x189)]({'id':_0x38d80f['id'],'params':{'pivotTableId':_0x559428,'deleteIds':_0x359414,'collectionJSON':_0x341529,'dataRangeInfo':_0x20636a,'unitId':_0x3fc7c6,'subUnitId':_0x138bbb}}),_0x9d60b6['unshift']({'id':_0x38d80f['id'],'params':{'pivotTableId':_0x559428,'deleteIds':[],'collectionJSON':_0x59c5d2,'dataRangeInfo':_0x265bdc[_0x50ea0d(0x129)],'unitId':_0x3fc7c6,'subUnitId':_0x138bbb}});const _0x28b934=_0x265bdc[_0x50ea0d(0x3e7)],_0x56176d=new _0x5b2537['PivotView']();_0x56176d[_0x50ea0d(0x15f)](_0x5a906c);const _0x56cc40={'cellInfo':_0x28b934,'view':_0x56176d,'isEmpty':_0x1c3f6e};if(!await _0x2bcd74[_0x50ea0d(0x218)](_0x141cd5[_0x50ea0d(0x3a0)])[_0x50ea0d(0x384)]['fetchThroughAsyncInterceptors'](_0x3a1900)(!0x0,_0x56cc40))return!0x1;const _0x5f3305=_0x578edf(_0x2bcd74,_0x56176d,_0x28b934,_0x1c3f6e),_0x4711cd=_0x596a33(_0x2bcd74,_0x56cc40),{undos:_0x282752,redos:_0x3341eb}=_0x2e72fc(_0x9a986a,{'pivotTableId':_0x559428,'unitId':_0x3fc7c6,'subUnitId':_0x138bbb},_0x4dd468);return _0x1e9f36[_0x50ea0d(0x2a7)]([..._0x5f3305[_0x50ea0d(0x14a)],..._0x4711cd[_0x50ea0d(0x14a)],..._0xf9b5b4,..._0x282752],_0x9a986a),_0x4a4922[_0x50ea0d(0x33f)]({'unitID':_0x3fc7c6,'redoMutations':[..._0x5f3305[_0x50ea0d(0x14a)],..._0x4711cd[_0x50ea0d(0x14a)],..._0xf9b5b4,..._0x282752],'undoMutations':[..._0x5f3305[_0x50ea0d(0x226)],..._0x4711cd['undos'],..._0x9d60b6,..._0x3341eb]}),!0x0;}},_0x460746={'type':_0x1e9f36[_0x40b749(0x1aa)][_0x40b749(0x223)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x40bc0d,_0x4165ea){const _0x8b0fb=_0x40b749;if(!_0x4165ea)return!0x1;const _0x1be297=_0x40bc0d[_0x8b0fb(0x218)](_0x1e9f36[_0x8b0fb(0x3a6)]),_0xfb8516=_0x40bc0d[_0x8b0fb(0x218)](_0x141cd5[_0x8b0fb(0x194)]),_0x5f1b08=_0x40bc0d[_0x8b0fb(0x218)](_0x1e9f36['IUniverInstanceService']),_0x54e000=_0x40bc0d[_0x8b0fb(0x218)](_0x1e9f36[_0x8b0fb(0x3aa)]),{pivotTableId:_0x544635,position:_0x7d15de,index:_0xfda077}=_0x4165ea,_0x29d7ac=_0x18baff[_0x8b0fb(0x2e9)](_0x5f1b08);if(!_0x29d7ac)return!0x1;const {unitId:_0x435404,subUnitId:_0x38a35f}=_0x29d7ac,_0x5064f1=(await _0xfb8516[_0x8b0fb(0x3b2)]({'unitId':_0x435404,'subUnitId':_0x38a35f,'pivotTableId':_0x544635,'params':{'type':_0x529957[_0x8b0fb(0x25c)],'updateValuePosition':{'position':_0x7d15de,'index':_0xfda077}}}))[_0x8b0fb(0x353)][_0x8b0fb(0x162)];if(!_0x5064f1)return!0x1;const {changesets:_0x553c7f,view:_0xd9e26,isEmpty:_0x87ea83,pivotTableConfig:_0x4cd8d1}=_0x5064f1,_0x344e74=_0x4cd8d1[_0x8b0fb(0x3e7)],_0x1328fd=new _0x5b2537[(_0x8b0fb(0x10a))]();_0x1328fd[_0x8b0fb(0x15f)](_0xd9e26);const _0x14b53a=_0x40bc0d[_0x8b0fb(0x218)](_0x141cd5[_0x8b0fb(0x3a0)]),_0x5c29b3={'cellInfo':_0x344e74,'view':_0x1328fd,'isEmpty':_0x87ea83};if(!await _0x14b53a[_0x8b0fb(0x384)][_0x8b0fb(0x16f)](_0x3a1900)(!0x0,_0x5c29b3))return!0x1;const _0x5c83a4=_0x578edf(_0x40bc0d,_0x1328fd,_0x344e74,_0x87ea83),_0x56a560=_0x596a33(_0x40bc0d,_0x5c29b3),{undos:_0x2f814f,redos:_0x8ca3b7}=_0x2e72fc(_0x1be297,{'pivotTableId':_0x544635,'unitId':_0x435404,'subUnitId':_0x38a35f},_0x553c7f);return _0x1e9f36[_0x8b0fb(0x2a7)]([..._0x5c83a4[_0x8b0fb(0x14a)],..._0x56a560['redos'],..._0x8ca3b7],_0x1be297),_0x54e000[_0x8b0fb(0x33f)]({'unitID':_0x435404,'redoMutations':[..._0x5c83a4[_0x8b0fb(0x14a)],..._0x56a560[_0x8b0fb(0x14a)],..._0x8ca3b7],'undoMutations':[..._0x5c83a4[_0x8b0fb(0x226)],..._0x56a560[_0x8b0fb(0x226)],..._0x2f814f]}),!0x0;}},_0x35f475={'type':_0x1e9f36['CommandType'][_0x40b749(0x31a)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0xa78e8c=Object['getOwnPropertyDescriptor'],_0xfba7f8=(_0x1be5b8,_0x4167ff,_0xe23dc2,_0x2dd2b5)=>{const _0x23e44b=_0x40b749;for(var _0x444887=_0x2dd2b5>0x1?void 0x0:_0x2dd2b5?_0xa78e8c(_0x4167ff,_0xe23dc2):_0x4167ff,_0x4a83f=_0x1be5b8[_0x23e44b(0x10b)]-0x1,_0x1359d8;_0x4a83f>=0x0;_0x4a83f--)(_0x1359d8=_0x1be5b8[_0x4a83f])&&(_0x444887=_0x1359d8(_0x444887)||_0x444887);return _0x444887;},_0x43995e=(_0x118a0e,_0x3ace35)=>(_0x267f2c,_0x56025d)=>_0x3ace35(_0x267f2c,_0x56025d,_0x118a0e);const _0x23c072=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x20b8b3=(_0x4f502a,_0x159c2c,_0x199905)=>{const _0x116004=_0x40b749,_0x19b29d=_0x4f502a[_0x116004(0x3a8)];_0x4f502a['iterateFieldDim'](_0x22eb30=>{const _0x153854=_0x116004,_0x3f2fae=_0x22eb30[_0x153854(0x279)](),_0x7e5690=_0x22eb30[_0x153854(0x117)](),_0x330849=_0x22eb30[_0x153854(0x1a7)](),_0x7621d3=_0x22eb30[_0x153854(0x3fe)]();_0x159c2c[_0x7e5690]&&_0x159c2c[_0x7e5690]===_0x7621d3&&_0x330849===_0x7621d3&&(_0x4f502a['renameField'](_0x3f2fae,_0x19b29d[_0x153854(0x3fe)](_0x7e5690)),_0x22eb30[_0x153854(0x21a)](_0x19b29d[_0x153854(0x3fe)](_0x7e5690)));}),_0x4f502a[_0x116004(0x319)](_0x5b2537[_0x116004(0x356)]['Value'],_0x77a12a=>{const _0x271550=_0x116004,_0x59be8b=_0x77a12a[_0x271550(0x279)](),_0x4c290c=_0x77a12a[_0x271550(0x117)](),_0x389c7e=_0x77a12a[_0x271550(0x1a7)](),_0x415e2d=_0x77a12a[_0x271550(0x3fe)](),_0x613d91=_0x77a12a[_0x271550(0x1ea)](),_0x9f630f=_0x199905(_0x389c7e,_0x613d91);_0x159c2c[_0x4c290c]&&_0x159c2c[_0x4c290c]===_0x389c7e&&_0x9f630f===_0x415e2d&&(_0x4f502a[_0x271550(0x339)](_0x59be8b,_0x199905(_0x19b29d[_0x271550(0x3fe)](_0x4c290c),_0x613d91)),_0x77a12a[_0x271550(0x21a)](_0x19b29d['getDisplayName'](_0x4c290c)));});},_0x362c17=(_0x95969f,_0x57b524,_0x314567)=>{const _0x2c1083=_0x40b749;var _0x275d22,_0x7da8a1;const {arrayFormulaCellData:_0x539212,unitData:_0x51e0f3}=_0x57b524,{unitId:_0x155d35,subUnitId:_0x35c023}=_0x314567,_0xf9291e=_0x314567[_0x2c1083(0x2fe)],{startColumn:_0x13bf12,endColumn:_0x35616e}=_0xf9291e,_0x127105=(_0x275d22=_0x539212==null?void 0x0:_0x539212[_0x155d35])==null?void 0x0:_0x275d22[_0x35c023],_0x4eed98=(_0x7da8a1=_0x51e0f3==null?void 0x0:_0x51e0f3[_0x155d35])==null?void 0x0:_0x7da8a1[_0x35c023],_0x15c461=new Set(),_0x3044e8=_0x35616e-_0x13bf12+0x1,{dirtyRanges:_0x50c475}=_0x95969f;if(_0x50c475)for(const {range:_0x4e1be6,sheetId:_0x312755,unitId:_0x13d3a8}of _0x50c475){if(_0x312755!==_0x35c023||_0x155d35!==_0x13d3a8)continue;const _0x2e7c7c=_0x1e9f36[_0x2c1083(0x1e1)][_0x2c1083(0x390)](_0x4e1be6,_0xf9291e);if(_0x2e7c7c){const {startColumn:_0x55ad59,endColumn:_0x462abd}=_0x2e7c7c;for(let _0x3c5364=_0x55ad59;_0x3c5364<=_0x462abd;_0x3c5364++)_0x15c461[_0x2c1083(0x10f)](_0x3c5364);}}if(_0x15c461[_0x2c1083(0x3fb)]===_0x3044e8||_0x15c461['size']===_0x3044e8)return Array[_0x2c1083(0x2a1)](_0x15c461);if(_0x4eed98){const _0x28154f=_0x4eed98['getMatrix'](),_0x2145df=Object['keys'](_0x28154f);for(const _0x3b9c0c of _0x2145df){const _0x50e14b=Number(_0x3b9c0c),_0x225629=_0x28154f[_0x50e14b];if(_0x15c461[_0x2c1083(0x3fb)]===_0x3044e8)break;for(const _0x98eb22 in _0x225629){const _0x5eb38e=Number(_0x98eb22);_0x5eb38e<_0x13bf12||_0x5eb38e>_0x35616e||_0x15c461[_0x2c1083(0x10f)](_0x5eb38e);}}}if(_0x127105){const _0x1d2e24=_0x127105[_0x2c1083(0x18c)](),_0x3fb2e9=Object[_0x2c1083(0x291)](_0x1d2e24);for(const _0x56f94b of _0x3fb2e9){const _0x1562ca=Number(_0x56f94b),_0x36a641=_0x1d2e24[_0x1562ca];if(_0x15c461[_0x2c1083(0x3fb)]===_0x3044e8)break;for(const _0x128a68 in _0x36a641){const _0x295549=Number(_0x128a68);_0x295549<_0x13bf12||_0x295549>_0x35616e||_0x15c461['add'](_0x295549);}}}return Array[_0x2c1083(0x2a1)](_0x15c461);},_0x1af85d=_0x1c0a29=>{const _0x250a30=_0x40b749,_0x109ea6=new Set(),_0x18422d=[];for(const _0x4e1c4c of _0x1c0a29){const _0x5da0f2=_0x4e1c4c['startRow']+','+_0x4e1c4c['endRow']+','+_0x4e1c4c[_0x250a30(0x2c0)]+','+_0x4e1c4c['endColumn'];_0x109ea6[_0x250a30(0x109)](_0x5da0f2)||(_0x109ea6['add'](_0x5da0f2),_0x18422d[_0x250a30(0x189)](_0x4e1c4c));}return _0x18422d;};let _0x344543=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x4cc4ef,_0x300455,_0x302766,_0x45410c,_0x434aca){const _0x3b3328=_0x40b749;super(),_0x3eeb3c(this,_0x3b3328(0x1fc),new _0x3ac110[(_0x3b3328(0x2f0))](!0x0)),_0x3eeb3c(this,'_globalComputedStartHelpFunc',_0x54c3b9=>{const _0x2ff1db=_0x3b3328;this[_0x2ff1db(0x1fc)][_0x2ff1db(0x150)](!0x1);}),_0x3eeb3c(this,'_globalComputedEndHelpFunc',_0x5c62b1=>{this['_globalSubject']['next'](!0x0);}),(this[_0x3b3328(0x2b0)]=_0x4cc4ef,this[_0x3b3328(0x297)]=_0x300455,this[_0x3b3328(0x25e)]=_0x302766,this['_globalComputingSrv']=_0x45410c,this[_0x3b3328(0x373)]=_0x434aca,this[_0x3b3328(0x329)](),this[_0x3b3328(0x28f)]());}['_init'](){const _0x601802=_0x40b749;this['_subjectCollectionChange'](),this[_0x601802(0x247)](),this[_0x601802(0x268)](),this[_0x601802(0x15d)]();}['_initGlobalComputed'](){const _0x328f24=_0x40b749;this[_0x328f24(0x3d1)][_0x328f24(0x15e)](this[_0x328f24(0x1fc)]),_0x5b2537[_0x328f24(0x3de)][_0x328f24(0x211)](_0x5b2537[_0x328f24(0x187)]['onQueryStart'],this[_0x328f24(0x3e5)]),_0x5b2537[_0x328f24(0x3de)][_0x328f24(0x211)](_0x5b2537['PivotCallbackEnum']['onQueryEnd'],this[_0x328f24(0x1a5)]);}[_0x40b749(0x28f)](){const _0x185cef=_0x40b749;this[_0x185cef(0x1fa)](this['_commandService']['onCommandExecuted'](_0x5894a2=>{const _0x80897d=_0x185cef;_0x5894a2['id']===_0x18baff[_0x80897d(0xfd)]['id']&&this[_0x80897d(0x2b0)][_0x80897d(0x21b)](_0x5894a2['params']);})),this[_0x185cef(0x1fa)](this[_0x185cef(0x25e)][_0x185cef(0x40e)](_0x2f82ec=>{const _0x406f75=_0x185cef;if(_0x2f82ec['id']!==_0x558d37['id'])return;const _0x20c092=_0x2f82ec[_0x406f75(0x3db)],{unitId:_0x72c265,subUnitId:_0x24d2a4,pivotTableId:_0x259573}=_0x20c092,_0x156719=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x3a5)],_0x240608={};switch(_0x156719){case _0x529957[_0x406f75(0x202)]:{const _0x4060f7=_0x20c092[_0x406f75(0x3db)]['filter'];if(!_0x4060f7)return;const {row:_0x407d95,col:_0xa9e6f7,cellData:_0x2d49cb,pivotItemRenderInfoCache:_0x16fcb7,tableFieldId:_0x21c31b}=_0x4060f7,_0x10cfd4=this['_sheetsPivotDataSourceModel'][_0x406f75(0x22e)](_0x20c092['pivotTableId']);if(!_0x10cfd4||!_0x16fcb7)return;if(_0x21c31b){const _0x5e4062=_0x10cfd4['getDataFieldByTableId'](_0x21c31b);if(!_0x5e4062)return;_0x240608[_0x406f75(0x3cd)]={..._0x10cfd4['getDataFieldItemInfo'](_0x5e4062),'tableFieldId':_0x21c31b,'pivotTableId':_0x20c092[_0x406f75(0x2bf)],'filterInfo':_0x10cfd4[_0x406f75(0x283)](_0x21c31b),'sortInfo':_0x10cfd4[_0x406f75(0x20b)](_0x21c31b),'format':_0x10cfd4[_0x406f75(0x405)](_0x21c31b)};}else{const _0x143503=_0x49e27a(_0x407d95,_0xa9e6f7,_0x2d49cb,_0x10cfd4,_0x16fcb7),_0x1ba33a=_0x143503==null?void 0x0:_0x143503['filterId'];if(!_0x1ba33a)return;const _0x1e539d=_0x10cfd4[_0x406f75(0x37e)](_0x1ba33a);if(!_0x1e539d)return;_0x240608[_0x406f75(0x3cd)]={..._0x10cfd4[_0x406f75(0x3f3)](_0x1e539d),'tableFieldId':_0x1ba33a,'pivotTableId':_0x20c092[_0x406f75(0x2bf)],'filterInfo':_0x10cfd4[_0x406f75(0x283)](_0x1ba33a),'sortInfo':_0x10cfd4[_0x406f75(0x20b)](_0x1ba33a),'format':_0x10cfd4[_0x406f75(0x405)](_0x1ba33a)};}}break;case _0x529957[_0x406f75(0x1b7)]:{const _0x25df45=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x33c)];if(!_0x25df45)return;const {pivotTableId:_0x419e24}=_0x25df45,_0x3a26a6=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x419e24);if(!_0x3a26a6)return;const _0x121dec=this['_sheetsPivotDataSourceModel'][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x419e24),_0x10181e=_0x24ba78(_0x3a26a6,_0x419e24,_0x121dec);_0x240608[_0x406f75(0x33c)]=_0x10181e;}break;case _0x529957[_0x406f75(0x3a7)]:{const _0x29ad0a=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573),_0x39b533=this[_0x406f75(0x2b0)][_0x406f75(0x2ab)](_0x72c265),_0x3bc43d=_0x39b533['getCollection'](_0x259573);let _0xa39347=null;const _0x24f33d=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573),_0x48fd5c=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x2e1)];if(!_0x29ad0a||!_0x24f33d||!_0x48fd5c)return!0x1;const {dataFieldId:_0x347025,fieldArea:_0x3db478,index:_0xf57f8c}=_0x48fd5c;_0x29ad0a[_0x406f75(0x19c)]();const _0x3ebe97=_0x29ad0a[_0x406f75(0x234)](_0x347025,_0x3db478,_0xf57f8c);if(_0x3ebe97&&_0x3db478===_0x5b2537['PivotTableFiledAreaEnum'][_0x406f75(0x1c8)]){const _0x3ec627=_0x3ebe97[_0x406f75(0x279)](),_0x47971f=_0x29ad0a[_0x406f75(0x37e)](_0x3ec627);if(_0x47971f){const _0x3638c1=_0x47971f==null?void 0x0:_0x47971f[_0x406f75(0x292)]();_0x29ad0a[_0x406f75(0x1cf)](_0x3ebe97[_0x406f75(0x279)](),_0x3638c1===_0x5b2537['PivotDataFieldDataTypeEnum'][_0x406f75(0x14b)]?_0x5b2537[_0x406f75(0x294)][_0x406f75(0x3bb)]:_0x5b2537[_0x406f75(0x294)]['count']);}const _0x4002c3=_0x29ad0a['getValueIndex'](),_0x43e421=_0x29ad0a['getValuePosition'](),_0x1168ac=_0x29ad0a[_0x406f75(0x265)](_0x5b2537['PivotTableFiledAreaEnum'][_0x406f75(0x1c8)]);if(_0x4002c3===-0x1&&_0x1168ac>0x1){const _0x16e51a=_0x43e421===_0x5b2537[_0x406f75(0x331)][_0x406f75(0x1c1)]?_0x5b2537['PivotTableValuePositionEnum']['Column']:_0x43e421,_0x3bd668=_0x16e51a===_0x5b2537[_0x406f75(0x331)]['Row']?_0x5b2537[_0x406f75(0x356)][_0x406f75(0x314)]:_0x5b2537[_0x406f75(0x356)][_0x406f75(0x3c2)];_0x29ad0a[_0x406f75(0x162)](_0x16e51a,_0x29ad0a[_0x406f75(0x265)](_0x3bd668));}}else{if(_0x3ebe97&&(_0x3db478===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x314)]||_0x3db478===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x3c2)])){const _0x180b4e=_0x3ebe97[_0x406f75(0x279)](),_0x371e0d=_0x29ad0a[_0x406f75(0x37e)](_0x180b4e);if(_0x371e0d&&(_0x371e0d==null?void 0x0:_0x371e0d['getFieldDataType']())===_0x5b2537['PivotDataFieldDataTypeEnum'][_0x406f75(0x2e2)]){const _0x389754=_0x371e0d['getformat']();if(_0x389754&&_0x29ad0a[_0x406f75(0x1d1)](_0x3ebe97[_0x406f75(0x279)](),_0x389754),!_0x3bc43d['getFieldIds']()[_0x406f75(0x266)](_0x11e326=>{const _0x248b95=_0x406f75,_0xe4265=_0x3bc43d[_0x248b95(0x3e2)](_0x11e326);return _0x5b2537[_0x248b95(0x102)](_0xe4265)?_0xe4265[_0x248b95(0x1ae)]()[_0x248b95(0x1e6)]===_0x347025:!0x1;})){const _0x30da31=_0x39b533[_0x406f75(0x404)](),_0x157a07=_0x5949d6(_0x371e0d[_0x406f75(0x1b8)],_0x371e0d[_0x406f75(0x17c)]),_0x34f15f=_0x371e0d['getName']()+_0x406f75(0x412)+_0xcbef7e(this[_0x406f75(0x373)],_0x157a07),_0xbe5493=new _0x5b2537[(_0x406f75(0x169))](_0x30da31,_0x34f15f,_0x5b2537[_0x406f75(0x406)](0x3),_0x371e0d[_0x406f75(0x279)](),_0x157a07);_0x39b533[_0x406f75(0x410)](_0xbe5493),_0x3bc43d[_0x406f75(0x3d8)](_0x30da31,_0x34f15f),_0x29ad0a[_0x406f75(0x234)](_0x30da31,_0x3db478,(_0xf57f8c!=null?_0xf57f8c:0x0)+0x1),_0xa39347=_0xbe5493;}}}}const _0x352df5=_0x29ad0a[_0x406f75(0x1ee)](),_0x5cca=_0x29ad0a['query']()[_0x406f75(0x3ab)]();let _0x3c9f42;if(_0xa39347){_0x3c9f42=_0xa39347['toJSON']();const _0x9f0f99=_0xa39347[_0x406f75(0x279)]();_0x3bc43d[_0x406f75(0x1cd)](_0x9f0f99);let _0x4420ad=!0x0;for(const _0x22c058 in _0x39b533[_0x406f75(0x274)])if(_0x39b533[_0x406f75(0x274)][_0x22c058]['getFieldIds']()[_0x406f75(0x20d)](_0x9f0f99)){_0x4420ad=!0x1;break;}_0x4420ad&&_0x39b533[_0x406f75(0x333)](_0x9f0f99);}const _0x1d3bb0=_0x29ad0a['endCollectChangeset']();_0x240608[_0x406f75(0x2e1)]={'view':_0x5cca,'changesets':_0x1d3bb0,'isEmpty':_0x352df5,'pivotTableConfig':_0x24f33d,'shouldBeAddedGroupJSON':_0x3c9f42};}break;case _0x529957[_0x406f75(0x3ad)]:{const _0x55ce55=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x332)];if(!_0x55ce55)return;const _0x256e25=_0x55ce55['sourceRangeInfo'],_0x384c0e=_0x55ce55[_0x406f75(0x2bf)],{collection:_0x13dd61}=this[_0x406f75(0x2b0)][_0x406f75(0x192)]({'unitId':_0x256e25[_0x406f75(0x33b)],'sheetName':_0x256e25[_0x406f75(0x224)],'subUnitId':_0x256e25[_0x406f75(0x399)],'range':_0x256e25[_0x406f75(0x2fe)]}),_0x25f484=new _0x5b2537['PivotTable'](_0x13dd61,void 0x0,_0x384c0e),_0x548919=_0x25f484[_0x406f75(0x1d8)](),_0x3bc0ec=_0x25f484[_0x406f75(0x3ab)](),_0x5eba3f=_0x13dd61[_0x406f75(0x3ab)]();_0x240608[_0x406f75(0x332)]={'view':_0x548919,'fieldsConfig':_0x3bc0ec,'collectionConfig':_0x5eba3f,'isEmpty':_0x25f484[_0x406f75(0x1ee)]()};}break;case _0x529957[_0x406f75(0x39d)]:{const _0x53376e=_0x20c092['params'][_0x406f75(0x13a)];if(!_0x53376e)return;const {fieldId:_0x31fbab,area:_0x2ea3c1,index:_0x1459d5}=_0x53376e,_0x356028=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x356028)return;const _0x264a94=this[_0x406f75(0x2b0)]['getPivotTableInstance'](_0x259573);if(!_0x264a94)return;_0x264a94['startCollectChangeset']();const {area:_0x577c10,index:_0x9aef3c}=_0x264a94[_0x406f75(0x14f)](_0x31fbab);if(_0x264a94[_0x406f75(0x159)](_0x31fbab,_0x2ea3c1,_0x1459d5),_0x2ea3c1===_0x5b2537['PivotTableFiledAreaEnum']['Value']&&_0x264a94[_0x406f75(0x411)](_0x31fbab)[_0x406f75(0x1ea)]()===void 0x0){const _0x3d8caa=_0x264a94[_0x406f75(0x411)](_0x31fbab);if(_0x3d8caa&&_0x3d8caa[_0x406f75(0x1ea)]()===void 0x0){const _0x41cf43=_0x264a94[_0x406f75(0x37e)](_0x31fbab);if(_0x41cf43){const _0x5a17f8=_0x41cf43==null?void 0x0:_0x41cf43[_0x406f75(0x292)]();_0x264a94[_0x406f75(0x1cf)](_0x31fbab,_0x5a17f8===_0x5b2537[_0x406f75(0x388)][_0x406f75(0x14b)]?_0x5b2537[_0x406f75(0x294)][_0x406f75(0x3bb)]:_0x5b2537[_0x406f75(0x294)]['count']);}}}const _0x7055a6=_0x264a94[_0x406f75(0x1c9)](),_0x14fa08=_0x264a94['getValueIndex'](),_0x365f57=_0x264a94[_0x406f75(0x265)](_0x5b2537[_0x406f75(0x356)][_0x406f75(0x1c8)])>0x1;if(_0x365f57&&_0x577c10===_0x2ea3c1&&(_0x2ea3c1===_0x5b2537[_0x406f75(0x356)]['Row']&&_0x7055a6===_0x5b2537['PivotTableValuePositionEnum']['Row']||_0x2ea3c1===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x3c2)]&&_0x7055a6===_0x5b2537[_0x406f75(0x331)][_0x406f75(0x3c2)])){let _0x3d255c=_0x14fa08;_0x9aef3c<=_0x14fa08&&_0x3d255c--,_0x1459d5<=_0x14fa08&&_0x3d255c++,_0x264a94[_0x406f75(0x162)](_0x7055a6,_0x3d255c);}else _0x365f57&&(_0x577c10===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x314)]&&_0x7055a6===_0x5b2537[_0x406f75(0x331)][_0x406f75(0x314)]||_0x577c10===_0x5b2537['PivotTableFiledAreaEnum'][_0x406f75(0x3c2)]&&_0x7055a6===_0x5b2537[_0x406f75(0x331)]['Column'])&&_0x14fa08>=_0x9aef3c&&_0x264a94[_0x406f75(0x162)](_0x7055a6,_0x14fa08-0x1),_0x365f57&&(_0x2ea3c1===_0x5b2537['PivotTableFiledAreaEnum'][_0x406f75(0x314)]&&_0x7055a6===_0x5b2537[_0x406f75(0x331)][_0x406f75(0x314)]||_0x2ea3c1===_0x5b2537[_0x406f75(0x356)]['Column']&&_0x7055a6===_0x5b2537['PivotTableValuePositionEnum'][_0x406f75(0x3c2)])&&_0x14fa08>=_0x1459d5&&_0x264a94['updateValuePosition'](_0x7055a6,_0x14fa08+0x1);const _0x59accf=_0x264a94[_0x406f75(0x1d8)](),_0x4f714e=_0x264a94['isEmpty'](),_0x3028cf=_0x264a94[_0x406f75(0x1a4)]();_0x240608[_0x406f75(0x13a)]={'view':_0x59accf['toJSON'](),'changesets':_0x3028cf,'isEmpty':_0x4f714e,'pivotTableConfig':_0x356028};}break;case _0x529957[_0x406f75(0x1e4)]:{const _0x185940=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x220)];if(!_0x185940)return;const _0x4f2242=_0x185940['fieldIds'],_0x552102=this[_0x406f75(0x2b0)]['getPivotTableConfig'](_0x72c265,_0x24d2a4,_0x259573);if(!_0x552102)return!0x1;const _0x346974=this['_sheetsPivotDataSourceModel'][_0x406f75(0x22e)](_0x259573);if(!_0x346974)return!0x1;_0x346974['startCollectChangeset']();for(const _0x342166 of _0x4f2242){const {area:_0x3f840c}=_0x346974[_0x406f75(0x14f)](_0x342166);_0x3f840c===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x1c8)]&&_0x346974[_0x406f75(0x402)](_0x342166),(_0x3f840c===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x314)]||_0x3f840c===_0x5b2537[_0x406f75(0x356)][_0x406f75(0x3c2)])&&_0x346974['removeValueFilterInfo'](_0x342166),_0x346974[_0x406f75(0xff)](_0x342166);}const _0x2b5fb4=_0x346974[_0x406f75(0x1ee)](),_0xcc11dc=_0x346974['query']()['toJSON'](),_0x4f51e4=_0x346974['endCollectChangeset']();_0x240608[_0x406f75(0x220)]={'changesets':_0x4f51e4,'pivotTableConfig':_0x552102,'isEmpty':_0x2b5fb4,'view':_0xcc11dc};}break;case _0x529957[_0x406f75(0x240)]:{const _0x20cea3=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x18e)];if(!_0x20cea3)return;const {tableFieldId:_0x1e5e9d,items:_0x7d4d44,isAll:_0x4a8070}=_0x20cea3,_0x4c76a0=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573),_0x3fe962=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x4c76a0||!_0x3fe962)return;_0x4c76a0['startCollectChangeset'](),_0x4c76a0[_0x406f75(0x243)](_0x1e5e9d,{'type':_0x5b2537[_0x406f75(0x38b)][_0x406f75(0x222)],'list':_0x7d4d44,'isAll':_0x4a8070});const _0x2180af=_0x4c76a0[_0x406f75(0x1ee)](),_0x469fc1=_0x4c76a0[_0x406f75(0x1d8)]()['toJSON'](),_0x439461=_0x4c76a0[_0x406f75(0x1a4)]();_0x240608[_0x406f75(0x18e)]={'view':_0x469fc1,'changesets':_0x439461,'isEmpty':_0x2180af,'pivotTableConfig':_0x3fe962};}break;case _0x529957[_0x406f75(0x24f)]:{const _0x2481c6=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x361)];if(!_0x2481c6)return;const {tableFieldId:_0x39e217,filterInfo:_0xbd202}=_0x2481c6,_0x14bcb4=this[_0x406f75(0x2b0)]['getPivotTableInstance'](_0x259573),_0x5564ec=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x14bcb4||!_0x5564ec)return;_0x14bcb4['startCollectChangeset'](),_0x14bcb4[_0x406f75(0x40b)](_0x39e217,_0xbd202);const _0x43a5b0=_0x14bcb4[_0x406f75(0x1ee)](),_0x4009f0=_0x14bcb4[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x21dda8=_0x14bcb4[_0x406f75(0x1a4)]();_0x240608[_0x406f75(0x361)]={'view':_0x4009f0,'changesets':_0x21dda8,'isEmpty':_0x43a5b0,'pivotTableConfig':_0x5564ec};}break;case _0x529957[_0x406f75(0x13d)]:{const _0x2a24f0=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x3e4)];if(!_0x2a24f0)return;const {tableFieldId:_0x5e9070,info:_0x487551}=_0x2a24f0,_0x2278d6=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573),_0x26b3c0=this['_sheetsPivotDataSourceModel'][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x2278d6||!_0x26b3c0)return;_0x2278d6[_0x406f75(0x19c)](),_0x2278d6[_0x406f75(0x394)](_0x5e9070,_0x487551);const _0x3d92a6=_0x2278d6[_0x406f75(0x1ee)](),_0x5377da=_0x2278d6[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x11b51c=_0x2278d6['endCollectChangeset']();_0x240608[_0x406f75(0x3e4)]={'view':_0x5377da,'changesets':_0x11b51c,'isEmpty':_0x3d92a6,'pivotTableConfig':_0x26b3c0};}break;case _0x529957[_0x406f75(0x188)]:{const _0x54a51c=_0x20c092[_0x406f75(0x3db)]['setPivotSetting'];if(!_0x54a51c)return;const {tableFieldId:_0x2cea25,displayName:_0x39075,subtotalType:_0x9e931,format:_0x41e4ec}=_0x54a51c,_0x436039=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573),_0x302257=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x436039||!_0x302257)return;_0x436039[_0x406f75(0x19c)](),_0x39075!==void 0x0&&_0x436039[_0x406f75(0x339)](_0x2cea25,_0x39075),_0x9e931!==void 0x0&&_0x436039[_0x406f75(0x1cf)](_0x2cea25,_0x9e931),_0x41e4ec!==void 0x0&&_0x436039['setFieldFormat'](_0x2cea25,_0x41e4ec);const _0x196567=_0x436039[_0x406f75(0x1ee)](),_0x1c9b25=_0x436039[_0x406f75(0x1d8)]()['toJSON'](),_0x2618ce=_0x436039['endCollectChangeset']();_0x240608[_0x406f75(0x172)]={'changesets':_0x2618ce,'pivotTableConfig':_0x302257,'isEmpty':_0x196567,'view':_0x1c9b25};}break;case _0x529957['UpdatePivotSource']:{const _0x3e61b9=_0x20c092[_0x406f75(0x3db)][_0x406f75(0x29d)];if(!_0x3e61b9)return;const {dataRangeInfo:_0x19caa4,unitId:_0x555b43,subUnitId:_0xe1506c}=_0x3e61b9,_0x115577=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x555b43,_0xe1506c,_0x259573),_0x390590=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573);if(!this[_0x406f75(0x2b0)][_0x406f75(0x16e)](_0x555b43,_0x259573)||!_0x390590||!_0x115577)return;const _0x2de68f=this[_0x406f75(0x2b0)][_0x406f75(0x131)](_0x555b43,_0x259573,_0x19caa4),_0x2438ec=this[_0x406f75(0x2b0)]['getCollection'](_0x555b43,_0x259573)[_0x406f75(0x3ab)](),{collection:_0x7266f9}=this[_0x406f75(0x2b0)][_0x406f75(0x192)]({'unitId':_0x19caa4[_0x406f75(0x33b)],'sheetName':_0x19caa4[_0x406f75(0x224)],'subUnitId':_0x19caa4[_0x406f75(0x399)],'range':_0x19caa4['range']}),_0x341fca=_0x7266f9[_0x406f75(0x3ab)]();_0x390590[_0x406f75(0x19c)]();const _0x4d5e8b=this[_0x406f75(0x2b0)]['getDataFieldManager'](_0x555b43)[_0x406f75(0x328)]()||_0x5b2537['getAutoDisplayName'];_0x390590[_0x406f75(0x30e)](_0x2ec9bf=>{const _0x981af=_0x406f75,_0x2625eb=_0x2ec9bf['getDataFieldId']();if(!_0x7266f9[_0x981af(0x19f)](_0x2625eb)){const _0x8b6c5d=_0x7266f9['getDataFieldBySourceName'](_0x2ec9bf[_0x981af(0x1a7)]());if(_0x8b6c5d){_0x390590[_0x981af(0x2f8)](_0x2ec9bf[_0x981af(0x279)](),_0x8b6c5d[_0x981af(0x23c)](),_0x8b6c5d[_0x981af(0x279)]());const {area:_0x2f298d}=_0x390590['getFieldPositionInfoById'](_0x2ec9bf[_0x981af(0x279)]());let _0x3f3bd0=_0x2ec9bf[_0x981af(0x1a7)]();const _0x240384=_0x2ec9bf[_0x981af(0x3fe)]();if(_0x2f298d===_0x5b2537['PivotTableFiledAreaEnum'][_0x981af(0x1c8)]){const _0x3fc30a=_0x2ec9bf['getSubtotal']();_0x3f3bd0=_0x4d5e8b(_0x8b6c5d[_0x981af(0x23c)](),_0x3fc30a);}_0x240384!==_0x3f3bd0&&_0x390590[_0x981af(0x339)](_0x2ec9bf[_0x981af(0x279)](),_0x3f3bd0);}else _0x390590[_0x981af(0xff)](_0x2ec9bf[_0x981af(0x279)]());}});const _0x103660=_0x390590[_0x406f75(0x1ee)](),_0x3ee2b7=_0x390590[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x13b72e=_0x390590[_0x406f75(0x1a4)]();_0x240608[_0x406f75(0x29d)]={'view':_0x3ee2b7,'changesets':_0x13b72e,'isEmpty':_0x103660,'pivotTableConfig':_0x115577,'collectionConfig':_0x341fca,'oldCollectionConfig':_0x2438ec,'deleteIds':_0x2de68f};}break;case _0x529957[_0x406f75(0x25c)]:{const _0xa75b41=_0x20c092[_0x406f75(0x3db)]['updateValuePosition'];if(!_0xa75b41)return;const {position:_0x36581c,index:_0x5a4b78}=_0xa75b41,_0x4fffc9=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x4fffc9)return!0x1;const _0x144a38=this['_sheetsPivotDataSourceModel'][_0x406f75(0x22e)](_0x259573);if(!_0x144a38)return!0x1;_0x144a38[_0x406f75(0x19c)](),_0x144a38[_0x406f75(0x162)](_0x36581c,_0x5a4b78);const _0x31e94c=_0x144a38[_0x406f75(0x1ee)](),_0xb13226=_0x144a38[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x2330d8=_0x144a38[_0x406f75(0x1a4)]();_0x240608[_0x406f75(0x162)]={'changesets':_0x2330d8,'pivotTableConfig':_0x4fffc9,'isEmpty':_0x31e94c,'view':_0xb13226};}break;case _0x529957[_0x406f75(0x155)]:{const _0x236a68=_0x20c092[_0x406f75(0x3db)]['setPivotCollapse'];if(!_0x236a68)return;const {tableFieldId:_0x1d396c,collapse:_0x1d13b8,item:_0x4524db}=_0x236a68,_0x4c003a=this['_sheetsPivotDataSourceModel'][_0x406f75(0x22e)](_0x259573),_0x341558=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x4c003a||!_0x341558)return;_0x4c003a[_0x406f75(0x19c)](),_0x4c003a['setCollapse'](_0x1d396c,_0x1d13b8,_0x4524db);const _0x11ae77=_0x4c003a[_0x406f75(0x1ee)](),_0x5c8e00=_0x4c003a[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x22f972=_0x4c003a['endCollectChangeset']();_0x240608['setPivotCollapse']={'view':_0x5c8e00,'isEmpty':_0x11ae77,'pivotTableConfig':_0x341558,'changesets':_0x22f972};}break;case _0x529957[_0x406f75(0x1ab)]:{const _0x6810d9=_0x20c092['params']['setPivotTableConfig'];if(!_0x6810d9)return;const {pivotTableConfig:_0x391aaa}=_0x6810d9,_0x521bf8=this[_0x406f75(0x2b0)][_0x406f75(0x22e)](_0x259573),_0x4a41fc=this[_0x406f75(0x2b0)]['getPivotTableConfig'](_0x72c265,_0x24d2a4,_0x259573);if(!_0x521bf8||!_0x4a41fc)return;_0x521bf8[_0x406f75(0x19c)](),_0xbd3694(_0x521bf8,_0x391aaa);const _0x376f27=_0x521bf8[_0x406f75(0x1ee)](),_0x5697f4=_0x521bf8[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x1b4ff0=_0x521bf8[_0x406f75(0x1a4)]();_0x240608['setPivotTableConfig']={'view':_0x5697f4,'isEmpty':_0x376f27,'pivotTableConfig':{..._0x4a41fc,'fieldsConfig':_0x521bf8['toJSON']()},'changesets':_0x1b4ff0};}break;case _0x529957[_0x406f75(0x29e)]:{const _0x2f5441=_0x20c092['params']['resetPivotTable'];if(!_0x2f5441)return;const _0x304f78=this[_0x406f75(0x2b0)]['getPivotTableInstance'](_0x259573),_0x1ad090=this[_0x406f75(0x2b0)][_0x406f75(0x3d3)](_0x72c265,_0x24d2a4,_0x259573);if(!_0x304f78||!_0x1ad090)return;_0x304f78['startCollectChangeset'](),_0x2b2aeb(_0x304f78,_0x2f5441['resetArea']);const _0x7ce5b1=_0x304f78[_0x406f75(0x1d8)]()[_0x406f75(0x3ab)](),_0x2161ca=_0x304f78['endCollectChangeset']();_0x240608[_0x406f75(0x1a1)]={'view':_0x7ce5b1,'isEmpty':!0x0,'pivotTableConfig':{..._0x1ad090,'fieldsConfig':_0x304f78[_0x406f75(0x3ab)]()},'changesets':_0x2161ca};}break;case _0x529957[_0x406f75(0x32d)]:{const _0x1580ab=_0x20c092['params'][_0x406f75(0x1d3)];if(!_0x1580ab)return;const _0x474441=_0x1580ab['sourceRangeInfo'],_0x19bdbf=_0x1580ab[_0x406f75(0x2bf)],{collection:_0x34d7a7}=this[_0x406f75(0x2b0)]['createCollectionWithDataRange']({'unitId':_0x474441[_0x406f75(0x33b)],'sheetName':_0x474441[_0x406f75(0x224)],'subUnitId':_0x474441['subUnitId'],'range':_0x474441[_0x406f75(0x2fe)]}),_0x3ecda9=new _0x5b2537[(_0x406f75(0x3de))](_0x34d7a7,void 0x0,_0x19bdbf),_0x582a1c=_0x34d7a7['getFieldIds'](),{rows:_0x5e01c4,columns:_0x4703b0,filters:_0x45d708,values:_0x393832}=_0x1580ab[_0x406f75(0x21e)];_0x3ecda9[_0x406f75(0x19c)]();for(const {field:_0x3ffa09,selectedItems:_0x145335}of _0x5e01c4||[]){const _0x9dad00=_0x582a1c[_0x3ffa09];if(_0x9dad00){const _0x523270=_0x3ecda9[_0x406f75(0x234)](_0x9dad00,_0x5b2537['PivotTableFiledAreaEnum'][_0x406f75(0x314)]);_0x145335&&_0x523270&&_0x3ecda9[_0x406f75(0x243)](_0x523270[_0x406f75(0x279)](),{'type':_0x5b2537[_0x406f75(0x38b)]['ManualFilter'],'list':_0x145335,'isAll':!0x1});}}for(const {field:_0x8240b8,selectedItems:_0x3abf7a}of _0x4703b0||[]){const _0x52d8b4=_0x582a1c[_0x8240b8];if(_0x52d8b4){const _0x50d7f5=_0x3ecda9[_0x406f75(0x234)](_0x52d8b4,_0x5b2537[_0x406f75(0x356)][_0x406f75(0x3c2)]);_0x3abf7a&&_0x50d7f5&&_0x3ecda9[_0x406f75(0x243)](_0x50d7f5[_0x406f75(0x279)](),{'type':_0x5b2537['PivotFilterTypeEnum'][_0x406f75(0x222)],'list':_0x3abf7a,'isAll':!0x1});}}for(const {field:_0x4c63c2,selectedItems:_0x2c207c}of _0x45d708||[]){const _0x1a6557=_0x582a1c[_0x4c63c2];if(_0x1a6557){const _0x4a3c0b=_0x3ecda9[_0x406f75(0x234)](_0x1a6557,_0x5b2537[_0x406f75(0x356)]['Filter']);_0x2c207c&&_0x4a3c0b&&_0x3ecda9[_0x406f75(0x243)](_0x4a3c0b[_0x406f75(0x279)](),{'type':_0x5b2537['PivotFilterTypeEnum'][_0x406f75(0x222)],'list':_0x2c207c,'isAll':!0x1});}}for(const {field:_0x78c8ef,subTotalType:_0x18a17d,formatString:_0x39f0b9}of _0x393832||[]){const _0x5d5d6c=_0x34d7a7[_0x406f75(0x3e2)](_0x582a1c[_0x78c8ef]);if(!_0x5d5d6c)continue;const _0x520573=_0x582a1c[_0x78c8ef];if(_0x520573){const _0xe6e0b2=_0x3ecda9[_0x406f75(0x234)](_0x520573,_0x5b2537[_0x406f75(0x356)][_0x406f75(0x1c8)]);if(_0xe6e0b2){if(_0x18a17d!==void 0x0){_0x3ecda9[_0x406f75(0x1cf)](_0xe6e0b2[_0x406f75(0x279)](),_0x18a17d);const _0x562fd0=this[_0x406f75(0x2b0)][_0x406f75(0x2ab)](_0x474441['unitId'])['getAutoDisplayNameFunction']()||_0x5b2537['getAutoDisplayName'],_0xd93b2b=_0x34d7a7[_0x406f75(0x3fe)](_0x520573),_0xb5109a=_0x562fd0(_0xd93b2b,_0x18a17d);_0x3ecda9['renameField'](_0xe6e0b2['getId'](),_0xb5109a);}else{if(_0x5d5d6c){const _0x1598a4=_0x5d5d6c==null?void 0x0:_0x5d5d6c[_0x406f75(0x292)]();_0x3ecda9['setSubtotalType'](_0xe6e0b2['getId'](),_0x1598a4===_0x5b2537[_0x406f75(0x388)][_0x406f75(0x14b)]?_0x5b2537[_0x406f75(0x294)][_0x406f75(0x3bb)]:_0x5b2537['PivotSubtotalTypeEnum'][_0x406f75(0x230)]);}}_0x39f0b9&&_0x3ecda9[_0x406f75(0x1d1)](_0xe6e0b2['getId'](),_0x39f0b9);}}}const _0xd77fd0=_0x3ecda9['query'](),_0x5cbf68=_0x3ecda9[_0x406f75(0x3ab)](),_0x5396d5=_0x3ecda9[_0x406f75(0x1ee)](),_0x5a85d5=_0x3ecda9['endCollectChangeset'](),_0x2de08b=_0x34d7a7[_0x406f75(0x3ab)]();_0x240608['addPivotTableWithConfig']={'view':_0xd77fd0,'fieldsConfig':_0x5cbf68,'collectionConfig':_0x2de08b,'isEmpty':_0x5396d5,'changesets':_0x5a85d5};}break;case _0x529957[_0x406f75(0x1f2)]:{const _0x510686=_0x128fe8(this[_0x406f75(0x373)],_0x20c092);if(!_0x510686)return;const {range:_0x270e9a,sourceSubUnitId:_0x43fa39,sourceUnitId:_0x2cc922,formatMap:_0x3afdbe,indexes:_0x389b8a}=_0x510686;_0x240608['drillDown']={'range':_0x270e9a,'sourceSubUnitId':_0x43fa39,'sourceUnitId':_0x2cc922,'formatMap':_0x3afdbe,'indexes':_0x389b8a};}break;}this[_0x406f75(0x25e)]['executeCommand'](_0x4ba20e['id'],{'version':_0x20c092[_0x406f75(0x123)],'result':_0x240608},{'onlyLocal':!0x0});}));}[_0x40b749(0x268)](){const _0x2ec0c6=_0x40b749;this['disposeWithMe'](this['_commandService'][_0x2ec0c6(0x40e)](_0x7c124=>{const _0x432cdc=_0x2ec0c6;if(_0x7c124['id']!==_0x5c0f40['id'])return;const _0x575f98=_0x7c124[_0x432cdc(0x3db)];return this[_0x432cdc(0x2b0)]['setTextInfo'](_0x575f98[_0x432cdc(0x1c5)]),!0x0;}));}[_0x40b749(0x2ef)](){const _0x4ef84e=_0x40b749;this[_0x4ef84e(0x2b0)]['collectionChange$'][_0x4ef84e(0x32f)](_0x10e408=>{const _0x4d7a0f=_0x4ef84e;switch(_0x10e408[_0x4d7a0f(0x3a5)]){case _0x9d49ed[_0x4d7a0f(0x10f)]:_0x10e408[_0x4d7a0f(0x321)]&&_0x10e408[_0x4d7a0f(0x3e7)]&&this[_0x4d7a0f(0x184)](_0x10e408[_0x4d7a0f(0x2ca)],_0x10e408[_0x4d7a0f(0x321)],_0x10e408[_0x4d7a0f(0x3e7)]);break;case _0x9d49ed[_0x4d7a0f(0x325)]:{const {unitId:_0x7b0ef2,subUnitId:_0x38bfd4,token:_0xf9e201}=_0x10e408;_0x7b0ef2&&_0x38bfd4&&_0xf9e201&&this[_0x4d7a0f(0x311)](_0x7b0ef2,_0x38bfd4,_0xf9e201);}break;case _0x9d49ed[_0x4d7a0f(0x195)]:{const {token:_0x237367,oldSourceRangeInfo:_0x320076,dataRangeInfo:_0x3160bc,targetCellInfo:_0x26f08d}=_0x10e408,{unitId:_0x577844,subUnitId:_0x4bc400}=_0x320076||{};_0x577844&&_0x4bc400&&_0x237367&&this[_0x4d7a0f(0x311)](_0x577844,_0x4bc400,_0x237367),_0x3160bc&&_0x26f08d&&this[_0x4d7a0f(0x184)](_0x237367,_0x3160bc,_0x26f08d);}break;}});}[_0x40b749(0x15d)](){const _0x253a95=_0x40b749;this[_0x253a95(0x2b0)][_0x253a95(0x323)][_0x253a95(0x32f)](_0x39deaa=>{const _0x33c1f0=_0x253a95;Object['keys'](_0x39deaa)[_0x33c1f0(0x33d)](_0x249e68=>{const _0x5498ca=_0x33c1f0,_0x3c9555=this[_0x5498ca(0x2b0)][_0x5498ca(0x317)](_0x249e68);if(_0x3c9555){const _0x54c263=this[_0x5498ca(0x2b0)]['getPivotTableConfig'](_0x3c9555==null?void 0x0:_0x3c9555['unitId'],_0x3c9555==null?void 0x0:_0x3c9555['subUnitId'],_0x249e68);_0x54c263&&(this[_0x5498ca(0x184)](_0x249e68,_0x54c263['sourceRangeInfo'],_0x54c263['targetCellInfo']),this[_0x5498ca(0x34e)]([{'unitId':_0x3c9555[_0x5498ca(0x33b)],'subUnitId':_0x3c9555[_0x5498ca(0x399)],'token':_0x249e68}]));}});});}[_0x40b749(0x247)](){const _0x1b5648=_0x40b749;this[_0x1b5648(0x2b0)]['viewData$'][_0x1b5648(0x32f)](_0x509203=>{const {unitId:_0x55261f,subUnitId:_0x11a040,pivotTableId:_0x53ac38}=_0x509203;_0x55261f&&_0x11a040&&_0x53ac38&&this['triggerDirtyFeature']([{'unitId':_0x55261f,'subUnitId':_0x11a040,'token':_0x53ac38}]);});}[_0x40b749(0x34e)](_0x121821){const _0x3af4c2=_0x40b749,_0x54dd65={};_0x121821[_0x3af4c2(0x33d)](_0xbe4f=>{var _0x8c1c7e,_0x5b8206;const {unitId:_0x3807e2,subUnitId:_0xe9c276,token:_0x241efc}=_0xbe4f;_0x54dd65[_0x3807e2]=(_0x8c1c7e=_0x54dd65[_0x3807e2])!=null?_0x8c1c7e:{},_0x54dd65[_0x3807e2][_0xe9c276]=(_0x5b8206=_0x54dd65[_0x3807e2][_0xe9c276])!=null?_0x5b8206:{},_0x54dd65[_0x3807e2][_0xe9c276][_0x241efc]=!0x0;}),this[_0x3af4c2(0x25e)]['executeCommand'](_0x35f475['id'],_0x54dd65);}[_0x40b749(0x311)](_0x31b014,_0x1fd036,_0x3063ee){const _0x503692=_0x40b749;this[_0x503692(0x297)][_0x503692(0x236)](_0x31b014,_0x1fd036,[_0x3063ee]);}[_0x40b749(0x184)](_0x1ae6df,_0x1240c0,_0xe8d7e7){const _0x5b5e46=_0x40b749,{unitId:_0x1cbd5b,subUnitId:_0x550904}=_0x1240c0;this[_0x5b5e46(0x297)][_0x5b5e46(0x109)](_0xe8d7e7[_0x5b5e46(0x33b)],_0xe8d7e7['subUnitId'],_0x1ae6df)&&this[_0x5b5e46(0x311)](_0x1cbd5b,_0x550904,_0x1ae6df);const _0x52d4cd={'sheetId':_0x550904,..._0x1240c0};this[_0x5b5e46(0x297)][_0x5b5e46(0x260)](_0xe8d7e7[_0x5b5e46(0x33b)],_0xe8d7e7['subUnitId'],_0x1ae6df,{'unitId':_0xe8d7e7[_0x5b5e46(0x33b)],'subUnitId':_0xe8d7e7[_0x5b5e46(0x399)],'dependencyRanges':[_0x52d4cd],'getDirtyData':(_0x11d442,_0x24477c)=>{const _0x47c049=_0x5b5e46,_0x32d010=this[_0x47c049(0x2b0)],_0x250f25=_0x32d010[_0x47c049(0x317)](_0x1ae6df);if(!_0x250f25)return _0x23c072();const {unitId:_0xd234a0,subUnitId:_0x3f3130}=_0x250f25,_0x45712d=_0x362c17(_0x11d442,_0x24477c,_0x1240c0);if(_0x45712d[_0x47c049(0x10b)]>0x0){const _0x44c841=_0x32d010[_0x47c049(0x16e)](_0x1cbd5b,_0x1ae6df),_0x5c888c=_0x44c841[_0x47c049(0x21d)](),_0x285a90=this[_0x47c049(0x2f5)](_0x1240c0[_0x47c049(0x33b)],_0x1240c0[_0x47c049(0x399)],_0x24477c),_0x307a96={},_0x505311=this['_sheetsPivotDataSourceModel'][_0x47c049(0x2ab)](_0xd234a0)['getAutoDisplayNameFunction']()||_0x5b2537[_0x47c049(0x28a)],_0x3e7f39=[];for(const _0x2ff200 of _0x45712d){const _0x38a179=_0x2ff200-(_0x1240c0[_0x47c049(0x2fe)][_0x47c049(0x2c0)]||0x0),_0x2d2a80=_0x5c888c[_0x38a179];_0x3e7f39[_0x47c049(0x189)](_0x2d2a80),_0x307a96[_0x2d2a80]=_0x44c841['getFieldById'](_0x2d2a80)[_0x47c049(0x23c)](),_0x32d010['getDataFieldManager'](_0x1cbd5b)[_0x47c049(0x289)](_0x2d2a80,_0x1240c0,_0x38a179,_0x285a90);}_0x44c841[_0x47c049(0xf8)](_0x3e7f39)[_0x47c049(0x33d)](_0x215ba5=>{const _0x302d0a=_0x47c049,[_0x569379,_0x5aebc3]=_0x215ba5,_0x1187aa=_0x44c841[_0x302d0a(0x3e2)](_0x569379),_0x56bdb5=_0x44c841[_0x302d0a(0x3e2)](_0x5aebc3);_0x1187aa&&_0x56bdb5&&_0x1187aa[_0x302d0a(0x38e)](_0x56bdb5);}),_0x44c841['updateAllDisplayName']();const _0x2c7433=_0x32d010['getPivotTableInstance'](_0x1ae6df);if(_0x2c7433){_0x20b8b3(_0x2c7433,_0x307a96,_0x505311),_0x2c7433[_0x47c049(0x227)](!0x0);const _0x5f47c5=_0x2c7433[_0x47c049(0x1d8)](),_0xec884b=_0x32d010[_0x47c049(0x3d3)](_0xd234a0,_0x3f3130,_0x1ae6df),_0x4a8ed0=_0x32d010['getDataFieldManager'](_0x1cbd5b)[_0x47c049(0x3ab)]();_0x32d010['updateView'](_0xd234a0,_0x3f3130,_0x40d428[_0x47c049(0x349)],_0x1ae6df,_0x5f47c5,_0xec884b,_0x4a8ed0,!0x0);}}return this['getDirtyInfo'](_0xd234a0,_0x3f3130,_0x1ae6df);}});}[_0x40b749(0x2f5)](_0x376e3a,_0x2e4a46,_0x247c93){var _0x51c074,_0x3b5aa7;const {arrayFormulaCellData:_0x233f9a,unitData:_0x3fbd42}=_0x247c93,_0x3b8a4e=(_0x51c074=_0x233f9a==null?void 0x0:_0x233f9a[_0x376e3a])==null?void 0x0:_0x51c074[_0x2e4a46],_0x48c4d4=(_0x3b5aa7=_0x3fbd42==null?void 0x0:_0x3fbd42[_0x376e3a])==null?void 0x0:_0x3b5aa7[_0x2e4a46];return{'arrayFormulaCellDataMatrix':_0x3b8a4e,'unitDataMatrix':_0x48c4d4};}[_0x40b749(0x2aa)](_0x1405ec,_0x3f07c3,_0x33896d){const _0x579aa1=_0x40b749,_0x111e13=this[_0x579aa1(0x2b0)][_0x579aa1(0x119)](_0x1405ec,_0x3f07c3,_0x33896d),_0x1b2b56=[],_0x126bb8=new _0x1e9f36['ObjectMatrix']();if(_0x111e13){const {rangeCache:_0x54b5d0,matrix:_0x47bbf8,oldRangeCache:_0x578888,oldMatrix:_0x31e645}=_0x111e13,_0x8d6960=_0x54ef33(_0x578888),_0x447a39=_0x54ef33(_0x54b5d0);_0x1b2b56[_0x579aa1(0x189)](..._0x447a39,..._0x8d6960),_0x31e645&&_0x578888&&_0x8d6960[_0x579aa1(0x33d)](_0x1627ea=>{const _0x23c842=_0x579aa1;for(let _0x5c63cb=_0x1627ea[_0x23c842(0x344)];_0x5c63cb<=_0x1627ea[_0x23c842(0x3c5)];_0x5c63cb++)for(let _0x158bbe=_0x1627ea[_0x23c842(0x2c0)];_0x158bbe<=_0x1627ea[_0x23c842(0x2f4)];_0x158bbe++)_0x126bb8[_0x23c842(0x39a)](_0x5c63cb,_0x158bbe);}),_0x47bbf8&&_0x447a39&&_0x447a39[_0x579aa1(0x33d)](_0x543cc6=>{const _0x13a8c5=_0x579aa1;for(let _0xdb7237=_0x543cc6[_0x13a8c5(0x344)];_0xdb7237<=_0x543cc6[_0x13a8c5(0x3c5)];_0xdb7237++)for(let _0x1b5708=_0x543cc6[_0x13a8c5(0x2c0)];_0x1b5708<=_0x543cc6[_0x13a8c5(0x2f4)];_0x1b5708++)_0x126bb8[_0x13a8c5(0x147)](_0xdb7237,_0x1b5708,_0x47bbf8[_0x13a8c5(0x3dd)](_0xdb7237,_0x1b5708));});}const _0x242630={};return _0x242630[_0x1405ec]={[_0x3f07c3]:_0x1af85d(_0x1b2b56)},{'runtimeCellData':{[_0x1405ec]:{[_0x3f07c3]:_0x126bb8}},'dirtyRanges':_0x242630};}[_0x40b749(0x158)](){}};_0x344543=_0xfba7f8([_0x43995e(0x0,_0x1e9f36[_0x40b749(0x191)](_0x141cd5['SheetsPivotDataSourceModel'])),_0x43995e(0x1,_0x1e9f36[_0x40b749(0x191)](_0xa39ce7[_0x40b749(0x3f2)])),_0x43995e(0x2,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x3a6)])),_0x43995e(0x3,_0x1e9f36['Inject'](_0xa39ce7[_0x40b749(0x12a)])),_0x43995e(0x4,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x209)]))],_0x344543);var _0x1ebbe1=Object[_0x40b749(0x1fe)],_0x5dd4cb=(_0x5b3f65,_0x3ead15,_0x2fc9ce,_0x4c4968)=>{const _0x2af31f=_0x40b749;for(var _0x238e94=_0x4c4968>0x1?void 0x0:_0x4c4968?_0x1ebbe1(_0x3ead15,_0x2fc9ce):_0x3ead15,_0x5086dc=_0x5b3f65[_0x2af31f(0x10b)]-0x1,_0x369232;_0x5086dc>=0x0;_0x5086dc--)(_0x369232=_0x5b3f65[_0x5086dc])&&(_0x238e94=_0x369232(_0x238e94)||_0x238e94);return _0x238e94;},_0x1e43e5=(_0x2b5b5d,_0xa9e1de)=>(_0x3149ad,_0x26e144)=>_0xa9e1de(_0x3149ad,_0x26e144,_0x2b5b5d);let _0x5d4d5f=class extends _0x1e9f36['Disposable']{constructor(_0xe53a26,_0xc4554c,_0x27873c,_0x3eccef){const _0x14f7a1=_0x40b749;super(),_0x3eeb3c(this,_0x14f7a1(0x3b1),new _0x1e9f36['DisposableCollection']()),(this[_0x14f7a1(0x16b)]=_0xe53a26,this[_0x14f7a1(0x3a4)]=_0xc4554c,this[_0x14f7a1(0x1d4)]=_0x27873c,this[_0x14f7a1(0x3a3)]=_0x3eccef,this['_initClearSelectionCommandInterceptor']());}[_0x40b749(0x2e5)](){const _0x34d893=_0x40b749;this[_0x34d893(0x1fa)](this[_0x34d893(0x3a4)]['interceptCommand']({'getMutations':_0x16a4ff=>{const _0x310989=_0x34d893;if(_0x16a4ff['id']===_0x18baff[_0x310989(0x177)]['id']||_0x16a4ff['id']===_0x18baff[_0x310989(0x1a9)]['id']){const _0x3f972d=[],_0xdaaf64=[],_0x2fd976=this[_0x310989(0x1d4)][_0x310989(0x2c3)]()['map'](_0x365d38=>_0x365d38[_0x310989(0x2fe)]),_0x196d58=_0x18baff[_0x310989(0x2e9)](this['_univerInstanceService']);if(!_0x196d58)return{'redos':[],'undos':[]};const {unitId:_0x50f6b2,subUnitId:_0x528609}=_0x196d58,_0x1b830e={},_0x230a95=this['_sheetsPivotTableConfigModel'][_0x310989(0x2dc)](_0x50f6b2,_0x528609);if(_0x230a95!=null&&_0x230a95[_0x310989(0x3fb)])for(const [_0x4e8656,_0x438f71]of _0x230a95){const {unitId:_0x443713,subUnitId:_0x3ece15,row:_0x1e30be,col:_0x221ffc}=_0x438f71[_0x310989(0x3e7)];_0x443713===_0x196d58[_0x310989(0x33b)]&&_0x3ece15===_0x196d58[_0x310989(0x399)]&&(_0x1b830e[_0x1e30be+'-'+_0x221ffc]=_0x4e8656);}return _0x2fd976&&_0x196d58&&_0x2fd976[_0x310989(0x33d)](_0x366988=>{_0x1e9f36['Range']['foreach'](_0x366988,(_0x407f5b,_0x2dd5fd)=>{const _0x4c35bb=_0x48e4,_0x23d664=_0x407f5b+'-'+_0x2dd5fd;if(_0x1b830e[_0x23d664]){const _0x731fbf=_0x1b830e[_0x23d664];_0x3f972d[_0x4c35bb(0x189)]({'id':_0x2ad0a5['id'],'params':{'unitId':_0x50f6b2,'subUnitId':_0x528609,'pivotTableId':_0x731fbf}});const _0x457609=this[_0x4c35bb(0x3a3)][_0x4c35bb(0x16e)](_0x50f6b2,_0x731fbf),_0xa9902f=this[_0x4c35bb(0x3a3)][_0x4c35bb(0x3d3)](_0x50f6b2,_0x528609,_0x731fbf);_0xdaaf64[_0x4c35bb(0x189)]({'id':_0xfab1de['id'],'params':{'unitId':_0x50f6b2,'subUnitId':_0x528609,'pivotTableId':_0x731fbf,'pivotTableConfig':_0xa9902f,'collectionConfig':_0x457609}});}});}),{'redos':_0x3f972d,'undos':_0xdaaf64};}return{'redos':[],'undos':[]};}}));}};_0x5d4d5f=_0x5dd4cb([_0x1e43e5(0x0,_0x1e9f36[_0x40b749(0x136)]),_0x1e43e5(0x1,_0x1e9f36['Inject'](_0x18baff['SheetInterceptorService'])),_0x1e43e5(0x2,_0x1e9f36[_0x40b749(0x191)](_0x18baff['SheetsSelectionsService'])),_0x1e43e5(0x3,_0x1e9f36['Inject'](_0x141cd5['SheetsPivotTableConfigModel']))],_0x5d4d5f);var _0x4fa8c7=Object[_0x40b749(0x1fe)],_0x507843=(_0x1ef4ec,_0x3c3be9,_0x20cf80,_0x25872a)=>{for(var _0x534ff5=_0x25872a>0x1?void 0x0:_0x25872a?_0x4fa8c7(_0x3c3be9,_0x20cf80):_0x3c3be9,_0x592fd0=_0x1ef4ec['length']-0x1,_0xc4ce77;_0x592fd0>=0x0;_0x592fd0--)(_0xc4ce77=_0x1ef4ec[_0x592fd0])&&(_0x534ff5=_0xc4ce77(_0x534ff5)||_0x534ff5);return _0x534ff5;},_0x533f98=(_0x3f1cb9,_0x1c63a9)=>(_0x2d9a57,_0x36b7ee)=>_0x1c63a9(_0x2d9a57,_0x36b7ee,_0x3f1cb9);let _0x24db11=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x56d117,_0x3dbc2b,_0x425834,_0x40d549,_0x2383f4){const _0x5f0cde=_0x40b749;super(),this[_0x5f0cde(0x3a4)]=_0x56d117,this[_0x5f0cde(0x373)]=_0x3dbc2b,this['_univerInstanceService']=_0x425834,this[_0x5f0cde(0x3a3)]=_0x40d549,this[_0x5f0cde(0x174)]=_0x2383f4,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x296cc7,_0x151577,_0x59bdc8){const _0x13149c=_0x40b749,{pageView:_0x15d5c1,cornerView:_0x10c1f7,rowView:_0x46d3aa,colView:_0x5628ae,dataView:_0x397429}=_0x151577,_0x1e5162=_0x296cc7;let _0x5f4c91;if(_0x59bdc8)_0x5f4c91=[..._0x10a5e0(_0x1e5162)];else{const _0x5756e6=_0x47b32b(_0x1e5162,_0x15d5c1,!0x0),_0x1f6f5f=_0x15d5c1[_0x13149c(0x3e6)]>=0x0?_0x15d5c1['lastRow']+0x1:0x0,_0x47cf87=_0x10c1f7[_0x13149c(0x163)],_0x19caac=_0x10c1f7[_0x13149c(0x100)],_0x27b315=_0x5756e6[_0x13149c(0x10b)]>0x0?_0x378094:0x0,_0x2fe318=_0x47b32b({'row':_0x1e5162[_0x13149c(0x1f7)]+_0x1f6f5f+_0x27b315,'col':_0x1e5162['col']},_0x10c1f7,!0x1,!0x1),_0x344e8d=_0x47b32b({'row':_0x1e5162[_0x13149c(0x1f7)]+_0x1f6f5f+_0x27b315+_0x47cf87,'col':_0x1e5162[_0x13149c(0x2e3)]},_0x46d3aa,!0x1,!0x0),_0x1c2739=_0x47b32b({'row':_0x1e5162[_0x13149c(0x1f7)]+_0x1f6f5f+_0x27b315,'col':_0x1e5162['col']+_0x19caac},_0x5628ae,!0x1,!0x0),_0x919b6c=_0x47b32b({'row':_0x1e5162[_0x13149c(0x1f7)]+_0x1f6f5f+_0x27b315+_0x47cf87,'col':_0x1e5162['col']+_0x19caac},_0x397429,!0x1,!0x0);_0x5f4c91=[..._0x5756e6,..._0x2fe318,..._0x344e8d,..._0x1c2739,..._0x919b6c];}return _0x5f4c91;}[_0x40b749(0x2da)](){const _0x3a1345=_0x40b749;this['disposeWithMe'](this[_0x3a1345(0x174)][_0x3a1345(0x334)][_0x3a1345(0x2c4)](this['_sheetsPivotTableService'][_0x3a1345(0x334)][_0x3a1345(0x239)]()[_0x3a1345(0x27c)],{'handler':(_0x44f8fc,_0x4be716)=>{const _0x5795d8=_0x3a1345,{cellInfo:_0x2576d8,view:_0xfc4f58,isEmpty:_0x547393}=_0x4be716,_0x223eeb=_0x2576d8,{unitId:_0x4a218c,subUnitId:_0x1ef884}=_0x223eeb,_0x5a7628=this['_getPivotAppliedRanges'](_0x2576d8,_0xfc4f58,_0x547393),_0x3f39a4=this[_0x5795d8(0x3a4)]['generateMutationsByRanges']({'unitId':_0x4a218c,'subUnitId':_0x1ef884,'ranges':_0x5a7628}),_0x2868b7=_0x6e56f6(this['_injector'],_0x4a218c,_0x1ef884,_0x5a7628);_0x2868b7[_0x5795d8(0x2c5)]&&(_0x3f39a4[_0x5795d8(0x14a)][_0x5795d8(0x189)](_0x2868b7[_0x5795d8(0x212)]),_0x3f39a4[_0x5795d8(0x226)]['push'](_0x2868b7['setRangeValueUndoMutation']));const _0x210b06=this[_0x5795d8(0x346)](_0xfc4f58,_0x2576d8);return _0x3f39a4[_0x5795d8(0x14a)]['push'](..._0x210b06[_0x5795d8(0x14a)]),_0x3f39a4[_0x5795d8(0x226)][_0x5795d8(0x189)](..._0x210b06[_0x5795d8(0x226)]),{'redos':_0x3f39a4[_0x5795d8(0x14a)],'undos':_0x3f39a4[_0x5795d8(0x226)]};}}));}[_0x40b749(0x346)](_0x2c552b,_0x19f325){const _0x2768a1=_0x40b749,{col:_0x56d89c,unitId:_0x24861d,subUnitId:_0x547e74}=_0x19f325,_0x2f9502=[],_0x48b1d2=[],_0x23ae51=_0x18baff[_0x2768a1(0x2e9)](this[_0x2768a1(0x16b)],{'unitId':_0x24861d,'subUnitId':_0x547e74});if(!_0x19f325||!_0x2c552b||!_0x23ae51)return{'undos':_0x48b1d2,'redos':_0x2f9502};const _0x4d3b80=this[_0x2768a1(0x3a3)][_0x2768a1(0x2c8)](),{colView:_0x60d14d,dataView:_0x54c166,cornerView:_0x35f844,rowView:_0x583fe2,formatMap:_0xd9a7dc}=_0x2c552b,_0xa905e3=_0x55961c(_0x60d14d,_0x4d3b80,!0x0,_0xd9a7dc),_0x5e1607=_0x55961c(_0x583fe2,_0x4d3b80,!0x1,_0xd9a7dc),_0x2b6922=_0x3f05e4(_0x54c166),_0x46d112=_0x530262(_0x35f844),{worksheet:_0x3dafbc}=_0x23ae51;if(typeof window<'u'&&window[_0x2768a1(0x252)]){const _0x2e0f1c=_0x413c6d[_0x2768a1(0x400)]({..._0xfabaf7[_0x2768a1(0x3ec)]}),_0x3adc88=_0x413c6d[_0x2768a1(0x1f9)][_0x2768a1(0x146)](_0xa905e3,_0x2e0f1c)['width']+0x10,_0x1de42f=_0x413c6d[_0x2768a1(0x1f9)][_0x2768a1(0x146)](_0x2b6922,_0x2e0f1c)[_0x2768a1(0x2e7)],_0x57db9b=Math['floor'](Math[_0x2768a1(0x31f)](_0x3adc88,_0x1de42f))+0x10,_0x3b82f0=Math['floor'](_0x413c6d[_0x2768a1(0x1f9)][_0x2768a1(0x146)](_0x5e1607,_0x2e0f1c)[_0x2768a1(0x2e7)]),_0x297a39=Math[_0x2768a1(0x23b)](_0x413c6d[_0x2768a1(0x1f9)][_0x2768a1(0x146)](_0x46d112,_0x2e0f1c)[_0x2768a1(0x2e7)]),_0x22065f=Math[_0x2768a1(0x31f)](_0x3b82f0,_0x297a39,0x28)+0xc,_0x2c0005=_0x60d14d[_0x2768a1(0x100)]+_0x35f844[_0x2768a1(0x100)],_0x1a2fa4={},_0x4a92b5={};for(let _0x5b24da=_0x56d89c;_0x5b24da<_0x56d89c+_0x2c0005;_0x5b24da++){const _0x223e39=_0x3dafbc[_0x2768a1(0x32b)](_0x5b24da);_0x1a2fa4[_0x5b24da]=_0x223e39,_0x5b24da-_0x56d89c<_0x35f844[_0x2768a1(0x100)]?_0x4a92b5[_0x5b24da-_0x56d89c]=_0x22065f:_0x4a92b5[_0x5b24da-_0x56d89c]=_0x57db9b;}_0x2f9502[_0x2768a1(0x189)]({'id':_0x18baff[_0x2768a1(0x13e)]['id'],'params':{'subUnitId':_0x547e74,'unitId':_0x24861d,'ranges':[{'startColumn':_0x56d89c,'endColumn':_0x56d89c+_0x2c0005-0x1,'startRow':0x0,'endRow':_0x3dafbc[_0x2768a1(0x3fc)]()-0x1}],'colWidth':_0x4a92b5}}),_0x48b1d2['push']({'id':_0x18baff[_0x2768a1(0x13e)]['id'],'params':{'subUnitId':_0x547e74,'unitId':_0x24861d,'ranges':[{'startColumn':_0x56d89c,'endColumn':_0x56d89c+_0x2c0005-0x1,'startRow':0x0,'endRow':_0x3dafbc[_0x2768a1(0x3fc)]()-0x1}],'colWidth':_0x1a2fa4}});}return{'undos':_0x48b1d2,'redos':_0x2f9502};}};_0x24db11=_0x507843([_0x533f98(0x0,_0x1e9f36['Inject'](_0x18baff[_0x40b749(0x36f)])),_0x533f98(0x1,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x209)])),_0x533f98(0x2,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x136)])),_0x533f98(0x3,_0x1e9f36[_0x40b749(0x191)](_0x141cd5['SheetsPivotTableConfigModel'])),_0x533f98(0x4,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x3a0)]))],_0x24db11);var _0x5ed015=Object['getOwnPropertyDescriptor'],_0x488340=(_0x185fbd,_0x89f725,_0x16deac,_0x5228f8)=>{const _0x423d3c=_0x40b749;for(var _0x5b6080=_0x5228f8>0x1?void 0x0:_0x5228f8?_0x5ed015(_0x89f725,_0x16deac):_0x89f725,_0x1a2c89=_0x185fbd[_0x423d3c(0x10b)]-0x1,_0x2543d7;_0x1a2c89>=0x0;_0x1a2c89--)(_0x2543d7=_0x185fbd[_0x1a2c89])&&(_0x5b6080=_0x2543d7(_0x5b6080)||_0x5b6080);return _0x5b6080;},_0x5c2eaa=(_0x455884,_0x51507e)=>(_0xe2969e,_0x228e3e)=>_0x51507e(_0xe2969e,_0x228e3e,_0x455884);let _0x25ed11=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x5136b6,_0x5d0dcd,_0x50f394,_0x181f42,_0x57c898,_0x341067,_0xbe4503){const _0x13b30d=_0x40b749;super(),_0x3eeb3c(this,_0x13b30d(0x3b1),new _0x1e9f36[(_0x13b30d(0x316))]()),(this[_0x13b30d(0x373)]=_0x5136b6,this[_0x13b30d(0x28d)]=_0x5d0dcd,this[_0x13b30d(0x25e)]=_0x50f394,this['_univerInstanceService']=_0x181f42,this[_0x13b30d(0x3a3)]=_0x57c898,this[_0x13b30d(0x104)]=_0x341067,this['_sheetInterceptorService']=_0xbe4503,this[_0x13b30d(0x193)]());}[_0x40b749(0x193)](){const _0x4ce945=_0x40b749,_0x55b929=(_0x40cc88,_0x233eca)=>{const _0x401aa3=_0x48e4,_0x30dde4=this[_0x401aa3(0x16b)]['getCurrentUnitForType'](_0x1e9f36[_0x401aa3(0x2fd)][_0x401aa3(0x295)]);if(!_0x30dde4||!(_0x30dde4==null?void 0x0:_0x30dde4['getSheetBySheetId'](_0x233eca)))return;this[_0x401aa3(0x3b1)][_0x401aa3(0x158)]();const _0x40fac5=_0xab2baf=>this[_0x401aa3(0x16d)](_0xab2baf,_0x40cc88,_0x233eca),_0x23e12f=this[_0x401aa3(0x3a3)]['getSubUnitPivotConfigs'](_0x40cc88,_0x233eca);if(!(_0x23e12f!=null&&_0x23e12f['size']))return;Array['from'](_0x23e12f['values']())[_0x401aa3(0xf6)](_0x276d4f=>{const _0x5eb3ba=_0x401aa3,{row:_0x332e57,col:_0x47a6ae}=_0x276d4f[_0x5eb3ba(0x3e7)];return _0x1e9f36[_0x5eb3ba(0x204)](_0x332e57,_0x47a6ae);})[_0x401aa3(0x33d)](_0x48f582=>{const _0x332525=_0x401aa3;this['disposableCollection'][_0x332525(0x10f)](this['_refRangeService'][_0x332525(0x3c4)](_0x48f582,_0x40fac5,_0x40cc88,_0x233eca));});},_0x593fa2=()=>{const _0x3dc67e=_0x48e4,_0x49f0be=this[_0x3dc67e(0x16b)][_0x3dc67e(0x352)](_0x1e9f36['UniverInstanceType'][_0x3dc67e(0x295)]);if(_0x49f0be){const _0x3d842d=_0x49f0be['getActiveSheet']();if(!_0x3d842d)return;_0x55b929(_0x49f0be[_0x3dc67e(0x35b)](),_0x3d842d[_0x3dc67e(0x3e0)]());}};this[_0x4ce945(0x1fa)](this[_0x4ce945(0x25e)]['onCommandExecuted'](_0x447c3e=>{const _0x474dcf=_0x4ce945;if(_0x447c3e['id']===_0x18baff['SetWorksheetActiveOperation']['id']){const _0x32de67=_0x447c3e[_0x474dcf(0x3db)],_0x13da94=_0x32de67[_0x474dcf(0x399)],_0x1e2312=_0x32de67[_0x474dcf(0x33b)];if(!_0x13da94||!_0x1e2312)return;_0x55b929(_0x1e2312,_0x13da94);}})),this[_0x4ce945(0x1fa)](this['_sheetsPivotTableConfigModel'][_0x4ce945(0x366)][_0x4ce945(0x32f)](_0x30a5d9=>{_0x30a5d9&&_0x593fa2();})),this[_0x4ce945(0x1fa)](this[_0x4ce945(0x3a3)][_0x4ce945(0x393)][_0x4ce945(0x32f)](_0x1c9e11=>{const _0x5d3ae8=_0x4ce945,_0x989b92=_0x18baff[_0x5d3ae8(0x2e9)](this[_0x5d3ae8(0x16b)]);if(!_0x989b92)return;const {unitId:_0x8ab4e9,subUnitId:_0x4b9ea9}=_0x989b92,{unitId:_0x4e2ffb,subUnitId:_0x268af8}=_0x1c9e11;_0x8ab4e9!==_0x4e2ffb||_0x4b9ea9!==_0x268af8||_0x55b929(_0x8ab4e9,_0x4b9ea9);})),_0x593fa2();}[_0x40b749(0x16d)](_0x44f9ad,_0x125f5a,_0x5c40dd){const _0x37526f=_0x40b749;switch(_0x44f9ad['id']){case _0x18baff['MoveRangeCommand']['id']:return this['getRefRangeMutationsByMoveRange'](_0x44f9ad[_0x37526f(0x3db)],_0x125f5a,_0x5c40dd);}return{'redos':[],'undos':[]};}[_0x40b749(0x267)](_0x3963bd,_0x19a357,_0x330b63){const _0x1da024=_0x40b749,{fromRange:_0x50dcf4,toRange:_0x50a848}=_0x3963bd,_0x1126a7=[],_0x2a6a0f=[],_0x5051a6=_0x18baff['getSheetCommandTarget'](this[_0x1da024(0x16b)]);if(!_0x5051a6)return{'undos':_0x2a6a0f,'redos':_0x1126a7};if(_0x19a357!==_0x5051a6[_0x1da024(0x33b)]||_0x330b63!==_0x5051a6[_0x1da024(0x399)])return{'undos':_0x2a6a0f,'redos':_0x1126a7};const _0x4eeabb=this[_0x1da024(0x3a3)][_0x1da024(0x2dc)](_0x19a357,_0x330b63);if(_0x4eeabb!=null&&_0x4eeabb[_0x1da024(0x3fb)])for(const [_0x4059c0,_0x361195]of _0x4eeabb){const {unitId:_0x4cbe6c,subUnitId:_0x1ec7be,row:_0x1a71e8,col:_0x4439a8}=_0x361195[_0x1da024(0x3e7)];if(_0x4cbe6c===_0x5051a6['unitId']&&_0x1ec7be===_0x5051a6[_0x1da024(0x399)]){const _0x559000=_0x1e9f36['cellToRange'](_0x1a71e8,_0x4439a8);if(_0x1e9f36[_0x1da024(0x1e1)][_0x1da024(0x2b8)](_0x559000,_0x50dcf4)){const _0x2a357a=_0x1a71e8-_0x50dcf4[_0x1da024(0x344)],_0x5c6fd4=_0x4439a8-_0x50dcf4[_0x1da024(0x2c0)],_0x32f01a={'row':_0x50a848[_0x1da024(0x344)]+_0x2a357a,'col':_0x50a848[_0x1da024(0x2c0)]+_0x5c6fd4};_0x1126a7[_0x1da024(0x189)]({'id':_0x4b5228['id'],'params':{'unitId':_0x4cbe6c,'subUnitId':_0x1ec7be,'pivotTableId':_0x4059c0,'targetCellPosition':_0x32f01a}}),_0x2a6a0f[_0x1da024(0x189)]({'id':_0x4b5228['id'],'params':{'unitId':_0x4cbe6c,'subUnitId':_0x1ec7be,'pivotTableId':_0x4059c0,'targetCellPosition':{'row':_0x1a71e8,'col':_0x4439a8}}});const _0x32d01e=_0x32f01a[_0x1da024(0x1f7)]-_0x1a71e8,_0xfab9c5=_0x32f01a[_0x1da024(0x2e3)]-_0x4439a8,_0x3b1a57=[],_0xc53f52=this[_0x1da024(0x104)][_0x1da024(0x38f)](_0x4cbe6c,_0x1ec7be,_0x4059c0),_0x390776=_0xc53f52==null?void 0x0:_0xc53f52[_0x1da024(0x3f4)];if(_0x390776){Object['keys'](_0x390776)[_0x1da024(0x33d)](_0xc3b1be=>{const _0x33d21e=_0x1da024;_0x390776[_0xc3b1be][_0x33d21e(0x33d)](_0x57c5c7=>{const _0xff2059=_0x33d21e,_0x3d7483={..._0x57c5c7};_0x3d7483[_0xff2059(0x344)]=_0x57c5c7[_0xff2059(0x344)]+_0x32d01e,_0x3d7483[_0xff2059(0x3c5)]=_0x57c5c7[_0xff2059(0x3c5)]+_0x32d01e,_0x3d7483[_0xff2059(0x2c0)]=_0x57c5c7[_0xff2059(0x2c0)]+_0xfab9c5,_0x3d7483[_0xff2059(0x2f4)]=_0x57c5c7[_0xff2059(0x2f4)]+_0xfab9c5,_0x3b1a57[_0xff2059(0x189)](_0x3d7483);});});const _0x43fa4d=this[_0x1da024(0x3a4)][_0x1da024(0xfa)]({'unitId':_0x4cbe6c,'subUnitId':_0x1ec7be,'ranges':_0x3b1a57});_0x1126a7[_0x1da024(0x189)](..._0x43fa4d[_0x1da024(0x14a)]),_0x2a6a0f[_0x1da024(0x189)](..._0x43fa4d['undos']);const _0x522386=_0x6e56f6(this['_injector'],_0x4cbe6c,_0x1ec7be,_0x3b1a57);_0x522386[_0x1da024(0x2c5)]&&(_0x1126a7['push'](_0x522386[_0x1da024(0x212)]),_0x2a6a0f[_0x1da024(0x189)](_0x522386['setRangeValueUndoMutation']));}}}}return{'redos':_0x1126a7,'undos':_0x2a6a0f};}};_0x25ed11=_0x488340([_0x5c2eaa(0x0,_0x1e9f36['Inject'](_0x1e9f36[_0x40b749(0x209)])),_0x5c2eaa(0x1,_0x1e9f36[_0x40b749(0x191)](_0x18baff[_0x40b749(0x2e4)])),_0x5c2eaa(0x2,_0x1e9f36[_0x40b749(0x3a6)]),_0x5c2eaa(0x3,_0x1e9f36[_0x40b749(0x136)]),_0x5c2eaa(0x4,_0x1e9f36[_0x40b749(0x191)](_0x141cd5['SheetsPivotTableConfigModel'])),_0x5c2eaa(0x5,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x278)])),_0x5c2eaa(0x6,_0x1e9f36['Inject'](_0x18baff[_0x40b749(0x36f)]))],_0x25ed11);var _0x4faa15=Object['getOwnPropertyDescriptor'],_0x4736ed=(_0x4d82f5,_0x30b0b3,_0x449635,_0x4c16b3)=>{for(var _0x49423f=_0x4c16b3>0x1?void 0x0:_0x4c16b3?_0x4faa15(_0x30b0b3,_0x449635):_0x30b0b3,_0x1994d6=_0x4d82f5['length']-0x1,_0xc2b9ca;_0x1994d6>=0x0;_0x1994d6--)(_0xc2b9ca=_0x4d82f5[_0x1994d6])&&(_0x49423f=_0xc2b9ca(_0x49423f)||_0x49423f);return _0x49423f;},_0x531667=(_0x2e2daa,_0x43cf1e)=>(_0x883f93,_0x5e9ccc)=>_0x43cf1e(_0x883f93,_0x5e9ccc,_0x2e2daa);let _0x422f78=class extends _0x1e9f36['Disposable']{constructor(_0x4be5a5,_0xa675fc){const _0x5efeb0=_0x40b749;super(),this['_sheetInterceptorService']=_0x4be5a5,this[_0x5efeb0(0x3a3)]=_0xa675fc,this[_0x5efeb0(0x14d)]();}['_initRemoveSheetCommandInterceptor'](){const _0x119b6d=_0x40b749;this[_0x119b6d(0x1fa)](this[_0x119b6d(0x3a4)][_0x119b6d(0x112)]({'getMutations':_0x3f23ed=>{const _0x24112d=_0x119b6d;if(_0x3f23ed['id']===_0x18baff['RemoveSheetCommand']['id']){const _0x159cf3=[],_0x40e487=[],_0x4a8fba=_0x3f23ed[_0x24112d(0x3db)],{unitId:_0x426500,subUnitId:_0x53b7da}=_0x4a8fba;if(!_0x426500||!_0x53b7da)return{'undos':_0x40e487,'redos':_0x159cf3};const _0xea02dd=this[_0x24112d(0x3a3)][_0x24112d(0x2dc)](_0x426500,_0x53b7da);if(_0xea02dd!=null&&_0xea02dd['size'])for(const [_0x1568eb,_0x3d5163]of _0xea02dd){_0x159cf3[_0x24112d(0x189)]({'id':_0x2ad0a5['id'],'params':{'unitId':_0x426500,'subUnitId':_0x53b7da,'pivotTableId':_0x1568eb}});const _0x312bfd={...this[_0x24112d(0x3a3)]['getCollection'](_0x426500,_0x1568eb)};_0x40e487[_0x24112d(0x189)]({'id':_0xfab1de['id'],'params':{'unitId':_0x426500,'subUnitId':_0x53b7da,'pivotTableId':_0x1568eb,'pivotTableConfig':_0x3d5163,'collectionConfig':_0x312bfd}});}return{'redos':_0x159cf3,'undos':_0x40e487};}return{'redos':[],'undos':[]};}}));}};_0x422f78=_0x4736ed([_0x531667(0x0,_0x1e9f36['Inject'](_0x18baff[_0x40b749(0x36f)])),_0x531667(0x1,_0x1e9f36[_0x40b749(0x191)](_0x141cd5['SheetsPivotTableConfigModel']))],_0x422f78);var _0x4a33ea=Object[_0x40b749(0x1fe)],_0x317c2b=(_0x174e93,_0xa94d77,_0x535013,_0x441012)=>{for(var _0x216ce3=_0x441012>0x1?void 0x0:_0x441012?_0x4a33ea(_0xa94d77,_0x535013):_0xa94d77,_0x35ff8b=_0x174e93['length']-0x1,_0x54dce7;_0x35ff8b>=0x0;_0x35ff8b--)(_0x54dce7=_0x174e93[_0x35ff8b])&&(_0x216ce3=_0x54dce7(_0x216ce3)||_0x216ce3);return _0x216ce3;},_0x1f199a=(_0x2a2a70,_0x198085)=>(_0x3e3f0e,_0x3c0105)=>_0x198085(_0x3e3f0e,_0x3c0105,_0x2a2a70);let _0x1f09c3=class extends _0x1e9f36[_0x40b749(0x1a6)]{constructor(_0x2f4832,_0x339265,_0x4cb537,_0x4e5f02,_0x3e1094,_0x3a9bf1){const _0x5143c4=_0x40b749;super(),this[_0x5143c4(0x25e)]=_0x2f4832,this['_sheetsPivotRpcService']=_0x339265,this['_sheetsPivotTableAdaptorModel']=_0x4cb537,this[_0x5143c4(0x3a3)]=_0x4e5f02,this[_0x5143c4(0x16b)]=_0x3e1094,this[_0x5143c4(0x3b0)]=_0x3a9bf1,this['_initDataSendListener'](),this[_0x5143c4(0x1e3)]();}[_0x40b749(0x1af)](){const _0x47e521=_0x40b749;this[_0x47e521(0x1fa)](this['_commandService'][_0x47e521(0x40e)](_0x5dd426=>{const _0x29791a=_0x47e521;if(_0x5dd426['id']!==_0x4ba20e['id'])return;const _0x51ad1e=_0x5dd426[_0x29791a(0x3db)];this[_0x29791a(0x10c)]['handleAsyncResponse'](_0x51ad1e);})),this[_0x47e521(0x1fa)](this[_0x47e521(0x25e)]['onCommandExecuted'](_0x575910=>{const _0x33b22a=_0x47e521;if(_0x575910['id']===_0x8ffc70['id']){const _0x431bd3=_0x575910[_0x33b22a(0x3db)];if(_0x431bd3){const {unitId:_0x1f1c41,subUnitId:_0x497e3b,oldSubUnitId:_0x2d0c8e,pivotTableId:_0x125282,pivotTableConfig:_0x36010b,collectionConfig:_0x584fa6}=_0x431bd3;this[_0x33b22a(0x3a3)][_0x33b22a(0x2db)](_0x1f1c41,_0x2d0c8e,_0x431bd3[_0x33b22a(0x2bf)],null),this[_0x33b22a(0x3a3)][_0x33b22a(0x2db)](_0x1f1c41,_0x497e3b,_0x125282,_0x36010b),this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x1f1c41,_0x584fa6);}}})),this[_0x47e521(0x1fa)](this[_0x47e521(0x25e)]['onCommandExecuted'](_0x2d7ec9=>{const _0x3ab8bd=_0x47e521;if(_0x2d7ec9['id']!==_0x514600['id'])return;const _0x2833fd=_0x18baff['getSheetCommandTarget'](this[_0x3ab8bd(0x16b)]);if(!_0x2833fd)return;const {unitId:_0x4fd5c5,subUnitId:_0x12b087}=_0x2833fd,_0x1ea8b8=_0x2d7ec9[_0x3ab8bd(0x3db)];if(_0x1ea8b8['collectionConfig']&&Object[_0x3ab8bd(0x291)](_0x1ea8b8[_0x3ab8bd(0x3cb)])[_0x3ab8bd(0x33d)](_0x2a7c72=>{const _0x558099=_0x3ab8bd;var _0x24565c;(_0x24565c=_0x1ea8b8['collectionConfig'])!=null&&_0x24565c[_0x2a7c72]&&this[_0x558099(0x3a3)][_0x558099(0x2ed)](_0x2a7c72,_0x1ea8b8[_0x558099(0x3cb)][_0x2a7c72]);}),_0x1ea8b8[_0x3ab8bd(0x152)]){const _0x3d5ed0=_0x1ea8b8[_0x3ab8bd(0x152)],{unitId:_0x1dd4c6,subUnitId:_0xfa820e,view:_0x14c70c,pivotTableId:_0x1b0808,type:_0x371138,pivotConfig:_0x596c0c}=_0x3d5ed0;if(_0x371138===_0x40d428[_0x3ab8bd(0x3bc)])this[_0x3ab8bd(0x104)][_0x3ab8bd(0x17f)]({'unitId':_0x1dd4c6,'subUnitId':_0xfa820e,'pivotTableId':_0x1b0808,'type':_0x371138}),this[_0x3ab8bd(0x3a3)][_0x3ab8bd(0x2db)](_0x1dd4c6,_0xfa820e,_0x1b0808,null);else{const _0x13ef43=new _0x5b2537[(_0x3ab8bd(0x10a))]();_0x13ef43[_0x3ab8bd(0x15f)](_0x14c70c),this[_0x3ab8bd(0x3a3)]['updateConfigCache'](_0x1dd4c6,_0xfa820e,_0x1b0808,_0x596c0c),this[_0x3ab8bd(0x104)][_0x3ab8bd(0x17f)]({'unitId':_0x1dd4c6,'subUnitId':_0xfa820e,'pivotTableId':_0x1b0808,'type':_0x371138,'view':_0x13ef43}),this[_0x3ab8bd(0x104)][_0x3ab8bd(0x1e9)]({'unitId':_0x1dd4c6,'subUnitId':_0xfa820e,'view':_0x13ef43,'pivotTableId':_0x1b0808,'type':_0x371138});}}else _0x1ea8b8[_0x3ab8bd(0x179)]&&(_0x1ea8b8[_0x3ab8bd(0x179)][_0x3ab8bd(0x33d)](_0xab487c=>{const _0x59ed78=_0x3ab8bd,{unitId:_0x2bbe6d,subUnitId:_0x3e810e,view:_0x1ff327,pivotTableId:_0x3ad4e3,type:_0x41f269,pivotConfig:_0x325c81}=_0xab487c,_0x1c1237=new _0x5b2537[(_0x59ed78(0x10a))]();_0x1c1237[_0x59ed78(0x15f)](_0x1ff327),this['_sheetsPivotTableConfigModel'][_0x59ed78(0x2db)](_0x2bbe6d,_0x3e810e,_0x3ad4e3,_0x325c81),this[_0x59ed78(0x104)]['updateRenderCache']({'unitId':_0x2bbe6d,'subUnitId':_0x3e810e,'view':_0x1c1237,'pivotTableId':_0x3ad4e3,'type':_0x41f269});}),this[_0x3ab8bd(0x3a3)][_0x3ab8bd(0x261)]());this[_0x3ab8bd(0x104)][_0x3ab8bd(0x37f)](_0x4fd5c5,_0x12b087);}));}[_0x40b749(0x1e3)](){const _0x53ec22=_0x40b749;this['_activeDirtyManagerService'][_0x53ec22(0x260)](_0x35f475['id'],{'commandId':_0x35f475['id'],'getDirtyData'(_0x431570){const _0x173589=_0x53ec22;return{'dirtyUnitFeatureMap':_0x431570[_0x173589(0x3db)]};}});}};_0x1f09c3=_0x317c2b([_0x1f199a(0x0,_0x1e9f36['Inject'](_0x1e9f36[_0x40b749(0x3a6)])),_0x1f199a(0x1,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x194)])),_0x1f199a(0x2,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x278)])),_0x1f199a(0x3,_0x1e9f36[_0x40b749(0x191)](_0x141cd5[_0x40b749(0x116)])),_0x1f199a(0x4,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36['IUniverInstanceService'])),_0x1f199a(0x5,_0xa39ce7[_0x40b749(0x35e)])],_0x1f09c3);var _0x4b88af=Object['defineProperty'],_0x5e68ab=Object['getOwnPropertyDescriptor'],_0x422a68=(_0x18cffa,_0x22d3b3,_0x4ee4cd)=>_0x22d3b3 in _0x18cffa?_0x4b88af(_0x18cffa,_0x22d3b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ee4cd}):_0x18cffa[_0x22d3b3]=_0x4ee4cd,_0x2be55c=(_0x129356,_0x5b77d4,_0x467b3b,_0x2a892a)=>{for(var _0x30aa47=_0x2a892a>0x1?void 0x0:_0x2a892a?_0x5e68ab(_0x5b77d4,_0x467b3b):_0x5b77d4,_0x54ca39=_0x129356['length']-0x1,_0x830b73;_0x54ca39>=0x0;_0x54ca39--)(_0x830b73=_0x129356[_0x54ca39])&&(_0x30aa47=_0x830b73(_0x30aa47)||_0x30aa47);return _0x30aa47;},_0x40453a=(_0x35b08f,_0x5a4f9c)=>(_0x52ebf3,_0x14277b)=>_0x5a4f9c(_0x52ebf3,_0x14277b,_0x35b08f),_0x4dcef0=(_0x511098,_0x1c1af8,_0x33133c)=>_0x422a68(_0x511098,typeof _0x1c1af8!=_0x40b749(0x2ec)?_0x1c1af8+'':_0x1c1af8,_0x33133c);_0x141cd5[_0x40b749(0x142)]=class extends _0x1e9f36[_0x40b749(0x2e6)]{constructor(_0x1911b9=_0xaf9b9a,_0x7486aa,_0x59917d,_0x30036e,_0x4a716c){const _0x279575=_0x40b749;super(),this[_0x279575(0x1d0)]=_0x1911b9,this[_0x279575(0x373)]=_0x7486aa,this[_0x279575(0x25e)]=_0x59917d,this[_0x279575(0x372)]=_0x30036e,this[_0x279575(0x374)]=_0x4a716c;const {..._0x1fa33c}=_0x1e9f36[_0x279575(0x19a)]({},_0xaf9b9a,this['_config']);this[_0x279575(0x372)]['setConfig'](_0x18ecb1,_0x1fa33c),this[_0x279575(0x376)](),this['_initConfig']();}[_0x40b749(0x3f9)](){const _0xf4c115=_0x40b749;var _0x2177b6;const _0x36015e=(_0x2177b6=this[_0xf4c115(0x1d0)])==null?void 0x0:_0x2177b6[_0xf4c115(0x38d)];this[_0xf4c115(0x372)][_0xf4c115(0x1cb)](_0x24b195,_0x36015e===!0x0);}[_0x40b749(0x26d)](){const _0x6ad070=_0x40b749;var _0x179814;let _0x2e5b97=[];const _0x5ee711=(_0x179814=this[_0x6ad070(0x1d0)])==null?void 0x0:_0x179814['notExecuteFormula'];_0x5ee711===!0x0?_0x2e5b97=[[_0x141cd5[_0x6ad070(0x3a0)]],[_0x141cd5['SheetsPivotRPCService']],[_0x1f09c3],[_0x141cd5['SheetsPivotTableAdaptorModel']],[_0x141cd5[_0x6ad070(0x116)]],[_0x422f78],[_0x5d4d5f],[_0x25ed11],[_0x24db11]]:_0x5ee711===!0x1?_0x2e5b97=[[_0x141cd5['SheetsPivotDataSourceModel']],[_0x344543]]:_0x5ee711===void 0x0&&(_0x2e5b97=[[_0x141cd5[_0x6ad070(0xfb)]],[_0x344543],[_0x141cd5[_0x6ad070(0x3a0)]],[_0x141cd5['SheetsPivotRPCService']],[_0x1f09c3],[_0x141cd5['SheetsPivotTableAdaptorModel']],[_0x141cd5[_0x6ad070(0x116)]],[_0x422f78],[_0x5d4d5f],[_0x25ed11],[_0x24db11]]),_0x2e5b97[_0x6ad070(0x33d)](_0x38711c=>this[_0x6ad070(0x373)][_0x6ad070(0x10f)](_0x38711c)),[_0x344543,_0x1f09c3,_0x141cd5[_0x6ad070(0x3a0)],_0x5d4d5f,_0x422f78,_0x25ed11,_0x24db11]['forEach'](_0x4aa974=>{const _0x4f4740=_0x6ad070;this[_0x4f4740(0x373)][_0x4f4740(0x109)](_0x4aa974)&&this[_0x4f4740(0x373)][_0x4f4740(0x218)](_0x4aa974);});}[_0x40b749(0x376)](){const _0x2aad53=_0x40b749;[_0x39a55f,_0x1314db,_0x457235,_0x26820b,_0xc1b316,_0x460746,_0x57a150,_0x4dce1e,_0x2333c9,_0x21b13a,_0x7c824a,_0x159e09,_0x3a5369,_0x4db6cb,_0xfab1de,_0x2bec82,_0x2ad0a5,_0x1bd195,_0x10324d,_0x41c7eb,_0x3129d8,_0x357553,_0x10b394,_0x17dcfe,_0x3055c1,_0x2ae8df,_0x4b5228,_0x558d37,_0x4ba20e,_0x514600,_0x32f7b1,_0x57a4f6,_0x7b00d0,_0x25aae5,_0x5c0f40,_0x38d80f,_0x2ee14a,_0x35f475,_0x8ffc70,_0x49845e,_0x4e3961,_0x6edcf2,_0x4cbf32][_0x2aad53(0x33d)](_0x2d400e=>{const _0x29cf85=_0x2aad53;var _0x588ed2;(_0x588ed2=this[_0x29cf85(0x374)])==null||_0x588ed2[_0x29cf85(0x284)](_0x2d400e),this['_commandService'][_0x29cf85(0x1f1)](_0x2d400e);});}},_0x4dcef0(_0x141cd5[_0x40b749(0x142)],'pluginName',_0x44c80e),_0x4dcef0(_0x141cd5[_0x40b749(0x142)],'type',_0x1e9f36['UniverInstanceType']['UNIVER_SHEET']),_0x141cd5[_0x40b749(0x142)]=_0x2be55c([_0x1e9f36[_0x40b749(0x254)](_0x52512b[_0x40b749(0x12d)]),_0x40453a(0x1,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36['Injector'])),_0x40453a(0x2,_0x1e9f36[_0x40b749(0x191)](_0x1e9f36[_0x40b749(0x3a6)])),_0x40453a(0x3,_0x1e9f36[_0x40b749(0x383)]),_0x40453a(0x4,_0x1e9f36[_0x40b749(0x115)](_0x386027[_0x40b749(0x203)]))],_0x141cd5['UniverSheetsPivotTablePlugin']),_0x141cd5['AddPivotFieldCommand']=_0x457235,_0x141cd5[_0x40b749(0x17a)]=_0x1bd195,_0x141cd5[_0x40b749(0x35a)]=_0x1314db,_0x141cd5[_0x40b749(0x35d)]=_0xfab1de,_0x141cd5['AddPivotTableWithConfigCommand']=_0x39a55f,_0x141cd5[_0x40b749(0x2c9)]=_0x378094,_0x141cd5[_0x40b749(0x206)]=_0x27fb1e,_0x141cd5['MovePivotFieldCommand']=_0x26820b,_0x141cd5[_0x40b749(0x2b1)]=_0x3a5369,_0x141cd5[_0x40b749(0x144)]=_0x529957,_0x141cd5['PivotDrillDownCommand']=_0x4db6cb,_0x141cd5[_0x40b749(0x3f6)]=_0x40d428,_0x141cd5[_0x40b749(0x201)]=_0x35f475,_0x141cd5['PositionType']=_0x13fe48,_0x141cd5['RemovePivotFieldCommand']=_0xc1b316,_0x141cd5['RemovePivotFieldMutation']=_0x357553,_0x141cd5[_0x40b749(0x1ef)]=_0x2ad0a5,_0x141cd5[_0x40b749(0x1cc)]=_0x10b394,_0x141cd5[_0x40b749(0x299)]=_0x4cbf32,_0x141cd5[_0x40b749(0x154)]=_0x18ecb1,_0x141cd5[_0x40b749(0xfe)]=_0x44c80e,_0x141cd5[_0x40b749(0x3b4)]=_0x4dce1e,_0x141cd5[_0x40b749(0x228)]=_0x17dcfe,_0x141cd5[_0x40b749(0x281)]=_0x25aae5,_0x141cd5[_0x40b749(0x11c)]=_0x6edcf2,_0x141cd5['SetPivotFilterCommand']=_0x21b13a,_0x141cd5[_0x40b749(0x3be)]=_0x3129d8,_0x141cd5[_0x40b749(0x337)]=_0x2ae8df,_0x141cd5['SetPivotPositionMutation']=_0x4b5228,_0x141cd5[_0x40b749(0x1e5)]=_0x2333c9,_0x141cd5[_0x40b749(0x3b8)]=_0x3055c1,_0x141cd5['SetPivotSubtotalTypeMutation']=_0x7b00d0,_0x141cd5[_0x40b749(0x377)]=_0x49845e,_0x141cd5[_0x40b749(0x217)]=_0x4e3961,_0x141cd5['UpdateDateGroupCommand']=_0x57a150,_0x141cd5[_0x40b749(0x3e9)]=_0x32f7b1,_0x141cd5[_0x40b749(0x2cb)]=_0x7c824a,_0x141cd5[_0x40b749(0x23a)]=_0x2ee14a,_0x141cd5['UpdatePivotTableSourceRangeCommand']=_0x159e09,_0x141cd5[_0x40b749(0x2c1)]=_0x38d80f,_0x141cd5[_0x40b749(0x359)]=_0x460746,_0x141cd5[_0x40b749(0x365)]=_0x57a4f6,_0x141cd5[_0x40b749(0x369)]=_0x2e72fc,_0x141cd5['canUsePivot']=_0x38ae35,_0x141cd5[_0x40b749(0x20c)]=_0xfabaf7,_0x141cd5[_0x40b749(0x3da)]=_0x6e56f6,_0x141cd5[_0x40b749(0x257)]=_0x47b32b,_0x141cd5[_0x40b749(0x250)]=_0x10a5e0,_0x141cd5[_0x40b749(0x3b6)]=_0x26a04e,_0x141cd5['getInsertRowColMutations']=_0x578edf,_0x141cd5[_0x40b749(0x324)]=_0x49e27a,_0x141cd5['getPivotInfoByLicense']=_0x4f8174,_0x141cd5[_0x40b749(0x237)]=_0x24ba78,_0x141cd5['transFromCellValue']=_0x546530,_0x141cd5[_0x40b749(0x32e)]=_0x54ef33,Object[_0x40b749(0x167)](_0x141cd5,Symbol[_0x40b749(0x176)],{'value':_0x40b749(0x20e)});}));
1
+ function _0x13ac(){const _0x2edb1f=['#e6ebfb','endColumn','hasField','sheets-pivot.dateGroup.date','call','sheet.command.move-pivot-table','size','sheets-pivot.emptyPivot.values','updatePivotTableMatrixInfo','fetchThroughAsyncInterceptors','_initUnitDisposed','Injector','SetPivotValueFilterCommand','setValuePivotFilter','sheet.mutation.set-pivot-format','HourMinute','@univerjs-pro/license','GlobalComputingStatusService','_initCommandInterceptListener','Expand','UpdateValuePositionMutation','getInsertRowColMutations','Column\x20','level','startCollectChangeset','getActiveSheet','Max\x20of\x20','MUTATION','colInfo','_onRefRangeChange','_subjectCollectionChange','isDateGroupFieldJSON','dataStyle','collections','SetOptions','MoveRangeCommand','updateConfig','_initPivotDataGetListener','rangeKey','getSourceName','_markDirty$','SetFilterInfo','StdDevp\x20of\x20','sheets-pivot.dateGroup.hour','Inject','removeDataField','canUsePivot','filterId','#FFFFFF','defineProperty','onCommandExecuted','shouldClear','updatePivotSource','_ensurePivotMap','721pnemmz','PivotCellStyleTypeEnum','_sheetsPivotDataSourceModel','getDisplayName','pivotConfigChange$','getUpdateRangeDeleteIds','set','maxDate','charCodeAt','dataRangeInfo','_queryingMap','RANGE_TYPE','sheets-pivot.dateGroup.hourMinute','broadcastCollectionChange','YearMonthDate','getOwnPropertyDescriptor','sheets-pivot.dateGroup.yearQuarter','keys','_initSnapshot','get','getUnitId','2SwoHau','sheets-pivot.maxName','CustomCommandExecutionError','setSortInfo','41934FtjdDW','viewUpdate$','endRow','targetCellInfo','_updateRenderEmptyCache','getSubUnitPivotConfigs','sheet.mutation.set-pivot-option','add','generateRandomId','undos','SheetsPivotTableAdaptorModel','SetPivotSortCommand','substring','Hour','_viewUpdate$','_initGlobalComputed','parse','MAX_SAFE_INTEGER','setDirty','countNums','sheets-pivot.varName','@univerjs/rpc','_viewData','_pivotTableRangeInfo','getformat','isText','onQueryStart','getHeaderMapItem','refreshDataField','getPivotTableInstance','Rectangle','sheet.command.add-pivot-field','PivotTableFiledAreaEnum','getNoUsedDataFieldIds','find','name','rowInfo','getUnit','getFieldPositionInfoById','_sheetsSelectionsService','filterFields','exports','BehaviorSubject','interceptor','Count\x20of\x20','_collectionChange$','object','number','query','registerCallbackWithEvent','_subjectViewChange','range','getPivotTableCellData','addFieldWithSourceId','prefix','SetWorksheetActiveOperation','SetSubtotalType','isValue','isEmpty','Total','ClearSelectionContentCommand','getDataFieldByRangeKey','_model','UpdatePivotSource','_localeService','ObjectMatrix','some','SetFieldFormat','DependentOn','initDataRanges','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setLabelFilterInfo','next','getCurrentSelections','sheets-pivot.dateGroup.minute','SHEET_PIVOT_IN_MAIN_THREAD','removeCollections','getFormatInfo','triggerDirtyFeature','SetPivotFilterCommand','InsertSheetMutation','_requestResolvers','NotFunction','workbook\x20is\x20not\x20found','sheet.command.reset-pivot-fields-config','getSheets','_dataFieldManagerCollection','getPivotDirtyViewInfo','stringify','sheet.command.set-pivot-collapse','registerDirtyService','type','resetPivotTable','MovePivotFieldCommand','width','UniverEngineFormula','getPivotTableRangeInfo','subtotal','getDataFieldByDataFieldId','valuePosition','Style','Date','Range','sheet.mutation.set-pivot-filter','excelDateToUnixMilliseconds','deleteDataField','replace','getTableFieldById','getPivotItemRenderInfoCache','sheets-pivot.dateGroup.year','Panel','serializeRangeWithSpreadsheet','Values','sheet.command.update-pivot-table-source-range','None','rowRanges','registerPluginResource','getRefRangeMutationsByMoveRange','hasOwnProperty','createAsyncInterceptorKey','MovePivotTableCommand','symbol','Column','AddPivotTable','2102106crufGZ','existing','Subject','PivotTableValuePositionEnum','RemoveField','fields','NORMAL','_subjectFieldsCollectionChange','sheets-pivot.grandTotal','data','_host','matrix','AddPivotFieldMutation','getCollection','markDirty$','InterceptorManager','493670XXgrcu','asyncInterceptor','Module','getIntersects','updateConfigCache','value','dataFieldManagerConfig','getSheetBySheetName','NUMBER','_lifecycleService','getMatrixFromRunTimeData','PivotTableChangeTypeEnum','valueFilter','getIntersectsPivotTable','cornerInfo','format','intercept','sheets-pivot.dateGroup.yearMonthDate','unshift','sheets-pivot.cellDateGroupDisplay.year','sheet.mutation.remove-pivot-field','fieldIds','AddPivotTableMutation','SheetsPivotTableConfigModel','numberToABC','addField','#f4f4f5','params','cornerRanges','getName','max','rxjs','getPivotDisplayConfig','varp','getFormat','sheets-pivot.stdDevpName','sheet.mutation.set-pivot-sort-info','_ensurePivotItemRenderInfoCache','asObservable','UniverCore','applyChangeSet','contains','AddPivotTableWithConfigCommand','sheet.mutation.pivot-update-value-position','(Blank)','sheet.mutation.pivot-update-field-source-info','paths','CommandType','adjustSheetCellData','reduce','_configService','YearQuarter','rowCount','lastCol','RenamePivotFieldMutation','cornerStyle','average','fieldId','setPivotInitCompleted','single','update','queryDirtyPivotTable','deleteField','toString','createInterceptorKey','originTargetInfo','_createExclusiveRange','sheets-pivot.sumName','SetPivotPositionMutation','Year','SetPivotFilterMutation','result','fieldsConfig','updateAllDisplayName','setPivotTable','ResetPivotTable','sheet.command.update-pivot-value-position','floor','FieldsCollection','_initClearSelectionCommandInterceptor','drillDown','UniverRpc','setValueFilterInfo','_toJSON','blank','@univerjs/core','setDataRecordCount','YearMonth','SetValuePivotFilter','date','versions','getAdjustRangesPosition','sheet.command.move-pivot-field','Filter','sheet.mutation.set-pivot-value-filter','getPivotTableIdByCell','getColumnCount','Quarter','removePivotTable','_sheetsPivotTableService','getOriginFieldId','SheetsPivotRPCService','sheet.mutation.pivot-update-field-position','_textInfo','setDisplayName','DataFieldManager','grandTotal','handleSourceRangeChange','clearRenderCache','SetPivotSort','UpdatePivotFieldSettingCommand','columnFields','InsertColMutation','renameField','rangesInfo','_globalComputedEndHelpFunc','getTargetByPivotId','COLUMN','getFieldCountByArea','SetPivotSubtotalTypeMutation','rowHeaderMap','version','SHEET_PIVOT_EXCLUSIVE_ID','PivotFilterTypeEnum','SetSortInfo','#1d32e9','1339920EKdTTJ','PivotDisplayDataType','getTypeOfUnitDisposed$','Month','@univerjs/engine-render','Value','dataFieldsCollection','pivotTableIndexConfig','foreach','isArray','IActiveDirtyManagerService','getFilterInfo','ReleaseType','isBaseGroupField','3471690xaDYvT','sheets.tabs.sheet','rgb(240,241,243)','_updateModelCache','createCollectionWithDataRange','PivotSubtotalTypeEnum','UniverLicensePlugin','setRange','getDataFieldId','unitId','NotNumber','splice','sequenceExecute','push','SheetInterceptorService','setRangeValueUndoMutation','updateDirtyPivotTable','UniverProLicense','batch','startRow','getConfig','isFeatureAuthorizedWithinTime','forEach','DisposableCollection','sheet.mutation.update-date-group','_commandService','_config','DataField','displayName','markDirty','updateFieldPosition','isDateGroupField','UpdateFieldPositionMutation','panel','setConfig','updateRangeKeyMap','Optional','getId','getDataFieldByTableId','iterateFieldByArea','_sheetsPivotRpcService','11QEhtFi','stdDev','sheet.command.set-pivot-sort','generateHexNumber','_updatePivotTableInstanceCache','sheet.operation.pivot-table-view-formula-mark-dirty','updateView','setSourceName','setName','getSubtotal','RemoveRowMutation','_configVersion$','STRING','disposableCollection','deepClone','sheets-pivot.productName','registerRefRange','LocaleService','row','PivotMultipleValueId','sheet.command.add-pivot-table','generateNewSheetName','BLANK_PLACEHOLDER','sheet.command.add-pivot-table-with-config','DateGroupField','sheets-pivot.countName','isBottomTotal','updateViewInfo','sheet.mutation.rename-pivot-field','sourceName','_injector','colCount','addCollectionByJSON','sheets-pivot.minName','_getPivotAppliedRanges','split','_dataSyncPrimaryController','sheets-pivot.cellDateGroupDisplay.date','PivotDrillDownCommand','IFeatureCalculationManagerService','UniverProSheetsPivot','Disposable','New','CellValueType','getCellRaw','SetRangeValuesMutation','sheet.mutation.get-pivot-data-local','mergeWorksheetSnapshotWithDefault','isPrefixValue','leafStyle','refreshData','notExecuteFormula','getMonth','PivotDateGroupFieldDateTypeEnum','length','toJSON','Tools','function','PivotCallbackEnum','_ensureViewDataMap','originalFieldId','sheetName','setOptions','_sheetsPivotTableConfigModel','getDate','fromJSON','getPivotTableConfig','getPivotPerformCheck','sheets-pivot.cellDateGroupDisplay.minute','executeCommand','_deletePivotTableInstanceCache','getPivotTableModelConfig','entries','RenameField','SetValueFilter','getStyles','setPivotFilter','sheets-pivot.averageName','pageStyle','pageRanges','onQueryEnd','Grand\x20Total','fieldsCollectionChange$','isDateValue','generateNullCell','ManualFilter','addCollection','movePivotField','removePivotField','_sheetsPivotTableAdaptorModel','bind','defaultThemeStyle','numfmt','dateGroupField','getSheetBySheetId','_ensurePivotTableMatrixInfo','updateViewData','getSheetCommandTarget','custom','forValue','_pivotTableMatrixInfo','setTextInfo','colRanges','getValueIndex','concat','var','sheets-pivot.emptyPivot.column','sheets-pivot.cellDateGroupDisplay.yearQuarter','amd','document','rangeKeyMap','UpdatePivotValuePositionCommand','UpdatePivotTableSourceRangeCommand','_generateUniqueVersion','getFieldFormat','getDirtyInfo','_initPivotTextInfo','DrillDown','filterInfo','COMMAND','getSheetFeatureLimit','setPivotSort','sheets-pivot.emptyPivot.row','AsyncInterceptorManager','IConfigService','dataFields','oldMatrix','stdDevp','SetPivotCollapse','SetPivotFieldsConfigCommand','addPivotTable','filter','#b2b2b2','has','iterateFieldDim','PivotErrorTypeEnum','sheets-pivot.dateGroup.quarter','values','unshiftString','getAutoDisplayName','sheet.command.set-pivot-filter','Add','createLabelField','iterateField','sheets-pivot.config','handleAsyncResponse','SetSheetsFilterRangeMutation','getRowCount','sheets-pivot.value','_getAutoName','_initConfig','getLastCol','RemoveSheetCommand','cellValue','isDate','REF','handleMoveRange','setSubtotalType','viewData$','sortInfo','UniverProEnginePivot','setPivotCollapse','getFieldById','_initDataSendListener','hSa8lB6a\x20cb8m9OlB6a(LB8basb,\x20OSdLB87b9)\x20{\x20\x20\x20\x20lm9\x20{\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20LB8basbWah6pGmlKmmG9\x20=\x20LB8basb.sOLBl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x206mB0BagbssG0b\x20=\x20exr4.OGmsb(Gl6d(LB8basbWah6pGmlKmmG9[N]));\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!6mB0BagbssG0b.Sc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206mB0BagbssG0b.Sc\x20=\x204SQdbm(LB8basbWah6pGmlKmmG9[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20Bsw6m3bm\x20=\x20l9Ob6h\x20w6m3bm2L6dGLx86Ob\x20!==\x20\x27SacbhBabc\x27\x20&&\x20sbLh\x20BaslGa8b6h\x20w6m3bm2L6dGLx86Ob;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x2086albIl\x20=\x20Bsw6m3bm\x20?\x20sbLh\x20:\x20kBac6k;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0bw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[N]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0b\x20=\x2086albIl.__FbI__.slmBa0Bh9(QbssG0bw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmbw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[n]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmb\x20=\x2086albIl.__FbI__.slmBa0Bh9(sB0aGlSmbw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aJGLBc\x20=\x2086albIl.__5bmBh9__(sB0aGlSmb,\x20QbssG0b,\x20OSdLB87b9);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20c6QGBa\x20=\x206mB0BagbssG0b.cQ;\x20\x20\x20\x20\x20\x20\x20\x20hSa8lB6a\x20Bsq6QGBagGl8fBa0(6pGllbma,\x206F6sl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbma\x20=\x206pGllbma.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6sl\x20=\x206F6sl.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmapGmls\x20=\x20OGllbma.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slpGmls\x20=\x20f6sl.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!OGllbma.Ba8LScbs(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbma\x20===\x20f6sl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(OGllbmapGmls.Lba0lf\x20<\x20N\x20||\x20OGllbmapGmls[t]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20hGLsb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmaxShhBI\x20=\x20OGllbmapGmls.sLB8b(Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slxShhBI\x20=\x20f6slpGmls.sLB8b(-OGllbmapGmls.Lba0lf\x20+\x20Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbmaxShhBI\x20===\x20f6slxShhBI;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Lbl\x20c6QGBaJGLBc\x20=\x20(c6QGBa\x20&&\x20c6QGBa.Lba0lf)\x20?\x20c6QGBa.s6Qb((cQWlbQ)\x20=>\x20Bsq6QGBagGl8fBa0(cQWlbQ,\x20L68GlB6a.f6slaGQb))\x20:\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(L68GlB6a.f6slaGQb\x20===\x20\x27L68GLf6sl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20c6QGBaJGLBc\x20=\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x205GLBc\x20=\x20sB0aJGLBc\x20&&\x20c6QGBaJGLBc;\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x206mB0BagbssG0b,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Gl8f\x20(bmm6m)\x20{\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc:\x20hGLsb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setRangeKeyMap','RemoveSheetMutation','setPivotTableConfig','_collectionConfigModel','getCellMatrix','getFieldDataType','cellToRange','BadReference','random','sideEffectUpdateWorkerCache','registerCommand','AddPivotField','sheet.command.remove-pivot-field','fetchThroughInterceptors','dispose','addPivotField','sheet.mutation.add-pivot-field','_initLocale','getFullYear','pivotTableId','_featureCalculationManagerService','col','updateCollectionConfig','removeField','getRangeKeyList','RemovePivotFieldCommand','_exclusiveRangeService','updateRenderCache','needSameDeleteModel','DEFAULT_PIVOT_NUMBER','RemoveColMutation','getRangeKey','tableFieldId','RemoveSheetsFilterMutation','dataStream','20729910PxYPhD','collapseInfo','ErrorType','sheet.mutation.add-group-collection','uniqueDataFieldName','_viewData$','collection','getTextInfo','addRecord','addDataFieldWithoutUnitInfo','SetCollapse','getMatrix','getTargetByPivotTableId','sheets-pivot.cellDateGroupDisplay.yearMonthDate','areaInfo','sheet.mutation.send-init-pivot-text-local','_deleteModelCache','IUniverInstanceService','_initRemoveSheetCommandInterceptor','PivotDataFieldDataTypeEnum','SetRangeValuesUndoMutationFactory','BLANK_ROW_COUNT','Minute','getDataFieldManager','_resourceManagerService','Min\x20of\x20','addPivotTableWithConfig','body','sheets-pivot.cellDateGroupDisplay.hourMinute','getTextSize','_initRegisterCommand','pivotPerformCheck','minDate','updateDataFieldsCollection','register','subTotalStyle','_pivotRenderInfoCache','getColCount','parseInt','disposeWithMe','toStringTag','refreshGroupField','info','getMatrixValue','getSortInfo','PivotTable','FontCache','_fieldsCollectionChange$','RemovePivotField','getColumnWidth','subscribe','MonthDate','includes','sourceRangeInfo','valid','collectionConfig','SetPivotSetting','PivotView','_ensurePivotItemRenderValueMatrixCache','SetPivotOptionMutation','getFieldIds','@univerjs/sheets-filter','headerMap','dataFieldId','return\x20','updateValuePosition','Delete','InterceptorEffectEnum','collectionChange$','AddPivotTableWithConfig','sheets-pivot.other','_pivotTableInstanceCache','_pivotConfigChange$','_globalSubject','getSubUnitPivotMatrix','PivotViewCellValueTypeEnum','sheets-pivot.dateGroup.yearMonth','string','measure','sheets-pivot.dateGroup.month','StdDev\x20of\x20','_ensurePivotTableRangeInfo','UpdateDateGroupCommand','NAME','UniverInstanceType','setRangeValueRedoMutation','RefRangeService','RemovePivotFieldMutation','subUnitId','Div0','IUndoRedoService','Subtotal','MoveRangeMutation','generateMutationsByRanges','Varp\x20of\x20','endCollectChangeset','removeValueFilterInfo','getAutoFitColumnsMutations','updateFieldSourceInfo','PivotDataFieldTypeEnum','@univerjs/engine-formula','GrandTotal','getValue','formJSON','_pivotRenderValueMatrixCache','_refRangeHandle','setPivotSetting','valueFields','count','LS_CONFIG_KEY','SetPivotCollapseCommand','limit\x20pivot','getAutoDisplayNameFunction','getFieldInfo','from','AddPivotFieldCommand','rangeType','redos','UNIVER_SHEET','getViewData','options','SetPivotFieldFormatMutation','UpdateSource','DataSyncPrimaryController','ICommandService','SheetsPivotTableService','UpdateFieldPosition','getCurrentUnitForType','_globalComputedStartHelpFunc','pbt','setFieldFormat','removeSourceRangeChange','createValueField','rangeCache','pivotMutationGenerate','SetPivotValueFilterMutation','MovePivotField','sheets-pivot.blank','@univerjs-pro/engine-pivot','sheets-pivot.stdDevName','#eceeff','SheetsPivotDataSourceModel','setCollapse','pivotInitCompleted$','sheet.command.set-pivot-fields-config','realDeleteValue','pushUndoRedo','removeValueFilterInfoByValueFieldId','_pivotInitCompleted$','deleteUnitId','oldRangeInfo','6123224PDLEUm','sheets-pivot.emptyPivot.filter','SetPivotFilter','setValue','_sheetInterceptorService','UniverSheetsPivotTablePlugin','getDataFieldBySourceName','rgb(255,255,255)','getSheetId','9REFogG','pluginName','_globalComputingSrv','SHEET_PIVOT_TABLE_PLUGIN','#e6ebfa','getDataFieldItemInfo','resetArea','getSubUnitPivotRenderCache','startColumn','delete','addExclusiveRange','_refRangeService','Var\x20of\x20','column','pivotTableConfigs','SetPivotTableConfig','Set','map','colHeaderMap','_univerInstanceService','node','ResetPivotFieldsConfigCommand','Row','addDirtyPivotTable','fontRenderExtension','merge','_initViewModelBySheetInterceptor','NotName','dimension','createDataFieldId','valueIndex','UpdateValuePosition','InsertSheetUndoMutationFactory','slice','getRangeStartEndInfo','intersects','Average\x20of\x20','error','min','sum','getLastRow','SetWorksheetColWidthMutation','_init','rowFields','colStyle','getPivotTableInfo','lastRow'];_0x13ac=function(){return _0x2edb1f;};return _0x13ac();}function _0x2df4(_0x4840e4,_0x5153e6){const _0x13ac90=_0x13ac();return _0x2df4=function(_0x2df463,_0x512d48){_0x2df463=_0x2df463-0x8b;let _0x5e26c8=_0x13ac90[_0x2df463];return _0x5e26c8;},_0x2df4(_0x4840e4,_0x5153e6);}(function(_0x1df5aa,_0x5651db){const _0x4cfeb0=_0x2df4,_0x4b923f=_0x1df5aa();while(!![]){try{const _0x7bd3f2=-parseInt(_0x4cfeb0(0x2cb))/0x1+parseInt(_0x4cfeb0(0x23b))/0x2*(-parseInt(_0x4cfeb0(0x2bb))/0x3)+parseInt(_0x4cfeb0(0x349))/0x4+parseInt(_0x4cfeb0(0x357))/0x5+-parseInt(_0x4cfeb0(0x23f))/0x6*(parseInt(_0x4cfeb0(0x226))/0x7)+-parseInt(_0x4cfeb0(0x1b8))/0x8*(parseInt(_0x4cfeb0(0x1c1))/0x9)+-parseInt(_0x4cfeb0(0x121))/0xa*(-parseInt(_0x4cfeb0(0x380))/0xb);if(_0x7bd3f2===_0x5651db)break;else _0x4b923f['push'](_0x4b923f['shift']());}catch(_0x107e3a){_0x4b923f['push'](_0x4b923f['shift']());}}}(_0x13ac,0x6730b),function(_0x1d3407,_0x44e627){const _0x1b616d=_0x2df4;typeof exports==_0x1b616d(0x26d)&&typeof module<'u'?_0x44e627(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x1b616d(0x92)&&define[_0x1b616d(0xc5)]?define([_0x1b616d(0x268),_0x1b616d(0x1ab),_0x1b616d(0x320),_0x1b616d(0x185),'@univerjs/sheets',_0x1b616d(0x2ea),_0x1b616d(0x200),_0x1b616d(0x15e),_0x1b616d(0x254),_0x1b616d(0x34d)],_0x44e627):(_0x1d3407=typeof globalThis<'u'?globalThis:_0x1d3407||self,_0x44e627(_0x1d3407[_0x1b616d(0x3a8)]={},_0x1d3407[_0x1b616d(0xf9)],_0x1d3407[_0x1b616d(0x2f2)],_0x1d3407[_0x1b616d(0x29e)],_0x1d3407['UniverSheets'],_0x1d3407['rxjs'],_0x1d3407[_0x1b616d(0x368)],_0x1d3407['UniverSheetsFilter'],_0x1d3407[_0x1b616d(0x31c)],_0x1d3407['UniverEngineRender']));}(this,function(_0x5bf755,_0x2bd302,_0x288eb9,_0x1407f0,_0x2e27a8,_0x4e0a85,_0x1f3f39,_0x2bd9b2,_0x5e8e90,_0x232f9e){'use strict';const _0x42bb9f=_0x2df4;var _0x58da75=Object[_0x42bb9f(0x221)],_0x4d4db3=(_0x4324bd,_0x14b7ff,_0x4a0ff4)=>_0x14b7ff in _0x4324bd?_0x58da75(_0x4324bd,_0x14b7ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a0ff4}):_0x4324bd[_0x14b7ff]=_0x4a0ff4,_0x4fb07d=(_0x2d71dc,_0x47ba5a,_0x2f9f40)=>_0x4d4db3(_0x2d71dc,typeof _0x47ba5a!=_0x42bb9f(0x2b8)?_0x47ba5a+'':_0x47ba5a,_0x2f9f40);const _0x5a170e=Number[_0x42bb9f(0x147)](0x68f8bce8),_0x4b3044=0x10,_0x2e2372=0x1,_0xd0f9a3=_0x42bb9f(0x1c4),_0x4bce21=0x1,_0x2e8319=_0x42bb9f(0x359),_0x2d3e12=_0x42bb9f(0x1bf),_0x116e50=_0x42bb9f(0xdd),_0x37cce2=_0x42bb9f(0x2e5),_0x340010=_0x42bb9f(0x2e5),_0x233ff6=_0x42bb9f(0x1ad),_0x92e83d=_0x42bb9f(0x348),_0x5e7fa5=_0x42bb9f(0x220),_0x31a869=_0x42bb9f(0x1c5),_0x950de3=_0x42bb9f(0x348),_0x4c5604=_0x42bb9f(0x220),_0x2d33f2=_0x42bb9f(0x1f0),_0x154bf2=0xe,_0x34f04a=0x6;var _0x1caed1=(_0x561e06=>(_0x561e06['Existing']=_0x42bb9f(0x2bc),_0x561e06[_0x42bb9f(0x3aa)]='new',_0x561e06))(_0x1caed1||{});const _0x2e2884={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','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':''}}},_0x29e418=0x1e,_0x4b7cb3={'b':{'s':0x1,'cl':{'rgb':_0x116e50}},'l':{'s':0x1,'cl':{'rgb':_0x116e50}},'r':{'s':0x1,'cl':{'rgb':_0x116e50}},'t':{'s':0x1,'cl':{'rgb':_0x116e50}}},_0x2a3703={'bg':{'rgb':_0x2e8319},'ht':0x2,'vt':0x2,'tb':0x1},_0xd6e504={'bg':{'rgb':_0x2d3e12},'ht':0x2,'vt':0x2,'tb':0x1},_0x1b6d0b={'rowStyle':{'bg':{'rgb':_0x2d33f2},'bd':_0x4b7cb3,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x950de3},'bd':null,'cl':{'rgb':_0x4c5604},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x31a869},'vt':0x2},'cornerStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x233ff6},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x37cce2},'vt':0x2},'leafStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x340010},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x92e83d},'cl':{'rgb':_0x5e7fa5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x4b7cb3,'vt':0x2}};function _0x5eb995(_0x1a3392,_0x2a4d57,_0x4d307f){const _0x344396=_0x42bb9f,_0x38ab36=_0x1a3392[_0x344396(0x239)](_0x288eb9[_0x344396(0x391)]),_0xd21c0=_0x4d307f[_0x344396(0x3a3)]('_');switch(_0x2a4d57){case _0x2bd302[_0x344396(0x8e)][_0x344396(0x310)]:return _0x38ab36['t'](_0x344396(0x2de),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x137)]:return _0x38ab36['t'](_0x344396(0x9d),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x24c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)]['HourMinute']:return _0x38ab36['t'](_0x344396(0x13d),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x2a4)]:return _0x38ab36['t'](_0x344396(0x3a5),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x34c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.month',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x32c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x322)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0xd21c0);case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x344396(0x234)]:return _0x38ab36['t'](_0x344396(0x12e),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)]['YearQuarter']:return _0x38ab36['t'](_0x344396(0xc4),..._0xd21c0);}return'';}const _0x2e49c0=(_0x64af7d,_0x3f89e4,_0x3488d7,_0x24abc4)=>{const _0x51494b=_0x42bb9f;let _0x43f876;const _0xe08c92=_0x64af7d[_0x51494b(0x239)](_0x288eb9[_0x51494b(0x132)])[_0x51494b(0x1a0)](_0x288eb9[_0x51494b(0x175)][_0x51494b(0x197)]);if(!_0xe08c92)return null;const _0x1efaea=_0xe08c92[_0x51494b(0xa4)]();let _0x5eb7a3;if(_0x3488d7&&(_0x5eb7a3=_0x1efaea[_0x51494b(0x1bb)](_0x3488d7)),_0x3f89e4!=null&&_0x3f89e4['v']||(_0x3f89e4==null?void 0x0:_0x3f89e4['v'])===0x0){_0x43f876||(_0x43f876={});const _0x58c95d=_0x350af0(_0x3f89e4['v']);typeof _0x58c95d=='number'?_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x2d3)]:typeof _0x58c95d=='string'&&(_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x38c)]),_0x43f876['v']=_0x58c95d;}if((_0x3f89e4!=null&&_0x3f89e4['i']||(_0x3f89e4==null?void 0x0:_0x3f89e4['i'])===0x0)&&(_0x43f876||(_0x43f876={}),_0x43f876['fi']=_0x3f89e4['i']),_0x3f89e4!=null&&_0x3f89e4['s']&&(_0x43f876||(_0x43f876={}),_0x43f876['pbt']=_0x3f89e4['s']),_0x3488d7&&(_0x43f876||(_0x43f876={}),_0x43f876['s']=_0x5eb7a3),_0x24abc4&&_0x43f876!=null&&_0x43f876['v']&&_0x43f876[_0x51494b(0x1a2)]!==_0x2bd302[_0x51494b(0x227)][_0x51494b(0x186)]&&_0x43f876[_0x51494b(0x1a2)]!==_0x2bd302[_0x51494b(0x227)][_0x51494b(0x17c)]){const _0x1dc778=String(_0x43f876['v']),{dateType:_0x2f421f}=_0x24abc4;_0x43f876['v']=_0x5eb995(_0x64af7d,_0x2f421f,_0x1dc778),_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x38c)];}return _0x43f876;},_0x22a312=(_0x6eee86,_0x4e8d42,_0x428849,_0x124db0)=>{const _0x5b2726=_0x42bb9f;var _0x2e113c,_0x2eb8ad,_0x5a19b1,_0x304705,_0x2b6d73,_0x4a0b3d,_0x2446fa,_0xddcba0,_0x35091b,_0x3caf04,_0x2ccd6c,_0x13474c,_0x26f404,_0x19066b;const _0x493d84=_0x428849[_0x5b2726(0x242)],{cornerView:_0x22f424,rowView:_0x3ec4e3,colView:_0xf32b2e,dataView:_0x327ef9,pageView:_0xc9e41a,formatMap:_0xa1ae38,groupInfo:_0x2d8934}=_0x4e8d42,{row:_0x28845e,col:_0x402c59}=_0x493d84,_0x435c6d=new _0x288eb9[(_0x5b2726(0x280))](),_0x120358={},_0x2bd525={},_0x436548={},_0x1946b8={},_0x57223c={};let _0xce9de0=_0x28845e,_0x15d301=_0x402c59;Object[_0x5b2726(0x237)](_0xc9e41a['data'])[_0x5b2726(0x36d)](_0x5bda03=>{const _0x4b2075=_0x5b2726;Object[_0x4b2075(0x237)](_0xc9e41a[_0x4b2075(0x2c4)][Number(_0x5bda03)])[_0x4b2075(0x36d)](_0x5d43bd=>{const _0x18102b=_0x4b2075,_0x25d900={..._0xc9e41a[_0x18102b(0x2c4)][Number(_0x5bda03)][Number(_0x5d43bd)]};_0x435c6d[_0x18102b(0x1bb)](Number(_0x5bda03)+_0xce9de0,Number(_0x5d43bd)+_0x15d301,_0x2e49c0(_0x6eee86,_0x25d900,_0x1b6d0b[_0x18102b(0xa7)]));});});const _0xdecd73=Object['keys'](_0xc9e41a[_0x5b2726(0x2c4)])['length'];_0xce9de0+=_0xdecd73+(_0xdecd73?_0x4bce21:0x0);const _0x3cf2c0=_0x22f424[_0x5b2726(0xec)](),_0x501012=_0x22f424['getColCount']();for(let _0x54997c=0x0;_0x54997c<_0x3cf2c0;_0x54997c++)for(let _0x41abd4=0x0;_0x41abd4<_0x501012;_0x41abd4++){const _0x33aaaf={...(_0x2eb8ad=(_0x2e113c=_0x22f424[_0x5b2726(0x2c4)])==null?void 0x0:_0x2e113c[_0x54997c])==null?void 0x0:_0x2eb8ad[_0x41abd4]};_0x33aaaf&&((_0x5a19b1=_0x3ec4e3[_0x5b2726(0x15f)][_0x41abd4])!=null&&_0x5a19b1['isValue'])&&_0x41abd4===_0x501012-0x1&&_0x54997c===_0x3cf2c0-0x1&&(_0x33aaaf['v']=''+_0x124db0[_0x5b2726(0xed)]),_0x435c6d['setValue'](_0x54997c+_0xce9de0,_0x41abd4+_0x15d301,_0x2e49c0(_0x6eee86,_0x33aaaf,_0x1b6d0b[_0x5b2726(0x302)]));}for(let _0x5b90c4=0x0;_0x5b90c4<_0x22f424[_0x5b2726(0x14b)]['length'];_0x5b90c4++)_0x22f424[_0x5b2726(0x14b)][_0x5b90c4]&&(_0x436548[''+(_0x5b90c4+_0x15d301)]=_0x22f424[_0x5b2726(0x14b)][_0x5b90c4]);_0x15d301+=_0x501012;const _0x357eaa=_0xf32b2e[_0x5b2726(0x15f)],_0x55719e=_0xf32b2e[_0x5b2726(0x1e9)]()>=0x0?_0xf32b2e[_0x5b2726(0x1e9)]()+0x1:0x0,_0x4d4b47=_0xf32b2e['getLastCol']()>=0x0?_0xf32b2e['getLastCol']()+0x1:0x0;for(let _0x2c169d=0x0;_0x2c169d<_0x4d4b47;_0x2c169d++){for(let _0x2cd82d=0x0;_0x2cd82d<_0x55719e;_0x2cd82d++){const _0x5c70f4={...(_0x2b6d73=(_0x304705=_0xf32b2e['data'])==null?void 0x0:_0x304705[_0x2cd82d])==null?void 0x0:_0x2b6d73[_0x2c169d]},_0x21f044=(_0x4a0b3d=_0x357eaa[_0x2cd82d])==null?void 0x0:_0x4a0b3d[_0x5b2726(0x11e)],_0x53220a=_0xa1ae38[_0x21f044],_0x20e9ac=_0x2d8934[_0x21f044];_0x5c70f4&&(_0x5c70f4['v']=_0x2ee935(_0x5c70f4,_0x2cd82d===0x0&&((_0x2446fa=_0xf32b2e['getHeaderMapItem'](_0x2c169d+0x1))==null?void 0x0:_0x2446fa[_0x5b2726(0x278)]),_0x53220a,_0x124db0));let _0x4259f3;_0x53220a?_0x4259f3={..._0x1b6d0b[_0x5b2726(0x1ed)],'n':{'pattern':_0x53220a}}:_0x4259f3={..._0x1b6d0b[_0x5b2726(0x1ed)]},_0x435c6d['setValue'](_0x2cd82d+_0xce9de0,_0x2c169d+_0x15d301,_0x2e49c0(_0x6eee86,_0x5c70f4,_0x4259f3,_0x20e9ac));}_0xf32b2e[_0x5b2726(0x14b)][_0x2c169d]&&(_0x2bd525[''+(_0x2c169d+_0x15d301)]=_0xf32b2e[_0x5b2726(0x14b)][_0x2c169d]),_0xf32b2e['headerMap'][_0x2c169d+0x1]&&(_0x57223c[''+(_0x2c169d+_0xce9de0+0x1)]=_0xf32b2e[_0x5b2726(0x15f)][_0x2c169d+0x1]);}_0xce9de0+=_0x3cf2c0;const _0x5ce67f=_0x3ec4e3['headerMap'],_0x2a301b=_0x3ec4e3['getLastRow']()>=0x0?_0x3ec4e3[_0x5b2726(0x1e9)]()+0x1:0x0,_0x3739be=_0x3ec4e3[_0x5b2726(0xf0)]()>=0x0?_0x3ec4e3[_0x5b2726(0xf0)]()+0x1:0x0;for(let _0x3f6c29=0x0;_0x3f6c29<_0x2a301b;_0x3f6c29++){for(let _0xe9d05d=0x0;_0xe9d05d<_0x3739be;_0xe9d05d++){const _0x409138={...(_0x35091b=(_0xddcba0=_0x3ec4e3[_0x5b2726(0x2c4)])==null?void 0x0:_0xddcba0[_0x3f6c29])==null?void 0x0:_0x35091b[_0xe9d05d]},_0xc7427d=(_0x3caf04=_0x5ce67f[_0xe9d05d])==null?void 0x0:_0x3caf04[_0x5b2726(0x11e)],_0xe53898=_0xa1ae38[_0xc7427d],_0x2c8766=_0x2d8934[_0xc7427d];_0x409138&&(_0x409138['v']=_0x2ee935(_0x409138,!0x1,_0xe53898,_0x124db0));let _0x13ec2f;_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x207)]===_0x3ec4e3['getColCount']()?_0x13ec2f=_0x1b6d0b[_0x5b2726(0x3b1)]:_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x39a)]?_0x13ec2f=_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x207)]===0x0?_0x1b6d0b[_0x5b2726(0x335)]:_0x1b6d0b[_0x5b2726(0x144)]:_0x13ec2f=_0x1b6d0b['rowStyle'],_0xe53898&&(_0x13ec2f={..._0x13ec2f,'n':{'pattern':_0xe53898}}),_0x435c6d[_0x5b2726(0x1bb)](_0x3f6c29+_0xce9de0,_0xe9d05d+_0x402c59,_0x2e49c0(_0x6eee86,_0x409138,_0x13ec2f,_0x2c8766));}_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29]&&(_0x120358[''+(_0x3f6c29+_0xce9de0)]=_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29]),_0x3ec4e3['headerMap'][_0x3f6c29]&&(_0x1946b8[''+(_0x3f6c29+_0x402c59)]=_0x3ec4e3[_0x5b2726(0x15f)][_0x3f6c29]);}const _0x5cbd0d=_0x327ef9[_0x5b2726(0xec)](),_0x4b9291=_0x327ef9[_0x5b2726(0x146)]();for(let _0x1c499d=0x0;_0x1c499d<_0x5cbd0d;_0x1c499d++)for(let _0x3abe81=0x0;_0x3abe81<_0x4b9291;_0x3abe81++){const _0x49c420={...(_0x13474c=(_0x2ccd6c=_0x327ef9[_0x5b2726(0x2c4)])==null?void 0x0:_0x2ccd6c[_0x1c499d])==null?void 0x0:_0x13474c[_0x3abe81]};let _0x36bdd2;_0x3ec4e3[_0x5b2726(0x14b)][_0x1c499d][_0x5b2726(0x39a)]?_0x36bdd2=_0x3ec4e3['info'][_0x1c499d][_0x5b2726(0x207)]===0x0?_0x1b6d0b[_0x5b2726(0x335)]:_0x1b6d0b['subTotalStyle']:_0x36bdd2=_0x1b6d0b[_0x5b2726(0x210)];const _0x5b4d7d=_0x3ec4e3['info'][_0x1c499d][_0x5b2726(0x1df)],_0x297944=_0xf32b2e[_0x5b2726(0x14b)][_0x3abe81][_0x5b2726(0x1df)],_0x29653a=Math[_0x5b2726(0x2e9)](_0x5b4d7d,_0x297944),_0x4aba72=_0x428849[_0x5b2726(0x313)][_0x5b2726(0x18c)][_0x5b2726(0xc1)]();let _0x5ad5c6='';_0x29653a<0x0?_0x5ad5c6=(_0x26f404=_0x4aba72[0x0])!=null?_0x26f404:'':_0x5ad5c6=(_0x19066b=_0x4aba72[_0x29653a])!=null?_0x19066b:'';const _0x3eb82d=_0xa1ae38[_0x5ad5c6];_0x3eb82d&&(_0x36bdd2={..._0x36bdd2,'n':{'pattern':_0x3eb82d}}),_0x435c6d[_0x5b2726(0x1bb)](_0x1c499d+_0xce9de0,_0x3abe81+_0x15d301,_0x2e49c0(_0x6eee86,_0x49c420,_0x36bdd2));}return{'valueMatrix':_0x435c6d,'rowInfo':_0x120358,'colInfo':_0x2bd525,'cornerInfo':_0x436548,'rowHeaderMap':_0x1946b8,'colHeaderMap':_0x57223c};};function _0x2ee935(_0x206c92,_0x7b0b83,_0x3c0d75,_0x551d55){const _0xf72c4d=_0x42bb9f;let _0x18a101=_0x206c92['v'];_0x7b0b83&&(_0x18a101=''+_0x551d55[_0xf72c4d(0xed)]);const _0x182216=_0x206c92['t']&&(_0x206c92['t']&_0x2bd302[_0xf72c4d(0x16c)][_0xf72c4d(0x31f)])>0x0;_0x182216&&(_0x18a101=''+_0x551d55[_0xf72c4d(0x1aa)]);const _0x23a8a0=_0x206c92['t']&&(_0x206c92['t']&_0x2bd302['PivotViewCellValueTypeEnum']['other'])>0x0;if(_0x23a8a0&&(_0x18a101=''+_0x551d55[_0xf72c4d(0x167)]),_0x206c92['s']===_0x2bd302[_0xf72c4d(0x227)][_0xf72c4d(0x17c)]){let _0x3ea525=_0x18a101,_0x281460='';_0x2bd302[_0xf72c4d(0x3b0)](_0x18a101)&&(_0x3ea525=_0x18a101[_0xf72c4d(0x275)],_0x281460=_0x18a101[_0xf72c4d(0x2d0)]);const _0x257269=_0x3c0d75&&!_0x182216&&!_0x23a8a0?_0x288eb9[_0xf72c4d(0xb5)][_0xf72c4d(0x2da)](_0x3c0d75,Number(_0x3ea525)):_0x3ea525;_0x281460?_0x18a101=_0x257269+'\x20'+_0x281460:_0x18a101=_0x257269+'\x20'+_0x551d55['sheets-pivot.subTotal'];}else _0x206c92['s']===_0x2bd302[_0xf72c4d(0x227)][_0xf72c4d(0x186)]&&(_0x18a101=_0x18a101+'\x20'+_0x551d55[_0xf72c4d(0x2c3)]);return _0x18a101;}function _0x350af0(_0x244456){const _0x109892=_0x42bb9f;if(_0x2bd302['isErrorValue'](_0x244456)){const {errorType:_0x2fec10}=_0x244456;switch(_0x2fec10){case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x17a)]:return _0x1407f0[_0x109892(0x123)]['DIV_BY_ZERO'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x361)]:return _0x1407f0[_0x109892(0x123)]['NUM'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x291)]:return _0x1407f0[_0x109892(0x123)]['NAME'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x1dc)]:return _0x1407f0[_0x109892(0x123)][_0x109892(0x174)];case _0x2bd302[_0x109892(0xe0)][_0x109892(0x105)]:return _0x1407f0[_0x109892(0x123)][_0x109892(0xf4)];}}return _0x244456;}function _0x2b2601(_0x58cbb5,_0x2c0990,_0x1d6f07=!0x1,_0xf95cf8=!0x1){const _0x3b86a7=_0x42bb9f,{data:_0x3119a9}=_0x2c0990,_0x429aec=_0x2c0990[_0x3b86a7(0xec)](),_0x4631bb=_0x2c0990[_0x3b86a7(0x146)]();if(_0x429aec<=0x0||_0x4631bb<=0x0)return[];const _0x1a0917=_0x2c0990['getLastCol'](),_0x102863=_0x2c0990[_0x3b86a7(0x1e9)](),_0x3e792c=_0xf95cf8?_0x102863>=0x0?_0x102863+0x1:0x0:_0x429aec,_0x479ae0=_0xf95cf8?_0x1a0917>=0x0?_0x1a0917+0x1:0x0:_0x4631bb,{row:_0x557fcc,col:_0x4b6f51}=_0x58cbb5,_0x367c31=_0x557fcc,_0x408e54=_0x4b6f51;if(_0x1d6f07){const _0x3e1d59=[];for(const [_0x2ecc20,_0x566b08]of Object['entries'](_0x3119a9))for(const [_0x404da2,_0x1a4f22]of Object['entries'](_0x566b08))_0x3e1d59['push'](_0x288eb9[_0x3b86a7(0x104)](_0x367c31+Number(_0x2ecc20),_0x408e54+Number(_0x404da2)));return _0x3e1d59;}else{const _0x4beb5c=_0xf95cf8?_0x3e792c>0x0?0x1:0x0:0x1,_0x5b0e56=_0xf95cf8?_0x479ae0>0x0?0x1:0x0:0x1,_0x45ab4f=_0x557fcc+_0x3e792c-_0x4beb5c,_0x14b114=_0x4b6f51+_0x479ae0-_0x5b0e56;return[{'startRow':_0x367c31,'startColumn':_0x408e54,'endRow':_0x45ab4f,'endColumn':_0x14b114}];}}const _0x34280f=_0x42bb9f(0x28a),_0x1f2a8b=_0x42bb9f(0x345);var _0x5e3388=(_0x4d67af=>(_0x4d67af[_0x42bb9f(0x328)]=_0x42bb9f(0xdc),_0x4d67af[_0x42bb9f(0x2ad)]=_0x42bb9f(0x378),_0x4d67af[_0x42bb9f(0x109)]=_0x42bb9f(0x10d),_0x4d67af[_0x42bb9f(0x166)]=_0x42bb9f(0x166),_0x4d67af[_0x42bb9f(0x2ba)]=_0x42bb9f(0xdb),_0x4d67af[_0x42bb9f(0x1a9)]=_0x42bb9f(0xb0),_0x4d67af[_0x42bb9f(0x151)]=_0x42bb9f(0xb1),_0x4d67af[_0x42bb9f(0xd9)]='setPivotCollapse',_0x4d67af[_0x42bb9f(0x1ba)]=_0x42bb9f(0xa5),_0x4d67af['SetPivotSort']=_0x42bb9f(0xd2),_0x4d67af[_0x42bb9f(0x159)]=_0x42bb9f(0x18b),_0x4d67af['UpdatePivotSource']='updatePivotSource',_0x4d67af[_0x42bb9f(0x1e0)]=_0x42bb9f(0x162),_0x4d67af[_0x42bb9f(0xce)]='drillDown',_0x4d67af[_0x42bb9f(0x323)]=_0x42bb9f(0x1fd),_0x4d67af[_0x42bb9f(0x1d0)]=_0x42bb9f(0x100),_0x4d67af[_0x42bb9f(0x316)]=_0x42bb9f(0x29b),_0x4d67af))(_0x5e3388||{});const _0x183b6d={'sheets-pivot.blankValue':_0x42bb9f(0x2f7),'sheets-pivot.columnName':_0x42bb9f(0x206),'sheets-pivot.subTotalText':_0x42bb9f(0x27a),'sheets-pivot.grandTotalText':_0x42bb9f(0xaa),'sheets-pivot.valueText':_0x42bb9f(0x34e),'sheets-pivot.averageName':_0x42bb9f(0x1e5),'sheets-pivot.countName':_0x42bb9f(0x26b),'sheets-pivot.countNumsName':_0x42bb9f(0x26b),'sheets-pivot.maxName':_0x42bb9f(0x20a),'sheets-pivot.minName':_0x42bb9f(0x13a),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x42bb9f(0x171),'sheets-pivot.stdDevpName':_0x42bb9f(0x21a),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x42bb9f(0x1cd),'sheets-pivot.varpName':_0x42bb9f(0x17f),'sheets-pivot.subTotal':_0x42bb9f(0x17c),'sheets-pivot.grandTotal':_0x42bb9f(0xaa),'sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':_0x42bb9f(0x328),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x42bb9f(0x2b9),'sheets-pivot.emptyPivot.values':_0x42bb9f(0x2af)},_0x3a0a88={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x5ce99e=_0x288eb9[_0x42bb9f(0x2b6)](_0x42bb9f(0x140)),_0x1ab638=_0x288eb9[_0x42bb9f(0x30b)](_0x42bb9f(0x1a7));var _0x521660=(_0x15e91b=>(_0x15e91b['add']='add',_0x15e91b['delete']=_0x42bb9f(0x1ca),_0x15e91b[_0x42bb9f(0x307)]=_0x42bb9f(0x307),_0x15e91b))(_0x521660||{}),_0x2de5fe=(_0x4e6a9c=>(_0x4e6a9c[_0x42bb9f(0xe6)]='add',_0x4e6a9c[_0x42bb9f(0x1d1)]=_0x42bb9f(0x22c),_0x4e6a9c[_0x42bb9f(0x163)]=_0x42bb9f(0x1ca),_0x4e6a9c))(_0x2de5fe||{});const _0x459da1={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':_0x42bb9f(0x3ae),'handler':()=>!0x0},_0x37b8d8={'type':_0x288eb9['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x1b400c={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5d1784={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x157f7e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x130),'handler':()=>!0x0};var _0x266704=Object[_0x42bb9f(0x235)],_0x3f2eb0=(_0x3bd5f8,_0x241a1d,_0x4f1ae4,_0x3b13e1)=>{for(var _0x5424db=_0x3b13e1>0x1?void 0x0:_0x3b13e1?_0x266704(_0x241a1d,_0x4f1ae4):_0x241a1d,_0x17dbfc=_0x3bd5f8['length']-0x1,_0x3b92ad;_0x17dbfc>=0x0;_0x17dbfc--)(_0x3b92ad=_0x3bd5f8[_0x17dbfc])&&(_0x5424db=_0x3b92ad(_0x5424db)||_0x5424db);return _0x5424db;},_0x52d011=(_0x2a5fcf,_0x5e7e3d)=>(_0x5f0c85,_0x2a0b12)=>_0x5e7e3d(_0x5f0c85,_0x2a0b12,_0x2a5fcf);_0x5bf755['SheetsPivotRPCService']=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x8a08c8){const _0x3a5c7f=_0x42bb9f;super(),_0x4fb07d(this,_0x3a5c7f(0x290),new Map()),this[_0x3a5c7f(0x370)]=_0x8a08c8;}['handleAsyncResponse'](_0x290027){const _0x3037e2=_0x42bb9f,{version:_0x3a2639}=_0x290027,_0x4959c1=this['_requestResolvers'][_0x3037e2(0x239)](_0x3a2639);_0x4959c1&&(_0x4959c1(_0x290027),this[_0x3037e2(0x290)][_0x3037e2(0x1ca)](_0x3a2639));}[_0x42bb9f(0x2eb)](_0x5bb1c2){return new Promise((_0x387d52,_0x395fca)=>{const _0x259970=_0x2df4,_0x495fcb=this[_0x259970(0xca)]();this[_0x259970(0x290)][_0x259970(0x22c)](_0x495fcb,_0x387d52),this[_0x259970(0x370)][_0x259970(0x9e)](_0x459da1['id'],{'version':_0x495fcb,..._0x5bb1c2},{'onlyLocal':!0x0});});}[_0x42bb9f(0xca)](){const _0x5b2092=_0x42bb9f;return Math[_0x5b2092(0x106)]()[_0x5b2092(0x30a)](0x24)[_0x5b2092(0x24b)](0x2,0x10);}},_0x5bf755['SheetsPivotRPCService']=_0x3f2eb0([_0x52d011(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)]))],_0x5bf755[_0x42bb9f(0x330)]);const _0x2b3b30={0x0:'g',0x1:'C',0x2:'G',0x3:'k',0x4:'N',0x5:'v',0x6:'o',0x7:'K',0x8:'c',0x9:'y','t':'0','Z':'1','N':'2','n':'3','v':'4','R':'5','X':'6','y':'7','P':'8','U':'9','G':'a','d':'b','c':'d','b':'e','h':'f','f':'h','B':'i','T':'j','L':'l','Q':'m','a':'n','O':'p','A':'q','m':'r','s':'s','l':'t','S':'u','k':'w','I':'x','o':'z','K':'A','E':'B','q':'D','H':'E','u':'F','F':'H','W':'I','e':'J','D':'L','g':'M','r':'O','p':'P','Y':'Q','z':'R','x':'S','V':'T','C':'U','J':'V','w':'W','i':'X','j':'Y','M':'Z'},_0x458ac8=_0x42bb9f(0xfd),_0xff2d2d=_0x7179cd=>{const _0x59f9f5=_0x42bb9f;var _0x135886;return((_0x135886=_0x7179cd[_0x59f9f5(0x13c)])==null?void 0x0:_0x135886[_0x59f9f5(0x120)][_0x59f9f5(0x2a9)](/\r\n$/,''))||'';};class _0x1d076f extends _0x2bd302[_0x42bb9f(0x334)]{constructor(_0x2171f8,_0x4a6014){const _0x1d76bf=_0x42bb9f;super(),_0x4fb07d(this,_0x1d76bf(0xc7),{}),_0x4fb07d(this,_0x1d76bf(0x1d4)),_0x4fb07d(this,_0x1d76bf(0x2c5)),(this[_0x1d76bf(0x1d4)]=_0x4a6014,this[_0x1d76bf(0x2c5)]=_0x2171f8);}[_0x42bb9f(0x284)](){const _0x4f2c51=_0x42bb9f;for(const _0x35290b in this[_0x4f2c51(0xd6)]){const _0x1021c7=this[_0x4f2c51(0xd6)][_0x35290b],_0x1a01e3=_0x1021c7['getRangeKey']();this[_0x4f2c51(0xc7)][_0x1a01e3]=_0x1021c7[_0x4f2c51(0x37c)]();}}['getAutoDisplayNameFunction'](){const _0x4d89c3=_0x42bb9f,_0xe82afe=this['_host'];return _0x346465[_0x4d89c3(0xb3)](_0xe82afe);}['deleteDataField'](_0x5c76d8){const _0x3435cb=_0x42bb9f,_0x8b2806=this[_0x3435cb(0xd6)][_0x5c76d8][_0x3435cb(0x216)];delete this[_0x3435cb(0xd6)][_0x5c76d8],delete this[_0x3435cb(0xc7)][_0x8b2806];}['addDataFieldWithoutUnitInfo'](_0x2650c3){const _0x23fec5=_0x42bb9f;this[_0x23fec5(0xd6)][_0x2650c3[_0x23fec5(0x37c)]()]=_0x2650c3;}['removeCollectionImp'](_0x40e134){const _0x2bd51c=_0x42bb9f;var _0x36ab6e,_0x516dbe;const _0x764166=this[_0x2bd51c(0x2c5)][_0x2bd51c(0x33f)](_0x40e134);if(_0x764166){const {unitId:_0xde6593,subUnitId:_0x183a04}=_0x764166,_0x4a6275=(_0x36ab6e=this[_0x2bd51c(0x2c5)][_0x2bd51c(0x9b)](_0xde6593,_0x183a04,_0x40e134))==null?void 0x0:_0x36ab6e[_0x2bd51c(0x156)];this[_0x2bd51c(0x2c5)][_0x2bd51c(0x233)]({'token':_0x40e134,'type':_0x521660['delete'],'dataRangeInfo':_0x4a6275});}(_0x516dbe=this[_0x2bd51c(0x2c8)](_0x40e134))==null||_0x516dbe[_0x2bd51c(0x10c)](),delete this[_0x2bd51c(0x211)][_0x40e134];}[_0x42bb9f(0x11d)](_0x2f845d,_0x988839){const _0xe62b90=_0x42bb9f,{sheetName:_0x4cf04d,unitId:_0x264163,range:_0x3ed6be}=_0x2f845d,{startRow:_0x4a1463,endRow:_0x5588a3}=_0x3ed6be;return _0x1407f0[_0xe62b90(0x2ae)](_0x264163,_0x4cf04d,{'startRow':_0x4a1463,'endRow':_0x5588a3,'startColumn':_0x988839,'endColumn':_0x988839});}['getDataFieldByRangeKey'](_0x3bf6a3){const _0x306fcc=_0x42bb9f;return this[_0x306fcc(0xd6)][this[_0x306fcc(0xc7)][_0x3bf6a3]];}[_0x42bb9f(0xfe)](_0x20ff70,_0x1a8f1d){this['rangeKeyMap'][_0x20ff70]=_0x1a8f1d;}[_0x42bb9f(0x37a)](_0x1a3ea5,_0x280a65){const _0x4ebd26=_0x42bb9f;this['rangeKeyMap'][_0x280a65]=this[_0x4ebd26(0xc7)][_0x1a3ea5],delete this['rangeKeyMap'][_0x1a3ea5];}[_0x42bb9f(0x3a0)](_0x234b41,_0x3f4036,_0x3cd614,_0x4ea24c){const _0x4427c9=_0x42bb9f,_0x1a39c2=new _0x2bd302[(_0x4427c9(0x319))](this);_0x1a39c2['fromJSON'](_0x3f4036);const _0x1650da=[];let _0x3859a6=0x0;for(const _0x48276f of _0x1a39c2[_0x4427c9(0x2e0)]){const _0x270915=this[_0x4427c9(0x11d)](_0x3cd614,_0x3859a6),_0x463d77=this[_0x4427c9(0xd6)][_0x48276f];_0x463d77&&(_0x463d77[_0x4427c9(0x216)]=_0x270915,this['setRangeKeyMap'](_0x270915,_0x48276f),_0x1650da['push']({'index':_0x3859a6,'dataField':_0x463d77})),_0x3859a6++;}return this[_0x4427c9(0xaf)](_0x234b41,_0x1a39c2,_0x3cd614,_0x4ea24c),{'collection':_0x1a39c2,'updateDataFieldList':_0x1650da};}[_0x42bb9f(0x1e3)](_0x227d36,_0xbc6032){const _0x3c962b=_0x42bb9f;return _0x227d36[_0x3c962b(0x195)]===_0x288eb9[_0x3c962b(0x231)][_0x3c962b(0x340)]?{'startRow':0x0,'startColumn':_0x227d36[_0x3c962b(0x1c9)],'endRow':_0xbc6032[_0x3c962b(0xec)]()-0x1,'endColumn':_0x227d36['endColumn']}:{'startRow':_0x227d36[_0x3c962b(0x36a)],'startColumn':_0x227d36[_0x3c962b(0x1c9)],'endRow':_0x227d36[_0x3c962b(0x241)],'endColumn':_0x227d36['endColumn']};}[_0x42bb9f(0x35b)](_0x140e74){const _0xf3624e=_0x42bb9f,{sheetName:_0x2d57aa,range:_0x1e677d}=_0x140e74,_0x1a9ca6=this[_0xf3624e(0x1d4)][_0xf3624e(0x1a0)](_0x288eb9[_0xf3624e(0x175)]['UNIVER_SHEET']),_0x40e2fe=_0x1a9ca6[_0xf3624e(0x2d2)](_0x2d57aa),_0x529964=_0x40e2fe[_0xf3624e(0x102)](),{startColumn:_0x4d16e5,startRow:_0x4961ad,endColumn:_0x41716b}=this[_0xf3624e(0x1e3)](_0x1e677d,_0x40e2fe),_0x105d66=_0x1a9ca6['getStyles'](),_0x1dc98d=new _0x2bd302[(_0xf3624e(0x319))](this);_0x1dc98d[_0xf3624e(0x35e)](_0x140e74);const _0x3b6e9f=[],_0x1ce5dd={};for(let _0x2d14a2=_0x4d16e5;_0x2d14a2<=_0x41716b;_0x2d14a2++){const _0x321849=_0x529964[_0xf3624e(0x187)](_0x4961ad,_0x2d14a2),_0x4b72af=this['getRangeKey'](_0x140e74,_0x2d14a2),_0x437e5e=this[_0xf3624e(0x27c)](_0x4b72af);if(_0x437e5e)_0x1dc98d[_0xf3624e(0x2e4)](_0x437e5e[_0xf3624e(0x37c)](),_0x437e5e['getName']());else{const _0x41db3b=this[_0xf3624e(0x1de)]();let _0x29d9e3=this[_0xf3624e(0x2fb)](_0x321849,_0x105d66,_0x1ce5dd);_0x2bd302[_0xf3624e(0xac)](_0x29d9e3)&&(_0x29d9e3=_0x288eb9[_0xf3624e(0xb5)][_0xf3624e(0x2da)](_0x29d9e3['f'],Number(_0x29d9e3['v'])));const _0x4dbad6=this[_0xf3624e(0x125)](_0x29d9e3,_0x2d14a2),_0xa7bfff=new _0x2bd302[(_0xf3624e(0x372))](_0x41db3b,_0x4dbad6,_0x2bd302['generateHexNumber'](0x3));_0xa7bfff[_0xf3624e(0x216)]=_0x4b72af,this[_0xf3624e(0xd6)][_0x41db3b]=_0xa7bfff,_0x1dc98d[_0xf3624e(0x2e4)](_0x41db3b,_0x4dbad6),_0x3b6e9f[_0xf3624e(0x364)]({'index':_0x2d14a2,'dataField':_0xa7bfff});}}return{'updateDataFieldList':_0x3b6e9f,'collection':_0x1dc98d};}['_getAutoName'](_0x16b731){const _0x5bbfea=_0x42bb9f;return this[_0x5bbfea(0x2c5)][_0x5bbfea(0x128)]()['sheets-pivot.columnName']+'\x20'+_0x288eb9[_0x5bbfea(0x2e3)](_0x16b731);}['uniqueDataFieldName'](_0x58ca11,_0x3d118b){const _0x393bb5=_0x42bb9f;return _0x58ca11==null||_0x58ca11===''?this[_0x393bb5(0xee)](_0x3d118b):String(_0x58ca11);}[_0x42bb9f(0x2c8)](_0x425d2a){const _0x2f0d83=_0x42bb9f;return this[_0x2f0d83(0x211)][_0x425d2a];}[_0x42bb9f(0xaf)](_0x386f45,_0xa16b63,_0x106434,_0x382df4){const _0x5319b8=_0x42bb9f;this[_0x5319b8(0x211)][_0x386f45]=_0xa16b63,_0xa16b63[_0x5319b8(0x35e)](_0x106434),this['_host'][_0x5319b8(0x233)]({'token':_0x386f45,'type':_0x521660[_0x5319b8(0x246)],'dataRangeInfo':_0x106434,'targetCellInfo':_0x382df4});}['handleMoveRange'](_0x5019d9,_0x44269a){const _0x299fd8=_0x42bb9f,_0x30bc65=this[_0x299fd8(0x2c8)](_0x5019d9),_0x57f229=_0x30bc65['getFieldIds']();let _0x47031b=0x0;for(const _0x5539bb of _0x57f229){const _0x2eec3d=_0x30bc65[_0x299fd8(0xfb)](_0x5539bb),_0xf23e15=this[_0x299fd8(0x11d)](_0x44269a,_0x47031b);this['updateRangeKeyMap'](_0x2eec3d[_0x299fd8(0x216)],_0xf23e15),_0x47031b++;}}[_0x42bb9f(0x296)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x42bb9f(0x22b)](_0x4b2175,_0x2cdf3b){const _0x2edd5a=_0x42bb9f;if(this[_0x2edd5a(0x2c8)](_0x4b2175)){const _0x4bdf27=this[_0x2edd5a(0x116)](_0x2cdf3b),_0xab556=[];for(const _0x4fffc8 of _0x4bdf27)this[_0x2edd5a(0xc7)][_0x4fffc8]!==void 0x0&&_0xab556['push'](this['rangeKeyMap'][_0x4fffc8]);const _0x5d225e=this[_0x2edd5a(0x260)](_0x4b2175),_0x320605=[],_0x194829=new Set(_0xab556);for(const _0x557003 of _0x5d225e)_0x194829['has'](_0x557003)||_0x320605[_0x2edd5a(0x364)](_0x557003);return _0x320605;}}[_0x42bb9f(0x14c)](_0x14cfb7,_0x35c36b,_0x178da1,_0x4409cb,_0x21de6d){const _0x24918f=_0x42bb9f;return _0x35c36b&&_0x35c36b[_0x24918f(0x187)](_0x4409cb,_0x21de6d)?_0x35c36b[_0x24918f(0x187)](_0x4409cb,_0x21de6d):_0x178da1&&_0x178da1['getValue'](_0x4409cb,_0x21de6d)?_0x178da1[_0x24918f(0x187)](_0x4409cb,_0x21de6d):_0x14cfb7['getValue'](_0x4409cb,_0x21de6d);}['refreshDataField'](_0x1877c1,_0x2d2ebf,_0x28c108,_0x41fb63){const _0x5c4a88=_0x42bb9f,_0x4af02a=this['dataFields'][_0x1877c1];if(!_0x4af02a)return;const {subUnitId:_0x3793ce,range:_0x2929dd,unitId:_0x511678}=_0x2d2ebf,_0x1972ba=this[_0x5c4a88(0x1d4)][_0x5c4a88(0x264)](_0x511678);if(!_0x1972ba){console[_0x5c4a88(0x1e6)](_0x5c4a88(0x292));return;}const _0x51d749=_0x1972ba[_0x5c4a88(0xb7)](_0x3793ce),_0x299cfb=_0x51d749['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x35cac9,unitDataMatrix:_0x5ff3df}=_0x41fb63||{},{startRow:_0x2eafc5,startColumn:_0x3ca8f0,endRow:_0x488a81}=this['getRangeStartEndInfo'](_0x2929dd,_0x51d749);_0x4af02a['reset']();const _0x57d00d=_0x1972ba[_0x5c4a88(0xa4)](),_0x2e8362={},_0x1a84ad=this[_0x5c4a88(0x14c)](_0x299cfb,_0x35cac9,_0x5ff3df,_0x2eafc5,_0x3ca8f0+_0x28c108);let _0x5c67c8=this[_0x5c4a88(0x2fb)](_0x1a84ad,_0x57d00d,_0x2e8362);_0x2bd302[_0x5c4a88(0xac)](_0x5c67c8)&&(_0x5c67c8=_0x288eb9[_0x5c4a88(0xb5)][_0x5c4a88(0x2da)](_0x5c67c8['f'],Number(_0x5c67c8['v'])));const _0x5c7bee=this['uniqueDataFieldName'](_0x5c67c8,_0x3ca8f0+_0x28c108);_0x4af02a['setName'](_0x5c7bee);for(let _0x33f7d5=_0x2eafc5+0x1;_0x33f7d5<=_0x488a81;_0x33f7d5++){const _0x556797=this[_0x5c4a88(0x14c)](_0x299cfb,_0x35cac9,_0x5ff3df,_0x33f7d5,_0x3ca8f0+_0x28c108);_0x4af02a[_0x5c4a88(0x129)](this[_0x5c4a88(0x2fb)](_0x556797,_0x57d00d,_0x2e8362),_0x33f7d5-0x1-_0x2eafc5);}}[_0x42bb9f(0x8b)](_0x410024,_0x35c667,_0x578307){const _0x46db77=_0x42bb9f,{subUnitId:_0xe21eb7,range:_0x2c07d6,unitId:_0x51929e}=_0x578307,_0x533283=this[_0x46db77(0x1d4)][_0x46db77(0x264)](_0x51929e);if(!_0x533283){console[_0x46db77(0x1e6)](_0x46db77(0x292));return;}const _0x3d325d=_0x533283[_0x46db77(0xb7)](_0xe21eb7),_0x2fbcd4=_0x3d325d[_0x46db77(0x102)](),{startRow:_0x5be81b,startColumn:_0x33fd80,endRow:_0x10ffc8}=this[_0x46db77(0x1e3)](_0x2c07d6,_0x3d325d),_0x599319=_0x533283['getStyles'](),_0x35f667={};for(const {dataField:_0x312630,index:_0x24b628}of _0x35c667){_0x312630['reset']();const _0x2895f2=this[_0x46db77(0x14c)](_0x2fbcd4,void 0x0,void 0x0,_0x5be81b,_0x33fd80+_0x24b628);let _0x399c57=this['adjustSheetCellData'](_0x2895f2,_0x599319,_0x35f667);_0x2bd302[_0x46db77(0xac)](_0x399c57)&&(_0x399c57=_0x288eb9[_0x46db77(0xb5)][_0x46db77(0x2da)](_0x399c57['f'],Number(_0x399c57['v'])));const _0x23ccd5=this[_0x46db77(0x125)](_0x399c57,_0x33fd80+_0x24b628);_0x312630[_0x46db77(0x388)](_0x23ccd5);}_0x410024[_0x46db77(0x314)]();for(let _0x167f46=_0x5be81b+0x1;_0x167f46<=_0x10ffc8;_0x167f46++)for(const {index:_0x5d1bcc,dataField:_0x29fe3f}of _0x35c667){const _0x1ec3bd=_0x2fbcd4[_0x46db77(0x187)](_0x167f46,_0x33fd80+_0x5d1bcc);_0x29fe3f[_0x46db77(0x129)](this[_0x46db77(0x2fb)](_0x1ec3bd,_0x599319,_0x35f667),_0x167f46-0x1-_0x5be81b);}_0x410024[_0x46db77(0x321)](_0x10ffc8-_0x5be81b);}[_0x42bb9f(0x116)](_0xd5593){const _0x2cee1a=_0x42bb9f,{range:_0x4885d0}=_0xd5593,{startColumn:_0x300309,endColumn:_0x599608}=_0x4885d0,_0x496968=[];for(let _0x4edc36=_0x300309;_0x4edc36<=_0x599608;_0x4edc36++)_0x496968['push'](this[_0x2cee1a(0x11d)](_0xd5593,_0x4edc36));return _0x496968;}['adjustSheetCellData'](_0x150cce,_0x4405d3,_0x5b5445){const _0x297552=_0x42bb9f;if(_0x150cce){const {s:_0x3c7bf0,v:_0xa87c47,t:_0x1a8ffe,p:_0x2117d5}=_0x150cce;if(_0x2117d5)return _0xff2d2d(_0x2117d5);const _0x318b69=_0x4405d3[_0x297552(0x239)](_0x3c7bf0);if(_0x318b69&&_0x1a8ffe===_0x288eb9['CellValueType']['NUMBER']&&_0x318b69['n']){const {pattern:_0x163fe4}=_0x318b69['n'];_0x5b5445[_0x163fe4]||(_0x5b5445[_0x163fe4]=_0x288eb9['numfmt'][_0x297552(0x28c)](_0x163fe4));const _0x1e21f0=_0x5b5445[_0x163fe4],_0x10300f=_0x1e21f0[_0x297552(0xf3)];if(_0x1e21f0[_0x297552(0x258)])return String(_0xa87c47);if(_0x10300f)return{'v':_0xa87c47,'f':_0x163fe4};}if(_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)][_0x297552(0x2d3)])return Number(_0xa87c47);if(_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)][_0x297552(0x38c)]||_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)]['FORCE_STRING'])return String(_0xa87c47);if(_0x1a8ffe===void 0x0){const _0x4a3b3c=Number(_0xa87c47);if(!Number['isNaN'](_0x4a3b3c)&&String(_0x4a3b3c)===_0xa87c47)return _0x4a3b3c;}return _0xa87c47!=null?_0xa87c47:null;}else return null;}['getRangeData'](_0xf2d832){const _0x2ba845=_0x42bb9f,{sheetName:_0x3a5697,range:_0x1efe8f,unitId:_0x1e7627}=_0xf2d832,_0x325805=this['_univerInstanceService'][_0x2ba845(0x264)](_0x1e7627);if(!_0x325805)return console[_0x2ba845(0x1e6)](_0x2ba845(0x292)),{'header':[],'data':[]};const _0x139a64=_0x325805['getSheetBySheetName'](_0x3a5697),_0x3f28a1=_0x139a64[_0x2ba845(0x102)](),{startRow:_0x771a3f,startColumn:_0x5a6b3d,endRow:_0x5453d3,endColumn:_0x31b8f4}=this['getRangeStartEndInfo'](_0x1efe8f,_0x139a64),_0x17a634=_0x325805['getStyles'](),_0x1eba76=[],_0x112d63=[],_0x546fee={};for(let _0x193bd5=_0x771a3f;_0x193bd5<=_0x5453d3;_0x193bd5++){const _0x34a222=[];for(let _0x3330d0=_0x5a6b3d;_0x3330d0<=_0x31b8f4;_0x3330d0++){const _0x3ab1bb=_0x3f28a1['getValue'](_0x193bd5,_0x3330d0);_0x193bd5===_0x771a3f?_0x1eba76[_0x2ba845(0x364)](_0x3ab1bb==null?null:String(_0x3ab1bb['v'])):_0x34a222[_0x2ba845(0x364)](this[_0x2ba845(0x2fb)](_0x3ab1bb,_0x17a634,_0x546fee));}_0x112d63[_0x2ba845(0x364)](_0x34a222);}return{'header':_0x1eba76,'data':_0x112d63};}[_0x42bb9f(0x90)](){const _0x573810=_0x42bb9f;return super[_0x573810(0x90)]();}[_0x42bb9f(0x9a)](_0x4a1cb5){const _0x5a1500=_0x42bb9f;super[_0x5a1500(0x9a)](_0x4a1cb5),this[_0x5a1500(0x284)]();}[_0x42bb9f(0x10c)](){const _0x442e1a=_0x42bb9f;super[_0x442e1a(0x10c)](),this[_0x442e1a(0xc7)]={},this[_0x442e1a(0x2c5)]=null;}}const _0x38ec2e=_0x1a1a04=>{const _0x45aa20=_0x42bb9f,{targetCellInfo:_0x410838}=_0x1a1a04,{matrixCache:_0x5dd102,rangesCache:_0x39e60a}=_0x3dd3c1({'filter':_0x45aa20(0x328),'row':_0x45aa20(0x1d7),'column':_0x45aa20(0x2b9),'values':_0x45aa20(0x2af)},_0x410838),_0x503bfb=new _0x288eb9[(_0x45aa20(0x280))]();return _0x5dd102['forValue']((_0x52ba31,_0x564e51,_0x30637a)=>{_0x503bfb['setValue'](_0x52ba31,_0x564e51,_0x30637a);}),{'matrix':_0x503bfb,'rangesCache':_0x39e60a};},_0x52b779=_0x30e9a4=>{const _0x24e87a=_0x42bb9f;let _0x2c18bd;if(_0x30e9a4!=null&&_0x30e9a4['v']||(_0x30e9a4==null?void 0x0:_0x30e9a4['v'])===0x0){_0x2c18bd||(_0x2c18bd={});const _0xbeb86=_0x350af0(_0x30e9a4['v']);typeof _0xbeb86=='number'?_0x2c18bd['t']=_0x288eb9[_0x24e87a(0x3ab)]['NUMBER']:typeof _0xbeb86==_0x24e87a(0x16e)&&(_0x2c18bd['t']=_0x288eb9[_0x24e87a(0x3ab)][_0x24e87a(0x38c)]),_0x2c18bd['v']=_0xbeb86;}return _0x2c18bd;},_0x41af84=(_0x4a99d7,_0x2a6cb5,_0x1b669e)=>{const _0x13a441=_0x42bb9f;var _0x58d132,_0x50a5e2,_0xd14d13,_0x35155c,_0x57a989,_0x13ae33,_0x369a80,_0x223e5b,_0x285cb2,_0xc81d82,_0x413bc7,_0x7fcac3;const {cornerView:_0x1209ae,rowView:_0x570450,colView:_0x217b7a,dataView:_0x5db296,pageView:_0x5e6a91,formatMap:_0x2d1247}=_0x4a99d7,{row:_0xbf16d8,col:_0x5ef992}=_0x2a6cb5,_0x5eaf0a=new _0x288eb9[(_0x13a441(0x280))]();let _0x5ca665=_0xbf16d8,_0x3f0669=_0x5ef992;Object[_0x13a441(0x237)](_0x5e6a91[_0x13a441(0x2c4)])['forEach'](_0x1ef1d8=>{const _0x109388=_0x13a441;Object[_0x109388(0x237)](_0x5e6a91['data'][Number(_0x1ef1d8)])[_0x109388(0x36d)](_0x3ea650=>{const _0x223fd0=_0x109388,_0x327091={..._0x5e6a91[_0x223fd0(0x2c4)][Number(_0x1ef1d8)][Number(_0x3ea650)]};_0x5eaf0a[_0x223fd0(0x1bb)](Number(_0x1ef1d8)+_0x5ca665,Number(_0x3ea650)+_0x3f0669,_0x52b779(_0x327091));});});const _0x2344b5=Object[_0x13a441(0x237)](_0x5e6a91[_0x13a441(0x2c4)])[_0x13a441(0x8f)];_0x5ca665+=_0x2344b5+(_0x2344b5?_0x4bce21:0x0);const _0x18fc74=_0x1209ae['getRowCount'](),_0x40c1e2=_0x1209ae[_0x13a441(0x146)]();for(let _0x59504a=0x0;_0x59504a<_0x18fc74;_0x59504a++)for(let _0x15392c=0x0;_0x15392c<_0x40c1e2;_0x15392c++){const _0x5740a2={...(_0x50a5e2=(_0x58d132=_0x1209ae['data'])==null?void 0x0:_0x58d132[_0x59504a])==null?void 0x0:_0x50a5e2[_0x15392c]};_0x5740a2&&((_0xd14d13=_0x570450['headerMap'][_0x15392c])!=null&&_0xd14d13[_0x13a441(0x278)])&&_0x15392c===_0x40c1e2-0x1&&_0x59504a===_0x18fc74-0x1&&(_0x5740a2['v']=''+_0x1b669e[_0x13a441(0xed)]),_0x5eaf0a[_0x13a441(0x1bb)](_0x59504a+_0x5ca665,_0x15392c+_0x3f0669,_0x52b779(_0x5740a2));}_0x3f0669+=_0x40c1e2;const _0xb918bf=_0x217b7a[_0x13a441(0x15f)],_0x21238b=_0x217b7a[_0x13a441(0x1e9)]()>=0x0?_0x217b7a['getLastRow']()+0x1:0x0,_0x4b1701=_0x217b7a[_0x13a441(0xf0)]()>=0x0?_0x217b7a[_0x13a441(0xf0)]()+0x1:0x0;for(let _0x1b6205=0x0;_0x1b6205<_0x4b1701;_0x1b6205++)for(let _0x2dc50f=0x0;_0x2dc50f<_0x21238b;_0x2dc50f++){const _0xe95b27={...(_0x57a989=(_0x35155c=_0x217b7a[_0x13a441(0x2c4)])==null?void 0x0:_0x35155c[_0x1b6205])==null?void 0x0:_0x57a989[_0x2dc50f]},_0x47851=(_0x13ae33=_0xb918bf[_0x1b6205])==null?void 0x0:_0x13ae33[_0x13a441(0x11e)],_0x218c3b=_0x2d1247[_0x47851];_0xe95b27&&(_0xe95b27['v']=_0x2ee935(_0xe95b27,_0x1b6205===0x0&&((_0x369a80=_0x217b7a[_0x13a441(0x25a)](_0x2dc50f+0x1))==null?void 0x0:_0x369a80[_0x13a441(0x278)]),_0x218c3b,_0x1b669e)),_0x5eaf0a[_0x13a441(0x1bb)](_0x1b6205+_0x5ca665,_0x2dc50f+_0x3f0669,_0x52b779(_0xe95b27));}_0x5ca665+=_0x18fc74;const _0x43bdb3=_0x570450[_0x13a441(0x15f)],_0x20bf3c=_0x570450[_0x13a441(0x1e9)]()>=0x0?_0x570450[_0x13a441(0x1e9)]()+0x1:0x0,_0x1b76c4=_0x570450[_0x13a441(0xf0)]()>=0x0?_0x570450['getLastCol']()+0x1:0x0;for(let _0x50af20=0x0;_0x50af20<_0x20bf3c;_0x50af20++)for(let _0xeef3c=0x0;_0xeef3c<_0x1b76c4;_0xeef3c++){const _0x743bbe={...(_0x285cb2=(_0x223e5b=_0x570450[_0x13a441(0x2c4)])==null?void 0x0:_0x223e5b[_0x50af20])==null?void 0x0:_0x285cb2[_0xeef3c]},_0x55df4d=(_0xc81d82=_0x43bdb3[_0xeef3c])==null?void 0x0:_0xc81d82[_0x13a441(0x11e)],_0x525fe3=_0x2d1247[_0x55df4d];_0x743bbe&&(_0x743bbe['v']=_0x2ee935(_0x743bbe,!0x1,_0x525fe3,_0x1b669e)),_0x5eaf0a['setValue'](_0x50af20+_0x5ca665,_0xeef3c+_0x5ef992,_0x52b779(_0x743bbe));}const _0x395fd5=_0x5db296[_0x13a441(0xec)](),_0xc212fd=_0x5db296[_0x13a441(0x146)]();for(let _0x549a9d=0x0;_0x549a9d<_0x395fd5;_0x549a9d++)for(let _0x397282=0x0;_0x397282<_0xc212fd;_0x397282++){const _0x3045bc={...(_0x7fcac3=(_0x413bc7=_0x5db296['data'])==null?void 0x0:_0x413bc7[_0x549a9d])==null?void 0x0:_0x7fcac3[_0x397282]};_0x5eaf0a['setValue'](_0x549a9d+_0x5ca665,_0x397282+_0x3f0669,_0x52b779(_0x3045bc));}return _0x5eaf0a;},_0x444729=_0x23d11d=>{const _0x5e3679=_0x42bb9f,{view:_0x2274c1,targetCellInfo:_0x307d0e,isEmpty:_0x4310d8,textInfo:_0x43b4df}=_0x23d11d;if(_0x4310d8)return _0x38ec2e(_0x23d11d);const {pageView:_0x3e5b28,cornerView:_0x41789c,rowView:_0x443697,colView:_0x2d7d50,dataView:_0x40e6e6}=_0x2274c1,_0x45b9aa=_0x2b2601(_0x307d0e,_0x3e5b28,!0x0),_0x5f31f0=_0x3e5b28['lastRow']>=0x0?_0x3e5b28[_0x5e3679(0x1ef)]+0x1:0x0,_0x49dc8d=_0x41789c[_0x5e3679(0xec)](),_0x55ed01=_0x41789c[_0x5e3679(0x146)](),_0x555562=_0x45b9aa[_0x5e3679(0x8f)]>0x0?_0x4bce21:0x0,_0x409ae0=_0x2b2601({'row':_0x307d0e[_0x5e3679(0x392)]+_0x5f31f0+_0x555562,'col':_0x307d0e[_0x5e3679(0x113)]},_0x41789c,!0x1,!0x1),_0x586f09=_0x2b2601({'row':_0x307d0e['row']+_0x5f31f0+_0x555562+_0x49dc8d,'col':_0x307d0e[_0x5e3679(0x113)]},_0x443697,!0x1,!0x0),_0x5a9e5e=_0x2b2601({'row':_0x307d0e[_0x5e3679(0x392)]+_0x5f31f0+_0x555562,'col':_0x307d0e[_0x5e3679(0x113)]+_0x55ed01},_0x2d7d50,!0x1,!0x0),_0x24c632=_0x2b2601({'row':_0x307d0e['row']+_0x5f31f0+_0x555562+_0x49dc8d,'col':_0x307d0e[_0x5e3679(0x113)]+_0x55ed01},_0x40e6e6,!0x1,!0x1),_0x29b6aa={'rowRanges':_0x586f09,'colRanges':_0x5a9e5e,'cornerRanges':_0x409ae0,'dataRanges':_0x24c632,'pageRanges':_0x45b9aa};return{'matrix':_0x41af84(_0x2274c1,_0x307d0e,_0x43b4df),'rangesCache':_0x29b6aa};};var _0x5983a4=Object[_0x42bb9f(0x235)],_0x5191e8=(_0x28a9b4,_0x3c4ee9,_0x292e3e,_0x3d9282)=>{const _0xdf2306=_0x42bb9f;for(var _0x20e4a1=_0x3d9282>0x1?void 0x0:_0x3d9282?_0x5983a4(_0x3c4ee9,_0x292e3e):_0x3c4ee9,_0x34c97c=_0x28a9b4[_0xdf2306(0x8f)]-0x1,_0x34faea;_0x34c97c>=0x0;_0x34c97c--)(_0x34faea=_0x28a9b4[_0x34c97c])&&(_0x20e4a1=_0x34faea(_0x20e4a1)||_0x20e4a1);return _0x20e4a1;},_0x228e71=(_0x129e40,_0x20a59e)=>(_0x51dbb3,_0x37f879)=>_0x20a59e(_0x51dbb3,_0x37f879,_0x129e40);_0x5bf755[_0x42bb9f(0x1ae)]=class extends _0x288eb9['Disposable']{constructor(_0x4e820b,_0x278523,_0x14b244,_0x42c205,_0x5e4990){const _0x55a1d6=_0x42bb9f;super(),_0x4fb07d(this,'_model',new Map()),_0x4fb07d(this,_0x55a1d6(0x168),new Map()),_0x4fb07d(this,_0x55a1d6(0x255),new Map()),_0x4fb07d(this,'_textInfo'),_0x4fb07d(this,'_collectionChange$',new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,'collectionChange$',this[_0x55a1d6(0x26c)][_0x55a1d6(0x2f1)]()),_0x4fb07d(this,_0x55a1d6(0x126),new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,_0x55a1d6(0xf7),this['_viewData$']['asObservable']()),_0x4fb07d(this,_0x55a1d6(0x150),new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,_0x55a1d6(0xab),this['_fieldsCollectionChange$'][_0x55a1d6(0x2f1)]()),_0x4fb07d(this,_0x55a1d6(0x295),new Map()),_0x4fb07d(this,_0x55a1d6(0x11a),[]),_0x4fb07d(this,_0x55a1d6(0x230),new Map()),(this[_0x55a1d6(0x39e)]=_0x4e820b,this[_0x55a1d6(0x1d4)]=_0x278523,this[_0x55a1d6(0x2d4)]=_0x14b244,this[_0x55a1d6(0x370)]=_0x42c205,this[_0x55a1d6(0x139)]=_0x5e4990,this['_initSnapshot']());}['getTextInfo'](){const _0x5dc527=_0x42bb9f;return this['_textInfo']?this[_0x5dc527(0x332)]:_0x183b6d;}['setTextInfo'](_0x3891ad){this['_textInfo']=_0x3891ad;}[_0x42bb9f(0xf5)](_0x1b83c2){const _0x5e5cb4=_0x42bb9f;var _0x2e0fa0;const {from:_0x38e620,to:_0x226e92,unitId:_0x1bfe35,fromRange:_0x8b0495,toRange:_0x47a5a6}=_0x1b83c2;if(_0x38e620&&_0x226e92){const _0x3b2136=this['getDataFieldManager'](_0x1bfe35),_0x1447a2=this[_0x5e5cb4(0x27d)][_0x5e5cb4(0x239)](_0x1bfe35),_0x2bd5a3=(_0x2e0fa0=this[_0x5e5cb4(0x1d4)]['getUnit'](_0x1bfe35))==null?void 0x0:_0x2e0fa0['getSheetBySheetId'](_0x226e92[_0x5e5cb4(0x179)]);if(!_0x1447a2||!_0x2bd5a3)return;const _0x1568cf=_0x2bd5a3==null?void 0x0:_0x2bd5a3[_0x5e5cb4(0x2e8)]();for(const [_0x343eb1,_0x4f0eac]of _0x1447a2[_0x5e5cb4(0xa1)]())for(const [_0x59d219,_0x118185]of _0x4f0eac[_0x5e5cb4(0xa1)]()){const {sourceRangeInfo:_0x56922b}=_0x118185;if(_0x56922b[_0x5e5cb4(0x360)]===_0x1bfe35&&_0x56922b['subUnitId']===_0x38e620[_0x5e5cb4(0x179)]&&_0x288eb9[_0x5e5cb4(0x25d)][_0x5e5cb4(0x2f4)](_0x8b0495,_0x56922b['range'])){const _0x42c052={'row':_0x56922b[_0x5e5cb4(0x272)][_0x5e5cb4(0x36a)]-_0x8b0495[_0x5e5cb4(0x36a)],'col':_0x56922b['range'][_0x5e5cb4(0x1c9)]-_0x8b0495['startColumn']},_0x329c15={'unitId':_0x1bfe35,'subUnitId':_0x226e92[_0x5e5cb4(0x179)],'sheetName':_0x1568cf,'range':{'startRow':_0x47a5a6[_0x5e5cb4(0x36a)]+_0x42c052[_0x5e5cb4(0x392)],'endRow':_0x47a5a6['startRow']+_0x42c052[_0x5e5cb4(0x392)]+_0x56922b[_0x5e5cb4(0x272)]['endRow']-_0x56922b[_0x5e5cb4(0x272)][_0x5e5cb4(0x36a)],'startColumn':_0x47a5a6[_0x5e5cb4(0x1c9)]+_0x42c052[_0x5e5cb4(0x113)],'endColumn':_0x47a5a6[_0x5e5cb4(0x1c9)]+_0x42c052[_0x5e5cb4(0x113)]+_0x56922b['range'][_0x5e5cb4(0x1f1)]-_0x56922b['range'][_0x5e5cb4(0x1c9)]}};_0x3b2136[_0x5e5cb4(0xf5)](_0x59d219,_0x329c15);const _0x44c0c0={..._0x118185,'sourceRangeInfo':_0x329c15};this[_0x5e5cb4(0x35a)](_0x1bfe35,_0x226e92[_0x5e5cb4(0x179)],_0x59d219,_0x44c0c0),this[_0x5e5cb4(0x233)]({'unitId':_0x1bfe35,'token':_0x59d219,'type':_0x521660[_0x5e5cb4(0x307)],'oldSourceRangeInfo':_0x56922b,'dataRangeInfo':_0x329c15,'targetCellInfo':_0x118185['targetCellInfo']}),this[_0x5e5cb4(0x214)]({'unitId':_0x1bfe35,'subUnitId':_0x226e92[_0x5e5cb4(0x179)],'oldSubUnitId':_0x343eb1,'pivotTableId':_0x59d219,'pivotTableConfig':_0x44c0c0,'collectionConfig':_0x3b2136['toJSON']()});}}}}[_0x42bb9f(0x233)](_0x5b6b7d){const _0x501e7b=_0x42bb9f;this[_0x501e7b(0x26c)]['next'](_0x5b6b7d);}[_0x42bb9f(0x138)](_0x476b2a){const _0xec0dd=_0x42bb9f;let _0x2ae83a=this[_0xec0dd(0x295)][_0xec0dd(0x239)](_0x476b2a);return _0x2ae83a||(_0x2ae83a=new _0x1d076f(this,this[_0xec0dd(0x1d4)]),this[_0xec0dd(0x295)][_0xec0dd(0x22c)](_0x476b2a,_0x2ae83a)),_0x2ae83a;}[_0x42bb9f(0x2c8)](_0x53b043,_0x3db87a){const _0x53b14d=_0x42bb9f;return this[_0x53b14d(0x138)](_0x53b043)['collections'][_0x3db87a];}[_0x42bb9f(0x22b)](_0x4d940e,_0x14fa1d,_0x34cd42){const _0x3a17af=_0x42bb9f;return this[_0x3a17af(0x138)](_0x4d940e)['getUpdateRangeDeleteIds'](_0x14fa1d,_0x34cd42);}[_0x42bb9f(0x225)](_0x525e49,_0x2851eb){const _0x9686ad=_0x42bb9f;let _0x748bf2=this[_0x9686ad(0x27d)][_0x9686ad(0x239)](_0x525e49);_0x748bf2||(_0x748bf2=new Map(),this[_0x9686ad(0x27d)]['set'](_0x525e49,_0x748bf2));let _0x3622e1=_0x748bf2[_0x9686ad(0x239)](_0x2851eb);return _0x3622e1||(_0x3622e1=new Map(),_0x748bf2[_0x9686ad(0x22c)](_0x2851eb,_0x3622e1)),_0x3622e1;}[_0x42bb9f(0x35a)](_0x289c71,_0x3a32ae,_0x495150,_0x2faf82){const _0x459e87=_0x42bb9f;this[_0x459e87(0x225)](_0x289c71,_0x3a32ae)[_0x459e87(0x22c)](_0x495150,_0x2faf82);}['_deleteModelCache'](_0x155cad,_0x23b04e,_0x1a9529){const _0x12f934=_0x42bb9f;var _0x1579b9,_0x3df6a2,_0x34ed02,_0x2fd3c0;((_0x3df6a2=(_0x1579b9=this['_model'][_0x12f934(0x239)](_0x155cad))==null?void 0x0:_0x1579b9[_0x12f934(0x239)](_0x23b04e))==null?void 0x0:_0x3df6a2[_0x12f934(0x239)](_0x1a9529))&&((_0x2fd3c0=(_0x34ed02=this[_0x12f934(0x27d)]['get'](_0x155cad))==null?void 0x0:_0x34ed02['get'](_0x23b04e))==null||_0x2fd3c0['delete'](_0x1a9529));}['_updatePivotTableInstanceCache'](_0x18c177,_0x336fc8){const _0x8fa8f4=_0x42bb9f;this['_pivotTableInstanceCache'][_0x8fa8f4(0x22c)](_0x18c177,_0x336fc8);}[_0x42bb9f(0x9f)](_0x444f50){const _0x1cf0c9=_0x42bb9f;this[_0x1cf0c9(0x168)][_0x1cf0c9(0x1ca)](_0x444f50);}[_0x42bb9f(0x94)](_0x1c0daa,_0x47b2b5){const _0x4ef1f8=_0x42bb9f;let _0x18353f=this[_0x4ef1f8(0x255)]['get'](_0x1c0daa);_0x18353f||(_0x18353f=new Map(),this[_0x4ef1f8(0x255)][_0x4ef1f8(0x22c)](_0x1c0daa,_0x18353f));let _0x438681=_0x18353f[_0x4ef1f8(0x239)](_0x47b2b5);return _0x438681||(_0x438681=new Map(),_0x18353f['set'](_0x47b2b5,_0x438681)),_0x438681;}[_0x42bb9f(0x214)](_0x29e6da){const _0x1698a8=_0x42bb9f,{unitId:_0x3f9e1b,subUnitId:_0x515e08,pivotTableId:_0x38382e,pivotTableConfig:_0x394824,collectionConfig:_0x4372fd}=_0x29e6da,_0x15509b={'unitId':_0x3f9e1b,'subUnitId':_0x515e08,'oldSubUnitId':_0x515e08,'pivotTableId':_0x38382e,'pivotTableConfig':_0x394824,'collectionConfig':_0x4372fd};this['_commandService'][_0x1698a8(0x9e)](_0x5d1784['id'],_0x15509b,{'onlyLocal':!0x0});}[_0x42bb9f(0x386)](_0x52084c,_0x152e77,_0x1c3749,_0x27e809,_0x3572f0,_0x30f187,_0x2e6a56,_0x5b3ff7=!0x1){const _0x41ea55=_0x42bb9f;var _0x5647b9;this[_0x41ea55(0x370)]['executeCommand'](_0x1b400c['id'],{'single':{'unitId':_0x52084c,'subUnitId':_0x152e77,'type':_0x1c3749,'pivotTableId':_0x27e809,'view':_0x3572f0,'pivotConfig':_0x30f187},'collectionConfig':{[_0x52084c]:_0x2e6a56}},{'onlyLocal':!0x0});const _0x4f44c9=!!((_0x5647b9=this[_0x41ea55(0x25c)](_0x27e809))!=null&&_0x5647b9[_0x41ea55(0x279)]()),_0x36ed75=this[_0x41ea55(0x9b)](_0x52084c,_0x152e77,_0x27e809);_0x36ed75&&this[_0x41ea55(0xb9)]({'view':_0x3572f0,'pivotTableId':_0x27e809,'textInfo':this[_0x41ea55(0x128)](),'isEmpty':_0x4f44c9,'targetCellInfo':_0x36ed75['targetCellInfo']},_0x5b3ff7);}[_0x42bb9f(0xb9)](_0x174e22,_0x393d58){const _0x4aa49a=_0x42bb9f,{targetCellInfo:_0x47c2cb,pivotTableId:_0x19a9e3}=_0x174e22,{unitId:_0x3e8ff7,subUnitId:_0x43d495}=_0x47c2cb,_0x4dccce=this[_0x4aa49a(0x94)](_0x3e8ff7,_0x43d495),_0x5cef25=_0x4dccce[_0x4aa49a(0x239)](_0x19a9e3);let _0x39ac99,_0x50de1c;_0x5cef25&&(_0x39ac99=_0x5cef25[_0x4aa49a(0x1a6)],_0x50de1c=_0x5cef25[_0x4aa49a(0x2c6)]);const {rangesCache:_0x4511ae,matrix:_0x356704}=_0x444729(_0x174e22);_0x4dccce[_0x4aa49a(0x22c)](_0x19a9e3,{'rangeCache':_0x4511ae,'matrix':_0x356704,'oldMatrix':_0x50de1c,'oldRangeCache':_0x39ac99}),_0x393d58||this[_0x4aa49a(0x126)][_0x4aa49a(0x287)]({'unitId':_0x3e8ff7,'subUnitId':_0x43d495,'pivotTableId':_0x19a9e3});}[_0x42bb9f(0xdb)](_0x38cd72,_0x2d401b,_0x37e514,_0x3e188d,_0x3dc00e){const _0x29e4de=_0x42bb9f;this['_updateModelCache'](_0x38cd72,_0x2d401b,_0x37e514,_0x3dc00e),this[_0x29e4de(0x384)](_0x37e514,_0x3e188d);}['removePivotTable'](_0x3157e5,_0x3341d7,_0x5f4ca0){const _0x501c10=_0x42bb9f,_0x329e8b=this['getDataFieldManager'](_0x3157e5);_0x329e8b[_0x501c10(0x260)](_0x5f4ca0)['forEach'](_0x1ce8a6=>{const _0x4db7ee=_0x501c10;_0x329e8b[_0x4db7ee(0x2a8)](_0x1ce8a6);}),this[_0x501c10(0x28b)](_0x3157e5,_0x5f4ca0),this[_0x501c10(0x131)](_0x3157e5,_0x3341d7,_0x5f4ca0),this['_deletePivotTableInstanceCache'](_0x5f4ca0);}['setPivotTable'](_0x2c0d4c,_0x5bb9b8,_0xb1b814,_0x270222){const _0x507fe0=_0x42bb9f;this[_0x507fe0(0x35a)](_0x2c0d4c,_0x5bb9b8,_0xb1b814,_0x270222);}[_0x42bb9f(0x9b)](_0x18fbd0,_0x3d7814,_0x548488){const _0x281c38=_0x42bb9f;var _0x34d2a3,_0xcfd604;const _0x2f7389=(_0xcfd604=(_0x34d2a3=this[_0x281c38(0x27d)]['get'](_0x18fbd0))==null?void 0x0:_0x34d2a3[_0x281c38(0x239)](_0x3d7814))==null?void 0x0:_0xcfd604['get'](_0x548488);if(_0x2f7389)return _0x2f7389;}[_0x42bb9f(0xa0)](_0x365038,_0xcdb5e,_0x584b9f){const _0x416905=_0x42bb9f;var _0x21bbf5,_0x217e1a;const _0x1aad9d=(_0x217e1a=(_0x21bbf5=this[_0x416905(0x27d)][_0x416905(0x239)](_0x365038))==null?void 0x0:_0x21bbf5[_0x416905(0x239)](_0xcdb5e))==null?void 0x0:_0x217e1a[_0x416905(0x239)](_0x584b9f);if(_0x1aad9d)return _0x1aad9d[_0x416905(0x313)];}[_0x42bb9f(0x25c)](_0x3c5a0d){const _0x3ca5d8=_0x42bb9f;return this[_0x3ca5d8(0x168)][_0x3ca5d8(0x239)](_0x3c5a0d);}[_0x42bb9f(0x1b6)](_0x5bd961){const _0x10fb60=_0x42bb9f;this['_model'][_0x10fb60(0x1ca)](_0x5bd961);const _0x46be8d=this[_0x10fb60(0x295)][_0x10fb60(0x239)](_0x5bd961);_0x46be8d&&(_0x46be8d[_0x10fb60(0x10c)](),this[_0x10fb60(0x295)][_0x10fb60(0x1ca)](_0x5bd961)),this[_0x10fb60(0x255)]['delete'](_0x5bd961),this[_0x10fb60(0x11a)][_0x10fb60(0x36d)](_0x4ff721=>{const _0x1bb389=_0x10fb60;_0x4ff721[_0x1bb389(0x1b6)](_0x5bd961);});}[_0x42bb9f(0x3a0)](_0x1a572f,_0x373a1d,_0x37c488,_0x5eb33f){const _0x11fe7a=_0x42bb9f;return this[_0x11fe7a(0x138)](_0x37c488[_0x11fe7a(0x360)])[_0x11fe7a(0x3a0)](_0x1a572f,_0x373a1d,_0x37c488,_0x5eb33f);}['createCollectionWithDataRange'](_0x189559){const _0x974af5=_0x42bb9f;return this['getDataFieldManager'](_0x189559[_0x974af5(0x360)])[_0x974af5(0x35b)](_0x189559);}[_0x42bb9f(0x8b)](_0x1bb2d2,_0x515b65,_0x323874){const _0x336e09=_0x42bb9f;this[_0x336e09(0x138)](_0x323874[_0x336e09(0x360)])['refreshData'](_0x1bb2d2,_0x515b65,_0x323874);}['removeDataField'](_0x27dac5,_0x5bfd2f){const _0x1796a9=_0x42bb9f;this[_0x1796a9(0x138)](_0x27dac5)['deleteDataField'](_0x5bfd2f);}[_0x42bb9f(0x28b)](_0x107a64,_0x26c38f){const _0x1b7ff3=_0x42bb9f;this[_0x1b7ff3(0x138)](_0x107a64)['removeCollectionImp'](_0x26c38f);}[_0x42bb9f(0x244)](_0x52a05b,_0x16af57){const _0x2deccf=_0x42bb9f;var _0xaed1fd;return(_0xaed1fd=this[_0x2deccf(0x27d)][_0x2deccf(0x239)](_0x52a05b))==null?void 0x0:_0xaed1fd[_0x2deccf(0x239)](_0x16af57);}['getTargetByPivotId'](_0x21937f){const _0x4b8cc5=_0x42bb9f;for(const [_0x40d182,_0x21f92d]of this[_0x4b8cc5(0x27d)][_0x4b8cc5(0xa1)]())for(const [_0x10e62c,_0x4bc9ee]of _0x21f92d[_0x4b8cc5(0xa1)]())if(_0x4bc9ee[_0x4b8cc5(0xde)](_0x21937f))return{'unitId':_0x40d182,'subUnitId':_0x10e62c};return null;}[_0x42bb9f(0x107)](_0x2ec4b5,_0x333611,_0x226b80,_0x4ecf91){const _0x6cddbe=_0x42bb9f,_0x4be058=this['_ensureViewDataMap'](_0x2ec4b5,_0x333611);_0x4ecf91?_0x4be058[_0x6cddbe(0x22c)](_0x226b80,_0x4ecf91):_0x4be058[_0x6cddbe(0x1ca)](_0x226b80),this['_viewData$'][_0x6cddbe(0x287)]({'unitId':_0x2ec4b5,'subUnitId':_0x333611,'pivotTableId':_0x226b80});}[_0x42bb9f(0x10c)](){const _0x56fab2=_0x42bb9f;super[_0x56fab2(0x10c)]();}[_0x42bb9f(0x198)](_0x2c8df2,_0x5e6d23,_0x6006ca){const _0x111a3b=_0x42bb9f;var _0xc9c535,_0x30a370;const _0x558f94=(_0x30a370=(_0xc9c535=this[_0x111a3b(0x255)]['get'](_0x2c8df2))==null?void 0x0:_0xc9c535[_0x111a3b(0x239)](_0x5e6d23))==null?void 0x0:_0x30a370[_0x111a3b(0x239)](_0x6006ca);return _0x558f94||null;}[_0x42bb9f(0x1d8)](_0x330210){this['updateDirtyPivotTable'](_0x330210);}[_0x42bb9f(0x367)](_0x41b5ec){const _0x1c3f7d=_0x42bb9f,{token:_0x3b6f6b,unitId:_0x438df8,subUnitId:_0x47511a}=_0x41b5ec,_0x3422ed=_0x438df8+'-'+_0x47511a+'-'+_0x3b6f6b;this[_0x1c3f7d(0x230)][_0x1c3f7d(0x239)](_0x3422ed)&&clearTimeout(this['_queryingMap']['get'](_0x3422ed));const _0x23371f=setTimeout(()=>{const _0x3ee487=_0x1c3f7d;this[_0x3ee487(0x308)](_0x41b5ec),this[_0x3ee487(0x230)]['delete'](_0x3422ed);},_0x29e418);this['_queryingMap'][_0x1c3f7d(0x22c)](_0x3422ed,_0x23371f);}[_0x42bb9f(0x308)](_0x381276){const _0x48ca0f=_0x42bb9f,{unitId:_0x12cc9a,subUnitId:_0x49376a,token:_0x590fc9,type:_0x3c5a9d,pivotConfig:_0x13b8d9}=_0x381276,_0x54bbbc=this[_0x48ca0f(0x25c)](_0x590fc9),_0x3f94ef=_0x54bbbc==null?void 0x0:_0x54bbbc[_0x48ca0f(0x26f)](),_0x325064=_0x13b8d9!=null?_0x13b8d9:this[_0x48ca0f(0x9b)](_0x12cc9a,_0x49376a,_0x590fc9);_0x325064&&(_0x325064[_0x48ca0f(0x279)]=!!(_0x54bbbc!=null&&_0x54bbbc[_0x48ca0f(0x279)]())),(_0x3f94ef||_0x3c5a9d===_0x2de5fe['Delete'])&&this[_0x48ca0f(0x386)](_0x12cc9a,_0x49376a,_0x3c5a9d,_0x590fc9,_0x3f94ef,_0x325064,this[_0x48ca0f(0x138)](_0x12cc9a)[_0x48ca0f(0x90)]());}[_0x42bb9f(0x90)](_0x28e138){const _0x4bf223=_0x42bb9f,_0x449959={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4bf223(0x138)](_0x28e138)&&(_0x449959[_0x4bf223(0x2d1)][_0x28e138]=this[_0x4bf223(0x138)](_0x28e138)[_0x4bf223(0x90)]()),this[_0x4bf223(0x27d)][_0x4bf223(0x239)](_0x28e138)){_0x449959['pivotTableConfigs'][_0x28e138]={};const _0x2b9372=this[_0x4bf223(0x27d)][_0x4bf223(0x239)](_0x28e138);_0x2b9372!=null&&_0x2b9372[_0x4bf223(0x1f6)]&&[..._0x2b9372[_0x4bf223(0x237)]()]['forEach'](_0x1345b1=>{const _0x1ba1a0=_0x4bf223,_0x8b3d42=_0x2b9372[_0x1ba1a0(0x239)](_0x1345b1);_0x8b3d42!=null&&_0x8b3d42[_0x1ba1a0(0x1f6)]&&(_0x449959[_0x1ba1a0(0x1cf)][_0x28e138][_0x1345b1]={},[..._0x8b3d42['keys']()][_0x1ba1a0(0x36d)](_0x520d88=>{const _0x34f99e=_0x1ba1a0,_0x51b6fa=_0x8b3d42[_0x34f99e(0x239)](_0x520d88);_0x51b6fa&&(_0x449959[_0x34f99e(0x1cf)][_0x28e138][_0x1345b1][_0x520d88]=_0x51b6fa);}));});}return _0x449959;}[_0x42bb9f(0x9a)](_0x317fd7){const _0x59e984=_0x42bb9f;var _0x22ce22;const {dataFieldManagerConfig:_0x54a652,pivotTableConfigs:_0x184b71}=_0x317fd7;_0x54a652&&Object['keys'](_0x54a652)[_0x59e984(0x36d)](_0x3141c1=>{const _0x49f5f4=_0x59e984;this['getDataFieldManager'](_0x3141c1)[_0x49f5f4(0x9a)](_0x54a652[_0x3141c1]);});const _0x270de7=[];if(_0x184b71){const _0x4fca42=(_0x22ce22=this[_0x59e984(0x39e)][_0x59e984(0x239)](_0x288eb9[_0x59e984(0xd5)])[_0x59e984(0x36b)](_0x1f3f39[_0x59e984(0x18e)]))!=null?_0x22ce22:{},{ls:_0x4b6ee0,pbk:_0x2a6140}=_0x4fca42,_0x21ce49=_0x52b3f8(_0x2e2372,_0x4b6ee0,_0x2a6140)[_0x59e984(0x18d)];Object['keys'](_0x184b71)[_0x59e984(0x36d)](_0x5dc19c=>{const _0x49c6d1=_0x59e984;let _0x222531=0x0;const _0x893bc8=_0x184b71[_0x5dc19c];Object[_0x49c6d1(0x237)](_0x893bc8)[_0x49c6d1(0x36d)](_0xc974e6=>{const _0x154d8e=_0x893bc8[_0xc974e6];Object['keys'](_0x154d8e)['forEach'](_0x22c3f8=>{const _0x2cbad5=_0x2df4,_0x11d198=_0x154d8e[_0x22c3f8];if(_0x11d198){if(_0x222531>=_0x21ce49)return;_0x222531++;const _0x4f13d4=this[_0x2cbad5(0x138)](_0x5dc19c),_0x10baf3=_0x4f13d4['collections'][_0x22c3f8],_0x3040eb=_0x10baf3[_0x2cbad5(0x15d)]();let _0x3ae8fd=0x0;const _0x3c11ac=[];for(const _0x3b822d of _0x3040eb){const _0x51306c=_0x10baf3['getFieldById'](_0x3b822d);if(_0x2bd302[_0x2cbad5(0x356)](_0x51306c)){const _0x442df9=_0x51306c[_0x2cbad5(0x32f)](),_0x4aa79e=_0x10baf3['getFieldById'](_0x442df9);_0x4aa79e&&_0x3c11ac['push']([_0x51306c,_0x4aa79e]);continue;}_0x4f13d4[_0x2cbad5(0x25b)](_0x3b822d,_0x11d198[_0x2cbad5(0x156)],_0x3ae8fd),_0x3ae8fd++;}_0x3c11ac[_0x2cbad5(0x36d)](([_0x4d5fcd,_0x1c19ed])=>{const _0x473457=_0x2cbad5;_0x4d5fcd[_0x473457(0x14a)](_0x1c19ed);});const _0x57609f=new _0x2bd302['PivotTable'](_0x10baf3);_0x57609f[_0x2cbad5(0x9a)](_0x11d198[_0x2cbad5(0x313)]),this['addPivotTable'](_0x5dc19c,_0xc974e6,_0x22c3f8,_0x57609f,_0x11d198);const _0x1e1035=_0x57609f[_0x2cbad5(0x26f)]();_0x270de7[_0x2cbad5(0x364)]({'unitId':_0x5dc19c,'subUnitId':_0xc974e6,'pivotTableId':_0x22c3f8,'view':_0x1e1035[_0x2cbad5(0x90)](),'pivotConfig':_0x11d198,'type':_0x2de5fe[_0x2cbad5(0xe6)]});const _0x357985=!!_0x57609f[_0x2cbad5(0x279)](),_0x44648c={'view':_0x1e1035,'pivotTableId':_0x22c3f8,'textInfo':this[_0x2cbad5(0x128)](),'isEmpty':_0x357985,'targetCellInfo':_0x11d198[_0x2cbad5(0x242)]};this[_0x2cbad5(0xb9)](_0x44648c,!0x1);}});});});}_0x54a652&&Object['keys'](_0x54a652)[_0x59e984(0x36d)](_0x1fedb5=>{const _0x3218ae=_0x59e984,_0x56452e=this[_0x3218ae(0x138)](_0x1fedb5);this['_fieldsCollectionChange$']['next'](_0x56452e[_0x3218ae(0x211)]);}),this['_commandService'][_0x59e984(0x9e)](_0x1b400c['id'],{'batch':_0x270de7,'collectionConfig':_0x54a652},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x36a873=_0x42bb9f;this[_0x36a873(0x148)](this[_0x36a873(0x139)][_0x36a873(0x2b3)]({'toJson':_0x1b3a2d=>JSON[_0x36a873(0x297)](this[_0x36a873(0x90)](_0x1b3a2d)),'parseJson':_0xc6a4c4=>{const _0x4e60f6=_0x36a873;if(!_0xc6a4c4)return{};try{return JSON[_0x4e60f6(0x24f)](_0xc6a4c4);}catch{return{};}},'businesses':[_0x288eb9[_0x36a873(0x175)][_0x36a873(0x197)]],'pluginName':_0xd0f9a3,'onLoad':(_0x14be4a,_0x5789cd)=>{const _0x50fb6f=_0x36a873;this[_0x50fb6f(0x9a)](_0x5789cd);},'onUnLoad':_0x44c967=>{const _0x17803a=_0x36a873;this[_0x17803a(0x1b6)](_0x44c967);}}));}},_0x5bf755[_0x42bb9f(0x1ae)]=_0x5191e8([_0x228e71(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['Injector'])),_0x228e71(0x1,_0x288eb9['IUniverInstanceService']),_0x228e71(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['LifecycleService'])),_0x228e71(0x3,_0x288eb9['ICommandService']),_0x228e71(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IResourceManagerService']))],_0x5bf755[_0x42bb9f(0x1ae)]);const _0x3f1ce0={0x0:{0x0:{'v':'filter','s':_0x2a3703}},0x2:{0x1:{'v':'','s':_0x2a3703},0x2:{'v':'','s':_0x2a3703},0x3:{'v':_0x42bb9f(0x1ce),'s':_0x2a3703},0x4:{'v':'','s':_0x2a3703},0x5:{'v':'','s':_0x2a3703}},0x3:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x4:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x5:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x6:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x7:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x8:{0x0:{'v':_0x42bb9f(0x392),'s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':_0x42bb9f(0xe2),'s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x9:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xa:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xb:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xc:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xd:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}}},_0x4bbf18={'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':[]},_0x3dd3c1=(_0x518f59,_0x553f61)=>{const _0x4f0b06=_0x42bb9f,_0x1094f6=new _0x288eb9['ObjectMatrix'](),_0x3abc73=new _0x288eb9['ObjectMatrix'](_0x3f1ce0),{row:_0x4a5a79,col:_0x41baf3}=_0x553f61;_0x3abc73[_0x4f0b06(0xbc)]((_0x2ff5ff,_0x2148e8,_0x326b1d)=>{const _0x37c4c9=_0x4f0b06;let _0x1e3251='';_0x326b1d['v']===_0x37c4c9(0xdc)?_0x1e3251=_0x518f59['filter']:_0x326b1d['v']===_0x37c4c9(0x392)?_0x1e3251=_0x518f59[_0x37c4c9(0x392)]:_0x326b1d['v']===_0x37c4c9(0x1ce)?_0x1e3251=_0x518f59[_0x37c4c9(0x1ce)]:_0x326b1d['v']===_0x37c4c9(0xe2)&&(_0x1e3251=_0x518f59[_0x37c4c9(0xe2)]),_0x1094f6[_0x37c4c9(0x1bb)](_0x2ff5ff+_0x4a5a79,_0x2148e8+_0x41baf3,{..._0x326b1d,'v':_0x1e3251});});const _0x5a449e=_0x288eb9[_0x4f0b06(0x91)][_0x4f0b06(0x38e)](_0x4bbf18);return Object[_0x4f0b06(0x237)](_0x4bbf18)['forEach'](_0x2df5d0=>{const _0x295d3a=_0x4f0b06;_0x5a449e[_0x2df5d0]=_0x4bbf18[_0x2df5d0][_0x295d3a(0x1d2)](_0x2ec388=>({..._0x2ec388,'startRow':_0x2ec388['startRow']+_0x4a5a79,'endRow':_0x2ec388[_0x295d3a(0x241)]+_0x4a5a79,'startColumn':_0x2ec388[_0x295d3a(0x1c9)]+_0x41baf3,'endColumn':_0x2ec388['endColumn']+_0x41baf3}));}),{'matrixCache':_0x1094f6,'rangesCache':_0x5a449e};};function _0x346465(_0x496b8e,_0x2b2757){const _0x54435b=_0x42bb9f;let _0x25209a='';const _0x1756fe=this[_0x54435b(0x128)]();switch(_0x2b2757){case _0x2bd302['PivotSubtotalTypeEnum'][_0x54435b(0x303)]:_0x25209a=_0x1756fe[_0x54435b(0xa6)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x18d)]:_0x25209a=_0x1756fe[_0x54435b(0x399)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x252)]:_0x25209a=_0x1756fe['sheets-pivot.countNumsName']+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x2e9)]:_0x25209a=_0x1756fe[_0x54435b(0x23c)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x1e7)]:_0x25209a=_0x1756fe[_0x54435b(0x3a1)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)]['product']:_0x25209a=_0x1756fe[_0x54435b(0x38f)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x381)]:_0x25209a=_0x1756fe[_0x54435b(0x1ac)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0xd8)]:_0x25209a=_0x1756fe[_0x54435b(0x2ee)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x1e8)]:_0x25209a=_0x1756fe[_0x54435b(0x30e)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0xc2)]:_0x25209a=_0x1756fe[_0x54435b(0x253)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x2ec)]:_0x25209a=_0x1756fe['sheets-pivot.varpName']+_0x496b8e;break;default:_0x25209a=_0x496b8e;break;}return _0x25209a;}function _0x2bc413(_0x37dcc0,_0x3e7a9f,_0x1cb002,_0x348dfc,_0x1c0d9f){const _0x53ccca=_0x42bb9f;var _0xe0be8d,_0x216e28,_0x39a49e,_0x393909,_0x812beb;const _0x21b929=_0x288eb9[_0x53ccca(0x104)](_0x37dcc0,_0x3e7a9f),{rangesInfo:_0x4dfa7e,areaInfo:_0xf356b0,headerMap:_0x533c21}=_0x1c0d9f;if(!_0x4dfa7e||!_0xf356b0||!_0x533c21)return;const _0x5d74dc=Object[_0x53ccca(0x237)](_0x4dfa7e)[_0x53ccca(0x261)](_0x5c1b2a=>_0x4dfa7e[_0x5c1b2a][_0x53ccca(0x281)](_0x5cc383=>_0x288eb9[_0x53ccca(0x25d)][_0x53ccca(0x2f4)](_0x5cc383,_0x21b929))),_0x4e4ca3=_0xf356b0;let _0x7d2d88,_0x5c41d0,_0x19f4c9;if(_0x5d74dc===_0x53ccca(0x2b2))_0x7d2d88=(_0xe0be8d=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x263)])==null?void 0x0:_0xe0be8d[_0x37dcc0],_0x5c41d0=(_0x216e28=_0x533c21==null?void 0x0:_0x533c21[_0x53ccca(0x343)])==null?void 0x0:_0x216e28[_0x3e7a9f],_0x19f4c9=_0x5c41d0==null?void 0x0:_0x5c41d0['tableFieldId'];else{if(_0x5d74dc==='colRanges')_0x7d2d88=(_0x39a49e=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x20c)])==null?void 0x0:_0x39a49e[_0x3e7a9f],_0x5c41d0=(_0x393909=_0x533c21[_0x53ccca(0x1d3)])==null?void 0x0:_0x393909[_0x37dcc0+0x1+_0x3e7a9f-_0x4dfa7e[_0x53ccca(0xbf)][0x0][_0x53ccca(0x1c9)]],_0x19f4c9=_0x5c41d0==null?void 0x0:_0x5c41d0[_0x53ccca(0x11e)];else{if(_0x5d74dc===_0x53ccca(0x2e7))_0x7d2d88=(_0x812beb=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x2d9)])==null?void 0x0:_0x812beb[_0x3e7a9f],_0x19f4c9=_0x7d2d88==null?void 0x0:_0x7d2d88[_0x53ccca(0x11e)];else{if(_0x5d74dc===_0x53ccca(0xa8)){const _0x4ed86c=_0x1cb002==null?void 0x0:_0x1cb002['fi'];_0x4ed86c!==void 0x0&&(_0x19f4c9=_0x348dfc['getFilterFieldIdByIndex'](_0x4ed86c));}}}}return{'filterId':_0x19f4c9,'info':_0x7d2d88,'data':_0x1cb002,'headerInfo':_0x5c41d0};}function _0x5da254(_0x221ebb,_0x8abf24,_0xd4ce03){const _0x4f6901=_0x42bb9f,_0x21fb3d=_0x221ebb['dataFieldsCollection'],_0x453d9b=_0x21fb3d[_0x4f6901(0x15d)](),_0x5ef7eb=new Set();_0x221ebb['iterateField'](_0x263533=>{const _0x1ab0e5=_0x4f6901;_0x5ef7eb[_0x1ab0e5(0x246)](_0x263533[_0x1ab0e5(0x160)]);});const _0xc723b3=_0x453d9b['map'](_0x2259e7=>{const _0x346cbd=_0x4f6901,_0x169465=_0x21fb3d[_0x346cbd(0xfb)](_0x2259e7);return{'checked':_0x5ef7eb[_0x346cbd(0xde)](_0x2259e7),'dataFieldId':_0x169465['id'],'id':_0x169465['id'],'name':_0x21fb3d[_0x346cbd(0x229)](_0x169465['id']),'type':_0x169465['getFieldDataType'](),'pivotTableId':_0x8abf24};}),_0x280a1b=[];_0x221ebb[_0x4f6901(0x37e)](_0x2bd302[_0x4f6901(0x25f)][_0x4f6901(0x1d7)],_0x508bc2=>{const _0x562004=_0x4f6901;_0x280a1b['push']({'dataFieldId':_0x508bc2[_0x562004(0x160)],'tableFieldId':_0x508bc2['getId'](),'displayName':_0x508bc2['getDisplayName']()});});const _0x401537=[];_0x221ebb['iterateFieldByArea'](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x2b9)],_0x544330=>{const _0x2a48c1=_0x4f6901;_0x401537[_0x2a48c1(0x364)]({'dataFieldId':_0x544330[_0x2a48c1(0x160)],'tableFieldId':_0x544330[_0x2a48c1(0x37c)](),'displayName':_0x544330[_0x2a48c1(0x229)]()});});const _0x2bb45e=[];if(_0x221ebb[_0x4f6901(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x34e)],_0x23c0cb=>{const _0x211340=_0x4f6901;_0x2bb45e[_0x211340(0x364)]({'dataFieldId':_0x23c0cb['dataFieldId'],'tableFieldId':_0x23c0cb[_0x211340(0x37c)](),'displayName':_0x23c0cb[_0x211340(0x229)](),'format':_0x23c0cb[_0x211340(0x2ed)](),'subTotalType':_0x23c0cb['getSubtotal']()});}),_0x2bb45e['length']>0x1){const _0x61608e=_0x221ebb[_0x4f6901(0xc0)]();(_0x221ebb['isColMultiMeasure']()?_0x401537:_0x280a1b)['splice'](_0x61608e,0x0,{'dataFieldId':'','tableFieldId':_0x4f6901(0x393),'displayName':'ΣValue'});}const _0x13a252=[];_0x221ebb[_0x4f6901(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x328)],_0x4fe5b2=>{const _0x2c1bc0=_0x4f6901;_0x13a252[_0x2c1bc0(0x364)]({'dataFieldId':_0x4fe5b2[_0x2c1bc0(0x160)],'tableFieldId':_0x4fe5b2['getId'](),'displayName':_0x4fe5b2[_0x2c1bc0(0x229)]()});});const _0xad5241=_0xd4ce03[_0x4f6901(0x156)];return{'sourceList':_0xc723b3,'sourceRange':_0xad5241,'rowFields':_0x280a1b,'columnFields':_0x401537,'valueFields':_0x2bb45e,'filterFields':_0x13a252,'positionInfo':_0xd4ce03[_0x4f6901(0x242)]};}function _0x57ebfa(_0x178749,_0x4a4110,_0x4ec870='',_0x2af0f5={}){const _0x2d7955=_0x42bb9f,_0x4f7ad1=_0x178749[_0x2d7955(0x239)](_0x288eb9[_0x2d7955(0x391)]);for(const _0x4bb5d4 in _0x4a4110)if(Object['prototype'][_0x2d7955(0x2b5)][_0x2d7955(0x1f4)](_0x4a4110,_0x4bb5d4)){const _0x518aab=_0x4ec870?_0x4ec870+'.'+_0x4bb5d4:_0x4bb5d4;typeof _0x4a4110[_0x4bb5d4]=='object'&&_0x4a4110[_0x4bb5d4]!==null&&!Array[_0x2d7955(0x352)](_0x4a4110[_0x4bb5d4])?_0x57ebfa(_0x178749,_0x4a4110[_0x4bb5d4],_0x518aab,_0x2af0f5):_0x2af0f5[_0x518aab]=_0x4f7ad1['t'](_0x518aab);}return _0x2af0f5;}const _0x26ef08=_0x4b675b=>{const _0x1b88a0=_0x42bb9f;if(!_0x4b675b)return[];const {rowRanges:_0x5e6293,colRanges:_0x45d4b0,cornerRanges:_0x4d7729,dataRanges:_0x3c0a17,pageRanges:_0x14e727}=_0x4b675b,_0x24a9df=[..._0x45d4b0,..._0x5e6293,..._0x3c0a17,..._0x4d7729][_0x1b88a0(0xdc)](_0x4e9e2=>_0x4e9e2[_0x1b88a0(0x36a)]>=0x0&&_0x4e9e2['startColumn']>=0x0&&_0x4e9e2[_0x1b88a0(0x241)]>=0x0&&_0x4e9e2[_0x1b88a0(0x1f1)]>=0x0);let _0x70eb5d=Number[_0x1b88a0(0x250)],_0x783450=Number['MIN_SAFE_INTEGER'],_0x1bb647=Number['MAX_SAFE_INTEGER'],_0x26c4e4=Number['MIN_SAFE_INTEGER'];for(let _0x51fb51=0x0;_0x51fb51<_0x24a9df[_0x1b88a0(0x8f)];_0x51fb51++)_0x70eb5d=Math['min'](_0x70eb5d,_0x24a9df[_0x51fb51][_0x1b88a0(0x36a)]),_0x783450=Math['max'](_0x783450,_0x24a9df[_0x51fb51][_0x1b88a0(0x241)]),_0x1bb647=Math[_0x1b88a0(0x1e7)](_0x1bb647,_0x24a9df[_0x51fb51][_0x1b88a0(0x1c9)]),_0x26c4e4=Math[_0x1b88a0(0x2e9)](_0x26c4e4,_0x24a9df[_0x51fb51][_0x1b88a0(0x1f1)]);return[..._0x14e727,{'startRow':_0x70eb5d,'endRow':_0x783450,'startColumn':_0x1bb647,'endColumn':_0x26c4e4}];};function _0x15ce34(_0x1b7e38,_0x17c396){const _0x55c11b=_0x42bb9f,_0x9fb9a1=_0x17c396['params'][_0x55c11b(0x31b)],{pivotTableId:_0xa512d,unitId:_0x4b4a84,subUnitId:_0x4aee63}=_0x17c396;if(!_0x9fb9a1)return;const _0x20764c=_0x1b7e38[_0x55c11b(0x239)](_0x5bf755[_0x55c11b(0x1ae)]),_0x6ef9e1=_0x20764c['getPivotTableInstance'](_0xa512d),_0x26b440=_0x20764c['getPivotTableConfig'](_0x4b4a84,_0x4aee63,_0xa512d);if(!_0x6ef9e1||!_0x26b440)return;const _0x411de5=_0x6ef9e1['getIndexesByPathStr'](_0x9fb9a1['tuple']);if(!(_0x411de5!=null&&_0x411de5[_0x55c11b(0x8f)]))return;const _0x8fa414=_0x26b440[_0x55c11b(0x156)],{unitId:_0x3b2c3c,subUnitId:_0xc54340,range:_0x23791f}=_0x8fa414;let _0x3dcc27=0x0;const _0x32d2d0=_0x6ef9e1['dataFieldsCollection'][_0x55c11b(0x15d)]()[_0x55c11b(0x2fc)]((_0x87e1,_0x78decc)=>{const _0x3c7281=_0x55c11b;var _0x603b26;const _0x2880dc=(_0x603b26=_0x6ef9e1[_0x3c7281(0x2a1)](_0x78decc))==null?void 0x0:_0x603b26['getformat']();return _0x2880dc&&(_0x87e1[String(_0x3dcc27)]=_0x2880dc),_0x3dcc27++,_0x87e1;},{});return{'indexes':_0x411de5,'range':_0x23791f,'sourceUnitId':_0x3b2c3c,'sourceSubUnitId':_0xc54340,'formatMap':_0x32d2d0};}function _0x15f38b(_0x5097bb,_0x252d3c){const _0x361906=_0x42bb9f;if(!_0x5097bb||!_0x252d3c)return!0x0;const _0x4bb8a8=_0x1f3f39[_0x361906(0xe3)](_0x458ac8,_0x2b3b30),_0x11e885=new Function('return\x20'+_0x4bb8a8)()(_0x5097bb,_0x252d3c)['message'],_0x494643=_0x1f3f39['isFeatureAuthorizedWithinTime'](_0x11e885,'sf',_0x5a170e);return!((_0x11e885==null?void 0x0:_0x11e885['rt'])===_0x1f3f39[_0x361906(0x355)]['NO_COMMERCIAL']&&!_0x494643);}function _0x52b3f8(_0x9c6e09,_0x20eedf,_0x176104){const _0x4c1447=_0x42bb9f,_0x1b0843={'count':_0x9c6e09,'timeValid':!0x1};if(!_0x20eedf||!_0x176104)return _0x1b0843;const _0x44fa8e=_0x1f3f39[_0x4c1447(0xe3)](_0x458ac8,_0x2b3b30),_0x2b8b22=new Function(_0x4c1447(0x161)+_0x44fa8e)()(_0x20eedf,_0x176104);if(_0x2b8b22!=null&&_0x2b8b22[_0x4c1447(0x157)]){const _0x2cf659=_0x2b8b22['message'],_0x29fe0f=_0x1f3f39[_0x4c1447(0x36c)](_0x2cf659,'sf',_0x5a170e);return{'count':_0x1f3f39[_0x4c1447(0xd1)](_0x2cf659,_0x29fe0f,'ptn',_0x9c6e09,_0x9c6e09,0x0),'timeValid':_0x29fe0f};}return _0x1b0843;}function _0x274f21(_0x31d34f,_0x1d207a,_0x4676d8,_0x4f971c){const _0x47b690=_0x42bb9f,_0x56115d={'subUnitId':_0x4676d8,'unitId':_0x1d207a,'cellValue':_0x2e27a8[_0x47b690(0xad)](_0x4f971c)},_0x54a885=_0x2e27a8[_0x47b690(0x135)](_0x31d34f,_0x56115d);let _0x320bba=!0x1;return new _0x288eb9[(_0x47b690(0x280))](_0x54a885[_0x47b690(0xf2)])[_0x47b690(0xbc)]((_0xca4a2f,_0x52ddb7,_0x3b3930)=>{const _0x13b9b1=_0x47b690;if(!_0x320bba&&_0x3b3930&&(_0x3b3930[_0x13b9b1(0xbb)]||_0x3b3930['f']||_0x3b3930['p']||_0x3b3930['s']||_0x3b3930['si']||_0x3b3930['t']||_0x3b3930['v']))return _0x320bba=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2e27a8['SetRangeValuesMutation']['id'],'params':_0x54a885},'setRangeValueRedoMutation':{'id':_0x2e27a8[_0x47b690(0x3ad)]['id'],'params':_0x56115d},'shouldClear':_0x320bba};}function _0x2a44bf(_0x4207c5){const {row:_0x498e68,col:_0x2cdaa2}=_0x4207c5,_0x3c2d87={'startRow':_0x498e68,'endRow':_0x498e68,'startColumn':_0x2cdaa2,'endColumn':_0x2cdaa2},_0x47452a={'startRow':_0x498e68+0x2,'endRow':_0x498e68+0xe,'startColumn':_0x2cdaa2,'endColumn':_0x2cdaa2+0x6};return[_0x3c2d87,_0x47452a];}function _0x5be9e2(_0x3a27ec,_0x56bc32,_0x42746d){const _0x40dca5=_0x42bb9f,{cornerView:_0x42ed34,rowView:_0x3e6dc1,colView:_0x502d2b,pageView:_0x1ff521}=_0x3a27ec,{row:_0xfbc03b,col:_0x2387b3}=_0x56bc32;if(_0x42746d)return{'rowCount':_0x154bf2+_0xfbc03b,'colCount':_0x34f04a+_0x2387b3};const _0x9c8d90=_0x1ff521[_0x40dca5(0x1ef)]>-0x1?_0x1ff521[_0x40dca5(0x1ef)]+0x1:0x0,_0x4f8c7c=_0x1ff521[_0x40dca5(0x300)]>-0x1?_0x1ff521[_0x40dca5(0x300)]:0x0,_0x3fa650=_0xfbc03b+_0x9c8d90+(_0x9c8d90?0x1:0x0)+_0x42ed34[_0x40dca5(0x2ff)]+_0x3e6dc1[_0x40dca5(0x2ff)],_0x1a583d=_0x2387b3+_0x4f8c7c,_0x430e32=_0x2387b3+_0x42ed34[_0x40dca5(0x39f)]+_0x502d2b[_0x40dca5(0x39f)],_0x31fbe4=Math['max'](_0x1a583d,_0x430e32);return{'rowCount':_0x3fa650,'colCount':_0x31fbe4};}function _0x3034a0(_0x7c09d2,_0x562ad1,_0x1492fb,_0x142b4d){const _0x77c81e=_0x42bb9f,{row:_0x5db49b,col:_0x4c3119,unitId:_0x20acec,subUnitId:_0x19e05a}=_0x1492fb,_0x1544c9=_0x5be9e2(_0x562ad1,{'row':_0x5db49b,'col':_0x4c3119},_0x142b4d),_0x433c27=_0x7c09d2[_0x77c81e(0x239)](_0x288eb9['IUniverInstanceService']),_0x3233cd=_0x2e27a8[_0x77c81e(0xba)](_0x433c27,{'unitId':_0x20acec,'subUnitId':_0x19e05a}),_0x53f45e=[],_0x159f63=[];if(!_0x3233cd)return{'undos':_0x159f63,'redos':_0x53f45e};const {worksheet:_0x3ffc75}=_0x3233cd,_0x417c54=_0x3ffc75['getRowCount'](),_0x2359de=_0x3ffc75[_0x77c81e(0x32b)]();return _0x417c54<_0x1544c9['rowCount']&&(_0x53f45e[_0x77c81e(0x364)]({'id':_0x2e27a8['InsertRowMutation']['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':_0x417c54,'endRow':_0x1544c9[_0x77c81e(0x2ff)]-0x1,'startColumn':0x0,'endColumn':_0x2359de-0x1}}}),_0x159f63['push']({'id':_0x2e27a8[_0x77c81e(0x38a)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':_0x417c54,'endRow':_0x1544c9[_0x77c81e(0x2ff)]-0x1,'startColumn':0x0,'endColumn':_0x2359de-0x1}}})),_0x2359de<_0x1544c9['colCount']&&(_0x53f45e[_0x77c81e(0x364)]({'id':_0x2e27a8[_0x77c81e(0x33b)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':0x0,'endRow':_0x417c54-0x1,'startColumn':_0x2359de,'endColumn':_0x1544c9[_0x77c81e(0x39f)]-0x1}}}),_0x159f63[_0x77c81e(0x364)]({'id':_0x2e27a8[_0x77c81e(0x11c)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':0x0,'endRow':_0x417c54-0x1,'startColumn':_0x2359de,'endColumn':_0x1544c9[_0x77c81e(0x39f)]-0x1}}})),{'undos':_0x159f63,'redos':_0x53f45e};}function _0x3c2b73(_0x8108f3){const _0x78fb18=_0x42bb9f;let _0x27fbbf=0x0;for(let _0x681321=0x0;_0x681321<_0x8108f3[_0x78fb18(0x8f)];_0x681321++){const _0xba4d26=_0x8108f3[_0x78fb18(0x22e)](_0x681321);_0xba4d26>=0x4e00&&_0xba4d26<=0x9fff||_0xba4d26>=0x3000&&_0xba4d26<=0x303f||_0xba4d26>=0xff00&&_0xba4d26<=0xffef?_0x27fbbf+=0x2:_0x27fbbf+=0x1;}return _0x27fbbf;}function _0xc12cd5(_0x4c2b46,_0x267a36,_0x2c0f36,_0x23ab99){const _0x1ccfb4=_0x42bb9f;var _0x554465,_0x3aff7a,_0x4e3a20,_0x21804f;const {rowCount:_0x3ec7d1,colCount:_0x7fb241,headerMap:_0x5b610a}=_0x4c2b46,_0x22d754=0x64,_0xa973f4=Math[_0x1ccfb4(0x1e7)](_0x3ec7d1,_0x22d754),_0x12af2a=Math['min'](_0x7fb241,_0x22d754);let _0x5d60cf='',_0x2b4a4e=0x0;for(let _0x289614=0x0;_0x289614<_0xa973f4;_0x289614++)for(let _0xc2da43=0x0;_0xc2da43<_0x12af2a;_0xc2da43++){const _0x20ee1b={...(_0x3aff7a=(_0x554465=_0x4c2b46[_0x1ccfb4(0x2c4)])==null?void 0x0:_0x554465[_0x289614])==null?void 0x0:_0x3aff7a[_0xc2da43]},_0x36e512=(_0x4e3a20=_0x5b610a[_0x289614])==null?void 0x0:_0x4e3a20[_0x1ccfb4(0x11e)],_0x48bd16=_0x23ab99[_0x36e512];let _0x2bf4de=_0x4c2b46[_0x1ccfb4(0x187)](_0x289614,_0xc2da43);if(_0x20ee1b){const _0x2bbfb1=_0x2c0f36?_0xc2da43===0x0&&((_0x21804f=_0x4c2b46[_0x1ccfb4(0x25a)](_0xc2da43+0x1))==null?void 0x0:_0x21804f[_0x1ccfb4(0x278)]):!0x1;_0x2bf4de=_0x2ee935(_0x20ee1b,_0x2bbfb1,_0x48bd16,_0x267a36);}if(_0x2bf4de!==void 0x0){const _0x1aeb19=_0x3c2b73(String(_0x2bf4de));_0x2b4a4e<_0x1aeb19&&(_0x5d60cf=String(_0x2bf4de),_0x2b4a4e=_0x1aeb19);}}return _0x5d60cf;}function _0x4f715a(_0x3a77e2){const _0x49e31d=_0x42bb9f,{rowCount:_0x2150a0,colCount:_0x133940}=_0x3a77e2;let _0x47c070='',_0x502acf=0x0;for(let _0x178983=_0x2150a0-0x1;_0x178983>0x0&&_0x178983>_0x2150a0-0x3;_0x178983--)for(let _0x2e1edd=0x0;_0x2e1edd<_0x133940;_0x2e1edd++){const _0x230a73=_0x3a77e2[_0x49e31d(0x187)](_0x178983,_0x2e1edd);if(_0x230a73!==void 0x0){const _0x17d2f7=String(_0x230a73)[_0x49e31d(0x8f)];_0x502acf<_0x17d2f7&&(_0x47c070=String(_0x230a73),_0x502acf=_0x17d2f7);}}return _0x47c070;}function _0x48e32a(_0x40d774){const _0x173623=_0x42bb9f,{rowCount:_0x51d4d1,colCount:_0x1727f7}=_0x40d774;let _0x5d0305='',_0x526e0d=0x0;for(let _0x4a78aa=0x0;_0x4a78aa<_0x51d4d1;_0x4a78aa++)for(let _0x3f1e5c=0x0;_0x3f1e5c<_0x1727f7;_0x3f1e5c++){const _0x105298=_0x40d774['getValue'](_0x4a78aa,_0x3f1e5c);if(_0x105298!==void 0x0){const _0x1b8af1=String(_0x105298)[_0x173623(0x8f)];_0x526e0d<_0x1b8af1&&(_0x5d0305=String(_0x105298),_0x526e0d=_0x1b8af1);}}return _0x5d0305;}function _0x4b09d5(_0x1aca23,_0x4ddc75){const _0x41648d=_0x42bb9f,{rowFields:_0x21e3e3,columnFields:_0x3de480,valueFields:_0x5d93d4,filterFields:_0x42d834,dimension:_0xa6bf6f,measure:_0xb728c9}=_0x4ddc75;for(const _0x4626ab of _0x21e3e3){const _0x5e284b=_0xa6bf6f[_0x4626ab];_0x5e284b&&_0x1aca23[_0x41648d(0x2a1)](_0x5e284b[_0x41648d(0x160)])&&(_0x1aca23[_0x41648d(0x274)](_0x5e284b['dataFieldId'],_0x2bd302['PivotTableFiledAreaEnum']['Row'],void 0x0,_0x4626ab),_0x5e284b[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x5e284b['id'],_0x5e284b['displayName']),_0x5e284b['sortInfo']&&_0x1aca23['setSortInfo'](_0x5e284b['id'],_0x5e284b[_0x41648d(0xf8)]),_0x5e284b[_0x41648d(0xcf)]&&_0x1aca23[_0x41648d(0x286)](_0x5e284b['id'],_0x5e284b[_0x41648d(0xcf)]));}for(const _0x136863 of _0x3de480){const _0x24c9ea=_0xa6bf6f[_0x136863];_0x24c9ea&&_0x1aca23[_0x41648d(0x2a1)](_0x24c9ea[_0x41648d(0x160)])&&(_0x1aca23[_0x41648d(0x274)](_0x24c9ea[_0x41648d(0x160)],_0x2bd302[_0x41648d(0x25f)][_0x41648d(0x2b9)],void 0x0,_0x136863),_0x24c9ea[_0x41648d(0xf8)]&&_0x1aca23[_0x41648d(0x23e)](_0x24c9ea['id'],_0x24c9ea[_0x41648d(0xf8)]),_0x24c9ea[_0x41648d(0xcf)]&&_0x1aca23['setLabelFilterInfo'](_0x24c9ea['id'],_0x24c9ea[_0x41648d(0xcf)]),_0x24c9ea[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x24c9ea['id'],_0x24c9ea['displayName']));}for(const _0x54c726 of _0x42d834){const _0x3955a9=_0xa6bf6f[_0x54c726];_0x3955a9&&_0x1aca23[_0x41648d(0x2a1)](_0x3955a9[_0x41648d(0x160)])&&(_0x1aca23['addFieldWithSourceId'](_0x3955a9[_0x41648d(0x160)],_0x2bd302[_0x41648d(0x25f)][_0x41648d(0x328)],void 0x0,_0x54c726),_0x3955a9['sortInfo']&&_0x1aca23['setSortInfo'](_0x3955a9['id'],_0x3955a9['sortInfo']),_0x3955a9['filterInfo']&&_0x1aca23['setLabelFilterInfo'](_0x3955a9['id'],_0x3955a9['filterInfo']),_0x3955a9[_0x41648d(0x373)]&&_0x1aca23['renameField'](_0x3955a9['id'],_0x3955a9[_0x41648d(0x373)]));}for(const _0x27ffea of _0x5d93d4){const _0x4ed80c=_0xb728c9[_0x27ffea];_0x4ed80c&&_0x1aca23['getDataFieldByDataFieldId'](_0x4ed80c[_0x41648d(0x160)])&&(_0x1aca23['addFieldWithSourceId'](_0x4ed80c[_0x41648d(0x160)],_0x2bd302['PivotTableFiledAreaEnum'][_0x41648d(0x34e)],void 0x0,_0x27ffea),_0x4ed80c[_0x41648d(0x2a0)]!==void 0x0&&_0x1aca23[_0x41648d(0xf6)](_0x27ffea,_0x4ed80c[_0x41648d(0x2a0)]),_0x4ed80c[_0x41648d(0x2da)]&&_0x1aca23[_0x41648d(0x1a3)](_0x27ffea,_0x4ed80c[_0x41648d(0x2da)]),_0x4ed80c[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x4ed80c['id'],_0x4ed80c[_0x41648d(0x373)]));}const _0x2a9c05=_0x4ddc75['valueFilter'];for(const {fieldId:_0x10be13,filterInfo:_0x52dd33}of _0x2a9c05)_0x1aca23[_0x41648d(0x31d)](_0x10be13,_0x52dd33);}function _0x4d996f(_0x2d34cb,_0x3e7fd8){const _0x2050aa=_0x42bb9f,_0x2c523b=[];_0x3e7fd8===_0x2bd302['PivotTableFiledAreaEnum']['Row']&&_0x2d34cb['iterateFieldByArea'](_0x2bd302[_0x2050aa(0x25f)]['Row'],_0x1c6fa8=>{const _0x127462=_0x2050aa;_0x2c523b[_0x127462(0x364)](_0x1c6fa8[_0x127462(0x37c)]());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x2b9)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302[_0x2050aa(0x25f)]['Column'],_0x5103c1=>{const _0xfe2e0b=_0x2050aa;_0x2c523b[_0xfe2e0b(0x364)](_0x5103c1['getId']());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x328)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x328)],_0xbc8d27=>{const _0x5719d7=_0x2050aa;_0x2c523b[_0x5719d7(0x364)](_0xbc8d27['getId']());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x34e)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x2050aa(0x34e)],_0x1783a4=>{const _0x34c98e=_0x2050aa;_0x2c523b[_0x34c98e(0x364)](_0x1783a4[_0x34c98e(0x37c)]());}),_0x3e7fd8===void 0x0&&_0x2d34cb['iterateField'](_0xa4c882=>{const _0x3f5c4a=_0x2050aa;_0x2c523b['push'](_0xa4c882[_0x3f5c4a(0x37c)]());});const _0xe75d8f=_0x2c523b['length'];for(let _0x2d51ab=_0xe75d8f-0x1;_0x2d51ab>=0x0;_0x2d51ab--)_0x2d34cb[_0x2050aa(0x115)](_0x2c523b[_0x2d51ab]);const _0x3f0947=_0x2d34cb['getValueFilterInfos']();for(const _0x544fde in _0x3f0947)_0x2d34cb[_0x2050aa(0x181)](_0x544fde);}function _0xfb878c(_0x58feb4,_0x17f0ae){const _0x5aaea7=_0x42bb9f,_0x2e0e57=new Date(_0x2bd302[_0x5aaea7(0x2a7)](_0x17f0ae)),_0x519c1=new Date(_0x2bd302[_0x5aaea7(0x2a7)](_0x58feb4)),_0x557a89=_0x2e0e57[_0x5aaea7(0x110)](),_0x34919d=_0x519c1['getFullYear'](),_0x10ff49=_0x2e0e57[_0x5aaea7(0x8d)](),_0x44d618=_0x519c1[_0x5aaea7(0x8d)](),_0x2d299=_0x2e0e57[_0x5aaea7(0x99)](),_0x544962=_0x519c1[_0x5aaea7(0x99)](),_0x5c86e1=_0x557a89===_0x34919d,_0x21710d=_0x5c86e1&&_0x10ff49===_0x44d618;return _0x5c86e1&&_0x21710d&&!(_0x21710d&&_0x2d299===_0x544962)?_0x2bd302[_0x5aaea7(0x8e)][_0x5aaea7(0x234)]:_0x5c86e1&&!_0x21710d?_0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x5aaea7(0x322)]:_0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x5aaea7(0x310)];}function _0xf6c030(_0x172df0,_0x2e8a50){const _0x31ee5c=_0x42bb9f,_0x5382af=_0x172df0['get'](_0x5bf755['SheetsPivotDataSourceModel'])[_0x31ee5c(0x128)]();let _0x2cf92c='';switch(_0x2e8a50){case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x234)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x2dc)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x322)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x16d)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x310)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x2ac)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x34c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x170)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x32c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0xe1)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x2a4)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x1f3)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x1ff)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x232)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x24c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x21b)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x137)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x289)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x154)]:_0x2cf92c=_0x5382af['sheets-pivot.dateGroup.monthDate'];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x2fe)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x236)];break;default:_0x2cf92c='';break;}return _0x2cf92c;}const _0x403f4a=_0x42bb9f(0xe9),_0x49e17c={};var _0x230acf=Object[_0x42bb9f(0x235)],_0x593ca7=(_0x1f5607,_0x87d450,_0x16888a,_0x2c90f2)=>{for(var _0x16b4bc=_0x2c90f2>0x1?void 0x0:_0x2c90f2?_0x230acf(_0x87d450,_0x16888a):_0x87d450,_0x13e4c5=_0x1f5607['length']-0x1,_0x5b5e64;_0x13e4c5>=0x0;_0x13e4c5--)(_0x5b5e64=_0x1f5607[_0x13e4c5])&&(_0x16b4bc=_0x5b5e64(_0x16b4bc)||_0x16b4bc);return _0x16b4bc;},_0x28e3fc=(_0xa72f93,_0x2cd8b1)=>(_0x94d089,_0x1aace8)=>_0x2cd8b1(_0x94d089,_0x1aace8,_0xa72f93);_0x5bf755['SheetsPivotTableConfigModel']=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x386cbc,_0x56ba5b,_0x16fa2e,_0x8d02f,_0x1b1110){const _0x569e42=_0x42bb9f;super(),_0x4fb07d(this,'_model',new Map()),_0x4fb07d(this,'_collectionConfigModel',new Map()),_0x4fb07d(this,'_pivotTableRangeInfo',new Map()),_0x4fb07d(this,_0x569e42(0xbd),new Map()),_0x4fb07d(this,_0x569e42(0x38b),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,_0x569e42(0x1b5),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,'pivotInitCompleted$',this[_0x569e42(0x1b5)][_0x569e42(0x2f1)]()),_0x4fb07d(this,_0x569e42(0x169),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,_0x569e42(0x22a),this[_0x569e42(0x169)][_0x569e42(0x2f1)]()),_0x4fb07d(this,_0x569e42(0x332),{}),_0x4fb07d(this,'configVersion$',this[_0x569e42(0x38b)][_0x569e42(0x2f1)]()),(this['_injector']=_0x386cbc,this[_0x569e42(0x370)]=_0x56ba5b,this[_0x569e42(0x1d4)]=_0x16fa2e,this[_0x569e42(0x139)]=_0x8d02f,this[_0x569e42(0x2fd)]=_0x1b1110,this[_0x569e42(0x10f)](),this[_0x569e42(0x1fa)]());const _0x52a5cd=this['_configService']['getConfig'](_0x403f4a);(_0x52a5cd==null?void 0x0:_0x52a5cd[_0x569e42(0x8c)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x3f4a4f=_0x42bb9f;this[_0x3f4a4f(0x148)](this[_0x3f4a4f(0x1d4)][_0x3f4a4f(0x34b)](_0x288eb9[_0x3f4a4f(0x175)][_0x3f4a4f(0x197)])[_0x3f4a4f(0x153)](_0x4524ed=>{const _0x2a74a7=_0x3f4a4f;this['deleteUnitId'](_0x4524ed[_0x2a74a7(0x23a)]());}));}[_0x42bb9f(0x305)](){const _0x2e4e70=_0x42bb9f;this[_0x2e4e70(0x1b5)]['next'](!0x0);}[_0x42bb9f(0x10f)](){const _0x4221c5=_0x42bb9f,_0x3afff3=_0x57ebfa(this['_injector'],_0x2e2884,'',{});this[_0x4221c5(0x332)]=_0x3afff3,this[_0x4221c5(0x370)]['executeCommand'](_0x157f7e['id'],{'textInfo':_0x3afff3},{'onlyLocal':!0x0});}[_0x42bb9f(0x128)](){const _0x109c32=_0x42bb9f;return this[_0x109c32(0x332)];}[_0x42bb9f(0x39b)](_0x5c5cf0,_0x503220,_0x59f8fb,_0x26bb76,_0x2ca6a6){const _0x5f1ddc=_0x42bb9f;this[_0x5f1ddc(0x1f8)](_0x5c5cf0,_0x503220,_0x59f8fb,_0x26bb76),this['updatePivotTableRangeInfo'](_0x5c5cf0,_0x503220,_0x59f8fb,_0x2ca6a6);}[_0x42bb9f(0x9b)](_0x470b99,_0x147d83,_0x4c17f1){const _0x45bdb1=_0x42bb9f;var _0x303a52;const _0x401ff5=(_0x303a52=this[_0x45bdb1(0x27d)][_0x45bdb1(0x239)](_0x470b99))==null?void 0x0:_0x303a52['get'](_0x147d83);if(_0x401ff5)return _0x401ff5[_0x45bdb1(0x239)](_0x4c17f1);}[_0x42bb9f(0x12d)](_0x5e6487,_0x2ef0b9){const _0x486d39=_0x42bb9f,_0x12077e=this['_model'][_0x486d39(0x239)](_0x5e6487);if(_0x12077e){for(const [_0x45d0a9,_0x34bc92]of _0x12077e['entries']())for(const [_0x4ad7c9,_0x969723]of _0x34bc92[_0x486d39(0xa1)]())if(_0x4ad7c9===_0x2ef0b9)return _0x969723['targetCellInfo'];}}[_0x42bb9f(0x33f)](_0xd3f5ce,_0x150221,_0x510a90){const _0x1fd529=_0x42bb9f,_0x2d609c=this[_0x1fd529(0x9b)](_0xd3f5ce,_0x150221,_0x510a90);return _0x2d609c==null?void 0x0:_0x2d609c[_0x1fd529(0x242)];}[_0x42bb9f(0x244)](_0x442e63,_0x1d20b0){const _0x403a4b=_0x42bb9f;var _0x39a52b;return(_0x39a52b=this[_0x403a4b(0x27d)][_0x403a4b(0x239)](_0x442e63))==null?void 0x0:_0x39a52b[_0x403a4b(0x239)](_0x1d20b0);}['updateConfigCache'](_0x224f4a,_0x4ac86b,_0x258b8b,_0x403a6c){const _0x1b75c3=_0x42bb9f,_0x5d1528=this['_ensurePivotMap'](_0x224f4a,_0x4ac86b);_0x403a6c?_0x5d1528[_0x1b75c3(0x22c)](_0x258b8b,_0x403a6c):_0x5d1528[_0x1b75c3(0x1ca)](_0x258b8b),this[_0x1b75c3(0x169)][_0x1b75c3(0x287)]({'unitId':_0x224f4a,'subUnitId':_0x4ac86b,'pivotTableId':_0x258b8b,'pivotTableConfig':_0x403a6c});}[_0x42bb9f(0x2c8)](_0x572c37,_0x3d29c9){const _0x2a239d=_0x42bb9f;var _0x169e77;return(_0x169e77=this[_0x2a239d(0x101)][_0x2a239d(0x239)](_0x572c37))==null?void 0x0:_0x169e77['collections'][_0x3d29c9];}['updateCollectionConfig'](_0x594c90,_0x213c37){const _0xf71cf4=_0x42bb9f;this['_collectionConfigModel']['set'](_0x594c90,_0x213c37),this[_0xf71cf4(0x38b)][_0xf71cf4(0x287)](Math[_0xf71cf4(0x106)]());}[_0x42bb9f(0x225)](_0x390a46,_0x2db661){const _0x4b57dd=_0x42bb9f;let _0x1d9e3f=this[_0x4b57dd(0x27d)][_0x4b57dd(0x239)](_0x390a46);_0x1d9e3f||(_0x1d9e3f=new Map(),this[_0x4b57dd(0x27d)][_0x4b57dd(0x22c)](_0x390a46,_0x1d9e3f));let _0x46ea21=_0x1d9e3f['get'](_0x2db661);return _0x46ea21||(_0x46ea21=new Map(),_0x1d9e3f[_0x4b57dd(0x22c)](_0x2db661,_0x46ea21)),_0x46ea21;}['_ensurePivotTableRangeInfo'](_0x5e7afe,_0x17d64f){const _0x45f113=_0x42bb9f;let _0x5e28ae=this[_0x45f113(0x256)][_0x45f113(0x239)](_0x5e7afe);_0x5e28ae||(_0x5e28ae=new Map(),this[_0x45f113(0x256)][_0x45f113(0x22c)](_0x5e7afe,_0x5e28ae));let _0x1a7818=_0x5e28ae['get'](_0x17d64f);return _0x1a7818||(_0x1a7818=new Map(),_0x5e28ae['set'](_0x17d64f,_0x1a7818)),_0x1a7818;}['_ensurePivotTableMatrixInfo'](_0x548ca1,_0x5ef743){const _0x40cadb=_0x42bb9f;let _0x4188e6=this['_pivotTableMatrixInfo'][_0x40cadb(0x239)](_0x548ca1);_0x4188e6||(_0x4188e6=new Map(),this[_0x40cadb(0xbd)]['set'](_0x548ca1,_0x4188e6));let _0x460bd6=_0x4188e6[_0x40cadb(0x239)](_0x5ef743);return _0x460bd6||(_0x460bd6=new Map(),_0x4188e6[_0x40cadb(0x22c)](_0x5ef743,_0x460bd6)),_0x460bd6;}['updatePivotTableRangeInfo'](_0x18288e,_0x2ce11b,_0x290b0c,_0x1deb44){const _0x3322b1=_0x42bb9f;var _0xb0ef1d;const _0x2e0671=this[_0x3322b1(0x172)](_0x18288e,_0x2ce11b),_0x1576c8=(_0xb0ef1d=_0x2e0671['get'](_0x290b0c))==null?void 0x0:_0xb0ef1d[_0x3322b1(0x1b7)];_0x2e0671[_0x3322b1(0x22c)](_0x290b0c,{'oldRangeInfo':_0x1576c8,'rangeInfo':_0x1deb44});}[_0x42bb9f(0x1f8)](_0x3263d9,_0x21d8de,_0x4c6643,_0x538dbd){const _0x231adc=_0x42bb9f;var _0x491c28;const _0x2322b7=this[_0x231adc(0xb8)](_0x3263d9,_0x21d8de),_0x7da409=(_0x491c28=_0x2322b7['get'](_0x4c6643))==null?void 0x0:_0x491c28[_0x231adc(0xd7)];_0x2322b7[_0x231adc(0x22c)](_0x4c6643,{'oldMatrix':_0x7da409,'matrix':_0x538dbd});}[_0x42bb9f(0x29f)](_0x2c128c,_0x3dd57b,_0x5753ce){const _0x5cec7b=_0x42bb9f;var _0x3b15bc,_0x18dce5;return(_0x18dce5=(_0x3b15bc=this[_0x5cec7b(0x256)][_0x5cec7b(0x239)](_0x2c128c))==null?void 0x0:_0x3b15bc[_0x5cec7b(0x239)](_0x3dd57b))==null?void 0x0:_0x18dce5[_0x5cec7b(0x239)](_0x5753ce);}['getPivotTableMatrixInfo'](_0x56f5b3,_0x552f8a,_0x12d0e4){const _0x18bbc3=_0x42bb9f;var _0x2d6ff8,_0x1b67f6;return(_0x1b67f6=(_0x2d6ff8=this['_pivotTableMatrixInfo'][_0x18bbc3(0x239)](_0x56f5b3))==null?void 0x0:_0x2d6ff8[_0x18bbc3(0x239)](_0x552f8a))==null?void 0x0:_0x1b67f6[_0x18bbc3(0x239)](_0x12d0e4);}[_0x42bb9f(0x1b6)](_0x5e4782){const _0x59cf8e=_0x42bb9f;this['_model'][_0x59cf8e(0x1ca)](_0x5e4782),this['_collectionConfigModel'][_0x59cf8e(0x1ca)](_0x5e4782);}[_0x42bb9f(0x31e)](_0x199f81){const _0x417d2d=_0x42bb9f,_0x15c770={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x417d2d(0x101)]['get'](_0x199f81)&&(_0x15c770[_0x417d2d(0x2d1)][_0x199f81]=this[_0x417d2d(0x101)][_0x417d2d(0x239)](_0x199f81)),this['_model']['get'](_0x199f81)){_0x15c770[_0x417d2d(0x1cf)][_0x199f81]={};const _0x4c9e72=this[_0x417d2d(0x27d)][_0x417d2d(0x239)](_0x199f81);_0x4c9e72!=null&&_0x4c9e72['size']&&[..._0x4c9e72[_0x417d2d(0x237)]()][_0x417d2d(0x36d)](_0x51fd04=>{const _0x5a0a8d=_0x417d2d,_0x5bd870=_0x4c9e72[_0x5a0a8d(0x239)](_0x51fd04);_0x5bd870!=null&&_0x5bd870['size']&&(_0x15c770[_0x5a0a8d(0x1cf)][_0x199f81][_0x51fd04]={},[..._0x5bd870[_0x5a0a8d(0x237)]()]['forEach'](_0x3adf7d=>{const _0x1b455a=_0x5a0a8d,_0x287d1b=_0x5bd870[_0x1b455a(0x239)](_0x3adf7d);_0x287d1b&&(_0x15c770['pivotTableConfigs'][_0x199f81][_0x51fd04][_0x3adf7d]=_0x287d1b);}));});}return _0x15c770;}[_0x42bb9f(0x238)](){const _0x3a8d06=_0x42bb9f;this[_0x3a8d06(0x148)](this[_0x3a8d06(0x139)][_0x3a8d06(0x2b3)]({'toJson':_0x4cb0ea=>JSON[_0x3a8d06(0x297)](this['_toJSON'](_0x4cb0ea)),'parseJson':_0x1f99e8=>({}),'businesses':[_0x288eb9[_0x3a8d06(0x175)][_0x3a8d06(0x197)]],'pluginName':_0xd0f9a3,'onLoad':(_0x2daf4d,_0x578456)=>{},'onUnLoad':_0xf73989=>{const _0x28c887=_0x3a8d06;this[_0x28c887(0x1b6)](_0xf73989);}}));}},_0x5bf755[_0x42bb9f(0x2e2)]=_0x593ca7([_0x28e3fc(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x28e3fc(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)])),_0x28e3fc(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x132)])),_0x28e3fc(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IResourceManagerService'])),_0x28e3fc(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0xd5)]))],_0x5bf755[_0x42bb9f(0x2e2)]);var _0x70c2d2=Object['getOwnPropertyDescriptor'],_0x6898dc=(_0x3ef105,_0x8682cd,_0x3f5628,_0x3bcb06)=>{const _0x52c2cb=_0x42bb9f;for(var _0x93bce8=_0x3bcb06>0x1?void 0x0:_0x3bcb06?_0x70c2d2(_0x8682cd,_0x3f5628):_0x8682cd,_0x588e8f=_0x3ef105[_0x52c2cb(0x8f)]-0x1,_0x5e9294;_0x588e8f>=0x0;_0x588e8f--)(_0x5e9294=_0x3ef105[_0x588e8f])&&(_0x93bce8=_0x5e9294(_0x93bce8)||_0x93bce8);return _0x93bce8;},_0x2de5c7=(_0x41e897,_0x201c9d)=>(_0x519d68,_0x3d2512)=>_0x201c9d(_0x519d68,_0x3d2512,_0x41e897);_0x5bf755[_0x42bb9f(0x249)]=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x306a35,_0x28726d,_0x1965c3,_0x2d1698,_0x2b5b66){const _0x5422ff=_0x42bb9f;super(),_0x4fb07d(this,'_pivotRenderInfoCache',new Map()),_0x4fb07d(this,_0x5422ff(0x189),new Map()),_0x4fb07d(this,_0x5422ff(0x218),new _0x4e0a85[(_0x5422ff(0x2bd))]()),_0x4fb07d(this,_0x5422ff(0x2c9),this[_0x5422ff(0x218)][_0x5422ff(0x2f1)]()),_0x4fb07d(this,'_viewUpdate$',new _0x4e0a85[(_0x5422ff(0x2bd))]()),_0x4fb07d(this,_0x5422ff(0x240),this['_viewUpdate$'][_0x5422ff(0x2f1)]()),_0x4fb07d(this,_0x5422ff(0x332)),(this[_0x5422ff(0x27f)]=_0x306a35,this['_injector']=_0x28726d,this[_0x5422ff(0x98)]=_0x1965c3,this[_0x5422ff(0x1d4)]=_0x2d1698,this['_exclusiveRangeService']=_0x2b5b66,this[_0x5422ff(0x10f)](),this[_0x5422ff(0x1fa)]());}[_0x42bb9f(0x1fa)](){const _0x250e80=_0x42bb9f;this[_0x250e80(0x148)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x288eb9[_0x250e80(0x175)]['UNIVER_SHEET'])[_0x250e80(0x153)](_0x5402d9=>{const _0x19d7e8=_0x250e80;this[_0x19d7e8(0x1b6)](_0x5402d9[_0x19d7e8(0x23a)]());}));}[_0x42bb9f(0x10f)](){const _0x7a2690=_0x42bb9f;this[_0x7a2690(0x332)]=_0x57ebfa(this[_0x7a2690(0x39e)],_0x2e2884,'',{});}['updateRenderCache'](_0x37f994){const _0x20df5b=_0x42bb9f,{view:_0x43dde5,unitId:_0x1b57cf,subUnitId:_0x3d5cf2,pivotTableId:_0x134de2,type:_0x58a27b}=_0x37f994,_0x1f5bed=this['_sheetsPivotTableConfigModel'][_0x20df5b(0x9b)](_0x1b57cf,_0x3d5cf2,_0x134de2);if(!_0x43dde5||!_0x1f5bed||_0x58a27b===_0x2de5fe[_0x20df5b(0x163)])return;const {pageView:_0x5e0788,cornerView:_0xf8d7ad,rowView:_0x378223,colView:_0x4b4632,dataView:_0x5193a0}=_0x43dde5,_0x439236=_0x1f5bed['targetCellInfo'],_0xcdb1d=_0x1f5bed[_0x20df5b(0x279)],_0x3440fa=this[_0x20df5b(0x15b)](_0x1b57cf,_0x3d5cf2),_0x317927=this[_0x20df5b(0x2f0)](_0x1b57cf,_0x3d5cf2,_0x134de2);if(_0xcdb1d)return this['_updateRenderEmptyCache'](_0x37f994,_0x3440fa,_0x439236,_0x317927);{const _0x169534=_0x2b2601(_0x439236,_0x5e0788,!0x0),_0x1252a1=_0x5e0788[_0x20df5b(0x1ef)]>=0x0?_0x5e0788[_0x20df5b(0x1ef)]+0x1:0x0,_0x263e94=_0xf8d7ad[_0x20df5b(0xec)](),_0x1767f8=_0xf8d7ad[_0x20df5b(0x146)](),_0x2516b6=_0x169534[_0x20df5b(0x8f)]>0x0?_0x4bce21:0x0,_0xc9f37c=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6,'col':_0x439236[_0x20df5b(0x113)]},_0xf8d7ad,!0x1,!0x1),_0x1b82a2=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6+_0x263e94,'col':_0x439236[_0x20df5b(0x113)]},_0x378223,!0x1,!0x0),_0x2c2b23=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6,'col':_0x439236[_0x20df5b(0x113)]+_0x1767f8},_0x4b4632,!0x1,!0x0),_0x3c095f=_0x2b2601({'row':_0x439236['row']+_0x1252a1+_0x2516b6+_0x263e94,'col':_0x439236[_0x20df5b(0x113)]+_0x1767f8},_0x5193a0,!0x1,!0x1);_0x317927[_0x20df5b(0x33d)]={'rowRanges':_0x1b82a2,'colRanges':_0x2c2b23,'cornerRanges':_0xc9f37c,'dataRanges':_0x3c095f,'pageRanges':_0x169534};const _0x2c2596=_0x22a312(this['_injector'],_0x43dde5,_0x1f5bed,this[_0x20df5b(0x332)]),{valueMatrix:_0x414a0f,rowInfo:_0x3603dd,colInfo:_0x346f43,cornerInfo:_0x4c469c,rowHeaderMap:_0x10a139,colHeaderMap:_0x10da99}=_0x2c2596;return _0x317927[_0x20df5b(0x12f)]={'rowInfo':_0x3603dd,'colInfo':_0x346f43,'cornerInfo':_0x4c469c},_0x317927[_0x20df5b(0x15f)]={'rowHeaderMap':_0x10a139,'colHeaderMap':_0x10da99},_0x414a0f[_0x20df5b(0x36d)]((_0x599b3f,_0x50b33e)=>{const _0x26c0d8=_0x20df5b;Object[_0x26c0d8(0x237)](_0x50b33e)[_0x26c0d8(0x36d)](_0x421eed=>{const _0x5a2998=_0x26c0d8,_0x509fa8=+_0x421eed,_0x371a87=_0x414a0f[_0x5a2998(0x187)](_0x599b3f,_0x509fa8);_0x3440fa[_0x5a2998(0x1bb)](_0x599b3f,_0x509fa8,_0x371a87);});}),this['_viewUpdate$']['next']({'unitId':_0x1b57cf,'subUnitId':_0x3d5cf2,'valueMatrix':_0x3440fa,'rangesCache':_0x317927['rangesInfo'],'pivotTableId':_0x134de2,'type':_0x37f994[_0x20df5b(0x29a)]}),this[_0x20df5b(0x98)][_0x20df5b(0x39b)](_0x1b57cf,_0x3d5cf2,_0x134de2,_0x3440fa,_0x317927[_0x20df5b(0x33d)]),this['_exclusiveRangeService']['addExclusiveRange'](_0x1b57cf,_0x3d5cf2,_0x1f2a8b,this[_0x20df5b(0x30d)](_0x317927['rangesInfo'],_0x134de2)),{'rangeCache':_0x317927[_0x20df5b(0x33d)],'matrix':_0x3440fa};}}[_0x42bb9f(0x243)](_0x27176d,_0x35e97a,_0x2ada6c,_0x94c6ff){const _0x34d380=_0x42bb9f,_0x7c167d=this[_0x34d380(0x27f)]['t'],{unitId:_0x1abb8e,subUnitId:_0x3dee5a,pivotTableId:_0x1e6603}=_0x27176d,_0x5dd0f9={'filter':_0x7c167d(_0x34d380(0x1b9)),'row':_0x7c167d(_0x34d380(0xd3)),'column':_0x7c167d(_0x34d380(0xc3)),'values':_0x7c167d(_0x34d380(0x1f7))},{matrixCache:_0x25aa84,rangesCache:_0x3179fe}=_0x3dd3c1(_0x5dd0f9,_0x2ada6c);return _0x25aa84[_0x34d380(0xbc)]((_0x109b36,_0x3ae68e,_0x47ed4d)=>{const _0x18faa9=_0x34d380;_0x35e97a[_0x18faa9(0x1bb)](_0x109b36,_0x3ae68e,_0x47ed4d);}),_0x94c6ff[_0x34d380(0x33d)]=_0x3179fe,this[_0x34d380(0x24d)]['next']({'unitId':_0x1abb8e,'subUnitId':_0x3dee5a,'valueMatrix':_0x35e97a,'rangesCache':_0x3179fe,'pivotTableId':_0x1e6603,'type':_0x27176d[_0x34d380(0x29a)],'isEmpty':!0x0}),this[_0x34d380(0x98)][_0x34d380(0x39b)](_0x1abb8e,_0x3dee5a,_0x1e6603,_0x35e97a,_0x3179fe),this[_0x34d380(0x118)][_0x34d380(0x1cb)](_0x1abb8e,_0x3dee5a,_0x1f2a8b,this[_0x34d380(0x30d)](_0x3179fe,_0x1e6603)),{'rangeCache':_0x94c6ff['rangesInfo'],'matrix':_0x35e97a};}['_createExclusiveRange'](_0x21db7d,_0x579c95){const _0x40b55f=_0x42bb9f,_0x23a0f0=[],_0x3af086=_0x26ef08(_0x21db7d);for(const _0x21b44d of _0x3af086)_0x23a0f0[_0x40b55f(0x364)]({'groupId':_0x579c95,'range':_0x21b44d});return _0x23a0f0;}['clearRenderCache'](_0x2a9dbe){const _0x7ae71f=_0x42bb9f;var _0x26bcbc,_0x1cabed,_0x4f0555,_0x312b99;const {pivotTableId:_0x51ae3f,unitId:_0x4a90bc,subUnitId:_0x4a52df}=_0x2a9dbe;if(!_0x51ae3f||!_0x4a90bc||!_0x4a52df)return;const _0x21b3e9=this[_0x7ae71f(0x15b)](_0x4a90bc,_0x4a52df),_0x23ad73=(_0x1cabed=(_0x26bcbc=this[_0x7ae71f(0x145)][_0x7ae71f(0x239)](_0x4a90bc))==null?void 0x0:_0x26bcbc[_0x7ae71f(0x239)](_0x4a52df))==null?void 0x0:_0x1cabed['get'](_0x51ae3f);if(_0x23ad73!=null&&_0x23ad73[_0x7ae71f(0x33d)]){for(const _0x542672 of Object['keys'](_0x23ad73[_0x7ae71f(0x33d)]))_0x23ad73[_0x7ae71f(0x33d)][_0x542672][_0x7ae71f(0x36d)](_0x2f726c=>{const _0x4bad18=_0x7ae71f;for(let _0x504140=_0x2f726c[_0x4bad18(0x36a)];_0x504140<=_0x2f726c['endRow'];_0x504140++)for(let _0xeac14e=_0x2f726c[_0x4bad18(0x1c9)];_0xeac14e<=_0x2f726c[_0x4bad18(0x1f1)];_0xeac14e++)_0x21b3e9[_0x4bad18(0x1b2)](_0x504140,_0xeac14e);});}_0x23ad73&&((_0x312b99=(_0x4f0555=this[_0x7ae71f(0x145)][_0x7ae71f(0x239)](_0x4a90bc))==null?void 0x0:_0x4f0555[_0x7ae71f(0x239)](_0x4a52df))==null||_0x312b99['delete'](_0x51ae3f)),this[_0x7ae71f(0x24d)][_0x7ae71f(0x287)]({'unitId':_0x4a90bc,'subUnitId':_0x4a52df,'valueMatrix':_0x21b3e9,'pivotTableId':_0x51ae3f,'rangesCache':void 0x0,'type':_0x2a9dbe['type']}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x4a90bc,_0x4a52df,_0x1f2a8b,_0x51ae3f);}[_0x42bb9f(0x2f0)](_0x1c3403,_0xaf6583,_0x27a317){const _0x24c2c2=_0x42bb9f;var _0x4e6943,_0x53c8a5,_0x2c3fe3,_0x26b531,_0x186c60,_0x19bd5b;return this[_0x24c2c2(0x145)]['has'](_0x1c3403)||this[_0x24c2c2(0x145)]['set'](_0x1c3403,new Map()),(_0x4e6943=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))!=null&&_0x4e6943[_0x24c2c2(0xde)](_0xaf6583)||(_0x53c8a5=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))==null||_0x53c8a5[_0x24c2c2(0x22c)](_0xaf6583,new Map()),(_0x26b531=(_0x2c3fe3=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))==null?void 0x0:_0x2c3fe3[_0x24c2c2(0x239)](_0xaf6583))!=null&&_0x26b531[_0x24c2c2(0xde)](_0x27a317)||(_0x19bd5b=(_0x186c60=this[_0x24c2c2(0x145)]['get'](_0x1c3403))==null?void 0x0:_0x186c60['get'](_0xaf6583))==null||_0x19bd5b[_0x24c2c2(0x22c)](_0x27a317,{}),this[_0x24c2c2(0x145)]['get'](_0x1c3403)[_0x24c2c2(0x239)](_0xaf6583)[_0x24c2c2(0x239)](_0x27a317);}[_0x42bb9f(0x15b)](_0x5ae362,_0x5e6b8f){const _0x5d33b0=_0x42bb9f;var _0x1ec919,_0x492927;return this[_0x5d33b0(0x189)][_0x5d33b0(0xde)](_0x5ae362)||this[_0x5d33b0(0x189)][_0x5d33b0(0x22c)](_0x5ae362,new Map()),(_0x1ec919=this[_0x5d33b0(0x189)]['get'](_0x5ae362))!=null&&_0x1ec919[_0x5d33b0(0xde)](_0x5e6b8f)||(_0x492927=this[_0x5d33b0(0x189)][_0x5d33b0(0x239)](_0x5ae362))==null||_0x492927['set'](_0x5e6b8f,new _0x288eb9['ObjectMatrix']()),this[_0x5d33b0(0x189)][_0x5d33b0(0x239)](_0x5ae362)[_0x5d33b0(0x239)](_0x5e6b8f);}['getPivotTableCellData'](_0x5afd94,_0x792b68,_0x4b7906,_0x40b629){const _0x2cadc2=_0x42bb9f;var _0x38953f,_0x196052;const _0x5eb059=(_0x196052=(_0x38953f=this[_0x2cadc2(0x189)]['get'](_0x5afd94))==null?void 0x0:_0x38953f[_0x2cadc2(0x239)](_0x792b68))==null?void 0x0:_0x196052[_0x2cadc2(0x187)](_0x4b7906,_0x40b629);if(_0x5eb059!=null)return _0x5eb059;}['getPivotTableIdByCell'](_0x3b0161,_0x2966ae,_0x5cee6d,_0x126f35){const _0x71ede8=_0x42bb9f;var _0x49fd3b;const _0x1e7d72=_0x288eb9['cellToRange'](_0x5cee6d,_0x126f35),_0x2b537f=(_0x49fd3b=this[_0x71ede8(0x145)][_0x71ede8(0x239)](_0x3b0161))==null?void 0x0:_0x49fd3b[_0x71ede8(0x239)](_0x2966ae);return _0x2b537f?Array['from'](_0x2b537f[_0x71ede8(0x237)]())[_0x71ede8(0x261)](_0x78217d=>{const _0x8e8d0a=_0x71ede8,_0x2d76be=_0x2b537f[_0x8e8d0a(0x239)](_0x78217d),_0x2d803a=_0x2d76be==null?void 0x0:_0x2d76be['rangesInfo'];return _0x2d803a?Object[_0x8e8d0a(0x237)](_0x2d803a)[_0x8e8d0a(0x281)](_0x13d8d3=>_0x2d803a[_0x13d8d3]['some'](_0x2c34af=>_0x288eb9[_0x8e8d0a(0x25d)][_0x8e8d0a(0x2f4)](_0x2c34af,_0x1e7d72))):!0x1;}):void 0x0;}[_0x42bb9f(0x2d8)](_0x40cbf9,_0x30f469,_0x1a98cf){const _0x337500=_0x42bb9f;var _0x567ebb;const _0x54a421=(_0x567ebb=this[_0x337500(0x145)][_0x337500(0x239)](_0x40cbf9))==null?void 0x0:_0x567ebb['get'](_0x30f469),_0x30bef8=[];return _0x54a421&&Array['from'](_0x54a421[_0x337500(0x237)]())[_0x337500(0x36d)](_0x3a68b2=>{const _0x335bb4=_0x337500,_0x42a630=_0x54a421[_0x335bb4(0x239)](_0x3a68b2),_0x4e51a1=_0x42a630==null?void 0x0:_0x42a630[_0x335bb4(0x33d)];if(_0x4e51a1)for(const _0x2fe900 of Object[_0x335bb4(0xe2)](_0x4e51a1)){let _0x594d93=!0x1;for(const _0x2f49c6 of _0x2fe900)if(_0x288eb9[_0x335bb4(0x25d)][_0x335bb4(0x1e4)](_0x2f49c6,_0x1a98cf)){_0x30bef8[_0x335bb4(0x364)](_0x3a68b2),_0x594d93=!0x0;break;}if(_0x594d93)break;}}),_0x30bef8;}[_0x42bb9f(0x16b)](_0x569b61,_0x38a07c){const _0x8f8af0=_0x42bb9f;var _0x584116,_0x192a74;return(_0x192a74=(_0x584116=this[_0x8f8af0(0x189)][_0x8f8af0(0x239)](_0x569b61))==null?void 0x0:_0x584116[_0x8f8af0(0x239)](_0x38a07c))!=null?_0x192a74:new _0x288eb9[(_0x8f8af0(0x280))]();}[_0x42bb9f(0x1c8)](_0xe3f82,_0x656094){const _0x4763e9=_0x42bb9f;var _0x38f765;return(_0x38f765=this[_0x4763e9(0x145)][_0x4763e9(0x239)](_0xe3f82))==null?void 0x0:_0x38f765[_0x4763e9(0x239)](_0x656094);}[_0x42bb9f(0x2ab)](_0x2b5f21,_0x3abc6d,_0x23bd7){const _0x137954=_0x42bb9f;var _0xd0f1f8,_0x346905;return(_0x346905=(_0xd0f1f8=this[_0x137954(0x145)][_0x137954(0x239)](_0x2b5f21))==null?void 0x0:_0xd0f1f8['get'](_0x3abc6d))==null?void 0x0:_0x346905['get'](_0x23bd7);}[_0x42bb9f(0x1b6)](_0x26830c){const _0x23ec09=_0x42bb9f;this[_0x23ec09(0x145)][_0x23ec09(0x1ca)](_0x26830c),this[_0x23ec09(0x189)][_0x23ec09(0x1ca)](_0x26830c);}['markDirty'](_0x34be64,_0x354568){const _0x5c64f2=_0x42bb9f;this[_0x5c64f2(0x218)][_0x5c64f2(0x287)]({'unitId':_0x34be64,'subUnitId':_0x354568});}},_0x5bf755['SheetsPivotTableAdaptorModel']=_0x6898dc([_0x2de5c7(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['LocaleService'])),_0x2de5c7(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x2de5c7(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0x2de5c7(0x3,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x132)])),_0x2de5c7(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['IExclusiveRangeService']))],_0x5bf755['SheetsPivotTableAdaptorModel']);var _0x2dffdc=Object[_0x42bb9f(0x235)],_0x36df02=(_0x3a3311,_0x1a8cc0,_0x274a3d,_0x5c3c2a)=>{const _0x2b00cd=_0x42bb9f;for(var _0x48b930=_0x5c3c2a>0x1?void 0x0:_0x5c3c2a?_0x2dffdc(_0x1a8cc0,_0x274a3d):_0x1a8cc0,_0x5ad724=_0x3a3311[_0x2b00cd(0x8f)]-0x1,_0x1d8084;_0x5ad724>=0x0;_0x5ad724--)(_0x1d8084=_0x3a3311[_0x5ad724])&&(_0x48b930=_0x1d8084(_0x48b930)||_0x48b930);return _0x48b930;},_0x361ad8=(_0x22a075,_0x2834de)=>(_0x1b98f7,_0x2462ef)=>_0x2834de(_0x1b98f7,_0x2462ef,_0x22a075);_0x5bf755[_0x42bb9f(0x19e)]=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x496a80,_0xd48a57){const _0x3695fb=_0x42bb9f;super(),_0x4fb07d(this,_0x3695fb(0x2cc),new _0x288eb9[(_0x3695fb(0xd4))]({'PIVOT_PERFORM_CHECK':_0x5ce99e})),_0x4fb07d(this,_0x3695fb(0x26a),new _0x288eb9[(_0x3695fb(0x2ca))]({'PIVOT_MUTATION_GENERATE':_0x1ab638})),(this['_sheetInterceptorService']=_0x496a80,this['_sheetsPivotTableAdaptorModel']=_0xd48a57,this[_0x3695fb(0x1eb)]());}['_init'](){const _0x3c895f=_0x42bb9f;this[_0x3c895f(0x1db)]();}[_0x42bb9f(0x9c)](_0x279bd7){const _0x18b9ad=_0x42bb9f;return this[_0x18b9ad(0x2cc)][_0x18b9ad(0x1f9)](_0x5ce99e)(!0x1,_0x279bd7);}[_0x42bb9f(0x1db)](){const _0x8c0f95=_0x42bb9f;this['disposeWithMe'](this[_0x8c0f95(0x1bc)][_0x8c0f95(0x2db)](_0x2e27a8['INTERCEPTOR_POINT']['CELL_CONTENT'],{'priority':0xc8,'effect':_0x288eb9[_0x8c0f95(0x164)][_0x8c0f95(0x34e)]|_0x288eb9[_0x8c0f95(0x164)][_0x8c0f95(0x2a3)],'handler':(_0x50dba5,_0x2fa83e,_0x5a8ce1)=>{const _0x24904a=_0x8c0f95,{row:_0x416dce,col:_0x2e83cd,unitId:_0x19bfcd,subUnitId:_0x191f13,workbook:_0x5b1e3e}=_0x2fa83e,_0x26dc43=this[_0x24904a(0xb2)][_0x24904a(0x273)](_0x19bfcd,_0x191f13,_0x416dce,_0x2e83cd);if(!_0x26dc43)return _0x5a8ce1(_0x50dba5);const _0x41b9c0={..._0x50dba5};(_0x26dc43['v']||_0x26dc43['v']===0x0)&&(_0x41b9c0['v']=_0x26dc43['v']),_0x26dc43['t']&&(_0x41b9c0['t']=_0x26dc43['t']);const _0x15cc0f=(typeof(_0x50dba5==null?void 0x0:_0x50dba5['s'])==_0x24904a(0x16e)?_0x5b1e3e[_0x24904a(0xa4)]()[_0x24904a(0x239)](_0x50dba5==null?void 0x0:_0x50dba5['s']):_0x50dba5==null?void 0x0:_0x50dba5['s'])||{},_0x10cbbc=_0x5b1e3e[_0x24904a(0xa4)]()[_0x24904a(0x239)](_0x26dc43['s']),_0xf866ca={..._0x10cbbc,..._0x15cc0f};_0x10cbbc!=null&&_0x10cbbc['n']&&(_0xf866ca['n']=_0x10cbbc['n']);const _0x25b3b7=_0x5b1e3e[_0x24904a(0xa4)]()['setValue'](_0xf866ca);return _0x41b9c0['s']=_0x25b3b7,(_0x26dc43[_0x24904a(0x1a2)]===_0x2bd302[_0x24904a(0x227)]['Collapse']||_0x26dc43[_0x24904a(0x1a2)]===_0x2bd302['PivotCellStyleTypeEnum'][_0x24904a(0x203)])&&(_0x41b9c0[_0x24904a(0x1d9)]={},_0x41b9c0[_0x24904a(0x1d9)]['leftOffset']=_0x4b3044),_0x5a8ce1(_0x41b9c0);}}));}},_0x5bf755['SheetsPivotTableService']=_0x36df02([_0x361ad8(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetInterceptorService'])),_0x361ad8(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotTableAdaptorModel']))],_0x5bf755[_0x42bb9f(0x19e)]);const _0x33e7c6={'id':_0x42bb9f(0x124),'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'handler':(_0x14a123,_0x31cee5)=>{const _0x1c9395=_0x42bb9f;if(!_0x31cee5)return!0x1;if(!!_0x14a123[_0x1c9395(0x239)](_0x288eb9['IConfigService'])[_0x1c9395(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x2d82be,fieldJSON:_0x3bcf96,unitId:_0x18bd13,subUnitId:_0x16fd43}=_0x31cee5;let _0x8fe99d;const {dataFieldType:_0x419278,id:_0x24934b,name:_0x4cc6db,hexCode:_0xbf07a5,originalFieldId:_0x115744}=_0x3bcf96;if(_0x419278===_0x2bd302[_0x1c9395(0x184)][_0x1c9395(0xb6)]&&(_0x8fe99d=new _0x2bd302['DateGroupField'](_0x24934b,_0x4cc6db,_0xbf07a5,_0x115744)),!_0x8fe99d)return!0x1;const _0x5ccefa=_0x14a123[_0x1c9395(0x239)](_0x5bf755[_0x1c9395(0x1ae)]),_0x3340d6=_0x5ccefa['getDataFieldManager'](_0x18bd13),_0x5e0e9d=_0x3340d6['getCollection'](_0x2d82be);_0x3340d6['addDataFieldWithoutUnitInfo'](_0x8fe99d),_0x5e0e9d[_0x1c9395(0x2e4)](_0x8fe99d[_0x1c9395(0x37c)](),_0x8fe99d[_0x1c9395(0x2e8)]());const _0x154f01=_0x5e0e9d['getFieldById'](_0x8fe99d['getOriginFieldId']());_0x154f01&&_0x8fe99d[_0x1c9395(0x14a)](_0x154f01);const _0x4562ad=_0x5ccefa['getPivotTableConfig'](_0x18bd13,_0x16fd43,_0x2d82be);return _0x5ccefa[_0x1c9395(0x1d8)]({'unitId':_0x18bd13,'subUnitId':_0x16fd43,'token':_0x2d82be,'type':_0x2de5fe[_0x1c9395(0x1d1)],'pivotConfig':_0x4562ad}),!0x0;}},_0xb3cfa6={'id':'sheet.mutation.remove-group-collection','type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'handler':(_0x2c6081,_0x47d5ad)=>{const _0x5ee410=_0x42bb9f;if(!_0x47d5ad)return!0x1;if(!!_0x2c6081[_0x5ee410(0x239)](_0x288eb9[_0x5ee410(0xd5)])['getConfig'](_0x34280f))return!0x0;const {pivotTableId:_0x3ae1f7,dataFieldId:_0x1cdc6f,unitId:_0x53000d,subUnitId:_0x293a15}=_0x47d5ad,_0x31f262=_0x2c6081[_0x5ee410(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),_0x5e1f3c=_0x31f262[_0x5ee410(0x138)](_0x53000d);_0x5e1f3c['getCollection'](_0x3ae1f7)[_0x5ee410(0x309)](_0x1cdc6f);let _0x3cfdfb=!0x0;for(const _0x12e056 in _0x5e1f3c['collections'])if(_0x5e1f3c[_0x5ee410(0x211)][_0x12e056][_0x5ee410(0x15d)]()[_0x5ee410(0x155)](_0x1cdc6f)){_0x3cfdfb=!0x1;break;}_0x3cfdfb&&_0x5e1f3c['deleteDataField'](_0x1cdc6f);const _0x4b933c=_0x31f262[_0x5ee410(0x9b)](_0x53000d,_0x293a15,_0x3ae1f7);return _0x31f262[_0x5ee410(0x1d8)]({'unitId':_0x53000d,'subUnitId':_0x293a15,'token':_0x3ae1f7,'type':_0x2de5fe[_0x5ee410(0x1d1)],'pivotConfig':_0x4b933c}),!0x0;}};function _0x12b438(_0xf85be7,_0x5e8519){const _0x35102d=_0x42bb9f;switch(_0x5e8519){case _0x2bd302[_0x35102d(0x25f)][_0x35102d(0x34e)]:return _0xf85be7[_0x35102d(0x18c)];case _0x2bd302['PivotTableFiledAreaEnum'][_0x35102d(0x328)]:return _0xf85be7[_0x35102d(0x267)];case _0x2bd302[_0x35102d(0x25f)][_0x35102d(0x1d7)]:return _0xf85be7[_0x35102d(0x1ec)];case _0x2bd302['PivotTableFiledAreaEnum'][_0x35102d(0x2b9)]:return _0xf85be7[_0x35102d(0x33a)];default:return[];}}function _0x458bbf(_0x3e3548,_0x29c46e){return _0x3e3548['measure'][_0x29c46e]||_0x3e3548['dimension'][_0x29c46e];}function _0x42f3ae(_0x3c4457,_0x3e7ff7){const _0xabc01e=_0x42bb9f,{area:_0x42aa52,fieldJson:_0xec9c18,index:_0x2191dc}=_0x3e7ff7;_0x42aa52===_0x2bd302[_0xabc01e(0x25f)]['Value']?_0x3c4457[_0xabc01e(0x16f)][_0xec9c18['id']]=_0xec9c18:_0x3c4457[_0xabc01e(0x1dd)][_0xec9c18['id']]=_0xec9c18,_0x12b438(_0x3c4457,_0x42aa52)['splice'](_0x2191dc,0x0,_0xec9c18['id']);}function _0x159167(_0x37640e,_0xa3d33b){const _0x51d837=_0x42bb9f,{area:_0x4d1e9b,fieldId:_0xc23c33,index:_0x13c7f0}=_0xa3d33b;_0x4d1e9b===_0x2bd302[_0x51d837(0x25f)][_0x51d837(0x34e)]?delete _0x37640e[_0x51d837(0x16f)][_0xc23c33]:delete _0x37640e[_0x51d837(0x1dd)][_0xc23c33],_0x12b438(_0x37640e,_0x4d1e9b)[_0x51d837(0x362)](_0x13c7f0,0x1);}function _0x51417c(_0x17c924,_0x467102){const _0x332a5d=_0x42bb9f,{fieldId:_0x37a640,name:_0x3b52ae}=_0x467102,_0x300ea8=_0x458bbf(_0x17c924,_0x37a640);_0x300ea8&&(_0x300ea8[_0x332a5d(0x373)]=_0x3b52ae);}function _0x126357(_0x2a6bee,_0xcbadeb){const _0x55b53b=_0x42bb9f,{fieldId:_0x57ae68,collapse:_0xcdcc4a,item:_0x49012a}=_0xcbadeb;_0x49012a!==void 0x0?(_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]=_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]||{},_0x2a6bee[_0x55b53b(0x122)][_0x57ae68][_0x49012a]=_0xcdcc4a):_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]=_0xcdcc4a;}function _0xb04600(_0x25712a,_0x560f4d){const _0x414750=_0x42bb9f,{fieldId:_0x414215,format:_0xe70da5}=_0x560f4d,_0xb54dbf=_0x458bbf(_0x25712a,_0x414215);_0xb54dbf&&(_0xb54dbf[_0x414750(0x2da)]=_0xe70da5);}function _0x21a9e4(_0x235bd9,_0x1aa227){const _0x332698=_0x42bb9f,{fieldId:_0x8b180e,filterInfo:_0x5a7582}=_0x1aa227,_0x3ff734=_0x458bbf(_0x235bd9,_0x8b180e);_0x3ff734&&(_0x3ff734[_0x332698(0xcf)]=_0x5a7582);}function _0x4224e6(_0x3ad708,_0x3067f8){const _0x1d8cdb=_0x42bb9f,{fieldId:_0x109ec6,filterInfo:_0x1de8eb}=_0x3067f8,_0x5cf448=_0x3ad708[_0x1d8cdb(0x2d7)][_0x1d8cdb(0xdc)](_0x54972e=>_0x54972e[_0x1d8cdb(0x304)]!==_0x109ec6);_0x1de8eb&&_0x5cf448['push']({'fieldId':_0x109ec6,'filterInfo':_0x1de8eb}),_0x3ad708[_0x1d8cdb(0x2d7)]=_0x5cf448;}function _0x4dd376(_0x9adb21,_0x567850){const {fieldId:_0x35ac91,subtotalType:_0x4da019}=_0x567850,_0x21fad1=_0x458bbf(_0x9adb21,_0x35ac91);_0x21fad1&&(_0x21fad1['subtotal']=_0x4da019);}function _0xebffa1(_0x162496,_0x312edb){const _0xfc216e=_0x42bb9f,{fieldId:_0x273f38,oldArea:_0x4ca2c8,area:_0x2e054c,oldIndex:_0x408626,index:_0x363c3a}=_0x312edb,_0x142c9f=_0x4ca2c8!==_0x2bd302['PivotTableFiledAreaEnum'][_0xfc216e(0x34e)]&&_0x2e054c===_0x2bd302[_0xfc216e(0x25f)]['Value'],_0x12ac7b=_0x4ca2c8===_0x2bd302['PivotTableFiledAreaEnum'][_0xfc216e(0x34e)]&&_0x2e054c!==_0x2bd302[_0xfc216e(0x25f)][_0xfc216e(0x34e)];if(_0x142c9f||_0x12ac7b){const _0x45706a=_0x458bbf(_0x162496,_0x273f38);_0x45706a&&(_0x142c9f?(delete _0x162496[_0xfc216e(0x1dd)][_0x273f38],_0x162496[_0xfc216e(0x16f)][_0x273f38]=_0x45706a):(delete _0x162496[_0xfc216e(0x16f)][_0x273f38],_0x162496['dimension'][_0x273f38]=_0x45706a));}const _0x3a1c85=_0x12b438(_0x162496,_0x4ca2c8),_0x51db56=_0x12b438(_0x162496,_0x2e054c);_0x3a1c85[_0xfc216e(0x362)](_0x408626,0x1),_0x51db56[_0xfc216e(0x362)](_0x363c3a,0x0,_0x273f38);}function _0x26cda0(_0x633b22,_0x12c99e){const _0x3c0123=_0x42bb9f,{valuePosition:_0x59384c,index:_0x6718e9}=_0x12c99e;_0x633b22[_0x3c0123(0x2a2)]=_0x59384c,_0x633b22['valueIndex']=_0x6718e9;}function _0x253248(_0x43c33c,_0x435ed4){const _0x412bd4=_0x42bb9f,{tableFieldId:_0xec5c13,sourceName:_0x8b3e81,dataFieldId:_0x3f89ac}=_0x435ed4,_0x574535=_0x458bbf(_0x43c33c,_0xec5c13);_0x574535&&(_0x574535[_0x412bd4(0x39d)]=_0x8b3e81,_0x574535[_0x412bd4(0x160)]=_0x3f89ac);}function _0x8d59bd(_0x4d0744,_0x437a7c){const _0x3047f6=_0x42bb9f,{fieldId:_0x40965c,sortInfo:_0x2c415a}=_0x437a7c,_0x1b8bc9=_0x458bbf(_0x4d0744,_0x40965c);_0x1b8bc9&&(_0x1b8bc9[_0x3047f6(0xf8)]=_0x2c415a);}function _0x2e5fd5(_0x3f58fd,_0x275b58){const _0x3875e0=_0x42bb9f,{options:_0x466bdc}=_0x275b58;_0x3f58fd[_0x3875e0(0x199)]={..._0x3f58fd[_0x3875e0(0x199)],..._0x466bdc};}const _0x340732={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x10e),'handler'(_0x4c526b,_0x23a918){const _0x4c1973=_0x42bb9f;if(!_0x23a918)return!0x1;if(!!_0x4c526b['get'](_0x288eb9[_0x4c1973(0xd5)])[_0x4c1973(0x36b)](_0x34280f))return!0x0;const _0x614b7c=_0x4c526b[_0x4c1973(0x239)](_0x5bf755[_0x4c1973(0x1ae)]),{pivotTableId:_0x3f557a,fieldJson:_0x50c125,area:_0x3cbc66,index:_0x12988a,unitId:_0x4a6cb9,subUnitId:_0x13a52e}=_0x23a918,_0x4a235e=_0x614b7c[_0x4c1973(0x25c)](_0x3f557a);if(!_0x4a235e)return!0x1;let _0x1f78d0;_0x3cbc66===_0x2bd302[_0x4c1973(0x25f)][_0x4c1973(0x34e)]?_0x1f78d0=_0x2bd302[_0x4c1973(0x1a5)](_0x50c125):_0x1f78d0=_0x2bd302[_0x4c1973(0xe7)](_0x50c125),_0x4a235e[_0x4c1973(0x2e4)](_0x1f78d0,_0x3cbc66,_0x12988a);const _0x400ea1=_0x614b7c[_0x4c1973(0xa0)](_0x4a6cb9,_0x13a52e,_0x3f557a);_0x42f3ae(_0x400ea1,_0x23a918);const _0x4dd2b6=_0x614b7c['getPivotTableConfig'](_0x4a6cb9,_0x13a52e,_0x3f557a);return _0x614b7c['addDirtyPivotTable']({'unitId':_0x4a6cb9,'subUnitId':_0x13a52e,'token':_0x3f557a,'type':_0x2de5fe[_0x4c1973(0x1d1)],'pivotConfig':_0x4dd2b6}),!0x0;}},_0x8bbbe={'type':_0x288eb9['CommandType']['MUTATION'],'id':_0x42bb9f(0x2df),'handler'(_0x2462af,_0x94ac1e){const _0x2e0b61=_0x42bb9f;if(!_0x94ac1e)return!0x1;if(!!_0x2462af[_0x2e0b61(0x239)](_0x288eb9[_0x2e0b61(0xd5)])[_0x2e0b61(0x36b)](_0x34280f))return!0x0;const _0xc32ba2=_0x2462af['get'](_0x5bf755[_0x2e0b61(0x1ae)]),{pivotTableId:_0x326a5e,fieldId:_0x17b35a,unitId:_0x57f692,subUnitId:_0x5da6da}=_0x94ac1e,_0x26254f=_0xc32ba2['getPivotTableInstance'](_0x326a5e);if(!_0x26254f)return!0x1;_0x26254f[_0x2e0b61(0x115)](_0x17b35a);const _0x5c632c=_0xc32ba2[_0x2e0b61(0xa0)](_0x57f692,_0x5da6da,_0x326a5e);_0x159167(_0x5c632c,_0x94ac1e);const _0x5f588a=_0xc32ba2[_0x2e0b61(0x9b)](_0x57f692,_0x5da6da,_0x326a5e);return _0xc32ba2[_0x2e0b61(0x1d8)]({'unitId':_0x57f692,'subUnitId':_0x5da6da,'token':_0x326a5e,'type':_0x2de5fe[_0x2e0b61(0x1d1)],'pivotConfig':_0x5f588a}),!0x0;}},_0x3bf8ba={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x39c),'handler'(_0x50ea5d,_0x28ac7b){const _0x338b89=_0x42bb9f;if(!_0x28ac7b)return!0x1;if(!!_0x50ea5d[_0x338b89(0x239)](_0x288eb9['IConfigService'])[_0x338b89(0x36b)](_0x34280f))return!0x0;const _0x462904=_0x50ea5d[_0x338b89(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0xdfc355,subUnitId:_0x3c770d,pivotTableId:_0x371239,fieldId:_0x175ee7,name:_0x20ad70}=_0x28ac7b,_0x33180b=_0x462904[_0x338b89(0x25c)](_0x371239);if(!_0x33180b)return!0x1;_0x33180b[_0x338b89(0x33c)](_0x175ee7,_0x20ad70);const _0xb9e2b3=_0x462904[_0x338b89(0xa0)](_0xdfc355,_0x3c770d,_0x371239);return _0x51417c(_0xb9e2b3,_0x28ac7b),_0x462904['addDirtyPivotTable']({'unitId':_0xdfc355,'subUnitId':_0x3c770d,'token':_0x371239,'type':_0x2de5fe[_0x338b89(0x1d1)]}),!0x0;}},_0x3f8ba0={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x45e713,_0x5c7d52){const _0x1efdc1=_0x42bb9f;if(!_0x5c7d52)return!0x1;if(!!_0x45e713['get'](_0x288eb9[_0x1efdc1(0xd5)])[_0x1efdc1(0x36b)](_0x34280f))return!0x0;const _0x9bcd15=_0x45e713[_0x1efdc1(0x239)](_0x5bf755[_0x1efdc1(0x1ae)]),{unitId:_0x28e7d3,subUnitId:_0x1ccf3c,pivotTableId:_0x400933,fieldId:_0x421686,collapse:_0x3860a4,item:_0x3297bd}=_0x5c7d52,_0x1ffa15=_0x9bcd15[_0x1efdc1(0x25c)](_0x400933);if(!_0x1ffa15)return!0x1;_0x1ffa15[_0x1efdc1(0x1af)](_0x421686,_0x3860a4,_0x3297bd);const _0x2e6742=_0x9bcd15[_0x1efdc1(0xa0)](_0x28e7d3,_0x1ccf3c,_0x400933);return _0x126357(_0x2e6742,_0x5c7d52),_0x9bcd15[_0x1efdc1(0x1d8)]({'unitId':_0x28e7d3,'subUnitId':_0x1ccf3c,'token':_0x400933,'type':_0x2de5fe[_0x1efdc1(0x1d1)]}),!0x0;}},_0x286fdb={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x1fe),'handler'(_0x15de48,_0x20377d){const _0x11038e=_0x42bb9f;if(!_0x20377d)return!0x1;if(!!_0x15de48[_0x11038e(0x239)](_0x288eb9[_0x11038e(0xd5)])[_0x11038e(0x36b)](_0x34280f))return!0x0;const _0x2bcce8=_0x15de48[_0x11038e(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x4437d6,subUnitId:_0x319839,pivotTableId:_0xe25090,fieldId:_0x5a9907,format:_0x20d76b}=_0x20377d,_0x238e6a=_0x2bcce8['getPivotTableInstance'](_0xe25090);if(!_0x238e6a)return!0x1;_0x238e6a['setFieldFormat'](_0x5a9907,_0x20d76b);const _0x319fe9=_0x2bcce8[_0x11038e(0xa0)](_0x4437d6,_0x319839,_0xe25090);return _0xb04600(_0x319fe9,_0x20377d),_0x2bcce8[_0x11038e(0x1d8)]({'unitId':_0x4437d6,'subUnitId':_0x319839,'token':_0xe25090,'type':_0x2de5fe[_0x11038e(0x1d1)]}),!0x0;}},_0x44944d={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2a6),'handler'(_0x2d740f,_0x814606){const _0x100296=_0x42bb9f;if(!_0x814606)return!0x1;if(!!_0x2d740f[_0x100296(0x239)](_0x288eb9[_0x100296(0xd5)])[_0x100296(0x36b)](_0x34280f))return!0x0;const _0x1cc7da=_0x2d740f['get'](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x3ae706,subUnitId:_0x4e4680,pivotTableId:_0xe066f8,fieldId:_0xa477c4,filterInfo:_0x432604}=_0x814606,_0x4bc270=_0x1cc7da[_0x100296(0x25c)](_0xe066f8);if(!_0x4bc270)return!0x1;_0x4bc270[_0x100296(0x286)](_0xa477c4,_0x432604);const _0x5bec54=_0x1cc7da[_0x100296(0xa0)](_0x3ae706,_0x4e4680,_0xe066f8);return _0x21a9e4(_0x5bec54,_0x814606),_0x1cc7da[_0x100296(0x1d8)]({'unitId':_0x3ae706,'subUnitId':_0x4e4680,'token':_0xe066f8,'type':_0x2de5fe[_0x100296(0x1d1)]}),!0x0;}},_0x845d4f={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x245),'handler'(_0x94a0c4,_0x4d3edb){const _0x196ed3=_0x42bb9f;if(!_0x4d3edb)return!0x1;if(!!_0x94a0c4[_0x196ed3(0x239)](_0x288eb9[_0x196ed3(0xd5)])[_0x196ed3(0x36b)](_0x34280f))return!0x0;const _0x3a2060=_0x94a0c4['get'](_0x5bf755[_0x196ed3(0x1ae)]),{unitId:_0x5bbc48,subUnitId:_0x2aa279,pivotTableId:_0x5261ed,options:_0x1d6cad}=_0x4d3edb,_0x2e4488=_0x3a2060[_0x196ed3(0x25c)](_0x5261ed);if(!_0x2e4488)return!0x1;_0x2e4488[_0x196ed3(0x97)](_0x1d6cad);const _0x9a8502=_0x3a2060[_0x196ed3(0xa0)](_0x5bbc48,_0x2aa279,_0x5261ed);return _0x2e5fd5(_0x9a8502,_0x4d3edb),_0x3a2060[_0x196ed3(0x1d8)]({'unitId':_0x5bbc48,'subUnitId':_0x2aa279,'token':_0x5261ed,'type':_0x2de5fe[_0x196ed3(0x1d1)]}),!0x0;}},_0x4c05bf={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2ef),'handler'(_0x133c1f,_0x262c68){const _0x21365d=_0x42bb9f;if(!_0x262c68)return!0x1;if(!!_0x133c1f[_0x21365d(0x239)](_0x288eb9[_0x21365d(0xd5)])[_0x21365d(0x36b)](_0x34280f))return!0x0;const _0x2d3e06=_0x133c1f[_0x21365d(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x4cd5f2,subUnitId:_0x5ec7bf,pivotTableId:_0x252106,sortInfo:_0x29db8d,fieldId:_0x50cb26}=_0x262c68,_0xcc4d1f=_0x2d3e06[_0x21365d(0x25c)](_0x252106);if(!_0xcc4d1f)return!0x1;_0xcc4d1f['setSortInfo'](_0x50cb26,_0x29db8d);const _0x3ca3eb=_0x2d3e06[_0x21365d(0xa0)](_0x4cd5f2,_0x5ec7bf,_0x252106);return _0x8d59bd(_0x3ca3eb,_0x262c68),_0x2d3e06[_0x21365d(0x1d8)]({'unitId':_0x4cd5f2,'subUnitId':_0x5ec7bf,'token':_0x252106,'type':_0x2de5fe[_0x21365d(0x1d1)]}),!0x0;}},_0x194ae1={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x4654a3,_0x2cf164){const _0x4f210f=_0x42bb9f;if(!_0x2cf164)return!0x1;if(!!_0x4654a3['get'](_0x288eb9[_0x4f210f(0xd5)])[_0x4f210f(0x36b)](_0x34280f))return!0x0;const _0x3afcf8=_0x4654a3['get'](_0x5bf755[_0x4f210f(0x1ae)]),{unitId:_0x2a6718,subUnitId:_0x55f8d0,pivotTableId:_0x592979,fieldId:_0x12ddb0,subtotalType:_0x2690d3}=_0x2cf164,_0x29d541=_0x3afcf8[_0x4f210f(0x25c)](_0x592979);if(!_0x29d541)return!0x1;_0x29d541['setSubtotalType'](_0x12ddb0,_0x2690d3);const _0x2d40e2=_0x3afcf8['getPivotTableModelConfig'](_0x2a6718,_0x55f8d0,_0x592979);return _0x4dd376(_0x2d40e2,_0x2cf164),_0x3afcf8[_0x4f210f(0x1d8)]({'unitId':_0x2a6718,'subUnitId':_0x55f8d0,'token':_0x592979,'type':_0x2de5fe[_0x4f210f(0x1d1)]}),!0x0;}},_0x4715f0={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x329),'handler'(_0x59a0b2,_0x5e6c89){const _0x590f9f=_0x42bb9f;if(!_0x5e6c89)return!0x1;if(!!_0x59a0b2[_0x590f9f(0x239)](_0x288eb9['IConfigService'])[_0x590f9f(0x36b)](_0x34280f))return!0x0;const _0x270814=_0x59a0b2[_0x590f9f(0x239)](_0x5bf755[_0x590f9f(0x1ae)]),{unitId:_0x26b26e,subUnitId:_0xa744fc,pivotTableId:_0x447a05,fieldId:_0x444696,filterInfo:_0xaaeb4c}=_0x5e6c89,_0xfb1c73=_0x270814[_0x590f9f(0x25c)](_0x447a05);if(!_0xfb1c73)return!0x1;_0xfb1c73['setValueFilterInfo'](_0x444696,_0xaaeb4c);const _0x180276=_0x270814[_0x590f9f(0xa0)](_0x26b26e,_0xa744fc,_0x447a05);return _0x4224e6(_0x180276,_0x5e6c89),_0x270814[_0x590f9f(0x1d8)]({'unitId':_0x26b26e,'subUnitId':_0xa744fc,'token':_0x447a05,'type':_0x2de5fe['Set']}),!0x0;}},_0x26377e={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x331),'handler'(_0x4d1967,_0x3b9ee5){const _0x3b5b8=_0x42bb9f;if(!_0x3b9ee5)return!0x1;if(!!_0x4d1967['get'](_0x288eb9[_0x3b5b8(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x2f9b1a=_0x4d1967[_0x3b5b8(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x2aff7e,subUnitId:_0x3465ed,pivotTableId:_0x3e21b9,area:_0x3be8e6,index:_0x1d7297,fieldId:_0x364396}=_0x3b9ee5,_0x598b12=_0x2f9b1a[_0x3b5b8(0x25c)](_0x3e21b9);if(!_0x598b12)return!0x1;_0x598b12[_0x3b5b8(0x375)](_0x364396,_0x3be8e6,_0x1d7297);const _0x276e0f=_0x2f9b1a['getPivotTableModelConfig'](_0x2aff7e,_0x3465ed,_0x3e21b9);return _0xebffa1(_0x276e0f,_0x3b9ee5),_0x2f9b1a[_0x3b5b8(0x1d8)]({'unitId':_0x2aff7e,'subUnitId':_0x3465ed,'token':_0x3e21b9,'type':_0x2de5fe[_0x3b5b8(0x1d1)]}),!0x0;}},_0x30ddcd={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2f8),'handler'(_0x4618ec,_0x5c02e0){const _0x3ca589=_0x42bb9f;if(!_0x5c02e0)return!0x1;if(!!_0x4618ec['get'](_0x288eb9[_0x3ca589(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x15e6ce=_0x4618ec[_0x3ca589(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x2c8764,subUnitId:_0x2aa440,pivotTableId:_0x23013d,sourceName:_0x3ceb43,dataFieldId:_0x446ddc,tableFieldId:_0x33845a}=_0x5c02e0,_0x5bcfa0=_0x15e6ce[_0x3ca589(0x25c)](_0x23013d);if(!_0x5bcfa0)return!0x1;_0x5bcfa0[_0x3ca589(0x183)](_0x33845a,_0x3ceb43,_0x446ddc);const _0x21c64d=_0x15e6ce[_0x3ca589(0xa0)](_0x2c8764,_0x2aa440,_0x23013d);return _0x253248(_0x21c64d,_0x5c02e0),_0x15e6ce[_0x3ca589(0x1d8)]({'unitId':_0x2c8764,'subUnitId':_0x2aa440,'token':_0x23013d,'type':_0x2de5fe['Set']}),!0x0;}},_0x1e7ed4={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':_0x42bb9f(0x2f6),'handler'(_0x3c185f,_0xe0f64c){const _0x475d19=_0x42bb9f;if(!_0xe0f64c)return!0x1;if(!!_0x3c185f[_0x475d19(0x239)](_0x288eb9[_0x475d19(0xd5)])[_0x475d19(0x36b)](_0x34280f))return!0x0;const _0x148345=_0x3c185f[_0x475d19(0x239)](_0x5bf755[_0x475d19(0x1ae)]),{unitId:_0x1f1022,subUnitId:_0x4cfef0,pivotTableId:_0x165779,valuePosition:_0x21104d,index:_0x1bfa41}=_0xe0f64c,_0x3c836a=_0x148345[_0x475d19(0x25c)](_0x165779);if(!_0x3c836a)return!0x1;_0x3c836a[_0x475d19(0x162)](_0x21104d,_0x1bfa41);const _0x1c9f68=_0x148345[_0x475d19(0xa0)](_0x1f1022,_0x4cfef0,_0x165779);return _0x26cda0(_0x1c9f68,_0xe0f64c),_0x148345['addDirtyPivotTable']({'unitId':_0x1f1022,'subUnitId':_0x4cfef0,'token':_0x165779,'type':_0x2de5fe['Set']}),!0x0;}};function _0x54d6ee(_0x4e7127,_0x3d1908,_0x36fa0a){const _0x55b091=_0x42bb9f,{pivotTableId:_0x37c415,unitId:_0x25f36c,subUnitId:_0x5904a8}=_0x3d1908,_0x4f7b37=[],_0x16afa7=[];for(const _0x24d44f of _0x36fa0a)switch(_0x24d44f[_0x55b091(0x29a)]){case _0x2bd302['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x4209ca,area:_0x264720,index:_0x1e0c00}=_0x24d44f,_0x4299d5={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldJson':_0x4209ca,'area':_0x264720,'index':_0x1e0c00},_0x536aac={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x4209ca['id'],'area':_0x264720,'index':_0x1e0c00};_0x4f7b37['push']({'id':_0x340732['id'],'params':_0x4299d5}),_0x16afa7['unshift']({'id':_0x8bbbe['id'],'params':_0x536aac});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x277)]:{const {fieldId:_0x38ce70,newSubtotalType:_0x513454,oldSubtotalType:_0x5340b7}=_0x24d44f,_0x1c2525={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x38ce70,'subtotalType':_0x513454};_0x4f7b37[_0x55b091(0x364)]({'id':_0x194ae1['id'],'params':_0x1c2525});const _0x1642b2={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x38ce70,'subtotalType':_0x5340b7};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x194ae1['id'],'params':_0x1642b2});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x2bf)]:{const {fieldId:_0x193e54,fieldJson:_0x346cb5,area:_0x199a7e,index:_0x2997a4}=_0x24d44f,_0x56577a={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x193e54,'index':_0x2997a4,'area':_0x199a7e};_0x4f7b37[_0x55b091(0x364)]({'id':_0x8bbbe['id'],'params':_0x56577a});const _0x51fab1={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldJson':_0x346cb5,'area':_0x199a7e,'index':_0x2997a4};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x340732['id'],'params':_0x51fab1});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0xa2)]:{const {fieldId:_0x401f04,oldName:_0x2b7cba,newName:_0x402fa5}=_0x24d44f,_0x3a219c={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x401f04,'name':_0x402fa5};_0x4f7b37[_0x55b091(0x364)]({'id':_0x3bf8ba['id'],'params':_0x3a219c});const _0x23cb41={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x401f04,'name':_0x2b7cba};_0x16afa7['unshift']({'id':_0x3bf8ba['id'],'params':_0x23cb41});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x219)]:{const {fieldId:_0x11a03e,oldFilterInfo:_0x5003f9,newFilterInfo:_0x58b9c0}=_0x24d44f,_0x353cab={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x11a03e,'filterInfo':_0x58b9c0};_0x4f7b37[_0x55b091(0x364)]({'id':_0x44944d['id'],'params':_0x353cab});const _0x468cac={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x11a03e,'filterInfo':_0x5003f9};_0x16afa7['unshift']({'id':_0x44944d['id'],'params':_0x468cac});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x347)]:{const {fieldId:_0x1649fb,oldSortInfo:_0x46b7a2,newSortInfo:_0x5350e8}=_0x24d44f,_0x4f2057={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x1649fb,'sortInfo':_0x5350e8};_0x4f7b37[_0x55b091(0x364)]({'id':_0x4c05bf['id'],'params':_0x4f2057});const _0x4bf386={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x1649fb,'sortInfo':_0x46b7a2};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x4c05bf['id'],'params':_0x4bf386});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x212)]:{const {oldOptions:_0x4e5cf1,newOptions:_0x32aebe}=_0x24d44f,_0x4994c7={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'options':_0x32aebe};_0x4f7b37[_0x55b091(0x364)]({'id':_0x845d4f['id'],'params':_0x4994c7});const _0x55ed39={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'options':_0x4e5cf1};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x845d4f['id'],'params':_0x55ed39});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x19f)]:{const {oldArea:_0x389d22,newArea:_0x3fb306,oldIndex:_0x1e1117,newIndex:_0x5b4819,fieldId:_0x734e6c}=_0x24d44f,_0x4d4274={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x734e6c,'area':_0x3fb306,'index':_0x5b4819,'oldArea':_0x389d22,'oldIndex':_0x1e1117};_0x4f7b37['push']({'id':_0x26377e['id'],'params':_0x4d4274});const _0x273ffb={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x734e6c,'area':_0x389d22,'index':_0x1e1117,'oldArea':_0x3fb306,'oldIndex':_0x5b4819};_0x16afa7['unshift']({'id':_0x26377e['id'],'params':_0x273ffb});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x1e0)]:{const {oldValuePosition:_0x563771,newValuePosition:_0x15f7bd,oldIndex:_0x241402,newIndex:_0x31f7a2}=_0x24d44f,_0xde2a7={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'valuePosition':_0x15f7bd,'index':_0x31f7a2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x1e7ed4['id'],'params':_0xde2a7});const _0x1251f6={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'valuePosition':_0x563771,'index':_0x241402};_0x16afa7['unshift']({'id':_0x1e7ed4['id'],'params':_0x1251f6});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x12b)]:{const {fieldId:_0x23ebf5,collapse:_0x3464da,item:_0x1377cd}=_0x24d44f,_0x214c59={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x23ebf5,'collapse':_0x3464da,'item':_0x1377cd};_0x4f7b37[_0x55b091(0x364)]({'id':_0x3f8ba0['id'],'params':_0x214c59});const _0x28c9f0={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x23ebf5,'collapse':!_0x3464da,'item':_0x1377cd};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x3f8ba0['id'],'params':_0x28c9f0});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x282)]:{const {newFormat:_0x1bb5a2,oldFormat:_0x1486e9,fieldId:_0x174716}=_0x24d44f,_0x4a570e={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x174716,'format':_0x1bb5a2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x286fdb['id'],'params':_0x4a570e});const _0x683e55={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x174716,'format':_0x1486e9};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x286fdb['id'],'params':_0x683e55});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x19b)]:{const {tableFieldId:_0x54bb6a,oldSourceName:_0x1fe68f,newSourceName:_0x574e13,oldDataFieldId:_0x1307fe,newDataFieldId:_0x153a7c}=_0x24d44f,_0x1703ce={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'tableFieldId':_0x54bb6a,'sourceName':_0x574e13,'dataFieldId':_0x153a7c};_0x4f7b37[_0x55b091(0x364)]({'id':_0x30ddcd['id'],'params':_0x1703ce});const _0x2eef8b={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'tableFieldId':_0x54bb6a,'sourceName':_0x1fe68f,'dataFieldId':_0x1307fe};_0x16afa7['unshift']({'id':_0x30ddcd['id'],'params':_0x2eef8b});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0xa3)]:{const {fieldId:_0xec194,filterInfo:_0x7160d2,oldFilterInfo:_0x2059a1}=_0x24d44f,_0x22dcb5={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0xec194,'filterInfo':_0x7160d2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x4715f0['id'],'params':_0x22dcb5});const _0x4a7a29={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0xec194,'filterInfo':_0x2059a1};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x4715f0['id'],'params':_0x4a7a29});}}return{'redos':_0x4f7b37,'undos':_0x16afa7};}function _0x1b91fb(_0x258183,_0x12c504){const _0x9e240e=_0x42bb9f;var _0x469e09;const _0x33c76d=_0x258183['get'](_0x5bf755[_0x9e240e(0x19e)]),{cellInfo:_0x537083,view:_0x3fb8f9,isEmpty:_0x5d1da4}=_0x12c504;return(_0x469e09=_0x33c76d[_0x9e240e(0x26a)][_0x9e240e(0x10b)](_0x1ab638)(_0x3a0a88,{'cellInfo':_0x537083,'view':_0x3fb8f9,'isEmpty':_0x5d1da4}))!=null?_0x469e09:_0x3a0a88;}const _0x458ab2={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x25e),async 'handler'(_0x3d862f,_0x2ae9e0){const _0x467eac=_0x42bb9f;if(!_0x2ae9e0)return!0x1;const _0x232d1f=_0x3d862f[_0x467eac(0x239)](_0x288eb9[_0x467eac(0x19d)]),_0x367c88=_0x3d862f[_0x467eac(0x239)](_0x5bf755[_0x467eac(0x330)]),_0x1778e7=_0x3d862f[_0x467eac(0x239)](_0x288eb9['IUndoRedoService']),{pivotTableId:_0x5698ae,dataFieldId:_0x20388b,fieldArea:_0x381f21,index:_0x42f29f,unitId:_0x2876fd,subUnitId:_0x5edfcd}=_0x2ae9e0,_0x5877e6=(await _0x367c88['getPivotDisplayConfig']({'unitId':_0x2876fd,'subUnitId':_0x5edfcd,'pivotTableId':_0x5698ae,'params':{'type':_0x5e3388[_0x467eac(0x109)],'addPivotField':{'dataFieldId':_0x20388b,'fieldArea':_0x381f21,'index':_0x42f29f}}}))[_0x467eac(0x312)]['addPivotField'];if(!_0x5877e6)return!0x1;const {view:_0x4832c9,changesets:_0x357358,isEmpty:_0x587982,pivotTableConfig:_0x4abfb1,shouldBeAddedGroupJSON:_0x116bb5}=_0x5877e6,_0x39e4ce=_0x4abfb1[_0x467eac(0x242)],_0x1a6525=new _0x2bd302[(_0x467eac(0x15a))]();_0x1a6525[_0x467eac(0x188)](_0x4832c9);const _0x1024a3={'cellInfo':_0x39e4ce,'view':_0x1a6525,'isEmpty':_0x587982};if(!await _0x3d862f[_0x467eac(0x239)](_0x5bf755['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x5ce99e)(!0x0,_0x1024a3))return!0x1;const _0x47f5a4=_0x3034a0(_0x3d862f,_0x1a6525,_0x39e4ce,_0x587982),_0x2d441a=_0x1b91fb(_0x3d862f,_0x1024a3),{undos:_0x8edda9,redos:_0xcda5e0}=_0x54d6ee(_0x232d1f,{'pivotTableId':_0x5698ae,'unitId':_0x2876fd,'subUnitId':_0x5edfcd},_0x357358);return _0x116bb5&&(_0xcda5e0[_0x467eac(0x2dd)]({'id':_0x33e7c6['id'],'params':{'pivotTableId':_0x5698ae,'fieldJSON':_0x116bb5,'unitId':_0x2876fd,'subUnitId':_0x5edfcd}}),_0x8edda9['push']({'id':_0xb3cfa6['id'],'params':{'pivotTableId':_0x5698ae,'dataFieldId':_0x116bb5['id'],'unitId':_0x2876fd,'subUnitId':_0x5edfcd}})),_0x288eb9[_0x467eac(0x363)]([..._0x47f5a4[_0x467eac(0x196)],..._0x2d441a[_0x467eac(0x196)],..._0xcda5e0],_0x232d1f),_0x1778e7[_0x467eac(0x1b3)]({'unitID':_0x2876fd,'redoMutations':[..._0x47f5a4[_0x467eac(0x196)],..._0x2d441a[_0x467eac(0x196)],..._0xcda5e0],'undoMutations':[..._0x47f5a4[_0x467eac(0x248)],..._0x2d441a[_0x467eac(0x248)],..._0x8edda9]}),!0x0;}},_0x4af5cd=()=>typeof process<'u'&&process[_0x42bb9f(0x325)]!=null&&process[_0x42bb9f(0x325)][_0x42bb9f(0x1d5)]!=null,_0x7c30f0={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x429b6b,_0x462a0b){const _0x24502e=_0x42bb9f;var _0x4ac547;if(!_0x462a0b)return!0x1;const _0x2c0a08=_0x429b6b[_0x24502e(0x239)](_0x288eb9[_0x24502e(0xd5)]);if(!!_0x2c0a08[_0x24502e(0x36b)](_0x34280f))return!0x0;const _0x2b2b66=_0x429b6b[_0x24502e(0x239)](_0x288eb9[_0x24502e(0x132)]),_0x54b7ee=_0x429b6b[_0x24502e(0x239)](_0x5bf755[_0x24502e(0x1ae)]),{pivotTableId:_0x44eb05,pivotTableConfig:_0x581118,collectionConfig:_0x330740,unitId:_0x5dda00,subUnitId:_0x4c925d}=_0x462a0b,{sourceRangeInfo:_0x27e893,fieldsConfig:_0x24f369,targetCellInfo:_0x584a89}=_0x581118,_0x117d50=_0x2b2b66[_0x24502e(0x264)](_0x5dda00);if(!_0x117d50||!_0x117d50[_0x24502e(0xb7)](_0x4c925d))return!0x1;if(!_0x4af5cd()){let _0x5c175a=0x0;_0x117d50['getSheets']()[_0x24502e(0x36d)](_0x1227c4=>{const _0x5e9eb2=_0x24502e;var _0x52b77e,_0x14f437;_0x5c175a+=(_0x14f437=(_0x52b77e=_0x54b7ee[_0x5e9eb2(0x244)](_0x5dda00,_0x1227c4['getSheetId']()))==null?void 0x0:_0x52b77e['size'])!=null?_0x14f437:0x0;});const _0x2c35ee=(_0x4ac547=_0x2c0a08[_0x24502e(0x36b)](_0x1f3f39[_0x24502e(0x18e)]))!=null?_0x4ac547:{},{ls:_0x169bbd,pbk:_0x29432d}=_0x2c35ee;if(!_0x15f38b(_0x169bbd,_0x29432d))throw new _0x288eb9[(_0x24502e(0x23d))](_0x24502e(0x190));const _0x446a98=_0x52b3f8(_0x2e2372,_0x169bbd,_0x29432d)[_0x24502e(0x18d)];if(_0x5c175a>=_0x446a98)throw new _0x288eb9[(_0x24502e(0x23d))]('limit\x20pivot');}if(!_0x330740||!_0x24f369)return!0x1;const {collection:_0x527038,updateDataFieldList:_0x1b9fad}=_0x54b7ee[_0x24502e(0x3a0)](_0x44eb05,_0x330740,_0x27e893,_0x584a89);_0x54b7ee[_0x24502e(0x8b)](_0x527038,_0x1b9fad,_0x27e893);const _0x1414df=new _0x2bd302[(_0x24502e(0x14e))](_0x527038,void 0x0,_0x44eb05);_0x1414df['fromJSON'](_0x24f369);const _0x1431b6=JSON['parse'](JSON[_0x24502e(0x297)](_0x581118));return _0x54b7ee[_0x24502e(0xdb)](_0x5dda00,_0x4c925d,_0x44eb05,_0x1414df,_0x1431b6),_0x54b7ee['addDirtyPivotTable']({'unitId':_0x5dda00,'subUnitId':_0x4c925d,'token':_0x44eb05,'type':_0x2de5fe[_0x24502e(0xe6)],'pivotConfig':_0x1431b6}),!0x0;}},_0x37507d={'type':_0x288eb9[_0x42bb9f(0x2fa)]['COMMAND'],'id':_0x42bb9f(0x397),async 'handler'(_0x3953c2,_0x391dda){const _0x1bd8cf=_0x42bb9f;if(!_0x391dda)return!0x1;const {sourceDataInfo:_0x2f4d1d,pivotTableConfig:_0x79b118}=_0x391dda;if(!_0x2f4d1d||!_0x79b118)return!0x1;const {unitId:_0x321566,subUnitId:_0x336d76,range:_0x1f26a7}=_0x2f4d1d,_0x5a2b33=_0x3953c2[_0x1bd8cf(0x239)](_0x288eb9[_0x1bd8cf(0x132)]),_0x575d02=_0x3953c2[_0x1bd8cf(0x239)](_0x5bf755[_0x1bd8cf(0x330)]),_0x3cfbf8=_0x3953c2['get'](_0x288eb9[_0x1bd8cf(0x391)]),_0x352bae=_0x3953c2[_0x1bd8cf(0x239)](_0x288eb9[_0x1bd8cf(0x19d)]),_0x567e6d=_0x5a2b33[_0x1bd8cf(0x264)](_0x321566);if(!_0x567e6d)return!0x1;const _0x5bb6e2=_0x567e6d[_0x1bd8cf(0xb7)](_0x336d76);if(!_0x5bb6e2)return!0x1;const _0x3d91e8=_0x2bd302['generateHexNumber'](0x8),_0xa8ce26=_0x1f26a7||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5bb6e2['getRowCount']()-0x1,'endColumn':_0x5bb6e2[_0x1bd8cf(0x32b)]()-0x1};_0xa8ce26[_0x1bd8cf(0x195)]=_0x288eb9[_0x1bd8cf(0x231)][_0x1bd8cf(0x2c1)];const _0xa728fd=(await _0x575d02[_0x1bd8cf(0x2eb)]({'unitId':_0x321566,'subUnitId':_0x336d76,'pivotTableId':_0x3d91e8,'params':{'type':_0x5e3388[_0x1bd8cf(0x166)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x321566,'sheetName':_0x5bb6e2['getName'](),'subUnitId':_0x336d76,'range':_0xa8ce26},'pivotTableId':_0x3d91e8,'pivotTableIndexConfig':_0x79b118}}}))[_0x1bd8cf(0x312)][_0x1bd8cf(0x13b)];if(!_0xa728fd)return!0x1;const {isEmpty:_0x374be1,fieldsConfig:_0x5dc271,collectionConfig:_0x29d0fa,changesets:_0x1514c8}=_0xa728fd,_0x51b2e8=_0x567e6d['getSheets']()[_0x1bd8cf(0x8f)],_0x2d1564=_0x288eb9[_0x1bd8cf(0x3af)]({'rowCount':_0x5bb6e2[_0x1bd8cf(0xec)]()-0x1,'columnCount':_0x5bb6e2[_0x1bd8cf(0x32b)]()-0x1});_0x2d1564['id']=_0x288eb9['generateRandomId'](),_0x2d1564['name']=_0x567e6d[_0x1bd8cf(0x395)](''+_0x3cfbf8['t'](_0x1bd8cf(0x358)));const _0x190859={'index':_0x51b2e8,'sheet':_0x2d1564,'unitId':_0x321566},{redos:_0x42566f}=_0x54d6ee(_0x352bae,{'pivotTableId':_0x3d91e8,'unitId':_0x321566,'subUnitId':_0x2d1564['id']},_0x1514c8),_0xba5904=[{'id':_0x2e27a8['InsertSheetCommand']['id'],'params':_0x190859},{'id':_0x7c30f0['id'],'params':{'unitId':_0x321566,'subUnitId':_0x2d1564['id'],'pivotTableId':_0x3d91e8,'pivotTableConfig':{'isEmpty':_0x374be1,'fieldsConfig':_0x5dc271,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x321566,'subUnitId':_0x2d1564['id']},'sourceRangeInfo':{'subUnitId':_0x336d76,'unitId':_0x321566,'range':_0xa8ce26,'sheetName':_0x5bb6e2[_0x1bd8cf(0x2e8)]()}},'collectionConfig':_0x29d0fa}},..._0x42566f];return _0x288eb9[_0x1bd8cf(0x363)](_0xba5904,_0x352bae),!0x0;}},_0xf36de3={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x29054,_0x17b5c9){const _0x1fa917=_0x42bb9f;if(!_0x17b5c9)return!0x1;if(!!_0x29054[_0x1fa917(0x239)](_0x288eb9[_0x1fa917(0xd5)])[_0x1fa917(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x235106,unitId:_0x5e4163,subUnitId:_0x3ccb3e}=_0x17b5c9,_0x55c58e=_0x29054[_0x1fa917(0x239)](_0x5bf755[_0x1fa917(0x1ae)]);return _0x55c58e[_0x1fa917(0x9b)](_0x5e4163,_0x3ccb3e,_0x235106)?(_0x55c58e[_0x1fa917(0x1d8)]({'unitId':_0x5e4163,'subUnitId':_0x3ccb3e,'token':_0x235106,'type':_0x2de5fe[_0x1fa917(0x163)]}),_0x55c58e[_0x1fa917(0x32d)](_0x5e4163,_0x3ccb3e,_0x235106),!0x0):!0x1;}},_0x9e6b92={'type':_0x288eb9['CommandType']['COMMAND'],'id':_0x42bb9f(0x394),async 'handler'(_0x384b8c,_0x5649da){const _0x2af00c=_0x42bb9f;var _0x20e44f,_0x364da9;const _0x5531dd=_0x384b8c['get'](_0x288eb9[_0x2af00c(0x19d)]),_0x1efe74=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x132)]),_0x13d5ff=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x391)]),_0x494a6f=_0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x330)]),_0x16ec7e=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x17b)]),_0x8ae7db=_0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x2e2)]),_0x54f819=_0x384b8c[_0x2af00c(0x239)](_0x288eb9['IConfigService']);if(!_0x5649da)return!0x1;const {pivotTableConfig:_0x1f5665,positionType:_0x5aaae4}=_0x5649da,{targetCellInfo:_0x4be72e,sourceRangeInfo:_0x4330f5}=_0x1f5665,{unitId:_0xbf2109,subUnitId:_0x1ac0b5}=_0x4be72e,_0x1ea4cb=_0x1efe74['getUnit'](_0xbf2109);if(!_0x1ea4cb)return!0x1;let _0x497fdd=0x0;_0x1ea4cb['getSheets']()['forEach'](_0x255204=>{const _0x337543=_0x2af00c;var _0x493664,_0x47253f;_0x497fdd+=(_0x47253f=(_0x493664=_0x8ae7db[_0x337543(0x244)](_0xbf2109,_0x255204[_0x337543(0x1c0)]()))==null?void 0x0:_0x493664[_0x337543(0x1f6)])!=null?_0x47253f:0x0;});const _0xd53abf=(_0x20e44f=_0x54f819[_0x2af00c(0x36b)](_0x1f3f39[_0x2af00c(0x18e)]))!=null?_0x20e44f:{},{ls:_0x8e7be6,pbk:_0x549c5b}=_0xd53abf;if(!_0x15f38b(_0x8e7be6,_0x549c5b))return!0x1;const _0x58e248=_0x52b3f8(_0x2e2372,_0x8e7be6,_0x549c5b)[_0x2af00c(0x18d)];if(_0x497fdd>=_0x58e248)return!0x1;const _0x944537=_0x5649da['pivotTableId']||_0x2bd302[_0x2af00c(0x383)](0x8),_0x329e22=(await _0x494a6f[_0x2af00c(0x2eb)]({'unitId':_0xbf2109,'subUnitId':_0x1ac0b5,'pivotTableId':_0x944537,'params':{'type':_0x5e3388[_0x2af00c(0x2ba)],'addPivotTable':{'sourceRangeInfo':_0x4330f5,'pivotTableId':_0x944537}}}))[_0x2af00c(0x312)][_0x2af00c(0xdb)];if(!_0x329e22)return!0x1;const {view:_0x4a7647,isEmpty:_0x21f5ae,fieldsConfig:_0x3af6b7,collectionConfig:_0x53f4b3}=_0x329e22,_0x5a9a96=[],_0x5790a2=[];if(_0x5aaae4===_0x1caed1[_0x2af00c(0x3aa)]){const _0x11e145=_0x1ea4cb['getSheets']()[_0x2af00c(0x8f)],_0x25031f=_0x288eb9[_0x2af00c(0x3af)]({});_0x25031f['id']=_0x1f5665[_0x2af00c(0x242)][_0x2af00c(0x179)],_0x25031f[_0x2af00c(0x262)]=(_0x364da9=_0x1f5665[_0x2af00c(0x242)]['sheetName'])!=null?_0x364da9:_0x1ea4cb[_0x2af00c(0x395)](''+_0x13d5ff['t'](_0x2af00c(0x358)));const _0x3f80c9={'index':_0x11e145,'sheet':_0x25031f,'unitId':_0xbf2109},_0x939f1f=_0x2e27a8[_0x2af00c(0x1e1)](_0x384b8c,_0x3f80c9);_0x5a9a96[_0x2af00c(0x364)]({'id':_0x2e27a8[_0x2af00c(0xff)]['id'],'params':_0x939f1f}),_0x5790a2[_0x2af00c(0x364)]({'id':_0x2e27a8[_0x2af00c(0x28f)]['id'],'params':_0x3f80c9});}else{if(!_0x1ea4cb[_0x2af00c(0xb7)](_0x1ac0b5))return!0x1;const _0x1b74a6=_0x3034a0(_0x384b8c,new _0x2bd302[(_0x2af00c(0x15a))](),_0x4be72e,!0x0);_0x5790a2['push'](..._0x1b74a6[_0x2af00c(0x196)]),_0x5a9a96[_0x2af00c(0x364)](..._0x1b74a6['undos']);const _0x5377c6={'cellInfo':_0x4be72e,'view':_0x4a7647,'isEmpty':_0x21f5ae};if(!await _0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x19e)])[_0x2af00c(0x2cc)][_0x2af00c(0x1f9)](_0x5ce99e)(!0x0,_0x5377c6))return!0x1;const _0x35442c=_0x1b91fb(_0x384b8c,_0x5377c6);_0x5790a2[_0x2af00c(0x364)](..._0x35442c[_0x2af00c(0x196)]),_0x5a9a96['push'](..._0x35442c[_0x2af00c(0x248)]);}return _0x5790a2[_0x2af00c(0x364)]({'id':_0x7c30f0['id'],'params':{'unitId':_0x4be72e[_0x2af00c(0x360)],'subUnitId':_0x4be72e[_0x2af00c(0x179)],'pivotTableId':_0x944537,'pivotTableConfig':{'targetCellInfo':_0x4be72e,'sourceRangeInfo':_0x4330f5,'fieldsConfig':_0x3af6b7},'collectionConfig':_0x53f4b3}}),_0x5a9a96[_0x2af00c(0x2dd)]({'id':_0xf36de3['id'],'params':{'unitId':_0xbf2109,'subUnitId':_0x1ac0b5,'pivotTableId':_0x944537}}),_0x288eb9[_0x2af00c(0x363)](_0x5790a2,_0x5531dd)&&_0x16ec7e[_0x2af00c(0x1b3)]({'unitID':_0xbf2109,'undoMutations':_0x5a9a96,'redoMutations':_0x5790a2}),!0x0;}},_0x5ea7f4={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x327),async 'handler'(_0xa3eb0c,_0x109c3b){const _0x113917=_0x42bb9f;if(!_0x109c3b)return!0x1;const _0x2abf0d=_0xa3eb0c[_0x113917(0x239)](_0x288eb9[_0x113917(0x19d)]),_0x5ecb72=_0xa3eb0c[_0x113917(0x239)](_0x5bf755[_0x113917(0x330)]),_0x2b4649=_0xa3eb0c[_0x113917(0x239)](_0x288eb9[_0x113917(0x17b)]),{pivotTableId:_0x8dfe58,fieldId:_0x435eb2,area:_0x56a263,index:_0x321791,unitId:_0x12a614,subUnitId:_0x5f08e5}=_0x109c3b,_0x1ba58d=(await _0x5ecb72[_0x113917(0x2eb)]({'unitId':_0x12a614,'subUnitId':_0x5f08e5,'pivotTableId':_0x8dfe58,'params':{'type':_0x5e3388[_0x113917(0x1a9)],'movePivotField':{'fieldId':_0x435eb2,'area':_0x56a263,'index':_0x321791}}}))['result'][_0x113917(0xb0)];if(!_0x1ba58d)return!0x1;const {changesets:_0x4c3749,view:_0x28e84f,isEmpty:_0x50d45f,pivotTableConfig:_0x8c2ff0}=_0x1ba58d,_0x379df0=_0x8c2ff0['targetCellInfo'],_0xfb9775=new _0x2bd302[(_0x113917(0x15a))]();_0xfb9775[_0x113917(0x188)](_0x28e84f);const _0x17cfd2={'cellInfo':_0x379df0,'view':_0xfb9775,'isEmpty':_0x50d45f};if(!await _0xa3eb0c[_0x113917(0x239)](_0x5bf755[_0x113917(0x19e)])[_0x113917(0x2cc)][_0x113917(0x1f9)](_0x5ce99e)(!0x0,_0x17cfd2))return!0x1;const _0x165735=_0x3034a0(_0xa3eb0c,_0xfb9775,_0x379df0,_0x50d45f),_0x260267=_0x1b91fb(_0xa3eb0c,_0x17cfd2),{redos:_0x59cb04,undos:_0x6ac2f5}=_0x54d6ee(_0x2abf0d,{'pivotTableId':_0x8dfe58,'unitId':_0x12a614,'subUnitId':_0x5f08e5},_0x4c3749);return _0x288eb9['sequenceExecute']([..._0x165735[_0x113917(0x196)],..._0x260267[_0x113917(0x196)],..._0x59cb04],_0x2abf0d),_0x2b4649[_0x113917(0x1b3)]({'unitID':_0x12a614,'redoMutations':[..._0x165735[_0x113917(0x196)],..._0x260267[_0x113917(0x196)],..._0x59cb04],'undoMutations':[..._0x165735['undos'],..._0x260267[_0x113917(0x248)],..._0x6ac2f5]}),!0x0;}},_0x4c1e58={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.set-pivot-position','handler'(_0x2063cd,_0xea01dc){const _0x59387f=_0x42bb9f;if(!_0xea01dc)return!0x1;if(!!_0x2063cd[_0x59387f(0x239)](_0x288eb9['IConfigService'])[_0x59387f(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x58041b,targetCellPosition:_0x269746,unitId:_0x3d6d90,subUnitId:_0x5c3560}=_0xea01dc,_0x1e5c3e=_0x2063cd[_0x59387f(0x239)](_0x5bf755[_0x59387f(0x1ae)]);if(!_0x1e5c3e[_0x59387f(0x25c)](_0xea01dc[_0x59387f(0x111)]))return!0x1;const _0x218741=_0x1e5c3e[_0x59387f(0x33f)](_0x58041b);if(!_0x218741)return!0x1;const _0x1431d7=_0x1e5c3e[_0x59387f(0x2c8)](_0x218741['unitId'],_0xea01dc[_0x59387f(0x111)]);if(!_0x1431d7)return!0x1;const _0x4e5b76=_0x1e5c3e[_0x59387f(0x9b)](_0x218741[_0x59387f(0x360)],_0x218741[_0x59387f(0x179)],_0x58041b);if(!_0x4e5b76)return!0x1;const _0x9e262e=_0x288eb9[_0x59387f(0x91)][_0x59387f(0x38e)](_0x4e5b76);_0x9e262e[_0x59387f(0x242)]={'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'row':_0x269746['row'],'col':_0x269746['col']};const _0xa8368b=_0x1431d7['toJSON']();if(_0x218741['subUnitId']===_0x5c3560&&_0x218741[_0x59387f(0x360)]===_0x3d6d90)_0x1e5c3e[_0x59387f(0x315)](_0x3d6d90,_0x5c3560,_0x58041b,_0x9e262e),_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'token':_0x58041b,'type':_0x2de5fe['Set']});else{_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x218741['unitId'],'subUnitId':_0x218741['subUnitId'],'token':_0x58041b,'type':_0x2de5fe[_0x59387f(0x163)]}),_0x1e5c3e[_0x59387f(0x32d)](_0x218741['unitId'],_0x218741[_0x59387f(0x179)],_0x58041b);const _0x19d7f5=_0x1e5c3e[_0x59387f(0x3a0)](_0x58041b,_0xa8368b,_0x4e5b76[_0x59387f(0x156)],_0x9e262e[_0x59387f(0x242)]),_0x542e18=new _0x2bd302['PivotTable'](_0x19d7f5[_0x59387f(0x127)],void 0x0,_0x58041b);_0x542e18[_0x59387f(0x9a)](_0x9e262e[_0x59387f(0x313)]),_0x1e5c3e[_0x59387f(0xdb)](_0x3d6d90,_0x5c3560,_0x58041b,_0x542e18,_0x9e262e),_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'token':_0x58041b,'type':_0x2de5fe[_0x59387f(0xe6)],'pivotConfig':_0x9e262e});}return!0x0;}},_0x2891e4={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x1f5),'handler':(_0x1047f6,_0x14459a)=>{const _0x5789d7=_0x42bb9f,_0x546a15=_0x1047f6[_0x5789d7(0x239)](_0x288eb9['ICommandService']),_0xd2a531=_0x1047f6[_0x5789d7(0x239)](_0x288eb9[_0x5789d7(0x17b)]),_0x5b5f77=_0x1047f6[_0x5789d7(0x239)](_0x5bf755[_0x5789d7(0x2e2)]),_0x443f17=_0x1047f6[_0x5789d7(0x239)](_0x288eb9[_0x5789d7(0x132)]);if(!_0x14459a)return!0x1;const _0x53654c=_0x2e27a8['getSheetCommandTarget'](_0x443f17);if(!_0x53654c)return!0x1;const {unitId:_0x17ca78,subUnitId:_0x230ef3,workbook:_0x513fc4}=_0x53654c,_0x5b55c8=_0x5b5f77['getPivotTableConfig'](_0x14459a[_0x5789d7(0x30c)][_0x5789d7(0x360)],_0x14459a[_0x5789d7(0x30c)][_0x5789d7(0x179)],_0x14459a[_0x5789d7(0x111)]);if(!_0x5b55c8)return!0x1;const _0x5a66ad=_0x513fc4['getSheetBySheetId'](_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x179)]);if(!_0x5a66ad)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x328320=_0x5a66ad['getRowCount'](),_0x27f6ef=_0x5a66ad['getColumnCount']();if(_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x392)]>_0x328320||_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x113)]>_0x27f6ef)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x253960=[{'id':_0x4c1e58['id'],'params':{'unitId':_0x17ca78,'subUnitId':_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x179)],'pivotTableId':_0x14459a[_0x5789d7(0x111)],'targetCellPosition':{'row':_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x392)],'col':_0x14459a['targetCellInfo'][_0x5789d7(0x113)]}}}],_0x34959e=[{'id':_0x4c1e58['id'],'params':{'unitId':_0x17ca78,'subUnitId':_0x230ef3,'pivotTableId':_0x14459a[_0x5789d7(0x111)],'targetCellPosition':{'row':_0x5b55c8[_0x5789d7(0x242)][_0x5789d7(0x392)],'col':_0x5b55c8[_0x5789d7(0x242)]['col']}}}];return _0x288eb9['sequenceExecute'](_0x253960,_0x546a15)&&_0xd2a531['pushUndoRedo']({'unitID':_0x17ca78,'undoMutations':_0x34959e,'redoMutations':_0x253960}),!0x0;}},_0x4fc4e5={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3723ae,_0x3a7983){const _0x8a3181=_0x42bb9f;var _0x17b6de;if(!_0x3a7983)return!0x1;const _0x3f8671=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x132)]),_0x1e4760=_0x2e27a8['getSheetCommandTarget'](_0x3f8671);if(!_0x1e4760)return!0x1;const {unitId:_0x20b140,subUnitId:_0x28a149,workbook:_0x3bb313}=_0x1e4760,{row:_0x592fba,col:_0x4c0524}=_0x3a7983,_0x477ceb=_0x3723ae[_0x8a3181(0x239)](_0x5bf755['SheetsPivotTableAdaptorModel']),_0x3f4029=_0x477ceb[_0x8a3181(0x32a)](_0x20b140,_0x28a149,_0x592fba,_0x4c0524);if(!_0x3f4029)return!0x1;const _0x79ef5e=(_0x17b6de=_0x477ceb[_0x8a3181(0x2ab)](_0x20b140,_0x28a149,_0x3f4029))==null?void 0x0:_0x17b6de['areaInfo'];if(!_0x79ef5e)return!0x1;const _0x323722=_0x3723ae[_0x8a3181(0x239)](_0x5bf755[_0x8a3181(0x2e2)])['getPivotTableConfig'](_0x20b140,_0x28a149,_0x3f4029);if(!_0x323722)return!0x1;const {rowInfo:_0x5380be,colInfo:_0x1da169}=_0x79ef5e,_0x4ce9ac=_0x5380be[_0x592fba]['paths'],_0x3f0af0=_0x1da169[_0x4c0524][_0x8a3181(0x2f9)],_0x4054ad=_0x5380be[_0x592fba][_0x8a3181(0x207)],_0x24aa38=_0x1da169[_0x4c0524]['level'],_0x1d370a=_0x4ce9ac['concat'](_0x3f0af0),_0x2a6d12=_0x323722[_0x8a3181(0x313)][_0x8a3181(0x1ec)][_0x8a3181(0x1e2)](0x0,_0x4054ad),_0x285ca3=_0x323722[_0x8a3181(0x313)][_0x8a3181(0x33a)]['slice'](0x0,_0x24aa38),_0x22b993=_0x2a6d12[_0x8a3181(0xc1)](_0x285ca3),_0x576af1=_0x1d370a[_0x8a3181(0x1d2)]((_0x490827,_0x146c9f)=>[_0x490827,_0x22b993[_0x146c9f]]),_0x75fb01=(await _0x3723ae[_0x8a3181(0x239)](_0x5bf755[_0x8a3181(0x330)])[_0x8a3181(0x2eb)]({'unitId':_0x20b140,'subUnitId':_0x28a149,'pivotTableId':_0x3f4029,'params':{'type':_0x5e3388[_0x8a3181(0xce)],'drillDown':{'tuple':_0x576af1}}}))[_0x8a3181(0x312)][_0x8a3181(0x31b)];if(!_0x75fb01)return!0x1;const {indexes:_0x44d8d7,range:_0x30289a,sourceUnitId:_0x2a3389,sourceSubUnitId:_0x4be1fc,formatMap:_0x4d52b5}=_0x75fb01,{startRow:_0x331505,endRow:_0x4d5938,startColumn:_0x3968fa,endColumn:_0x4ca0bf}=_0x30289a,_0x5b8320=new _0x288eb9['ObjectMatrix'](),_0x4a4ddc=_0x4d5938-_0x331505,_0x2968d7=_0x4ca0bf-_0x3968fa,_0x34e644={},_0x4de1c0=_0x2e27a8[_0x8a3181(0xba)](_0x3f8671,{'unitId':_0x2a3389,'subUnitId':_0x4be1fc});if(!_0x4de1c0)return!0x1;const _0x50e2bd=_0x1b6d0b[_0x8a3181(0x1ed)],_0x4ec43a=_0x1b6d0b[_0x8a3181(0x144)],_0x5bc5d8=_0x1b6d0b[_0x8a3181(0x144)],_0xa7c1e5=_0x3bb313['getStyles']()[_0x8a3181(0x1bb)](_0x50e2bd),_0x251bde=_0x3bb313[_0x8a3181(0xa4)]()[_0x8a3181(0x1bb)](_0x4ec43a),_0x58c836=_0x3bb313['getStyles']()[_0x8a3181(0x1bb)](_0x5bc5d8),{worksheet:_0x505272}=_0x4de1c0;let _0x10d580=0x0;const _0x3d789e=0x1;_0x44d8d7[_0x8a3181(0x36d)](_0x41abc9=>{const _0x16181e=_0x8a3181;for(let _0x90788=0x0;_0x90788<=_0x4ca0bf-_0x3968fa;_0x90788++)_0x5b8320['setValue'](_0x10d580,_0x90788,_0x505272[_0x16181e(0x3ac)](_0x41abc9+_0x30289a[_0x16181e(0x36a)]+_0x3d789e,_0x90788));_0x10d580++;});for(let _0x4785a1=_0x3968fa;_0x4785a1<=_0x4ca0bf;_0x4785a1++){const _0x18ef07=_0x505272['getCellRaw'](_0x331505,_0x4785a1);_0x34e644[_0x331505]||(_0x34e644[_0x331505]={}),_0x34e644[_0x331505][_0x4785a1]={..._0x18ef07,'s':_0xa7c1e5};}let _0x2350b9=0x1;const _0x9dbcaf={},_0x1c420f={};_0x5b8320['forRow']((_0x383a5d,_0x14b170)=>{const _0x3802b2=_0x8a3181;_0x14b170[_0x3802b2(0x36d)](_0x5e48bf=>{const _0x3edb74=_0x3802b2,_0x1b77bf=_0x5b8320[_0x3edb74(0x187)](_0x383a5d,_0x5e48bf);if(_0x34e644[_0x2350b9]||(_0x34e644[_0x2350b9]={}),_0x34e644[_0x2350b9][_0x5e48bf]={..._0x1b77bf,'s':_0x2350b9%0x2===0x0?_0x58c836:_0x251bde},_0x4d52b5[_0x5e48bf]&&_0x383a5d>=0x0){const _0x11fa01=_0x2350b9%0x2===0x0;let _0x5d2fee=_0x11fa01?_0x1c420f[_0x5e48bf]:_0x9dbcaf[_0x5e48bf];_0x5d2fee||(_0x5d2fee=_0x3bb313[_0x3edb74(0xa4)]()[_0x3edb74(0x1bb)]({..._0x11fa01?_0x5bc5d8:_0x4ec43a,'n':{'pattern':_0x4d52b5[_0x5e48bf]}}),_0x11fa01?_0x1c420f[_0x5e48bf]=_0x5d2fee:_0x9dbcaf[_0x5e48bf]=_0x5d2fee),_0x34e644[_0x2350b9][_0x5e48bf]['s']=_0x5d2fee;}}),_0x2350b9++;});const _0xd74f19=new _0x288eb9[(_0x8a3181(0x280))](_0x34e644),_0x470514={};_0xd74f19[_0x8a3181(0xbc)]((_0x58e0df,_0x25d46d,_0x2d7410)=>{_0x470514[_0x58e0df]||(_0x470514[_0x58e0df]={}),_0x470514[_0x58e0df][_0x25d46d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x542005=[],_0x3f2548=[],_0x3af19c=_0x3bb313[_0x8a3181(0x294)]()[_0x8a3181(0x8f)],_0x184a06=_0x288eb9[_0x8a3181(0x3af)]({'rowCount':Math['max'](_0x288eb9['DEFAULT_WORKSHEET_ROW_COUNT'],_0x4a4ddc+0xa),'columnCount':Math[_0x8a3181(0x2e9)](_0x288eb9['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x2968d7+0x5)}),_0x3ca6fe=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x391)]);_0x184a06['id']=_0x288eb9[_0x8a3181(0x247)](),_0x184a06[_0x8a3181(0x262)]=_0x3bb313[_0x8a3181(0x395)](''+_0x3ca6fe['t'](_0x8a3181(0x358)));const _0x4bcaac={'index':_0x3af19c,'sheet':_0x184a06,'unitId':_0x20b140},_0xe7a9bc=_0x2e27a8[_0x8a3181(0x1e1)](_0x3723ae,_0x4bcaac);_0x3f2548[_0x8a3181(0x364)]({'id':_0x2e27a8['InsertSheetMutation']['id'],'params':_0x4bcaac}),_0x542005['push']({'id':_0x2e27a8[_0x8a3181(0xff)]['id'],'params':_0xe7a9bc}),_0x3f2548[_0x8a3181(0x364)]({'id':_0x2e27a8[_0x8a3181(0x3ad)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'cellValue':_0x34e644}}),_0x542005[_0x8a3181(0x2dd)]({'id':_0x2e27a8['SetRangeValuesMutation']['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'cellValue':_0x470514}});const _0x2cf038={'startRow':0x0,'startColumn':0x0,'endRow':_0x2350b9-0x1,'endColumn':_0x4ca0bf};_0x3f2548[_0x8a3181(0x364)]({'id':_0x2bd9b2[_0x8a3181(0xeb)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'range':_0x2cf038}}),_0x542005[_0x8a3181(0x2dd)]({'id':_0x2bd9b2[_0x8a3181(0x11f)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id']}});const _0xa02e02=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x19d)]);return _0x288eb9[_0x8a3181(0x363)](_0x3f2548,_0xa02e02)&&_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x17b)])[_0x8a3181(0x1b3)]({'unitID':_0x20b140,'undoMutations':_0x542005,'redoMutations':_0x3f2548}),!0x0;}},_0x2148b5={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x10a),async 'handler'(_0x5a990f,_0x42b7a7){const _0x3c29c5=_0x42bb9f;if(!_0x42b7a7)return!0x1;const _0x9ef86d=_0x5a990f['get'](_0x288eb9['ICommandService']),_0x1f29c3=_0x5a990f[_0x3c29c5(0x239)](_0x5bf755[_0x3c29c5(0x330)]),_0xae5a73=_0x5a990f[_0x3c29c5(0x239)](_0x288eb9[_0x3c29c5(0x17b)]),{pivotTableId:_0x3ec5d0,fieldIds:_0x5df1cd,unitId:_0x51d665,subUnitId:_0x4c9942}=_0x42b7a7,_0x2e1c25=(await _0x1f29c3[_0x3c29c5(0x2eb)]({'unitId':_0x51d665,'subUnitId':_0x4c9942,'pivotTableId':_0x3ec5d0,'params':{'type':_0x5e3388[_0x3c29c5(0x151)],'removePivotField':{'fieldIds':_0x5df1cd}}}))[_0x3c29c5(0x312)][_0x3c29c5(0xb1)];if(!_0x2e1c25)return!0x1;const {view:_0x21db2e,changesets:_0x1674a9,isEmpty:_0x25ac42,pivotTableConfig:_0x33dfbc}=_0x2e1c25,_0x4d292a=_0x33dfbc[_0x3c29c5(0x242)],_0x380126=new _0x2bd302['PivotView']();_0x380126[_0x3c29c5(0x188)](_0x21db2e);const _0x1486d7={'cellInfo':_0x4d292a,'view':_0x380126,'isEmpty':_0x25ac42};if(!await _0x5a990f[_0x3c29c5(0x239)](_0x5bf755['SheetsPivotTableService'])[_0x3c29c5(0x2cc)][_0x3c29c5(0x1f9)](_0x5ce99e)(!0x0,_0x1486d7))return!0x1;const _0x47132f=_0x3034a0(_0x5a990f,_0x380126,_0x4d292a,_0x25ac42),_0x4da2ac=_0x1b91fb(_0x5a990f,_0x1486d7),{redos:_0x56b468,undos:_0x16723c}=_0x54d6ee(_0x9ef86d,{'pivotTableId':_0x3ec5d0,'unitId':_0x51d665,'subUnitId':_0x4c9942},_0x1674a9);return _0x288eb9['sequenceExecute']([..._0x47132f[_0x3c29c5(0x196)],..._0x4da2ac[_0x3c29c5(0x196)],..._0x56b468],_0x9ef86d),_0xae5a73[_0x3c29c5(0x1b3)]({'unitID':_0x51d665,'redoMutations':[..._0x47132f[_0x3c29c5(0x196)],..._0x4da2ac['redos'],..._0x56b468],'undoMutations':[..._0x47132f['undos'],..._0x4da2ac[_0x3c29c5(0x248)],..._0x16723c]}),!0x0;}},_0x318908={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x293),async 'handler'(_0x64c905,_0x59ba91){const _0x4c9ec2=_0x42bb9f;if(!_0x59ba91)return!0x1;const _0x404564=_0x64c905[_0x4c9ec2(0x239)](_0x288eb9[_0x4c9ec2(0x19d)]),_0x13edd7=_0x64c905['get'](_0x288eb9['IUndoRedoService']),_0x2051fe=_0x64c905[_0x4c9ec2(0x239)](_0x5bf755[_0x4c9ec2(0x330)]),{resetArea:_0x83e8c1,pivotTableId:_0x3e4a56,unitId:_0x291372,subUnitId:_0x52d622}=_0x59ba91,_0x5e12ac=(await _0x2051fe[_0x4c9ec2(0x2eb)]({'unitId':_0x291372,'subUnitId':_0x52d622,'pivotTableId':_0x3e4a56,'params':{'type':_0x5e3388[_0x4c9ec2(0x316)],'resetPivotTable':{'pivotTableId':_0x3e4a56,'resetArea':_0x83e8c1}}}))[_0x4c9ec2(0x312)][_0x4c9ec2(0x29b)];if(!_0x5e12ac)return!0x1;const {changesets:_0x304e3c}=_0x5e12ac,{redos:_0x63f658,undos:_0x27c8cd}=_0x54d6ee(_0x404564,{'pivotTableId':_0x3e4a56,'unitId':_0x291372,'subUnitId':_0x52d622},_0x304e3c);return _0x288eb9[_0x4c9ec2(0x363)](_0x63f658,_0x404564),_0x13edd7['pushUndoRedo']({'unitID':_0x291372,'redoMutations':_0x63f658,'undoMutations':_0x27c8cd}),!0x0;}},_0x12e7ee={'type':_0x288eb9['CommandType'][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x298),async 'handler'(_0xaaefce,_0x28ebc9){const _0x39bf5c=_0x42bb9f,_0x4b1322=_0xaaefce['get'](_0x288eb9[_0x39bf5c(0x19d)]),_0x1c6865=_0xaaefce[_0x39bf5c(0x239)](_0x5bf755[_0x39bf5c(0x330)]),_0x1a7801=_0xaaefce['get'](_0x5bf755[_0x39bf5c(0x249)]),_0x370ba4=_0xaaefce['get'](_0x288eb9[_0x39bf5c(0x132)]),_0x4a27b4=_0xaaefce[_0x39bf5c(0x239)](_0x288eb9['LocaleService']),_0x225bcf=_0xaaefce[_0x39bf5c(0x239)](_0x288eb9[_0x39bf5c(0x17b)]);if(!_0x28ebc9)return!0x1;const {unitId:_0x415e3b,subUnitId:_0x26fe5d,row:_0x18a191,col:_0x31174a,collapse:_0x10e882}=_0x28ebc9,_0x162972=_0x370ba4[_0x39bf5c(0x264)](_0x415e3b);if(!_0x162972||!_0x162972[_0x39bf5c(0xb7)](_0x26fe5d))return!0x1;const _0x2cd302=_0x1a7801[_0x39bf5c(0x32a)](_0x415e3b,_0x26fe5d,_0x18a191,_0x31174a);if(!_0x2cd302)return!0x1;const _0x4e8f22=_0x1a7801['getPivotItemRenderInfoCache'](_0x415e3b,_0x26fe5d,_0x2cd302);if(!_0x4e8f22)return!0x1;const _0xd5f474=_0x288eb9[_0x39bf5c(0x104)](_0x18a191,_0x31174a),{rangesInfo:_0x38e32e,areaInfo:_0x4e597e,headerMap:_0x21519e}=_0x4e8f22;if(!_0x38e32e||!_0x4e597e||!_0x21519e)return!0x1;const _0x527147=Object[_0x39bf5c(0x237)](_0x38e32e)[_0x39bf5c(0x261)](_0x28ac88=>_0x38e32e[_0x28ac88][_0x39bf5c(0x281)](_0x1f6c89=>_0x288eb9[_0x39bf5c(0x25d)]['contains'](_0x1f6c89,_0xd5f474)));let _0x4df821;_0x527147===_0x39bf5c(0x2b2)?_0x4df821=_0x21519e[_0x39bf5c(0x343)][_0x31174a]:_0x527147==='colRanges'&&(_0x4df821=_0x21519e[_0x39bf5c(0x1d3)][_0x18a191]);const _0x3a592e=_0x4df821==null?void 0x0:_0x4df821[_0x39bf5c(0x11e)],_0x494691=_0x1a7801[_0x39bf5c(0x273)](_0x415e3b,_0x26fe5d,_0x18a191,_0x31174a);let _0x4b5405=_0x494691==null?void 0x0:_0x494691['v'];if(_0x4b5405===_0x4a27b4['t'](_0x39bf5c(0x1aa))&&(_0x4b5405=_0x2bd302['GlobalConfig'][_0x39bf5c(0x396)]),_0x4b5405==null||!_0x2cd302||!_0x3a592e)return!0x1;const _0x164520=await _0x1c6865['getPivotDisplayConfig']({'unitId':_0x415e3b,'subUnitId':_0x26fe5d,'pivotTableId':_0x2cd302,'params':{'type':_0x5e3388[_0x39bf5c(0xd9)],'setPivotCollapse':{'tableFieldId':_0x3a592e,'collapse':_0x10e882,'item':_0x4b5405}}}),_0x315735=_0x164520==null?void 0x0:_0x164520[_0x39bf5c(0x312)][_0x39bf5c(0xfa)];if(!_0x315735)return!0x1;const {view:_0x4ab43f,pivotTableConfig:_0x1f9b3b,isEmpty:_0x5b4c45,changesets:_0x1dab9c}=_0x315735,_0x4bdc6a=new _0x2bd302['PivotView']();_0x4bdc6a[_0x39bf5c(0x188)](_0x4ab43f);const _0xcac57=_0x1f9b3b[_0x39bf5c(0x242)],_0x5849f3={'cellInfo':_0xcac57,'view':_0x4bdc6a,'isEmpty':_0x5b4c45};if(!await _0xaaefce['get'](_0x5bf755[_0x39bf5c(0x19e)])['asyncInterceptor'][_0x39bf5c(0x1f9)](_0x5ce99e)(!0x0,_0x5849f3))return!0x1;const _0x400f5c=_0x3034a0(_0xaaefce,_0x4bdc6a,_0xcac57,_0x5b4c45),_0x3c7056=_0x1b91fb(_0xaaefce,_0x5849f3),{redos:_0x2e15cf,undos:_0x5cf158}=_0x54d6ee(_0x4b1322,{'pivotTableId':_0x2cd302,'unitId':_0x415e3b,'subUnitId':_0x26fe5d},_0x1dab9c);return _0x288eb9['sequenceExecute']([..._0x400f5c[_0x39bf5c(0x196)],..._0x3c7056[_0x39bf5c(0x196)],..._0x2e15cf],_0x4b1322),_0x225bcf['pushUndoRedo']({'unitID':_0x415e3b,'redoMutations':[..._0x400f5c[_0x39bf5c(0x196)],..._0x3c7056[_0x39bf5c(0x196)],..._0x2e15cf],'undoMutations':[..._0x400f5c['undos'],..._0x3c7056[_0x39bf5c(0x248)],..._0x5cf158]}),!0x0;}},_0x275613={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x1b1),async 'handler'(_0x510104,_0x4caaee){const _0x3e122c=_0x42bb9f;if(!_0x4caaee)return!0x1;const _0x1223d2=_0x510104['get'](_0x288eb9['ICommandService']),_0x179116=_0x510104[_0x3e122c(0x239)](_0x288eb9[_0x3e122c(0x17b)]),_0x55e6f0=_0x510104[_0x3e122c(0x239)](_0x5bf755['SheetsPivotRPCService']),{pivotTableConfig:_0xb92a5e,pivotTableId:_0x4ce203,unitId:_0x4d7e9a,subUnitId:_0x446fab}=_0x4caaee,_0x403d6a=(await _0x55e6f0[_0x3e122c(0x2eb)]({'unitId':_0x4d7e9a,'subUnitId':_0x446fab,'pivotTableId':_0x4ce203,'params':{'type':_0x5e3388[_0x3e122c(0x1d0)],'setPivotTableConfig':{'pivotTableId':_0x4ce203,'pivotTableConfig':_0xb92a5e}}}))['result'][_0x3e122c(0x100)];if(!_0x403d6a)return!0x1;const {changesets:_0x12b441}=_0x403d6a,{redos:_0x2b957a,undos:_0x4954c2}=_0x54d6ee(_0x1223d2,{'pivotTableId':_0x4ce203,'unitId':_0x4d7e9a,'subUnitId':_0x446fab},_0x12b441);return _0x288eb9['sequenceExecute'](_0x2b957a,_0x1223d2),_0x179116[_0x3e122c(0x1b3)]({'unitID':_0x4d7e9a,'redoMutations':_0x2b957a,'undoMutations':_0x4954c2}),!0x0;}},_0x507f0e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0xe5),async 'handler'(_0x4d592a,_0x16cd5d){const _0x49d249=_0x42bb9f;if(!_0x16cd5d)return!0x1;const _0x2d1417=_0x4d592a[_0x49d249(0x239)](_0x288eb9[_0x49d249(0x19d)]),{pivotTableId:_0x2b0ee4,tableFieldId:_0x3c5e43,items:_0x568b0f,unitId:_0x1d1cdc,subUnitId:_0x8f8750,isAll:_0x140d08}=_0x16cd5d,_0x4a2b63=_0x4d592a[_0x49d249(0x239)](_0x5bf755[_0x49d249(0x330)]),_0x4208c7=_0x4d592a['get'](_0x288eb9['IUndoRedoService']),_0xd2ea57=(await _0x4a2b63[_0x49d249(0x2eb)]({'unitId':_0x1d1cdc,'subUnitId':_0x8f8750,'pivotTableId':_0x2b0ee4,'params':{'type':_0x5e3388[_0x49d249(0x1ba)],'setPivotFilter':{'tableFieldId':_0x3c5e43,'items':_0x568b0f,'isAll':_0x140d08}}}))['result'][_0x49d249(0xa5)];if(!_0xd2ea57)return!0x1;const {changesets:_0x314f51,pivotTableConfig:_0x3eb9f3,isEmpty:_0x66ed71,view:_0x1039b6}=_0xd2ea57,_0x1fcd5f=_0x3eb9f3[_0x49d249(0x242)],_0x5920e3=new _0x2bd302[(_0x49d249(0x15a))]();_0x5920e3[_0x49d249(0x188)](_0x1039b6);const _0x100c47={'cellInfo':_0x1fcd5f,'view':_0x5920e3,'isEmpty':_0x66ed71};if(!await _0x4d592a[_0x49d249(0x239)](_0x5bf755[_0x49d249(0x19e)])[_0x49d249(0x2cc)][_0x49d249(0x1f9)](_0x5ce99e)(!0x0,_0x100c47))return!0x1;const _0x4f1b40=_0x3034a0(_0x4d592a,_0x5920e3,_0x1fcd5f,_0x66ed71),_0x4e0633=_0x1b91fb(_0x4d592a,_0x100c47),{undos:_0x306dcd,redos:_0x571e55}=_0x54d6ee(_0x2d1417,{'pivotTableId':_0x2b0ee4,'unitId':_0x1d1cdc,'subUnitId':_0x8f8750},_0x314f51);return _0x288eb9[_0x49d249(0x363)]([..._0x4f1b40['redos'],..._0x4e0633[_0x49d249(0x196)],..._0x571e55],_0x2d1417),_0x4208c7['pushUndoRedo']({'unitID':_0x1d1cdc,'redoMutations':[..._0x4f1b40[_0x49d249(0x196)],..._0x4e0633[_0x49d249(0x196)],..._0x571e55],'undoMutations':[..._0x4f1b40[_0x49d249(0x248)],..._0x4e0633['undos'],..._0x306dcd]}),!0x0;}},_0x45f54e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x382),async 'handler'(_0xca8ec5,_0x3c1fa4){const _0x937ead=_0x42bb9f;if(!_0x3c1fa4)return!0x1;const _0x33be72=_0xca8ec5['get'](_0x288eb9[_0x937ead(0x19d)]),_0x27a601=_0xca8ec5[_0x937ead(0x239)](_0x288eb9[_0x937ead(0x17b)]),_0x5a721e=_0xca8ec5[_0x937ead(0x239)](_0x5bf755['SheetsPivotRPCService']),{info:_0x4b6202,tableFieldId:_0x1a31d9,pivotTableId:_0x4baa7d,unitId:_0x8517d2,subUnitId:_0x29521b}=_0x3c1fa4,_0x1532ba=(await _0x5a721e[_0x937ead(0x2eb)]({'unitId':_0x8517d2,'subUnitId':_0x29521b,'pivotTableId':_0x4baa7d,'params':{'type':_0x5e3388[_0x937ead(0x338)],'setPivotSort':{'tableFieldId':_0x1a31d9,'info':_0x4b6202}}}))['result'][_0x937ead(0xd2)];if(!_0x1532ba)return!0x1;const {changesets:_0x5c2738}=_0x1532ba,{redos:_0x165dd4,undos:_0x55b5db}=_0x54d6ee(_0x33be72,{'pivotTableId':_0x4baa7d,'unitId':_0x8517d2,'subUnitId':_0x29521b},_0x5c2738);return _0x288eb9['sequenceExecute'](_0x165dd4,_0x33be72),_0x27a601['pushUndoRedo']({'unitID':_0x8517d2,'redoMutations':_0x165dd4,'undoMutations':_0x55b5db}),!0x0;}},_0x16fa93={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x2c4fcd,_0x1607e4){const _0x35c03c=_0x42bb9f;if(!_0x1607e4)return!0x1;const _0xb4f23b=_0x2c4fcd[_0x35c03c(0x239)](_0x288eb9[_0x35c03c(0x19d)]),{pivotTableId:_0x1be3b2,fieldId:_0x549e58,valueFilterInfo:_0x4d7bab,unitId:_0x2a789a,subUnitId:_0x385374}=_0x1607e4,_0x2d1edb=_0x2c4fcd[_0x35c03c(0x239)](_0x5bf755['SheetsPivotRPCService']),_0xf115d5=_0x2c4fcd[_0x35c03c(0x239)](_0x288eb9[_0x35c03c(0x17b)]),_0x47f306=(await _0x2d1edb[_0x35c03c(0x2eb)]({'unitId':_0x2a789a,'subUnitId':_0x385374,'pivotTableId':_0x1be3b2,'params':{'type':_0x5e3388[_0x35c03c(0x323)],'setValuePivotFilter':{'tableFieldId':_0x549e58,'filterInfo':_0x4d7bab}}}))[_0x35c03c(0x312)][_0x35c03c(0x1fd)];if(!_0x47f306)return!0x1;const {changesets:_0x5c9181,pivotTableConfig:_0x3390f5,isEmpty:_0x1b133d,view:_0x87cfae}=_0x47f306,_0x10bf04=_0x3390f5[_0x35c03c(0x242)],_0x1689b7=new _0x2bd302[(_0x35c03c(0x15a))]();_0x1689b7[_0x35c03c(0x188)](_0x87cfae);const _0xb521f={'cellInfo':_0x10bf04,'view':_0x1689b7,'isEmpty':_0x1b133d};if(!await _0x2c4fcd[_0x35c03c(0x239)](_0x5bf755[_0x35c03c(0x19e)])['asyncInterceptor'][_0x35c03c(0x1f9)](_0x5ce99e)(!0x0,_0xb521f))return!0x1;const _0x28c6e6=_0x3034a0(_0x2c4fcd,_0x1689b7,_0x10bf04,_0x1b133d),_0x42f960=_0x1b91fb(_0x2c4fcd,_0xb521f),{undos:_0x59f395,redos:_0x2272ea}=_0x54d6ee(_0xb4f23b,{'pivotTableId':_0x1be3b2,'unitId':_0x2a789a,'subUnitId':_0x385374},_0x5c9181);return _0x288eb9[_0x35c03c(0x363)]([..._0x28c6e6['redos'],..._0x42f960[_0x35c03c(0x196)],..._0x2272ea],_0xb4f23b),_0xf115d5[_0x35c03c(0x1b3)]({'unitID':_0x2a789a,'redoMutations':[..._0x28c6e6[_0x35c03c(0x196)],..._0x42f960[_0x35c03c(0x196)],..._0x2272ea],'undoMutations':[..._0x28c6e6['undos'],..._0x42f960[_0x35c03c(0x248)],..._0x59f395]}),!0x0;}},_0x14bbb0={'id':_0x42bb9f(0x36f),'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'handler':(_0x1376dc,_0x4a010c)=>{const _0x4b85e6=_0x42bb9f;if(!_0x4a010c)return!0x1;if(!!_0x1376dc['get'](_0x288eb9[_0x4b85e6(0xd5)])[_0x4b85e6(0x36b)](_0x34280f))return!0x0;const {unitId:_0x3bcd6f,subUnitId:_0x32dbac,pivotTableId:_0x4a3a8f,tableFieldId:_0x289457,dateType:_0x58b91f}=_0x4a010c,_0x3466bb=_0x1376dc['get'](_0x5bf755[_0x4b85e6(0x1ae)]),_0x451446=_0x3466bb[_0x4b85e6(0x25c)](_0x4a3a8f);if(!_0x451446)return!0x1;const _0x55a5fa=_0x451446[_0x4b85e6(0x37d)](_0x289457);if(!_0x55a5fa)return!0x1;const _0xf1cdb6=_0x55a5fa['getOriginFieldId'](),_0x4344bd=_0x451446[_0x4b85e6(0x2a1)](_0xf1cdb6),_0x551f96=(_0x4344bd==null?void 0x0:_0x4344bd['getName']())+'\x20'+_0xf6c030(_0x1376dc,_0x58b91f);_0x3466bb[_0x4b85e6(0x2c8)](_0x3bcd6f,_0x4a3a8f)[_0x4b85e6(0x333)](_0x55a5fa['id'],_0x551f96);const _0x398e81=_0x451446[_0x4b85e6(0x2aa)](_0x289457);if(!_0x398e81)return!0x1;_0x451446[_0x4b85e6(0x33c)](_0x398e81[_0x4b85e6(0x37c)](),_0x551f96),_0x55a5fa['setDateType'](_0x58b91f);const _0x5e3443=_0x3466bb['getPivotTableConfig'](_0x3bcd6f,_0x32dbac,_0x4a3a8f);return _0x3466bb['addDirtyPivotTable']({'unitId':_0x3bcd6f,'subUnitId':_0x32dbac,'token':_0x4a3a8f,'type':_0x2de5fe[_0x4b85e6(0x1d1)],'pivotConfig':_0x5e3443}),!0x0;}},_0x340d3f={'id':'sheet.command.update-date-group','type':_0x288eb9['CommandType'][_0x42bb9f(0xd0)],'handler':(_0x286dd9,_0x1cf995)=>{const _0x10291d=_0x42bb9f;if(!_0x1cf995)return!0x1;const _0x39a325=_0x286dd9['get'](_0x288eb9[_0x10291d(0x17b)]),{unitId:_0x41a986,subUnitId:_0x1a00a5,pivotTableId:_0x3aa9ae,tableFieldId:_0x394d7b}=_0x1cf995,_0x56db2a=[],_0x3fb47f=[],_0x133bd4=_0x286dd9['get'](_0x5bf755[_0x10291d(0x2e2)]),_0x493a30=_0x133bd4['getCollection'](_0x41a986,_0x3aa9ae),_0x4ef384=_0x133bd4[_0x10291d(0x9b)](_0x41a986,_0x1a00a5,_0x3aa9ae);if(!(_0x4ef384!=null&&_0x4ef384[_0x10291d(0x313)]['dimension']))return!0x1;const _0x2ef41e=Object['values'](_0x4ef384['fieldsConfig']['dimension'])[_0x10291d(0x261)](_0x1fbc32=>_0x1fbc32['id']===_0x394d7b);if(!_0x2ef41e)return!0x1;const _0xea4453=_0x2ef41e[_0x10291d(0x160)];if(!(_0x493a30!=null&&_0x493a30[_0x10291d(0x2c0)]))return!0x1;const _0x50d90e=Object[_0x10291d(0xe2)](_0x493a30==null?void 0x0:_0x493a30[_0x10291d(0x2c0)])[_0x10291d(0x261)](_0xb32694=>_0xb32694['id']===_0xea4453);if(!_0x50d90e)return!0x1;_0x2bd302[_0x10291d(0x20f)](_0x50d90e)&&_0x56db2a['push']({'id':_0x14bbb0['id'],'params':{..._0x1cf995,'dateType':_0x50d90e['dateType']}}),_0x3fb47f['push']({'id':_0x14bbb0['id'],'params':{..._0x1cf995}});const _0x3969bb=_0x286dd9['get'](_0x288eb9[_0x10291d(0x19d)]);return _0x288eb9['sequenceExecute'](_0x3fb47f,_0x3969bb)&&_0x39a325['pushUndoRedo']({'unitID':_0x41a986,'undoMutations':_0x56db2a,'redoMutations':_0x3fb47f}),!0x0;}},_0x12b36f={'type':_0x288eb9[_0x42bb9f(0x2fa)]['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x9abed2,_0x5566f7){const _0x453126=_0x42bb9f;if(!_0x5566f7)return!0x1;const _0x1b08c3=_0x9abed2[_0x453126(0x239)](_0x288eb9[_0x453126(0x19d)]),_0xf763f0=_0x9abed2[_0x453126(0x239)](_0x288eb9[_0x453126(0x17b)]),_0x18c809=_0x9abed2[_0x453126(0x239)](_0x5bf755['SheetsPivotRPCService']),{displayName:_0x351c54,subtotalType:_0xf61f05,format:_0x4b4c0b,tableFieldId:_0x40fc41,pivotTableId:_0x100f25,unitId:_0x230213,subUnitId:_0x355c8b}=_0x5566f7,_0x1ab5c0=(await _0x18c809['getPivotDisplayConfig']({'unitId':_0x230213,'subUnitId':_0x355c8b,'pivotTableId':_0x100f25,'params':{'type':_0x5e3388[_0x453126(0x159)],'setPivotSetting':{'tableFieldId':_0x40fc41,'displayName':_0x351c54,'subtotalType':_0xf61f05,'format':_0x4b4c0b}}}))[_0x453126(0x312)][_0x453126(0x18b)];if(!_0x1ab5c0)return!0x1;const {changesets:_0x152af7,view:_0x295801,pivotTableConfig:_0x40c9f9,isEmpty:_0x2afa8f}=_0x1ab5c0,_0xa054d3=_0x40c9f9[_0x453126(0x242)],_0x2fed47=new _0x2bd302[(_0x453126(0x15a))]();_0x2fed47[_0x453126(0x188)](_0x295801);const _0x32afe9={'cellInfo':_0xa054d3,'view':_0x2fed47,'isEmpty':_0x2afa8f};if(!await _0x9abed2[_0x453126(0x239)](_0x5bf755[_0x453126(0x19e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x5ce99e)(!0x0,_0x32afe9))return!0x1;const _0x300895=_0x3034a0(_0x9abed2,_0x2fed47,_0xa054d3,_0x2afa8f),_0x3cefdd=_0x1b91fb(_0x9abed2,_0x32afe9),{undos:_0xbd20ef,redos:_0x347ea9}=_0x54d6ee(_0x1b08c3,{'pivotTableId':_0x100f25,'unitId':_0x230213,'subUnitId':_0x355c8b},_0x152af7);return _0x288eb9[_0x453126(0x363)]([..._0x300895[_0x453126(0x196)],..._0x3cefdd[_0x453126(0x196)],..._0x347ea9],_0x1b08c3),_0xf763f0[_0x453126(0x1b3)]({'unitID':_0x230213,'redoMutations':[..._0x300895[_0x453126(0x196)],..._0x3cefdd[_0x453126(0x196)],..._0x347ea9],'undoMutations':[..._0x300895[_0x453126(0x248)],..._0x3cefdd[_0x453126(0x248)],..._0xbd20ef]}),!0x0;}},_0x1bc7f9={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x405a4c,_0x2fc109){const _0xe31fcb=_0x42bb9f;if(!_0x2fc109)return!0x1;if(!!_0x405a4c[_0xe31fcb(0x239)](_0x288eb9[_0xe31fcb(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x246e02=_0x405a4c[_0xe31fcb(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{pivotTableId:_0x3d1f18,deleteIds:_0x5c29b7,collectionJSON:_0x488806,dataRangeInfo:_0x21e92a,unitId:_0x381d3f,subUnitId:_0x235af8}=_0x2fc109,_0x107abb=_0x246e02['getPivotTableInstance'](_0x3d1f18),_0x2e82ee=_0x246e02[_0xe31fcb(0x9b)](_0x381d3f,_0x235af8,_0x3d1f18);if(!_0x107abb||!_0x2e82ee)return!0x1;const {collection:_0x2c8709,updateDataFieldList:_0xaac5a5}=_0x246e02['addCollectionByJSON'](_0x3d1f18,_0x488806,_0x21e92a,_0x2e82ee[_0xe31fcb(0x242)]);_0x246e02[_0xe31fcb(0x8b)](_0x2c8709,_0xaac5a5,_0x21e92a),_0x107abb[_0xe31fcb(0x142)](_0x2c8709);for(const _0x3063c8 of _0x5c29b7)_0x246e02[_0xe31fcb(0x21d)](_0x21e92a['unitId'],_0x3063c8);const _0x1c0026=_0x246e02[_0xe31fcb(0x9b)](_0x381d3f,_0x235af8,_0x3d1f18);return _0x1c0026[_0xe31fcb(0x156)]=JSON[_0xe31fcb(0x24f)](JSON[_0xe31fcb(0x297)](_0x21e92a)),_0x246e02[_0xe31fcb(0x1d8)]({'unitId':_0x381d3f,'subUnitId':_0x235af8,'token':_0x3d1f18,'type':_0x2de5fe[_0xe31fcb(0x1d1)]}),!0x0;}},_0x228b3a={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x2b0),async 'handler'(_0x3b4a43,_0xa1abb5){const _0x4a268f=_0x42bb9f,_0x5bce21=_0x3b4a43['get'](_0x288eb9[_0x4a268f(0x19d)]),_0x32eca5=_0x3b4a43[_0x4a268f(0x239)](_0x5bf755[_0x4a268f(0x330)]),_0x1ad008=_0x3b4a43[_0x4a268f(0x239)](_0x288eb9['IUndoRedoService']);if(!_0xa1abb5)return!0x1;const {token:_0x40f829,dataRangeInfo:_0x3009ae,unitId:_0x23d392,subUnitId:_0x34a6d9}=_0xa1abb5,_0x215ad4=[],_0x49e09d=[],_0x4b1d39=(await _0x32eca5[_0x4a268f(0x2eb)]({'unitId':_0x23d392,'subUnitId':_0x34a6d9,'pivotTableId':_0x40f829,'params':{'type':_0x5e3388[_0x4a268f(0x27e)],'updatePivotSource':{'dataRangeInfo':_0x3009ae,'unitId':_0x23d392,'subUnitId':_0x34a6d9}}}))[_0x4a268f(0x312)]['updatePivotSource'];if(!_0x4b1d39)return!0x1;const {changesets:_0x1d3f28,deleteIds:_0x3ee1c8,collectionConfig:_0x3ddf62,oldCollectionConfig:_0x4ff031,view:_0xb0b790,isEmpty:_0x30dae6,pivotTableConfig:_0x311dd5}=_0x4b1d39;_0x49e09d[_0x4a268f(0x364)]({'id':_0x1bc7f9['id'],'params':{'pivotTableId':_0x40f829,'deleteIds':_0x3ee1c8,'collectionJSON':_0x3ddf62,'dataRangeInfo':_0x3009ae,'unitId':_0x23d392,'subUnitId':_0x34a6d9}}),_0x215ad4[_0x4a268f(0x2dd)]({'id':_0x1bc7f9['id'],'params':{'pivotTableId':_0x40f829,'deleteIds':[],'collectionJSON':_0x4ff031,'dataRangeInfo':_0x311dd5[_0x4a268f(0x156)],'unitId':_0x23d392,'subUnitId':_0x34a6d9}});const _0x4210a1=_0x311dd5[_0x4a268f(0x242)],_0xa161c4=new _0x2bd302[(_0x4a268f(0x15a))]();_0xa161c4[_0x4a268f(0x188)](_0xb0b790);const _0x4a5e72={'cellInfo':_0x4210a1,'view':_0xa161c4,'isEmpty':_0x30dae6};if(!await _0x3b4a43['get'](_0x5bf755[_0x4a268f(0x19e)])[_0x4a268f(0x2cc)][_0x4a268f(0x1f9)](_0x5ce99e)(!0x0,_0x4a5e72))return!0x1;const _0x2884fd=_0x3034a0(_0x3b4a43,_0xa161c4,_0x4210a1,_0x30dae6),_0xa14f4c=_0x1b91fb(_0x3b4a43,_0x4a5e72),{undos:_0x124e02,redos:_0x50a426}=_0x54d6ee(_0x5bce21,{'pivotTableId':_0x40f829,'unitId':_0x23d392,'subUnitId':_0x34a6d9},_0x1d3f28);return _0x288eb9[_0x4a268f(0x363)]([..._0x2884fd[_0x4a268f(0x196)],..._0xa14f4c[_0x4a268f(0x196)],..._0x49e09d,..._0x124e02],_0x5bce21),_0x1ad008[_0x4a268f(0x1b3)]({'unitID':_0x23d392,'redoMutations':[..._0x2884fd[_0x4a268f(0x196)],..._0xa14f4c[_0x4a268f(0x196)],..._0x49e09d,..._0x124e02],'undoMutations':[..._0x2884fd['undos'],..._0xa14f4c[_0x4a268f(0x248)],..._0x215ad4,..._0x50a426]}),!0x0;}},_0x51c029={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x317),async 'handler'(_0x20835e,_0x482d06){const _0x17b34d=_0x42bb9f;if(!_0x482d06)return!0x1;const _0x196364=_0x20835e[_0x17b34d(0x239)](_0x288eb9['ICommandService']),_0x563194=_0x20835e['get'](_0x5bf755[_0x17b34d(0x330)]),_0x2e06cb=_0x20835e[_0x17b34d(0x239)](_0x288eb9['IUniverInstanceService']),_0x4bd8b1=_0x20835e['get'](_0x288eb9[_0x17b34d(0x17b)]),{pivotTableId:_0x3e109f,position:_0x5a38da,index:_0x20039f}=_0x482d06,_0x483c37=_0x2e27a8['getSheetCommandTarget'](_0x2e06cb);if(!_0x483c37)return!0x1;const {unitId:_0x43f4ef,subUnitId:_0x211e0d}=_0x483c37,_0xb782a4=(await _0x563194[_0x17b34d(0x2eb)]({'unitId':_0x43f4ef,'subUnitId':_0x211e0d,'pivotTableId':_0x3e109f,'params':{'type':_0x5e3388[_0x17b34d(0x1e0)],'updateValuePosition':{'position':_0x5a38da,'index':_0x20039f}}}))['result'][_0x17b34d(0x162)];if(!_0xb782a4)return!0x1;const {changesets:_0x2d4047,view:_0x97b07,isEmpty:_0x18c23e,pivotTableConfig:_0x2ee493}=_0xb782a4,_0x232238=_0x2ee493[_0x17b34d(0x242)],_0x4fd9b0=new _0x2bd302['PivotView']();_0x4fd9b0[_0x17b34d(0x188)](_0x97b07);const _0xacc458=_0x20835e[_0x17b34d(0x239)](_0x5bf755['SheetsPivotTableService']),_0x26886e={'cellInfo':_0x232238,'view':_0x4fd9b0,'isEmpty':_0x18c23e};if(!await _0xacc458['asyncInterceptor'][_0x17b34d(0x1f9)](_0x5ce99e)(!0x0,_0x26886e))return!0x1;const _0x52baeb=_0x3034a0(_0x20835e,_0x4fd9b0,_0x232238,_0x18c23e),_0x3980dd=_0x1b91fb(_0x20835e,_0x26886e),{undos:_0x215c02,redos:_0x10a571}=_0x54d6ee(_0x196364,{'pivotTableId':_0x3e109f,'unitId':_0x43f4ef,'subUnitId':_0x211e0d},_0x2d4047);return _0x288eb9[_0x17b34d(0x363)]([..._0x52baeb[_0x17b34d(0x196)],..._0x3980dd[_0x17b34d(0x196)],..._0x10a571],_0x196364),_0x4bd8b1['pushUndoRedo']({'unitID':_0x43f4ef,'redoMutations':[..._0x52baeb[_0x17b34d(0x196)],..._0x3980dd[_0x17b34d(0x196)],..._0x10a571],'undoMutations':[..._0x52baeb[_0x17b34d(0x248)],..._0x3980dd[_0x17b34d(0x248)],..._0x215c02]}),!0x0;}},_0x49e4cb={'type':_0x288eb9['CommandType']['MUTATION'],'id':_0x42bb9f(0x385),'handler'(){return!0x0;}};var _0x196545=Object['getOwnPropertyDescriptor'],_0x214c8f=(_0x2f58e9,_0x24bc9f,_0x1c13a2,_0x5bc2b9)=>{const _0x1cab6b=_0x42bb9f;for(var _0x57ac92=_0x5bc2b9>0x1?void 0x0:_0x5bc2b9?_0x196545(_0x24bc9f,_0x1c13a2):_0x24bc9f,_0xb32ab9=_0x2f58e9[_0x1cab6b(0x8f)]-0x1,_0x37ae3a;_0xb32ab9>=0x0;_0xb32ab9--)(_0x37ae3a=_0x2f58e9[_0xb32ab9])&&(_0x57ac92=_0x37ae3a(_0x57ac92)||_0x57ac92);return _0x57ac92;},_0x1112db=(_0x1db3ab,_0x558817)=>(_0x32d17d,_0x5a04ab)=>_0x558817(_0x32d17d,_0x5a04ab,_0x1db3ab);const _0x2a404a=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0xf8cdf2=(_0x4518e5,_0x19c6bf,_0x339b8b)=>{const _0x52a603=_0x42bb9f,_0xd3f7ab=_0x4518e5[_0x52a603(0x34f)];_0x4518e5[_0x52a603(0xdf)](_0x3fbc27=>{const _0x428402=_0x52a603,_0x1d67bd=_0x3fbc27['getId'](),_0x3fcb46=_0x3fbc27[_0x428402(0x35f)](),_0x3dadcc=_0x3fbc27['getSourceName'](),_0xb84e85=_0x3fbc27['getDisplayName']();_0x19c6bf[_0x3fcb46]&&_0x19c6bf[_0x3fcb46]===_0xb84e85&&_0x3dadcc===_0xb84e85&&(_0x4518e5[_0x428402(0x33c)](_0x1d67bd,_0xd3f7ab[_0x428402(0x229)](_0x3fcb46)),_0x3fbc27[_0x428402(0x387)](_0xd3f7ab['getDisplayName'](_0x3fcb46)));}),_0x4518e5[_0x52a603(0x37e)](_0x2bd302[_0x52a603(0x25f)][_0x52a603(0x34e)],_0x5451a7=>{const _0x46a251=_0x52a603,_0x1b2c5b=_0x5451a7[_0x46a251(0x37c)](),_0x2e8b4a=_0x5451a7['getDataFieldId'](),_0x4387c1=_0x5451a7[_0x46a251(0x217)](),_0x33b957=_0x5451a7['getDisplayName'](),_0x44fb88=_0x5451a7['getSubtotal'](),_0x3e43cd=_0x339b8b(_0x4387c1,_0x44fb88);_0x19c6bf[_0x2e8b4a]&&_0x19c6bf[_0x2e8b4a]===_0x4387c1&&_0x3e43cd===_0x33b957&&(_0x4518e5[_0x46a251(0x33c)](_0x1b2c5b,_0x339b8b(_0xd3f7ab['getDisplayName'](_0x2e8b4a),_0x44fb88)),_0x5451a7[_0x46a251(0x387)](_0xd3f7ab[_0x46a251(0x229)](_0x2e8b4a)));});},_0x22a4d9=(_0xf1fa53,_0x25548e,_0x5405e9)=>{const _0x14db6f=_0x42bb9f;var _0x20658d,_0x16784c;const {arrayFormulaCellData:_0x16587d,unitData:_0x15b4f7}=_0x25548e,{unitId:_0x4eae79,subUnitId:_0x1f0059}=_0x5405e9,_0x71152e=_0x5405e9['range'],{startColumn:_0x11ed3d,endColumn:_0x4afba3}=_0x71152e,_0x426fdd=(_0x20658d=_0x16587d==null?void 0x0:_0x16587d[_0x4eae79])==null?void 0x0:_0x20658d[_0x1f0059],_0x43536e=(_0x16784c=_0x15b4f7==null?void 0x0:_0x15b4f7[_0x4eae79])==null?void 0x0:_0x16784c[_0x1f0059],_0x5644e0=new Set(),_0x1f2241=_0x4afba3-_0x11ed3d+0x1,{dirtyRanges:_0x50a994}=_0xf1fa53;if(_0x50a994)for(const {range:_0x33cb24,sheetId:_0x2ced18,unitId:_0x593425}of _0x50a994){if(_0x2ced18!==_0x1f0059||_0x4eae79!==_0x593425)continue;const _0x59f16e=_0x288eb9['Rectangle'][_0x14db6f(0x2ce)](_0x33cb24,_0x71152e);if(_0x59f16e){const {startColumn:_0x32a303,endColumn:_0xaeb5de}=_0x59f16e;for(let _0x4e1edf=_0x32a303;_0x4e1edf<=_0xaeb5de;_0x4e1edf++)_0x5644e0[_0x14db6f(0x246)](_0x4e1edf);}}if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241||_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)return Array[_0x14db6f(0x193)](_0x5644e0);if(_0x43536e){const _0x173bc5=_0x43536e[_0x14db6f(0x12c)](),_0x53c69f=Object[_0x14db6f(0x237)](_0x173bc5);for(const _0x58b564 of _0x53c69f){const _0x6d14de=Number(_0x58b564),_0x6903de=_0x173bc5[_0x6d14de];if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)break;for(const _0x578850 in _0x6903de){const _0x33b0f7=Number(_0x578850);_0x33b0f7<_0x11ed3d||_0x33b0f7>_0x4afba3||_0x5644e0[_0x14db6f(0x246)](_0x33b0f7);}}}if(_0x426fdd){const _0x2078ed=_0x426fdd['getMatrix'](),_0x5c0506=Object['keys'](_0x2078ed);for(const _0x3c43d2 of _0x5c0506){const _0x5e1206=Number(_0x3c43d2),_0x5b88d0=_0x2078ed[_0x5e1206];if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)break;for(const _0x463e28 in _0x5b88d0){const _0xe2f05=Number(_0x463e28);_0xe2f05<_0x11ed3d||_0xe2f05>_0x4afba3||_0x5644e0[_0x14db6f(0x246)](_0xe2f05);}}}return Array[_0x14db6f(0x193)](_0x5644e0);},_0xeff524=_0x21f2b6=>{const _0x11bf92=_0x42bb9f,_0x2e1e9b=new Set(),_0xb97849=[];for(const _0x1880e2 of _0x21f2b6){const _0x4f51dd=_0x1880e2['startRow']+','+_0x1880e2['endRow']+','+_0x1880e2[_0x11bf92(0x1c9)]+','+_0x1880e2['endColumn'];_0x2e1e9b[_0x11bf92(0xde)](_0x4f51dd)||(_0x2e1e9b[_0x11bf92(0x246)](_0x4f51dd),_0xb97849[_0x11bf92(0x364)](_0x1880e2));}return _0xb97849;};let _0x161fb7=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x203794,_0x50d6e0,_0x475c16,_0x540863,_0x130cbd){const _0x40c840=_0x42bb9f;super(),_0x4fb07d(this,_0x40c840(0x16a),new _0x4e0a85[(_0x40c840(0x269))](!0x0)),_0x4fb07d(this,_0x40c840(0x1a1),_0x3514ec=>{const _0x4f5022=_0x40c840;this[_0x4f5022(0x16a)][_0x4f5022(0x287)](!0x1);}),_0x4fb07d(this,_0x40c840(0x33e),_0x598617=>{const _0x11c7ce=_0x40c840;this[_0x11c7ce(0x16a)][_0x11c7ce(0x287)](!0x0);}),(this[_0x40c840(0x228)]=_0x203794,this[_0x40c840(0x112)]=_0x50d6e0,this[_0x40c840(0x370)]=_0x475c16,this[_0x40c840(0x1c3)]=_0x540863,this['_injector']=_0x130cbd,this[_0x40c840(0x1eb)](),this[_0x40c840(0x215)]());}[_0x42bb9f(0x1eb)](){const _0x5abdd5=_0x42bb9f;this[_0x5abdd5(0x20e)](),this['_subjectViewChange'](),this[_0x5abdd5(0xcd)](),this[_0x5abdd5(0x2c2)]();}[_0x42bb9f(0x24e)](){const _0x4f7c7e=_0x42bb9f;this[_0x4f7c7e(0x1c3)]['pushComputingStatusSubject'](this[_0x4f7c7e(0x16a)]),_0x2bd302[_0x4f7c7e(0x14e)][_0x4f7c7e(0x270)](_0x2bd302[_0x4f7c7e(0x93)][_0x4f7c7e(0x259)],this[_0x4f7c7e(0x1a1)]),_0x2bd302[_0x4f7c7e(0x14e)][_0x4f7c7e(0x270)](_0x2bd302[_0x4f7c7e(0x93)][_0x4f7c7e(0xa9)],this['_globalComputedEndHelpFunc']);}[_0x42bb9f(0x215)](){const _0x30997f=_0x42bb9f;this['disposeWithMe'](this[_0x30997f(0x370)]['onCommandExecuted'](_0x1ab4d1=>{const _0x4addcc=_0x30997f;_0x1ab4d1['id']===_0x2e27a8[_0x4addcc(0x17d)]['id']&&this[_0x4addcc(0x228)][_0x4addcc(0xf5)](_0x1ab4d1[_0x4addcc(0x2e6)]);})),this[_0x30997f(0x148)](this[_0x30997f(0x370)][_0x30997f(0x222)](_0xd6a961=>{const _0x4f5f13=_0x30997f;if(_0xd6a961['id']!==_0x459da1['id'])return;const _0x2beed6=_0xd6a961[_0x4f5f13(0x2e6)],{unitId:_0x59375e,subUnitId:_0x32f178,pivotTableId:_0x55386d}=_0x2beed6,_0x1f6c5d=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x29a)],_0x26d147={};switch(_0x1f6c5d){case _0x5e3388['Filter']:{const _0x5a1d1d=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0xdc)];if(!_0x5a1d1d)return;const {row:_0x1ba68b,col:_0x5bb087,cellData:_0x3c7114,pivotItemRenderInfoCache:_0x1f1abb,tableFieldId:_0x10ea65}=_0x5a1d1d,_0x13cfec=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x2beed6[_0x4f5f13(0x111)]);if(!_0x13cfec||!_0x1f1abb)return;if(_0x10ea65){const _0x269203=_0x13cfec['getDataFieldByTableId'](_0x10ea65);if(!_0x269203)return;_0x26d147['filter']={..._0x13cfec[_0x4f5f13(0x1c6)](_0x269203),'tableFieldId':_0x10ea65,'pivotTableId':_0x2beed6[_0x4f5f13(0x111)],'filterInfo':_0x13cfec[_0x4f5f13(0x354)](_0x10ea65),'sortInfo':_0x13cfec[_0x4f5f13(0x14d)](_0x10ea65),'format':_0x13cfec[_0x4f5f13(0xcb)](_0x10ea65)};}else{const _0x561e0d=_0x2bc413(_0x1ba68b,_0x5bb087,_0x3c7114,_0x13cfec,_0x1f1abb),_0x1f62b3=_0x561e0d==null?void 0x0:_0x561e0d[_0x4f5f13(0x21f)];if(!_0x1f62b3)return;const _0x5cc344=_0x13cfec[_0x4f5f13(0x37d)](_0x1f62b3);if(!_0x5cc344)return;_0x26d147[_0x4f5f13(0xdc)]={..._0x13cfec[_0x4f5f13(0x1c6)](_0x5cc344),'tableFieldId':_0x1f62b3,'pivotTableId':_0x2beed6[_0x4f5f13(0x111)],'filterInfo':_0x13cfec[_0x4f5f13(0x354)](_0x1f62b3),'sortInfo':_0x13cfec[_0x4f5f13(0x14d)](_0x1f62b3),'format':_0x13cfec[_0x4f5f13(0xcb)](_0x1f62b3)};}}break;case _0x5e3388[_0x4f5f13(0x2ad)]:{const _0x1975e7=_0x2beed6[_0x4f5f13(0x2e6)]['panel'];if(!_0x1975e7)return;const {pivotTableId:_0x3f897d}=_0x1975e7,_0x3f9356=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x3f897d);if(!_0x3f9356)return;const _0x533c6a=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x3f897d),_0x129889=_0x5da254(_0x3f9356,_0x3f897d,_0x533c6a);_0x26d147[_0x4f5f13(0x378)]=_0x129889;}break;case _0x5e3388['AddPivotField']:{const _0x10038e=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x2d6443=this[_0x4f5f13(0x228)][_0x4f5f13(0x138)](_0x59375e),_0x182149=_0x2d6443['getCollection'](_0x55386d);let _0x525871=null;const _0x369cec=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d),_0x1508c2=_0x2beed6['params'][_0x4f5f13(0x10d)];if(!_0x10038e||!_0x369cec||!_0x1508c2)return!0x1;const {dataFieldId:_0x39b4b6,fieldArea:_0xdff930,index:_0x339902}=_0x1508c2;_0x10038e[_0x4f5f13(0x208)]();const _0xcc63c=_0x10038e[_0x4f5f13(0x274)](_0x39b4b6,_0xdff930,_0x339902);if(_0xcc63c&&_0xdff930===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]){const _0x212015=_0xcc63c[_0x4f5f13(0x37c)](),_0x5c6e15=_0x10038e[_0x4f5f13(0x37d)](_0x212015);if(_0x5c6e15){const _0x454cb2=_0x5c6e15==null?void 0x0:_0x5c6e15[_0x4f5f13(0x103)]();_0x10038e['setSubtotalType'](_0xcc63c[_0x4f5f13(0x37c)](),_0x454cb2===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x26e)]?_0x2bd302['PivotSubtotalTypeEnum'][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x18d)]);}const _0x1669bd=_0x10038e[_0x4f5f13(0xc0)](),_0x474461=_0x10038e['getValuePosition'](),_0x4afe61=_0x10038e['getFieldCountByArea'](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x34e)]);if(_0x1669bd===-0x1&&_0x4afe61>0x1){const _0x45b722=_0x474461===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x2b1)]?_0x2bd302[_0x4f5f13(0x2be)]['Column']:_0x474461,_0xf5e49b=_0x45b722===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]?_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]:_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x2b9)];_0x10038e['updateValuePosition'](_0x45b722,_0x10038e[_0x4f5f13(0x341)](_0xf5e49b));}}else{if(_0xcc63c&&(_0xdff930===_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x1d7)]||_0xdff930===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)])){const _0x36a57e=_0xcc63c[_0x4f5f13(0x37c)](),_0x4fd338=_0x10038e[_0x4f5f13(0x37d)](_0x36a57e);if(_0x4fd338&&(_0x4fd338==null?void 0x0:_0x4fd338[_0x4f5f13(0x103)]())===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x324)]){const _0x2b2f46=_0x4fd338[_0x4f5f13(0x257)]();if(_0x2b2f46&&_0x10038e[_0x4f5f13(0x1a3)](_0xcc63c[_0x4f5f13(0x37c)](),_0x2b2f46),!_0x182149[_0x4f5f13(0x15d)]()[_0x4f5f13(0x281)](_0x18eeab=>{const _0x5c44e2=_0x4f5f13,_0x4d3c9b=_0x182149[_0x5c44e2(0xfb)](_0x18eeab);return _0x2bd302[_0x5c44e2(0x376)](_0x4d3c9b)?_0x4d3c9b[_0x5c44e2(0x192)]()[_0x5c44e2(0x95)]===_0x39b4b6:!0x1;})){const _0x16e6da=_0x2d6443[_0x4f5f13(0x1de)](),_0x5c1b75=_0xfb878c(_0x4fd338[_0x4f5f13(0x22d)],_0x4fd338[_0x4f5f13(0x141)]),_0x2d3f75=_0x4fd338['getName']()+'\x20-\x20'+_0xf6c030(this['_injector'],_0x5c1b75),_0x3939ca=new _0x2bd302[(_0x4f5f13(0x398))](_0x16e6da,_0x2d3f75,_0x2bd302[_0x4f5f13(0x383)](0x3),_0x4fd338[_0x4f5f13(0x37c)](),_0x5c1b75);_0x2d6443[_0x4f5f13(0x12a)](_0x3939ca),_0x182149['addField'](_0x16e6da,_0x2d3f75),_0x10038e[_0x4f5f13(0x274)](_0x16e6da,_0xdff930,(_0x339902!=null?_0x339902:0x0)+0x1),_0x525871=_0x3939ca;}}}}const _0x5a18cc=_0x10038e[_0x4f5f13(0x279)](),_0x33fd10=_0x10038e['query']()[_0x4f5f13(0x90)]();let _0x24b8c1;if(_0x525871){_0x24b8c1=_0x525871[_0x4f5f13(0x90)]();const _0xd47c37=_0x525871[_0x4f5f13(0x37c)]();_0x182149[_0x4f5f13(0x309)](_0xd47c37);let _0x44667c=!0x0;for(const _0x1af38f in _0x2d6443['collections'])if(_0x2d6443[_0x4f5f13(0x211)][_0x1af38f][_0x4f5f13(0x15d)]()['includes'](_0xd47c37)){_0x44667c=!0x1;break;}_0x44667c&&_0x2d6443[_0x4f5f13(0x2a8)](_0xd47c37);}const _0x23c966=_0x10038e[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x10d)]={'view':_0x33fd10,'changesets':_0x23c966,'isEmpty':_0x5a18cc,'pivotTableConfig':_0x369cec,'shouldBeAddedGroupJSON':_0x24b8c1};}break;case _0x5e3388[_0x4f5f13(0x2ba)]:{const _0x5cae88=_0x2beed6[_0x4f5f13(0x2e6)]['addPivotTable'];if(!_0x5cae88)return;const _0x4a0881=_0x5cae88[_0x4f5f13(0x156)],_0x495f68=_0x5cae88[_0x4f5f13(0x111)],{collection:_0x4b7b42}=this[_0x4f5f13(0x228)][_0x4f5f13(0x35b)]({'unitId':_0x4a0881[_0x4f5f13(0x360)],'sheetName':_0x4a0881[_0x4f5f13(0x96)],'subUnitId':_0x4a0881[_0x4f5f13(0x179)],'range':_0x4a0881[_0x4f5f13(0x272)]}),_0x4f4886=new _0x2bd302[(_0x4f5f13(0x14e))](_0x4b7b42,void 0x0,_0x495f68),_0x2035d1=_0x4f4886[_0x4f5f13(0x26f)](),_0x3dffdd=_0x4f4886[_0x4f5f13(0x90)](),_0x43bce7=_0x4b7b42[_0x4f5f13(0x90)]();_0x26d147[_0x4f5f13(0xdb)]={'view':_0x2035d1,'fieldsConfig':_0x3dffdd,'collectionConfig':_0x43bce7,'isEmpty':_0x4f4886['isEmpty']()};}break;case _0x5e3388['MovePivotField']:{const _0x5528b6=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0xb0)];if(!_0x5528b6)return;const {fieldId:_0x563218,area:_0x1daf86,index:_0x108e3a}=_0x5528b6,_0x4e1dac=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x4e1dac)return;const _0x14e070=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!_0x14e070)return;_0x14e070[_0x4f5f13(0x208)]();const {area:_0xd41ea8,index:_0x1f0980}=_0x14e070[_0x4f5f13(0x265)](_0x563218);if(_0x14e070[_0x4f5f13(0x375)](_0x563218,_0x1daf86,_0x108e3a),_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)]['Value']&&_0x14e070[_0x4f5f13(0x2aa)](_0x563218)[_0x4f5f13(0x389)]()===void 0x0){const _0x17d4ed=_0x14e070[_0x4f5f13(0x2aa)](_0x563218);if(_0x17d4ed&&_0x17d4ed['getSubtotal']()===void 0x0){const _0x49b064=_0x14e070[_0x4f5f13(0x37d)](_0x563218);if(_0x49b064){const _0x16fe1a=_0x49b064==null?void 0x0:_0x49b064[_0x4f5f13(0x103)]();_0x14e070[_0x4f5f13(0xf6)](_0x563218,_0x16fe1a===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x26e)]?_0x2bd302['PivotSubtotalTypeEnum'][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)]['count']);}}}const _0x4a2837=_0x14e070['getValuePosition'](),_0x5e1741=_0x14e070[_0x4f5f13(0xc0)](),_0x31e33e=_0x14e070[_0x4f5f13(0x341)](_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)])>0x1;if(_0x31e33e&&_0xd41ea8===_0x1daf86&&(_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Row']||_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Column'])){let _0x47b93e=_0x5e1741;_0x1f0980<=_0x5e1741&&_0x47b93e--,_0x108e3a<=_0x5e1741&&_0x47b93e++,_0x14e070['updateValuePosition'](_0x4a2837,_0x47b93e);}else _0x31e33e&&(_0xd41ea8===_0x2bd302[_0x4f5f13(0x25f)]['Row']&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]||_0xd41ea8===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x2b9)])&&_0x5e1741>=_0x1f0980&&_0x14e070[_0x4f5f13(0x162)](_0x4a2837,_0x5e1741-0x1),_0x31e33e&&(_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]||_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Column'])&&_0x5e1741>=_0x108e3a&&_0x14e070[_0x4f5f13(0x162)](_0x4a2837,_0x5e1741+0x1);const _0x43f210=_0x14e070[_0x4f5f13(0x26f)](),_0x569478=_0x14e070['isEmpty'](),_0x3bae74=_0x14e070['endCollectChangeset']();_0x26d147[_0x4f5f13(0xb0)]={'view':_0x43f210[_0x4f5f13(0x90)](),'changesets':_0x3bae74,'isEmpty':_0x569478,'pivotTableConfig':_0x4e1dac};}break;case _0x5e3388[_0x4f5f13(0x151)]:{const _0x415ae2=_0x2beed6['params'][_0x4f5f13(0xb1)];if(!_0x415ae2)return;const _0x399ee1=_0x415ae2[_0x4f5f13(0x2e0)],_0x4ede5f=this[_0x4f5f13(0x228)]['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x4ede5f)return!0x1;const _0x5568f2=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!_0x5568f2)return!0x1;_0x5568f2[_0x4f5f13(0x208)]();for(const _0x2a2fb6 of _0x399ee1){const {area:_0x5e37c6}=_0x5568f2[_0x4f5f13(0x265)](_0x2a2fb6);_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]&&_0x5568f2[_0x4f5f13(0x1b4)](_0x2a2fb6),(_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]||_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)])&&_0x5568f2['removeValueFilterInfo'](_0x2a2fb6),_0x5568f2['removeField'](_0x2a2fb6);}const _0x4cc137=_0x5568f2[_0x4f5f13(0x279)](),_0x5f58e0=_0x5568f2[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x1589ad=_0x5568f2[_0x4f5f13(0x180)]();_0x26d147['removePivotField']={'changesets':_0x1589ad,'pivotTableConfig':_0x4ede5f,'isEmpty':_0x4cc137,'view':_0x5f58e0};}break;case _0x5e3388['SetPivotFilter']:{const _0x14d0cc=_0x2beed6['params'][_0x4f5f13(0xa5)];if(!_0x14d0cc)return;const {tableFieldId:_0x46767b,items:_0x298426,isAll:_0xc12f03}=_0x14d0cc,_0x5d8664=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x55386d),_0x25d60b=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x5d8664||!_0x25d60b)return;_0x5d8664[_0x4f5f13(0x208)](),_0x5d8664[_0x4f5f13(0x286)](_0x46767b,{'type':_0x2bd302['PivotFilterTypeEnum'][_0x4f5f13(0xae)],'list':_0x298426,'isAll':_0xc12f03});const _0x2ae927=_0x5d8664[_0x4f5f13(0x279)](),_0x2e57dd=_0x5d8664[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x2e4574=_0x5d8664['endCollectChangeset']();_0x26d147[_0x4f5f13(0xa5)]={'view':_0x2e57dd,'changesets':_0x2e4574,'isEmpty':_0x2ae927,'pivotTableConfig':_0x25d60b};}break;case _0x5e3388[_0x4f5f13(0x323)]:{const _0x1772f1=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x1fd)];if(!_0x1772f1)return;const {tableFieldId:_0x5a7f4b,filterInfo:_0x541312}=_0x1772f1,_0xe6d6c2=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x20f8e8=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0xe6d6c2||!_0x20f8e8)return;_0xe6d6c2[_0x4f5f13(0x208)](),_0xe6d6c2['setValueFilterInfo'](_0x5a7f4b,_0x541312);const _0x1d93c0=_0xe6d6c2[_0x4f5f13(0x279)](),_0x5ab70c=_0xe6d6c2[_0x4f5f13(0x26f)]()['toJSON'](),_0x3bda12=_0xe6d6c2[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x1fd)]={'view':_0x5ab70c,'changesets':_0x3bda12,'isEmpty':_0x1d93c0,'pivotTableConfig':_0x20f8e8};}break;case _0x5e3388[_0x4f5f13(0x338)]:{const _0x1e0ebd=_0x2beed6[_0x4f5f13(0x2e6)]['setPivotSort'];if(!_0x1e0ebd)return;const {tableFieldId:_0x254e56,info:_0x36cef0}=_0x1e0ebd,_0xf4af44=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x340877=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0xf4af44||!_0x340877)return;_0xf4af44['startCollectChangeset'](),_0xf4af44[_0x4f5f13(0x23e)](_0x254e56,_0x36cef0);const _0x130d0a=_0xf4af44[_0x4f5f13(0x279)](),_0x244f6c=_0xf4af44[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x995ff4=_0xf4af44[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0xd2)]={'view':_0x244f6c,'changesets':_0x995ff4,'isEmpty':_0x130d0a,'pivotTableConfig':_0x340877};}break;case _0x5e3388[_0x4f5f13(0x159)]:{const _0x1d9a40=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x18b)];if(!_0x1d9a40)return;const {tableFieldId:_0x5a3e9e,displayName:_0x1e5e1c,subtotalType:_0x132c89,format:_0x43af7f}=_0x1d9a40,_0x59cf61=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x55386d),_0x385fdd=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x59cf61||!_0x385fdd)return;_0x59cf61['startCollectChangeset'](),_0x1e5e1c!==void 0x0&&_0x59cf61[_0x4f5f13(0x33c)](_0x5a3e9e,_0x1e5e1c),_0x132c89!==void 0x0&&_0x59cf61[_0x4f5f13(0xf6)](_0x5a3e9e,_0x132c89),_0x43af7f!==void 0x0&&_0x59cf61[_0x4f5f13(0x1a3)](_0x5a3e9e,_0x43af7f);const _0x2517d8=_0x59cf61[_0x4f5f13(0x279)](),_0x5c51f8=_0x59cf61[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x57efb5=_0x59cf61['endCollectChangeset']();_0x26d147[_0x4f5f13(0x18b)]={'changesets':_0x57efb5,'pivotTableConfig':_0x385fdd,'isEmpty':_0x2517d8,'view':_0x5c51f8};}break;case _0x5e3388['UpdatePivotSource']:{const _0x273369=_0x2beed6[_0x4f5f13(0x2e6)]['updatePivotSource'];if(!_0x273369)return;const {dataRangeInfo:_0xf7321d,unitId:_0x136e99,subUnitId:_0x47b709}=_0x273369,_0x4561e6=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x136e99,_0x47b709,_0x55386d),_0xb156d4=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!this[_0x4f5f13(0x228)][_0x4f5f13(0x2c8)](_0x136e99,_0x55386d)||!_0xb156d4||!_0x4561e6)return;const _0x7ddd55=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x22b)](_0x136e99,_0x55386d,_0xf7321d),_0x4e9cc3=this[_0x4f5f13(0x228)]['getCollection'](_0x136e99,_0x55386d)['toJSON'](),{collection:_0x57b701}=this[_0x4f5f13(0x228)]['createCollectionWithDataRange']({'unitId':_0xf7321d['unitId'],'sheetName':_0xf7321d['sheetName'],'subUnitId':_0xf7321d['subUnitId'],'range':_0xf7321d[_0x4f5f13(0x272)]}),_0x5c6490=_0x57b701[_0x4f5f13(0x90)]();_0xb156d4[_0x4f5f13(0x208)]();const _0x5d9cfb=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x138)](_0x136e99)[_0x4f5f13(0x191)]()||_0x2bd302['getAutoDisplayName'];_0xb156d4[_0x4f5f13(0xe8)](_0x4e7940=>{const _0x194f81=_0x4f5f13,_0x5c38d5=_0x4e7940[_0x194f81(0x35f)]();if(!_0x57b701[_0x194f81(0x1f2)](_0x5c38d5)){const _0xf874c7=_0x57b701[_0x194f81(0x1be)](_0x4e7940[_0x194f81(0x217)]());if(_0xf874c7){_0xb156d4['updateFieldSourceInfo'](_0x4e7940['getId'](),_0xf874c7[_0x194f81(0x2e8)](),_0xf874c7['getId']());const {area:_0x458021}=_0xb156d4[_0x194f81(0x265)](_0x4e7940[_0x194f81(0x37c)]());let _0x334ab8=_0x4e7940[_0x194f81(0x217)]();const _0x27de88=_0x4e7940[_0x194f81(0x229)]();if(_0x458021===_0x2bd302[_0x194f81(0x25f)][_0x194f81(0x34e)]){const _0x22c060=_0x4e7940[_0x194f81(0x389)]();_0x334ab8=_0x5d9cfb(_0xf874c7[_0x194f81(0x2e8)](),_0x22c060);}_0x27de88!==_0x334ab8&&_0xb156d4[_0x194f81(0x33c)](_0x4e7940[_0x194f81(0x37c)](),_0x334ab8);}else _0xb156d4[_0x194f81(0x115)](_0x4e7940[_0x194f81(0x37c)]());}});const _0x5c3843=_0xb156d4[_0x4f5f13(0x279)](),_0x29260a=_0xb156d4[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x34ba34=_0xb156d4['endCollectChangeset']();_0x26d147[_0x4f5f13(0x224)]={'view':_0x29260a,'changesets':_0x34ba34,'isEmpty':_0x5c3843,'pivotTableConfig':_0x4561e6,'collectionConfig':_0x5c6490,'oldCollectionConfig':_0x4e9cc3,'deleteIds':_0x7ddd55};}break;case _0x5e3388[_0x4f5f13(0x1e0)]:{const _0x13323=_0x2beed6[_0x4f5f13(0x2e6)]['updateValuePosition'];if(!_0x13323)return;const {position:_0x23dde8,index:_0x2e79d2}=_0x13323,_0x96e566=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x96e566)return!0x1;const _0x1a38e4=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x55386d);if(!_0x1a38e4)return!0x1;_0x1a38e4[_0x4f5f13(0x208)](),_0x1a38e4[_0x4f5f13(0x162)](_0x23dde8,_0x2e79d2);const _0xb4b045=_0x1a38e4[_0x4f5f13(0x279)](),_0x46620b=_0x1a38e4['query']()['toJSON'](),_0x57ee48=_0x1a38e4[_0x4f5f13(0x180)]();_0x26d147['updateValuePosition']={'changesets':_0x57ee48,'pivotTableConfig':_0x96e566,'isEmpty':_0xb4b045,'view':_0x46620b};}break;case _0x5e3388['SetPivotCollapse']:{const _0x362264=_0x2beed6['params'][_0x4f5f13(0xfa)];if(!_0x362264)return;const {tableFieldId:_0x4891cd,collapse:_0x4d9669,item:_0x22d339}=_0x362264,_0x592485=this[_0x4f5f13(0x228)]['getPivotTableInstance'](_0x55386d),_0x1a1b3d=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x592485||!_0x1a1b3d)return;_0x592485[_0x4f5f13(0x208)](),_0x592485[_0x4f5f13(0x1af)](_0x4891cd,_0x4d9669,_0x22d339);const _0x512b04=_0x592485[_0x4f5f13(0x279)](),_0x3c94b6=_0x592485['query']()[_0x4f5f13(0x90)](),_0x4bdfe7=_0x592485[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0xfa)]={'view':_0x3c94b6,'isEmpty':_0x512b04,'pivotTableConfig':_0x1a1b3d,'changesets':_0x4bdfe7};}break;case _0x5e3388[_0x4f5f13(0x1d0)]:{const _0x45249c=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x100)];if(!_0x45249c)return;const {pivotTableConfig:_0x472112}=_0x45249c,_0x132ce9=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x2adc20=this[_0x4f5f13(0x228)]['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x132ce9||!_0x2adc20)return;_0x132ce9['startCollectChangeset'](),_0x4b09d5(_0x132ce9,_0x472112);const _0x473beb=_0x132ce9['isEmpty'](),_0x4b2923=_0x132ce9[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x161c10=_0x132ce9[_0x4f5f13(0x180)]();_0x26d147['setPivotTableConfig']={'view':_0x4b2923,'isEmpty':_0x473beb,'pivotTableConfig':{..._0x2adc20,'fieldsConfig':_0x132ce9[_0x4f5f13(0x90)]()},'changesets':_0x161c10};}break;case _0x5e3388[_0x4f5f13(0x316)]:{const _0x34f224=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x29b)];if(!_0x34f224)return;const _0x6cbc7b=this[_0x4f5f13(0x228)]['getPivotTableInstance'](_0x55386d),_0x4788f3=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x6cbc7b||!_0x4788f3)return;_0x6cbc7b[_0x4f5f13(0x208)](),_0x4d996f(_0x6cbc7b,_0x34f224[_0x4f5f13(0x1c7)]);const _0x10a1ab=_0x6cbc7b['query']()[_0x4f5f13(0x90)](),_0x37dfa6=_0x6cbc7b[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x29b)]={'view':_0x10a1ab,'isEmpty':!0x0,'pivotTableConfig':{..._0x4788f3,'fieldsConfig':_0x6cbc7b['toJSON']()},'changesets':_0x37dfa6};}break;case _0x5e3388[_0x4f5f13(0x166)]:{const _0x1147c7=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x13b)];if(!_0x1147c7)return;const _0x11ff97=_0x1147c7['sourceRangeInfo'],_0x59d96d=_0x1147c7[_0x4f5f13(0x111)],{collection:_0x21aaa5}=this[_0x4f5f13(0x228)][_0x4f5f13(0x35b)]({'unitId':_0x11ff97[_0x4f5f13(0x360)],'sheetName':_0x11ff97[_0x4f5f13(0x96)],'subUnitId':_0x11ff97[_0x4f5f13(0x179)],'range':_0x11ff97[_0x4f5f13(0x272)]}),_0x2a14bc=new _0x2bd302[(_0x4f5f13(0x14e))](_0x21aaa5,void 0x0,_0x59d96d),_0xb4ecbd=_0x21aaa5[_0x4f5f13(0x15d)](),{rows:_0x3887a3,columns:_0x1ad39d,filters:_0x4be251,values:_0x359192}=_0x1147c7[_0x4f5f13(0x350)];_0x2a14bc[_0x4f5f13(0x208)]();for(const {field:_0x18c8a1,selectedItems:_0x55f491}of _0x3887a3||[]){const _0x2e824f=_0xb4ecbd[_0x18c8a1];if(_0x2e824f){const _0x1e88d5=_0x2a14bc[_0x4f5f13(0x274)](_0x2e824f,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]);_0x55f491&&_0x1e88d5&&_0x2a14bc[_0x4f5f13(0x286)](_0x1e88d5['getId'](),{'type':_0x2bd302[_0x4f5f13(0x346)][_0x4f5f13(0xae)],'list':_0x55f491,'isAll':!0x1});}}for(const {field:_0x86b79b,selectedItems:_0x1b1d15}of _0x1ad39d||[]){const _0x524199=_0xb4ecbd[_0x86b79b];if(_0x524199){const _0x229dfc=_0x2a14bc[_0x4f5f13(0x274)](_0x524199,_0x2bd302[_0x4f5f13(0x25f)]['Column']);_0x1b1d15&&_0x229dfc&&_0x2a14bc['setLabelFilterInfo'](_0x229dfc[_0x4f5f13(0x37c)](),{'type':_0x2bd302['PivotFilterTypeEnum']['ManualFilter'],'list':_0x1b1d15,'isAll':!0x1});}}for(const {field:_0x4228fd,selectedItems:_0x211bc6}of _0x4be251||[]){const _0x4e6da1=_0xb4ecbd[_0x4228fd];if(_0x4e6da1){const _0x256938=_0x2a14bc['addFieldWithSourceId'](_0x4e6da1,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x328)]);_0x211bc6&&_0x256938&&_0x2a14bc[_0x4f5f13(0x286)](_0x256938[_0x4f5f13(0x37c)](),{'type':_0x2bd302[_0x4f5f13(0x346)][_0x4f5f13(0xae)],'list':_0x211bc6,'isAll':!0x1});}}for(const {field:_0x4f2f30,subTotalType:_0x30e371,formatString:_0x24e38d}of _0x359192||[]){const _0x1cf792=_0x21aaa5[_0x4f5f13(0xfb)](_0xb4ecbd[_0x4f2f30]);if(!_0x1cf792)continue;const _0x32303d=_0xb4ecbd[_0x4f2f30];if(_0x32303d){const _0x488f73=_0x2a14bc[_0x4f5f13(0x274)](_0x32303d,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]);if(_0x488f73){if(_0x30e371!==void 0x0){_0x2a14bc['setSubtotalType'](_0x488f73[_0x4f5f13(0x37c)](),_0x30e371);const _0x175d27=this[_0x4f5f13(0x228)]['getDataFieldManager'](_0x11ff97[_0x4f5f13(0x360)])[_0x4f5f13(0x191)]()||_0x2bd302['getAutoDisplayName'],_0x1119b5=_0x21aaa5[_0x4f5f13(0x229)](_0x32303d),_0x1bbec6=_0x175d27(_0x1119b5,_0x30e371);_0x2a14bc[_0x4f5f13(0x33c)](_0x488f73[_0x4f5f13(0x37c)](),_0x1bbec6);}else{if(_0x1cf792){const _0x20a5f3=_0x1cf792==null?void 0x0:_0x1cf792[_0x4f5f13(0x103)]();_0x2a14bc[_0x4f5f13(0xf6)](_0x488f73[_0x4f5f13(0x37c)](),_0x20a5f3===_0x2bd302['PivotDataFieldDataTypeEnum'][_0x4f5f13(0x26e)]?_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x18d)]);}}_0x24e38d&&_0x2a14bc[_0x4f5f13(0x1a3)](_0x488f73['getId'](),_0x24e38d);}}}const _0x34d848=_0x2a14bc[_0x4f5f13(0x26f)](),_0x49da38=_0x2a14bc[_0x4f5f13(0x90)](),_0x273213=_0x2a14bc['isEmpty'](),_0x44dcd5=_0x2a14bc[_0x4f5f13(0x180)](),_0x162ce5=_0x21aaa5[_0x4f5f13(0x90)]();_0x26d147['addPivotTableWithConfig']={'view':_0x34d848,'fieldsConfig':_0x49da38,'collectionConfig':_0x162ce5,'isEmpty':_0x273213,'changesets':_0x44dcd5};}break;case _0x5e3388['DrillDown']:{const _0x3e4e4c=_0x15ce34(this[_0x4f5f13(0x39e)],_0x2beed6);if(!_0x3e4e4c)return;const {range:_0x1135da,sourceSubUnitId:_0x110fc7,sourceUnitId:_0x37e155,formatMap:_0x5a4edf,indexes:_0x11059d}=_0x3e4e4c;_0x26d147[_0x4f5f13(0x31b)]={'range':_0x1135da,'sourceSubUnitId':_0x110fc7,'sourceUnitId':_0x37e155,'formatMap':_0x5a4edf,'indexes':_0x11059d};}break;}this['_commandService'][_0x4f5f13(0x9e)](_0x37b8d8['id'],{'version':_0x2beed6[_0x4f5f13(0x344)],'result':_0x26d147},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x85f21d=_0x42bb9f;this['disposeWithMe'](this[_0x85f21d(0x370)][_0x85f21d(0x222)](_0xa65190=>{const _0xa38bad=_0x85f21d;if(_0xa65190['id']!==_0x157f7e['id'])return;const _0x347137=_0xa65190['params'];return this[_0xa38bad(0x228)][_0xa38bad(0xbe)](_0x347137['textInfo']),!0x0;}));}[_0x42bb9f(0x20e)](){const _0x18ef1e=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x18ef1e(0x165)][_0x18ef1e(0x153)](_0x46cf14=>{const _0x10c0db=_0x18ef1e;switch(_0x46cf14['type']){case _0x521660[_0x10c0db(0x246)]:_0x46cf14[_0x10c0db(0x22f)]&&_0x46cf14[_0x10c0db(0x242)]&&this['handleSourceRangeChange'](_0x46cf14['token'],_0x46cf14[_0x10c0db(0x22f)],_0x46cf14[_0x10c0db(0x242)]);break;case _0x521660[_0x10c0db(0x1ca)]:{const {unitId:_0x2297fe,subUnitId:_0x5f40e7,token:_0xebbad0}=_0x46cf14;_0x2297fe&&_0x5f40e7&&_0xebbad0&&this[_0x10c0db(0x1a4)](_0x2297fe,_0x5f40e7,_0xebbad0);}break;case _0x521660[_0x10c0db(0x307)]:{const {token:_0x368d22,oldSourceRangeInfo:_0x4873d0,dataRangeInfo:_0x332fcf,targetCellInfo:_0x3493f1}=_0x46cf14,{unitId:_0x50a217,subUnitId:_0x3548ea}=_0x4873d0||{};_0x50a217&&_0x3548ea&&_0x368d22&&this[_0x10c0db(0x1a4)](_0x50a217,_0x3548ea,_0x368d22),_0x332fcf&&_0x3493f1&&this['handleSourceRangeChange'](_0x368d22,_0x332fcf,_0x3493f1);}break;}});}[_0x42bb9f(0x2c2)](){const _0x16e828=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x16e828(0xab)][_0x16e828(0x153)](_0x558fe8=>{const _0x3f90c6=_0x16e828;Object[_0x3f90c6(0x237)](_0x558fe8)['forEach'](_0x54a3bb=>{const _0x224427=_0x3f90c6,_0x11aedb=this[_0x224427(0x228)][_0x224427(0x33f)](_0x54a3bb);if(_0x11aedb){const _0x51282c=this['_sheetsPivotDataSourceModel'][_0x224427(0x9b)](_0x11aedb==null?void 0x0:_0x11aedb[_0x224427(0x360)],_0x11aedb==null?void 0x0:_0x11aedb[_0x224427(0x179)],_0x54a3bb);_0x51282c&&(this[_0x224427(0x336)](_0x54a3bb,_0x51282c[_0x224427(0x156)],_0x51282c[_0x224427(0x242)]),this[_0x224427(0x28d)]([{'unitId':_0x11aedb[_0x224427(0x360)],'subUnitId':_0x11aedb[_0x224427(0x179)],'token':_0x54a3bb}]));}});});}[_0x42bb9f(0x271)](){const _0x29c2d1=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x29c2d1(0xf7)][_0x29c2d1(0x153)](_0x32323f=>{const _0x12dec0=_0x29c2d1,{unitId:_0x5021e9,subUnitId:_0x4b8320,pivotTableId:_0x5f01a8}=_0x32323f;_0x5021e9&&_0x4b8320&&_0x5f01a8&&this[_0x12dec0(0x28d)]([{'unitId':_0x5021e9,'subUnitId':_0x4b8320,'token':_0x5f01a8}]);});}[_0x42bb9f(0x28d)](_0x209299){const _0x4ecdcc=_0x42bb9f,_0x5a078b={};_0x209299[_0x4ecdcc(0x36d)](_0x1cc578=>{var _0x5cb148,_0x24ea46;const {unitId:_0x41f5e4,subUnitId:_0x57df92,token:_0x21890f}=_0x1cc578;_0x5a078b[_0x41f5e4]=(_0x5cb148=_0x5a078b[_0x41f5e4])!=null?_0x5cb148:{},_0x5a078b[_0x41f5e4][_0x57df92]=(_0x24ea46=_0x5a078b[_0x41f5e4][_0x57df92])!=null?_0x24ea46:{},_0x5a078b[_0x41f5e4][_0x57df92][_0x21890f]=!0x0;}),this[_0x4ecdcc(0x370)][_0x4ecdcc(0x9e)](_0x49e4cb['id'],_0x5a078b);}[_0x42bb9f(0x1a4)](_0x35d3bb,_0x1a609d,_0x4b7692){const _0x3ca077=_0x42bb9f;this[_0x3ca077(0x112)]['remove'](_0x35d3bb,_0x1a609d,[_0x4b7692]);}[_0x42bb9f(0x336)](_0x84b219,_0x57a9b2,_0x3edb1c){const _0x41861e=_0x42bb9f,{unitId:_0x4e48ce,subUnitId:_0x33d62d}=_0x57a9b2;this[_0x41861e(0x112)][_0x41861e(0xde)](_0x3edb1c['unitId'],_0x3edb1c[_0x41861e(0x179)],_0x84b219)&&this[_0x41861e(0x1a4)](_0x4e48ce,_0x33d62d,_0x84b219);const _0x126c5b={'sheetId':_0x33d62d,..._0x57a9b2};this[_0x41861e(0x112)]['register'](_0x3edb1c['unitId'],_0x3edb1c[_0x41861e(0x179)],_0x84b219,{'unitId':_0x3edb1c[_0x41861e(0x360)],'subUnitId':_0x3edb1c[_0x41861e(0x179)],'dependencyRanges':[_0x126c5b],'getDirtyData':(_0x1e1ce5,_0x12add4)=>{const _0x3bea1f=_0x41861e,_0x2fdaed=this[_0x3bea1f(0x228)],_0x41dcce=_0x2fdaed[_0x3bea1f(0x33f)](_0x84b219);if(!_0x41dcce)return _0x2a404a();const {unitId:_0x1d72d5,subUnitId:_0x260973}=_0x41dcce,_0x405a0c=_0x22a4d9(_0x1e1ce5,_0x12add4,_0x57a9b2);if(_0x405a0c[_0x3bea1f(0x8f)]>0x0){const _0xc725f1=_0x2fdaed['getCollection'](_0x4e48ce,_0x84b219),_0x405738=_0xc725f1[_0x3bea1f(0x15d)](),_0x5e7f15=this['getMatrixFromRunTimeData'](_0x57a9b2[_0x3bea1f(0x360)],_0x57a9b2[_0x3bea1f(0x179)],_0x12add4),_0x436bbb={},_0x5ece37=this[_0x3bea1f(0x228)][_0x3bea1f(0x138)](_0x1d72d5)[_0x3bea1f(0x191)]()||_0x2bd302[_0x3bea1f(0xe4)],_0x2abeca=[];for(const _0x3566f9 of _0x405a0c){const _0x2456e6=_0x3566f9-(_0x57a9b2[_0x3bea1f(0x272)][_0x3bea1f(0x1c9)]||0x0),_0x165227=_0x405738[_0x2456e6];_0x2abeca[_0x3bea1f(0x364)](_0x165227),_0x436bbb[_0x165227]=_0xc725f1[_0x3bea1f(0xfb)](_0x165227)[_0x3bea1f(0x2e8)](),_0x2fdaed[_0x3bea1f(0x138)](_0x4e48ce)[_0x3bea1f(0x25b)](_0x165227,_0x57a9b2,_0x2456e6,_0x5e7f15);}_0xc725f1['getGroupFieldsInfoByIds'](_0x2abeca)[_0x3bea1f(0x36d)](_0x2c689b=>{const _0x5564a2=_0x3bea1f,[_0x27a803,_0x18c35b]=_0x2c689b,_0x51e845=_0xc725f1[_0x5564a2(0xfb)](_0x27a803),_0x90478b=_0xc725f1['getFieldById'](_0x18c35b);_0x51e845&&_0x90478b&&_0x51e845[_0x5564a2(0x14a)](_0x90478b);}),_0xc725f1[_0x3bea1f(0x314)]();const _0x2f1b1c=_0x2fdaed[_0x3bea1f(0x25c)](_0x84b219);if(_0x2f1b1c){_0xf8cdf2(_0x2f1b1c,_0x436bbb,_0x5ece37),_0x2f1b1c[_0x3bea1f(0x251)](!0x0);const _0x115b56=_0x2f1b1c[_0x3bea1f(0x26f)](),_0xb3ade3=_0x2fdaed[_0x3bea1f(0x9b)](_0x1d72d5,_0x260973,_0x84b219),_0xcc527f=_0x2fdaed[_0x3bea1f(0x138)](_0x4e48ce)[_0x3bea1f(0x90)]();_0x2fdaed[_0x3bea1f(0x386)](_0x1d72d5,_0x260973,_0x2de5fe['Set'],_0x84b219,_0x115b56,_0xb3ade3,_0xcc527f,!0x0);}}return this[_0x3bea1f(0xcc)](_0x1d72d5,_0x260973,_0x84b219);}});}[_0x42bb9f(0x2d5)](_0x1d4e3b,_0xc44f61,_0x200def){var _0x341ace,_0x5cbd63;const {arrayFormulaCellData:_0x3a09a3,unitData:_0x5ef9bc}=_0x200def,_0x516368=(_0x341ace=_0x3a09a3==null?void 0x0:_0x3a09a3[_0x1d4e3b])==null?void 0x0:_0x341ace[_0xc44f61],_0x423444=(_0x5cbd63=_0x5ef9bc==null?void 0x0:_0x5ef9bc[_0x1d4e3b])==null?void 0x0:_0x5cbd63[_0xc44f61];return{'arrayFormulaCellDataMatrix':_0x516368,'unitDataMatrix':_0x423444};}[_0x42bb9f(0xcc)](_0x3ab310,_0x3503f8,_0x4472b2){const _0x454aa3=_0x42bb9f,_0x3baed7=this[_0x454aa3(0x228)][_0x454aa3(0x198)](_0x3ab310,_0x3503f8,_0x4472b2),_0x2aef8d=[],_0x14b96b=new _0x288eb9['ObjectMatrix']();if(_0x3baed7){const {rangeCache:_0x33ca06,matrix:_0x10ea1a,oldRangeCache:_0x43dc13,oldMatrix:_0x4fb472}=_0x3baed7,_0x39a84a=_0x26ef08(_0x43dc13),_0x17f1a0=_0x26ef08(_0x33ca06);_0x2aef8d[_0x454aa3(0x364)](..._0x17f1a0,..._0x39a84a),_0x4fb472&&_0x43dc13&&_0x39a84a[_0x454aa3(0x36d)](_0x39f913=>{const _0x8e59d9=_0x454aa3;for(let _0x85bdb9=_0x39f913['startRow'];_0x85bdb9<=_0x39f913[_0x8e59d9(0x241)];_0x85bdb9++)for(let _0x33857a=_0x39f913[_0x8e59d9(0x1c9)];_0x33857a<=_0x39f913[_0x8e59d9(0x1f1)];_0x33857a++)_0x14b96b[_0x8e59d9(0x1b2)](_0x85bdb9,_0x33857a);}),_0x10ea1a&&_0x17f1a0&&_0x17f1a0[_0x454aa3(0x36d)](_0x49ccb3=>{const _0x1aff51=_0x454aa3;for(let _0x545394=_0x49ccb3[_0x1aff51(0x36a)];_0x545394<=_0x49ccb3[_0x1aff51(0x241)];_0x545394++)for(let _0x24322a=_0x49ccb3[_0x1aff51(0x1c9)];_0x24322a<=_0x49ccb3[_0x1aff51(0x1f1)];_0x24322a++)_0x14b96b[_0x1aff51(0x1bb)](_0x545394,_0x24322a,_0x10ea1a[_0x1aff51(0x187)](_0x545394,_0x24322a));});}const _0x1f69e0={};return _0x1f69e0[_0x3ab310]={[_0x3503f8]:_0xeff524(_0x2aef8d)},{'runtimeCellData':{[_0x3ab310]:{[_0x3503f8]:_0x14b96b}},'dirtyRanges':_0x1f69e0};}['dispose'](){}};_0x161fb7=_0x214c8f([_0x1112db(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotDataSourceModel'])),_0x1112db(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x1407f0[_0x42bb9f(0x3a7)])),_0x1112db(0x2,_0x288eb9['Inject'](_0x288eb9['ICommandService'])),_0x1112db(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x1407f0[_0x42bb9f(0x201)])),_0x1112db(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)]))],_0x161fb7);var _0x3a1162=Object[_0x42bb9f(0x235)],_0x553e05=(_0x4a45eb,_0x21a20f,_0x5e26de,_0x3255d3)=>{for(var _0xa2b411=_0x3255d3>0x1?void 0x0:_0x3255d3?_0x3a1162(_0x21a20f,_0x5e26de):_0x21a20f,_0x197456=_0x4a45eb['length']-0x1,_0x235556;_0x197456>=0x0;_0x197456--)(_0x235556=_0x4a45eb[_0x197456])&&(_0xa2b411=_0x235556(_0xa2b411)||_0xa2b411);return _0xa2b411;},_0x42c261=(_0x3a7af1,_0x19c6a3)=>(_0x396ce9,_0x39b694)=>_0x19c6a3(_0x396ce9,_0x39b694,_0x3a7af1);let _0x16b75e=class extends _0x288eb9['Disposable']{constructor(_0xaebfd1,_0x536761,_0x4fcfc9,_0x5544a2){const _0x145f42=_0x42bb9f;super(),_0x4fb07d(this,'disposableCollection',new _0x288eb9[(_0x145f42(0x36e))]()),(this['_univerInstanceService']=_0xaebfd1,this[_0x145f42(0x1bc)]=_0x536761,this[_0x145f42(0x266)]=_0x4fcfc9,this[_0x145f42(0x98)]=_0x5544a2,this[_0x145f42(0x31a)]());}[_0x42bb9f(0x31a)](){const _0x58cea3=_0x42bb9f;this['disposeWithMe'](this[_0x58cea3(0x1bc)]['interceptCommand']({'getMutations':_0x198105=>{const _0xded24a=_0x58cea3;if(_0x198105['id']===_0x2e27a8[_0xded24a(0x27b)]['id']||_0x198105['id']===_0x2e27a8['ClearSelectionAllCommand']['id']){const _0x3d7f15=[],_0x4d54c9=[],_0x486026=this[_0xded24a(0x266)][_0xded24a(0x288)]()[_0xded24a(0x1d2)](_0x15407b=>_0x15407b['range']),_0xfd2288=_0x2e27a8[_0xded24a(0xba)](this[_0xded24a(0x1d4)]);if(!_0xfd2288)return{'redos':[],'undos':[]};const {unitId:_0x96e231,subUnitId:_0x2ff1b3}=_0xfd2288,_0x6c0cd4={},_0x1f6a74=this[_0xded24a(0x98)][_0xded24a(0x244)](_0x96e231,_0x2ff1b3);if(_0x1f6a74!=null&&_0x1f6a74[_0xded24a(0x1f6)])for(const [_0x455a89,_0x485312]of _0x1f6a74){const {unitId:_0x18843c,subUnitId:_0x538312,row:_0x40bfa2,col:_0x5ae1b0}=_0x485312[_0xded24a(0x242)];_0x18843c===_0xfd2288[_0xded24a(0x360)]&&_0x538312===_0xfd2288[_0xded24a(0x179)]&&(_0x6c0cd4[_0x40bfa2+'-'+_0x5ae1b0]=_0x455a89);}return _0x486026&&_0xfd2288&&_0x486026[_0xded24a(0x36d)](_0x3e91b8=>{const _0x2bf5b6=_0xded24a;_0x288eb9[_0x2bf5b6(0x2a5)][_0x2bf5b6(0x351)](_0x3e91b8,(_0x33f5b6,_0x1429e6)=>{const _0xf57c92=_0x2bf5b6,_0x562278=_0x33f5b6+'-'+_0x1429e6;if(_0x6c0cd4[_0x562278]){const _0x634508=_0x6c0cd4[_0x562278];_0x3d7f15[_0xf57c92(0x364)]({'id':_0xf36de3['id'],'params':{'unitId':_0x96e231,'subUnitId':_0x2ff1b3,'pivotTableId':_0x634508}});const _0x2f8f97=this[_0xf57c92(0x98)]['getCollection'](_0x96e231,_0x634508),_0x12058d=this[_0xf57c92(0x98)]['getPivotTableConfig'](_0x96e231,_0x2ff1b3,_0x634508);_0x4d54c9['push']({'id':_0x7c30f0['id'],'params':{'unitId':_0x96e231,'subUnitId':_0x2ff1b3,'pivotTableId':_0x634508,'pivotTableConfig':_0x12058d,'collectionConfig':_0x2f8f97}});}});}),{'redos':_0x3d7f15,'undos':_0x4d54c9};}return{'redos':[],'undos':[]};}}));}};_0x16b75e=_0x553e05([_0x42c261(0x0,_0x288eb9['IUniverInstanceService']),_0x42c261(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetInterceptorService'])),_0x42c261(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetsSelectionsService'])),_0x42c261(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotTableConfigModel']))],_0x16b75e);var _0x17ad02=Object[_0x42bb9f(0x235)],_0x28276f=(_0x44c601,_0x552535,_0x3140b2,_0x4ffe2b)=>{const _0xaf0fe6=_0x42bb9f;for(var _0x5184f0=_0x4ffe2b>0x1?void 0x0:_0x4ffe2b?_0x17ad02(_0x552535,_0x3140b2):_0x552535,_0x2aecfc=_0x44c601[_0xaf0fe6(0x8f)]-0x1,_0x309db1;_0x2aecfc>=0x0;_0x2aecfc--)(_0x309db1=_0x44c601[_0x2aecfc])&&(_0x5184f0=_0x309db1(_0x5184f0)||_0x5184f0);return _0x5184f0;},_0x26833f=(_0x3d2864,_0x199d27)=>(_0x5a9aa6,_0x46c3af)=>_0x199d27(_0x5a9aa6,_0x46c3af,_0x3d2864);let _0x522425=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x22e9ae,_0x1e21f3,_0x5dda08,_0x40ab94,_0x57fb2){const _0x5c4677=_0x42bb9f;super(),this[_0x5c4677(0x1bc)]=_0x22e9ae,this[_0x5c4677(0x39e)]=_0x1e21f3,this[_0x5c4677(0x1d4)]=_0x5dda08,this[_0x5c4677(0x98)]=_0x40ab94,this[_0x5c4677(0x32e)]=_0x57fb2,this['_initCommandInterceptListener']();}[_0x42bb9f(0x3a2)](_0xfc4b83,_0x3a2b22,_0x59e8a0){const _0xd666c6=_0x42bb9f,{pageView:_0x13bcc2,cornerView:_0x5664c6,rowView:_0x3b45b9,colView:_0x1b4dde,dataView:_0x520f47}=_0x3a2b22,_0x564123=_0xfc4b83;let _0x170fe4;if(_0x59e8a0)_0x170fe4=[..._0x2a44bf(_0x564123)];else{const _0x277229=_0x2b2601(_0x564123,_0x13bcc2,!0x0),_0x3f8de9=_0x13bcc2['lastRow']>=0x0?_0x13bcc2['lastRow']+0x1:0x0,_0x5264e7=_0x5664c6['rowCount'],_0x54d7cb=_0x5664c6[_0xd666c6(0x39f)],_0x4ee837=_0x277229[_0xd666c6(0x8f)]>0x0?_0x4bce21:0x0,_0x2f4f51=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837,'col':_0x564123[_0xd666c6(0x113)]},_0x5664c6,!0x1,!0x1),_0xd93311=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837+_0x5264e7,'col':_0x564123[_0xd666c6(0x113)]},_0x3b45b9,!0x1,!0x0),_0x58800a=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837,'col':_0x564123['col']+_0x54d7cb},_0x1b4dde,!0x1,!0x0),_0x2faaff=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837+_0x5264e7,'col':_0x564123[_0xd666c6(0x113)]+_0x54d7cb},_0x520f47,!0x1,!0x0);_0x170fe4=[..._0x277229,..._0x2f4f51,..._0xd93311,..._0x58800a,..._0x2faaff];}return _0x170fe4;}[_0x42bb9f(0x202)](){const _0x48b0fe=_0x42bb9f;this['disposeWithMe'](this[_0x48b0fe(0x32e)][_0x48b0fe(0x26a)][_0x48b0fe(0x2db)](this[_0x48b0fe(0x32e)][_0x48b0fe(0x26a)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x11ff2b,_0x4408f6)=>{const _0x5f00fe=_0x48b0fe,{cellInfo:_0x4a63e5,view:_0x219216,isEmpty:_0x1a449e}=_0x4408f6,_0x190ba4=_0x4a63e5,{unitId:_0x5997a2,subUnitId:_0x56600b}=_0x190ba4,_0x251405=this[_0x5f00fe(0x3a2)](_0x4a63e5,_0x219216,_0x1a449e),_0x29cf14=this[_0x5f00fe(0x1bc)][_0x5f00fe(0x17e)]({'unitId':_0x5997a2,'subUnitId':_0x56600b,'ranges':_0x251405}),_0x47f71f=_0x274f21(this[_0x5f00fe(0x39e)],_0x5997a2,_0x56600b,_0x251405);_0x47f71f[_0x5f00fe(0x223)]&&(_0x29cf14[_0x5f00fe(0x196)][_0x5f00fe(0x364)](_0x47f71f[_0x5f00fe(0x176)]),_0x29cf14[_0x5f00fe(0x248)][_0x5f00fe(0x364)](_0x47f71f[_0x5f00fe(0x366)]));const _0x2c69a5=this[_0x5f00fe(0x182)](_0x219216,_0x4a63e5);return _0x29cf14['redos']['push'](..._0x2c69a5[_0x5f00fe(0x196)]),_0x29cf14[_0x5f00fe(0x248)][_0x5f00fe(0x364)](..._0x2c69a5[_0x5f00fe(0x248)]),{'redos':_0x29cf14[_0x5f00fe(0x196)],'undos':_0x29cf14[_0x5f00fe(0x248)]};}}));}[_0x42bb9f(0x182)](_0x5af942,_0xa26525){const _0x26a248=_0x42bb9f,{col:_0x2e5b98,unitId:_0x3d7cfe,subUnitId:_0x39ac9c}=_0xa26525,_0x567cbf=[],_0x5db754=[],_0x232127=_0x2e27a8[_0x26a248(0xba)](this[_0x26a248(0x1d4)],{'unitId':_0x3d7cfe,'subUnitId':_0x39ac9c});if(!_0xa26525||!_0x5af942||!_0x232127)return{'undos':_0x5db754,'redos':_0x567cbf};const _0x129c0b=this[_0x26a248(0x98)]['getTextInfo'](),{colView:_0x3b3c7d,dataView:_0xce65ed,cornerView:_0x38311f,rowView:_0x1715d9,formatMap:_0x11654b}=_0x5af942,_0xe2a1de=_0xc12cd5(_0x3b3c7d,_0x129c0b,!0x0,_0x11654b),_0x23f9b1=_0xc12cd5(_0x1715d9,_0x129c0b,!0x1,_0x11654b),_0x5a79eb=_0x4f715a(_0xce65ed),_0x2c622a=_0x48e32a(_0x38311f),{worksheet:_0x55c5e3}=_0x232127;if(typeof window<'u'&&window[_0x26a248(0xc6)]){const _0x26068f=_0x232f9e['getFontStyleString']({..._0x1b6d0b[_0x26a248(0x1ed)]}),_0x418f52=_0x232f9e['FontCache'][_0x26a248(0x13e)](_0xe2a1de,_0x26068f)[_0x26a248(0x29d)]+0x10,_0x3d8cee=_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x5a79eb,_0x26068f)[_0x26a248(0x29d)],_0x270dcc=Math[_0x26a248(0x318)](Math[_0x26a248(0x2e9)](_0x418f52,_0x3d8cee))+0x10,_0x420a82=Math[_0x26a248(0x318)](_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x23f9b1,_0x26068f)[_0x26a248(0x29d)]),_0x3a27e7=Math[_0x26a248(0x318)](_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x2c622a,_0x26068f)[_0x26a248(0x29d)]),_0x3193f4=Math['max'](_0x420a82,_0x3a27e7,0x28)+0xc,_0x1f0182=_0x3b3c7d[_0x26a248(0x39f)]+_0x38311f[_0x26a248(0x39f)],_0x102125={},_0x283b9a={};for(let _0x334402=_0x2e5b98;_0x334402<_0x2e5b98+_0x1f0182;_0x334402++){const _0x226dc1=_0x55c5e3[_0x26a248(0x152)](_0x334402);_0x102125[_0x334402]=_0x226dc1,_0x334402-_0x2e5b98<_0x38311f[_0x26a248(0x39f)]?_0x283b9a[_0x334402-_0x2e5b98]=_0x3193f4:_0x283b9a[_0x334402-_0x2e5b98]=_0x270dcc;}_0x567cbf[_0x26a248(0x364)]({'id':_0x2e27a8[_0x26a248(0x1ea)]['id'],'params':{'subUnitId':_0x39ac9c,'unitId':_0x3d7cfe,'ranges':[{'startColumn':_0x2e5b98,'endColumn':_0x2e5b98+_0x1f0182-0x1,'startRow':0x0,'endRow':_0x55c5e3[_0x26a248(0xec)]()-0x1}],'colWidth':_0x283b9a}}),_0x5db754[_0x26a248(0x364)]({'id':_0x2e27a8[_0x26a248(0x1ea)]['id'],'params':{'subUnitId':_0x39ac9c,'unitId':_0x3d7cfe,'ranges':[{'startColumn':_0x2e5b98,'endColumn':_0x2e5b98+_0x1f0182-0x1,'startRow':0x0,'endRow':_0x55c5e3['getRowCount']()-0x1}],'colWidth':_0x102125}});}return{'undos':_0x5db754,'redos':_0x567cbf};}};_0x522425=_0x28276f([_0x26833f(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x365)])),_0x26833f(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x26833f(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IUniverInstanceService'])),_0x26833f(0x3,_0x288eb9['Inject'](_0x5bf755['SheetsPivotTableConfigModel'])),_0x26833f(0x4,_0x288eb9['Inject'](_0x5bf755[_0x42bb9f(0x19e)]))],_0x522425);var _0x514237=Object[_0x42bb9f(0x235)],_0x3f1534=(_0x2a2c07,_0xd65c23,_0x13ab5b,_0x477c4d)=>{const _0x307a7e=_0x42bb9f;for(var _0x44c919=_0x477c4d>0x1?void 0x0:_0x477c4d?_0x514237(_0xd65c23,_0x13ab5b):_0xd65c23,_0x31de40=_0x2a2c07[_0x307a7e(0x8f)]-0x1,_0x493c53;_0x31de40>=0x0;_0x31de40--)(_0x493c53=_0x2a2c07[_0x31de40])&&(_0x44c919=_0x493c53(_0x44c919)||_0x44c919);return _0x44c919;},_0x5268fe=(_0x162bb9,_0x54ff84)=>(_0x5d17cb,_0x5824ef)=>_0x54ff84(_0x5d17cb,_0x5824ef,_0x162bb9);let _0x47c3f9=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x473b6f,_0x1de106,_0x162bfd,_0x46ef7c,_0x26da27,_0x3ef35c,_0x45f5d1){const _0x25b606=_0x42bb9f;super(),_0x4fb07d(this,_0x25b606(0x38d),new _0x288eb9[(_0x25b606(0x36e))]()),(this['_injector']=_0x473b6f,this[_0x25b606(0x1cc)]=_0x1de106,this[_0x25b606(0x370)]=_0x162bfd,this[_0x25b606(0x1d4)]=_0x46ef7c,this[_0x25b606(0x98)]=_0x26da27,this[_0x25b606(0xb2)]=_0x3ef35c,this['_sheetInterceptorService']=_0x45f5d1,this[_0x25b606(0x20d)]());}[_0x42bb9f(0x20d)](){const _0x10c154=_0x42bb9f,_0x4f00a6=(_0x5f4d89,_0x3b2f72)=>{const _0x1ac20a=_0x2df4,_0x2f2c85=this[_0x1ac20a(0x1d4)][_0x1ac20a(0x1a0)](_0x288eb9[_0x1ac20a(0x175)][_0x1ac20a(0x197)]);if(!_0x2f2c85||!(_0x2f2c85==null?void 0x0:_0x2f2c85[_0x1ac20a(0xb7)](_0x3b2f72)))return;this['disposableCollection'][_0x1ac20a(0x10c)]();const _0x13c56f=_0x45f65a=>this[_0x1ac20a(0x18a)](_0x45f65a,_0x5f4d89,_0x3b2f72),_0x5e75e3=this[_0x1ac20a(0x98)]['getSubUnitPivotConfigs'](_0x5f4d89,_0x3b2f72);if(!(_0x5e75e3!=null&&_0x5e75e3[_0x1ac20a(0x1f6)]))return;Array[_0x1ac20a(0x193)](_0x5e75e3[_0x1ac20a(0xe2)]())['map'](_0x56f5c2=>{const _0x1f97c3=_0x1ac20a,{row:_0x174dea,col:_0x1c5686}=_0x56f5c2[_0x1f97c3(0x242)];return _0x288eb9['cellToRange'](_0x174dea,_0x1c5686);})[_0x1ac20a(0x36d)](_0x5b2532=>{const _0x44fe46=_0x1ac20a;this['disposableCollection'][_0x44fe46(0x246)](this['_refRangeService'][_0x44fe46(0x390)](_0x5b2532,_0x13c56f,_0x5f4d89,_0x3b2f72));});},_0x34358b=()=>{const _0x31846d=_0x2df4,_0x2d7377=this[_0x31846d(0x1d4)][_0x31846d(0x1a0)](_0x288eb9[_0x31846d(0x175)][_0x31846d(0x197)]);if(_0x2d7377){const _0x30d9a7=_0x2d7377[_0x31846d(0x209)]();if(!_0x30d9a7)return;_0x4f00a6(_0x2d7377[_0x31846d(0x23a)](),_0x30d9a7[_0x31846d(0x1c0)]());}};this['disposeWithMe'](this['_commandService'][_0x10c154(0x222)](_0x547ed1=>{const _0x28b35f=_0x10c154;if(_0x547ed1['id']===_0x2e27a8[_0x28b35f(0x276)]['id']){const _0x178922=_0x547ed1['params'],_0x4b921a=_0x178922[_0x28b35f(0x179)],_0x2b5bd5=_0x178922['unitId'];if(!_0x4b921a||!_0x2b5bd5)return;_0x4f00a6(_0x2b5bd5,_0x4b921a);}})),this[_0x10c154(0x148)](this[_0x10c154(0x98)][_0x10c154(0x1b0)][_0x10c154(0x153)](_0x205b79=>{_0x205b79&&_0x34358b();})),this[_0x10c154(0x148)](this[_0x10c154(0x98)]['pivotConfigChange$']['subscribe'](_0x4ce79c=>{const _0x298293=_0x10c154,_0x2b3755=_0x2e27a8['getSheetCommandTarget'](this[_0x298293(0x1d4)]);if(!_0x2b3755)return;const {unitId:_0x402568,subUnitId:_0x384825}=_0x2b3755,{unitId:_0x7e1aa9,subUnitId:_0x11e9b0}=_0x4ce79c;_0x402568!==_0x7e1aa9||_0x384825!==_0x11e9b0||_0x4f00a6(_0x402568,_0x384825);})),_0x34358b();}['_refRangeHandle'](_0x183adc,_0x2926b4,_0x512814){const _0x3f4e2e=_0x42bb9f;switch(_0x183adc['id']){case _0x2e27a8[_0x3f4e2e(0x213)]['id']:return this[_0x3f4e2e(0x2b4)](_0x183adc[_0x3f4e2e(0x2e6)],_0x2926b4,_0x512814);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x37d175,_0x481722,_0x2184de){const _0x27a347=_0x42bb9f,{fromRange:_0x5a5f22,toRange:_0x22a2e6}=_0x37d175,_0x38ac6f=[],_0x36e37e=[],_0x194e5c=_0x2e27a8[_0x27a347(0xba)](this[_0x27a347(0x1d4)]);if(!_0x194e5c)return{'undos':_0x36e37e,'redos':_0x38ac6f};if(_0x481722!==_0x194e5c[_0x27a347(0x360)]||_0x2184de!==_0x194e5c['subUnitId'])return{'undos':_0x36e37e,'redos':_0x38ac6f};const _0x5279f5=this[_0x27a347(0x98)][_0x27a347(0x244)](_0x481722,_0x2184de);if(_0x5279f5!=null&&_0x5279f5[_0x27a347(0x1f6)])for(const [_0x427db3,_0x524391]of _0x5279f5){const {unitId:_0x18e16f,subUnitId:_0x13071f,row:_0xfd81db,col:_0x9cef13}=_0x524391[_0x27a347(0x242)];if(_0x18e16f===_0x194e5c[_0x27a347(0x360)]&&_0x13071f===_0x194e5c['subUnitId']){const _0x5e03f2=_0x288eb9[_0x27a347(0x104)](_0xfd81db,_0x9cef13);if(_0x288eb9['Rectangle'][_0x27a347(0x1e4)](_0x5e03f2,_0x5a5f22)){const _0x16c9d0=_0xfd81db-_0x5a5f22[_0x27a347(0x36a)],_0x1c5cce=_0x9cef13-_0x5a5f22[_0x27a347(0x1c9)],_0x1becaa={'row':_0x22a2e6[_0x27a347(0x36a)]+_0x16c9d0,'col':_0x22a2e6[_0x27a347(0x1c9)]+_0x1c5cce};_0x38ac6f['push']({'id':_0x4c1e58['id'],'params':{'unitId':_0x18e16f,'subUnitId':_0x13071f,'pivotTableId':_0x427db3,'targetCellPosition':_0x1becaa}}),_0x36e37e[_0x27a347(0x364)]({'id':_0x4c1e58['id'],'params':{'unitId':_0x18e16f,'subUnitId':_0x13071f,'pivotTableId':_0x427db3,'targetCellPosition':{'row':_0xfd81db,'col':_0x9cef13}}});const _0x4bb40e=_0x1becaa[_0x27a347(0x392)]-_0xfd81db,_0x5006e9=_0x1becaa[_0x27a347(0x113)]-_0x9cef13,_0x3926de=[],_0x3ea32c=this[_0x27a347(0xb2)][_0x27a347(0x2ab)](_0x18e16f,_0x13071f,_0x427db3),_0x42f11b=_0x3ea32c==null?void 0x0:_0x3ea32c['rangesInfo'];if(_0x42f11b){Object[_0x27a347(0x237)](_0x42f11b)['forEach'](_0x3d2fdd=>{const _0x5a2aa0=_0x27a347;_0x42f11b[_0x3d2fdd][_0x5a2aa0(0x36d)](_0x304a17=>{const _0x3927dd=_0x5a2aa0,_0x191eeb={..._0x304a17};_0x191eeb['startRow']=_0x304a17[_0x3927dd(0x36a)]+_0x4bb40e,_0x191eeb['endRow']=_0x304a17[_0x3927dd(0x241)]+_0x4bb40e,_0x191eeb[_0x3927dd(0x1c9)]=_0x304a17[_0x3927dd(0x1c9)]+_0x5006e9,_0x191eeb[_0x3927dd(0x1f1)]=_0x304a17[_0x3927dd(0x1f1)]+_0x5006e9,_0x3926de[_0x3927dd(0x364)](_0x191eeb);});});const _0x1537b6=this[_0x27a347(0x1bc)][_0x27a347(0x17e)]({'unitId':_0x18e16f,'subUnitId':_0x13071f,'ranges':_0x3926de});_0x38ac6f['push'](..._0x1537b6['redos']),_0x36e37e[_0x27a347(0x364)](..._0x1537b6['undos']);const _0x347733=_0x274f21(this['_injector'],_0x18e16f,_0x13071f,_0x3926de);_0x347733[_0x27a347(0x223)]&&(_0x38ac6f[_0x27a347(0x364)](_0x347733[_0x27a347(0x176)]),_0x36e37e[_0x27a347(0x364)](_0x347733[_0x27a347(0x366)]));}}}}return{'redos':_0x38ac6f,'undos':_0x36e37e};}};_0x47c3f9=_0x3f1534([_0x5268fe(0x0,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x1fb)])),_0x5268fe(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x177)])),_0x5268fe(0x2,_0x288eb9[_0x42bb9f(0x19d)]),_0x5268fe(0x3,_0x288eb9[_0x42bb9f(0x132)]),_0x5268fe(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0x5268fe(0x5,_0x288eb9['Inject'](_0x5bf755[_0x42bb9f(0x249)])),_0x5268fe(0x6,_0x288eb9['Inject'](_0x2e27a8[_0x42bb9f(0x365)]))],_0x47c3f9);var _0x3593e6=Object[_0x42bb9f(0x235)],_0x1c766c=(_0x3ae02f,_0x1e3a0f,_0x36574e,_0x4b86c1)=>{const _0x425cb6=_0x42bb9f;for(var _0x4a176c=_0x4b86c1>0x1?void 0x0:_0x4b86c1?_0x3593e6(_0x1e3a0f,_0x36574e):_0x1e3a0f,_0x373805=_0x3ae02f[_0x425cb6(0x8f)]-0x1,_0x59f44e;_0x373805>=0x0;_0x373805--)(_0x59f44e=_0x3ae02f[_0x373805])&&(_0x4a176c=_0x59f44e(_0x4a176c)||_0x4a176c);return _0x4a176c;},_0x1cc003=(_0x4163c8,_0x20fe8f)=>(_0x3ee7d8,_0x4342f2)=>_0x20fe8f(_0x3ee7d8,_0x4342f2,_0x4163c8);let _0x3d72e6=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x1a3210,_0x11a72e){const _0x2aa19b=_0x42bb9f;super(),this[_0x2aa19b(0x1bc)]=_0x1a3210,this[_0x2aa19b(0x98)]=_0x11a72e,this[_0x2aa19b(0x133)]();}[_0x42bb9f(0x133)](){const _0x35cbd3=_0x42bb9f;this['disposeWithMe'](this[_0x35cbd3(0x1bc)]['interceptCommand']({'getMutations':_0xcf1dfb=>{const _0x2b1c6f=_0x35cbd3;if(_0xcf1dfb['id']===_0x2e27a8[_0x2b1c6f(0xf1)]['id']){const _0x2fd5c0=[],_0x4b0f59=[],_0x3ef6ea=_0xcf1dfb['params'],{unitId:_0x2a565e,subUnitId:_0x12f9b6}=_0x3ef6ea;if(!_0x2a565e||!_0x12f9b6)return{'undos':_0x4b0f59,'redos':_0x2fd5c0};const _0x4ed578=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x2a565e,_0x12f9b6);if(_0x4ed578!=null&&_0x4ed578[_0x2b1c6f(0x1f6)])for(const [_0x1b4416,_0x8bcc11]of _0x4ed578){_0x2fd5c0[_0x2b1c6f(0x364)]({'id':_0xf36de3['id'],'params':{'unitId':_0x2a565e,'subUnitId':_0x12f9b6,'pivotTableId':_0x1b4416}});const _0x54247c={...this[_0x2b1c6f(0x98)][_0x2b1c6f(0x2c8)](_0x2a565e,_0x1b4416)};_0x4b0f59[_0x2b1c6f(0x364)]({'id':_0x7c30f0['id'],'params':{'unitId':_0x2a565e,'subUnitId':_0x12f9b6,'pivotTableId':_0x1b4416,'pivotTableConfig':_0x8bcc11,'collectionConfig':_0x54247c}});}return{'redos':_0x2fd5c0,'undos':_0x4b0f59};}return{'redos':[],'undos':[]};}}));}};_0x3d72e6=_0x1c766c([_0x1cc003(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x365)])),_0x1cc003(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)]))],_0x3d72e6);var _0x34beaa=Object[_0x42bb9f(0x235)],_0x4ab73f=(_0xd37c5f,_0x1c7427,_0x52b138,_0x2bcbfb)=>{const _0x2449ba=_0x42bb9f;for(var _0x25bae0=_0x2bcbfb>0x1?void 0x0:_0x2bcbfb?_0x34beaa(_0x1c7427,_0x52b138):_0x1c7427,_0x4533b0=_0xd37c5f[_0x2449ba(0x8f)]-0x1,_0x4ba06f;_0x4533b0>=0x0;_0x4533b0--)(_0x4ba06f=_0xd37c5f[_0x4533b0])&&(_0x25bae0=_0x4ba06f(_0x25bae0)||_0x25bae0);return _0x25bae0;},_0xb3eed7=(_0x2e5bef,_0x2d1b56)=>(_0x4da90a,_0x4e709d)=>_0x2d1b56(_0x4da90a,_0x4e709d,_0x2e5bef);let _0x277bb2=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x548a94,_0x103b77,_0x15b38b,_0x5f3c13,_0x5da2b0,_0x5a51df){const _0x270dbc=_0x42bb9f;super(),this[_0x270dbc(0x370)]=_0x548a94,this[_0x270dbc(0x37f)]=_0x103b77,this['_sheetsPivotTableAdaptorModel']=_0x15b38b,this[_0x270dbc(0x98)]=_0x5f3c13,this[_0x270dbc(0x1d4)]=_0x5da2b0,this['_activeDirtyManagerService']=_0x5a51df,this[_0x270dbc(0xfc)](),this[_0x270dbc(0x299)]();}[_0x42bb9f(0xfc)](){const _0x145315=_0x42bb9f;this['disposeWithMe'](this[_0x145315(0x370)][_0x145315(0x222)](_0x986f74=>{const _0x548570=_0x145315;if(_0x986f74['id']!==_0x37b8d8['id'])return;const _0x538632=_0x986f74['params'];this['_sheetsPivotRpcService'][_0x548570(0xea)](_0x538632);})),this['disposeWithMe'](this[_0x145315(0x370)]['onCommandExecuted'](_0xe1d8a8=>{const _0x4140a7=_0x145315;if(_0xe1d8a8['id']===_0x5d1784['id']){const _0x240326=_0xe1d8a8[_0x4140a7(0x2e6)];if(_0x240326){const {unitId:_0x40341e,subUnitId:_0x72d574,oldSubUnitId:_0x18cf4f,pivotTableId:_0x4f0450,pivotTableConfig:_0x7a479a,collectionConfig:_0x2ad8e5}=_0x240326;this['_sheetsPivotTableConfigModel'][_0x4140a7(0x2cf)](_0x40341e,_0x18cf4f,_0x240326[_0x4140a7(0x111)],null),this[_0x4140a7(0x98)][_0x4140a7(0x2cf)](_0x40341e,_0x72d574,_0x4f0450,_0x7a479a),this[_0x4140a7(0x98)][_0x4140a7(0x114)](_0x40341e,_0x2ad8e5);}}})),this['disposeWithMe'](this[_0x145315(0x370)][_0x145315(0x222)](_0x46e01e=>{const _0x454ee4=_0x145315;if(_0x46e01e['id']!==_0x1b400c['id'])return;const _0x3e8ebb=_0x2e27a8[_0x454ee4(0xba)](this[_0x454ee4(0x1d4)]);if(!_0x3e8ebb)return;const {unitId:_0x40755e,subUnitId:_0x3c0562}=_0x3e8ebb,_0x5f3145=_0x46e01e[_0x454ee4(0x2e6)];if(_0x5f3145[_0x454ee4(0x158)]&&Object[_0x454ee4(0x237)](_0x5f3145[_0x454ee4(0x158)])['forEach'](_0x409281=>{const _0x2dd6ae=_0x454ee4;var _0x40fa0a;(_0x40fa0a=_0x5f3145[_0x2dd6ae(0x158)])!=null&&_0x40fa0a[_0x409281]&&this[_0x2dd6ae(0x98)][_0x2dd6ae(0x114)](_0x409281,_0x5f3145[_0x2dd6ae(0x158)][_0x409281]);}),_0x5f3145[_0x454ee4(0x306)]){const _0x493423=_0x5f3145[_0x454ee4(0x306)],{unitId:_0x13b502,subUnitId:_0x4745d8,view:_0x325c7e,pivotTableId:_0x2cade1,type:_0x9d74a1,pivotConfig:_0x4cfc28}=_0x493423;if(_0x9d74a1===_0x2de5fe[_0x454ee4(0x163)])this[_0x454ee4(0xb2)][_0x454ee4(0x337)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'pivotTableId':_0x2cade1,'type':_0x9d74a1}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x13b502,_0x4745d8,_0x2cade1,null);else{const _0x351b38=new _0x2bd302[(_0x454ee4(0x15a))]();_0x351b38['formJSON'](_0x325c7e),this[_0x454ee4(0x98)][_0x454ee4(0x2cf)](_0x13b502,_0x4745d8,_0x2cade1,_0x4cfc28),this[_0x454ee4(0xb2)][_0x454ee4(0x337)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'pivotTableId':_0x2cade1,'type':_0x9d74a1,'view':_0x351b38}),this['_sheetsPivotTableAdaptorModel'][_0x454ee4(0x119)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'view':_0x351b38,'pivotTableId':_0x2cade1,'type':_0x9d74a1});}}else _0x5f3145[_0x454ee4(0x369)]&&(_0x5f3145[_0x454ee4(0x369)][_0x454ee4(0x36d)](_0x30e694=>{const _0x18d5f9=_0x454ee4,{unitId:_0x4a6bfd,subUnitId:_0x20106c,view:_0x114ad6,pivotTableId:_0x4d0e71,type:_0xc77a8e,pivotConfig:_0x4a43c6}=_0x30e694,_0x3528bf=new _0x2bd302[(_0x18d5f9(0x15a))]();_0x3528bf[_0x18d5f9(0x188)](_0x114ad6),this[_0x18d5f9(0x98)][_0x18d5f9(0x2cf)](_0x4a6bfd,_0x20106c,_0x4d0e71,_0x4a43c6),this[_0x18d5f9(0xb2)][_0x18d5f9(0x119)]({'unitId':_0x4a6bfd,'subUnitId':_0x20106c,'view':_0x3528bf,'pivotTableId':_0x4d0e71,'type':_0xc77a8e});}),this[_0x454ee4(0x98)][_0x454ee4(0x305)]());this[_0x454ee4(0xb2)][_0x454ee4(0x374)](_0x40755e,_0x3c0562);}));}[_0x42bb9f(0x299)](){const _0x43b711=_0x42bb9f;this['_activeDirtyManagerService'][_0x43b711(0x143)](_0x49e4cb['id'],{'commandId':_0x49e4cb['id'],'getDirtyData'(_0x25b897){const _0x5ca94f=_0x43b711;return{'dirtyUnitFeatureMap':_0x25b897[_0x5ca94f(0x2e6)]};}});}};_0x277bb2=_0x4ab73f([_0xb3eed7(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)])),_0xb3eed7(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x330)])),_0xb3eed7(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x249)])),_0xb3eed7(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0xb3eed7(0x4,_0x288eb9['Inject'](_0x288eb9['IUniverInstanceService'])),_0xb3eed7(0x5,_0x1407f0[_0x42bb9f(0x353)])],_0x277bb2);var _0x365a18=Object[_0x42bb9f(0x221)],_0x14be2d=Object[_0x42bb9f(0x235)],_0x3c2421=(_0x1db4a0,_0x5eafc7,_0xc4f325)=>_0x5eafc7 in _0x1db4a0?_0x365a18(_0x1db4a0,_0x5eafc7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc4f325}):_0x1db4a0[_0x5eafc7]=_0xc4f325,_0x5cdda7=(_0x9354aa,_0x4f4a8e,_0x2c3b18,_0x4e2a7e)=>{for(var _0x3e9764=_0x4e2a7e>0x1?void 0x0:_0x4e2a7e?_0x14be2d(_0x4f4a8e,_0x2c3b18):_0x4f4a8e,_0x1ef1c1=_0x9354aa['length']-0x1,_0x2416dc;_0x1ef1c1>=0x0;_0x1ef1c1--)(_0x2416dc=_0x9354aa[_0x1ef1c1])&&(_0x3e9764=_0x2416dc(_0x3e9764)||_0x3e9764);return _0x3e9764;},_0x55e45a=(_0xe84b77,_0x172c72)=>(_0x5e1d01,_0x4ae61d)=>_0x172c72(_0x5e1d01,_0x4ae61d,_0xe84b77),_0x29abc0=(_0x114115,_0x414d3c,_0x31bf51)=>_0x3c2421(_0x114115,typeof _0x414d3c!=_0x42bb9f(0x2b8)?_0x414d3c+'':_0x414d3c,_0x31bf51);_0x5bf755[_0x42bb9f(0x1bd)]=class extends _0x288eb9['Plugin']{constructor(_0x80904d=_0x49e17c,_0xa98b21,_0xd77fd8,_0x46d58c,_0x599b42){const _0x2fa22d=_0x42bb9f;super(),this[_0x2fa22d(0x371)]=_0x80904d,this[_0x2fa22d(0x39e)]=_0xa98b21,this['_commandService']=_0xd77fd8,this[_0x2fa22d(0x2fd)]=_0x46d58c,this['_dataSyncPrimaryController']=_0x599b42;const {..._0x1c48ec}=_0x288eb9[_0x2fa22d(0x1da)]({},_0x49e17c,this[_0x2fa22d(0x371)]);this[_0x2fa22d(0x2fd)]['setConfig'](_0x403f4a,_0x1c48ec),this[_0x2fa22d(0x13f)](),this[_0x2fa22d(0xef)]();}[_0x42bb9f(0xef)](){const _0x2e73ac=_0x42bb9f;var _0x22cfbe;const _0x1449c2=(_0x22cfbe=this[_0x2e73ac(0x371)])==null?void 0x0:_0x22cfbe['notExecuteFormula'];this[_0x2e73ac(0x2fd)][_0x2e73ac(0x379)](_0x34280f,_0x1449c2===!0x0);}['onStarting'](){const _0x16034b=_0x42bb9f;var _0x596f7f;let _0x137875=[];const _0x2e1f03=(_0x596f7f=this[_0x16034b(0x371)])==null?void 0x0:_0x596f7f[_0x16034b(0x8c)];_0x2e1f03===!0x0?_0x137875=[[_0x5bf755['SheetsPivotTableService']],[_0x5bf755[_0x16034b(0x330)]],[_0x277bb2],[_0x5bf755['SheetsPivotTableAdaptorModel']],[_0x5bf755[_0x16034b(0x2e2)]],[_0x3d72e6],[_0x16b75e],[_0x47c3f9],[_0x522425]]:_0x2e1f03===!0x1?_0x137875=[[_0x5bf755[_0x16034b(0x1ae)]],[_0x161fb7]]:_0x2e1f03===void 0x0&&(_0x137875=[[_0x5bf755[_0x16034b(0x1ae)]],[_0x161fb7],[_0x5bf755['SheetsPivotTableService']],[_0x5bf755[_0x16034b(0x330)]],[_0x277bb2],[_0x5bf755[_0x16034b(0x249)]],[_0x5bf755[_0x16034b(0x2e2)]],[_0x3d72e6],[_0x16b75e],[_0x47c3f9],[_0x522425]]),_0x137875['forEach'](_0x281902=>this['_injector'][_0x16034b(0x246)](_0x281902)),[_0x161fb7,_0x277bb2,_0x5bf755[_0x16034b(0x19e)],_0x16b75e,_0x3d72e6,_0x47c3f9,_0x522425][_0x16034b(0x36d)](_0x33debb=>{const _0xb866a3=_0x16034b;this[_0xb866a3(0x39e)][_0xb866a3(0xde)](_0x33debb)&&this[_0xb866a3(0x39e)][_0xb866a3(0x239)](_0x33debb);});}['_initRegisterCommand'](){const _0x1b8e22=_0x42bb9f;[_0x37507d,_0x9e6b92,_0x458ab2,_0x5ea7f4,_0x2148b5,_0x51c029,_0x340d3f,_0x12e7ee,_0x45f54e,_0x507f0e,_0x12b36f,_0x228b3a,_0x2891e4,_0x4fc4e5,_0x7c30f0,_0x14bbb0,_0xf36de3,_0x340732,_0x33e7c6,_0xb3cfa6,_0x44944d,_0x8bbbe,_0x3bf8ba,_0x3f8ba0,_0x4c05bf,_0x845d4f,_0x4c1e58,_0x459da1,_0x37b8d8,_0x1b400c,_0x26377e,_0x1e7ed4,_0x194ae1,_0x286fdb,_0x157f7e,_0x1bc7f9,_0x30ddcd,_0x49e4cb,_0x5d1784,_0x16fa93,_0x4715f0,_0x275613,_0x318908][_0x1b8e22(0x36d)](_0x37970d=>{const _0x3c349d=_0x1b8e22;var _0x286c35;(_0x286c35=this[_0x3c349d(0x3a4)])==null||_0x286c35['registerSyncingMutations'](_0x37970d),this['_commandService'][_0x3c349d(0x108)](_0x37970d);});}},_0x29abc0(_0x5bf755[_0x42bb9f(0x1bd)],_0x42bb9f(0x1c2),_0xd0f9a3),_0x29abc0(_0x5bf755[_0x42bb9f(0x1bd)],_0x42bb9f(0x29a),_0x288eb9['UniverInstanceType'][_0x42bb9f(0x197)]),_0x5bf755[_0x42bb9f(0x1bd)]=_0x5cdda7([_0x288eb9[_0x42bb9f(0x283)](_0x1f3f39[_0x42bb9f(0x35d)]),_0x55e45a(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x55e45a(0x2,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x19d)])),_0x55e45a(0x3,_0x288eb9[_0x42bb9f(0xd5)]),_0x55e45a(0x4,_0x288eb9[_0x42bb9f(0x37b)](_0x5e8e90[_0x42bb9f(0x19c)]))],_0x5bf755['UniverSheetsPivotTablePlugin']),_0x5bf755[_0x42bb9f(0x194)]=_0x458ab2,_0x5bf755[_0x42bb9f(0x2c7)]=_0x340732,_0x5bf755['AddPivotTableCommand']=_0x9e6b92,_0x5bf755[_0x42bb9f(0x2e1)]=_0x7c30f0,_0x5bf755[_0x42bb9f(0x2f5)]=_0x37507d,_0x5bf755[_0x42bb9f(0x136)]=_0x4bce21,_0x5bf755[_0x42bb9f(0x11b)]=_0x2e2372,_0x5bf755[_0x42bb9f(0x29c)]=_0x5ea7f4,_0x5bf755[_0x42bb9f(0x2b7)]=_0x2891e4,_0x5bf755[_0x42bb9f(0x34a)]=_0x5e3388,_0x5bf755[_0x42bb9f(0x3a6)]=_0x4fc4e5,_0x5bf755['PivotTableOperationEnum']=_0x2de5fe,_0x5bf755['PivotTableViewDirtyMarkOperation']=_0x49e4cb,_0x5bf755['PositionType']=_0x1caed1,_0x5bf755[_0x42bb9f(0x117)]=_0x2148b5,_0x5bf755[_0x42bb9f(0x178)]=_0x8bbbe,_0x5bf755['RemovePivotTableMutation']=_0xf36de3,_0x5bf755[_0x42bb9f(0x301)]=_0x3bf8ba,_0x5bf755[_0x42bb9f(0x1d6)]=_0x318908,_0x5bf755[_0x42bb9f(0x285)]=_0x403f4a,_0x5bf755[_0x42bb9f(0x1c4)]=_0xd0f9a3,_0x5bf755[_0x42bb9f(0x18f)]=_0x12e7ee,_0x5bf755['SetPivotCollapseMutation']=_0x3f8ba0,_0x5bf755[_0x42bb9f(0x19a)]=_0x286fdb,_0x5bf755[_0x42bb9f(0xda)]=_0x275613,_0x5bf755[_0x42bb9f(0x28e)]=_0x507f0e,_0x5bf755[_0x42bb9f(0x311)]=_0x44944d,_0x5bf755[_0x42bb9f(0x15c)]=_0x845d4f,_0x5bf755[_0x42bb9f(0x30f)]=_0x4c1e58,_0x5bf755[_0x42bb9f(0x24a)]=_0x45f54e,_0x5bf755['SetPivotSortMutation']=_0x4c05bf,_0x5bf755[_0x42bb9f(0x342)]=_0x194ae1,_0x5bf755[_0x42bb9f(0x1fc)]=_0x16fa93,_0x5bf755[_0x42bb9f(0x1a8)]=_0x4715f0,_0x5bf755[_0x42bb9f(0x173)]=_0x340d3f,_0x5bf755[_0x42bb9f(0x377)]=_0x26377e,_0x5bf755[_0x42bb9f(0x339)]=_0x12b36f,_0x5bf755['UpdatePivotFieldSourceInfoMutation']=_0x30ddcd,_0x5bf755[_0x42bb9f(0xc9)]=_0x228b3a,_0x5bf755['UpdatePivotTableSourceRangeMutation']=_0x1bc7f9,_0x5bf755[_0x42bb9f(0xc8)]=_0x51c029,_0x5bf755[_0x42bb9f(0x204)]=_0x1e7ed4,_0x5bf755[_0x42bb9f(0x2f3)]=_0x54d6ee,_0x5bf755[_0x42bb9f(0x21e)]=_0x15f38b,_0x5bf755[_0x42bb9f(0xb4)]=_0x1b6d0b,_0x5bf755['generateSetRangeValueMutations']=_0x274f21,_0x5bf755[_0x42bb9f(0x326)]=_0x2b2601,_0x5bf755['getEmptyPivotRanges']=_0x2a44bf,_0x5bf755['getFieldListByArea']=_0x12b438,_0x5bf755[_0x42bb9f(0x205)]=_0x3034a0,_0x5bf755['getPivotCellInfo']=_0x2bc413,_0x5bf755['getPivotInfoByLicense']=_0x52b3f8,_0x5bf755[_0x42bb9f(0x1ee)]=_0x5da254,_0x5bf755['transFromCellValue']=_0x2ee935,_0x5bf755['unionPivotViewRange']=_0x26ef08,Object[_0x42bb9f(0x221)](_0x5bf755,Symbol[_0x42bb9f(0x149)],{'value':_0x42bb9f(0x2cd)});}));