@univerjs-pro/sheets-pivot 0.9.1-nightly.202507071607 → 0.9.1-nightly.202507081607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/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/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 _0x554c(_0x59626d,_0x23ecb4){const _0x3eb4cb=_0x3eb4();return _0x554c=function(_0x554c94,_0x3d9ec6){_0x554c94=_0x554c94-0x8f;let _0x4374c1=_0x3eb4cb[_0x554c94];return _0x4374c1;},_0x554c(_0x59626d,_0x23ecb4);}function _0x3eb4(){const _0x1bd27a=['Optional','movePivotField','RemoveField','_ensurePivotItemRenderValueMatrixCache','#b2b2b2','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.hour','sheet.command.move-pivot-table','panel','isDateValue','AddPivotFieldMutation','sheet.command.update-date-group','broadcastCollectionChange','updateFieldSourceInfo','disposeWithMe','getSheets','SetPivotSort','GrandTotal','UpdateValuePosition','setPivotInitCompleted','IResourceManagerService','getLastRow','pivotTableIndexConfig','interceptCommand','generateNullCell','rangesInfo','areaInfo','SetPivotPositionMutation','getPivotDirtyViewInfo','sheet.mutation.set-pivot-collapse','DataField','RemoveSheetsFilterMutation','IExclusiveRangeService','sheet.mutation.add-pivot-table','addPivotTable','getRangeKey','_initCommandInterceptListener','interceptor','createLabelField','getRangeKeyList','PivotErrorTypeEnum','_sheetsSelectionsService','getFormat','LifecycleService','sheets-pivot.cellDateGroupDisplay.minute','addDirtyPivotTable','getActiveSheet','UNIVER_SHEET','toString','Subject','getTargetByPivotTableId','getFilterInfo','UniverProSheetsPivot','_subjectFieldsCollectionChange','pageRanges','ErrorType','oldMatrix','NUMBER','getDataFieldId','format','AddPivotTableCommand','getFieldFormat','sheet.mutation.set-pivot-option','Year','getDataFieldByTableId','MovePivotTableCommand','getColCount','_pivotTableInstanceCache','Product\x20of\x20','_initRemoveSheetCommandInterceptor','var','PivotDataFieldDataTypeEnum','isText','isErrorValue','sheets-pivot.emptyPivot.values','sideEffectUpdateWorkerCache','handleSourceRangeChange','initDataRanges','error','updateDirtyPivotTable','sheets-pivot.emptyPivot.filter','pivotInitCompleted$','PivotMultipleValueId','PivotTableValuePositionEnum','displayName','foreach','SetPivotFilterMutation','SheetsPivotTableConfigModel','ResetPivotFieldsConfigCommand','_pivotRenderValueMatrixCache','collectionConfig','NotName','getPivotInfoByLicense','\x20-\x20','drillDown','InsertSheetUndoMutationFactory','_pivotTableRangeInfo','hasField','getDate','sheets-pivot.emptyPivot.row','countNums','YearMonth','getValueIndex','sheet.mutation.update-pivot-table-source-range','iterateFieldByArea','DEFAULT_PIVOT_NUMBER','value','SetRangeValuesUndoMutationFactory','getDirtyInfo','removeValueFilterInfo','row','updatePivotTableRangeInfo','#f4f4f5','updateRangeKeyMap','generateNewSheetName','getCurrentSelections','Style','_fieldsCollectionChange$','getFieldPositionInfoById','sheets-pivot.cellDateGroupDisplay.yearMonth','collections','_initLocale','SetPivotSubtotalTypeMutation','sheet.mutation.remove-pivot-field','SetPivotOptionMutation','RemovePivotField','setPivotSort','getInsertRowColMutations','pivotConfigChange$','sheets-pivot.cellDateGroupDisplay.month','setRange','notExecuteFormula','createAsyncInterceptorKey','ICommandService','subtotal','dataFieldId','serializeRangeWithSpreadsheet','setPivotTableConfig','_sheetsPivotDataSourceModel','endRow','setValueFilterInfo','SHEET_PIVOT_IN_MAIN_THREAD','getCollection','undos','Filter','_createExclusiveRange','custom','Inject','Count\x20of\x20','_injector','canUsePivot','isNaN','viewData$','result','paths','options','getOwnPropertyDescriptor','colRanges','DependentOn','isFeatureAuthorizedWithinTime','onStarting','DrillDown','updateConfigCache','SetPivotFilter','fieldsCollectionChange$','split','getSheetBySheetId','InsertRowMutation','getColumnCount','MAX_SAFE_INTEGER','updateDataFieldsCollection','_collectionChange$','existing','merge','substring','InterceptorEffectEnum','CommandType','setFieldFormat','getFieldById','REF','_pivotInitCompleted$','getAutoDisplayName','add','dataFields','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','hasOwnProperty','MUTATION','has','parse','getOriginFieldId','setSortInfo','resetArea','handleAsyncResponse','_sheetsPivotTableService','sheet.mutation.set-pivot-field-subtotal-type','PivotDrillDownCommand','startCollectChangeset','prefix','RenameField','getRangeData','generateHexNumber','StdDev\x20of\x20','SetPivotValueFilterCommand','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','_univerInstanceService','RemoveColMutation','updateViewData','createDataFieldId','sheet.mutation.pivot-update-field-source-info','fieldId','remove','_commandService','UniverRpc','_generateUniqueVersion','8697663zZYSjl','sheet.mutation.add-pivot-field','column','Quarter','_ensurePivotMap','_initClearSelectionCommandInterceptor','setSubtotalType','getValuePosition','reset','getTextSize','cornerRanges','sheets-pivot.sumName','isColMultiMeasure','_queryingMap','SetPivotTableConfig','getUnit','setConfig','sheet.command.set-pivot-value-filter','isDate','sheets-pivot.dateGroup.minute','_resourceManagerService','sheets-pivot.cellDateGroupDisplay.date','UpdatePivotTableSourceRangeMutation','_requestResolvers','getPivotPerformCheck','IUndoRedoService','BLANK_ROW_COUNT','SetPivotCollapseMutation','getSheetCommandTarget','sheet.command.update-pivot-value-position','sheet.command.add-pivot-table-with-config','updatePivotSource','rangeKey','next','addRecord','originalFieldId','forRow','sheets.tabs.sheet','size','_configService','unionPivotViewRange','triggerDirtyFeature','PivotTableChangeTypeEnum','push','keys','sheets-pivot.countNumsName','type','MIN_SAFE_INTEGER','isBaseGroupField','headerMap','_globalComputingSrv','fieldIds','PivotViewCellValueTypeEnum','reduce','BehaviorSubject','SheetsPivotTableService','count','registerRefRange','getUpdateRangeDeleteIds','valueFilter','collectionChange$','getFieldDataType','_onRefRangeChange','_host','iterateField','_deletePivotTableInstanceCache','getFieldInfo','defineProperty','startRow','SetWorksheetActiveOperation','SetPivotSortCommand','registerPluginResource','maxDate','fromJSON','entries','isEmpty','getPivotTableModelConfig','getRangeStartEndInfo','subscribe','sheet.mutation.set-pivot-position','Total','getMatrixValue','sheets-pivot.maxName','colCount','PivotTableFiledAreaEnum','SetWorksheetColWidthMutation','pageStyle','SHEET_PIVOT_EXCLUSIVE_ID','createCollectionWithDataRange','resetPivotTable','MovePivotFieldCommand','from','MovePivotField','sheet.command.move-pivot-field','StdDevp\x20of\x20','varp','Value','concat','Grand\x20Total','sheet.command.remove-pivot-field','_lifecycleService','asObservable','executeCommand','blank','updateCollectionConfig','getNoUsedDataFieldIds','_sheetInterceptorService','DateGroupField','SetFilterInfo','cellToRange','getTypeOfUnitDisposed$','find','applyChangeSet','function','getFieldListByArea','25okjzEa','updateRenderCache','getDisplayName','sheets-pivot.productName','sheets-pivot.dateGroup.year','generateRandomId','setValuePivotFilter','#e6ebfb','realDeleteValue','getPivotTableInstance','set','rxjs','exports','getCellMatrix','dataRangeInfo','DataFieldManager','SetPivotSortMutation','batch','getColumnWidth','setDateType','MoveRangeMutation','RemovePivotTableMutation','markDirty','7494KwQvaj','Add','_toJSON','AddPivotFieldCommand','PivotCallbackEnum','PositionType','ClearSelectionAllCommand','length','fields','RefRangeService','filterId','range','_initUnitDisposed','refreshGroupField','_dataSyncPrimaryController','fontRenderExtension','getFieldIds','SetSheetsFilterRangeMutation','setDirty','rangeType','@univerjs-pro/license','33PhykOd','limit\x20pivot','getPivotTableRangeInfo','getMatrixFromRunTimeData','_refRangeHandle','NotNumber','endCollectChangeset','removeValueFilterInfoByValueFieldId','splice','fieldsConfig','floor','onCommandExecuted','addField','updateFieldPosition','includes','rangeKeyMap','filter','sheets-pivot.cellDateGroupDisplay.quarter','amd','RemoveSheetCommand','3szQouL','updateAllDisplayName','SetFieldFormat','getRefRangeMutationsByMoveRange','_getAutoName','UpdateValuePositionMutation','@univerjs/sheets-filter','_globalSubject','shouldClear','UniverLicensePlugin','_sheetsPivotTableAdaptorModel','rowFields','_markDirty$','setName','removeSourceRangeChange','string','queryDirtyPivotTable','pbt','addExclusiveRange','getName','ResetPivotTable','PivotTableViewDirtyMarkOperation','workbook\x20is\x20not\x20found','INTERCEPTOR_POINT','pivotTableId','_collectionConfigModel','token','_localeService','getSortInfo','getSubUnitPivotMatrix','UniverSheets','_viewData','BaseGroupField','originTargetInfo','filterInfo','deleteDataField','IFeatureCalculationManagerService','setRangeValueRedoMutation','transFromCellValue','updateValuePosition','pivotTableConfigs','sheet.command.reset-pivot-fields-config','getFullYear','689703kbpLFq','removeCollections','DataSyncPrimaryController','CELL_CONTENT','pivotMutationGenerate','FieldsCollection','Row','UniverEngineFormula','redos','_textInfo','dimension','FontCache','COMMAND','STRING','clearRenderCache','UniverProEnginePivot','sheets-pivot.minName','forEach','refreshData','isBottomTotal','sheets-pivot.varName','Existing','sheet.command.set-pivot-filter','Div0','_initGlobalComputed','_ensurePivotTableRangeInfo','getDataFieldManager','call','versions','contains','name','getId','Minute','sheets-pivot.config','DEFAULT_WORKSHEET_ROW_COUNT','stringify','ManualFilter','leftOffset','sheet.mutation.get-pivot-data-local','pushComputingStatusSubject','SetRangeValuesMutation','measure','setRangeValueUndoMutation','getPivotCellInfo','rowCount','updatePivotTableMatrixInfo','sheet.mutation.remove-pivot-table','sheet.mutation.pivot-update-value-position','#eceeff','_model','_pivotRenderInfoCache','adjustSheetCellData','HourMinute','_refRangeService','needSameDeleteModel','getPivotDisplayConfig','defaultThemeStyle','_pivotConfigChange$','SetValueFilter','UniverEngineRender','updateView','getAdjustRangesPosition','colHeaderMap','Varp\x20of\x20','sequenceExecute','getMatrix','Min\x20of\x20','getFontStyleString','unshift','collection','grandTotal','UpdateDateGroupCommand','SetValuePivotFilter','sheetName','LS_CONFIG_KEY','params','NO_COMMERCIAL','5214770IdCYdE','sheet.mutation.set-pivot-format','getTableFieldById','info','bind','NotFunction','RemovePivotFieldMutation','UpdatePivotSource','getConfig','pushUndoRedo','SHEET_PIVOT_TABLE_PLUGIN','AsyncInterceptorManager','ΣValue','return\x20','registerCallbackWithEvent','_initConfig','UpdatePivotValuePositionCommand','PivotTableOperationEnum','BadReference','getformat','SheetsPivotDataSourceModel','sheet.command.set-pivot-fields-config','onQueryStart','SheetsSelectionsService','sheet.command.set-pivot-field-setting','subUnitId','tuple','getTextInfo','rowInfo','isDateGroupFieldJSON','setPivotFilter','handleMoveRange','sheets-pivot.cellDateGroupDisplay.hour','sheets-pivot.cellDateGroupDisplay.year','Column','getInterceptPoints','setRangeKeyMap','valueIndex','1421090QmPMsO','registerCommand','setSourceName','SetSortInfo','excelDateToUnixMilliseconds','Date','getRowCount','version','subTotalStyle','getGroupFieldsInfoByIds','getDataFieldItemInfo','getEmptyPivotRanges','sheets-pivot.dateGroup.quarter','_getPivotAppliedRanges','values','GlobalComputingStatusService','Delete','sheets-pivot.emptyPivot.column','Panel','sheets-pivot.dateGroup.date','getSheetId','MoveRangeCommand','sheet.command.add-pivot-table','Average\x20of\x20','col','_viewUpdate$','IUniverInstanceService','RemovePivotFieldCommand','addPivotTableWithConfig','get','_sheetsPivotTableConfigModel','getAutoFitColumnsMutations','viewUpdate$','sheets-pivot.averageName','setPivotTable','clearExclusiveRangesByGroupId','removeField','register','getMonth','dataStyle','_pivotTableMatrixInfo','renameField','UniverInstanceType','getStyles','columnFields','intercept','14UlFJIX','DisposableCollection','deleteField','getAutoDisplayNameFunction','toJSON','_ensureViewDataMap','setLabelFilterInfo','_updateModelCache','sheets-pivot.columnName','uniqueDataFieldName','numfmt','RemoveSheetMutation','Hour','rowStyle','SheetInterceptorService','UpdateFieldPosition','Tools','setValue','sheet.mutation.send-pivot-data-local','rowRanges','rowHeaderMap','removePivotField','updateViewInfo','getFieldCountByArea','iterateFieldDim','_activeDirtyManagerService','leafStyle','getIntersectsPivotTable','disposableCollection','sheets-pivot.grandTotal','getTargetByPivotId','colInfo','Set','sheets-pivot.dateGroup.yearQuarter','_exclusiveRangeService','NUM','InterceptorManager','YearQuarter','getIndexesByPathStr','#e6ebfa','addCollectionByJSON','Rectangle','getPivotItemRenderInfoCache','deleteUnitId','_initPivotTextInfo','SheetsPivotTableAdaptorModel','AddPivotTable','Month','updateConfig','3370988BwxWDI','intersects','pivotPerformCheck','random','UpdatePivotFieldSettingCommand','getValueFilterInfos','fetchThroughAsyncInterceptors','sheet.command.set-pivot-collapse','UniverSheetsPivotTablePlugin','max','setPivotCollapse','AddPivotTableMutation','Column\x20','getDataFieldByDataFieldId','setPivotSetting','getSubtotal','removePivotTable','number','sheet.mutation.add-group-collection','_initRegisterCommand','_featureCalculationManagerService','sheets-pivot.countName','Collapse','ReleaseType','1367272Bffiwl','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','configVersion$','InsertColMutation','endColumn','Values','refreshDataField','formJSON','_subjectViewChange','_dataFieldManagerCollection','getSheetBySheetName','slice','CellValueType','setTextInfo','getSubUnitPivotRenderCache','SetSubtotalType','symbol','unshiftString','width','SetOptions','valueFields','generateMutationsByRanges','dateType','_init','sheet.mutation.set-pivot-sort-info','#1d32e9','sheets-pivot.value','_initPivotDataGetListener','deepClone','getLastCol','#FFFFFF','PivotTable','IActiveDirtyManagerService','YearMonthDate','Disposable','Subtotal','data','RANGE_TYPE','lastRow','sourceRangeInfo','getCellRaw','New','ObjectMatrix','cornerInfo','_updatePivotTableInstanceCache','getCurrentUnitForType','unitId','toStringTag','createInterceptorKey','addCollection','_subjectCollectionChange','startColumn','InsertSheetMutation','SetPivotSetting','LocaleService','forValue','AddPivotTableWithConfig','getPivotTableCellData','dataFieldManagerConfig','getViewData','getUnitId','message','getSubUnitPivotConfigs','sheet.mutation.remove-group-collection','getPivotTableConfig','new','SetPivotCollapse','stdDev','IConfigService','PivotFilterTypeEnum','single','delete','min','Var\x20of\x20','getDataFieldByRangeKey','generateSetRangeValueMutations','_viewData$','PivotDateGroupFieldDateTypeEnum','_ensurePivotTableMatrixInfo','lastCol','targetCellInfo','PivotSubtotalTypeEnum','Injector','registerSyncingMutations','Range','sheets-pivot.cellDateGroupDisplay.yearMonthDate','asyncInterceptor','tableFieldId','_updateRenderEmptyCache','dataFieldsCollection','sheets-pivot.blank','_config','_deleteModelCache','_globalComputedStartHelpFunc','RenamePivotFieldMutation','_globalComputedEndHelpFunc','node','_initSnapshot','removeCollectionImp','InsertSheetCommand','DIV_BY_ZERO','_initDataSendListener','stdDevp','sum','getValue','SetPivotFieldFormatMutation','addFieldWithSourceId','getPivotTableMatrixInfo','mergeWorksheetSnapshotWithDefault','replace','PivotCellStyleTypeEnum','dispose','getSourceName','None','update','SheetsPivotRPCService','PivotView','sortInfo','document','isValue','pluginName','map','_ensurePivotItemRenderInfoCache','query','getSheetFeatureLimit','valid','SetCollapse','UniverSheetsFilter','sheet.mutation.send-init-pivot-text-local','sheet.mutation.set-pivot-filter','addPivotField','rangeCache','some','level','sheets-pivot.dateGroup.yearMonth','sheets-pivot.dateGroup.yearMonthDate','colStyle','charCodeAt','_sheetsPivotRpcService','Plugin','collapseInfo','fetchThroughInterceptors','_configVersion$','dataStream','sheets-pivot.varpName','NAME','AddPivotField'];_0x3eb4=function(){return _0x1bd27a;};return _0x3eb4();}(function(_0x3e0b56,_0x34dd90){const _0x43e575=_0x554c,_0x467ca5=_0x3e0b56();while(!![]){try{const _0x1782ee=parseInt(_0x43e575(0xf5))/0x1+-parseInt(_0x43e575(0x168))/0x2+parseInt(_0x43e575(0xca))/0x3*(parseInt(_0x43e575(0x1c7))/0x4)+parseInt(_0x43e575(0x3bb))/0x5*(-parseInt(_0x43e575(0xa1))/0x6)+parseInt(_0x43e575(0x196))/0x7*(parseInt(_0x43e575(0x1df))/0x8)+parseInt(_0x43e575(0x348))/0x9+-parseInt(_0x43e575(0x142))/0xa*(parseInt(_0x43e575(0xb6))/0xb);if(_0x1782ee===_0x34dd90)break;else _0x467ca5['push'](_0x467ca5['shift']());}catch(_0x3f2408){_0x467ca5['push'](_0x467ca5['shift']());}}}(_0x3eb4,0x8895e),function(_0x2b3b6f,_0x151074){const _0x35a835=_0x554c;typeof exports=='object'&&typeof module<'u'?_0x151074(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==_0x35a835(0x3b9)&&define[_0x35a835(0xc8)]?define([_0x35a835(0x96),'@univerjs-pro/engine-pivot','@univerjs/core','@univerjs/engine-formula','@univerjs/sheets',_0x35a835(0x95),_0x35a835(0xb5),_0x35a835(0xd0),'@univerjs/rpc','@univerjs/engine-render'],_0x151074):(_0x2b3b6f=typeof globalThis<'u'?globalThis:_0x2b3b6f||self,_0x151074(_0x2b3b6f[_0x35a835(0x2a6)]={},_0x2b3b6f[_0x35a835(0x104)],_0x2b3b6f['UniverCore'],_0x2b3b6f[_0x35a835(0xfc)],_0x2b3b6f[_0x35a835(0xe8)],_0x2b3b6f[_0x35a835(0x95)],_0x2b3b6f['UniverProLicense'],_0x2b3b6f[_0x35a835(0x25e)],_0x2b3b6f[_0x35a835(0x346)],_0x2b3b6f[_0x35a835(0x130)]));}(this,function(_0x5bc0f5,_0x7d04ba,_0xaebd85,_0x33633f,_0x401092,_0x4c50c4,_0x800699,_0x40f4c0,_0x54f4a6,_0x1c5052){'use strict';const _0x45f501=_0x554c;var _0x201e39=Object[_0x45f501(0x38b)],_0x3d1979=(_0x8ce9de,_0x5307ed,_0xf5ab)=>_0x5307ed in _0x8ce9de?_0x201e39(_0x8ce9de,_0x5307ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf5ab}):_0x8ce9de[_0x5307ed]=_0xf5ab,_0x1f3ba2=(_0x1d3189,_0x213977,_0x2b9c17)=>_0x3d1979(_0x1d3189,typeof _0x213977!=_0x45f501(0x1ef)?_0x213977+'':_0x213977,_0x2b9c17);const _0x264e12=Number['parseInt'](0x686bf162),_0x1fcff3=0x10,_0x6fd86=0x1,_0x513a85=_0x45f501(0x14c),_0x32fbf9=0x1,_0x4dc90b='rgb(240,241,243)',_0x25f2e5='rgb(255,255,255)',_0x1b1d99=_0x45f501(0x276),_0x4f866b=_0x45f501(0x2e2),_0x34a46b=_0x45f501(0x2e2),_0x3dba1f=_0x45f501(0x125),_0x1fd2d8=_0x45f501(0x1f8),_0x149978=_0x45f501(0x1fd),_0x169aac=_0x45f501(0x1bd),_0x32889e=_0x45f501(0x1f8),_0x21f78a=_0x45f501(0x1fd),_0x5ddd56=_0x45f501(0x91),_0x5d6c95=0xe,_0x51270e=0x6;var _0x5e87a5=(_0x5dd0d8=>(_0x5dd0d8[_0x45f501(0x10a)]=_0x45f501(0x31e),_0x5dd0d8[_0x45f501(0x208)]=_0x45f501(0x220),_0x5dd0d8))(_0x5e87a5||{});const _0x1da8a3={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x49953c=0x1e,_0xfb3bca={'b':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'l':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'r':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'t':{'s':0x1,'cl':{'rgb':_0x1b1d99}}},_0x36789c={'bg':{'rgb':_0x4dc90b},'ht':0x2,'vt':0x2,'tb':0x1},_0x3012b3={'bg':{'rgb':_0x25f2e5},'ht':0x2,'vt':0x2,'tb':0x1},_0x40537f={'rowStyle':{'bg':{'rgb':_0x5ddd56},'bd':_0xfb3bca,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x32889e},'bd':null,'cl':{'rgb':_0x21f78a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x169aac},'vt':0x2},'cornerStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x3dba1f},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x4f866b},'vt':0x2},'leafStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x34a46b},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1fd2d8},'cl':{'rgb':_0x149978},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xfb3bca,'vt':0x2}};function _0x20b15a(_0x24750b,_0x145955,_0x1a3464){const _0x3b233d=_0x45f501,_0xa4c60f=_0x24750b['get'](_0xaebd85[_0x3b233d(0x215)]),_0x5b59f6=_0x1a3464[_0x3b233d(0x317)]('_');switch(_0x145955){case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x2b1)]:return _0xa4c60f['t'](_0x3b233d(0x163),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x115)]:return _0xa4c60f['t'](_0x3b233d(0x29e),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x1a2)]:return _0xa4c60f['t'](_0x3b233d(0x162),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x129)]:return _0xa4c60f['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x16d)]:return _0xa4c60f['t'](_0x3b233d(0x35d),..._0x5b59f6);case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3b233d(0x1c5)]:return _0xa4c60f['t'](_0x3b233d(0x2f3),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)]['Quarter']:return _0xa4c60f['t'](_0x3b233d(0xc7),..._0x5b59f6);case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3b233d(0x2d7)]:return _0xa4c60f['t'](_0x3b233d(0x2e9),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)]['YearMonthDate']:return _0xa4c60f['t'](_0x3b233d(0x234),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x1bb)]:return _0xa4c60f['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x5b59f6);}return'';}const _0x3ae7af=(_0x5d0036,_0x18cbcb,_0x731320,_0x3a8ada)=>{const _0x40db57=_0x45f501;let _0xcbe362;const _0x19d564=_0x5d0036[_0x40db57(0x185)](_0xaebd85[_0x40db57(0x182)])[_0x40db57(0x20c)](_0xaebd85[_0x40db57(0x192)]['UNIVER_SHEET']);if(!_0x19d564)return null;const _0x1a6eba=_0x19d564['getStyles']();let _0x23135f;if(_0x731320&&(_0x23135f=_0x1a6eba[_0x40db57(0x1a7)](_0x731320)),_0x18cbcb!=null&&_0x18cbcb['v']||(_0x18cbcb==null?void 0x0:_0x18cbcb['v'])===0x0){_0xcbe362||(_0xcbe362={});const _0x49ba72=_0x47d8e9(_0x18cbcb['v']);typeof _0x49ba72==_0x40db57(0x1d8)?_0xcbe362['t']=_0xaebd85[_0x40db57(0x1eb)]['NUMBER']:typeof _0x49ba72=='string'&&(_0xcbe362['t']=_0xaebd85[_0x40db57(0x1eb)]['STRING']),_0xcbe362['v']=_0x49ba72;}if((_0x18cbcb!=null&&_0x18cbcb['i']||(_0x18cbcb==null?void 0x0:_0x18cbcb['i'])===0x0)&&(_0xcbe362||(_0xcbe362={}),_0xcbe362['fi']=_0x18cbcb['i']),_0x18cbcb!=null&&_0x18cbcb['s']&&(_0xcbe362||(_0xcbe362={}),_0xcbe362[_0x40db57(0xdb)]=_0x18cbcb['s']),_0x731320&&(_0xcbe362||(_0xcbe362={}),_0xcbe362['s']=_0x23135f),_0x3a8ada&&_0xcbe362!=null&&_0xcbe362['v']&&_0xcbe362[_0x40db57(0xdb)]!==_0x7d04ba[_0x40db57(0x24d)][_0x40db57(0x283)]&&_0xcbe362[_0x40db57(0xdb)]!==_0x7d04ba[_0x40db57(0x24d)][_0x40db57(0x202)]){const _0x1f831e=String(_0xcbe362['v']),{dateType:_0x2eb183}=_0x3a8ada;_0xcbe362['v']=_0x20b15a(_0x5d0036,_0x2eb183,_0x1f831e),_0xcbe362['t']=_0xaebd85['CellValueType'][_0x40db57(0x102)];}return _0xcbe362;},_0x595c4d=(_0x2bc404,_0x49553f,_0x4db24a,_0x38215e)=>{const _0x3b4ac6=_0x45f501;var _0x37047b,_0x58ef43,_0x540bf3,_0x162e2b,_0x34a4ac,_0xcda9f9,_0x95301,_0x2e6023,_0x45e98e,_0x1c096c,_0x3cabfe,_0x1e552b,_0x4e2318,_0x44c7ad;const _0x676d27=_0x4db24a[_0x3b4ac6(0x22f)],{cornerView:_0x5685bb,rowView:_0x22c439,colView:_0x188f34,dataView:_0x26096a,pageView:_0x2606c6,formatMap:_0x36a5f6,groupInfo:_0x4c9927}=_0x49553f,{row:_0xf3e913,col:_0x166987}=_0x676d27,_0x32cd4e=new _0xaebd85['ObjectMatrix'](),_0x4dc683={},_0x4eff18={},_0x145e29={},_0x3fe0ba={},_0x1b5add={};let _0x51d4fb=_0xf3e913,_0xfadaeb=_0x166987;Object[_0x3b4ac6(0x374)](_0x2606c6[_0x3b4ac6(0x203)])[_0x3b4ac6(0x106)](_0x4c215a=>{Object['keys'](_0x2606c6['data'][Number(_0x4c215a)])['forEach'](_0x4aa8db=>{const _0xb70638=_0x554c,_0x31e088={..._0x2606c6[_0xb70638(0x203)][Number(_0x4c215a)][Number(_0x4aa8db)]};_0x32cd4e[_0xb70638(0x1a7)](Number(_0x4c215a)+_0x51d4fb,Number(_0x4aa8db)+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x31e088,_0x40537f[_0xb70638(0x39e)]));});});const _0x452561=Object[_0x3b4ac6(0x374)](_0x2606c6[_0x3b4ac6(0x203)])['length'];_0x51d4fb+=_0x452561+(_0x452561?_0x32fbf9:0x0);const _0x144bb3=_0x5685bb[_0x3b4ac6(0x16e)](),_0x5d175d=_0x5685bb['getColCount']();for(let _0x38fa3f=0x0;_0x38fa3f<_0x144bb3;_0x38fa3f++)for(let _0xec4edd=0x0;_0xec4edd<_0x5d175d;_0xec4edd++){const _0x4172ff={...(_0x58ef43=(_0x37047b=_0x5685bb['data'])==null?void 0x0:_0x37047b[_0x38fa3f])==null?void 0x0:_0x58ef43[_0xec4edd]};_0x4172ff&&((_0x540bf3=_0x22c439[_0x3b4ac6(0x379)][_0xec4edd])!=null&&_0x540bf3[_0x3b4ac6(0x256)])&&_0xec4edd===_0x5d175d-0x1&&_0x38fa3f===_0x144bb3-0x1&&(_0x4172ff['v']=''+_0x38215e['sheets-pivot.value']),_0x32cd4e[_0x3b4ac6(0x1a7)](_0x38fa3f+_0x51d4fb,_0xec4edd+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x4172ff,_0x40537f['cornerStyle']));}for(let _0x2af0fe=0x0;_0x2af0fe<_0x5685bb[_0x3b4ac6(0x145)][_0x3b4ac6(0xa8)];_0x2af0fe++)_0x5685bb[_0x3b4ac6(0x145)][_0x2af0fe]&&(_0x145e29[''+(_0x2af0fe+_0xfadaeb)]=_0x5685bb[_0x3b4ac6(0x145)][_0x2af0fe]);_0xfadaeb+=_0x5d175d;const _0x4251c1=_0x188f34['headerMap'],_0x18cd7f=_0x188f34[_0x3b4ac6(0x287)]()>=0x0?_0x188f34[_0x3b4ac6(0x287)]()+0x1:0x0,_0xd85f7a=_0x188f34[_0x3b4ac6(0x1fc)]()>=0x0?_0x188f34['getLastCol']()+0x1:0x0;for(let _0x2e34f3=0x0;_0x2e34f3<_0xd85f7a;_0x2e34f3++){for(let _0x4f0cf6=0x0;_0x4f0cf6<_0x18cd7f;_0x4f0cf6++){const _0x6ee263={...(_0x34a4ac=(_0x162e2b=_0x188f34[_0x3b4ac6(0x203)])==null?void 0x0:_0x162e2b[_0x4f0cf6])==null?void 0x0:_0x34a4ac[_0x2e34f3]},_0x3a074c=(_0xcda9f9=_0x4251c1[_0x4f0cf6])==null?void 0x0:_0xcda9f9[_0x3b4ac6(0x236)],_0x304e87=_0x36a5f6[_0x3a074c],_0x345463=_0x4c9927[_0x3a074c];_0x6ee263&&(_0x6ee263['v']=_0x42a243(_0x6ee263,_0x4f0cf6===0x0&&((_0x95301=_0x188f34['getHeaderMapItem'](_0x2e34f3+0x1))==null?void 0x0:_0x95301['isValue']),_0x304e87,_0x38215e));let _0x542c93;_0x304e87?_0x542c93={..._0x40537f[_0x3b4ac6(0x267)],'n':{'pattern':_0x304e87}}:_0x542c93={..._0x40537f[_0x3b4ac6(0x267)]},_0x32cd4e['setValue'](_0x4f0cf6+_0x51d4fb,_0x2e34f3+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x6ee263,_0x542c93,_0x345463));}_0x188f34[_0x3b4ac6(0x145)][_0x2e34f3]&&(_0x4eff18[''+(_0x2e34f3+_0xfadaeb)]=_0x188f34[_0x3b4ac6(0x145)][_0x2e34f3]),_0x188f34['headerMap'][_0x2e34f3+0x1]&&(_0x1b5add[''+(_0x2e34f3+_0x51d4fb+0x1)]=_0x188f34[_0x3b4ac6(0x379)][_0x2e34f3+0x1]);}_0x51d4fb+=_0x144bb3;const _0x1800fe=_0x22c439['headerMap'],_0x412f8c=_0x22c439['getLastRow']()>=0x0?_0x22c439[_0x3b4ac6(0x287)]()+0x1:0x0,_0x4200e3=_0x22c439[_0x3b4ac6(0x1fc)]()>=0x0?_0x22c439[_0x3b4ac6(0x1fc)]()+0x1:0x0;for(let _0x436a0e=0x0;_0x436a0e<_0x412f8c;_0x436a0e++){for(let _0x27e3b2=0x0;_0x27e3b2<_0x4200e3;_0x27e3b2++){const _0x216e24={...(_0x45e98e=(_0x2e6023=_0x22c439[_0x3b4ac6(0x203)])==null?void 0x0:_0x2e6023[_0x436a0e])==null?void 0x0:_0x45e98e[_0x27e3b2]},_0x1dad4e=(_0x1c096c=_0x1800fe[_0x27e3b2])==null?void 0x0:_0x1c096c[_0x3b4ac6(0x236)],_0x20377b=_0x36a5f6[_0x1dad4e],_0x519463=_0x4c9927[_0x1dad4e];_0x216e24&&(_0x216e24['v']=_0x42a243(_0x216e24,!0x1,_0x20377b,_0x38215e));let _0x5a5f0d;_0x22c439['info'][_0x436a0e][_0x3b4ac6(0x264)]===_0x22c439[_0x3b4ac6(0x2b4)]()?_0x5a5f0d=_0x40537f[_0x3b4ac6(0x1b0)]:_0x22c439[_0x3b4ac6(0x145)][_0x436a0e][_0x3b4ac6(0x108)]?_0x5a5f0d=_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]['level']===0x0?_0x40537f[_0x3b4ac6(0x13b)]:_0x40537f[_0x3b4ac6(0x170)]:_0x5a5f0d=_0x40537f[_0x3b4ac6(0x1a3)],_0x20377b&&(_0x5a5f0d={..._0x5a5f0d,'n':{'pattern':_0x20377b}}),_0x32cd4e['setValue'](_0x436a0e+_0x51d4fb,_0x27e3b2+_0x166987,_0x3ae7af(_0x2bc404,_0x216e24,_0x5a5f0d,_0x519463));}_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]&&(_0x4dc683[''+(_0x436a0e+_0x51d4fb)]=_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]),_0x22c439[_0x3b4ac6(0x379)][_0x436a0e]&&(_0x3fe0ba[''+(_0x436a0e+_0x166987)]=_0x22c439[_0x3b4ac6(0x379)][_0x436a0e]);}const _0x27699c=_0x26096a['getRowCount'](),_0x270db0=_0x26096a[_0x3b4ac6(0x2b4)]();for(let _0x2b5f78=0x0;_0x2b5f78<_0x27699c;_0x2b5f78++)for(let _0x43c5ae=0x0;_0x43c5ae<_0x270db0;_0x43c5ae++){const _0x4d4525={...(_0x1e552b=(_0x3cabfe=_0x26096a[_0x3b4ac6(0x203)])==null?void 0x0:_0x3cabfe[_0x2b5f78])==null?void 0x0:_0x1e552b[_0x43c5ae]};let _0xb3ce25;_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78][_0x3b4ac6(0x108)]?_0xb3ce25=_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78][_0x3b4ac6(0x264)]===0x0?_0x40537f[_0x3b4ac6(0x13b)]:_0x40537f[_0x3b4ac6(0x170)]:_0xb3ce25=_0x40537f[_0x3b4ac6(0x18f)];const _0xf4a0e9=_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78]['valueIndex'],_0x568b1f=_0x188f34[_0x3b4ac6(0x145)][_0x43c5ae][_0x3b4ac6(0x167)],_0x28405e=Math['max'](_0xf4a0e9,_0x568b1f),_0x3a49f9=_0x4db24a[_0x3b4ac6(0xbf)]['valueFields'][_0x3b4ac6(0x3a9)]();let _0x44b66a='';_0x28405e<0x0?_0x44b66a=(_0x4e2318=_0x3a49f9[0x0])!=null?_0x4e2318:'':_0x44b66a=(_0x44c7ad=_0x3a49f9[_0x28405e])!=null?_0x44c7ad:'';const _0x2b295b=_0x36a5f6[_0x44b66a];_0x2b295b&&(_0xb3ce25={..._0xb3ce25,'n':{'pattern':_0x2b295b}}),_0x32cd4e['setValue'](_0x2b5f78+_0x51d4fb,_0x43c5ae+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x4d4525,_0xb3ce25));}return{'valueMatrix':_0x32cd4e,'rowInfo':_0x4dc683,'colInfo':_0x4eff18,'cornerInfo':_0x145e29,'rowHeaderMap':_0x3fe0ba,'colHeaderMap':_0x1b5add};};function _0x42a243(_0x2c723b,_0x4443d2,_0xa006,_0x2898b1){const _0x41138d=_0x45f501;let _0x1936e9=_0x2c723b['v'];_0x4443d2&&(_0x1936e9=''+_0x2898b1['sheets-pivot.value']);const _0x525ef2=_0x2c723b['t']&&(_0x2c723b['t']&_0x7d04ba[_0x41138d(0x37c)][_0x41138d(0x3af)])>0x0;if(_0x525ef2&&(_0x1936e9=''+_0x2898b1[_0x41138d(0x239)]),_0x2c723b['s']===_0x7d04ba[_0x41138d(0x24d)][_0x41138d(0x202)]){let _0x24ab81=_0x1936e9,_0x4c40e1='';_0x7d04ba['isPrefixValue'](_0x1936e9)&&(_0x24ab81=_0x1936e9[_0x41138d(0x337)],_0x4c40e1=_0x1936e9[_0x41138d(0x2dc)]);const _0x50c79e=_0xa006&&!_0x525ef2?_0xaebd85['numfmt']['format'](_0xa006,Number(_0x24ab81)):_0x24ab81;_0x4c40e1?_0x1936e9=_0x50c79e+'\x20'+_0x4c40e1:_0x1936e9=_0x50c79e+'\x20'+_0x2898b1['sheets-pivot.subTotal'];}else _0x2c723b['s']===_0x7d04ba[_0x41138d(0x24d)][_0x41138d(0x283)]&&(_0x1936e9=_0x1936e9+'\x20'+_0x2898b1[_0x41138d(0x1b3)]);return _0x1936e9;}function _0x47d8e9(_0x7f2488){const _0x26291f=_0x45f501;if(_0x7d04ba[_0x26291f(0x2bb)](_0x7f2488)){const {errorType:_0x5b11b7}=_0x7f2488;switch(_0x5b11b7){case _0x7d04ba['PivotErrorTypeEnum'][_0x26291f(0x10c)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x243)];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0xbb)]:return _0x33633f['ErrorType'][_0x26291f(0x1b9)];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0x147)]:return _0x33633f[_0x26291f(0x2a9)]['NAME'];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0x2cd)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x270)];case _0x7d04ba['PivotErrorTypeEnum'][_0x26291f(0x154)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x325)];}}return _0x7f2488;}function _0x6b001(_0x1d9309,_0x4d256e,_0x3f9137=!0x1,_0x40a4c2=!0x1){const _0x19a40f=_0x45f501,{data:_0x23b51c}=_0x4d256e,_0x18b122=_0x4d256e[_0x19a40f(0x16e)](),_0x1d14b5=_0x4d256e[_0x19a40f(0x2b4)]();if(_0x18b122<=0x0||_0x1d14b5<=0x0)return[];const _0x38ab22=_0x4d256e[_0x19a40f(0x1fc)](),_0x4e2e5c=_0x4d256e[_0x19a40f(0x287)](),_0x527ed2=_0x40a4c2?_0x4e2e5c>=0x0?_0x4e2e5c+0x1:0x0:_0x18b122,_0x49afaf=_0x40a4c2?_0x38ab22>=0x0?_0x38ab22+0x1:0x0:_0x1d14b5,{row:_0x5b0f71,col:_0x3dbabf}=_0x1d9309,_0xe4ea4f=_0x5b0f71,_0x5346fa=_0x3dbabf;if(_0x3f9137){const _0x1996d7=[];for(const [_0x589f7c,_0x121d99]of Object[_0x19a40f(0x392)](_0x23b51c))for(const [_0x3beb85,_0x107a49]of Object[_0x19a40f(0x392)](_0x121d99))_0x1996d7[_0x19a40f(0x373)](_0xaebd85['cellToRange'](_0xe4ea4f+Number(_0x589f7c),_0x5346fa+Number(_0x3beb85)));return _0x1996d7;}else{const _0x7f8bb7=_0x40a4c2?_0x527ed2>0x0?0x1:0x0:0x1,_0x5c2b70=_0x40a4c2?_0x49afaf>0x0?0x1:0x0:0x1,_0x28912a=_0x5b0f71+_0x527ed2-_0x7f8bb7,_0x5354c8=_0x3dbabf+_0x49afaf-_0x5c2b70;return[{'startRow':_0xe4ea4f,'startColumn':_0x5346fa,'endRow':_0x28912a,'endColumn':_0x5354c8}];}}const _0x5e7272=_0x45f501(0x2ff),_0xd1b0ab=_0x45f501(0x39f);var _0x240b92=(_0x59caa3=>(_0x59caa3[_0x45f501(0x302)]=_0x45f501(0xc6),_0x59caa3['Panel']='panel',_0x59caa3[_0x45f501(0x271)]='addPivotField',_0x59caa3['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x59caa3[_0x45f501(0x1c4)]='addPivotTable',_0x59caa3[_0x45f501(0x3a4)]=_0x45f501(0x273),_0x59caa3[_0x45f501(0x2ef)]=_0x45f501(0x1ab),_0x59caa3[_0x45f501(0x221)]=_0x45f501(0x1d1),_0x59caa3[_0x45f501(0x315)]=_0x45f501(0x160),_0x59caa3['SetPivotSort']=_0x45f501(0x2f0),_0x59caa3['SetPivotSetting']=_0x45f501(0x1d5),_0x59caa3['UpdatePivotSource']=_0x45f501(0x367),_0x59caa3[_0x45f501(0x284)]=_0x45f501(0xf1),_0x59caa3[_0x45f501(0x313)]='drillDown',_0x59caa3['SetValuePivotFilter']='setValuePivotFilter',_0x59caa3[_0x45f501(0x356)]=_0x45f501(0x2fb),_0x59caa3[_0x45f501(0xde)]=_0x45f501(0x3a1),_0x59caa3))(_0x240b92||{});const _0x342327={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x45f501(0x1d3),'sheets-pivot.subTotalText':_0x45f501(0x398),'sheets-pivot.grandTotalText':_0x45f501(0x3aa),'sheets-pivot.valueText':_0x45f501(0x3a8),'sheets-pivot.averageName':_0x45f501(0x17f),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x45f501(0x306),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x45f501(0x137),'sheets-pivot.productName':_0x45f501(0x2b6),'sheets-pivot.stdDevName':_0x45f501(0x33b),'sheets-pivot.stdDevpName':_0x45f501(0x3a6),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x45f501(0x228),'sheets-pivot.varpName':_0x45f501(0x134),'sheets-pivot.subTotal':_0x45f501(0x202),'sheets-pivot.grandTotal':_0x45f501(0x3aa),'sheets-pivot.value':'value','sheets-pivot.blank':_0x45f501(0x3af),'sheets-pivot.emptyPivot.filter':_0x45f501(0x302),'sheets-pivot.emptyPivot.row':_0x45f501(0xfb),'sheets-pivot.emptyPivot.column':_0x45f501(0x164),'sheets-pivot.emptyPivot.values':_0x45f501(0x1e4)},_0x359f1b={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x33c707=_0xaebd85[_0x45f501(0x2f6)](_0x45f501(0x1c9)),_0xe0920e=_0xaebd85[_0x45f501(0x20f)](_0x45f501(0xf9));var _0x247849=(_0x5523ae=>(_0x5523ae[_0x45f501(0x328)]='add',_0x5523ae[_0x45f501(0x226)]=_0x45f501(0x226),_0x5523ae['update']=_0x45f501(0x251),_0x5523ae))(_0x247849||{}),_0x3c03d6=(_0x1d3fce=>(_0x1d3fce['Add']='add',_0x1d3fce['Set']=_0x45f501(0x94),_0x1d3fce['Delete']='delete',_0x1d3fce))(_0x3c03d6||{});const _0x1a9b4e={0x0:'C',0x1:'H',0x2:'S',0x3:'8',0x4:'L',0x5:'w',0x6:'u',0x7:'4',0x8:'9',0x9:'V','e':'0','m':'1','g':'2','A':'3','z':'5','K':'6','b':'7','C':'a','k':'b','n':'c','I':'d','c':'e','U':'f','Y':'g','w':'h','l':'i','x':'j','y':'k','M':'l','B':'m','q':'n','s':'o','E':'p','H':'q','t':'r','i':'s','j':'t','p':'v','Q':'x','P':'y','R':'z','D':'A','L':'B','v':'D','h':'E','J':'F','f':'G','O':'I','o':'J','T':'K','d':'M','X':'N','W':'O','G':'P','F':'Q','N':'R','Z':'T','S':'U','u':'W','r':'X','V':'Y','a':'Z'},_0x51efbc='U6qnjlsq\x20IcntPEjlsq(Mlncqic,\x20E6kMlnTcP)\x20{\x20\x20\x20\x20jtP\x20{\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20MlncqicOqUsGCtjDttCP\x20=\x20Mlncqic.iEMlj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20stlYlqdciiCYc\x20=\x20o2WX.ECtic(Cjsk(MlncqicOqUsGCtjDttCP[g]));\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(!stlYlqdciiCYc.6I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stlYlqdciiCYc.6I\x20=\x20X6Bkct(MlncqicOqUsGCtjDttCP[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20liustyct\x20=\x20jPEcsU\x20ustyctfMskCM2nsEc\x20!==\x20\x276qIcUlqcI\x27\x20&&\x20icMU\x20lqijCqncsU\x20ustyctfMskCM2nsEc;\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20nsqjcQj\x20=\x20liustyct\x20?\x20icMU\x20:\x205lqIs5;\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20BciiCYcustI\x20=\x20nsqjcQj.__LCicK7__.ECtic(MlncqicOqUsGCtjDttCP[g]);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20BciiCYc\x20=\x20nsqjcQj.__1cQ__.ijtlqYlUP(BciiCYcustI);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYqCj6tcustI\x20=\x20nsqjcQj.__LCicK7__.ECtic(MlncqicOqUsGCtjDttCP[A]);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYqCj6tc\x20=\x20nsqjcQj.__1cQ__.ijtlqYlUP(ilYqCj6tcustI);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYq9CMlI\x20=\x20nsqjcQj.__pctlUP__(ilYqCj6tc,\x20BciiCYc,\x20E6kMlnTcP);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20IsBClq\x20=\x20stlYlqdciiCYc.IB;\x20\x20\x20\x20\x20\x20\x20\x20U6qnjlsq\x20livsBClqdCjnwlqY(sGCjjctq,\x20s1sij)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctq\x20=\x20sGCjjctq.tcEMCnc(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsij\x20=\x20s1sij.tcEMCnc(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctqGCtji\x20=\x20ECjjctq.iEMlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsijGCtji\x20=\x20wsij.iEMlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(!ECjjctq.lqnM6Ici(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20ECjjctq\x20===\x20wsij;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(ECjjctqGCtji.McqYjw\x20<\x20g\x20||\x20ECjjctqGCtji[e]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20UCMic;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctq26UUlQ\x20=\x20ECjjctqGCtji.iMlnc(m).xslq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsij26UUlQ\x20=\x20wsijGCtji.iMlnc(-ECjjctqGCtji.McqYjw\x20+\x20m).xslq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20ECjjctq26UUlQ\x20===\x20wsij26UUlQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Mcj\x20IsBClq9CMlI\x20=\x20(IsBClq\x20&&\x20IsBClq.McqYjw)\x20?\x20IsBClq.isBc((IBOjcB)\x20=>\x20livsBClqdCjnwlqY(IBOjcB,\x20MsnCjlsq.wsijqCBc))\x20:\x20jt6c;\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(MsnCjlsq.wsijqCBc\x20===\x20\x27MsnCMwsij\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IsBClq9CMlI\x20=\x20jt6c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20pCMlI\x20=\x20ilYq9CMlI\x20&&\x20IsBClq9CMlI;\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pCMlI,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BciiCYc:\x20stlYlqdciiCYc,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20nCjnw\x20(cttst)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pCMlI:\x20UCMic,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BciiCYc:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5dba1f={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x11b),'handler':()=>!0x0},_0x161053={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x1a8),'handler':()=>!0x0},_0x391b59={'type':_0xaebd85['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5e3865={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x4af3e0={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x25f),'handler':()=>!0x0},_0x47e532=_0x45888f=>{const _0x1c169a=_0x45f501;var _0x2e64b9;return((_0x2e64b9=_0x45888f['body'])==null?void 0x0:_0x2e64b9[_0x1c169a(0x26e)][_0x1c169a(0x24c)](/\r\n$/,''))||'';};class _0x4d78e8 extends _0x7d04ba[_0x45f501(0x99)]{constructor(_0x2f990e,_0x2eb759){const _0xafe8fb=_0x45f501;super(),_0x1f3ba2(this,_0xafe8fb(0xc5),{}),_0x1f3ba2(this,_0xafe8fb(0x33e)),_0x1f3ba2(this,_0xafe8fb(0x387)),(this[_0xafe8fb(0x33e)]=_0x2eb759,this[_0xafe8fb(0x387)]=_0x2f990e);}[_0x45f501(0x2bf)](){const _0x3eb50a=_0x45f501;for(const _0x4e7d1f in this[_0x3eb50a(0x329)]){const _0x5acd02=this['dataFields'][_0x4e7d1f],_0x57b5c7=_0x5acd02[_0x3eb50a(0x295)]();this[_0x3eb50a(0xc5)][_0x57b5c7]=_0x5acd02[_0x3eb50a(0x114)]();}}[_0x45f501(0x199)](){const _0x1fceb6=_0x45f501,_0x1bb6fd=this[_0x1fceb6(0x387)];return _0x406ff8[_0x1fceb6(0x146)](_0x1bb6fd);}[_0x45f501(0xed)](_0x1bd4bc){const _0x4c621a=_0x45f501,_0x152658=this[_0x4c621a(0x329)][_0x1bd4bc]['rangeKey'];delete this[_0x4c621a(0x329)][_0x1bd4bc],delete this[_0x4c621a(0xc5)][_0x152658];}['addDataFieldWithoutUnitInfo'](_0x41ad13){const _0xe82ad6=_0x45f501;this[_0xe82ad6(0x329)][_0x41ad13['getId']()]=_0x41ad13;}[_0x45f501(0x241)](_0x143b49){const _0x2a5d93=_0x45f501;var _0x2eb785,_0x11a148;const _0x400b76=this[_0x2a5d93(0x387)]['getTargetByPivotId'](_0x143b49);if(_0x400b76){const {unitId:_0x4836b3,subUnitId:_0x1c5ab8}=_0x400b76,_0x28003f=(_0x2eb785=this['_host']['getPivotTableConfig'](_0x4836b3,_0x1c5ab8,_0x143b49))==null?void 0x0:_0x2eb785[_0x2a5d93(0x206)];this['_host'][_0x2a5d93(0x27e)]({'token':_0x143b49,'type':_0x247849[_0x2a5d93(0x226)],'dataRangeInfo':_0x28003f});}(_0x11a148=this[_0x2a5d93(0x300)](_0x143b49))==null||_0x11a148[_0x2a5d93(0x24e)](),delete this[_0x2a5d93(0x2ea)][_0x143b49];}['getRangeKey'](_0x7a8916,_0x20bc76){const _0x319806=_0x45f501,{sheetName:_0x52a1a0,unitId:_0x5d1212,range:_0x520a41}=_0x7a8916,{startRow:_0x1da2af,endRow:_0x14a136}=_0x520a41;return _0x33633f[_0x319806(0x2fa)](_0x5d1212,_0x52a1a0,{'startRow':_0x1da2af,'endRow':_0x14a136,'startColumn':_0x20bc76,'endColumn':_0x20bc76});}[_0x45f501(0x229)](_0x467a07){const _0x27c17c=_0x45f501;return this[_0x27c17c(0x329)][this[_0x27c17c(0xc5)][_0x467a07]];}['setRangeKeyMap'](_0x5212d2,_0x19ea12){this['rangeKeyMap'][_0x5212d2]=_0x19ea12;}[_0x45f501(0x2e3)](_0x527446,_0x440d88){const _0x1dfa94=_0x45f501;this['rangeKeyMap'][_0x440d88]=this[_0x1dfa94(0xc5)][_0x527446],delete this[_0x1dfa94(0xc5)][_0x527446];}[_0x45f501(0x1be)](_0x5e1cd9,_0x792fce,_0x40f04c,_0x4f6cf7){const _0x20f6c5=_0x45f501,_0x398094=new _0x7d04ba[(_0x20f6c5(0xfa))](this);_0x398094[_0x20f6c5(0x391)](_0x792fce);const _0x1f2b86=[];let _0x4354fd=0x0;for(const _0x2144c0 of _0x398094[_0x20f6c5(0x37b)]){const _0x527267=this[_0x20f6c5(0x295)](_0x40f04c,_0x4354fd),_0x4c618e=this[_0x20f6c5(0x329)][_0x2144c0];_0x4c618e&&(_0x4c618e['rangeKey']=_0x527267,this[_0x20f6c5(0x166)](_0x527267,_0x2144c0),_0x1f2b86[_0x20f6c5(0x373)]({'index':_0x4354fd,'dataField':_0x4c618e})),_0x4354fd++;}return this[_0x20f6c5(0x210)](_0x5e1cd9,_0x398094,_0x40f04c,_0x4f6cf7),{'collection':_0x398094,'updateDataFieldList':_0x1f2b86};}[_0x45f501(0x395)](_0x183d95,_0x3db8c0){const _0x598026=_0x45f501;return _0x183d95[_0x598026(0xb4)]===_0xaebd85[_0x598026(0x204)]['COLUMN']?{'startRow':0x0,'startColumn':_0x183d95[_0x598026(0x212)],'endRow':_0x3db8c0[_0x598026(0x16e)]()-0x1,'endColumn':_0x183d95[_0x598026(0x1e3)]}:{'startRow':_0x183d95[_0x598026(0x38c)],'startColumn':_0x183d95[_0x598026(0x212)],'endRow':_0x183d95[_0x598026(0x2fd)],'endColumn':_0x183d95[_0x598026(0x1e3)]};}[_0x45f501(0x3a0)](_0x377a68){const _0x5a6323=_0x45f501,{sheetName:_0x335d8b,range:_0x4e4331}=_0x377a68,_0x47bd95=this['_univerInstanceService'][_0x5a6323(0x20c)](_0xaebd85['UniverInstanceType'][_0x5a6323(0x2a1)]),_0x35ea3b=_0x47bd95[_0x5a6323(0x1e9)](_0x335d8b),_0x145541=_0x35ea3b[_0x5a6323(0x97)](),{startColumn:_0x3842eb,startRow:_0x3709b6,endColumn:_0x2f3cb3}=this[_0x5a6323(0x395)](_0x4e4331,_0x35ea3b),_0x4139c5=_0x47bd95[_0x5a6323(0x193)](),_0x52268b=new _0x7d04ba[(_0x5a6323(0xfa))](this);_0x52268b[_0x5a6323(0x2f4)](_0x377a68);const _0x42cd35=[],_0x19aea2={};for(let _0x2a7548=_0x3842eb;_0x2a7548<=_0x2f3cb3;_0x2a7548++){const _0x567c4a=_0x145541[_0x5a6323(0x247)](_0x3709b6,_0x2a7548),_0x2df297=this[_0x5a6323(0x295)](_0x377a68,_0x2a7548),_0x20c3c2=this['getDataFieldByRangeKey'](_0x2df297);if(_0x20c3c2)_0x52268b[_0x5a6323(0xc2)](_0x20c3c2[_0x5a6323(0x114)](),_0x20c3c2[_0x5a6323(0xdd)]());else{const _0x3d33d1=this[_0x5a6323(0x341)]();let _0x55e2ad=this[_0x5a6323(0x128)](_0x567c4a,_0x4139c5,_0x19aea2);_0x7d04ba['isDateValue'](_0x55e2ad)&&(_0x55e2ad=_0xaebd85[_0x5a6323(0x1a0)]['format'](_0x55e2ad['f'],Number(_0x55e2ad['v'])));const _0x2cc719=this['uniqueDataFieldName'](_0x55e2ad,_0x2a7548),_0x4d6691=new _0x7d04ba[(_0x5a6323(0x290))](_0x3d33d1,_0x2cc719,_0x7d04ba[_0x5a6323(0x33a)](0x3));_0x4d6691[_0x5a6323(0x368)]=_0x2df297,this[_0x5a6323(0x329)][_0x3d33d1]=_0x4d6691,_0x52268b[_0x5a6323(0xc2)](_0x3d33d1,_0x2cc719),_0x42cd35[_0x5a6323(0x373)]({'index':_0x2a7548,'dataField':_0x4d6691});}}return{'updateDataFieldList':_0x42cd35,'collection':_0x52268b};}[_0x45f501(0xce)](_0x1b3617){const _0x3ae08f=_0x45f501;return this[_0x3ae08f(0x387)][_0x3ae08f(0x15d)]()[_0x3ae08f(0x19e)]+'\x20'+_0xaebd85['numberToABC'](_0x1b3617);}[_0x45f501(0x19f)](_0x2f7105,_0x1230b2){const _0x49155d=_0x45f501;return _0x2f7105==null||_0x2f7105===''?this[_0x49155d(0xce)](_0x1230b2):String(_0x2f7105);}['getCollection'](_0x2507b9){const _0x4eb013=_0x45f501;return this[_0x4eb013(0x2ea)][_0x2507b9];}[_0x45f501(0x210)](_0x1d65a1,_0x3f2d5c,_0x20083b,_0x362e55){const _0x218b83=_0x45f501;this[_0x218b83(0x2ea)][_0x1d65a1]=_0x3f2d5c,_0x3f2d5c[_0x218b83(0x2f4)](_0x20083b),this[_0x218b83(0x387)][_0x218b83(0x27e)]({'token':_0x1d65a1,'type':_0x247849[_0x218b83(0x328)],'dataRangeInfo':_0x20083b,'targetCellInfo':_0x362e55});}[_0x45f501(0x161)](_0x5bf649,_0x4ef7e3){const _0x4e174b=_0x45f501,_0x2caff7=this['getCollection'](_0x5bf649),_0x2a22ba=_0x2caff7['getFieldIds']();let _0x4546a5=0x0;for(const _0x37771b of _0x2a22ba){const _0x24238a=_0x2caff7['getFieldById'](_0x37771b),_0x309651=this['getRangeKey'](_0x4ef7e3,_0x4546a5);this[_0x4e174b(0x2e3)](_0x24238a[_0x4e174b(0x368)],_0x309651),_0x4546a5++;}}[_0x45f501(0x28e)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x594efb,_0x13fe05){const _0x36f487=_0x45f501;if(this[_0x36f487(0x300)](_0x594efb)){const _0x391c47=this[_0x36f487(0x299)](_0x13fe05),_0x4ea957=[];for(const _0x24a4fb of _0x391c47)this[_0x36f487(0xc5)][_0x24a4fb]!==void 0x0&&_0x4ea957[_0x36f487(0x373)](this[_0x36f487(0xc5)][_0x24a4fb]);const _0x4e5437=this[_0x36f487(0x3b1)](_0x594efb),_0x2f7706=[],_0x1573f9=new Set(_0x4ea957);for(const _0x369126 of _0x4e5437)_0x1573f9['has'](_0x369126)||_0x2f7706['push'](_0x369126);return _0x2f7706;}}['getMatrixValue'](_0x1f5ccf,_0x57ef7e,_0x47df0b,_0x3832a5,_0x29e0da){const _0x232eb7=_0x45f501;return _0x57ef7e&&_0x57ef7e[_0x232eb7(0x247)](_0x3832a5,_0x29e0da)?_0x57ef7e['getValue'](_0x3832a5,_0x29e0da):_0x47df0b&&_0x47df0b[_0x232eb7(0x247)](_0x3832a5,_0x29e0da)?_0x47df0b[_0x232eb7(0x247)](_0x3832a5,_0x29e0da):_0x1f5ccf[_0x232eb7(0x247)](_0x3832a5,_0x29e0da);}[_0x45f501(0x1e5)](_0x14e901,_0x523c5e,_0x4d9205,_0x15d08e){const _0x48073c=_0x45f501,_0x7c5b7c=this[_0x48073c(0x329)][_0x14e901];if(!_0x7c5b7c)return;const {subUnitId:_0x19fec6,range:_0x2b992a,unitId:_0x378b8b}=_0x523c5e,_0x344423=this['_univerInstanceService']['getUnit'](_0x378b8b);if(!_0x344423){console['error'](_0x48073c(0xe0));return;}const _0x25f98f=_0x344423[_0x48073c(0x318)](_0x19fec6),_0x4f09d6=_0x25f98f[_0x48073c(0x97)](),{arrayFormulaCellDataMatrix:_0xd2f94a,unitDataMatrix:_0x4b8fad}=_0x15d08e||{},{startRow:_0x16fb0c,startColumn:_0x5a8521,endRow:_0x1f1166}=this[_0x48073c(0x395)](_0x2b992a,_0x25f98f);_0x7c5b7c[_0x48073c(0x350)]();const _0x20f65d=_0x344423['getStyles'](),_0x5507e1={},_0x4936d4=this['getMatrixValue'](_0x4f09d6,_0xd2f94a,_0x4b8fad,_0x16fb0c,_0x5a8521+_0x4d9205);let _0x5289ca=this['adjustSheetCellData'](_0x4936d4,_0x20f65d,_0x5507e1);_0x7d04ba[_0x48073c(0x27b)](_0x5289ca)&&(_0x5289ca=_0xaebd85[_0x48073c(0x1a0)][_0x48073c(0x2ad)](_0x5289ca['f'],Number(_0x5289ca['v'])));const _0xdbedcd=this[_0x48073c(0x19f)](_0x5289ca,_0x5a8521+_0x4d9205);_0x7c5b7c['setName'](_0xdbedcd);for(let _0x250b06=_0x16fb0c+0x1;_0x250b06<=_0x1f1166;_0x250b06++){const _0x4acd01=this[_0x48073c(0x399)](_0x4f09d6,_0xd2f94a,_0x4b8fad,_0x250b06,_0x5a8521+_0x4d9205);_0x7c5b7c['addRecord'](this[_0x48073c(0x128)](_0x4acd01,_0x20f65d,_0x5507e1),_0x250b06-0x1-_0x16fb0c);}}[_0x45f501(0x107)](_0x4fad59,_0xaf948c,_0x1f23af){const _0x44da7c=_0x45f501,{subUnitId:_0xcf266a,range:_0x5669fd,unitId:_0x12a749}=_0x1f23af,_0x50a7f5=this[_0x44da7c(0x33e)][_0x44da7c(0x357)](_0x12a749);if(!_0x50a7f5){console[_0x44da7c(0x2c0)]('workbook\x20is\x20not\x20found');return;}const _0xbcd8c5=_0x50a7f5[_0x44da7c(0x318)](_0xcf266a),_0x3592f2=_0xbcd8c5[_0x44da7c(0x97)](),{startRow:_0x2e4958,startColumn:_0x46ef9c,endRow:_0x58b52b}=this[_0x44da7c(0x395)](_0x5669fd,_0xbcd8c5),_0xa1f4a6=_0x50a7f5[_0x44da7c(0x193)](),_0x495841={};for(const {dataField:_0x4097cf,index:_0x530831}of _0xaf948c){_0x4097cf[_0x44da7c(0x350)]();const _0x1faf36=this[_0x44da7c(0x399)](_0x3592f2,void 0x0,void 0x0,_0x2e4958,_0x46ef9c+_0x530831);let _0x30089c=this[_0x44da7c(0x128)](_0x1faf36,_0xa1f4a6,_0x495841);_0x7d04ba['isDateValue'](_0x30089c)&&(_0x30089c=_0xaebd85[_0x44da7c(0x1a0)][_0x44da7c(0x2ad)](_0x30089c['f'],Number(_0x30089c['v'])));const _0x438bfc=this[_0x44da7c(0x19f)](_0x30089c,_0x46ef9c+_0x530831);_0x4097cf[_0x44da7c(0xd7)](_0x438bfc);}_0x4fad59[_0x44da7c(0xcb)]();for(let _0xf98fa4=_0x2e4958+0x1;_0xf98fa4<=_0x58b52b;_0xf98fa4++)for(const {index:_0x5b86e6,dataField:_0x3ae1ad}of _0xaf948c){const _0x2eaf42=_0x3592f2[_0x44da7c(0x247)](_0xf98fa4,_0x46ef9c+_0x5b86e6);_0x3ae1ad[_0x44da7c(0x36a)](this['adjustSheetCellData'](_0x2eaf42,_0xa1f4a6,_0x495841),_0xf98fa4-0x1-_0x2e4958);}_0x4fad59['setDataRecordCount'](_0x58b52b-_0x2e4958);}[_0x45f501(0x299)](_0x4ebd31){const _0x182073=_0x45f501,{range:_0x220385}=_0x4ebd31,{startColumn:_0xeda234,endColumn:_0x54a948}=_0x220385,_0x565080=[];for(let _0x501bad=_0xeda234;_0x501bad<=_0x54a948;_0x501bad++)_0x565080['push'](this[_0x182073(0x295)](_0x4ebd31,_0x501bad));return _0x565080;}[_0x45f501(0x128)](_0x2d852f,_0x7486ef,_0x5dde66){const _0x208d3f=_0x45f501;if(_0x2d852f){const {s:_0x2c1c92,v:_0x21a5cb,t:_0x367e63,p:_0x4bd5df}=_0x2d852f;if(_0x4bd5df)return _0x47e532(_0x4bd5df);const _0x414570=_0x7486ef[_0x208d3f(0x185)](_0x2c1c92);if(_0x414570&&_0x367e63===_0xaebd85['CellValueType'][_0x208d3f(0x2ab)]&&_0x414570['n']){const {pattern:_0x5c8413}=_0x414570['n'];_0x5dde66[_0x5c8413]||(_0x5dde66[_0x5c8413]=_0xaebd85[_0x208d3f(0x1a0)]['getFormatInfo'](_0x5c8413));const _0x1ea79e=_0x5dde66[_0x5c8413],_0xd32459=_0x1ea79e[_0x208d3f(0x35a)];if(_0x1ea79e[_0x208d3f(0x2ba)])return String(_0x21a5cb);if(_0xd32459)return{'v':_0x21a5cb,'f':_0x5c8413};}if(_0x367e63===_0xaebd85[_0x208d3f(0x1eb)][_0x208d3f(0x2ab)])return Number(_0x21a5cb);if(_0x367e63===_0xaebd85['CellValueType'][_0x208d3f(0x102)]||_0x367e63===_0xaebd85['CellValueType']['FORCE_STRING'])return String(_0x21a5cb);if(_0x367e63===void 0x0){const _0x3b2ba4=Number(_0x21a5cb);if(!Number[_0x208d3f(0x309)](_0x3b2ba4)&&String(_0x3b2ba4)===_0x21a5cb)return _0x3b2ba4;}return _0x21a5cb!=null?_0x21a5cb:null;}else return null;}[_0x45f501(0x339)](_0x5e741f){const _0x415787=_0x45f501,{sheetName:_0x330344,range:_0x101104,unitId:_0x36239b}=_0x5e741f,_0x1bf357=this['_univerInstanceService'][_0x415787(0x357)](_0x36239b);if(!_0x1bf357)return console[_0x415787(0x2c0)](_0x415787(0xe0)),{'header':[],'data':[]};const _0x456cb0=_0x1bf357[_0x415787(0x1e9)](_0x330344),_0x49a390=_0x456cb0[_0x415787(0x97)](),{startRow:_0x2c1813,startColumn:_0x37bfb6,endRow:_0x4bf60e,endColumn:_0x42f1ee}=this['getRangeStartEndInfo'](_0x101104,_0x456cb0),_0x52e8b0=_0x1bf357['getStyles'](),_0x3eab0b=[],_0x2453e2=[],_0x51856d={};for(let _0x126a81=_0x2c1813;_0x126a81<=_0x4bf60e;_0x126a81++){const _0x3b7ee1=[];for(let _0x2c57c2=_0x37bfb6;_0x2c57c2<=_0x42f1ee;_0x2c57c2++){const _0x119263=_0x49a390['getValue'](_0x126a81,_0x2c57c2);_0x126a81===_0x2c1813?_0x3eab0b[_0x415787(0x373)](_0x119263==null?null:String(_0x119263['v'])):_0x3b7ee1[_0x415787(0x373)](this['adjustSheetCellData'](_0x119263,_0x52e8b0,_0x51856d));}_0x2453e2[_0x415787(0x373)](_0x3b7ee1);}return{'header':_0x3eab0b,'data':_0x2453e2};}[_0x45f501(0x19a)](){const _0xb8409a=_0x45f501;return super[_0xb8409a(0x19a)]();}['fromJSON'](_0x4857d9){const _0x1c2ba6=_0x45f501;super[_0x1c2ba6(0x391)](_0x4857d9),this['initDataRanges']();}[_0x45f501(0x24e)](){const _0x2db1c9=_0x45f501;super[_0x2db1c9(0x24e)](),this[_0x2db1c9(0xc5)]={},this[_0x2db1c9(0x387)]=null;}}const _0x2bac0e=_0xde7c8b=>{const _0x416642=_0x45f501,{targetCellInfo:_0x1044df}=_0xde7c8b,{matrixCache:_0x330566,rangesCache:_0x2790cc}=_0x5377ee({'filter':_0x416642(0x302),'row':_0x416642(0xfb),'column':_0x416642(0x164),'values':_0x416642(0x1e4)},_0x1044df),_0x18720a=new _0xaebd85['ObjectMatrix']();return _0x330566[_0x416642(0x216)]((_0x254bf0,_0x4bdc7b,_0x2a96f4)=>{const _0x3e3ff5=_0x416642;_0x18720a[_0x3e3ff5(0x1a7)](_0x254bf0,_0x4bdc7b,_0x2a96f4);}),{'matrix':_0x18720a,'rangesCache':_0x2790cc};},_0x57d705=_0x24574a=>{const _0x4bbadf=_0x45f501;let _0x543aa3;if(_0x24574a!=null&&_0x24574a['v']||(_0x24574a==null?void 0x0:_0x24574a['v'])===0x0){_0x543aa3||(_0x543aa3={});const _0x53286f=_0x47d8e9(_0x24574a['v']);typeof _0x53286f=='number'?_0x543aa3['t']=_0xaebd85[_0x4bbadf(0x1eb)]['NUMBER']:typeof _0x53286f==_0x4bbadf(0xd9)&&(_0x543aa3['t']=_0xaebd85[_0x4bbadf(0x1eb)][_0x4bbadf(0x102)]),_0x543aa3['v']=_0x53286f;}return _0x543aa3;},_0x585e4d=(_0x50444e,_0x404596,_0x2e4f85)=>{const _0x2f72c9=_0x45f501;var _0x543a97,_0x5e4662,_0x1e452b,_0x26c381,_0xe613db,_0x5686f0,_0x4eae1a,_0x3fd1ce,_0x10bae4,_0x9211a,_0x9b6672,_0x4a1507;const {cornerView:_0x47d77a,rowView:_0xfa49a5,colView:_0x160758,dataView:_0x4d30e1,pageView:_0x4bc350,formatMap:_0x5616c5}=_0x50444e,{row:_0x126fbe,col:_0x3f2921}=_0x404596,_0x3eedef=new _0xaebd85[(_0x2f72c9(0x209))]();let _0x1e64dd=_0x126fbe,_0x2a2b62=_0x3f2921;Object[_0x2f72c9(0x374)](_0x4bc350[_0x2f72c9(0x203)])['forEach'](_0x46bad8=>{const _0x27adc1=_0x2f72c9;Object[_0x27adc1(0x374)](_0x4bc350[_0x27adc1(0x203)][Number(_0x46bad8)])[_0x27adc1(0x106)](_0x53e444=>{const _0x88d600=_0x27adc1,_0x3b81dc={..._0x4bc350['data'][Number(_0x46bad8)][Number(_0x53e444)]};_0x3eedef[_0x88d600(0x1a7)](Number(_0x46bad8)+_0x1e64dd,Number(_0x53e444)+_0x2a2b62,_0x57d705(_0x3b81dc));});});const _0xce0503=Object[_0x2f72c9(0x374)](_0x4bc350[_0x2f72c9(0x203)])[_0x2f72c9(0xa8)];_0x1e64dd+=_0xce0503+(_0xce0503?_0x32fbf9:0x0);const _0x1186f9=_0x47d77a[_0x2f72c9(0x16e)](),_0x1eb6fc=_0x47d77a[_0x2f72c9(0x2b4)]();for(let _0x298fa7=0x0;_0x298fa7<_0x1186f9;_0x298fa7++)for(let _0x21ea69=0x0;_0x21ea69<_0x1eb6fc;_0x21ea69++){const _0x238462={...(_0x5e4662=(_0x543a97=_0x47d77a['data'])==null?void 0x0:_0x543a97[_0x298fa7])==null?void 0x0:_0x5e4662[_0x21ea69]};_0x238462&&((_0x1e452b=_0xfa49a5['headerMap'][_0x21ea69])!=null&&_0x1e452b[_0x2f72c9(0x256)])&&_0x21ea69===_0x1eb6fc-0x1&&_0x298fa7===_0x1186f9-0x1&&(_0x238462['v']=''+_0x2e4f85[_0x2f72c9(0x1f9)]),_0x3eedef[_0x2f72c9(0x1a7)](_0x298fa7+_0x1e64dd,_0x21ea69+_0x2a2b62,_0x57d705(_0x238462));}_0x2a2b62+=_0x1eb6fc;const _0x3f320d=_0x160758[_0x2f72c9(0x379)],_0x20aeb1=_0x160758[_0x2f72c9(0x287)]()>=0x0?_0x160758[_0x2f72c9(0x287)]()+0x1:0x0,_0xffebb=_0x160758[_0x2f72c9(0x1fc)]()>=0x0?_0x160758['getLastCol']()+0x1:0x0;for(let _0x343b5a=0x0;_0x343b5a<_0xffebb;_0x343b5a++)for(let _0x4be65d=0x0;_0x4be65d<_0x20aeb1;_0x4be65d++){const _0x20b578={...(_0xe613db=(_0x26c381=_0x160758[_0x2f72c9(0x203)])==null?void 0x0:_0x26c381[_0x343b5a])==null?void 0x0:_0xe613db[_0x4be65d]},_0x49338f=(_0x5686f0=_0x3f320d[_0x343b5a])==null?void 0x0:_0x5686f0[_0x2f72c9(0x236)],_0x353ae3=_0x5616c5[_0x49338f];_0x20b578&&(_0x20b578['v']=_0x42a243(_0x20b578,_0x343b5a===0x0&&((_0x4eae1a=_0x160758['getHeaderMapItem'](_0x4be65d+0x1))==null?void 0x0:_0x4eae1a[_0x2f72c9(0x256)]),_0x353ae3,_0x2e4f85)),_0x3eedef[_0x2f72c9(0x1a7)](_0x343b5a+_0x1e64dd,_0x4be65d+_0x2a2b62,_0x57d705(_0x20b578));}_0x1e64dd+=_0x1186f9;const _0x151021=_0xfa49a5[_0x2f72c9(0x379)],_0x3f8bb4=_0xfa49a5[_0x2f72c9(0x287)]()>=0x0?_0xfa49a5[_0x2f72c9(0x287)]()+0x1:0x0,_0x2098ad=_0xfa49a5[_0x2f72c9(0x1fc)]()>=0x0?_0xfa49a5[_0x2f72c9(0x1fc)]()+0x1:0x0;for(let _0xad4063=0x0;_0xad4063<_0x3f8bb4;_0xad4063++)for(let _0x321593=0x0;_0x321593<_0x2098ad;_0x321593++){const _0x4c97d1={...(_0x10bae4=(_0x3fd1ce=_0xfa49a5[_0x2f72c9(0x203)])==null?void 0x0:_0x3fd1ce[_0xad4063])==null?void 0x0:_0x10bae4[_0x321593]},_0x1e1687=(_0x9211a=_0x151021[_0x321593])==null?void 0x0:_0x9211a[_0x2f72c9(0x236)],_0xcdfce7=_0x5616c5[_0x1e1687];_0x4c97d1&&(_0x4c97d1['v']=_0x42a243(_0x4c97d1,!0x1,_0xcdfce7,_0x2e4f85)),_0x3eedef[_0x2f72c9(0x1a7)](_0xad4063+_0x1e64dd,_0x321593+_0x3f2921,_0x57d705(_0x4c97d1));}const _0x2d1332=_0x4d30e1['getRowCount'](),_0x55e595=_0x4d30e1[_0x2f72c9(0x2b4)]();for(let _0x532c35=0x0;_0x532c35<_0x2d1332;_0x532c35++)for(let _0x5436df=0x0;_0x5436df<_0x55e595;_0x5436df++){const _0x33bce5={...(_0x4a1507=(_0x9b6672=_0x4d30e1[_0x2f72c9(0x203)])==null?void 0x0:_0x9b6672[_0x532c35])==null?void 0x0:_0x4a1507[_0x5436df]};_0x3eedef[_0x2f72c9(0x1a7)](_0x532c35+_0x1e64dd,_0x5436df+_0x2a2b62,_0x57d705(_0x33bce5));}return _0x3eedef;},_0x17f62d=_0x1972e1=>{const _0x3e19ab=_0x45f501,{view:_0x1f1c58,targetCellInfo:_0x3f923c,isEmpty:_0x59053b,textInfo:_0x351f05}=_0x1972e1;if(_0x59053b)return _0x2bac0e(_0x1972e1);const {pageView:_0x2ef86c,cornerView:_0x4eb77e,rowView:_0x591314,colView:_0x5e2c90,dataView:_0x2e94c6}=_0x1f1c58,_0x18cd18=_0x6b001(_0x3f923c,_0x2ef86c,!0x0),_0x533af6=_0x2ef86c[_0x3e19ab(0x205)]>=0x0?_0x2ef86c[_0x3e19ab(0x205)]+0x1:0x0,_0x4528fb=_0x4eb77e[_0x3e19ab(0x16e)](),_0x4569c0=_0x4eb77e['getColCount'](),_0x5aa5b5=_0x18cd18['length']>0x0?_0x32fbf9:0x0,_0x26da24=_0x6b001({'row':_0x3f923c['row']+_0x533af6+_0x5aa5b5,'col':_0x3f923c[_0x3e19ab(0x180)]},_0x4eb77e,!0x1,!0x1),_0x5f5989=_0x6b001({'row':_0x3f923c['row']+_0x533af6+_0x5aa5b5+_0x4528fb,'col':_0x3f923c[_0x3e19ab(0x180)]},_0x591314,!0x1,!0x0),_0x53b3fe=_0x6b001({'row':_0x3f923c[_0x3e19ab(0x2e0)]+_0x533af6+_0x5aa5b5,'col':_0x3f923c[_0x3e19ab(0x180)]+_0x4569c0},_0x5e2c90,!0x1,!0x0),_0x1b4686=_0x6b001({'row':_0x3f923c[_0x3e19ab(0x2e0)]+_0x533af6+_0x5aa5b5+_0x4528fb,'col':_0x3f923c[_0x3e19ab(0x180)]+_0x4569c0},_0x2e94c6,!0x1,!0x1),_0x25fc36={'rowRanges':_0x5f5989,'colRanges':_0x53b3fe,'cornerRanges':_0x26da24,'dataRanges':_0x1b4686,'pageRanges':_0x18cd18};return{'matrix':_0x585e4d(_0x1f1c58,_0x3f923c,_0x351f05),'rangesCache':_0x25fc36};};var _0x5106d7=Object[_0x45f501(0x30e)],_0x2b7c00=(_0x2095f1,_0x403360,_0x2f2191,_0x2ef581)=>{const _0x408f64=_0x45f501;for(var _0xd996da=_0x2ef581>0x1?void 0x0:_0x2ef581?_0x5106d7(_0x403360,_0x2f2191):_0x403360,_0x560126=_0x2095f1[_0x408f64(0xa8)]-0x1,_0x10a7fe;_0x560126>=0x0;_0x560126--)(_0x10a7fe=_0x2095f1[_0x560126])&&(_0xd996da=_0x10a7fe(_0xd996da)||_0xd996da);return _0xd996da;},_0x48fda5=(_0x5002f6,_0x2770c7)=>(_0xe494b7,_0x4c36c8)=>_0x2770c7(_0xe494b7,_0x4c36c8,_0x5002f6);_0x5bc0f5[_0x45f501(0x156)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x147e5d,_0x1cd693,_0x52cc4c,_0x2869d1,_0x57d52a,_0x2bbfea){const _0x795784=_0x45f501;super(),_0x1f3ba2(this,_0x795784(0x126),new Map()),_0x1f3ba2(this,_0x795784(0x2b5),new Map()),_0x1f3ba2(this,'_viewData',new Map()),_0x1f3ba2(this,_0x795784(0xfe)),_0x1f3ba2(this,'_collectionChange$',new _0x4c50c4[(_0x795784(0x2a3))]()),_0x1f3ba2(this,'collectionChange$',this[_0x795784(0x31d)]['asObservable']()),_0x1f3ba2(this,'_viewData$',new _0x4c50c4[(_0x795784(0x2a3))]()),_0x1f3ba2(this,_0x795784(0x30a),this[_0x795784(0x22b)][_0x795784(0x3ad)]()),_0x1f3ba2(this,_0x795784(0x2e7),new _0x4c50c4['Subject']()),_0x1f3ba2(this,_0x795784(0x316),this['_fieldsCollectionChange$'][_0x795784(0x3ad)]()),_0x1f3ba2(this,'_dataFieldManagerCollection',new Map()),_0x1f3ba2(this,_0x795784(0x12b),[]),_0x1f3ba2(this,_0x795784(0x355),new Map()),(this[_0x795784(0x307)]=_0x147e5d,this[_0x795784(0x33e)]=_0x1cd693,this[_0x795784(0x3ac)]=_0x52cc4c,this[_0x795784(0x36f)]=_0x2869d1,this[_0x795784(0x345)]=_0x57d52a,this[_0x795784(0x35c)]=_0x2bbfea,this[_0x795784(0x240)]());}[_0x45f501(0x15d)](){const _0x23a803=_0x45f501;return this[_0x23a803(0xfe)]?this[_0x23a803(0xfe)]:_0x342327;}[_0x45f501(0x1ec)](_0x3e218b){const _0x31e8e4=_0x45f501;this[_0x31e8e4(0xfe)]=_0x3e218b;}[_0x45f501(0x161)](_0x1553a7){const _0x4fab6c=_0x45f501;var _0x39e307;const {from:_0x3954ac,to:_0xe73c56,unitId:_0x24c2a9,fromRange:_0x1c63d1,toRange:_0xb5f634}=_0x1553a7;if(_0x3954ac&&_0xe73c56){const _0x2d6b20=this['getDataFieldManager'](_0x24c2a9),_0x225097=this[_0x4fab6c(0x126)][_0x4fab6c(0x185)](_0x24c2a9),_0x1bf5ba=(_0x39e307=this[_0x4fab6c(0x33e)]['getUnit'](_0x24c2a9))==null?void 0x0:_0x39e307[_0x4fab6c(0x318)](_0xe73c56[_0x4fab6c(0x15b)]);if(!_0x225097||!_0x1bf5ba)return;const _0x2a9031=_0x1bf5ba==null?void 0x0:_0x1bf5ba[_0x4fab6c(0xdd)]();for(const [_0x165a51,_0x3159cc]of _0x225097[_0x4fab6c(0x392)]())for(const [_0x36cde0,_0xe5f6a2]of _0x3159cc[_0x4fab6c(0x392)]()){const {sourceRangeInfo:_0x15e023}=_0xe5f6a2;if(_0x15e023[_0x4fab6c(0x20d)]===_0x24c2a9&&_0x15e023[_0x4fab6c(0x15b)]===_0x3954ac[_0x4fab6c(0x15b)]&&_0xaebd85[_0x4fab6c(0x1bf)]['contains'](_0x1c63d1,_0x15e023['range'])){const _0x1c9d3e={'row':_0x15e023[_0x4fab6c(0xac)]['startRow']-_0x1c63d1['startRow'],'col':_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x212)]-_0x1c63d1[_0x4fab6c(0x212)]},_0x2654ce={'unitId':_0x24c2a9,'subUnitId':_0xe73c56[_0x4fab6c(0x15b)],'sheetName':_0x2a9031,'range':{'startRow':_0xb5f634[_0x4fab6c(0x38c)]+_0x1c9d3e['row'],'endRow':_0xb5f634[_0x4fab6c(0x38c)]+_0x1c9d3e[_0x4fab6c(0x2e0)]+_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x2fd)]-_0x15e023[_0x4fab6c(0xac)]['startRow'],'startColumn':_0xb5f634[_0x4fab6c(0x212)]+_0x1c9d3e[_0x4fab6c(0x180)],'endColumn':_0xb5f634[_0x4fab6c(0x212)]+_0x1c9d3e[_0x4fab6c(0x180)]+_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x1e3)]-_0x15e023[_0x4fab6c(0xac)]['startColumn']}};_0x2d6b20[_0x4fab6c(0x161)](_0x36cde0,_0x2654ce);const _0x3ad5a9={..._0xe5f6a2,'sourceRangeInfo':_0x2654ce};this[_0x4fab6c(0x19d)](_0x24c2a9,_0xe73c56[_0x4fab6c(0x15b)],_0x36cde0,_0x3ad5a9),this['broadcastCollectionChange']({'unitId':_0x24c2a9,'token':_0x36cde0,'type':_0x247849['update'],'oldSourceRangeInfo':_0x15e023,'dataRangeInfo':_0x2654ce,'targetCellInfo':_0xe5f6a2[_0x4fab6c(0x22f)]}),this[_0x4fab6c(0x1c6)]({'unitId':_0x24c2a9,'subUnitId':_0xe73c56['subUnitId'],'oldSubUnitId':_0x165a51,'pivotTableId':_0x36cde0,'pivotTableConfig':_0x3ad5a9,'collectionConfig':_0x2d6b20[_0x4fab6c(0x19a)]()});}}}}[_0x45f501(0x27e)](_0x902077){const _0x29eba1=_0x45f501;this[_0x29eba1(0x31d)][_0x29eba1(0x369)](_0x902077);}['getDataFieldManager'](_0x40a66f){const _0x29a961=_0x45f501;let _0x387ca9=this[_0x29a961(0x1e8)][_0x29a961(0x185)](_0x40a66f);return _0x387ca9||(_0x387ca9=new _0x4d78e8(this,this['_univerInstanceService']),this[_0x29a961(0x1e8)]['set'](_0x40a66f,_0x387ca9)),_0x387ca9;}[_0x45f501(0x300)](_0x400aff,_0x4cd77a){const _0x4ab6d9=_0x45f501;return this[_0x4ab6d9(0x10f)](_0x400aff)[_0x4ab6d9(0x2ea)][_0x4cd77a];}[_0x45f501(0x382)](_0x38555d,_0x536e19,_0x4f3c2b){const _0x12de80=_0x45f501;return this[_0x12de80(0x10f)](_0x38555d)[_0x12de80(0x382)](_0x536e19,_0x4f3c2b);}['_ensurePivotMap'](_0x28f0e4,_0xbe6d91){const _0x26901b=_0x45f501;let _0x213f85=this[_0x26901b(0x126)]['get'](_0x28f0e4);_0x213f85||(_0x213f85=new Map(),this[_0x26901b(0x126)][_0x26901b(0x94)](_0x28f0e4,_0x213f85));let _0x24c047=_0x213f85[_0x26901b(0x185)](_0xbe6d91);return _0x24c047||(_0x24c047=new Map(),_0x213f85[_0x26901b(0x94)](_0xbe6d91,_0x24c047)),_0x24c047;}[_0x45f501(0x19d)](_0x239682,_0x47695d,_0x50eac6,_0x3bc076){const _0x4a3666=_0x45f501;this[_0x4a3666(0x34c)](_0x239682,_0x47695d)[_0x4a3666(0x94)](_0x50eac6,_0x3bc076);}[_0x45f501(0x23b)](_0x43e35b,_0x2fe52f,_0x48b1b1){const _0x23589b=_0x45f501;var _0x1c0e8f,_0x5ade24,_0x515906,_0xa08f1e;((_0x5ade24=(_0x1c0e8f=this[_0x23589b(0x126)][_0x23589b(0x185)](_0x43e35b))==null?void 0x0:_0x1c0e8f[_0x23589b(0x185)](_0x2fe52f))==null?void 0x0:_0x5ade24[_0x23589b(0x185)](_0x48b1b1))&&((_0xa08f1e=(_0x515906=this[_0x23589b(0x126)][_0x23589b(0x185)](_0x43e35b))==null?void 0x0:_0x515906[_0x23589b(0x185)](_0x2fe52f))==null||_0xa08f1e[_0x23589b(0x226)](_0x48b1b1));}['_updatePivotTableInstanceCache'](_0xa9a32e,_0x3564d7){const _0x2d372d=_0x45f501;this[_0x2d372d(0x2b5)][_0x2d372d(0x94)](_0xa9a32e,_0x3564d7);}['_deletePivotTableInstanceCache'](_0x4f55bc){const _0x3ab05b=_0x45f501;this[_0x3ab05b(0x2b5)][_0x3ab05b(0x226)](_0x4f55bc);}[_0x45f501(0x19b)](_0x15ab8c,_0x159c59){const _0x2cfb24=_0x45f501;let _0x4b9ec4=this['_viewData']['get'](_0x15ab8c);_0x4b9ec4||(_0x4b9ec4=new Map(),this['_viewData'][_0x2cfb24(0x94)](_0x15ab8c,_0x4b9ec4));let _0x903c31=_0x4b9ec4[_0x2cfb24(0x185)](_0x159c59);return _0x903c31||(_0x903c31=new Map(),_0x4b9ec4[_0x2cfb24(0x94)](_0x159c59,_0x903c31)),_0x903c31;}[_0x45f501(0x1c6)](_0x4fab1e){const _0x37c897=_0x45f501,{unitId:_0x576795,subUnitId:_0x5964da,pivotTableId:_0x4d9777,pivotTableConfig:_0x2aa2b5,collectionConfig:_0x595d7e}=_0x4fab1e,_0x19f31e={'unitId':_0x576795,'subUnitId':_0x5964da,'oldSubUnitId':_0x5964da,'pivotTableId':_0x4d9777,'pivotTableConfig':_0x2aa2b5,'collectionConfig':_0x595d7e};this[_0x37c897(0x345)][_0x37c897(0x3ae)](_0x5e3865['id'],_0x19f31e,{'onlyLocal':!0x0});}[_0x45f501(0x131)](_0x1ae1d9,_0x46fe46,_0x30d166,_0x17d580,_0x5e5f99,_0x17a28a,_0x3500bf,_0x1c2029=!0x1){const _0x5232c4=_0x45f501;var _0x541f9f;this[_0x5232c4(0x345)][_0x5232c4(0x3ae)](_0x391b59['id'],{'single':{'unitId':_0x1ae1d9,'subUnitId':_0x46fe46,'type':_0x30d166,'pivotTableId':_0x17d580,'view':_0x5e5f99,'pivotConfig':_0x17a28a},'collectionConfig':{[_0x1ae1d9]:_0x3500bf}},{'onlyLocal':!0x0});const _0xfa451a=!!((_0x541f9f=this[_0x5232c4(0x93)](_0x17d580))!=null&&_0x541f9f[_0x5232c4(0x393)]()),_0x287ee8=this[_0x5232c4(0x21f)](_0x1ae1d9,_0x46fe46,_0x17d580);_0x287ee8&&this[_0x5232c4(0x340)]({'view':_0x5e5f99,'pivotTableId':_0x17d580,'textInfo':this[_0x5232c4(0x15d)](),'isEmpty':_0xfa451a,'targetCellInfo':_0x287ee8[_0x5232c4(0x22f)]},_0x1c2029);}[_0x45f501(0x340)](_0x246760,_0x3e7a37){const _0x125cd7=_0x45f501,{targetCellInfo:_0x54bb7a,pivotTableId:_0x99e71b}=_0x246760,{unitId:_0x5eb9c6,subUnitId:_0x3d9d4d}=_0x54bb7a,_0x312075=this['_ensureViewDataMap'](_0x5eb9c6,_0x3d9d4d),_0x1217a2=_0x312075['get'](_0x99e71b);let _0xd35c1b,_0x43045d;_0x1217a2&&(_0xd35c1b=_0x1217a2[_0x125cd7(0x262)],_0x43045d=_0x1217a2['matrix']);const {rangesCache:_0x42de2b,matrix:_0x12db37}=_0x17f62d(_0x246760);_0x312075[_0x125cd7(0x94)](_0x99e71b,{'rangeCache':_0x42de2b,'matrix':_0x12db37,'oldMatrix':_0x43045d,'oldRangeCache':_0xd35c1b}),_0x3e7a37||this[_0x125cd7(0x22b)][_0x125cd7(0x369)]({'unitId':_0x5eb9c6,'subUnitId':_0x3d9d4d,'pivotTableId':_0x99e71b});}['addPivotTable'](_0x12f023,_0x1f59b7,_0x27713b,_0x1a994a,_0x5451fb){const _0x6ed05c=_0x45f501;this[_0x6ed05c(0x19d)](_0x12f023,_0x1f59b7,_0x27713b,_0x5451fb),this[_0x6ed05c(0x20b)](_0x27713b,_0x1a994a);}[_0x45f501(0x1d7)](_0x43527e,_0x529f4d,_0x53aaf2){const _0x5eb2eb=_0x45f501,_0x5b3a0c=this[_0x5eb2eb(0x10f)](_0x43527e);_0x5b3a0c[_0x5eb2eb(0x3b1)](_0x53aaf2)['forEach'](_0x4931fc=>{_0x5b3a0c['deleteDataField'](_0x4931fc);}),this[_0x5eb2eb(0xf6)](_0x43527e,_0x53aaf2),this['_deleteModelCache'](_0x43527e,_0x529f4d,_0x53aaf2),this[_0x5eb2eb(0x389)](_0x53aaf2);}[_0x45f501(0x18a)](_0x555ee7,_0x27adbc,_0x52cba8,_0x16c4df){const _0x130008=_0x45f501;this[_0x130008(0x19d)](_0x555ee7,_0x27adbc,_0x52cba8,_0x16c4df);}[_0x45f501(0x21f)](_0x1a89b0,_0x3ce9e4,_0x34302b){const _0x2b6a95=_0x45f501;var _0x27dd4f,_0x1c38a0;const _0x56721b=(_0x1c38a0=(_0x27dd4f=this[_0x2b6a95(0x126)][_0x2b6a95(0x185)](_0x1a89b0))==null?void 0x0:_0x27dd4f[_0x2b6a95(0x185)](_0x3ce9e4))==null?void 0x0:_0x1c38a0['get'](_0x34302b);if(_0x56721b)return _0x56721b;}[_0x45f501(0x394)](_0x52b43d,_0x3daef1,_0x546f95){const _0x15e9ae=_0x45f501;var _0x40e032,_0x318115;const _0x46b7f0=(_0x318115=(_0x40e032=this[_0x15e9ae(0x126)][_0x15e9ae(0x185)](_0x52b43d))==null?void 0x0:_0x40e032['get'](_0x3daef1))==null?void 0x0:_0x318115[_0x15e9ae(0x185)](_0x546f95);if(_0x46b7f0)return _0x46b7f0[_0x15e9ae(0xbf)];}[_0x45f501(0x93)](_0x19a377){return this['_pivotTableInstanceCache']['get'](_0x19a377);}[_0x45f501(0x1c1)](_0x277495){const _0x41a0fe=_0x45f501;this[_0x41a0fe(0x126)][_0x41a0fe(0x226)](_0x277495);const _0x41b43e=this[_0x41a0fe(0x1e8)][_0x41a0fe(0x185)](_0x277495);_0x41b43e&&(_0x41b43e[_0x41a0fe(0x24e)](),this[_0x41a0fe(0x1e8)][_0x41a0fe(0x226)](_0x277495)),this[_0x41a0fe(0xe9)][_0x41a0fe(0x226)](_0x277495),this[_0x41a0fe(0x12b)][_0x41a0fe(0x106)](_0x3b55ea=>{const _0x22cf37=_0x41a0fe;_0x3b55ea[_0x22cf37(0x1c1)](_0x277495);});}[_0x45f501(0x1be)](_0x4fa1b1,_0x588388,_0x4f7234,_0xb0f62){const _0x421136=_0x45f501;return this[_0x421136(0x10f)](_0x4f7234[_0x421136(0x20d)])[_0x421136(0x1be)](_0x4fa1b1,_0x588388,_0x4f7234,_0xb0f62);}['createCollectionWithDataRange'](_0x33d2e6){const _0x240d22=_0x45f501;return this[_0x240d22(0x10f)](_0x33d2e6['unitId'])[_0x240d22(0x3a0)](_0x33d2e6);}[_0x45f501(0x107)](_0x255c13,_0x33d7e8,_0x16ffd2){const _0x25cf0=_0x45f501;this[_0x25cf0(0x10f)](_0x16ffd2[_0x25cf0(0x20d)])['refreshData'](_0x255c13,_0x33d7e8,_0x16ffd2);}['removeDataField'](_0x1b883e,_0x46c020){const _0x4108d7=_0x45f501;this[_0x4108d7(0x10f)](_0x1b883e)['deleteDataField'](_0x46c020);}[_0x45f501(0xf6)](_0x385c28,_0x48975e){const _0x2bcf89=_0x45f501;this[_0x2bcf89(0x10f)](_0x385c28)[_0x2bcf89(0x241)](_0x48975e);}[_0x45f501(0x21d)](_0x5d00b5,_0x592910){const _0x37f459=_0x45f501;var _0x4362de;return(_0x4362de=this[_0x37f459(0x126)][_0x37f459(0x185)](_0x5d00b5))==null?void 0x0:_0x4362de[_0x37f459(0x185)](_0x592910);}[_0x45f501(0x1b4)](_0x3a00a8){const _0x3e40a3=_0x45f501;for(const [_0x4dd06a,_0x40c2f3]of this['_model'][_0x3e40a3(0x392)]())for(const [_0x578852,_0x3fae69]of _0x40c2f3[_0x3e40a3(0x392)]())if(_0x3fae69[_0x3e40a3(0x32d)](_0x3a00a8))return{'unitId':_0x4dd06a,'subUnitId':_0x578852};return null;}[_0x45f501(0x2bd)](_0x29470d,_0x4c7cc1,_0x5a5989,_0x31d98f){const _0x47a266=_0x45f501,_0x54ed9d=this[_0x47a266(0x19b)](_0x29470d,_0x4c7cc1);_0x31d98f?_0x54ed9d[_0x47a266(0x94)](_0x5a5989,_0x31d98f):_0x54ed9d[_0x47a266(0x226)](_0x5a5989),this[_0x47a266(0x22b)][_0x47a266(0x369)]({'unitId':_0x29470d,'subUnitId':_0x4c7cc1,'pivotTableId':_0x5a5989});}['dispose'](){const _0x7cbdb4=_0x45f501;super[_0x7cbdb4(0x24e)]();}[_0x45f501(0x21a)](_0x151cff,_0x302e43,_0x33e8b1){const _0x415f05=_0x45f501;var _0x108f77,_0x57010f;const _0x36ae48=(_0x57010f=(_0x108f77=this[_0x415f05(0xe9)][_0x415f05(0x185)](_0x151cff))==null?void 0x0:_0x108f77[_0x415f05(0x185)](_0x302e43))==null?void 0x0:_0x57010f[_0x415f05(0x185)](_0x33e8b1);return _0x36ae48||null;}['addDirtyPivotTable'](_0x290170){this['updateDirtyPivotTable'](_0x290170);}[_0x45f501(0x2c1)](_0x1924e6){const _0x3c31df=_0x45f501,{token:_0x5a3c51,unitId:_0x22f19d,subUnitId:_0x23728f}=_0x1924e6,_0x5bff3a=_0x22f19d+'-'+_0x23728f+'-'+_0x5a3c51;this[_0x3c31df(0x355)][_0x3c31df(0x185)](_0x5bff3a)&&clearTimeout(this[_0x3c31df(0x355)][_0x3c31df(0x185)](_0x5bff3a));const _0x1b65e7=setTimeout(()=>{const _0x2ac326=_0x3c31df;this[_0x2ac326(0xda)](_0x1924e6),this['_queryingMap']['delete'](_0x5bff3a);},_0x49953c);this[_0x3c31df(0x355)][_0x3c31df(0x94)](_0x5bff3a,_0x1b65e7);}['queryDirtyPivotTable'](_0x24e17b){const _0x2003a4=_0x45f501,{unitId:_0x2e62b5,subUnitId:_0x3e766c,token:_0x17aa99,type:_0x4ad34b,pivotConfig:_0x5cf46e}=_0x24e17b,_0x31486f=this[_0x2003a4(0x93)](_0x17aa99),_0x66b59d=_0x31486f==null?void 0x0:_0x31486f[_0x2003a4(0x25a)](),_0x5f28d1=_0x5cf46e!=null?_0x5cf46e:this[_0x2003a4(0x21f)](_0x2e62b5,_0x3e766c,_0x17aa99);_0x5f28d1&&(_0x5f28d1[_0x2003a4(0x393)]=!!(_0x31486f!=null&&_0x31486f['isEmpty']())),(_0x66b59d||_0x4ad34b===_0x3c03d6[_0x2003a4(0x178)])&&this[_0x2003a4(0x131)](_0x2e62b5,_0x3e766c,_0x4ad34b,_0x17aa99,_0x66b59d,_0x5f28d1,this[_0x2003a4(0x10f)](_0x2e62b5)[_0x2003a4(0x19a)]());}['toJSON'](_0x4a7213){const _0x3dca7f=_0x45f501,_0x27bf01={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3dca7f(0x10f)](_0x4a7213)&&(_0x27bf01[_0x3dca7f(0x219)][_0x4a7213]=this[_0x3dca7f(0x10f)](_0x4a7213)[_0x3dca7f(0x19a)]()),this[_0x3dca7f(0x126)]['get'](_0x4a7213)){_0x27bf01[_0x3dca7f(0xf2)][_0x4a7213]={};const _0x58b37a=this['_model']['get'](_0x4a7213);_0x58b37a!=null&&_0x58b37a[_0x3dca7f(0x36e)]&&[..._0x58b37a[_0x3dca7f(0x374)]()][_0x3dca7f(0x106)](_0x247e25=>{const _0x4dc2e8=_0x3dca7f,_0x19b1dc=_0x58b37a[_0x4dc2e8(0x185)](_0x247e25);_0x19b1dc!=null&&_0x19b1dc[_0x4dc2e8(0x36e)]&&(_0x27bf01[_0x4dc2e8(0xf2)][_0x4a7213][_0x247e25]={},[..._0x19b1dc[_0x4dc2e8(0x374)]()][_0x4dc2e8(0x106)](_0x1df33c=>{const _0x49f444=_0x4dc2e8,_0x5443f4=_0x19b1dc['get'](_0x1df33c);_0x5443f4&&(_0x27bf01[_0x49f444(0xf2)][_0x4a7213][_0x247e25][_0x1df33c]=_0x5443f4);}));});}return _0x27bf01;}[_0x45f501(0x391)](_0x546a0d){const _0x3033fd=_0x45f501;var _0x1e10cd;const {dataFieldManagerConfig:_0x57f802,pivotTableConfigs:_0x45827e}=_0x546a0d;_0x57f802&&Object[_0x3033fd(0x374)](_0x57f802)[_0x3033fd(0x106)](_0x41af33=>{const _0x3e7a35=_0x3033fd;this[_0x3e7a35(0x10f)](_0x41af33)[_0x3e7a35(0x391)](_0x57f802[_0x41af33]);});const _0x25e57f=[];if(_0x45827e){const _0x461f03=(_0x1e10cd=this[_0x3033fd(0x307)][_0x3033fd(0x185)](_0xaebd85[_0x3033fd(0x223)])['getConfig'](_0x800699[_0x3033fd(0x13f)]))!=null?_0x1e10cd:{},{ls:_0x592a47,pbk:_0x385e7e}=_0x461f03,_0x21f345=_0x32805f(_0x6fd86,_0x592a47,_0x385e7e)[_0x3033fd(0x380)];Object[_0x3033fd(0x374)](_0x45827e)[_0x3033fd(0x106)](_0x3f8364=>{const _0xd2d9e5=_0x3033fd;let _0x140a40=0x0;const _0x262cf2=_0x45827e[_0x3f8364];Object[_0xd2d9e5(0x374)](_0x262cf2)[_0xd2d9e5(0x106)](_0x14eb86=>{const _0x45db31=_0xd2d9e5,_0x148c4a=_0x262cf2[_0x14eb86];Object[_0x45db31(0x374)](_0x148c4a)[_0x45db31(0x106)](_0x3fcb18=>{const _0x61b7c0=_0x45db31,_0x31852d=_0x148c4a[_0x3fcb18];if(_0x31852d){if(_0x140a40>=_0x21f345)return;_0x140a40++;const _0x5bc6a1=this[_0x61b7c0(0x10f)](_0x3f8364),_0x1b3b8a=_0x5bc6a1[_0x61b7c0(0x2ea)][_0x3fcb18],_0x250965=_0x1b3b8a[_0x61b7c0(0xb1)]();let _0x39afec=0x0;const _0x1577c2=[];for(const _0x20db53 of _0x250965){const _0xf853d7=_0x1b3b8a[_0x61b7c0(0x324)](_0x20db53);if(_0x7d04ba[_0x61b7c0(0x378)](_0xf853d7)){const _0x5c92e7=_0xf853d7['getOriginFieldId'](),_0xb8da2c=_0x1b3b8a[_0x61b7c0(0x324)](_0x5c92e7);_0xb8da2c&&_0x1577c2[_0x61b7c0(0x373)]([_0xf853d7,_0xb8da2c]);continue;}_0x5bc6a1[_0x61b7c0(0x1e5)](_0x20db53,_0x31852d[_0x61b7c0(0x206)],_0x39afec),_0x39afec++;}_0x1577c2[_0x61b7c0(0x106)](([_0x12c421,_0x4c624c])=>{_0x12c421['refreshGroupField'](_0x4c624c);});const _0x5d0925=new _0x7d04ba[(_0x61b7c0(0x1fe))](_0x1b3b8a);_0x5d0925['fromJSON'](_0x31852d[_0x61b7c0(0xbf)]),this[_0x61b7c0(0x294)](_0x3f8364,_0x14eb86,_0x3fcb18,_0x5d0925,_0x31852d);const _0x343306=_0x5d0925[_0x61b7c0(0x25a)]();_0x25e57f['push']({'unitId':_0x3f8364,'subUnitId':_0x14eb86,'pivotTableId':_0x3fcb18,'view':_0x343306['toJSON'](),'pivotConfig':_0x31852d,'type':_0x3c03d6[_0x61b7c0(0xa2)]});const _0x3d8ac6=!!_0x5d0925[_0x61b7c0(0x393)](),_0x5044d7={'view':_0x343306,'pivotTableId':_0x3fcb18,'textInfo':this[_0x61b7c0(0x15d)](),'isEmpty':_0x3d8ac6,'targetCellInfo':_0x31852d[_0x61b7c0(0x22f)]};this['updateViewData'](_0x5044d7,!0x1);}});});});}_0x57f802&&Object[_0x3033fd(0x374)](_0x57f802)[_0x3033fd(0x106)](_0x438f38=>{const _0x1e428a=_0x3033fd,_0x5c3a53=this['getDataFieldManager'](_0x438f38);this[_0x1e428a(0x2e7)][_0x1e428a(0x369)](_0x5c3a53[_0x1e428a(0x2ea)]);}),this['_commandService'][_0x3033fd(0x3ae)](_0x391b59['id'],{'batch':_0x25e57f,'collectionConfig':_0x57f802},{'onlyLocal':!0x0});}[_0x45f501(0x240)](){const _0x3c2dcb=_0x45f501;this['disposeWithMe'](this[_0x3c2dcb(0x35c)][_0x3c2dcb(0x38f)]({'toJson':_0x53e445=>JSON['stringify'](this[_0x3c2dcb(0x19a)](_0x53e445)),'parseJson':_0x4eb264=>{if(!_0x4eb264)return{};try{return JSON['parse'](_0x4eb264);}catch{return{};}},'businesses':[_0xaebd85[_0x3c2dcb(0x192)][_0x3c2dcb(0x2a1)]],'pluginName':_0x513a85,'onLoad':(_0x193f81,_0x561732)=>{this['fromJSON'](_0x561732);},'onUnLoad':_0x230bd3=>{const _0x221c2d=_0x3c2dcb;this[_0x221c2d(0x1c1)](_0x230bd3);}}));}},_0x5bc0f5[_0x45f501(0x156)]=_0x2b7c00([_0x48fda5(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)])),_0x48fda5(0x1,_0xaebd85[_0x45f501(0x182)]),_0x48fda5(0x2,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x29d)])),_0x48fda5(0x3,_0xaebd85[_0x45f501(0x223)]),_0x48fda5(0x4,_0xaebd85[_0x45f501(0x2f7)]),_0x48fda5(0x5,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x286)]))],_0x5bc0f5['SheetsPivotDataSourceModel']);const _0x37104d={0x0:{0x0:{'v':'filter','s':_0x36789c}},0x2:{0x1:{'v':'','s':_0x36789c},0x2:{'v':'','s':_0x36789c},0x3:{'v':'column','s':_0x36789c},0x4:{'v':'','s':_0x36789c},0x5:{'v':'','s':_0x36789c}},0x3:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x4:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x5:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x6:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x7:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x8:{0x0:{'v':_0x45f501(0x2e0),'s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':_0x45f501(0x176),'s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x9:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xa:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xb:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xc:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xd:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}}},_0x2ca20a={'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':[]},_0x5377ee=(_0x5ebb84,_0x329bf0)=>{const _0x1f44cf=_0x45f501,_0x2bc901=new _0xaebd85[(_0x1f44cf(0x209))](),_0x1461fd=new _0xaebd85[(_0x1f44cf(0x209))](_0x37104d),{row:_0x539d6f,col:_0x5ac8ea}=_0x329bf0;_0x1461fd[_0x1f44cf(0x216)]((_0x3a34ac,_0x525fef,_0x153f99)=>{const _0x2e70e4=_0x1f44cf;let _0x145ee2='';_0x153f99['v']==='filter'?_0x145ee2=_0x5ebb84['filter']:_0x153f99['v']==='row'?_0x145ee2=_0x5ebb84['row']:_0x153f99['v']==='column'?_0x145ee2=_0x5ebb84[_0x2e70e4(0x34a)]:_0x153f99['v']==='values'&&(_0x145ee2=_0x5ebb84[_0x2e70e4(0x176)]),_0x2bc901[_0x2e70e4(0x1a7)](_0x3a34ac+_0x539d6f,_0x525fef+_0x5ac8ea,{..._0x153f99,'v':_0x145ee2});});const _0x4508a3=_0xaebd85[_0x1f44cf(0x1a6)][_0x1f44cf(0x1fb)](_0x2ca20a);return Object[_0x1f44cf(0x374)](_0x2ca20a)[_0x1f44cf(0x106)](_0x2d5e1b=>{const _0x429128=_0x1f44cf;_0x4508a3[_0x2d5e1b]=_0x2ca20a[_0x2d5e1b][_0x429128(0x258)](_0x2fcb1d=>({..._0x2fcb1d,'startRow':_0x2fcb1d[_0x429128(0x38c)]+_0x539d6f,'endRow':_0x2fcb1d['endRow']+_0x539d6f,'startColumn':_0x2fcb1d[_0x429128(0x212)]+_0x5ac8ea,'endColumn':_0x2fcb1d['endColumn']+_0x5ac8ea}));}),{'matrixCache':_0x2bc901,'rangesCache':_0x4508a3};};function _0x406ff8(_0x7da1f3,_0x1457db){const _0x157633=_0x45f501;let _0x590c20='';const _0x6d3636=this[_0x157633(0x15d)]();switch(_0x1457db){case _0x7d04ba[_0x157633(0x230)]['average']:_0x590c20=_0x6d3636[_0x157633(0x189)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x380)]:_0x590c20=_0x6d3636[_0x157633(0x1dc)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x2d6)]:_0x590c20=_0x6d3636[_0x157633(0x375)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x1d0)]:_0x590c20=_0x6d3636[_0x157633(0x39a)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x227)]:_0x590c20=_0x6d3636[_0x157633(0x105)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)]['product']:_0x590c20=_0x6d3636[_0x157633(0x3be)]+_0x7da1f3;break;case _0x7d04ba['PivotSubtotalTypeEnum'][_0x157633(0x222)]:_0x590c20=_0x6d3636['sheets-pivot.stdDevName']+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x245)]:_0x590c20=_0x6d3636['sheets-pivot.stdDevpName']+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x246)]:_0x590c20=_0x6d3636[_0x157633(0x353)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x2b8)]:_0x590c20=_0x6d3636[_0x157633(0x109)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x3a7)]:_0x590c20=_0x6d3636[_0x157633(0x26f)]+_0x7da1f3;break;default:_0x590c20=_0x7da1f3;break;}return _0x590c20;}function _0x4e5185(_0x5ccdde,_0x280ccf,_0x2433ad,_0x2d0076,_0x5cdc7f){const _0x4b65f0=_0x45f501;var _0x1b2632,_0x728bfc,_0x2ba4a6,_0x40151c,_0x31f34c;const _0x9e53c5=_0xaebd85['cellToRange'](_0x5ccdde,_0x280ccf),{rangesInfo:_0x594042,areaInfo:_0x4a62e1,headerMap:_0x4b4e21}=_0x5cdc7f;if(!_0x594042||!_0x4a62e1||!_0x4b4e21)return;const _0x2d0e73=Object[_0x4b65f0(0x374)](_0x594042)['find'](_0x4322d2=>_0x594042[_0x4322d2]['some'](_0x2ba279=>_0xaebd85[_0x4b65f0(0x1bf)]['contains'](_0x2ba279,_0x9e53c5))),_0x5dbc61=_0x4a62e1;let _0x214fde,_0x4e0d15,_0x4319a6;if(_0x2d0e73===_0x4b65f0(0x1a9))_0x214fde=(_0x1b2632=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x15e)])==null?void 0x0:_0x1b2632[_0x5ccdde],_0x4e0d15=(_0x728bfc=_0x4b4e21==null?void 0x0:_0x4b4e21[_0x4b65f0(0x1aa)])==null?void 0x0:_0x728bfc[_0x280ccf],_0x4319a6=_0x4e0d15==null?void 0x0:_0x4e0d15[_0x4b65f0(0x236)];else{if(_0x2d0e73===_0x4b65f0(0x30f))_0x214fde=(_0x2ba4a6=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x1b5)])==null?void 0x0:_0x2ba4a6[_0x280ccf],_0x4e0d15=(_0x40151c=_0x4b4e21[_0x4b65f0(0x133)])==null?void 0x0:_0x40151c[_0x5ccdde+0x1+_0x280ccf-_0x594042[_0x4b65f0(0x30f)][0x0][_0x4b65f0(0x212)]],_0x4319a6=_0x4e0d15==null?void 0x0:_0x4e0d15['tableFieldId'];else{if(_0x2d0e73===_0x4b65f0(0x352))_0x214fde=(_0x31f34c=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x20a)])==null?void 0x0:_0x31f34c[_0x280ccf],_0x4319a6=_0x214fde==null?void 0x0:_0x214fde[_0x4b65f0(0x236)];else{if(_0x2d0e73===_0x4b65f0(0x2a8)){const _0x4e0696=_0x2433ad==null?void 0x0:_0x2433ad['fi'];_0x4e0696!==void 0x0&&(_0x4319a6=_0x2d0076['getFilterFieldIdByIndex'](_0x4e0696));}}}}return{'filterId':_0x4319a6,'info':_0x214fde,'data':_0x2433ad,'headerInfo':_0x4e0d15};}function _0x342f43(_0x193fd8,_0x1daccc,_0x3313fa){const _0xa7c3a=_0x45f501,_0xcfbe76=_0x193fd8[_0xa7c3a(0x238)],_0x2b4289=_0xcfbe76[_0xa7c3a(0xb1)](),_0x4f1d29=new Set();_0x193fd8[_0xa7c3a(0x388)](_0x522516=>{const _0x11f68f=_0xa7c3a;_0x4f1d29[_0x11f68f(0x328)](_0x522516['dataFieldId']);});const _0x22b85c=_0x2b4289['map'](_0x389a41=>{const _0x182da8=_0xa7c3a,_0x566b65=_0xcfbe76[_0x182da8(0x324)](_0x389a41);return{'checked':_0x4f1d29[_0x182da8(0x32d)](_0x389a41),'dataFieldId':_0x566b65['id'],'id':_0x566b65['id'],'name':_0xcfbe76[_0x182da8(0x3bd)](_0x566b65['id']),'type':_0x566b65['getFieldDataType'](),'pivotTableId':_0x1daccc};}),_0xbfdf41=[];_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0xfb)],_0x453279=>{const _0x819ca6=_0xa7c3a;_0xbfdf41[_0x819ca6(0x373)]({'dataFieldId':_0x453279[_0x819ca6(0x2f9)],'tableFieldId':_0x453279[_0x819ca6(0x114)](),'displayName':_0x453279[_0x819ca6(0x3bd)]()});});const _0x24ac97=[];_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0x164)],_0x3a9391=>{const _0x4d4c91=_0xa7c3a;_0x24ac97[_0x4d4c91(0x373)]({'dataFieldId':_0x3a9391[_0x4d4c91(0x2f9)],'tableFieldId':_0x3a9391['getId'](),'displayName':_0x3a9391['getDisplayName']()});});const _0x2d22fb=[];if(_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)]['Value'],_0x33cf73=>{const _0x4c4fff=_0xa7c3a;_0x2d22fb[_0x4c4fff(0x373)]({'dataFieldId':_0x33cf73['dataFieldId'],'tableFieldId':_0x33cf73[_0x4c4fff(0x114)](),'displayName':_0x33cf73['getDisplayName'](),'format':_0x33cf73[_0x4c4fff(0x29c)](),'subTotalType':_0x33cf73[_0x4c4fff(0x1d6)]()});}),_0x2d22fb['length']>0x1){const _0x4cb5b9=_0x193fd8[_0xa7c3a(0x2d8)]();(_0x193fd8[_0xa7c3a(0x354)]()?_0x24ac97:_0xbfdf41)[_0xa7c3a(0xbe)](_0x4cb5b9,0x0,{'dataFieldId':'','tableFieldId':_0xa7c3a(0x2c4),'displayName':_0xa7c3a(0x14e)});}const _0x2e83f6=[];_0x193fd8['iterateFieldByArea'](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0x302)],_0x53dd12=>{const _0x164674=_0xa7c3a;_0x2e83f6[_0x164674(0x373)]({'dataFieldId':_0x53dd12[_0x164674(0x2f9)],'tableFieldId':_0x53dd12[_0x164674(0x114)](),'displayName':_0x53dd12[_0x164674(0x3bd)]()});});const _0x1f2acb=_0x3313fa[_0xa7c3a(0x206)];return{'sourceList':_0x22b85c,'sourceRange':_0x1f2acb,'rowFields':_0xbfdf41,'columnFields':_0x24ac97,'valueFields':_0x2d22fb,'filterFields':_0x2e83f6,'positionInfo':_0x3313fa[_0xa7c3a(0x22f)]};}function _0x1408c7(_0x498789,_0x2fdc7c,_0x241236='',_0x4c2839={}){const _0x515384=_0x45f501,_0x22d34d=_0x498789[_0x515384(0x185)](_0xaebd85[_0x515384(0x215)]);for(const _0x275b4e in _0x2fdc7c)if(Object['prototype'][_0x515384(0x32b)][_0x515384(0x110)](_0x2fdc7c,_0x275b4e)){const _0x1699bf=_0x241236?_0x241236+'.'+_0x275b4e:_0x275b4e;typeof _0x2fdc7c[_0x275b4e]=='object'&&_0x2fdc7c[_0x275b4e]!==null&&!Array['isArray'](_0x2fdc7c[_0x275b4e])?_0x1408c7(_0x498789,_0x2fdc7c[_0x275b4e],_0x1699bf,_0x4c2839):_0x4c2839[_0x1699bf]=_0x22d34d['t'](_0x1699bf);}return _0x4c2839;}const _0x109750=_0x46b327=>{const _0x153d72=_0x45f501;if(!_0x46b327)return[];const {rowRanges:_0x210830,colRanges:_0x274f84,cornerRanges:_0x24d148,dataRanges:_0x105a0e,pageRanges:_0x214e2f}=_0x46b327,_0x135c08=[..._0x274f84,..._0x210830,..._0x105a0e,..._0x24d148][_0x153d72(0xc6)](_0x2dad4f=>_0x2dad4f[_0x153d72(0x38c)]>=0x0&&_0x2dad4f[_0x153d72(0x212)]>=0x0&&_0x2dad4f[_0x153d72(0x2fd)]>=0x0&&_0x2dad4f[_0x153d72(0x1e3)]>=0x0);let _0x2f7658=Number[_0x153d72(0x31b)],_0x17bdc8=Number[_0x153d72(0x377)],_0x1c88da=Number[_0x153d72(0x31b)],_0x3610f4=Number['MIN_SAFE_INTEGER'];for(let _0x25b1d0=0x0;_0x25b1d0<_0x135c08['length'];_0x25b1d0++)_0x2f7658=Math[_0x153d72(0x227)](_0x2f7658,_0x135c08[_0x25b1d0][_0x153d72(0x38c)]),_0x17bdc8=Math['max'](_0x17bdc8,_0x135c08[_0x25b1d0]['endRow']),_0x1c88da=Math[_0x153d72(0x227)](_0x1c88da,_0x135c08[_0x25b1d0][_0x153d72(0x212)]),_0x3610f4=Math[_0x153d72(0x1d0)](_0x3610f4,_0x135c08[_0x25b1d0][_0x153d72(0x1e3)]);return[..._0x214e2f,{'startRow':_0x2f7658,'endRow':_0x17bdc8,'startColumn':_0x1c88da,'endColumn':_0x3610f4}];};function _0x57ddc5(_0x52b74a,_0x4dddc8){const _0x1a233d=_0x45f501,_0x2d4cd4=_0x4dddc8[_0x1a233d(0x140)][_0x1a233d(0x2d0)],{pivotTableId:_0x20c51a,unitId:_0x1a0d04,subUnitId:_0x57d247}=_0x4dddc8;if(!_0x2d4cd4)return;const _0xf6bebc=_0x52b74a[_0x1a233d(0x185)](_0x5bc0f5[_0x1a233d(0x156)]),_0x29482b=_0xf6bebc['getPivotTableInstance'](_0x20c51a),_0x4f4ce1=_0xf6bebc['getPivotTableConfig'](_0x1a0d04,_0x57d247,_0x20c51a);if(!_0x29482b||!_0x4f4ce1)return;const _0x394c30=_0x29482b[_0x1a233d(0x1bc)](_0x2d4cd4[_0x1a233d(0x15c)]);if(!(_0x394c30!=null&&_0x394c30['length']))return;const _0x275097=_0x4f4ce1[_0x1a233d(0x206)],{unitId:_0x382411,subUnitId:_0x17a3aa,range:_0x26aade}=_0x275097;let _0x17a667=0x0;const _0xbfca11=_0x29482b['dataFieldsCollection'][_0x1a233d(0xb1)]()[_0x1a233d(0x37d)]((_0x266017,_0x3cb3f4)=>{const _0x399269=_0x1a233d;var _0x1adb81;const _0x522635=(_0x1adb81=_0x29482b[_0x399269(0x1d4)](_0x3cb3f4))==null?void 0x0:_0x1adb81[_0x399269(0x155)]();return _0x522635&&(_0x266017[String(_0x17a667)]=_0x522635),_0x17a667++,_0x266017;},{});return{'indexes':_0x394c30,'range':_0x26aade,'sourceUnitId':_0x382411,'sourceSubUnitId':_0x17a3aa,'formatMap':_0xbfca11};}function _0x3b344d(_0x123ef7,_0x286b1e){const _0x17557c=_0x45f501;if(!_0x123ef7||!_0x286b1e)return!0x0;const _0x3f8b07=_0x800699[_0x17557c(0x1f0)](_0x51efbc,_0x1a9b4e),_0x4ace9b=new Function('return\x20'+_0x3f8b07)()(_0x123ef7,_0x286b1e)[_0x17557c(0x21c)],_0x3da4e4=_0x800699[_0x17557c(0x311)](_0x4ace9b,'sf',_0x264e12);return!((_0x4ace9b==null?void 0x0:_0x4ace9b['rt'])===_0x800699[_0x17557c(0x1de)][_0x17557c(0x141)]&&!_0x3da4e4);}function _0x32805f(_0x1e8e0a,_0x298cad,_0x2cb6be){const _0x13c14d=_0x45f501,_0x1d905e={'count':_0x1e8e0a,'timeValid':!0x1};if(!_0x298cad||!_0x2cb6be)return _0x1d905e;const _0x533db1=_0x800699[_0x13c14d(0x1f0)](_0x51efbc,_0x1a9b4e),_0x49f41b=new Function(_0x13c14d(0x14f)+_0x533db1)()(_0x298cad,_0x2cb6be);if(_0x49f41b!=null&&_0x49f41b[_0x13c14d(0x25c)]){const _0x35bc93=_0x49f41b[_0x13c14d(0x21c)],_0x1f21f3=_0x800699[_0x13c14d(0x311)](_0x35bc93,'sf',_0x264e12);return{'count':_0x800699[_0x13c14d(0x25b)](_0x35bc93,_0x1f21f3,'ptn',_0x1e8e0a,_0x1e8e0a,0x0),'timeValid':_0x1f21f3};}return _0x1d905e;}function _0xd7e43f(_0x41114c,_0x26026b,_0x5438c0,_0x2371fd){const _0x305d35=_0x45f501,_0x37226a={'subUnitId':_0x5438c0,'unitId':_0x26026b,'cellValue':_0x401092[_0x305d35(0x28a)](_0x2371fd)},_0x24b30d=_0x401092[_0x305d35(0x2dd)](_0x41114c,_0x37226a);let _0x39dac8=!0x1;return new _0xaebd85['ObjectMatrix'](_0x24b30d['cellValue'])[_0x305d35(0x216)]((_0x11aa2b,_0x3b8abe,_0x2e4718)=>{const _0x437a56=_0x305d35;if(!_0x39dac8&&_0x2e4718&&(_0x2e4718[_0x437a56(0x304)]||_0x2e4718['f']||_0x2e4718['p']||_0x2e4718['s']||_0x2e4718['si']||_0x2e4718['t']||_0x2e4718['v']))return _0x39dac8=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x401092[_0x305d35(0x11d)]['id'],'params':_0x24b30d},'setRangeValueRedoMutation':{'id':_0x401092[_0x305d35(0x11d)]['id'],'params':_0x37226a},'shouldClear':_0x39dac8};}function _0x3c77b0(_0xda1190){const {row:_0x261b23,col:_0x436fab}=_0xda1190,_0x1083ae={'startRow':_0x261b23,'endRow':_0x261b23,'startColumn':_0x436fab,'endColumn':_0x436fab},_0x3f0ebc={'startRow':_0x261b23+0x2,'endRow':_0x261b23+0xe,'startColumn':_0x436fab,'endColumn':_0x436fab+0x6};return[_0x1083ae,_0x3f0ebc];}function _0x26f726(_0x465896,_0xfcb722,_0x5ea155){const _0x11b7f9=_0x45f501,{cornerView:_0x59f501,rowView:_0x91afdd,colView:_0x39900f,pageView:_0x501f14}=_0x465896,{row:_0x27e3b3,col:_0x15d9c7}=_0xfcb722;if(_0x5ea155)return{'rowCount':_0x5d6c95+_0x27e3b3,'colCount':_0x51270e+_0x15d9c7};const _0x53f50d=_0x501f14['lastRow']>-0x1?_0x501f14[_0x11b7f9(0x205)]+0x1:0x0,_0x188c2a=_0x501f14[_0x11b7f9(0x22e)]>-0x1?_0x501f14[_0x11b7f9(0x22e)]:0x0,_0x56651f=_0x27e3b3+_0x53f50d+(_0x53f50d?0x1:0x0)+_0x59f501[_0x11b7f9(0x121)]+_0x91afdd[_0x11b7f9(0x121)],_0xe3d002=_0x15d9c7+_0x188c2a,_0x1fda72=_0x15d9c7+_0x59f501[_0x11b7f9(0x39b)]+_0x39900f[_0x11b7f9(0x39b)],_0x4eac06=Math[_0x11b7f9(0x1d0)](_0xe3d002,_0x1fda72);return{'rowCount':_0x56651f,'colCount':_0x4eac06};}function _0x42c249(_0x2d1138,_0xa3f6a4,_0x5d3297,_0x33ebe1){const _0x5af700=_0x45f501,{row:_0xbd58f0,col:_0x5b0813,unitId:_0x588b06,subUnitId:_0x196b60}=_0x5d3297,_0x36308e=_0x26f726(_0xa3f6a4,{'row':_0xbd58f0,'col':_0x5b0813},_0x33ebe1),_0x3cdc56=_0x2d1138[_0x5af700(0x185)](_0xaebd85[_0x5af700(0x182)]),_0x1fc2e9=_0x401092['getSheetCommandTarget'](_0x3cdc56,{'unitId':_0x588b06,'subUnitId':_0x196b60}),_0x57654f=[],_0x5e73ca=[];if(!_0x1fc2e9)return{'undos':_0x5e73ca,'redos':_0x57654f};const {worksheet:_0x1a4e60}=_0x1fc2e9,_0x4cab5a=_0x1a4e60['getRowCount'](),_0x53326e=_0x1a4e60[_0x5af700(0x31a)]();return _0x4cab5a<_0x36308e[_0x5af700(0x121)]&&(_0x57654f[_0x5af700(0x373)]({'id':_0x401092[_0x5af700(0x319)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':_0x4cab5a,'endRow':_0x36308e['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x53326e-0x1}}}),_0x5e73ca['push']({'id':_0x401092['RemoveRowMutation']['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':_0x4cab5a,'endRow':_0x36308e[_0x5af700(0x121)]-0x1,'startColumn':0x0,'endColumn':_0x53326e-0x1}}})),_0x53326e<_0x36308e[_0x5af700(0x39b)]&&(_0x57654f['push']({'id':_0x401092[_0x5af700(0x1e2)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':0x0,'endRow':_0x4cab5a-0x1,'startColumn':_0x53326e,'endColumn':_0x36308e[_0x5af700(0x39b)]-0x1}}}),_0x5e73ca[_0x5af700(0x373)]({'id':_0x401092[_0x5af700(0x33f)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':0x0,'endRow':_0x4cab5a-0x1,'startColumn':_0x53326e,'endColumn':_0x36308e[_0x5af700(0x39b)]-0x1}}})),{'undos':_0x5e73ca,'redos':_0x57654f};}function _0x52d9f2(_0xdd1913){const _0xd4f641=_0x45f501;let _0x6bb0f7=0x0;for(let _0x223fc1=0x0;_0x223fc1<_0xdd1913[_0xd4f641(0xa8)];_0x223fc1++){const _0x712f21=_0xdd1913[_0xd4f641(0x268)](_0x223fc1);_0x712f21>=0x4e00&&_0x712f21<=0x9fff||_0x712f21>=0x3000&&_0x712f21<=0x303f||_0x712f21>=0xff00&&_0x712f21<=0xffef?_0x6bb0f7+=0x2:_0x6bb0f7+=0x1;}return _0x6bb0f7;}function _0x5ca586(_0x4c920a,_0x4faf9b,_0x3960bf,_0x554e23){const _0x12c8c1=_0x45f501;var _0x308d18,_0x2202e8,_0x2a378b,_0x36533f;const {rowCount:_0x40ef3a,colCount:_0x2a12cb,headerMap:_0x26b7c6}=_0x4c920a,_0x2b59fb=0x64,_0x3f88d0=Math[_0x12c8c1(0x227)](_0x40ef3a,_0x2b59fb),_0x4228e9=Math[_0x12c8c1(0x227)](_0x2a12cb,_0x2b59fb);let _0x3f231d='',_0x307c5c=0x0;for(let _0x19c338=0x0;_0x19c338<_0x3f88d0;_0x19c338++)for(let _0x16f773=0x0;_0x16f773<_0x4228e9;_0x16f773++){const _0x3e25e3={...(_0x2202e8=(_0x308d18=_0x4c920a['data'])==null?void 0x0:_0x308d18[_0x19c338])==null?void 0x0:_0x2202e8[_0x16f773]},_0x1b541a=(_0x2a378b=_0x26b7c6[_0x19c338])==null?void 0x0:_0x2a378b[_0x12c8c1(0x236)],_0xae205f=_0x554e23[_0x1b541a];let _0x29193e=_0x4c920a[_0x12c8c1(0x247)](_0x19c338,_0x16f773);if(_0x3e25e3){const _0x1f8825=_0x3960bf?_0x16f773===0x0&&((_0x36533f=_0x4c920a['getHeaderMapItem'](_0x16f773+0x1))==null?void 0x0:_0x36533f[_0x12c8c1(0x256)]):!0x1;_0x29193e=_0x42a243(_0x3e25e3,_0x1f8825,_0xae205f,_0x4faf9b);}if(_0x29193e!==void 0x0){const _0x3c4b7c=_0x52d9f2(String(_0x29193e));_0x307c5c<_0x3c4b7c&&(_0x3f231d=String(_0x29193e),_0x307c5c=_0x3c4b7c);}}return _0x3f231d;}function _0x440f21(_0x4aecf9){const _0x9043cd=_0x45f501,{rowCount:_0x46510d,colCount:_0x1adff2}=_0x4aecf9;let _0xa4b8f1='',_0x1c5303=0x0;for(let _0x4efff6=_0x46510d-0x1;_0x4efff6>0x0&&_0x4efff6>_0x46510d-0x3;_0x4efff6--)for(let _0x22cd31=0x0;_0x22cd31<_0x1adff2;_0x22cd31++){const _0xb1cf0=_0x4aecf9[_0x9043cd(0x247)](_0x4efff6,_0x22cd31);if(_0xb1cf0!==void 0x0){const _0x1bffc2=String(_0xb1cf0)[_0x9043cd(0xa8)];_0x1c5303<_0x1bffc2&&(_0xa4b8f1=String(_0xb1cf0),_0x1c5303=_0x1bffc2);}}return _0xa4b8f1;}function _0x1954bf(_0x23b860){const _0x5b3b18=_0x45f501,{rowCount:_0x521147,colCount:_0x2b4c48}=_0x23b860;let _0x3a6cf6='',_0x11cffa=0x0;for(let _0x3c5e8d=0x0;_0x3c5e8d<_0x521147;_0x3c5e8d++)for(let _0x231e33=0x0;_0x231e33<_0x2b4c48;_0x231e33++){const _0x1cccf7=_0x23b860[_0x5b3b18(0x247)](_0x3c5e8d,_0x231e33);if(_0x1cccf7!==void 0x0){const _0x67d9fc=String(_0x1cccf7)['length'];_0x11cffa<_0x67d9fc&&(_0x3a6cf6=String(_0x1cccf7),_0x11cffa=_0x67d9fc);}}return _0x3a6cf6;}function _0x520673(_0x3b5bf8,_0x4f954d){const _0x4ba3fb=_0x45f501,{rowFields:_0x22bf34,columnFields:_0x9b6ded,valueFields:_0x248d19,filterFields:_0x5a47a1,dimension:_0x16a765,measure:_0x5bb84e}=_0x4f954d;for(const _0x5d7216 of _0x22bf34){const _0x49fc21=_0x16a765[_0x5d7216];_0x49fc21&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x49fc21[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x49fc21[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)][_0x4ba3fb(0xfb)],void 0x0,_0x5d7216),_0x49fc21[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x49fc21['id'],_0x49fc21['displayName']),_0x49fc21['sortInfo']&&_0x3b5bf8[_0x4ba3fb(0x330)](_0x49fc21['id'],_0x49fc21['sortInfo']),_0x49fc21[_0x4ba3fb(0xec)]&&_0x3b5bf8[_0x4ba3fb(0x19c)](_0x49fc21['id'],_0x49fc21[_0x4ba3fb(0xec)]));}for(const _0x278d39 of _0x9b6ded){const _0x5c0da3=_0x16a765[_0x278d39];_0x5c0da3&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x5c0da3[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x5c0da3['dataFieldId'],_0x7d04ba['PivotTableFiledAreaEnum'][_0x4ba3fb(0x164)],void 0x0,_0x278d39),_0x5c0da3[_0x4ba3fb(0x254)]&&_0x3b5bf8[_0x4ba3fb(0x330)](_0x5c0da3['id'],_0x5c0da3['sortInfo']),_0x5c0da3['filterInfo']&&_0x3b5bf8['setLabelFilterInfo'](_0x5c0da3['id'],_0x5c0da3[_0x4ba3fb(0xec)]),_0x5c0da3['displayName']&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x5c0da3['id'],_0x5c0da3[_0x4ba3fb(0x2c6)]));}for(const _0x4eea0b of _0x5a47a1){const _0x518092=_0x16a765[_0x4eea0b];_0x518092&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x518092[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x518092[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)][_0x4ba3fb(0x302)],void 0x0,_0x4eea0b),_0x518092[_0x4ba3fb(0x254)]&&_0x3b5bf8['setSortInfo'](_0x518092['id'],_0x518092['sortInfo']),_0x518092[_0x4ba3fb(0xec)]&&_0x3b5bf8['setLabelFilterInfo'](_0x518092['id'],_0x518092[_0x4ba3fb(0xec)]),_0x518092[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x518092['id'],_0x518092['displayName']));}for(const _0x2ed213 of _0x248d19){const _0x1634a6=_0x5bb84e[_0x2ed213];_0x1634a6&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x1634a6['dataFieldId'])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x1634a6[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)]['Value'],void 0x0,_0x2ed213),_0x1634a6['subtotal']!==void 0x0&&_0x3b5bf8[_0x4ba3fb(0x34e)](_0x2ed213,_0x1634a6['subtotal']),_0x1634a6[_0x4ba3fb(0x2ad)]&&_0x3b5bf8['setFieldFormat'](_0x2ed213,_0x1634a6[_0x4ba3fb(0x2ad)]),_0x1634a6[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x1634a6['id'],_0x1634a6['displayName']));}const _0x51c462=_0x4f954d[_0x4ba3fb(0x383)];for(const {fieldId:_0x4dff1c,filterInfo:_0x4b92ef}of _0x51c462)_0x3b5bf8['setValueFilterInfo'](_0x4dff1c,_0x4b92ef);}function _0x2d7e0c(_0x32456f,_0x5b2d98){const _0xefe416=_0x45f501,_0xe1d8a9=[];_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0xfb)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0xfb)],_0xdf92ae=>{const _0x376c6e=_0xefe416;_0xe1d8a9[_0x376c6e(0x373)](_0xdf92ae[_0x376c6e(0x114)]());}),_0x5b2d98===_0x7d04ba['PivotTableFiledAreaEnum'][_0xefe416(0x164)]&&_0x32456f['iterateFieldByArea'](_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x164)],_0x224f75=>{const _0xbad37b=_0xefe416;_0xe1d8a9[_0xbad37b(0x373)](_0x224f75[_0xbad37b(0x114)]());}),_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x302)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum']['Filter'],_0x636db6=>{const _0x44554=_0xefe416;_0xe1d8a9[_0x44554(0x373)](_0x636db6['getId']());}),_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x3a8)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum'][_0xefe416(0x3a8)],_0x341918=>{const _0x5e1dbc=_0xefe416;_0xe1d8a9[_0x5e1dbc(0x373)](_0x341918[_0x5e1dbc(0x114)]());}),_0x5b2d98===void 0x0&&_0x32456f['iterateField'](_0x1f27fd=>{const _0x4e3760=_0xefe416;_0xe1d8a9['push'](_0x1f27fd[_0x4e3760(0x114)]());});const _0x5c1bb2=_0xe1d8a9[_0xefe416(0xa8)];for(let _0xd03118=_0x5c1bb2-0x1;_0xd03118>=0x0;_0xd03118--)_0x32456f[_0xefe416(0x18c)](_0xe1d8a9[_0xd03118]);const _0x44b524=_0x32456f[_0xefe416(0x1cc)]();for(const _0x514028 in _0x44b524)_0x32456f[_0xefe416(0x2df)](_0x514028);}function _0xd41ced(_0x307508,_0x4feff2){const _0x3ef457=_0x45f501,_0x3fe08c=new Date(_0x7d04ba[_0x3ef457(0x16c)](_0x4feff2)),_0x5065e5=new Date(_0x7d04ba['excelDateToUnixMilliseconds'](_0x307508)),_0xe360f8=_0x3fe08c[_0x3ef457(0xf4)](),_0x37aee2=_0x5065e5[_0x3ef457(0xf4)](),_0x4c1e5d=_0x3fe08c['getMonth'](),_0x41e97d=_0x5065e5[_0x3ef457(0x18e)](),_0x3d2bc7=_0x3fe08c[_0x3ef457(0x2d4)](),_0x19976a=_0x5065e5[_0x3ef457(0x2d4)](),_0x10e82f=_0xe360f8===_0x37aee2,_0x2bdb81=_0x10e82f&&_0x4c1e5d===_0x41e97d;return _0x10e82f&&_0x2bdb81&&!(_0x2bdb81&&_0x3d2bc7===_0x19976a)?_0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3ef457(0x200)]:_0x10e82f&&!_0x2bdb81?_0x7d04ba[_0x3ef457(0x22c)][_0x3ef457(0x2d7)]:_0x7d04ba[_0x3ef457(0x22c)][_0x3ef457(0x2b1)];}function _0x419e11(_0x3eff66,_0x1641ef){const _0x5967f5=_0x45f501,_0x77e6d1=_0x3eff66[_0x5967f5(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x4d9938='';switch(_0x1641ef){case _0x7d04ba[_0x5967f5(0x22c)]['YearMonthDate']:_0x4d9938=_0x77e6d1[_0x5967f5(0x266)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x2d7)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x265)];break;case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x5967f5(0x2b1)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x3bf)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1c5)]:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.month'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x34b)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x174)];break;case _0x7d04ba[_0x5967f5(0x22c)]['Date']:_0x4d9938=_0x77e6d1[_0x5967f5(0x17b)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x129)]:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.hourMinute'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1a2)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x278)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x115)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x35b)];break;case _0x7d04ba['PivotDateGroupFieldDateTypeEnum']['MonthDate']:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.monthDate'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1bb)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x1b7)];break;default:_0x4d9938='';break;}return _0x4d9938;}const _0x504d7b=_0x45f501(0x116),_0x49d339={};var _0xbd718c=Object[_0x45f501(0x30e)],_0x5543a1=(_0x433f93,_0x51de23,_0x94806a,_0x2bb7cd)=>{for(var _0x52989a=_0x2bb7cd>0x1?void 0x0:_0x2bb7cd?_0xbd718c(_0x51de23,_0x94806a):_0x51de23,_0x5a69ff=_0x433f93['length']-0x1,_0x2de2aa;_0x5a69ff>=0x0;_0x5a69ff--)(_0x2de2aa=_0x433f93[_0x5a69ff])&&(_0x52989a=_0x2de2aa(_0x52989a)||_0x52989a);return _0x52989a;},_0x114e96=(_0x359bb4,_0x36361b)=>(_0xc48ba7,_0x512b3b)=>_0x36361b(_0xc48ba7,_0x512b3b,_0x359bb4);_0x5bc0f5['SheetsPivotTableConfigModel']=class extends _0xaebd85['Disposable']{constructor(_0x1d77bc,_0x1e1833,_0xf95a48,_0x12fcc2,_0x274ea4){const _0x2b4aeb=_0x45f501;super(),_0x1f3ba2(this,_0x2b4aeb(0x126),new Map()),_0x1f3ba2(this,_0x2b4aeb(0xe3),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x2d2),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x190),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x26d),new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,'_pivotInitCompleted$',new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,_0x2b4aeb(0x2c3),this[_0x2b4aeb(0x326)]['asObservable']()),_0x1f3ba2(this,'_pivotConfigChange$',new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,_0x2b4aeb(0x2f2),this[_0x2b4aeb(0x12e)][_0x2b4aeb(0x3ad)]()),_0x1f3ba2(this,_0x2b4aeb(0xfe),{}),_0x1f3ba2(this,_0x2b4aeb(0x1e1),this[_0x2b4aeb(0x26d)][_0x2b4aeb(0x3ad)]()),(this[_0x2b4aeb(0x307)]=_0x1d77bc,this[_0x2b4aeb(0x345)]=_0x1e1833,this[_0x2b4aeb(0x33e)]=_0xf95a48,this[_0x2b4aeb(0x35c)]=_0x12fcc2,this[_0x2b4aeb(0x36f)]=_0x274ea4,this[_0x2b4aeb(0x2eb)](),this[_0x2b4aeb(0xad)]());const _0x57e701=this[_0x2b4aeb(0x36f)][_0x2b4aeb(0x14a)](_0x504d7b);(_0x57e701==null?void 0x0:_0x57e701[_0x2b4aeb(0x2f5)])===!0x0&&this[_0x2b4aeb(0x240)]();}[_0x45f501(0xad)](){const _0x1028b0=_0x45f501;this[_0x1028b0(0x280)](this[_0x1028b0(0x33e)][_0x1028b0(0x3b6)](_0xaebd85['UniverInstanceType']['UNIVER_SHEET'])[_0x1028b0(0x396)](_0x10ef3e=>{const _0x7de25b=_0x1028b0;this['deleteUnitId'](_0x10ef3e[_0x7de25b(0x21b)]());}));}[_0x45f501(0x285)](){const _0x21010e=_0x45f501;this[_0x21010e(0x326)]['next'](!0x0);}[_0x45f501(0x2eb)](){const _0xe6550d=_0x45f501,_0x1ee2ad=_0x1408c7(this[_0xe6550d(0x307)],_0x1da8a3,'',{});this[_0xe6550d(0xfe)]=_0x1ee2ad,this[_0xe6550d(0x345)][_0xe6550d(0x3ae)](_0x4af3e0['id'],{'textInfo':_0x1ee2ad},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x1c0c8f=_0x45f501;return this[_0x1c0c8f(0xfe)];}['updateViewInfo'](_0x5ac565,_0x3b764b,_0x443ded,_0x9fa167,_0x4e1817){const _0x47ca9d=_0x45f501;this[_0x47ca9d(0x122)](_0x5ac565,_0x3b764b,_0x443ded,_0x9fa167),this[_0x47ca9d(0x2e1)](_0x5ac565,_0x3b764b,_0x443ded,_0x4e1817);}['getPivotTableConfig'](_0x3e6752,_0x4899b8,_0x1ab0c1){const _0x1840e0=_0x45f501;var _0x4aa47b;const _0x59954f=(_0x4aa47b=this['_model'][_0x1840e0(0x185)](_0x3e6752))==null?void 0x0:_0x4aa47b['get'](_0x4899b8);if(_0x59954f)return _0x59954f[_0x1840e0(0x185)](_0x1ab0c1);}[_0x45f501(0x2a4)](_0x4230b7,_0x4e873c){const _0x5b45af=_0x45f501,_0x307f3f=this['_model'][_0x5b45af(0x185)](_0x4230b7);if(_0x307f3f){for(const [_0x235b4e,_0x41a82f]of _0x307f3f[_0x5b45af(0x392)]())for(const [_0x3e09ce,_0x37736]of _0x41a82f[_0x5b45af(0x392)]())if(_0x3e09ce===_0x4e873c)return _0x37736[_0x5b45af(0x22f)];}}[_0x45f501(0x1b4)](_0xe60b04,_0x2667c7,_0x52beb7){const _0x5ee56b=_0x45f501,_0x461dea=this[_0x5ee56b(0x21f)](_0xe60b04,_0x2667c7,_0x52beb7);return _0x461dea==null?void 0x0:_0x461dea['targetCellInfo'];}[_0x45f501(0x21d)](_0x2d2a66,_0x5c0bac){const _0x315e47=_0x45f501;var _0x40fe1d;return(_0x40fe1d=this[_0x315e47(0x126)]['get'](_0x2d2a66))==null?void 0x0:_0x40fe1d[_0x315e47(0x185)](_0x5c0bac);}[_0x45f501(0x314)](_0x2b8398,_0x43b9e5,_0x2ebf53,_0x2773a8){const _0x5c94dc=_0x45f501,_0x361a03=this[_0x5c94dc(0x34c)](_0x2b8398,_0x43b9e5);_0x2773a8?_0x361a03[_0x5c94dc(0x94)](_0x2ebf53,_0x2773a8):_0x361a03[_0x5c94dc(0x226)](_0x2ebf53),this['_pivotConfigChange$'][_0x5c94dc(0x369)]({'unitId':_0x2b8398,'subUnitId':_0x43b9e5,'pivotTableId':_0x2ebf53,'pivotTableConfig':_0x2773a8});}[_0x45f501(0x300)](_0x35153b,_0x3e7cea){const _0x5ea316=_0x45f501;var _0x369f14;return(_0x369f14=this[_0x5ea316(0xe3)][_0x5ea316(0x185)](_0x35153b))==null?void 0x0:_0x369f14[_0x5ea316(0x2ea)][_0x3e7cea];}[_0x45f501(0x3b0)](_0x1bb866,_0x6ae512){const _0x51a2bd=_0x45f501;this['_collectionConfigModel'][_0x51a2bd(0x94)](_0x1bb866,_0x6ae512),this[_0x51a2bd(0x26d)][_0x51a2bd(0x369)](Math[_0x51a2bd(0x1ca)]());}['_ensurePivotMap'](_0x5757bb,_0x55dbb2){const _0x205d87=_0x45f501;let _0x3d8e36=this[_0x205d87(0x126)]['get'](_0x5757bb);_0x3d8e36||(_0x3d8e36=new Map(),this[_0x205d87(0x126)][_0x205d87(0x94)](_0x5757bb,_0x3d8e36));let _0x591292=_0x3d8e36[_0x205d87(0x185)](_0x55dbb2);return _0x591292||(_0x591292=new Map(),_0x3d8e36[_0x205d87(0x94)](_0x55dbb2,_0x591292)),_0x591292;}[_0x45f501(0x10e)](_0xc31d0b,_0xd91089){const _0x409522=_0x45f501;let _0x421010=this['_pivotTableRangeInfo'][_0x409522(0x185)](_0xc31d0b);_0x421010||(_0x421010=new Map(),this[_0x409522(0x2d2)]['set'](_0xc31d0b,_0x421010));let _0x3a2569=_0x421010[_0x409522(0x185)](_0xd91089);return _0x3a2569||(_0x3a2569=new Map(),_0x421010[_0x409522(0x94)](_0xd91089,_0x3a2569)),_0x3a2569;}[_0x45f501(0x22d)](_0xf85055,_0x5676bf){const _0x410b3a=_0x45f501;let _0x152e06=this['_pivotTableMatrixInfo'][_0x410b3a(0x185)](_0xf85055);_0x152e06||(_0x152e06=new Map(),this['_pivotTableMatrixInfo'][_0x410b3a(0x94)](_0xf85055,_0x152e06));let _0x193f09=_0x152e06[_0x410b3a(0x185)](_0x5676bf);return _0x193f09||(_0x193f09=new Map(),_0x152e06['set'](_0x5676bf,_0x193f09)),_0x193f09;}[_0x45f501(0x2e1)](_0x34f267,_0x2bd836,_0x17cd63,_0x2d1043){const _0xdc18ef=_0x45f501;var _0x438d33;const _0x3577b1=this['_ensurePivotTableRangeInfo'](_0x34f267,_0x2bd836),_0x35dbc8=(_0x438d33=_0x3577b1[_0xdc18ef(0x185)](_0x17cd63))==null?void 0x0:_0x438d33['oldRangeInfo'];_0x3577b1[_0xdc18ef(0x94)](_0x17cd63,{'oldRangeInfo':_0x35dbc8,'rangeInfo':_0x2d1043});}['updatePivotTableMatrixInfo'](_0x1067ff,_0x1da6f6,_0x28b4c3,_0x5d336f){const _0x2f9228=_0x45f501;var _0x53ef98;const _0x16a890=this['_ensurePivotTableMatrixInfo'](_0x1067ff,_0x1da6f6),_0x827bee=(_0x53ef98=_0x16a890[_0x2f9228(0x185)](_0x28b4c3))==null?void 0x0:_0x53ef98[_0x2f9228(0x2aa)];_0x16a890[_0x2f9228(0x94)](_0x28b4c3,{'oldMatrix':_0x827bee,'matrix':_0x5d336f});}[_0x45f501(0xb8)](_0x3a4b1d,_0x381f52,_0x1aedaa){const _0x26f8ce=_0x45f501;var _0x3bb46f,_0x2cdafa;return(_0x2cdafa=(_0x3bb46f=this[_0x26f8ce(0x2d2)][_0x26f8ce(0x185)](_0x3a4b1d))==null?void 0x0:_0x3bb46f['get'](_0x381f52))==null?void 0x0:_0x2cdafa['get'](_0x1aedaa);}[_0x45f501(0x24a)](_0x1d7703,_0x3d30fa,_0x41c112){const _0x2f7b22=_0x45f501;var _0x486dd4,_0xe1effe;return(_0xe1effe=(_0x486dd4=this['_pivotTableMatrixInfo'][_0x2f7b22(0x185)](_0x1d7703))==null?void 0x0:_0x486dd4[_0x2f7b22(0x185)](_0x3d30fa))==null?void 0x0:_0xe1effe[_0x2f7b22(0x185)](_0x41c112);}['deleteUnitId'](_0x46263b){const _0x43e7fc=_0x45f501;this[_0x43e7fc(0x126)][_0x43e7fc(0x226)](_0x46263b),this[_0x43e7fc(0xe3)][_0x43e7fc(0x226)](_0x46263b);}[_0x45f501(0xa3)](_0xb07cd9){const _0x32d85e=_0x45f501,_0x439a19={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x32d85e(0xe3)][_0x32d85e(0x185)](_0xb07cd9)&&(_0x439a19[_0x32d85e(0x219)][_0xb07cd9]=this[_0x32d85e(0xe3)][_0x32d85e(0x185)](_0xb07cd9)),this[_0x32d85e(0x126)][_0x32d85e(0x185)](_0xb07cd9)){_0x439a19[_0x32d85e(0xf2)][_0xb07cd9]={};const _0x23c7d6=this[_0x32d85e(0x126)][_0x32d85e(0x185)](_0xb07cd9);_0x23c7d6!=null&&_0x23c7d6[_0x32d85e(0x36e)]&&[..._0x23c7d6[_0x32d85e(0x374)]()]['forEach'](_0x4f5f4a=>{const _0xc5c157=_0x32d85e,_0x177e1d=_0x23c7d6[_0xc5c157(0x185)](_0x4f5f4a);_0x177e1d!=null&&_0x177e1d[_0xc5c157(0x36e)]&&(_0x439a19[_0xc5c157(0xf2)][_0xb07cd9][_0x4f5f4a]={},[..._0x177e1d[_0xc5c157(0x374)]()][_0xc5c157(0x106)](_0x546dab=>{const _0x58eb7f=_0xc5c157,_0xd39dd8=_0x177e1d[_0x58eb7f(0x185)](_0x546dab);_0xd39dd8&&(_0x439a19[_0x58eb7f(0xf2)][_0xb07cd9][_0x4f5f4a][_0x546dab]=_0xd39dd8);}));});}return _0x439a19;}[_0x45f501(0x240)](){const _0x229005=_0x45f501;this[_0x229005(0x280)](this['_resourceManagerService'][_0x229005(0x38f)]({'toJson':_0x35b9ee=>JSON['stringify'](this[_0x229005(0xa3)](_0x35b9ee)),'parseJson':_0x3b89d8=>({}),'businesses':[_0xaebd85['UniverInstanceType'][_0x229005(0x2a1)]],'pluginName':_0x513a85,'onLoad':(_0x2b74c0,_0x561d47)=>{},'onUnLoad':_0x5b6893=>{const _0x4206b6=_0x229005;this[_0x4206b6(0x1c1)](_0x5b6893);}}));}},_0x5bc0f5[_0x45f501(0x2c9)]=_0x5543a1([_0x114e96(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x114e96(0x1,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x2f7)])),_0x114e96(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x182)])),_0x114e96(0x3,_0xaebd85['Inject'](_0xaebd85['IResourceManagerService'])),_0x114e96(0x4,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x223)]))],_0x5bc0f5[_0x45f501(0x2c9)]);var _0x3aa256=Object['getOwnPropertyDescriptor'],_0x1c3d46=(_0xdf63d,_0xf8bf45,_0x1093b1,_0x485ed6)=>{const _0x1cbd84=_0x45f501;for(var _0x19baeb=_0x485ed6>0x1?void 0x0:_0x485ed6?_0x3aa256(_0xf8bf45,_0x1093b1):_0xf8bf45,_0x340159=_0xdf63d[_0x1cbd84(0xa8)]-0x1,_0x52248e;_0x340159>=0x0;_0x340159--)(_0x52248e=_0xdf63d[_0x340159])&&(_0x19baeb=_0x52248e(_0x19baeb)||_0x19baeb);return _0x19baeb;},_0xbabab5=(_0x3861a0,_0x3b05ef)=>(_0x22a6d2,_0x540e3d)=>_0x3b05ef(_0x22a6d2,_0x540e3d,_0x3861a0);_0x5bc0f5['SheetsPivotTableAdaptorModel']=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x9da805,_0x37f0b7,_0x1c4e77,_0x36d9dd,_0x49b468){const _0x5cbc97=_0x45f501;super(),_0x1f3ba2(this,_0x5cbc97(0x127),new Map()),_0x1f3ba2(this,'_pivotRenderValueMatrixCache',new Map()),_0x1f3ba2(this,_0x5cbc97(0xd6),new _0x4c50c4['Subject']()),_0x1f3ba2(this,'markDirty$',this[_0x5cbc97(0xd6)][_0x5cbc97(0x3ad)]()),_0x1f3ba2(this,_0x5cbc97(0x181),new _0x4c50c4[(_0x5cbc97(0x2a3))]()),_0x1f3ba2(this,_0x5cbc97(0x188),this[_0x5cbc97(0x181)][_0x5cbc97(0x3ad)]()),_0x1f3ba2(this,_0x5cbc97(0xfe)),(this['_localeService']=_0x9da805,this[_0x5cbc97(0x307)]=_0x37f0b7,this[_0x5cbc97(0x186)]=_0x1c4e77,this['_univerInstanceService']=_0x36d9dd,this[_0x5cbc97(0x1b8)]=_0x49b468,this['_initLocale'](),this[_0x5cbc97(0xad)]());}[_0x45f501(0xad)](){const _0x52a068=_0x45f501;this[_0x52a068(0x280)](this[_0x52a068(0x33e)]['getTypeOfUnitDisposed$'](_0xaebd85[_0x52a068(0x192)][_0x52a068(0x2a1)])[_0x52a068(0x396)](_0x29bdce=>{const _0x170ee1=_0x52a068;this[_0x170ee1(0x1c1)](_0x29bdce[_0x170ee1(0x21b)]());}));}[_0x45f501(0x2eb)](){const _0xb0918=_0x45f501;this[_0xb0918(0xfe)]=_0x1408c7(this[_0xb0918(0x307)],_0x1da8a3,'',{});}['updateRenderCache'](_0x463a38){const _0x4821a0=_0x45f501,{view:_0x5cf93a,unitId:_0x576747,subUnitId:_0xb9e879,pivotTableId:_0x31cfe8,type:_0x15f1ed}=_0x463a38,_0x1bfe76=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x576747,_0xb9e879,_0x31cfe8);if(!_0x5cf93a||!_0x1bfe76||_0x15f1ed===_0x3c03d6[_0x4821a0(0x178)])return;const {pageView:_0x1618f5,cornerView:_0x7bb496,rowView:_0x48a17b,colView:_0x3e5e3d,dataView:_0x418a97}=_0x5cf93a,_0x2d5e78=_0x1bfe76[_0x4821a0(0x22f)],_0x5f00ec=_0x1bfe76[_0x4821a0(0x393)],_0xef3ebb=this[_0x4821a0(0x275)](_0x576747,_0xb9e879),_0x5468b3=this[_0x4821a0(0x259)](_0x576747,_0xb9e879,_0x31cfe8);if(_0x5f00ec)return this[_0x4821a0(0x237)](_0x463a38,_0xef3ebb,_0x2d5e78,_0x5468b3);{const _0xe6a4a3=_0x6b001(_0x2d5e78,_0x1618f5,!0x0),_0x34eba8=_0x1618f5[_0x4821a0(0x205)]>=0x0?_0x1618f5[_0x4821a0(0x205)]+0x1:0x0,_0x10686f=_0x7bb496[_0x4821a0(0x16e)](),_0x17ff36=_0x7bb496[_0x4821a0(0x2b4)](),_0x38172a=_0xe6a4a3['length']>0x0?_0x32fbf9:0x0,_0x3b872b=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a,'col':_0x2d5e78['col']},_0x7bb496,!0x1,!0x1),_0x45055a=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a+_0x10686f,'col':_0x2d5e78['col']},_0x48a17b,!0x1,!0x0),_0x464432=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a,'col':_0x2d5e78[_0x4821a0(0x180)]+_0x17ff36},_0x3e5e3d,!0x1,!0x0),_0x5dd210=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a+_0x10686f,'col':_0x2d5e78[_0x4821a0(0x180)]+_0x17ff36},_0x418a97,!0x1,!0x1);_0x5468b3[_0x4821a0(0x28b)]={'rowRanges':_0x45055a,'colRanges':_0x464432,'cornerRanges':_0x3b872b,'dataRanges':_0x5dd210,'pageRanges':_0xe6a4a3};const _0x3d5cc3=_0x595c4d(this['_injector'],_0x5cf93a,_0x1bfe76,this[_0x4821a0(0xfe)]),{valueMatrix:_0x19c237,rowInfo:_0x45bb2d,colInfo:_0x3a676b,cornerInfo:_0x184f4b,rowHeaderMap:_0x86af00,colHeaderMap:_0xb0f2b4}=_0x3d5cc3;return _0x5468b3[_0x4821a0(0x28c)]={'rowInfo':_0x45bb2d,'colInfo':_0x3a676b,'cornerInfo':_0x184f4b},_0x5468b3['headerMap']={'rowHeaderMap':_0x86af00,'colHeaderMap':_0xb0f2b4},_0x19c237['forEach']((_0x283560,_0x501364)=>{const _0x110a2e=_0x4821a0;Object[_0x110a2e(0x374)](_0x501364)[_0x110a2e(0x106)](_0x565554=>{const _0xced024=_0x110a2e,_0x1ccb3d=+_0x565554,_0x1a7ee3=_0x19c237[_0xced024(0x247)](_0x283560,_0x1ccb3d);_0xef3ebb[_0xced024(0x1a7)](_0x283560,_0x1ccb3d,_0x1a7ee3);});}),this[_0x4821a0(0x181)][_0x4821a0(0x369)]({'unitId':_0x576747,'subUnitId':_0xb9e879,'valueMatrix':_0xef3ebb,'rangesCache':_0x5468b3[_0x4821a0(0x28b)],'pivotTableId':_0x31cfe8,'type':_0x463a38[_0x4821a0(0x376)]}),this[_0x4821a0(0x186)][_0x4821a0(0x1ac)](_0x576747,_0xb9e879,_0x31cfe8,_0xef3ebb,_0x5468b3[_0x4821a0(0x28b)]),this[_0x4821a0(0x1b8)][_0x4821a0(0xdc)](_0x576747,_0xb9e879,_0xd1b0ab,this[_0x4821a0(0x303)](_0x5468b3['rangesInfo'],_0x31cfe8)),{'rangeCache':_0x5468b3['rangesInfo'],'matrix':_0xef3ebb};}}[_0x45f501(0x237)](_0x5e9def,_0x4726ca,_0x2aa1c9,_0x488832){const _0x3dcd68=_0x45f501,_0x4a6f03=this[_0x3dcd68(0xe5)]['t'],{unitId:_0x38222b,subUnitId:_0x338cf0,pivotTableId:_0x211a63}=_0x5e9def,_0x24da82={'filter':_0x4a6f03(_0x3dcd68(0x2c2)),'row':_0x4a6f03(_0x3dcd68(0x2d5)),'column':_0x4a6f03(_0x3dcd68(0x179)),'values':_0x4a6f03(_0x3dcd68(0x2bc))},{matrixCache:_0x31f95d,rangesCache:_0xec324b}=_0x5377ee(_0x24da82,_0x2aa1c9);return _0x31f95d[_0x3dcd68(0x216)]((_0x2f61d7,_0x112db9,_0x550d17)=>{_0x4726ca['setValue'](_0x2f61d7,_0x112db9,_0x550d17);}),_0x488832[_0x3dcd68(0x28b)]=_0xec324b,this['_viewUpdate$'][_0x3dcd68(0x369)]({'unitId':_0x38222b,'subUnitId':_0x338cf0,'valueMatrix':_0x4726ca,'rangesCache':_0xec324b,'pivotTableId':_0x211a63,'type':_0x5e9def[_0x3dcd68(0x376)],'isEmpty':!0x0}),this[_0x3dcd68(0x186)][_0x3dcd68(0x1ac)](_0x38222b,_0x338cf0,_0x211a63,_0x4726ca,_0xec324b),this[_0x3dcd68(0x1b8)]['addExclusiveRange'](_0x38222b,_0x338cf0,_0xd1b0ab,this['_createExclusiveRange'](_0xec324b,_0x211a63)),{'rangeCache':_0x488832[_0x3dcd68(0x28b)],'matrix':_0x4726ca};}['_createExclusiveRange'](_0x2289fc,_0x15f103){const _0x87f917=_0x45f501,_0x1b0d11=[],_0x1fee70=_0x109750(_0x2289fc);for(const _0x2681e1 of _0x1fee70)_0x1b0d11[_0x87f917(0x373)]({'groupId':_0x15f103,'range':_0x2681e1});return _0x1b0d11;}[_0x45f501(0x103)](_0x59ceb0){const _0x26935e=_0x45f501;var _0x3edee7,_0x1667f7,_0x2fa205,_0x1515d;const {pivotTableId:_0x20e10b,unitId:_0xff5eec,subUnitId:_0x1075fd}=_0x59ceb0;if(!_0x20e10b||!_0xff5eec||!_0x1075fd)return;const _0x7a186b=this[_0x26935e(0x275)](_0xff5eec,_0x1075fd),_0x19052f=(_0x1667f7=(_0x3edee7=this[_0x26935e(0x127)][_0x26935e(0x185)](_0xff5eec))==null?void 0x0:_0x3edee7[_0x26935e(0x185)](_0x1075fd))==null?void 0x0:_0x1667f7[_0x26935e(0x185)](_0x20e10b);if(_0x19052f!=null&&_0x19052f[_0x26935e(0x28b)]){for(const _0x126f57 of Object[_0x26935e(0x374)](_0x19052f['rangesInfo']))_0x19052f[_0x26935e(0x28b)][_0x126f57][_0x26935e(0x106)](_0x453828=>{const _0x977327=_0x26935e;for(let _0x442419=_0x453828['startRow'];_0x442419<=_0x453828[_0x977327(0x2fd)];_0x442419++)for(let _0x30c32e=_0x453828[_0x977327(0x212)];_0x30c32e<=_0x453828['endColumn'];_0x30c32e++)_0x7a186b['realDeleteValue'](_0x442419,_0x30c32e);});}_0x19052f&&((_0x1515d=(_0x2fa205=this[_0x26935e(0x127)]['get'](_0xff5eec))==null?void 0x0:_0x2fa205[_0x26935e(0x185)](_0x1075fd))==null||_0x1515d['delete'](_0x20e10b)),this[_0x26935e(0x181)]['next']({'unitId':_0xff5eec,'subUnitId':_0x1075fd,'valueMatrix':_0x7a186b,'pivotTableId':_0x20e10b,'rangesCache':void 0x0,'type':_0x59ceb0[_0x26935e(0x376)]}),this[_0x26935e(0x1b8)][_0x26935e(0x18b)](_0xff5eec,_0x1075fd,_0xd1b0ab,_0x20e10b);}[_0x45f501(0x259)](_0x250eaf,_0x2d18f6,_0x583748){const _0x3f09aa=_0x45f501;var _0x4ee888,_0x2ef0ce,_0x3f3b0c,_0x2b3e26,_0x521ea7,_0xe546f7;return this[_0x3f09aa(0x127)][_0x3f09aa(0x32d)](_0x250eaf)||this[_0x3f09aa(0x127)][_0x3f09aa(0x94)](_0x250eaf,new Map()),(_0x4ee888=this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf))!=null&&_0x4ee888[_0x3f09aa(0x32d)](_0x2d18f6)||(_0x2ef0ce=this[_0x3f09aa(0x127)]['get'](_0x250eaf))==null||_0x2ef0ce['set'](_0x2d18f6,new Map()),(_0x2b3e26=(_0x3f3b0c=this['_pivotRenderInfoCache'][_0x3f09aa(0x185)](_0x250eaf))==null?void 0x0:_0x3f3b0c[_0x3f09aa(0x185)](_0x2d18f6))!=null&&_0x2b3e26[_0x3f09aa(0x32d)](_0x583748)||(_0xe546f7=(_0x521ea7=this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf))==null?void 0x0:_0x521ea7[_0x3f09aa(0x185)](_0x2d18f6))==null||_0xe546f7[_0x3f09aa(0x94)](_0x583748,{}),this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf)[_0x3f09aa(0x185)](_0x2d18f6)[_0x3f09aa(0x185)](_0x583748);}[_0x45f501(0x275)](_0x5209b5,_0xfb4a75){const _0x496e1d=_0x45f501;var _0x46fd2e,_0x1c4268;return this[_0x496e1d(0x2cb)][_0x496e1d(0x32d)](_0x5209b5)||this[_0x496e1d(0x2cb)]['set'](_0x5209b5,new Map()),(_0x46fd2e=this[_0x496e1d(0x2cb)][_0x496e1d(0x185)](_0x5209b5))!=null&&_0x46fd2e['has'](_0xfb4a75)||(_0x1c4268=this['_pivotRenderValueMatrixCache'][_0x496e1d(0x185)](_0x5209b5))==null||_0x1c4268[_0x496e1d(0x94)](_0xfb4a75,new _0xaebd85['ObjectMatrix']()),this['_pivotRenderValueMatrixCache'][_0x496e1d(0x185)](_0x5209b5)[_0x496e1d(0x185)](_0xfb4a75);}[_0x45f501(0x218)](_0x278f04,_0x1df0c6,_0x341143,_0x33be99){const _0x443b10=_0x45f501;var _0x1bd87e,_0x397fbd;const _0x5ed4a9=(_0x397fbd=(_0x1bd87e=this[_0x443b10(0x2cb)][_0x443b10(0x185)](_0x278f04))==null?void 0x0:_0x1bd87e[_0x443b10(0x185)](_0x1df0c6))==null?void 0x0:_0x397fbd['getValue'](_0x341143,_0x33be99);if(_0x5ed4a9!=null)return _0x5ed4a9;}['getPivotTableIdByCell'](_0x4b1da6,_0x393efb,_0x169546,_0x1009b3){const _0x365b4c=_0x45f501;var _0x394ab2;const _0x2cd6a8=_0xaebd85[_0x365b4c(0x3b5)](_0x169546,_0x1009b3),_0x2d465d=(_0x394ab2=this[_0x365b4c(0x127)][_0x365b4c(0x185)](_0x4b1da6))==null?void 0x0:_0x394ab2[_0x365b4c(0x185)](_0x393efb);return _0x2d465d?Array[_0x365b4c(0x3a3)](_0x2d465d['keys']())['find'](_0x1657cd=>{const _0x2f1bd0=_0x365b4c,_0x44f357=_0x2d465d[_0x2f1bd0(0x185)](_0x1657cd),_0x31bca9=_0x44f357==null?void 0x0:_0x44f357[_0x2f1bd0(0x28b)];return _0x31bca9?Object[_0x2f1bd0(0x374)](_0x31bca9)[_0x2f1bd0(0x263)](_0x1a6b22=>_0x31bca9[_0x1a6b22][_0x2f1bd0(0x263)](_0x3aa1ad=>_0xaebd85[_0x2f1bd0(0x1bf)][_0x2f1bd0(0x112)](_0x3aa1ad,_0x2cd6a8))):!0x1;}):void 0x0;}[_0x45f501(0x1b1)](_0x57218b,_0x4c0e83,_0x1fedc6){const _0x2eb35d=_0x45f501;var _0x489fa5;const _0x52ddb1=(_0x489fa5=this[_0x2eb35d(0x127)][_0x2eb35d(0x185)](_0x57218b))==null?void 0x0:_0x489fa5[_0x2eb35d(0x185)](_0x4c0e83),_0x374799=[];return _0x52ddb1&&Array[_0x2eb35d(0x3a3)](_0x52ddb1['keys']())[_0x2eb35d(0x106)](_0x18a1e8=>{const _0x3b77a0=_0x2eb35d,_0x32ce86=_0x52ddb1['get'](_0x18a1e8),_0x3ddbd4=_0x32ce86==null?void 0x0:_0x32ce86[_0x3b77a0(0x28b)];if(_0x3ddbd4)for(const _0x25daa2 of Object[_0x3b77a0(0x176)](_0x3ddbd4)){let _0x5367e7=!0x1;for(const _0x4c6075 of _0x25daa2)if(_0xaebd85[_0x3b77a0(0x1bf)][_0x3b77a0(0x1c8)](_0x4c6075,_0x1fedc6)){_0x374799[_0x3b77a0(0x373)](_0x18a1e8),_0x5367e7=!0x0;break;}if(_0x5367e7)break;}}),_0x374799;}[_0x45f501(0xe7)](_0x329093,_0xcddc60){const _0xd4d1f4=_0x45f501;var _0x209f2f,_0x3348ec;return(_0x3348ec=(_0x209f2f=this['_pivotRenderValueMatrixCache'][_0xd4d1f4(0x185)](_0x329093))==null?void 0x0:_0x209f2f['get'](_0xcddc60))!=null?_0x3348ec:new _0xaebd85[(_0xd4d1f4(0x209))]();}[_0x45f501(0x1ed)](_0x4ae790,_0x1edacb){const _0x532357=_0x45f501;var _0x3020b2;return(_0x3020b2=this[_0x532357(0x127)]['get'](_0x4ae790))==null?void 0x0:_0x3020b2[_0x532357(0x185)](_0x1edacb);}[_0x45f501(0x1c0)](_0x438376,_0x51179e,_0x4031ff){const _0x208371=_0x45f501;var _0x2923bf,_0x2905bd;return(_0x2905bd=(_0x2923bf=this[_0x208371(0x127)][_0x208371(0x185)](_0x438376))==null?void 0x0:_0x2923bf[_0x208371(0x185)](_0x51179e))==null?void 0x0:_0x2905bd[_0x208371(0x185)](_0x4031ff);}['deleteUnitId'](_0x499150){const _0x3f9def=_0x45f501;this[_0x3f9def(0x127)][_0x3f9def(0x226)](_0x499150),this[_0x3f9def(0x2cb)][_0x3f9def(0x226)](_0x499150);}[_0x45f501(0xa0)](_0x1ed789,_0x1d4b1c){const _0x401866=_0x45f501;this[_0x401866(0xd6)][_0x401866(0x369)]({'unitId':_0x1ed789,'subUnitId':_0x1d4b1c});}},_0x5bc0f5[_0x45f501(0x1c3)]=_0x1c3d46([_0xbabab5(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x215)])),_0xbabab5(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85['Injector'])),_0xbabab5(0x2,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)])),_0xbabab5(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85['IUniverInstanceService'])),_0xbabab5(0x4,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x292)]))],_0x5bc0f5[_0x45f501(0x1c3)]);var _0x101067=Object[_0x45f501(0x30e)],_0x189adb=(_0x5f71fc,_0x53bddb,_0x3c468d,_0x134c0e)=>{for(var _0x3283b2=_0x134c0e>0x1?void 0x0:_0x134c0e?_0x101067(_0x53bddb,_0x3c468d):_0x53bddb,_0x49da89=_0x5f71fc['length']-0x1,_0x1b365b;_0x49da89>=0x0;_0x49da89--)(_0x1b365b=_0x5f71fc[_0x49da89])&&(_0x3283b2=_0x1b365b(_0x3283b2)||_0x3283b2);return _0x3283b2;},_0x1ce371=(_0x16b85e,_0x284b0c)=>(_0x470560,_0x5cdd84)=>_0x284b0c(_0x470560,_0x5cdd84,_0x16b85e);_0x5bc0f5[_0x45f501(0x37f)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x390edb,_0x25f737){const _0x53a7ad=_0x45f501;super(),_0x1f3ba2(this,_0x53a7ad(0x235),new _0xaebd85[(_0x53a7ad(0x14d))]({'PIVOT_PERFORM_CHECK':_0x33c707})),_0x1f3ba2(this,_0x53a7ad(0x297),new _0xaebd85[(_0x53a7ad(0x1ba))]({'PIVOT_MUTATION_GENERATE':_0xe0920e})),(this[_0x53a7ad(0x3b2)]=_0x390edb,this[_0x53a7ad(0xd4)]=_0x25f737,this[_0x53a7ad(0x1f6)]());}[_0x45f501(0x1f6)](){this['_initViewModelBySheetInterceptor']();}[_0x45f501(0x360)](_0x3fd6c3){const _0x5cc71f=_0x45f501;return this[_0x5cc71f(0x235)][_0x5cc71f(0x1cd)](_0x33c707)(!0x1,_0x3fd6c3);}['_initViewModelBySheetInterceptor'](){const _0x3537bd=_0x45f501;this[_0x3537bd(0x280)](this['_sheetInterceptorService'][_0x3537bd(0x195)](_0x401092[_0x3537bd(0xe1)][_0x3537bd(0xf8)],{'priority':0xc8,'effect':_0xaebd85[_0x3537bd(0x321)]['Value']|_0xaebd85[_0x3537bd(0x321)][_0x3537bd(0x2e6)],'handler':(_0x5c0608,_0x19f0b6,_0x22dd08)=>{const _0x31b6e3=_0x3537bd,{row:_0x50619e,col:_0x4c3e8d,unitId:_0x2cdf2f,subUnitId:_0x2a774a,workbook:_0x2b7e02}=_0x19f0b6,_0x33b5a0=this[_0x31b6e3(0xd4)][_0x31b6e3(0x218)](_0x2cdf2f,_0x2a774a,_0x50619e,_0x4c3e8d);if(!_0x33b5a0)return _0x22dd08(_0x5c0608);const _0x2ae5fe={..._0x5c0608};(_0x33b5a0['v']||_0x33b5a0['v']===0x0)&&(_0x2ae5fe['v']=_0x33b5a0['v']),_0x33b5a0['t']&&(_0x2ae5fe['t']=_0x33b5a0['t']);const _0x28eded=(typeof(_0x5c0608==null?void 0x0:_0x5c0608['s'])=='string'?_0x2b7e02[_0x31b6e3(0x193)]()['get'](_0x5c0608==null?void 0x0:_0x5c0608['s']):_0x5c0608==null?void 0x0:_0x5c0608['s'])||{},_0x288612=_0x2b7e02[_0x31b6e3(0x193)]()['get'](_0x33b5a0['s']),_0x139983={..._0x288612,..._0x28eded};_0x288612!=null&&_0x288612['n']&&(_0x139983['n']=_0x288612['n']);const _0x3bae38=_0x2b7e02[_0x31b6e3(0x193)]()['setValue'](_0x139983);return _0x2ae5fe['s']=_0x3bae38,(_0x33b5a0[_0x31b6e3(0xdb)]===_0x7d04ba['PivotCellStyleTypeEnum'][_0x31b6e3(0x1dd)]||_0x33b5a0['pbt']===_0x7d04ba[_0x31b6e3(0x24d)]['Expand'])&&(_0x2ae5fe[_0x31b6e3(0xb0)]={},_0x2ae5fe[_0x31b6e3(0xb0)][_0x31b6e3(0x11a)]=_0x1fcff3),_0x22dd08(_0x2ae5fe);}}));}},_0x5bc0f5[_0x45f501(0x37f)]=_0x189adb([_0x1ce371(0x0,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x1ce371(0x1,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x1c3)]))],_0x5bc0f5['SheetsPivotTableService']);function _0x2de8eb(_0x112f97,_0x3872ac){const _0x420e24=_0x45f501;switch(_0x3872ac){case _0x7d04ba[_0x420e24(0x39c)][_0x420e24(0x3a8)]:return _0x112f97[_0x420e24(0x1f3)];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0x302)]:return _0x112f97['filterFields'];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0xfb)]:return _0x112f97[_0x420e24(0xd5)];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0x164)]:return _0x112f97[_0x420e24(0x194)];default:return[];}}function _0x424706(_0x466594,_0x56738e){const _0x17d085=_0x45f501;return _0x466594['measure'][_0x56738e]||_0x466594[_0x17d085(0xff)][_0x56738e];}function _0xe9275b(_0x5a4767,_0x20dafb){const _0x51b0b9=_0x45f501,{area:_0x102e94,fieldJson:_0x4e6a01,index:_0x859b3f}=_0x20dafb;_0x102e94===_0x7d04ba[_0x51b0b9(0x39c)][_0x51b0b9(0x3a8)]?_0x5a4767[_0x51b0b9(0x11e)][_0x4e6a01['id']]=_0x4e6a01:_0x5a4767[_0x51b0b9(0xff)][_0x4e6a01['id']]=_0x4e6a01,_0x2de8eb(_0x5a4767,_0x102e94)[_0x51b0b9(0xbe)](_0x859b3f,0x0,_0x4e6a01['id']);}function _0xb932af(_0x3de354,_0x2813b4){const _0x15c69d=_0x45f501,{area:_0xce84c9,fieldId:_0x410440,index:_0x1dbfc9}=_0x2813b4;_0xce84c9===_0x7d04ba['PivotTableFiledAreaEnum']['Value']?delete _0x3de354[_0x15c69d(0x11e)][_0x410440]:delete _0x3de354['dimension'][_0x410440],_0x2de8eb(_0x3de354,_0xce84c9)[_0x15c69d(0xbe)](_0x1dbfc9,0x1);}function _0x5d6ae2(_0x23a425,_0x15d28a){const {fieldId:_0x5e5fa1,name:_0x321753}=_0x15d28a,_0xd633db=_0x424706(_0x23a425,_0x5e5fa1);_0xd633db&&(_0xd633db['displayName']=_0x321753);}function _0x3a204e(_0x41b7ec,_0x4b5960){const _0xa86202=_0x45f501,{fieldId:_0x5c76a0,collapse:_0x377db8,item:_0xb4a0a4}=_0x4b5960;_0xb4a0a4!==void 0x0?(_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]=_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]||{},_0x41b7ec['collapseInfo'][_0x5c76a0][_0xb4a0a4]=_0x377db8):_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]=_0x377db8;}function _0x315641(_0x46e960,_0x25ea82){const _0x2bed2e=_0x45f501,{fieldId:_0x51a82c,format:_0x1b0da7}=_0x25ea82,_0x312bbe=_0x424706(_0x46e960,_0x51a82c);_0x312bbe&&(_0x312bbe[_0x2bed2e(0x2ad)]=_0x1b0da7);}function _0x4ade57(_0x104e70,_0x561d64){const _0x119c6f=_0x45f501,{fieldId:_0x1c27cb,filterInfo:_0x4f845f}=_0x561d64,_0x3badcd=_0x424706(_0x104e70,_0x1c27cb);_0x3badcd&&(_0x3badcd[_0x119c6f(0xec)]=_0x4f845f);}function _0x1b9162(_0x4c7380,_0x3c72e8){const _0x54d41b=_0x45f501,{fieldId:_0x224ccb,filterInfo:_0x1226b6}=_0x3c72e8,_0x2cf658=_0x4c7380[_0x54d41b(0x383)][_0x54d41b(0xc6)](_0x2829d8=>_0x2829d8[_0x54d41b(0x343)]!==_0x224ccb);_0x1226b6&&_0x2cf658[_0x54d41b(0x373)]({'fieldId':_0x224ccb,'filterInfo':_0x1226b6}),_0x4c7380['valueFilter']=_0x2cf658;}function _0x32a501(_0x26cce2,_0x94628c){const _0x15423e=_0x45f501,{fieldId:_0x461837,subtotalType:_0xaad031}=_0x94628c,_0x2243fe=_0x424706(_0x26cce2,_0x461837);_0x2243fe&&(_0x2243fe[_0x15423e(0x2f8)]=_0xaad031);}function _0x54185e(_0x1a5f92,_0x11411b){const _0x2f79a6=_0x45f501,{fieldId:_0x35ded2,oldArea:_0x372ea6,area:_0x3327d4,oldIndex:_0x1b32e3,index:_0x5dd90b}=_0x11411b,_0x24320a=_0x372ea6!==_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)]&&_0x3327d4===_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)],_0x148234=_0x372ea6===_0x7d04ba[_0x2f79a6(0x39c)]['Value']&&_0x3327d4!==_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)];if(_0x24320a||_0x148234){const _0x3ff229=_0x424706(_0x1a5f92,_0x35ded2);_0x3ff229&&(_0x24320a?(delete _0x1a5f92[_0x2f79a6(0xff)][_0x35ded2],_0x1a5f92[_0x2f79a6(0x11e)][_0x35ded2]=_0x3ff229):(delete _0x1a5f92[_0x2f79a6(0x11e)][_0x35ded2],_0x1a5f92['dimension'][_0x35ded2]=_0x3ff229));}const _0x2c604f=_0x2de8eb(_0x1a5f92,_0x372ea6),_0x341713=_0x2de8eb(_0x1a5f92,_0x3327d4);_0x2c604f[_0x2f79a6(0xbe)](_0x1b32e3,0x1),_0x341713[_0x2f79a6(0xbe)](_0x5dd90b,0x0,_0x35ded2);}function _0x4abe78(_0x1e6967,_0xc56b7f){const _0x3867d2=_0x45f501,{valuePosition:_0x3eeaff,index:_0xa03e63}=_0xc56b7f;_0x1e6967['valuePosition']=_0x3eeaff,_0x1e6967[_0x3867d2(0x167)]=_0xa03e63;}function _0x4bb8c2(_0x15cedb,_0x43b8d2){const _0x48e6e2=_0x45f501,{tableFieldId:_0x2c66c9,sourceName:_0x13a40c,dataFieldId:_0xaaf53d}=_0x43b8d2,_0x4bdc7e=_0x424706(_0x15cedb,_0x2c66c9);_0x4bdc7e&&(_0x4bdc7e['sourceName']=_0x13a40c,_0x4bdc7e[_0x48e6e2(0x2f9)]=_0xaaf53d);}function _0x154c1c(_0x3e4faa,_0xc8b930){const {fieldId:_0x2dee53,sortInfo:_0x40b49c}=_0xc8b930,_0x33830a=_0x424706(_0x3e4faa,_0x2dee53);_0x33830a&&(_0x33830a['sortInfo']=_0x40b49c);}function _0x231f58(_0x401c0d,_0x1aff72){const _0x2245e6=_0x45f501,{options:_0x3a76b9}=_0x1aff72;_0x401c0d[_0x2245e6(0x30d)]={..._0x401c0d[_0x2245e6(0x30d)],..._0x3a76b9};}const _0x2cda78={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x349),'handler'(_0x22d6cb,_0x2b416b){const _0x2a334b=_0x45f501;if(!_0x2b416b)return!0x1;if(!!_0x22d6cb['get'](_0xaebd85['IConfigService'])[_0x2a334b(0x14a)](_0x5e7272))return!0x0;const _0x2e7cee=_0x22d6cb[_0x2a334b(0x185)](_0x5bc0f5[_0x2a334b(0x156)]),{pivotTableId:_0x8ced4a,fieldJson:_0x54df2d,area:_0x39c15f,index:_0x1791bb,unitId:_0x49337e,subUnitId:_0x4d98e8}=_0x2b416b,_0x2773e8=_0x2e7cee[_0x2a334b(0x93)](_0x8ced4a);if(!_0x2773e8)return!0x1;let _0x5c5143;_0x39c15f===_0x7d04ba[_0x2a334b(0x39c)][_0x2a334b(0x3a8)]?_0x5c5143=_0x7d04ba['createValueField'](_0x54df2d):_0x5c5143=_0x7d04ba[_0x2a334b(0x298)](_0x54df2d),_0x2773e8['addField'](_0x5c5143,_0x39c15f,_0x1791bb);const _0x9546a3=_0x2e7cee[_0x2a334b(0x394)](_0x49337e,_0x4d98e8,_0x8ced4a);_0xe9275b(_0x9546a3,_0x2b416b);const _0x1804a4=_0x2e7cee[_0x2a334b(0x21f)](_0x49337e,_0x4d98e8,_0x8ced4a);return _0x2e7cee[_0x2a334b(0x29f)]({'unitId':_0x49337e,'subUnitId':_0x4d98e8,'token':_0x8ced4a,'type':_0x3c03d6['Set'],'pivotConfig':_0x1804a4}),!0x0;}},_0x3e9720={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x2ed),'handler'(_0x7c22fe,_0x642a26){const _0x5be1db=_0x45f501;if(!_0x642a26)return!0x1;if(!!_0x7c22fe[_0x5be1db(0x185)](_0xaebd85[_0x5be1db(0x223)])[_0x5be1db(0x14a)](_0x5e7272))return!0x0;const _0x379008=_0x7c22fe[_0x5be1db(0x185)](_0x5bc0f5[_0x5be1db(0x156)]),{pivotTableId:_0x578c71,fieldId:_0x2815d1,unitId:_0x2e7bbf,subUnitId:_0x42ab69}=_0x642a26,_0x5e72db=_0x379008[_0x5be1db(0x93)](_0x578c71);if(!_0x5e72db)return!0x1;_0x5e72db['removeField'](_0x2815d1);const _0x50fe5c=_0x379008[_0x5be1db(0x394)](_0x2e7bbf,_0x42ab69,_0x578c71);_0xb932af(_0x50fe5c,_0x642a26);const _0x153f2a=_0x379008[_0x5be1db(0x21f)](_0x2e7bbf,_0x42ab69,_0x578c71);return _0x379008['addDirtyPivotTable']({'unitId':_0x2e7bbf,'subUnitId':_0x42ab69,'token':_0x578c71,'type':_0x3c03d6[_0x5be1db(0x1b6)],'pivotConfig':_0x153f2a}),!0x0;}},_0x24c0ca={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x3c3023,_0x241b0c){const _0x20a256=_0x45f501;if(!_0x241b0c)return!0x1;if(!!_0x3c3023[_0x20a256(0x185)](_0xaebd85[_0x20a256(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x3a693c=_0x3c3023[_0x20a256(0x185)](_0x5bc0f5[_0x20a256(0x156)]),{unitId:_0x1be131,subUnitId:_0x38cd77,pivotTableId:_0x2e2741,fieldId:_0xb708ae,name:_0x563771}=_0x241b0c,_0x57a5ad=_0x3a693c[_0x20a256(0x93)](_0x2e2741);if(!_0x57a5ad)return!0x1;_0x57a5ad[_0x20a256(0x191)](_0xb708ae,_0x563771);const _0x143aa4=_0x3a693c[_0x20a256(0x394)](_0x1be131,_0x38cd77,_0x2e2741);return _0x5d6ae2(_0x143aa4,_0x241b0c),_0x3a693c[_0x20a256(0x29f)]({'unitId':_0x1be131,'subUnitId':_0x38cd77,'token':_0x2e2741,'type':_0x3c03d6[_0x20a256(0x1b6)]}),!0x0;}},_0x480282={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x28f),'handler'(_0x562d53,_0x4eb72e){const _0x2b8903=_0x45f501;if(!_0x4eb72e)return!0x1;if(!!_0x562d53[_0x2b8903(0x185)](_0xaebd85[_0x2b8903(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x1c0264=_0x562d53[_0x2b8903(0x185)](_0x5bc0f5[_0x2b8903(0x156)]),{unitId:_0x24e6e8,subUnitId:_0x272aaf,pivotTableId:_0x4ac00f,fieldId:_0x6434c9,collapse:_0x2fe86e,item:_0x2fad89}=_0x4eb72e,_0x492375=_0x1c0264[_0x2b8903(0x93)](_0x4ac00f);if(!_0x492375)return!0x1;_0x492375['setCollapse'](_0x6434c9,_0x2fe86e,_0x2fad89);const _0x2ec333=_0x1c0264[_0x2b8903(0x394)](_0x24e6e8,_0x272aaf,_0x4ac00f);return _0x3a204e(_0x2ec333,_0x4eb72e),_0x1c0264[_0x2b8903(0x29f)]({'unitId':_0x24e6e8,'subUnitId':_0x272aaf,'token':_0x4ac00f,'type':_0x3c03d6[_0x2b8903(0x1b6)]}),!0x0;}},_0x4a253d={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x143),'handler'(_0x23d1d1,_0x5b8c95){const _0x1cebca=_0x45f501;if(!_0x5b8c95)return!0x1;if(!!_0x23d1d1[_0x1cebca(0x185)](_0xaebd85['IConfigService'])[_0x1cebca(0x14a)](_0x5e7272))return!0x0;const _0x224bba=_0x23d1d1[_0x1cebca(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']),{unitId:_0x5dbab7,subUnitId:_0x275c47,pivotTableId:_0x1746dc,fieldId:_0x5b383e,format:_0x3a11ab}=_0x5b8c95,_0x42c808=_0x224bba['getPivotTableInstance'](_0x1746dc);if(!_0x42c808)return!0x1;_0x42c808[_0x1cebca(0x323)](_0x5b383e,_0x3a11ab);const _0x59d484=_0x224bba['getPivotTableModelConfig'](_0x5dbab7,_0x275c47,_0x1746dc);return _0x315641(_0x59d484,_0x5b8c95),_0x224bba[_0x1cebca(0x29f)]({'unitId':_0x5dbab7,'subUnitId':_0x275c47,'token':_0x1746dc,'type':_0x3c03d6[_0x1cebca(0x1b6)]}),!0x0;}},_0x1aea10={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x260),'handler'(_0x2eacfe,_0x43f77e){const _0x37219b=_0x45f501;if(!_0x43f77e)return!0x1;if(!!_0x2eacfe['get'](_0xaebd85[_0x37219b(0x223)])[_0x37219b(0x14a)](_0x5e7272))return!0x0;const _0x286c11=_0x2eacfe[_0x37219b(0x185)](_0x5bc0f5[_0x37219b(0x156)]),{unitId:_0x12684e,subUnitId:_0x1e90cc,pivotTableId:_0x2ea327,fieldId:_0x181df6,filterInfo:_0x4214d1}=_0x43f77e,_0xbd7537=_0x286c11[_0x37219b(0x93)](_0x2ea327);if(!_0xbd7537)return!0x1;_0xbd7537[_0x37219b(0x19c)](_0x181df6,_0x4214d1);const _0x126750=_0x286c11['getPivotTableModelConfig'](_0x12684e,_0x1e90cc,_0x2ea327);return _0x4ade57(_0x126750,_0x43f77e),_0x286c11[_0x37219b(0x29f)]({'unitId':_0x12684e,'subUnitId':_0x1e90cc,'token':_0x2ea327,'type':_0x3c03d6[_0x37219b(0x1b6)]}),!0x0;}},_0x203a31={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x2b0),'handler'(_0x2a4dbd,_0x49a800){const _0x4a9196=_0x45f501;if(!_0x49a800)return!0x1;if(!!_0x2a4dbd['get'](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x401b5a=_0x2a4dbd[_0x4a9196(0x185)](_0x5bc0f5[_0x4a9196(0x156)]),{unitId:_0x50f533,subUnitId:_0x30bd68,pivotTableId:_0x12cddb,options:_0x1ee336}=_0x49a800,_0x812f07=_0x401b5a[_0x4a9196(0x93)](_0x12cddb);if(!_0x812f07)return!0x1;_0x812f07['setOptions'](_0x1ee336);const _0x470cd3=_0x401b5a[_0x4a9196(0x394)](_0x50f533,_0x30bd68,_0x12cddb);return _0x231f58(_0x470cd3,_0x49a800),_0x401b5a[_0x4a9196(0x29f)]({'unitId':_0x50f533,'subUnitId':_0x30bd68,'token':_0x12cddb,'type':_0x3c03d6[_0x4a9196(0x1b6)]}),!0x0;}},_0x3fecaa={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x1f7),'handler'(_0x317f55,_0x171813){const _0x2aa3af=_0x45f501;if(!_0x171813)return!0x1;if(!!_0x317f55[_0x2aa3af(0x185)](_0xaebd85[_0x2aa3af(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x4a862a=_0x317f55[_0x2aa3af(0x185)](_0x5bc0f5[_0x2aa3af(0x156)]),{unitId:_0x44b5bc,subUnitId:_0x633bec,pivotTableId:_0x5b1b20,sortInfo:_0x58e20e,fieldId:_0x5133f3}=_0x171813,_0x2feba0=_0x4a862a['getPivotTableInstance'](_0x5b1b20);if(!_0x2feba0)return!0x1;_0x2feba0['setSortInfo'](_0x5133f3,_0x58e20e);const _0x38ae04=_0x4a862a[_0x2aa3af(0x394)](_0x44b5bc,_0x633bec,_0x5b1b20);return _0x154c1c(_0x38ae04,_0x171813),_0x4a862a['addDirtyPivotTable']({'unitId':_0x44b5bc,'subUnitId':_0x633bec,'token':_0x5b1b20,'type':_0x3c03d6[_0x2aa3af(0x1b6)]}),!0x0;}},_0x41b531={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x334),'handler'(_0x523ddb,_0x7852e){const _0x1e7230=_0x45f501;if(!_0x7852e)return!0x1;if(!!_0x523ddb[_0x1e7230(0x185)](_0xaebd85[_0x1e7230(0x223)])[_0x1e7230(0x14a)](_0x5e7272))return!0x0;const _0x99b049=_0x523ddb['get'](_0x5bc0f5[_0x1e7230(0x156)]),{unitId:_0x54abb7,subUnitId:_0xd4c2ef,pivotTableId:_0xfbd5ff,fieldId:_0x1d3138,subtotalType:_0x369571}=_0x7852e,_0x4332b5=_0x99b049[_0x1e7230(0x93)](_0xfbd5ff);if(!_0x4332b5)return!0x1;_0x4332b5[_0x1e7230(0x34e)](_0x1d3138,_0x369571);const _0x4c8765=_0x99b049['getPivotTableModelConfig'](_0x54abb7,_0xd4c2ef,_0xfbd5ff);return _0x32a501(_0x4c8765,_0x7852e),_0x99b049[_0x1e7230(0x29f)]({'unitId':_0x54abb7,'subUnitId':_0xd4c2ef,'token':_0xfbd5ff,'type':_0x3c03d6[_0x1e7230(0x1b6)]}),!0x0;}},_0x8a8125={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x267c2a,_0x418b78){const _0xd369a9=_0x45f501;if(!_0x418b78)return!0x1;if(!!_0x267c2a[_0xd369a9(0x185)](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x482e62=_0x267c2a[_0xd369a9(0x185)](_0x5bc0f5[_0xd369a9(0x156)]),{unitId:_0x1f90e0,subUnitId:_0x22d028,pivotTableId:_0xbadc7b,fieldId:_0x497275,filterInfo:_0xca2017}=_0x418b78,_0x25b6b9=_0x482e62[_0xd369a9(0x93)](_0xbadc7b);if(!_0x25b6b9)return!0x1;_0x25b6b9['setValueFilterInfo'](_0x497275,_0xca2017);const _0x5dbb01=_0x482e62['getPivotTableModelConfig'](_0x1f90e0,_0x22d028,_0xbadc7b);return _0x1b9162(_0x5dbb01,_0x418b78),_0x482e62['addDirtyPivotTable']({'unitId':_0x1f90e0,'subUnitId':_0x22d028,'token':_0xbadc7b,'type':_0x3c03d6['Set']}),!0x0;}},_0x2b127c={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x33ec79,_0x48ce5e){const _0x2c94ca=_0x45f501;if(!_0x48ce5e)return!0x1;if(!!_0x33ec79[_0x2c94ca(0x185)](_0xaebd85[_0x2c94ca(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x53619d=_0x33ec79[_0x2c94ca(0x185)](_0x5bc0f5[_0x2c94ca(0x156)]),{unitId:_0x2550d3,subUnitId:_0x24d706,pivotTableId:_0x5316f5,area:_0x40bcc0,index:_0xde0512,fieldId:_0x2b4c2b}=_0x48ce5e,_0x206cbe=_0x53619d['getPivotTableInstance'](_0x5316f5);if(!_0x206cbe)return!0x1;_0x206cbe[_0x2c94ca(0xc3)](_0x2b4c2b,_0x40bcc0,_0xde0512);const _0x29edc2=_0x53619d[_0x2c94ca(0x394)](_0x2550d3,_0x24d706,_0x5316f5);return _0x54185e(_0x29edc2,_0x48ce5e),_0x53619d[_0x2c94ca(0x29f)]({'unitId':_0x2550d3,'subUnitId':_0x24d706,'token':_0x5316f5,'type':_0x3c03d6[_0x2c94ca(0x1b6)]}),!0x0;}},_0x33eee5={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x342),'handler'(_0x3e8362,_0x34f06a){const _0x477d0b=_0x45f501;if(!_0x34f06a)return!0x1;if(!!_0x3e8362[_0x477d0b(0x185)](_0xaebd85[_0x477d0b(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x29a3c4=_0x3e8362[_0x477d0b(0x185)](_0x5bc0f5[_0x477d0b(0x156)]),{unitId:_0x1b0368,subUnitId:_0xd52156,pivotTableId:_0x4ee663,sourceName:_0x27117f,dataFieldId:_0x3dd375,tableFieldId:_0x4e2bf0}=_0x34f06a,_0x371489=_0x29a3c4[_0x477d0b(0x93)](_0x4ee663);if(!_0x371489)return!0x1;_0x371489[_0x477d0b(0x27f)](_0x4e2bf0,_0x27117f,_0x3dd375);const _0x36bccd=_0x29a3c4[_0x477d0b(0x394)](_0x1b0368,_0xd52156,_0x4ee663);return _0x4bb8c2(_0x36bccd,_0x34f06a),_0x29a3c4['addDirtyPivotTable']({'unitId':_0x1b0368,'subUnitId':_0xd52156,'token':_0x4ee663,'type':_0x3c03d6['Set']}),!0x0;}},_0x263388={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x124),'handler'(_0x51e3cf,_0x5703a3){const _0xfd9df1=_0x45f501;if(!_0x5703a3)return!0x1;if(!!_0x51e3cf['get'](_0xaebd85['IConfigService'])[_0xfd9df1(0x14a)](_0x5e7272))return!0x0;const _0x3522c8=_0x51e3cf['get'](_0x5bc0f5[_0xfd9df1(0x156)]),{unitId:_0x43f945,subUnitId:_0x2fee68,pivotTableId:_0x4245a7,valuePosition:_0x43234a,index:_0x4e76b8}=_0x5703a3,_0x13a925=_0x3522c8['getPivotTableInstance'](_0x4245a7);if(!_0x13a925)return!0x1;_0x13a925[_0xfd9df1(0xf1)](_0x43234a,_0x4e76b8);const _0x125aef=_0x3522c8[_0xfd9df1(0x394)](_0x43f945,_0x2fee68,_0x4245a7);return _0x4abe78(_0x125aef,_0x5703a3),_0x3522c8[_0xfd9df1(0x29f)]({'unitId':_0x43f945,'subUnitId':_0x2fee68,'token':_0x4245a7,'type':_0x3c03d6[_0xfd9df1(0x1b6)]}),!0x0;}};function _0x57b20d(_0x58c7cb,_0x368c9a,_0x13e87a){const _0x7e761c=_0x45f501,{pivotTableId:_0x2c37af,unitId:_0x31dd8f,subUnitId:_0x8a898c}=_0x368c9a,_0x3bffd1=[],_0x208470=[];for(const _0x4f4637 of _0x13e87a)switch(_0x4f4637[_0x7e761c(0x376)]){case _0x7d04ba['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x4ecf40,area:_0x4eeb4b,index:_0x12112b}=_0x4f4637,_0x524321={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldJson':_0x4ecf40,'area':_0x4eeb4b,'index':_0x12112b},_0x3072bf={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4ecf40['id'],'area':_0x4eeb4b,'index':_0x12112b};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x2cda78['id'],'params':_0x524321}),_0x208470[_0x7e761c(0x139)]({'id':_0x3e9720['id'],'params':_0x3072bf});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x1ee)]:{const {fieldId:_0x4b3203,newSubtotalType:_0x4ca18c,oldSubtotalType:_0x3b56ee}=_0x4f4637,_0x376b6f={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4b3203,'subtotalType':_0x4ca18c};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x41b531['id'],'params':_0x376b6f});const _0x5e20ad={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4b3203,'subtotalType':_0x3b56ee};_0x208470['unshift']({'id':_0x41b531['id'],'params':_0x5e20ad});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x274)]:{const {fieldId:_0x30ea6e,fieldJson:_0x30be0e,area:_0x20f672,index:_0x5276a1}=_0x4f4637,_0x18d79d={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x30ea6e,'index':_0x5276a1,'area':_0x20f672};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x3e9720['id'],'params':_0x18d79d});const _0x506f93={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldJson':_0x30be0e,'area':_0x20f672,'index':_0x5276a1};_0x208470[_0x7e761c(0x139)]({'id':_0x2cda78['id'],'params':_0x506f93});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x338)]:{const {fieldId:_0xfa6d48,oldName:_0x3e851c,newName:_0x3acbab}=_0x4f4637,_0x5176d4={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0xfa6d48,'name':_0x3acbab};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x24c0ca['id'],'params':_0x5176d4});const _0x5ba317={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0xfa6d48,'name':_0x3e851c};_0x208470[_0x7e761c(0x139)]({'id':_0x24c0ca['id'],'params':_0x5ba317});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x3b4)]:{const {fieldId:_0x5e7217,oldFilterInfo:_0x8246c3,newFilterInfo:_0x385e01}=_0x4f4637,_0x3c5bbf={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5e7217,'filterInfo':_0x385e01};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x1aea10['id'],'params':_0x3c5bbf});const _0x2c0251={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5e7217,'filterInfo':_0x8246c3};_0x208470[_0x7e761c(0x139)]({'id':_0x1aea10['id'],'params':_0x2c0251});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x16b)]:{const {fieldId:_0x5abf0d,oldSortInfo:_0x214174,newSortInfo:_0x182e65}=_0x4f4637,_0x3f4637={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5abf0d,'sortInfo':_0x182e65};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x3fecaa['id'],'params':_0x3f4637});const _0x343960={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5abf0d,'sortInfo':_0x214174};_0x208470[_0x7e761c(0x139)]({'id':_0x3fecaa['id'],'params':_0x343960});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x1f2)]:{const {oldOptions:_0x55497d,newOptions:_0x532538}=_0x4f4637,_0x166725={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'options':_0x532538};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x203a31['id'],'params':_0x166725});const _0x2e9440={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'options':_0x55497d};_0x208470['unshift']({'id':_0x203a31['id'],'params':_0x2e9440});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x1a5)]:{const {oldArea:_0x5adb1d,newArea:_0x3022bb,oldIndex:_0x234791,newIndex:_0x314720,fieldId:_0x2d14b7}=_0x4f4637,_0x14e4cb={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x2d14b7,'area':_0x3022bb,'index':_0x314720,'oldArea':_0x5adb1d,'oldIndex':_0x234791};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x2b127c['id'],'params':_0x14e4cb});const _0x1e44b9={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x2d14b7,'area':_0x5adb1d,'index':_0x234791,'oldArea':_0x3022bb,'oldIndex':_0x314720};_0x208470[_0x7e761c(0x139)]({'id':_0x2b127c['id'],'params':_0x1e44b9});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x284)]:{const {oldValuePosition:_0x2baf62,newValuePosition:_0x4ec075,oldIndex:_0x4b3d4a,newIndex:_0xbb21b8}=_0x4f4637,_0x5e89ea={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'valuePosition':_0x4ec075,'index':_0xbb21b8};_0x3bffd1['push']({'id':_0x263388['id'],'params':_0x5e89ea});const _0x4cf984={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'valuePosition':_0x2baf62,'index':_0x4b3d4a};_0x208470[_0x7e761c(0x139)]({'id':_0x263388['id'],'params':_0x4cf984});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x25d)]:{const {fieldId:_0x28af57,collapse:_0x214c91,item:_0x3dec33}=_0x4f4637,_0x3c9bba={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x28af57,'collapse':_0x214c91,'item':_0x3dec33};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x480282['id'],'params':_0x3c9bba});const _0x63b76d={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x28af57,'collapse':!_0x214c91,'item':_0x3dec33};_0x208470[_0x7e761c(0x139)]({'id':_0x480282['id'],'params':_0x63b76d});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0xcc)]:{const {newFormat:_0x4bbdd1,oldFormat:_0x256acf,fieldId:_0x40b1f4}=_0x4f4637,_0x52fdc5={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x40b1f4,'format':_0x4bbdd1};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x4a253d['id'],'params':_0x52fdc5});const _0x4c9db9={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x40b1f4,'format':_0x256acf};_0x208470[_0x7e761c(0x139)]({'id':_0x4a253d['id'],'params':_0x4c9db9});}break;case _0x7d04ba['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x58020e,oldSourceName:_0x33110d,newSourceName:_0x4ac9e6,oldDataFieldId:_0x290d05,newDataFieldId:_0x28bc36}=_0x4f4637,_0x259d88={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'tableFieldId':_0x58020e,'sourceName':_0x4ac9e6,'dataFieldId':_0x28bc36};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x33eee5['id'],'params':_0x259d88});const _0x4f4deb={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'tableFieldId':_0x58020e,'sourceName':_0x33110d,'dataFieldId':_0x290d05};_0x208470[_0x7e761c(0x139)]({'id':_0x33eee5['id'],'params':_0x4f4deb});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x12f)]:{const {fieldId:_0x36825d,filterInfo:_0xd7e2d1,oldFilterInfo:_0x5558b8}=_0x4f4637,_0x151fe3={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x36825d,'filterInfo':_0xd7e2d1};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x8a8125['id'],'params':_0x151fe3});const _0x11ae71={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x36825d,'filterInfo':_0x5558b8};_0x208470[_0x7e761c(0x139)]({'id':_0x8a8125['id'],'params':_0x11ae71});}}return{'redos':_0x3bffd1,'undos':_0x208470};}function _0x3338fa(_0x2c694a,_0x514519){const _0x2164dd=_0x45f501;var _0x1a789b;const _0x52a8eb=_0x2c694a[_0x2164dd(0x185)](_0x5bc0f5[_0x2164dd(0x37f)]),{cellInfo:_0x48b6bf,view:_0x1995d7,isEmpty:_0x405a57}=_0x514519;return(_0x1a789b=_0x52a8eb['interceptor'][_0x2164dd(0x26c)](_0xe0920e)(_0x359f1b,{'cellInfo':_0x48b6bf,'view':_0x1995d7,'isEmpty':_0x405a57}))!=null?_0x1a789b:_0x359f1b;}const _0x34c587=()=>typeof process<'u'&&process['versions']!=null&&process[_0x45f501(0x111)][_0x45f501(0x23f)]!=null,_0x592e37={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x293),'handler'(_0x1d1701,_0x2d5532){const _0x5d745b=_0x45f501;var _0x3b8ea3;if(!_0x2d5532)return!0x1;const _0x11118e=_0x1d1701[_0x5d745b(0x185)](_0xaebd85[_0x5d745b(0x223)]);if(!!_0x11118e[_0x5d745b(0x14a)](_0x5e7272))return!0x0;const _0x420c55=_0x1d1701[_0x5d745b(0x185)](_0xaebd85['IUniverInstanceService']),_0x342eef=_0x1d1701['get'](_0x5bc0f5[_0x5d745b(0x156)]),{pivotTableId:_0x3b6179,pivotTableConfig:_0x3ce0dd,collectionConfig:_0x100b99,unitId:_0x411f11,subUnitId:_0x22e1a9}=_0x2d5532,{sourceRangeInfo:_0x489e70,fieldsConfig:_0x2a5aa2,targetCellInfo:_0xe9a75a}=_0x3ce0dd,_0x3fb1a7=_0x420c55[_0x5d745b(0x357)](_0x411f11);if(!_0x3fb1a7||!_0x3fb1a7['getSheetBySheetId'](_0x22e1a9))return!0x1;if(!_0x34c587()){let _0x277883=0x0;_0x3fb1a7['getSheets']()['forEach'](_0x3d2d6a=>{const _0x3d61f7=_0x5d745b;var _0xae8c2e,_0x1f2578;_0x277883+=(_0x1f2578=(_0xae8c2e=_0x342eef[_0x3d61f7(0x21d)](_0x411f11,_0x3d2d6a[_0x3d61f7(0x17c)]()))==null?void 0x0:_0xae8c2e['size'])!=null?_0x1f2578:0x0;});const _0x3e9e7c=(_0x3b8ea3=_0x11118e[_0x5d745b(0x14a)](_0x800699[_0x5d745b(0x13f)]))!=null?_0x3b8ea3:{},{ls:_0x4f8ef6,pbk:_0x2e279e}=_0x3e9e7c;if(!_0x3b344d(_0x4f8ef6,_0x2e279e))throw new _0xaebd85['CustomCommandExecutionError'](_0x5d745b(0xb7));const _0x38cf86=_0x32805f(_0x6fd86,_0x4f8ef6,_0x2e279e)[_0x5d745b(0x380)];if(_0x277883>=_0x38cf86)throw new _0xaebd85['CustomCommandExecutionError'](_0x5d745b(0xb7));}if(!_0x100b99||!_0x2a5aa2)return!0x1;const {collection:_0x4f7de4,updateDataFieldList:_0xb085b5}=_0x342eef[_0x5d745b(0x1be)](_0x3b6179,_0x100b99,_0x489e70,_0xe9a75a);_0x342eef[_0x5d745b(0x107)](_0x4f7de4,_0xb085b5,_0x489e70);const _0x5c1c06=new _0x7d04ba[(_0x5d745b(0x1fe))](_0x4f7de4,void 0x0,_0x3b6179);_0x5c1c06[_0x5d745b(0x391)](_0x2a5aa2);const _0x11a439=JSON[_0x5d745b(0x32e)](JSON[_0x5d745b(0x118)](_0x3ce0dd));return _0x342eef[_0x5d745b(0x294)](_0x411f11,_0x22e1a9,_0x3b6179,_0x5c1c06,_0x11a439),_0x342eef[_0x5d745b(0x29f)]({'unitId':_0x411f11,'subUnitId':_0x22e1a9,'token':_0x3b6179,'type':_0x3c03d6[_0x5d745b(0xa2)],'pivotConfig':_0x11a439}),!0x0;}},_0x7ceaf3={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x123),'handler'(_0xda76e2,_0x3959d8){const _0x50dec0=_0x45f501;if(!_0x3959d8)return!0x1;if(!!_0xda76e2[_0x50dec0(0x185)](_0xaebd85[_0x50dec0(0x223)])[_0x50dec0(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x480643,unitId:_0x55e975,subUnitId:_0x21f020}=_0x3959d8,_0x28bfbe=_0xda76e2[_0x50dec0(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']);return _0x28bfbe[_0x50dec0(0x21f)](_0x55e975,_0x21f020,_0x480643)?(_0x28bfbe[_0x50dec0(0x29f)]({'unitId':_0x55e975,'subUnitId':_0x21f020,'token':_0x480643,'type':_0x3c03d6[_0x50dec0(0x178)]}),_0x28bfbe['removePivotTable'](_0x55e975,_0x21f020,_0x480643),!0x0):!0x1;}},_0x5e1c2b={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x397),'handler'(_0x42589c,_0x1767c6){const _0x140014=_0x45f501;if(!_0x1767c6)return!0x1;if(!!_0x42589c['get'](_0xaebd85[_0x140014(0x223)])[_0x140014(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x558e61,targetCellPosition:_0x33d800,unitId:_0x5c98c4,subUnitId:_0x36db5f}=_0x1767c6,_0x53af7b=_0x42589c[_0x140014(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']);if(!_0x53af7b[_0x140014(0x93)](_0x1767c6[_0x140014(0xe2)]))return!0x1;const _0x27025a=_0x53af7b[_0x140014(0x1b4)](_0x558e61);if(!_0x27025a)return!0x1;const _0x2aaa4e=_0x53af7b[_0x140014(0x300)](_0x27025a[_0x140014(0x20d)],_0x1767c6[_0x140014(0xe2)]);if(!_0x2aaa4e)return!0x1;const _0x211b97=_0x53af7b[_0x140014(0x21f)](_0x27025a[_0x140014(0x20d)],_0x27025a[_0x140014(0x15b)],_0x558e61);if(!_0x211b97)return!0x1;const _0x509bba=_0xaebd85['Tools'][_0x140014(0x1fb)](_0x211b97);_0x509bba['targetCellInfo']={'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'row':_0x33d800[_0x140014(0x2e0)],'col':_0x33d800[_0x140014(0x180)]};const _0x2d7e15=_0x2aaa4e[_0x140014(0x19a)]();if(_0x27025a[_0x140014(0x15b)]===_0x36db5f&&_0x27025a['unitId']===_0x5c98c4)_0x53af7b[_0x140014(0x18a)](_0x5c98c4,_0x36db5f,_0x558e61,_0x509bba),_0x53af7b[_0x140014(0x29f)]({'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'token':_0x558e61,'type':_0x3c03d6[_0x140014(0x1b6)]});else{_0x53af7b[_0x140014(0x29f)]({'unitId':_0x27025a[_0x140014(0x20d)],'subUnitId':_0x27025a[_0x140014(0x15b)],'token':_0x558e61,'type':_0x3c03d6[_0x140014(0x178)]}),_0x53af7b['removePivotTable'](_0x27025a[_0x140014(0x20d)],_0x27025a[_0x140014(0x15b)],_0x558e61);const _0x573083=_0x53af7b[_0x140014(0x1be)](_0x558e61,_0x2d7e15,_0x211b97[_0x140014(0x206)],_0x509bba[_0x140014(0x22f)]),_0x5992c0=new _0x7d04ba['PivotTable'](_0x573083[_0x140014(0x13a)],void 0x0,_0x558e61);_0x5992c0['fromJSON'](_0x509bba[_0x140014(0xbf)]),_0x53af7b[_0x140014(0x294)](_0x5c98c4,_0x36db5f,_0x558e61,_0x5992c0,_0x509bba),_0x53af7b[_0x140014(0x29f)]({'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'token':_0x558e61,'type':_0x3c03d6[_0x140014(0xa2)],'pivotConfig':_0x509bba});}return!0x0;}},_0x385c03={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x2d9),'handler'(_0x560323,_0x1bab6e){const _0x28bc2a=_0x45f501;if(!_0x1bab6e)return!0x1;if(!!_0x560323['get'](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x1f10ee=_0x560323[_0x28bc2a(0x185)](_0x5bc0f5[_0x28bc2a(0x156)]),{pivotTableId:_0x3bb54c,deleteIds:_0x414602,collectionJSON:_0x74b63,dataRangeInfo:_0x85a453,unitId:_0x317759,subUnitId:_0x7964fb}=_0x1bab6e,_0xff4613=_0x1f10ee['getPivotTableInstance'](_0x3bb54c),_0x728ea1=_0x1f10ee['getPivotTableConfig'](_0x317759,_0x7964fb,_0x3bb54c);if(!_0xff4613||!_0x728ea1)return!0x1;const {collection:_0x1f2dc6,updateDataFieldList:_0x435753}=_0x1f10ee[_0x28bc2a(0x1be)](_0x3bb54c,_0x74b63,_0x85a453,_0x728ea1[_0x28bc2a(0x22f)]);_0x1f10ee[_0x28bc2a(0x107)](_0x1f2dc6,_0x435753,_0x85a453),_0xff4613[_0x28bc2a(0x31c)](_0x1f2dc6);for(const _0x5d56dc of _0x414602)_0x1f10ee['removeDataField'](_0x85a453['unitId'],_0x5d56dc);const _0x5aa8ec=_0x1f10ee[_0x28bc2a(0x21f)](_0x317759,_0x7964fb,_0x3bb54c);return _0x5aa8ec[_0x28bc2a(0x206)]=JSON[_0x28bc2a(0x32e)](JSON['stringify'](_0x85a453)),_0x1f10ee[_0x28bc2a(0x29f)]({'unitId':_0x317759,'subUnitId':_0x7964fb,'token':_0x3bb54c,'type':_0x3c03d6[_0x28bc2a(0x1b6)]}),!0x0;}},_0x25680d={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x5327ac=Object[_0x45f501(0x30e)],_0x475072=(_0x4efbf7,_0x2ad056,_0x4f7397,_0x181653)=>{const _0x17415c=_0x45f501;for(var _0x4c7bee=_0x181653>0x1?void 0x0:_0x181653?_0x5327ac(_0x2ad056,_0x4f7397):_0x2ad056,_0x507b72=_0x4efbf7[_0x17415c(0xa8)]-0x1,_0x1f46c8;_0x507b72>=0x0;_0x507b72--)(_0x1f46c8=_0x4efbf7[_0x507b72])&&(_0x4c7bee=_0x1f46c8(_0x4c7bee)||_0x4c7bee);return _0x4c7bee;},_0xfb92c6=(_0x147932,_0x461e1e)=>(_0x1b82eb,_0x2105f3)=>_0x461e1e(_0x1b82eb,_0x2105f3,_0x147932);_0x5bc0f5[_0x45f501(0x252)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x122e56,_0x17bfd4){const _0x47d45c=_0x45f501;super(),_0x1f3ba2(this,_0x47d45c(0x35f),new Map()),(this['_injector']=_0x122e56,this[_0x47d45c(0x345)]=_0x17bfd4);}[_0x45f501(0x332)](_0x4457b4){const _0x50d828=_0x45f501,{version:_0x459284}=_0x4457b4,_0x19f3f6=this[_0x50d828(0x35f)][_0x50d828(0x185)](_0x459284);_0x19f3f6&&(_0x19f3f6(_0x4457b4),this[_0x50d828(0x35f)][_0x50d828(0x226)](_0x459284));}[_0x45f501(0x12c)](_0x3468f8){return new Promise((_0x1c55fb,_0x1d36bc)=>{const _0x594e2d=_0x554c,_0x301c65=this[_0x594e2d(0x347)]();this[_0x594e2d(0x35f)]['set'](_0x301c65,_0x1c55fb),this['_commandService'][_0x594e2d(0x3ae)](_0x5dba1f['id'],{'version':_0x301c65,..._0x3468f8},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x5418b7=_0x45f501;return Math[_0x5418b7(0x1ca)]()[_0x5418b7(0x2a2)](0x24)[_0x5418b7(0x320)](0x2,0x10);}},_0x5bc0f5[_0x45f501(0x252)]=_0x475072([_0xfb92c6(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)])),_0xfb92c6(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85['ICommandService']))],_0x5bc0f5['SheetsPivotRPCService']);const _0x4ec140={'id':_0x45f501(0x1d9),'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'handler':(_0x39f598,_0x2d87e9)=>{const _0x560fe8=_0x45f501;if(!_0x2d87e9)return!0x1;if(!!_0x39f598[_0x560fe8(0x185)](_0xaebd85[_0x560fe8(0x223)])[_0x560fe8(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x1378eb,fieldJSON:_0x12fc7a,unitId:_0x3d8a64,subUnitId:_0x5beefa}=_0x2d87e9,_0x54188c=_0x7d04ba[_0x560fe8(0xea)]['fromJSON'](_0x12fc7a);if(!_0x54188c)return!0x1;const _0x27a116=_0x39f598[_0x560fe8(0x185)](_0x5bc0f5[_0x560fe8(0x156)]),_0x1f918d=_0x27a116[_0x560fe8(0x10f)](_0x3d8a64),_0xe1fcd3=_0x1f918d[_0x560fe8(0x300)](_0x1378eb);_0x1f918d[_0x560fe8(0x277)](_0x54188c),_0xe1fcd3[_0x560fe8(0xc2)](_0x54188c[_0x560fe8(0x114)](),_0x54188c['getName']());const _0xef2c68=_0xe1fcd3[_0x560fe8(0x324)](_0x54188c[_0x560fe8(0x32f)]());_0xef2c68&&_0x54188c[_0x560fe8(0xae)](_0xef2c68);const _0x51e7df=_0x27a116['getPivotTableConfig'](_0x3d8a64,_0x5beefa,_0x1378eb);return _0x27a116[_0x560fe8(0x29f)]({'unitId':_0x3d8a64,'subUnitId':_0x5beefa,'token':_0x1378eb,'type':_0x3c03d6[_0x560fe8(0x1b6)],'pivotConfig':_0x51e7df}),!0x0;}},_0x25a4c={'id':_0x45f501(0x21e),'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'handler':(_0x1539c6,_0x227b1c)=>{const _0x13ff6f=_0x45f501;if(!_0x227b1c)return!0x1;if(!!_0x1539c6['get'](_0xaebd85['IConfigService'])[_0x13ff6f(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x36b4a7,dataFieldId:_0x17b6cc,unitId:_0x36fbc1,subUnitId:_0x4370cc}=_0x227b1c,_0x35c719=_0x1539c6['get'](_0x5bc0f5[_0x13ff6f(0x156)]),_0x28a7c0=_0x35c719[_0x13ff6f(0x10f)](_0x36fbc1);_0x28a7c0[_0x13ff6f(0x300)](_0x36b4a7)[_0x13ff6f(0x198)](_0x17b6cc);let _0xb0070d=!0x0;for(const _0x323290 in _0x28a7c0['collections'])if(_0x28a7c0[_0x13ff6f(0x2ea)][_0x323290][_0x13ff6f(0xb1)]()['includes'](_0x17b6cc)){_0xb0070d=!0x1;break;}_0xb0070d&&_0x28a7c0['deleteDataField'](_0x17b6cc);const _0x3e0090=_0x35c719[_0x13ff6f(0x21f)](_0x36fbc1,_0x4370cc,_0x36b4a7);return _0x35c719[_0x13ff6f(0x29f)]({'unitId':_0x36fbc1,'subUnitId':_0x4370cc,'token':_0x36b4a7,'type':_0x3c03d6[_0x13ff6f(0x1b6)],'pivotConfig':_0x3e0090}),!0x0;}},_0x82e3c7={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.add-pivot-field',async 'handler'(_0xc6130e,_0x3bf36f){const _0x11d86f=_0x45f501;if(!_0x3bf36f)return!0x1;const _0x5f4282=_0xc6130e[_0x11d86f(0x185)](_0xaebd85[_0x11d86f(0x2f7)]),_0x46621e=_0xc6130e['get'](_0x5bc0f5[_0x11d86f(0x252)]),_0x44708d=_0xc6130e['get'](_0xaebd85[_0x11d86f(0x361)]),{pivotTableId:_0x3a6f88,dataFieldId:_0x5e36c0,fieldArea:_0x357b87,index:_0x124507,unitId:_0x5d4507,subUnitId:_0x454f94}=_0x3bf36f,_0x5b40c1=(await _0x46621e[_0x11d86f(0x12c)]({'unitId':_0x5d4507,'subUnitId':_0x454f94,'pivotTableId':_0x3a6f88,'params':{'type':_0x240b92[_0x11d86f(0x271)],'addPivotField':{'dataFieldId':_0x5e36c0,'fieldArea':_0x357b87,'index':_0x124507}}}))['result'][_0x11d86f(0x261)];if(!_0x5b40c1)return!0x1;const {view:_0x3ae1a4,changesets:_0x422c60,isEmpty:_0x408ef5,pivotTableConfig:_0x9c8e14,shouldBeAddedGroupJSON:_0xef5d5c}=_0x5b40c1,_0xd71d80=_0x9c8e14[_0x11d86f(0x22f)],_0x25e0f8=new _0x7d04ba['PivotView']();_0x25e0f8[_0x11d86f(0x1e6)](_0x3ae1a4);const _0x3fa904={'cellInfo':_0xd71d80,'view':_0x25e0f8,'isEmpty':_0x408ef5};if(!await _0xc6130e[_0x11d86f(0x185)](_0x5bc0f5[_0x11d86f(0x37f)])[_0x11d86f(0x235)][_0x11d86f(0x1cd)](_0x33c707)(!0x0,_0x3fa904))return!0x1;const _0x4c29b5=_0x42c249(_0xc6130e,_0x25e0f8,_0xd71d80,_0x408ef5),_0x20617f=_0x3338fa(_0xc6130e,_0x3fa904),{undos:_0xadc34c,redos:_0x4c3403}=_0x57b20d(_0x5f4282,{'pivotTableId':_0x3a6f88,'unitId':_0x5d4507,'subUnitId':_0x454f94},_0x422c60);return _0xef5d5c&&(_0x4c3403['unshift']({'id':_0x4ec140['id'],'params':{'pivotTableId':_0x3a6f88,'fieldJSON':_0xef5d5c,'unitId':_0x5d4507,'subUnitId':_0x454f94}}),_0xadc34c[_0x11d86f(0x373)]({'id':_0x25a4c['id'],'params':{'pivotTableId':_0x3a6f88,'dataFieldId':_0xef5d5c['id'],'unitId':_0x5d4507,'subUnitId':_0x454f94}})),_0xaebd85[_0x11d86f(0x135)]([..._0x4c29b5[_0x11d86f(0xfd)],..._0x20617f[_0x11d86f(0xfd)],..._0x4c3403],_0x5f4282),_0x44708d[_0x11d86f(0x14b)]({'unitID':_0x5d4507,'redoMutations':[..._0x4c29b5[_0x11d86f(0xfd)],..._0x20617f[_0x11d86f(0xfd)],..._0x4c3403],'undoMutations':[..._0x4c29b5[_0x11d86f(0x301)],..._0x20617f[_0x11d86f(0x301)],..._0xadc34c]}),!0x0;}},_0x2bfb23={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x366),async 'handler'(_0x5533b,_0x72d5ee){const _0x5c234a=_0x45f501;if(!_0x72d5ee)return!0x1;const {sourceDataInfo:_0x454f4d,pivotTableConfig:_0x43da36}=_0x72d5ee;if(!_0x454f4d||!_0x43da36)return!0x1;const {unitId:_0x4abffa,subUnitId:_0x2b31bd,range:_0x315fb9}=_0x454f4d,_0x35873f=_0x5533b['get'](_0xaebd85['IUniverInstanceService']),_0xea7d16=_0x5533b[_0x5c234a(0x185)](_0x5bc0f5['SheetsPivotRPCService']),_0x1bf267=_0x5533b[_0x5c234a(0x185)](_0xaebd85[_0x5c234a(0x215)]),_0xe857de=_0x5533b[_0x5c234a(0x185)](_0xaebd85[_0x5c234a(0x2f7)]),_0x16bb4f=_0x35873f[_0x5c234a(0x357)](_0x4abffa);if(!_0x16bb4f)return!0x1;const _0x315789=_0x16bb4f[_0x5c234a(0x318)](_0x2b31bd);if(!_0x315789)return!0x1;const _0x1568be=_0x7d04ba[_0x5c234a(0x33a)](0x8),_0x417cad=_0x315fb9||{'startRow':0x0,'startColumn':0x0,'endRow':_0x315789[_0x5c234a(0x16e)]()-0x1,'endColumn':_0x315789[_0x5c234a(0x31a)]()-0x1};_0x417cad[_0x5c234a(0xb4)]=_0xaebd85['RANGE_TYPE']['NORMAL'];const _0x2f6b4d=(await _0xea7d16['getPivotDisplayConfig']({'unitId':_0x4abffa,'subUnitId':_0x2b31bd,'pivotTableId':_0x1568be,'params':{'type':_0x240b92[_0x5c234a(0x217)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4abffa,'sheetName':_0x315789['getName'](),'subUnitId':_0x2b31bd,'range':_0x417cad},'pivotTableId':_0x1568be,'pivotTableIndexConfig':_0x43da36}}}))[_0x5c234a(0x30b)][_0x5c234a(0x184)];if(!_0x2f6b4d)return!0x1;const {isEmpty:_0x4ac18e,fieldsConfig:_0x1af731,collectionConfig:_0x13393a,changesets:_0xb0b2b8}=_0x2f6b4d,_0x212e78=_0x16bb4f[_0x5c234a(0x281)]()[_0x5c234a(0xa8)],_0xdd09d0=_0xaebd85['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x315789[_0x5c234a(0x16e)]()-0x1,'columnCount':_0x315789[_0x5c234a(0x31a)]()-0x1});_0xdd09d0['id']=_0xaebd85[_0x5c234a(0x8f)](),_0xdd09d0[_0x5c234a(0x113)]=_0x16bb4f[_0x5c234a(0x2e4)](''+_0x1bf267['t'](_0x5c234a(0x36d)));const _0x1371fe={'index':_0x212e78,'sheet':_0xdd09d0,'unitId':_0x4abffa},{redos:_0x5aa04c}=_0x57b20d(_0xe857de,{'pivotTableId':_0x1568be,'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id']},_0xb0b2b8),_0x4fe764=[{'id':_0x401092[_0x5c234a(0x242)]['id'],'params':_0x1371fe},{'id':_0x592e37['id'],'params':{'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id'],'pivotTableId':_0x1568be,'pivotTableConfig':{'isEmpty':_0x4ac18e,'fieldsConfig':_0x1af731,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id']},'sourceRangeInfo':{'subUnitId':_0x2b31bd,'unitId':_0x4abffa,'range':_0x417cad,'sheetName':_0x315789[_0x5c234a(0xdd)]()}},'collectionConfig':_0x13393a}},..._0x5aa04c];return _0xaebd85[_0x5c234a(0x135)](_0x4fe764,_0xe857de),!0x0;}},_0xacb3d5={'type':_0xaebd85['CommandType'][_0x45f501(0x101)],'id':_0x45f501(0x17e),async 'handler'(_0x37def7,_0x33f779){const _0x1d27d1=_0x45f501;var _0x37d836,_0x581ca2;const _0xa9a6f3=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x2f7)]),_0x4b5d25=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x182)]),_0x13cba2=_0x37def7[_0x1d27d1(0x185)](_0xaebd85['LocaleService']),_0x5aa41d=_0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x252)]),_0x6a444c=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x361)]),_0x33bb1d=_0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x2c9)]),_0x31568f=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x223)]);if(!_0x33f779)return!0x1;const {pivotTableConfig:_0x3323ab,positionType:_0x16574f}=_0x33f779,{targetCellInfo:_0x1bf8d6,sourceRangeInfo:_0x1f8bfd}=_0x3323ab,{unitId:_0x5d50e0,subUnitId:_0x488eb6}=_0x1bf8d6,_0x12471c=_0x4b5d25[_0x1d27d1(0x357)](_0x5d50e0);if(!_0x12471c)return!0x1;let _0x163c15=0x0;_0x12471c[_0x1d27d1(0x281)]()['forEach'](_0x4bcfdb=>{const _0x3f20e2=_0x1d27d1;var _0x4bb223,_0x5ebb74;_0x163c15+=(_0x5ebb74=(_0x4bb223=_0x33bb1d[_0x3f20e2(0x21d)](_0x5d50e0,_0x4bcfdb[_0x3f20e2(0x17c)]()))==null?void 0x0:_0x4bb223['size'])!=null?_0x5ebb74:0x0;});const _0x190a65=(_0x37d836=_0x31568f[_0x1d27d1(0x14a)](_0x800699['LS_CONFIG_KEY']))!=null?_0x37d836:{},{ls:_0x39c902,pbk:_0x25ab66}=_0x190a65;if(!_0x3b344d(_0x39c902,_0x25ab66))return!0x1;const _0x11ef99=_0x32805f(_0x6fd86,_0x39c902,_0x25ab66)['count'];if(_0x163c15>=_0x11ef99)return!0x1;const _0x2af9ca=_0x33f779[_0x1d27d1(0xe2)]||_0x7d04ba[_0x1d27d1(0x33a)](0x8),_0xe61ff3=(await _0x5aa41d[_0x1d27d1(0x12c)]({'unitId':_0x5d50e0,'subUnitId':_0x488eb6,'pivotTableId':_0x2af9ca,'params':{'type':_0x240b92['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x1f8bfd,'pivotTableId':_0x2af9ca}}}))[_0x1d27d1(0x30b)]['addPivotTable'];if(!_0xe61ff3)return!0x1;const {view:_0x5b87d9,isEmpty:_0x1b7efd,fieldsConfig:_0x1ee382,collectionConfig:_0x352bb1}=_0xe61ff3,_0x57b84e=[],_0x35a340=[];if(_0x16574f===_0x5e87a5[_0x1d27d1(0x208)]){const _0x10bc52=_0x12471c['getSheets']()[_0x1d27d1(0xa8)],_0xe2728e=_0xaebd85[_0x1d27d1(0x24b)]({});_0xe2728e['id']=_0x3323ab[_0x1d27d1(0x22f)][_0x1d27d1(0x15b)],_0xe2728e[_0x1d27d1(0x113)]=(_0x581ca2=_0x3323ab[_0x1d27d1(0x22f)][_0x1d27d1(0x13e)])!=null?_0x581ca2:_0x12471c[_0x1d27d1(0x2e4)](''+_0x13cba2['t'](_0x1d27d1(0x36d)));const _0x4e1a53={'index':_0x10bc52,'sheet':_0xe2728e,'unitId':_0x5d50e0},_0x519882=_0x401092[_0x1d27d1(0x2d1)](_0x37def7,_0x4e1a53);_0x57b84e[_0x1d27d1(0x373)]({'id':_0x401092[_0x1d27d1(0x1a1)]['id'],'params':_0x519882}),_0x35a340[_0x1d27d1(0x373)]({'id':_0x401092[_0x1d27d1(0x213)]['id'],'params':_0x4e1a53});}else{if(!_0x12471c['getSheetBySheetId'](_0x488eb6))return!0x1;const _0x1473ba=_0x42c249(_0x37def7,new _0x7d04ba['PivotView'](),_0x1bf8d6,!0x0);_0x35a340[_0x1d27d1(0x373)](..._0x1473ba[_0x1d27d1(0xfd)]),_0x57b84e[_0x1d27d1(0x373)](..._0x1473ba[_0x1d27d1(0x301)]);const _0x38fdc2={'cellInfo':_0x1bf8d6,'view':_0x5b87d9,'isEmpty':_0x1b7efd};if(!await _0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x37f)])[_0x1d27d1(0x235)][_0x1d27d1(0x1cd)](_0x33c707)(!0x0,_0x38fdc2))return!0x1;const _0x44d670=_0x3338fa(_0x37def7,_0x38fdc2);_0x35a340[_0x1d27d1(0x373)](..._0x44d670[_0x1d27d1(0xfd)]),_0x57b84e[_0x1d27d1(0x373)](..._0x44d670[_0x1d27d1(0x301)]);}return _0x35a340[_0x1d27d1(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x1bf8d6['unitId'],'subUnitId':_0x1bf8d6[_0x1d27d1(0x15b)],'pivotTableId':_0x2af9ca,'pivotTableConfig':{'targetCellInfo':_0x1bf8d6,'sourceRangeInfo':_0x1f8bfd,'fieldsConfig':_0x1ee382},'collectionConfig':_0x352bb1}}),_0x57b84e[_0x1d27d1(0x139)]({'id':_0x7ceaf3['id'],'params':{'unitId':_0x5d50e0,'subUnitId':_0x488eb6,'pivotTableId':_0x2af9ca}}),_0xaebd85['sequenceExecute'](_0x35a340,_0xa9a6f3)&&_0x6a444c[_0x1d27d1(0x14b)]({'unitID':_0x5d50e0,'undoMutations':_0x57b84e,'redoMutations':_0x35a340}),!0x0;}},_0x5c0c9f={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x3a5),async 'handler'(_0x1ee3a4,_0x9db909){const _0x5b69a1=_0x45f501;if(!_0x9db909)return!0x1;const _0xc79668=_0x1ee3a4['get'](_0xaebd85[_0x5b69a1(0x2f7)]),_0x25200d=_0x1ee3a4[_0x5b69a1(0x185)](_0x5bc0f5['SheetsPivotRPCService']),_0x14dfb2=_0x1ee3a4[_0x5b69a1(0x185)](_0xaebd85['IUndoRedoService']),{pivotTableId:_0x10ef6d,fieldId:_0x560d80,area:_0x5c26b4,index:_0x194f41,unitId:_0x1687f3,subUnitId:_0x2ef6b0}=_0x9db909,_0xee3949=(await _0x25200d[_0x5b69a1(0x12c)]({'unitId':_0x1687f3,'subUnitId':_0x2ef6b0,'pivotTableId':_0x10ef6d,'params':{'type':_0x240b92['MovePivotField'],'movePivotField':{'fieldId':_0x560d80,'area':_0x5c26b4,'index':_0x194f41}}}))[_0x5b69a1(0x30b)][_0x5b69a1(0x273)];if(!_0xee3949)return!0x1;const {changesets:_0xa82ea8,view:_0x176f3f,isEmpty:_0x5b9d8a,pivotTableConfig:_0x2b2214}=_0xee3949,_0x17fa05=_0x2b2214[_0x5b69a1(0x22f)],_0x384675=new _0x7d04ba[(_0x5b69a1(0x253))]();_0x384675['formJSON'](_0x176f3f);const _0x393afe={'cellInfo':_0x17fa05,'view':_0x384675,'isEmpty':_0x5b9d8a};if(!await _0x1ee3a4[_0x5b69a1(0x185)](_0x5bc0f5[_0x5b69a1(0x37f)])[_0x5b69a1(0x235)][_0x5b69a1(0x1cd)](_0x33c707)(!0x0,_0x393afe))return!0x1;const _0x591402=_0x42c249(_0x1ee3a4,_0x384675,_0x17fa05,_0x5b9d8a),_0x52cc7e=_0x3338fa(_0x1ee3a4,_0x393afe),{redos:_0x5e74e1,undos:_0x256869}=_0x57b20d(_0xc79668,{'pivotTableId':_0x10ef6d,'unitId':_0x1687f3,'subUnitId':_0x2ef6b0},_0xa82ea8);return _0xaebd85[_0x5b69a1(0x135)]([..._0x591402[_0x5b69a1(0xfd)],..._0x52cc7e[_0x5b69a1(0xfd)],..._0x5e74e1],_0xc79668),_0x14dfb2['pushUndoRedo']({'unitID':_0x1687f3,'redoMutations':[..._0x591402[_0x5b69a1(0xfd)],..._0x52cc7e[_0x5b69a1(0xfd)],..._0x5e74e1],'undoMutations':[..._0x591402['undos'],..._0x52cc7e[_0x5b69a1(0x301)],..._0x256869]}),!0x0;}},_0x4e19d8={'type':_0xaebd85['CommandType'][_0x45f501(0x101)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0xfa7a12,_0x38ef46){const _0x5cba87=_0x45f501;var _0x3767e9;if(!_0x38ef46)return!0x1;const _0x562575=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x182)]),_0x2d5e97=_0x401092[_0x5cba87(0x364)](_0x562575);if(!_0x2d5e97)return!0x1;const {unitId:_0x2e680d,subUnitId:_0x1fe106,workbook:_0x2e338e}=_0x2d5e97,{row:_0x4063ff,col:_0x30a5e4}=_0x38ef46,_0x4ef35a=_0xfa7a12[_0x5cba87(0x185)](_0x5bc0f5[_0x5cba87(0x1c3)]),_0x146fbb=_0x4ef35a['getPivotTableIdByCell'](_0x2e680d,_0x1fe106,_0x4063ff,_0x30a5e4);if(!_0x146fbb)return!0x1;const _0x20090=(_0x3767e9=_0x4ef35a[_0x5cba87(0x1c0)](_0x2e680d,_0x1fe106,_0x146fbb))==null?void 0x0:_0x3767e9[_0x5cba87(0x28c)];if(!_0x20090)return!0x1;const _0x281b6e=_0xfa7a12[_0x5cba87(0x185)](_0x5bc0f5['SheetsPivotTableConfigModel'])[_0x5cba87(0x21f)](_0x2e680d,_0x1fe106,_0x146fbb);if(!_0x281b6e)return!0x1;const {rowInfo:_0x4730ef,colInfo:_0x26e805}=_0x20090,_0x580eb3=_0x4730ef[_0x4063ff][_0x5cba87(0x30c)],_0x1f2b37=_0x26e805[_0x30a5e4][_0x5cba87(0x30c)],_0x8086f1=_0x4730ef[_0x4063ff][_0x5cba87(0x264)],_0x5351da=_0x26e805[_0x30a5e4][_0x5cba87(0x264)],_0x36e96a=_0x580eb3[_0x5cba87(0x3a9)](_0x1f2b37),_0x377035=_0x281b6e[_0x5cba87(0xbf)][_0x5cba87(0xd5)]['slice'](0x0,_0x8086f1),_0x220dd1=_0x281b6e['fieldsConfig'][_0x5cba87(0x194)][_0x5cba87(0x1ea)](0x0,_0x5351da),_0xc492e9=_0x377035[_0x5cba87(0x3a9)](_0x220dd1),_0x216792=_0x36e96a[_0x5cba87(0x258)]((_0x50f5b3,_0x510023)=>[_0x50f5b3,_0xc492e9[_0x510023]]),_0x7ec9e8=(await _0xfa7a12['get'](_0x5bc0f5[_0x5cba87(0x252)])[_0x5cba87(0x12c)]({'unitId':_0x2e680d,'subUnitId':_0x1fe106,'pivotTableId':_0x146fbb,'params':{'type':_0x240b92[_0x5cba87(0x313)],'drillDown':{'tuple':_0x216792}}}))[_0x5cba87(0x30b)][_0x5cba87(0x2d0)];if(!_0x7ec9e8)return!0x1;const {indexes:_0x58e89f,range:_0x3601bd,sourceUnitId:_0x3dcfca,sourceSubUnitId:_0x570ea2,formatMap:_0x420f07}=_0x7ec9e8,{startRow:_0x4ba4bb,endRow:_0x1f450a,startColumn:_0x4f95d2,endColumn:_0x4bc49d}=_0x3601bd,_0x3d0d50=new _0xaebd85[(_0x5cba87(0x209))](),_0x427f76=_0x1f450a-_0x4ba4bb,_0x3ad95d=_0x4bc49d-_0x4f95d2,_0x247411={},_0x526b37=_0x401092['getSheetCommandTarget'](_0x562575,{'unitId':_0x3dcfca,'subUnitId':_0x570ea2});if(!_0x526b37)return!0x1;const _0xe651c9=_0x40537f[_0x5cba87(0x267)],_0x25df7b=_0x40537f[_0x5cba87(0x170)],_0x5723b6=_0x40537f[_0x5cba87(0x170)],_0x21d184=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0xe651c9),_0x4ebd5a=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0x25df7b),_0x16da4b=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0x5723b6),{worksheet:_0x2c79b3}=_0x526b37;let _0xe37a11=0x0;const _0x227d7b=0x1;_0x58e89f[_0x5cba87(0x106)](_0x517266=>{const _0x4e9566=_0x5cba87;for(let _0x517be8=0x0;_0x517be8<=_0x4bc49d-_0x4f95d2;_0x517be8++)_0x3d0d50['setValue'](_0xe37a11,_0x517be8,_0x2c79b3[_0x4e9566(0x207)](_0x517266+_0x3601bd['startRow']+_0x227d7b,_0x517be8));_0xe37a11++;});for(let _0x1ae9e3=_0x4f95d2;_0x1ae9e3<=_0x4bc49d;_0x1ae9e3++){const _0x5b291d=_0x2c79b3[_0x5cba87(0x207)](_0x4ba4bb,_0x1ae9e3);_0x247411[_0x4ba4bb]||(_0x247411[_0x4ba4bb]={}),_0x247411[_0x4ba4bb][_0x1ae9e3]={..._0x5b291d,'s':_0x21d184};}let _0x547397=0x1;const _0x426f0b={},_0x3cb2e9={};_0x3d0d50[_0x5cba87(0x36c)]((_0x386aeb,_0x5e6cb2)=>{const _0x14ffb=_0x5cba87;_0x5e6cb2[_0x14ffb(0x106)](_0x4875bb=>{const _0x4840a9=_0x14ffb,_0xbd838f=_0x3d0d50[_0x4840a9(0x247)](_0x386aeb,_0x4875bb);if(_0x247411[_0x547397]||(_0x247411[_0x547397]={}),_0x247411[_0x547397][_0x4875bb]={..._0xbd838f,'s':_0x547397%0x2===0x0?_0x16da4b:_0x4ebd5a},_0x420f07[_0x4875bb]&&_0x386aeb>=0x0){const _0x3700d9=_0x547397%0x2===0x0;let _0x449b74=_0x3700d9?_0x3cb2e9[_0x4875bb]:_0x426f0b[_0x4875bb];_0x449b74||(_0x449b74=_0x2e338e[_0x4840a9(0x193)]()['setValue']({..._0x3700d9?_0x5723b6:_0x25df7b,'n':{'pattern':_0x420f07[_0x4875bb]}}),_0x3700d9?_0x3cb2e9[_0x4875bb]=_0x449b74:_0x426f0b[_0x4875bb]=_0x449b74),_0x247411[_0x547397][_0x4875bb]['s']=_0x449b74;}}),_0x547397++;});const _0x24c1b2=new _0xaebd85[(_0x5cba87(0x209))](_0x247411),_0x11010c={};_0x24c1b2['forValue']((_0x5ca918,_0x1c97c0,_0x5e7b04)=>{_0x11010c[_0x5ca918]||(_0x11010c[_0x5ca918]={}),_0x11010c[_0x5ca918][_0x1c97c0]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4e8dcb=[],_0x51aeb0=[],_0x3f86da=_0x2e338e[_0x5cba87(0x281)]()[_0x5cba87(0xa8)],_0x8bbf41=_0xaebd85['mergeWorksheetSnapshotWithDefault']({'rowCount':Math['max'](_0xaebd85[_0x5cba87(0x117)],_0x427f76+0xa),'columnCount':Math[_0x5cba87(0x1d0)](_0xaebd85['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x3ad95d+0x5)}),_0x26a513=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x215)]);_0x8bbf41['id']=_0xaebd85[_0x5cba87(0x8f)](),_0x8bbf41[_0x5cba87(0x113)]=_0x2e338e['generateNewSheetName'](''+_0x26a513['t'](_0x5cba87(0x36d)));const _0x2c2e11={'index':_0x3f86da,'sheet':_0x8bbf41,'unitId':_0x2e680d},_0x3d2644=_0x401092['InsertSheetUndoMutationFactory'](_0xfa7a12,_0x2c2e11);_0x51aeb0[_0x5cba87(0x373)]({'id':_0x401092['InsertSheetMutation']['id'],'params':_0x2c2e11}),_0x4e8dcb[_0x5cba87(0x373)]({'id':_0x401092[_0x5cba87(0x1a1)]['id'],'params':_0x3d2644}),_0x51aeb0[_0x5cba87(0x373)]({'id':_0x401092[_0x5cba87(0x11d)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'cellValue':_0x247411}}),_0x4e8dcb[_0x5cba87(0x139)]({'id':_0x401092[_0x5cba87(0x11d)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'cellValue':_0x11010c}});const _0x5226d4={'startRow':0x0,'startColumn':0x0,'endRow':_0x547397-0x1,'endColumn':_0x4bc49d};_0x51aeb0['push']({'id':_0x40f4c0[_0x5cba87(0xb2)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'range':_0x5226d4}}),_0x4e8dcb[_0x5cba87(0x139)]({'id':_0x40f4c0[_0x5cba87(0x291)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id']}});const _0x3ad2c5=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x2f7)]);return _0xaebd85[_0x5cba87(0x135)](_0x51aeb0,_0x3ad2c5)&&_0xfa7a12['get'](_0xaebd85['IUndoRedoService'])[_0x5cba87(0x14b)]({'unitID':_0x2e680d,'undoMutations':_0x4e8dcb,'redoMutations':_0x51aeb0}),!0x0;}},_0xb8ed75={'type':_0xaebd85[_0x45f501(0x322)]['COMMAND'],'id':_0x45f501(0x3ab),async 'handler'(_0x31cec7,_0x3e8b4f){const _0x218b76=_0x45f501;if(!_0x3e8b4f)return!0x1;const _0x405291=_0x31cec7['get'](_0xaebd85['ICommandService']),_0x579174=_0x31cec7[_0x218b76(0x185)](_0x5bc0f5[_0x218b76(0x252)]),_0x33e6de=_0x31cec7[_0x218b76(0x185)](_0xaebd85[_0x218b76(0x361)]),{pivotTableId:_0x102e38,fieldIds:_0x4620d7,unitId:_0x2c4cb3,subUnitId:_0x488b3b}=_0x3e8b4f,_0x2eea33=(await _0x579174[_0x218b76(0x12c)]({'unitId':_0x2c4cb3,'subUnitId':_0x488b3b,'pivotTableId':_0x102e38,'params':{'type':_0x240b92[_0x218b76(0x2ef)],'removePivotField':{'fieldIds':_0x4620d7}}}))['result']['removePivotField'];if(!_0x2eea33)return!0x1;const {view:_0x2b1cdd,changesets:_0x24d110,isEmpty:_0x50ea86,pivotTableConfig:_0x257b5a}=_0x2eea33,_0x1809dd=_0x257b5a[_0x218b76(0x22f)],_0x5cc53c=new _0x7d04ba['PivotView']();_0x5cc53c[_0x218b76(0x1e6)](_0x2b1cdd);const _0x8b05b5={'cellInfo':_0x1809dd,'view':_0x5cc53c,'isEmpty':_0x50ea86};if(!await _0x31cec7[_0x218b76(0x185)](_0x5bc0f5['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x33c707)(!0x0,_0x8b05b5))return!0x1;const _0x192555=_0x42c249(_0x31cec7,_0x5cc53c,_0x1809dd,_0x50ea86),_0x60a346=_0x3338fa(_0x31cec7,_0x8b05b5),{redos:_0x416a6b,undos:_0x40756d}=_0x57b20d(_0x405291,{'pivotTableId':_0x102e38,'unitId':_0x2c4cb3,'subUnitId':_0x488b3b},_0x24d110);return _0xaebd85[_0x218b76(0x135)]([..._0x192555[_0x218b76(0xfd)],..._0x60a346['redos'],..._0x416a6b],_0x405291),_0x33e6de[_0x218b76(0x14b)]({'unitID':_0x2c4cb3,'redoMutations':[..._0x192555[_0x218b76(0xfd)],..._0x60a346[_0x218b76(0xfd)],..._0x416a6b],'undoMutations':[..._0x192555[_0x218b76(0x301)],..._0x60a346[_0x218b76(0x301)],..._0x40756d]}),!0x0;}},_0xa27cd3={'type':_0xaebd85['CommandType']['COMMAND'],'id':_0x45f501(0x1ce),async 'handler'(_0x1c13d4,_0x389f41){const _0x211163=_0x45f501;var _0x128a48;const _0x26f6eb=_0x1c13d4[_0x211163(0x185)](_0xaebd85[_0x211163(0x2f7)]),_0xa66871=_0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x252)]),_0x1bbf93=_0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x1c3)]),_0x3b89ac=_0x1c13d4['get'](_0xaebd85[_0x211163(0x182)]),_0x74aa9b=_0x1c13d4[_0x211163(0x185)](_0xaebd85[_0x211163(0x361)]);if(!_0x389f41)return!0x1;const {unitId:_0x1b2274,subUnitId:_0x3bbfd7,row:_0x49994c,col:_0xfcee8f,collapse:_0x3dc65a}=_0x389f41,_0x1edeca=_0x3b89ac[_0x211163(0x357)](_0x1b2274);if(!_0x1edeca||!_0x1edeca[_0x211163(0x318)](_0x3bbfd7))return!0x1;const _0x4c1f96=_0x1bbf93['getPivotTableIdByCell'](_0x1b2274,_0x3bbfd7,_0x49994c,_0xfcee8f);if(!_0x4c1f96)return!0x1;const _0x5ccca7=_0x1bbf93['getPivotItemRenderInfoCache'](_0x1b2274,_0x3bbfd7,_0x4c1f96);if(!_0x5ccca7)return!0x1;const _0x2f8b56=_0xaebd85[_0x211163(0x3b5)](_0x49994c,_0xfcee8f),{rangesInfo:_0x3cc290,areaInfo:_0x3ed553,headerMap:_0x4549ef}=_0x5ccca7;if(!_0x3cc290||!_0x3ed553||!_0x4549ef)return!0x1;const _0x53f04c=Object[_0x211163(0x374)](_0x3cc290)['find'](_0x33f328=>_0x3cc290[_0x33f328][_0x211163(0x263)](_0x4797d7=>_0xaebd85['Rectangle'][_0x211163(0x112)](_0x4797d7,_0x2f8b56)));let _0x2e24b2;_0x53f04c===_0x211163(0x1a9)?_0x2e24b2=_0x4549ef[_0x211163(0x1aa)][_0xfcee8f]:_0x53f04c===_0x211163(0x30f)&&(_0x2e24b2=_0x4549ef[_0x211163(0x133)][_0x49994c]);const _0xa4fa9=_0x2e24b2==null?void 0x0:_0x2e24b2['tableFieldId'],_0x538283=(_0x128a48=_0x1bbf93[_0x211163(0x218)](_0x1b2274,_0x3bbfd7,_0x49994c,_0xfcee8f))==null?void 0x0:_0x128a48['v'];if(_0x538283==null||!_0x4c1f96||!_0xa4fa9)return!0x1;const _0x30fa36=await _0xa66871[_0x211163(0x12c)]({'unitId':_0x1b2274,'subUnitId':_0x3bbfd7,'pivotTableId':_0x4c1f96,'params':{'type':_0x240b92[_0x211163(0x221)],'setPivotCollapse':{'tableFieldId':_0xa4fa9,'collapse':_0x3dc65a,'item':_0x538283}}}),_0x39bab9=_0x30fa36==null?void 0x0:_0x30fa36['result'][_0x211163(0x1d1)];if(!_0x39bab9)return!0x1;const {view:_0x3c6b52,pivotTableConfig:_0x279f94,isEmpty:_0x2fecde,changesets:_0x584875}=_0x39bab9,_0x5e3531=new _0x7d04ba[(_0x211163(0x253))]();_0x5e3531[_0x211163(0x1e6)](_0x3c6b52);const _0x356235=_0x279f94[_0x211163(0x22f)],_0x441a0a={'cellInfo':_0x356235,'view':_0x5e3531,'isEmpty':_0x2fecde};if(!await _0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x37f)])[_0x211163(0x235)][_0x211163(0x1cd)](_0x33c707)(!0x0,_0x441a0a))return!0x1;const _0xa37c9e=_0x42c249(_0x1c13d4,_0x5e3531,_0x356235,_0x2fecde),_0x4cb56b=_0x3338fa(_0x1c13d4,_0x441a0a),{redos:_0x34de7b,undos:_0xe99228}=_0x57b20d(_0x26f6eb,{'pivotTableId':_0x4c1f96,'unitId':_0x1b2274,'subUnitId':_0x3bbfd7},_0x584875);return _0xaebd85[_0x211163(0x135)]([..._0xa37c9e[_0x211163(0xfd)],..._0x4cb56b['redos'],..._0x34de7b],_0x26f6eb),_0x74aa9b['pushUndoRedo']({'unitID':_0x1b2274,'redoMutations':[..._0xa37c9e[_0x211163(0xfd)],..._0x4cb56b[_0x211163(0xfd)],..._0x34de7b],'undoMutations':[..._0xa37c9e[_0x211163(0x301)],..._0x4cb56b[_0x211163(0x301)],..._0xe99228]}),!0x0;}},_0x14e82c={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x10b),async 'handler'(_0x4704b9,_0x16344c){const _0x3696af=_0x45f501;if(!_0x16344c)return!0x1;const _0x1006e2=_0x4704b9['get'](_0xaebd85[_0x3696af(0x2f7)]),{pivotTableId:_0x11d179,tableFieldId:_0x434095,items:_0x723564,unitId:_0x386d12,subUnitId:_0x3fd085,isAll:_0xa73667}=_0x16344c,_0x12260f=_0x4704b9[_0x3696af(0x185)](_0x5bc0f5[_0x3696af(0x252)]),_0x811517=_0x4704b9[_0x3696af(0x185)](_0xaebd85['IUndoRedoService']),_0x1f7463=(await _0x12260f['getPivotDisplayConfig']({'unitId':_0x386d12,'subUnitId':_0x3fd085,'pivotTableId':_0x11d179,'params':{'type':_0x240b92[_0x3696af(0x315)],'setPivotFilter':{'tableFieldId':_0x434095,'items':_0x723564,'isAll':_0xa73667}}}))[_0x3696af(0x30b)][_0x3696af(0x160)];if(!_0x1f7463)return!0x1;const {changesets:_0x43a767,pivotTableConfig:_0x1046b5,isEmpty:_0x34b964,view:_0x5c0eef}=_0x1f7463,_0xe9cb88=_0x1046b5['targetCellInfo'],_0x5ccbd3=new _0x7d04ba[(_0x3696af(0x253))]();_0x5ccbd3['formJSON'](_0x5c0eef);const _0x491fee={'cellInfo':_0xe9cb88,'view':_0x5ccbd3,'isEmpty':_0x34b964};if(!await _0x4704b9[_0x3696af(0x185)](_0x5bc0f5[_0x3696af(0x37f)])['asyncInterceptor'][_0x3696af(0x1cd)](_0x33c707)(!0x0,_0x491fee))return!0x1;const _0x56a545=_0x42c249(_0x4704b9,_0x5ccbd3,_0xe9cb88,_0x34b964),_0x449055=_0x3338fa(_0x4704b9,_0x491fee),{undos:_0x5f0990,redos:_0x4911a7}=_0x57b20d(_0x1006e2,{'pivotTableId':_0x11d179,'unitId':_0x386d12,'subUnitId':_0x3fd085},_0x43a767);return _0xaebd85[_0x3696af(0x135)]([..._0x56a545[_0x3696af(0xfd)],..._0x449055[_0x3696af(0xfd)],..._0x4911a7],_0x1006e2),_0x811517[_0x3696af(0x14b)]({'unitID':_0x386d12,'redoMutations':[..._0x56a545[_0x3696af(0xfd)],..._0x449055[_0x3696af(0xfd)],..._0x4911a7],'undoMutations':[..._0x56a545[_0x3696af(0x301)],..._0x449055[_0x3696af(0x301)],..._0x5f0990]}),!0x0;}},_0x42da59={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x495e01,_0x317c16){const _0x49b880=_0x45f501;if(!_0x317c16)return!0x1;const _0x7934d8=_0x495e01['get'](_0xaebd85[_0x49b880(0x2f7)]),_0x3b5336=_0x495e01[_0x49b880(0x185)](_0xaebd85[_0x49b880(0x361)]),_0x3b19df=_0x495e01[_0x49b880(0x185)](_0x5bc0f5[_0x49b880(0x252)]),{info:_0x4f48c7,tableFieldId:_0x2671c4,pivotTableId:_0x18e2f8,unitId:_0x445a82,subUnitId:_0x53312e}=_0x317c16,_0x3d9ea8=(await _0x3b19df['getPivotDisplayConfig']({'unitId':_0x445a82,'subUnitId':_0x53312e,'pivotTableId':_0x18e2f8,'params':{'type':_0x240b92['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x2671c4,'info':_0x4f48c7}}}))['result'][_0x49b880(0x2f0)];if(!_0x3d9ea8)return!0x1;const {changesets:_0x4ceffe}=_0x3d9ea8,{redos:_0x3b5729,undos:_0x1f989d}=_0x57b20d(_0x7934d8,{'pivotTableId':_0x18e2f8,'unitId':_0x445a82,'subUnitId':_0x53312e},_0x4ceffe);return _0xaebd85[_0x49b880(0x135)](_0x3b5729,_0x7934d8),_0x3b5336['pushUndoRedo']({'unitID':_0x445a82,'redoMutations':_0x3b5729,'undoMutations':_0x1f989d}),!0x0;}},_0xf31997={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x15a),async 'handler'(_0x385ddf,_0x2193d3){const _0x519090=_0x45f501;if(!_0x2193d3)return!0x1;const _0x96e7cc=_0x385ddf[_0x519090(0x185)](_0xaebd85[_0x519090(0x2f7)]),_0x47e896=_0x385ddf[_0x519090(0x185)](_0xaebd85[_0x519090(0x361)]),_0x92cd80=_0x385ddf[_0x519090(0x185)](_0x5bc0f5['SheetsPivotRPCService']),{displayName:_0x2b393c,subtotalType:_0x18dff9,format:_0x11506c,tableFieldId:_0xba7c4,pivotTableId:_0x278e6b,unitId:_0x31c208,subUnitId:_0x5e256b}=_0x2193d3,_0xd30d03=(await _0x92cd80[_0x519090(0x12c)]({'unitId':_0x31c208,'subUnitId':_0x5e256b,'pivotTableId':_0x278e6b,'params':{'type':_0x240b92[_0x519090(0x214)],'setPivotSetting':{'tableFieldId':_0xba7c4,'displayName':_0x2b393c,'subtotalType':_0x18dff9,'format':_0x11506c}}}))[_0x519090(0x30b)][_0x519090(0x1d5)];if(!_0xd30d03)return!0x1;const {changesets:_0x3b577e,view:_0x59fe9e,pivotTableConfig:_0x57d147,isEmpty:_0x58c93d}=_0xd30d03,_0x4643cc=_0x57d147['targetCellInfo'],_0xfd1799=new _0x7d04ba[(_0x519090(0x253))]();_0xfd1799['formJSON'](_0x59fe9e);const _0x334890={'cellInfo':_0x4643cc,'view':_0xfd1799,'isEmpty':_0x58c93d};if(!await _0x385ddf[_0x519090(0x185)](_0x5bc0f5['SheetsPivotTableService'])[_0x519090(0x235)][_0x519090(0x1cd)](_0x33c707)(!0x0,_0x334890))return!0x1;const _0x45c71f=_0x42c249(_0x385ddf,_0xfd1799,_0x4643cc,_0x58c93d),_0x2bdc79=_0x3338fa(_0x385ddf,_0x334890),{undos:_0x383afe,redos:_0x3a5dc0}=_0x57b20d(_0x96e7cc,{'pivotTableId':_0x278e6b,'unitId':_0x31c208,'subUnitId':_0x5e256b},_0x3b577e);return _0xaebd85[_0x519090(0x135)]([..._0x45c71f[_0x519090(0xfd)],..._0x2bdc79['redos'],..._0x3a5dc0],_0x96e7cc),_0x47e896[_0x519090(0x14b)]({'unitID':_0x31c208,'redoMutations':[..._0x45c71f['redos'],..._0x2bdc79[_0x519090(0xfd)],..._0x3a5dc0],'undoMutations':[..._0x45c71f['undos'],..._0x2bdc79['undos'],..._0x383afe]}),!0x0;}},_0xff983e={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x2da5b3,_0x5b4d54){const _0x434812=_0x45f501,_0x286d8=_0x2da5b3[_0x434812(0x185)](_0xaebd85[_0x434812(0x2f7)]),_0x41af17=_0x2da5b3[_0x434812(0x185)](_0x5bc0f5[_0x434812(0x252)]),_0xc3f551=_0x2da5b3['get'](_0xaebd85[_0x434812(0x361)]);if(!_0x5b4d54)return!0x1;const {token:_0xf2baf0,dataRangeInfo:_0x25a45f,unitId:_0x577a58,subUnitId:_0x4f25d9}=_0x5b4d54,_0x38da12=[],_0x2324dd=[],_0x36c3a2=(await _0x41af17[_0x434812(0x12c)]({'unitId':_0x577a58,'subUnitId':_0x4f25d9,'pivotTableId':_0xf2baf0,'params':{'type':_0x240b92[_0x434812(0x149)],'updatePivotSource':{'dataRangeInfo':_0x25a45f,'unitId':_0x577a58,'subUnitId':_0x4f25d9}}}))['result']['updatePivotSource'];if(!_0x36c3a2)return!0x1;const {changesets:_0x2896a1,deleteIds:_0x53374f,collectionConfig:_0x12b2c3,oldCollectionConfig:_0x388eab,view:_0x47fa72,isEmpty:_0x2e8ddb,pivotTableConfig:_0x5627e1}=_0x36c3a2;_0x2324dd[_0x434812(0x373)]({'id':_0x385c03['id'],'params':{'pivotTableId':_0xf2baf0,'deleteIds':_0x53374f,'collectionJSON':_0x12b2c3,'dataRangeInfo':_0x25a45f,'unitId':_0x577a58,'subUnitId':_0x4f25d9}}),_0x38da12['unshift']({'id':_0x385c03['id'],'params':{'pivotTableId':_0xf2baf0,'deleteIds':[],'collectionJSON':_0x388eab,'dataRangeInfo':_0x5627e1[_0x434812(0x206)],'unitId':_0x577a58,'subUnitId':_0x4f25d9}});const _0x49f626=_0x5627e1[_0x434812(0x22f)],_0x37c20a=new _0x7d04ba['PivotView']();_0x37c20a[_0x434812(0x1e6)](_0x47fa72);const _0x33f6ed={'cellInfo':_0x49f626,'view':_0x37c20a,'isEmpty':_0x2e8ddb};if(!await _0x2da5b3['get'](_0x5bc0f5['SheetsPivotTableService'])[_0x434812(0x235)][_0x434812(0x1cd)](_0x33c707)(!0x0,_0x33f6ed))return!0x1;const _0x32701a=_0x42c249(_0x2da5b3,_0x37c20a,_0x49f626,_0x2e8ddb),_0x1d794e=_0x3338fa(_0x2da5b3,_0x33f6ed),{undos:_0x8f36d5,redos:_0x623570}=_0x57b20d(_0x286d8,{'pivotTableId':_0xf2baf0,'unitId':_0x577a58,'subUnitId':_0x4f25d9},_0x2896a1);return _0xaebd85['sequenceExecute']([..._0x32701a[_0x434812(0xfd)],..._0x1d794e[_0x434812(0xfd)],..._0x2324dd,..._0x8f36d5],_0x286d8),_0xc3f551[_0x434812(0x14b)]({'unitID':_0x577a58,'redoMutations':[..._0x32701a[_0x434812(0xfd)],..._0x1d794e['redos'],..._0x2324dd,..._0x8f36d5],'undoMutations':[..._0x32701a[_0x434812(0x301)],..._0x1d794e[_0x434812(0x301)],..._0x38da12,..._0x623570]}),!0x0;}},_0x25ca2c={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x365),async 'handler'(_0x15846a,_0x1ab2fa){const _0x3f6f36=_0x45f501;if(!_0x1ab2fa)return!0x1;const _0x1d518c=_0x15846a[_0x3f6f36(0x185)](_0xaebd85['ICommandService']),_0x506d68=_0x15846a['get'](_0x5bc0f5[_0x3f6f36(0x252)]),_0x5337b3=_0x15846a['get'](_0xaebd85['IUniverInstanceService']),_0x23c12e=_0x15846a['get'](_0xaebd85[_0x3f6f36(0x361)]),{pivotTableId:_0x183045,position:_0x3ce946,index:_0x11ce72}=_0x1ab2fa,_0x37bf15=_0x401092['getSheetCommandTarget'](_0x5337b3);if(!_0x37bf15)return!0x1;const {unitId:_0x5cca27,subUnitId:_0x5dc4cb}=_0x37bf15,_0xea619=(await _0x506d68[_0x3f6f36(0x12c)]({'unitId':_0x5cca27,'subUnitId':_0x5dc4cb,'pivotTableId':_0x183045,'params':{'type':_0x240b92['UpdateValuePosition'],'updateValuePosition':{'position':_0x3ce946,'index':_0x11ce72}}}))[_0x3f6f36(0x30b)]['updateValuePosition'];if(!_0xea619)return!0x1;const {changesets:_0x1d462a,view:_0x2b18a6,isEmpty:_0x1b8b8b,pivotTableConfig:_0xc173e1}=_0xea619,_0x3da91b=_0xc173e1[_0x3f6f36(0x22f)],_0x325174=new _0x7d04ba[(_0x3f6f36(0x253))]();_0x325174[_0x3f6f36(0x1e6)](_0x2b18a6);const _0x37415f=_0x15846a['get'](_0x5bc0f5[_0x3f6f36(0x37f)]),_0x5d7885={'cellInfo':_0x3da91b,'view':_0x325174,'isEmpty':_0x1b8b8b};if(!await _0x37415f[_0x3f6f36(0x235)][_0x3f6f36(0x1cd)](_0x33c707)(!0x0,_0x5d7885))return!0x1;const _0x3b8f4a=_0x42c249(_0x15846a,_0x325174,_0x3da91b,_0x1b8b8b),_0xfd94b7=_0x3338fa(_0x15846a,_0x5d7885),{undos:_0x454076,redos:_0x21222e}=_0x57b20d(_0x1d518c,{'pivotTableId':_0x183045,'unitId':_0x5cca27,'subUnitId':_0x5dc4cb},_0x1d462a);return _0xaebd85['sequenceExecute']([..._0x3b8f4a['redos'],..._0xfd94b7[_0x3f6f36(0xfd)],..._0x21222e],_0x1d518c),_0x23c12e[_0x3f6f36(0x14b)]({'unitID':_0x5cca27,'redoMutations':[..._0x3b8f4a[_0x3f6f36(0xfd)],..._0xfd94b7[_0x3f6f36(0xfd)],..._0x21222e],'undoMutations':[..._0x3b8f4a[_0x3f6f36(0x301)],..._0xfd94b7[_0x3f6f36(0x301)],..._0x454076]}),!0x0;}},_0x42ba20={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x279),'handler':(_0x491470,_0x51a749)=>{const _0x26b31c=_0x45f501,_0x219987=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x2f7)]),_0x3f02ed=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x361)]),_0x668ac1=_0x491470['get'](_0x5bc0f5[_0x26b31c(0x2c9)]),_0xcbe718=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x182)]);if(!_0x51a749)return!0x1;const _0x5e8482=_0x401092['getSheetCommandTarget'](_0xcbe718);if(!_0x5e8482)return!0x1;const {unitId:_0x38c3e6,subUnitId:_0x549032,workbook:_0x2d2669}=_0x5e8482,_0x52daf0=_0x668ac1[_0x26b31c(0x21f)](_0x51a749[_0x26b31c(0xeb)][_0x26b31c(0x20d)],_0x51a749[_0x26b31c(0xeb)]['subUnitId'],_0x51a749['pivotTableId']);if(!_0x52daf0)return!0x1;const _0x5b7e5e=_0x2d2669[_0x26b31c(0x318)](_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x15b)]);if(!_0x5b7e5e)throw new Error(_0x26b31c(0x33d));const _0x51bd9c=_0x5b7e5e[_0x26b31c(0x16e)](),_0x5c662f=_0x5b7e5e[_0x26b31c(0x31a)]();if(_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x2e0)]>_0x51bd9c||_0x51a749[_0x26b31c(0x22f)]['col']>_0x5c662f)throw new Error(_0x26b31c(0x1e0));const _0x31f99f=[{'id':_0x5e1c2b['id'],'params':{'unitId':_0x38c3e6,'subUnitId':_0x51a749[_0x26b31c(0x22f)]['subUnitId'],'pivotTableId':_0x51a749['pivotTableId'],'targetCellPosition':{'row':_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x2e0)],'col':_0x51a749['targetCellInfo']['col']}}}],_0x38ed85=[{'id':_0x5e1c2b['id'],'params':{'unitId':_0x38c3e6,'subUnitId':_0x549032,'pivotTableId':_0x51a749[_0x26b31c(0xe2)],'targetCellPosition':{'row':_0x52daf0['targetCellInfo'][_0x26b31c(0x2e0)],'col':_0x52daf0[_0x26b31c(0x22f)][_0x26b31c(0x180)]}}}];return _0xaebd85[_0x26b31c(0x135)](_0x31f99f,_0x219987)&&_0x3f02ed['pushUndoRedo']({'unitID':_0x38c3e6,'undoMutations':_0x38ed85,'redoMutations':_0x31f99f}),!0x0;}},_0x313c58={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x359),async 'handler'(_0x2538ee,_0xf09aca){const _0x47583d=_0x45f501;if(!_0xf09aca)return!0x1;const _0x2ce2e7=_0x2538ee[_0x47583d(0x185)](_0xaebd85[_0x47583d(0x2f7)]),{pivotTableId:_0x4befdc,fieldId:_0x1e85a5,valueFilterInfo:_0x21f555,unitId:_0x24166f,subUnitId:_0x1927e7}=_0xf09aca,_0x43f60e=_0x2538ee[_0x47583d(0x185)](_0x5bc0f5[_0x47583d(0x252)]),_0x23dc19=_0x2538ee[_0x47583d(0x185)](_0xaebd85[_0x47583d(0x361)]),_0x2b5133=(await _0x43f60e['getPivotDisplayConfig']({'unitId':_0x24166f,'subUnitId':_0x1927e7,'pivotTableId':_0x4befdc,'params':{'type':_0x240b92[_0x47583d(0x13d)],'setValuePivotFilter':{'tableFieldId':_0x1e85a5,'filterInfo':_0x21f555}}}))['result'][_0x47583d(0x90)];if(!_0x2b5133)return!0x1;const {changesets:_0x4fd937,pivotTableConfig:_0x1179c2,isEmpty:_0x4e57be,view:_0x44f6e1}=_0x2b5133,_0x1c6f0b=_0x1179c2[_0x47583d(0x22f)],_0x32802b=new _0x7d04ba['PivotView']();_0x32802b[_0x47583d(0x1e6)](_0x44f6e1);const _0x393faf={'cellInfo':_0x1c6f0b,'view':_0x32802b,'isEmpty':_0x4e57be};if(!await _0x2538ee[_0x47583d(0x185)](_0x5bc0f5['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x33c707)(!0x0,_0x393faf))return!0x1;const _0x3a45bd=_0x42c249(_0x2538ee,_0x32802b,_0x1c6f0b,_0x4e57be),_0x5c41bb=_0x3338fa(_0x2538ee,_0x393faf),{undos:_0x3ebf8f,redos:_0x22f5b1}=_0x57b20d(_0x2ce2e7,{'pivotTableId':_0x4befdc,'unitId':_0x24166f,'subUnitId':_0x1927e7},_0x4fd937);return _0xaebd85[_0x47583d(0x135)]([..._0x3a45bd['redos'],..._0x5c41bb[_0x47583d(0xfd)],..._0x22f5b1],_0x2ce2e7),_0x23dc19[_0x47583d(0x14b)]({'unitID':_0x24166f,'redoMutations':[..._0x3a45bd[_0x47583d(0xfd)],..._0x5c41bb[_0x47583d(0xfd)],..._0x22f5b1],'undoMutations':[..._0x3a45bd['undos'],..._0x5c41bb[_0x47583d(0x301)],..._0x3ebf8f]}),!0x0;}},_0x1f2204={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x157),async 'handler'(_0x130ccb,_0x4675d1){const _0x447940=_0x45f501;if(!_0x4675d1)return!0x1;const _0x5258bf=_0x130ccb[_0x447940(0x185)](_0xaebd85[_0x447940(0x2f7)]),_0xab49fa=_0x130ccb[_0x447940(0x185)](_0xaebd85[_0x447940(0x361)]),_0x19fbb7=_0x130ccb[_0x447940(0x185)](_0x5bc0f5[_0x447940(0x252)]),{pivotTableConfig:_0x1b41af,pivotTableId:_0x496c4a,unitId:_0x666c26,subUnitId:_0xb161fd}=_0x4675d1,_0x40583a=(await _0x19fbb7[_0x447940(0x12c)]({'unitId':_0x666c26,'subUnitId':_0xb161fd,'pivotTableId':_0x496c4a,'params':{'type':_0x240b92[_0x447940(0x356)],'setPivotTableConfig':{'pivotTableId':_0x496c4a,'pivotTableConfig':_0x1b41af}}}))[_0x447940(0x30b)][_0x447940(0x2fb)];if(!_0x40583a)return!0x1;const {changesets:_0x4c7c02}=_0x40583a,{redos:_0xa124ac,undos:_0x1ab7f7}=_0x57b20d(_0x5258bf,{'pivotTableId':_0x496c4a,'unitId':_0x666c26,'subUnitId':_0xb161fd},_0x4c7c02);return _0xaebd85[_0x447940(0x135)](_0xa124ac,_0x5258bf),_0xab49fa[_0x447940(0x14b)]({'unitID':_0x666c26,'redoMutations':_0xa124ac,'undoMutations':_0x1ab7f7}),!0x0;}},_0x2302e3={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0xf3),async 'handler'(_0x1df08d,_0x5cdb01){const _0x165f07=_0x45f501;if(!_0x5cdb01)return!0x1;const _0x591ac4=_0x1df08d['get'](_0xaebd85[_0x165f07(0x2f7)]),_0x22e979=_0x1df08d[_0x165f07(0x185)](_0xaebd85[_0x165f07(0x361)]),_0x74706b=_0x1df08d[_0x165f07(0x185)](_0x5bc0f5[_0x165f07(0x252)]),{resetArea:_0x5ea217,pivotTableId:_0x436a4c,unitId:_0x5884ca,subUnitId:_0x31f008}=_0x5cdb01,_0x43e357=(await _0x74706b['getPivotDisplayConfig']({'unitId':_0x5884ca,'subUnitId':_0x31f008,'pivotTableId':_0x436a4c,'params':{'type':_0x240b92['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x436a4c,'resetArea':_0x5ea217}}}))['result'][_0x165f07(0x3a1)];if(!_0x43e357)return!0x1;const {changesets:_0x474a9a}=_0x43e357,{redos:_0x3febe1,undos:_0x5457c5}=_0x57b20d(_0x591ac4,{'pivotTableId':_0x436a4c,'unitId':_0x5884ca,'subUnitId':_0x31f008},_0x474a9a);return _0xaebd85[_0x165f07(0x135)](_0x3febe1,_0x591ac4),_0x22e979['pushUndoRedo']({'unitID':_0x5884ca,'redoMutations':_0x3febe1,'undoMutations':_0x5457c5}),!0x0;}},_0x54034c={'id':'sheet.mutation.update-date-group','type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'handler':(_0x23169a,_0x24ba1e)=>{const _0x2d1854=_0x45f501;if(!_0x24ba1e)return!0x1;if(!!_0x23169a[_0x2d1854(0x185)](_0xaebd85[_0x2d1854(0x223)])[_0x2d1854(0x14a)](_0x5e7272))return!0x0;const {unitId:_0xc7ca15,subUnitId:_0x2723c0,pivotTableId:_0x174a96,tableFieldId:_0x2e084c,dateType:_0xda84b8}=_0x24ba1e,_0x4a3a7a=_0x23169a[_0x2d1854(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']),_0x5ee6ea=_0x4a3a7a[_0x2d1854(0x93)](_0x174a96);if(!_0x5ee6ea)return!0x1;const _0x271269=_0x5ee6ea[_0x2d1854(0x2b2)](_0x2e084c);if(!_0x271269)return!0x1;const _0x4f6e9c=_0x271269['getOriginFieldId'](),_0x3169e0=_0x5ee6ea[_0x2d1854(0x1d4)](_0x4f6e9c),_0x2d0860=(_0x3169e0==null?void 0x0:_0x3169e0[_0x2d1854(0xdd)]())+'\x20'+_0x419e11(_0x23169a,_0xda84b8);_0x4a3a7a['getCollection'](_0xc7ca15,_0x174a96)['setDisplayName'](_0x271269['id'],_0x2d0860);const _0x5bb7a8=_0x5ee6ea['getTableFieldById'](_0x2e084c);if(!_0x5bb7a8)return!0x1;_0x5ee6ea[_0x2d1854(0x191)](_0x5bb7a8['getId'](),_0x2d0860),_0x271269[_0x2d1854(0x9d)](_0xda84b8);const _0x4c31ad=_0x4a3a7a[_0x2d1854(0x21f)](_0xc7ca15,_0x2723c0,_0x174a96);return _0x4a3a7a[_0x2d1854(0x29f)]({'unitId':_0xc7ca15,'subUnitId':_0x2723c0,'token':_0x174a96,'type':_0x3c03d6[_0x2d1854(0x1b6)],'pivotConfig':_0x4c31ad}),!0x0;}},_0x54bb4a={'id':_0x45f501(0x27d),'type':_0xaebd85['CommandType']['COMMAND'],'handler':(_0x1edbdc,_0x282347)=>{const _0x159b85=_0x45f501;if(!_0x282347)return!0x1;const _0x168b57=_0x1edbdc[_0x159b85(0x185)](_0xaebd85[_0x159b85(0x361)]),{unitId:_0x54b8d8,subUnitId:_0x346d90,pivotTableId:_0x301e5b,tableFieldId:_0x5a9c6d}=_0x282347,_0x1a1db4=[],_0x288e6e=[],_0x541899=_0x1edbdc['get'](_0x5bc0f5[_0x159b85(0x2c9)]),_0x238335=_0x541899[_0x159b85(0x300)](_0x54b8d8,_0x301e5b),_0x33087d=_0x541899[_0x159b85(0x21f)](_0x54b8d8,_0x346d90,_0x301e5b);if(!(_0x33087d!=null&&_0x33087d[_0x159b85(0xbf)][_0x159b85(0xff)]))return!0x1;const _0x9a4186=Object['values'](_0x33087d[_0x159b85(0xbf)][_0x159b85(0xff)])[_0x159b85(0x3b7)](_0x58188d=>_0x58188d['id']===_0x5a9c6d);if(!_0x9a4186)return!0x1;const _0x5ed6f3=_0x9a4186[_0x159b85(0x2f9)];if(!(_0x238335!=null&&_0x238335[_0x159b85(0xa9)]))return!0x1;const _0x3d3b61=Object[_0x159b85(0x176)](_0x238335==null?void 0x0:_0x238335[_0x159b85(0xa9)])[_0x159b85(0x3b7)](_0x55a48d=>_0x55a48d['id']===_0x5ed6f3);if(!_0x3d3b61)return!0x1;_0x7d04ba[_0x159b85(0x15f)](_0x3d3b61)&&_0x1a1db4['push']({'id':_0x54034c['id'],'params':{..._0x282347,'dateType':_0x3d3b61[_0x159b85(0x1f5)]}}),_0x288e6e[_0x159b85(0x373)]({'id':_0x54034c['id'],'params':{..._0x282347}});const _0x19d071=_0x1edbdc[_0x159b85(0x185)](_0xaebd85['ICommandService']);return _0xaebd85[_0x159b85(0x135)](_0x288e6e,_0x19d071)&&_0x168b57['pushUndoRedo']({'unitID':_0x54b8d8,'undoMutations':_0x1a1db4,'redoMutations':_0x288e6e}),!0x0;}};var _0x2a0990=Object['getOwnPropertyDescriptor'],_0x2f1351=(_0x24fcda,_0x2c1800,_0x2bff1e,_0x525444)=>{const _0x2c446a=_0x45f501;for(var _0x4ab659=_0x525444>0x1?void 0x0:_0x525444?_0x2a0990(_0x2c1800,_0x2bff1e):_0x2c1800,_0xdcff60=_0x24fcda[_0x2c446a(0xa8)]-0x1,_0x595842;_0xdcff60>=0x0;_0xdcff60--)(_0x595842=_0x24fcda[_0xdcff60])&&(_0x4ab659=_0x595842(_0x4ab659)||_0x4ab659);return _0x4ab659;},_0x2ca468=(_0x632039,_0x5d8628)=>(_0x1834ae,_0x3d604f)=>_0x5d8628(_0x1834ae,_0x3d604f,_0x632039);const _0x2f3374=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2323c3=(_0x380821,_0x7724cd,_0x20e5d2)=>{const _0x2b239c=_0x45f501,_0x4777ca=_0x380821[_0x2b239c(0x238)];_0x380821[_0x2b239c(0x1ae)](_0x106e17=>{const _0x2aed84=_0x2b239c,_0x27b434=_0x106e17[_0x2aed84(0x114)](),_0x111cf5=_0x106e17[_0x2aed84(0x2ac)](),_0x86bed0=_0x106e17[_0x2aed84(0x24f)](),_0x4aca43=_0x106e17[_0x2aed84(0x3bd)]();_0x7724cd[_0x111cf5]&&_0x7724cd[_0x111cf5]===_0x4aca43&&_0x86bed0===_0x4aca43&&(_0x380821[_0x2aed84(0x191)](_0x27b434,_0x4777ca[_0x2aed84(0x3bd)](_0x111cf5)),_0x106e17[_0x2aed84(0x16a)](_0x4777ca['getDisplayName'](_0x111cf5)));}),_0x380821[_0x2b239c(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum'][_0x2b239c(0x3a8)],_0x3df5b2=>{const _0x2e93eb=_0x2b239c,_0x1a8f48=_0x3df5b2[_0x2e93eb(0x114)](),_0x4da6a4=_0x3df5b2[_0x2e93eb(0x2ac)](),_0x29c42a=_0x3df5b2[_0x2e93eb(0x24f)](),_0x148315=_0x3df5b2[_0x2e93eb(0x3bd)](),_0xd8ccde=_0x3df5b2['getSubtotal'](),_0x5ecbbc=_0x20e5d2(_0x29c42a,_0xd8ccde);_0x7724cd[_0x4da6a4]&&_0x7724cd[_0x4da6a4]===_0x29c42a&&_0x5ecbbc===_0x148315&&(_0x380821[_0x2e93eb(0x191)](_0x1a8f48,_0x20e5d2(_0x4777ca['getDisplayName'](_0x4da6a4),_0xd8ccde)),_0x3df5b2[_0x2e93eb(0x16a)](_0x4777ca[_0x2e93eb(0x3bd)](_0x4da6a4)));});},_0x135e1f=(_0x1237db,_0x219369,_0x598e23)=>{const _0x504521=_0x45f501;var _0x64e84b,_0x3ad639;const {arrayFormulaCellData:_0x1bfa3f,unitData:_0x16d0b9}=_0x219369,{unitId:_0x403d73,subUnitId:_0x1cf6a9}=_0x598e23,_0x1a0a32=_0x598e23[_0x504521(0xac)],{startColumn:_0x4ea370,endColumn:_0xdcf4bc}=_0x1a0a32,_0x17d3ec=(_0x64e84b=_0x1bfa3f==null?void 0x0:_0x1bfa3f[_0x403d73])==null?void 0x0:_0x64e84b[_0x1cf6a9],_0x24d5b1=(_0x3ad639=_0x16d0b9==null?void 0x0:_0x16d0b9[_0x403d73])==null?void 0x0:_0x3ad639[_0x1cf6a9],_0x5ead0f=new Set(),_0x4368a0=_0xdcf4bc-_0x4ea370+0x1,{dirtyRanges:_0x1b1821}=_0x1237db;if(_0x1b1821)for(const {range:_0x3ee72a,sheetId:_0x4e720b,unitId:_0x347ef4}of _0x1b1821){if(_0x4e720b!==_0x1cf6a9||_0x403d73!==_0x347ef4)continue;const _0x4c7ea6=_0xaebd85[_0x504521(0x1bf)]['getIntersects'](_0x3ee72a,_0x1a0a32);if(_0x4c7ea6){const {startColumn:_0x2d530e,endColumn:_0x327a0c}=_0x4c7ea6;for(let _0xf814d9=_0x2d530e;_0xf814d9<=_0x327a0c;_0xf814d9++)_0x5ead0f[_0x504521(0x328)](_0xf814d9);}}if(_0x5ead0f['size']===_0x4368a0||_0x5ead0f[_0x504521(0x36e)]===_0x4368a0)return Array[_0x504521(0x3a3)](_0x5ead0f);if(_0x24d5b1){const _0x327194=_0x24d5b1['getMatrix'](),_0x44ea22=Object['keys'](_0x327194);for(const _0xc370cc of _0x44ea22){const _0x31dfeb=Number(_0xc370cc),_0x5c0ac9=_0x327194[_0x31dfeb];if(_0x5ead0f['size']===_0x4368a0)break;for(const _0x24c0e5 in _0x5c0ac9){const _0x4d945d=Number(_0x24c0e5);_0x4d945d<_0x4ea370||_0x4d945d>_0xdcf4bc||_0x5ead0f['add'](_0x4d945d);}}}if(_0x17d3ec){const _0x1aa334=_0x17d3ec[_0x504521(0x136)](),_0x14b537=Object[_0x504521(0x374)](_0x1aa334);for(const _0x46432b of _0x14b537){const _0x5b8a5e=Number(_0x46432b),_0x1b648b=_0x1aa334[_0x5b8a5e];if(_0x5ead0f[_0x504521(0x36e)]===_0x4368a0)break;for(const _0x13a4b9 in _0x1b648b){const _0x2c480d=Number(_0x13a4b9);_0x2c480d<_0x4ea370||_0x2c480d>_0xdcf4bc||_0x5ead0f[_0x504521(0x328)](_0x2c480d);}}}return Array['from'](_0x5ead0f);},_0x4943bd=_0x2faaf4=>{const _0x1dadab=_0x45f501,_0xffa229=new Set(),_0x425f3c=[];for(const _0x5801e8 of _0x2faaf4){const _0x3132e8=_0x5801e8['startRow']+','+_0x5801e8[_0x1dadab(0x2fd)]+','+_0x5801e8[_0x1dadab(0x212)]+','+_0x5801e8[_0x1dadab(0x1e3)];_0xffa229[_0x1dadab(0x32d)](_0x3132e8)||(_0xffa229[_0x1dadab(0x328)](_0x3132e8),_0x425f3c[_0x1dadab(0x373)](_0x5801e8));}return _0x425f3c;};let _0x2f9c40=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x8c4fde,_0x5bb999,_0x205430,_0x273a73,_0x41525a,_0x263282){const _0x584936=_0x45f501;super(),_0x1f3ba2(this,_0x584936(0xd1),new _0x4c50c4[(_0x584936(0x37e))](!0x0)),_0x1f3ba2(this,'_globalComputedStartHelpFunc',_0xd43b6=>{const _0x131d79=_0x584936;this[_0x131d79(0xd1)]['next'](!0x1);}),_0x1f3ba2(this,_0x584936(0x23e),_0x386717=>{const _0xf89784=_0x584936;this[_0xf89784(0xd1)][_0xf89784(0x369)](!0x0);}),(this[_0x584936(0x2fc)]=_0x8c4fde,this[_0x584936(0x36f)]=_0x5bb999,this[_0x584936(0x1db)]=_0x205430,this['_commandService']=_0x273a73,this[_0x584936(0x37a)]=_0x41525a,this[_0x584936(0x307)]=_0x263282,this['_init'](),this[_0x584936(0x1fa)]());}[_0x45f501(0x1f6)](){const _0x278ed7=_0x45f501;this[_0x278ed7(0x211)](),this['_subjectViewChange'](),this[_0x278ed7(0x1c2)](),this[_0x278ed7(0x2a7)]();}[_0x45f501(0x10d)](){const _0x16e8d5=_0x45f501;this[_0x16e8d5(0x37a)][_0x16e8d5(0x11c)](this['_globalSubject']),_0x7d04ba['PivotTable']['registerCallbackWithEvent'](_0x7d04ba[_0x16e8d5(0xa5)][_0x16e8d5(0x158)],this[_0x16e8d5(0x23c)]),_0x7d04ba[_0x16e8d5(0x1fe)][_0x16e8d5(0x150)](_0x7d04ba[_0x16e8d5(0xa5)]['onQueryEnd'],this[_0x16e8d5(0x23e)]);}[_0x45f501(0x1fa)](){const _0x1bdf3b=_0x45f501;this[_0x1bdf3b(0x280)](this['_commandService'][_0x1bdf3b(0xc1)](_0x30201f=>{const _0x100ead=_0x1bdf3b;_0x30201f['id']===_0x401092[_0x100ead(0x9e)]['id']&&this[_0x100ead(0x2fc)][_0x100ead(0x161)](_0x30201f[_0x100ead(0x140)]);})),this[_0x1bdf3b(0x280)](this['_commandService'][_0x1bdf3b(0xc1)](_0xee26b4=>{const _0xb3d29=_0x1bdf3b;if(_0xee26b4['id']!==_0x5dba1f['id'])return;const _0x33b2ca=_0xee26b4[_0xb3d29(0x140)],{unitId:_0x422a1e,subUnitId:_0x181ef6,pivotTableId:_0x400801}=_0x33b2ca,_0x3bfa0b=_0x33b2ca['params']['type'],_0x4b3652={};switch(_0x3bfa0b){case _0x240b92['Filter']:{const _0x1e493f=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0xc6)];if(!_0x1e493f)return;const {row:_0x9d25d2,col:_0xf0321c,cellData:_0x3c525e,pivotItemRenderInfoCache:_0x44984a,tableFieldId:_0x4ab851}=_0x1e493f,_0x45e547=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x33b2ca[_0xb3d29(0xe2)]);if(!_0x45e547||!_0x44984a)return;if(_0x4ab851){const _0x128ef4=_0x45e547[_0xb3d29(0x2b2)](_0x4ab851);if(!_0x128ef4)return;_0x4b3652[_0xb3d29(0xc6)]={..._0x45e547[_0xb3d29(0x172)](_0x128ef4),'tableFieldId':_0x4ab851,'pivotTableId':_0x33b2ca[_0xb3d29(0xe2)],'filterInfo':_0x45e547[_0xb3d29(0x2a5)](_0x4ab851),'sortInfo':_0x45e547['getSortInfo'](_0x4ab851),'format':_0x45e547[_0xb3d29(0x2af)](_0x4ab851)};}else{const _0x3f11ee=_0x4e5185(_0x9d25d2,_0xf0321c,_0x3c525e,_0x45e547,_0x44984a),_0x1319e1=_0x3f11ee==null?void 0x0:_0x3f11ee[_0xb3d29(0xab)];if(!_0x1319e1)return;const _0x5cb29d=_0x45e547[_0xb3d29(0x2b2)](_0x1319e1);if(!_0x5cb29d)return;_0x4b3652['filter']={..._0x45e547['getDataFieldItemInfo'](_0x5cb29d),'tableFieldId':_0x1319e1,'pivotTableId':_0x33b2ca[_0xb3d29(0xe2)],'filterInfo':_0x45e547[_0xb3d29(0x2a5)](_0x1319e1),'sortInfo':_0x45e547[_0xb3d29(0xe6)](_0x1319e1),'format':_0x45e547[_0xb3d29(0x2af)](_0x1319e1)};}}break;case _0x240b92[_0xb3d29(0x17a)]:{const _0x82a885=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x27a)];if(!_0x82a885)return;const {pivotTableId:_0xb3a22e}=_0x82a885,_0x3b687c=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0xb3a22e);if(!_0x3b687c)return;const _0x2fee24=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0xb3a22e),_0x13ee8d=_0x342f43(_0x3b687c,_0xb3a22e,_0x2fee24);_0x4b3652['panel']=_0x13ee8d;}break;case _0x240b92[_0xb3d29(0x271)]:{const _0xc6df8=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801),_0x359ab3=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x10f)](_0x422a1e),_0x4fd62e=_0x359ab3['getCollection'](_0x400801);let _0xc41fd5=null;const _0x3cda13=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801),_0x4b2ac2=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x261)];if(!_0xc6df8||!_0x3cda13||!_0x4b2ac2)return!0x1;const {dataFieldId:_0x125d4c,fieldArea:_0x4de08b,index:_0x1a8a4c}=_0x4b2ac2;_0xc6df8['startCollectChangeset']();const _0x3c7bb1=_0xc6df8[_0xb3d29(0x249)](_0x125d4c,_0x4de08b,_0x1a8a4c);if(_0x3c7bb1&&_0x4de08b===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)]){const _0xf34dc7=_0x3c7bb1[_0xb3d29(0x114)](),_0x3939e4=_0xc6df8[_0xb3d29(0x2b2)](_0xf34dc7);if(_0x3939e4){const _0x23dd44=_0x3939e4==null?void 0x0:_0x3939e4[_0xb3d29(0x385)]();_0xc6df8[_0xb3d29(0x34e)](_0x3c7bb1[_0xb3d29(0x114)](),_0x23dd44===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)]['sum']:_0x7d04ba['PivotSubtotalTypeEnum']['count']);}const _0x5ed776=_0xc6df8[_0xb3d29(0x2d8)](),_0x501dc9=_0xc6df8['getValuePosition'](),_0x514fc5=_0xc6df8[_0xb3d29(0x1ad)](_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x3a8)]);if(_0x5ed776===-0x1&&_0x514fc5>0x1){const _0xbae4b1=_0x501dc9===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x250)]?_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)]:_0x501dc9,_0x3b663c=_0xbae4b1===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0xfb)]?_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0xfb)]:_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x164)];_0xc6df8['updateValuePosition'](_0xbae4b1,_0xc6df8[_0xb3d29(0x1ad)](_0x3b663c));}}else{if(_0x3c7bb1&&(_0x4de08b===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]||_0x4de08b===_0x7d04ba[_0xb3d29(0x39c)]['Column'])){const _0x37e116=_0x3c7bb1[_0xb3d29(0x114)](),_0x2d533a=_0xc6df8[_0xb3d29(0x2b2)](_0x37e116);if(_0x2d533a&&(_0x2d533a==null?void 0x0:_0x2d533a[_0xb3d29(0x385)]())===_0x7d04ba[_0xb3d29(0x2b9)]['date']){const _0x39f7fa=_0x2d533a[_0xb3d29(0x155)]();if(_0x39f7fa&&_0xc6df8['setFieldFormat'](_0x3c7bb1[_0xb3d29(0x114)](),_0x39f7fa),!_0x4fd62e['getFieldIds']()[_0xb3d29(0x263)](_0x22230d=>{const _0x1ae60c=_0xb3d29,_0x4930cd=_0x4fd62e['getFieldById'](_0x22230d);return _0x7d04ba['isDateGroupField'](_0x4930cd)?_0x4930cd[_0x1ae60c(0x38a)]()[_0x1ae60c(0x36b)]===_0x125d4c:!0x1;})){const _0x54d52a=_0x359ab3['createDataFieldId'](),_0x1c65e8=_0xd41ced(_0x2d533a[_0xb3d29(0x390)],_0x2d533a['minDate']),_0x510822=_0x2d533a[_0xb3d29(0xdd)]()+_0xb3d29(0x2cf)+_0x419e11(this[_0xb3d29(0x307)],_0x1c65e8),_0x59926f=new _0x7d04ba[(_0xb3d29(0x3b3))](_0x54d52a,_0x510822,_0x7d04ba[_0xb3d29(0x33a)](0x3),_0x2d533a['getId'](),_0x1c65e8);_0x359ab3['addDataFieldWithoutUnitInfo'](_0x59926f),_0x4fd62e[_0xb3d29(0xc2)](_0x54d52a,_0x510822),_0xc6df8[_0xb3d29(0x249)](_0x54d52a,_0x4de08b,(_0x1a8a4c!=null?_0x1a8a4c:0x0)+0x1),_0xc41fd5=_0x59926f;}}}}const _0x27f023=_0xc6df8[_0xb3d29(0x393)](),_0x40470=_0xc6df8[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)]();let _0x33c8ff;if(_0xc41fd5){_0x33c8ff=_0xc41fd5[_0xb3d29(0x19a)]();const _0x3caeab=_0xc41fd5[_0xb3d29(0x114)]();_0x4fd62e['deleteField'](_0x3caeab);let _0x58eb55=!0x0;for(const _0x5220a2 in _0x359ab3['collections'])if(_0x359ab3[_0xb3d29(0x2ea)][_0x5220a2][_0xb3d29(0xb1)]()[_0xb3d29(0xc4)](_0x3caeab)){_0x58eb55=!0x1;break;}_0x58eb55&&_0x359ab3[_0xb3d29(0xed)](_0x3caeab);}const _0x32b896=_0xc6df8[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x261)]={'view':_0x40470,'changesets':_0x32b896,'isEmpty':_0x27f023,'pivotTableConfig':_0x3cda13,'shouldBeAddedGroupJSON':_0x33c8ff};}break;case _0x240b92[_0xb3d29(0x1c4)]:{const _0xb8c41c=_0x33b2ca['params'][_0xb3d29(0x294)];if(!_0xb8c41c)return;const _0x2d73b2=_0xb8c41c[_0xb3d29(0x206)],_0x37d6c5=_0xb8c41c[_0xb3d29(0xe2)],{collection:_0xc1fc70}=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x3a0)]({'unitId':_0x2d73b2[_0xb3d29(0x20d)],'sheetName':_0x2d73b2['sheetName'],'subUnitId':_0x2d73b2[_0xb3d29(0x15b)],'range':_0x2d73b2[_0xb3d29(0xac)]}),_0x2a3f1d=new _0x7d04ba[(_0xb3d29(0x1fe))](_0xc1fc70,void 0x0,_0x37d6c5),_0x58364e=_0x2a3f1d['query'](),_0x466b28=_0x2a3f1d[_0xb3d29(0x19a)](),_0x5822d2=_0xc1fc70[_0xb3d29(0x19a)]();_0x4b3652['addPivotTable']={'view':_0x58364e,'fieldsConfig':_0x466b28,'collectionConfig':_0x5822d2,'isEmpty':_0x2a3f1d[_0xb3d29(0x393)]()};}break;case _0x240b92['MovePivotField']:{const _0x38e657=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x273)];if(!_0x38e657)return;const {fieldId:_0x6493d,area:_0x463184,index:_0x3abb44}=_0x38e657,_0x4c8323=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x4c8323)return;const _0x339cd8=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801);if(!_0x339cd8)return;_0x339cd8['startCollectChangeset']();const {area:_0x31c24e,index:_0x19aee0}=_0x339cd8[_0xb3d29(0x2e8)](_0x6493d);if(_0x339cd8[_0xb3d29(0xc3)](_0x6493d,_0x463184,_0x3abb44),_0x463184===_0x7d04ba['PivotTableFiledAreaEnum']['Value']&&_0x339cd8['getTableFieldById'](_0x6493d)[_0xb3d29(0x1d6)]()===void 0x0){const _0x2588e6=_0x339cd8[_0xb3d29(0x144)](_0x6493d);if(_0x2588e6&&_0x2588e6[_0xb3d29(0x1d6)]()===void 0x0){const _0x2c371d=_0x339cd8['getDataFieldByTableId'](_0x6493d);if(_0x2c371d){const _0x15cb24=_0x2c371d==null?void 0x0:_0x2c371d[_0xb3d29(0x385)]();_0x339cd8['setSubtotalType'](_0x6493d,_0x15cb24===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x246)]:_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x380)]);}}}const _0x3aea92=_0x339cd8[_0xb3d29(0x34f)](),_0x5b315e=_0x339cd8[_0xb3d29(0x2d8)](),_0xbb7f0a=_0x339cd8[_0xb3d29(0x1ad)](_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)])>0x1;if(_0xbb7f0a&&_0x31c24e===_0x463184&&(_0x463184===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0xfb)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum']['Row']||_0x463184===_0x7d04ba['PivotTableFiledAreaEnum']['Column']&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)])){let _0x5650b1=_0x5b315e;_0x19aee0<=_0x5b315e&&_0x5650b1--,_0x3abb44<=_0x5b315e&&_0x5650b1++,_0x339cd8[_0xb3d29(0xf1)](_0x3aea92,_0x5650b1);}else _0xbb7f0a&&(_0x31c24e===_0x7d04ba[_0xb3d29(0x39c)]['Row']&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0xfb)]||_0x31c24e===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x164)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum'][_0xb3d29(0x164)])&&_0x5b315e>=_0x19aee0&&_0x339cd8['updateValuePosition'](_0x3aea92,_0x5b315e-0x1),_0xbb7f0a&&(_0x463184===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum'][_0xb3d29(0xfb)]||_0x463184===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x164)]&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)])&&_0x5b315e>=_0x3abb44&&_0x339cd8[_0xb3d29(0xf1)](_0x3aea92,_0x5b315e+0x1);const _0x309591=_0x339cd8[_0xb3d29(0x25a)](),_0x552675=_0x339cd8[_0xb3d29(0x393)](),_0x5ee9d0=_0x339cd8[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x273)]={'view':_0x309591[_0xb3d29(0x19a)](),'changesets':_0x5ee9d0,'isEmpty':_0x552675,'pivotTableConfig':_0x4c8323};}break;case _0x240b92[_0xb3d29(0x2ef)]:{const _0x32eceb=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x1ab)];if(!_0x32eceb)return;const _0x4e8394=_0x32eceb[_0xb3d29(0x37b)],_0x56204c=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x56204c)return!0x1;const _0x4e6476=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801);if(!_0x4e6476)return!0x1;_0x4e6476[_0xb3d29(0x336)]();for(const _0x13d569 of _0x4e8394){const {area:_0x5c5d74}=_0x4e6476[_0xb3d29(0x2e8)](_0x13d569);_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x3a8)]&&_0x4e6476[_0xb3d29(0xbd)](_0x13d569),(_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]||_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)]['Column'])&&_0x4e6476[_0xb3d29(0x2df)](_0x13d569),_0x4e6476['removeField'](_0x13d569);}const _0x1c212c=_0x4e6476[_0xb3d29(0x393)](),_0x5b67d3=_0x4e6476[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x1f1207=_0x4e6476['endCollectChangeset']();_0x4b3652[_0xb3d29(0x1ab)]={'changesets':_0x1f1207,'pivotTableConfig':_0x56204c,'isEmpty':_0x1c212c,'view':_0x5b67d3};}break;case _0x240b92[_0xb3d29(0x315)]:{const _0x4f898b=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x160)];if(!_0x4f898b)return;const {tableFieldId:_0x7f0c5f,items:_0x5b2584,isAll:_0x4eed8a}=_0x4f898b,_0x41a97c=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x4ae62c=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x41a97c||!_0x4ae62c)return;_0x41a97c['startCollectChangeset'](),_0x41a97c[_0xb3d29(0x19c)](_0x7f0c5f,{'type':_0x7d04ba[_0xb3d29(0x224)]['ManualFilter'],'list':_0x5b2584,'isAll':_0x4eed8a});const _0x50dad0=_0x41a97c[_0xb3d29(0x393)](),_0x1614fa=_0x41a97c['query']()[_0xb3d29(0x19a)](),_0x2c5488=_0x41a97c['endCollectChangeset']();_0x4b3652[_0xb3d29(0x160)]={'view':_0x1614fa,'changesets':_0x2c5488,'isEmpty':_0x50dad0,'pivotTableConfig':_0x4ae62c};}break;case _0x240b92[_0xb3d29(0x13d)]:{const _0x1ff3f2=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x90)];if(!_0x1ff3f2)return;const {tableFieldId:_0x529ce3,filterInfo:_0x3a49bf}=_0x1ff3f2,_0x13d319=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801),_0x2f8e14=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x13d319||!_0x2f8e14)return;_0x13d319[_0xb3d29(0x336)](),_0x13d319[_0xb3d29(0x2fe)](_0x529ce3,_0x3a49bf);const _0x808549=_0x13d319['isEmpty'](),_0x19e3e1=_0x13d319[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x25c15d=_0x13d319['endCollectChangeset']();_0x4b3652['setValuePivotFilter']={'view':_0x19e3e1,'changesets':_0x25c15d,'isEmpty':_0x808549,'pivotTableConfig':_0x2f8e14};}break;case _0x240b92[_0xb3d29(0x282)]:{const _0x2f5187=_0x33b2ca['params'][_0xb3d29(0x2f0)];if(!_0x2f5187)return;const {tableFieldId:_0x540e0,info:_0x2bb7f5}=_0x2f5187,_0x5bfeab=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x2d1edd=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x5bfeab||!_0x2d1edd)return;_0x5bfeab[_0xb3d29(0x336)](),_0x5bfeab['setSortInfo'](_0x540e0,_0x2bb7f5);const _0x2b36eb=_0x5bfeab[_0xb3d29(0x393)](),_0x17cbd8=_0x5bfeab[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x54ac62=_0x5bfeab[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x2f0)]={'view':_0x17cbd8,'changesets':_0x54ac62,'isEmpty':_0x2b36eb,'pivotTableConfig':_0x2d1edd};}break;case _0x240b92[_0xb3d29(0x214)]:{const _0xda1803=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x1d5)];if(!_0xda1803)return;const {tableFieldId:_0x2b277d,displayName:_0x2c2c1c,subtotalType:_0x4e9cdf,format:_0x432b64}=_0xda1803,_0x3e1beb=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x184d1b=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x3e1beb||!_0x184d1b)return;_0x3e1beb[_0xb3d29(0x336)](),_0x2c2c1c!==void 0x0&&_0x3e1beb[_0xb3d29(0x191)](_0x2b277d,_0x2c2c1c),_0x4e9cdf!==void 0x0&&_0x3e1beb[_0xb3d29(0x34e)](_0x2b277d,_0x4e9cdf),_0x432b64!==void 0x0&&_0x3e1beb['setFieldFormat'](_0x2b277d,_0x432b64);const _0x1ea987=_0x3e1beb['isEmpty'](),_0x4b5bc1=_0x3e1beb['query']()[_0xb3d29(0x19a)](),_0x53d2a1=_0x3e1beb[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x1d5)]={'changesets':_0x53d2a1,'pivotTableConfig':_0x184d1b,'isEmpty':_0x1ea987,'view':_0x4b5bc1};}break;case _0x240b92[_0xb3d29(0x149)]:{const _0x20a63c=_0x33b2ca['params']['updatePivotSource'];if(!_0x20a63c)return;const {dataRangeInfo:_0x16bd9d,unitId:_0x2ce212,subUnitId:_0x293a74}=_0x20a63c,_0x2e8c6b=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x2ce212,_0x293a74,_0x400801),_0x436ea9=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801);if(!this['_sheetsPivotDataSourceModel'][_0xb3d29(0x300)](_0x2ce212,_0x400801)||!_0x436ea9||!_0x2e8c6b)return;const _0x2599a1=this[_0xb3d29(0x2fc)][_0xb3d29(0x382)](_0x2ce212,_0x400801,_0x16bd9d),_0x480772=this[_0xb3d29(0x2fc)][_0xb3d29(0x300)](_0x2ce212,_0x400801)[_0xb3d29(0x19a)](),{collection:_0x1da5c9}=this[_0xb3d29(0x2fc)][_0xb3d29(0x3a0)]({'unitId':_0x16bd9d[_0xb3d29(0x20d)],'sheetName':_0x16bd9d[_0xb3d29(0x13e)],'subUnitId':_0x16bd9d[_0xb3d29(0x15b)],'range':_0x16bd9d[_0xb3d29(0xac)]}),_0x4336f6=_0x1da5c9[_0xb3d29(0x19a)]();_0x436ea9[_0xb3d29(0x336)]();const _0x5b838a=this[_0xb3d29(0x2fc)][_0xb3d29(0x10f)](_0x2ce212)[_0xb3d29(0x199)]()||_0x7d04ba[_0xb3d29(0x327)];_0x436ea9[_0xb3d29(0x388)](_0x1748fd=>{const _0x71495a=_0xb3d29,_0x3ab999=_0x1748fd[_0x71495a(0x2ac)]();if(!_0x1da5c9[_0x71495a(0x2d3)](_0x3ab999)){const _0x5ada6f=_0x1da5c9['getDataFieldBySourceName'](_0x1748fd[_0x71495a(0x24f)]());if(_0x5ada6f){_0x436ea9[_0x71495a(0x27f)](_0x1748fd['getId'](),_0x5ada6f[_0x71495a(0xdd)](),_0x5ada6f[_0x71495a(0x114)]());const {area:_0x3e0b4b}=_0x436ea9[_0x71495a(0x2e8)](_0x1748fd[_0x71495a(0x114)]());let _0xd11f57=_0x1748fd[_0x71495a(0x24f)]();const _0x30a0a6=_0x1748fd[_0x71495a(0x3bd)]();if(_0x3e0b4b===_0x7d04ba[_0x71495a(0x39c)][_0x71495a(0x3a8)]){const _0x43bedb=_0x1748fd[_0x71495a(0x1d6)]();_0xd11f57=_0x5b838a(_0x5ada6f['getName'](),_0x43bedb);}_0x30a0a6!==_0xd11f57&&_0x436ea9[_0x71495a(0x191)](_0x1748fd[_0x71495a(0x114)](),_0xd11f57);}else _0x436ea9[_0x71495a(0x18c)](_0x1748fd['getId']());}});const _0x36feb2=_0x436ea9['isEmpty'](),_0xf6d0e2=_0x436ea9[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x4f1a20=_0x436ea9[_0xb3d29(0xbc)]();_0x4b3652['updatePivotSource']={'view':_0xf6d0e2,'changesets':_0x4f1a20,'isEmpty':_0x36feb2,'pivotTableConfig':_0x2e8c6b,'collectionConfig':_0x4336f6,'oldCollectionConfig':_0x480772,'deleteIds':_0x2599a1};}break;case _0x240b92[_0xb3d29(0x284)]:{const _0x4f47fc=_0x33b2ca[_0xb3d29(0x140)]['updateValuePosition'];if(!_0x4f47fc)return;const {position:_0x37340d,index:_0x125a7e}=_0x4f47fc,_0x2a1d27=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x2a1d27)return!0x1;const _0x133ede=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801);if(!_0x133ede)return!0x1;_0x133ede['startCollectChangeset'](),_0x133ede[_0xb3d29(0xf1)](_0x37340d,_0x125a7e);const _0x170b0e=_0x133ede[_0xb3d29(0x393)](),_0xc85642=_0x133ede[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x2a9153=_0x133ede[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0xf1)]={'changesets':_0x2a9153,'pivotTableConfig':_0x2a1d27,'isEmpty':_0x170b0e,'view':_0xc85642};}break;case _0x240b92[_0xb3d29(0x221)]:{const _0x329e51=_0x33b2ca['params'][_0xb3d29(0x1d1)];if(!_0x329e51)return;const {tableFieldId:_0xe4a3c3,collapse:_0x442bc5,item:_0x438c14}=_0x329e51,_0x92d183=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801),_0x4b8eac=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x92d183||!_0x4b8eac)return;_0x92d183[_0xb3d29(0x336)](),_0x92d183['setCollapse'](_0xe4a3c3,_0x442bc5,_0x438c14);const _0x2ea821=_0x92d183['isEmpty'](),_0xbb2e28=_0x92d183[_0xb3d29(0x25a)]()['toJSON'](),_0x578f8f=_0x92d183[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x1d1)]={'view':_0xbb2e28,'isEmpty':_0x2ea821,'pivotTableConfig':_0x4b8eac,'changesets':_0x578f8f};}break;case _0x240b92[_0xb3d29(0x356)]:{const _0x16a3f5=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x2fb)];if(!_0x16a3f5)return;const {pivotTableConfig:_0x5d168c}=_0x16a3f5,_0x1af943=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x202cae=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x1af943||!_0x202cae)return;_0x1af943[_0xb3d29(0x336)](),_0x520673(_0x1af943,_0x5d168c);const _0x521117=_0x1af943[_0xb3d29(0x393)](),_0x21559a=_0x1af943[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x4b525f=_0x1af943[_0xb3d29(0xbc)]();_0x4b3652['setPivotTableConfig']={'view':_0x21559a,'isEmpty':_0x521117,'pivotTableConfig':{..._0x202cae,'fieldsConfig':_0x1af943[_0xb3d29(0x19a)]()},'changesets':_0x4b525f};}break;case _0x240b92['ResetPivotTable']:{const _0x1a1f2e=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x3a1)];if(!_0x1a1f2e)return;const _0x1173ed=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801),_0x324b09=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x1173ed||!_0x324b09)return;_0x1173ed[_0xb3d29(0x336)](),_0x2d7e0c(_0x1173ed,_0x1a1f2e[_0xb3d29(0x331)]);const _0x380db4=_0x1173ed[_0xb3d29(0x25a)]()['toJSON'](),_0xab1b0d=_0x1173ed[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x3a1)]={'view':_0x380db4,'isEmpty':!0x0,'pivotTableConfig':{..._0x324b09,'fieldsConfig':_0x1173ed[_0xb3d29(0x19a)]()},'changesets':_0xab1b0d};}break;case _0x240b92[_0xb3d29(0x217)]:{const _0x3eb97b=_0x33b2ca['params'][_0xb3d29(0x184)];if(!_0x3eb97b)return;const _0x4136fc=_0x3eb97b[_0xb3d29(0x206)],_0x4f91b6=_0x3eb97b[_0xb3d29(0xe2)],{collection:_0xbcc743}=this[_0xb3d29(0x2fc)][_0xb3d29(0x3a0)]({'unitId':_0x4136fc['unitId'],'sheetName':_0x4136fc[_0xb3d29(0x13e)],'subUnitId':_0x4136fc[_0xb3d29(0x15b)],'range':_0x4136fc[_0xb3d29(0xac)]}),_0x315e3c=new _0x7d04ba[(_0xb3d29(0x1fe))](_0xbcc743,void 0x0,_0x4f91b6),_0x3b7a92=_0xbcc743['getFieldIds'](),{rows:_0x49017b,columns:_0x45a985,filters:_0x3fd844,values:_0x257254}=_0x3eb97b[_0xb3d29(0x288)];_0x315e3c[_0xb3d29(0x336)]();for(const {field:_0x5bd43f,selectedItems:_0x2bf4f5}of _0x49017b||[]){const _0x13a269=_0x3b7a92[_0x5bd43f];if(_0x13a269){const _0x132579=_0x315e3c[_0xb3d29(0x249)](_0x13a269,_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]);_0x2bf4f5&&_0x132579&&_0x315e3c[_0xb3d29(0x19c)](_0x132579[_0xb3d29(0x114)](),{'type':_0x7d04ba[_0xb3d29(0x224)][_0xb3d29(0x119)],'list':_0x2bf4f5,'isAll':!0x1});}}for(const {field:_0x2975fe,selectedItems:_0x4f4f2f}of _0x45a985||[]){const _0x4c31c9=_0x3b7a92[_0x2975fe];if(_0x4c31c9){const _0x57461d=_0x315e3c['addFieldWithSourceId'](_0x4c31c9,_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x164)]);_0x4f4f2f&&_0x57461d&&_0x315e3c[_0xb3d29(0x19c)](_0x57461d[_0xb3d29(0x114)](),{'type':_0x7d04ba['PivotFilterTypeEnum']['ManualFilter'],'list':_0x4f4f2f,'isAll':!0x1});}}for(const {field:_0x3953e2,selectedItems:_0x40987b}of _0x3fd844||[]){const _0x3d3d46=_0x3b7a92[_0x3953e2];if(_0x3d3d46){const _0x459945=_0x315e3c[_0xb3d29(0x249)](_0x3d3d46,_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x302)]);_0x40987b&&_0x459945&&_0x315e3c[_0xb3d29(0x19c)](_0x459945[_0xb3d29(0x114)](),{'type':_0x7d04ba[_0xb3d29(0x224)][_0xb3d29(0x119)],'list':_0x40987b,'isAll':!0x1});}}for(const {field:_0x4a124e,subTotalType:_0x4a5f87,formatString:_0x102b69}of _0x257254||[]){const _0x48ec69=_0xbcc743[_0xb3d29(0x324)](_0x3b7a92[_0x4a124e]);if(!_0x48ec69)continue;const _0x411bae=_0x3b7a92[_0x4a124e];if(_0x411bae){const _0x3f69ea=_0x315e3c[_0xb3d29(0x249)](_0x411bae,_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)]);if(_0x3f69ea){if(_0x4a5f87!==void 0x0){_0x315e3c[_0xb3d29(0x34e)](_0x3f69ea[_0xb3d29(0x114)](),_0x4a5f87);const _0xde873=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x4136fc[_0xb3d29(0x20d)])[_0xb3d29(0x199)]()||_0x7d04ba[_0xb3d29(0x327)],_0x497afa=_0xbcc743[_0xb3d29(0x3bd)](_0x411bae),_0x4802d0=_0xde873(_0x497afa,_0x4a5f87);_0x315e3c[_0xb3d29(0x191)](_0x3f69ea[_0xb3d29(0x114)](),_0x4802d0);}else{if(_0x48ec69){const _0x2d8a15=_0x48ec69==null?void 0x0:_0x48ec69[_0xb3d29(0x385)]();_0x315e3c['setSubtotalType'](_0x3f69ea[_0xb3d29(0x114)](),_0x2d8a15===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x246)]:_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x380)]);}}_0x102b69&&_0x315e3c['setFieldFormat'](_0x3f69ea['getId'](),_0x102b69);}}}const _0x143fbd=_0x315e3c['query'](),_0x4616e8=_0x315e3c[_0xb3d29(0x19a)](),_0x502147=_0x315e3c[_0xb3d29(0x393)](),_0x38c945=_0x315e3c['endCollectChangeset'](),_0x44b767=_0xbcc743['toJSON']();_0x4b3652[_0xb3d29(0x184)]={'view':_0x143fbd,'fieldsConfig':_0x4616e8,'collectionConfig':_0x44b767,'isEmpty':_0x502147,'changesets':_0x38c945};}break;case _0x240b92[_0xb3d29(0x313)]:{const _0x3fb7cb=_0x57ddc5(this[_0xb3d29(0x307)],_0x33b2ca);if(!_0x3fb7cb)return;const {range:_0x3a2f51,sourceSubUnitId:_0x98c6aa,sourceUnitId:_0x3d0ffd,formatMap:_0x1f461a,indexes:_0x26452c}=_0x3fb7cb;_0x4b3652[_0xb3d29(0x2d0)]={'range':_0x3a2f51,'sourceSubUnitId':_0x98c6aa,'sourceUnitId':_0x3d0ffd,'formatMap':_0x1f461a,'indexes':_0x26452c};}break;}this[_0xb3d29(0x345)]['executeCommand'](_0x161053['id'],{'version':_0x33b2ca[_0xb3d29(0x16f)],'result':_0x4b3652},{'onlyLocal':!0x0});}));}[_0x45f501(0x1c2)](){const _0x1af010=_0x45f501;this[_0x1af010(0x280)](this[_0x1af010(0x345)][_0x1af010(0xc1)](_0x2c75e2=>{const _0x42531a=_0x1af010;if(_0x2c75e2['id']!==_0x4af3e0['id'])return;const _0x584cec=_0x2c75e2[_0x42531a(0x140)];return this[_0x42531a(0x2fc)]['setTextInfo'](_0x584cec['textInfo']),!0x0;}));}[_0x45f501(0x211)](){const _0x380f8d=_0x45f501;this[_0x380f8d(0x2fc)][_0x380f8d(0x384)][_0x380f8d(0x396)](_0x33314c=>{const _0x4e35ff=_0x380f8d;switch(_0x33314c['type']){case _0x247849['add']:_0x33314c[_0x4e35ff(0x98)]&&_0x33314c[_0x4e35ff(0x22f)]&&this['handleSourceRangeChange'](_0x33314c[_0x4e35ff(0xe4)],_0x33314c[_0x4e35ff(0x98)],_0x33314c[_0x4e35ff(0x22f)]);break;case _0x247849[_0x4e35ff(0x226)]:{const {unitId:_0x302904,subUnitId:_0x28768d,token:_0xdebac4}=_0x33314c;_0x302904&&_0x28768d&&_0xdebac4&&this[_0x4e35ff(0xd8)](_0x302904,_0x28768d,_0xdebac4);}break;case _0x247849[_0x4e35ff(0x251)]:{const {token:_0x3b26e5,oldSourceRangeInfo:_0x5677af,dataRangeInfo:_0x14db48,targetCellInfo:_0x356453}=_0x33314c,{unitId:_0x51b7e8,subUnitId:_0x5232f6}=_0x5677af||{};_0x51b7e8&&_0x5232f6&&_0x3b26e5&&this[_0x4e35ff(0xd8)](_0x51b7e8,_0x5232f6,_0x3b26e5),_0x14db48&&_0x356453&&this[_0x4e35ff(0x2be)](_0x3b26e5,_0x14db48,_0x356453);}break;}});}['_subjectFieldsCollectionChange'](){const _0x23effa=_0x45f501;this[_0x23effa(0x2fc)][_0x23effa(0x316)][_0x23effa(0x396)](_0x49f0d5=>{const _0x1ec147=_0x23effa;Object[_0x1ec147(0x374)](_0x49f0d5)['forEach'](_0x269c6b=>{const _0x108b35=_0x1ec147,_0x395309=this[_0x108b35(0x2fc)][_0x108b35(0x1b4)](_0x269c6b);if(_0x395309){const _0x5755de=this[_0x108b35(0x2fc)][_0x108b35(0x21f)](_0x395309==null?void 0x0:_0x395309[_0x108b35(0x20d)],_0x395309==null?void 0x0:_0x395309[_0x108b35(0x15b)],_0x269c6b);_0x5755de&&(this['handleSourceRangeChange'](_0x269c6b,_0x5755de[_0x108b35(0x206)],_0x5755de['targetCellInfo']),this[_0x108b35(0x371)]([{'unitId':_0x395309[_0x108b35(0x20d)],'subUnitId':_0x395309['subUnitId'],'token':_0x269c6b}]));}});});}[_0x45f501(0x1e7)](){this['_sheetsPivotDataSourceModel']['viewData$']['subscribe'](_0x2b30e0=>{const _0x5b5ece=_0x554c,{unitId:_0x5b21f1,subUnitId:_0x515987,pivotTableId:_0x1058c2}=_0x2b30e0;_0x5b21f1&&_0x515987&&_0x1058c2&&this[_0x5b5ece(0x371)]([{'unitId':_0x5b21f1,'subUnitId':_0x515987,'token':_0x1058c2}]);});}['triggerDirtyFeature'](_0x4f6f45){const _0x4bedf6=_0x45f501,_0x33d03f={};_0x4f6f45[_0x4bedf6(0x106)](_0x5e104f=>{var _0x2ac7cd,_0x4b8624;const {unitId:_0x5b7c57,subUnitId:_0x1caa0a,token:_0x51a43e}=_0x5e104f;_0x33d03f[_0x5b7c57]=(_0x2ac7cd=_0x33d03f[_0x5b7c57])!=null?_0x2ac7cd:{},_0x33d03f[_0x5b7c57][_0x1caa0a]=(_0x4b8624=_0x33d03f[_0x5b7c57][_0x1caa0a])!=null?_0x4b8624:{},_0x33d03f[_0x5b7c57][_0x1caa0a][_0x51a43e]=!0x0;}),this[_0x4bedf6(0x345)]['executeCommand'](_0x25680d['id'],_0x33d03f);}[_0x45f501(0xd8)](_0x10a8b9,_0x1063e6,_0x5b7609){const _0x47ea03=_0x45f501;this['_featureCalculationManagerService'][_0x47ea03(0x344)](_0x10a8b9,_0x1063e6,[_0x5b7609]);}[_0x45f501(0x2be)](_0xeb961b,_0x113325,_0x1c0698){const _0x499749=_0x45f501,{unitId:_0x5213dd,subUnitId:_0x57c916}=_0x113325;this[_0x499749(0x1db)][_0x499749(0x32d)](_0x1c0698[_0x499749(0x20d)],_0x1c0698[_0x499749(0x15b)],_0xeb961b)&&this[_0x499749(0xd8)](_0x5213dd,_0x57c916,_0xeb961b);const _0x5096a4={'sheetId':_0x57c916,..._0x113325};this[_0x499749(0x1db)][_0x499749(0x18d)](_0x1c0698['unitId'],_0x1c0698[_0x499749(0x15b)],_0xeb961b,{'unitId':_0x1c0698[_0x499749(0x20d)],'subUnitId':_0x1c0698[_0x499749(0x15b)],'dependencyRanges':[_0x5096a4],'getDirtyData':(_0x228609,_0xf51137)=>{const _0x457cd2=_0x499749,_0x60dbe9=this[_0x457cd2(0x2fc)],_0xcf9fc7=_0x60dbe9[_0x457cd2(0x1b4)](_0xeb961b);if(!_0xcf9fc7)return _0x2f3374();const {unitId:_0x1f79eb,subUnitId:_0x483bf5}=_0xcf9fc7,_0x587490=_0x135e1f(_0x228609,_0xf51137,_0x113325);if(_0x587490[_0x457cd2(0xa8)]>0x0){const _0x2f5f8c=_0x60dbe9['getCollection'](_0x5213dd,_0xeb961b),_0x34039e=_0x2f5f8c[_0x457cd2(0xb1)](),_0x322ac5=this[_0x457cd2(0xb9)](_0x113325['unitId'],_0x113325[_0x457cd2(0x15b)],_0xf51137),_0x6d78e8={},_0x17a106=this[_0x457cd2(0x2fc)][_0x457cd2(0x10f)](_0x1f79eb)[_0x457cd2(0x199)]()||_0x7d04ba['getAutoDisplayName'],_0x6366dc=[];for(const _0x59d3d2 of _0x587490){const _0x2cc857=_0x59d3d2-(_0x113325['range'][_0x457cd2(0x212)]||0x0),_0x3f85de=_0x34039e[_0x2cc857];_0x6366dc[_0x457cd2(0x373)](_0x3f85de),_0x6d78e8[_0x3f85de]=_0x2f5f8c[_0x457cd2(0x324)](_0x3f85de)[_0x457cd2(0xdd)](),_0x60dbe9[_0x457cd2(0x10f)](_0x5213dd)[_0x457cd2(0x1e5)](_0x3f85de,_0x113325,_0x2cc857,_0x322ac5);}_0x2f5f8c[_0x457cd2(0x171)](_0x6366dc)[_0x457cd2(0x106)](_0x1a3462=>{const _0x525775=_0x457cd2,[_0x58f354,_0x316665]=_0x1a3462,_0x100cd5=_0x2f5f8c[_0x525775(0x324)](_0x58f354),_0x3027cb=_0x2f5f8c[_0x525775(0x324)](_0x316665);_0x100cd5&&_0x3027cb&&_0x100cd5['refreshGroupField'](_0x3027cb);}),_0x2f5f8c[_0x457cd2(0xcb)]();const _0x545d80=_0x60dbe9[_0x457cd2(0x93)](_0xeb961b);if(_0x545d80){_0x2323c3(_0x545d80,_0x6d78e8,_0x17a106),_0x545d80[_0x457cd2(0xb3)](!0x0);const _0x541dab=_0x545d80['query'](),_0x379eeb=_0x60dbe9['getPivotTableConfig'](_0x1f79eb,_0x483bf5,_0xeb961b),_0x368cae=_0x60dbe9[_0x457cd2(0x10f)](_0x5213dd)['toJSON']();_0x60dbe9[_0x457cd2(0x131)](_0x1f79eb,_0x483bf5,_0x3c03d6[_0x457cd2(0x1b6)],_0xeb961b,_0x541dab,_0x379eeb,_0x368cae,!0x0);}}return this[_0x457cd2(0x2de)](_0x1f79eb,_0x483bf5,_0xeb961b);}});}[_0x45f501(0xb9)](_0x248893,_0x4f73e2,_0x2a64e4){var _0x3f3e31,_0x17de51;const {arrayFormulaCellData:_0x358bae,unitData:_0x11dfcb}=_0x2a64e4,_0x1b9254=(_0x3f3e31=_0x358bae==null?void 0x0:_0x358bae[_0x248893])==null?void 0x0:_0x3f3e31[_0x4f73e2],_0x4bc26e=(_0x17de51=_0x11dfcb==null?void 0x0:_0x11dfcb[_0x248893])==null?void 0x0:_0x17de51[_0x4f73e2];return{'arrayFormulaCellDataMatrix':_0x1b9254,'unitDataMatrix':_0x4bc26e};}['getDirtyInfo'](_0x23c6df,_0x1b3854,_0x8b37df){const _0x293de9=_0x45f501,_0x2fbd84=this['_sheetsPivotDataSourceModel'][_0x293de9(0x21a)](_0x23c6df,_0x1b3854,_0x8b37df),_0x1277a7=[],_0x2010cb=new _0xaebd85['ObjectMatrix']();if(_0x2fbd84){const {rangeCache:_0x4156d6,matrix:_0x590f66,oldRangeCache:_0x2b0558,oldMatrix:_0x4cef95}=_0x2fbd84,_0x383e3c=_0x109750(_0x2b0558),_0x49f15f=_0x109750(_0x4156d6);_0x1277a7[_0x293de9(0x373)](..._0x49f15f,..._0x383e3c),_0x4cef95&&_0x2b0558&&_0x383e3c[_0x293de9(0x106)](_0x266c09=>{const _0x57c14c=_0x293de9;for(let _0x1b484d=_0x266c09[_0x57c14c(0x38c)];_0x1b484d<=_0x266c09['endRow'];_0x1b484d++)for(let _0x378ffe=_0x266c09[_0x57c14c(0x212)];_0x378ffe<=_0x266c09[_0x57c14c(0x1e3)];_0x378ffe++)_0x2010cb[_0x57c14c(0x92)](_0x1b484d,_0x378ffe);}),_0x590f66&&_0x49f15f&&_0x49f15f[_0x293de9(0x106)](_0x5ecb6c=>{const _0x305531=_0x293de9;for(let _0x18b9ab=_0x5ecb6c[_0x305531(0x38c)];_0x18b9ab<=_0x5ecb6c[_0x305531(0x2fd)];_0x18b9ab++)for(let _0x1f4a47=_0x5ecb6c[_0x305531(0x212)];_0x1f4a47<=_0x5ecb6c[_0x305531(0x1e3)];_0x1f4a47++)_0x2010cb[_0x305531(0x1a7)](_0x18b9ab,_0x1f4a47,_0x590f66['getValue'](_0x18b9ab,_0x1f4a47));});}const _0x421b33={};return _0x421b33[_0x23c6df]={[_0x1b3854]:_0x4943bd(_0x1277a7)},{'runtimeCellData':{[_0x23c6df]:{[_0x1b3854]:_0x2010cb}},'dirtyRanges':_0x421b33};}[_0x45f501(0x24e)](){}};_0x2f9c40=_0x2f1351([_0x2ca468(0x0,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x156)])),_0x2ca468(0x1,_0xaebd85['IConfigService']),_0x2ca468(0x2,_0xaebd85[_0x45f501(0x305)](_0x33633f[_0x45f501(0xee)])),_0x2ca468(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0x2ca468(0x4,_0xaebd85['Inject'](_0x33633f[_0x45f501(0x177)])),_0x2ca468(0x5,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)]))],_0x2f9c40);var _0x4553b5=Object[_0x45f501(0x30e)],_0x4e8ddd=(_0x193c1c,_0x41403d,_0xaca1d2,_0x574d59)=>{const _0x464d07=_0x45f501;for(var _0x4fffed=_0x574d59>0x1?void 0x0:_0x574d59?_0x4553b5(_0x41403d,_0xaca1d2):_0x41403d,_0x31b8c3=_0x193c1c[_0x464d07(0xa8)]-0x1,_0x561ee3;_0x31b8c3>=0x0;_0x31b8c3--)(_0x561ee3=_0x193c1c[_0x31b8c3])&&(_0x4fffed=_0x561ee3(_0x4fffed)||_0x4fffed);return _0x4fffed;},_0x47a787=(_0x56be32,_0x4ff887)=>(_0x24d553,_0x5557de)=>_0x4ff887(_0x24d553,_0x5557de,_0x56be32);let _0x30345c=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x40dd73,_0x35b2d4,_0x2afebc,_0x154e60){const _0x214ec8=_0x45f501;super(),_0x1f3ba2(this,_0x214ec8(0x1b2),new _0xaebd85[(_0x214ec8(0x197))]()),(this['_univerInstanceService']=_0x40dd73,this['_sheetInterceptorService']=_0x35b2d4,this['_sheetsSelectionsService']=_0x2afebc,this[_0x214ec8(0x186)]=_0x154e60,this['_initClearSelectionCommandInterceptor']());}[_0x45f501(0x34d)](){const _0x3f5b04=_0x45f501;this[_0x3f5b04(0x280)](this[_0x3f5b04(0x3b2)][_0x3f5b04(0x289)]({'getMutations':_0x49d095=>{const _0x51b45d=_0x3f5b04;if(_0x49d095['id']===_0x401092['ClearSelectionContentCommand']['id']||_0x49d095['id']===_0x401092[_0x51b45d(0xa7)]['id']){const _0x47c098=[],_0x595b38=[],_0x1e6723=this[_0x51b45d(0x29b)][_0x51b45d(0x2e5)]()[_0x51b45d(0x258)](_0x4c6db0=>_0x4c6db0[_0x51b45d(0xac)]),_0x4b2101=_0x401092[_0x51b45d(0x364)](this[_0x51b45d(0x33e)]);if(!_0x4b2101)return{'redos':[],'undos':[]};const {unitId:_0x2f7e70,subUnitId:_0xb6849f}=_0x4b2101,_0x567652={},_0x32c9e2=this[_0x51b45d(0x186)]['getSubUnitPivotConfigs'](_0x2f7e70,_0xb6849f);if(_0x32c9e2!=null&&_0x32c9e2[_0x51b45d(0x36e)])for(const [_0x32756f,_0x3114c6]of _0x32c9e2){const {unitId:_0x446e1b,subUnitId:_0x616258,row:_0x579cb9,col:_0x9375a8}=_0x3114c6[_0x51b45d(0x22f)];_0x446e1b===_0x4b2101['unitId']&&_0x616258===_0x4b2101[_0x51b45d(0x15b)]&&(_0x567652[_0x579cb9+'-'+_0x9375a8]=_0x32756f);}return _0x1e6723&&_0x4b2101&&_0x1e6723[_0x51b45d(0x106)](_0x4d2305=>{const _0x272945=_0x51b45d;_0xaebd85[_0x272945(0x233)][_0x272945(0x2c7)](_0x4d2305,(_0x30f88b,_0x4c99a7)=>{const _0x2834e7=_0x272945,_0x516e89=_0x30f88b+'-'+_0x4c99a7;if(_0x567652[_0x516e89]){const _0xf8a09f=_0x567652[_0x516e89];_0x47c098['push']({'id':_0x7ceaf3['id'],'params':{'unitId':_0x2f7e70,'subUnitId':_0xb6849f,'pivotTableId':_0xf8a09f}});const _0x545670=this[_0x2834e7(0x186)][_0x2834e7(0x300)](_0x2f7e70,_0xf8a09f),_0x5bce4a=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x2f7e70,_0xb6849f,_0xf8a09f);_0x595b38[_0x2834e7(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x2f7e70,'subUnitId':_0xb6849f,'pivotTableId':_0xf8a09f,'pivotTableConfig':_0x5bce4a,'collectionConfig':_0x545670}});}});}),{'redos':_0x47c098,'undos':_0x595b38};}return{'redos':[],'undos':[]};}}));}};_0x30345c=_0x4e8ddd([_0x47a787(0x0,_0xaebd85[_0x45f501(0x182)]),_0x47a787(0x1,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x47a787(0x2,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x159)])),_0x47a787(0x3,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)]))],_0x30345c);var _0x22fba4=Object[_0x45f501(0x30e)],_0x556723=(_0x58593f,_0x14c13d,_0x1eadcd,_0x1252e7)=>{const _0x1ea15d=_0x45f501;for(var _0x30c835=_0x1252e7>0x1?void 0x0:_0x1252e7?_0x22fba4(_0x14c13d,_0x1eadcd):_0x14c13d,_0x48da75=_0x58593f[_0x1ea15d(0xa8)]-0x1,_0x100cf0;_0x48da75>=0x0;_0x48da75--)(_0x100cf0=_0x58593f[_0x48da75])&&(_0x30c835=_0x100cf0(_0x30c835)||_0x30c835);return _0x30c835;},_0x4fa29e=(_0x14df7e,_0x56d1df)=>(_0x40fe3e,_0x9b3b1c)=>_0x56d1df(_0x40fe3e,_0x9b3b1c,_0x14df7e);let _0x4f4cbd=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x1a8a61,_0x28db52,_0x5a33bf,_0x123e4f,_0x4e14c6,_0x4a9ff9){const _0x2568c3=_0x45f501;super(),this[_0x2568c3(0xe5)]=_0x1a8a61,this[_0x2568c3(0x3b2)]=_0x28db52,this[_0x2568c3(0x307)]=_0x5a33bf,this[_0x2568c3(0x33e)]=_0x123e4f,this[_0x2568c3(0x186)]=_0x4e14c6,this[_0x2568c3(0x333)]=_0x4a9ff9,this[_0x2568c3(0x296)]();}[_0x45f501(0x175)](_0x7ea43f,_0x45add0,_0x122493){const _0x2b2aed=_0x45f501,{pageView:_0x33c1a0,cornerView:_0x40a6c5,rowView:_0x216c3f,colView:_0x3b4d1e,dataView:_0xd9126f}=_0x45add0,_0x32f241=_0x7ea43f;let _0xbe35c4;if(_0x122493)_0xbe35c4=[..._0x3c77b0(_0x32f241)];else{const _0x5395b9=_0x6b001(_0x32f241,_0x33c1a0,!0x0),_0x59e507=_0x33c1a0['lastRow']>=0x0?_0x33c1a0[_0x2b2aed(0x205)]+0x1:0x0,_0x932ee6=_0x40a6c5[_0x2b2aed(0x121)],_0x3fc337=_0x40a6c5[_0x2b2aed(0x39b)],_0x5cf2c6=_0x5395b9[_0x2b2aed(0xa8)]>0x0?_0x32fbf9:0x0,_0x1bb3b3=_0x6b001({'row':_0x32f241[_0x2b2aed(0x2e0)]+_0x59e507+_0x5cf2c6,'col':_0x32f241[_0x2b2aed(0x180)]},_0x40a6c5,!0x1,!0x1),_0x15fc85=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6+_0x932ee6,'col':_0x32f241[_0x2b2aed(0x180)]},_0x216c3f,!0x1,!0x0),_0x202f14=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6,'col':_0x32f241[_0x2b2aed(0x180)]+_0x3fc337},_0x3b4d1e,!0x1,!0x0),_0x349afc=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6+_0x932ee6,'col':_0x32f241['col']+_0x3fc337},_0xd9126f,!0x1,!0x0);_0xbe35c4=[..._0x5395b9,..._0x1bb3b3,..._0x15fc85,..._0x202f14,..._0x349afc];}return _0xbe35c4;}[_0x45f501(0x296)](){const _0x23a5db=_0x45f501;this['disposeWithMe'](this[_0x23a5db(0x333)][_0x23a5db(0x297)][_0x23a5db(0x195)](this[_0x23a5db(0x333)][_0x23a5db(0x297)][_0x23a5db(0x165)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x38e878,_0x3c41f5)=>{const _0x4103dc=_0x23a5db,{cellInfo:_0x44b002,view:_0xe1d1ef,isEmpty:_0x4cfd26}=_0x3c41f5,_0x1adfb2=_0x44b002,{unitId:_0x3fa1b6,subUnitId:_0xeb8357}=_0x1adfb2,_0x44b359=this[_0x4103dc(0x175)](_0x44b002,_0xe1d1ef,_0x4cfd26),_0x4263d9=this[_0x4103dc(0x3b2)]['generateMutationsByRanges']({'unitId':_0x3fa1b6,'subUnitId':_0xeb8357,'ranges':_0x44b359}),_0x34f89c=_0xd7e43f(this[_0x4103dc(0x307)],_0x3fa1b6,_0xeb8357,_0x44b359);_0x34f89c[_0x4103dc(0xd2)]&&(_0x4263d9['redos']['push'](_0x34f89c['setRangeValueRedoMutation']),_0x4263d9[_0x4103dc(0x301)][_0x4103dc(0x373)](_0x34f89c[_0x4103dc(0x11f)]));const _0x1148b5=this[_0x4103dc(0x187)](_0xe1d1ef,_0x44b002);return _0x4263d9[_0x4103dc(0xfd)][_0x4103dc(0x373)](..._0x1148b5[_0x4103dc(0xfd)]),_0x4263d9[_0x4103dc(0x301)]['push'](..._0x1148b5[_0x4103dc(0x301)]),{'redos':_0x4263d9[_0x4103dc(0xfd)],'undos':_0x4263d9[_0x4103dc(0x301)]};}}));}[_0x45f501(0x187)](_0x16ab30,_0x1fa184){const _0x76ac49=_0x45f501,{col:_0x4d9912,unitId:_0x171375,subUnitId:_0x9470d}=_0x1fa184,_0xae8bba=[],_0x196fca=[],_0x1e4295=_0x401092[_0x76ac49(0x364)](this[_0x76ac49(0x33e)],{'unitId':_0x171375,'subUnitId':_0x9470d});if(!_0x1fa184||!_0x16ab30||!_0x1e4295)return{'undos':_0x196fca,'redos':_0xae8bba};const _0x344b7a=this[_0x76ac49(0x186)]['getTextInfo'](),{colView:_0x5b014c,dataView:_0x377445,cornerView:_0x51a9b3,rowView:_0x3500c2,formatMap:_0x120955}=_0x16ab30,_0x694ce1=_0x5ca586(_0x5b014c,_0x344b7a,!0x0,_0x120955),_0x596891=_0x5ca586(_0x3500c2,_0x344b7a,!0x1,_0x120955),_0x3074df=_0x440f21(_0x377445),_0x32d155=_0x1954bf(_0x51a9b3),{worksheet:_0x3fc427}=_0x1e4295;if(typeof window<'u'&&window[_0x76ac49(0x255)]){const _0x948944=_0x1c5052[_0x76ac49(0x138)]({..._0x40537f[_0x76ac49(0x267)]}),_0x15e7d6=_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x694ce1,_0x948944)[_0x76ac49(0x1f1)]+0x10,_0x2b8103=_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x3074df,_0x948944)[_0x76ac49(0x1f1)],_0x2aa6a2=Math[_0x76ac49(0xc0)](Math[_0x76ac49(0x1d0)](_0x15e7d6,_0x2b8103))+0x10,_0x5ce0ef=Math['floor'](_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x596891,_0x948944)[_0x76ac49(0x1f1)]),_0x13a52f=Math[_0x76ac49(0xc0)](_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x32d155,_0x948944)['width']),_0xd72a2e=Math[_0x76ac49(0x1d0)](_0x5ce0ef,_0x13a52f,0x28)+0xc,_0x41f7e6=_0x5b014c[_0x76ac49(0x39b)]+_0x51a9b3['colCount'],_0x381d46={},_0x572aa9={};for(let _0x38ce6e=_0x4d9912;_0x38ce6e<_0x4d9912+_0x41f7e6;_0x38ce6e++){const _0x56b805=_0x3fc427[_0x76ac49(0x9c)](_0x38ce6e);_0x381d46[_0x38ce6e]=_0x56b805,_0x38ce6e-_0x4d9912<_0x51a9b3[_0x76ac49(0x39b)]?_0x572aa9[_0x38ce6e-_0x4d9912]=_0xd72a2e:_0x572aa9[_0x38ce6e-_0x4d9912]=_0x2aa6a2;}_0xae8bba[_0x76ac49(0x373)]({'id':_0x401092[_0x76ac49(0x39d)]['id'],'params':{'subUnitId':_0x9470d,'unitId':_0x171375,'ranges':[{'startColumn':_0x4d9912,'endColumn':_0x4d9912+_0x41f7e6-0x1,'startRow':0x0,'endRow':_0x3fc427[_0x76ac49(0x16e)]()-0x1}],'colWidth':_0x572aa9}}),_0x196fca[_0x76ac49(0x373)]({'id':_0x401092['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x9470d,'unitId':_0x171375,'ranges':[{'startColumn':_0x4d9912,'endColumn':_0x4d9912+_0x41f7e6-0x1,'startRow':0x0,'endRow':_0x3fc427[_0x76ac49(0x16e)]()-0x1}],'colWidth':_0x381d46}});}return{'undos':_0x196fca,'redos':_0xae8bba};}};_0x4f4cbd=_0x556723([_0x4fa29e(0x0,_0xaebd85['Inject'](_0xaebd85['LocaleService'])),_0x4fa29e(0x1,_0xaebd85['Inject'](_0x401092['SheetInterceptorService'])),_0x4fa29e(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x4fa29e(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85['IUniverInstanceService'])),_0x4fa29e(0x4,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x2c9)])),_0x4fa29e(0x5,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x37f)]))],_0x4f4cbd);var _0x7321c9=Object['getOwnPropertyDescriptor'],_0x391211=(_0x20537a,_0x1f9b17,_0x40c340,_0xe51940)=>{const _0x10bfc4=_0x45f501;for(var _0x1d4f70=_0xe51940>0x1?void 0x0:_0xe51940?_0x7321c9(_0x1f9b17,_0x40c340):_0x1f9b17,_0x595129=_0x20537a[_0x10bfc4(0xa8)]-0x1,_0x15b10c;_0x595129>=0x0;_0x595129--)(_0x15b10c=_0x20537a[_0x595129])&&(_0x1d4f70=_0x15b10c(_0x1d4f70)||_0x1d4f70);return _0x1d4f70;},_0x290ca9=(_0x59d467,_0x3d755f)=>(_0x37067d,_0xa2f52c)=>_0x3d755f(_0x37067d,_0xa2f52c,_0x59d467);let _0xcb7c0f=class extends _0xaebd85['Disposable']{constructor(_0x2708bd,_0x29e616,_0x259028,_0x53c001,_0x3775df,_0x58151b,_0x26f22d){const _0x57551c=_0x45f501;super(),_0x1f3ba2(this,_0x57551c(0x1b2),new _0xaebd85[(_0x57551c(0x197))]()),(this[_0x57551c(0x307)]=_0x2708bd,this[_0x57551c(0x12a)]=_0x29e616,this[_0x57551c(0x345)]=_0x259028,this[_0x57551c(0x33e)]=_0x53c001,this[_0x57551c(0x186)]=_0x3775df,this[_0x57551c(0xd4)]=_0x58151b,this['_sheetInterceptorService']=_0x26f22d,this[_0x57551c(0x386)]());}['_onRefRangeChange'](){const _0x11606d=_0x45f501,_0xf78b54=(_0x40776c,_0x447439)=>{const _0x11a346=_0x554c,_0x478a55=this[_0x11a346(0x33e)][_0x11a346(0x20c)](_0xaebd85[_0x11a346(0x192)][_0x11a346(0x2a1)]);if(!_0x478a55||!(_0x478a55==null?void 0x0:_0x478a55[_0x11a346(0x318)](_0x447439)))return;this[_0x11a346(0x1b2)][_0x11a346(0x24e)]();const _0x9cb9a1=_0x42f734=>this[_0x11a346(0xba)](_0x42f734,_0x40776c,_0x447439),_0x54694c=this[_0x11a346(0x186)][_0x11a346(0x21d)](_0x40776c,_0x447439);if(!(_0x54694c!=null&&_0x54694c['size']))return;Array[_0x11a346(0x3a3)](_0x54694c[_0x11a346(0x176)]())[_0x11a346(0x258)](_0x37e039=>{const _0x47d73a=_0x11a346,{row:_0x15225f,col:_0x35b305}=_0x37e039['targetCellInfo'];return _0xaebd85[_0x47d73a(0x3b5)](_0x15225f,_0x35b305);})['forEach'](_0x269d00=>{const _0x583387=_0x11a346;this[_0x583387(0x1b2)][_0x583387(0x328)](this['_refRangeService'][_0x583387(0x381)](_0x269d00,_0x9cb9a1,_0x40776c,_0x447439));});},_0x114035=()=>{const _0x42261d=_0x554c,_0x4399c4=this[_0x42261d(0x33e)][_0x42261d(0x20c)](_0xaebd85['UniverInstanceType'][_0x42261d(0x2a1)]);if(_0x4399c4){const _0x27fb3e=_0x4399c4[_0x42261d(0x2a0)]();if(!_0x27fb3e)return;_0xf78b54(_0x4399c4[_0x42261d(0x21b)](),_0x27fb3e[_0x42261d(0x17c)]());}};this[_0x11606d(0x280)](this[_0x11606d(0x345)][_0x11606d(0xc1)](_0x5a7dc0=>{const _0x19f0f5=_0x11606d;if(_0x5a7dc0['id']===_0x401092[_0x19f0f5(0x38d)]['id']){const _0x57c25a=_0x5a7dc0[_0x19f0f5(0x140)],_0x1a09a1=_0x57c25a[_0x19f0f5(0x15b)],_0x3ac4ae=_0x57c25a['unitId'];if(!_0x1a09a1||!_0x3ac4ae)return;_0xf78b54(_0x3ac4ae,_0x1a09a1);}})),this[_0x11606d(0x280)](this['_sheetsPivotTableConfigModel'][_0x11606d(0x2c3)][_0x11606d(0x396)](_0x313994=>{_0x313994&&_0x114035();})),this[_0x11606d(0x280)](this['_sheetsPivotTableConfigModel'][_0x11606d(0x2f2)][_0x11606d(0x396)](_0x1a259f=>{const _0xd26295=_0x11606d,_0x4720c8=_0x401092[_0xd26295(0x364)](this['_univerInstanceService']);if(!_0x4720c8)return;const {unitId:_0x409271,subUnitId:_0x5bbb7e}=_0x4720c8,{unitId:_0x363349,subUnitId:_0x229a7b}=_0x1a259f;_0x409271!==_0x363349||_0x5bbb7e!==_0x229a7b||_0xf78b54(_0x409271,_0x5bbb7e);})),_0x114035();}['_refRangeHandle'](_0x4d89a5,_0x3b07ae,_0x57bbcc){const _0x3ece1d=_0x45f501;switch(_0x4d89a5['id']){case _0x401092[_0x3ece1d(0x17d)]['id']:return this[_0x3ece1d(0xcd)](_0x4d89a5[_0x3ece1d(0x140)],_0x3b07ae,_0x57bbcc);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x1b328f,_0x211bd7,_0x12d3d7){const _0x194d50=_0x45f501,{fromRange:_0x49268d,toRange:_0x4c8a99}=_0x1b328f,_0x193e96=[],_0x49135f=[],_0x21b540=_0x401092[_0x194d50(0x364)](this[_0x194d50(0x33e)]);if(!_0x21b540)return{'undos':_0x49135f,'redos':_0x193e96};if(_0x211bd7!==_0x21b540[_0x194d50(0x20d)]||_0x12d3d7!==_0x21b540[_0x194d50(0x15b)])return{'undos':_0x49135f,'redos':_0x193e96};const _0x24d006=this[_0x194d50(0x186)]['getSubUnitPivotConfigs'](_0x211bd7,_0x12d3d7);if(_0x24d006!=null&&_0x24d006[_0x194d50(0x36e)])for(const [_0x41d199,_0x43d7b7]of _0x24d006){const {unitId:_0x3401b1,subUnitId:_0x2e5b84,row:_0x3434c0,col:_0x10ba2c}=_0x43d7b7[_0x194d50(0x22f)];if(_0x3401b1===_0x21b540[_0x194d50(0x20d)]&&_0x2e5b84===_0x21b540[_0x194d50(0x15b)]){const _0x1ae13f=_0xaebd85[_0x194d50(0x3b5)](_0x3434c0,_0x10ba2c);if(_0xaebd85['Rectangle'][_0x194d50(0x1c8)](_0x1ae13f,_0x49268d)){const _0x3af105=_0x3434c0-_0x49268d[_0x194d50(0x38c)],_0x583040=_0x10ba2c-_0x49268d['startColumn'],_0x577b0e={'row':_0x4c8a99[_0x194d50(0x38c)]+_0x3af105,'col':_0x4c8a99[_0x194d50(0x212)]+_0x583040};_0x193e96[_0x194d50(0x373)]({'id':_0x5e1c2b['id'],'params':{'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'pivotTableId':_0x41d199,'targetCellPosition':_0x577b0e}}),_0x49135f[_0x194d50(0x373)]({'id':_0x5e1c2b['id'],'params':{'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'pivotTableId':_0x41d199,'targetCellPosition':{'row':_0x3434c0,'col':_0x10ba2c}}});const _0xe900c3=_0x577b0e[_0x194d50(0x2e0)]-_0x3434c0,_0x30d0f2=_0x577b0e[_0x194d50(0x180)]-_0x10ba2c,_0x22ff15=[],_0xe9b216=this[_0x194d50(0xd4)][_0x194d50(0x1c0)](_0x3401b1,_0x2e5b84,_0x41d199),_0x42c785=_0xe9b216==null?void 0x0:_0xe9b216['rangesInfo'];if(_0x42c785){Object[_0x194d50(0x374)](_0x42c785)[_0x194d50(0x106)](_0x449650=>{const _0x518c9c=_0x194d50;_0x42c785[_0x449650][_0x518c9c(0x106)](_0x11f5ad=>{const _0x4cbf20=_0x518c9c,_0x28b70d={..._0x11f5ad};_0x28b70d[_0x4cbf20(0x38c)]=_0x11f5ad[_0x4cbf20(0x38c)]+_0xe900c3,_0x28b70d[_0x4cbf20(0x2fd)]=_0x11f5ad['endRow']+_0xe900c3,_0x28b70d[_0x4cbf20(0x212)]=_0x11f5ad[_0x4cbf20(0x212)]+_0x30d0f2,_0x28b70d[_0x4cbf20(0x1e3)]=_0x11f5ad[_0x4cbf20(0x1e3)]+_0x30d0f2,_0x22ff15[_0x4cbf20(0x373)](_0x28b70d);});});const _0x191a27=this[_0x194d50(0x3b2)][_0x194d50(0x1f4)]({'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'ranges':_0x22ff15});_0x193e96[_0x194d50(0x373)](..._0x191a27[_0x194d50(0xfd)]),_0x49135f[_0x194d50(0x373)](..._0x191a27[_0x194d50(0x301)]);const _0x319202=_0xd7e43f(this[_0x194d50(0x307)],_0x3401b1,_0x2e5b84,_0x22ff15);_0x319202[_0x194d50(0xd2)]&&(_0x193e96[_0x194d50(0x373)](_0x319202[_0x194d50(0xef)]),_0x49135f[_0x194d50(0x373)](_0x319202['setRangeValueUndoMutation']));}}}}return{'redos':_0x193e96,'undos':_0x49135f};}};_0xcb7c0f=_0x391211([_0x290ca9(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x290ca9(0x1,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0xaa)])),_0x290ca9(0x2,_0xaebd85['ICommandService']),_0x290ca9(0x3,_0xaebd85[_0x45f501(0x182)]),_0x290ca9(0x4,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5['SheetsPivotTableConfigModel'])),_0x290ca9(0x5,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x1c3)])),_0x290ca9(0x6,_0xaebd85['Inject'](_0x401092[_0x45f501(0x1a4)]))],_0xcb7c0f);var _0x394801=Object['getOwnPropertyDescriptor'],_0x24eb89=(_0x4631d3,_0x215d84,_0x3b2619,_0x296407)=>{const _0x5e0b8b=_0x45f501;for(var _0x1a4419=_0x296407>0x1?void 0x0:_0x296407?_0x394801(_0x215d84,_0x3b2619):_0x215d84,_0x727109=_0x4631d3[_0x5e0b8b(0xa8)]-0x1,_0x310d71;_0x727109>=0x0;_0x727109--)(_0x310d71=_0x4631d3[_0x727109])&&(_0x1a4419=_0x310d71(_0x1a4419)||_0x1a4419);return _0x1a4419;},_0x10b227=(_0x276d7a,_0x2f9862)=>(_0x53a9cd,_0x5c18c4)=>_0x2f9862(_0x53a9cd,_0x5c18c4,_0x276d7a);let _0x3e1e6d=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x56e1f2,_0xb0e506){const _0x1d5bda=_0x45f501;super(),this[_0x1d5bda(0x3b2)]=_0x56e1f2,this['_sheetsPivotTableConfigModel']=_0xb0e506,this[_0x1d5bda(0x2b7)]();}[_0x45f501(0x2b7)](){const _0x42f788=_0x45f501;this['disposeWithMe'](this[_0x42f788(0x3b2)][_0x42f788(0x289)]({'getMutations':_0x1f47e7=>{const _0x20daf9=_0x42f788;if(_0x1f47e7['id']===_0x401092[_0x20daf9(0xc9)]['id']){const _0x337c3c=[],_0x1d8107=[],_0x59969d=_0x1f47e7[_0x20daf9(0x140)],{unitId:_0x456450,subUnitId:_0x33b7b6}=_0x59969d;if(!_0x456450||!_0x33b7b6)return{'undos':_0x1d8107,'redos':_0x337c3c};const _0x4daa1f=this[_0x20daf9(0x186)][_0x20daf9(0x21d)](_0x456450,_0x33b7b6);if(_0x4daa1f!=null&&_0x4daa1f[_0x20daf9(0x36e)])for(const [_0x4208a3,_0x26f2f6]of _0x4daa1f){_0x337c3c[_0x20daf9(0x373)]({'id':_0x7ceaf3['id'],'params':{'unitId':_0x456450,'subUnitId':_0x33b7b6,'pivotTableId':_0x4208a3}});const _0x4fc1eb={...this[_0x20daf9(0x186)][_0x20daf9(0x300)](_0x456450,_0x4208a3)};_0x1d8107[_0x20daf9(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x456450,'subUnitId':_0x33b7b6,'pivotTableId':_0x4208a3,'pivotTableConfig':_0x26f2f6,'collectionConfig':_0x4fc1eb}});}return{'redos':_0x337c3c,'undos':_0x1d8107};}return{'redos':[],'undos':[]};}}));}};_0x3e1e6d=_0x24eb89([_0x10b227(0x0,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x10b227(0x1,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)]))],_0x3e1e6d);var _0x143470=Object[_0x45f501(0x30e)],_0x7e0cdb=(_0x5c7abc,_0x3c2083,_0x3508f2,_0x128b8f)=>{const _0x3a21c2=_0x45f501;for(var _0x326d60=_0x128b8f>0x1?void 0x0:_0x128b8f?_0x143470(_0x3c2083,_0x3508f2):_0x3c2083,_0x3aead6=_0x5c7abc[_0x3a21c2(0xa8)]-0x1,_0x272b30;_0x3aead6>=0x0;_0x3aead6--)(_0x272b30=_0x5c7abc[_0x3aead6])&&(_0x326d60=_0x272b30(_0x326d60)||_0x326d60);return _0x326d60;},_0xf79d7f=(_0x3988b5,_0x20df12)=>(_0x112893,_0x425585)=>_0x20df12(_0x112893,_0x425585,_0x3988b5);let _0x2b08b3=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0xb3232e,_0x304e72,_0x27c0bc,_0x31587b,_0x50ecc6,_0xe0d0a9){const _0x91aaf9=_0x45f501;super(),this[_0x91aaf9(0x345)]=_0xb3232e,this[_0x91aaf9(0x269)]=_0x304e72,this['_sheetsPivotTableAdaptorModel']=_0x27c0bc,this[_0x91aaf9(0x186)]=_0x31587b,this[_0x91aaf9(0x33e)]=_0x50ecc6,this[_0x91aaf9(0x1af)]=_0xe0d0a9,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x45f501(0x244)](){const _0x100326=_0x45f501;this[_0x100326(0x280)](this[_0x100326(0x345)]['onCommandExecuted'](_0x4bc0d5=>{const _0x4aa621=_0x100326;if(_0x4bc0d5['id']!==_0x161053['id'])return;const _0x36e882=_0x4bc0d5[_0x4aa621(0x140)];this[_0x4aa621(0x269)]['handleAsyncResponse'](_0x36e882);})),this['disposeWithMe'](this[_0x100326(0x345)][_0x100326(0xc1)](_0x4d72d1=>{const _0xfabceb=_0x100326;if(_0x4d72d1['id']===_0x5e3865['id']){const _0x1de8d3=_0x4d72d1[_0xfabceb(0x140)];if(_0x1de8d3){const {unitId:_0x2f9a30,subUnitId:_0xcb1105,oldSubUnitId:_0x3ea921,pivotTableId:_0x1ed412,pivotTableConfig:_0x555a7c,collectionConfig:_0x1f820b}=_0x1de8d3;this[_0xfabceb(0x186)][_0xfabceb(0x314)](_0x2f9a30,_0x3ea921,_0x1de8d3[_0xfabceb(0xe2)],null),this[_0xfabceb(0x186)][_0xfabceb(0x314)](_0x2f9a30,_0xcb1105,_0x1ed412,_0x555a7c),this['_sheetsPivotTableConfigModel'][_0xfabceb(0x3b0)](_0x2f9a30,_0x1f820b);}}})),this[_0x100326(0x280)](this[_0x100326(0x345)][_0x100326(0xc1)](_0x3f7a03=>{const _0x4c08db=_0x100326;if(_0x3f7a03['id']!==_0x391b59['id'])return;const _0x198459=_0x401092[_0x4c08db(0x364)](this[_0x4c08db(0x33e)]);if(!_0x198459)return;const {unitId:_0xa32487,subUnitId:_0x519c9d}=_0x198459,_0x36acbf=_0x3f7a03['params'];if(_0x36acbf[_0x4c08db(0x2cc)]&&Object[_0x4c08db(0x374)](_0x36acbf[_0x4c08db(0x2cc)])['forEach'](_0x2b985c=>{const _0x177e3d=_0x4c08db;var _0x433fca;(_0x433fca=_0x36acbf[_0x177e3d(0x2cc)])!=null&&_0x433fca[_0x2b985c]&&this['_sheetsPivotTableConfigModel'][_0x177e3d(0x3b0)](_0x2b985c,_0x36acbf[_0x177e3d(0x2cc)][_0x2b985c]);}),_0x36acbf[_0x4c08db(0x225)]){const _0x5b8582=_0x36acbf[_0x4c08db(0x225)],{unitId:_0x3a0a8e,subUnitId:_0x210a6a,view:_0x5f3075,pivotTableId:_0x4df23e,type:_0x421746,pivotConfig:_0x476cf2}=_0x5b8582;if(_0x421746===_0x3c03d6[_0x4c08db(0x178)])this[_0x4c08db(0xd4)]['clearRenderCache']({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'pivotTableId':_0x4df23e,'type':_0x421746}),this[_0x4c08db(0x186)][_0x4c08db(0x314)](_0x3a0a8e,_0x210a6a,_0x4df23e,null);else{const _0x4954f2=new _0x7d04ba[(_0x4c08db(0x253))]();_0x4954f2[_0x4c08db(0x1e6)](_0x5f3075),this[_0x4c08db(0x186)]['updateConfigCache'](_0x3a0a8e,_0x210a6a,_0x4df23e,_0x476cf2),this[_0x4c08db(0xd4)][_0x4c08db(0x103)]({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'pivotTableId':_0x4df23e,'type':_0x421746,'view':_0x4954f2}),this[_0x4c08db(0xd4)]['updateRenderCache']({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'view':_0x4954f2,'pivotTableId':_0x4df23e,'type':_0x421746});}}else _0x36acbf[_0x4c08db(0x9b)]&&(_0x36acbf[_0x4c08db(0x9b)][_0x4c08db(0x106)](_0x3bbc2b=>{const _0x499905=_0x4c08db,{unitId:_0x220427,subUnitId:_0x8de3f9,view:_0x5d8ceb,pivotTableId:_0x25b9c3,type:_0x4d12ff,pivotConfig:_0x3405dc}=_0x3bbc2b,_0x2af212=new _0x7d04ba['PivotView']();_0x2af212[_0x499905(0x1e6)](_0x5d8ceb),this[_0x499905(0x186)]['updateConfigCache'](_0x220427,_0x8de3f9,_0x25b9c3,_0x3405dc),this[_0x499905(0xd4)][_0x499905(0x3bc)]({'unitId':_0x220427,'subUnitId':_0x8de3f9,'view':_0x2af212,'pivotTableId':_0x25b9c3,'type':_0x4d12ff});}),this[_0x4c08db(0x186)]['setPivotInitCompleted']());this[_0x4c08db(0xd4)][_0x4c08db(0xa0)](_0xa32487,_0x519c9d);}));}['registerDirtyService'](){const _0xffd8d5=_0x45f501;this[_0xffd8d5(0x1af)][_0xffd8d5(0x18d)](_0x25680d['id'],{'commandId':_0x25680d['id'],'getDirtyData'(_0x5c89b7){const _0x50c605=_0xffd8d5;return{'dirtyUnitFeatureMap':_0x5c89b7[_0x50c605(0x140)]};}});}};_0x2b08b3=_0x7e0cdb([_0xf79d7f(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0xf79d7f(0x1,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x252)])),_0xf79d7f(0x2,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x1c3)])),_0xf79d7f(0x3,_0xaebd85['Inject'](_0x5bc0f5['SheetsPivotTableConfigModel'])),_0xf79d7f(0x4,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x182)])),_0xf79d7f(0x5,_0x33633f[_0x45f501(0x1ff)])],_0x2b08b3);var _0x323320=Object[_0x45f501(0x38b)],_0x21288f=Object[_0x45f501(0x30e)],_0xd68f37=(_0x2448da,_0x485081,_0x2875d1)=>_0x485081 in _0x2448da?_0x323320(_0x2448da,_0x485081,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2875d1}):_0x2448da[_0x485081]=_0x2875d1,_0x511bc8=(_0x4a8859,_0xffd7ad,_0x59b326,_0x50c525)=>{const _0x2ef740=_0x45f501;for(var _0x4682f9=_0x50c525>0x1?void 0x0:_0x50c525?_0x21288f(_0xffd7ad,_0x59b326):_0xffd7ad,_0x414393=_0x4a8859[_0x2ef740(0xa8)]-0x1,_0x3f154f;_0x414393>=0x0;_0x414393--)(_0x3f154f=_0x4a8859[_0x414393])&&(_0x4682f9=_0x3f154f(_0x4682f9)||_0x4682f9);return _0x4682f9;},_0xf447c=(_0x35ce33,_0x179f21)=>(_0x2f405f,_0x2c4110)=>_0x179f21(_0x2f405f,_0x2c4110,_0x35ce33),_0x13b1b2=(_0x57251e,_0x4b5adc,_0xef19df)=>_0xd68f37(_0x57251e,typeof _0x4b5adc!=_0x45f501(0x1ef)?_0x4b5adc+'':_0x4b5adc,_0xef19df);_0x5bc0f5['UniverSheetsPivotTablePlugin']=class extends _0xaebd85[_0x45f501(0x26a)]{constructor(_0x1c409e=_0x49d339,_0x4c7e71,_0x47a81c,_0x56a229,_0x2cac9a){const _0x8d1dd1=_0x45f501;super(),this[_0x8d1dd1(0x23a)]=_0x1c409e,this[_0x8d1dd1(0x307)]=_0x4c7e71,this['_commandService']=_0x47a81c,this[_0x8d1dd1(0x36f)]=_0x56a229,this[_0x8d1dd1(0xaf)]=_0x2cac9a;const {..._0x19c863}=_0xaebd85[_0x8d1dd1(0x31f)]({},_0x49d339,this['_config']);this[_0x8d1dd1(0x36f)][_0x8d1dd1(0x358)](_0x504d7b,_0x19c863),this[_0x8d1dd1(0x1da)](),this[_0x8d1dd1(0x151)]();}[_0x45f501(0x151)](){const _0x109ce5=_0x45f501;var _0x389fe5;const _0x314a8a=(_0x389fe5=this[_0x109ce5(0x23a)])==null?void 0x0:_0x389fe5[_0x109ce5(0x2f5)];this[_0x109ce5(0x36f)][_0x109ce5(0x358)](_0x5e7272,_0x314a8a===!0x0);}[_0x45f501(0x312)](){const _0xce2e2e=_0x45f501;var _0xd034a3;let _0x2e4134=[];const _0x424f2f=(_0xd034a3=this[_0xce2e2e(0x23a)])==null?void 0x0:_0xd034a3[_0xce2e2e(0x2f5)];_0x424f2f===!0x0?_0x2e4134=[[_0x5bc0f5['SheetsPivotTableService']],[_0x5bc0f5[_0xce2e2e(0x252)]],[_0x2b08b3],[_0x5bc0f5[_0xce2e2e(0x1c3)]],[_0x5bc0f5[_0xce2e2e(0x2c9)]],[_0x3e1e6d],[_0x30345c],[_0xcb7c0f],[_0x4f4cbd]]:_0x424f2f===!0x1?_0x2e4134=[[_0x5bc0f5[_0xce2e2e(0x156)]],[_0x2f9c40]]:_0x424f2f===void 0x0&&(_0x2e4134=[[_0x5bc0f5[_0xce2e2e(0x156)]],[_0x2f9c40],[_0x5bc0f5[_0xce2e2e(0x37f)]],[_0x5bc0f5[_0xce2e2e(0x252)]],[_0x2b08b3],[_0x5bc0f5[_0xce2e2e(0x1c3)]],[_0x5bc0f5[_0xce2e2e(0x2c9)]],[_0x3e1e6d],[_0x30345c],[_0xcb7c0f],[_0x4f4cbd]]),_0x2e4134[_0xce2e2e(0x106)](_0x1aaba5=>this[_0xce2e2e(0x307)][_0xce2e2e(0x328)](_0x1aaba5)),[_0x2f9c40,_0x2b08b3,_0x5bc0f5['SheetsPivotTableService'],_0x30345c,_0x3e1e6d,_0xcb7c0f,_0x4f4cbd][_0xce2e2e(0x106)](_0x25350b=>{const _0x40c213=_0xce2e2e;this[_0x40c213(0x307)][_0x40c213(0x32d)](_0x25350b)&&this[_0x40c213(0x307)][_0x40c213(0x185)](_0x25350b);});}[_0x45f501(0x1da)](){[_0x2bfb23,_0xacb3d5,_0x82e3c7,_0x5c0c9f,_0xb8ed75,_0x25ca2c,_0x54bb4a,_0xa27cd3,_0x42da59,_0x14e82c,_0xf31997,_0xff983e,_0x42ba20,_0x4e19d8,_0x592e37,_0x54034c,_0x7ceaf3,_0x2cda78,_0x4ec140,_0x25a4c,_0x1aea10,_0x3e9720,_0x24c0ca,_0x480282,_0x3fecaa,_0x203a31,_0x5e1c2b,_0x5dba1f,_0x161053,_0x391b59,_0x2b127c,_0x263388,_0x41b531,_0x4a253d,_0x4af3e0,_0x385c03,_0x33eee5,_0x25680d,_0x5e3865,_0x313c58,_0x8a8125,_0x1f2204,_0x2302e3]['forEach'](_0x45ea51=>{const _0x258e34=_0x554c;var _0x196427;(_0x196427=this['_dataSyncPrimaryController'])==null||_0x196427[_0x258e34(0x232)](_0x45ea51),this['_commandService'][_0x258e34(0x169)](_0x45ea51);});}},_0x13b1b2(_0x5bc0f5[_0x45f501(0x1cf)],_0x45f501(0x257),_0x513a85),_0x13b1b2(_0x5bc0f5[_0x45f501(0x1cf)],'type',_0xaebd85['UniverInstanceType'][_0x45f501(0x2a1)]),_0x5bc0f5[_0x45f501(0x1cf)]=_0x511bc8([_0xaebd85[_0x45f501(0x310)](_0x800699[_0x45f501(0xd3)]),_0xf447c(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0xf447c(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0xf447c(0x3,_0xaebd85[_0x45f501(0x223)]),_0xf447c(0x4,_0xaebd85[_0x45f501(0x272)](_0x54f4a6[_0x45f501(0xf7)]))],_0x5bc0f5['UniverSheetsPivotTablePlugin']),_0x5bc0f5[_0x45f501(0xa4)]=_0x82e3c7,_0x5bc0f5[_0x45f501(0x27c)]=_0x2cda78,_0x5bc0f5[_0x45f501(0x2ae)]=_0xacb3d5,_0x5bc0f5[_0x45f501(0x1d2)]=_0x592e37,_0x5bc0f5['AddPivotTableWithConfigCommand']=_0x2bfb23,_0x5bc0f5[_0x45f501(0x362)]=_0x32fbf9,_0x5bc0f5[_0x45f501(0x2db)]=_0x6fd86,_0x5bc0f5[_0x45f501(0x3a2)]=_0x5c0c9f,_0x5bc0f5[_0x45f501(0x2b3)]=_0x42ba20,_0x5bc0f5['PivotDisplayDataType']=_0x240b92,_0x5bc0f5[_0x45f501(0x335)]=_0x4e19d8,_0x5bc0f5[_0x45f501(0x153)]=_0x3c03d6,_0x5bc0f5[_0x45f501(0xdf)]=_0x25680d,_0x5bc0f5[_0x45f501(0xa6)]=_0x5e87a5,_0x5bc0f5[_0x45f501(0x183)]=_0xb8ed75,_0x5bc0f5[_0x45f501(0x148)]=_0x3e9720,_0x5bc0f5[_0x45f501(0x9f)]=_0x7ceaf3,_0x5bc0f5[_0x45f501(0x23d)]=_0x24c0ca,_0x5bc0f5[_0x45f501(0x2ca)]=_0x2302e3,_0x5bc0f5[_0x45f501(0x32a)]=_0x504d7b,_0x5bc0f5[_0x45f501(0x14c)]=_0x513a85,_0x5bc0f5['SetPivotCollapseCommand']=_0xa27cd3,_0x5bc0f5[_0x45f501(0x363)]=_0x480282,_0x5bc0f5[_0x45f501(0x248)]=_0x4a253d,_0x5bc0f5['SetPivotFieldsConfigCommand']=_0x1f2204,_0x5bc0f5['SetPivotFilterCommand']=_0x14e82c,_0x5bc0f5[_0x45f501(0x2c8)]=_0x1aea10,_0x5bc0f5[_0x45f501(0x2ee)]=_0x203a31,_0x5bc0f5[_0x45f501(0x28d)]=_0x5e1c2b,_0x5bc0f5[_0x45f501(0x38e)]=_0x42da59,_0x5bc0f5[_0x45f501(0x9a)]=_0x3fecaa,_0x5bc0f5[_0x45f501(0x2ec)]=_0x41b531,_0x5bc0f5[_0x45f501(0x33c)]=_0x313c58,_0x5bc0f5['SetPivotValueFilterMutation']=_0x8a8125,_0x5bc0f5[_0x45f501(0x13c)]=_0x54bb4a,_0x5bc0f5['UpdateFieldPositionMutation']=_0x2b127c,_0x5bc0f5[_0x45f501(0x1cb)]=_0xf31997,_0x5bc0f5['UpdatePivotFieldSourceInfoMutation']=_0x33eee5,_0x5bc0f5['UpdatePivotTableSourceRangeCommand']=_0xff983e,_0x5bc0f5[_0x45f501(0x35e)]=_0x385c03,_0x5bc0f5[_0x45f501(0x152)]=_0x25ca2c,_0x5bc0f5[_0x45f501(0xcf)]=_0x263388,_0x5bc0f5[_0x45f501(0x3b8)]=_0x57b20d,_0x5bc0f5[_0x45f501(0x308)]=_0x3b344d,_0x5bc0f5[_0x45f501(0x12d)]=_0x40537f,_0x5bc0f5[_0x45f501(0x22a)]=_0xd7e43f,_0x5bc0f5[_0x45f501(0x132)]=_0x6b001,_0x5bc0f5[_0x45f501(0x173)]=_0x3c77b0,_0x5bc0f5[_0x45f501(0x3ba)]=_0x2de8eb,_0x5bc0f5[_0x45f501(0x2f1)]=_0x42c249,_0x5bc0f5[_0x45f501(0x120)]=_0x4e5185,_0x5bc0f5[_0x45f501(0x2ce)]=_0x32805f,_0x5bc0f5['getPivotTableInfo']=_0x342f43,_0x5bc0f5[_0x45f501(0xf0)]=_0x42a243,_0x5bc0f5[_0x45f501(0x370)]=_0x109750,Object[_0x45f501(0x38b)](_0x5bc0f5,Symbol[_0x45f501(0x20e)],{'value':'Module'});}));
|
|
1
|
+
function _0x2a87(){const _0x375cb1=['message','pivotMutationGenerate','SetFieldFormat','@univerjs-pro/engine-pivot','New','range','collections','PositionType','remove','sheets-pivot.cellDateGroupDisplay.month','stringify','getRangeStartEndInfo','count','_sheetsPivotTableAdaptorModel','RemoveSheetsFilterMutation','Add','isValue','cellValue','dataFieldManagerConfig','addRecord','_viewData$','rowFields','getDataFieldBySourceName','ICommandService','IExclusiveRangeService','replace','isArray','rgb(255,255,255)','sheets-pivot.maxName','getCellRaw','query','Minute','unitId','sheet.mutation.remove-group-collection','floor','Expand','reduce','UniverRpc','None','pluginName','sheet.mutation.pivot-update-field-position','endRow','UpdateValuePositionMutation','find','splice','setPivotSort','NotName','SheetsPivotDataSourceModel','rgb(240,241,243)','BehaviorSubject','areaInfo','adjustSheetCellData','setFieldFormat','_initConfig','serializeRangeWithSpreadsheet','forEach','batch','collapseInfo','AddField','document','subTotalStyle','_pivotTableRangeInfo','deleteUnitId','RemoveField','_generateUniqueVersion','size','#1d32e9','Count\x20of\x20','map','SetPivotValueFilterCommand','_initPivotTextInfo','updateAllDisplayName','onCommandExecuted','sheets-pivot.cellDateGroupDisplay.quarter','updateViewData','pivotConfigChange$','toString','PivotViewCellValueTypeEnum','sourceRangeInfo','substring','setDataRecordCount','_featureCalculationManagerService','push','SheetsPivotTableService','getCurrentSelections','getPivotItemRenderInfoCache','ResetPivotFieldsConfigCommand','deepClone','level','valueFields','PivotView','textInfo','RANGE_TYPE','_updatePivotTableInstanceCache','setLabelFilterInfo','DateGroupField','getMonth','getCurrentUnitForType','getPivotTableIdByCell','getFieldDataType','SetPivotSort','Range','isNaN','value','getSubUnitPivotConfigs','setConfig','notExecuteFormula','getUnit','SetPivotSetting','SHEET_PIVOT_TABLE_PLUGIN','getLastRow','sheets-pivot.varName','PivotTableValuePositionEnum','dataStream','NotNumber','updatePivotTableMatrixInfo','PivotDrillDownCommand','set','SetPivotTableConfig','sheet.command.set-pivot-fields-config','4461020EOMtfY','setPivotTable','rowRanges','isEmpty','filterFields','row','pivotTableIndexConfig','_initDataSendListener','exports','UpdateValuePosition','blank','sheet.mutation.set-pivot-filter','COMMAND','PivotTableFiledAreaEnum','valueIndex','resetPivotTable','fetchThroughAsyncInterceptors','MoveRangeMutation','leftOffset','getMatrixFromRunTimeData','sequenceExecute','_sheetInterceptorService','getTargetByPivotTableId','sheet.command.set-pivot-value-filter','IResourceManagerService','registerRefRange','_getAutoName','name','SetPivotCollapseMutation','getCellMatrix','getValueFilterInfos','SetWorksheetColWidthMutation','sheet.mutation.update-pivot-table-source-range','RemovePivotField','getLastCol','sheet.command.set-pivot-field-setting','@univerjs/core','removePivotField','5132MtlyDd','PivotFilterTypeEnum','_ensurePivotTableRangeInfo','pageStyle','setCollapse','removeValueFilterInfoByValueFieldId','colCount','SetPivotFilterMutation','YearMonthDate','existing','ReleaseType','_sheetsPivotRpcService','unionPivotViewRange','dataFieldId','updateDirtyPivotTable','date','getId','DataFieldManager','sheets-pivot.columnName','FontCache','Existing','register','intersects','sheet.mutation.set-pivot-sort-info','sheets-pivot.grandTotal','ErrorType','number','BadReference','Delete','_pivotRenderInfoCache','Quarter','_collectionChange$','setValueFilterInfo','transFromCellValue','MIN_SAFE_INTEGER','node','SheetsPivotTableAdaptorModel','getSheetBySheetName','ptn','UNIVER_SHEET','MAX_SAFE_INTEGER','getIndexesByPathStr','UpdatePivotSource','headerMap','fields','sheet.mutation.set-pivot-field-subtotal-type','DEFAULT_PIVOT_NUMBER','_initPivotDataGetListener','getUpdateRangeDeleteIds','dimension','getFontStyleString','SetFilterInfo','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','filterInfo','UniverSheets','BaseGroupField','addPivotField','_deleteModelCache','createInterceptorKey','dispose','getPivotTableInfo','createCollectionWithDataRange','_subjectCollectionChange','fieldIds','ΣValue','Row','getRangeData','updateFieldSourceInfo','UpdateDateGroupCommand','valueFilter','MovePivotFieldCommand','numfmt','getFormat','rangeType','Column','sum','getFullYear','random','amd','getFieldIds','IFeatureCalculationManagerService','entries','getColumnCount','getIntersects','sheet.command.add-pivot-table-with-config','oldRangeInfo','fromJSON','iterateField','57095cdzkWv','getUnitId','addCollection','isDateValue','BLANK_ROW_COUNT','rowHeaderMap','handleMoveRange','sheets-pivot.config','disposeWithMe','endColumn','9bNNGtS','sheets-pivot.dateGroup.yearMonth','collectionConfig','FieldsCollection','@univerjs/sheets','getDirtyInfo','queryDirtyPivotTable','isBottomTotal','getRefRangeMutationsByMoveRange','getHeaderMapItem','endCollectChangeset','sheet.mutation.add-pivot-table','sheet.mutation.add-group-collection','_lifecycleService','originalFieldId','StdDev\x20of\x20','includes','getPivotTableCellData','fieldId','#e6ebfa','Date','collection','sheet.command.reset-pivot-fields-config','_dataFieldManagerCollection','getPivotTableMatrixInfo','sheets-pivot.dateGroup.year','info','pivotTableConfigs','sheets-pivot.dateGroup.monthDate','sheets-pivot.sumName','_globalComputedEndHelpFunc','Panel','Plugin','getCollection','getDataFieldByRangeKey','subscribe','cornerStyle','setSubtotalType','varp','CommandType','setRangeKeyMap','getSubtotal','removeCollectionImp','toJSON','setSourceName','UniverEngineFormula','single','addField','isFeatureAuthorizedWithinTime','AddPivotTableCommand','_sheetsSelectionsService','delete','getPivotTableModelConfig','_globalSubject','@univerjs/engine-formula','6028806vIyZiw','getDate','Column\x20','fetchThroughInterceptors','MonthDate','updateFieldPosition','sheet.mutation.send-pivot-data-local','stdDev','numberToABC','YearQuarter','addFieldWithSourceId','concat','asObservable','startRow','onQueryEnd','return\x20','Subtotal','countNums','REF','string','workbook\x20is\x20not\x20found','forRow','5662992zpQWfp','_sheetsPivotTableConfigModel','getSortInfo','RemoveSheetMutation','20439LlFIyW','RemovePivotFieldMutation','_deletePivotTableInstanceCache','viewUpdate$','isDateGroupFieldJSON','InterceptorManager','getTextInfo','IUniverInstanceService','_univerInstanceService','SetRangeValuesMutation','_sheetsPivotDataSourceModel','_initSnapshot','_fieldsCollectionChange$','_resourceManagerService','executeCommand','getformat','getViewData','RemoveColMutation','onStarting','_ensurePivotItemRenderInfoCache','_commandService','setName','setRangeValueRedoMutation','PivotSubtotalTypeEnum','getRangeKeyList','startColumn','pushUndoRedo','Grand\x20Total','colHeaderMap','AddPivotTable','getSheetId','charCodeAt','rxjs','addDirtyPivotTable','getAutoFitColumnsMutations','resetArea','_requestResolvers','YearMonth','rangeCache','_initCommandInterceptListener','width','_injector','DIV_BY_ZERO','options','handleSourceRangeChange','getDataFieldByTableId','rowCount','LS_CONFIG_KEY','updatePivotTableRangeInfo','columnFields','deleteField','generateNewSheetName','isDateGroupField','sheets-pivot.dateGroup.yearMonthDate','startCollectChangeset','sheet.command.update-date-group','unshiftString','sheet.command.add-pivot-table','getConfig','RemovePivotFieldCommand','createValueField','refreshDataField','sheet.command.set-pivot-filter','sheets-pivot.dateGroup.minute','sheets-pivot.cellDateGroupDisplay.year','registerPluginResource','UniverSheetsPivotTablePlugin','PivotErrorTypeEnum','Year','Disposable','getGroupFieldsInfoByIds','updatePivotSource','setPivotTableConfig','interceptor','sheets-pivot.emptyPivot.filter','forValue','defaultThemeStyle','sheet.mutation.send-init-pivot-text-local','NORMAL','SHEET_PIVOT_EXCLUSIVE_ID','_queryingMap','UniverProEnginePivot','UpdatePivotTableSourceRangeMutation','RemovePivotTableMutation','setDisplayName','dataFields','setPivotSetting','DataSyncPrimaryController','getFieldById','PivotCallbackEnum','lastRow','sheet.mutation.get-pivot-data-local','UniverProLicense','getFilterInfo','broadcastCollectionChange','_refRangeHandle','sheet.mutation.set-pivot-format','getColCount','Style','PivotTableViewDirtyMarkOperation','PivotDataFieldDataTypeEnum','asyncInterceptor','formJSON','#f4f4f5','object','getFieldInfo','body','UpdateSource','getInterceptPoints','INTERCEPTOR_POINT','panel','symbol','pivotPerformCheck','redos','Min\x20of\x20','4545EURfMQ','Tools','_viewUpdate$','type','DrillDown','getDataFieldManager','sheets-pivot.emptyPivot.values','sheets-pivot.cellDateGroupDisplay.hour','removePivotTable','updateDataFieldsCollection','rangeKeyMap','addDataFieldWithoutUnitInfo','_sheetsPivotTableService','renameField','defineProperty','_pivotRenderValueMatrixCache','sheets-pivot.cellDateGroupDisplay.hourMinute','removeCollections','sheets-pivot.minName','rowStyle','handleAsyncResponse','InsertColMutation','shouldClear','lastCol','getTargetByPivotId','clearExclusiveRangesByGroupId','sourceName','getValuePosition','RemoveRowMutation','LocaleService','limit\x20pivot','updateValuePosition','addPivotTableWithConfig','_initRemoveSheetCommandInterceptor','sheet.mutation.set-pivot-option','addCollectionByJSON','Injector','MUTATION','getAdjustRangesPosition','getPivotTableInstance','registerDirtyService','generateHexNumber','Month','stdDevp','MovePivotField','registerCommand','sheet.command.pivot-drill-down','SetPivotFilter','isPrefixValue','cellToRange','getNoUsedDataFieldIds','cornerInfo','sheets-pivot.cellDateGroupDisplay.yearMonth','SetValueFilter','_textInfo','next','tableFieldId','measure','Set','sheet.mutation.set-pivot-collapse','getFilterFieldIdByIndex','getTextSize','params','_pivotTableInstanceCache','StdDevp\x20of\x20','getMatrix','has','setPivotFilter','matrix','Collapse','NO_COMMERCIAL','SheetsPivotTableConfigModel','ClearSelectionAllCommand','toStringTag','_getPivotAppliedRanges','SetPivotFilterCommand','SheetInterceptorService','_ensurePivotMap','length','getColumnWidth','UniverSheetsFilter','_globalComputedStartHelpFunc','149398hEeQWb','removeDataField','fieldsCollectionChange$','MovePivotTableCommand','sheets-pivot.subTotal','generateSetRangeValueMutations','merge','sheets-pivot.averageName','_viewData','getFormatInfo','dateType','foreach','viewData$','_onRefRangeChange','deleteDataField','dataRangeInfo','isText','colRanges','sheet.command.remove-pivot-field','setPivotInitCompleted','Module','getDataFieldByDataFieldId','sortInfo','markDirty$','NAME','Filter','_subjectFieldsCollectionChange','subtotal','addExclusiveRange','reset','setValue','_exclusiveRangeService','sheet.command.move-pivot-field','updateConfig','getDisplayName','format','originTargetInfo','max','getSheetFeatureLimit','fontRenderExtension','Optional','add','from','data','_pivotInitCompleted$','_configVersion$','updateConfigCache','DependentOn','generateNullCell','getFieldListByArea','sheet.mutation.remove-pivot-field','disposableCollection','rangesInfo','_ensurePivotItemRenderValueMatrixCache','getIntersectsPivotTable','mergeWorksheetSnapshotWithDefault','min','onQueryStart','updateViewInfo','UniverLicensePlugin','getValueIndex','_createExclusiveRange','getSubUnitPivotMatrix','getSourceName','new','_configService','targetCellInfo','sheets-pivot.cellDateGroupDisplay.yearQuarter','triggerDirtyFeature','_initUnitDisposed','AddPivotTableWithConfigCommand','SetPivotCollapseCommand','setRangeValueUndoMutation','realDeleteValue','interceptCommand','rangeKey','removeValueFilterInfo','refreshGroupField','getValue','removeField','pbt','isDate','fieldsConfig','contains','PIVOT_MUTATION_GENERATE','paths','Inject','sheets-pivot.stdDevName','IConfigService','sheets-pivot.cellDateGroupDisplay.date','sheets-pivot.dateGroup.quarter','getAutoDisplayName','NUMBER','PivotDateGroupFieldDateTypeEnum','unshift','UniverInstanceType','DEFAULT_WORKSHEET_COLUMN_COUNT','getStyles','UpdateFieldPosition','getFieldPositionInfoById','getTableFieldById','UniverProSheetsPivot','get','AddPivotTableWithConfig','ObjectMatrix','sheets-pivot.dateGroup.yearQuarter','ManualFilter','colStyle','SetPivotValueFilterMutation','_pivotTableMatrixInfo','setValuePivotFilter','_updateModelCache','getPivotDisplayConfig','sheets-pivot.value','setTextInfo','addPivotTable','function','_updateRenderEmptyCache','getEmptyPivotRanges','pivotTableId','getAutoDisplayNameFunction','maxDate','removeSourceRangeChange','_config','createDataFieldId','Value','getFieldFormat','getSheetCommandTarget','@univerjs/engine-render','getPivotTableConfig','parseInt','IActiveDirtyManagerService','getRowCount','SheetsPivotRPCService','Div0','PivotDisplayDataType','col','_toJSON','SetSortInfo','getOriginFieldId','MoveRangeCommand','1864hVhPOI','some','HourMinute','COLUMN','_refRangeService','result','isColMultiMeasure','sheets-pivot.dateGroup.month','uniqueDataFieldName','_initRegisterCommand','getFieldCountByArea','getSheets','iterateFieldByArea','PivotTableOperationEnum','canUsePivot','SetValuePivotFilter','getName','undos','getSheetBySheetId','_initLocale','getTypeOfUnitDisposed$','isErrorValue','IUndoRedoService','drillDown','@univerjs/rpc','_initViewModelBySheetInterceptor','getPivotCellInfo','PivotTableChangeTypeEnum','markDirty','average','#eceeff','Rectangle','versions','sheet.operation.pivot-table-view-formula-mark-dirty','CustomCommandExecutionError','sheetName','error','_localeService','isBaseGroupField','ClearSelectionContentCommand','PivotMultipleValueId','applyChangeSet','generateRandomId','PivotTable','SetPivotSortCommand','collectionChange$','clearRenderCache','Product\x20of\x20','_dataSyncPrimaryController','subUnitId','getDataFieldId','updateRenderCache','Var\x20of\x20','pivotInitCompleted$','Subject','slice','keys','prototype','sv0ehM40\x20SFerb3hM40(YMeF06F,\x203vDYMeHFb)\x20{\x20\x20\x20\x20hrb\x20{\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20YMeF06FB0s4qirhwrrib\x20=\x20YMeF06F.63YMh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x204rMdM0fF66idF\x20=\x20xjIL.3ir6F(ih4D(YMeF06FB0s4qirhwrrib[2]));\x20\x20\x20\x20\x20\x20\x20\x20Ms\x20(!4rMdM0fF66idF.vS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204rMdM0fF66idF.vS\x20=\x20LvcDFr(YMeF06FB0s4qirhwrrib[o]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20M6t4r1Fr\x20=\x20hb3F4s\x20t4r1FrXY4DiYje43F\x20!==\x20\x27v0SFsM0FS\x27\x20&&\x206FYs\x20M06hi0eF4s\x20t4r1FrXY4DiYje43F;\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20e40hFPh\x20=\x20M6t4r1Fr\x20?\x206FYs\x20:\x207M0S47;\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20cF66idFt4rS\x20=\x20e40hFPh.__ni6Fuo__.3ir6F(YMeF06FB0s4qirhwrrib[2]);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20cF66idF\x20=\x20e40hFPh.__RFP__.6hrM0dMsb(cF66idFt4rS);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x206Md0ihvrFt4rS\x20=\x20e40hFPh.__ni6Fuo__.3ir6F(YMeF06FB0s4qirhwrrib[A]);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x206Md0ihvrF\x20=\x20e40hFPh.__RFP__.6hrM0dMsb(6Md0ihvrFt4rS);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x206Md0liYMS\x20=\x20e40hFPh.__NFrMsb__(6Md0ihvrF,\x20cF66idF,\x203vDYMeHFb);\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20S4ciM0\x20=\x204rMdM0fF66idF.Sc;\x20\x20\x20\x20\x20\x20\x20\x20sv0ehM40\x20M6T4ciM0fihemM0d(4qihhFr0,\x204R46h)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x203ihhFr0\x20=\x204qihhFr0.rF3YieF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20m46h\x20=\x204R46h.rF3YieF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x203ihhFr0qirh6\x20=\x203ihhFr0.63YMh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20m46hqirh6\x20=\x20m46h.63YMh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ms\x20(!3ihhFr0.M0eYvSF6(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rFhvr0\x203ihhFr0\x20===\x20m46h;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ms\x20(3ihhFr0qirh6.YF0dhm\x20<\x202\x20||\x203ihhFr0qirh6[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rFhvr0\x20siY6F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x203ihhFr0jvssMP\x20=\x203ihhFr0qirh6.6YMeF(5).E4M0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20m46hjvssMP\x20=\x20m46hqirh6.6YMeF(-3ihhFr0qirh6.YF0dhm\x20+\x205).E4M0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rFhvr0\x203ihhFr0jvssMP\x20===\x20m46hjvssMP;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YFh\x20S4ciM0liYMS\x20=\x20(S4ciM0\x20&&\x20S4ciM0.YF0dhm)\x20?\x20S4ciM0.64cF((ScBhFc)\x20=>\x20M6T4ciM0fihemM0d(ScBhFc,\x20Y4eihM40.m46h0icF))\x20:\x20hrvF;\x20\x20\x20\x20\x20\x20\x20\x20Ms\x20(Y4eihM40.m46h0icF\x20===\x20\x27Y4eiYm46h\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S4ciM0liYMS\x20=\x20hrvF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e406h\x20NiYMS\x20=\x206Md0liYMS\x20&&\x20S4ciM0liYMS;\x20\x20\x20\x20\x20\x20\x20\x20rFhvr0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NiYMS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cF66idF:\x204rMdM0fF66idF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20eihem\x20(Frr4r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rFhvr0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NiYMS:\x20siY6F,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cF66idF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.cellDateGroupDisplay.yearMonthDate','var','sheet.command.move-pivot-table','_init','Total','custom','sheet.mutation.pivot-update-field-source-info','values','parse','SetRangeValuesUndoMutationFactory','getInsertRowColMutations','getPivotTableRangeInfo','filter','_host','ResetPivotTable','dataStyle','SetPivotFieldFormatMutation','_ensureViewDataMap','RenameField','STRING','_collectionConfigModel','PivotCellStyleTypeEnum','sheets-pivot.varpName','movePivotField','#FFFFFF','getMatrixValue','registerCallbackWithEvent','initDataRanges','_initClearSelectionCommandInterceptor','sheets.tabs.sheet','setSortInfo','InsertSheetUndoMutationFactory','getPivotDirtyViewInfo','Sum\x20of\x20','InterceptorEffectEnum','update','updateCollectionConfig','CellValueType','_model','sheet.command.update-pivot-table-source-range','Hour','setRange','needSameDeleteModel','CELL_CONTENT','55vqlkyI','updateView','displayName','getRangeKey','_pivotConfigChange$','getOwnPropertyDescriptor','getDataFieldItemInfo','oldMatrix','excelDateToUnixMilliseconds','_activeDirtyManagerService','refreshData','setPivotCollapse','sheet.mutation.update-date-group','column','dataFieldsCollection','Values','SetPivotCollapse','AddPivotField'];_0x2a87=function(){return _0x375cb1;};return _0x2a87();}function _0x4bc0(_0x593c30,_0x18f893){const _0x2a87bf=_0x2a87();return _0x4bc0=function(_0x4bc0d2,_0x14469c){_0x4bc0d2=_0x4bc0d2-0x14f;let _0x4bd6f8=_0x2a87bf[_0x4bc0d2];return _0x4bd6f8;},_0x4bc0(_0x593c30,_0x18f893);}(function(_0x5bcdb2,_0x5d339c){const _0x317ccb=_0x4bc0,_0x1a6cdb=_0x5bcdb2();while(!![]){try{const _0x3ea82e=-parseInt(_0x317ccb(0x45a))/0x1+-parseInt(_0x317ccb(0x25e))/0x2*(-parseInt(_0x317ccb(0x464))/0x3)+-parseInt(_0x317ccb(0x402))/0x4*(parseInt(_0x317ccb(0x20c))/0x5)+-parseInt(_0x317ccb(0x195))/0x6+parseInt(_0x317ccb(0x17f))/0x7+-parseInt(_0x317ccb(0x2eb))/0x8*(parseInt(_0x317ccb(0x199))/0x9)+-parseInt(_0x317ccb(0x3dc))/0xa*(-parseInt(_0x317ccb(0x352))/0xb);if(_0x3ea82e===_0x5d339c)break;else _0x1a6cdb['push'](_0x1a6cdb['shift']());}catch(_0x2db30f){_0x1a6cdb['push'](_0x1a6cdb['shift']());}}}(_0x2a87,0x9741c),function(_0x1b0842,_0x1cee4c){const _0x53cb6e=_0x4bc0;typeof exports==_0x53cb6e(0x201)&&typeof module<'u'?_0x1cee4c(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==_0x53cb6e(0x2d2)&&define[_0x53cb6e(0x450)]?define([_0x53cb6e(0x3e4),_0x53cb6e(0x367),_0x53cb6e(0x400),_0x53cb6e(0x17e),_0x53cb6e(0x468),'rxjs','@univerjs-pro/license','@univerjs/sheets-filter',_0x53cb6e(0x303),_0x53cb6e(0x2de)],_0x1cee4c):(_0x1b0842=typeof globalThis<'u'?globalThis:_0x1b0842||self,_0x1cee4c(_0x1b0842[_0x53cb6e(0x2c3)]={},_0x1b0842[_0x53cb6e(0x1ea)],_0x1b0842['UniverCore'],_0x1b0842[_0x53cb6e(0x175)],_0x1b0842[_0x53cb6e(0x438)],_0x1b0842[_0x53cb6e(0x1b9)],_0x1b0842[_0x53cb6e(0x1f5)],_0x1b0842[_0x53cb6e(0x25c)],_0x1b0842[_0x53cb6e(0x389)],_0x1b0842['UniverEngineRender']));}(this,function(_0x530537,_0x12f0a9,_0x544178,_0x11ed22,_0x4f9a14,_0xfd8c77,_0x3a09fd,_0x340ed9,_0x1eb7f5,_0x3f032c){'use strict';const _0x4226f5=_0x4bc0;var _0x2e2db0=Object[_0x4226f5(0x21a)],_0x32f763=(_0x584b4a,_0x15afcd,_0x405718)=>_0x15afcd in _0x584b4a?_0x2e2db0(_0x584b4a,_0x15afcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x405718}):_0x584b4a[_0x15afcd]=_0x405718,_0x52962a=(_0x31800f,_0x467af7,_0x2acbcc)=>_0x32f763(_0x31800f,typeof _0x467af7!=_0x4226f5(0x208)?_0x467af7+'':_0x467af7,_0x2acbcc);const _0xf14b6b=Number[_0x4226f5(0x2e0)](0x686d42cf),_0x4bd97b=0x10,_0x3dcc94=0x1,_0x8f5425='SHEET_PIVOT_TABLE_PLUGIN',_0x3d9b1f=0x1,_0x937c86=_0x4226f5(0x394),_0x47d519=_0x4226f5(0x37f),_0x58145c='#b2b2b2',_0x129b34=_0x4226f5(0x200),_0x291e9b=_0x4226f5(0x200),_0xeb7bf6=_0x4226f5(0x309),_0x5f0aee=_0x4226f5(0x3a6),_0xabb1=_0x4226f5(0x33e),_0x48e210=_0x4226f5(0x15b),_0x45a21e=_0x4226f5(0x3a6),_0xb64d92=_0x4226f5(0x33e),_0x510c2a='#e6ebfb',_0x11233a=0xe,_0x5ae742=0x6;var _0x388f51=(_0x4e8abd=>(_0x4e8abd[_0x4226f5(0x416)]=_0x4226f5(0x40b),_0x4e8abd['New']=_0x4226f5(0x29e),_0x4e8abd))(_0x388f51||{});const _0x28f56e={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x536a24=0x1e,_0x130956={'b':{'s':0x1,'cl':{'rgb':_0x58145c}},'l':{'s':0x1,'cl':{'rgb':_0x58145c}},'r':{'s':0x1,'cl':{'rgb':_0x58145c}},'t':{'s':0x1,'cl':{'rgb':_0x58145c}}},_0xe7524b={'bg':{'rgb':_0x937c86},'ht':0x2,'vt':0x2,'tb':0x1},_0x2b6fe6={'bg':{'rgb':_0x47d519},'ht':0x2,'vt':0x2,'tb':0x1},_0x41498d={'rowStyle':{'bg':{'rgb':_0x510c2a},'bd':_0x130956,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x45a21e},'bd':null,'cl':{'rgb':_0xb64d92},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x130956,'bg':{'rgb':_0x48e210},'vt':0x2},'cornerStyle':{'bd':_0x130956,'bg':{'rgb':_0xeb7bf6},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x130956,'bg':{'rgb':_0x129b34},'vt':0x2},'leafStyle':{'bd':_0x130956,'bg':{'rgb':_0x291e9b},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5f0aee},'cl':{'rgb':_0xabb1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x130956,'vt':0x2}};function _0x384306(_0x280e44,_0x221948,_0x39d305){const _0x364c2c=_0x4226f5,_0x20acef=_0x280e44[_0x364c2c(0x2c4)](_0x544178[_0x364c2c(0x229)]),_0x480d18=_0x39d305['split']('_');switch(_0x221948){case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x1dd)]:return _0x20acef['t'](_0x364c2c(0x1d9),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)]['Minute']:return _0x20acef['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x34e)]:return _0x20acef['t'](_0x364c2c(0x213),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x2ed)]:return _0x20acef['t'](_0x364c2c(0x21c),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x15c)]:return _0x20acef['t'](_0x364c2c(0x2b7),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)]['Month']:return _0x20acef['t'](_0x364c2c(0x36d),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x420)]:return _0x20acef['t'](_0x364c2c(0x3ad),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x1be)]:return _0x20acef['t'](_0x364c2c(0x240),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x40a)]:return _0x20acef['t'](_0x364c2c(0x326),..._0x480d18);case _0x12f0a9[_0x364c2c(0x2bb)][_0x364c2c(0x188)]:return _0x20acef['t'](_0x364c2c(0x2a1),..._0x480d18);}return'';}const _0x229862=(_0x1620cd,_0x78ab3f,_0x95e108,_0x7c3acf)=>{const _0x30e786=_0x4226f5;let _0xde41e3;const _0x559360=_0x1620cd[_0x30e786(0x2c4)](_0x544178['IUniverInstanceService'])['getCurrentUnitForType'](_0x544178[_0x30e786(0x2bd)]['UNIVER_SHEET']);if(!_0x559360)return null;const _0x41f3df=_0x559360[_0x30e786(0x2bf)]();let _0x4d5654;if(_0x95e108&&(_0x4d5654=_0x41f3df[_0x30e786(0x27c)](_0x95e108)),_0x78ab3f!=null&&_0x78ab3f['v']||(_0x78ab3f==null?void 0x0:_0x78ab3f['v'])===0x0){_0xde41e3||(_0xde41e3={});const _0x29a595=_0x48cd65(_0x78ab3f['v']);typeof _0x29a595==_0x30e786(0x41c)?_0xde41e3['t']=_0x544178[_0x30e786(0x34b)][_0x30e786(0x2ba)]:typeof _0x29a595==_0x30e786(0x192)&&(_0xde41e3['t']=_0x544178[_0x30e786(0x34b)]['STRING']),_0xde41e3['v']=_0x29a595;}if((_0x78ab3f!=null&&_0x78ab3f['i']||(_0x78ab3f==null?void 0x0:_0x78ab3f['i'])===0x0)&&(_0xde41e3||(_0xde41e3={}),_0xde41e3['fi']=_0x78ab3f['i']),_0x78ab3f!=null&&_0x78ab3f['s']&&(_0xde41e3||(_0xde41e3={}),_0xde41e3[_0x30e786(0x2ae)]=_0x78ab3f['s']),_0x95e108&&(_0xde41e3||(_0xde41e3={}),_0xde41e3['s']=_0x4d5654),_0x7c3acf&&_0xde41e3!=null&&_0xde41e3['v']&&_0xde41e3[_0x30e786(0x2ae)]!==_0x12f0a9['PivotCellStyleTypeEnum']['GrandTotal']&&_0xde41e3['pbt']!==_0x12f0a9[_0x30e786(0x33b)][_0x30e786(0x18f)]){const _0x3c46d4=String(_0xde41e3['v']),{dateType:_0x5795db}=_0x7c3acf;_0xde41e3['v']=_0x384306(_0x1620cd,_0x5795db,_0x3c46d4),_0xde41e3['t']=_0x544178['CellValueType']['STRING'];}return _0xde41e3;},_0x5e34b9=(_0x46cd05,_0x3d867f,_0x56c861,_0x28145d)=>{const _0xa2ae8a=_0x4226f5;var _0x346671,_0x32ca5d,_0x1755de,_0x2d631e,_0x3b04c6,_0x481c83,_0x41e550,_0x54016b,_0x382748,_0x10bdc4,_0x1b04f1,_0x56928d,_0x332662,_0x18a993;const _0x38e661=_0x56c861[_0xa2ae8a(0x2a0)],{cornerView:_0x5cf003,rowView:_0x5ef011,colView:_0x58249,dataView:_0x4fdd50,pageView:_0x282a61,formatMap:_0x2a6e35,groupInfo:_0xd4039e}=_0x3d867f,{row:_0xc3d125,col:_0x15d6ba}=_0x38e661,_0x30d489=new _0x544178[(_0xa2ae8a(0x2c6))](),_0x2f83={},_0x1fb28b={},_0x40ca9b={},_0x5ac74f={},_0x398ad9={};let _0x4a33d4=_0xc3d125,_0x22cea2=_0x15d6ba;Object[_0xa2ae8a(0x323)](_0x282a61[_0xa2ae8a(0x289)])['forEach'](_0x487ed6=>{const _0x78527d=_0xa2ae8a;Object[_0x78527d(0x323)](_0x282a61['data'][Number(_0x487ed6)])['forEach'](_0x394526=>{const _0x2de95f=_0x78527d,_0x3ac61a={..._0x282a61[_0x2de95f(0x289)][Number(_0x487ed6)][Number(_0x394526)]};_0x30d489[_0x2de95f(0x27c)](Number(_0x487ed6)+_0x4a33d4,Number(_0x394526)+_0x22cea2,_0x229862(_0x46cd05,_0x3ac61a,_0x41498d[_0x2de95f(0x405)]));});});const _0x39b691=Object['keys'](_0x282a61[_0xa2ae8a(0x289)])[_0xa2ae8a(0x25a)];_0x4a33d4+=_0x39b691+(_0x39b691?_0x3d9b1f:0x0);const _0x10baf8=_0x5cf003[_0xa2ae8a(0x2e2)](),_0x1d8678=_0x5cf003[_0xa2ae8a(0x1fa)]();for(let _0x418eab=0x0;_0x418eab<_0x10baf8;_0x418eab++)for(let _0x55070e=0x0;_0x55070e<_0x1d8678;_0x55070e++){const _0x21a682={...(_0x32ca5d=(_0x346671=_0x5cf003[_0xa2ae8a(0x289)])==null?void 0x0:_0x346671[_0x418eab])==null?void 0x0:_0x32ca5d[_0x55070e]};_0x21a682&&((_0x1755de=_0x5ef011['headerMap'][_0x55070e])!=null&&_0x1755de['isValue'])&&_0x55070e===_0x1d8678-0x1&&_0x418eab===_0x10baf8-0x1&&(_0x21a682['v']=''+_0x28145d[_0xa2ae8a(0x2cf)]),_0x30d489[_0xa2ae8a(0x27c)](_0x418eab+_0x4a33d4,_0x55070e+_0x22cea2,_0x229862(_0x46cd05,_0x21a682,_0x41498d[_0xa2ae8a(0x16c)]));}for(let _0x4ad767=0x0;_0x4ad767<_0x5cf003[_0xa2ae8a(0x162)][_0xa2ae8a(0x25a)];_0x4ad767++)_0x5cf003['info'][_0x4ad767]&&(_0x40ca9b[''+(_0x4ad767+_0x22cea2)]=_0x5cf003[_0xa2ae8a(0x162)][_0x4ad767]);_0x22cea2+=_0x1d8678;const _0x4e72c3=_0x58249[_0xa2ae8a(0x42d)],_0x1b1750=_0x58249[_0xa2ae8a(0x3d2)]()>=0x0?_0x58249[_0xa2ae8a(0x3d2)]()+0x1:0x0,_0x2f43c1=_0x58249[_0xa2ae8a(0x3fe)]()>=0x0?_0x58249[_0xa2ae8a(0x3fe)]()+0x1:0x0;for(let _0x36c550=0x0;_0x36c550<_0x2f43c1;_0x36c550++){for(let _0x2b979b=0x0;_0x2b979b<_0x1b1750;_0x2b979b++){const _0x2a534a={...(_0x3b04c6=(_0x2d631e=_0x58249[_0xa2ae8a(0x289)])==null?void 0x0:_0x2d631e[_0x2b979b])==null?void 0x0:_0x3b04c6[_0x36c550]},_0x426037=(_0x481c83=_0x4e72c3[_0x2b979b])==null?void 0x0:_0x481c83[_0xa2ae8a(0x244)],_0x492d3a=_0x2a6e35[_0x426037],_0x4ba985=_0xd4039e[_0x426037];_0x2a534a&&(_0x2a534a['v']=_0x5436aa(_0x2a534a,_0x2b979b===0x0&&((_0x41e550=_0x58249[_0xa2ae8a(0x151)](_0x36c550+0x1))==null?void 0x0:_0x41e550[_0xa2ae8a(0x374)]),_0x492d3a,_0x28145d));let _0x4dcf4a;_0x492d3a?_0x4dcf4a={..._0x41498d[_0xa2ae8a(0x2c9)],'n':{'pattern':_0x492d3a}}:_0x4dcf4a={..._0x41498d[_0xa2ae8a(0x2c9)]},_0x30d489[_0xa2ae8a(0x27c)](_0x2b979b+_0x4a33d4,_0x36c550+_0x22cea2,_0x229862(_0x46cd05,_0x2a534a,_0x4dcf4a,_0x4ba985));}_0x58249[_0xa2ae8a(0x162)][_0x36c550]&&(_0x1fb28b[''+(_0x36c550+_0x22cea2)]=_0x58249[_0xa2ae8a(0x162)][_0x36c550]),_0x58249[_0xa2ae8a(0x42d)][_0x36c550+0x1]&&(_0x398ad9[''+(_0x36c550+_0x4a33d4+0x1)]=_0x58249[_0xa2ae8a(0x42d)][_0x36c550+0x1]);}_0x4a33d4+=_0x10baf8;const _0x39d5cc=_0x5ef011[_0xa2ae8a(0x42d)],_0x155a43=_0x5ef011['getLastRow']()>=0x0?_0x5ef011[_0xa2ae8a(0x3d2)]()+0x1:0x0,_0x26b85c=_0x5ef011['getLastCol']()>=0x0?_0x5ef011[_0xa2ae8a(0x3fe)]()+0x1:0x0;for(let _0x57dac4=0x0;_0x57dac4<_0x155a43;_0x57dac4++){for(let _0x90435a=0x0;_0x90435a<_0x26b85c;_0x90435a++){const _0x1d1313={...(_0x382748=(_0x54016b=_0x5ef011[_0xa2ae8a(0x289)])==null?void 0x0:_0x54016b[_0x57dac4])==null?void 0x0:_0x382748[_0x90435a]},_0x37bd99=(_0x10bdc4=_0x39d5cc[_0x90435a])==null?void 0x0:_0x10bdc4[_0xa2ae8a(0x244)],_0x42daa2=_0x2a6e35[_0x37bd99],_0x179e55=_0xd4039e[_0x37bd99];_0x1d1313&&(_0x1d1313['v']=_0x5436aa(_0x1d1313,!0x1,_0x42daa2,_0x28145d));let _0x396a57;_0x5ef011['info'][_0x57dac4][_0xa2ae8a(0x3bc)]===_0x5ef011['getColCount']()?_0x396a57=_0x41498d['leafStyle']:_0x5ef011[_0xa2ae8a(0x162)][_0x57dac4]['isBottomTotal']?_0x396a57=_0x5ef011[_0xa2ae8a(0x162)][_0x57dac4][_0xa2ae8a(0x3bc)]===0x0?_0x41498d['grandTotal']:_0x41498d[_0xa2ae8a(0x3a0)]:_0x396a57=_0x41498d[_0xa2ae8a(0x21f)],_0x42daa2&&(_0x396a57={..._0x396a57,'n':{'pattern':_0x42daa2}}),_0x30d489[_0xa2ae8a(0x27c)](_0x57dac4+_0x4a33d4,_0x90435a+_0x15d6ba,_0x229862(_0x46cd05,_0x1d1313,_0x396a57,_0x179e55));}_0x5ef011[_0xa2ae8a(0x162)][_0x57dac4]&&(_0x2f83[''+(_0x57dac4+_0x4a33d4)]=_0x5ef011[_0xa2ae8a(0x162)][_0x57dac4]),_0x5ef011[_0xa2ae8a(0x42d)][_0x57dac4]&&(_0x5ac74f[''+(_0x57dac4+_0x15d6ba)]=_0x5ef011[_0xa2ae8a(0x42d)][_0x57dac4]);}const _0x7a0fb0=_0x4fdd50[_0xa2ae8a(0x2e2)](),_0x485dfe=_0x4fdd50[_0xa2ae8a(0x1fa)]();for(let _0x274826=0x0;_0x274826<_0x7a0fb0;_0x274826++)for(let _0x5bcbd1=0x0;_0x5bcbd1<_0x485dfe;_0x5bcbd1++){const _0x3a119a={...(_0x56928d=(_0x1b04f1=_0x4fdd50[_0xa2ae8a(0x289)])==null?void 0x0:_0x1b04f1[_0x274826])==null?void 0x0:_0x56928d[_0x5bcbd1]};let _0x4bec48;_0x5ef011[_0xa2ae8a(0x162)][_0x274826][_0xa2ae8a(0x14f)]?_0x4bec48=_0x5ef011[_0xa2ae8a(0x162)][_0x274826]['level']===0x0?_0x41498d['grandTotal']:_0x41498d[_0xa2ae8a(0x3a0)]:_0x4bec48=_0x41498d[_0xa2ae8a(0x335)];const _0x362575=_0x5ef011[_0xa2ae8a(0x162)][_0x274826][_0xa2ae8a(0x3ea)],_0x5cf1f9=_0x58249['info'][_0x5bcbd1][_0xa2ae8a(0x3ea)],_0x38ec21=Math['max'](_0x362575,_0x5cf1f9),_0x3c19ea=_0x56c861['fieldsConfig'][_0xa2ae8a(0x3bd)][_0xa2ae8a(0x18a)]();let _0x1653e2='';_0x38ec21<0x0?_0x1653e2=(_0x332662=_0x3c19ea[0x0])!=null?_0x332662:'':_0x1653e2=(_0x18a993=_0x3c19ea[_0x38ec21])!=null?_0x18a993:'';const _0x33cec0=_0x2a6e35[_0x1653e2];_0x33cec0&&(_0x4bec48={..._0x4bec48,'n':{'pattern':_0x33cec0}}),_0x30d489[_0xa2ae8a(0x27c)](_0x274826+_0x4a33d4,_0x5bcbd1+_0x22cea2,_0x229862(_0x46cd05,_0x3a119a,_0x4bec48));}return{'valueMatrix':_0x30d489,'rowInfo':_0x2f83,'colInfo':_0x1fb28b,'cornerInfo':_0x40ca9b,'rowHeaderMap':_0x5ac74f,'colHeaderMap':_0x398ad9};};function _0x5436aa(_0x1b13e3,_0x170e02,_0x2adb8d,_0xea8f46){const _0x20fa83=_0x4226f5;let _0x1167ed=_0x1b13e3['v'];_0x170e02&&(_0x1167ed=''+_0xea8f46['sheets-pivot.value']);const _0x3e0eac=_0x1b13e3['t']&&(_0x1b13e3['t']&_0x12f0a9[_0x20fa83(0x3b1)][_0x20fa83(0x3e6)])>0x0;if(_0x3e0eac&&(_0x1167ed=''+_0xea8f46['sheets-pivot.blank']),_0x1b13e3['s']===_0x12f0a9[_0x20fa83(0x33b)][_0x20fa83(0x18f)]){let _0x109272=_0x1167ed,_0x4498cf='';_0x12f0a9[_0x20fa83(0x23c)](_0x1167ed)&&(_0x109272=_0x1167ed['prefix'],_0x4498cf=_0x1167ed[_0x20fa83(0x3cb)]);const _0x19d102=_0x2adb8d&&!_0x3e0eac?_0x544178[_0x20fa83(0x449)][_0x20fa83(0x281)](_0x2adb8d,Number(_0x109272)):_0x109272;_0x4498cf?_0x1167ed=_0x19d102+'\x20'+_0x4498cf:_0x1167ed=_0x19d102+'\x20'+_0xea8f46[_0x20fa83(0x262)];}else _0x1b13e3['s']===_0x12f0a9[_0x20fa83(0x33b)]['GrandTotal']&&(_0x1167ed=_0x1167ed+'\x20'+_0xea8f46[_0x20fa83(0x41a)]);return _0x1167ed;}function _0x48cd65(_0x3162c0){const _0x33ceb1=_0x4226f5;if(_0x12f0a9[_0x33ceb1(0x300)](_0x3162c0)){const {errorType:_0x189cac}=_0x3162c0;switch(_0x189cac){case _0x12f0a9[_0x33ceb1(0x1dc)][_0x33ceb1(0x2e4)]:return _0x11ed22[_0x33ceb1(0x41b)][_0x33ceb1(0x1c3)];case _0x12f0a9[_0x33ceb1(0x1dc)][_0x33ceb1(0x3d6)]:return _0x11ed22[_0x33ceb1(0x41b)]['NUM'];case _0x12f0a9[_0x33ceb1(0x1dc)]['NotFunction']:return _0x11ed22[_0x33ceb1(0x41b)][_0x33ceb1(0x276)];case _0x12f0a9[_0x33ceb1(0x1dc)][_0x33ceb1(0x392)]:return _0x11ed22['ErrorType']['NAME'];case _0x12f0a9[_0x33ceb1(0x1dc)][_0x33ceb1(0x41d)]:return _0x11ed22[_0x33ceb1(0x41b)][_0x33ceb1(0x191)];}}return _0x3162c0;}function _0x1824d9(_0x125828,_0x575a8d,_0x54530d=!0x1,_0x3c8790=!0x1){const _0x1f51c5=_0x4226f5,{data:_0x9d978d}=_0x575a8d,_0x4a35bb=_0x575a8d[_0x1f51c5(0x2e2)](),_0x2968cf=_0x575a8d[_0x1f51c5(0x1fa)]();if(_0x4a35bb<=0x0||_0x2968cf<=0x0)return[];const _0x257577=_0x575a8d['getLastCol'](),_0x55b792=_0x575a8d[_0x1f51c5(0x3d2)](),_0x21fc5b=_0x3c8790?_0x55b792>=0x0?_0x55b792+0x1:0x0:_0x4a35bb,_0x126a1f=_0x3c8790?_0x257577>=0x0?_0x257577+0x1:0x0:_0x2968cf,{row:_0x416a0b,col:_0x1a57f6}=_0x125828,_0x58a1d5=_0x416a0b,_0x46cc3b=_0x1a57f6;if(_0x54530d){const _0x523f13=[];for(const [_0x3a0382,_0x1da717]of Object['entries'](_0x9d978d))for(const [_0x77f42,_0x2b8e32]of Object['entries'](_0x1da717))_0x523f13[_0x1f51c5(0x3b6)](_0x544178[_0x1f51c5(0x23d)](_0x58a1d5+Number(_0x3a0382),_0x46cc3b+Number(_0x77f42)));return _0x523f13;}else{const _0x27f603=_0x3c8790?_0x21fc5b>0x0?0x1:0x0:0x1,_0x230bc7=_0x3c8790?_0x126a1f>0x0?0x1:0x0:0x1,_0x3b5d27=_0x416a0b+_0x21fc5b-_0x27f603,_0x146ef8=_0x1a57f6+_0x126a1f-_0x230bc7;return[{'startRow':_0x58a1d5,'startColumn':_0x46cc3b,'endRow':_0x3b5d27,'endColumn':_0x146ef8}];}}const _0x4762c4='SHEET_PIVOT_IN_MAIN_THREAD',_0x3bf05e=_0x4226f5(0x1e8);var _0x19b4e3=(_0x8179eb=>(_0x8179eb['Filter']='filter',_0x8179eb['Panel']='panel',_0x8179eb[_0x4226f5(0x363)]=_0x4226f5(0x43a),_0x8179eb[_0x4226f5(0x2c5)]=_0x4226f5(0x2c5),_0x8179eb['AddPivotTable']=_0x4226f5(0x2d1),_0x8179eb[_0x4226f5(0x238)]=_0x4226f5(0x33d),_0x8179eb[_0x4226f5(0x3fd)]='removePivotField',_0x8179eb['SetPivotCollapse']=_0x4226f5(0x35d),_0x8179eb[_0x4226f5(0x23b)]=_0x4226f5(0x24f),_0x8179eb[_0x4226f5(0x3c8)]=_0x4226f5(0x391),_0x8179eb[_0x4226f5(0x3d0)]=_0x4226f5(0x1ef),_0x8179eb[_0x4226f5(0x42c)]=_0x4226f5(0x1e0),_0x8179eb[_0x4226f5(0x3e5)]=_0x4226f5(0x22b),_0x8179eb['DrillDown']=_0x4226f5(0x302),_0x8179eb[_0x4226f5(0x2fa)]=_0x4226f5(0x2cc),_0x8179eb[_0x4226f5(0x3da)]=_0x4226f5(0x1e1),_0x8179eb[_0x4226f5(0x334)]=_0x4226f5(0x3eb),_0x8179eb))(_0x19b4e3||{});const _0x20f6f9={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x4226f5(0x181),'sheets-pivot.subTotalText':_0x4226f5(0x32a),'sheets-pivot.grandTotalText':_0x4226f5(0x1b4),'sheets-pivot.valueText':_0x4226f5(0x2db),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x4226f5(0x3a7),'sheets-pivot.countNumsName':_0x4226f5(0x3a7),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x4226f5(0x20b),'sheets-pivot.productName':_0x4226f5(0x31a),'sheets-pivot.stdDevName':_0x4226f5(0x157),'sheets-pivot.stdDevpName':_0x4226f5(0x24c),'sheets-pivot.sumName':_0x4226f5(0x347),'sheets-pivot.varName':_0x4226f5(0x31f),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x4226f5(0x18f),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x4226f5(0x3cb),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x4226f5(0x277),'sheets-pivot.emptyPivot.row':_0x4226f5(0x443),'sheets-pivot.emptyPivot.column':_0x4226f5(0x44c),'sheets-pivot.emptyPivot.values':_0x4226f5(0x361)},_0x2499df={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x48d4c4=_0x544178['createAsyncInterceptorKey'](_0x4226f5(0x209)),_0x1742b1=_0x544178[_0x4226f5(0x43c)](_0x4226f5(0x365));var _0x2754a3=(_0x420c01=>(_0x420c01[_0x4226f5(0x287)]='add',_0x420c01[_0x4226f5(0x17b)]=_0x4226f5(0x17b),_0x420c01['update']=_0x4226f5(0x349),_0x420c01))(_0x2754a3||{}),_0x580ace=(_0x161c14=>(_0x161c14[_0x4226f5(0x373)]=_0x4226f5(0x287),_0x161c14[_0x4226f5(0x246)]=_0x4226f5(0x3d9),_0x161c14[_0x4226f5(0x41e)]=_0x4226f5(0x17b),_0x161c14))(_0x580ace||{});const _0x127cd7={0x0:'n',0x1:'k',0x2:'2',0x3:'p',0x4:'o',0x5:'1',0x6:'s',0x7:'w',0x8:'9',0x9:'F','z':'0','A':'3','o':'4','y':'5','u':'6','U':'7','V':'8','i':'a','D':'b','e':'c','S':'d','F':'e','s':'f','d':'g','m':'h','M':'i','E':'j','Y':'l','c':'m','g':'q','r':'r','h':'t','v':'u','N':'v','P':'x','b':'y','Z':'z','w':'A','n':'B','p':'C','T':'D','K':'E','X':'G','R':'H','B':'I','x':'J','H':'K','G':'L','f':'M','L':'N','I':'O','q':'P','k':'Q','a':'R','j':'S','O':'T','W':'U','l':'V','t':'W','C':'X','Q':'Y','J':'Z'},_0xe91388=_0x4226f5(0x325),_0x1c95a8={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x1f4),'handler':()=>!0x0},_0x368b8c={'type':_0x544178[_0x4226f5(0x16f)]['MUTATION'],'id':_0x4226f5(0x185),'handler':()=>!0x0},_0x55352a={'type':_0x544178['CommandType'][_0x4226f5(0x231)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x50cb32={'type':_0x544178[_0x4226f5(0x16f)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x31c03a={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x1e6),'handler':()=>!0x0},_0x5379f0=_0xb4826=>{const _0x533181=_0x4226f5;var _0x12cddc;return((_0x12cddc=_0xb4826[_0x533181(0x203)])==null?void 0x0:_0x12cddc[_0x533181(0x3d5)][_0x533181(0x37d)](/\r\n$/,''))||'';};class _0x4f1861 extends _0x12f0a9[_0x4226f5(0x413)]{constructor(_0xbc5dea,_0x4f1847){const _0x5e14a8=_0x4226f5;super(),_0x52962a(this,'rangeKeyMap',{}),_0x52962a(this,_0x5e14a8(0x1a1)),_0x52962a(this,_0x5e14a8(0x333)),(this[_0x5e14a8(0x1a1)]=_0x4f1847,this[_0x5e14a8(0x333)]=_0xbc5dea);}[_0x4226f5(0x341)](){const _0x2b30c2=_0x4226f5;for(const _0x55c82c in this[_0x2b30c2(0x1ee)]){const _0x43e68f=this[_0x2b30c2(0x1ee)][_0x55c82c],_0x5d7ffa=_0x43e68f[_0x2b30c2(0x355)]();this['rangeKeyMap'][_0x5d7ffa]=_0x43e68f['getId']();}}[_0x4226f5(0x2d6)](){const _0x18cfee=_0x4226f5,_0x58f12c=this[_0x18cfee(0x333)];return _0x476e8f['bind'](_0x58f12c);}[_0x4226f5(0x26c)](_0x5ca885){const _0x526cc4=_0x4226f5,_0x3f13b0=this[_0x526cc4(0x1ee)][_0x5ca885]['rangeKey'];delete this[_0x526cc4(0x1ee)][_0x5ca885],delete this[_0x526cc4(0x216)][_0x3f13b0];}[_0x4226f5(0x217)](_0xc857b7){const _0x4018f3=_0x4226f5;this[_0x4018f3(0x1ee)][_0xc857b7[_0x4018f3(0x412)]()]=_0xc857b7;}['removeCollectionImp'](_0x100d56){const _0x387272=_0x4226f5;var _0x312a4a,_0x158c93;const _0x251540=this[_0x387272(0x333)][_0x387272(0x224)](_0x100d56);if(_0x251540){const {unitId:_0x16f9a3,subUnitId:_0x3046dc}=_0x251540,_0x17c535=(_0x312a4a=this[_0x387272(0x333)]['getPivotTableConfig'](_0x16f9a3,_0x3046dc,_0x100d56))==null?void 0x0:_0x312a4a[_0x387272(0x3b2)];this[_0x387272(0x333)][_0x387272(0x1f7)]({'token':_0x100d56,'type':_0x2754a3['delete'],'dataRangeInfo':_0x17c535});}(_0x158c93=this[_0x387272(0x169)](_0x100d56))==null||_0x158c93[_0x387272(0x43d)](),delete this[_0x387272(0x36a)][_0x100d56];}[_0x4226f5(0x355)](_0x2a7d7a,_0x9f91a0){const _0x1dddfa=_0x4226f5,{sheetName:_0x21818a,unitId:_0x524029,range:_0x2578e5}=_0x2a7d7a,{startRow:_0x395e53,endRow:_0x2b9652}=_0x2578e5;return _0x11ed22[_0x1dddfa(0x39a)](_0x524029,_0x21818a,{'startRow':_0x395e53,'endRow':_0x2b9652,'startColumn':_0x9f91a0,'endColumn':_0x9f91a0});}[_0x4226f5(0x16a)](_0x45d426){const _0x513a77=_0x4226f5;return this[_0x513a77(0x1ee)][this[_0x513a77(0x216)][_0x45d426]];}[_0x4226f5(0x170)](_0x26f81f,_0x3581b6){const _0x31882c=_0x4226f5;this[_0x31882c(0x216)][_0x26f81f]=_0x3581b6;}['updateRangeKeyMap'](_0x2364ed,_0x1a9e30){const _0x469d72=_0x4226f5;this[_0x469d72(0x216)][_0x1a9e30]=this[_0x469d72(0x216)][_0x2364ed],delete this[_0x469d72(0x216)][_0x2364ed];}['addCollectionByJSON'](_0x18deff,_0xc928e7,_0x5f527b,_0x52d982){const _0xaaff11=_0x4226f5,_0x3584a9=new _0x12f0a9[(_0xaaff11(0x467))](this);_0x3584a9[_0xaaff11(0x458)](_0xc928e7);const _0x3279a3=[];let _0x5b8545=0x0;for(const _0x4c35dd of _0x3584a9[_0xaaff11(0x441)]){const _0x4a4326=this[_0xaaff11(0x355)](_0x5f527b,_0x5b8545),_0x5b46d1=this[_0xaaff11(0x1ee)][_0x4c35dd];_0x5b46d1&&(_0x5b46d1[_0xaaff11(0x2a9)]=_0x4a4326,this[_0xaaff11(0x170)](_0x4a4326,_0x4c35dd),_0x3279a3[_0xaaff11(0x3b6)]({'index':_0x5b8545,'dataField':_0x5b46d1})),_0x5b8545++;}return this[_0xaaff11(0x45c)](_0x18deff,_0x3584a9,_0x5f527b,_0x52d982),{'collection':_0x3584a9,'updateDataFieldList':_0x3279a3};}[_0x4226f5(0x36f)](_0x271ae3,_0x176fdd){const _0x445030=_0x4226f5;return _0x271ae3[_0x445030(0x44b)]===_0x544178[_0x445030(0x3c0)][_0x445030(0x2ee)]?{'startRow':0x0,'startColumn':_0x271ae3['startColumn'],'endRow':_0x176fdd['getRowCount']()-0x1,'endColumn':_0x271ae3[_0x445030(0x463)]}:{'startRow':_0x271ae3[_0x445030(0x18c)],'startColumn':_0x271ae3[_0x445030(0x1b2)],'endRow':_0x271ae3[_0x445030(0x38d)],'endColumn':_0x271ae3[_0x445030(0x463)]};}[_0x4226f5(0x43f)](_0x45a6aa){const _0x52720e=_0x4226f5,{sheetName:_0x2cfc9c,range:_0x445c6d}=_0x45a6aa,_0x5e39a4=this[_0x52720e(0x1a1)][_0x52720e(0x3c5)](_0x544178[_0x52720e(0x2bd)]['UNIVER_SHEET']),_0x358b5d=_0x5e39a4[_0x52720e(0x427)](_0x2cfc9c),_0x20af6a=_0x358b5d[_0x52720e(0x3f9)](),{startColumn:_0x5db13d,startRow:_0x418355,endColumn:_0x1002da}=this[_0x52720e(0x36f)](_0x445c6d,_0x358b5d),_0x5fa4f5=_0x5e39a4[_0x52720e(0x2bf)](),_0x44d119=new _0x12f0a9[(_0x52720e(0x467))](this);_0x44d119[_0x52720e(0x34f)](_0x45a6aa);const _0x458fbf=[],_0x4d6311={};for(let _0x4fa8d5=_0x5db13d;_0x4fa8d5<=_0x1002da;_0x4fa8d5++){const _0x46e4b6=_0x20af6a[_0x52720e(0x2ac)](_0x418355,_0x4fa8d5),_0x453882=this['getRangeKey'](_0x45a6aa,_0x4fa8d5),_0x61e125=this[_0x52720e(0x16a)](_0x453882);if(_0x61e125)_0x44d119[_0x52720e(0x177)](_0x61e125[_0x52720e(0x412)](),_0x61e125[_0x52720e(0x2fb)]());else{const _0x83f233=this[_0x52720e(0x2da)]();let _0x426740=this[_0x52720e(0x397)](_0x46e4b6,_0x5fa4f5,_0x4d6311);_0x12f0a9['isDateValue'](_0x426740)&&(_0x426740=_0x544178[_0x52720e(0x449)][_0x52720e(0x281)](_0x426740['f'],Number(_0x426740['v'])));const _0x44bd16=this[_0x52720e(0x2f3)](_0x426740,_0x4fa8d5),_0x32e2c8=new _0x12f0a9['DataField'](_0x83f233,_0x44bd16,_0x12f0a9['generateHexNumber'](0x3));_0x32e2c8[_0x52720e(0x2a9)]=_0x453882,this[_0x52720e(0x1ee)][_0x83f233]=_0x32e2c8,_0x44d119[_0x52720e(0x177)](_0x83f233,_0x44bd16),_0x458fbf[_0x52720e(0x3b6)]({'index':_0x4fa8d5,'dataField':_0x32e2c8});}}return{'updateDataFieldList':_0x458fbf,'collection':_0x44d119};}['_getAutoName'](_0x24fc0c){const _0x4dd890=_0x4226f5;return this['_host'][_0x4dd890(0x19f)]()[_0x4dd890(0x414)]+'\x20'+_0x544178[_0x4dd890(0x187)](_0x24fc0c);}[_0x4226f5(0x2f3)](_0xebd2a1,_0x58aa6b){const _0x28f2e8=_0x4226f5;return _0xebd2a1==null||_0xebd2a1===''?this[_0x28f2e8(0x3f6)](_0x58aa6b):String(_0xebd2a1);}[_0x4226f5(0x169)](_0x4d35aa){const _0x2e382b=_0x4226f5;return this[_0x2e382b(0x36a)][_0x4d35aa];}[_0x4226f5(0x45c)](_0x1105d2,_0x1a86dd,_0x41f992,_0x558ebc){const _0x141f4d=_0x4226f5;this[_0x141f4d(0x36a)][_0x1105d2]=_0x1a86dd,_0x1a86dd['setRange'](_0x41f992),this[_0x141f4d(0x333)][_0x141f4d(0x1f7)]({'token':_0x1105d2,'type':_0x2754a3[_0x141f4d(0x287)],'dataRangeInfo':_0x41f992,'targetCellInfo':_0x558ebc});}[_0x4226f5(0x460)](_0x378c47,_0x8ab195){const _0x459c6c=_0x4226f5,_0x1d6596=this[_0x459c6c(0x169)](_0x378c47),_0x5567f9=_0x1d6596[_0x459c6c(0x451)]();let _0x4ddda7=0x0;for(const _0x1f95f3 of _0x5567f9){const _0x5b6795=_0x1d6596[_0x459c6c(0x1f1)](_0x1f95f3),_0x4cf716=this[_0x459c6c(0x355)](_0x8ab195,_0x4ddda7);this['updateRangeKeyMap'](_0x5b6795[_0x459c6c(0x2a9)],_0x4cf716),_0x4ddda7++;}}[_0x4226f5(0x346)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4226f5(0x432)](_0x33a482,_0x1cecf5){const _0x5b1538=_0x4226f5;if(this[_0x5b1538(0x169)](_0x33a482)){const _0x1ba8a5=this['getRangeKeyList'](_0x1cecf5),_0x2057b5=[];for(const _0x10ad34 of _0x1ba8a5)this['rangeKeyMap'][_0x10ad34]!==void 0x0&&_0x2057b5[_0x5b1538(0x3b6)](this['rangeKeyMap'][_0x10ad34]);const _0xbfde9e=this[_0x5b1538(0x23e)](_0x33a482),_0x3034b2=[],_0x1495ec=new Set(_0x2057b5);for(const _0x57d80e of _0xbfde9e)_0x1495ec[_0x5b1538(0x24e)](_0x57d80e)||_0x3034b2[_0x5b1538(0x3b6)](_0x57d80e);return _0x3034b2;}}[_0x4226f5(0x33f)](_0x5f3d68,_0xb32502,_0x4f5c05,_0x455fd8,_0x5afa7d){const _0x543e38=_0x4226f5;return _0xb32502&&_0xb32502[_0x543e38(0x2ac)](_0x455fd8,_0x5afa7d)?_0xb32502[_0x543e38(0x2ac)](_0x455fd8,_0x5afa7d):_0x4f5c05&&_0x4f5c05[_0x543e38(0x2ac)](_0x455fd8,_0x5afa7d)?_0x4f5c05[_0x543e38(0x2ac)](_0x455fd8,_0x5afa7d):_0x5f3d68[_0x543e38(0x2ac)](_0x455fd8,_0x5afa7d);}[_0x4226f5(0x1d6)](_0x20e0fc,_0x392f6f,_0x2222b4,_0x212429){const _0x2e419c=_0x4226f5,_0xa6d3af=this[_0x2e419c(0x1ee)][_0x20e0fc];if(!_0xa6d3af)return;const {subUnitId:_0x52455c,range:_0x360878,unitId:_0x3444df}=_0x392f6f,_0x38d8a7=this['_univerInstanceService'][_0x2e419c(0x3cf)](_0x3444df);if(!_0x38d8a7){console[_0x2e419c(0x30f)](_0x2e419c(0x193));return;}const _0x11f56a=_0x38d8a7[_0x2e419c(0x2fd)](_0x52455c),_0x23413d=_0x11f56a[_0x2e419c(0x3f9)](),{arrayFormulaCellDataMatrix:_0x12ccd1,unitDataMatrix:_0x1ceaaf}=_0x212429||{},{startRow:_0x4a3e01,startColumn:_0x149169,endRow:_0x2834d3}=this[_0x2e419c(0x36f)](_0x360878,_0x11f56a);_0xa6d3af[_0x2e419c(0x27b)]();const _0x200f84=_0x38d8a7[_0x2e419c(0x2bf)](),_0x472ab9={},_0xd1ccc1=this[_0x2e419c(0x33f)](_0x23413d,_0x12ccd1,_0x1ceaaf,_0x4a3e01,_0x149169+_0x2222b4);let _0x11f894=this[_0x2e419c(0x397)](_0xd1ccc1,_0x200f84,_0x472ab9);_0x12f0a9[_0x2e419c(0x45d)](_0x11f894)&&(_0x11f894=_0x544178[_0x2e419c(0x449)][_0x2e419c(0x281)](_0x11f894['f'],Number(_0x11f894['v'])));const _0x1c8c4c=this[_0x2e419c(0x2f3)](_0x11f894,_0x149169+_0x2222b4);_0xa6d3af[_0x2e419c(0x1ae)](_0x1c8c4c);for(let _0x22fc3=_0x4a3e01+0x1;_0x22fc3<=_0x2834d3;_0x22fc3++){const _0x2449f1=this[_0x2e419c(0x33f)](_0x23413d,_0x12ccd1,_0x1ceaaf,_0x22fc3,_0x149169+_0x2222b4);_0xa6d3af[_0x2e419c(0x377)](this[_0x2e419c(0x397)](_0x2449f1,_0x200f84,_0x472ab9),_0x22fc3-0x1-_0x4a3e01);}}[_0x4226f5(0x35c)](_0x108160,_0xe3c492,_0x6a8b20){const _0x5dddff=_0x4226f5,{subUnitId:_0xd51cd9,range:_0x4320ad,unitId:_0x3becf3}=_0x6a8b20,_0x24bf2c=this[_0x5dddff(0x1a1)]['getUnit'](_0x3becf3);if(!_0x24bf2c){console['error'](_0x5dddff(0x193));return;}const _0x22f775=_0x24bf2c[_0x5dddff(0x2fd)](_0xd51cd9),_0x5a51ba=_0x22f775[_0x5dddff(0x3f9)](),{startRow:_0x42cc64,startColumn:_0x5d501a,endRow:_0x2f6c7a}=this[_0x5dddff(0x36f)](_0x4320ad,_0x22f775),_0x1a699c=_0x24bf2c[_0x5dddff(0x2bf)](),_0xb3bd20={};for(const {dataField:_0x25c889,index:_0x331cad}of _0xe3c492){_0x25c889[_0x5dddff(0x27b)]();const _0x47b3f9=this['getMatrixValue'](_0x5a51ba,void 0x0,void 0x0,_0x42cc64,_0x5d501a+_0x331cad);let _0x13cbab=this['adjustSheetCellData'](_0x47b3f9,_0x1a699c,_0xb3bd20);_0x12f0a9[_0x5dddff(0x45d)](_0x13cbab)&&(_0x13cbab=_0x544178['numfmt'][_0x5dddff(0x281)](_0x13cbab['f'],Number(_0x13cbab['v'])));const _0x2d6f91=this['uniqueDataFieldName'](_0x13cbab,_0x5d501a+_0x331cad);_0x25c889['setName'](_0x2d6f91);}_0x108160[_0x5dddff(0x3ab)]();for(let _0x1b08f2=_0x42cc64+0x1;_0x1b08f2<=_0x2f6c7a;_0x1b08f2++)for(const {index:_0x21a035,dataField:_0x1d9901}of _0xe3c492){const _0x477b41=_0x5a51ba[_0x5dddff(0x2ac)](_0x1b08f2,_0x5d501a+_0x21a035);_0x1d9901[_0x5dddff(0x377)](this[_0x5dddff(0x397)](_0x477b41,_0x1a699c,_0xb3bd20),_0x1b08f2-0x1-_0x42cc64);}_0x108160[_0x5dddff(0x3b4)](_0x2f6c7a-_0x42cc64);}[_0x4226f5(0x1b1)](_0xf3e2fe){const _0x131ca8=_0x4226f5,{range:_0x2fb41e}=_0xf3e2fe,{startColumn:_0x468c00,endColumn:_0x52dcd}=_0x2fb41e,_0x40dcf8=[];for(let _0x36e927=_0x468c00;_0x36e927<=_0x52dcd;_0x36e927++)_0x40dcf8[_0x131ca8(0x3b6)](this[_0x131ca8(0x355)](_0xf3e2fe,_0x36e927));return _0x40dcf8;}[_0x4226f5(0x397)](_0x384a4d,_0x40c382,_0x2a465d){const _0x246c31=_0x4226f5;if(_0x384a4d){const {s:_0x48ebe0,v:_0xa219d6,t:_0x5ec223,p:_0x20d95f}=_0x384a4d;if(_0x20d95f)return _0x5379f0(_0x20d95f);const _0x31cf2e=_0x40c382[_0x246c31(0x2c4)](_0x48ebe0);if(_0x31cf2e&&_0x5ec223===_0x544178[_0x246c31(0x34b)][_0x246c31(0x2ba)]&&_0x31cf2e['n']){const {pattern:_0x1abd64}=_0x31cf2e['n'];_0x2a465d[_0x1abd64]||(_0x2a465d[_0x1abd64]=_0x544178[_0x246c31(0x449)][_0x246c31(0x267)](_0x1abd64));const _0x1a7e45=_0x2a465d[_0x1abd64],_0x246c05=_0x1a7e45[_0x246c31(0x2af)];if(_0x1a7e45[_0x246c31(0x26e)])return String(_0xa219d6);if(_0x246c05)return{'v':_0xa219d6,'f':_0x1abd64};}if(_0x5ec223===_0x544178[_0x246c31(0x34b)][_0x246c31(0x2ba)])return Number(_0xa219d6);if(_0x5ec223===_0x544178[_0x246c31(0x34b)][_0x246c31(0x339)]||_0x5ec223===_0x544178[_0x246c31(0x34b)]['FORCE_STRING'])return String(_0xa219d6);if(_0x5ec223===void 0x0){const _0x2dd844=Number(_0xa219d6);if(!Number[_0x246c31(0x3ca)](_0x2dd844)&&String(_0x2dd844)===_0xa219d6)return _0x2dd844;}return _0xa219d6!=null?_0xa219d6:null;}else return null;}[_0x4226f5(0x444)](_0x2eb051){const _0x131e02=_0x4226f5,{sheetName:_0x1b1ef9,range:_0x2ca895,unitId:_0x5dd14b}=_0x2eb051,_0x22e42f=this[_0x131e02(0x1a1)]['getUnit'](_0x5dd14b);if(!_0x22e42f)return console[_0x131e02(0x30f)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x304afe=_0x22e42f[_0x131e02(0x427)](_0x1b1ef9),_0x32c2e3=_0x304afe[_0x131e02(0x3f9)](),{startRow:_0x57efd1,startColumn:_0xaf0177,endRow:_0x31f45b,endColumn:_0x31b3f5}=this['getRangeStartEndInfo'](_0x2ca895,_0x304afe),_0x22361e=_0x22e42f[_0x131e02(0x2bf)](),_0x319015=[],_0x193407=[],_0x16e0f0={};for(let _0x48bf31=_0x57efd1;_0x48bf31<=_0x31f45b;_0x48bf31++){const _0x13bfcb=[];for(let _0x4f5fb2=_0xaf0177;_0x4f5fb2<=_0x31b3f5;_0x4f5fb2++){const _0x4b5ab2=_0x32c2e3['getValue'](_0x48bf31,_0x4f5fb2);_0x48bf31===_0x57efd1?_0x319015[_0x131e02(0x3b6)](_0x4b5ab2==null?null:String(_0x4b5ab2['v'])):_0x13bfcb[_0x131e02(0x3b6)](this[_0x131e02(0x397)](_0x4b5ab2,_0x22361e,_0x16e0f0));}_0x193407[_0x131e02(0x3b6)](_0x13bfcb);}return{'header':_0x319015,'data':_0x193407};}['toJSON'](){const _0x45cdbe=_0x4226f5;return super[_0x45cdbe(0x173)]();}[_0x4226f5(0x458)](_0x1ccf10){const _0x29ce8c=_0x4226f5;super[_0x29ce8c(0x458)](_0x1ccf10),this[_0x29ce8c(0x341)]();}['dispose'](){const _0x30ab3b=_0x4226f5;super[_0x30ab3b(0x43d)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x4b5d49=_0x115b49=>{const _0x77de7a=_0x4226f5,{targetCellInfo:_0x379e6a}=_0x115b49,{matrixCache:_0x3b434d,rangesCache:_0xa7f114}=_0x1c7927({'filter':_0x77de7a(0x277),'row':'Row','column':'Column','values':_0x77de7a(0x361)},_0x379e6a),_0x121236=new _0x544178['ObjectMatrix']();return _0x3b434d[_0x77de7a(0x1e4)]((_0x5d71d2,_0x1b9e43,_0x13a368)=>{_0x121236['setValue'](_0x5d71d2,_0x1b9e43,_0x13a368);}),{'matrix':_0x121236,'rangesCache':_0xa7f114};},_0x59f5df=_0x4db2fb=>{const _0x3ccc58=_0x4226f5;let _0x2c6b20;if(_0x4db2fb!=null&&_0x4db2fb['v']||(_0x4db2fb==null?void 0x0:_0x4db2fb['v'])===0x0){_0x2c6b20||(_0x2c6b20={});const _0x4613a7=_0x48cd65(_0x4db2fb['v']);typeof _0x4613a7=='number'?_0x2c6b20['t']=_0x544178[_0x3ccc58(0x34b)][_0x3ccc58(0x2ba)]:typeof _0x4613a7==_0x3ccc58(0x192)&&(_0x2c6b20['t']=_0x544178[_0x3ccc58(0x34b)]['STRING']),_0x2c6b20['v']=_0x4613a7;}return _0x2c6b20;},_0x15a95a=(_0x3227f7,_0x5dfd95,_0x2d8c79)=>{const _0x5d182a=_0x4226f5;var _0x4f1227,_0x1d51c5,_0x4a8bc6,_0x3e2262,_0x43c758,_0xed78c1,_0x455bd0,_0x2c1564,_0x23d55c,_0x3653e1,_0x7ed331,_0x24025d;const {cornerView:_0x139eb2,rowView:_0x409d5c,colView:_0x4a1856,dataView:_0x342bbd,pageView:_0x28bc2a,formatMap:_0x5309f9}=_0x3227f7,{row:_0x1061d4,col:_0x1e2da2}=_0x5dfd95,_0x4f5950=new _0x544178[(_0x5d182a(0x2c6))]();let _0x11c557=_0x1061d4,_0x9a92bf=_0x1e2da2;Object['keys'](_0x28bc2a[_0x5d182a(0x289)])[_0x5d182a(0x39b)](_0x25dc88=>{const _0x5730c4=_0x5d182a;Object[_0x5730c4(0x323)](_0x28bc2a[_0x5730c4(0x289)][Number(_0x25dc88)])[_0x5730c4(0x39b)](_0x1a023c=>{const _0x4f39c2=_0x5730c4,_0x2020b1={..._0x28bc2a[_0x4f39c2(0x289)][Number(_0x25dc88)][Number(_0x1a023c)]};_0x4f5950[_0x4f39c2(0x27c)](Number(_0x25dc88)+_0x11c557,Number(_0x1a023c)+_0x9a92bf,_0x59f5df(_0x2020b1));});});const _0x165a82=Object[_0x5d182a(0x323)](_0x28bc2a['data'])[_0x5d182a(0x25a)];_0x11c557+=_0x165a82+(_0x165a82?_0x3d9b1f:0x0);const _0x33a0be=_0x139eb2[_0x5d182a(0x2e2)](),_0x48c7ae=_0x139eb2[_0x5d182a(0x1fa)]();for(let _0x4ae1e0=0x0;_0x4ae1e0<_0x33a0be;_0x4ae1e0++)for(let _0x19fc3b=0x0;_0x19fc3b<_0x48c7ae;_0x19fc3b++){const _0x4d4f68={...(_0x1d51c5=(_0x4f1227=_0x139eb2[_0x5d182a(0x289)])==null?void 0x0:_0x4f1227[_0x4ae1e0])==null?void 0x0:_0x1d51c5[_0x19fc3b]};_0x4d4f68&&((_0x4a8bc6=_0x409d5c[_0x5d182a(0x42d)][_0x19fc3b])!=null&&_0x4a8bc6[_0x5d182a(0x374)])&&_0x19fc3b===_0x48c7ae-0x1&&_0x4ae1e0===_0x33a0be-0x1&&(_0x4d4f68['v']=''+_0x2d8c79[_0x5d182a(0x2cf)]),_0x4f5950[_0x5d182a(0x27c)](_0x4ae1e0+_0x11c557,_0x19fc3b+_0x9a92bf,_0x59f5df(_0x4d4f68));}_0x9a92bf+=_0x48c7ae;const _0x37c5be=_0x4a1856[_0x5d182a(0x42d)],_0x34c40b=_0x4a1856[_0x5d182a(0x3d2)]()>=0x0?_0x4a1856[_0x5d182a(0x3d2)]()+0x1:0x0,_0x3ccdea=_0x4a1856[_0x5d182a(0x3fe)]()>=0x0?_0x4a1856[_0x5d182a(0x3fe)]()+0x1:0x0;for(let _0x306441=0x0;_0x306441<_0x3ccdea;_0x306441++)for(let _0x36cc2b=0x0;_0x36cc2b<_0x34c40b;_0x36cc2b++){const _0x91e3c6={...(_0x43c758=(_0x3e2262=_0x4a1856[_0x5d182a(0x289)])==null?void 0x0:_0x3e2262[_0x306441])==null?void 0x0:_0x43c758[_0x36cc2b]},_0xedc022=(_0xed78c1=_0x37c5be[_0x306441])==null?void 0x0:_0xed78c1['tableFieldId'],_0x4b3585=_0x5309f9[_0xedc022];_0x91e3c6&&(_0x91e3c6['v']=_0x5436aa(_0x91e3c6,_0x306441===0x0&&((_0x455bd0=_0x4a1856[_0x5d182a(0x151)](_0x36cc2b+0x1))==null?void 0x0:_0x455bd0[_0x5d182a(0x374)]),_0x4b3585,_0x2d8c79)),_0x4f5950[_0x5d182a(0x27c)](_0x306441+_0x11c557,_0x36cc2b+_0x9a92bf,_0x59f5df(_0x91e3c6));}_0x11c557+=_0x33a0be;const _0x47acc1=_0x409d5c[_0x5d182a(0x42d)],_0x533bb2=_0x409d5c[_0x5d182a(0x3d2)]()>=0x0?_0x409d5c[_0x5d182a(0x3d2)]()+0x1:0x0,_0x3b1ba3=_0x409d5c[_0x5d182a(0x3fe)]()>=0x0?_0x409d5c[_0x5d182a(0x3fe)]()+0x1:0x0;for(let _0x38270f=0x0;_0x38270f<_0x533bb2;_0x38270f++)for(let _0x3438e8=0x0;_0x3438e8<_0x3b1ba3;_0x3438e8++){const _0x54dd43={...(_0x23d55c=(_0x2c1564=_0x409d5c[_0x5d182a(0x289)])==null?void 0x0:_0x2c1564[_0x38270f])==null?void 0x0:_0x23d55c[_0x3438e8]},_0x3a5529=(_0x3653e1=_0x47acc1[_0x3438e8])==null?void 0x0:_0x3653e1[_0x5d182a(0x244)],_0x51dd8e=_0x5309f9[_0x3a5529];_0x54dd43&&(_0x54dd43['v']=_0x5436aa(_0x54dd43,!0x1,_0x51dd8e,_0x2d8c79)),_0x4f5950[_0x5d182a(0x27c)](_0x38270f+_0x11c557,_0x3438e8+_0x1e2da2,_0x59f5df(_0x54dd43));}const _0x2426a1=_0x342bbd[_0x5d182a(0x2e2)](),_0x11e85c=_0x342bbd[_0x5d182a(0x1fa)]();for(let _0x315187=0x0;_0x315187<_0x2426a1;_0x315187++)for(let _0x4f82b5=0x0;_0x4f82b5<_0x11e85c;_0x4f82b5++){const _0x307c06={...(_0x24025d=(_0x7ed331=_0x342bbd[_0x5d182a(0x289)])==null?void 0x0:_0x7ed331[_0x315187])==null?void 0x0:_0x24025d[_0x4f82b5]};_0x4f5950['setValue'](_0x315187+_0x11c557,_0x4f82b5+_0x9a92bf,_0x59f5df(_0x307c06));}return _0x4f5950;},_0x3b06cb=_0x456456=>{const _0x3b4848=_0x4226f5,{view:_0x50b4b8,targetCellInfo:_0x21893e,isEmpty:_0x184f1a,textInfo:_0x7dc61a}=_0x456456;if(_0x184f1a)return _0x4b5d49(_0x456456);const {pageView:_0x16a26b,cornerView:_0x2fea05,rowView:_0x3e7e89,colView:_0x257893,dataView:_0x25fd97}=_0x50b4b8,_0x16bf1a=_0x1824d9(_0x21893e,_0x16a26b,!0x0),_0x25a21d=_0x16a26b[_0x3b4848(0x1f3)]>=0x0?_0x16a26b[_0x3b4848(0x1f3)]+0x1:0x0,_0x5dc684=_0x2fea05['getRowCount'](),_0x331a68=_0x2fea05['getColCount'](),_0x1cf4a2=_0x16bf1a[_0x3b4848(0x25a)]>0x0?_0x3d9b1f:0x0,_0x168e4b=_0x1824d9({'row':_0x21893e[_0x3b4848(0x3e1)]+_0x25a21d+_0x1cf4a2,'col':_0x21893e[_0x3b4848(0x2e6)]},_0x2fea05,!0x1,!0x1),_0x40465f=_0x1824d9({'row':_0x21893e[_0x3b4848(0x3e1)]+_0x25a21d+_0x1cf4a2+_0x5dc684,'col':_0x21893e[_0x3b4848(0x2e6)]},_0x3e7e89,!0x1,!0x0),_0x3a18a7=_0x1824d9({'row':_0x21893e[_0x3b4848(0x3e1)]+_0x25a21d+_0x1cf4a2,'col':_0x21893e[_0x3b4848(0x2e6)]+_0x331a68},_0x257893,!0x1,!0x0),_0x2462f2=_0x1824d9({'row':_0x21893e['row']+_0x25a21d+_0x1cf4a2+_0x5dc684,'col':_0x21893e[_0x3b4848(0x2e6)]+_0x331a68},_0x25fd97,!0x1,!0x1),_0x59ee39={'rowRanges':_0x40465f,'colRanges':_0x3a18a7,'cornerRanges':_0x168e4b,'dataRanges':_0x2462f2,'pageRanges':_0x16bf1a};return{'matrix':_0x15a95a(_0x50b4b8,_0x21893e,_0x7dc61a),'rangesCache':_0x59ee39};};var _0x3083d6=Object[_0x4226f5(0x357)],_0x13168f=(_0x1f4ccd,_0x405caf,_0x39b20c,_0x3a1828)=>{for(var _0x15153d=_0x3a1828>0x1?void 0x0:_0x3a1828?_0x3083d6(_0x405caf,_0x39b20c):_0x405caf,_0x6cf617=_0x1f4ccd['length']-0x1,_0x4b6b08;_0x6cf617>=0x0;_0x6cf617--)(_0x4b6b08=_0x1f4ccd[_0x6cf617])&&(_0x15153d=_0x4b6b08(_0x15153d)||_0x15153d);return _0x15153d;},_0x5fb974=(_0x50346d,_0x396783)=>(_0x496b39,_0xae9580)=>_0x396783(_0x496b39,_0xae9580,_0x50346d);_0x530537[_0x4226f5(0x393)]=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0xd419b0,_0x191d6e,_0x100bc6,_0x1643eb,_0x4430af,_0x3c3a2f){const _0x29e039=_0x4226f5;super(),_0x52962a(this,'_model',new Map()),_0x52962a(this,'_pivotTableInstanceCache',new Map()),_0x52962a(this,_0x29e039(0x266),new Map()),_0x52962a(this,_0x29e039(0x242)),_0x52962a(this,_0x29e039(0x421),new _0xfd8c77[(_0x29e039(0x321))]()),_0x52962a(this,_0x29e039(0x318),this[_0x29e039(0x421)][_0x29e039(0x18b)]()),_0x52962a(this,_0x29e039(0x378),new _0xfd8c77[(_0x29e039(0x321))]()),_0x52962a(this,_0x29e039(0x26a),this[_0x29e039(0x378)]['asObservable']()),_0x52962a(this,_0x29e039(0x1a5),new _0xfd8c77[(_0x29e039(0x321))]()),_0x52962a(this,_0x29e039(0x260),this[_0x29e039(0x1a5)][_0x29e039(0x18b)]()),_0x52962a(this,_0x29e039(0x15f),new Map()),_0x52962a(this,_0x29e039(0x350),[]),_0x52962a(this,_0x29e039(0x1e9),new Map()),(this['_injector']=_0xd419b0,this[_0x29e039(0x1a1)]=_0x191d6e,this[_0x29e039(0x155)]=_0x100bc6,this[_0x29e039(0x29f)]=_0x1643eb,this['_commandService']=_0x4430af,this['_resourceManagerService']=_0x3c3a2f,this[_0x29e039(0x1a4)]());}[_0x4226f5(0x19f)](){const _0x3e40d5=_0x4226f5;return this[_0x3e40d5(0x242)]?this['_textInfo']:_0x20f6f9;}[_0x4226f5(0x2d0)](_0x571583){const _0x1be66a=_0x4226f5;this[_0x1be66a(0x242)]=_0x571583;}[_0x4226f5(0x460)](_0x56e222){const _0x5b3857=_0x4226f5;var _0x216256;const {from:_0x377144,to:_0x220f90,unitId:_0x20bf2b,fromRange:_0x478d5f,toRange:_0x485cc8}=_0x56e222;if(_0x377144&&_0x220f90){const _0x413cd0=this['getDataFieldManager'](_0x20bf2b),_0x14084c=this[_0x5b3857(0x34c)][_0x5b3857(0x2c4)](_0x20bf2b),_0x2ca87c=(_0x216256=this['_univerInstanceService']['getUnit'](_0x20bf2b))==null?void 0x0:_0x216256[_0x5b3857(0x2fd)](_0x220f90[_0x5b3857(0x31c)]);if(!_0x14084c||!_0x2ca87c)return;const _0x45e610=_0x2ca87c==null?void 0x0:_0x2ca87c[_0x5b3857(0x2fb)]();for(const [_0x400acc,_0x40d029]of _0x14084c[_0x5b3857(0x453)]())for(const [_0x268ab9,_0xd1f78e]of _0x40d029[_0x5b3857(0x453)]()){const {sourceRangeInfo:_0x47d100}=_0xd1f78e;if(_0x47d100[_0x5b3857(0x384)]===_0x20bf2b&&_0x47d100[_0x5b3857(0x31c)]===_0x377144[_0x5b3857(0x31c)]&&_0x544178[_0x5b3857(0x30a)][_0x5b3857(0x2b1)](_0x478d5f,_0x47d100[_0x5b3857(0x369)])){const _0x323cff={'row':_0x47d100[_0x5b3857(0x369)][_0x5b3857(0x18c)]-_0x478d5f[_0x5b3857(0x18c)],'col':_0x47d100[_0x5b3857(0x369)]['startColumn']-_0x478d5f[_0x5b3857(0x1b2)]},_0x17592a={'unitId':_0x20bf2b,'subUnitId':_0x220f90[_0x5b3857(0x31c)],'sheetName':_0x45e610,'range':{'startRow':_0x485cc8[_0x5b3857(0x18c)]+_0x323cff[_0x5b3857(0x3e1)],'endRow':_0x485cc8[_0x5b3857(0x18c)]+_0x323cff[_0x5b3857(0x3e1)]+_0x47d100[_0x5b3857(0x369)][_0x5b3857(0x38d)]-_0x47d100[_0x5b3857(0x369)]['startRow'],'startColumn':_0x485cc8[_0x5b3857(0x1b2)]+_0x323cff['col'],'endColumn':_0x485cc8[_0x5b3857(0x1b2)]+_0x323cff[_0x5b3857(0x2e6)]+_0x47d100[_0x5b3857(0x369)][_0x5b3857(0x463)]-_0x47d100[_0x5b3857(0x369)][_0x5b3857(0x1b2)]}};_0x413cd0[_0x5b3857(0x460)](_0x268ab9,_0x17592a);const _0x132e8a={..._0xd1f78e,'sourceRangeInfo':_0x17592a};this[_0x5b3857(0x2cd)](_0x20bf2b,_0x220f90[_0x5b3857(0x31c)],_0x268ab9,_0x132e8a),this['broadcastCollectionChange']({'unitId':_0x20bf2b,'token':_0x268ab9,'type':_0x2754a3[_0x5b3857(0x349)],'oldSourceRangeInfo':_0x47d100,'dataRangeInfo':_0x17592a,'targetCellInfo':_0xd1f78e[_0x5b3857(0x2a0)]}),this[_0x5b3857(0x27f)]({'unitId':_0x20bf2b,'subUnitId':_0x220f90[_0x5b3857(0x31c)],'oldSubUnitId':_0x400acc,'pivotTableId':_0x268ab9,'pivotTableConfig':_0x132e8a,'collectionConfig':_0x413cd0[_0x5b3857(0x173)]()});}}}}[_0x4226f5(0x1f7)](_0x2a0639){const _0x475348=_0x4226f5;this['_collectionChange$'][_0x475348(0x243)](_0x2a0639);}[_0x4226f5(0x211)](_0x5a37bd){const _0x44f76a=_0x4226f5;let _0x621401=this['_dataFieldManagerCollection'][_0x44f76a(0x2c4)](_0x5a37bd);return _0x621401||(_0x621401=new _0x4f1861(this,this[_0x44f76a(0x1a1)]),this[_0x44f76a(0x15f)][_0x44f76a(0x3d9)](_0x5a37bd,_0x621401)),_0x621401;}['getCollection'](_0x464903,_0xe8d3ee){const _0x11b679=_0x4226f5;return this[_0x11b679(0x211)](_0x464903)[_0x11b679(0x36a)][_0xe8d3ee];}[_0x4226f5(0x432)](_0x1d19f2,_0x136c66,_0x13d9a8){const _0x443d0f=_0x4226f5;return this[_0x443d0f(0x211)](_0x1d19f2)[_0x443d0f(0x432)](_0x136c66,_0x13d9a8);}['_ensurePivotMap'](_0x3bfb28,_0x1d3299){const _0x9e36d=_0x4226f5;let _0x231146=this['_model'][_0x9e36d(0x2c4)](_0x3bfb28);_0x231146||(_0x231146=new Map(),this[_0x9e36d(0x34c)][_0x9e36d(0x3d9)](_0x3bfb28,_0x231146));let _0x300798=_0x231146[_0x9e36d(0x2c4)](_0x1d3299);return _0x300798||(_0x300798=new Map(),_0x231146[_0x9e36d(0x3d9)](_0x1d3299,_0x300798)),_0x300798;}[_0x4226f5(0x2cd)](_0x50956f,_0x10040f,_0x1f08ee,_0x118b16){const _0x20f577=_0x4226f5;this[_0x20f577(0x259)](_0x50956f,_0x10040f)['set'](_0x1f08ee,_0x118b16);}['_deleteModelCache'](_0xfde9c3,_0x5032c8,_0x3338b2){const _0x314644=_0x4226f5;var _0x25cd63,_0x53d030,_0x186abf,_0x3c818c;((_0x53d030=(_0x25cd63=this[_0x314644(0x34c)][_0x314644(0x2c4)](_0xfde9c3))==null?void 0x0:_0x25cd63[_0x314644(0x2c4)](_0x5032c8))==null?void 0x0:_0x53d030['get'](_0x3338b2))&&((_0x3c818c=(_0x186abf=this[_0x314644(0x34c)][_0x314644(0x2c4)](_0xfde9c3))==null?void 0x0:_0x186abf[_0x314644(0x2c4)](_0x5032c8))==null||_0x3c818c[_0x314644(0x17b)](_0x3338b2));}[_0x4226f5(0x3c1)](_0x3e0845,_0x145819){const _0xf7c000=_0x4226f5;this[_0xf7c000(0x24b)][_0xf7c000(0x3d9)](_0x3e0845,_0x145819);}['_deletePivotTableInstanceCache'](_0x59390b){const _0x53fbe5=_0x4226f5;this['_pivotTableInstanceCache'][_0x53fbe5(0x17b)](_0x59390b);}[_0x4226f5(0x337)](_0xce6210,_0x1e516a){const _0x47f082=_0x4226f5;let _0x3a1fe6=this[_0x47f082(0x266)]['get'](_0xce6210);_0x3a1fe6||(_0x3a1fe6=new Map(),this[_0x47f082(0x266)][_0x47f082(0x3d9)](_0xce6210,_0x3a1fe6));let _0x39249d=_0x3a1fe6['get'](_0x1e516a);return _0x39249d||(_0x39249d=new Map(),_0x3a1fe6[_0x47f082(0x3d9)](_0x1e516a,_0x39249d)),_0x39249d;}[_0x4226f5(0x27f)](_0xd6b850){const _0x1505d8=_0x4226f5,{unitId:_0x1c25a7,subUnitId:_0x25d095,pivotTableId:_0x430e02,pivotTableConfig:_0x13d0ef,collectionConfig:_0x24fc12}=_0xd6b850,_0x37747c={'unitId':_0x1c25a7,'subUnitId':_0x25d095,'oldSubUnitId':_0x25d095,'pivotTableId':_0x430e02,'pivotTableConfig':_0x13d0ef,'collectionConfig':_0x24fc12};this[_0x1505d8(0x1ad)][_0x1505d8(0x1a7)](_0x50cb32['id'],_0x37747c,{'onlyLocal':!0x0});}['updateView'](_0x22b4f4,_0x29c3c6,_0x4cb171,_0x2f7cad,_0x1643bb,_0x5a751f,_0xea1952,_0x1840e3=!0x1){const _0x4789c2=_0x4226f5;var _0x33ea20;this[_0x4789c2(0x1ad)][_0x4789c2(0x1a7)](_0x55352a['id'],{'single':{'unitId':_0x22b4f4,'subUnitId':_0x29c3c6,'type':_0x4cb171,'pivotTableId':_0x2f7cad,'view':_0x1643bb,'pivotConfig':_0x5a751f},'collectionConfig':{[_0x22b4f4]:_0xea1952}},{'onlyLocal':!0x0});const _0x5829f8=!!((_0x33ea20=this['getPivotTableInstance'](_0x2f7cad))!=null&&_0x33ea20['isEmpty']()),_0x2d291f=this[_0x4789c2(0x2df)](_0x22b4f4,_0x29c3c6,_0x2f7cad);_0x2d291f&&this[_0x4789c2(0x3ae)]({'view':_0x1643bb,'pivotTableId':_0x2f7cad,'textInfo':this[_0x4789c2(0x19f)](),'isEmpty':_0x5829f8,'targetCellInfo':_0x2d291f[_0x4789c2(0x2a0)]},_0x1840e3);}[_0x4226f5(0x3ae)](_0x199105,_0x523525){const _0x2dfc37=_0x4226f5,{targetCellInfo:_0x200410,pivotTableId:_0x1379f6}=_0x199105,{unitId:_0x4b43f8,subUnitId:_0x4f8c7d}=_0x200410,_0x30e796=this[_0x2dfc37(0x337)](_0x4b43f8,_0x4f8c7d),_0x4af9b9=_0x30e796['get'](_0x1379f6);let _0x4d6400,_0x4ec829;_0x4af9b9&&(_0x4d6400=_0x4af9b9[_0x2dfc37(0x1bf)],_0x4ec829=_0x4af9b9[_0x2dfc37(0x250)]);const {rangesCache:_0x4d28e7,matrix:_0x53a209}=_0x3b06cb(_0x199105);_0x30e796['set'](_0x1379f6,{'rangeCache':_0x4d28e7,'matrix':_0x53a209,'oldMatrix':_0x4ec829,'oldRangeCache':_0x4d6400}),_0x523525||this[_0x2dfc37(0x378)][_0x2dfc37(0x243)]({'unitId':_0x4b43f8,'subUnitId':_0x4f8c7d,'pivotTableId':_0x1379f6});}[_0x4226f5(0x2d1)](_0x27be09,_0x422358,_0x159905,_0x354f28,_0x278aba){const _0x4f20e6=_0x4226f5;this[_0x4f20e6(0x2cd)](_0x27be09,_0x422358,_0x159905,_0x278aba),this[_0x4f20e6(0x3c1)](_0x159905,_0x354f28);}[_0x4226f5(0x214)](_0x2c2674,_0x246c0c,_0x50b5ea){const _0x50856b=_0x4226f5,_0x41cefb=this[_0x50856b(0x211)](_0x2c2674);_0x41cefb[_0x50856b(0x23e)](_0x50b5ea)[_0x50856b(0x39b)](_0x14e3d7=>{const _0x283176=_0x50856b;_0x41cefb[_0x283176(0x26c)](_0x14e3d7);}),this[_0x50856b(0x21d)](_0x2c2674,_0x50b5ea),this[_0x50856b(0x43b)](_0x2c2674,_0x246c0c,_0x50b5ea),this[_0x50856b(0x19b)](_0x50b5ea);}[_0x4226f5(0x3dd)](_0x3da971,_0x3819e8,_0x1f21e8,_0x2cad3a){this['_updateModelCache'](_0x3da971,_0x3819e8,_0x1f21e8,_0x2cad3a);}[_0x4226f5(0x2df)](_0x1cbcad,_0x243b4c,_0x3cf9b8){const _0x582bef=_0x4226f5;var _0x4af19c,_0x40287f;const _0x3e91d8=(_0x40287f=(_0x4af19c=this[_0x582bef(0x34c)][_0x582bef(0x2c4)](_0x1cbcad))==null?void 0x0:_0x4af19c[_0x582bef(0x2c4)](_0x243b4c))==null?void 0x0:_0x40287f[_0x582bef(0x2c4)](_0x3cf9b8);if(_0x3e91d8)return _0x3e91d8;}[_0x4226f5(0x17c)](_0x32139c,_0x3a1b61,_0xc0662b){const _0x4a72f6=_0x4226f5;var _0xfa1e3e,_0x123284;const _0x4fc688=(_0x123284=(_0xfa1e3e=this['_model'][_0x4a72f6(0x2c4)](_0x32139c))==null?void 0x0:_0xfa1e3e[_0x4a72f6(0x2c4)](_0x3a1b61))==null?void 0x0:_0x123284[_0x4a72f6(0x2c4)](_0xc0662b);if(_0x4fc688)return _0x4fc688['fieldsConfig'];}[_0x4226f5(0x233)](_0x3e02e9){const _0x53394d=_0x4226f5;return this[_0x53394d(0x24b)][_0x53394d(0x2c4)](_0x3e02e9);}[_0x4226f5(0x3a2)](_0x361c08){const _0x5a1b52=_0x4226f5;this[_0x5a1b52(0x34c)][_0x5a1b52(0x17b)](_0x361c08);const _0x43115e=this[_0x5a1b52(0x15f)]['get'](_0x361c08);_0x43115e&&(_0x43115e[_0x5a1b52(0x43d)](),this[_0x5a1b52(0x15f)][_0x5a1b52(0x17b)](_0x361c08)),this['_viewData'][_0x5a1b52(0x17b)](_0x361c08),this['needSameDeleteModel'][_0x5a1b52(0x39b)](_0x464401=>{_0x464401['deleteUnitId'](_0x361c08);});}[_0x4226f5(0x22f)](_0xb4f9df,_0x5706ca,_0x40f13f,_0x18fa20){const _0x560aec=_0x4226f5;return this[_0x560aec(0x211)](_0x40f13f[_0x560aec(0x384)])[_0x560aec(0x22f)](_0xb4f9df,_0x5706ca,_0x40f13f,_0x18fa20);}[_0x4226f5(0x43f)](_0x54d9f1){const _0x71b445=_0x4226f5;return this[_0x71b445(0x211)](_0x54d9f1['unitId'])[_0x71b445(0x43f)](_0x54d9f1);}[_0x4226f5(0x35c)](_0x58d912,_0x9e3745,_0x20f9f1){const _0x591683=_0x4226f5;this['getDataFieldManager'](_0x20f9f1[_0x591683(0x384)])[_0x591683(0x35c)](_0x58d912,_0x9e3745,_0x20f9f1);}[_0x4226f5(0x25f)](_0x3c4e59,_0x42b175){this['getDataFieldManager'](_0x3c4e59)['deleteDataField'](_0x42b175);}[_0x4226f5(0x21d)](_0x4d8d2b,_0x532d75){const _0x3773f4=_0x4226f5;this[_0x3773f4(0x211)](_0x4d8d2b)[_0x3773f4(0x172)](_0x532d75);}['getSubUnitPivotConfigs'](_0x23cfc7,_0x1191cb){const _0x5a82e7=_0x4226f5;var _0x495720;return(_0x495720=this[_0x5a82e7(0x34c)][_0x5a82e7(0x2c4)](_0x23cfc7))==null?void 0x0:_0x495720[_0x5a82e7(0x2c4)](_0x1191cb);}[_0x4226f5(0x224)](_0x35f44b){const _0x4ee364=_0x4226f5;for(const [_0x455b7d,_0x13125f]of this[_0x4ee364(0x34c)][_0x4ee364(0x453)]())for(const [_0x1f7b77,_0x1cb856]of _0x13125f[_0x4ee364(0x453)]())if(_0x1cb856['has'](_0x35f44b))return{'unitId':_0x455b7d,'subUnitId':_0x1f7b77};return null;}['sideEffectUpdateWorkerCache'](_0x26fbc8,_0x582d4b,_0x22a587,_0xc391da){const _0x3bf4b2=_0x4226f5,_0x163cc1=this[_0x3bf4b2(0x337)](_0x26fbc8,_0x582d4b);_0xc391da?_0x163cc1['set'](_0x22a587,_0xc391da):_0x163cc1[_0x3bf4b2(0x17b)](_0x22a587),this[_0x3bf4b2(0x378)]['next']({'unitId':_0x26fbc8,'subUnitId':_0x582d4b,'pivotTableId':_0x22a587});}['dispose'](){const _0x25318c=_0x4226f5;super[_0x25318c(0x43d)]();}[_0x4226f5(0x1a9)](_0x572e60,_0xd50033,_0x2f2b4d){const _0x328d6b=_0x4226f5;var _0x2ca1c6,_0x3f81f9;const _0x2791f9=(_0x3f81f9=(_0x2ca1c6=this['_viewData']['get'](_0x572e60))==null?void 0x0:_0x2ca1c6['get'](_0xd50033))==null?void 0x0:_0x3f81f9[_0x328d6b(0x2c4)](_0x2f2b4d);return _0x2791f9||null;}['addDirtyPivotTable'](_0x123fba){const _0x1f6ed4=_0x4226f5;this[_0x1f6ed4(0x410)](_0x123fba);}['updateDirtyPivotTable'](_0x3a7d12){const _0xda8525=_0x4226f5,{token:_0x41a1ee,unitId:_0x128cb9,subUnitId:_0x39fab7}=_0x3a7d12,_0x204397=_0x128cb9+'-'+_0x39fab7+'-'+_0x41a1ee;this[_0xda8525(0x1e9)][_0xda8525(0x2c4)](_0x204397)&&clearTimeout(this['_queryingMap']['get'](_0x204397));const _0x39731b=setTimeout(()=>{const _0x1fc808=_0xda8525;this[_0x1fc808(0x46a)](_0x3a7d12),this['_queryingMap'][_0x1fc808(0x17b)](_0x204397);},_0x536a24);this[_0xda8525(0x1e9)][_0xda8525(0x3d9)](_0x204397,_0x39731b);}[_0x4226f5(0x46a)](_0x49a3c0){const _0x2e0d47=_0x4226f5,{unitId:_0x10b6ad,subUnitId:_0x47acea,token:_0x3858d1,type:_0x4509a1,pivotConfig:_0x2aade3}=_0x49a3c0,_0xf36965=this[_0x2e0d47(0x233)](_0x3858d1),_0x54e687=_0xf36965==null?void 0x0:_0xf36965[_0x2e0d47(0x382)](),_0xf149bc=_0x2aade3!=null?_0x2aade3:this[_0x2e0d47(0x2df)](_0x10b6ad,_0x47acea,_0x3858d1);_0xf149bc&&(_0xf149bc[_0x2e0d47(0x3df)]=!!(_0xf36965!=null&&_0xf36965[_0x2e0d47(0x3df)]())),(_0x54e687||_0x4509a1===_0x580ace['Delete'])&&this[_0x2e0d47(0x353)](_0x10b6ad,_0x47acea,_0x4509a1,_0x3858d1,_0x54e687,_0xf149bc,this[_0x2e0d47(0x211)](_0x10b6ad)[_0x2e0d47(0x173)]());}['toJSON'](_0xe1bea0){const _0x2c1ad6=_0x4226f5,_0x1bbb8e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2c1ad6(0x211)](_0xe1bea0)&&(_0x1bbb8e[_0x2c1ad6(0x376)][_0xe1bea0]=this[_0x2c1ad6(0x211)](_0xe1bea0)[_0x2c1ad6(0x173)]()),this[_0x2c1ad6(0x34c)][_0x2c1ad6(0x2c4)](_0xe1bea0)){_0x1bbb8e[_0x2c1ad6(0x163)][_0xe1bea0]={};const _0x3c2c37=this['_model'][_0x2c1ad6(0x2c4)](_0xe1bea0);_0x3c2c37!=null&&_0x3c2c37['size']&&[..._0x3c2c37[_0x2c1ad6(0x323)]()][_0x2c1ad6(0x39b)](_0x30e717=>{const _0x199432=_0x2c1ad6,_0x5464c5=_0x3c2c37[_0x199432(0x2c4)](_0x30e717);_0x5464c5!=null&&_0x5464c5[_0x199432(0x3a5)]&&(_0x1bbb8e['pivotTableConfigs'][_0xe1bea0][_0x30e717]={},[..._0x5464c5[_0x199432(0x323)]()]['forEach'](_0x436848=>{const _0x5c7d23=_0x5464c5['get'](_0x436848);_0x5c7d23&&(_0x1bbb8e['pivotTableConfigs'][_0xe1bea0][_0x30e717][_0x436848]=_0x5c7d23);}));});}return _0x1bbb8e;}[_0x4226f5(0x458)](_0x4cb6b5){const _0x14777d=_0x4226f5;var _0x4e57f2;const {dataFieldManagerConfig:_0x1f615f,pivotTableConfigs:_0xc2931e}=_0x4cb6b5;_0x1f615f&&Object[_0x14777d(0x323)](_0x1f615f)[_0x14777d(0x39b)](_0x388ff0=>{const _0x5a5ce8=_0x14777d;this[_0x5a5ce8(0x211)](_0x388ff0)[_0x5a5ce8(0x458)](_0x1f615f[_0x388ff0]);});const _0x4cba6f=[];if(_0xc2931e){const _0x3a8a9f=(_0x4e57f2=this[_0x14777d(0x1c2)]['get'](_0x544178[_0x14777d(0x2b6)])[_0x14777d(0x1d3)](_0x3a09fd['LS_CONFIG_KEY']))!=null?_0x4e57f2:{},{ls:_0x231276,pbk:_0x48567b}=_0x3a8a9f,_0x46581a=_0x3b4981(_0x3dcc94,_0x231276,_0x48567b)[_0x14777d(0x370)];Object[_0x14777d(0x323)](_0xc2931e)[_0x14777d(0x39b)](_0x33ffe7=>{const _0x44355d=_0x14777d;let _0x3b10d1=0x0;const _0x37c32c=_0xc2931e[_0x33ffe7];Object[_0x44355d(0x323)](_0x37c32c)[_0x44355d(0x39b)](_0x77cf2=>{const _0x61c2d7=_0x44355d,_0x14f149=_0x37c32c[_0x77cf2];Object[_0x61c2d7(0x323)](_0x14f149)[_0x61c2d7(0x39b)](_0x38d06a=>{const _0x29de87=_0x61c2d7,_0x2d95ef=_0x14f149[_0x38d06a];if(_0x2d95ef){if(_0x3b10d1>=_0x46581a)return;_0x3b10d1++;const _0x7e69e3=this[_0x29de87(0x211)](_0x33ffe7),_0x5aa58d=_0x7e69e3[_0x29de87(0x36a)][_0x38d06a],_0x51d459=_0x5aa58d[_0x29de87(0x451)]();let _0x3c311d=0x0;const _0x3482cc=[];for(const _0x48dc2e of _0x51d459){const _0x586b80=_0x5aa58d['getFieldById'](_0x48dc2e);if(_0x12f0a9[_0x29de87(0x311)](_0x586b80)){const _0xd10cd=_0x586b80['getOriginFieldId'](),_0x5a487d=_0x5aa58d['getFieldById'](_0xd10cd);_0x5a487d&&_0x3482cc[_0x29de87(0x3b6)]([_0x586b80,_0x5a487d]);continue;}_0x7e69e3[_0x29de87(0x1d6)](_0x48dc2e,_0x2d95ef[_0x29de87(0x3b2)],_0x3c311d),_0x3c311d++;}_0x3482cc['forEach'](([_0x23f35d,_0x2eb489])=>{const _0xa00c46=_0x29de87;_0x23f35d[_0xa00c46(0x2ab)](_0x2eb489);});const _0x36b196=new _0x12f0a9['PivotTable'](_0x5aa58d);_0x36b196[_0x29de87(0x458)](_0x2d95ef[_0x29de87(0x2b0)]),this[_0x29de87(0x2d1)](_0x33ffe7,_0x77cf2,_0x38d06a,_0x36b196,_0x2d95ef);const _0x3c6585=_0x36b196[_0x29de87(0x382)]();_0x4cba6f[_0x29de87(0x3b6)]({'unitId':_0x33ffe7,'subUnitId':_0x77cf2,'pivotTableId':_0x38d06a,'view':_0x3c6585[_0x29de87(0x173)](),'pivotConfig':_0x2d95ef,'type':_0x580ace[_0x29de87(0x373)]});const _0xd31741=!!_0x36b196['isEmpty'](),_0x1155c8={'view':_0x3c6585,'pivotTableId':_0x38d06a,'textInfo':this[_0x29de87(0x19f)](),'isEmpty':_0xd31741,'targetCellInfo':_0x2d95ef[_0x29de87(0x2a0)]};this[_0x29de87(0x3ae)](_0x1155c8,!0x1);}});});});}_0x1f615f&&Object[_0x14777d(0x323)](_0x1f615f)[_0x14777d(0x39b)](_0x3ebc58=>{const _0x54e08f=_0x14777d,_0x48981d=this[_0x54e08f(0x211)](_0x3ebc58);this['_fieldsCollectionChange$']['next'](_0x48981d[_0x54e08f(0x36a)]);}),this[_0x14777d(0x1ad)]['executeCommand'](_0x55352a['id'],{'batch':_0x4cba6f,'collectionConfig':_0x1f615f},{'onlyLocal':!0x0});}[_0x4226f5(0x1a4)](){const _0x2421b7=_0x4226f5;this[_0x2421b7(0x462)](this[_0x2421b7(0x1a6)]['registerPluginResource']({'toJson':_0x566b47=>JSON[_0x2421b7(0x36e)](this[_0x2421b7(0x173)](_0x566b47)),'parseJson':_0x19c601=>{if(!_0x19c601)return{};try{return JSON['parse'](_0x19c601);}catch{return{};}},'businesses':[_0x544178['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x8f5425,'onLoad':(_0x2a7b71,_0x5cc374)=>{this['fromJSON'](_0x5cc374);},'onUnLoad':_0x247c84=>{const _0x1bc85a=_0x2421b7;this[_0x1bc85a(0x3a2)](_0x247c84);}}));}},_0x530537[_0x4226f5(0x393)]=_0x13168f([_0x5fb974(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178['Injector'])),_0x5fb974(0x1,_0x544178[_0x4226f5(0x1a0)]),_0x5fb974(0x2,_0x544178['Inject'](_0x544178['LifecycleService'])),_0x5fb974(0x3,_0x544178[_0x4226f5(0x2b6)]),_0x5fb974(0x4,_0x544178[_0x4226f5(0x37b)]),_0x5fb974(0x5,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x3f4)]))],_0x530537[_0x4226f5(0x393)]);const _0x538efa={0x0:{0x0:{'v':_0x4226f5(0x332),'s':_0xe7524b}},0x2:{0x1:{'v':'','s':_0xe7524b},0x2:{'v':'','s':_0xe7524b},0x3:{'v':_0x4226f5(0x35f),'s':_0xe7524b},0x4:{'v':'','s':_0xe7524b},0x5:{'v':'','s':_0xe7524b}},0x3:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x4:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x5:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x6:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x7:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x8:{0x0:{'v':_0x4226f5(0x3e1),'s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':_0x4226f5(0x32d),'s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0x9:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0xa:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0xb:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0xc:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}},0xd:{0x0:{'v':'','s':_0xe7524b},0x1:{'v':'','s':_0x2b6fe6},0x2:{'v':'','s':_0x2b6fe6},0x3:{'v':'','s':_0x2b6fe6},0x4:{'v':'','s':_0x2b6fe6},0x5:{'v':'','s':_0x2b6fe6}}},_0x4a2ed6={'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':[]},_0x1c7927=(_0x4b5db9,_0x2a3555)=>{const _0x590ca0=_0x4226f5,_0x15a0d8=new _0x544178[(_0x590ca0(0x2c6))](),_0x323a2c=new _0x544178[(_0x590ca0(0x2c6))](_0x538efa),{row:_0x5ddc95,col:_0x3871b4}=_0x2a3555;_0x323a2c['forValue']((_0x11bb20,_0x36c59c,_0x5ae100)=>{const _0x18e721=_0x590ca0;let _0x25f4e7='';_0x5ae100['v']===_0x18e721(0x332)?_0x25f4e7=_0x4b5db9['filter']:_0x5ae100['v']==='row'?_0x25f4e7=_0x4b5db9['row']:_0x5ae100['v']===_0x18e721(0x35f)?_0x25f4e7=_0x4b5db9[_0x18e721(0x35f)]:_0x5ae100['v']===_0x18e721(0x32d)&&(_0x25f4e7=_0x4b5db9[_0x18e721(0x32d)]),_0x15a0d8[_0x18e721(0x27c)](_0x11bb20+_0x5ddc95,_0x36c59c+_0x3871b4,{..._0x5ae100,'v':_0x25f4e7});});const _0xcf103=_0x544178[_0x590ca0(0x20d)][_0x590ca0(0x3bb)](_0x4a2ed6);return Object[_0x590ca0(0x323)](_0x4a2ed6)[_0x590ca0(0x39b)](_0x420a3a=>{const _0x12b162=_0x590ca0;_0xcf103[_0x420a3a]=_0x4a2ed6[_0x420a3a][_0x12b162(0x3a8)](_0x20456f=>({..._0x20456f,'startRow':_0x20456f[_0x12b162(0x18c)]+_0x5ddc95,'endRow':_0x20456f['endRow']+_0x5ddc95,'startColumn':_0x20456f[_0x12b162(0x1b2)]+_0x3871b4,'endColumn':_0x20456f[_0x12b162(0x463)]+_0x3871b4}));}),{'matrixCache':_0x15a0d8,'rangesCache':_0xcf103};};function _0x476e8f(_0x56c514,_0x2b08b2){const _0x16b8d8=_0x4226f5;let _0x86067b='';const _0x5e3db4=this[_0x16b8d8(0x19f)]();switch(_0x2b08b2){case _0x12f0a9['PivotSubtotalTypeEnum'][_0x16b8d8(0x308)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x265)]+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)]['count']:_0x86067b=_0x5e3db4['sheets-pivot.countName']+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x190)]:_0x86067b=_0x5e3db4['sheets-pivot.countNumsName']+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x283)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x380)]+_0x56c514;break;case _0x12f0a9['PivotSubtotalTypeEnum']['min']:_0x86067b=_0x5e3db4[_0x16b8d8(0x21e)]+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)]['product']:_0x86067b=_0x5e3db4['sheets-pivot.productName']+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x186)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x2b5)]+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x237)]:_0x86067b=_0x5e3db4['sheets-pivot.stdDevpName']+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x44d)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x165)]+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x327)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x3d3)]+_0x56c514;break;case _0x12f0a9[_0x16b8d8(0x1b0)][_0x16b8d8(0x16e)]:_0x86067b=_0x5e3db4[_0x16b8d8(0x33c)]+_0x56c514;break;default:_0x86067b=_0x56c514;break;}return _0x86067b;}function _0x2052ee(_0x266d94,_0x1d058e,_0x3bbfc8,_0x2cd2bf,_0x506f4c){const _0x62ed3c=_0x4226f5;var _0x180309,_0x5e7855,_0x1f7678,_0x42a0f9,_0x22f441;const _0x382979=_0x544178[_0x62ed3c(0x23d)](_0x266d94,_0x1d058e),{rangesInfo:_0x13feda,areaInfo:_0x2c92e8,headerMap:_0x63428}=_0x506f4c;if(!_0x13feda||!_0x2c92e8||!_0x63428)return;const _0xedbf26=Object[_0x62ed3c(0x323)](_0x13feda)['find'](_0x99ecc7=>_0x13feda[_0x99ecc7][_0x62ed3c(0x2ec)](_0x1d1fcd=>_0x544178[_0x62ed3c(0x30a)]['contains'](_0x1d1fcd,_0x382979))),_0x3b5555=_0x2c92e8;let _0x322742,_0x1c3443,_0x374512;if(_0xedbf26===_0x62ed3c(0x3de))_0x322742=(_0x180309=_0x3b5555==null?void 0x0:_0x3b5555['rowInfo'])==null?void 0x0:_0x180309[_0x266d94],_0x1c3443=(_0x5e7855=_0x63428==null?void 0x0:_0x63428[_0x62ed3c(0x45f)])==null?void 0x0:_0x5e7855[_0x1d058e],_0x374512=_0x1c3443==null?void 0x0:_0x1c3443['tableFieldId'];else{if(_0xedbf26===_0x62ed3c(0x26f))_0x322742=(_0x1f7678=_0x3b5555==null?void 0x0:_0x3b5555['colInfo'])==null?void 0x0:_0x1f7678[_0x1d058e],_0x1c3443=(_0x42a0f9=_0x63428[_0x62ed3c(0x1b5)])==null?void 0x0:_0x42a0f9[_0x266d94+0x1+_0x1d058e-_0x13feda[_0x62ed3c(0x26f)][0x0][_0x62ed3c(0x1b2)]],_0x374512=_0x1c3443==null?void 0x0:_0x1c3443[_0x62ed3c(0x244)];else{if(_0xedbf26==='cornerRanges')_0x322742=(_0x22f441=_0x3b5555==null?void 0x0:_0x3b5555[_0x62ed3c(0x23f)])==null?void 0x0:_0x22f441[_0x1d058e],_0x374512=_0x322742==null?void 0x0:_0x322742[_0x62ed3c(0x244)];else{if(_0xedbf26==='pageRanges'){const _0x3737bf=_0x3bbfc8==null?void 0x0:_0x3bbfc8['fi'];_0x3737bf!==void 0x0&&(_0x374512=_0x2cd2bf[_0x62ed3c(0x248)](_0x3737bf));}}}}return{'filterId':_0x374512,'info':_0x322742,'data':_0x3bbfc8,'headerInfo':_0x1c3443};}function _0x47bfe3(_0x4ebc2b,_0x2ebf73,_0x2f9094){const _0x26b918=_0x4226f5,_0x1b7330=_0x4ebc2b[_0x26b918(0x360)],_0x17489b=_0x1b7330[_0x26b918(0x451)](),_0x36057a=new Set();_0x4ebc2b[_0x26b918(0x459)](_0x5e3d36=>{const _0xe6d7e2=_0x26b918;_0x36057a[_0xe6d7e2(0x287)](_0x5e3d36['dataFieldId']);});const _0x294eb1=_0x17489b['map'](_0x251488=>{const _0x2d0f69=_0x26b918,_0x46af20=_0x1b7330[_0x2d0f69(0x1f1)](_0x251488);return{'checked':_0x36057a[_0x2d0f69(0x24e)](_0x251488),'dataFieldId':_0x46af20['id'],'id':_0x46af20['id'],'name':_0x1b7330['getDisplayName'](_0x46af20['id']),'type':_0x46af20['getFieldDataType'](),'pivotTableId':_0x2ebf73};}),_0x114614=[];_0x4ebc2b['iterateFieldByArea'](_0x12f0a9['PivotTableFiledAreaEnum']['Row'],_0x4d9109=>{const _0x3ca912=_0x26b918;_0x114614[_0x3ca912(0x3b6)]({'dataFieldId':_0x4d9109[_0x3ca912(0x40f)],'tableFieldId':_0x4d9109['getId'](),'displayName':_0x4d9109['getDisplayName']()});});const _0x2a7e1e=[];_0x4ebc2b[_0x26b918(0x2f7)](_0x12f0a9[_0x26b918(0x3e9)][_0x26b918(0x44c)],_0x450a81=>{const _0x6f11e3=_0x26b918;_0x2a7e1e['push']({'dataFieldId':_0x450a81[_0x6f11e3(0x40f)],'tableFieldId':_0x450a81[_0x6f11e3(0x412)](),'displayName':_0x450a81[_0x6f11e3(0x280)]()});});const _0x113830=[];if(_0x4ebc2b[_0x26b918(0x2f7)](_0x12f0a9[_0x26b918(0x3e9)][_0x26b918(0x2db)],_0x37c7b1=>{const _0x3bbeee=_0x26b918;_0x113830[_0x3bbeee(0x3b6)]({'dataFieldId':_0x37c7b1['dataFieldId'],'tableFieldId':_0x37c7b1[_0x3bbeee(0x412)](),'displayName':_0x37c7b1[_0x3bbeee(0x280)](),'format':_0x37c7b1[_0x3bbeee(0x44a)](),'subTotalType':_0x37c7b1[_0x3bbeee(0x171)]()});}),_0x113830[_0x26b918(0x25a)]>0x1){const _0x5c98d1=_0x4ebc2b['getValueIndex']();(_0x4ebc2b[_0x26b918(0x2f1)]()?_0x2a7e1e:_0x114614)['splice'](_0x5c98d1,0x0,{'dataFieldId':'','tableFieldId':_0x26b918(0x313),'displayName':_0x26b918(0x442)});}const _0x17cf07=[];_0x4ebc2b[_0x26b918(0x2f7)](_0x12f0a9[_0x26b918(0x3e9)][_0x26b918(0x277)],_0x54c573=>{const _0x3f8778=_0x26b918;_0x17cf07[_0x3f8778(0x3b6)]({'dataFieldId':_0x54c573[_0x3f8778(0x40f)],'tableFieldId':_0x54c573['getId'](),'displayName':_0x54c573['getDisplayName']()});});const _0x566feb=_0x2f9094[_0x26b918(0x3b2)];return{'sourceList':_0x294eb1,'sourceRange':_0x566feb,'rowFields':_0x114614,'columnFields':_0x2a7e1e,'valueFields':_0x113830,'filterFields':_0x17cf07,'positionInfo':_0x2f9094[_0x26b918(0x2a0)]};}function _0x2407bd(_0x5251b9,_0x397619,_0x5d2e7e='',_0x25af63={}){const _0x591c15=_0x4226f5,_0x47ac4b=_0x5251b9[_0x591c15(0x2c4)](_0x544178[_0x591c15(0x229)]);for(const _0x3619a3 in _0x397619)if(Object[_0x591c15(0x324)]['hasOwnProperty']['call'](_0x397619,_0x3619a3)){const _0x21ef67=_0x5d2e7e?_0x5d2e7e+'.'+_0x3619a3:_0x3619a3;typeof _0x397619[_0x3619a3]=='object'&&_0x397619[_0x3619a3]!==null&&!Array[_0x591c15(0x37e)](_0x397619[_0x3619a3])?_0x2407bd(_0x5251b9,_0x397619[_0x3619a3],_0x21ef67,_0x25af63):_0x25af63[_0x21ef67]=_0x47ac4b['t'](_0x21ef67);}return _0x25af63;}const _0x4b6c31=_0x13f260=>{const _0x32b657=_0x4226f5;if(!_0x13f260)return[];const {rowRanges:_0x21bc30,colRanges:_0x118d97,cornerRanges:_0x117158,dataRanges:_0x3c8598,pageRanges:_0x13184a}=_0x13f260,_0x306d55=[..._0x118d97,..._0x21bc30,..._0x3c8598,..._0x117158][_0x32b657(0x332)](_0xd63ed8=>_0xd63ed8['startRow']>=0x0&&_0xd63ed8[_0x32b657(0x1b2)]>=0x0&&_0xd63ed8['endRow']>=0x0&&_0xd63ed8[_0x32b657(0x463)]>=0x0);let _0x402960=Number[_0x32b657(0x42a)],_0x2dd8bd=Number[_0x32b657(0x424)],_0x2e92ae=Number[_0x32b657(0x42a)],_0x593ab0=Number[_0x32b657(0x424)];for(let _0x23b4d5=0x0;_0x23b4d5<_0x306d55[_0x32b657(0x25a)];_0x23b4d5++)_0x402960=Math[_0x32b657(0x296)](_0x402960,_0x306d55[_0x23b4d5][_0x32b657(0x18c)]),_0x2dd8bd=Math[_0x32b657(0x283)](_0x2dd8bd,_0x306d55[_0x23b4d5][_0x32b657(0x38d)]),_0x2e92ae=Math[_0x32b657(0x296)](_0x2e92ae,_0x306d55[_0x23b4d5][_0x32b657(0x1b2)]),_0x593ab0=Math[_0x32b657(0x283)](_0x593ab0,_0x306d55[_0x23b4d5][_0x32b657(0x463)]);return[..._0x13184a,{'startRow':_0x402960,'endRow':_0x2dd8bd,'startColumn':_0x2e92ae,'endColumn':_0x593ab0}];};function _0x2ccadd(_0x135a15,_0x5bb736){const _0x3ee1b3=_0x4226f5,_0x4b29fe=_0x5bb736[_0x3ee1b3(0x24a)][_0x3ee1b3(0x302)],{pivotTableId:_0x23ecdf,unitId:_0x55dc91,subUnitId:_0x12e245}=_0x5bb736;if(!_0x4b29fe)return;const _0x2c6a93=_0x135a15[_0x3ee1b3(0x2c4)](_0x530537[_0x3ee1b3(0x393)]),_0x549629=_0x2c6a93['getPivotTableInstance'](_0x23ecdf),_0x581c79=_0x2c6a93[_0x3ee1b3(0x2df)](_0x55dc91,_0x12e245,_0x23ecdf);if(!_0x549629||!_0x581c79)return;const _0x20cd5b=_0x549629[_0x3ee1b3(0x42b)](_0x4b29fe['tuple']);if(!(_0x20cd5b!=null&&_0x20cd5b['length']))return;const _0xdbf4fa=_0x581c79[_0x3ee1b3(0x3b2)],{unitId:_0x1f3b7c,subUnitId:_0x3a66f6,range:_0x4f4101}=_0xdbf4fa;let _0x1569e2=0x0;const _0x1401ab=_0x549629[_0x3ee1b3(0x360)][_0x3ee1b3(0x451)]()[_0x3ee1b3(0x388)]((_0x5634d8,_0x37398f)=>{const _0x55dafc=_0x3ee1b3;var _0x4d4527;const _0x1ba860=(_0x4d4527=_0x549629[_0x55dafc(0x273)](_0x37398f))==null?void 0x0:_0x4d4527[_0x55dafc(0x1a8)]();return _0x1ba860&&(_0x5634d8[String(_0x1569e2)]=_0x1ba860),_0x1569e2++,_0x5634d8;},{});return{'indexes':_0x20cd5b,'range':_0x4f4101,'sourceUnitId':_0x1f3b7c,'sourceSubUnitId':_0x3a66f6,'formatMap':_0x1401ab};}function _0x44394d(_0x27f655,_0x52234e){const _0x4aee02=_0x4226f5;if(!_0x27f655||!_0x52234e)return!0x0;const _0x187c41=_0x3a09fd[_0x4aee02(0x1d1)](_0xe91388,_0x127cd7),_0x70ffad=new Function(_0x4aee02(0x18e)+_0x187c41)()(_0x27f655,_0x52234e)['message'],_0x43d99b=_0x3a09fd[_0x4aee02(0x178)](_0x70ffad,'sf',_0xf14b6b);return!((_0x70ffad==null?void 0x0:_0x70ffad['rt'])===_0x3a09fd[_0x4aee02(0x40c)][_0x4aee02(0x252)]&&!_0x43d99b);}function _0x3b4981(_0x454284,_0x382ebf,_0x2dbbfd){const _0x5a0be7=_0x4226f5,_0x534cd6={'count':_0x454284,'timeValid':!0x1};if(!_0x382ebf||!_0x2dbbfd)return _0x534cd6;const _0x4bb58a=_0x3a09fd[_0x5a0be7(0x1d1)](_0xe91388,_0x127cd7),_0x3e6271=new Function(_0x5a0be7(0x18e)+_0x4bb58a)()(_0x382ebf,_0x2dbbfd);if(_0x3e6271!=null&&_0x3e6271['valid']){const _0x2b41b4=_0x3e6271[_0x5a0be7(0x364)],_0x74c1fe=_0x3a09fd[_0x5a0be7(0x178)](_0x2b41b4,'sf',_0xf14b6b);return{'count':_0x3a09fd[_0x5a0be7(0x284)](_0x2b41b4,_0x74c1fe,_0x5a0be7(0x428),_0x454284,_0x454284,0x0),'timeValid':_0x74c1fe};}return _0x534cd6;}function _0x3c5784(_0x4dbe54,_0x2519d2,_0x2a6b07,_0x6af35b){const _0x290e84=_0x4226f5,_0x50659c={'subUnitId':_0x2a6b07,'unitId':_0x2519d2,'cellValue':_0x4f9a14[_0x290e84(0x28e)](_0x6af35b)},_0x3d4fdd=_0x4f9a14[_0x290e84(0x32f)](_0x4dbe54,_0x50659c);let _0x3810ae=!0x1;return new _0x544178['ObjectMatrix'](_0x3d4fdd[_0x290e84(0x375)])['forValue']((_0xde0ebf,_0x3044c9,_0x2c2b5f)=>{const _0x3a2c84=_0x290e84;if(!_0x3810ae&&_0x2c2b5f&&(_0x2c2b5f[_0x3a2c84(0x32b)]||_0x2c2b5f['f']||_0x2c2b5f['p']||_0x2c2b5f['s']||_0x2c2b5f['si']||_0x2c2b5f['t']||_0x2c2b5f['v']))return _0x3810ae=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4f9a14['SetRangeValuesMutation']['id'],'params':_0x3d4fdd},'setRangeValueRedoMutation':{'id':_0x4f9a14[_0x290e84(0x1a2)]['id'],'params':_0x50659c},'shouldClear':_0x3810ae};}function _0x51af1f(_0x211f32){const {row:_0x5f12ce,col:_0x5d9ea0}=_0x211f32,_0x1a14bb={'startRow':_0x5f12ce,'endRow':_0x5f12ce,'startColumn':_0x5d9ea0,'endColumn':_0x5d9ea0},_0xbb6151={'startRow':_0x5f12ce+0x2,'endRow':_0x5f12ce+0xe,'startColumn':_0x5d9ea0,'endColumn':_0x5d9ea0+0x6};return[_0x1a14bb,_0xbb6151];}function _0x3bc32d(_0x236f1f,_0x26d11a,_0x59f439){const _0x358efd=_0x4226f5,{cornerView:_0x1b28b6,rowView:_0x4589a7,colView:_0x1983ae,pageView:_0x9813ce}=_0x236f1f,{row:_0x56cbda,col:_0x1e88d7}=_0x26d11a;if(_0x59f439)return{'rowCount':_0x11233a+_0x56cbda,'colCount':_0x5ae742+_0x1e88d7};const _0x435d8c=_0x9813ce['lastRow']>-0x1?_0x9813ce['lastRow']+0x1:0x0,_0x245ffb=_0x9813ce[_0x358efd(0x223)]>-0x1?_0x9813ce[_0x358efd(0x223)]:0x0,_0xe702e6=_0x56cbda+_0x435d8c+(_0x435d8c?0x1:0x0)+_0x1b28b6[_0x358efd(0x1c7)]+_0x4589a7[_0x358efd(0x1c7)],_0x3c9644=_0x1e88d7+_0x245ffb,_0x5d0973=_0x1e88d7+_0x1b28b6['colCount']+_0x1983ae[_0x358efd(0x408)],_0x49025b=Math['max'](_0x3c9644,_0x5d0973);return{'rowCount':_0xe702e6,'colCount':_0x49025b};}function _0x21c2f3(_0x4fcc4b,_0xa3c148,_0x51482e,_0x218772){const _0x303aa3=_0x4226f5,{row:_0x4f720c,col:_0x346151,unitId:_0x4e3ac9,subUnitId:_0x4c8c34}=_0x51482e,_0x345edf=_0x3bc32d(_0xa3c148,{'row':_0x4f720c,'col':_0x346151},_0x218772),_0x5a1714=_0x4fcc4b[_0x303aa3(0x2c4)](_0x544178[_0x303aa3(0x1a0)]),_0x5b7b3d=_0x4f9a14[_0x303aa3(0x2dd)](_0x5a1714,{'unitId':_0x4e3ac9,'subUnitId':_0x4c8c34}),_0x577aad=[],_0x1f1e24=[];if(!_0x5b7b3d)return{'undos':_0x1f1e24,'redos':_0x577aad};const {worksheet:_0x3e7551}=_0x5b7b3d,_0x1ce262=_0x3e7551[_0x303aa3(0x2e2)](),_0x826803=_0x3e7551['getColumnCount']();return _0x1ce262<_0x345edf['rowCount']&&(_0x577aad['push']({'id':_0x4f9a14['InsertRowMutation']['id'],'params':{'unitId':_0x4e3ac9,'subUnitId':_0x4c8c34,'range':{'startRow':_0x1ce262,'endRow':_0x345edf[_0x303aa3(0x1c7)]-0x1,'startColumn':0x0,'endColumn':_0x826803-0x1}}}),_0x1f1e24[_0x303aa3(0x3b6)]({'id':_0x4f9a14[_0x303aa3(0x228)]['id'],'params':{'unitId':_0x4e3ac9,'subUnitId':_0x4c8c34,'range':{'startRow':_0x1ce262,'endRow':_0x345edf[_0x303aa3(0x1c7)]-0x1,'startColumn':0x0,'endColumn':_0x826803-0x1}}})),_0x826803<_0x345edf[_0x303aa3(0x408)]&&(_0x577aad['push']({'id':_0x4f9a14[_0x303aa3(0x221)]['id'],'params':{'unitId':_0x4e3ac9,'subUnitId':_0x4c8c34,'range':{'startRow':0x0,'endRow':_0x1ce262-0x1,'startColumn':_0x826803,'endColumn':_0x345edf[_0x303aa3(0x408)]-0x1}}}),_0x1f1e24['push']({'id':_0x4f9a14[_0x303aa3(0x1aa)]['id'],'params':{'unitId':_0x4e3ac9,'subUnitId':_0x4c8c34,'range':{'startRow':0x0,'endRow':_0x1ce262-0x1,'startColumn':_0x826803,'endColumn':_0x345edf[_0x303aa3(0x408)]-0x1}}})),{'undos':_0x1f1e24,'redos':_0x577aad};}function _0x26a07c(_0x53168d){const _0x484068=_0x4226f5;let _0x20e76c=0x0;for(let _0x1f0a72=0x0;_0x1f0a72<_0x53168d[_0x484068(0x25a)];_0x1f0a72++){const _0xdebde5=_0x53168d[_0x484068(0x1b8)](_0x1f0a72);_0xdebde5>=0x4e00&&_0xdebde5<=0x9fff||_0xdebde5>=0x3000&&_0xdebde5<=0x303f||_0xdebde5>=0xff00&&_0xdebde5<=0xffef?_0x20e76c+=0x2:_0x20e76c+=0x1;}return _0x20e76c;}function _0x40c248(_0x4ec22d,_0xc1ce98,_0x3461d8,_0x37487a){const _0x2189c1=_0x4226f5;var _0x30b434,_0x1a5a19,_0x133628,_0x4ca854;const {rowCount:_0x1558f0,colCount:_0x52c0e1,headerMap:_0x3b37d7}=_0x4ec22d,_0x51c3e4=0x64,_0x53ffff=Math[_0x2189c1(0x296)](_0x1558f0,_0x51c3e4),_0x51e459=Math['min'](_0x52c0e1,_0x51c3e4);let _0x496b59='',_0x527460=0x0;for(let _0x1d1930=0x0;_0x1d1930<_0x53ffff;_0x1d1930++)for(let _0x4ba73b=0x0;_0x4ba73b<_0x51e459;_0x4ba73b++){const _0x13f758={...(_0x1a5a19=(_0x30b434=_0x4ec22d[_0x2189c1(0x289)])==null?void 0x0:_0x30b434[_0x1d1930])==null?void 0x0:_0x1a5a19[_0x4ba73b]},_0x51b831=(_0x133628=_0x3b37d7[_0x1d1930])==null?void 0x0:_0x133628[_0x2189c1(0x244)],_0x1b63f2=_0x37487a[_0x51b831];let _0x46ebc6=_0x4ec22d[_0x2189c1(0x2ac)](_0x1d1930,_0x4ba73b);if(_0x13f758){const _0x2840a4=_0x3461d8?_0x4ba73b===0x0&&((_0x4ca854=_0x4ec22d[_0x2189c1(0x151)](_0x4ba73b+0x1))==null?void 0x0:_0x4ca854[_0x2189c1(0x374)]):!0x1;_0x46ebc6=_0x5436aa(_0x13f758,_0x2840a4,_0x1b63f2,_0xc1ce98);}if(_0x46ebc6!==void 0x0){const _0x54c5e5=_0x26a07c(String(_0x46ebc6));_0x527460<_0x54c5e5&&(_0x496b59=String(_0x46ebc6),_0x527460=_0x54c5e5);}}return _0x496b59;}function _0x2ab2c9(_0x42fc20){const _0x8aa031=_0x4226f5,{rowCount:_0x41f52e,colCount:_0x3aff67}=_0x42fc20;let _0x272b3a='',_0x146aa6=0x0;for(let _0x523b45=_0x41f52e-0x1;_0x523b45>0x0&&_0x523b45>_0x41f52e-0x3;_0x523b45--)for(let _0x287d73=0x0;_0x287d73<_0x3aff67;_0x287d73++){const _0x280e87=_0x42fc20['getValue'](_0x523b45,_0x287d73);if(_0x280e87!==void 0x0){const _0x37712e=String(_0x280e87)[_0x8aa031(0x25a)];_0x146aa6<_0x37712e&&(_0x272b3a=String(_0x280e87),_0x146aa6=_0x37712e);}}return _0x272b3a;}function _0x4b3738(_0x1004d1){const _0x440bdf=_0x4226f5,{rowCount:_0x39c81b,colCount:_0x2c9f45}=_0x1004d1;let _0x1b1e1f='',_0x21f9e4=0x0;for(let _0x303b0b=0x0;_0x303b0b<_0x39c81b;_0x303b0b++)for(let _0x4f586e=0x0;_0x4f586e<_0x2c9f45;_0x4f586e++){const _0x11c831=_0x1004d1[_0x440bdf(0x2ac)](_0x303b0b,_0x4f586e);if(_0x11c831!==void 0x0){const _0x205f2a=String(_0x11c831)[_0x440bdf(0x25a)];_0x21f9e4<_0x205f2a&&(_0x1b1e1f=String(_0x11c831),_0x21f9e4=_0x205f2a);}}return _0x1b1e1f;}function _0x213d5b(_0x49f525,_0x1f9308){const _0x3c3cf7=_0x4226f5,{rowFields:_0x24041d,columnFields:_0xc2bb41,valueFields:_0x3cbc11,filterFields:_0x4816f1,dimension:_0x5df4ae,measure:_0x2bc4f2}=_0x1f9308;for(const _0x24d74c of _0x24041d){const _0x26afd1=_0x5df4ae[_0x24d74c];_0x26afd1&&_0x49f525[_0x3c3cf7(0x273)](_0x26afd1[_0x3c3cf7(0x40f)])&&(_0x49f525[_0x3c3cf7(0x189)](_0x26afd1[_0x3c3cf7(0x40f)],_0x12f0a9[_0x3c3cf7(0x3e9)]['Row'],void 0x0,_0x24d74c),_0x26afd1[_0x3c3cf7(0x354)]&&_0x49f525[_0x3c3cf7(0x219)](_0x26afd1['id'],_0x26afd1[_0x3c3cf7(0x354)]),_0x26afd1['sortInfo']&&_0x49f525['setSortInfo'](_0x26afd1['id'],_0x26afd1['sortInfo']),_0x26afd1[_0x3c3cf7(0x437)]&&_0x49f525[_0x3c3cf7(0x3c2)](_0x26afd1['id'],_0x26afd1[_0x3c3cf7(0x437)]));}for(const _0x4cbad2 of _0xc2bb41){const _0x29e040=_0x5df4ae[_0x4cbad2];_0x29e040&&_0x49f525[_0x3c3cf7(0x273)](_0x29e040['dataFieldId'])&&(_0x49f525['addFieldWithSourceId'](_0x29e040[_0x3c3cf7(0x40f)],_0x12f0a9['PivotTableFiledAreaEnum'][_0x3c3cf7(0x44c)],void 0x0,_0x4cbad2),_0x29e040[_0x3c3cf7(0x274)]&&_0x49f525[_0x3c3cf7(0x344)](_0x29e040['id'],_0x29e040['sortInfo']),_0x29e040[_0x3c3cf7(0x437)]&&_0x49f525[_0x3c3cf7(0x3c2)](_0x29e040['id'],_0x29e040[_0x3c3cf7(0x437)]),_0x29e040[_0x3c3cf7(0x354)]&&_0x49f525[_0x3c3cf7(0x219)](_0x29e040['id'],_0x29e040[_0x3c3cf7(0x354)]));}for(const _0x311a8a of _0x4816f1){const _0x248df0=_0x5df4ae[_0x311a8a];_0x248df0&&_0x49f525[_0x3c3cf7(0x273)](_0x248df0[_0x3c3cf7(0x40f)])&&(_0x49f525[_0x3c3cf7(0x189)](_0x248df0['dataFieldId'],_0x12f0a9[_0x3c3cf7(0x3e9)][_0x3c3cf7(0x277)],void 0x0,_0x311a8a),_0x248df0['sortInfo']&&_0x49f525[_0x3c3cf7(0x344)](_0x248df0['id'],_0x248df0['sortInfo']),_0x248df0[_0x3c3cf7(0x437)]&&_0x49f525[_0x3c3cf7(0x3c2)](_0x248df0['id'],_0x248df0[_0x3c3cf7(0x437)]),_0x248df0[_0x3c3cf7(0x354)]&&_0x49f525[_0x3c3cf7(0x219)](_0x248df0['id'],_0x248df0[_0x3c3cf7(0x354)]));}for(const _0x4d5ed5 of _0x3cbc11){const _0x7585c=_0x2bc4f2[_0x4d5ed5];_0x7585c&&_0x49f525[_0x3c3cf7(0x273)](_0x7585c[_0x3c3cf7(0x40f)])&&(_0x49f525['addFieldWithSourceId'](_0x7585c[_0x3c3cf7(0x40f)],_0x12f0a9[_0x3c3cf7(0x3e9)][_0x3c3cf7(0x2db)],void 0x0,_0x4d5ed5),_0x7585c[_0x3c3cf7(0x279)]!==void 0x0&&_0x49f525['setSubtotalType'](_0x4d5ed5,_0x7585c[_0x3c3cf7(0x279)]),_0x7585c[_0x3c3cf7(0x281)]&&_0x49f525[_0x3c3cf7(0x398)](_0x4d5ed5,_0x7585c['format']),_0x7585c['displayName']&&_0x49f525[_0x3c3cf7(0x219)](_0x7585c['id'],_0x7585c[_0x3c3cf7(0x354)]));}const _0xb2906b=_0x1f9308[_0x3c3cf7(0x447)];for(const {fieldId:_0x441c47,filterInfo:_0x197545}of _0xb2906b)_0x49f525[_0x3c3cf7(0x422)](_0x441c47,_0x197545);}function _0x26c71d(_0x5c9679,_0x4447aa){const _0x50b038=_0x4226f5,_0x5d988e=[];_0x4447aa===_0x12f0a9[_0x50b038(0x3e9)]['Row']&&_0x5c9679[_0x50b038(0x2f7)](_0x12f0a9[_0x50b038(0x3e9)][_0x50b038(0x443)],_0x478cab=>{const _0x1dde10=_0x50b038;_0x5d988e[_0x1dde10(0x3b6)](_0x478cab[_0x1dde10(0x412)]());}),_0x4447aa===_0x12f0a9[_0x50b038(0x3e9)]['Column']&&_0x5c9679['iterateFieldByArea'](_0x12f0a9['PivotTableFiledAreaEnum']['Column'],_0x51b9ec=>{const _0x287ce9=_0x50b038;_0x5d988e['push'](_0x51b9ec[_0x287ce9(0x412)]());}),_0x4447aa===_0x12f0a9[_0x50b038(0x3e9)][_0x50b038(0x277)]&&_0x5c9679['iterateFieldByArea'](_0x12f0a9['PivotTableFiledAreaEnum']['Filter'],_0x199124=>{const _0x4eccf0=_0x50b038;_0x5d988e[_0x4eccf0(0x3b6)](_0x199124['getId']());}),_0x4447aa===_0x12f0a9[_0x50b038(0x3e9)][_0x50b038(0x2db)]&&_0x5c9679['iterateFieldByArea'](_0x12f0a9[_0x50b038(0x3e9)]['Value'],_0x12dc18=>{const _0x32748e=_0x50b038;_0x5d988e[_0x32748e(0x3b6)](_0x12dc18[_0x32748e(0x412)]());}),_0x4447aa===void 0x0&&_0x5c9679[_0x50b038(0x459)](_0x4d3703=>{const _0x365d9a=_0x50b038;_0x5d988e[_0x365d9a(0x3b6)](_0x4d3703[_0x365d9a(0x412)]());});const _0x107bbc=_0x5d988e[_0x50b038(0x25a)];for(let _0x4ce911=_0x107bbc-0x1;_0x4ce911>=0x0;_0x4ce911--)_0x5c9679[_0x50b038(0x2ad)](_0x5d988e[_0x4ce911]);const _0x162f0=_0x5c9679[_0x50b038(0x3fa)]();for(const _0x5421d0 in _0x162f0)_0x5c9679['removeValueFilterInfo'](_0x5421d0);}function _0x3c8f82(_0x51c512,_0x440260){const _0x14bd88=_0x4226f5,_0x263922=new Date(_0x12f0a9[_0x14bd88(0x35a)](_0x440260)),_0x1de458=new Date(_0x12f0a9[_0x14bd88(0x35a)](_0x51c512)),_0x4a41df=_0x263922[_0x14bd88(0x44e)](),_0x58ed53=_0x1de458[_0x14bd88(0x44e)](),_0x3b5171=_0x263922['getMonth'](),_0x4db8fb=_0x1de458[_0x14bd88(0x3c4)](),_0x52bbe4=_0x263922[_0x14bd88(0x180)](),_0x240d12=_0x1de458[_0x14bd88(0x180)](),_0x4f4372=_0x4a41df===_0x58ed53,_0x20a874=_0x4f4372&&_0x3b5171===_0x4db8fb;return _0x4f4372&&_0x20a874&&!(_0x20a874&&_0x52bbe4===_0x240d12)?_0x12f0a9[_0x14bd88(0x2bb)]['YearMonthDate']:_0x4f4372&&!_0x20a874?_0x12f0a9[_0x14bd88(0x2bb)][_0x14bd88(0x1be)]:_0x12f0a9[_0x14bd88(0x2bb)][_0x14bd88(0x1dd)];}function _0x5cbcb0(_0x25342c,_0x3418a0){const _0x3de172=_0x4226f5,_0xa265e0=_0x25342c['get'](_0x530537[_0x3de172(0x393)])[_0x3de172(0x19f)]();let _0x2a3f7d='';switch(_0x3418a0){case _0x12f0a9[_0x3de172(0x2bb)]['YearMonthDate']:_0x2a3f7d=_0xa265e0[_0x3de172(0x1ce)];break;case _0x12f0a9['PivotDateGroupFieldDateTypeEnum']['YearMonth']:_0x2a3f7d=_0xa265e0[_0x3de172(0x465)];break;case _0x12f0a9['PivotDateGroupFieldDateTypeEnum'][_0x3de172(0x1dd)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x161)];break;case _0x12f0a9['PivotDateGroupFieldDateTypeEnum'][_0x3de172(0x236)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x2f2)];break;case _0x12f0a9[_0x3de172(0x2bb)][_0x3de172(0x420)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x2b8)];break;case _0x12f0a9[_0x3de172(0x2bb)][_0x3de172(0x15c)]:_0x2a3f7d=_0xa265e0['sheets-pivot.dateGroup.date'];break;case _0x12f0a9[_0x3de172(0x2bb)][_0x3de172(0x2ed)]:_0x2a3f7d=_0xa265e0['sheets-pivot.dateGroup.hourMinute'];break;case _0x12f0a9['PivotDateGroupFieldDateTypeEnum'][_0x3de172(0x34e)]:_0x2a3f7d=_0xa265e0['sheets-pivot.dateGroup.hour'];break;case _0x12f0a9[_0x3de172(0x2bb)][_0x3de172(0x383)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x1d8)];break;case _0x12f0a9[_0x3de172(0x2bb)][_0x3de172(0x183)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x164)];break;case _0x12f0a9['PivotDateGroupFieldDateTypeEnum'][_0x3de172(0x188)]:_0x2a3f7d=_0xa265e0[_0x3de172(0x2c7)];break;default:_0x2a3f7d='';break;}return _0x2a3f7d;}const _0x427bcd=_0x4226f5(0x461),_0x5bbe1f={};var _0x9f435d=Object[_0x4226f5(0x357)],_0x33e17c=(_0x284127,_0x1a0596,_0x21b172,_0x512541)=>{const _0x5d061a=_0x4226f5;for(var _0x53e530=_0x512541>0x1?void 0x0:_0x512541?_0x9f435d(_0x1a0596,_0x21b172):_0x1a0596,_0x584f52=_0x284127[_0x5d061a(0x25a)]-0x1,_0x582297;_0x584f52>=0x0;_0x584f52--)(_0x582297=_0x284127[_0x584f52])&&(_0x53e530=_0x582297(_0x53e530)||_0x53e530);return _0x53e530;},_0x16b3b2=(_0x2185d7,_0x431662)=>(_0x5ba744,_0x323894)=>_0x431662(_0x5ba744,_0x323894,_0x2185d7);_0x530537[_0x4226f5(0x253)]=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0x5141a4,_0x2e1a26,_0x2e612a,_0x5f0cd4,_0x2da40f){const _0x460a2c=_0x4226f5;super(),_0x52962a(this,_0x460a2c(0x34c),new Map()),_0x52962a(this,_0x460a2c(0x33a),new Map()),_0x52962a(this,_0x460a2c(0x3a1),new Map()),_0x52962a(this,'_pivotTableMatrixInfo',new Map()),_0x52962a(this,_0x460a2c(0x28b),new _0xfd8c77['Subject']()),_0x52962a(this,'_pivotInitCompleted$',new _0xfd8c77[(_0x460a2c(0x321))]()),_0x52962a(this,_0x460a2c(0x320),this['_pivotInitCompleted$']['asObservable']()),_0x52962a(this,_0x460a2c(0x356),new _0xfd8c77[(_0x460a2c(0x321))]()),_0x52962a(this,_0x460a2c(0x3af),this['_pivotConfigChange$'][_0x460a2c(0x18b)]()),_0x52962a(this,_0x460a2c(0x242),{}),_0x52962a(this,'configVersion$',this[_0x460a2c(0x28b)][_0x460a2c(0x18b)]()),(this[_0x460a2c(0x1c2)]=_0x5141a4,this[_0x460a2c(0x1ad)]=_0x2e1a26,this[_0x460a2c(0x1a1)]=_0x2e612a,this[_0x460a2c(0x1a6)]=_0x5f0cd4,this[_0x460a2c(0x29f)]=_0x2da40f,this[_0x460a2c(0x2fe)](),this[_0x460a2c(0x2a3)]());const _0x199678=this['_configService']['getConfig'](_0x427bcd);(_0x199678==null?void 0x0:_0x199678['notExecuteFormula'])===!0x0&&this['_initSnapshot']();}[_0x4226f5(0x2a3)](){const _0x338bf9=_0x4226f5;this['disposeWithMe'](this[_0x338bf9(0x1a1)][_0x338bf9(0x2ff)](_0x544178[_0x338bf9(0x2bd)][_0x338bf9(0x429)])[_0x338bf9(0x16b)](_0x463c76=>{const _0x24d084=_0x338bf9;this[_0x24d084(0x3a2)](_0x463c76[_0x24d084(0x45b)]());}));}[_0x4226f5(0x271)](){const _0x27f87e=_0x4226f5;this[_0x27f87e(0x28a)][_0x27f87e(0x243)](!0x0);}[_0x4226f5(0x2fe)](){const _0x5038dd=_0x4226f5,_0x567d51=_0x2407bd(this['_injector'],_0x28f56e,'',{});this['_textInfo']=_0x567d51,this['_commandService'][_0x5038dd(0x1a7)](_0x31c03a['id'],{'textInfo':_0x567d51},{'onlyLocal':!0x0});}[_0x4226f5(0x19f)](){const _0x10b58c=_0x4226f5;return this[_0x10b58c(0x242)];}[_0x4226f5(0x298)](_0x36bd1b,_0x3aaa68,_0x48c3e2,_0x5815f9,_0x449e12){const _0x2e4e87=_0x4226f5;this[_0x2e4e87(0x3d7)](_0x36bd1b,_0x3aaa68,_0x48c3e2,_0x5815f9),this['updatePivotTableRangeInfo'](_0x36bd1b,_0x3aaa68,_0x48c3e2,_0x449e12);}[_0x4226f5(0x2df)](_0x1d0b4a,_0x459e8e,_0x100b5e){const _0x25c20f=_0x4226f5;var _0x428f7a;const _0x32e341=(_0x428f7a=this[_0x25c20f(0x34c)]['get'](_0x1d0b4a))==null?void 0x0:_0x428f7a[_0x25c20f(0x2c4)](_0x459e8e);if(_0x32e341)return _0x32e341[_0x25c20f(0x2c4)](_0x100b5e);}[_0x4226f5(0x3f2)](_0x355aac,_0x4bd665){const _0x410970=_0x4226f5,_0xec55ef=this[_0x410970(0x34c)][_0x410970(0x2c4)](_0x355aac);if(_0xec55ef){for(const [_0x27b48a,_0x2991fd]of _0xec55ef[_0x410970(0x453)]())for(const [_0x1ffd97,_0x330ecc]of _0x2991fd[_0x410970(0x453)]())if(_0x1ffd97===_0x4bd665)return _0x330ecc[_0x410970(0x2a0)];}}['getTargetByPivotId'](_0x402f2a,_0xe69aca,_0xd7a238){const _0x3486dd=_0x4226f5,_0x13ada1=this[_0x3486dd(0x2df)](_0x402f2a,_0xe69aca,_0xd7a238);return _0x13ada1==null?void 0x0:_0x13ada1[_0x3486dd(0x2a0)];}[_0x4226f5(0x3cc)](_0xf8e2bf,_0x2bc19a){const _0x264968=_0x4226f5;var _0xb568cb;return(_0xb568cb=this['_model'][_0x264968(0x2c4)](_0xf8e2bf))==null?void 0x0:_0xb568cb['get'](_0x2bc19a);}['updateConfigCache'](_0x52e55f,_0x44431d,_0x3319d6,_0x4b7f5e){const _0x482c4c=_0x4226f5,_0x51d6d1=this['_ensurePivotMap'](_0x52e55f,_0x44431d);_0x4b7f5e?_0x51d6d1[_0x482c4c(0x3d9)](_0x3319d6,_0x4b7f5e):_0x51d6d1[_0x482c4c(0x17b)](_0x3319d6),this[_0x482c4c(0x356)]['next']({'unitId':_0x52e55f,'subUnitId':_0x44431d,'pivotTableId':_0x3319d6,'pivotTableConfig':_0x4b7f5e});}[_0x4226f5(0x169)](_0x40e21e,_0x3e15ee){const _0x271ec9=_0x4226f5;var _0x5885ec;return(_0x5885ec=this[_0x271ec9(0x33a)]['get'](_0x40e21e))==null?void 0x0:_0x5885ec['collections'][_0x3e15ee];}[_0x4226f5(0x34a)](_0xf86907,_0x13aece){const _0xd9f81e=_0x4226f5;this['_collectionConfigModel'][_0xd9f81e(0x3d9)](_0xf86907,_0x13aece),this[_0xd9f81e(0x28b)]['next'](Math['random']());}['_ensurePivotMap'](_0x2cd3ed,_0x101b71){const _0x50c878=_0x4226f5;let _0x37193a=this[_0x50c878(0x34c)][_0x50c878(0x2c4)](_0x2cd3ed);_0x37193a||(_0x37193a=new Map(),this[_0x50c878(0x34c)][_0x50c878(0x3d9)](_0x2cd3ed,_0x37193a));let _0x4f1f99=_0x37193a[_0x50c878(0x2c4)](_0x101b71);return _0x4f1f99||(_0x4f1f99=new Map(),_0x37193a[_0x50c878(0x3d9)](_0x101b71,_0x4f1f99)),_0x4f1f99;}['_ensurePivotTableRangeInfo'](_0x44040c,_0x39ad27){const _0x36b4aa=_0x4226f5;let _0x5f1f1a=this['_pivotTableRangeInfo'][_0x36b4aa(0x2c4)](_0x44040c);_0x5f1f1a||(_0x5f1f1a=new Map(),this['_pivotTableRangeInfo'][_0x36b4aa(0x3d9)](_0x44040c,_0x5f1f1a));let _0x3d5bde=_0x5f1f1a[_0x36b4aa(0x2c4)](_0x39ad27);return _0x3d5bde||(_0x3d5bde=new Map(),_0x5f1f1a[_0x36b4aa(0x3d9)](_0x39ad27,_0x3d5bde)),_0x3d5bde;}['_ensurePivotTableMatrixInfo'](_0x46a692,_0x4fb523){const _0x356ba7=_0x4226f5;let _0x451b92=this[_0x356ba7(0x2cb)]['get'](_0x46a692);_0x451b92||(_0x451b92=new Map(),this[_0x356ba7(0x2cb)]['set'](_0x46a692,_0x451b92));let _0x314a28=_0x451b92[_0x356ba7(0x2c4)](_0x4fb523);return _0x314a28||(_0x314a28=new Map(),_0x451b92['set'](_0x4fb523,_0x314a28)),_0x314a28;}[_0x4226f5(0x1c9)](_0x95b191,_0x53cf0e,_0x33e0a5,_0x22542c){const _0x412d12=_0x4226f5;var _0xeb129a;const _0x2ae9d3=this[_0x412d12(0x404)](_0x95b191,_0x53cf0e),_0x58916d=(_0xeb129a=_0x2ae9d3[_0x412d12(0x2c4)](_0x33e0a5))==null?void 0x0:_0xeb129a[_0x412d12(0x457)];_0x2ae9d3[_0x412d12(0x3d9)](_0x33e0a5,{'oldRangeInfo':_0x58916d,'rangeInfo':_0x22542c});}['updatePivotTableMatrixInfo'](_0x5c5337,_0x3ec091,_0x354e24,_0x3ca9e6){const _0x1922e0=_0x4226f5;var _0x3dc857;const _0x33a6d4=this['_ensurePivotTableMatrixInfo'](_0x5c5337,_0x3ec091),_0x3f7dfa=(_0x3dc857=_0x33a6d4['get'](_0x354e24))==null?void 0x0:_0x3dc857[_0x1922e0(0x359)];_0x33a6d4['set'](_0x354e24,{'oldMatrix':_0x3f7dfa,'matrix':_0x3ca9e6});}[_0x4226f5(0x331)](_0x5a395a,_0x3edf4a,_0x1ccc8e){const _0x11bf37=_0x4226f5;var _0x18bd3d,_0x1fea3a;return(_0x1fea3a=(_0x18bd3d=this[_0x11bf37(0x3a1)]['get'](_0x5a395a))==null?void 0x0:_0x18bd3d['get'](_0x3edf4a))==null?void 0x0:_0x1fea3a[_0x11bf37(0x2c4)](_0x1ccc8e);}[_0x4226f5(0x160)](_0x23fa80,_0x20b3b7,_0x20b57b){const _0x7a7d86=_0x4226f5;var _0x2e4458,_0x234af9;return(_0x234af9=(_0x2e4458=this[_0x7a7d86(0x2cb)][_0x7a7d86(0x2c4)](_0x23fa80))==null?void 0x0:_0x2e4458[_0x7a7d86(0x2c4)](_0x20b3b7))==null?void 0x0:_0x234af9['get'](_0x20b57b);}['deleteUnitId'](_0x55413d){const _0x886628=_0x4226f5;this['_model']['delete'](_0x55413d),this[_0x886628(0x33a)]['delete'](_0x55413d);}[_0x4226f5(0x2e7)](_0x1d73c7){const _0x34c8bd=_0x4226f5,_0x365b85={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x34c8bd(0x2c4)](_0x1d73c7)&&(_0x365b85[_0x34c8bd(0x376)][_0x1d73c7]=this[_0x34c8bd(0x33a)]['get'](_0x1d73c7)),this['_model'][_0x34c8bd(0x2c4)](_0x1d73c7)){_0x365b85[_0x34c8bd(0x163)][_0x1d73c7]={};const _0x5db6d4=this[_0x34c8bd(0x34c)][_0x34c8bd(0x2c4)](_0x1d73c7);_0x5db6d4!=null&&_0x5db6d4[_0x34c8bd(0x3a5)]&&[..._0x5db6d4[_0x34c8bd(0x323)]()][_0x34c8bd(0x39b)](_0xbb5155=>{const _0x324c64=_0x34c8bd,_0x5ba3d7=_0x5db6d4['get'](_0xbb5155);_0x5ba3d7!=null&&_0x5ba3d7['size']&&(_0x365b85['pivotTableConfigs'][_0x1d73c7][_0xbb5155]={},[..._0x5ba3d7[_0x324c64(0x323)]()][_0x324c64(0x39b)](_0x2df48c=>{const _0xf2e2bc=_0x324c64,_0x4f461f=_0x5ba3d7[_0xf2e2bc(0x2c4)](_0x2df48c);_0x4f461f&&(_0x365b85[_0xf2e2bc(0x163)][_0x1d73c7][_0xbb5155][_0x2df48c]=_0x4f461f);}));});}return _0x365b85;}[_0x4226f5(0x1a4)](){const _0x4abacd=_0x4226f5;this[_0x4abacd(0x462)](this['_resourceManagerService'][_0x4abacd(0x1da)]({'toJson':_0x5dea6d=>JSON['stringify'](this['_toJSON'](_0x5dea6d)),'parseJson':_0x37fe5e=>({}),'businesses':[_0x544178['UniverInstanceType'][_0x4abacd(0x429)]],'pluginName':_0x8f5425,'onLoad':(_0xb351f0,_0x185f61)=>{},'onUnLoad':_0x10ffcf=>{const _0x9237c0=_0x4abacd;this[_0x9237c0(0x3a2)](_0x10ffcf);}}));}},_0x530537[_0x4226f5(0x253)]=_0x33e17c([_0x16b3b2(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x230)])),_0x16b3b2(0x1,_0x544178['Inject'](_0x544178[_0x4226f5(0x37b)])),_0x16b3b2(0x2,_0x544178['Inject'](_0x544178[_0x4226f5(0x1a0)])),_0x16b3b2(0x3,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x3f4)])),_0x16b3b2(0x4,_0x544178['Inject'](_0x544178[_0x4226f5(0x2b6)]))],_0x530537[_0x4226f5(0x253)]);var _0x59ed81=Object[_0x4226f5(0x357)],_0x5a6d53=(_0x1ca991,_0x432e6b,_0x1f0c89,_0x35d882)=>{const _0x8529c=_0x4226f5;for(var _0x393036=_0x35d882>0x1?void 0x0:_0x35d882?_0x59ed81(_0x432e6b,_0x1f0c89):_0x432e6b,_0x583043=_0x1ca991[_0x8529c(0x25a)]-0x1,_0x4f5299;_0x583043>=0x0;_0x583043--)(_0x4f5299=_0x1ca991[_0x583043])&&(_0x393036=_0x4f5299(_0x393036)||_0x393036);return _0x393036;},_0x3102cb=(_0x5a0027,_0x9c58fd)=>(_0xf55b57,_0x1b1921)=>_0x9c58fd(_0xf55b57,_0x1b1921,_0x5a0027);_0x530537['SheetsPivotTableAdaptorModel']=class extends _0x544178['Disposable']{constructor(_0x418930,_0x9c1305,_0x309b9a,_0x45ad39,_0x8eee95){const _0x319ba5=_0x4226f5;super(),_0x52962a(this,'_pivotRenderInfoCache',new Map()),_0x52962a(this,_0x319ba5(0x21b),new Map()),_0x52962a(this,'_markDirty$',new _0xfd8c77[(_0x319ba5(0x321))]()),_0x52962a(this,_0x319ba5(0x275),this['_markDirty$'][_0x319ba5(0x18b)]()),_0x52962a(this,_0x319ba5(0x20e),new _0xfd8c77[(_0x319ba5(0x321))]()),_0x52962a(this,_0x319ba5(0x19c),this['_viewUpdate$'][_0x319ba5(0x18b)]()),_0x52962a(this,_0x319ba5(0x242)),(this[_0x319ba5(0x310)]=_0x418930,this['_injector']=_0x9c1305,this[_0x319ba5(0x196)]=_0x309b9a,this[_0x319ba5(0x1a1)]=_0x45ad39,this['_exclusiveRangeService']=_0x8eee95,this[_0x319ba5(0x2fe)](),this[_0x319ba5(0x2a3)]());}[_0x4226f5(0x2a3)](){const _0x34031a=_0x4226f5;this[_0x34031a(0x462)](this[_0x34031a(0x1a1)][_0x34031a(0x2ff)](_0x544178[_0x34031a(0x2bd)]['UNIVER_SHEET'])[_0x34031a(0x16b)](_0x585d5f=>{const _0x50cebc=_0x34031a;this[_0x50cebc(0x3a2)](_0x585d5f['getUnitId']());}));}[_0x4226f5(0x2fe)](){const _0x4eb263=_0x4226f5;this[_0x4eb263(0x242)]=_0x2407bd(this['_injector'],_0x28f56e,'',{});}['updateRenderCache'](_0x38755e){const _0x1187dc=_0x4226f5,{view:_0x10d389,unitId:_0x1d6b79,subUnitId:_0x2d109f,pivotTableId:_0x14b11c,type:_0x32bb76}=_0x38755e,_0x1f982b=this['_sheetsPivotTableConfigModel'][_0x1187dc(0x2df)](_0x1d6b79,_0x2d109f,_0x14b11c);if(!_0x10d389||!_0x1f982b||_0x32bb76===_0x580ace[_0x1187dc(0x41e)])return;const {pageView:_0x4fb0b6,cornerView:_0xdb625,rowView:_0x4505,colView:_0x5284cc,dataView:_0x3230e7}=_0x10d389,_0x5116c7=_0x1f982b[_0x1187dc(0x2a0)],_0x5cda73=_0x1f982b[_0x1187dc(0x3df)],_0xda49a=this[_0x1187dc(0x293)](_0x1d6b79,_0x2d109f),_0x3d1c81=this['_ensurePivotItemRenderInfoCache'](_0x1d6b79,_0x2d109f,_0x14b11c);if(_0x5cda73)return this[_0x1187dc(0x2d3)](_0x38755e,_0xda49a,_0x5116c7,_0x3d1c81);{const _0x245f7f=_0x1824d9(_0x5116c7,_0x4fb0b6,!0x0),_0x39403f=_0x4fb0b6['lastRow']>=0x0?_0x4fb0b6[_0x1187dc(0x1f3)]+0x1:0x0,_0x2cef80=_0xdb625[_0x1187dc(0x2e2)](),_0x58ce32=_0xdb625[_0x1187dc(0x1fa)](),_0x36cf35=_0x245f7f[_0x1187dc(0x25a)]>0x0?_0x3d9b1f:0x0,_0xa9f551=_0x1824d9({'row':_0x5116c7[_0x1187dc(0x3e1)]+_0x39403f+_0x36cf35,'col':_0x5116c7[_0x1187dc(0x2e6)]},_0xdb625,!0x1,!0x1),_0x3a2771=_0x1824d9({'row':_0x5116c7[_0x1187dc(0x3e1)]+_0x39403f+_0x36cf35+_0x2cef80,'col':_0x5116c7['col']},_0x4505,!0x1,!0x0),_0x2e295d=_0x1824d9({'row':_0x5116c7[_0x1187dc(0x3e1)]+_0x39403f+_0x36cf35,'col':_0x5116c7[_0x1187dc(0x2e6)]+_0x58ce32},_0x5284cc,!0x1,!0x0),_0x52284b=_0x1824d9({'row':_0x5116c7[_0x1187dc(0x3e1)]+_0x39403f+_0x36cf35+_0x2cef80,'col':_0x5116c7[_0x1187dc(0x2e6)]+_0x58ce32},_0x3230e7,!0x1,!0x1);_0x3d1c81[_0x1187dc(0x292)]={'rowRanges':_0x3a2771,'colRanges':_0x2e295d,'cornerRanges':_0xa9f551,'dataRanges':_0x52284b,'pageRanges':_0x245f7f};const _0x415545=_0x5e34b9(this['_injector'],_0x10d389,_0x1f982b,this['_textInfo']),{valueMatrix:_0x2069e1,rowInfo:_0x33db6b,colInfo:_0x3b1e50,cornerInfo:_0x46e9a7,rowHeaderMap:_0x3fe401,colHeaderMap:_0x490d48}=_0x415545;return _0x3d1c81['areaInfo']={'rowInfo':_0x33db6b,'colInfo':_0x3b1e50,'cornerInfo':_0x46e9a7},_0x3d1c81['headerMap']={'rowHeaderMap':_0x3fe401,'colHeaderMap':_0x490d48},_0x2069e1['forEach']((_0x45e14e,_0x49230b)=>{const _0xed2124=_0x1187dc;Object[_0xed2124(0x323)](_0x49230b)['forEach'](_0x226558=>{const _0x87115f=_0xed2124,_0x4b9409=+_0x226558,_0x3c85da=_0x2069e1[_0x87115f(0x2ac)](_0x45e14e,_0x4b9409);_0xda49a[_0x87115f(0x27c)](_0x45e14e,_0x4b9409,_0x3c85da);});}),this['_viewUpdate$'][_0x1187dc(0x243)]({'unitId':_0x1d6b79,'subUnitId':_0x2d109f,'valueMatrix':_0xda49a,'rangesCache':_0x3d1c81[_0x1187dc(0x292)],'pivotTableId':_0x14b11c,'type':_0x38755e[_0x1187dc(0x20f)]}),this[_0x1187dc(0x196)]['updateViewInfo'](_0x1d6b79,_0x2d109f,_0x14b11c,_0xda49a,_0x3d1c81['rangesInfo']),this['_exclusiveRangeService'][_0x1187dc(0x27a)](_0x1d6b79,_0x2d109f,_0x3bf05e,this[_0x1187dc(0x29b)](_0x3d1c81['rangesInfo'],_0x14b11c)),{'rangeCache':_0x3d1c81[_0x1187dc(0x292)],'matrix':_0xda49a};}}[_0x4226f5(0x2d3)](_0x4c0057,_0x190e06,_0x2022a7,_0x191a96){const _0x15f41f=_0x4226f5,_0x32eac1=this[_0x15f41f(0x310)]['t'],{unitId:_0x1148a5,subUnitId:_0x881d0e,pivotTableId:_0x3580b5}=_0x4c0057,_0x230798={'filter':_0x32eac1(_0x15f41f(0x1e3)),'row':_0x32eac1('sheets-pivot.emptyPivot.row'),'column':_0x32eac1('sheets-pivot.emptyPivot.column'),'values':_0x32eac1(_0x15f41f(0x212))},{matrixCache:_0x117b75,rangesCache:_0x1766f5}=_0x1c7927(_0x230798,_0x2022a7);return _0x117b75['forValue']((_0x599d57,_0x2eb42f,_0x55f41b)=>{_0x190e06['setValue'](_0x599d57,_0x2eb42f,_0x55f41b);}),_0x191a96[_0x15f41f(0x292)]=_0x1766f5,this[_0x15f41f(0x20e)]['next']({'unitId':_0x1148a5,'subUnitId':_0x881d0e,'valueMatrix':_0x190e06,'rangesCache':_0x1766f5,'pivotTableId':_0x3580b5,'type':_0x4c0057[_0x15f41f(0x20f)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x15f41f(0x298)](_0x1148a5,_0x881d0e,_0x3580b5,_0x190e06,_0x1766f5),this[_0x15f41f(0x27d)][_0x15f41f(0x27a)](_0x1148a5,_0x881d0e,_0x3bf05e,this[_0x15f41f(0x29b)](_0x1766f5,_0x3580b5)),{'rangeCache':_0x191a96[_0x15f41f(0x292)],'matrix':_0x190e06};}[_0x4226f5(0x29b)](_0x31f4a8,_0x14c407){const _0x19c283=[],_0x231b66=_0x4b6c31(_0x31f4a8);for(const _0x4cae5c of _0x231b66)_0x19c283['push']({'groupId':_0x14c407,'range':_0x4cae5c});return _0x19c283;}[_0x4226f5(0x319)](_0x511768){const _0x30c3ce=_0x4226f5;var _0x1b295c,_0x3c7490,_0xc6bd28,_0x306612;const {pivotTableId:_0x6bd0d9,unitId:_0xd3c997,subUnitId:_0x2c1072}=_0x511768;if(!_0x6bd0d9||!_0xd3c997||!_0x2c1072)return;const _0xc68ee7=this[_0x30c3ce(0x293)](_0xd3c997,_0x2c1072),_0xa1e1c=(_0x3c7490=(_0x1b295c=this[_0x30c3ce(0x41f)]['get'](_0xd3c997))==null?void 0x0:_0x1b295c['get'](_0x2c1072))==null?void 0x0:_0x3c7490[_0x30c3ce(0x2c4)](_0x6bd0d9);if(_0xa1e1c!=null&&_0xa1e1c[_0x30c3ce(0x292)]){for(const _0x10c955 of Object[_0x30c3ce(0x323)](_0xa1e1c[_0x30c3ce(0x292)]))_0xa1e1c[_0x30c3ce(0x292)][_0x10c955][_0x30c3ce(0x39b)](_0x4c73e4=>{const _0x611c2d=_0x30c3ce;for(let _0x526400=_0x4c73e4[_0x611c2d(0x18c)];_0x526400<=_0x4c73e4[_0x611c2d(0x38d)];_0x526400++)for(let _0x45f62e=_0x4c73e4[_0x611c2d(0x1b2)];_0x45f62e<=_0x4c73e4[_0x611c2d(0x463)];_0x45f62e++)_0xc68ee7[_0x611c2d(0x2a7)](_0x526400,_0x45f62e);});}_0xa1e1c&&((_0x306612=(_0xc6bd28=this[_0x30c3ce(0x41f)]['get'](_0xd3c997))==null?void 0x0:_0xc6bd28['get'](_0x2c1072))==null||_0x306612[_0x30c3ce(0x17b)](_0x6bd0d9)),this[_0x30c3ce(0x20e)]['next']({'unitId':_0xd3c997,'subUnitId':_0x2c1072,'valueMatrix':_0xc68ee7,'pivotTableId':_0x6bd0d9,'rangesCache':void 0x0,'type':_0x511768[_0x30c3ce(0x20f)]}),this[_0x30c3ce(0x27d)][_0x30c3ce(0x225)](_0xd3c997,_0x2c1072,_0x3bf05e,_0x6bd0d9);}[_0x4226f5(0x1ac)](_0x4f780d,_0x594d50,_0x57cd6d){const _0x4487a9=_0x4226f5;var _0x48b837,_0x3c4976,_0x447d30,_0x575290,_0x8006b,_0x579de6;return this[_0x4487a9(0x41f)]['has'](_0x4f780d)||this[_0x4487a9(0x41f)][_0x4487a9(0x3d9)](_0x4f780d,new Map()),(_0x48b837=this[_0x4487a9(0x41f)][_0x4487a9(0x2c4)](_0x4f780d))!=null&&_0x48b837[_0x4487a9(0x24e)](_0x594d50)||(_0x3c4976=this[_0x4487a9(0x41f)]['get'](_0x4f780d))==null||_0x3c4976[_0x4487a9(0x3d9)](_0x594d50,new Map()),(_0x575290=(_0x447d30=this['_pivotRenderInfoCache']['get'](_0x4f780d))==null?void 0x0:_0x447d30['get'](_0x594d50))!=null&&_0x575290[_0x4487a9(0x24e)](_0x57cd6d)||(_0x579de6=(_0x8006b=this['_pivotRenderInfoCache'][_0x4487a9(0x2c4)](_0x4f780d))==null?void 0x0:_0x8006b[_0x4487a9(0x2c4)](_0x594d50))==null||_0x579de6['set'](_0x57cd6d,{}),this[_0x4487a9(0x41f)]['get'](_0x4f780d)[_0x4487a9(0x2c4)](_0x594d50)[_0x4487a9(0x2c4)](_0x57cd6d);}[_0x4226f5(0x293)](_0x31c08a,_0x4378f3){const _0x10c248=_0x4226f5;var _0x557883,_0x51c905;return this[_0x10c248(0x21b)][_0x10c248(0x24e)](_0x31c08a)||this[_0x10c248(0x21b)][_0x10c248(0x3d9)](_0x31c08a,new Map()),(_0x557883=this[_0x10c248(0x21b)][_0x10c248(0x2c4)](_0x31c08a))!=null&&_0x557883['has'](_0x4378f3)||(_0x51c905=this['_pivotRenderValueMatrixCache'][_0x10c248(0x2c4)](_0x31c08a))==null||_0x51c905[_0x10c248(0x3d9)](_0x4378f3,new _0x544178[(_0x10c248(0x2c6))]()),this[_0x10c248(0x21b)][_0x10c248(0x2c4)](_0x31c08a)[_0x10c248(0x2c4)](_0x4378f3);}[_0x4226f5(0x159)](_0x364ac2,_0x3778b6,_0x12b001,_0x50d208){const _0x238c22=_0x4226f5;var _0x36c826,_0x4b6c70;const _0x19e246=(_0x4b6c70=(_0x36c826=this[_0x238c22(0x21b)]['get'](_0x364ac2))==null?void 0x0:_0x36c826[_0x238c22(0x2c4)](_0x3778b6))==null?void 0x0:_0x4b6c70[_0x238c22(0x2ac)](_0x12b001,_0x50d208);if(_0x19e246!=null)return _0x19e246;}[_0x4226f5(0x3c6)](_0x387566,_0x5ac14a,_0x3cc64c,_0x2df6c9){const _0x5a1dbe=_0x4226f5;var _0x5772b3;const _0x2f2089=_0x544178[_0x5a1dbe(0x23d)](_0x3cc64c,_0x2df6c9),_0x2dd865=(_0x5772b3=this[_0x5a1dbe(0x41f)][_0x5a1dbe(0x2c4)](_0x387566))==null?void 0x0:_0x5772b3[_0x5a1dbe(0x2c4)](_0x5ac14a);return _0x2dd865?Array[_0x5a1dbe(0x288)](_0x2dd865[_0x5a1dbe(0x323)]())[_0x5a1dbe(0x38f)](_0x541d7e=>{const _0x261d43=_0x5a1dbe,_0x2a9c34=_0x2dd865[_0x261d43(0x2c4)](_0x541d7e),_0x144a37=_0x2a9c34==null?void 0x0:_0x2a9c34[_0x261d43(0x292)];return _0x144a37?Object['keys'](_0x144a37)[_0x261d43(0x2ec)](_0x4eeeef=>_0x144a37[_0x4eeeef]['some'](_0x51c957=>_0x544178[_0x261d43(0x30a)][_0x261d43(0x2b1)](_0x51c957,_0x2f2089))):!0x1;}):void 0x0;}[_0x4226f5(0x294)](_0x1a4aca,_0x221326,_0x5afb1f){const _0x53cd91=_0x4226f5;var _0x2c5588;const _0xc2034f=(_0x2c5588=this[_0x53cd91(0x41f)][_0x53cd91(0x2c4)](_0x1a4aca))==null?void 0x0:_0x2c5588[_0x53cd91(0x2c4)](_0x221326),_0x6a69ed=[];return _0xc2034f&&Array[_0x53cd91(0x288)](_0xc2034f[_0x53cd91(0x323)]())['forEach'](_0x481bd4=>{const _0x5bcfe9=_0x53cd91,_0x22f8d8=_0xc2034f[_0x5bcfe9(0x2c4)](_0x481bd4),_0x2db0ff=_0x22f8d8==null?void 0x0:_0x22f8d8[_0x5bcfe9(0x292)];if(_0x2db0ff)for(const _0x2fadb0 of Object[_0x5bcfe9(0x32d)](_0x2db0ff)){let _0x105a18=!0x1;for(const _0x19929f of _0x2fadb0)if(_0x544178['Rectangle'][_0x5bcfe9(0x418)](_0x19929f,_0x5afb1f)){_0x6a69ed[_0x5bcfe9(0x3b6)](_0x481bd4),_0x105a18=!0x0;break;}if(_0x105a18)break;}}),_0x6a69ed;}[_0x4226f5(0x29c)](_0x84ae4a,_0x530807){const _0x279215=_0x4226f5;var _0x1bc608,_0x251750;return(_0x251750=(_0x1bc608=this[_0x279215(0x21b)]['get'](_0x84ae4a))==null?void 0x0:_0x1bc608['get'](_0x530807))!=null?_0x251750:new _0x544178[(_0x279215(0x2c6))]();}['getSubUnitPivotRenderCache'](_0x52025f,_0x5d43f1){const _0x132de7=_0x4226f5;var _0x4174e5;return(_0x4174e5=this[_0x132de7(0x41f)][_0x132de7(0x2c4)](_0x52025f))==null?void 0x0:_0x4174e5[_0x132de7(0x2c4)](_0x5d43f1);}[_0x4226f5(0x3b9)](_0x5106c7,_0x14a0fa,_0x22b401){const _0x2ae485=_0x4226f5;var _0x2d80b1,_0x4fc292;return(_0x4fc292=(_0x2d80b1=this[_0x2ae485(0x41f)]['get'](_0x5106c7))==null?void 0x0:_0x2d80b1[_0x2ae485(0x2c4)](_0x14a0fa))==null?void 0x0:_0x4fc292[_0x2ae485(0x2c4)](_0x22b401);}[_0x4226f5(0x3a2)](_0x5340ee){const _0x1072a8=_0x4226f5;this[_0x1072a8(0x41f)][_0x1072a8(0x17b)](_0x5340ee),this['_pivotRenderValueMatrixCache'][_0x1072a8(0x17b)](_0x5340ee);}[_0x4226f5(0x307)](_0x42caf4,_0x35e2f2){const _0x34d8be=_0x4226f5;this['_markDirty$'][_0x34d8be(0x243)]({'unitId':_0x42caf4,'subUnitId':_0x35e2f2});}},_0x530537['SheetsPivotTableAdaptorModel']=_0x5a6d53([_0x3102cb(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x229)])),_0x3102cb(0x1,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x230)])),_0x3102cb(0x2,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x253)])),_0x3102cb(0x3,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x1a0)])),_0x3102cb(0x4,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14[_0x4226f5(0x37c)]))],_0x530537[_0x4226f5(0x426)]);var _0x496f3e=Object['getOwnPropertyDescriptor'],_0x3ab10c=(_0x202de9,_0x327c21,_0x5b55ac,_0x5c8a12)=>{const _0x5acc2b=_0x4226f5;for(var _0x5e5516=_0x5c8a12>0x1?void 0x0:_0x5c8a12?_0x496f3e(_0x327c21,_0x5b55ac):_0x327c21,_0x3f474c=_0x202de9[_0x5acc2b(0x25a)]-0x1,_0x2887c2;_0x3f474c>=0x0;_0x3f474c--)(_0x2887c2=_0x202de9[_0x3f474c])&&(_0x5e5516=_0x2887c2(_0x5e5516)||_0x5e5516);return _0x5e5516;},_0xe94ed0=(_0x15a50d,_0x15ddfc)=>(_0x316ee8,_0x1b4417)=>_0x15ddfc(_0x316ee8,_0x1b4417,_0x15a50d);_0x530537['SheetsPivotTableService']=class extends _0x544178['Disposable']{constructor(_0x41cb41,_0x1cc74c){const _0x53138e=_0x4226f5;super(),_0x52962a(this,_0x53138e(0x1fe),new _0x544178['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x48d4c4})),_0x52962a(this,_0x53138e(0x1e2),new _0x544178[(_0x53138e(0x19e))]({'PIVOT_MUTATION_GENERATE':_0x1742b1})),(this[_0x53138e(0x3f1)]=_0x41cb41,this[_0x53138e(0x371)]=_0x1cc74c,this[_0x53138e(0x329)]());}['_init'](){this['_initViewModelBySheetInterceptor']();}['getPivotPerformCheck'](_0x4e68fa){const _0x3435fd=_0x4226f5;return this[_0x3435fd(0x1fe)][_0x3435fd(0x3ec)](_0x48d4c4)(!0x1,_0x4e68fa);}[_0x4226f5(0x304)](){const _0x54c554=_0x4226f5;this[_0x54c554(0x462)](this[_0x54c554(0x3f1)]['intercept'](_0x4f9a14[_0x54c554(0x206)][_0x54c554(0x351)],{'priority':0xc8,'effect':_0x544178[_0x54c554(0x348)]['Value']|_0x544178[_0x54c554(0x348)][_0x54c554(0x1fb)],'handler':(_0x2cc452,_0xc73e55,_0x38bc2d)=>{const _0x567755=_0x54c554,{row:_0x58dd42,col:_0x114f9a,unitId:_0x43ff20,subUnitId:_0x447b0b,workbook:_0x1ed22b}=_0xc73e55,_0x18cdd7=this['_sheetsPivotTableAdaptorModel'][_0x567755(0x159)](_0x43ff20,_0x447b0b,_0x58dd42,_0x114f9a);if(!_0x18cdd7)return _0x38bc2d(_0x2cc452);const _0x55bcb6={..._0x2cc452};(_0x18cdd7['v']||_0x18cdd7['v']===0x0)&&(_0x55bcb6['v']=_0x18cdd7['v']),_0x18cdd7['t']&&(_0x55bcb6['t']=_0x18cdd7['t']);const _0x2310a2=(typeof(_0x2cc452==null?void 0x0:_0x2cc452['s'])==_0x567755(0x192)?_0x1ed22b[_0x567755(0x2bf)]()[_0x567755(0x2c4)](_0x2cc452==null?void 0x0:_0x2cc452['s']):_0x2cc452==null?void 0x0:_0x2cc452['s'])||{},_0x5a724f=_0x1ed22b[_0x567755(0x2bf)]()[_0x567755(0x2c4)](_0x18cdd7['s']),_0x55caae={..._0x5a724f,..._0x2310a2};_0x5a724f!=null&&_0x5a724f['n']&&(_0x55caae['n']=_0x5a724f['n']);const _0x535c96=_0x1ed22b[_0x567755(0x2bf)]()[_0x567755(0x27c)](_0x55caae);return _0x55bcb6['s']=_0x535c96,(_0x18cdd7['pbt']===_0x12f0a9[_0x567755(0x33b)][_0x567755(0x251)]||_0x18cdd7[_0x567755(0x2ae)]===_0x12f0a9['PivotCellStyleTypeEnum'][_0x567755(0x387)])&&(_0x55bcb6[_0x567755(0x285)]={},_0x55bcb6[_0x567755(0x285)][_0x567755(0x3ee)]=_0x4bd97b),_0x38bc2d(_0x55bcb6);}}));}},_0x530537['SheetsPivotTableService']=_0x3ab10c([_0xe94ed0(0x0,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14['SheetInterceptorService'])),_0xe94ed0(0x1,_0x544178[_0x4226f5(0x2b4)](_0x530537['SheetsPivotTableAdaptorModel']))],_0x530537[_0x4226f5(0x3b7)]);function _0x11fcd3(_0x5d2bf4,_0x1ce26f){const _0x4cb777=_0x4226f5;switch(_0x1ce26f){case _0x12f0a9[_0x4cb777(0x3e9)][_0x4cb777(0x2db)]:return _0x5d2bf4[_0x4cb777(0x3bd)];case _0x12f0a9[_0x4cb777(0x3e9)][_0x4cb777(0x277)]:return _0x5d2bf4[_0x4cb777(0x3e0)];case _0x12f0a9['PivotTableFiledAreaEnum'][_0x4cb777(0x443)]:return _0x5d2bf4[_0x4cb777(0x379)];case _0x12f0a9[_0x4cb777(0x3e9)][_0x4cb777(0x44c)]:return _0x5d2bf4[_0x4cb777(0x1ca)];default:return[];}}function _0x3e8d76(_0x26a044,_0x25d4e1){const _0x3cc93c=_0x4226f5;return _0x26a044[_0x3cc93c(0x245)][_0x25d4e1]||_0x26a044['dimension'][_0x25d4e1];}function _0x4e955f(_0x311fcc,_0x152d86){const _0x358521=_0x4226f5,{area:_0x3edbe1,fieldJson:_0x4612fc,index:_0x50a063}=_0x152d86;_0x3edbe1===_0x12f0a9[_0x358521(0x3e9)]['Value']?_0x311fcc[_0x358521(0x245)][_0x4612fc['id']]=_0x4612fc:_0x311fcc[_0x358521(0x433)][_0x4612fc['id']]=_0x4612fc,_0x11fcd3(_0x311fcc,_0x3edbe1)[_0x358521(0x390)](_0x50a063,0x0,_0x4612fc['id']);}function _0x1ca25e(_0x1e2862,_0x278ce1){const _0x1db796=_0x4226f5,{area:_0x6aac8d,fieldId:_0x584adc,index:_0xaca7e6}=_0x278ce1;_0x6aac8d===_0x12f0a9[_0x1db796(0x3e9)][_0x1db796(0x2db)]?delete _0x1e2862['measure'][_0x584adc]:delete _0x1e2862[_0x1db796(0x433)][_0x584adc],_0x11fcd3(_0x1e2862,_0x6aac8d)[_0x1db796(0x390)](_0xaca7e6,0x1);}function _0x2672ae(_0x39e0e4,_0x4564c3){const {fieldId:_0x5da5a9,name:_0x9bea5a}=_0x4564c3,_0xc92605=_0x3e8d76(_0x39e0e4,_0x5da5a9);_0xc92605&&(_0xc92605['displayName']=_0x9bea5a);}function _0x37f92b(_0xa1c0c2,_0x30c1dd){const _0xd69818=_0x4226f5,{fieldId:_0x48d972,collapse:_0x2dbb7f,item:_0x570df2}=_0x30c1dd;_0x570df2!==void 0x0?(_0xa1c0c2['collapseInfo'][_0x48d972]=_0xa1c0c2['collapseInfo'][_0x48d972]||{},_0xa1c0c2[_0xd69818(0x39d)][_0x48d972][_0x570df2]=_0x2dbb7f):_0xa1c0c2[_0xd69818(0x39d)][_0x48d972]=_0x2dbb7f;}function _0x19d524(_0x83a05a,_0x12f3da){const _0x41d468=_0x4226f5,{fieldId:_0x394da4,format:_0x30c94e}=_0x12f3da,_0x3f8b5a=_0x3e8d76(_0x83a05a,_0x394da4);_0x3f8b5a&&(_0x3f8b5a[_0x41d468(0x281)]=_0x30c94e);}function _0x495f5e(_0x1ce861,_0x1a0c70){const {fieldId:_0x22ed63,filterInfo:_0x1fab82}=_0x1a0c70,_0x21103e=_0x3e8d76(_0x1ce861,_0x22ed63);_0x21103e&&(_0x21103e['filterInfo']=_0x1fab82);}function _0x46e800(_0x148f56,_0x3f46b2){const _0x4c4215=_0x4226f5,{fieldId:_0x358370,filterInfo:_0x1be80a}=_0x3f46b2,_0x4f63cb=_0x148f56[_0x4c4215(0x447)][_0x4c4215(0x332)](_0x50935b=>_0x50935b[_0x4c4215(0x15a)]!==_0x358370);_0x1be80a&&_0x4f63cb[_0x4c4215(0x3b6)]({'fieldId':_0x358370,'filterInfo':_0x1be80a}),_0x148f56[_0x4c4215(0x447)]=_0x4f63cb;}function _0x390d51(_0x55e621,_0x1b61cf){const {fieldId:_0x3aa0cf,subtotalType:_0x3c8aa1}=_0x1b61cf,_0x1d254c=_0x3e8d76(_0x55e621,_0x3aa0cf);_0x1d254c&&(_0x1d254c['subtotal']=_0x3c8aa1);}function _0x509b1a(_0x27c03a,_0x2f226b){const _0x54cfce=_0x4226f5,{fieldId:_0x4c1290,oldArea:_0x169e1d,area:_0x4b8c91,oldIndex:_0x80758a,index:_0x44cbfa}=_0x2f226b,_0x3fd6f6=_0x169e1d!==_0x12f0a9[_0x54cfce(0x3e9)][_0x54cfce(0x2db)]&&_0x4b8c91===_0x12f0a9[_0x54cfce(0x3e9)][_0x54cfce(0x2db)],_0x257bc7=_0x169e1d===_0x12f0a9[_0x54cfce(0x3e9)][_0x54cfce(0x2db)]&&_0x4b8c91!==_0x12f0a9[_0x54cfce(0x3e9)][_0x54cfce(0x2db)];if(_0x3fd6f6||_0x257bc7){const _0x47df59=_0x3e8d76(_0x27c03a,_0x4c1290);_0x47df59&&(_0x3fd6f6?(delete _0x27c03a['dimension'][_0x4c1290],_0x27c03a[_0x54cfce(0x245)][_0x4c1290]=_0x47df59):(delete _0x27c03a[_0x54cfce(0x245)][_0x4c1290],_0x27c03a['dimension'][_0x4c1290]=_0x47df59));}const _0x4410fd=_0x11fcd3(_0x27c03a,_0x169e1d),_0xc6e15b=_0x11fcd3(_0x27c03a,_0x4b8c91);_0x4410fd[_0x54cfce(0x390)](_0x80758a,0x1),_0xc6e15b[_0x54cfce(0x390)](_0x44cbfa,0x0,_0x4c1290);}function _0x4538fb(_0x4172e4,_0xbbd5e0){const _0x43380e=_0x4226f5,{valuePosition:_0x304a33,index:_0x5e8c89}=_0xbbd5e0;_0x4172e4['valuePosition']=_0x304a33,_0x4172e4[_0x43380e(0x3ea)]=_0x5e8c89;}function _0x1f94b9(_0x3f8fbe,_0x411308){const _0x1e0533=_0x4226f5,{tableFieldId:_0x25e7ad,sourceName:_0x29eb57,dataFieldId:_0x1ac77c}=_0x411308,_0x369189=_0x3e8d76(_0x3f8fbe,_0x25e7ad);_0x369189&&(_0x369189[_0x1e0533(0x226)]=_0x29eb57,_0x369189['dataFieldId']=_0x1ac77c);}function _0x54974f(_0x3ad716,_0x4b4b46){const _0x245bc1=_0x4226f5,{fieldId:_0x37b4cf,sortInfo:_0x341046}=_0x4b4b46,_0x7bef9d=_0x3e8d76(_0x3ad716,_0x37b4cf);_0x7bef9d&&(_0x7bef9d[_0x245bc1(0x274)]=_0x341046);}function _0x4d7df3(_0x4d0369,_0x53e0d5){const _0x1c9e8b=_0x4226f5,{options:_0x49f1aa}=_0x53e0d5;_0x4d0369['options']={..._0x4d0369[_0x1c9e8b(0x1c4)],..._0x49f1aa};}const _0x4da8a9={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':'sheet.mutation.add-pivot-field','handler'(_0x2dcf33,_0x5b5ad5){const _0x3d3999=_0x4226f5;if(!_0x5b5ad5)return!0x1;if(!!_0x2dcf33[_0x3d3999(0x2c4)](_0x544178['IConfigService'])['getConfig'](_0x4762c4))return!0x0;const _0xe2455e=_0x2dcf33[_0x3d3999(0x2c4)](_0x530537[_0x3d3999(0x393)]),{pivotTableId:_0x1d2ac4,fieldJson:_0x3be0bc,area:_0x45b3e0,index:_0x5e802a,unitId:_0x5e3c89,subUnitId:_0x43862c}=_0x5b5ad5,_0x1b3b7a=_0xe2455e[_0x3d3999(0x233)](_0x1d2ac4);if(!_0x1b3b7a)return!0x1;let _0x40685b;_0x45b3e0===_0x12f0a9[_0x3d3999(0x3e9)][_0x3d3999(0x2db)]?_0x40685b=_0x12f0a9[_0x3d3999(0x1d5)](_0x3be0bc):_0x40685b=_0x12f0a9['createLabelField'](_0x3be0bc),_0x1b3b7a[_0x3d3999(0x177)](_0x40685b,_0x45b3e0,_0x5e802a);const _0x159239=_0xe2455e[_0x3d3999(0x17c)](_0x5e3c89,_0x43862c,_0x1d2ac4);_0x4e955f(_0x159239,_0x5b5ad5);const _0x44fe39=_0xe2455e[_0x3d3999(0x2df)](_0x5e3c89,_0x43862c,_0x1d2ac4);return _0xe2455e[_0x3d3999(0x1ba)]({'unitId':_0x5e3c89,'subUnitId':_0x43862c,'token':_0x1d2ac4,'type':_0x580ace['Set'],'pivotConfig':_0x44fe39}),!0x0;}},_0x2666b4={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x290),'handler'(_0x3a0b88,_0xbaffc5){const _0x389afe=_0x4226f5;if(!_0xbaffc5)return!0x1;if(!!_0x3a0b88[_0x389afe(0x2c4)](_0x544178[_0x389afe(0x2b6)])['getConfig'](_0x4762c4))return!0x0;const _0x59cc5a=_0x3a0b88[_0x389afe(0x2c4)](_0x530537[_0x389afe(0x393)]),{pivotTableId:_0x311cfb,fieldId:_0x223765,unitId:_0xdd198c,subUnitId:_0x5c21f5}=_0xbaffc5,_0x555eed=_0x59cc5a[_0x389afe(0x233)](_0x311cfb);if(!_0x555eed)return!0x1;_0x555eed[_0x389afe(0x2ad)](_0x223765);const _0xf760bb=_0x59cc5a[_0x389afe(0x17c)](_0xdd198c,_0x5c21f5,_0x311cfb);_0x1ca25e(_0xf760bb,_0xbaffc5);const _0x5eee08=_0x59cc5a[_0x389afe(0x2df)](_0xdd198c,_0x5c21f5,_0x311cfb);return _0x59cc5a[_0x389afe(0x1ba)]({'unitId':_0xdd198c,'subUnitId':_0x5c21f5,'token':_0x311cfb,'type':_0x580ace['Set'],'pivotConfig':_0x5eee08}),!0x0;}},_0x2eab8c={'type':_0x544178[_0x4226f5(0x16f)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x1c592b,_0x56411a){const _0x50a6b6=_0x4226f5;if(!_0x56411a)return!0x1;if(!!_0x1c592b[_0x50a6b6(0x2c4)](_0x544178[_0x50a6b6(0x2b6)])[_0x50a6b6(0x1d3)](_0x4762c4))return!0x0;const _0x5894b9=_0x1c592b[_0x50a6b6(0x2c4)](_0x530537['SheetsPivotDataSourceModel']),{unitId:_0xc2ad60,subUnitId:_0x2301d9,pivotTableId:_0x24629e,fieldId:_0x3f236c,name:_0x599066}=_0x56411a,_0x3153d9=_0x5894b9[_0x50a6b6(0x233)](_0x24629e);if(!_0x3153d9)return!0x1;_0x3153d9[_0x50a6b6(0x219)](_0x3f236c,_0x599066);const _0x2dd478=_0x5894b9['getPivotTableModelConfig'](_0xc2ad60,_0x2301d9,_0x24629e);return _0x2672ae(_0x2dd478,_0x56411a),_0x5894b9[_0x50a6b6(0x1ba)]({'unitId':_0xc2ad60,'subUnitId':_0x2301d9,'token':_0x24629e,'type':_0x580ace[_0x50a6b6(0x246)]}),!0x0;}},_0x105860={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x247),'handler'(_0x4dabc3,_0x519d2d){const _0x201df2=_0x4226f5;if(!_0x519d2d)return!0x1;if(!!_0x4dabc3[_0x201df2(0x2c4)](_0x544178['IConfigService'])[_0x201df2(0x1d3)](_0x4762c4))return!0x0;const _0x2f8979=_0x4dabc3['get'](_0x530537['SheetsPivotDataSourceModel']),{unitId:_0x5ee8c5,subUnitId:_0x4aa68d,pivotTableId:_0x59f1f3,fieldId:_0x33f803,collapse:_0xf8aaa1,item:_0x58b42b}=_0x519d2d,_0x240a4d=_0x2f8979[_0x201df2(0x233)](_0x59f1f3);if(!_0x240a4d)return!0x1;_0x240a4d[_0x201df2(0x406)](_0x33f803,_0xf8aaa1,_0x58b42b);const _0x5760d3=_0x2f8979['getPivotTableModelConfig'](_0x5ee8c5,_0x4aa68d,_0x59f1f3);return _0x37f92b(_0x5760d3,_0x519d2d),_0x2f8979[_0x201df2(0x1ba)]({'unitId':_0x5ee8c5,'subUnitId':_0x4aa68d,'token':_0x59f1f3,'type':_0x580ace[_0x201df2(0x246)]}),!0x0;}},_0x39d41f={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x1f9),'handler'(_0x4d33dc,_0x321f96){const _0x35a052=_0x4226f5;if(!_0x321f96)return!0x1;if(!!_0x4d33dc['get'](_0x544178[_0x35a052(0x2b6)])[_0x35a052(0x1d3)](_0x4762c4))return!0x0;const _0x35220a=_0x4d33dc[_0x35a052(0x2c4)](_0x530537[_0x35a052(0x393)]),{unitId:_0x33be85,subUnitId:_0x422d09,pivotTableId:_0x2dad89,fieldId:_0xfd4114,format:_0x452b0c}=_0x321f96,_0x13484e=_0x35220a[_0x35a052(0x233)](_0x2dad89);if(!_0x13484e)return!0x1;_0x13484e[_0x35a052(0x398)](_0xfd4114,_0x452b0c);const _0x1a7201=_0x35220a[_0x35a052(0x17c)](_0x33be85,_0x422d09,_0x2dad89);return _0x19d524(_0x1a7201,_0x321f96),_0x35220a['addDirtyPivotTable']({'unitId':_0x33be85,'subUnitId':_0x422d09,'token':_0x2dad89,'type':_0x580ace['Set']}),!0x0;}},_0x3042f4={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x3e7),'handler'(_0x263876,_0xdedea4){const _0x29391f=_0x4226f5;if(!_0xdedea4)return!0x1;if(!!_0x263876[_0x29391f(0x2c4)](_0x544178[_0x29391f(0x2b6)])[_0x29391f(0x1d3)](_0x4762c4))return!0x0;const _0x2a1ca3=_0x263876[_0x29391f(0x2c4)](_0x530537[_0x29391f(0x393)]),{unitId:_0x2e6cc6,subUnitId:_0xb37af5,pivotTableId:_0x3f127d,fieldId:_0x31c2ef,filterInfo:_0x268781}=_0xdedea4,_0x213eb7=_0x2a1ca3[_0x29391f(0x233)](_0x3f127d);if(!_0x213eb7)return!0x1;_0x213eb7[_0x29391f(0x3c2)](_0x31c2ef,_0x268781);const _0x277be1=_0x2a1ca3[_0x29391f(0x17c)](_0x2e6cc6,_0xb37af5,_0x3f127d);return _0x495f5e(_0x277be1,_0xdedea4),_0x2a1ca3[_0x29391f(0x1ba)]({'unitId':_0x2e6cc6,'subUnitId':_0xb37af5,'token':_0x3f127d,'type':_0x580ace[_0x29391f(0x246)]}),!0x0;}},_0x2c2193={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x22e),'handler'(_0x216e80,_0x49ec52){const _0x20f7ee=_0x4226f5;if(!_0x49ec52)return!0x1;if(!!_0x216e80[_0x20f7ee(0x2c4)](_0x544178[_0x20f7ee(0x2b6)])[_0x20f7ee(0x1d3)](_0x4762c4))return!0x0;const _0x3d69ea=_0x216e80[_0x20f7ee(0x2c4)](_0x530537[_0x20f7ee(0x393)]),{unitId:_0x54be17,subUnitId:_0x57c961,pivotTableId:_0x50e080,options:_0x26a94b}=_0x49ec52,_0x26ba7e=_0x3d69ea[_0x20f7ee(0x233)](_0x50e080);if(!_0x26ba7e)return!0x1;_0x26ba7e['setOptions'](_0x26a94b);const _0x4eace4=_0x3d69ea['getPivotTableModelConfig'](_0x54be17,_0x57c961,_0x50e080);return _0x4d7df3(_0x4eace4,_0x49ec52),_0x3d69ea['addDirtyPivotTable']({'unitId':_0x54be17,'subUnitId':_0x57c961,'token':_0x50e080,'type':_0x580ace[_0x20f7ee(0x246)]}),!0x0;}},_0x1251fe={'type':_0x544178['CommandType'][_0x4226f5(0x231)],'id':_0x4226f5(0x419),'handler'(_0x48e71b,_0x24b048){const _0xeba902=_0x4226f5;if(!_0x24b048)return!0x1;if(!!_0x48e71b['get'](_0x544178[_0xeba902(0x2b6)])[_0xeba902(0x1d3)](_0x4762c4))return!0x0;const _0x578633=_0x48e71b[_0xeba902(0x2c4)](_0x530537[_0xeba902(0x393)]),{unitId:_0x3c9fef,subUnitId:_0xcbe5d9,pivotTableId:_0x51a03d,sortInfo:_0xad4abf,fieldId:_0x511df1}=_0x24b048,_0x3147fd=_0x578633[_0xeba902(0x233)](_0x51a03d);if(!_0x3147fd)return!0x1;_0x3147fd[_0xeba902(0x344)](_0x511df1,_0xad4abf);const _0x5a9896=_0x578633[_0xeba902(0x17c)](_0x3c9fef,_0xcbe5d9,_0x51a03d);return _0x54974f(_0x5a9896,_0x24b048),_0x578633[_0xeba902(0x1ba)]({'unitId':_0x3c9fef,'subUnitId':_0xcbe5d9,'token':_0x51a03d,'type':_0x580ace[_0xeba902(0x246)]}),!0x0;}},_0x184bb4={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x42f),'handler'(_0x4b64f0,_0x13be62){const _0x355cb4=_0x4226f5;if(!_0x13be62)return!0x1;if(!!_0x4b64f0[_0x355cb4(0x2c4)](_0x544178['IConfigService'])[_0x355cb4(0x1d3)](_0x4762c4))return!0x0;const _0xe9cc46=_0x4b64f0['get'](_0x530537['SheetsPivotDataSourceModel']),{unitId:_0x23dd2b,subUnitId:_0x74fc37,pivotTableId:_0x13a44e,fieldId:_0x565271,subtotalType:_0x72040a}=_0x13be62,_0x43161d=_0xe9cc46[_0x355cb4(0x233)](_0x13a44e);if(!_0x43161d)return!0x1;_0x43161d[_0x355cb4(0x16d)](_0x565271,_0x72040a);const _0x4e0cb9=_0xe9cc46[_0x355cb4(0x17c)](_0x23dd2b,_0x74fc37,_0x13a44e);return _0x390d51(_0x4e0cb9,_0x13be62),_0xe9cc46[_0x355cb4(0x1ba)]({'unitId':_0x23dd2b,'subUnitId':_0x74fc37,'token':_0x13a44e,'type':_0x580ace['Set']}),!0x0;}},_0x556a41={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x504a3d,_0x4d123c){const _0x4125d0=_0x4226f5;if(!_0x4d123c)return!0x1;if(!!_0x504a3d['get'](_0x544178['IConfigService'])['getConfig'](_0x4762c4))return!0x0;const _0x2352db=_0x504a3d['get'](_0x530537['SheetsPivotDataSourceModel']),{unitId:_0x46e7b6,subUnitId:_0x3d54be,pivotTableId:_0x5c3959,fieldId:_0x1debe8,filterInfo:_0x4dbc27}=_0x4d123c,_0x4f28f3=_0x2352db[_0x4125d0(0x233)](_0x5c3959);if(!_0x4f28f3)return!0x1;_0x4f28f3[_0x4125d0(0x422)](_0x1debe8,_0x4dbc27);const _0xfa1854=_0x2352db[_0x4125d0(0x17c)](_0x46e7b6,_0x3d54be,_0x5c3959);return _0x46e800(_0xfa1854,_0x4d123c),_0x2352db[_0x4125d0(0x1ba)]({'unitId':_0x46e7b6,'subUnitId':_0x3d54be,'token':_0x5c3959,'type':_0x580ace['Set']}),!0x0;}},_0x580eb3={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x38c),'handler'(_0x5b7b9b,_0x239b02){const _0x4b252f=_0x4226f5;if(!_0x239b02)return!0x1;if(!!_0x5b7b9b[_0x4b252f(0x2c4)](_0x544178['IConfigService'])[_0x4b252f(0x1d3)](_0x4762c4))return!0x0;const _0x246213=_0x5b7b9b[_0x4b252f(0x2c4)](_0x530537[_0x4b252f(0x393)]),{unitId:_0x5304ed,subUnitId:_0x288602,pivotTableId:_0xf9e96,area:_0x306d07,index:_0x3a3f02,fieldId:_0x283611}=_0x239b02,_0x35e171=_0x246213[_0x4b252f(0x233)](_0xf9e96);if(!_0x35e171)return!0x1;_0x35e171[_0x4b252f(0x184)](_0x283611,_0x306d07,_0x3a3f02);const _0x39937c=_0x246213[_0x4b252f(0x17c)](_0x5304ed,_0x288602,_0xf9e96);return _0x509b1a(_0x39937c,_0x239b02),_0x246213[_0x4b252f(0x1ba)]({'unitId':_0x5304ed,'subUnitId':_0x288602,'token':_0xf9e96,'type':_0x580ace[_0x4b252f(0x246)]}),!0x0;}},_0x496220={'type':_0x544178['CommandType'][_0x4226f5(0x231)],'id':_0x4226f5(0x32c),'handler'(_0x5c7a14,_0x576753){const _0x1d9df7=_0x4226f5;if(!_0x576753)return!0x1;if(!!_0x5c7a14[_0x1d9df7(0x2c4)](_0x544178[_0x1d9df7(0x2b6)])[_0x1d9df7(0x1d3)](_0x4762c4))return!0x0;const _0x2caad6=_0x5c7a14[_0x1d9df7(0x2c4)](_0x530537[_0x1d9df7(0x393)]),{unitId:_0x3b2432,subUnitId:_0x47f976,pivotTableId:_0x3d477c,sourceName:_0x23e036,dataFieldId:_0x466285,tableFieldId:_0x50d493}=_0x576753,_0x2d604b=_0x2caad6[_0x1d9df7(0x233)](_0x3d477c);if(!_0x2d604b)return!0x1;_0x2d604b[_0x1d9df7(0x445)](_0x50d493,_0x23e036,_0x466285);const _0x265163=_0x2caad6[_0x1d9df7(0x17c)](_0x3b2432,_0x47f976,_0x3d477c);return _0x1f94b9(_0x265163,_0x576753),_0x2caad6[_0x1d9df7(0x1ba)]({'unitId':_0x3b2432,'subUnitId':_0x47f976,'token':_0x3d477c,'type':_0x580ace['Set']}),!0x0;}},_0x4b5dd7={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x5b9f2b,_0x5ccc71){const _0x5d6980=_0x4226f5;if(!_0x5ccc71)return!0x1;if(!!_0x5b9f2b[_0x5d6980(0x2c4)](_0x544178[_0x5d6980(0x2b6)])[_0x5d6980(0x1d3)](_0x4762c4))return!0x0;const _0x12bab1=_0x5b9f2b[_0x5d6980(0x2c4)](_0x530537[_0x5d6980(0x393)]),{unitId:_0x4d1874,subUnitId:_0x2c5719,pivotTableId:_0x179cc8,valuePosition:_0x5cbd26,index:_0x21a54b}=_0x5ccc71,_0x1203cc=_0x12bab1[_0x5d6980(0x233)](_0x179cc8);if(!_0x1203cc)return!0x1;_0x1203cc[_0x5d6980(0x22b)](_0x5cbd26,_0x21a54b);const _0x559d50=_0x12bab1[_0x5d6980(0x17c)](_0x4d1874,_0x2c5719,_0x179cc8);return _0x4538fb(_0x559d50,_0x5ccc71),_0x12bab1[_0x5d6980(0x1ba)]({'unitId':_0x4d1874,'subUnitId':_0x2c5719,'token':_0x179cc8,'type':_0x580ace[_0x5d6980(0x246)]}),!0x0;}};function _0x5e7103(_0x55595c,_0x5c1845,_0xc3d2b1){const _0x144e85=_0x4226f5,{pivotTableId:_0x56317a,unitId:_0x206097,subUnitId:_0x391c56}=_0x5c1845,_0x3be97b=[],_0x19eb49=[];for(const _0x60d57c of _0xc3d2b1)switch(_0x60d57c['type']){case _0x12f0a9['PivotTableChangeTypeEnum'][_0x144e85(0x39e)]:{const {fieldJson:_0x3e38c2,area:_0xd7531c,index:_0x19f1ea}=_0x60d57c,_0x418330={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldJson':_0x3e38c2,'area':_0xd7531c,'index':_0x19f1ea},_0x5bcfb9={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x3e38c2['id'],'area':_0xd7531c,'index':_0x19f1ea};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x4da8a9['id'],'params':_0x418330}),_0x19eb49[_0x144e85(0x2bc)]({'id':_0x2666b4['id'],'params':_0x5bcfb9});}break;case _0x12f0a9[_0x144e85(0x306)]['SetSubtotalType']:{const {fieldId:_0x1ec710,newSubtotalType:_0x4a8687,oldSubtotalType:_0x40833b}=_0x60d57c,_0xf2488a={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x1ec710,'subtotalType':_0x4a8687};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x184bb4['id'],'params':_0xf2488a});const _0x1bb23f={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x1ec710,'subtotalType':_0x40833b};_0x19eb49['unshift']({'id':_0x184bb4['id'],'params':_0x1bb23f});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x3a3)]:{const {fieldId:_0x738f87,fieldJson:_0x5aa978,area:_0x452087,index:_0x122ef1}=_0x60d57c,_0x2181db={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x738f87,'index':_0x122ef1,'area':_0x452087};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x2666b4['id'],'params':_0x2181db});const _0x31ff43={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldJson':_0x5aa978,'area':_0x452087,'index':_0x122ef1};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x4da8a9['id'],'params':_0x31ff43});}break;case _0x12f0a9['PivotTableChangeTypeEnum'][_0x144e85(0x338)]:{const {fieldId:_0x363f0e,oldName:_0x1f937f,newName:_0x434bf5}=_0x60d57c,_0x394028={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x363f0e,'name':_0x434bf5};_0x3be97b['push']({'id':_0x2eab8c['id'],'params':_0x394028});const _0x14be51={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x363f0e,'name':_0x1f937f};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x2eab8c['id'],'params':_0x14be51});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x435)]:{const {fieldId:_0x36dcae,oldFilterInfo:_0x2544cd,newFilterInfo:_0xa73271}=_0x60d57c,_0x157c77={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x36dcae,'filterInfo':_0xa73271};_0x3be97b['push']({'id':_0x3042f4['id'],'params':_0x157c77});const _0x57c5c1={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x36dcae,'filterInfo':_0x2544cd};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x3042f4['id'],'params':_0x57c5c1});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x2e8)]:{const {fieldId:_0x124b3e,oldSortInfo:_0x1342ac,newSortInfo:_0x4f71aa}=_0x60d57c,_0xaa22ff={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x124b3e,'sortInfo':_0x4f71aa};_0x3be97b['push']({'id':_0x1251fe['id'],'params':_0xaa22ff});const _0x4f6bdc={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x124b3e,'sortInfo':_0x1342ac};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x1251fe['id'],'params':_0x4f6bdc});}break;case _0x12f0a9['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x290f2c,newOptions:_0x416a3c}=_0x60d57c,_0x2a6b9d={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'options':_0x416a3c};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x2c2193['id'],'params':_0x2a6b9d});const _0x340f72={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'options':_0x290f2c};_0x19eb49['unshift']({'id':_0x2c2193['id'],'params':_0x340f72});}break;case _0x12f0a9['PivotTableChangeTypeEnum'][_0x144e85(0x2c0)]:{const {oldArea:_0x5b9fcc,newArea:_0x3c1dad,oldIndex:_0x1f76f9,newIndex:_0x13d0f2,fieldId:_0x54c987}=_0x60d57c,_0xd7f3db={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x54c987,'area':_0x3c1dad,'index':_0x13d0f2,'oldArea':_0x5b9fcc,'oldIndex':_0x1f76f9};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x580eb3['id'],'params':_0xd7f3db});const _0x11b6ef={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x54c987,'area':_0x5b9fcc,'index':_0x1f76f9,'oldArea':_0x3c1dad,'oldIndex':_0x13d0f2};_0x19eb49['unshift']({'id':_0x580eb3['id'],'params':_0x11b6ef});}break;case _0x12f0a9['PivotTableChangeTypeEnum'][_0x144e85(0x3e5)]:{const {oldValuePosition:_0x4558bf,newValuePosition:_0xf561e8,oldIndex:_0x138a62,newIndex:_0x476895}=_0x60d57c,_0x3690a0={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'valuePosition':_0xf561e8,'index':_0x476895};_0x3be97b['push']({'id':_0x4b5dd7['id'],'params':_0x3690a0});const _0x47ce0b={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'valuePosition':_0x4558bf,'index':_0x138a62};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x4b5dd7['id'],'params':_0x47ce0b});}break;case _0x12f0a9[_0x144e85(0x306)]['SetCollapse']:{const {fieldId:_0xcaf0c0,collapse:_0x4e68c6,item:_0x2b6ce9}=_0x60d57c,_0x5a4a17={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0xcaf0c0,'collapse':_0x4e68c6,'item':_0x2b6ce9};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x105860['id'],'params':_0x5a4a17});const _0x3f6aa2={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0xcaf0c0,'collapse':!_0x4e68c6,'item':_0x2b6ce9};_0x19eb49['unshift']({'id':_0x105860['id'],'params':_0x3f6aa2});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x366)]:{const {newFormat:_0xbf7890,oldFormat:_0x43a24c,fieldId:_0x4330d6}=_0x60d57c,_0x88c6e={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x4330d6,'format':_0xbf7890};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x39d41f['id'],'params':_0x88c6e});const _0x42adc8={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x4330d6,'format':_0x43a24c};_0x19eb49[_0x144e85(0x2bc)]({'id':_0x39d41f['id'],'params':_0x42adc8});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x204)]:{const {tableFieldId:_0x10cfc1,oldSourceName:_0x4e2cf9,newSourceName:_0x1ea04f,oldDataFieldId:_0x5fdcfd,newDataFieldId:_0x5888c6}=_0x60d57c,_0x53c0bf={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'tableFieldId':_0x10cfc1,'sourceName':_0x1ea04f,'dataFieldId':_0x5888c6};_0x3be97b['push']({'id':_0x496220['id'],'params':_0x53c0bf});const _0x55bb3d={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'tableFieldId':_0x10cfc1,'sourceName':_0x4e2cf9,'dataFieldId':_0x5fdcfd};_0x19eb49['unshift']({'id':_0x496220['id'],'params':_0x55bb3d});}break;case _0x12f0a9[_0x144e85(0x306)][_0x144e85(0x241)]:{const {fieldId:_0x249361,filterInfo:_0xf4b38e,oldFilterInfo:_0x2f0849}=_0x60d57c,_0x87d8cb={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x249361,'filterInfo':_0xf4b38e};_0x3be97b[_0x144e85(0x3b6)]({'id':_0x556a41['id'],'params':_0x87d8cb});const _0x4bf723={'unitId':_0x206097,'subUnitId':_0x391c56,'pivotTableId':_0x56317a,'fieldId':_0x249361,'filterInfo':_0x2f0849};_0x19eb49['unshift']({'id':_0x556a41['id'],'params':_0x4bf723});}}return{'redos':_0x3be97b,'undos':_0x19eb49};}function _0x1571b3(_0x1264ea,_0x13e956){const _0xf37835=_0x4226f5;var _0x446dbe;const _0x5bc232=_0x1264ea[_0xf37835(0x2c4)](_0x530537[_0xf37835(0x3b7)]),{cellInfo:_0xbab22b,view:_0x3a5b51,isEmpty:_0x5b2471}=_0x13e956;return(_0x446dbe=_0x5bc232[_0xf37835(0x1e2)][_0xf37835(0x182)](_0x1742b1)(_0x2499df,{'cellInfo':_0xbab22b,'view':_0x3a5b51,'isEmpty':_0x5b2471}))!=null?_0x446dbe:_0x2499df;}const _0x105f9d=()=>typeof process<'u'&&process['versions']!=null&&process[_0x4226f5(0x30b)][_0x4226f5(0x425)]!=null,_0x361ca1={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':_0x4226f5(0x153),'handler'(_0x13f7db,_0x2a4ce5){const _0xe0ecd3=_0x4226f5;var _0x4e5fd3;if(!_0x2a4ce5)return!0x1;const _0x245f88=_0x13f7db[_0xe0ecd3(0x2c4)](_0x544178[_0xe0ecd3(0x2b6)]);if(!!_0x245f88[_0xe0ecd3(0x1d3)](_0x4762c4))return!0x0;const _0x151d68=_0x13f7db['get'](_0x544178['IUniverInstanceService']),_0x33060c=_0x13f7db[_0xe0ecd3(0x2c4)](_0x530537['SheetsPivotDataSourceModel']),{pivotTableId:_0x5e2e81,pivotTableConfig:_0x571b74,collectionConfig:_0x736904,unitId:_0x40150f,subUnitId:_0x5461b0}=_0x2a4ce5,{sourceRangeInfo:_0x56e1c0,fieldsConfig:_0x406c9c,targetCellInfo:_0x81cbb9}=_0x571b74,_0x59aa06=_0x151d68[_0xe0ecd3(0x3cf)](_0x40150f);if(!_0x59aa06||!_0x59aa06[_0xe0ecd3(0x2fd)](_0x5461b0))return!0x1;if(!_0x105f9d()){let _0x4e190f=0x0;_0x59aa06[_0xe0ecd3(0x2f6)]()[_0xe0ecd3(0x39b)](_0x31bed8=>{const _0x336533=_0xe0ecd3;var _0x3f80d2,_0x35532d;_0x4e190f+=(_0x35532d=(_0x3f80d2=_0x33060c[_0x336533(0x3cc)](_0x40150f,_0x31bed8[_0x336533(0x1b7)]()))==null?void 0x0:_0x3f80d2[_0x336533(0x3a5)])!=null?_0x35532d:0x0;});const _0x4df128=(_0x4e5fd3=_0x245f88['getConfig'](_0x3a09fd[_0xe0ecd3(0x1c8)]))!=null?_0x4e5fd3:{},{ls:_0x12f093,pbk:_0x1cbf27}=_0x4df128;if(!_0x44394d(_0x12f093,_0x1cbf27))throw new _0x544178[(_0xe0ecd3(0x30d))](_0xe0ecd3(0x22a));const _0x1450e0=_0x3b4981(_0x3dcc94,_0x12f093,_0x1cbf27)[_0xe0ecd3(0x370)];if(_0x4e190f>=_0x1450e0)throw new _0x544178[(_0xe0ecd3(0x30d))](_0xe0ecd3(0x22a));}if(!_0x736904||!_0x406c9c)return!0x1;const {collection:_0x39ad22,updateDataFieldList:_0x74daca}=_0x33060c['addCollectionByJSON'](_0x5e2e81,_0x736904,_0x56e1c0,_0x81cbb9);_0x33060c['refreshData'](_0x39ad22,_0x74daca,_0x56e1c0);const _0x38a020=new _0x12f0a9[(_0xe0ecd3(0x316))](_0x39ad22,void 0x0,_0x5e2e81);_0x38a020[_0xe0ecd3(0x458)](_0x406c9c);const _0x40768e=JSON[_0xe0ecd3(0x32e)](JSON[_0xe0ecd3(0x36e)](_0x571b74));return _0x33060c[_0xe0ecd3(0x2d1)](_0x40150f,_0x5461b0,_0x5e2e81,_0x38a020,_0x40768e),_0x33060c[_0xe0ecd3(0x1ba)]({'unitId':_0x40150f,'subUnitId':_0x5461b0,'token':_0x5e2e81,'type':_0x580ace[_0xe0ecd3(0x373)],'pivotConfig':_0x40768e}),!0x0;}},_0x6df2a2={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x4f36a8,_0x167d72){const _0x59a6a7=_0x4226f5;if(!_0x167d72)return!0x1;if(!!_0x4f36a8[_0x59a6a7(0x2c4)](_0x544178['IConfigService'])[_0x59a6a7(0x1d3)](_0x4762c4))return!0x0;const {pivotTableId:_0x56234c,unitId:_0x1a0fc7,subUnitId:_0x5400a2}=_0x167d72,_0x441b9b=_0x4f36a8[_0x59a6a7(0x2c4)](_0x530537[_0x59a6a7(0x393)]);return _0x441b9b[_0x59a6a7(0x2df)](_0x1a0fc7,_0x5400a2,_0x56234c)?(_0x441b9b[_0x59a6a7(0x1ba)]({'unitId':_0x1a0fc7,'subUnitId':_0x5400a2,'token':_0x56234c,'type':_0x580ace[_0x59a6a7(0x41e)]}),_0x441b9b[_0x59a6a7(0x214)](_0x1a0fc7,_0x5400a2,_0x56234c),!0x0):!0x1;}},_0x19a8d1={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'id':'sheet.mutation.set-pivot-position','handler'(_0x4a3bc2,_0x917ed8){const _0x247e5c=_0x4226f5;if(!_0x917ed8)return!0x1;if(!!_0x4a3bc2[_0x247e5c(0x2c4)](_0x544178['IConfigService'])[_0x247e5c(0x1d3)](_0x4762c4))return!0x0;const {pivotTableId:_0x155cd4,targetCellPosition:_0x74a352,unitId:_0x192eb3,subUnitId:_0x3ea721}=_0x917ed8,_0x1beb8c=_0x4a3bc2[_0x247e5c(0x2c4)](_0x530537['SheetsPivotDataSourceModel']);if(!_0x1beb8c[_0x247e5c(0x233)](_0x917ed8[_0x247e5c(0x2d5)]))return!0x1;const _0x43eb7e=_0x1beb8c[_0x247e5c(0x224)](_0x155cd4);if(!_0x43eb7e)return!0x1;const _0x5999ec=_0x1beb8c[_0x247e5c(0x169)](_0x43eb7e[_0x247e5c(0x384)],_0x917ed8[_0x247e5c(0x2d5)]);if(!_0x5999ec)return!0x1;const _0x165347=_0x1beb8c['getPivotTableConfig'](_0x43eb7e['unitId'],_0x43eb7e[_0x247e5c(0x31c)],_0x155cd4);if(!_0x165347)return!0x1;const _0x20650c=_0x544178[_0x247e5c(0x20d)][_0x247e5c(0x3bb)](_0x165347);_0x20650c[_0x247e5c(0x2a0)]={'unitId':_0x192eb3,'subUnitId':_0x3ea721,'row':_0x74a352[_0x247e5c(0x3e1)],'col':_0x74a352[_0x247e5c(0x2e6)]};const _0x3c7b67=_0x5999ec[_0x247e5c(0x173)]();if(_0x43eb7e[_0x247e5c(0x31c)]===_0x3ea721&&_0x43eb7e[_0x247e5c(0x384)]===_0x192eb3)_0x1beb8c['setPivotTable'](_0x192eb3,_0x3ea721,_0x155cd4,_0x20650c),_0x1beb8c['addDirtyPivotTable']({'unitId':_0x192eb3,'subUnitId':_0x3ea721,'token':_0x155cd4,'type':_0x580ace[_0x247e5c(0x246)]});else{_0x1beb8c[_0x247e5c(0x1ba)]({'unitId':_0x43eb7e['unitId'],'subUnitId':_0x43eb7e['subUnitId'],'token':_0x155cd4,'type':_0x580ace[_0x247e5c(0x41e)]}),_0x1beb8c[_0x247e5c(0x214)](_0x43eb7e[_0x247e5c(0x384)],_0x43eb7e['subUnitId'],_0x155cd4);const _0x57f23d=_0x1beb8c[_0x247e5c(0x22f)](_0x155cd4,_0x3c7b67,_0x165347[_0x247e5c(0x3b2)],_0x20650c['targetCellInfo']),_0x2dc2fe=new _0x12f0a9[(_0x247e5c(0x316))](_0x57f23d[_0x247e5c(0x15d)],void 0x0,_0x155cd4);_0x2dc2fe[_0x247e5c(0x458)](_0x20650c[_0x247e5c(0x2b0)]),_0x1beb8c[_0x247e5c(0x2d1)](_0x192eb3,_0x3ea721,_0x155cd4,_0x2dc2fe,_0x20650c),_0x1beb8c[_0x247e5c(0x1ba)]({'unitId':_0x192eb3,'subUnitId':_0x3ea721,'token':_0x155cd4,'type':_0x580ace[_0x247e5c(0x373)],'pivotConfig':_0x20650c});}return!0x0;}},_0x3a32c8={'type':_0x544178['CommandType'][_0x4226f5(0x231)],'id':_0x4226f5(0x3fc),'handler'(_0x2aa98a,_0x19d76c){const _0x2b7b45=_0x4226f5;if(!_0x19d76c)return!0x1;if(!!_0x2aa98a[_0x2b7b45(0x2c4)](_0x544178[_0x2b7b45(0x2b6)])[_0x2b7b45(0x1d3)](_0x4762c4))return!0x0;const _0x3e33a2=_0x2aa98a[_0x2b7b45(0x2c4)](_0x530537[_0x2b7b45(0x393)]),{pivotTableId:_0x49ef11,deleteIds:_0x59ca02,collectionJSON:_0x3a9585,dataRangeInfo:_0x226379,unitId:_0x5997ad,subUnitId:_0x4e6faf}=_0x19d76c,_0xb1cae6=_0x3e33a2['getPivotTableInstance'](_0x49ef11),_0x3e8559=_0x3e33a2['getPivotTableConfig'](_0x5997ad,_0x4e6faf,_0x49ef11);if(!_0xb1cae6||!_0x3e8559)return!0x1;const {collection:_0x598503,updateDataFieldList:_0x10f8a0}=_0x3e33a2[_0x2b7b45(0x22f)](_0x49ef11,_0x3a9585,_0x226379,_0x3e8559[_0x2b7b45(0x2a0)]);_0x3e33a2[_0x2b7b45(0x35c)](_0x598503,_0x10f8a0,_0x226379),_0xb1cae6[_0x2b7b45(0x215)](_0x598503);for(const _0x2801dc of _0x59ca02)_0x3e33a2[_0x2b7b45(0x25f)](_0x226379[_0x2b7b45(0x384)],_0x2801dc);const _0x2b6c9d=_0x3e33a2[_0x2b7b45(0x2df)](_0x5997ad,_0x4e6faf,_0x49ef11);return _0x2b6c9d[_0x2b7b45(0x3b2)]=JSON[_0x2b7b45(0x32e)](JSON[_0x2b7b45(0x36e)](_0x226379)),_0x3e33a2[_0x2b7b45(0x1ba)]({'unitId':_0x5997ad,'subUnitId':_0x4e6faf,'token':_0x49ef11,'type':_0x580ace[_0x2b7b45(0x246)]}),!0x0;}},_0x1f0487={'type':_0x544178['CommandType'][_0x4226f5(0x231)],'id':_0x4226f5(0x30c),'handler'(){return!0x0;}};var _0x1386c6=Object[_0x4226f5(0x357)],_0x1fb53d=(_0xa7355e,_0x2ec398,_0x42c930,_0x293b2f)=>{const _0x49e722=_0x4226f5;for(var _0x38e5ff=_0x293b2f>0x1?void 0x0:_0x293b2f?_0x1386c6(_0x2ec398,_0x42c930):_0x2ec398,_0x3bbe95=_0xa7355e[_0x49e722(0x25a)]-0x1,_0x5b2487;_0x3bbe95>=0x0;_0x3bbe95--)(_0x5b2487=_0xa7355e[_0x3bbe95])&&(_0x38e5ff=_0x5b2487(_0x38e5ff)||_0x38e5ff);return _0x38e5ff;},_0xe5578f=(_0x146232,_0x43e0d7)=>(_0x21b185,_0x15e5a8)=>_0x43e0d7(_0x21b185,_0x15e5a8,_0x146232);_0x530537[_0x4226f5(0x2e3)]=class extends _0x544178['Disposable']{constructor(_0x3cd8b1,_0x47be9a){const _0x1f7c25=_0x4226f5;super(),_0x52962a(this,_0x1f7c25(0x1bd),new Map()),(this[_0x1f7c25(0x1c2)]=_0x3cd8b1,this[_0x1f7c25(0x1ad)]=_0x47be9a);}['handleAsyncResponse'](_0x1de5a1){const _0x1251f6=_0x4226f5,{version:_0x4e8115}=_0x1de5a1,_0x53d5ba=this['_requestResolvers'][_0x1251f6(0x2c4)](_0x4e8115);_0x53d5ba&&(_0x53d5ba(_0x1de5a1),this[_0x1251f6(0x1bd)]['delete'](_0x4e8115));}[_0x4226f5(0x2ce)](_0x5361db){return new Promise((_0x3f7604,_0x4bd28e)=>{const _0x3fd7ae=_0x4bc0,_0x854d1e=this['_generateUniqueVersion']();this[_0x3fd7ae(0x1bd)][_0x3fd7ae(0x3d9)](_0x854d1e,_0x3f7604),this[_0x3fd7ae(0x1ad)][_0x3fd7ae(0x1a7)](_0x1c95a8['id'],{'version':_0x854d1e,..._0x5361db},{'onlyLocal':!0x0});});}[_0x4226f5(0x3a4)](){const _0x936eed=_0x4226f5;return Math[_0x936eed(0x44f)]()[_0x936eed(0x3b0)](0x24)[_0x936eed(0x3b3)](0x2,0x10);}},_0x530537[_0x4226f5(0x2e3)]=_0x1fb53d([_0xe5578f(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x230)])),_0xe5578f(0x1,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x37b)]))],_0x530537[_0x4226f5(0x2e3)]);const _0x3a2555={'id':_0x4226f5(0x154),'type':_0x544178['CommandType']['MUTATION'],'handler':(_0x1a7de6,_0x22b2b4)=>{const _0x3ccfe3=_0x4226f5;if(!_0x22b2b4)return!0x1;if(!!_0x1a7de6[_0x3ccfe3(0x2c4)](_0x544178[_0x3ccfe3(0x2b6)])[_0x3ccfe3(0x1d3)](_0x4762c4))return!0x0;const {pivotTableId:_0x4e2ec1,fieldJSON:_0x5f14de,unitId:_0x124040,subUnitId:_0x313e05}=_0x22b2b4,_0x35d9b1=_0x12f0a9[_0x3ccfe3(0x439)][_0x3ccfe3(0x458)](_0x5f14de);if(!_0x35d9b1)return!0x1;const _0x1a41f6=_0x1a7de6[_0x3ccfe3(0x2c4)](_0x530537[_0x3ccfe3(0x393)]),_0x12641d=_0x1a41f6[_0x3ccfe3(0x211)](_0x124040),_0x286a55=_0x12641d[_0x3ccfe3(0x169)](_0x4e2ec1);_0x12641d[_0x3ccfe3(0x217)](_0x35d9b1),_0x286a55[_0x3ccfe3(0x177)](_0x35d9b1['getId'](),_0x35d9b1[_0x3ccfe3(0x2fb)]());const _0x44e2fd=_0x286a55[_0x3ccfe3(0x1f1)](_0x35d9b1[_0x3ccfe3(0x2e9)]());_0x44e2fd&&_0x35d9b1[_0x3ccfe3(0x2ab)](_0x44e2fd);const _0x507f99=_0x1a41f6[_0x3ccfe3(0x2df)](_0x124040,_0x313e05,_0x4e2ec1);return _0x1a41f6[_0x3ccfe3(0x1ba)]({'unitId':_0x124040,'subUnitId':_0x313e05,'token':_0x4e2ec1,'type':_0x580ace[_0x3ccfe3(0x246)],'pivotConfig':_0x507f99}),!0x0;}},_0x2c0789={'id':_0x4226f5(0x385),'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'handler':(_0x1d4480,_0x223211)=>{const _0x344d3a=_0x4226f5;if(!_0x223211)return!0x1;if(!!_0x1d4480[_0x344d3a(0x2c4)](_0x544178[_0x344d3a(0x2b6)])['getConfig'](_0x4762c4))return!0x0;const {pivotTableId:_0x36a903,dataFieldId:_0x4b6a40,unitId:_0x1ce177,subUnitId:_0x4e4b8e}=_0x223211,_0xdbabeb=_0x1d4480['get'](_0x530537[_0x344d3a(0x393)]),_0x2d28e3=_0xdbabeb['getDataFieldManager'](_0x1ce177);_0x2d28e3['getCollection'](_0x36a903)[_0x344d3a(0x1cb)](_0x4b6a40);let _0x2bdded=!0x0;for(const _0x498980 in _0x2d28e3[_0x344d3a(0x36a)])if(_0x2d28e3[_0x344d3a(0x36a)][_0x498980][_0x344d3a(0x451)]()[_0x344d3a(0x158)](_0x4b6a40)){_0x2bdded=!0x1;break;}_0x2bdded&&_0x2d28e3[_0x344d3a(0x26c)](_0x4b6a40);const _0x1f3f7a=_0xdbabeb[_0x344d3a(0x2df)](_0x1ce177,_0x4e4b8e,_0x36a903);return _0xdbabeb['addDirtyPivotTable']({'unitId':_0x1ce177,'subUnitId':_0x4e4b8e,'token':_0x36a903,'type':_0x580ace['Set'],'pivotConfig':_0x1f3f7a}),!0x0;}},_0x42a550={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x53e587,_0x4e8c73){const _0x3a9b31=_0x4226f5;if(!_0x4e8c73)return!0x1;const _0x42faf5=_0x53e587[_0x3a9b31(0x2c4)](_0x544178[_0x3a9b31(0x37b)]),_0x4f7035=_0x53e587['get'](_0x530537[_0x3a9b31(0x2e3)]),_0x476d37=_0x53e587[_0x3a9b31(0x2c4)](_0x544178[_0x3a9b31(0x301)]),{pivotTableId:_0x3557e4,dataFieldId:_0x32e794,fieldArea:_0xded764,index:_0x33baa4,unitId:_0xc6778e,subUnitId:_0x4a8239}=_0x4e8c73,_0x382f33=(await _0x4f7035[_0x3a9b31(0x2ce)]({'unitId':_0xc6778e,'subUnitId':_0x4a8239,'pivotTableId':_0x3557e4,'params':{'type':_0x19b4e3[_0x3a9b31(0x363)],'addPivotField':{'dataFieldId':_0x32e794,'fieldArea':_0xded764,'index':_0x33baa4}}}))['result'][_0x3a9b31(0x43a)];if(!_0x382f33)return!0x1;const {view:_0x581190,changesets:_0x2a2f15,isEmpty:_0x2dbc4a,pivotTableConfig:_0x5b0fe7,shouldBeAddedGroupJSON:_0x29aee0}=_0x382f33,_0x53805c=_0x5b0fe7['targetCellInfo'],_0x4bef29=new _0x12f0a9[(_0x3a9b31(0x3be))]();_0x4bef29['formJSON'](_0x581190);const _0x223745={'cellInfo':_0x53805c,'view':_0x4bef29,'isEmpty':_0x2dbc4a};if(!await _0x53e587[_0x3a9b31(0x2c4)](_0x530537[_0x3a9b31(0x3b7)])[_0x3a9b31(0x1fe)][_0x3a9b31(0x3ec)](_0x48d4c4)(!0x0,_0x223745))return!0x1;const _0x4d2885=_0x21c2f3(_0x53e587,_0x4bef29,_0x53805c,_0x2dbc4a),_0x5626c5=_0x1571b3(_0x53e587,_0x223745),{undos:_0x5a2b72,redos:_0x315046}=_0x5e7103(_0x42faf5,{'pivotTableId':_0x3557e4,'unitId':_0xc6778e,'subUnitId':_0x4a8239},_0x2a2f15);return _0x29aee0&&(_0x315046[_0x3a9b31(0x2bc)]({'id':_0x3a2555['id'],'params':{'pivotTableId':_0x3557e4,'fieldJSON':_0x29aee0,'unitId':_0xc6778e,'subUnitId':_0x4a8239}}),_0x5a2b72[_0x3a9b31(0x3b6)]({'id':_0x2c0789['id'],'params':{'pivotTableId':_0x3557e4,'dataFieldId':_0x29aee0['id'],'unitId':_0xc6778e,'subUnitId':_0x4a8239}})),_0x544178[_0x3a9b31(0x3f0)]([..._0x4d2885[_0x3a9b31(0x20a)],..._0x5626c5[_0x3a9b31(0x20a)],..._0x315046],_0x42faf5),_0x476d37[_0x3a9b31(0x1b3)]({'unitID':_0xc6778e,'redoMutations':[..._0x4d2885['redos'],..._0x5626c5[_0x3a9b31(0x20a)],..._0x315046],'undoMutations':[..._0x4d2885[_0x3a9b31(0x2fc)],..._0x5626c5[_0x3a9b31(0x2fc)],..._0x5a2b72]}),!0x0;}},_0xd0e956={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x456),async 'handler'(_0x454df2,_0x1f01fb){const _0x334fe4=_0x4226f5;if(!_0x1f01fb)return!0x1;const {sourceDataInfo:_0x81490d,pivotTableConfig:_0x18224d}=_0x1f01fb;if(!_0x81490d||!_0x18224d)return!0x1;const {unitId:_0xf1424e,subUnitId:_0x104fc1,range:_0x56c149}=_0x81490d,_0x670d20=_0x454df2[_0x334fe4(0x2c4)](_0x544178[_0x334fe4(0x1a0)]),_0x5dcc93=_0x454df2[_0x334fe4(0x2c4)](_0x530537[_0x334fe4(0x2e3)]),_0x2f4c3c=_0x454df2['get'](_0x544178[_0x334fe4(0x229)]),_0x3e945f=_0x454df2[_0x334fe4(0x2c4)](_0x544178[_0x334fe4(0x37b)]),_0x2ee9bf=_0x670d20[_0x334fe4(0x3cf)](_0xf1424e);if(!_0x2ee9bf)return!0x1;const _0x26dda8=_0x2ee9bf[_0x334fe4(0x2fd)](_0x104fc1);if(!_0x26dda8)return!0x1;const _0x2ac3b0=_0x12f0a9[_0x334fe4(0x235)](0x8),_0x1573fb=_0x56c149||{'startRow':0x0,'startColumn':0x0,'endRow':_0x26dda8[_0x334fe4(0x2e2)]()-0x1,'endColumn':_0x26dda8[_0x334fe4(0x454)]()-0x1};_0x1573fb[_0x334fe4(0x44b)]=_0x544178[_0x334fe4(0x3c0)][_0x334fe4(0x1e7)];const _0x53c3cd=(await _0x5dcc93['getPivotDisplayConfig']({'unitId':_0xf1424e,'subUnitId':_0x104fc1,'pivotTableId':_0x2ac3b0,'params':{'type':_0x19b4e3[_0x334fe4(0x2c5)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xf1424e,'sheetName':_0x26dda8['getName'](),'subUnitId':_0x104fc1,'range':_0x1573fb},'pivotTableId':_0x2ac3b0,'pivotTableIndexConfig':_0x18224d}}}))[_0x334fe4(0x2f0)][_0x334fe4(0x22c)];if(!_0x53c3cd)return!0x1;const {isEmpty:_0x31d933,fieldsConfig:_0xf9765f,collectionConfig:_0x4aa937,changesets:_0x42fd63}=_0x53c3cd,_0x3b3b4c=_0x2ee9bf[_0x334fe4(0x2f6)]()[_0x334fe4(0x25a)],_0x149d0c=_0x544178['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x26dda8[_0x334fe4(0x2e2)]()-0x1,'columnCount':_0x26dda8['getColumnCount']()-0x1});_0x149d0c['id']=_0x544178[_0x334fe4(0x315)](),_0x149d0c[_0x334fe4(0x3f7)]=_0x2ee9bf['generateNewSheetName'](''+_0x2f4c3c['t'](_0x334fe4(0x343)));const _0x43da2d={'index':_0x3b3b4c,'sheet':_0x149d0c,'unitId':_0xf1424e},{redos:_0x304a63}=_0x5e7103(_0x3e945f,{'pivotTableId':_0x2ac3b0,'unitId':_0xf1424e,'subUnitId':_0x149d0c['id']},_0x42fd63),_0x9cace2=[{'id':_0x4f9a14['InsertSheetCommand']['id'],'params':_0x43da2d},{'id':_0x361ca1['id'],'params':{'unitId':_0xf1424e,'subUnitId':_0x149d0c['id'],'pivotTableId':_0x2ac3b0,'pivotTableConfig':{'isEmpty':_0x31d933,'fieldsConfig':_0xf9765f,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xf1424e,'subUnitId':_0x149d0c['id']},'sourceRangeInfo':{'subUnitId':_0x104fc1,'unitId':_0xf1424e,'range':_0x1573fb,'sheetName':_0x26dda8[_0x334fe4(0x2fb)]()}},'collectionConfig':_0x4aa937}},..._0x304a63];return _0x544178['sequenceExecute'](_0x9cace2,_0x3e945f),!0x0;}},_0x1fc1fe={'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'id':_0x4226f5(0x1d2),async 'handler'(_0x5f680f,_0x469f36){const _0x4cfa57=_0x4226f5;var _0x5f14b1,_0x35de20;const _0x291763=_0x5f680f[_0x4cfa57(0x2c4)](_0x544178[_0x4cfa57(0x37b)]),_0xdc815e=_0x5f680f[_0x4cfa57(0x2c4)](_0x544178['IUniverInstanceService']),_0xc74468=_0x5f680f['get'](_0x544178[_0x4cfa57(0x229)]),_0x391e05=_0x5f680f['get'](_0x530537[_0x4cfa57(0x2e3)]),_0x142431=_0x5f680f[_0x4cfa57(0x2c4)](_0x544178[_0x4cfa57(0x301)]),_0x5b7379=_0x5f680f['get'](_0x530537[_0x4cfa57(0x253)]),_0x97512d=_0x5f680f[_0x4cfa57(0x2c4)](_0x544178[_0x4cfa57(0x2b6)]);if(!_0x469f36)return!0x1;const {pivotTableConfig:_0x9668de,positionType:_0x2e93c9}=_0x469f36,{targetCellInfo:_0x5191e8,sourceRangeInfo:_0x36f186}=_0x9668de,{unitId:_0x333b07,subUnitId:_0x23afbf}=_0x5191e8,_0x5470e7=_0xdc815e[_0x4cfa57(0x3cf)](_0x333b07);if(!_0x5470e7)return!0x1;let _0xf75e58=0x0;_0x5470e7[_0x4cfa57(0x2f6)]()[_0x4cfa57(0x39b)](_0x428746=>{const _0x535beb=_0x4cfa57;var _0x4666ee,_0x1c374e;_0xf75e58+=(_0x1c374e=(_0x4666ee=_0x5b7379[_0x535beb(0x3cc)](_0x333b07,_0x428746[_0x535beb(0x1b7)]()))==null?void 0x0:_0x4666ee[_0x535beb(0x3a5)])!=null?_0x1c374e:0x0;});const _0x51c290=(_0x5f14b1=_0x97512d[_0x4cfa57(0x1d3)](_0x3a09fd[_0x4cfa57(0x1c8)]))!=null?_0x5f14b1:{},{ls:_0x4d932b,pbk:_0x162f71}=_0x51c290;if(!_0x44394d(_0x4d932b,_0x162f71))return!0x1;const _0x3601a5=_0x3b4981(_0x3dcc94,_0x4d932b,_0x162f71)[_0x4cfa57(0x370)];if(_0xf75e58>=_0x3601a5)return!0x1;const _0x234541=_0x469f36['pivotTableId']||_0x12f0a9[_0x4cfa57(0x235)](0x8),_0x1e2d15=(await _0x391e05[_0x4cfa57(0x2ce)]({'unitId':_0x333b07,'subUnitId':_0x23afbf,'pivotTableId':_0x234541,'params':{'type':_0x19b4e3[_0x4cfa57(0x1b6)],'addPivotTable':{'sourceRangeInfo':_0x36f186,'pivotTableId':_0x234541}}}))[_0x4cfa57(0x2f0)]['addPivotTable'];if(!_0x1e2d15)return!0x1;const {view:_0x489c39,isEmpty:_0x22d181,fieldsConfig:_0x2f3e5a,collectionConfig:_0x28d49e}=_0x1e2d15,_0x356608=[],_0x5c1755=[];if(_0x2e93c9===_0x388f51[_0x4cfa57(0x368)]){const _0x36a750=_0x5470e7['getSheets']()[_0x4cfa57(0x25a)],_0x610fd9=_0x544178[_0x4cfa57(0x295)]({});_0x610fd9['id']=_0x9668de[_0x4cfa57(0x2a0)]['subUnitId'],_0x610fd9[_0x4cfa57(0x3f7)]=(_0x35de20=_0x9668de['targetCellInfo']['sheetName'])!=null?_0x35de20:_0x5470e7[_0x4cfa57(0x1cc)](''+_0xc74468['t']('sheets.tabs.sheet'));const _0x1ed9b8={'index':_0x36a750,'sheet':_0x610fd9,'unitId':_0x333b07},_0x49fd50=_0x4f9a14[_0x4cfa57(0x345)](_0x5f680f,_0x1ed9b8);_0x356608[_0x4cfa57(0x3b6)]({'id':_0x4f9a14[_0x4cfa57(0x198)]['id'],'params':_0x49fd50}),_0x5c1755[_0x4cfa57(0x3b6)]({'id':_0x4f9a14['InsertSheetMutation']['id'],'params':_0x1ed9b8});}else{if(!_0x5470e7[_0x4cfa57(0x2fd)](_0x23afbf))return!0x1;const _0x5448a6=_0x21c2f3(_0x5f680f,new _0x12f0a9['PivotView'](),_0x5191e8,!0x0);_0x5c1755[_0x4cfa57(0x3b6)](..._0x5448a6[_0x4cfa57(0x20a)]),_0x356608[_0x4cfa57(0x3b6)](..._0x5448a6[_0x4cfa57(0x2fc)]);const _0x36e04b={'cellInfo':_0x5191e8,'view':_0x489c39,'isEmpty':_0x22d181};if(!await _0x5f680f[_0x4cfa57(0x2c4)](_0x530537[_0x4cfa57(0x3b7)])[_0x4cfa57(0x1fe)][_0x4cfa57(0x3ec)](_0x48d4c4)(!0x0,_0x36e04b))return!0x1;const _0x15f7e0=_0x1571b3(_0x5f680f,_0x36e04b);_0x5c1755[_0x4cfa57(0x3b6)](..._0x15f7e0[_0x4cfa57(0x20a)]),_0x356608[_0x4cfa57(0x3b6)](..._0x15f7e0[_0x4cfa57(0x2fc)]);}return _0x5c1755[_0x4cfa57(0x3b6)]({'id':_0x361ca1['id'],'params':{'unitId':_0x5191e8[_0x4cfa57(0x384)],'subUnitId':_0x5191e8[_0x4cfa57(0x31c)],'pivotTableId':_0x234541,'pivotTableConfig':{'targetCellInfo':_0x5191e8,'sourceRangeInfo':_0x36f186,'fieldsConfig':_0x2f3e5a},'collectionConfig':_0x28d49e}}),_0x356608[_0x4cfa57(0x2bc)]({'id':_0x6df2a2['id'],'params':{'unitId':_0x333b07,'subUnitId':_0x23afbf,'pivotTableId':_0x234541}}),_0x544178[_0x4cfa57(0x3f0)](_0x5c1755,_0x291763)&&_0x142431[_0x4cfa57(0x1b3)]({'unitID':_0x333b07,'undoMutations':_0x356608,'redoMutations':_0x5c1755}),!0x0;}},_0x3b838a={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x27e),async 'handler'(_0x3fbb24,_0x317df5){const _0x431379=_0x4226f5;if(!_0x317df5)return!0x1;const _0x2d3db6=_0x3fbb24[_0x431379(0x2c4)](_0x544178[_0x431379(0x37b)]),_0x5e31e7=_0x3fbb24[_0x431379(0x2c4)](_0x530537['SheetsPivotRPCService']),_0x27c9ae=_0x3fbb24[_0x431379(0x2c4)](_0x544178[_0x431379(0x301)]),{pivotTableId:_0x419233,fieldId:_0x4a0b76,area:_0x332a3b,index:_0x3311f6,unitId:_0x137985,subUnitId:_0x4edb52}=_0x317df5,_0x4efcea=(await _0x5e31e7[_0x431379(0x2ce)]({'unitId':_0x137985,'subUnitId':_0x4edb52,'pivotTableId':_0x419233,'params':{'type':_0x19b4e3[_0x431379(0x238)],'movePivotField':{'fieldId':_0x4a0b76,'area':_0x332a3b,'index':_0x3311f6}}}))[_0x431379(0x2f0)][_0x431379(0x33d)];if(!_0x4efcea)return!0x1;const {changesets:_0x4937fd,view:_0x2f6381,isEmpty:_0x1bfebb,pivotTableConfig:_0x301c3c}=_0x4efcea,_0x4a6753=_0x301c3c[_0x431379(0x2a0)],_0x54d5cd=new _0x12f0a9[(_0x431379(0x3be))]();_0x54d5cd['formJSON'](_0x2f6381);const _0x19e041={'cellInfo':_0x4a6753,'view':_0x54d5cd,'isEmpty':_0x1bfebb};if(!await _0x3fbb24[_0x431379(0x2c4)](_0x530537[_0x431379(0x3b7)])[_0x431379(0x1fe)][_0x431379(0x3ec)](_0x48d4c4)(!0x0,_0x19e041))return!0x1;const _0x4670b0=_0x21c2f3(_0x3fbb24,_0x54d5cd,_0x4a6753,_0x1bfebb),_0x4bed3d=_0x1571b3(_0x3fbb24,_0x19e041),{redos:_0x375ed6,undos:_0xa183a2}=_0x5e7103(_0x2d3db6,{'pivotTableId':_0x419233,'unitId':_0x137985,'subUnitId':_0x4edb52},_0x4937fd);return _0x544178['sequenceExecute']([..._0x4670b0[_0x431379(0x20a)],..._0x4bed3d[_0x431379(0x20a)],..._0x375ed6],_0x2d3db6),_0x27c9ae['pushUndoRedo']({'unitID':_0x137985,'redoMutations':[..._0x4670b0['redos'],..._0x4bed3d[_0x431379(0x20a)],..._0x375ed6],'undoMutations':[..._0x4670b0['undos'],..._0x4bed3d[_0x431379(0x2fc)],..._0xa183a2]}),!0x0;}},_0x3838a1={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x23a),async 'handler'(_0x28b3ca,_0x5d5387){const _0x401916=_0x4226f5;var _0x55fba3;if(!_0x5d5387)return!0x1;const _0x1cdd01=_0x28b3ca[_0x401916(0x2c4)](_0x544178['IUniverInstanceService']),_0x4e3274=_0x4f9a14[_0x401916(0x2dd)](_0x1cdd01);if(!_0x4e3274)return!0x1;const {unitId:_0x50a7f8,subUnitId:_0x50cd49,workbook:_0x4cabb4}=_0x4e3274,{row:_0xbd34ba,col:_0x33d1f}=_0x5d5387,_0x15ce21=_0x28b3ca[_0x401916(0x2c4)](_0x530537[_0x401916(0x426)]),_0x210a4e=_0x15ce21[_0x401916(0x3c6)](_0x50a7f8,_0x50cd49,_0xbd34ba,_0x33d1f);if(!_0x210a4e)return!0x1;const _0x52e7f2=(_0x55fba3=_0x15ce21[_0x401916(0x3b9)](_0x50a7f8,_0x50cd49,_0x210a4e))==null?void 0x0:_0x55fba3[_0x401916(0x396)];if(!_0x52e7f2)return!0x1;const _0xce871b=_0x28b3ca[_0x401916(0x2c4)](_0x530537['SheetsPivotTableConfigModel'])[_0x401916(0x2df)](_0x50a7f8,_0x50cd49,_0x210a4e);if(!_0xce871b)return!0x1;const {rowInfo:_0xa638a5,colInfo:_0x25c4d5}=_0x52e7f2,_0x3fc6c5=_0xa638a5[_0xbd34ba]['paths'],_0x116bf2=_0x25c4d5[_0x33d1f][_0x401916(0x2b3)],_0x58ce6c=_0xa638a5[_0xbd34ba]['level'],_0x1711db=_0x25c4d5[_0x33d1f]['level'],_0x32167d=_0x3fc6c5[_0x401916(0x18a)](_0x116bf2),_0x25bd0d=_0xce871b[_0x401916(0x2b0)][_0x401916(0x379)]['slice'](0x0,_0x58ce6c),_0x152aca=_0xce871b[_0x401916(0x2b0)][_0x401916(0x1ca)][_0x401916(0x322)](0x0,_0x1711db),_0x2061ff=_0x25bd0d['concat'](_0x152aca),_0x40d22d=_0x32167d[_0x401916(0x3a8)]((_0x4361eb,_0x54182c)=>[_0x4361eb,_0x2061ff[_0x54182c]]),_0x53d1fc=(await _0x28b3ca[_0x401916(0x2c4)](_0x530537[_0x401916(0x2e3)])[_0x401916(0x2ce)]({'unitId':_0x50a7f8,'subUnitId':_0x50cd49,'pivotTableId':_0x210a4e,'params':{'type':_0x19b4e3['DrillDown'],'drillDown':{'tuple':_0x40d22d}}}))[_0x401916(0x2f0)][_0x401916(0x302)];if(!_0x53d1fc)return!0x1;const {indexes:_0x14e698,range:_0x2dadbc,sourceUnitId:_0x5f5d20,sourceSubUnitId:_0x171382,formatMap:_0x105240}=_0x53d1fc,{startRow:_0xc541c8,endRow:_0x2401fa,startColumn:_0x42ad87,endColumn:_0x42bb30}=_0x2dadbc,_0x3635d9=new _0x544178['ObjectMatrix'](),_0x56278c=_0x2401fa-_0xc541c8,_0x364900=_0x42bb30-_0x42ad87,_0x9ef2e8={},_0x57cf10=_0x4f9a14[_0x401916(0x2dd)](_0x1cdd01,{'unitId':_0x5f5d20,'subUnitId':_0x171382});if(!_0x57cf10)return!0x1;const _0x281ade=_0x41498d[_0x401916(0x2c9)],_0x200a41=_0x41498d[_0x401916(0x3a0)],_0x45cdfe=_0x41498d['subTotalStyle'],_0x57b901=_0x4cabb4[_0x401916(0x2bf)]()[_0x401916(0x27c)](_0x281ade),_0x2fb1ca=_0x4cabb4['getStyles']()[_0x401916(0x27c)](_0x200a41),_0x76b48=_0x4cabb4[_0x401916(0x2bf)]()[_0x401916(0x27c)](_0x45cdfe),{worksheet:_0x3ee583}=_0x57cf10;let _0x20fd5f=0x0;const _0x2b5c9b=0x1;_0x14e698[_0x401916(0x39b)](_0x2e5010=>{const _0x133c52=_0x401916;for(let _0x6d827=0x0;_0x6d827<=_0x42bb30-_0x42ad87;_0x6d827++)_0x3635d9[_0x133c52(0x27c)](_0x20fd5f,_0x6d827,_0x3ee583[_0x133c52(0x381)](_0x2e5010+_0x2dadbc[_0x133c52(0x18c)]+_0x2b5c9b,_0x6d827));_0x20fd5f++;});for(let _0x3a5d77=_0x42ad87;_0x3a5d77<=_0x42bb30;_0x3a5d77++){const _0x131b08=_0x3ee583['getCellRaw'](_0xc541c8,_0x3a5d77);_0x9ef2e8[_0xc541c8]||(_0x9ef2e8[_0xc541c8]={}),_0x9ef2e8[_0xc541c8][_0x3a5d77]={..._0x131b08,'s':_0x57b901};}let _0x4579b4=0x1;const _0x53f8bf={},_0x3f59fe={};_0x3635d9[_0x401916(0x194)]((_0x167034,_0x1f52c7)=>{const _0x13bb1a=_0x401916;_0x1f52c7[_0x13bb1a(0x39b)](_0x5a73ca=>{const _0x2fd864=_0x13bb1a,_0x51e8fc=_0x3635d9['getValue'](_0x167034,_0x5a73ca);if(_0x9ef2e8[_0x4579b4]||(_0x9ef2e8[_0x4579b4]={}),_0x9ef2e8[_0x4579b4][_0x5a73ca]={..._0x51e8fc,'s':_0x4579b4%0x2===0x0?_0x76b48:_0x2fb1ca},_0x105240[_0x5a73ca]&&_0x167034>=0x0){const _0x11acaa=_0x4579b4%0x2===0x0;let _0x184d10=_0x11acaa?_0x3f59fe[_0x5a73ca]:_0x53f8bf[_0x5a73ca];_0x184d10||(_0x184d10=_0x4cabb4[_0x2fd864(0x2bf)]()[_0x2fd864(0x27c)]({..._0x11acaa?_0x45cdfe:_0x200a41,'n':{'pattern':_0x105240[_0x5a73ca]}}),_0x11acaa?_0x3f59fe[_0x5a73ca]=_0x184d10:_0x53f8bf[_0x5a73ca]=_0x184d10),_0x9ef2e8[_0x4579b4][_0x5a73ca]['s']=_0x184d10;}}),_0x4579b4++;});const _0x5a1d73=new _0x544178[(_0x401916(0x2c6))](_0x9ef2e8),_0x52f1c5={};_0x5a1d73[_0x401916(0x1e4)]((_0x4b1ee5,_0x3a1e3c,_0x21fb6a)=>{_0x52f1c5[_0x4b1ee5]||(_0x52f1c5[_0x4b1ee5]={}),_0x52f1c5[_0x4b1ee5][_0x3a1e3c]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3c4d8c=[],_0x1daf71=[],_0x5b1dc4=_0x4cabb4[_0x401916(0x2f6)]()['length'],_0x404d60=_0x544178[_0x401916(0x295)]({'rowCount':Math[_0x401916(0x283)](_0x544178['DEFAULT_WORKSHEET_ROW_COUNT'],_0x56278c+0xa),'columnCount':Math[_0x401916(0x283)](_0x544178[_0x401916(0x2be)],_0x364900+0x5)}),_0x1cf171=_0x28b3ca[_0x401916(0x2c4)](_0x544178[_0x401916(0x229)]);_0x404d60['id']=_0x544178[_0x401916(0x315)](),_0x404d60[_0x401916(0x3f7)]=_0x4cabb4[_0x401916(0x1cc)](''+_0x1cf171['t']('sheets.tabs.sheet'));const _0x53118f={'index':_0x5b1dc4,'sheet':_0x404d60,'unitId':_0x50a7f8},_0x4b8902=_0x4f9a14[_0x401916(0x345)](_0x28b3ca,_0x53118f);_0x1daf71[_0x401916(0x3b6)]({'id':_0x4f9a14['InsertSheetMutation']['id'],'params':_0x53118f}),_0x3c4d8c['push']({'id':_0x4f9a14[_0x401916(0x198)]['id'],'params':_0x4b8902}),_0x1daf71['push']({'id':_0x4f9a14['SetRangeValuesMutation']['id'],'params':{'unitId':_0x50a7f8,'subUnitId':_0x404d60['id'],'cellValue':_0x9ef2e8}}),_0x3c4d8c[_0x401916(0x2bc)]({'id':_0x4f9a14[_0x401916(0x1a2)]['id'],'params':{'unitId':_0x50a7f8,'subUnitId':_0x404d60['id'],'cellValue':_0x52f1c5}});const _0x440b75={'startRow':0x0,'startColumn':0x0,'endRow':_0x4579b4-0x1,'endColumn':_0x42bb30};_0x1daf71[_0x401916(0x3b6)]({'id':_0x340ed9['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x50a7f8,'subUnitId':_0x404d60['id'],'range':_0x440b75}}),_0x3c4d8c[_0x401916(0x2bc)]({'id':_0x340ed9[_0x401916(0x372)]['id'],'params':{'unitId':_0x50a7f8,'subUnitId':_0x404d60['id']}});const _0x7a8162=_0x28b3ca[_0x401916(0x2c4)](_0x544178['ICommandService']);return _0x544178[_0x401916(0x3f0)](_0x1daf71,_0x7a8162)&&_0x28b3ca[_0x401916(0x2c4)](_0x544178[_0x401916(0x301)])[_0x401916(0x1b3)]({'unitID':_0x50a7f8,'undoMutations':_0x3c4d8c,'redoMutations':_0x1daf71}),!0x0;}},_0x321b83={'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'id':_0x4226f5(0x270),async 'handler'(_0xec7eb2,_0x53700c){const _0x513968=_0x4226f5;if(!_0x53700c)return!0x1;const _0x5b3292=_0xec7eb2['get'](_0x544178['ICommandService']),_0xb67de3=_0xec7eb2[_0x513968(0x2c4)](_0x530537['SheetsPivotRPCService']),_0x1500a1=_0xec7eb2[_0x513968(0x2c4)](_0x544178[_0x513968(0x301)]),{pivotTableId:_0x5da6ba,fieldIds:_0x1a8d61,unitId:_0x5d1d0f,subUnitId:_0x20f83a}=_0x53700c,_0x101b3a=(await _0xb67de3[_0x513968(0x2ce)]({'unitId':_0x5d1d0f,'subUnitId':_0x20f83a,'pivotTableId':_0x5da6ba,'params':{'type':_0x19b4e3[_0x513968(0x3fd)],'removePivotField':{'fieldIds':_0x1a8d61}}}))[_0x513968(0x2f0)]['removePivotField'];if(!_0x101b3a)return!0x1;const {view:_0x1fe993,changesets:_0x285624,isEmpty:_0x16f730,pivotTableConfig:_0x249ccc}=_0x101b3a,_0xb0433c=_0x249ccc[_0x513968(0x2a0)],_0x17c015=new _0x12f0a9['PivotView']();_0x17c015['formJSON'](_0x1fe993);const _0xa99f65={'cellInfo':_0xb0433c,'view':_0x17c015,'isEmpty':_0x16f730};if(!await _0xec7eb2[_0x513968(0x2c4)](_0x530537['SheetsPivotTableService'])['asyncInterceptor'][_0x513968(0x3ec)](_0x48d4c4)(!0x0,_0xa99f65))return!0x1;const _0x42fff4=_0x21c2f3(_0xec7eb2,_0x17c015,_0xb0433c,_0x16f730),_0x3609e3=_0x1571b3(_0xec7eb2,_0xa99f65),{redos:_0x59a516,undos:_0x4fdfb2}=_0x5e7103(_0x5b3292,{'pivotTableId':_0x5da6ba,'unitId':_0x5d1d0f,'subUnitId':_0x20f83a},_0x285624);return _0x544178[_0x513968(0x3f0)]([..._0x42fff4[_0x513968(0x20a)],..._0x3609e3[_0x513968(0x20a)],..._0x59a516],_0x5b3292),_0x1500a1[_0x513968(0x1b3)]({'unitID':_0x5d1d0f,'redoMutations':[..._0x42fff4[_0x513968(0x20a)],..._0x3609e3[_0x513968(0x20a)],..._0x59a516],'undoMutations':[..._0x42fff4['undos'],..._0x3609e3[_0x513968(0x2fc)],..._0x4fdfb2]}),!0x0;}},_0x4983c6={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x56c4dc,_0x382c41){const _0x3c703d=_0x4226f5;var _0x26403f;const _0x3a5e31=_0x56c4dc[_0x3c703d(0x2c4)](_0x544178[_0x3c703d(0x37b)]),_0xfc0862=_0x56c4dc[_0x3c703d(0x2c4)](_0x530537[_0x3c703d(0x2e3)]),_0x57f487=_0x56c4dc['get'](_0x530537[_0x3c703d(0x426)]),_0x4e6b4a=_0x56c4dc[_0x3c703d(0x2c4)](_0x544178[_0x3c703d(0x1a0)]),_0x2f36f6=_0x56c4dc[_0x3c703d(0x2c4)](_0x544178[_0x3c703d(0x301)]);if(!_0x382c41)return!0x1;const {unitId:_0x472e3a,subUnitId:_0x2eaca6,row:_0x3deef7,col:_0x4638db,collapse:_0x159448}=_0x382c41,_0x1e491e=_0x4e6b4a[_0x3c703d(0x3cf)](_0x472e3a);if(!_0x1e491e||!_0x1e491e[_0x3c703d(0x2fd)](_0x2eaca6))return!0x1;const _0x2fe53d=_0x57f487[_0x3c703d(0x3c6)](_0x472e3a,_0x2eaca6,_0x3deef7,_0x4638db);if(!_0x2fe53d)return!0x1;const _0x3cfe02=_0x57f487[_0x3c703d(0x3b9)](_0x472e3a,_0x2eaca6,_0x2fe53d);if(!_0x3cfe02)return!0x1;const _0x32495f=_0x544178[_0x3c703d(0x23d)](_0x3deef7,_0x4638db),{rangesInfo:_0x2e9ba3,areaInfo:_0x59f898,headerMap:_0x2799ef}=_0x3cfe02;if(!_0x2e9ba3||!_0x59f898||!_0x2799ef)return!0x1;const _0x5e43e7=Object['keys'](_0x2e9ba3)[_0x3c703d(0x38f)](_0x2b75fe=>_0x2e9ba3[_0x2b75fe]['some'](_0x6d4dd7=>_0x544178[_0x3c703d(0x30a)][_0x3c703d(0x2b1)](_0x6d4dd7,_0x32495f)));let _0x305ed8;_0x5e43e7==='rowRanges'?_0x305ed8=_0x2799ef['rowHeaderMap'][_0x4638db]:_0x5e43e7===_0x3c703d(0x26f)&&(_0x305ed8=_0x2799ef[_0x3c703d(0x1b5)][_0x3deef7]);const _0x30259c=_0x305ed8==null?void 0x0:_0x305ed8[_0x3c703d(0x244)],_0x539655=(_0x26403f=_0x57f487['getPivotTableCellData'](_0x472e3a,_0x2eaca6,_0x3deef7,_0x4638db))==null?void 0x0:_0x26403f['v'];if(_0x539655==null||!_0x2fe53d||!_0x30259c)return!0x1;const _0x51c6b4=await _0xfc0862[_0x3c703d(0x2ce)]({'unitId':_0x472e3a,'subUnitId':_0x2eaca6,'pivotTableId':_0x2fe53d,'params':{'type':_0x19b4e3[_0x3c703d(0x362)],'setPivotCollapse':{'tableFieldId':_0x30259c,'collapse':_0x159448,'item':_0x539655}}}),_0x425048=_0x51c6b4==null?void 0x0:_0x51c6b4[_0x3c703d(0x2f0)][_0x3c703d(0x35d)];if(!_0x425048)return!0x1;const {view:_0x479c2d,pivotTableConfig:_0x2fdbff,isEmpty:_0x335777,changesets:_0x229572}=_0x425048,_0x1f9a6f=new _0x12f0a9[(_0x3c703d(0x3be))]();_0x1f9a6f[_0x3c703d(0x1ff)](_0x479c2d);const _0x33a218=_0x2fdbff[_0x3c703d(0x2a0)],_0x3760ee={'cellInfo':_0x33a218,'view':_0x1f9a6f,'isEmpty':_0x335777};if(!await _0x56c4dc['get'](_0x530537[_0x3c703d(0x3b7)])[_0x3c703d(0x1fe)][_0x3c703d(0x3ec)](_0x48d4c4)(!0x0,_0x3760ee))return!0x1;const _0x146f7f=_0x21c2f3(_0x56c4dc,_0x1f9a6f,_0x33a218,_0x335777),_0x6a3365=_0x1571b3(_0x56c4dc,_0x3760ee),{redos:_0x371532,undos:_0x126f48}=_0x5e7103(_0x3a5e31,{'pivotTableId':_0x2fe53d,'unitId':_0x472e3a,'subUnitId':_0x2eaca6},_0x229572);return _0x544178[_0x3c703d(0x3f0)]([..._0x146f7f['redos'],..._0x6a3365[_0x3c703d(0x20a)],..._0x371532],_0x3a5e31),_0x2f36f6[_0x3c703d(0x1b3)]({'unitID':_0x472e3a,'redoMutations':[..._0x146f7f[_0x3c703d(0x20a)],..._0x6a3365[_0x3c703d(0x20a)],..._0x371532],'undoMutations':[..._0x146f7f['undos'],..._0x6a3365[_0x3c703d(0x2fc)],..._0x126f48]}),!0x0;}},_0xab4fb4={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x1d7),async 'handler'(_0x571cd8,_0x11d614){const _0x23212a=_0x4226f5;if(!_0x11d614)return!0x1;const _0x40e4a8=_0x571cd8[_0x23212a(0x2c4)](_0x544178['ICommandService']),{pivotTableId:_0x363161,tableFieldId:_0x5c2e15,items:_0x51af1b,unitId:_0x4d6241,subUnitId:_0x162fd8,isAll:_0x5f5300}=_0x11d614,_0x1902b2=_0x571cd8[_0x23212a(0x2c4)](_0x530537[_0x23212a(0x2e3)]),_0x214360=_0x571cd8['get'](_0x544178['IUndoRedoService']),_0xc64302=(await _0x1902b2[_0x23212a(0x2ce)]({'unitId':_0x4d6241,'subUnitId':_0x162fd8,'pivotTableId':_0x363161,'params':{'type':_0x19b4e3[_0x23212a(0x23b)],'setPivotFilter':{'tableFieldId':_0x5c2e15,'items':_0x51af1b,'isAll':_0x5f5300}}}))[_0x23212a(0x2f0)]['setPivotFilter'];if(!_0xc64302)return!0x1;const {changesets:_0x18c6aa,pivotTableConfig:_0x41942b,isEmpty:_0x5ab44d,view:_0xcffec8}=_0xc64302,_0x438050=_0x41942b[_0x23212a(0x2a0)],_0x61a92c=new _0x12f0a9[(_0x23212a(0x3be))]();_0x61a92c[_0x23212a(0x1ff)](_0xcffec8);const _0xe530ec={'cellInfo':_0x438050,'view':_0x61a92c,'isEmpty':_0x5ab44d};if(!await _0x571cd8[_0x23212a(0x2c4)](_0x530537[_0x23212a(0x3b7)])[_0x23212a(0x1fe)]['fetchThroughAsyncInterceptors'](_0x48d4c4)(!0x0,_0xe530ec))return!0x1;const _0x17aedc=_0x21c2f3(_0x571cd8,_0x61a92c,_0x438050,_0x5ab44d),_0x4d81f4=_0x1571b3(_0x571cd8,_0xe530ec),{undos:_0x277708,redos:_0x30ccc3}=_0x5e7103(_0x40e4a8,{'pivotTableId':_0x363161,'unitId':_0x4d6241,'subUnitId':_0x162fd8},_0x18c6aa);return _0x544178[_0x23212a(0x3f0)]([..._0x17aedc[_0x23212a(0x20a)],..._0x4d81f4[_0x23212a(0x20a)],..._0x30ccc3],_0x40e4a8),_0x214360['pushUndoRedo']({'unitID':_0x4d6241,'redoMutations':[..._0x17aedc[_0x23212a(0x20a)],..._0x4d81f4[_0x23212a(0x20a)],..._0x30ccc3],'undoMutations':[..._0x17aedc[_0x23212a(0x2fc)],..._0x4d81f4[_0x23212a(0x2fc)],..._0x277708]}),!0x0;}},_0x129126={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x424e57,_0x405843){const _0x445ce8=_0x4226f5;if(!_0x405843)return!0x1;const _0x46c432=_0x424e57[_0x445ce8(0x2c4)](_0x544178[_0x445ce8(0x37b)]),_0x210026=_0x424e57['get'](_0x544178[_0x445ce8(0x301)]),_0x5e9db3=_0x424e57[_0x445ce8(0x2c4)](_0x530537['SheetsPivotRPCService']),{info:_0x1ae765,tableFieldId:_0x85f993,pivotTableId:_0x52ddf0,unitId:_0x249fc7,subUnitId:_0x2587b3}=_0x405843,_0xcdb0a1=(await _0x5e9db3[_0x445ce8(0x2ce)]({'unitId':_0x249fc7,'subUnitId':_0x2587b3,'pivotTableId':_0x52ddf0,'params':{'type':_0x19b4e3[_0x445ce8(0x3c8)],'setPivotSort':{'tableFieldId':_0x85f993,'info':_0x1ae765}}}))[_0x445ce8(0x2f0)][_0x445ce8(0x391)];if(!_0xcdb0a1)return!0x1;const {changesets:_0x5548c0}=_0xcdb0a1,{redos:_0x1ee7da,undos:_0x5de3bf}=_0x5e7103(_0x46c432,{'pivotTableId':_0x52ddf0,'unitId':_0x249fc7,'subUnitId':_0x2587b3},_0x5548c0);return _0x544178['sequenceExecute'](_0x1ee7da,_0x46c432),_0x210026['pushUndoRedo']({'unitID':_0x249fc7,'redoMutations':_0x1ee7da,'undoMutations':_0x5de3bf}),!0x0;}},_0xa4f6c9={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x3ff),async 'handler'(_0x392bde,_0x1e41fb){const _0x33f888=_0x4226f5;if(!_0x1e41fb)return!0x1;const _0x1d27a0=_0x392bde[_0x33f888(0x2c4)](_0x544178['ICommandService']),_0x42647b=_0x392bde[_0x33f888(0x2c4)](_0x544178[_0x33f888(0x301)]),_0x3cbc51=_0x392bde[_0x33f888(0x2c4)](_0x530537[_0x33f888(0x2e3)]),{displayName:_0x252a64,subtotalType:_0x3ec489,format:_0x5099b0,tableFieldId:_0x4d4358,pivotTableId:_0x104b56,unitId:_0x484cb1,subUnitId:_0x57a6f8}=_0x1e41fb,_0x118179=(await _0x3cbc51[_0x33f888(0x2ce)]({'unitId':_0x484cb1,'subUnitId':_0x57a6f8,'pivotTableId':_0x104b56,'params':{'type':_0x19b4e3['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x4d4358,'displayName':_0x252a64,'subtotalType':_0x3ec489,'format':_0x5099b0}}}))['result'][_0x33f888(0x1ef)];if(!_0x118179)return!0x1;const {changesets:_0x2b7225,view:_0x4852cd,pivotTableConfig:_0x52b3f1,isEmpty:_0x1fc2d5}=_0x118179,_0x577409=_0x52b3f1[_0x33f888(0x2a0)],_0x4c28e5=new _0x12f0a9[(_0x33f888(0x3be))]();_0x4c28e5[_0x33f888(0x1ff)](_0x4852cd);const _0x458715={'cellInfo':_0x577409,'view':_0x4c28e5,'isEmpty':_0x1fc2d5};if(!await _0x392bde[_0x33f888(0x2c4)](_0x530537[_0x33f888(0x3b7)])[_0x33f888(0x1fe)][_0x33f888(0x3ec)](_0x48d4c4)(!0x0,_0x458715))return!0x1;const _0x517da3=_0x21c2f3(_0x392bde,_0x4c28e5,_0x577409,_0x1fc2d5),_0x3a0d92=_0x1571b3(_0x392bde,_0x458715),{undos:_0x56213c,redos:_0x33eaff}=_0x5e7103(_0x1d27a0,{'pivotTableId':_0x104b56,'unitId':_0x484cb1,'subUnitId':_0x57a6f8},_0x2b7225);return _0x544178['sequenceExecute']([..._0x517da3[_0x33f888(0x20a)],..._0x3a0d92[_0x33f888(0x20a)],..._0x33eaff],_0x1d27a0),_0x42647b[_0x33f888(0x1b3)]({'unitID':_0x484cb1,'redoMutations':[..._0x517da3[_0x33f888(0x20a)],..._0x3a0d92['redos'],..._0x33eaff],'undoMutations':[..._0x517da3[_0x33f888(0x2fc)],..._0x3a0d92['undos'],..._0x56213c]}),!0x0;}},_0x2edab6={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x34d),async 'handler'(_0x3dc670,_0xf36bdc){const _0xa4cf9=_0x4226f5,_0x272080=_0x3dc670[_0xa4cf9(0x2c4)](_0x544178[_0xa4cf9(0x37b)]),_0x196708=_0x3dc670['get'](_0x530537[_0xa4cf9(0x2e3)]),_0x3bae70=_0x3dc670[_0xa4cf9(0x2c4)](_0x544178['IUndoRedoService']);if(!_0xf36bdc)return!0x1;const {token:_0x1ed11d,dataRangeInfo:_0x32e00b,unitId:_0x42af92,subUnitId:_0x42daa5}=_0xf36bdc,_0x56fefc=[],_0x3d75ed=[],_0x498f1=(await _0x196708['getPivotDisplayConfig']({'unitId':_0x42af92,'subUnitId':_0x42daa5,'pivotTableId':_0x1ed11d,'params':{'type':_0x19b4e3['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x32e00b,'unitId':_0x42af92,'subUnitId':_0x42daa5}}}))[_0xa4cf9(0x2f0)][_0xa4cf9(0x1e0)];if(!_0x498f1)return!0x1;const {changesets:_0x2b2e9f,deleteIds:_0x61fe44,collectionConfig:_0x3ff2cc,oldCollectionConfig:_0xd0c5aa,view:_0x1f3082,isEmpty:_0x9bca7d,pivotTableConfig:_0x3b8ca9}=_0x498f1;_0x3d75ed[_0xa4cf9(0x3b6)]({'id':_0x3a32c8['id'],'params':{'pivotTableId':_0x1ed11d,'deleteIds':_0x61fe44,'collectionJSON':_0x3ff2cc,'dataRangeInfo':_0x32e00b,'unitId':_0x42af92,'subUnitId':_0x42daa5}}),_0x56fefc[_0xa4cf9(0x2bc)]({'id':_0x3a32c8['id'],'params':{'pivotTableId':_0x1ed11d,'deleteIds':[],'collectionJSON':_0xd0c5aa,'dataRangeInfo':_0x3b8ca9[_0xa4cf9(0x3b2)],'unitId':_0x42af92,'subUnitId':_0x42daa5}});const _0x46c3ab=_0x3b8ca9[_0xa4cf9(0x2a0)],_0x2401bf=new _0x12f0a9[(_0xa4cf9(0x3be))]();_0x2401bf['formJSON'](_0x1f3082);const _0x27c6f={'cellInfo':_0x46c3ab,'view':_0x2401bf,'isEmpty':_0x9bca7d};if(!await _0x3dc670[_0xa4cf9(0x2c4)](_0x530537['SheetsPivotTableService'])['asyncInterceptor'][_0xa4cf9(0x3ec)](_0x48d4c4)(!0x0,_0x27c6f))return!0x1;const _0x351139=_0x21c2f3(_0x3dc670,_0x2401bf,_0x46c3ab,_0x9bca7d),_0xafe201=_0x1571b3(_0x3dc670,_0x27c6f),{undos:_0x3ee67d,redos:_0x499dcb}=_0x5e7103(_0x272080,{'pivotTableId':_0x1ed11d,'unitId':_0x42af92,'subUnitId':_0x42daa5},_0x2b2e9f);return _0x544178['sequenceExecute']([..._0x351139[_0xa4cf9(0x20a)],..._0xafe201[_0xa4cf9(0x20a)],..._0x3d75ed,..._0x3ee67d],_0x272080),_0x3bae70[_0xa4cf9(0x1b3)]({'unitID':_0x42af92,'redoMutations':[..._0x351139[_0xa4cf9(0x20a)],..._0xafe201['redos'],..._0x3d75ed,..._0x3ee67d],'undoMutations':[..._0x351139[_0xa4cf9(0x2fc)],..._0xafe201[_0xa4cf9(0x2fc)],..._0x56fefc,..._0x499dcb]}),!0x0;}},_0x4d39b0={'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x11087a,_0xf6875b){const _0x50881f=_0x4226f5;if(!_0xf6875b)return!0x1;const _0xb9730e=_0x11087a['get'](_0x544178[_0x50881f(0x37b)]),_0x1ddbd5=_0x11087a[_0x50881f(0x2c4)](_0x530537[_0x50881f(0x2e3)]),_0x47d0a4=_0x11087a[_0x50881f(0x2c4)](_0x544178['IUniverInstanceService']),_0x488085=_0x11087a[_0x50881f(0x2c4)](_0x544178[_0x50881f(0x301)]),{pivotTableId:_0x3c8b48,position:_0xf15c67,index:_0x2c4b4b}=_0xf6875b,_0x5728d3=_0x4f9a14[_0x50881f(0x2dd)](_0x47d0a4);if(!_0x5728d3)return!0x1;const {unitId:_0x3aa8e3,subUnitId:_0x50264e}=_0x5728d3,_0x246d9d=(await _0x1ddbd5['getPivotDisplayConfig']({'unitId':_0x3aa8e3,'subUnitId':_0x50264e,'pivotTableId':_0x3c8b48,'params':{'type':_0x19b4e3[_0x50881f(0x3e5)],'updateValuePosition':{'position':_0xf15c67,'index':_0x2c4b4b}}}))['result']['updateValuePosition'];if(!_0x246d9d)return!0x1;const {changesets:_0x183dcd,view:_0x9837c0,isEmpty:_0x25f421,pivotTableConfig:_0x828dce}=_0x246d9d,_0x47d05f=_0x828dce['targetCellInfo'],_0x24ff48=new _0x12f0a9[(_0x50881f(0x3be))]();_0x24ff48[_0x50881f(0x1ff)](_0x9837c0);const _0x5083ea=_0x11087a[_0x50881f(0x2c4)](_0x530537[_0x50881f(0x3b7)]),_0x23fa18={'cellInfo':_0x47d05f,'view':_0x24ff48,'isEmpty':_0x25f421};if(!await _0x5083ea['asyncInterceptor'][_0x50881f(0x3ec)](_0x48d4c4)(!0x0,_0x23fa18))return!0x1;const _0x493c84=_0x21c2f3(_0x11087a,_0x24ff48,_0x47d05f,_0x25f421),_0x2dfa31=_0x1571b3(_0x11087a,_0x23fa18),{undos:_0x4ab0f4,redos:_0x10b8f5}=_0x5e7103(_0xb9730e,{'pivotTableId':_0x3c8b48,'unitId':_0x3aa8e3,'subUnitId':_0x50264e},_0x183dcd);return _0x544178[_0x50881f(0x3f0)]([..._0x493c84[_0x50881f(0x20a)],..._0x2dfa31[_0x50881f(0x20a)],..._0x10b8f5],_0xb9730e),_0x488085[_0x50881f(0x1b3)]({'unitID':_0x3aa8e3,'redoMutations':[..._0x493c84[_0x50881f(0x20a)],..._0x2dfa31[_0x50881f(0x20a)],..._0x10b8f5],'undoMutations':[..._0x493c84[_0x50881f(0x2fc)],..._0x2dfa31[_0x50881f(0x2fc)],..._0x4ab0f4]}),!0x0;}},_0x349280={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x328),'handler':(_0x42d721,_0x32337f)=>{const _0x5aba3d=_0x4226f5,_0x25facd=_0x42d721[_0x5aba3d(0x2c4)](_0x544178[_0x5aba3d(0x37b)]),_0x520b3c=_0x42d721[_0x5aba3d(0x2c4)](_0x544178[_0x5aba3d(0x301)]),_0x1a9cac=_0x42d721[_0x5aba3d(0x2c4)](_0x530537['SheetsPivotTableConfigModel']),_0x24a6b8=_0x42d721[_0x5aba3d(0x2c4)](_0x544178[_0x5aba3d(0x1a0)]);if(!_0x32337f)return!0x1;const _0x451713=_0x4f9a14[_0x5aba3d(0x2dd)](_0x24a6b8);if(!_0x451713)return!0x1;const {unitId:_0x21d76f,subUnitId:_0x4c8e45,workbook:_0x22d503}=_0x451713,_0x517f7f=_0x1a9cac[_0x5aba3d(0x2df)](_0x32337f[_0x5aba3d(0x282)][_0x5aba3d(0x384)],_0x32337f['originTargetInfo'][_0x5aba3d(0x31c)],_0x32337f['pivotTableId']);if(!_0x517f7f)return!0x1;const _0xa46c4f=_0x22d503['getSheetBySheetId'](_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x31c)]);if(!_0xa46c4f)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x17f3df=_0xa46c4f[_0x5aba3d(0x2e2)](),_0x2d7610=_0xa46c4f[_0x5aba3d(0x454)]();if(_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x3e1)]>_0x17f3df||_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x2e6)]>_0x2d7610)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x1c80b1=[{'id':_0x19a8d1['id'],'params':{'unitId':_0x21d76f,'subUnitId':_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x31c)],'pivotTableId':_0x32337f['pivotTableId'],'targetCellPosition':{'row':_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x3e1)],'col':_0x32337f[_0x5aba3d(0x2a0)][_0x5aba3d(0x2e6)]}}}],_0x2ed202=[{'id':_0x19a8d1['id'],'params':{'unitId':_0x21d76f,'subUnitId':_0x4c8e45,'pivotTableId':_0x32337f[_0x5aba3d(0x2d5)],'targetCellPosition':{'row':_0x517f7f[_0x5aba3d(0x2a0)][_0x5aba3d(0x3e1)],'col':_0x517f7f['targetCellInfo']['col']}}}];return _0x544178['sequenceExecute'](_0x1c80b1,_0x25facd)&&_0x520b3c[_0x5aba3d(0x1b3)]({'unitID':_0x21d76f,'undoMutations':_0x2ed202,'redoMutations':_0x1c80b1}),!0x0;}},_0x22ea0c={'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x3e8)],'id':_0x4226f5(0x3f3),async 'handler'(_0x27e434,_0xec73a7){const _0x5bf346=_0x4226f5;if(!_0xec73a7)return!0x1;const _0xe2706e=_0x27e434['get'](_0x544178[_0x5bf346(0x37b)]),{pivotTableId:_0x3ff9e1,fieldId:_0x44d898,valueFilterInfo:_0x27078a,unitId:_0x142205,subUnitId:_0x31b11d}=_0xec73a7,_0x1c28ab=_0x27e434[_0x5bf346(0x2c4)](_0x530537['SheetsPivotRPCService']),_0x4b2fd5=_0x27e434[_0x5bf346(0x2c4)](_0x544178[_0x5bf346(0x301)]),_0x424654=(await _0x1c28ab[_0x5bf346(0x2ce)]({'unitId':_0x142205,'subUnitId':_0x31b11d,'pivotTableId':_0x3ff9e1,'params':{'type':_0x19b4e3['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x44d898,'filterInfo':_0x27078a}}}))[_0x5bf346(0x2f0)][_0x5bf346(0x2cc)];if(!_0x424654)return!0x1;const {changesets:_0x5f2d4c,pivotTableConfig:_0x5c5d1d,isEmpty:_0x1e1bae,view:_0x2eefbc}=_0x424654,_0x537a68=_0x5c5d1d['targetCellInfo'],_0x54f807=new _0x12f0a9['PivotView']();_0x54f807[_0x5bf346(0x1ff)](_0x2eefbc);const _0x1378f9={'cellInfo':_0x537a68,'view':_0x54f807,'isEmpty':_0x1e1bae};if(!await _0x27e434[_0x5bf346(0x2c4)](_0x530537[_0x5bf346(0x3b7)])[_0x5bf346(0x1fe)][_0x5bf346(0x3ec)](_0x48d4c4)(!0x0,_0x1378f9))return!0x1;const _0x5d6834=_0x21c2f3(_0x27e434,_0x54f807,_0x537a68,_0x1e1bae),_0x37aa0c=_0x1571b3(_0x27e434,_0x1378f9),{undos:_0x33fb65,redos:_0x23bc0a}=_0x5e7103(_0xe2706e,{'pivotTableId':_0x3ff9e1,'unitId':_0x142205,'subUnitId':_0x31b11d},_0x5f2d4c);return _0x544178[_0x5bf346(0x3f0)]([..._0x5d6834[_0x5bf346(0x20a)],..._0x37aa0c[_0x5bf346(0x20a)],..._0x23bc0a],_0xe2706e),_0x4b2fd5[_0x5bf346(0x1b3)]({'unitID':_0x142205,'redoMutations':[..._0x5d6834[_0x5bf346(0x20a)],..._0x37aa0c[_0x5bf346(0x20a)],..._0x23bc0a],'undoMutations':[..._0x5d6834[_0x5bf346(0x2fc)],..._0x37aa0c[_0x5bf346(0x2fc)],..._0x33fb65]}),!0x0;}},_0x11c259={'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'id':_0x4226f5(0x3db),async 'handler'(_0x45ec1d,_0x4abaf8){const _0x1c3a8b=_0x4226f5;if(!_0x4abaf8)return!0x1;const _0x50e0fc=_0x45ec1d[_0x1c3a8b(0x2c4)](_0x544178[_0x1c3a8b(0x37b)]),_0x16b335=_0x45ec1d[_0x1c3a8b(0x2c4)](_0x544178[_0x1c3a8b(0x301)]),_0x4f2348=_0x45ec1d['get'](_0x530537[_0x1c3a8b(0x2e3)]),{pivotTableConfig:_0x823d2b,pivotTableId:_0x58c53e,unitId:_0x49eefd,subUnitId:_0x22d44c}=_0x4abaf8,_0x19473b=(await _0x4f2348[_0x1c3a8b(0x2ce)]({'unitId':_0x49eefd,'subUnitId':_0x22d44c,'pivotTableId':_0x58c53e,'params':{'type':_0x19b4e3[_0x1c3a8b(0x3da)],'setPivotTableConfig':{'pivotTableId':_0x58c53e,'pivotTableConfig':_0x823d2b}}}))[_0x1c3a8b(0x2f0)][_0x1c3a8b(0x1e1)];if(!_0x19473b)return!0x1;const {changesets:_0x3e5161}=_0x19473b,{redos:_0x1071ce,undos:_0x22e680}=_0x5e7103(_0x50e0fc,{'pivotTableId':_0x58c53e,'unitId':_0x49eefd,'subUnitId':_0x22d44c},_0x3e5161);return _0x544178['sequenceExecute'](_0x1071ce,_0x50e0fc),_0x16b335[_0x1c3a8b(0x1b3)]({'unitID':_0x49eefd,'redoMutations':_0x1071ce,'undoMutations':_0x22e680}),!0x0;}},_0x387be7={'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'id':_0x4226f5(0x15e),async 'handler'(_0x4f8874,_0x5d5873){const _0x7f4bcc=_0x4226f5;if(!_0x5d5873)return!0x1;const _0x5c63f9=_0x4f8874[_0x7f4bcc(0x2c4)](_0x544178[_0x7f4bcc(0x37b)]),_0x590156=_0x4f8874[_0x7f4bcc(0x2c4)](_0x544178[_0x7f4bcc(0x301)]),_0x5b0380=_0x4f8874[_0x7f4bcc(0x2c4)](_0x530537['SheetsPivotRPCService']),{resetArea:_0x4873d5,pivotTableId:_0xd43304,unitId:_0x208e90,subUnitId:_0x57d623}=_0x5d5873,_0xc57994=(await _0x5b0380[_0x7f4bcc(0x2ce)]({'unitId':_0x208e90,'subUnitId':_0x57d623,'pivotTableId':_0xd43304,'params':{'type':_0x19b4e3['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0xd43304,'resetArea':_0x4873d5}}}))[_0x7f4bcc(0x2f0)]['resetPivotTable'];if(!_0xc57994)return!0x1;const {changesets:_0x9e1332}=_0xc57994,{redos:_0x585a8d,undos:_0x3ca471}=_0x5e7103(_0x5c63f9,{'pivotTableId':_0xd43304,'unitId':_0x208e90,'subUnitId':_0x57d623},_0x9e1332);return _0x544178[_0x7f4bcc(0x3f0)](_0x585a8d,_0x5c63f9),_0x590156[_0x7f4bcc(0x1b3)]({'unitID':_0x208e90,'redoMutations':_0x585a8d,'undoMutations':_0x3ca471}),!0x0;}},_0x3c3eae={'id':_0x4226f5(0x35e),'type':_0x544178[_0x4226f5(0x16f)][_0x4226f5(0x231)],'handler':(_0x5954fe,_0x5c5d43)=>{const _0x3da140=_0x4226f5;if(!_0x5c5d43)return!0x1;if(!!_0x5954fe[_0x3da140(0x2c4)](_0x544178[_0x3da140(0x2b6)])[_0x3da140(0x1d3)](_0x4762c4))return!0x0;const {unitId:_0x157019,subUnitId:_0x2b1f5c,pivotTableId:_0x4857fa,tableFieldId:_0x3ba115,dateType:_0x2c20aa}=_0x5c5d43,_0x464d0f=_0x5954fe[_0x3da140(0x2c4)](_0x530537[_0x3da140(0x393)]),_0x1d5f8d=_0x464d0f[_0x3da140(0x233)](_0x4857fa);if(!_0x1d5f8d)return!0x1;const _0xc20f1b=_0x1d5f8d[_0x3da140(0x1c6)](_0x3ba115);if(!_0xc20f1b)return!0x1;const _0x4632d8=_0xc20f1b[_0x3da140(0x2e9)](),_0x280f65=_0x1d5f8d[_0x3da140(0x273)](_0x4632d8),_0xc39062=(_0x280f65==null?void 0x0:_0x280f65['getName']())+'\x20'+_0x5cbcb0(_0x5954fe,_0x2c20aa);_0x464d0f[_0x3da140(0x169)](_0x157019,_0x4857fa)[_0x3da140(0x1ed)](_0xc20f1b['id'],_0xc39062);const _0x57957d=_0x1d5f8d[_0x3da140(0x2c2)](_0x3ba115);if(!_0x57957d)return!0x1;_0x1d5f8d['renameField'](_0x57957d[_0x3da140(0x412)](),_0xc39062),_0xc20f1b['setDateType'](_0x2c20aa);const _0x35ad9e=_0x464d0f['getPivotTableConfig'](_0x157019,_0x2b1f5c,_0x4857fa);return _0x464d0f[_0x3da140(0x1ba)]({'unitId':_0x157019,'subUnitId':_0x2b1f5c,'token':_0x4857fa,'type':_0x580ace[_0x3da140(0x246)],'pivotConfig':_0x35ad9e}),!0x0;}},_0x93b744={'id':_0x4226f5(0x1d0),'type':_0x544178[_0x4226f5(0x16f)]['COMMAND'],'handler':(_0xcb57ac,_0x48a3e5)=>{const _0x2b9e04=_0x4226f5;if(!_0x48a3e5)return!0x1;const _0x5d53ec=_0xcb57ac[_0x2b9e04(0x2c4)](_0x544178[_0x2b9e04(0x301)]),{unitId:_0x4a15c3,subUnitId:_0x30dda3,pivotTableId:_0x4f4f26,tableFieldId:_0x472f08}=_0x48a3e5,_0x52b133=[],_0x3871f0=[],_0x4bf8e0=_0xcb57ac[_0x2b9e04(0x2c4)](_0x530537['SheetsPivotTableConfigModel']),_0x48bdf9=_0x4bf8e0[_0x2b9e04(0x169)](_0x4a15c3,_0x4f4f26),_0x3d319c=_0x4bf8e0[_0x2b9e04(0x2df)](_0x4a15c3,_0x30dda3,_0x4f4f26);if(!(_0x3d319c!=null&&_0x3d319c['fieldsConfig'][_0x2b9e04(0x433)]))return!0x1;const _0x594d60=Object[_0x2b9e04(0x32d)](_0x3d319c[_0x2b9e04(0x2b0)][_0x2b9e04(0x433)])['find'](_0x30b474=>_0x30b474['id']===_0x472f08);if(!_0x594d60)return!0x1;const _0x2caea2=_0x594d60[_0x2b9e04(0x40f)];if(!(_0x48bdf9!=null&&_0x48bdf9[_0x2b9e04(0x42e)]))return!0x1;const _0x3413d1=Object[_0x2b9e04(0x32d)](_0x48bdf9==null?void 0x0:_0x48bdf9[_0x2b9e04(0x42e)])[_0x2b9e04(0x38f)](_0x3eeb7f=>_0x3eeb7f['id']===_0x2caea2);if(!_0x3413d1)return!0x1;_0x12f0a9[_0x2b9e04(0x19d)](_0x3413d1)&&_0x52b133[_0x2b9e04(0x3b6)]({'id':_0x3c3eae['id'],'params':{..._0x48a3e5,'dateType':_0x3413d1[_0x2b9e04(0x268)]}}),_0x3871f0['push']({'id':_0x3c3eae['id'],'params':{..._0x48a3e5}});const _0x403265=_0xcb57ac['get'](_0x544178[_0x2b9e04(0x37b)]);return _0x544178[_0x2b9e04(0x3f0)](_0x3871f0,_0x403265)&&_0x5d53ec[_0x2b9e04(0x1b3)]({'unitID':_0x4a15c3,'undoMutations':_0x52b133,'redoMutations':_0x3871f0}),!0x0;}};var _0x13fc00=Object[_0x4226f5(0x357)],_0x4a3e28=(_0x3fd06b,_0x3114b2,_0x46a40f,_0x1329ae)=>{for(var _0x2c8526=_0x1329ae>0x1?void 0x0:_0x1329ae?_0x13fc00(_0x3114b2,_0x46a40f):_0x3114b2,_0x1c654a=_0x3fd06b['length']-0x1,_0x55321e;_0x1c654a>=0x0;_0x1c654a--)(_0x55321e=_0x3fd06b[_0x1c654a])&&(_0x2c8526=_0x55321e(_0x2c8526)||_0x2c8526);return _0x2c8526;},_0x19302=(_0x482313,_0x3b490b)=>(_0x5b7858,_0x5d724c)=>_0x3b490b(_0x5b7858,_0x5d724c,_0x482313);const _0x4dfdd9=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x3e227d=(_0x38d184,_0x1b2db7,_0x2fbc89)=>{const _0x4658e6=_0x4226f5,_0x34ee3c=_0x38d184[_0x4658e6(0x360)];_0x38d184['iterateFieldDim'](_0x3b6b00=>{const _0x35b5d5=_0x4658e6,_0x32e48d=_0x3b6b00['getId'](),_0xce508a=_0x3b6b00['getDataFieldId'](),_0x259c15=_0x3b6b00[_0x35b5d5(0x29d)](),_0x36d57c=_0x3b6b00[_0x35b5d5(0x280)]();_0x1b2db7[_0xce508a]&&_0x1b2db7[_0xce508a]===_0x36d57c&&_0x259c15===_0x36d57c&&(_0x38d184['renameField'](_0x32e48d,_0x34ee3c[_0x35b5d5(0x280)](_0xce508a)),_0x3b6b00[_0x35b5d5(0x174)](_0x34ee3c[_0x35b5d5(0x280)](_0xce508a)));}),_0x38d184[_0x4658e6(0x2f7)](_0x12f0a9[_0x4658e6(0x3e9)][_0x4658e6(0x2db)],_0x2ec959=>{const _0x3dfb90=_0x4658e6,_0x39e408=_0x2ec959[_0x3dfb90(0x412)](),_0xb1f2d2=_0x2ec959[_0x3dfb90(0x31d)](),_0x54d72f=_0x2ec959[_0x3dfb90(0x29d)](),_0x2db1c1=_0x2ec959['getDisplayName'](),_0x3c985f=_0x2ec959[_0x3dfb90(0x171)](),_0x337e72=_0x2fbc89(_0x54d72f,_0x3c985f);_0x1b2db7[_0xb1f2d2]&&_0x1b2db7[_0xb1f2d2]===_0x54d72f&&_0x337e72===_0x2db1c1&&(_0x38d184[_0x3dfb90(0x219)](_0x39e408,_0x2fbc89(_0x34ee3c['getDisplayName'](_0xb1f2d2),_0x3c985f)),_0x2ec959[_0x3dfb90(0x174)](_0x34ee3c['getDisplayName'](_0xb1f2d2)));});},_0x1d164b=(_0x4342c0,_0x5d04e8,_0x1a34d5)=>{const _0x4bcf00=_0x4226f5;var _0x573618,_0x1fe981;const {arrayFormulaCellData:_0x42c20f,unitData:_0x9499d5}=_0x5d04e8,{unitId:_0x462cda,subUnitId:_0x920db5}=_0x1a34d5,_0x527096=_0x1a34d5[_0x4bcf00(0x369)],{startColumn:_0x27781b,endColumn:_0x51097a}=_0x527096,_0x5cf352=(_0x573618=_0x42c20f==null?void 0x0:_0x42c20f[_0x462cda])==null?void 0x0:_0x573618[_0x920db5],_0x1d6aa2=(_0x1fe981=_0x9499d5==null?void 0x0:_0x9499d5[_0x462cda])==null?void 0x0:_0x1fe981[_0x920db5],_0x1687de=new Set(),_0x4f0b89=_0x51097a-_0x27781b+0x1,{dirtyRanges:_0x58eebc}=_0x4342c0;if(_0x58eebc)for(const {range:_0x50785e,sheetId:_0xa7b1d3,unitId:_0x1e743e}of _0x58eebc){if(_0xa7b1d3!==_0x920db5||_0x462cda!==_0x1e743e)continue;const _0x41835f=_0x544178['Rectangle'][_0x4bcf00(0x455)](_0x50785e,_0x527096);if(_0x41835f){const {startColumn:_0x33ba26,endColumn:_0x94f21}=_0x41835f;for(let _0x166ad2=_0x33ba26;_0x166ad2<=_0x94f21;_0x166ad2++)_0x1687de['add'](_0x166ad2);}}if(_0x1687de[_0x4bcf00(0x3a5)]===_0x4f0b89||_0x1687de[_0x4bcf00(0x3a5)]===_0x4f0b89)return Array[_0x4bcf00(0x288)](_0x1687de);if(_0x1d6aa2){const _0x4ae48a=_0x1d6aa2[_0x4bcf00(0x24d)](),_0x4b420b=Object[_0x4bcf00(0x323)](_0x4ae48a);for(const _0x25d0b4 of _0x4b420b){const _0x35385a=Number(_0x25d0b4),_0x4745cd=_0x4ae48a[_0x35385a];if(_0x1687de[_0x4bcf00(0x3a5)]===_0x4f0b89)break;for(const _0x210f11 in _0x4745cd){const _0x1ba3bd=Number(_0x210f11);_0x1ba3bd<_0x27781b||_0x1ba3bd>_0x51097a||_0x1687de[_0x4bcf00(0x287)](_0x1ba3bd);}}}if(_0x5cf352){const _0x2775b8=_0x5cf352[_0x4bcf00(0x24d)](),_0x47e814=Object[_0x4bcf00(0x323)](_0x2775b8);for(const _0x14e383 of _0x47e814){const _0xbeb726=Number(_0x14e383),_0x51115f=_0x2775b8[_0xbeb726];if(_0x1687de[_0x4bcf00(0x3a5)]===_0x4f0b89)break;for(const _0x581e09 in _0x51115f){const _0x1fc659=Number(_0x581e09);_0x1fc659<_0x27781b||_0x1fc659>_0x51097a||_0x1687de[_0x4bcf00(0x287)](_0x1fc659);}}}return Array[_0x4bcf00(0x288)](_0x1687de);},_0x3d69b7=_0x105585=>{const _0x11f246=_0x4226f5,_0x2da73e=new Set(),_0x3fb9c5=[];for(const _0xdf8e0f of _0x105585){const _0x576c8c=_0xdf8e0f[_0x11f246(0x18c)]+','+_0xdf8e0f[_0x11f246(0x38d)]+','+_0xdf8e0f['startColumn']+','+_0xdf8e0f[_0x11f246(0x463)];_0x2da73e[_0x11f246(0x24e)](_0x576c8c)||(_0x2da73e['add'](_0x576c8c),_0x3fb9c5[_0x11f246(0x3b6)](_0xdf8e0f));}return _0x3fb9c5;};let _0x49f2d2=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0x4a9efe,_0x2a1d27,_0x5266d4,_0x28a0a1,_0x3a90cc,_0x5331fe){const _0x40daa5=_0x4226f5;super(),_0x52962a(this,_0x40daa5(0x17d),new _0xfd8c77[(_0x40daa5(0x395))](!0x0)),_0x52962a(this,_0x40daa5(0x25d),_0x36dc03=>{const _0x49a3a9=_0x40daa5;this[_0x49a3a9(0x17d)][_0x49a3a9(0x243)](!0x1);}),_0x52962a(this,_0x40daa5(0x166),_0x8e2cfb=>{const _0x2394ff=_0x40daa5;this[_0x2394ff(0x17d)][_0x2394ff(0x243)](!0x0);}),(this[_0x40daa5(0x1a3)]=_0x4a9efe,this[_0x40daa5(0x29f)]=_0x2a1d27,this[_0x40daa5(0x3b5)]=_0x5266d4,this[_0x40daa5(0x1ad)]=_0x28a0a1,this['_globalComputingSrv']=_0x3a90cc,this[_0x40daa5(0x1c2)]=_0x5331fe,this[_0x40daa5(0x329)](),this[_0x40daa5(0x431)]());}['_init'](){const _0xbc3bb3=_0x4226f5;this['_subjectCollectionChange'](),this['_subjectViewChange'](),this[_0xbc3bb3(0x3aa)](),this[_0xbc3bb3(0x278)]();}['_initGlobalComputed'](){const _0x5bd174=_0x4226f5;this['_globalComputingSrv']['pushComputingStatusSubject'](this['_globalSubject']),_0x12f0a9['PivotTable'][_0x5bd174(0x340)](_0x12f0a9['PivotCallbackEnum'][_0x5bd174(0x297)],this[_0x5bd174(0x25d)]),_0x12f0a9[_0x5bd174(0x316)][_0x5bd174(0x340)](_0x12f0a9[_0x5bd174(0x1f2)][_0x5bd174(0x18d)],this[_0x5bd174(0x166)]);}[_0x4226f5(0x431)](){const _0x1e6f7c=_0x4226f5;this[_0x1e6f7c(0x462)](this['_commandService'][_0x1e6f7c(0x3ac)](_0x2c1200=>{const _0x3319fc=_0x1e6f7c;_0x2c1200['id']===_0x4f9a14[_0x3319fc(0x3ed)]['id']&&this[_0x3319fc(0x1a3)][_0x3319fc(0x460)](_0x2c1200[_0x3319fc(0x24a)]);})),this[_0x1e6f7c(0x462)](this[_0x1e6f7c(0x1ad)][_0x1e6f7c(0x3ac)](_0x405ce9=>{const _0xdd549c=_0x1e6f7c;if(_0x405ce9['id']!==_0x1c95a8['id'])return;const _0x21a42e=_0x405ce9[_0xdd549c(0x24a)],{unitId:_0x35b4d7,subUnitId:_0x16d888,pivotTableId:_0x49ca91}=_0x21a42e,_0x345147=_0x21a42e[_0xdd549c(0x24a)]['type'],_0x49cd78={};switch(_0x345147){case _0x19b4e3[_0xdd549c(0x277)]:{const _0x3b35c8=_0x21a42e[_0xdd549c(0x24a)]['filter'];if(!_0x3b35c8)return;const {row:_0x4ba673,col:_0x262cbe,cellData:_0x2d4c91,pivotItemRenderInfoCache:_0x5268a1,tableFieldId:_0xd8e935}=_0x3b35c8,_0x147954=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x21a42e[_0xdd549c(0x2d5)]);if(!_0x147954||!_0x5268a1)return;if(_0xd8e935){const _0x23c03e=_0x147954['getDataFieldByTableId'](_0xd8e935);if(!_0x23c03e)return;_0x49cd78[_0xdd549c(0x332)]={..._0x147954[_0xdd549c(0x358)](_0x23c03e),'tableFieldId':_0xd8e935,'pivotTableId':_0x21a42e[_0xdd549c(0x2d5)],'filterInfo':_0x147954['getFilterInfo'](_0xd8e935),'sortInfo':_0x147954['getSortInfo'](_0xd8e935),'format':_0x147954[_0xdd549c(0x2dc)](_0xd8e935)};}else{const _0x2f548f=_0x2052ee(_0x4ba673,_0x262cbe,_0x2d4c91,_0x147954,_0x5268a1),_0xa1696f=_0x2f548f==null?void 0x0:_0x2f548f['filterId'];if(!_0xa1696f)return;const _0x430f4f=_0x147954['getDataFieldByTableId'](_0xa1696f);if(!_0x430f4f)return;_0x49cd78[_0xdd549c(0x332)]={..._0x147954['getDataFieldItemInfo'](_0x430f4f),'tableFieldId':_0xa1696f,'pivotTableId':_0x21a42e[_0xdd549c(0x2d5)],'filterInfo':_0x147954[_0xdd549c(0x1f6)](_0xa1696f),'sortInfo':_0x147954[_0xdd549c(0x197)](_0xa1696f),'format':_0x147954[_0xdd549c(0x2dc)](_0xa1696f)};}}break;case _0x19b4e3[_0xdd549c(0x167)]:{const _0x412d0b=_0x21a42e['params'][_0xdd549c(0x207)];if(!_0x412d0b)return;const {pivotTableId:_0x16b7ed}=_0x412d0b,_0x274912=this[_0xdd549c(0x1a3)]['getPivotTableInstance'](_0x16b7ed);if(!_0x274912)return;const _0x5d3d4c=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x35b4d7,_0x16d888,_0x16b7ed),_0xe9fcf0=_0x47bfe3(_0x274912,_0x16b7ed,_0x5d3d4c);_0x49cd78[_0xdd549c(0x207)]=_0xe9fcf0;}break;case _0x19b4e3[_0xdd549c(0x363)]:{const _0x187a18=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91),_0x1e3f4e=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x211)](_0x35b4d7),_0x3802d5=_0x1e3f4e['getCollection'](_0x49ca91);let _0x233ffe=null;const _0x7268b8=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91),_0x290278=_0x21a42e[_0xdd549c(0x24a)]['addPivotField'];if(!_0x187a18||!_0x7268b8||!_0x290278)return!0x1;const {dataFieldId:_0x2448fe,fieldArea:_0x45abe5,index:_0x47fff0}=_0x290278;_0x187a18[_0xdd549c(0x1cf)]();const _0x5bfb60=_0x187a18[_0xdd549c(0x189)](_0x2448fe,_0x45abe5,_0x47fff0);if(_0x5bfb60&&_0x45abe5===_0x12f0a9['PivotTableFiledAreaEnum'][_0xdd549c(0x2db)]){const _0x2d26ba=_0x5bfb60[_0xdd549c(0x412)](),_0x587678=_0x187a18[_0xdd549c(0x1c6)](_0x2d26ba);if(_0x587678){const _0x105d80=_0x587678==null?void 0x0:_0x587678[_0xdd549c(0x3c7)]();_0x187a18[_0xdd549c(0x16d)](_0x5bfb60[_0xdd549c(0x412)](),_0x105d80===_0x12f0a9[_0xdd549c(0x1fd)][_0xdd549c(0x41c)]?_0x12f0a9[_0xdd549c(0x1b0)][_0xdd549c(0x44d)]:_0x12f0a9[_0xdd549c(0x1b0)]['count']);}const _0xa28b4b=_0x187a18[_0xdd549c(0x29a)](),_0x187c45=_0x187a18['getValuePosition'](),_0x406340=_0x187a18[_0xdd549c(0x2f5)](_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x2db)]);if(_0xa28b4b===-0x1&&_0x406340>0x1){const _0x1560b3=_0x187c45===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x38a)]?_0x12f0a9[_0xdd549c(0x3d4)]['Column']:_0x187c45,_0x1c4b7b=_0x1560b3===_0x12f0a9['PivotTableValuePositionEnum']['Row']?_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]:_0x12f0a9[_0xdd549c(0x3e9)]['Column'];_0x187a18[_0xdd549c(0x22b)](_0x1560b3,_0x187a18[_0xdd549c(0x2f5)](_0x1c4b7b));}}else{if(_0x5bfb60&&(_0x45abe5===_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]||_0x45abe5===_0x12f0a9[_0xdd549c(0x3e9)]['Column'])){const _0x39b82d=_0x5bfb60['getId'](),_0x5dda44=_0x187a18[_0xdd549c(0x1c6)](_0x39b82d);if(_0x5dda44&&(_0x5dda44==null?void 0x0:_0x5dda44[_0xdd549c(0x3c7)]())===_0x12f0a9['PivotDataFieldDataTypeEnum'][_0xdd549c(0x411)]){const _0x4fb3ee=_0x5dda44[_0xdd549c(0x1a8)]();if(_0x4fb3ee&&_0x187a18[_0xdd549c(0x398)](_0x5bfb60[_0xdd549c(0x412)](),_0x4fb3ee),!_0x3802d5['getFieldIds']()[_0xdd549c(0x2ec)](_0x197b85=>{const _0x34689d=_0xdd549c,_0x1f72c2=_0x3802d5[_0x34689d(0x1f1)](_0x197b85);return _0x12f0a9[_0x34689d(0x1cd)](_0x1f72c2)?_0x1f72c2[_0x34689d(0x202)]()[_0x34689d(0x156)]===_0x2448fe:!0x1;})){const _0x5bf52d=_0x1e3f4e[_0xdd549c(0x2da)](),_0x372655=_0x3c8f82(_0x5dda44[_0xdd549c(0x2d7)],_0x5dda44['minDate']),_0x17ed18=_0x5dda44[_0xdd549c(0x2fb)]()+'\x20-\x20'+_0x5cbcb0(this[_0xdd549c(0x1c2)],_0x372655),_0x5d6a71=new _0x12f0a9[(_0xdd549c(0x3c3))](_0x5bf52d,_0x17ed18,_0x12f0a9[_0xdd549c(0x235)](0x3),_0x5dda44[_0xdd549c(0x412)](),_0x372655);_0x1e3f4e['addDataFieldWithoutUnitInfo'](_0x5d6a71),_0x3802d5[_0xdd549c(0x177)](_0x5bf52d,_0x17ed18),_0x187a18[_0xdd549c(0x189)](_0x5bf52d,_0x45abe5,(_0x47fff0!=null?_0x47fff0:0x0)+0x1),_0x233ffe=_0x5d6a71;}}}}const _0x4bc844=_0x187a18[_0xdd549c(0x3df)](),_0x471acb=_0x187a18[_0xdd549c(0x382)]()[_0xdd549c(0x173)]();let _0x18c2fc;if(_0x233ffe){_0x18c2fc=_0x233ffe['toJSON']();const _0x1d47af=_0x233ffe[_0xdd549c(0x412)]();_0x3802d5['deleteField'](_0x1d47af);let _0x226492=!0x0;for(const _0x50b727 in _0x1e3f4e[_0xdd549c(0x36a)])if(_0x1e3f4e[_0xdd549c(0x36a)][_0x50b727][_0xdd549c(0x451)]()['includes'](_0x1d47af)){_0x226492=!0x1;break;}_0x226492&&_0x1e3f4e['deleteDataField'](_0x1d47af);}const _0x58c604=_0x187a18[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x43a)]={'view':_0x471acb,'changesets':_0x58c604,'isEmpty':_0x4bc844,'pivotTableConfig':_0x7268b8,'shouldBeAddedGroupJSON':_0x18c2fc};}break;case _0x19b4e3[_0xdd549c(0x1b6)]:{const _0x12d320=_0x21a42e['params'][_0xdd549c(0x2d1)];if(!_0x12d320)return;const _0x3d23a1=_0x12d320['sourceRangeInfo'],_0xbe98b=_0x12d320[_0xdd549c(0x2d5)],{collection:_0x1dcd29}=this[_0xdd549c(0x1a3)][_0xdd549c(0x43f)]({'unitId':_0x3d23a1[_0xdd549c(0x384)],'sheetName':_0x3d23a1[_0xdd549c(0x30e)],'subUnitId':_0x3d23a1[_0xdd549c(0x31c)],'range':_0x3d23a1[_0xdd549c(0x369)]}),_0x747b9a=new _0x12f0a9[(_0xdd549c(0x316))](_0x1dcd29,void 0x0,_0xbe98b),_0x563a16=_0x747b9a[_0xdd549c(0x382)](),_0xee7f21=_0x747b9a[_0xdd549c(0x173)](),_0x200f92=_0x1dcd29[_0xdd549c(0x173)]();_0x49cd78[_0xdd549c(0x2d1)]={'view':_0x563a16,'fieldsConfig':_0xee7f21,'collectionConfig':_0x200f92,'isEmpty':_0x747b9a[_0xdd549c(0x3df)]()};}break;case _0x19b4e3['MovePivotField']:{const _0x19c8d8=_0x21a42e['params'][_0xdd549c(0x33d)];if(!_0x19c8d8)return;const {fieldId:_0x5db018,area:_0x3497e9,index:_0x4babc7}=_0x19c8d8,_0x5aaa6a=this[_0xdd549c(0x1a3)]['getPivotTableConfig'](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x5aaa6a)return;const _0x2020bd=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91);if(!_0x2020bd)return;_0x2020bd[_0xdd549c(0x1cf)]();const {area:_0x5d0ece,index:_0x2a6fa5}=_0x2020bd['getFieldPositionInfoById'](_0x5db018);if(_0x2020bd[_0xdd549c(0x184)](_0x5db018,_0x3497e9,_0x4babc7),_0x3497e9===_0x12f0a9['PivotTableFiledAreaEnum']['Value']&&_0x2020bd[_0xdd549c(0x2c2)](_0x5db018)[_0xdd549c(0x171)]()===void 0x0){const _0x55b1f2=_0x2020bd['getTableFieldById'](_0x5db018);if(_0x55b1f2&&_0x55b1f2['getSubtotal']()===void 0x0){const _0x26ef8c=_0x2020bd['getDataFieldByTableId'](_0x5db018);if(_0x26ef8c){const _0x475758=_0x26ef8c==null?void 0x0:_0x26ef8c[_0xdd549c(0x3c7)]();_0x2020bd[_0xdd549c(0x16d)](_0x5db018,_0x475758===_0x12f0a9[_0xdd549c(0x1fd)][_0xdd549c(0x41c)]?_0x12f0a9[_0xdd549c(0x1b0)][_0xdd549c(0x44d)]:_0x12f0a9[_0xdd549c(0x1b0)][_0xdd549c(0x370)]);}}}const _0x1b4dc8=_0x2020bd[_0xdd549c(0x227)](),_0x16781d=_0x2020bd[_0xdd549c(0x29a)](),_0x1400a8=_0x2020bd['getFieldCountByArea'](_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x2db)])>0x1;if(_0x1400a8&&_0x5d0ece===_0x3497e9&&(_0x3497e9===_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]&&_0x1b4dc8===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x443)]||_0x3497e9===_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x44c)]&&_0x1b4dc8===_0x12f0a9['PivotTableValuePositionEnum'][_0xdd549c(0x44c)])){let _0x54044b=_0x16781d;_0x2a6fa5<=_0x16781d&&_0x54044b--,_0x4babc7<=_0x16781d&&_0x54044b++,_0x2020bd[_0xdd549c(0x22b)](_0x1b4dc8,_0x54044b);}else _0x1400a8&&(_0x5d0ece===_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]&&_0x1b4dc8===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x443)]||_0x5d0ece===_0x12f0a9['PivotTableFiledAreaEnum'][_0xdd549c(0x44c)]&&_0x1b4dc8===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x44c)])&&_0x16781d>=_0x2a6fa5&&_0x2020bd['updateValuePosition'](_0x1b4dc8,_0x16781d-0x1),_0x1400a8&&(_0x3497e9===_0x12f0a9['PivotTableFiledAreaEnum'][_0xdd549c(0x443)]&&_0x1b4dc8===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x443)]||_0x3497e9===_0x12f0a9[_0xdd549c(0x3e9)]['Column']&&_0x1b4dc8===_0x12f0a9[_0xdd549c(0x3d4)][_0xdd549c(0x44c)])&&_0x16781d>=_0x4babc7&&_0x2020bd['updateValuePosition'](_0x1b4dc8,_0x16781d+0x1);const _0x2ffd46=_0x2020bd[_0xdd549c(0x382)](),_0x36abab=_0x2020bd[_0xdd549c(0x3df)](),_0x1e9833=_0x2020bd[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x33d)]={'view':_0x2ffd46[_0xdd549c(0x173)](),'changesets':_0x1e9833,'isEmpty':_0x36abab,'pivotTableConfig':_0x5aaa6a};}break;case _0x19b4e3[_0xdd549c(0x3fd)]:{const _0x149a49=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x401)];if(!_0x149a49)return;const _0x23c746=_0x149a49[_0xdd549c(0x441)],_0x476aa6=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x476aa6)return!0x1;const _0x2df98f=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x233)](_0x49ca91);if(!_0x2df98f)return!0x1;_0x2df98f['startCollectChangeset']();for(const _0x3765dc of _0x23c746){const {area:_0x514e2e}=_0x2df98f[_0xdd549c(0x2c1)](_0x3765dc);_0x514e2e===_0x12f0a9['PivotTableFiledAreaEnum'][_0xdd549c(0x2db)]&&_0x2df98f[_0xdd549c(0x407)](_0x3765dc),(_0x514e2e===_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]||_0x514e2e===_0x12f0a9['PivotTableFiledAreaEnum']['Column'])&&_0x2df98f[_0xdd549c(0x2aa)](_0x3765dc),_0x2df98f['removeField'](_0x3765dc);}const _0x377cdb=_0x2df98f[_0xdd549c(0x3df)](),_0x108af5=_0x2df98f[_0xdd549c(0x382)]()['toJSON'](),_0x5db12d=_0x2df98f['endCollectChangeset']();_0x49cd78[_0xdd549c(0x401)]={'changesets':_0x5db12d,'pivotTableConfig':_0x476aa6,'isEmpty':_0x377cdb,'view':_0x108af5};}break;case _0x19b4e3[_0xdd549c(0x23b)]:{const _0x3ca290=_0x21a42e['params'][_0xdd549c(0x24f)];if(!_0x3ca290)return;const {tableFieldId:_0x59f83a,items:_0x575e16,isAll:_0x6c1e57}=_0x3ca290,_0x284c09=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x233)](_0x49ca91),_0x35a11b=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x284c09||!_0x35a11b)return;_0x284c09[_0xdd549c(0x1cf)](),_0x284c09[_0xdd549c(0x3c2)](_0x59f83a,{'type':_0x12f0a9['PivotFilterTypeEnum'][_0xdd549c(0x2c8)],'list':_0x575e16,'isAll':_0x6c1e57});const _0x42e800=_0x284c09[_0xdd549c(0x3df)](),_0x52589c=_0x284c09['query']()[_0xdd549c(0x173)](),_0xddccea=_0x284c09[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x24f)]={'view':_0x52589c,'changesets':_0xddccea,'isEmpty':_0x42e800,'pivotTableConfig':_0x35a11b};}break;case _0x19b4e3[_0xdd549c(0x2fa)]:{const _0xa9cd6d=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x2cc)];if(!_0xa9cd6d)return;const {tableFieldId:_0x522bda,filterInfo:_0x380882}=_0xa9cd6d,_0x43e63b=this[_0xdd549c(0x1a3)]['getPivotTableInstance'](_0x49ca91),_0x17d248=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x43e63b||!_0x17d248)return;_0x43e63b['startCollectChangeset'](),_0x43e63b[_0xdd549c(0x422)](_0x522bda,_0x380882);const _0x481e72=_0x43e63b['isEmpty'](),_0xd141e=_0x43e63b['query']()[_0xdd549c(0x173)](),_0x1e1166=_0x43e63b['endCollectChangeset']();_0x49cd78[_0xdd549c(0x2cc)]={'view':_0xd141e,'changesets':_0x1e1166,'isEmpty':_0x481e72,'pivotTableConfig':_0x17d248};}break;case _0x19b4e3[_0xdd549c(0x3c8)]:{const _0x3ca003=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x391)];if(!_0x3ca003)return;const {tableFieldId:_0x322ebf,info:_0x1e84ef}=_0x3ca003,_0x59fcd5=this[_0xdd549c(0x1a3)]['getPivotTableInstance'](_0x49ca91),_0x295abc=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x59fcd5||!_0x295abc)return;_0x59fcd5[_0xdd549c(0x1cf)](),_0x59fcd5[_0xdd549c(0x344)](_0x322ebf,_0x1e84ef);const _0x2409d1=_0x59fcd5[_0xdd549c(0x3df)](),_0x10b4b7=_0x59fcd5[_0xdd549c(0x382)]()[_0xdd549c(0x173)](),_0xd11ecc=_0x59fcd5[_0xdd549c(0x152)]();_0x49cd78['setPivotSort']={'view':_0x10b4b7,'changesets':_0xd11ecc,'isEmpty':_0x2409d1,'pivotTableConfig':_0x295abc};}break;case _0x19b4e3[_0xdd549c(0x3d0)]:{const _0x2f9303=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x1ef)];if(!_0x2f9303)return;const {tableFieldId:_0x2563ec,displayName:_0xd309d7,subtotalType:_0x45116a,format:_0x32f1fb}=_0x2f9303,_0xc08d35=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91),_0x17a164=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0xc08d35||!_0x17a164)return;_0xc08d35[_0xdd549c(0x1cf)](),_0xd309d7!==void 0x0&&_0xc08d35[_0xdd549c(0x219)](_0x2563ec,_0xd309d7),_0x45116a!==void 0x0&&_0xc08d35[_0xdd549c(0x16d)](_0x2563ec,_0x45116a),_0x32f1fb!==void 0x0&&_0xc08d35[_0xdd549c(0x398)](_0x2563ec,_0x32f1fb);const _0x2d187a=_0xc08d35[_0xdd549c(0x3df)](),_0x27bbe0=_0xc08d35['query']()[_0xdd549c(0x173)](),_0x5ca744=_0xc08d35['endCollectChangeset']();_0x49cd78[_0xdd549c(0x1ef)]={'changesets':_0x5ca744,'pivotTableConfig':_0x17a164,'isEmpty':_0x2d187a,'view':_0x27bbe0};}break;case _0x19b4e3[_0xdd549c(0x42c)]:{const _0x302136=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x1e0)];if(!_0x302136)return;const {dataRangeInfo:_0x3ffbac,unitId:_0x36c715,subUnitId:_0xef809d}=_0x302136,_0x593489=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x36c715,_0xef809d,_0x49ca91),_0x2580e5=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91);if(!this[_0xdd549c(0x1a3)][_0xdd549c(0x169)](_0x36c715,_0x49ca91)||!_0x2580e5||!_0x593489)return;const _0xb57cf0=this[_0xdd549c(0x1a3)]['getUpdateRangeDeleteIds'](_0x36c715,_0x49ca91,_0x3ffbac),_0x5485d4=this[_0xdd549c(0x1a3)][_0xdd549c(0x169)](_0x36c715,_0x49ca91)['toJSON'](),{collection:_0x47df22}=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x43f)]({'unitId':_0x3ffbac[_0xdd549c(0x384)],'sheetName':_0x3ffbac[_0xdd549c(0x30e)],'subUnitId':_0x3ffbac[_0xdd549c(0x31c)],'range':_0x3ffbac['range']}),_0x56e87b=_0x47df22[_0xdd549c(0x173)]();_0x2580e5[_0xdd549c(0x1cf)]();const _0x145c43=this[_0xdd549c(0x1a3)][_0xdd549c(0x211)](_0x36c715)[_0xdd549c(0x2d6)]()||_0x12f0a9[_0xdd549c(0x2b9)];_0x2580e5[_0xdd549c(0x459)](_0x3268a1=>{const _0x5d5df0=_0xdd549c,_0x33fe8a=_0x3268a1[_0x5d5df0(0x31d)]();if(!_0x47df22['hasField'](_0x33fe8a)){const _0x6c7ade=_0x47df22[_0x5d5df0(0x37a)](_0x3268a1['getSourceName']());if(_0x6c7ade){_0x2580e5[_0x5d5df0(0x445)](_0x3268a1[_0x5d5df0(0x412)](),_0x6c7ade[_0x5d5df0(0x2fb)](),_0x6c7ade['getId']());const {area:_0x535789}=_0x2580e5['getFieldPositionInfoById'](_0x3268a1[_0x5d5df0(0x412)]());let _0x52bf28=_0x3268a1[_0x5d5df0(0x29d)]();const _0x16b90f=_0x3268a1[_0x5d5df0(0x280)]();if(_0x535789===_0x12f0a9['PivotTableFiledAreaEnum'][_0x5d5df0(0x2db)]){const _0x99a67a=_0x3268a1[_0x5d5df0(0x171)]();_0x52bf28=_0x145c43(_0x6c7ade[_0x5d5df0(0x2fb)](),_0x99a67a);}_0x16b90f!==_0x52bf28&&_0x2580e5[_0x5d5df0(0x219)](_0x3268a1[_0x5d5df0(0x412)](),_0x52bf28);}else _0x2580e5[_0x5d5df0(0x2ad)](_0x3268a1['getId']());}});const _0x163ff2=_0x2580e5[_0xdd549c(0x3df)](),_0x3240cd=_0x2580e5[_0xdd549c(0x382)]()[_0xdd549c(0x173)](),_0x1a25df=_0x2580e5['endCollectChangeset']();_0x49cd78[_0xdd549c(0x1e0)]={'view':_0x3240cd,'changesets':_0x1a25df,'isEmpty':_0x163ff2,'pivotTableConfig':_0x593489,'collectionConfig':_0x56e87b,'oldCollectionConfig':_0x5485d4,'deleteIds':_0xb57cf0};}break;case _0x19b4e3[_0xdd549c(0x3e5)]:{const _0x495000=_0x21a42e['params'][_0xdd549c(0x22b)];if(!_0x495000)return;const {position:_0x3ee2a6,index:_0x7d79f9}=_0x495000,_0x519acc=this['_sheetsPivotDataSourceModel'][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x519acc)return!0x1;const _0x220442=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91);if(!_0x220442)return!0x1;_0x220442[_0xdd549c(0x1cf)](),_0x220442[_0xdd549c(0x22b)](_0x3ee2a6,_0x7d79f9);const _0x4501de=_0x220442[_0xdd549c(0x3df)](),_0x2c51b5=_0x220442[_0xdd549c(0x382)]()['toJSON'](),_0x165de2=_0x220442[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x22b)]={'changesets':_0x165de2,'pivotTableConfig':_0x519acc,'isEmpty':_0x4501de,'view':_0x2c51b5};}break;case _0x19b4e3[_0xdd549c(0x362)]:{const _0x30f556=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x35d)];if(!_0x30f556)return;const {tableFieldId:_0x48f827,collapse:_0xcd84a,item:_0x4e25d9}=_0x30f556,_0x1d12a9=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91),_0x175225=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x1d12a9||!_0x175225)return;_0x1d12a9[_0xdd549c(0x1cf)](),_0x1d12a9['setCollapse'](_0x48f827,_0xcd84a,_0x4e25d9);const _0x285f22=_0x1d12a9[_0xdd549c(0x3df)](),_0x2e270e=_0x1d12a9[_0xdd549c(0x382)]()[_0xdd549c(0x173)](),_0x5693d1=_0x1d12a9[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x35d)]={'view':_0x2e270e,'isEmpty':_0x285f22,'pivotTableConfig':_0x175225,'changesets':_0x5693d1};}break;case _0x19b4e3[_0xdd549c(0x3da)]:{const _0x2ceb5=_0x21a42e['params'][_0xdd549c(0x1e1)];if(!_0x2ceb5)return;const {pivotTableConfig:_0x44183b}=_0x2ceb5,_0x2cb025=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x49ca91),_0x11c14c=this[_0xdd549c(0x1a3)][_0xdd549c(0x2df)](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x2cb025||!_0x11c14c)return;_0x2cb025['startCollectChangeset'](),_0x213d5b(_0x2cb025,_0x44183b);const _0x3884eb=_0x2cb025['isEmpty'](),_0x39cec0=_0x2cb025[_0xdd549c(0x382)]()['toJSON'](),_0x16d400=_0x2cb025['endCollectChangeset']();_0x49cd78['setPivotTableConfig']={'view':_0x39cec0,'isEmpty':_0x3884eb,'pivotTableConfig':{..._0x11c14c,'fieldsConfig':_0x2cb025[_0xdd549c(0x173)]()},'changesets':_0x16d400};}break;case _0x19b4e3[_0xdd549c(0x334)]:{const _0x352ed5=_0x21a42e['params']['resetPivotTable'];if(!_0x352ed5)return;const _0x30e5fe=this[_0xdd549c(0x1a3)][_0xdd549c(0x233)](_0x49ca91),_0x5d740d=this[_0xdd549c(0x1a3)]['getPivotTableConfig'](_0x35b4d7,_0x16d888,_0x49ca91);if(!_0x30e5fe||!_0x5d740d)return;_0x30e5fe['startCollectChangeset'](),_0x26c71d(_0x30e5fe,_0x352ed5[_0xdd549c(0x1bc)]);const _0x19022b=_0x30e5fe['query']()[_0xdd549c(0x173)](),_0x507c9a=_0x30e5fe[_0xdd549c(0x152)]();_0x49cd78[_0xdd549c(0x3eb)]={'view':_0x19022b,'isEmpty':!0x0,'pivotTableConfig':{..._0x5d740d,'fieldsConfig':_0x30e5fe[_0xdd549c(0x173)]()},'changesets':_0x507c9a};}break;case _0x19b4e3['AddPivotTableWithConfig']:{const _0x5bb99d=_0x21a42e[_0xdd549c(0x24a)][_0xdd549c(0x22c)];if(!_0x5bb99d)return;const _0x322c5c=_0x5bb99d[_0xdd549c(0x3b2)],_0x12fbff=_0x5bb99d[_0xdd549c(0x2d5)],{collection:_0x187066}=this[_0xdd549c(0x1a3)][_0xdd549c(0x43f)]({'unitId':_0x322c5c[_0xdd549c(0x384)],'sheetName':_0x322c5c[_0xdd549c(0x30e)],'subUnitId':_0x322c5c['subUnitId'],'range':_0x322c5c['range']}),_0x4b2842=new _0x12f0a9[(_0xdd549c(0x316))](_0x187066,void 0x0,_0x12fbff),_0x477393=_0x187066['getFieldIds'](),{rows:_0x47f1ab,columns:_0xf2ff89,filters:_0x3bcc06,values:_0xdd0729}=_0x5bb99d[_0xdd549c(0x3e2)];_0x4b2842[_0xdd549c(0x1cf)]();for(const {field:_0xd1163d,selectedItems:_0x2b820d}of _0x47f1ab||[]){const _0x43242a=_0x477393[_0xd1163d];if(_0x43242a){const _0x2c9331=_0x4b2842['addFieldWithSourceId'](_0x43242a,_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x443)]);_0x2b820d&&_0x2c9331&&_0x4b2842['setLabelFilterInfo'](_0x2c9331[_0xdd549c(0x412)](),{'type':_0x12f0a9[_0xdd549c(0x403)][_0xdd549c(0x2c8)],'list':_0x2b820d,'isAll':!0x1});}}for(const {field:_0x2fa7d4,selectedItems:_0x54bf1a}of _0xf2ff89||[]){const _0x5eb8a7=_0x477393[_0x2fa7d4];if(_0x5eb8a7){const _0x511a32=_0x4b2842[_0xdd549c(0x189)](_0x5eb8a7,_0x12f0a9[_0xdd549c(0x3e9)]['Column']);_0x54bf1a&&_0x511a32&&_0x4b2842['setLabelFilterInfo'](_0x511a32[_0xdd549c(0x412)](),{'type':_0x12f0a9['PivotFilterTypeEnum'][_0xdd549c(0x2c8)],'list':_0x54bf1a,'isAll':!0x1});}}for(const {field:_0xe8e12d,selectedItems:_0x78242b}of _0x3bcc06||[]){const _0x4d14ef=_0x477393[_0xe8e12d];if(_0x4d14ef){const _0xba621d=_0x4b2842[_0xdd549c(0x189)](_0x4d14ef,_0x12f0a9[_0xdd549c(0x3e9)][_0xdd549c(0x277)]);_0x78242b&&_0xba621d&&_0x4b2842[_0xdd549c(0x3c2)](_0xba621d['getId'](),{'type':_0x12f0a9[_0xdd549c(0x403)][_0xdd549c(0x2c8)],'list':_0x78242b,'isAll':!0x1});}}for(const {field:_0x18448c,subTotalType:_0x5da372,formatString:_0x581d71}of _0xdd0729||[]){const _0x3dc885=_0x187066[_0xdd549c(0x1f1)](_0x477393[_0x18448c]);if(!_0x3dc885)continue;const _0x307c4e=_0x477393[_0x18448c];if(_0x307c4e){const _0xe39e26=_0x4b2842['addFieldWithSourceId'](_0x307c4e,_0x12f0a9['PivotTableFiledAreaEnum'][_0xdd549c(0x2db)]);if(_0xe39e26){if(_0x5da372!==void 0x0){_0x4b2842[_0xdd549c(0x16d)](_0xe39e26[_0xdd549c(0x412)](),_0x5da372);const _0x3f520d=this[_0xdd549c(0x1a3)][_0xdd549c(0x211)](_0x322c5c[_0xdd549c(0x384)])[_0xdd549c(0x2d6)]()||_0x12f0a9[_0xdd549c(0x2b9)],_0x50f52b=_0x187066[_0xdd549c(0x280)](_0x307c4e),_0x2bd9ee=_0x3f520d(_0x50f52b,_0x5da372);_0x4b2842[_0xdd549c(0x219)](_0xe39e26[_0xdd549c(0x412)](),_0x2bd9ee);}else{if(_0x3dc885){const _0x209f6d=_0x3dc885==null?void 0x0:_0x3dc885[_0xdd549c(0x3c7)]();_0x4b2842['setSubtotalType'](_0xe39e26['getId'](),_0x209f6d===_0x12f0a9['PivotDataFieldDataTypeEnum'][_0xdd549c(0x41c)]?_0x12f0a9['PivotSubtotalTypeEnum'][_0xdd549c(0x44d)]:_0x12f0a9[_0xdd549c(0x1b0)][_0xdd549c(0x370)]);}}_0x581d71&&_0x4b2842[_0xdd549c(0x398)](_0xe39e26[_0xdd549c(0x412)](),_0x581d71);}}}const _0x3f591e=_0x4b2842[_0xdd549c(0x382)](),_0x4b58d8=_0x4b2842[_0xdd549c(0x173)](),_0x142934=_0x4b2842[_0xdd549c(0x3df)](),_0x1be3ab=_0x4b2842[_0xdd549c(0x152)](),_0x1a65b4=_0x187066[_0xdd549c(0x173)]();_0x49cd78['addPivotTableWithConfig']={'view':_0x3f591e,'fieldsConfig':_0x4b58d8,'collectionConfig':_0x1a65b4,'isEmpty':_0x142934,'changesets':_0x1be3ab};}break;case _0x19b4e3[_0xdd549c(0x210)]:{const _0xe6466b=_0x2ccadd(this[_0xdd549c(0x1c2)],_0x21a42e);if(!_0xe6466b)return;const {range:_0x5bbc1b,sourceSubUnitId:_0x35b83a,sourceUnitId:_0x4f65ba,formatMap:_0x15bc04,indexes:_0x10513f}=_0xe6466b;_0x49cd78[_0xdd549c(0x302)]={'range':_0x5bbc1b,'sourceSubUnitId':_0x35b83a,'sourceUnitId':_0x4f65ba,'formatMap':_0x15bc04,'indexes':_0x10513f};}break;}this[_0xdd549c(0x1ad)]['executeCommand'](_0x368b8c['id'],{'version':_0x21a42e['version'],'result':_0x49cd78},{'onlyLocal':!0x0});}));}[_0x4226f5(0x3aa)](){const _0x3d0e1b=_0x4226f5;this[_0x3d0e1b(0x462)](this[_0x3d0e1b(0x1ad)]['onCommandExecuted'](_0x5cc94f=>{const _0x4b1dac=_0x3d0e1b;if(_0x5cc94f['id']!==_0x31c03a['id'])return;const _0x242444=_0x5cc94f[_0x4b1dac(0x24a)];return this[_0x4b1dac(0x1a3)][_0x4b1dac(0x2d0)](_0x242444[_0x4b1dac(0x3bf)]),!0x0;}));}[_0x4226f5(0x440)](){const _0x11b835=_0x4226f5;this[_0x11b835(0x1a3)]['collectionChange$'][_0x11b835(0x16b)](_0x25fc3c=>{const _0x12a23b=_0x11b835;switch(_0x25fc3c[_0x12a23b(0x20f)]){case _0x2754a3[_0x12a23b(0x287)]:_0x25fc3c[_0x12a23b(0x26d)]&&_0x25fc3c[_0x12a23b(0x2a0)]&&this[_0x12a23b(0x1c5)](_0x25fc3c['token'],_0x25fc3c['dataRangeInfo'],_0x25fc3c[_0x12a23b(0x2a0)]);break;case _0x2754a3['delete']:{const {unitId:_0x3678f1,subUnitId:_0x1e0a0d,token:_0x4e3e0e}=_0x25fc3c;_0x3678f1&&_0x1e0a0d&&_0x4e3e0e&&this[_0x12a23b(0x2d8)](_0x3678f1,_0x1e0a0d,_0x4e3e0e);}break;case _0x2754a3[_0x12a23b(0x349)]:{const {token:_0x321c94,oldSourceRangeInfo:_0x2695cc,dataRangeInfo:_0x3b4724,targetCellInfo:_0x224f62}=_0x25fc3c,{unitId:_0x2bad15,subUnitId:_0x201e7f}=_0x2695cc||{};_0x2bad15&&_0x201e7f&&_0x321c94&&this[_0x12a23b(0x2d8)](_0x2bad15,_0x201e7f,_0x321c94),_0x3b4724&&_0x224f62&&this['handleSourceRangeChange'](_0x321c94,_0x3b4724,_0x224f62);}break;}});}['_subjectFieldsCollectionChange'](){const _0x593d23=_0x4226f5;this[_0x593d23(0x1a3)][_0x593d23(0x260)][_0x593d23(0x16b)](_0xec0cd8=>{const _0x1075da=_0x593d23;Object[_0x1075da(0x323)](_0xec0cd8)['forEach'](_0x1ee91c=>{const _0x1fb394=_0x1075da,_0x37808b=this[_0x1fb394(0x1a3)][_0x1fb394(0x224)](_0x1ee91c);if(_0x37808b){const _0x493216=this[_0x1fb394(0x1a3)]['getPivotTableConfig'](_0x37808b==null?void 0x0:_0x37808b[_0x1fb394(0x384)],_0x37808b==null?void 0x0:_0x37808b[_0x1fb394(0x31c)],_0x1ee91c);_0x493216&&(this[_0x1fb394(0x1c5)](_0x1ee91c,_0x493216[_0x1fb394(0x3b2)],_0x493216[_0x1fb394(0x2a0)]),this[_0x1fb394(0x2a2)]([{'unitId':_0x37808b[_0x1fb394(0x384)],'subUnitId':_0x37808b['subUnitId'],'token':_0x1ee91c}]));}});});}['_subjectViewChange'](){const _0x53ea55=_0x4226f5;this[_0x53ea55(0x1a3)][_0x53ea55(0x26a)][_0x53ea55(0x16b)](_0x451d5e=>{const _0x30f930=_0x53ea55,{unitId:_0x34f4c6,subUnitId:_0x318a10,pivotTableId:_0x3058f7}=_0x451d5e;_0x34f4c6&&_0x318a10&&_0x3058f7&&this[_0x30f930(0x2a2)]([{'unitId':_0x34f4c6,'subUnitId':_0x318a10,'token':_0x3058f7}]);});}[_0x4226f5(0x2a2)](_0xdee558){const _0x4001f5=_0x4226f5,_0x302551={};_0xdee558[_0x4001f5(0x39b)](_0x33ab37=>{var _0x205237,_0x41e146;const {unitId:_0x557921,subUnitId:_0x581091,token:_0x7d41f0}=_0x33ab37;_0x302551[_0x557921]=(_0x205237=_0x302551[_0x557921])!=null?_0x205237:{},_0x302551[_0x557921][_0x581091]=(_0x41e146=_0x302551[_0x557921][_0x581091])!=null?_0x41e146:{},_0x302551[_0x557921][_0x581091][_0x7d41f0]=!0x0;}),this['_commandService'][_0x4001f5(0x1a7)](_0x1f0487['id'],_0x302551);}['removeSourceRangeChange'](_0x120333,_0xbb962e,_0x251410){const _0x4ca8d7=_0x4226f5;this[_0x4ca8d7(0x3b5)][_0x4ca8d7(0x36c)](_0x120333,_0xbb962e,[_0x251410]);}[_0x4226f5(0x1c5)](_0x5e9c97,_0x17cdbd,_0x1a44df){const _0x36c60a=_0x4226f5,{unitId:_0x51a650,subUnitId:_0x45415f}=_0x17cdbd;this['_featureCalculationManagerService'][_0x36c60a(0x24e)](_0x1a44df['unitId'],_0x1a44df['subUnitId'],_0x5e9c97)&&this[_0x36c60a(0x2d8)](_0x51a650,_0x45415f,_0x5e9c97);const _0x22c828={'sheetId':_0x45415f,..._0x17cdbd};this[_0x36c60a(0x3b5)]['register'](_0x1a44df['unitId'],_0x1a44df[_0x36c60a(0x31c)],_0x5e9c97,{'unitId':_0x1a44df[_0x36c60a(0x384)],'subUnitId':_0x1a44df[_0x36c60a(0x31c)],'dependencyRanges':[_0x22c828],'getDirtyData':(_0x18b8bb,_0x418595)=>{const _0x880ce3=_0x36c60a,_0x26773d=this['_sheetsPivotDataSourceModel'],_0x2e4d61=_0x26773d[_0x880ce3(0x224)](_0x5e9c97);if(!_0x2e4d61)return _0x4dfdd9();const {unitId:_0x29dab1,subUnitId:_0x459cb3}=_0x2e4d61,_0x14ff20=_0x1d164b(_0x18b8bb,_0x418595,_0x17cdbd);if(_0x14ff20[_0x880ce3(0x25a)]>0x0){const _0x11ddc9=_0x26773d['getCollection'](_0x51a650,_0x5e9c97),_0x51a1a9=_0x11ddc9['getFieldIds'](),_0x42577a=this[_0x880ce3(0x3ef)](_0x17cdbd[_0x880ce3(0x384)],_0x17cdbd[_0x880ce3(0x31c)],_0x418595),_0x56ac1d={},_0x50bbb3=this[_0x880ce3(0x1a3)][_0x880ce3(0x211)](_0x29dab1)['getAutoDisplayNameFunction']()||_0x12f0a9[_0x880ce3(0x2b9)],_0x5dfd47=[];for(const _0x4dc364 of _0x14ff20){const _0x2cdad2=_0x4dc364-(_0x17cdbd[_0x880ce3(0x369)][_0x880ce3(0x1b2)]||0x0),_0x2fc38f=_0x51a1a9[_0x2cdad2];_0x5dfd47[_0x880ce3(0x3b6)](_0x2fc38f),_0x56ac1d[_0x2fc38f]=_0x11ddc9['getFieldById'](_0x2fc38f)[_0x880ce3(0x2fb)](),_0x26773d[_0x880ce3(0x211)](_0x51a650)[_0x880ce3(0x1d6)](_0x2fc38f,_0x17cdbd,_0x2cdad2,_0x42577a);}_0x11ddc9[_0x880ce3(0x1df)](_0x5dfd47)[_0x880ce3(0x39b)](_0x55943b=>{const _0x370e2d=_0x880ce3,[_0x3cfd75,_0x3f03e6]=_0x55943b,_0x2cc78d=_0x11ddc9[_0x370e2d(0x1f1)](_0x3cfd75),_0x305c1d=_0x11ddc9['getFieldById'](_0x3f03e6);_0x2cc78d&&_0x305c1d&&_0x2cc78d[_0x370e2d(0x2ab)](_0x305c1d);}),_0x11ddc9[_0x880ce3(0x3ab)]();const _0x4270df=_0x26773d[_0x880ce3(0x233)](_0x5e9c97);if(_0x4270df){_0x3e227d(_0x4270df,_0x56ac1d,_0x50bbb3),_0x4270df['setDirty'](!0x0);const _0x21f9a2=_0x4270df[_0x880ce3(0x382)](),_0x431aae=_0x26773d['getPivotTableConfig'](_0x29dab1,_0x459cb3,_0x5e9c97),_0x5d6e3e=_0x26773d[_0x880ce3(0x211)](_0x51a650)['toJSON']();_0x26773d['updateView'](_0x29dab1,_0x459cb3,_0x580ace[_0x880ce3(0x246)],_0x5e9c97,_0x21f9a2,_0x431aae,_0x5d6e3e,!0x0);}}return this[_0x880ce3(0x469)](_0x29dab1,_0x459cb3,_0x5e9c97);}});}[_0x4226f5(0x3ef)](_0x59fd28,_0x50ad8b,_0x40f7e4){var _0x22fca,_0x4000a8;const {arrayFormulaCellData:_0x4b4921,unitData:_0xd2c721}=_0x40f7e4,_0x443756=(_0x22fca=_0x4b4921==null?void 0x0:_0x4b4921[_0x59fd28])==null?void 0x0:_0x22fca[_0x50ad8b],_0x35b342=(_0x4000a8=_0xd2c721==null?void 0x0:_0xd2c721[_0x59fd28])==null?void 0x0:_0x4000a8[_0x50ad8b];return{'arrayFormulaCellDataMatrix':_0x443756,'unitDataMatrix':_0x35b342};}[_0x4226f5(0x469)](_0x11342b,_0x1f8479,_0x5ea72d){const _0x1734e2=_0x4226f5,_0x1be12d=this[_0x1734e2(0x1a3)][_0x1734e2(0x1a9)](_0x11342b,_0x1f8479,_0x5ea72d),_0x1404c4=[],_0xcd2a35=new _0x544178[(_0x1734e2(0x2c6))]();if(_0x1be12d){const {rangeCache:_0x2bb1f8,matrix:_0x43fb73,oldRangeCache:_0x21cc5e,oldMatrix:_0x330af7}=_0x1be12d,_0xacf314=_0x4b6c31(_0x21cc5e),_0xc900dd=_0x4b6c31(_0x2bb1f8);_0x1404c4['push'](..._0xc900dd,..._0xacf314),_0x330af7&&_0x21cc5e&&_0xacf314['forEach'](_0x59db29=>{const _0x764d4e=_0x1734e2;for(let _0x9a3093=_0x59db29[_0x764d4e(0x18c)];_0x9a3093<=_0x59db29['endRow'];_0x9a3093++)for(let _0x62f47a=_0x59db29[_0x764d4e(0x1b2)];_0x62f47a<=_0x59db29[_0x764d4e(0x463)];_0x62f47a++)_0xcd2a35[_0x764d4e(0x2a7)](_0x9a3093,_0x62f47a);}),_0x43fb73&&_0xc900dd&&_0xc900dd[_0x1734e2(0x39b)](_0x363815=>{const _0x1786e3=_0x1734e2;for(let _0x524005=_0x363815[_0x1786e3(0x18c)];_0x524005<=_0x363815[_0x1786e3(0x38d)];_0x524005++)for(let _0x457758=_0x363815[_0x1786e3(0x1b2)];_0x457758<=_0x363815[_0x1786e3(0x463)];_0x457758++)_0xcd2a35[_0x1786e3(0x27c)](_0x524005,_0x457758,_0x43fb73[_0x1786e3(0x2ac)](_0x524005,_0x457758));});}const _0xa14c70={};return _0xa14c70[_0x11342b]={[_0x1f8479]:_0x3d69b7(_0x1404c4)},{'runtimeCellData':{[_0x11342b]:{[_0x1f8479]:_0xcd2a35}},'dirtyRanges':_0xa14c70};}[_0x4226f5(0x43d)](){}};_0x49f2d2=_0x4a3e28([_0x19302(0x0,_0x544178['Inject'](_0x530537[_0x4226f5(0x393)])),_0x19302(0x1,_0x544178[_0x4226f5(0x2b6)]),_0x19302(0x2,_0x544178['Inject'](_0x11ed22[_0x4226f5(0x452)])),_0x19302(0x3,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x37b)])),_0x19302(0x4,_0x544178[_0x4226f5(0x2b4)](_0x11ed22['GlobalComputingStatusService'])),_0x19302(0x5,_0x544178[_0x4226f5(0x2b4)](_0x544178['Injector']))],_0x49f2d2);var _0x1d7409=Object[_0x4226f5(0x357)],_0x2602e5=(_0x262c9b,_0xd4b33,_0x162fcc,_0x4d2aae)=>{for(var _0x223bd0=_0x4d2aae>0x1?void 0x0:_0x4d2aae?_0x1d7409(_0xd4b33,_0x162fcc):_0xd4b33,_0x2f263f=_0x262c9b['length']-0x1,_0x3d6024;_0x2f263f>=0x0;_0x2f263f--)(_0x3d6024=_0x262c9b[_0x2f263f])&&(_0x223bd0=_0x3d6024(_0x223bd0)||_0x223bd0);return _0x223bd0;},_0x183f31=(_0xff72df,_0x97b62e)=>(_0x419bb1,_0x4f1f3f)=>_0x97b62e(_0x419bb1,_0x4f1f3f,_0xff72df);let _0x783775=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0x595b36,_0x59f7c4,_0xcce59a,_0x518d1b){const _0x3a7906=_0x4226f5;super(),_0x52962a(this,'disposableCollection',new _0x544178['DisposableCollection']()),(this[_0x3a7906(0x1a1)]=_0x595b36,this[_0x3a7906(0x3f1)]=_0x59f7c4,this[_0x3a7906(0x17a)]=_0xcce59a,this[_0x3a7906(0x196)]=_0x518d1b,this[_0x3a7906(0x342)]());}[_0x4226f5(0x342)](){const _0x5b42e9=_0x4226f5;this[_0x5b42e9(0x462)](this[_0x5b42e9(0x3f1)][_0x5b42e9(0x2a8)]({'getMutations':_0x24b92c=>{const _0x1ec67b=_0x5b42e9;if(_0x24b92c['id']===_0x4f9a14[_0x1ec67b(0x312)]['id']||_0x24b92c['id']===_0x4f9a14[_0x1ec67b(0x254)]['id']){const _0x33ba8d=[],_0x2b495c=[],_0x1af5ed=this['_sheetsSelectionsService'][_0x1ec67b(0x3b8)]()[_0x1ec67b(0x3a8)](_0x2e01c3=>_0x2e01c3[_0x1ec67b(0x369)]),_0x31efbb=_0x4f9a14['getSheetCommandTarget'](this[_0x1ec67b(0x1a1)]);if(!_0x31efbb)return{'redos':[],'undos':[]};const {unitId:_0x96712a,subUnitId:_0x15b34a}=_0x31efbb,_0x4ac0fb={},_0x7222a3=this[_0x1ec67b(0x196)][_0x1ec67b(0x3cc)](_0x96712a,_0x15b34a);if(_0x7222a3!=null&&_0x7222a3['size'])for(const [_0x4cbec9,_0x40b7e7]of _0x7222a3){const {unitId:_0x4e9028,subUnitId:_0x2fdb5c,row:_0x107950,col:_0x5cee6d}=_0x40b7e7['targetCellInfo'];_0x4e9028===_0x31efbb['unitId']&&_0x2fdb5c===_0x31efbb[_0x1ec67b(0x31c)]&&(_0x4ac0fb[_0x107950+'-'+_0x5cee6d]=_0x4cbec9);}return _0x1af5ed&&_0x31efbb&&_0x1af5ed['forEach'](_0x5e8d6a=>{const _0x10c8e7=_0x1ec67b;_0x544178[_0x10c8e7(0x3c9)][_0x10c8e7(0x269)](_0x5e8d6a,(_0xa7f85d,_0x1f17f8)=>{const _0x55d920=_0x10c8e7,_0x4b40cc=_0xa7f85d+'-'+_0x1f17f8;if(_0x4ac0fb[_0x4b40cc]){const _0x3348f6=_0x4ac0fb[_0x4b40cc];_0x33ba8d[_0x55d920(0x3b6)]({'id':_0x6df2a2['id'],'params':{'unitId':_0x96712a,'subUnitId':_0x15b34a,'pivotTableId':_0x3348f6}});const _0xb62e71=this[_0x55d920(0x196)]['getCollection'](_0x96712a,_0x3348f6),_0x3ea19d=this['_sheetsPivotTableConfigModel'][_0x55d920(0x2df)](_0x96712a,_0x15b34a,_0x3348f6);_0x2b495c['push']({'id':_0x361ca1['id'],'params':{'unitId':_0x96712a,'subUnitId':_0x15b34a,'pivotTableId':_0x3348f6,'pivotTableConfig':_0x3ea19d,'collectionConfig':_0xb62e71}});}});}),{'redos':_0x33ba8d,'undos':_0x2b495c};}return{'redos':[],'undos':[]};}}));}};_0x783775=_0x2602e5([_0x183f31(0x0,_0x544178['IUniverInstanceService']),_0x183f31(0x1,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14['SheetInterceptorService'])),_0x183f31(0x2,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14['SheetsSelectionsService'])),_0x183f31(0x3,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x253)]))],_0x783775);var _0x3f1e91=Object['getOwnPropertyDescriptor'],_0x12e89f=(_0x21096a,_0x2ef873,_0x35710a,_0xf85b86)=>{for(var _0x10f09c=_0xf85b86>0x1?void 0x0:_0xf85b86?_0x3f1e91(_0x2ef873,_0x35710a):_0x2ef873,_0x1e8d85=_0x21096a['length']-0x1,_0x15b99f;_0x1e8d85>=0x0;_0x1e8d85--)(_0x15b99f=_0x21096a[_0x1e8d85])&&(_0x10f09c=_0x15b99f(_0x10f09c)||_0x10f09c);return _0x10f09c;},_0x436518=(_0x428f82,_0x219fb6)=>(_0x1e60f5,_0x3a59c2)=>_0x219fb6(_0x1e60f5,_0x3a59c2,_0x428f82);let _0x13f31f=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0x997cf3,_0x11e3d7,_0x1eb10d,_0x211b9c,_0x3ab9f4,_0x5be516){const _0x12012c=_0x4226f5;super(),this[_0x12012c(0x310)]=_0x997cf3,this[_0x12012c(0x3f1)]=_0x11e3d7,this['_injector']=_0x1eb10d,this[_0x12012c(0x1a1)]=_0x211b9c,this['_sheetsPivotTableConfigModel']=_0x3ab9f4,this['_sheetsPivotTableService']=_0x5be516,this[_0x12012c(0x1c0)]();}[_0x4226f5(0x256)](_0x139ff6,_0x4d4040,_0x1140ed){const _0x28bf75=_0x4226f5,{pageView:_0x5b5915,cornerView:_0x4e3a6e,rowView:_0xabb5e2,colView:_0x3ecc03,dataView:_0x4438f8}=_0x4d4040,_0x38e1ab=_0x139ff6;let _0x5a75f7;if(_0x1140ed)_0x5a75f7=[..._0x51af1f(_0x38e1ab)];else{const _0x42e92c=_0x1824d9(_0x38e1ab,_0x5b5915,!0x0),_0xfe619d=_0x5b5915[_0x28bf75(0x1f3)]>=0x0?_0x5b5915['lastRow']+0x1:0x0,_0x67bd96=_0x4e3a6e[_0x28bf75(0x1c7)],_0x5db783=_0x4e3a6e['colCount'],_0x5c8fb5=_0x42e92c[_0x28bf75(0x25a)]>0x0?_0x3d9b1f:0x0,_0x68b6c9=_0x1824d9({'row':_0x38e1ab['row']+_0xfe619d+_0x5c8fb5,'col':_0x38e1ab['col']},_0x4e3a6e,!0x1,!0x1),_0xb8dc5=_0x1824d9({'row':_0x38e1ab[_0x28bf75(0x3e1)]+_0xfe619d+_0x5c8fb5+_0x67bd96,'col':_0x38e1ab[_0x28bf75(0x2e6)]},_0xabb5e2,!0x1,!0x0),_0x44cbaa=_0x1824d9({'row':_0x38e1ab[_0x28bf75(0x3e1)]+_0xfe619d+_0x5c8fb5,'col':_0x38e1ab[_0x28bf75(0x2e6)]+_0x5db783},_0x3ecc03,!0x1,!0x0),_0x52e19c=_0x1824d9({'row':_0x38e1ab[_0x28bf75(0x3e1)]+_0xfe619d+_0x5c8fb5+_0x67bd96,'col':_0x38e1ab[_0x28bf75(0x2e6)]+_0x5db783},_0x4438f8,!0x1,!0x0);_0x5a75f7=[..._0x42e92c,..._0x68b6c9,..._0xb8dc5,..._0x44cbaa,..._0x52e19c];}return _0x5a75f7;}[_0x4226f5(0x1c0)](){const _0x46eeb9=_0x4226f5;this[_0x46eeb9(0x462)](this[_0x46eeb9(0x218)][_0x46eeb9(0x1e2)]['intercept'](this[_0x46eeb9(0x218)][_0x46eeb9(0x1e2)][_0x46eeb9(0x205)]()[_0x46eeb9(0x2b2)],{'handler':(_0x7da47c,_0x328fde)=>{const _0x56a6bc=_0x46eeb9,{cellInfo:_0x392c02,view:_0x5cf45a,isEmpty:_0xd2eda8}=_0x328fde,_0xdb3ebe=_0x392c02,{unitId:_0x51b97d,subUnitId:_0x4237cd}=_0xdb3ebe,_0x1274bf=this[_0x56a6bc(0x256)](_0x392c02,_0x5cf45a,_0xd2eda8),_0x12d7e8=this[_0x56a6bc(0x3f1)]['generateMutationsByRanges']({'unitId':_0x51b97d,'subUnitId':_0x4237cd,'ranges':_0x1274bf}),_0x2bf73c=_0x3c5784(this[_0x56a6bc(0x1c2)],_0x51b97d,_0x4237cd,_0x1274bf);_0x2bf73c[_0x56a6bc(0x222)]&&(_0x12d7e8[_0x56a6bc(0x20a)][_0x56a6bc(0x3b6)](_0x2bf73c['setRangeValueRedoMutation']),_0x12d7e8[_0x56a6bc(0x2fc)][_0x56a6bc(0x3b6)](_0x2bf73c[_0x56a6bc(0x2a6)]));const _0x1e52be=this[_0x56a6bc(0x1bb)](_0x5cf45a,_0x392c02);return _0x12d7e8[_0x56a6bc(0x20a)][_0x56a6bc(0x3b6)](..._0x1e52be[_0x56a6bc(0x20a)]),_0x12d7e8[_0x56a6bc(0x2fc)][_0x56a6bc(0x3b6)](..._0x1e52be['undos']),{'redos':_0x12d7e8[_0x56a6bc(0x20a)],'undos':_0x12d7e8[_0x56a6bc(0x2fc)]};}}));}[_0x4226f5(0x1bb)](_0x41d0de,_0x21e68b){const _0x1af760=_0x4226f5,{col:_0x4f3351,unitId:_0x5ddee5,subUnitId:_0x5a004f}=_0x21e68b,_0x39df70=[],_0x4a37a6=[],_0x3f6246=_0x4f9a14[_0x1af760(0x2dd)](this[_0x1af760(0x1a1)],{'unitId':_0x5ddee5,'subUnitId':_0x5a004f});if(!_0x21e68b||!_0x41d0de||!_0x3f6246)return{'undos':_0x4a37a6,'redos':_0x39df70};const _0x19caae=this[_0x1af760(0x196)][_0x1af760(0x19f)](),{colView:_0x53efe8,dataView:_0x43496f,cornerView:_0x4da2d5,rowView:_0x2535f6,formatMap:_0x45bc42}=_0x41d0de,_0x508fee=_0x40c248(_0x53efe8,_0x19caae,!0x0,_0x45bc42),_0x11c8d1=_0x40c248(_0x2535f6,_0x19caae,!0x1,_0x45bc42),_0x241f08=_0x2ab2c9(_0x43496f),_0x315265=_0x4b3738(_0x4da2d5),{worksheet:_0x355575}=_0x3f6246;if(typeof window<'u'&&window[_0x1af760(0x39f)]){const _0x38a97d=_0x3f032c[_0x1af760(0x434)]({..._0x41498d[_0x1af760(0x2c9)]}),_0x329145=_0x3f032c['FontCache'][_0x1af760(0x249)](_0x508fee,_0x38a97d)[_0x1af760(0x1c1)]+0x10,_0xad0bee=_0x3f032c[_0x1af760(0x415)][_0x1af760(0x249)](_0x241f08,_0x38a97d)[_0x1af760(0x1c1)],_0x24c7da=Math[_0x1af760(0x386)](Math['max'](_0x329145,_0xad0bee))+0x10,_0x2a10c5=Math[_0x1af760(0x386)](_0x3f032c[_0x1af760(0x415)][_0x1af760(0x249)](_0x11c8d1,_0x38a97d)['width']),_0xbedad8=Math['floor'](_0x3f032c[_0x1af760(0x415)]['getTextSize'](_0x315265,_0x38a97d)['width']),_0x5efbd7=Math[_0x1af760(0x283)](_0x2a10c5,_0xbedad8,0x28)+0xc,_0x15b9b0=_0x53efe8[_0x1af760(0x408)]+_0x4da2d5[_0x1af760(0x408)],_0x43e3be={},_0x520f0d={};for(let _0x71d7c8=_0x4f3351;_0x71d7c8<_0x4f3351+_0x15b9b0;_0x71d7c8++){const _0xadd3b1=_0x355575[_0x1af760(0x25b)](_0x71d7c8);_0x43e3be[_0x71d7c8]=_0xadd3b1,_0x71d7c8-_0x4f3351<_0x4da2d5[_0x1af760(0x408)]?_0x520f0d[_0x71d7c8-_0x4f3351]=_0x5efbd7:_0x520f0d[_0x71d7c8-_0x4f3351]=_0x24c7da;}_0x39df70['push']({'id':_0x4f9a14[_0x1af760(0x3fb)]['id'],'params':{'subUnitId':_0x5a004f,'unitId':_0x5ddee5,'ranges':[{'startColumn':_0x4f3351,'endColumn':_0x4f3351+_0x15b9b0-0x1,'startRow':0x0,'endRow':_0x355575['getRowCount']()-0x1}],'colWidth':_0x520f0d}}),_0x4a37a6[_0x1af760(0x3b6)]({'id':_0x4f9a14['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5a004f,'unitId':_0x5ddee5,'ranges':[{'startColumn':_0x4f3351,'endColumn':_0x4f3351+_0x15b9b0-0x1,'startRow':0x0,'endRow':_0x355575[_0x1af760(0x2e2)]()-0x1}],'colWidth':_0x43e3be}});}return{'undos':_0x4a37a6,'redos':_0x39df70};}};_0x13f31f=_0x12e89f([_0x436518(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x229)])),_0x436518(0x1,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14['SheetInterceptorService'])),_0x436518(0x2,_0x544178['Inject'](_0x544178['Injector'])),_0x436518(0x3,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x1a0)])),_0x436518(0x4,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x253)])),_0x436518(0x5,_0x544178['Inject'](_0x530537[_0x4226f5(0x3b7)]))],_0x13f31f);var _0x207e5e=Object['getOwnPropertyDescriptor'],_0x4d7f40=(_0xdbc742,_0xb7a31e,_0x442a75,_0x2f9d8b)=>{const _0x40a50f=_0x4226f5;for(var _0x2345f4=_0x2f9d8b>0x1?void 0x0:_0x2f9d8b?_0x207e5e(_0xb7a31e,_0x442a75):_0xb7a31e,_0x2f429b=_0xdbc742[_0x40a50f(0x25a)]-0x1,_0xacef49;_0x2f429b>=0x0;_0x2f429b--)(_0xacef49=_0xdbc742[_0x2f429b])&&(_0x2345f4=_0xacef49(_0x2345f4)||_0x2345f4);return _0x2345f4;},_0x331599=(_0x481cde,_0x51f495)=>(_0x1b3f88,_0x11e6e2)=>_0x51f495(_0x1b3f88,_0x11e6e2,_0x481cde);let _0x46d267=class extends _0x544178['Disposable']{constructor(_0x1e6d08,_0x168927,_0x304605,_0x3d3759,_0x1214b1,_0x65d905,_0x3139ea){const _0x220251=_0x4226f5;super(),_0x52962a(this,_0x220251(0x291),new _0x544178['DisposableCollection']()),(this[_0x220251(0x1c2)]=_0x1e6d08,this[_0x220251(0x2ef)]=_0x168927,this[_0x220251(0x1ad)]=_0x304605,this[_0x220251(0x1a1)]=_0x3d3759,this[_0x220251(0x196)]=_0x1214b1,this[_0x220251(0x371)]=_0x65d905,this[_0x220251(0x3f1)]=_0x3139ea,this[_0x220251(0x26b)]());}[_0x4226f5(0x26b)](){const _0x392e15=_0x4226f5,_0x5bae41=(_0x5958f3,_0xa0e3a5)=>{const _0x6f7788=_0x4bc0,_0x1c538e=this['_univerInstanceService'][_0x6f7788(0x3c5)](_0x544178[_0x6f7788(0x2bd)]['UNIVER_SHEET']);if(!_0x1c538e||!(_0x1c538e==null?void 0x0:_0x1c538e[_0x6f7788(0x2fd)](_0xa0e3a5)))return;this[_0x6f7788(0x291)][_0x6f7788(0x43d)]();const _0x40e5d5=_0x41da5a=>this[_0x6f7788(0x1f8)](_0x41da5a,_0x5958f3,_0xa0e3a5),_0x46fad0=this[_0x6f7788(0x196)][_0x6f7788(0x3cc)](_0x5958f3,_0xa0e3a5);if(!(_0x46fad0!=null&&_0x46fad0[_0x6f7788(0x3a5)]))return;Array['from'](_0x46fad0[_0x6f7788(0x32d)]())[_0x6f7788(0x3a8)](_0x1bda42=>{const _0x512ce6=_0x6f7788,{row:_0x4874e9,col:_0x567801}=_0x1bda42[_0x512ce6(0x2a0)];return _0x544178[_0x512ce6(0x23d)](_0x4874e9,_0x567801);})['forEach'](_0x1d1fcf=>{const _0x5d2d51=_0x6f7788;this[_0x5d2d51(0x291)][_0x5d2d51(0x287)](this['_refRangeService'][_0x5d2d51(0x3f5)](_0x1d1fcf,_0x40e5d5,_0x5958f3,_0xa0e3a5));});},_0x2c9641=()=>{const _0x293b02=_0x4bc0,_0x20b627=this['_univerInstanceService'][_0x293b02(0x3c5)](_0x544178[_0x293b02(0x2bd)][_0x293b02(0x429)]);if(_0x20b627){const _0x5f5aa8=_0x20b627['getActiveSheet']();if(!_0x5f5aa8)return;_0x5bae41(_0x20b627[_0x293b02(0x45b)](),_0x5f5aa8[_0x293b02(0x1b7)]());}};this['disposeWithMe'](this[_0x392e15(0x1ad)][_0x392e15(0x3ac)](_0x174415=>{const _0x2b8dea=_0x392e15;if(_0x174415['id']===_0x4f9a14['SetWorksheetActiveOperation']['id']){const _0x2b7ba6=_0x174415[_0x2b8dea(0x24a)],_0x4780b7=_0x2b7ba6['subUnitId'],_0x1f15f0=_0x2b7ba6[_0x2b8dea(0x384)];if(!_0x4780b7||!_0x1f15f0)return;_0x5bae41(_0x1f15f0,_0x4780b7);}})),this[_0x392e15(0x462)](this[_0x392e15(0x196)]['pivotInitCompleted$'][_0x392e15(0x16b)](_0x154590=>{_0x154590&&_0x2c9641();})),this[_0x392e15(0x462)](this[_0x392e15(0x196)][_0x392e15(0x3af)]['subscribe'](_0xa2dd96=>{const _0x32cacb=_0x392e15,_0x5dc246=_0x4f9a14[_0x32cacb(0x2dd)](this[_0x32cacb(0x1a1)]);if(!_0x5dc246)return;const {unitId:_0x609d06,subUnitId:_0x3fc32b}=_0x5dc246,{unitId:_0x130da1,subUnitId:_0x3d7bc5}=_0xa2dd96;_0x609d06!==_0x130da1||_0x3fc32b!==_0x3d7bc5||_0x5bae41(_0x609d06,_0x3fc32b);})),_0x2c9641();}['_refRangeHandle'](_0x43ffca,_0x37cdda,_0x9769f5){const _0x309f76=_0x4226f5;switch(_0x43ffca['id']){case _0x4f9a14[_0x309f76(0x2ea)]['id']:return this[_0x309f76(0x150)](_0x43ffca[_0x309f76(0x24a)],_0x37cdda,_0x9769f5);}return{'redos':[],'undos':[]};}[_0x4226f5(0x150)](_0x5eb1ca,_0x1fc82f,_0x42f4c8){const _0x1722ae=_0x4226f5,{fromRange:_0x1944fc,toRange:_0x4187ac}=_0x5eb1ca,_0x5cb091=[],_0x3c2fa4=[],_0x4f2c0d=_0x4f9a14[_0x1722ae(0x2dd)](this[_0x1722ae(0x1a1)]);if(!_0x4f2c0d)return{'undos':_0x3c2fa4,'redos':_0x5cb091};if(_0x1fc82f!==_0x4f2c0d[_0x1722ae(0x384)]||_0x42f4c8!==_0x4f2c0d[_0x1722ae(0x31c)])return{'undos':_0x3c2fa4,'redos':_0x5cb091};const _0x4452a5=this[_0x1722ae(0x196)]['getSubUnitPivotConfigs'](_0x1fc82f,_0x42f4c8);if(_0x4452a5!=null&&_0x4452a5[_0x1722ae(0x3a5)])for(const [_0x466ffe,_0x19a513]of _0x4452a5){const {unitId:_0x580cd4,subUnitId:_0x121fe7,row:_0x102b3b,col:_0xa98563}=_0x19a513[_0x1722ae(0x2a0)];if(_0x580cd4===_0x4f2c0d[_0x1722ae(0x384)]&&_0x121fe7===_0x4f2c0d[_0x1722ae(0x31c)]){const _0x289342=_0x544178[_0x1722ae(0x23d)](_0x102b3b,_0xa98563);if(_0x544178[_0x1722ae(0x30a)]['intersects'](_0x289342,_0x1944fc)){const _0x72b8a8=_0x102b3b-_0x1944fc[_0x1722ae(0x18c)],_0x597c37=_0xa98563-_0x1944fc[_0x1722ae(0x1b2)],_0x3df131={'row':_0x4187ac[_0x1722ae(0x18c)]+_0x72b8a8,'col':_0x4187ac[_0x1722ae(0x1b2)]+_0x597c37};_0x5cb091[_0x1722ae(0x3b6)]({'id':_0x19a8d1['id'],'params':{'unitId':_0x580cd4,'subUnitId':_0x121fe7,'pivotTableId':_0x466ffe,'targetCellPosition':_0x3df131}}),_0x3c2fa4['push']({'id':_0x19a8d1['id'],'params':{'unitId':_0x580cd4,'subUnitId':_0x121fe7,'pivotTableId':_0x466ffe,'targetCellPosition':{'row':_0x102b3b,'col':_0xa98563}}});const _0xe48b7=_0x3df131[_0x1722ae(0x3e1)]-_0x102b3b,_0x41385a=_0x3df131[_0x1722ae(0x2e6)]-_0xa98563,_0x585974=[],_0x59549b=this['_sheetsPivotTableAdaptorModel'][_0x1722ae(0x3b9)](_0x580cd4,_0x121fe7,_0x466ffe),_0x5d40cb=_0x59549b==null?void 0x0:_0x59549b['rangesInfo'];if(_0x5d40cb){Object['keys'](_0x5d40cb)['forEach'](_0x454458=>{const _0x467007=_0x1722ae;_0x5d40cb[_0x454458][_0x467007(0x39b)](_0x55df28=>{const _0x10723b=_0x467007,_0x54059c={..._0x55df28};_0x54059c[_0x10723b(0x18c)]=_0x55df28['startRow']+_0xe48b7,_0x54059c[_0x10723b(0x38d)]=_0x55df28[_0x10723b(0x38d)]+_0xe48b7,_0x54059c[_0x10723b(0x1b2)]=_0x55df28[_0x10723b(0x1b2)]+_0x41385a,_0x54059c[_0x10723b(0x463)]=_0x55df28['endColumn']+_0x41385a,_0x585974[_0x10723b(0x3b6)](_0x54059c);});});const _0x2172c2=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x580cd4,'subUnitId':_0x121fe7,'ranges':_0x585974});_0x5cb091[_0x1722ae(0x3b6)](..._0x2172c2[_0x1722ae(0x20a)]),_0x3c2fa4[_0x1722ae(0x3b6)](..._0x2172c2[_0x1722ae(0x2fc)]);const _0x1c0364=_0x3c5784(this[_0x1722ae(0x1c2)],_0x580cd4,_0x121fe7,_0x585974);_0x1c0364[_0x1722ae(0x222)]&&(_0x5cb091[_0x1722ae(0x3b6)](_0x1c0364[_0x1722ae(0x1af)]),_0x3c2fa4[_0x1722ae(0x3b6)](_0x1c0364[_0x1722ae(0x2a6)]));}}}}return{'redos':_0x5cb091,'undos':_0x3c2fa4};}};_0x46d267=_0x4d7f40([_0x331599(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178['Injector'])),_0x331599(0x1,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14['RefRangeService'])),_0x331599(0x2,_0x544178[_0x4226f5(0x37b)]),_0x331599(0x3,_0x544178[_0x4226f5(0x1a0)]),_0x331599(0x4,_0x544178[_0x4226f5(0x2b4)](_0x530537['SheetsPivotTableConfigModel'])),_0x331599(0x5,_0x544178['Inject'](_0x530537['SheetsPivotTableAdaptorModel'])),_0x331599(0x6,_0x544178['Inject'](_0x4f9a14[_0x4226f5(0x258)]))],_0x46d267);var _0x4bdfd3=Object['getOwnPropertyDescriptor'],_0x36546b=(_0x4a99f6,_0x11d53c,_0x27e554,_0x556216)=>{const _0x4157a2=_0x4226f5;for(var _0xb46408=_0x556216>0x1?void 0x0:_0x556216?_0x4bdfd3(_0x11d53c,_0x27e554):_0x11d53c,_0x52a2fd=_0x4a99f6[_0x4157a2(0x25a)]-0x1,_0x5b5b42;_0x52a2fd>=0x0;_0x52a2fd--)(_0x5b5b42=_0x4a99f6[_0x52a2fd])&&(_0xb46408=_0x5b5b42(_0xb46408)||_0xb46408);return _0xb46408;},_0x2524e8=(_0x2b1089,_0x25cabe)=>(_0x56a11b,_0x1f380b)=>_0x25cabe(_0x56a11b,_0x1f380b,_0x2b1089);let _0x5202e4=class extends _0x544178['Disposable']{constructor(_0x81036d,_0x57130b){const _0x138350=_0x4226f5;super(),this[_0x138350(0x3f1)]=_0x81036d,this[_0x138350(0x196)]=_0x57130b,this[_0x138350(0x22d)]();}[_0x4226f5(0x22d)](){const _0x4b0935=_0x4226f5;this[_0x4b0935(0x462)](this[_0x4b0935(0x3f1)][_0x4b0935(0x2a8)]({'getMutations':_0x348b4d=>{const _0x2aedfe=_0x4b0935;if(_0x348b4d['id']===_0x4f9a14['RemoveSheetCommand']['id']){const _0x4d64ea=[],_0x242835=[],_0x1e1d63=_0x348b4d[_0x2aedfe(0x24a)],{unitId:_0x17026d,subUnitId:_0x340d29}=_0x1e1d63;if(!_0x17026d||!_0x340d29)return{'undos':_0x242835,'redos':_0x4d64ea};const _0x3cc0f3=this[_0x2aedfe(0x196)]['getSubUnitPivotConfigs'](_0x17026d,_0x340d29);if(_0x3cc0f3!=null&&_0x3cc0f3['size'])for(const [_0x3c03c6,_0x1f45dc]of _0x3cc0f3){_0x4d64ea['push']({'id':_0x6df2a2['id'],'params':{'unitId':_0x17026d,'subUnitId':_0x340d29,'pivotTableId':_0x3c03c6}});const _0x2c157c={...this[_0x2aedfe(0x196)][_0x2aedfe(0x169)](_0x17026d,_0x3c03c6)};_0x242835[_0x2aedfe(0x3b6)]({'id':_0x361ca1['id'],'params':{'unitId':_0x17026d,'subUnitId':_0x340d29,'pivotTableId':_0x3c03c6,'pivotTableConfig':_0x1f45dc,'collectionConfig':_0x2c157c}});}return{'redos':_0x4d64ea,'undos':_0x242835};}return{'redos':[],'undos':[]};}}));}};_0x5202e4=_0x36546b([_0x2524e8(0x0,_0x544178[_0x4226f5(0x2b4)](_0x4f9a14[_0x4226f5(0x258)])),_0x2524e8(0x1,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x253)]))],_0x5202e4);var _0x4d7ba8=Object[_0x4226f5(0x357)],_0x3b3dfe=(_0x431c8b,_0x3caba7,_0xe27636,_0xea666f)=>{const _0x41e5c6=_0x4226f5;for(var _0x5f47a1=_0xea666f>0x1?void 0x0:_0xea666f?_0x4d7ba8(_0x3caba7,_0xe27636):_0x3caba7,_0x5942e5=_0x431c8b[_0x41e5c6(0x25a)]-0x1,_0x216523;_0x5942e5>=0x0;_0x5942e5--)(_0x216523=_0x431c8b[_0x5942e5])&&(_0x5f47a1=_0x216523(_0x5f47a1)||_0x5f47a1);return _0x5f47a1;},_0x490046=(_0x302bcc,_0x50d9a1)=>(_0x221ab0,_0xe97a87)=>_0x50d9a1(_0x221ab0,_0xe97a87,_0x302bcc);let _0x1a656c=class extends _0x544178[_0x4226f5(0x1de)]{constructor(_0x3d2597,_0x59c6be,_0x408390,_0x1061f5,_0x1f5566,_0x5b4c7c){const _0x3ce06f=_0x4226f5;super(),this['_commandService']=_0x3d2597,this['_sheetsPivotRpcService']=_0x59c6be,this[_0x3ce06f(0x371)]=_0x408390,this['_sheetsPivotTableConfigModel']=_0x1061f5,this[_0x3ce06f(0x1a1)]=_0x1f5566,this[_0x3ce06f(0x35b)]=_0x5b4c7c,this['_initDataSendListener'](),this[_0x3ce06f(0x234)]();}[_0x4226f5(0x3e3)](){const _0x35b88e=_0x4226f5;this['disposeWithMe'](this[_0x35b88e(0x1ad)][_0x35b88e(0x3ac)](_0x46f9c6=>{const _0xd96ab4=_0x35b88e;if(_0x46f9c6['id']!==_0x368b8c['id'])return;const _0xdda041=_0x46f9c6[_0xd96ab4(0x24a)];this[_0xd96ab4(0x40d)][_0xd96ab4(0x220)](_0xdda041);})),this[_0x35b88e(0x462)](this[_0x35b88e(0x1ad)]['onCommandExecuted'](_0xc3dd7b=>{const _0x2fc9db=_0x35b88e;if(_0xc3dd7b['id']===_0x50cb32['id']){const _0x3c11fd=_0xc3dd7b['params'];if(_0x3c11fd){const {unitId:_0x3d2dd9,subUnitId:_0x55baab,oldSubUnitId:_0x1130d5,pivotTableId:_0x30c6ab,pivotTableConfig:_0xd83a84,collectionConfig:_0x4badf7}=_0x3c11fd;this[_0x2fc9db(0x196)][_0x2fc9db(0x28c)](_0x3d2dd9,_0x1130d5,_0x3c11fd[_0x2fc9db(0x2d5)],null),this[_0x2fc9db(0x196)][_0x2fc9db(0x28c)](_0x3d2dd9,_0x55baab,_0x30c6ab,_0xd83a84),this[_0x2fc9db(0x196)][_0x2fc9db(0x34a)](_0x3d2dd9,_0x4badf7);}}})),this['disposeWithMe'](this[_0x35b88e(0x1ad)]['onCommandExecuted'](_0x381f5d=>{const _0x13ce40=_0x35b88e;if(_0x381f5d['id']!==_0x55352a['id'])return;const _0x16a536=_0x4f9a14[_0x13ce40(0x2dd)](this['_univerInstanceService']);if(!_0x16a536)return;const {unitId:_0x16907f,subUnitId:_0x3bb7ba}=_0x16a536,_0x21c4a6=_0x381f5d[_0x13ce40(0x24a)];if(_0x21c4a6[_0x13ce40(0x466)]&&Object[_0x13ce40(0x323)](_0x21c4a6['collectionConfig'])[_0x13ce40(0x39b)](_0x356346=>{const _0xe75b3=_0x13ce40;var _0x97a31d;(_0x97a31d=_0x21c4a6[_0xe75b3(0x466)])!=null&&_0x97a31d[_0x356346]&&this[_0xe75b3(0x196)][_0xe75b3(0x34a)](_0x356346,_0x21c4a6['collectionConfig'][_0x356346]);}),_0x21c4a6[_0x13ce40(0x176)]){const _0x381029=_0x21c4a6['single'],{unitId:_0xd55146,subUnitId:_0x3ae00e,view:_0x29dc72,pivotTableId:_0x14b1f0,type:_0x5bface,pivotConfig:_0x242cce}=_0x381029;if(_0x5bface===_0x580ace['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x13ce40(0x319)]({'unitId':_0xd55146,'subUnitId':_0x3ae00e,'pivotTableId':_0x14b1f0,'type':_0x5bface}),this[_0x13ce40(0x196)][_0x13ce40(0x28c)](_0xd55146,_0x3ae00e,_0x14b1f0,null);else{const _0x4e8d6d=new _0x12f0a9[(_0x13ce40(0x3be))]();_0x4e8d6d[_0x13ce40(0x1ff)](_0x29dc72),this['_sheetsPivotTableConfigModel'][_0x13ce40(0x28c)](_0xd55146,_0x3ae00e,_0x14b1f0,_0x242cce),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0xd55146,'subUnitId':_0x3ae00e,'pivotTableId':_0x14b1f0,'type':_0x5bface,'view':_0x4e8d6d}),this['_sheetsPivotTableAdaptorModel'][_0x13ce40(0x31e)]({'unitId':_0xd55146,'subUnitId':_0x3ae00e,'view':_0x4e8d6d,'pivotTableId':_0x14b1f0,'type':_0x5bface});}}else _0x21c4a6['batch']&&(_0x21c4a6[_0x13ce40(0x39c)][_0x13ce40(0x39b)](_0x358ea5=>{const _0x3881af=_0x13ce40,{unitId:_0x5c14e9,subUnitId:_0x304562,view:_0x54f349,pivotTableId:_0x236318,type:_0x40fa54,pivotConfig:_0x31954b}=_0x358ea5,_0x32833c=new _0x12f0a9[(_0x3881af(0x3be))]();_0x32833c[_0x3881af(0x1ff)](_0x54f349),this[_0x3881af(0x196)]['updateConfigCache'](_0x5c14e9,_0x304562,_0x236318,_0x31954b),this[_0x3881af(0x371)]['updateRenderCache']({'unitId':_0x5c14e9,'subUnitId':_0x304562,'view':_0x32833c,'pivotTableId':_0x236318,'type':_0x40fa54});}),this[_0x13ce40(0x196)]['setPivotInitCompleted']());this[_0x13ce40(0x371)][_0x13ce40(0x307)](_0x16907f,_0x3bb7ba);}));}['registerDirtyService'](){const _0x3d042b=_0x4226f5;this[_0x3d042b(0x35b)][_0x3d042b(0x417)](_0x1f0487['id'],{'commandId':_0x1f0487['id'],'getDirtyData'(_0x2c00b0){const _0xae5218=_0x3d042b;return{'dirtyUnitFeatureMap':_0x2c00b0[_0xae5218(0x24a)]};}});}};_0x1a656c=_0x3b3dfe([_0x490046(0x0,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x37b)])),_0x490046(0x1,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x2e3)])),_0x490046(0x2,_0x544178[_0x4226f5(0x2b4)](_0x530537[_0x4226f5(0x426)])),_0x490046(0x3,_0x544178['Inject'](_0x530537[_0x4226f5(0x253)])),_0x490046(0x4,_0x544178[_0x4226f5(0x2b4)](_0x544178['IUniverInstanceService'])),_0x490046(0x5,_0x11ed22[_0x4226f5(0x2e1)])],_0x1a656c);var _0x287511=Object[_0x4226f5(0x21a)],_0x42a2c2=Object['getOwnPropertyDescriptor'],_0x3da933=(_0xa690a9,_0x2a295e,_0x1a84f0)=>_0x2a295e in _0xa690a9?_0x287511(_0xa690a9,_0x2a295e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a84f0}):_0xa690a9[_0x2a295e]=_0x1a84f0,_0x388efc=(_0x25e453,_0x3b626d,_0x182fdb,_0x59adfa)=>{const _0x548578=_0x4226f5;for(var _0x4aa97f=_0x59adfa>0x1?void 0x0:_0x59adfa?_0x42a2c2(_0x3b626d,_0x182fdb):_0x3b626d,_0x39c809=_0x25e453[_0x548578(0x25a)]-0x1,_0x1816de;_0x39c809>=0x0;_0x39c809--)(_0x1816de=_0x25e453[_0x39c809])&&(_0x4aa97f=_0x1816de(_0x4aa97f)||_0x4aa97f);return _0x4aa97f;},_0x3969a9=(_0x415ca8,_0x4b3c96)=>(_0xfbf727,_0x175a1d)=>_0x4b3c96(_0xfbf727,_0x175a1d,_0x415ca8),_0x3c0ea9=(_0x48b553,_0x241805,_0x12409c)=>_0x3da933(_0x48b553,typeof _0x241805!='symbol'?_0x241805+'':_0x241805,_0x12409c);_0x530537[_0x4226f5(0x1db)]=class extends _0x544178[_0x4226f5(0x168)]{constructor(_0x1dceec=_0x5bbe1f,_0x2c713b,_0x422a72,_0xa7695f,_0x5614ad){const _0x208b4e=_0x4226f5;super(),this[_0x208b4e(0x2d9)]=_0x1dceec,this['_injector']=_0x2c713b,this[_0x208b4e(0x1ad)]=_0x422a72,this[_0x208b4e(0x29f)]=_0xa7695f,this[_0x208b4e(0x31b)]=_0x5614ad;const {..._0x185880}=_0x544178[_0x208b4e(0x264)]({},_0x5bbe1f,this['_config']);this[_0x208b4e(0x29f)]['setConfig'](_0x427bcd,_0x185880),this[_0x208b4e(0x2f4)](),this[_0x208b4e(0x399)]();}[_0x4226f5(0x399)](){const _0x4c3fca=_0x4226f5;var _0xf5df73;const _0x84557c=(_0xf5df73=this[_0x4c3fca(0x2d9)])==null?void 0x0:_0xf5df73[_0x4c3fca(0x3ce)];this[_0x4c3fca(0x29f)][_0x4c3fca(0x3cd)](_0x4762c4,_0x84557c===!0x0);}[_0x4226f5(0x1ab)](){const _0x4c9bae=_0x4226f5;var _0x183d1f;let _0x24cad0=[];const _0x32c0df=(_0x183d1f=this[_0x4c9bae(0x2d9)])==null?void 0x0:_0x183d1f[_0x4c9bae(0x3ce)];_0x32c0df===!0x0?_0x24cad0=[[_0x530537[_0x4c9bae(0x3b7)]],[_0x530537['SheetsPivotRPCService']],[_0x1a656c],[_0x530537[_0x4c9bae(0x426)]],[_0x530537[_0x4c9bae(0x253)]],[_0x5202e4],[_0x783775],[_0x46d267],[_0x13f31f]]:_0x32c0df===!0x1?_0x24cad0=[[_0x530537['SheetsPivotDataSourceModel']],[_0x49f2d2]]:_0x32c0df===void 0x0&&(_0x24cad0=[[_0x530537[_0x4c9bae(0x393)]],[_0x49f2d2],[_0x530537[_0x4c9bae(0x3b7)]],[_0x530537[_0x4c9bae(0x2e3)]],[_0x1a656c],[_0x530537[_0x4c9bae(0x426)]],[_0x530537[_0x4c9bae(0x253)]],[_0x5202e4],[_0x783775],[_0x46d267],[_0x13f31f]]),_0x24cad0[_0x4c9bae(0x39b)](_0x1b3b32=>this[_0x4c9bae(0x1c2)][_0x4c9bae(0x287)](_0x1b3b32)),[_0x49f2d2,_0x1a656c,_0x530537['SheetsPivotTableService'],_0x783775,_0x5202e4,_0x46d267,_0x13f31f][_0x4c9bae(0x39b)](_0x5eed04=>{const _0x5d2732=_0x4c9bae;this['_injector']['has'](_0x5eed04)&&this[_0x5d2732(0x1c2)][_0x5d2732(0x2c4)](_0x5eed04);});}[_0x4226f5(0x2f4)](){[_0xd0e956,_0x1fc1fe,_0x42a550,_0x3b838a,_0x321b83,_0x4d39b0,_0x93b744,_0x4983c6,_0x129126,_0xab4fb4,_0xa4f6c9,_0x2edab6,_0x349280,_0x3838a1,_0x361ca1,_0x3c3eae,_0x6df2a2,_0x4da8a9,_0x3a2555,_0x2c0789,_0x3042f4,_0x2666b4,_0x2eab8c,_0x105860,_0x1251fe,_0x2c2193,_0x19a8d1,_0x1c95a8,_0x368b8c,_0x55352a,_0x580eb3,_0x4b5dd7,_0x184bb4,_0x39d41f,_0x31c03a,_0x3a32c8,_0x496220,_0x1f0487,_0x50cb32,_0x22ea0c,_0x556a41,_0x11c259,_0x387be7]['forEach'](_0x39769a=>{const _0x3b633b=_0x4bc0;var _0x494543;(_0x494543=this[_0x3b633b(0x31b)])==null||_0x494543['registerSyncingMutations'](_0x39769a),this[_0x3b633b(0x1ad)][_0x3b633b(0x239)](_0x39769a);});}},_0x3c0ea9(_0x530537[_0x4226f5(0x1db)],_0x4226f5(0x38b),_0x8f5425),_0x3c0ea9(_0x530537[_0x4226f5(0x1db)],_0x4226f5(0x20f),_0x544178['UniverInstanceType'][_0x4226f5(0x429)]),_0x530537[_0x4226f5(0x1db)]=_0x388efc([_0x544178[_0x4226f5(0x28d)](_0x3a09fd[_0x4226f5(0x299)]),_0x3969a9(0x1,_0x544178[_0x4226f5(0x2b4)](_0x544178[_0x4226f5(0x230)])),_0x3969a9(0x2,_0x544178[_0x4226f5(0x2b4)](_0x544178['ICommandService'])),_0x3969a9(0x3,_0x544178[_0x4226f5(0x2b6)]),_0x3969a9(0x4,_0x544178[_0x4226f5(0x286)](_0x1eb7f5[_0x4226f5(0x1f0)]))],_0x530537[_0x4226f5(0x1db)]),_0x530537['AddPivotFieldCommand']=_0x42a550,_0x530537['AddPivotFieldMutation']=_0x4da8a9,_0x530537[_0x4226f5(0x179)]=_0x1fc1fe,_0x530537['AddPivotTableMutation']=_0x361ca1,_0x530537[_0x4226f5(0x2a4)]=_0xd0e956,_0x530537[_0x4226f5(0x45e)]=_0x3d9b1f,_0x530537[_0x4226f5(0x430)]=_0x3dcc94,_0x530537[_0x4226f5(0x448)]=_0x3b838a,_0x530537[_0x4226f5(0x261)]=_0x349280,_0x530537[_0x4226f5(0x2e5)]=_0x19b4e3,_0x530537[_0x4226f5(0x3d8)]=_0x3838a1,_0x530537[_0x4226f5(0x2f8)]=_0x580ace,_0x530537[_0x4226f5(0x1fc)]=_0x1f0487,_0x530537[_0x4226f5(0x36b)]=_0x388f51,_0x530537[_0x4226f5(0x1d4)]=_0x321b83,_0x530537[_0x4226f5(0x19a)]=_0x2666b4,_0x530537[_0x4226f5(0x1ec)]=_0x6df2a2,_0x530537['RenamePivotFieldMutation']=_0x2eab8c,_0x530537[_0x4226f5(0x3ba)]=_0x387be7,_0x530537[_0x4226f5(0x436)]=_0x427bcd,_0x530537[_0x4226f5(0x3d1)]=_0x8f5425,_0x530537[_0x4226f5(0x2a5)]=_0x4983c6,_0x530537[_0x4226f5(0x3f8)]=_0x105860,_0x530537[_0x4226f5(0x336)]=_0x39d41f,_0x530537['SetPivotFieldsConfigCommand']=_0x11c259,_0x530537[_0x4226f5(0x257)]=_0xab4fb4,_0x530537[_0x4226f5(0x409)]=_0x3042f4,_0x530537['SetPivotOptionMutation']=_0x2c2193,_0x530537['SetPivotPositionMutation']=_0x19a8d1,_0x530537[_0x4226f5(0x317)]=_0x129126,_0x530537['SetPivotSortMutation']=_0x1251fe,_0x530537['SetPivotSubtotalTypeMutation']=_0x184bb4,_0x530537[_0x4226f5(0x3a9)]=_0x22ea0c,_0x530537[_0x4226f5(0x2ca)]=_0x556a41,_0x530537[_0x4226f5(0x446)]=_0x93b744,_0x530537['UpdateFieldPositionMutation']=_0x580eb3,_0x530537['UpdatePivotFieldSettingCommand']=_0xa4f6c9,_0x530537['UpdatePivotFieldSourceInfoMutation']=_0x496220,_0x530537['UpdatePivotTableSourceRangeCommand']=_0x2edab6,_0x530537[_0x4226f5(0x1eb)]=_0x3a32c8,_0x530537['UpdatePivotValuePositionCommand']=_0x4d39b0,_0x530537[_0x4226f5(0x38e)]=_0x4b5dd7,_0x530537[_0x4226f5(0x314)]=_0x5e7103,_0x530537[_0x4226f5(0x2f9)]=_0x44394d,_0x530537[_0x4226f5(0x1e5)]=_0x41498d,_0x530537[_0x4226f5(0x263)]=_0x3c5784,_0x530537[_0x4226f5(0x232)]=_0x1824d9,_0x530537[_0x4226f5(0x2d4)]=_0x51af1f,_0x530537[_0x4226f5(0x28f)]=_0x11fcd3,_0x530537[_0x4226f5(0x330)]=_0x21c2f3,_0x530537[_0x4226f5(0x305)]=_0x2052ee,_0x530537['getPivotInfoByLicense']=_0x3b4981,_0x530537[_0x4226f5(0x43e)]=_0x47bfe3,_0x530537[_0x4226f5(0x423)]=_0x5436aa,_0x530537[_0x4226f5(0x40e)]=_0x4b6c31,Object[_0x4226f5(0x21a)](_0x530537,Symbol[_0x4226f5(0x255)],{'value':_0x4226f5(0x272)});}));
|