@univerjs-pro/sheets-pivot 0.13.0-insiders.20251220-0a5ea4d → 0.13.0-insiders.20251223-857805c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1bdb(){const _0x4ec143=['dataRangeInfo','removePivotField','valueFields','CommandType','complete','SetPivotPositionMutation','Optional','DisposableCollection','removeSourceRangeChange','getDataFieldByRangeKey','pivotTableId','NUMBER','PivotDataFieldDataTypeEnum','Module','_configService','unitId','_deleteModelCache','Quarter','adjustSheetCellData','getTextInfo','leftOffset','setValueFilterInfo','getPivotInfoByLicense','length','getMatrixValue','isDateGroupFieldJSON','data','getRowCount','UpdatePivotValuePositionCommand','reduce','getPivotDirtyViewInfo','DataField','getFullYear','Style','dimension','valid','SetPivotFilterCommand','_pivotTableInstanceCache','sheet.mutation.add-pivot-table','pageRanges','getDataFieldByTableId','getLastCol','getFieldIds','defaultThemeStyle','name','generateSetRangeValueMutations','isColMultiMeasure','registerRefRange','row','addFieldWithSourceId','colCount','SetPivotFieldFormatMutation','resetPivotTable','pivotMutationGenerate','GrandTotal','IUndoRedoService','LS_CONFIG_KEY','PivotDateGroupFieldDateTypeEnum','removePivotTable','getTextSize','UpdatePivotTableSourceRangeMutation','sheets-pivot.cellDateGroupDisplay.hour','getPivotDisplayConfig','panel','_textInfo','Existing','_onRefRangeChange','setCollapse','executeCommand','canUsePivot','getAdjustRangesPosition','setPivotSort','addExclusiveRange','_sheetsPivotDataSourceModel','asyncInterceptor','interceptCommand','_initConfig','isDateValue','_requestResolvers','applyChangeSet','RemovePivotFieldCommand','sheet.mutation.pivot-update-field-position','cornerRanges','RemovePivotField','@univerjs/sheets','sheets-pivot.cellDateGroupDisplay.hourMinute','startCollectChangeset','4YWlHaD','getDataFieldId','sequenceExecute','getPivotTableInstance','sortInfo','call','getFieldById','addPivotTableWithConfig','register','_subjectViewChange','sheet.mutation.rename-pivot-field','getPivotTableInfo','getPivotItemRenderInfoCache','collectionConfig','sheet.mutation.remove-pivot-field','Collapse','_configVersion$','SetPivotFilter','sheets-pivot.cellDateGroupDisplay.month','getSheetBySheetId','setDirty','rowHeaderMap','sheet.mutation.set-pivot-collapse','date','needSameDeleteModel','InsertSheetCommand','RemoveRowMutation','ObjectMatrix','getPivotCellInfo','_initPivotTextInfo','addCollectionByJSON','setConfig','SetFilterInfo','sheets-pivot.cellDateGroupDisplay.yearQuarter','getAutoDisplayName','_deletePivotTableInstanceCache','triggerDirtyFeature','_initCommandInterceptListener','getRangeKeyList','YearMonth','sheets-pivot.cellDateGroupDisplay.year','onQueryEnd','rowInfo','getViewData','type','sheet.command.set-pivot-sort','_initClearSelectionCommandInterceptor','col','RemoveSheetCommand','getColCount','Subtotal','removeValueFilterInfoByValueFieldId','_subjectFieldsCollectionChange','getDataFieldItemInfo','document','broadcastCollectionChange','IResourceManagerService','YearQuarter','SetPivotCollapseMutation','getMatrixFromRunTimeData','Column\x20','pluginName','excelDateToUnixMilliseconds','UpdateValuePositionMutation','_markDirty$','updateDirtyPivotTable','rangesInfo','getId','#1d32e9','_ensurePivotItemRenderValueMatrixCache','RemoveSheetsFilterMutation','RemovePivotFieldMutation','addPivotField','_featureCalculationManagerService','getFieldCountByArea','SetPivotTableConfig','updatePivotSource','createInterceptorKey','UniverProLicense','updateRangeKeyMap','sourceName','PivotCellStyleTypeEnum','rxjs','Delete','RefRangeService','Hour','sheet.command.move-pivot-table','concat','sheets-pivot.emptyPivot.column','DIV_BY_ZERO','SetFieldFormat','deleteField','getFieldPositionInfoById','SetPivotSortMutation','string','headerMap','_ensurePivotMap','getDisplayName','COLUMN','712438VflTaK','isErrorValue','_initDataSendListener','notExecuteFormula','find','6314uBTVqe','Value','limit\x20pivot','sheets-pivot.countNumsName','cellValue','#e6ebfb','pivotTableConfigs','DependentOn','colHeaderMap','_generateUniqueVersion','disposableCollection','function','sheets-pivot.stdDevName','sheet.mutation.add-group-collection','@univerjs/engine-render','symbol','Subject','handleMoveRange','SetPivotSetting','minDate','_viewData$','createAsyncInterceptorKey','addField','COMMAND','PivotFilterTypeEnum','getTargetByPivotTableId','UniverLicensePlugin','getMonth','valueFilter','updateView','Rectangle','PivotTableViewDirtyMarkOperation','_commandService','generateMutationsByRanges','@univerjs/rpc','RenamePivotFieldMutation','_getPivotAppliedRanges','getSheets','UpdateSource','getPivotTableMatrixInfo','_activeDirtyManagerService','setPivotCollapse','handleAsyncResponse','sheets-pivot.dateGroup.yearQuarter','sheets-pivot.productName','getFilterInfo','isBottomTotal','sheet.mutation.set-pivot-format','REF','10903840ccZlLd','getUnitId','createCollectionWithDataRange','sheet.command.add-pivot-table-with-config','AddPivotTable','setPivotSetting','getSheetBySheetName','_initLocale','interceptor','setDateType','NORMAL','ResetPivotTable','leafStyle','UpdateFieldPosition','getCellMatrix','#f4f4f5','sheet.mutation.get-pivot-data-local','updateRenderCache','sheet.command.pivot-drill-down','max','_initRegisterCommand','sheets-pivot.dateGroup.hour','subUnitId','Grand\x20Total','rowCount','registerPluginResource','getFormatInfo','getLastRow','SetWorksheetColWidthMutation','displayName','map','sheets-pivot.dateGroup.year','token','oldRangeInfo','valueIndex','setRange','sheet.mutation.pivot-update-value-position','getPivotTableConfig','value','getSubtotal','ptn','sheets-pivot.value','Product\x20of\x20','fieldId','rangeKey','updatePivotTableMatrixInfo','_initUnitDisposed','NotName','rgb(255,255,255)','DrillDown','UniverEngineRender','sheets-pivot.cellDateGroupDisplay.quarter','getOriginFieldId','registerCallbackWithEvent','_globalComputedEndHelpFunc','CELL_CONTENT','handleSourceRangeChange','params','_pivotTableRangeInfo','getTableFieldById','generateRandomId','exports','getformat','ClearSelectionContentCommand','sheets-pivot.cellDateGroupDisplay.yearMonth','collapseInfo','shouldClear','rgb(240,241,243)','_pivotInitCompleted$','getRefRangeMutationsByMoveRange','_dataFieldManagerCollection','MoveRangeMutation','sheet.command.add-pivot-field','PivotErrorTypeEnum','Count\x20of\x20','updateConfig','IUniverInstanceService','sheet.mutation.send-init-pivot-text-local','_init','isFeatureAuthorizedWithinTime','AddPivotTableWithConfigCommand','SheetsSelectionsService','getHeaderMapItem','size','sheet.command.set-pivot-fields-config','get','addCollection','unshift','setOptions','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','UniverCore','fromJSON','UpdateDateGroupCommand','Range','_sheetsPivotTableService','blank','_exclusiveRangeService','lastCol','getValueIndex','reset','unshiftString','sheet.command.set-pivot-value-filter','oldMatrix','_univerInstanceService','countNums','rowFields','values','getUpdateRangeDeleteIds','_host','prototype','UniverInstanceType','_globalComputedStartHelpFunc','NAME','SheetsPivotTableConfigModel','uniqueDataFieldName','SetValuePivotFilter','cornerStyle','SetPivotCollapseCommand','DateGroupField','pivotConfigChange$','updateViewInfo','getSheetCommandTarget','sheets-pivot.cellDateGroupDisplay.yearMonthDate','single','ΣValue','_sheetsPivotTableAdaptorModel','split','getValueFilterInfos','mergeWorksheetSnapshotWithDefault','PivotView','_ensurePivotTableMatrixInfo','width','_collectionConfigModel','_pivotRenderInfoCache','clearExclusiveRangesByGroupId','getSheetFeatureLimit','rangeKeyMap','isText','sheets-pivot.dateGroup.yearMonth','sheet.command.update-pivot-table-source-range','getFieldInfo','setPivotTableConfig','amd','IExclusiveRangeService','SetPivotSortCommand','setPivotFilter','realDeleteValue','refreshDataField','parseInt','addRecord','getSubUnitPivotMatrix','push','getPivotPerformCheck','#FFFFFF','#e6ebfa','_pivotTableMatrixInfo','registerDirtyService','count','iterateField','filter','disposeWithMe','generateNullCell','SetPivotSort','_viewUpdate$','sheet.mutation.send-pivot-data-local','keys','6eitWZE','UniverProSheetsPivot','SHEET_PIVOT_IN_MAIN_THREAD','stringify','updatePivotTableRangeInfo','dataFieldId','updateAllDisplayName','fields','paths','from','sourceRangeInfo','getSortInfo','pbt','@univerjs/sheets-filter','deleteUnitId','dispose','MovePivotTableCommand','setDataRecordCount','updateCollectionConfig','FieldsCollection','sheets-pivot.sumName','Minute','Add','slice','Month','sheet.mutation.remove-pivot-table','getRangeStartEndInfo','format','grandTotal','SetPivotOptionMutation','deepClone','getMatrix','_sheetsPivotRpcService','markDirty$','NUM','_collectionChange$','sheets-pivot.dateGroup.date','setFieldFormat','DataFieldManager','_updateModelCache','2422572bsMpNf','_globalSubject','isPrefixValue','add','sheet.mutation.set-pivot-option','sheets-pivot.columnName','intersects','query','sheets-pivot.emptyPivot.values','dataFieldManagerConfig','createLabelField','getPivotTableIdByCell','Panel','AsyncInterceptorManager','UniverProEnginePivot','MovePivotField','Var\x20of\x20','markDirty','onQueryStart','sheets-pivot.dateGroup.minute','_sheetInterceptorService','sheet.command.set-pivot-field-setting','error','custom','targetCellInfo','\x20-\x20','clear','_model','startColumn','fetchThroughInterceptors','includes','onCommandExecuted','_updateRenderEmptyCache','cellToRange','forValue','IConfigService','asObservable','getStyles','PivotDataFieldTypeEnum','result','sheets-pivot.varName','forEach','Values','Column','SheetsPivotTableAdaptorModel','SetPivotValueFilterMutation','1064evbdoT','merge','updateConfigCache','SetPivotValueFilterCommand','SetSubtotalType','fieldsCollectionChange$','None','Sum\x20of\x20','charCodeAt','getDataFieldBySourceName','sheets-pivot.cellDateGroupDisplay.minute','getFontStyleString','YearMonthDate','updateViewData','_dataSyncPrimaryController','sheetName','sheets-pivot.varpName','numfmt','FontCache','pushUndoRedo','_localeService','refreshData','matrix','measure','_sheetsSelectionsService','stdDevp','lastRow','PivotCallbackEnum','endColumn','floor','dataFieldsCollection','IActiveDirtyManagerService','updateFieldSourceInfo','filterId','transFromCellValue','toJSON','collectionChange$','sheet.operation.pivot-table-view-formula-mark-dirty','getRangeKey','batch','PivotTableFiledAreaEnum','sheet.command.reset-pivot-fields-config','Expand','BLANK_PLACEHOLDER','sheet.mutation.set-pivot-sort-info','setPivotInitCompleted','sheet.mutation.pivot-update-field-source-info','getUnit','PivotMultipleValueId','parse','sheets-pivot.blank','areaInfo','_createExclusiveRange','BehaviorSubject','collection','registerCommand','getSubUnitPivotRenderCache','_initPivotDataGetListener','intercept','isEmpty','SheetsPivotTableService','return\x20','registerSyncingMutations','getDataFieldByDataFieldId','UpdatePivotSource','getCellRaw','INTERCEPTOR_POINT','PivotTableValuePositionEnum','generateHexNumber','sheets-pivot.dateGroup.hourMinute','_fieldsCollectionChange$','NO_COMMERCIAL','InsertSheetMutation','getColumnCount','getTypeOfUnitDisposed$','Plugin','createValueField','Filter','SHEET_PIVOT_EXCLUSIVE_ID','collections','SHEET_PIVOT_TABLE_PLUGIN','GlobalConfig','_initGlobalComputed','PivotTable','subscribe','sheets-pivot.dateGroup.yearMonthDate','PivotTableOperationEnum','sheet.command.add-pivot-table','sheet.command.move-pivot-field','SheetInterceptorService','sheets-pivot.other','InsertSheetUndoMutationFactory','SetSheetsFilterRangeMutation','hasOwnProperty','AddPivotFieldMutation','getFormat','setRangeValueUndoMutation','colRanges','_refRangeService','some','info','workbook\x20is\x20not\x20found','fetchThroughAsyncInterceptors','column','sheet.command.set-pivot-filter','removeCollections','RANGE_TYPE','InterceptorManager','originalFieldId','setValuePivotFilter','CellValueType','_globalComputingSrv','tuple','_refRangeHandle','endCollectChangeset','getDate','remove','sheet.mutation.send-pivot-view-local','_queryingMap','InsertColMutation','dataFields','SheetsPivotDataSourceModel','originTargetInfo','rowRanges','sheet.mutation.remove-group-collection','DEFAULT_WORKSHEET_ROW_COUNT','ManualFilter','LocaleService','setRangeValueRedoMutation','RenameField','PivotDisplayDataType','other','getEmptyPivotRanges','Tools','deleteDataField','fieldIds','_toJSON','isValue','_injector','removeDataField','getDirtyInfo','_initRemoveSheetCommandInterceptor','drillDown','viewUpdate$','toStringTag','getValue','SetCollapse','PIVOT_MUTATION_GENERATE','addPivotTable','getFieldFormat','MonthDate','MAX_SAFE_INTEGER','body','_pivotRenderValueMatrixCache','getName','set','addDataFieldWithoutUnitInfo','setSubtotalType','@univerjs-pro/engine-pivot','removeField','iterateFieldByArea','sheets-pivot.minName','Disposable','SetPivotCollapse','1402655JJsoGX','getIntersects','setPivotTable','existing','setSortInfo','removeCollectionImp','sheet.mutation.update-pivot-table-source-range','Row','queryDirtyPivotTable','STRING','_initSnapshot','PivotViewCellValueTypeEnum','endRow','AddPivotField','_resourceManagerService','update','DEFAULT_PIVOT_NUMBER','sheet.mutation.update-date-group','getCollection','ErrorType','startRow','Average\x20of\x20','isBaseGroupField','Date','pivotInitCompleted$','getTargetByPivotId','getOwnPropertyDescriptor','tableFieldId','Inject','setRangeKeyMap','_viewData','movePivotField','rangeCache','fieldsConfig','Min\x20of\x20','setSourceName','defineProperty','setLabelFilterInfo','SheetsPivotRPCService','redos','UniverSheetsPivotTablePlugin','subtotal','6606693dNMLSr','sheets-pivot.subTotal','getConfig','AddPivotTableWithConfig','PivotDrillDownCommand','getCurrentSelections','#eceeff','setValue','initDataRanges','removeValueFilterInfo','Set','has','range','rangeType','options','createDataFieldId','filterInfo','sheets-pivot.emptyPivot.row','MoveRangeCommand','contains','getDataFieldManager','ICommandService','InsertRowMutation','MUTATION','_getAutoName','PivotSubtotalTypeEnum','new','AddPivotTableCommand','getPivotTableModelConfig','_sheetsPivotTableConfigModel','AddField','FORCE_STRING','sheets-pivot.countName','level','colInfo','getSubUnitPivotConfigs','getCurrentUnitForType','getAutoDisplayNameFunction','_ensureViewDataMap','random','fontRenderExtension','updateValuePosition','isDateGroupField','RemoveSheetMutation','getValuePosition','maxDate','splice','cornerInfo','sheets.tabs.sheet','CustomCommandExecutionError','getIndexesByPathStr','SetRangeValuesUndoMutationFactory','Injector','getSheetId','_subjectCollectionChange','min','ReleaseType','getRangeData','sheet.mutation.send-pivot-config-local','foreach','generateNewSheetName','HourMinute','getIntersectsPivotTable','next','entries','colStyle','getSourceName','InterceptorEffectEnum','undos','getPivotTableCellData','delete','versions','columnFields','872851PFxrbq','getFilterFieldIdByIndex','valuePosition','SetWorksheetActiveOperation','updateFieldPosition','setTextInfo','sheets-pivot.dateGroup.monthDate','substring','Varp\x20of\x20','pageStyle','_config','sum','_pivotConfigChange$','product','UNIVER_SHEET','RemoveColMutation','clearRenderCache','sheet.mutation.add-pivot-field','PivotTableChangeTypeEnum','getFieldDataType','_ensurePivotItemRenderInfoCache','formJSON','Year','sheet.command.update-pivot-value-position','addDirtyPivotTable','AddPivotFieldCommand','renameField','updateDataFieldsCollection','serializeRangeWithSpreadsheet','setName','getNoUsedDataFieldIds','getInsertRowColMutations','refreshGroupField','GlobalComputingStatusService','number','sheet.mutation.set-pivot-value-filter','subTotalStyle','UpdateValuePosition','pivotPerformCheck'];_0x1bdb=function(){return _0x4ec143;};return _0x1bdb();}function _0x1752(_0x3af277,_0x2fef55){_0x3af277=_0x3af277-0xcc;const _0x1bdb09=_0x1bdb();let _0x1752c5=_0x1bdb09[_0x3af277];return _0x1752c5;}(function(_0x349340,_0xb0ac1f){const _0x5a70b4=_0x1752,_0x2a0d83=_0x349340();while(!![]){try{const _0x31cf81=parseInt(_0x5a70b4(0x226))/0x1+parseInt(_0x5a70b4(0x307))/0x2+-parseInt(_0x5a70b4(0xe1))/0x3*(parseInt(_0x5a70b4(0x2a4))/0x4)+parseInt(_0x5a70b4(0x1b3))/0x5*(-parseInt(_0x5a70b4(0x3e3))/0x6)+-parseInt(_0x5a70b4(0x30c))/0x7*(-parseInt(_0x5a70b4(0x10f))/0x8)+-parseInt(_0x5a70b4(0x1dd))/0x9+parseInt(_0x5a70b4(0x33d))/0xa;if(_0x31cf81===_0xb0ac1f)break;else _0x2a0d83['push'](_0x2a0d83['shift']());}catch(_0x40d1dc){_0x2a0d83['push'](_0x2a0d83['shift']());}}}(_0x1bdb,0x96b48),function(_0x41b6d1,_0x55a163){const _0x20261c=_0x1752;typeof exports=='object'&&typeof module<'u'?_0x55a163(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==_0x20261c(0x317)&&define[_0x20261c(0x3cb)]?define([_0x20261c(0x37a),_0x20261c(0x1ad),'@univerjs/core','@univerjs/engine-formula',_0x20261c(0x2a1),_0x20261c(0x2f6),'@univerjs-pro/license',_0x20261c(0x3f0),_0x20261c(0x32e),_0x20261c(0x31a)],_0x55a163):(_0x41b6d1=typeof globalThis<'u'?globalThis:_0x41b6d1||self,_0x55a163(_0x41b6d1[_0x20261c(0x3e4)]={},_0x41b6d1[_0x20261c(0xef)],_0x41b6d1[_0x20261c(0x397)],_0x41b6d1['UniverEngineFormula'],_0x41b6d1['UniverSheets'],_0x41b6d1['rxjs'],_0x41b6d1[_0x20261c(0x2f2)],_0x41b6d1['UniverSheetsFilter'],_0x41b6d1['UniverRpc'],_0x41b6d1[_0x20261c(0x36f)]));}(this,function(_0x237829,_0x2d316f,_0x369ce1,_0xc627d4,_0x298fdb,_0x2c0848,_0x5b8945,_0xc31ffa,_0x247d91,_0x10fda7){'use strict';const _0x49f7c3=_0x1752;var _0x10d07b=Object['defineProperty'],_0x19fde4=(_0x5c1030,_0x5abefb,_0x2153ac)=>_0x5abefb in _0x5c1030?_0x10d07b(_0x5c1030,_0x5abefb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2153ac}):_0x5c1030[_0x5abefb]=_0x2153ac,_0x2a34b8=(_0x74609b,_0x26c6fd,_0x590779)=>_0x19fde4(_0x74609b,typeof _0x26c6fd!=_0x49f7c3(0x31b)?_0x26c6fd+'':_0x26c6fd,_0x590779);const _0x472e37=Number[_0x49f7c3(0x3d1)](0x6946533e),_0x2acfa5=0x10,_0x2b5880=0x1,_0x294572=_0x49f7c3(0x15f),_0x523b9d=0x1,_0x28f456=_0x49f7c3(0x380),_0x225987=_0x49f7c3(0x36d),_0x2b9891='#b2b2b2',_0x100021=_0x49f7c3(0x34c),_0xb9a485=_0x49f7c3(0x34c),_0x4d7a4c=_0x49f7c3(0x1e3),_0x1dc249=_0x49f7c3(0x2e8),_0x4f3d87='#FFFFFF',_0x39c1eb=_0x49f7c3(0x3d7),_0x5bd890=_0x49f7c3(0x2e8),_0x3a7e2b=_0x49f7c3(0x3d6),_0x131141=_0x49f7c3(0x311),_0x213fa6=0xe,_0x110b83=0x6;var _0x5055e3=(_0x1ffaa=>(_0x1ffaa[_0x49f7c3(0x28e)]=_0x49f7c3(0x1b6),_0x1ffaa['New']=_0x49f7c3(0x1f7),_0x1ffaa))(_0x5055e3||{});const _0x5a6c8d={'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':''}}},_0x3a6b24=0x1e,_0x1e53e5={'b':{'s':0x1,'cl':{'rgb':_0x2b9891}},'l':{'s':0x1,'cl':{'rgb':_0x2b9891}},'r':{'s':0x1,'cl':{'rgb':_0x2b9891}},'t':{'s':0x1,'cl':{'rgb':_0x2b9891}}},_0x4ae871={'bg':{'rgb':_0x28f456},'ht':0x2,'vt':0x2,'tb':0x1},_0x53c1e0={'bg':{'rgb':_0x225987},'ht':0x2,'vt':0x2,'tb':0x1},_0x47e2f1={'rowStyle':{'bg':{'rgb':_0x131141},'bd':_0x1e53e5,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5bd890},'bd':null,'cl':{'rgb':_0x3a7e2b},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x39c1eb},'vt':0x2},'cornerStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x4d7a4c},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x100021},'vt':0x2},'leafStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0xb9a485},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1dc249},'cl':{'rgb':_0x4f3d87},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1e53e5,'vt':0x2}};function _0x2ce820(_0x42318d,_0x5e2e96,_0x16bbf3){const _0x5376e6=_0x49f7c3,_0x43afe6=_0x42318d[_0x5376e6(0x392)](_0x369ce1[_0x5376e6(0x18e)]),_0x37a833=_0x16bbf3[_0x5376e6(0x3bb)]('_');switch(_0x5e2e96){case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x23c)]:return _0x43afe6['t'](_0x5376e6(0x2cc),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0xce)]:return _0x43afe6['t'](_0x5376e6(0x119),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2f9)]:return _0x43afe6['t'](_0x5376e6(0x28a),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x21a)]:return _0x43afe6['t'](_0x5376e6(0x2a2),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x1ca)]:return _0x43afe6['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0xd1)]:return _0x43afe6['t'](_0x5376e6(0x2b6),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x25e)]:return _0x43afe6['t'](_0x5376e6(0x370),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2cb)]:return _0x43afe6['t'](_0x5376e6(0x37d),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x11b)]:return _0x43afe6['t'](_0x5376e6(0x3b7),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2dd)]:return _0x43afe6['t'](_0x5376e6(0x2c5),..._0x37a833);}return'';}const _0x27d01c=(_0x189a03,_0x2d1c2a,_0x22948b,_0x545d2b)=>{const _0x39b717=_0x49f7c3;let _0xb41804;const _0x343b72=_0x189a03[_0x39b717(0x392)](_0x369ce1[_0x39b717(0x389)])[_0x39b717(0x201)](_0x369ce1[_0x39b717(0x3ab)]['UNIVER_SHEET']);if(!_0x343b72)return null;const _0x25c738=_0x343b72[_0x39b717(0x106)]();let _0x13eb8e;if(_0x22948b&&(_0x13eb8e=_0x25c738['setValue'](_0x22948b)),_0x2d1c2a!=null&&_0x2d1c2a['v']||(_0x2d1c2a==null?void 0x0:_0x2d1c2a['v'])===0x0){_0xb41804||(_0xb41804={});const _0x3f057e=_0x2f79f7(_0x2d1c2a['v']);typeof _0x3f057e=='number'?_0xb41804['t']=_0x369ce1[_0x39b717(0x17d)][_0x39b717(0x258)]:typeof _0x3f057e==_0x39b717(0x302)&&(_0xb41804['t']=_0x369ce1[_0x39b717(0x17d)][_0x39b717(0x1bc)]),_0xb41804['v']=_0x3f057e;}if((_0x2d1c2a!=null&&_0x2d1c2a['i']||(_0x2d1c2a==null?void 0x0:_0x2d1c2a['i'])===0x0)&&(_0xb41804||(_0xb41804={}),_0xb41804['fi']=_0x2d1c2a['i']),_0x2d1c2a!=null&&_0x2d1c2a['s']&&(_0xb41804||(_0xb41804={}),_0xb41804[_0x39b717(0x3ef)]=_0x2d1c2a['s']),_0x22948b&&(_0xb41804||(_0xb41804={}),_0xb41804['s']=_0x13eb8e),_0x545d2b&&_0xb41804!=null&&_0xb41804['v']&&_0xb41804[_0x39b717(0x3ef)]!==_0x2d316f[_0x39b717(0x2f5)][_0x39b717(0x283)]&&_0xb41804[_0x39b717(0x3ef)]!==_0x2d316f[_0x39b717(0x2f5)][_0x39b717(0x2d6)]){const _0x21e862=String(_0xb41804['v']),{dateType:_0x1a8f7a}=_0x545d2b;_0xb41804['v']=_0x2ce820(_0x189a03,_0x1a8f7a,_0x21e862),_0xb41804['t']=_0x369ce1['CellValueType'][_0x39b717(0x1bc)];}return _0xb41804;},_0x2df028=(_0x204ab5,_0x61a771,_0x49b28f,_0x31b373)=>{const _0x44d44c=_0x49f7c3;var _0x4d71e7,_0x19b431,_0x4f3495,_0x2b5255,_0x490d0a,_0x536386,_0x24f473,_0x27efe4,_0x440111,_0x22cf77,_0xd866e8,_0x5983f9,_0x3fdcf9,_0x5c09c6;const _0x944b06=_0x49b28f[_0x44d44c(0xf9)],{cornerView:_0x3eafbb,rowView:_0x4de4ce,colView:_0x3a4250,dataView:_0x37b8c8,pageView:_0x5eeb01,formatMap:_0x24863d,groupInfo:_0xfe8ef4}=_0x61a771,{row:_0x1b92c0,col:_0x231d06}=_0x944b06,_0x38e739=new _0x369ce1['ObjectMatrix'](),_0x55b296={},_0x5b5320={},_0x302c48={},_0x8be537={},_0x1bd1d4={};let _0x3b7e45=_0x1b92c0,_0x2902fd=_0x231d06;Object[_0x44d44c(0x3e2)](_0x5eeb01[_0x44d44c(0x267)])[_0x44d44c(0x10a)](_0x32a0c8=>{const _0xc602bd=_0x44d44c;Object[_0xc602bd(0x3e2)](_0x5eeb01[_0xc602bd(0x267)][Number(_0x32a0c8)])['forEach'](_0x5054da=>{const _0x34f654=_0xc602bd,_0x4b6f83={..._0x5eeb01['data'][Number(_0x32a0c8)][Number(_0x5054da)]};_0x38e739['setValue'](Number(_0x32a0c8)+_0x3b7e45,Number(_0x5054da)+_0x2902fd,_0x27d01c(_0x204ab5,_0x4b6f83,_0x47e2f1[_0x34f654(0x22f)]));});});const _0x16bb52=Object[_0x44d44c(0x3e2)](_0x5eeb01['data'])[_0x44d44c(0x264)];_0x3b7e45+=_0x16bb52+(_0x16bb52?_0x523b9d:0x0);const _0x24b6cb=_0x3eafbb[_0x44d44c(0x268)](),_0x24f0d7=_0x3eafbb[_0x44d44c(0x2d5)]();for(let _0x4a08d9=0x0;_0x4a08d9<_0x24b6cb;_0x4a08d9++)for(let _0x37ebc1=0x0;_0x37ebc1<_0x24f0d7;_0x37ebc1++){const _0x6cba86={...(_0x19b431=(_0x4d71e7=_0x3eafbb[_0x44d44c(0x267)])==null?void 0x0:_0x4d71e7[_0x4a08d9])==null?void 0x0:_0x19b431[_0x37ebc1]};_0x6cba86&&((_0x4f3495=_0x4de4ce['headerMap'][_0x37ebc1])!=null&&_0x4f3495['isValue'])&&_0x37ebc1===_0x24f0d7-0x1&&_0x4a08d9===_0x24b6cb-0x1&&(_0x6cba86['v']=''+_0x31b373['sheets-pivot.value']),_0x38e739['setValue'](_0x4a08d9+_0x3b7e45,_0x37ebc1+_0x2902fd,_0x27d01c(_0x204ab5,_0x6cba86,_0x47e2f1[_0x44d44c(0x3b1)]));}for(let _0x2aa07f=0x0;_0x2aa07f<_0x3eafbb[_0x44d44c(0x173)][_0x44d44c(0x264)];_0x2aa07f++)_0x3eafbb['info'][_0x2aa07f]&&(_0x302c48[''+(_0x2aa07f+_0x2902fd)]=_0x3eafbb[_0x44d44c(0x173)][_0x2aa07f]);_0x2902fd+=_0x24f0d7;const _0x16c6e9=_0x3a4250['headerMap'],_0x46ea9d=_0x3a4250[_0x44d44c(0x358)]()>=0x0?_0x3a4250[_0x44d44c(0x358)]()+0x1:0x0,_0x5ca9ec=_0x3a4250[_0x44d44c(0x276)]()>=0x0?_0x3a4250[_0x44d44c(0x276)]()+0x1:0x0;for(let _0x5f4f02=0x0;_0x5f4f02<_0x5ca9ec;_0x5f4f02++){for(let _0x351e56=0x0;_0x351e56<_0x46ea9d;_0x351e56++){const _0x15466c={...(_0x490d0a=(_0x2b5255=_0x3a4250['data'])==null?void 0x0:_0x2b5255[_0x351e56])==null?void 0x0:_0x490d0a[_0x5f4f02]},_0x25c664=(_0x536386=_0x16c6e9[_0x351e56])==null?void 0x0:_0x536386['tableFieldId'],_0x5c4079=_0x24863d[_0x25c664],_0x2ce2c1=_0xfe8ef4[_0x25c664];_0x15466c&&(_0x15466c['v']=_0x5bb57f(_0x15466c,_0x351e56===0x0&&((_0x24f473=_0x3a4250[_0x44d44c(0x38f)](_0x5f4f02+0x1))==null?void 0x0:_0x24f473[_0x44d44c(0x198)]),_0x5c4079,_0x31b373));let _0x595895;_0x5c4079?_0x595895={..._0x47e2f1[_0x44d44c(0x21e)],'n':{'pattern':_0x5c4079}}:_0x595895={..._0x47e2f1[_0x44d44c(0x21e)]},_0x38e739[_0x44d44c(0x1e4)](_0x351e56+_0x3b7e45,_0x5f4f02+_0x2902fd,_0x27d01c(_0x204ab5,_0x15466c,_0x595895,_0x2ce2c1));}_0x3a4250[_0x44d44c(0x173)][_0x5f4f02]&&(_0x5b5320[''+(_0x5f4f02+_0x2902fd)]=_0x3a4250['info'][_0x5f4f02]),_0x3a4250[_0x44d44c(0x303)][_0x5f4f02+0x1]&&(_0x1bd1d4[''+(_0x5f4f02+_0x3b7e45+0x1)]=_0x3a4250[_0x44d44c(0x303)][_0x5f4f02+0x1]);}_0x3b7e45+=_0x24b6cb;const _0x467c3f=_0x4de4ce[_0x44d44c(0x303)],_0x1e9c8d=_0x4de4ce['getLastRow']()>=0x0?_0x4de4ce['getLastRow']()+0x1:0x0,_0x28f582=_0x4de4ce['getLastCol']()>=0x0?_0x4de4ce[_0x44d44c(0x276)]()+0x1:0x0;for(let _0x57aebf=0x0;_0x57aebf<_0x1e9c8d;_0x57aebf++){for(let _0x45d7f5=0x0;_0x45d7f5<_0x28f582;_0x45d7f5++){const _0x13497d={...(_0x440111=(_0x27efe4=_0x4de4ce[_0x44d44c(0x267)])==null?void 0x0:_0x27efe4[_0x57aebf])==null?void 0x0:_0x440111[_0x45d7f5]},_0x3f4ab5=(_0x22cf77=_0x467c3f[_0x45d7f5])==null?void 0x0:_0x22cf77['tableFieldId'],_0x5c1f64=_0x24863d[_0x3f4ab5],_0x507bb4=_0xfe8ef4[_0x3f4ab5];_0x13497d&&(_0x13497d['v']=_0x5bb57f(_0x13497d,!0x1,_0x5c1f64,_0x31b373));let _0x4e442e;_0x4de4ce[_0x44d44c(0x173)][_0x57aebf][_0x44d44c(0x1fe)]===_0x4de4ce['getColCount']()?_0x4e442e=_0x47e2f1[_0x44d44c(0x349)]:_0x4de4ce[_0x44d44c(0x173)][_0x57aebf][_0x44d44c(0x33a)]?_0x4e442e=_0x4de4ce['info'][_0x57aebf][_0x44d44c(0x1fe)]===0x0?_0x47e2f1[_0x44d44c(0xd5)]:_0x47e2f1['subTotalStyle']:_0x4e442e=_0x47e2f1['rowStyle'],_0x5c1f64&&(_0x4e442e={..._0x4e442e,'n':{'pattern':_0x5c1f64}}),_0x38e739[_0x44d44c(0x1e4)](_0x57aebf+_0x3b7e45,_0x45d7f5+_0x231d06,_0x27d01c(_0x204ab5,_0x13497d,_0x4e442e,_0x507bb4));}_0x4de4ce[_0x44d44c(0x173)][_0x57aebf]&&(_0x55b296[''+(_0x57aebf+_0x3b7e45)]=_0x4de4ce[_0x44d44c(0x173)][_0x57aebf]),_0x4de4ce['headerMap'][_0x57aebf]&&(_0x8be537[''+(_0x57aebf+_0x231d06)]=_0x4de4ce['headerMap'][_0x57aebf]);}const _0x28fd30=_0x37b8c8['getRowCount'](),_0x5f5739=_0x37b8c8[_0x44d44c(0x2d5)]();for(let _0x30e2d3=0x0;_0x30e2d3<_0x28fd30;_0x30e2d3++)for(let _0x3caaa5=0x0;_0x3caaa5<_0x5f5739;_0x3caaa5++){const _0x1a6e33={...(_0x5983f9=(_0xd866e8=_0x37b8c8[_0x44d44c(0x267)])==null?void 0x0:_0xd866e8[_0x30e2d3])==null?void 0x0:_0x5983f9[_0x3caaa5]};let _0x2b288c;_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x33a)]?_0x2b288c=_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x1fe)]===0x0?_0x47e2f1[_0x44d44c(0xd5)]:_0x47e2f1[_0x44d44c(0x24a)]:_0x2b288c=_0x47e2f1['dataStyle'];const _0x577ef8=_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x35f)],_0x27b9ee=_0x3a4250[_0x44d44c(0x173)][_0x3caaa5][_0x44d44c(0x35f)],_0x18e246=Math['max'](_0x577ef8,_0x27b9ee),_0x6411c=_0x49b28f[_0x44d44c(0x1d4)][_0x44d44c(0x24f)][_0x44d44c(0x2fb)]();let _0x288178='';_0x18e246<0x0?_0x288178=(_0x3fdcf9=_0x6411c[0x0])!=null?_0x3fdcf9:'':_0x288178=(_0x5c09c6=_0x6411c[_0x18e246])!=null?_0x5c09c6:'';const _0x2bd98f=_0x24863d[_0x288178];_0x2bd98f&&(_0x2b288c={..._0x2b288c,'n':{'pattern':_0x2bd98f}}),_0x38e739[_0x44d44c(0x1e4)](_0x30e2d3+_0x3b7e45,_0x3caaa5+_0x2902fd,_0x27d01c(_0x204ab5,_0x1a6e33,_0x2b288c));}return{'valueMatrix':_0x38e739,'rowInfo':_0x55b296,'colInfo':_0x5b5320,'cornerInfo':_0x302c48,'rowHeaderMap':_0x8be537,'colHeaderMap':_0x1bd1d4};};function _0x5bb57f(_0x29f4a6,_0x3bed26,_0x270e63,_0x36837a){const _0x554e68=_0x49f7c3;let _0x298691=_0x29f4a6['v'];_0x3bed26&&(_0x298691=''+_0x36837a['sheets-pivot.value']);const _0x568d5e=_0x29f4a6['t']&&(_0x29f4a6['t']&_0x2d316f[_0x554e68(0x1be)][_0x554e68(0x39c)])>0x0;_0x568d5e&&(_0x298691=''+_0x36837a[_0x554e68(0x141)]);const _0x2f72bf=_0x29f4a6['t']&&(_0x29f4a6['t']&_0x2d316f[_0x554e68(0x1be)][_0x554e68(0x192)])>0x0;if(_0x2f72bf&&(_0x298691=''+_0x36837a[_0x554e68(0x169)]),_0x29f4a6['s']===_0x2d316f[_0x554e68(0x2f5)][_0x554e68(0x2d6)]){let _0x4acadb=_0x298691,_0x1d0971='';_0x2d316f[_0x554e68(0xe3)](_0x298691)&&(_0x4acadb=_0x298691['prefix'],_0x1d0971=_0x298691[_0x554e68(0x363)]);const _0x51cf0d=_0x270e63&&!_0x568d5e&&!_0x2f72bf?_0x369ce1['numfmt'][_0x554e68(0xd4)](_0x270e63,Number(_0x4acadb)):_0x4acadb;_0x1d0971?_0x298691=_0x51cf0d+'\x20'+_0x1d0971:_0x298691=_0x51cf0d+'\x20'+_0x36837a[_0x554e68(0x1de)];}else _0x29f4a6['s']===_0x2d316f[_0x554e68(0x2f5)][_0x554e68(0x283)]&&(_0x298691=_0x298691+'\x20'+_0x36837a['sheets-pivot.grandTotal']);return _0x298691;}function _0x2f79f7(_0x3e39a8){const _0x23afb2=_0x49f7c3;if(_0x2d316f[_0x23afb2(0x308)](_0x3e39a8)){const {errorType:_0x4c8846}=_0x3e39a8;switch(_0x4c8846){case _0x2d316f['PivotErrorTypeEnum']['Div0']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x2fd)];case _0x2d316f[_0x23afb2(0x386)]['NotNumber']:return _0xc627d4['ErrorType'][_0x23afb2(0xdb)];case _0x2d316f[_0x23afb2(0x386)]['NotFunction']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x3ad)];case _0x2d316f[_0x23afb2(0x386)][_0x23afb2(0x36c)]:return _0xc627d4['ErrorType'][_0x23afb2(0x3ad)];case _0x2d316f[_0x23afb2(0x386)]['BadReference']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x33c)];}}return _0x3e39a8;}function _0x485549(_0x2eb936,_0x325870,_0x58e114=!0x1,_0x2c9443=!0x1){const _0x8b2d59=_0x49f7c3,{data:_0xf4ca7d}=_0x325870,_0x4e14ae=_0x325870['getRowCount'](),_0x3563c4=_0x325870[_0x8b2d59(0x2d5)]();if(_0x4e14ae<=0x0||_0x3563c4<=0x0)return[];const _0x5cf29f=_0x325870[_0x8b2d59(0x276)](),_0x59809b=_0x325870['getLastRow'](),_0x28d6ae=_0x2c9443?_0x59809b>=0x0?_0x59809b+0x1:0x0:_0x4e14ae,_0x1c2fa7=_0x2c9443?_0x5cf29f>=0x0?_0x5cf29f+0x1:0x0:_0x3563c4,{row:_0x1a4b3b,col:_0x38c0d1}=_0x2eb936,_0x285bc5=_0x1a4b3b,_0x5112e3=_0x38c0d1;if(_0x58e114){const _0x17fe60=[];for(const [_0x4da873,_0x4431e7]of Object[_0x8b2d59(0x21d)](_0xf4ca7d))for(const [_0x179bb8,_0x12b0a5]of Object['entries'](_0x4431e7))_0x17fe60['push'](_0x369ce1[_0x8b2d59(0x102)](_0x285bc5+Number(_0x4da873),_0x5112e3+Number(_0x179bb8)));return _0x17fe60;}else{const _0xef6e21=_0x2c9443?_0x28d6ae>0x0?0x1:0x0:0x1,_0x20c59a=_0x2c9443?_0x1c2fa7>0x0?0x1:0x0:0x1,_0x3debfe=_0x1a4b3b+_0x28d6ae-_0xef6e21,_0x2c0c61=_0x38c0d1+_0x1c2fa7-_0x20c59a;return[{'startRow':_0x285bc5,'startColumn':_0x5112e3,'endRow':_0x3debfe,'endColumn':_0x2c0c61}];}}const _0x2884f3=_0x49f7c3(0x3e5),_0x4b1e68=_0x49f7c3(0x15d);var _0x2b63fe=(_0x59c453=>(_0x59c453[_0x49f7c3(0x15c)]='filter',_0x59c453[_0x49f7c3(0xed)]='panel',_0x59c453[_0x49f7c3(0x1c0)]=_0x49f7c3(0x2ec),_0x59c453[_0x49f7c3(0x1e0)]=_0x49f7c3(0x1e0),_0x59c453[_0x49f7c3(0x341)]=_0x49f7c3(0x1a3),_0x59c453[_0x49f7c3(0xf0)]=_0x49f7c3(0x1d2),_0x59c453[_0x49f7c3(0x2a0)]='removePivotField',_0x59c453[_0x49f7c3(0x1b2)]=_0x49f7c3(0x335),_0x59c453['SetPivotFilter']=_0x49f7c3(0x3ce),_0x59c453['SetPivotSort']=_0x49f7c3(0x294),_0x59c453[_0x49f7c3(0x31e)]=_0x49f7c3(0x342),_0x59c453[_0x49f7c3(0x14f)]=_0x49f7c3(0x2f0),_0x59c453[_0x49f7c3(0x24b)]=_0x49f7c3(0x206),_0x59c453[_0x49f7c3(0x36e)]=_0x49f7c3(0x19d),_0x59c453['SetValuePivotFilter']='setValuePivotFilter',_0x59c453[_0x49f7c3(0x2ef)]=_0x49f7c3(0x3ca),_0x59c453['ResetPivotTable']=_0x49f7c3(0x281),_0x59c453))(_0x2b63fe||{});const _0x3cc296={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x49f7c3(0x2e0),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x49f7c3(0x354),'sheets-pivot.valueText':_0x49f7c3(0x30d),'sheets-pivot.averageName':_0x49f7c3(0x1c8),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x49f7c3(0x387),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x49f7c3(0x1d5),'sheets-pivot.productName':_0x49f7c3(0x367),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x49f7c3(0x116),'sheets-pivot.varName':_0x49f7c3(0xf1),'sheets-pivot.varpName':_0x49f7c3(0x22e),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x49f7c3(0x39c),'sheets-pivot.other':_0x49f7c3(0x192),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x49f7c3(0x1ba),'sheets-pivot.emptyPivot.column':_0x49f7c3(0x10c),'sheets-pivot.emptyPivot.values':_0x49f7c3(0x10b)},_0x29b80a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2f016b=_0x369ce1[_0x49f7c3(0x321)](_0x49f7c3(0x24c)),_0x54cb75=_0x369ce1[_0x49f7c3(0x2f1)](_0x49f7c3(0x282));var _0x39e953=(_0x32903f=>(_0x32903f[_0x49f7c3(0xe4)]=_0x49f7c3(0xe4),_0x32903f[_0x49f7c3(0x223)]=_0x49f7c3(0x223),_0x32903f[_0x49f7c3(0x1c2)]=_0x49f7c3(0x1c2),_0x32903f))(_0x39e953||{}),_0x48b491=(_0x42825a=>(_0x42825a['Add']=_0x49f7c3(0xe4),_0x42825a[_0x49f7c3(0x1e7)]='set',_0x42825a[_0x49f7c3(0x2f7)]=_0x49f7c3(0x223),_0x42825a))(_0x48b491||{});const _0x1fefb9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x34d),'handler':()=>!0x0},_0x234ed3={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x3e1),'handler':()=>!0x0},_0x48cc23={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x184),'handler':()=>!0x0},_0x4c6758={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x217),'handler':()=>!0x0},_0x59c387={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x38a),'handler':()=>!0x0};var _0x1bfd04=Object['getOwnPropertyDescriptor'],_0x1e589c=(_0x27e7cb,_0x3ea48e,_0x18973e,_0x4c8e67)=>{const _0x37e922=_0x49f7c3;for(var _0x2a3189=_0x4c8e67>0x1?void 0x0:_0x4c8e67?_0x1bfd04(_0x3ea48e,_0x18973e):_0x3ea48e,_0x1cf413=_0x27e7cb[_0x37e922(0x264)]-0x1,_0x30bf59;_0x1cf413>=0x0;_0x1cf413--)(_0x30bf59=_0x27e7cb[_0x1cf413])&&(_0x2a3189=_0x30bf59(_0x2a3189)||_0x2a3189);return _0x2a3189;},_0x5bed2a=(_0x578020,_0x1a4f03)=>(_0x2e60bd,_0x29f3ce)=>_0x1a4f03(_0x2e60bd,_0x29f3ce,_0x578020);_0x237829[_0x49f7c3(0x1d9)]=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x3e5917){const _0x292665=_0x49f7c3;super(),_0x2a34b8(this,_0x292665(0x29b),new Map()),this[_0x292665(0x32c)]=_0x3e5917;}[_0x49f7c3(0x336)](_0x499bfb){const _0x3a36f5=_0x49f7c3,{version:_0x410f12}=_0x499bfb,_0x45d830=this[_0x3a36f5(0x29b)][_0x3a36f5(0x392)](_0x410f12);_0x45d830&&(_0x45d830(_0x499bfb),this[_0x3a36f5(0x29b)]['delete'](_0x410f12));}[_0x49f7c3(0x28b)](_0x4fae55){return new Promise((_0x119bf1,_0x40f71c)=>{const _0x21b13c=_0x1752,_0x283e4a=this[_0x21b13c(0x315)]();this[_0x21b13c(0x29b)][_0x21b13c(0x1aa)](_0x283e4a,_0x119bf1),this[_0x21b13c(0x32c)][_0x21b13c(0x291)](_0x1fefb9['id'],{'version':_0x283e4a,..._0x4fae55},{'onlyLocal':!0x0});});}[_0x49f7c3(0x315)](){const _0x115395=_0x49f7c3;return Math[_0x115395(0x204)]()['toString'](0x24)[_0x115395(0x22d)](0x2,0x10);}},_0x237829['SheetsPivotRPCService']=_0x1e589c([_0x5bed2a(0x0,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x1f2)]))],_0x237829[_0x49f7c3(0x1d9)]);const _0x34f2f0={0x0:'P',0x1:'9',0x2:'q',0x3:'M',0x4:'b',0x5:'z',0x6:'p',0x7:'m',0x8:'r',0x9:'v','h':'0','L':'1','j':'2','d':'3','m':'4','M':'5','u':'6','F':'7','Y':'8','z':'a','e':'c','S':'d','y':'e','I':'f','G':'g','c':'h','E':'i','R':'j','X':'k','Q':'l','q':'n','W':'o','Z':'s','T':'t','s':'u','v':'w','x':'x','n':'y','N':'A','A':'B','O':'C','o':'D','r':'E','J':'F','i':'G','w':'H','P':'I','a':'J','D':'K','C':'L','g':'N','K':'O','B':'Q','t':'R','H':'S','U':'T','f':'U','p':'V','l':'W','b':'X','V':'Y','k':'Z'},_0x2d686b='/*\x20yZQEqT-SEZz4Qy\x2068yIy8-Ty76QzTy\x20*/IsqeTEWq\x20Sye8n6TEWq(QEeyqZy,\x206s4QEeDyn)\x20{\x20\x20\x20\x20T8n\x20{\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20QEeyqZyPqIW0z8TN88zn\x20=\x20QEeyqZy.Z6QET(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20W8EGEq3yZZzGy\x20=\x20aHKg.6z8Zy(zTW4(QEeyqZyPqIW0z8TN88zn[j]));\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(!W8EGEq3yZZzGy.sS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20W8EGEq3yZZzGy.sS\x20=\x20gs74y8(QEeyqZyPqIW0z8TN88zn[m]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20EZlW8Xy8\x20=\x20Tn6yWI\x20lW8Xy8iQW4zQHeW6y\x20!==\x20\x27sqSyIEqyS\x27\x20&&\x20ZyQI\x20EqZTzqeyWI\x20lW8Xy8iQW4zQHeW6y;\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20EZA8WvZy8\x20=\x20Tn6yWI\x20vEqSWv\x20!==\x20\x27sqSyIEqyS\x27\x20&&\x20Tn6yWI\x20vEqSWv.QWezTEWq\x20!==\x20\x27sqSyIEqyS\x27;\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20eWqTyxT\x20=\x20EZlW8Xy8\x20?\x20ZyQI\x20:\x20(EZA8WvZy8\x20?\x20vEqSWv\x20:\x20GQW4zQUcEZ);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x207yZZzGylW8S\x20=\x20eWqTyxT.__AzZyum__.6z8Zy(QEeyqZyPqIW0z8TN88zn[j]);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x207yZZzGy\x20=\x20eWqTyxT.__wyx__.ZT8EqGEIn(7yZZzGylW8S);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqzTs8ylW8S\x20=\x20eWqTyxT.__AzZyum__.6z8Zy(QEeyqZyPqIW0z8TN88zn[d]);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqzTs8y\x20=\x20eWqTyxT.__wyx__.ZT8EqGEIn(ZEGqzTs8ylW8S);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqpzQES\x20=\x20eWqTyxT.__9y8EIn__(ZEGqzTs8y,\x207yZZzGy,\x206s4QEeDyn);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20SW7zEq\x20=\x20W8EGEq3yZZzGy.S7;\x20\x20\x20\x20\x20\x20\x20\x20IsqeTEWq\x20EZoW7zEq3zTecEqG(6zTTy8q,\x20cWZT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(6zTTy8q\x20===\x20cWZT)\x208yTs8q\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(6zTTy8q.ZTz8TZlETc(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZsIIEx\x20=\x206zTTy8q.ZQEey(j);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(ZsIIEx\x20&&\x20!cWZT.ZTz8TZlETc(\x27.\x27)\x20&&\x20cWZT\x20!==\x20ZsIIEx\x20&&\x20cWZT.yqSZlETc(\x27.\x27\x20+\x20ZsIIEx))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20IzQZy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QyT\x20SW7zEqpzQES\x20=\x20IzQZy;\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(EZA8WvZy8)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20(SW7zEq\x20&&\x20SW7zEq.QyqGTc)\x20?\x20SW7zEq.ZW7y((S7PTy7)\x20=>\x20EZoW7zEq3zTecEqG(S7PTy7,\x20QWezTEWq.cWZTqz7y))\x20:\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(QWezTEWq.cWZTqz7y\x20===\x20\x27QWezQcWZT\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20yQZy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x209zQES\x20=\x20ZEGqpzQES\x20&&\x20SW7zEqpzQES;\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209zQES,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207yZZzGy:\x20W8EGEq3yZZzGy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ezTec\x20(y88W8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209zQES:\x20IzQZy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207yZZzGy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x25ea37=_0x5ea2d1=>{const _0x19e82d=_0x49f7c3;var _0x2311ca;return((_0x2311ca=_0x5ea2d1[_0x19e82d(0x1a7)])==null?void 0x0:_0x2311ca['dataStream']['replace'](/\r\n$/,''))||'';};class _0x442a76 extends _0x2d316f[_0x49f7c3(0xdf)]{constructor(_0x6f82b1,_0x6f6ae1){const _0x490cde=_0x49f7c3;super(),_0x2a34b8(this,_0x490cde(0x3c5),{}),_0x2a34b8(this,'_univerInstanceService'),_0x2a34b8(this,_0x490cde(0x3a9)),(this[_0x490cde(0x3a4)]=_0x6f6ae1,this['_host']=_0x6f82b1);}[_0x49f7c3(0x1e5)](){const _0x11a882=_0x49f7c3;for(const _0x25110c in this['dataFields']){const _0x379dc0=this[_0x11a882(0x187)][_0x25110c],_0x830b03=_0x379dc0[_0x11a882(0x135)]();this[_0x11a882(0x3c5)][_0x830b03]=_0x379dc0[_0x11a882(0x2e7)]();}}[_0x49f7c3(0x202)](){const _0x4f7a3e=this['_host'];return _0x505ded['bind'](_0x4f7a3e);}[_0x49f7c3(0x195)](_0x44166b){const _0x6fe5dc=_0x49f7c3,_0x2acdbe=this[_0x6fe5dc(0x187)][_0x44166b][_0x6fe5dc(0x369)];delete this[_0x6fe5dc(0x187)][_0x44166b],delete this[_0x6fe5dc(0x3c5)][_0x2acdbe];}[_0x49f7c3(0x1ab)](_0x5330d0){const _0x167327=_0x49f7c3;this[_0x167327(0x187)][_0x5330d0[_0x167327(0x2e7)]()]=_0x5330d0;}['removeCollectionImp'](_0x26a7d9){const _0x1ab94a=_0x49f7c3;var _0x1d676f,_0xa40b56;const _0x363a33=this[_0x1ab94a(0x3a9)][_0x1ab94a(0x1cc)](_0x26a7d9);if(_0x363a33){const {unitId:_0x46524f,subUnitId:_0x54411b}=_0x363a33,_0x8089a4=(_0x1d676f=this['_host'][_0x1ab94a(0x362)](_0x46524f,_0x54411b,_0x26a7d9))==null?void 0x0:_0x1d676f[_0x1ab94a(0x3ed)];this[_0x1ab94a(0x3a9)][_0x1ab94a(0x2db)]({'token':_0x26a7d9,'type':_0x39e953[_0x1ab94a(0x223)],'dataRangeInfo':_0x8089a4});}(_0xa40b56=this[_0x1ab94a(0x1c5)](_0x26a7d9))==null||_0xa40b56[_0x1ab94a(0x3f2)](),delete this[_0x1ab94a(0x15e)][_0x26a7d9];}[_0x49f7c3(0x135)](_0x93fb3e,_0x3056eb){const _0x22834d=_0x49f7c3,{sheetName:_0x72a853,unitId:_0x52532c,range:_0x2e0f2d}=_0x93fb3e,{startRow:_0x1d57a3,endRow:_0x556e76}=_0x2e0f2d;return _0xc627d4[_0x22834d(0x242)](_0x52532c,_0x72a853,{'startRow':_0x1d57a3,'endRow':_0x556e76,'startColumn':_0x3056eb,'endColumn':_0x3056eb});}[_0x49f7c3(0x256)](_0x3f1bc4){const _0x1f4618=_0x49f7c3;return this['dataFields'][this[_0x1f4618(0x3c5)][_0x3f1bc4]];}[_0x49f7c3(0x1d0)](_0x597502,_0xe7e7c6){const _0x3c0eb7=_0x49f7c3;this[_0x3c0eb7(0x3c5)][_0x597502]=_0xe7e7c6;}[_0x49f7c3(0x2f3)](_0x372d1e,_0x4de6ff){const _0x183ca1=_0x49f7c3;this[_0x183ca1(0x3c5)][_0x4de6ff]=this[_0x183ca1(0x3c5)][_0x372d1e],delete this[_0x183ca1(0x3c5)][_0x372d1e];}['addCollectionByJSON'](_0x1ecae0,_0x297ea9,_0x2182aa,_0x581b5e){const _0x11db77=_0x49f7c3,_0x4280df=new _0x2d316f[(_0x11db77(0xcc))](this);_0x4280df[_0x11db77(0x398)](_0x297ea9);const _0x5e04c8=[];let _0x16665c=0x0;for(const _0x1e9409 of _0x4280df[_0x11db77(0x196)]){const _0x5229f6=this[_0x11db77(0x135)](_0x2182aa,_0x16665c),_0x1e5480=this[_0x11db77(0x187)][_0x1e9409];_0x1e5480&&(_0x1e5480['rangeKey']=_0x5229f6,this[_0x11db77(0x1d0)](_0x5229f6,_0x1e9409),_0x5e04c8[_0x11db77(0x3d4)]({'index':_0x16665c,'dataField':_0x1e5480})),_0x16665c++;}return this[_0x11db77(0x393)](_0x1ecae0,_0x4280df,_0x2182aa,_0x581b5e),{'collection':_0x4280df,'updateDataFieldList':_0x5e04c8};}[_0x49f7c3(0xd3)](_0x3859b1,_0x4a6d8c){const _0x2cf7f6=_0x49f7c3;return _0x3859b1['rangeType']===_0x369ce1[_0x2cf7f6(0x179)][_0x2cf7f6(0x306)]?{'startRow':0x0,'startColumn':_0x3859b1[_0x2cf7f6(0xfd)],'endRow':_0x4a6d8c[_0x2cf7f6(0x268)]()-0x1,'endColumn':_0x3859b1[_0x2cf7f6(0x12b)]}:{'startRow':_0x3859b1[_0x2cf7f6(0x1c7)],'startColumn':_0x3859b1[_0x2cf7f6(0xfd)],'endRow':_0x3859b1[_0x2cf7f6(0x1bf)],'endColumn':_0x3859b1['endColumn']};}[_0x49f7c3(0x33f)](_0x19917d){const _0x37b840=_0x49f7c3,{sheetName:_0xae6130,range:_0x50c047}=_0x19917d,_0x3fa9de=this[_0x37b840(0x3a4)][_0x37b840(0x201)](_0x369ce1['UniverInstanceType'][_0x37b840(0x234)]),_0x4163dc=_0x3fa9de[_0x37b840(0x343)](_0xae6130),_0x142ca2=_0x4163dc[_0x37b840(0x34b)](),{startColumn:_0x45da3e,startRow:_0x50b21b,endColumn:_0x1a5f0d}=this[_0x37b840(0xd3)](_0x50c047,_0x4163dc),_0x36c1e6=_0x3fa9de[_0x37b840(0x106)](),_0x2c208c=new _0x2d316f['FieldsCollection'](this);_0x2c208c[_0x37b840(0x360)](_0x19917d);const _0x3228bc=[],_0xe7012={};for(let _0x7ff8aa=_0x45da3e;_0x7ff8aa<=_0x1a5f0d;_0x7ff8aa++){const _0x728af=_0x142ca2['getValue'](_0x50b21b,_0x7ff8aa),_0x55ea0a=this[_0x37b840(0x135)](_0x19917d,_0x7ff8aa),_0x35931f=this[_0x37b840(0x256)](_0x55ea0a);if(_0x35931f)_0x2c208c[_0x37b840(0x322)](_0x35931f[_0x37b840(0x2e7)](),_0x35931f[_0x37b840(0x1a9)]());else{const _0x5ad920=this[_0x37b840(0x1ec)]();let _0xc4606a=this['adjustSheetCellData'](_0x728af,_0x36c1e6,_0xe7012);_0x2d316f[_0x37b840(0x29a)](_0xc4606a)&&(_0xc4606a=_0x369ce1[_0x37b840(0x120)][_0x37b840(0xd4)](_0xc4606a['f'],Number(_0xc4606a['v'])));const _0x4e89bc=this[_0x37b840(0x3af)](_0xc4606a,_0x7ff8aa),_0x2b5493=new _0x2d316f[(_0x37b840(0x26c))](_0x5ad920,_0x4e89bc,_0x2d316f[_0x37b840(0x153)](0x3));_0x2b5493[_0x37b840(0x369)]=_0x55ea0a,this['dataFields'][_0x5ad920]=_0x2b5493,_0x2c208c['addField'](_0x5ad920,_0x4e89bc),_0x3228bc[_0x37b840(0x3d4)]({'index':_0x7ff8aa,'dataField':_0x2b5493});}}return{'updateDataFieldList':_0x3228bc,'collection':_0x2c208c};}[_0x49f7c3(0x1f5)](_0x5c3277){const _0x3e80cb=_0x49f7c3;return this[_0x3e80cb(0x3a9)][_0x3e80cb(0x260)]()[_0x3e80cb(0xe6)]+'\x20'+_0x369ce1['numberToABC'](_0x5c3277);}[_0x49f7c3(0x3af)](_0x41c4cf,_0x2ad861){const _0x4912d1=_0x49f7c3;return _0x41c4cf==null||_0x41c4cf===''?this[_0x4912d1(0x1f5)](_0x2ad861):String(_0x41c4cf);}[_0x49f7c3(0x1c5)](_0x59547a){const _0x1308a9=_0x49f7c3;return this[_0x1308a9(0x15e)][_0x59547a];}[_0x49f7c3(0x393)](_0x4cee99,_0x52957b,_0x4114ac,_0x596b07){const _0x125dd2=_0x49f7c3;this[_0x125dd2(0x15e)][_0x4cee99]=_0x52957b,_0x52957b[_0x125dd2(0x360)](_0x4114ac),this[_0x125dd2(0x3a9)]['broadcastCollectionChange']({'token':_0x4cee99,'type':_0x39e953['add'],'dataRangeInfo':_0x4114ac,'targetCellInfo':_0x596b07});}['handleMoveRange'](_0x318266,_0x3f94e5){const _0xbb6484=_0x49f7c3,_0x19c491=this[_0xbb6484(0x1c5)](_0x318266),_0x199c94=_0x19c491[_0xbb6484(0x277)]();let _0x4e7fa7=0x0;for(const _0x21d5e4 of _0x199c94){const _0x3a877d=_0x19c491[_0xbb6484(0x2aa)](_0x21d5e4),_0x22d79e=this['getRangeKey'](_0x3f94e5,_0x4e7fa7);this[_0xbb6484(0x2f3)](_0x3a877d[_0xbb6484(0x369)],_0x22d79e),_0x4e7fa7++;}}[_0x49f7c3(0x26b)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4f7da7,_0x28124b){const _0x1144d3=_0x49f7c3;if(this[_0x1144d3(0x1c5)](_0x4f7da7)){const _0x42a788=this['getRangeKeyList'](_0x28124b),_0x350e5c=[];for(const _0x4ca7c4 of _0x42a788)this['rangeKeyMap'][_0x4ca7c4]!==void 0x0&&_0x350e5c['push'](this[_0x1144d3(0x3c5)][_0x4ca7c4]);const _0xed98ba=this[_0x1144d3(0x244)](_0x4f7da7),_0x30c57a=[],_0x396832=new Set(_0x350e5c);for(const _0x2e5ba2 of _0xed98ba)_0x396832[_0x1144d3(0x1e8)](_0x2e5ba2)||_0x30c57a['push'](_0x2e5ba2);return _0x30c57a;}}[_0x49f7c3(0x265)](_0x430853,_0x2dea9b,_0x499339,_0x3f1a28,_0x3e110a){const _0x41fe19=_0x49f7c3;return _0x2dea9b&&_0x2dea9b[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a)?_0x2dea9b[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a):_0x499339&&_0x499339[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a)?_0x499339[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a):_0x430853[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a);}[_0x49f7c3(0x3d0)](_0x718369,_0x371768,_0x42b4cf,_0x6bb7ef){const _0x8aa303=_0x49f7c3,_0x12cbd1=this[_0x8aa303(0x187)][_0x718369];if(!_0x12cbd1)return;const {subUnitId:_0x395005,range:_0x3882f1,unitId:_0x53f54c}=_0x371768,_0x45b4d3=this[_0x8aa303(0x3a4)][_0x8aa303(0x13e)](_0x53f54c);if(!_0x45b4d3){console[_0x8aa303(0xf7)](_0x8aa303(0x174));return;}const _0x5085f2=_0x45b4d3[_0x8aa303(0x2b7)](_0x395005),_0x508b52=_0x5085f2[_0x8aa303(0x34b)](),{arrayFormulaCellDataMatrix:_0x586a44,unitDataMatrix:_0x19c38d}=_0x6bb7ef||{},{startRow:_0x2f842e,startColumn:_0xa74e49,endRow:_0x4e09f4}=this[_0x8aa303(0xd3)](_0x3882f1,_0x5085f2);_0x12cbd1['reset']();const _0x14c4ca=_0x45b4d3[_0x8aa303(0x106)](),_0x24507e={},_0x1c0264=this[_0x8aa303(0x265)](_0x508b52,_0x586a44,_0x19c38d,_0x2f842e,_0xa74e49+_0x42b4cf);let _0xe6712e=this[_0x8aa303(0x25f)](_0x1c0264,_0x14c4ca,_0x24507e);_0x2d316f[_0x8aa303(0x29a)](_0xe6712e)&&(_0xe6712e=_0x369ce1[_0x8aa303(0x120)]['format'](_0xe6712e['f'],Number(_0xe6712e['v'])));const _0x15aff3=this[_0x8aa303(0x3af)](_0xe6712e,_0xa74e49+_0x42b4cf);_0x12cbd1[_0x8aa303(0x243)](_0x15aff3);for(let _0x28ea7f=_0x2f842e+0x1;_0x28ea7f<=_0x4e09f4;_0x28ea7f++){const _0x5f4553=this['getMatrixValue'](_0x508b52,_0x586a44,_0x19c38d,_0x28ea7f,_0xa74e49+_0x42b4cf);_0x12cbd1[_0x8aa303(0x3d2)](this[_0x8aa303(0x25f)](_0x5f4553,_0x14c4ca,_0x24507e),_0x28ea7f-0x1-_0x2f842e);}}['refreshData'](_0x471ea7,_0x57f9bb,_0xb1a547){const _0xf4794=_0x49f7c3,{subUnitId:_0x430018,range:_0x826a8f,unitId:_0x2e4f15}=_0xb1a547,_0x3dc407=this[_0xf4794(0x3a4)][_0xf4794(0x13e)](_0x2e4f15);if(!_0x3dc407){console['error']('workbook\x20is\x20not\x20found');return;}const _0x5ef26b=_0x3dc407[_0xf4794(0x2b7)](_0x430018),_0x56bb66=_0x5ef26b[_0xf4794(0x34b)](),{startRow:_0x51f23c,startColumn:_0x5518e2,endRow:_0x17ed89}=this['getRangeStartEndInfo'](_0x826a8f,_0x5ef26b),_0x3aad99=_0x3dc407[_0xf4794(0x106)](),_0x1b01fe={};for(const {dataField:_0x432ddc,index:_0x3077a6}of _0x57f9bb){_0x432ddc[_0xf4794(0x3a0)]();const _0x3404c3=this[_0xf4794(0x265)](_0x56bb66,void 0x0,void 0x0,_0x51f23c,_0x5518e2+_0x3077a6);let _0x1e3c59=this[_0xf4794(0x25f)](_0x3404c3,_0x3aad99,_0x1b01fe);_0x2d316f[_0xf4794(0x29a)](_0x1e3c59)&&(_0x1e3c59=_0x369ce1[_0xf4794(0x120)][_0xf4794(0xd4)](_0x1e3c59['f'],Number(_0x1e3c59['v'])));const _0x2ad07d=this['uniqueDataFieldName'](_0x1e3c59,_0x5518e2+_0x3077a6);_0x432ddc[_0xf4794(0x243)](_0x2ad07d);}_0x471ea7[_0xf4794(0x3e9)]();for(let _0x1898c5=_0x51f23c+0x1;_0x1898c5<=_0x17ed89;_0x1898c5++)for(const {index:_0x4d9519,dataField:_0x339f56}of _0x57f9bb){const _0x4745c7=_0x56bb66[_0xf4794(0x1a0)](_0x1898c5,_0x5518e2+_0x4d9519);_0x339f56['addRecord'](this[_0xf4794(0x25f)](_0x4745c7,_0x3aad99,_0x1b01fe),_0x1898c5-0x1-_0x51f23c);}_0x471ea7[_0xf4794(0x3f4)](_0x17ed89-_0x51f23c);}[_0x49f7c3(0x2ca)](_0x29bd58){const _0xdbfc7b=_0x49f7c3,{range:_0xe56f47}=_0x29bd58,{startColumn:_0x4c0e33,endColumn:_0x2acabc}=_0xe56f47,_0x118be5=[];for(let _0x2338db=_0x4c0e33;_0x2338db<=_0x2acabc;_0x2338db++)_0x118be5[_0xdbfc7b(0x3d4)](this['getRangeKey'](_0x29bd58,_0x2338db));return _0x118be5;}[_0x49f7c3(0x25f)](_0x4f8816,_0x534335,_0x3ddc06){const _0x1a1eb1=_0x49f7c3;if(_0x4f8816){const {s:_0x498bf9,v:_0x30ad09,t:_0x1ce8f6,p:_0x482c9a}=_0x4f8816;if(_0x482c9a)return _0x25ea37(_0x482c9a);const _0x20a8c1=_0x534335[_0x1a1eb1(0x392)](_0x498bf9);if(_0x20a8c1&&_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x258)]&&_0x20a8c1['n']){const {pattern:_0x5d82b1}=_0x20a8c1['n'];_0x3ddc06[_0x5d82b1]||(_0x3ddc06[_0x5d82b1]=_0x369ce1[_0x1a1eb1(0x120)][_0x1a1eb1(0x357)](_0x5d82b1));const _0x39fbc6=_0x3ddc06[_0x5d82b1],_0xfaeaea=_0x39fbc6['isDate'];if(_0x39fbc6[_0x1a1eb1(0x3c6)])return String(_0x30ad09);if(_0xfaeaea)return{'v':_0x30ad09,'f':_0x5d82b1};}if(_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x258)])return Number(_0x30ad09);if(_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x1bc)]||_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x1fc)])return String(_0x30ad09);if(_0x1ce8f6===void 0x0){const _0x52c5b4=Number(_0x30ad09);if(!Number['isNaN'](_0x52c5b4)&&String(_0x52c5b4)===_0x30ad09)return _0x52c5b4;}return _0x30ad09!=null?_0x30ad09:null;}else return null;}[_0x49f7c3(0x216)](_0x4ad205){const _0x5cff2a=_0x49f7c3,{sheetName:_0x50b79e,range:_0x4865f9,unitId:_0x307ad6}=_0x4ad205,_0x2aac1f=this[_0x5cff2a(0x3a4)][_0x5cff2a(0x13e)](_0x307ad6);if(!_0x2aac1f)return console['error'](_0x5cff2a(0x174)),{'header':[],'data':[]};const _0xde604d=_0x2aac1f[_0x5cff2a(0x343)](_0x50b79e),_0x1c4b04=_0xde604d['getCellMatrix'](),{startRow:_0x23f69f,startColumn:_0x7eeeda,endRow:_0x24d829,endColumn:_0xae60f1}=this[_0x5cff2a(0xd3)](_0x4865f9,_0xde604d),_0x5af974=_0x2aac1f[_0x5cff2a(0x106)](),_0x2b5cde=[],_0x45e4ef=[],_0x21ef7d={};for(let _0x914aef=_0x23f69f;_0x914aef<=_0x24d829;_0x914aef++){const _0x3fd26c=[];for(let _0x4193ea=_0x7eeeda;_0x4193ea<=_0xae60f1;_0x4193ea++){const _0x51eeec=_0x1c4b04[_0x5cff2a(0x1a0)](_0x914aef,_0x4193ea);_0x914aef===_0x23f69f?_0x2b5cde[_0x5cff2a(0x3d4)](_0x51eeec==null?null:String(_0x51eeec['v'])):_0x3fd26c[_0x5cff2a(0x3d4)](this[_0x5cff2a(0x25f)](_0x51eeec,_0x5af974,_0x21ef7d));}_0x45e4ef['push'](_0x3fd26c);}return{'header':_0x2b5cde,'data':_0x45e4ef};}[_0x49f7c3(0x132)](){const _0x1886ea=_0x49f7c3;return super[_0x1886ea(0x132)]();}[_0x49f7c3(0x398)](_0x13e939){const _0x4a6a9f=_0x49f7c3;super[_0x4a6a9f(0x398)](_0x13e939),this[_0x4a6a9f(0x1e5)]();}[_0x49f7c3(0x3f2)](){const _0x199d94=_0x49f7c3;super[_0x199d94(0x3f2)](),this[_0x199d94(0x3c5)]={},this[_0x199d94(0x3a9)]=null;}}const _0x3e0562=_0x373dc6=>{const _0x3d11f0=_0x49f7c3,{targetCellInfo:_0x22a891}=_0x373dc6,{matrixCache:_0x5cee87,rangesCache:_0x110e5b}=_0x322dd5({'filter':_0x3d11f0(0x15c),'row':_0x3d11f0(0x1ba),'column':_0x3d11f0(0x10c),'values':'Values'},_0x22a891),_0xfb3c87=new _0x369ce1[(_0x3d11f0(0x2bf))]();return _0x5cee87[_0x3d11f0(0x103)]((_0x2e9029,_0x34b29f,_0xaaf49b)=>{_0xfb3c87['setValue'](_0x2e9029,_0x34b29f,_0xaaf49b);}),{'matrix':_0xfb3c87,'rangesCache':_0x110e5b};},_0x29d601=_0xc50f8f=>{const _0x561b9b=_0x49f7c3;let _0x7bb7bc;if(_0xc50f8f!=null&&_0xc50f8f['v']||(_0xc50f8f==null?void 0x0:_0xc50f8f['v'])===0x0){_0x7bb7bc||(_0x7bb7bc={});const _0x3df7a6=_0x2f79f7(_0xc50f8f['v']);typeof _0x3df7a6=='number'?_0x7bb7bc['t']=_0x369ce1[_0x561b9b(0x17d)][_0x561b9b(0x258)]:typeof _0x3df7a6==_0x561b9b(0x302)&&(_0x7bb7bc['t']=_0x369ce1[_0x561b9b(0x17d)]['STRING']),_0x7bb7bc['v']=_0x3df7a6;}return _0x7bb7bc;},_0x5b0f11=(_0x191f8b,_0x1fbc1e,_0x3acd37)=>{const _0x443c8f=_0x49f7c3;var _0x49afc2,_0x269c83,_0x3c89aa,_0x1e6e57,_0x5188b5,_0x581732,_0x43f486,_0x303ed8,_0x5c460d,_0x303559,_0x4ed647,_0x2c7ccb;const {cornerView:_0x7b77a5,rowView:_0x4fb2d4,colView:_0x201767,dataView:_0x8f7851,pageView:_0x6aa1e7,formatMap:_0x391774}=_0x191f8b,{row:_0xc1e386,col:_0x4b0486}=_0x1fbc1e,_0x5ed028=new _0x369ce1[(_0x443c8f(0x2bf))]();let _0x35f2e4=_0xc1e386,_0xcd6104=_0x4b0486;Object[_0x443c8f(0x3e2)](_0x6aa1e7[_0x443c8f(0x267)])[_0x443c8f(0x10a)](_0x2dbf06=>{const _0x23264f=_0x443c8f;Object['keys'](_0x6aa1e7['data'][Number(_0x2dbf06)])[_0x23264f(0x10a)](_0x4db38c=>{const _0x473c63=_0x23264f,_0x191ffd={..._0x6aa1e7[_0x473c63(0x267)][Number(_0x2dbf06)][Number(_0x4db38c)]};_0x5ed028[_0x473c63(0x1e4)](Number(_0x2dbf06)+_0x35f2e4,Number(_0x4db38c)+_0xcd6104,_0x29d601(_0x191ffd));});});const _0x4be70d=Object[_0x443c8f(0x3e2)](_0x6aa1e7[_0x443c8f(0x267)])[_0x443c8f(0x264)];_0x35f2e4+=_0x4be70d+(_0x4be70d?_0x523b9d:0x0);const _0x49d945=_0x7b77a5[_0x443c8f(0x268)](),_0x5ecbf0=_0x7b77a5[_0x443c8f(0x2d5)]();for(let _0x586a0e=0x0;_0x586a0e<_0x49d945;_0x586a0e++)for(let _0x38ac52=0x0;_0x38ac52<_0x5ecbf0;_0x38ac52++){const _0x188b87={...(_0x269c83=(_0x49afc2=_0x7b77a5[_0x443c8f(0x267)])==null?void 0x0:_0x49afc2[_0x586a0e])==null?void 0x0:_0x269c83[_0x38ac52]};_0x188b87&&((_0x3c89aa=_0x4fb2d4['headerMap'][_0x38ac52])!=null&&_0x3c89aa['isValue'])&&_0x38ac52===_0x5ecbf0-0x1&&_0x586a0e===_0x49d945-0x1&&(_0x188b87['v']=''+_0x3acd37[_0x443c8f(0x366)]),_0x5ed028[_0x443c8f(0x1e4)](_0x586a0e+_0x35f2e4,_0x38ac52+_0xcd6104,_0x29d601(_0x188b87));}_0xcd6104+=_0x5ecbf0;const _0x1a7155=_0x201767[_0x443c8f(0x303)],_0x54af1d=_0x201767[_0x443c8f(0x358)]()>=0x0?_0x201767['getLastRow']()+0x1:0x0,_0x154ee9=_0x201767['getLastCol']()>=0x0?_0x201767[_0x443c8f(0x276)]()+0x1:0x0;for(let _0xcebc4a=0x0;_0xcebc4a<_0x154ee9;_0xcebc4a++)for(let _0x3f26f8=0x0;_0x3f26f8<_0x54af1d;_0x3f26f8++){const _0x3569be={...(_0x5188b5=(_0x1e6e57=_0x201767[_0x443c8f(0x267)])==null?void 0x0:_0x1e6e57[_0xcebc4a])==null?void 0x0:_0x5188b5[_0x3f26f8]},_0x10dce3=(_0x581732=_0x1a7155[_0xcebc4a])==null?void 0x0:_0x581732[_0x443c8f(0x1ce)],_0x5713c7=_0x391774[_0x10dce3];_0x3569be&&(_0x3569be['v']=_0x5bb57f(_0x3569be,_0xcebc4a===0x0&&((_0x43f486=_0x201767['getHeaderMapItem'](_0x3f26f8+0x1))==null?void 0x0:_0x43f486[_0x443c8f(0x198)]),_0x5713c7,_0x3acd37)),_0x5ed028[_0x443c8f(0x1e4)](_0xcebc4a+_0x35f2e4,_0x3f26f8+_0xcd6104,_0x29d601(_0x3569be));}_0x35f2e4+=_0x49d945;const _0x3c311b=_0x4fb2d4[_0x443c8f(0x303)],_0x1b3dcb=_0x4fb2d4[_0x443c8f(0x358)]()>=0x0?_0x4fb2d4[_0x443c8f(0x358)]()+0x1:0x0,_0x35f631=_0x4fb2d4['getLastCol']()>=0x0?_0x4fb2d4['getLastCol']()+0x1:0x0;for(let _0x46d180=0x0;_0x46d180<_0x1b3dcb;_0x46d180++)for(let _0x11d657=0x0;_0x11d657<_0x35f631;_0x11d657++){const _0x51cee7={...(_0x5c460d=(_0x303ed8=_0x4fb2d4[_0x443c8f(0x267)])==null?void 0x0:_0x303ed8[_0x46d180])==null?void 0x0:_0x5c460d[_0x11d657]},_0x316aac=(_0x303559=_0x3c311b[_0x11d657])==null?void 0x0:_0x303559[_0x443c8f(0x1ce)],_0x11451d=_0x391774[_0x316aac];_0x51cee7&&(_0x51cee7['v']=_0x5bb57f(_0x51cee7,!0x1,_0x11451d,_0x3acd37)),_0x5ed028[_0x443c8f(0x1e4)](_0x46d180+_0x35f2e4,_0x11d657+_0x4b0486,_0x29d601(_0x51cee7));}const _0x24f1af=_0x8f7851['getRowCount'](),_0x56b05b=_0x8f7851[_0x443c8f(0x2d5)]();for(let _0x44c288=0x0;_0x44c288<_0x24f1af;_0x44c288++)for(let _0x254a0a=0x0;_0x254a0a<_0x56b05b;_0x254a0a++){const _0xa05445={...(_0x2c7ccb=(_0x4ed647=_0x8f7851['data'])==null?void 0x0:_0x4ed647[_0x44c288])==null?void 0x0:_0x2c7ccb[_0x254a0a]};_0x5ed028[_0x443c8f(0x1e4)](_0x44c288+_0x35f2e4,_0x254a0a+_0xcd6104,_0x29d601(_0xa05445));}return _0x5ed028;},_0x10d1a0=_0x191ceb=>{const _0x51d2ad=_0x49f7c3,{view:_0x32b722,targetCellInfo:_0x21c6dd,isEmpty:_0x4aca77,textInfo:_0x10a279}=_0x191ceb;if(_0x4aca77)return _0x3e0562(_0x191ceb);const {pageView:_0x19f860,cornerView:_0x5a8625,rowView:_0x3b6975,colView:_0x6ca4fa,dataView:_0x32007f}=_0x32b722,_0x1d49a0=_0x485549(_0x21c6dd,_0x19f860,!0x0),_0x86fb2e=_0x19f860['lastRow']>=0x0?_0x19f860[_0x51d2ad(0x129)]+0x1:0x0,_0x3ed56b=_0x5a8625['getRowCount'](),_0x195efe=_0x5a8625[_0x51d2ad(0x2d5)](),_0xf11320=_0x1d49a0[_0x51d2ad(0x264)]>0x0?_0x523b9d:0x0,_0x2eccfb=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320,'col':_0x21c6dd[_0x51d2ad(0x2d3)]},_0x5a8625,!0x1,!0x1),_0x19057e=_0x485549({'row':_0x21c6dd['row']+_0x86fb2e+_0xf11320+_0x3ed56b,'col':_0x21c6dd[_0x51d2ad(0x2d3)]},_0x3b6975,!0x1,!0x0),_0x36ef83=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320,'col':_0x21c6dd[_0x51d2ad(0x2d3)]+_0x195efe},_0x6ca4fa,!0x1,!0x0),_0x483c63=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320+_0x3ed56b,'col':_0x21c6dd[_0x51d2ad(0x2d3)]+_0x195efe},_0x32007f,!0x1,!0x1),_0x8bcc20={'rowRanges':_0x19057e,'colRanges':_0x36ef83,'cornerRanges':_0x2eccfb,'dataRanges':_0x483c63,'pageRanges':_0x1d49a0};return{'matrix':_0x5b0f11(_0x32b722,_0x21c6dd,_0x10a279),'rangesCache':_0x8bcc20};};var _0x3dd2e9=Object['getOwnPropertyDescriptor'],_0x52b4c1=(_0x179ae1,_0x282806,_0x59f3dc,_0x191165)=>{const _0x1f5582=_0x49f7c3;for(var _0x34f55a=_0x191165>0x1?void 0x0:_0x191165?_0x3dd2e9(_0x282806,_0x59f3dc):_0x282806,_0x2a90e1=_0x179ae1[_0x1f5582(0x264)]-0x1,_0x458549;_0x2a90e1>=0x0;_0x2a90e1--)(_0x458549=_0x179ae1[_0x2a90e1])&&(_0x34f55a=_0x458549(_0x34f55a)||_0x34f55a);return _0x34f55a;},_0x571b71=(_0x6bc388,_0x1c7cc0)=>(_0x49ca20,_0x2f8273)=>_0x1c7cc0(_0x49ca20,_0x2f8273,_0x6bc388);_0x237829[_0x49f7c3(0x188)]=class extends _0x369ce1['Disposable']{constructor(_0x285bfd,_0x3739d2,_0x55d0e9,_0x1ae26f,_0x4e0110){const _0x460422=_0x49f7c3;super(),_0x2a34b8(this,'_model',new Map()),_0x2a34b8(this,_0x460422(0x272),new Map()),_0x2a34b8(this,_0x460422(0x1d1),new Map()),_0x2a34b8(this,_0x460422(0x28d)),_0x2a34b8(this,_0x460422(0xdc),new _0x2c0848[(_0x460422(0x31c))]()),_0x2a34b8(this,_0x460422(0x133),this['_collectionChange$'][_0x460422(0x105)]()),_0x2a34b8(this,'_viewData$',new _0x2c0848['Subject']()),_0x2a34b8(this,'viewData$',this[_0x460422(0x320)][_0x460422(0x105)]()),_0x2a34b8(this,'_fieldsCollectionChange$',new _0x2c0848[(_0x460422(0x31c))]()),_0x2a34b8(this,_0x460422(0x114),this['_fieldsCollectionChange$'][_0x460422(0x105)]()),_0x2a34b8(this,_0x460422(0x383),new Map()),_0x2a34b8(this,_0x460422(0x2bc),[]),_0x2a34b8(this,'_queryingMap',new Map()),(this[_0x460422(0x199)]=_0x285bfd,this['_univerInstanceService']=_0x3739d2,this['_lifecycleService']=_0x55d0e9,this[_0x460422(0x32c)]=_0x1ae26f,this[_0x460422(0x1c1)]=_0x4e0110,this['_initSnapshot']());}[_0x49f7c3(0x260)](){const _0x16ffe7=_0x49f7c3;return this[_0x16ffe7(0x28d)]?this[_0x16ffe7(0x28d)]:_0x3cc296;}[_0x49f7c3(0x22b)](_0x3a2c38){const _0x44f57c=_0x49f7c3;this[_0x44f57c(0x28d)]=_0x3a2c38;}[_0x49f7c3(0x31d)](_0x23f627){const _0x5981c9=_0x49f7c3;var _0x28dc24;const {from:_0xb11b56,to:_0x538142,unitId:_0x3748e1,fromRange:_0x163fc2,toRange:_0xe48df7}=_0x23f627;if(_0xb11b56&&_0x538142){const _0x15acba=this[_0x5981c9(0x1f1)](_0x3748e1),_0x55aea2=this[_0x5981c9(0xfc)][_0x5981c9(0x392)](_0x3748e1),_0x49234a=(_0x28dc24=this['_univerInstanceService'][_0x5981c9(0x13e)](_0x3748e1))==null?void 0x0:_0x28dc24[_0x5981c9(0x2b7)](_0x538142[_0x5981c9(0x353)]);if(!_0x55aea2||!_0x49234a)return;const _0x2f3d81=_0x49234a==null?void 0x0:_0x49234a[_0x5981c9(0x1a9)]();for(const [_0xa1e39,_0x584e3e]of _0x55aea2[_0x5981c9(0x21d)]())for(const [_0x2b9b02,_0x2e3cb2]of _0x584e3e[_0x5981c9(0x21d)]()){const {sourceRangeInfo:_0x5ab63b}=_0x2e3cb2;if(_0x5ab63b['unitId']===_0x3748e1&&_0x5ab63b[_0x5981c9(0x353)]===_0xb11b56[_0x5981c9(0x353)]&&_0x369ce1['Rectangle'][_0x5981c9(0x1f0)](_0x163fc2,_0x5ab63b['range'])){const _0x4df26b={'row':_0x5ab63b['range'][_0x5981c9(0x1c7)]-_0x163fc2['startRow'],'col':_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0xfd)]-_0x163fc2[_0x5981c9(0xfd)]},_0x186817={'unitId':_0x3748e1,'subUnitId':_0x538142[_0x5981c9(0x353)],'sheetName':_0x2f3d81,'range':{'startRow':_0xe48df7['startRow']+_0x4df26b[_0x5981c9(0x27d)],'endRow':_0xe48df7[_0x5981c9(0x1c7)]+_0x4df26b[_0x5981c9(0x27d)]+_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x1bf)]-_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x1c7)],'startColumn':_0xe48df7[_0x5981c9(0xfd)]+_0x4df26b[_0x5981c9(0x2d3)],'endColumn':_0xe48df7[_0x5981c9(0xfd)]+_0x4df26b[_0x5981c9(0x2d3)]+_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x12b)]-_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0xfd)]}};_0x15acba['handleMoveRange'](_0x2b9b02,_0x186817);const _0x5b9d42={..._0x2e3cb2,'sourceRangeInfo':_0x186817};this[_0x5981c9(0xe0)](_0x3748e1,_0x538142[_0x5981c9(0x353)],_0x2b9b02,_0x5b9d42),this[_0x5981c9(0x2db)]({'unitId':_0x3748e1,'token':_0x2b9b02,'type':_0x39e953[_0x5981c9(0x1c2)],'oldSourceRangeInfo':_0x5ab63b,'dataRangeInfo':_0x186817,'targetCellInfo':_0x2e3cb2[_0x5981c9(0xf9)]}),this['updateConfig']({'unitId':_0x3748e1,'subUnitId':_0x538142[_0x5981c9(0x353)],'oldSubUnitId':_0xa1e39,'pivotTableId':_0x2b9b02,'pivotTableConfig':_0x5b9d42,'collectionConfig':_0x15acba[_0x5981c9(0x132)]()});}}}}[_0x49f7c3(0x2db)](_0x172acb){const _0x573d55=_0x49f7c3;this[_0x573d55(0xdc)][_0x573d55(0x21c)](_0x172acb);}[_0x49f7c3(0x1f1)](_0x11f0ab){const _0x43b013=_0x49f7c3;let _0x33183d=this[_0x43b013(0x383)]['get'](_0x11f0ab);return _0x33183d||(_0x33183d=new _0x442a76(this,this[_0x43b013(0x3a4)]),this[_0x43b013(0x383)]['set'](_0x11f0ab,_0x33183d)),_0x33183d;}['getCollection'](_0x358c61,_0x4bfde1){const _0x2f052f=_0x49f7c3;return this[_0x2f052f(0x1f1)](_0x358c61)[_0x2f052f(0x15e)][_0x4bfde1];}[_0x49f7c3(0x3a8)](_0x869066,_0x17c071,_0x85ba78){const _0x4cefa3=_0x49f7c3;return this[_0x4cefa3(0x1f1)](_0x869066)['getUpdateRangeDeleteIds'](_0x17c071,_0x85ba78);}[_0x49f7c3(0x304)](_0x52b9e8,_0x39223f){const _0x36ab97=_0x49f7c3;let _0x39200e=this[_0x36ab97(0xfc)][_0x36ab97(0x392)](_0x52b9e8);_0x39200e||(_0x39200e=new Map(),this[_0x36ab97(0xfc)][_0x36ab97(0x1aa)](_0x52b9e8,_0x39200e));let _0x196683=_0x39200e[_0x36ab97(0x392)](_0x39223f);return _0x196683||(_0x196683=new Map(),_0x39200e[_0x36ab97(0x1aa)](_0x39223f,_0x196683)),_0x196683;}['_updateModelCache'](_0x5a9c92,_0xfcd54c,_0x49c099,_0x44aba6){const _0xa28484=_0x49f7c3;this[_0xa28484(0x304)](_0x5a9c92,_0xfcd54c)[_0xa28484(0x1aa)](_0x49c099,_0x44aba6);}[_0x49f7c3(0x25d)](_0x58bf52,_0x1e4605,_0x255670){const _0x5daf51=_0x49f7c3;var _0x2fd238,_0x358628,_0x318cef,_0x2ed76c;((_0x358628=(_0x2fd238=this['_model'][_0x5daf51(0x392)](_0x58bf52))==null?void 0x0:_0x2fd238['get'](_0x1e4605))==null?void 0x0:_0x358628['get'](_0x255670))&&((_0x2ed76c=(_0x318cef=this['_model']['get'](_0x58bf52))==null?void 0x0:_0x318cef[_0x5daf51(0x392)](_0x1e4605))==null||_0x2ed76c[_0x5daf51(0x223)](_0x255670));}['_updatePivotTableInstanceCache'](_0x5e4a02,_0x20b72f){const _0x4cfa5c=_0x49f7c3;this[_0x4cfa5c(0x272)][_0x4cfa5c(0x1aa)](_0x5e4a02,_0x20b72f);}[_0x49f7c3(0x2c7)](_0x5647ee){this['_pivotTableInstanceCache']['delete'](_0x5647ee);}[_0x49f7c3(0x203)](_0x565fcf,_0x3a5cf7){const _0x323c3c=_0x49f7c3;let _0x44f156=this[_0x323c3c(0x1d1)]['get'](_0x565fcf);_0x44f156||(_0x44f156=new Map(),this[_0x323c3c(0x1d1)]['set'](_0x565fcf,_0x44f156));let _0x1c3e2f=_0x44f156[_0x323c3c(0x392)](_0x3a5cf7);return _0x1c3e2f||(_0x1c3e2f=new Map(),_0x44f156['set'](_0x3a5cf7,_0x1c3e2f)),_0x1c3e2f;}[_0x49f7c3(0x388)](_0x57f75f){const _0x44dbc1=_0x49f7c3,{unitId:_0x545ec0,subUnitId:_0x5942d0,pivotTableId:_0x295365,pivotTableConfig:_0x306e86,collectionConfig:_0x216171}=_0x57f75f,_0x2274f8={'unitId':_0x545ec0,'subUnitId':_0x5942d0,'oldSubUnitId':_0x5942d0,'pivotTableId':_0x295365,'pivotTableConfig':_0x306e86,'collectionConfig':_0x216171};this[_0x44dbc1(0x32c)][_0x44dbc1(0x291)](_0x4c6758['id'],_0x2274f8,{'onlyLocal':!0x0});}[_0x49f7c3(0x329)](_0x2af926,_0xa70396,_0x1e2e33,_0x136f6f,_0x1eb31b,_0x357d36,_0x35129a,_0x2b6e05=!0x1){const _0x45d57f=_0x49f7c3;var _0x2160c7;this[_0x45d57f(0x32c)][_0x45d57f(0x291)](_0x48cc23['id'],{'single':{'unitId':_0x2af926,'subUnitId':_0xa70396,'type':_0x1e2e33,'pivotTableId':_0x136f6f,'view':_0x1eb31b,'pivotConfig':_0x357d36},'collectionConfig':{[_0x2af926]:_0x35129a}},{'onlyLocal':!0x0});const _0x12ab6f=!!((_0x2160c7=this['getPivotTableInstance'](_0x136f6f))!=null&&_0x2160c7[_0x45d57f(0x14a)]()),_0x6f5f3b=this[_0x45d57f(0x362)](_0x2af926,_0xa70396,_0x136f6f);_0x6f5f3b&&this[_0x45d57f(0x11c)]({'view':_0x1eb31b,'pivotTableId':_0x136f6f,'textInfo':this[_0x45d57f(0x260)](),'isEmpty':_0x12ab6f,'targetCellInfo':_0x6f5f3b[_0x45d57f(0xf9)]},_0x2b6e05);}[_0x49f7c3(0x11c)](_0x208980,_0x3073a0){const _0x2d04c7=_0x49f7c3,{targetCellInfo:_0x3bc602,pivotTableId:_0x4bb709}=_0x208980,{unitId:_0xa88988,subUnitId:_0x2b8d1d}=_0x3bc602,_0x52efc6=this[_0x2d04c7(0x203)](_0xa88988,_0x2b8d1d),_0x107af7=_0x52efc6[_0x2d04c7(0x392)](_0x4bb709);let _0x4a8c96,_0xd0d92c;_0x107af7&&(_0x4a8c96=_0x107af7[_0x2d04c7(0x1d3)],_0xd0d92c=_0x107af7[_0x2d04c7(0x125)]);const {rangesCache:_0x3c26fe,matrix:_0x5cfb0f}=_0x10d1a0(_0x208980);_0x52efc6[_0x2d04c7(0x1aa)](_0x4bb709,{'rangeCache':_0x3c26fe,'matrix':_0x5cfb0f,'oldMatrix':_0xd0d92c,'oldRangeCache':_0x4a8c96}),_0x3073a0||this[_0x2d04c7(0x320)][_0x2d04c7(0x21c)]({'unitId':_0xa88988,'subUnitId':_0x2b8d1d,'pivotTableId':_0x4bb709});}[_0x49f7c3(0x1a3)](_0x273207,_0xe4a340,_0x3479c4,_0x338cab,_0x520e3b){this['_updateModelCache'](_0x273207,_0xe4a340,_0x3479c4,_0x520e3b),this['_updatePivotTableInstanceCache'](_0x3479c4,_0x338cab);}[_0x49f7c3(0x287)](_0x9d98b5,_0x4597a5,_0x59b8dd){const _0x3273a1=_0x49f7c3,_0x62aa54=this[_0x3273a1(0x1f1)](_0x9d98b5);_0x62aa54['getNoUsedDataFieldIds'](_0x59b8dd)[_0x3273a1(0x10a)](_0x5ecee7=>{const _0x1d11cd=_0x3273a1;_0x62aa54[_0x1d11cd(0x195)](_0x5ecee7);}),this[_0x3273a1(0x178)](_0x9d98b5,_0x59b8dd),this[_0x3273a1(0x25d)](_0x9d98b5,_0x4597a5,_0x59b8dd),this[_0x3273a1(0x2c7)](_0x59b8dd);}[_0x49f7c3(0x1b5)](_0x1f703e,_0x33320,_0x99688,_0x4f4368){const _0x611d92=_0x49f7c3;this[_0x611d92(0xe0)](_0x1f703e,_0x33320,_0x99688,_0x4f4368);}[_0x49f7c3(0x362)](_0x33981f,_0x5739ac,_0x4a6a08){const _0x169969=_0x49f7c3;var _0x2beda5,_0x4a590d;const _0x565ef3=(_0x4a590d=(_0x2beda5=this[_0x169969(0xfc)][_0x169969(0x392)](_0x33981f))==null?void 0x0:_0x2beda5[_0x169969(0x392)](_0x5739ac))==null?void 0x0:_0x4a590d[_0x169969(0x392)](_0x4a6a08);if(_0x565ef3)return _0x565ef3;}[_0x49f7c3(0x1f9)](_0x8bf2de,_0x553322,_0x3e144b){const _0x354016=_0x49f7c3;var _0x1c6404,_0x218b6e;const _0x239bb2=(_0x218b6e=(_0x1c6404=this['_model'][_0x354016(0x392)](_0x8bf2de))==null?void 0x0:_0x1c6404['get'](_0x553322))==null?void 0x0:_0x218b6e[_0x354016(0x392)](_0x3e144b);if(_0x239bb2)return _0x239bb2[_0x354016(0x1d4)];}[_0x49f7c3(0x2a7)](_0xa21f52){const _0x1d84d8=_0x49f7c3;return this[_0x1d84d8(0x272)][_0x1d84d8(0x392)](_0xa21f52);}[_0x49f7c3(0x3f1)](_0x3d54b5){const _0x3527ff=_0x49f7c3;this['_model'][_0x3527ff(0x223)](_0x3d54b5);const _0x2f72f8=this[_0x3527ff(0x383)][_0x3527ff(0x392)](_0x3d54b5);_0x2f72f8&&(_0x2f72f8[_0x3527ff(0x3f2)](),this['_dataFieldManagerCollection']['delete'](_0x3d54b5)),this[_0x3527ff(0x1d1)]['delete'](_0x3d54b5),this['needSameDeleteModel'][_0x3527ff(0x10a)](_0x14995a=>{const _0x4cd3b9=_0x3527ff;_0x14995a[_0x4cd3b9(0x3f1)](_0x3d54b5);});}[_0x49f7c3(0x2c2)](_0x3a9a63,_0x44e5fa,_0x1b21c6,_0xacbf43){const _0x3167fd=_0x49f7c3;return this['getDataFieldManager'](_0x1b21c6[_0x3167fd(0x25c)])[_0x3167fd(0x2c2)](_0x3a9a63,_0x44e5fa,_0x1b21c6,_0xacbf43);}[_0x49f7c3(0x33f)](_0x23e764){const _0x2aa69b=_0x49f7c3;return this[_0x2aa69b(0x1f1)](_0x23e764[_0x2aa69b(0x25c)])['createCollectionWithDataRange'](_0x23e764);}[_0x49f7c3(0x124)](_0x1c23c9,_0x546c5a,_0x3e80a7){const _0x1deaad=_0x49f7c3;this[_0x1deaad(0x1f1)](_0x3e80a7[_0x1deaad(0x25c)])[_0x1deaad(0x124)](_0x1c23c9,_0x546c5a,_0x3e80a7);}[_0x49f7c3(0x19a)](_0x5adb65,_0x126077){const _0xc950ff=_0x49f7c3;this[_0xc950ff(0x1f1)](_0x5adb65)[_0xc950ff(0x195)](_0x126077);}[_0x49f7c3(0x178)](_0x2247bb,_0x2f5f80){const _0x13538b=_0x49f7c3;this[_0x13538b(0x1f1)](_0x2247bb)[_0x13538b(0x1b8)](_0x2f5f80);}[_0x49f7c3(0x200)](_0x3d831a,_0x307c8f){const _0x4d9d03=_0x49f7c3;var _0x5d5b97;return(_0x5d5b97=this[_0x4d9d03(0xfc)][_0x4d9d03(0x392)](_0x3d831a))==null?void 0x0:_0x5d5b97[_0x4d9d03(0x392)](_0x307c8f);}['getTargetByPivotId'](_0xabcefa){const _0x510f82=_0x49f7c3;for(const [_0x2adf56,_0x1fad3f]of this[_0x510f82(0xfc)]['entries']())for(const [_0x2be458,_0x5e9977]of _0x1fad3f[_0x510f82(0x21d)]())if(_0x5e9977[_0x510f82(0x1e8)](_0xabcefa))return{'unitId':_0x2adf56,'subUnitId':_0x2be458};return null;}['sideEffectUpdateWorkerCache'](_0x4be48,_0x1775cf,_0xc12695,_0x2f1a68){const _0xf78e4f=_0x49f7c3,_0x306c4c=this[_0xf78e4f(0x203)](_0x4be48,_0x1775cf);_0x2f1a68?_0x306c4c[_0xf78e4f(0x1aa)](_0xc12695,_0x2f1a68):_0x306c4c[_0xf78e4f(0x223)](_0xc12695),this[_0xf78e4f(0x320)][_0xf78e4f(0x21c)]({'unitId':_0x4be48,'subUnitId':_0x1775cf,'pivotTableId':_0xc12695});}[_0x49f7c3(0x3f2)](){const _0x33616e=_0x49f7c3;super['dispose'](),this[_0x33616e(0xfc)][_0x33616e(0xfb)](),this[_0x33616e(0x272)][_0x33616e(0xfb)](),this[_0x33616e(0x1d1)][_0x33616e(0xfb)](),this[_0x33616e(0xdc)][_0x33616e(0x251)](),this[_0x33616e(0x320)]['complete'](),this[_0x33616e(0x155)][_0x33616e(0x251)](),this[_0x33616e(0x383)][_0x33616e(0x10a)](_0x3b025c=>_0x3b025c[_0x33616e(0x3f2)]()),this['_dataFieldManagerCollection'][_0x33616e(0xfb)]();}[_0x49f7c3(0x2cf)](_0xaf164,_0x41de24,_0xc96e5a){const _0x1a2afa=_0x49f7c3;var _0x24fd0e,_0x519b0e;const _0x27b630=(_0x519b0e=(_0x24fd0e=this[_0x1a2afa(0x1d1)]['get'](_0xaf164))==null?void 0x0:_0x24fd0e[_0x1a2afa(0x392)](_0x41de24))==null?void 0x0:_0x519b0e[_0x1a2afa(0x392)](_0xc96e5a);return _0x27b630||null;}[_0x49f7c3(0x23e)](_0x136d27){const _0x339abf=_0x49f7c3;this[_0x339abf(0x2e5)](_0x136d27);}[_0x49f7c3(0x2e5)](_0x5ab20f){const _0x4977ce=_0x49f7c3,{token:_0x1f24d3,unitId:_0x2b9b48,subUnitId:_0x1b4ac6}=_0x5ab20f,_0x1ec515=_0x2b9b48+'-'+_0x1b4ac6+'-'+_0x1f24d3;this['_queryingMap']['get'](_0x1ec515)&&clearTimeout(this[_0x4977ce(0x185)]['get'](_0x1ec515));const _0x5dc542=setTimeout(()=>{const _0x30f46a=_0x4977ce;this[_0x30f46a(0x1bb)](_0x5ab20f),this['_queryingMap']['delete'](_0x1ec515);},_0x3a6b24);this['_queryingMap'][_0x4977ce(0x1aa)](_0x1ec515,_0x5dc542);}[_0x49f7c3(0x1bb)](_0x313f77){const _0x121c6e=_0x49f7c3,{unitId:_0x2655fa,subUnitId:_0x280482,token:_0x4a879c,type:_0x3687a1,pivotConfig:_0x44691e}=_0x313f77,_0x2d0f6c=this[_0x121c6e(0x2a7)](_0x4a879c),_0x217bed=_0x2d0f6c==null?void 0x0:_0x2d0f6c[_0x121c6e(0xe8)](),_0x531231=_0x44691e!=null?_0x44691e:this[_0x121c6e(0x362)](_0x2655fa,_0x280482,_0x4a879c);_0x531231&&(_0x531231[_0x121c6e(0x14a)]=!!(_0x2d0f6c!=null&&_0x2d0f6c[_0x121c6e(0x14a)]())),(_0x217bed||_0x3687a1===_0x48b491['Delete'])&&this[_0x121c6e(0x329)](_0x2655fa,_0x280482,_0x3687a1,_0x4a879c,_0x217bed,_0x531231,this[_0x121c6e(0x1f1)](_0x2655fa)[_0x121c6e(0x132)]());}['toJSON'](_0x30299d){const _0x2ad5ef=_0x49f7c3,_0x200191={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2ad5ef(0x1f1)](_0x30299d)&&(_0x200191[_0x2ad5ef(0xea)][_0x30299d]=this[_0x2ad5ef(0x1f1)](_0x30299d)[_0x2ad5ef(0x132)]()),this[_0x2ad5ef(0xfc)][_0x2ad5ef(0x392)](_0x30299d)){_0x200191[_0x2ad5ef(0x312)][_0x30299d]={};const _0x54f9b5=this['_model']['get'](_0x30299d);_0x54f9b5!=null&&_0x54f9b5[_0x2ad5ef(0x390)]&&[..._0x54f9b5[_0x2ad5ef(0x3e2)]()][_0x2ad5ef(0x10a)](_0x590095=>{const _0x1ee971=_0x2ad5ef,_0x1b7616=_0x54f9b5[_0x1ee971(0x392)](_0x590095);_0x1b7616!=null&&_0x1b7616['size']&&(_0x200191[_0x1ee971(0x312)][_0x30299d][_0x590095]={},[..._0x1b7616[_0x1ee971(0x3e2)]()][_0x1ee971(0x10a)](_0x187497=>{const _0x418614=_0x1ee971,_0x24e144=_0x1b7616['get'](_0x187497);_0x24e144&&(_0x200191[_0x418614(0x312)][_0x30299d][_0x590095][_0x187497]=_0x24e144);}));});}return _0x200191;}[_0x49f7c3(0x398)](_0x49394c){const _0x1ed141=_0x49f7c3;var _0x422776;const {dataFieldManagerConfig:_0x20358b,pivotTableConfigs:_0x12689f}=_0x49394c;_0x20358b&&Object[_0x1ed141(0x3e2)](_0x20358b)[_0x1ed141(0x10a)](_0x2a6101=>{const _0x3097dd=_0x1ed141;this[_0x3097dd(0x1f1)](_0x2a6101)[_0x3097dd(0x398)](_0x20358b[_0x2a6101]);});const _0x5904d6=[];if(_0x12689f){const _0x5ae4e1=(_0x422776=this['_injector']['get'](_0x369ce1[_0x1ed141(0x104)])['getConfig'](_0x5b8945[_0x1ed141(0x285)]))!=null?_0x422776:{},{ls:_0x6cfcd,pbk:_0x35326c}=_0x5ae4e1,_0x48f2f6=_0x2de071(_0x2b5880,_0x6cfcd,_0x35326c)[_0x1ed141(0x3da)];Object['keys'](_0x12689f)[_0x1ed141(0x10a)](_0x5a8d93=>{const _0xb2d48a=_0x1ed141;let _0x2e6e0b=0x0;const _0x90742e=_0x12689f[_0x5a8d93];Object[_0xb2d48a(0x3e2)](_0x90742e)[_0xb2d48a(0x10a)](_0x3feb18=>{const _0x4ca21b=_0xb2d48a,_0x413f68=_0x90742e[_0x3feb18];Object[_0x4ca21b(0x3e2)](_0x413f68)[_0x4ca21b(0x10a)](_0x3764ab=>{const _0x3f0adc=_0x4ca21b,_0xbb066f=_0x413f68[_0x3764ab];if(_0xbb066f){if(_0x2e6e0b>=_0x48f2f6)return;_0x2e6e0b++;const _0x20d3af=this[_0x3f0adc(0x1f1)](_0x5a8d93),_0x13a942=_0x20d3af[_0x3f0adc(0x15e)][_0x3764ab],_0x571be3=_0x13a942[_0x3f0adc(0x277)]();let _0x41253b=0x0;const _0x523bc6=[];for(const _0x28c4ee of _0x571be3){const _0x42a7d5=_0x13a942['getFieldById'](_0x28c4ee);if(_0x2d316f[_0x3f0adc(0x1c9)](_0x42a7d5)){const _0x2247b1=_0x42a7d5['getOriginFieldId'](),_0x4f90bd=_0x13a942['getFieldById'](_0x2247b1);_0x4f90bd&&_0x523bc6['push']([_0x42a7d5,_0x4f90bd]);continue;}_0x20d3af['refreshDataField'](_0x28c4ee,_0xbb066f[_0x3f0adc(0x3ed)],_0x41253b),_0x41253b++;}_0x523bc6['forEach'](([_0x2ae9b3,_0x457dca])=>{const _0xcfb0eb=_0x3f0adc;_0x2ae9b3[_0xcfb0eb(0x246)](_0x457dca);});const _0x336a69=new _0x2d316f['PivotTable'](_0x13a942);_0x336a69[_0x3f0adc(0x398)](_0xbb066f[_0x3f0adc(0x1d4)]),this[_0x3f0adc(0x1a3)](_0x5a8d93,_0x3feb18,_0x3764ab,_0x336a69,_0xbb066f);const _0x2bda38=_0x336a69[_0x3f0adc(0xe8)]();_0x5904d6[_0x3f0adc(0x3d4)]({'unitId':_0x5a8d93,'subUnitId':_0x3feb18,'pivotTableId':_0x3764ab,'view':_0x2bda38[_0x3f0adc(0x132)](),'pivotConfig':_0xbb066f,'type':_0x48b491[_0x3f0adc(0xcf)]});const _0x4ff2da=!!_0x336a69[_0x3f0adc(0x14a)](),_0x855aab={'view':_0x2bda38,'pivotTableId':_0x3764ab,'textInfo':this['getTextInfo'](),'isEmpty':_0x4ff2da,'targetCellInfo':_0xbb066f[_0x3f0adc(0xf9)]};this['updateViewData'](_0x855aab,!0x1);}});});});}_0x20358b&&Object['keys'](_0x20358b)['forEach'](_0x3c5111=>{const _0x248985=_0x1ed141,_0x287888=this['getDataFieldManager'](_0x3c5111);this[_0x248985(0x155)][_0x248985(0x21c)](_0x287888[_0x248985(0x15e)]);}),this[_0x1ed141(0x32c)]['executeCommand'](_0x48cc23['id'],{'batch':_0x5904d6,'collectionConfig':_0x20358b},{'onlyLocal':!0x0});}[_0x49f7c3(0x1bd)](){const _0x24bb0f=_0x49f7c3;this[_0x24bb0f(0x3dd)](this[_0x24bb0f(0x1c1)][_0x24bb0f(0x356)]({'toJson':_0x59b0c8=>JSON[_0x24bb0f(0x3e6)](this[_0x24bb0f(0x132)](_0x59b0c8)),'parseJson':_0x3a1841=>{if(!_0x3a1841)return{};try{return JSON['parse'](_0x3a1841);}catch{return{};}},'businesses':[_0x369ce1[_0x24bb0f(0x3ab)][_0x24bb0f(0x234)]],'pluginName':_0x294572,'onLoad':(_0x2eeea1,_0x401362)=>{const _0x1e8909=_0x24bb0f;this[_0x1e8909(0x398)](_0x401362);},'onUnLoad':_0x39036e=>{const _0x55f859=_0x24bb0f;this[_0x55f859(0x3f1)](_0x39036e);}}));}},_0x237829[_0x49f7c3(0x188)]=_0x52b4c1([_0x571b71(0x0,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x211)])),_0x571b71(0x1,_0x369ce1[_0x49f7c3(0x389)]),_0x571b71(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['LifecycleService'])),_0x571b71(0x3,_0x369ce1[_0x49f7c3(0x1f2)]),_0x571b71(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IResourceManagerService']))],_0x237829[_0x49f7c3(0x188)]);const _0x529a33={0x0:{0x0:{'v':_0x49f7c3(0x3dc),'s':_0x4ae871}},0x2:{0x1:{'v':'','s':_0x4ae871},0x2:{'v':'','s':_0x4ae871},0x3:{'v':_0x49f7c3(0x176),'s':_0x4ae871},0x4:{'v':'','s':_0x4ae871},0x5:{'v':'','s':_0x4ae871}},0x3:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x4:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x5:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x6:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x7:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x8:{0x0:{'v':_0x49f7c3(0x27d),'s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':_0x49f7c3(0x3a7),'s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x9:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xa:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xb:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xc:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xd:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}}},_0xda3d04={'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':[]},_0x322dd5=(_0x9db924,_0x182cd2)=>{const _0x142445=_0x49f7c3,_0x5368ab=new _0x369ce1[(_0x142445(0x2bf))](),_0x34d29d=new _0x369ce1[(_0x142445(0x2bf))](_0x529a33),{row:_0x39f37f,col:_0x373949}=_0x182cd2;_0x34d29d[_0x142445(0x103)]((_0x5db507,_0x27d645,_0x36e5cb)=>{const _0x22a100=_0x142445;let _0x232d3d='';_0x36e5cb['v']==='filter'?_0x232d3d=_0x9db924[_0x22a100(0x3dc)]:_0x36e5cb['v']===_0x22a100(0x27d)?_0x232d3d=_0x9db924[_0x22a100(0x27d)]:_0x36e5cb['v']===_0x22a100(0x176)?_0x232d3d=_0x9db924[_0x22a100(0x176)]:_0x36e5cb['v']===_0x22a100(0x3a7)&&(_0x232d3d=_0x9db924[_0x22a100(0x3a7)]),_0x5368ab[_0x22a100(0x1e4)](_0x5db507+_0x39f37f,_0x27d645+_0x373949,{..._0x36e5cb,'v':_0x232d3d});});const _0x332ae0=_0x369ce1[_0x142445(0x194)][_0x142445(0xd7)](_0xda3d04);return Object['keys'](_0xda3d04)[_0x142445(0x10a)](_0x32f58d=>{const _0xbb87f4=_0x142445;_0x332ae0[_0x32f58d]=_0xda3d04[_0x32f58d]['map'](_0x42896b=>({..._0x42896b,'startRow':_0x42896b[_0xbb87f4(0x1c7)]+_0x39f37f,'endRow':_0x42896b[_0xbb87f4(0x1bf)]+_0x39f37f,'startColumn':_0x42896b[_0xbb87f4(0xfd)]+_0x373949,'endColumn':_0x42896b[_0xbb87f4(0x12b)]+_0x373949}));}),{'matrixCache':_0x5368ab,'rangesCache':_0x332ae0};};function _0x505ded(_0x10952b,_0xd8ddad){const _0x239c8e=_0x49f7c3;let _0x5384aa='';const _0x239c6d=this['getTextInfo']();switch(_0xd8ddad){case _0x2d316f[_0x239c8e(0x1f6)]['average']:_0x5384aa=_0x239c6d['sheets-pivot.averageName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['count']:_0x5384aa=_0x239c6d[_0x239c8e(0x1fd)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x3a5)]:_0x5384aa=_0x239c6d[_0x239c8e(0x30f)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x350)]:_0x5384aa=_0x239c6d['sheets-pivot.maxName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['min']:_0x5384aa=_0x239c6d[_0x239c8e(0x1b0)]+_0x10952b;break;case _0x2d316f['PivotSubtotalTypeEnum'][_0x239c8e(0x233)]:_0x5384aa=_0x239c6d[_0x239c8e(0x338)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['stdDev']:_0x5384aa=_0x239c6d[_0x239c8e(0x318)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x128)]:_0x5384aa=_0x239c6d['sheets-pivot.stdDevpName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x231)]:_0x5384aa=_0x239c6d[_0x239c8e(0xcd)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['var']:_0x5384aa=_0x239c6d[_0x239c8e(0x109)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['varp']:_0x5384aa=_0x239c6d[_0x239c8e(0x11f)]+_0x10952b;break;default:_0x5384aa=_0x10952b;break;}return _0x5384aa;}function _0xdcd3eb(_0x10b615,_0x242fbf,_0x2bb100,_0x9e8890,_0x188e42){const _0x33c8e8=_0x49f7c3;var _0x57c571,_0x47d0ac,_0x88e444,_0xecf69a,_0x30200d;const _0x3b6049=_0x369ce1[_0x33c8e8(0x102)](_0x10b615,_0x242fbf),{rangesInfo:_0x4c8bdf,areaInfo:_0x3db4c7,headerMap:_0x159735}=_0x188e42;if(!_0x4c8bdf||!_0x3db4c7||!_0x159735)return;const _0x154cb1=Object[_0x33c8e8(0x3e2)](_0x4c8bdf)['find'](_0x48a6a3=>_0x4c8bdf[_0x48a6a3][_0x33c8e8(0x172)](_0x3fd2e5=>_0x369ce1[_0x33c8e8(0x32a)]['contains'](_0x3fd2e5,_0x3b6049))),_0x33fd64=_0x3db4c7;let _0x4c2047,_0x29d9a4,_0x536baa;if(_0x154cb1===_0x33c8e8(0x18a))_0x4c2047=(_0x57c571=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x2ce)])==null?void 0x0:_0x57c571[_0x10b615],_0x29d9a4=(_0x47d0ac=_0x159735==null?void 0x0:_0x159735[_0x33c8e8(0x2b9)])==null?void 0x0:_0x47d0ac[_0x242fbf],_0x536baa=_0x29d9a4==null?void 0x0:_0x29d9a4[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x170))_0x4c2047=(_0x88e444=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x1ff)])==null?void 0x0:_0x88e444[_0x242fbf],_0x29d9a4=(_0xecf69a=_0x159735['colHeaderMap'])==null?void 0x0:_0xecf69a[_0x10b615+0x1+_0x242fbf-_0x4c8bdf[_0x33c8e8(0x170)][0x0][_0x33c8e8(0xfd)]],_0x536baa=_0x29d9a4==null?void 0x0:_0x29d9a4[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x29f))_0x4c2047=(_0x30200d=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x20c)])==null?void 0x0:_0x30200d[_0x242fbf],_0x536baa=_0x4c2047==null?void 0x0:_0x4c2047[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x274)){const _0xd68727=_0x2bb100==null?void 0x0:_0x2bb100['fi'];_0xd68727!==void 0x0&&(_0x536baa=_0x9e8890[_0x33c8e8(0x227)](_0xd68727));}}}}return{'filterId':_0x536baa,'info':_0x4c2047,'data':_0x2bb100,'headerInfo':_0x29d9a4};}function _0x4d4bdc(_0x2a92f9,_0x4c6a04,_0x352aa9){const _0x2ac8ec=_0x49f7c3,_0x15e764=_0x2a92f9[_0x2ac8ec(0x12d)],_0x3ff020=_0x15e764[_0x2ac8ec(0x277)](),_0x2875a1=new Set();_0x2a92f9['iterateField'](_0x571142=>{const _0x5b15ff=_0x2ac8ec;_0x2875a1['add'](_0x571142[_0x5b15ff(0x3e8)]);});const _0x1f6fa2=_0x3ff020[_0x2ac8ec(0x35b)](_0x3c406b=>{const _0x2d6d75=_0x2ac8ec,_0x54411c=_0x15e764[_0x2d6d75(0x2aa)](_0x3c406b);return{'checked':_0x2875a1[_0x2d6d75(0x1e8)](_0x3c406b),'dataFieldId':_0x54411c['id'],'id':_0x54411c['id'],'name':_0x15e764[_0x2d6d75(0x305)](_0x54411c['id']),'type':_0x54411c[_0x2d6d75(0x239)](),'pivotTableId':_0x4c6a04};}),_0x278314=[];_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x1ba)],_0x7316cc=>{const _0x2287ab=_0x2ac8ec;_0x278314[_0x2287ab(0x3d4)]({'dataFieldId':_0x7316cc[_0x2287ab(0x3e8)],'tableFieldId':_0x7316cc[_0x2287ab(0x2e7)](),'displayName':_0x7316cc[_0x2287ab(0x305)]()});});const _0xba9f27=[];_0x2a92f9['iterateFieldByArea'](_0x2d316f['PivotTableFiledAreaEnum'][_0x2ac8ec(0x10c)],_0x58d8a1=>{const _0x22c13b=_0x2ac8ec;_0xba9f27[_0x22c13b(0x3d4)]({'dataFieldId':_0x58d8a1['dataFieldId'],'tableFieldId':_0x58d8a1[_0x22c13b(0x2e7)](),'displayName':_0x58d8a1['getDisplayName']()});});const _0x47c186=[];if(_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x30d)],_0x4566bf=>{const _0x2caf67=_0x2ac8ec;_0x47c186[_0x2caf67(0x3d4)]({'dataFieldId':_0x4566bf[_0x2caf67(0x3e8)],'tableFieldId':_0x4566bf[_0x2caf67(0x2e7)](),'displayName':_0x4566bf[_0x2caf67(0x305)](),'format':_0x4566bf[_0x2caf67(0x16e)](),'subTotalType':_0x4566bf[_0x2caf67(0x364)]()});}),_0x47c186[_0x2ac8ec(0x264)]>0x1){const _0x1d566a=_0x2a92f9[_0x2ac8ec(0x39f)]();(_0x2a92f9[_0x2ac8ec(0x27b)]()?_0xba9f27:_0x278314)['splice'](_0x1d566a,0x0,{'dataFieldId':'','tableFieldId':_0x2ac8ec(0x13f),'displayName':_0x2ac8ec(0x3b9)});}const _0x38e9a4=[];_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x15c)],_0x34256f=>{const _0x434d4e=_0x2ac8ec;_0x38e9a4['push']({'dataFieldId':_0x34256f['dataFieldId'],'tableFieldId':_0x34256f[_0x434d4e(0x2e7)](),'displayName':_0x34256f[_0x434d4e(0x305)]()});});const _0x5d70e1=_0x352aa9[_0x2ac8ec(0x3ed)];return{'sourceList':_0x1f6fa2,'sourceRange':_0x5d70e1,'rowFields':_0x278314,'columnFields':_0xba9f27,'valueFields':_0x47c186,'filterFields':_0x38e9a4,'positionInfo':_0x352aa9[_0x2ac8ec(0xf9)]};}function _0x1eaaf6(_0x59dbb8,_0x19eaa7,_0x35dac1='',_0x543fd8={}){const _0x3f0a83=_0x49f7c3,_0x56798b=_0x59dbb8[_0x3f0a83(0x392)](_0x369ce1[_0x3f0a83(0x18e)]);for(const _0x2cb33c in _0x19eaa7)if(Object[_0x3f0a83(0x3aa)][_0x3f0a83(0x16c)][_0x3f0a83(0x2a9)](_0x19eaa7,_0x2cb33c)){const _0x2f10fe=_0x35dac1?_0x35dac1+'.'+_0x2cb33c:_0x2cb33c;typeof _0x19eaa7[_0x2cb33c]=='object'&&_0x19eaa7[_0x2cb33c]!==null&&!Array['isArray'](_0x19eaa7[_0x2cb33c])?_0x1eaaf6(_0x59dbb8,_0x19eaa7[_0x2cb33c],_0x2f10fe,_0x543fd8):_0x543fd8[_0x2f10fe]=_0x56798b['t'](_0x2f10fe);}return _0x543fd8;}const _0x2652bb=_0x3b89bd=>{const _0x56c12c=_0x49f7c3;if(!_0x3b89bd)return[];const {rowRanges:_0x23dd9f,colRanges:_0x3f0209,cornerRanges:_0x52f54b,dataRanges:_0x2b0779,pageRanges:_0x26d179}=_0x3b89bd,_0x4b35dc=[..._0x3f0209,..._0x23dd9f,..._0x2b0779,..._0x52f54b][_0x56c12c(0x3dc)](_0x436a75=>_0x436a75[_0x56c12c(0x1c7)]>=0x0&&_0x436a75['startColumn']>=0x0&&_0x436a75['endRow']>=0x0&&_0x436a75[_0x56c12c(0x12b)]>=0x0);let _0xfe55ba=Number[_0x56c12c(0x1a6)],_0x5e717e=Number['MIN_SAFE_INTEGER'],_0x4567c6=Number[_0x56c12c(0x1a6)],_0x2da6c3=Number['MIN_SAFE_INTEGER'];for(let _0x4018f0=0x0;_0x4018f0<_0x4b35dc[_0x56c12c(0x264)];_0x4018f0++)_0xfe55ba=Math[_0x56c12c(0x214)](_0xfe55ba,_0x4b35dc[_0x4018f0]['startRow']),_0x5e717e=Math[_0x56c12c(0x350)](_0x5e717e,_0x4b35dc[_0x4018f0][_0x56c12c(0x1bf)]),_0x4567c6=Math[_0x56c12c(0x214)](_0x4567c6,_0x4b35dc[_0x4018f0][_0x56c12c(0xfd)]),_0x2da6c3=Math[_0x56c12c(0x350)](_0x2da6c3,_0x4b35dc[_0x4018f0][_0x56c12c(0x12b)]);return[..._0x26d179,{'startRow':_0xfe55ba,'endRow':_0x5e717e,'startColumn':_0x4567c6,'endColumn':_0x2da6c3}];};function _0x450940(_0x11e9a4,_0x384545){const _0x267f20=_0x49f7c3,_0x2a0b15=_0x384545[_0x267f20(0x376)][_0x267f20(0x19d)],{pivotTableId:_0x3369b3,unitId:_0x26cd6f,subUnitId:_0x4035b9}=_0x384545;if(!_0x2a0b15)return;const _0x558b24=_0x11e9a4[_0x267f20(0x392)](_0x237829['SheetsPivotDataSourceModel']),_0x41296b=_0x558b24[_0x267f20(0x2a7)](_0x3369b3),_0xfab20=_0x558b24['getPivotTableConfig'](_0x26cd6f,_0x4035b9,_0x3369b3);if(!_0x41296b||!_0xfab20)return;const _0x50c8f2=_0x41296b[_0x267f20(0x20f)](_0x2a0b15[_0x267f20(0x17f)]);if(!(_0x50c8f2!=null&&_0x50c8f2['length']))return;const _0x599f8f=_0xfab20[_0x267f20(0x3ed)],{unitId:_0x37da6a,subUnitId:_0x2ab687,range:_0x5446f7}=_0x599f8f;let _0x1da315=0x0;const _0x3a0379=_0x41296b[_0x267f20(0x12d)][_0x267f20(0x277)]()[_0x267f20(0x26a)]((_0x4e4c51,_0x40ebff)=>{const _0xfa46dc=_0x267f20;var _0x2ed669;const _0x110a12=(_0x2ed669=_0x41296b['getDataFieldByDataFieldId'](_0x40ebff))==null?void 0x0:_0x2ed669[_0xfa46dc(0x37b)]();return _0x110a12&&(_0x4e4c51[String(_0x1da315)]=_0x110a12),_0x1da315++,_0x4e4c51;},{});return{'indexes':_0x50c8f2,'range':_0x5446f7,'sourceUnitId':_0x37da6a,'sourceSubUnitId':_0x2ab687,'formatMap':_0x3a0379};}function _0x53b1ed(_0x17f928,_0x11640b){const _0x4e12d3=_0x49f7c3;if(!_0x17f928||!_0x11640b)return!0x0;const _0x1d0aba=_0x5b8945[_0x4e12d3(0x3a1)](_0x2d686b,_0x34f2f0),_0x1942ff=new Function(_0x4e12d3(0x14c)+_0x1d0aba)()(_0x17f928,_0x11640b)['message'],_0x373b38=_0x5b8945[_0x4e12d3(0x38c)](_0x1942ff,'sf',_0x472e37);return!((_0x1942ff==null?void 0x0:_0x1942ff['rt'])===_0x5b8945[_0x4e12d3(0x215)][_0x4e12d3(0x156)]&&!_0x373b38);}function _0x2de071(_0x3a7718,_0x833cb9,_0x39420e){const _0x5e8b40=_0x49f7c3,_0x2bf360={'count':_0x3a7718,'timeValid':!0x1};if(!_0x833cb9||!_0x39420e)return _0x2bf360;const _0xee172c=_0x5b8945[_0x5e8b40(0x3a1)](_0x2d686b,_0x34f2f0),_0x4b02a8=new Function(_0x5e8b40(0x14c)+_0xee172c)()(_0x833cb9,_0x39420e);if(_0x4b02a8!=null&&_0x4b02a8[_0x5e8b40(0x270)]){const _0x7b810a=_0x4b02a8['message'],_0x522dbe=_0x5b8945[_0x5e8b40(0x38c)](_0x7b810a,'sf',_0x472e37);return{'count':_0x5b8945[_0x5e8b40(0x3c4)](_0x7b810a,_0x522dbe,_0x5e8b40(0x365),_0x3a7718,_0x3a7718,0x0),'timeValid':_0x522dbe};}return _0x2bf360;}function _0x2706e1(_0x4376dd,_0x44092c,_0x5dfb12,_0xd9994d){const _0x30de0a=_0x49f7c3,_0x2636d5={'subUnitId':_0x5dfb12,'unitId':_0x44092c,'cellValue':_0x298fdb[_0x30de0a(0x3de)](_0xd9994d)},_0x55daef=_0x298fdb[_0x30de0a(0x210)](_0x4376dd,_0x2636d5);let _0x37396a=!0x1;return new _0x369ce1[(_0x30de0a(0x2bf))](_0x55daef[_0x30de0a(0x310)])[_0x30de0a(0x103)]((_0x494465,_0x2aeceb,_0x1ae897)=>{const _0x37fc69=_0x30de0a;if(!_0x37396a&&_0x1ae897&&(_0x1ae897[_0x37fc69(0xf8)]||_0x1ae897['f']||_0x1ae897['p']||_0x1ae897['s']||_0x1ae897['si']||_0x1ae897['t']||_0x1ae897['v']))return _0x37396a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':_0x55daef},'setRangeValueRedoMutation':{'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':_0x2636d5},'shouldClear':_0x37396a};}function _0x2353cb(_0x356538){const {row:_0x5b6cb3,col:_0x167312}=_0x356538,_0x51b832={'startRow':_0x5b6cb3,'endRow':_0x5b6cb3,'startColumn':_0x167312,'endColumn':_0x167312},_0x401840={'startRow':_0x5b6cb3+0x2,'endRow':_0x5b6cb3+0xe,'startColumn':_0x167312,'endColumn':_0x167312+0x6};return[_0x51b832,_0x401840];}function _0x5c4eb3(_0x1382f0,_0x158e53,_0x2d1ff2){const _0x52ae88=_0x49f7c3,{cornerView:_0x45d87c,rowView:_0xb9aef0,colView:_0x24e58e,pageView:_0x1baaa2}=_0x1382f0,{row:_0x1f5a81,col:_0x50521e}=_0x158e53;if(_0x2d1ff2)return{'rowCount':_0x213fa6+_0x1f5a81,'colCount':_0x110b83+_0x50521e};const _0x1241ed=_0x1baaa2[_0x52ae88(0x129)]>-0x1?_0x1baaa2[_0x52ae88(0x129)]+0x1:0x0,_0x36829c=_0x1baaa2['lastCol']>-0x1?_0x1baaa2[_0x52ae88(0x39e)]:0x0,_0x58a9dc=_0x1f5a81+_0x1241ed+(_0x1241ed?0x1:0x0)+_0x45d87c[_0x52ae88(0x355)]+_0xb9aef0[_0x52ae88(0x355)],_0x390341=_0x50521e+_0x36829c,_0x2692bc=_0x50521e+_0x45d87c[_0x52ae88(0x27f)]+_0x24e58e[_0x52ae88(0x27f)],_0x48cd05=Math[_0x52ae88(0x350)](_0x390341,_0x2692bc);return{'rowCount':_0x58a9dc,'colCount':_0x48cd05};}function _0x75bbf(_0xa113f2,_0x470ad6,_0x3d5a88,_0x12a32f){const _0x505b52=_0x49f7c3,{row:_0x5379f7,col:_0x56fe94,unitId:_0x271ee2,subUnitId:_0x5062f1}=_0x3d5a88,_0x53509f=_0x5c4eb3(_0x470ad6,{'row':_0x5379f7,'col':_0x56fe94},_0x12a32f),_0x5e190a=_0xa113f2[_0x505b52(0x392)](_0x369ce1['IUniverInstanceService']),_0x1a4478=_0x298fdb[_0x505b52(0x3b6)](_0x5e190a,{'unitId':_0x271ee2,'subUnitId':_0x5062f1}),_0x3b29e8=[],_0x34bfe8=[];if(!_0x1a4478)return{'undos':_0x34bfe8,'redos':_0x3b29e8};const {worksheet:_0x549464}=_0x1a4478,_0x1eef49=_0x549464[_0x505b52(0x268)](),_0x54479b=_0x549464[_0x505b52(0x158)]();return _0x1eef49<_0x53509f[_0x505b52(0x355)]&&(_0x3b29e8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x1f3)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':_0x1eef49,'endRow':_0x53509f[_0x505b52(0x355)]-0x1,'startColumn':0x0,'endColumn':_0x54479b-0x1}}}),_0x34bfe8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x2be)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':_0x1eef49,'endRow':_0x53509f[_0x505b52(0x355)]-0x1,'startColumn':0x0,'endColumn':_0x54479b-0x1}}})),_0x54479b<_0x53509f[_0x505b52(0x27f)]&&(_0x3b29e8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x186)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':0x0,'endRow':_0x1eef49-0x1,'startColumn':_0x54479b,'endColumn':_0x53509f[_0x505b52(0x27f)]-0x1}}}),_0x34bfe8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x235)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':0x0,'endRow':_0x1eef49-0x1,'startColumn':_0x54479b,'endColumn':_0x53509f['colCount']-0x1}}})),{'undos':_0x34bfe8,'redos':_0x3b29e8};}function _0x4b360e(_0x2af640){const _0xd3dc8d=_0x49f7c3;let _0x26dd54=0x0;for(let _0xff8dcc=0x0;_0xff8dcc<_0x2af640[_0xd3dc8d(0x264)];_0xff8dcc++){const _0x106682=_0x2af640[_0xd3dc8d(0x117)](_0xff8dcc);_0x106682>=0x4e00&&_0x106682<=0x9fff||_0x106682>=0x3000&&_0x106682<=0x303f||_0x106682>=0xff00&&_0x106682<=0xffef?_0x26dd54+=0x2:_0x26dd54+=0x1;}return _0x26dd54;}function _0x5c5782(_0x37725f,_0x1041c5,_0x1f373e,_0xb9f48e){const _0x5290a8=_0x49f7c3;var _0x46bd6a,_0x3acaaf,_0x338235,_0x15b524;const {rowCount:_0x3acf0f,colCount:_0x43b099,headerMap:_0x553a6c}=_0x37725f,_0x1ec4db=0x64,_0x5f48fb=Math[_0x5290a8(0x214)](_0x3acf0f,_0x1ec4db),_0x47647a=Math['min'](_0x43b099,_0x1ec4db);let _0x23bea4='',_0x10a595=0x0;for(let _0x41977e=0x0;_0x41977e<_0x5f48fb;_0x41977e++)for(let _0x57bbbe=0x0;_0x57bbbe<_0x47647a;_0x57bbbe++){const _0x624c9d={...(_0x3acaaf=(_0x46bd6a=_0x37725f[_0x5290a8(0x267)])==null?void 0x0:_0x46bd6a[_0x41977e])==null?void 0x0:_0x3acaaf[_0x57bbbe]},_0x587885=(_0x338235=_0x553a6c[_0x41977e])==null?void 0x0:_0x338235[_0x5290a8(0x1ce)],_0x140833=_0xb9f48e[_0x587885];let _0x407aea=_0x37725f[_0x5290a8(0x1a0)](_0x41977e,_0x57bbbe);if(_0x624c9d){const _0x4e5052=_0x1f373e?_0x57bbbe===0x0&&((_0x15b524=_0x37725f['getHeaderMapItem'](_0x57bbbe+0x1))==null?void 0x0:_0x15b524[_0x5290a8(0x198)]):!0x1;_0x407aea=_0x5bb57f(_0x624c9d,_0x4e5052,_0x140833,_0x1041c5);}if(_0x407aea!==void 0x0){const _0x52d7cb=_0x4b360e(String(_0x407aea));_0x10a595<_0x52d7cb&&(_0x23bea4=String(_0x407aea),_0x10a595=_0x52d7cb);}}return _0x23bea4;}function _0x6e0cd3(_0x2ddacd){const _0x35abc5=_0x49f7c3,{rowCount:_0xfbc4e4,colCount:_0x8247da}=_0x2ddacd;let _0x1fc88b='',_0x44c8f1=0x0;for(let _0x3f15ba=_0xfbc4e4-0x1;_0x3f15ba>0x0&&_0x3f15ba>_0xfbc4e4-0x3;_0x3f15ba--)for(let _0x42f831=0x0;_0x42f831<_0x8247da;_0x42f831++){const _0x28a003=_0x2ddacd['getValue'](_0x3f15ba,_0x42f831);if(_0x28a003!==void 0x0){const _0x43dbcf=String(_0x28a003)[_0x35abc5(0x264)];_0x44c8f1<_0x43dbcf&&(_0x1fc88b=String(_0x28a003),_0x44c8f1=_0x43dbcf);}}return _0x1fc88b;}function _0x55b0a8(_0x1926a9){const _0x5e1765=_0x49f7c3,{rowCount:_0x6bfdc9,colCount:_0x5a8298}=_0x1926a9;let _0x2ecc62='',_0x2f7a64=0x0;for(let _0x387a35=0x0;_0x387a35<_0x6bfdc9;_0x387a35++)for(let _0x3498c3=0x0;_0x3498c3<_0x5a8298;_0x3498c3++){const _0x38a245=_0x1926a9['getValue'](_0x387a35,_0x3498c3);if(_0x38a245!==void 0x0){const _0x34081f=String(_0x38a245)[_0x5e1765(0x264)];_0x2f7a64<_0x34081f&&(_0x2ecc62=String(_0x38a245),_0x2f7a64=_0x34081f);}}return _0x2ecc62;}function _0x1acbf7(_0x32481e,_0x59817a){const _0x17f486=_0x49f7c3,{rowFields:_0x316139,columnFields:_0x29ca89,valueFields:_0xbd90d,filterFields:_0x42bab6,dimension:_0x2eddea,measure:_0x71437}=_0x59817a;for(const _0x4a35a2 of _0x316139){const _0x26d0aa=_0x2eddea[_0x4a35a2];_0x26d0aa&&_0x32481e[_0x17f486(0x14e)](_0x26d0aa[_0x17f486(0x3e8)])&&(_0x32481e[_0x17f486(0x27e)](_0x26d0aa[_0x17f486(0x3e8)],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x1ba)],void 0x0,_0x4a35a2),_0x26d0aa['displayName']&&_0x32481e[_0x17f486(0x240)](_0x26d0aa['id'],_0x26d0aa[_0x17f486(0x35a)]),_0x26d0aa[_0x17f486(0x2a8)]&&_0x32481e[_0x17f486(0x1b7)](_0x26d0aa['id'],_0x26d0aa['sortInfo']),_0x26d0aa[_0x17f486(0x1ed)]&&_0x32481e[_0x17f486(0x1d8)](_0x26d0aa['id'],_0x26d0aa[_0x17f486(0x1ed)]));}for(const _0x21f3ed of _0x29ca89){const _0x1f7b0f=_0x2eddea[_0x21f3ed];_0x1f7b0f&&_0x32481e[_0x17f486(0x14e)](_0x1f7b0f[_0x17f486(0x3e8)])&&(_0x32481e[_0x17f486(0x27e)](_0x1f7b0f[_0x17f486(0x3e8)],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x10c)],void 0x0,_0x21f3ed),_0x1f7b0f['sortInfo']&&_0x32481e[_0x17f486(0x1b7)](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x2a8)]),_0x1f7b0f['filterInfo']&&_0x32481e['setLabelFilterInfo'](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x1ed)]),_0x1f7b0f[_0x17f486(0x35a)]&&_0x32481e['renameField'](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x35a)]));}for(const _0x551415 of _0x42bab6){const _0x4a07b2=_0x2eddea[_0x551415];_0x4a07b2&&_0x32481e[_0x17f486(0x14e)](_0x4a07b2['dataFieldId'])&&(_0x32481e[_0x17f486(0x27e)](_0x4a07b2[_0x17f486(0x3e8)],_0x2d316f['PivotTableFiledAreaEnum'][_0x17f486(0x15c)],void 0x0,_0x551415),_0x4a07b2[_0x17f486(0x2a8)]&&_0x32481e[_0x17f486(0x1b7)](_0x4a07b2['id'],_0x4a07b2[_0x17f486(0x2a8)]),_0x4a07b2['filterInfo']&&_0x32481e[_0x17f486(0x1d8)](_0x4a07b2['id'],_0x4a07b2[_0x17f486(0x1ed)]),_0x4a07b2[_0x17f486(0x35a)]&&_0x32481e[_0x17f486(0x240)](_0x4a07b2['id'],_0x4a07b2['displayName']));}for(const _0x248486 of _0xbd90d){const _0x27a384=_0x71437[_0x248486];_0x27a384&&_0x32481e[_0x17f486(0x14e)](_0x27a384['dataFieldId'])&&(_0x32481e[_0x17f486(0x27e)](_0x27a384['dataFieldId'],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x30d)],void 0x0,_0x248486),_0x27a384['subtotal']!==void 0x0&&_0x32481e['setSubtotalType'](_0x248486,_0x27a384[_0x17f486(0x1dc)]),_0x27a384[_0x17f486(0xd4)]&&_0x32481e[_0x17f486(0xde)](_0x248486,_0x27a384[_0x17f486(0xd4)]),_0x27a384[_0x17f486(0x35a)]&&_0x32481e['renameField'](_0x27a384['id'],_0x27a384['displayName']));}const _0x43691b=_0x59817a[_0x17f486(0x328)];for(const {fieldId:_0x4798b9,filterInfo:_0x5c5f68}of _0x43691b)_0x32481e[_0x17f486(0x262)](_0x4798b9,_0x5c5f68);}function _0x54733d(_0x426216,_0x3e7933){const _0x260d19=_0x49f7c3,_0x3e142a=[];_0x3e7933===_0x2d316f[_0x260d19(0x137)][_0x260d19(0x1ba)]&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x1ba)],_0x228621=>{const _0x20eb3b=_0x260d19;_0x3e142a['push'](_0x228621[_0x20eb3b(0x2e7)]());}),_0x3e7933===_0x2d316f['PivotTableFiledAreaEnum']['Column']&&_0x426216['iterateFieldByArea'](_0x2d316f[_0x260d19(0x137)][_0x260d19(0x10c)],_0xa07283=>{const _0x1b200e=_0x260d19;_0x3e142a[_0x1b200e(0x3d4)](_0xa07283[_0x1b200e(0x2e7)]());}),_0x3e7933===_0x2d316f[_0x260d19(0x137)]['Filter']&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x15c)],_0x4c039b=>{const _0x5b2b2c=_0x260d19;_0x3e142a['push'](_0x4c039b[_0x5b2b2c(0x2e7)]());}),_0x3e7933===_0x2d316f[_0x260d19(0x137)][_0x260d19(0x30d)]&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x30d)],_0x5bd020=>{_0x3e142a['push'](_0x5bd020['getId']());}),_0x3e7933===void 0x0&&_0x426216[_0x260d19(0x3db)](_0x439cf8=>{const _0xadc9b2=_0x260d19;_0x3e142a[_0xadc9b2(0x3d4)](_0x439cf8[_0xadc9b2(0x2e7)]());});const _0x16c15f=_0x3e142a[_0x260d19(0x264)];for(let _0x3971de=_0x16c15f-0x1;_0x3971de>=0x0;_0x3971de--)_0x426216['removeField'](_0x3e142a[_0x3971de]);const _0x21794e=_0x426216[_0x260d19(0x3bc)]();for(const _0x253582 in _0x21794e)_0x426216[_0x260d19(0x1e6)](_0x253582);}function _0x2b16d7(_0x8534c3,_0x362a75){const _0x430eaf=_0x49f7c3,_0x1bc983=new Date(_0x2d316f[_0x430eaf(0x2e2)](_0x362a75)),_0x57e5d8=new Date(_0x2d316f[_0x430eaf(0x2e2)](_0x8534c3)),_0x5802bf=_0x1bc983[_0x430eaf(0x26d)](),_0x535312=_0x57e5d8['getFullYear'](),_0x4142a4=_0x1bc983[_0x430eaf(0x327)](),_0x57ea86=_0x57e5d8[_0x430eaf(0x327)](),_0x4adddf=_0x1bc983[_0x430eaf(0x182)](),_0x3bf31c=_0x57e5d8[_0x430eaf(0x182)](),_0x31dd7e=_0x5802bf===_0x535312,_0x543b95=_0x31dd7e&&_0x4142a4===_0x57ea86;return _0x31dd7e&&_0x543b95&&!(_0x543b95&&_0x4adddf===_0x3bf31c)?_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x11b)]:_0x31dd7e&&!_0x543b95?_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x2cb)]:_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x23c)];}function _0x3b9b16(_0x1ef29c,_0x393ff2){const _0x1f0422=_0x49f7c3,_0x3d0fb1=_0x1ef29c[_0x1f0422(0x392)](_0x237829[_0x1f0422(0x188)])[_0x1f0422(0x260)]();let _0x169894='';switch(_0x393ff2){case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x11b)]:_0x169894=_0x3d0fb1[_0x1f0422(0x164)];break;case _0x2d316f[_0x1f0422(0x286)]['YearMonth']:_0x169894=_0x3d0fb1[_0x1f0422(0x3c7)];break;case _0x2d316f[_0x1f0422(0x286)]['Year']:_0x169894=_0x3d0fb1[_0x1f0422(0x35c)];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum']['Month']:_0x169894=_0x3d0fb1['sheets-pivot.dateGroup.month'];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x25e)]:_0x169894=_0x3d0fb1['sheets-pivot.dateGroup.quarter'];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum']['Date']:_0x169894=_0x3d0fb1[_0x1f0422(0xdd)];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum'][_0x1f0422(0x21a)]:_0x169894=_0x3d0fb1[_0x1f0422(0x154)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x2f9)]:_0x169894=_0x3d0fb1[_0x1f0422(0x352)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0xce)]:_0x169894=_0x3d0fb1[_0x1f0422(0xf4)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x1a5)]:_0x169894=_0x3d0fb1[_0x1f0422(0x22c)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x2dd)]:_0x169894=_0x3d0fb1[_0x1f0422(0x337)];break;default:_0x169894='';break;}return _0x169894;}const _0x242464='sheets-pivot.config',_0x2ae668={};var _0x47c21a=Object['getOwnPropertyDescriptor'],_0x100cf4=(_0x313da0,_0x4acdb0,_0x7bf8f9,_0x3d4c62)=>{const _0x2a1d01=_0x49f7c3;for(var _0x393776=_0x3d4c62>0x1?void 0x0:_0x3d4c62?_0x47c21a(_0x4acdb0,_0x7bf8f9):_0x4acdb0,_0x56027d=_0x313da0[_0x2a1d01(0x264)]-0x1,_0x495e04;_0x56027d>=0x0;_0x56027d--)(_0x495e04=_0x313da0[_0x56027d])&&(_0x393776=_0x495e04(_0x393776)||_0x393776);return _0x393776;},_0x10251b=(_0x35540c,_0x2e9f5b)=>(_0x5662f6,_0x20a39f)=>_0x2e9f5b(_0x5662f6,_0x20a39f,_0x35540c);_0x237829[_0x49f7c3(0x3ae)]=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x2cec1e,_0x42cbee,_0x3ec782,_0x57209a,_0x43d1ed){const _0x42feb9=_0x49f7c3;super(),_0x2a34b8(this,_0x42feb9(0xfc),new Map()),_0x2a34b8(this,'_collectionConfigModel',new Map()),_0x2a34b8(this,'_pivotTableRangeInfo',new Map()),_0x2a34b8(this,_0x42feb9(0x3d8),new Map()),_0x2a34b8(this,_0x42feb9(0x2b4),new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x381),new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x1cb),this[_0x42feb9(0x381)]['asObservable']()),_0x2a34b8(this,'_pivotConfigChange$',new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x3b4),this['_pivotConfigChange$'][_0x42feb9(0x105)]()),_0x2a34b8(this,_0x42feb9(0x28d),{}),_0x2a34b8(this,'configVersion$',this[_0x42feb9(0x2b4)][_0x42feb9(0x105)]()),(this[_0x42feb9(0x199)]=_0x2cec1e,this[_0x42feb9(0x32c)]=_0x42cbee,this['_univerInstanceService']=_0x3ec782,this[_0x42feb9(0x1c1)]=_0x57209a,this[_0x42feb9(0x25b)]=_0x43d1ed,this['_initLocale'](),this['_initUnitDisposed']());const _0xf316e2=this[_0x42feb9(0x25b)][_0x42feb9(0x1df)](_0x242464);(_0xf316e2==null?void 0x0:_0xf316e2[_0x42feb9(0x30a)])===!0x0&&this[_0x42feb9(0x1bd)]();}[_0x49f7c3(0x36b)](){const _0x366907=_0x49f7c3;this[_0x366907(0x3dd)](this['_univerInstanceService'][_0x366907(0x159)](_0x369ce1[_0x366907(0x3ab)][_0x366907(0x234)])[_0x366907(0x163)](_0x481445=>{const _0x17e550=_0x366907;this[_0x17e550(0x3f1)](_0x481445[_0x17e550(0x33e)]());}));}[_0x49f7c3(0x13c)](){const _0xfac7b6=_0x49f7c3;this['_pivotInitCompleted$'][_0xfac7b6(0x21c)](!0x0);}[_0x49f7c3(0x344)](){const _0x460062=_0x49f7c3,_0x5a569e=_0x1eaaf6(this[_0x460062(0x199)],_0x5a6c8d,'',{});this[_0x460062(0x28d)]=_0x5a569e,this['_commandService']['executeCommand'](_0x59c387['id'],{'textInfo':_0x5a569e},{'onlyLocal':!0x0});}[_0x49f7c3(0x260)](){const _0x50b9b8=_0x49f7c3;return this[_0x50b9b8(0x28d)];}[_0x49f7c3(0x3b5)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x223318,_0x491892){const _0x1834cf=_0x49f7c3;this[_0x1834cf(0x36a)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x223318),this[_0x1834cf(0x3e7)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x491892);}[_0x49f7c3(0x362)](_0x345bb1,_0x461663,_0x35137b){const _0x1ad1f2=_0x49f7c3;var _0x1ecb8f;const _0x3bd7da=(_0x1ecb8f=this[_0x1ad1f2(0xfc)][_0x1ad1f2(0x392)](_0x345bb1))==null?void 0x0:_0x1ecb8f['get'](_0x461663);if(_0x3bd7da)return _0x3bd7da['get'](_0x35137b);}[_0x49f7c3(0x325)](_0x4fb913,_0x164d4f){const _0x2a4896=_0x49f7c3,_0x29b208=this[_0x2a4896(0xfc)][_0x2a4896(0x392)](_0x4fb913);if(_0x29b208){for(const [_0x1b8f27,_0x12c694]of _0x29b208[_0x2a4896(0x21d)]())for(const [_0x4c3bdd,_0xf9fbee]of _0x12c694[_0x2a4896(0x21d)]())if(_0x4c3bdd===_0x164d4f)return _0xf9fbee[_0x2a4896(0xf9)];}}['getTargetByPivotId'](_0x44dbff,_0x215469,_0x3feabc){const _0x39d41a=_0x49f7c3,_0x41b7a9=this[_0x39d41a(0x362)](_0x44dbff,_0x215469,_0x3feabc);return _0x41b7a9==null?void 0x0:_0x41b7a9[_0x39d41a(0xf9)];}[_0x49f7c3(0x200)](_0x19dd0d,_0x3cd371){const _0x5e646a=_0x49f7c3;var _0x22aa09;return(_0x22aa09=this[_0x5e646a(0xfc)][_0x5e646a(0x392)](_0x19dd0d))==null?void 0x0:_0x22aa09[_0x5e646a(0x392)](_0x3cd371);}['updateConfigCache'](_0xa7a1e8,_0x122dbf,_0x3aae1b,_0x427393){const _0x932dda=_0x49f7c3,_0x4904af=this[_0x932dda(0x304)](_0xa7a1e8,_0x122dbf);_0x427393?_0x4904af[_0x932dda(0x1aa)](_0x3aae1b,_0x427393):_0x4904af['delete'](_0x3aae1b),this[_0x932dda(0x232)][_0x932dda(0x21c)]({'unitId':_0xa7a1e8,'subUnitId':_0x122dbf,'pivotTableId':_0x3aae1b,'pivotTableConfig':_0x427393});}['getCollection'](_0xb6b5bf,_0x127ed1){const _0x9a1d7c=_0x49f7c3;var _0x1129a8;return(_0x1129a8=this[_0x9a1d7c(0x3c1)][_0x9a1d7c(0x392)](_0xb6b5bf))==null?void 0x0:_0x1129a8[_0x9a1d7c(0x15e)][_0x127ed1];}[_0x49f7c3(0x3f5)](_0x215137,_0x5dd553){const _0x15e851=_0x49f7c3;this[_0x15e851(0x3c1)]['set'](_0x215137,_0x5dd553),this[_0x15e851(0x2b4)][_0x15e851(0x21c)](Math['random']());}['_ensurePivotMap'](_0x298847,_0x2d60f2){const _0x4bf212=_0x49f7c3;let _0xde33ea=this[_0x4bf212(0xfc)]['get'](_0x298847);_0xde33ea||(_0xde33ea=new Map(),this[_0x4bf212(0xfc)][_0x4bf212(0x1aa)](_0x298847,_0xde33ea));let _0x55af3e=_0xde33ea['get'](_0x2d60f2);return _0x55af3e||(_0x55af3e=new Map(),_0xde33ea[_0x4bf212(0x1aa)](_0x2d60f2,_0x55af3e)),_0x55af3e;}['_ensurePivotTableRangeInfo'](_0x5c4ebc,_0x4f701a){const _0x4f8172=_0x49f7c3;let _0x179e0f=this[_0x4f8172(0x377)][_0x4f8172(0x392)](_0x5c4ebc);_0x179e0f||(_0x179e0f=new Map(),this['_pivotTableRangeInfo'][_0x4f8172(0x1aa)](_0x5c4ebc,_0x179e0f));let _0x541130=_0x179e0f[_0x4f8172(0x392)](_0x4f701a);return _0x541130||(_0x541130=new Map(),_0x179e0f[_0x4f8172(0x1aa)](_0x4f701a,_0x541130)),_0x541130;}[_0x49f7c3(0x3bf)](_0x198334,_0xd35303){const _0x1e8907=_0x49f7c3;let _0x5e2286=this['_pivotTableMatrixInfo'][_0x1e8907(0x392)](_0x198334);_0x5e2286||(_0x5e2286=new Map(),this[_0x1e8907(0x3d8)][_0x1e8907(0x1aa)](_0x198334,_0x5e2286));let _0x4e57fa=_0x5e2286[_0x1e8907(0x392)](_0xd35303);return _0x4e57fa||(_0x4e57fa=new Map(),_0x5e2286[_0x1e8907(0x1aa)](_0xd35303,_0x4e57fa)),_0x4e57fa;}[_0x49f7c3(0x3e7)](_0x420b17,_0x20e44e,_0x2c8ba9,_0xbe460c){const _0x5f0bba=_0x49f7c3;var _0x1bd67e;const _0x53432b=this['_ensurePivotTableRangeInfo'](_0x420b17,_0x20e44e),_0x1685b3=(_0x1bd67e=_0x53432b[_0x5f0bba(0x392)](_0x2c8ba9))==null?void 0x0:_0x1bd67e[_0x5f0bba(0x35e)];_0x53432b[_0x5f0bba(0x1aa)](_0x2c8ba9,{'oldRangeInfo':_0x1685b3,'rangeInfo':_0xbe460c});}[_0x49f7c3(0x36a)](_0x448f7e,_0x3a8200,_0x3d74ff,_0x151483){const _0x8a9d6c=_0x49f7c3;var _0x2cbe9b;const _0x4646d5=this[_0x8a9d6c(0x3bf)](_0x448f7e,_0x3a8200),_0x327d6d=(_0x2cbe9b=_0x4646d5[_0x8a9d6c(0x392)](_0x3d74ff))==null?void 0x0:_0x2cbe9b[_0x8a9d6c(0x3a3)];_0x4646d5[_0x8a9d6c(0x1aa)](_0x3d74ff,{'oldMatrix':_0x327d6d,'matrix':_0x151483});}['getPivotTableRangeInfo'](_0x29c750,_0x49086c,_0x323be9){const _0x8a1b58=_0x49f7c3;var _0x2404f3,_0x2eaa43;return(_0x2eaa43=(_0x2404f3=this[_0x8a1b58(0x377)][_0x8a1b58(0x392)](_0x29c750))==null?void 0x0:_0x2404f3[_0x8a1b58(0x392)](_0x49086c))==null?void 0x0:_0x2eaa43[_0x8a1b58(0x392)](_0x323be9);}[_0x49f7c3(0x333)](_0x134aaa,_0x5a7711,_0x4c4dbc){const _0xc9cdca=_0x49f7c3;var _0x463f43,_0x5054b3;return(_0x5054b3=(_0x463f43=this[_0xc9cdca(0x3d8)][_0xc9cdca(0x392)](_0x134aaa))==null?void 0x0:_0x463f43[_0xc9cdca(0x392)](_0x5a7711))==null?void 0x0:_0x5054b3['get'](_0x4c4dbc);}[_0x49f7c3(0x3f1)](_0x1c0238){const _0x1142a1=_0x49f7c3;this[_0x1142a1(0xfc)][_0x1142a1(0x223)](_0x1c0238),this[_0x1142a1(0x3c1)]['delete'](_0x1c0238);}[_0x49f7c3(0x197)](_0x519f9d){const _0x5cdff9=_0x49f7c3,_0x3c6a31={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5cdff9(0x3c1)]['get'](_0x519f9d)&&(_0x3c6a31[_0x5cdff9(0xea)][_0x519f9d]=this[_0x5cdff9(0x3c1)][_0x5cdff9(0x392)](_0x519f9d)),this[_0x5cdff9(0xfc)][_0x5cdff9(0x392)](_0x519f9d)){_0x3c6a31[_0x5cdff9(0x312)][_0x519f9d]={};const _0x4e8c25=this[_0x5cdff9(0xfc)][_0x5cdff9(0x392)](_0x519f9d);_0x4e8c25!=null&&_0x4e8c25[_0x5cdff9(0x390)]&&[..._0x4e8c25[_0x5cdff9(0x3e2)]()][_0x5cdff9(0x10a)](_0x4fa333=>{const _0x2f6f46=_0x5cdff9,_0xe5002a=_0x4e8c25[_0x2f6f46(0x392)](_0x4fa333);_0xe5002a!=null&&_0xe5002a['size']&&(_0x3c6a31[_0x2f6f46(0x312)][_0x519f9d][_0x4fa333]={},[..._0xe5002a[_0x2f6f46(0x3e2)]()]['forEach'](_0x5a9364=>{const _0x6cbc75=_0x2f6f46,_0x43aeaa=_0xe5002a['get'](_0x5a9364);_0x43aeaa&&(_0x3c6a31[_0x6cbc75(0x312)][_0x519f9d][_0x4fa333][_0x5a9364]=_0x43aeaa);}));});}return _0x3c6a31;}[_0x49f7c3(0x1bd)](){const _0x2bdd87=_0x49f7c3;this[_0x2bdd87(0x3dd)](this['_resourceManagerService'][_0x2bdd87(0x356)]({'toJson':_0x34b279=>JSON[_0x2bdd87(0x3e6)](this[_0x2bdd87(0x197)](_0x34b279)),'parseJson':_0x4ea048=>({}),'businesses':[_0x369ce1[_0x2bdd87(0x3ab)][_0x2bdd87(0x234)]],'pluginName':_0x294572,'onLoad':(_0x5086b1,_0x15c19b)=>{},'onUnLoad':_0x104373=>{const _0x6a616a=_0x2bdd87;this[_0x6a616a(0x3f1)](_0x104373);}}));}},_0x237829['SheetsPivotTableConfigModel']=_0x100cf4([_0x10251b(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0x10251b(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0x10251b(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x389)])),_0x10251b(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x2dc)])),_0x10251b(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IConfigService']))],_0x237829[_0x49f7c3(0x3ae)]);var _0x207fcb=Object[_0x49f7c3(0x1cd)],_0x4bb45c=(_0x5a3129,_0x4964c1,_0x3dc0cc,_0x5249e9)=>{for(var _0x337e31=_0x5249e9>0x1?void 0x0:_0x5249e9?_0x207fcb(_0x4964c1,_0x3dc0cc):_0x4964c1,_0x350934=_0x5a3129['length']-0x1,_0x326ac4;_0x350934>=0x0;_0x350934--)(_0x326ac4=_0x5a3129[_0x350934])&&(_0x337e31=_0x326ac4(_0x337e31)||_0x337e31);return _0x337e31;},_0x214e46=(_0x4592bd,_0x4e69a7)=>(_0x47cff5,_0x5ec825)=>_0x4e69a7(_0x47cff5,_0x5ec825,_0x4592bd);_0x237829['SheetsPivotTableAdaptorModel']=class extends _0x369ce1['Disposable']{constructor(_0x429dcb,_0x25b5b4,_0x263fb1,_0x5a70df,_0x2f8b4f){const _0x4aaddb=_0x49f7c3;super(),_0x2a34b8(this,_0x4aaddb(0x3c2),new Map()),_0x2a34b8(this,'_pivotRenderValueMatrixCache',new Map()),_0x2a34b8(this,'_markDirty$',new _0x2c0848['Subject']()),_0x2a34b8(this,_0x4aaddb(0xda),this[_0x4aaddb(0x2e4)][_0x4aaddb(0x105)]()),_0x2a34b8(this,_0x4aaddb(0x3e0),new _0x2c0848[(_0x4aaddb(0x31c))]()),_0x2a34b8(this,_0x4aaddb(0x19e),this['_viewUpdate$'][_0x4aaddb(0x105)]()),_0x2a34b8(this,_0x4aaddb(0x28d)),(this[_0x4aaddb(0x123)]=_0x429dcb,this[_0x4aaddb(0x199)]=_0x25b5b4,this[_0x4aaddb(0x1fa)]=_0x263fb1,this[_0x4aaddb(0x3a4)]=_0x5a70df,this[_0x4aaddb(0x39d)]=_0x2f8b4f,this[_0x4aaddb(0x344)](),this['_initUnitDisposed']());}[_0x49f7c3(0x36b)](){const _0x6c6970=_0x49f7c3;this['disposeWithMe'](this[_0x6c6970(0x3a4)][_0x6c6970(0x159)](_0x369ce1[_0x6c6970(0x3ab)][_0x6c6970(0x234)])[_0x6c6970(0x163)](_0x54eff3=>{const _0x2dd333=_0x6c6970;this[_0x2dd333(0x3f1)](_0x54eff3[_0x2dd333(0x33e)]());}));}[_0x49f7c3(0x344)](){const _0x3d2d62=_0x49f7c3;this[_0x3d2d62(0x28d)]=_0x1eaaf6(this[_0x3d2d62(0x199)],_0x5a6c8d,'',{});}[_0x49f7c3(0x34e)](_0x322ff4){const _0x26ca81=_0x49f7c3,{view:_0xbc3b04,unitId:_0x460802,subUnitId:_0x808198,pivotTableId:_0x1c9e91,type:_0x49c218}=_0x322ff4,_0x5442fd=this['_sheetsPivotTableConfigModel'][_0x26ca81(0x362)](_0x460802,_0x808198,_0x1c9e91);if(!_0xbc3b04||!_0x5442fd||_0x49c218===_0x48b491[_0x26ca81(0x2f7)])return;const {pageView:_0x5ea874,cornerView:_0x20fb5,rowView:_0xdeb6c2,colView:_0x273a62,dataView:_0x48fd4e}=_0xbc3b04,_0x36fb94=_0x5442fd[_0x26ca81(0xf9)],_0x1e10e8=_0x5442fd[_0x26ca81(0x14a)],_0x18c389=this[_0x26ca81(0x2e9)](_0x460802,_0x808198),_0x2d05fb=this[_0x26ca81(0x23a)](_0x460802,_0x808198,_0x1c9e91);if(_0x1e10e8)return this[_0x26ca81(0x101)](_0x322ff4,_0x18c389,_0x36fb94,_0x2d05fb);{const _0x3d5b69=_0x485549(_0x36fb94,_0x5ea874,!0x0),_0x577fcf=_0x5ea874[_0x26ca81(0x129)]>=0x0?_0x5ea874['lastRow']+0x1:0x0,_0x3e0920=_0x20fb5[_0x26ca81(0x268)](),_0x10b34a=_0x20fb5['getColCount'](),_0x22ef7f=_0x3d5b69['length']>0x0?_0x523b9d:0x0,_0x1a35a5=_0x485549({'row':_0x36fb94[_0x26ca81(0x27d)]+_0x577fcf+_0x22ef7f,'col':_0x36fb94['col']},_0x20fb5,!0x1,!0x1),_0x25df0a=_0x485549({'row':_0x36fb94['row']+_0x577fcf+_0x22ef7f+_0x3e0920,'col':_0x36fb94[_0x26ca81(0x2d3)]},_0xdeb6c2,!0x1,!0x0),_0x3711c2=_0x485549({'row':_0x36fb94[_0x26ca81(0x27d)]+_0x577fcf+_0x22ef7f,'col':_0x36fb94[_0x26ca81(0x2d3)]+_0x10b34a},_0x273a62,!0x1,!0x0),_0x3d4527=_0x485549({'row':_0x36fb94['row']+_0x577fcf+_0x22ef7f+_0x3e0920,'col':_0x36fb94[_0x26ca81(0x2d3)]+_0x10b34a},_0x48fd4e,!0x1,!0x1);_0x2d05fb[_0x26ca81(0x2e6)]={'rowRanges':_0x25df0a,'colRanges':_0x3711c2,'cornerRanges':_0x1a35a5,'dataRanges':_0x3d4527,'pageRanges':_0x3d5b69};const _0x40b8f3=_0x2df028(this[_0x26ca81(0x199)],_0xbc3b04,_0x5442fd,this[_0x26ca81(0x28d)]),{valueMatrix:_0x3b7214,rowInfo:_0x5965f9,colInfo:_0x53a49a,cornerInfo:_0x2b712f,rowHeaderMap:_0x1bce99,colHeaderMap:_0x2fab2f}=_0x40b8f3;return _0x2d05fb[_0x26ca81(0x142)]={'rowInfo':_0x5965f9,'colInfo':_0x53a49a,'cornerInfo':_0x2b712f},_0x2d05fb[_0x26ca81(0x303)]={'rowHeaderMap':_0x1bce99,'colHeaderMap':_0x2fab2f},_0x3b7214['forEach']((_0x11f41e,_0x15ce99)=>{const _0x5ad76c=_0x26ca81;Object[_0x5ad76c(0x3e2)](_0x15ce99)[_0x5ad76c(0x10a)](_0x1029a3=>{const _0xec1f88=_0x5ad76c,_0x51f891=+_0x1029a3,_0x327498=_0x3b7214['getValue'](_0x11f41e,_0x51f891);_0x18c389[_0xec1f88(0x1e4)](_0x11f41e,_0x51f891,_0x327498);});}),this[_0x26ca81(0x3e0)]['next']({'unitId':_0x460802,'subUnitId':_0x808198,'valueMatrix':_0x18c389,'rangesCache':_0x2d05fb['rangesInfo'],'pivotTableId':_0x1c9e91,'type':_0x322ff4[_0x26ca81(0x2d0)]}),this[_0x26ca81(0x1fa)][_0x26ca81(0x3b5)](_0x460802,_0x808198,_0x1c9e91,_0x18c389,_0x2d05fb[_0x26ca81(0x2e6)]),this[_0x26ca81(0x39d)][_0x26ca81(0x295)](_0x460802,_0x808198,_0x4b1e68,this['_createExclusiveRange'](_0x2d05fb['rangesInfo'],_0x1c9e91)),{'rangeCache':_0x2d05fb[_0x26ca81(0x2e6)],'matrix':_0x18c389};}}[_0x49f7c3(0x101)](_0xe7178f,_0x2bbb33,_0x2d3c3e,_0x3dd1ad){const _0x4f1476=_0x49f7c3,_0x4e84ac=this[_0x4f1476(0x123)]['t'],{unitId:_0x5cb88c,subUnitId:_0x5c5d5f,pivotTableId:_0x24d33b}=_0xe7178f,_0x234074={'filter':_0x4e84ac('sheets-pivot.emptyPivot.filter'),'row':_0x4e84ac(_0x4f1476(0x1ee)),'column':_0x4e84ac(_0x4f1476(0x2fc)),'values':_0x4e84ac(_0x4f1476(0xe9))},{matrixCache:_0x2c40e1,rangesCache:_0x317025}=_0x322dd5(_0x234074,_0x2d3c3e);return _0x2c40e1[_0x4f1476(0x103)]((_0x54733c,_0x5c6700,_0x3f4fe0)=>{const _0x7a1c13=_0x4f1476;_0x2bbb33[_0x7a1c13(0x1e4)](_0x54733c,_0x5c6700,_0x3f4fe0);}),_0x3dd1ad['rangesInfo']=_0x317025,this[_0x4f1476(0x3e0)][_0x4f1476(0x21c)]({'unitId':_0x5cb88c,'subUnitId':_0x5c5d5f,'valueMatrix':_0x2bbb33,'rangesCache':_0x317025,'pivotTableId':_0x24d33b,'type':_0xe7178f[_0x4f1476(0x2d0)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x4f1476(0x3b5)](_0x5cb88c,_0x5c5d5f,_0x24d33b,_0x2bbb33,_0x317025),this[_0x4f1476(0x39d)][_0x4f1476(0x295)](_0x5cb88c,_0x5c5d5f,_0x4b1e68,this['_createExclusiveRange'](_0x317025,_0x24d33b)),{'rangeCache':_0x3dd1ad[_0x4f1476(0x2e6)],'matrix':_0x2bbb33};}[_0x49f7c3(0x143)](_0x2bee14,_0x276507){const _0x36d843=_0x49f7c3,_0x463199=[],_0x4f6f07=_0x2652bb(_0x2bee14);for(const _0x432f64 of _0x4f6f07)_0x463199[_0x36d843(0x3d4)]({'groupId':_0x276507,'range':_0x432f64});return _0x463199;}[_0x49f7c3(0x236)](_0x344331){const _0x45ffe2=_0x49f7c3;var _0x532061,_0x5f938e,_0x306af6,_0x285c17;const {pivotTableId:_0x3a892d,unitId:_0x47461b,subUnitId:_0x552792}=_0x344331;if(!_0x3a892d||!_0x47461b||!_0x552792)return;const _0x393fc7=this['_ensurePivotItemRenderValueMatrixCache'](_0x47461b,_0x552792),_0x1922a8=(_0x5f938e=(_0x532061=this[_0x45ffe2(0x3c2)]['get'](_0x47461b))==null?void 0x0:_0x532061[_0x45ffe2(0x392)](_0x552792))==null?void 0x0:_0x5f938e[_0x45ffe2(0x392)](_0x3a892d);if(_0x1922a8!=null&&_0x1922a8[_0x45ffe2(0x2e6)]){for(const _0x1bf1b1 of Object[_0x45ffe2(0x3e2)](_0x1922a8['rangesInfo']))_0x1922a8[_0x45ffe2(0x2e6)][_0x1bf1b1][_0x45ffe2(0x10a)](_0x23b459=>{const _0xfdf12d=_0x45ffe2;for(let _0x592160=_0x23b459['startRow'];_0x592160<=_0x23b459[_0xfdf12d(0x1bf)];_0x592160++)for(let _0x29e314=_0x23b459[_0xfdf12d(0xfd)];_0x29e314<=_0x23b459[_0xfdf12d(0x12b)];_0x29e314++)_0x393fc7[_0xfdf12d(0x3cf)](_0x592160,_0x29e314);});}_0x1922a8&&((_0x285c17=(_0x306af6=this[_0x45ffe2(0x3c2)]['get'](_0x47461b))==null?void 0x0:_0x306af6[_0x45ffe2(0x392)](_0x552792))==null||_0x285c17[_0x45ffe2(0x223)](_0x3a892d)),this[_0x45ffe2(0x3e0)][_0x45ffe2(0x21c)]({'unitId':_0x47461b,'subUnitId':_0x552792,'valueMatrix':_0x393fc7,'pivotTableId':_0x3a892d,'rangesCache':void 0x0,'type':_0x344331[_0x45ffe2(0x2d0)]}),this[_0x45ffe2(0x39d)][_0x45ffe2(0x3c3)](_0x47461b,_0x552792,_0x4b1e68,_0x3a892d);}[_0x49f7c3(0x23a)](_0x1defc4,_0x2f9971,_0x988bbc){const _0x3d5889=_0x49f7c3;var _0x524472,_0x57ed24,_0x765d8d,_0x513c72,_0x1b03e8,_0x3136d1;return this['_pivotRenderInfoCache'][_0x3d5889(0x1e8)](_0x1defc4)||this[_0x3d5889(0x3c2)]['set'](_0x1defc4,new Map()),(_0x524472=this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4))!=null&&_0x524472[_0x3d5889(0x1e8)](_0x2f9971)||(_0x57ed24=this['_pivotRenderInfoCache'][_0x3d5889(0x392)](_0x1defc4))==null||_0x57ed24[_0x3d5889(0x1aa)](_0x2f9971,new Map()),(_0x513c72=(_0x765d8d=this[_0x3d5889(0x3c2)]['get'](_0x1defc4))==null?void 0x0:_0x765d8d[_0x3d5889(0x392)](_0x2f9971))!=null&&_0x513c72[_0x3d5889(0x1e8)](_0x988bbc)||(_0x3136d1=(_0x1b03e8=this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4))==null?void 0x0:_0x1b03e8[_0x3d5889(0x392)](_0x2f9971))==null||_0x3136d1[_0x3d5889(0x1aa)](_0x988bbc,{}),this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4)[_0x3d5889(0x392)](_0x2f9971)[_0x3d5889(0x392)](_0x988bbc);}[_0x49f7c3(0x2e9)](_0x2ef6c6,_0x65556b){const _0x2d2d2e=_0x49f7c3;var _0xea873c,_0x405721;return this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x1e8)](_0x2ef6c6)||this['_pivotRenderValueMatrixCache'][_0x2d2d2e(0x1aa)](_0x2ef6c6,new Map()),(_0xea873c=this[_0x2d2d2e(0x1a8)]['get'](_0x2ef6c6))!=null&&_0xea873c[_0x2d2d2e(0x1e8)](_0x65556b)||(_0x405721=this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x392)](_0x2ef6c6))==null||_0x405721[_0x2d2d2e(0x1aa)](_0x65556b,new _0x369ce1[(_0x2d2d2e(0x2bf))]()),this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x392)](_0x2ef6c6)['get'](_0x65556b);}[_0x49f7c3(0x222)](_0xed51fe,_0x1d41e1,_0x5abde0,_0xe8983f){const _0x3e02cd=_0x49f7c3;var _0x688b42,_0x3f4101;const _0x5e1ee5=(_0x3f4101=(_0x688b42=this[_0x3e02cd(0x1a8)]['get'](_0xed51fe))==null?void 0x0:_0x688b42[_0x3e02cd(0x392)](_0x1d41e1))==null?void 0x0:_0x3f4101[_0x3e02cd(0x1a0)](_0x5abde0,_0xe8983f);if(_0x5e1ee5!=null)return _0x5e1ee5;}[_0x49f7c3(0xec)](_0x57f56d,_0x2a32ef,_0x27ba58,_0x44beba){const _0x416b42=_0x49f7c3;var _0x14b1d8;const _0x5e518c=_0x369ce1[_0x416b42(0x102)](_0x27ba58,_0x44beba),_0x41b478=(_0x14b1d8=this[_0x416b42(0x3c2)][_0x416b42(0x392)](_0x57f56d))==null?void 0x0:_0x14b1d8['get'](_0x2a32ef);return _0x41b478?Array['from'](_0x41b478[_0x416b42(0x3e2)]())['find'](_0x15fff4=>{const _0x5d1b7c=_0x416b42,_0x5e9fad=_0x41b478[_0x5d1b7c(0x392)](_0x15fff4),_0x528f84=_0x5e9fad==null?void 0x0:_0x5e9fad[_0x5d1b7c(0x2e6)];return _0x528f84?Object[_0x5d1b7c(0x3e2)](_0x528f84)[_0x5d1b7c(0x172)](_0x38633a=>_0x528f84[_0x38633a]['some'](_0x5f0ea6=>_0x369ce1[_0x5d1b7c(0x32a)][_0x5d1b7c(0x1f0)](_0x5f0ea6,_0x5e518c))):!0x1;}):void 0x0;}[_0x49f7c3(0x21b)](_0x8982f4,_0x12ac82,_0x54d2c0){const _0x5ab480=_0x49f7c3;var _0xb4bac6;const _0x2420f4=(_0xb4bac6=this['_pivotRenderInfoCache'][_0x5ab480(0x392)](_0x8982f4))==null?void 0x0:_0xb4bac6[_0x5ab480(0x392)](_0x12ac82),_0x54871c=[];return _0x2420f4&&Array['from'](_0x2420f4['keys']())[_0x5ab480(0x10a)](_0x555d09=>{const _0x41e476=_0x5ab480,_0x383108=_0x2420f4[_0x41e476(0x392)](_0x555d09),_0x5f49c9=_0x383108==null?void 0x0:_0x383108[_0x41e476(0x2e6)];if(_0x5f49c9)for(const _0x2fb998 of Object[_0x41e476(0x3a7)](_0x5f49c9)){let _0x5678a6=!0x1;for(const _0x14b617 of _0x2fb998)if(_0x369ce1[_0x41e476(0x32a)][_0x41e476(0xe7)](_0x14b617,_0x54d2c0)){_0x54871c['push'](_0x555d09),_0x5678a6=!0x0;break;}if(_0x5678a6)break;}}),_0x54871c;}[_0x49f7c3(0x3d3)](_0xf1aa13,_0x5bd1e5){const _0x4137fe=_0x49f7c3;var _0x69690a,_0x3879df;return(_0x3879df=(_0x69690a=this[_0x4137fe(0x1a8)][_0x4137fe(0x392)](_0xf1aa13))==null?void 0x0:_0x69690a['get'](_0x5bd1e5))!=null?_0x3879df:new _0x369ce1[(_0x4137fe(0x2bf))]();}[_0x49f7c3(0x147)](_0x1177a5,_0x1bcd50){const _0x3a1ab2=_0x49f7c3;var _0x5e413b;return(_0x5e413b=this['_pivotRenderInfoCache'][_0x3a1ab2(0x392)](_0x1177a5))==null?void 0x0:_0x5e413b[_0x3a1ab2(0x392)](_0x1bcd50);}['getPivotItemRenderInfoCache'](_0x17611e,_0x175598,_0xac57f0){const _0x1bd68e=_0x49f7c3;var _0x582284,_0x2aa590;return(_0x2aa590=(_0x582284=this[_0x1bd68e(0x3c2)]['get'](_0x17611e))==null?void 0x0:_0x582284[_0x1bd68e(0x392)](_0x175598))==null?void 0x0:_0x2aa590[_0x1bd68e(0x392)](_0xac57f0);}[_0x49f7c3(0x3f1)](_0x2f51a7){const _0x37299a=_0x49f7c3;this['_pivotRenderInfoCache'][_0x37299a(0x223)](_0x2f51a7),this[_0x37299a(0x1a8)][_0x37299a(0x223)](_0x2f51a7);}[_0x49f7c3(0xf2)](_0x53e93e,_0x352287){const _0x2851ec=_0x49f7c3;this[_0x2851ec(0x2e4)][_0x2851ec(0x21c)]({'unitId':_0x53e93e,'subUnitId':_0x352287});}},_0x237829[_0x49f7c3(0x10d)]=_0x4bb45c([_0x214e46(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x18e)])),_0x214e46(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0x214e46(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotTableConfigModel'])),_0x214e46(0x3,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x389)])),_0x214e46(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x3cc)]))],_0x237829[_0x49f7c3(0x10d)]);var _0x1faaf0=Object['getOwnPropertyDescriptor'],_0x48683e=(_0x2ec09a,_0x4d48f2,_0x2db359,_0x238f3c)=>{const _0x18765d=_0x49f7c3;for(var _0x4e0d8d=_0x238f3c>0x1?void 0x0:_0x238f3c?_0x1faaf0(_0x4d48f2,_0x2db359):_0x4d48f2,_0x54283f=_0x2ec09a[_0x18765d(0x264)]-0x1,_0xc7a447;_0x54283f>=0x0;_0x54283f--)(_0xc7a447=_0x2ec09a[_0x54283f])&&(_0x4e0d8d=_0xc7a447(_0x4e0d8d)||_0x4e0d8d);return _0x4e0d8d;},_0x13463c=(_0x238741,_0x4d96b5)=>(_0x22af5a,_0x291c57)=>_0x4d96b5(_0x22af5a,_0x291c57,_0x238741);_0x237829[_0x49f7c3(0x14b)]=class extends _0x369ce1['Disposable']{constructor(_0x1bb8d0,_0x365190){const _0x57885c=_0x49f7c3;super(),_0x2a34b8(this,'asyncInterceptor',new _0x369ce1[(_0x57885c(0xee))]({'PIVOT_PERFORM_CHECK':_0x2f016b})),_0x2a34b8(this,'interceptor',new _0x369ce1[(_0x57885c(0x17a))]({'PIVOT_MUTATION_GENERATE':_0x54cb75})),(this[_0x57885c(0xf5)]=_0x1bb8d0,this[_0x57885c(0x3ba)]=_0x365190,this[_0x57885c(0x38b)]());}[_0x49f7c3(0x38b)](){this['_initViewModelBySheetInterceptor']();}[_0x49f7c3(0x3d5)](_0x4758a6){const _0x130be2=_0x49f7c3;return this['asyncInterceptor'][_0x130be2(0x175)](_0x2f016b)(!0x1,_0x4758a6);}['_initViewModelBySheetInterceptor'](){const _0x57a106=_0x49f7c3;this[_0x57a106(0x3dd)](this[_0x57a106(0xf5)][_0x57a106(0x149)](_0x298fdb[_0x57a106(0x151)][_0x57a106(0x374)],{'priority':0xc8,'effect':_0x369ce1[_0x57a106(0x220)]['Value']|_0x369ce1[_0x57a106(0x220)][_0x57a106(0x26e)],'handler':(_0x1dc212,_0x288caf,_0x13bd9f)=>{const _0x5446f1=_0x57a106,{row:_0x3d2348,col:_0x42efe,unitId:_0x3b7d5f,subUnitId:_0x38e195,workbook:_0x11deac}=_0x288caf,_0x28fd56=this['_sheetsPivotTableAdaptorModel'][_0x5446f1(0x222)](_0x3b7d5f,_0x38e195,_0x3d2348,_0x42efe);if(!_0x28fd56)return _0x13bd9f(_0x1dc212);const _0x18e218={..._0x1dc212};(_0x28fd56['v']||_0x28fd56['v']===0x0)&&(_0x18e218['v']=_0x28fd56['v']),_0x28fd56['t']&&(_0x18e218['t']=_0x28fd56['t']);const _0x1552f9=(typeof(_0x1dc212==null?void 0x0:_0x1dc212['s'])==_0x5446f1(0x302)?_0x11deac['getStyles']()[_0x5446f1(0x392)](_0x1dc212==null?void 0x0:_0x1dc212['s']):_0x1dc212==null?void 0x0:_0x1dc212['s'])||{},_0x1bef85=_0x11deac[_0x5446f1(0x106)]()[_0x5446f1(0x392)](_0x28fd56['s']),_0x507105={..._0x1bef85,..._0x1552f9};_0x1bef85!=null&&_0x1bef85['n']&&(_0x507105['n']=_0x1bef85['n']);const _0x49081b=_0x11deac['getStyles']()[_0x5446f1(0x1e4)](_0x507105);return _0x18e218['s']=_0x49081b,(_0x28fd56['pbt']===_0x2d316f[_0x5446f1(0x2f5)][_0x5446f1(0x2b3)]||_0x28fd56['pbt']===_0x2d316f['PivotCellStyleTypeEnum'][_0x5446f1(0x139)])&&(_0x18e218['fontRenderExtension']={},_0x18e218[_0x5446f1(0x205)][_0x5446f1(0x261)]=_0x2acfa5),_0x13bd9f(_0x18e218);}}));}},_0x237829[_0x49f7c3(0x14b)]=_0x48683e([_0x13463c(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)])),_0x13463c(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x10d)]))],_0x237829[_0x49f7c3(0x14b)]);const _0x56b84e={'id':_0x49f7c3(0x319),'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'handler':(_0x5d72bb,_0x495ce9)=>{const _0x1c983d=_0x49f7c3;if(!_0x495ce9)return!0x1;if(!!_0x5d72bb[_0x1c983d(0x392)](_0x369ce1['IConfigService'])[_0x1c983d(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x403ef3,fieldJSON:_0x1ec1cf,unitId:_0x2519e2,subUnitId:_0x58d7bc}=_0x495ce9;let _0x32c06c;const {dataFieldType:_0x90b1cb,id:_0x2faa11,name:_0x261a68,hexCode:_0x16adf9,originalFieldId:_0x1c2ab2}=_0x1ec1cf;if(_0x90b1cb===_0x2d316f[_0x1c983d(0x107)]['dateGroupField']&&(_0x32c06c=new _0x2d316f[(_0x1c983d(0x3b3))](_0x2faa11,_0x261a68,_0x16adf9,_0x1c2ab2)),!_0x32c06c)return!0x1;const _0x558fcd=_0x5d72bb['get'](_0x237829[_0x1c983d(0x188)]),_0x5e6629=_0x558fcd[_0x1c983d(0x1f1)](_0x2519e2),_0x1e9db3=_0x5e6629[_0x1c983d(0x1c5)](_0x403ef3);_0x5e6629[_0x1c983d(0x1ab)](_0x32c06c),_0x1e9db3[_0x1c983d(0x322)](_0x32c06c['getId'](),_0x32c06c[_0x1c983d(0x1a9)]());const _0x478d32=_0x1e9db3[_0x1c983d(0x2aa)](_0x32c06c[_0x1c983d(0x371)]());_0x478d32&&_0x32c06c['refreshGroupField'](_0x478d32);const _0x3adfc7=_0x558fcd[_0x1c983d(0x362)](_0x2519e2,_0x58d7bc,_0x403ef3);return _0x558fcd[_0x1c983d(0x23e)]({'unitId':_0x2519e2,'subUnitId':_0x58d7bc,'token':_0x403ef3,'type':_0x48b491['Set'],'pivotConfig':_0x3adfc7}),!0x0;}},_0x20c243={'id':_0x49f7c3(0x18b),'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'handler':(_0x1a7ead,_0x3e668d)=>{const _0x254e09=_0x49f7c3;if(!_0x3e668d)return!0x1;if(!!_0x1a7ead[_0x254e09(0x392)](_0x369ce1['IConfigService'])[_0x254e09(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x2902f8,dataFieldId:_0xc790e8,unitId:_0x5ecd0c,subUnitId:_0x26c21e}=_0x3e668d,_0x3ca0a1=_0x1a7ead[_0x254e09(0x392)](_0x237829[_0x254e09(0x188)]),_0x4a4860=_0x3ca0a1[_0x254e09(0x1f1)](_0x5ecd0c);_0x4a4860[_0x254e09(0x1c5)](_0x2902f8)['deleteField'](_0xc790e8);let _0x1de395=!0x0;for(const _0x23e0fe in _0x4a4860[_0x254e09(0x15e)])if(_0x4a4860[_0x254e09(0x15e)][_0x23e0fe][_0x254e09(0x277)]()[_0x254e09(0xff)](_0xc790e8)){_0x1de395=!0x1;break;}_0x1de395&&_0x4a4860[_0x254e09(0x195)](_0xc790e8);const _0xa50aca=_0x3ca0a1[_0x254e09(0x362)](_0x5ecd0c,_0x26c21e,_0x2902f8);return _0x3ca0a1[_0x254e09(0x23e)]({'unitId':_0x5ecd0c,'subUnitId':_0x26c21e,'token':_0x2902f8,'type':_0x48b491[_0x254e09(0x1e7)],'pivotConfig':_0xa50aca}),!0x0;}};function _0xe7c158(_0xca6ddf,_0x2596c3){const _0x3ced97=_0x49f7c3;switch(_0x2596c3){case _0x2d316f['PivotTableFiledAreaEnum'][_0x3ced97(0x30d)]:return _0xca6ddf['valueFields'];case _0x2d316f[_0x3ced97(0x137)][_0x3ced97(0x15c)]:return _0xca6ddf['filterFields'];case _0x2d316f[_0x3ced97(0x137)][_0x3ced97(0x1ba)]:return _0xca6ddf[_0x3ced97(0x3a6)];case _0x2d316f['PivotTableFiledAreaEnum'][_0x3ced97(0x10c)]:return _0xca6ddf[_0x3ced97(0x225)];default:return[];}}function _0xf6bf33(_0x211cbf,_0x374793){const _0x352806=_0x49f7c3;return _0x211cbf[_0x352806(0x126)][_0x374793]||_0x211cbf[_0x352806(0x26f)][_0x374793];}function _0x57f22f(_0x2e343c,_0x15fd58){const _0x59d6be=_0x49f7c3,{area:_0x2c4de6,fieldJson:_0x437a9a,index:_0x433adc}=_0x15fd58;_0x2c4de6===_0x2d316f[_0x59d6be(0x137)][_0x59d6be(0x30d)]?_0x2e343c[_0x59d6be(0x126)][_0x437a9a['id']]=_0x437a9a:_0x2e343c[_0x59d6be(0x26f)][_0x437a9a['id']]=_0x437a9a,_0xe7c158(_0x2e343c,_0x2c4de6)['splice'](_0x433adc,0x0,_0x437a9a['id']);}function _0x262c9e(_0x535359,_0x18aee0){const _0x5a8739=_0x49f7c3,{area:_0x22345d,fieldId:_0x49f49e,index:_0x498e15}=_0x18aee0;_0x22345d===_0x2d316f[_0x5a8739(0x137)][_0x5a8739(0x30d)]?delete _0x535359[_0x5a8739(0x126)][_0x49f49e]:delete _0x535359['dimension'][_0x49f49e],_0xe7c158(_0x535359,_0x22345d)['splice'](_0x498e15,0x1);}function _0x23f2c4(_0x51b18e,_0x361521){const _0x23a66c=_0x49f7c3,{fieldId:_0x4045a7,name:_0xfdff92}=_0x361521,_0x4ef01=_0xf6bf33(_0x51b18e,_0x4045a7);_0x4ef01&&(_0x4ef01[_0x23a66c(0x35a)]=_0xfdff92);}function _0x1e3c8d(_0x16c5b4,_0x253ceb){const _0x50d35f=_0x49f7c3,{fieldId:_0x4aae2c,collapse:_0x2e8fc,item:_0x5aacbf}=_0x253ceb;_0x5aacbf!==void 0x0?(_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]=_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]||{},_0x16c5b4['collapseInfo'][_0x4aae2c][_0x5aacbf]=_0x2e8fc):_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]=_0x2e8fc;}function _0x55dc18(_0x3717f8,_0x4dc11a){const _0x1a65da=_0x49f7c3,{fieldId:_0x48dcef,format:_0x53c81a}=_0x4dc11a,_0x13d75b=_0xf6bf33(_0x3717f8,_0x48dcef);_0x13d75b&&(_0x13d75b[_0x1a65da(0xd4)]=_0x53c81a);}function _0x10440f(_0x2fa453,_0x5506c4){const _0x488475=_0x49f7c3,{fieldId:_0x5e9e41,filterInfo:_0x869317}=_0x5506c4,_0x511a3e=_0xf6bf33(_0x2fa453,_0x5e9e41);_0x511a3e&&(_0x511a3e[_0x488475(0x1ed)]=_0x869317);}function _0x43c394(_0x14cdc0,_0x42afbb){const _0x42d841=_0x49f7c3,{fieldId:_0x37cbcf,filterInfo:_0x4bb7d5}=_0x42afbb,_0x85a5d1=_0x14cdc0['valueFilter'][_0x42d841(0x3dc)](_0x4082c3=>_0x4082c3[_0x42d841(0x368)]!==_0x37cbcf);_0x4bb7d5&&_0x85a5d1[_0x42d841(0x3d4)]({'fieldId':_0x37cbcf,'filterInfo':_0x4bb7d5}),_0x14cdc0[_0x42d841(0x328)]=_0x85a5d1;}function _0x127895(_0x386b05,_0x47bc05){const _0x1a571d=_0x49f7c3,{fieldId:_0x45d758,subtotalType:_0x2e6f2c}=_0x47bc05,_0x486c49=_0xf6bf33(_0x386b05,_0x45d758);_0x486c49&&(_0x486c49[_0x1a571d(0x1dc)]=_0x2e6f2c);}function _0x4496d6(_0x5b7d18,_0x22b957){const _0x2c46de=_0x49f7c3,{fieldId:_0x52371d,oldArea:_0x77e7cf,area:_0x345710,oldIndex:_0x4df7ed,index:_0x380eb2}=_0x22b957,_0x31d3cb=_0x77e7cf!==_0x2d316f['PivotTableFiledAreaEnum']['Value']&&_0x345710===_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)],_0x55fc64=_0x77e7cf===_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)]&&_0x345710!==_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)];if(_0x31d3cb||_0x55fc64){const _0x586397=_0xf6bf33(_0x5b7d18,_0x52371d);_0x586397&&(_0x31d3cb?(delete _0x5b7d18[_0x2c46de(0x26f)][_0x52371d],_0x5b7d18[_0x2c46de(0x126)][_0x52371d]=_0x586397):(delete _0x5b7d18['measure'][_0x52371d],_0x5b7d18[_0x2c46de(0x26f)][_0x52371d]=_0x586397));}const _0x3f83ec=_0xe7c158(_0x5b7d18,_0x77e7cf),_0x4e6950=_0xe7c158(_0x5b7d18,_0x345710);_0x3f83ec['splice'](_0x4df7ed,0x1),_0x4e6950[_0x2c46de(0x20b)](_0x380eb2,0x0,_0x52371d);}function _0x5da99e(_0x14a92f,_0x3d0f32){const _0x522fe5=_0x49f7c3,{valuePosition:_0x4341ac,index:_0x350d23}=_0x3d0f32;_0x14a92f[_0x522fe5(0x228)]=_0x4341ac,_0x14a92f[_0x522fe5(0x35f)]=_0x350d23;}function _0x436593(_0x550969,_0x6980ce){const _0xa10a32=_0x49f7c3,{tableFieldId:_0x147d64,sourceName:_0x573084,dataFieldId:_0x32ada9}=_0x6980ce,_0x108b7a=_0xf6bf33(_0x550969,_0x147d64);_0x108b7a&&(_0x108b7a[_0xa10a32(0x2f4)]=_0x573084,_0x108b7a['dataFieldId']=_0x32ada9);}function _0x212c00(_0x2a4aba,_0x40e64e){const _0x5730ed=_0x49f7c3,{fieldId:_0x11efaf,sortInfo:_0x4fd712}=_0x40e64e,_0x24e682=_0xf6bf33(_0x2a4aba,_0x11efaf);_0x24e682&&(_0x24e682[_0x5730ed(0x2a8)]=_0x4fd712);}function _0x5db07f(_0x5aa66d,_0x196b8b){const _0x5dc527=_0x49f7c3,{options:_0x36b63a}=_0x196b8b;_0x5aa66d[_0x5dc527(0x1eb)]={..._0x5aa66d[_0x5dc527(0x1eb)],..._0x36b63a};}const _0x557557={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x237),'handler'(_0x2cb5dc,_0xe12204){const _0x3f87cc=_0x49f7c3;if(!_0xe12204)return!0x1;if(!!_0x2cb5dc[_0x3f87cc(0x392)](_0x369ce1['IConfigService'])[_0x3f87cc(0x1df)](_0x2884f3))return!0x0;const _0xe10929=_0x2cb5dc[_0x3f87cc(0x392)](_0x237829[_0x3f87cc(0x188)]),{pivotTableId:_0x394388,fieldJson:_0x566166,area:_0x719785,index:_0x2f24a2,unitId:_0x22ef17,subUnitId:_0x43369a}=_0xe12204,_0x4152fb=_0xe10929[_0x3f87cc(0x2a7)](_0x394388);if(!_0x4152fb)return!0x1;let _0x4fa949;_0x719785===_0x2d316f['PivotTableFiledAreaEnum'][_0x3f87cc(0x30d)]?_0x4fa949=_0x2d316f[_0x3f87cc(0x15b)](_0x566166):_0x4fa949=_0x2d316f[_0x3f87cc(0xeb)](_0x566166),_0x4152fb[_0x3f87cc(0x322)](_0x4fa949,_0x719785,_0x2f24a2);const _0xf00d57=_0xe10929[_0x3f87cc(0x1f9)](_0x22ef17,_0x43369a,_0x394388);_0x57f22f(_0xf00d57,_0xe12204);const _0x20175c=_0xe10929[_0x3f87cc(0x362)](_0x22ef17,_0x43369a,_0x394388);return _0xe10929[_0x3f87cc(0x23e)]({'unitId':_0x22ef17,'subUnitId':_0x43369a,'token':_0x394388,'type':_0x48b491[_0x3f87cc(0x1e7)],'pivotConfig':_0x20175c}),!0x0;}},_0x29944c={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x2b2),'handler'(_0x4f9a43,_0x5ab355){const _0x409a33=_0x49f7c3;if(!_0x5ab355)return!0x1;if(!!_0x4f9a43['get'](_0x369ce1['IConfigService'])[_0x409a33(0x1df)](_0x2884f3))return!0x0;const _0x392ffe=_0x4f9a43['get'](_0x237829[_0x409a33(0x188)]),{pivotTableId:_0xf8b45e,fieldId:_0x37e01f,unitId:_0x1c57ea,subUnitId:_0x24cd5c}=_0x5ab355,_0x31e517=_0x392ffe['getPivotTableInstance'](_0xf8b45e);if(!_0x31e517)return!0x1;_0x31e517[_0x409a33(0x1ae)](_0x37e01f);const _0x5efb66=_0x392ffe[_0x409a33(0x1f9)](_0x1c57ea,_0x24cd5c,_0xf8b45e);_0x262c9e(_0x5efb66,_0x5ab355);const _0x4148cc=_0x392ffe[_0x409a33(0x362)](_0x1c57ea,_0x24cd5c,_0xf8b45e);return _0x392ffe['addDirtyPivotTable']({'unitId':_0x1c57ea,'subUnitId':_0x24cd5c,'token':_0xf8b45e,'type':_0x48b491[_0x409a33(0x1e7)],'pivotConfig':_0x4148cc}),!0x0;}},_0x592967={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x2ae),'handler'(_0x18ad78,_0x5f3e74){const _0x322601=_0x49f7c3;if(!_0x5f3e74)return!0x1;if(!!_0x18ad78['get'](_0x369ce1[_0x322601(0x104)])[_0x322601(0x1df)](_0x2884f3))return!0x0;const _0x8bcd1d=_0x18ad78[_0x322601(0x392)](_0x237829[_0x322601(0x188)]),{unitId:_0x1390d8,subUnitId:_0x32cf5d,pivotTableId:_0x2cacc9,fieldId:_0x4e1bfa,name:_0x268627}=_0x5f3e74,_0x13d4e3=_0x8bcd1d[_0x322601(0x2a7)](_0x2cacc9);if(!_0x13d4e3)return!0x1;_0x13d4e3[_0x322601(0x240)](_0x4e1bfa,_0x268627);const _0x499680=_0x8bcd1d['getPivotTableModelConfig'](_0x1390d8,_0x32cf5d,_0x2cacc9);return _0x23f2c4(_0x499680,_0x5f3e74),_0x8bcd1d[_0x322601(0x23e)]({'unitId':_0x1390d8,'subUnitId':_0x32cf5d,'token':_0x2cacc9,'type':_0x48b491[_0x322601(0x1e7)]}),!0x0;}},_0x3c230f={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x2ba),'handler'(_0x2394ef,_0x297b56){const _0x59aad1=_0x49f7c3;if(!_0x297b56)return!0x1;if(!!_0x2394ef[_0x59aad1(0x392)](_0x369ce1[_0x59aad1(0x104)])[_0x59aad1(0x1df)](_0x2884f3))return!0x0;const _0x53db14=_0x2394ef[_0x59aad1(0x392)](_0x237829[_0x59aad1(0x188)]),{unitId:_0x3329ec,subUnitId:_0x2912cd,pivotTableId:_0x37e86d,fieldId:_0x2595de,collapse:_0x4fea05,item:_0x993e4e}=_0x297b56,_0x112003=_0x53db14['getPivotTableInstance'](_0x37e86d);if(!_0x112003)return!0x1;_0x112003[_0x59aad1(0x290)](_0x2595de,_0x4fea05,_0x993e4e);const _0x4002d0=_0x53db14[_0x59aad1(0x1f9)](_0x3329ec,_0x2912cd,_0x37e86d);return _0x1e3c8d(_0x4002d0,_0x297b56),_0x53db14[_0x59aad1(0x23e)]({'unitId':_0x3329ec,'subUnitId':_0x2912cd,'token':_0x37e86d,'type':_0x48b491[_0x59aad1(0x1e7)]}),!0x0;}},_0x282d71={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x33b),'handler'(_0x1c9cc2,_0x35971e){const _0x35f447=_0x49f7c3;if(!_0x35971e)return!0x1;if(!!_0x1c9cc2[_0x35f447(0x392)](_0x369ce1['IConfigService'])['getConfig'](_0x2884f3))return!0x0;const _0x599f9e=_0x1c9cc2['get'](_0x237829[_0x35f447(0x188)]),{unitId:_0x457ef9,subUnitId:_0x5689fe,pivotTableId:_0x3c85b4,fieldId:_0x250df9,format:_0x5a3522}=_0x35971e,_0x363acf=_0x599f9e[_0x35f447(0x2a7)](_0x3c85b4);if(!_0x363acf)return!0x1;_0x363acf[_0x35f447(0xde)](_0x250df9,_0x5a3522);const _0x4eb83a=_0x599f9e[_0x35f447(0x1f9)](_0x457ef9,_0x5689fe,_0x3c85b4);return _0x55dc18(_0x4eb83a,_0x35971e),_0x599f9e[_0x35f447(0x23e)]({'unitId':_0x457ef9,'subUnitId':_0x5689fe,'token':_0x3c85b4,'type':_0x48b491[_0x35f447(0x1e7)]}),!0x0;}},_0x21a58e={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x29abe6,_0x2fe00d){const _0x5f5b58=_0x49f7c3;if(!_0x2fe00d)return!0x1;if(!!_0x29abe6[_0x5f5b58(0x392)](_0x369ce1[_0x5f5b58(0x104)])[_0x5f5b58(0x1df)](_0x2884f3))return!0x0;const _0x2a1359=_0x29abe6[_0x5f5b58(0x392)](_0x237829[_0x5f5b58(0x188)]),{unitId:_0x4d631f,subUnitId:_0x276e8d,pivotTableId:_0x30eaf8,fieldId:_0x34a4b1,filterInfo:_0x345b6d}=_0x2fe00d,_0x21556a=_0x2a1359[_0x5f5b58(0x2a7)](_0x30eaf8);if(!_0x21556a)return!0x1;_0x21556a[_0x5f5b58(0x1d8)](_0x34a4b1,_0x345b6d);const _0x31a25e=_0x2a1359[_0x5f5b58(0x1f9)](_0x4d631f,_0x276e8d,_0x30eaf8);return _0x10440f(_0x31a25e,_0x2fe00d),_0x2a1359['addDirtyPivotTable']({'unitId':_0x4d631f,'subUnitId':_0x276e8d,'token':_0x30eaf8,'type':_0x48b491[_0x5f5b58(0x1e7)]}),!0x0;}},_0x343710={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0xe5),'handler'(_0x2a38e0,_0x44855f){const _0x3c75b0=_0x49f7c3;if(!_0x44855f)return!0x1;if(!!_0x2a38e0[_0x3c75b0(0x392)](_0x369ce1[_0x3c75b0(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x5d3974=_0x2a38e0[_0x3c75b0(0x392)](_0x237829[_0x3c75b0(0x188)]),{unitId:_0x3caaaf,subUnitId:_0xcd6d64,pivotTableId:_0x5c7632,options:_0x4e5bc1}=_0x44855f,_0x39edbe=_0x5d3974[_0x3c75b0(0x2a7)](_0x5c7632);if(!_0x39edbe)return!0x1;_0x39edbe[_0x3c75b0(0x395)](_0x4e5bc1);const _0x5af4ab=_0x5d3974[_0x3c75b0(0x1f9)](_0x3caaaf,_0xcd6d64,_0x5c7632);return _0x5db07f(_0x5af4ab,_0x44855f),_0x5d3974['addDirtyPivotTable']({'unitId':_0x3caaaf,'subUnitId':_0xcd6d64,'token':_0x5c7632,'type':_0x48b491['Set']}),!0x0;}},_0x1194ee={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x13b),'handler'(_0x5f24fe,_0xb819dc){const _0x40d9e7=_0x49f7c3;if(!_0xb819dc)return!0x1;if(!!_0x5f24fe[_0x40d9e7(0x392)](_0x369ce1[_0x40d9e7(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x16310e=_0x5f24fe[_0x40d9e7(0x392)](_0x237829[_0x40d9e7(0x188)]),{unitId:_0x5d7d6f,subUnitId:_0x454abf,pivotTableId:_0x5cdf82,sortInfo:_0x192604,fieldId:_0x44bc09}=_0xb819dc,_0xc87198=_0x16310e[_0x40d9e7(0x2a7)](_0x5cdf82);if(!_0xc87198)return!0x1;_0xc87198[_0x40d9e7(0x1b7)](_0x44bc09,_0x192604);const _0x5864d5=_0x16310e[_0x40d9e7(0x1f9)](_0x5d7d6f,_0x454abf,_0x5cdf82);return _0x212c00(_0x5864d5,_0xb819dc),_0x16310e[_0x40d9e7(0x23e)]({'unitId':_0x5d7d6f,'subUnitId':_0x454abf,'token':_0x5cdf82,'type':_0x48b491['Set']}),!0x0;}},_0xd44f4={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x2dc181,_0x2f9ceb){const _0x50a831=_0x49f7c3;if(!_0x2f9ceb)return!0x1;if(!!_0x2dc181[_0x50a831(0x392)](_0x369ce1['IConfigService'])[_0x50a831(0x1df)](_0x2884f3))return!0x0;const _0x4a2a7b=_0x2dc181[_0x50a831(0x392)](_0x237829[_0x50a831(0x188)]),{unitId:_0x2ca89d,subUnitId:_0x56287f,pivotTableId:_0x15a6c0,fieldId:_0x10e7d6,subtotalType:_0x18da94}=_0x2f9ceb,_0x3ed55e=_0x4a2a7b['getPivotTableInstance'](_0x15a6c0);if(!_0x3ed55e)return!0x1;_0x3ed55e[_0x50a831(0x1ac)](_0x10e7d6,_0x18da94);const _0x1aa099=_0x4a2a7b['getPivotTableModelConfig'](_0x2ca89d,_0x56287f,_0x15a6c0);return _0x127895(_0x1aa099,_0x2f9ceb),_0x4a2a7b[_0x50a831(0x23e)]({'unitId':_0x2ca89d,'subUnitId':_0x56287f,'token':_0x15a6c0,'type':_0x48b491['Set']}),!0x0;}},_0x1bae9f={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x249),'handler'(_0x3c4677,_0x1ff901){const _0x5c799d=_0x49f7c3;if(!_0x1ff901)return!0x1;if(!!_0x3c4677['get'](_0x369ce1[_0x5c799d(0x104)])[_0x5c799d(0x1df)](_0x2884f3))return!0x0;const _0x2e2d18=_0x3c4677[_0x5c799d(0x392)](_0x237829[_0x5c799d(0x188)]),{unitId:_0x3e69ff,subUnitId:_0x2b0371,pivotTableId:_0x9424cc,fieldId:_0x36bdd5,filterInfo:_0x2a3d70}=_0x1ff901,_0x5599f3=_0x2e2d18[_0x5c799d(0x2a7)](_0x9424cc);if(!_0x5599f3)return!0x1;_0x5599f3[_0x5c799d(0x262)](_0x36bdd5,_0x2a3d70);const _0x1cc8d4=_0x2e2d18['getPivotTableModelConfig'](_0x3e69ff,_0x2b0371,_0x9424cc);return _0x43c394(_0x1cc8d4,_0x1ff901),_0x2e2d18[_0x5c799d(0x23e)]({'unitId':_0x3e69ff,'subUnitId':_0x2b0371,'token':_0x9424cc,'type':_0x48b491['Set']}),!0x0;}},_0x51bde3={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x29e),'handler'(_0xa0873c,_0x2114ca){const _0x18c618=_0x49f7c3;if(!_0x2114ca)return!0x1;if(!!_0xa0873c[_0x18c618(0x392)](_0x369ce1[_0x18c618(0x104)])[_0x18c618(0x1df)](_0x2884f3))return!0x0;const _0x43487d=_0xa0873c[_0x18c618(0x392)](_0x237829['SheetsPivotDataSourceModel']),{unitId:_0x37ac46,subUnitId:_0x2b97cf,pivotTableId:_0x15ffa9,area:_0x48e4b2,index:_0x2800ee,fieldId:_0x23011d}=_0x2114ca,_0x56b54a=_0x43487d[_0x18c618(0x2a7)](_0x15ffa9);if(!_0x56b54a)return!0x1;_0x56b54a[_0x18c618(0x22a)](_0x23011d,_0x48e4b2,_0x2800ee);const _0x5671fe=_0x43487d[_0x18c618(0x1f9)](_0x37ac46,_0x2b97cf,_0x15ffa9);return _0x4496d6(_0x5671fe,_0x2114ca),_0x43487d[_0x18c618(0x23e)]({'unitId':_0x37ac46,'subUnitId':_0x2b97cf,'token':_0x15ffa9,'type':_0x48b491[_0x18c618(0x1e7)]}),!0x0;}},_0xed5085={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x13d),'handler'(_0x56c792,_0x2f9558){const _0x402fad=_0x49f7c3;if(!_0x2f9558)return!0x1;if(!!_0x56c792[_0x402fad(0x392)](_0x369ce1[_0x402fad(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x3731f0=_0x56c792[_0x402fad(0x392)](_0x237829[_0x402fad(0x188)]),{unitId:_0xd85865,subUnitId:_0x35440e,pivotTableId:_0x271ae1,sourceName:_0x4aa0a8,dataFieldId:_0xd629b3,tableFieldId:_0x19b24a}=_0x2f9558,_0x254825=_0x3731f0[_0x402fad(0x2a7)](_0x271ae1);if(!_0x254825)return!0x1;_0x254825[_0x402fad(0x12f)](_0x19b24a,_0x4aa0a8,_0xd629b3);const _0x73e19b=_0x3731f0[_0x402fad(0x1f9)](_0xd85865,_0x35440e,_0x271ae1);return _0x436593(_0x73e19b,_0x2f9558),_0x3731f0[_0x402fad(0x23e)]({'unitId':_0xd85865,'subUnitId':_0x35440e,'token':_0x271ae1,'type':_0x48b491[_0x402fad(0x1e7)]}),!0x0;}},_0xd8814e={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x361),'handler'(_0x159ce4,_0x2ff9dd){const _0x34d47e=_0x49f7c3;if(!_0x2ff9dd)return!0x1;if(!!_0x159ce4[_0x34d47e(0x392)](_0x369ce1[_0x34d47e(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x3f20c0=_0x159ce4['get'](_0x237829['SheetsPivotDataSourceModel']),{unitId:_0x396894,subUnitId:_0x5cf9a0,pivotTableId:_0x53d32c,valuePosition:_0x5a09b8,index:_0x578f67}=_0x2ff9dd,_0xa20afe=_0x3f20c0['getPivotTableInstance'](_0x53d32c);if(!_0xa20afe)return!0x1;_0xa20afe['updateValuePosition'](_0x5a09b8,_0x578f67);const _0x48c27c=_0x3f20c0[_0x34d47e(0x1f9)](_0x396894,_0x5cf9a0,_0x53d32c);return _0x5da99e(_0x48c27c,_0x2ff9dd),_0x3f20c0[_0x34d47e(0x23e)]({'unitId':_0x396894,'subUnitId':_0x5cf9a0,'token':_0x53d32c,'type':_0x48b491[_0x34d47e(0x1e7)]}),!0x0;}};function _0x52ee78(_0x13dadd,_0x9a0b43,_0x6a382f){const _0x495789=_0x49f7c3,{pivotTableId:_0x4d9704,unitId:_0x518997,subUnitId:_0x51c8ce}=_0x9a0b43,_0x12398f=[],_0x67d61e=[];for(const _0x1aaaff of _0x6a382f)switch(_0x1aaaff[_0x495789(0x2d0)]){case _0x2d316f[_0x495789(0x238)][_0x495789(0x1fb)]:{const {fieldJson:_0xa00bd1,area:_0x468400,index:_0x5daf83}=_0x1aaaff,_0x206c44={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldJson':_0xa00bd1,'area':_0x468400,'index':_0x5daf83},_0x5a806d={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0xa00bd1['id'],'area':_0x468400,'index':_0x5daf83};_0x12398f[_0x495789(0x3d4)]({'id':_0x557557['id'],'params':_0x206c44}),_0x67d61e[_0x495789(0x394)]({'id':_0x29944c['id'],'params':_0x5a806d});}break;case _0x2d316f['PivotTableChangeTypeEnum'][_0x495789(0x113)]:{const {fieldId:_0x578e1f,newSubtotalType:_0x63fde5,oldSubtotalType:_0x3f3ce5}=_0x1aaaff,_0x47da22={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x578e1f,'subtotalType':_0x63fde5};_0x12398f['push']({'id':_0xd44f4['id'],'params':_0x47da22});const _0x12bacc={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x578e1f,'subtotalType':_0x3f3ce5};_0x67d61e[_0x495789(0x394)]({'id':_0xd44f4['id'],'params':_0x12bacc});}break;case _0x2d316f[_0x495789(0x238)]['RemoveField']:{const {fieldId:_0x2a30ba,fieldJson:_0x2df1b0,area:_0x2ae532,index:_0x4e8077}=_0x1aaaff,_0x41d9fe={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x2a30ba,'index':_0x4e8077,'area':_0x2ae532};_0x12398f['push']({'id':_0x29944c['id'],'params':_0x41d9fe});const _0x4c9c99={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldJson':_0x2df1b0,'area':_0x2ae532,'index':_0x4e8077};_0x67d61e[_0x495789(0x394)]({'id':_0x557557['id'],'params':_0x4c9c99});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x190)]:{const {fieldId:_0x52e549,oldName:_0x2b236e,newName:_0x101696}=_0x1aaaff,_0x3bc63e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x52e549,'name':_0x101696};_0x12398f['push']({'id':_0x592967['id'],'params':_0x3bc63e});const _0x3b851b={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x52e549,'name':_0x2b236e};_0x67d61e['unshift']({'id':_0x592967['id'],'params':_0x3b851b});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x2c4)]:{const {fieldId:_0x520415,oldFilterInfo:_0x439b58,newFilterInfo:_0x9ebdf7}=_0x1aaaff,_0x1f638c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x520415,'filterInfo':_0x9ebdf7};_0x12398f[_0x495789(0x3d4)]({'id':_0x21a58e['id'],'params':_0x1f638c});const _0x15f061={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x520415,'filterInfo':_0x439b58};_0x67d61e['unshift']({'id':_0x21a58e['id'],'params':_0x15f061});}break;case _0x2d316f[_0x495789(0x238)]['SetSortInfo']:{const {fieldId:_0x32969b,oldSortInfo:_0x1ce878,newSortInfo:_0x34026f}=_0x1aaaff,_0x2ebc2c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x32969b,'sortInfo':_0x34026f};_0x12398f[_0x495789(0x3d4)]({'id':_0x1194ee['id'],'params':_0x2ebc2c});const _0x2b964a={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x32969b,'sortInfo':_0x1ce878};_0x67d61e[_0x495789(0x394)]({'id':_0x1194ee['id'],'params':_0x2b964a});}break;case _0x2d316f['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x19cb20,newOptions:_0x1f771a}=_0x1aaaff,_0x4a3231={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'options':_0x1f771a};_0x12398f[_0x495789(0x3d4)]({'id':_0x343710['id'],'params':_0x4a3231});const _0x481d5e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'options':_0x19cb20};_0x67d61e[_0x495789(0x394)]({'id':_0x343710['id'],'params':_0x481d5e});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x34a)]:{const {oldArea:_0x15cc09,newArea:_0x5349a9,oldIndex:_0xec7d82,newIndex:_0x255e0d,fieldId:_0x218b50}=_0x1aaaff,_0x159b97={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x218b50,'area':_0x5349a9,'index':_0x255e0d,'oldArea':_0x15cc09,'oldIndex':_0xec7d82};_0x12398f[_0x495789(0x3d4)]({'id':_0x51bde3['id'],'params':_0x159b97});const _0x4263ff={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x218b50,'area':_0x15cc09,'index':_0xec7d82,'oldArea':_0x5349a9,'oldIndex':_0x255e0d};_0x67d61e[_0x495789(0x394)]({'id':_0x51bde3['id'],'params':_0x4263ff});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x24b)]:{const {oldValuePosition:_0x2f9700,newValuePosition:_0x587224,oldIndex:_0x2b0f80,newIndex:_0xe16059}=_0x1aaaff,_0x192ba0={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'valuePosition':_0x587224,'index':_0xe16059};_0x12398f['push']({'id':_0xd8814e['id'],'params':_0x192ba0});const _0x3d6e79={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'valuePosition':_0x2f9700,'index':_0x2b0f80};_0x67d61e['unshift']({'id':_0xd8814e['id'],'params':_0x3d6e79});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x1a1)]:{const {fieldId:_0x15c171,collapse:_0x350342,item:_0xf5321b}=_0x1aaaff,_0x5e6e1e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x15c171,'collapse':_0x350342,'item':_0xf5321b};_0x12398f['push']({'id':_0x3c230f['id'],'params':_0x5e6e1e});const _0x400a55={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x15c171,'collapse':!_0x350342,'item':_0xf5321b};_0x67d61e[_0x495789(0x394)]({'id':_0x3c230f['id'],'params':_0x400a55});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x2fe)]:{const {newFormat:_0x1a4d64,oldFormat:_0xb8c002,fieldId:_0x366e62}=_0x1aaaff,_0x507493={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x366e62,'format':_0x1a4d64};_0x12398f[_0x495789(0x3d4)]({'id':_0x282d71['id'],'params':_0x507493});const _0xc0e92={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x366e62,'format':_0xb8c002};_0x67d61e[_0x495789(0x394)]({'id':_0x282d71['id'],'params':_0xc0e92});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x332)]:{const {tableFieldId:_0x3f9767,oldSourceName:_0x315b5c,newSourceName:_0x1bae2,oldDataFieldId:_0x2ce1dc,newDataFieldId:_0x3ce7fd}=_0x1aaaff,_0x2668ad={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'tableFieldId':_0x3f9767,'sourceName':_0x1bae2,'dataFieldId':_0x3ce7fd};_0x12398f[_0x495789(0x3d4)]({'id':_0xed5085['id'],'params':_0x2668ad});const _0x3eed4f={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'tableFieldId':_0x3f9767,'sourceName':_0x315b5c,'dataFieldId':_0x2ce1dc};_0x67d61e['unshift']({'id':_0xed5085['id'],'params':_0x3eed4f});}break;case _0x2d316f['PivotTableChangeTypeEnum']['SetValueFilter']:{const {fieldId:_0x3fbfc8,filterInfo:_0x5dbe29,oldFilterInfo:_0x2136f4}=_0x1aaaff,_0x19534c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x3fbfc8,'filterInfo':_0x5dbe29};_0x12398f[_0x495789(0x3d4)]({'id':_0x1bae9f['id'],'params':_0x19534c});const _0x4c117c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x3fbfc8,'filterInfo':_0x2136f4};_0x67d61e[_0x495789(0x394)]({'id':_0x1bae9f['id'],'params':_0x4c117c});}}return{'redos':_0x12398f,'undos':_0x67d61e};}function _0x5eb13c(_0x23535b,_0x56bc96){const _0x5aebf9=_0x49f7c3;var _0x2988dd;const _0x1676fd=_0x23535b[_0x5aebf9(0x392)](_0x237829[_0x5aebf9(0x14b)]),{cellInfo:_0x554e9f,view:_0x2b9fe9,isEmpty:_0x1655a3}=_0x56bc96;return(_0x2988dd=_0x1676fd[_0x5aebf9(0x345)][_0x5aebf9(0xfe)](_0x54cb75)(_0x29b80a,{'cellInfo':_0x554e9f,'view':_0x2b9fe9,'isEmpty':_0x1655a3}))!=null?_0x2988dd:_0x29b80a;}const _0x58a346={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x385),async 'handler'(_0xfa19e,_0x2da2d0){const _0x7b582c=_0x49f7c3;if(!_0x2da2d0)return!0x1;const _0x54fec4=_0xfa19e['get'](_0x369ce1['ICommandService']),_0x15d488=_0xfa19e['get'](_0x237829[_0x7b582c(0x1d9)]),_0x565948=_0xfa19e[_0x7b582c(0x392)](_0x369ce1['IUndoRedoService']),{pivotTableId:_0x2701aa,dataFieldId:_0x636328,fieldArea:_0x22a640,index:_0x13584a,unitId:_0x2bb1f5,subUnitId:_0x4c93e5}=_0x2da2d0,_0x52dd88=(await _0x15d488['getPivotDisplayConfig']({'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5,'pivotTableId':_0x2701aa,'params':{'type':_0x2b63fe[_0x7b582c(0x1c0)],'addPivotField':{'dataFieldId':_0x636328,'fieldArea':_0x22a640,'index':_0x13584a}}}))['result'][_0x7b582c(0x2ec)];if(!_0x52dd88)return!0x1;const {view:_0xc998c2,changesets:_0x49ac94,isEmpty:_0xbea531,pivotTableConfig:_0x528cd5,shouldBeAddedGroupJSON:_0x1fb3af}=_0x52dd88,_0x29e754=_0x528cd5['targetCellInfo'],_0x43c64a=new _0x2d316f[(_0x7b582c(0x3be))]();_0x43c64a[_0x7b582c(0x23b)](_0xc998c2);const _0x5221d6={'cellInfo':_0x29e754,'view':_0x43c64a,'isEmpty':_0xbea531};if(!await _0xfa19e[_0x7b582c(0x392)](_0x237829[_0x7b582c(0x14b)])[_0x7b582c(0x297)][_0x7b582c(0x175)](_0x2f016b)(!0x0,_0x5221d6))return!0x1;const _0xca1a54=_0x75bbf(_0xfa19e,_0x43c64a,_0x29e754,_0xbea531),_0x237ba0=_0x5eb13c(_0xfa19e,_0x5221d6),{undos:_0x3230e4,redos:_0x275f5c}=_0x52ee78(_0x54fec4,{'pivotTableId':_0x2701aa,'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5},_0x49ac94);return _0x1fb3af&&(_0x275f5c[_0x7b582c(0x394)]({'id':_0x56b84e['id'],'params':{'pivotTableId':_0x2701aa,'fieldJSON':_0x1fb3af,'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5}}),_0x3230e4['push']({'id':_0x20c243['id'],'params':{'pivotTableId':_0x2701aa,'dataFieldId':_0x1fb3af['id'],'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5}})),_0x369ce1[_0x7b582c(0x2a6)]([..._0xca1a54[_0x7b582c(0x1da)],..._0x237ba0[_0x7b582c(0x1da)],..._0x275f5c],_0x54fec4),_0x565948[_0x7b582c(0x122)]({'unitID':_0x2bb1f5,'redoMutations':[..._0xca1a54[_0x7b582c(0x1da)],..._0x237ba0[_0x7b582c(0x1da)],..._0x275f5c],'undoMutations':[..._0xca1a54[_0x7b582c(0x221)],..._0x237ba0[_0x7b582c(0x221)],..._0x3230e4]}),!0x0;}},_0xefc475=()=>typeof process<'u'&&process['versions']!=null&&process[_0x49f7c3(0x224)]['node']!=null,_0x307ba8={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x273),'handler'(_0x5e1e0c,_0x5d3aee){const _0x59b859=_0x49f7c3;var _0x4574e4;if(!_0x5d3aee)return!0x1;const _0x3ac156=_0x5e1e0c[_0x59b859(0x392)](_0x369ce1[_0x59b859(0x104)]);if(!!_0x3ac156[_0x59b859(0x1df)](_0x2884f3))return!0x0;const _0x1f2137=_0x5e1e0c[_0x59b859(0x392)](_0x369ce1[_0x59b859(0x389)]),_0x247738=_0x5e1e0c[_0x59b859(0x392)](_0x237829['SheetsPivotDataSourceModel']),{pivotTableId:_0x47c67a,pivotTableConfig:_0x462917,collectionConfig:_0x416c8a,unitId:_0x1ad6d7,subUnitId:_0x2cf2ea}=_0x5d3aee,{sourceRangeInfo:_0x369de7,fieldsConfig:_0x33e5ce,targetCellInfo:_0x266a85}=_0x462917,_0x219a48=_0x1f2137['getUnit'](_0x1ad6d7);if(!_0x219a48||!_0x219a48[_0x59b859(0x2b7)](_0x2cf2ea))return!0x1;if(!_0xefc475()){let _0x4a7291=0x0;_0x219a48[_0x59b859(0x331)]()[_0x59b859(0x10a)](_0x2df47=>{const _0x4c17fe=_0x59b859;var _0x1e10cb,_0x307b78;_0x4a7291+=(_0x307b78=(_0x1e10cb=_0x247738[_0x4c17fe(0x200)](_0x1ad6d7,_0x2df47[_0x4c17fe(0x212)]()))==null?void 0x0:_0x1e10cb[_0x4c17fe(0x390)])!=null?_0x307b78:0x0;});const _0x47ef86=(_0x4574e4=_0x3ac156[_0x59b859(0x1df)](_0x5b8945[_0x59b859(0x285)]))!=null?_0x4574e4:{},{ls:_0x1e5d2d,pbk:_0x56ebbe}=_0x47ef86;if(!_0x53b1ed(_0x1e5d2d,_0x56ebbe))throw new _0x369ce1[(_0x59b859(0x20e))](_0x59b859(0x30e));const _0x10dfe5=_0x2de071(_0x2b5880,_0x1e5d2d,_0x56ebbe)[_0x59b859(0x3da)];if(_0x4a7291>=_0x10dfe5)throw new _0x369ce1[(_0x59b859(0x20e))]('limit\x20pivot');}if(!_0x416c8a||!_0x33e5ce)return!0x1;const {collection:_0x1f70da,updateDataFieldList:_0x48fbda}=_0x247738[_0x59b859(0x2c2)](_0x47c67a,_0x416c8a,_0x369de7,_0x266a85);_0x247738[_0x59b859(0x124)](_0x1f70da,_0x48fbda,_0x369de7);const _0x887f71=new _0x2d316f[(_0x59b859(0x162))](_0x1f70da,void 0x0,_0x47c67a);_0x887f71[_0x59b859(0x398)](_0x33e5ce);const _0x26ed17=JSON[_0x59b859(0x140)](JSON[_0x59b859(0x3e6)](_0x462917));return _0x247738[_0x59b859(0x1a3)](_0x1ad6d7,_0x2cf2ea,_0x47c67a,_0x887f71,_0x26ed17),_0x247738[_0x59b859(0x23e)]({'unitId':_0x1ad6d7,'subUnitId':_0x2cf2ea,'token':_0x47c67a,'type':_0x48b491['Add'],'pivotConfig':_0x26ed17}),!0x0;}},_0x4ae5d8={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x340),async 'handler'(_0x288e38,_0x385468){const _0x2a3496=_0x49f7c3;if(!_0x385468)return!0x1;const {sourceDataInfo:_0x1cf116,pivotTableConfig:_0x356982}=_0x385468;if(!_0x1cf116||!_0x356982)return!0x1;const {unitId:_0x10e419,subUnitId:_0x2c1249,range:_0x58dbcd}=_0x1cf116,_0x240384=_0x288e38[_0x2a3496(0x392)](_0x369ce1['IUniverInstanceService']),_0x61c17d=_0x288e38['get'](_0x237829[_0x2a3496(0x1d9)]),_0x41d184=_0x288e38[_0x2a3496(0x392)](_0x369ce1['LocaleService']),_0xa2dbfb=_0x288e38[_0x2a3496(0x392)](_0x369ce1[_0x2a3496(0x1f2)]),_0x259c33=_0x240384[_0x2a3496(0x13e)](_0x10e419);if(!_0x259c33)return!0x1;const _0x4762bf=_0x259c33[_0x2a3496(0x2b7)](_0x2c1249);if(!_0x4762bf)return!0x1;const _0x3a7dd8=_0x2d316f[_0x2a3496(0x153)](0x8),_0x5acd01=_0x58dbcd||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4762bf[_0x2a3496(0x268)]()-0x1,'endColumn':_0x4762bf[_0x2a3496(0x158)]()-0x1};_0x5acd01[_0x2a3496(0x1ea)]=_0x369ce1[_0x2a3496(0x179)][_0x2a3496(0x347)];const _0x374129=(await _0x61c17d[_0x2a3496(0x28b)]({'unitId':_0x10e419,'subUnitId':_0x2c1249,'pivotTableId':_0x3a7dd8,'params':{'type':_0x2b63fe['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x10e419,'sheetName':_0x4762bf[_0x2a3496(0x1a9)](),'subUnitId':_0x2c1249,'range':_0x5acd01},'pivotTableId':_0x3a7dd8,'pivotTableIndexConfig':_0x356982}}}))[_0x2a3496(0x108)][_0x2a3496(0x2ab)];if(!_0x374129)return!0x1;const {isEmpty:_0x4de99,fieldsConfig:_0x2c2431,collectionConfig:_0x7f5fad,changesets:_0x4b5962}=_0x374129,_0x5b72f2=_0x259c33[_0x2a3496(0x331)]()[_0x2a3496(0x264)],_0x105bdb=_0x369ce1[_0x2a3496(0x3bd)]({'rowCount':_0x4762bf[_0x2a3496(0x268)]()-0x1,'columnCount':_0x4762bf[_0x2a3496(0x158)]()-0x1});_0x105bdb['id']=_0x369ce1[_0x2a3496(0x379)](),_0x105bdb[_0x2a3496(0x279)]=_0x259c33[_0x2a3496(0x219)](''+_0x41d184['t'](_0x2a3496(0x20d)));const _0x58b1a8={'index':_0x5b72f2,'sheet':_0x105bdb,'unitId':_0x10e419},{redos:_0x26cce5}=_0x52ee78(_0xa2dbfb,{'pivotTableId':_0x3a7dd8,'unitId':_0x10e419,'subUnitId':_0x105bdb['id']},_0x4b5962),_0x2fa96e=[{'id':_0x298fdb[_0x2a3496(0x2bd)]['id'],'params':_0x58b1a8},{'id':_0x307ba8['id'],'params':{'unitId':_0x10e419,'subUnitId':_0x105bdb['id'],'pivotTableId':_0x3a7dd8,'pivotTableConfig':{'isEmpty':_0x4de99,'fieldsConfig':_0x2c2431,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x10e419,'subUnitId':_0x105bdb['id']},'sourceRangeInfo':{'subUnitId':_0x2c1249,'unitId':_0x10e419,'range':_0x5acd01,'sheetName':_0x4762bf[_0x2a3496(0x1a9)]()}},'collectionConfig':_0x7f5fad}},..._0x26cce5];return _0x369ce1['sequenceExecute'](_0x2fa96e,_0xa2dbfb),!0x0;}},_0x113373={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0xd2),'handler'(_0x49910d,_0x47493b){const _0x552334=_0x49f7c3;if(!_0x47493b)return!0x1;if(!!_0x49910d[_0x552334(0x392)](_0x369ce1[_0x552334(0x104)])[_0x552334(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x1a71b2,unitId:_0x22bccf,subUnitId:_0x246935}=_0x47493b,_0xcc3f99=_0x49910d[_0x552334(0x392)](_0x237829['SheetsPivotDataSourceModel']);return _0xcc3f99[_0x552334(0x362)](_0x22bccf,_0x246935,_0x1a71b2)?(_0xcc3f99[_0x552334(0x23e)]({'unitId':_0x22bccf,'subUnitId':_0x246935,'token':_0x1a71b2,'type':_0x48b491[_0x552334(0x2f7)]}),_0xcc3f99[_0x552334(0x287)](_0x22bccf,_0x246935,_0x1a71b2),!0x0):!0x1;}},_0x1e77bf={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x166),async 'handler'(_0x24d184,_0x4c03c7){const _0x5115ae=_0x49f7c3;var _0x4b5fae,_0x1aac4d;const _0x1a68b1=_0x24d184[_0x5115ae(0x392)](_0x369ce1['ICommandService']),_0x3cc9af=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x389)]),_0x59a24c=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x18e)]),_0x38a99d=_0x24d184[_0x5115ae(0x392)](_0x237829[_0x5115ae(0x1d9)]),_0x585c91=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x284)]),_0x11fa1c=_0x24d184['get'](_0x237829[_0x5115ae(0x3ae)]),_0x1f32d3=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x104)]);if(!_0x4c03c7)return!0x1;const {pivotTableConfig:_0x183baf,positionType:_0x2e0a49}=_0x4c03c7,{targetCellInfo:_0x14b215,sourceRangeInfo:_0x121f4f}=_0x183baf,{unitId:_0x426de6,subUnitId:_0x38cdd2}=_0x14b215,_0x52b598=_0x3cc9af[_0x5115ae(0x13e)](_0x426de6);if(!_0x52b598)return!0x1;let _0x5a4a58=0x0;_0x52b598[_0x5115ae(0x331)]()[_0x5115ae(0x10a)](_0x310bbc=>{const _0x4fd8a0=_0x5115ae;var _0x2e01fe,_0x3b874b;_0x5a4a58+=(_0x3b874b=(_0x2e01fe=_0x11fa1c[_0x4fd8a0(0x200)](_0x426de6,_0x310bbc[_0x4fd8a0(0x212)]()))==null?void 0x0:_0x2e01fe['size'])!=null?_0x3b874b:0x0;});const _0x57c6a4=(_0x4b5fae=_0x1f32d3[_0x5115ae(0x1df)](_0x5b8945[_0x5115ae(0x285)]))!=null?_0x4b5fae:{},{ls:_0x5dba23,pbk:_0x599e7f}=_0x57c6a4;if(!_0x53b1ed(_0x5dba23,_0x599e7f))return!0x1;const _0x57b5de=_0x2de071(_0x2b5880,_0x5dba23,_0x599e7f)['count'];if(_0x5a4a58>=_0x57b5de)return!0x1;const _0x213d98=_0x4c03c7[_0x5115ae(0x257)]||_0x2d316f[_0x5115ae(0x153)](0x8),_0xc66f25=(await _0x38a99d[_0x5115ae(0x28b)]({'unitId':_0x426de6,'subUnitId':_0x38cdd2,'pivotTableId':_0x213d98,'params':{'type':_0x2b63fe[_0x5115ae(0x341)],'addPivotTable':{'sourceRangeInfo':_0x121f4f,'pivotTableId':_0x213d98}}}))[_0x5115ae(0x108)]['addPivotTable'];if(!_0xc66f25)return!0x1;const {view:_0x36fb00,isEmpty:_0x779192,fieldsConfig:_0x4e7021,collectionConfig:_0x34bc50}=_0xc66f25,_0x5156af=[],_0x279c8f=[];if(_0x2e0a49===_0x5055e3['New']){const _0x175206=_0x52b598['getSheets']()[_0x5115ae(0x264)],_0x5428cc=_0x369ce1['mergeWorksheetSnapshotWithDefault']({});_0x5428cc['id']=_0x183baf[_0x5115ae(0xf9)][_0x5115ae(0x353)],_0x5428cc[_0x5115ae(0x279)]=(_0x1aac4d=_0x183baf[_0x5115ae(0xf9)][_0x5115ae(0x11e)])!=null?_0x1aac4d:_0x52b598[_0x5115ae(0x219)](''+_0x59a24c['t'](_0x5115ae(0x20d)));const _0x2978c5={'index':_0x175206,'sheet':_0x5428cc,'unitId':_0x426de6},_0x1186e0=_0x298fdb['InsertSheetUndoMutationFactory'](_0x24d184,_0x2978c5);_0x5156af[_0x5115ae(0x3d4)]({'id':_0x298fdb['RemoveSheetMutation']['id'],'params':_0x1186e0}),_0x279c8f['push']({'id':_0x298fdb[_0x5115ae(0x157)]['id'],'params':_0x2978c5});}else{if(!_0x52b598[_0x5115ae(0x2b7)](_0x38cdd2))return!0x1;const _0x2437a6=_0x75bbf(_0x24d184,new _0x2d316f['PivotView'](),_0x14b215,!0x0);_0x279c8f['push'](..._0x2437a6['redos']),_0x5156af[_0x5115ae(0x3d4)](..._0x2437a6[_0x5115ae(0x221)]);const _0x55708d={'cellInfo':_0x14b215,'view':_0x36fb00,'isEmpty':_0x779192};if(!await _0x24d184[_0x5115ae(0x392)](_0x237829[_0x5115ae(0x14b)])[_0x5115ae(0x297)]['fetchThroughAsyncInterceptors'](_0x2f016b)(!0x0,_0x55708d))return!0x1;const _0xd4d0b8=_0x5eb13c(_0x24d184,_0x55708d);_0x279c8f[_0x5115ae(0x3d4)](..._0xd4d0b8['redos']),_0x5156af[_0x5115ae(0x3d4)](..._0xd4d0b8[_0x5115ae(0x221)]);}return _0x279c8f[_0x5115ae(0x3d4)]({'id':_0x307ba8['id'],'params':{'unitId':_0x14b215[_0x5115ae(0x25c)],'subUnitId':_0x14b215[_0x5115ae(0x353)],'pivotTableId':_0x213d98,'pivotTableConfig':{'targetCellInfo':_0x14b215,'sourceRangeInfo':_0x121f4f,'fieldsConfig':_0x4e7021},'collectionConfig':_0x34bc50}}),_0x5156af['unshift']({'id':_0x113373['id'],'params':{'unitId':_0x426de6,'subUnitId':_0x38cdd2,'pivotTableId':_0x213d98}}),_0x369ce1[_0x5115ae(0x2a6)](_0x279c8f,_0x1a68b1)&&_0x585c91['pushUndoRedo']({'unitID':_0x426de6,'undoMutations':_0x5156af,'redoMutations':_0x279c8f}),!0x0;}},_0x396819={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x167),async 'handler'(_0x227904,_0x1957d5){const _0x14c70e=_0x49f7c3;if(!_0x1957d5)return!0x1;const _0x1f2085=_0x227904['get'](_0x369ce1[_0x14c70e(0x1f2)]),_0x3cf6c1=_0x227904[_0x14c70e(0x392)](_0x237829[_0x14c70e(0x1d9)]),_0x497a15=_0x227904[_0x14c70e(0x392)](_0x369ce1[_0x14c70e(0x284)]),{pivotTableId:_0xbc7815,fieldId:_0x534766,area:_0x1d8145,index:_0x53d942,unitId:_0x1cb72c,subUnitId:_0x4bd863}=_0x1957d5,_0x4c122d=(await _0x3cf6c1[_0x14c70e(0x28b)]({'unitId':_0x1cb72c,'subUnitId':_0x4bd863,'pivotTableId':_0xbc7815,'params':{'type':_0x2b63fe['MovePivotField'],'movePivotField':{'fieldId':_0x534766,'area':_0x1d8145,'index':_0x53d942}}}))[_0x14c70e(0x108)]['movePivotField'];if(!_0x4c122d)return!0x1;const {changesets:_0x2796df,view:_0x132ed7,isEmpty:_0x4241b6,pivotTableConfig:_0x181ee9}=_0x4c122d,_0x4983aa=_0x181ee9[_0x14c70e(0xf9)],_0x324128=new _0x2d316f['PivotView']();_0x324128[_0x14c70e(0x23b)](_0x132ed7);const _0x666070={'cellInfo':_0x4983aa,'view':_0x324128,'isEmpty':_0x4241b6};if(!await _0x227904[_0x14c70e(0x392)](_0x237829['SheetsPivotTableService'])[_0x14c70e(0x297)][_0x14c70e(0x175)](_0x2f016b)(!0x0,_0x666070))return!0x1;const _0x24475a=_0x75bbf(_0x227904,_0x324128,_0x4983aa,_0x4241b6),_0x1fec94=_0x5eb13c(_0x227904,_0x666070),{redos:_0x513ced,undos:_0x942ce9}=_0x52ee78(_0x1f2085,{'pivotTableId':_0xbc7815,'unitId':_0x1cb72c,'subUnitId':_0x4bd863},_0x2796df);return _0x369ce1[_0x14c70e(0x2a6)]([..._0x24475a[_0x14c70e(0x1da)],..._0x1fec94['redos'],..._0x513ced],_0x1f2085),_0x497a15['pushUndoRedo']({'unitID':_0x1cb72c,'redoMutations':[..._0x24475a[_0x14c70e(0x1da)],..._0x1fec94[_0x14c70e(0x1da)],..._0x513ced],'undoMutations':[..._0x24475a['undos'],..._0x1fec94[_0x14c70e(0x221)],..._0x942ce9]}),!0x0;}},_0x4164f8={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':'sheet.mutation.set-pivot-position','handler'(_0x3a332a,_0x17a6ec){const _0xc0bbff=_0x49f7c3;if(!_0x17a6ec)return!0x1;if(!!_0x3a332a[_0xc0bbff(0x392)](_0x369ce1[_0xc0bbff(0x104)])[_0xc0bbff(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x55d618,targetCellPosition:_0x44aa62,unitId:_0x1589ba,subUnitId:_0x19c0dd}=_0x17a6ec,_0x4308d0=_0x3a332a[_0xc0bbff(0x392)](_0x237829[_0xc0bbff(0x188)]);if(!_0x4308d0[_0xc0bbff(0x2a7)](_0x17a6ec[_0xc0bbff(0x257)]))return!0x1;const _0x212f6e=_0x4308d0['getTargetByPivotId'](_0x55d618);if(!_0x212f6e)return!0x1;const _0x4f217e=_0x4308d0['getCollection'](_0x212f6e[_0xc0bbff(0x25c)],_0x17a6ec[_0xc0bbff(0x257)]);if(!_0x4f217e)return!0x1;const _0x2829c8=_0x4308d0[_0xc0bbff(0x362)](_0x212f6e['unitId'],_0x212f6e['subUnitId'],_0x55d618);if(!_0x2829c8)return!0x1;const _0x33ed9a=_0x369ce1[_0xc0bbff(0x194)][_0xc0bbff(0xd7)](_0x2829c8);_0x33ed9a['targetCellInfo']={'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'row':_0x44aa62[_0xc0bbff(0x27d)],'col':_0x44aa62['col']};const _0x570f6a=_0x4f217e['toJSON']();if(_0x212f6e[_0xc0bbff(0x353)]===_0x19c0dd&&_0x212f6e[_0xc0bbff(0x25c)]===_0x1589ba)_0x4308d0['setPivotTable'](_0x1589ba,_0x19c0dd,_0x55d618,_0x33ed9a),_0x4308d0['addDirtyPivotTable']({'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'token':_0x55d618,'type':_0x48b491[_0xc0bbff(0x1e7)]});else{_0x4308d0[_0xc0bbff(0x23e)]({'unitId':_0x212f6e['unitId'],'subUnitId':_0x212f6e[_0xc0bbff(0x353)],'token':_0x55d618,'type':_0x48b491[_0xc0bbff(0x2f7)]}),_0x4308d0[_0xc0bbff(0x287)](_0x212f6e[_0xc0bbff(0x25c)],_0x212f6e[_0xc0bbff(0x353)],_0x55d618);const _0x554c30=_0x4308d0[_0xc0bbff(0x2c2)](_0x55d618,_0x570f6a,_0x2829c8[_0xc0bbff(0x3ed)],_0x33ed9a[_0xc0bbff(0xf9)]),_0x12a093=new _0x2d316f[(_0xc0bbff(0x162))](_0x554c30[_0xc0bbff(0x145)],void 0x0,_0x55d618);_0x12a093['fromJSON'](_0x33ed9a[_0xc0bbff(0x1d4)]),_0x4308d0[_0xc0bbff(0x1a3)](_0x1589ba,_0x19c0dd,_0x55d618,_0x12a093,_0x33ed9a),_0x4308d0[_0xc0bbff(0x23e)]({'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'token':_0x55d618,'type':_0x48b491['Add'],'pivotConfig':_0x33ed9a});}return!0x0;}},_0x4b7c6b={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':_0x49f7c3(0x2fa),'handler':(_0x5f6906,_0x63d831)=>{const _0x21cec1=_0x49f7c3;if(!_0x63d831)return!0x1;const _0x3e6d1f=_0x298fdb[_0x21cec1(0x3b6)](_0x5f6906[_0x21cec1(0x392)](_0x369ce1['IUniverInstanceService']),{'unitId':_0x63d831['targetCellInfo']['unitId'],'subUnitId':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x353)]});if(!_0x3e6d1f)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5aa681=_0x5f6906[_0x21cec1(0x392)](_0x237829[_0x21cec1(0x3ae)])[_0x21cec1(0x362)](_0x63d831[_0x21cec1(0x189)][_0x21cec1(0x25c)],_0x63d831[_0x21cec1(0x189)][_0x21cec1(0x353)],_0x63d831[_0x21cec1(0x257)]);if(!_0x5aa681)return!0x1;const _0x2c7ef0=_0x5f6906['get'](_0x369ce1[_0x21cec1(0x1f2)]),_0x558e12=_0x5f6906['get'](_0x369ce1[_0x21cec1(0x284)]),{unitId:_0x3b2486,subUnitId:_0x27a9fd,worksheet:_0x818d0d}=_0x3e6d1f,_0x1d3144=_0x818d0d[_0x21cec1(0x268)](),_0xe24ca3=_0x818d0d[_0x21cec1(0x158)]();if(_0x63d831['targetCellInfo'][_0x21cec1(0x27d)]>_0x1d3144||_0x63d831['targetCellInfo'][_0x21cec1(0x2d3)]>_0xe24ca3)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2c0998=[{'id':_0x4164f8['id'],'params':{'unitId':_0x3b2486,'subUnitId':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x353)],'pivotTableId':_0x63d831['pivotTableId'],'targetCellPosition':{'row':_0x63d831['targetCellInfo']['row'],'col':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x2d3)]}}}],_0x2d6052=[{'id':_0x4164f8['id'],'params':{'unitId':_0x3b2486,'subUnitId':_0x27a9fd,'pivotTableId':_0x63d831[_0x21cec1(0x257)],'targetCellPosition':{'row':_0x5aa681['targetCellInfo'][_0x21cec1(0x27d)],'col':_0x5aa681[_0x21cec1(0xf9)][_0x21cec1(0x2d3)]}}}];return _0x369ce1[_0x21cec1(0x2a6)](_0x2c0998,_0x2c7ef0)&&_0x558e12[_0x21cec1(0x122)]({'unitID':_0x3b2486,'undoMutations':_0x2d6052,'redoMutations':_0x2c0998}),!0x0;}},_0xd040c9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x34f),async 'handler'(_0x4633b7,_0x563034){const _0x3c9677=_0x49f7c3;var _0x5afbf0;if(!_0x563034)return!0x1;const _0xd67d18=_0x4633b7['get'](_0x369ce1[_0x3c9677(0x389)]),_0x45ada3=_0x298fdb[_0x3c9677(0x3b6)](_0xd67d18);if(!_0x45ada3)return!0x1;const {unitId:_0x49f950,subUnitId:_0x2c7f4a,workbook:_0x295fa5}=_0x45ada3,{row:_0x36b7aa,col:_0x25837e}=_0x563034,_0x51ee9c=_0x4633b7['get'](_0x237829[_0x3c9677(0x10d)]),_0x2833ac=_0x51ee9c[_0x3c9677(0xec)](_0x49f950,_0x2c7f4a,_0x36b7aa,_0x25837e);if(!_0x2833ac)return!0x1;const _0x40be84=(_0x5afbf0=_0x51ee9c[_0x3c9677(0x2b0)](_0x49f950,_0x2c7f4a,_0x2833ac))==null?void 0x0:_0x5afbf0[_0x3c9677(0x142)];if(!_0x40be84)return!0x1;const _0x5ee5e0=_0x4633b7['get'](_0x237829[_0x3c9677(0x3ae)])[_0x3c9677(0x362)](_0x49f950,_0x2c7f4a,_0x2833ac);if(!_0x5ee5e0)return!0x1;const {rowInfo:_0x3cee85,colInfo:_0xe458b4}=_0x40be84,_0x2e2e7e=_0x3cee85[_0x36b7aa][_0x3c9677(0x3eb)],_0x36d5ba=_0xe458b4[_0x25837e]['paths'],_0x435795=_0x3cee85[_0x36b7aa][_0x3c9677(0x1fe)],_0x5c50a0=_0xe458b4[_0x25837e][_0x3c9677(0x1fe)],_0x585fc1=_0x2e2e7e[_0x3c9677(0x2fb)](_0x36d5ba),_0x208508=_0x5ee5e0[_0x3c9677(0x1d4)][_0x3c9677(0x3a6)][_0x3c9677(0xd0)](0x0,_0x435795),_0x11cbe2=_0x5ee5e0['fieldsConfig'][_0x3c9677(0x225)][_0x3c9677(0xd0)](0x0,_0x5c50a0),_0x373d72=_0x208508[_0x3c9677(0x2fb)](_0x11cbe2),_0x1da93b=_0x585fc1['map']((_0x1cd546,_0x20324e)=>[_0x1cd546,_0x373d72[_0x20324e]]),_0x42f5e1=(await _0x4633b7[_0x3c9677(0x392)](_0x237829[_0x3c9677(0x1d9)])[_0x3c9677(0x28b)]({'unitId':_0x49f950,'subUnitId':_0x2c7f4a,'pivotTableId':_0x2833ac,'params':{'type':_0x2b63fe['DrillDown'],'drillDown':{'tuple':_0x1da93b}}}))[_0x3c9677(0x108)][_0x3c9677(0x19d)];if(!_0x42f5e1)return!0x1;const {indexes:_0x4a7b7d,range:_0x57787e,sourceUnitId:_0x420cd4,sourceSubUnitId:_0x4a065f,formatMap:_0x402511}=_0x42f5e1,{startRow:_0x365583,endRow:_0x10c684,startColumn:_0x2e9cef,endColumn:_0x63f85f}=_0x57787e,_0xa82e93=new _0x369ce1[(_0x3c9677(0x2bf))](),_0x1b7348=_0x10c684-_0x365583,_0x2f32d1=_0x63f85f-_0x2e9cef,_0x3336dc={},_0x3c011b=_0x298fdb[_0x3c9677(0x3b6)](_0xd67d18,{'unitId':_0x420cd4,'subUnitId':_0x4a065f});if(!_0x3c011b)return!0x1;const _0x3a17c4=_0x47e2f1[_0x3c9677(0x21e)],_0x37ecb9=_0x47e2f1[_0x3c9677(0x24a)],_0x38d332=_0x47e2f1[_0x3c9677(0x24a)],_0x3a7b5d=_0x295fa5[_0x3c9677(0x106)]()['setValue'](_0x3a17c4),_0x7c5d2e=_0x295fa5[_0x3c9677(0x106)]()[_0x3c9677(0x1e4)](_0x37ecb9),_0x1a717e=_0x295fa5[_0x3c9677(0x106)]()['setValue'](_0x38d332),{worksheet:_0x501b0a}=_0x3c011b;let _0x26925d=0x0;const _0x14f9bb=0x1;_0x4a7b7d['forEach'](_0x55310f=>{const _0x51738e=_0x3c9677;for(let _0x16ddd0=0x0;_0x16ddd0<=_0x63f85f-_0x2e9cef;_0x16ddd0++)_0xa82e93[_0x51738e(0x1e4)](_0x26925d,_0x16ddd0,_0x501b0a['getCellRaw'](_0x55310f+_0x57787e['startRow']+_0x14f9bb,_0x16ddd0));_0x26925d++;});for(let _0x160dc1=_0x2e9cef;_0x160dc1<=_0x63f85f;_0x160dc1++){const _0x5d0c16=_0x501b0a[_0x3c9677(0x150)](_0x365583,_0x160dc1);_0x3336dc[_0x365583]||(_0x3336dc[_0x365583]={}),_0x3336dc[_0x365583][_0x160dc1]={..._0x5d0c16,'s':_0x3a7b5d};}let _0x3ba1b0=0x1;const _0xbe1977={},_0xb975f5={};_0xa82e93['forRow']((_0x5d995f,_0x467e2f)=>{const _0x40e69c=_0x3c9677;_0x467e2f[_0x40e69c(0x10a)](_0x6f2e6e=>{const _0x34d278=_0x40e69c,_0x8bccd7=_0xa82e93[_0x34d278(0x1a0)](_0x5d995f,_0x6f2e6e);if(_0x3336dc[_0x3ba1b0]||(_0x3336dc[_0x3ba1b0]={}),_0x3336dc[_0x3ba1b0][_0x6f2e6e]={..._0x8bccd7,'s':_0x3ba1b0%0x2===0x0?_0x1a717e:_0x7c5d2e},_0x402511[_0x6f2e6e]&&_0x5d995f>=0x0){const _0x4b7a7a=_0x3ba1b0%0x2===0x0;let _0x3bd6c0=_0x4b7a7a?_0xb975f5[_0x6f2e6e]:_0xbe1977[_0x6f2e6e];_0x3bd6c0||(_0x3bd6c0=_0x295fa5[_0x34d278(0x106)]()[_0x34d278(0x1e4)]({..._0x4b7a7a?_0x38d332:_0x37ecb9,'n':{'pattern':_0x402511[_0x6f2e6e]}}),_0x4b7a7a?_0xb975f5[_0x6f2e6e]=_0x3bd6c0:_0xbe1977[_0x6f2e6e]=_0x3bd6c0),_0x3336dc[_0x3ba1b0][_0x6f2e6e]['s']=_0x3bd6c0;}}),_0x3ba1b0++;});const _0x45b62d=new _0x369ce1[(_0x3c9677(0x2bf))](_0x3336dc),_0x3c6da2={};_0x45b62d['forValue']((_0x4e9c06,_0x250b6b,_0x2696b7)=>{_0x3c6da2[_0x4e9c06]||(_0x3c6da2[_0x4e9c06]={}),_0x3c6da2[_0x4e9c06][_0x250b6b]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x27ed9f=[],_0x5e35b5=[],_0x1df6af=_0x295fa5[_0x3c9677(0x331)]()[_0x3c9677(0x264)],_0x46c210=_0x369ce1[_0x3c9677(0x3bd)]({'rowCount':Math[_0x3c9677(0x350)](_0x369ce1[_0x3c9677(0x18c)],_0x1b7348+0xa),'columnCount':Math['max'](_0x369ce1['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x2f32d1+0x5)}),_0x5e94be=_0x4633b7[_0x3c9677(0x392)](_0x369ce1[_0x3c9677(0x18e)]);_0x46c210['id']=_0x369ce1[_0x3c9677(0x379)](),_0x46c210[_0x3c9677(0x279)]=_0x295fa5[_0x3c9677(0x219)](''+_0x5e94be['t'](_0x3c9677(0x20d)));const _0x37c9f5={'index':_0x1df6af,'sheet':_0x46c210,'unitId':_0x49f950},_0x171698=_0x298fdb[_0x3c9677(0x16a)](_0x4633b7,_0x37c9f5);_0x5e35b5[_0x3c9677(0x3d4)]({'id':_0x298fdb[_0x3c9677(0x157)]['id'],'params':_0x37c9f5}),_0x27ed9f[_0x3c9677(0x3d4)]({'id':_0x298fdb[_0x3c9677(0x208)]['id'],'params':_0x171698}),_0x5e35b5['push']({'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'cellValue':_0x3336dc}}),_0x27ed9f[_0x3c9677(0x394)]({'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'cellValue':_0x3c6da2}});const _0x2d2b43={'startRow':0x0,'startColumn':0x0,'endRow':_0x3ba1b0-0x1,'endColumn':_0x63f85f};_0x5e35b5[_0x3c9677(0x3d4)]({'id':_0xc31ffa[_0x3c9677(0x16b)]['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'range':_0x2d2b43}}),_0x27ed9f['unshift']({'id':_0xc31ffa[_0x3c9677(0x2ea)]['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id']}});const _0x58da8d=_0x4633b7[_0x3c9677(0x392)](_0x369ce1[_0x3c9677(0x1f2)]);return _0x369ce1['sequenceExecute'](_0x5e35b5,_0x58da8d)&&_0x4633b7['get'](_0x369ce1['IUndoRedoService'])[_0x3c9677(0x122)]({'unitID':_0x49f950,'undoMutations':_0x27ed9f,'redoMutations':_0x5e35b5}),!0x0;}},_0x3c6b2d={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4dad30,_0x2c85eb){const _0x3ce6ef=_0x49f7c3;if(!_0x2c85eb)return!0x1;const _0xf2e382=_0x4dad30['get'](_0x369ce1['ICommandService']),_0x1ea753=_0x4dad30[_0x3ce6ef(0x392)](_0x237829[_0x3ce6ef(0x1d9)]),_0xb42647=_0x4dad30['get'](_0x369ce1[_0x3ce6ef(0x284)]),{pivotTableId:_0xd16963,fieldIds:_0x1344c7,unitId:_0x2265d1,subUnitId:_0x41b88a}=_0x2c85eb,_0x15cdb8=(await _0x1ea753[_0x3ce6ef(0x28b)]({'unitId':_0x2265d1,'subUnitId':_0x41b88a,'pivotTableId':_0xd16963,'params':{'type':_0x2b63fe['RemovePivotField'],'removePivotField':{'fieldIds':_0x1344c7}}}))[_0x3ce6ef(0x108)][_0x3ce6ef(0x24e)];if(!_0x15cdb8)return!0x1;const {view:_0x115b54,changesets:_0x467d16,isEmpty:_0x280b44,pivotTableConfig:_0x53bf69}=_0x15cdb8,_0x3e5f14=_0x53bf69['targetCellInfo'],_0x25c38f=new _0x2d316f[(_0x3ce6ef(0x3be))]();_0x25c38f[_0x3ce6ef(0x23b)](_0x115b54);const _0x4778cc={'cellInfo':_0x3e5f14,'view':_0x25c38f,'isEmpty':_0x280b44};if(!await _0x4dad30[_0x3ce6ef(0x392)](_0x237829[_0x3ce6ef(0x14b)])[_0x3ce6ef(0x297)][_0x3ce6ef(0x175)](_0x2f016b)(!0x0,_0x4778cc))return!0x1;const _0x41c4b6=_0x75bbf(_0x4dad30,_0x25c38f,_0x3e5f14,_0x280b44),_0x47d699=_0x5eb13c(_0x4dad30,_0x4778cc),{redos:_0x5909e8,undos:_0x14ad6}=_0x52ee78(_0xf2e382,{'pivotTableId':_0xd16963,'unitId':_0x2265d1,'subUnitId':_0x41b88a},_0x467d16);return _0x369ce1[_0x3ce6ef(0x2a6)]([..._0x41c4b6[_0x3ce6ef(0x1da)],..._0x47d699[_0x3ce6ef(0x1da)],..._0x5909e8],_0xf2e382),_0xb42647[_0x3ce6ef(0x122)]({'unitID':_0x2265d1,'redoMutations':[..._0x41c4b6[_0x3ce6ef(0x1da)],..._0x47d699[_0x3ce6ef(0x1da)],..._0x5909e8],'undoMutations':[..._0x41c4b6[_0x3ce6ef(0x221)],..._0x47d699[_0x3ce6ef(0x221)],..._0x14ad6]}),!0x0;}},_0x5d942b={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x138),async 'handler'(_0x488bb3,_0x4144d1){const _0x1c4d04=_0x49f7c3;if(!_0x4144d1)return!0x1;const _0x521186=_0x488bb3[_0x1c4d04(0x392)](_0x369ce1[_0x1c4d04(0x1f2)]),_0x71b1b0=_0x488bb3[_0x1c4d04(0x392)](_0x369ce1[_0x1c4d04(0x284)]),_0x4914c4=_0x488bb3[_0x1c4d04(0x392)](_0x237829['SheetsPivotRPCService']),{resetArea:_0x3d1ba8,pivotTableId:_0x4647dc,unitId:_0x444dd6,subUnitId:_0x45d95b}=_0x4144d1,_0x27ec1f=(await _0x4914c4['getPivotDisplayConfig']({'unitId':_0x444dd6,'subUnitId':_0x45d95b,'pivotTableId':_0x4647dc,'params':{'type':_0x2b63fe[_0x1c4d04(0x348)],'resetPivotTable':{'pivotTableId':_0x4647dc,'resetArea':_0x3d1ba8}}}))[_0x1c4d04(0x108)]['resetPivotTable'];if(!_0x27ec1f)return!0x1;const {changesets:_0x79839b}=_0x27ec1f,{redos:_0x5bc3b5,undos:_0xbddad9}=_0x52ee78(_0x521186,{'pivotTableId':_0x4647dc,'unitId':_0x444dd6,'subUnitId':_0x45d95b},_0x79839b);return _0x369ce1[_0x1c4d04(0x2a6)](_0x5bc3b5,_0x521186),_0x71b1b0[_0x1c4d04(0x122)]({'unitID':_0x444dd6,'redoMutations':_0x5bc3b5,'undoMutations':_0xbddad9}),!0x0;}},_0x2c8263={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x1f2a07,_0x2f7849){const _0x5b8cd1=_0x49f7c3,_0x2384f2=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x1f2)]),_0x5bf79d=_0x1f2a07[_0x5b8cd1(0x392)](_0x237829[_0x5b8cd1(0x1d9)]),_0x24faf3=_0x1f2a07[_0x5b8cd1(0x392)](_0x237829[_0x5b8cd1(0x10d)]),_0x577536=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1['IUniverInstanceService']),_0x566af8=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x18e)]),_0x257961=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x284)]);if(!_0x2f7849)return!0x1;const {unitId:_0x35dae2,subUnitId:_0x159467,row:_0x54d96a,col:_0xdebef4,collapse:_0x557e71}=_0x2f7849,_0x5b5a90=_0x577536[_0x5b8cd1(0x13e)](_0x35dae2);if(!_0x5b5a90||!_0x5b5a90['getSheetBySheetId'](_0x159467))return!0x1;const _0x366f5f=_0x24faf3[_0x5b8cd1(0xec)](_0x35dae2,_0x159467,_0x54d96a,_0xdebef4);if(!_0x366f5f)return!0x1;const _0x2f72fe=_0x24faf3['getPivotItemRenderInfoCache'](_0x35dae2,_0x159467,_0x366f5f);if(!_0x2f72fe)return!0x1;const _0x47ce7b=_0x369ce1[_0x5b8cd1(0x102)](_0x54d96a,_0xdebef4),{rangesInfo:_0x3d2d51,areaInfo:_0x352823,headerMap:_0x149b75}=_0x2f72fe;if(!_0x3d2d51||!_0x352823||!_0x149b75)return!0x1;const _0x2d35d9=Object[_0x5b8cd1(0x3e2)](_0x3d2d51)['find'](_0x276173=>_0x3d2d51[_0x276173][_0x5b8cd1(0x172)](_0x1e1b48=>_0x369ce1[_0x5b8cd1(0x32a)][_0x5b8cd1(0x1f0)](_0x1e1b48,_0x47ce7b)));let _0x30edc9;_0x2d35d9===_0x5b8cd1(0x18a)?_0x30edc9=_0x149b75[_0x5b8cd1(0x2b9)][_0xdebef4]:_0x2d35d9==='colRanges'&&(_0x30edc9=_0x149b75[_0x5b8cd1(0x314)][_0x54d96a]);const _0x5c9282=_0x30edc9==null?void 0x0:_0x30edc9['tableFieldId'],_0x1d3ab6=_0x24faf3['getPivotTableCellData'](_0x35dae2,_0x159467,_0x54d96a,_0xdebef4);let _0x3741d1=_0x1d3ab6==null?void 0x0:_0x1d3ab6['v'];if(_0x3741d1===_0x566af8['t']('sheets-pivot.blank')&&(_0x3741d1=_0x2d316f[_0x5b8cd1(0x160)][_0x5b8cd1(0x13a)]),_0x3741d1==null||!_0x366f5f||!_0x5c9282)return!0x1;const _0x37082b=await _0x5bf79d[_0x5b8cd1(0x28b)]({'unitId':_0x35dae2,'subUnitId':_0x159467,'pivotTableId':_0x366f5f,'params':{'type':_0x2b63fe[_0x5b8cd1(0x1b2)],'setPivotCollapse':{'tableFieldId':_0x5c9282,'collapse':_0x557e71,'item':_0x3741d1}}}),_0x512b25=_0x37082b==null?void 0x0:_0x37082b[_0x5b8cd1(0x108)][_0x5b8cd1(0x335)];if(!_0x512b25)return!0x1;const {view:_0x145e4a,pivotTableConfig:_0x22a3af,isEmpty:_0x52b6c2,changesets:_0x4055cd}=_0x512b25,_0x3324e1=new _0x2d316f[(_0x5b8cd1(0x3be))]();_0x3324e1[_0x5b8cd1(0x23b)](_0x145e4a);const _0x4b2791=_0x22a3af[_0x5b8cd1(0xf9)],_0x49e385={'cellInfo':_0x4b2791,'view':_0x3324e1,'isEmpty':_0x52b6c2};if(!await _0x1f2a07[_0x5b8cd1(0x392)](_0x237829['SheetsPivotTableService'])[_0x5b8cd1(0x297)]['fetchThroughAsyncInterceptors'](_0x2f016b)(!0x0,_0x49e385))return!0x1;const _0x4b2550=_0x75bbf(_0x1f2a07,_0x3324e1,_0x4b2791,_0x52b6c2),_0x3debe2=_0x5eb13c(_0x1f2a07,_0x49e385),{redos:_0x327f13,undos:_0x595f4e}=_0x52ee78(_0x2384f2,{'pivotTableId':_0x366f5f,'unitId':_0x35dae2,'subUnitId':_0x159467},_0x4055cd);return _0x369ce1[_0x5b8cd1(0x2a6)]([..._0x4b2550[_0x5b8cd1(0x1da)],..._0x3debe2[_0x5b8cd1(0x1da)],..._0x327f13],_0x2384f2),_0x257961[_0x5b8cd1(0x122)]({'unitID':_0x35dae2,'redoMutations':[..._0x4b2550[_0x5b8cd1(0x1da)],..._0x3debe2[_0x5b8cd1(0x1da)],..._0x327f13],'undoMutations':[..._0x4b2550[_0x5b8cd1(0x221)],..._0x3debe2[_0x5b8cd1(0x221)],..._0x595f4e]}),!0x0;}},_0x3f45e7={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x391),async 'handler'(_0xc1c024,_0xe2db37){const _0x267d7e=_0x49f7c3;if(!_0xe2db37)return!0x1;const _0x242963=_0xc1c024[_0x267d7e(0x392)](_0x369ce1[_0x267d7e(0x1f2)]),_0x2d4d15=_0xc1c024[_0x267d7e(0x392)](_0x369ce1[_0x267d7e(0x284)]),_0x2d83a8=_0xc1c024[_0x267d7e(0x392)](_0x237829[_0x267d7e(0x1d9)]),{pivotTableConfig:_0x370c8f,pivotTableId:_0x5521a8,unitId:_0x1263b4,subUnitId:_0x3d3692}=_0xe2db37,_0x2d4933=(await _0x2d83a8[_0x267d7e(0x28b)]({'unitId':_0x1263b4,'subUnitId':_0x3d3692,'pivotTableId':_0x5521a8,'params':{'type':_0x2b63fe[_0x267d7e(0x2ef)],'setPivotTableConfig':{'pivotTableId':_0x5521a8,'pivotTableConfig':_0x370c8f}}}))[_0x267d7e(0x108)][_0x267d7e(0x3ca)];if(!_0x2d4933)return!0x1;const {changesets:_0x5c1ede}=_0x2d4933,{redos:_0x2e9beb,undos:_0x3577eb}=_0x52ee78(_0x242963,{'pivotTableId':_0x5521a8,'unitId':_0x1263b4,'subUnitId':_0x3d3692},_0x5c1ede);return _0x369ce1[_0x267d7e(0x2a6)](_0x2e9beb,_0x242963),_0x2d4d15[_0x267d7e(0x122)]({'unitID':_0x1263b4,'redoMutations':_0x2e9beb,'undoMutations':_0x3577eb}),!0x0;}},_0x71ad3f={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':_0x49f7c3(0x177),async 'handler'(_0x248f46,_0x4877e5){const _0x4719b3=_0x49f7c3;if(!_0x4877e5)return!0x1;const _0x415e82=_0x248f46['get'](_0x369ce1[_0x4719b3(0x1f2)]),{pivotTableId:_0x5ee4b4,tableFieldId:_0x3af62e,items:_0x12cb31,unitId:_0x495108,subUnitId:_0x3394eb,isAll:_0x1d6aa8}=_0x4877e5,_0x5f5773=_0x248f46[_0x4719b3(0x392)](_0x237829['SheetsPivotRPCService']),_0x48ab28=_0x248f46[_0x4719b3(0x392)](_0x369ce1[_0x4719b3(0x284)]),_0x9a2332=(await _0x5f5773['getPivotDisplayConfig']({'unitId':_0x495108,'subUnitId':_0x3394eb,'pivotTableId':_0x5ee4b4,'params':{'type':_0x2b63fe['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x3af62e,'items':_0x12cb31,'isAll':_0x1d6aa8}}}))[_0x4719b3(0x108)][_0x4719b3(0x3ce)];if(!_0x9a2332)return!0x1;const {changesets:_0x4b8f22,pivotTableConfig:_0x4c0568,isEmpty:_0x31badd,view:_0x33e951}=_0x9a2332,_0x3838aa=_0x4c0568[_0x4719b3(0xf9)],_0x3837b0=new _0x2d316f['PivotView']();_0x3837b0[_0x4719b3(0x23b)](_0x33e951);const _0x2ffb49={'cellInfo':_0x3838aa,'view':_0x3837b0,'isEmpty':_0x31badd};if(!await _0x248f46['get'](_0x237829[_0x4719b3(0x14b)])[_0x4719b3(0x297)][_0x4719b3(0x175)](_0x2f016b)(!0x0,_0x2ffb49))return!0x1;const _0x5826e3=_0x75bbf(_0x248f46,_0x3837b0,_0x3838aa,_0x31badd),_0x4d59e9=_0x5eb13c(_0x248f46,_0x2ffb49),{undos:_0x2c754b,redos:_0x2524b4}=_0x52ee78(_0x415e82,{'pivotTableId':_0x5ee4b4,'unitId':_0x495108,'subUnitId':_0x3394eb},_0x4b8f22);return _0x369ce1[_0x4719b3(0x2a6)]([..._0x5826e3[_0x4719b3(0x1da)],..._0x4d59e9[_0x4719b3(0x1da)],..._0x2524b4],_0x415e82),_0x48ab28[_0x4719b3(0x122)]({'unitID':_0x495108,'redoMutations':[..._0x5826e3['redos'],..._0x4d59e9[_0x4719b3(0x1da)],..._0x2524b4],'undoMutations':[..._0x5826e3[_0x4719b3(0x221)],..._0x4d59e9[_0x4719b3(0x221)],..._0x2c754b]}),!0x0;}},_0x2b8ba3={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x2d1),async 'handler'(_0x132eab,_0x5e80b0){const _0x476344=_0x49f7c3;if(!_0x5e80b0)return!0x1;const _0x56fc62=_0x132eab['get'](_0x369ce1['ICommandService']),_0x59e6ad=_0x132eab[_0x476344(0x392)](_0x369ce1[_0x476344(0x284)]),_0x2a198c=_0x132eab['get'](_0x237829[_0x476344(0x1d9)]),{info:_0x58022a,tableFieldId:_0x2f8c89,pivotTableId:_0x1b18f2,unitId:_0x3f902f,subUnitId:_0x2dd7ca}=_0x5e80b0,_0x3a105d=(await _0x2a198c[_0x476344(0x28b)]({'unitId':_0x3f902f,'subUnitId':_0x2dd7ca,'pivotTableId':_0x1b18f2,'params':{'type':_0x2b63fe[_0x476344(0x3df)],'setPivotSort':{'tableFieldId':_0x2f8c89,'info':_0x58022a}}}))[_0x476344(0x108)][_0x476344(0x294)];if(!_0x3a105d)return!0x1;const {changesets:_0x1d1020}=_0x3a105d,{redos:_0x28c428,undos:_0x3f91ff}=_0x52ee78(_0x56fc62,{'pivotTableId':_0x1b18f2,'unitId':_0x3f902f,'subUnitId':_0x2dd7ca},_0x1d1020);return _0x369ce1['sequenceExecute'](_0x28c428,_0x56fc62),_0x59e6ad[_0x476344(0x122)]({'unitID':_0x3f902f,'redoMutations':_0x28c428,'undoMutations':_0x3f91ff}),!0x0;}},_0x2c3c65={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x3a2),async 'handler'(_0x5f2ee2,_0x17e9b2){const _0x15719a=_0x49f7c3;if(!_0x17e9b2)return!0x1;const _0x1ecdbc=_0x5f2ee2[_0x15719a(0x392)](_0x369ce1[_0x15719a(0x1f2)]),{pivotTableId:_0x15e993,fieldId:_0x5886fc,valueFilterInfo:_0x1b0b2e,unitId:_0x530e71,subUnitId:_0x2e546e}=_0x17e9b2,_0x455b6a=_0x5f2ee2[_0x15719a(0x392)](_0x237829[_0x15719a(0x1d9)]),_0x13929d=_0x5f2ee2[_0x15719a(0x392)](_0x369ce1[_0x15719a(0x284)]),_0x4dbffe=(await _0x455b6a[_0x15719a(0x28b)]({'unitId':_0x530e71,'subUnitId':_0x2e546e,'pivotTableId':_0x15e993,'params':{'type':_0x2b63fe['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5886fc,'filterInfo':_0x1b0b2e}}}))[_0x15719a(0x108)][_0x15719a(0x17c)];if(!_0x4dbffe)return!0x1;const {changesets:_0x55882c,pivotTableConfig:_0x26254b,isEmpty:_0x11c164,view:_0x213fc9}=_0x4dbffe,_0x36f4cd=_0x26254b[_0x15719a(0xf9)],_0x18e2f7=new _0x2d316f[(_0x15719a(0x3be))]();_0x18e2f7[_0x15719a(0x23b)](_0x213fc9);const _0x4ceaad={'cellInfo':_0x36f4cd,'view':_0x18e2f7,'isEmpty':_0x11c164};if(!await _0x5f2ee2[_0x15719a(0x392)](_0x237829['SheetsPivotTableService'])[_0x15719a(0x297)][_0x15719a(0x175)](_0x2f016b)(!0x0,_0x4ceaad))return!0x1;const _0x54b816=_0x75bbf(_0x5f2ee2,_0x18e2f7,_0x36f4cd,_0x11c164),_0x376fd3=_0x5eb13c(_0x5f2ee2,_0x4ceaad),{undos:_0x488148,redos:_0x2d82a6}=_0x52ee78(_0x1ecdbc,{'pivotTableId':_0x15e993,'unitId':_0x530e71,'subUnitId':_0x2e546e},_0x55882c);return _0x369ce1['sequenceExecute']([..._0x54b816[_0x15719a(0x1da)],..._0x376fd3['redos'],..._0x2d82a6],_0x1ecdbc),_0x13929d[_0x15719a(0x122)]({'unitID':_0x530e71,'redoMutations':[..._0x54b816[_0x15719a(0x1da)],..._0x376fd3['redos'],..._0x2d82a6],'undoMutations':[..._0x54b816[_0x15719a(0x221)],..._0x376fd3[_0x15719a(0x221)],..._0x488148]}),!0x0;}},_0x38cd28={'id':_0x49f7c3(0x1c4),'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'handler':(_0x2d1726,_0x2acbaa)=>{const _0x31d7d1=_0x49f7c3;if(!_0x2acbaa)return!0x1;if(!!_0x2d1726['get'](_0x369ce1[_0x31d7d1(0x104)])[_0x31d7d1(0x1df)](_0x2884f3))return!0x0;const {unitId:_0x31aea8,subUnitId:_0x1032db,pivotTableId:_0x1a0799,tableFieldId:_0x2ce3bc,dateType:_0x12fee1}=_0x2acbaa,_0x2fd66d=_0x2d1726[_0x31d7d1(0x392)](_0x237829['SheetsPivotDataSourceModel']),_0x159042=_0x2fd66d[_0x31d7d1(0x2a7)](_0x1a0799);if(!_0x159042)return!0x1;const _0x59efb5=_0x159042[_0x31d7d1(0x275)](_0x2ce3bc);if(!_0x59efb5)return!0x1;const _0x4d93d6=_0x59efb5[_0x31d7d1(0x371)](),_0x2e2d9c=_0x159042['getDataFieldByDataFieldId'](_0x4d93d6),_0x19e879=(_0x2e2d9c==null?void 0x0:_0x2e2d9c['getName']())+'\x20'+_0x3b9b16(_0x2d1726,_0x12fee1);_0x2fd66d[_0x31d7d1(0x1c5)](_0x31aea8,_0x1a0799)['setDisplayName'](_0x59efb5['id'],_0x19e879);const _0x258654=_0x159042['getTableFieldById'](_0x2ce3bc);if(!_0x258654)return!0x1;_0x159042[_0x31d7d1(0x240)](_0x258654['getId'](),_0x19e879),_0x59efb5[_0x31d7d1(0x346)](_0x12fee1);const _0xf351f1=_0x2fd66d[_0x31d7d1(0x362)](_0x31aea8,_0x1032db,_0x1a0799);return _0x2fd66d[_0x31d7d1(0x23e)]({'unitId':_0x31aea8,'subUnitId':_0x1032db,'token':_0x1a0799,'type':_0x48b491['Set'],'pivotConfig':_0xf351f1}),!0x0;}},_0x3c035d={'id':'sheet.command.update-date-group','type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'handler':(_0x337745,_0x3888c1)=>{const _0x213b94=_0x49f7c3;if(!_0x3888c1)return!0x1;const _0x53f215=_0x337745['get'](_0x369ce1[_0x213b94(0x284)]),{unitId:_0x3e2f07,subUnitId:_0xccc041,pivotTableId:_0x4a0a32,tableFieldId:_0x3b3e4e}=_0x3888c1,_0x20ec11=[],_0x467068=[],_0x127974=_0x337745[_0x213b94(0x392)](_0x237829[_0x213b94(0x3ae)]),_0x4b0f47=_0x127974[_0x213b94(0x1c5)](_0x3e2f07,_0x4a0a32),_0x4b9028=_0x127974['getPivotTableConfig'](_0x3e2f07,_0xccc041,_0x4a0a32);if(!(_0x4b9028!=null&&_0x4b9028['fieldsConfig'][_0x213b94(0x26f)]))return!0x1;const _0x4a389e=Object[_0x213b94(0x3a7)](_0x4b9028[_0x213b94(0x1d4)]['dimension'])[_0x213b94(0x30b)](_0x3af037=>_0x3af037['id']===_0x3b3e4e);if(!_0x4a389e)return!0x1;const _0x134e72=_0x4a389e[_0x213b94(0x3e8)];if(!(_0x4b0f47!=null&&_0x4b0f47[_0x213b94(0x3ea)]))return!0x1;const _0x49f508=Object[_0x213b94(0x3a7)](_0x4b0f47==null?void 0x0:_0x4b0f47[_0x213b94(0x3ea)])[_0x213b94(0x30b)](_0x13d97d=>_0x13d97d['id']===_0x134e72);if(!_0x49f508)return!0x1;_0x2d316f[_0x213b94(0x266)](_0x49f508)&&_0x20ec11[_0x213b94(0x3d4)]({'id':_0x38cd28['id'],'params':{..._0x3888c1,'dateType':_0x49f508['dateType']}}),_0x467068[_0x213b94(0x3d4)]({'id':_0x38cd28['id'],'params':{..._0x3888c1}});const _0x451769=_0x337745[_0x213b94(0x392)](_0x369ce1[_0x213b94(0x1f2)]);return _0x369ce1[_0x213b94(0x2a6)](_0x467068,_0x451769)&&_0x53f215['pushUndoRedo']({'unitID':_0x3e2f07,'undoMutations':_0x20ec11,'redoMutations':_0x467068}),!0x0;}},_0x3af91c={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0xf6),async 'handler'(_0x4f718f,_0x58b23f){const _0x3a633d=_0x49f7c3;if(!_0x58b23f)return!0x1;const _0x2c4a33=_0x4f718f[_0x3a633d(0x392)](_0x369ce1[_0x3a633d(0x1f2)]),_0x29cf36=_0x4f718f['get'](_0x369ce1['IUndoRedoService']),_0xca9c35=_0x4f718f[_0x3a633d(0x392)](_0x237829[_0x3a633d(0x1d9)]),{displayName:_0x9bd61c,subtotalType:_0x5bea68,format:_0x40d626,tableFieldId:_0x5d849c,pivotTableId:_0x15e93e,unitId:_0x378e0f,subUnitId:_0x1583b0}=_0x58b23f,_0x199749=(await _0xca9c35[_0x3a633d(0x28b)]({'unitId':_0x378e0f,'subUnitId':_0x1583b0,'pivotTableId':_0x15e93e,'params':{'type':_0x2b63fe[_0x3a633d(0x31e)],'setPivotSetting':{'tableFieldId':_0x5d849c,'displayName':_0x9bd61c,'subtotalType':_0x5bea68,'format':_0x40d626}}}))[_0x3a633d(0x108)][_0x3a633d(0x342)];if(!_0x199749)return!0x1;const {changesets:_0x226508,view:_0x167892,pivotTableConfig:_0x34cd18,isEmpty:_0x106b02}=_0x199749,_0x4f6779=_0x34cd18['targetCellInfo'],_0x31b7f0=new _0x2d316f[(_0x3a633d(0x3be))]();_0x31b7f0[_0x3a633d(0x23b)](_0x167892);const _0x1826ac={'cellInfo':_0x4f6779,'view':_0x31b7f0,'isEmpty':_0x106b02};if(!await _0x4f718f['get'](_0x237829[_0x3a633d(0x14b)])[_0x3a633d(0x297)][_0x3a633d(0x175)](_0x2f016b)(!0x0,_0x1826ac))return!0x1;const _0x3b305f=_0x75bbf(_0x4f718f,_0x31b7f0,_0x4f6779,_0x106b02),_0x497cc2=_0x5eb13c(_0x4f718f,_0x1826ac),{undos:_0x5e44e5,redos:_0x480776}=_0x52ee78(_0x2c4a33,{'pivotTableId':_0x15e93e,'unitId':_0x378e0f,'subUnitId':_0x1583b0},_0x226508);return _0x369ce1[_0x3a633d(0x2a6)]([..._0x3b305f['redos'],..._0x497cc2['redos'],..._0x480776],_0x2c4a33),_0x29cf36[_0x3a633d(0x122)]({'unitID':_0x378e0f,'redoMutations':[..._0x3b305f[_0x3a633d(0x1da)],..._0x497cc2[_0x3a633d(0x1da)],..._0x480776],'undoMutations':[..._0x3b305f[_0x3a633d(0x221)],..._0x497cc2['undos'],..._0x5e44e5]}),!0x0;}},_0x2e1edc={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x1b9),'handler'(_0x1bd7bd,_0x585271){const _0x28a6c2=_0x49f7c3;if(!_0x585271)return!0x1;if(!!_0x1bd7bd[_0x28a6c2(0x392)](_0x369ce1[_0x28a6c2(0x104)])[_0x28a6c2(0x1df)](_0x2884f3))return!0x0;const _0x461350=_0x1bd7bd[_0x28a6c2(0x392)](_0x237829[_0x28a6c2(0x188)]),{pivotTableId:_0x13b419,deleteIds:_0x570bea,collectionJSON:_0x20c16b,dataRangeInfo:_0x5bdb4d,unitId:_0x45b0ef,subUnitId:_0x5e4e34}=_0x585271,_0x2e01f0=_0x461350['getPivotTableInstance'](_0x13b419),_0x194965=_0x461350[_0x28a6c2(0x362)](_0x45b0ef,_0x5e4e34,_0x13b419);if(!_0x2e01f0||!_0x194965)return!0x1;const {collection:_0x49204c,updateDataFieldList:_0x38eb6f}=_0x461350[_0x28a6c2(0x2c2)](_0x13b419,_0x20c16b,_0x5bdb4d,_0x194965[_0x28a6c2(0xf9)]);_0x461350[_0x28a6c2(0x124)](_0x49204c,_0x38eb6f,_0x5bdb4d),_0x2e01f0[_0x28a6c2(0x241)](_0x49204c);for(const _0xadc10e of _0x570bea)_0x461350[_0x28a6c2(0x19a)](_0x5bdb4d[_0x28a6c2(0x25c)],_0xadc10e);const _0x34b868=_0x461350['getPivotTableConfig'](_0x45b0ef,_0x5e4e34,_0x13b419);return _0x34b868[_0x28a6c2(0x3ed)]=JSON['parse'](JSON['stringify'](_0x5bdb4d)),_0x461350[_0x28a6c2(0x23e)]({'unitId':_0x45b0ef,'subUnitId':_0x5e4e34,'token':_0x13b419,'type':_0x48b491[_0x28a6c2(0x1e7)]}),!0x0;}},_0x1fd2e9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x3c8),async 'handler'(_0x504ad2,_0xc45b04){const _0x2c1a5d=_0x49f7c3,_0x8385a2=_0x504ad2[_0x2c1a5d(0x392)](_0x369ce1[_0x2c1a5d(0x1f2)]),_0x40b08f=_0x504ad2[_0x2c1a5d(0x392)](_0x237829['SheetsPivotRPCService']),_0x465d3c=_0x504ad2[_0x2c1a5d(0x392)](_0x369ce1['IUndoRedoService']);if(!_0xc45b04)return!0x1;const {token:_0x12f023,dataRangeInfo:_0x104c21,unitId:_0x31aa8b,subUnitId:_0xe53dd1}=_0xc45b04,_0xa021d6=[],_0x37b346=[],_0x8f3978=(await _0x40b08f[_0x2c1a5d(0x28b)]({'unitId':_0x31aa8b,'subUnitId':_0xe53dd1,'pivotTableId':_0x12f023,'params':{'type':_0x2b63fe[_0x2c1a5d(0x14f)],'updatePivotSource':{'dataRangeInfo':_0x104c21,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}}}))[_0x2c1a5d(0x108)]['updatePivotSource'];if(!_0x8f3978)return!0x1;const {changesets:_0x2f9574,deleteIds:_0x1bc275,collectionConfig:_0x3b3054,oldCollectionConfig:_0x373f0f,view:_0x2e52c7,isEmpty:_0x3dd2d4,pivotTableConfig:_0xb51a7a}=_0x8f3978;_0x37b346[_0x2c1a5d(0x3d4)]({'id':_0x2e1edc['id'],'params':{'pivotTableId':_0x12f023,'deleteIds':_0x1bc275,'collectionJSON':_0x3b3054,'dataRangeInfo':_0x104c21,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}}),_0xa021d6['unshift']({'id':_0x2e1edc['id'],'params':{'pivotTableId':_0x12f023,'deleteIds':[],'collectionJSON':_0x373f0f,'dataRangeInfo':_0xb51a7a[_0x2c1a5d(0x3ed)],'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}});const _0x43e1f6=_0xb51a7a['targetCellInfo'],_0x26d04e=new _0x2d316f[(_0x2c1a5d(0x3be))]();_0x26d04e[_0x2c1a5d(0x23b)](_0x2e52c7);const _0x57b41c={'cellInfo':_0x43e1f6,'view':_0x26d04e,'isEmpty':_0x3dd2d4};if(!await _0x504ad2[_0x2c1a5d(0x392)](_0x237829[_0x2c1a5d(0x14b)])[_0x2c1a5d(0x297)][_0x2c1a5d(0x175)](_0x2f016b)(!0x0,_0x57b41c))return!0x1;const _0x1b821a=_0x75bbf(_0x504ad2,_0x26d04e,_0x43e1f6,_0x3dd2d4),_0x4627ca=_0x5eb13c(_0x504ad2,_0x57b41c),{undos:_0x150681,redos:_0x8099fc}=_0x52ee78(_0x8385a2,{'pivotTableId':_0x12f023,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1},_0x2f9574);return _0x369ce1[_0x2c1a5d(0x2a6)]([..._0x1b821a[_0x2c1a5d(0x1da)],..._0x4627ca[_0x2c1a5d(0x1da)],..._0x37b346,..._0x150681],_0x8385a2),_0x465d3c['pushUndoRedo']({'unitID':_0x31aa8b,'redoMutations':[..._0x1b821a[_0x2c1a5d(0x1da)],..._0x4627ca[_0x2c1a5d(0x1da)],..._0x37b346,..._0x150681],'undoMutations':[..._0x1b821a[_0x2c1a5d(0x221)],..._0x4627ca[_0x2c1a5d(0x221)],..._0xa021d6,..._0x8099fc]}),!0x0;}},_0x46af38={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x23d),async 'handler'(_0x21b0ab,_0x214b32){const _0x2d0404=_0x49f7c3;if(!_0x214b32)return!0x1;const _0x43b2e8=_0x21b0ab['get'](_0x369ce1[_0x2d0404(0x1f2)]),_0x2f6279=_0x21b0ab[_0x2d0404(0x392)](_0x237829[_0x2d0404(0x1d9)]),_0x460121=_0x21b0ab[_0x2d0404(0x392)](_0x369ce1[_0x2d0404(0x389)]),_0x1c81ed=_0x21b0ab[_0x2d0404(0x392)](_0x369ce1[_0x2d0404(0x284)]),{pivotTableId:_0x15f3ed,position:_0x2e30fe,index:_0x59ca3f}=_0x214b32,_0xf5787=_0x298fdb[_0x2d0404(0x3b6)](_0x460121);if(!_0xf5787)return!0x1;const {unitId:_0x587762,subUnitId:_0xb0970}=_0xf5787,_0x48f147=(await _0x2f6279[_0x2d0404(0x28b)]({'unitId':_0x587762,'subUnitId':_0xb0970,'pivotTableId':_0x15f3ed,'params':{'type':_0x2b63fe[_0x2d0404(0x24b)],'updateValuePosition':{'position':_0x2e30fe,'index':_0x59ca3f}}}))[_0x2d0404(0x108)][_0x2d0404(0x206)];if(!_0x48f147)return!0x1;const {changesets:_0x5f2695,view:_0x2ca8e6,isEmpty:_0x4901cf,pivotTableConfig:_0x3fe3e6}=_0x48f147,_0x217ccc=_0x3fe3e6[_0x2d0404(0xf9)],_0x47afc0=new _0x2d316f[(_0x2d0404(0x3be))]();_0x47afc0[_0x2d0404(0x23b)](_0x2ca8e6);const _0x2cef4d=_0x21b0ab[_0x2d0404(0x392)](_0x237829[_0x2d0404(0x14b)]),_0xf471c0={'cellInfo':_0x217ccc,'view':_0x47afc0,'isEmpty':_0x4901cf};if(!await _0x2cef4d['asyncInterceptor'][_0x2d0404(0x175)](_0x2f016b)(!0x0,_0xf471c0))return!0x1;const _0x2d6b71=_0x75bbf(_0x21b0ab,_0x47afc0,_0x217ccc,_0x4901cf),_0x3ffc92=_0x5eb13c(_0x21b0ab,_0xf471c0),{undos:_0x306772,redos:_0x261db0}=_0x52ee78(_0x43b2e8,{'pivotTableId':_0x15f3ed,'unitId':_0x587762,'subUnitId':_0xb0970},_0x5f2695);return _0x369ce1[_0x2d0404(0x2a6)]([..._0x2d6b71[_0x2d0404(0x1da)],..._0x3ffc92['redos'],..._0x261db0],_0x43b2e8),_0x1c81ed['pushUndoRedo']({'unitID':_0x587762,'redoMutations':[..._0x2d6b71['redos'],..._0x3ffc92['redos'],..._0x261db0],'undoMutations':[..._0x2d6b71[_0x2d0404(0x221)],..._0x3ffc92[_0x2d0404(0x221)],..._0x306772]}),!0x0;}},_0x73bcf2={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x134),'handler'(){return!0x0;}};var _0x3300b0=Object[_0x49f7c3(0x1cd)],_0x5a2172=(_0x580c91,_0x2e7ef1,_0x205425,_0x2a9335)=>{const _0x4f165e=_0x49f7c3;for(var _0x310d5c=_0x2a9335>0x1?void 0x0:_0x2a9335?_0x3300b0(_0x2e7ef1,_0x205425):_0x2e7ef1,_0xafc0dd=_0x580c91[_0x4f165e(0x264)]-0x1,_0x4f57af;_0xafc0dd>=0x0;_0xafc0dd--)(_0x4f57af=_0x580c91[_0xafc0dd])&&(_0x310d5c=_0x4f57af(_0x310d5c)||_0x310d5c);return _0x310d5c;},_0xcbfdf=(_0x1c3cc3,_0x12ad4a)=>(_0x2b7027,_0x26baba)=>_0x12ad4a(_0x2b7027,_0x26baba,_0x1c3cc3);const _0xb29720=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x37275f=(_0x3a6722,_0x562ef2,_0xe86ab4)=>{const _0x332856=_0x49f7c3,_0x281a0b=_0x3a6722[_0x332856(0x12d)];_0x3a6722['iterateFieldDim'](_0x38b724=>{const _0x4a626a=_0x332856,_0x6b4e8=_0x38b724[_0x4a626a(0x2e7)](),_0x259cd4=_0x38b724[_0x4a626a(0x2a5)](),_0x38a2c8=_0x38b724[_0x4a626a(0x21f)](),_0x59c4c2=_0x38b724['getDisplayName']();_0x562ef2[_0x259cd4]&&_0x562ef2[_0x259cd4]===_0x59c4c2&&_0x38a2c8===_0x59c4c2&&(_0x3a6722['renameField'](_0x6b4e8,_0x281a0b[_0x4a626a(0x305)](_0x259cd4)),_0x38b724[_0x4a626a(0x1d6)](_0x281a0b[_0x4a626a(0x305)](_0x259cd4)));}),_0x3a6722[_0x332856(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x332856(0x30d)],_0x273f5a=>{const _0x19d9aa=_0x332856,_0x3e191b=_0x273f5a[_0x19d9aa(0x2e7)](),_0x5ac451=_0x273f5a[_0x19d9aa(0x2a5)](),_0x5d262c=_0x273f5a[_0x19d9aa(0x21f)](),_0x512508=_0x273f5a[_0x19d9aa(0x305)](),_0x4241f5=_0x273f5a['getSubtotal'](),_0x43f555=_0xe86ab4(_0x5d262c,_0x4241f5);_0x562ef2[_0x5ac451]&&_0x562ef2[_0x5ac451]===_0x5d262c&&_0x43f555===_0x512508&&(_0x3a6722[_0x19d9aa(0x240)](_0x3e191b,_0xe86ab4(_0x281a0b[_0x19d9aa(0x305)](_0x5ac451),_0x4241f5)),_0x273f5a[_0x19d9aa(0x1d6)](_0x281a0b[_0x19d9aa(0x305)](_0x5ac451)));});},_0xee356a=(_0x3db6af,_0x592001,_0x291c2a)=>{const _0x2779a2=_0x49f7c3;var _0x1ffdd8,_0x2e25ed;const {arrayFormulaCellData:_0x12ec97,unitData:_0x57f35b}=_0x592001,{unitId:_0x5bf9d5,subUnitId:_0x948f49}=_0x291c2a,_0x17f127=_0x291c2a['range'],{startColumn:_0x28dc0c,endColumn:_0x19910c}=_0x17f127,_0x2149f1=(_0x1ffdd8=_0x12ec97==null?void 0x0:_0x12ec97[_0x5bf9d5])==null?void 0x0:_0x1ffdd8[_0x948f49],_0x1a7688=(_0x2e25ed=_0x57f35b==null?void 0x0:_0x57f35b[_0x5bf9d5])==null?void 0x0:_0x2e25ed[_0x948f49],_0x385bf7=new Set(),_0x557f22=_0x19910c-_0x28dc0c+0x1,{dirtyRanges:_0x1eee99}=_0x3db6af;if(_0x1eee99)for(const {range:_0x4e9230,sheetId:_0x2b0881,unitId:_0x58d492}of _0x1eee99){if(_0x2b0881!==_0x948f49||_0x5bf9d5!==_0x58d492)continue;const _0x4c46d8=_0x369ce1['Rectangle'][_0x2779a2(0x1b4)](_0x4e9230,_0x17f127);if(_0x4c46d8){const {startColumn:_0x2ac052,endColumn:_0x5e81b0}=_0x4c46d8;for(let _0x5b9517=_0x2ac052;_0x5b9517<=_0x5e81b0;_0x5b9517++)_0x385bf7[_0x2779a2(0xe4)](_0x5b9517);}}if(_0x385bf7[_0x2779a2(0x390)]===_0x557f22||_0x385bf7[_0x2779a2(0x390)]===_0x557f22)return Array[_0x2779a2(0x3ec)](_0x385bf7);if(_0x1a7688){const _0x4aec68=_0x1a7688[_0x2779a2(0xd8)](),_0x52c5e6=Object[_0x2779a2(0x3e2)](_0x4aec68);for(const _0x3b831c of _0x52c5e6){const _0x277cb7=Number(_0x3b831c),_0x46e536=_0x4aec68[_0x277cb7];if(_0x385bf7[_0x2779a2(0x390)]===_0x557f22)break;for(const _0x188020 in _0x46e536){const _0x10b8f9=Number(_0x188020);_0x10b8f9<_0x28dc0c||_0x10b8f9>_0x19910c||_0x385bf7['add'](_0x10b8f9);}}}if(_0x2149f1){const _0x1cb51d=_0x2149f1[_0x2779a2(0xd8)](),_0x4251c7=Object[_0x2779a2(0x3e2)](_0x1cb51d);for(const _0x4dd053 of _0x4251c7){const _0x5576a2=Number(_0x4dd053),_0x270a5a=_0x1cb51d[_0x5576a2];if(_0x385bf7['size']===_0x557f22)break;for(const _0x270a80 in _0x270a5a){const _0x1bc460=Number(_0x270a80);_0x1bc460<_0x28dc0c||_0x1bc460>_0x19910c||_0x385bf7[_0x2779a2(0xe4)](_0x1bc460);}}}return Array[_0x2779a2(0x3ec)](_0x385bf7);},_0x10fa70=_0x48177b=>{const _0x4e9551=_0x49f7c3,_0x3db14e=new Set(),_0x2aedb4=[];for(const _0x193c8e of _0x48177b){const _0x3d7b18=_0x193c8e[_0x4e9551(0x1c7)]+','+_0x193c8e[_0x4e9551(0x1bf)]+','+_0x193c8e['startColumn']+','+_0x193c8e[_0x4e9551(0x12b)];_0x3db14e[_0x4e9551(0x1e8)](_0x3d7b18)||(_0x3db14e[_0x4e9551(0xe4)](_0x3d7b18),_0x2aedb4[_0x4e9551(0x3d4)](_0x193c8e));}return _0x2aedb4;};let _0xaea7e2=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x54bf64,_0x5354cd,_0xb692c3,_0x4644bd,_0x2121ce){const _0x43923f=_0x49f7c3;super(),_0x2a34b8(this,_0x43923f(0xe2),new _0x2c0848[(_0x43923f(0x144))](!0x0)),_0x2a34b8(this,_0x43923f(0x3ac),_0x511def=>{const _0xd2c07=_0x43923f;this[_0xd2c07(0xe2)][_0xd2c07(0x21c)](!0x1);}),_0x2a34b8(this,_0x43923f(0x373),_0x21b0c4=>{const _0x4a5666=_0x43923f;this[_0x4a5666(0xe2)][_0x4a5666(0x21c)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x54bf64,this[_0x43923f(0x2ed)]=_0x5354cd,this[_0x43923f(0x32c)]=_0xb692c3,this[_0x43923f(0x17e)]=_0x4644bd,this['_injector']=_0x2121ce,this[_0x43923f(0x38b)](),this[_0x43923f(0x148)]());}[_0x49f7c3(0x38b)](){const _0x5d78f7=_0x49f7c3;this[_0x5d78f7(0x213)](),this[_0x5d78f7(0x2ad)](),this[_0x5d78f7(0x2c1)](),this[_0x5d78f7(0x2d8)]();}[_0x49f7c3(0x161)](){const _0x2bc03d=_0x49f7c3;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x2bc03d(0xe2)]),_0x2d316f[_0x2bc03d(0x162)][_0x2bc03d(0x372)](_0x2d316f[_0x2bc03d(0x12a)][_0x2bc03d(0xf3)],this['_globalComputedStartHelpFunc']),_0x2d316f[_0x2bc03d(0x162)][_0x2bc03d(0x372)](_0x2d316f[_0x2bc03d(0x12a)][_0x2bc03d(0x2cd)],this[_0x2bc03d(0x373)]);}['_initPivotDataGetListener'](){const _0x202e2e=_0x49f7c3;this[_0x202e2e(0x3dd)](this[_0x202e2e(0x32c)]['onCommandExecuted'](_0x140940=>{const _0x547b36=_0x202e2e;_0x140940['id']===_0x298fdb[_0x547b36(0x384)]['id']&&this[_0x547b36(0x296)]['handleMoveRange'](_0x140940['params']);})),this[_0x202e2e(0x3dd)](this[_0x202e2e(0x32c)][_0x202e2e(0x100)](_0x5f088d=>{const _0x21649a=_0x202e2e;if(_0x5f088d['id']!==_0x1fefb9['id'])return;const _0x2a7c7b=_0x5f088d[_0x21649a(0x376)],{unitId:_0x51d51d,subUnitId:_0x54c373,pivotTableId:_0x123378}=_0x2a7c7b,_0xb5a879=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x2d0)],_0x47ac51={};switch(_0xb5a879){case _0x2b63fe[_0x21649a(0x15c)]:{const _0x5f135b=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3dc)];if(!_0x5f135b)return;const {row:_0x55811e,col:_0x126de2,cellData:_0x3596e7,pivotItemRenderInfoCache:_0x25c5d1,tableFieldId:_0x377e2f}=_0x5f135b,_0x235515=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x2a7c7b[_0x21649a(0x257)]);if(!_0x235515||!_0x25c5d1)return;if(_0x377e2f){const _0x598390=_0x235515['getDataFieldByTableId'](_0x377e2f);if(!_0x598390)return;_0x47ac51[_0x21649a(0x3dc)]={..._0x235515['getDataFieldItemInfo'](_0x598390),'tableFieldId':_0x377e2f,'pivotTableId':_0x2a7c7b[_0x21649a(0x257)],'filterInfo':_0x235515[_0x21649a(0x339)](_0x377e2f),'sortInfo':_0x235515[_0x21649a(0x3ee)](_0x377e2f),'format':_0x235515['getFieldFormat'](_0x377e2f)};}else{const _0x2c9946=_0xdcd3eb(_0x55811e,_0x126de2,_0x3596e7,_0x235515,_0x25c5d1),_0xdd54e7=_0x2c9946==null?void 0x0:_0x2c9946[_0x21649a(0x130)];if(!_0xdd54e7)return;const _0x5d0baa=_0x235515[_0x21649a(0x275)](_0xdd54e7);if(!_0x5d0baa)return;_0x47ac51['filter']={..._0x235515[_0x21649a(0x2d9)](_0x5d0baa),'tableFieldId':_0xdd54e7,'pivotTableId':_0x2a7c7b[_0x21649a(0x257)],'filterInfo':_0x235515[_0x21649a(0x339)](_0xdd54e7),'sortInfo':_0x235515[_0x21649a(0x3ee)](_0xdd54e7),'format':_0x235515[_0x21649a(0x1a4)](_0xdd54e7)};}}break;case _0x2b63fe[_0x21649a(0xed)]:{const _0x313597=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x28c)];if(!_0x313597)return;const {pivotTableId:_0x1d0cdf}=_0x313597,_0x33d91a=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x1d0cdf);if(!_0x33d91a)return;const _0x2c21f0=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x1d0cdf),_0x1a54bc=_0x4d4bdc(_0x33d91a,_0x1d0cdf,_0x2c21f0);_0x47ac51[_0x21649a(0x28c)]=_0x1a54bc;}break;case _0x2b63fe[_0x21649a(0x1c0)]:{const _0x55c1cd=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x4b1f91=this['_sheetsPivotDataSourceModel'][_0x21649a(0x1f1)](_0x51d51d),_0x620c98=_0x4b1f91[_0x21649a(0x1c5)](_0x123378);let _0x351713=null;const _0x4c6d3c=this['_sheetsPivotDataSourceModel'][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378),_0xaabac7=_0x2a7c7b['params'][_0x21649a(0x2ec)];if(!_0x55c1cd||!_0x4c6d3c||!_0xaabac7)return!0x1;const {dataFieldId:_0x529b9a,fieldArea:_0x55582f,index:_0x4d8c7f}=_0xaabac7;_0x55c1cd[_0x21649a(0x2a3)]();const _0x4706a1=_0x55c1cd[_0x21649a(0x27e)](_0x529b9a,_0x55582f,_0x4d8c7f);if(_0x4706a1&&_0x55582f===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)]){const _0x477d76=_0x4706a1['getId'](),_0x2d2c0=_0x55c1cd[_0x21649a(0x275)](_0x477d76);if(_0x2d2c0){const _0x3ce25a=_0x2d2c0==null?void 0x0:_0x2d2c0[_0x21649a(0x239)]();_0x55c1cd[_0x21649a(0x1ac)](_0x4706a1['getId'](),_0x3ce25a===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)]['sum']:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}const _0x473145=_0x55c1cd[_0x21649a(0x39f)](),_0x4046a5=_0x55c1cd[_0x21649a(0x209)](),_0x367320=_0x55c1cd[_0x21649a(0x2ee)](_0x2d316f['PivotTableFiledAreaEnum']['Value']);if(_0x473145===-0x1&&_0x367320>0x1){const _0x5dbfee=_0x4046a5===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x115)]?_0x2d316f[_0x21649a(0x152)]['Column']:_0x4046a5,_0x41471f=_0x5dbfee===_0x2d316f[_0x21649a(0x152)]['Row']?_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x1ba)]:_0x2d316f[_0x21649a(0x137)]['Column'];_0x55c1cd[_0x21649a(0x206)](_0x5dbfee,_0x55c1cd[_0x21649a(0x2ee)](_0x41471f));}}else{if(_0x4706a1&&(_0x55582f===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]||_0x55582f===_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x10c)])){const _0x1a516b=_0x4706a1[_0x21649a(0x2e7)](),_0x2a239e=_0x55c1cd[_0x21649a(0x275)](_0x1a516b);if(_0x2a239e&&(_0x2a239e==null?void 0x0:_0x2a239e[_0x21649a(0x239)]())===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x2bb)]){const _0x56ccf3=_0x2a239e[_0x21649a(0x37b)]();if(_0x56ccf3&&_0x55c1cd['setFieldFormat'](_0x4706a1['getId'](),_0x56ccf3),!_0x620c98[_0x21649a(0x277)]()[_0x21649a(0x172)](_0x25fa3a=>{const _0x91f6f9=_0x21649a,_0x5f39d1=_0x620c98[_0x91f6f9(0x2aa)](_0x25fa3a);return _0x2d316f[_0x91f6f9(0x207)](_0x5f39d1)?_0x5f39d1[_0x91f6f9(0x3c9)]()[_0x91f6f9(0x17b)]===_0x529b9a:!0x1;})){const _0x1610ab=_0x4b1f91[_0x21649a(0x1ec)](),_0x3e74fa=_0x2b16d7(_0x2a239e[_0x21649a(0x20a)],_0x2a239e[_0x21649a(0x31f)]),_0x17534b=_0x2a239e[_0x21649a(0x1a9)]()+_0x21649a(0xfa)+_0x3b9b16(this['_injector'],_0x3e74fa),_0x32624a=new _0x2d316f['DateGroupField'](_0x1610ab,_0x17534b,_0x2d316f[_0x21649a(0x153)](0x3),_0x2a239e[_0x21649a(0x2e7)](),_0x3e74fa);_0x4b1f91['addDataFieldWithoutUnitInfo'](_0x32624a),_0x620c98['addField'](_0x1610ab,_0x17534b),_0x55c1cd[_0x21649a(0x27e)](_0x1610ab,_0x55582f,(_0x4d8c7f!=null?_0x4d8c7f:0x0)+0x1),_0x351713=_0x32624a;}}}}const _0x31153e=_0x55c1cd[_0x21649a(0x14a)](),_0x27142e=_0x55c1cd[_0x21649a(0xe8)]()[_0x21649a(0x132)]();let _0x1793ca;if(_0x351713){_0x1793ca=_0x351713[_0x21649a(0x132)]();const _0x335523=_0x351713[_0x21649a(0x2e7)]();_0x620c98[_0x21649a(0x2ff)](_0x335523);let _0x513fac=!0x0;for(const _0x1027f8 in _0x4b1f91[_0x21649a(0x15e)])if(_0x4b1f91[_0x21649a(0x15e)][_0x1027f8][_0x21649a(0x277)]()[_0x21649a(0xff)](_0x335523)){_0x513fac=!0x1;break;}_0x513fac&&_0x4b1f91['deleteDataField'](_0x335523);}const _0x3f241a=_0x55c1cd[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x2ec)]={'view':_0x27142e,'changesets':_0x3f241a,'isEmpty':_0x31153e,'pivotTableConfig':_0x4c6d3c,'shouldBeAddedGroupJSON':_0x1793ca};}break;case _0x2b63fe[_0x21649a(0x341)]:{const _0x283b1b=_0x2a7c7b[_0x21649a(0x376)]['addPivotTable'];if(!_0x283b1b)return;const _0x5862df=_0x283b1b[_0x21649a(0x3ed)],_0x260845=_0x283b1b[_0x21649a(0x257)],{collection:_0x9bc028}=this['_sheetsPivotDataSourceModel'][_0x21649a(0x33f)]({'unitId':_0x5862df[_0x21649a(0x25c)],'sheetName':_0x5862df['sheetName'],'subUnitId':_0x5862df[_0x21649a(0x353)],'range':_0x5862df[_0x21649a(0x1e9)]}),_0x55a62d=new _0x2d316f[(_0x21649a(0x162))](_0x9bc028,void 0x0,_0x260845),_0x463cb9=_0x55a62d[_0x21649a(0xe8)](),_0x8a6e54=_0x55a62d[_0x21649a(0x132)](),_0xf3118f=_0x9bc028[_0x21649a(0x132)]();_0x47ac51['addPivotTable']={'view':_0x463cb9,'fieldsConfig':_0x8a6e54,'collectionConfig':_0xf3118f,'isEmpty':_0x55a62d['isEmpty']()};}break;case _0x2b63fe[_0x21649a(0xf0)]:{const _0x43732e=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x1d2)];if(!_0x43732e)return;const {fieldId:_0x4e6ee2,area:_0x2bfd3e,index:_0x5622ab}=_0x43732e,_0x2a807e=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x2a807e)return;const _0x521161=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x123378);if(!_0x521161)return;_0x521161[_0x21649a(0x2a3)]();const {area:_0x507fea,index:_0x913667}=_0x521161[_0x21649a(0x300)](_0x4e6ee2);if(_0x521161['updateFieldPosition'](_0x4e6ee2,_0x2bfd3e,_0x5622ab),_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Value']&&_0x521161['getTableFieldById'](_0x4e6ee2)[_0x21649a(0x364)]()===void 0x0){const _0x13b559=_0x521161[_0x21649a(0x378)](_0x4e6ee2);if(_0x13b559&&_0x13b559['getSubtotal']()===void 0x0){const _0x3a1683=_0x521161[_0x21649a(0x275)](_0x4e6ee2);if(_0x3a1683){const _0x2d6b97=_0x3a1683==null?void 0x0:_0x3a1683['getFieldDataType']();_0x521161[_0x21649a(0x1ac)](_0x4e6ee2,_0x2d6b97===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x231)]:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}}}const _0x2adfb1=_0x521161[_0x21649a(0x209)](),_0x5119bc=_0x521161[_0x21649a(0x39f)](),_0x1c182e=_0x521161[_0x21649a(0x2ee)](_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)])>0x1;if(_0x1c182e&&_0x507fea===_0x2bfd3e&&(_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Row']&&_0x2adfb1===_0x2d316f['PivotTableValuePositionEnum'][_0x21649a(0x1ba)]||_0x2bfd3e===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)]['Column'])){let _0xf50bcc=_0x5119bc;_0x913667<=_0x5119bc&&_0xf50bcc--,_0x5622ab<=_0x5119bc&&_0xf50bcc++,_0x521161[_0x21649a(0x206)](_0x2adfb1,_0xf50bcc);}else _0x1c182e&&(_0x507fea===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x1ba)]||_0x507fea===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)]['Column'])&&_0x5119bc>=_0x913667&&_0x521161['updateValuePosition'](_0x2adfb1,_0x5119bc-0x1),_0x1c182e&&(_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Row']&&_0x2adfb1===_0x2d316f['PivotTableValuePositionEnum'][_0x21649a(0x1ba)]||_0x2bfd3e===_0x2d316f['PivotTableFiledAreaEnum']['Column']&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x10c)])&&_0x5119bc>=_0x5622ab&&_0x521161[_0x21649a(0x206)](_0x2adfb1,_0x5119bc+0x1);const _0x27cbc0=_0x521161[_0x21649a(0xe8)](),_0x203f7c=_0x521161[_0x21649a(0x14a)](),_0x202af4=_0x521161['endCollectChangeset']();_0x47ac51['movePivotField']={'view':_0x27cbc0[_0x21649a(0x132)](),'changesets':_0x202af4,'isEmpty':_0x203f7c,'pivotTableConfig':_0x2a807e};}break;case _0x2b63fe[_0x21649a(0x2a0)]:{const _0x1e848f=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x24e)];if(!_0x1e848f)return;const _0x558cdd=_0x1e848f[_0x21649a(0x196)],_0x21ce69=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x21ce69)return!0x1;const _0x55ef87=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378);if(!_0x55ef87)return!0x1;_0x55ef87[_0x21649a(0x2a3)]();for(const _0x14df61 of _0x558cdd){const {area:_0x51c56d}=_0x55ef87[_0x21649a(0x300)](_0x14df61);_0x51c56d===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)]&&_0x55ef87[_0x21649a(0x2d7)](_0x14df61),(_0x51c56d===_0x2d316f['PivotTableFiledAreaEnum']['Row']||_0x51c56d===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)])&&_0x55ef87[_0x21649a(0x1e6)](_0x14df61),_0x55ef87[_0x21649a(0x1ae)](_0x14df61);}const _0x524d1b=_0x55ef87['isEmpty'](),_0x1a38e7=_0x55ef87[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x45c1bc=_0x55ef87[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x24e)]={'changesets':_0x45c1bc,'pivotTableConfig':_0x21ce69,'isEmpty':_0x524d1b,'view':_0x1a38e7};}break;case _0x2b63fe[_0x21649a(0x2b5)]:{const _0x375fb4=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3ce)];if(!_0x375fb4)return;const {tableFieldId:_0x5794d3,items:_0x200f03,isAll:_0x51a261}=_0x375fb4,_0x409cb6=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x123378),_0x46bbfa=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x409cb6||!_0x46bbfa)return;_0x409cb6[_0x21649a(0x2a3)](),_0x409cb6[_0x21649a(0x1d8)](_0x5794d3,{'type':_0x2d316f[_0x21649a(0x324)]['ManualFilter'],'list':_0x200f03,'isAll':_0x51a261});const _0x3d41d2=_0x409cb6[_0x21649a(0x14a)](),_0x43bfdc=_0x409cb6[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x262d86=_0x409cb6[_0x21649a(0x181)]();_0x47ac51['setPivotFilter']={'view':_0x43bfdc,'changesets':_0x262d86,'isEmpty':_0x3d41d2,'pivotTableConfig':_0x46bbfa};}break;case _0x2b63fe[_0x21649a(0x3b0)]:{const _0x6b1532=_0x2a7c7b[_0x21649a(0x376)]['setValuePivotFilter'];if(!_0x6b1532)return;const {tableFieldId:_0x4585d5,filterInfo:_0x11aacf}=_0x6b1532,_0x4e80d8=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378),_0x283f32=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x4e80d8||!_0x283f32)return;_0x4e80d8[_0x21649a(0x2a3)](),_0x4e80d8[_0x21649a(0x262)](_0x4585d5,_0x11aacf);const _0x506a07=_0x4e80d8[_0x21649a(0x14a)](),_0x5925db=_0x4e80d8['query']()['toJSON'](),_0x45e07d=_0x4e80d8['endCollectChangeset']();_0x47ac51[_0x21649a(0x17c)]={'view':_0x5925db,'changesets':_0x45e07d,'isEmpty':_0x506a07,'pivotTableConfig':_0x283f32};}break;case _0x2b63fe['SetPivotSort']:{const _0x247776=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x294)];if(!_0x247776)return;const {tableFieldId:_0x411cdc,info:_0x232d93}=_0x247776,_0x4fdfce=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x8520f5=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x4fdfce||!_0x8520f5)return;_0x4fdfce['startCollectChangeset'](),_0x4fdfce[_0x21649a(0x1b7)](_0x411cdc,_0x232d93);const _0x3894bd=_0x4fdfce[_0x21649a(0x14a)](),_0xa728af=_0x4fdfce[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0xd102b6=_0x4fdfce[_0x21649a(0x181)]();_0x47ac51['setPivotSort']={'view':_0xa728af,'changesets':_0xd102b6,'isEmpty':_0x3894bd,'pivotTableConfig':_0x8520f5};}break;case _0x2b63fe['SetPivotSetting']:{const _0x370c21=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x342)];if(!_0x370c21)return;const {tableFieldId:_0x56c6ba,displayName:_0x509203,subtotalType:_0x42bbb2,format:_0x1049b7}=_0x370c21,_0x248efa=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x5ea25e=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x248efa||!_0x5ea25e)return;_0x248efa[_0x21649a(0x2a3)](),_0x509203!==void 0x0&&_0x248efa['renameField'](_0x56c6ba,_0x509203),_0x42bbb2!==void 0x0&&_0x248efa[_0x21649a(0x1ac)](_0x56c6ba,_0x42bbb2),_0x1049b7!==void 0x0&&_0x248efa[_0x21649a(0xde)](_0x56c6ba,_0x1049b7);const _0x3c2b9d=_0x248efa['isEmpty'](),_0x2146e8=_0x248efa[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x321e6c=_0x248efa[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x342)]={'changesets':_0x321e6c,'pivotTableConfig':_0x5ea25e,'isEmpty':_0x3c2b9d,'view':_0x2146e8};}break;case _0x2b63fe[_0x21649a(0x14f)]:{const _0x3f8744=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x2f0)];if(!_0x3f8744)return;const {dataRangeInfo:_0x2be032,unitId:_0x101049,subUnitId:_0x435178}=_0x3f8744,_0x40d554=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x101049,_0x435178,_0x123378),_0x361ce5=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378);if(!this[_0x21649a(0x296)][_0x21649a(0x1c5)](_0x101049,_0x123378)||!_0x361ce5||!_0x40d554)return;const _0x655008=this[_0x21649a(0x296)][_0x21649a(0x3a8)](_0x101049,_0x123378,_0x2be032),_0x9d03b7=this[_0x21649a(0x296)]['getCollection'](_0x101049,_0x123378)[_0x21649a(0x132)](),{collection:_0x52778f}=this['_sheetsPivotDataSourceModel'][_0x21649a(0x33f)]({'unitId':_0x2be032[_0x21649a(0x25c)],'sheetName':_0x2be032[_0x21649a(0x11e)],'subUnitId':_0x2be032[_0x21649a(0x353)],'range':_0x2be032[_0x21649a(0x1e9)]}),_0x4ff999=_0x52778f[_0x21649a(0x132)]();_0x361ce5['startCollectChangeset']();const _0x2e4e71=this[_0x21649a(0x296)][_0x21649a(0x1f1)](_0x101049)[_0x21649a(0x202)]()||_0x2d316f[_0x21649a(0x2c6)];_0x361ce5[_0x21649a(0x3db)](_0x48562b=>{const _0x46132b=_0x21649a,_0x18378c=_0x48562b['getDataFieldId']();if(!_0x52778f['hasField'](_0x18378c)){const _0x30f34b=_0x52778f[_0x46132b(0x118)](_0x48562b[_0x46132b(0x21f)]());if(_0x30f34b){_0x361ce5[_0x46132b(0x12f)](_0x48562b['getId'](),_0x30f34b[_0x46132b(0x1a9)](),_0x30f34b[_0x46132b(0x2e7)]());const {area:_0x40934d}=_0x361ce5['getFieldPositionInfoById'](_0x48562b[_0x46132b(0x2e7)]());let _0x37f93f=_0x48562b[_0x46132b(0x21f)]();const _0x207b0e=_0x48562b[_0x46132b(0x305)]();if(_0x40934d===_0x2d316f[_0x46132b(0x137)][_0x46132b(0x30d)]){const _0x1ea5e5=_0x48562b['getSubtotal']();_0x37f93f=_0x2e4e71(_0x30f34b[_0x46132b(0x1a9)](),_0x1ea5e5);}_0x207b0e!==_0x37f93f&&_0x361ce5[_0x46132b(0x240)](_0x48562b[_0x46132b(0x2e7)](),_0x37f93f);}else _0x361ce5[_0x46132b(0x1ae)](_0x48562b[_0x46132b(0x2e7)]());}});const _0x257cd4=_0x361ce5['isEmpty'](),_0x3132bc=_0x361ce5['query']()[_0x21649a(0x132)](),_0x91246b=_0x361ce5[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x2f0)]={'view':_0x3132bc,'changesets':_0x91246b,'isEmpty':_0x257cd4,'pivotTableConfig':_0x40d554,'collectionConfig':_0x4ff999,'oldCollectionConfig':_0x9d03b7,'deleteIds':_0x655008};}break;case _0x2b63fe[_0x21649a(0x24b)]:{const _0x3cb258=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x206)];if(!_0x3cb258)return;const {position:_0x19e760,index:_0x122e4c}=_0x3cb258,_0x16ab32=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x16ab32)return!0x1;const _0x41fa1a=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378);if(!_0x41fa1a)return!0x1;_0x41fa1a[_0x21649a(0x2a3)](),_0x41fa1a[_0x21649a(0x206)](_0x19e760,_0x122e4c);const _0x55b947=_0x41fa1a['isEmpty'](),_0x5d0312=_0x41fa1a[_0x21649a(0xe8)]()['toJSON'](),_0x15e042=_0x41fa1a[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x206)]={'changesets':_0x15e042,'pivotTableConfig':_0x16ab32,'isEmpty':_0x55b947,'view':_0x5d0312};}break;case _0x2b63fe[_0x21649a(0x1b2)]:{const _0x394fa9=_0x2a7c7b[_0x21649a(0x376)]['setPivotCollapse'];if(!_0x394fa9)return;const {tableFieldId:_0x16a8bc,collapse:_0xc0e947,item:_0x19e438}=_0x394fa9,_0x341f97=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378),_0x2be152=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x341f97||!_0x2be152)return;_0x341f97[_0x21649a(0x2a3)](),_0x341f97[_0x21649a(0x290)](_0x16a8bc,_0xc0e947,_0x19e438);const _0x4c493a=_0x341f97[_0x21649a(0x14a)](),_0x11ac77=_0x341f97[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x48c05a=_0x341f97[_0x21649a(0x181)]();_0x47ac51['setPivotCollapse']={'view':_0x11ac77,'isEmpty':_0x4c493a,'pivotTableConfig':_0x2be152,'changesets':_0x48c05a};}break;case _0x2b63fe[_0x21649a(0x2ef)]:{const _0x367558=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3ca)];if(!_0x367558)return;const {pivotTableConfig:_0x530c18}=_0x367558,_0x11d761=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x2dd2fc=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x11d761||!_0x2dd2fc)return;_0x11d761[_0x21649a(0x2a3)](),_0x1acbf7(_0x11d761,_0x530c18);const _0x52b7cc=_0x11d761[_0x21649a(0x14a)](),_0x3a1bca=_0x11d761[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x543897=_0x11d761[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x3ca)]={'view':_0x3a1bca,'isEmpty':_0x52b7cc,'pivotTableConfig':{..._0x2dd2fc,'fieldsConfig':_0x11d761[_0x21649a(0x132)]()},'changesets':_0x543897};}break;case _0x2b63fe[_0x21649a(0x348)]:{const _0x53dab0=_0x2a7c7b['params']['resetPivotTable'];if(!_0x53dab0)return;const _0x11e6a4=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x123378),_0xa9dff9=this['_sheetsPivotDataSourceModel'][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x11e6a4||!_0xa9dff9)return;_0x11e6a4[_0x21649a(0x2a3)](),_0x54733d(_0x11e6a4,_0x53dab0['resetArea']);const _0x3bc270=_0x11e6a4[_0x21649a(0xe8)]()['toJSON'](),_0x145add=_0x11e6a4[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x281)]={'view':_0x3bc270,'isEmpty':!0x0,'pivotTableConfig':{..._0xa9dff9,'fieldsConfig':_0x11e6a4['toJSON']()},'changesets':_0x145add};}break;case _0x2b63fe[_0x21649a(0x1e0)]:{const _0x361b08=_0x2a7c7b['params'][_0x21649a(0x2ab)];if(!_0x361b08)return;const _0x1e1a99=_0x361b08[_0x21649a(0x3ed)],_0x48f959=_0x361b08['pivotTableId'],{collection:_0x263824}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e1a99[_0x21649a(0x25c)],'sheetName':_0x1e1a99['sheetName'],'subUnitId':_0x1e1a99[_0x21649a(0x353)],'range':_0x1e1a99[_0x21649a(0x1e9)]}),_0x2ef220=new _0x2d316f['PivotTable'](_0x263824,void 0x0,_0x48f959),_0x9d73c6=_0x263824[_0x21649a(0x277)](),{rows:_0x211e6a,columns:_0x225a09,filters:_0xf7bf9b,values:_0x3ff749}=_0x361b08['pivotTableIndexConfig'];_0x2ef220[_0x21649a(0x2a3)]();for(const {field:_0x282a2e,selectedItems:_0x27cecf}of _0x211e6a||[]){const _0xe2e09e=_0x9d73c6[_0x282a2e];if(_0xe2e09e){const _0x218273=_0x2ef220[_0x21649a(0x27e)](_0xe2e09e,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]);_0x27cecf&&_0x218273&&_0x2ef220[_0x21649a(0x1d8)](_0x218273[_0x21649a(0x2e7)](),{'type':_0x2d316f['PivotFilterTypeEnum'][_0x21649a(0x18d)],'list':_0x27cecf,'isAll':!0x1});}}for(const {field:_0x295719,selectedItems:_0x279316}of _0x225a09||[]){const _0x24a6c7=_0x9d73c6[_0x295719];if(_0x24a6c7){const _0xdf9362=_0x2ef220[_0x21649a(0x27e)](_0x24a6c7,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]);_0x279316&&_0xdf9362&&_0x2ef220[_0x21649a(0x1d8)](_0xdf9362[_0x21649a(0x2e7)](),{'type':_0x2d316f[_0x21649a(0x324)][_0x21649a(0x18d)],'list':_0x279316,'isAll':!0x1});}}for(const {field:_0x1bd455,selectedItems:_0x208723}of _0xf7bf9b||[]){const _0x52a6d1=_0x9d73c6[_0x1bd455];if(_0x52a6d1){const _0x1b9613=_0x2ef220[_0x21649a(0x27e)](_0x52a6d1,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x15c)]);_0x208723&&_0x1b9613&&_0x2ef220[_0x21649a(0x1d8)](_0x1b9613[_0x21649a(0x2e7)](),{'type':_0x2d316f['PivotFilterTypeEnum'][_0x21649a(0x18d)],'list':_0x208723,'isAll':!0x1});}}for(const {field:_0x150513,subTotalType:_0x228787,formatString:_0x1e3d73}of _0x3ff749||[]){const _0x21963d=_0x263824[_0x21649a(0x2aa)](_0x9d73c6[_0x150513]);if(!_0x21963d)continue;const _0x294e50=_0x9d73c6[_0x150513];if(_0x294e50){const _0x479da3=_0x2ef220['addFieldWithSourceId'](_0x294e50,_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x30d)]);if(_0x479da3){if(_0x228787!==void 0x0){_0x2ef220[_0x21649a(0x1ac)](_0x479da3['getId'](),_0x228787);const _0x313d38=this['_sheetsPivotDataSourceModel'][_0x21649a(0x1f1)](_0x1e1a99[_0x21649a(0x25c)])[_0x21649a(0x202)]()||_0x2d316f[_0x21649a(0x2c6)],_0x5508aa=_0x263824[_0x21649a(0x305)](_0x294e50),_0x2237c9=_0x313d38(_0x5508aa,_0x228787);_0x2ef220['renameField'](_0x479da3[_0x21649a(0x2e7)](),_0x2237c9);}else{if(_0x21963d){const _0xb53c08=_0x21963d==null?void 0x0:_0x21963d['getFieldDataType']();_0x2ef220[_0x21649a(0x1ac)](_0x479da3[_0x21649a(0x2e7)](),_0xb53c08===_0x2d316f['PivotDataFieldDataTypeEnum'][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x231)]:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}}_0x1e3d73&&_0x2ef220[_0x21649a(0xde)](_0x479da3['getId'](),_0x1e3d73);}}}const _0x4cd957=_0x2ef220[_0x21649a(0xe8)](),_0x1aee7a=_0x2ef220[_0x21649a(0x132)](),_0x6efaf0=_0x2ef220[_0x21649a(0x14a)](),_0x2ca807=_0x2ef220['endCollectChangeset'](),_0x5534ea=_0x263824['toJSON']();_0x47ac51[_0x21649a(0x2ab)]={'view':_0x4cd957,'fieldsConfig':_0x1aee7a,'collectionConfig':_0x5534ea,'isEmpty':_0x6efaf0,'changesets':_0x2ca807};}break;case _0x2b63fe[_0x21649a(0x36e)]:{const _0x41abfe=_0x450940(this[_0x21649a(0x199)],_0x2a7c7b);if(!_0x41abfe)return;const {range:_0xc513b8,sourceSubUnitId:_0x28af25,sourceUnitId:_0x20c16e,formatMap:_0x3f05cb,indexes:_0x11dfe8}=_0x41abfe;_0x47ac51[_0x21649a(0x19d)]={'range':_0xc513b8,'sourceSubUnitId':_0x28af25,'sourceUnitId':_0x20c16e,'formatMap':_0x3f05cb,'indexes':_0x11dfe8};}break;}this[_0x21649a(0x32c)][_0x21649a(0x291)](_0x234ed3['id'],{'version':_0x2a7c7b['version'],'result':_0x47ac51},{'onlyLocal':!0x0});}));}[_0x49f7c3(0x2c1)](){const _0x2d1597=_0x49f7c3;this[_0x2d1597(0x3dd)](this[_0x2d1597(0x32c)][_0x2d1597(0x100)](_0x4fe6d1=>{const _0x5c2d01=_0x2d1597;if(_0x4fe6d1['id']!==_0x59c387['id'])return;const _0x59c6a1=_0x4fe6d1[_0x5c2d01(0x376)];return this[_0x5c2d01(0x296)][_0x5c2d01(0x22b)](_0x59c6a1['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x965d42=_0x49f7c3;this[_0x965d42(0x296)][_0x965d42(0x133)][_0x965d42(0x163)](_0x1c7b51=>{const _0x3a0573=_0x965d42;switch(_0x1c7b51[_0x3a0573(0x2d0)]){case _0x39e953['add']:_0x1c7b51['dataRangeInfo']&&_0x1c7b51[_0x3a0573(0xf9)]&&this[_0x3a0573(0x375)](_0x1c7b51[_0x3a0573(0x35d)],_0x1c7b51[_0x3a0573(0x24d)],_0x1c7b51[_0x3a0573(0xf9)]);break;case _0x39e953[_0x3a0573(0x223)]:{const {unitId:_0x4c1131,subUnitId:_0x367e9e,token:_0x3d2b2b}=_0x1c7b51;_0x4c1131&&_0x367e9e&&_0x3d2b2b&&this['removeSourceRangeChange'](_0x4c1131,_0x367e9e,_0x3d2b2b);}break;case _0x39e953[_0x3a0573(0x1c2)]:{const {token:_0x5a822c,oldSourceRangeInfo:_0x9055f2,dataRangeInfo:_0xd3ea91,targetCellInfo:_0x2435db}=_0x1c7b51,{unitId:_0x17e075,subUnitId:_0x382d91}=_0x9055f2||{};_0x17e075&&_0x382d91&&_0x5a822c&&this[_0x3a0573(0x255)](_0x17e075,_0x382d91,_0x5a822c),_0xd3ea91&&_0x2435db&&this[_0x3a0573(0x375)](_0x5a822c,_0xd3ea91,_0x2435db);}break;}});}['_subjectFieldsCollectionChange'](){const _0x2874dc=_0x49f7c3;this[_0x2874dc(0x296)][_0x2874dc(0x114)]['subscribe'](_0x4c6a5c=>{const _0x3819e2=_0x2874dc;Object['keys'](_0x4c6a5c)[_0x3819e2(0x10a)](_0x40e2bd=>{const _0x10c71f=_0x3819e2,_0xa6276f=this[_0x10c71f(0x296)]['getTargetByPivotId'](_0x40e2bd);if(_0xa6276f){const _0x56d23b=this[_0x10c71f(0x296)][_0x10c71f(0x362)](_0xa6276f==null?void 0x0:_0xa6276f['unitId'],_0xa6276f==null?void 0x0:_0xa6276f[_0x10c71f(0x353)],_0x40e2bd);_0x56d23b&&(this[_0x10c71f(0x375)](_0x40e2bd,_0x56d23b[_0x10c71f(0x3ed)],_0x56d23b[_0x10c71f(0xf9)]),this[_0x10c71f(0x2c8)]([{'unitId':_0xa6276f['unitId'],'subUnitId':_0xa6276f[_0x10c71f(0x353)],'token':_0x40e2bd}]));}});});}[_0x49f7c3(0x2ad)](){const _0x5bae16=_0x49f7c3;this['_sheetsPivotDataSourceModel']['viewData$'][_0x5bae16(0x163)](_0x2d6e43=>{const _0x1aaf8b=_0x5bae16,{unitId:_0x385503,subUnitId:_0x4d37aa,pivotTableId:_0x16fedd}=_0x2d6e43;_0x385503&&_0x4d37aa&&_0x16fedd&&this[_0x1aaf8b(0x2c8)]([{'unitId':_0x385503,'subUnitId':_0x4d37aa,'token':_0x16fedd}]);});}[_0x49f7c3(0x2c8)](_0x25b1e5){const _0x2684d0=_0x49f7c3,_0x16bc89={};_0x25b1e5['forEach'](_0x44ac6b=>{var _0x338f39,_0x56edae;const {unitId:_0xcd7648,subUnitId:_0x1b8e17,token:_0xf4cb4b}=_0x44ac6b;_0x16bc89[_0xcd7648]=(_0x338f39=_0x16bc89[_0xcd7648])!=null?_0x338f39:{},_0x16bc89[_0xcd7648][_0x1b8e17]=(_0x56edae=_0x16bc89[_0xcd7648][_0x1b8e17])!=null?_0x56edae:{},_0x16bc89[_0xcd7648][_0x1b8e17][_0xf4cb4b]=!0x0;}),this['_commandService'][_0x2684d0(0x291)](_0x73bcf2['id'],_0x16bc89);}['removeSourceRangeChange'](_0xe1a2de,_0x1098fa,_0x51f832){const _0x4ab190=_0x49f7c3;this[_0x4ab190(0x2ed)][_0x4ab190(0x183)](_0xe1a2de,_0x1098fa,[_0x51f832]);}['handleSourceRangeChange'](_0x1e6f9,_0x11e518,_0x50f32f){const _0x5d55a6=_0x49f7c3,{unitId:_0x52b9e4,subUnitId:_0x143dd8}=_0x11e518;this[_0x5d55a6(0x2ed)][_0x5d55a6(0x1e8)](_0x50f32f[_0x5d55a6(0x25c)],_0x50f32f[_0x5d55a6(0x353)],_0x1e6f9)&&this[_0x5d55a6(0x255)](_0x52b9e4,_0x143dd8,_0x1e6f9);const _0x44dbd6={'sheetId':_0x143dd8,..._0x11e518};this[_0x5d55a6(0x2ed)][_0x5d55a6(0x2ac)](_0x50f32f[_0x5d55a6(0x25c)],_0x50f32f[_0x5d55a6(0x353)],_0x1e6f9,{'unitId':_0x50f32f[_0x5d55a6(0x25c)],'subUnitId':_0x50f32f[_0x5d55a6(0x353)],'dependencyRanges':[_0x44dbd6],'getDirtyData':(_0x51834c,_0x279ea0)=>{const _0xd9fd55=_0x5d55a6,_0x318056=this[_0xd9fd55(0x296)],_0x369aac=_0x318056[_0xd9fd55(0x1cc)](_0x1e6f9);if(!_0x369aac)return _0xb29720();const {unitId:_0x2e732d,subUnitId:_0x4238a2}=_0x369aac,_0x79f994=_0xee356a(_0x51834c,_0x279ea0,_0x11e518);if(_0x79f994[_0xd9fd55(0x264)]>0x0){const _0x3b7036=_0x318056[_0xd9fd55(0x1c5)](_0x52b9e4,_0x1e6f9),_0x1ad985=_0x3b7036['getFieldIds'](),_0x111cda=this[_0xd9fd55(0x2df)](_0x11e518['unitId'],_0x11e518[_0xd9fd55(0x353)],_0x279ea0),_0x25c7fb={},_0x48e047=this['_sheetsPivotDataSourceModel'][_0xd9fd55(0x1f1)](_0x2e732d)[_0xd9fd55(0x202)]()||_0x2d316f['getAutoDisplayName'],_0x5167bc=[];for(const _0x2088f2 of _0x79f994){const _0x5ebd29=_0x2088f2-(_0x11e518[_0xd9fd55(0x1e9)][_0xd9fd55(0xfd)]||0x0),_0x277955=_0x1ad985[_0x5ebd29];_0x5167bc[_0xd9fd55(0x3d4)](_0x277955),_0x25c7fb[_0x277955]=_0x3b7036[_0xd9fd55(0x2aa)](_0x277955)[_0xd9fd55(0x1a9)](),_0x318056[_0xd9fd55(0x1f1)](_0x52b9e4)[_0xd9fd55(0x3d0)](_0x277955,_0x11e518,_0x5ebd29,_0x111cda);}_0x3b7036['getGroupFieldsInfoByIds'](_0x5167bc)['forEach'](_0x51f643=>{const _0x5eeef1=_0xd9fd55,[_0x2c6ec3,_0x408680]=_0x51f643,_0x23580b=_0x3b7036[_0x5eeef1(0x2aa)](_0x2c6ec3),_0x140558=_0x3b7036[_0x5eeef1(0x2aa)](_0x408680);_0x23580b&&_0x140558&&_0x23580b[_0x5eeef1(0x246)](_0x140558);}),_0x3b7036[_0xd9fd55(0x3e9)]();const _0x1fe669=_0x318056[_0xd9fd55(0x2a7)](_0x1e6f9);if(_0x1fe669){_0x37275f(_0x1fe669,_0x25c7fb,_0x48e047),_0x1fe669[_0xd9fd55(0x2b8)](!0x0);const _0xe51aae=_0x1fe669[_0xd9fd55(0xe8)](),_0x4804b6=_0x318056[_0xd9fd55(0x362)](_0x2e732d,_0x4238a2,_0x1e6f9),_0x3a14db=_0x318056['getDataFieldManager'](_0x52b9e4)[_0xd9fd55(0x132)]();_0x318056[_0xd9fd55(0x329)](_0x2e732d,_0x4238a2,_0x48b491[_0xd9fd55(0x1e7)],_0x1e6f9,_0xe51aae,_0x4804b6,_0x3a14db,!0x0);}}return this[_0xd9fd55(0x19b)](_0x2e732d,_0x4238a2,_0x1e6f9);}});}[_0x49f7c3(0x2df)](_0x5f43f7,_0x64e1b5,_0x3a23d8){var _0x1bf85f,_0x427a1d;const {arrayFormulaCellData:_0x1cf8db,unitData:_0x5a9e13}=_0x3a23d8,_0x54be96=(_0x1bf85f=_0x1cf8db==null?void 0x0:_0x1cf8db[_0x5f43f7])==null?void 0x0:_0x1bf85f[_0x64e1b5],_0x245fa2=(_0x427a1d=_0x5a9e13==null?void 0x0:_0x5a9e13[_0x5f43f7])==null?void 0x0:_0x427a1d[_0x64e1b5];return{'arrayFormulaCellDataMatrix':_0x54be96,'unitDataMatrix':_0x245fa2};}[_0x49f7c3(0x19b)](_0x34832a,_0x251532,_0x3e810e){const _0x2e1c80=_0x49f7c3,_0x2e2832=this[_0x2e1c80(0x296)]['getViewData'](_0x34832a,_0x251532,_0x3e810e),_0x22e8df=[],_0x3b5d3f=new _0x369ce1[(_0x2e1c80(0x2bf))]();if(_0x2e2832){const {rangeCache:_0xd42e85,matrix:_0x279851,oldRangeCache:_0x269be0,oldMatrix:_0x455fc7}=_0x2e2832,_0x4939da=_0x2652bb(_0x269be0),_0x191588=_0x2652bb(_0xd42e85);_0x22e8df['push'](..._0x191588,..._0x4939da),_0x455fc7&&_0x269be0&&_0x4939da[_0x2e1c80(0x10a)](_0x17c068=>{const _0x7b93b1=_0x2e1c80;for(let _0x160a84=_0x17c068[_0x7b93b1(0x1c7)];_0x160a84<=_0x17c068['endRow'];_0x160a84++)for(let _0x59bdb4=_0x17c068[_0x7b93b1(0xfd)];_0x59bdb4<=_0x17c068[_0x7b93b1(0x12b)];_0x59bdb4++)_0x3b5d3f[_0x7b93b1(0x3cf)](_0x160a84,_0x59bdb4);}),_0x279851&&_0x191588&&_0x191588[_0x2e1c80(0x10a)](_0x2fc54f=>{const _0x2432f2=_0x2e1c80;for(let _0x4f369f=_0x2fc54f[_0x2432f2(0x1c7)];_0x4f369f<=_0x2fc54f['endRow'];_0x4f369f++)for(let _0x15e3c7=_0x2fc54f[_0x2432f2(0xfd)];_0x15e3c7<=_0x2fc54f[_0x2432f2(0x12b)];_0x15e3c7++)_0x3b5d3f['setValue'](_0x4f369f,_0x15e3c7,_0x279851[_0x2432f2(0x1a0)](_0x4f369f,_0x15e3c7));});}const _0x13c70c={};return _0x13c70c[_0x34832a]={[_0x251532]:_0x10fa70(_0x22e8df)},{'runtimeCellData':{[_0x34832a]:{[_0x251532]:_0x3b5d3f}},'dirtyRanges':_0x13c70c};}[_0x49f7c3(0x3f2)](){}};_0xaea7e2=_0x5a2172([_0xcbfdf(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotDataSourceModel'])),_0xcbfdf(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0xc627d4['IFeatureCalculationManagerService'])),_0xcbfdf(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0xcbfdf(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0xc627d4[_0x49f7c3(0x247)])),_0xcbfdf(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)]))],_0xaea7e2);var _0x58fd0e=Object[_0x49f7c3(0x1cd)],_0x3b9670=(_0x485d02,_0x2c316b,_0x523929,_0x177136)=>{const _0x404ecb=_0x49f7c3;for(var _0x4526f5=_0x177136>0x1?void 0x0:_0x177136?_0x58fd0e(_0x2c316b,_0x523929):_0x2c316b,_0x37a3bf=_0x485d02[_0x404ecb(0x264)]-0x1,_0xb51ad6;_0x37a3bf>=0x0;_0x37a3bf--)(_0xb51ad6=_0x485d02[_0x37a3bf])&&(_0x4526f5=_0xb51ad6(_0x4526f5)||_0x4526f5);return _0x4526f5;},_0x346071=(_0x211a0b,_0x1aadc1)=>(_0x2328ff,_0xbfb97a)=>_0x1aadc1(_0x2328ff,_0xbfb97a,_0x211a0b);let _0x4a4274=class extends _0x369ce1['Disposable']{constructor(_0x192f97,_0x2cd444,_0x3c5be0,_0x4169ba){const _0x36452b=_0x49f7c3;super(),_0x2a34b8(this,_0x36452b(0x316),new _0x369ce1[(_0x36452b(0x254))]()),(this[_0x36452b(0x3a4)]=_0x192f97,this['_sheetInterceptorService']=_0x2cd444,this[_0x36452b(0x127)]=_0x3c5be0,this[_0x36452b(0x1fa)]=_0x4169ba,this[_0x36452b(0x2d2)]());}[_0x49f7c3(0x2d2)](){const _0x1506c0=_0x49f7c3;this[_0x1506c0(0x3dd)](this['_sheetInterceptorService'][_0x1506c0(0x298)]({'getMutations':_0xe57ab5=>{const _0x89485e=_0x1506c0;if(_0xe57ab5['id']===_0x298fdb[_0x89485e(0x37c)]['id']||_0xe57ab5['id']===_0x298fdb['ClearSelectionAllCommand']['id']){const _0xb9ad0=[],_0x1d8d07=[],_0x53d75e=this[_0x89485e(0x127)][_0x89485e(0x1e2)]()[_0x89485e(0x35b)](_0x23336e=>_0x23336e[_0x89485e(0x1e9)]),_0x54f6be=_0x298fdb[_0x89485e(0x3b6)](this[_0x89485e(0x3a4)],_0xe57ab5['params']);if(!_0x54f6be)return{'redos':[],'undos':[]};const {unitId:_0x3f9727,subUnitId:_0x40decf}=_0x54f6be,_0x54ff03={},_0x20e242=this[_0x89485e(0x1fa)][_0x89485e(0x200)](_0x3f9727,_0x40decf);if(_0x20e242!=null&&_0x20e242[_0x89485e(0x390)])for(const [_0x5568a8,_0x1bbe86]of _0x20e242){const {unitId:_0x57ab66,subUnitId:_0x4ac13a,row:_0x3792ec,col:_0x29671}=_0x1bbe86[_0x89485e(0xf9)];_0x57ab66===_0x54f6be[_0x89485e(0x25c)]&&_0x4ac13a===_0x54f6be[_0x89485e(0x353)]&&(_0x54ff03[_0x3792ec+'-'+_0x29671]=_0x5568a8);}return _0x53d75e&&_0x54f6be&&_0x53d75e[_0x89485e(0x10a)](_0x79f494=>{const _0xafe334=_0x89485e;_0x369ce1[_0xafe334(0x39a)][_0xafe334(0x218)](_0x79f494,(_0xc79962,_0x6598ca)=>{const _0x3f7982=_0xafe334,_0x5c6919=_0xc79962+'-'+_0x6598ca;if(_0x54ff03[_0x5c6919]){const _0x46c325=_0x54ff03[_0x5c6919];_0xb9ad0[_0x3f7982(0x3d4)]({'id':_0x113373['id'],'params':{'unitId':_0x3f9727,'subUnitId':_0x40decf,'pivotTableId':_0x46c325}});const _0x5f0d64=this[_0x3f7982(0x1fa)][_0x3f7982(0x1c5)](_0x3f9727,_0x46c325),_0x407f3e=this[_0x3f7982(0x1fa)][_0x3f7982(0x362)](_0x3f9727,_0x40decf,_0x46c325);_0x1d8d07['push']({'id':_0x307ba8['id'],'params':{'unitId':_0x3f9727,'subUnitId':_0x40decf,'pivotTableId':_0x46c325,'pivotTableConfig':_0x407f3e,'collectionConfig':_0x5f0d64}});}});}),{'redos':_0xb9ad0,'undos':_0x1d8d07};}return{'redos':[],'undos':[]};}}));}};_0x4a4274=_0x3b9670([_0x346071(0x0,_0x369ce1[_0x49f7c3(0x389)]),_0x346071(0x1,_0x369ce1['Inject'](_0x298fdb['SheetInterceptorService'])),_0x346071(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x38e)])),_0x346071(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)]))],_0x4a4274);var _0x215c00=Object['getOwnPropertyDescriptor'],_0x49baa3=(_0x59732f,_0x1f8063,_0x4db177,_0x5d7ec2)=>{const _0x341487=_0x49f7c3;for(var _0x822517=_0x5d7ec2>0x1?void 0x0:_0x5d7ec2?_0x215c00(_0x1f8063,_0x4db177):_0x1f8063,_0x3737b2=_0x59732f[_0x341487(0x264)]-0x1,_0x116573;_0x3737b2>=0x0;_0x3737b2--)(_0x116573=_0x59732f[_0x3737b2])&&(_0x822517=_0x116573(_0x822517)||_0x822517);return _0x822517;},_0x5e47de=(_0x19a6df,_0x583d47)=>(_0x759819,_0x215a40)=>_0x583d47(_0x759819,_0x215a40,_0x19a6df);let _0x1f58f4=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x34aeee,_0x435a2a,_0xe7ab16,_0x485e1e,_0x26c32b){const _0x3ad03d=_0x49f7c3;super(),this['_sheetInterceptorService']=_0x34aeee,this[_0x3ad03d(0x199)]=_0x435a2a,this[_0x3ad03d(0x3a4)]=_0xe7ab16,this['_sheetsPivotTableConfigModel']=_0x485e1e,this[_0x3ad03d(0x39b)]=_0x26c32b,this['_initCommandInterceptListener']();}[_0x49f7c3(0x330)](_0x3bc59e,_0x33cd04,_0x2d89f1){const _0x1762f5=_0x49f7c3,{pageView:_0x5d67db,cornerView:_0x3f3e08,rowView:_0x783d52,colView:_0x2eaf75,dataView:_0x60437f}=_0x33cd04,_0x571366=_0x3bc59e;let _0x13dc83;if(_0x2d89f1)_0x13dc83=[..._0x2353cb(_0x571366)];else{const _0x5075dd=_0x485549(_0x571366,_0x5d67db,!0x0),_0x1f3691=_0x5d67db[_0x1762f5(0x129)]>=0x0?_0x5d67db[_0x1762f5(0x129)]+0x1:0x0,_0x2d0c7a=_0x3f3e08[_0x1762f5(0x355)],_0x3057e5=_0x3f3e08[_0x1762f5(0x27f)],_0x50b69a=_0x5075dd[_0x1762f5(0x264)]>0x0?_0x523b9d:0x0,_0x204562=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a,'col':_0x571366[_0x1762f5(0x2d3)]},_0x3f3e08,!0x1,!0x1),_0x212ed9=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a+_0x2d0c7a,'col':_0x571366['col']},_0x783d52,!0x1,!0x0),_0xde3058=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a,'col':_0x571366[_0x1762f5(0x2d3)]+_0x3057e5},_0x2eaf75,!0x1,!0x0),_0x4d6da6=_0x485549({'row':_0x571366[_0x1762f5(0x27d)]+_0x1f3691+_0x50b69a+_0x2d0c7a,'col':_0x571366[_0x1762f5(0x2d3)]+_0x3057e5},_0x60437f,!0x1,!0x0);_0x13dc83=[..._0x5075dd,..._0x204562,..._0x212ed9,..._0xde3058,..._0x4d6da6];}return _0x13dc83;}[_0x49f7c3(0x2c9)](){const _0x3f95fa=_0x49f7c3;this[_0x3f95fa(0x3dd)](this[_0x3f95fa(0x39b)][_0x3f95fa(0x345)][_0x3f95fa(0x149)](this[_0x3f95fa(0x39b)]['interceptor']['getInterceptPoints']()[_0x3f95fa(0x1a2)],{'handler':(_0x1add0a,_0x1344ee)=>{const _0x188e47=_0x3f95fa,{cellInfo:_0x109fdc,view:_0x2e0b77,isEmpty:_0x154f31}=_0x1344ee,_0x43b404=_0x109fdc,{unitId:_0x5951a4,subUnitId:_0x553589}=_0x43b404,_0x2b118d=this[_0x188e47(0x330)](_0x109fdc,_0x2e0b77,_0x154f31),_0x5189fc=this[_0x188e47(0xf5)][_0x188e47(0x32d)]({'unitId':_0x5951a4,'subUnitId':_0x553589,'ranges':_0x2b118d}),_0x40c677=_0x2706e1(this[_0x188e47(0x199)],_0x5951a4,_0x553589,_0x2b118d);_0x40c677[_0x188e47(0x37f)]&&(_0x5189fc[_0x188e47(0x1da)][_0x188e47(0x3d4)](_0x40c677[_0x188e47(0x18f)]),_0x5189fc[_0x188e47(0x221)][_0x188e47(0x3d4)](_0x40c677[_0x188e47(0x16f)]));const _0x3ee6e0=this['getAutoFitColumnsMutations'](_0x2e0b77,_0x109fdc);return _0x5189fc[_0x188e47(0x1da)][_0x188e47(0x3d4)](..._0x3ee6e0['redos']),_0x5189fc[_0x188e47(0x221)][_0x188e47(0x3d4)](..._0x3ee6e0[_0x188e47(0x221)]),{'redos':_0x5189fc[_0x188e47(0x1da)],'undos':_0x5189fc[_0x188e47(0x221)]};}}));}['getAutoFitColumnsMutations'](_0x367dc7,_0x5b5a51){const _0x55ba0d=_0x49f7c3,{col:_0x25d573,unitId:_0x221be7,subUnitId:_0x3f8442}=_0x5b5a51,_0x416f5c=[],_0x11caf4=[],_0xf8db65=_0x298fdb[_0x55ba0d(0x3b6)](this[_0x55ba0d(0x3a4)],{'unitId':_0x221be7,'subUnitId':_0x3f8442});if(!_0x5b5a51||!_0x367dc7||!_0xf8db65)return{'undos':_0x11caf4,'redos':_0x416f5c};const _0x404ccc=this['_sheetsPivotTableConfigModel'][_0x55ba0d(0x260)](),{colView:_0x3d805d,dataView:_0x2063bb,cornerView:_0x5f2bc2,rowView:_0x353d6d,formatMap:_0x31f74f}=_0x367dc7,_0x1d28dd=_0x5c5782(_0x3d805d,_0x404ccc,!0x0,_0x31f74f),_0xef1c4d=_0x5c5782(_0x353d6d,_0x404ccc,!0x1,_0x31f74f),_0x21f5a3=_0x6e0cd3(_0x2063bb),_0x27f128=_0x55b0a8(_0x5f2bc2),{worksheet:_0x368f11}=_0xf8db65;if(typeof window<'u'&&window[_0x55ba0d(0x2da)]){const _0x4fe5f1=_0x10fda7[_0x55ba0d(0x11a)]({..._0x47e2f1[_0x55ba0d(0x21e)]}),_0x385614=_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0x1d28dd,_0x4fe5f1)[_0x55ba0d(0x3c0)]+0x10,_0x20dd86=_0x10fda7[_0x55ba0d(0x121)]['getTextSize'](_0x21f5a3,_0x4fe5f1)[_0x55ba0d(0x3c0)],_0x28ddac=Math[_0x55ba0d(0x12c)](Math[_0x55ba0d(0x350)](_0x385614,_0x20dd86))+0x10,_0x2d6085=Math[_0x55ba0d(0x12c)](_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0xef1c4d,_0x4fe5f1)[_0x55ba0d(0x3c0)]),_0x4baf38=Math[_0x55ba0d(0x12c)](_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0x27f128,_0x4fe5f1)[_0x55ba0d(0x3c0)]),_0x524e91=Math['max'](_0x2d6085,_0x4baf38,0x28)+0xc,_0x4a84d1=_0x3d805d[_0x55ba0d(0x27f)]+_0x5f2bc2[_0x55ba0d(0x27f)],_0x58fcfc={},_0xc6ccd2={};for(let _0xbf353f=_0x25d573;_0xbf353f<_0x25d573+_0x4a84d1;_0xbf353f++){const _0x3ec379=_0x368f11['getColumnWidth'](_0xbf353f);_0x58fcfc[_0xbf353f]=_0x3ec379,_0xbf353f-_0x25d573<_0x5f2bc2[_0x55ba0d(0x27f)]?_0xc6ccd2[_0xbf353f-_0x25d573]=_0x524e91:_0xc6ccd2[_0xbf353f-_0x25d573]=_0x28ddac;}_0x416f5c[_0x55ba0d(0x3d4)]({'id':_0x298fdb[_0x55ba0d(0x359)]['id'],'params':{'subUnitId':_0x3f8442,'unitId':_0x221be7,'ranges':[{'startColumn':_0x25d573,'endColumn':_0x25d573+_0x4a84d1-0x1,'startRow':0x0,'endRow':_0x368f11[_0x55ba0d(0x268)]()-0x1}],'colWidth':_0xc6ccd2}}),_0x11caf4[_0x55ba0d(0x3d4)]({'id':_0x298fdb['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x3f8442,'unitId':_0x221be7,'ranges':[{'startColumn':_0x25d573,'endColumn':_0x25d573+_0x4a84d1-0x1,'startRow':0x0,'endRow':_0x368f11[_0x55ba0d(0x268)]()-0x1}],'colWidth':_0x58fcfc}});}return{'undos':_0x11caf4,'redos':_0x416f5c};}};_0x1f58f4=_0x49baa3([_0x5e47de(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb['SheetInterceptorService'])),_0x5e47de(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['Injector'])),_0x5e47de(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IUniverInstanceService'])),_0x5e47de(0x3,_0x369ce1['Inject'](_0x237829['SheetsPivotTableConfigModel'])),_0x5e47de(0x4,_0x369ce1['Inject'](_0x237829[_0x49f7c3(0x14b)]))],_0x1f58f4);var _0x4d5665=Object[_0x49f7c3(0x1cd)],_0x4b1f51=(_0x2cd138,_0x22d014,_0x52cce2,_0x283a9)=>{const _0x29db9b=_0x49f7c3;for(var _0xaf9d03=_0x283a9>0x1?void 0x0:_0x283a9?_0x4d5665(_0x22d014,_0x52cce2):_0x22d014,_0x6013d5=_0x2cd138[_0x29db9b(0x264)]-0x1,_0x19d904;_0x6013d5>=0x0;_0x6013d5--)(_0x19d904=_0x2cd138[_0x6013d5])&&(_0xaf9d03=_0x19d904(_0xaf9d03)||_0xaf9d03);return _0xaf9d03;},_0xb7385f=(_0xa988a5,_0x284c7d)=>(_0x2421e3,_0x5c5789)=>_0x284c7d(_0x2421e3,_0x5c5789,_0xa988a5);let _0x23a834=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x41ba83,_0x31a078,_0x4e4fc9,_0x3d774f,_0x20815a,_0x5d4cf9,_0xef520e){const _0x257cec=_0x49f7c3;super(),_0x2a34b8(this,_0x257cec(0x316),new _0x369ce1[(_0x257cec(0x254))]()),(this[_0x257cec(0x199)]=_0x41ba83,this['_refRangeService']=_0x31a078,this['_commandService']=_0x4e4fc9,this['_univerInstanceService']=_0x3d774f,this[_0x257cec(0x1fa)]=_0x20815a,this['_sheetsPivotTableAdaptorModel']=_0x5d4cf9,this[_0x257cec(0xf5)]=_0xef520e,this[_0x257cec(0x28f)]());}[_0x49f7c3(0x28f)](){const _0x25adb7=_0x49f7c3,_0x29fade=(_0x1b70e0,_0x22b317)=>{const _0x3b2105=_0x1752,_0x49ef9a=this['_univerInstanceService'][_0x3b2105(0x201)](_0x369ce1[_0x3b2105(0x3ab)][_0x3b2105(0x234)]);if(!_0x49ef9a||!(_0x49ef9a==null?void 0x0:_0x49ef9a[_0x3b2105(0x2b7)](_0x22b317)))return;this[_0x3b2105(0x316)]['dispose']();const _0x33707e=_0x30c91d=>this['_refRangeHandle'](_0x30c91d,_0x1b70e0,_0x22b317),_0x3d8f0a=this[_0x3b2105(0x1fa)][_0x3b2105(0x200)](_0x1b70e0,_0x22b317);if(!(_0x3d8f0a!=null&&_0x3d8f0a['size']))return;Array['from'](_0x3d8f0a[_0x3b2105(0x3a7)]())[_0x3b2105(0x35b)](_0x1f5b32=>{const {row:_0x41aaff,col:_0x2d5bf8}=_0x1f5b32['targetCellInfo'];return _0x369ce1['cellToRange'](_0x41aaff,_0x2d5bf8);})['forEach'](_0x562ffa=>{const _0x5d9567=_0x3b2105;this[_0x5d9567(0x316)][_0x5d9567(0xe4)](this[_0x5d9567(0x171)][_0x5d9567(0x27c)](_0x562ffa,_0x33707e,_0x1b70e0,_0x22b317));});},_0x2b6c7a=()=>{const _0x2d0097=_0x1752,_0xb79b58=this[_0x2d0097(0x3a4)]['getCurrentUnitForType'](_0x369ce1[_0x2d0097(0x3ab)]['UNIVER_SHEET']);if(_0xb79b58){const _0x13dda2=_0xb79b58['getActiveSheet']();if(!_0x13dda2)return;_0x29fade(_0xb79b58[_0x2d0097(0x33e)](),_0x13dda2[_0x2d0097(0x212)]());}};this[_0x25adb7(0x3dd)](this[_0x25adb7(0x32c)][_0x25adb7(0x100)](_0x38fa51=>{const _0x27972e=_0x25adb7;if(_0x38fa51['id']===_0x298fdb[_0x27972e(0x229)]['id']){const _0x4f9ab9=_0x38fa51[_0x27972e(0x376)],_0x4deead=_0x4f9ab9[_0x27972e(0x353)],_0x1a9f09=_0x4f9ab9[_0x27972e(0x25c)];if(!_0x4deead||!_0x1a9f09)return;_0x29fade(_0x1a9f09,_0x4deead);}})),this[_0x25adb7(0x3dd)](this[_0x25adb7(0x1fa)]['pivotInitCompleted$']['subscribe'](_0x2cfea8=>{_0x2cfea8&&_0x2b6c7a();})),this[_0x25adb7(0x3dd)](this[_0x25adb7(0x1fa)][_0x25adb7(0x3b4)][_0x25adb7(0x163)](_0x646091=>{const _0x43dd70=_0x25adb7,_0xd7c89b=_0x298fdb['getSheetCommandTarget'](this[_0x43dd70(0x3a4)],{'unitId':_0x646091[_0x43dd70(0x25c)],'subUnitId':_0x646091[_0x43dd70(0x353)]});if(!_0xd7c89b)return;const {unitId:_0x2602ad,subUnitId:_0x448feb}=_0xd7c89b,{unitId:_0x22531d,subUnitId:_0x30c37f}=_0x646091;_0x2602ad!==_0x22531d||_0x448feb!==_0x30c37f||_0x29fade(_0x2602ad,_0x448feb);})),_0x2b6c7a();}[_0x49f7c3(0x180)](_0x27b459,_0x82253c,_0x142873){const _0x5b06dc=_0x49f7c3;switch(_0x27b459['id']){case _0x298fdb[_0x5b06dc(0x1ef)]['id']:return this[_0x5b06dc(0x382)](_0x27b459['params'],_0x82253c,_0x142873);}return{'redos':[],'undos':[]};}[_0x49f7c3(0x382)](_0x57d5fc,_0xea60e0,_0x236c43){const _0x357083=_0x49f7c3,{fromRange:_0x5ab0db,toRange:_0x2a1280}=_0x57d5fc,_0xc97d36=[],_0x5641d4=[],_0x33d8b7=_0x298fdb[_0x357083(0x3b6)](this[_0x357083(0x3a4)]);if(!_0x33d8b7)return{'undos':_0x5641d4,'redos':_0xc97d36};if(_0xea60e0!==_0x33d8b7[_0x357083(0x25c)]||_0x236c43!==_0x33d8b7[_0x357083(0x353)])return{'undos':_0x5641d4,'redos':_0xc97d36};const _0x25d463=this[_0x357083(0x1fa)][_0x357083(0x200)](_0xea60e0,_0x236c43);if(_0x25d463!=null&&_0x25d463[_0x357083(0x390)])for(const [_0x4911f3,_0x2b4b47]of _0x25d463){const {unitId:_0x5a46e6,subUnitId:_0x1b5140,row:_0x9f066c,col:_0x213728}=_0x2b4b47[_0x357083(0xf9)];if(_0x5a46e6===_0x33d8b7[_0x357083(0x25c)]&&_0x1b5140===_0x33d8b7[_0x357083(0x353)]){const _0x32c30b=_0x369ce1[_0x357083(0x102)](_0x9f066c,_0x213728);if(_0x369ce1[_0x357083(0x32a)][_0x357083(0xe7)](_0x32c30b,_0x5ab0db)){const _0x547354=_0x9f066c-_0x5ab0db[_0x357083(0x1c7)],_0x5a3697=_0x213728-_0x5ab0db[_0x357083(0xfd)],_0x3e667d={'row':_0x2a1280['startRow']+_0x547354,'col':_0x2a1280['startColumn']+_0x5a3697};_0xc97d36[_0x357083(0x3d4)]({'id':_0x4164f8['id'],'params':{'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'pivotTableId':_0x4911f3,'targetCellPosition':_0x3e667d}}),_0x5641d4[_0x357083(0x3d4)]({'id':_0x4164f8['id'],'params':{'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'pivotTableId':_0x4911f3,'targetCellPosition':{'row':_0x9f066c,'col':_0x213728}}});const _0xa63c87=_0x3e667d[_0x357083(0x27d)]-_0x9f066c,_0x4bc599=_0x3e667d[_0x357083(0x2d3)]-_0x213728,_0x1597d7=[],_0x383450=this[_0x357083(0x3ba)][_0x357083(0x2b0)](_0x5a46e6,_0x1b5140,_0x4911f3),_0x5cd2cf=_0x383450==null?void 0x0:_0x383450[_0x357083(0x2e6)];if(_0x5cd2cf){Object[_0x357083(0x3e2)](_0x5cd2cf)[_0x357083(0x10a)](_0x4f9091=>{const _0x4584a0=_0x357083;_0x5cd2cf[_0x4f9091][_0x4584a0(0x10a)](_0x4357bc=>{const _0x161a3b=_0x4584a0,_0x474f62={..._0x4357bc};_0x474f62[_0x161a3b(0x1c7)]=_0x4357bc[_0x161a3b(0x1c7)]+_0xa63c87,_0x474f62['endRow']=_0x4357bc['endRow']+_0xa63c87,_0x474f62[_0x161a3b(0xfd)]=_0x4357bc['startColumn']+_0x4bc599,_0x474f62[_0x161a3b(0x12b)]=_0x4357bc[_0x161a3b(0x12b)]+_0x4bc599,_0x1597d7[_0x161a3b(0x3d4)](_0x474f62);});});const _0x4af18a=this[_0x357083(0xf5)][_0x357083(0x32d)]({'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'ranges':_0x1597d7});_0xc97d36[_0x357083(0x3d4)](..._0x4af18a[_0x357083(0x1da)]),_0x5641d4[_0x357083(0x3d4)](..._0x4af18a[_0x357083(0x221)]);const _0x7d5297=_0x2706e1(this[_0x357083(0x199)],_0x5a46e6,_0x1b5140,_0x1597d7);_0x7d5297['shouldClear']&&(_0xc97d36[_0x357083(0x3d4)](_0x7d5297[_0x357083(0x18f)]),_0x5641d4[_0x357083(0x3d4)](_0x7d5297['setRangeValueUndoMutation']));}}}}return{'redos':_0xc97d36,'undos':_0x5641d4};}};_0x23a834=_0x4b1f51([_0xb7385f(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0xb7385f(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x2f8)])),_0xb7385f(0x2,_0x369ce1[_0x49f7c3(0x1f2)]),_0xb7385f(0x3,_0x369ce1[_0x49f7c3(0x389)]),_0xb7385f(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)])),_0xb7385f(0x5,_0x369ce1['Inject'](_0x237829[_0x49f7c3(0x10d)])),_0xb7385f(0x6,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)]))],_0x23a834);var _0x3763df=Object[_0x49f7c3(0x1cd)],_0xd3dec5=(_0x38e1d5,_0x411363,_0x2ce733,_0x3c4bc7)=>{const _0x14d13f=_0x49f7c3;for(var _0x340195=_0x3c4bc7>0x1?void 0x0:_0x3c4bc7?_0x3763df(_0x411363,_0x2ce733):_0x411363,_0x8fd7ef=_0x38e1d5[_0x14d13f(0x264)]-0x1,_0x3d7119;_0x8fd7ef>=0x0;_0x8fd7ef--)(_0x3d7119=_0x38e1d5[_0x8fd7ef])&&(_0x340195=_0x3d7119(_0x340195)||_0x340195);return _0x340195;},_0x243d87=(_0x150286,_0x447d2c)=>(_0x423293,_0x21d4b7)=>_0x447d2c(_0x423293,_0x21d4b7,_0x150286);let _0x40b147=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x4305b1,_0x5947f2){const _0x455a7a=_0x49f7c3;super(),this[_0x455a7a(0xf5)]=_0x4305b1,this[_0x455a7a(0x1fa)]=_0x5947f2,this['_initRemoveSheetCommandInterceptor']();}[_0x49f7c3(0x19c)](){const _0x44ad9=_0x49f7c3;this[_0x44ad9(0x3dd)](this['_sheetInterceptorService'][_0x44ad9(0x298)]({'getMutations':_0x466c9c=>{const _0x4165ad=_0x44ad9;if(_0x466c9c['id']===_0x298fdb[_0x4165ad(0x2d4)]['id']){const _0x283a83=[],_0x2323eb=[],_0x227f94=_0x466c9c[_0x4165ad(0x376)],{unitId:_0x57a737,subUnitId:_0x46e271}=_0x227f94;if(!_0x57a737||!_0x46e271)return{'undos':_0x2323eb,'redos':_0x283a83};const _0x4c8895=this[_0x4165ad(0x1fa)][_0x4165ad(0x200)](_0x57a737,_0x46e271);if(_0x4c8895!=null&&_0x4c8895[_0x4165ad(0x390)])for(const [_0x459b18,_0x455de9]of _0x4c8895){_0x283a83['push']({'id':_0x113373['id'],'params':{'unitId':_0x57a737,'subUnitId':_0x46e271,'pivotTableId':_0x459b18}});const _0x145b8b={...this[_0x4165ad(0x1fa)]['getCollection'](_0x57a737,_0x459b18)};_0x2323eb[_0x4165ad(0x3d4)]({'id':_0x307ba8['id'],'params':{'unitId':_0x57a737,'subUnitId':_0x46e271,'pivotTableId':_0x459b18,'pivotTableConfig':_0x455de9,'collectionConfig':_0x145b8b}});}return{'redos':_0x283a83,'undos':_0x2323eb};}return{'redos':[],'undos':[]};}}));}};_0x40b147=_0xd3dec5([_0x243d87(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)])),_0x243d87(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)]))],_0x40b147);var _0x11ac5a=Object[_0x49f7c3(0x1cd)],_0x2acaec=(_0x1a4f34,_0x4b82d0,_0x9eeb3b,_0x4a0286)=>{const _0x184467=_0x49f7c3;for(var _0x2656b4=_0x4a0286>0x1?void 0x0:_0x4a0286?_0x11ac5a(_0x4b82d0,_0x9eeb3b):_0x4b82d0,_0x59cf52=_0x1a4f34[_0x184467(0x264)]-0x1,_0xa4e092;_0x59cf52>=0x0;_0x59cf52--)(_0xa4e092=_0x1a4f34[_0x59cf52])&&(_0x2656b4=_0xa4e092(_0x2656b4)||_0x2656b4);return _0x2656b4;},_0x2123dc=(_0x5eee41,_0x2dccd6)=>(_0x333b57,_0x12bebd)=>_0x2dccd6(_0x333b57,_0x12bebd,_0x5eee41);let _0x70dc81=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x53790d,_0x2317c3,_0x56e2f3,_0x14f968,_0x27eab2,_0x9e568e){const _0x58e662=_0x49f7c3;super(),this[_0x58e662(0x32c)]=_0x53790d,this['_sheetsPivotRpcService']=_0x2317c3,this[_0x58e662(0x3ba)]=_0x56e2f3,this[_0x58e662(0x1fa)]=_0x14f968,this[_0x58e662(0x3a4)]=_0x27eab2,this[_0x58e662(0x334)]=_0x9e568e,this[_0x58e662(0x309)](),this[_0x58e662(0x3d9)]();}['_initDataSendListener'](){const _0x4fee1d=_0x49f7c3;this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x55a8c8=>{const _0x300ff4=_0x4fee1d;if(_0x55a8c8['id']!==_0x234ed3['id'])return;const _0x268c48=_0x55a8c8[_0x300ff4(0x376)];this[_0x300ff4(0xd9)][_0x300ff4(0x336)](_0x268c48);})),this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x4d1d5c=>{const _0x38c1c4=_0x4fee1d;if(_0x4d1d5c['id']===_0x4c6758['id']){const _0x34986a=_0x4d1d5c[_0x38c1c4(0x376)];if(_0x34986a){const {unitId:_0x715af0,subUnitId:_0x136db0,oldSubUnitId:_0x17d1da,pivotTableId:_0x229942,pivotTableConfig:_0x792a45,collectionConfig:_0x33cd1a}=_0x34986a;this[_0x38c1c4(0x1fa)]['updateConfigCache'](_0x715af0,_0x17d1da,_0x34986a[_0x38c1c4(0x257)],null),this['_sheetsPivotTableConfigModel'][_0x38c1c4(0x111)](_0x715af0,_0x136db0,_0x229942,_0x792a45),this[_0x38c1c4(0x1fa)][_0x38c1c4(0x3f5)](_0x715af0,_0x33cd1a);}}})),this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x4b7766=>{const _0x1d3d64=_0x4fee1d;if(_0x4b7766['id']!==_0x48cc23['id'])return;const _0x258c2a=_0x298fdb['getSheetCommandTarget'](this[_0x1d3d64(0x3a4)]);if(!_0x258c2a)return;const {unitId:_0x5cfd6f,subUnitId:_0x4acec9}=_0x258c2a,_0x146772=_0x4b7766[_0x1d3d64(0x376)];if(_0x146772[_0x1d3d64(0x2b1)]&&Object[_0x1d3d64(0x3e2)](_0x146772['collectionConfig'])[_0x1d3d64(0x10a)](_0x205a1e=>{const _0x13e4bd=_0x1d3d64;var _0x9e0db2;(_0x9e0db2=_0x146772['collectionConfig'])!=null&&_0x9e0db2[_0x205a1e]&&this['_sheetsPivotTableConfigModel'][_0x13e4bd(0x3f5)](_0x205a1e,_0x146772['collectionConfig'][_0x205a1e]);}),_0x146772[_0x1d3d64(0x3b8)]){const _0x583df0=_0x146772[_0x1d3d64(0x3b8)],{unitId:_0xee43b3,subUnitId:_0x40dfe4,view:_0x1cd4bd,pivotTableId:_0x42746a,type:_0x3712a0,pivotConfig:_0x5a2dfc}=_0x583df0;if(_0x3712a0===_0x48b491[_0x1d3d64(0x2f7)])this['_sheetsPivotTableAdaptorModel'][_0x1d3d64(0x236)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'pivotTableId':_0x42746a,'type':_0x3712a0}),this[_0x1d3d64(0x1fa)][_0x1d3d64(0x111)](_0xee43b3,_0x40dfe4,_0x42746a,null);else{const _0x4ec8d2=new _0x2d316f['PivotView']();_0x4ec8d2[_0x1d3d64(0x23b)](_0x1cd4bd),this['_sheetsPivotTableConfigModel'][_0x1d3d64(0x111)](_0xee43b3,_0x40dfe4,_0x42746a,_0x5a2dfc),this['_sheetsPivotTableAdaptorModel'][_0x1d3d64(0x236)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'pivotTableId':_0x42746a,'type':_0x3712a0,'view':_0x4ec8d2}),this[_0x1d3d64(0x3ba)][_0x1d3d64(0x34e)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'view':_0x4ec8d2,'pivotTableId':_0x42746a,'type':_0x3712a0});}}else _0x146772[_0x1d3d64(0x136)]&&(_0x146772['batch'][_0x1d3d64(0x10a)](_0x145ea9=>{const _0x1db0eb=_0x1d3d64,{unitId:_0x133c3a,subUnitId:_0x42aeef,view:_0x199056,pivotTableId:_0x44006b,type:_0x46b3b3,pivotConfig:_0xcb9164}=_0x145ea9,_0x111a9a=new _0x2d316f[(_0x1db0eb(0x3be))]();_0x111a9a['formJSON'](_0x199056),this[_0x1db0eb(0x1fa)][_0x1db0eb(0x111)](_0x133c3a,_0x42aeef,_0x44006b,_0xcb9164),this['_sheetsPivotTableAdaptorModel'][_0x1db0eb(0x34e)]({'unitId':_0x133c3a,'subUnitId':_0x42aeef,'view':_0x111a9a,'pivotTableId':_0x44006b,'type':_0x46b3b3});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x1d3d64(0x3ba)][_0x1d3d64(0xf2)](_0x5cfd6f,_0x4acec9);}));}[_0x49f7c3(0x3d9)](){const _0x449539=_0x49f7c3;this[_0x449539(0x334)]['register'](_0x73bcf2['id'],{'commandId':_0x73bcf2['id'],'getDirtyData'(_0xbcd7be){return{'dirtyUnitFeatureMap':_0xbcd7be['params']};}});}};_0x70dc81=_0x2acaec([_0x2123dc(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0x2123dc(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotRPCService'])),_0x2123dc(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x10d)])),_0x2123dc(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)])),_0x2123dc(0x4,_0x369ce1['Inject'](_0x369ce1['IUniverInstanceService'])),_0x2123dc(0x5,_0xc627d4[_0x49f7c3(0x12e)])],_0x70dc81);var _0x4c9b62=Object[_0x49f7c3(0x1d7)],_0x19eb6e=Object['getOwnPropertyDescriptor'],_0x1b104a=(_0x54e650,_0x119241,_0x2f389e)=>_0x119241 in _0x54e650?_0x4c9b62(_0x54e650,_0x119241,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f389e}):_0x54e650[_0x119241]=_0x2f389e,_0x593f98=(_0x44ab01,_0x52c9d1,_0x3260ca,_0x59062c)=>{for(var _0x55ab75=_0x59062c>0x1?void 0x0:_0x59062c?_0x19eb6e(_0x52c9d1,_0x3260ca):_0x52c9d1,_0x29caeb=_0x44ab01['length']-0x1,_0x339667;_0x29caeb>=0x0;_0x29caeb--)(_0x339667=_0x44ab01[_0x29caeb])&&(_0x55ab75=_0x339667(_0x55ab75)||_0x55ab75);return _0x55ab75;},_0x152f50=(_0x59090e,_0x374506)=>(_0x5b9b47,_0x2e6332)=>_0x374506(_0x5b9b47,_0x2e6332,_0x59090e),_0x640e23=(_0x569ec5,_0x12104b,_0x12c582)=>_0x1b104a(_0x569ec5,typeof _0x12104b!=_0x49f7c3(0x31b)?_0x12104b+'':_0x12104b,_0x12c582);_0x237829[_0x49f7c3(0x1db)]=class extends _0x369ce1[_0x49f7c3(0x15a)]{constructor(_0x54df8f=_0x2ae668,_0x2ea94c,_0x257231,_0x25b380,_0x38be13){const _0x5aa337=_0x49f7c3;super(),this['_config']=_0x54df8f,this[_0x5aa337(0x199)]=_0x2ea94c,this['_commandService']=_0x257231,this[_0x5aa337(0x25b)]=_0x25b380,this[_0x5aa337(0x11d)]=_0x38be13;const {..._0x39ec36}=_0x369ce1[_0x5aa337(0x110)]({},_0x2ae668,this[_0x5aa337(0x230)]);this[_0x5aa337(0x25b)][_0x5aa337(0x2c3)](_0x242464,_0x39ec36),this[_0x5aa337(0x351)](),this[_0x5aa337(0x299)]();}['_initConfig'](){const _0x26aaa4=_0x49f7c3;var _0x300973;const _0x54b79b=(_0x300973=this[_0x26aaa4(0x230)])==null?void 0x0:_0x300973[_0x26aaa4(0x30a)];this[_0x26aaa4(0x25b)][_0x26aaa4(0x2c3)](_0x2884f3,_0x54b79b===!0x0);}['onStarting'](){const _0x1c8b19=_0x49f7c3;var _0x45f6d5;let _0x5f5cdb=[];const _0x3de2b8=(_0x45f6d5=this['_config'])==null?void 0x0:_0x45f6d5[_0x1c8b19(0x30a)];_0x3de2b8===!0x0?_0x5f5cdb=[[_0x237829[_0x1c8b19(0x14b)]],[_0x237829['SheetsPivotRPCService']],[_0x70dc81],[_0x237829[_0x1c8b19(0x10d)]],[_0x237829[_0x1c8b19(0x3ae)]],[_0x40b147],[_0x4a4274],[_0x23a834],[_0x1f58f4]]:_0x3de2b8===!0x1?_0x5f5cdb=[[_0x237829[_0x1c8b19(0x188)]],[_0xaea7e2]]:_0x3de2b8===void 0x0&&(_0x5f5cdb=[[_0x237829[_0x1c8b19(0x188)]],[_0xaea7e2],[_0x237829[_0x1c8b19(0x14b)]],[_0x237829[_0x1c8b19(0x1d9)]],[_0x70dc81],[_0x237829[_0x1c8b19(0x10d)]],[_0x237829[_0x1c8b19(0x3ae)]],[_0x40b147],[_0x4a4274],[_0x23a834],[_0x1f58f4]]),_0x5f5cdb[_0x1c8b19(0x10a)](_0x29f845=>this[_0x1c8b19(0x199)][_0x1c8b19(0xe4)](_0x29f845)),[_0xaea7e2,_0x70dc81,_0x237829[_0x1c8b19(0x14b)],_0x4a4274,_0x40b147,_0x23a834,_0x1f58f4][_0x1c8b19(0x10a)](_0x3d84fd=>{const _0xb4ba08=_0x1c8b19;this[_0xb4ba08(0x199)][_0xb4ba08(0x1e8)](_0x3d84fd)&&this[_0xb4ba08(0x199)][_0xb4ba08(0x392)](_0x3d84fd);});}['_initRegisterCommand'](){[_0x4ae5d8,_0x1e77bf,_0x58a346,_0x396819,_0x3c6b2d,_0x46af38,_0x3c035d,_0x2c8263,_0x2b8ba3,_0x71ad3f,_0x3af91c,_0x1fd2e9,_0x4b7c6b,_0xd040c9,_0x307ba8,_0x38cd28,_0x113373,_0x557557,_0x56b84e,_0x20c243,_0x21a58e,_0x29944c,_0x592967,_0x3c230f,_0x1194ee,_0x343710,_0x4164f8,_0x1fefb9,_0x234ed3,_0x48cc23,_0x51bde3,_0xd8814e,_0xd44f4,_0x282d71,_0x59c387,_0x2e1edc,_0xed5085,_0x73bcf2,_0x4c6758,_0x2c3c65,_0x1bae9f,_0x3f45e7,_0x5d942b]['forEach'](_0x3ef88a=>{const _0x5d2883=_0x1752;var _0x48e966;(_0x48e966=this[_0x5d2883(0x11d)])==null||_0x48e966[_0x5d2883(0x14d)](_0x3ef88a),this[_0x5d2883(0x32c)][_0x5d2883(0x146)](_0x3ef88a);});}},_0x640e23(_0x237829[_0x49f7c3(0x1db)],_0x49f7c3(0x2e1),_0x294572),_0x640e23(_0x237829[_0x49f7c3(0x1db)],_0x49f7c3(0x2d0),_0x369ce1[_0x49f7c3(0x3ab)]['UNIVER_SHEET']),_0x237829['UniverSheetsPivotTablePlugin']=_0x593f98([_0x369ce1[_0x49f7c3(0x313)](_0x5b8945[_0x49f7c3(0x326)]),_0x152f50(0x1,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x211)])),_0x152f50(0x2,_0x369ce1['Inject'](_0x369ce1['ICommandService'])),_0x152f50(0x3,_0x369ce1[_0x49f7c3(0x104)]),_0x152f50(0x4,_0x369ce1[_0x49f7c3(0x253)](_0x247d91['DataSyncPrimaryController']))],_0x237829[_0x49f7c3(0x1db)]),_0x237829[_0x49f7c3(0x23f)]=_0x58a346,_0x237829[_0x49f7c3(0x16d)]=_0x557557,_0x237829[_0x49f7c3(0x1f8)]=_0x1e77bf,_0x237829['AddPivotTableMutation']=_0x307ba8,_0x237829[_0x49f7c3(0x38d)]=_0x4ae5d8,_0x237829['BLANK_ROW_COUNT']=_0x523b9d,_0x237829[_0x49f7c3(0x1c3)]=_0x2b5880,_0x237829['MovePivotFieldCommand']=_0x396819,_0x237829[_0x49f7c3(0x3f3)]=_0x4b7c6b,_0x237829[_0x49f7c3(0x191)]=_0x2b63fe,_0x237829[_0x49f7c3(0x1e1)]=_0xd040c9,_0x237829[_0x49f7c3(0x165)]=_0x48b491,_0x237829[_0x49f7c3(0x32b)]=_0x73bcf2,_0x237829['PositionType']=_0x5055e3,_0x237829[_0x49f7c3(0x29d)]=_0x3c6b2d,_0x237829[_0x49f7c3(0x2eb)]=_0x29944c,_0x237829['RemovePivotTableMutation']=_0x113373,_0x237829[_0x49f7c3(0x32f)]=_0x592967,_0x237829['ResetPivotFieldsConfigCommand']=_0x5d942b,_0x237829[_0x49f7c3(0x396)]=_0x242464,_0x237829[_0x49f7c3(0x15f)]=_0x294572,_0x237829[_0x49f7c3(0x3b2)]=_0x2c8263,_0x237829[_0x49f7c3(0x2de)]=_0x3c230f,_0x237829[_0x49f7c3(0x280)]=_0x282d71,_0x237829['SetPivotFieldsConfigCommand']=_0x3f45e7,_0x237829[_0x49f7c3(0x271)]=_0x71ad3f,_0x237829['SetPivotFilterMutation']=_0x21a58e,_0x237829[_0x49f7c3(0xd6)]=_0x343710,_0x237829[_0x49f7c3(0x252)]=_0x4164f8,_0x237829[_0x49f7c3(0x3cd)]=_0x2b8ba3,_0x237829[_0x49f7c3(0x301)]=_0x1194ee,_0x237829['SetPivotSubtotalTypeMutation']=_0xd44f4,_0x237829[_0x49f7c3(0x112)]=_0x2c3c65,_0x237829[_0x49f7c3(0x10e)]=_0x1bae9f,_0x237829[_0x49f7c3(0x399)]=_0x3c035d,_0x237829['UpdateFieldPositionMutation']=_0x51bde3,_0x237829['UpdatePivotFieldSettingCommand']=_0x3af91c,_0x237829['UpdatePivotFieldSourceInfoMutation']=_0xed5085,_0x237829['UpdatePivotTableSourceRangeCommand']=_0x1fd2e9,_0x237829[_0x49f7c3(0x289)]=_0x2e1edc,_0x237829[_0x49f7c3(0x269)]=_0x46af38,_0x237829[_0x49f7c3(0x2e3)]=_0xd8814e,_0x237829[_0x49f7c3(0x29c)]=_0x52ee78,_0x237829[_0x49f7c3(0x292)]=_0x53b1ed,_0x237829[_0x49f7c3(0x278)]=_0x47e2f1,_0x237829[_0x49f7c3(0x27a)]=_0x2706e1,_0x237829[_0x49f7c3(0x293)]=_0x485549,_0x237829[_0x49f7c3(0x193)]=_0x2353cb,_0x237829['getFieldListByArea']=_0xe7c158,_0x237829[_0x49f7c3(0x245)]=_0x75bbf,_0x237829[_0x49f7c3(0x2c0)]=_0xdcd3eb,_0x237829[_0x49f7c3(0x263)]=_0x2de071,_0x237829[_0x49f7c3(0x2af)]=_0x4d4bdc,_0x237829[_0x49f7c3(0x131)]=_0x5bb57f,_0x237829['unionPivotViewRange']=_0x2652bb,Object[_0x49f7c3(0x1d7)](_0x237829,Symbol[_0x49f7c3(0x19f)],{'value':_0x49f7c3(0x25a)});}));
|
|
1
|
+
function _0x3474(_0xfeeb37,_0x4ef28b){_0xfeeb37=_0xfeeb37-0xba;const _0x2460ca=_0x2460();let _0x3474ba=_0x2460ca[_0xfeeb37];return _0x3474ba;}function _0x2460(){const _0xdce7ae=['Value','PivotCallbackEnum','getDataFieldByTableId','RenamePivotFieldMutation','getRangeKey','sheets-pivot.grandTotal','UniverEngineFormula','setSortInfo','endCollectChangeset','addExclusiveRange','register','getInsertRowColMutations','viewData$','product','setValue','sheet.command.reset-pivot-fields-config','sheet.mutation.set-pivot-collapse','LocaleService','pageRanges','@univerjs-pro/engine-pivot','single','deleteField','getMatrix','registerCommand','addField','var','_initSnapshot','FORCE_STRING','getValuePosition','sheet.mutation.add-group-collection','fields','info','#1d32e9','_initCommandInterceptListener','_collectionConfigModel','getSortInfo','getTableFieldById','keys','NO_COMMERCIAL','sheet.mutation.rename-pivot-field','@univerjs/sheets-filter','limit\x20pivot','hasOwnProperty','SetCollapse','setDirty','_injector','unshiftString','InterceptorEffectEnum','_initLocale','foreach','AddPivotField','DEFAULT_WORKSHEET_COLUMN_COUNT','getSheets','isDateGroupFieldJSON','areaInfo','_generateUniqueVersion','PivotFilterTypeEnum','push','getOwnPropertyDescriptor','getSubtotal','addFieldWithSourceId','map','getValue','addRecord','_resourceManagerService','createAsyncInterceptorKey','getMatrixFromRunTimeData','sourceRangeInfo','getCollection','isText','renameField','_init','other','Values','addPivotTable','getPivotDisplayConfig','AddPivotTableWithConfig','_refRangeService','setRangeValueUndoMutation','version','LuQ0aeIQ\x20YO0zxraeIQ(7e0OQwO,\x20rut7e0DOx)\x20{\x20\x20\x20\x20azx\x20{\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x207e0OQwOJQLI4jzaizzjx\x20=\x207e0OQwO.wr7ea(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20IzeceQsOwwjcO\x20=\x20oSRh.rjzwO(jaIt(7e0OQwOJQLI4jzaizzjx[5]));\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(!IzeceQsOwwjcO.uY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IzeceQsOwwjcO.uY\x20=\x20huPtOz(7e0OQwOJQLI4jzaizzjx[9]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20ewBIzqOz\x20=\x20axrOIL\x20BIzqOzK7Itj7S0IrO\x20!==\x20\x27uQYOLeQOY\x27\x20&&\x20wO7L\x20eQwajQ0OIL\x20BIzqOzK7Itj7S0IrO;\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20ewGzIHwOz\x20=\x20axrOIL\x20HeQYIH\x20!==\x20\x27uQYOLeQOY\x27\x20&&\x20axrOIL\x20HeQYIH.7I0jaeIQ\x20!==\x20\x27uQYOLeQOY\x27;\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x200IQaOla\x20=\x20ewBIzqOz\x20?\x20wO7L\x20:\x20(ewGzIHwOz\x20?\x20HeQYIH\x20:\x20c7Itj7b8ew);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20POwwjcOBIzY\x20=\x200IQaOla.__GjwO39__.rjzwO(7e0OQwOJQLI4jzaizzjx[5]);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20POwwjcO\x20=\x200IQaOla.__6Ol__.wazeQceLx(POwwjcOBIzY);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQjauzOBIzY\x20=\x200IQaOla.__GjwO39__.rjzwO(7e0OQwOJQLI4jzaizzjx[n]);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQjauzO\x20=\x200IQaOla.__6Ol__.wazeQceLx(wecQjauzOBIzY);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQTj7eY\x20=\x200IQaOla.__1OzeLx__(wecQjauzO,\x20POwwjcO,\x20rut7e0DOx);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20YIPjeQ\x20=\x20IzeceQsOwwjcO.YP;\x20\x20\x20\x20\x20\x20\x20\x20LuQ0aeIQ\x20ewXIPjeQsja08eQc(I4jaaOzQ,\x20I6Iwa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQ\x20=\x20I4jaaOzQ.zOr7j0O(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208Iwa\x20=\x20I6Iwa.zOr7j0O(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQ4jzaw\x20=\x20rjaaOzQ.wr7ea(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208Iwa4jzaw\x20=\x208Iwa.wr7ea(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(!rjaaOzQ.eQ07uYOw(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20rjaaOzQ\x20===\x208Iwa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(rjaaOzQ4jzaw.7OQca8\x20<\x205\x20||\x20rjaaOzQ4jzaw[A]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20Lj7wO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQSuLLel\x20=\x20rjaaOzQ4jzaw.w7e0O(E).mIeQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208IwaSuLLel\x20=\x208Iwa4jzaw.w7e0O(-rjaaOzQ4jzaw.7OQca8\x20+\x20E).mIeQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20rjaaOzQSuLLel\x20===\x208IwaSuLLel;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207Oa\x20YIPjeQTj7eY\x20=\x20Lj7wO;\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(ewGzIHwOz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20(YIPjeQ\x20&&\x20YIPjeQ.7OQca8)\x20?\x20YIPjeQ.wIPO((YPJaOP)\x20=>\x20ewXIPjeQsja08eQc(YPJaOP,\x207I0jaeIQ.8IwaQjPO))\x20:\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(7I0jaeIQ.8IwaQjPO\x20===\x20\x277I0j78Iwa\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20O7wO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x201j7eY\x20=\x20wecQTj7eY\x20&&\x20YIPjeQTj7eY;\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201j7eY,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20POwwjcO:\x20IzeceQsOwwjcO,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x200ja08\x20(OzzIz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201j7eY:\x20Lj7wO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20POwwjcO:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheet.mutation.pivot-update-value-position','getPivotTableInstance','isEmpty','_requestResolvers','INTERCEPTOR_POINT','MAX_SAFE_INTEGER','sheets-pivot.varName','DataFieldManager','setLabelFilterInfo','DIV_BY_ZERO','SetPivotFilter','UniverLicensePlugin','generateMutationsByRanges','splice','dateType','getSubUnitPivotRenderCache','Min\x20of\x20','colInfo','AddPivotTable','filter','deepClone','SetFieldFormat','handleSourceRangeChange','getSheetBySheetId','updateRenderCache','AddPivotFieldMutation','ObjectMatrix','SetPivotTableConfig','getTypeOfUnitDisposed$','isFeatureAuthorizedWithinTime','getConfig','NUM','getFieldInfo','SetPivotFieldsConfigCommand','token','STRING','sheets-pivot.emptyPivot.row','_configService','colRanges','AddPivotFieldCommand','subtotal','getValueIndex','dataRangeInfo','Column\x20','Delete','refreshData','_dataSyncPrimaryController','LS_CONFIG_KEY','_pivotConfigChange$','getRowCount','_globalComputingSrv','updateView','SetRangeValuesMutation','sheets-pivot.value','_deleteModelCache','getLastCol','_pivotRenderValueMatrixCache','RefRangeService','Max\x20of\x20','sheets-pivot.maxName','setSubtotalType','cornerRanges','ResetPivotTable','iterateField','handleMoveRange','Subject','iterateFieldDim','getFieldIds','colCount','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','_ensurePivotTableMatrixInfo','NAME','date','sheet.command.update-pivot-table-source-range','parseInt','GlobalConfig','UpdatePivotTableSourceRangeCommand','None','transFromCellValue','setDateType','6wBPCHT','FontCache','_configVersion$','toJSON','deleteUnitId','value','minDate','tableFieldId','setPivotCollapse','Hour','asObservable','198423qFvgke','sheet.mutation.add-pivot-table','_sheetsPivotTableService','SheetsPivotDataSourceModel','parse','UniverSheetsPivotTablePlugin','PivotDataFieldTypeEnum','sheets-pivot.dateGroup.hour','AddField','setConfig','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sequenceExecute','ICommandService','sheets-pivot.subTotal','sheet.command.update-pivot-value-position','refreshGroupField','colStyle','getDataFieldItemInfo','COMMAND','rangeKey','FieldsCollection','ΣValue','sheets-pivot.emptyPivot.column','sheets-pivot.config','2010osvbuC','name','getNoUsedDataFieldIds','#FFFFFF','_viewUpdate$','valueFilter','SetPivotSortCommand','RemoveSheetCommand','sheets-pivot.dateGroup.monthDate','Div0','PivotTableFiledAreaEnum','updateValuePosition','rowStyle','DrillDown','CELL_CONTENT','drillDown','addCollectionByJSON','getTargetByPivotTableId','sheet.mutation.update-date-group','markDirty$','IUndoRedoService','SetPivotFilterMutation','getSubUnitPivotMatrix','undos','params','versions','serializeRangeWithSpreadsheet','316451LGVraS','floor','sheets-pivot.averageName','#e6ebfb','stdDevp','pivotTableIndexConfig','existing','getInterceptPoints','getFormat','formJSON','setCollapse','_exclusiveRangeService','rowHeaderMap','getPivotInfoByLicense','Disposable','updateFieldSourceInfo','PivotTableChangeTypeEnum','sheets-pivot.other','Minute','4449dwfvCC','options','sheets-pivot.cellDateGroupDisplay.date','_dataFieldManagerCollection','initDataRanges','sheets-pivot.cellDateGroupDisplay.minute','MoveRangeCommand','YearMonthDate','NotNumber','resetPivotTable','rowInfo','ErrorType','find','getFieldListByArea','valid','sortInfo','subscribe','isArray','getRangeStartEndInfo','_pivotTableRangeInfo','getFieldDataType','SHEET_PIVOT_TABLE_PLUGIN','@univerjs/engine-formula','generateSetRangeValueMutations','RemoveSheetMutation','node','_pivotInitCompleted$','oldMatrix','UniverCore','PivotTableValuePositionEnum','_initGlobalComputed','getSheetFeatureLimit','isErrorValue','replace','_config','UpdateDateGroupCommand','getOriginFieldId','triggerDirtyFeature','getColumnCount','length','#e6ebfa','forEach','sheet.mutation.send-pivot-view-local','row','UniverInstanceType','query','subUnitId','endColumn','getPivotTableRangeInfo','fromJSON','pivotPerformCheck','NUMBER','setValuePivotFilter','_initClearSelectionCommandInterceptor','unitId','sheet.mutation.update-pivot-table-source-range','1118936TGgKvT','sheet.command.remove-pivot-field','width','isPrefixValue','configVersion$','_markDirty$','Sum\x20of\x20','UniverSheetsFilter','SheetsSelectionsService','workbook\x20is\x20not\x20found','Subtotal','handleAsyncResponse','collections','addPivotField','getSourceName','type','getAutoDisplayName','sheets-pivot.countName','getPivotTableCellData','getDate','updateConfig','valueFields','level','stringify','onCommandExecuted','reduce','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','size','PivotErrorTypeEnum','updatePivotSource','pluginName','UpdateValuePosition','sheet.mutation.set-pivot-position','sheet.mutation.remove-pivot-field','unionPivotViewRange','Existing','tuple','prototype','grandTotal','setRange','includes','isNaN','getPivotTableMatrixInfo','has','SetSubtotalType','664BkZEdb','SetSheetsFilterRangeMutation','RemovePivotField','startCollectChangeset','endRow','SheetsPivotTableAdaptorModel','valueIndex','Grand\x20Total','RemovePivotFieldCommand','redos','_refRangeHandle','YearMonth','SetSortInfo','PivotDateGroupFieldDateTypeEnum','fontRenderExtension','isBottomTotal','_sheetsPivotRpcService','UpdatePivotSource','LifecycleService','sheets-pivot.countNumsName','PivotDataFieldDataTypeEnum','UpdateSource','_initRegisterCommand','InterceptorManager','sheets-pivot.sumName','collapseInfo','error','next','updateAllDisplayName','lastCol','removePivotTable','sheet.command.update-date-group','Module','UniverSheets','addDirtyPivotTable','max','setPivotInitCompleted','body','Column','movePivotField','PivotView','SheetsPivotTableService','ptn','PivotSubtotalTypeEnum','pivotInitCompleted$','min','fetchThroughAsyncInterceptors','#b2b2b2','createDataFieldId','collectionConfig','Quarter','getPivotPerformCheck','forValue','panel','refreshDataField','YearQuarter','getPivotDirtyViewInfo','clearRenderCache','_getPivotAppliedRanges','Injector','sheet.command.set-pivot-filter','PivotDisplayDataType','sheets.tabs.sheet','AddPivotTableMutation','sheets-pivot.cellDateGroupDisplay.yearMonth','UniverRpc','getPivotTableConfig','Range','deleteDataField','getEmptyPivotRanges','getMonth','sheets-pivot.emptyPivot.filter','measure','textInfo','count','addCollection','contains','Collapse','getColumnWidth','_initPivotTextInfo','UniverProLicense','sheets-pivot.cellDateGroupDisplay.month','setDisplayName','sheet.command.set-pivot-sort','Total','Month','_initPivotDataGetListener','generateHexNumber','getStyles','SetWorksheetColWidthMutation','colHeaderMap','UpdatePivotValuePositionCommand','registerDirtyService','UniverProSheetsPivot','updateFieldPosition','_activeDirtyManagerService','broadcastCollectionChange','NotFunction','generateRandomId','MovePivotTableCommand','SetRangeValuesUndoMutationFactory','average','subTotalStyle','removeField','ReleaseType','entries','symbol','getLastRow','sheetName','#f4f4f5','rowCount','filterInfo','MovePivotField','pushUndoRedo','data','isDate','sheets-pivot.cellDateGroupDisplay.yearQuarter','PositionType','SheetsPivotRPCService','get','isDateValue','SheetInterceptorService','_updatePivotTableInstanceCache','sheets-pivot.dateGroup.minute','getUnit','getCurrentUnitForType','setRangeKeyMap','stdDev','number','paths','getTargetByPivotId','updateViewInfo','_collectionChange$','_ensurePivotItemRenderInfoCache','getIntersectsPivotTable','headerMap','SetOptions','RemovePivotFieldMutation','sheets-pivot.cellDateGroupDisplay.hourMinute','getPivotItemRenderInfoCache','dataFieldManagerConfig','dataFieldsCollection','sheet.mutation.remove-pivot-table','sheets-pivot.dateGroup.year','targetCellInfo','sheets-pivot.dateGroup.yearMonthDate','_updateModelCache','Year','updatePivotTableRangeInfo','REF','RANGE_TYPE','SetPivotCollapseMutation','_pivotRenderInfoCache','_globalSubject','rgb(255,255,255)','setOptions','custom','setFieldFormat','sheet.mutation.send-pivot-data-local','getRangeData','getActiveSheet','rowRanges','removePivotField','removeValueFilterInfoByValueFieldId','getUnitId','Expand','IResourceManagerService','column','SetPivotCollapse','sheet.mutation.add-pivot-field','CellValueType','SetValueFilter','@univerjs-pro/license','asyncInterceptor','_toJSON','add','Set','5766222YKXZbZ','Product\x20of\x20','SetPivotPositionMutation','getTextInfo','_onRefRangeChange','getDisplayName','AddPivotTableWithConfigCommand','sheets-pivot.minName','pbt','DEFAULT_WORKSHEET_ROW_COUNT','PIVOT_MUTATION_GENERATE','queryDirtyPivotTable','getFullYear','uniqueDataFieldName','dimension','1187210QQLunN','resetArea','_ensurePivotMap','set','intersects','removeValueFilterInfo','_sheetsPivotTableAdaptorModel','rangesInfo','remove','UpdatePivotTableSourceRangeMutation','startRow','_queryingMap','_univerInstanceService','InsertSheetCommand','setName','DataSyncPrimaryController','random','_ensureViewDataMap','_createExclusiveRange','getPivotTableModelConfig','sheet.command.move-pivot-field','SHEET_PIVOT_IN_MAIN_THREAD','addDataFieldWithoutUnitInfo','displayName','GrandTotal','_pivotTableMatrixInfo','clear','numfmt','registerSyncingMutations','getDataFieldManager','fieldIds','toString','removeCollectionImp','setValueFilterInfo','\x20-\x20','updatePivotTableMatrixInfo','pushComputingStatusSubject','sheets-pivot.stdDevpName','getName','setRangeValueRedoMutation','dataFields','startColumn','rxjs','getDataFieldId','object','getIntersects','DisposableCollection','sheet.mutation.set-pivot-option','sheet.mutation.send-pivot-config-local','New','createCollectionWithDataRange','sheet.command.add-pivot-table','getPivotTableInfo','pivotTableId','disposableCollection','Filter','getFormatInfo','sheets-pivot.cellDateGroupDisplay.year','sheets-pivot.dateGroup.quarter','SetPivotFieldFormatMutation','IFeatureCalculationManagerService','_model','SetFilterInfo','substring','getRangeKeyList','getCellMatrix','filterFields','_sheetInterceptorService','updateConfigCache','sheet.mutation.set-pivot-filter','DateGroupField','getFieldById','_viewData','getDataFieldByRangeKey','dateGroupField','_updateRenderEmptyCache','dataStream','removeCollections','(Blank)','setTextInfo','setPivotTable','Tools','_lifecycleService','PivotTable','sheets-pivot.dateGroup.month','setPivotTableConfig','fetchThroughInterceptors','reset','InsertSheetMutation','updateViewData','_sheetsSelectionsService','sheets-pivot.stdDevName','interceptCommand','lastRow','oldRangeInfo','SHEET_PIVOT_EXCLUSIVE_ID','Panel','ClearSelectionAllCommand','rgb(240,241,243)','return\x20','generateNewSheetName','slice','disposeWithMe','SetPivotSort','clearExclusiveRangesByGroupId','pivotTableConfigs','cellToRange','_sheetsPivotDataSourceModel','getSubUnitPivotConfigs','_deletePivotTableInstanceCache','_initDataSendListener','complete','sheets-pivot.dateGroup.yearMonth','dataStyle','pivotConfigChange$','getId','Varp\x20of\x20','setPivotSetting','PivotCellStyleTypeEnum','getPivotTableIdByCell','Optional','_subjectFieldsCollectionChange','batch','pivotMutationGenerate','PivotViewCellValueTypeEnum','range','BLANK_ROW_COUNT','_textInfo','@univerjs/core','UpdateFieldPositionMutation','_initConfig','NORMAL','setPivotSort','onQueryEnd','originTargetInfo','getformat','Add','UniverProEnginePivot','_commandService','executeCommand','getPivotCellInfo','sourceName','from','MoveRangeMutation','addPivotTableWithConfig','RemoveRowMutation','getUpdateRangeDeleteIds','getSheetCommandTarget','adjustSheetCellData','dispose','Count\x20of\x20','delete','getDirtyInfo','rangeKeyMap','SetPivotOptionMutation','CommandType','_localeService','fieldsConfig','createValueField','removeDataField','_featureCalculationManagerService','blank','#eceeff','InsertRowMutation','AsyncInterceptorManager','getHeaderMapItem','columnFields','matrix','IExclusiveRangeService','merge','getFieldCountByArea','_ensurePivotTableRangeInfo','Row','maxDate','SheetsPivotTableConfigModel','message','ManualFilter','SetPivotValueFilterCommand','IActiveDirtyManagerService','_initUnitDisposed','UNIVER_SHEET','string','sheets-pivot.dateGroup.yearQuarter','InsertSheetUndoMutationFactory','getAutoDisplayNameFunction','countNums','sheets-pivot.varpName','fieldsCollectionChange$','sheet.command.set-pivot-value-filter','removeSourceRangeChange','getCellRaw','getMatrixValue','cornerInfo','UpdatePivotFieldSourceInfoMutation','MUTATION','MIN_SAFE_INTEGER','getFieldFormat','defineProperty','CustomCommandExecutionError','SetPivotSetting','rangeType','shouldClear','updateCollectionConfig','BadReference','isColMultiMeasure','UniverEngineRender','leafStyle','HourMinute','sheet.command.add-pivot-field','values','prefix','isValue','getSheetBySheetName','some','_subjectCollectionChange','getSheetId','sheet.mutation.pivot-update-field-position','@univerjs/engine-render','_viewData$','DataField','Rectangle','2497ayJKqY','SetValuePivotFilter','getColCount','updateDirtyPivotTable','sum','sheet.command.pivot-drill-down','notExecuteFormula','needSameDeleteModel','dataFieldId','viewUpdate$','unshift','getAutoFitColumnsMutations','sheet.mutation.set-pivot-field-subtotal-type','update','isDateGroupField','2356EgNloy','StdDev\x20of\x20','getFieldPositionInfoById','_initRemoveSheetCommandInterceptor','getTextSize','AddPivotTableCommand','canUsePivot','_initViewModelBySheetInterceptor','getFilterInfo','mergeWorksheetSnapshotWithDefault','updateRangeKeyMap','sheet.command.add-pivot-table-with-config','_pivotTableInstanceCache','result','excelDateToUnixMilliseconds','IUniverInstanceService','ResetPivotFieldsConfigCommand','format','sheet.mutation.send-init-pivot-text-local','_fieldsCollectionChange$','Plugin','_ensurePivotItemRenderValueMatrixCache','interceptor','getAdjustRangesPosition','IConfigService','Inject','UpdateFieldPosition','iterateFieldByArea','setSourceName','getIndexesByPathStr','sheets-pivot.blank','col','getDataFieldByDataFieldId','MovePivotFieldCommand','_getAutoName','getViewData','PivotTableOperationEnum','setPivotFilter','_host','_sheetsPivotTableConfigModel','Date','Average\x20of\x20','fieldId'];_0x2460=function(){return _0xdce7ae;};return _0x2460();}(function(_0x19f095,_0x585369){const _0xb8cff2=_0x3474,_0x20f53b=_0x19f095();while(!![]){try{const _0x633139=parseInt(_0xb8cff2(0xc2))/0x1*(parseInt(_0xb8cff2(0x3b2))/0x2)+-parseInt(_0xb8cff2(0xd5))/0x3*(-parseInt(_0xb8cff2(0x2e6))/0x4)+-parseInt(_0xb8cff2(0x1fa))/0x5+parseInt(_0xb8cff2(0x1eb))/0x6+parseInt(_0xb8cff2(0x10d))/0x7+-parseInt(_0xb8cff2(0x13a))/0x8*(parseInt(_0xb8cff2(0x3bd))/0x9)+parseInt(_0xb8cff2(0x3d5))/0xa*(parseInt(_0xb8cff2(0x2d7))/0xb);if(_0x633139===_0x585369)break;else _0x20f53b['push'](_0x20f53b['shift']());}catch(_0xcbcc18){_0x20f53b['push'](_0x20f53b['shift']());}}}(_0x2460,0xe1199),function(_0x15b7a4,_0x293916){const _0x2a17c4=_0x3474;typeof exports==_0x2a17c4(0x226)&&typeof module<'u'?_0x293916(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=='function'&&define['amd']?define(['exports',_0x2a17c4(0x324),_0x2a17c4(0x27a),_0x2a17c4(0xeb),'@univerjs/sheets',_0x2a17c4(0x224),_0x2a17c4(0x1e6),_0x2a17c4(0x339),'@univerjs/rpc',_0x2a17c4(0x2d3)],_0x293916):(_0x15b7a4=typeof globalThis<'u'?globalThis:_0x15b7a4||self,_0x293916(_0x15b7a4[_0x2a17c4(0x197)]={},_0x15b7a4[_0x2a17c4(0x283)],_0x15b7a4[_0x2a17c4(0xf1)],_0x15b7a4[_0x2a17c4(0x317)],_0x15b7a4[_0x2a17c4(0x15b)],_0x15b7a4[_0x2a17c4(0x224)],_0x15b7a4[_0x2a17c4(0x18a)],_0x15b7a4[_0x2a17c4(0x114)],_0x15b7a4[_0x2a17c4(0x17b)],_0x15b7a4[_0x2a17c4(0x2c7)]));}(this,function(_0x582d11,_0x399222,_0x9cf92b,_0x544f7f,_0x165f3c,_0x1a0164,_0x4f64c3,_0x2f8fdf,_0x4f741a,_0x2ab7b2){'use strict';const _0x3dc404=_0x3474;var _0x438e80=Object[_0x3dc404(0x2bf)],_0x28ce6f=(_0xee47d3,_0xab499e,_0x13facc)=>_0xab499e in _0xee47d3?_0x438e80(_0xee47d3,_0xab499e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13facc}):_0xee47d3[_0xab499e]=_0x13facc,_0x4d8d39=(_0x468df8,_0x4be4e8,_0x45f564)=>_0x28ce6f(_0x468df8,typeof _0x4be4e8!=_0x3dc404(0x1a4)?_0x4be4e8+'':_0x4be4e8,_0x45f564);const _0x432723=Number[_0x3dc404(0x3ac)](0x694a11ce),_0x5d38e2=0x10,_0x3cfec6=0x1,_0x502233=_0x3dc404(0xea),_0x301d16=0x1,_0x5e9320=_0x3dc404(0x25c),_0x4102cc=_0x3dc404(0x1d4),_0x6d41ad=_0x3dc404(0x169),_0x1394eb=_0x3dc404(0x1a7),_0x4be7af=_0x3dc404(0x1a7),_0x52e689=_0x3dc404(0x29c),_0x83e489='#1d32e9',_0x29cde3=_0x3dc404(0x3d8),_0x4f0627=_0x3dc404(0xfd),_0x312178=_0x3dc404(0x331),_0x275668='#FFFFFF',_0xdefd4f=_0x3dc404(0xc5),_0x372568=0xe,_0x10872f=0x6;var _0x3f33c5=(_0x32bfe9=>(_0x32bfe9[_0x3dc404(0x130)]=_0x3dc404(0xc8),_0x32bfe9['New']='new',_0x32bfe9))(_0x3f33c5||{});const _0x2fc33e={'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':''}}},_0x1c90ab=0x1e,_0x59798e={'b':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'l':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'r':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'t':{'s':0x1,'cl':{'rgb':_0x6d41ad}}},_0x2ed832={'bg':{'rgb':_0x5e9320},'ht':0x2,'vt':0x2,'tb':0x1},_0x126c1a={'bg':{'rgb':_0x4102cc},'ht':0x2,'vt':0x2,'tb':0x1},_0x22c6a2={'rowStyle':{'bg':{'rgb':_0xdefd4f},'bd':_0x59798e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x312178},'bd':null,'cl':{'rgb':_0x275668},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x59798e,'bg':{'rgb':_0x4f0627},'vt':0x2},'cornerStyle':{'bd':_0x59798e,'bg':{'rgb':_0x52e689},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x59798e,'bg':{'rgb':_0x1394eb},'vt':0x2},'leafStyle':{'bd':_0x59798e,'bg':{'rgb':_0x4be7af},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x83e489},'cl':{'rgb':_0x29cde3},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x59798e,'vt':0x2}};function _0xe83415(_0x50d61c,_0x358a92,_0x427d9d){const _0x2a731=_0x3dc404,_0xcac391=_0x50d61c[_0x2a731(0x1b1)](_0x9cf92b[_0x2a731(0x322)]),_0x20c43e=_0x427d9d['split']('_');switch(_0x358a92){case _0x399222[_0x2a731(0x147)][_0x2a731(0x1cd)]:return _0xcac391['t'](_0x2a731(0x233),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0xd4)]:return _0xcac391['t'](_0x2a731(0xda),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x3bb)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x2c9)]:return _0xcac391['t'](_0x2a731(0x1c4),..._0x20c43e);case _0x399222[_0x2a731(0x147)]['Date']:return _0xcac391['t'](_0x2a731(0xd7),..._0x20c43e);case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2a731(0x18f)]:return _0xcac391['t'](_0x2a731(0x18b),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x16c)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x145)]:return _0xcac391['t'](_0x2a731(0x17a),..._0x20c43e);case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2a731(0xdc)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x171)]:return _0xcac391['t'](_0x2a731(0x1ae),..._0x20c43e);}return'';}const _0x363d90=(_0x4737a3,_0x19536f,_0x654a30,_0xcb3461)=>{const _0x9fbb0d=_0x3dc404;let _0x50a440;const _0x18d947=_0x4737a3[_0x9fbb0d(0x1b1)](_0x9cf92b[_0x9fbb0d(0x2f5)])[_0x9fbb0d(0x1b7)](_0x9cf92b[_0x9fbb0d(0x101)]['UNIVER_SHEET']);if(!_0x18d947)return null;const _0x54fba6=_0x18d947[_0x9fbb0d(0x192)]();let _0x35ee7d;if(_0x654a30&&(_0x35ee7d=_0x54fba6[_0x9fbb0d(0x31f)](_0x654a30)),_0x19536f!=null&&_0x19536f['v']||(_0x19536f==null?void 0x0:_0x19536f['v'])===0x0){_0x50a440||(_0x50a440={});const _0x328a64=_0x267d4c(_0x19536f['v']);typeof _0x328a64=='number'?_0x50a440['t']=_0x9cf92b[_0x9fbb0d(0x1e4)][_0x9fbb0d(0x108)]:typeof _0x328a64==_0x9fbb0d(0x2af)&&(_0x50a440['t']=_0x9cf92b['CellValueType'][_0x9fbb0d(0x385)]),_0x50a440['v']=_0x328a64;}if((_0x19536f!=null&&_0x19536f['i']||(_0x19536f==null?void 0x0:_0x19536f['i'])===0x0)&&(_0x50a440||(_0x50a440={}),_0x50a440['fi']=_0x19536f['i']),_0x19536f!=null&&_0x19536f['s']&&(_0x50a440||(_0x50a440={}),_0x50a440[_0x9fbb0d(0x1f3)]=_0x19536f['s']),_0x654a30&&(_0x50a440||(_0x50a440={}),_0x50a440['s']=_0x35ee7d),_0xcb3461&&_0x50a440!=null&&_0x50a440['v']&&_0x50a440[_0x9fbb0d(0x1f3)]!==_0x399222['PivotCellStyleTypeEnum'][_0x9fbb0d(0x212)]&&_0x50a440[_0x9fbb0d(0x1f3)]!==_0x399222[_0x9fbb0d(0x270)]['Subtotal']){const _0xbf8493=String(_0x50a440['v']),{dateType:_0x1714cf}=_0xcb3461;_0x50a440['v']=_0xe83415(_0x4737a3,_0x1714cf,_0xbf8493),_0x50a440['t']=_0x9cf92b['CellValueType'][_0x9fbb0d(0x385)];}return _0x50a440;},_0x19d145=(_0x276e38,_0x3575a2,_0x57b068,_0xc497a2)=>{const _0x3a25c1=_0x3dc404;var _0x4e79fd,_0x46d009,_0x565404,_0x2be17b,_0x2ab942,_0x482442,_0x1a1f89,_0xada849,_0x2f9b5b,_0x4aeaaa,_0xa8e77d,_0x53d868,_0x34b5f0,_0x2f0ce5;const _0x522883=_0x57b068[_0x3a25c1(0x1ca)],{cornerView:_0x2fca5e,rowView:_0x101deb,colView:_0x5a2584,dataView:_0x2348d5,pageView:_0x20b6b9,formatMap:_0x3b7ad4,groupInfo:_0x5810b0}=_0x3575a2,{row:_0x52859d,col:_0x518282}=_0x522883,_0x3add13=new _0x9cf92b[(_0x3a25c1(0x37c))](),_0x4c63ed={},_0x434c7f={},_0x8c959e={},_0x389996={},_0x48469f={};let _0x35ffde=_0x52859d,_0xb99ced=_0x518282;Object['keys'](_0x20b6b9[_0x3a25c1(0x1ac)])[_0x3a25c1(0xfe)](_0x391abd=>{const _0x4da183=_0x3a25c1;Object['keys'](_0x20b6b9[_0x4da183(0x1ac)][Number(_0x391abd)])['forEach'](_0x55f6e9=>{const _0x50636e=_0x4da183,_0x50a58f={..._0x20b6b9[_0x50636e(0x1ac)][Number(_0x391abd)][Number(_0x55f6e9)]};_0x3add13[_0x50636e(0x31f)](Number(_0x391abd)+_0x35ffde,Number(_0x55f6e9)+_0xb99ced,_0x363d90(_0x276e38,_0x50a58f,_0x22c6a2['pageStyle']));});});const _0x46e140=Object[_0x3a25c1(0x336)](_0x20b6b9[_0x3a25c1(0x1ac)])[_0x3a25c1(0xfc)];_0x35ffde+=_0x46e140+(_0x46e140?_0x301d16:0x0);const _0x41358e=_0x2fca5e[_0x3a25c1(0x393)](),_0x5517d0=_0x2fca5e[_0x3a25c1(0x2d9)]();for(let _0xa00771=0x0;_0xa00771<_0x41358e;_0xa00771++)for(let _0x598c89=0x0;_0x598c89<_0x5517d0;_0x598c89++){const _0x77e21c={...(_0x46d009=(_0x4e79fd=_0x2fca5e[_0x3a25c1(0x1ac)])==null?void 0x0:_0x4e79fd[_0xa00771])==null?void 0x0:_0x46d009[_0x598c89]};_0x77e21c&&((_0x565404=_0x101deb[_0x3a25c1(0x1c1)][_0x598c89])!=null&&_0x565404['isValue'])&&_0x598c89===_0x5517d0-0x1&&_0xa00771===_0x41358e-0x1&&(_0x77e21c['v']=''+_0xc497a2[_0x3a25c1(0x397)]),_0x3add13['setValue'](_0xa00771+_0x35ffde,_0x598c89+_0xb99ced,_0x363d90(_0x276e38,_0x77e21c,_0x22c6a2['cornerStyle']));}for(let _0x10fafd=0x0;_0x10fafd<_0x2fca5e[_0x3a25c1(0x330)][_0x3a25c1(0xfc)];_0x10fafd++)_0x2fca5e[_0x3a25c1(0x330)][_0x10fafd]&&(_0x8c959e[''+(_0x10fafd+_0xb99ced)]=_0x2fca5e[_0x3a25c1(0x330)][_0x10fafd]);_0xb99ced+=_0x5517d0;const _0x2b4136=_0x5a2584['headerMap'],_0x141654=_0x5a2584[_0x3a25c1(0x1a5)]()>=0x0?_0x5a2584[_0x3a25c1(0x1a5)]()+0x1:0x0,_0x56277c=_0x5a2584['getLastCol']()>=0x0?_0x5a2584[_0x3a25c1(0x399)]()+0x1:0x0;for(let _0x131f06=0x0;_0x131f06<_0x56277c;_0x131f06++){for(let _0x4b0f87=0x0;_0x4b0f87<_0x141654;_0x4b0f87++){const _0x44a059={...(_0x2ab942=(_0x2be17b=_0x5a2584[_0x3a25c1(0x1ac)])==null?void 0x0:_0x2be17b[_0x4b0f87])==null?void 0x0:_0x2ab942[_0x131f06]},_0x49812d=(_0x482442=_0x2b4136[_0x4b0f87])==null?void 0x0:_0x482442['tableFieldId'],_0x2ce50f=_0x3b7ad4[_0x49812d],_0x368957=_0x5810b0[_0x49812d];_0x44a059&&(_0x44a059['v']=_0x340ba5(_0x44a059,_0x4b0f87===0x0&&((_0x1a1f89=_0x5a2584[_0x3a25c1(0x29f)](_0x131f06+0x1))==null?void 0x0:_0x1a1f89[_0x3a25c1(0x2cd)]),_0x2ce50f,_0xc497a2));let _0x1a29e2;_0x2ce50f?_0x1a29e2={..._0x22c6a2[_0x3a25c1(0x3cd)],'n':{'pattern':_0x2ce50f}}:_0x1a29e2={..._0x22c6a2[_0x3a25c1(0x3cd)]},_0x3add13['setValue'](_0x4b0f87+_0x35ffde,_0x131f06+_0xb99ced,_0x363d90(_0x276e38,_0x44a059,_0x1a29e2,_0x368957));}_0x5a2584['info'][_0x131f06]&&(_0x434c7f[''+(_0x131f06+_0xb99ced)]=_0x5a2584['info'][_0x131f06]),_0x5a2584[_0x3a25c1(0x1c1)][_0x131f06+0x1]&&(_0x48469f[''+(_0x131f06+_0x35ffde+0x1)]=_0x5a2584['headerMap'][_0x131f06+0x1]);}_0x35ffde+=_0x41358e;const _0x2f657c=_0x101deb[_0x3a25c1(0x1c1)],_0x598cb4=_0x101deb[_0x3a25c1(0x1a5)]()>=0x0?_0x101deb[_0x3a25c1(0x1a5)]()+0x1:0x0,_0x513602=_0x101deb['getLastCol']()>=0x0?_0x101deb['getLastCol']()+0x1:0x0;for(let _0xa53b29=0x0;_0xa53b29<_0x598cb4;_0xa53b29++){for(let _0x5d599e=0x0;_0x5d599e<_0x513602;_0x5d599e++){const _0x3abb6e={...(_0x2f9b5b=(_0xada849=_0x101deb[_0x3a25c1(0x1ac)])==null?void 0x0:_0xada849[_0xa53b29])==null?void 0x0:_0x2f9b5b[_0x5d599e]},_0x51c683=(_0x4aeaaa=_0x2f657c[_0x5d599e])==null?void 0x0:_0x4aeaaa[_0x3a25c1(0x3b9)],_0x3126c3=_0x3b7ad4[_0x51c683],_0x5700b6=_0x5810b0[_0x51c683];_0x3abb6e&&(_0x3abb6e['v']=_0x340ba5(_0x3abb6e,!0x1,_0x3126c3,_0xc497a2));let _0x44bb00;_0x101deb[_0x3a25c1(0x330)][_0xa53b29]['level']===_0x101deb[_0x3a25c1(0x2d9)]()?_0x44bb00=_0x22c6a2[_0x3a25c1(0x2c8)]:_0x101deb['info'][_0xa53b29][_0x3a25c1(0x149)]?_0x44bb00=_0x101deb[_0x3a25c1(0x330)][_0xa53b29][_0x3a25c1(0x123)]===0x0?_0x22c6a2[_0x3a25c1(0x133)]:_0x22c6a2[_0x3a25c1(0x1a0)]:_0x44bb00=_0x22c6a2[_0x3a25c1(0x3e1)],_0x3126c3&&(_0x44bb00={..._0x44bb00,'n':{'pattern':_0x3126c3}}),_0x3add13[_0x3a25c1(0x31f)](_0xa53b29+_0x35ffde,_0x5d599e+_0x518282,_0x363d90(_0x276e38,_0x3abb6e,_0x44bb00,_0x5700b6));}_0x101deb[_0x3a25c1(0x330)][_0xa53b29]&&(_0x4c63ed[''+(_0xa53b29+_0x35ffde)]=_0x101deb[_0x3a25c1(0x330)][_0xa53b29]),_0x101deb[_0x3a25c1(0x1c1)][_0xa53b29]&&(_0x389996[''+(_0xa53b29+_0x518282)]=_0x101deb[_0x3a25c1(0x1c1)][_0xa53b29]);}const _0x509de1=_0x2348d5[_0x3a25c1(0x393)](),_0x3c6a1d=_0x2348d5['getColCount']();for(let _0x7bc0d4=0x0;_0x7bc0d4<_0x509de1;_0x7bc0d4++)for(let _0xc6f24e=0x0;_0xc6f24e<_0x3c6a1d;_0xc6f24e++){const _0x13315b={...(_0x53d868=(_0xa8e77d=_0x2348d5['data'])==null?void 0x0:_0xa8e77d[_0x7bc0d4])==null?void 0x0:_0x53d868[_0xc6f24e]};let _0x3a7752;_0x101deb['info'][_0x7bc0d4][_0x3a25c1(0x149)]?_0x3a7752=_0x101deb[_0x3a25c1(0x330)][_0x7bc0d4]['level']===0x0?_0x22c6a2['grandTotal']:_0x22c6a2['subTotalStyle']:_0x3a7752=_0x22c6a2[_0x3a25c1(0x26b)];const _0x102b15=_0x101deb[_0x3a25c1(0x330)][_0x7bc0d4][_0x3a25c1(0x140)],_0x299aad=_0x5a2584[_0x3a25c1(0x330)][_0xc6f24e][_0x3a25c1(0x140)],_0x2c0cd1=Math['max'](_0x102b15,_0x299aad),_0x51f3bc=_0x57b068['fieldsConfig'][_0x3a25c1(0x122)]['concat']();let _0x1e8ff7='';_0x2c0cd1<0x0?_0x1e8ff7=(_0x34b5f0=_0x51f3bc[0x0])!=null?_0x34b5f0:'':_0x1e8ff7=(_0x2f0ce5=_0x51f3bc[_0x2c0cd1])!=null?_0x2f0ce5:'';const _0x3f2887=_0x3b7ad4[_0x1e8ff7];_0x3f2887&&(_0x3a7752={..._0x3a7752,'n':{'pattern':_0x3f2887}}),_0x3add13[_0x3a25c1(0x31f)](_0x7bc0d4+_0x35ffde,_0xc6f24e+_0xb99ced,_0x363d90(_0x276e38,_0x13315b,_0x3a7752));}return{'valueMatrix':_0x3add13,'rowInfo':_0x4c63ed,'colInfo':_0x434c7f,'cornerInfo':_0x8c959e,'rowHeaderMap':_0x389996,'colHeaderMap':_0x48469f};};function _0x340ba5(_0x2ca4e2,_0x23f65c,_0x2dad5b,_0xdb01de){const _0x45fff4=_0x3dc404;let _0x40029d=_0x2ca4e2['v'];_0x23f65c&&(_0x40029d=''+_0xdb01de[_0x45fff4(0x397)]);const _0x40b91f=_0x2ca4e2['t']&&(_0x2ca4e2['t']&_0x399222[_0x45fff4(0x276)][_0x45fff4(0x29b)])>0x0;_0x40b91f&&(_0x40029d=''+_0xdb01de[_0x45fff4(0x304)]);const _0x4e7283=_0x2ca4e2['t']&&(_0x2ca4e2['t']&_0x399222[_0x45fff4(0x276)][_0x45fff4(0x359)])>0x0;if(_0x4e7283&&(_0x40029d=''+_0xdb01de[_0x45fff4(0xd3)]),_0x2ca4e2['s']===_0x399222[_0x45fff4(0x270)]['Subtotal']){let _0x444889=_0x40029d,_0x492224='';_0x399222[_0x45fff4(0x110)](_0x40029d)&&(_0x444889=_0x40029d[_0x45fff4(0x2cc)],_0x492224=_0x40029d[_0x45fff4(0x3b7)]);const _0x4e2c59=_0x2dad5b&&!_0x40b91f&&!_0x4e7283?_0x9cf92b['numfmt'][_0x45fff4(0x2f7)](_0x2dad5b,Number(_0x444889)):_0x444889;_0x492224?_0x40029d=_0x4e2c59+'\x20'+_0x492224:_0x40029d=_0x4e2c59+'\x20'+_0xdb01de[_0x45fff4(0x3ca)];}else _0x2ca4e2['s']===_0x399222[_0x45fff4(0x270)][_0x45fff4(0x212)]&&(_0x40029d=_0x40029d+'\x20'+_0xdb01de[_0x45fff4(0x316)]);return _0x40029d;}function _0x267d4c(_0x3305d1){const _0x4de774=_0x3dc404;if(_0x399222[_0x4de774(0xf5)](_0x3305d1)){const {errorType:_0x55a457}=_0x3305d1;switch(_0x55a457){case _0x399222['PivotErrorTypeEnum'][_0x4de774(0x3de)]:return _0x544f7f[_0x4de774(0xe0)][_0x4de774(0x36b)];case _0x399222[_0x4de774(0x129)][_0x4de774(0xdd)]:return _0x544f7f['ErrorType'][_0x4de774(0x381)];case _0x399222['PivotErrorTypeEnum'][_0x4de774(0x19b)]:return _0x544f7f[_0x4de774(0xe0)]['NAME'];case _0x399222[_0x4de774(0x129)]['NotName']:return _0x544f7f[_0x4de774(0xe0)][_0x4de774(0x3a9)];case _0x399222[_0x4de774(0x129)][_0x4de774(0x2c5)]:return _0x544f7f['ErrorType'][_0x4de774(0x1cf)];}}return _0x3305d1;}function _0x7e091f(_0x44b4e9,_0x41062c,_0x1d39c6=!0x1,_0x37f6a5=!0x1){const _0x573549=_0x3dc404,{data:_0x54b17c}=_0x41062c,_0x157efd=_0x41062c[_0x573549(0x393)](),_0x125b56=_0x41062c[_0x573549(0x2d9)]();if(_0x157efd<=0x0||_0x125b56<=0x0)return[];const _0x164f74=_0x41062c[_0x573549(0x399)](),_0x276918=_0x41062c[_0x573549(0x1a5)](),_0x20cc7c=_0x37f6a5?_0x276918>=0x0?_0x276918+0x1:0x0:_0x157efd,_0x255480=_0x37f6a5?_0x164f74>=0x0?_0x164f74+0x1:0x0:_0x125b56,{row:_0x27bd9d,col:_0x280318}=_0x44b4e9,_0x3e2f23=_0x27bd9d,_0x51a89f=_0x280318;if(_0x1d39c6){const _0x13bc5f=[];for(const [_0xa012ff,_0x619c42]of Object[_0x573549(0x1a3)](_0x54b17c))for(const [_0xe0d722,_0x240b38]of Object['entries'](_0x619c42))_0x13bc5f[_0x573549(0x34a)](_0x9cf92b[_0x573549(0x264)](_0x3e2f23+Number(_0xa012ff),_0x51a89f+Number(_0xe0d722)));return _0x13bc5f;}else{const _0xece1ac=_0x37f6a5?_0x20cc7c>0x0?0x1:0x0:0x1,_0x161c40=_0x37f6a5?_0x255480>0x0?0x1:0x0:0x1,_0x5ba655=_0x27bd9d+_0x20cc7c-_0xece1ac,_0x4be3a0=_0x280318+_0x255480-_0x161c40;return[{'startRow':_0x3e2f23,'startColumn':_0x51a89f,'endRow':_0x5ba655,'endColumn':_0x4be3a0}];}}const _0x3ee12c=_0x3dc404(0x20f),_0x19c1b4=_0x3dc404(0x259);var _0x4651ca=(_0x3d3159=>(_0x3d3159[_0x3dc404(0x231)]=_0x3dc404(0x375),_0x3d3159[_0x3dc404(0x25a)]='panel',_0x3d3159[_0x3dc404(0x343)]=_0x3dc404(0x11a),_0x3d3159['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x3d3159[_0x3dc404(0x374)]='addPivotTable',_0x3d3159['MovePivotField']=_0x3dc404(0x161),_0x3d3159[_0x3dc404(0x13c)]=_0x3dc404(0x1dc),_0x3d3159[_0x3dc404(0x1e2)]=_0x3dc404(0x3ba),_0x3d3159[_0x3dc404(0x36c)]=_0x3dc404(0x30b),_0x3d3159[_0x3dc404(0x261)]=_0x3dc404(0x27e),_0x3d3159[_0x3dc404(0x2c1)]=_0x3dc404(0x26f),_0x3d3159[_0x3dc404(0x14b)]=_0x3dc404(0x12a),_0x3d3159[_0x3dc404(0x12c)]=_0x3dc404(0x3e0),_0x3d3159[_0x3dc404(0x3e2)]=_0x3dc404(0x3e4),_0x3d3159[_0x3dc404(0x2d8)]=_0x3dc404(0x109),_0x3d3159[_0x3dc404(0x37d)]=_0x3dc404(0x24f),_0x3d3159['ResetPivotTable']=_0x3dc404(0xde),_0x3d3159))(_0x4651ca||{});const _0x19cae1={'sheets-pivot.blankValue':_0x3dc404(0x248),'sheets-pivot.columnName':_0x3dc404(0x38d),'sheets-pivot.subTotalText':_0x3dc404(0x18e),'sheets-pivot.grandTotalText':_0x3dc404(0x141),'sheets-pivot.valueText':_0x3dc404(0x311),'sheets-pivot.averageName':_0x3dc404(0x30f),'sheets-pivot.countName':_0x3dc404(0x290),'sheets-pivot.countNumsName':_0x3dc404(0x290),'sheets-pivot.maxName':_0x3dc404(0x39c),'sheets-pivot.minName':_0x3dc404(0x372),'sheets-pivot.productName':_0x3dc404(0x1ec),'sheets-pivot.stdDevName':_0x3dc404(0x2e7),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x3dc404(0x113),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x3dc404(0x26e),'sheets-pivot.subTotal':_0x3dc404(0x117),'sheets-pivot.grandTotal':_0x3dc404(0x141),'sheets-pivot.value':_0x3dc404(0x3b7),'sheets-pivot.blank':_0x3dc404(0x29b),'sheets-pivot.other':_0x3dc404(0x359),'sheets-pivot.emptyPivot.filter':_0x3dc404(0x231),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x3dc404(0x160),'sheets-pivot.emptyPivot.values':_0x3dc404(0x35a)},_0x39a6bf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x44e1c4=_0x9cf92b[_0x3dc404(0x352)](_0x3dc404(0x107)),_0x3ce801=_0x9cf92b['createInterceptorKey'](_0x3dc404(0x275));var _0x18eb7f=(_0x323228=>(_0x323228['add']=_0x3dc404(0x1e9),_0x323228[_0x3dc404(0x291)]='delete',_0x323228[_0x3dc404(0x2e4)]='update',_0x323228))(_0x18eb7f||{}),_0x20d852=(_0x5e9dff=>(_0x5e9dff['Add']='add',_0x5e9dff[_0x3dc404(0x1ea)]=_0x3dc404(0x1fd),_0x5e9dff[_0x3dc404(0x38e)]=_0x3dc404(0x291),_0x5e9dff))(_0x20d852||{});const _0x2c3c73={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x1a7285={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1d8),'handler':()=>!0x0},_0x33d353={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0xff),'handler':()=>!0x0},_0x479347={'type':_0x9cf92b['CommandType']['MUTATION'],'id':_0x3dc404(0x22a),'handler':()=>!0x0},_0x2b6fcc={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x2f8),'handler':()=>!0x0};var _0x132f25=Object[_0x3dc404(0x34b)],_0x5a5fd0=(_0x5d11d6,_0x49c780,_0x21249f,_0x44414d)=>{const _0x23a487=_0x3dc404;for(var _0x59986d=_0x44414d>0x1?void 0x0:_0x44414d?_0x132f25(_0x49c780,_0x21249f):_0x49c780,_0x4c6873=_0x5d11d6[_0x23a487(0xfc)]-0x1,_0x2612b4;_0x4c6873>=0x0;_0x4c6873--)(_0x2612b4=_0x5d11d6[_0x4c6873])&&(_0x59986d=_0x2612b4(_0x59986d)||_0x59986d);return _0x59986d;},_0xf36a8a=(_0x440fc1,_0xcdca1)=>(_0xd1cafe,_0x38a4e6)=>_0xcdca1(_0xd1cafe,_0x38a4e6,_0x440fc1);_0x582d11['SheetsPivotRPCService']=class extends _0x9cf92b['Disposable']{constructor(_0x1320b7){const _0x38c883=_0x3dc404;super(),_0x4d8d39(this,'_requestResolvers',new Map()),this[_0x38c883(0x284)]=_0x1320b7;}[_0x3dc404(0x118)](_0x144043){const _0x20e7ca=_0x3dc404,{version:_0x1244c0}=_0x144043,_0x1af914=this[_0x20e7ca(0x365)][_0x20e7ca(0x1b1)](_0x1244c0);_0x1af914&&(_0x1af914(_0x144043),this[_0x20e7ca(0x365)]['delete'](_0x1244c0));}[_0x3dc404(0x35c)](_0x48501a){return new Promise((_0x448f6a,_0x2cfb2b)=>{const _0x556793=_0x3474,_0x501135=this[_0x556793(0x348)]();this['_requestResolvers']['set'](_0x501135,_0x448f6a),this[_0x556793(0x284)]['executeCommand'](_0x2c3c73['id'],{'version':_0x501135,..._0x48501a},{'onlyLocal':!0x0});});}[_0x3dc404(0x348)](){const _0x17118a=_0x3dc404;return Math[_0x17118a(0x20a)]()[_0x17118a(0x219)](0x24)[_0x17118a(0x239)](0x2,0x10);}},_0x582d11[_0x3dc404(0x1b0)]=_0x5a5fd0([_0xf36a8a(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)]))],_0x582d11[_0x3dc404(0x1b0)]);const _0x1e325f={0x0:'c',0x1:'v',0x2:'C',0x3:'6',0x4:'P',0x5:'2',0x6:'H',0x7:'l',0x8:'h',0x9:'4','A':'0','E':'1','n':'3','W':'5','v':'7','C':'8','g':'9','j':'a','t':'b','Y':'d','O':'e','L':'f','c':'g','e':'i','m':'j','q':'k','P':'m','Q':'n','I':'o','r':'p','f':'q','z':'r','w':'s','a':'t','u':'u','H':'w','l':'x','x':'y','V':'z','i':'A','G':'B','X':'D','y':'E','p':'F','K':'G','J':'I','o':'J','D':'K','F':'L','s':'M','h':'N','R':'O','U':'Q','Z':'R','S':'S','b':'T','M':'U','T':'V','B':'W','d':'X','k':'Y','N':'Z'},_0x2e7bcf=_0x3dc404(0x361),_0x354503=_0x34d968=>{const _0x5747d5=_0x3dc404;var _0xe67592;return((_0xe67592=_0x34d968[_0x5747d5(0x15f)])==null?void 0x0:_0xe67592[_0x5747d5(0x246)][_0x5747d5(0xf6)](/\r\n$/,''))||'';};class _0x43007c extends _0x399222[_0x3dc404(0x369)]{constructor(_0x77fe8d,_0x512aa6){const _0x37ca50=_0x3dc404;super(),_0x4d8d39(this,_0x37ca50(0x293),{}),_0x4d8d39(this,_0x37ca50(0x206)),_0x4d8d39(this,_0x37ca50(0x30c)),(this[_0x37ca50(0x206)]=_0x512aa6,this[_0x37ca50(0x30c)]=_0x77fe8d);}[_0x3dc404(0xd9)](){const _0x361d7a=_0x3dc404;for(const _0x38bfee in this[_0x361d7a(0x222)]){const _0x1dde13=this[_0x361d7a(0x222)][_0x38bfee],_0x433276=_0x1dde13[_0x361d7a(0x315)]();this[_0x361d7a(0x293)][_0x433276]=_0x1dde13[_0x361d7a(0x26d)]();}}[_0x3dc404(0x2b2)](){const _0x382fb=_0x3dc404,_0x3fe09d=this[_0x382fb(0x30c)];return _0x30e019['bind'](_0x3fe09d);}['deleteDataField'](_0x4eafa0){const _0xe3ffae=_0x3dc404,_0xa16629=this[_0xe3ffae(0x222)][_0x4eafa0][_0xe3ffae(0x3d0)];delete this[_0xe3ffae(0x222)][_0x4eafa0],delete this['rangeKeyMap'][_0xa16629];}[_0x3dc404(0x210)](_0x5656d2){const _0x2fe8f8=_0x3dc404;this[_0x2fe8f8(0x222)][_0x5656d2[_0x2fe8f8(0x26d)]()]=_0x5656d2;}[_0x3dc404(0x21a)](_0x2f5a8a){const _0xf6f93c=_0x3dc404;var _0x4b9ce0,_0x76cd84;const _0x20b8b1=this[_0xf6f93c(0x30c)][_0xf6f93c(0x1bc)](_0x2f5a8a);if(_0x20b8b1){const {unitId:_0x330c61,subUnitId:_0x377783}=_0x20b8b1,_0xbd026d=(_0x4b9ce0=this[_0xf6f93c(0x30c)][_0xf6f93c(0x17c)](_0x330c61,_0x377783,_0x2f5a8a))==null?void 0x0:_0x4b9ce0[_0xf6f93c(0x354)];this['_host'][_0xf6f93c(0x19a)]({'token':_0x2f5a8a,'type':_0x18eb7f[_0xf6f93c(0x291)],'dataRangeInfo':_0xbd026d});}(_0x76cd84=this[_0xf6f93c(0x355)](_0x2f5a8a))==null||_0x76cd84[_0xf6f93c(0x28f)](),delete this[_0xf6f93c(0x119)][_0x2f5a8a];}[_0x3dc404(0x315)](_0x634825,_0x41e672){const _0x53e4ff=_0x3dc404,{sheetName:_0x266dab,unitId:_0x49e092,range:_0x49209b}=_0x634825,{startRow:_0x2d383b,endRow:_0x6d195c}=_0x49209b;return _0x544f7f[_0x53e4ff(0xc1)](_0x49e092,_0x266dab,{'startRow':_0x2d383b,'endRow':_0x6d195c,'startColumn':_0x41e672,'endColumn':_0x41e672});}[_0x3dc404(0x243)](_0xef5172){const _0x3ace2d=_0x3dc404;return this['dataFields'][this[_0x3ace2d(0x293)][_0xef5172]];}[_0x3dc404(0x1b8)](_0x1e12e3,_0x1952d8){const _0x5c2bea=_0x3dc404;this[_0x5c2bea(0x293)][_0x1e12e3]=_0x1952d8;}['updateRangeKeyMap'](_0x28441d,_0x2b73b2){const _0x490d6f=_0x3dc404;this[_0x490d6f(0x293)][_0x2b73b2]=this[_0x490d6f(0x293)][_0x28441d],delete this[_0x490d6f(0x293)][_0x28441d];}['addCollectionByJSON'](_0x143b9f,_0x1c289a,_0x35a015,_0x1dc836){const _0x1fbce2=_0x3dc404,_0x1e93ff=new _0x399222[(_0x1fbce2(0x3d1))](this);_0x1e93ff[_0x1fbce2(0x106)](_0x1c289a);const _0x308db7=[];let _0x22e021=0x0;for(const _0x27c22d of _0x1e93ff[_0x1fbce2(0x218)]){const _0x47e1f8=this['getRangeKey'](_0x35a015,_0x22e021),_0x1e8b48=this['dataFields'][_0x27c22d];_0x1e8b48&&(_0x1e8b48[_0x1fbce2(0x3d0)]=_0x47e1f8,this[_0x1fbce2(0x1b8)](_0x47e1f8,_0x27c22d),_0x308db7[_0x1fbce2(0x34a)]({'index':_0x22e021,'dataField':_0x1e8b48})),_0x22e021++;}return this['addCollection'](_0x143b9f,_0x1e93ff,_0x35a015,_0x1dc836),{'collection':_0x1e93ff,'updateDataFieldList':_0x308db7};}[_0x3dc404(0xe7)](_0x376f64,_0x2b533c){const _0x4b0b67=_0x3dc404;return _0x376f64[_0x4b0b67(0x2c2)]===_0x9cf92b[_0x4b0b67(0x1d0)]['COLUMN']?{'startRow':0x0,'startColumn':_0x376f64[_0x4b0b67(0x223)],'endRow':_0x2b533c['getRowCount']()-0x1,'endColumn':_0x376f64[_0x4b0b67(0x104)]}:{'startRow':_0x376f64['startRow'],'startColumn':_0x376f64['startColumn'],'endRow':_0x376f64[_0x4b0b67(0x13e)],'endColumn':_0x376f64[_0x4b0b67(0x104)]};}[_0x3dc404(0x22c)](_0x29938d){const _0x19d33a=_0x3dc404,{sheetName:_0x25e57,range:_0x50c702}=_0x29938d,_0x310cc6=this[_0x19d33a(0x206)]['getCurrentUnitForType'](_0x9cf92b[_0x19d33a(0x101)][_0x19d33a(0x2ae)]),_0x913953=_0x310cc6[_0x19d33a(0x2ce)](_0x25e57),_0x40f70f=_0x913953[_0x19d33a(0x23b)](),{startColumn:_0x4cc0bf,startRow:_0x2915c0,endColumn:_0x4fbf9c}=this[_0x19d33a(0xe7)](_0x50c702,_0x913953),_0x19e5f8=_0x310cc6['getStyles'](),_0x5b3710=new _0x399222[(_0x19d33a(0x3d1))](this);_0x5b3710[_0x19d33a(0x134)](_0x29938d);const _0x120ced=[],_0x338e0b={};for(let _0x1775e4=_0x4cc0bf;_0x1775e4<=_0x4fbf9c;_0x1775e4++){const _0x2fc339=_0x40f70f[_0x19d33a(0x34f)](_0x2915c0,_0x1775e4),_0x99bf26=this[_0x19d33a(0x315)](_0x29938d,_0x1775e4),_0x18568e=this[_0x19d33a(0x243)](_0x99bf26);if(_0x18568e)_0x5b3710['addField'](_0x18568e[_0x19d33a(0x26d)](),_0x18568e[_0x19d33a(0x220)]());else{const _0xd6b044=this[_0x19d33a(0x16a)]();let _0xcb7c84=this[_0x19d33a(0x28e)](_0x2fc339,_0x19e5f8,_0x338e0b);_0x399222[_0x19d33a(0x1b2)](_0xcb7c84)&&(_0xcb7c84=_0x9cf92b['numfmt'][_0x19d33a(0x2f7)](_0xcb7c84['f'],Number(_0xcb7c84['v'])));const _0x5878b1=this[_0x19d33a(0x1f8)](_0xcb7c84,_0x1775e4),_0x3022c4=new _0x399222[(_0x19d33a(0x2d5))](_0xd6b044,_0x5878b1,_0x399222[_0x19d33a(0x191)](0x3));_0x3022c4['rangeKey']=_0x99bf26,this[_0x19d33a(0x222)][_0xd6b044]=_0x3022c4,_0x5b3710[_0x19d33a(0x329)](_0xd6b044,_0x5878b1),_0x120ced[_0x19d33a(0x34a)]({'index':_0x1775e4,'dataField':_0x3022c4});}}return{'updateDataFieldList':_0x120ced,'collection':_0x5b3710};}[_0x3dc404(0x308)](_0x4cf084){const _0x8a163c=_0x3dc404;return this[_0x8a163c(0x30c)][_0x8a163c(0x1ee)]()['sheets-pivot.columnName']+'\x20'+_0x9cf92b['numberToABC'](_0x4cf084);}[_0x3dc404(0x1f8)](_0x47d875,_0x88c93e){const _0x2f6bd1=_0x3dc404;return _0x47d875==null||_0x47d875===''?this[_0x2f6bd1(0x308)](_0x88c93e):String(_0x47d875);}[_0x3dc404(0x355)](_0x4323f1){const _0x2d6c4e=_0x3dc404;return this[_0x2d6c4e(0x119)][_0x4323f1];}[_0x3dc404(0x185)](_0x1774e4,_0xc70115,_0x7ce485,_0x5bd6b3){const _0x4ea83c=_0x3dc404;this[_0x4ea83c(0x119)][_0x1774e4]=_0xc70115,_0xc70115[_0x4ea83c(0x134)](_0x7ce485),this[_0x4ea83c(0x30c)][_0x4ea83c(0x19a)]({'token':_0x1774e4,'type':_0x18eb7f[_0x4ea83c(0x1e9)],'dataRangeInfo':_0x7ce485,'targetCellInfo':_0x5bd6b3});}[_0x3dc404(0x3a2)](_0x9ee86f,_0x322cba){const _0x1e45e9=_0x3dc404,_0x216c91=this['getCollection'](_0x9ee86f),_0x3e0e0c=_0x216c91[_0x1e45e9(0x3a5)]();let _0x3e2da3=0x0;for(const _0x488692 of _0x3e0e0c){const _0x3ff419=_0x216c91['getFieldById'](_0x488692),_0x3ae2f0=this[_0x1e45e9(0x315)](_0x322cba,_0x3e2da3);this[_0x1e45e9(0x2f0)](_0x3ff419['rangeKey'],_0x3ae2f0),_0x3e2da3++;}}[_0x3dc404(0x172)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3dc404(0x28c)](_0x4f7686,_0x107618){const _0x15d9b7=_0x3dc404;if(this[_0x15d9b7(0x355)](_0x4f7686)){const _0x47c58c=this[_0x15d9b7(0x23a)](_0x107618),_0x194452=[];for(const _0xd6d94a of _0x47c58c)this['rangeKeyMap'][_0xd6d94a]!==void 0x0&&_0x194452[_0x15d9b7(0x34a)](this['rangeKeyMap'][_0xd6d94a]);const _0x328dd4=this[_0x15d9b7(0x3d7)](_0x4f7686),_0xd46b89=[],_0x3061c5=new Set(_0x194452);for(const _0x4d7165 of _0x328dd4)_0x3061c5[_0x15d9b7(0x138)](_0x4d7165)||_0xd46b89[_0x15d9b7(0x34a)](_0x4d7165);return _0xd46b89;}}['getMatrixValue'](_0x40154d,_0xaa151c,_0xa08b20,_0x3f9515,_0x2ab595){const _0x630d63=_0x3dc404;return _0xaa151c&&_0xaa151c[_0x630d63(0x34f)](_0x3f9515,_0x2ab595)?_0xaa151c[_0x630d63(0x34f)](_0x3f9515,_0x2ab595):_0xa08b20&&_0xa08b20[_0x630d63(0x34f)](_0x3f9515,_0x2ab595)?_0xa08b20['getValue'](_0x3f9515,_0x2ab595):_0x40154d[_0x630d63(0x34f)](_0x3f9515,_0x2ab595);}[_0x3dc404(0x170)](_0x261d6c,_0x52bea3,_0x3f9778,_0x2a86e5){const _0x218050=_0x3dc404,_0x37bc22=this[_0x218050(0x222)][_0x261d6c];if(!_0x37bc22)return;const {subUnitId:_0x1e9a14,range:_0x3cedd2,unitId:_0x1501a5}=_0x52bea3,_0x569a44=this[_0x218050(0x206)]['getUnit'](_0x1501a5);if(!_0x569a44){console[_0x218050(0x154)]('workbook\x20is\x20not\x20found');return;}const _0x3f7e64=_0x569a44[_0x218050(0x379)](_0x1e9a14),_0x178aa1=_0x3f7e64['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1aa847,unitDataMatrix:_0x406c1c}=_0x2a86e5||{},{startRow:_0x22f6f3,startColumn:_0x3e861c,endRow:_0x19d5d7}=this[_0x218050(0xe7)](_0x3cedd2,_0x3f7e64);_0x37bc22['reset']();const _0xa8044=_0x569a44[_0x218050(0x192)](),_0xdbc8ea={},_0x5939d4=this[_0x218050(0x2b9)](_0x178aa1,_0x1aa847,_0x406c1c,_0x22f6f3,_0x3e861c+_0x3f9778);let _0x3a15f2=this[_0x218050(0x28e)](_0x5939d4,_0xa8044,_0xdbc8ea);_0x399222[_0x218050(0x1b2)](_0x3a15f2)&&(_0x3a15f2=_0x9cf92b[_0x218050(0x215)][_0x218050(0x2f7)](_0x3a15f2['f'],Number(_0x3a15f2['v'])));const _0x4fec4d=this[_0x218050(0x1f8)](_0x3a15f2,_0x3e861c+_0x3f9778);_0x37bc22[_0x218050(0x208)](_0x4fec4d);for(let _0x471878=_0x22f6f3+0x1;_0x471878<=_0x19d5d7;_0x471878++){const _0x2f94a4=this['getMatrixValue'](_0x178aa1,_0x1aa847,_0x406c1c,_0x471878,_0x3e861c+_0x3f9778);_0x37bc22[_0x218050(0x350)](this['adjustSheetCellData'](_0x2f94a4,_0xa8044,_0xdbc8ea),_0x471878-0x1-_0x22f6f3);}}[_0x3dc404(0x38f)](_0x26fb23,_0x4790d2,_0x2012b9){const _0x31ee72=_0x3dc404,{subUnitId:_0x501262,range:_0x45205b,unitId:_0x36ff77}=_0x2012b9,_0x3033ee=this[_0x31ee72(0x206)][_0x31ee72(0x1b6)](_0x36ff77);if(!_0x3033ee){console['error'](_0x31ee72(0x116));return;}const _0x3f4f0a=_0x3033ee[_0x31ee72(0x379)](_0x501262),_0x364763=_0x3f4f0a[_0x31ee72(0x23b)](),{startRow:_0x421604,startColumn:_0x3ef0a6,endRow:_0x1be33d}=this[_0x31ee72(0xe7)](_0x45205b,_0x3f4f0a),_0x3dbea8=_0x3033ee[_0x31ee72(0x192)](),_0x41552f={};for(const {dataField:_0x32a92f,index:_0x5c6320}of _0x4790d2){_0x32a92f[_0x31ee72(0x251)]();const _0x592e7d=this[_0x31ee72(0x2b9)](_0x364763,void 0x0,void 0x0,_0x421604,_0x3ef0a6+_0x5c6320);let _0x214548=this[_0x31ee72(0x28e)](_0x592e7d,_0x3dbea8,_0x41552f);_0x399222[_0x31ee72(0x1b2)](_0x214548)&&(_0x214548=_0x9cf92b[_0x31ee72(0x215)][_0x31ee72(0x2f7)](_0x214548['f'],Number(_0x214548['v'])));const _0x19884b=this[_0x31ee72(0x1f8)](_0x214548,_0x3ef0a6+_0x5c6320);_0x32a92f['setName'](_0x19884b);}_0x26fb23['updateAllDisplayName']();for(let _0x775cbe=_0x421604+0x1;_0x775cbe<=_0x1be33d;_0x775cbe++)for(const {index:_0x27321f,dataField:_0x35bbf2}of _0x4790d2){const _0x2c9891=_0x364763['getValue'](_0x775cbe,_0x3ef0a6+_0x27321f);_0x35bbf2['addRecord'](this[_0x31ee72(0x28e)](_0x2c9891,_0x3dbea8,_0x41552f),_0x775cbe-0x1-_0x421604);}_0x26fb23['setDataRecordCount'](_0x1be33d-_0x421604);}[_0x3dc404(0x23a)](_0x3e7fde){const _0x1a9523=_0x3dc404,{range:_0x25e6e6}=_0x3e7fde,{startColumn:_0x23a03e,endColumn:_0x28a1d9}=_0x25e6e6,_0x196da8=[];for(let _0x3212a1=_0x23a03e;_0x3212a1<=_0x28a1d9;_0x3212a1++)_0x196da8[_0x1a9523(0x34a)](this['getRangeKey'](_0x3e7fde,_0x3212a1));return _0x196da8;}['adjustSheetCellData'](_0x300403,_0xfd2d1d,_0x5a8727){const _0x36310e=_0x3dc404;if(_0x300403){const {s:_0x10a2ab,v:_0x5d9286,t:_0x2cce4a,p:_0x1f746b}=_0x300403;if(_0x1f746b)return _0x354503(_0x1f746b);const _0x3ff5f1=_0xfd2d1d[_0x36310e(0x1b1)](_0x10a2ab);if(_0x3ff5f1&&_0x2cce4a===_0x9cf92b['CellValueType'][_0x36310e(0x108)]&&_0x3ff5f1['n']){const {pattern:_0x3ba62a}=_0x3ff5f1['n'];_0x5a8727[_0x3ba62a]||(_0x5a8727[_0x3ba62a]=_0x9cf92b[_0x36310e(0x215)][_0x36310e(0x232)](_0x3ba62a));const _0x5814ad=_0x5a8727[_0x3ba62a],_0x34c58e=_0x5814ad[_0x36310e(0x1ad)];if(_0x5814ad[_0x36310e(0x356)])return String(_0x5d9286);if(_0x34c58e)return{'v':_0x5d9286,'f':_0x3ba62a};}if(_0x2cce4a===_0x9cf92b['CellValueType'][_0x36310e(0x108)])return Number(_0x5d9286);if(_0x2cce4a===_0x9cf92b[_0x36310e(0x1e4)][_0x36310e(0x385)]||_0x2cce4a===_0x9cf92b[_0x36310e(0x1e4)][_0x36310e(0x32c)])return String(_0x5d9286);if(_0x2cce4a===void 0x0){const _0x2c0cb7=Number(_0x5d9286);if(!Number[_0x36310e(0x136)](_0x2c0cb7)&&String(_0x2c0cb7)===_0x5d9286)return _0x2c0cb7;}return _0x5d9286!=null?_0x5d9286:null;}else return null;}[_0x3dc404(0x1d9)](_0x1c825a){const _0x3d7c4d=_0x3dc404,{sheetName:_0x49a60b,range:_0x116e14,unitId:_0x21cea2}=_0x1c825a,_0x1b3e64=this[_0x3d7c4d(0x206)][_0x3d7c4d(0x1b6)](_0x21cea2);if(!_0x1b3e64)return console[_0x3d7c4d(0x154)](_0x3d7c4d(0x116)),{'header':[],'data':[]};const _0x1ff774=_0x1b3e64[_0x3d7c4d(0x2ce)](_0x49a60b),_0x11152f=_0x1ff774[_0x3d7c4d(0x23b)](),{startRow:_0x3ec5ab,startColumn:_0x4bcd81,endRow:_0x48e0e8,endColumn:_0x3bb035}=this['getRangeStartEndInfo'](_0x116e14,_0x1ff774),_0x46317a=_0x1b3e64[_0x3d7c4d(0x192)](),_0x54982f=[],_0x27cb00=[],_0x4d854e={};for(let _0x4e2229=_0x3ec5ab;_0x4e2229<=_0x48e0e8;_0x4e2229++){const _0x551f5a=[];for(let _0x22b9d4=_0x4bcd81;_0x22b9d4<=_0x3bb035;_0x22b9d4++){const _0x3a5d8b=_0x11152f[_0x3d7c4d(0x34f)](_0x4e2229,_0x22b9d4);_0x4e2229===_0x3ec5ab?_0x54982f[_0x3d7c4d(0x34a)](_0x3a5d8b==null?null:String(_0x3a5d8b['v'])):_0x551f5a[_0x3d7c4d(0x34a)](this[_0x3d7c4d(0x28e)](_0x3a5d8b,_0x46317a,_0x4d854e));}_0x27cb00[_0x3d7c4d(0x34a)](_0x551f5a);}return{'header':_0x54982f,'data':_0x27cb00};}[_0x3dc404(0x3b5)](){const _0x2ffa3e=_0x3dc404;return super[_0x2ffa3e(0x3b5)]();}[_0x3dc404(0x106)](_0xfb890e){const _0x1eefc0=_0x3dc404;super[_0x1eefc0(0x106)](_0xfb890e),this[_0x1eefc0(0xd9)]();}[_0x3dc404(0x28f)](){const _0x56fab1=_0x3dc404;super[_0x56fab1(0x28f)](),this[_0x56fab1(0x293)]={},this[_0x56fab1(0x30c)]=null;}}const _0x1d6db1=_0x3c7d5a=>{const _0x567ff3=_0x3dc404,{targetCellInfo:_0x577cba}=_0x3c7d5a,{matrixCache:_0x52f29f,rangesCache:_0x575231}=_0x47c976({'filter':_0x567ff3(0x231),'row':_0x567ff3(0x2a6),'column':_0x567ff3(0x160),'values':'Values'},_0x577cba),_0x1d8914=new _0x9cf92b[(_0x567ff3(0x37c))]();return _0x52f29f[_0x567ff3(0x16e)]((_0x342300,_0x487657,_0x1ca761)=>{const _0x33621f=_0x567ff3;_0x1d8914[_0x33621f(0x31f)](_0x342300,_0x487657,_0x1ca761);}),{'matrix':_0x1d8914,'rangesCache':_0x575231};},_0x27ceef=_0x248f59=>{const _0x4a31c6=_0x3dc404;let _0xa3c8d6;if(_0x248f59!=null&&_0x248f59['v']||(_0x248f59==null?void 0x0:_0x248f59['v'])===0x0){_0xa3c8d6||(_0xa3c8d6={});const _0x22dce0=_0x267d4c(_0x248f59['v']);typeof _0x22dce0==_0x4a31c6(0x1ba)?_0xa3c8d6['t']=_0x9cf92b['CellValueType'][_0x4a31c6(0x108)]:typeof _0x22dce0=='string'&&(_0xa3c8d6['t']=_0x9cf92b[_0x4a31c6(0x1e4)][_0x4a31c6(0x385)]),_0xa3c8d6['v']=_0x22dce0;}return _0xa3c8d6;},_0x1a0ed9=(_0x3949ed,_0x4ec54e,_0x522d33)=>{const _0x224ea4=_0x3dc404;var _0x6e2364,_0x1d0d13,_0x780961,_0x5e5bfd,_0x1a3bf9,_0x3fb9bf,_0x3d6b52,_0x25e5e3,_0x9c14a,_0x57a4d3,_0x10323d,_0x919c39;const {cornerView:_0xc4512b,rowView:_0x3b15be,colView:_0x3b369c,dataView:_0x283f12,pageView:_0x2a1cdc,formatMap:_0x3a6ae2}=_0x3949ed,{row:_0x2ea80d,col:_0x8dc745}=_0x4ec54e,_0x58c130=new _0x9cf92b[(_0x224ea4(0x37c))]();let _0x6a061e=_0x2ea80d,_0x5c8094=_0x8dc745;Object[_0x224ea4(0x336)](_0x2a1cdc[_0x224ea4(0x1ac)])[_0x224ea4(0xfe)](_0xcbec1=>{const _0x416ac3=_0x224ea4;Object['keys'](_0x2a1cdc['data'][Number(_0xcbec1)])[_0x416ac3(0xfe)](_0x2626f6=>{const _0xbf9f7b=_0x416ac3,_0x295a3b={..._0x2a1cdc[_0xbf9f7b(0x1ac)][Number(_0xcbec1)][Number(_0x2626f6)]};_0x58c130[_0xbf9f7b(0x31f)](Number(_0xcbec1)+_0x6a061e,Number(_0x2626f6)+_0x5c8094,_0x27ceef(_0x295a3b));});});const _0x132ecc=Object[_0x224ea4(0x336)](_0x2a1cdc['data'])[_0x224ea4(0xfc)];_0x6a061e+=_0x132ecc+(_0x132ecc?_0x301d16:0x0);const _0x3093cf=_0xc4512b['getRowCount'](),_0x3c4e43=_0xc4512b[_0x224ea4(0x2d9)]();for(let _0x1288fd=0x0;_0x1288fd<_0x3093cf;_0x1288fd++)for(let _0x20cd21=0x0;_0x20cd21<_0x3c4e43;_0x20cd21++){const _0x50da5b={...(_0x1d0d13=(_0x6e2364=_0xc4512b[_0x224ea4(0x1ac)])==null?void 0x0:_0x6e2364[_0x1288fd])==null?void 0x0:_0x1d0d13[_0x20cd21]};_0x50da5b&&((_0x780961=_0x3b15be[_0x224ea4(0x1c1)][_0x20cd21])!=null&&_0x780961[_0x224ea4(0x2cd)])&&_0x20cd21===_0x3c4e43-0x1&&_0x1288fd===_0x3093cf-0x1&&(_0x50da5b['v']=''+_0x522d33[_0x224ea4(0x397)]),_0x58c130['setValue'](_0x1288fd+_0x6a061e,_0x20cd21+_0x5c8094,_0x27ceef(_0x50da5b));}_0x5c8094+=_0x3c4e43;const _0x36bdc9=_0x3b369c[_0x224ea4(0x1c1)],_0x15f948=_0x3b369c['getLastRow']()>=0x0?_0x3b369c['getLastRow']()+0x1:0x0,_0x1f7c59=_0x3b369c[_0x224ea4(0x399)]()>=0x0?_0x3b369c[_0x224ea4(0x399)]()+0x1:0x0;for(let _0x3cdd7d=0x0;_0x3cdd7d<_0x1f7c59;_0x3cdd7d++)for(let _0x14b5cb=0x0;_0x14b5cb<_0x15f948;_0x14b5cb++){const _0x38be51={...(_0x1a3bf9=(_0x5e5bfd=_0x3b369c[_0x224ea4(0x1ac)])==null?void 0x0:_0x5e5bfd[_0x3cdd7d])==null?void 0x0:_0x1a3bf9[_0x14b5cb]},_0x46112d=(_0x3fb9bf=_0x36bdc9[_0x3cdd7d])==null?void 0x0:_0x3fb9bf[_0x224ea4(0x3b9)],_0x4033c6=_0x3a6ae2[_0x46112d];_0x38be51&&(_0x38be51['v']=_0x340ba5(_0x38be51,_0x3cdd7d===0x0&&((_0x3d6b52=_0x3b369c['getHeaderMapItem'](_0x14b5cb+0x1))==null?void 0x0:_0x3d6b52[_0x224ea4(0x2cd)]),_0x4033c6,_0x522d33)),_0x58c130[_0x224ea4(0x31f)](_0x3cdd7d+_0x6a061e,_0x14b5cb+_0x5c8094,_0x27ceef(_0x38be51));}_0x6a061e+=_0x3093cf;const _0x5b86b2=_0x3b15be['headerMap'],_0x329eee=_0x3b15be[_0x224ea4(0x1a5)]()>=0x0?_0x3b15be[_0x224ea4(0x1a5)]()+0x1:0x0,_0x450ad3=_0x3b15be[_0x224ea4(0x399)]()>=0x0?_0x3b15be[_0x224ea4(0x399)]()+0x1:0x0;for(let _0x1b9d4c=0x0;_0x1b9d4c<_0x329eee;_0x1b9d4c++)for(let _0x589b37=0x0;_0x589b37<_0x450ad3;_0x589b37++){const _0x38f4ef={...(_0x9c14a=(_0x25e5e3=_0x3b15be[_0x224ea4(0x1ac)])==null?void 0x0:_0x25e5e3[_0x1b9d4c])==null?void 0x0:_0x9c14a[_0x589b37]},_0x294d03=(_0x57a4d3=_0x5b86b2[_0x589b37])==null?void 0x0:_0x57a4d3['tableFieldId'],_0x3189d3=_0x3a6ae2[_0x294d03];_0x38f4ef&&(_0x38f4ef['v']=_0x340ba5(_0x38f4ef,!0x1,_0x3189d3,_0x522d33)),_0x58c130[_0x224ea4(0x31f)](_0x1b9d4c+_0x6a061e,_0x589b37+_0x8dc745,_0x27ceef(_0x38f4ef));}const _0x37bfcb=_0x283f12[_0x224ea4(0x393)](),_0x256df4=_0x283f12[_0x224ea4(0x2d9)]();for(let _0x45a233=0x0;_0x45a233<_0x37bfcb;_0x45a233++)for(let _0x50120e=0x0;_0x50120e<_0x256df4;_0x50120e++){const _0xd326b8={...(_0x919c39=(_0x10323d=_0x283f12[_0x224ea4(0x1ac)])==null?void 0x0:_0x10323d[_0x45a233])==null?void 0x0:_0x919c39[_0x50120e]};_0x58c130[_0x224ea4(0x31f)](_0x45a233+_0x6a061e,_0x50120e+_0x5c8094,_0x27ceef(_0xd326b8));}return _0x58c130;},_0x7c732a=_0x858e09=>{const _0x3cb881=_0x3dc404,{view:_0x477a06,targetCellInfo:_0x44dc8a,isEmpty:_0x6b0e2,textInfo:_0x2ac38c}=_0x858e09;if(_0x6b0e2)return _0x1d6db1(_0x858e09);const {pageView:_0x6add23,cornerView:_0x3b4fd9,rowView:_0x3aaf31,colView:_0x337825,dataView:_0x48f226}=_0x477a06,_0x409565=_0x7e091f(_0x44dc8a,_0x6add23,!0x0),_0x27ba79=_0x6add23[_0x3cb881(0x257)]>=0x0?_0x6add23[_0x3cb881(0x257)]+0x1:0x0,_0x2ac431=_0x3b4fd9['getRowCount'](),_0x14c83c=_0x3b4fd9[_0x3cb881(0x2d9)](),_0x324db1=_0x409565[_0x3cb881(0xfc)]>0x0?_0x301d16:0x0,_0x1ab337=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1,'col':_0x44dc8a[_0x3cb881(0x305)]},_0x3b4fd9,!0x1,!0x1),_0x129880=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1+_0x2ac431,'col':_0x44dc8a[_0x3cb881(0x305)]},_0x3aaf31,!0x1,!0x0),_0x2ae540=_0x7e091f({'row':_0x44dc8a['row']+_0x27ba79+_0x324db1,'col':_0x44dc8a[_0x3cb881(0x305)]+_0x14c83c},_0x337825,!0x1,!0x0),_0x3c1d7c=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1+_0x2ac431,'col':_0x44dc8a[_0x3cb881(0x305)]+_0x14c83c},_0x48f226,!0x1,!0x1),_0xd1166f={'rowRanges':_0x129880,'colRanges':_0x2ae540,'cornerRanges':_0x1ab337,'dataRanges':_0x3c1d7c,'pageRanges':_0x409565};return{'matrix':_0x1a0ed9(_0x477a06,_0x44dc8a,_0x2ac38c),'rangesCache':_0xd1166f};};var _0x25d8cd=Object[_0x3dc404(0x34b)],_0x4b2862=(_0x3e2c56,_0x3cb631,_0x6b5911,_0x30638a)=>{for(var _0x3f1023=_0x30638a>0x1?void 0x0:_0x30638a?_0x25d8cd(_0x3cb631,_0x6b5911):_0x3cb631,_0x1bbbb8=_0x3e2c56['length']-0x1,_0x349a77;_0x1bbbb8>=0x0;_0x1bbbb8--)(_0x349a77=_0x3e2c56[_0x1bbbb8])&&(_0x3f1023=_0x349a77(_0x3f1023)||_0x3f1023);return _0x3f1023;},_0x440c17=(_0x3f1de2,_0x514880)=>(_0x56ac4e,_0x2120a7)=>_0x514880(_0x56ac4e,_0x2120a7,_0x3f1de2);_0x582d11['SheetsPivotDataSourceModel']=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x20db03,_0x1b5069,_0x104ec4,_0x550f42,_0x1c841c){const _0x425e45=_0x3dc404;super(),_0x4d8d39(this,'_model',new Map()),_0x4d8d39(this,_0x425e45(0x2f2),new Map()),_0x4d8d39(this,_0x425e45(0x242),new Map()),_0x4d8d39(this,_0x425e45(0x279)),_0x4d8d39(this,_0x425e45(0x1be),new _0x1a0164['Subject']()),_0x4d8d39(this,'collectionChange$',this[_0x425e45(0x1be)][_0x425e45(0x3bc)]()),_0x4d8d39(this,'_viewData$',new _0x1a0164[(_0x425e45(0x3a3))]()),_0x4d8d39(this,'viewData$',this[_0x425e45(0x2d4)][_0x425e45(0x3bc)]()),_0x4d8d39(this,_0x425e45(0x2f9),new _0x1a0164[(_0x425e45(0x3a3))]()),_0x4d8d39(this,_0x425e45(0x2b5),this[_0x425e45(0x2f9)]['asObservable']()),_0x4d8d39(this,_0x425e45(0xd8),new Map()),_0x4d8d39(this,_0x425e45(0x2de),[]),_0x4d8d39(this,'_queryingMap',new Map()),(this['_injector']=_0x20db03,this[_0x425e45(0x206)]=_0x1b5069,this[_0x425e45(0x24c)]=_0x104ec4,this[_0x425e45(0x284)]=_0x550f42,this['_resourceManagerService']=_0x1c841c,this[_0x425e45(0x32b)]());}['getTextInfo'](){const _0x1412d7=_0x3dc404;return this[_0x1412d7(0x279)]?this[_0x1412d7(0x279)]:_0x19cae1;}['setTextInfo'](_0x1716e1){const _0x16067c=_0x3dc404;this[_0x16067c(0x279)]=_0x1716e1;}['handleMoveRange'](_0x2cfa1b){const _0x4ba6ba=_0x3dc404;var _0x1678ce;const {from:_0x533b55,to:_0x10d5f7,unitId:_0x525ac9,fromRange:_0x3505d8,toRange:_0x3f97e6}=_0x2cfa1b;if(_0x533b55&&_0x10d5f7){const _0x30be1d=this[_0x4ba6ba(0x217)](_0x525ac9),_0x2a9f2b=this[_0x4ba6ba(0x237)]['get'](_0x525ac9),_0x5ef237=(_0x1678ce=this[_0x4ba6ba(0x206)][_0x4ba6ba(0x1b6)](_0x525ac9))==null?void 0x0:_0x1678ce[_0x4ba6ba(0x379)](_0x10d5f7[_0x4ba6ba(0x103)]);if(!_0x2a9f2b||!_0x5ef237)return;const _0x431bad=_0x5ef237==null?void 0x0:_0x5ef237[_0x4ba6ba(0x220)]();for(const [_0x4c3504,_0x395905]of _0x2a9f2b['entries']())for(const [_0x4e3cce,_0x1845fb]of _0x395905[_0x4ba6ba(0x1a3)]()){const {sourceRangeInfo:_0x3fe89c}=_0x1845fb;if(_0x3fe89c[_0x4ba6ba(0x10b)]===_0x525ac9&&_0x3fe89c[_0x4ba6ba(0x103)]===_0x533b55[_0x4ba6ba(0x103)]&&_0x9cf92b[_0x4ba6ba(0x2d6)][_0x4ba6ba(0x186)](_0x3505d8,_0x3fe89c[_0x4ba6ba(0x277)])){const _0x3c8df2={'row':_0x3fe89c[_0x4ba6ba(0x277)]['startRow']-_0x3505d8[_0x4ba6ba(0x204)],'col':_0x3fe89c['range']['startColumn']-_0x3505d8[_0x4ba6ba(0x223)]},_0x1ba2e0={'unitId':_0x525ac9,'subUnitId':_0x10d5f7['subUnitId'],'sheetName':_0x431bad,'range':{'startRow':_0x3f97e6['startRow']+_0x3c8df2[_0x4ba6ba(0x100)],'endRow':_0x3f97e6[_0x4ba6ba(0x204)]+_0x3c8df2[_0x4ba6ba(0x100)]+_0x3fe89c['range'][_0x4ba6ba(0x13e)]-_0x3fe89c[_0x4ba6ba(0x277)]['startRow'],'startColumn':_0x3f97e6['startColumn']+_0x3c8df2[_0x4ba6ba(0x305)],'endColumn':_0x3f97e6[_0x4ba6ba(0x223)]+_0x3c8df2[_0x4ba6ba(0x305)]+_0x3fe89c[_0x4ba6ba(0x277)][_0x4ba6ba(0x104)]-_0x3fe89c['range'][_0x4ba6ba(0x223)]}};_0x30be1d[_0x4ba6ba(0x3a2)](_0x4e3cce,_0x1ba2e0);const _0xb89e4d={..._0x1845fb,'sourceRangeInfo':_0x1ba2e0};this['_updateModelCache'](_0x525ac9,_0x10d5f7[_0x4ba6ba(0x103)],_0x4e3cce,_0xb89e4d),this[_0x4ba6ba(0x19a)]({'unitId':_0x525ac9,'token':_0x4e3cce,'type':_0x18eb7f[_0x4ba6ba(0x2e4)],'oldSourceRangeInfo':_0x3fe89c,'dataRangeInfo':_0x1ba2e0,'targetCellInfo':_0x1845fb[_0x4ba6ba(0x1ca)]}),this[_0x4ba6ba(0x121)]({'unitId':_0x525ac9,'subUnitId':_0x10d5f7[_0x4ba6ba(0x103)],'oldSubUnitId':_0x4c3504,'pivotTableId':_0x4e3cce,'pivotTableConfig':_0xb89e4d,'collectionConfig':_0x30be1d[_0x4ba6ba(0x3b5)]()});}}}}[_0x3dc404(0x19a)](_0x292351){const _0x51fc98=_0x3dc404;this['_collectionChange$'][_0x51fc98(0x155)](_0x292351);}[_0x3dc404(0x217)](_0x464a08){const _0x40a31e=_0x3dc404;let _0x550e3c=this[_0x40a31e(0xd8)][_0x40a31e(0x1b1)](_0x464a08);return _0x550e3c||(_0x550e3c=new _0x43007c(this,this[_0x40a31e(0x206)]),this['_dataFieldManagerCollection'][_0x40a31e(0x1fd)](_0x464a08,_0x550e3c)),_0x550e3c;}[_0x3dc404(0x355)](_0x18e47d,_0x5d745c){const _0x2264c0=_0x3dc404;return this[_0x2264c0(0x217)](_0x18e47d)[_0x2264c0(0x119)][_0x5d745c];}[_0x3dc404(0x28c)](_0xfced3b,_0x34ccb4,_0xe3c9c5){const _0x2fff70=_0x3dc404;return this[_0x2fff70(0x217)](_0xfced3b)[_0x2fff70(0x28c)](_0x34ccb4,_0xe3c9c5);}['_ensurePivotMap'](_0x4e4528,_0x1eba6c){const _0x49b06d=_0x3dc404;let _0xbdbe72=this[_0x49b06d(0x237)][_0x49b06d(0x1b1)](_0x4e4528);_0xbdbe72||(_0xbdbe72=new Map(),this[_0x49b06d(0x237)][_0x49b06d(0x1fd)](_0x4e4528,_0xbdbe72));let _0x40a617=_0xbdbe72['get'](_0x1eba6c);return _0x40a617||(_0x40a617=new Map(),_0xbdbe72['set'](_0x1eba6c,_0x40a617)),_0x40a617;}['_updateModelCache'](_0x18736c,_0x51a8a6,_0x49046a,_0xa58284){const _0x4ade79=_0x3dc404;this[_0x4ade79(0x1fc)](_0x18736c,_0x51a8a6)[_0x4ade79(0x1fd)](_0x49046a,_0xa58284);}[_0x3dc404(0x398)](_0x315744,_0x4ca828,_0x51b9ab){const _0x24480e=_0x3dc404;var _0x266028,_0x4afa8e,_0x590c4d,_0x56356c;((_0x4afa8e=(_0x266028=this[_0x24480e(0x237)][_0x24480e(0x1b1)](_0x315744))==null?void 0x0:_0x266028['get'](_0x4ca828))==null?void 0x0:_0x4afa8e[_0x24480e(0x1b1)](_0x51b9ab))&&((_0x56356c=(_0x590c4d=this[_0x24480e(0x237)][_0x24480e(0x1b1)](_0x315744))==null?void 0x0:_0x590c4d[_0x24480e(0x1b1)](_0x4ca828))==null||_0x56356c[_0x24480e(0x291)](_0x51b9ab));}['_updatePivotTableInstanceCache'](_0xadbe71,_0x529921){const _0x5074d8=_0x3dc404;this[_0x5074d8(0x2f2)][_0x5074d8(0x1fd)](_0xadbe71,_0x529921);}['_deletePivotTableInstanceCache'](_0x24bb41){const _0x12bda9=_0x3dc404;this[_0x12bda9(0x2f2)][_0x12bda9(0x291)](_0x24bb41);}['_ensureViewDataMap'](_0x4b0005,_0x339709){const _0x4cbe6f=_0x3dc404;let _0x11f6a1=this[_0x4cbe6f(0x242)][_0x4cbe6f(0x1b1)](_0x4b0005);_0x11f6a1||(_0x11f6a1=new Map(),this[_0x4cbe6f(0x242)][_0x4cbe6f(0x1fd)](_0x4b0005,_0x11f6a1));let _0x1c0fc7=_0x11f6a1[_0x4cbe6f(0x1b1)](_0x339709);return _0x1c0fc7||(_0x1c0fc7=new Map(),_0x11f6a1[_0x4cbe6f(0x1fd)](_0x339709,_0x1c0fc7)),_0x1c0fc7;}[_0x3dc404(0x121)](_0x47a9bd){const _0x55c6e6=_0x3dc404,{unitId:_0x4f3796,subUnitId:_0x41ece5,pivotTableId:_0x33f28b,pivotTableConfig:_0x2dc822,collectionConfig:_0x43a055}=_0x47a9bd,_0x31699={'unitId':_0x4f3796,'subUnitId':_0x41ece5,'oldSubUnitId':_0x41ece5,'pivotTableId':_0x33f28b,'pivotTableConfig':_0x2dc822,'collectionConfig':_0x43a055};this[_0x55c6e6(0x284)]['executeCommand'](_0x479347['id'],_0x31699,{'onlyLocal':!0x0});}[_0x3dc404(0x395)](_0x54cab3,_0x4b82d2,_0x97348f,_0x38ed96,_0x13420b,_0x308a12,_0x4f1430,_0x173b77=!0x1){const _0x4a44a4=_0x3dc404;var _0x588b40;this['_commandService'][_0x4a44a4(0x285)](_0x33d353['id'],{'single':{'unitId':_0x54cab3,'subUnitId':_0x4b82d2,'type':_0x97348f,'pivotTableId':_0x38ed96,'view':_0x13420b,'pivotConfig':_0x308a12},'collectionConfig':{[_0x54cab3]:_0x4f1430}},{'onlyLocal':!0x0});const _0x23cba1=!!((_0x588b40=this[_0x4a44a4(0x363)](_0x38ed96))!=null&&_0x588b40[_0x4a44a4(0x364)]()),_0x2b2032=this[_0x4a44a4(0x17c)](_0x54cab3,_0x4b82d2,_0x38ed96);_0x2b2032&&this[_0x4a44a4(0x253)]({'view':_0x13420b,'pivotTableId':_0x38ed96,'textInfo':this[_0x4a44a4(0x1ee)](),'isEmpty':_0x23cba1,'targetCellInfo':_0x2b2032[_0x4a44a4(0x1ca)]},_0x173b77);}[_0x3dc404(0x253)](_0x2de021,_0x426e8b){const _0x43b343=_0x3dc404,{targetCellInfo:_0x5386ae,pivotTableId:_0x3dda08}=_0x2de021,{unitId:_0x4abdf0,subUnitId:_0xb23089}=_0x5386ae,_0x5775f7=this[_0x43b343(0x20b)](_0x4abdf0,_0xb23089),_0x2367d4=_0x5775f7[_0x43b343(0x1b1)](_0x3dda08);let _0x2f6d32,_0x19d72c;_0x2367d4&&(_0x2f6d32=_0x2367d4['rangeCache'],_0x19d72c=_0x2367d4[_0x43b343(0x2a1)]);const {rangesCache:_0x17cf22,matrix:_0x3d483e}=_0x7c732a(_0x2de021);_0x5775f7[_0x43b343(0x1fd)](_0x3dda08,{'rangeCache':_0x17cf22,'matrix':_0x3d483e,'oldMatrix':_0x19d72c,'oldRangeCache':_0x2f6d32}),_0x426e8b||this[_0x43b343(0x2d4)][_0x43b343(0x155)]({'unitId':_0x4abdf0,'subUnitId':_0xb23089,'pivotTableId':_0x3dda08});}[_0x3dc404(0x35b)](_0x52e853,_0x59e8cf,_0x324b16,_0x22d286,_0x592f23){const _0x30aaa8=_0x3dc404;this['_updateModelCache'](_0x52e853,_0x59e8cf,_0x324b16,_0x592f23),this[_0x30aaa8(0x1b4)](_0x324b16,_0x22d286);}[_0x3dc404(0x158)](_0x5b2a70,_0x2c299a,_0x24047e){const _0x710a96=_0x3dc404,_0x519890=this[_0x710a96(0x217)](_0x5b2a70);_0x519890[_0x710a96(0x3d7)](_0x24047e)[_0x710a96(0xfe)](_0x2a1abf=>{const _0x21476c=_0x710a96;_0x519890[_0x21476c(0x17e)](_0x2a1abf);}),this[_0x710a96(0x247)](_0x5b2a70,_0x24047e),this[_0x710a96(0x398)](_0x5b2a70,_0x2c299a,_0x24047e),this[_0x710a96(0x267)](_0x24047e);}[_0x3dc404(0x24a)](_0x396cb0,_0xcc7c5f,_0x9af650,_0x2bc59a){const _0x10beac=_0x3dc404;this[_0x10beac(0x1cc)](_0x396cb0,_0xcc7c5f,_0x9af650,_0x2bc59a);}[_0x3dc404(0x17c)](_0x194d1d,_0x299639,_0x10893f){const _0x2af805=_0x3dc404;var _0xee3cb9,_0x7fdf07;const _0x22f0fc=(_0x7fdf07=(_0xee3cb9=this[_0x2af805(0x237)][_0x2af805(0x1b1)](_0x194d1d))==null?void 0x0:_0xee3cb9[_0x2af805(0x1b1)](_0x299639))==null?void 0x0:_0x7fdf07[_0x2af805(0x1b1)](_0x10893f);if(_0x22f0fc)return _0x22f0fc;}[_0x3dc404(0x20d)](_0x2116a1,_0x587d53,_0x4a7604){const _0x1bf1bc=_0x3dc404;var _0x16845b,_0x18f362;const _0x471da0=(_0x18f362=(_0x16845b=this[_0x1bf1bc(0x237)][_0x1bf1bc(0x1b1)](_0x2116a1))==null?void 0x0:_0x16845b[_0x1bf1bc(0x1b1)](_0x587d53))==null?void 0x0:_0x18f362['get'](_0x4a7604);if(_0x471da0)return _0x471da0['fieldsConfig'];}[_0x3dc404(0x363)](_0x5a9765){const _0x2bbcc5=_0x3dc404;return this['_pivotTableInstanceCache'][_0x2bbcc5(0x1b1)](_0x5a9765);}['deleteUnitId'](_0x2e9d79){const _0x569a3c=_0x3dc404;this[_0x569a3c(0x237)][_0x569a3c(0x291)](_0x2e9d79);const _0x2cbad5=this['_dataFieldManagerCollection']['get'](_0x2e9d79);_0x2cbad5&&(_0x2cbad5[_0x569a3c(0x28f)](),this[_0x569a3c(0xd8)][_0x569a3c(0x291)](_0x2e9d79)),this[_0x569a3c(0x242)][_0x569a3c(0x291)](_0x2e9d79),this[_0x569a3c(0x2de)]['forEach'](_0x3036ab=>{const _0x140987=_0x569a3c;_0x3036ab[_0x140987(0x3b6)](_0x2e9d79);});}[_0x3dc404(0x3e5)](_0x321e62,_0x476a91,_0x5e6952,_0xc2d1f0){const _0x223fd7=_0x3dc404;return this[_0x223fd7(0x217)](_0x5e6952[_0x223fd7(0x10b)])[_0x223fd7(0x3e5)](_0x321e62,_0x476a91,_0x5e6952,_0xc2d1f0);}[_0x3dc404(0x22c)](_0x18609f){const _0x14a895=_0x3dc404;return this[_0x14a895(0x217)](_0x18609f['unitId'])[_0x14a895(0x22c)](_0x18609f);}['refreshData'](_0xbc7688,_0x5633ca,_0x645dd4){const _0x27a5cd=_0x3dc404;this[_0x27a5cd(0x217)](_0x645dd4[_0x27a5cd(0x10b)])['refreshData'](_0xbc7688,_0x5633ca,_0x645dd4);}[_0x3dc404(0x299)](_0x3e87b3,_0x152655){this['getDataFieldManager'](_0x3e87b3)['deleteDataField'](_0x152655);}[_0x3dc404(0x247)](_0x5a357d,_0xf2b272){const _0x161097=_0x3dc404;this[_0x161097(0x217)](_0x5a357d)['removeCollectionImp'](_0xf2b272);}[_0x3dc404(0x266)](_0x2a96c6,_0x5387f4){const _0x17f243=_0x3dc404;var _0x2bdc39;return(_0x2bdc39=this['_model'][_0x17f243(0x1b1)](_0x2a96c6))==null?void 0x0:_0x2bdc39[_0x17f243(0x1b1)](_0x5387f4);}[_0x3dc404(0x1bc)](_0x25c498){const _0x59b5c1=_0x3dc404;for(const [_0x114bd9,_0x216a2e]of this[_0x59b5c1(0x237)][_0x59b5c1(0x1a3)]())for(const [_0x1737df,_0x5a1baf]of _0x216a2e[_0x59b5c1(0x1a3)]())if(_0x5a1baf['has'](_0x25c498))return{'unitId':_0x114bd9,'subUnitId':_0x1737df};return null;}['sideEffectUpdateWorkerCache'](_0x374343,_0x105eae,_0xa53a25,_0x37e080){const _0x4645b9=_0x3dc404,_0x25f959=this[_0x4645b9(0x20b)](_0x374343,_0x105eae);_0x37e080?_0x25f959[_0x4645b9(0x1fd)](_0xa53a25,_0x37e080):_0x25f959['delete'](_0xa53a25),this[_0x4645b9(0x2d4)][_0x4645b9(0x155)]({'unitId':_0x374343,'subUnitId':_0x105eae,'pivotTableId':_0xa53a25});}[_0x3dc404(0x28f)](){const _0x2e64ec=_0x3dc404;super['dispose'](),this[_0x2e64ec(0x237)][_0x2e64ec(0x214)](),this[_0x2e64ec(0x2f2)][_0x2e64ec(0x214)](),this['_viewData'][_0x2e64ec(0x214)](),this[_0x2e64ec(0x1be)][_0x2e64ec(0x269)](),this['_viewData$']['complete'](),this[_0x2e64ec(0x2f9)][_0x2e64ec(0x269)](),this[_0x2e64ec(0xd8)][_0x2e64ec(0xfe)](_0x1a06cb=>_0x1a06cb[_0x2e64ec(0x28f)]()),this[_0x2e64ec(0xd8)][_0x2e64ec(0x214)]();}[_0x3dc404(0x309)](_0x3c8d26,_0x58771,_0x2b53db){const _0x2cf8f9=_0x3dc404;var _0x28c659,_0x3ec418;const _0x47fef9=(_0x3ec418=(_0x28c659=this[_0x2cf8f9(0x242)]['get'](_0x3c8d26))==null?void 0x0:_0x28c659[_0x2cf8f9(0x1b1)](_0x58771))==null?void 0x0:_0x3ec418['get'](_0x2b53db);return _0x47fef9||null;}[_0x3dc404(0x15c)](_0x553f0b){const _0xc21883=_0x3dc404;this[_0xc21883(0x2da)](_0x553f0b);}[_0x3dc404(0x2da)](_0x5b9738){const _0x422d6e=_0x3dc404,{token:_0x4fff01,unitId:_0x505afe,subUnitId:_0x442c56}=_0x5b9738,_0x2daae2=_0x505afe+'-'+_0x442c56+'-'+_0x4fff01;this[_0x422d6e(0x205)][_0x422d6e(0x1b1)](_0x2daae2)&&clearTimeout(this[_0x422d6e(0x205)]['get'](_0x2daae2));const _0x231ee9=setTimeout(()=>{const _0x55e468=_0x422d6e;this['queryDirtyPivotTable'](_0x5b9738),this[_0x55e468(0x205)][_0x55e468(0x291)](_0x2daae2);},_0x1c90ab);this[_0x422d6e(0x205)][_0x422d6e(0x1fd)](_0x2daae2,_0x231ee9);}[_0x3dc404(0x1f6)](_0x2a2865){const _0x362b82=_0x3dc404,{unitId:_0x33b692,subUnitId:_0x180eaf,token:_0x5f37dc,type:_0x1d30ae,pivotConfig:_0x1eb497}=_0x2a2865,_0x4c7dde=this[_0x362b82(0x363)](_0x5f37dc),_0x2013fc=_0x4c7dde==null?void 0x0:_0x4c7dde['query'](),_0x48f548=_0x1eb497!=null?_0x1eb497:this[_0x362b82(0x17c)](_0x33b692,_0x180eaf,_0x5f37dc);_0x48f548&&(_0x48f548[_0x362b82(0x364)]=!!(_0x4c7dde!=null&&_0x4c7dde['isEmpty']())),(_0x2013fc||_0x1d30ae===_0x20d852[_0x362b82(0x38e)])&&this[_0x362b82(0x395)](_0x33b692,_0x180eaf,_0x1d30ae,_0x5f37dc,_0x2013fc,_0x48f548,this[_0x362b82(0x217)](_0x33b692)['toJSON']());}[_0x3dc404(0x3b5)](_0x1efaaf){const _0x2fb51d=_0x3dc404,_0x54d114={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2fb51d(0x217)](_0x1efaaf)&&(_0x54d114[_0x2fb51d(0x1c6)][_0x1efaaf]=this[_0x2fb51d(0x217)](_0x1efaaf)[_0x2fb51d(0x3b5)]()),this[_0x2fb51d(0x237)][_0x2fb51d(0x1b1)](_0x1efaaf)){_0x54d114[_0x2fb51d(0x263)][_0x1efaaf]={};const _0x480f2a=this[_0x2fb51d(0x237)][_0x2fb51d(0x1b1)](_0x1efaaf);_0x480f2a!=null&&_0x480f2a[_0x2fb51d(0x128)]&&[..._0x480f2a[_0x2fb51d(0x336)]()][_0x2fb51d(0xfe)](_0xc182d5=>{const _0x218496=_0x2fb51d,_0x1d57e0=_0x480f2a[_0x218496(0x1b1)](_0xc182d5);_0x1d57e0!=null&&_0x1d57e0[_0x218496(0x128)]&&(_0x54d114[_0x218496(0x263)][_0x1efaaf][_0xc182d5]={},[..._0x1d57e0[_0x218496(0x336)]()][_0x218496(0xfe)](_0x548b1b=>{const _0x247d54=_0x218496,_0x5bd34c=_0x1d57e0[_0x247d54(0x1b1)](_0x548b1b);_0x5bd34c&&(_0x54d114[_0x247d54(0x263)][_0x1efaaf][_0xc182d5][_0x548b1b]=_0x5bd34c);}));});}return _0x54d114;}[_0x3dc404(0x106)](_0x4223db){const _0x571eaa=_0x3dc404;var _0x63870a;const {dataFieldManagerConfig:_0x531a7f,pivotTableConfigs:_0x330468}=_0x4223db;_0x531a7f&&Object['keys'](_0x531a7f)[_0x571eaa(0xfe)](_0x3980f3=>{const _0xad136b=_0x571eaa;this[_0xad136b(0x217)](_0x3980f3)['fromJSON'](_0x531a7f[_0x3980f3]);});const _0x2bd925=[];if(_0x330468){const _0x299eba=(_0x63870a=this[_0x571eaa(0x33e)][_0x571eaa(0x1b1)](_0x9cf92b['IConfigService'])[_0x571eaa(0x380)](_0x4f64c3[_0x571eaa(0x391)]))!=null?_0x63870a:{},{ls:_0x59f3f0,pbk:_0x5862e4}=_0x299eba,_0x26bb7e=_0x5e17ca(_0x3cfec6,_0x59f3f0,_0x5862e4)[_0x571eaa(0x184)];Object[_0x571eaa(0x336)](_0x330468)[_0x571eaa(0xfe)](_0x4bb65c=>{const _0x159150=_0x571eaa;let _0x304661=0x0;const _0x1dd634=_0x330468[_0x4bb65c];Object[_0x159150(0x336)](_0x1dd634)['forEach'](_0x18a951=>{const _0x194201=_0x159150,_0x3e1098=_0x1dd634[_0x18a951];Object[_0x194201(0x336)](_0x3e1098)[_0x194201(0xfe)](_0x1e682c=>{const _0x1091b3=_0x194201,_0x5b42a6=_0x3e1098[_0x1e682c];if(_0x5b42a6){if(_0x304661>=_0x26bb7e)return;_0x304661++;const _0x44e159=this[_0x1091b3(0x217)](_0x4bb65c),_0x2c4875=_0x44e159[_0x1091b3(0x119)][_0x1e682c],_0x453ad0=_0x2c4875['getFieldIds']();let _0x5e76e4=0x0;const _0x2eb138=[];for(const _0x2a9bc1 of _0x453ad0){const _0x59524e=_0x2c4875['getFieldById'](_0x2a9bc1);if(_0x399222['isBaseGroupField'](_0x59524e)){const _0x41dd53=_0x59524e['getOriginFieldId'](),_0x6befa1=_0x2c4875[_0x1091b3(0x241)](_0x41dd53);_0x6befa1&&_0x2eb138[_0x1091b3(0x34a)]([_0x59524e,_0x6befa1]);continue;}_0x44e159[_0x1091b3(0x170)](_0x2a9bc1,_0x5b42a6['sourceRangeInfo'],_0x5e76e4),_0x5e76e4++;}_0x2eb138['forEach'](([_0x3b690d,_0x1c1b70])=>{_0x3b690d['refreshGroupField'](_0x1c1b70);});const _0x32d49f=new _0x399222[(_0x1091b3(0x24d))](_0x2c4875);_0x32d49f[_0x1091b3(0x106)](_0x5b42a6[_0x1091b3(0x297)]),this['addPivotTable'](_0x4bb65c,_0x18a951,_0x1e682c,_0x32d49f,_0x5b42a6);const _0x1ecf53=_0x32d49f[_0x1091b3(0x102)]();_0x2bd925[_0x1091b3(0x34a)]({'unitId':_0x4bb65c,'subUnitId':_0x18a951,'pivotTableId':_0x1e682c,'view':_0x1ecf53['toJSON'](),'pivotConfig':_0x5b42a6,'type':_0x20d852[_0x1091b3(0x282)]});const _0x2093ec=!!_0x32d49f[_0x1091b3(0x364)](),_0x5918c9={'view':_0x1ecf53,'pivotTableId':_0x1e682c,'textInfo':this[_0x1091b3(0x1ee)](),'isEmpty':_0x2093ec,'targetCellInfo':_0x5b42a6[_0x1091b3(0x1ca)]};this[_0x1091b3(0x253)](_0x5918c9,!0x1);}});});});}_0x531a7f&&Object[_0x571eaa(0x336)](_0x531a7f)[_0x571eaa(0xfe)](_0x477569=>{const _0x432270=_0x571eaa,_0x21c38f=this[_0x432270(0x217)](_0x477569);this[_0x432270(0x2f9)]['next'](_0x21c38f[_0x432270(0x119)]);}),this[_0x571eaa(0x284)][_0x571eaa(0x285)](_0x33d353['id'],{'batch':_0x2bd925,'collectionConfig':_0x531a7f},{'onlyLocal':!0x0});}[_0x3dc404(0x32b)](){const _0x502293=_0x3dc404;this[_0x502293(0x260)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x580674=>JSON[_0x502293(0x124)](this[_0x502293(0x3b5)](_0x580674)),'parseJson':_0x376271=>{const _0x43c95b=_0x502293;if(!_0x376271)return{};try{return JSON[_0x43c95b(0x3c1)](_0x376271);}catch{return{};}},'businesses':[_0x9cf92b[_0x502293(0x101)][_0x502293(0x2ae)]],'pluginName':_0x502233,'onLoad':(_0x524ad5,_0xf3f98d)=>{const _0x377335=_0x502293;this[_0x377335(0x106)](_0xf3f98d);},'onUnLoad':_0x52ac79=>{const _0x4d8b00=_0x502293;this[_0x4d8b00(0x3b6)](_0x52ac79);}}));}},_0x582d11[_0x3dc404(0x3c0)]=_0x4b2862([_0x440c17(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['Injector'])),_0x440c17(0x1,_0x9cf92b[_0x3dc404(0x2f5)]),_0x440c17(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x14c)])),_0x440c17(0x3,_0x9cf92b[_0x3dc404(0x3c9)]),_0x440c17(0x4,_0x9cf92b['Inject'](_0x9cf92b[_0x3dc404(0x1e0)]))],_0x582d11[_0x3dc404(0x3c0)]);const _0x5809c5={0x0:{0x0:{'v':_0x3dc404(0x375),'s':_0x2ed832}},0x2:{0x1:{'v':'','s':_0x2ed832},0x2:{'v':'','s':_0x2ed832},0x3:{'v':_0x3dc404(0x1e1),'s':_0x2ed832},0x4:{'v':'','s':_0x2ed832},0x5:{'v':'','s':_0x2ed832}},0x3:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x4:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x5:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x6:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x7:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x8:{0x0:{'v':_0x3dc404(0x100),'s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':_0x3dc404(0x2cb),'s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x9:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xa:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xb:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xc:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xd:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}}},_0x295db8={'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':[]},_0x47c976=(_0x109304,_0x347d10)=>{const _0x3114c=_0x3dc404,_0x541ad5=new _0x9cf92b[(_0x3114c(0x37c))](),_0x13f2c9=new _0x9cf92b[(_0x3114c(0x37c))](_0x5809c5),{row:_0x6dbf83,col:_0x3ec2a8}=_0x347d10;_0x13f2c9[_0x3114c(0x16e)]((_0x3073ad,_0x3251f1,_0x51ee08)=>{const _0x360aeb=_0x3114c;let _0x17d5ec='';_0x51ee08['v']===_0x360aeb(0x375)?_0x17d5ec=_0x109304[_0x360aeb(0x375)]:_0x51ee08['v']===_0x360aeb(0x100)?_0x17d5ec=_0x109304[_0x360aeb(0x100)]:_0x51ee08['v']==='column'?_0x17d5ec=_0x109304['column']:_0x51ee08['v']===_0x360aeb(0x2cb)&&(_0x17d5ec=_0x109304[_0x360aeb(0x2cb)]),_0x541ad5[_0x360aeb(0x31f)](_0x3073ad+_0x6dbf83,_0x3251f1+_0x3ec2a8,{..._0x51ee08,'v':_0x17d5ec});});const _0x1f5fb7=_0x9cf92b[_0x3114c(0x24b)][_0x3114c(0x376)](_0x295db8);return Object[_0x3114c(0x336)](_0x295db8)[_0x3114c(0xfe)](_0x31278b=>{const _0x67c9a7=_0x3114c;_0x1f5fb7[_0x31278b]=_0x295db8[_0x31278b][_0x67c9a7(0x34e)](_0x1ad941=>({..._0x1ad941,'startRow':_0x1ad941['startRow']+_0x6dbf83,'endRow':_0x1ad941[_0x67c9a7(0x13e)]+_0x6dbf83,'startColumn':_0x1ad941[_0x67c9a7(0x223)]+_0x3ec2a8,'endColumn':_0x1ad941[_0x67c9a7(0x104)]+_0x3ec2a8}));}),{'matrixCache':_0x541ad5,'rangesCache':_0x1f5fb7};};function _0x30e019(_0x1f201d,_0x21911e){const _0x293208=_0x3dc404;let _0x2047a9='';const _0x131d73=this['getTextInfo']();switch(_0x21911e){case _0x399222[_0x293208(0x165)][_0x293208(0x19f)]:_0x2047a9=_0x131d73[_0x293208(0xc4)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x184)]:_0x2047a9=_0x131d73[_0x293208(0x11e)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x2b3)]:_0x2047a9=_0x131d73[_0x293208(0x14d)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x15d)]:_0x2047a9=_0x131d73[_0x293208(0x39d)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x167)]:_0x2047a9=_0x131d73[_0x293208(0x1f2)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x31e)]:_0x2047a9=_0x131d73['sheets-pivot.productName']+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x1b9)]:_0x2047a9=_0x131d73[_0x293208(0x255)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0xc6)]:_0x2047a9=_0x131d73[_0x293208(0x21f)]+_0x1f201d;break;case _0x399222['PivotSubtotalTypeEnum']['sum']:_0x2047a9=_0x131d73[_0x293208(0x152)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x32a)]:_0x2047a9=_0x131d73[_0x293208(0x368)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)]['varp']:_0x2047a9=_0x131d73[_0x293208(0x2b4)]+_0x1f201d;break;default:_0x2047a9=_0x1f201d;break;}return _0x2047a9;}function _0x42b294(_0xbef8c7,_0x40e655,_0x205f79,_0x10585e,_0x4a237a){const _0x40b6fd=_0x3dc404;var _0x111da5,_0x2c796b,_0x461eb6,_0xead207,_0x1fd8e9;const _0x261df6=_0x9cf92b['cellToRange'](_0xbef8c7,_0x40e655),{rangesInfo:_0x449202,areaInfo:_0x19ba9f,headerMap:_0x457648}=_0x4a237a;if(!_0x449202||!_0x19ba9f||!_0x457648)return;const _0x5520df=Object['keys'](_0x449202)[_0x40b6fd(0xe1)](_0x4f6845=>_0x449202[_0x4f6845]['some'](_0x296709=>_0x9cf92b[_0x40b6fd(0x2d6)][_0x40b6fd(0x186)](_0x296709,_0x261df6))),_0x118e42=_0x19ba9f;let _0x70794a,_0xe78101,_0x16d3c3;if(_0x5520df==='rowRanges')_0x70794a=(_0x111da5=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0xdf)])==null?void 0x0:_0x111da5[_0xbef8c7],_0xe78101=(_0x2c796b=_0x457648==null?void 0x0:_0x457648[_0x40b6fd(0xce)])==null?void 0x0:_0x2c796b[_0x40e655],_0x16d3c3=_0xe78101==null?void 0x0:_0xe78101[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x388))_0x70794a=(_0x461eb6=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0x373)])==null?void 0x0:_0x461eb6[_0x40e655],_0xe78101=(_0xead207=_0x457648[_0x40b6fd(0x194)])==null?void 0x0:_0xead207[_0xbef8c7+0x1+_0x40e655-_0x449202['colRanges'][0x0]['startColumn']],_0x16d3c3=_0xe78101==null?void 0x0:_0xe78101[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x39f))_0x70794a=(_0x1fd8e9=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0x2ba)])==null?void 0x0:_0x1fd8e9[_0x40e655],_0x16d3c3=_0x70794a==null?void 0x0:_0x70794a[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x323)){const _0x5a9d1b=_0x205f79==null?void 0x0:_0x205f79['fi'];_0x5a9d1b!==void 0x0&&(_0x16d3c3=_0x10585e['getFilterFieldIdByIndex'](_0x5a9d1b));}}}}return{'filterId':_0x16d3c3,'info':_0x70794a,'data':_0x205f79,'headerInfo':_0xe78101};}function _0x3202fe(_0x16e78c,_0x2b4c5d,_0x31f93e){const _0x2317d1=_0x3dc404,_0x411f8b=_0x16e78c[_0x2317d1(0x1c7)],_0x2279a9=_0x411f8b[_0x2317d1(0x3a5)](),_0x29fc8f=new Set();_0x16e78c[_0x2317d1(0x3a1)](_0x3cf316=>{const _0x3ec45a=_0x2317d1;_0x29fc8f[_0x3ec45a(0x1e9)](_0x3cf316[_0x3ec45a(0x2df)]);});const _0x5e7913=_0x2279a9[_0x2317d1(0x34e)](_0x3d69d1=>{const _0x3e5473=_0x2317d1,_0x3445fe=_0x411f8b[_0x3e5473(0x241)](_0x3d69d1);return{'checked':_0x29fc8f[_0x3e5473(0x138)](_0x3d69d1),'dataFieldId':_0x3445fe['id'],'id':_0x3445fe['id'],'name':_0x411f8b[_0x3e5473(0x1f0)](_0x3445fe['id']),'type':_0x3445fe['getFieldDataType'](),'pivotTableId':_0x2b4c5d};}),_0x20d1c3=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)][_0x2317d1(0x2a6)],_0x5d69bf=>{const _0x11c0c8=_0x2317d1;_0x20d1c3['push']({'dataFieldId':_0x5d69bf[_0x11c0c8(0x2df)],'tableFieldId':_0x5d69bf[_0x11c0c8(0x26d)](),'displayName':_0x5d69bf['getDisplayName']()});});const _0x18a0e6=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)][_0x2317d1(0x160)],_0x1cf4e6=>{const _0x588c92=_0x2317d1;_0x18a0e6[_0x588c92(0x34a)]({'dataFieldId':_0x1cf4e6[_0x588c92(0x2df)],'tableFieldId':_0x1cf4e6[_0x588c92(0x26d)](),'displayName':_0x1cf4e6['getDisplayName']()});});const _0x17d296=[];if(_0x16e78c['iterateFieldByArea'](_0x399222['PivotTableFiledAreaEnum'][_0x2317d1(0x311)],_0x57e301=>{const _0x292225=_0x2317d1;_0x17d296[_0x292225(0x34a)]({'dataFieldId':_0x57e301[_0x292225(0x2df)],'tableFieldId':_0x57e301[_0x292225(0x26d)](),'displayName':_0x57e301['getDisplayName'](),'format':_0x57e301[_0x292225(0xca)](),'subTotalType':_0x57e301[_0x292225(0x34c)]()});}),_0x17d296[_0x2317d1(0xfc)]>0x1){const _0x2f2344=_0x16e78c[_0x2317d1(0x38b)]();(_0x16e78c[_0x2317d1(0x2c6)]()?_0x18a0e6:_0x20d1c3)[_0x2317d1(0x36f)](_0x2f2344,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x2317d1(0x3d2)});}const _0x56f07f=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)]['Filter'],_0x15fd2b=>{const _0x3e8701=_0x2317d1;_0x56f07f[_0x3e8701(0x34a)]({'dataFieldId':_0x15fd2b['dataFieldId'],'tableFieldId':_0x15fd2b[_0x3e8701(0x26d)](),'displayName':_0x15fd2b[_0x3e8701(0x1f0)]()});});const _0x16e8d8=_0x31f93e[_0x2317d1(0x354)];return{'sourceList':_0x5e7913,'sourceRange':_0x16e8d8,'rowFields':_0x20d1c3,'columnFields':_0x18a0e6,'valueFields':_0x17d296,'filterFields':_0x56f07f,'positionInfo':_0x31f93e['targetCellInfo']};}function _0x4452bf(_0x21b33c,_0x1de692,_0x53287f='',_0x1eda4c={}){const _0x4faacc=_0x3dc404,_0x49c3b1=_0x21b33c[_0x4faacc(0x1b1)](_0x9cf92b['LocaleService']);for(const _0x2c8aef in _0x1de692)if(Object[_0x4faacc(0x132)][_0x4faacc(0x33b)]['call'](_0x1de692,_0x2c8aef)){const _0x494e54=_0x53287f?_0x53287f+'.'+_0x2c8aef:_0x2c8aef;typeof _0x1de692[_0x2c8aef]==_0x4faacc(0x226)&&_0x1de692[_0x2c8aef]!==null&&!Array[_0x4faacc(0xe6)](_0x1de692[_0x2c8aef])?_0x4452bf(_0x21b33c,_0x1de692[_0x2c8aef],_0x494e54,_0x1eda4c):_0x1eda4c[_0x494e54]=_0x49c3b1['t'](_0x494e54);}return _0x1eda4c;}const _0x1c8bbb=_0x574075=>{const _0x58774a=_0x3dc404;if(!_0x574075)return[];const {rowRanges:_0x5b0b5a,colRanges:_0x45b1dd,cornerRanges:_0x3a2fad,dataRanges:_0x1a9edf,pageRanges:_0x1d06e7}=_0x574075,_0x5ca0eb=[..._0x45b1dd,..._0x5b0b5a,..._0x1a9edf,..._0x3a2fad][_0x58774a(0x375)](_0x56c8a9=>_0x56c8a9[_0x58774a(0x204)]>=0x0&&_0x56c8a9['startColumn']>=0x0&&_0x56c8a9[_0x58774a(0x13e)]>=0x0&&_0x56c8a9[_0x58774a(0x104)]>=0x0);let _0x4f402e=Number[_0x58774a(0x367)],_0x1c91d5=Number['MIN_SAFE_INTEGER'],_0x8ce1fb=Number[_0x58774a(0x367)],_0x5d583b=Number[_0x58774a(0x2bd)];for(let _0x1aa5b4=0x0;_0x1aa5b4<_0x5ca0eb[_0x58774a(0xfc)];_0x1aa5b4++)_0x4f402e=Math[_0x58774a(0x167)](_0x4f402e,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x204)]),_0x1c91d5=Math[_0x58774a(0x15d)](_0x1c91d5,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x13e)]),_0x8ce1fb=Math[_0x58774a(0x167)](_0x8ce1fb,_0x5ca0eb[_0x1aa5b4]['startColumn']),_0x5d583b=Math[_0x58774a(0x15d)](_0x5d583b,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x104)]);return[..._0x1d06e7,{'startRow':_0x4f402e,'endRow':_0x1c91d5,'startColumn':_0x8ce1fb,'endColumn':_0x5d583b}];};function _0x33ea95(_0x13ca65,_0x4ecf9f){const _0x576ccd=_0x3dc404,_0x4c0514=_0x4ecf9f['params']['drillDown'],{pivotTableId:_0x444460,unitId:_0x465c65,subUnitId:_0x31bc15}=_0x4ecf9f;if(!_0x4c0514)return;const _0x2df1e2=_0x13ca65[_0x576ccd(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),_0x53e7f0=_0x2df1e2[_0x576ccd(0x363)](_0x444460),_0x39c84f=_0x2df1e2[_0x576ccd(0x17c)](_0x465c65,_0x31bc15,_0x444460);if(!_0x53e7f0||!_0x39c84f)return;const _0x2fb302=_0x53e7f0[_0x576ccd(0x303)](_0x4c0514[_0x576ccd(0x131)]);if(!(_0x2fb302!=null&&_0x2fb302[_0x576ccd(0xfc)]))return;const _0x1635c4=_0x39c84f[_0x576ccd(0x354)],{unitId:_0x411373,subUnitId:_0x5c396e,range:_0x7d2ef9}=_0x1635c4;let _0x1823d1=0x0;const _0x50b1c1=_0x53e7f0[_0x576ccd(0x1c7)][_0x576ccd(0x3a5)]()[_0x576ccd(0x126)]((_0x2a55d4,_0x4c49bb)=>{const _0x19bf08=_0x576ccd;var _0x53ff8d;const _0x4b2394=(_0x53ff8d=_0x53e7f0[_0x19bf08(0x306)](_0x4c49bb))==null?void 0x0:_0x53ff8d[_0x19bf08(0x281)]();return _0x4b2394&&(_0x2a55d4[String(_0x1823d1)]=_0x4b2394),_0x1823d1++,_0x2a55d4;},{});return{'indexes':_0x2fb302,'range':_0x7d2ef9,'sourceUnitId':_0x411373,'sourceSubUnitId':_0x5c396e,'formatMap':_0x50b1c1};}function _0x5239b9(_0xfa67e8,_0x45d216){const _0xde9b8a=_0x3dc404;if(!_0xfa67e8||!_0x45d216)return!0x0;const _0x4c0405=_0x4f64c3[_0xde9b8a(0x33f)](_0x2e7bcf,_0x1e325f),_0x3d5ec5=new Function(_0xde9b8a(0x25d)+_0x4c0405)()(_0xfa67e8,_0x45d216)[_0xde9b8a(0x2a9)],_0x135fb4=_0x4f64c3[_0xde9b8a(0x37f)](_0x3d5ec5,'sf',_0x432723);return!((_0x3d5ec5==null?void 0x0:_0x3d5ec5['rt'])===_0x4f64c3[_0xde9b8a(0x1a2)][_0xde9b8a(0x337)]&&!_0x135fb4);}function _0x5e17ca(_0x13f250,_0x14202a,_0x4309f3){const _0x4cafeb=_0x3dc404,_0x31795e={'count':_0x13f250,'timeValid':!0x1};if(!_0x14202a||!_0x4309f3)return _0x31795e;const _0x110823=_0x4f64c3[_0x4cafeb(0x33f)](_0x2e7bcf,_0x1e325f),_0x2c6dd5=new Function(_0x4cafeb(0x25d)+_0x110823)()(_0x14202a,_0x4309f3);if(_0x2c6dd5!=null&&_0x2c6dd5[_0x4cafeb(0xe3)]){const _0x103cb2=_0x2c6dd5[_0x4cafeb(0x2a9)],_0x1a38d6=_0x4f64c3[_0x4cafeb(0x37f)](_0x103cb2,'sf',_0x432723);return{'count':_0x4f64c3[_0x4cafeb(0xf4)](_0x103cb2,_0x1a38d6,_0x4cafeb(0x164),_0x13f250,_0x13f250,0x0),'timeValid':_0x1a38d6};}return _0x31795e;}function _0xfbdb4a(_0x1629dc,_0x49ee1d,_0x4c3f8d,_0x2c48fc){const _0x13ef40=_0x3dc404,_0x5abb2e={'subUnitId':_0x4c3f8d,'unitId':_0x49ee1d,'cellValue':_0x165f3c['generateNullCell'](_0x2c48fc)},_0x130718=_0x165f3c[_0x13ef40(0x19e)](_0x1629dc,_0x5abb2e);let _0x163fd3=!0x1;return new _0x9cf92b[(_0x13ef40(0x37c))](_0x130718['cellValue'])[_0x13ef40(0x16e)]((_0x515602,_0x209a67,_0x97f363)=>{const _0x3d1796=_0x13ef40;if(!_0x163fd3&&_0x97f363&&(_0x97f363[_0x3d1796(0x1d6)]||_0x97f363['f']||_0x97f363['p']||_0x97f363['s']||_0x97f363['si']||_0x97f363['t']||_0x97f363['v']))return _0x163fd3=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x165f3c[_0x13ef40(0x396)]['id'],'params':_0x130718},'setRangeValueRedoMutation':{'id':_0x165f3c['SetRangeValuesMutation']['id'],'params':_0x5abb2e},'shouldClear':_0x163fd3};}function _0x47957b(_0x31d4b1){const {row:_0x2f663f,col:_0x285747}=_0x31d4b1,_0x156259={'startRow':_0x2f663f,'endRow':_0x2f663f,'startColumn':_0x285747,'endColumn':_0x285747},_0x2094b3={'startRow':_0x2f663f+0x2,'endRow':_0x2f663f+0xe,'startColumn':_0x285747,'endColumn':_0x285747+0x6};return[_0x156259,_0x2094b3];}function _0x2ce890(_0xc2e92b,_0x180fc6,_0x133b04){const _0x3e5d13=_0x3dc404,{cornerView:_0x275fe2,rowView:_0x37093c,colView:_0x26f78a,pageView:_0x1b5b25}=_0xc2e92b,{row:_0x19f34d,col:_0x29a267}=_0x180fc6;if(_0x133b04)return{'rowCount':_0x372568+_0x19f34d,'colCount':_0x10872f+_0x29a267};const _0x1d8aa5=_0x1b5b25[_0x3e5d13(0x257)]>-0x1?_0x1b5b25[_0x3e5d13(0x257)]+0x1:0x0,_0x170963=_0x1b5b25[_0x3e5d13(0x157)]>-0x1?_0x1b5b25[_0x3e5d13(0x157)]:0x0,_0x2d259b=_0x19f34d+_0x1d8aa5+(_0x1d8aa5?0x1:0x0)+_0x275fe2[_0x3e5d13(0x1a8)]+_0x37093c[_0x3e5d13(0x1a8)],_0x2b5936=_0x29a267+_0x170963,_0x4c825d=_0x29a267+_0x275fe2[_0x3e5d13(0x3a6)]+_0x26f78a[_0x3e5d13(0x3a6)],_0x16d60a=Math['max'](_0x2b5936,_0x4c825d);return{'rowCount':_0x2d259b,'colCount':_0x16d60a};}function _0xfa0513(_0x33e21d,_0x2b6d66,_0xc76e7c,_0x4f2190){const _0x1671ad=_0x3dc404,{row:_0x5cbcbb,col:_0x3b65a7,unitId:_0x20f0e6,subUnitId:_0x558b4a}=_0xc76e7c,_0x3a1e7e=_0x2ce890(_0x2b6d66,{'row':_0x5cbcbb,'col':_0x3b65a7},_0x4f2190),_0x1e898a=_0x33e21d['get'](_0x9cf92b['IUniverInstanceService']),_0x1a270d=_0x165f3c['getSheetCommandTarget'](_0x1e898a,{'unitId':_0x20f0e6,'subUnitId':_0x558b4a}),_0x3d288b=[],_0x4e4730=[];if(!_0x1a270d)return{'undos':_0x4e4730,'redos':_0x3d288b};const {worksheet:_0x5bc7bb}=_0x1a270d,_0x1baf13=_0x5bc7bb[_0x1671ad(0x393)](),_0x259f17=_0x5bc7bb[_0x1671ad(0xfb)]();return _0x1baf13<_0x3a1e7e['rowCount']&&(_0x3d288b[_0x1671ad(0x34a)]({'id':_0x165f3c[_0x1671ad(0x29d)]['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':_0x1baf13,'endRow':_0x3a1e7e[_0x1671ad(0x1a8)]-0x1,'startColumn':0x0,'endColumn':_0x259f17-0x1}}}),_0x4e4730[_0x1671ad(0x34a)]({'id':_0x165f3c[_0x1671ad(0x28b)]['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':_0x1baf13,'endRow':_0x3a1e7e['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x259f17-0x1}}})),_0x259f17<_0x3a1e7e[_0x1671ad(0x3a6)]&&(_0x3d288b['push']({'id':_0x165f3c['InsertColMutation']['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':0x0,'endRow':_0x1baf13-0x1,'startColumn':_0x259f17,'endColumn':_0x3a1e7e[_0x1671ad(0x3a6)]-0x1}}}),_0x4e4730['push']({'id':_0x165f3c['RemoveColMutation']['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':0x0,'endRow':_0x1baf13-0x1,'startColumn':_0x259f17,'endColumn':_0x3a1e7e['colCount']-0x1}}})),{'undos':_0x4e4730,'redos':_0x3d288b};}function _0x29ffe7(_0x37e9c2){const _0xfe793d=_0x3dc404;let _0x583251=0x0;for(let _0xac0b46=0x0;_0xac0b46<_0x37e9c2[_0xfe793d(0xfc)];_0xac0b46++){const _0x1086cb=_0x37e9c2['charCodeAt'](_0xac0b46);_0x1086cb>=0x4e00&&_0x1086cb<=0x9fff||_0x1086cb>=0x3000&&_0x1086cb<=0x303f||_0x1086cb>=0xff00&&_0x1086cb<=0xffef?_0x583251+=0x2:_0x583251+=0x1;}return _0x583251;}function _0x5c9cc5(_0x1b0821,_0x1c2a5e,_0x735f12,_0x74d453){const _0x482e60=_0x3dc404;var _0xda9fe5,_0x5b3e17,_0x4e19eb,_0x4353a1;const {rowCount:_0x555ca5,colCount:_0xf53680,headerMap:_0x4908e9}=_0x1b0821,_0x22f616=0x64,_0x49139f=Math[_0x482e60(0x167)](_0x555ca5,_0x22f616),_0x5d0b32=Math[_0x482e60(0x167)](_0xf53680,_0x22f616);let _0x16d21f='',_0x290cc1=0x0;for(let _0x3e75c7=0x0;_0x3e75c7<_0x49139f;_0x3e75c7++)for(let _0x535cba=0x0;_0x535cba<_0x5d0b32;_0x535cba++){const _0x1389f4={...(_0x5b3e17=(_0xda9fe5=_0x1b0821[_0x482e60(0x1ac)])==null?void 0x0:_0xda9fe5[_0x3e75c7])==null?void 0x0:_0x5b3e17[_0x535cba]},_0x80d95f=(_0x4e19eb=_0x4908e9[_0x3e75c7])==null?void 0x0:_0x4e19eb[_0x482e60(0x3b9)],_0x2b06b5=_0x74d453[_0x80d95f];let _0x3fefda=_0x1b0821[_0x482e60(0x34f)](_0x3e75c7,_0x535cba);if(_0x1389f4){const _0x29e469=_0x735f12?_0x535cba===0x0&&((_0x4353a1=_0x1b0821[_0x482e60(0x29f)](_0x535cba+0x1))==null?void 0x0:_0x4353a1[_0x482e60(0x2cd)]):!0x1;_0x3fefda=_0x340ba5(_0x1389f4,_0x29e469,_0x2b06b5,_0x1c2a5e);}if(_0x3fefda!==void 0x0){const _0x4c487e=_0x29ffe7(String(_0x3fefda));_0x290cc1<_0x4c487e&&(_0x16d21f=String(_0x3fefda),_0x290cc1=_0x4c487e);}}return _0x16d21f;}function _0x2bf671(_0x3b86ac){const _0x21e20b=_0x3dc404,{rowCount:_0x551ddd,colCount:_0x1cb4da}=_0x3b86ac;let _0xeeeffc='',_0x5d1f7b=0x0;for(let _0x52a705=_0x551ddd-0x1;_0x52a705>0x0&&_0x52a705>_0x551ddd-0x3;_0x52a705--)for(let _0x51957a=0x0;_0x51957a<_0x1cb4da;_0x51957a++){const _0x587eba=_0x3b86ac[_0x21e20b(0x34f)](_0x52a705,_0x51957a);if(_0x587eba!==void 0x0){const _0x2cf1bb=String(_0x587eba)['length'];_0x5d1f7b<_0x2cf1bb&&(_0xeeeffc=String(_0x587eba),_0x5d1f7b=_0x2cf1bb);}}return _0xeeeffc;}function _0x4634dc(_0x5d5f97){const _0x439315=_0x3dc404,{rowCount:_0x50c6ac,colCount:_0x49ebd2}=_0x5d5f97;let _0xb67ca8='',_0xfa9c86=0x0;for(let _0x22f08c=0x0;_0x22f08c<_0x50c6ac;_0x22f08c++)for(let _0xbdf65=0x0;_0xbdf65<_0x49ebd2;_0xbdf65++){const _0x3bffce=_0x5d5f97[_0x439315(0x34f)](_0x22f08c,_0xbdf65);if(_0x3bffce!==void 0x0){const _0x1f2797=String(_0x3bffce)[_0x439315(0xfc)];_0xfa9c86<_0x1f2797&&(_0xb67ca8=String(_0x3bffce),_0xfa9c86=_0x1f2797);}}return _0xb67ca8;}function _0x3e27da(_0x4d2ea8,_0x54bebf){const _0x75ce8f=_0x3dc404,{rowFields:_0xc01e9f,columnFields:_0x541c47,valueFields:_0x971bf5,filterFields:_0x59ea47,dimension:_0x556c85,measure:_0x34312f}=_0x54bebf;for(const _0x334f67 of _0xc01e9f){const _0x37aa0a=_0x556c85[_0x334f67];_0x37aa0a&&_0x4d2ea8['getDataFieldByDataFieldId'](_0x37aa0a[_0x75ce8f(0x2df)])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x37aa0a['dataFieldId'],_0x399222[_0x75ce8f(0x3df)]['Row'],void 0x0,_0x334f67),_0x37aa0a[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x37aa0a['id'],_0x37aa0a[_0x75ce8f(0x211)]),_0x37aa0a['sortInfo']&&_0x4d2ea8['setSortInfo'](_0x37aa0a['id'],_0x37aa0a[_0x75ce8f(0xe4)]),_0x37aa0a['filterInfo']&&_0x4d2ea8[_0x75ce8f(0x36a)](_0x37aa0a['id'],_0x37aa0a['filterInfo']));}for(const _0x1142fc of _0x541c47){const _0x3d1db8=_0x556c85[_0x1142fc];_0x3d1db8&&_0x4d2ea8[_0x75ce8f(0x306)](_0x3d1db8['dataFieldId'])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x3d1db8[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)][_0x75ce8f(0x160)],void 0x0,_0x1142fc),_0x3d1db8[_0x75ce8f(0xe4)]&&_0x4d2ea8[_0x75ce8f(0x318)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0xe4)]),_0x3d1db8[_0x75ce8f(0x1a9)]&&_0x4d2ea8[_0x75ce8f(0x36a)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0x1a9)]),_0x3d1db8['displayName']&&_0x4d2ea8[_0x75ce8f(0x357)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0x211)]));}for(const _0x85f735 of _0x59ea47){const _0x522ed2=_0x556c85[_0x85f735];_0x522ed2&&_0x4d2ea8[_0x75ce8f(0x306)](_0x522ed2[_0x75ce8f(0x2df)])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x522ed2[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)][_0x75ce8f(0x231)],void 0x0,_0x85f735),_0x522ed2[_0x75ce8f(0xe4)]&&_0x4d2ea8[_0x75ce8f(0x318)](_0x522ed2['id'],_0x522ed2[_0x75ce8f(0xe4)]),_0x522ed2['filterInfo']&&_0x4d2ea8['setLabelFilterInfo'](_0x522ed2['id'],_0x522ed2['filterInfo']),_0x522ed2[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x522ed2['id'],_0x522ed2[_0x75ce8f(0x211)]));}for(const _0x10e173 of _0x971bf5){const _0x2019f=_0x34312f[_0x10e173];_0x2019f&&_0x4d2ea8[_0x75ce8f(0x306)](_0x2019f[_0x75ce8f(0x2df)])&&(_0x4d2ea8['addFieldWithSourceId'](_0x2019f[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)]['Value'],void 0x0,_0x10e173),_0x2019f['subtotal']!==void 0x0&&_0x4d2ea8[_0x75ce8f(0x39e)](_0x10e173,_0x2019f[_0x75ce8f(0x38a)]),_0x2019f[_0x75ce8f(0x2f7)]&&_0x4d2ea8[_0x75ce8f(0x1d7)](_0x10e173,_0x2019f[_0x75ce8f(0x2f7)]),_0x2019f[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x2019f['id'],_0x2019f[_0x75ce8f(0x211)]));}const _0x2d3a74=_0x54bebf[_0x75ce8f(0x3da)];for(const {fieldId:_0x48d00f,filterInfo:_0x4d5d9e}of _0x2d3a74)_0x4d2ea8['setValueFilterInfo'](_0x48d00f,_0x4d5d9e);}function _0x542f26(_0x32e6d3,_0x3c1158){const _0x47c231=_0x3dc404,_0x5166e2=[];_0x3c1158===_0x399222[_0x47c231(0x3df)]['Row']&&_0x32e6d3[_0x47c231(0x301)](_0x399222[_0x47c231(0x3df)][_0x47c231(0x2a6)],_0x542254=>{const _0x4d96b8=_0x47c231;_0x5166e2[_0x4d96b8(0x34a)](_0x542254[_0x4d96b8(0x26d)]());}),_0x3c1158===_0x399222[_0x47c231(0x3df)][_0x47c231(0x160)]&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)][_0x47c231(0x160)],_0x4f6b1b=>{const _0x5b9439=_0x47c231;_0x5166e2[_0x5b9439(0x34a)](_0x4f6b1b[_0x5b9439(0x26d)]());}),_0x3c1158===_0x399222['PivotTableFiledAreaEnum']['Filter']&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)][_0x47c231(0x231)],_0x5cc8ba=>{const _0x4889a7=_0x47c231;_0x5166e2[_0x4889a7(0x34a)](_0x5cc8ba[_0x4889a7(0x26d)]());}),_0x3c1158===_0x399222['PivotTableFiledAreaEnum'][_0x47c231(0x311)]&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)]['Value'],_0x2ab521=>{const _0x473a77=_0x47c231;_0x5166e2[_0x473a77(0x34a)](_0x2ab521[_0x473a77(0x26d)]());}),_0x3c1158===void 0x0&&_0x32e6d3[_0x47c231(0x3a1)](_0x31b68c=>{const _0x12ec79=_0x47c231;_0x5166e2[_0x12ec79(0x34a)](_0x31b68c[_0x12ec79(0x26d)]());});const _0x44dd31=_0x5166e2[_0x47c231(0xfc)];for(let _0x3cc6ea=_0x44dd31-0x1;_0x3cc6ea>=0x0;_0x3cc6ea--)_0x32e6d3[_0x47c231(0x1a1)](_0x5166e2[_0x3cc6ea]);const _0xb794c8=_0x32e6d3['getValueFilterInfos']();for(const _0x4b23f8 in _0xb794c8)_0x32e6d3['removeValueFilterInfo'](_0x4b23f8);}function _0x1d242b(_0xfe9f29,_0x1e0f7f){const _0x1beddc=_0x3dc404,_0x2a925a=new Date(_0x399222[_0x1beddc(0x2f4)](_0x1e0f7f)),_0x52ca2c=new Date(_0x399222[_0x1beddc(0x2f4)](_0xfe9f29)),_0x2d961f=_0x2a925a[_0x1beddc(0x1f7)](),_0x478918=_0x52ca2c[_0x1beddc(0x1f7)](),_0x10073b=_0x2a925a[_0x1beddc(0x180)](),_0x98968a=_0x52ca2c[_0x1beddc(0x180)](),_0x13b7fd=_0x2a925a[_0x1beddc(0x120)](),_0x549357=_0x52ca2c[_0x1beddc(0x120)](),_0x253862=_0x2d961f===_0x478918,_0x52e172=_0x253862&&_0x10073b===_0x98968a;return _0x253862&&_0x52e172&&!(_0x52e172&&_0x13b7fd===_0x549357)?_0x399222['PivotDateGroupFieldDateTypeEnum'][_0x1beddc(0xdc)]:_0x253862&&!_0x52e172?_0x399222[_0x1beddc(0x147)][_0x1beddc(0x145)]:_0x399222[_0x1beddc(0x147)][_0x1beddc(0x1cd)];}function _0x6d0657(_0x9062ff,_0x139710){const _0x2acb00=_0x3dc404,_0x45719e=_0x9062ff[_0x2acb00(0x1b1)](_0x582d11[_0x2acb00(0x3c0)])[_0x2acb00(0x1ee)]();let _0x3c5f34='';switch(_0x139710){case _0x399222[_0x2acb00(0x147)][_0x2acb00(0xdc)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1cb)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x145)]:_0x3c5f34=_0x45719e[_0x2acb00(0x26a)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x1cd)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1c9)];break;case _0x399222[_0x2acb00(0x147)]['Month']:_0x3c5f34=_0x45719e[_0x2acb00(0x24e)];break;case _0x399222['PivotDateGroupFieldDateTypeEnum']['Quarter']:_0x3c5f34=_0x45719e[_0x2acb00(0x234)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x30e)]:_0x3c5f34=_0x45719e['sheets-pivot.dateGroup.date'];break;case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2acb00(0x2c9)]:_0x3c5f34=_0x45719e['sheets-pivot.dateGroup.hourMinute'];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x3bb)]:_0x3c5f34=_0x45719e[_0x2acb00(0x3c4)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0xd4)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1b5)];break;case _0x399222[_0x2acb00(0x147)]['MonthDate']:_0x3c5f34=_0x45719e[_0x2acb00(0x3dd)];break;case _0x399222[_0x2acb00(0x147)]['YearQuarter']:_0x3c5f34=_0x45719e[_0x2acb00(0x2b0)];break;default:_0x3c5f34='';break;}return _0x3c5f34;}const _0x4e4898=_0x3dc404(0x3d4),_0x47acb4={};var _0x3655b4=Object[_0x3dc404(0x34b)],_0x5e66ef=(_0x50b117,_0x14dbd4,_0x44088f,_0x3dca38)=>{const _0x24baf6=_0x3dc404;for(var _0x4a16f8=_0x3dca38>0x1?void 0x0:_0x3dca38?_0x3655b4(_0x14dbd4,_0x44088f):_0x14dbd4,_0x565064=_0x50b117[_0x24baf6(0xfc)]-0x1,_0x3fc06c;_0x565064>=0x0;_0x565064--)(_0x3fc06c=_0x50b117[_0x565064])&&(_0x4a16f8=_0x3fc06c(_0x4a16f8)||_0x4a16f8);return _0x4a16f8;},_0x5cf1ba=(_0x1b3b5e,_0x52b9bc)=>(_0x1d1428,_0x1e8d93)=>_0x52b9bc(_0x1d1428,_0x1e8d93,_0x1b3b5e);_0x582d11['SheetsPivotTableConfigModel']=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x39d070,_0x352726,_0x41d45a,_0x443583,_0x11c6b2){const _0x5e76e7=_0x3dc404;super(),_0x4d8d39(this,_0x5e76e7(0x237),new Map()),_0x4d8d39(this,_0x5e76e7(0x333),new Map()),_0x4d8d39(this,_0x5e76e7(0xe8),new Map()),_0x4d8d39(this,'_pivotTableMatrixInfo',new Map()),_0x4d8d39(this,_0x5e76e7(0x3b4),new _0x1a0164['Subject']()),_0x4d8d39(this,_0x5e76e7(0xef),new _0x1a0164[(_0x5e76e7(0x3a3))]()),_0x4d8d39(this,_0x5e76e7(0x166),this[_0x5e76e7(0xef)]['asObservable']()),_0x4d8d39(this,_0x5e76e7(0x392),new _0x1a0164[(_0x5e76e7(0x3a3))]()),_0x4d8d39(this,_0x5e76e7(0x26c),this[_0x5e76e7(0x392)]['asObservable']()),_0x4d8d39(this,_0x5e76e7(0x279),{}),_0x4d8d39(this,_0x5e76e7(0x111),this['_configVersion$'][_0x5e76e7(0x3bc)]()),(this['_injector']=_0x39d070,this[_0x5e76e7(0x284)]=_0x352726,this[_0x5e76e7(0x206)]=_0x41d45a,this[_0x5e76e7(0x351)]=_0x443583,this[_0x5e76e7(0x387)]=_0x11c6b2,this[_0x5e76e7(0x341)](),this[_0x5e76e7(0x2ad)]());const _0x27b7b9=this['_configService'][_0x5e76e7(0x380)](_0x4e4898);(_0x27b7b9==null?void 0x0:_0x27b7b9[_0x5e76e7(0x2dd)])===!0x0&&this[_0x5e76e7(0x32b)]();}[_0x3dc404(0x2ad)](){const _0x40ddfe=_0x3dc404;this[_0x40ddfe(0x260)](this[_0x40ddfe(0x206)][_0x40ddfe(0x37e)](_0x9cf92b['UniverInstanceType'][_0x40ddfe(0x2ae)])['subscribe'](_0x208d44=>{const _0x574aa3=_0x40ddfe;this[_0x574aa3(0x3b6)](_0x208d44[_0x574aa3(0x1de)]());}));}[_0x3dc404(0x15e)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x3dc404(0x341)](){const _0x4a4c58=_0x3dc404,_0x127010=_0x4452bf(this[_0x4a4c58(0x33e)],_0x2fc33e,'',{});this[_0x4a4c58(0x279)]=_0x127010,this[_0x4a4c58(0x284)][_0x4a4c58(0x285)](_0x2b6fcc['id'],{'textInfo':_0x127010},{'onlyLocal':!0x0});}[_0x3dc404(0x1ee)](){return this['_textInfo'];}[_0x3dc404(0x1bd)](_0x481456,_0x564c9d,_0x3bcd,_0x55ff29,_0x4976db){const _0x231b99=_0x3dc404;this[_0x231b99(0x21d)](_0x481456,_0x564c9d,_0x3bcd,_0x55ff29),this[_0x231b99(0x1ce)](_0x481456,_0x564c9d,_0x3bcd,_0x4976db);}[_0x3dc404(0x17c)](_0x27b93e,_0x1283ae,_0x1c3944){const _0x18369b=_0x3dc404;var _0x438372;const _0x42044a=(_0x438372=this[_0x18369b(0x237)][_0x18369b(0x1b1)](_0x27b93e))==null?void 0x0:_0x438372[_0x18369b(0x1b1)](_0x1283ae);if(_0x42044a)return _0x42044a[_0x18369b(0x1b1)](_0x1c3944);}[_0x3dc404(0x3e6)](_0x3044b2,_0xc54c70){const _0x1c0763=_0x3dc404,_0x235f50=this[_0x1c0763(0x237)][_0x1c0763(0x1b1)](_0x3044b2);if(_0x235f50){for(const [_0x2f1876,_0x3d6ded]of _0x235f50[_0x1c0763(0x1a3)]())for(const [_0x2005ba,_0x11e544]of _0x3d6ded[_0x1c0763(0x1a3)]())if(_0x2005ba===_0xc54c70)return _0x11e544[_0x1c0763(0x1ca)];}}[_0x3dc404(0x1bc)](_0x3ec57b,_0x196ec3,_0x1910eb){const _0x120fa1=_0x3dc404,_0x1872cf=this[_0x120fa1(0x17c)](_0x3ec57b,_0x196ec3,_0x1910eb);return _0x1872cf==null?void 0x0:_0x1872cf[_0x120fa1(0x1ca)];}[_0x3dc404(0x266)](_0x431bfa,_0x5511a8){const _0x219c80=_0x3dc404;var _0x53d269;return(_0x53d269=this['_model']['get'](_0x431bfa))==null?void 0x0:_0x53d269[_0x219c80(0x1b1)](_0x5511a8);}[_0x3dc404(0x23e)](_0x118f4c,_0x543e7d,_0x1d46fa,_0x3b961e){const _0x3997b0=_0x3dc404,_0x440446=this[_0x3997b0(0x1fc)](_0x118f4c,_0x543e7d);_0x3b961e?_0x440446[_0x3997b0(0x1fd)](_0x1d46fa,_0x3b961e):_0x440446[_0x3997b0(0x291)](_0x1d46fa),this[_0x3997b0(0x392)]['next']({'unitId':_0x118f4c,'subUnitId':_0x543e7d,'pivotTableId':_0x1d46fa,'pivotTableConfig':_0x3b961e});}[_0x3dc404(0x355)](_0x2fca10,_0x31aa44){const _0x584317=_0x3dc404;var _0xc34b92;return(_0xc34b92=this[_0x584317(0x333)][_0x584317(0x1b1)](_0x2fca10))==null?void 0x0:_0xc34b92['collections'][_0x31aa44];}['updateCollectionConfig'](_0x3a7563,_0x2ba08c){const _0x5c50dc=_0x3dc404;this['_collectionConfigModel'][_0x5c50dc(0x1fd)](_0x3a7563,_0x2ba08c),this[_0x5c50dc(0x3b4)][_0x5c50dc(0x155)](Math[_0x5c50dc(0x20a)]());}['_ensurePivotMap'](_0x5e3f2a,_0x3937aa){const _0x57f570=_0x3dc404;let _0x65bdd0=this[_0x57f570(0x237)][_0x57f570(0x1b1)](_0x5e3f2a);_0x65bdd0||(_0x65bdd0=new Map(),this[_0x57f570(0x237)]['set'](_0x5e3f2a,_0x65bdd0));let _0x561a2b=_0x65bdd0[_0x57f570(0x1b1)](_0x3937aa);return _0x561a2b||(_0x561a2b=new Map(),_0x65bdd0[_0x57f570(0x1fd)](_0x3937aa,_0x561a2b)),_0x561a2b;}[_0x3dc404(0x2a5)](_0xdbf41c,_0x100f87){const _0x15d34f=_0x3dc404;let _0x537643=this['_pivotTableRangeInfo'][_0x15d34f(0x1b1)](_0xdbf41c);_0x537643||(_0x537643=new Map(),this[_0x15d34f(0xe8)][_0x15d34f(0x1fd)](_0xdbf41c,_0x537643));let _0x22347d=_0x537643[_0x15d34f(0x1b1)](_0x100f87);return _0x22347d||(_0x22347d=new Map(),_0x537643[_0x15d34f(0x1fd)](_0x100f87,_0x22347d)),_0x22347d;}[_0x3dc404(0x3a8)](_0xed46a8,_0x4f06c2){const _0x5c3a4c=_0x3dc404;let _0x4e3324=this['_pivotTableMatrixInfo']['get'](_0xed46a8);_0x4e3324||(_0x4e3324=new Map(),this[_0x5c3a4c(0x213)][_0x5c3a4c(0x1fd)](_0xed46a8,_0x4e3324));let _0x5a91f0=_0x4e3324[_0x5c3a4c(0x1b1)](_0x4f06c2);return _0x5a91f0||(_0x5a91f0=new Map(),_0x4e3324[_0x5c3a4c(0x1fd)](_0x4f06c2,_0x5a91f0)),_0x5a91f0;}[_0x3dc404(0x1ce)](_0x16dde7,_0x2a1ce1,_0x38df00,_0x4e3b04){const _0x117ce9=_0x3dc404;var _0x2be1e9;const _0x4ff5f1=this[_0x117ce9(0x2a5)](_0x16dde7,_0x2a1ce1),_0x6256=(_0x2be1e9=_0x4ff5f1[_0x117ce9(0x1b1)](_0x38df00))==null?void 0x0:_0x2be1e9[_0x117ce9(0x258)];_0x4ff5f1['set'](_0x38df00,{'oldRangeInfo':_0x6256,'rangeInfo':_0x4e3b04});}['updatePivotTableMatrixInfo'](_0x4aa0a0,_0x3f68c1,_0x2d033f,_0xa40b36){const _0x45fd6e=_0x3dc404;var _0x3aff83;const _0x27fe8e=this[_0x45fd6e(0x3a8)](_0x4aa0a0,_0x3f68c1),_0x19b85e=(_0x3aff83=_0x27fe8e[_0x45fd6e(0x1b1)](_0x2d033f))==null?void 0x0:_0x3aff83[_0x45fd6e(0xf0)];_0x27fe8e['set'](_0x2d033f,{'oldMatrix':_0x19b85e,'matrix':_0xa40b36});}[_0x3dc404(0x105)](_0x27bae6,_0x195bf7,_0x53ee8b){const _0x4a6222=_0x3dc404;var _0x295812,_0x4dba85;return(_0x4dba85=(_0x295812=this[_0x4a6222(0xe8)][_0x4a6222(0x1b1)](_0x27bae6))==null?void 0x0:_0x295812[_0x4a6222(0x1b1)](_0x195bf7))==null?void 0x0:_0x4dba85[_0x4a6222(0x1b1)](_0x53ee8b);}[_0x3dc404(0x137)](_0x3ec6dc,_0x8b50a1,_0x59d2da){const _0x5baff2=_0x3dc404;var _0x5d3197,_0x36e4fb;return(_0x36e4fb=(_0x5d3197=this[_0x5baff2(0x213)]['get'](_0x3ec6dc))==null?void 0x0:_0x5d3197['get'](_0x8b50a1))==null?void 0x0:_0x36e4fb['get'](_0x59d2da);}['deleteUnitId'](_0x48897b){const _0x501b34=_0x3dc404;this[_0x501b34(0x237)]['delete'](_0x48897b),this[_0x501b34(0x333)][_0x501b34(0x291)](_0x48897b);}[_0x3dc404(0x1e8)](_0x5a2aad){const _0x3829c0=_0x3dc404,_0x112455={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3829c0(0x333)]['get'](_0x5a2aad)&&(_0x112455['dataFieldManagerConfig'][_0x5a2aad]=this['_collectionConfigModel'][_0x3829c0(0x1b1)](_0x5a2aad)),this[_0x3829c0(0x237)]['get'](_0x5a2aad)){_0x112455[_0x3829c0(0x263)][_0x5a2aad]={};const _0x5b9c8b=this[_0x3829c0(0x237)][_0x3829c0(0x1b1)](_0x5a2aad);_0x5b9c8b!=null&&_0x5b9c8b[_0x3829c0(0x128)]&&[..._0x5b9c8b[_0x3829c0(0x336)]()]['forEach'](_0x456049=>{const _0x54dd10=_0x3829c0,_0x571f4d=_0x5b9c8b[_0x54dd10(0x1b1)](_0x456049);_0x571f4d!=null&&_0x571f4d[_0x54dd10(0x128)]&&(_0x112455['pivotTableConfigs'][_0x5a2aad][_0x456049]={},[..._0x571f4d['keys']()][_0x54dd10(0xfe)](_0x334654=>{const _0x1110c8=_0x54dd10,_0x284a3c=_0x571f4d[_0x1110c8(0x1b1)](_0x334654);_0x284a3c&&(_0x112455[_0x1110c8(0x263)][_0x5a2aad][_0x456049][_0x334654]=_0x284a3c);}));});}return _0x112455;}['_initSnapshot'](){const _0x4c3225=_0x3dc404;this[_0x4c3225(0x260)](this[_0x4c3225(0x351)]['registerPluginResource']({'toJson':_0x2fcb41=>JSON['stringify'](this[_0x4c3225(0x1e8)](_0x2fcb41)),'parseJson':_0x5cacc4=>({}),'businesses':[_0x9cf92b[_0x4c3225(0x101)][_0x4c3225(0x2ae)]],'pluginName':_0x502233,'onLoad':(_0x4c30f8,_0x3158d7)=>{},'onUnLoad':_0x11608a=>{this['deleteUnitId'](_0x11608a);}}));}},_0x582d11[_0x3dc404(0x2a8)]=_0x5e66ef([_0x5cf1ba(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x5cf1ba(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0x5cf1ba(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0x5cf1ba(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x1e0)])),_0x5cf1ba(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2fe)]))],_0x582d11[_0x3dc404(0x2a8)]);var _0x53e95a=Object[_0x3dc404(0x34b)],_0x20e7a6=(_0x2492fe,_0x55006c,_0x23c263,_0x2888f1)=>{for(var _0x38909d=_0x2888f1>0x1?void 0x0:_0x2888f1?_0x53e95a(_0x55006c,_0x23c263):_0x55006c,_0x36d06f=_0x2492fe['length']-0x1,_0x42b06d;_0x36d06f>=0x0;_0x36d06f--)(_0x42b06d=_0x2492fe[_0x36d06f])&&(_0x38909d=_0x42b06d(_0x38909d)||_0x38909d);return _0x38909d;},_0x4172f3=(_0x340d97,_0x44c66f)=>(_0x492568,_0x44d519)=>_0x44c66f(_0x492568,_0x44d519,_0x340d97);_0x582d11[_0x3dc404(0x13f)]=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x152a68,_0x509755,_0x52ac95,_0x46e57b,_0x3a3603){const _0x3af5e5=_0x3dc404;super(),_0x4d8d39(this,_0x3af5e5(0x1d2),new Map()),_0x4d8d39(this,_0x3af5e5(0x39a),new Map()),_0x4d8d39(this,'_markDirty$',new _0x1a0164[(_0x3af5e5(0x3a3))]()),_0x4d8d39(this,_0x3af5e5(0xba),this['_markDirty$']['asObservable']()),_0x4d8d39(this,_0x3af5e5(0x3d9),new _0x1a0164['Subject']()),_0x4d8d39(this,_0x3af5e5(0x2e0),this['_viewUpdate$']['asObservable']()),_0x4d8d39(this,'_textInfo'),(this[_0x3af5e5(0x296)]=_0x152a68,this[_0x3af5e5(0x33e)]=_0x509755,this[_0x3af5e5(0x30d)]=_0x52ac95,this[_0x3af5e5(0x206)]=_0x46e57b,this['_exclusiveRangeService']=_0x3a3603,this[_0x3af5e5(0x341)](),this[_0x3af5e5(0x2ad)]());}[_0x3dc404(0x2ad)](){const _0x5ed8ae=_0x3dc404;this[_0x5ed8ae(0x260)](this[_0x5ed8ae(0x206)][_0x5ed8ae(0x37e)](_0x9cf92b[_0x5ed8ae(0x101)][_0x5ed8ae(0x2ae)])[_0x5ed8ae(0xe5)](_0x35eb10=>{const _0x482c1f=_0x5ed8ae;this[_0x482c1f(0x3b6)](_0x35eb10[_0x482c1f(0x1de)]());}));}[_0x3dc404(0x341)](){this['_textInfo']=_0x4452bf(this['_injector'],_0x2fc33e,'',{});}[_0x3dc404(0x37a)](_0x2caa1c){const _0x5f3d47=_0x3dc404,{view:_0x408e6f,unitId:_0x558605,subUnitId:_0xbb647f,pivotTableId:_0x3bd9e6,type:_0x46a591}=_0x2caa1c,_0x583a79=this[_0x5f3d47(0x30d)][_0x5f3d47(0x17c)](_0x558605,_0xbb647f,_0x3bd9e6);if(!_0x408e6f||!_0x583a79||_0x46a591===_0x20d852[_0x5f3d47(0x38e)])return;const {pageView:_0x5a2d65,cornerView:_0x234ca4,rowView:_0x2fa566,colView:_0x1bc034,dataView:_0xee44cd}=_0x408e6f,_0x48ecb9=_0x583a79['targetCellInfo'],_0x58b909=_0x583a79[_0x5f3d47(0x364)],_0x4a9e6c=this['_ensurePivotItemRenderValueMatrixCache'](_0x558605,_0xbb647f),_0x2e8617=this[_0x5f3d47(0x1bf)](_0x558605,_0xbb647f,_0x3bd9e6);if(_0x58b909)return this[_0x5f3d47(0x245)](_0x2caa1c,_0x4a9e6c,_0x48ecb9,_0x2e8617);{const _0x3caaa0=_0x7e091f(_0x48ecb9,_0x5a2d65,!0x0),_0x1520ec=_0x5a2d65[_0x5f3d47(0x257)]>=0x0?_0x5a2d65[_0x5f3d47(0x257)]+0x1:0x0,_0x1171f6=_0x234ca4['getRowCount'](),_0x329cf1=_0x234ca4[_0x5f3d47(0x2d9)](),_0x5412c7=_0x3caaa0[_0x5f3d47(0xfc)]>0x0?_0x301d16:0x0,_0x5ba9fc=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7,'col':_0x48ecb9[_0x5f3d47(0x305)]},_0x234ca4,!0x1,!0x1),_0x23a3f5=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7+_0x1171f6,'col':_0x48ecb9[_0x5f3d47(0x305)]},_0x2fa566,!0x1,!0x0),_0x45e5d6=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7,'col':_0x48ecb9[_0x5f3d47(0x305)]+_0x329cf1},_0x1bc034,!0x1,!0x0),_0x395f65=_0x7e091f({'row':_0x48ecb9['row']+_0x1520ec+_0x5412c7+_0x1171f6,'col':_0x48ecb9[_0x5f3d47(0x305)]+_0x329cf1},_0xee44cd,!0x1,!0x1);_0x2e8617[_0x5f3d47(0x201)]={'rowRanges':_0x23a3f5,'colRanges':_0x45e5d6,'cornerRanges':_0x5ba9fc,'dataRanges':_0x395f65,'pageRanges':_0x3caaa0};const _0x54ef3f=_0x19d145(this['_injector'],_0x408e6f,_0x583a79,this[_0x5f3d47(0x279)]),{valueMatrix:_0x1936ea,rowInfo:_0x3c39a7,colInfo:_0x57015f,cornerInfo:_0x134229,rowHeaderMap:_0x16d253,colHeaderMap:_0x3cd358}=_0x54ef3f;return _0x2e8617[_0x5f3d47(0x347)]={'rowInfo':_0x3c39a7,'colInfo':_0x57015f,'cornerInfo':_0x134229},_0x2e8617['headerMap']={'rowHeaderMap':_0x16d253,'colHeaderMap':_0x3cd358},_0x1936ea[_0x5f3d47(0xfe)]((_0x6ca81e,_0x3468c7)=>{const _0x5de028=_0x5f3d47;Object[_0x5de028(0x336)](_0x3468c7)['forEach'](_0x45da90=>{const _0x46bc73=_0x5de028,_0x43a517=+_0x45da90,_0x2f65fe=_0x1936ea['getValue'](_0x6ca81e,_0x43a517);_0x4a9e6c[_0x46bc73(0x31f)](_0x6ca81e,_0x43a517,_0x2f65fe);});}),this[_0x5f3d47(0x3d9)]['next']({'unitId':_0x558605,'subUnitId':_0xbb647f,'valueMatrix':_0x4a9e6c,'rangesCache':_0x2e8617[_0x5f3d47(0x201)],'pivotTableId':_0x3bd9e6,'type':_0x2caa1c[_0x5f3d47(0x11c)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x558605,_0xbb647f,_0x3bd9e6,_0x4a9e6c,_0x2e8617['rangesInfo']),this[_0x5f3d47(0xcd)]['addExclusiveRange'](_0x558605,_0xbb647f,_0x19c1b4,this[_0x5f3d47(0x20c)](_0x2e8617[_0x5f3d47(0x201)],_0x3bd9e6)),{'rangeCache':_0x2e8617[_0x5f3d47(0x201)],'matrix':_0x4a9e6c};}}[_0x3dc404(0x245)](_0x55b509,_0x39c9cc,_0x42f6b1,_0x257c85){const _0x2a64f9=_0x3dc404,_0x51ec98=this['_localeService']['t'],{unitId:_0x389fc4,subUnitId:_0x51bdb0,pivotTableId:_0x5271e0}=_0x55b509,_0x1d6ca3={'filter':_0x51ec98(_0x2a64f9(0x181)),'row':_0x51ec98(_0x2a64f9(0x386)),'column':_0x51ec98(_0x2a64f9(0x3d3)),'values':_0x51ec98('sheets-pivot.emptyPivot.values')},{matrixCache:_0x46b293,rangesCache:_0x25593e}=_0x47c976(_0x1d6ca3,_0x42f6b1);return _0x46b293['forValue']((_0x375e4e,_0x3681ad,_0x3fc62d)=>{const _0xa50747=_0x2a64f9;_0x39c9cc[_0xa50747(0x31f)](_0x375e4e,_0x3681ad,_0x3fc62d);}),_0x257c85['rangesInfo']=_0x25593e,this[_0x2a64f9(0x3d9)]['next']({'unitId':_0x389fc4,'subUnitId':_0x51bdb0,'valueMatrix':_0x39c9cc,'rangesCache':_0x25593e,'pivotTableId':_0x5271e0,'type':_0x55b509[_0x2a64f9(0x11c)],'isEmpty':!0x0}),this[_0x2a64f9(0x30d)]['updateViewInfo'](_0x389fc4,_0x51bdb0,_0x5271e0,_0x39c9cc,_0x25593e),this[_0x2a64f9(0xcd)][_0x2a64f9(0x31a)](_0x389fc4,_0x51bdb0,_0x19c1b4,this[_0x2a64f9(0x20c)](_0x25593e,_0x5271e0)),{'rangeCache':_0x257c85[_0x2a64f9(0x201)],'matrix':_0x39c9cc};}[_0x3dc404(0x20c)](_0x1a416f,_0x42fdbb){const _0x484747=_0x3dc404,_0x804386=[],_0x318f0c=_0x1c8bbb(_0x1a416f);for(const _0x4c9162 of _0x318f0c)_0x804386[_0x484747(0x34a)]({'groupId':_0x42fdbb,'range':_0x4c9162});return _0x804386;}['clearRenderCache'](_0x4eebd2){const _0xb4c3fe=_0x3dc404;var _0x54d70b,_0x11d5a9,_0x34d06e,_0x4c6d9f;const {pivotTableId:_0x2400c9,unitId:_0x332722,subUnitId:_0x40cc8e}=_0x4eebd2;if(!_0x2400c9||!_0x332722||!_0x40cc8e)return;const _0x29d171=this[_0xb4c3fe(0x2fb)](_0x332722,_0x40cc8e),_0x3fe632=(_0x11d5a9=(_0x54d70b=this[_0xb4c3fe(0x1d2)]['get'](_0x332722))==null?void 0x0:_0x54d70b[_0xb4c3fe(0x1b1)](_0x40cc8e))==null?void 0x0:_0x11d5a9[_0xb4c3fe(0x1b1)](_0x2400c9);if(_0x3fe632!=null&&_0x3fe632[_0xb4c3fe(0x201)]){for(const _0x22d0d2 of Object[_0xb4c3fe(0x336)](_0x3fe632[_0xb4c3fe(0x201)]))_0x3fe632[_0xb4c3fe(0x201)][_0x22d0d2][_0xb4c3fe(0xfe)](_0x440ecb=>{const _0x42a07e=_0xb4c3fe;for(let _0x56d273=_0x440ecb['startRow'];_0x56d273<=_0x440ecb['endRow'];_0x56d273++)for(let _0xe7a51=_0x440ecb[_0x42a07e(0x223)];_0xe7a51<=_0x440ecb['endColumn'];_0xe7a51++)_0x29d171['realDeleteValue'](_0x56d273,_0xe7a51);});}_0x3fe632&&((_0x4c6d9f=(_0x34d06e=this[_0xb4c3fe(0x1d2)][_0xb4c3fe(0x1b1)](_0x332722))==null?void 0x0:_0x34d06e['get'](_0x40cc8e))==null||_0x4c6d9f[_0xb4c3fe(0x291)](_0x2400c9)),this[_0xb4c3fe(0x3d9)][_0xb4c3fe(0x155)]({'unitId':_0x332722,'subUnitId':_0x40cc8e,'valueMatrix':_0x29d171,'pivotTableId':_0x2400c9,'rangesCache':void 0x0,'type':_0x4eebd2[_0xb4c3fe(0x11c)]}),this[_0xb4c3fe(0xcd)][_0xb4c3fe(0x262)](_0x332722,_0x40cc8e,_0x19c1b4,_0x2400c9);}[_0x3dc404(0x1bf)](_0x37bd08,_0x1ae6bc,_0x391713){const _0x2e5d14=_0x3dc404;var _0x1e1eed,_0x226d00,_0x1c91b8,_0x220590,_0x40e4c0,_0x12afa3;return this[_0x2e5d14(0x1d2)]['has'](_0x37bd08)||this['_pivotRenderInfoCache'][_0x2e5d14(0x1fd)](_0x37bd08,new Map()),(_0x1e1eed=this[_0x2e5d14(0x1d2)][_0x2e5d14(0x1b1)](_0x37bd08))!=null&&_0x1e1eed[_0x2e5d14(0x138)](_0x1ae6bc)||(_0x226d00=this[_0x2e5d14(0x1d2)][_0x2e5d14(0x1b1)](_0x37bd08))==null||_0x226d00['set'](_0x1ae6bc,new Map()),(_0x220590=(_0x1c91b8=this['_pivotRenderInfoCache']['get'](_0x37bd08))==null?void 0x0:_0x1c91b8['get'](_0x1ae6bc))!=null&&_0x220590[_0x2e5d14(0x138)](_0x391713)||(_0x12afa3=(_0x40e4c0=this['_pivotRenderInfoCache'][_0x2e5d14(0x1b1)](_0x37bd08))==null?void 0x0:_0x40e4c0[_0x2e5d14(0x1b1)](_0x1ae6bc))==null||_0x12afa3[_0x2e5d14(0x1fd)](_0x391713,{}),this[_0x2e5d14(0x1d2)]['get'](_0x37bd08)['get'](_0x1ae6bc)[_0x2e5d14(0x1b1)](_0x391713);}[_0x3dc404(0x2fb)](_0x5aa8b4,_0x28a331){const _0x45942a=_0x3dc404;var _0x5e470c,_0x28d1f4;return this[_0x45942a(0x39a)][_0x45942a(0x138)](_0x5aa8b4)||this[_0x45942a(0x39a)]['set'](_0x5aa8b4,new Map()),(_0x5e470c=this['_pivotRenderValueMatrixCache'][_0x45942a(0x1b1)](_0x5aa8b4))!=null&&_0x5e470c[_0x45942a(0x138)](_0x28a331)||(_0x28d1f4=this[_0x45942a(0x39a)][_0x45942a(0x1b1)](_0x5aa8b4))==null||_0x28d1f4[_0x45942a(0x1fd)](_0x28a331,new _0x9cf92b[(_0x45942a(0x37c))]()),this[_0x45942a(0x39a)][_0x45942a(0x1b1)](_0x5aa8b4)[_0x45942a(0x1b1)](_0x28a331);}[_0x3dc404(0x11f)](_0x48ce4e,_0x3d33b8,_0x59c4b3,_0x43d690){const _0x5c7653=_0x3dc404;var _0x4b8220,_0x255fd0;const _0x130dcd=(_0x255fd0=(_0x4b8220=this[_0x5c7653(0x39a)][_0x5c7653(0x1b1)](_0x48ce4e))==null?void 0x0:_0x4b8220['get'](_0x3d33b8))==null?void 0x0:_0x255fd0[_0x5c7653(0x34f)](_0x59c4b3,_0x43d690);if(_0x130dcd!=null)return _0x130dcd;}[_0x3dc404(0x271)](_0x234cde,_0x31fb67,_0x408ea5,_0x424109){const _0x2307cc=_0x3dc404;var _0x2bd964;const _0x5bc651=_0x9cf92b['cellToRange'](_0x408ea5,_0x424109),_0x4b9af6=(_0x2bd964=this[_0x2307cc(0x1d2)]['get'](_0x234cde))==null?void 0x0:_0x2bd964[_0x2307cc(0x1b1)](_0x31fb67);return _0x4b9af6?Array[_0x2307cc(0x288)](_0x4b9af6['keys']())[_0x2307cc(0xe1)](_0x5996e3=>{const _0x204094=_0x2307cc,_0x186d18=_0x4b9af6[_0x204094(0x1b1)](_0x5996e3),_0x3cfd7d=_0x186d18==null?void 0x0:_0x186d18[_0x204094(0x201)];return _0x3cfd7d?Object[_0x204094(0x336)](_0x3cfd7d)['some'](_0x38f164=>_0x3cfd7d[_0x38f164]['some'](_0x100a2d=>_0x9cf92b[_0x204094(0x2d6)][_0x204094(0x186)](_0x100a2d,_0x5bc651))):!0x1;}):void 0x0;}[_0x3dc404(0x1c0)](_0x3b7778,_0x527bf3,_0x533d5d){const _0x5886b2=_0x3dc404;var _0x7d9e65;const _0x486e41=(_0x7d9e65=this[_0x5886b2(0x1d2)][_0x5886b2(0x1b1)](_0x3b7778))==null?void 0x0:_0x7d9e65[_0x5886b2(0x1b1)](_0x527bf3),_0xcc2497=[];return _0x486e41&&Array[_0x5886b2(0x288)](_0x486e41[_0x5886b2(0x336)]())[_0x5886b2(0xfe)](_0x1fd7c3=>{const _0x561d47=_0x5886b2,_0xae6c16=_0x486e41[_0x561d47(0x1b1)](_0x1fd7c3),_0x316e19=_0xae6c16==null?void 0x0:_0xae6c16[_0x561d47(0x201)];if(_0x316e19)for(const _0x39e62f of Object['values'](_0x316e19)){let _0x37ae08=!0x1;for(const _0x20c551 of _0x39e62f)if(_0x9cf92b['Rectangle']['intersects'](_0x20c551,_0x533d5d)){_0xcc2497[_0x561d47(0x34a)](_0x1fd7c3),_0x37ae08=!0x0;break;}if(_0x37ae08)break;}}),_0xcc2497;}[_0x3dc404(0xbd)](_0x57cdfa,_0x83c2c9){const _0x21d66f=_0x3dc404;var _0x2c738c,_0x383007;return(_0x383007=(_0x2c738c=this['_pivotRenderValueMatrixCache'][_0x21d66f(0x1b1)](_0x57cdfa))==null?void 0x0:_0x2c738c[_0x21d66f(0x1b1)](_0x83c2c9))!=null?_0x383007:new _0x9cf92b[(_0x21d66f(0x37c))]();}[_0x3dc404(0x371)](_0x350f84,_0x1be1ef){const _0x587521=_0x3dc404;var _0x48b825;return(_0x48b825=this[_0x587521(0x1d2)][_0x587521(0x1b1)](_0x350f84))==null?void 0x0:_0x48b825[_0x587521(0x1b1)](_0x1be1ef);}[_0x3dc404(0x1c5)](_0x1880e7,_0x5dfaf0,_0x3bf846){const _0x2d48c0=_0x3dc404;var _0x27279b,_0x537a60;return(_0x537a60=(_0x27279b=this[_0x2d48c0(0x1d2)][_0x2d48c0(0x1b1)](_0x1880e7))==null?void 0x0:_0x27279b[_0x2d48c0(0x1b1)](_0x5dfaf0))==null?void 0x0:_0x537a60[_0x2d48c0(0x1b1)](_0x3bf846);}[_0x3dc404(0x3b6)](_0x5bd8a8){const _0x5c29c6=_0x3dc404;this[_0x5c29c6(0x1d2)][_0x5c29c6(0x291)](_0x5bd8a8),this[_0x5c29c6(0x39a)][_0x5c29c6(0x291)](_0x5bd8a8);}['markDirty'](_0x2f2a74,_0x310282){const _0x38db90=_0x3dc404;this[_0x38db90(0x112)][_0x38db90(0x155)]({'unitId':_0x2f2a74,'subUnitId':_0x310282});}},_0x582d11[_0x3dc404(0x13f)]=_0x20e7a6([_0x4172f3(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x322)])),_0x4172f3(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x4172f3(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x4172f3(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['IUniverInstanceService'])),_0x4172f3(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x2a2)]))],_0x582d11[_0x3dc404(0x13f)]);var _0x490a7f=Object[_0x3dc404(0x34b)],_0x3cc04d=(_0x2b1419,_0x49d153,_0x242de4,_0x55dd82)=>{const _0x29c91e=_0x3dc404;for(var _0x5f2e17=_0x55dd82>0x1?void 0x0:_0x55dd82?_0x490a7f(_0x49d153,_0x242de4):_0x49d153,_0x34cc03=_0x2b1419[_0x29c91e(0xfc)]-0x1,_0x3b4e7e;_0x34cc03>=0x0;_0x34cc03--)(_0x3b4e7e=_0x2b1419[_0x34cc03])&&(_0x5f2e17=_0x3b4e7e(_0x5f2e17)||_0x5f2e17);return _0x5f2e17;},_0x397592=(_0x4bfd91,_0x5b51a6)=>(_0x12363b,_0x5832c7)=>_0x5b51a6(_0x12363b,_0x5832c7,_0x4bfd91);_0x582d11['SheetsPivotTableService']=class extends _0x9cf92b['Disposable']{constructor(_0x5ebc5e,_0x225c66){const _0x88c56b=_0x3dc404;super(),_0x4d8d39(this,_0x88c56b(0x1e7),new _0x9cf92b[(_0x88c56b(0x29e))]({'PIVOT_PERFORM_CHECK':_0x44e1c4})),_0x4d8d39(this,_0x88c56b(0x2fc),new _0x9cf92b[(_0x88c56b(0x151))]({'PIVOT_MUTATION_GENERATE':_0x3ce801})),(this['_sheetInterceptorService']=_0x5ebc5e,this['_sheetsPivotTableAdaptorModel']=_0x225c66,this['_init']());}['_init'](){this['_initViewModelBySheetInterceptor']();}[_0x3dc404(0x16d)](_0x41a3c6){const _0x4fdc8e=_0x3dc404;return this['asyncInterceptor'][_0x4fdc8e(0x168)](_0x44e1c4)(!0x1,_0x41a3c6);}[_0x3dc404(0x2ed)](){const _0x49015e=_0x3dc404;this[_0x49015e(0x260)](this[_0x49015e(0x23d)]['intercept'](_0x165f3c[_0x49015e(0x366)][_0x49015e(0x3e3)],{'priority':0xc8,'effect':_0x9cf92b[_0x49015e(0x340)][_0x49015e(0x311)]|_0x9cf92b[_0x49015e(0x340)]['Style'],'handler':(_0x194a70,_0x268b16,_0x2213f4)=>{const _0x5d6576=_0x49015e,{row:_0x4bffe4,col:_0x3d8b28,unitId:_0x1152b5,subUnitId:_0x55ae52,workbook:_0x5c9b5a}=_0x268b16,_0x412f54=this[_0x5d6576(0x200)][_0x5d6576(0x11f)](_0x1152b5,_0x55ae52,_0x4bffe4,_0x3d8b28);if(!_0x412f54)return _0x2213f4(_0x194a70);const _0x2f5c85={..._0x194a70};(_0x412f54['v']||_0x412f54['v']===0x0)&&(_0x2f5c85['v']=_0x412f54['v']),_0x412f54['t']&&(_0x2f5c85['t']=_0x412f54['t']);const _0x1e26c8=(typeof(_0x194a70==null?void 0x0:_0x194a70['s'])==_0x5d6576(0x2af)?_0x5c9b5a[_0x5d6576(0x192)]()['get'](_0x194a70==null?void 0x0:_0x194a70['s']):_0x194a70==null?void 0x0:_0x194a70['s'])||{},_0x1157a3=_0x5c9b5a[_0x5d6576(0x192)]()[_0x5d6576(0x1b1)](_0x412f54['s']),_0x50b457={..._0x1157a3,..._0x1e26c8};_0x1157a3!=null&&_0x1157a3['n']&&(_0x50b457['n']=_0x1157a3['n']);const _0x55a3ea=_0x5c9b5a['getStyles']()['setValue'](_0x50b457);return _0x2f5c85['s']=_0x55a3ea,(_0x412f54[_0x5d6576(0x1f3)]===_0x399222[_0x5d6576(0x270)][_0x5d6576(0x187)]||_0x412f54[_0x5d6576(0x1f3)]===_0x399222[_0x5d6576(0x270)][_0x5d6576(0x1df)])&&(_0x2f5c85[_0x5d6576(0x148)]={},_0x2f5c85[_0x5d6576(0x148)]['leftOffset']=_0x5d38e2),_0x2213f4(_0x2f5c85);}}));}},_0x582d11[_0x3dc404(0x163)]=_0x3cc04d([_0x397592(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x397592(0x1,_0x9cf92b['Inject'](_0x582d11[_0x3dc404(0x13f)]))],_0x582d11[_0x3dc404(0x163)]);const _0x57efd5={'id':_0x3dc404(0x32e),'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'handler':(_0xfcca0f,_0x179cc2)=>{const _0x3b10c6=_0x3dc404;if(!_0x179cc2)return!0x1;if(!!_0xfcca0f[_0x3b10c6(0x1b1)](_0x9cf92b[_0x3b10c6(0x2fe)])[_0x3b10c6(0x380)](_0x3ee12c))return!0x0;const {pivotTableId:_0x58ee15,fieldJSON:_0x5b3e5d,unitId:_0x343122,subUnitId:_0x1ad539}=_0x179cc2;let _0x298849;const {dataFieldType:_0x3a7be9,id:_0x5808fb,name:_0x1bdf97,hexCode:_0x539766,originalFieldId:_0x2989a6}=_0x5b3e5d;if(_0x3a7be9===_0x399222[_0x3b10c6(0x3c3)][_0x3b10c6(0x244)]&&(_0x298849=new _0x399222[(_0x3b10c6(0x240))](_0x5808fb,_0x1bdf97,_0x539766,_0x2989a6)),!_0x298849)return!0x1;const _0x449558=_0xfcca0f[_0x3b10c6(0x1b1)](_0x582d11[_0x3b10c6(0x3c0)]),_0x22740d=_0x449558['getDataFieldManager'](_0x343122),_0x57ef49=_0x22740d[_0x3b10c6(0x355)](_0x58ee15);_0x22740d[_0x3b10c6(0x210)](_0x298849),_0x57ef49[_0x3b10c6(0x329)](_0x298849[_0x3b10c6(0x26d)](),_0x298849[_0x3b10c6(0x220)]());const _0x10b3e2=_0x57ef49['getFieldById'](_0x298849[_0x3b10c6(0xf9)]());_0x10b3e2&&_0x298849[_0x3b10c6(0x3cc)](_0x10b3e2);const _0x446f3c=_0x449558['getPivotTableConfig'](_0x343122,_0x1ad539,_0x58ee15);return _0x449558[_0x3b10c6(0x15c)]({'unitId':_0x343122,'subUnitId':_0x1ad539,'token':_0x58ee15,'type':_0x20d852[_0x3b10c6(0x1ea)],'pivotConfig':_0x446f3c}),!0x0;}},_0x1b6944={'id':'sheet.mutation.remove-group-collection','type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'handler':(_0x49ae68,_0xd596f6)=>{const _0x239545=_0x3dc404;if(!_0xd596f6)return!0x1;if(!!_0x49ae68[_0x239545(0x1b1)](_0x9cf92b[_0x239545(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const {pivotTableId:_0x25b314,dataFieldId:_0x1caaca,unitId:_0x5268bf,subUnitId:_0x3cdcd4}=_0xd596f6,_0x3ffc94=_0x49ae68[_0x239545(0x1b1)](_0x582d11[_0x239545(0x3c0)]),_0x116b90=_0x3ffc94['getDataFieldManager'](_0x5268bf);_0x116b90[_0x239545(0x355)](_0x25b314)['deleteField'](_0x1caaca);let _0x18e925=!0x0;for(const _0x9b8d0 in _0x116b90[_0x239545(0x119)])if(_0x116b90['collections'][_0x9b8d0][_0x239545(0x3a5)]()[_0x239545(0x135)](_0x1caaca)){_0x18e925=!0x1;break;}_0x18e925&&_0x116b90[_0x239545(0x17e)](_0x1caaca);const _0x45d7d5=_0x3ffc94[_0x239545(0x17c)](_0x5268bf,_0x3cdcd4,_0x25b314);return _0x3ffc94[_0x239545(0x15c)]({'unitId':_0x5268bf,'subUnitId':_0x3cdcd4,'token':_0x25b314,'type':_0x20d852[_0x239545(0x1ea)],'pivotConfig':_0x45d7d5}),!0x0;}};function _0x511f6a(_0x3ea4be,_0x60001c){const _0x254db4=_0x3dc404;switch(_0x60001c){case _0x399222['PivotTableFiledAreaEnum'][_0x254db4(0x311)]:return _0x3ea4be[_0x254db4(0x122)];case _0x399222['PivotTableFiledAreaEnum']['Filter']:return _0x3ea4be[_0x254db4(0x23c)];case _0x399222[_0x254db4(0x3df)][_0x254db4(0x2a6)]:return _0x3ea4be['rowFields'];case _0x399222[_0x254db4(0x3df)]['Column']:return _0x3ea4be[_0x254db4(0x2a0)];default:return[];}}function _0x16fb47(_0x5eefba,_0x25dc6a){const _0x8c7675=_0x3dc404;return _0x5eefba['measure'][_0x25dc6a]||_0x5eefba[_0x8c7675(0x1f9)][_0x25dc6a];}function _0x163f04(_0x23514a,_0x2aa4df){const _0x5953c6=_0x3dc404,{area:_0x1bf3a3,fieldJson:_0x4ead6f,index:_0x578204}=_0x2aa4df;_0x1bf3a3===_0x399222['PivotTableFiledAreaEnum'][_0x5953c6(0x311)]?_0x23514a[_0x5953c6(0x182)][_0x4ead6f['id']]=_0x4ead6f:_0x23514a[_0x5953c6(0x1f9)][_0x4ead6f['id']]=_0x4ead6f,_0x511f6a(_0x23514a,_0x1bf3a3)[_0x5953c6(0x36f)](_0x578204,0x0,_0x4ead6f['id']);}function _0x304a48(_0x36065c,_0x1c3d9e){const _0x3ca514=_0x3dc404,{area:_0x545dc1,fieldId:_0x38b17e,index:_0xe4b0bb}=_0x1c3d9e;_0x545dc1===_0x399222[_0x3ca514(0x3df)][_0x3ca514(0x311)]?delete _0x36065c[_0x3ca514(0x182)][_0x38b17e]:delete _0x36065c[_0x3ca514(0x1f9)][_0x38b17e],_0x511f6a(_0x36065c,_0x545dc1)[_0x3ca514(0x36f)](_0xe4b0bb,0x1);}function _0x3ad05b(_0x36e0ca,_0x463d71){const {fieldId:_0x2d70bb,name:_0x4a29d0}=_0x463d71,_0x4c6960=_0x16fb47(_0x36e0ca,_0x2d70bb);_0x4c6960&&(_0x4c6960['displayName']=_0x4a29d0);}function _0x512d7a(_0x126672,_0x13192d){const _0x57d7de=_0x3dc404,{fieldId:_0x19125e,collapse:_0x456aa7,item:_0x532922}=_0x13192d;_0x532922!==void 0x0?(_0x126672[_0x57d7de(0x153)][_0x19125e]=_0x126672['collapseInfo'][_0x19125e]||{},_0x126672[_0x57d7de(0x153)][_0x19125e][_0x532922]=_0x456aa7):_0x126672[_0x57d7de(0x153)][_0x19125e]=_0x456aa7;}function _0x1a3778(_0x492e26,_0x4f0115){const {fieldId:_0x1152fd,format:_0x376b6b}=_0x4f0115,_0x266a3c=_0x16fb47(_0x492e26,_0x1152fd);_0x266a3c&&(_0x266a3c['format']=_0x376b6b);}function _0x1fb4bb(_0xf2f99e,_0x9ce381){const _0xd9e323=_0x3dc404,{fieldId:_0x3c64ac,filterInfo:_0x287cee}=_0x9ce381,_0xad46f9=_0x16fb47(_0xf2f99e,_0x3c64ac);_0xad46f9&&(_0xad46f9[_0xd9e323(0x1a9)]=_0x287cee);}function _0x470049(_0x14deab,_0x1b49d4){const _0x15fb0a=_0x3dc404,{fieldId:_0x2533a2,filterInfo:_0x4824bf}=_0x1b49d4,_0x36c2ee=_0x14deab[_0x15fb0a(0x3da)][_0x15fb0a(0x375)](_0x30dd99=>_0x30dd99[_0x15fb0a(0x310)]!==_0x2533a2);_0x4824bf&&_0x36c2ee[_0x15fb0a(0x34a)]({'fieldId':_0x2533a2,'filterInfo':_0x4824bf}),_0x14deab['valueFilter']=_0x36c2ee;}function _0x49ec28(_0x125207,_0x48ffc6){const _0x228ff6=_0x3dc404,{fieldId:_0x14d5b3,subtotalType:_0x4b5b24}=_0x48ffc6,_0x37e16d=_0x16fb47(_0x125207,_0x14d5b3);_0x37e16d&&(_0x37e16d[_0x228ff6(0x38a)]=_0x4b5b24);}function _0x4c19fb(_0x5614d2,_0x19d29d){const _0x46489f=_0x3dc404,{fieldId:_0x348ca5,oldArea:_0x1f2510,area:_0x3281d3,oldIndex:_0x2af3ee,index:_0x311d23}=_0x19d29d,_0x3084fe=_0x1f2510!==_0x399222[_0x46489f(0x3df)][_0x46489f(0x311)]&&_0x3281d3===_0x399222[_0x46489f(0x3df)]['Value'],_0x942852=_0x1f2510===_0x399222['PivotTableFiledAreaEnum'][_0x46489f(0x311)]&&_0x3281d3!==_0x399222[_0x46489f(0x3df)][_0x46489f(0x311)];if(_0x3084fe||_0x942852){const _0x3fb6c5=_0x16fb47(_0x5614d2,_0x348ca5);_0x3fb6c5&&(_0x3084fe?(delete _0x5614d2['dimension'][_0x348ca5],_0x5614d2[_0x46489f(0x182)][_0x348ca5]=_0x3fb6c5):(delete _0x5614d2['measure'][_0x348ca5],_0x5614d2[_0x46489f(0x1f9)][_0x348ca5]=_0x3fb6c5));}const _0x3bd4a5=_0x511f6a(_0x5614d2,_0x1f2510),_0x462332=_0x511f6a(_0x5614d2,_0x3281d3);_0x3bd4a5[_0x46489f(0x36f)](_0x2af3ee,0x1),_0x462332[_0x46489f(0x36f)](_0x311d23,0x0,_0x348ca5);}function _0x5b0824(_0x4e711e,_0x1d14fd){const _0x46468f=_0x3dc404,{valuePosition:_0x1d6d54,index:_0x53af8d}=_0x1d14fd;_0x4e711e['valuePosition']=_0x1d6d54,_0x4e711e[_0x46468f(0x140)]=_0x53af8d;}function _0x4fd4ab(_0x447e84,_0x309553){const _0x3c8d2c=_0x3dc404,{tableFieldId:_0x2e6991,sourceName:_0x58f482,dataFieldId:_0x37f3eb}=_0x309553,_0x2953dd=_0x16fb47(_0x447e84,_0x2e6991);_0x2953dd&&(_0x2953dd[_0x3c8d2c(0x287)]=_0x58f482,_0x2953dd[_0x3c8d2c(0x2df)]=_0x37f3eb);}function _0xf7009a(_0x44f773,_0x5ad688){const _0x30077f=_0x3dc404,{fieldId:_0x559fda,sortInfo:_0x565d59}=_0x5ad688,_0x4653bd=_0x16fb47(_0x44f773,_0x559fda);_0x4653bd&&(_0x4653bd[_0x30077f(0xe4)]=_0x565d59);}function _0x1b9c38(_0x2c622b,_0x3bea8a){const _0x5ac518=_0x3dc404,{options:_0x12ffca}=_0x3bea8a;_0x2c622b[_0x5ac518(0xd6)]={..._0x2c622b[_0x5ac518(0xd6)],..._0x12ffca};}const _0x650ffc={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1e3),'handler'(_0x3e817b,_0x573765){const _0x1fb6d7=_0x3dc404;if(!_0x573765)return!0x1;if(!!_0x3e817b[_0x1fb6d7(0x1b1)](_0x9cf92b['IConfigService'])['getConfig'](_0x3ee12c))return!0x0;const _0x3b560e=_0x3e817b['get'](_0x582d11[_0x1fb6d7(0x3c0)]),{pivotTableId:_0x28ec57,fieldJson:_0x8d5ee9,area:_0x5338b1,index:_0xbbef4c,unitId:_0x2bbf59,subUnitId:_0x48d5bc}=_0x573765,_0x1a8a05=_0x3b560e[_0x1fb6d7(0x363)](_0x28ec57);if(!_0x1a8a05)return!0x1;let _0x46f08e;_0x5338b1===_0x399222['PivotTableFiledAreaEnum'][_0x1fb6d7(0x311)]?_0x46f08e=_0x399222[_0x1fb6d7(0x298)](_0x8d5ee9):_0x46f08e=_0x399222['createLabelField'](_0x8d5ee9),_0x1a8a05['addField'](_0x46f08e,_0x5338b1,_0xbbef4c);const _0x50bbd3=_0x3b560e[_0x1fb6d7(0x20d)](_0x2bbf59,_0x48d5bc,_0x28ec57);_0x163f04(_0x50bbd3,_0x573765);const _0x2c38ae=_0x3b560e[_0x1fb6d7(0x17c)](_0x2bbf59,_0x48d5bc,_0x28ec57);return _0x3b560e['addDirtyPivotTable']({'unitId':_0x2bbf59,'subUnitId':_0x48d5bc,'token':_0x28ec57,'type':_0x20d852[_0x1fb6d7(0x1ea)],'pivotConfig':_0x2c38ae}),!0x0;}},_0x1deb09={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x12e),'handler'(_0x3e2983,_0x529bd1){const _0x5a831a=_0x3dc404;if(!_0x529bd1)return!0x1;if(!!_0x3e2983['get'](_0x9cf92b[_0x5a831a(0x2fe)])[_0x5a831a(0x380)](_0x3ee12c))return!0x0;const _0x69846b=_0x3e2983[_0x5a831a(0x1b1)](_0x582d11[_0x5a831a(0x3c0)]),{pivotTableId:_0x5e759d,fieldId:_0x3153da,unitId:_0x549962,subUnitId:_0x56c4a2}=_0x529bd1,_0x227136=_0x69846b[_0x5a831a(0x363)](_0x5e759d);if(!_0x227136)return!0x1;_0x227136[_0x5a831a(0x1a1)](_0x3153da);const _0x3a20fa=_0x69846b['getPivotTableModelConfig'](_0x549962,_0x56c4a2,_0x5e759d);_0x304a48(_0x3a20fa,_0x529bd1);const _0x1c1c03=_0x69846b[_0x5a831a(0x17c)](_0x549962,_0x56c4a2,_0x5e759d);return _0x69846b[_0x5a831a(0x15c)]({'unitId':_0x549962,'subUnitId':_0x56c4a2,'token':_0x5e759d,'type':_0x20d852[_0x5a831a(0x1ea)],'pivotConfig':_0x1c1c03}),!0x0;}},_0x5b87ea={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x338),'handler'(_0x2a7feb,_0x3649fe){const _0x1179f9=_0x3dc404;if(!_0x3649fe)return!0x1;if(!!_0x2a7feb[_0x1179f9(0x1b1)](_0x9cf92b[_0x1179f9(0x2fe)])[_0x1179f9(0x380)](_0x3ee12c))return!0x0;const _0x548b71=_0x2a7feb[_0x1179f9(0x1b1)](_0x582d11[_0x1179f9(0x3c0)]),{unitId:_0x4443be,subUnitId:_0x2ac049,pivotTableId:_0x4fe414,fieldId:_0xe93360,name:_0xd44e9c}=_0x3649fe,_0x4334dd=_0x548b71[_0x1179f9(0x363)](_0x4fe414);if(!_0x4334dd)return!0x1;_0x4334dd[_0x1179f9(0x357)](_0xe93360,_0xd44e9c);const _0x48abd4=_0x548b71['getPivotTableModelConfig'](_0x4443be,_0x2ac049,_0x4fe414);return _0x3ad05b(_0x48abd4,_0x3649fe),_0x548b71[_0x1179f9(0x15c)]({'unitId':_0x4443be,'subUnitId':_0x2ac049,'token':_0x4fe414,'type':_0x20d852['Set']}),!0x0;}},_0x423c02={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x321),'handler'(_0x344206,_0x244e4f){const _0x175d21=_0x3dc404;if(!_0x244e4f)return!0x1;if(!!_0x344206[_0x175d21(0x1b1)](_0x9cf92b[_0x175d21(0x2fe)])[_0x175d21(0x380)](_0x3ee12c))return!0x0;const _0x1895e1=_0x344206[_0x175d21(0x1b1)](_0x582d11[_0x175d21(0x3c0)]),{unitId:_0x6a2999,subUnitId:_0x3fb7b8,pivotTableId:_0x42659c,fieldId:_0x645b3e,collapse:_0x386951,item:_0x5a17a9}=_0x244e4f,_0x2ad301=_0x1895e1[_0x175d21(0x363)](_0x42659c);if(!_0x2ad301)return!0x1;_0x2ad301['setCollapse'](_0x645b3e,_0x386951,_0x5a17a9);const _0x1d96fa=_0x1895e1[_0x175d21(0x20d)](_0x6a2999,_0x3fb7b8,_0x42659c);return _0x512d7a(_0x1d96fa,_0x244e4f),_0x1895e1[_0x175d21(0x15c)]({'unitId':_0x6a2999,'subUnitId':_0x3fb7b8,'token':_0x42659c,'type':_0x20d852[_0x175d21(0x1ea)]}),!0x0;}},_0x1e447b={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x5330da,_0x48e84a){const _0x36a4ad=_0x3dc404;if(!_0x48e84a)return!0x1;if(!!_0x5330da[_0x36a4ad(0x1b1)](_0x9cf92b[_0x36a4ad(0x2fe)])[_0x36a4ad(0x380)](_0x3ee12c))return!0x0;const _0x3dbd9a=_0x5330da[_0x36a4ad(0x1b1)](_0x582d11[_0x36a4ad(0x3c0)]),{unitId:_0x2db8e3,subUnitId:_0xa9a1aa,pivotTableId:_0x2f1e9d,fieldId:_0x2bd951,format:_0x656537}=_0x48e84a,_0x2b7579=_0x3dbd9a[_0x36a4ad(0x363)](_0x2f1e9d);if(!_0x2b7579)return!0x1;_0x2b7579[_0x36a4ad(0x1d7)](_0x2bd951,_0x656537);const _0x2b0cbd=_0x3dbd9a[_0x36a4ad(0x20d)](_0x2db8e3,_0xa9a1aa,_0x2f1e9d);return _0x1a3778(_0x2b0cbd,_0x48e84a),_0x3dbd9a[_0x36a4ad(0x15c)]({'unitId':_0x2db8e3,'subUnitId':_0xa9a1aa,'token':_0x2f1e9d,'type':_0x20d852[_0x36a4ad(0x1ea)]}),!0x0;}},_0x98ff={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x23f),'handler'(_0x5dfa68,_0x49370c){const _0x30415b=_0x3dc404;if(!_0x49370c)return!0x1;if(!!_0x5dfa68[_0x30415b(0x1b1)](_0x9cf92b[_0x30415b(0x2fe)])[_0x30415b(0x380)](_0x3ee12c))return!0x0;const _0x291ef8=_0x5dfa68[_0x30415b(0x1b1)](_0x582d11[_0x30415b(0x3c0)]),{unitId:_0x3d313f,subUnitId:_0x195637,pivotTableId:_0x53bc6e,fieldId:_0x39dedb,filterInfo:_0x26a94f}=_0x49370c,_0x380366=_0x291ef8[_0x30415b(0x363)](_0x53bc6e);if(!_0x380366)return!0x1;_0x380366['setLabelFilterInfo'](_0x39dedb,_0x26a94f);const _0x38858e=_0x291ef8[_0x30415b(0x20d)](_0x3d313f,_0x195637,_0x53bc6e);return _0x1fb4bb(_0x38858e,_0x49370c),_0x291ef8[_0x30415b(0x15c)]({'unitId':_0x3d313f,'subUnitId':_0x195637,'token':_0x53bc6e,'type':_0x20d852[_0x30415b(0x1ea)]}),!0x0;}},_0x1a435f={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x229),'handler'(_0x12bd70,_0x5785e3){const _0x2a5e89=_0x3dc404;if(!_0x5785e3)return!0x1;if(!!_0x12bd70['get'](_0x9cf92b[_0x2a5e89(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x38548d=_0x12bd70[_0x2a5e89(0x1b1)](_0x582d11[_0x2a5e89(0x3c0)]),{unitId:_0x3455d2,subUnitId:_0x39c1a9,pivotTableId:_0x483588,options:_0x3d8cd2}=_0x5785e3,_0x3e9e9e=_0x38548d[_0x2a5e89(0x363)](_0x483588);if(!_0x3e9e9e)return!0x1;_0x3e9e9e[_0x2a5e89(0x1d5)](_0x3d8cd2);const _0x2bae2d=_0x38548d['getPivotTableModelConfig'](_0x3455d2,_0x39c1a9,_0x483588);return _0x1b9c38(_0x2bae2d,_0x5785e3),_0x38548d[_0x2a5e89(0x15c)]({'unitId':_0x3455d2,'subUnitId':_0x39c1a9,'token':_0x483588,'type':_0x20d852[_0x2a5e89(0x1ea)]}),!0x0;}},_0x2e2457={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x10fe29,_0x473942){const _0x24e1e5=_0x3dc404;if(!_0x473942)return!0x1;if(!!_0x10fe29[_0x24e1e5(0x1b1)](_0x9cf92b['IConfigService'])[_0x24e1e5(0x380)](_0x3ee12c))return!0x0;const _0xec225a=_0x10fe29['get'](_0x582d11[_0x24e1e5(0x3c0)]),{unitId:_0x55be08,subUnitId:_0x11e63e,pivotTableId:_0x4c26eb,sortInfo:_0x1e3653,fieldId:_0x29b008}=_0x473942,_0x1b3548=_0xec225a[_0x24e1e5(0x363)](_0x4c26eb);if(!_0x1b3548)return!0x1;_0x1b3548[_0x24e1e5(0x318)](_0x29b008,_0x1e3653);const _0x14cc17=_0xec225a[_0x24e1e5(0x20d)](_0x55be08,_0x11e63e,_0x4c26eb);return _0xf7009a(_0x14cc17,_0x473942),_0xec225a[_0x24e1e5(0x15c)]({'unitId':_0x55be08,'subUnitId':_0x11e63e,'token':_0x4c26eb,'type':_0x20d852[_0x24e1e5(0x1ea)]}),!0x0;}},_0x5f043d={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x2e3),'handler'(_0x5d925d,_0xb9068b){const _0x287d00=_0x3dc404;if(!_0xb9068b)return!0x1;if(!!_0x5d925d[_0x287d00(0x1b1)](_0x9cf92b['IConfigService'])[_0x287d00(0x380)](_0x3ee12c))return!0x0;const _0x373e29=_0x5d925d[_0x287d00(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x34e09c,subUnitId:_0xdda936,pivotTableId:_0x1b081a,fieldId:_0x46d741,subtotalType:_0x13550b}=_0xb9068b,_0x35b8c1=_0x373e29[_0x287d00(0x363)](_0x1b081a);if(!_0x35b8c1)return!0x1;_0x35b8c1[_0x287d00(0x39e)](_0x46d741,_0x13550b);const _0x36a2ea=_0x373e29[_0x287d00(0x20d)](_0x34e09c,_0xdda936,_0x1b081a);return _0x49ec28(_0x36a2ea,_0xb9068b),_0x373e29[_0x287d00(0x15c)]({'unitId':_0x34e09c,'subUnitId':_0xdda936,'token':_0x1b081a,'type':_0x20d852['Set']}),!0x0;}},_0x1a2958={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x346f53,_0x2816d2){const _0x2fd0e0=_0x3dc404;if(!_0x2816d2)return!0x1;if(!!_0x346f53[_0x2fd0e0(0x1b1)](_0x9cf92b[_0x2fd0e0(0x2fe)])[_0x2fd0e0(0x380)](_0x3ee12c))return!0x0;const _0x2926b9=_0x346f53[_0x2fd0e0(0x1b1)](_0x582d11[_0x2fd0e0(0x3c0)]),{unitId:_0x5c4567,subUnitId:_0x5742c7,pivotTableId:_0x4e79ee,fieldId:_0x326c6a,filterInfo:_0x525cdd}=_0x2816d2,_0x546287=_0x2926b9[_0x2fd0e0(0x363)](_0x4e79ee);if(!_0x546287)return!0x1;_0x546287[_0x2fd0e0(0x21b)](_0x326c6a,_0x525cdd);const _0x14417c=_0x2926b9[_0x2fd0e0(0x20d)](_0x5c4567,_0x5742c7,_0x4e79ee);return _0x470049(_0x14417c,_0x2816d2),_0x2926b9[_0x2fd0e0(0x15c)]({'unitId':_0x5c4567,'subUnitId':_0x5742c7,'token':_0x4e79ee,'type':_0x20d852[_0x2fd0e0(0x1ea)]}),!0x0;}},_0x2613dd={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x2d2),'handler'(_0x1e2d5c,_0x15a09c){const _0xbf3d15=_0x3dc404;if(!_0x15a09c)return!0x1;if(!!_0x1e2d5c['get'](_0x9cf92b[_0xbf3d15(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x345738=_0x1e2d5c[_0xbf3d15(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x122d1e,subUnitId:_0x1198f5,pivotTableId:_0x8fd41e,area:_0x2c78c4,index:_0x57bb74,fieldId:_0x463679}=_0x15a09c,_0xaac9ea=_0x345738[_0xbf3d15(0x363)](_0x8fd41e);if(!_0xaac9ea)return!0x1;_0xaac9ea['updateFieldPosition'](_0x463679,_0x2c78c4,_0x57bb74);const _0x59dd8b=_0x345738[_0xbf3d15(0x20d)](_0x122d1e,_0x1198f5,_0x8fd41e);return _0x4c19fb(_0x59dd8b,_0x15a09c),_0x345738['addDirtyPivotTable']({'unitId':_0x122d1e,'subUnitId':_0x1198f5,'token':_0x8fd41e,'type':_0x20d852[_0xbf3d15(0x1ea)]}),!0x0;}},_0x16ae19={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4ceeb3,_0x697c87){const _0x4ef992=_0x3dc404;if(!_0x697c87)return!0x1;if(!!_0x4ceeb3[_0x4ef992(0x1b1)](_0x9cf92b[_0x4ef992(0x2fe)])[_0x4ef992(0x380)](_0x3ee12c))return!0x0;const _0x479647=_0x4ceeb3[_0x4ef992(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x42aecf,subUnitId:_0x1f8aa9,pivotTableId:_0x20a337,sourceName:_0x16f9cd,dataFieldId:_0x45789e,tableFieldId:_0x1f6770}=_0x697c87,_0x8ad824=_0x479647[_0x4ef992(0x363)](_0x20a337);if(!_0x8ad824)return!0x1;_0x8ad824[_0x4ef992(0xd1)](_0x1f6770,_0x16f9cd,_0x45789e);const _0x40bfcc=_0x479647[_0x4ef992(0x20d)](_0x42aecf,_0x1f8aa9,_0x20a337);return _0x4fd4ab(_0x40bfcc,_0x697c87),_0x479647[_0x4ef992(0x15c)]({'unitId':_0x42aecf,'subUnitId':_0x1f8aa9,'token':_0x20a337,'type':_0x20d852[_0x4ef992(0x1ea)]}),!0x0;}},_0x34c4a7={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x362),'handler'(_0x42903c,_0x2f95e7){const _0x42d0bb=_0x3dc404;if(!_0x2f95e7)return!0x1;if(!!_0x42903c[_0x42d0bb(0x1b1)](_0x9cf92b[_0x42d0bb(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x4c48a9=_0x42903c[_0x42d0bb(0x1b1)](_0x582d11[_0x42d0bb(0x3c0)]),{unitId:_0x53e2ee,subUnitId:_0x300be1,pivotTableId:_0x29f618,valuePosition:_0x13a172,index:_0x7fb60b}=_0x2f95e7,_0x3b61cb=_0x4c48a9['getPivotTableInstance'](_0x29f618);if(!_0x3b61cb)return!0x1;_0x3b61cb[_0x42d0bb(0x3e0)](_0x13a172,_0x7fb60b);const _0x8815c=_0x4c48a9[_0x42d0bb(0x20d)](_0x53e2ee,_0x300be1,_0x29f618);return _0x5b0824(_0x8815c,_0x2f95e7),_0x4c48a9[_0x42d0bb(0x15c)]({'unitId':_0x53e2ee,'subUnitId':_0x300be1,'token':_0x29f618,'type':_0x20d852[_0x42d0bb(0x1ea)]}),!0x0;}};function _0x3fde14(_0x343a00,_0x1e3a86,_0x52d57d){const _0x703863=_0x3dc404,{pivotTableId:_0x55d522,unitId:_0x40be90,subUnitId:_0x11dc0}=_0x1e3a86,_0x4d60eb=[],_0x670b45=[];for(const _0x5a344b of _0x52d57d)switch(_0x5a344b[_0x703863(0x11c)]){case _0x399222[_0x703863(0xd2)][_0x703863(0x3c5)]:{const {fieldJson:_0x2153dd,area:_0x42a43d,index:_0xfc932e}=_0x5a344b,_0x4c697f={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldJson':_0x2153dd,'area':_0x42a43d,'index':_0xfc932e},_0x33a35a={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2153dd['id'],'area':_0x42a43d,'index':_0xfc932e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x650ffc['id'],'params':_0x4c697f}),_0x670b45['unshift']({'id':_0x1deb09['id'],'params':_0x33a35a});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x139)]:{const {fieldId:_0x319968,newSubtotalType:_0x13268d,oldSubtotalType:_0x24c76a}=_0x5a344b,_0x8e1e27={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x319968,'subtotalType':_0x13268d};_0x4d60eb[_0x703863(0x34a)]({'id':_0x5f043d['id'],'params':_0x8e1e27});const _0x3c201c={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x319968,'subtotalType':_0x24c76a};_0x670b45[_0x703863(0x2e1)]({'id':_0x5f043d['id'],'params':_0x3c201c});}break;case _0x399222['PivotTableChangeTypeEnum']['RemoveField']:{const {fieldId:_0x5c56db,fieldJson:_0x5f3e40,area:_0x1c879f,index:_0x25f2ae}=_0x5a344b,_0x5ce4e9={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x5c56db,'index':_0x25f2ae,'area':_0x1c879f};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1deb09['id'],'params':_0x5ce4e9});const _0x170ff4={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldJson':_0x5f3e40,'area':_0x1c879f,'index':_0x25f2ae};_0x670b45[_0x703863(0x2e1)]({'id':_0x650ffc['id'],'params':_0x170ff4});}break;case _0x399222['PivotTableChangeTypeEnum']['RenameField']:{const {fieldId:_0x48ee89,oldName:_0x1d0353,newName:_0x23ac3e}=_0x5a344b,_0x20ae6d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x48ee89,'name':_0x23ac3e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x5b87ea['id'],'params':_0x20ae6d});const _0x10bde5={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x48ee89,'name':_0x1d0353};_0x670b45[_0x703863(0x2e1)]({'id':_0x5b87ea['id'],'params':_0x10bde5});}break;case _0x399222['PivotTableChangeTypeEnum'][_0x703863(0x238)]:{const {fieldId:_0x2bcc42,oldFilterInfo:_0x7463c0,newFilterInfo:_0x523a01}=_0x5a344b,_0x11833a={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2bcc42,'filterInfo':_0x523a01};_0x4d60eb[_0x703863(0x34a)]({'id':_0x98ff['id'],'params':_0x11833a});const _0x98eed2={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2bcc42,'filterInfo':_0x7463c0};_0x670b45[_0x703863(0x2e1)]({'id':_0x98ff['id'],'params':_0x98eed2});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x146)]:{const {fieldId:_0x11b01d,oldSortInfo:_0x211e50,newSortInfo:_0x49cb21}=_0x5a344b,_0x44ce52={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x11b01d,'sortInfo':_0x49cb21};_0x4d60eb[_0x703863(0x34a)]({'id':_0x2e2457['id'],'params':_0x44ce52});const _0x33093b={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x11b01d,'sortInfo':_0x211e50};_0x670b45[_0x703863(0x2e1)]({'id':_0x2e2457['id'],'params':_0x33093b});}break;case _0x399222['PivotTableChangeTypeEnum'][_0x703863(0x1c2)]:{const {oldOptions:_0x5ca38d,newOptions:_0x338614}=_0x5a344b,_0x1d255d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'options':_0x338614};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1a435f['id'],'params':_0x1d255d});const _0x1faf0f={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'options':_0x5ca38d};_0x670b45[_0x703863(0x2e1)]({'id':_0x1a435f['id'],'params':_0x1faf0f});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x300)]:{const {oldArea:_0x57b267,newArea:_0x3454d1,oldIndex:_0x517b60,newIndex:_0x53d633,fieldId:_0xd943cc}=_0x5a344b,_0x410f7d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0xd943cc,'area':_0x3454d1,'index':_0x53d633,'oldArea':_0x57b267,'oldIndex':_0x517b60};_0x4d60eb[_0x703863(0x34a)]({'id':_0x2613dd['id'],'params':_0x410f7d});const _0x347ffa={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0xd943cc,'area':_0x57b267,'index':_0x517b60,'oldArea':_0x3454d1,'oldIndex':_0x53d633};_0x670b45[_0x703863(0x2e1)]({'id':_0x2613dd['id'],'params':_0x347ffa});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x12c)]:{const {oldValuePosition:_0x54cc1e,newValuePosition:_0x471627,oldIndex:_0x487d0b,newIndex:_0x256890}=_0x5a344b,_0x1c0337={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'valuePosition':_0x471627,'index':_0x256890};_0x4d60eb[_0x703863(0x34a)]({'id':_0x34c4a7['id'],'params':_0x1c0337});const _0x55afed={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'valuePosition':_0x54cc1e,'index':_0x487d0b};_0x670b45[_0x703863(0x2e1)]({'id':_0x34c4a7['id'],'params':_0x55afed});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x33c)]:{const {fieldId:_0x29e733,collapse:_0x3d7dec,item:_0x1fb3cb}=_0x5a344b,_0x2e272e={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x29e733,'collapse':_0x3d7dec,'item':_0x1fb3cb};_0x4d60eb[_0x703863(0x34a)]({'id':_0x423c02['id'],'params':_0x2e272e});const _0x22ef36={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x29e733,'collapse':!_0x3d7dec,'item':_0x1fb3cb};_0x670b45[_0x703863(0x2e1)]({'id':_0x423c02['id'],'params':_0x22ef36});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x377)]:{const {newFormat:_0x3450ec,oldFormat:_0x2b22cd,fieldId:_0x4c6787}=_0x5a344b,_0x740047={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x4c6787,'format':_0x3450ec};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1e447b['id'],'params':_0x740047});const _0x4eeb3e={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x4c6787,'format':_0x2b22cd};_0x670b45[_0x703863(0x2e1)]({'id':_0x1e447b['id'],'params':_0x4eeb3e});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x14f)]:{const {tableFieldId:_0x59c660,oldSourceName:_0x3b6dd7,newSourceName:_0xb50923,oldDataFieldId:_0x2a6787,newDataFieldId:_0x5280f4}=_0x5a344b,_0xa0cdcf={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'tableFieldId':_0x59c660,'sourceName':_0xb50923,'dataFieldId':_0x5280f4};_0x4d60eb['push']({'id':_0x16ae19['id'],'params':_0xa0cdcf});const _0x13bde7={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'tableFieldId':_0x59c660,'sourceName':_0x3b6dd7,'dataFieldId':_0x2a6787};_0x670b45[_0x703863(0x2e1)]({'id':_0x16ae19['id'],'params':_0x13bde7});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x1e5)]:{const {fieldId:_0x2c2616,filterInfo:_0x3b953e,oldFilterInfo:_0x59c00e}=_0x5a344b,_0x424722={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2c2616,'filterInfo':_0x3b953e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1a2958['id'],'params':_0x424722});const _0xb62ab6={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2c2616,'filterInfo':_0x59c00e};_0x670b45['unshift']({'id':_0x1a2958['id'],'params':_0xb62ab6});}}return{'redos':_0x4d60eb,'undos':_0x670b45};}function _0x440085(_0x371bc3,_0xe3b118){const _0x384310=_0x3dc404;var _0x32ef67;const _0x474799=_0x371bc3[_0x384310(0x1b1)](_0x582d11[_0x384310(0x163)]),{cellInfo:_0x38ec48,view:_0x2eb9b7,isEmpty:_0x331734}=_0xe3b118;return(_0x32ef67=_0x474799['interceptor'][_0x384310(0x250)](_0x3ce801)(_0x39a6bf,{'cellInfo':_0x38ec48,'view':_0x2eb9b7,'isEmpty':_0x331734}))!=null?_0x32ef67:_0x39a6bf;}const _0xa5379e={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x2ca),async 'handler'(_0x22ba53,_0x33320d){const _0x28198f=_0x3dc404;if(!_0x33320d)return!0x1;const _0x5c62e4=_0x22ba53[_0x28198f(0x1b1)](_0x9cf92b[_0x28198f(0x3c9)]),_0x3ce482=_0x22ba53[_0x28198f(0x1b1)](_0x582d11['SheetsPivotRPCService']),_0x19bfc3=_0x22ba53[_0x28198f(0x1b1)](_0x9cf92b[_0x28198f(0xbb)]),{pivotTableId:_0x556235,dataFieldId:_0x13fd45,fieldArea:_0x4a53f0,index:_0x46c1ab,unitId:_0x3b2c83,subUnitId:_0x36afed}=_0x33320d,_0x2c99d8=(await _0x3ce482[_0x28198f(0x35c)]({'unitId':_0x3b2c83,'subUnitId':_0x36afed,'pivotTableId':_0x556235,'params':{'type':_0x4651ca[_0x28198f(0x343)],'addPivotField':{'dataFieldId':_0x13fd45,'fieldArea':_0x4a53f0,'index':_0x46c1ab}}}))['result'][_0x28198f(0x11a)];if(!_0x2c99d8)return!0x1;const {view:_0x1ff72e,changesets:_0x473de7,isEmpty:_0x67bd3f,pivotTableConfig:_0x557a41,shouldBeAddedGroupJSON:_0x213347}=_0x2c99d8,_0x1128b6=_0x557a41[_0x28198f(0x1ca)],_0xe9da42=new _0x399222['PivotView']();_0xe9da42[_0x28198f(0xcb)](_0x1ff72e);const _0x5e39ac={'cellInfo':_0x1128b6,'view':_0xe9da42,'isEmpty':_0x67bd3f};if(!await _0x22ba53['get'](_0x582d11[_0x28198f(0x163)])['asyncInterceptor'][_0x28198f(0x168)](_0x44e1c4)(!0x0,_0x5e39ac))return!0x1;const _0x473481=_0xfa0513(_0x22ba53,_0xe9da42,_0x1128b6,_0x67bd3f),_0x5908e5=_0x440085(_0x22ba53,_0x5e39ac),{undos:_0x389e2e,redos:_0xf7462}=_0x3fde14(_0x5c62e4,{'pivotTableId':_0x556235,'unitId':_0x3b2c83,'subUnitId':_0x36afed},_0x473de7);return _0x213347&&(_0xf7462[_0x28198f(0x2e1)]({'id':_0x57efd5['id'],'params':{'pivotTableId':_0x556235,'fieldJSON':_0x213347,'unitId':_0x3b2c83,'subUnitId':_0x36afed}}),_0x389e2e[_0x28198f(0x34a)]({'id':_0x1b6944['id'],'params':{'pivotTableId':_0x556235,'dataFieldId':_0x213347['id'],'unitId':_0x3b2c83,'subUnitId':_0x36afed}})),_0x9cf92b[_0x28198f(0x3c8)]([..._0x473481[_0x28198f(0x143)],..._0x5908e5[_0x28198f(0x143)],..._0xf7462],_0x5c62e4),_0x19bfc3['pushUndoRedo']({'unitID':_0x3b2c83,'redoMutations':[..._0x473481[_0x28198f(0x143)],..._0x5908e5['redos'],..._0xf7462],'undoMutations':[..._0x473481[_0x28198f(0xbe)],..._0x5908e5[_0x28198f(0xbe)],..._0x389e2e]}),!0x0;}},_0x467c51=()=>typeof process<'u'&&process[_0x3dc404(0xc0)]!=null&&process[_0x3dc404(0xc0)][_0x3dc404(0xee)]!=null,_0x16a837={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x3be),'handler'(_0x4c60a7,_0x2d1e18){const _0x236b39=_0x3dc404;var _0x2792fa;if(!_0x2d1e18)return!0x1;const _0x54b177=_0x4c60a7[_0x236b39(0x1b1)](_0x9cf92b[_0x236b39(0x2fe)]);if(!!_0x54b177['getConfig'](_0x3ee12c))return!0x0;const _0x2f92c7=_0x4c60a7[_0x236b39(0x1b1)](_0x9cf92b[_0x236b39(0x2f5)]),_0x22fcc0=_0x4c60a7[_0x236b39(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{pivotTableId:_0x1f151c,pivotTableConfig:_0x2a4776,collectionConfig:_0x3a51ca,unitId:_0xe88c89,subUnitId:_0x3df6f3}=_0x2d1e18,{sourceRangeInfo:_0x15cfac,fieldsConfig:_0xbefd5d,targetCellInfo:_0x5cc17a}=_0x2a4776,_0x3c9e5e=_0x2f92c7[_0x236b39(0x1b6)](_0xe88c89);if(!_0x3c9e5e||!_0x3c9e5e['getSheetBySheetId'](_0x3df6f3))return!0x1;if(!_0x467c51()){let _0x4ef1c1=0x0;_0x3c9e5e['getSheets']()[_0x236b39(0xfe)](_0x31d184=>{const _0x2a4848=_0x236b39;var _0x50ebb4,_0x4142d3;_0x4ef1c1+=(_0x4142d3=(_0x50ebb4=_0x22fcc0[_0x2a4848(0x266)](_0xe88c89,_0x31d184[_0x2a4848(0x2d1)]()))==null?void 0x0:_0x50ebb4[_0x2a4848(0x128)])!=null?_0x4142d3:0x0;});const _0x356817=(_0x2792fa=_0x54b177[_0x236b39(0x380)](_0x4f64c3[_0x236b39(0x391)]))!=null?_0x2792fa:{},{ls:_0x34f00f,pbk:_0x174ecc}=_0x356817;if(!_0x5239b9(_0x34f00f,_0x174ecc))throw new _0x9cf92b['CustomCommandExecutionError'](_0x236b39(0x33a));const _0x1688e7=_0x5e17ca(_0x3cfec6,_0x34f00f,_0x174ecc)[_0x236b39(0x184)];if(_0x4ef1c1>=_0x1688e7)throw new _0x9cf92b[(_0x236b39(0x2c0))](_0x236b39(0x33a));}if(!_0x3a51ca||!_0xbefd5d)return!0x1;const {collection:_0x1f6e0a,updateDataFieldList:_0x47db9d}=_0x22fcc0[_0x236b39(0x3e5)](_0x1f151c,_0x3a51ca,_0x15cfac,_0x5cc17a);_0x22fcc0['refreshData'](_0x1f6e0a,_0x47db9d,_0x15cfac);const _0x543b5d=new _0x399222[(_0x236b39(0x24d))](_0x1f6e0a,void 0x0,_0x1f151c);_0x543b5d[_0x236b39(0x106)](_0xbefd5d);const _0x5285cc=JSON['parse'](JSON[_0x236b39(0x124)](_0x2a4776));return _0x22fcc0[_0x236b39(0x35b)](_0xe88c89,_0x3df6f3,_0x1f151c,_0x543b5d,_0x5285cc),_0x22fcc0[_0x236b39(0x15c)]({'unitId':_0xe88c89,'subUnitId':_0x3df6f3,'token':_0x1f151c,'type':_0x20d852[_0x236b39(0x282)],'pivotConfig':_0x5285cc}),!0x0;}},_0x47c177={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x2f1),async 'handler'(_0x5ba0b5,_0x20ad3b){const _0x2c7cdd=_0x3dc404;if(!_0x20ad3b)return!0x1;const {sourceDataInfo:_0x108a8c,pivotTableConfig:_0x5361ff}=_0x20ad3b;if(!_0x108a8c||!_0x5361ff)return!0x1;const {unitId:_0x336c39,subUnitId:_0x4dba23,range:_0x471ce8}=_0x108a8c,_0x222f41=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b[_0x2c7cdd(0x2f5)]),_0x5a881e=_0x5ba0b5['get'](_0x582d11[_0x2c7cdd(0x1b0)]),_0x36f7ad=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b['LocaleService']),_0x1c6268=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b[_0x2c7cdd(0x3c9)]),_0x589132=_0x222f41[_0x2c7cdd(0x1b6)](_0x336c39);if(!_0x589132)return!0x1;const _0x14eafc=_0x589132[_0x2c7cdd(0x379)](_0x4dba23);if(!_0x14eafc)return!0x1;const _0x347224=_0x399222[_0x2c7cdd(0x191)](0x8),_0x3f0b12=_0x471ce8||{'startRow':0x0,'startColumn':0x0,'endRow':_0x14eafc[_0x2c7cdd(0x393)]()-0x1,'endColumn':_0x14eafc['getColumnCount']()-0x1};_0x3f0b12[_0x2c7cdd(0x2c2)]=_0x9cf92b['RANGE_TYPE'][_0x2c7cdd(0x27d)];const _0x38ecf7=(await _0x5a881e[_0x2c7cdd(0x35c)]({'unitId':_0x336c39,'subUnitId':_0x4dba23,'pivotTableId':_0x347224,'params':{'type':_0x4651ca[_0x2c7cdd(0x35d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x336c39,'sheetName':_0x14eafc['getName'](),'subUnitId':_0x4dba23,'range':_0x3f0b12},'pivotTableId':_0x347224,'pivotTableIndexConfig':_0x5361ff}}}))[_0x2c7cdd(0x2f3)][_0x2c7cdd(0x28a)];if(!_0x38ecf7)return!0x1;const {isEmpty:_0x168616,fieldsConfig:_0x41b1b8,collectionConfig:_0x453df5,changesets:_0x3ec470}=_0x38ecf7,_0x4bd2d7=_0x589132['getSheets']()['length'],_0x817e60=_0x9cf92b[_0x2c7cdd(0x2ef)]({'rowCount':_0x14eafc[_0x2c7cdd(0x393)]()-0x1,'columnCount':_0x14eafc[_0x2c7cdd(0xfb)]()-0x1});_0x817e60['id']=_0x9cf92b[_0x2c7cdd(0x19c)](),_0x817e60[_0x2c7cdd(0x3d6)]=_0x589132[_0x2c7cdd(0x25e)](''+_0x36f7ad['t']('sheets.tabs.sheet'));const _0x234cb5={'index':_0x4bd2d7,'sheet':_0x817e60,'unitId':_0x336c39},{redos:_0x15b862}=_0x3fde14(_0x1c6268,{'pivotTableId':_0x347224,'unitId':_0x336c39,'subUnitId':_0x817e60['id']},_0x3ec470),_0x288a1c=[{'id':_0x165f3c[_0x2c7cdd(0x207)]['id'],'params':_0x234cb5},{'id':_0x16a837['id'],'params':{'unitId':_0x336c39,'subUnitId':_0x817e60['id'],'pivotTableId':_0x347224,'pivotTableConfig':{'isEmpty':_0x168616,'fieldsConfig':_0x41b1b8,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x336c39,'subUnitId':_0x817e60['id']},'sourceRangeInfo':{'subUnitId':_0x4dba23,'unitId':_0x336c39,'range':_0x3f0b12,'sheetName':_0x14eafc[_0x2c7cdd(0x220)]()}},'collectionConfig':_0x453df5}},..._0x15b862];return _0x9cf92b[_0x2c7cdd(0x3c8)](_0x288a1c,_0x1c6268),!0x0;}},_0x41c01a={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1c8),'handler'(_0x27d43e,_0xd90c22){const _0x293904=_0x3dc404;if(!_0xd90c22)return!0x1;if(!!_0x27d43e['get'](_0x9cf92b['IConfigService'])['getConfig'](_0x3ee12c))return!0x0;const {pivotTableId:_0x2475c6,unitId:_0x8ccd2a,subUnitId:_0x845281}=_0xd90c22,_0xc23871=_0x27d43e['get'](_0x582d11['SheetsPivotDataSourceModel']);return _0xc23871[_0x293904(0x17c)](_0x8ccd2a,_0x845281,_0x2475c6)?(_0xc23871[_0x293904(0x15c)]({'unitId':_0x8ccd2a,'subUnitId':_0x845281,'token':_0x2475c6,'type':_0x20d852[_0x293904(0x38e)]}),_0xc23871['removePivotTable'](_0x8ccd2a,_0x845281,_0x2475c6),!0x0):!0x1;}},_0x4cbe1d={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x22d),async 'handler'(_0x5c9e16,_0x1eee50){const _0x955e13=_0x3dc404;var _0x2526b9,_0x1766a3;const _0x45d180=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b['ICommandService']),_0x26e3b9=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x2f5)]),_0x592e99=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x322)]),_0x4db5fb=_0x5c9e16[_0x955e13(0x1b1)](_0x582d11[_0x955e13(0x1b0)]),_0x3a2aea=_0x5c9e16['get'](_0x9cf92b[_0x955e13(0xbb)]),_0x423a46=_0x5c9e16[_0x955e13(0x1b1)](_0x582d11[_0x955e13(0x2a8)]),_0x4c515b=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x2fe)]);if(!_0x1eee50)return!0x1;const {pivotTableConfig:_0x20068a,positionType:_0x28b1d1}=_0x1eee50,{targetCellInfo:_0x3e5da8,sourceRangeInfo:_0x118e22}=_0x20068a,{unitId:_0x3ad944,subUnitId:_0x3c4d3b}=_0x3e5da8,_0x5a1e31=_0x26e3b9['getUnit'](_0x3ad944);if(!_0x5a1e31)return!0x1;let _0x30a01c=0x0;_0x5a1e31['getSheets']()[_0x955e13(0xfe)](_0x48dca8=>{const _0xc3ad82=_0x955e13;var _0x31049e,_0x524d9a;_0x30a01c+=(_0x524d9a=(_0x31049e=_0x423a46[_0xc3ad82(0x266)](_0x3ad944,_0x48dca8[_0xc3ad82(0x2d1)]()))==null?void 0x0:_0x31049e[_0xc3ad82(0x128)])!=null?_0x524d9a:0x0;});const _0x34257d=(_0x2526b9=_0x4c515b[_0x955e13(0x380)](_0x4f64c3['LS_CONFIG_KEY']))!=null?_0x2526b9:{},{ls:_0x5b1cd1,pbk:_0x506e9d}=_0x34257d;if(!_0x5239b9(_0x5b1cd1,_0x506e9d))return!0x1;const _0x4a1f9f=_0x5e17ca(_0x3cfec6,_0x5b1cd1,_0x506e9d)[_0x955e13(0x184)];if(_0x30a01c>=_0x4a1f9f)return!0x1;const _0x1112c6=_0x1eee50['pivotTableId']||_0x399222[_0x955e13(0x191)](0x8),_0x566399=(await _0x4db5fb['getPivotDisplayConfig']({'unitId':_0x3ad944,'subUnitId':_0x3c4d3b,'pivotTableId':_0x1112c6,'params':{'type':_0x4651ca[_0x955e13(0x374)],'addPivotTable':{'sourceRangeInfo':_0x118e22,'pivotTableId':_0x1112c6}}}))['result']['addPivotTable'];if(!_0x566399)return!0x1;const {view:_0xfafff,isEmpty:_0x3c8e55,fieldsConfig:_0x1a07bf,collectionConfig:_0x5a20e2}=_0x566399,_0x45a5f0=[],_0x468bd2=[];if(_0x28b1d1===_0x3f33c5[_0x955e13(0x22b)]){const _0xd4d96d=_0x5a1e31[_0x955e13(0x345)]()['length'],_0x18e0da=_0x9cf92b['mergeWorksheetSnapshotWithDefault']({});_0x18e0da['id']=_0x20068a[_0x955e13(0x1ca)]['subUnitId'],_0x18e0da[_0x955e13(0x3d6)]=(_0x1766a3=_0x20068a['targetCellInfo'][_0x955e13(0x1a6)])!=null?_0x1766a3:_0x5a1e31[_0x955e13(0x25e)](''+_0x592e99['t']('sheets.tabs.sheet'));const _0x2abdb6={'index':_0xd4d96d,'sheet':_0x18e0da,'unitId':_0x3ad944},_0x36049f=_0x165f3c[_0x955e13(0x2b1)](_0x5c9e16,_0x2abdb6);_0x45a5f0[_0x955e13(0x34a)]({'id':_0x165f3c[_0x955e13(0xed)]['id'],'params':_0x36049f}),_0x468bd2['push']({'id':_0x165f3c[_0x955e13(0x252)]['id'],'params':_0x2abdb6});}else{if(!_0x5a1e31[_0x955e13(0x379)](_0x3c4d3b))return!0x1;const _0x5d11f4=_0xfa0513(_0x5c9e16,new _0x399222[(_0x955e13(0x162))](),_0x3e5da8,!0x0);_0x468bd2[_0x955e13(0x34a)](..._0x5d11f4[_0x955e13(0x143)]),_0x45a5f0[_0x955e13(0x34a)](..._0x5d11f4[_0x955e13(0xbe)]);const _0x12016b={'cellInfo':_0x3e5da8,'view':_0xfafff,'isEmpty':_0x3c8e55};if(!await _0x5c9e16['get'](_0x582d11['SheetsPivotTableService'])[_0x955e13(0x1e7)][_0x955e13(0x168)](_0x44e1c4)(!0x0,_0x12016b))return!0x1;const _0x319fe6=_0x440085(_0x5c9e16,_0x12016b);_0x468bd2[_0x955e13(0x34a)](..._0x319fe6[_0x955e13(0x143)]),_0x45a5f0[_0x955e13(0x34a)](..._0x319fe6[_0x955e13(0xbe)]);}return _0x468bd2['push']({'id':_0x16a837['id'],'params':{'unitId':_0x3e5da8[_0x955e13(0x10b)],'subUnitId':_0x3e5da8[_0x955e13(0x103)],'pivotTableId':_0x1112c6,'pivotTableConfig':{'targetCellInfo':_0x3e5da8,'sourceRangeInfo':_0x118e22,'fieldsConfig':_0x1a07bf},'collectionConfig':_0x5a20e2}}),_0x45a5f0['unshift']({'id':_0x41c01a['id'],'params':{'unitId':_0x3ad944,'subUnitId':_0x3c4d3b,'pivotTableId':_0x1112c6}}),_0x9cf92b[_0x955e13(0x3c8)](_0x468bd2,_0x45d180)&&_0x3a2aea[_0x955e13(0x1ab)]({'unitID':_0x3ad944,'undoMutations':_0x45a5f0,'redoMutations':_0x468bd2}),!0x0;}},_0x2e36c4={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x20e),async 'handler'(_0x110976,_0x54b181){const _0x182a1e=_0x3dc404;if(!_0x54b181)return!0x1;const _0x58ac5c=_0x110976['get'](_0x9cf92b['ICommandService']),_0x2b2fb3=_0x110976['get'](_0x582d11[_0x182a1e(0x1b0)]),_0x5cfe19=_0x110976[_0x182a1e(0x1b1)](_0x9cf92b[_0x182a1e(0xbb)]),{pivotTableId:_0x1eb03e,fieldId:_0x1db876,area:_0x232fca,index:_0x3dafb2,unitId:_0x4458ad,subUnitId:_0x317101}=_0x54b181,_0x2c325e=(await _0x2b2fb3[_0x182a1e(0x35c)]({'unitId':_0x4458ad,'subUnitId':_0x317101,'pivotTableId':_0x1eb03e,'params':{'type':_0x4651ca[_0x182a1e(0x1aa)],'movePivotField':{'fieldId':_0x1db876,'area':_0x232fca,'index':_0x3dafb2}}}))[_0x182a1e(0x2f3)][_0x182a1e(0x161)];if(!_0x2c325e)return!0x1;const {changesets:_0x250774,view:_0x37492e,isEmpty:_0x37a339,pivotTableConfig:_0x1571a1}=_0x2c325e,_0xb16f48=_0x1571a1[_0x182a1e(0x1ca)],_0x4ce6aa=new _0x399222[(_0x182a1e(0x162))]();_0x4ce6aa['formJSON'](_0x37492e);const _0x5366ab={'cellInfo':_0xb16f48,'view':_0x4ce6aa,'isEmpty':_0x37a339};if(!await _0x110976[_0x182a1e(0x1b1)](_0x582d11[_0x182a1e(0x163)])[_0x182a1e(0x1e7)]['fetchThroughAsyncInterceptors'](_0x44e1c4)(!0x0,_0x5366ab))return!0x1;const _0x3a73ea=_0xfa0513(_0x110976,_0x4ce6aa,_0xb16f48,_0x37a339),_0x429f35=_0x440085(_0x110976,_0x5366ab),{redos:_0x36e734,undos:_0x51bada}=_0x3fde14(_0x58ac5c,{'pivotTableId':_0x1eb03e,'unitId':_0x4458ad,'subUnitId':_0x317101},_0x250774);return _0x9cf92b['sequenceExecute']([..._0x3a73ea[_0x182a1e(0x143)],..._0x429f35[_0x182a1e(0x143)],..._0x36e734],_0x58ac5c),_0x5cfe19[_0x182a1e(0x1ab)]({'unitID':_0x4458ad,'redoMutations':[..._0x3a73ea[_0x182a1e(0x143)],..._0x429f35[_0x182a1e(0x143)],..._0x36e734],'undoMutations':[..._0x3a73ea[_0x182a1e(0xbe)],..._0x429f35[_0x182a1e(0xbe)],..._0x51bada]}),!0x0;}},_0x5a33fa={'type':_0x9cf92b['CommandType']['MUTATION'],'id':_0x3dc404(0x12d),'handler'(_0x2c2a4b,_0x6dc4e5){const _0x5bb9c7=_0x3dc404;if(!_0x6dc4e5)return!0x1;if(!!_0x2c2a4b['get'](_0x9cf92b[_0x5bb9c7(0x2fe)])[_0x5bb9c7(0x380)](_0x3ee12c))return!0x0;const {pivotTableId:_0x55dd6d,targetCellPosition:_0x5da235,unitId:_0xd7cc46,subUnitId:_0x2fa098}=_0x6dc4e5,_0x55f798=_0x2c2a4b[_0x5bb9c7(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']);if(!_0x55f798[_0x5bb9c7(0x363)](_0x6dc4e5[_0x5bb9c7(0x22f)]))return!0x1;const _0x4ec697=_0x55f798[_0x5bb9c7(0x1bc)](_0x55dd6d);if(!_0x4ec697)return!0x1;const _0x4b4ccb=_0x55f798['getCollection'](_0x4ec697[_0x5bb9c7(0x10b)],_0x6dc4e5['pivotTableId']);if(!_0x4b4ccb)return!0x1;const _0x5a2415=_0x55f798[_0x5bb9c7(0x17c)](_0x4ec697['unitId'],_0x4ec697['subUnitId'],_0x55dd6d);if(!_0x5a2415)return!0x1;const _0x211fbc=_0x9cf92b[_0x5bb9c7(0x24b)][_0x5bb9c7(0x376)](_0x5a2415);_0x211fbc[_0x5bb9c7(0x1ca)]={'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'row':_0x5da235[_0x5bb9c7(0x100)],'col':_0x5da235[_0x5bb9c7(0x305)]};const _0x135a71=_0x4b4ccb[_0x5bb9c7(0x3b5)]();if(_0x4ec697[_0x5bb9c7(0x103)]===_0x2fa098&&_0x4ec697['unitId']===_0xd7cc46)_0x55f798[_0x5bb9c7(0x24a)](_0xd7cc46,_0x2fa098,_0x55dd6d,_0x211fbc),_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'token':_0x55dd6d,'type':_0x20d852['Set']});else{_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0x4ec697['unitId'],'subUnitId':_0x4ec697[_0x5bb9c7(0x103)],'token':_0x55dd6d,'type':_0x20d852[_0x5bb9c7(0x38e)]}),_0x55f798[_0x5bb9c7(0x158)](_0x4ec697['unitId'],_0x4ec697['subUnitId'],_0x55dd6d);const _0x33ed7a=_0x55f798[_0x5bb9c7(0x3e5)](_0x55dd6d,_0x135a71,_0x5a2415['sourceRangeInfo'],_0x211fbc[_0x5bb9c7(0x1ca)]),_0x31a87b=new _0x399222[(_0x5bb9c7(0x24d))](_0x33ed7a['collection'],void 0x0,_0x55dd6d);_0x31a87b[_0x5bb9c7(0x106)](_0x211fbc[_0x5bb9c7(0x297)]),_0x55f798['addPivotTable'](_0xd7cc46,_0x2fa098,_0x55dd6d,_0x31a87b,_0x211fbc),_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'token':_0x55dd6d,'type':_0x20d852[_0x5bb9c7(0x282)],'pivotConfig':_0x211fbc});}return!0x0;}},_0x51fa98={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.move-pivot-table','handler':(_0x1bef0b,_0x3d6852)=>{const _0x362a01=_0x3dc404,_0x17ced0=_0x1bef0b[_0x362a01(0x1b1)](_0x9cf92b[_0x362a01(0x3c9)]),_0x1f52ca=_0x1bef0b['get'](_0x9cf92b[_0x362a01(0xbb)]),_0x14a262=_0x1bef0b[_0x362a01(0x1b1)](_0x582d11[_0x362a01(0x2a8)]),_0x5821e0=_0x1bef0b[_0x362a01(0x1b1)](_0x9cf92b[_0x362a01(0x2f5)]);if(!_0x3d6852)return!0x1;const _0x241d95=_0x165f3c[_0x362a01(0x28d)](_0x5821e0);if(!_0x241d95)return!0x1;const {unitId:_0x1a967e,subUnitId:_0x308097,workbook:_0x45092c}=_0x241d95,_0x2ec41b=_0x14a262[_0x362a01(0x17c)](_0x3d6852[_0x362a01(0x280)][_0x362a01(0x10b)],_0x3d6852['originTargetInfo']['subUnitId'],_0x3d6852[_0x362a01(0x22f)]);if(!_0x2ec41b)return!0x1;const _0xc8be40=_0x45092c[_0x362a01(0x379)](_0x3d6852[_0x362a01(0x1ca)]['subUnitId']);if(!_0xc8be40)throw new Error(_0x362a01(0x127));const _0x49a857=_0xc8be40[_0x362a01(0x393)](),_0x174931=_0xc8be40[_0x362a01(0xfb)]();if(_0x3d6852['targetCellInfo']['row']>_0x49a857||_0x3d6852['targetCellInfo'][_0x362a01(0x305)]>_0x174931)throw new Error(_0x362a01(0x3c7));const _0x55a062=[{'id':_0x5a33fa['id'],'params':{'unitId':_0x1a967e,'subUnitId':_0x3d6852[_0x362a01(0x1ca)]['subUnitId'],'pivotTableId':_0x3d6852[_0x362a01(0x22f)],'targetCellPosition':{'row':_0x3d6852['targetCellInfo'][_0x362a01(0x100)],'col':_0x3d6852[_0x362a01(0x1ca)][_0x362a01(0x305)]}}}],_0x5bee27=[{'id':_0x5a33fa['id'],'params':{'unitId':_0x1a967e,'subUnitId':_0x308097,'pivotTableId':_0x3d6852[_0x362a01(0x22f)],'targetCellPosition':{'row':_0x2ec41b[_0x362a01(0x1ca)][_0x362a01(0x100)],'col':_0x2ec41b[_0x362a01(0x1ca)][_0x362a01(0x305)]}}}];return _0x9cf92b[_0x362a01(0x3c8)](_0x55a062,_0x17ced0)&&_0x1f52ca[_0x362a01(0x1ab)]({'unitID':_0x1a967e,'undoMutations':_0x5bee27,'redoMutations':_0x55a062}),!0x0;}},_0x37db6f={'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'id':_0x3dc404(0x2dc),async 'handler'(_0xc0137d,_0xf721d8){const _0xc81c8b=_0x3dc404;var _0x1990ee;if(!_0xf721d8)return!0x1;const _0x2f3c87=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x2f5)]),_0x3521f6=_0x165f3c[_0xc81c8b(0x28d)](_0x2f3c87);if(!_0x3521f6)return!0x1;const {unitId:_0x5d1444,subUnitId:_0x13f8cc,workbook:_0x34eb50}=_0x3521f6,{row:_0x3c4146,col:_0x179505}=_0xf721d8,_0x5d2b74=_0xc0137d['get'](_0x582d11['SheetsPivotTableAdaptorModel']),_0x49d448=_0x5d2b74[_0xc81c8b(0x271)](_0x5d1444,_0x13f8cc,_0x3c4146,_0x179505);if(!_0x49d448)return!0x1;const _0x541e3f=(_0x1990ee=_0x5d2b74[_0xc81c8b(0x1c5)](_0x5d1444,_0x13f8cc,_0x49d448))==null?void 0x0:_0x1990ee[_0xc81c8b(0x347)];if(!_0x541e3f)return!0x1;const _0x434361=_0xc0137d[_0xc81c8b(0x1b1)](_0x582d11[_0xc81c8b(0x2a8)])[_0xc81c8b(0x17c)](_0x5d1444,_0x13f8cc,_0x49d448);if(!_0x434361)return!0x1;const {rowInfo:_0x1fcd90,colInfo:_0x350a3f}=_0x541e3f,_0x5d15b2=_0x1fcd90[_0x3c4146][_0xc81c8b(0x1bb)],_0x5531fa=_0x350a3f[_0x179505]['paths'],_0x5b3711=_0x1fcd90[_0x3c4146][_0xc81c8b(0x123)],_0x30859b=_0x350a3f[_0x179505][_0xc81c8b(0x123)],_0x5aa8ad=_0x5d15b2['concat'](_0x5531fa),_0x73aba0=_0x434361[_0xc81c8b(0x297)]['rowFields'][_0xc81c8b(0x25f)](0x0,_0x5b3711),_0x5ef6f4=_0x434361[_0xc81c8b(0x297)][_0xc81c8b(0x2a0)][_0xc81c8b(0x25f)](0x0,_0x30859b),_0x38c964=_0x73aba0['concat'](_0x5ef6f4),_0xb64c1d=_0x5aa8ad[_0xc81c8b(0x34e)]((_0x3600e9,_0x5e31d7)=>[_0x3600e9,_0x38c964[_0x5e31d7]]),_0x4517b1=(await _0xc0137d[_0xc81c8b(0x1b1)](_0x582d11[_0xc81c8b(0x1b0)])[_0xc81c8b(0x35c)]({'unitId':_0x5d1444,'subUnitId':_0x13f8cc,'pivotTableId':_0x49d448,'params':{'type':_0x4651ca[_0xc81c8b(0x3e2)],'drillDown':{'tuple':_0xb64c1d}}}))[_0xc81c8b(0x2f3)][_0xc81c8b(0x3e4)];if(!_0x4517b1)return!0x1;const {indexes:_0x597558,range:_0x31f29e,sourceUnitId:_0x1fc5a2,sourceSubUnitId:_0xf4b4eb,formatMap:_0x20bd55}=_0x4517b1,{startRow:_0x5d36e8,endRow:_0x5498b2,startColumn:_0x1bcf8c,endColumn:_0xe08ca7}=_0x31f29e,_0x326608=new _0x9cf92b[(_0xc81c8b(0x37c))](),_0x1dc9de=_0x5498b2-_0x5d36e8,_0x4c7e57=_0xe08ca7-_0x1bcf8c,_0x96a6f9={},_0x13fa84=_0x165f3c[_0xc81c8b(0x28d)](_0x2f3c87,{'unitId':_0x1fc5a2,'subUnitId':_0xf4b4eb});if(!_0x13fa84)return!0x1;const _0x4650f4=_0x22c6a2[_0xc81c8b(0x3cd)],_0x5f0718=_0x22c6a2['subTotalStyle'],_0x1a6fbd=_0x22c6a2[_0xc81c8b(0x1a0)],_0x41736e=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x4650f4),_0x3c5db3=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x5f0718),_0x256bb6=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x1a6fbd),{worksheet:_0xf1f510}=_0x13fa84;let _0x17b347=0x0;const _0x3d00bb=0x1;_0x597558['forEach'](_0x25a1bd=>{const _0x5078fa=_0xc81c8b;for(let _0x1f9aaa=0x0;_0x1f9aaa<=_0xe08ca7-_0x1bcf8c;_0x1f9aaa++)_0x326608[_0x5078fa(0x31f)](_0x17b347,_0x1f9aaa,_0xf1f510[_0x5078fa(0x2b8)](_0x25a1bd+_0x31f29e[_0x5078fa(0x204)]+_0x3d00bb,_0x1f9aaa));_0x17b347++;});for(let _0x14614a=_0x1bcf8c;_0x14614a<=_0xe08ca7;_0x14614a++){const _0x32ac06=_0xf1f510['getCellRaw'](_0x5d36e8,_0x14614a);_0x96a6f9[_0x5d36e8]||(_0x96a6f9[_0x5d36e8]={}),_0x96a6f9[_0x5d36e8][_0x14614a]={..._0x32ac06,'s':_0x41736e};}let _0x236b73=0x1;const _0x517ea0={},_0x5368f8={};_0x326608['forRow']((_0x123102,_0x214049)=>{_0x214049['forEach'](_0x590fb6=>{const _0x295b73=_0x3474,_0x49d9ca=_0x326608['getValue'](_0x123102,_0x590fb6);if(_0x96a6f9[_0x236b73]||(_0x96a6f9[_0x236b73]={}),_0x96a6f9[_0x236b73][_0x590fb6]={..._0x49d9ca,'s':_0x236b73%0x2===0x0?_0x256bb6:_0x3c5db3},_0x20bd55[_0x590fb6]&&_0x123102>=0x0){const _0x255689=_0x236b73%0x2===0x0;let _0xf2b716=_0x255689?_0x5368f8[_0x590fb6]:_0x517ea0[_0x590fb6];_0xf2b716||(_0xf2b716=_0x34eb50[_0x295b73(0x192)]()['setValue']({..._0x255689?_0x1a6fbd:_0x5f0718,'n':{'pattern':_0x20bd55[_0x590fb6]}}),_0x255689?_0x5368f8[_0x590fb6]=_0xf2b716:_0x517ea0[_0x590fb6]=_0xf2b716),_0x96a6f9[_0x236b73][_0x590fb6]['s']=_0xf2b716;}}),_0x236b73++;});const _0x53235d=new _0x9cf92b[(_0xc81c8b(0x37c))](_0x96a6f9),_0x2eb8f8={};_0x53235d[_0xc81c8b(0x16e)]((_0x302f7a,_0x19c38c,_0x5d8c0b)=>{_0x2eb8f8[_0x302f7a]||(_0x2eb8f8[_0x302f7a]={}),_0x2eb8f8[_0x302f7a][_0x19c38c]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5454a1=[],_0x424b41=[],_0x240a82=_0x34eb50['getSheets']()['length'],_0x4c61fb=_0x9cf92b[_0xc81c8b(0x2ef)]({'rowCount':Math['max'](_0x9cf92b[_0xc81c8b(0x1f4)],_0x1dc9de+0xa),'columnCount':Math[_0xc81c8b(0x15d)](_0x9cf92b[_0xc81c8b(0x344)],_0x4c7e57+0x5)}),_0x5f35e0=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x322)]);_0x4c61fb['id']=_0x9cf92b[_0xc81c8b(0x19c)](),_0x4c61fb[_0xc81c8b(0x3d6)]=_0x34eb50[_0xc81c8b(0x25e)](''+_0x5f35e0['t'](_0xc81c8b(0x178)));const _0x19257d={'index':_0x240a82,'sheet':_0x4c61fb,'unitId':_0x5d1444},_0x1b5b43=_0x165f3c['InsertSheetUndoMutationFactory'](_0xc0137d,_0x19257d);_0x424b41[_0xc81c8b(0x34a)]({'id':_0x165f3c['InsertSheetMutation']['id'],'params':_0x19257d}),_0x5454a1[_0xc81c8b(0x34a)]({'id':_0x165f3c['RemoveSheetMutation']['id'],'params':_0x1b5b43}),_0x424b41[_0xc81c8b(0x34a)]({'id':_0x165f3c['SetRangeValuesMutation']['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'cellValue':_0x96a6f9}}),_0x5454a1['unshift']({'id':_0x165f3c[_0xc81c8b(0x396)]['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'cellValue':_0x2eb8f8}});const _0x4df229={'startRow':0x0,'startColumn':0x0,'endRow':_0x236b73-0x1,'endColumn':_0xe08ca7};_0x424b41[_0xc81c8b(0x34a)]({'id':_0x2f8fdf[_0xc81c8b(0x13b)]['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'range':_0x4df229}}),_0x5454a1['unshift']({'id':_0x2f8fdf['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id']}});const _0x287d27=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x3c9)]);return _0x9cf92b[_0xc81c8b(0x3c8)](_0x424b41,_0x287d27)&&_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0xbb)])[_0xc81c8b(0x1ab)]({'unitID':_0x5d1444,'undoMutations':_0x5454a1,'redoMutations':_0x424b41}),!0x0;}},_0x1c245c={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x10e),async 'handler'(_0x42cd82,_0x273a25){const _0x4a6d0=_0x3dc404;if(!_0x273a25)return!0x1;const _0x3c86e8=_0x42cd82['get'](_0x9cf92b[_0x4a6d0(0x3c9)]),_0x3566fa=_0x42cd82[_0x4a6d0(0x1b1)](_0x582d11[_0x4a6d0(0x1b0)]),_0x180eb5=_0x42cd82[_0x4a6d0(0x1b1)](_0x9cf92b[_0x4a6d0(0xbb)]),{pivotTableId:_0xb097f0,fieldIds:_0x58cb82,unitId:_0x2cc86a,subUnitId:_0x2cdfec}=_0x273a25,_0x3557e7=(await _0x3566fa['getPivotDisplayConfig']({'unitId':_0x2cc86a,'subUnitId':_0x2cdfec,'pivotTableId':_0xb097f0,'params':{'type':_0x4651ca[_0x4a6d0(0x13c)],'removePivotField':{'fieldIds':_0x58cb82}}}))[_0x4a6d0(0x2f3)]['removePivotField'];if(!_0x3557e7)return!0x1;const {view:_0x4c1f6e,changesets:_0x5c3873,isEmpty:_0x2354d8,pivotTableConfig:_0x3921cf}=_0x3557e7,_0x4accb2=_0x3921cf[_0x4a6d0(0x1ca)],_0x3823fb=new _0x399222[(_0x4a6d0(0x162))]();_0x3823fb['formJSON'](_0x4c1f6e);const _0x277b65={'cellInfo':_0x4accb2,'view':_0x3823fb,'isEmpty':_0x2354d8};if(!await _0x42cd82[_0x4a6d0(0x1b1)](_0x582d11[_0x4a6d0(0x163)])[_0x4a6d0(0x1e7)][_0x4a6d0(0x168)](_0x44e1c4)(!0x0,_0x277b65))return!0x1;const _0xd131f7=_0xfa0513(_0x42cd82,_0x3823fb,_0x4accb2,_0x2354d8),_0x31c10d=_0x440085(_0x42cd82,_0x277b65),{redos:_0x50580e,undos:_0xb798a7}=_0x3fde14(_0x3c86e8,{'pivotTableId':_0xb097f0,'unitId':_0x2cc86a,'subUnitId':_0x2cdfec},_0x5c3873);return _0x9cf92b['sequenceExecute']([..._0xd131f7[_0x4a6d0(0x143)],..._0x31c10d['redos'],..._0x50580e],_0x3c86e8),_0x180eb5[_0x4a6d0(0x1ab)]({'unitID':_0x2cc86a,'redoMutations':[..._0xd131f7[_0x4a6d0(0x143)],..._0x31c10d[_0x4a6d0(0x143)],..._0x50580e],'undoMutations':[..._0xd131f7[_0x4a6d0(0xbe)],..._0x31c10d[_0x4a6d0(0xbe)],..._0xb798a7]}),!0x0;}},_0x90b3e3={'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'id':_0x3dc404(0x320),async 'handler'(_0x1112d3,_0x596666){const _0xa83e9d=_0x3dc404;if(!_0x596666)return!0x1;const _0x1d9d54=_0x1112d3[_0xa83e9d(0x1b1)](_0x9cf92b['ICommandService']),_0x13ffb2=_0x1112d3[_0xa83e9d(0x1b1)](_0x9cf92b[_0xa83e9d(0xbb)]),_0x121ed5=_0x1112d3[_0xa83e9d(0x1b1)](_0x582d11[_0xa83e9d(0x1b0)]),{resetArea:_0x484d53,pivotTableId:_0x585ba1,unitId:_0x151b48,subUnitId:_0x19b569}=_0x596666,_0x4b5871=(await _0x121ed5[_0xa83e9d(0x35c)]({'unitId':_0x151b48,'subUnitId':_0x19b569,'pivotTableId':_0x585ba1,'params':{'type':_0x4651ca[_0xa83e9d(0x3a0)],'resetPivotTable':{'pivotTableId':_0x585ba1,'resetArea':_0x484d53}}}))['result'][_0xa83e9d(0xde)];if(!_0x4b5871)return!0x1;const {changesets:_0x494ff4}=_0x4b5871,{redos:_0x5bdcd2,undos:_0x4e9bc5}=_0x3fde14(_0x1d9d54,{'pivotTableId':_0x585ba1,'unitId':_0x151b48,'subUnitId':_0x19b569},_0x494ff4);return _0x9cf92b[_0xa83e9d(0x3c8)](_0x5bdcd2,_0x1d9d54),_0x13ffb2[_0xa83e9d(0x1ab)]({'unitID':_0x151b48,'redoMutations':_0x5bdcd2,'undoMutations':_0x4e9bc5}),!0x0;}},_0x2647d2={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x49d69f,_0xe704a){const _0x518ee2=_0x3dc404,_0x3869c4=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x3c9)]),_0x303e17=_0x49d69f['get'](_0x582d11['SheetsPivotRPCService']),_0x244ebd=_0x49d69f[_0x518ee2(0x1b1)](_0x582d11['SheetsPivotTableAdaptorModel']),_0x289762=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x2f5)]),_0xa887fb=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x322)]),_0x382414=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0xbb)]);if(!_0xe704a)return!0x1;const {unitId:_0x4426e3,subUnitId:_0x5b8716,row:_0x1c4985,col:_0x538aeb,collapse:_0x4696b4}=_0xe704a,_0x19f969=_0x289762[_0x518ee2(0x1b6)](_0x4426e3);if(!_0x19f969||!_0x19f969[_0x518ee2(0x379)](_0x5b8716))return!0x1;const _0x3a0c71=_0x244ebd[_0x518ee2(0x271)](_0x4426e3,_0x5b8716,_0x1c4985,_0x538aeb);if(!_0x3a0c71)return!0x1;const _0x2fac5d=_0x244ebd[_0x518ee2(0x1c5)](_0x4426e3,_0x5b8716,_0x3a0c71);if(!_0x2fac5d)return!0x1;const _0xe60902=_0x9cf92b['cellToRange'](_0x1c4985,_0x538aeb),{rangesInfo:_0x3475ae,areaInfo:_0x5b75f9,headerMap:_0x5eb343}=_0x2fac5d;if(!_0x3475ae||!_0x5b75f9||!_0x5eb343)return!0x1;const _0xf7aec3=Object['keys'](_0x3475ae)[_0x518ee2(0xe1)](_0x27d032=>_0x3475ae[_0x27d032][_0x518ee2(0x2cf)](_0x31a3ba=>_0x9cf92b[_0x518ee2(0x2d6)][_0x518ee2(0x186)](_0x31a3ba,_0xe60902)));let _0x3c9e3d;_0xf7aec3===_0x518ee2(0x1db)?_0x3c9e3d=_0x5eb343[_0x518ee2(0xce)][_0x538aeb]:_0xf7aec3===_0x518ee2(0x388)&&(_0x3c9e3d=_0x5eb343[_0x518ee2(0x194)][_0x1c4985]);const _0x53c38b=_0x3c9e3d==null?void 0x0:_0x3c9e3d[_0x518ee2(0x3b9)],_0x24366d=_0x244ebd['getPivotTableCellData'](_0x4426e3,_0x5b8716,_0x1c4985,_0x538aeb);let _0x2e78ea=_0x24366d==null?void 0x0:_0x24366d['v'];if(_0x2e78ea===_0xa887fb['t'](_0x518ee2(0x304))&&(_0x2e78ea=_0x399222[_0x518ee2(0x3ad)]['BLANK_PLACEHOLDER']),_0x2e78ea==null||!_0x3a0c71||!_0x53c38b)return!0x1;const _0x23dfa6=await _0x303e17[_0x518ee2(0x35c)]({'unitId':_0x4426e3,'subUnitId':_0x5b8716,'pivotTableId':_0x3a0c71,'params':{'type':_0x4651ca['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x53c38b,'collapse':_0x4696b4,'item':_0x2e78ea}}}),_0x501df7=_0x23dfa6==null?void 0x0:_0x23dfa6[_0x518ee2(0x2f3)][_0x518ee2(0x3ba)];if(!_0x501df7)return!0x1;const {view:_0x1a36f3,pivotTableConfig:_0x189cdc,isEmpty:_0x2bee7a,changesets:_0x216e42}=_0x501df7,_0x45fedd=new _0x399222[(_0x518ee2(0x162))]();_0x45fedd['formJSON'](_0x1a36f3);const _0x247062=_0x189cdc['targetCellInfo'],_0xaa1d4f={'cellInfo':_0x247062,'view':_0x45fedd,'isEmpty':_0x2bee7a};if(!await _0x49d69f['get'](_0x582d11[_0x518ee2(0x163)])[_0x518ee2(0x1e7)][_0x518ee2(0x168)](_0x44e1c4)(!0x0,_0xaa1d4f))return!0x1;const _0x2e9ca5=_0xfa0513(_0x49d69f,_0x45fedd,_0x247062,_0x2bee7a),_0x400db5=_0x440085(_0x49d69f,_0xaa1d4f),{redos:_0x7c3ba2,undos:_0x48ec00}=_0x3fde14(_0x3869c4,{'pivotTableId':_0x3a0c71,'unitId':_0x4426e3,'subUnitId':_0x5b8716},_0x216e42);return _0x9cf92b[_0x518ee2(0x3c8)]([..._0x2e9ca5[_0x518ee2(0x143)],..._0x400db5[_0x518ee2(0x143)],..._0x7c3ba2],_0x3869c4),_0x382414[_0x518ee2(0x1ab)]({'unitID':_0x4426e3,'redoMutations':[..._0x2e9ca5[_0x518ee2(0x143)],..._0x400db5[_0x518ee2(0x143)],..._0x7c3ba2],'undoMutations':[..._0x2e9ca5[_0x518ee2(0xbe)],..._0x400db5[_0x518ee2(0xbe)],..._0x48ec00]}),!0x0;}},_0x11b40f={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x2ac660,_0x5d7551){const _0x4797c5=_0x3dc404;if(!_0x5d7551)return!0x1;const _0x58728c=_0x2ac660[_0x4797c5(0x1b1)](_0x9cf92b['ICommandService']),_0x1f9fb8=_0x2ac660['get'](_0x9cf92b[_0x4797c5(0xbb)]),_0x53d96d=_0x2ac660[_0x4797c5(0x1b1)](_0x582d11['SheetsPivotRPCService']),{pivotTableConfig:_0x2dd45a,pivotTableId:_0x28902f,unitId:_0x496b7e,subUnitId:_0x33843f}=_0x5d7551,_0x54318a=(await _0x53d96d[_0x4797c5(0x35c)]({'unitId':_0x496b7e,'subUnitId':_0x33843f,'pivotTableId':_0x28902f,'params':{'type':_0x4651ca[_0x4797c5(0x37d)],'setPivotTableConfig':{'pivotTableId':_0x28902f,'pivotTableConfig':_0x2dd45a}}}))['result'][_0x4797c5(0x24f)];if(!_0x54318a)return!0x1;const {changesets:_0x2e525a}=_0x54318a,{redos:_0x59d7bf,undos:_0x5318df}=_0x3fde14(_0x58728c,{'pivotTableId':_0x28902f,'unitId':_0x496b7e,'subUnitId':_0x33843f},_0x2e525a);return _0x9cf92b[_0x4797c5(0x3c8)](_0x59d7bf,_0x58728c),_0x1f9fb8[_0x4797c5(0x1ab)]({'unitID':_0x496b7e,'redoMutations':_0x59d7bf,'undoMutations':_0x5318df}),!0x0;}},_0x29e301={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x176),async 'handler'(_0x5c5005,_0x5d7a44){const _0x13d08f=_0x3dc404;if(!_0x5d7a44)return!0x1;const _0x49288e=_0x5c5005['get'](_0x9cf92b[_0x13d08f(0x3c9)]),{pivotTableId:_0x7ce0f7,tableFieldId:_0x316847,items:_0x5aa445,unitId:_0x38f5ba,subUnitId:_0x46d103,isAll:_0x120d3b}=_0x5d7a44,_0x128694=_0x5c5005[_0x13d08f(0x1b1)](_0x582d11[_0x13d08f(0x1b0)]),_0x21c2b0=_0x5c5005[_0x13d08f(0x1b1)](_0x9cf92b[_0x13d08f(0xbb)]),_0xaeebc9=(await _0x128694[_0x13d08f(0x35c)]({'unitId':_0x38f5ba,'subUnitId':_0x46d103,'pivotTableId':_0x7ce0f7,'params':{'type':_0x4651ca[_0x13d08f(0x36c)],'setPivotFilter':{'tableFieldId':_0x316847,'items':_0x5aa445,'isAll':_0x120d3b}}}))['result'][_0x13d08f(0x30b)];if(!_0xaeebc9)return!0x1;const {changesets:_0x11617a,pivotTableConfig:_0x48f5a9,isEmpty:_0x304a35,view:_0x464a0e}=_0xaeebc9,_0x349899=_0x48f5a9['targetCellInfo'],_0x5029b7=new _0x399222[(_0x13d08f(0x162))]();_0x5029b7[_0x13d08f(0xcb)](_0x464a0e);const _0x1fad86={'cellInfo':_0x349899,'view':_0x5029b7,'isEmpty':_0x304a35};if(!await _0x5c5005[_0x13d08f(0x1b1)](_0x582d11[_0x13d08f(0x163)])['asyncInterceptor'][_0x13d08f(0x168)](_0x44e1c4)(!0x0,_0x1fad86))return!0x1;const _0x49a11d=_0xfa0513(_0x5c5005,_0x5029b7,_0x349899,_0x304a35),_0x4c14a4=_0x440085(_0x5c5005,_0x1fad86),{undos:_0x1ef87f,redos:_0xfe5ba}=_0x3fde14(_0x49288e,{'pivotTableId':_0x7ce0f7,'unitId':_0x38f5ba,'subUnitId':_0x46d103},_0x11617a);return _0x9cf92b[_0x13d08f(0x3c8)]([..._0x49a11d[_0x13d08f(0x143)],..._0x4c14a4[_0x13d08f(0x143)],..._0xfe5ba],_0x49288e),_0x21c2b0[_0x13d08f(0x1ab)]({'unitID':_0x38f5ba,'redoMutations':[..._0x49a11d[_0x13d08f(0x143)],..._0x4c14a4[_0x13d08f(0x143)],..._0xfe5ba],'undoMutations':[..._0x49a11d['undos'],..._0x4c14a4['undos'],..._0x1ef87f]}),!0x0;}},_0x122030={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x18d),async 'handler'(_0x3a82d2,_0x4617dd){const _0x216921=_0x3dc404;if(!_0x4617dd)return!0x1;const _0x5f3020=_0x3a82d2[_0x216921(0x1b1)](_0x9cf92b[_0x216921(0x3c9)]),_0x55c7e4=_0x3a82d2['get'](_0x9cf92b[_0x216921(0xbb)]),_0x53b9db=_0x3a82d2[_0x216921(0x1b1)](_0x582d11['SheetsPivotRPCService']),{info:_0x15ebe2,tableFieldId:_0x37a2fb,pivotTableId:_0x15ec4,unitId:_0x11d32e,subUnitId:_0x457d0c}=_0x4617dd,_0x597b9d=(await _0x53b9db['getPivotDisplayConfig']({'unitId':_0x11d32e,'subUnitId':_0x457d0c,'pivotTableId':_0x15ec4,'params':{'type':_0x4651ca['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x37a2fb,'info':_0x15ebe2}}}))['result'][_0x216921(0x27e)];if(!_0x597b9d)return!0x1;const {changesets:_0x417a8c}=_0x597b9d,{redos:_0x4f88a7,undos:_0x4a2e8f}=_0x3fde14(_0x5f3020,{'pivotTableId':_0x15ec4,'unitId':_0x11d32e,'subUnitId':_0x457d0c},_0x417a8c);return _0x9cf92b[_0x216921(0x3c8)](_0x4f88a7,_0x5f3020),_0x55c7e4[_0x216921(0x1ab)]({'unitID':_0x11d32e,'redoMutations':_0x4f88a7,'undoMutations':_0x4a2e8f}),!0x0;}},_0x2f2dba={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x2b6),async 'handler'(_0x1904cb,_0x5ecc5e){const _0x36b0bf=_0x3dc404;if(!_0x5ecc5e)return!0x1;const _0x275946=_0x1904cb['get'](_0x9cf92b[_0x36b0bf(0x3c9)]),{pivotTableId:_0x217946,fieldId:_0x2f69b7,valueFilterInfo:_0x3381ea,unitId:_0x5cce0c,subUnitId:_0x3ef96b}=_0x5ecc5e,_0x31d76b=_0x1904cb['get'](_0x582d11[_0x36b0bf(0x1b0)]),_0x2ee905=_0x1904cb['get'](_0x9cf92b[_0x36b0bf(0xbb)]),_0x55d5cf=(await _0x31d76b[_0x36b0bf(0x35c)]({'unitId':_0x5cce0c,'subUnitId':_0x3ef96b,'pivotTableId':_0x217946,'params':{'type':_0x4651ca[_0x36b0bf(0x2d8)],'setValuePivotFilter':{'tableFieldId':_0x2f69b7,'filterInfo':_0x3381ea}}}))[_0x36b0bf(0x2f3)]['setValuePivotFilter'];if(!_0x55d5cf)return!0x1;const {changesets:_0xa1ecd,pivotTableConfig:_0x55f988,isEmpty:_0x41baf0,view:_0x554d7c}=_0x55d5cf,_0x56aa35=_0x55f988[_0x36b0bf(0x1ca)],_0x2c57e5=new _0x399222[(_0x36b0bf(0x162))]();_0x2c57e5['formJSON'](_0x554d7c);const _0x582ad0={'cellInfo':_0x56aa35,'view':_0x2c57e5,'isEmpty':_0x41baf0};if(!await _0x1904cb[_0x36b0bf(0x1b1)](_0x582d11[_0x36b0bf(0x163)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x44e1c4)(!0x0,_0x582ad0))return!0x1;const _0x51e2a3=_0xfa0513(_0x1904cb,_0x2c57e5,_0x56aa35,_0x41baf0),_0x2a935b=_0x440085(_0x1904cb,_0x582ad0),{undos:_0x513977,redos:_0x53128c}=_0x3fde14(_0x275946,{'pivotTableId':_0x217946,'unitId':_0x5cce0c,'subUnitId':_0x3ef96b},_0xa1ecd);return _0x9cf92b[_0x36b0bf(0x3c8)]([..._0x51e2a3[_0x36b0bf(0x143)],..._0x2a935b[_0x36b0bf(0x143)],..._0x53128c],_0x275946),_0x2ee905['pushUndoRedo']({'unitID':_0x5cce0c,'redoMutations':[..._0x51e2a3[_0x36b0bf(0x143)],..._0x2a935b['redos'],..._0x53128c],'undoMutations':[..._0x51e2a3[_0x36b0bf(0xbe)],..._0x2a935b[_0x36b0bf(0xbe)],..._0x513977]}),!0x0;}},_0x171857={'id':_0x3dc404(0x3e7),'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'handler':(_0x200b07,_0x22c77f)=>{const _0x43db91=_0x3dc404;if(!_0x22c77f)return!0x1;if(!!_0x200b07[_0x43db91(0x1b1)](_0x9cf92b[_0x43db91(0x2fe)])[_0x43db91(0x380)](_0x3ee12c))return!0x0;const {unitId:_0x545502,subUnitId:_0x2e8791,pivotTableId:_0x3a5333,tableFieldId:_0x35ea48,dateType:_0x1aa745}=_0x22c77f,_0x476af1=_0x200b07[_0x43db91(0x1b1)](_0x582d11[_0x43db91(0x3c0)]),_0x112d5b=_0x476af1[_0x43db91(0x363)](_0x3a5333);if(!_0x112d5b)return!0x1;const _0x223222=_0x112d5b['getDataFieldByTableId'](_0x35ea48);if(!_0x223222)return!0x1;const _0x5cd818=_0x223222[_0x43db91(0xf9)](),_0x4f6124=_0x112d5b[_0x43db91(0x306)](_0x5cd818),_0x5ac2af=(_0x4f6124==null?void 0x0:_0x4f6124['getName']())+'\x20'+_0x6d0657(_0x200b07,_0x1aa745);_0x476af1['getCollection'](_0x545502,_0x3a5333)[_0x43db91(0x18c)](_0x223222['id'],_0x5ac2af);const _0xa3f780=_0x112d5b[_0x43db91(0x335)](_0x35ea48);if(!_0xa3f780)return!0x1;_0x112d5b[_0x43db91(0x357)](_0xa3f780[_0x43db91(0x26d)](),_0x5ac2af),_0x223222[_0x43db91(0x3b1)](_0x1aa745);const _0x599cb0=_0x476af1[_0x43db91(0x17c)](_0x545502,_0x2e8791,_0x3a5333);return _0x476af1[_0x43db91(0x15c)]({'unitId':_0x545502,'subUnitId':_0x2e8791,'token':_0x3a5333,'type':_0x20d852[_0x43db91(0x1ea)],'pivotConfig':_0x599cb0}),!0x0;}},_0x5ca121={'id':_0x3dc404(0x159),'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'handler':(_0x303b47,_0x2e19e2)=>{const _0x316149=_0x3dc404;if(!_0x2e19e2)return!0x1;const _0x2902b1=_0x303b47[_0x316149(0x1b1)](_0x9cf92b[_0x316149(0xbb)]),{unitId:_0x8f91d9,subUnitId:_0x2f7fe8,pivotTableId:_0x4cbe91,tableFieldId:_0x52786d}=_0x2e19e2,_0x1f1aff=[],_0x13617d=[],_0x3669f3=_0x303b47['get'](_0x582d11[_0x316149(0x2a8)]),_0x5246aa=_0x3669f3[_0x316149(0x355)](_0x8f91d9,_0x4cbe91),_0x171181=_0x3669f3['getPivotTableConfig'](_0x8f91d9,_0x2f7fe8,_0x4cbe91);if(!(_0x171181!=null&&_0x171181[_0x316149(0x297)][_0x316149(0x1f9)]))return!0x1;const _0x3d0b0a=Object[_0x316149(0x2cb)](_0x171181[_0x316149(0x297)][_0x316149(0x1f9)])[_0x316149(0xe1)](_0x1a84f4=>_0x1a84f4['id']===_0x52786d);if(!_0x3d0b0a)return!0x1;const _0x390e76=_0x3d0b0a[_0x316149(0x2df)];if(!(_0x5246aa!=null&&_0x5246aa[_0x316149(0x32f)]))return!0x1;const _0x93947f=Object['values'](_0x5246aa==null?void 0x0:_0x5246aa['fields'])[_0x316149(0xe1)](_0x1b94da=>_0x1b94da['id']===_0x390e76);if(!_0x93947f)return!0x1;_0x399222[_0x316149(0x346)](_0x93947f)&&_0x1f1aff[_0x316149(0x34a)]({'id':_0x171857['id'],'params':{..._0x2e19e2,'dateType':_0x93947f[_0x316149(0x370)]}}),_0x13617d[_0x316149(0x34a)]({'id':_0x171857['id'],'params':{..._0x2e19e2}});const _0x594c23=_0x303b47['get'](_0x9cf92b[_0x316149(0x3c9)]);return _0x9cf92b[_0x316149(0x3c8)](_0x13617d,_0x594c23)&&_0x2902b1['pushUndoRedo']({'unitID':_0x8f91d9,'undoMutations':_0x1f1aff,'redoMutations':_0x13617d}),!0x0;}},_0x22c491={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x1f98b9,_0x22bb3d){const _0x10b6fd=_0x3dc404;if(!_0x22bb3d)return!0x1;const _0x487b70=_0x1f98b9[_0x10b6fd(0x1b1)](_0x9cf92b[_0x10b6fd(0x3c9)]),_0x17acf8=_0x1f98b9[_0x10b6fd(0x1b1)](_0x9cf92b[_0x10b6fd(0xbb)]),_0x14b1b9=_0x1f98b9[_0x10b6fd(0x1b1)](_0x582d11[_0x10b6fd(0x1b0)]),{displayName:_0x595e4e,subtotalType:_0x545e34,format:_0x26478b,tableFieldId:_0x1f2f7b,pivotTableId:_0x220e47,unitId:_0x246d3c,subUnitId:_0x3c193c}=_0x22bb3d,_0x78b16e=(await _0x14b1b9['getPivotDisplayConfig']({'unitId':_0x246d3c,'subUnitId':_0x3c193c,'pivotTableId':_0x220e47,'params':{'type':_0x4651ca[_0x10b6fd(0x2c1)],'setPivotSetting':{'tableFieldId':_0x1f2f7b,'displayName':_0x595e4e,'subtotalType':_0x545e34,'format':_0x26478b}}}))[_0x10b6fd(0x2f3)]['setPivotSetting'];if(!_0x78b16e)return!0x1;const {changesets:_0x54e6af,view:_0x1d1d29,pivotTableConfig:_0x4f870b,isEmpty:_0x42935f}=_0x78b16e,_0x4c88ff=_0x4f870b[_0x10b6fd(0x1ca)],_0x321e48=new _0x399222[(_0x10b6fd(0x162))]();_0x321e48['formJSON'](_0x1d1d29);const _0x535765={'cellInfo':_0x4c88ff,'view':_0x321e48,'isEmpty':_0x42935f};if(!await _0x1f98b9['get'](_0x582d11[_0x10b6fd(0x163)])[_0x10b6fd(0x1e7)][_0x10b6fd(0x168)](_0x44e1c4)(!0x0,_0x535765))return!0x1;const _0x213e4d=_0xfa0513(_0x1f98b9,_0x321e48,_0x4c88ff,_0x42935f),_0x67d4ca=_0x440085(_0x1f98b9,_0x535765),{undos:_0x2b7e0b,redos:_0x127947}=_0x3fde14(_0x487b70,{'pivotTableId':_0x220e47,'unitId':_0x246d3c,'subUnitId':_0x3c193c},_0x54e6af);return _0x9cf92b['sequenceExecute']([..._0x213e4d[_0x10b6fd(0x143)],..._0x67d4ca[_0x10b6fd(0x143)],..._0x127947],_0x487b70),_0x17acf8[_0x10b6fd(0x1ab)]({'unitID':_0x246d3c,'redoMutations':[..._0x213e4d[_0x10b6fd(0x143)],..._0x67d4ca['redos'],..._0x127947],'undoMutations':[..._0x213e4d['undos'],..._0x67d4ca['undos'],..._0x2b7e0b]}),!0x0;}},_0x63e810={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x10c),'handler'(_0x4c54f0,_0x10c6da){const _0x5a4951=_0x3dc404;if(!_0x10c6da)return!0x1;if(!!_0x4c54f0['get'](_0x9cf92b['IConfigService'])[_0x5a4951(0x380)](_0x3ee12c))return!0x0;const _0x4dc6b3=_0x4c54f0[_0x5a4951(0x1b1)](_0x582d11[_0x5a4951(0x3c0)]),{pivotTableId:_0x55cb25,deleteIds:_0x5901ff,collectionJSON:_0x32753f,dataRangeInfo:_0x58ade5,unitId:_0x3130d3,subUnitId:_0x4503e3}=_0x10c6da,_0x36f917=_0x4dc6b3[_0x5a4951(0x363)](_0x55cb25),_0x69aad8=_0x4dc6b3['getPivotTableConfig'](_0x3130d3,_0x4503e3,_0x55cb25);if(!_0x36f917||!_0x69aad8)return!0x1;const {collection:_0x4d1a3d,updateDataFieldList:_0x4142c5}=_0x4dc6b3['addCollectionByJSON'](_0x55cb25,_0x32753f,_0x58ade5,_0x69aad8[_0x5a4951(0x1ca)]);_0x4dc6b3['refreshData'](_0x4d1a3d,_0x4142c5,_0x58ade5),_0x36f917['updateDataFieldsCollection'](_0x4d1a3d);for(const _0x784120 of _0x5901ff)_0x4dc6b3[_0x5a4951(0x299)](_0x58ade5[_0x5a4951(0x10b)],_0x784120);const _0xef02b6=_0x4dc6b3[_0x5a4951(0x17c)](_0x3130d3,_0x4503e3,_0x55cb25);return _0xef02b6[_0x5a4951(0x354)]=JSON['parse'](JSON[_0x5a4951(0x124)](_0x58ade5)),_0x4dc6b3['addDirtyPivotTable']({'unitId':_0x3130d3,'subUnitId':_0x4503e3,'token':_0x55cb25,'type':_0x20d852[_0x5a4951(0x1ea)]}),!0x0;}},_0x455ba6={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x3ab),async 'handler'(_0x5a7286,_0x4d9474){const _0x533e56=_0x3dc404,_0x670dc9=_0x5a7286[_0x533e56(0x1b1)](_0x9cf92b['ICommandService']),_0x312521=_0x5a7286[_0x533e56(0x1b1)](_0x582d11[_0x533e56(0x1b0)]),_0x5523f0=_0x5a7286['get'](_0x9cf92b['IUndoRedoService']);if(!_0x4d9474)return!0x1;const {token:_0x1a8327,dataRangeInfo:_0xab736c,unitId:_0x44699e,subUnitId:_0x2f330e}=_0x4d9474,_0x15087e=[],_0x3d3e26=[],_0x5ef705=(await _0x312521[_0x533e56(0x35c)]({'unitId':_0x44699e,'subUnitId':_0x2f330e,'pivotTableId':_0x1a8327,'params':{'type':_0x4651ca[_0x533e56(0x14b)],'updatePivotSource':{'dataRangeInfo':_0xab736c,'unitId':_0x44699e,'subUnitId':_0x2f330e}}}))['result']['updatePivotSource'];if(!_0x5ef705)return!0x1;const {changesets:_0xe4c4a5,deleteIds:_0x2fac34,collectionConfig:_0x507465,oldCollectionConfig:_0x372f40,view:_0x4fe7b1,isEmpty:_0x348c00,pivotTableConfig:_0x1f6c2f}=_0x5ef705;_0x3d3e26[_0x533e56(0x34a)]({'id':_0x63e810['id'],'params':{'pivotTableId':_0x1a8327,'deleteIds':_0x2fac34,'collectionJSON':_0x507465,'dataRangeInfo':_0xab736c,'unitId':_0x44699e,'subUnitId':_0x2f330e}}),_0x15087e[_0x533e56(0x2e1)]({'id':_0x63e810['id'],'params':{'pivotTableId':_0x1a8327,'deleteIds':[],'collectionJSON':_0x372f40,'dataRangeInfo':_0x1f6c2f[_0x533e56(0x354)],'unitId':_0x44699e,'subUnitId':_0x2f330e}});const _0xc8adfc=_0x1f6c2f[_0x533e56(0x1ca)],_0x3ae838=new _0x399222[(_0x533e56(0x162))]();_0x3ae838[_0x533e56(0xcb)](_0x4fe7b1);const _0x4bb867={'cellInfo':_0xc8adfc,'view':_0x3ae838,'isEmpty':_0x348c00};if(!await _0x5a7286[_0x533e56(0x1b1)](_0x582d11[_0x533e56(0x163)])['asyncInterceptor'][_0x533e56(0x168)](_0x44e1c4)(!0x0,_0x4bb867))return!0x1;const _0x4981cf=_0xfa0513(_0x5a7286,_0x3ae838,_0xc8adfc,_0x348c00),_0x4cba63=_0x440085(_0x5a7286,_0x4bb867),{undos:_0x24e9be,redos:_0x32e7ca}=_0x3fde14(_0x670dc9,{'pivotTableId':_0x1a8327,'unitId':_0x44699e,'subUnitId':_0x2f330e},_0xe4c4a5);return _0x9cf92b[_0x533e56(0x3c8)]([..._0x4981cf[_0x533e56(0x143)],..._0x4cba63[_0x533e56(0x143)],..._0x3d3e26,..._0x24e9be],_0x670dc9),_0x5523f0[_0x533e56(0x1ab)]({'unitID':_0x44699e,'redoMutations':[..._0x4981cf[_0x533e56(0x143)],..._0x4cba63[_0x533e56(0x143)],..._0x3d3e26,..._0x24e9be],'undoMutations':[..._0x4981cf['undos'],..._0x4cba63[_0x533e56(0xbe)],..._0x15087e,..._0x32e7ca]}),!0x0;}},_0x207157={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x3cb),async 'handler'(_0x42dbbe,_0x1015da){const _0x5587cc=_0x3dc404;if(!_0x1015da)return!0x1;const _0xb4daa5=_0x42dbbe[_0x5587cc(0x1b1)](_0x9cf92b[_0x5587cc(0x3c9)]),_0xab1cbe=_0x42dbbe['get'](_0x582d11[_0x5587cc(0x1b0)]),_0x5e8847=_0x42dbbe[_0x5587cc(0x1b1)](_0x9cf92b[_0x5587cc(0x2f5)]),_0x4eba81=_0x42dbbe['get'](_0x9cf92b[_0x5587cc(0xbb)]),{pivotTableId:_0x31eaec,position:_0x24100c,index:_0x155a23}=_0x1015da,_0x3a0198=_0x165f3c[_0x5587cc(0x28d)](_0x5e8847);if(!_0x3a0198)return!0x1;const {unitId:_0x1c0811,subUnitId:_0x56a165}=_0x3a0198,_0x3984a8=(await _0xab1cbe[_0x5587cc(0x35c)]({'unitId':_0x1c0811,'subUnitId':_0x56a165,'pivotTableId':_0x31eaec,'params':{'type':_0x4651ca[_0x5587cc(0x12c)],'updateValuePosition':{'position':_0x24100c,'index':_0x155a23}}}))[_0x5587cc(0x2f3)][_0x5587cc(0x3e0)];if(!_0x3984a8)return!0x1;const {changesets:_0x306fb1,view:_0x2d5e52,isEmpty:_0x4543a1,pivotTableConfig:_0x219b22}=_0x3984a8,_0x5ca73a=_0x219b22[_0x5587cc(0x1ca)],_0x137dc1=new _0x399222['PivotView']();_0x137dc1[_0x5587cc(0xcb)](_0x2d5e52);const _0x548d66=_0x42dbbe['get'](_0x582d11['SheetsPivotTableService']),_0x211c6a={'cellInfo':_0x5ca73a,'view':_0x137dc1,'isEmpty':_0x4543a1};if(!await _0x548d66[_0x5587cc(0x1e7)][_0x5587cc(0x168)](_0x44e1c4)(!0x0,_0x211c6a))return!0x1;const _0x5ea00a=_0xfa0513(_0x42dbbe,_0x137dc1,_0x5ca73a,_0x4543a1),_0x24f2a8=_0x440085(_0x42dbbe,_0x211c6a),{undos:_0x40365b,redos:_0x21b585}=_0x3fde14(_0xb4daa5,{'pivotTableId':_0x31eaec,'unitId':_0x1c0811,'subUnitId':_0x56a165},_0x306fb1);return _0x9cf92b[_0x5587cc(0x3c8)]([..._0x5ea00a[_0x5587cc(0x143)],..._0x24f2a8['redos'],..._0x21b585],_0xb4daa5),_0x4eba81[_0x5587cc(0x1ab)]({'unitID':_0x1c0811,'redoMutations':[..._0x5ea00a['redos'],..._0x24f2a8[_0x5587cc(0x143)],..._0x21b585],'undoMutations':[..._0x5ea00a['undos'],..._0x24f2a8[_0x5587cc(0xbe)],..._0x40365b]}),!0x0;}},_0xc8ed1={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x15a014=Object[_0x3dc404(0x34b)],_0xdf4053=(_0xd28954,_0x526407,_0x16d012,_0x523d03)=>{const _0x41c083=_0x3dc404;for(var _0x56034c=_0x523d03>0x1?void 0x0:_0x523d03?_0x15a014(_0x526407,_0x16d012):_0x526407,_0x32dcf1=_0xd28954[_0x41c083(0xfc)]-0x1,_0x4471a5;_0x32dcf1>=0x0;_0x32dcf1--)(_0x4471a5=_0xd28954[_0x32dcf1])&&(_0x56034c=_0x4471a5(_0x56034c)||_0x56034c);return _0x56034c;},_0x36a6bf=(_0x11f3a8,_0x1dbeaa)=>(_0x1b6d04,_0x513ad0)=>_0x1dbeaa(_0x1b6d04,_0x513ad0,_0x11f3a8);const _0x2a4b13=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x500a17=(_0xde9928,_0x5082a7,_0xd08bde)=>{const _0x1ddcc0=_0x3dc404,_0x32a04b=_0xde9928[_0x1ddcc0(0x1c7)];_0xde9928[_0x1ddcc0(0x3a4)](_0x11088d=>{const _0x1e06ae=_0x1ddcc0,_0x11a13f=_0x11088d[_0x1e06ae(0x26d)](),_0x4669df=_0x11088d[_0x1e06ae(0x225)](),_0x1d2629=_0x11088d['getSourceName'](),_0x293560=_0x11088d[_0x1e06ae(0x1f0)]();_0x5082a7[_0x4669df]&&_0x5082a7[_0x4669df]===_0x293560&&_0x1d2629===_0x293560&&(_0xde9928['renameField'](_0x11a13f,_0x32a04b[_0x1e06ae(0x1f0)](_0x4669df)),_0x11088d[_0x1e06ae(0x302)](_0x32a04b[_0x1e06ae(0x1f0)](_0x4669df)));}),_0xde9928[_0x1ddcc0(0x301)](_0x399222[_0x1ddcc0(0x3df)][_0x1ddcc0(0x311)],_0x23ef43=>{const _0x1a9975=_0x1ddcc0,_0x2c41f6=_0x23ef43[_0x1a9975(0x26d)](),_0x43a0ac=_0x23ef43['getDataFieldId'](),_0xd24a2f=_0x23ef43[_0x1a9975(0x11b)](),_0x2fea4d=_0x23ef43[_0x1a9975(0x1f0)](),_0x53aa89=_0x23ef43[_0x1a9975(0x34c)](),_0x3fecf3=_0xd08bde(_0xd24a2f,_0x53aa89);_0x5082a7[_0x43a0ac]&&_0x5082a7[_0x43a0ac]===_0xd24a2f&&_0x3fecf3===_0x2fea4d&&(_0xde9928['renameField'](_0x2c41f6,_0xd08bde(_0x32a04b[_0x1a9975(0x1f0)](_0x43a0ac),_0x53aa89)),_0x23ef43[_0x1a9975(0x302)](_0x32a04b[_0x1a9975(0x1f0)](_0x43a0ac)));});},_0xa09870=(_0x5e50c1,_0x13b8e9,_0x16570a)=>{const _0x4da31d=_0x3dc404;var _0x5a3747,_0x5dce1f;const {arrayFormulaCellData:_0x42f913,unitData:_0x4eb985}=_0x13b8e9,{unitId:_0x5cc89b,subUnitId:_0x4b690a}=_0x16570a,_0x3085df=_0x16570a[_0x4da31d(0x277)],{startColumn:_0x3a3e9b,endColumn:_0x46d0b5}=_0x3085df,_0x8f77a2=(_0x5a3747=_0x42f913==null?void 0x0:_0x42f913[_0x5cc89b])==null?void 0x0:_0x5a3747[_0x4b690a],_0x2ad448=(_0x5dce1f=_0x4eb985==null?void 0x0:_0x4eb985[_0x5cc89b])==null?void 0x0:_0x5dce1f[_0x4b690a],_0xd8bba9=new Set(),_0x2976f5=_0x46d0b5-_0x3a3e9b+0x1,{dirtyRanges:_0x29801c}=_0x5e50c1;if(_0x29801c)for(const {range:_0x490fee,sheetId:_0x5c46a5,unitId:_0x5950e0}of _0x29801c){if(_0x5c46a5!==_0x4b690a||_0x5cc89b!==_0x5950e0)continue;const _0x510fab=_0x9cf92b[_0x4da31d(0x2d6)][_0x4da31d(0x227)](_0x490fee,_0x3085df);if(_0x510fab){const {startColumn:_0x47911a,endColumn:_0x51f2ea}=_0x510fab;for(let _0x4a8dfb=_0x47911a;_0x4a8dfb<=_0x51f2ea;_0x4a8dfb++)_0xd8bba9[_0x4da31d(0x1e9)](_0x4a8dfb);}}if(_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5||_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5)return Array[_0x4da31d(0x288)](_0xd8bba9);if(_0x2ad448){const _0x2a28e2=_0x2ad448['getMatrix'](),_0x33136b=Object[_0x4da31d(0x336)](_0x2a28e2);for(const _0x6b44da of _0x33136b){const _0xa5c0cb=Number(_0x6b44da),_0x1198e1=_0x2a28e2[_0xa5c0cb];if(_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5)break;for(const _0x4c45dd in _0x1198e1){const _0x484bcb=Number(_0x4c45dd);_0x484bcb<_0x3a3e9b||_0x484bcb>_0x46d0b5||_0xd8bba9[_0x4da31d(0x1e9)](_0x484bcb);}}}if(_0x8f77a2){const _0x341007=_0x8f77a2[_0x4da31d(0x327)](),_0x4079d7=Object[_0x4da31d(0x336)](_0x341007);for(const _0x3e2879 of _0x4079d7){const _0x178489=Number(_0x3e2879),_0x30391f=_0x341007[_0x178489];if(_0xd8bba9['size']===_0x2976f5)break;for(const _0x33401b in _0x30391f){const _0xe32a1b=Number(_0x33401b);_0xe32a1b<_0x3a3e9b||_0xe32a1b>_0x46d0b5||_0xd8bba9[_0x4da31d(0x1e9)](_0xe32a1b);}}}return Array['from'](_0xd8bba9);},_0x5520f6=_0x128528=>{const _0x21142d=_0x3dc404,_0x3f0529=new Set(),_0x54ec10=[];for(const _0x384967 of _0x128528){const _0x341f5b=_0x384967[_0x21142d(0x204)]+','+_0x384967[_0x21142d(0x13e)]+','+_0x384967['startColumn']+','+_0x384967[_0x21142d(0x104)];_0x3f0529[_0x21142d(0x138)](_0x341f5b)||(_0x3f0529[_0x21142d(0x1e9)](_0x341f5b),_0x54ec10[_0x21142d(0x34a)](_0x384967));}return _0x54ec10;};let _0x503194=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x210027,_0x2ba3b4,_0x188e7b,_0x25d3d6,_0x2f37ff){const _0x38337a=_0x3dc404;super(),_0x4d8d39(this,_0x38337a(0x1d3),new _0x1a0164['BehaviorSubject'](!0x0)),_0x4d8d39(this,'_globalComputedStartHelpFunc',_0x30197a=>{this['_globalSubject']['next'](!0x1);}),_0x4d8d39(this,'_globalComputedEndHelpFunc',_0x10671c=>{const _0x206435=_0x38337a;this[_0x206435(0x1d3)][_0x206435(0x155)](!0x0);}),(this[_0x38337a(0x265)]=_0x210027,this[_0x38337a(0x29a)]=_0x2ba3b4,this[_0x38337a(0x284)]=_0x188e7b,this['_globalComputingSrv']=_0x25d3d6,this[_0x38337a(0x33e)]=_0x2f37ff,this[_0x38337a(0x358)](),this[_0x38337a(0x190)]());}[_0x3dc404(0x358)](){const _0x5a5ef9=_0x3dc404;this[_0x5a5ef9(0x2d0)](),this['_subjectViewChange'](),this[_0x5a5ef9(0x189)](),this[_0x5a5ef9(0x273)]();}[_0x3dc404(0xf3)](){const _0x14662b=_0x3dc404;this[_0x14662b(0x394)][_0x14662b(0x21e)](this['_globalSubject']),_0x399222[_0x14662b(0x24d)]['registerCallbackWithEvent'](_0x399222[_0x14662b(0x312)]['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x399222[_0x14662b(0x24d)]['registerCallbackWithEvent'](_0x399222['PivotCallbackEnum'][_0x14662b(0x27f)],this['_globalComputedEndHelpFunc']);}[_0x3dc404(0x190)](){const _0x1e430a=_0x3dc404;this[_0x1e430a(0x260)](this[_0x1e430a(0x284)][_0x1e430a(0x125)](_0x4767b3=>{const _0x195d1d=_0x1e430a;_0x4767b3['id']===_0x165f3c[_0x195d1d(0x289)]['id']&&this[_0x195d1d(0x265)]['handleMoveRange'](_0x4767b3['params']);})),this[_0x1e430a(0x260)](this[_0x1e430a(0x284)][_0x1e430a(0x125)](_0xc253e1=>{const _0x43eb2b=_0x1e430a;if(_0xc253e1['id']!==_0x2c3c73['id'])return;const _0x31917e=_0xc253e1[_0x43eb2b(0xbf)],{unitId:_0x570f65,subUnitId:_0x195db9,pivotTableId:_0x85f364}=_0x31917e,_0x205fc4=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x11c)],_0x3c7495={};switch(_0x205fc4){case _0x4651ca[_0x43eb2b(0x231)]:{const _0xaa28c0=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x375)];if(!_0xaa28c0)return;const {row:_0x729838,col:_0x1df583,cellData:_0x34a257,pivotItemRenderInfoCache:_0x20e48a,tableFieldId:_0x5384d2}=_0xaa28c0,_0x1ababe=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x31917e[_0x43eb2b(0x22f)]);if(!_0x1ababe||!_0x20e48a)return;if(_0x5384d2){const _0x5050de=_0x1ababe['getDataFieldByTableId'](_0x5384d2);if(!_0x5050de)return;_0x3c7495[_0x43eb2b(0x375)]={..._0x1ababe[_0x43eb2b(0x3ce)](_0x5050de),'tableFieldId':_0x5384d2,'pivotTableId':_0x31917e[_0x43eb2b(0x22f)],'filterInfo':_0x1ababe['getFilterInfo'](_0x5384d2),'sortInfo':_0x1ababe[_0x43eb2b(0x334)](_0x5384d2),'format':_0x1ababe[_0x43eb2b(0x2be)](_0x5384d2)};}else{const _0x35c49c=_0x42b294(_0x729838,_0x1df583,_0x34a257,_0x1ababe,_0x20e48a),_0x1d9fd5=_0x35c49c==null?void 0x0:_0x35c49c['filterId'];if(!_0x1d9fd5)return;const _0x38e896=_0x1ababe[_0x43eb2b(0x313)](_0x1d9fd5);if(!_0x38e896)return;_0x3c7495['filter']={..._0x1ababe['getDataFieldItemInfo'](_0x38e896),'tableFieldId':_0x1d9fd5,'pivotTableId':_0x31917e[_0x43eb2b(0x22f)],'filterInfo':_0x1ababe[_0x43eb2b(0x2ee)](_0x1d9fd5),'sortInfo':_0x1ababe[_0x43eb2b(0x334)](_0x1d9fd5),'format':_0x1ababe[_0x43eb2b(0x2be)](_0x1d9fd5)};}}break;case _0x4651ca[_0x43eb2b(0x25a)]:{const _0x25345f=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x16f)];if(!_0x25345f)return;const {pivotTableId:_0x20933c}=_0x25345f,_0x1de514=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x20933c);if(!_0x1de514)return;const _0x3d64ad=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x20933c),_0x3402fd=_0x3202fe(_0x1de514,_0x20933c,_0x3d64ad);_0x3c7495[_0x43eb2b(0x16f)]=_0x3402fd;}break;case _0x4651ca[_0x43eb2b(0x343)]:{const _0x12f487=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x85f364),_0x4db24a=this[_0x43eb2b(0x265)]['getDataFieldManager'](_0x570f65),_0x319a11=_0x4db24a[_0x43eb2b(0x355)](_0x85f364);let _0x47c343=null;const _0x22c87a=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364),_0x4ecefd=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x11a)];if(!_0x12f487||!_0x22c87a||!_0x4ecefd)return!0x1;const {dataFieldId:_0x1ecdf0,fieldArea:_0x20575c,index:_0x43f168}=_0x4ecefd;_0x12f487[_0x43eb2b(0x13d)]();const _0x259365=_0x12f487[_0x43eb2b(0x34d)](_0x1ecdf0,_0x20575c,_0x43f168);if(_0x259365&&_0x20575c===_0x399222[_0x43eb2b(0x3df)]['Value']){const _0x10e685=_0x259365[_0x43eb2b(0x26d)](),_0x4ddfa4=_0x12f487[_0x43eb2b(0x313)](_0x10e685);if(_0x4ddfa4){const _0x412810=_0x4ddfa4==null?void 0x0:_0x4ddfa4[_0x43eb2b(0xe9)]();_0x12f487['setSubtotalType'](_0x259365[_0x43eb2b(0x26d)](),_0x412810===_0x399222['PivotDataFieldDataTypeEnum'][_0x43eb2b(0x1ba)]?_0x399222['PivotSubtotalTypeEnum'][_0x43eb2b(0x2db)]:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}const _0x3e5a79=_0x12f487['getValueIndex'](),_0x5d11bc=_0x12f487[_0x43eb2b(0x32d)](),_0x50d40a=_0x12f487[_0x43eb2b(0x2a4)](_0x399222[_0x43eb2b(0x3df)]['Value']);if(_0x3e5a79===-0x1&&_0x50d40a>0x1){const _0x2d6645=_0x5d11bc===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x3af)]?_0x399222['PivotTableValuePositionEnum'][_0x43eb2b(0x160)]:_0x5d11bc,_0x322eba=_0x2d6645===_0x399222[_0x43eb2b(0xf2)]['Row']?_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]:_0x399222['PivotTableFiledAreaEnum']['Column'];_0x12f487[_0x43eb2b(0x3e0)](_0x2d6645,_0x12f487['getFieldCountByArea'](_0x322eba));}}else{if(_0x259365&&(_0x20575c===_0x399222[_0x43eb2b(0x3df)]['Row']||_0x20575c===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)])){const _0x4089e9=_0x259365['getId'](),_0x93557e=_0x12f487[_0x43eb2b(0x313)](_0x4089e9);if(_0x93557e&&(_0x93557e==null?void 0x0:_0x93557e[_0x43eb2b(0xe9)]())===_0x399222[_0x43eb2b(0x14e)][_0x43eb2b(0x3aa)]){const _0x24bf7a=_0x93557e['getformat']();if(_0x24bf7a&&_0x12f487[_0x43eb2b(0x1d7)](_0x259365[_0x43eb2b(0x26d)](),_0x24bf7a),!_0x319a11['getFieldIds']()[_0x43eb2b(0x2cf)](_0x48d2d6=>{const _0x50c64e=_0x43eb2b,_0x5a6705=_0x319a11['getFieldById'](_0x48d2d6);return _0x399222[_0x50c64e(0x2e5)](_0x5a6705)?_0x5a6705[_0x50c64e(0x382)]()['originalFieldId']===_0x1ecdf0:!0x1;})){const _0x3bb1a6=_0x4db24a['createDataFieldId'](),_0xe80bcb=_0x1d242b(_0x93557e[_0x43eb2b(0x2a7)],_0x93557e[_0x43eb2b(0x3b8)]),_0x1daefa=_0x93557e['getName']()+_0x43eb2b(0x21c)+_0x6d0657(this[_0x43eb2b(0x33e)],_0xe80bcb),_0x3af97c=new _0x399222[(_0x43eb2b(0x240))](_0x3bb1a6,_0x1daefa,_0x399222['generateHexNumber'](0x3),_0x93557e[_0x43eb2b(0x26d)](),_0xe80bcb);_0x4db24a[_0x43eb2b(0x210)](_0x3af97c),_0x319a11[_0x43eb2b(0x329)](_0x3bb1a6,_0x1daefa),_0x12f487[_0x43eb2b(0x34d)](_0x3bb1a6,_0x20575c,(_0x43f168!=null?_0x43f168:0x0)+0x1),_0x47c343=_0x3af97c;}}}}const _0x3f32ae=_0x12f487['isEmpty'](),_0x4a5791=_0x12f487[_0x43eb2b(0x102)]()['toJSON']();let _0x5f43ce;if(_0x47c343){_0x5f43ce=_0x47c343[_0x43eb2b(0x3b5)]();const _0x201a10=_0x47c343[_0x43eb2b(0x26d)]();_0x319a11[_0x43eb2b(0x326)](_0x201a10);let _0x54ae17=!0x0;for(const _0x54e38c in _0x4db24a[_0x43eb2b(0x119)])if(_0x4db24a[_0x43eb2b(0x119)][_0x54e38c]['getFieldIds']()['includes'](_0x201a10)){_0x54ae17=!0x1;break;}_0x54ae17&&_0x4db24a[_0x43eb2b(0x17e)](_0x201a10);}const _0x398fa2=_0x12f487[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x11a)]={'view':_0x4a5791,'changesets':_0x398fa2,'isEmpty':_0x3f32ae,'pivotTableConfig':_0x22c87a,'shouldBeAddedGroupJSON':_0x5f43ce};}break;case _0x4651ca[_0x43eb2b(0x374)]:{const _0x9ebc75=_0x31917e[_0x43eb2b(0xbf)]['addPivotTable'];if(!_0x9ebc75)return;const _0x58f9cd=_0x9ebc75['sourceRangeInfo'],_0x2ad0d4=_0x9ebc75[_0x43eb2b(0x22f)],{collection:_0x122854}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x58f9cd[_0x43eb2b(0x10b)],'sheetName':_0x58f9cd[_0x43eb2b(0x1a6)],'subUnitId':_0x58f9cd[_0x43eb2b(0x103)],'range':_0x58f9cd[_0x43eb2b(0x277)]}),_0x49a4d9=new _0x399222[(_0x43eb2b(0x24d))](_0x122854,void 0x0,_0x2ad0d4),_0xcce70=_0x49a4d9['query'](),_0x1caa5d=_0x49a4d9[_0x43eb2b(0x3b5)](),_0x17ccad=_0x122854[_0x43eb2b(0x3b5)]();_0x3c7495[_0x43eb2b(0x35b)]={'view':_0xcce70,'fieldsConfig':_0x1caa5d,'collectionConfig':_0x17ccad,'isEmpty':_0x49a4d9['isEmpty']()};}break;case _0x4651ca[_0x43eb2b(0x1aa)]:{const _0x11de2a=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x161)];if(!_0x11de2a)return;const {fieldId:_0x229f1c,area:_0x25b183,index:_0x2eac35}=_0x11de2a,_0x4abec8=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x4abec8)return;const _0x4736d7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x85f364);if(!_0x4736d7)return;_0x4736d7[_0x43eb2b(0x13d)]();const {area:_0x3c9f96,index:_0x11bb2d}=_0x4736d7[_0x43eb2b(0x2e8)](_0x229f1c);if(_0x4736d7[_0x43eb2b(0x198)](_0x229f1c,_0x25b183,_0x2eac35),_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Value']&&_0x4736d7['getTableFieldById'](_0x229f1c)[_0x43eb2b(0x34c)]()===void 0x0){const _0x369e81=_0x4736d7[_0x43eb2b(0x335)](_0x229f1c);if(_0x369e81&&_0x369e81[_0x43eb2b(0x34c)]()===void 0x0){const _0x311ab5=_0x4736d7[_0x43eb2b(0x313)](_0x229f1c);if(_0x311ab5){const _0x18510d=_0x311ab5==null?void 0x0:_0x311ab5[_0x43eb2b(0xe9)]();_0x4736d7['setSubtotalType'](_0x229f1c,_0x18510d===_0x399222['PivotDataFieldDataTypeEnum']['number']?_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x2db)]:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}}}const _0x1ed425=_0x4736d7['getValuePosition'](),_0x2ab57c=_0x4736d7[_0x43eb2b(0x38b)](),_0xce6fb6=_0x4736d7[_0x43eb2b(0x2a4)](_0x399222[_0x43eb2b(0x3df)]['Value'])>0x1;if(_0xce6fb6&&_0x3c9f96===_0x25b183&&(_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Row']&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)]['Row']||_0x25b183===_0x399222['PivotTableFiledAreaEnum'][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x160)])){let _0x2d8601=_0x2ab57c;_0x11bb2d<=_0x2ab57c&&_0x2d8601--,_0x2eac35<=_0x2ab57c&&_0x2d8601++,_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2d8601);}else _0xce6fb6&&(_0x3c9f96===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)]['Row']||_0x3c9f96===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222['PivotTableValuePositionEnum'][_0x43eb2b(0x160)])&&_0x2ab57c>=_0x11bb2d&&_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2ab57c-0x1),_0xce6fb6&&(_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Row']&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x2a6)]||_0x25b183===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x160)])&&_0x2ab57c>=_0x2eac35&&_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2ab57c+0x1);const _0x14f291=_0x4736d7[_0x43eb2b(0x102)](),_0x12f695=_0x4736d7[_0x43eb2b(0x364)](),_0x533c0c=_0x4736d7['endCollectChangeset']();_0x3c7495['movePivotField']={'view':_0x14f291[_0x43eb2b(0x3b5)](),'changesets':_0x533c0c,'isEmpty':_0x12f695,'pivotTableConfig':_0x4abec8};}break;case _0x4651ca[_0x43eb2b(0x13c)]:{const _0x5af940=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x1dc)];if(!_0x5af940)return;const _0x50a89e=_0x5af940[_0x43eb2b(0x218)],_0x2a64a9=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x2a64a9)return!0x1;const _0x337e29=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364);if(!_0x337e29)return!0x1;_0x337e29[_0x43eb2b(0x13d)]();for(const _0x250456 of _0x50a89e){const {area:_0x3628f1}=_0x337e29[_0x43eb2b(0x2e8)](_0x250456);_0x3628f1===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x311)]&&_0x337e29[_0x43eb2b(0x1dd)](_0x250456),(_0x3628f1===_0x399222[_0x43eb2b(0x3df)]['Row']||_0x3628f1===_0x399222[_0x43eb2b(0x3df)]['Column'])&&_0x337e29[_0x43eb2b(0x1ff)](_0x250456),_0x337e29[_0x43eb2b(0x1a1)](_0x250456);}const _0x3bba7b=_0x337e29[_0x43eb2b(0x364)](),_0x388ec2=_0x337e29[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x28c7f1=_0x337e29[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x1dc)]={'changesets':_0x28c7f1,'pivotTableConfig':_0x2a64a9,'isEmpty':_0x3bba7b,'view':_0x388ec2};}break;case _0x4651ca[_0x43eb2b(0x36c)]:{const _0x5a211e=_0x31917e['params'][_0x43eb2b(0x30b)];if(!_0x5a211e)return;const {tableFieldId:_0x314821,items:_0x4f737c,isAll:_0x4da231}=_0x5a211e,_0x1d0012=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x181f58=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1d0012||!_0x181f58)return;_0x1d0012['startCollectChangeset'](),_0x1d0012[_0x43eb2b(0x36a)](_0x314821,{'type':_0x399222['PivotFilterTypeEnum'][_0x43eb2b(0x2aa)],'list':_0x4f737c,'isAll':_0x4da231});const _0x1984f7=_0x1d0012['isEmpty'](),_0x8c4c80=_0x1d0012['query']()['toJSON'](),_0x47a7fb=_0x1d0012[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x30b)]={'view':_0x8c4c80,'changesets':_0x47a7fb,'isEmpty':_0x1984f7,'pivotTableConfig':_0x181f58};}break;case _0x4651ca['SetValuePivotFilter']:{const _0x29e2b8=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x109)];if(!_0x29e2b8)return;const {tableFieldId:_0x273ecc,filterInfo:_0x187068}=_0x29e2b8,_0x1303dd=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x14d82f=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1303dd||!_0x14d82f)return;_0x1303dd[_0x43eb2b(0x13d)](),_0x1303dd[_0x43eb2b(0x21b)](_0x273ecc,_0x187068);const _0x10a31d=_0x1303dd[_0x43eb2b(0x364)](),_0x30f153=_0x1303dd[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x485d69=_0x1303dd[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x109)]={'view':_0x30f153,'changesets':_0x485d69,'isEmpty':_0x10a31d,'pivotTableConfig':_0x14d82f};}break;case _0x4651ca[_0x43eb2b(0x261)]:{const _0x10a901=_0x31917e[_0x43eb2b(0xbf)]['setPivotSort'];if(!_0x10a901)return;const {tableFieldId:_0x56aa5c,info:_0x21d7e}=_0x10a901,_0x1d2576=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x46806a=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x570f65,_0x195db9,_0x85f364);if(!_0x1d2576||!_0x46806a)return;_0x1d2576[_0x43eb2b(0x13d)](),_0x1d2576[_0x43eb2b(0x318)](_0x56aa5c,_0x21d7e);const _0xe9f0a0=_0x1d2576[_0x43eb2b(0x364)](),_0x555d73=_0x1d2576[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x494b46=_0x1d2576[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x27e)]={'view':_0x555d73,'changesets':_0x494b46,'isEmpty':_0xe9f0a0,'pivotTableConfig':_0x46806a};}break;case _0x4651ca[_0x43eb2b(0x2c1)]:{const _0x153b99=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x26f)];if(!_0x153b99)return;const {tableFieldId:_0x3201ce,displayName:_0x34dd21,subtotalType:_0x264e1a,format:_0x49c299}=_0x153b99,_0x478349=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364),_0x3bffe3=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x478349||!_0x3bffe3)return;_0x478349[_0x43eb2b(0x13d)](),_0x34dd21!==void 0x0&&_0x478349[_0x43eb2b(0x357)](_0x3201ce,_0x34dd21),_0x264e1a!==void 0x0&&_0x478349[_0x43eb2b(0x39e)](_0x3201ce,_0x264e1a),_0x49c299!==void 0x0&&_0x478349[_0x43eb2b(0x1d7)](_0x3201ce,_0x49c299);const _0x25be3a=_0x478349['isEmpty'](),_0x28500d=_0x478349[_0x43eb2b(0x102)]()['toJSON'](),_0x47cf38=_0x478349[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x26f)]={'changesets':_0x47cf38,'pivotTableConfig':_0x3bffe3,'isEmpty':_0x25be3a,'view':_0x28500d};}break;case _0x4651ca[_0x43eb2b(0x14b)]:{const _0x4d6c1e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x12a)];if(!_0x4d6c1e)return;const {dataRangeInfo:_0x4de264,unitId:_0x5a0c07,subUnitId:_0x1fc44b}=_0x4d6c1e,_0x3a176f=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x5a0c07,_0x1fc44b,_0x85f364),_0x204ba1=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364);if(!this[_0x43eb2b(0x265)][_0x43eb2b(0x355)](_0x5a0c07,_0x85f364)||!_0x204ba1||!_0x3a176f)return;const _0x7e9af1=this[_0x43eb2b(0x265)][_0x43eb2b(0x28c)](_0x5a0c07,_0x85f364,_0x4de264),_0x348808=this[_0x43eb2b(0x265)]['getCollection'](_0x5a0c07,_0x85f364)[_0x43eb2b(0x3b5)](),{collection:_0x302bcc}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x4de264['unitId'],'sheetName':_0x4de264[_0x43eb2b(0x1a6)],'subUnitId':_0x4de264[_0x43eb2b(0x103)],'range':_0x4de264['range']}),_0x404eec=_0x302bcc[_0x43eb2b(0x3b5)]();_0x204ba1[_0x43eb2b(0x13d)]();const _0x37bd7a=this[_0x43eb2b(0x265)][_0x43eb2b(0x217)](_0x5a0c07)['getAutoDisplayNameFunction']()||_0x399222[_0x43eb2b(0x11d)];_0x204ba1[_0x43eb2b(0x3a1)](_0x1a16cb=>{const _0x264154=_0x43eb2b,_0x5a27e9=_0x1a16cb[_0x264154(0x225)]();if(!_0x302bcc['hasField'](_0x5a27e9)){const _0x3d0108=_0x302bcc['getDataFieldBySourceName'](_0x1a16cb[_0x264154(0x11b)]());if(_0x3d0108){_0x204ba1[_0x264154(0xd1)](_0x1a16cb[_0x264154(0x26d)](),_0x3d0108[_0x264154(0x220)](),_0x3d0108[_0x264154(0x26d)]());const {area:_0x1d36ec}=_0x204ba1['getFieldPositionInfoById'](_0x1a16cb[_0x264154(0x26d)]());let _0x41b462=_0x1a16cb[_0x264154(0x11b)]();const _0x256c34=_0x1a16cb['getDisplayName']();if(_0x1d36ec===_0x399222[_0x264154(0x3df)][_0x264154(0x311)]){const _0x2047d6=_0x1a16cb[_0x264154(0x34c)]();_0x41b462=_0x37bd7a(_0x3d0108[_0x264154(0x220)](),_0x2047d6);}_0x256c34!==_0x41b462&&_0x204ba1[_0x264154(0x357)](_0x1a16cb['getId'](),_0x41b462);}else _0x204ba1[_0x264154(0x1a1)](_0x1a16cb[_0x264154(0x26d)]());}});const _0x3c5a0d=_0x204ba1[_0x43eb2b(0x364)](),_0x58c83e=_0x204ba1[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x544a39=_0x204ba1['endCollectChangeset']();_0x3c7495[_0x43eb2b(0x12a)]={'view':_0x58c83e,'changesets':_0x544a39,'isEmpty':_0x3c5a0d,'pivotTableConfig':_0x3a176f,'collectionConfig':_0x404eec,'oldCollectionConfig':_0x348808,'deleteIds':_0x7e9af1};}break;case _0x4651ca[_0x43eb2b(0x12c)]:{const _0x51e91c=_0x31917e[_0x43eb2b(0xbf)]['updateValuePosition'];if(!_0x51e91c)return;const {position:_0x4b3215,index:_0x130a30}=_0x51e91c,_0x153fc9=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x153fc9)return!0x1;const _0x69614a=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364);if(!_0x69614a)return!0x1;_0x69614a[_0x43eb2b(0x13d)](),_0x69614a[_0x43eb2b(0x3e0)](_0x4b3215,_0x130a30);const _0x4a38e1=_0x69614a[_0x43eb2b(0x364)](),_0x199bff=_0x69614a[_0x43eb2b(0x102)]()['toJSON'](),_0x6264ca=_0x69614a[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x3e0)]={'changesets':_0x6264ca,'pivotTableConfig':_0x153fc9,'isEmpty':_0x4a38e1,'view':_0x199bff};}break;case _0x4651ca[_0x43eb2b(0x1e2)]:{const _0xef0af3=_0x31917e[_0x43eb2b(0xbf)]['setPivotCollapse'];if(!_0xef0af3)return;const {tableFieldId:_0x4ec27d,collapse:_0x36ed71,item:_0x51b525}=_0xef0af3,_0x4d6cc2=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x1e6fcd=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x4d6cc2||!_0x1e6fcd)return;_0x4d6cc2[_0x43eb2b(0x13d)](),_0x4d6cc2[_0x43eb2b(0xcc)](_0x4ec27d,_0x36ed71,_0x51b525);const _0x27b06d=_0x4d6cc2[_0x43eb2b(0x364)](),_0x27e213=_0x4d6cc2['query']()[_0x43eb2b(0x3b5)](),_0x30b5e2=_0x4d6cc2[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x3ba)]={'view':_0x27e213,'isEmpty':_0x27b06d,'pivotTableConfig':_0x1e6fcd,'changesets':_0x30b5e2};}break;case _0x4651ca[_0x43eb2b(0x37d)]:{const _0xc9e60e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x24f)];if(!_0xc9e60e)return;const {pivotTableConfig:_0x139b6c}=_0xc9e60e,_0x1626b3=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364),_0x1b128b=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1626b3||!_0x1b128b)return;_0x1626b3[_0x43eb2b(0x13d)](),_0x3e27da(_0x1626b3,_0x139b6c);const _0x3f4d4d=_0x1626b3['isEmpty'](),_0x1f197c=_0x1626b3[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x3a1606=_0x1626b3['endCollectChangeset']();_0x3c7495['setPivotTableConfig']={'view':_0x1f197c,'isEmpty':_0x3f4d4d,'pivotTableConfig':{..._0x1b128b,'fieldsConfig':_0x1626b3['toJSON']()},'changesets':_0x3a1606};}break;case _0x4651ca[_0x43eb2b(0x3a0)]:{const _0x554f20=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0xde)];if(!_0x554f20)return;const _0x2c12a7=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x85f364),_0x3fd0c8=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x2c12a7||!_0x3fd0c8)return;_0x2c12a7[_0x43eb2b(0x13d)](),_0x542f26(_0x2c12a7,_0x554f20[_0x43eb2b(0x1fb)]);const _0xdb2913=_0x2c12a7[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0xce5847=_0x2c12a7[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0xde)]={'view':_0xdb2913,'isEmpty':!0x0,'pivotTableConfig':{..._0x3fd0c8,'fieldsConfig':_0x2c12a7[_0x43eb2b(0x3b5)]()},'changesets':_0xce5847};}break;case _0x4651ca['AddPivotTableWithConfig']:{const _0x9f613e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x28a)];if(!_0x9f613e)return;const _0x7516d=_0x9f613e[_0x43eb2b(0x354)],_0x259c7d=_0x9f613e[_0x43eb2b(0x22f)],{collection:_0x5024ea}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x7516d['unitId'],'sheetName':_0x7516d[_0x43eb2b(0x1a6)],'subUnitId':_0x7516d['subUnitId'],'range':_0x7516d['range']}),_0x1526b2=new _0x399222[(_0x43eb2b(0x24d))](_0x5024ea,void 0x0,_0x259c7d),_0x5aebbe=_0x5024ea[_0x43eb2b(0x3a5)](),{rows:_0x5d6be3,columns:_0x54da83,filters:_0x559aea,values:_0x339255}=_0x9f613e[_0x43eb2b(0xc7)];_0x1526b2[_0x43eb2b(0x13d)]();for(const {field:_0x1b36a0,selectedItems:_0x4801a7}of _0x5d6be3||[]){const _0x3d7816=_0x5aebbe[_0x1b36a0];if(_0x3d7816){const _0x475fc4=_0x1526b2['addFieldWithSourceId'](_0x3d7816,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]);_0x4801a7&&_0x475fc4&&_0x1526b2[_0x43eb2b(0x36a)](_0x475fc4[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)][_0x43eb2b(0x2aa)],'list':_0x4801a7,'isAll':!0x1});}}for(const {field:_0x3b8005,selectedItems:_0x301cae}of _0x54da83||[]){const _0x5b3e5b=_0x5aebbe[_0x3b8005];if(_0x5b3e5b){const _0x4a9630=_0x1526b2['addFieldWithSourceId'](_0x5b3e5b,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]);_0x301cae&&_0x4a9630&&_0x1526b2['setLabelFilterInfo'](_0x4a9630[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)]['ManualFilter'],'list':_0x301cae,'isAll':!0x1});}}for(const {field:_0x4092c0,selectedItems:_0x3c0ddd}of _0x559aea||[]){const _0x1cd3d0=_0x5aebbe[_0x4092c0];if(_0x1cd3d0){const _0x2dbc69=_0x1526b2['addFieldWithSourceId'](_0x1cd3d0,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x231)]);_0x3c0ddd&&_0x2dbc69&&_0x1526b2[_0x43eb2b(0x36a)](_0x2dbc69[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)][_0x43eb2b(0x2aa)],'list':_0x3c0ddd,'isAll':!0x1});}}for(const {field:_0x5565b4,subTotalType:_0x11e57f,formatString:_0x3b5515}of _0x339255||[]){const _0x142a95=_0x5024ea[_0x43eb2b(0x241)](_0x5aebbe[_0x5565b4]);if(!_0x142a95)continue;const _0x248d23=_0x5aebbe[_0x5565b4];if(_0x248d23){const _0x58a9c1=_0x1526b2[_0x43eb2b(0x34d)](_0x248d23,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x311)]);if(_0x58a9c1){if(_0x11e57f!==void 0x0){_0x1526b2[_0x43eb2b(0x39e)](_0x58a9c1['getId'](),_0x11e57f);const _0x331fef=this[_0x43eb2b(0x265)][_0x43eb2b(0x217)](_0x7516d['unitId'])['getAutoDisplayNameFunction']()||_0x399222[_0x43eb2b(0x11d)],_0x1951ca=_0x5024ea[_0x43eb2b(0x1f0)](_0x248d23),_0x2e2622=_0x331fef(_0x1951ca,_0x11e57f);_0x1526b2['renameField'](_0x58a9c1[_0x43eb2b(0x26d)](),_0x2e2622);}else{if(_0x142a95){const _0x31a74f=_0x142a95==null?void 0x0:_0x142a95['getFieldDataType']();_0x1526b2[_0x43eb2b(0x39e)](_0x58a9c1[_0x43eb2b(0x26d)](),_0x31a74f===_0x399222[_0x43eb2b(0x14e)]['number']?_0x399222[_0x43eb2b(0x165)]['sum']:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}}_0x3b5515&&_0x1526b2['setFieldFormat'](_0x58a9c1[_0x43eb2b(0x26d)](),_0x3b5515);}}}const _0x3b6f52=_0x1526b2[_0x43eb2b(0x102)](),_0x1f7a55=_0x1526b2['toJSON'](),_0x5dc638=_0x1526b2[_0x43eb2b(0x364)](),_0x1d9378=_0x1526b2[_0x43eb2b(0x319)](),_0x5c78cf=_0x5024ea['toJSON']();_0x3c7495[_0x43eb2b(0x28a)]={'view':_0x3b6f52,'fieldsConfig':_0x1f7a55,'collectionConfig':_0x5c78cf,'isEmpty':_0x5dc638,'changesets':_0x1d9378};}break;case _0x4651ca['DrillDown']:{const _0x326dee=_0x33ea95(this[_0x43eb2b(0x33e)],_0x31917e);if(!_0x326dee)return;const {range:_0x4e6036,sourceSubUnitId:_0x381a42,sourceUnitId:_0x4486fc,formatMap:_0x3406e4,indexes:_0x224ada}=_0x326dee;_0x3c7495['drillDown']={'range':_0x4e6036,'sourceSubUnitId':_0x381a42,'sourceUnitId':_0x4486fc,'formatMap':_0x3406e4,'indexes':_0x224ada};}break;}this['_commandService'][_0x43eb2b(0x285)](_0x1a7285['id'],{'version':_0x31917e[_0x43eb2b(0x360)],'result':_0x3c7495},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x4a971f=_0x3dc404;this[_0x4a971f(0x260)](this[_0x4a971f(0x284)][_0x4a971f(0x125)](_0x2941a9=>{const _0x57124c=_0x4a971f;if(_0x2941a9['id']!==_0x2b6fcc['id'])return;const _0xcf0b58=_0x2941a9[_0x57124c(0xbf)];return this['_sheetsPivotDataSourceModel'][_0x57124c(0x249)](_0xcf0b58[_0x57124c(0x183)]),!0x0;}));}[_0x3dc404(0x2d0)](){const _0x4ff832=_0x3dc404;this[_0x4ff832(0x265)]['collectionChange$'][_0x4ff832(0xe5)](_0x4d2ebe=>{const _0x19f252=_0x4ff832;switch(_0x4d2ebe[_0x19f252(0x11c)]){case _0x18eb7f[_0x19f252(0x1e9)]:_0x4d2ebe[_0x19f252(0x38c)]&&_0x4d2ebe[_0x19f252(0x1ca)]&&this[_0x19f252(0x378)](_0x4d2ebe[_0x19f252(0x384)],_0x4d2ebe['dataRangeInfo'],_0x4d2ebe[_0x19f252(0x1ca)]);break;case _0x18eb7f['delete']:{const {unitId:_0x3797f0,subUnitId:_0x1f3d0a,token:_0x21dcc0}=_0x4d2ebe;_0x3797f0&&_0x1f3d0a&&_0x21dcc0&&this['removeSourceRangeChange'](_0x3797f0,_0x1f3d0a,_0x21dcc0);}break;case _0x18eb7f[_0x19f252(0x2e4)]:{const {token:_0x421c23,oldSourceRangeInfo:_0x19bb9b,dataRangeInfo:_0x3c18d5,targetCellInfo:_0x3ee476}=_0x4d2ebe,{unitId:_0x3f875c,subUnitId:_0x249a3a}=_0x19bb9b||{};_0x3f875c&&_0x249a3a&&_0x421c23&&this['removeSourceRangeChange'](_0x3f875c,_0x249a3a,_0x421c23),_0x3c18d5&&_0x3ee476&&this[_0x19f252(0x378)](_0x421c23,_0x3c18d5,_0x3ee476);}break;}});}[_0x3dc404(0x273)](){const _0x57b6de=_0x3dc404;this[_0x57b6de(0x265)][_0x57b6de(0x2b5)][_0x57b6de(0xe5)](_0xcface9=>{const _0x371a6a=_0x57b6de;Object[_0x371a6a(0x336)](_0xcface9)[_0x371a6a(0xfe)](_0x24b7fe=>{const _0x159c43=_0x371a6a,_0x4da2bb=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x24b7fe);if(_0x4da2bb){const _0x2e1fc1=this['_sheetsPivotDataSourceModel'][_0x159c43(0x17c)](_0x4da2bb==null?void 0x0:_0x4da2bb[_0x159c43(0x10b)],_0x4da2bb==null?void 0x0:_0x4da2bb['subUnitId'],_0x24b7fe);_0x2e1fc1&&(this[_0x159c43(0x378)](_0x24b7fe,_0x2e1fc1[_0x159c43(0x354)],_0x2e1fc1[_0x159c43(0x1ca)]),this['triggerDirtyFeature']([{'unitId':_0x4da2bb['unitId'],'subUnitId':_0x4da2bb[_0x159c43(0x103)],'token':_0x24b7fe}]));}});});}['_subjectViewChange'](){const _0x41c457=_0x3dc404;this[_0x41c457(0x265)][_0x41c457(0x31d)][_0x41c457(0xe5)](_0x58631c=>{const _0x1b1b49=_0x41c457,{unitId:_0x2ee3a3,subUnitId:_0x2fdb43,pivotTableId:_0x35da75}=_0x58631c;_0x2ee3a3&&_0x2fdb43&&_0x35da75&&this[_0x1b1b49(0xfa)]([{'unitId':_0x2ee3a3,'subUnitId':_0x2fdb43,'token':_0x35da75}]);});}[_0x3dc404(0xfa)](_0x297462){const _0x59b8df=_0x3dc404,_0x4a8419={};_0x297462['forEach'](_0x4b352e=>{var _0x311361,_0x1aba49;const {unitId:_0x180e30,subUnitId:_0x73dc56,token:_0x4b921a}=_0x4b352e;_0x4a8419[_0x180e30]=(_0x311361=_0x4a8419[_0x180e30])!=null?_0x311361:{},_0x4a8419[_0x180e30][_0x73dc56]=(_0x1aba49=_0x4a8419[_0x180e30][_0x73dc56])!=null?_0x1aba49:{},_0x4a8419[_0x180e30][_0x73dc56][_0x4b921a]=!0x0;}),this['_commandService'][_0x59b8df(0x285)](_0xc8ed1['id'],_0x4a8419);}[_0x3dc404(0x2b7)](_0x379131,_0x1ed592,_0xce6d6e){const _0x2eec81=_0x3dc404;this[_0x2eec81(0x29a)][_0x2eec81(0x202)](_0x379131,_0x1ed592,[_0xce6d6e]);}[_0x3dc404(0x378)](_0x545055,_0x1e894b,_0x22c879){const _0x24eeae=_0x3dc404,{unitId:_0xf81284,subUnitId:_0x576fd3}=_0x1e894b;this[_0x24eeae(0x29a)][_0x24eeae(0x138)](_0x22c879[_0x24eeae(0x10b)],_0x22c879['subUnitId'],_0x545055)&&this[_0x24eeae(0x2b7)](_0xf81284,_0x576fd3,_0x545055);const _0x382290={'sheetId':_0x576fd3,..._0x1e894b};this['_featureCalculationManagerService'][_0x24eeae(0x31b)](_0x22c879[_0x24eeae(0x10b)],_0x22c879[_0x24eeae(0x103)],_0x545055,{'unitId':_0x22c879[_0x24eeae(0x10b)],'subUnitId':_0x22c879[_0x24eeae(0x103)],'dependencyRanges':[_0x382290],'getDirtyData':(_0x1599b8,_0x321d2f)=>{const _0xd9937b=_0x24eeae,_0x3ad3e5=this['_sheetsPivotDataSourceModel'],_0x5a7da=_0x3ad3e5[_0xd9937b(0x1bc)](_0x545055);if(!_0x5a7da)return _0x2a4b13();const {unitId:_0x5cc06e,subUnitId:_0x4e7179}=_0x5a7da,_0x443351=_0xa09870(_0x1599b8,_0x321d2f,_0x1e894b);if(_0x443351[_0xd9937b(0xfc)]>0x0){const _0x4ff315=_0x3ad3e5[_0xd9937b(0x355)](_0xf81284,_0x545055),_0x3284b5=_0x4ff315[_0xd9937b(0x3a5)](),_0x5ae2c0=this[_0xd9937b(0x353)](_0x1e894b[_0xd9937b(0x10b)],_0x1e894b[_0xd9937b(0x103)],_0x321d2f),_0xcad146={},_0x603d7c=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x5cc06e)[_0xd9937b(0x2b2)]()||_0x399222[_0xd9937b(0x11d)],_0x450e9f=[];for(const _0x18aab4 of _0x443351){const _0x56a5cd=_0x18aab4-(_0x1e894b[_0xd9937b(0x277)][_0xd9937b(0x223)]||0x0),_0x49d646=_0x3284b5[_0x56a5cd];_0x450e9f[_0xd9937b(0x34a)](_0x49d646),_0xcad146[_0x49d646]=_0x4ff315[_0xd9937b(0x241)](_0x49d646)[_0xd9937b(0x220)](),_0x3ad3e5['getDataFieldManager'](_0xf81284)[_0xd9937b(0x170)](_0x49d646,_0x1e894b,_0x56a5cd,_0x5ae2c0);}_0x4ff315['getGroupFieldsInfoByIds'](_0x450e9f)['forEach'](_0x440f91=>{const _0x4105e5=_0xd9937b,[_0xba7c62,_0x9a2129]=_0x440f91,_0x480e12=_0x4ff315[_0x4105e5(0x241)](_0xba7c62),_0x39b701=_0x4ff315[_0x4105e5(0x241)](_0x9a2129);_0x480e12&&_0x39b701&&_0x480e12['refreshGroupField'](_0x39b701);}),_0x4ff315[_0xd9937b(0x156)]();const _0x438676=_0x3ad3e5[_0xd9937b(0x363)](_0x545055);if(_0x438676){_0x500a17(_0x438676,_0xcad146,_0x603d7c),_0x438676[_0xd9937b(0x33d)](!0x0);const _0x44675c=_0x438676['query'](),_0x466864=_0x3ad3e5[_0xd9937b(0x17c)](_0x5cc06e,_0x4e7179,_0x545055),_0x1378e0=_0x3ad3e5[_0xd9937b(0x217)](_0xf81284)['toJSON']();_0x3ad3e5[_0xd9937b(0x395)](_0x5cc06e,_0x4e7179,_0x20d852[_0xd9937b(0x1ea)],_0x545055,_0x44675c,_0x466864,_0x1378e0,!0x0);}}return this[_0xd9937b(0x292)](_0x5cc06e,_0x4e7179,_0x545055);}});}[_0x3dc404(0x353)](_0x2da7e5,_0x5860d6,_0x3b9de7){var _0x121c5a,_0x32e64c;const {arrayFormulaCellData:_0x4fd7e3,unitData:_0x399251}=_0x3b9de7,_0x340bdf=(_0x121c5a=_0x4fd7e3==null?void 0x0:_0x4fd7e3[_0x2da7e5])==null?void 0x0:_0x121c5a[_0x5860d6],_0x819a10=(_0x32e64c=_0x399251==null?void 0x0:_0x399251[_0x2da7e5])==null?void 0x0:_0x32e64c[_0x5860d6];return{'arrayFormulaCellDataMatrix':_0x340bdf,'unitDataMatrix':_0x819a10};}[_0x3dc404(0x292)](_0x275d21,_0x30e5a3,_0x59651d){const _0x4b9cfe=_0x3dc404,_0x51a757=this[_0x4b9cfe(0x265)][_0x4b9cfe(0x309)](_0x275d21,_0x30e5a3,_0x59651d),_0x44d10a=[],_0x317204=new _0x9cf92b[(_0x4b9cfe(0x37c))]();if(_0x51a757){const {rangeCache:_0xe6ceca,matrix:_0x5bf13a,oldRangeCache:_0x229c7b,oldMatrix:_0x23f407}=_0x51a757,_0x4c4f62=_0x1c8bbb(_0x229c7b),_0x3251fc=_0x1c8bbb(_0xe6ceca);_0x44d10a['push'](..._0x3251fc,..._0x4c4f62),_0x23f407&&_0x229c7b&&_0x4c4f62['forEach'](_0x48d2f5=>{const _0x5af22d=_0x4b9cfe;for(let _0x19e710=_0x48d2f5[_0x5af22d(0x204)];_0x19e710<=_0x48d2f5[_0x5af22d(0x13e)];_0x19e710++)for(let _0x2892f4=_0x48d2f5[_0x5af22d(0x223)];_0x2892f4<=_0x48d2f5[_0x5af22d(0x104)];_0x2892f4++)_0x317204['realDeleteValue'](_0x19e710,_0x2892f4);}),_0x5bf13a&&_0x3251fc&&_0x3251fc[_0x4b9cfe(0xfe)](_0x14d85d=>{const _0x448781=_0x4b9cfe;for(let _0x38728c=_0x14d85d[_0x448781(0x204)];_0x38728c<=_0x14d85d[_0x448781(0x13e)];_0x38728c++)for(let _0x36e2f8=_0x14d85d['startColumn'];_0x36e2f8<=_0x14d85d[_0x448781(0x104)];_0x36e2f8++)_0x317204['setValue'](_0x38728c,_0x36e2f8,_0x5bf13a[_0x448781(0x34f)](_0x38728c,_0x36e2f8));});}const _0x5d50c9={};return _0x5d50c9[_0x275d21]={[_0x30e5a3]:_0x5520f6(_0x44d10a)},{'runtimeCellData':{[_0x275d21]:{[_0x30e5a3]:_0x317204}},'dirtyRanges':_0x5d50c9};}['dispose'](){}};_0x503194=_0xdf4053([_0x36a6bf(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x3c0)])),_0x36a6bf(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x544f7f[_0x3dc404(0x236)])),_0x36a6bf(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0x36a6bf(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x544f7f['GlobalComputingStatusService'])),_0x36a6bf(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)]))],_0x503194);var _0x486f43=Object[_0x3dc404(0x34b)],_0x4107b7=(_0x1d3487,_0x544166,_0x4764e4,_0x3a3046)=>{const _0x17c33f=_0x3dc404;for(var _0x2d9e81=_0x3a3046>0x1?void 0x0:_0x3a3046?_0x486f43(_0x544166,_0x4764e4):_0x544166,_0x33ecf5=_0x1d3487[_0x17c33f(0xfc)]-0x1,_0x47c703;_0x33ecf5>=0x0;_0x33ecf5--)(_0x47c703=_0x1d3487[_0x33ecf5])&&(_0x2d9e81=_0x47c703(_0x2d9e81)||_0x2d9e81);return _0x2d9e81;},_0x5712ad=(_0x46f4dc,_0x1d83c9)=>(_0x46a16f,_0x1a6ca2)=>_0x1d83c9(_0x46a16f,_0x1a6ca2,_0x46f4dc);let _0x22d7bd=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x273b1f,_0x4ac4e7,_0x285264,_0x3b7812){const _0x2b7a7c=_0x3dc404;super(),_0x4d8d39(this,_0x2b7a7c(0x230),new _0x9cf92b[(_0x2b7a7c(0x228))]()),(this['_univerInstanceService']=_0x273b1f,this[_0x2b7a7c(0x23d)]=_0x4ac4e7,this[_0x2b7a7c(0x254)]=_0x285264,this[_0x2b7a7c(0x30d)]=_0x3b7812,this[_0x2b7a7c(0x10a)]());}[_0x3dc404(0x10a)](){const _0x41ebaa=_0x3dc404;this[_0x41ebaa(0x260)](this['_sheetInterceptorService'][_0x41ebaa(0x256)]({'getMutations':_0x50ed63=>{const _0x4f8e14=_0x41ebaa;if(_0x50ed63['id']===_0x165f3c['ClearSelectionContentCommand']['id']||_0x50ed63['id']===_0x165f3c[_0x4f8e14(0x25b)]['id']){const _0x15823f=[],_0x169ba5=[],_0x40c529=this[_0x4f8e14(0x254)]['getCurrentSelections']()[_0x4f8e14(0x34e)](_0x22d130=>_0x22d130['range']),_0x37cff8=_0x165f3c[_0x4f8e14(0x28d)](this['_univerInstanceService']);if(!_0x37cff8)return{'redos':[],'undos':[]};const {unitId:_0x4f8d5b,subUnitId:_0x14be11}=_0x37cff8,_0x2747cd={},_0x66568=this[_0x4f8e14(0x30d)][_0x4f8e14(0x266)](_0x4f8d5b,_0x14be11);if(_0x66568!=null&&_0x66568[_0x4f8e14(0x128)])for(const [_0x597d48,_0x2271a7]of _0x66568){const {unitId:_0x8dc89f,subUnitId:_0x4474b0,row:_0x33007a,col:_0x3d06aa}=_0x2271a7['targetCellInfo'];_0x8dc89f===_0x37cff8[_0x4f8e14(0x10b)]&&_0x4474b0===_0x37cff8[_0x4f8e14(0x103)]&&(_0x2747cd[_0x33007a+'-'+_0x3d06aa]=_0x597d48);}return _0x40c529&&_0x37cff8&&_0x40c529[_0x4f8e14(0xfe)](_0x3464bd=>{const _0x16bf3f=_0x4f8e14;_0x9cf92b[_0x16bf3f(0x17d)][_0x16bf3f(0x342)](_0x3464bd,(_0x1d8027,_0x500fb8)=>{const _0x238423=_0x16bf3f,_0x3ccffa=_0x1d8027+'-'+_0x500fb8;if(_0x2747cd[_0x3ccffa]){const _0x420879=_0x2747cd[_0x3ccffa];_0x15823f['push']({'id':_0x41c01a['id'],'params':{'unitId':_0x4f8d5b,'subUnitId':_0x14be11,'pivotTableId':_0x420879}});const _0x4e69d4=this[_0x238423(0x30d)][_0x238423(0x355)](_0x4f8d5b,_0x420879),_0x4b9d49=this[_0x238423(0x30d)][_0x238423(0x17c)](_0x4f8d5b,_0x14be11,_0x420879);_0x169ba5['push']({'id':_0x16a837['id'],'params':{'unitId':_0x4f8d5b,'subUnitId':_0x14be11,'pivotTableId':_0x420879,'pivotTableConfig':_0x4b9d49,'collectionConfig':_0x4e69d4}});}});}),{'redos':_0x15823f,'undos':_0x169ba5};}return{'redos':[],'undos':[]};}}));}};_0x22d7bd=_0x4107b7([_0x5712ad(0x0,_0x9cf92b['IUniverInstanceService']),_0x5712ad(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c['SheetInterceptorService'])),_0x5712ad(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x115)])),_0x5712ad(0x3,_0x9cf92b['Inject'](_0x582d11['SheetsPivotTableConfigModel']))],_0x22d7bd);var _0x1cb488=Object[_0x3dc404(0x34b)],_0x2a95d8=(_0x1b000b,_0x3d361d,_0x26fb47,_0x2ee19d)=>{const _0x394803=_0x3dc404;for(var _0x4aae76=_0x2ee19d>0x1?void 0x0:_0x2ee19d?_0x1cb488(_0x3d361d,_0x26fb47):_0x3d361d,_0xe833f9=_0x1b000b[_0x394803(0xfc)]-0x1,_0x55d56c;_0xe833f9>=0x0;_0xe833f9--)(_0x55d56c=_0x1b000b[_0xe833f9])&&(_0x4aae76=_0x55d56c(_0x4aae76)||_0x4aae76);return _0x4aae76;},_0x442e0b=(_0x3bee14,_0x5a6907)=>(_0x3f905a,_0x409456)=>_0x5a6907(_0x3f905a,_0x409456,_0x3bee14);let _0x174757=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x8b1a2c,_0x1d8978,_0x158338,_0x12eb3b,_0x19b4fa){const _0x3bde0d=_0x3dc404;super(),this['_sheetInterceptorService']=_0x8b1a2c,this[_0x3bde0d(0x33e)]=_0x1d8978,this[_0x3bde0d(0x206)]=_0x158338,this['_sheetsPivotTableConfigModel']=_0x12eb3b,this[_0x3bde0d(0x3bf)]=_0x19b4fa,this[_0x3bde0d(0x332)]();}[_0x3dc404(0x174)](_0x40be45,_0x524fb6,_0x2a1452){const _0x1e532a=_0x3dc404,{pageView:_0x12fa87,cornerView:_0x202248,rowView:_0x1a1eed,colView:_0x3488e5,dataView:_0x328fba}=_0x524fb6,_0xcf37db=_0x40be45;let _0x5b8c66;if(_0x2a1452)_0x5b8c66=[..._0x47957b(_0xcf37db)];else{const _0x1bcd5a=_0x7e091f(_0xcf37db,_0x12fa87,!0x0),_0x218e6d=_0x12fa87[_0x1e532a(0x257)]>=0x0?_0x12fa87[_0x1e532a(0x257)]+0x1:0x0,_0x3e687a=_0x202248[_0x1e532a(0x1a8)],_0xbabcce=_0x202248['colCount'],_0x2747be=_0x1bcd5a[_0x1e532a(0xfc)]>0x0?_0x301d16:0x0,_0x5db4c9=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be,'col':_0xcf37db['col']},_0x202248,!0x1,!0x1),_0xca4f07=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be+_0x3e687a,'col':_0xcf37db[_0x1e532a(0x305)]},_0x1a1eed,!0x1,!0x0),_0xc0bb15=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be,'col':_0xcf37db[_0x1e532a(0x305)]+_0xbabcce},_0x3488e5,!0x1,!0x0),_0x3b9066=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be+_0x3e687a,'col':_0xcf37db[_0x1e532a(0x305)]+_0xbabcce},_0x328fba,!0x1,!0x0);_0x5b8c66=[..._0x1bcd5a,..._0x5db4c9,..._0xca4f07,..._0xc0bb15,..._0x3b9066];}return _0x5b8c66;}['_initCommandInterceptListener'](){const _0x2a78b8=_0x3dc404;this[_0x2a78b8(0x260)](this[_0x2a78b8(0x3bf)][_0x2a78b8(0x2fc)]['intercept'](this['_sheetsPivotTableService']['interceptor'][_0x2a78b8(0xc9)]()[_0x2a78b8(0x1f5)],{'handler':(_0x484bd9,_0x18ed77)=>{const _0x1163df=_0x2a78b8,{cellInfo:_0x2b4341,view:_0x58ffe9,isEmpty:_0x58a0bc}=_0x18ed77,_0x365274=_0x2b4341,{unitId:_0x3206d7,subUnitId:_0x28b01a}=_0x365274,_0x463345=this['_getPivotAppliedRanges'](_0x2b4341,_0x58ffe9,_0x58a0bc),_0x12c758=this[_0x1163df(0x23d)][_0x1163df(0x36e)]({'unitId':_0x3206d7,'subUnitId':_0x28b01a,'ranges':_0x463345}),_0x5e96a1=_0xfbdb4a(this[_0x1163df(0x33e)],_0x3206d7,_0x28b01a,_0x463345);_0x5e96a1[_0x1163df(0x2c3)]&&(_0x12c758[_0x1163df(0x143)][_0x1163df(0x34a)](_0x5e96a1[_0x1163df(0x221)]),_0x12c758['undos'][_0x1163df(0x34a)](_0x5e96a1['setRangeValueUndoMutation']));const _0x8f2b42=this[_0x1163df(0x2e2)](_0x58ffe9,_0x2b4341);return _0x12c758[_0x1163df(0x143)]['push'](..._0x8f2b42[_0x1163df(0x143)]),_0x12c758[_0x1163df(0xbe)][_0x1163df(0x34a)](..._0x8f2b42['undos']),{'redos':_0x12c758[_0x1163df(0x143)],'undos':_0x12c758['undos']};}}));}['getAutoFitColumnsMutations'](_0x2448b3,_0x843c4){const _0x1a7311=_0x3dc404,{col:_0x5e8ecf,unitId:_0x4bcdfd,subUnitId:_0x50a0c1}=_0x843c4,_0x3ad2ba=[],_0x25cfad=[],_0x274cdb=_0x165f3c[_0x1a7311(0x28d)](this[_0x1a7311(0x206)],{'unitId':_0x4bcdfd,'subUnitId':_0x50a0c1});if(!_0x843c4||!_0x2448b3||!_0x274cdb)return{'undos':_0x25cfad,'redos':_0x3ad2ba};const _0x5cfa09=this[_0x1a7311(0x30d)][_0x1a7311(0x1ee)](),{colView:_0x563a4d,dataView:_0x54fb34,cornerView:_0x5b247b,rowView:_0xa2c289,formatMap:_0x1fa489}=_0x2448b3,_0x367e17=_0x5c9cc5(_0x563a4d,_0x5cfa09,!0x0,_0x1fa489),_0x17706=_0x5c9cc5(_0xa2c289,_0x5cfa09,!0x1,_0x1fa489),_0x1339cf=_0x2bf671(_0x54fb34),_0x3f2e06=_0x4634dc(_0x5b247b),{worksheet:_0x13752a}=_0x274cdb;if(typeof window<'u'&&window['document']){const _0x2f1ff6=_0x2ab7b2['getFontStyleString']({..._0x22c6a2[_0x1a7311(0x3cd)]}),_0x13b823=_0x2ab7b2[_0x1a7311(0x3b3)][_0x1a7311(0x2ea)](_0x367e17,_0x2f1ff6)[_0x1a7311(0x10f)]+0x10,_0xc59771=_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x1339cf,_0x2f1ff6)[_0x1a7311(0x10f)],_0x1e0bd7=Math[_0x1a7311(0xc3)](Math['max'](_0x13b823,_0xc59771))+0x10,_0x26debf=Math[_0x1a7311(0xc3)](_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x17706,_0x2f1ff6)[_0x1a7311(0x10f)]),_0x343167=Math[_0x1a7311(0xc3)](_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x3f2e06,_0x2f1ff6)[_0x1a7311(0x10f)]),_0x3d7d47=Math[_0x1a7311(0x15d)](_0x26debf,_0x343167,0x28)+0xc,_0x12a7c3=_0x563a4d[_0x1a7311(0x3a6)]+_0x5b247b[_0x1a7311(0x3a6)],_0x21705d={},_0x4df991={};for(let _0x444a88=_0x5e8ecf;_0x444a88<_0x5e8ecf+_0x12a7c3;_0x444a88++){const _0x70493c=_0x13752a[_0x1a7311(0x188)](_0x444a88);_0x21705d[_0x444a88]=_0x70493c,_0x444a88-_0x5e8ecf<_0x5b247b['colCount']?_0x4df991[_0x444a88-_0x5e8ecf]=_0x3d7d47:_0x4df991[_0x444a88-_0x5e8ecf]=_0x1e0bd7;}_0x3ad2ba['push']({'id':_0x165f3c[_0x1a7311(0x193)]['id'],'params':{'subUnitId':_0x50a0c1,'unitId':_0x4bcdfd,'ranges':[{'startColumn':_0x5e8ecf,'endColumn':_0x5e8ecf+_0x12a7c3-0x1,'startRow':0x0,'endRow':_0x13752a['getRowCount']()-0x1}],'colWidth':_0x4df991}}),_0x25cfad[_0x1a7311(0x34a)]({'id':_0x165f3c['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x50a0c1,'unitId':_0x4bcdfd,'ranges':[{'startColumn':_0x5e8ecf,'endColumn':_0x5e8ecf+_0x12a7c3-0x1,'startRow':0x0,'endRow':_0x13752a[_0x1a7311(0x393)]()-0x1}],'colWidth':_0x21705d}});}return{'undos':_0x25cfad,'redos':_0x3ad2ba};}};_0x174757=_0x2a95d8([_0x442e0b(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x442e0b(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x442e0b(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0x442e0b(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x442e0b(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11['SheetsPivotTableService']))],_0x174757);var _0x253d6e=Object['getOwnPropertyDescriptor'],_0x2676f3=(_0x37f325,_0x2ab46a,_0x11c392,_0x2d0c3d)=>{const _0x3a6588=_0x3dc404;for(var _0xfe4651=_0x2d0c3d>0x1?void 0x0:_0x2d0c3d?_0x253d6e(_0x2ab46a,_0x11c392):_0x2ab46a,_0x587a16=_0x37f325[_0x3a6588(0xfc)]-0x1,_0x219342;_0x587a16>=0x0;_0x587a16--)(_0x219342=_0x37f325[_0x587a16])&&(_0xfe4651=_0x219342(_0xfe4651)||_0xfe4651);return _0xfe4651;},_0x34d6b1=(_0xb7dda3,_0x442cf6)=>(_0x289a37,_0x4223c8)=>_0x442cf6(_0x289a37,_0x4223c8,_0xb7dda3);let _0x4d140f=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x156308,_0x2b64c3,_0x2dc9dc,_0x51da64,_0x2d0dbd,_0x5a12b6,_0xc37108){const _0x50fca3=_0x3dc404;super(),_0x4d8d39(this,_0x50fca3(0x230),new _0x9cf92b[(_0x50fca3(0x228))]()),(this[_0x50fca3(0x33e)]=_0x156308,this[_0x50fca3(0x35e)]=_0x2b64c3,this[_0x50fca3(0x284)]=_0x2dc9dc,this['_univerInstanceService']=_0x51da64,this[_0x50fca3(0x30d)]=_0x2d0dbd,this[_0x50fca3(0x200)]=_0x5a12b6,this['_sheetInterceptorService']=_0xc37108,this[_0x50fca3(0x1ef)]());}[_0x3dc404(0x1ef)](){const _0x12fab2=_0x3dc404,_0x43afde=(_0x39d244,_0x31df7d)=>{const _0x176ff2=_0x3474,_0x25f825=this[_0x176ff2(0x206)][_0x176ff2(0x1b7)](_0x9cf92b[_0x176ff2(0x101)]['UNIVER_SHEET']);if(!_0x25f825||!(_0x25f825==null?void 0x0:_0x25f825[_0x176ff2(0x379)](_0x31df7d)))return;this[_0x176ff2(0x230)][_0x176ff2(0x28f)]();const _0x3635fc=_0x3f0c91=>this[_0x176ff2(0x144)](_0x3f0c91,_0x39d244,_0x31df7d),_0x1148ee=this[_0x176ff2(0x30d)]['getSubUnitPivotConfigs'](_0x39d244,_0x31df7d);if(!(_0x1148ee!=null&&_0x1148ee['size']))return;Array[_0x176ff2(0x288)](_0x1148ee['values']())[_0x176ff2(0x34e)](_0x411175=>{const _0x3111b1=_0x176ff2,{row:_0x168b1f,col:_0x92a822}=_0x411175[_0x3111b1(0x1ca)];return _0x9cf92b['cellToRange'](_0x168b1f,_0x92a822);})['forEach'](_0x5c67ab=>{const _0x35db17=_0x176ff2;this[_0x35db17(0x230)][_0x35db17(0x1e9)](this[_0x35db17(0x35e)]['registerRefRange'](_0x5c67ab,_0x3635fc,_0x39d244,_0x31df7d));});},_0x3a836e=()=>{const _0x10604e=_0x3474,_0x3644e2=this['_univerInstanceService'][_0x10604e(0x1b7)](_0x9cf92b[_0x10604e(0x101)]['UNIVER_SHEET']);if(_0x3644e2){const _0x5db113=_0x3644e2[_0x10604e(0x1da)]();if(!_0x5db113)return;_0x43afde(_0x3644e2[_0x10604e(0x1de)](),_0x5db113['getSheetId']());}};this['disposeWithMe'](this['_commandService'][_0x12fab2(0x125)](_0x5fc72c=>{const _0x54bc75=_0x12fab2;if(_0x5fc72c['id']===_0x165f3c['SetWorksheetActiveOperation']['id']){const _0x1d0a8f=_0x5fc72c['params'],_0xf72445=_0x1d0a8f[_0x54bc75(0x103)],_0x5e6bc2=_0x1d0a8f['unitId'];if(!_0xf72445||!_0x5e6bc2)return;_0x43afde(_0x5e6bc2,_0xf72445);}})),this['disposeWithMe'](this[_0x12fab2(0x30d)]['pivotInitCompleted$'][_0x12fab2(0xe5)](_0x368e4c=>{_0x368e4c&&_0x3a836e();})),this['disposeWithMe'](this[_0x12fab2(0x30d)][_0x12fab2(0x26c)][_0x12fab2(0xe5)](_0xb7fb51=>{const _0x7e4ada=_0x12fab2,_0x5292a6=_0x165f3c[_0x7e4ada(0x28d)](this[_0x7e4ada(0x206)]);if(!_0x5292a6)return;const {unitId:_0x5a446f,subUnitId:_0x179226}=_0x5292a6,{unitId:_0xc60070,subUnitId:_0x41d4a5}=_0xb7fb51;_0x5a446f!==_0xc60070||_0x179226!==_0x41d4a5||_0x43afde(_0x5a446f,_0x179226);})),_0x3a836e();}['_refRangeHandle'](_0x27bad7,_0x516087,_0x3fa2eb){const _0x273e1c=_0x3dc404;switch(_0x27bad7['id']){case _0x165f3c[_0x273e1c(0xdb)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x27bad7[_0x273e1c(0xbf)],_0x516087,_0x3fa2eb);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x559f6e,_0x5e7133,_0x3a3eac){const _0xf9ef35=_0x3dc404,{fromRange:_0x5a9267,toRange:_0x50ceb7}=_0x559f6e,_0x87e892=[],_0x4ae086=[],_0x2898d8=_0x165f3c[_0xf9ef35(0x28d)](this['_univerInstanceService']);if(!_0x2898d8)return{'undos':_0x4ae086,'redos':_0x87e892};if(_0x5e7133!==_0x2898d8['unitId']||_0x3a3eac!==_0x2898d8[_0xf9ef35(0x103)])return{'undos':_0x4ae086,'redos':_0x87e892};const _0x515048=this[_0xf9ef35(0x30d)]['getSubUnitPivotConfigs'](_0x5e7133,_0x3a3eac);if(_0x515048!=null&&_0x515048[_0xf9ef35(0x128)])for(const [_0x3797a3,_0x26ec85]of _0x515048){const {unitId:_0x5499b9,subUnitId:_0xc1347d,row:_0x59f71c,col:_0x153691}=_0x26ec85[_0xf9ef35(0x1ca)];if(_0x5499b9===_0x2898d8[_0xf9ef35(0x10b)]&&_0xc1347d===_0x2898d8[_0xf9ef35(0x103)]){const _0x3b2921=_0x9cf92b[_0xf9ef35(0x264)](_0x59f71c,_0x153691);if(_0x9cf92b[_0xf9ef35(0x2d6)][_0xf9ef35(0x1fe)](_0x3b2921,_0x5a9267)){const _0x174be8=_0x59f71c-_0x5a9267[_0xf9ef35(0x204)],_0x709397=_0x153691-_0x5a9267[_0xf9ef35(0x223)],_0x3f5aff={'row':_0x50ceb7['startRow']+_0x174be8,'col':_0x50ceb7['startColumn']+_0x709397};_0x87e892[_0xf9ef35(0x34a)]({'id':_0x5a33fa['id'],'params':{'unitId':_0x5499b9,'subUnitId':_0xc1347d,'pivotTableId':_0x3797a3,'targetCellPosition':_0x3f5aff}}),_0x4ae086['push']({'id':_0x5a33fa['id'],'params':{'unitId':_0x5499b9,'subUnitId':_0xc1347d,'pivotTableId':_0x3797a3,'targetCellPosition':{'row':_0x59f71c,'col':_0x153691}}});const _0x484baf=_0x3f5aff[_0xf9ef35(0x100)]-_0x59f71c,_0x339640=_0x3f5aff['col']-_0x153691,_0xb605ea=[],_0x438d80=this[_0xf9ef35(0x200)][_0xf9ef35(0x1c5)](_0x5499b9,_0xc1347d,_0x3797a3),_0x2885a5=_0x438d80==null?void 0x0:_0x438d80[_0xf9ef35(0x201)];if(_0x2885a5){Object['keys'](_0x2885a5)['forEach'](_0x36dc3d=>{_0x2885a5[_0x36dc3d]['forEach'](_0x264720=>{const _0x1d2220=_0x3474,_0x1ed349={..._0x264720};_0x1ed349[_0x1d2220(0x204)]=_0x264720[_0x1d2220(0x204)]+_0x484baf,_0x1ed349[_0x1d2220(0x13e)]=_0x264720[_0x1d2220(0x13e)]+_0x484baf,_0x1ed349[_0x1d2220(0x223)]=_0x264720[_0x1d2220(0x223)]+_0x339640,_0x1ed349[_0x1d2220(0x104)]=_0x264720[_0x1d2220(0x104)]+_0x339640,_0xb605ea[_0x1d2220(0x34a)](_0x1ed349);});});const _0x1e3b93=this['_sheetInterceptorService'][_0xf9ef35(0x36e)]({'unitId':_0x5499b9,'subUnitId':_0xc1347d,'ranges':_0xb605ea});_0x87e892['push'](..._0x1e3b93[_0xf9ef35(0x143)]),_0x4ae086[_0xf9ef35(0x34a)](..._0x1e3b93[_0xf9ef35(0xbe)]);const _0x8e29ff=_0xfbdb4a(this[_0xf9ef35(0x33e)],_0x5499b9,_0xc1347d,_0xb605ea);_0x8e29ff[_0xf9ef35(0x2c3)]&&(_0x87e892[_0xf9ef35(0x34a)](_0x8e29ff[_0xf9ef35(0x221)]),_0x4ae086['push'](_0x8e29ff[_0xf9ef35(0x35f)]));}}}}return{'redos':_0x87e892,'undos':_0x4ae086};}};_0x4d140f=_0x2676f3([_0x34d6b1(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x34d6b1(0x1,_0x9cf92b['Inject'](_0x165f3c[_0x3dc404(0x39b)])),_0x34d6b1(0x2,_0x9cf92b['ICommandService']),_0x34d6b1(0x3,_0x9cf92b[_0x3dc404(0x2f5)]),_0x34d6b1(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x34d6b1(0x5,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x13f)])),_0x34d6b1(0x6,_0x9cf92b['Inject'](_0x165f3c[_0x3dc404(0x1b3)]))],_0x4d140f);var _0x402684=Object[_0x3dc404(0x34b)],_0x16d148=(_0x5595e9,_0xc60dba,_0x5a252d,_0x5a1d2f)=>{const _0x990706=_0x3dc404;for(var _0x16f435=_0x5a1d2f>0x1?void 0x0:_0x5a1d2f?_0x402684(_0xc60dba,_0x5a252d):_0xc60dba,_0x24039c=_0x5595e9[_0x990706(0xfc)]-0x1,_0x3c086e;_0x24039c>=0x0;_0x24039c--)(_0x3c086e=_0x5595e9[_0x24039c])&&(_0x16f435=_0x3c086e(_0x16f435)||_0x16f435);return _0x16f435;},_0x435f88=(_0x5e78c6,_0x55823f)=>(_0x5169bf,_0x3ed517)=>_0x55823f(_0x5169bf,_0x3ed517,_0x5e78c6);let _0x870106=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x21facc,_0x254034){const _0x4f18fb=_0x3dc404;super(),this[_0x4f18fb(0x23d)]=_0x21facc,this[_0x4f18fb(0x30d)]=_0x254034,this[_0x4f18fb(0x2e9)]();}['_initRemoveSheetCommandInterceptor'](){const _0xbd5dd9=_0x3dc404;this[_0xbd5dd9(0x260)](this[_0xbd5dd9(0x23d)]['interceptCommand']({'getMutations':_0xf534f8=>{const _0x5a00c5=_0xbd5dd9;if(_0xf534f8['id']===_0x165f3c[_0x5a00c5(0x3dc)]['id']){const _0x3e7891=[],_0x30a616=[],_0x25aac6=_0xf534f8[_0x5a00c5(0xbf)],{unitId:_0x2da484,subUnitId:_0x629987}=_0x25aac6;if(!_0x2da484||!_0x629987)return{'undos':_0x30a616,'redos':_0x3e7891};const _0x1734fc=this[_0x5a00c5(0x30d)][_0x5a00c5(0x266)](_0x2da484,_0x629987);if(_0x1734fc!=null&&_0x1734fc[_0x5a00c5(0x128)])for(const [_0x26e1a2,_0x113186]of _0x1734fc){_0x3e7891[_0x5a00c5(0x34a)]({'id':_0x41c01a['id'],'params':{'unitId':_0x2da484,'subUnitId':_0x629987,'pivotTableId':_0x26e1a2}});const _0x4807fa={...this[_0x5a00c5(0x30d)][_0x5a00c5(0x355)](_0x2da484,_0x26e1a2)};_0x30a616[_0x5a00c5(0x34a)]({'id':_0x16a837['id'],'params':{'unitId':_0x2da484,'subUnitId':_0x629987,'pivotTableId':_0x26e1a2,'pivotTableConfig':_0x113186,'collectionConfig':_0x4807fa}});}return{'redos':_0x3e7891,'undos':_0x30a616};}return{'redos':[],'undos':[]};}}));}};_0x870106=_0x16d148([_0x435f88(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x435f88(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)]))],_0x870106);var _0x46487e=Object[_0x3dc404(0x34b)],_0x3a13c5=(_0x9ae38,_0x28ff70,_0x1a4bc9,_0x3a4bb9)=>{for(var _0x316cc0=_0x3a4bb9>0x1?void 0x0:_0x3a4bb9?_0x46487e(_0x28ff70,_0x1a4bc9):_0x28ff70,_0x3a179a=_0x9ae38['length']-0x1,_0x5cd1bd;_0x3a179a>=0x0;_0x3a179a--)(_0x5cd1bd=_0x9ae38[_0x3a179a])&&(_0x316cc0=_0x5cd1bd(_0x316cc0)||_0x316cc0);return _0x316cc0;},_0xe759b4=(_0xdf783e,_0x4c953d)=>(_0x51e8e0,_0x2f166d)=>_0x4c953d(_0x51e8e0,_0x2f166d,_0xdf783e);let _0x30e7a6=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x3b6d3c,_0x308d06,_0x5d4459,_0x31141f,_0x37fdf2,_0x125e7e){const _0x517afa=_0x3dc404;super(),this[_0x517afa(0x284)]=_0x3b6d3c,this['_sheetsPivotRpcService']=_0x308d06,this[_0x517afa(0x200)]=_0x5d4459,this[_0x517afa(0x30d)]=_0x31141f,this[_0x517afa(0x206)]=_0x37fdf2,this[_0x517afa(0x199)]=_0x125e7e,this['_initDataSendListener'](),this[_0x517afa(0x196)]();}[_0x3dc404(0x268)](){const _0x3bcea6=_0x3dc404;this['disposeWithMe'](this[_0x3bcea6(0x284)]['onCommandExecuted'](_0x30dc21=>{const _0x3abd0d=_0x3bcea6;if(_0x30dc21['id']!==_0x1a7285['id'])return;const _0x2327c6=_0x30dc21['params'];this[_0x3abd0d(0x14a)][_0x3abd0d(0x118)](_0x2327c6);})),this[_0x3bcea6(0x260)](this[_0x3bcea6(0x284)]['onCommandExecuted'](_0x513f02=>{const _0x1eb21f=_0x3bcea6;if(_0x513f02['id']===_0x479347['id']){const _0x4d9a10=_0x513f02['params'];if(_0x4d9a10){const {unitId:_0x4195a3,subUnitId:_0x1fde8c,oldSubUnitId:_0x27d0e0,pivotTableId:_0x441df7,pivotTableConfig:_0x3aa235,collectionConfig:_0x333417}=_0x4d9a10;this[_0x1eb21f(0x30d)][_0x1eb21f(0x23e)](_0x4195a3,_0x27d0e0,_0x4d9a10[_0x1eb21f(0x22f)],null),this[_0x1eb21f(0x30d)]['updateConfigCache'](_0x4195a3,_0x1fde8c,_0x441df7,_0x3aa235),this['_sheetsPivotTableConfigModel'][_0x1eb21f(0x2c4)](_0x4195a3,_0x333417);}}})),this[_0x3bcea6(0x260)](this[_0x3bcea6(0x284)][_0x3bcea6(0x125)](_0x42e746=>{const _0x1d09c4=_0x3bcea6;if(_0x42e746['id']!==_0x33d353['id'])return;const _0x1ddb4e=_0x165f3c[_0x1d09c4(0x28d)](this['_univerInstanceService']);if(!_0x1ddb4e)return;const {unitId:_0x1ce01b,subUnitId:_0x328465}=_0x1ddb4e,_0x58d1ef=_0x42e746[_0x1d09c4(0xbf)];if(_0x58d1ef[_0x1d09c4(0x16b)]&&Object['keys'](_0x58d1ef[_0x1d09c4(0x16b)])['forEach'](_0x4987f6=>{const _0x358b99=_0x1d09c4;var _0x4f9e84;(_0x4f9e84=_0x58d1ef[_0x358b99(0x16b)])!=null&&_0x4f9e84[_0x4987f6]&&this[_0x358b99(0x30d)][_0x358b99(0x2c4)](_0x4987f6,_0x58d1ef[_0x358b99(0x16b)][_0x4987f6]);}),_0x58d1ef[_0x1d09c4(0x325)]){const _0x808a27=_0x58d1ef['single'],{unitId:_0xb94a73,subUnitId:_0x69aad2,view:_0x4e5076,pivotTableId:_0xde171b,type:_0x44572f,pivotConfig:_0x4b0628}=_0x808a27;if(_0x44572f===_0x20d852[_0x1d09c4(0x38e)])this[_0x1d09c4(0x200)][_0x1d09c4(0x173)]({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'pivotTableId':_0xde171b,'type':_0x44572f}),this[_0x1d09c4(0x30d)]['updateConfigCache'](_0xb94a73,_0x69aad2,_0xde171b,null);else{const _0x49462b=new _0x399222['PivotView']();_0x49462b[_0x1d09c4(0xcb)](_0x4e5076),this['_sheetsPivotTableConfigModel'][_0x1d09c4(0x23e)](_0xb94a73,_0x69aad2,_0xde171b,_0x4b0628),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'pivotTableId':_0xde171b,'type':_0x44572f,'view':_0x49462b}),this[_0x1d09c4(0x200)]['updateRenderCache']({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'view':_0x49462b,'pivotTableId':_0xde171b,'type':_0x44572f});}}else _0x58d1ef[_0x1d09c4(0x274)]&&(_0x58d1ef[_0x1d09c4(0x274)][_0x1d09c4(0xfe)](_0xc1f3ff=>{const _0x16a2fb=_0x1d09c4,{unitId:_0x51385c,subUnitId:_0x3c4bd9,view:_0x1dfa15,pivotTableId:_0x593f69,type:_0x51850a,pivotConfig:_0x4467ef}=_0xc1f3ff,_0xd8192e=new _0x399222[(_0x16a2fb(0x162))]();_0xd8192e[_0x16a2fb(0xcb)](_0x1dfa15),this[_0x16a2fb(0x30d)][_0x16a2fb(0x23e)](_0x51385c,_0x3c4bd9,_0x593f69,_0x4467ef),this[_0x16a2fb(0x200)][_0x16a2fb(0x37a)]({'unitId':_0x51385c,'subUnitId':_0x3c4bd9,'view':_0xd8192e,'pivotTableId':_0x593f69,'type':_0x51850a});}),this['_sheetsPivotTableConfigModel'][_0x1d09c4(0x15e)]());this[_0x1d09c4(0x200)]['markDirty'](_0x1ce01b,_0x328465);}));}[_0x3dc404(0x196)](){const _0x39b34b=_0x3dc404;this['_activeDirtyManagerService'][_0x39b34b(0x31b)](_0xc8ed1['id'],{'commandId':_0xc8ed1['id'],'getDirtyData'(_0xb28217){const _0x38e640=_0x39b34b;return{'dirtyUnitFeatureMap':_0xb28217[_0x38e640(0xbf)]};}});}};_0x30e7a6=_0x3a13c5([_0xe759b4(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0xe759b4(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x1b0)])),_0xe759b4(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x13f)])),_0xe759b4(0x3,_0x9cf92b['Inject'](_0x582d11[_0x3dc404(0x2a8)])),_0xe759b4(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0xe759b4(0x5,_0x544f7f[_0x3dc404(0x2ac)])],_0x30e7a6);var _0x4dbdba=Object[_0x3dc404(0x2bf)],_0x12dd50=Object[_0x3dc404(0x34b)],_0x5849b6=(_0x571b03,_0x480ff4,_0x3f1be0)=>_0x480ff4 in _0x571b03?_0x4dbdba(_0x571b03,_0x480ff4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f1be0}):_0x571b03[_0x480ff4]=_0x3f1be0,_0x5d41f5=(_0x3e356c,_0x30fa2b,_0x1b88ff,_0x81ecf)=>{for(var _0x4a3f5c=_0x81ecf>0x1?void 0x0:_0x81ecf?_0x12dd50(_0x30fa2b,_0x1b88ff):_0x30fa2b,_0x3d2584=_0x3e356c['length']-0x1,_0x4c21c0;_0x3d2584>=0x0;_0x3d2584--)(_0x4c21c0=_0x3e356c[_0x3d2584])&&(_0x4a3f5c=_0x4c21c0(_0x4a3f5c)||_0x4a3f5c);return _0x4a3f5c;},_0x2c919a=(_0x3f31b3,_0x3ad948)=>(_0x127e2d,_0x98a9ba)=>_0x3ad948(_0x127e2d,_0x98a9ba,_0x3f31b3),_0xa70290=(_0x1915c8,_0x2d2ab1,_0x4105ed)=>_0x5849b6(_0x1915c8,typeof _0x2d2ab1!=_0x3dc404(0x1a4)?_0x2d2ab1+'':_0x2d2ab1,_0x4105ed);_0x582d11['UniverSheetsPivotTablePlugin']=class extends _0x9cf92b[_0x3dc404(0x2fa)]{constructor(_0x2e2fd3=_0x47acb4,_0x5e9c31,_0x1a8ddc,_0x2f4eb2,_0x2e0185){const _0x3825d5=_0x3dc404;super(),this[_0x3825d5(0xf7)]=_0x2e2fd3,this[_0x3825d5(0x33e)]=_0x5e9c31,this[_0x3825d5(0x284)]=_0x1a8ddc,this[_0x3825d5(0x387)]=_0x2f4eb2,this[_0x3825d5(0x390)]=_0x2e0185;const {..._0x1959a0}=_0x9cf92b[_0x3825d5(0x2a3)]({},_0x47acb4,this[_0x3825d5(0xf7)]);this[_0x3825d5(0x387)]['setConfig'](_0x4e4898,_0x1959a0),this[_0x3825d5(0x150)](),this[_0x3825d5(0x27c)]();}[_0x3dc404(0x27c)](){const _0x4e1a97=_0x3dc404;var _0x309a16;const _0x123a2c=(_0x309a16=this[_0x4e1a97(0xf7)])==null?void 0x0:_0x309a16[_0x4e1a97(0x2dd)];this['_configService'][_0x4e1a97(0x3c6)](_0x3ee12c,_0x123a2c===!0x0);}['onStarting'](){const _0x44d353=_0x3dc404;var _0x24de9e;let _0x400593=[];const _0x4bfb96=(_0x24de9e=this[_0x44d353(0xf7)])==null?void 0x0:_0x24de9e[_0x44d353(0x2dd)];_0x4bfb96===!0x0?_0x400593=[[_0x582d11['SheetsPivotTableService']],[_0x582d11[_0x44d353(0x1b0)]],[_0x30e7a6],[_0x582d11[_0x44d353(0x13f)]],[_0x582d11[_0x44d353(0x2a8)]],[_0x870106],[_0x22d7bd],[_0x4d140f],[_0x174757]]:_0x4bfb96===!0x1?_0x400593=[[_0x582d11['SheetsPivotDataSourceModel']],[_0x503194]]:_0x4bfb96===void 0x0&&(_0x400593=[[_0x582d11[_0x44d353(0x3c0)]],[_0x503194],[_0x582d11['SheetsPivotTableService']],[_0x582d11[_0x44d353(0x1b0)]],[_0x30e7a6],[_0x582d11[_0x44d353(0x13f)]],[_0x582d11[_0x44d353(0x2a8)]],[_0x870106],[_0x22d7bd],[_0x4d140f],[_0x174757]]),_0x400593['forEach'](_0x3b3202=>this[_0x44d353(0x33e)]['add'](_0x3b3202)),[_0x503194,_0x30e7a6,_0x582d11[_0x44d353(0x163)],_0x22d7bd,_0x870106,_0x4d140f,_0x174757][_0x44d353(0xfe)](_0x3dbb44=>{const _0xa692b=_0x44d353;this[_0xa692b(0x33e)][_0xa692b(0x138)](_0x3dbb44)&&this['_injector'][_0xa692b(0x1b1)](_0x3dbb44);});}[_0x3dc404(0x150)](){const _0x1a7ff2=_0x3dc404;[_0x47c177,_0x4cbe1d,_0xa5379e,_0x2e36c4,_0x1c245c,_0x207157,_0x5ca121,_0x2647d2,_0x122030,_0x29e301,_0x22c491,_0x455ba6,_0x51fa98,_0x37db6f,_0x16a837,_0x171857,_0x41c01a,_0x650ffc,_0x57efd5,_0x1b6944,_0x98ff,_0x1deb09,_0x5b87ea,_0x423c02,_0x2e2457,_0x1a435f,_0x5a33fa,_0x2c3c73,_0x1a7285,_0x33d353,_0x2613dd,_0x34c4a7,_0x5f043d,_0x1e447b,_0x2b6fcc,_0x63e810,_0x16ae19,_0xc8ed1,_0x479347,_0x2f2dba,_0x1a2958,_0x11b40f,_0x90b3e3][_0x1a7ff2(0xfe)](_0x777d9=>{const _0x44af2e=_0x1a7ff2;var _0x5d3c1f;(_0x5d3c1f=this['_dataSyncPrimaryController'])==null||_0x5d3c1f[_0x44af2e(0x216)](_0x777d9),this[_0x44af2e(0x284)][_0x44af2e(0x328)](_0x777d9);});}},_0xa70290(_0x582d11[_0x3dc404(0x3c2)],_0x3dc404(0x12b),_0x502233),_0xa70290(_0x582d11['UniverSheetsPivotTablePlugin'],'type',_0x9cf92b[_0x3dc404(0x101)][_0x3dc404(0x2ae)]),_0x582d11['UniverSheetsPivotTablePlugin']=_0x5d41f5([_0x9cf92b['DependentOn'](_0x4f64c3[_0x3dc404(0x36d)]),_0x2c919a(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x2c919a(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['ICommandService'])),_0x2c919a(0x3,_0x9cf92b[_0x3dc404(0x2fe)]),_0x2c919a(0x4,_0x9cf92b[_0x3dc404(0x272)](_0x4f741a[_0x3dc404(0x209)]))],_0x582d11['UniverSheetsPivotTablePlugin']),_0x582d11[_0x3dc404(0x389)]=_0xa5379e,_0x582d11[_0x3dc404(0x37b)]=_0x650ffc,_0x582d11[_0x3dc404(0x2eb)]=_0x4cbe1d,_0x582d11[_0x3dc404(0x179)]=_0x16a837,_0x582d11[_0x3dc404(0x1f1)]=_0x47c177,_0x582d11[_0x3dc404(0x278)]=_0x301d16,_0x582d11['DEFAULT_PIVOT_NUMBER']=_0x3cfec6,_0x582d11[_0x3dc404(0x307)]=_0x2e36c4,_0x582d11[_0x3dc404(0x19d)]=_0x51fa98,_0x582d11[_0x3dc404(0x177)]=_0x4651ca,_0x582d11['PivotDrillDownCommand']=_0x37db6f,_0x582d11[_0x3dc404(0x30a)]=_0x20d852,_0x582d11['PivotTableViewDirtyMarkOperation']=_0xc8ed1,_0x582d11[_0x3dc404(0x1af)]=_0x3f33c5,_0x582d11[_0x3dc404(0x142)]=_0x1c245c,_0x582d11[_0x3dc404(0x1c3)]=_0x1deb09,_0x582d11['RemovePivotTableMutation']=_0x41c01a,_0x582d11[_0x3dc404(0x314)]=_0x5b87ea,_0x582d11[_0x3dc404(0x2f6)]=_0x90b3e3,_0x582d11[_0x3dc404(0x3a7)]=_0x4e4898,_0x582d11[_0x3dc404(0xea)]=_0x502233,_0x582d11['SetPivotCollapseCommand']=_0x2647d2,_0x582d11[_0x3dc404(0x1d1)]=_0x423c02,_0x582d11[_0x3dc404(0x235)]=_0x1e447b,_0x582d11[_0x3dc404(0x383)]=_0x11b40f,_0x582d11['SetPivotFilterCommand']=_0x29e301,_0x582d11[_0x3dc404(0xbc)]=_0x98ff,_0x582d11[_0x3dc404(0x294)]=_0x1a435f,_0x582d11[_0x3dc404(0x1ed)]=_0x5a33fa,_0x582d11[_0x3dc404(0x3db)]=_0x122030,_0x582d11['SetPivotSortMutation']=_0x2e2457,_0x582d11['SetPivotSubtotalTypeMutation']=_0x5f043d,_0x582d11[_0x3dc404(0x2ab)]=_0x2f2dba,_0x582d11['SetPivotValueFilterMutation']=_0x1a2958,_0x582d11[_0x3dc404(0xf8)]=_0x5ca121,_0x582d11[_0x3dc404(0x27b)]=_0x2613dd,_0x582d11['UpdatePivotFieldSettingCommand']=_0x22c491,_0x582d11[_0x3dc404(0x2bb)]=_0x16ae19,_0x582d11[_0x3dc404(0x3ae)]=_0x455ba6,_0x582d11[_0x3dc404(0x203)]=_0x63e810,_0x582d11[_0x3dc404(0x195)]=_0x207157,_0x582d11['UpdateValuePositionMutation']=_0x34c4a7,_0x582d11['applyChangeSet']=_0x3fde14,_0x582d11[_0x3dc404(0x2ec)]=_0x5239b9,_0x582d11['defaultThemeStyle']=_0x22c6a2,_0x582d11[_0x3dc404(0xec)]=_0xfbdb4a,_0x582d11[_0x3dc404(0x2fd)]=_0x7e091f,_0x582d11[_0x3dc404(0x17f)]=_0x47957b,_0x582d11[_0x3dc404(0xe2)]=_0x511f6a,_0x582d11[_0x3dc404(0x31c)]=_0xfa0513,_0x582d11[_0x3dc404(0x286)]=_0x42b294,_0x582d11[_0x3dc404(0xcf)]=_0x5e17ca,_0x582d11[_0x3dc404(0x22e)]=_0x3202fe,_0x582d11[_0x3dc404(0x3b0)]=_0x340ba5,_0x582d11[_0x3dc404(0x12f)]=_0x1c8bbb,Object[_0x3dc404(0x2bf)](_0x582d11,Symbol['toStringTag'],{'value':_0x3dc404(0x15a)});}));
|