@univerjs-pro/sheets-pivot 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-825ae55

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2d70(){const _0x166ebd=['_requestResolvers','interceptCommand','areaInfo','initDataRanges','PivotDateGroupFieldDateTypeEnum','_pivotTableMatrixInfo','message','NO_COMMERCIAL','has','PivotTableFiledAreaEnum','triggerDirtyFeature','BadReference','updatePivotSource','setPivotInitCompleted','getSubUnitPivotConfigs','pivotInitCompleted$','Optional','UniverEngineFormula','REF','UniverEngineRender','AsyncInterceptorManager','sheet.command.move-pivot-field','call','Set','forEach','version','sheet.mutation.set-pivot-option','sheets-pivot.dateGroup.month','rangesInfo','_pivotRenderValueMatrixCache','registerRefRange','updateRangeKeyMap','updateFieldPosition','disposeWithMe','ICommandService','UpdateDateGroupCommand','generateRandomId','function','setSubtotalType','isBottomTotal','getMatrix','removeDataField','Expand','IFeatureCalculationManagerService','updateConfig','isArray','InsertSheetMutation','PivotCallbackEnum','width','ptn','ErrorType','SetPivotFilter','getValue','document','DEFAULT_PIVOT_NUMBER','NORMAL','charCodeAt','sheet.command.set-pivot-field-setting','getFullYear','_initSnapshot','getSourceName','col','dimension','RemoveSheetsFilterMutation','GrandTotal','sheets-pivot.cellDateGroupDisplay.hour','getPivotTableRangeInfo','registerCallbackWithEvent','DataField','realDeleteValue','NotNumber','CellValueType','_globalSubject','_pivotRenderInfoCache','split','remove','new','PivotFilterTypeEnum','SHEET_PIVOT_IN_MAIN_THREAD','rowRanges','AddPivotTableCommand','getOwnPropertyDescriptor','_commandService','movePivotField','hasField','@univerjs/engine-formula','setLabelFilterInfo','numberToABC','StdDevp\x20of\x20','sheets-pivot.config','dataStream','sideEffectUpdateWorkerCache','cellValue','Div0','valueFilter','PivotTableViewDirtyMarkOperation','InsertSheetUndoMutationFactory','NAME','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','@univerjs-pro/engine-pivot','sheets-pivot.cellDateGroupDisplay.date','value','rangeKeyMap','RemovePivotTableMutation','getPivotDirtyViewInfo','lastRow','forRow','getSubtotal','SHEET_PIVOT_EXCLUSIVE_ID','UniverProEnginePivot','pushUndoRedo','getRangeData','getFieldById','getLastCol','getSubUnitPivotRenderCache','isText','updateViewInfo','Count\x20of\x20','3029526OQaGfh','addPivotTable','sheet.mutation.set-pivot-sort-info','_initRegisterCommand','STRING','PivotDataFieldDataTypeEnum','level','getCurrentUnitForType','Range','PivotMultipleValueId','getSheetFeatureLimit','merge','max','_refRangeService','SetPivotOptionMutation','defineProperty','values','isErrorValue','5ygYvxx','onStarting','matrix','RemoveSheetMutation','IExclusiveRangeService','handleAsyncResponse','notExecuteFormula','isDateGroupField','Average\x20of\x20','IActiveDirtyManagerService','LocaleService','params','isDateGroupFieldJSON','Column\x20','getMonth','next','_generateUniqueVersion','_exclusiveRangeService','_updateModelCache','find','_sheetsPivotTableAdaptorModel','columnFields','dataRangeInfo','sheet.command.add-pivot-table-with-config','6jESGvw','getIntersectsPivotTable','sheet.mutation.add-pivot-table','_init','entries','asyncInterceptor','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','fontRenderExtension','count','_featureCalculationManagerService','sheet.mutation.send-pivot-config-local','colHeaderMap','headerMap','#f4f4f5','getDataFieldId','return\x20','UniverProSheetsPivot','sheet.mutation.remove-pivot-field','toStringTag','getValueFilterInfos','CustomCommandExecutionError','data','UniverRpc','intersects','785028gKglDh','sheets-pivot.dateGroup.year','DrillDown','reduce','(Blank)','_host','sheets-pivot.dateGroup.yearMonthDate','AddPivotFieldMutation','sheet.command.add-pivot-field','Disposable','options','UpdateValuePosition','getColumnCount','SheetsPivotTableAdaptorModel','countNums','startCollectChangeset','pageStyle','FontCache','map','Sum\x20of\x20','NotFunction','getDisplayName','SetPivotFieldFormatMutation','20wJrLWt','varp','getPivotItemRenderInfoCache','250506hxDptA','single','_initPivotTextInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','LS_CONFIG_KEY','_toJSON','RANGE_TYPE','measure','refreshDataField','name','getViewData','_pivotInitCompleted$','getFieldInfo','getStyles','SheetInterceptorService','_sheetsPivotTableConfigModel','SetSheetsFilterRangeMutation','SetPivotTableConfig','Injector','stringify','SetPivotSort','getSortInfo','intercept','getAutoDisplayNameFunction','getFilterInfo','custom','getId','getFieldFormat','getFieldListByArea','handleSourceRangeChange','isBaseGroupField','startRow','filterId','removePivotField','getPivotTableModelConfig','FieldsCollection','rowCount','UpdatePivotTableSourceRangeMutation','getIntersects','_initUnitDisposed','sheets-pivot.subTotal','BehaviorSubject','ResetPivotFieldsConfigCommand','getOriginFieldId','setRangeValueUndoMutation','getFieldCountByArea','pivotPerformCheck','resetPivotTable','subscribe','colRanges','length','addField','SheetsPivotTableConfigModel','registerDirtyService','DisposableCollection','Quarter','sum','panel','None','Grand\x20Total','addDirtyPivotTable','sheet.command.move-pivot-table','canUsePivot','SetFieldFormat','_resourceManagerService','rowHeaderMap','SetPivotSortCommand','SheetsPivotTableService','updateRenderCache','push','displayName','Rectangle','DEFAULT_WORKSHEET_COLUMN_COUNT','info','sheets-pivot.blank','MIN_SAFE_INTEGER','add','viewData$','UniverSheetsPivotTablePlugin','setSourceName','unshift','_updateRenderEmptyCache','sequenceExecute','MovePivotField','_getAutoName','setValueFilterInfo','InsertColMutation','_ensurePivotTableRangeInfo','@univerjs/engine-render','_initCommandInterceptListener','broadcastCollectionChange','AddPivotTable','versions','_onRefRangeChange','getAutoDisplayName','batch','forValue','sheets-pivot.cellDateGroupDisplay.minute','NotName','foreach','parse','_markDirty$','var','Panel','getDataFieldByRangeKey','updatePivotTableMatrixInfo','grandTotal','getConfig','random','sheet.command.set-pivot-collapse','_initLocale','serializeRangeWithSpreadsheet','setDataRecordCount','removeSourceRangeChange','collectionChange$','sheets-pivot.countNumsName','addDataFieldWithoutUnitInfo','generateMutationsByRanges','_configVersion$','dataFieldManagerConfig','sheets-pivot.varName','_activeDirtyManagerService','fetchThroughInterceptors','AddPivotTableWithConfig','valueFields','SetPivotCollapse','delete','RemovePivotField','_localeService','_viewData$','keys','SetPivotFieldsConfigCommand','updateValuePosition','updateAllDisplayName','lastCol','refreshGroupField','numfmt','MUTATION','collapseInfo','updateCollectionConfig','MAX_SAFE_INTEGER','getIndexesByPathStr','_viewUpdate$','renameField','sortInfo','_pivotConfigChange$','addFieldWithSourceId','SetPivotSetting','paths','ΣValue','sheet.mutation.rename-pivot-field','pluginName','UpdatePivotTableSourceRangeCommand','getMatrixValue','IUndoRedoService','originTargetInfo','isNaN','2076zIyKdp','getValueIndex','getRefRangeMutationsByMoveRange','getSheetCommandTarget','sheets-pivot.columnName','Hour','SetWorksheetActiveOperation','collection','blank','addExclusiveRange','SetCollapse','bind','Var\x20of\x20','subUnitId','getSubUnitPivotMatrix','registerSyncingMutations','fieldIds','pivotTableId','substring','row','_collectionConfigModel','sourceRangeInfo','getPivotInfoByLicense','SetValuePivotFilter','Inject','pivotMutationGenerate','valuePosition','sheet.command.update-pivot-table-source-range','iterateFieldDim','DEFAULT_WORKSHEET_ROW_COUNT','isPrefixValue','valid','fieldsConfig','leafStyle','sheets-pivot.varpName','setSortInfo','getUnitId','UpdatePivotFieldSettingCommand','Minute','existing','_pivotTableInstanceCache','rangeKey','getValuePosition','BaseGroupField','_initPivotDataGetListener','sheets-pivot.emptyPivot.column','targetCellInfo','Subject','SetPivotCollapseCommand','UniverInstanceType','endCollectChangeset','cornerRanges','setFieldFormat','removePivotTable','RemoveSheetCommand','@univerjs/rpc','getHeaderMapItem','Total','getDataFieldItemInfo','getColCount','PivotViewCellValueTypeEnum','sheets-pivot.grandTotal','sheets-pivot.stdDevpName','setConfig','New','Values','textInfo','isValue','isEmpty','SetPivotSortMutation','getPivotTableInfo','_fieldsCollectionChange$','AddPivotTableMutation','_collectionChange$','_updatePivotTableInstanceCache','setCollapse','pushComputingStatusSubject','setPivotTableConfig','oldMatrix','Delete','_config','executeCommand','_injector','getPivotTableMatrixInfo','sheets-pivot.maxName','token','Module','sheets-pivot.dateGroup.yearMonth','UpdatePivotFieldSourceInfoMutation','GlobalComputingStatusService','sheet.mutation.set-pivot-collapse','handleMoveRange','getDataFieldManager','SetValueFilter','_globalComputingSrv','LifecycleService','YearMonth','defaultThemeStyle','getRowCount','updateDirtyPivotTable','addCollection','pbt','sheet.command.update-date-group','Max\x20of\x20','adjustSheetCellData','sheets-pivot.dateGroup.minute','setDirty','_ensurePivotItemRenderValueMatrixCache','sheet.command.update-pivot-value-position','iterateFieldByArea','_initRemoveSheetCommandInterceptor','PivotTableChangeTypeEnum','setPivotSort','Collapse','sheet.mutation.send-pivot-view-local','getFieldDataType','PivotErrorTypeEnum','_dataFieldManagerCollection','getActiveSheet','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getTypeOfUnitDisposed$','COLUMN','sheet.mutation.update-date-group','_model','filterInfo','DependentOn','MoveRangeMutation','AddPivotFieldCommand','toJSON','Value','filterFields','removeValueFilterInfo','#b2b2b2','Plugin','getPivotDisplayConfig','UpdatePivotSource','Year','colStyle','getFilterFieldIdByIndex','sheets-pivot.dateGroup.hourMinute','PivotView','cellToRange','leftOffset','updateFieldSourceInfo','sheets-pivot.emptyPivot.values','getDataFieldByDataFieldId','sheet.mutation.set-pivot-position','getTextSize','sheets-pivot.cellDateGroupDisplay.month','8901970wlTmQs','getformat','getDataFieldByTableId','RemoveColMutation','addCollectionByJSON','SheetsPivotRPCService','fromJSON','sheets-pivot.value','_dataSyncPrimaryController','markDirty','getColumnWidth','_subjectFieldsCollectionChange','getUpdateRangeDeleteIds','dataFields','prefix','_queryingMap','subtotal','rowFields','resetArea','#1d32e9','getPivotTableIdByCell','createDataFieldId','sheets-pivot.dateGroup.quarter','@univerjs/core','drillDown','setRangeValueRedoMutation','NUMBER','Add','getDate','getRangeStartEndInfo','_textInfo','sheets-pivot.cellDateGroupDisplay.year','queryDirtyPivotTable','ReleaseType','ManualFilter','getLastRow','setValue','getFontStyleString','collectionConfig','_sheetsPivotDataSourceModel','SetRangeValuesMutation','undos','_deleteModelCache','setPivotTable','date','HourMinute','dataFieldId','deleteDataField','updateView','colInfo','clearExclusiveRangesByGroupId','Date','setName','MovePivotFieldCommand','sheet.mutation.add-pivot-field','refreshData','Subtotal','string','removeField','_sheetsPivotRpcService','onQueryStart','isColMultiMeasure','FORCE_STRING','sheet.command.remove-pivot-field','format','InterceptorEffectEnum','sheets.tabs.sheet','NUM','sheets-pivot.dateGroup.monthDate','valueIndex','fieldId','getAutoFitColumnsMutations','INTERCEPTOR_POINT','body','tableFieldId','UpdateFieldPosition','mergeWorksheetSnapshotWithDefault','sheet.mutation.update-pivot-table-source-range','excelDateToUnixMilliseconds','UNIVER_SHEET','addPivotTableWithConfig','reset','sheet.command.add-pivot-table','UniverProLicense','getSheetBySheetId','deepClone','SetOptions','PivotTableValuePositionEnum','getName','CommandType','_subjectViewChange','addRecord','rgb(255,255,255)','UpdateFieldPositionMutation','_ensureViewDataMap','getFieldPositionInfoById','registerPluginResource','rowStyle','number','error','splice','workbook\x20is\x20not\x20found','getInfo','fieldsCollectionChange$','getSheetId','Min\x20of\x20','getCellRaw','clearRenderCache','pivotTableIndexConfig','generateNewSheetName','Filter','fetchThroughAsyncInterceptors','rangeType','formJSON','deleteField','isDateValue','asObservable','_subjectCollectionChange','YearQuarter','unitId','cornerStyle','from','Varp\x20of\x20','pageRanges','range','Row','prototype','startColumn','getPivotTableInstance','removeCollectionImp','tuple','PivotTableOperationEnum','createCollectionWithDataRange','_ensurePivotMap','sheet.operation.pivot-table-view-formula-mark-dirty','4800144xUqKdJ','_getPivotAppliedRanges','InterceptorManager','collections','get','getSheets','floor','COMMAND','_globalComputedStartHelpFunc','iterateField','getTargetByPivotId','node','result','column','shouldClear','SHEET_PIVOT_TABLE_PLUGIN','disposableCollection','_configService','pivotConfigChange$','sheets-pivot.emptyPivot.row','IConfigService','sheets-pivot.averageName','setPivotSetting','_globalComputedEndHelpFunc','parseInt','addPivotField','IResourceManagerService','needSameDeleteModel','AddPivotField','generateHexNumber','getNoUsedDataFieldIds','#eceeff','getFieldIds','YearMonthDate','symbol','filter','createLabelField','_refRangeHandle','ClearSelectionAllCommand','PivotSubtotalTypeEnum','rxjs','SheetsPivotDataSourceModel','onCommandExecuted','_initDataSendListener','setRange','ResetPivotTable','Tools','contains','getPivotTableConfig','size','viewUpdate$','some','endRow','_sheetsPivotTableService','maxDate','RefRangeService','setPivotFilter','isDate','_initClearSelectionCommandInterceptor','min','_initViewModelBySheetInterceptor','setDisplayName','slice','SetWorksheetColWidthMutation','ObjectMatrix','SetPivotValueFilterMutation','_pivotTableRangeInfo','_deletePivotTableInstanceCache','unshiftString','query','removeCollections','Column','getUnit','colCount','object','toString','getPivotPerformCheck','Style','_sheetInterceptorService','pivotTableConfigs','getPivotCellInfo','average','setValuePivotFilter','sheetName','update','endColumn','IUniverInstanceService','SetPivotFilterCommand','unionPivotViewRange','PivotTable','sheets-pivot.dateGroup.yearQuarter','getAdjustRangesPosition','getRangeKeyList','registerCommand','generateSetRangeValueMutations','#FFFFFF','6297809ewqFvu','concat','sheets-pivot.stdDevName','Existing','sourceName','register','getSheetBySheetName','includes','redos','dispose','PivotCellStyleTypeEnum','fields','_initConfig','getCellMatrix','@univerjs/sheets','getMatrixFromRunTimeData','getRangeKey','SetPivotSubtotalTypeMutation','setRangeKeyMap','_univerInstanceService','171ilTYzC','deleteUnitId','set','uniqueDataFieldName','_ensurePivotTableMatrixInfo','stdDev','getInterceptPoints','updateConfigCache','dataFieldsCollection','getTableFieldById','dateType','CELL_CONTENT','getTextInfo','@univerjs/sheets-filter','sheet.mutation.send-init-pivot-text-local','UpdateValuePositionMutation','interceptor','sheet.mutation.pivot-update-field-source-info','setPivotCollapse','getPivotTableCellData','type','_createExclusiveRange','product','createInterceptorKey','PIVOT_MUTATION_GENERATE','getDataFieldBySourceName','@univerjs-pro/license','sheet.command.set-pivot-filter','_viewData','getCollection','updatePivotTableRangeInfo','DataFieldManager','createValueField','updateViewData'];_0x2d70=function(){return _0x166ebd;};return _0x2d70();}function _0x3af4(_0x4b1ad5,_0x1c45ec){const _0x2d70e2=_0x2d70();return _0x3af4=function(_0x3af47a,_0x35edd6){_0x3af47a=_0x3af47a-0x1ef;let _0x1b78f3=_0x2d70e2[_0x3af47a];return _0x1b78f3;},_0x3af4(_0x4b1ad5,_0x1c45ec);}(function(_0x17b85f,_0x41c060){const _0x2d5700=_0x3af4,_0x202030=_0x17b85f();while(!![]){try{const _0x4437c7=-parseInt(_0x2d5700(0x439))/0x1*(-parseInt(_0x2d5700(0x2a9))/0x2)+-parseInt(_0x2d5700(0x4d1))/0x3+parseInt(_0x2d5700(0x1f2))/0x4*(parseInt(_0x2d5700(0x4e3))/0x5)+-parseInt(_0x2d5700(0x4fb))/0x6*(-parseInt(_0x2d5700(0x425))/0x7)+-parseInt(_0x2d5700(0x3c5))/0x8+-parseInt(_0x2d5700(0x20c))/0x9*(-parseInt(_0x2d5700(0x209))/0xa)+parseInt(_0x2d5700(0x33e))/0xb;if(_0x4437c7===_0x41c060)break;else _0x202030['push'](_0x202030['shift']());}catch(_0x31df32){_0x202030['push'](_0x202030['shift']());}}}(_0x2d70,0x81088),function(_0x3647ed,_0x3f911b){const _0x1eda84=_0x3af4;typeof exports==_0x1eda84(0x40f)&&typeof module<'u'?_0x3f911b(exports,require(_0x1eda84(0x4be)),require(_0x1eda84(0x355)),require(_0x1eda84(0x4b0)),require(_0x1eda84(0x433)),require(_0x1eda84(0x3ed)),require(_0x1eda84(0x453)),require(_0x1eda84(0x446)),require(_0x1eda84(0x2e0)),require(_0x1eda84(0x264))):typeof define==_0x1eda84(0x480)&&define['amd']?define(['exports',_0x1eda84(0x4be),_0x1eda84(0x355),'@univerjs/engine-formula',_0x1eda84(0x433),'rxjs','@univerjs-pro/license','@univerjs/sheets-filter',_0x1eda84(0x2e0),_0x1eda84(0x264)],_0x3f911b):(_0x3647ed=typeof globalThis<'u'?globalThis:_0x3647ed||self,_0x3f911b(_0x3647ed[_0x1eda84(0x50b)]={},_0x3647ed[_0x1eda84(0x4c8)],_0x3647ed['UniverCore'],_0x3647ed[_0x1eda84(0x46c)],_0x3647ed['UniverSheets'],_0x3647ed[_0x1eda84(0x3ed)],_0x3647ed[_0x1eda84(0x391)],_0x3647ed['UniverSheetsFilter'],_0x3647ed[_0x1eda84(0x1f0)],_0x3647ed[_0x1eda84(0x46e)]));}(this,function(_0x53a3b8,_0x533a75,_0x3ea15a,_0x85d200,_0x12437f,_0x4e2dec,_0x3e669d,_0x4d538d,_0x194b1a,_0x6d1c80){'use strict';const _0x132f81=_0x3af4;var _0xc18cad=Object[_0x132f81(0x4e0)],_0x1d3265=(_0x57f253,_0x285d2e,_0xb25e48)=>_0x285d2e in _0x57f253?_0xc18cad(_0x57f253,_0x285d2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb25e48}):_0x57f253[_0x285d2e]=_0xb25e48,_0x1889e7=(_0x20ffd3,_0x4e480,_0x154376)=>_0x1d3265(_0x20ffd3,typeof _0x4e480!=_0x132f81(0x3e7)?_0x4e480+'':_0x4e480,_0x154376);const _0x391607=Number[_0x132f81(0x3dd)](0x680e16cd),_0x5c8849=0x10,_0x42b087=0x1,_0x3dbe5d=_0x132f81(0x3d4),_0x143b06=0x1,_0x1cc572='rgb(240,241,243)',_0x2f9641=_0x132f81(0x39a),_0x351683=_0x132f81(0x32d),_0x55b9f3='#f4f4f5',_0x26d0a0=_0x132f81(0x508),_0x2eff82=_0x132f81(0x3e4),_0x53d529=_0x132f81(0x351),_0x14ff9b=_0x132f81(0x424),_0x1821f1='#e6ebfa',_0x5cbc11='#1d32e9',_0x3f412c=_0x132f81(0x424),_0x5b2d9a='#e6ebfb',_0x9d7e94=0xe,_0x523963=0x6;var _0xa83d7d=(_0x4ebdd9=>(_0x4ebdd9[_0x132f81(0x428)]=_0x132f81(0x2d0),_0x4ebdd9[_0x132f81(0x2e9)]=_0x132f81(0x4a7),_0x4ebdd9))(_0xa83d7d||{});const _0x47dfec={'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':''}}},_0x3ffc4f=0x1e,_0x508b5b={'b':{'s':0x1,'cl':{'rgb':_0x351683}},'l':{'s':0x1,'cl':{'rgb':_0x351683}},'r':{'s':0x1,'cl':{'rgb':_0x351683}},'t':{'s':0x1,'cl':{'rgb':_0x351683}}},_0x44e986={'bg':{'rgb':_0x1cc572},'ht':0x2,'vt':0x2,'tb':0x1},_0x47d68f={'bg':{'rgb':_0x2f9641},'ht':0x2,'vt':0x2,'tb':0x1},_0x237ffe={'rowStyle':{'bg':{'rgb':_0x5b2d9a},'bd':_0x508b5b,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5cbc11},'bd':null,'cl':{'rgb':_0x3f412c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x508b5b,'bg':{'rgb':_0x1821f1},'vt':0x2},'cornerStyle':{'bd':_0x508b5b,'bg':{'rgb':_0x2eff82},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x508b5b,'bg':{'rgb':_0x55b9f3},'vt':0x2},'leafStyle':{'bd':_0x508b5b,'bg':{'rgb':_0x26d0a0},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x53d529},'cl':{'rgb':_0x14ff9b},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x508b5b,'vt':0x2}};function _0x383018(_0x29c492,_0x412135,_0x16200c){const _0x196665=_0x132f81,_0x1a35e9=_0x29c492[_0x196665(0x3c9)](_0x3ea15a['LocaleService']),_0x2e40fb=_0x16200c[_0x196665(0x4a5)]('_');switch(_0x412135){case _0x533a75['PivotDateGroupFieldDateTypeEnum'][_0x196665(0x331)]:return _0x1a35e9['t'](_0x196665(0x35d),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)][_0x196665(0x2cf)]:return _0x1a35e9['t'](_0x196665(0x26d),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)]['Hour']:return _0x1a35e9['t'](_0x196665(0x49c),..._0x2e40fb);case _0x533a75['PivotDateGroupFieldDateTypeEnum']['HourMinute']:return _0x1a35e9['t'](_0x196665(0x20f),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)]['Date']:return _0x1a35e9['t'](_0x196665(0x4bf),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)]['Month']:return _0x1a35e9['t'](_0x196665(0x33d),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)][_0x196665(0x243)]:return _0x1a35e9['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x2e40fb);case _0x533a75[_0x196665(0x45f)][_0x196665(0x309)]:return _0x1a35e9['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x2e40fb);case _0x533a75[_0x196665(0x45f)][_0x196665(0x3e6)]:return _0x1a35e9['t'](_0x196665(0x320),..._0x2e40fb);case _0x533a75[_0x196665(0x45f)][_0x196665(0x3b4)]:return _0x1a35e9['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x2e40fb);}return'';}const _0x192496=(_0x595798,_0x23c453,_0x207b23,_0x309fd0)=>{const _0x18f914=_0x132f81;let _0x3adb4b;const _0x3a1c36=_0x595798[_0x18f914(0x3c9)](_0x3ea15a[_0x18f914(0x41b)])['getCurrentUnitForType'](_0x3ea15a[_0x18f914(0x2da)]['UNIVER_SHEET']);if(!_0x3a1c36)return null;const _0x5e17dc=_0x3a1c36[_0x18f914(0x219)]();let _0x1ce0a4;if(_0x207b23&&(_0x1ce0a4=_0x5e17dc[_0x18f914(0x362)](_0x207b23)),_0x23c453!=null&&_0x23c453['v']||(_0x23c453==null?void 0x0:_0x23c453['v'])===0x0){_0x3adb4b||(_0x3adb4b={});const _0x124e35=_0x2c1311(_0x23c453['v']);typeof _0x124e35==_0x18f914(0x3a0)?_0x3adb4b['t']=_0x3ea15a['CellValueType']['NUMBER']:typeof _0x124e35==_0x18f914(0x377)&&(_0x3adb4b['t']=_0x3ea15a['CellValueType'][_0x18f914(0x4d5)]),_0x3adb4b['v']=_0x124e35;}if((_0x23c453!=null&&_0x23c453['i']||(_0x23c453==null?void 0x0:_0x23c453['i'])===0x0)&&(_0x3adb4b||(_0x3adb4b={}),_0x3adb4b['fi']=_0x23c453['i']),_0x23c453!=null&&_0x23c453['s']&&(_0x3adb4b||(_0x3adb4b={}),_0x3adb4b[_0x18f914(0x30e)]=_0x23c453['s']),_0x207b23&&(_0x3adb4b||(_0x3adb4b={}),_0x3adb4b['s']=_0x1ce0a4),_0x309fd0&&_0x3adb4b!=null&&_0x3adb4b['v']&&_0x3adb4b[_0x18f914(0x30e)]!==_0x533a75[_0x18f914(0x42f)][_0x18f914(0x49b)]&&_0x3adb4b[_0x18f914(0x30e)]!==_0x533a75[_0x18f914(0x42f)][_0x18f914(0x376)]){const _0x361946=String(_0x3adb4b['v']),{dateType:_0x1067f6}=_0x309fd0;_0x3adb4b['v']=_0x383018(_0x595798,_0x1067f6,_0x361946),_0x3adb4b['t']=_0x3ea15a[_0x18f914(0x4a2)][_0x18f914(0x4d5)];}return _0x3adb4b;},_0x5c9731=(_0x76d44,_0x1ce4db,_0x378c4a,_0xc85bf8)=>{const _0x25cefc=_0x132f81;var _0x2bf386,_0x54af5a,_0x1cf890,_0x554e8e,_0x392c46,_0x5ea9a2,_0x511663,_0x34966d,_0x557aea,_0xe756e5,_0x2e1848,_0x227e6f,_0x8a04e3,_0x2b2036;const _0x13798f=_0x378c4a[_0x25cefc(0x2d7)],{cornerView:_0x5c9367,rowView:_0x59fb57,colView:_0x54694a,dataView:_0x373e09,pageView:_0x4b8c00,formatMap:_0x107f07,groupInfo:_0x4f8c9}=_0x1ce4db,{row:_0x23ff67,col:_0xfc532d}=_0x13798f,_0x2a3522=new _0x3ea15a[(_0x25cefc(0x405))](),_0x1ac65c={},_0x5d9ed2={},_0x3035fe={},_0x4d0814={},_0x3900e9={};let _0x25cc70=_0x23ff67,_0x2e984a=_0xfc532d;Object[_0x25cefc(0x28e)](_0x4b8c00[_0x25cefc(0x1ef)])[_0x25cefc(0x473)](_0x2a7d77=>{const _0x256230=_0x25cefc;Object[_0x256230(0x28e)](_0x4b8c00[_0x256230(0x1ef)][Number(_0x2a7d77)])[_0x256230(0x473)](_0x328b49=>{const _0x1b798f=_0x256230,_0x7561d8={..._0x4b8c00[_0x1b798f(0x1ef)][Number(_0x2a7d77)][Number(_0x328b49)]};_0x2a3522[_0x1b798f(0x362)](Number(_0x2a7d77)+_0x25cc70,Number(_0x328b49)+_0x2e984a,_0x192496(_0x76d44,_0x7561d8,_0x237ffe[_0x1b798f(0x202)]));});});const _0x4db8a5=Object[_0x25cefc(0x28e)](_0x4b8c00['data'])[_0x25cefc(0x23e)];_0x25cc70+=_0x4db8a5+(_0x4db8a5?_0x143b06:0x0);const _0x3084ff=_0x5c9367['getRowCount'](),_0x453710=_0x5c9367[_0x25cefc(0x2e4)]();for(let _0x230d5c=0x0;_0x230d5c<_0x3084ff;_0x230d5c++)for(let _0x23c54a=0x0;_0x23c54a<_0x453710;_0x23c54a++){const _0xe8f55d={...(_0x54af5a=(_0x2bf386=_0x5c9367['data'])==null?void 0x0:_0x2bf386[_0x230d5c])==null?void 0x0:_0x54af5a[_0x23c54a]};_0xe8f55d&&((_0x1cf890=_0x59fb57[_0x25cefc(0x507)][_0x23c54a])!=null&&_0x1cf890[_0x25cefc(0x2ec)])&&_0x23c54a===_0x453710-0x1&&_0x230d5c===_0x3084ff-0x1&&(_0xe8f55d['v']=''+_0xc85bf8[_0x25cefc(0x345)]),_0x2a3522[_0x25cefc(0x362)](_0x230d5c+_0x25cc70,_0x23c54a+_0x2e984a,_0x192496(_0x76d44,_0xe8f55d,_0x237ffe[_0x25cefc(0x3b6)]));}for(let _0x1af58a=0x0;_0x1af58a<_0x5c9367[_0x25cefc(0x255)]['length'];_0x1af58a++)_0x5c9367[_0x25cefc(0x255)][_0x1af58a]&&(_0x3035fe[''+(_0x1af58a+_0x2e984a)]=_0x5c9367[_0x25cefc(0x255)][_0x1af58a]);_0x2e984a+=_0x453710;const _0x5ca5a4=_0x54694a[_0x25cefc(0x507)],_0x58d962=_0x54694a[_0x25cefc(0x361)]()>=0x0?_0x54694a[_0x25cefc(0x361)]()+0x1:0x0,_0x22e95c=_0x54694a[_0x25cefc(0x4cc)]()>=0x0?_0x54694a[_0x25cefc(0x4cc)]()+0x1:0x0;for(let _0x4aca3e=0x0;_0x4aca3e<_0x22e95c;_0x4aca3e++){for(let _0x1da298=0x0;_0x1da298<_0x58d962;_0x1da298++){const _0x2c01f0={...(_0x392c46=(_0x554e8e=_0x54694a[_0x25cefc(0x1ef)])==null?void 0x0:_0x554e8e[_0x1da298])==null?void 0x0:_0x392c46[_0x4aca3e]},_0x1ebfd6=(_0x5ea9a2=_0x5ca5a4[_0x1da298])==null?void 0x0:_0x5ea9a2[_0x25cefc(0x388)],_0x226fd1=_0x107f07[_0x1ebfd6],_0x44e1eb=_0x4f8c9[_0x1ebfd6];_0x2c01f0&&(_0x2c01f0['v']=_0x40b827(_0x2c01f0,_0x1da298===0x0&&((_0x511663=_0x54694a[_0x25cefc(0x2e1)](_0x4aca3e+0x1))==null?void 0x0:_0x511663[_0x25cefc(0x2ec)]),_0x226fd1,_0xc85bf8));let _0x18e385;_0x226fd1?_0x18e385={..._0x237ffe['colStyle'],'n':{'pattern':_0x226fd1}}:_0x18e385={..._0x237ffe['colStyle']},_0x2a3522[_0x25cefc(0x362)](_0x1da298+_0x25cc70,_0x4aca3e+_0x2e984a,_0x192496(_0x76d44,_0x2c01f0,_0x18e385,_0x44e1eb));}_0x54694a[_0x25cefc(0x255)][_0x4aca3e]&&(_0x5d9ed2[''+(_0x4aca3e+_0x2e984a)]=_0x54694a['info'][_0x4aca3e]),_0x54694a[_0x25cefc(0x507)][_0x4aca3e+0x1]&&(_0x3900e9[''+(_0x4aca3e+_0x25cc70+0x1)]=_0x54694a[_0x25cefc(0x507)][_0x4aca3e+0x1]);}_0x25cc70+=_0x3084ff;const _0x4a75d8=_0x59fb57[_0x25cefc(0x507)],_0x360493=_0x59fb57[_0x25cefc(0x361)]()>=0x0?_0x59fb57[_0x25cefc(0x361)]()+0x1:0x0,_0x4c2de8=_0x59fb57[_0x25cefc(0x4cc)]()>=0x0?_0x59fb57[_0x25cefc(0x4cc)]()+0x1:0x0;for(let _0x508af3=0x0;_0x508af3<_0x360493;_0x508af3++){for(let _0x3f954f=0x0;_0x3f954f<_0x4c2de8;_0x3f954f++){const _0xd6a39d={...(_0x557aea=(_0x34966d=_0x59fb57[_0x25cefc(0x1ef)])==null?void 0x0:_0x34966d[_0x508af3])==null?void 0x0:_0x557aea[_0x3f954f]},_0x4f6541=(_0xe756e5=_0x4a75d8[_0x3f954f])==null?void 0x0:_0xe756e5[_0x25cefc(0x388)],_0xdb1ba9=_0x107f07[_0x4f6541],_0x16292f=_0x4f8c9[_0x4f6541];_0xd6a39d&&(_0xd6a39d['v']=_0x40b827(_0xd6a39d,!0x1,_0xdb1ba9,_0xc85bf8));let _0x4f15c4;_0x59fb57[_0x25cefc(0x255)][_0x508af3][_0x25cefc(0x4d7)]===_0x59fb57[_0x25cefc(0x2e4)]()?_0x4f15c4=_0x237ffe[_0x25cefc(0x2ca)]:_0x59fb57[_0x25cefc(0x255)][_0x508af3][_0x25cefc(0x482)]?_0x4f15c4=_0x59fb57['info'][_0x508af3]['level']===0x0?_0x237ffe[_0x25cefc(0x276)]:_0x237ffe['subTotalStyle']:_0x4f15c4=_0x237ffe[_0x25cefc(0x39f)],_0xdb1ba9&&(_0x4f15c4={..._0x4f15c4,'n':{'pattern':_0xdb1ba9}}),_0x2a3522[_0x25cefc(0x362)](_0x508af3+_0x25cc70,_0x3f954f+_0xfc532d,_0x192496(_0x76d44,_0xd6a39d,_0x4f15c4,_0x16292f));}_0x59fb57[_0x25cefc(0x255)][_0x508af3]&&(_0x1ac65c[''+(_0x508af3+_0x25cc70)]=_0x59fb57[_0x25cefc(0x255)][_0x508af3]),_0x59fb57[_0x25cefc(0x507)][_0x508af3]&&(_0x4d0814[''+(_0x508af3+_0xfc532d)]=_0x59fb57['headerMap'][_0x508af3]);}const _0xc0b26=_0x373e09[_0x25cefc(0x30b)](),_0x55ee96=_0x373e09['getColCount']();for(let _0x36f22d=0x0;_0x36f22d<_0xc0b26;_0x36f22d++)for(let _0x71dde9=0x0;_0x71dde9<_0x55ee96;_0x71dde9++){const _0x4a31b9={...(_0x227e6f=(_0x2e1848=_0x373e09[_0x25cefc(0x1ef)])==null?void 0x0:_0x2e1848[_0x36f22d])==null?void 0x0:_0x227e6f[_0x71dde9]};let _0x56b0f3;_0x59fb57['info'][_0x36f22d][_0x25cefc(0x482)]?_0x56b0f3=_0x59fb57[_0x25cefc(0x255)][_0x36f22d]['level']===0x0?_0x237ffe['grandTotal']:_0x237ffe['subTotalStyle']:_0x56b0f3=_0x237ffe['dataStyle'];const _0x50ad15=_0x59fb57[_0x25cefc(0x255)][_0x36f22d][_0x25cefc(0x383)],_0x334842=_0x54694a[_0x25cefc(0x255)][_0x71dde9][_0x25cefc(0x383)],_0x57d883=Math[_0x25cefc(0x4dd)](_0x50ad15,_0x334842),_0x3828af=_0x378c4a[_0x25cefc(0x2c9)][_0x25cefc(0x288)][_0x25cefc(0x426)]();let _0x108da1='';_0x57d883<0x0?_0x108da1=(_0x8a04e3=_0x3828af[0x0])!=null?_0x8a04e3:'':_0x108da1=(_0x2b2036=_0x3828af[_0x57d883])!=null?_0x2b2036:'';const _0x5c07fe=_0x107f07[_0x108da1];_0x5c07fe&&(_0x56b0f3={..._0x56b0f3,'n':{'pattern':_0x5c07fe}}),_0x2a3522[_0x25cefc(0x362)](_0x36f22d+_0x25cc70,_0x71dde9+_0x2e984a,_0x192496(_0x76d44,_0x4a31b9,_0x56b0f3));}return{'valueMatrix':_0x2a3522,'rowInfo':_0x1ac65c,'colInfo':_0x5d9ed2,'cornerInfo':_0x3035fe,'rowHeaderMap':_0x4d0814,'colHeaderMap':_0x3900e9};};function _0x40b827(_0x28bc15,_0x200e4c,_0x700d6e,_0x364595){const _0x41b169=_0x132f81;let _0x3494f3=_0x28bc15['v'];_0x200e4c&&(_0x3494f3=''+_0x364595['sheets-pivot.value']);const _0x354ef0=_0x28bc15['t']&&(_0x28bc15['t']&_0x533a75[_0x41b169(0x2e5)][_0x41b169(0x2b1)])>0x0;if(_0x354ef0&&(_0x3494f3=''+_0x364595[_0x41b169(0x256)]),_0x28bc15['s']===_0x533a75[_0x41b169(0x42f)][_0x41b169(0x376)]){let _0x4fa641=_0x3494f3,_0x1ab57b='';_0x533a75[_0x41b169(0x2c7)](_0x3494f3)&&(_0x4fa641=_0x3494f3[_0x41b169(0x34c)],_0x1ab57b=_0x3494f3['value']);const _0x158dbb=_0x700d6e&&!_0x354ef0?_0x3ea15a[_0x41b169(0x294)]['format'](_0x700d6e,Number(_0x4fa641)):_0x4fa641;_0x1ab57b?_0x3494f3=_0x158dbb+'\x20'+_0x1ab57b:_0x3494f3=_0x158dbb+'\x20'+_0x364595[_0x41b169(0x234)];}else _0x28bc15['s']===_0x533a75[_0x41b169(0x42f)][_0x41b169(0x49b)]&&(_0x3494f3=_0x3494f3+'\x20'+_0x364595[_0x41b169(0x2e6)]);return _0x3494f3;}function _0x2c1311(_0x5e480e){const _0xc6e09f=_0x132f81;if(_0x533a75[_0xc6e09f(0x4e2)](_0x5e480e)){const {errorType:_0x277c17}=_0x5e480e;switch(_0x277c17){case _0x533a75['PivotErrorTypeEnum'][_0xc6e09f(0x4b8)]:return _0x85d200[_0xc6e09f(0x48d)]['DIV_BY_ZERO'];case _0x533a75['PivotErrorTypeEnum'][_0xc6e09f(0x4a1)]:return _0x85d200[_0xc6e09f(0x48d)][_0xc6e09f(0x381)];case _0x533a75['PivotErrorTypeEnum'][_0xc6e09f(0x206)]:return _0x85d200['ErrorType']['NAME'];case _0x533a75[_0xc6e09f(0x31d)][_0xc6e09f(0x26e)]:return _0x85d200[_0xc6e09f(0x48d)][_0xc6e09f(0x4bc)];case _0x533a75[_0xc6e09f(0x31d)][_0xc6e09f(0x466)]:return _0x85d200[_0xc6e09f(0x48d)][_0xc6e09f(0x46d)];}}return _0x5e480e;}function _0x151823(_0x4552d3,_0x393973,_0xdd2f91=!0x1,_0x23fa29=!0x1){const _0x215f8b=_0x132f81,{data:_0x2853ed}=_0x393973,_0x5fac51=_0x393973[_0x215f8b(0x30b)](),_0x54929e=_0x393973['getColCount']();if(_0x5fac51<=0x0||_0x54929e<=0x0)return[];const _0x1c7786=_0x393973[_0x215f8b(0x4cc)](),_0x56ccb2=_0x393973[_0x215f8b(0x361)](),_0x1b5a98=_0x23fa29?_0x56ccb2>=0x0?_0x56ccb2+0x1:0x0:_0x5fac51,_0x3dd5a5=_0x23fa29?_0x1c7786>=0x0?_0x1c7786+0x1:0x0:_0x54929e,{row:_0x2b4519,col:_0x4d9e1c}=_0x4552d3,_0x364930=_0x2b4519,_0x87e289=_0x4d9e1c;if(_0xdd2f91){const _0x56e3c1=[];for(const [_0x741616,_0x387e07]of Object[_0x215f8b(0x4ff)](_0x2853ed))for(const [_0x8c0921,_0xcd706e]of Object[_0x215f8b(0x4ff)](_0x387e07))_0x56e3c1[_0x215f8b(0x251)](_0x3ea15a[_0x215f8b(0x336)](_0x364930+Number(_0x741616),_0x87e289+Number(_0x8c0921)));return _0x56e3c1;}else{const _0x5dcc33=_0x23fa29?_0x1b5a98>0x0?0x1:0x0:0x1,_0x25351b=_0x23fa29?_0x3dd5a5>0x0?0x1:0x0:0x1,_0x191471=_0x2b4519+_0x1b5a98-_0x5dcc33,_0xab57a0=_0x4d9e1c+_0x3dd5a5-_0x25351b;return[{'startRow':_0x364930,'startColumn':_0x87e289,'endRow':_0x191471,'endColumn':_0xab57a0}];}}const _0x43c6ec=_0x132f81(0x4a9),_0x48c602=_0x132f81(0x4c7);var _0x2a962f=(_0x335414=>(_0x335414[_0x132f81(0x3ac)]=_0x132f81(0x3e8),_0x335414['Panel']=_0x132f81(0x245),_0x335414[_0x132f81(0x3e1)]=_0x132f81(0x3de),_0x335414[_0x132f81(0x287)]=_0x132f81(0x287),_0x335414['AddPivotTable']=_0x132f81(0x4d2),_0x335414['MovePivotField']=_0x132f81(0x4ae),_0x335414[_0x132f81(0x28b)]=_0x132f81(0x22d),_0x335414['SetPivotCollapse']='setPivotCollapse',_0x335414['SetPivotFilter']='setPivotFilter',_0x335414['SetPivotSort']=_0x132f81(0x319),_0x335414[_0x132f81(0x29f)]=_0x132f81(0x3db),_0x335414['UpdatePivotSource']='updatePivotSource',_0x335414['UpdateValuePosition']=_0x132f81(0x290),_0x335414[_0x132f81(0x1f4)]='drillDown',_0x335414[_0x132f81(0x2c0)]=_0x132f81(0x417),_0x335414[_0x132f81(0x21d)]='setPivotTableConfig',_0x335414[_0x132f81(0x3f2)]=_0x132f81(0x23b),_0x335414))(_0x2a962f||{});const _0x3b175a={'sheets-pivot.blankValue':_0x132f81(0x1f6),'sheets-pivot.columnName':_0x132f81(0x4f0),'sheets-pivot.subTotalText':_0x132f81(0x2e2),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x132f81(0x4eb),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x132f81(0x4d0),'sheets-pivot.maxName':_0x132f81(0x310),'sheets-pivot.minName':_0x132f81(0x3a7),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x132f81(0x4b3),'sheets-pivot.sumName':_0x132f81(0x205),'sheets-pivot.varName':_0x132f81(0x2b5),'sheets-pivot.varpName':_0x132f81(0x3b8),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x132f81(0x247),'sheets-pivot.value':_0x132f81(0x4c0),'sheets-pivot.blank':_0x132f81(0x2b1),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x132f81(0x3bb),'sheets-pivot.emptyPivot.column':_0x132f81(0x40c),'sheets-pivot.emptyPivot.values':'Values'},_0x468dd0={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3637bb=_0x3ea15a['createAsyncInterceptorKey'](_0x132f81(0x23a)),_0x480004=_0x3ea15a[_0x132f81(0x450)](_0x132f81(0x2c2));var _0x3d0e5c=(_0x21c2e2=>(_0x21c2e2[_0x132f81(0x258)]='add',_0x21c2e2[_0x132f81(0x28a)]='delete',_0x21c2e2['update']=_0x132f81(0x419),_0x21c2e2))(_0x3d0e5c||{}),_0x4f32a0=(_0x5270f6=>(_0x5270f6['Add']=_0x132f81(0x258),_0x5270f6[_0x132f81(0x472)]='set',_0x5270f6['Delete']=_0x132f81(0x28a),_0x5270f6))(_0x4f32a0||{});const _0x5725c8={0x0:'X',0x1:'w',0x2:'l',0x3:'E',0x4:'R',0x5:'j',0x6:'0',0x7:'Y',0x8:'q',0x9:'v','e':'1','T':'2','L':'3','j':'4','C':'5','D':'6','d':'7','I':'8','Q':'9','X':'a','a':'b','y':'c','V':'d','x':'e','O':'f','h':'g','U':'h','H':'i','A':'k','G':'m','E':'n','R':'o','k':'p','W':'r','g':'s','b':'t','F':'u','p':'x','J':'y','o':'z','v':'A','Y':'B','s':'C','B':'D','f':'F','P':'G','z':'H','u':'I','q':'J','S':'K','i':'L','c':'M','K':'N','n':'O','l':'P','Z':'Q','w':'S','M':'T','r':'U','m':'V','t':'W','N':'Z'},_0x5adfe5='OFEybHRE\x20VxyWJkbHRE(2HyxEgx,\x20kFa2HySxJ)\x20{\x20\x20\x20\x20bWJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x202HyxEgxuEORlXWbvWWXJ\x20=\x202HyxEgx.gk2Hb(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20RWHhHEcxggXhx\x20=\x20qwnK.kXWgx(XbRa(2HyxEgxuEORlXWbvWWXJ[T]));\x20\x20\x20\x20\x20\x20\x20\x20HO\x20(!RWHhHEcxggXhx.FV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RWHhHEcxggXhx.FV\x20=\x20KFGaxW(2HyxEgxuEORlXWbvWWXJ[j]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20HgtRWAxW\x20=\x20bJkxRO\x20tRWAxWP2RaX2wyRkx\x20!==\x20\x27FEVxOHExV\x27\x20&&\x20gx2O\x20HEgbXEyxRO\x20tRWAxWP2RaX2wyRkx;\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20yREbxpb\x20=\x20HgtRWAxW\x20?\x20gx2O\x20:\x201HEVR1;\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20GxggXhxtRWV\x20=\x20yREbxpb.__YXgxDj__.kXWgx(2HyxEgxuEORlXWbvWWXJ[T]);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20GxggXhx\x20=\x20yREbxpb.__zxp__.gbWHEhHOJ(GxggXhxtRWV);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20gHhEXbFWxtRWV\x20=\x20yREbxpb.__YXgxDj__.kXWgx(2HyxEgxuEORlXWbvWWXJ[L]);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20gHhEXbFWx\x20=\x20yREbxpb.__zxp__.gbWHEhHOJ(gHhEXbFWxtRWV);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20gHhEmX2HV\x20=\x20yREbxpb.__9xWHOJ__(gHhEXbFWx,\x20GxggXhx,\x20kFa2HySxJ);\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20VRGXHE\x20=\x20RWHhHEcxggXhx.VG;\x20\x20\x20\x20\x20\x20\x20\x20OFEybHRE\x20HgBRGXHEcXbyUHEh(RlXbbxWE,\x20RzRgb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20kXbbxWE\x20=\x20RlXbbxWE.Wxk2Xyx(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20URgb\x20=\x20RzRgb.Wxk2Xyx(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20kXbbxWElXWbg\x20=\x20kXbbxWE.gk2Hb(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20URgblXWbg\x20=\x20URgb.gk2Hb(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HO\x20(!kXbbxWE.HEy2FVxg(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WxbFWE\x20kXbbxWE\x20===\x20URgb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HO\x20(kXbbxWElXWbg.2xEhbU\x20<\x20T\x20||\x20kXbbxWElXWbg[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WxbFWE\x20OX2gx;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20kXbbxWEwFOOHp\x20=\x20kXbbxWElXWbg.g2Hyx(e).5RHE(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x20URgbwFOOHp\x20=\x20URgblXWbg.g2Hyx(-kXbbxWElXWbg.2xEhbU\x20+\x20e).5RHE(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WxbFWE\x20kXbbxWEwFOOHp\x20===\x20URgbwFOOHp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202xb\x20VRGXHEmX2HV\x20=\x20(VRGXHE\x20&&\x20VRGXHE.2xEhbU)\x20?\x20VRGXHE.gRGx((VGubxG)\x20=>\x20HgBRGXHEcXbyUHEh(VGubxG,\x202RyXbHRE.URgbEXGx))\x20:\x20bWFx;\x20\x20\x20\x20\x20\x20\x20\x20HO\x20(2RyXbHRE.URgbEXGx\x20===\x20\x272RyX2URgb\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VRGXHEmX2HV\x20=\x20bWFx;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yREgb\x209X2HV\x20=\x20gHhEmX2HV\x20&&\x20VRGXHEmX2HV;\x20\x20\x20\x20\x20\x20\x20\x20WxbFWE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209X2HV,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GxggXhx:\x20RWHhHEcxggXhx,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20yXbyU\x20(xWWRW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WxbFWE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209X2HV:\x20OX2gx,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GxggXhx:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x18b87f={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x139fb5={'type':_0x3ea15a[_0x132f81(0x397)]['MUTATION'],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4675f6={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x31b),'handler':()=>!0x0},_0xa52f83={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x505),'handler':()=>!0x0},_0x39e130={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x447),'handler':()=>!0x0},_0x13f71d=_0x3c203c=>{const _0x1b63c4=_0x132f81;var _0x175ba4;return((_0x175ba4=_0x3c203c[_0x1b63c4(0x387)])==null?void 0x0:_0x175ba4[_0x1b63c4(0x4b5)]['replace'](/\r\n$/,''))||'';};class _0x35b8ab extends _0x533a75[_0x132f81(0x458)]{constructor(_0x12a05b,_0x24f529){const _0x2d0cc3=_0x132f81;super(),_0x1889e7(this,_0x2d0cc3(0x4c1),{}),_0x1889e7(this,_0x2d0cc3(0x438)),_0x1889e7(this,'_host'),(this['_univerInstanceService']=_0x24f529,this[_0x2d0cc3(0x1f7)]=_0x12a05b);}[_0x132f81(0x45e)](){const _0x11c315=_0x132f81;for(const _0x2f7ab4 in this[_0x11c315(0x34b)]){const _0x4b4ccb=this['dataFields'][_0x2f7ab4],_0x361f40=_0x4b4ccb['getRangeKey']();this[_0x11c315(0x4c1)][_0x361f40]=_0x4b4ccb[_0x11c315(0x226)]();}}[_0x132f81(0x223)](){const _0x54956a=_0x132f81,_0x275170=this[_0x54956a(0x1f7)];return _0x4d7b8c[_0x54956a(0x2b4)](_0x275170);}['deleteDataField'](_0x4da1b1){const _0x1ede6a=_0x132f81,_0x262808=this[_0x1ede6a(0x34b)][_0x4da1b1][_0x1ede6a(0x2d2)];delete this[_0x1ede6a(0x34b)][_0x4da1b1],delete this[_0x1ede6a(0x4c1)][_0x262808];}[_0x132f81(0x280)](_0x2d1a2d){const _0x3cab27=_0x132f81;this[_0x3cab27(0x34b)][_0x2d1a2d[_0x3cab27(0x226)]()]=_0x2d1a2d;}[_0x132f81(0x3bf)](_0x5262a9){const _0x56c359=_0x132f81;var _0x4d07e1,_0x17f714;const _0x19c9ca=this['_host'][_0x56c359(0x3cf)](_0x5262a9);if(_0x19c9ca){const {unitId:_0x86493a,subUnitId:_0x41effd}=_0x19c9ca,_0x4322d3=(_0x4d07e1=this[_0x56c359(0x1f7)][_0x56c359(0x3f5)](_0x86493a,_0x41effd,_0x5262a9))==null?void 0x0:_0x4d07e1['sourceRangeInfo'];this[_0x56c359(0x1f7)]['broadcastCollectionChange']({'token':_0x5262a9,'type':_0x3d0e5c[_0x56c359(0x28a)],'dataRangeInfo':_0x4322d3});}(_0x17f714=this[_0x56c359(0x456)](_0x5262a9))==null||_0x17f714[_0x56c359(0x42e)](),delete this[_0x56c359(0x3c8)][_0x5262a9];}[_0x132f81(0x435)](_0x3bb614,_0x279129){const _0x382e74=_0x132f81,{sheetName:_0x2af9f4,unitId:_0x5e85c4,range:_0x400818}=_0x3bb614,{startRow:_0x4ded4b,endRow:_0x505a6f}=_0x400818;return _0x85d200[_0x382e74(0x27b)](_0x5e85c4,_0x2af9f4,{'startRow':_0x4ded4b,'endRow':_0x505a6f,'startColumn':_0x279129,'endColumn':_0x279129});}[_0x132f81(0x274)](_0x20a04c){const _0x188fcc=_0x132f81;return this[_0x188fcc(0x34b)][this[_0x188fcc(0x4c1)][_0x20a04c]];}[_0x132f81(0x437)](_0x250d2a,_0x41f13f){const _0x54cf35=_0x132f81;this[_0x54cf35(0x4c1)][_0x250d2a]=_0x41f13f;}[_0x132f81(0x47a)](_0x54b7e6,_0x5114ea){const _0x5d108b=_0x132f81;this[_0x5d108b(0x4c1)][_0x5114ea]=this[_0x5d108b(0x4c1)][_0x54b7e6],delete this[_0x5d108b(0x4c1)][_0x54b7e6];}['addCollectionByJSON'](_0x47266c,_0x342164,_0x379993,_0x36ff84){const _0x5b1606=_0x132f81,_0x11fdfa=new _0x533a75[(_0x5b1606(0x22f))](this);_0x11fdfa[_0x5b1606(0x344)](_0x342164);const _0x566e64=[];let _0x5d052a=0x0;for(const _0x5dad11 of _0x11fdfa['fieldIds']){const _0x5bf33a=this[_0x5b1606(0x435)](_0x379993,_0x5d052a),_0x173129=this[_0x5b1606(0x34b)][_0x5dad11];_0x173129&&(_0x173129['rangeKey']=_0x5bf33a,this['setRangeKeyMap'](_0x5bf33a,_0x5dad11),_0x566e64[_0x5b1606(0x251)]({'index':_0x5d052a,'dataField':_0x173129})),_0x5d052a++;}return this[_0x5b1606(0x30d)](_0x47266c,_0x11fdfa,_0x379993,_0x36ff84),{'collection':_0x11fdfa,'updateDataFieldList':_0x566e64};}[_0x132f81(0x35b)](_0x187d80,_0x4332b8){const _0x35a21e=_0x132f81;return _0x187d80[_0x35a21e(0x3ae)]===_0x3ea15a[_0x35a21e(0x212)][_0x35a21e(0x322)]?{'startRow':0x0,'startColumn':_0x187d80['startColumn'],'endRow':_0x4332b8['getRowCount']()-0x1,'endColumn':_0x187d80[_0x35a21e(0x41a)]}:{'startRow':_0x187d80[_0x35a21e(0x22b)],'startColumn':_0x187d80[_0x35a21e(0x3bd)],'endRow':_0x187d80[_0x35a21e(0x3f9)],'endColumn':_0x187d80[_0x35a21e(0x41a)]};}[_0x132f81(0x3c2)](_0x34e69b){const _0x573e18=_0x132f81,{sheetName:_0x352520,range:_0x294205}=_0x34e69b,_0x40c7a9=this[_0x573e18(0x438)][_0x573e18(0x4d8)](_0x3ea15a[_0x573e18(0x2da)][_0x573e18(0x38d)]),_0x40db2a=_0x40c7a9[_0x573e18(0x42b)](_0x352520),_0x3ca792=_0x40db2a[_0x573e18(0x432)](),{startColumn:_0x520d17,startRow:_0x591c7c,endColumn:_0x11ba98}=this[_0x573e18(0x35b)](_0x294205,_0x40db2a),_0x3f29bf=_0x40c7a9[_0x573e18(0x219)](),_0x143864=new _0x533a75[(_0x573e18(0x22f))](this);_0x143864[_0x573e18(0x3f1)](_0x34e69b);const _0x27b94d=[],_0x19801a={};for(let _0x2d568f=_0x520d17;_0x2d568f<=_0x11ba98;_0x2d568f++){const _0x404291=_0x3ca792[_0x573e18(0x48f)](_0x591c7c,_0x2d568f),_0x3dc3e6=this[_0x573e18(0x435)](_0x34e69b,_0x2d568f),_0xda67bd=this[_0x573e18(0x274)](_0x3dc3e6);if(_0xda67bd)_0x143864[_0x573e18(0x23f)](_0xda67bd[_0x573e18(0x226)](),_0xda67bd[_0x573e18(0x396)]());else{const _0x257c3c=this['createDataFieldId']();let _0x16085a=this[_0x573e18(0x311)](_0x404291,_0x3f29bf,_0x19801a);_0x533a75[_0x573e18(0x3b1)](_0x16085a)&&(_0x16085a=_0x3ea15a[_0x573e18(0x294)][_0x573e18(0x37e)](_0x16085a['f'],Number(_0x16085a['v'])));const _0x364fff=this[_0x573e18(0x43c)](_0x16085a,_0x2d568f),_0x29708b=new _0x533a75[(_0x573e18(0x49f))](_0x257c3c,_0x364fff,_0x533a75[_0x573e18(0x3e2)](0x3));_0x29708b[_0x573e18(0x2d2)]=_0x3dc3e6,this[_0x573e18(0x34b)][_0x257c3c]=_0x29708b,_0x143864[_0x573e18(0x23f)](_0x257c3c,_0x364fff),_0x27b94d[_0x573e18(0x251)]({'index':_0x2d568f,'dataField':_0x29708b});}}return{'updateDataFieldList':_0x27b94d,'collection':_0x143864};}['_getAutoName'](_0x147515){const _0x55274b=_0x132f81;return this['_host']['getTextInfo']()[_0x55274b(0x2ad)]+'\x20'+_0x3ea15a[_0x55274b(0x4b2)](_0x147515);}[_0x132f81(0x43c)](_0x408af7,_0x14f951){const _0x4ea5af=_0x132f81;return _0x408af7==null||_0x408af7===''?this[_0x4ea5af(0x260)](_0x14f951):String(_0x408af7);}[_0x132f81(0x456)](_0x2de6d6){return this['collections'][_0x2de6d6];}[_0x132f81(0x30d)](_0x2258a4,_0x2d7731,_0xd2321b,_0x10ca59){const _0x502fcb=_0x132f81;this['collections'][_0x2258a4]=_0x2d7731,_0x2d7731['setRange'](_0xd2321b),this[_0x502fcb(0x1f7)]['broadcastCollectionChange']({'token':_0x2258a4,'type':_0x3d0e5c[_0x502fcb(0x258)],'dataRangeInfo':_0xd2321b,'targetCellInfo':_0x10ca59});}[_0x132f81(0x304)](_0x3a9c9f,_0x1ecdba){const _0x176b4c=_0x132f81,_0x4112d6=this['getCollection'](_0x3a9c9f),_0xbb7c92=_0x4112d6['getFieldIds']();let _0x2136d8=0x0;for(const _0x36e048 of _0xbb7c92){const _0x499341=_0x4112d6[_0x176b4c(0x4cb)](_0x36e048),_0x5c8e81=this[_0x176b4c(0x435)](_0x1ecdba,_0x2136d8);this['updateRangeKeyMap'](_0x499341[_0x176b4c(0x2d2)],_0x5c8e81),_0x2136d8++;}}[_0x132f81(0x4c3)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x2c13be,_0x525dda){const _0x2bdfbe=_0x132f81;if(this[_0x2bdfbe(0x456)](_0x2c13be)){const _0x3238f9=this[_0x2bdfbe(0x421)](_0x525dda),_0x5f5c21=[];for(const _0x538728 of _0x3238f9)this[_0x2bdfbe(0x4c1)][_0x538728]!==void 0x0&&_0x5f5c21['push'](this[_0x2bdfbe(0x4c1)][_0x538728]);const _0x5904a6=this[_0x2bdfbe(0x3e3)](_0x2c13be),_0x47a63f=[],_0x4a2d59=new Set(_0x5f5c21);for(const _0x4b2c1e of _0x5904a6)_0x4a2d59[_0x2bdfbe(0x463)](_0x4b2c1e)||_0x47a63f['push'](_0x4b2c1e);return _0x47a63f;}}[_0x132f81(0x2a5)](_0x2b5746,_0x5d5ec2,_0x5c1c53,_0x19052b,_0x1b2a26){const _0xf37651=_0x132f81;return _0x5d5ec2&&_0x5d5ec2['getValue'](_0x19052b,_0x1b2a26)?_0x5d5ec2[_0xf37651(0x48f)](_0x19052b,_0x1b2a26):_0x5c1c53&&_0x5c1c53[_0xf37651(0x48f)](_0x19052b,_0x1b2a26)?_0x5c1c53[_0xf37651(0x48f)](_0x19052b,_0x1b2a26):_0x2b5746[_0xf37651(0x48f)](_0x19052b,_0x1b2a26);}[_0x132f81(0x214)](_0x4a74f3,_0x31e5ee,_0x3b8703,_0x4494e7){const _0x496d0f=_0x132f81,_0x15bbb3=this[_0x496d0f(0x34b)][_0x4a74f3];if(!_0x15bbb3)return;const {subUnitId:_0x37cebb,range:_0x225712,unitId:_0x39d0d4}=_0x31e5ee,_0x2828df=this[_0x496d0f(0x438)][_0x496d0f(0x40d)](_0x39d0d4);if(!_0x2828df){console[_0x496d0f(0x3a1)](_0x496d0f(0x3a3));return;}const _0x43afdb=_0x2828df['getSheetBySheetId'](_0x37cebb),_0x243135=_0x43afdb[_0x496d0f(0x432)](),{arrayFormulaCellDataMatrix:_0x104181,unitDataMatrix:_0x2d020e}=_0x4494e7||{},{startRow:_0x40626a,startColumn:_0x300c47,endRow:_0x360e63}=this['getRangeStartEndInfo'](_0x225712,_0x43afdb);_0x15bbb3[_0x496d0f(0x38f)]();const _0x654fe7=_0x2828df[_0x496d0f(0x219)](),_0x1be8df={},_0x5c60e1=this[_0x496d0f(0x2a5)](_0x243135,_0x104181,_0x2d020e,_0x40626a,_0x300c47+_0x3b8703);let _0x1569c8=this['adjustSheetCellData'](_0x5c60e1,_0x654fe7,_0x1be8df);_0x533a75[_0x496d0f(0x3b1)](_0x1569c8)&&(_0x1569c8=_0x3ea15a['numfmt'][_0x496d0f(0x37e)](_0x1569c8['f'],Number(_0x1569c8['v'])));const _0x47e9cd=this[_0x496d0f(0x43c)](_0x1569c8,_0x300c47+_0x3b8703);_0x15bbb3[_0x496d0f(0x372)](_0x47e9cd);for(let _0xcf0816=_0x40626a+0x1;_0xcf0816<=_0x360e63;_0xcf0816++){const _0x27dc59=this[_0x496d0f(0x2a5)](_0x243135,_0x104181,_0x2d020e,_0xcf0816,_0x300c47+_0x3b8703);_0x15bbb3[_0x496d0f(0x399)](this[_0x496d0f(0x311)](_0x27dc59,_0x654fe7,_0x1be8df),_0xcf0816-0x1-_0x40626a);}}[_0x132f81(0x375)](_0x12e7ec,_0x4c29c3,_0x54d74d){const _0x43978e=_0x132f81,{subUnitId:_0x53b301,range:_0x4607aa,unitId:_0x573447}=_0x54d74d,_0x19f8aa=this[_0x43978e(0x438)]['getUnit'](_0x573447);if(!_0x19f8aa){console['error'](_0x43978e(0x3a3));return;}const _0x4baa1b=_0x19f8aa[_0x43978e(0x392)](_0x53b301),_0x4a3434=_0x4baa1b[_0x43978e(0x432)](),{startRow:_0x342b23,startColumn:_0xcb6d24,endRow:_0x4f611b}=this[_0x43978e(0x35b)](_0x4607aa,_0x4baa1b),_0x4bd930=_0x19f8aa[_0x43978e(0x219)](),_0x4a2eb1={};for(const {dataField:_0x3f8ae6,index:_0x2e023c}of _0x4c29c3){_0x3f8ae6[_0x43978e(0x38f)]();const _0x2c0924=this[_0x43978e(0x2a5)](_0x4a3434,void 0x0,void 0x0,_0x342b23,_0xcb6d24+_0x2e023c);let _0x1b71c2=this[_0x43978e(0x311)](_0x2c0924,_0x4bd930,_0x4a2eb1);_0x533a75[_0x43978e(0x3b1)](_0x1b71c2)&&(_0x1b71c2=_0x3ea15a[_0x43978e(0x294)]['format'](_0x1b71c2['f'],Number(_0x1b71c2['v'])));const _0x550b3f=this[_0x43978e(0x43c)](_0x1b71c2,_0xcb6d24+_0x2e023c);_0x3f8ae6[_0x43978e(0x372)](_0x550b3f);}_0x12e7ec[_0x43978e(0x291)]();for(let _0x13c4e8=_0x342b23+0x1;_0x13c4e8<=_0x4f611b;_0x13c4e8++)for(const {index:_0x1aeffa,dataField:_0x5688f9}of _0x4c29c3){const _0x2e7108=_0x4a3434[_0x43978e(0x48f)](_0x13c4e8,_0xcb6d24+_0x1aeffa);_0x5688f9[_0x43978e(0x399)](this['adjustSheetCellData'](_0x2e7108,_0x4bd930,_0x4a2eb1),_0x13c4e8-0x1-_0x342b23);}_0x12e7ec[_0x43978e(0x27c)](_0x4f611b-_0x342b23);}[_0x132f81(0x421)](_0x237641){const _0x9973bd=_0x132f81,{range:_0xb83f57}=_0x237641,{startColumn:_0x43105a,endColumn:_0xeb2f90}=_0xb83f57,_0x223e42=[];for(let _0x89f862=_0x43105a;_0x89f862<=_0xeb2f90;_0x89f862++)_0x223e42['push'](this[_0x9973bd(0x435)](_0x237641,_0x89f862));return _0x223e42;}[_0x132f81(0x311)](_0x571815,_0x4b1c6d,_0xf9336d){const _0x3b566e=_0x132f81;if(_0x571815){const {s:_0xbd43ce,v:_0x3b1791,t:_0x4e6f8c,p:_0x3c1950}=_0x571815;if(_0x3c1950)return _0x13f71d(_0x3c1950);const _0x2f344f=_0x4b1c6d[_0x3b566e(0x3c9)](_0xbd43ce);if(_0x2f344f&&_0x4e6f8c===_0x3ea15a[_0x3b566e(0x4a2)][_0x3b566e(0x358)]&&_0x2f344f['n']){const {pattern:_0x398d25}=_0x2f344f['n'];_0xf9336d[_0x398d25]||(_0xf9336d[_0x398d25]=_0x3ea15a[_0x3b566e(0x294)][_0x3b566e(0x3a4)](_0x398d25));const _0x2d686b=_0xf9336d[_0x398d25],_0x3eec2c=_0x2d686b[_0x3b566e(0x3fe)];if(_0x2d686b[_0x3b566e(0x4ce)])return String(_0x3b1791);if(_0x3eec2c)return{'v':_0x3b1791,'f':_0x398d25};}if(_0x4e6f8c===_0x3ea15a[_0x3b566e(0x4a2)]['NUMBER'])return Number(_0x3b1791);if(_0x4e6f8c===_0x3ea15a[_0x3b566e(0x4a2)][_0x3b566e(0x4d5)]||_0x4e6f8c===_0x3ea15a[_0x3b566e(0x4a2)][_0x3b566e(0x37c)])return String(_0x3b1791);if(_0x4e6f8c===void 0x0){const _0x41e33b=Number(_0x3b1791);if(!Number[_0x3b566e(0x2a8)](_0x41e33b)&&String(_0x41e33b)===_0x3b1791)return _0x41e33b;}return _0x3b1791!=null?_0x3b1791:null;}else return null;}[_0x132f81(0x4ca)](_0x5845f9){const _0x4cbc45=_0x132f81,{sheetName:_0x5f3a24,range:_0x3b4cc4,unitId:_0x495b63}=_0x5845f9,_0x3525d7=this[_0x4cbc45(0x438)][_0x4cbc45(0x40d)](_0x495b63);if(!_0x3525d7)return console[_0x4cbc45(0x3a1)](_0x4cbc45(0x3a3)),{'header':[],'data':[]};const _0x367b17=_0x3525d7[_0x4cbc45(0x42b)](_0x5f3a24),_0x390a39=_0x367b17[_0x4cbc45(0x432)](),{startRow:_0xd58c30,startColumn:_0x4bc90f,endRow:_0xc08038,endColumn:_0x1ca247}=this[_0x4cbc45(0x35b)](_0x3b4cc4,_0x367b17),_0xb51dc3=_0x3525d7[_0x4cbc45(0x219)](),_0x57ecb8=[],_0x44e40e=[],_0x422846={};for(let _0x3c76e0=_0xd58c30;_0x3c76e0<=_0xc08038;_0x3c76e0++){const _0x7c1292=[];for(let _0x56c4dd=_0x4bc90f;_0x56c4dd<=_0x1ca247;_0x56c4dd++){const _0x1ac372=_0x390a39[_0x4cbc45(0x48f)](_0x3c76e0,_0x56c4dd);_0x3c76e0===_0xd58c30?_0x57ecb8[_0x4cbc45(0x251)](_0x1ac372==null?null:String(_0x1ac372['v'])):_0x7c1292[_0x4cbc45(0x251)](this[_0x4cbc45(0x311)](_0x1ac372,_0xb51dc3,_0x422846));}_0x44e40e[_0x4cbc45(0x251)](_0x7c1292);}return{'header':_0x57ecb8,'data':_0x44e40e};}[_0x132f81(0x329)](){const _0x15b1af=_0x132f81;return super[_0x15b1af(0x329)]();}[_0x132f81(0x344)](_0x5f7988){const _0x4ff43a=_0x132f81;super[_0x4ff43a(0x344)](_0x5f7988),this[_0x4ff43a(0x45e)]();}[_0x132f81(0x42e)](){const _0x98d4d9=_0x132f81;super['dispose'](),this[_0x98d4d9(0x4c1)]={},this[_0x98d4d9(0x1f7)]=null;}}const _0x14e678=_0x3f528d=>{const _0x467b3d=_0x132f81,{targetCellInfo:_0x1d3963}=_0x3f528d,{matrixCache:_0x53bbe9,rangesCache:_0x41d0f5}=_0x9feb3e({'filter':_0x467b3d(0x3ac),'row':_0x467b3d(0x3bb),'column':_0x467b3d(0x40c),'values':_0x467b3d(0x2ea)},_0x1d3963),_0x2d2b53=new _0x3ea15a['ObjectMatrix']();return _0x53bbe9[_0x467b3d(0x26c)]((_0x36255c,_0x181fc1,_0x363a68)=>{const _0x35558f=_0x467b3d;_0x2d2b53[_0x35558f(0x362)](_0x36255c,_0x181fc1,_0x363a68);}),{'matrix':_0x2d2b53,'rangesCache':_0x41d0f5};},_0x1dccac=_0xdb14db=>{const _0xdfabf6=_0x132f81;let _0x14089a;if(_0xdb14db!=null&&_0xdb14db['v']||(_0xdb14db==null?void 0x0:_0xdb14db['v'])===0x0){_0x14089a||(_0x14089a={});const _0x407b23=_0x2c1311(_0xdb14db['v']);typeof _0x407b23==_0xdfabf6(0x3a0)?_0x14089a['t']=_0x3ea15a['CellValueType'][_0xdfabf6(0x358)]:typeof _0x407b23=='string'&&(_0x14089a['t']=_0x3ea15a[_0xdfabf6(0x4a2)]['STRING']),_0x14089a['v']=_0x407b23;}return _0x14089a;},_0x209cdc=(_0x48599c,_0x3bfa4c,_0x4b507a)=>{const _0x2cb52a=_0x132f81;var _0xb4fced,_0x569508,_0xa0a956,_0x1e0db4,_0x14e680,_0x4b566a,_0x24e2e4,_0x22b13a,_0x4a7c2e,_0x19b6e2,_0x274006,_0x338725;const {cornerView:_0x3b8445,rowView:_0x4374bf,colView:_0x9cf4ce,dataView:_0x5a1ea2,pageView:_0x413f46,formatMap:_0x16af7b}=_0x48599c,{row:_0x522c52,col:_0x2263f5}=_0x3bfa4c,_0x31fb0a=new _0x3ea15a[(_0x2cb52a(0x405))]();let _0x2c9065=_0x522c52,_0x42fd00=_0x2263f5;Object[_0x2cb52a(0x28e)](_0x413f46[_0x2cb52a(0x1ef)])[_0x2cb52a(0x473)](_0x125652=>{const _0x358985=_0x2cb52a;Object[_0x358985(0x28e)](_0x413f46[_0x358985(0x1ef)][Number(_0x125652)])[_0x358985(0x473)](_0x2215d2=>{const _0x4f4fb4=_0x358985,_0x58dccd={..._0x413f46[_0x4f4fb4(0x1ef)][Number(_0x125652)][Number(_0x2215d2)]};_0x31fb0a['setValue'](Number(_0x125652)+_0x2c9065,Number(_0x2215d2)+_0x42fd00,_0x1dccac(_0x58dccd));});});const _0x3daee7=Object[_0x2cb52a(0x28e)](_0x413f46[_0x2cb52a(0x1ef)])[_0x2cb52a(0x23e)];_0x2c9065+=_0x3daee7+(_0x3daee7?_0x143b06:0x0);const _0x36e535=_0x3b8445[_0x2cb52a(0x30b)](),_0x89d1b9=_0x3b8445[_0x2cb52a(0x2e4)]();for(let _0x5d02d7=0x0;_0x5d02d7<_0x36e535;_0x5d02d7++)for(let _0x506ee2=0x0;_0x506ee2<_0x89d1b9;_0x506ee2++){const _0x13152f={...(_0x569508=(_0xb4fced=_0x3b8445[_0x2cb52a(0x1ef)])==null?void 0x0:_0xb4fced[_0x5d02d7])==null?void 0x0:_0x569508[_0x506ee2]};_0x13152f&&((_0xa0a956=_0x4374bf[_0x2cb52a(0x507)][_0x506ee2])!=null&&_0xa0a956[_0x2cb52a(0x2ec)])&&_0x506ee2===_0x89d1b9-0x1&&_0x5d02d7===_0x36e535-0x1&&(_0x13152f['v']=''+_0x4b507a['sheets-pivot.value']),_0x31fb0a[_0x2cb52a(0x362)](_0x5d02d7+_0x2c9065,_0x506ee2+_0x42fd00,_0x1dccac(_0x13152f));}_0x42fd00+=_0x89d1b9;const _0x19a433=_0x9cf4ce['headerMap'],_0x296605=_0x9cf4ce[_0x2cb52a(0x361)]()>=0x0?_0x9cf4ce['getLastRow']()+0x1:0x0,_0x247fc8=_0x9cf4ce[_0x2cb52a(0x4cc)]()>=0x0?_0x9cf4ce[_0x2cb52a(0x4cc)]()+0x1:0x0;for(let _0x4ea37d=0x0;_0x4ea37d<_0x247fc8;_0x4ea37d++)for(let _0x104046=0x0;_0x104046<_0x296605;_0x104046++){const _0x2237f5={...(_0x14e680=(_0x1e0db4=_0x9cf4ce[_0x2cb52a(0x1ef)])==null?void 0x0:_0x1e0db4[_0x4ea37d])==null?void 0x0:_0x14e680[_0x104046]},_0x56e915=(_0x4b566a=_0x19a433[_0x4ea37d])==null?void 0x0:_0x4b566a['tableFieldId'],_0x5401b8=_0x16af7b[_0x56e915];_0x2237f5&&(_0x2237f5['v']=_0x40b827(_0x2237f5,_0x4ea37d===0x0&&((_0x24e2e4=_0x9cf4ce[_0x2cb52a(0x2e1)](_0x104046+0x1))==null?void 0x0:_0x24e2e4[_0x2cb52a(0x2ec)]),_0x5401b8,_0x4b507a)),_0x31fb0a[_0x2cb52a(0x362)](_0x4ea37d+_0x2c9065,_0x104046+_0x42fd00,_0x1dccac(_0x2237f5));}_0x2c9065+=_0x36e535;const _0x7961f1=_0x4374bf[_0x2cb52a(0x507)],_0x555a6b=_0x4374bf[_0x2cb52a(0x361)]()>=0x0?_0x4374bf[_0x2cb52a(0x361)]()+0x1:0x0,_0x4c7107=_0x4374bf[_0x2cb52a(0x4cc)]()>=0x0?_0x4374bf[_0x2cb52a(0x4cc)]()+0x1:0x0;for(let _0x2da5c5=0x0;_0x2da5c5<_0x555a6b;_0x2da5c5++)for(let _0x598ef2=0x0;_0x598ef2<_0x4c7107;_0x598ef2++){const _0x19adff={...(_0x4a7c2e=(_0x22b13a=_0x4374bf['data'])==null?void 0x0:_0x22b13a[_0x2da5c5])==null?void 0x0:_0x4a7c2e[_0x598ef2]},_0x49906c=(_0x19b6e2=_0x7961f1[_0x598ef2])==null?void 0x0:_0x19b6e2[_0x2cb52a(0x388)],_0x5c5cdb=_0x16af7b[_0x49906c];_0x19adff&&(_0x19adff['v']=_0x40b827(_0x19adff,!0x1,_0x5c5cdb,_0x4b507a)),_0x31fb0a[_0x2cb52a(0x362)](_0x2da5c5+_0x2c9065,_0x598ef2+_0x2263f5,_0x1dccac(_0x19adff));}const _0x52c8a4=_0x5a1ea2['getRowCount'](),_0x5e46d6=_0x5a1ea2[_0x2cb52a(0x2e4)]();for(let _0x39ba4a=0x0;_0x39ba4a<_0x52c8a4;_0x39ba4a++)for(let _0x5c7a40=0x0;_0x5c7a40<_0x5e46d6;_0x5c7a40++){const _0x5c475f={...(_0x338725=(_0x274006=_0x5a1ea2[_0x2cb52a(0x1ef)])==null?void 0x0:_0x274006[_0x39ba4a])==null?void 0x0:_0x338725[_0x5c7a40]};_0x31fb0a['setValue'](_0x39ba4a+_0x2c9065,_0x5c7a40+_0x42fd00,_0x1dccac(_0x5c475f));}return _0x31fb0a;},_0x39648c=_0x35ee4d=>{const _0x2bdc0a=_0x132f81,{view:_0x27496d,targetCellInfo:_0xcfde30,isEmpty:_0x2497b4,textInfo:_0x1eb326}=_0x35ee4d;if(_0x2497b4)return _0x14e678(_0x35ee4d);const {pageView:_0x47777b,cornerView:_0x5cf6b7,rowView:_0x32e43c,colView:_0x154da8,dataView:_0x3ffe29}=_0x27496d,_0x1fd570=_0x151823(_0xcfde30,_0x47777b,!0x0),_0x1ad750=_0x47777b[_0x2bdc0a(0x4c4)]>=0x0?_0x47777b[_0x2bdc0a(0x4c4)]+0x1:0x0,_0x1d3a3e=_0x5cf6b7[_0x2bdc0a(0x30b)](),_0x48dfb3=_0x5cf6b7[_0x2bdc0a(0x2e4)](),_0x32d6f1=_0x1fd570[_0x2bdc0a(0x23e)]>0x0?_0x143b06:0x0,_0x21e20b=_0x151823({'row':_0xcfde30['row']+_0x1ad750+_0x32d6f1,'col':_0xcfde30[_0x2bdc0a(0x498)]},_0x5cf6b7,!0x1,!0x1),_0x34ef62=_0x151823({'row':_0xcfde30['row']+_0x1ad750+_0x32d6f1+_0x1d3a3e,'col':_0xcfde30[_0x2bdc0a(0x498)]},_0x32e43c,!0x1,!0x0),_0x249473=_0x151823({'row':_0xcfde30[_0x2bdc0a(0x2bc)]+_0x1ad750+_0x32d6f1,'col':_0xcfde30[_0x2bdc0a(0x498)]+_0x48dfb3},_0x154da8,!0x1,!0x0),_0x1166f5=_0x151823({'row':_0xcfde30[_0x2bdc0a(0x2bc)]+_0x1ad750+_0x32d6f1+_0x1d3a3e,'col':_0xcfde30[_0x2bdc0a(0x498)]+_0x48dfb3},_0x3ffe29,!0x1,!0x1),_0x24f75f={'rowRanges':_0x34ef62,'colRanges':_0x249473,'cornerRanges':_0x21e20b,'dataRanges':_0x1166f5,'pageRanges':_0x1fd570};return{'matrix':_0x209cdc(_0x27496d,_0xcfde30,_0x1eb326),'rangesCache':_0x24f75f};};var _0x1ca32d=Object[_0x132f81(0x4ac)],_0x4be65b=(_0x2a43f6,_0x2348ba,_0x45a6ff,_0x1aa289)=>{const _0x50db3a=_0x132f81;for(var _0x5a0ca2=_0x1aa289>0x1?void 0x0:_0x1aa289?_0x1ca32d(_0x2348ba,_0x45a6ff):_0x2348ba,_0x3dad7a=_0x2a43f6[_0x50db3a(0x23e)]-0x1,_0x90acb8;_0x3dad7a>=0x0;_0x3dad7a--)(_0x90acb8=_0x2a43f6[_0x3dad7a])&&(_0x5a0ca2=_0x90acb8(_0x5a0ca2)||_0x5a0ca2);return _0x5a0ca2;},_0x537dd0=(_0x4797bf,_0x5c0dc6)=>(_0x122021,_0x544825)=>_0x5c0dc6(_0x122021,_0x544825,_0x4797bf);_0x53a3b8[_0x132f81(0x3ee)]=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x375ba6,_0x2c6638,_0x38f52d,_0x528077,_0x15f809,_0x26286e){const _0x164b37=_0x132f81;super(),_0x1889e7(this,_0x164b37(0x324),new Map()),_0x1889e7(this,_0x164b37(0x2d1),new Map()),_0x1889e7(this,'_viewData',new Map()),_0x1889e7(this,'_textInfo'),_0x1889e7(this,'_collectionChange$',new _0x4e2dec['Subject']()),_0x1889e7(this,_0x164b37(0x27e),this[_0x164b37(0x2f2)]['asObservable']()),_0x1889e7(this,_0x164b37(0x28d),new _0x4e2dec['Subject']()),_0x1889e7(this,_0x164b37(0x259),this['_viewData$'][_0x164b37(0x3b2)]()),_0x1889e7(this,'_fieldsCollectionChange$',new _0x4e2dec[(_0x164b37(0x2d8))]()),_0x1889e7(this,_0x164b37(0x3a5),this[_0x164b37(0x2f0)][_0x164b37(0x3b2)]()),_0x1889e7(this,_0x164b37(0x31e),new Map()),_0x1889e7(this,_0x164b37(0x3e0),[]),_0x1889e7(this,_0x164b37(0x34d),new Map()),(this[_0x164b37(0x2fb)]=_0x375ba6,this[_0x164b37(0x438)]=_0x2c6638,this['_lifecycleService']=_0x38f52d,this[_0x164b37(0x3d6)]=_0x528077,this[_0x164b37(0x4ad)]=_0x15f809,this[_0x164b37(0x24c)]=_0x26286e,this[_0x164b37(0x496)]());}[_0x132f81(0x445)](){const _0x818928=_0x132f81;return this[_0x818928(0x35c)]?this[_0x818928(0x35c)]:_0x3b175a;}['setTextInfo'](_0x3ffe1e){const _0x2a548f=_0x132f81;this[_0x2a548f(0x35c)]=_0x3ffe1e;}[_0x132f81(0x304)](_0xdff181){const _0x3900b2=_0x132f81;var _0x19d492;const {from:_0x4543d6,to:_0x4ebaca,unitId:_0x56f11e,fromRange:_0x16ffe1,toRange:_0x2b4eff}=_0xdff181;if(_0x4543d6&&_0x4ebaca){const _0x24e259=this[_0x3900b2(0x305)](_0x56f11e),_0x2fa325=this['_model'][_0x3900b2(0x3c9)](_0x56f11e),_0x2020ea=(_0x19d492=this[_0x3900b2(0x438)][_0x3900b2(0x40d)](_0x56f11e))==null?void 0x0:_0x19d492['getSheetBySheetId'](_0x4ebaca[_0x3900b2(0x2b6)]);if(!_0x2fa325||!_0x2020ea)return;const _0x1901c1=_0x2020ea==null?void 0x0:_0x2020ea[_0x3900b2(0x396)]();for(const [_0x3e9e3a,_0x7d28a5]of _0x2fa325['entries']())for(const [_0x4d7049,_0x5153b0]of _0x7d28a5['entries']()){const {sourceRangeInfo:_0x271635}=_0x5153b0;if(_0x271635[_0x3900b2(0x3b5)]===_0x56f11e&&_0x271635[_0x3900b2(0x2b6)]===_0x4543d6[_0x3900b2(0x2b6)]&&_0x3ea15a['Rectangle']['contains'](_0x16ffe1,_0x271635['range'])){const _0x4ffbb0={'row':_0x271635['range'][_0x3900b2(0x22b)]-_0x16ffe1['startRow'],'col':_0x271635[_0x3900b2(0x3ba)]['startColumn']-_0x16ffe1['startColumn']},_0x3f7519={'unitId':_0x56f11e,'subUnitId':_0x4ebaca['subUnitId'],'sheetName':_0x1901c1,'range':{'startRow':_0x2b4eff['startRow']+_0x4ffbb0[_0x3900b2(0x2bc)],'endRow':_0x2b4eff[_0x3900b2(0x22b)]+_0x4ffbb0[_0x3900b2(0x2bc)]+_0x271635[_0x3900b2(0x3ba)][_0x3900b2(0x3f9)]-_0x271635[_0x3900b2(0x3ba)][_0x3900b2(0x22b)],'startColumn':_0x2b4eff['startColumn']+_0x4ffbb0['col'],'endColumn':_0x2b4eff[_0x3900b2(0x3bd)]+_0x4ffbb0['col']+_0x271635['range'][_0x3900b2(0x41a)]-_0x271635['range'][_0x3900b2(0x3bd)]}};_0x24e259[_0x3900b2(0x304)](_0x4d7049,_0x3f7519);const _0x5582ec={..._0x5153b0,'sourceRangeInfo':_0x3f7519};this['_updateModelCache'](_0x56f11e,_0x4ebaca[_0x3900b2(0x2b6)],_0x4d7049,_0x5582ec),this[_0x3900b2(0x266)]({'unitId':_0x56f11e,'token':_0x4d7049,'type':_0x3d0e5c['update'],'oldSourceRangeInfo':_0x271635,'dataRangeInfo':_0x3f7519,'targetCellInfo':_0x5153b0['targetCellInfo']}),this[_0x3900b2(0x487)]({'unitId':_0x56f11e,'subUnitId':_0x4ebaca[_0x3900b2(0x2b6)],'oldSubUnitId':_0x3e9e3a,'pivotTableId':_0x4d7049,'pivotTableConfig':_0x5582ec,'collectionConfig':_0x24e259[_0x3900b2(0x329)]()});}}}}[_0x132f81(0x266)](_0x4b3ca1){const _0x3274cb=_0x132f81;this[_0x3274cb(0x2f2)][_0x3274cb(0x4f2)](_0x4b3ca1);}['getDataFieldManager'](_0x93ed9d){const _0xa9f531=_0x132f81;let _0x481a25=this[_0xa9f531(0x31e)][_0xa9f531(0x3c9)](_0x93ed9d);return _0x481a25||(_0x481a25=new _0x35b8ab(this,this[_0xa9f531(0x438)]),this['_dataFieldManagerCollection']['set'](_0x93ed9d,_0x481a25)),_0x481a25;}['getCollection'](_0x5e5173,_0xa47019){const _0x186cb7=_0x132f81;return this[_0x186cb7(0x305)](_0x5e5173)[_0x186cb7(0x3c8)][_0xa47019];}[_0x132f81(0x34a)](_0x533b7e,_0x5e7a2a,_0x3d9f16){const _0xa3f1e4=_0x132f81;return this[_0xa3f1e4(0x305)](_0x533b7e)[_0xa3f1e4(0x34a)](_0x5e7a2a,_0x3d9f16);}[_0x132f81(0x3c3)](_0x5cb9b6,_0x326d5d){const _0x510e76=_0x132f81;let _0x397bda=this['_model'][_0x510e76(0x3c9)](_0x5cb9b6);_0x397bda||(_0x397bda=new Map(),this[_0x510e76(0x324)][_0x510e76(0x43b)](_0x5cb9b6,_0x397bda));let _0x3a04ae=_0x397bda[_0x510e76(0x3c9)](_0x326d5d);return _0x3a04ae||(_0x3a04ae=new Map(),_0x397bda[_0x510e76(0x43b)](_0x326d5d,_0x3a04ae)),_0x3a04ae;}[_0x132f81(0x4f5)](_0x314ec9,_0x357e0c,_0x48c5cd,_0x2601a0){const _0x38ca87=_0x132f81;this['_ensurePivotMap'](_0x314ec9,_0x357e0c)[_0x38ca87(0x43b)](_0x48c5cd,_0x2601a0);}[_0x132f81(0x368)](_0x45b1d3,_0x281af0,_0x2800dd){const _0x101700=_0x132f81;var _0x2b1b02,_0x12fcf7,_0x17ed6a,_0x54a8c5;((_0x12fcf7=(_0x2b1b02=this['_model'][_0x101700(0x3c9)](_0x45b1d3))==null?void 0x0:_0x2b1b02[_0x101700(0x3c9)](_0x281af0))==null?void 0x0:_0x12fcf7['get'](_0x2800dd))&&((_0x54a8c5=(_0x17ed6a=this['_model'][_0x101700(0x3c9)](_0x45b1d3))==null?void 0x0:_0x17ed6a[_0x101700(0x3c9)](_0x281af0))==null||_0x54a8c5[_0x101700(0x28a)](_0x2800dd));}[_0x132f81(0x2f3)](_0x5a90da,_0x2e7361){this['_pivotTableInstanceCache']['set'](_0x5a90da,_0x2e7361);}[_0x132f81(0x408)](_0x5b85b6){const _0x20a9ff=_0x132f81;this[_0x20a9ff(0x2d1)][_0x20a9ff(0x28a)](_0x5b85b6);}[_0x132f81(0x39c)](_0x13ab1a,_0x44c522){const _0x34b920=_0x132f81;let _0x514151=this[_0x34b920(0x455)]['get'](_0x13ab1a);_0x514151||(_0x514151=new Map(),this['_viewData']['set'](_0x13ab1a,_0x514151));let _0x221165=_0x514151[_0x34b920(0x3c9)](_0x44c522);return _0x221165||(_0x221165=new Map(),_0x514151[_0x34b920(0x43b)](_0x44c522,_0x221165)),_0x221165;}[_0x132f81(0x487)](_0x3e5e9e){const _0x40daae=_0x132f81,{unitId:_0x42aeb8,subUnitId:_0x48b5ea,pivotTableId:_0x5df785,pivotTableConfig:_0x50410a,collectionConfig:_0x3fea5d}=_0x3e5e9e,_0x210178={'unitId':_0x42aeb8,'subUnitId':_0x48b5ea,'oldSubUnitId':_0x48b5ea,'pivotTableId':_0x5df785,'pivotTableConfig':_0x50410a,'collectionConfig':_0x3fea5d};this[_0x40daae(0x4ad)][_0x40daae(0x2fa)](_0xa52f83['id'],_0x210178,{'onlyLocal':!0x0});}[_0x132f81(0x36e)](_0xeb6012,_0x23693c,_0x12e703,_0x14850b,_0x2481dc,_0x39ab24,_0x50c719,_0x4db67b=!0x1){const _0x1e4e62=_0x132f81;var _0x1482b5;this['_commandService'][_0x1e4e62(0x2fa)](_0x4675f6['id'],{'single':{'unitId':_0xeb6012,'subUnitId':_0x23693c,'type':_0x12e703,'pivotTableId':_0x14850b,'view':_0x2481dc,'pivotConfig':_0x39ab24},'collectionConfig':{[_0xeb6012]:_0x50c719}},{'onlyLocal':!0x0});const _0x576a62=!!((_0x1482b5=this[_0x1e4e62(0x3be)](_0x14850b))!=null&&_0x1482b5['isEmpty']()),_0x374049=this[_0x1e4e62(0x3f5)](_0xeb6012,_0x23693c,_0x14850b);_0x374049&&this[_0x1e4e62(0x45a)]({'view':_0x2481dc,'pivotTableId':_0x14850b,'textInfo':this[_0x1e4e62(0x445)](),'isEmpty':_0x576a62,'targetCellInfo':_0x374049['targetCellInfo']},_0x4db67b);}[_0x132f81(0x45a)](_0x57da52,_0x25d419){const _0x4a663d=_0x132f81,{targetCellInfo:_0x26964d,pivotTableId:_0x1f136e}=_0x57da52,{unitId:_0xcf809c,subUnitId:_0x522d63}=_0x26964d,_0x3063fd=this['_ensureViewDataMap'](_0xcf809c,_0x522d63),_0x42375d=_0x3063fd[_0x4a663d(0x3c9)](_0x1f136e);let _0x1186c4,_0x2cd258;_0x42375d&&(_0x1186c4=_0x42375d['rangeCache'],_0x2cd258=_0x42375d[_0x4a663d(0x4e5)]);const {rangesCache:_0xe9225b,matrix:_0x1a3022}=_0x39648c(_0x57da52);_0x3063fd[_0x4a663d(0x43b)](_0x1f136e,{'rangeCache':_0xe9225b,'matrix':_0x1a3022,'oldMatrix':_0x2cd258,'oldRangeCache':_0x1186c4}),_0x25d419||this['_viewData$'][_0x4a663d(0x4f2)]({'unitId':_0xcf809c,'subUnitId':_0x522d63,'pivotTableId':_0x1f136e});}[_0x132f81(0x4d2)](_0x51c283,_0xfa84cd,_0x260816,_0x1a1375,_0x4c3fc4){const _0x68cfd=_0x132f81;this[_0x68cfd(0x4f5)](_0x51c283,_0xfa84cd,_0x260816,_0x4c3fc4),this[_0x68cfd(0x2f3)](_0x260816,_0x1a1375);}[_0x132f81(0x2de)](_0x408f31,_0x270142,_0x414e7e){const _0x3147a5=_0x132f81,_0x36699a=this[_0x3147a5(0x305)](_0x408f31);_0x36699a[_0x3147a5(0x3e3)](_0x414e7e)[_0x3147a5(0x473)](_0x22b392=>{const _0xb502ce=_0x3147a5;_0x36699a[_0xb502ce(0x36d)](_0x22b392);}),this[_0x3147a5(0x40b)](_0x408f31,_0x414e7e),this[_0x3147a5(0x368)](_0x408f31,_0x270142,_0x414e7e),this['_deletePivotTableInstanceCache'](_0x414e7e);}[_0x132f81(0x369)](_0x4c212b,_0x1d49e7,_0x168887,_0x26fab2){this['_updateModelCache'](_0x4c212b,_0x1d49e7,_0x168887,_0x26fab2);}[_0x132f81(0x3f5)](_0x41b103,_0x5d430c,_0x509728){const _0x21856b=_0x132f81;var _0x2decc0,_0x494bc3;const _0x30f00a=(_0x494bc3=(_0x2decc0=this[_0x21856b(0x324)][_0x21856b(0x3c9)](_0x41b103))==null?void 0x0:_0x2decc0[_0x21856b(0x3c9)](_0x5d430c))==null?void 0x0:_0x494bc3['get'](_0x509728);if(_0x30f00a)return _0x30f00a;}[_0x132f81(0x22e)](_0x2b4ee6,_0x5459bc,_0x42e594){const _0x4d91ee=_0x132f81;var _0x578bea,_0x1b948e;const _0x4b36b3=(_0x1b948e=(_0x578bea=this['_model']['get'](_0x2b4ee6))==null?void 0x0:_0x578bea['get'](_0x5459bc))==null?void 0x0:_0x1b948e[_0x4d91ee(0x3c9)](_0x42e594);if(_0x4b36b3)return _0x4b36b3[_0x4d91ee(0x2c9)];}[_0x132f81(0x3be)](_0x480909){const _0x237e97=_0x132f81;return this[_0x237e97(0x2d1)][_0x237e97(0x3c9)](_0x480909);}[_0x132f81(0x43a)](_0x4d534e){const _0x772476=_0x132f81;this[_0x772476(0x324)]['delete'](_0x4d534e);const _0x1ce8af=this[_0x772476(0x31e)]['get'](_0x4d534e);_0x1ce8af&&(_0x1ce8af[_0x772476(0x42e)](),this[_0x772476(0x31e)][_0x772476(0x28a)](_0x4d534e)),this[_0x772476(0x455)][_0x772476(0x28a)](_0x4d534e),this[_0x772476(0x3e0)][_0x772476(0x473)](_0x3462c0=>{_0x3462c0['deleteUnitId'](_0x4d534e);});}[_0x132f81(0x342)](_0x45ad6d,_0x4774c1,_0x304d69,_0x20a618){const _0x40908a=_0x132f81;return this[_0x40908a(0x305)](_0x304d69[_0x40908a(0x3b5)])['addCollectionByJSON'](_0x45ad6d,_0x4774c1,_0x304d69,_0x20a618);}[_0x132f81(0x3c2)](_0x105239){const _0x47233b=_0x132f81;return this[_0x47233b(0x305)](_0x105239['unitId'])[_0x47233b(0x3c2)](_0x105239);}[_0x132f81(0x375)](_0x31d96f,_0x1dfe07,_0xc9084c){const _0x642e84=_0x132f81;this[_0x642e84(0x305)](_0xc9084c['unitId'])['refreshData'](_0x31d96f,_0x1dfe07,_0xc9084c);}[_0x132f81(0x484)](_0x16100a,_0x2fb721){const _0x2410ac=_0x132f81;this[_0x2410ac(0x305)](_0x16100a)['deleteDataField'](_0x2fb721);}[_0x132f81(0x40b)](_0x3b60be,_0x44206f){const _0x28618a=_0x132f81;this[_0x28618a(0x305)](_0x3b60be)['removeCollectionImp'](_0x44206f);}[_0x132f81(0x469)](_0x14bfd0,_0x4a3b01){const _0x101f2b=_0x132f81;var _0x49093d;return(_0x49093d=this['_model']['get'](_0x14bfd0))==null?void 0x0:_0x49093d[_0x101f2b(0x3c9)](_0x4a3b01);}[_0x132f81(0x3cf)](_0x2ad0ca){const _0x9d8039=_0x132f81;for(const [_0x3634a8,_0x2f3848]of this[_0x9d8039(0x324)][_0x9d8039(0x4ff)]())for(const [_0xb37db1,_0x5bc258]of _0x2f3848['entries']())if(_0x5bc258[_0x9d8039(0x463)](_0x2ad0ca))return{'unitId':_0x3634a8,'subUnitId':_0xb37db1};return null;}[_0x132f81(0x4b6)](_0x39ca31,_0x4769a0,_0x2ff1e0,_0xc897de){const _0x997e5d=_0x132f81,_0x3dadb5=this[_0x997e5d(0x39c)](_0x39ca31,_0x4769a0);_0xc897de?_0x3dadb5[_0x997e5d(0x43b)](_0x2ff1e0,_0xc897de):_0x3dadb5[_0x997e5d(0x28a)](_0x2ff1e0),this[_0x997e5d(0x28d)][_0x997e5d(0x4f2)]({'unitId':_0x39ca31,'subUnitId':_0x4769a0,'pivotTableId':_0x2ff1e0});}[_0x132f81(0x42e)](){const _0x5f259c=_0x132f81;super[_0x5f259c(0x42e)]();}[_0x132f81(0x216)](_0x284e2d,_0x3fbd2d,_0x186579){const _0x36b930=_0x132f81;var _0x31b6ac,_0x2fc3bc;const _0x3d3dd1=(_0x2fc3bc=(_0x31b6ac=this[_0x36b930(0x455)]['get'](_0x284e2d))==null?void 0x0:_0x31b6ac[_0x36b930(0x3c9)](_0x3fbd2d))==null?void 0x0:_0x2fc3bc[_0x36b930(0x3c9)](_0x186579);return _0x3d3dd1||null;}[_0x132f81(0x248)](_0x275799){this['updateDirtyPivotTable'](_0x275799);}[_0x132f81(0x30c)](_0x183b10){const _0x326c44=_0x132f81,{token:_0x474767,unitId:_0x5aa53b,subUnitId:_0x1ddf2c}=_0x183b10,_0x51944c=_0x5aa53b+'-'+_0x1ddf2c+'-'+_0x474767;this[_0x326c44(0x34d)][_0x326c44(0x3c9)](_0x51944c)&&clearTimeout(this[_0x326c44(0x34d)][_0x326c44(0x3c9)](_0x51944c));const _0x66a1f5=setTimeout(()=>{const _0x421c14=_0x326c44;this[_0x421c14(0x35e)](_0x183b10),this['_queryingMap'][_0x421c14(0x28a)](_0x51944c);},_0x3ffc4f);this[_0x326c44(0x34d)][_0x326c44(0x43b)](_0x51944c,_0x66a1f5);}['queryDirtyPivotTable'](_0x12135f){const _0x44cbb8=_0x132f81,{unitId:_0x34d7f8,subUnitId:_0x54a369,token:_0x2a6830,type:_0x594789,pivotConfig:_0x17ab66}=_0x12135f,_0x5ad506=this['getPivotTableInstance'](_0x2a6830),_0x4e8022=_0x5ad506==null?void 0x0:_0x5ad506['query'](),_0x14ca62=_0x17ab66!=null?_0x17ab66:this[_0x44cbb8(0x3f5)](_0x34d7f8,_0x54a369,_0x2a6830);_0x14ca62&&(_0x14ca62[_0x44cbb8(0x2ed)]=!!(_0x5ad506!=null&&_0x5ad506['isEmpty']())),(_0x4e8022||_0x594789===_0x4f32a0[_0x44cbb8(0x2f8)])&&this['updateView'](_0x34d7f8,_0x54a369,_0x594789,_0x2a6830,_0x4e8022,_0x14ca62,this['getDataFieldManager'](_0x34d7f8)[_0x44cbb8(0x329)]());}[_0x132f81(0x329)](_0xdb56b0){const _0x4b8cce=_0x132f81,_0x110cbc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4b8cce(0x305)](_0xdb56b0)&&(_0x110cbc['dataFieldManagerConfig'][_0xdb56b0]=this[_0x4b8cce(0x305)](_0xdb56b0)[_0x4b8cce(0x329)]()),this['_model'][_0x4b8cce(0x3c9)](_0xdb56b0)){_0x110cbc[_0x4b8cce(0x414)][_0xdb56b0]={};const _0x4ebd67=this['_model'][_0x4b8cce(0x3c9)](_0xdb56b0);_0x4ebd67!=null&&_0x4ebd67[_0x4b8cce(0x3f6)]&&[..._0x4ebd67[_0x4b8cce(0x28e)]()][_0x4b8cce(0x473)](_0x445a83=>{const _0x3b98a8=_0x4b8cce,_0x29b972=_0x4ebd67[_0x3b98a8(0x3c9)](_0x445a83);_0x29b972!=null&&_0x29b972[_0x3b98a8(0x3f6)]&&(_0x110cbc['pivotTableConfigs'][_0xdb56b0][_0x445a83]={},[..._0x29b972[_0x3b98a8(0x28e)]()]['forEach'](_0x3438c6=>{const _0x57b859=_0x3b98a8,_0x57ae95=_0x29b972[_0x57b859(0x3c9)](_0x3438c6);_0x57ae95&&(_0x110cbc['pivotTableConfigs'][_0xdb56b0][_0x445a83][_0x3438c6]=_0x57ae95);}));});}return _0x110cbc;}[_0x132f81(0x344)](_0x3939c9){const _0x243ebe=_0x132f81;var _0x3c1b80;const {dataFieldManagerConfig:_0x1e1ab4,pivotTableConfigs:_0xadf9a4}=_0x3939c9;_0x1e1ab4&&Object[_0x243ebe(0x28e)](_0x1e1ab4)[_0x243ebe(0x473)](_0x5b905d=>{const _0x377ffb=_0x243ebe;this[_0x377ffb(0x305)](_0x5b905d)[_0x377ffb(0x344)](_0x1e1ab4[_0x5b905d]);});const _0x330e1e=[];if(_0xadf9a4){const _0x3157b1=(_0x3c1b80=this[_0x243ebe(0x2fb)][_0x243ebe(0x3c9)](_0x3ea15a[_0x243ebe(0x3d9)])['getConfig'](_0x3e669d['LS_CONFIG_KEY']))!=null?_0x3c1b80:{},{ls:_0x109bd0,pbk:_0x55192c}=_0x3157b1,_0x7c7510=_0x1dd753(_0x42b087,_0x109bd0,_0x55192c)['count'];Object[_0x243ebe(0x28e)](_0xadf9a4)[_0x243ebe(0x473)](_0x13010f=>{const _0x5cf2a8=_0x243ebe;let _0x55d07e=0x0;const _0xad010d=_0xadf9a4[_0x13010f];Object['keys'](_0xad010d)[_0x5cf2a8(0x473)](_0x286889=>{const _0x151129=_0xad010d[_0x286889];Object['keys'](_0x151129)['forEach'](_0x2a195c=>{const _0x2f1f2c=_0x3af4,_0x3d14a6=_0x151129[_0x2a195c];if(_0x3d14a6){if(_0x55d07e>=_0x7c7510)return;_0x55d07e++;const _0x497041=this[_0x2f1f2c(0x305)](_0x13010f),_0x579445=_0x497041[_0x2f1f2c(0x3c8)][_0x2a195c],_0x18619e=_0x579445[_0x2f1f2c(0x3e5)]();let _0x548796=0x0;const _0x474566=[];for(const _0x4f9da6 of _0x18619e){const _0x5c19b8=_0x579445['getFieldById'](_0x4f9da6);if(_0x533a75[_0x2f1f2c(0x22a)](_0x5c19b8)){const _0x18da1d=_0x5c19b8[_0x2f1f2c(0x237)](),_0x105798=_0x579445[_0x2f1f2c(0x4cb)](_0x18da1d);_0x105798&&_0x474566['push']([_0x5c19b8,_0x105798]);continue;}_0x497041[_0x2f1f2c(0x214)](_0x4f9da6,_0x3d14a6[_0x2f1f2c(0x2be)],_0x548796),_0x548796++;}_0x474566[_0x2f1f2c(0x473)](([_0x4c26f3,_0x31ec29])=>{const _0x136426=_0x2f1f2c;_0x4c26f3[_0x136426(0x293)](_0x31ec29);});const _0x47e369=new _0x533a75[(_0x2f1f2c(0x41e))](_0x579445);_0x47e369[_0x2f1f2c(0x344)](_0x3d14a6['fieldsConfig']),this[_0x2f1f2c(0x4d2)](_0x13010f,_0x286889,_0x2a195c,_0x47e369,_0x3d14a6);const _0x4f0bf1=_0x47e369[_0x2f1f2c(0x40a)]();_0x330e1e[_0x2f1f2c(0x251)]({'unitId':_0x13010f,'subUnitId':_0x286889,'pivotTableId':_0x2a195c,'view':_0x4f0bf1[_0x2f1f2c(0x329)](),'pivotConfig':_0x3d14a6,'type':_0x4f32a0[_0x2f1f2c(0x359)]});const _0x9acbd1=!!_0x47e369[_0x2f1f2c(0x2ed)](),_0x3ada5b={'view':_0x4f0bf1,'pivotTableId':_0x2a195c,'textInfo':this[_0x2f1f2c(0x445)](),'isEmpty':_0x9acbd1,'targetCellInfo':_0x3d14a6[_0x2f1f2c(0x2d7)]};this[_0x2f1f2c(0x45a)](_0x3ada5b,!0x1);}});});});}_0x1e1ab4&&Object['keys'](_0x1e1ab4)['forEach'](_0x4c911f=>{const _0x168bd7=_0x243ebe,_0x1378f9=this[_0x168bd7(0x305)](_0x4c911f);this[_0x168bd7(0x2f0)]['next'](_0x1378f9[_0x168bd7(0x3c8)]);}),this[_0x243ebe(0x4ad)][_0x243ebe(0x2fa)](_0x4675f6['id'],{'batch':_0x330e1e,'collectionConfig':_0x1e1ab4},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x1cb507=_0x132f81;this[_0x1cb507(0x47c)](this[_0x1cb507(0x24c)][_0x1cb507(0x39e)]({'toJson':_0x2b13cb=>JSON[_0x1cb507(0x21f)](this['toJSON'](_0x2b13cb)),'parseJson':_0x5ea17d=>{const _0x146863=_0x1cb507;if(!_0x5ea17d)return{};try{return JSON[_0x146863(0x270)](_0x5ea17d);}catch{return{};}},'businesses':[_0x3ea15a[_0x1cb507(0x2da)][_0x1cb507(0x38d)]],'pluginName':_0x3dbe5d,'onLoad':(_0x10faee,_0x46420e)=>{const _0x4d6341=_0x1cb507;this[_0x4d6341(0x344)](_0x46420e);},'onUnLoad':_0x34a967=>{this['deleteUnitId'](_0x34a967);}}));}},_0x53a3b8[_0x132f81(0x3ee)]=_0x4be65b([_0x537dd0(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0x537dd0(0x1,_0x3ea15a['IUniverInstanceService']),_0x537dd0(0x2,_0x3ea15a['Inject'](_0x3ea15a[_0x132f81(0x308)])),_0x537dd0(0x3,_0x3ea15a['IConfigService']),_0x537dd0(0x4,_0x3ea15a[_0x132f81(0x47d)]),_0x537dd0(0x5,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x3df)]))],_0x53a3b8[_0x132f81(0x3ee)]);const _0x49847f={0x0:{0x0:{'v':_0x132f81(0x3e8),'s':_0x44e986}},0x2:{0x1:{'v':'','s':_0x44e986},0x2:{'v':'','s':_0x44e986},0x3:{'v':_0x132f81(0x3d2),'s':_0x44e986},0x4:{'v':'','s':_0x44e986},0x5:{'v':'','s':_0x44e986}},0x3:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x4:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x5:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x6:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x7:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x8:{0x0:{'v':_0x132f81(0x2bc),'s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'values','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0x9:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0xa:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0xb:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0xc:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}},0xd:{0x0:{'v':'','s':_0x44e986},0x1:{'v':'','s':_0x47d68f},0x2:{'v':'','s':_0x47d68f},0x3:{'v':'','s':_0x47d68f},0x4:{'v':'','s':_0x47d68f},0x5:{'v':'','s':_0x47d68f}}},_0x2754e={'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':[]},_0x9feb3e=(_0x1d951a,_0x210c31)=>{const _0xc080c5=_0x132f81,_0x245857=new _0x3ea15a[(_0xc080c5(0x405))](),_0x45a1d6=new _0x3ea15a['ObjectMatrix'](_0x49847f),{row:_0x56a995,col:_0x875056}=_0x210c31;_0x45a1d6['forValue']((_0x2de524,_0x2b5ea5,_0x5213f4)=>{const _0x439fed=_0xc080c5;let _0x568d07='';_0x5213f4['v']===_0x439fed(0x3e8)?_0x568d07=_0x1d951a[_0x439fed(0x3e8)]:_0x5213f4['v']===_0x439fed(0x2bc)?_0x568d07=_0x1d951a[_0x439fed(0x2bc)]:_0x5213f4['v']===_0x439fed(0x3d2)?_0x568d07=_0x1d951a[_0x439fed(0x3d2)]:_0x5213f4['v']===_0x439fed(0x4e1)&&(_0x568d07=_0x1d951a[_0x439fed(0x4e1)]),_0x245857[_0x439fed(0x362)](_0x2de524+_0x56a995,_0x2b5ea5+_0x875056,{..._0x5213f4,'v':_0x568d07});});const _0x166191=_0x3ea15a[_0xc080c5(0x3f3)][_0xc080c5(0x393)](_0x2754e);return Object[_0xc080c5(0x28e)](_0x2754e)[_0xc080c5(0x473)](_0x1b6847=>{const _0x5b4787=_0xc080c5;_0x166191[_0x1b6847]=_0x2754e[_0x1b6847]['map'](_0x30cc50=>({..._0x30cc50,'startRow':_0x30cc50[_0x5b4787(0x22b)]+_0x56a995,'endRow':_0x30cc50[_0x5b4787(0x3f9)]+_0x56a995,'startColumn':_0x30cc50[_0x5b4787(0x3bd)]+_0x875056,'endColumn':_0x30cc50[_0x5b4787(0x41a)]+_0x875056}));}),{'matrixCache':_0x245857,'rangesCache':_0x166191};};function _0x4d7b8c(_0x2ffadc,_0x151b0b){const _0xb3f789=_0x132f81;let _0x4e8ed3='';const _0x2564a0=this[_0xb3f789(0x445)]();switch(_0x151b0b){case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x416)]:_0x4e8ed3=_0x2564a0[_0xb3f789(0x3da)]+_0x2ffadc;break;case _0x533a75['PivotSubtotalTypeEnum'][_0xb3f789(0x503)]:_0x4e8ed3=_0x2564a0['sheets-pivot.countName']+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x200)]:_0x4e8ed3=_0x2564a0[_0xb3f789(0x27f)]+_0x2ffadc;break;case _0x533a75['PivotSubtotalTypeEnum']['max']:_0x4e8ed3=_0x2564a0[_0xb3f789(0x2fd)]+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x400)]:_0x4e8ed3=_0x2564a0['sheets-pivot.minName']+_0x2ffadc;break;case _0x533a75['PivotSubtotalTypeEnum'][_0xb3f789(0x44f)]:_0x4e8ed3=_0x2564a0['sheets-pivot.productName']+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x43e)]:_0x4e8ed3=_0x2564a0[_0xb3f789(0x427)]+_0x2ffadc;break;case _0x533a75['PivotSubtotalTypeEnum']['stdDevp']:_0x4e8ed3=_0x2564a0[_0xb3f789(0x2e7)]+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)]['sum']:_0x4e8ed3=_0x2564a0['sheets-pivot.sumName']+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x272)]:_0x4e8ed3=_0x2564a0[_0xb3f789(0x284)]+_0x2ffadc;break;case _0x533a75[_0xb3f789(0x3ec)][_0xb3f789(0x20a)]:_0x4e8ed3=_0x2564a0[_0xb3f789(0x2cb)]+_0x2ffadc;break;default:_0x4e8ed3=_0x2ffadc;break;}return _0x4e8ed3;}function _0x524390(_0x3a4aab,_0x4a20b1,_0x20d288,_0x4338d1,_0x4e8c14){const _0x15b85d=_0x132f81;var _0x17531b,_0x43ae5d,_0x5aed99,_0x558dfd,_0x6f02bb;const _0x49acaf=_0x3ea15a[_0x15b85d(0x336)](_0x3a4aab,_0x4a20b1),{rangesInfo:_0x2249a9,areaInfo:_0x366f6d,headerMap:_0x182c51}=_0x4e8c14;if(!_0x2249a9||!_0x366f6d||!_0x182c51)return;const _0x373ca4=Object[_0x15b85d(0x28e)](_0x2249a9)[_0x15b85d(0x4f6)](_0x57f854=>_0x2249a9[_0x57f854][_0x15b85d(0x3f8)](_0x200f84=>_0x3ea15a[_0x15b85d(0x253)][_0x15b85d(0x3f4)](_0x200f84,_0x49acaf))),_0xd36d78=_0x366f6d;let _0x27310b,_0x53ef0f,_0x5e9305;if(_0x373ca4==='rowRanges')_0x27310b=(_0x17531b=_0xd36d78==null?void 0x0:_0xd36d78['rowInfo'])==null?void 0x0:_0x17531b[_0x3a4aab],_0x53ef0f=(_0x43ae5d=_0x182c51==null?void 0x0:_0x182c51[_0x15b85d(0x24d)])==null?void 0x0:_0x43ae5d[_0x4a20b1],_0x5e9305=_0x53ef0f==null?void 0x0:_0x53ef0f[_0x15b85d(0x388)];else{if(_0x373ca4===_0x15b85d(0x23d))_0x27310b=(_0x5aed99=_0xd36d78==null?void 0x0:_0xd36d78[_0x15b85d(0x36f)])==null?void 0x0:_0x5aed99[_0x4a20b1],_0x53ef0f=(_0x558dfd=_0x182c51[_0x15b85d(0x506)])==null?void 0x0:_0x558dfd[_0x3a4aab+0x1+_0x4a20b1-_0x2249a9[_0x15b85d(0x23d)][0x0][_0x15b85d(0x3bd)]],_0x5e9305=_0x53ef0f==null?void 0x0:_0x53ef0f[_0x15b85d(0x388)];else{if(_0x373ca4===_0x15b85d(0x2dc))_0x27310b=(_0x6f02bb=_0xd36d78==null?void 0x0:_0xd36d78['cornerInfo'])==null?void 0x0:_0x6f02bb[_0x4a20b1],_0x5e9305=_0x27310b==null?void 0x0:_0x27310b['tableFieldId'];else{if(_0x373ca4===_0x15b85d(0x3b9)){const _0x287c2d=_0x20d288==null?void 0x0:_0x20d288['fi'];_0x287c2d!==void 0x0&&(_0x5e9305=_0x4338d1[_0x15b85d(0x333)](_0x287c2d));}}}}return{'filterId':_0x5e9305,'info':_0x27310b,'data':_0x20d288,'headerInfo':_0x53ef0f};}function _0x22609c(_0x4b3e01,_0x4aacf6,_0x4c59ab){const _0x572b7e=_0x132f81,_0x4e0e56=_0x4b3e01[_0x572b7e(0x441)],_0x3c4baf=_0x4e0e56['getFieldIds'](),_0x57b60b=new Set();_0x4b3e01[_0x572b7e(0x3ce)](_0x57fd12=>{const _0x25fa81=_0x572b7e;_0x57b60b[_0x25fa81(0x258)](_0x57fd12[_0x25fa81(0x36c)]);});const _0x30f1b6=_0x3c4baf[_0x572b7e(0x204)](_0xc720c8=>{const _0x2470fb=_0x572b7e,_0x3aaf59=_0x4e0e56[_0x2470fb(0x4cb)](_0xc720c8);return{'checked':_0x57b60b[_0x2470fb(0x463)](_0xc720c8),'dataFieldId':_0x3aaf59['id'],'id':_0x3aaf59['id'],'name':_0x4e0e56[_0x2470fb(0x207)](_0x3aaf59['id']),'type':_0x3aaf59['getFieldDataType'](),'pivotTableId':_0x4aacf6};}),_0x1832eb=[];_0x4b3e01['iterateFieldByArea'](_0x533a75[_0x572b7e(0x464)][_0x572b7e(0x3bb)],_0x3ac27c=>{const _0xbe708e=_0x572b7e;_0x1832eb[_0xbe708e(0x251)]({'dataFieldId':_0x3ac27c[_0xbe708e(0x36c)],'tableFieldId':_0x3ac27c[_0xbe708e(0x226)](),'displayName':_0x3ac27c[_0xbe708e(0x207)]()});});const _0x5b015b=[];_0x4b3e01[_0x572b7e(0x316)](_0x533a75[_0x572b7e(0x464)][_0x572b7e(0x40c)],_0x2df0a4=>{const _0x57e2bf=_0x572b7e;_0x5b015b['push']({'dataFieldId':_0x2df0a4[_0x57e2bf(0x36c)],'tableFieldId':_0x2df0a4[_0x57e2bf(0x226)](),'displayName':_0x2df0a4[_0x57e2bf(0x207)]()});});const _0x549de7=[];if(_0x4b3e01['iterateFieldByArea'](_0x533a75[_0x572b7e(0x464)][_0x572b7e(0x32a)],_0x99bae=>{const _0x14aefa=_0x572b7e;_0x549de7[_0x14aefa(0x251)]({'dataFieldId':_0x99bae[_0x14aefa(0x36c)],'tableFieldId':_0x99bae['getId'](),'displayName':_0x99bae['getDisplayName'](),'format':_0x99bae['getFormat'](),'subTotalType':_0x99bae[_0x14aefa(0x4c6)]()});}),_0x549de7['length']>0x1){const _0x5d647d=_0x4b3e01[_0x572b7e(0x2aa)]();(_0x4b3e01[_0x572b7e(0x37b)]()?_0x5b015b:_0x1832eb)['splice'](_0x5d647d,0x0,{'dataFieldId':'','tableFieldId':_0x572b7e(0x4da),'displayName':_0x572b7e(0x2a1)});}const _0x3cf5f0=[];_0x4b3e01['iterateFieldByArea'](_0x533a75['PivotTableFiledAreaEnum']['Filter'],_0x51b0e5=>{const _0xd6fdc9=_0x572b7e;_0x3cf5f0[_0xd6fdc9(0x251)]({'dataFieldId':_0x51b0e5['dataFieldId'],'tableFieldId':_0x51b0e5[_0xd6fdc9(0x226)](),'displayName':_0x51b0e5['getDisplayName']()});});const _0x847824=_0x4c59ab[_0x572b7e(0x2be)];return{'sourceList':_0x30f1b6,'sourceRange':_0x847824,'rowFields':_0x1832eb,'columnFields':_0x5b015b,'valueFields':_0x549de7,'filterFields':_0x3cf5f0,'positionInfo':_0x4c59ab['targetCellInfo']};}function _0x2dc84c(_0x58719a,_0x49c8ad,_0xee3b4a='',_0x4efb57={}){const _0x301201=_0x132f81,_0x59f613=_0x58719a[_0x301201(0x3c9)](_0x3ea15a[_0x301201(0x4ed)]);for(const _0x18069b in _0x49c8ad)if(Object[_0x301201(0x3bc)]['hasOwnProperty'][_0x301201(0x471)](_0x49c8ad,_0x18069b)){const _0x20951b=_0xee3b4a?_0xee3b4a+'.'+_0x18069b:_0x18069b;typeof _0x49c8ad[_0x18069b]==_0x301201(0x40f)&&_0x49c8ad[_0x18069b]!==null&&!Array[_0x301201(0x488)](_0x49c8ad[_0x18069b])?_0x2dc84c(_0x58719a,_0x49c8ad[_0x18069b],_0x20951b,_0x4efb57):_0x4efb57[_0x20951b]=_0x59f613['t'](_0x20951b);}return _0x4efb57;}const _0x24faff=_0x36b3de=>{const _0x15443f=_0x132f81;if(!_0x36b3de)return[];const {rowRanges:_0x1396f3,colRanges:_0x45b084,cornerRanges:_0xa39ac1,dataRanges:_0x10f760,pageRanges:_0x1560ab}=_0x36b3de,_0x26a088=[..._0x45b084,..._0x1396f3,..._0x10f760,..._0xa39ac1][_0x15443f(0x3e8)](_0x58686c=>_0x58686c[_0x15443f(0x22b)]>=0x0&&_0x58686c['startColumn']>=0x0&&_0x58686c[_0x15443f(0x3f9)]>=0x0&&_0x58686c['endColumn']>=0x0);let _0xfc97e1=Number[_0x15443f(0x298)],_0x24ef9f=Number[_0x15443f(0x257)],_0x4ae690=Number[_0x15443f(0x298)],_0x4a4cb9=Number[_0x15443f(0x257)];for(let _0x4f00=0x0;_0x4f00<_0x26a088[_0x15443f(0x23e)];_0x4f00++)_0xfc97e1=Math[_0x15443f(0x400)](_0xfc97e1,_0x26a088[_0x4f00]['startRow']),_0x24ef9f=Math['max'](_0x24ef9f,_0x26a088[_0x4f00]['endRow']),_0x4ae690=Math[_0x15443f(0x400)](_0x4ae690,_0x26a088[_0x4f00][_0x15443f(0x3bd)]),_0x4a4cb9=Math[_0x15443f(0x4dd)](_0x4a4cb9,_0x26a088[_0x4f00][_0x15443f(0x41a)]);return[..._0x1560ab,{'startRow':_0xfc97e1,'endRow':_0x24ef9f,'startColumn':_0x4ae690,'endColumn':_0x4a4cb9}];};function _0x26152b(_0x5eb165,_0x379b7d){const _0x41264a=_0x132f81,_0x54ce39=_0x379b7d['params'][_0x41264a(0x356)],{pivotTableId:_0x3442f5,unitId:_0x2dd57e,subUnitId:_0x8afdf5}=_0x379b7d;if(!_0x54ce39)return;const _0x23997d=_0x5eb165['get'](_0x53a3b8['SheetsPivotDataSourceModel']),_0x4c1768=_0x23997d[_0x41264a(0x3be)](_0x3442f5),_0x23655a=_0x23997d[_0x41264a(0x3f5)](_0x2dd57e,_0x8afdf5,_0x3442f5);if(!_0x4c1768||!_0x23655a)return;const _0xfd356a=_0x4c1768[_0x41264a(0x299)](_0x54ce39[_0x41264a(0x3c0)]);if(!(_0xfd356a!=null&&_0xfd356a['length']))return;const _0x16c93c=_0x23655a[_0x41264a(0x2be)],{unitId:_0x12c1e8,subUnitId:_0x33344c,range:_0x596f95}=_0x16c93c;let _0x5e0a49=0x0;const _0x5abc22=_0x4c1768['dataFieldsCollection'][_0x41264a(0x3e5)]()[_0x41264a(0x1f5)]((_0x16b450,_0x4e24fc)=>{const _0x4ffd5f=_0x41264a;var _0x4511ba;const _0x551a78=(_0x4511ba=_0x4c1768[_0x4ffd5f(0x33a)](_0x4e24fc))==null?void 0x0:_0x4511ba[_0x4ffd5f(0x33f)]();return _0x551a78&&(_0x16b450[String(_0x5e0a49)]=_0x551a78),_0x5e0a49++,_0x16b450;},{});return{'indexes':_0xfd356a,'range':_0x596f95,'sourceUnitId':_0x12c1e8,'sourceSubUnitId':_0x33344c,'formatMap':_0x5abc22};}function _0x54bba4(_0x4ed67c,_0x3dece5){const _0x596c23=_0x132f81;if(!_0x4ed67c||!_0x3dece5)return!0x0;const _0x4444d8=_0x3e669d['unshiftString'](_0x5adfe5,_0x5725c8),_0x249038=new Function(_0x596c23(0x50a)+_0x4444d8)()(_0x4ed67c,_0x3dece5)[_0x596c23(0x461)],_0x3db98b=_0x3e669d['isFeatureAuthorizedWithinTime'](_0x249038,'sf',_0x391607);return!((_0x249038==null?void 0x0:_0x249038['rt'])===_0x3e669d[_0x596c23(0x35f)][_0x596c23(0x462)]&&!_0x3db98b);}function _0x1dd753(_0xd8518b,_0x31e694,_0x34f4cf){const _0x2580b9=_0x132f81,_0x2aa025={'count':_0xd8518b,'timeValid':!0x1};if(!_0x31e694||!_0x34f4cf)return _0x2aa025;const _0x1330b9=_0x3e669d[_0x2580b9(0x409)](_0x5adfe5,_0x5725c8),_0x5722e7=new Function(_0x2580b9(0x50a)+_0x1330b9)()(_0x31e694,_0x34f4cf);if(_0x5722e7!=null&&_0x5722e7[_0x2580b9(0x2c8)]){const _0x2f5ca1=_0x5722e7[_0x2580b9(0x461)],_0x2c6bba=_0x3e669d['isFeatureAuthorizedWithinTime'](_0x2f5ca1,'sf',_0x391607);return{'count':_0x3e669d[_0x2580b9(0x4db)](_0x2f5ca1,_0x2c6bba,_0x2580b9(0x48c),_0xd8518b,_0xd8518b,0x0),'timeValid':_0x2c6bba};}return _0x2aa025;}function _0x3965ba(_0x1255ad,_0x4b4544,_0x4985b1,_0x3ffb32){const _0x10d9e5=_0x132f81,_0x463552={'subUnitId':_0x4985b1,'unitId':_0x4b4544,'cellValue':_0x12437f['generateNullCell'](_0x3ffb32)},_0x5b139c=_0x12437f['SetRangeValuesUndoMutationFactory'](_0x1255ad,_0x463552);let _0x94994e=!0x1;return new _0x3ea15a[(_0x10d9e5(0x405))](_0x5b139c[_0x10d9e5(0x4b7)])['forValue']((_0x499b8e,_0x50fd45,_0x13fb99)=>{const _0x49f3fa=_0x10d9e5;if(!_0x94994e&&_0x13fb99&&(_0x13fb99[_0x49f3fa(0x225)]||_0x13fb99['f']||_0x13fb99['p']||_0x13fb99['s']||_0x13fb99['si']||_0x13fb99['t']||_0x13fb99['v']))return _0x94994e=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x12437f[_0x10d9e5(0x366)]['id'],'params':_0x5b139c},'setRangeValueRedoMutation':{'id':_0x12437f[_0x10d9e5(0x366)]['id'],'params':_0x463552},'shouldClear':_0x94994e};}function _0x1fb7e1(_0x339195){const {row:_0x542516,col:_0x275f08}=_0x339195,_0x16be6a={'startRow':_0x542516,'endRow':_0x542516,'startColumn':_0x275f08,'endColumn':_0x275f08},_0x403f42={'startRow':_0x542516+0x2,'endRow':_0x542516+0xe,'startColumn':_0x275f08,'endColumn':_0x275f08+0x6};return[_0x16be6a,_0x403f42];}function _0x1de098(_0xd1fb19,_0x9fcaf0,_0x442532){const _0xe1e275=_0x132f81,{cornerView:_0x262138,rowView:_0x1ad85d,colView:_0x21ceaf,pageView:_0x9a7496}=_0xd1fb19,{row:_0x3ff846,col:_0x38f6a9}=_0x9fcaf0;if(_0x442532)return{'rowCount':_0x9d7e94+_0x3ff846,'colCount':_0x523963+_0x38f6a9};const _0x1e02be=_0x9a7496[_0xe1e275(0x4c4)]>-0x1?_0x9a7496[_0xe1e275(0x4c4)]+0x1:0x0,_0xdfdaf5=_0x9a7496[_0xe1e275(0x292)]>-0x1?_0x9a7496[_0xe1e275(0x292)]:0x0,_0x4fafb3=_0x3ff846+_0x1e02be+(_0x1e02be?0x1:0x0)+_0x262138[_0xe1e275(0x230)]+_0x1ad85d['rowCount'],_0x4b23a0=_0x38f6a9+_0xdfdaf5,_0x581e06=_0x38f6a9+_0x262138[_0xe1e275(0x40e)]+_0x21ceaf[_0xe1e275(0x40e)],_0x400c27=Math[_0xe1e275(0x4dd)](_0x4b23a0,_0x581e06);return{'rowCount':_0x4fafb3,'colCount':_0x400c27};}function _0x2235e0(_0x5e4fac,_0x172fce,_0x5c48ca,_0x328a20){const _0xf1e2bc=_0x132f81,{row:_0x5b9f74,col:_0x1a2d40,unitId:_0x5b8c21,subUnitId:_0x3455fc}=_0x5c48ca,_0x55259a=_0x1de098(_0x172fce,{'row':_0x5b9f74,'col':_0x1a2d40},_0x328a20),_0x3bed03=_0x5e4fac[_0xf1e2bc(0x3c9)](_0x3ea15a['IUniverInstanceService']),_0x12abdf=_0x12437f[_0xf1e2bc(0x2ac)](_0x3bed03,{'unitId':_0x5b8c21,'subUnitId':_0x3455fc}),_0x24eae6=[],_0x26e1e4=[];if(!_0x12abdf)return{'undos':_0x26e1e4,'redos':_0x24eae6};const {worksheet:_0x9b5525}=_0x12abdf,_0x4c1c44=_0x9b5525['getRowCount'](),_0x22f140=_0x9b5525['getColumnCount']();return _0x4c1c44<_0x55259a[_0xf1e2bc(0x230)]&&(_0x24eae6[_0xf1e2bc(0x251)]({'id':_0x12437f['InsertRowMutation']['id'],'params':{'unitId':_0x5b8c21,'subUnitId':_0x3455fc,'range':{'startRow':_0x4c1c44,'endRow':_0x55259a['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x22f140-0x1}}}),_0x26e1e4[_0xf1e2bc(0x251)]({'id':_0x12437f['RemoveRowMutation']['id'],'params':{'unitId':_0x5b8c21,'subUnitId':_0x3455fc,'range':{'startRow':_0x4c1c44,'endRow':_0x55259a[_0xf1e2bc(0x230)]-0x1,'startColumn':0x0,'endColumn':_0x22f140-0x1}}})),_0x22f140<_0x55259a[_0xf1e2bc(0x40e)]&&(_0x24eae6['push']({'id':_0x12437f[_0xf1e2bc(0x262)]['id'],'params':{'unitId':_0x5b8c21,'subUnitId':_0x3455fc,'range':{'startRow':0x0,'endRow':_0x4c1c44-0x1,'startColumn':_0x22f140,'endColumn':_0x55259a[_0xf1e2bc(0x40e)]-0x1}}}),_0x26e1e4[_0xf1e2bc(0x251)]({'id':_0x12437f[_0xf1e2bc(0x341)]['id'],'params':{'unitId':_0x5b8c21,'subUnitId':_0x3455fc,'range':{'startRow':0x0,'endRow':_0x4c1c44-0x1,'startColumn':_0x22f140,'endColumn':_0x55259a[_0xf1e2bc(0x40e)]-0x1}}})),{'undos':_0x26e1e4,'redos':_0x24eae6};}function _0x47390e(_0x29973a){const _0x2c0f6c=_0x132f81;let _0x534c41=0x0;for(let _0x560e34=0x0;_0x560e34<_0x29973a[_0x2c0f6c(0x23e)];_0x560e34++){const _0x1e2bda=_0x29973a[_0x2c0f6c(0x493)](_0x560e34);_0x1e2bda>=0x4e00&&_0x1e2bda<=0x9fff||_0x1e2bda>=0x3000&&_0x1e2bda<=0x303f||_0x1e2bda>=0xff00&&_0x1e2bda<=0xffef?_0x534c41+=0x2:_0x534c41+=0x1;}return _0x534c41;}function _0x4f39f8(_0x1f0ae8,_0x25af1b,_0x42d3e9,_0x5bf71f){const _0x4f1f17=_0x132f81;var _0x27ec0a,_0x364ed5,_0x175056,_0x231986;const {rowCount:_0xd60ce5,colCount:_0x136b04,headerMap:_0xf0d018}=_0x1f0ae8,_0x27ec3f=0x64,_0x459bd9=Math[_0x4f1f17(0x400)](_0xd60ce5,_0x27ec3f),_0x4dba14=Math[_0x4f1f17(0x400)](_0x136b04,_0x27ec3f);let _0x1faaa2='',_0x18b09e=0x0;for(let _0x502cd0=0x0;_0x502cd0<_0x459bd9;_0x502cd0++)for(let _0x28cc2e=0x0;_0x28cc2e<_0x4dba14;_0x28cc2e++){const _0x21d059={...(_0x364ed5=(_0x27ec0a=_0x1f0ae8[_0x4f1f17(0x1ef)])==null?void 0x0:_0x27ec0a[_0x502cd0])==null?void 0x0:_0x364ed5[_0x28cc2e]},_0x3e04b3=(_0x175056=_0xf0d018[_0x502cd0])==null?void 0x0:_0x175056[_0x4f1f17(0x388)],_0x1fac5c=_0x5bf71f[_0x3e04b3];let _0x461506=_0x1f0ae8[_0x4f1f17(0x48f)](_0x502cd0,_0x28cc2e);if(_0x21d059){const _0x3a0ed2=_0x42d3e9?_0x28cc2e===0x0&&((_0x231986=_0x1f0ae8[_0x4f1f17(0x2e1)](_0x28cc2e+0x1))==null?void 0x0:_0x231986[_0x4f1f17(0x2ec)]):!0x1;_0x461506=_0x40b827(_0x21d059,_0x3a0ed2,_0x1fac5c,_0x25af1b);}if(_0x461506!==void 0x0){const _0x4804a4=_0x47390e(String(_0x461506));_0x18b09e<_0x4804a4&&(_0x1faaa2=String(_0x461506),_0x18b09e=_0x4804a4);}}return _0x1faaa2;}function _0x5efb09(_0x19c906){const _0x3f3ba6=_0x132f81,{rowCount:_0x640c2,colCount:_0x4c50c1}=_0x19c906;let _0x19af9f='',_0x311d84=0x0;for(let _0x2b7163=_0x640c2-0x1;_0x2b7163>0x0&&_0x2b7163>_0x640c2-0x3;_0x2b7163--)for(let _0x341f48=0x0;_0x341f48<_0x4c50c1;_0x341f48++){const _0x1c2c74=_0x19c906[_0x3f3ba6(0x48f)](_0x2b7163,_0x341f48);if(_0x1c2c74!==void 0x0){const _0x556986=String(_0x1c2c74)[_0x3f3ba6(0x23e)];_0x311d84<_0x556986&&(_0x19af9f=String(_0x1c2c74),_0x311d84=_0x556986);}}return _0x19af9f;}function _0x3d370b(_0x4b3845){const _0x5afb5c=_0x132f81,{rowCount:_0x5d01d2,colCount:_0x3d167f}=_0x4b3845;let _0x248c05='',_0x25aab0=0x0;for(let _0x160243=0x0;_0x160243<_0x5d01d2;_0x160243++)for(let _0x49200e=0x0;_0x49200e<_0x3d167f;_0x49200e++){const _0x2dd7ef=_0x4b3845['getValue'](_0x160243,_0x49200e);if(_0x2dd7ef!==void 0x0){const _0x1015fd=String(_0x2dd7ef)[_0x5afb5c(0x23e)];_0x25aab0<_0x1015fd&&(_0x248c05=String(_0x2dd7ef),_0x25aab0=_0x1015fd);}}return _0x248c05;}function _0x39ef37(_0x3f2b21,_0x151a7c){const _0xfbd96d=_0x132f81,{rowFields:_0x3d974d,columnFields:_0x2050e0,valueFields:_0x364c06,filterFields:_0x583b77,dimension:_0x4b78b4,measure:_0x34ecf7}=_0x151a7c;for(const _0x537557 of _0x3d974d){const _0x41f0c6=_0x4b78b4[_0x537557];_0x41f0c6&&_0x3f2b21['getDataFieldByDataFieldId'](_0x41f0c6[_0xfbd96d(0x36c)])&&(_0x3f2b21[_0xfbd96d(0x29e)](_0x41f0c6['dataFieldId'],_0x533a75['PivotTableFiledAreaEnum'][_0xfbd96d(0x3bb)],void 0x0,_0x537557),_0x41f0c6[_0xfbd96d(0x252)]&&_0x3f2b21[_0xfbd96d(0x29b)](_0x41f0c6['id'],_0x41f0c6['displayName']),_0x41f0c6[_0xfbd96d(0x29c)]&&_0x3f2b21['setSortInfo'](_0x41f0c6['id'],_0x41f0c6[_0xfbd96d(0x29c)]),_0x41f0c6[_0xfbd96d(0x325)]&&_0x3f2b21[_0xfbd96d(0x4b1)](_0x41f0c6['id'],_0x41f0c6[_0xfbd96d(0x325)]));}for(const _0x2f9b53 of _0x2050e0){const _0x17cbea=_0x4b78b4[_0x2f9b53];_0x17cbea&&_0x3f2b21[_0xfbd96d(0x33a)](_0x17cbea[_0xfbd96d(0x36c)])&&(_0x3f2b21['addFieldWithSourceId'](_0x17cbea[_0xfbd96d(0x36c)],_0x533a75[_0xfbd96d(0x464)]['Column'],void 0x0,_0x2f9b53),_0x17cbea[_0xfbd96d(0x29c)]&&_0x3f2b21['setSortInfo'](_0x17cbea['id'],_0x17cbea[_0xfbd96d(0x29c)]),_0x17cbea[_0xfbd96d(0x325)]&&_0x3f2b21[_0xfbd96d(0x4b1)](_0x17cbea['id'],_0x17cbea[_0xfbd96d(0x325)]),_0x17cbea['displayName']&&_0x3f2b21[_0xfbd96d(0x29b)](_0x17cbea['id'],_0x17cbea['displayName']));}for(const _0x2b341d of _0x583b77){const _0x14289c=_0x4b78b4[_0x2b341d];_0x14289c&&_0x3f2b21[_0xfbd96d(0x33a)](_0x14289c['dataFieldId'])&&(_0x3f2b21[_0xfbd96d(0x29e)](_0x14289c[_0xfbd96d(0x36c)],_0x533a75['PivotTableFiledAreaEnum'][_0xfbd96d(0x3ac)],void 0x0,_0x2b341d),_0x14289c[_0xfbd96d(0x29c)]&&_0x3f2b21[_0xfbd96d(0x2cc)](_0x14289c['id'],_0x14289c['sortInfo']),_0x14289c[_0xfbd96d(0x325)]&&_0x3f2b21[_0xfbd96d(0x4b1)](_0x14289c['id'],_0x14289c[_0xfbd96d(0x325)]),_0x14289c[_0xfbd96d(0x252)]&&_0x3f2b21[_0xfbd96d(0x29b)](_0x14289c['id'],_0x14289c[_0xfbd96d(0x252)]));}for(const _0x542299 of _0x364c06){const _0x1fe6a3=_0x34ecf7[_0x542299];_0x1fe6a3&&_0x3f2b21['getDataFieldByDataFieldId'](_0x1fe6a3[_0xfbd96d(0x36c)])&&(_0x3f2b21[_0xfbd96d(0x29e)](_0x1fe6a3[_0xfbd96d(0x36c)],_0x533a75[_0xfbd96d(0x464)][_0xfbd96d(0x32a)],void 0x0,_0x542299),_0x1fe6a3[_0xfbd96d(0x34e)]!==void 0x0&&_0x3f2b21[_0xfbd96d(0x481)](_0x542299,_0x1fe6a3[_0xfbd96d(0x34e)]),_0x1fe6a3[_0xfbd96d(0x37e)]&&_0x3f2b21[_0xfbd96d(0x2dd)](_0x542299,_0x1fe6a3['format']),_0x1fe6a3['displayName']&&_0x3f2b21['renameField'](_0x1fe6a3['id'],_0x1fe6a3['displayName']));}const _0x5555e3=_0x151a7c[_0xfbd96d(0x4b9)];for(const {fieldId:_0x1a33d4,filterInfo:_0x2b6514}of _0x5555e3)_0x3f2b21['setValueFilterInfo'](_0x1a33d4,_0x2b6514);}function _0x2b24dd(_0x33bb93,_0x3cc639){const _0x4038c5=_0x132f81,_0x18fa9d=[];_0x3cc639===_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x3bb)]&&_0x33bb93[_0x4038c5(0x316)](_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x3bb)],_0x5b7bde=>{const _0x91a6fe=_0x4038c5;_0x18fa9d[_0x91a6fe(0x251)](_0x5b7bde['getId']());}),_0x3cc639===_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x40c)]&&_0x33bb93[_0x4038c5(0x316)](_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x40c)],_0x1578b5=>{const _0x6dea96=_0x4038c5;_0x18fa9d[_0x6dea96(0x251)](_0x1578b5[_0x6dea96(0x226)]());}),_0x3cc639===_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x3ac)]&&_0x33bb93[_0x4038c5(0x316)](_0x533a75[_0x4038c5(0x464)]['Filter'],_0x3771fb=>{const _0x3ebc8d=_0x4038c5;_0x18fa9d[_0x3ebc8d(0x251)](_0x3771fb[_0x3ebc8d(0x226)]());}),_0x3cc639===_0x533a75[_0x4038c5(0x464)][_0x4038c5(0x32a)]&&_0x33bb93[_0x4038c5(0x316)](_0x533a75['PivotTableFiledAreaEnum']['Value'],_0x3e0ba4=>{const _0x2a6d9b=_0x4038c5;_0x18fa9d[_0x2a6d9b(0x251)](_0x3e0ba4[_0x2a6d9b(0x226)]());}),_0x3cc639===void 0x0&&_0x33bb93['iterateField'](_0x44df78=>{const _0x2a2e4b=_0x4038c5;_0x18fa9d['push'](_0x44df78[_0x2a2e4b(0x226)]());});const _0x41c153=_0x18fa9d['length'];for(let _0x16e27f=_0x41c153-0x1;_0x16e27f>=0x0;_0x16e27f--)_0x33bb93[_0x4038c5(0x378)](_0x18fa9d[_0x16e27f]);const _0x5227b8=_0x33bb93[_0x4038c5(0x50e)]();for(const _0x32c631 in _0x5227b8)_0x33bb93['removeValueFilterInfo'](_0x32c631);}function _0x46d391(_0x122ba1,_0x52e61b){const _0x2d4067=_0x132f81,_0xbb7f79=new Date(_0x533a75[_0x2d4067(0x38c)](_0x52e61b)),_0x1dfaf5=new Date(_0x533a75[_0x2d4067(0x38c)](_0x122ba1)),_0x43ebb5=_0xbb7f79['getFullYear'](),_0x33e215=_0x1dfaf5[_0x2d4067(0x495)](),_0x3714ee=_0xbb7f79[_0x2d4067(0x4f1)](),_0x47bca8=_0x1dfaf5[_0x2d4067(0x4f1)](),_0x1cf8d9=_0xbb7f79[_0x2d4067(0x35a)](),_0x3ce370=_0x1dfaf5['getDate'](),_0xce4ecf=_0x43ebb5===_0x33e215,_0x30725a=_0xce4ecf&&_0x3714ee===_0x47bca8;return _0xce4ecf&&_0x30725a&&!(_0x30725a&&_0x1cf8d9===_0x3ce370)?_0x533a75[_0x2d4067(0x45f)]['YearMonthDate']:_0xce4ecf&&!_0x30725a?_0x533a75[_0x2d4067(0x45f)][_0x2d4067(0x309)]:_0x533a75[_0x2d4067(0x45f)][_0x2d4067(0x331)];}function _0x19d621(_0x92d0f6,_0x16e944){const _0x55b81e=_0x132f81,_0x1c6f5e=_0x92d0f6['get'](_0x53a3b8['SheetsPivotDataSourceModel'])[_0x55b81e(0x445)]();let _0x356d4e='';switch(_0x16e944){case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x3e6)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x1f8)];break;case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x309)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x300)];break;case _0x533a75['PivotDateGroupFieldDateTypeEnum'][_0x55b81e(0x331)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x1f3)];break;case _0x533a75[_0x55b81e(0x45f)]['Month']:_0x356d4e=_0x1c6f5e[_0x55b81e(0x476)];break;case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x243)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x354)];break;case _0x533a75['PivotDateGroupFieldDateTypeEnum'][_0x55b81e(0x371)]:_0x356d4e=_0x1c6f5e['sheets-pivot.dateGroup.date'];break;case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x36b)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x334)];break;case _0x533a75['PivotDateGroupFieldDateTypeEnum'][_0x55b81e(0x2ae)]:_0x356d4e=_0x1c6f5e['sheets-pivot.dateGroup.hour'];break;case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x2cf)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x312)];break;case _0x533a75['PivotDateGroupFieldDateTypeEnum']['MonthDate']:_0x356d4e=_0x1c6f5e[_0x55b81e(0x382)];break;case _0x533a75[_0x55b81e(0x45f)][_0x55b81e(0x3b4)]:_0x356d4e=_0x1c6f5e[_0x55b81e(0x41f)];break;default:_0x356d4e='';break;}return _0x356d4e;}const _0x596a9c=_0x132f81(0x4b4),_0x550ed6={};var _0x3029db=Object[_0x132f81(0x4ac)],_0x167906=(_0x487535,_0x3a3c95,_0x430530,_0x410872)=>{const _0x13e174=_0x132f81;for(var _0x5407fd=_0x410872>0x1?void 0x0:_0x410872?_0x3029db(_0x3a3c95,_0x430530):_0x3a3c95,_0x126e32=_0x487535[_0x13e174(0x23e)]-0x1,_0x4903d0;_0x126e32>=0x0;_0x126e32--)(_0x4903d0=_0x487535[_0x126e32])&&(_0x5407fd=_0x4903d0(_0x5407fd)||_0x5407fd);return _0x5407fd;},_0xbfdf27=(_0x324bf9,_0x4aac38)=>(_0xf186ca,_0x2e3631)=>_0x4aac38(_0xf186ca,_0x2e3631,_0x324bf9);_0x53a3b8[_0x132f81(0x240)]=class extends _0x3ea15a['Disposable']{constructor(_0x441af9,_0x5d639f,_0x50ed41,_0x2b5913,_0x1bcefb){const _0x4e095a=_0x132f81;super(),_0x1889e7(this,_0x4e095a(0x324),new Map()),_0x1889e7(this,_0x4e095a(0x2bd),new Map()),_0x1889e7(this,'_pivotTableRangeInfo',new Map()),_0x1889e7(this,_0x4e095a(0x460),new Map()),_0x1889e7(this,_0x4e095a(0x282),new _0x4e2dec[(_0x4e095a(0x2d8))]()),_0x1889e7(this,_0x4e095a(0x217),new _0x4e2dec[(_0x4e095a(0x2d8))]()),_0x1889e7(this,_0x4e095a(0x46a),this[_0x4e095a(0x217)][_0x4e095a(0x3b2)]()),_0x1889e7(this,'_pivotConfigChange$',new _0x4e2dec['Subject']()),_0x1889e7(this,'pivotConfigChange$',this[_0x4e095a(0x29d)][_0x4e095a(0x3b2)]()),_0x1889e7(this,'_textInfo',{}),_0x1889e7(this,'configVersion$',this[_0x4e095a(0x282)][_0x4e095a(0x3b2)]()),(this[_0x4e095a(0x2fb)]=_0x441af9,this['_commandService']=_0x5d639f,this[_0x4e095a(0x438)]=_0x50ed41,this[_0x4e095a(0x24c)]=_0x2b5913,this['_configService']=_0x1bcefb,this['_initLocale'](),this['_initUnitDisposed']());const _0x2c5548=this[_0x4e095a(0x3d6)]['getConfig'](_0x596a9c);(_0x2c5548==null?void 0x0:_0x2c5548[_0x4e095a(0x4e9)])===!0x0&&this['_initSnapshot']();}[_0x132f81(0x233)](){const _0x40f333=_0x132f81;this[_0x40f333(0x47c)](this[_0x40f333(0x438)][_0x40f333(0x321)](_0x3ea15a[_0x40f333(0x2da)]['UNIVER_SHEET'])['subscribe'](_0x1d7035=>{const _0x221ad4=_0x40f333;this[_0x221ad4(0x43a)](_0x1d7035[_0x221ad4(0x2cd)]());}));}[_0x132f81(0x468)](){const _0x42a9f4=_0x132f81;this[_0x42a9f4(0x217)][_0x42a9f4(0x4f2)](!0x0);}['_initLocale'](){const _0x567379=_0x132f81,_0x5a38ed=_0x2dc84c(this['_injector'],_0x47dfec,'',{});this['_textInfo']=_0x5a38ed,this[_0x567379(0x4ad)]['executeCommand'](_0x39e130['id'],{'textInfo':_0x5a38ed},{'onlyLocal':!0x0});}[_0x132f81(0x445)](){const _0x2cd0a9=_0x132f81;return this[_0x2cd0a9(0x35c)];}[_0x132f81(0x4cf)](_0x4b9056,_0x4e2386,_0xe4b4ba,_0x2b2c57,_0x5587b2){const _0x387b47=_0x132f81;this[_0x387b47(0x275)](_0x4b9056,_0x4e2386,_0xe4b4ba,_0x2b2c57),this[_0x387b47(0x457)](_0x4b9056,_0x4e2386,_0xe4b4ba,_0x5587b2);}[_0x132f81(0x3f5)](_0x50d86c,_0x1803c9,_0x2ae625){const _0x32c84d=_0x132f81;var _0x3a0c1d;const _0x513289=(_0x3a0c1d=this['_model']['get'](_0x50d86c))==null?void 0x0:_0x3a0c1d[_0x32c84d(0x3c9)](_0x1803c9);if(_0x513289)return _0x513289[_0x32c84d(0x3c9)](_0x2ae625);}['getTargetByPivotTableId'](_0x394653,_0x222bce){const _0x302df8=_0x132f81,_0x29cef5=this[_0x302df8(0x324)][_0x302df8(0x3c9)](_0x394653);if(_0x29cef5){for(const [_0x3273bf,_0x27c33c]of _0x29cef5['entries']())for(const [_0x15d17d,_0x490b7b]of _0x27c33c['entries']())if(_0x15d17d===_0x222bce)return _0x490b7b[_0x302df8(0x2d7)];}}[_0x132f81(0x3cf)](_0x237629,_0xe520e2,_0x23c113){const _0xd05aaa=_0x132f81,_0x41bec8=this['getPivotTableConfig'](_0x237629,_0xe520e2,_0x23c113);return _0x41bec8==null?void 0x0:_0x41bec8[_0xd05aaa(0x2d7)];}['getSubUnitPivotConfigs'](_0x2ba500,_0x17420c){const _0x8ba627=_0x132f81;var _0x409d01;return(_0x409d01=this[_0x8ba627(0x324)]['get'](_0x2ba500))==null?void 0x0:_0x409d01['get'](_0x17420c);}[_0x132f81(0x440)](_0x315d35,_0x362d62,_0x5d37d5,_0xe404fe){const _0x42fc27=_0x132f81,_0x9187bb=this['_ensurePivotMap'](_0x315d35,_0x362d62);_0xe404fe?_0x9187bb['set'](_0x5d37d5,_0xe404fe):_0x9187bb[_0x42fc27(0x28a)](_0x5d37d5),this['_pivotConfigChange$'][_0x42fc27(0x4f2)]({'unitId':_0x315d35,'subUnitId':_0x362d62,'pivotTableId':_0x5d37d5,'pivotTableConfig':_0xe404fe});}[_0x132f81(0x456)](_0x5b1ead,_0x1cb1c1){const _0x9c60ff=_0x132f81;var _0x30cc6;return(_0x30cc6=this[_0x9c60ff(0x2bd)][_0x9c60ff(0x3c9)](_0x5b1ead))==null?void 0x0:_0x30cc6[_0x9c60ff(0x3c8)][_0x1cb1c1];}['updateCollectionConfig'](_0x3f712d,_0x57a931){const _0x416707=_0x132f81;this['_collectionConfigModel'][_0x416707(0x43b)](_0x3f712d,_0x57a931),this[_0x416707(0x282)][_0x416707(0x4f2)](Math[_0x416707(0x278)]());}['_ensurePivotMap'](_0x53e849,_0xa3bfd9){const _0x5d9a01=_0x132f81;let _0x7ef923=this[_0x5d9a01(0x324)][_0x5d9a01(0x3c9)](_0x53e849);_0x7ef923||(_0x7ef923=new Map(),this['_model'][_0x5d9a01(0x43b)](_0x53e849,_0x7ef923));let _0x4409ec=_0x7ef923['get'](_0xa3bfd9);return _0x4409ec||(_0x4409ec=new Map(),_0x7ef923[_0x5d9a01(0x43b)](_0xa3bfd9,_0x4409ec)),_0x4409ec;}[_0x132f81(0x263)](_0x2c2cb8,_0x44f079){const _0x4e277c=_0x132f81;let _0x2fbebe=this[_0x4e277c(0x407)][_0x4e277c(0x3c9)](_0x2c2cb8);_0x2fbebe||(_0x2fbebe=new Map(),this[_0x4e277c(0x407)]['set'](_0x2c2cb8,_0x2fbebe));let _0x4236f2=_0x2fbebe[_0x4e277c(0x3c9)](_0x44f079);return _0x4236f2||(_0x4236f2=new Map(),_0x2fbebe[_0x4e277c(0x43b)](_0x44f079,_0x4236f2)),_0x4236f2;}[_0x132f81(0x43d)](_0x3c2860,_0x376408){const _0x392559=_0x132f81;let _0x276376=this[_0x392559(0x460)]['get'](_0x3c2860);_0x276376||(_0x276376=new Map(),this[_0x392559(0x460)]['set'](_0x3c2860,_0x276376));let _0x1ab0e2=_0x276376[_0x392559(0x3c9)](_0x376408);return _0x1ab0e2||(_0x1ab0e2=new Map(),_0x276376['set'](_0x376408,_0x1ab0e2)),_0x1ab0e2;}[_0x132f81(0x457)](_0x491667,_0x543c36,_0x5727fe,_0x156fc6){const _0x4c32e2=_0x132f81;var _0xeb872b;const _0x382365=this[_0x4c32e2(0x263)](_0x491667,_0x543c36),_0x4c7424=(_0xeb872b=_0x382365[_0x4c32e2(0x3c9)](_0x5727fe))==null?void 0x0:_0xeb872b['oldRangeInfo'];_0x382365['set'](_0x5727fe,{'oldRangeInfo':_0x4c7424,'rangeInfo':_0x156fc6});}[_0x132f81(0x275)](_0x43d24a,_0x4221e0,_0x52d498,_0x7c37b3){const _0x25e68d=_0x132f81;var _0x31b25d;const _0x1d8ca8=this[_0x25e68d(0x43d)](_0x43d24a,_0x4221e0),_0x5a08a2=(_0x31b25d=_0x1d8ca8[_0x25e68d(0x3c9)](_0x52d498))==null?void 0x0:_0x31b25d[_0x25e68d(0x2f7)];_0x1d8ca8[_0x25e68d(0x43b)](_0x52d498,{'oldMatrix':_0x5a08a2,'matrix':_0x7c37b3});}[_0x132f81(0x49d)](_0xb196fe,_0x1294b4,_0x52e293){const _0x2e6fd2=_0x132f81;var _0x2cbecf,_0x2d87b3;return(_0x2d87b3=(_0x2cbecf=this[_0x2e6fd2(0x407)][_0x2e6fd2(0x3c9)](_0xb196fe))==null?void 0x0:_0x2cbecf[_0x2e6fd2(0x3c9)](_0x1294b4))==null?void 0x0:_0x2d87b3[_0x2e6fd2(0x3c9)](_0x52e293);}[_0x132f81(0x2fc)](_0x5dbdad,_0x1e5fcc,_0x4982df){const _0x1277d4=_0x132f81;var _0x20ff54,_0x482a2f;return(_0x482a2f=(_0x20ff54=this[_0x1277d4(0x460)][_0x1277d4(0x3c9)](_0x5dbdad))==null?void 0x0:_0x20ff54['get'](_0x1e5fcc))==null?void 0x0:_0x482a2f[_0x1277d4(0x3c9)](_0x4982df);}[_0x132f81(0x43a)](_0x446696){const _0x4c5d11=_0x132f81;this['_model'][_0x4c5d11(0x28a)](_0x446696),this[_0x4c5d11(0x2bd)][_0x4c5d11(0x28a)](_0x446696);}['_toJSON'](_0xc4600f){const _0x47fe68=_0x132f81,_0x2c37fb={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x47fe68(0x2bd)][_0x47fe68(0x3c9)](_0xc4600f)&&(_0x2c37fb[_0x47fe68(0x283)][_0xc4600f]=this[_0x47fe68(0x2bd)]['get'](_0xc4600f)),this[_0x47fe68(0x324)][_0x47fe68(0x3c9)](_0xc4600f)){_0x2c37fb[_0x47fe68(0x414)][_0xc4600f]={};const _0x5cb1c6=this[_0x47fe68(0x324)][_0x47fe68(0x3c9)](_0xc4600f);_0x5cb1c6!=null&&_0x5cb1c6[_0x47fe68(0x3f6)]&&[..._0x5cb1c6[_0x47fe68(0x28e)]()]['forEach'](_0x14ab7a=>{const _0x2fd4b1=_0x47fe68,_0x2b47ed=_0x5cb1c6[_0x2fd4b1(0x3c9)](_0x14ab7a);_0x2b47ed!=null&&_0x2b47ed[_0x2fd4b1(0x3f6)]&&(_0x2c37fb[_0x2fd4b1(0x414)][_0xc4600f][_0x14ab7a]={},[..._0x2b47ed[_0x2fd4b1(0x28e)]()][_0x2fd4b1(0x473)](_0x1215a7=>{const _0x4696ff=_0x2fd4b1,_0x1b3eda=_0x2b47ed['get'](_0x1215a7);_0x1b3eda&&(_0x2c37fb[_0x4696ff(0x414)][_0xc4600f][_0x14ab7a][_0x1215a7]=_0x1b3eda);}));});}return _0x2c37fb;}[_0x132f81(0x496)](){const _0x505e3e=_0x132f81;this[_0x505e3e(0x47c)](this[_0x505e3e(0x24c)][_0x505e3e(0x39e)]({'toJson':_0x17404d=>JSON['stringify'](this[_0x505e3e(0x211)](_0x17404d)),'parseJson':_0xae7dcf=>({}),'businesses':[_0x3ea15a['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x3dbe5d,'onLoad':(_0x4c0e54,_0x732c1f)=>{},'onUnLoad':_0x456e57=>{this['deleteUnitId'](_0x456e57);}}));}},_0x53a3b8['SheetsPivotTableConfigModel']=_0x167906([_0xbfdf27(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0xbfdf27(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x47d)])),_0xbfdf27(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x41b)])),_0xbfdf27(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x3df)])),_0xbfdf27(0x4,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x3d9)]))],_0x53a3b8[_0x132f81(0x240)]);var _0x22804b=Object['getOwnPropertyDescriptor'],_0x23e6ab=(_0x9265b2,_0x40ccbb,_0x5f12c7,_0x266740)=>{for(var _0x497f39=_0x266740>0x1?void 0x0:_0x266740?_0x22804b(_0x40ccbb,_0x5f12c7):_0x40ccbb,_0x21db37=_0x9265b2['length']-0x1,_0x22c34d;_0x21db37>=0x0;_0x21db37--)(_0x22c34d=_0x9265b2[_0x21db37])&&(_0x497f39=_0x22c34d(_0x497f39)||_0x497f39);return _0x497f39;},_0x4cd35b=(_0x3b72a6,_0x45c509)=>(_0x3a8573,_0xd6df7d)=>_0x45c509(_0x3a8573,_0xd6df7d,_0x3b72a6);_0x53a3b8[_0x132f81(0x1ff)]=class extends _0x3ea15a['Disposable']{constructor(_0x44c2ff,_0x52114b,_0x5bcdc2,_0x156685,_0x419445){const _0x348de9=_0x132f81;super(),_0x1889e7(this,_0x348de9(0x4a4),new Map()),_0x1889e7(this,_0x348de9(0x478),new Map()),_0x1889e7(this,'_markDirty$',new _0x4e2dec[(_0x348de9(0x2d8))]()),_0x1889e7(this,'markDirty$',this[_0x348de9(0x271)]['asObservable']()),_0x1889e7(this,_0x348de9(0x29a),new _0x4e2dec[(_0x348de9(0x2d8))]()),_0x1889e7(this,_0x348de9(0x3f7),this[_0x348de9(0x29a)][_0x348de9(0x3b2)]()),_0x1889e7(this,_0x348de9(0x35c)),(this[_0x348de9(0x28c)]=_0x44c2ff,this[_0x348de9(0x2fb)]=_0x52114b,this[_0x348de9(0x21b)]=_0x5bcdc2,this['_univerInstanceService']=_0x156685,this['_exclusiveRangeService']=_0x419445,this[_0x348de9(0x27a)](),this[_0x348de9(0x233)]());}[_0x132f81(0x233)](){const _0x1c2f0e=_0x132f81;this[_0x1c2f0e(0x47c)](this[_0x1c2f0e(0x438)]['getTypeOfUnitDisposed$'](_0x3ea15a[_0x1c2f0e(0x2da)][_0x1c2f0e(0x38d)])[_0x1c2f0e(0x23c)](_0x2ba254=>{const _0x5539ac=_0x1c2f0e;this['deleteUnitId'](_0x2ba254[_0x5539ac(0x2cd)]());}));}[_0x132f81(0x27a)](){const _0x4665c3=_0x132f81;this[_0x4665c3(0x35c)]=_0x2dc84c(this['_injector'],_0x47dfec,'',{});}[_0x132f81(0x250)](_0x1c9702){const _0x5cee2c=_0x132f81,{view:_0x4c6756,unitId:_0x2192a6,subUnitId:_0x2ecdb1,pivotTableId:_0x30ffb5,type:_0x3fecfd}=_0x1c9702,_0x4a28f4=this[_0x5cee2c(0x21b)][_0x5cee2c(0x3f5)](_0x2192a6,_0x2ecdb1,_0x30ffb5);if(!_0x4c6756||!_0x4a28f4||_0x3fecfd===_0x4f32a0[_0x5cee2c(0x2f8)])return;const {pageView:_0x5ee42c,cornerView:_0x729feb,rowView:_0x2a13c3,colView:_0x42fef3,dataView:_0x390155}=_0x4c6756,_0xc672d7=_0x4a28f4[_0x5cee2c(0x2d7)],_0x4c250c=_0x4a28f4[_0x5cee2c(0x2ed)],_0x3bba3e=this[_0x5cee2c(0x314)](_0x2192a6,_0x2ecdb1),_0xaa36ac=this['_ensurePivotItemRenderInfoCache'](_0x2192a6,_0x2ecdb1,_0x30ffb5);if(_0x4c250c)return this[_0x5cee2c(0x25d)](_0x1c9702,_0x3bba3e,_0xc672d7,_0xaa36ac);{const _0x4f4c35=_0x151823(_0xc672d7,_0x5ee42c,!0x0),_0x1c246d=_0x5ee42c[_0x5cee2c(0x4c4)]>=0x0?_0x5ee42c['lastRow']+0x1:0x0,_0x219e2d=_0x729feb[_0x5cee2c(0x30b)](),_0x3b56dd=_0x729feb[_0x5cee2c(0x2e4)](),_0x38669f=_0x4f4c35[_0x5cee2c(0x23e)]>0x0?_0x143b06:0x0,_0x468a11=_0x151823({'row':_0xc672d7[_0x5cee2c(0x2bc)]+_0x1c246d+_0x38669f,'col':_0xc672d7[_0x5cee2c(0x498)]},_0x729feb,!0x1,!0x1),_0x1806dc=_0x151823({'row':_0xc672d7[_0x5cee2c(0x2bc)]+_0x1c246d+_0x38669f+_0x219e2d,'col':_0xc672d7[_0x5cee2c(0x498)]},_0x2a13c3,!0x1,!0x0),_0x5cf8c0=_0x151823({'row':_0xc672d7['row']+_0x1c246d+_0x38669f,'col':_0xc672d7[_0x5cee2c(0x498)]+_0x3b56dd},_0x42fef3,!0x1,!0x0),_0x115f86=_0x151823({'row':_0xc672d7['row']+_0x1c246d+_0x38669f+_0x219e2d,'col':_0xc672d7['col']+_0x3b56dd},_0x390155,!0x1,!0x1);_0xaa36ac[_0x5cee2c(0x477)]={'rowRanges':_0x1806dc,'colRanges':_0x5cf8c0,'cornerRanges':_0x468a11,'dataRanges':_0x115f86,'pageRanges':_0x4f4c35};const _0x53bf13=_0x5c9731(this[_0x5cee2c(0x2fb)],_0x4c6756,_0x4a28f4,this[_0x5cee2c(0x35c)]),{valueMatrix:_0x415e5f,rowInfo:_0x39685f,colInfo:_0x129138,cornerInfo:_0xf54a3c,rowHeaderMap:_0x4c7666,colHeaderMap:_0x14c7a9}=_0x53bf13;return _0xaa36ac[_0x5cee2c(0x45d)]={'rowInfo':_0x39685f,'colInfo':_0x129138,'cornerInfo':_0xf54a3c},_0xaa36ac[_0x5cee2c(0x507)]={'rowHeaderMap':_0x4c7666,'colHeaderMap':_0x14c7a9},_0x415e5f[_0x5cee2c(0x473)]((_0x52a42e,_0x5e838b)=>{const _0x35eb72=_0x5cee2c;Object[_0x35eb72(0x28e)](_0x5e838b)[_0x35eb72(0x473)](_0x309d51=>{const _0x19a479=_0x35eb72,_0x3b8fa5=+_0x309d51,_0x469dae=_0x415e5f[_0x19a479(0x48f)](_0x52a42e,_0x3b8fa5);_0x3bba3e[_0x19a479(0x362)](_0x52a42e,_0x3b8fa5,_0x469dae);});}),this[_0x5cee2c(0x29a)]['next']({'unitId':_0x2192a6,'subUnitId':_0x2ecdb1,'valueMatrix':_0x3bba3e,'rangesCache':_0xaa36ac[_0x5cee2c(0x477)],'pivotTableId':_0x30ffb5,'type':_0x1c9702[_0x5cee2c(0x44d)]}),this[_0x5cee2c(0x21b)][_0x5cee2c(0x4cf)](_0x2192a6,_0x2ecdb1,_0x30ffb5,_0x3bba3e,_0xaa36ac[_0x5cee2c(0x477)]),this['_exclusiveRangeService'][_0x5cee2c(0x2b2)](_0x2192a6,_0x2ecdb1,_0x48c602,this[_0x5cee2c(0x44e)](_0xaa36ac[_0x5cee2c(0x477)],_0x30ffb5)),{'rangeCache':_0xaa36ac[_0x5cee2c(0x477)],'matrix':_0x3bba3e};}}[_0x132f81(0x25d)](_0x667bc2,_0x2e61dd,_0x438274,_0x1d528a){const _0x7efdec=_0x132f81,_0x12f5bb=this[_0x7efdec(0x28c)]['t'],{unitId:_0x2fbe24,subUnitId:_0x2b9b1f,pivotTableId:_0x5b4552}=_0x667bc2,_0x3f24ac={'filter':_0x12f5bb('sheets-pivot.emptyPivot.filter'),'row':_0x12f5bb(_0x7efdec(0x3d8)),'column':_0x12f5bb(_0x7efdec(0x2d6)),'values':_0x12f5bb(_0x7efdec(0x339))},{matrixCache:_0x3027a8,rangesCache:_0x56eac8}=_0x9feb3e(_0x3f24ac,_0x438274);return _0x3027a8[_0x7efdec(0x26c)]((_0x273b4b,_0x404842,_0x5d53ed)=>{_0x2e61dd['setValue'](_0x273b4b,_0x404842,_0x5d53ed);}),_0x1d528a[_0x7efdec(0x477)]=_0x56eac8,this[_0x7efdec(0x29a)][_0x7efdec(0x4f2)]({'unitId':_0x2fbe24,'subUnitId':_0x2b9b1f,'valueMatrix':_0x2e61dd,'rangesCache':_0x56eac8,'pivotTableId':_0x5b4552,'type':_0x667bc2[_0x7efdec(0x44d)],'isEmpty':!0x0}),this[_0x7efdec(0x21b)][_0x7efdec(0x4cf)](_0x2fbe24,_0x2b9b1f,_0x5b4552,_0x2e61dd,_0x56eac8),this[_0x7efdec(0x4f4)][_0x7efdec(0x2b2)](_0x2fbe24,_0x2b9b1f,_0x48c602,this[_0x7efdec(0x44e)](_0x56eac8,_0x5b4552)),{'rangeCache':_0x1d528a['rangesInfo'],'matrix':_0x2e61dd};}[_0x132f81(0x44e)](_0x360b91,_0xd0731b){const _0x597d2a=_0x132f81,_0x1eb29e=[],_0xc0df69=_0x24faff(_0x360b91);for(const _0x143ad6 of _0xc0df69)_0x1eb29e[_0x597d2a(0x251)]({'groupId':_0xd0731b,'range':_0x143ad6});return _0x1eb29e;}[_0x132f81(0x3a9)](_0x41ffa8){const _0x20a7e6=_0x132f81;var _0x38b04d,_0x402197,_0x5c02bd,_0x1acc93;const {pivotTableId:_0x318a1c,unitId:_0x2533e2,subUnitId:_0x17bbdb}=_0x41ffa8;if(!_0x318a1c||!_0x2533e2||!_0x17bbdb)return;const _0x224f8e=this['_ensurePivotItemRenderValueMatrixCache'](_0x2533e2,_0x17bbdb),_0x220730=(_0x402197=(_0x38b04d=this[_0x20a7e6(0x4a4)][_0x20a7e6(0x3c9)](_0x2533e2))==null?void 0x0:_0x38b04d[_0x20a7e6(0x3c9)](_0x17bbdb))==null?void 0x0:_0x402197[_0x20a7e6(0x3c9)](_0x318a1c);if(_0x220730!=null&&_0x220730[_0x20a7e6(0x477)]){for(const _0x38fb11 of Object[_0x20a7e6(0x28e)](_0x220730['rangesInfo']))_0x220730[_0x20a7e6(0x477)][_0x38fb11]['forEach'](_0x402132=>{const _0x20cc0c=_0x20a7e6;for(let _0x18f133=_0x402132['startRow'];_0x18f133<=_0x402132['endRow'];_0x18f133++)for(let _0x3f3c87=_0x402132[_0x20cc0c(0x3bd)];_0x3f3c87<=_0x402132[_0x20cc0c(0x41a)];_0x3f3c87++)_0x224f8e[_0x20cc0c(0x4a0)](_0x18f133,_0x3f3c87);});}_0x220730&&((_0x1acc93=(_0x5c02bd=this['_pivotRenderInfoCache'][_0x20a7e6(0x3c9)](_0x2533e2))==null?void 0x0:_0x5c02bd[_0x20a7e6(0x3c9)](_0x17bbdb))==null||_0x1acc93[_0x20a7e6(0x28a)](_0x318a1c)),this['_viewUpdate$'][_0x20a7e6(0x4f2)]({'unitId':_0x2533e2,'subUnitId':_0x17bbdb,'valueMatrix':_0x224f8e,'pivotTableId':_0x318a1c,'rangesCache':void 0x0,'type':_0x41ffa8[_0x20a7e6(0x44d)]}),this['_exclusiveRangeService'][_0x20a7e6(0x370)](_0x2533e2,_0x17bbdb,_0x48c602,_0x318a1c);}['_ensurePivotItemRenderInfoCache'](_0x55f18f,_0x38e3d2,_0x164171){const _0x522bbc=_0x132f81;var _0x2fd773,_0x17804c,_0x2c2acf,_0x14285f,_0x5db9a3,_0x3e5948;return this['_pivotRenderInfoCache'][_0x522bbc(0x463)](_0x55f18f)||this[_0x522bbc(0x4a4)]['set'](_0x55f18f,new Map()),(_0x2fd773=this['_pivotRenderInfoCache'][_0x522bbc(0x3c9)](_0x55f18f))!=null&&_0x2fd773[_0x522bbc(0x463)](_0x38e3d2)||(_0x17804c=this[_0x522bbc(0x4a4)][_0x522bbc(0x3c9)](_0x55f18f))==null||_0x17804c['set'](_0x38e3d2,new Map()),(_0x14285f=(_0x2c2acf=this['_pivotRenderInfoCache'][_0x522bbc(0x3c9)](_0x55f18f))==null?void 0x0:_0x2c2acf[_0x522bbc(0x3c9)](_0x38e3d2))!=null&&_0x14285f['has'](_0x164171)||(_0x3e5948=(_0x5db9a3=this['_pivotRenderInfoCache'][_0x522bbc(0x3c9)](_0x55f18f))==null?void 0x0:_0x5db9a3['get'](_0x38e3d2))==null||_0x3e5948[_0x522bbc(0x43b)](_0x164171,{}),this[_0x522bbc(0x4a4)][_0x522bbc(0x3c9)](_0x55f18f)[_0x522bbc(0x3c9)](_0x38e3d2)['get'](_0x164171);}[_0x132f81(0x314)](_0x4ca297,_0x47570f){const _0x58c4ca=_0x132f81;var _0x23b4dd,_0x3aab63;return this[_0x58c4ca(0x478)][_0x58c4ca(0x463)](_0x4ca297)||this[_0x58c4ca(0x478)]['set'](_0x4ca297,new Map()),(_0x23b4dd=this[_0x58c4ca(0x478)]['get'](_0x4ca297))!=null&&_0x23b4dd[_0x58c4ca(0x463)](_0x47570f)||(_0x3aab63=this[_0x58c4ca(0x478)][_0x58c4ca(0x3c9)](_0x4ca297))==null||_0x3aab63['set'](_0x47570f,new _0x3ea15a[(_0x58c4ca(0x405))]()),this[_0x58c4ca(0x478)]['get'](_0x4ca297)[_0x58c4ca(0x3c9)](_0x47570f);}[_0x132f81(0x44c)](_0x2870c1,_0x197ef9,_0x47fad9,_0x5bf0bb){const _0xcfb10=_0x132f81;var _0x303c81,_0x2ed0e6;const _0x1d19a2=(_0x2ed0e6=(_0x303c81=this[_0xcfb10(0x478)]['get'](_0x2870c1))==null?void 0x0:_0x303c81[_0xcfb10(0x3c9)](_0x197ef9))==null?void 0x0:_0x2ed0e6[_0xcfb10(0x48f)](_0x47fad9,_0x5bf0bb);if(_0x1d19a2!=null)return _0x1d19a2;}[_0x132f81(0x352)](_0x5e48a7,_0x21d533,_0x275315,_0x3791e5){const _0x4f9027=_0x132f81;var _0x32eeb1;const _0x32cfcf=_0x3ea15a[_0x4f9027(0x336)](_0x275315,_0x3791e5),_0xcf329e=(_0x32eeb1=this['_pivotRenderInfoCache']['get'](_0x5e48a7))==null?void 0x0:_0x32eeb1[_0x4f9027(0x3c9)](_0x21d533);return _0xcf329e?Array[_0x4f9027(0x3b7)](_0xcf329e[_0x4f9027(0x28e)]())[_0x4f9027(0x4f6)](_0x4b1d6f=>{const _0x57ece2=_0x4f9027,_0x106db4=_0xcf329e[_0x57ece2(0x3c9)](_0x4b1d6f),_0x54a4a3=_0x106db4==null?void 0x0:_0x106db4['rangesInfo'];return _0x54a4a3?Object[_0x57ece2(0x28e)](_0x54a4a3)[_0x57ece2(0x3f8)](_0x26ec81=>_0x54a4a3[_0x26ec81][_0x57ece2(0x3f8)](_0xeee635=>_0x3ea15a[_0x57ece2(0x253)][_0x57ece2(0x3f4)](_0xeee635,_0x32cfcf))):!0x1;}):void 0x0;}[_0x132f81(0x4fc)](_0x41f47d,_0x5a9cfc,_0x13cb5a){const _0x1280c7=_0x132f81;var _0x45161b;const _0x393752=(_0x45161b=this[_0x1280c7(0x4a4)]['get'](_0x41f47d))==null?void 0x0:_0x45161b['get'](_0x5a9cfc),_0x791ede=[];return _0x393752&&Array[_0x1280c7(0x3b7)](_0x393752[_0x1280c7(0x28e)]())[_0x1280c7(0x473)](_0x364674=>{const _0x3fd2d7=_0x1280c7,_0x1ba9cb=_0x393752[_0x3fd2d7(0x3c9)](_0x364674),_0x7486ca=_0x1ba9cb==null?void 0x0:_0x1ba9cb[_0x3fd2d7(0x477)];if(_0x7486ca)for(const _0x35c66d of Object[_0x3fd2d7(0x4e1)](_0x7486ca)){let _0x582a25=!0x1;for(const _0x5c1423 of _0x35c66d)if(_0x3ea15a[_0x3fd2d7(0x253)]['intersects'](_0x5c1423,_0x13cb5a)){_0x791ede[_0x3fd2d7(0x251)](_0x364674),_0x582a25=!0x0;break;}if(_0x582a25)break;}}),_0x791ede;}[_0x132f81(0x2b7)](_0x1d6f80,_0x4e34a7){const _0x4a936f=_0x132f81;var _0x370680,_0x4571cd;return(_0x4571cd=(_0x370680=this['_pivotRenderValueMatrixCache'][_0x4a936f(0x3c9)](_0x1d6f80))==null?void 0x0:_0x370680[_0x4a936f(0x3c9)](_0x4e34a7))!=null?_0x4571cd:new _0x3ea15a[(_0x4a936f(0x405))]();}[_0x132f81(0x4cd)](_0x5a05a5,_0x29aeb5){const _0x24a7c7=_0x132f81;var _0x3abf13;return(_0x3abf13=this[_0x24a7c7(0x4a4)][_0x24a7c7(0x3c9)](_0x5a05a5))==null?void 0x0:_0x3abf13['get'](_0x29aeb5);}[_0x132f81(0x20b)](_0x2ca1eb,_0x25c4b4,_0x3b1ec4){const _0x20c723=_0x132f81;var _0x4eaa09,_0x429370;return(_0x429370=(_0x4eaa09=this[_0x20c723(0x4a4)][_0x20c723(0x3c9)](_0x2ca1eb))==null?void 0x0:_0x4eaa09['get'](_0x25c4b4))==null?void 0x0:_0x429370[_0x20c723(0x3c9)](_0x3b1ec4);}['deleteUnitId'](_0x3c5aac){const _0x542d48=_0x132f81;this[_0x542d48(0x4a4)][_0x542d48(0x28a)](_0x3c5aac),this['_pivotRenderValueMatrixCache'][_0x542d48(0x28a)](_0x3c5aac);}[_0x132f81(0x347)](_0xd690a3,_0x26ac81){const _0x30e712=_0x132f81;this['_markDirty$'][_0x30e712(0x4f2)]({'unitId':_0xd690a3,'subUnitId':_0x26ac81});}},_0x53a3b8[_0x132f81(0x1ff)]=_0x23e6ab([_0x4cd35b(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x4ed)])),_0x4cd35b(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0x4cd35b(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x240)])),_0x4cd35b(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x41b)])),_0x4cd35b(0x4,_0x3ea15a['Inject'](_0x12437f[_0x132f81(0x4e7)]))],_0x53a3b8['SheetsPivotTableAdaptorModel']);var _0x51368f=Object['getOwnPropertyDescriptor'],_0x5c846d=(_0x17c5f8,_0x575c5c,_0x5d4504,_0x5cdc80)=>{for(var _0x5d9635=_0x5cdc80>0x1?void 0x0:_0x5cdc80?_0x51368f(_0x575c5c,_0x5d4504):_0x575c5c,_0xdfe605=_0x17c5f8['length']-0x1,_0xc55112;_0xdfe605>=0x0;_0xdfe605--)(_0xc55112=_0x17c5f8[_0xdfe605])&&(_0x5d9635=_0xc55112(_0x5d9635)||_0x5d9635);return _0x5d9635;},_0x3ef2a2=(_0x48e141,_0x1842e6)=>(_0x41e5f0,_0x21eb4e)=>_0x1842e6(_0x41e5f0,_0x21eb4e,_0x48e141);_0x53a3b8[_0x132f81(0x24f)]=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x19695f,_0xd8b922){const _0x1b98ba=_0x132f81;super(),_0x1889e7(this,_0x1b98ba(0x500),new _0x3ea15a[(_0x1b98ba(0x46f))]({'PIVOT_PERFORM_CHECK':_0x3637bb})),_0x1889e7(this,_0x1b98ba(0x449),new _0x3ea15a[(_0x1b98ba(0x3c7))]({'PIVOT_MUTATION_GENERATE':_0x480004})),(this['_sheetInterceptorService']=_0x19695f,this[_0x1b98ba(0x4f7)]=_0xd8b922,this[_0x1b98ba(0x4fe)]());}['_init'](){const _0x16e220=_0x132f81;this[_0x16e220(0x401)]();}[_0x132f81(0x411)](_0x417051){const _0x4e7f31=_0x132f81;return this[_0x4e7f31(0x500)][_0x4e7f31(0x3ad)](_0x3637bb)(!0x1,_0x417051);}[_0x132f81(0x401)](){const _0x288fa9=_0x132f81;this[_0x288fa9(0x47c)](this[_0x288fa9(0x413)]['intercept'](_0x12437f[_0x288fa9(0x386)][_0x288fa9(0x444)],{'priority':0xc8,'effect':_0x3ea15a['InterceptorEffectEnum']['Value']|_0x3ea15a[_0x288fa9(0x37f)][_0x288fa9(0x412)],'handler':(_0x70222,_0x15f11c,_0x23e492)=>{const _0x2e78f8=_0x288fa9,{row:_0x434670,col:_0x1883e3,unitId:_0xc27c85,subUnitId:_0x527779,workbook:_0x313f41}=_0x15f11c,_0x395fd6=this[_0x2e78f8(0x4f7)][_0x2e78f8(0x44c)](_0xc27c85,_0x527779,_0x434670,_0x1883e3);if(!_0x395fd6)return _0x23e492(_0x70222);const _0x45de3e={..._0x70222};(_0x395fd6['v']||_0x395fd6['v']===0x0)&&(_0x45de3e['v']=_0x395fd6['v']),_0x395fd6['t']&&(_0x45de3e['t']=_0x395fd6['t']);const _0x302bf6=(typeof(_0x70222==null?void 0x0:_0x70222['s'])==_0x2e78f8(0x377)?_0x313f41['getStyles']()[_0x2e78f8(0x3c9)](_0x70222==null?void 0x0:_0x70222['s']):_0x70222==null?void 0x0:_0x70222['s'])||{},_0xbb2a7a=_0x313f41[_0x2e78f8(0x219)]()['get'](_0x395fd6['s']),_0x4f3d86={..._0xbb2a7a,..._0x302bf6};_0xbb2a7a!=null&&_0xbb2a7a['n']&&(_0x4f3d86['n']=_0xbb2a7a['n']);const _0x2601c9=_0x313f41[_0x2e78f8(0x219)]()['setValue'](_0x4f3d86);return _0x45de3e['s']=_0x2601c9,(_0x395fd6[_0x2e78f8(0x30e)]===_0x533a75[_0x2e78f8(0x42f)][_0x2e78f8(0x31a)]||_0x395fd6[_0x2e78f8(0x30e)]===_0x533a75[_0x2e78f8(0x42f)][_0x2e78f8(0x485)])&&(_0x45de3e[_0x2e78f8(0x502)]={},_0x45de3e['fontRenderExtension'][_0x2e78f8(0x337)]=_0x5c8849),_0x23e492(_0x45de3e);}}));}},_0x53a3b8[_0x132f81(0x24f)]=_0x5c846d([_0x3ef2a2(0x0,_0x3ea15a['Inject'](_0x12437f[_0x132f81(0x21a)])),_0x3ef2a2(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8['SheetsPivotTableAdaptorModel']))],_0x53a3b8[_0x132f81(0x24f)]);function _0xdb360c(_0x45767c,_0x383bc0){const _0x568cc3=_0x132f81;switch(_0x383bc0){case _0x533a75[_0x568cc3(0x464)][_0x568cc3(0x32a)]:return _0x45767c[_0x568cc3(0x288)];case _0x533a75[_0x568cc3(0x464)][_0x568cc3(0x3ac)]:return _0x45767c[_0x568cc3(0x32b)];case _0x533a75[_0x568cc3(0x464)]['Row']:return _0x45767c[_0x568cc3(0x34f)];case _0x533a75[_0x568cc3(0x464)][_0x568cc3(0x40c)]:return _0x45767c[_0x568cc3(0x4f8)];default:return[];}}function _0x43be54(_0x1bce31,_0x7fa506){const _0x32e152=_0x132f81;return _0x1bce31['measure'][_0x7fa506]||_0x1bce31[_0x32e152(0x499)][_0x7fa506];}function _0x5b231e(_0x518e24,_0x3f19bc){const _0x23f4a0=_0x132f81,{area:_0x5de735,fieldJson:_0x3828ff,index:_0x4ce17b}=_0x3f19bc;_0x5de735===_0x533a75[_0x23f4a0(0x464)]['Value']?_0x518e24[_0x23f4a0(0x213)][_0x3828ff['id']]=_0x3828ff:_0x518e24['dimension'][_0x3828ff['id']]=_0x3828ff,_0xdb360c(_0x518e24,_0x5de735)['splice'](_0x4ce17b,0x0,_0x3828ff['id']);}function _0x34aceb(_0x1609fc,_0x241c51){const _0x59c7aa=_0x132f81,{area:_0x266724,fieldId:_0x2d0c6b,index:_0x2a934c}=_0x241c51;_0x266724===_0x533a75[_0x59c7aa(0x464)][_0x59c7aa(0x32a)]?delete _0x1609fc[_0x59c7aa(0x213)][_0x2d0c6b]:delete _0x1609fc[_0x59c7aa(0x499)][_0x2d0c6b],_0xdb360c(_0x1609fc,_0x266724)['splice'](_0x2a934c,0x1);}function _0x442487(_0x15a183,_0x5e8485){const _0x3b324b=_0x132f81,{fieldId:_0x21309c,name:_0x3d084c}=_0x5e8485,_0x4aff32=_0x43be54(_0x15a183,_0x21309c);_0x4aff32&&(_0x4aff32[_0x3b324b(0x252)]=_0x3d084c);}function _0x5000c7(_0x256376,_0x262271){const _0x1ae962=_0x132f81,{fieldId:_0x145fff,collapse:_0xb9c564,item:_0x57f985}=_0x262271;_0x57f985!==void 0x0?(_0x256376['collapseInfo'][_0x145fff]=_0x256376[_0x1ae962(0x296)][_0x145fff]||{},_0x256376[_0x1ae962(0x296)][_0x145fff][_0x57f985]=_0xb9c564):_0x256376[_0x1ae962(0x296)][_0x145fff]=_0xb9c564;}function _0x4cfced(_0x57fd5c,_0x5e22ef){const _0xeba0a9=_0x132f81,{fieldId:_0x4fd2af,format:_0x50a550}=_0x5e22ef,_0x5e271e=_0x43be54(_0x57fd5c,_0x4fd2af);_0x5e271e&&(_0x5e271e[_0xeba0a9(0x37e)]=_0x50a550);}function _0x53edb6(_0x386e1a,_0x91000d){const _0x97bb20=_0x132f81,{fieldId:_0xded288,filterInfo:_0x323803}=_0x91000d,_0x579ae9=_0x43be54(_0x386e1a,_0xded288);_0x579ae9&&(_0x579ae9[_0x97bb20(0x325)]=_0x323803);}function _0x5f3e47(_0x3cceb7,_0x346a85){const _0x33b09e=_0x132f81,{fieldId:_0x5ab681,filterInfo:_0x46180d}=_0x346a85,_0x5f5369=_0x3cceb7[_0x33b09e(0x4b9)][_0x33b09e(0x3e8)](_0x1be510=>_0x1be510[_0x33b09e(0x384)]!==_0x5ab681);_0x46180d&&_0x5f5369['push']({'fieldId':_0x5ab681,'filterInfo':_0x46180d}),_0x3cceb7['valueFilter']=_0x5f5369;}function _0x359060(_0x2c1071,_0x36cea8){const {fieldId:_0x8f6028,subtotalType:_0x621ae8}=_0x36cea8,_0x551509=_0x43be54(_0x2c1071,_0x8f6028);_0x551509&&(_0x551509['subtotal']=_0x621ae8);}function _0x5b735a(_0x514c89,_0x1701e7){const _0x10b19a=_0x132f81,{fieldId:_0x25cb43,oldArea:_0x4486e8,area:_0x3810e0,oldIndex:_0x4d98d2,index:_0x407eb4}=_0x1701e7,_0x37c273=_0x4486e8!==_0x533a75['PivotTableFiledAreaEnum'][_0x10b19a(0x32a)]&&_0x3810e0===_0x533a75['PivotTableFiledAreaEnum'][_0x10b19a(0x32a)],_0x27c49c=_0x4486e8===_0x533a75[_0x10b19a(0x464)]['Value']&&_0x3810e0!==_0x533a75[_0x10b19a(0x464)][_0x10b19a(0x32a)];if(_0x37c273||_0x27c49c){const _0xd45162=_0x43be54(_0x514c89,_0x25cb43);_0xd45162&&(_0x37c273?(delete _0x514c89[_0x10b19a(0x499)][_0x25cb43],_0x514c89['measure'][_0x25cb43]=_0xd45162):(delete _0x514c89[_0x10b19a(0x213)][_0x25cb43],_0x514c89[_0x10b19a(0x499)][_0x25cb43]=_0xd45162));}const _0x20fc8b=_0xdb360c(_0x514c89,_0x4486e8),_0x4dae9a=_0xdb360c(_0x514c89,_0x3810e0);_0x20fc8b[_0x10b19a(0x3a2)](_0x4d98d2,0x1),_0x4dae9a[_0x10b19a(0x3a2)](_0x407eb4,0x0,_0x25cb43);}function _0x5e8c21(_0x582549,_0x16beb){const _0x23c1f0=_0x132f81,{valuePosition:_0x24ffc5,index:_0x492a60}=_0x16beb;_0x582549[_0x23c1f0(0x2c3)]=_0x24ffc5,_0x582549[_0x23c1f0(0x383)]=_0x492a60;}function _0x3a26e4(_0x27bd19,_0x2eebfb){const _0x1484c4=_0x132f81,{tableFieldId:_0x168af3,sourceName:_0x53050f,dataFieldId:_0x536daf}=_0x2eebfb,_0x2c2a42=_0x43be54(_0x27bd19,_0x168af3);_0x2c2a42&&(_0x2c2a42[_0x1484c4(0x429)]=_0x53050f,_0x2c2a42[_0x1484c4(0x36c)]=_0x536daf);}function _0x15755e(_0x2a5db9,_0x4b3520){const _0x3c651d=_0x132f81,{fieldId:_0x52415a,sortInfo:_0x5c14f2}=_0x4b3520,_0x155fec=_0x43be54(_0x2a5db9,_0x52415a);_0x155fec&&(_0x155fec[_0x3c651d(0x29c)]=_0x5c14f2);}function _0x3f78a3(_0x2fa079,_0x169df0){const _0x4afe87=_0x132f81,{options:_0x47eac4}=_0x169df0;_0x2fa079[_0x4afe87(0x1fc)]={..._0x2fa079['options'],..._0x47eac4};}const _0x48eafa={'type':_0x3ea15a[_0x132f81(0x397)]['MUTATION'],'id':_0x132f81(0x374),'handler'(_0x1ef0d3,_0x1b592c){const _0x451566=_0x132f81;if(!_0x1b592c)return!0x1;if(!!_0x1ef0d3[_0x451566(0x3c9)](_0x3ea15a[_0x451566(0x3d9)])[_0x451566(0x277)](_0x43c6ec))return!0x0;const _0x591b13=_0x1ef0d3[_0x451566(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),{pivotTableId:_0x4339ae,fieldJson:_0x30bcbf,area:_0x13773e,index:_0x44060f,unitId:_0x430579,subUnitId:_0x46f27f}=_0x1b592c,_0x483db9=_0x591b13['getPivotTableInstance'](_0x4339ae);if(!_0x483db9)return!0x1;let _0x1883a3;_0x13773e===_0x533a75[_0x451566(0x464)]['Value']?_0x1883a3=_0x533a75[_0x451566(0x459)](_0x30bcbf):_0x1883a3=_0x533a75[_0x451566(0x3e9)](_0x30bcbf),_0x483db9[_0x451566(0x23f)](_0x1883a3,_0x13773e,_0x44060f);const _0x58a00a=_0x591b13[_0x451566(0x22e)](_0x430579,_0x46f27f,_0x4339ae);_0x5b231e(_0x58a00a,_0x1b592c);const _0x5b805a=_0x591b13[_0x451566(0x3f5)](_0x430579,_0x46f27f,_0x4339ae);return _0x591b13[_0x451566(0x248)]({'unitId':_0x430579,'subUnitId':_0x46f27f,'token':_0x4339ae,'type':_0x4f32a0[_0x451566(0x472)],'pivotConfig':_0x5b805a}),!0x0;}},_0x2fc811={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x50c),'handler'(_0x20f90c,_0xa12ea2){const _0x1249b3=_0x132f81;if(!_0xa12ea2)return!0x1;if(!!_0x20f90c[_0x1249b3(0x3c9)](_0x3ea15a[_0x1249b3(0x3d9)])['getConfig'](_0x43c6ec))return!0x0;const _0x4a703a=_0x20f90c[_0x1249b3(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),{pivotTableId:_0x21f9cd,fieldId:_0x2a8c35,unitId:_0x622b87,subUnitId:_0x537008}=_0xa12ea2,_0x1c375c=_0x4a703a[_0x1249b3(0x3be)](_0x21f9cd);if(!_0x1c375c)return!0x1;_0x1c375c[_0x1249b3(0x378)](_0x2a8c35);const _0x5e80b3=_0x4a703a['getPivotTableModelConfig'](_0x622b87,_0x537008,_0x21f9cd);_0x34aceb(_0x5e80b3,_0xa12ea2);const _0x5e27a2=_0x4a703a[_0x1249b3(0x3f5)](_0x622b87,_0x537008,_0x21f9cd);return _0x4a703a[_0x1249b3(0x248)]({'unitId':_0x622b87,'subUnitId':_0x537008,'token':_0x21f9cd,'type':_0x4f32a0[_0x1249b3(0x472)],'pivotConfig':_0x5e27a2}),!0x0;}},_0x239f50={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x2a2),'handler'(_0x2de224,_0x3323ea){const _0x521f9e=_0x132f81;if(!_0x3323ea)return!0x1;if(!!_0x2de224['get'](_0x3ea15a[_0x521f9e(0x3d9)])[_0x521f9e(0x277)](_0x43c6ec))return!0x0;const _0x475b89=_0x2de224[_0x521f9e(0x3c9)](_0x53a3b8[_0x521f9e(0x3ee)]),{unitId:_0x1ba6c2,subUnitId:_0x394e66,pivotTableId:_0x1e8f07,fieldId:_0x332de4,name:_0x34e276}=_0x3323ea,_0x5e4fd7=_0x475b89['getPivotTableInstance'](_0x1e8f07);if(!_0x5e4fd7)return!0x1;_0x5e4fd7[_0x521f9e(0x29b)](_0x332de4,_0x34e276);const _0xe89d4e=_0x475b89[_0x521f9e(0x22e)](_0x1ba6c2,_0x394e66,_0x1e8f07);return _0x442487(_0xe89d4e,_0x3323ea),_0x475b89[_0x521f9e(0x248)]({'unitId':_0x1ba6c2,'subUnitId':_0x394e66,'token':_0x1e8f07,'type':_0x4f32a0[_0x521f9e(0x472)]}),!0x0;}},_0x58e15e={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x303),'handler'(_0x49ff11,_0x3161ab){const _0x413d65=_0x132f81;if(!_0x3161ab)return!0x1;if(!!_0x49ff11[_0x413d65(0x3c9)](_0x3ea15a[_0x413d65(0x3d9)])[_0x413d65(0x277)](_0x43c6ec))return!0x0;const _0x1b8490=_0x49ff11['get'](_0x53a3b8['SheetsPivotDataSourceModel']),{unitId:_0x3d56d3,subUnitId:_0x366f31,pivotTableId:_0x515b15,fieldId:_0x298cef,collapse:_0x152d45,item:_0x127ba3}=_0x3161ab,_0x4339ca=_0x1b8490[_0x413d65(0x3be)](_0x515b15);if(!_0x4339ca)return!0x1;_0x4339ca[_0x413d65(0x2f4)](_0x298cef,_0x152d45,_0x127ba3);const _0x35abeb=_0x1b8490[_0x413d65(0x22e)](_0x3d56d3,_0x366f31,_0x515b15);return _0x5000c7(_0x35abeb,_0x3161ab),_0x1b8490[_0x413d65(0x248)]({'unitId':_0x3d56d3,'subUnitId':_0x366f31,'token':_0x515b15,'type':_0x4f32a0['Set']}),!0x0;}},_0x1816f9={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.set-pivot-format','handler'(_0x3a822e,_0x58787a){const _0x2b4398=_0x132f81;if(!_0x58787a)return!0x1;if(!!_0x3a822e['get'](_0x3ea15a[_0x2b4398(0x3d9)])[_0x2b4398(0x277)](_0x43c6ec))return!0x0;const _0x2a590a=_0x3a822e['get'](_0x53a3b8[_0x2b4398(0x3ee)]),{unitId:_0x2f6701,subUnitId:_0x24f304,pivotTableId:_0x131d2d,fieldId:_0x4ce3a6,format:_0x33cd5}=_0x58787a,_0x226ce5=_0x2a590a['getPivotTableInstance'](_0x131d2d);if(!_0x226ce5)return!0x1;_0x226ce5[_0x2b4398(0x2dd)](_0x4ce3a6,_0x33cd5);const _0x1bf57f=_0x2a590a[_0x2b4398(0x22e)](_0x2f6701,_0x24f304,_0x131d2d);return _0x4cfced(_0x1bf57f,_0x58787a),_0x2a590a[_0x2b4398(0x248)]({'unitId':_0x2f6701,'subUnitId':_0x24f304,'token':_0x131d2d,'type':_0x4f32a0['Set']}),!0x0;}},_0x4ba36f={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x527a93,_0x5c23ef){const _0x54e74c=_0x132f81;if(!_0x5c23ef)return!0x1;if(!!_0x527a93['get'](_0x3ea15a[_0x54e74c(0x3d9)])[_0x54e74c(0x277)](_0x43c6ec))return!0x0;const _0x2991b0=_0x527a93['get'](_0x53a3b8[_0x54e74c(0x3ee)]),{unitId:_0x48463d,subUnitId:_0x6b9333,pivotTableId:_0x716243,fieldId:_0x45c790,filterInfo:_0x18be60}=_0x5c23ef,_0x2661fb=_0x2991b0['getPivotTableInstance'](_0x716243);if(!_0x2661fb)return!0x1;_0x2661fb[_0x54e74c(0x4b1)](_0x45c790,_0x18be60);const _0x29d793=_0x2991b0[_0x54e74c(0x22e)](_0x48463d,_0x6b9333,_0x716243);return _0x53edb6(_0x29d793,_0x5c23ef),_0x2991b0[_0x54e74c(0x248)]({'unitId':_0x48463d,'subUnitId':_0x6b9333,'token':_0x716243,'type':_0x4f32a0['Set']}),!0x0;}},_0xfb05e9={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x475),'handler'(_0x317a2b,_0xcd86e9){const _0x4c78f5=_0x132f81;if(!_0xcd86e9)return!0x1;if(!!_0x317a2b[_0x4c78f5(0x3c9)](_0x3ea15a[_0x4c78f5(0x3d9)])[_0x4c78f5(0x277)](_0x43c6ec))return!0x0;const _0x1bdde7=_0x317a2b[_0x4c78f5(0x3c9)](_0x53a3b8[_0x4c78f5(0x3ee)]),{unitId:_0x2a08ef,subUnitId:_0x3411a2,pivotTableId:_0xc27827,options:_0x21a217}=_0xcd86e9,_0x4f5d11=_0x1bdde7[_0x4c78f5(0x3be)](_0xc27827);if(!_0x4f5d11)return!0x1;_0x4f5d11['setOptions'](_0x21a217);const _0x5a8a76=_0x1bdde7['getPivotTableModelConfig'](_0x2a08ef,_0x3411a2,_0xc27827);return _0x3f78a3(_0x5a8a76,_0xcd86e9),_0x1bdde7['addDirtyPivotTable']({'unitId':_0x2a08ef,'subUnitId':_0x3411a2,'token':_0xc27827,'type':_0x4f32a0[_0x4c78f5(0x472)]}),!0x0;}},_0x552f32={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x4d3),'handler'(_0x8f6df0,_0x1bef47){const _0x9d7ffe=_0x132f81;if(!_0x1bef47)return!0x1;if(!!_0x8f6df0['get'](_0x3ea15a[_0x9d7ffe(0x3d9)])['getConfig'](_0x43c6ec))return!0x0;const _0x36bd4d=_0x8f6df0[_0x9d7ffe(0x3c9)](_0x53a3b8[_0x9d7ffe(0x3ee)]),{unitId:_0x4ee600,subUnitId:_0x5e0de8,pivotTableId:_0x438464,sortInfo:_0x2db6fb,fieldId:_0x1f250f}=_0x1bef47,_0x490659=_0x36bd4d[_0x9d7ffe(0x3be)](_0x438464);if(!_0x490659)return!0x1;_0x490659['setSortInfo'](_0x1f250f,_0x2db6fb);const _0x2911b4=_0x36bd4d[_0x9d7ffe(0x22e)](_0x4ee600,_0x5e0de8,_0x438464);return _0x15755e(_0x2911b4,_0x1bef47),_0x36bd4d[_0x9d7ffe(0x248)]({'unitId':_0x4ee600,'subUnitId':_0x5e0de8,'token':_0x438464,'type':_0x4f32a0[_0x9d7ffe(0x472)]}),!0x0;}},_0xcf03c9={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x49a7f0,_0x3452b9){const _0x21597f=_0x132f81;if(!_0x3452b9)return!0x1;if(!!_0x49a7f0[_0x21597f(0x3c9)](_0x3ea15a[_0x21597f(0x3d9)])[_0x21597f(0x277)](_0x43c6ec))return!0x0;const _0x1e07c3=_0x49a7f0['get'](_0x53a3b8[_0x21597f(0x3ee)]),{unitId:_0x49becf,subUnitId:_0x1747ca,pivotTableId:_0x131604,fieldId:_0x33559c,subtotalType:_0x27b99d}=_0x3452b9,_0x4be46b=_0x1e07c3[_0x21597f(0x3be)](_0x131604);if(!_0x4be46b)return!0x1;_0x4be46b[_0x21597f(0x481)](_0x33559c,_0x27b99d);const _0xf120cb=_0x1e07c3[_0x21597f(0x22e)](_0x49becf,_0x1747ca,_0x131604);return _0x359060(_0xf120cb,_0x3452b9),_0x1e07c3[_0x21597f(0x248)]({'unitId':_0x49becf,'subUnitId':_0x1747ca,'token':_0x131604,'type':_0x4f32a0['Set']}),!0x0;}},_0x451236={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x4dda6d,_0x6046dc){const _0x33029a=_0x132f81;if(!_0x6046dc)return!0x1;if(!!_0x4dda6d['get'](_0x3ea15a[_0x33029a(0x3d9)])[_0x33029a(0x277)](_0x43c6ec))return!0x0;const _0x53d67a=_0x4dda6d[_0x33029a(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),{unitId:_0xbcfaad,subUnitId:_0x5a6340,pivotTableId:_0x2dfe50,fieldId:_0x4b7bb1,filterInfo:_0x2f98df}=_0x6046dc,_0x14e3b3=_0x53d67a['getPivotTableInstance'](_0x2dfe50);if(!_0x14e3b3)return!0x1;_0x14e3b3['setValueFilterInfo'](_0x4b7bb1,_0x2f98df);const _0x5f1c31=_0x53d67a[_0x33029a(0x22e)](_0xbcfaad,_0x5a6340,_0x2dfe50);return _0x5f3e47(_0x5f1c31,_0x6046dc),_0x53d67a[_0x33029a(0x248)]({'unitId':_0xbcfaad,'subUnitId':_0x5a6340,'token':_0x2dfe50,'type':_0x4f32a0['Set']}),!0x0;}},_0x25a109={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x2f8086,_0x522b66){const _0x5c8296=_0x132f81;if(!_0x522b66)return!0x1;if(!!_0x2f8086['get'](_0x3ea15a[_0x5c8296(0x3d9)])[_0x5c8296(0x277)](_0x43c6ec))return!0x0;const _0xffa940=_0x2f8086[_0x5c8296(0x3c9)](_0x53a3b8[_0x5c8296(0x3ee)]),{unitId:_0x3b48e5,subUnitId:_0x53bc38,pivotTableId:_0x49184b,area:_0x58e0b9,index:_0x52d920,fieldId:_0x6db3a4}=_0x522b66,_0x47a3cf=_0xffa940[_0x5c8296(0x3be)](_0x49184b);if(!_0x47a3cf)return!0x1;_0x47a3cf[_0x5c8296(0x47b)](_0x6db3a4,_0x58e0b9,_0x52d920);const _0x2351d4=_0xffa940[_0x5c8296(0x22e)](_0x3b48e5,_0x53bc38,_0x49184b);return _0x5b735a(_0x2351d4,_0x522b66),_0xffa940[_0x5c8296(0x248)]({'unitId':_0x3b48e5,'subUnitId':_0x53bc38,'token':_0x49184b,'type':_0x4f32a0[_0x5c8296(0x472)]}),!0x0;}},_0x177e73={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x44a),'handler'(_0xc66f1a,_0x50793c){const _0x4b36ed=_0x132f81;if(!_0x50793c)return!0x1;if(!!_0xc66f1a[_0x4b36ed(0x3c9)](_0x3ea15a['IConfigService'])[_0x4b36ed(0x277)](_0x43c6ec))return!0x0;const _0x47e055=_0xc66f1a[_0x4b36ed(0x3c9)](_0x53a3b8[_0x4b36ed(0x3ee)]),{unitId:_0x3b3159,subUnitId:_0x5f521e,pivotTableId:_0x55296e,sourceName:_0x21f092,dataFieldId:_0x3361cc,tableFieldId:_0x1adb79}=_0x50793c,_0xe79e5d=_0x47e055[_0x4b36ed(0x3be)](_0x55296e);if(!_0xe79e5d)return!0x1;_0xe79e5d[_0x4b36ed(0x338)](_0x1adb79,_0x21f092,_0x3361cc);const _0x342d25=_0x47e055['getPivotTableModelConfig'](_0x3b3159,_0x5f521e,_0x55296e);return _0x3a26e4(_0x342d25,_0x50793c),_0x47e055[_0x4b36ed(0x248)]({'unitId':_0x3b3159,'subUnitId':_0x5f521e,'token':_0x55296e,'type':_0x4f32a0[_0x4b36ed(0x472)]}),!0x0;}},_0x3d6be8={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x58ef44,_0x116f07){const _0x3648f1=_0x132f81;if(!_0x116f07)return!0x1;if(!!_0x58ef44[_0x3648f1(0x3c9)](_0x3ea15a[_0x3648f1(0x3d9)])[_0x3648f1(0x277)](_0x43c6ec))return!0x0;const _0xb9ee7f=_0x58ef44[_0x3648f1(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),{unitId:_0x5c6f79,subUnitId:_0x43c791,pivotTableId:_0x1a8a4e,valuePosition:_0x189558,index:_0x5f48c9}=_0x116f07,_0x344484=_0xb9ee7f[_0x3648f1(0x3be)](_0x1a8a4e);if(!_0x344484)return!0x1;_0x344484[_0x3648f1(0x290)](_0x189558,_0x5f48c9);const _0x551b89=_0xb9ee7f[_0x3648f1(0x22e)](_0x5c6f79,_0x43c791,_0x1a8a4e);return _0x5e8c21(_0x551b89,_0x116f07),_0xb9ee7f[_0x3648f1(0x248)]({'unitId':_0x5c6f79,'subUnitId':_0x43c791,'token':_0x1a8a4e,'type':_0x4f32a0[_0x3648f1(0x472)]}),!0x0;}};function _0x2ef402(_0x847aec,_0x2571bb,_0x4fbe5c){const _0x1faedf=_0x132f81,{pivotTableId:_0x37a15f,unitId:_0x643771,subUnitId:_0x57056f}=_0x2571bb,_0x38bdbf=[],_0x114100=[];for(const _0x396485 of _0x4fbe5c)switch(_0x396485[_0x1faedf(0x44d)]){case _0x533a75[_0x1faedf(0x318)]['AddField']:{const {fieldJson:_0x5c9e61,area:_0x45d287,index:_0xc575f7}=_0x396485,_0x1b6d65={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldJson':_0x5c9e61,'area':_0x45d287,'index':_0xc575f7},_0x2c21b2={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x5c9e61['id'],'area':_0x45d287,'index':_0xc575f7};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x48eafa['id'],'params':_0x1b6d65}),_0x114100[_0x1faedf(0x25c)]({'id':_0x2fc811['id'],'params':_0x2c21b2});}break;case _0x533a75[_0x1faedf(0x318)]['SetSubtotalType']:{const {fieldId:_0x10c9b1,newSubtotalType:_0x5503a3,oldSubtotalType:_0x2f855b}=_0x396485,_0x43c284={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x10c9b1,'subtotalType':_0x5503a3};_0x38bdbf[_0x1faedf(0x251)]({'id':_0xcf03c9['id'],'params':_0x43c284});const _0xd54d89={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x10c9b1,'subtotalType':_0x2f855b};_0x114100[_0x1faedf(0x25c)]({'id':_0xcf03c9['id'],'params':_0xd54d89});}break;case _0x533a75[_0x1faedf(0x318)]['RemoveField']:{const {fieldId:_0x27cc1a,fieldJson:_0x51ae77,area:_0x36ca8c,index:_0x42a3a4}=_0x396485,_0x1400d1={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x27cc1a,'index':_0x42a3a4,'area':_0x36ca8c};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x2fc811['id'],'params':_0x1400d1});const _0x5edcd5={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldJson':_0x51ae77,'area':_0x36ca8c,'index':_0x42a3a4};_0x114100[_0x1faedf(0x25c)]({'id':_0x48eafa['id'],'params':_0x5edcd5});}break;case _0x533a75[_0x1faedf(0x318)]['RenameField']:{const {fieldId:_0x5ea056,oldName:_0x1a5fb0,newName:_0x226375}=_0x396485,_0x2b8d7f={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x5ea056,'name':_0x226375};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x239f50['id'],'params':_0x2b8d7f});const _0x2582f6={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x5ea056,'name':_0x1a5fb0};_0x114100[_0x1faedf(0x25c)]({'id':_0x239f50['id'],'params':_0x2582f6});}break;case _0x533a75[_0x1faedf(0x318)]['SetFilterInfo']:{const {fieldId:_0x32c28d,oldFilterInfo:_0x2ea9aa,newFilterInfo:_0x2cbb56}=_0x396485,_0x45e02f={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x32c28d,'filterInfo':_0x2cbb56};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x4ba36f['id'],'params':_0x45e02f});const _0x257599={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x32c28d,'filterInfo':_0x2ea9aa};_0x114100[_0x1faedf(0x25c)]({'id':_0x4ba36f['id'],'params':_0x257599});}break;case _0x533a75[_0x1faedf(0x318)]['SetSortInfo']:{const {fieldId:_0x199cfc,oldSortInfo:_0x2d99c8,newSortInfo:_0x15ffb1}=_0x396485,_0x3af47b={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x199cfc,'sortInfo':_0x15ffb1};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x552f32['id'],'params':_0x3af47b});const _0x192ce2={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x199cfc,'sortInfo':_0x2d99c8};_0x114100[_0x1faedf(0x25c)]({'id':_0x552f32['id'],'params':_0x192ce2});}break;case _0x533a75[_0x1faedf(0x318)][_0x1faedf(0x394)]:{const {oldOptions:_0x1df44b,newOptions:_0x57a926}=_0x396485,_0x1161ee={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'options':_0x57a926};_0x38bdbf[_0x1faedf(0x251)]({'id':_0xfb05e9['id'],'params':_0x1161ee});const _0x346ec9={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'options':_0x1df44b};_0x114100['unshift']({'id':_0xfb05e9['id'],'params':_0x346ec9});}break;case _0x533a75[_0x1faedf(0x318)][_0x1faedf(0x389)]:{const {oldArea:_0x277ee2,newArea:_0x31ca16,oldIndex:_0x441c77,newIndex:_0x250ba5,fieldId:_0x326bf7}=_0x396485,_0x2c65a5={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x326bf7,'area':_0x31ca16,'index':_0x250ba5,'oldArea':_0x277ee2,'oldIndex':_0x441c77};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x25a109['id'],'params':_0x2c65a5});const _0x2bf923={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x326bf7,'area':_0x277ee2,'index':_0x441c77,'oldArea':_0x31ca16,'oldIndex':_0x250ba5};_0x114100['unshift']({'id':_0x25a109['id'],'params':_0x2bf923});}break;case _0x533a75[_0x1faedf(0x318)][_0x1faedf(0x1fd)]:{const {oldValuePosition:_0x548c3e,newValuePosition:_0xf40c0e,oldIndex:_0x846805,newIndex:_0x1c01f5}=_0x396485,_0x5f588c={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'valuePosition':_0xf40c0e,'index':_0x1c01f5};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x3d6be8['id'],'params':_0x5f588c});const _0x108731={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'valuePosition':_0x548c3e,'index':_0x846805};_0x114100['unshift']({'id':_0x3d6be8['id'],'params':_0x108731});}break;case _0x533a75[_0x1faedf(0x318)][_0x1faedf(0x2b3)]:{const {fieldId:_0x5cf3d5,collapse:_0x1cdc34,item:_0x537b06}=_0x396485,_0x399df0={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x5cf3d5,'collapse':_0x1cdc34,'item':_0x537b06};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x58e15e['id'],'params':_0x399df0});const _0x34f10c={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x5cf3d5,'collapse':!_0x1cdc34,'item':_0x537b06};_0x114100[_0x1faedf(0x25c)]({'id':_0x58e15e['id'],'params':_0x34f10c});}break;case _0x533a75[_0x1faedf(0x318)][_0x1faedf(0x24b)]:{const {newFormat:_0x313415,oldFormat:_0x142059,fieldId:_0x1c7897}=_0x396485,_0x3a38fc={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x1c7897,'format':_0x313415};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x1816f9['id'],'params':_0x3a38fc});const _0x23e9e2={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x1c7897,'format':_0x142059};_0x114100['unshift']({'id':_0x1816f9['id'],'params':_0x23e9e2});}break;case _0x533a75[_0x1faedf(0x318)]['UpdateSource']:{const {tableFieldId:_0x39dbaa,oldSourceName:_0x3e521c,newSourceName:_0x1b282c,oldDataFieldId:_0x1de8ca,newDataFieldId:_0x2f53bb}=_0x396485,_0x42ab15={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'tableFieldId':_0x39dbaa,'sourceName':_0x1b282c,'dataFieldId':_0x2f53bb};_0x38bdbf['push']({'id':_0x177e73['id'],'params':_0x42ab15});const _0x1bc609={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'tableFieldId':_0x39dbaa,'sourceName':_0x3e521c,'dataFieldId':_0x1de8ca};_0x114100['unshift']({'id':_0x177e73['id'],'params':_0x1bc609});}break;case _0x533a75['PivotTableChangeTypeEnum'][_0x1faedf(0x306)]:{const {fieldId:_0x3dea75,filterInfo:_0x268b42,oldFilterInfo:_0x3267b2}=_0x396485,_0x3f6299={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x3dea75,'filterInfo':_0x268b42};_0x38bdbf[_0x1faedf(0x251)]({'id':_0x451236['id'],'params':_0x3f6299});const _0x3b87dd={'unitId':_0x643771,'subUnitId':_0x57056f,'pivotTableId':_0x37a15f,'fieldId':_0x3dea75,'filterInfo':_0x3267b2};_0x114100[_0x1faedf(0x25c)]({'id':_0x451236['id'],'params':_0x3b87dd});}}return{'redos':_0x38bdbf,'undos':_0x114100};}function _0xd85215(_0x47a25c,_0x14d8cc){const _0x120058=_0x132f81;var _0x13cfc7;const _0x1c50e7=_0x47a25c[_0x120058(0x3c9)](_0x53a3b8['SheetsPivotTableService']),{cellInfo:_0x323029,view:_0x527dbf,isEmpty:_0x3c2581}=_0x14d8cc;return(_0x13cfc7=_0x1c50e7[_0x120058(0x449)][_0x120058(0x286)](_0x480004)(_0x468dd0,{'cellInfo':_0x323029,'view':_0x527dbf,'isEmpty':_0x3c2581}))!=null?_0x13cfc7:_0x468dd0;}const _0x4c0788=()=>typeof process<'u'&&process['versions']!=null&&process[_0x132f81(0x268)][_0x132f81(0x3d0)]!=null,_0x161332={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x4fd),'handler'(_0x5f0265,_0x4c91b2){const _0x48e3bf=_0x132f81;var _0x5d82e9;if(!_0x4c91b2)return!0x1;const _0x2cd14d=_0x5f0265[_0x48e3bf(0x3c9)](_0x3ea15a[_0x48e3bf(0x3d9)]);if(!!_0x2cd14d['getConfig'](_0x43c6ec))return!0x0;const _0xc6d936=_0x5f0265[_0x48e3bf(0x3c9)](_0x3ea15a[_0x48e3bf(0x41b)]),_0xba9b5b=_0x5f0265[_0x48e3bf(0x3c9)](_0x53a3b8[_0x48e3bf(0x3ee)]),{pivotTableId:_0x265cae,pivotTableConfig:_0x3a9560,collectionConfig:_0x337003,unitId:_0x43b819,subUnitId:_0x3c7551}=_0x4c91b2,{sourceRangeInfo:_0xd0ba1d,fieldsConfig:_0x1e4717,targetCellInfo:_0x1445d2}=_0x3a9560,_0x7a0bb6=_0xc6d936[_0x48e3bf(0x40d)](_0x43b819);if(!_0x7a0bb6||!_0x7a0bb6[_0x48e3bf(0x392)](_0x3c7551))return!0x1;if(!_0x4c0788()){let _0x32b7f7=0x0;_0x7a0bb6[_0x48e3bf(0x3ca)]()['forEach'](_0x57560a=>{const _0x223750=_0x48e3bf;var _0x5ba11b,_0x25f93f;_0x32b7f7+=(_0x25f93f=(_0x5ba11b=_0xba9b5b['getSubUnitPivotConfigs'](_0x43b819,_0x57560a[_0x223750(0x3a6)]()))==null?void 0x0:_0x5ba11b[_0x223750(0x3f6)])!=null?_0x25f93f:0x0;});const _0x37a6ed=(_0x5d82e9=_0x2cd14d[_0x48e3bf(0x277)](_0x3e669d[_0x48e3bf(0x210)]))!=null?_0x5d82e9:{},{ls:_0x268363,pbk:_0x158a85}=_0x37a6ed;if(!_0x54bba4(_0x268363,_0x158a85))throw new _0x3ea15a[(_0x48e3bf(0x50f))]('limit\x20pivot');const _0x8e1f98=_0x1dd753(_0x42b087,_0x268363,_0x158a85)[_0x48e3bf(0x503)];if(_0x32b7f7>=_0x8e1f98)throw new _0x3ea15a[(_0x48e3bf(0x50f))]('limit\x20pivot');}if(!_0x337003||!_0x1e4717)return!0x1;const {collection:_0x1ad042,updateDataFieldList:_0x1a74c9}=_0xba9b5b[_0x48e3bf(0x342)](_0x265cae,_0x337003,_0xd0ba1d,_0x1445d2);_0xba9b5b[_0x48e3bf(0x375)](_0x1ad042,_0x1a74c9,_0xd0ba1d);const _0x37c101=new _0x533a75[(_0x48e3bf(0x41e))](_0x1ad042,void 0x0,_0x265cae);_0x37c101[_0x48e3bf(0x344)](_0x1e4717);const _0x35358f=JSON[_0x48e3bf(0x270)](JSON[_0x48e3bf(0x21f)](_0x3a9560));return _0xba9b5b['addPivotTable'](_0x43b819,_0x3c7551,_0x265cae,_0x37c101,_0x35358f),_0xba9b5b[_0x48e3bf(0x248)]({'unitId':_0x43b819,'subUnitId':_0x3c7551,'token':_0x265cae,'type':_0x4f32a0[_0x48e3bf(0x359)],'pivotConfig':_0x35358f}),!0x0;}},_0x421b97={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x507a22,_0x47734f){const _0x5e01b6=_0x132f81;if(!_0x47734f)return!0x1;if(!!_0x507a22[_0x5e01b6(0x3c9)](_0x3ea15a[_0x5e01b6(0x3d9)])[_0x5e01b6(0x277)](_0x43c6ec))return!0x0;const {pivotTableId:_0x29bf24,unitId:_0x562051,subUnitId:_0xe8d436}=_0x47734f,_0x11c946=_0x507a22[_0x5e01b6(0x3c9)](_0x53a3b8[_0x5e01b6(0x3ee)]);return _0x11c946[_0x5e01b6(0x3f5)](_0x562051,_0xe8d436,_0x29bf24)?(_0x11c946['addDirtyPivotTable']({'unitId':_0x562051,'subUnitId':_0xe8d436,'token':_0x29bf24,'type':_0x4f32a0[_0x5e01b6(0x2f8)]}),_0x11c946[_0x5e01b6(0x2de)](_0x562051,_0xe8d436,_0x29bf24),!0x0):!0x1;}},_0x5e7247={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x33b),'handler'(_0x49cfbd,_0x225a6e){const _0x1b1701=_0x132f81;if(!_0x225a6e)return!0x1;if(!!_0x49cfbd[_0x1b1701(0x3c9)](_0x3ea15a[_0x1b1701(0x3d9)])[_0x1b1701(0x277)](_0x43c6ec))return!0x0;const {pivotTableId:_0x450ad7,targetCellPosition:_0x53a029,unitId:_0x1f01ca,subUnitId:_0x5185fa}=_0x225a6e,_0x45514b=_0x49cfbd[_0x1b1701(0x3c9)](_0x53a3b8[_0x1b1701(0x3ee)]);if(!_0x45514b[_0x1b1701(0x3be)](_0x225a6e[_0x1b1701(0x2ba)]))return!0x1;const _0x6d0559=_0x45514b[_0x1b1701(0x3cf)](_0x450ad7);if(!_0x6d0559)return!0x1;const _0x17da08=_0x45514b['getCollection'](_0x6d0559[_0x1b1701(0x3b5)],_0x225a6e[_0x1b1701(0x2ba)]);if(!_0x17da08)return!0x1;const _0x6599=_0x45514b['getPivotTableConfig'](_0x6d0559['unitId'],_0x6d0559[_0x1b1701(0x2b6)],_0x450ad7);if(!_0x6599)return!0x1;const _0x123310=_0x3ea15a['Tools'][_0x1b1701(0x393)](_0x6599);_0x123310[_0x1b1701(0x2d7)]={'unitId':_0x1f01ca,'subUnitId':_0x5185fa,'row':_0x53a029['row'],'col':_0x53a029[_0x1b1701(0x498)]};const _0x460f4a=_0x17da08[_0x1b1701(0x329)]();if(_0x6d0559[_0x1b1701(0x2b6)]===_0x5185fa&&_0x6d0559[_0x1b1701(0x3b5)]===_0x1f01ca)_0x45514b[_0x1b1701(0x369)](_0x1f01ca,_0x5185fa,_0x450ad7,_0x123310),_0x45514b[_0x1b1701(0x248)]({'unitId':_0x1f01ca,'subUnitId':_0x5185fa,'token':_0x450ad7,'type':_0x4f32a0[_0x1b1701(0x472)]});else{_0x45514b[_0x1b1701(0x248)]({'unitId':_0x6d0559[_0x1b1701(0x3b5)],'subUnitId':_0x6d0559['subUnitId'],'token':_0x450ad7,'type':_0x4f32a0[_0x1b1701(0x2f8)]}),_0x45514b['removePivotTable'](_0x6d0559[_0x1b1701(0x3b5)],_0x6d0559[_0x1b1701(0x2b6)],_0x450ad7);const _0x96cf24=_0x45514b['addCollectionByJSON'](_0x450ad7,_0x460f4a,_0x6599['sourceRangeInfo'],_0x123310[_0x1b1701(0x2d7)]),_0x4b9e08=new _0x533a75[(_0x1b1701(0x41e))](_0x96cf24[_0x1b1701(0x2b0)],void 0x0,_0x450ad7);_0x4b9e08[_0x1b1701(0x344)](_0x123310[_0x1b1701(0x2c9)]),_0x45514b[_0x1b1701(0x4d2)](_0x1f01ca,_0x5185fa,_0x450ad7,_0x4b9e08,_0x123310),_0x45514b[_0x1b1701(0x248)]({'unitId':_0x1f01ca,'subUnitId':_0x5185fa,'token':_0x450ad7,'type':_0x4f32a0[_0x1b1701(0x359)],'pivotConfig':_0x123310});}return!0x0;}},_0x29c870={'type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'id':_0x132f81(0x38b),'handler'(_0x472670,_0x426009){const _0x12ef36=_0x132f81;if(!_0x426009)return!0x1;if(!!_0x472670[_0x12ef36(0x3c9)](_0x3ea15a['IConfigService'])['getConfig'](_0x43c6ec))return!0x0;const _0x36f11e=_0x472670[_0x12ef36(0x3c9)](_0x53a3b8[_0x12ef36(0x3ee)]),{pivotTableId:_0xc1e53b,deleteIds:_0x3a7136,collectionJSON:_0x28ffc8,dataRangeInfo:_0x119b25,unitId:_0x2f50fd,subUnitId:_0x5ba9ec}=_0x426009,_0x4c8957=_0x36f11e[_0x12ef36(0x3be)](_0xc1e53b),_0x58acb6=_0x36f11e['getPivotTableConfig'](_0x2f50fd,_0x5ba9ec,_0xc1e53b);if(!_0x4c8957||!_0x58acb6)return!0x1;const {collection:_0x566541,updateDataFieldList:_0xc763d0}=_0x36f11e[_0x12ef36(0x342)](_0xc1e53b,_0x28ffc8,_0x119b25,_0x58acb6['targetCellInfo']);_0x36f11e[_0x12ef36(0x375)](_0x566541,_0xc763d0,_0x119b25),_0x4c8957['updateDataFieldsCollection'](_0x566541);for(const _0x40cce2 of _0x3a7136)_0x36f11e[_0x12ef36(0x484)](_0x119b25[_0x12ef36(0x3b5)],_0x40cce2);const _0x5cd840=_0x36f11e[_0x12ef36(0x3f5)](_0x2f50fd,_0x5ba9ec,_0xc1e53b);return _0x5cd840[_0x12ef36(0x2be)]=JSON['parse'](JSON['stringify'](_0x119b25)),_0x36f11e[_0x12ef36(0x248)]({'unitId':_0x2f50fd,'subUnitId':_0x5ba9ec,'token':_0xc1e53b,'type':_0x4f32a0['Set']}),!0x0;}},_0x48884a={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'id':_0x132f81(0x3c4),'handler'(){return!0x0;}};var _0x15ad7c=Object[_0x132f81(0x4ac)],_0x25afa4=(_0x527062,_0x5bdc17,_0x5c79bf,_0x306d4c)=>{const _0x5c4f64=_0x132f81;for(var _0xdb51e3=_0x306d4c>0x1?void 0x0:_0x306d4c?_0x15ad7c(_0x5bdc17,_0x5c79bf):_0x5bdc17,_0x166e2f=_0x527062[_0x5c4f64(0x23e)]-0x1,_0x47f24f;_0x166e2f>=0x0;_0x166e2f--)(_0x47f24f=_0x527062[_0x166e2f])&&(_0xdb51e3=_0x47f24f(_0xdb51e3)||_0xdb51e3);return _0xdb51e3;},_0x37cb4f=(_0x44ef4b,_0x4f90f4)=>(_0x2b80e0,_0xaee218)=>_0x4f90f4(_0x2b80e0,_0xaee218,_0x44ef4b);_0x53a3b8[_0x132f81(0x343)]=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x3e4235,_0x13305a){const _0x327844=_0x132f81;super(),_0x1889e7(this,'_requestResolvers',new Map()),(this[_0x327844(0x2fb)]=_0x3e4235,this[_0x327844(0x4ad)]=_0x13305a);}['handleAsyncResponse'](_0x5a5848){const _0x2a670a=_0x132f81,{version:_0x3d8c7d}=_0x5a5848,_0x2e66a0=this['_requestResolvers'][_0x2a670a(0x3c9)](_0x3d8c7d);_0x2e66a0&&(_0x2e66a0(_0x5a5848),this[_0x2a670a(0x45b)][_0x2a670a(0x28a)](_0x3d8c7d));}[_0x132f81(0x32f)](_0x1993c1){return new Promise((_0x3e4a50,_0x4e65a5)=>{const _0x24ca7c=_0x3af4,_0x29c21e=this[_0x24ca7c(0x4f3)]();this[_0x24ca7c(0x45b)]['set'](_0x29c21e,_0x3e4a50),this[_0x24ca7c(0x4ad)]['executeCommand'](_0x18b87f['id'],{'version':_0x29c21e,..._0x1993c1},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x551e45=_0x132f81;return Math['random']()[_0x551e45(0x410)](0x24)[_0x551e45(0x2bb)](0x2,0x10);}},_0x53a3b8[_0x132f81(0x343)]=_0x25afa4([_0x37cb4f(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0x37cb4f(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a['ICommandService']))],_0x53a3b8['SheetsPivotRPCService']);const _0xf61676={'id':'sheet.mutation.add-group-collection','type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x295)],'handler':(_0x328c31,_0x21abc6)=>{const _0x1a680e=_0x132f81;if(!_0x21abc6)return!0x1;if(!!_0x328c31[_0x1a680e(0x3c9)](_0x3ea15a['IConfigService'])[_0x1a680e(0x277)](_0x43c6ec))return!0x0;const {pivotTableId:_0x571c2f,fieldJSON:_0x26f99d,unitId:_0x1d1b8a,subUnitId:_0x29bdfa}=_0x21abc6,_0x178aba=_0x533a75[_0x1a680e(0x2d4)][_0x1a680e(0x344)](_0x26f99d);if(!_0x178aba)return!0x1;const _0x3d7f35=_0x328c31[_0x1a680e(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),_0x4bb1ce=_0x3d7f35['getDataFieldManager'](_0x1d1b8a),_0x45c36e=_0x4bb1ce[_0x1a680e(0x456)](_0x571c2f);_0x4bb1ce[_0x1a680e(0x280)](_0x178aba),_0x45c36e[_0x1a680e(0x23f)](_0x178aba[_0x1a680e(0x226)](),_0x178aba[_0x1a680e(0x396)]());const _0x3d904a=_0x45c36e[_0x1a680e(0x4cb)](_0x178aba[_0x1a680e(0x237)]());_0x3d904a&&_0x178aba['refreshGroupField'](_0x3d904a);const _0x1a226f=_0x3d7f35[_0x1a680e(0x3f5)](_0x1d1b8a,_0x29bdfa,_0x571c2f);return _0x3d7f35['addDirtyPivotTable']({'unitId':_0x1d1b8a,'subUnitId':_0x29bdfa,'token':_0x571c2f,'type':_0x4f32a0[_0x1a680e(0x472)],'pivotConfig':_0x1a226f}),!0x0;}},_0x1fa369={'id':'sheet.mutation.remove-group-collection','type':_0x3ea15a['CommandType'][_0x132f81(0x295)],'handler':(_0x314c79,_0x512398)=>{const _0x421b51=_0x132f81;if(!_0x512398)return!0x1;if(!!_0x314c79[_0x421b51(0x3c9)](_0x3ea15a['IConfigService'])[_0x421b51(0x277)](_0x43c6ec))return!0x0;const {pivotTableId:_0x15ecf8,dataFieldId:_0x45fc7f,unitId:_0x4a2b34,subUnitId:_0x27fbb7}=_0x512398,_0x484050=_0x314c79[_0x421b51(0x3c9)](_0x53a3b8['SheetsPivotDataSourceModel']),_0x52d408=_0x484050[_0x421b51(0x305)](_0x4a2b34);_0x52d408[_0x421b51(0x456)](_0x15ecf8)['deleteField'](_0x45fc7f);let _0x5506b6=!0x0;for(const _0x35e7b2 in _0x52d408[_0x421b51(0x3c8)])if(_0x52d408[_0x421b51(0x3c8)][_0x35e7b2][_0x421b51(0x3e5)]()['includes'](_0x45fc7f)){_0x5506b6=!0x1;break;}_0x5506b6&&_0x52d408[_0x421b51(0x36d)](_0x45fc7f);const _0x4d578a=_0x484050[_0x421b51(0x3f5)](_0x4a2b34,_0x27fbb7,_0x15ecf8);return _0x484050['addDirtyPivotTable']({'unitId':_0x4a2b34,'subUnitId':_0x27fbb7,'token':_0x15ecf8,'type':_0x4f32a0[_0x421b51(0x472)],'pivotConfig':_0x4d578a}),!0x0;}},_0x3fdc80={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x1fa),async 'handler'(_0x5ebeac,_0x11e817){const _0x3996dc=_0x132f81;if(!_0x11e817)return!0x1;const _0x5b9af1=_0x5ebeac[_0x3996dc(0x3c9)](_0x3ea15a[_0x3996dc(0x47d)]),_0x8f793a=_0x5ebeac['get'](_0x53a3b8[_0x3996dc(0x343)]),_0x204662=_0x5ebeac[_0x3996dc(0x3c9)](_0x3ea15a[_0x3996dc(0x2a6)]),{pivotTableId:_0x23d979,dataFieldId:_0x14ad66,fieldArea:_0x241668,index:_0x2273a3,unitId:_0x4448f6,subUnitId:_0x51a7d0}=_0x11e817,_0x573d98=(await _0x8f793a['getPivotDisplayConfig']({'unitId':_0x4448f6,'subUnitId':_0x51a7d0,'pivotTableId':_0x23d979,'params':{'type':_0x2a962f[_0x3996dc(0x3e1)],'addPivotField':{'dataFieldId':_0x14ad66,'fieldArea':_0x241668,'index':_0x2273a3}}}))['result']['addPivotField'];if(!_0x573d98)return!0x1;const {view:_0x532c61,changesets:_0x22958d,isEmpty:_0x3ffdbc,pivotTableConfig:_0xfcad53,shouldBeAddedGroupJSON:_0x35241b}=_0x573d98,_0x7e022=_0xfcad53[_0x3996dc(0x2d7)],_0x2bb6e6=new _0x533a75[(_0x3996dc(0x335))]();_0x2bb6e6['formJSON'](_0x532c61);const _0x297f80={'cellInfo':_0x7e022,'view':_0x2bb6e6,'isEmpty':_0x3ffdbc};if(!await _0x5ebeac[_0x3996dc(0x3c9)](_0x53a3b8[_0x3996dc(0x24f)])[_0x3996dc(0x500)][_0x3996dc(0x3ad)](_0x3637bb)(!0x0,_0x297f80))return!0x1;const _0x2f9d58=_0x2235e0(_0x5ebeac,_0x2bb6e6,_0x7e022,_0x3ffdbc),_0x2c4edb=_0xd85215(_0x5ebeac,_0x297f80),{undos:_0x42afe5,redos:_0x4e0dd1}=_0x2ef402(_0x5b9af1,{'pivotTableId':_0x23d979,'unitId':_0x4448f6,'subUnitId':_0x51a7d0},_0x22958d);return _0x35241b&&(_0x4e0dd1['unshift']({'id':_0xf61676['id'],'params':{'pivotTableId':_0x23d979,'fieldJSON':_0x35241b,'unitId':_0x4448f6,'subUnitId':_0x51a7d0}}),_0x42afe5[_0x3996dc(0x251)]({'id':_0x1fa369['id'],'params':{'pivotTableId':_0x23d979,'dataFieldId':_0x35241b['id'],'unitId':_0x4448f6,'subUnitId':_0x51a7d0}})),_0x3ea15a[_0x3996dc(0x25e)]([..._0x2f9d58['redos'],..._0x2c4edb['redos'],..._0x4e0dd1],_0x5b9af1),_0x204662['pushUndoRedo']({'unitID':_0x4448f6,'redoMutations':[..._0x2f9d58[_0x3996dc(0x42d)],..._0x2c4edb[_0x3996dc(0x42d)],..._0x4e0dd1],'undoMutations':[..._0x2f9d58[_0x3996dc(0x367)],..._0x2c4edb[_0x3996dc(0x367)],..._0x42afe5]}),!0x0;}},_0x105bed={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x4fa),async 'handler'(_0xbe868c,_0x139ab8){const _0xae721a=_0x132f81;if(!_0x139ab8)return!0x1;const {sourceDataInfo:_0x31694b,pivotTableConfig:_0x32ee70}=_0x139ab8;if(!_0x31694b||!_0x32ee70)return!0x1;const {unitId:_0x125a93,subUnitId:_0x9ec505,range:_0x21fb7d}=_0x31694b,_0x473095=_0xbe868c[_0xae721a(0x3c9)](_0x3ea15a[_0xae721a(0x41b)]),_0x3242f7=_0xbe868c[_0xae721a(0x3c9)](_0x53a3b8[_0xae721a(0x343)]),_0x43831b=_0xbe868c[_0xae721a(0x3c9)](_0x3ea15a['LocaleService']),_0x598e13=_0xbe868c[_0xae721a(0x3c9)](_0x3ea15a[_0xae721a(0x47d)]),_0x55338c=_0x473095[_0xae721a(0x40d)](_0x125a93);if(!_0x55338c)return!0x1;const _0x1a1c09=_0x55338c['getSheetBySheetId'](_0x9ec505);if(!_0x1a1c09)return!0x1;const _0x2d4545=_0x533a75['generateHexNumber'](0x8),_0x2b1d2e=_0x21fb7d||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1a1c09[_0xae721a(0x30b)]()-0x1,'endColumn':_0x1a1c09['getColumnCount']()-0x1};_0x2b1d2e[_0xae721a(0x3ae)]=_0x3ea15a[_0xae721a(0x212)][_0xae721a(0x492)];const _0x1f21b7=(await _0x3242f7[_0xae721a(0x32f)]({'unitId':_0x125a93,'subUnitId':_0x9ec505,'pivotTableId':_0x2d4545,'params':{'type':_0x2a962f[_0xae721a(0x287)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x125a93,'sheetName':_0x1a1c09[_0xae721a(0x396)](),'subUnitId':_0x9ec505,'range':_0x2b1d2e},'pivotTableId':_0x2d4545,'pivotTableIndexConfig':_0x32ee70}}}))['result'][_0xae721a(0x38e)];if(!_0x1f21b7)return!0x1;const {isEmpty:_0x34ca74,fieldsConfig:_0x3de258,collectionConfig:_0x4a5f8e,changesets:_0x33652e}=_0x1f21b7,_0x107443=_0x55338c[_0xae721a(0x3ca)]()[_0xae721a(0x23e)],_0x46e660=_0x3ea15a['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x1a1c09[_0xae721a(0x30b)]()-0x1,'columnCount':_0x1a1c09[_0xae721a(0x1fe)]()-0x1});_0x46e660['id']=_0x3ea15a[_0xae721a(0x47f)](),_0x46e660[_0xae721a(0x215)]=_0x55338c[_0xae721a(0x3ab)](''+_0x43831b['t']('sheets.tabs.sheet'));const _0x5f33d4={'index':_0x107443,'sheet':_0x46e660,'unitId':_0x125a93},{redos:_0x5963ff}=_0x2ef402(_0x598e13,{'pivotTableId':_0x2d4545,'unitId':_0x125a93,'subUnitId':_0x46e660['id']},_0x33652e),_0xf7e042=[{'id':_0x12437f['InsertSheetCommand']['id'],'params':_0x5f33d4},{'id':_0x161332['id'],'params':{'unitId':_0x125a93,'subUnitId':_0x46e660['id'],'pivotTableId':_0x2d4545,'pivotTableConfig':{'isEmpty':_0x34ca74,'fieldsConfig':_0x3de258,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x125a93,'subUnitId':_0x46e660['id']},'sourceRangeInfo':{'subUnitId':_0x9ec505,'unitId':_0x125a93,'range':_0x2b1d2e,'sheetName':_0x1a1c09[_0xae721a(0x396)]()}},'collectionConfig':_0x4a5f8e}},..._0x5963ff];return _0x3ea15a['sequenceExecute'](_0xf7e042,_0x598e13),!0x0;}},_0x38150a={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x390),async 'handler'(_0x36bdf1,_0x2587ca){const _0x156a8a=_0x132f81;var _0x5773b6,_0x51aef5;const _0x51093e=_0x36bdf1[_0x156a8a(0x3c9)](_0x3ea15a[_0x156a8a(0x47d)]),_0x565dd6=_0x36bdf1[_0x156a8a(0x3c9)](_0x3ea15a[_0x156a8a(0x41b)]),_0x1979da=_0x36bdf1[_0x156a8a(0x3c9)](_0x3ea15a['LocaleService']),_0xb35d9b=_0x36bdf1[_0x156a8a(0x3c9)](_0x53a3b8[_0x156a8a(0x343)]),_0x6823aa=_0x36bdf1['get'](_0x3ea15a[_0x156a8a(0x2a6)]),_0x19db52=_0x36bdf1[_0x156a8a(0x3c9)](_0x53a3b8[_0x156a8a(0x240)]),_0xf75009=_0x36bdf1['get'](_0x3ea15a[_0x156a8a(0x3d9)]);if(!_0x2587ca)return!0x1;const {pivotTableConfig:_0x425c08,positionType:_0x4de36b}=_0x2587ca,{targetCellInfo:_0x3fe0e8,sourceRangeInfo:_0x253880}=_0x425c08,{unitId:_0x4cc91f,subUnitId:_0x52326e}=_0x3fe0e8,_0x1676fa=_0x565dd6[_0x156a8a(0x40d)](_0x4cc91f);if(!_0x1676fa)return!0x1;let _0x5cae29=0x0;_0x1676fa[_0x156a8a(0x3ca)]()['forEach'](_0x35875e=>{const _0x5eac46=_0x156a8a;var _0x4471cf,_0xf0cb35;_0x5cae29+=(_0xf0cb35=(_0x4471cf=_0x19db52[_0x5eac46(0x469)](_0x4cc91f,_0x35875e[_0x5eac46(0x3a6)]()))==null?void 0x0:_0x4471cf[_0x5eac46(0x3f6)])!=null?_0xf0cb35:0x0;});const _0x4bbbaa=(_0x5773b6=_0xf75009[_0x156a8a(0x277)](_0x3e669d['LS_CONFIG_KEY']))!=null?_0x5773b6:{},{ls:_0x504eb6,pbk:_0x1fe7e2}=_0x4bbbaa;if(!_0x54bba4(_0x504eb6,_0x1fe7e2))return!0x1;const _0x519950=_0x1dd753(_0x42b087,_0x504eb6,_0x1fe7e2)[_0x156a8a(0x503)];if(_0x5cae29>=_0x519950)return!0x1;const _0x549028=_0x2587ca[_0x156a8a(0x2ba)]||_0x533a75['generateHexNumber'](0x8),_0x3759fe=(await _0xb35d9b['getPivotDisplayConfig']({'unitId':_0x4cc91f,'subUnitId':_0x52326e,'pivotTableId':_0x549028,'params':{'type':_0x2a962f[_0x156a8a(0x267)],'addPivotTable':{'sourceRangeInfo':_0x253880,'pivotTableId':_0x549028}}}))['result']['addPivotTable'];if(!_0x3759fe)return!0x1;const {view:_0x2380ad,isEmpty:_0x11041d,fieldsConfig:_0x1fe29b,collectionConfig:_0x20696b}=_0x3759fe,_0x4f47a1=[],_0x2ad318=[];if(_0x4de36b===_0xa83d7d['New']){const _0x3ae35b=_0x1676fa[_0x156a8a(0x3ca)]()[_0x156a8a(0x23e)],_0x3753fa=_0x3ea15a[_0x156a8a(0x38a)]({});_0x3753fa['id']=_0x425c08[_0x156a8a(0x2d7)]['subUnitId'],_0x3753fa['name']=(_0x51aef5=_0x425c08['targetCellInfo'][_0x156a8a(0x418)])!=null?_0x51aef5:_0x1676fa['generateNewSheetName'](''+_0x1979da['t'](_0x156a8a(0x380)));const _0x3de552={'index':_0x3ae35b,'sheet':_0x3753fa,'unitId':_0x4cc91f},_0x3938a3=_0x12437f[_0x156a8a(0x4bb)](_0x36bdf1,_0x3de552);_0x4f47a1[_0x156a8a(0x251)]({'id':_0x12437f[_0x156a8a(0x4e6)]['id'],'params':_0x3938a3}),_0x2ad318[_0x156a8a(0x251)]({'id':_0x12437f[_0x156a8a(0x489)]['id'],'params':_0x3de552});}else{if(!_0x1676fa[_0x156a8a(0x392)](_0x52326e))return!0x1;const _0x455421=_0x2235e0(_0x36bdf1,new _0x533a75[(_0x156a8a(0x335))](),_0x3fe0e8,!0x0);_0x2ad318[_0x156a8a(0x251)](..._0x455421[_0x156a8a(0x42d)]),_0x4f47a1[_0x156a8a(0x251)](..._0x455421[_0x156a8a(0x367)]);const _0x1b4a22={'cellInfo':_0x3fe0e8,'view':_0x2380ad,'isEmpty':_0x11041d};if(!await _0x36bdf1[_0x156a8a(0x3c9)](_0x53a3b8[_0x156a8a(0x24f)])[_0x156a8a(0x500)]['fetchThroughAsyncInterceptors'](_0x3637bb)(!0x0,_0x1b4a22))return!0x1;const _0x183c30=_0xd85215(_0x36bdf1,_0x1b4a22);_0x2ad318[_0x156a8a(0x251)](..._0x183c30[_0x156a8a(0x42d)]),_0x4f47a1[_0x156a8a(0x251)](..._0x183c30[_0x156a8a(0x367)]);}return _0x2ad318[_0x156a8a(0x251)]({'id':_0x161332['id'],'params':{'unitId':_0x3fe0e8[_0x156a8a(0x3b5)],'subUnitId':_0x3fe0e8['subUnitId'],'pivotTableId':_0x549028,'pivotTableConfig':{'targetCellInfo':_0x3fe0e8,'sourceRangeInfo':_0x253880,'fieldsConfig':_0x1fe29b},'collectionConfig':_0x20696b}}),_0x4f47a1[_0x156a8a(0x25c)]({'id':_0x421b97['id'],'params':{'unitId':_0x4cc91f,'subUnitId':_0x52326e,'pivotTableId':_0x549028}}),_0x3ea15a[_0x156a8a(0x25e)](_0x2ad318,_0x51093e)&&_0x6823aa[_0x156a8a(0x4c9)]({'unitID':_0x4cc91f,'undoMutations':_0x4f47a1,'redoMutations':_0x2ad318}),!0x0;}},_0x46748f={'type':_0x3ea15a[_0x132f81(0x397)]['COMMAND'],'id':_0x132f81(0x470),async 'handler'(_0x3e2865,_0x3f576d){const _0xd62eb6=_0x132f81;if(!_0x3f576d)return!0x1;const _0x4d9832=_0x3e2865[_0xd62eb6(0x3c9)](_0x3ea15a['ICommandService']),_0x230384=_0x3e2865[_0xd62eb6(0x3c9)](_0x53a3b8[_0xd62eb6(0x343)]),_0x116463=_0x3e2865[_0xd62eb6(0x3c9)](_0x3ea15a[_0xd62eb6(0x2a6)]),{pivotTableId:_0x46082e,fieldId:_0x14c318,area:_0x404eb1,index:_0xc85630,unitId:_0x503f70,subUnitId:_0x36fd6a}=_0x3f576d,_0x43f092=(await _0x230384['getPivotDisplayConfig']({'unitId':_0x503f70,'subUnitId':_0x36fd6a,'pivotTableId':_0x46082e,'params':{'type':_0x2a962f[_0xd62eb6(0x25f)],'movePivotField':{'fieldId':_0x14c318,'area':_0x404eb1,'index':_0xc85630}}}))['result']['movePivotField'];if(!_0x43f092)return!0x1;const {changesets:_0xa5f3af,view:_0x38581d,isEmpty:_0x5d115a,pivotTableConfig:_0xdf1dbf}=_0x43f092,_0x14636f=_0xdf1dbf[_0xd62eb6(0x2d7)],_0x981ce3=new _0x533a75[(_0xd62eb6(0x335))]();_0x981ce3[_0xd62eb6(0x3af)](_0x38581d);const _0x163971={'cellInfo':_0x14636f,'view':_0x981ce3,'isEmpty':_0x5d115a};if(!await _0x3e2865[_0xd62eb6(0x3c9)](_0x53a3b8['SheetsPivotTableService'])[_0xd62eb6(0x500)]['fetchThroughAsyncInterceptors'](_0x3637bb)(!0x0,_0x163971))return!0x1;const _0x2b11f4=_0x2235e0(_0x3e2865,_0x981ce3,_0x14636f,_0x5d115a),_0x149040=_0xd85215(_0x3e2865,_0x163971),{redos:_0x187172,undos:_0x127f60}=_0x2ef402(_0x4d9832,{'pivotTableId':_0x46082e,'unitId':_0x503f70,'subUnitId':_0x36fd6a},_0xa5f3af);return _0x3ea15a[_0xd62eb6(0x25e)]([..._0x2b11f4[_0xd62eb6(0x42d)],..._0x149040[_0xd62eb6(0x42d)],..._0x187172],_0x4d9832),_0x116463[_0xd62eb6(0x4c9)]({'unitID':_0x503f70,'redoMutations':[..._0x2b11f4['redos'],..._0x149040[_0xd62eb6(0x42d)],..._0x187172],'undoMutations':[..._0x2b11f4[_0xd62eb6(0x367)],..._0x149040[_0xd62eb6(0x367)],..._0x127f60]}),!0x0;}},_0x199763={'type':_0x3ea15a['CommandType'][_0x132f81(0x3cc)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x2f02da,_0x14ccf1){const _0x27141f=_0x132f81;var _0x3a7f1c;if(!_0x14ccf1)return!0x1;const _0x2ece4b=_0x2f02da['get'](_0x3ea15a[_0x27141f(0x41b)]),_0x21ced7=_0x12437f[_0x27141f(0x2ac)](_0x2ece4b);if(!_0x21ced7)return!0x1;const {unitId:_0x180679,subUnitId:_0x3267fc,workbook:_0x436711}=_0x21ced7,{row:_0x1c7232,col:_0x38cc31}=_0x14ccf1,_0x3a975a=_0x2f02da[_0x27141f(0x3c9)](_0x53a3b8[_0x27141f(0x1ff)]),_0x4d366d=_0x3a975a[_0x27141f(0x352)](_0x180679,_0x3267fc,_0x1c7232,_0x38cc31);if(!_0x4d366d)return!0x1;const _0x34919d=(_0x3a7f1c=_0x3a975a[_0x27141f(0x20b)](_0x180679,_0x3267fc,_0x4d366d))==null?void 0x0:_0x3a7f1c[_0x27141f(0x45d)];if(!_0x34919d)return!0x1;const _0x459a85=_0x2f02da[_0x27141f(0x3c9)](_0x53a3b8[_0x27141f(0x240)])[_0x27141f(0x3f5)](_0x180679,_0x3267fc,_0x4d366d);if(!_0x459a85)return!0x1;const {rowInfo:_0x22daec,colInfo:_0x1cc4a7}=_0x34919d,_0xdb0372=_0x22daec[_0x1c7232]['paths'],_0x31c28a=_0x1cc4a7[_0x38cc31][_0x27141f(0x2a0)],_0x38e842=_0x22daec[_0x1c7232][_0x27141f(0x4d7)],_0x48d21b=_0x1cc4a7[_0x38cc31]['level'],_0x5170a6=_0xdb0372[_0x27141f(0x426)](_0x31c28a),_0xf6b867=_0x459a85[_0x27141f(0x2c9)][_0x27141f(0x34f)][_0x27141f(0x403)](0x0,_0x38e842),_0x3155ec=_0x459a85[_0x27141f(0x2c9)][_0x27141f(0x4f8)][_0x27141f(0x403)](0x0,_0x48d21b),_0x40ec6e=_0xf6b867[_0x27141f(0x426)](_0x3155ec),_0x3b97c7=_0x5170a6['map']((_0x5f0bde,_0x47dc64)=>[_0x5f0bde,_0x40ec6e[_0x47dc64]]),_0x5f3050=(await _0x2f02da[_0x27141f(0x3c9)](_0x53a3b8[_0x27141f(0x343)])[_0x27141f(0x32f)]({'unitId':_0x180679,'subUnitId':_0x3267fc,'pivotTableId':_0x4d366d,'params':{'type':_0x2a962f['DrillDown'],'drillDown':{'tuple':_0x3b97c7}}}))[_0x27141f(0x3d1)][_0x27141f(0x356)];if(!_0x5f3050)return!0x1;const {indexes:_0x4acf79,range:_0x3226be,sourceUnitId:_0x5dd947,sourceSubUnitId:_0x17f55b,formatMap:_0x2899dc}=_0x5f3050,{startRow:_0x2d01af,endRow:_0x2a17b1,startColumn:_0x204493,endColumn:_0x4eef82}=_0x3226be,_0x4d30e6=new _0x3ea15a['ObjectMatrix'](),_0x5e0530=_0x2a17b1-_0x2d01af,_0x1f4689=_0x4eef82-_0x204493,_0x3e5e0f={},_0xc7e4a4=_0x12437f['getSheetCommandTarget'](_0x2ece4b,{'unitId':_0x5dd947,'subUnitId':_0x17f55b});if(!_0xc7e4a4)return!0x1;const _0x52f896=_0x237ffe[_0x27141f(0x332)],_0x31ca29=_0x237ffe['subTotalStyle'],_0x2d8c99=_0x237ffe['subTotalStyle'],_0xed2376=_0x436711[_0x27141f(0x219)]()[_0x27141f(0x362)](_0x52f896),_0x3a2620=_0x436711[_0x27141f(0x219)]()[_0x27141f(0x362)](_0x31ca29),_0x378e39=_0x436711['getStyles']()[_0x27141f(0x362)](_0x2d8c99),{worksheet:_0x1eefba}=_0xc7e4a4;let _0x4d8f28=0x0;const _0x2e184f=0x1;_0x4acf79[_0x27141f(0x473)](_0x51cabe=>{const _0x539da3=_0x27141f;for(let _0x183b7c=0x0;_0x183b7c<=_0x4eef82-_0x204493;_0x183b7c++)_0x4d30e6[_0x539da3(0x362)](_0x4d8f28,_0x183b7c,_0x1eefba['getCellRaw'](_0x51cabe+_0x3226be[_0x539da3(0x22b)]+_0x2e184f,_0x183b7c));_0x4d8f28++;});for(let _0x19d178=_0x204493;_0x19d178<=_0x4eef82;_0x19d178++){const _0x2c9e1f=_0x1eefba[_0x27141f(0x3a8)](_0x2d01af,_0x19d178);_0x3e5e0f[_0x2d01af]||(_0x3e5e0f[_0x2d01af]={}),_0x3e5e0f[_0x2d01af][_0x19d178]={..._0x2c9e1f,'s':_0xed2376};}let _0x1561b5=0x1;const _0x387f0e={},_0x125b45={};_0x4d30e6[_0x27141f(0x4c5)]((_0x5d23d6,_0x3808d9)=>{const _0x225375=_0x27141f;_0x3808d9[_0x225375(0x473)](_0x1e7988=>{const _0x2669e8=_0x225375,_0x470978=_0x4d30e6['getValue'](_0x5d23d6,_0x1e7988);if(_0x3e5e0f[_0x1561b5]||(_0x3e5e0f[_0x1561b5]={}),_0x3e5e0f[_0x1561b5][_0x1e7988]={..._0x470978,'s':_0x1561b5%0x2===0x0?_0x378e39:_0x3a2620},_0x2899dc[_0x1e7988]&&_0x5d23d6>=0x0){const _0x485f57=_0x1561b5%0x2===0x0;let _0xd83982=_0x485f57?_0x125b45[_0x1e7988]:_0x387f0e[_0x1e7988];_0xd83982||(_0xd83982=_0x436711[_0x2669e8(0x219)]()[_0x2669e8(0x362)]({..._0x485f57?_0x2d8c99:_0x31ca29,'n':{'pattern':_0x2899dc[_0x1e7988]}}),_0x485f57?_0x125b45[_0x1e7988]=_0xd83982:_0x387f0e[_0x1e7988]=_0xd83982),_0x3e5e0f[_0x1561b5][_0x1e7988]['s']=_0xd83982;}}),_0x1561b5++;});const _0x21db7e=new _0x3ea15a[(_0x27141f(0x405))](_0x3e5e0f),_0x2003c6={};_0x21db7e[_0x27141f(0x26c)]((_0xc9374,_0x439420,_0x19f9b2)=>{_0x2003c6[_0xc9374]||(_0x2003c6[_0xc9374]={}),_0x2003c6[_0xc9374][_0x439420]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x22dbfc=[],_0x28ab5b=[],_0xdc7183=_0x436711['getSheets']()['length'],_0x46409f=_0x3ea15a[_0x27141f(0x38a)]({'rowCount':Math[_0x27141f(0x4dd)](_0x3ea15a[_0x27141f(0x2c6)],_0x5e0530+0xa),'columnCount':Math[_0x27141f(0x4dd)](_0x3ea15a[_0x27141f(0x254)],_0x1f4689+0x5)}),_0x114511=_0x2f02da[_0x27141f(0x3c9)](_0x3ea15a[_0x27141f(0x4ed)]);_0x46409f['id']=_0x3ea15a[_0x27141f(0x47f)](),_0x46409f[_0x27141f(0x215)]=_0x436711['generateNewSheetName'](''+_0x114511['t'](_0x27141f(0x380)));const _0xe3ab3c={'index':_0xdc7183,'sheet':_0x46409f,'unitId':_0x180679},_0x3b8d7e=_0x12437f[_0x27141f(0x4bb)](_0x2f02da,_0xe3ab3c);_0x28ab5b[_0x27141f(0x251)]({'id':_0x12437f['InsertSheetMutation']['id'],'params':_0xe3ab3c}),_0x22dbfc[_0x27141f(0x251)]({'id':_0x12437f['RemoveSheetMutation']['id'],'params':_0x3b8d7e}),_0x28ab5b[_0x27141f(0x251)]({'id':_0x12437f[_0x27141f(0x366)]['id'],'params':{'unitId':_0x180679,'subUnitId':_0x46409f['id'],'cellValue':_0x3e5e0f}}),_0x22dbfc[_0x27141f(0x25c)]({'id':_0x12437f['SetRangeValuesMutation']['id'],'params':{'unitId':_0x180679,'subUnitId':_0x46409f['id'],'cellValue':_0x2003c6}});const _0x52596f={'startRow':0x0,'startColumn':0x0,'endRow':_0x1561b5-0x1,'endColumn':_0x4eef82};_0x28ab5b[_0x27141f(0x251)]({'id':_0x4d538d[_0x27141f(0x21c)]['id'],'params':{'unitId':_0x180679,'subUnitId':_0x46409f['id'],'range':_0x52596f}}),_0x22dbfc[_0x27141f(0x25c)]({'id':_0x4d538d[_0x27141f(0x49a)]['id'],'params':{'unitId':_0x180679,'subUnitId':_0x46409f['id']}});const _0xf9fe30=_0x2f02da[_0x27141f(0x3c9)](_0x3ea15a[_0x27141f(0x47d)]);return _0x3ea15a[_0x27141f(0x25e)](_0x28ab5b,_0xf9fe30)&&_0x2f02da[_0x27141f(0x3c9)](_0x3ea15a[_0x27141f(0x2a6)])[_0x27141f(0x4c9)]({'unitID':_0x180679,'undoMutations':_0x22dbfc,'redoMutations':_0x28ab5b}),!0x0;}},_0x1826c7={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x37d),async 'handler'(_0x1171a5,_0x2cde4c){const _0x2fbe32=_0x132f81;if(!_0x2cde4c)return!0x1;const _0x2beae9=_0x1171a5[_0x2fbe32(0x3c9)](_0x3ea15a[_0x2fbe32(0x47d)]),_0x2b2a51=_0x1171a5['get'](_0x53a3b8['SheetsPivotRPCService']),_0x3d3ac3=_0x1171a5[_0x2fbe32(0x3c9)](_0x3ea15a[_0x2fbe32(0x2a6)]),{pivotTableId:_0x25a347,fieldIds:_0x29fa4e,unitId:_0x5d8414,subUnitId:_0xf5566}=_0x2cde4c,_0x25e459=(await _0x2b2a51[_0x2fbe32(0x32f)]({'unitId':_0x5d8414,'subUnitId':_0xf5566,'pivotTableId':_0x25a347,'params':{'type':_0x2a962f['RemovePivotField'],'removePivotField':{'fieldIds':_0x29fa4e}}}))[_0x2fbe32(0x3d1)][_0x2fbe32(0x22d)];if(!_0x25e459)return!0x1;const {view:_0x25a498,changesets:_0x4098b8,isEmpty:_0x3e0173,pivotTableConfig:_0x1481ec}=_0x25e459,_0x4d986c=_0x1481ec[_0x2fbe32(0x2d7)],_0x367870=new _0x533a75[(_0x2fbe32(0x335))]();_0x367870[_0x2fbe32(0x3af)](_0x25a498);const _0x273c54={'cellInfo':_0x4d986c,'view':_0x367870,'isEmpty':_0x3e0173};if(!await _0x1171a5[_0x2fbe32(0x3c9)](_0x53a3b8[_0x2fbe32(0x24f)])[_0x2fbe32(0x500)][_0x2fbe32(0x3ad)](_0x3637bb)(!0x0,_0x273c54))return!0x1;const _0x130583=_0x2235e0(_0x1171a5,_0x367870,_0x4d986c,_0x3e0173),_0x409b87=_0xd85215(_0x1171a5,_0x273c54),{redos:_0x26c074,undos:_0x46bcea}=_0x2ef402(_0x2beae9,{'pivotTableId':_0x25a347,'unitId':_0x5d8414,'subUnitId':_0xf5566},_0x4098b8);return _0x3ea15a[_0x2fbe32(0x25e)]([..._0x130583[_0x2fbe32(0x42d)],..._0x409b87[_0x2fbe32(0x42d)],..._0x26c074],_0x2beae9),_0x3d3ac3[_0x2fbe32(0x4c9)]({'unitID':_0x5d8414,'redoMutations':[..._0x130583['redos'],..._0x409b87[_0x2fbe32(0x42d)],..._0x26c074],'undoMutations':[..._0x130583['undos'],..._0x409b87[_0x2fbe32(0x367)],..._0x46bcea]}),!0x0;}},_0x102264={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x279),async 'handler'(_0x12b068,_0x801bec){const _0x585ebd=_0x132f81;var _0x3aaf8d;const _0x38eaac=_0x12b068[_0x585ebd(0x3c9)](_0x3ea15a['ICommandService']),_0x2b237e=_0x12b068[_0x585ebd(0x3c9)](_0x53a3b8[_0x585ebd(0x343)]),_0x1e3dd3=_0x12b068['get'](_0x53a3b8[_0x585ebd(0x1ff)]),_0x250f43=_0x12b068['get'](_0x3ea15a[_0x585ebd(0x41b)]),_0xeb02f1=_0x12b068['get'](_0x3ea15a[_0x585ebd(0x2a6)]);if(!_0x801bec)return!0x1;const {unitId:_0x3ade00,subUnitId:_0x59ada4,row:_0x580c48,col:_0x126866,collapse:_0x578486}=_0x801bec,_0x10a0b8=_0x250f43[_0x585ebd(0x40d)](_0x3ade00);if(!_0x10a0b8||!_0x10a0b8[_0x585ebd(0x392)](_0x59ada4))return!0x1;const _0x46aa02=_0x1e3dd3['getPivotTableIdByCell'](_0x3ade00,_0x59ada4,_0x580c48,_0x126866);if(!_0x46aa02)return!0x1;const _0x1a2511=_0x1e3dd3[_0x585ebd(0x20b)](_0x3ade00,_0x59ada4,_0x46aa02);if(!_0x1a2511)return!0x1;const _0x5d252b=_0x3ea15a[_0x585ebd(0x336)](_0x580c48,_0x126866),{rangesInfo:_0x2c382a,areaInfo:_0x44053c,headerMap:_0x314a5b}=_0x1a2511;if(!_0x2c382a||!_0x44053c||!_0x314a5b)return!0x1;const _0x1fca81=Object[_0x585ebd(0x28e)](_0x2c382a)[_0x585ebd(0x4f6)](_0x109f54=>_0x2c382a[_0x109f54][_0x585ebd(0x3f8)](_0x278198=>_0x3ea15a[_0x585ebd(0x253)][_0x585ebd(0x3f4)](_0x278198,_0x5d252b)));let _0x3546aa;_0x1fca81===_0x585ebd(0x4aa)?_0x3546aa=_0x314a5b[_0x585ebd(0x24d)][_0x126866]:_0x1fca81===_0x585ebd(0x23d)&&(_0x3546aa=_0x314a5b[_0x585ebd(0x506)][_0x580c48]);const _0x16f891=_0x3546aa==null?void 0x0:_0x3546aa[_0x585ebd(0x388)],_0x4a572a=(_0x3aaf8d=_0x1e3dd3['getPivotTableCellData'](_0x3ade00,_0x59ada4,_0x580c48,_0x126866))==null?void 0x0:_0x3aaf8d['v'];if(_0x4a572a==null||!_0x46aa02||!_0x16f891)return!0x1;const _0x10ce40=await _0x2b237e[_0x585ebd(0x32f)]({'unitId':_0x3ade00,'subUnitId':_0x59ada4,'pivotTableId':_0x46aa02,'params':{'type':_0x2a962f[_0x585ebd(0x289)],'setPivotCollapse':{'tableFieldId':_0x16f891,'collapse':_0x578486,'item':_0x4a572a}}}),_0x379e2a=_0x10ce40==null?void 0x0:_0x10ce40[_0x585ebd(0x3d1)][_0x585ebd(0x44b)];if(!_0x379e2a)return!0x1;const {view:_0x5c7346,pivotTableConfig:_0x32516f,isEmpty:_0x52ff3a,changesets:_0x347d60}=_0x379e2a,_0x4e7f45=new _0x533a75['PivotView']();_0x4e7f45[_0x585ebd(0x3af)](_0x5c7346);const _0xb194d1=_0x32516f[_0x585ebd(0x2d7)],_0xfefdc4={'cellInfo':_0xb194d1,'view':_0x4e7f45,'isEmpty':_0x52ff3a};if(!await _0x12b068[_0x585ebd(0x3c9)](_0x53a3b8[_0x585ebd(0x24f)])[_0x585ebd(0x500)][_0x585ebd(0x3ad)](_0x3637bb)(!0x0,_0xfefdc4))return!0x1;const _0x4ae382=_0x2235e0(_0x12b068,_0x4e7f45,_0xb194d1,_0x52ff3a),_0x3b83cb=_0xd85215(_0x12b068,_0xfefdc4),{redos:_0x477003,undos:_0x2188c6}=_0x2ef402(_0x38eaac,{'pivotTableId':_0x46aa02,'unitId':_0x3ade00,'subUnitId':_0x59ada4},_0x347d60);return _0x3ea15a['sequenceExecute']([..._0x4ae382[_0x585ebd(0x42d)],..._0x3b83cb['redos'],..._0x477003],_0x38eaac),_0xeb02f1[_0x585ebd(0x4c9)]({'unitID':_0x3ade00,'redoMutations':[..._0x4ae382['redos'],..._0x3b83cb[_0x585ebd(0x42d)],..._0x477003],'undoMutations':[..._0x4ae382['undos'],..._0x3b83cb['undos'],..._0x2188c6]}),!0x0;}},_0x16f3ee={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x454),async 'handler'(_0x286b05,_0x127229){const _0x559521=_0x132f81;if(!_0x127229)return!0x1;const _0x2d72db=_0x286b05[_0x559521(0x3c9)](_0x3ea15a[_0x559521(0x47d)]),{pivotTableId:_0x280f49,tableFieldId:_0x1190fd,items:_0x22f64d,unitId:_0xa40c37,subUnitId:_0x1f6f58,isAll:_0x4b6c1d}=_0x127229,_0xfa142d=_0x286b05[_0x559521(0x3c9)](_0x53a3b8[_0x559521(0x343)]),_0x24f8f9=_0x286b05[_0x559521(0x3c9)](_0x3ea15a[_0x559521(0x2a6)]),_0x2ded4c=(await _0xfa142d[_0x559521(0x32f)]({'unitId':_0xa40c37,'subUnitId':_0x1f6f58,'pivotTableId':_0x280f49,'params':{'type':_0x2a962f[_0x559521(0x48e)],'setPivotFilter':{'tableFieldId':_0x1190fd,'items':_0x22f64d,'isAll':_0x4b6c1d}}}))[_0x559521(0x3d1)][_0x559521(0x3fd)];if(!_0x2ded4c)return!0x1;const {changesets:_0x508be2,pivotTableConfig:_0x5f3ab7,isEmpty:_0x103b66,view:_0x43145b}=_0x2ded4c,_0x5d6a12=_0x5f3ab7[_0x559521(0x2d7)],_0xef9024=new _0x533a75[(_0x559521(0x335))]();_0xef9024[_0x559521(0x3af)](_0x43145b);const _0x47d198={'cellInfo':_0x5d6a12,'view':_0xef9024,'isEmpty':_0x103b66};if(!await _0x286b05['get'](_0x53a3b8[_0x559521(0x24f)])[_0x559521(0x500)][_0x559521(0x3ad)](_0x3637bb)(!0x0,_0x47d198))return!0x1;const _0xbdee5=_0x2235e0(_0x286b05,_0xef9024,_0x5d6a12,_0x103b66),_0x361514=_0xd85215(_0x286b05,_0x47d198),{undos:_0x15ae63,redos:_0x504df5}=_0x2ef402(_0x2d72db,{'pivotTableId':_0x280f49,'unitId':_0xa40c37,'subUnitId':_0x1f6f58},_0x508be2);return _0x3ea15a[_0x559521(0x25e)]([..._0xbdee5[_0x559521(0x42d)],..._0x361514[_0x559521(0x42d)],..._0x504df5],_0x2d72db),_0x24f8f9[_0x559521(0x4c9)]({'unitID':_0xa40c37,'redoMutations':[..._0xbdee5[_0x559521(0x42d)],..._0x361514['redos'],..._0x504df5],'undoMutations':[..._0xbdee5[_0x559521(0x367)],..._0x361514[_0x559521(0x367)],..._0x15ae63]}),!0x0;}},_0x27bf63={'type':_0x3ea15a['CommandType'][_0x132f81(0x3cc)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x53f536,_0x15d9d2){const _0x322f11=_0x132f81;if(!_0x15d9d2)return!0x1;const _0x1a544b=_0x53f536[_0x322f11(0x3c9)](_0x3ea15a[_0x322f11(0x47d)]),_0x124c9d=_0x53f536[_0x322f11(0x3c9)](_0x3ea15a[_0x322f11(0x2a6)]),_0x1a77cf=_0x53f536['get'](_0x53a3b8[_0x322f11(0x343)]),{info:_0x10f694,tableFieldId:_0xeac50d,pivotTableId:_0x57f6ad,unitId:_0x12433c,subUnitId:_0x4b0973}=_0x15d9d2,_0x1214e0=(await _0x1a77cf['getPivotDisplayConfig']({'unitId':_0x12433c,'subUnitId':_0x4b0973,'pivotTableId':_0x57f6ad,'params':{'type':_0x2a962f[_0x322f11(0x220)],'setPivotSort':{'tableFieldId':_0xeac50d,'info':_0x10f694}}}))[_0x322f11(0x3d1)][_0x322f11(0x319)];if(!_0x1214e0)return!0x1;const {changesets:_0x558eea}=_0x1214e0,{redos:_0x1f0fe9,undos:_0x458301}=_0x2ef402(_0x1a544b,{'pivotTableId':_0x57f6ad,'unitId':_0x12433c,'subUnitId':_0x4b0973},_0x558eea);return _0x3ea15a[_0x322f11(0x25e)](_0x1f0fe9,_0x1a544b),_0x124c9d['pushUndoRedo']({'unitID':_0x12433c,'redoMutations':_0x1f0fe9,'undoMutations':_0x458301}),!0x0;}},_0x184753={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x494),async 'handler'(_0x162ef7,_0x4a692b){const _0x31821c=_0x132f81;if(!_0x4a692b)return!0x1;const _0x28d76f=_0x162ef7[_0x31821c(0x3c9)](_0x3ea15a['ICommandService']),_0x246c00=_0x162ef7[_0x31821c(0x3c9)](_0x3ea15a[_0x31821c(0x2a6)]),_0x1d3535=_0x162ef7[_0x31821c(0x3c9)](_0x53a3b8[_0x31821c(0x343)]),{displayName:_0x229b62,subtotalType:_0x33e391,format:_0x40c278,tableFieldId:_0x2f5b9a,pivotTableId:_0x224fac,unitId:_0xc4ce57,subUnitId:_0x4bb251}=_0x4a692b,_0x15d87d=(await _0x1d3535[_0x31821c(0x32f)]({'unitId':_0xc4ce57,'subUnitId':_0x4bb251,'pivotTableId':_0x224fac,'params':{'type':_0x2a962f[_0x31821c(0x29f)],'setPivotSetting':{'tableFieldId':_0x2f5b9a,'displayName':_0x229b62,'subtotalType':_0x33e391,'format':_0x40c278}}}))[_0x31821c(0x3d1)][_0x31821c(0x3db)];if(!_0x15d87d)return!0x1;const {changesets:_0x52afcb,view:_0x596bbf,pivotTableConfig:_0x131aef,isEmpty:_0x1c4b8c}=_0x15d87d,_0x202c1d=_0x131aef[_0x31821c(0x2d7)],_0x486e25=new _0x533a75[(_0x31821c(0x335))]();_0x486e25[_0x31821c(0x3af)](_0x596bbf);const _0x229b5d={'cellInfo':_0x202c1d,'view':_0x486e25,'isEmpty':_0x1c4b8c};if(!await _0x162ef7['get'](_0x53a3b8[_0x31821c(0x24f)])['asyncInterceptor'][_0x31821c(0x3ad)](_0x3637bb)(!0x0,_0x229b5d))return!0x1;const _0x585889=_0x2235e0(_0x162ef7,_0x486e25,_0x202c1d,_0x1c4b8c),_0x434546=_0xd85215(_0x162ef7,_0x229b5d),{undos:_0x1b633d,redos:_0x27a7dc}=_0x2ef402(_0x28d76f,{'pivotTableId':_0x224fac,'unitId':_0xc4ce57,'subUnitId':_0x4bb251},_0x52afcb);return _0x3ea15a[_0x31821c(0x25e)]([..._0x585889[_0x31821c(0x42d)],..._0x434546['redos'],..._0x27a7dc],_0x28d76f),_0x246c00['pushUndoRedo']({'unitID':_0xc4ce57,'redoMutations':[..._0x585889[_0x31821c(0x42d)],..._0x434546[_0x31821c(0x42d)],..._0x27a7dc],'undoMutations':[..._0x585889[_0x31821c(0x367)],..._0x434546[_0x31821c(0x367)],..._0x1b633d]}),!0x0;}},_0x47b5eb={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x2c4),async 'handler'(_0x2cde53,_0x37f96c){const _0x375aaf=_0x132f81,_0x4746ae=_0x2cde53['get'](_0x3ea15a['ICommandService']),_0x3148e5=_0x2cde53[_0x375aaf(0x3c9)](_0x53a3b8[_0x375aaf(0x343)]),_0x55e400=_0x2cde53[_0x375aaf(0x3c9)](_0x3ea15a[_0x375aaf(0x2a6)]);if(!_0x37f96c)return!0x1;const {token:_0x47b172,dataRangeInfo:_0x521338,unitId:_0x354712,subUnitId:_0x3342a8}=_0x37f96c,_0x2a54b3=[],_0x144c23=[],_0x46857f=(await _0x3148e5['getPivotDisplayConfig']({'unitId':_0x354712,'subUnitId':_0x3342a8,'pivotTableId':_0x47b172,'params':{'type':_0x2a962f[_0x375aaf(0x330)],'updatePivotSource':{'dataRangeInfo':_0x521338,'unitId':_0x354712,'subUnitId':_0x3342a8}}}))[_0x375aaf(0x3d1)][_0x375aaf(0x467)];if(!_0x46857f)return!0x1;const {changesets:_0x7ea434,deleteIds:_0x24a824,collectionConfig:_0x358e88,oldCollectionConfig:_0x28588d,view:_0x696e66,isEmpty:_0x528319,pivotTableConfig:_0x247709}=_0x46857f;_0x144c23[_0x375aaf(0x251)]({'id':_0x29c870['id'],'params':{'pivotTableId':_0x47b172,'deleteIds':_0x24a824,'collectionJSON':_0x358e88,'dataRangeInfo':_0x521338,'unitId':_0x354712,'subUnitId':_0x3342a8}}),_0x2a54b3[_0x375aaf(0x25c)]({'id':_0x29c870['id'],'params':{'pivotTableId':_0x47b172,'deleteIds':[],'collectionJSON':_0x28588d,'dataRangeInfo':_0x247709[_0x375aaf(0x2be)],'unitId':_0x354712,'subUnitId':_0x3342a8}});const _0x2220d2=_0x247709[_0x375aaf(0x2d7)],_0x6d1553=new _0x533a75[(_0x375aaf(0x335))]();_0x6d1553[_0x375aaf(0x3af)](_0x696e66);const _0x25ca24={'cellInfo':_0x2220d2,'view':_0x6d1553,'isEmpty':_0x528319};if(!await _0x2cde53[_0x375aaf(0x3c9)](_0x53a3b8[_0x375aaf(0x24f)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3637bb)(!0x0,_0x25ca24))return!0x1;const _0x2f6240=_0x2235e0(_0x2cde53,_0x6d1553,_0x2220d2,_0x528319),_0x17a243=_0xd85215(_0x2cde53,_0x25ca24),{undos:_0x25f3d8,redos:_0x33d579}=_0x2ef402(_0x4746ae,{'pivotTableId':_0x47b172,'unitId':_0x354712,'subUnitId':_0x3342a8},_0x7ea434);return _0x3ea15a['sequenceExecute']([..._0x2f6240[_0x375aaf(0x42d)],..._0x17a243[_0x375aaf(0x42d)],..._0x144c23,..._0x25f3d8],_0x4746ae),_0x55e400[_0x375aaf(0x4c9)]({'unitID':_0x354712,'redoMutations':[..._0x2f6240[_0x375aaf(0x42d)],..._0x17a243['redos'],..._0x144c23,..._0x25f3d8],'undoMutations':[..._0x2f6240[_0x375aaf(0x367)],..._0x17a243[_0x375aaf(0x367)],..._0x2a54b3,..._0x33d579]}),!0x0;}},_0x17adfb={'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'id':_0x132f81(0x315),async 'handler'(_0x4125fd,_0x1a4554){const _0x1e250e=_0x132f81;if(!_0x1a4554)return!0x1;const _0x410a1e=_0x4125fd[_0x1e250e(0x3c9)](_0x3ea15a[_0x1e250e(0x47d)]),_0x206e22=_0x4125fd[_0x1e250e(0x3c9)](_0x53a3b8['SheetsPivotRPCService']),_0x4ebc26=_0x4125fd[_0x1e250e(0x3c9)](_0x3ea15a[_0x1e250e(0x41b)]),_0x1b5202=_0x4125fd[_0x1e250e(0x3c9)](_0x3ea15a[_0x1e250e(0x2a6)]),{pivotTableId:_0x1f5cdb,position:_0x575689,index:_0x2b85e7}=_0x1a4554,_0x1c4f4a=_0x12437f[_0x1e250e(0x2ac)](_0x4ebc26);if(!_0x1c4f4a)return!0x1;const {unitId:_0x5a2e9f,subUnitId:_0x58a2bc}=_0x1c4f4a,_0x258ebc=(await _0x206e22[_0x1e250e(0x32f)]({'unitId':_0x5a2e9f,'subUnitId':_0x58a2bc,'pivotTableId':_0x1f5cdb,'params':{'type':_0x2a962f['UpdateValuePosition'],'updateValuePosition':{'position':_0x575689,'index':_0x2b85e7}}}))[_0x1e250e(0x3d1)][_0x1e250e(0x290)];if(!_0x258ebc)return!0x1;const {changesets:_0x511144,view:_0xb2c7d9,isEmpty:_0xec8086,pivotTableConfig:_0x29ec9f}=_0x258ebc,_0x56289c=_0x29ec9f[_0x1e250e(0x2d7)],_0x17aaa4=new _0x533a75[(_0x1e250e(0x335))]();_0x17aaa4[_0x1e250e(0x3af)](_0xb2c7d9);const _0x2cf7fe=_0x4125fd[_0x1e250e(0x3c9)](_0x53a3b8[_0x1e250e(0x24f)]),_0x3dcb02={'cellInfo':_0x56289c,'view':_0x17aaa4,'isEmpty':_0xec8086};if(!await _0x2cf7fe[_0x1e250e(0x500)][_0x1e250e(0x3ad)](_0x3637bb)(!0x0,_0x3dcb02))return!0x1;const _0x249c54=_0x2235e0(_0x4125fd,_0x17aaa4,_0x56289c,_0xec8086),_0xda3dc8=_0xd85215(_0x4125fd,_0x3dcb02),{undos:_0xe64f2f,redos:_0x124b0d}=_0x2ef402(_0x410a1e,{'pivotTableId':_0x1f5cdb,'unitId':_0x5a2e9f,'subUnitId':_0x58a2bc},_0x511144);return _0x3ea15a[_0x1e250e(0x25e)]([..._0x249c54[_0x1e250e(0x42d)],..._0xda3dc8[_0x1e250e(0x42d)],..._0x124b0d],_0x410a1e),_0x1b5202[_0x1e250e(0x4c9)]({'unitID':_0x5a2e9f,'redoMutations':[..._0x249c54[_0x1e250e(0x42d)],..._0xda3dc8['redos'],..._0x124b0d],'undoMutations':[..._0x249c54[_0x1e250e(0x367)],..._0xda3dc8[_0x1e250e(0x367)],..._0xe64f2f]}),!0x0;}},_0x463aa8={'type':_0x3ea15a['CommandType'][_0x132f81(0x3cc)],'id':_0x132f81(0x249),'handler':(_0x534643,_0x19b262)=>{const _0x488170=_0x132f81,_0x5c6e3c=_0x534643[_0x488170(0x3c9)](_0x3ea15a['ICommandService']),_0x34dfd8=_0x534643[_0x488170(0x3c9)](_0x3ea15a[_0x488170(0x2a6)]),_0x542ce2=_0x534643['get'](_0x53a3b8[_0x488170(0x240)]),_0x1435f6=_0x534643['get'](_0x3ea15a[_0x488170(0x41b)]);if(!_0x19b262)return!0x1;const _0x2c9602=_0x12437f[_0x488170(0x2ac)](_0x1435f6);if(!_0x2c9602)return!0x1;const {unitId:_0x3aacb8,subUnitId:_0x5d3bc0,workbook:_0x341155}=_0x2c9602,_0x490aec=_0x542ce2[_0x488170(0x3f5)](_0x19b262[_0x488170(0x2a7)][_0x488170(0x3b5)],_0x19b262[_0x488170(0x2a7)]['subUnitId'],_0x19b262[_0x488170(0x2ba)]);if(!_0x490aec)return!0x1;const _0x4c82f0=_0x341155[_0x488170(0x392)](_0x19b262['targetCellInfo'][_0x488170(0x2b6)]);if(!_0x4c82f0)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5c46e6=_0x4c82f0[_0x488170(0x30b)](),_0x2c75bd=_0x4c82f0[_0x488170(0x1fe)]();if(_0x19b262['targetCellInfo'][_0x488170(0x2bc)]>_0x5c46e6||_0x19b262[_0x488170(0x2d7)][_0x488170(0x498)]>_0x2c75bd)throw new Error(_0x488170(0x501));const _0x2f58e3=[{'id':_0x5e7247['id'],'params':{'unitId':_0x3aacb8,'subUnitId':_0x19b262[_0x488170(0x2d7)][_0x488170(0x2b6)],'pivotTableId':_0x19b262[_0x488170(0x2ba)],'targetCellPosition':{'row':_0x19b262[_0x488170(0x2d7)][_0x488170(0x2bc)],'col':_0x19b262['targetCellInfo'][_0x488170(0x498)]}}}],_0x47021e=[{'id':_0x5e7247['id'],'params':{'unitId':_0x3aacb8,'subUnitId':_0x5d3bc0,'pivotTableId':_0x19b262[_0x488170(0x2ba)],'targetCellPosition':{'row':_0x490aec['targetCellInfo'][_0x488170(0x2bc)],'col':_0x490aec[_0x488170(0x2d7)][_0x488170(0x498)]}}}];return _0x3ea15a[_0x488170(0x25e)](_0x2f58e3,_0x5c6e3c)&&_0x34dfd8[_0x488170(0x4c9)]({'unitID':_0x3aacb8,'undoMutations':_0x47021e,'redoMutations':_0x2f58e3}),!0x0;}},_0x27ca06={'type':_0x3ea15a['CommandType']['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x569bd9,_0x17b312){const _0x26744a=_0x132f81;if(!_0x17b312)return!0x1;const _0xe4b197=_0x569bd9[_0x26744a(0x3c9)](_0x3ea15a['ICommandService']),{pivotTableId:_0x24cecf,fieldId:_0x426aba,valueFilterInfo:_0x2e0be2,unitId:_0x88a06c,subUnitId:_0x5d7db6}=_0x17b312,_0x49ac80=_0x569bd9[_0x26744a(0x3c9)](_0x53a3b8['SheetsPivotRPCService']),_0x156298=_0x569bd9[_0x26744a(0x3c9)](_0x3ea15a['IUndoRedoService']),_0x2a0d39=(await _0x49ac80[_0x26744a(0x32f)]({'unitId':_0x88a06c,'subUnitId':_0x5d7db6,'pivotTableId':_0x24cecf,'params':{'type':_0x2a962f[_0x26744a(0x2c0)],'setValuePivotFilter':{'tableFieldId':_0x426aba,'filterInfo':_0x2e0be2}}}))[_0x26744a(0x3d1)][_0x26744a(0x417)];if(!_0x2a0d39)return!0x1;const {changesets:_0x21f8fe,pivotTableConfig:_0x144171,isEmpty:_0x11c861,view:_0x77bb5}=_0x2a0d39,_0x515dc9=_0x144171[_0x26744a(0x2d7)],_0x4cd819=new _0x533a75[(_0x26744a(0x335))]();_0x4cd819[_0x26744a(0x3af)](_0x77bb5);const _0x440021={'cellInfo':_0x515dc9,'view':_0x4cd819,'isEmpty':_0x11c861};if(!await _0x569bd9['get'](_0x53a3b8['SheetsPivotTableService'])[_0x26744a(0x500)][_0x26744a(0x3ad)](_0x3637bb)(!0x0,_0x440021))return!0x1;const _0x215af2=_0x2235e0(_0x569bd9,_0x4cd819,_0x515dc9,_0x11c861),_0x1b4d7e=_0xd85215(_0x569bd9,_0x440021),{undos:_0x189eca,redos:_0x370204}=_0x2ef402(_0xe4b197,{'pivotTableId':_0x24cecf,'unitId':_0x88a06c,'subUnitId':_0x5d7db6},_0x21f8fe);return _0x3ea15a['sequenceExecute']([..._0x215af2[_0x26744a(0x42d)],..._0x1b4d7e[_0x26744a(0x42d)],..._0x370204],_0xe4b197),_0x156298[_0x26744a(0x4c9)]({'unitID':_0x88a06c,'redoMutations':[..._0x215af2[_0x26744a(0x42d)],..._0x1b4d7e[_0x26744a(0x42d)],..._0x370204],'undoMutations':[..._0x215af2[_0x26744a(0x367)],..._0x1b4d7e['undos'],..._0x189eca]}),!0x0;}},_0x87929b={'type':_0x3ea15a['CommandType'][_0x132f81(0x3cc)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x42fadd,_0x968d75){const _0x482293=_0x132f81;if(!_0x968d75)return!0x1;const _0x3cb523=_0x42fadd['get'](_0x3ea15a['ICommandService']),_0x20df23=_0x42fadd[_0x482293(0x3c9)](_0x3ea15a[_0x482293(0x2a6)]),_0x19d2fa=_0x42fadd[_0x482293(0x3c9)](_0x53a3b8[_0x482293(0x343)]),{pivotTableConfig:_0x528fb9,pivotTableId:_0x42b6a6,unitId:_0x452a59,subUnitId:_0x1d6357}=_0x968d75,_0x4db5e9=(await _0x19d2fa[_0x482293(0x32f)]({'unitId':_0x452a59,'subUnitId':_0x1d6357,'pivotTableId':_0x42b6a6,'params':{'type':_0x2a962f[_0x482293(0x21d)],'setPivotTableConfig':{'pivotTableId':_0x42b6a6,'pivotTableConfig':_0x528fb9}}}))[_0x482293(0x3d1)]['setPivotTableConfig'];if(!_0x4db5e9)return!0x1;const {changesets:_0x3c77b7}=_0x4db5e9,{redos:_0x243ded,undos:_0x2f82ce}=_0x2ef402(_0x3cb523,{'pivotTableId':_0x42b6a6,'unitId':_0x452a59,'subUnitId':_0x1d6357},_0x3c77b7);return _0x3ea15a['sequenceExecute'](_0x243ded,_0x3cb523),_0x20df23[_0x482293(0x4c9)]({'unitID':_0x452a59,'redoMutations':_0x243ded,'undoMutations':_0x2f82ce}),!0x0;}},_0x1fda24={'type':_0x3ea15a['CommandType'][_0x132f81(0x3cc)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x14ee02,_0x4b06b3){const _0x2761c3=_0x132f81;if(!_0x4b06b3)return!0x1;const _0x3e4205=_0x14ee02[_0x2761c3(0x3c9)](_0x3ea15a[_0x2761c3(0x47d)]),_0xe48d9d=_0x14ee02[_0x2761c3(0x3c9)](_0x3ea15a[_0x2761c3(0x2a6)]),_0x237aa6=_0x14ee02['get'](_0x53a3b8['SheetsPivotRPCService']),{resetArea:_0x3d7135,pivotTableId:_0x6e3fad,unitId:_0x4a1189,subUnitId:_0x20f3e4}=_0x4b06b3,_0x3b24aa=(await _0x237aa6['getPivotDisplayConfig']({'unitId':_0x4a1189,'subUnitId':_0x20f3e4,'pivotTableId':_0x6e3fad,'params':{'type':_0x2a962f[_0x2761c3(0x3f2)],'resetPivotTable':{'pivotTableId':_0x6e3fad,'resetArea':_0x3d7135}}}))[_0x2761c3(0x3d1)][_0x2761c3(0x23b)];if(!_0x3b24aa)return!0x1;const {changesets:_0x3821b6}=_0x3b24aa,{redos:_0x28f99e,undos:_0x23413d}=_0x2ef402(_0x3e4205,{'pivotTableId':_0x6e3fad,'unitId':_0x4a1189,'subUnitId':_0x20f3e4},_0x3821b6);return _0x3ea15a[_0x2761c3(0x25e)](_0x28f99e,_0x3e4205),_0xe48d9d[_0x2761c3(0x4c9)]({'unitID':_0x4a1189,'redoMutations':_0x28f99e,'undoMutations':_0x23413d}),!0x0;}},_0x55835d={'id':_0x132f81(0x323),'type':_0x3ea15a[_0x132f81(0x397)]['MUTATION'],'handler':(_0x52346c,_0x5a9358)=>{const _0xec0971=_0x132f81;if(!_0x5a9358)return!0x1;if(!!_0x52346c[_0xec0971(0x3c9)](_0x3ea15a[_0xec0971(0x3d9)])[_0xec0971(0x277)](_0x43c6ec))return!0x0;const {unitId:_0x3aabe8,subUnitId:_0x3ed8e7,pivotTableId:_0xec5617,tableFieldId:_0x9c7389,dateType:_0xf33fb5}=_0x5a9358,_0x28b7be=_0x52346c[_0xec0971(0x3c9)](_0x53a3b8[_0xec0971(0x3ee)]),_0x9573c0=_0x28b7be['getPivotTableInstance'](_0xec5617);if(!_0x9573c0)return!0x1;const _0x51e928=_0x9573c0[_0xec0971(0x340)](_0x9c7389);if(!_0x51e928)return!0x1;const _0x9b632a=_0x51e928[_0xec0971(0x237)](),_0x529f3a=_0x9573c0[_0xec0971(0x33a)](_0x9b632a),_0x5ada04=(_0x529f3a==null?void 0x0:_0x529f3a[_0xec0971(0x396)]())+'\x20'+_0x19d621(_0x52346c,_0xf33fb5);_0x28b7be[_0xec0971(0x456)](_0x3aabe8,_0xec5617)[_0xec0971(0x402)](_0x51e928['id'],_0x5ada04);const _0x33ee54=_0x9573c0[_0xec0971(0x442)](_0x9c7389);if(!_0x33ee54)return!0x1;_0x9573c0[_0xec0971(0x29b)](_0x33ee54[_0xec0971(0x226)](),_0x5ada04),_0x51e928['setDateType'](_0xf33fb5);const _0x42b2a=_0x28b7be[_0xec0971(0x3f5)](_0x3aabe8,_0x3ed8e7,_0xec5617);return _0x28b7be['addDirtyPivotTable']({'unitId':_0x3aabe8,'subUnitId':_0x3ed8e7,'token':_0xec5617,'type':_0x4f32a0['Set'],'pivotConfig':_0x42b2a}),!0x0;}},_0x1582e5={'id':_0x132f81(0x30f),'type':_0x3ea15a[_0x132f81(0x397)][_0x132f81(0x3cc)],'handler':(_0x58cfb0,_0x64c4c2)=>{const _0x5ed0a9=_0x132f81;if(!_0x64c4c2)return!0x1;const _0x2da1e1=_0x58cfb0['get'](_0x3ea15a[_0x5ed0a9(0x2a6)]),{unitId:_0x39e68f,subUnitId:_0x1bd49e,pivotTableId:_0x4bb710,tableFieldId:_0x1b004f}=_0x64c4c2,_0x451000=[],_0x131199=[],_0x184019=_0x58cfb0[_0x5ed0a9(0x3c9)](_0x53a3b8['SheetsPivotTableConfigModel']),_0x1eadaa=_0x184019['getCollection'](_0x39e68f,_0x4bb710),_0x372a5c=_0x184019['getPivotTableConfig'](_0x39e68f,_0x1bd49e,_0x4bb710);if(!(_0x372a5c!=null&&_0x372a5c[_0x5ed0a9(0x2c9)][_0x5ed0a9(0x499)]))return!0x1;const _0x2c9eb1=Object[_0x5ed0a9(0x4e1)](_0x372a5c[_0x5ed0a9(0x2c9)][_0x5ed0a9(0x499)])[_0x5ed0a9(0x4f6)](_0x53ba45=>_0x53ba45['id']===_0x1b004f);if(!_0x2c9eb1)return!0x1;const _0x52946c=_0x2c9eb1['dataFieldId'];if(!(_0x1eadaa!=null&&_0x1eadaa['fields']))return!0x1;const _0x2056fd=Object[_0x5ed0a9(0x4e1)](_0x1eadaa==null?void 0x0:_0x1eadaa[_0x5ed0a9(0x430)])[_0x5ed0a9(0x4f6)](_0x422e2c=>_0x422e2c['id']===_0x52946c);if(!_0x2056fd)return!0x1;_0x533a75[_0x5ed0a9(0x4ef)](_0x2056fd)&&_0x451000['push']({'id':_0x55835d['id'],'params':{..._0x64c4c2,'dateType':_0x2056fd[_0x5ed0a9(0x443)]}}),_0x131199[_0x5ed0a9(0x251)]({'id':_0x55835d['id'],'params':{..._0x64c4c2}});const _0x438e10=_0x58cfb0[_0x5ed0a9(0x3c9)](_0x3ea15a[_0x5ed0a9(0x47d)]);return _0x3ea15a['sequenceExecute'](_0x131199,_0x438e10)&&_0x2da1e1[_0x5ed0a9(0x4c9)]({'unitID':_0x39e68f,'undoMutations':_0x451000,'redoMutations':_0x131199}),!0x0;}};var _0x122185=Object['getOwnPropertyDescriptor'],_0x2c0729=(_0x235934,_0x297d54,_0x4dabb8,_0x437178)=>{const _0x1c5ec0=_0x132f81;for(var _0x39ab75=_0x437178>0x1?void 0x0:_0x437178?_0x122185(_0x297d54,_0x4dabb8):_0x297d54,_0x2593e0=_0x235934[_0x1c5ec0(0x23e)]-0x1,_0xaf316b;_0x2593e0>=0x0;_0x2593e0--)(_0xaf316b=_0x235934[_0x2593e0])&&(_0x39ab75=_0xaf316b(_0x39ab75)||_0x39ab75);return _0x39ab75;},_0x22fadb=(_0x21e645,_0x5a7dda)=>(_0x531fbc,_0x5acafa)=>_0x5a7dda(_0x531fbc,_0x5acafa,_0x21e645);const _0x196af2=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x494c39=(_0x69a34,_0xc7f510,_0x3e8649)=>{const _0x1b45af=_0x132f81,_0x1a7eb8=_0x69a34['dataFieldsCollection'];_0x69a34[_0x1b45af(0x2c5)](_0x270491=>{const _0x519da2=_0x1b45af,_0x454ebf=_0x270491[_0x519da2(0x226)](),_0x5488ce=_0x270491[_0x519da2(0x509)](),_0x4bb046=_0x270491[_0x519da2(0x497)](),_0x25d816=_0x270491[_0x519da2(0x207)]();_0xc7f510[_0x5488ce]&&_0xc7f510[_0x5488ce]===_0x25d816&&_0x4bb046===_0x25d816&&(_0x69a34[_0x519da2(0x29b)](_0x454ebf,_0x1a7eb8[_0x519da2(0x207)](_0x5488ce)),_0x270491[_0x519da2(0x25b)](_0x1a7eb8[_0x519da2(0x207)](_0x5488ce)));}),_0x69a34[_0x1b45af(0x316)](_0x533a75[_0x1b45af(0x464)][_0x1b45af(0x32a)],_0x5ace34=>{const _0x31ce6f=_0x1b45af,_0x2d55f7=_0x5ace34[_0x31ce6f(0x226)](),_0x393180=_0x5ace34['getDataFieldId'](),_0x331a4d=_0x5ace34[_0x31ce6f(0x497)](),_0x4799c5=_0x5ace34['getDisplayName'](),_0xf5aa56=_0x5ace34[_0x31ce6f(0x4c6)](),_0x40f99a=_0x3e8649(_0x331a4d,_0xf5aa56);_0xc7f510[_0x393180]&&_0xc7f510[_0x393180]===_0x331a4d&&_0x40f99a===_0x4799c5&&(_0x69a34[_0x31ce6f(0x29b)](_0x2d55f7,_0x3e8649(_0x1a7eb8[_0x31ce6f(0x207)](_0x393180),_0xf5aa56)),_0x5ace34[_0x31ce6f(0x25b)](_0x1a7eb8[_0x31ce6f(0x207)](_0x393180)));});},_0x9f73a1=(_0x139962,_0x1a4359,_0x56c97b)=>{const _0xd90b47=_0x132f81;var _0x221665,_0xbc89b4;const {arrayFormulaCellData:_0x5d6744,unitData:_0x2faea7}=_0x1a4359,{unitId:_0x1b1a0c,subUnitId:_0x4388c4}=_0x56c97b,_0x276133=_0x56c97b[_0xd90b47(0x3ba)],{startColumn:_0x5997ff,endColumn:_0x11b4e5}=_0x276133,_0x1c3e3c=(_0x221665=_0x5d6744==null?void 0x0:_0x5d6744[_0x1b1a0c])==null?void 0x0:_0x221665[_0x4388c4],_0x43c031=(_0xbc89b4=_0x2faea7==null?void 0x0:_0x2faea7[_0x1b1a0c])==null?void 0x0:_0xbc89b4[_0x4388c4],_0x4ee073=new Set(),_0x1ef232=_0x11b4e5-_0x5997ff+0x1,{dirtyRanges:_0xfdeb0}=_0x139962;if(_0xfdeb0)for(const {range:_0x22b4b7,sheetId:_0x1c3e97,unitId:_0xe32ed0}of _0xfdeb0){if(_0x1c3e97!==_0x4388c4||_0x1b1a0c!==_0xe32ed0)continue;const _0x1212b0=_0x3ea15a[_0xd90b47(0x253)][_0xd90b47(0x232)](_0x22b4b7,_0x276133);if(_0x1212b0){const {startColumn:_0x401943,endColumn:_0x1658b4}=_0x1212b0;for(let _0x29deeb=_0x401943;_0x29deeb<=_0x1658b4;_0x29deeb++)_0x4ee073[_0xd90b47(0x258)](_0x29deeb);}}if(_0x4ee073[_0xd90b47(0x3f6)]===_0x1ef232||_0x4ee073[_0xd90b47(0x3f6)]===_0x1ef232)return Array[_0xd90b47(0x3b7)](_0x4ee073);if(_0x43c031){const _0xaa122e=_0x43c031[_0xd90b47(0x483)](),_0x525765=Object[_0xd90b47(0x28e)](_0xaa122e);for(const _0x4885e7 of _0x525765){const _0x172de8=Number(_0x4885e7),_0x534a5a=_0xaa122e[_0x172de8];if(_0x4ee073[_0xd90b47(0x3f6)]===_0x1ef232)break;for(const _0x5b433b in _0x534a5a){const _0xeb65f0=Number(_0x5b433b);_0xeb65f0<_0x5997ff||_0xeb65f0>_0x11b4e5||_0x4ee073[_0xd90b47(0x258)](_0xeb65f0);}}}if(_0x1c3e3c){const _0x3bd74c=_0x1c3e3c[_0xd90b47(0x483)](),_0x38649b=Object[_0xd90b47(0x28e)](_0x3bd74c);for(const _0xe7e514 of _0x38649b){const _0x21ca36=Number(_0xe7e514),_0x7fcc11=_0x3bd74c[_0x21ca36];if(_0x4ee073['size']===_0x1ef232)break;for(const _0x4c7dda in _0x7fcc11){const _0x2cc28f=Number(_0x4c7dda);_0x2cc28f<_0x5997ff||_0x2cc28f>_0x11b4e5||_0x4ee073[_0xd90b47(0x258)](_0x2cc28f);}}}return Array[_0xd90b47(0x3b7)](_0x4ee073);},_0x260da4=_0x48cf04=>{const _0x56b9c6=_0x132f81,_0x51c8ea=new Set(),_0x5730d9=[];for(const _0x386121 of _0x48cf04){const _0x339a8d=_0x386121['startRow']+','+_0x386121['endRow']+','+_0x386121[_0x56b9c6(0x3bd)]+','+_0x386121[_0x56b9c6(0x41a)];_0x51c8ea[_0x56b9c6(0x463)](_0x339a8d)||(_0x51c8ea[_0x56b9c6(0x258)](_0x339a8d),_0x5730d9[_0x56b9c6(0x251)](_0x386121));}return _0x5730d9;};let _0x36d1a3=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x414517,_0x3184e4,_0x42c305,_0x247134,_0x168680,_0x38a02a){const _0x2065ce=_0x132f81;super(),_0x1889e7(this,_0x2065ce(0x4a3),new _0x4e2dec[(_0x2065ce(0x235))](!0x0)),_0x1889e7(this,_0x2065ce(0x3cd),_0x17e918=>{const _0x12faea=_0x2065ce;this[_0x12faea(0x4a3)][_0x12faea(0x4f2)](!0x1);}),_0x1889e7(this,_0x2065ce(0x3dc),_0x11725a=>{const _0x22c480=_0x2065ce;this[_0x22c480(0x4a3)][_0x22c480(0x4f2)](!0x0);}),(this[_0x2065ce(0x365)]=_0x414517,this['_configService']=_0x3184e4,this[_0x2065ce(0x504)]=_0x42c305,this[_0x2065ce(0x4ad)]=_0x247134,this[_0x2065ce(0x307)]=_0x168680,this[_0x2065ce(0x2fb)]=_0x38a02a,this['_init'](),this[_0x2065ce(0x2d5)]());}[_0x132f81(0x4fe)](){const _0x3d021d=_0x132f81;this['_subjectCollectionChange'](),this[_0x3d021d(0x398)](),this[_0x3d021d(0x20e)](),this[_0x3d021d(0x349)]();}['_initGlobalComputed'](){const _0x32ac48=_0x132f81;this['_globalComputingSrv'][_0x32ac48(0x2f5)](this[_0x32ac48(0x4a3)]),_0x533a75[_0x32ac48(0x41e)][_0x32ac48(0x49e)](_0x533a75[_0x32ac48(0x48a)][_0x32ac48(0x37a)],this['_globalComputedStartHelpFunc']),_0x533a75[_0x32ac48(0x41e)][_0x32ac48(0x49e)](_0x533a75['PivotCallbackEnum']['onQueryEnd'],this[_0x32ac48(0x3dc)]);}[_0x132f81(0x2d5)](){const _0x39d03d=_0x132f81;this[_0x39d03d(0x47c)](this[_0x39d03d(0x4ad)][_0x39d03d(0x3ef)](_0x40e8e1=>{const _0x19fd8c=_0x39d03d;_0x40e8e1['id']===_0x12437f[_0x19fd8c(0x327)]['id']&&this[_0x19fd8c(0x365)][_0x19fd8c(0x304)](_0x40e8e1[_0x19fd8c(0x4ee)]);})),this['disposeWithMe'](this[_0x39d03d(0x4ad)]['onCommandExecuted'](_0x198a4d=>{const _0x20942f=_0x39d03d;if(_0x198a4d['id']!==_0x18b87f['id'])return;const _0x11cbdd=_0x198a4d[_0x20942f(0x4ee)],{unitId:_0x20a7b3,subUnitId:_0x484107,pivotTableId:_0x38d839}=_0x11cbdd,_0x4ca6bd=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x44d)],_0x3d07e5={};switch(_0x4ca6bd){case _0x2a962f[_0x20942f(0x3ac)]:{const _0x3e371d=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x3e8)];if(!_0x3e371d)return;const {row:_0x2c1968,col:_0x5bb9ae,cellData:_0x16e034,pivotItemRenderInfoCache:_0x216051,tableFieldId:_0x41eef3}=_0x3e371d,_0x57ec19=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x11cbdd[_0x20942f(0x2ba)]);if(!_0x57ec19||!_0x216051)return;if(_0x41eef3){const _0x797ad8=_0x57ec19[_0x20942f(0x340)](_0x41eef3);if(!_0x797ad8)return;_0x3d07e5['filter']={..._0x57ec19[_0x20942f(0x2e3)](_0x797ad8),'tableFieldId':_0x41eef3,'pivotTableId':_0x11cbdd[_0x20942f(0x2ba)],'filterInfo':_0x57ec19[_0x20942f(0x224)](_0x41eef3),'sortInfo':_0x57ec19[_0x20942f(0x221)](_0x41eef3),'format':_0x57ec19[_0x20942f(0x227)](_0x41eef3)};}else{const _0x5a80bf=_0x524390(_0x2c1968,_0x5bb9ae,_0x16e034,_0x57ec19,_0x216051),_0x25bf66=_0x5a80bf==null?void 0x0:_0x5a80bf[_0x20942f(0x22c)];if(!_0x25bf66)return;const _0x3d4201=_0x57ec19[_0x20942f(0x340)](_0x25bf66);if(!_0x3d4201)return;_0x3d07e5[_0x20942f(0x3e8)]={..._0x57ec19[_0x20942f(0x2e3)](_0x3d4201),'tableFieldId':_0x25bf66,'pivotTableId':_0x11cbdd['pivotTableId'],'filterInfo':_0x57ec19['getFilterInfo'](_0x25bf66),'sortInfo':_0x57ec19['getSortInfo'](_0x25bf66),'format':_0x57ec19['getFieldFormat'](_0x25bf66)};}}break;case _0x2a962f[_0x20942f(0x273)]:{const _0x1c58ac=_0x11cbdd['params'][_0x20942f(0x245)];if(!_0x1c58ac)return;const {pivotTableId:_0x10b92f}=_0x1c58ac,_0x3102fd=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x10b92f);if(!_0x3102fd)return;const _0x44e255=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x10b92f),_0x943a20=_0x22609c(_0x3102fd,_0x10b92f,_0x44e255);_0x3d07e5[_0x20942f(0x245)]=_0x943a20;}break;case _0x2a962f['AddPivotField']:{const _0x419129=this[_0x20942f(0x365)]['getPivotTableInstance'](_0x38d839),_0x3cf8d9=this[_0x20942f(0x365)]['getDataFieldManager'](_0x20a7b3),_0x4b6e32=_0x3cf8d9[_0x20942f(0x456)](_0x38d839);let _0x3fe95f=null;const _0x5498a2=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839),_0x54ed92=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x3de)];if(!_0x419129||!_0x5498a2||!_0x54ed92)return!0x1;const {dataFieldId:_0x130946,fieldArea:_0x1a28c6,index:_0x3be9e0}=_0x54ed92;_0x419129[_0x20942f(0x201)]();const _0x3e27f8=_0x419129[_0x20942f(0x29e)](_0x130946,_0x1a28c6,_0x3be9e0);if(_0x3e27f8&&_0x1a28c6===_0x533a75[_0x20942f(0x464)][_0x20942f(0x32a)]){const _0x4f4228=_0x3e27f8[_0x20942f(0x226)](),_0x52dc57=_0x419129[_0x20942f(0x340)](_0x4f4228);if(_0x52dc57){const _0x5eca34=_0x52dc57==null?void 0x0:_0x52dc57['getFieldDataType']();_0x419129[_0x20942f(0x481)](_0x3e27f8[_0x20942f(0x226)](),_0x5eca34===_0x533a75[_0x20942f(0x4d6)][_0x20942f(0x3a0)]?_0x533a75[_0x20942f(0x3ec)][_0x20942f(0x244)]:_0x533a75[_0x20942f(0x3ec)][_0x20942f(0x503)]);}const _0x3dc311=_0x419129[_0x20942f(0x2aa)](),_0x52e4d1=_0x419129[_0x20942f(0x2d3)](),_0x590013=_0x419129[_0x20942f(0x239)](_0x533a75[_0x20942f(0x464)][_0x20942f(0x32a)]);if(_0x3dc311===-0x1&&_0x590013>0x1){const _0x1bb131=_0x52e4d1===_0x533a75[_0x20942f(0x395)][_0x20942f(0x246)]?_0x533a75[_0x20942f(0x395)][_0x20942f(0x40c)]:_0x52e4d1,_0x1482c5=_0x1bb131===_0x533a75['PivotTableValuePositionEnum'][_0x20942f(0x3bb)]?_0x533a75['PivotTableFiledAreaEnum'][_0x20942f(0x3bb)]:_0x533a75[_0x20942f(0x464)][_0x20942f(0x40c)];_0x419129[_0x20942f(0x290)](_0x1bb131,_0x419129[_0x20942f(0x239)](_0x1482c5));}}else{if(_0x3e27f8&&(_0x1a28c6===_0x533a75['PivotTableFiledAreaEnum']['Row']||_0x1a28c6===_0x533a75[_0x20942f(0x464)]['Column'])){const _0x12e2d4=_0x3e27f8[_0x20942f(0x226)](),_0x356e1c=_0x419129['getDataFieldByTableId'](_0x12e2d4);if(_0x356e1c&&(_0x356e1c==null?void 0x0:_0x356e1c[_0x20942f(0x31c)]())===_0x533a75['PivotDataFieldDataTypeEnum'][_0x20942f(0x36a)]){const _0x54acb=_0x356e1c[_0x20942f(0x33f)]();if(_0x54acb&&_0x419129[_0x20942f(0x2dd)](_0x3e27f8[_0x20942f(0x226)](),_0x54acb),!_0x4b6e32[_0x20942f(0x3e5)]()[_0x20942f(0x3f8)](_0x552b17=>{const _0x1482fb=_0x20942f,_0x3f537a=_0x4b6e32[_0x1482fb(0x4cb)](_0x552b17);return _0x533a75[_0x1482fb(0x4ea)](_0x3f537a)?_0x3f537a[_0x1482fb(0x218)]()['originalFieldId']===_0x130946:!0x1;})){const _0x3726b2=_0x3cf8d9[_0x20942f(0x353)](),_0x1f7782=_0x46d391(_0x356e1c[_0x20942f(0x3fb)],_0x356e1c['minDate']),_0xb83fa2=_0x356e1c['getName']()+'\x20-\x20'+_0x19d621(this[_0x20942f(0x2fb)],_0x1f7782),_0x4e2973=new _0x533a75['DateGroupField'](_0x3726b2,_0xb83fa2,_0x533a75[_0x20942f(0x3e2)](0x3),_0x356e1c[_0x20942f(0x226)](),_0x1f7782);_0x3cf8d9[_0x20942f(0x280)](_0x4e2973),_0x4b6e32[_0x20942f(0x23f)](_0x3726b2,_0xb83fa2),_0x419129[_0x20942f(0x29e)](_0x3726b2,_0x1a28c6,(_0x3be9e0!=null?_0x3be9e0:0x0)+0x1),_0x3fe95f=_0x4e2973;}}}}const _0x579672=_0x419129[_0x20942f(0x2ed)](),_0x442bbd=_0x419129[_0x20942f(0x40a)]()[_0x20942f(0x329)]();let _0x299c38;if(_0x3fe95f){_0x299c38=_0x3fe95f[_0x20942f(0x329)]();const _0x4b11ed=_0x3fe95f[_0x20942f(0x226)]();_0x4b6e32[_0x20942f(0x3b0)](_0x4b11ed);let _0x1d4486=!0x0;for(const _0x4a5fcb in _0x3cf8d9[_0x20942f(0x3c8)])if(_0x3cf8d9['collections'][_0x4a5fcb][_0x20942f(0x3e5)]()[_0x20942f(0x42c)](_0x4b11ed)){_0x1d4486=!0x1;break;}_0x1d4486&&_0x3cf8d9[_0x20942f(0x36d)](_0x4b11ed);}const _0x366654=_0x419129[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x3de)]={'view':_0x442bbd,'changesets':_0x366654,'isEmpty':_0x579672,'pivotTableConfig':_0x5498a2,'shouldBeAddedGroupJSON':_0x299c38};}break;case _0x2a962f[_0x20942f(0x267)]:{const _0x460709=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x4d2)];if(!_0x460709)return;const _0x41a009=_0x460709[_0x20942f(0x2be)],_0x36c3eb=_0x460709[_0x20942f(0x2ba)],{collection:_0x405d45}=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3c2)]({'unitId':_0x41a009[_0x20942f(0x3b5)],'sheetName':_0x41a009[_0x20942f(0x418)],'subUnitId':_0x41a009[_0x20942f(0x2b6)],'range':_0x41a009[_0x20942f(0x3ba)]}),_0x3ce1e7=new _0x533a75[(_0x20942f(0x41e))](_0x405d45,void 0x0,_0x36c3eb),_0x1bbdc5=_0x3ce1e7['query'](),_0xf586b9=_0x3ce1e7[_0x20942f(0x329)](),_0x1ff8e0=_0x405d45[_0x20942f(0x329)]();_0x3d07e5['addPivotTable']={'view':_0x1bbdc5,'fieldsConfig':_0xf586b9,'collectionConfig':_0x1ff8e0,'isEmpty':_0x3ce1e7['isEmpty']()};}break;case _0x2a962f[_0x20942f(0x25f)]:{const _0x580bf3=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x4ae)];if(!_0x580bf3)return;const {fieldId:_0x522000,area:_0x5c9f1a,index:_0xe76ca7}=_0x580bf3,_0x4dfa90=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x4dfa90)return;const _0x3c43e5=this[_0x20942f(0x365)]['getPivotTableInstance'](_0x38d839);if(!_0x3c43e5)return;_0x3c43e5[_0x20942f(0x201)]();const {area:_0x35f6fe,index:_0x478d2e}=_0x3c43e5[_0x20942f(0x39d)](_0x522000);if(_0x3c43e5[_0x20942f(0x47b)](_0x522000,_0x5c9f1a,_0xe76ca7),_0x5c9f1a===_0x533a75['PivotTableFiledAreaEnum']['Value']&&_0x3c43e5['getTableFieldById'](_0x522000)['getSubtotal']()===void 0x0){const _0x20f846=_0x3c43e5['getTableFieldById'](_0x522000);if(_0x20f846&&_0x20f846[_0x20942f(0x4c6)]()===void 0x0){const _0x2093e6=_0x3c43e5['getDataFieldByTableId'](_0x522000);if(_0x2093e6){const _0x500a5a=_0x2093e6==null?void 0x0:_0x2093e6[_0x20942f(0x31c)]();_0x3c43e5['setSubtotalType'](_0x522000,_0x500a5a===_0x533a75[_0x20942f(0x4d6)][_0x20942f(0x3a0)]?_0x533a75[_0x20942f(0x3ec)][_0x20942f(0x244)]:_0x533a75[_0x20942f(0x3ec)][_0x20942f(0x503)]);}}}const _0x5de116=_0x3c43e5[_0x20942f(0x2d3)](),_0x5a1d13=_0x3c43e5[_0x20942f(0x2aa)](),_0x32c2fa=_0x3c43e5[_0x20942f(0x239)](_0x533a75['PivotTableFiledAreaEnum'][_0x20942f(0x32a)])>0x1;if(_0x32c2fa&&_0x35f6fe===_0x5c9f1a&&(_0x5c9f1a===_0x533a75[_0x20942f(0x464)][_0x20942f(0x3bb)]&&_0x5de116===_0x533a75[_0x20942f(0x395)][_0x20942f(0x3bb)]||_0x5c9f1a===_0x533a75[_0x20942f(0x464)][_0x20942f(0x40c)]&&_0x5de116===_0x533a75['PivotTableValuePositionEnum'][_0x20942f(0x40c)])){let _0x49d666=_0x5a1d13;_0x478d2e<=_0x5a1d13&&_0x49d666--,_0xe76ca7<=_0x5a1d13&&_0x49d666++,_0x3c43e5[_0x20942f(0x290)](_0x5de116,_0x49d666);}else _0x32c2fa&&(_0x35f6fe===_0x533a75['PivotTableFiledAreaEnum'][_0x20942f(0x3bb)]&&_0x5de116===_0x533a75[_0x20942f(0x395)][_0x20942f(0x3bb)]||_0x35f6fe===_0x533a75['PivotTableFiledAreaEnum'][_0x20942f(0x40c)]&&_0x5de116===_0x533a75[_0x20942f(0x395)][_0x20942f(0x40c)])&&_0x5a1d13>=_0x478d2e&&_0x3c43e5[_0x20942f(0x290)](_0x5de116,_0x5a1d13-0x1),_0x32c2fa&&(_0x5c9f1a===_0x533a75[_0x20942f(0x464)][_0x20942f(0x3bb)]&&_0x5de116===_0x533a75['PivotTableValuePositionEnum'][_0x20942f(0x3bb)]||_0x5c9f1a===_0x533a75[_0x20942f(0x464)][_0x20942f(0x40c)]&&_0x5de116===_0x533a75[_0x20942f(0x395)][_0x20942f(0x40c)])&&_0x5a1d13>=_0xe76ca7&&_0x3c43e5[_0x20942f(0x290)](_0x5de116,_0x5a1d13+0x1);const _0x16551b=_0x3c43e5[_0x20942f(0x40a)](),_0xdea3e4=_0x3c43e5[_0x20942f(0x2ed)](),_0xe38a5a=_0x3c43e5[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x4ae)]={'view':_0x16551b[_0x20942f(0x329)](),'changesets':_0xe38a5a,'isEmpty':_0xdea3e4,'pivotTableConfig':_0x4dfa90};}break;case _0x2a962f['RemovePivotField']:{const _0x2d7e21=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x22d)];if(!_0x2d7e21)return;const _0x17ec00=_0x2d7e21[_0x20942f(0x2b9)],_0x3eae45=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x3eae45)return!0x1;const _0x3670e6=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839);if(!_0x3670e6)return!0x1;_0x3670e6[_0x20942f(0x201)]();for(const _0x2dc3e0 of _0x17ec00){const {area:_0x41b3c6}=_0x3670e6[_0x20942f(0x39d)](_0x2dc3e0);_0x41b3c6===_0x533a75[_0x20942f(0x464)][_0x20942f(0x32a)]&&_0x3670e6['removeValueFilterInfoByValueFieldId'](_0x2dc3e0),(_0x41b3c6===_0x533a75['PivotTableFiledAreaEnum']['Row']||_0x41b3c6===_0x533a75[_0x20942f(0x464)][_0x20942f(0x40c)])&&_0x3670e6[_0x20942f(0x32c)](_0x2dc3e0),_0x3670e6[_0x20942f(0x378)](_0x2dc3e0);}const _0x5a3413=_0x3670e6['isEmpty'](),_0x1dfd66=_0x3670e6['query']()[_0x20942f(0x329)](),_0x22836b=_0x3670e6[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x22d)]={'changesets':_0x22836b,'pivotTableConfig':_0x3eae45,'isEmpty':_0x5a3413,'view':_0x1dfd66};}break;case _0x2a962f[_0x20942f(0x48e)]:{const _0x166782=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x3fd)];if(!_0x166782)return;const {tableFieldId:_0x3a2988,items:_0x2aacce,isAll:_0x263cf6}=_0x166782,_0x1d2d87=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0x317afa=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x1d2d87||!_0x317afa)return;_0x1d2d87[_0x20942f(0x201)](),_0x1d2d87[_0x20942f(0x4b1)](_0x3a2988,{'type':_0x533a75[_0x20942f(0x4a8)]['ManualFilter'],'list':_0x2aacce,'isAll':_0x263cf6});const _0x5ce8b5=_0x1d2d87['isEmpty'](),_0x2219c2=_0x1d2d87['query']()['toJSON'](),_0x3c9d51=_0x1d2d87[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x3fd)]={'view':_0x2219c2,'changesets':_0x3c9d51,'isEmpty':_0x5ce8b5,'pivotTableConfig':_0x317afa};}break;case _0x2a962f[_0x20942f(0x2c0)]:{const _0x41f585=_0x11cbdd[_0x20942f(0x4ee)]['setValuePivotFilter'];if(!_0x41f585)return;const {tableFieldId:_0x39259d,filterInfo:_0x302b9f}=_0x41f585,_0x1ab4c1=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0x537d50=this[_0x20942f(0x365)]['getPivotTableConfig'](_0x20a7b3,_0x484107,_0x38d839);if(!_0x1ab4c1||!_0x537d50)return;_0x1ab4c1['startCollectChangeset'](),_0x1ab4c1[_0x20942f(0x261)](_0x39259d,_0x302b9f);const _0x36f355=_0x1ab4c1[_0x20942f(0x2ed)](),_0x393ee5=_0x1ab4c1[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x1c0dea=_0x1ab4c1[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x417)]={'view':_0x393ee5,'changesets':_0x1c0dea,'isEmpty':_0x36f355,'pivotTableConfig':_0x537d50};}break;case _0x2a962f[_0x20942f(0x220)]:{const _0x8dabbb=_0x11cbdd['params'][_0x20942f(0x319)];if(!_0x8dabbb)return;const {tableFieldId:_0x5dd6cf,info:_0x250aa5}=_0x8dabbb,_0x4c33f9=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0x3df318=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x4c33f9||!_0x3df318)return;_0x4c33f9[_0x20942f(0x201)](),_0x4c33f9[_0x20942f(0x2cc)](_0x5dd6cf,_0x250aa5);const _0x38b0bd=_0x4c33f9[_0x20942f(0x2ed)](),_0xe1d206=_0x4c33f9[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x5c81fe=_0x4c33f9[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x319)]={'view':_0xe1d206,'changesets':_0x5c81fe,'isEmpty':_0x38b0bd,'pivotTableConfig':_0x3df318};}break;case _0x2a962f[_0x20942f(0x29f)]:{const _0x135018=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x3db)];if(!_0x135018)return;const {tableFieldId:_0x51a999,displayName:_0x77195,subtotalType:_0xb26d83,format:_0x1ac0cd}=_0x135018,_0x100559=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0x588857=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x100559||!_0x588857)return;_0x100559[_0x20942f(0x201)](),_0x77195!==void 0x0&&_0x100559[_0x20942f(0x29b)](_0x51a999,_0x77195),_0xb26d83!==void 0x0&&_0x100559[_0x20942f(0x481)](_0x51a999,_0xb26d83),_0x1ac0cd!==void 0x0&&_0x100559[_0x20942f(0x2dd)](_0x51a999,_0x1ac0cd);const _0x179b84=_0x100559[_0x20942f(0x2ed)](),_0xc806f0=_0x100559[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x3daf42=_0x100559[_0x20942f(0x2db)]();_0x3d07e5['setPivotSetting']={'changesets':_0x3daf42,'pivotTableConfig':_0x588857,'isEmpty':_0x179b84,'view':_0xc806f0};}break;case _0x2a962f[_0x20942f(0x330)]:{const _0x22e464=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x467)];if(!_0x22e464)return;const {dataRangeInfo:_0x150f21,unitId:_0xb000fb,subUnitId:_0x5833be}=_0x22e464,_0x5b7fb5=this[_0x20942f(0x365)]['getPivotTableConfig'](_0xb000fb,_0x5833be,_0x38d839),_0x4d9891=this[_0x20942f(0x365)]['getPivotTableInstance'](_0x38d839);if(!this[_0x20942f(0x365)][_0x20942f(0x456)](_0xb000fb,_0x38d839)||!_0x4d9891||!_0x5b7fb5)return;const _0xb6a9c9=this[_0x20942f(0x365)][_0x20942f(0x34a)](_0xb000fb,_0x38d839,_0x150f21),_0x3b3471=this['_sheetsPivotDataSourceModel'][_0x20942f(0x456)](_0xb000fb,_0x38d839)[_0x20942f(0x329)](),{collection:_0x5904e3}=this[_0x20942f(0x365)][_0x20942f(0x3c2)]({'unitId':_0x150f21[_0x20942f(0x3b5)],'sheetName':_0x150f21[_0x20942f(0x418)],'subUnitId':_0x150f21[_0x20942f(0x2b6)],'range':_0x150f21[_0x20942f(0x3ba)]}),_0x45db45=_0x5904e3[_0x20942f(0x329)]();_0x4d9891[_0x20942f(0x201)]();const _0x5e01ab=this[_0x20942f(0x365)][_0x20942f(0x305)](_0xb000fb)['getAutoDisplayNameFunction']()||_0x533a75[_0x20942f(0x26a)];_0x4d9891[_0x20942f(0x3ce)](_0x3e1df3=>{const _0x2fc279=_0x20942f,_0x31e7e7=_0x3e1df3['getDataFieldId']();if(!_0x5904e3[_0x2fc279(0x4af)](_0x31e7e7)){const _0x2de88f=_0x5904e3[_0x2fc279(0x452)](_0x3e1df3[_0x2fc279(0x497)]());if(_0x2de88f){_0x4d9891[_0x2fc279(0x338)](_0x3e1df3[_0x2fc279(0x226)](),_0x2de88f[_0x2fc279(0x396)](),_0x2de88f['getId']());const {area:_0x20e0db}=_0x4d9891[_0x2fc279(0x39d)](_0x3e1df3[_0x2fc279(0x226)]());let _0x1a30ac=_0x3e1df3['getSourceName']();const _0x586795=_0x3e1df3[_0x2fc279(0x207)]();if(_0x20e0db===_0x533a75['PivotTableFiledAreaEnum'][_0x2fc279(0x32a)]){const _0xcf6b22=_0x3e1df3[_0x2fc279(0x4c6)]();_0x1a30ac=_0x5e01ab(_0x2de88f[_0x2fc279(0x396)](),_0xcf6b22);}_0x586795!==_0x1a30ac&&_0x4d9891[_0x2fc279(0x29b)](_0x3e1df3[_0x2fc279(0x226)](),_0x1a30ac);}else _0x4d9891[_0x2fc279(0x378)](_0x3e1df3[_0x2fc279(0x226)]());}});const _0x1c76fe=_0x4d9891[_0x20942f(0x2ed)](),_0x37e993=_0x4d9891['query']()[_0x20942f(0x329)](),_0x2fc782=_0x4d9891[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x467)]={'view':_0x37e993,'changesets':_0x2fc782,'isEmpty':_0x1c76fe,'pivotTableConfig':_0x5b7fb5,'collectionConfig':_0x45db45,'oldCollectionConfig':_0x3b3471,'deleteIds':_0xb6a9c9};}break;case _0x2a962f[_0x20942f(0x1fd)]:{const _0x536e0c=_0x11cbdd['params'][_0x20942f(0x290)];if(!_0x536e0c)return;const {position:_0x8b4a4a,index:_0x5e8f60}=_0x536e0c,_0x14687e=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x14687e)return!0x1;const _0x5e340f=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3be)](_0x38d839);if(!_0x5e340f)return!0x1;_0x5e340f['startCollectChangeset'](),_0x5e340f[_0x20942f(0x290)](_0x8b4a4a,_0x5e8f60);const _0x27bd05=_0x5e340f[_0x20942f(0x2ed)](),_0x45112c=_0x5e340f[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x403bcb=_0x5e340f['endCollectChangeset']();_0x3d07e5[_0x20942f(0x290)]={'changesets':_0x403bcb,'pivotTableConfig':_0x14687e,'isEmpty':_0x27bd05,'view':_0x45112c};}break;case _0x2a962f[_0x20942f(0x289)]:{const _0x31ec61=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x44b)];if(!_0x31ec61)return;const {tableFieldId:_0x25a167,collapse:_0x2394a5,item:_0x5239de}=_0x31ec61,_0x3f05e7=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0x4c6cdb=this[_0x20942f(0x365)]['getPivotTableConfig'](_0x20a7b3,_0x484107,_0x38d839);if(!_0x3f05e7||!_0x4c6cdb)return;_0x3f05e7[_0x20942f(0x201)](),_0x3f05e7[_0x20942f(0x2f4)](_0x25a167,_0x2394a5,_0x5239de);const _0x1707d5=_0x3f05e7['isEmpty'](),_0x155ca9=_0x3f05e7[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x2bca45=_0x3f05e7[_0x20942f(0x2db)]();_0x3d07e5['setPivotCollapse']={'view':_0x155ca9,'isEmpty':_0x1707d5,'pivotTableConfig':_0x4c6cdb,'changesets':_0x2bca45};}break;case _0x2a962f['SetPivotTableConfig']:{const _0x51a2e7=_0x11cbdd['params'][_0x20942f(0x2f6)];if(!_0x51a2e7)return;const {pivotTableConfig:_0x17791b}=_0x51a2e7,_0x27afe8=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3be)](_0x38d839),_0x33d14d=this['_sheetsPivotDataSourceModel'][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x27afe8||!_0x33d14d)return;_0x27afe8[_0x20942f(0x201)](),_0x39ef37(_0x27afe8,_0x17791b);const _0x5a9b17=_0x27afe8[_0x20942f(0x2ed)](),_0x6590de=_0x27afe8[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x40a0cd=_0x27afe8[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x2f6)]={'view':_0x6590de,'isEmpty':_0x5a9b17,'pivotTableConfig':{..._0x33d14d,'fieldsConfig':_0x27afe8[_0x20942f(0x329)]()},'changesets':_0x40a0cd};}break;case _0x2a962f[_0x20942f(0x3f2)]:{const _0x1b42fb=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x23b)];if(!_0x1b42fb)return;const _0x4950ee=this[_0x20942f(0x365)][_0x20942f(0x3be)](_0x38d839),_0xca9950=this[_0x20942f(0x365)][_0x20942f(0x3f5)](_0x20a7b3,_0x484107,_0x38d839);if(!_0x4950ee||!_0xca9950)return;_0x4950ee['startCollectChangeset'](),_0x2b24dd(_0x4950ee,_0x1b42fb[_0x20942f(0x350)]);const _0x3a04c2=_0x4950ee[_0x20942f(0x40a)]()[_0x20942f(0x329)](),_0x59f2c6=_0x4950ee[_0x20942f(0x2db)]();_0x3d07e5[_0x20942f(0x23b)]={'view':_0x3a04c2,'isEmpty':!0x0,'pivotTableConfig':{..._0xca9950,'fieldsConfig':_0x4950ee[_0x20942f(0x329)]()},'changesets':_0x59f2c6};}break;case _0x2a962f[_0x20942f(0x287)]:{const _0x289dc7=_0x11cbdd[_0x20942f(0x4ee)][_0x20942f(0x38e)];if(!_0x289dc7)return;const _0x255971=_0x289dc7[_0x20942f(0x2be)],_0x523600=_0x289dc7[_0x20942f(0x2ba)],{collection:_0xb38068}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x255971['unitId'],'sheetName':_0x255971[_0x20942f(0x418)],'subUnitId':_0x255971[_0x20942f(0x2b6)],'range':_0x255971[_0x20942f(0x3ba)]}),_0x6bbff1=new _0x533a75[(_0x20942f(0x41e))](_0xb38068,void 0x0,_0x523600),_0x429b93=_0xb38068[_0x20942f(0x3e5)](),{rows:_0x1f3d4c,columns:_0x577a64,filters:_0x31c071,values:_0x47af73}=_0x289dc7[_0x20942f(0x3aa)];_0x6bbff1[_0x20942f(0x201)]();for(const {field:_0x3af947,selectedItems:_0x315e3a}of _0x1f3d4c||[]){const _0x35a023=_0x429b93[_0x3af947];if(_0x35a023){const _0x50fb3b=_0x6bbff1[_0x20942f(0x29e)](_0x35a023,_0x533a75['PivotTableFiledAreaEnum'][_0x20942f(0x3bb)]);_0x315e3a&&_0x50fb3b&&_0x6bbff1['setLabelFilterInfo'](_0x50fb3b['getId'](),{'type':_0x533a75[_0x20942f(0x4a8)][_0x20942f(0x360)],'list':_0x315e3a,'isAll':!0x1});}}for(const {field:_0x165f5b,selectedItems:_0x2667ca}of _0x577a64||[]){const _0x26b76d=_0x429b93[_0x165f5b];if(_0x26b76d){const _0x15ced3=_0x6bbff1[_0x20942f(0x29e)](_0x26b76d,_0x533a75[_0x20942f(0x464)][_0x20942f(0x40c)]);_0x2667ca&&_0x15ced3&&_0x6bbff1[_0x20942f(0x4b1)](_0x15ced3[_0x20942f(0x226)](),{'type':_0x533a75[_0x20942f(0x4a8)][_0x20942f(0x360)],'list':_0x2667ca,'isAll':!0x1});}}for(const {field:_0x1db1c3,selectedItems:_0x9213d8}of _0x31c071||[]){const _0x4519a2=_0x429b93[_0x1db1c3];if(_0x4519a2){const _0x929746=_0x6bbff1[_0x20942f(0x29e)](_0x4519a2,_0x533a75[_0x20942f(0x464)][_0x20942f(0x3ac)]);_0x9213d8&&_0x929746&&_0x6bbff1[_0x20942f(0x4b1)](_0x929746[_0x20942f(0x226)](),{'type':_0x533a75[_0x20942f(0x4a8)]['ManualFilter'],'list':_0x9213d8,'isAll':!0x1});}}for(const {field:_0x1217f7,subTotalType:_0x1827fd,formatString:_0x1262c0}of _0x47af73||[]){const _0x577331=_0xb38068[_0x20942f(0x4cb)](_0x429b93[_0x1217f7]);if(!_0x577331)continue;const _0x1d0ae2=_0x429b93[_0x1217f7];if(_0x1d0ae2){const _0x2b7ca1=_0x6bbff1[_0x20942f(0x29e)](_0x1d0ae2,_0x533a75[_0x20942f(0x464)]['Value']);if(_0x2b7ca1){if(_0x1827fd!==void 0x0){_0x6bbff1[_0x20942f(0x481)](_0x2b7ca1['getId'](),_0x1827fd);const _0x594f40=this[_0x20942f(0x365)][_0x20942f(0x305)](_0x255971[_0x20942f(0x3b5)])[_0x20942f(0x223)]()||_0x533a75[_0x20942f(0x26a)],_0x20bc15=_0xb38068[_0x20942f(0x207)](_0x1d0ae2),_0x2a1c6b=_0x594f40(_0x20bc15,_0x1827fd);_0x6bbff1[_0x20942f(0x29b)](_0x2b7ca1[_0x20942f(0x226)](),_0x2a1c6b);}else{if(_0x577331){const _0x168db5=_0x577331==null?void 0x0:_0x577331[_0x20942f(0x31c)]();_0x6bbff1[_0x20942f(0x481)](_0x2b7ca1[_0x20942f(0x226)](),_0x168db5===_0x533a75[_0x20942f(0x4d6)][_0x20942f(0x3a0)]?_0x533a75[_0x20942f(0x3ec)][_0x20942f(0x244)]:_0x533a75['PivotSubtotalTypeEnum'][_0x20942f(0x503)]);}}_0x1262c0&&_0x6bbff1[_0x20942f(0x2dd)](_0x2b7ca1[_0x20942f(0x226)](),_0x1262c0);}}}const _0x4f4591=_0x6bbff1[_0x20942f(0x40a)](),_0x1ad996=_0x6bbff1[_0x20942f(0x329)](),_0x2c19d1=_0x6bbff1[_0x20942f(0x2ed)](),_0x45b420=_0x6bbff1[_0x20942f(0x2db)](),_0x313b86=_0xb38068[_0x20942f(0x329)]();_0x3d07e5['addPivotTableWithConfig']={'view':_0x4f4591,'fieldsConfig':_0x1ad996,'collectionConfig':_0x313b86,'isEmpty':_0x2c19d1,'changesets':_0x45b420};}break;case _0x2a962f['DrillDown']:{const _0x38e5b4=_0x26152b(this[_0x20942f(0x2fb)],_0x11cbdd);if(!_0x38e5b4)return;const {range:_0x3c7827,sourceSubUnitId:_0x5b6373,sourceUnitId:_0x131d5a,formatMap:_0x3cc588,indexes:_0x41b99b}=_0x38e5b4;_0x3d07e5['drillDown']={'range':_0x3c7827,'sourceSubUnitId':_0x5b6373,'sourceUnitId':_0x131d5a,'formatMap':_0x3cc588,'indexes':_0x41b99b};}break;}this[_0x20942f(0x4ad)][_0x20942f(0x2fa)](_0x139fb5['id'],{'version':_0x11cbdd[_0x20942f(0x474)],'result':_0x3d07e5},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x1cb4a3=_0x132f81;this[_0x1cb4a3(0x47c)](this[_0x1cb4a3(0x4ad)][_0x1cb4a3(0x3ef)](_0x2ae2a5=>{const _0x29c8c2=_0x1cb4a3;if(_0x2ae2a5['id']!==_0x39e130['id'])return;const _0x347b6e=_0x2ae2a5[_0x29c8c2(0x4ee)];return this[_0x29c8c2(0x365)]['setTextInfo'](_0x347b6e[_0x29c8c2(0x2eb)]),!0x0;}));}[_0x132f81(0x3b3)](){const _0x55f2d7=_0x132f81;this[_0x55f2d7(0x365)][_0x55f2d7(0x27e)][_0x55f2d7(0x23c)](_0x49c0a7=>{const _0x1f94a3=_0x55f2d7;switch(_0x49c0a7[_0x1f94a3(0x44d)]){case _0x3d0e5c[_0x1f94a3(0x258)]:_0x49c0a7['dataRangeInfo']&&_0x49c0a7[_0x1f94a3(0x2d7)]&&this[_0x1f94a3(0x229)](_0x49c0a7[_0x1f94a3(0x2fe)],_0x49c0a7[_0x1f94a3(0x4f9)],_0x49c0a7[_0x1f94a3(0x2d7)]);break;case _0x3d0e5c[_0x1f94a3(0x28a)]:{const {unitId:_0x554406,subUnitId:_0x49eb95,token:_0x336282}=_0x49c0a7;_0x554406&&_0x49eb95&&_0x336282&&this['removeSourceRangeChange'](_0x554406,_0x49eb95,_0x336282);}break;case _0x3d0e5c['update']:{const {token:_0x1f20ef,oldSourceRangeInfo:_0x4fa583,dataRangeInfo:_0xe28f84,targetCellInfo:_0x3f023b}=_0x49c0a7,{unitId:_0x4c80a5,subUnitId:_0x1dcb97}=_0x4fa583||{};_0x4c80a5&&_0x1dcb97&&_0x1f20ef&&this['removeSourceRangeChange'](_0x4c80a5,_0x1dcb97,_0x1f20ef),_0xe28f84&&_0x3f023b&&this[_0x1f94a3(0x229)](_0x1f20ef,_0xe28f84,_0x3f023b);}break;}});}[_0x132f81(0x349)](){const _0x3392b7=_0x132f81;this['_sheetsPivotDataSourceModel'][_0x3392b7(0x3a5)][_0x3392b7(0x23c)](_0x445d2b=>{const _0x5ba453=_0x3392b7;Object[_0x5ba453(0x28e)](_0x445d2b)[_0x5ba453(0x473)](_0x14d5b4=>{const _0x18b94c=_0x5ba453,_0x1ec45a=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x14d5b4);if(_0x1ec45a){const _0x21ba39=this['_sheetsPivotDataSourceModel'][_0x18b94c(0x3f5)](_0x1ec45a==null?void 0x0:_0x1ec45a[_0x18b94c(0x3b5)],_0x1ec45a==null?void 0x0:_0x1ec45a[_0x18b94c(0x2b6)],_0x14d5b4);_0x21ba39&&(this['handleSourceRangeChange'](_0x14d5b4,_0x21ba39[_0x18b94c(0x2be)],_0x21ba39['targetCellInfo']),this[_0x18b94c(0x465)]([{'unitId':_0x1ec45a[_0x18b94c(0x3b5)],'subUnitId':_0x1ec45a['subUnitId'],'token':_0x14d5b4}]));}});});}['_subjectViewChange'](){const _0x3aad75=_0x132f81;this['_sheetsPivotDataSourceModel'][_0x3aad75(0x259)][_0x3aad75(0x23c)](_0x20fb6d=>{const _0x5dd533=_0x3aad75,{unitId:_0x1bccdd,subUnitId:_0x1159e6,pivotTableId:_0x3d3513}=_0x20fb6d;_0x1bccdd&&_0x1159e6&&_0x3d3513&&this[_0x5dd533(0x465)]([{'unitId':_0x1bccdd,'subUnitId':_0x1159e6,'token':_0x3d3513}]);});}[_0x132f81(0x465)](_0x55a339){const _0x14cd4b=_0x132f81,_0x483963={};_0x55a339['forEach'](_0x3941c1=>{var _0x34e556,_0x7c93e5;const {unitId:_0x1a2e9f,subUnitId:_0x31497f,token:_0x462661}=_0x3941c1;_0x483963[_0x1a2e9f]=(_0x34e556=_0x483963[_0x1a2e9f])!=null?_0x34e556:{},_0x483963[_0x1a2e9f][_0x31497f]=(_0x7c93e5=_0x483963[_0x1a2e9f][_0x31497f])!=null?_0x7c93e5:{},_0x483963[_0x1a2e9f][_0x31497f][_0x462661]=!0x0;}),this[_0x14cd4b(0x4ad)][_0x14cd4b(0x2fa)](_0x48884a['id'],_0x483963);}[_0x132f81(0x27d)](_0x3f42f4,_0x181ff9,_0x4a7ee3){const _0x3a4ec8=_0x132f81;this['_featureCalculationManagerService'][_0x3a4ec8(0x4a6)](_0x3f42f4,_0x181ff9,[_0x4a7ee3]);}[_0x132f81(0x229)](_0x4c1ba2,_0x4c2bb1,_0x4324aa){const _0x512517=_0x132f81,{unitId:_0xc00442,subUnitId:_0xa6b1df}=_0x4c2bb1;this[_0x512517(0x504)][_0x512517(0x463)](_0x4324aa[_0x512517(0x3b5)],_0x4324aa[_0x512517(0x2b6)],_0x4c1ba2)&&this[_0x512517(0x27d)](_0xc00442,_0xa6b1df,_0x4c1ba2);const _0x77b4f2={'sheetId':_0xa6b1df,..._0x4c2bb1};this['_featureCalculationManagerService'][_0x512517(0x42a)](_0x4324aa[_0x512517(0x3b5)],_0x4324aa['subUnitId'],_0x4c1ba2,{'unitId':_0x4324aa[_0x512517(0x3b5)],'subUnitId':_0x4324aa[_0x512517(0x2b6)],'dependencyRanges':[_0x77b4f2],'getDirtyData':(_0x533c77,_0x3a9538)=>{const _0x2fcf87=_0x512517,_0x731d6b=this['_sheetsPivotDataSourceModel'],_0x5b19f7=_0x731d6b['getTargetByPivotId'](_0x4c1ba2);if(!_0x5b19f7)return _0x196af2();const {unitId:_0x240f47,subUnitId:_0x508779}=_0x5b19f7,_0x3ac76c=_0x9f73a1(_0x533c77,_0x3a9538,_0x4c2bb1);if(_0x3ac76c[_0x2fcf87(0x23e)]>0x0){const _0x5eafd9=_0x731d6b[_0x2fcf87(0x456)](_0xc00442,_0x4c1ba2),_0x4467a1=_0x5eafd9[_0x2fcf87(0x3e5)](),_0x51e14e=this[_0x2fcf87(0x434)](_0x4c2bb1[_0x2fcf87(0x3b5)],_0x4c2bb1[_0x2fcf87(0x2b6)],_0x3a9538),_0x4952e7={},_0x9036a9=this[_0x2fcf87(0x365)]['getDataFieldManager'](_0x240f47)[_0x2fcf87(0x223)]()||_0x533a75[_0x2fcf87(0x26a)],_0x1b0f70=[];for(const _0x48be46 of _0x3ac76c){const _0x4f7fc9=_0x48be46-(_0x4c2bb1[_0x2fcf87(0x3ba)][_0x2fcf87(0x3bd)]||0x0),_0x3d26ed=_0x4467a1[_0x4f7fc9];_0x1b0f70[_0x2fcf87(0x251)](_0x3d26ed),_0x4952e7[_0x3d26ed]=_0x5eafd9['getFieldById'](_0x3d26ed)['getName'](),_0x731d6b['getDataFieldManager'](_0xc00442)[_0x2fcf87(0x214)](_0x3d26ed,_0x4c2bb1,_0x4f7fc9,_0x51e14e);}_0x5eafd9['getGroupFieldsInfoByIds'](_0x1b0f70)['forEach'](_0x38f6bd=>{const _0x5438dd=_0x2fcf87,[_0x2f7311,_0x391791]=_0x38f6bd,_0x4ae825=_0x5eafd9[_0x5438dd(0x4cb)](_0x2f7311),_0x26b682=_0x5eafd9[_0x5438dd(0x4cb)](_0x391791);_0x4ae825&&_0x26b682&&_0x4ae825[_0x5438dd(0x293)](_0x26b682);}),_0x5eafd9[_0x2fcf87(0x291)]();const _0x30474e=_0x731d6b[_0x2fcf87(0x3be)](_0x4c1ba2);if(_0x30474e){_0x494c39(_0x30474e,_0x4952e7,_0x9036a9),_0x30474e[_0x2fcf87(0x313)](!0x0);const _0x534e80=_0x30474e[_0x2fcf87(0x40a)](),_0x1f49d0=_0x731d6b[_0x2fcf87(0x3f5)](_0x240f47,_0x508779,_0x4c1ba2),_0x212357=_0x731d6b[_0x2fcf87(0x305)](_0xc00442)['toJSON']();_0x731d6b[_0x2fcf87(0x36e)](_0x240f47,_0x508779,_0x4f32a0[_0x2fcf87(0x472)],_0x4c1ba2,_0x534e80,_0x1f49d0,_0x212357,!0x0);}}return this['getDirtyInfo'](_0x240f47,_0x508779,_0x4c1ba2);}});}[_0x132f81(0x434)](_0x5a4c81,_0xd4a517,_0x47724c){var _0x128dcc,_0x3ed603;const {arrayFormulaCellData:_0x4eac22,unitData:_0x1aaf2c}=_0x47724c,_0x75adc6=(_0x128dcc=_0x4eac22==null?void 0x0:_0x4eac22[_0x5a4c81])==null?void 0x0:_0x128dcc[_0xd4a517],_0x2e393f=(_0x3ed603=_0x1aaf2c==null?void 0x0:_0x1aaf2c[_0x5a4c81])==null?void 0x0:_0x3ed603[_0xd4a517];return{'arrayFormulaCellDataMatrix':_0x75adc6,'unitDataMatrix':_0x2e393f};}['getDirtyInfo'](_0x4a3f75,_0x354246,_0x4fc0de){const _0x45f316=_0x132f81,_0x37df48=this[_0x45f316(0x365)][_0x45f316(0x216)](_0x4a3f75,_0x354246,_0x4fc0de),_0x2cd135=[],_0x578d5f=new _0x3ea15a[(_0x45f316(0x405))]();if(_0x37df48){const {rangeCache:_0x271e48,matrix:_0x2ab91d,oldRangeCache:_0x2874ed,oldMatrix:_0x169b55}=_0x37df48,_0x28609f=_0x24faff(_0x2874ed),_0x1017cd=_0x24faff(_0x271e48);_0x2cd135['push'](..._0x1017cd,..._0x28609f),_0x169b55&&_0x2874ed&&_0x28609f[_0x45f316(0x473)](_0x93d017=>{const _0x3a5af8=_0x45f316;for(let _0x2193a9=_0x93d017[_0x3a5af8(0x22b)];_0x2193a9<=_0x93d017['endRow'];_0x2193a9++)for(let _0x2b5d6a=_0x93d017[_0x3a5af8(0x3bd)];_0x2b5d6a<=_0x93d017[_0x3a5af8(0x41a)];_0x2b5d6a++)_0x578d5f[_0x3a5af8(0x4a0)](_0x2193a9,_0x2b5d6a);}),_0x2ab91d&&_0x1017cd&&_0x1017cd[_0x45f316(0x473)](_0x3de5a4=>{const _0x44ecab=_0x45f316;for(let _0x411e48=_0x3de5a4[_0x44ecab(0x22b)];_0x411e48<=_0x3de5a4['endRow'];_0x411e48++)for(let _0x2ef3c0=_0x3de5a4['startColumn'];_0x2ef3c0<=_0x3de5a4[_0x44ecab(0x41a)];_0x2ef3c0++)_0x578d5f['setValue'](_0x411e48,_0x2ef3c0,_0x2ab91d[_0x44ecab(0x48f)](_0x411e48,_0x2ef3c0));});}const _0x59da24={};return _0x59da24[_0x4a3f75]={[_0x354246]:_0x260da4(_0x2cd135)},{'runtimeCellData':{[_0x4a3f75]:{[_0x354246]:_0x578d5f}},'dirtyRanges':_0x59da24};}[_0x132f81(0x42e)](){}};_0x36d1a3=_0x2c0729([_0x22fadb(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x3ee)])),_0x22fadb(0x1,_0x3ea15a[_0x132f81(0x3d9)]),_0x22fadb(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x85d200[_0x132f81(0x486)])),_0x22fadb(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x47d)])),_0x22fadb(0x4,_0x3ea15a[_0x132f81(0x2c1)](_0x85d200[_0x132f81(0x302)])),_0x22fadb(0x5,_0x3ea15a['Inject'](_0x3ea15a[_0x132f81(0x21e)]))],_0x36d1a3);var _0x7b13bd=Object[_0x132f81(0x4ac)],_0x5e61cd=(_0x4895f8,_0x59159d,_0x397543,_0x1fc39f)=>{const _0x45d780=_0x132f81;for(var _0x279aa6=_0x1fc39f>0x1?void 0x0:_0x1fc39f?_0x7b13bd(_0x59159d,_0x397543):_0x59159d,_0x469050=_0x4895f8[_0x45d780(0x23e)]-0x1,_0x2f5f3c;_0x469050>=0x0;_0x469050--)(_0x2f5f3c=_0x4895f8[_0x469050])&&(_0x279aa6=_0x2f5f3c(_0x279aa6)||_0x279aa6);return _0x279aa6;},_0x2d748a=(_0x424bec,_0x837fcd)=>(_0x1164f9,_0x44e105)=>_0x837fcd(_0x1164f9,_0x44e105,_0x424bec);let _0x56e485=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x125bde,_0x1e0880,_0x471955,_0x21f0d4){const _0x491a63=_0x132f81;super(),_0x1889e7(this,'disposableCollection',new _0x3ea15a[(_0x491a63(0x242))]()),(this[_0x491a63(0x438)]=_0x125bde,this[_0x491a63(0x413)]=_0x1e0880,this['_sheetsSelectionsService']=_0x471955,this[_0x491a63(0x21b)]=_0x21f0d4,this[_0x491a63(0x3ff)]());}[_0x132f81(0x3ff)](){const _0x14f39e=_0x132f81;this[_0x14f39e(0x47c)](this['_sheetInterceptorService'][_0x14f39e(0x45c)]({'getMutations':_0x4693f7=>{const _0x55a2bc=_0x14f39e;if(_0x4693f7['id']===_0x12437f['ClearSelectionContentCommand']['id']||_0x4693f7['id']===_0x12437f[_0x55a2bc(0x3eb)]['id']){const _0x228609=[],_0x374d9c=[],_0x4ff42a=this['_sheetsSelectionsService']['getCurrentSelections']()['map'](_0x21ab41=>_0x21ab41[_0x55a2bc(0x3ba)]),_0xe84103=_0x12437f[_0x55a2bc(0x2ac)](this['_univerInstanceService']);if(!_0xe84103)return{'redos':[],'undos':[]};const {unitId:_0xd27099,subUnitId:_0x43a171}=_0xe84103,_0x34a6bb={},_0x4584f5=this[_0x55a2bc(0x21b)][_0x55a2bc(0x469)](_0xd27099,_0x43a171);if(_0x4584f5!=null&&_0x4584f5['size'])for(const [_0x2c98fc,_0x315cb5]of _0x4584f5){const {unitId:_0x11b96f,subUnitId:_0x257ba8,row:_0x2a9108,col:_0x12b917}=_0x315cb5[_0x55a2bc(0x2d7)];_0x11b96f===_0xe84103['unitId']&&_0x257ba8===_0xe84103[_0x55a2bc(0x2b6)]&&(_0x34a6bb[_0x2a9108+'-'+_0x12b917]=_0x2c98fc);}return _0x4ff42a&&_0xe84103&&_0x4ff42a[_0x55a2bc(0x473)](_0x4d3e73=>{const _0x46686c=_0x55a2bc;_0x3ea15a[_0x46686c(0x4d9)][_0x46686c(0x26f)](_0x4d3e73,(_0x495bfa,_0x390c62)=>{const _0x37b7b6=_0x46686c,_0x2b271d=_0x495bfa+'-'+_0x390c62;if(_0x34a6bb[_0x2b271d]){const _0x2580cf=_0x34a6bb[_0x2b271d];_0x228609[_0x37b7b6(0x251)]({'id':_0x421b97['id'],'params':{'unitId':_0xd27099,'subUnitId':_0x43a171,'pivotTableId':_0x2580cf}});const _0x847d30=this['_sheetsPivotTableConfigModel'][_0x37b7b6(0x456)](_0xd27099,_0x2580cf),_0xc2c27f=this[_0x37b7b6(0x21b)]['getPivotTableConfig'](_0xd27099,_0x43a171,_0x2580cf);_0x374d9c['push']({'id':_0x161332['id'],'params':{'unitId':_0xd27099,'subUnitId':_0x43a171,'pivotTableId':_0x2580cf,'pivotTableConfig':_0xc2c27f,'collectionConfig':_0x847d30}});}});}),{'redos':_0x228609,'undos':_0x374d9c};}return{'redos':[],'undos':[]};}}));}};_0x56e485=_0x5e61cd([_0x2d748a(0x0,_0x3ea15a[_0x132f81(0x41b)]),_0x2d748a(0x1,_0x3ea15a['Inject'](_0x12437f[_0x132f81(0x21a)])),_0x2d748a(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x12437f['SheetsSelectionsService'])),_0x2d748a(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x240)]))],_0x56e485);var _0x5a2416=Object[_0x132f81(0x4ac)],_0x174dcc=(_0x1e12b9,_0x5da1be,_0x3bc44a,_0xa70422)=>{const _0x4435f6=_0x132f81;for(var _0x4e64f1=_0xa70422>0x1?void 0x0:_0xa70422?_0x5a2416(_0x5da1be,_0x3bc44a):_0x5da1be,_0x51717a=_0x1e12b9[_0x4435f6(0x23e)]-0x1,_0x149451;_0x51717a>=0x0;_0x51717a--)(_0x149451=_0x1e12b9[_0x51717a])&&(_0x4e64f1=_0x149451(_0x4e64f1)||_0x4e64f1);return _0x4e64f1;},_0x5c6c72=(_0x2db0b5,_0x2641e3)=>(_0x5a4398,_0x3130df)=>_0x2641e3(_0x5a4398,_0x3130df,_0x2db0b5);let _0x50589f=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x8c0984,_0x39628e,_0xa93e21,_0x45db0e,_0x146d76,_0x56ceae){const _0x26a2c3=_0x132f81;super(),this[_0x26a2c3(0x28c)]=_0x8c0984,this['_sheetInterceptorService']=_0x39628e,this['_injector']=_0xa93e21,this['_univerInstanceService']=_0x45db0e,this[_0x26a2c3(0x21b)]=_0x146d76,this[_0x26a2c3(0x3fa)]=_0x56ceae,this['_initCommandInterceptListener']();}[_0x132f81(0x3c6)](_0xa822bb,_0x4171d2,_0x164e81){const _0x2704f1=_0x132f81,{pageView:_0x58fc5d,cornerView:_0x5b5c4b,rowView:_0x2c2586,colView:_0x20ea0f,dataView:_0x18ee68}=_0x4171d2,_0x25a0f0=_0xa822bb;let _0x22e891;if(_0x164e81)_0x22e891=[..._0x1fb7e1(_0x25a0f0)];else{const _0x3fa2da=_0x151823(_0x25a0f0,_0x58fc5d,!0x0),_0x47920c=_0x58fc5d[_0x2704f1(0x4c4)]>=0x0?_0x58fc5d[_0x2704f1(0x4c4)]+0x1:0x0,_0x5adfa8=_0x5b5c4b[_0x2704f1(0x230)],_0x1179fa=_0x5b5c4b[_0x2704f1(0x40e)],_0xcd2f82=_0x3fa2da[_0x2704f1(0x23e)]>0x0?_0x143b06:0x0,_0x3b013b=_0x151823({'row':_0x25a0f0[_0x2704f1(0x2bc)]+_0x47920c+_0xcd2f82,'col':_0x25a0f0[_0x2704f1(0x498)]},_0x5b5c4b,!0x1,!0x1),_0x3cbf61=_0x151823({'row':_0x25a0f0['row']+_0x47920c+_0xcd2f82+_0x5adfa8,'col':_0x25a0f0[_0x2704f1(0x498)]},_0x2c2586,!0x1,!0x0),_0xd1ad3b=_0x151823({'row':_0x25a0f0['row']+_0x47920c+_0xcd2f82,'col':_0x25a0f0[_0x2704f1(0x498)]+_0x1179fa},_0x20ea0f,!0x1,!0x0),_0xef4de6=_0x151823({'row':_0x25a0f0[_0x2704f1(0x2bc)]+_0x47920c+_0xcd2f82+_0x5adfa8,'col':_0x25a0f0[_0x2704f1(0x498)]+_0x1179fa},_0x18ee68,!0x1,!0x0);_0x22e891=[..._0x3fa2da,..._0x3b013b,..._0x3cbf61,..._0xd1ad3b,..._0xef4de6];}return _0x22e891;}[_0x132f81(0x265)](){const _0x52abc=_0x132f81;this[_0x52abc(0x47c)](this[_0x52abc(0x3fa)][_0x52abc(0x449)][_0x52abc(0x222)](this['_sheetsPivotTableService'][_0x52abc(0x449)][_0x52abc(0x43f)]()[_0x52abc(0x451)],{'handler':(_0x332cec,_0x2414d0)=>{const _0x18aeb7=_0x52abc,{cellInfo:_0x2d8862,view:_0x4de274,isEmpty:_0x56665a}=_0x2414d0,_0x5e5e52=_0x2d8862,{unitId:_0x2d5022,subUnitId:_0x5189e8}=_0x5e5e52,_0x38929d=this[_0x18aeb7(0x3c6)](_0x2d8862,_0x4de274,_0x56665a),_0x385f3f=this[_0x18aeb7(0x413)][_0x18aeb7(0x281)]({'unitId':_0x2d5022,'subUnitId':_0x5189e8,'ranges':_0x38929d}),_0x157b08=_0x3965ba(this[_0x18aeb7(0x2fb)],_0x2d5022,_0x5189e8,_0x38929d);_0x157b08['shouldClear']&&(_0x385f3f[_0x18aeb7(0x42d)][_0x18aeb7(0x251)](_0x157b08[_0x18aeb7(0x357)]),_0x385f3f[_0x18aeb7(0x367)]['push'](_0x157b08[_0x18aeb7(0x238)]));const _0x59bffa=this[_0x18aeb7(0x385)](_0x4de274,_0x2d8862);return _0x385f3f['redos'][_0x18aeb7(0x251)](..._0x59bffa[_0x18aeb7(0x42d)]),_0x385f3f[_0x18aeb7(0x367)][_0x18aeb7(0x251)](..._0x59bffa[_0x18aeb7(0x367)]),{'redos':_0x385f3f[_0x18aeb7(0x42d)],'undos':_0x385f3f[_0x18aeb7(0x367)]};}}));}[_0x132f81(0x385)](_0x15dd20,_0x159e8b){const _0xdceac8=_0x132f81,{col:_0x1d79d5,unitId:_0x5f5294,subUnitId:_0x36b95c}=_0x159e8b,_0x3ad29c=[],_0x2b0c4f=[],_0x562093=_0x12437f[_0xdceac8(0x2ac)](this[_0xdceac8(0x438)],{'unitId':_0x5f5294,'subUnitId':_0x36b95c});if(!_0x159e8b||!_0x15dd20||!_0x562093)return{'undos':_0x2b0c4f,'redos':_0x3ad29c};const _0x6b2f5b=this['_sheetsPivotTableConfigModel'][_0xdceac8(0x445)](),{colView:_0x3d4248,dataView:_0x1c771d,cornerView:_0x293d93,rowView:_0x540626,formatMap:_0x25b0e9}=_0x15dd20,_0x5ba5ee=_0x4f39f8(_0x3d4248,_0x6b2f5b,!0x0,_0x25b0e9),_0x226a44=_0x4f39f8(_0x540626,_0x6b2f5b,!0x1,_0x25b0e9),_0x298a87=_0x5efb09(_0x1c771d),_0x126b38=_0x3d370b(_0x293d93),{worksheet:_0x4cfd1a}=_0x562093;if(typeof window<'u'&&window[_0xdceac8(0x490)]){const _0x16c940=_0x6d1c80[_0xdceac8(0x363)]({..._0x237ffe[_0xdceac8(0x332)]}),_0x4708cf=_0x6d1c80['FontCache'][_0xdceac8(0x33c)](_0x5ba5ee,_0x16c940)[_0xdceac8(0x48b)]+0x10,_0xa8c64f=_0x6d1c80['FontCache'][_0xdceac8(0x33c)](_0x298a87,_0x16c940)[_0xdceac8(0x48b)],_0x29b84e=Math[_0xdceac8(0x3cb)](Math[_0xdceac8(0x4dd)](_0x4708cf,_0xa8c64f))+0x10,_0x2bdb96=Math['floor'](_0x6d1c80[_0xdceac8(0x203)][_0xdceac8(0x33c)](_0x226a44,_0x16c940)[_0xdceac8(0x48b)]),_0x32b32d=Math[_0xdceac8(0x3cb)](_0x6d1c80['FontCache'][_0xdceac8(0x33c)](_0x126b38,_0x16c940)[_0xdceac8(0x48b)]),_0x3274be=Math[_0xdceac8(0x4dd)](_0x2bdb96,_0x32b32d,0x28)+0xc,_0x3f7f57=_0x3d4248[_0xdceac8(0x40e)]+_0x293d93[_0xdceac8(0x40e)],_0x4225a8={},_0x4b642e={};for(let _0x5cb0f5=_0x1d79d5;_0x5cb0f5<_0x1d79d5+_0x3f7f57;_0x5cb0f5++){const _0xc17988=_0x4cfd1a[_0xdceac8(0x348)](_0x5cb0f5);_0x4225a8[_0x5cb0f5]=_0xc17988,_0x5cb0f5-_0x1d79d5<_0x293d93['colCount']?_0x4b642e[_0x5cb0f5-_0x1d79d5]=_0x3274be:_0x4b642e[_0x5cb0f5-_0x1d79d5]=_0x29b84e;}_0x3ad29c[_0xdceac8(0x251)]({'id':_0x12437f[_0xdceac8(0x404)]['id'],'params':{'subUnitId':_0x36b95c,'unitId':_0x5f5294,'ranges':[{'startColumn':_0x1d79d5,'endColumn':_0x1d79d5+_0x3f7f57-0x1,'startRow':0x0,'endRow':_0x4cfd1a[_0xdceac8(0x30b)]()-0x1}],'colWidth':_0x4b642e}}),_0x2b0c4f['push']({'id':_0x12437f[_0xdceac8(0x404)]['id'],'params':{'subUnitId':_0x36b95c,'unitId':_0x5f5294,'ranges':[{'startColumn':_0x1d79d5,'endColumn':_0x1d79d5+_0x3f7f57-0x1,'startRow':0x0,'endRow':_0x4cfd1a[_0xdceac8(0x30b)]()-0x1}],'colWidth':_0x4225a8}});}return{'undos':_0x2b0c4f,'redos':_0x3ad29c};}};_0x50589f=_0x174dcc([_0x5c6c72(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x4ed)])),_0x5c6c72(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x12437f[_0x132f81(0x21a)])),_0x5c6c72(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0x5c6c72(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x41b)])),_0x5c6c72(0x4,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x240)])),_0x5c6c72(0x5,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8['SheetsPivotTableService']))],_0x50589f);var _0x40977b=Object[_0x132f81(0x4ac)],_0x3982ff=(_0x518590,_0x3c260a,_0x170593,_0x21d0e9)=>{const _0xdd90bb=_0x132f81;for(var _0x4946d6=_0x21d0e9>0x1?void 0x0:_0x21d0e9?_0x40977b(_0x3c260a,_0x170593):_0x3c260a,_0x7751f=_0x518590[_0xdd90bb(0x23e)]-0x1,_0xc9d4c8;_0x7751f>=0x0;_0x7751f--)(_0xc9d4c8=_0x518590[_0x7751f])&&(_0x4946d6=_0xc9d4c8(_0x4946d6)||_0x4946d6);return _0x4946d6;},_0x4b4265=(_0x2e64dd,_0x576697)=>(_0x2ca88a,_0x306aa3)=>_0x576697(_0x2ca88a,_0x306aa3,_0x2e64dd);let _0x5ae841=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x19d0af,_0x4cd869,_0x27d226,_0x1b4623,_0x316f6d,_0x29ebd7,_0x2a7322){const _0x1e415c=_0x132f81;super(),_0x1889e7(this,_0x1e415c(0x3d5),new _0x3ea15a['DisposableCollection']()),(this[_0x1e415c(0x2fb)]=_0x19d0af,this['_refRangeService']=_0x4cd869,this[_0x1e415c(0x4ad)]=_0x27d226,this[_0x1e415c(0x438)]=_0x1b4623,this['_sheetsPivotTableConfigModel']=_0x316f6d,this['_sheetsPivotTableAdaptorModel']=_0x29ebd7,this[_0x1e415c(0x413)]=_0x2a7322,this[_0x1e415c(0x269)]());}[_0x132f81(0x269)](){const _0x434ead=_0x132f81,_0x7f8dfd=(_0x534452,_0x2c78a5)=>{const _0x587165=_0x3af4,_0x183e10=this['_univerInstanceService']['getCurrentUnitForType'](_0x3ea15a[_0x587165(0x2da)][_0x587165(0x38d)]);if(!_0x183e10||!(_0x183e10==null?void 0x0:_0x183e10[_0x587165(0x392)](_0x2c78a5)))return;this[_0x587165(0x3d5)][_0x587165(0x42e)]();const _0x109e6a=_0x464725=>this[_0x587165(0x3ea)](_0x464725,_0x534452,_0x2c78a5),_0x171629=this[_0x587165(0x21b)][_0x587165(0x469)](_0x534452,_0x2c78a5);if(!(_0x171629!=null&&_0x171629[_0x587165(0x3f6)]))return;Array['from'](_0x171629['values']())['map'](_0x3720aa=>{const _0x569541=_0x587165,{row:_0x2c4d04,col:_0x54d830}=_0x3720aa[_0x569541(0x2d7)];return _0x3ea15a[_0x569541(0x336)](_0x2c4d04,_0x54d830);})[_0x587165(0x473)](_0x10e25a=>{const _0x30fac0=_0x587165;this[_0x30fac0(0x3d5)][_0x30fac0(0x258)](this[_0x30fac0(0x4de)][_0x30fac0(0x479)](_0x10e25a,_0x109e6a,_0x534452,_0x2c78a5));});},_0x113644=()=>{const _0x296028=_0x3af4,_0x2b6e3f=this['_univerInstanceService'][_0x296028(0x4d8)](_0x3ea15a[_0x296028(0x2da)]['UNIVER_SHEET']);if(_0x2b6e3f){const _0x49fe32=_0x2b6e3f[_0x296028(0x31f)]();if(!_0x49fe32)return;_0x7f8dfd(_0x2b6e3f['getUnitId'](),_0x49fe32['getSheetId']());}};this['disposeWithMe'](this[_0x434ead(0x4ad)][_0x434ead(0x3ef)](_0x5d5292=>{const _0x185f81=_0x434ead;if(_0x5d5292['id']===_0x12437f[_0x185f81(0x2af)]['id']){const _0x49112a=_0x5d5292[_0x185f81(0x4ee)],_0x30a62d=_0x49112a[_0x185f81(0x2b6)],_0x28f1a0=_0x49112a['unitId'];if(!_0x30a62d||!_0x28f1a0)return;_0x7f8dfd(_0x28f1a0,_0x30a62d);}})),this[_0x434ead(0x47c)](this[_0x434ead(0x21b)]['pivotInitCompleted$'][_0x434ead(0x23c)](_0x1c13fe=>{_0x1c13fe&&_0x113644();})),this[_0x434ead(0x47c)](this[_0x434ead(0x21b)][_0x434ead(0x3d7)][_0x434ead(0x23c)](_0x43326e=>{const _0x19cc34=_0x434ead,_0x52bc13=_0x12437f[_0x19cc34(0x2ac)](this[_0x19cc34(0x438)]);if(!_0x52bc13)return;const {unitId:_0x275b22,subUnitId:_0x1c767a}=_0x52bc13,{unitId:_0xe7543e,subUnitId:_0x449f89}=_0x43326e;_0x275b22!==_0xe7543e||_0x1c767a!==_0x449f89||_0x7f8dfd(_0x275b22,_0x1c767a);})),_0x113644();}[_0x132f81(0x3ea)](_0x12e8ea,_0x19c33f,_0x368ca0){const _0x2a62c9=_0x132f81;switch(_0x12e8ea['id']){case _0x12437f['MoveRangeCommand']['id']:return this['getRefRangeMutationsByMoveRange'](_0x12e8ea[_0x2a62c9(0x4ee)],_0x19c33f,_0x368ca0);}return{'redos':[],'undos':[]};}[_0x132f81(0x2ab)](_0x49731b,_0x2458da,_0x3aecdc){const _0x4779ad=_0x132f81,{fromRange:_0x251ce1,toRange:_0x33a4f2}=_0x49731b,_0x94afa=[],_0xdee1ed=[],_0x90e1b2=_0x12437f['getSheetCommandTarget'](this[_0x4779ad(0x438)]);if(!_0x90e1b2)return{'undos':_0xdee1ed,'redos':_0x94afa};if(_0x2458da!==_0x90e1b2[_0x4779ad(0x3b5)]||_0x3aecdc!==_0x90e1b2['subUnitId'])return{'undos':_0xdee1ed,'redos':_0x94afa};const _0x468c24=this[_0x4779ad(0x21b)]['getSubUnitPivotConfigs'](_0x2458da,_0x3aecdc);if(_0x468c24!=null&&_0x468c24[_0x4779ad(0x3f6)])for(const [_0x1b0cab,_0x53cbc9]of _0x468c24){const {unitId:_0x3a04f2,subUnitId:_0x1ad5d2,row:_0x4f394e,col:_0x5b3bf4}=_0x53cbc9[_0x4779ad(0x2d7)];if(_0x3a04f2===_0x90e1b2['unitId']&&_0x1ad5d2===_0x90e1b2[_0x4779ad(0x2b6)]){const _0x2eb3d6=_0x3ea15a[_0x4779ad(0x336)](_0x4f394e,_0x5b3bf4);if(_0x3ea15a[_0x4779ad(0x253)][_0x4779ad(0x1f1)](_0x2eb3d6,_0x251ce1)){const _0x3ba5a9=_0x4f394e-_0x251ce1[_0x4779ad(0x22b)],_0x8c1bf0=_0x5b3bf4-_0x251ce1[_0x4779ad(0x3bd)],_0x37da60={'row':_0x33a4f2['startRow']+_0x3ba5a9,'col':_0x33a4f2['startColumn']+_0x8c1bf0};_0x94afa[_0x4779ad(0x251)]({'id':_0x5e7247['id'],'params':{'unitId':_0x3a04f2,'subUnitId':_0x1ad5d2,'pivotTableId':_0x1b0cab,'targetCellPosition':_0x37da60}}),_0xdee1ed['push']({'id':_0x5e7247['id'],'params':{'unitId':_0x3a04f2,'subUnitId':_0x1ad5d2,'pivotTableId':_0x1b0cab,'targetCellPosition':{'row':_0x4f394e,'col':_0x5b3bf4}}});const _0x58ade6=_0x37da60[_0x4779ad(0x2bc)]-_0x4f394e,_0x30a3dd=_0x37da60[_0x4779ad(0x498)]-_0x5b3bf4,_0x5dc1ef=[],_0x4f7494=this[_0x4779ad(0x4f7)][_0x4779ad(0x20b)](_0x3a04f2,_0x1ad5d2,_0x1b0cab),_0x5be2c4=_0x4f7494==null?void 0x0:_0x4f7494[_0x4779ad(0x477)];if(_0x5be2c4){Object[_0x4779ad(0x28e)](_0x5be2c4)['forEach'](_0x33fd6d=>{const _0x399871=_0x4779ad;_0x5be2c4[_0x33fd6d][_0x399871(0x473)](_0x3f2546=>{const _0x33a21d=_0x399871,_0x57a397={..._0x3f2546};_0x57a397[_0x33a21d(0x22b)]=_0x3f2546['startRow']+_0x58ade6,_0x57a397[_0x33a21d(0x3f9)]=_0x3f2546[_0x33a21d(0x3f9)]+_0x58ade6,_0x57a397[_0x33a21d(0x3bd)]=_0x3f2546[_0x33a21d(0x3bd)]+_0x30a3dd,_0x57a397['endColumn']=_0x3f2546[_0x33a21d(0x41a)]+_0x30a3dd,_0x5dc1ef[_0x33a21d(0x251)](_0x57a397);});});const _0x2b9b86=this[_0x4779ad(0x413)][_0x4779ad(0x281)]({'unitId':_0x3a04f2,'subUnitId':_0x1ad5d2,'ranges':_0x5dc1ef});_0x94afa[_0x4779ad(0x251)](..._0x2b9b86[_0x4779ad(0x42d)]),_0xdee1ed[_0x4779ad(0x251)](..._0x2b9b86['undos']);const _0x38b5ac=_0x3965ba(this[_0x4779ad(0x2fb)],_0x3a04f2,_0x1ad5d2,_0x5dc1ef);_0x38b5ac[_0x4779ad(0x3d3)]&&(_0x94afa[_0x4779ad(0x251)](_0x38b5ac['setRangeValueRedoMutation']),_0xdee1ed[_0x4779ad(0x251)](_0x38b5ac[_0x4779ad(0x238)]));}}}}return{'redos':_0x94afa,'undos':_0xdee1ed};}};_0x5ae841=_0x3982ff([_0x4b4265(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x21e)])),_0x4b4265(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x12437f[_0x132f81(0x3fc)])),_0x4b4265(0x2,_0x3ea15a[_0x132f81(0x47d)]),_0x4b4265(0x3,_0x3ea15a['IUniverInstanceService']),_0x4b4265(0x4,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8['SheetsPivotTableConfigModel'])),_0x4b4265(0x5,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x1ff)])),_0x4b4265(0x6,_0x3ea15a[_0x132f81(0x2c1)](_0x12437f[_0x132f81(0x21a)]))],_0x5ae841);var _0x3d5fba=Object[_0x132f81(0x4ac)],_0x3e2b97=(_0x256379,_0x568c4d,_0xdecf0b,_0x3c91c4)=>{const _0x3003f7=_0x132f81;for(var _0x271274=_0x3c91c4>0x1?void 0x0:_0x3c91c4?_0x3d5fba(_0x568c4d,_0xdecf0b):_0x568c4d,_0xae0b87=_0x256379[_0x3003f7(0x23e)]-0x1,_0x5257b1;_0xae0b87>=0x0;_0xae0b87--)(_0x5257b1=_0x256379[_0xae0b87])&&(_0x271274=_0x5257b1(_0x271274)||_0x271274);return _0x271274;},_0x14b8d1=(_0xb6b6f,_0x5e9429)=>(_0x418e4a,_0x3a9227)=>_0x5e9429(_0x418e4a,_0x3a9227,_0xb6b6f);let _0x46dd55=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x1782b7,_0x281970){const _0x54c4ea=_0x132f81;super(),this['_sheetInterceptorService']=_0x1782b7,this[_0x54c4ea(0x21b)]=_0x281970,this[_0x54c4ea(0x317)]();}[_0x132f81(0x317)](){const _0x14645a=_0x132f81;this[_0x14645a(0x47c)](this[_0x14645a(0x413)][_0x14645a(0x45c)]({'getMutations':_0x5aa576=>{const _0xd75ee2=_0x14645a;if(_0x5aa576['id']===_0x12437f[_0xd75ee2(0x2df)]['id']){const _0x4ee2c8=[],_0x1a1b72=[],_0x21d003=_0x5aa576['params'],{unitId:_0x2f4c77,subUnitId:_0x3fb176}=_0x21d003;if(!_0x2f4c77||!_0x3fb176)return{'undos':_0x1a1b72,'redos':_0x4ee2c8};const _0x2c04c3=this[_0xd75ee2(0x21b)][_0xd75ee2(0x469)](_0x2f4c77,_0x3fb176);if(_0x2c04c3!=null&&_0x2c04c3[_0xd75ee2(0x3f6)])for(const [_0x45b3b5,_0x23d238]of _0x2c04c3){_0x4ee2c8[_0xd75ee2(0x251)]({'id':_0x421b97['id'],'params':{'unitId':_0x2f4c77,'subUnitId':_0x3fb176,'pivotTableId':_0x45b3b5}});const _0x464caf={...this[_0xd75ee2(0x21b)][_0xd75ee2(0x456)](_0x2f4c77,_0x45b3b5)};_0x1a1b72[_0xd75ee2(0x251)]({'id':_0x161332['id'],'params':{'unitId':_0x2f4c77,'subUnitId':_0x3fb176,'pivotTableId':_0x45b3b5,'pivotTableConfig':_0x23d238,'collectionConfig':_0x464caf}});}return{'redos':_0x4ee2c8,'undos':_0x1a1b72};}return{'redos':[],'undos':[]};}}));}};_0x46dd55=_0x3e2b97([_0x14b8d1(0x0,_0x3ea15a[_0x132f81(0x2c1)](_0x12437f[_0x132f81(0x21a)])),_0x14b8d1(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8['SheetsPivotTableConfigModel']))],_0x46dd55);var _0x25fce2=Object[_0x132f81(0x4ac)],_0x4266cb=(_0x2af606,_0xbad43a,_0x5ea211,_0x43635f)=>{const _0x397819=_0x132f81;for(var _0x2ef452=_0x43635f>0x1?void 0x0:_0x43635f?_0x25fce2(_0xbad43a,_0x5ea211):_0xbad43a,_0x358834=_0x2af606[_0x397819(0x23e)]-0x1,_0x4823e1;_0x358834>=0x0;_0x358834--)(_0x4823e1=_0x2af606[_0x358834])&&(_0x2ef452=_0x4823e1(_0x2ef452)||_0x2ef452);return _0x2ef452;},_0xc3679b=(_0x4d67fd,_0x899e71)=>(_0x40254a,_0x31b641)=>_0x899e71(_0x40254a,_0x31b641,_0x4d67fd);let _0x44bc41=class extends _0x3ea15a[_0x132f81(0x1fb)]{constructor(_0x1d176f,_0x3c4503,_0x4f0bf9,_0x4b7fff,_0x58e9ca,_0x38df6f){const _0x216fa5=_0x132f81;super(),this[_0x216fa5(0x4ad)]=_0x1d176f,this[_0x216fa5(0x379)]=_0x3c4503,this[_0x216fa5(0x4f7)]=_0x4f0bf9,this[_0x216fa5(0x21b)]=_0x4b7fff,this[_0x216fa5(0x438)]=_0x58e9ca,this[_0x216fa5(0x285)]=_0x38df6f,this[_0x216fa5(0x3f0)](),this[_0x216fa5(0x241)]();}[_0x132f81(0x3f0)](){const _0x31cfc9=_0x132f81;this[_0x31cfc9(0x47c)](this['_commandService'][_0x31cfc9(0x3ef)](_0x5b1527=>{const _0x4ec2a0=_0x31cfc9;if(_0x5b1527['id']!==_0x139fb5['id'])return;const _0x156dda=_0x5b1527[_0x4ec2a0(0x4ee)];this[_0x4ec2a0(0x379)][_0x4ec2a0(0x4e8)](_0x156dda);})),this['disposeWithMe'](this['_commandService'][_0x31cfc9(0x3ef)](_0xfe7d57=>{const _0x3b9bf0=_0x31cfc9;if(_0xfe7d57['id']===_0xa52f83['id']){const _0x1b6871=_0xfe7d57[_0x3b9bf0(0x4ee)];if(_0x1b6871){const {unitId:_0x3ad717,subUnitId:_0x118563,oldSubUnitId:_0x2352ed,pivotTableId:_0x107f59,pivotTableConfig:_0xfbd6fa,collectionConfig:_0x516c7e}=_0x1b6871;this[_0x3b9bf0(0x21b)]['updateConfigCache'](_0x3ad717,_0x2352ed,_0x1b6871['pivotTableId'],null),this[_0x3b9bf0(0x21b)][_0x3b9bf0(0x440)](_0x3ad717,_0x118563,_0x107f59,_0xfbd6fa),this[_0x3b9bf0(0x21b)][_0x3b9bf0(0x297)](_0x3ad717,_0x516c7e);}}})),this[_0x31cfc9(0x47c)](this[_0x31cfc9(0x4ad)]['onCommandExecuted'](_0xaf309f=>{const _0x20ff78=_0x31cfc9;if(_0xaf309f['id']!==_0x4675f6['id'])return;const _0x4181f8=_0x12437f['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x4181f8)return;const {unitId:_0x439b39,subUnitId:_0x48d6ae}=_0x4181f8,_0x80af1f=_0xaf309f[_0x20ff78(0x4ee)];if(_0x80af1f[_0x20ff78(0x364)]&&Object[_0x20ff78(0x28e)](_0x80af1f[_0x20ff78(0x364)])[_0x20ff78(0x473)](_0x108d55=>{const _0x4fa859=_0x20ff78;var _0x57751d;(_0x57751d=_0x80af1f[_0x4fa859(0x364)])!=null&&_0x57751d[_0x108d55]&&this[_0x4fa859(0x21b)][_0x4fa859(0x297)](_0x108d55,_0x80af1f[_0x4fa859(0x364)][_0x108d55]);}),_0x80af1f[_0x20ff78(0x20d)]){const _0x398ffb=_0x80af1f['single'],{unitId:_0x51bbf8,subUnitId:_0x286672,view:_0x348326,pivotTableId:_0x333754,type:_0x51c373,pivotConfig:_0x43820f}=_0x398ffb;if(_0x51c373===_0x4f32a0[_0x20ff78(0x2f8)])this[_0x20ff78(0x4f7)][_0x20ff78(0x3a9)]({'unitId':_0x51bbf8,'subUnitId':_0x286672,'pivotTableId':_0x333754,'type':_0x51c373}),this[_0x20ff78(0x21b)][_0x20ff78(0x440)](_0x51bbf8,_0x286672,_0x333754,null);else{const _0x516ef8=new _0x533a75['PivotView']();_0x516ef8['formJSON'](_0x348326),this[_0x20ff78(0x21b)]['updateConfigCache'](_0x51bbf8,_0x286672,_0x333754,_0x43820f),this[_0x20ff78(0x4f7)][_0x20ff78(0x3a9)]({'unitId':_0x51bbf8,'subUnitId':_0x286672,'pivotTableId':_0x333754,'type':_0x51c373,'view':_0x516ef8}),this[_0x20ff78(0x4f7)]['updateRenderCache']({'unitId':_0x51bbf8,'subUnitId':_0x286672,'view':_0x516ef8,'pivotTableId':_0x333754,'type':_0x51c373});}}else _0x80af1f[_0x20ff78(0x26b)]&&(_0x80af1f[_0x20ff78(0x26b)][_0x20ff78(0x473)](_0xb90e30=>{const _0x1df3c0=_0x20ff78,{unitId:_0x1696d0,subUnitId:_0x3ce61b,view:_0x43432a,pivotTableId:_0x4ac8fd,type:_0x3ecdcc,pivotConfig:_0x2c7ab2}=_0xb90e30,_0x3bdf04=new _0x533a75[(_0x1df3c0(0x335))]();_0x3bdf04['formJSON'](_0x43432a),this[_0x1df3c0(0x21b)][_0x1df3c0(0x440)](_0x1696d0,_0x3ce61b,_0x4ac8fd,_0x2c7ab2),this[_0x1df3c0(0x4f7)][_0x1df3c0(0x250)]({'unitId':_0x1696d0,'subUnitId':_0x3ce61b,'view':_0x3bdf04,'pivotTableId':_0x4ac8fd,'type':_0x3ecdcc});}),this[_0x20ff78(0x21b)][_0x20ff78(0x468)]());this[_0x20ff78(0x4f7)][_0x20ff78(0x347)](_0x439b39,_0x48d6ae);}));}[_0x132f81(0x241)](){const _0x480469=_0x132f81;this['_activeDirtyManagerService'][_0x480469(0x42a)](_0x48884a['id'],{'commandId':_0x48884a['id'],'getDirtyData'(_0x2d3206){const _0x121fe5=_0x480469;return{'dirtyUnitFeatureMap':_0x2d3206[_0x121fe5(0x4ee)]};}});}};_0x44bc41=_0x4266cb([_0xc3679b(0x0,_0x3ea15a['Inject'](_0x3ea15a[_0x132f81(0x47d)])),_0xc3679b(0x1,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8['SheetsPivotRPCService'])),_0xc3679b(0x2,_0x3ea15a['Inject'](_0x53a3b8['SheetsPivotTableAdaptorModel'])),_0xc3679b(0x3,_0x3ea15a[_0x132f81(0x2c1)](_0x53a3b8[_0x132f81(0x240)])),_0xc3679b(0x4,_0x3ea15a['Inject'](_0x3ea15a[_0x132f81(0x41b)])),_0xc3679b(0x5,_0x85d200[_0x132f81(0x4ec)])],_0x44bc41);var _0x169682=Object[_0x132f81(0x4e0)],_0x4f0797=Object['getOwnPropertyDescriptor'],_0x5de294=(_0x237b0c,_0x256fcb,_0x1cca12)=>_0x256fcb in _0x237b0c?_0x169682(_0x237b0c,_0x256fcb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cca12}):_0x237b0c[_0x256fcb]=_0x1cca12,_0x472b8f=(_0x252799,_0x20ce54,_0x2a8c32,_0x1d2669)=>{const _0x197149=_0x132f81;for(var _0x16ec04=_0x1d2669>0x1?void 0x0:_0x1d2669?_0x4f0797(_0x20ce54,_0x2a8c32):_0x20ce54,_0x3d3f83=_0x252799[_0x197149(0x23e)]-0x1,_0x29c5b0;_0x3d3f83>=0x0;_0x3d3f83--)(_0x29c5b0=_0x252799[_0x3d3f83])&&(_0x16ec04=_0x29c5b0(_0x16ec04)||_0x16ec04);return _0x16ec04;},_0x807494=(_0x2d9fbe,_0x4074f1)=>(_0x1598b4,_0x30108f)=>_0x4074f1(_0x1598b4,_0x30108f,_0x2d9fbe),_0xb2575=(_0x15e345,_0xe1e07d,_0x46f252)=>_0x5de294(_0x15e345,typeof _0xe1e07d!=_0x132f81(0x3e7)?_0xe1e07d+'':_0xe1e07d,_0x46f252);_0x53a3b8[_0x132f81(0x25a)]=class extends _0x3ea15a[_0x132f81(0x32e)]{constructor(_0x8ba864=_0x550ed6,_0x3b03d9,_0x4c337c,_0xc76dfa,_0x3beacb){const _0x1f32db=_0x132f81;super(),this['_config']=_0x8ba864,this[_0x1f32db(0x2fb)]=_0x3b03d9,this['_commandService']=_0x4c337c,this[_0x1f32db(0x3d6)]=_0xc76dfa,this[_0x1f32db(0x346)]=_0x3beacb;const {..._0x11f16c}=_0x3ea15a[_0x1f32db(0x4dc)]({},_0x550ed6,this[_0x1f32db(0x2f9)]);this[_0x1f32db(0x3d6)][_0x1f32db(0x2e8)](_0x596a9c,_0x11f16c),this[_0x1f32db(0x4d4)](),this[_0x1f32db(0x431)]();}[_0x132f81(0x431)](){const _0x4f0cb0=_0x132f81;var _0x2658e5;const _0x22349e=(_0x2658e5=this[_0x4f0cb0(0x2f9)])==null?void 0x0:_0x2658e5['notExecuteFormula'];this[_0x4f0cb0(0x3d6)][_0x4f0cb0(0x2e8)](_0x43c6ec,_0x22349e===!0x0);}[_0x132f81(0x4e4)](){const _0x451d4f=_0x132f81;var _0xd503bc;let _0x15320b=[];const _0x159dbb=(_0xd503bc=this[_0x451d4f(0x2f9)])==null?void 0x0:_0xd503bc[_0x451d4f(0x4e9)];_0x159dbb===!0x0?_0x15320b=[[_0x53a3b8['SheetsPivotTableService']],[_0x53a3b8['SheetsPivotRPCService']],[_0x44bc41],[_0x53a3b8['SheetsPivotTableAdaptorModel']],[_0x53a3b8[_0x451d4f(0x240)]],[_0x46dd55],[_0x56e485],[_0x5ae841],[_0x50589f]]:_0x159dbb===!0x1?_0x15320b=[[_0x53a3b8[_0x451d4f(0x3ee)]],[_0x36d1a3]]:_0x159dbb===void 0x0&&(_0x15320b=[[_0x53a3b8['SheetsPivotDataSourceModel']],[_0x36d1a3],[_0x53a3b8[_0x451d4f(0x24f)]],[_0x53a3b8['SheetsPivotRPCService']],[_0x44bc41],[_0x53a3b8[_0x451d4f(0x1ff)]],[_0x53a3b8[_0x451d4f(0x240)]],[_0x46dd55],[_0x56e485],[_0x5ae841],[_0x50589f]]),_0x15320b['forEach'](_0x3a755f=>this[_0x451d4f(0x2fb)][_0x451d4f(0x258)](_0x3a755f)),[_0x36d1a3,_0x44bc41,_0x53a3b8['SheetsPivotTableService'],_0x56e485,_0x46dd55,_0x5ae841,_0x50589f][_0x451d4f(0x473)](_0x413ae7=>{const _0x233eb5=_0x451d4f;this[_0x233eb5(0x2fb)][_0x233eb5(0x463)](_0x413ae7)&&this[_0x233eb5(0x2fb)][_0x233eb5(0x3c9)](_0x413ae7);});}['_initRegisterCommand'](){[_0x105bed,_0x38150a,_0x3fdc80,_0x46748f,_0x1826c7,_0x17adfb,_0x1582e5,_0x102264,_0x27bf63,_0x16f3ee,_0x184753,_0x47b5eb,_0x463aa8,_0x199763,_0x161332,_0x55835d,_0x421b97,_0x48eafa,_0xf61676,_0x1fa369,_0x4ba36f,_0x2fc811,_0x239f50,_0x58e15e,_0x552f32,_0xfb05e9,_0x5e7247,_0x18b87f,_0x139fb5,_0x4675f6,_0x25a109,_0x3d6be8,_0xcf03c9,_0x1816f9,_0x39e130,_0x29c870,_0x177e73,_0x48884a,_0xa52f83,_0x27ca06,_0x451236,_0x87929b,_0x1fda24]['forEach'](_0xd20538=>{const _0xe9db76=_0x3af4;var _0x1037bd;(_0x1037bd=this['_dataSyncPrimaryController'])==null||_0x1037bd[_0xe9db76(0x2b8)](_0xd20538),this[_0xe9db76(0x4ad)][_0xe9db76(0x422)](_0xd20538);});}},_0xb2575(_0x53a3b8[_0x132f81(0x25a)],_0x132f81(0x2a3),_0x3dbe5d),_0xb2575(_0x53a3b8[_0x132f81(0x25a)],_0x132f81(0x44d),_0x3ea15a[_0x132f81(0x2da)][_0x132f81(0x38d)]),_0x53a3b8['UniverSheetsPivotTablePlugin']=_0x472b8f([_0x3ea15a[_0x132f81(0x326)](_0x3e669d['UniverLicensePlugin']),_0x807494(0x1,_0x3ea15a['Inject'](_0x3ea15a[_0x132f81(0x21e)])),_0x807494(0x2,_0x3ea15a[_0x132f81(0x2c1)](_0x3ea15a[_0x132f81(0x47d)])),_0x807494(0x3,_0x3ea15a['IConfigService']),_0x807494(0x4,_0x3ea15a[_0x132f81(0x46b)](_0x194b1a['DataSyncPrimaryController']))],_0x53a3b8[_0x132f81(0x25a)]),_0x53a3b8[_0x132f81(0x328)]=_0x3fdc80,_0x53a3b8[_0x132f81(0x1f9)]=_0x48eafa,_0x53a3b8[_0x132f81(0x4ab)]=_0x38150a,_0x53a3b8[_0x132f81(0x2f1)]=_0x161332,_0x53a3b8['AddPivotTableWithConfigCommand']=_0x105bed,_0x53a3b8['BLANK_ROW_COUNT']=_0x143b06,_0x53a3b8[_0x132f81(0x491)]=_0x42b087,_0x53a3b8[_0x132f81(0x373)]=_0x46748f,_0x53a3b8['MovePivotTableCommand']=_0x463aa8,_0x53a3b8['PivotDisplayDataType']=_0x2a962f,_0x53a3b8['PivotDrillDownCommand']=_0x199763,_0x53a3b8[_0x132f81(0x3c1)]=_0x4f32a0,_0x53a3b8[_0x132f81(0x4ba)]=_0x48884a,_0x53a3b8['PositionType']=_0xa83d7d,_0x53a3b8['RemovePivotFieldCommand']=_0x1826c7,_0x53a3b8['RemovePivotFieldMutation']=_0x2fc811,_0x53a3b8[_0x132f81(0x4c2)]=_0x421b97,_0x53a3b8['RenamePivotFieldMutation']=_0x239f50,_0x53a3b8[_0x132f81(0x236)]=_0x1fda24,_0x53a3b8[_0x132f81(0x4bd)]=_0x596a9c,_0x53a3b8[_0x132f81(0x3d4)]=_0x3dbe5d,_0x53a3b8[_0x132f81(0x2d9)]=_0x102264,_0x53a3b8['SetPivotCollapseMutation']=_0x58e15e,_0x53a3b8[_0x132f81(0x208)]=_0x1816f9,_0x53a3b8[_0x132f81(0x28f)]=_0x87929b,_0x53a3b8[_0x132f81(0x41c)]=_0x16f3ee,_0x53a3b8['SetPivotFilterMutation']=_0x4ba36f,_0x53a3b8[_0x132f81(0x4df)]=_0xfb05e9,_0x53a3b8['SetPivotPositionMutation']=_0x5e7247,_0x53a3b8[_0x132f81(0x24e)]=_0x27bf63,_0x53a3b8[_0x132f81(0x2ee)]=_0x552f32,_0x53a3b8[_0x132f81(0x436)]=_0xcf03c9,_0x53a3b8['SetPivotValueFilterCommand']=_0x27ca06,_0x53a3b8[_0x132f81(0x406)]=_0x451236,_0x53a3b8[_0x132f81(0x47e)]=_0x1582e5,_0x53a3b8[_0x132f81(0x39b)]=_0x25a109,_0x53a3b8[_0x132f81(0x2ce)]=_0x184753,_0x53a3b8[_0x132f81(0x301)]=_0x177e73,_0x53a3b8[_0x132f81(0x2a4)]=_0x47b5eb,_0x53a3b8[_0x132f81(0x231)]=_0x29c870,_0x53a3b8['UpdatePivotValuePositionCommand']=_0x17adfb,_0x53a3b8[_0x132f81(0x448)]=_0x3d6be8,_0x53a3b8['applyChangeSet']=_0x2ef402,_0x53a3b8[_0x132f81(0x24a)]=_0x54bba4,_0x53a3b8[_0x132f81(0x30a)]=_0x237ffe,_0x53a3b8[_0x132f81(0x423)]=_0x3965ba,_0x53a3b8[_0x132f81(0x420)]=_0x151823,_0x53a3b8['getEmptyPivotRanges']=_0x1fb7e1,_0x53a3b8[_0x132f81(0x228)]=_0xdb360c,_0x53a3b8['getInsertRowColMutations']=_0x2235e0,_0x53a3b8[_0x132f81(0x415)]=_0x524390,_0x53a3b8[_0x132f81(0x2bf)]=_0x1dd753,_0x53a3b8[_0x132f81(0x2ef)]=_0x22609c,_0x53a3b8['transFromCellValue']=_0x40b827,_0x53a3b8[_0x132f81(0x41d)]=_0x24faff,Object['defineProperty'](_0x53a3b8,Symbol[_0x132f81(0x50d)],{'value':_0x132f81(0x2ff)});}));
1
+ function _0x1629(_0x504ffa,_0x5c797f){const _0x2e7b7b=_0x2e7b();return _0x1629=function(_0x16297e,_0x5bfca2){_0x16297e=_0x16297e-0x195;let _0x251971=_0x2e7b7b[_0x16297e];return _0x251971;},_0x1629(_0x504ffa,_0x5c797f);}function _0x2e7b(){const _0x2ea9e9=['InsertSheetUndoMutationFactory','getValuePosition','valid','originalFieldId','sheets-pivot.countNumsName','set','SetPivotSubtotalTypeMutation','UpdatePivotFieldSourceInfoMutation','YearMonth','grandTotal','textInfo','sheet.command.move-pivot-table','Style','PivotSubtotalTypeEnum','updatePivotTableRangeInfo','updatePivotSource','_exclusiveRangeService','MovePivotFieldCommand','addFieldWithSourceId','rowInfo','_generateUniqueVersion','sheet.command.add-pivot-field','_resourceManagerService','UpdateValuePosition','refreshDataField','valueFilter','getFieldDataType','panel','iterateFieldByArea','SHEET_PIVOT_TABLE_PLUGIN','symbol','_viewUpdate$','InterceptorEffectEnum','getFieldInfo','colCount','applyChangeSet','sheets-pivot.dateGroup.hourMinute','rangeType','sheets-pivot.cellDateGroupDisplay.minute','pivotConfigChange$','ManualFilter','ObjectMatrix','average','rgb(255,255,255)','query','disposeWithMe','_model','getFullYear','_textInfo','mergeWorksheetSnapshotWithDefault','reduce','columnFields','#e6ebfb','sheets-pivot.columnName','getOriginFieldId','registerCallbackWithEvent','BehaviorSubject','executeCommand','refreshData','getPivotDisplayConfig','deepClone','slice','SetPivotFilterCommand','formJSON','Filter','PivotTableViewDirtyMarkOperation','_sheetsPivotTableAdaptorModel','_initUnitDisposed','_initViewModelBySheetInterceptor','removeValueFilterInfo','shouldClear','SetPivotValueFilterCommand','addField','SetPivotCollapseMutation','@univerjs/core','getColumnCount','setFieldFormat','prototype','dimension','RemovePivotField','collectionChange$','Grand\x20Total','AddPivotTableCommand','movePivotField','#1d32e9','tuple','toStringTag','find','sheets-pivot.cellDateGroupDisplay.hour','getUnitId','SetPivotFieldsConfigCommand','limit\x20pivot','_toJSON','replace','toJSON','colRanges','startRow','document','generateNewSheetName','PivotCallbackEnum','prefix','return\x20','sheet.command.set-pivot-fields-config','cellValue','AddPivotTableMutation','Delete','Count\x20of\x20','getColumnWidth','sheet.mutation.set-pivot-filter','SetPivotCollapse','getPivotTableIdByCell','defaultThemeStyle','SetPivotSort','isValue','sheet.mutation.update-date-group','PivotDisplayDataType','getSubUnitPivotConfigs','sheets-pivot.grandTotal','SheetInterceptorService','broadcastCollectionChange','startCollectChangeset','createDataFieldId','CustomCommandExecutionError','FontCache','push','@univerjs/engine-render','@univerjs-pro/license','sheets-pivot.dateGroup.minute','sheet.mutation.update-pivot-table-source-range','_sheetsPivotRpcService','sheet.command.reset-pivot-fields-config','_ensurePivotMap','AddPivotTable','countNums','updatePivotTableMatrixInfo','removePivotField','updateView','bind','row','_config','DateGroupField','None','sheets-pivot.dateGroup.month','MAX_SAFE_INTEGER','numberToABC','width','valueIndex','Row','workbook\x20is\x20not\x20found','AddPivotFieldMutation','DEFAULT_WORKSHEET_COLUMN_COUNT','setPivotSetting','pivotInitCompleted$','getIntersectsPivotTable','generateHexNumber','InterceptorManager','single','getFieldPositionInfoById','_collectionConfigModel','_sheetsPivotDataSourceModel','getFieldCountByArea','filterFields','getSubUnitPivotRenderCache','isFeatureAuthorizedWithinTime','SheetsSelectionsService','custom','sheets-pivot.dateGroup.quarter','Subtotal','endRow','sourceName','getUnit','getDisplayName','AddPivotField','floor','tableFieldId','InsertSheetCommand','Hour','getFilterFieldIdByIndex','getSubtotal','getSourceName','sheets-pivot.cellDateGroupDisplay.yearQuarter','updateFieldSourceInfo','getPivotTableConfig','sheet.mutation.set-pivot-field-subtotal-type','setRangeValueUndoMutation','sheets.tabs.sheet','RemoveColMutation','sheet.mutation.set-pivot-format','body','undos','removeCollections','7VUhhhp','sheets-pivot.sumName','#eceeff','addPivotTable','getActiveSheet','sheets-pivot.value','subUnitId','generateRandomId','unshift','57wdulcC','from','sheetName','handleAsyncResponse','clearRenderCache','splice','minDate','getOwnPropertyDescriptor','getCellMatrix','maxDate','PivotMultipleValueId','_activeDirtyManagerService','PivotView','CellValueType','getCollection','getFieldById','SheetsPivotDataSourceModel','pivotPerformCheck','setValuePivotFilter','sheets-pivot.dateGroup.yearQuarter','DrillDown','col','SetValuePivotFilter','RenamePivotFieldMutation','sheet.mutation.pivot-update-field-position','getDirtyInfo','getValueFilterInfos','_featureCalculationManagerService','_sheetsPivotTableConfigModel','setPivotFilter','intercept','Var\x20of\x20','_getPivotAppliedRanges','defineProperty','getPivotDirtyViewInfo','sheet.command.add-pivot-table','subscribe','getMatrixFromRunTimeData','UpdatePivotSource','HourMinute','#FFFFFF','sortInfo','onQueryStart','rxjs','uniqueDataFieldName','function','UpdatePivotTableSourceRangeMutation','CommandType','_univerInstanceService','updateDirtyPivotTable','generateMutationsByRanges','getAutoDisplayNameFunction','sequenceExecute','_onRefRangeChange','getTextInfo','getTextSize','setRangeKeyMap','colInfo','PivotTableFiledAreaEnum','getTypeOfUnitDisposed$','_initRegisterCommand','1521592ywSLpC','refreshGroupField','UniverProLicense','sheet.mutation.get-pivot-data-local','#f4f4f5','UniverLicensePlugin','Value','_initPivotTextInfo','column','_initSnapshot','RANGE_TYPE','unshiftString','headerMap','notExecuteFormula','SheetsPivotTableService','setSubtotalType','STRING','intersects','getRangeKey','UpdateValuePositionMutation','sheets-pivot.config','fields','setOptions','RemoveSheetCommand','sheets-pivot.dateGroup.monthDate','_deletePivotTableInstanceCache','RefRangeService','getSheetBySheetId','sheets-pivot.stdDevName','getInterceptPoints','range','filter','sheets-pivot.emptyPivot.column','sheet.command.add-pivot-table-with-config','Div0','updateRenderCache','disposableCollection','@univerjs/sheets','_subjectViewChange','PIVOT_MUTATION_GENERATE','SetPivotFilter','SetSortInfo','substring','getIntersects','asyncInterceptor','interceptor','_ensureViewDataMap','PivotErrorTypeEnum','getSheetCommandTarget','removeSourceRangeChange','isBottomTotal','updateAllDisplayName','@univerjs/rpc','dataStyle','string','Quarter','UniverProEnginePivot','Column','UniverRpc','rowFields','LS_CONFIG_KEY','isEmpty','setConfig','setValueFilterInfo','serializeRangeWithSpreadsheet','UniverSheetsPivotTablePlugin','pbt','removePivotTable','setPivotTable','SHEET_PIVOT_IN_MAIN_THREAD','UniverCore','sheets-pivot.cellDateGroupDisplay.month','getIndexesByPathStr','GrandTotal','_sheetsPivotTableService','_ensurePivotTableMatrixInfo','UpdatePivotValuePositionCommand','_pivotRenderValueMatrixCache','Subject','paths','MovePivotField','isText','SetSubtotalType','sheet.command.set-pivot-value-filter','_sheetInterceptorService','forValue','IUniverInstanceService','ResetPivotFieldsConfigCommand','PivotDrillDownCommand','getPivotTableCellData','asObservable','dispose','pushComputingStatusSubject','SetRangeValuesMutation','SetFilterInfo','getCellRaw','params','register','resetArea','sheets-pivot.productName','toString','getHeaderMapItem','SetWorksheetColWidthMutation','fontRenderExtension','MonthDate','update','renameField','setTextInfo','stringify','1193828eeShdt','cellToRange','_initLocale','getDataFieldItemInfo','(Blank)','Injector','next','registerPluginResource','InsertSheetMutation','UniverInstanceType','sheet.mutation.set-pivot-collapse','measure','_initPivotDataGetListener','InsertRowMutation','YearQuarter','fromJSON','_pivotTableInstanceCache','Average\x20of\x20','Year','PivotFilterTypeEnum','markDirty$','redos','\x20-\x20','getEmptyPivotRanges','setDateType','@univerjs/engine-formula','rowCount','createCollectionWithDataRange','_initRemoveSheetCommandInterceptor','reset','sheet.mutation.add-group-collection','level','getFormat','subtotal','GlobalComputingStatusService','pivotTableIndexConfig','Expand','Panel','endColumn','setDirty','split','endCollectChangeset','MovePivotTableCommand','Inject','PositionType','sheets-pivot.minName','_viewData','UniverSheetsFilter','ReleaseType','COLUMN','forEach','entries','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getSheetFeatureLimit','originTargetInfo','ErrorType','sheets-pivot.dateGroup.hour','sheet.command.set-pivot-filter','_updateRenderEmptyCache','date','_host','getTableFieldById','DisposableCollection','sheet.mutation.rename-pivot-field','UpdatePivotFieldSettingCommand','sourceRangeInfo','registerCommand','getDate','call','cornerInfo','sheets-pivot.countName','map','getRangeStartEndInfo','DataFieldManager','removeField','_globalComputedEndHelpFunc','203064ZLtXGg','filterInfo','SheetsPivotTableAdaptorModel','sheet.command.set-pivot-collapse','updateViewInfo','UniverEngineFormula','_updateModelCache','stdDevp','collectionConfig','getRangeData','rowRanges','_initDataSendListener','deleteUnitId','SetWorksheetActiveOperation','_deleteModelCache','SetOptions','valueFields','AddPivotFieldCommand','displayName','deleteField','filterId','handleMoveRange','numfmt','addDataFieldWithoutUnitInfo','_fieldsCollectionChange$','getName','fieldId','getRefRangeMutationsByMoveRange','unionPivotViewRange','setLabelFilterInfo','object','Max\x20of\x20','Column\x20','sheet.command.set-pivot-field-setting','SetPivotFilterMutation','Disposable','collections','setPivotTableConfig','removeCollectionImp','transFromCellValue','getAutoDisplayName','_globalComputingSrv','max','queryDirtyPivotTable','isDateGroupFieldJSON','DEFAULT_WORKSHEET_ROW_COUNT','initDataRanges','isPrefixValue','sum','sheets-pivot.cellDateGroupDisplay.quarter','@univerjs-pro/engine-pivot','number','targetCellInfo','_viewData$','isDate','sheets-pivot.cellDateGroupDisplay.year','setPivotCollapse','SetPivotFieldFormatMutation','updateViewData','Month','unitId','registerSyncingMutations','getLastRow','getValue','sheets-pivot.emptyPivot.filter','registerDirtyService','subTotalStyle','NAME','pushUndoRedo','BLANK_ROW_COUNT','isDateValue','colStyle','fetchThroughAsyncInterceptors','ClearSelectionContentCommand','setRangeValueRedoMutation','sheets-pivot.maxName','setDataRecordCount','result','pageRanges','colHeaderMap','batch','3644883dcomPz','_configVersion$','sheets-pivot.dateGroup.yearMonthDate','sheet.mutation.set-pivot-option','IUndoRedoService','_configService','removeDataField','removeValueFilterInfoByValueFieldId','getSubUnitPivotMatrix','getViewData','rangeKeyMap','drillDown','delete','some','getId','fetchThroughInterceptors','IConfigService','forRow','sheets-pivot.stdDevpName','generateNullCell','3844236vPYyIp','getPivotTableMatrixInfo','InsertColMutation','Values','Add','value','isDateGroupField','_initCommandInterceptListener','SetPivotSortCommand','sheets-pivot.emptyPivot.row','INTERCEPTOR_POINT','_dataFieldManagerCollection','lastRow','Collapse','_dataSyncPrimaryController','getDataFieldId','new','cornerRanges','sheets-pivot.cellDateGroupDisplay.yearMonthDate','IActiveDirtyManagerService','_sheetsSelectionsService','collection','length','addRecord','addCollectionByJSON','UniverEngineRender','getStyles','rangeKey','FieldsCollection','get','setPivotSort','_globalSubject','product','getColCount','369785bcKXSk','Optional','existing','Set','getTargetByPivotTableId','Total','oldMatrix','configVersion$','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getDataFieldManager','triggerDirtyFeature','keys','AddPivotTableWithConfigCommand','isErrorValue','contains','getFilterInfo','dataFields','PivotTableValuePositionEnum','_pivotTableRangeInfo','pivotTableId','Existing','dataStream','createLabelField','size','sheets-pivot.varName','getPivotCellInfo','getConfig','setRange','isNaN','ResetPivotTable','getUpdateRangeDeleteIds','_initConfig','_init','StdDevp\x20of\x20','_refRangeHandle','_collectionChange$','COMMAND','add','matrix','PivotDataFieldDataTypeEnum','_requestResolvers','NUM','fieldsCollectionChange$','AsyncInterceptorManager','parseInt','error','cornerStyle','type','getCurrentUnitForType','adjustSheetCellData','hasOwnProperty','setSourceName','getMonth','getSortInfo','_updatePivotTableInstanceCache','REF','resetPivotTable','CELL_CONTENT','deleteDataField','Minute','getInfo','_localeService','version','getSheets','setCollapse','versions','YearMonthDate','updateValuePosition','getRangeKeyList','updateRangeKeyMap','updateCollectionConfig','sheet.command.set-pivot-sort','UpdateDateGroupCommand','dataFieldManagerConfig','_queryingMap','Min\x20of\x20','onCommandExecuted','ICommandService','getPivotTableInstance','getMatrix','registerRefRange','MIN_SAFE_INTEGER','DataField','values','varp','getValueIndex','SheetsPivotRPCService','ux2joYt2\x209BjJVSoYt2(3YjB2nB,\x20Sxv3YjTBV)\x20{\x20\x20\x20\x20oJV\x20{\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x203YjB2nBR2utLaJoCJJaV\x20=\x203YjB2nB.nS3Yo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20tJYDY20BnnaDB\x20=\x208p6f.SaJnB(aotv(3YjB2nBR2utLaJoCJJaV[m]));\x20\x20\x20\x20\x20\x20\x20\x20Yu\x20(!tJYDY20BnnaDB.x9)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tJYDY20BnnaDB.x9\x20=\x20fxGvBJ(3YjB2nBR2utLaJoCJJaV[Z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20YnAtJHBJ\x20=\x20oVSBtu\x20AtJHBJi3tva3pjtSB\x20!==\x20\x27x29BuY2B9\x27\x20&&\x20nB3u\x20Y2noa2jBtu\x20AtJHBJi3tva3pjtSB;\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20jt2oBXo\x20=\x20YnAtJHBJ\x20?\x20nB3u\x20:\x20yY29ty;\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20GBnnaDBAtJ9\x20=\x20jt2oBXo.__KanBQZ__.SaJnB(3YjB2nBR2utLaJoCJJaV[m]);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20GBnnaDB\x20=\x20jt2oBXo.__NBX__.noJY2DYuV(GBnnaDBAtJ9);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20nYD2aoxJBAtJ9\x20=\x20jt2oBXo.__KanBQZ__.SaJnB(3YjB2nBR2utLaJoCJJaV[W]);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20nYD2aoxJB\x20=\x20jt2oBXo.__NBX__.noJY2DYuV(nYD2aoxJBAtJ9);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20nYD2Ma3Y9\x20=\x20jt2oBXo.__cBJYuV__(nYD2aoxJB,\x20GBnnaDB,\x20Sxv3YjTBV);\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x209tGaY2\x20=\x20tJYDY20BnnaDB.9G;\x20\x20\x20\x20\x20\x20\x20\x20ux2joYt2\x20Yn1tGaY20aojkY2D(tLaooBJ2,\x20tNtno)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20SaooBJ2\x20=\x20tLaooBJ2.JBS3ajB(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20ktno\x20=\x20tNtno.JBS3ajB(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20SaooBJ2LaJon\x20=\x20SaooBJ2.nS3Yo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20ktnoLaJon\x20=\x20ktno.nS3Yo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yu\x20(!SaooBJ2.Y2j3x9Bn(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JBoxJ2\x20SaooBJ2\x20===\x20ktno;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yu\x20(SaooBJ2LaJon.3B2Dok\x20<\x20m\x20||\x20SaooBJ2LaJon[P]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JBoxJ2\x20ua3nB;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20SaooBJ2pxuuYX\x20=\x20SaooBJ2LaJon.n3YjB(s).htY2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20ktnopxuuYX\x20=\x20ktnoLaJon.n3YjB(-SaooBJ2LaJon.3B2Dok\x20+\x20s).htY2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JBoxJ2\x20SaooBJ2pxuuYX\x20===\x20ktnopxuuYX;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203Bo\x209tGaY2Ma3Y9\x20=\x20(9tGaY2\x20&&\x209tGaY2.3B2Dok)\x20?\x209tGaY2.ntGB((9GRoBG)\x20=>\x20Yn1tGaY20aojkY2D(9GRoBG,\x203tjaoYt2.ktno2aGB))\x20:\x20oJxB;\x20\x20\x20\x20\x20\x20\x20\x20Yu\x20(3tjaoYt2.ktno2aGB\x20===\x20\x273tja3ktno\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209tGaY2Ma3Y9\x20=\x20oJxB;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jt2no\x20ca3Y9\x20=\x20nYD2Ma3Y9\x20&&\x209tGaY2Ma3Y9;\x20\x20\x20\x20\x20\x20\x20\x20JBoxJ2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ca3Y9,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GBnnaDB:\x20tJYDY20BnnaDB,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20jaojk\x20(BJJtJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20JBoxJ2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ca3Y9:\x20ua3nB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GBnnaDB:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','SetRangeValuesUndoMutationFactory','_initClearSelectionCommandInterceptor','SetPivotCollapseCommand','data','blank','sheets-pivot.subTotal','getPivotItemRenderInfoCache','6069220xuhQxb','SetPivotTableConfig','realDeleteValue','RemoveField','MUTATION','updateConfigCache','_pivotConfigChange$','sheet.mutation.set-pivot-value-filter','addPivotTableWithConfig','fieldIds','format','getAdjustRangesPosition','addPivotField','concat','sheet.mutation.send-pivot-view-local','setSortInfo','DataSyncPrimaryController','ClearSelectionAllCommand','pivotTableConfigs','lastCol','Module','getFieldIds','random','has','NUMBER','getLastCol','_ensurePivotItemRenderValueMatrixCache','UNIVER_SHEET','UniverSheets','dataFieldsCollection','PivotViewCellValueTypeEnum','AddPivotTableWithConfig','PivotTableChangeTypeEnum','getformat','getDataFieldByDataFieldId','getFieldFormat','count','NotName','oldRangeInfo','_getAutoName','setValue','_globalComputedStartHelpFunc','min','handleSourceRangeChange','NotNumber','DependentOn','valuePosition','collapseInfo','getSheetBySheetName','_commandService','foreach','setPivotInitCompleted','_pivotTableMatrixInfo','getDataFieldByTableId','pageStyle','New','SetPivotSetting','sheet.mutation.remove-pivot-field','PivotTable','name','_refRangeService','_injector','getMatrixValue','fieldsConfig','viewUpdate$','UpdateFieldPositionMutation','sheet.command.move-pivot-field','leafStyle','PivotCellStyleTypeEnum','createInterceptorKey','getTargetByPivotId','UpdateFieldPosition','remove','onStarting','clearExclusiveRangesByGroupId','getPivotTableRangeInfo','LocaleService','getCurrentSelections','getPivotPerformCheck','_pivotRenderInfoCache','IResourceManagerService','addExclusiveRange','parse','Product\x20of\x20','viewData$','SHEET_PIVOT_EXCLUSIVE_ID','dataFieldId','addDirtyPivotTable','getNoUsedDataFieldIds','SetPivotOptionMutation','sheets-pivot.averageName','getSheetId','UniverProSheetsPivot','hasField','@univerjs/sheets-filter','getRowCount','_ensurePivotItemRenderInfoCache','rangesInfo','getPivotTableModelConfig','SheetsPivotTableConfigModel','createAsyncInterceptorKey','sheet.command.pivot-drill-down','sheets-pivot.dateGroup.yearMonth','DEFAULT_PIVOT_NUMBER','PivotDateGroupFieldDateTypeEnum','startColumn','sheets-pivot.cellDateGroupDisplay.hourMinute','RenameField','_pivotInitCompleted$','Rectangle','info','iterateField','_createExclusiveRange','areaInfo','LifecycleService'];_0x2e7b=function(){return _0x2ea9e9;};return _0x2e7b();}(function(_0x25da97,_0x3212f3){const _0xcda00e=_0x1629,_0x3e364e=_0x25da97();while(!![]){try{const _0x34076d=parseInt(_0xcda00e(0x309))/0x1+-parseInt(_0xcda00e(0x236))/0x2+-parseInt(_0xcda00e(0x4a4))/0x3*(parseInt(_0xcda00e(0x282))/0x4)+parseInt(_0xcda00e(0x369))/0x5+parseInt(_0xcda00e(0x2e7))/0x6+-parseInt(_0xcda00e(0x49b))/0x7*(parseInt(_0xcda00e(0x1c9))/0x8)+parseInt(_0xcda00e(0x2d3))/0x9;if(_0x34076d===_0x3212f3)break;else _0x3e364e['push'](_0x3e364e['shift']());}catch(_0x401818){_0x3e364e['push'](_0x3e364e['shift']());}}}(_0x2e7b,0xd6457),function(_0xcabd0e,_0x28c8ce){const _0x1882a4=_0x1629;typeof exports=='object'&&typeof module<'u'?_0x28c8ce(exports,require(_0x1882a4(0x2b4)),require(_0x1882a4(0x426)),require(_0x1882a4(0x24f)),require(_0x1882a4(0x1ee)),require(_0x1882a4(0x1b7)),require(_0x1882a4(0x45a)),require(_0x1882a4(0x3c7)),require(_0x1882a4(0x1fd)),require(_0x1882a4(0x459))):typeof define==_0x1882a4(0x1b9)&&define['amd']?define(['exports',_0x1882a4(0x2b4),_0x1882a4(0x426),_0x1882a4(0x24f),'@univerjs/sheets',_0x1882a4(0x1b7),_0x1882a4(0x45a),_0x1882a4(0x3c7),_0x1882a4(0x1fd),_0x1882a4(0x459)],_0x28c8ce):(_0xcabd0e=typeof globalThis<'u'?globalThis:_0xcabd0e||self,_0x28c8ce(_0xcabd0e[_0x1882a4(0x3c5)]={},_0xcabd0e[_0x1882a4(0x201)],_0xcabd0e[_0x1882a4(0x20f)],_0xcabd0e[_0x1882a4(0x287)],_0xcabd0e[_0x1882a4(0x385)],_0xcabd0e[_0x1882a4(0x1b7)],_0xcabd0e[_0x1882a4(0x1cb)],_0xcabd0e[_0x1882a4(0x265)],_0xcabd0e[_0x1882a4(0x203)],_0xcabd0e[_0x1882a4(0x300)]));}(this,function(_0xb1f452,_0x27cc4c,_0x39685c,_0x3e3aa9,_0x3f53bd,_0x2efff6,_0x5f1ced,_0x11dd78,_0xc87130,_0x280f1b){'use strict';const _0x4fc62e=_0x1629;var _0x2e1e3b=Object[_0x4fc62e(0x1ad)],_0x4b47a4=(_0x4427c7,_0x5efee5,_0x32a600)=>_0x5efee5 in _0x4427c7?_0x2e1e3b(_0x4427c7,_0x5efee5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32a600}):_0x4427c7[_0x5efee5]=_0x32a600,_0x46647d=(_0x12a5c5,_0x5345d0,_0x25740e)=>_0x4b47a4(_0x12a5c5,typeof _0x5345d0!=_0x4fc62e(0x3fa)?_0x5345d0+'':_0x5345d0,_0x25740e);const _0xfec1b6=Number[_0x4fc62e(0x336)](0x680e48d5),_0x155d42=0x10,_0x377c9c=0x1,_0x34bdfb=_0x4fc62e(0x3f9),_0x2b3c45=0x1,_0x249404='rgb(240,241,243)',_0x1504d5=_0x4fc62e(0x407),_0x583b05='#b2b2b2',_0x72224a=_0x4fc62e(0x1cd),_0x689afe=_0x4fc62e(0x1cd),_0x36d902=_0x4fc62e(0x49d),_0x157540=_0x4fc62e(0x430),_0x1bcd3a=_0x4fc62e(0x1b4),_0x5885fc='#e6ebfa',_0x53e53f=_0x4fc62e(0x430),_0x565194='#FFFFFF',_0x1ac705=_0x4fc62e(0x410),_0xa2d47e=0xe,_0x236e3e=0x6;var _0x19b8f4=(_0x50a24e=>(_0x50a24e[_0x4fc62e(0x31e)]=_0x4fc62e(0x30b),_0x50a24e[_0x4fc62e(0x3a0)]=_0x4fc62e(0x2f7),_0x50a24e))(_0x19b8f4||{});const _0x394cc={'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':''}}},_0x3c08f9=0x1e,_0x33bc95={'b':{'s':0x1,'cl':{'rgb':_0x583b05}},'l':{'s':0x1,'cl':{'rgb':_0x583b05}},'r':{'s':0x1,'cl':{'rgb':_0x583b05}},'t':{'s':0x1,'cl':{'rgb':_0x583b05}}},_0x1e5041={'bg':{'rgb':_0x249404},'ht':0x2,'vt':0x2,'tb':0x1},_0x57a81e={'bg':{'rgb':_0x1504d5},'ht':0x2,'vt':0x2,'tb':0x1},_0x4bd5fb={'rowStyle':{'bg':{'rgb':_0x1ac705},'bd':_0x33bc95,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x53e53f},'bd':null,'cl':{'rgb':_0x565194},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x33bc95,'bg':{'rgb':_0x5885fc},'vt':0x2},'cornerStyle':{'bd':_0x33bc95,'bg':{'rgb':_0x36d902},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x33bc95,'bg':{'rgb':_0x72224a},'vt':0x2},'leafStyle':{'bd':_0x33bc95,'bg':{'rgb':_0x689afe},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x157540},'cl':{'rgb':_0x1bcd3a},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x33bc95,'vt':0x2}};function _0x195dc0(_0x51b20c,_0x3156ac,_0x1575ad){const _0xe852f7=_0x4fc62e,_0x17a2f7=_0x51b20c[_0xe852f7(0x304)](_0x39685c[_0xe852f7(0x3b5)]),_0x8a1a04=_0x1575ad[_0xe852f7(0x25e)]('_');switch(_0x3156ac){case _0x27cc4c['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x17a2f7['t'](_0xe852f7(0x2b9),..._0x8a1a04);case _0x27cc4c['PivotDateGroupFieldDateTypeEnum']['Minute']:return _0x17a2f7['t'](_0xe852f7(0x402),..._0x8a1a04);case _0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0xe852f7(0x48c)]:return _0x17a2f7['t'](_0xe852f7(0x434),..._0x8a1a04);case _0x27cc4c[_0xe852f7(0x3d1)][_0xe852f7(0x1b3)]:return _0x17a2f7['t'](_0xe852f7(0x3d3),..._0x8a1a04);case _0x27cc4c['PivotDateGroupFieldDateTypeEnum']['Date']:return _0x17a2f7['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x8a1a04);case _0x27cc4c[_0xe852f7(0x3d1)][_0xe852f7(0x2bd)]:return _0x17a2f7['t'](_0xe852f7(0x210),..._0x8a1a04);case _0x27cc4c[_0xe852f7(0x3d1)][_0xe852f7(0x200)]:return _0x17a2f7['t'](_0xe852f7(0x2b3),..._0x8a1a04);case _0x27cc4c[_0xe852f7(0x3d1)][_0xe852f7(0x3e4)]:return _0x17a2f7['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x8a1a04);case _0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0xe852f7(0x34c)]:return _0x17a2f7['t'](_0xe852f7(0x2f9),..._0x8a1a04);case _0x27cc4c['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x17a2f7['t'](_0xe852f7(0x490),..._0x8a1a04);}return'';}const _0x4d7c51=(_0x2609d4,_0x2bfdca,_0x28e704,_0x344765)=>{const _0x20800f=_0x4fc62e;let _0x56f513;const _0x5179e4=_0x2609d4[_0x20800f(0x304)](_0x39685c['IUniverInstanceService'])['getCurrentUnitForType'](_0x39685c[_0x20800f(0x23f)][_0x20800f(0x384)]);if(!_0x5179e4)return null;const _0x3e9fa0=_0x5179e4[_0x20800f(0x301)]();let _0x3dbd21;if(_0x28e704&&(_0x3dbd21=_0x3e9fa0[_0x20800f(0x391)](_0x28e704)),_0x2bfdca!=null&&_0x2bfdca['v']||(_0x2bfdca==null?void 0x0:_0x2bfdca['v'])===0x0){_0x56f513||(_0x56f513={});const _0x33cd11=_0x1a40c6(_0x2bfdca['v']);typeof _0x33cd11==_0x20800f(0x2b5)?_0x56f513['t']=_0x39685c['CellValueType'][_0x20800f(0x381)]:typeof _0x33cd11==_0x20800f(0x1ff)&&(_0x56f513['t']=_0x39685c['CellValueType'][_0x20800f(0x1d9)]),_0x56f513['v']=_0x33cd11;}if((_0x2bfdca!=null&&_0x2bfdca['i']||(_0x2bfdca==null?void 0x0:_0x2bfdca['i'])===0x0)&&(_0x56f513||(_0x56f513={}),_0x56f513['fi']=_0x2bfdca['i']),_0x2bfdca!=null&&_0x2bfdca['s']&&(_0x56f513||(_0x56f513={}),_0x56f513[_0x20800f(0x20b)]=_0x2bfdca['s']),_0x28e704&&(_0x56f513||(_0x56f513={}),_0x56f513['s']=_0x3dbd21),_0x344765&&_0x56f513!=null&&_0x56f513['v']&&_0x56f513[_0x20800f(0x20b)]!==_0x27cc4c[_0x20800f(0x3ad)][_0x20800f(0x212)]&&_0x56f513[_0x20800f(0x20b)]!==_0x27cc4c[_0x20800f(0x3ad)]['Subtotal']){const _0x316300=String(_0x56f513['v']),{dateType:_0x27f45e}=_0x344765;_0x56f513['v']=_0x195dc0(_0x2609d4,_0x27f45e,_0x316300),_0x56f513['t']=_0x39685c[_0x20800f(0x199)][_0x20800f(0x1d9)];}return _0x56f513;},_0x3092af=(_0x191ffa,_0x4ee1f6,_0x60c80e,_0x4a1e32)=>{const _0x15017f=_0x4fc62e;var _0x30d228,_0x45ba61,_0x14cbd8,_0x19cfad,_0x2ec69b,_0x3dccd3,_0x3b0a17,_0x5b90fd,_0x2ba048,_0x4b8d7f,_0x189d2e,_0x47b2f0,_0x27c87c,_0x31aefd;const _0xe099f8=_0x60c80e[_0x15017f(0x2b6)],{cornerView:_0x41a742,rowView:_0x92d6fc,colView:_0x8fe53d,dataView:_0x1709f3,pageView:_0x3237cf,formatMap:_0x493c9e,groupInfo:_0x272610}=_0x4ee1f6,{row:_0xe36262,col:_0x419d57}=_0xe099f8,_0x430631=new _0x39685c['ObjectMatrix'](),_0x494f06={},_0x3f7ad2={},_0x3d443c={},_0x339140={},_0x5d8525={};let _0x1fc16d=_0xe36262,_0x7f06eb=_0x419d57;Object[_0x15017f(0x315)](_0x3237cf[_0x15017f(0x365)])[_0x15017f(0x268)](_0x25b85e=>{const _0x46864e=_0x15017f;Object[_0x46864e(0x315)](_0x3237cf[_0x46864e(0x365)][Number(_0x25b85e)])[_0x46864e(0x268)](_0x432e13=>{const _0x6a3b52=_0x46864e,_0x580aa7={..._0x3237cf[_0x6a3b52(0x365)][Number(_0x25b85e)][Number(_0x432e13)]};_0x430631['setValue'](Number(_0x25b85e)+_0x1fc16d,Number(_0x432e13)+_0x7f06eb,_0x4d7c51(_0x191ffa,_0x580aa7,_0x4bd5fb[_0x6a3b52(0x39f)]));});});const _0x4cc34e=Object[_0x15017f(0x315)](_0x3237cf[_0x15017f(0x365)])[_0x15017f(0x2fd)];_0x1fc16d+=_0x4cc34e+(_0x4cc34e?_0x2b3c45:0x0);const _0x3ae19e=_0x41a742[_0x15017f(0x3c8)](),_0x3ea94c=_0x41a742[_0x15017f(0x308)]();for(let _0x28f28b=0x0;_0x28f28b<_0x3ae19e;_0x28f28b++)for(let _0x3e1482=0x0;_0x3e1482<_0x3ea94c;_0x3e1482++){const _0x575544={...(_0x45ba61=(_0x30d228=_0x41a742[_0x15017f(0x365)])==null?void 0x0:_0x30d228[_0x28f28b])==null?void 0x0:_0x45ba61[_0x3e1482]};_0x575544&&((_0x14cbd8=_0x92d6fc['headerMap'][_0x3e1482])!=null&&_0x14cbd8[_0x15017f(0x44d)])&&_0x3e1482===_0x3ea94c-0x1&&_0x28f28b===_0x3ae19e-0x1&&(_0x575544['v']=''+_0x4a1e32['sheets-pivot.value']),_0x430631[_0x15017f(0x391)](_0x28f28b+_0x1fc16d,_0x3e1482+_0x7f06eb,_0x4d7c51(_0x191ffa,_0x575544,_0x4bd5fb[_0x15017f(0x338)]));}for(let _0x508f4c=0x0;_0x508f4c<_0x41a742[_0x15017f(0x3d7)][_0x15017f(0x2fd)];_0x508f4c++)_0x41a742[_0x15017f(0x3d7)][_0x508f4c]&&(_0x3d443c[''+(_0x508f4c+_0x7f06eb)]=_0x41a742[_0x15017f(0x3d7)][_0x508f4c]);_0x7f06eb+=_0x3ea94c;const _0x49f211=_0x8fe53d[_0x15017f(0x1d5)],_0x269d54=_0x8fe53d[_0x15017f(0x2c0)]()>=0x0?_0x8fe53d[_0x15017f(0x2c0)]()+0x1:0x0,_0x5a6196=_0x8fe53d[_0x15017f(0x382)]()>=0x0?_0x8fe53d[_0x15017f(0x382)]()+0x1:0x0;for(let _0x1ae0ed=0x0;_0x1ae0ed<_0x5a6196;_0x1ae0ed++){for(let _0x16afce=0x0;_0x16afce<_0x269d54;_0x16afce++){const _0x2c141c={...(_0x2ec69b=(_0x19cfad=_0x8fe53d[_0x15017f(0x365)])==null?void 0x0:_0x19cfad[_0x16afce])==null?void 0x0:_0x2ec69b[_0x1ae0ed]},_0x5165f0=(_0x3dccd3=_0x49f211[_0x16afce])==null?void 0x0:_0x3dccd3[_0x15017f(0x48a)],_0x17a6aa=_0x493c9e[_0x5165f0],_0x4c67a7=_0x272610[_0x5165f0];_0x2c141c&&(_0x2c141c['v']=_0xdd9b93(_0x2c141c,_0x16afce===0x0&&((_0x3b0a17=_0x8fe53d[_0x15017f(0x22e)](_0x1ae0ed+0x1))==null?void 0x0:_0x3b0a17[_0x15017f(0x44d)]),_0x17a6aa,_0x4a1e32));let _0x2def78;_0x17a6aa?_0x2def78={..._0x4bd5fb[_0x15017f(0x2c9)],'n':{'pattern':_0x17a6aa}}:_0x2def78={..._0x4bd5fb[_0x15017f(0x2c9)]},_0x430631['setValue'](_0x16afce+_0x1fc16d,_0x1ae0ed+_0x7f06eb,_0x4d7c51(_0x191ffa,_0x2c141c,_0x2def78,_0x4c67a7));}_0x8fe53d[_0x15017f(0x3d7)][_0x1ae0ed]&&(_0x3f7ad2[''+(_0x1ae0ed+_0x7f06eb)]=_0x8fe53d[_0x15017f(0x3d7)][_0x1ae0ed]),_0x8fe53d[_0x15017f(0x1d5)][_0x1ae0ed+0x1]&&(_0x5d8525[''+(_0x1ae0ed+_0x1fc16d+0x1)]=_0x8fe53d[_0x15017f(0x1d5)][_0x1ae0ed+0x1]);}_0x1fc16d+=_0x3ae19e;const _0x2507bb=_0x92d6fc[_0x15017f(0x1d5)],_0x248a77=_0x92d6fc[_0x15017f(0x2c0)]()>=0x0?_0x92d6fc[_0x15017f(0x2c0)]()+0x1:0x0,_0x396536=_0x92d6fc['getLastCol']()>=0x0?_0x92d6fc[_0x15017f(0x382)]()+0x1:0x0;for(let _0x4251df=0x0;_0x4251df<_0x248a77;_0x4251df++){for(let _0x2c92b7=0x0;_0x2c92b7<_0x396536;_0x2c92b7++){const _0x59b8bd={...(_0x2ba048=(_0x5b90fd=_0x92d6fc[_0x15017f(0x365)])==null?void 0x0:_0x5b90fd[_0x4251df])==null?void 0x0:_0x2ba048[_0x2c92b7]},_0x4ac721=(_0x4b8d7f=_0x2507bb[_0x2c92b7])==null?void 0x0:_0x4b8d7f[_0x15017f(0x48a)],_0x2386cc=_0x493c9e[_0x4ac721],_0xfb4852=_0x272610[_0x4ac721];_0x59b8bd&&(_0x59b8bd['v']=_0xdd9b93(_0x59b8bd,!0x1,_0x2386cc,_0x4a1e32));let _0x5369ec;_0x92d6fc['info'][_0x4251df][_0x15017f(0x255)]===_0x92d6fc['getColCount']()?_0x5369ec=_0x4bd5fb[_0x15017f(0x3ac)]:_0x92d6fc['info'][_0x4251df]['isBottomTotal']?_0x5369ec=_0x92d6fc[_0x15017f(0x3d7)][_0x4251df][_0x15017f(0x255)]===0x0?_0x4bd5fb[_0x15017f(0x3e5)]:_0x4bd5fb[_0x15017f(0x2c4)]:_0x5369ec=_0x4bd5fb['rowStyle'],_0x2386cc&&(_0x5369ec={..._0x5369ec,'n':{'pattern':_0x2386cc}}),_0x430631[_0x15017f(0x391)](_0x4251df+_0x1fc16d,_0x2c92b7+_0x419d57,_0x4d7c51(_0x191ffa,_0x59b8bd,_0x5369ec,_0xfb4852));}_0x92d6fc[_0x15017f(0x3d7)][_0x4251df]&&(_0x494f06[''+(_0x4251df+_0x1fc16d)]=_0x92d6fc['info'][_0x4251df]),_0x92d6fc[_0x15017f(0x1d5)][_0x4251df]&&(_0x339140[''+(_0x4251df+_0x419d57)]=_0x92d6fc[_0x15017f(0x1d5)][_0x4251df]);}const _0x441c9b=_0x1709f3[_0x15017f(0x3c8)](),_0x138a4d=_0x1709f3[_0x15017f(0x308)]();for(let _0x18c34e=0x0;_0x18c34e<_0x441c9b;_0x18c34e++)for(let _0x2973fb=0x0;_0x2973fb<_0x138a4d;_0x2973fb++){const _0x244109={...(_0x47b2f0=(_0x189d2e=_0x1709f3[_0x15017f(0x365)])==null?void 0x0:_0x189d2e[_0x18c34e])==null?void 0x0:_0x47b2f0[_0x2973fb]};let _0x5b2400;_0x92d6fc[_0x15017f(0x3d7)][_0x18c34e][_0x15017f(0x1fb)]?_0x5b2400=_0x92d6fc[_0x15017f(0x3d7)][_0x18c34e][_0x15017f(0x255)]===0x0?_0x4bd5fb[_0x15017f(0x3e5)]:_0x4bd5fb[_0x15017f(0x2c4)]:_0x5b2400=_0x4bd5fb[_0x15017f(0x1fe)];const _0x56e2dd=_0x92d6fc[_0x15017f(0x3d7)][_0x18c34e]['valueIndex'],_0x1280f6=_0x8fe53d[_0x15017f(0x3d7)][_0x2973fb]['valueIndex'],_0x1ebc6a=Math[_0x15017f(0x2ac)](_0x56e2dd,_0x1280f6),_0x36e1de=_0x60c80e[_0x15017f(0x3a8)][_0x15017f(0x292)][_0x15017f(0x376)]();let _0x143681='';_0x1ebc6a<0x0?_0x143681=(_0x27c87c=_0x36e1de[0x0])!=null?_0x27c87c:'':_0x143681=(_0x31aefd=_0x36e1de[_0x1ebc6a])!=null?_0x31aefd:'';const _0x450c53=_0x493c9e[_0x143681];_0x450c53&&(_0x5b2400={..._0x5b2400,'n':{'pattern':_0x450c53}}),_0x430631[_0x15017f(0x391)](_0x18c34e+_0x1fc16d,_0x2973fb+_0x7f06eb,_0x4d7c51(_0x191ffa,_0x244109,_0x5b2400));}return{'valueMatrix':_0x430631,'rowInfo':_0x494f06,'colInfo':_0x3f7ad2,'cornerInfo':_0x3d443c,'rowHeaderMap':_0x339140,'colHeaderMap':_0x5d8525};};function _0xdd9b93(_0x26f0f5,_0x4046b7,_0x52ae4b,_0x1946ef){const _0x4d8753=_0x4fc62e;let _0x33d8eb=_0x26f0f5['v'];_0x4046b7&&(_0x33d8eb=''+_0x1946ef[_0x4d8753(0x4a0)]);const _0x59a553=_0x26f0f5['t']&&(_0x26f0f5['t']&_0x27cc4c[_0x4d8753(0x387)][_0x4d8753(0x366)])>0x0;if(_0x59a553&&(_0x33d8eb=''+_0x1946ef['sheets-pivot.blank']),_0x26f0f5['s']===_0x27cc4c[_0x4d8753(0x3ad)][_0x4d8753(0x483)]){let _0x56cd14=_0x33d8eb,_0xcdf279='';_0x27cc4c[_0x4d8753(0x2b1)](_0x33d8eb)&&(_0x56cd14=_0x33d8eb[_0x4d8753(0x440)],_0xcdf279=_0x33d8eb[_0x4d8753(0x2ec)]);const _0x47b43f=_0x52ae4b&&!_0x59a553?_0x39685c[_0x4d8753(0x298)]['format'](_0x52ae4b,Number(_0x56cd14)):_0x56cd14;_0xcdf279?_0x33d8eb=_0x47b43f+'\x20'+_0xcdf279:_0x33d8eb=_0x47b43f+'\x20'+_0x1946ef[_0x4d8753(0x367)];}else _0x26f0f5['s']===_0x27cc4c[_0x4d8753(0x3ad)][_0x4d8753(0x212)]&&(_0x33d8eb=_0x33d8eb+'\x20'+_0x1946ef[_0x4d8753(0x451)]);return _0x33d8eb;}function _0x1a40c6(_0x386126){const _0x46c4e5=_0x4fc62e;if(_0x27cc4c[_0x46c4e5(0x317)](_0x386126)){const {errorType:_0x372667}=_0x386126;switch(_0x372667){case _0x27cc4c[_0x46c4e5(0x1f8)][_0x46c4e5(0x1eb)]:return _0x3e3aa9[_0x46c4e5(0x26d)]['DIV_BY_ZERO'];case _0x27cc4c[_0x46c4e5(0x1f8)][_0x46c4e5(0x395)]:return _0x3e3aa9[_0x46c4e5(0x26d)][_0x46c4e5(0x333)];case _0x27cc4c['PivotErrorTypeEnum']['NotFunction']:return _0x3e3aa9[_0x46c4e5(0x26d)][_0x46c4e5(0x2c5)];case _0x27cc4c[_0x46c4e5(0x1f8)][_0x46c4e5(0x38e)]:return _0x3e3aa9[_0x46c4e5(0x26d)][_0x46c4e5(0x2c5)];case _0x27cc4c[_0x46c4e5(0x1f8)]['BadReference']:return _0x3e3aa9['ErrorType'][_0x46c4e5(0x341)];}}return _0x386126;}function _0x1760c9(_0x15bea9,_0x14f32b,_0x1d43f0=!0x1,_0x38c7b1=!0x1){const _0x570bbf=_0x4fc62e,{data:_0x44e217}=_0x14f32b,_0x14cbe3=_0x14f32b[_0x570bbf(0x3c8)](),_0x2154aa=_0x14f32b[_0x570bbf(0x308)]();if(_0x14cbe3<=0x0||_0x2154aa<=0x0)return[];const _0x1c1763=_0x14f32b[_0x570bbf(0x382)](),_0x168127=_0x14f32b['getLastRow'](),_0x56ce1e=_0x38c7b1?_0x168127>=0x0?_0x168127+0x1:0x0:_0x14cbe3,_0x44fd3a=_0x38c7b1?_0x1c1763>=0x0?_0x1c1763+0x1:0x0:_0x2154aa,{row:_0x401635,col:_0x32b14a}=_0x15bea9,_0x7632ad=_0x401635,_0x5c45f7=_0x32b14a;if(_0x1d43f0){const _0x45dee9=[];for(const [_0x32e209,_0x272310]of Object[_0x570bbf(0x269)](_0x44e217))for(const [_0x504c6b,_0x1814ea]of Object[_0x570bbf(0x269)](_0x272310))_0x45dee9[_0x570bbf(0x458)](_0x39685c[_0x570bbf(0x237)](_0x7632ad+Number(_0x32e209),_0x5c45f7+Number(_0x504c6b)));return _0x45dee9;}else{const _0x17041f=_0x38c7b1?_0x56ce1e>0x0?0x1:0x0:0x1,_0x3ab828=_0x38c7b1?_0x44fd3a>0x0?0x1:0x0:0x1,_0x18d9ac=_0x401635+_0x56ce1e-_0x17041f,_0x7029ca=_0x32b14a+_0x44fd3a-_0x3ab828;return[{'startRow':_0x7632ad,'startColumn':_0x5c45f7,'endRow':_0x18d9ac,'endColumn':_0x7029ca}];}}const _0x3775b6=_0x4fc62e(0x20e),_0x1fe7db=_0x4fc62e(0x3be);var _0x5ba5f6=(_0x1ca3ae=>(_0x1ca3ae[_0x4fc62e(0x41c)]='filter',_0x1ca3ae[_0x4fc62e(0x25b)]=_0x4fc62e(0x3f7),_0x1ca3ae[_0x4fc62e(0x488)]=_0x4fc62e(0x375),_0x1ca3ae[_0x4fc62e(0x388)]=_0x4fc62e(0x388),_0x1ca3ae[_0x4fc62e(0x460)]=_0x4fc62e(0x49e),_0x1ca3ae['MovePivotField']=_0x4fc62e(0x42f),_0x1ca3ae[_0x4fc62e(0x42b)]=_0x4fc62e(0x463),_0x1ca3ae['SetPivotCollapse']='setPivotCollapse',_0x1ca3ae[_0x4fc62e(0x1f1)]='setPivotFilter',_0x1ca3ae['SetPivotSort']=_0x4fc62e(0x305),_0x1ca3ae[_0x4fc62e(0x3a1)]=_0x4fc62e(0x473),_0x1ca3ae[_0x4fc62e(0x1b2)]=_0x4fc62e(0x3eb),_0x1ca3ae[_0x4fc62e(0x3f3)]=_0x4fc62e(0x34d),_0x1ca3ae[_0x4fc62e(0x1a0)]=_0x4fc62e(0x2de),_0x1ca3ae[_0x4fc62e(0x1a2)]=_0x4fc62e(0x19e),_0x1ca3ae[_0x4fc62e(0x36a)]=_0x4fc62e(0x2a7),_0x1ca3ae['ResetPivotTable']='resetPivotTable',_0x1ca3ae))(_0x5ba5f6||{});const _0x3c4087={'sheets-pivot.blankValue':_0x4fc62e(0x23a),'sheets-pivot.columnName':_0x4fc62e(0x2a2),'sheets-pivot.subTotalText':_0x4fc62e(0x30e),'sheets-pivot.grandTotalText':_0x4fc62e(0x42d),'sheets-pivot.valueText':_0x4fc62e(0x1cf),'sheets-pivot.averageName':_0x4fc62e(0x247),'sheets-pivot.countName':_0x4fc62e(0x446),'sheets-pivot.countNumsName':_0x4fc62e(0x446),'sheets-pivot.maxName':_0x4fc62e(0x2a1),'sheets-pivot.minName':_0x4fc62e(0x355),'sheets-pivot.productName':_0x4fc62e(0x3bc),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x4fc62e(0x32b),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x4fc62e(0x1ab),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x4fc62e(0x483),'sheets-pivot.grandTotal':_0x4fc62e(0x42d),'sheets-pivot.value':'value','sheets-pivot.blank':_0x4fc62e(0x366),'sheets-pivot.emptyPivot.filter':_0x4fc62e(0x41c),'sheets-pivot.emptyPivot.row':_0x4fc62e(0x46f),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x4fc62e(0x2ea)},_0x1b4c8d={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3ec142=_0x39685c[_0x4fc62e(0x3cd)](_0x4fc62e(0x19d)),_0x4dac5b=_0x39685c[_0x4fc62e(0x3ae)]('pivotMutationGenerate');var _0xa01a17=(_0x13afc9=>(_0x13afc9[_0x4fc62e(0x32f)]='add',_0x13afc9[_0x4fc62e(0x2df)]=_0x4fc62e(0x2df),_0x13afc9[_0x4fc62e(0x232)]=_0x4fc62e(0x232),_0x13afc9))(_0xa01a17||{}),_0x5965b8=(_0x3f08a7=>(_0x3f08a7['Add']=_0x4fc62e(0x32f),_0x3f08a7[_0x4fc62e(0x30c)]=_0x4fc62e(0x3e1),_0x3f08a7[_0x4fc62e(0x445)]='delete',_0x3f08a7))(_0x5965b8||{});const _0x27c45c={0x0:'M',0x1:'D',0x2:'n',0x3:'l',0x4:'T',0x5:'5',0x6:'O',0x7:'9',0x8:'J',0x9:'d','P':'0','s':'1','m':'2','W':'3','Z':'4','Q':'6','U':'7','q':'8','a':'a','v':'b','j':'c','B':'e','u':'f','D':'g','k':'h','Y':'i','h':'j','H':'k','G':'m','t':'o','S':'p','d':'q','J':'r','n':'s','o':'t','x':'u','c':'v','y':'w','X':'x','V':'y','O':'z','C':'A','K':'B','F':'C','w':'E','e':'F','i':'G','N':'H','R':'I','T':'K','r':'L','f':'N','L':'P','b':'Q','I':'R','p':'S','E':'U','M':'V','A':'W','l':'X','g':'Y','z':'Z'},_0x5881b9=_0x4fc62e(0x361),_0x48413d={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x1cc),'handler':()=>!0x0},_0x251b50={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x3552c1={'type':_0x39685c['CommandType']['MUTATION'],'id':_0x4fc62e(0x377),'handler':()=>!0x0},_0xe5634c={'type':_0x39685c['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x403fe4={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x4a2040=_0x234046=>{const _0x1781c3=_0x4fc62e;var _0x291b82;return((_0x291b82=_0x234046[_0x1781c3(0x498)])==null?void 0x0:_0x291b82[_0x1781c3(0x31f)][_0x1781c3(0x439)](/\r\n$/,''))||'';};class _0x5e244f extends _0x27cc4c[_0x4fc62e(0x27f)]{constructor(_0x84e37e,_0x223ceb){const _0x1afdac=_0x4fc62e;super(),_0x46647d(this,_0x1afdac(0x2dd),{}),_0x46647d(this,_0x1afdac(0x1bc)),_0x46647d(this,_0x1afdac(0x272)),(this[_0x1afdac(0x1bc)]=_0x223ceb,this[_0x1afdac(0x272)]=_0x84e37e);}[_0x4fc62e(0x2b0)](){const _0x3fef5c=_0x4fc62e;for(const _0x25bb2a in this[_0x3fef5c(0x31a)]){const _0x4cf3b2=this[_0x3fef5c(0x31a)][_0x25bb2a],_0x356f36=_0x4cf3b2['getRangeKey']();this[_0x3fef5c(0x2dd)][_0x356f36]=_0x4cf3b2[_0x3fef5c(0x2e1)]();}}[_0x4fc62e(0x1bf)](){const _0x52f84f=_0x4fc62e,_0x28e52c=this['_host'];return _0x5f4639[_0x52f84f(0x465)](_0x28e52c);}[_0x4fc62e(0x344)](_0x41864c){const _0x3653aa=_0x4fc62e,_0x58dad7=this[_0x3653aa(0x31a)][_0x41864c][_0x3653aa(0x302)];delete this[_0x3653aa(0x31a)][_0x41864c],delete this['rangeKeyMap'][_0x58dad7];}[_0x4fc62e(0x299)](_0x350025){const _0x39acdd=_0x4fc62e;this[_0x39acdd(0x31a)][_0x350025[_0x39acdd(0x2e1)]()]=_0x350025;}['removeCollectionImp'](_0x2c6ab0){const _0x5d96f4=_0x4fc62e;var _0x3efc12,_0xeead00;const _0x3f0230=this[_0x5d96f4(0x272)][_0x5d96f4(0x3af)](_0x2c6ab0);if(_0x3f0230){const {unitId:_0x50a35c,subUnitId:_0x34882d}=_0x3f0230,_0x20931d=(_0x3efc12=this[_0x5d96f4(0x272)][_0x5d96f4(0x492)](_0x50a35c,_0x34882d,_0x2c6ab0))==null?void 0x0:_0x3efc12[_0x5d96f4(0x277)];this[_0x5d96f4(0x272)][_0x5d96f4(0x453)]({'token':_0x2c6ab0,'type':_0xa01a17[_0x5d96f4(0x2df)],'dataRangeInfo':_0x20931d});}(_0xeead00=this['getCollection'](_0x2c6ab0))==null||_0xeead00['dispose'](),delete this[_0x5d96f4(0x2a6)][_0x2c6ab0];}[_0x4fc62e(0x1db)](_0x246a8a,_0x4d81a8){const _0x5ef8f6=_0x4fc62e,{sheetName:_0x411155,unitId:_0xebb75c,range:_0x1d8509}=_0x246a8a,{startRow:_0x620991,endRow:_0x71a9ac}=_0x1d8509;return _0x3e3aa9[_0x5ef8f6(0x209)](_0xebb75c,_0x411155,{'startRow':_0x620991,'endRow':_0x71a9ac,'startColumn':_0x4d81a8,'endColumn':_0x4d81a8});}['getDataFieldByRangeKey'](_0x1a6885){const _0x18f6cd=_0x4fc62e;return this[_0x18f6cd(0x31a)][this[_0x18f6cd(0x2dd)][_0x1a6885]];}[_0x4fc62e(0x1c4)](_0x390111,_0x135279){this['rangeKeyMap'][_0x390111]=_0x135279;}[_0x4fc62e(0x34f)](_0x5c6084,_0x5e2434){const _0x4bde90=_0x4fc62e;this[_0x4bde90(0x2dd)][_0x5e2434]=this[_0x4bde90(0x2dd)][_0x5c6084],delete this[_0x4bde90(0x2dd)][_0x5c6084];}[_0x4fc62e(0x2ff)](_0x2c5791,_0x40ee98,_0x40197b,_0x4a59b2){const _0x145af8=_0x4fc62e,_0x37267c=new _0x27cc4c[(_0x145af8(0x303))](this);_0x37267c[_0x145af8(0x245)](_0x40ee98);const _0x241bed=[];let _0x2da138=0x0;for(const _0x3cfc33 of _0x37267c[_0x145af8(0x372)]){const _0x5f0958=this[_0x145af8(0x1db)](_0x40197b,_0x2da138),_0x1e08f3=this[_0x145af8(0x31a)][_0x3cfc33];_0x1e08f3&&(_0x1e08f3[_0x145af8(0x302)]=_0x5f0958,this['setRangeKeyMap'](_0x5f0958,_0x3cfc33),_0x241bed[_0x145af8(0x458)]({'index':_0x2da138,'dataField':_0x1e08f3})),_0x2da138++;}return this['addCollection'](_0x2c5791,_0x37267c,_0x40197b,_0x4a59b2),{'collection':_0x37267c,'updateDataFieldList':_0x241bed};}[_0x4fc62e(0x27e)](_0x153f79,_0x3b9ee3){const _0x329e4e=_0x4fc62e;return _0x153f79[_0x329e4e(0x401)]===_0x39685c[_0x329e4e(0x1d3)][_0x329e4e(0x267)]?{'startRow':0x0,'startColumn':_0x153f79['startColumn'],'endRow':_0x3b9ee3['getRowCount']()-0x1,'endColumn':_0x153f79['endColumn']}:{'startRow':_0x153f79[_0x329e4e(0x43c)],'startColumn':_0x153f79[_0x329e4e(0x3d2)],'endRow':_0x153f79[_0x329e4e(0x484)],'endColumn':_0x153f79[_0x329e4e(0x25c)]};}['createCollectionWithDataRange'](_0x258ba2){const _0x266d4f=_0x4fc62e,{sheetName:_0x410221,range:_0x59e8dd}=_0x258ba2,_0x4b0cf0=this[_0x266d4f(0x1bc)][_0x266d4f(0x33a)](_0x39685c[_0x266d4f(0x23f)][_0x266d4f(0x384)]),_0x3f07cf=_0x4b0cf0[_0x266d4f(0x399)](_0x410221),_0x5b45b3=_0x3f07cf[_0x266d4f(0x4ac)](),{startColumn:_0xbe998b,startRow:_0x3c3252,endColumn:_0x32867a}=this[_0x266d4f(0x27e)](_0x59e8dd,_0x3f07cf),_0x549bf0=_0x4b0cf0[_0x266d4f(0x301)](),_0x3e2368=new _0x27cc4c[(_0x266d4f(0x303))](this);_0x3e2368[_0x266d4f(0x325)](_0x258ba2);const _0x1395fe=[],_0x1989b5={};for(let _0x56f865=_0xbe998b;_0x56f865<=_0x32867a;_0x56f865++){const _0x3fc308=_0x5b45b3[_0x266d4f(0x2c1)](_0x3c3252,_0x56f865),_0x1b2b4d=this[_0x266d4f(0x1db)](_0x258ba2,_0x56f865),_0x27d853=this['getDataFieldByRangeKey'](_0x1b2b4d);if(_0x27d853)_0x3e2368[_0x266d4f(0x424)](_0x27d853[_0x266d4f(0x2e1)](),_0x27d853[_0x266d4f(0x29b)]());else{const _0x458d90=this[_0x266d4f(0x455)]();let _0x59bbf9=this[_0x266d4f(0x33b)](_0x3fc308,_0x549bf0,_0x1989b5);_0x27cc4c[_0x266d4f(0x2c8)](_0x59bbf9)&&(_0x59bbf9=_0x39685c['numfmt'][_0x266d4f(0x373)](_0x59bbf9['f'],Number(_0x59bbf9['v'])));const _0x20945b=this[_0x266d4f(0x1b8)](_0x59bbf9,_0x56f865),_0x1f8efb=new _0x27cc4c[(_0x266d4f(0x35c))](_0x458d90,_0x20945b,_0x27cc4c[_0x266d4f(0x476)](0x3));_0x1f8efb[_0x266d4f(0x302)]=_0x1b2b4d,this[_0x266d4f(0x31a)][_0x458d90]=_0x1f8efb,_0x3e2368[_0x266d4f(0x424)](_0x458d90,_0x20945b),_0x1395fe['push']({'index':_0x56f865,'dataField':_0x1f8efb});}}return{'updateDataFieldList':_0x1395fe,'collection':_0x3e2368};}[_0x4fc62e(0x390)](_0x452d66){const _0x1ca53f=_0x4fc62e;return this['_host'][_0x1ca53f(0x1c2)]()[_0x1ca53f(0x411)]+'\x20'+_0x39685c[_0x1ca53f(0x46c)](_0x452d66);}['uniqueDataFieldName'](_0x2c41cd,_0x155d44){const _0x17c1cf=_0x4fc62e;return _0x2c41cd==null||_0x2c41cd===''?this[_0x17c1cf(0x390)](_0x155d44):String(_0x2c41cd);}['getCollection'](_0x1047d4){const _0x259d51=_0x4fc62e;return this[_0x259d51(0x2a6)][_0x1047d4];}['addCollection'](_0x198121,_0xb6e669,_0x35468a,_0x40f8d3){const _0x846b2c=_0x4fc62e;this[_0x846b2c(0x2a6)][_0x198121]=_0xb6e669,_0xb6e669[_0x846b2c(0x325)](_0x35468a),this[_0x846b2c(0x272)]['broadcastCollectionChange']({'token':_0x198121,'type':_0xa01a17['add'],'dataRangeInfo':_0x35468a,'targetCellInfo':_0x40f8d3});}[_0x4fc62e(0x297)](_0x50bf25,_0x15b602){const _0x18589b=_0x4fc62e,_0x1b1468=this['getCollection'](_0x50bf25),_0x300a93=_0x1b1468[_0x18589b(0x37e)]();let _0x2bc710=0x0;for(const _0x335f26 of _0x300a93){const _0x4b2e61=_0x1b1468[_0x18589b(0x19b)](_0x335f26),_0x219a75=this[_0x18589b(0x1db)](_0x15b602,_0x2bc710);this[_0x18589b(0x34f)](_0x4b2e61[_0x18589b(0x302)],_0x219a75),_0x2bc710++;}}[_0x4fc62e(0x1ae)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4fc62e(0x328)](_0x4dddc9,_0x58cb76){const _0x5034b9=_0x4fc62e;if(this[_0x5034b9(0x19a)](_0x4dddc9)){const _0x55cdac=this[_0x5034b9(0x34e)](_0x58cb76),_0x52a4b5=[];for(const _0x4ec78c of _0x55cdac)this[_0x5034b9(0x2dd)][_0x4ec78c]!==void 0x0&&_0x52a4b5[_0x5034b9(0x458)](this[_0x5034b9(0x2dd)][_0x4ec78c]);const _0x579a08=this[_0x5034b9(0x3c1)](_0x4dddc9),_0x3f689c=[],_0x5e2a78=new Set(_0x52a4b5);for(const _0x5e230e of _0x579a08)_0x5e2a78[_0x5034b9(0x380)](_0x5e230e)||_0x3f689c[_0x5034b9(0x458)](_0x5e230e);return _0x3f689c;}}['getMatrixValue'](_0x5ecd12,_0x18c0bc,_0x10646e,_0x16d4d6,_0x1c81ee){const _0x203592=_0x4fc62e;return _0x18c0bc&&_0x18c0bc[_0x203592(0x2c1)](_0x16d4d6,_0x1c81ee)?_0x18c0bc['getValue'](_0x16d4d6,_0x1c81ee):_0x10646e&&_0x10646e[_0x203592(0x2c1)](_0x16d4d6,_0x1c81ee)?_0x10646e[_0x203592(0x2c1)](_0x16d4d6,_0x1c81ee):_0x5ecd12['getValue'](_0x16d4d6,_0x1c81ee);}[_0x4fc62e(0x3f4)](_0xc09ba9,_0x20e689,_0x1b7365,_0x1cd71a){const _0x22bec5=_0x4fc62e,_0x311fef=this[_0x22bec5(0x31a)][_0xc09ba9];if(!_0x311fef)return;const {subUnitId:_0x1c067a,range:_0x318272,unitId:_0x379112}=_0x20e689,_0x470f5a=this[_0x22bec5(0x1bc)]['getUnit'](_0x379112);if(!_0x470f5a){console['error'](_0x22bec5(0x470));return;}const _0x199489=_0x470f5a[_0x22bec5(0x1e4)](_0x1c067a),_0x1a6226=_0x199489['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x4b5b6f,unitDataMatrix:_0x22845d}=_0x1cd71a||{},{startRow:_0x2cb03b,startColumn:_0x238891,endRow:_0x5ef362}=this[_0x22bec5(0x27e)](_0x318272,_0x199489);_0x311fef[_0x22bec5(0x253)]();const _0xde7999=_0x470f5a[_0x22bec5(0x301)](),_0x18c3c8={},_0x408b24=this[_0x22bec5(0x3a7)](_0x1a6226,_0x4b5b6f,_0x22845d,_0x2cb03b,_0x238891+_0x1b7365);let _0x2c3a3b=this[_0x22bec5(0x33b)](_0x408b24,_0xde7999,_0x18c3c8);_0x27cc4c['isDateValue'](_0x2c3a3b)&&(_0x2c3a3b=_0x39685c[_0x22bec5(0x298)][_0x22bec5(0x373)](_0x2c3a3b['f'],Number(_0x2c3a3b['v'])));const _0x5c89d3=this[_0x22bec5(0x1b8)](_0x2c3a3b,_0x238891+_0x1b7365);_0x311fef['setName'](_0x5c89d3);for(let _0x2c2f7f=_0x2cb03b+0x1;_0x2c2f7f<=_0x5ef362;_0x2c2f7f++){const _0x487efe=this[_0x22bec5(0x3a7)](_0x1a6226,_0x4b5b6f,_0x22845d,_0x2c2f7f,_0x238891+_0x1b7365);_0x311fef[_0x22bec5(0x2fe)](this[_0x22bec5(0x33b)](_0x487efe,_0xde7999,_0x18c3c8),_0x2c2f7f-0x1-_0x2cb03b);}}[_0x4fc62e(0x416)](_0x4b15c6,_0x210275,_0x1e2b42){const _0x29bce0=_0x4fc62e,{subUnitId:_0x52caa5,range:_0x1be0ec,unitId:_0x483f24}=_0x1e2b42,_0x4f54b8=this[_0x29bce0(0x1bc)][_0x29bce0(0x486)](_0x483f24);if(!_0x4f54b8){console['error'](_0x29bce0(0x470));return;}const _0x2ba059=_0x4f54b8[_0x29bce0(0x1e4)](_0x52caa5),_0x147414=_0x2ba059['getCellMatrix'](),{startRow:_0x82980d,startColumn:_0x561ebe,endRow:_0x9ce0d3}=this[_0x29bce0(0x27e)](_0x1be0ec,_0x2ba059),_0x4664b9=_0x4f54b8[_0x29bce0(0x301)](),_0x337166={};for(const {dataField:_0x23d0a2,index:_0x205c5f}of _0x210275){_0x23d0a2[_0x29bce0(0x253)]();const _0xae7056=this[_0x29bce0(0x3a7)](_0x147414,void 0x0,void 0x0,_0x82980d,_0x561ebe+_0x205c5f);let _0x286ae9=this[_0x29bce0(0x33b)](_0xae7056,_0x4664b9,_0x337166);_0x27cc4c[_0x29bce0(0x2c8)](_0x286ae9)&&(_0x286ae9=_0x39685c[_0x29bce0(0x298)][_0x29bce0(0x373)](_0x286ae9['f'],Number(_0x286ae9['v'])));const _0x174b8e=this[_0x29bce0(0x1b8)](_0x286ae9,_0x561ebe+_0x205c5f);_0x23d0a2['setName'](_0x174b8e);}_0x4b15c6[_0x29bce0(0x1fc)]();for(let _0x48f72e=_0x82980d+0x1;_0x48f72e<=_0x9ce0d3;_0x48f72e++)for(const {index:_0x52f273,dataField:_0xc7368d}of _0x210275){const _0x3b6043=_0x147414['getValue'](_0x48f72e,_0x561ebe+_0x52f273);_0xc7368d[_0x29bce0(0x2fe)](this['adjustSheetCellData'](_0x3b6043,_0x4664b9,_0x337166),_0x48f72e-0x1-_0x82980d);}_0x4b15c6[_0x29bce0(0x2ce)](_0x9ce0d3-_0x82980d);}[_0x4fc62e(0x34e)](_0x18917e){const _0x4db819=_0x4fc62e,{range:_0x1d94e6}=_0x18917e,{startColumn:_0x3eb309,endColumn:_0x6cc9a7}=_0x1d94e6,_0x636541=[];for(let _0x3d9fab=_0x3eb309;_0x3d9fab<=_0x6cc9a7;_0x3d9fab++)_0x636541['push'](this[_0x4db819(0x1db)](_0x18917e,_0x3d9fab));return _0x636541;}['adjustSheetCellData'](_0x8e266e,_0x6a4957,_0x4a0059){const _0x1119c3=_0x4fc62e;if(_0x8e266e){const {s:_0x1e9bab,v:_0xdae310,t:_0x3e521e,p:_0x3a61c0}=_0x8e266e;if(_0x3a61c0)return _0x4a2040(_0x3a61c0);const _0x104117=_0x6a4957['get'](_0x1e9bab);if(_0x104117&&_0x3e521e===_0x39685c[_0x1119c3(0x199)][_0x1119c3(0x381)]&&_0x104117['n']){const {pattern:_0xb93a2b}=_0x104117['n'];_0x4a0059[_0xb93a2b]||(_0x4a0059[_0xb93a2b]=_0x39685c[_0x1119c3(0x298)][_0x1119c3(0x346)](_0xb93a2b));const _0x39321a=_0x4a0059[_0xb93a2b],_0x41bb86=_0x39321a[_0x1119c3(0x2b8)];if(_0x39321a[_0x1119c3(0x21a)])return String(_0xdae310);if(_0x41bb86)return{'v':_0xdae310,'f':_0xb93a2b};}if(_0x3e521e===_0x39685c[_0x1119c3(0x199)]['NUMBER'])return Number(_0xdae310);if(_0x3e521e===_0x39685c[_0x1119c3(0x199)]['STRING']||_0x3e521e===_0x39685c[_0x1119c3(0x199)]['FORCE_STRING'])return String(_0xdae310);if(_0x3e521e===void 0x0){const _0x559806=Number(_0xdae310);if(!Number[_0x1119c3(0x326)](_0x559806)&&String(_0x559806)===_0xdae310)return _0x559806;}return _0xdae310!=null?_0xdae310:null;}else return null;}[_0x4fc62e(0x28b)](_0xaf29d8){const _0x30280d=_0x4fc62e,{sheetName:_0x327837,range:_0x297c40,unitId:_0x2bf2d2}=_0xaf29d8,_0x43993a=this[_0x30280d(0x1bc)]['getUnit'](_0x2bf2d2);if(!_0x43993a)return console[_0x30280d(0x337)](_0x30280d(0x470)),{'header':[],'data':[]};const _0x3aa71e=_0x43993a[_0x30280d(0x399)](_0x327837),_0x47dafc=_0x3aa71e[_0x30280d(0x4ac)](),{startRow:_0x2366e5,startColumn:_0x2c7c1d,endRow:_0x4aba57,endColumn:_0x4af8e2}=this[_0x30280d(0x27e)](_0x297c40,_0x3aa71e),_0x482f96=_0x43993a[_0x30280d(0x301)](),_0x3e3ec3=[],_0x4c2d44=[],_0x42e63d={};for(let _0x40b328=_0x2366e5;_0x40b328<=_0x4aba57;_0x40b328++){const _0x480f7c=[];for(let _0x2fdbd7=_0x2c7c1d;_0x2fdbd7<=_0x4af8e2;_0x2fdbd7++){const _0x2b0d83=_0x47dafc[_0x30280d(0x2c1)](_0x40b328,_0x2fdbd7);_0x40b328===_0x2366e5?_0x3e3ec3[_0x30280d(0x458)](_0x2b0d83==null?null:String(_0x2b0d83['v'])):_0x480f7c[_0x30280d(0x458)](this[_0x30280d(0x33b)](_0x2b0d83,_0x482f96,_0x42e63d));}_0x4c2d44[_0x30280d(0x458)](_0x480f7c);}return{'header':_0x3e3ec3,'data':_0x4c2d44};}[_0x4fc62e(0x43a)](){const _0xd69d1a=_0x4fc62e;return super[_0xd69d1a(0x43a)]();}[_0x4fc62e(0x245)](_0x4b807b){super['fromJSON'](_0x4b807b),this['initDataRanges']();}['dispose'](){const _0x3168cc=_0x4fc62e;super[_0x3168cc(0x224)](),this['rangeKeyMap']={},this[_0x3168cc(0x272)]=null;}}const _0x1b807b=_0x4ac194=>{const _0x4e544d=_0x4fc62e,{targetCellInfo:_0x22cdc2}=_0x4ac194,{matrixCache:_0x2412df,rangesCache:_0x51a152}=_0x3674f3({'filter':'Filter','row':_0x4e544d(0x46f),'column':_0x4e544d(0x202),'values':'Values'},_0x22cdc2),_0x34ea4a=new _0x39685c['ObjectMatrix']();return _0x2412df[_0x4e544d(0x21e)]((_0x502178,_0x1d66c6,_0x3f8d67)=>{const _0x43138c=_0x4e544d;_0x34ea4a[_0x43138c(0x391)](_0x502178,_0x1d66c6,_0x3f8d67);}),{'matrix':_0x34ea4a,'rangesCache':_0x51a152};},_0x53e60a=_0x4ac104=>{const _0x4fa2ea=_0x4fc62e;let _0x4a0096;if(_0x4ac104!=null&&_0x4ac104['v']||(_0x4ac104==null?void 0x0:_0x4ac104['v'])===0x0){_0x4a0096||(_0x4a0096={});const _0x1dec89=_0x1a40c6(_0x4ac104['v']);typeof _0x1dec89=='number'?_0x4a0096['t']=_0x39685c[_0x4fa2ea(0x199)][_0x4fa2ea(0x381)]:typeof _0x1dec89==_0x4fa2ea(0x1ff)&&(_0x4a0096['t']=_0x39685c['CellValueType']['STRING']),_0x4a0096['v']=_0x1dec89;}return _0x4a0096;},_0x4d9c17=(_0x487af0,_0x2e2c76,_0x3e3581)=>{const _0x3bfcb3=_0x4fc62e;var _0x63543,_0x5dca21,_0x4a4e9f,_0x4cd71d,_0x3d8099,_0x22ac3c,_0x5f23e8,_0x1a467f,_0x3fd96f,_0x33b9f0,_0xe053a2,_0x3933d8;const {cornerView:_0x223316,rowView:_0x15a74d,colView:_0xc46959,dataView:_0x2b52b3,pageView:_0x1e7ba5,formatMap:_0xb44649}=_0x487af0,{row:_0x1eaede,col:_0x8138e1}=_0x2e2c76,_0x23f897=new _0x39685c[(_0x3bfcb3(0x405))]();let _0x208849=_0x1eaede,_0x2d77e1=_0x8138e1;Object[_0x3bfcb3(0x315)](_0x1e7ba5[_0x3bfcb3(0x365)])[_0x3bfcb3(0x268)](_0x4bddb6=>{const _0xd05404=_0x3bfcb3;Object[_0xd05404(0x315)](_0x1e7ba5[_0xd05404(0x365)][Number(_0x4bddb6)])[_0xd05404(0x268)](_0x1cfb3f=>{const _0x23456b=_0xd05404,_0x12d520={..._0x1e7ba5[_0x23456b(0x365)][Number(_0x4bddb6)][Number(_0x1cfb3f)]};_0x23f897[_0x23456b(0x391)](Number(_0x4bddb6)+_0x208849,Number(_0x1cfb3f)+_0x2d77e1,_0x53e60a(_0x12d520));});});const _0x5e9d90=Object[_0x3bfcb3(0x315)](_0x1e7ba5[_0x3bfcb3(0x365)])[_0x3bfcb3(0x2fd)];_0x208849+=_0x5e9d90+(_0x5e9d90?_0x2b3c45:0x0);const _0x4a105c=_0x223316['getRowCount'](),_0x2b77b8=_0x223316['getColCount']();for(let _0x4ed748=0x0;_0x4ed748<_0x4a105c;_0x4ed748++)for(let _0x3fc59c=0x0;_0x3fc59c<_0x2b77b8;_0x3fc59c++){const _0x5a19cc={...(_0x5dca21=(_0x63543=_0x223316[_0x3bfcb3(0x365)])==null?void 0x0:_0x63543[_0x4ed748])==null?void 0x0:_0x5dca21[_0x3fc59c]};_0x5a19cc&&((_0x4a4e9f=_0x15a74d[_0x3bfcb3(0x1d5)][_0x3fc59c])!=null&&_0x4a4e9f[_0x3bfcb3(0x44d)])&&_0x3fc59c===_0x2b77b8-0x1&&_0x4ed748===_0x4a105c-0x1&&(_0x5a19cc['v']=''+_0x3e3581['sheets-pivot.value']),_0x23f897[_0x3bfcb3(0x391)](_0x4ed748+_0x208849,_0x3fc59c+_0x2d77e1,_0x53e60a(_0x5a19cc));}_0x2d77e1+=_0x2b77b8;const _0x3ecc43=_0xc46959[_0x3bfcb3(0x1d5)],_0xc43163=_0xc46959[_0x3bfcb3(0x2c0)]()>=0x0?_0xc46959[_0x3bfcb3(0x2c0)]()+0x1:0x0,_0x3ad0ac=_0xc46959[_0x3bfcb3(0x382)]()>=0x0?_0xc46959['getLastCol']()+0x1:0x0;for(let _0x4137b7=0x0;_0x4137b7<_0x3ad0ac;_0x4137b7++)for(let _0x506261=0x0;_0x506261<_0xc43163;_0x506261++){const _0x7e7274={...(_0x3d8099=(_0x4cd71d=_0xc46959[_0x3bfcb3(0x365)])==null?void 0x0:_0x4cd71d[_0x4137b7])==null?void 0x0:_0x3d8099[_0x506261]},_0x303ed1=(_0x22ac3c=_0x3ecc43[_0x4137b7])==null?void 0x0:_0x22ac3c[_0x3bfcb3(0x48a)],_0x87317=_0xb44649[_0x303ed1];_0x7e7274&&(_0x7e7274['v']=_0xdd9b93(_0x7e7274,_0x4137b7===0x0&&((_0x5f23e8=_0xc46959[_0x3bfcb3(0x22e)](_0x506261+0x1))==null?void 0x0:_0x5f23e8[_0x3bfcb3(0x44d)]),_0x87317,_0x3e3581)),_0x23f897[_0x3bfcb3(0x391)](_0x4137b7+_0x208849,_0x506261+_0x2d77e1,_0x53e60a(_0x7e7274));}_0x208849+=_0x4a105c;const _0x574484=_0x15a74d[_0x3bfcb3(0x1d5)],_0x34c54a=_0x15a74d[_0x3bfcb3(0x2c0)]()>=0x0?_0x15a74d[_0x3bfcb3(0x2c0)]()+0x1:0x0,_0x3dc889=_0x15a74d[_0x3bfcb3(0x382)]()>=0x0?_0x15a74d['getLastCol']()+0x1:0x0;for(let _0x557641=0x0;_0x557641<_0x34c54a;_0x557641++)for(let _0x3b746c=0x0;_0x3b746c<_0x3dc889;_0x3b746c++){const _0x11fc70={...(_0x3fd96f=(_0x1a467f=_0x15a74d['data'])==null?void 0x0:_0x1a467f[_0x557641])==null?void 0x0:_0x3fd96f[_0x3b746c]},_0x411fa2=(_0x33b9f0=_0x574484[_0x3b746c])==null?void 0x0:_0x33b9f0[_0x3bfcb3(0x48a)],_0x5c13e9=_0xb44649[_0x411fa2];_0x11fc70&&(_0x11fc70['v']=_0xdd9b93(_0x11fc70,!0x1,_0x5c13e9,_0x3e3581)),_0x23f897[_0x3bfcb3(0x391)](_0x557641+_0x208849,_0x3b746c+_0x8138e1,_0x53e60a(_0x11fc70));}const _0x12841f=_0x2b52b3['getRowCount'](),_0x13187e=_0x2b52b3[_0x3bfcb3(0x308)]();for(let _0x3cf38d=0x0;_0x3cf38d<_0x12841f;_0x3cf38d++)for(let _0x573a63=0x0;_0x573a63<_0x13187e;_0x573a63++){const _0xb2da03={...(_0x3933d8=(_0xe053a2=_0x2b52b3[_0x3bfcb3(0x365)])==null?void 0x0:_0xe053a2[_0x3cf38d])==null?void 0x0:_0x3933d8[_0x573a63]};_0x23f897[_0x3bfcb3(0x391)](_0x3cf38d+_0x208849,_0x573a63+_0x2d77e1,_0x53e60a(_0xb2da03));}return _0x23f897;},_0x370b64=_0x43b060=>{const _0x14b38c=_0x4fc62e,{view:_0x4e7dce,targetCellInfo:_0x33d532,isEmpty:_0x48e786,textInfo:_0x3141ab}=_0x43b060;if(_0x48e786)return _0x1b807b(_0x43b060);const {pageView:_0x14c2ad,cornerView:_0x35e370,rowView:_0x7e2242,colView:_0x390fb9,dataView:_0x3a797c}=_0x4e7dce,_0x16a84c=_0x1760c9(_0x33d532,_0x14c2ad,!0x0),_0x124cf8=_0x14c2ad[_0x14b38c(0x2f3)]>=0x0?_0x14c2ad[_0x14b38c(0x2f3)]+0x1:0x0,_0x3997c5=_0x35e370[_0x14b38c(0x3c8)](),_0xf018b2=_0x35e370['getColCount'](),_0x2499a0=_0x16a84c[_0x14b38c(0x2fd)]>0x0?_0x2b3c45:0x0,_0x279a50=_0x1760c9({'row':_0x33d532[_0x14b38c(0x466)]+_0x124cf8+_0x2499a0,'col':_0x33d532[_0x14b38c(0x1a1)]},_0x35e370,!0x1,!0x1),_0x5cf28c=_0x1760c9({'row':_0x33d532[_0x14b38c(0x466)]+_0x124cf8+_0x2499a0+_0x3997c5,'col':_0x33d532[_0x14b38c(0x1a1)]},_0x7e2242,!0x1,!0x0),_0x61ef77=_0x1760c9({'row':_0x33d532[_0x14b38c(0x466)]+_0x124cf8+_0x2499a0,'col':_0x33d532['col']+_0xf018b2},_0x390fb9,!0x1,!0x0),_0x257291=_0x1760c9({'row':_0x33d532[_0x14b38c(0x466)]+_0x124cf8+_0x2499a0+_0x3997c5,'col':_0x33d532[_0x14b38c(0x1a1)]+_0xf018b2},_0x3a797c,!0x1,!0x1),_0x104b52={'rowRanges':_0x5cf28c,'colRanges':_0x61ef77,'cornerRanges':_0x279a50,'dataRanges':_0x257291,'pageRanges':_0x16a84c};return{'matrix':_0x4d9c17(_0x4e7dce,_0x33d532,_0x3141ab),'rangesCache':_0x104b52};};var _0x4acc5d=Object[_0x4fc62e(0x4ab)],_0x2d7690=(_0x3245b5,_0x2065ba,_0x54838a,_0xda6cdf)=>{const _0x2aab3f=_0x4fc62e;for(var _0x23e011=_0xda6cdf>0x1?void 0x0:_0xda6cdf?_0x4acc5d(_0x2065ba,_0x54838a):_0x2065ba,_0x8fb41e=_0x3245b5[_0x2aab3f(0x2fd)]-0x1,_0x2cd2b3;_0x8fb41e>=0x0;_0x8fb41e--)(_0x2cd2b3=_0x3245b5[_0x8fb41e])&&(_0x23e011=_0x2cd2b3(_0x23e011)||_0x23e011);return _0x23e011;},_0x4803d0=(_0x5836c7,_0xa76ca5)=>(_0xc986e,_0x2bc167)=>_0xa76ca5(_0xc986e,_0x2bc167,_0x5836c7);_0xb1f452[_0x4fc62e(0x19c)]=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x4850,_0x9aff9c,_0x30e29e,_0x55b703,_0x161bfa,_0x5557cf){const _0x4581d7=_0x4fc62e;super(),_0x46647d(this,_0x4581d7(0x40a),new Map()),_0x46647d(this,_0x4581d7(0x246),new Map()),_0x46647d(this,_0x4581d7(0x264),new Map()),_0x46647d(this,'_textInfo'),_0x46647d(this,_0x4581d7(0x32d),new _0x2efff6[(_0x4581d7(0x217))]()),_0x46647d(this,_0x4581d7(0x42c),this['_collectionChange$'][_0x4581d7(0x223)]()),_0x46647d(this,'_viewData$',new _0x2efff6['Subject']()),_0x46647d(this,_0x4581d7(0x3bd),this[_0x4581d7(0x2b7)][_0x4581d7(0x223)]()),_0x46647d(this,_0x4581d7(0x29a),new _0x2efff6[(_0x4581d7(0x217))]()),_0x46647d(this,_0x4581d7(0x334),this[_0x4581d7(0x29a)][_0x4581d7(0x223)]()),_0x46647d(this,'_dataFieldManagerCollection',new Map()),_0x46647d(this,'needSameDeleteModel',[]),_0x46647d(this,_0x4581d7(0x354),new Map()),(this['_injector']=_0x4850,this[_0x4581d7(0x1bc)]=_0x9aff9c,this['_lifecycleService']=_0x30e29e,this['_configService']=_0x55b703,this[_0x4581d7(0x39a)]=_0x161bfa,this[_0x4581d7(0x3f2)]=_0x5557cf,this[_0x4581d7(0x1d2)]());}[_0x4fc62e(0x1c2)](){const _0x1e8672=_0x4fc62e;return this[_0x1e8672(0x40c)]?this[_0x1e8672(0x40c)]:_0x3c4087;}[_0x4fc62e(0x234)](_0x1d3822){const _0x238918=_0x4fc62e;this[_0x238918(0x40c)]=_0x1d3822;}[_0x4fc62e(0x297)](_0xafc6f7){const _0x25f664=_0x4fc62e;var _0x3205ef;const {from:_0x23b5d0,to:_0x27ec9c,unitId:_0x1eb22a,fromRange:_0x2c5117,toRange:_0x13b9c8}=_0xafc6f7;if(_0x23b5d0&&_0x27ec9c){const _0x1ed19a=this[_0x25f664(0x313)](_0x1eb22a),_0x427dfc=this[_0x25f664(0x40a)][_0x25f664(0x304)](_0x1eb22a),_0x1ff259=(_0x3205ef=this[_0x25f664(0x1bc)][_0x25f664(0x486)](_0x1eb22a))==null?void 0x0:_0x3205ef[_0x25f664(0x1e4)](_0x27ec9c[_0x25f664(0x4a1)]);if(!_0x427dfc||!_0x1ff259)return;const _0x3a8a1c=_0x1ff259==null?void 0x0:_0x1ff259[_0x25f664(0x29b)]();for(const [_0x1f5cee,_0x5a8748]of _0x427dfc[_0x25f664(0x269)]())for(const [_0x281b5b,_0x8d79a0]of _0x5a8748[_0x25f664(0x269)]()){const {sourceRangeInfo:_0x3cb4bc}=_0x8d79a0;if(_0x3cb4bc[_0x25f664(0x2be)]===_0x1eb22a&&_0x3cb4bc['subUnitId']===_0x23b5d0[_0x25f664(0x4a1)]&&_0x39685c[_0x25f664(0x3d6)]['contains'](_0x2c5117,_0x3cb4bc['range'])){const _0x194017={'row':_0x3cb4bc[_0x25f664(0x1e7)]['startRow']-_0x2c5117[_0x25f664(0x43c)],'col':_0x3cb4bc[_0x25f664(0x1e7)][_0x25f664(0x3d2)]-_0x2c5117[_0x25f664(0x3d2)]},_0x2d2c7b={'unitId':_0x1eb22a,'subUnitId':_0x27ec9c[_0x25f664(0x4a1)],'sheetName':_0x3a8a1c,'range':{'startRow':_0x13b9c8[_0x25f664(0x43c)]+_0x194017[_0x25f664(0x466)],'endRow':_0x13b9c8[_0x25f664(0x43c)]+_0x194017[_0x25f664(0x466)]+_0x3cb4bc['range'][_0x25f664(0x484)]-_0x3cb4bc[_0x25f664(0x1e7)][_0x25f664(0x43c)],'startColumn':_0x13b9c8[_0x25f664(0x3d2)]+_0x194017[_0x25f664(0x1a1)],'endColumn':_0x13b9c8[_0x25f664(0x3d2)]+_0x194017['col']+_0x3cb4bc['range'][_0x25f664(0x25c)]-_0x3cb4bc[_0x25f664(0x1e7)][_0x25f664(0x3d2)]}};_0x1ed19a[_0x25f664(0x297)](_0x281b5b,_0x2d2c7b);const _0x1e5a5c={..._0x8d79a0,'sourceRangeInfo':_0x2d2c7b};this[_0x25f664(0x288)](_0x1eb22a,_0x27ec9c['subUnitId'],_0x281b5b,_0x1e5a5c),this[_0x25f664(0x453)]({'unitId':_0x1eb22a,'token':_0x281b5b,'type':_0xa01a17[_0x25f664(0x232)],'oldSourceRangeInfo':_0x3cb4bc,'dataRangeInfo':_0x2d2c7b,'targetCellInfo':_0x8d79a0['targetCellInfo']}),this['updateConfig']({'unitId':_0x1eb22a,'subUnitId':_0x27ec9c[_0x25f664(0x4a1)],'oldSubUnitId':_0x1f5cee,'pivotTableId':_0x281b5b,'pivotTableConfig':_0x1e5a5c,'collectionConfig':_0x1ed19a[_0x25f664(0x43a)]()});}}}}[_0x4fc62e(0x453)](_0x1c0443){const _0x3d3d0f=_0x4fc62e;this[_0x3d3d0f(0x32d)][_0x3d3d0f(0x23c)](_0x1c0443);}['getDataFieldManager'](_0x427fb1){const _0x37f853=_0x4fc62e;let _0x481d09=this[_0x37f853(0x2f2)]['get'](_0x427fb1);return _0x481d09||(_0x481d09=new _0x5e244f(this,this['_univerInstanceService']),this[_0x37f853(0x2f2)][_0x37f853(0x3e1)](_0x427fb1,_0x481d09)),_0x481d09;}[_0x4fc62e(0x19a)](_0x4516ff,_0xd6f01e){return this['getDataFieldManager'](_0x4516ff)['collections'][_0xd6f01e];}[_0x4fc62e(0x328)](_0xd9cef1,_0x3a599c,_0x3a2ec2){const _0x55e964=_0x4fc62e;return this[_0x55e964(0x313)](_0xd9cef1)['getUpdateRangeDeleteIds'](_0x3a599c,_0x3a2ec2);}[_0x4fc62e(0x45f)](_0x48f9d5,_0x4e7b1e){const _0x418235=_0x4fc62e;let _0x8f986c=this[_0x418235(0x40a)][_0x418235(0x304)](_0x48f9d5);_0x8f986c||(_0x8f986c=new Map(),this['_model'][_0x418235(0x3e1)](_0x48f9d5,_0x8f986c));let _0xa140eb=_0x8f986c['get'](_0x4e7b1e);return _0xa140eb||(_0xa140eb=new Map(),_0x8f986c[_0x418235(0x3e1)](_0x4e7b1e,_0xa140eb)),_0xa140eb;}['_updateModelCache'](_0x4bf634,_0xe66620,_0x5a5892,_0x4ea41d){const _0x2d9aee=_0x4fc62e;this[_0x2d9aee(0x45f)](_0x4bf634,_0xe66620)[_0x2d9aee(0x3e1)](_0x5a5892,_0x4ea41d);}[_0x4fc62e(0x290)](_0x2b8de8,_0x5d2ef8,_0x2f011b){const _0x354136=_0x4fc62e;var _0x12da9e,_0x3fd199,_0x51cc3b,_0xc17b3b;((_0x3fd199=(_0x12da9e=this['_model'][_0x354136(0x304)](_0x2b8de8))==null?void 0x0:_0x12da9e['get'](_0x5d2ef8))==null?void 0x0:_0x3fd199['get'](_0x2f011b))&&((_0xc17b3b=(_0x51cc3b=this[_0x354136(0x40a)]['get'](_0x2b8de8))==null?void 0x0:_0x51cc3b[_0x354136(0x304)](_0x5d2ef8))==null||_0xc17b3b[_0x354136(0x2df)](_0x2f011b));}[_0x4fc62e(0x340)](_0x41bde4,_0x4c71cf){const _0x5c6ee9=_0x4fc62e;this[_0x5c6ee9(0x246)][_0x5c6ee9(0x3e1)](_0x41bde4,_0x4c71cf);}[_0x4fc62e(0x1e2)](_0x5e0e0c){const _0x40fcae=_0x4fc62e;this[_0x40fcae(0x246)][_0x40fcae(0x2df)](_0x5e0e0c);}[_0x4fc62e(0x1f7)](_0x55e344,_0xbc56d6){const _0x3e5de1=_0x4fc62e;let _0x6b4754=this[_0x3e5de1(0x264)][_0x3e5de1(0x304)](_0x55e344);_0x6b4754||(_0x6b4754=new Map(),this[_0x3e5de1(0x264)]['set'](_0x55e344,_0x6b4754));let _0x22e353=_0x6b4754[_0x3e5de1(0x304)](_0xbc56d6);return _0x22e353||(_0x22e353=new Map(),_0x6b4754[_0x3e5de1(0x3e1)](_0xbc56d6,_0x22e353)),_0x22e353;}['updateConfig'](_0x3c0734){const _0x51c61b=_0x4fc62e,{unitId:_0x50dadf,subUnitId:_0xa23fa,pivotTableId:_0x48baf1,pivotTableConfig:_0x4e182f,collectionConfig:_0x3f5e65}=_0x3c0734,_0x2905ca={'unitId':_0x50dadf,'subUnitId':_0xa23fa,'oldSubUnitId':_0xa23fa,'pivotTableId':_0x48baf1,'pivotTableConfig':_0x4e182f,'collectionConfig':_0x3f5e65};this['_commandService'][_0x51c61b(0x415)](_0xe5634c['id'],_0x2905ca,{'onlyLocal':!0x0});}[_0x4fc62e(0x464)](_0x2fd81a,_0x2c388f,_0x17e2d1,_0x508610,_0x3af8b,_0x574d9e,_0x382bf2,_0x15a2f3=!0x1){const _0x2ebf52=_0x4fc62e;var _0x1c7851;this[_0x2ebf52(0x39a)][_0x2ebf52(0x415)](_0x3552c1['id'],{'single':{'unitId':_0x2fd81a,'subUnitId':_0x2c388f,'type':_0x17e2d1,'pivotTableId':_0x508610,'view':_0x3af8b,'pivotConfig':_0x574d9e},'collectionConfig':{[_0x2fd81a]:_0x382bf2}},{'onlyLocal':!0x0});const _0x3f001d=!!((_0x1c7851=this[_0x2ebf52(0x358)](_0x508610))!=null&&_0x1c7851['isEmpty']()),_0x59e3dd=this['getPivotTableConfig'](_0x2fd81a,_0x2c388f,_0x508610);_0x59e3dd&&this['updateViewData']({'view':_0x3af8b,'pivotTableId':_0x508610,'textInfo':this[_0x2ebf52(0x1c2)](),'isEmpty':_0x3f001d,'targetCellInfo':_0x59e3dd[_0x2ebf52(0x2b6)]},_0x15a2f3);}[_0x4fc62e(0x2bc)](_0x341949,_0x1bec44){const _0x32be4b=_0x4fc62e,{targetCellInfo:_0x451104,pivotTableId:_0x41dcaa}=_0x341949,{unitId:_0x2786ab,subUnitId:_0x54ded4}=_0x451104,_0x2fd049=this[_0x32be4b(0x1f7)](_0x2786ab,_0x54ded4),_0x10f42d=_0x2fd049[_0x32be4b(0x304)](_0x41dcaa);let _0x5b55eb,_0x24cef7;_0x10f42d&&(_0x5b55eb=_0x10f42d['rangeCache'],_0x24cef7=_0x10f42d[_0x32be4b(0x330)]);const {rangesCache:_0x12ef5e,matrix:_0x2bcf8c}=_0x370b64(_0x341949);_0x2fd049[_0x32be4b(0x3e1)](_0x41dcaa,{'rangeCache':_0x12ef5e,'matrix':_0x2bcf8c,'oldMatrix':_0x24cef7,'oldRangeCache':_0x5b55eb}),_0x1bec44||this[_0x32be4b(0x2b7)][_0x32be4b(0x23c)]({'unitId':_0x2786ab,'subUnitId':_0x54ded4,'pivotTableId':_0x41dcaa});}['addPivotTable'](_0x3a5279,_0x3afe38,_0x4a0553,_0x212033,_0x5b2fa1){const _0x51f9f1=_0x4fc62e;this[_0x51f9f1(0x288)](_0x3a5279,_0x3afe38,_0x4a0553,_0x5b2fa1),this[_0x51f9f1(0x340)](_0x4a0553,_0x212033);}[_0x4fc62e(0x20c)](_0x498956,_0x2a5dd7,_0x669b30){const _0x9c1105=_0x4fc62e,_0x187ca2=this[_0x9c1105(0x313)](_0x498956);_0x187ca2[_0x9c1105(0x3c1)](_0x669b30)[_0x9c1105(0x268)](_0x5f0ccb=>{const _0x2c00a5=_0x9c1105;_0x187ca2[_0x2c00a5(0x344)](_0x5f0ccb);}),this[_0x9c1105(0x49a)](_0x498956,_0x669b30),this['_deleteModelCache'](_0x498956,_0x2a5dd7,_0x669b30),this['_deletePivotTableInstanceCache'](_0x669b30);}[_0x4fc62e(0x20d)](_0xbdbeed,_0x1f9dc6,_0x31da09,_0x5019d3){const _0x4aa83e=_0x4fc62e;this[_0x4aa83e(0x288)](_0xbdbeed,_0x1f9dc6,_0x31da09,_0x5019d3);}[_0x4fc62e(0x492)](_0x26c601,_0x283296,_0x16864a){const _0x468089=_0x4fc62e;var _0x27b1b0,_0x111d83;const _0x158853=(_0x111d83=(_0x27b1b0=this[_0x468089(0x40a)][_0x468089(0x304)](_0x26c601))==null?void 0x0:_0x27b1b0[_0x468089(0x304)](_0x283296))==null?void 0x0:_0x111d83[_0x468089(0x304)](_0x16864a);if(_0x158853)return _0x158853;}[_0x4fc62e(0x3cb)](_0x287a58,_0x224aa7,_0x6cd1fe){const _0x4561d7=_0x4fc62e;var _0xfbe181,_0x3d5a85;const _0x33cdc9=(_0x3d5a85=(_0xfbe181=this[_0x4561d7(0x40a)][_0x4561d7(0x304)](_0x287a58))==null?void 0x0:_0xfbe181['get'](_0x224aa7))==null?void 0x0:_0x3d5a85['get'](_0x6cd1fe);if(_0x33cdc9)return _0x33cdc9[_0x4561d7(0x3a8)];}[_0x4fc62e(0x358)](_0x205a6a){const _0x102d22=_0x4fc62e;return this[_0x102d22(0x246)]['get'](_0x205a6a);}[_0x4fc62e(0x28e)](_0x187b9f){const _0xcaa7de=_0x4fc62e;this['_model'][_0xcaa7de(0x2df)](_0x187b9f);const _0x21e71f=this['_dataFieldManagerCollection']['get'](_0x187b9f);_0x21e71f&&(_0x21e71f[_0xcaa7de(0x224)](),this[_0xcaa7de(0x2f2)][_0xcaa7de(0x2df)](_0x187b9f)),this[_0xcaa7de(0x264)]['delete'](_0x187b9f),this['needSameDeleteModel'][_0xcaa7de(0x268)](_0x2326a9=>{_0x2326a9['deleteUnitId'](_0x187b9f);});}['addCollectionByJSON'](_0x23cd23,_0x421d6e,_0xb7185f,_0x3d1866){return this['getDataFieldManager'](_0xb7185f['unitId'])['addCollectionByJSON'](_0x23cd23,_0x421d6e,_0xb7185f,_0x3d1866);}[_0x4fc62e(0x251)](_0x4c068a){const _0x1ea4c0=_0x4fc62e;return this[_0x1ea4c0(0x313)](_0x4c068a['unitId'])[_0x1ea4c0(0x251)](_0x4c068a);}[_0x4fc62e(0x416)](_0x566893,_0xbbbe43,_0x7b82d8){const _0x3cdb2f=_0x4fc62e;this[_0x3cdb2f(0x313)](_0x7b82d8[_0x3cdb2f(0x2be)])['refreshData'](_0x566893,_0xbbbe43,_0x7b82d8);}[_0x4fc62e(0x2d9)](_0x5e30b0,_0x569d1d){const _0x5a258a=_0x4fc62e;this[_0x5a258a(0x313)](_0x5e30b0)[_0x5a258a(0x344)](_0x569d1d);}[_0x4fc62e(0x49a)](_0x36aa30,_0x14a6cf){const _0x398f61=_0x4fc62e;this[_0x398f61(0x313)](_0x36aa30)[_0x398f61(0x2a8)](_0x14a6cf);}[_0x4fc62e(0x450)](_0x322b74,_0x3d3853){const _0x5d3e8c=_0x4fc62e;var _0xeb32b0;return(_0xeb32b0=this[_0x5d3e8c(0x40a)][_0x5d3e8c(0x304)](_0x322b74))==null?void 0x0:_0xeb32b0[_0x5d3e8c(0x304)](_0x3d3853);}['getTargetByPivotId'](_0x596fe2){const _0x424b82=_0x4fc62e;for(const [_0x3ddb4a,_0x87f5e5]of this[_0x424b82(0x40a)][_0x424b82(0x269)]())for(const [_0x50c881,_0x160939]of _0x87f5e5['entries']())if(_0x160939[_0x424b82(0x380)](_0x596fe2))return{'unitId':_0x3ddb4a,'subUnitId':_0x50c881};return null;}['sideEffectUpdateWorkerCache'](_0x1bfc05,_0x54b451,_0xaa4d3e,_0x4f82ac){const _0x1e7786=_0x4fc62e,_0x7b40f5=this[_0x1e7786(0x1f7)](_0x1bfc05,_0x54b451);_0x4f82ac?_0x7b40f5[_0x1e7786(0x3e1)](_0xaa4d3e,_0x4f82ac):_0x7b40f5['delete'](_0xaa4d3e),this[_0x1e7786(0x2b7)][_0x1e7786(0x23c)]({'unitId':_0x1bfc05,'subUnitId':_0x54b451,'pivotTableId':_0xaa4d3e});}[_0x4fc62e(0x224)](){const _0x3029ba=_0x4fc62e;super[_0x3029ba(0x224)]();}[_0x4fc62e(0x2dc)](_0x97857c,_0x5307cf,_0x44e04a){const _0x11a5ef=_0x4fc62e;var _0x4385b8,_0x4c8088;const _0x1946b2=(_0x4c8088=(_0x4385b8=this[_0x11a5ef(0x264)]['get'](_0x97857c))==null?void 0x0:_0x4385b8[_0x11a5ef(0x304)](_0x5307cf))==null?void 0x0:_0x4c8088['get'](_0x44e04a);return _0x1946b2||null;}[_0x4fc62e(0x3c0)](_0x1bcd9e){const _0x57e74b=_0x4fc62e;this[_0x57e74b(0x1bd)](_0x1bcd9e);}[_0x4fc62e(0x1bd)](_0x5834cf){const _0xd60c9d=_0x4fc62e,{token:_0x478fa9,unitId:_0x2c21f4,subUnitId:_0x1dc1ee}=_0x5834cf,_0x23981d=_0x2c21f4+'-'+_0x1dc1ee+'-'+_0x478fa9;this['_queryingMap']['get'](_0x23981d)&&clearTimeout(this[_0xd60c9d(0x354)][_0xd60c9d(0x304)](_0x23981d));const _0x5a998c=setTimeout(()=>{const _0x28755f=_0xd60c9d;this[_0x28755f(0x2ad)](_0x5834cf),this[_0x28755f(0x354)]['delete'](_0x23981d);},_0x3c08f9);this[_0xd60c9d(0x354)][_0xd60c9d(0x3e1)](_0x23981d,_0x5a998c);}[_0x4fc62e(0x2ad)](_0x469832){const _0x4bfb7f=_0x4fc62e,{unitId:_0x3995ff,subUnitId:_0x5e3225,token:_0x474fde,type:_0x19e09b,pivotConfig:_0x50ccb4}=_0x469832,_0x162d20=this[_0x4bfb7f(0x358)](_0x474fde),_0x106047=_0x162d20==null?void 0x0:_0x162d20['query'](),_0x46ae30=_0x50ccb4!=null?_0x50ccb4:this[_0x4bfb7f(0x492)](_0x3995ff,_0x5e3225,_0x474fde);_0x46ae30&&(_0x46ae30['isEmpty']=!!(_0x162d20!=null&&_0x162d20['isEmpty']())),(_0x106047||_0x19e09b===_0x5965b8[_0x4bfb7f(0x445)])&&this[_0x4bfb7f(0x464)](_0x3995ff,_0x5e3225,_0x19e09b,_0x474fde,_0x106047,_0x46ae30,this['getDataFieldManager'](_0x3995ff)[_0x4bfb7f(0x43a)]());}[_0x4fc62e(0x43a)](_0x36d64f){const _0x40bb8e=_0x4fc62e,_0x198413={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x40bb8e(0x313)](_0x36d64f)&&(_0x198413[_0x40bb8e(0x353)][_0x36d64f]=this[_0x40bb8e(0x313)](_0x36d64f)[_0x40bb8e(0x43a)]()),this['_model']['get'](_0x36d64f)){_0x198413[_0x40bb8e(0x37b)][_0x36d64f]={};const _0x530e79=this[_0x40bb8e(0x40a)][_0x40bb8e(0x304)](_0x36d64f);_0x530e79!=null&&_0x530e79[_0x40bb8e(0x321)]&&[..._0x530e79[_0x40bb8e(0x315)]()]['forEach'](_0x429360=>{const _0x3d4c1d=_0x40bb8e,_0x5be563=_0x530e79['get'](_0x429360);_0x5be563!=null&&_0x5be563['size']&&(_0x198413[_0x3d4c1d(0x37b)][_0x36d64f][_0x429360]={},[..._0x5be563[_0x3d4c1d(0x315)]()][_0x3d4c1d(0x268)](_0x5a3fe4=>{const _0x429fcc=_0x3d4c1d,_0x5da126=_0x5be563['get'](_0x5a3fe4);_0x5da126&&(_0x198413[_0x429fcc(0x37b)][_0x36d64f][_0x429360][_0x5a3fe4]=_0x5da126);}));});}return _0x198413;}['fromJSON'](_0x55b9bd){const _0xe1453e=_0x4fc62e;var _0x8518b0;const {dataFieldManagerConfig:_0x249ec7,pivotTableConfigs:_0x42d586}=_0x55b9bd;_0x249ec7&&Object[_0xe1453e(0x315)](_0x249ec7)[_0xe1453e(0x268)](_0x49e833=>{const _0x27fff9=_0xe1453e;this[_0x27fff9(0x313)](_0x49e833)[_0x27fff9(0x245)](_0x249ec7[_0x49e833]);});const _0x200374=[];if(_0x42d586){const _0x940ab9=(_0x8518b0=this[_0xe1453e(0x3a6)][_0xe1453e(0x304)](_0x39685c[_0xe1453e(0x2e3)])['getConfig'](_0x5f1ced['LS_CONFIG_KEY']))!=null?_0x8518b0:{},{ls:_0x20356c,pbk:_0x11539d}=_0x940ab9,_0x9a4e3c=_0x52f6f9(_0x377c9c,_0x20356c,_0x11539d)[_0xe1453e(0x38d)];Object[_0xe1453e(0x315)](_0x42d586)[_0xe1453e(0x268)](_0x5939e2=>{const _0x492a5f=_0xe1453e;let _0x2129eb=0x0;const _0xbfdefb=_0x42d586[_0x5939e2];Object[_0x492a5f(0x315)](_0xbfdefb)[_0x492a5f(0x268)](_0x10c11c=>{const _0x4e1f2a=_0x492a5f,_0x73490c=_0xbfdefb[_0x10c11c];Object['keys'](_0x73490c)[_0x4e1f2a(0x268)](_0x40832f=>{const _0x46df78=_0x4e1f2a,_0x12f738=_0x73490c[_0x40832f];if(_0x12f738){if(_0x2129eb>=_0x9a4e3c)return;_0x2129eb++;const _0x6142e4=this[_0x46df78(0x313)](_0x5939e2),_0x33b07f=_0x6142e4[_0x46df78(0x2a6)][_0x40832f],_0x487c87=_0x33b07f['getFieldIds']();let _0x2759ac=0x0;const _0x28cc3c=[];for(const _0x1d18a6 of _0x487c87){const _0x47feb9=_0x33b07f[_0x46df78(0x19b)](_0x1d18a6);if(_0x27cc4c['isBaseGroupField'](_0x47feb9)){const _0x44b35a=_0x47feb9['getOriginFieldId'](),_0x4181ee=_0x33b07f[_0x46df78(0x19b)](_0x44b35a);_0x4181ee&&_0x28cc3c[_0x46df78(0x458)]([_0x47feb9,_0x4181ee]);continue;}_0x6142e4[_0x46df78(0x3f4)](_0x1d18a6,_0x12f738['sourceRangeInfo'],_0x2759ac),_0x2759ac++;}_0x28cc3c[_0x46df78(0x268)](([_0x5be7d5,_0x41805e])=>{const _0x1c3a98=_0x46df78;_0x5be7d5[_0x1c3a98(0x1ca)](_0x41805e);});const _0x572f4c=new _0x27cc4c['PivotTable'](_0x33b07f);_0x572f4c[_0x46df78(0x245)](_0x12f738[_0x46df78(0x3a8)]),this[_0x46df78(0x49e)](_0x5939e2,_0x10c11c,_0x40832f,_0x572f4c,_0x12f738);const _0x2bdc17=_0x572f4c[_0x46df78(0x408)]();_0x200374[_0x46df78(0x458)]({'unitId':_0x5939e2,'subUnitId':_0x10c11c,'pivotTableId':_0x40832f,'view':_0x2bdc17[_0x46df78(0x43a)](),'pivotConfig':_0x12f738,'type':_0x5965b8[_0x46df78(0x2eb)]});const _0x1deb7d=!!_0x572f4c[_0x46df78(0x206)](),_0xae5ec6={'view':_0x2bdc17,'pivotTableId':_0x40832f,'textInfo':this[_0x46df78(0x1c2)](),'isEmpty':_0x1deb7d,'targetCellInfo':_0x12f738[_0x46df78(0x2b6)]};this[_0x46df78(0x2bc)](_0xae5ec6,!0x1);}});});});}_0x249ec7&&Object[_0xe1453e(0x315)](_0x249ec7)['forEach'](_0xb680af=>{const _0x5141ad=_0xe1453e,_0x4600de=this[_0x5141ad(0x313)](_0xb680af);this[_0x5141ad(0x29a)]['next'](_0x4600de[_0x5141ad(0x2a6)]);}),this[_0xe1453e(0x39a)][_0xe1453e(0x415)](_0x3552c1['id'],{'batch':_0x200374,'collectionConfig':_0x249ec7},{'onlyLocal':!0x0});}[_0x4fc62e(0x1d2)](){const _0x4091fd=_0x4fc62e;this[_0x4091fd(0x409)](this['_resourceManagerService'][_0x4091fd(0x23d)]({'toJson':_0x4ddad1=>JSON[_0x4091fd(0x235)](this[_0x4091fd(0x43a)](_0x4ddad1)),'parseJson':_0x1a49e4=>{const _0x2b10bc=_0x4091fd;if(!_0x1a49e4)return{};try{return JSON[_0x2b10bc(0x3bb)](_0x1a49e4);}catch{return{};}},'businesses':[_0x39685c[_0x4091fd(0x23f)][_0x4091fd(0x384)]],'pluginName':_0x34bdfb,'onLoad':(_0x54c095,_0x2168d8)=>{this['fromJSON'](_0x2168d8);},'onUnLoad':_0x361d61=>{this['deleteUnitId'](_0x361d61);}}));}},_0xb1f452['SheetsPivotDataSourceModel']=_0x2d7690([_0x4803d0(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x4803d0(0x1,_0x39685c[_0x4fc62e(0x21f)]),_0x4803d0(0x2,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x3db)])),_0x4803d0(0x3,_0x39685c[_0x4fc62e(0x2e3)]),_0x4803d0(0x4,_0x39685c['ICommandService']),_0x4803d0(0x5,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x3b9)]))],_0xb1f452[_0x4fc62e(0x19c)]);const _0x164fda={0x0:{0x0:{'v':'filter','s':_0x1e5041}},0x2:{0x1:{'v':'','s':_0x1e5041},0x2:{'v':'','s':_0x1e5041},0x3:{'v':_0x4fc62e(0x1d1),'s':_0x1e5041},0x4:{'v':'','s':_0x1e5041},0x5:{'v':'','s':_0x1e5041}},0x3:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x4:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x5:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x6:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x7:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x8:{0x0:{'v':_0x4fc62e(0x466),'s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':_0x4fc62e(0x35d),'s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0x9:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0xa:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0xb:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0xc:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}},0xd:{0x0:{'v':'','s':_0x1e5041},0x1:{'v':'','s':_0x57a81e},0x2:{'v':'','s':_0x57a81e},0x3:{'v':'','s':_0x57a81e},0x4:{'v':'','s':_0x57a81e},0x5:{'v':'','s':_0x57a81e}}},_0x22f65b={'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':[]},_0x3674f3=(_0x3a525f,_0x110fab)=>{const _0x1634b4=_0x4fc62e,_0x4353f3=new _0x39685c[(_0x1634b4(0x405))](),_0x4a3293=new _0x39685c[(_0x1634b4(0x405))](_0x164fda),{row:_0xed828b,col:_0x3504e2}=_0x110fab;_0x4a3293[_0x1634b4(0x21e)]((_0x15eaaf,_0x3e54d3,_0x26771f)=>{const _0x3866e4=_0x1634b4;let _0x15aafe='';_0x26771f['v']===_0x3866e4(0x1e8)?_0x15aafe=_0x3a525f['filter']:_0x26771f['v']===_0x3866e4(0x466)?_0x15aafe=_0x3a525f[_0x3866e4(0x466)]:_0x26771f['v']===_0x3866e4(0x1d1)?_0x15aafe=_0x3a525f[_0x3866e4(0x1d1)]:_0x26771f['v']===_0x3866e4(0x35d)&&(_0x15aafe=_0x3a525f[_0x3866e4(0x35d)]),_0x4353f3[_0x3866e4(0x391)](_0x15eaaf+_0xed828b,_0x3e54d3+_0x3504e2,{..._0x26771f,'v':_0x15aafe});});const _0x287d2d=_0x39685c['Tools'][_0x1634b4(0x418)](_0x22f65b);return Object[_0x1634b4(0x315)](_0x22f65b)['forEach'](_0xca61fc=>{const _0x25ca11=_0x1634b4;_0x287d2d[_0xca61fc]=_0x22f65b[_0xca61fc][_0x25ca11(0x27d)](_0x15d985=>({..._0x15d985,'startRow':_0x15d985[_0x25ca11(0x43c)]+_0xed828b,'endRow':_0x15d985['endRow']+_0xed828b,'startColumn':_0x15d985[_0x25ca11(0x3d2)]+_0x3504e2,'endColumn':_0x15d985[_0x25ca11(0x25c)]+_0x3504e2}));}),{'matrixCache':_0x4353f3,'rangesCache':_0x287d2d};};function _0x5f4639(_0x82aad8,_0x159934){const _0x1cf0b0=_0x4fc62e;let _0x2ff6dc='';const _0x3af02e=this[_0x1cf0b0(0x1c2)]();switch(_0x159934){case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x406)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x3c3)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x38d)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x27c)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x461)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x3e0)]+_0x82aad8;break;case _0x27cc4c['PivotSubtotalTypeEnum'][_0x1cf0b0(0x2ac)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x2cd)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x393)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x263)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x307)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x22c)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)]['stdDev']:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x1e5)]+_0x82aad8;break;case _0x27cc4c['PivotSubtotalTypeEnum'][_0x1cf0b0(0x289)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x2e5)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x2b2)]:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x49c)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)]['var']:_0x2ff6dc=_0x3af02e[_0x1cf0b0(0x322)]+_0x82aad8;break;case _0x27cc4c[_0x1cf0b0(0x3e9)][_0x1cf0b0(0x35e)]:_0x2ff6dc=_0x3af02e['sheets-pivot.varpName']+_0x82aad8;break;default:_0x2ff6dc=_0x82aad8;break;}return _0x2ff6dc;}function _0x574201(_0x5433ad,_0x1b7417,_0x37b848,_0x3cffaa,_0x9ac16d){const _0x2bb588=_0x4fc62e;var _0xc38def,_0x4c921f,_0x80e7d2,_0x118bd5,_0x978b3d;const _0x23faaa=_0x39685c[_0x2bb588(0x237)](_0x5433ad,_0x1b7417),{rangesInfo:_0x223d5f,areaInfo:_0x5331be,headerMap:_0x4c79f6}=_0x9ac16d;if(!_0x223d5f||!_0x5331be||!_0x4c79f6)return;const _0x90c2b0=Object[_0x2bb588(0x315)](_0x223d5f)[_0x2bb588(0x433)](_0x147cf1=>_0x223d5f[_0x147cf1][_0x2bb588(0x2e0)](_0x363f78=>_0x39685c[_0x2bb588(0x3d6)][_0x2bb588(0x318)](_0x363f78,_0x23faaa))),_0xf7403=_0x5331be;let _0x247749,_0x36442f,_0x25c0f6;if(_0x90c2b0===_0x2bb588(0x28c))_0x247749=(_0xc38def=_0xf7403==null?void 0x0:_0xf7403[_0x2bb588(0x3ef)])==null?void 0x0:_0xc38def[_0x5433ad],_0x36442f=(_0x4c921f=_0x4c79f6==null?void 0x0:_0x4c79f6['rowHeaderMap'])==null?void 0x0:_0x4c921f[_0x1b7417],_0x25c0f6=_0x36442f==null?void 0x0:_0x36442f[_0x2bb588(0x48a)];else{if(_0x90c2b0===_0x2bb588(0x43b))_0x247749=(_0x80e7d2=_0xf7403==null?void 0x0:_0xf7403[_0x2bb588(0x1c5)])==null?void 0x0:_0x80e7d2[_0x1b7417],_0x36442f=(_0x118bd5=_0x4c79f6[_0x2bb588(0x2d1)])==null?void 0x0:_0x118bd5[_0x5433ad+0x1+_0x1b7417-_0x223d5f[_0x2bb588(0x43b)][0x0][_0x2bb588(0x3d2)]],_0x25c0f6=_0x36442f==null?void 0x0:_0x36442f[_0x2bb588(0x48a)];else{if(_0x90c2b0===_0x2bb588(0x2f8))_0x247749=(_0x978b3d=_0xf7403==null?void 0x0:_0xf7403[_0x2bb588(0x27b)])==null?void 0x0:_0x978b3d[_0x1b7417],_0x25c0f6=_0x247749==null?void 0x0:_0x247749['tableFieldId'];else{if(_0x90c2b0===_0x2bb588(0x2d0)){const _0x314357=_0x37b848==null?void 0x0:_0x37b848['fi'];_0x314357!==void 0x0&&(_0x25c0f6=_0x3cffaa[_0x2bb588(0x48d)](_0x314357));}}}}return{'filterId':_0x25c0f6,'info':_0x247749,'data':_0x37b848,'headerInfo':_0x36442f};}function _0x149caa(_0x1cfdbb,_0x43ffd0,_0x25b032){const _0x486e73=_0x4fc62e,_0x476651=_0x1cfdbb[_0x486e73(0x386)],_0x41c7f8=_0x476651[_0x486e73(0x37e)](),_0x4ddf90=new Set();_0x1cfdbb['iterateField'](_0x5c3f9e=>{const _0x46d82d=_0x486e73;_0x4ddf90['add'](_0x5c3f9e[_0x46d82d(0x3bf)]);});const _0x46832a=_0x41c7f8[_0x486e73(0x27d)](_0x28101e=>{const _0x3b463c=_0x486e73,_0x5f2215=_0x476651[_0x3b463c(0x19b)](_0x28101e);return{'checked':_0x4ddf90['has'](_0x28101e),'dataFieldId':_0x5f2215['id'],'id':_0x5f2215['id'],'name':_0x476651[_0x3b463c(0x487)](_0x5f2215['id']),'type':_0x5f2215[_0x3b463c(0x3f6)](),'pivotTableId':_0x43ffd0};}),_0x455cc5=[];_0x1cfdbb[_0x486e73(0x3f8)](_0x27cc4c[_0x486e73(0x1c6)]['Row'],_0xf05344=>{const _0x6e973b=_0x486e73;_0x455cc5['push']({'dataFieldId':_0xf05344[_0x6e973b(0x3bf)],'tableFieldId':_0xf05344[_0x6e973b(0x2e1)](),'displayName':_0xf05344[_0x6e973b(0x487)]()});});const _0x5a5e97=[];_0x1cfdbb['iterateFieldByArea'](_0x27cc4c['PivotTableFiledAreaEnum'][_0x486e73(0x202)],_0x296fd4=>{const _0x18e255=_0x486e73;_0x5a5e97[_0x18e255(0x458)]({'dataFieldId':_0x296fd4[_0x18e255(0x3bf)],'tableFieldId':_0x296fd4['getId'](),'displayName':_0x296fd4['getDisplayName']()});});const _0x51dc9b=[];if(_0x1cfdbb['iterateFieldByArea'](_0x27cc4c['PivotTableFiledAreaEnum'][_0x486e73(0x1cf)],_0x9828db=>{const _0x5e9425=_0x486e73;_0x51dc9b[_0x5e9425(0x458)]({'dataFieldId':_0x9828db[_0x5e9425(0x3bf)],'tableFieldId':_0x9828db[_0x5e9425(0x2e1)](),'displayName':_0x9828db[_0x5e9425(0x487)](),'format':_0x9828db[_0x5e9425(0x256)](),'subTotalType':_0x9828db[_0x5e9425(0x48e)]()});}),_0x51dc9b[_0x486e73(0x2fd)]>0x1){const _0x12bda1=_0x1cfdbb[_0x486e73(0x35f)]();(_0x1cfdbb['isColMultiMeasure']()?_0x5a5e97:_0x455cc5)[_0x486e73(0x4a9)](_0x12bda1,0x0,{'dataFieldId':'','tableFieldId':_0x486e73(0x196),'displayName':'ΣValue'});}const _0x220195=[];_0x1cfdbb[_0x486e73(0x3f8)](_0x27cc4c[_0x486e73(0x1c6)][_0x486e73(0x41c)],_0x3151fc=>{const _0x44ae63=_0x486e73;_0x220195[_0x44ae63(0x458)]({'dataFieldId':_0x3151fc['dataFieldId'],'tableFieldId':_0x3151fc[_0x44ae63(0x2e1)](),'displayName':_0x3151fc[_0x44ae63(0x487)]()});});const _0x118c06=_0x25b032[_0x486e73(0x277)];return{'sourceList':_0x46832a,'sourceRange':_0x118c06,'rowFields':_0x455cc5,'columnFields':_0x5a5e97,'valueFields':_0x51dc9b,'filterFields':_0x220195,'positionInfo':_0x25b032[_0x486e73(0x2b6)]};}function _0x35d9b1(_0x1a4f14,_0x134d91,_0xad02fe='',_0x1c89c4={}){const _0x60fb9d=_0x4fc62e,_0x9f21d4=_0x1a4f14['get'](_0x39685c[_0x60fb9d(0x3b5)]);for(const _0x36c096 in _0x134d91)if(Object[_0x60fb9d(0x429)][_0x60fb9d(0x33c)][_0x60fb9d(0x27a)](_0x134d91,_0x36c096)){const _0x51f12a=_0xad02fe?_0xad02fe+'.'+_0x36c096:_0x36c096;typeof _0x134d91[_0x36c096]==_0x60fb9d(0x2a0)&&_0x134d91[_0x36c096]!==null&&!Array['isArray'](_0x134d91[_0x36c096])?_0x35d9b1(_0x1a4f14,_0x134d91[_0x36c096],_0x51f12a,_0x1c89c4):_0x1c89c4[_0x51f12a]=_0x9f21d4['t'](_0x51f12a);}return _0x1c89c4;}const _0x1839d9=_0x1cb00f=>{const _0x2ee835=_0x4fc62e;if(!_0x1cb00f)return[];const {rowRanges:_0x2bedae,colRanges:_0x1f61f6,cornerRanges:_0x1f6d63,dataRanges:_0x96a674,pageRanges:_0x534d65}=_0x1cb00f,_0x53c7d8=[..._0x1f61f6,..._0x2bedae,..._0x96a674,..._0x1f6d63][_0x2ee835(0x1e8)](_0x3b05d3=>_0x3b05d3['startRow']>=0x0&&_0x3b05d3[_0x2ee835(0x3d2)]>=0x0&&_0x3b05d3['endRow']>=0x0&&_0x3b05d3[_0x2ee835(0x25c)]>=0x0);let _0x48e801=Number[_0x2ee835(0x46b)],_0x94825c=Number[_0x2ee835(0x35b)],_0x117df0=Number[_0x2ee835(0x46b)],_0x3f8623=Number[_0x2ee835(0x35b)];for(let _0x36ee10=0x0;_0x36ee10<_0x53c7d8['length'];_0x36ee10++)_0x48e801=Math[_0x2ee835(0x393)](_0x48e801,_0x53c7d8[_0x36ee10][_0x2ee835(0x43c)]),_0x94825c=Math[_0x2ee835(0x2ac)](_0x94825c,_0x53c7d8[_0x36ee10][_0x2ee835(0x484)]),_0x117df0=Math['min'](_0x117df0,_0x53c7d8[_0x36ee10][_0x2ee835(0x3d2)]),_0x3f8623=Math[_0x2ee835(0x2ac)](_0x3f8623,_0x53c7d8[_0x36ee10][_0x2ee835(0x25c)]);return[..._0x534d65,{'startRow':_0x48e801,'endRow':_0x94825c,'startColumn':_0x117df0,'endColumn':_0x3f8623}];};function _0x289d11(_0x16c8c6,_0x176405){const _0xbae731=_0x4fc62e,_0x371047=_0x176405['params'][_0xbae731(0x2de)],{pivotTableId:_0x2a8818,unitId:_0x224eb0,subUnitId:_0x48402f}=_0x176405;if(!_0x371047)return;const _0x530745=_0x16c8c6[_0xbae731(0x304)](_0xb1f452[_0xbae731(0x19c)]),_0x3ba562=_0x530745[_0xbae731(0x358)](_0x2a8818),_0x21a320=_0x530745[_0xbae731(0x492)](_0x224eb0,_0x48402f,_0x2a8818);if(!_0x3ba562||!_0x21a320)return;const _0x5dfcc0=_0x3ba562[_0xbae731(0x211)](_0x371047[_0xbae731(0x431)]);if(!(_0x5dfcc0!=null&&_0x5dfcc0[_0xbae731(0x2fd)]))return;const _0x56f614=_0x21a320['sourceRangeInfo'],{unitId:_0x3613bf,subUnitId:_0x59e4ac,range:_0x5984f1}=_0x56f614;let _0x298c98=0x0;const _0x540864=_0x3ba562[_0xbae731(0x386)][_0xbae731(0x37e)]()[_0xbae731(0x40e)]((_0x266fe7,_0x12d3db)=>{var _0x59a742;const _0xe8c0e1=(_0x59a742=_0x3ba562['getDataFieldByDataFieldId'](_0x12d3db))==null?void 0x0:_0x59a742['getformat']();return _0xe8c0e1&&(_0x266fe7[String(_0x298c98)]=_0xe8c0e1),_0x298c98++,_0x266fe7;},{});return{'indexes':_0x5dfcc0,'range':_0x5984f1,'sourceUnitId':_0x3613bf,'sourceSubUnitId':_0x59e4ac,'formatMap':_0x540864};}function _0x4630ec(_0x232cd0,_0x57e045){const _0x3f9fa1=_0x4fc62e;if(!_0x232cd0||!_0x57e045)return!0x0;const _0x559c7a=_0x5f1ced[_0x3f9fa1(0x1d4)](_0x5881b9,_0x27c45c),_0x3ffda4=new Function(_0x3f9fa1(0x441)+_0x559c7a)()(_0x232cd0,_0x57e045)['message'],_0x90b2f7=_0x5f1ced[_0x3f9fa1(0x47f)](_0x3ffda4,'sf',_0xfec1b6);return!((_0x3ffda4==null?void 0x0:_0x3ffda4['rt'])===_0x5f1ced[_0x3f9fa1(0x266)]['NO_COMMERCIAL']&&!_0x90b2f7);}function _0x52f6f9(_0x12aaf4,_0x317ce4,_0x8f1ca8){const _0x26e660=_0x4fc62e,_0x6fd2ec={'count':_0x12aaf4,'timeValid':!0x1};if(!_0x317ce4||!_0x8f1ca8)return _0x6fd2ec;const _0x2c3b47=_0x5f1ced['unshiftString'](_0x5881b9,_0x27c45c),_0x5ee169=new Function('return\x20'+_0x2c3b47)()(_0x317ce4,_0x8f1ca8);if(_0x5ee169!=null&&_0x5ee169[_0x26e660(0x3de)]){const _0x31be06=_0x5ee169['message'],_0x27e09d=_0x5f1ced[_0x26e660(0x47f)](_0x31be06,'sf',_0xfec1b6);return{'count':_0x5f1ced[_0x26e660(0x26b)](_0x31be06,_0x27e09d,'ptn',_0x12aaf4,_0x12aaf4,0x0),'timeValid':_0x27e09d};}return _0x6fd2ec;}function _0x2a7192(_0x1a2587,_0x452f7b,_0x2eb63e,_0x3ada78){const _0xefcaf2=_0x4fc62e,_0x398741={'subUnitId':_0x2eb63e,'unitId':_0x452f7b,'cellValue':_0x3f53bd[_0xefcaf2(0x2e6)](_0x3ada78)},_0x2c4131=_0x3f53bd[_0xefcaf2(0x362)](_0x1a2587,_0x398741);let _0x46907a=!0x1;return new _0x39685c[(_0xefcaf2(0x405))](_0x2c4131[_0xefcaf2(0x443)])[_0xefcaf2(0x21e)]((_0x2ad4a0,_0x41dadc,_0xf6254)=>{const _0x50a535=_0xefcaf2;if(!_0x46907a&&_0xf6254&&(_0xf6254[_0x50a535(0x481)]||_0xf6254['f']||_0xf6254['p']||_0xf6254['s']||_0xf6254['si']||_0xf6254['t']||_0xf6254['v']))return _0x46907a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3f53bd['SetRangeValuesMutation']['id'],'params':_0x2c4131},'setRangeValueRedoMutation':{'id':_0x3f53bd['SetRangeValuesMutation']['id'],'params':_0x398741},'shouldClear':_0x46907a};}function _0x47aa70(_0x222c24){const {row:_0x3e2510,col:_0x27f00d}=_0x222c24,_0x4e06eb={'startRow':_0x3e2510,'endRow':_0x3e2510,'startColumn':_0x27f00d,'endColumn':_0x27f00d},_0x4ceaaf={'startRow':_0x3e2510+0x2,'endRow':_0x3e2510+0xe,'startColumn':_0x27f00d,'endColumn':_0x27f00d+0x6};return[_0x4e06eb,_0x4ceaaf];}function _0x2a7477(_0x2d6838,_0x3a118f,_0x16bb2a){const _0x364e94=_0x4fc62e,{cornerView:_0x4a20b6,rowView:_0x618aa8,colView:_0xb2b95a,pageView:_0x320e70}=_0x2d6838,{row:_0x11f534,col:_0x160b6f}=_0x3a118f;if(_0x16bb2a)return{'rowCount':_0xa2d47e+_0x11f534,'colCount':_0x236e3e+_0x160b6f};const _0x4ebd8b=_0x320e70[_0x364e94(0x2f3)]>-0x1?_0x320e70[_0x364e94(0x2f3)]+0x1:0x0,_0x5bfc05=_0x320e70[_0x364e94(0x37c)]>-0x1?_0x320e70[_0x364e94(0x37c)]:0x0,_0x34ee6e=_0x11f534+_0x4ebd8b+(_0x4ebd8b?0x1:0x0)+_0x4a20b6[_0x364e94(0x250)]+_0x618aa8[_0x364e94(0x250)],_0x4c4a6c=_0x160b6f+_0x5bfc05,_0x2430fb=_0x160b6f+_0x4a20b6[_0x364e94(0x3fe)]+_0xb2b95a[_0x364e94(0x3fe)],_0x5a78a7=Math[_0x364e94(0x2ac)](_0x4c4a6c,_0x2430fb);return{'rowCount':_0x34ee6e,'colCount':_0x5a78a7};}function _0x5176ce(_0xcc5316,_0x3fcf42,_0xf823e,_0x13eb44){const _0x261dc5=_0x4fc62e,{row:_0x184ce7,col:_0x36a84d,unitId:_0x24c394,subUnitId:_0x1ddeb1}=_0xf823e,_0x3bb9d9=_0x2a7477(_0x3fcf42,{'row':_0x184ce7,'col':_0x36a84d},_0x13eb44),_0x4abc0f=_0xcc5316[_0x261dc5(0x304)](_0x39685c['IUniverInstanceService']),_0x3c73ac=_0x3f53bd[_0x261dc5(0x1f9)](_0x4abc0f,{'unitId':_0x24c394,'subUnitId':_0x1ddeb1}),_0x27b64c=[],_0x386d6f=[];if(!_0x3c73ac)return{'undos':_0x386d6f,'redos':_0x27b64c};const {worksheet:_0x54370f}=_0x3c73ac,_0x1fb441=_0x54370f[_0x261dc5(0x3c8)](),_0x1ec4a0=_0x54370f[_0x261dc5(0x427)]();return _0x1fb441<_0x3bb9d9['rowCount']&&(_0x27b64c[_0x261dc5(0x458)]({'id':_0x3f53bd[_0x261dc5(0x243)]['id'],'params':{'unitId':_0x24c394,'subUnitId':_0x1ddeb1,'range':{'startRow':_0x1fb441,'endRow':_0x3bb9d9[_0x261dc5(0x250)]-0x1,'startColumn':0x0,'endColumn':_0x1ec4a0-0x1}}}),_0x386d6f['push']({'id':_0x3f53bd['RemoveRowMutation']['id'],'params':{'unitId':_0x24c394,'subUnitId':_0x1ddeb1,'range':{'startRow':_0x1fb441,'endRow':_0x3bb9d9[_0x261dc5(0x250)]-0x1,'startColumn':0x0,'endColumn':_0x1ec4a0-0x1}}})),_0x1ec4a0<_0x3bb9d9['colCount']&&(_0x27b64c[_0x261dc5(0x458)]({'id':_0x3f53bd[_0x261dc5(0x2e9)]['id'],'params':{'unitId':_0x24c394,'subUnitId':_0x1ddeb1,'range':{'startRow':0x0,'endRow':_0x1fb441-0x1,'startColumn':_0x1ec4a0,'endColumn':_0x3bb9d9['colCount']-0x1}}}),_0x386d6f['push']({'id':_0x3f53bd[_0x261dc5(0x496)]['id'],'params':{'unitId':_0x24c394,'subUnitId':_0x1ddeb1,'range':{'startRow':0x0,'endRow':_0x1fb441-0x1,'startColumn':_0x1ec4a0,'endColumn':_0x3bb9d9[_0x261dc5(0x3fe)]-0x1}}})),{'undos':_0x386d6f,'redos':_0x27b64c};}function _0x561dea(_0x59ac15){const _0x28f781=_0x4fc62e;let _0x26ae88=0x0;for(let _0x127ea1=0x0;_0x127ea1<_0x59ac15[_0x28f781(0x2fd)];_0x127ea1++){const _0x4ec320=_0x59ac15['charCodeAt'](_0x127ea1);_0x4ec320>=0x4e00&&_0x4ec320<=0x9fff||_0x4ec320>=0x3000&&_0x4ec320<=0x303f||_0x4ec320>=0xff00&&_0x4ec320<=0xffef?_0x26ae88+=0x2:_0x26ae88+=0x1;}return _0x26ae88;}function _0xdb61f4(_0x53f814,_0x5cc03a,_0x343177,_0xf9c4bb){const _0x3d1785=_0x4fc62e;var _0x5c52ce,_0x31ca11,_0x561820,_0x10d1b1;const {rowCount:_0x4b1e04,colCount:_0x41d7ea,headerMap:_0x405f6c}=_0x53f814,_0x44a4de=0x64,_0x2296e4=Math[_0x3d1785(0x393)](_0x4b1e04,_0x44a4de),_0x32dafc=Math[_0x3d1785(0x393)](_0x41d7ea,_0x44a4de);let _0x1c196f='',_0xe33737=0x0;for(let _0x1cbb58=0x0;_0x1cbb58<_0x2296e4;_0x1cbb58++)for(let _0x1e366f=0x0;_0x1e366f<_0x32dafc;_0x1e366f++){const _0x196b20={...(_0x31ca11=(_0x5c52ce=_0x53f814[_0x3d1785(0x365)])==null?void 0x0:_0x5c52ce[_0x1cbb58])==null?void 0x0:_0x31ca11[_0x1e366f]},_0x524bb2=(_0x561820=_0x405f6c[_0x1cbb58])==null?void 0x0:_0x561820[_0x3d1785(0x48a)],_0x81eb91=_0xf9c4bb[_0x524bb2];let _0x2d173d=_0x53f814[_0x3d1785(0x2c1)](_0x1cbb58,_0x1e366f);if(_0x196b20){const _0x3ff501=_0x343177?_0x1e366f===0x0&&((_0x10d1b1=_0x53f814[_0x3d1785(0x22e)](_0x1e366f+0x1))==null?void 0x0:_0x10d1b1[_0x3d1785(0x44d)]):!0x1;_0x2d173d=_0xdd9b93(_0x196b20,_0x3ff501,_0x81eb91,_0x5cc03a);}if(_0x2d173d!==void 0x0){const _0x39d6e3=_0x561dea(String(_0x2d173d));_0xe33737<_0x39d6e3&&(_0x1c196f=String(_0x2d173d),_0xe33737=_0x39d6e3);}}return _0x1c196f;}function _0x83dc78(_0x3466e5){const _0x48d892=_0x4fc62e,{rowCount:_0x2b3b59,colCount:_0xd32fd1}=_0x3466e5;let _0x4b11a7='',_0x28e149=0x0;for(let _0x3df4e5=_0x2b3b59-0x1;_0x3df4e5>0x0&&_0x3df4e5>_0x2b3b59-0x3;_0x3df4e5--)for(let _0xd81069=0x0;_0xd81069<_0xd32fd1;_0xd81069++){const _0x1dfd45=_0x3466e5[_0x48d892(0x2c1)](_0x3df4e5,_0xd81069);if(_0x1dfd45!==void 0x0){const _0x24c611=String(_0x1dfd45)[_0x48d892(0x2fd)];_0x28e149<_0x24c611&&(_0x4b11a7=String(_0x1dfd45),_0x28e149=_0x24c611);}}return _0x4b11a7;}function _0x4f1af6(_0x14f1fe){const _0x1195eb=_0x4fc62e,{rowCount:_0x547f48,colCount:_0x5605da}=_0x14f1fe;let _0xa47679='',_0x4d692b=0x0;for(let _0x31f7c3=0x0;_0x31f7c3<_0x547f48;_0x31f7c3++)for(let _0x2f1806=0x0;_0x2f1806<_0x5605da;_0x2f1806++){const _0x1ec5aa=_0x14f1fe[_0x1195eb(0x2c1)](_0x31f7c3,_0x2f1806);if(_0x1ec5aa!==void 0x0){const _0xae9b74=String(_0x1ec5aa)[_0x1195eb(0x2fd)];_0x4d692b<_0xae9b74&&(_0xa47679=String(_0x1ec5aa),_0x4d692b=_0xae9b74);}}return _0xa47679;}function _0xfc3b29(_0x1a1a93,_0x40a813){const _0x295307=_0x4fc62e,{rowFields:_0x2b9e54,columnFields:_0x197778,valueFields:_0x46407d,filterFields:_0x2738df,dimension:_0x1b890f,measure:_0x198397}=_0x40a813;for(const _0x2bc677 of _0x2b9e54){const _0x2bee15=_0x1b890f[_0x2bc677];_0x2bee15&&_0x1a1a93[_0x295307(0x38b)](_0x2bee15[_0x295307(0x3bf)])&&(_0x1a1a93[_0x295307(0x3ee)](_0x2bee15[_0x295307(0x3bf)],_0x27cc4c[_0x295307(0x1c6)]['Row'],void 0x0,_0x2bc677),_0x2bee15['displayName']&&_0x1a1a93[_0x295307(0x233)](_0x2bee15['id'],_0x2bee15[_0x295307(0x294)]),_0x2bee15[_0x295307(0x1b5)]&&_0x1a1a93[_0x295307(0x378)](_0x2bee15['id'],_0x2bee15[_0x295307(0x1b5)]),_0x2bee15[_0x295307(0x283)]&&_0x1a1a93[_0x295307(0x29f)](_0x2bee15['id'],_0x2bee15[_0x295307(0x283)]));}for(const _0x2df1a6 of _0x197778){const _0x589724=_0x1b890f[_0x2df1a6];_0x589724&&_0x1a1a93['getDataFieldByDataFieldId'](_0x589724['dataFieldId'])&&(_0x1a1a93[_0x295307(0x3ee)](_0x589724['dataFieldId'],_0x27cc4c['PivotTableFiledAreaEnum'][_0x295307(0x202)],void 0x0,_0x2df1a6),_0x589724[_0x295307(0x1b5)]&&_0x1a1a93[_0x295307(0x378)](_0x589724['id'],_0x589724['sortInfo']),_0x589724[_0x295307(0x283)]&&_0x1a1a93['setLabelFilterInfo'](_0x589724['id'],_0x589724[_0x295307(0x283)]),_0x589724['displayName']&&_0x1a1a93[_0x295307(0x233)](_0x589724['id'],_0x589724[_0x295307(0x294)]));}for(const _0x509e59 of _0x2738df){const _0x45d71d=_0x1b890f[_0x509e59];_0x45d71d&&_0x1a1a93[_0x295307(0x38b)](_0x45d71d[_0x295307(0x3bf)])&&(_0x1a1a93[_0x295307(0x3ee)](_0x45d71d[_0x295307(0x3bf)],_0x27cc4c[_0x295307(0x1c6)]['Filter'],void 0x0,_0x509e59),_0x45d71d[_0x295307(0x1b5)]&&_0x1a1a93[_0x295307(0x378)](_0x45d71d['id'],_0x45d71d[_0x295307(0x1b5)]),_0x45d71d[_0x295307(0x283)]&&_0x1a1a93[_0x295307(0x29f)](_0x45d71d['id'],_0x45d71d[_0x295307(0x283)]),_0x45d71d['displayName']&&_0x1a1a93['renameField'](_0x45d71d['id'],_0x45d71d[_0x295307(0x294)]));}for(const _0x339656 of _0x46407d){const _0x5c9a1f=_0x198397[_0x339656];_0x5c9a1f&&_0x1a1a93[_0x295307(0x38b)](_0x5c9a1f['dataFieldId'])&&(_0x1a1a93['addFieldWithSourceId'](_0x5c9a1f[_0x295307(0x3bf)],_0x27cc4c[_0x295307(0x1c6)][_0x295307(0x1cf)],void 0x0,_0x339656),_0x5c9a1f[_0x295307(0x257)]!==void 0x0&&_0x1a1a93[_0x295307(0x1d8)](_0x339656,_0x5c9a1f[_0x295307(0x257)]),_0x5c9a1f['format']&&_0x1a1a93[_0x295307(0x428)](_0x339656,_0x5c9a1f[_0x295307(0x373)]),_0x5c9a1f[_0x295307(0x294)]&&_0x1a1a93[_0x295307(0x233)](_0x5c9a1f['id'],_0x5c9a1f[_0x295307(0x294)]));}const _0x9eb5d4=_0x40a813[_0x295307(0x3f5)];for(const {fieldId:_0x43f878,filterInfo:_0x3df418}of _0x9eb5d4)_0x1a1a93[_0x295307(0x208)](_0x43f878,_0x3df418);}function _0x390087(_0x2530ec,_0x27ad9e){const _0x30f1a3=_0x4fc62e,_0x365909=[];_0x27ad9e===_0x27cc4c[_0x30f1a3(0x1c6)]['Row']&&_0x2530ec[_0x30f1a3(0x3f8)](_0x27cc4c[_0x30f1a3(0x1c6)]['Row'],_0x3b9175=>{const _0x5c0cc1=_0x30f1a3;_0x365909[_0x5c0cc1(0x458)](_0x3b9175[_0x5c0cc1(0x2e1)]());}),_0x27ad9e===_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x202)]&&_0x2530ec['iterateFieldByArea'](_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x202)],_0x5950d8=>{const _0x2997f2=_0x30f1a3;_0x365909[_0x2997f2(0x458)](_0x5950d8[_0x2997f2(0x2e1)]());}),_0x27ad9e===_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x41c)]&&_0x2530ec['iterateFieldByArea'](_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x41c)],_0x57ca07=>{_0x365909['push'](_0x57ca07['getId']());}),_0x27ad9e===_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x1cf)]&&_0x2530ec[_0x30f1a3(0x3f8)](_0x27cc4c[_0x30f1a3(0x1c6)][_0x30f1a3(0x1cf)],_0x49c145=>{const _0x11fa3c=_0x30f1a3;_0x365909[_0x11fa3c(0x458)](_0x49c145[_0x11fa3c(0x2e1)]());}),_0x27ad9e===void 0x0&&_0x2530ec[_0x30f1a3(0x3d8)](_0x164207=>{const _0x39a946=_0x30f1a3;_0x365909['push'](_0x164207[_0x39a946(0x2e1)]());});const _0x10dc65=_0x365909['length'];for(let _0x4d3c6c=_0x10dc65-0x1;_0x4d3c6c>=0x0;_0x4d3c6c--)_0x2530ec[_0x30f1a3(0x280)](_0x365909[_0x4d3c6c]);const _0x11c524=_0x2530ec[_0x30f1a3(0x1a6)]();for(const _0x351e10 in _0x11c524)_0x2530ec[_0x30f1a3(0x421)](_0x351e10);}function _0x3a2396(_0x9aa60e,_0x310054){const _0x11efb3=_0x4fc62e,_0x506a86=new Date(_0x27cc4c['excelDateToUnixMilliseconds'](_0x310054)),_0x2282dc=new Date(_0x27cc4c['excelDateToUnixMilliseconds'](_0x9aa60e)),_0x261aca=_0x506a86[_0x11efb3(0x40b)](),_0x156391=_0x2282dc[_0x11efb3(0x40b)](),_0x29a47c=_0x506a86[_0x11efb3(0x33e)](),_0x558cac=_0x2282dc[_0x11efb3(0x33e)](),_0x3f5a9a=_0x506a86[_0x11efb3(0x279)](),_0x12a3f7=_0x2282dc[_0x11efb3(0x279)](),_0xd5d395=_0x261aca===_0x156391,_0x27d1b4=_0xd5d395&&_0x29a47c===_0x558cac;return _0xd5d395&&_0x27d1b4&&!(_0x27d1b4&&_0x3f5a9a===_0x12a3f7)?_0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0x11efb3(0x34c)]:_0xd5d395&&!_0x27d1b4?_0x27cc4c[_0x11efb3(0x3d1)]['YearMonth']:_0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0x11efb3(0x248)];}function _0x55ae03(_0x4d027a,_0x237bd1){const _0x1dc9f5=_0x4fc62e,_0x2fca7b=_0x4d027a[_0x1dc9f5(0x304)](_0xb1f452[_0x1dc9f5(0x19c)])[_0x1dc9f5(0x1c2)]();let _0x5c2cc1='';switch(_0x237bd1){case _0x27cc4c[_0x1dc9f5(0x3d1)][_0x1dc9f5(0x34c)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x2d5)];break;case _0x27cc4c[_0x1dc9f5(0x3d1)][_0x1dc9f5(0x3e4)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x3cf)];break;case _0x27cc4c[_0x1dc9f5(0x3d1)]['Year']:_0x5c2cc1=_0x2fca7b['sheets-pivot.dateGroup.year'];break;case _0x27cc4c['PivotDateGroupFieldDateTypeEnum']['Month']:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x46a)];break;case _0x27cc4c[_0x1dc9f5(0x3d1)][_0x1dc9f5(0x200)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x482)];break;case _0x27cc4c[_0x1dc9f5(0x3d1)]['Date']:_0x5c2cc1=_0x2fca7b['sheets-pivot.dateGroup.date'];break;case _0x27cc4c[_0x1dc9f5(0x3d1)][_0x1dc9f5(0x1b3)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x400)];break;case _0x27cc4c[_0x1dc9f5(0x3d1)][_0x1dc9f5(0x48c)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x26e)];break;case _0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0x1dc9f5(0x345)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x45b)];break;case _0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0x1dc9f5(0x231)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x1e1)];break;case _0x27cc4c['PivotDateGroupFieldDateTypeEnum'][_0x1dc9f5(0x244)]:_0x5c2cc1=_0x2fca7b[_0x1dc9f5(0x19f)];break;default:_0x5c2cc1='';break;}return _0x5c2cc1;}const _0x3410c0=_0x4fc62e(0x1dd),_0x3561b1={};var _0x4f0a53=Object[_0x4fc62e(0x4ab)],_0xaeda02=(_0x3693a6,_0x4df652,_0x3fa8be,_0x5d3891)=>{for(var _0x362333=_0x5d3891>0x1?void 0x0:_0x5d3891?_0x4f0a53(_0x4df652,_0x3fa8be):_0x4df652,_0x1f8839=_0x3693a6['length']-0x1,_0x1fdd17;_0x1f8839>=0x0;_0x1f8839--)(_0x1fdd17=_0x3693a6[_0x1f8839])&&(_0x362333=_0x1fdd17(_0x362333)||_0x362333);return _0x362333;},_0x2a041e=(_0x261327,_0x36f02c)=>(_0x44f3be,_0x2d0e84)=>_0x36f02c(_0x44f3be,_0x2d0e84,_0x261327);_0xb1f452[_0x4fc62e(0x3cc)]=class extends _0x39685c['Disposable']{constructor(_0x406256,_0x39d089,_0x5b7eed,_0x74e8e8,_0x1a7b97){const _0x3171fd=_0x4fc62e;super(),_0x46647d(this,_0x3171fd(0x40a),new Map()),_0x46647d(this,_0x3171fd(0x47a),new Map()),_0x46647d(this,_0x3171fd(0x31c),new Map()),_0x46647d(this,_0x3171fd(0x39d),new Map()),_0x46647d(this,_0x3171fd(0x2d4),new _0x2efff6[(_0x3171fd(0x217))]()),_0x46647d(this,_0x3171fd(0x3d5),new _0x2efff6[(_0x3171fd(0x217))]()),_0x46647d(this,_0x3171fd(0x474),this['_pivotInitCompleted$']['asObservable']()),_0x46647d(this,_0x3171fd(0x36f),new _0x2efff6[(_0x3171fd(0x217))]()),_0x46647d(this,_0x3171fd(0x403),this[_0x3171fd(0x36f)]['asObservable']()),_0x46647d(this,_0x3171fd(0x40c),{}),_0x46647d(this,_0x3171fd(0x310),this[_0x3171fd(0x2d4)][_0x3171fd(0x223)]()),(this['_injector']=_0x406256,this[_0x3171fd(0x39a)]=_0x39d089,this[_0x3171fd(0x1bc)]=_0x5b7eed,this[_0x3171fd(0x3f2)]=_0x74e8e8,this[_0x3171fd(0x2d8)]=_0x1a7b97,this[_0x3171fd(0x238)](),this[_0x3171fd(0x41f)]());const _0x1f9aa0=this[_0x3171fd(0x2d8)][_0x3171fd(0x324)](_0x3410c0);(_0x1f9aa0==null?void 0x0:_0x1f9aa0[_0x3171fd(0x1d6)])===!0x0&&this[_0x3171fd(0x1d2)]();}['_initUnitDisposed'](){const _0x1af962=_0x4fc62e;this['disposeWithMe'](this['_univerInstanceService'][_0x1af962(0x1c7)](_0x39685c[_0x1af962(0x23f)][_0x1af962(0x384)])[_0x1af962(0x1b0)](_0x3256b6=>{const _0x475a06=_0x1af962;this[_0x475a06(0x28e)](_0x3256b6[_0x475a06(0x435)]());}));}[_0x4fc62e(0x39c)](){const _0x7d0ce3=_0x4fc62e;this['_pivotInitCompleted$'][_0x7d0ce3(0x23c)](!0x0);}[_0x4fc62e(0x238)](){const _0x53f3e7=_0x4fc62e,_0x88ccdb=_0x35d9b1(this[_0x53f3e7(0x3a6)],_0x394cc,'',{});this[_0x53f3e7(0x40c)]=_0x88ccdb,this[_0x53f3e7(0x39a)][_0x53f3e7(0x415)](_0x403fe4['id'],{'textInfo':_0x88ccdb},{'onlyLocal':!0x0});}[_0x4fc62e(0x1c2)](){const _0x5f31f9=_0x4fc62e;return this[_0x5f31f9(0x40c)];}[_0x4fc62e(0x286)](_0x380895,_0x48ec81,_0x2e2f14,_0x52e68b,_0xb0f07f){const _0x3c2704=_0x4fc62e;this[_0x3c2704(0x462)](_0x380895,_0x48ec81,_0x2e2f14,_0x52e68b),this[_0x3c2704(0x3ea)](_0x380895,_0x48ec81,_0x2e2f14,_0xb0f07f);}[_0x4fc62e(0x492)](_0x3e321d,_0x45e736,_0x5b6c60){const _0xe60a9=_0x4fc62e;var _0x44794d;const _0x11bf6f=(_0x44794d=this[_0xe60a9(0x40a)]['get'](_0x3e321d))==null?void 0x0:_0x44794d[_0xe60a9(0x304)](_0x45e736);if(_0x11bf6f)return _0x11bf6f[_0xe60a9(0x304)](_0x5b6c60);}[_0x4fc62e(0x30d)](_0x21d07a,_0x35a3cb){const _0x58369e=_0x4fc62e,_0x3e31af=this[_0x58369e(0x40a)][_0x58369e(0x304)](_0x21d07a);if(_0x3e31af){for(const [_0x5a3805,_0x4bfb11]of _0x3e31af[_0x58369e(0x269)]())for(const [_0x376652,_0x49cd03]of _0x4bfb11[_0x58369e(0x269)]())if(_0x376652===_0x35a3cb)return _0x49cd03[_0x58369e(0x2b6)];}}['getTargetByPivotId'](_0x3b7b61,_0x533795,_0x4a523b){const _0x25f75e=_0x4fc62e,_0x59e912=this[_0x25f75e(0x492)](_0x3b7b61,_0x533795,_0x4a523b);return _0x59e912==null?void 0x0:_0x59e912[_0x25f75e(0x2b6)];}[_0x4fc62e(0x450)](_0x5dcb94,_0x1b6ad9){const _0x4954e6=_0x4fc62e;var _0x5443e2;return(_0x5443e2=this[_0x4954e6(0x40a)][_0x4954e6(0x304)](_0x5dcb94))==null?void 0x0:_0x5443e2[_0x4954e6(0x304)](_0x1b6ad9);}[_0x4fc62e(0x36e)](_0x6a980a,_0x2bf4fd,_0x3ea4ca,_0x26dc89){const _0x829c49=_0x4fc62e,_0x8427f5=this[_0x829c49(0x45f)](_0x6a980a,_0x2bf4fd);_0x26dc89?_0x8427f5[_0x829c49(0x3e1)](_0x3ea4ca,_0x26dc89):_0x8427f5[_0x829c49(0x2df)](_0x3ea4ca),this['_pivotConfigChange$']['next']({'unitId':_0x6a980a,'subUnitId':_0x2bf4fd,'pivotTableId':_0x3ea4ca,'pivotTableConfig':_0x26dc89});}[_0x4fc62e(0x19a)](_0x551c79,_0x2c6a3c){const _0x54345a=_0x4fc62e;var _0x562c39;return(_0x562c39=this[_0x54345a(0x47a)]['get'](_0x551c79))==null?void 0x0:_0x562c39[_0x54345a(0x2a6)][_0x2c6a3c];}[_0x4fc62e(0x350)](_0x4058df,_0x345087){const _0x3a2790=_0x4fc62e;this[_0x3a2790(0x47a)][_0x3a2790(0x3e1)](_0x4058df,_0x345087),this[_0x3a2790(0x2d4)]['next'](Math['random']());}['_ensurePivotMap'](_0x4e1b00,_0x43697b){const _0xdcdb39=_0x4fc62e;let _0x806eca=this[_0xdcdb39(0x40a)][_0xdcdb39(0x304)](_0x4e1b00);_0x806eca||(_0x806eca=new Map(),this[_0xdcdb39(0x40a)][_0xdcdb39(0x3e1)](_0x4e1b00,_0x806eca));let _0x24f065=_0x806eca['get'](_0x43697b);return _0x24f065||(_0x24f065=new Map(),_0x806eca[_0xdcdb39(0x3e1)](_0x43697b,_0x24f065)),_0x24f065;}['_ensurePivotTableRangeInfo'](_0x4de0f8,_0x3042e6){const _0x179394=_0x4fc62e;let _0xa3b881=this[_0x179394(0x31c)][_0x179394(0x304)](_0x4de0f8);_0xa3b881||(_0xa3b881=new Map(),this[_0x179394(0x31c)][_0x179394(0x3e1)](_0x4de0f8,_0xa3b881));let _0xbc07ad=_0xa3b881[_0x179394(0x304)](_0x3042e6);return _0xbc07ad||(_0xbc07ad=new Map(),_0xa3b881[_0x179394(0x3e1)](_0x3042e6,_0xbc07ad)),_0xbc07ad;}[_0x4fc62e(0x214)](_0x110043,_0x482ccb){const _0x294383=_0x4fc62e;let _0x57c9f4=this[_0x294383(0x39d)][_0x294383(0x304)](_0x110043);_0x57c9f4||(_0x57c9f4=new Map(),this[_0x294383(0x39d)]['set'](_0x110043,_0x57c9f4));let _0x2dac94=_0x57c9f4[_0x294383(0x304)](_0x482ccb);return _0x2dac94||(_0x2dac94=new Map(),_0x57c9f4[_0x294383(0x3e1)](_0x482ccb,_0x2dac94)),_0x2dac94;}[_0x4fc62e(0x3ea)](_0x4954a2,_0x2a0e55,_0x41d8e6,_0x32a14b){const _0x180e45=_0x4fc62e;var _0x5e7bd0;const _0x3d55ab=this['_ensurePivotTableRangeInfo'](_0x4954a2,_0x2a0e55),_0x223171=(_0x5e7bd0=_0x3d55ab['get'](_0x41d8e6))==null?void 0x0:_0x5e7bd0[_0x180e45(0x38f)];_0x3d55ab[_0x180e45(0x3e1)](_0x41d8e6,{'oldRangeInfo':_0x223171,'rangeInfo':_0x32a14b});}['updatePivotTableMatrixInfo'](_0x5632d1,_0x8f08da,_0x4d0e35,_0x14f6a1){const _0x260791=_0x4fc62e;var _0x36f2bd;const _0x228030=this[_0x260791(0x214)](_0x5632d1,_0x8f08da),_0x39323d=(_0x36f2bd=_0x228030[_0x260791(0x304)](_0x4d0e35))==null?void 0x0:_0x36f2bd[_0x260791(0x30f)];_0x228030[_0x260791(0x3e1)](_0x4d0e35,{'oldMatrix':_0x39323d,'matrix':_0x14f6a1});}[_0x4fc62e(0x3b4)](_0x5dcf54,_0xcd8141,_0x35e892){const _0x4c055d=_0x4fc62e;var _0x499f91,_0x589922;return(_0x589922=(_0x499f91=this[_0x4c055d(0x31c)][_0x4c055d(0x304)](_0x5dcf54))==null?void 0x0:_0x499f91[_0x4c055d(0x304)](_0xcd8141))==null?void 0x0:_0x589922[_0x4c055d(0x304)](_0x35e892);}[_0x4fc62e(0x2e8)](_0x1cea22,_0x4d1e4f,_0x228b67){const _0xb8d5f2=_0x4fc62e;var _0x1a034f,_0x1ac99c;return(_0x1ac99c=(_0x1a034f=this['_pivotTableMatrixInfo'][_0xb8d5f2(0x304)](_0x1cea22))==null?void 0x0:_0x1a034f[_0xb8d5f2(0x304)](_0x4d1e4f))==null?void 0x0:_0x1ac99c['get'](_0x228b67);}[_0x4fc62e(0x28e)](_0x410aab){const _0x5a614c=_0x4fc62e;this[_0x5a614c(0x40a)][_0x5a614c(0x2df)](_0x410aab),this[_0x5a614c(0x47a)][_0x5a614c(0x2df)](_0x410aab);}[_0x4fc62e(0x438)](_0x4684c1){const _0x7cea2c=_0x4fc62e,_0x4a8c08={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x7cea2c(0x47a)][_0x7cea2c(0x304)](_0x4684c1)&&(_0x4a8c08[_0x7cea2c(0x353)][_0x4684c1]=this[_0x7cea2c(0x47a)][_0x7cea2c(0x304)](_0x4684c1)),this[_0x7cea2c(0x40a)][_0x7cea2c(0x304)](_0x4684c1)){_0x4a8c08[_0x7cea2c(0x37b)][_0x4684c1]={};const _0x55fd35=this[_0x7cea2c(0x40a)][_0x7cea2c(0x304)](_0x4684c1);_0x55fd35!=null&&_0x55fd35[_0x7cea2c(0x321)]&&[..._0x55fd35[_0x7cea2c(0x315)]()]['forEach'](_0x1f978c=>{const _0x32ea7d=_0x7cea2c,_0x19f5e8=_0x55fd35[_0x32ea7d(0x304)](_0x1f978c);_0x19f5e8!=null&&_0x19f5e8[_0x32ea7d(0x321)]&&(_0x4a8c08['pivotTableConfigs'][_0x4684c1][_0x1f978c]={},[..._0x19f5e8['keys']()]['forEach'](_0x471383=>{const _0x17b821=_0x32ea7d,_0x4db10a=_0x19f5e8[_0x17b821(0x304)](_0x471383);_0x4db10a&&(_0x4a8c08[_0x17b821(0x37b)][_0x4684c1][_0x1f978c][_0x471383]=_0x4db10a);}));});}return _0x4a8c08;}['_initSnapshot'](){const _0x1cef70=_0x4fc62e;this['disposeWithMe'](this[_0x1cef70(0x3f2)][_0x1cef70(0x23d)]({'toJson':_0x43cc1e=>JSON[_0x1cef70(0x235)](this[_0x1cef70(0x438)](_0x43cc1e)),'parseJson':_0x554c0e=>({}),'businesses':[_0x39685c[_0x1cef70(0x23f)][_0x1cef70(0x384)]],'pluginName':_0x34bdfb,'onLoad':(_0x1559ae,_0xd8ffb8)=>{},'onUnLoad':_0x23724a=>{const _0x4723f1=_0x1cef70;this[_0x4723f1(0x28e)](_0x23724a);}}));}},_0xb1f452[_0x4fc62e(0x3cc)]=_0xaeda02([_0x2a041e(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x2a041e(0x1,_0x39685c['Inject'](_0x39685c[_0x4fc62e(0x357)])),_0x2a041e(0x2,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x21f)])),_0x2a041e(0x3,_0x39685c['Inject'](_0x39685c['IResourceManagerService'])),_0x2a041e(0x4,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x2e3)]))],_0xb1f452['SheetsPivotTableConfigModel']);var _0x1f3d18=Object['getOwnPropertyDescriptor'],_0x45f931=(_0x3e37a0,_0x3d3a51,_0x576942,_0x56ab2c)=>{const _0x4e654a=_0x4fc62e;for(var _0x5c6e42=_0x56ab2c>0x1?void 0x0:_0x56ab2c?_0x1f3d18(_0x3d3a51,_0x576942):_0x3d3a51,_0xd7aa5=_0x3e37a0[_0x4e654a(0x2fd)]-0x1,_0x161c05;_0xd7aa5>=0x0;_0xd7aa5--)(_0x161c05=_0x3e37a0[_0xd7aa5])&&(_0x5c6e42=_0x161c05(_0x5c6e42)||_0x5c6e42);return _0x5c6e42;},_0x42f5fb=(_0x13dd6c,_0x3c6eb5)=>(_0x4953b4,_0x14fd14)=>_0x3c6eb5(_0x4953b4,_0x14fd14,_0x13dd6c);_0xb1f452[_0x4fc62e(0x284)]=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x521475,_0xe7a2df,_0x2e1987,_0xc8a43f,_0x4e1ada){const _0x2add99=_0x4fc62e;super(),_0x46647d(this,'_pivotRenderInfoCache',new Map()),_0x46647d(this,_0x2add99(0x216),new Map()),_0x46647d(this,'_markDirty$',new _0x2efff6[(_0x2add99(0x217))]()),_0x46647d(this,_0x2add99(0x24a),this['_markDirty$'][_0x2add99(0x223)]()),_0x46647d(this,_0x2add99(0x3fb),new _0x2efff6[(_0x2add99(0x217))]()),_0x46647d(this,_0x2add99(0x3a9),this[_0x2add99(0x3fb)]['asObservable']()),_0x46647d(this,'_textInfo'),(this[_0x2add99(0x347)]=_0x521475,this[_0x2add99(0x3a6)]=_0xe7a2df,this[_0x2add99(0x1a8)]=_0x2e1987,this['_univerInstanceService']=_0xc8a43f,this['_exclusiveRangeService']=_0x4e1ada,this[_0x2add99(0x238)](),this[_0x2add99(0x41f)]());}[_0x4fc62e(0x41f)](){const _0x2f1086=_0x4fc62e;this[_0x2f1086(0x409)](this[_0x2f1086(0x1bc)]['getTypeOfUnitDisposed$'](_0x39685c[_0x2f1086(0x23f)][_0x2f1086(0x384)])['subscribe'](_0x40210d=>{const _0x4f8398=_0x2f1086;this[_0x4f8398(0x28e)](_0x40210d[_0x4f8398(0x435)]());}));}[_0x4fc62e(0x238)](){const _0x2daf33=_0x4fc62e;this[_0x2daf33(0x40c)]=_0x35d9b1(this[_0x2daf33(0x3a6)],_0x394cc,'',{});}[_0x4fc62e(0x1ec)](_0x41b0a6){const _0x22b387=_0x4fc62e,{view:_0x51ca2b,unitId:_0x14d728,subUnitId:_0x537660,pivotTableId:_0x3bc3a3,type:_0xdbbcc2}=_0x41b0a6,_0x1c2c16=this[_0x22b387(0x1a8)]['getPivotTableConfig'](_0x14d728,_0x537660,_0x3bc3a3);if(!_0x51ca2b||!_0x1c2c16||_0xdbbcc2===_0x5965b8[_0x22b387(0x445)])return;const {pageView:_0x391e79,cornerView:_0x3ff65a,rowView:_0x52b5ed,colView:_0x90ae16,dataView:_0x53eec1}=_0x51ca2b,_0x3cc592=_0x1c2c16[_0x22b387(0x2b6)],_0x1be915=_0x1c2c16[_0x22b387(0x206)],_0x4c4f0c=this[_0x22b387(0x383)](_0x14d728,_0x537660),_0x1ccfce=this['_ensurePivotItemRenderInfoCache'](_0x14d728,_0x537660,_0x3bc3a3);if(_0x1be915)return this[_0x22b387(0x270)](_0x41b0a6,_0x4c4f0c,_0x3cc592,_0x1ccfce);{const _0x5e1293=_0x1760c9(_0x3cc592,_0x391e79,!0x0),_0x3b11c7=_0x391e79['lastRow']>=0x0?_0x391e79[_0x22b387(0x2f3)]+0x1:0x0,_0x1a4842=_0x3ff65a['getRowCount'](),_0x207645=_0x3ff65a[_0x22b387(0x308)](),_0x522fc2=_0x5e1293['length']>0x0?_0x2b3c45:0x0,_0x4ff206=_0x1760c9({'row':_0x3cc592[_0x22b387(0x466)]+_0x3b11c7+_0x522fc2,'col':_0x3cc592[_0x22b387(0x1a1)]},_0x3ff65a,!0x1,!0x1),_0x437753=_0x1760c9({'row':_0x3cc592[_0x22b387(0x466)]+_0x3b11c7+_0x522fc2+_0x1a4842,'col':_0x3cc592[_0x22b387(0x1a1)]},_0x52b5ed,!0x1,!0x0),_0x448559=_0x1760c9({'row':_0x3cc592[_0x22b387(0x466)]+_0x3b11c7+_0x522fc2,'col':_0x3cc592[_0x22b387(0x1a1)]+_0x207645},_0x90ae16,!0x1,!0x0),_0x403a88=_0x1760c9({'row':_0x3cc592[_0x22b387(0x466)]+_0x3b11c7+_0x522fc2+_0x1a4842,'col':_0x3cc592['col']+_0x207645},_0x53eec1,!0x1,!0x1);_0x1ccfce[_0x22b387(0x3ca)]={'rowRanges':_0x437753,'colRanges':_0x448559,'cornerRanges':_0x4ff206,'dataRanges':_0x403a88,'pageRanges':_0x5e1293};const _0x2a0068=_0x3092af(this[_0x22b387(0x3a6)],_0x51ca2b,_0x1c2c16,this['_textInfo']),{valueMatrix:_0x5ed5a5,rowInfo:_0x55976d,colInfo:_0x57ded3,cornerInfo:_0x49eb97,rowHeaderMap:_0x34fb9c,colHeaderMap:_0x469ae8}=_0x2a0068;return _0x1ccfce[_0x22b387(0x3da)]={'rowInfo':_0x55976d,'colInfo':_0x57ded3,'cornerInfo':_0x49eb97},_0x1ccfce[_0x22b387(0x1d5)]={'rowHeaderMap':_0x34fb9c,'colHeaderMap':_0x469ae8},_0x5ed5a5[_0x22b387(0x268)]((_0x393949,_0x42a19f)=>{const _0x286294=_0x22b387;Object[_0x286294(0x315)](_0x42a19f)[_0x286294(0x268)](_0x372e1a=>{const _0x76a93f=_0x286294,_0x5475e6=+_0x372e1a,_0x56161c=_0x5ed5a5[_0x76a93f(0x2c1)](_0x393949,_0x5475e6);_0x4c4f0c[_0x76a93f(0x391)](_0x393949,_0x5475e6,_0x56161c);});}),this[_0x22b387(0x3fb)][_0x22b387(0x23c)]({'unitId':_0x14d728,'subUnitId':_0x537660,'valueMatrix':_0x4c4f0c,'rangesCache':_0x1ccfce[_0x22b387(0x3ca)],'pivotTableId':_0x3bc3a3,'type':_0x41b0a6[_0x22b387(0x339)]}),this[_0x22b387(0x1a8)]['updateViewInfo'](_0x14d728,_0x537660,_0x3bc3a3,_0x4c4f0c,_0x1ccfce[_0x22b387(0x3ca)]),this[_0x22b387(0x3ec)][_0x22b387(0x3ba)](_0x14d728,_0x537660,_0x1fe7db,this[_0x22b387(0x3d9)](_0x1ccfce['rangesInfo'],_0x3bc3a3)),{'rangeCache':_0x1ccfce[_0x22b387(0x3ca)],'matrix':_0x4c4f0c};}}[_0x4fc62e(0x270)](_0x5908cf,_0x387188,_0x326ab4,_0x353e0b){const _0x3f4246=_0x4fc62e,_0x4510fc=this[_0x3f4246(0x347)]['t'],{unitId:_0x2982d8,subUnitId:_0x3b9b31,pivotTableId:_0x47df7b}=_0x5908cf,_0xb8a4dc={'filter':_0x4510fc(_0x3f4246(0x2c2)),'row':_0x4510fc(_0x3f4246(0x2f0)),'column':_0x4510fc(_0x3f4246(0x1e9)),'values':_0x4510fc('sheets-pivot.emptyPivot.values')},{matrixCache:_0x31d04d,rangesCache:_0x52c85a}=_0x3674f3(_0xb8a4dc,_0x326ab4);return _0x31d04d[_0x3f4246(0x21e)]((_0xac4db8,_0x5e7dc9,_0x587754)=>{const _0x2a2343=_0x3f4246;_0x387188[_0x2a2343(0x391)](_0xac4db8,_0x5e7dc9,_0x587754);}),_0x353e0b[_0x3f4246(0x3ca)]=_0x52c85a,this[_0x3f4246(0x3fb)][_0x3f4246(0x23c)]({'unitId':_0x2982d8,'subUnitId':_0x3b9b31,'valueMatrix':_0x387188,'rangesCache':_0x52c85a,'pivotTableId':_0x47df7b,'type':_0x5908cf[_0x3f4246(0x339)],'isEmpty':!0x0}),this[_0x3f4246(0x1a8)]['updateViewInfo'](_0x2982d8,_0x3b9b31,_0x47df7b,_0x387188,_0x52c85a),this['_exclusiveRangeService'][_0x3f4246(0x3ba)](_0x2982d8,_0x3b9b31,_0x1fe7db,this[_0x3f4246(0x3d9)](_0x52c85a,_0x47df7b)),{'rangeCache':_0x353e0b['rangesInfo'],'matrix':_0x387188};}[_0x4fc62e(0x3d9)](_0x12cb9b,_0x359a06){const _0x536fde=_0x4fc62e,_0x2fad3c=[],_0x20b90e=_0x1839d9(_0x12cb9b);for(const _0x485399 of _0x20b90e)_0x2fad3c[_0x536fde(0x458)]({'groupId':_0x359a06,'range':_0x485399});return _0x2fad3c;}[_0x4fc62e(0x4a8)](_0x38eb8e){const _0x4bb953=_0x4fc62e;var _0x50e31b,_0x1a030a,_0x25f8ed,_0x364ed4;const {pivotTableId:_0x84bb54,unitId:_0x272db4,subUnitId:_0x581b06}=_0x38eb8e;if(!_0x84bb54||!_0x272db4||!_0x581b06)return;const _0x2869bd=this[_0x4bb953(0x383)](_0x272db4,_0x581b06),_0x45af1d=(_0x1a030a=(_0x50e31b=this[_0x4bb953(0x3b8)][_0x4bb953(0x304)](_0x272db4))==null?void 0x0:_0x50e31b[_0x4bb953(0x304)](_0x581b06))==null?void 0x0:_0x1a030a[_0x4bb953(0x304)](_0x84bb54);if(_0x45af1d!=null&&_0x45af1d[_0x4bb953(0x3ca)]){for(const _0x400719 of Object[_0x4bb953(0x315)](_0x45af1d[_0x4bb953(0x3ca)]))_0x45af1d[_0x4bb953(0x3ca)][_0x400719]['forEach'](_0x4d5d5e=>{const _0x9f1c77=_0x4bb953;for(let _0x12bff3=_0x4d5d5e[_0x9f1c77(0x43c)];_0x12bff3<=_0x4d5d5e[_0x9f1c77(0x484)];_0x12bff3++)for(let _0x26748c=_0x4d5d5e[_0x9f1c77(0x3d2)];_0x26748c<=_0x4d5d5e[_0x9f1c77(0x25c)];_0x26748c++)_0x2869bd[_0x9f1c77(0x36b)](_0x12bff3,_0x26748c);});}_0x45af1d&&((_0x364ed4=(_0x25f8ed=this['_pivotRenderInfoCache']['get'](_0x272db4))==null?void 0x0:_0x25f8ed[_0x4bb953(0x304)](_0x581b06))==null||_0x364ed4[_0x4bb953(0x2df)](_0x84bb54)),this[_0x4bb953(0x3fb)][_0x4bb953(0x23c)]({'unitId':_0x272db4,'subUnitId':_0x581b06,'valueMatrix':_0x2869bd,'pivotTableId':_0x84bb54,'rangesCache':void 0x0,'type':_0x38eb8e[_0x4bb953(0x339)]}),this[_0x4bb953(0x3ec)][_0x4bb953(0x3b3)](_0x272db4,_0x581b06,_0x1fe7db,_0x84bb54);}[_0x4fc62e(0x3c9)](_0x1fd59b,_0x5200d3,_0x580e73){const _0x43924f=_0x4fc62e;var _0x5591f4,_0x474311,_0x1be5e9,_0x251af1,_0x167e21,_0x9e53be;return this['_pivotRenderInfoCache'][_0x43924f(0x380)](_0x1fd59b)||this['_pivotRenderInfoCache'][_0x43924f(0x3e1)](_0x1fd59b,new Map()),(_0x5591f4=this[_0x43924f(0x3b8)][_0x43924f(0x304)](_0x1fd59b))!=null&&_0x5591f4[_0x43924f(0x380)](_0x5200d3)||(_0x474311=this[_0x43924f(0x3b8)][_0x43924f(0x304)](_0x1fd59b))==null||_0x474311[_0x43924f(0x3e1)](_0x5200d3,new Map()),(_0x251af1=(_0x1be5e9=this['_pivotRenderInfoCache'][_0x43924f(0x304)](_0x1fd59b))==null?void 0x0:_0x1be5e9[_0x43924f(0x304)](_0x5200d3))!=null&&_0x251af1[_0x43924f(0x380)](_0x580e73)||(_0x9e53be=(_0x167e21=this[_0x43924f(0x3b8)][_0x43924f(0x304)](_0x1fd59b))==null?void 0x0:_0x167e21[_0x43924f(0x304)](_0x5200d3))==null||_0x9e53be['set'](_0x580e73,{}),this[_0x43924f(0x3b8)][_0x43924f(0x304)](_0x1fd59b)[_0x43924f(0x304)](_0x5200d3)['get'](_0x580e73);}[_0x4fc62e(0x383)](_0x5438f4,_0x4b5d01){const _0x313831=_0x4fc62e;var _0x1d3e45,_0x230397;return this['_pivotRenderValueMatrixCache'][_0x313831(0x380)](_0x5438f4)||this['_pivotRenderValueMatrixCache'][_0x313831(0x3e1)](_0x5438f4,new Map()),(_0x1d3e45=this[_0x313831(0x216)][_0x313831(0x304)](_0x5438f4))!=null&&_0x1d3e45[_0x313831(0x380)](_0x4b5d01)||(_0x230397=this[_0x313831(0x216)][_0x313831(0x304)](_0x5438f4))==null||_0x230397[_0x313831(0x3e1)](_0x4b5d01,new _0x39685c[(_0x313831(0x405))]()),this[_0x313831(0x216)][_0x313831(0x304)](_0x5438f4)[_0x313831(0x304)](_0x4b5d01);}['getPivotTableCellData'](_0x2f8924,_0x234294,_0x4567be,_0xfaa6f8){const _0x2958d=_0x4fc62e;var _0x2765c2,_0x8781dd;const _0x1aad13=(_0x8781dd=(_0x2765c2=this[_0x2958d(0x216)][_0x2958d(0x304)](_0x2f8924))==null?void 0x0:_0x2765c2['get'](_0x234294))==null?void 0x0:_0x8781dd[_0x2958d(0x2c1)](_0x4567be,_0xfaa6f8);if(_0x1aad13!=null)return _0x1aad13;}[_0x4fc62e(0x44a)](_0x2fbeab,_0x53118a,_0x1331d8,_0x1d0e8e){const _0x44ebc8=_0x4fc62e;var _0x3170c2;const _0x1e26af=_0x39685c[_0x44ebc8(0x237)](_0x1331d8,_0x1d0e8e),_0x1135ee=(_0x3170c2=this[_0x44ebc8(0x3b8)][_0x44ebc8(0x304)](_0x2fbeab))==null?void 0x0:_0x3170c2[_0x44ebc8(0x304)](_0x53118a);return _0x1135ee?Array['from'](_0x1135ee['keys']())[_0x44ebc8(0x433)](_0x30e015=>{const _0x5549ad=_0x44ebc8,_0x175805=_0x1135ee[_0x5549ad(0x304)](_0x30e015),_0x1f6e45=_0x175805==null?void 0x0:_0x175805[_0x5549ad(0x3ca)];return _0x1f6e45?Object[_0x5549ad(0x315)](_0x1f6e45)[_0x5549ad(0x2e0)](_0x2bde84=>_0x1f6e45[_0x2bde84][_0x5549ad(0x2e0)](_0x410214=>_0x39685c['Rectangle'][_0x5549ad(0x318)](_0x410214,_0x1e26af))):!0x1;}):void 0x0;}[_0x4fc62e(0x475)](_0x50e7c9,_0x52864a,_0x4e7d10){const _0x1c435a=_0x4fc62e;var _0x516163;const _0x3cfc78=(_0x516163=this[_0x1c435a(0x3b8)][_0x1c435a(0x304)](_0x50e7c9))==null?void 0x0:_0x516163[_0x1c435a(0x304)](_0x52864a),_0x593194=[];return _0x3cfc78&&Array[_0x1c435a(0x4a5)](_0x3cfc78[_0x1c435a(0x315)]())[_0x1c435a(0x268)](_0x1d360f=>{const _0x763af7=_0x1c435a,_0x3a442e=_0x3cfc78[_0x763af7(0x304)](_0x1d360f),_0x483c07=_0x3a442e==null?void 0x0:_0x3a442e[_0x763af7(0x3ca)];if(_0x483c07)for(const _0x29d47d of Object[_0x763af7(0x35d)](_0x483c07)){let _0x58e6c8=!0x1;for(const _0x32aa5b of _0x29d47d)if(_0x39685c['Rectangle'][_0x763af7(0x1da)](_0x32aa5b,_0x4e7d10)){_0x593194[_0x763af7(0x458)](_0x1d360f),_0x58e6c8=!0x0;break;}if(_0x58e6c8)break;}}),_0x593194;}[_0x4fc62e(0x2db)](_0x4b4d3a,_0x49807f){const _0x46c5b4=_0x4fc62e;var _0x1f1d4e,_0x25d7d5;return(_0x25d7d5=(_0x1f1d4e=this[_0x46c5b4(0x216)]['get'](_0x4b4d3a))==null?void 0x0:_0x1f1d4e[_0x46c5b4(0x304)](_0x49807f))!=null?_0x25d7d5:new _0x39685c[(_0x46c5b4(0x405))]();}[_0x4fc62e(0x47e)](_0x391cea,_0x55a947){const _0x42f322=_0x4fc62e;var _0x142357;return(_0x142357=this[_0x42f322(0x3b8)]['get'](_0x391cea))==null?void 0x0:_0x142357[_0x42f322(0x304)](_0x55a947);}[_0x4fc62e(0x368)](_0x23113e,_0x2ca0f8,_0x550647){const _0x4fe400=_0x4fc62e;var _0x224d26,_0xda7212;return(_0xda7212=(_0x224d26=this[_0x4fe400(0x3b8)]['get'](_0x23113e))==null?void 0x0:_0x224d26[_0x4fe400(0x304)](_0x2ca0f8))==null?void 0x0:_0xda7212[_0x4fe400(0x304)](_0x550647);}[_0x4fc62e(0x28e)](_0x70bc23){const _0x196b13=_0x4fc62e;this['_pivotRenderInfoCache'][_0x196b13(0x2df)](_0x70bc23),this[_0x196b13(0x216)]['delete'](_0x70bc23);}['markDirty'](_0x15879f,_0x29054b){const _0x10bc17=_0x4fc62e;this['_markDirty$'][_0x10bc17(0x23c)]({'unitId':_0x15879f,'subUnitId':_0x29054b});}},_0xb1f452['SheetsPivotTableAdaptorModel']=_0x45f931([_0x42f5fb(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x3b5)])),_0x42f5fb(0x1,_0x39685c['Inject'](_0x39685c['Injector'])),_0x42f5fb(0x2,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x3cc)])),_0x42f5fb(0x3,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x21f)])),_0x42f5fb(0x4,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd['IExclusiveRangeService']))],_0xb1f452[_0x4fc62e(0x284)]);var _0x319256=Object[_0x4fc62e(0x4ab)],_0x3d0dd3=(_0xd2df5f,_0x231f1c,_0x27f530,_0x510d1b)=>{const _0x33f9de=_0x4fc62e;for(var _0x146680=_0x510d1b>0x1?void 0x0:_0x510d1b?_0x319256(_0x231f1c,_0x27f530):_0x231f1c,_0x252b2b=_0xd2df5f[_0x33f9de(0x2fd)]-0x1,_0x1f2302;_0x252b2b>=0x0;_0x252b2b--)(_0x1f2302=_0xd2df5f[_0x252b2b])&&(_0x146680=_0x1f2302(_0x146680)||_0x146680);return _0x146680;},_0x1d0487=(_0x23ba51,_0x4bb5f1)=>(_0x1c7a38,_0x1c31ca)=>_0x4bb5f1(_0x1c7a38,_0x1c31ca,_0x23ba51);_0xb1f452['SheetsPivotTableService']=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x2de0a9,_0x47b644){const _0x13188a=_0x4fc62e;super(),_0x46647d(this,_0x13188a(0x1f5),new _0x39685c[(_0x13188a(0x335))]({'PIVOT_PERFORM_CHECK':_0x3ec142})),_0x46647d(this,_0x13188a(0x1f6),new _0x39685c[(_0x13188a(0x477))]({'PIVOT_MUTATION_GENERATE':_0x4dac5b})),(this[_0x13188a(0x21d)]=_0x2de0a9,this[_0x13188a(0x41e)]=_0x47b644,this[_0x13188a(0x32a)]());}[_0x4fc62e(0x32a)](){const _0x35e932=_0x4fc62e;this[_0x35e932(0x420)]();}[_0x4fc62e(0x3b7)](_0x5d69a3){const _0x1795f6=_0x4fc62e;return this['asyncInterceptor'][_0x1795f6(0x2ca)](_0x3ec142)(!0x1,_0x5d69a3);}[_0x4fc62e(0x420)](){const _0x5372f6=_0x4fc62e;this[_0x5372f6(0x409)](this[_0x5372f6(0x21d)]['intercept'](_0x3f53bd[_0x5372f6(0x2f1)][_0x5372f6(0x343)],{'priority':0xc8,'effect':_0x39685c[_0x5372f6(0x3fc)][_0x5372f6(0x1cf)]|_0x39685c[_0x5372f6(0x3fc)][_0x5372f6(0x3e8)],'handler':(_0xcf2045,_0x17a59c,_0x2dbb8c)=>{const _0x4205e8=_0x5372f6,{row:_0x3a3b7b,col:_0x1fe3b0,unitId:_0x24016d,subUnitId:_0x3cf79c,workbook:_0x3afedf}=_0x17a59c,_0x49a112=this[_0x4205e8(0x41e)][_0x4205e8(0x222)](_0x24016d,_0x3cf79c,_0x3a3b7b,_0x1fe3b0);if(!_0x49a112)return _0x2dbb8c(_0xcf2045);const _0x28cda6={..._0xcf2045};(_0x49a112['v']||_0x49a112['v']===0x0)&&(_0x28cda6['v']=_0x49a112['v']),_0x49a112['t']&&(_0x28cda6['t']=_0x49a112['t']);const _0x32e691=(typeof(_0xcf2045==null?void 0x0:_0xcf2045['s'])==_0x4205e8(0x1ff)?_0x3afedf[_0x4205e8(0x301)]()[_0x4205e8(0x304)](_0xcf2045==null?void 0x0:_0xcf2045['s']):_0xcf2045==null?void 0x0:_0xcf2045['s'])||{},_0x1345f6=_0x3afedf[_0x4205e8(0x301)]()['get'](_0x49a112['s']),_0x1f7727={..._0x1345f6,..._0x32e691};_0x1345f6!=null&&_0x1345f6['n']&&(_0x1f7727['n']=_0x1345f6['n']);const _0x112c26=_0x3afedf['getStyles']()[_0x4205e8(0x391)](_0x1f7727);return _0x28cda6['s']=_0x112c26,(_0x49a112[_0x4205e8(0x20b)]===_0x27cc4c[_0x4205e8(0x3ad)][_0x4205e8(0x2f4)]||_0x49a112[_0x4205e8(0x20b)]===_0x27cc4c[_0x4205e8(0x3ad)][_0x4205e8(0x25a)])&&(_0x28cda6[_0x4205e8(0x230)]={},_0x28cda6['fontRenderExtension']['leftOffset']=_0x155d42),_0x2dbb8c(_0x28cda6);}}));}},_0xb1f452['SheetsPivotTableService']=_0x3d0dd3([_0x1d0487(0x0,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x452)])),_0x1d0487(0x1,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x284)]))],_0xb1f452[_0x4fc62e(0x1d7)]);function _0x132cd5(_0xaeaa31,_0x3c6855){const _0x5a8a96=_0x4fc62e;switch(_0x3c6855){case _0x27cc4c[_0x5a8a96(0x1c6)][_0x5a8a96(0x1cf)]:return _0xaeaa31[_0x5a8a96(0x292)];case _0x27cc4c[_0x5a8a96(0x1c6)][_0x5a8a96(0x41c)]:return _0xaeaa31[_0x5a8a96(0x47d)];case _0x27cc4c['PivotTableFiledAreaEnum'][_0x5a8a96(0x46f)]:return _0xaeaa31[_0x5a8a96(0x204)];case _0x27cc4c['PivotTableFiledAreaEnum'][_0x5a8a96(0x202)]:return _0xaeaa31[_0x5a8a96(0x40f)];default:return[];}}function _0x5af3ac(_0x41a47c,_0x1336bd){const _0x3d8a6a=_0x4fc62e;return _0x41a47c[_0x3d8a6a(0x241)][_0x1336bd]||_0x41a47c[_0x3d8a6a(0x42a)][_0x1336bd];}function _0x797ef2(_0xf8ab2f,_0xe6d144){const _0x1dcbba=_0x4fc62e,{area:_0x37083d,fieldJson:_0x3147e4,index:_0xd16b29}=_0xe6d144;_0x37083d===_0x27cc4c['PivotTableFiledAreaEnum'][_0x1dcbba(0x1cf)]?_0xf8ab2f[_0x1dcbba(0x241)][_0x3147e4['id']]=_0x3147e4:_0xf8ab2f['dimension'][_0x3147e4['id']]=_0x3147e4,_0x132cd5(_0xf8ab2f,_0x37083d)[_0x1dcbba(0x4a9)](_0xd16b29,0x0,_0x3147e4['id']);}function _0x1faee4(_0x571132,_0x398c4b){const _0x5c25fb=_0x4fc62e,{area:_0x3325bb,fieldId:_0x1b61e3,index:_0x265a0e}=_0x398c4b;_0x3325bb===_0x27cc4c['PivotTableFiledAreaEnum'][_0x5c25fb(0x1cf)]?delete _0x571132[_0x5c25fb(0x241)][_0x1b61e3]:delete _0x571132[_0x5c25fb(0x42a)][_0x1b61e3],_0x132cd5(_0x571132,_0x3325bb)['splice'](_0x265a0e,0x1);}function _0x5ad2ad(_0x293c68,_0x2bf4dd){const _0x40ffd5=_0x4fc62e,{fieldId:_0xb1a82f,name:_0x320233}=_0x2bf4dd,_0x5f098e=_0x5af3ac(_0x293c68,_0xb1a82f);_0x5f098e&&(_0x5f098e[_0x40ffd5(0x294)]=_0x320233);}function _0x3f46d4(_0x5a1ccd,_0x20df23){const _0x7fe8=_0x4fc62e,{fieldId:_0x48677e,collapse:_0x17b9c7,item:_0x2cf870}=_0x20df23;_0x2cf870!==void 0x0?(_0x5a1ccd[_0x7fe8(0x398)][_0x48677e]=_0x5a1ccd[_0x7fe8(0x398)][_0x48677e]||{},_0x5a1ccd[_0x7fe8(0x398)][_0x48677e][_0x2cf870]=_0x17b9c7):_0x5a1ccd[_0x7fe8(0x398)][_0x48677e]=_0x17b9c7;}function _0x65ad0(_0x10ec4d,_0x47759f){const _0x1a5012=_0x4fc62e,{fieldId:_0x2b9a29,format:_0x36f1e1}=_0x47759f,_0x18a652=_0x5af3ac(_0x10ec4d,_0x2b9a29);_0x18a652&&(_0x18a652[_0x1a5012(0x373)]=_0x36f1e1);}function _0x325b90(_0x76a489,_0x312241){const _0x224a2a=_0x4fc62e,{fieldId:_0x248c7d,filterInfo:_0x2e7fc3}=_0x312241,_0x55bb8a=_0x5af3ac(_0x76a489,_0x248c7d);_0x55bb8a&&(_0x55bb8a[_0x224a2a(0x283)]=_0x2e7fc3);}function _0x3702be(_0x183631,_0x3af123){const _0x10d671=_0x4fc62e,{fieldId:_0x20b09c,filterInfo:_0x52627f}=_0x3af123,_0x11e784=_0x183631[_0x10d671(0x3f5)][_0x10d671(0x1e8)](_0x5f4111=>_0x5f4111[_0x10d671(0x29c)]!==_0x20b09c);_0x52627f&&_0x11e784[_0x10d671(0x458)]({'fieldId':_0x20b09c,'filterInfo':_0x52627f}),_0x183631[_0x10d671(0x3f5)]=_0x11e784;}function _0xd06d9(_0x2c6f22,_0x175f96){const _0x4a2d7f=_0x4fc62e,{fieldId:_0x1ad3b2,subtotalType:_0x23826f}=_0x175f96,_0x584a08=_0x5af3ac(_0x2c6f22,_0x1ad3b2);_0x584a08&&(_0x584a08[_0x4a2d7f(0x257)]=_0x23826f);}function _0x2d02d0(_0x117c1c,_0x47eb03){const _0x1775d3=_0x4fc62e,{fieldId:_0x2c1c39,oldArea:_0x10f9e4,area:_0xe6e406,oldIndex:_0x52c625,index:_0x25653e}=_0x47eb03,_0x41090c=_0x10f9e4!==_0x27cc4c['PivotTableFiledAreaEnum']['Value']&&_0xe6e406===_0x27cc4c[_0x1775d3(0x1c6)][_0x1775d3(0x1cf)],_0x5c87c1=_0x10f9e4===_0x27cc4c['PivotTableFiledAreaEnum'][_0x1775d3(0x1cf)]&&_0xe6e406!==_0x27cc4c[_0x1775d3(0x1c6)][_0x1775d3(0x1cf)];if(_0x41090c||_0x5c87c1){const _0x44c260=_0x5af3ac(_0x117c1c,_0x2c1c39);_0x44c260&&(_0x41090c?(delete _0x117c1c[_0x1775d3(0x42a)][_0x2c1c39],_0x117c1c[_0x1775d3(0x241)][_0x2c1c39]=_0x44c260):(delete _0x117c1c[_0x1775d3(0x241)][_0x2c1c39],_0x117c1c[_0x1775d3(0x42a)][_0x2c1c39]=_0x44c260));}const _0x4f68d5=_0x132cd5(_0x117c1c,_0x10f9e4),_0x515362=_0x132cd5(_0x117c1c,_0xe6e406);_0x4f68d5[_0x1775d3(0x4a9)](_0x52c625,0x1),_0x515362[_0x1775d3(0x4a9)](_0x25653e,0x0,_0x2c1c39);}function _0x37bf1b(_0x177158,_0x55022c){const _0x3aaa1b=_0x4fc62e,{valuePosition:_0x36be78,index:_0x380f0e}=_0x55022c;_0x177158[_0x3aaa1b(0x397)]=_0x36be78,_0x177158[_0x3aaa1b(0x46e)]=_0x380f0e;}function _0x30734e(_0x187351,_0x496969){const _0x5f0beb=_0x4fc62e,{tableFieldId:_0x41704e,sourceName:_0x1aba5c,dataFieldId:_0x36cd19}=_0x496969,_0x1cd9f2=_0x5af3ac(_0x187351,_0x41704e);_0x1cd9f2&&(_0x1cd9f2[_0x5f0beb(0x485)]=_0x1aba5c,_0x1cd9f2[_0x5f0beb(0x3bf)]=_0x36cd19);}function _0x222536(_0x5c2faf,_0x5b276f){const _0x4f71a1=_0x4fc62e,{fieldId:_0x40210e,sortInfo:_0x355f6c}=_0x5b276f,_0x1f63fa=_0x5af3ac(_0x5c2faf,_0x40210e);_0x1f63fa&&(_0x1f63fa[_0x4f71a1(0x1b5)]=_0x355f6c);}function _0x262bac(_0x2db4b8,_0x30cf1b){const {options:_0x480954}=_0x30cf1b;_0x2db4b8['options']={..._0x2db4b8['options'],..._0x480954};}const _0x94ad4e={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.add-pivot-field','handler'(_0x408d2d,_0x551459){const _0x14a3bc=_0x4fc62e;if(!_0x551459)return!0x1;if(!!_0x408d2d[_0x14a3bc(0x304)](_0x39685c[_0x14a3bc(0x2e3)])[_0x14a3bc(0x324)](_0x3775b6))return!0x0;const _0x3d80dc=_0x408d2d[_0x14a3bc(0x304)](_0xb1f452['SheetsPivotDataSourceModel']),{pivotTableId:_0xa32bd3,fieldJson:_0x1ab046,area:_0x2395ec,index:_0x173a52,unitId:_0x48d029,subUnitId:_0x4b6188}=_0x551459,_0x19d251=_0x3d80dc[_0x14a3bc(0x358)](_0xa32bd3);if(!_0x19d251)return!0x1;let _0x240f56;_0x2395ec===_0x27cc4c[_0x14a3bc(0x1c6)]['Value']?_0x240f56=_0x27cc4c['createValueField'](_0x1ab046):_0x240f56=_0x27cc4c[_0x14a3bc(0x320)](_0x1ab046),_0x19d251['addField'](_0x240f56,_0x2395ec,_0x173a52);const _0x98abba=_0x3d80dc[_0x14a3bc(0x3cb)](_0x48d029,_0x4b6188,_0xa32bd3);_0x797ef2(_0x98abba,_0x551459);const _0x1d3604=_0x3d80dc[_0x14a3bc(0x492)](_0x48d029,_0x4b6188,_0xa32bd3);return _0x3d80dc[_0x14a3bc(0x3c0)]({'unitId':_0x48d029,'subUnitId':_0x4b6188,'token':_0xa32bd3,'type':_0x5965b8[_0x14a3bc(0x30c)],'pivotConfig':_0x1d3604}),!0x0;}},_0x536b11={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x3a2),'handler'(_0x209386,_0x496702){const _0xeda57f=_0x4fc62e;if(!_0x496702)return!0x1;if(!!_0x209386['get'](_0x39685c[_0xeda57f(0x2e3)])['getConfig'](_0x3775b6))return!0x0;const _0xecbfb4=_0x209386['get'](_0xb1f452[_0xeda57f(0x19c)]),{pivotTableId:_0x104284,fieldId:_0x32e5e5,unitId:_0x44ba44,subUnitId:_0x140bf8}=_0x496702,_0x37f10b=_0xecbfb4[_0xeda57f(0x358)](_0x104284);if(!_0x37f10b)return!0x1;_0x37f10b['removeField'](_0x32e5e5);const _0xace9d0=_0xecbfb4[_0xeda57f(0x3cb)](_0x44ba44,_0x140bf8,_0x104284);_0x1faee4(_0xace9d0,_0x496702);const _0x2b45f8=_0xecbfb4['getPivotTableConfig'](_0x44ba44,_0x140bf8,_0x104284);return _0xecbfb4[_0xeda57f(0x3c0)]({'unitId':_0x44ba44,'subUnitId':_0x140bf8,'token':_0x104284,'type':_0x5965b8['Set'],'pivotConfig':_0x2b45f8}),!0x0;}},_0x5631f0={'type':_0x39685c['CommandType'][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x275),'handler'(_0x3c3182,_0x56ec4c){const _0x19c01f=_0x4fc62e;if(!_0x56ec4c)return!0x1;if(!!_0x3c3182[_0x19c01f(0x304)](_0x39685c[_0x19c01f(0x2e3)])[_0x19c01f(0x324)](_0x3775b6))return!0x0;const _0x161902=_0x3c3182['get'](_0xb1f452[_0x19c01f(0x19c)]),{unitId:_0x2445b0,subUnitId:_0x16b1be,pivotTableId:_0x36e312,fieldId:_0x31b74d,name:_0x519ade}=_0x56ec4c,_0x565917=_0x161902[_0x19c01f(0x358)](_0x36e312);if(!_0x565917)return!0x1;_0x565917['renameField'](_0x31b74d,_0x519ade);const _0x4a8212=_0x161902[_0x19c01f(0x3cb)](_0x2445b0,_0x16b1be,_0x36e312);return _0x5ad2ad(_0x4a8212,_0x56ec4c),_0x161902[_0x19c01f(0x3c0)]({'unitId':_0x2445b0,'subUnitId':_0x16b1be,'token':_0x36e312,'type':_0x5965b8[_0x19c01f(0x30c)]}),!0x0;}},_0x3761ac={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x240),'handler'(_0x56a6ff,_0x5249fc){const _0x486c57=_0x4fc62e;if(!_0x5249fc)return!0x1;if(!!_0x56a6ff[_0x486c57(0x304)](_0x39685c[_0x486c57(0x2e3)])[_0x486c57(0x324)](_0x3775b6))return!0x0;const _0x3be459=_0x56a6ff[_0x486c57(0x304)](_0xb1f452[_0x486c57(0x19c)]),{unitId:_0xa66d04,subUnitId:_0x28c9e1,pivotTableId:_0x275d42,fieldId:_0x245d30,collapse:_0x3b1150,item:_0x1daed4}=_0x5249fc,_0x52baac=_0x3be459['getPivotTableInstance'](_0x275d42);if(!_0x52baac)return!0x1;_0x52baac[_0x486c57(0x34a)](_0x245d30,_0x3b1150,_0x1daed4);const _0xf0ce0b=_0x3be459[_0x486c57(0x3cb)](_0xa66d04,_0x28c9e1,_0x275d42);return _0x3f46d4(_0xf0ce0b,_0x5249fc),_0x3be459[_0x486c57(0x3c0)]({'unitId':_0xa66d04,'subUnitId':_0x28c9e1,'token':_0x275d42,'type':_0x5965b8['Set']}),!0x0;}},_0xdfb360={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x497),'handler'(_0x1431ce,_0x154a1e){const _0x4f98af=_0x4fc62e;if(!_0x154a1e)return!0x1;if(!!_0x1431ce[_0x4f98af(0x304)](_0x39685c[_0x4f98af(0x2e3)])[_0x4f98af(0x324)](_0x3775b6))return!0x0;const _0x5836f4=_0x1431ce['get'](_0xb1f452[_0x4f98af(0x19c)]),{unitId:_0x16ffcd,subUnitId:_0x442861,pivotTableId:_0x4d738f,fieldId:_0x34aad8,format:_0x34af3e}=_0x154a1e,_0x213fa5=_0x5836f4[_0x4f98af(0x358)](_0x4d738f);if(!_0x213fa5)return!0x1;_0x213fa5[_0x4f98af(0x428)](_0x34aad8,_0x34af3e);const _0x58c164=_0x5836f4[_0x4f98af(0x3cb)](_0x16ffcd,_0x442861,_0x4d738f);return _0x65ad0(_0x58c164,_0x154a1e),_0x5836f4['addDirtyPivotTable']({'unitId':_0x16ffcd,'subUnitId':_0x442861,'token':_0x4d738f,'type':_0x5965b8[_0x4f98af(0x30c)]}),!0x0;}},_0xb58d36={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x448),'handler'(_0x4bd4c4,_0x32418a){const _0x32aaee=_0x4fc62e;if(!_0x32418a)return!0x1;if(!!_0x4bd4c4['get'](_0x39685c[_0x32aaee(0x2e3)])[_0x32aaee(0x324)](_0x3775b6))return!0x0;const _0x5f3205=_0x4bd4c4[_0x32aaee(0x304)](_0xb1f452[_0x32aaee(0x19c)]),{unitId:_0x128517,subUnitId:_0x560932,pivotTableId:_0x39cfaf,fieldId:_0x1dc942,filterInfo:_0x50b6a6}=_0x32418a,_0xfbd3fa=_0x5f3205[_0x32aaee(0x358)](_0x39cfaf);if(!_0xfbd3fa)return!0x1;_0xfbd3fa['setLabelFilterInfo'](_0x1dc942,_0x50b6a6);const _0x336470=_0x5f3205[_0x32aaee(0x3cb)](_0x128517,_0x560932,_0x39cfaf);return _0x325b90(_0x336470,_0x32418a),_0x5f3205['addDirtyPivotTable']({'unitId':_0x128517,'subUnitId':_0x560932,'token':_0x39cfaf,'type':_0x5965b8['Set']}),!0x0;}},_0x5aa68a={'type':_0x39685c['CommandType']['MUTATION'],'id':_0x4fc62e(0x2d6),'handler'(_0x1dda5,_0x2ad4fc){const _0x5a81df=_0x4fc62e;if(!_0x2ad4fc)return!0x1;if(!!_0x1dda5['get'](_0x39685c[_0x5a81df(0x2e3)])[_0x5a81df(0x324)](_0x3775b6))return!0x0;const _0x180399=_0x1dda5[_0x5a81df(0x304)](_0xb1f452[_0x5a81df(0x19c)]),{unitId:_0xd90067,subUnitId:_0x1e952f,pivotTableId:_0x31b132,options:_0x3af51c}=_0x2ad4fc,_0xb7c9ee=_0x180399[_0x5a81df(0x358)](_0x31b132);if(!_0xb7c9ee)return!0x1;_0xb7c9ee[_0x5a81df(0x1df)](_0x3af51c);const _0x5bf462=_0x180399['getPivotTableModelConfig'](_0xd90067,_0x1e952f,_0x31b132);return _0x262bac(_0x5bf462,_0x2ad4fc),_0x180399[_0x5a81df(0x3c0)]({'unitId':_0xd90067,'subUnitId':_0x1e952f,'token':_0x31b132,'type':_0x5965b8[_0x5a81df(0x30c)]}),!0x0;}},_0x1ff179={'type':_0x39685c[_0x4fc62e(0x1bb)]['MUTATION'],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x289361,_0x43a983){const _0x15dfb1=_0x4fc62e;if(!_0x43a983)return!0x1;if(!!_0x289361[_0x15dfb1(0x304)](_0x39685c[_0x15dfb1(0x2e3)])[_0x15dfb1(0x324)](_0x3775b6))return!0x0;const _0x422432=_0x289361[_0x15dfb1(0x304)](_0xb1f452[_0x15dfb1(0x19c)]),{unitId:_0x507054,subUnitId:_0x1487e5,pivotTableId:_0x188df8,sortInfo:_0x1377cb,fieldId:_0x6b3b4c}=_0x43a983,_0x9e74ed=_0x422432[_0x15dfb1(0x358)](_0x188df8);if(!_0x9e74ed)return!0x1;_0x9e74ed[_0x15dfb1(0x378)](_0x6b3b4c,_0x1377cb);const _0x11d51d=_0x422432[_0x15dfb1(0x3cb)](_0x507054,_0x1487e5,_0x188df8);return _0x222536(_0x11d51d,_0x43a983),_0x422432[_0x15dfb1(0x3c0)]({'unitId':_0x507054,'subUnitId':_0x1487e5,'token':_0x188df8,'type':_0x5965b8[_0x15dfb1(0x30c)]}),!0x0;}},_0x40f33c={'type':_0x39685c[_0x4fc62e(0x1bb)]['MUTATION'],'id':_0x4fc62e(0x493),'handler'(_0xf1c179,_0x5ca453){const _0x55537f=_0x4fc62e;if(!_0x5ca453)return!0x1;if(!!_0xf1c179[_0x55537f(0x304)](_0x39685c['IConfigService'])[_0x55537f(0x324)](_0x3775b6))return!0x0;const _0x14dfa1=_0xf1c179[_0x55537f(0x304)](_0xb1f452[_0x55537f(0x19c)]),{unitId:_0x4b1d64,subUnitId:_0x3bace7,pivotTableId:_0x313bec,fieldId:_0x415f43,subtotalType:_0x183751}=_0x5ca453,_0x46a4d0=_0x14dfa1[_0x55537f(0x358)](_0x313bec);if(!_0x46a4d0)return!0x1;_0x46a4d0['setSubtotalType'](_0x415f43,_0x183751);const _0x221ec3=_0x14dfa1['getPivotTableModelConfig'](_0x4b1d64,_0x3bace7,_0x313bec);return _0xd06d9(_0x221ec3,_0x5ca453),_0x14dfa1[_0x55537f(0x3c0)]({'unitId':_0x4b1d64,'subUnitId':_0x3bace7,'token':_0x313bec,'type':_0x5965b8[_0x55537f(0x30c)]}),!0x0;}},_0x374ba6={'type':_0x39685c['CommandType']['MUTATION'],'id':_0x4fc62e(0x370),'handler'(_0x5d2c7f,_0xbf67e2){const _0x41d53c=_0x4fc62e;if(!_0xbf67e2)return!0x1;if(!!_0x5d2c7f[_0x41d53c(0x304)](_0x39685c[_0x41d53c(0x2e3)])[_0x41d53c(0x324)](_0x3775b6))return!0x0;const _0xb64db6=_0x5d2c7f['get'](_0xb1f452[_0x41d53c(0x19c)]),{unitId:_0x4567b4,subUnitId:_0x11d947,pivotTableId:_0x2ad30a,fieldId:_0x532146,filterInfo:_0x5bc9af}=_0xbf67e2,_0x4553ff=_0xb64db6['getPivotTableInstance'](_0x2ad30a);if(!_0x4553ff)return!0x1;_0x4553ff[_0x41d53c(0x208)](_0x532146,_0x5bc9af);const _0x9897f=_0xb64db6['getPivotTableModelConfig'](_0x4567b4,_0x11d947,_0x2ad30a);return _0x3702be(_0x9897f,_0xbf67e2),_0xb64db6[_0x41d53c(0x3c0)]({'unitId':_0x4567b4,'subUnitId':_0x11d947,'token':_0x2ad30a,'type':_0x5965b8[_0x41d53c(0x30c)]}),!0x0;}},_0x4f3230={'type':_0x39685c['CommandType'][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x1a4),'handler'(_0x539d42,_0x537d41){const _0x37c7b5=_0x4fc62e;if(!_0x537d41)return!0x1;if(!!_0x539d42[_0x37c7b5(0x304)](_0x39685c[_0x37c7b5(0x2e3)])['getConfig'](_0x3775b6))return!0x0;const _0x5f41d2=_0x539d42[_0x37c7b5(0x304)](_0xb1f452[_0x37c7b5(0x19c)]),{unitId:_0x4750a3,subUnitId:_0x2eebd0,pivotTableId:_0x72ee0a,area:_0x544d84,index:_0x3806d8,fieldId:_0x12033e}=_0x537d41,_0x52f5c8=_0x5f41d2[_0x37c7b5(0x358)](_0x72ee0a);if(!_0x52f5c8)return!0x1;_0x52f5c8['updateFieldPosition'](_0x12033e,_0x544d84,_0x3806d8);const _0x4cef1d=_0x5f41d2[_0x37c7b5(0x3cb)](_0x4750a3,_0x2eebd0,_0x72ee0a);return _0x2d02d0(_0x4cef1d,_0x537d41),_0x5f41d2[_0x37c7b5(0x3c0)]({'unitId':_0x4750a3,'subUnitId':_0x2eebd0,'token':_0x72ee0a,'type':_0x5965b8['Set']}),!0x0;}},_0x58cc11={'type':_0x39685c['CommandType'][_0x4fc62e(0x36d)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1d985c,_0x2641e7){const _0x238dc6=_0x4fc62e;if(!_0x2641e7)return!0x1;if(!!_0x1d985c[_0x238dc6(0x304)](_0x39685c[_0x238dc6(0x2e3)])[_0x238dc6(0x324)](_0x3775b6))return!0x0;const _0x476c67=_0x1d985c['get'](_0xb1f452[_0x238dc6(0x19c)]),{unitId:_0x162ba4,subUnitId:_0xc8ed7e,pivotTableId:_0x3dd416,sourceName:_0x26926a,dataFieldId:_0x4c91de,tableFieldId:_0x14ad40}=_0x2641e7,_0x914231=_0x476c67[_0x238dc6(0x358)](_0x3dd416);if(!_0x914231)return!0x1;_0x914231['updateFieldSourceInfo'](_0x14ad40,_0x26926a,_0x4c91de);const _0x1a539c=_0x476c67[_0x238dc6(0x3cb)](_0x162ba4,_0xc8ed7e,_0x3dd416);return _0x30734e(_0x1a539c,_0x2641e7),_0x476c67[_0x238dc6(0x3c0)]({'unitId':_0x162ba4,'subUnitId':_0xc8ed7e,'token':_0x3dd416,'type':_0x5965b8['Set']}),!0x0;}},_0x2df89f={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x4a594d,_0x1dac9b){const _0x5a6aec=_0x4fc62e;if(!_0x1dac9b)return!0x1;if(!!_0x4a594d[_0x5a6aec(0x304)](_0x39685c[_0x5a6aec(0x2e3)])['getConfig'](_0x3775b6))return!0x0;const _0x1d690e=_0x4a594d['get'](_0xb1f452[_0x5a6aec(0x19c)]),{unitId:_0x3e1caa,subUnitId:_0x43fc11,pivotTableId:_0x2823d6,valuePosition:_0x37b643,index:_0x133e5b}=_0x1dac9b,_0x1bf5e9=_0x1d690e['getPivotTableInstance'](_0x2823d6);if(!_0x1bf5e9)return!0x1;_0x1bf5e9['updateValuePosition'](_0x37b643,_0x133e5b);const _0x4ab7c2=_0x1d690e[_0x5a6aec(0x3cb)](_0x3e1caa,_0x43fc11,_0x2823d6);return _0x37bf1b(_0x4ab7c2,_0x1dac9b),_0x1d690e['addDirtyPivotTable']({'unitId':_0x3e1caa,'subUnitId':_0x43fc11,'token':_0x2823d6,'type':_0x5965b8['Set']}),!0x0;}};function _0x4abc6e(_0x54ace8,_0x432fa,_0x3e3c07){const _0x4da2a1=_0x4fc62e,{pivotTableId:_0x49381f,unitId:_0x48c7f1,subUnitId:_0x2fc45d}=_0x432fa,_0x22c53e=[],_0x2b5fb7=[];for(const _0x9eb52f of _0x3e3c07)switch(_0x9eb52f['type']){case _0x27cc4c['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x429086,area:_0x518ab3,index:_0x1ba4b1}=_0x9eb52f,_0x1aa500={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldJson':_0x429086,'area':_0x518ab3,'index':_0x1ba4b1},_0x32b677={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x429086['id'],'area':_0x518ab3,'index':_0x1ba4b1};_0x22c53e['push']({'id':_0x94ad4e['id'],'params':_0x1aa500}),_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x536b11['id'],'params':_0x32b677});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x21b)]:{const {fieldId:_0x117b57,newSubtotalType:_0x36beec,oldSubtotalType:_0x5b6748}=_0x9eb52f,_0x578ec9={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x117b57,'subtotalType':_0x36beec};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x40f33c['id'],'params':_0x578ec9});const _0x1aab5={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x117b57,'subtotalType':_0x5b6748};_0x2b5fb7['unshift']({'id':_0x40f33c['id'],'params':_0x1aab5});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x36c)]:{const {fieldId:_0xfa7553,fieldJson:_0x4ac282,area:_0x2b78cf,index:_0x22ff0d}=_0x9eb52f,_0x16191e={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0xfa7553,'index':_0x22ff0d,'area':_0x2b78cf};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x536b11['id'],'params':_0x16191e});const _0x656b8d={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldJson':_0x4ac282,'area':_0x2b78cf,'index':_0x22ff0d};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x94ad4e['id'],'params':_0x656b8d});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x3d4)]:{const {fieldId:_0x52f67b,oldName:_0xe87d65,newName:_0x5eb2ce}=_0x9eb52f,_0x399f59={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x52f67b,'name':_0x5eb2ce};_0x22c53e['push']({'id':_0x5631f0['id'],'params':_0x399f59});const _0x15f164={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x52f67b,'name':_0xe87d65};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x5631f0['id'],'params':_0x15f164});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x227)]:{const {fieldId:_0x2ca5ec,oldFilterInfo:_0x33fa9b,newFilterInfo:_0x2a01c9}=_0x9eb52f,_0x26f5c9={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2ca5ec,'filterInfo':_0x2a01c9};_0x22c53e['push']({'id':_0xb58d36['id'],'params':_0x26f5c9});const _0x3024ab={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2ca5ec,'filterInfo':_0x33fa9b};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0xb58d36['id'],'params':_0x3024ab});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x1f2)]:{const {fieldId:_0x2261bf,oldSortInfo:_0xf3c38c,newSortInfo:_0x498926}=_0x9eb52f,_0x6e3fd1={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2261bf,'sortInfo':_0x498926};_0x22c53e['push']({'id':_0x1ff179['id'],'params':_0x6e3fd1});const _0xd60a6e={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2261bf,'sortInfo':_0xf3c38c};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x1ff179['id'],'params':_0xd60a6e});}break;case _0x27cc4c['PivotTableChangeTypeEnum'][_0x4da2a1(0x291)]:{const {oldOptions:_0x4d8df7,newOptions:_0x3a2e4c}=_0x9eb52f,_0x871a47={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'options':_0x3a2e4c};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x5aa68a['id'],'params':_0x871a47});const _0x5bf1b9={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'options':_0x4d8df7};_0x2b5fb7['unshift']({'id':_0x5aa68a['id'],'params':_0x5bf1b9});}break;case _0x27cc4c['PivotTableChangeTypeEnum'][_0x4da2a1(0x3b0)]:{const {oldArea:_0xa0a0ce,newArea:_0x33e117,oldIndex:_0x4196ef,newIndex:_0x29a1cd,fieldId:_0x3c428b}=_0x9eb52f,_0xb9abf2={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x3c428b,'area':_0x33e117,'index':_0x29a1cd,'oldArea':_0xa0a0ce,'oldIndex':_0x4196ef};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x4f3230['id'],'params':_0xb9abf2});const _0x596716={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x3c428b,'area':_0xa0a0ce,'index':_0x4196ef,'oldArea':_0x33e117,'oldIndex':_0x29a1cd};_0x2b5fb7['unshift']({'id':_0x4f3230['id'],'params':_0x596716});}break;case _0x27cc4c[_0x4da2a1(0x389)][_0x4da2a1(0x3f3)]:{const {oldValuePosition:_0x201758,newValuePosition:_0x337d06,oldIndex:_0x2d7e35,newIndex:_0x26f476}=_0x9eb52f,_0x2bd0bf={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'valuePosition':_0x337d06,'index':_0x26f476};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x2df89f['id'],'params':_0x2bd0bf});const _0x1b58c8={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'valuePosition':_0x201758,'index':_0x2d7e35};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x2df89f['id'],'params':_0x1b58c8});}break;case _0x27cc4c[_0x4da2a1(0x389)]['SetCollapse']:{const {fieldId:_0xe942bf,collapse:_0x26a5c9,item:_0x32e1a7}=_0x9eb52f,_0x32e119={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0xe942bf,'collapse':_0x26a5c9,'item':_0x32e1a7};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x3761ac['id'],'params':_0x32e119});const _0x479e31={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0xe942bf,'collapse':!_0x26a5c9,'item':_0x32e1a7};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x3761ac['id'],'params':_0x479e31});}break;case _0x27cc4c[_0x4da2a1(0x389)]['SetFieldFormat']:{const {newFormat:_0xc87237,oldFormat:_0x20b51d,fieldId:_0x28bf3c}=_0x9eb52f,_0x264e0a={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x28bf3c,'format':_0xc87237};_0x22c53e[_0x4da2a1(0x458)]({'id':_0xdfb360['id'],'params':_0x264e0a});const _0x3f3819={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x28bf3c,'format':_0x20b51d};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0xdfb360['id'],'params':_0x3f3819});}break;case _0x27cc4c[_0x4da2a1(0x389)]['UpdateSource']:{const {tableFieldId:_0x375fc4,oldSourceName:_0x1e6f2f,newSourceName:_0x5a8744,oldDataFieldId:_0x1e5624,newDataFieldId:_0x3ffc15}=_0x9eb52f,_0x309fc6={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'tableFieldId':_0x375fc4,'sourceName':_0x5a8744,'dataFieldId':_0x3ffc15};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x58cc11['id'],'params':_0x309fc6});const _0x26dac3={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'tableFieldId':_0x375fc4,'sourceName':_0x1e6f2f,'dataFieldId':_0x1e5624};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x58cc11['id'],'params':_0x26dac3});}break;case _0x27cc4c['PivotTableChangeTypeEnum']['SetValueFilter']:{const {fieldId:_0x2e10f4,filterInfo:_0x3495a9,oldFilterInfo:_0x167e4f}=_0x9eb52f,_0x388841={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2e10f4,'filterInfo':_0x3495a9};_0x22c53e[_0x4da2a1(0x458)]({'id':_0x374ba6['id'],'params':_0x388841});const _0x4da607={'unitId':_0x48c7f1,'subUnitId':_0x2fc45d,'pivotTableId':_0x49381f,'fieldId':_0x2e10f4,'filterInfo':_0x167e4f};_0x2b5fb7[_0x4da2a1(0x4a3)]({'id':_0x374ba6['id'],'params':_0x4da607});}}return{'redos':_0x22c53e,'undos':_0x2b5fb7};}function _0x64329e(_0x330c48,_0x45ec91){const _0x30aed4=_0x4fc62e;var _0x5da526;const _0x7d2b98=_0x330c48['get'](_0xb1f452[_0x30aed4(0x1d7)]),{cellInfo:_0x15ae5c,view:_0x5dc177,isEmpty:_0x2226e5}=_0x45ec91;return(_0x5da526=_0x7d2b98['interceptor'][_0x30aed4(0x2e2)](_0x4dac5b)(_0x1b4c8d,{'cellInfo':_0x15ae5c,'view':_0x5dc177,'isEmpty':_0x2226e5}))!=null?_0x5da526:_0x1b4c8d;}const _0x126e51=()=>typeof process<'u'&&process[_0x4fc62e(0x34b)]!=null&&process[_0x4fc62e(0x34b)]['node']!=null,_0x510f9b={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.add-pivot-table','handler'(_0x5e1dd9,_0x2d167f){const _0x57007a=_0x4fc62e;var _0x9f3cca;if(!_0x2d167f)return!0x1;const _0x35ec1a=_0x5e1dd9[_0x57007a(0x304)](_0x39685c['IConfigService']);if(!!_0x35ec1a[_0x57007a(0x324)](_0x3775b6))return!0x0;const _0x3fdc0c=_0x5e1dd9['get'](_0x39685c[_0x57007a(0x21f)]),_0x228394=_0x5e1dd9[_0x57007a(0x304)](_0xb1f452[_0x57007a(0x19c)]),{pivotTableId:_0x567f1d,pivotTableConfig:_0x2b83e2,collectionConfig:_0x538cdc,unitId:_0x5f22a2,subUnitId:_0x5b0707}=_0x2d167f,{sourceRangeInfo:_0x1036e8,fieldsConfig:_0xed64cb,targetCellInfo:_0x57774b}=_0x2b83e2,_0x1ea463=_0x3fdc0c[_0x57007a(0x486)](_0x5f22a2);if(!_0x1ea463||!_0x1ea463[_0x57007a(0x1e4)](_0x5b0707))return!0x1;if(!_0x126e51()){let _0x1d88a7=0x0;_0x1ea463[_0x57007a(0x349)]()[_0x57007a(0x268)](_0x49be18=>{const _0x5ae3c7=_0x57007a;var _0xb0299c,_0x519fee;_0x1d88a7+=(_0x519fee=(_0xb0299c=_0x228394[_0x5ae3c7(0x450)](_0x5f22a2,_0x49be18[_0x5ae3c7(0x3c4)]()))==null?void 0x0:_0xb0299c[_0x5ae3c7(0x321)])!=null?_0x519fee:0x0;});const _0x3179ab=(_0x9f3cca=_0x35ec1a[_0x57007a(0x324)](_0x5f1ced['LS_CONFIG_KEY']))!=null?_0x9f3cca:{},{ls:_0x3e3736,pbk:_0x272ad9}=_0x3179ab;if(!_0x4630ec(_0x3e3736,_0x272ad9))throw new _0x39685c[(_0x57007a(0x456))](_0x57007a(0x437));const _0x23c9a5=_0x52f6f9(_0x377c9c,_0x3e3736,_0x272ad9)[_0x57007a(0x38d)];if(_0x1d88a7>=_0x23c9a5)throw new _0x39685c[(_0x57007a(0x456))](_0x57007a(0x437));}if(!_0x538cdc||!_0xed64cb)return!0x1;const {collection:_0x41b243,updateDataFieldList:_0x5f073a}=_0x228394[_0x57007a(0x2ff)](_0x567f1d,_0x538cdc,_0x1036e8,_0x57774b);_0x228394[_0x57007a(0x416)](_0x41b243,_0x5f073a,_0x1036e8);const _0x3c55a1=new _0x27cc4c[(_0x57007a(0x3a3))](_0x41b243,void 0x0,_0x567f1d);_0x3c55a1[_0x57007a(0x245)](_0xed64cb);const _0x3db236=JSON[_0x57007a(0x3bb)](JSON[_0x57007a(0x235)](_0x2b83e2));return _0x228394['addPivotTable'](_0x5f22a2,_0x5b0707,_0x567f1d,_0x3c55a1,_0x3db236),_0x228394[_0x57007a(0x3c0)]({'unitId':_0x5f22a2,'subUnitId':_0x5b0707,'token':_0x567f1d,'type':_0x5965b8['Add'],'pivotConfig':_0x3db236}),!0x0;}},_0x58e35f={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x3ac819,_0x548554){const _0x21fef3=_0x4fc62e;if(!_0x548554)return!0x1;if(!!_0x3ac819[_0x21fef3(0x304)](_0x39685c[_0x21fef3(0x2e3)])['getConfig'](_0x3775b6))return!0x0;const {pivotTableId:_0x4564be,unitId:_0x21d51a,subUnitId:_0x215555}=_0x548554,_0x35a166=_0x3ac819[_0x21fef3(0x304)](_0xb1f452['SheetsPivotDataSourceModel']);return _0x35a166[_0x21fef3(0x492)](_0x21d51a,_0x215555,_0x4564be)?(_0x35a166[_0x21fef3(0x3c0)]({'unitId':_0x21d51a,'subUnitId':_0x215555,'token':_0x4564be,'type':_0x5965b8['Delete']}),_0x35a166[_0x21fef3(0x20c)](_0x21d51a,_0x215555,_0x4564be),!0x0):!0x1;}},_0x4071d4={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.mutation.set-pivot-position','handler'(_0x1e331a,_0x2b111d){const _0x42d32d=_0x4fc62e;if(!_0x2b111d)return!0x1;if(!!_0x1e331a[_0x42d32d(0x304)](_0x39685c[_0x42d32d(0x2e3)])['getConfig'](_0x3775b6))return!0x0;const {pivotTableId:_0x239599,targetCellPosition:_0x328405,unitId:_0x41f981,subUnitId:_0x42260c}=_0x2b111d,_0x670f2e=_0x1e331a[_0x42d32d(0x304)](_0xb1f452[_0x42d32d(0x19c)]);if(!_0x670f2e['getPivotTableInstance'](_0x2b111d['pivotTableId']))return!0x1;const _0x1c0272=_0x670f2e[_0x42d32d(0x3af)](_0x239599);if(!_0x1c0272)return!0x1;const _0x443412=_0x670f2e[_0x42d32d(0x19a)](_0x1c0272[_0x42d32d(0x2be)],_0x2b111d[_0x42d32d(0x31d)]);if(!_0x443412)return!0x1;const _0x1787db=_0x670f2e[_0x42d32d(0x492)](_0x1c0272['unitId'],_0x1c0272[_0x42d32d(0x4a1)],_0x239599);if(!_0x1787db)return!0x1;const _0x2700cc=_0x39685c['Tools'][_0x42d32d(0x418)](_0x1787db);_0x2700cc[_0x42d32d(0x2b6)]={'unitId':_0x41f981,'subUnitId':_0x42260c,'row':_0x328405[_0x42d32d(0x466)],'col':_0x328405['col']};const _0x255f2b=_0x443412[_0x42d32d(0x43a)]();if(_0x1c0272[_0x42d32d(0x4a1)]===_0x42260c&&_0x1c0272[_0x42d32d(0x2be)]===_0x41f981)_0x670f2e[_0x42d32d(0x20d)](_0x41f981,_0x42260c,_0x239599,_0x2700cc),_0x670f2e[_0x42d32d(0x3c0)]({'unitId':_0x41f981,'subUnitId':_0x42260c,'token':_0x239599,'type':_0x5965b8[_0x42d32d(0x30c)]});else{_0x670f2e[_0x42d32d(0x3c0)]({'unitId':_0x1c0272[_0x42d32d(0x2be)],'subUnitId':_0x1c0272[_0x42d32d(0x4a1)],'token':_0x239599,'type':_0x5965b8[_0x42d32d(0x445)]}),_0x670f2e[_0x42d32d(0x20c)](_0x1c0272[_0x42d32d(0x2be)],_0x1c0272['subUnitId'],_0x239599);const _0x49e5e1=_0x670f2e[_0x42d32d(0x2ff)](_0x239599,_0x255f2b,_0x1787db[_0x42d32d(0x277)],_0x2700cc[_0x42d32d(0x2b6)]),_0x1f8adf=new _0x27cc4c[(_0x42d32d(0x3a3))](_0x49e5e1[_0x42d32d(0x2fc)],void 0x0,_0x239599);_0x1f8adf[_0x42d32d(0x245)](_0x2700cc[_0x42d32d(0x3a8)]),_0x670f2e['addPivotTable'](_0x41f981,_0x42260c,_0x239599,_0x1f8adf,_0x2700cc),_0x670f2e[_0x42d32d(0x3c0)]({'unitId':_0x41f981,'subUnitId':_0x42260c,'token':_0x239599,'type':_0x5965b8[_0x42d32d(0x2eb)],'pivotConfig':_0x2700cc});}return!0x0;}},_0x469f4e={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':_0x4fc62e(0x45c),'handler'(_0x148f15,_0x57a5d3){const _0x464399=_0x4fc62e;if(!_0x57a5d3)return!0x1;if(!!_0x148f15[_0x464399(0x304)](_0x39685c['IConfigService'])[_0x464399(0x324)](_0x3775b6))return!0x0;const _0x3c35df=_0x148f15[_0x464399(0x304)](_0xb1f452[_0x464399(0x19c)]),{pivotTableId:_0x2d9f1d,deleteIds:_0x59e95d,collectionJSON:_0x53c3a1,dataRangeInfo:_0x6e1072,unitId:_0x4bc322,subUnitId:_0x5e98a7}=_0x57a5d3,_0x5214b4=_0x3c35df[_0x464399(0x358)](_0x2d9f1d),_0x2bc3b0=_0x3c35df['getPivotTableConfig'](_0x4bc322,_0x5e98a7,_0x2d9f1d);if(!_0x5214b4||!_0x2bc3b0)return!0x1;const {collection:_0x53305c,updateDataFieldList:_0x5bb365}=_0x3c35df['addCollectionByJSON'](_0x2d9f1d,_0x53c3a1,_0x6e1072,_0x2bc3b0['targetCellInfo']);_0x3c35df['refreshData'](_0x53305c,_0x5bb365,_0x6e1072),_0x5214b4['updateDataFieldsCollection'](_0x53305c);for(const _0x497009 of _0x59e95d)_0x3c35df['removeDataField'](_0x6e1072[_0x464399(0x2be)],_0x497009);const _0x201cee=_0x3c35df[_0x464399(0x492)](_0x4bc322,_0x5e98a7,_0x2d9f1d);return _0x201cee[_0x464399(0x277)]=JSON['parse'](JSON[_0x464399(0x235)](_0x6e1072)),_0x3c35df[_0x464399(0x3c0)]({'unitId':_0x4bc322,'subUnitId':_0x5e98a7,'token':_0x2d9f1d,'type':_0x5965b8[_0x464399(0x30c)]}),!0x0;}},_0xdc2915={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x37c7bb=Object[_0x4fc62e(0x4ab)],_0x533882=(_0x3d03ac,_0x31e404,_0x55a21f,_0x1e7d1a)=>{for(var _0x474ed9=_0x1e7d1a>0x1?void 0x0:_0x1e7d1a?_0x37c7bb(_0x31e404,_0x55a21f):_0x31e404,_0x16ed43=_0x3d03ac['length']-0x1,_0x4ea57a;_0x16ed43>=0x0;_0x16ed43--)(_0x4ea57a=_0x3d03ac[_0x16ed43])&&(_0x474ed9=_0x4ea57a(_0x474ed9)||_0x474ed9);return _0x474ed9;},_0x5e86b9=(_0x5f5523,_0x19847e)=>(_0x6e17c4,_0x2cb298)=>_0x19847e(_0x6e17c4,_0x2cb298,_0x5f5523);_0xb1f452[_0x4fc62e(0x360)]=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x5289fb,_0x2b78e2){const _0x57469c=_0x4fc62e;super(),_0x46647d(this,_0x57469c(0x332),new Map()),(this['_injector']=_0x5289fb,this[_0x57469c(0x39a)]=_0x2b78e2);}[_0x4fc62e(0x4a7)](_0x10225f){const _0x88e1aa=_0x4fc62e,{version:_0x831a1d}=_0x10225f,_0x4ce25a=this[_0x88e1aa(0x332)][_0x88e1aa(0x304)](_0x831a1d);_0x4ce25a&&(_0x4ce25a(_0x10225f),this['_requestResolvers']['delete'](_0x831a1d));}[_0x4fc62e(0x417)](_0x15ec64){return new Promise((_0x540856,_0x530247)=>{const _0x9e8c85=_0x1629,_0xffd306=this[_0x9e8c85(0x3f0)]();this[_0x9e8c85(0x332)][_0x9e8c85(0x3e1)](_0xffd306,_0x540856),this[_0x9e8c85(0x39a)][_0x9e8c85(0x415)](_0x48413d['id'],{'version':_0xffd306,..._0x15ec64},{'onlyLocal':!0x0});});}[_0x4fc62e(0x3f0)](){const _0x1a3548=_0x4fc62e;return Math[_0x1a3548(0x37f)]()[_0x1a3548(0x22d)](0x24)[_0x1a3548(0x1f3)](0x2,0x10);}},_0xb1f452[_0x4fc62e(0x360)]=_0x533882([_0x5e86b9(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x5e86b9(0x1,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x357)]))],_0xb1f452[_0x4fc62e(0x360)]);const _0x1489a0={'id':_0x4fc62e(0x254),'type':_0x39685c[_0x4fc62e(0x1bb)]['MUTATION'],'handler':(_0x1a8f03,_0x28490e)=>{const _0x5f5c83=_0x4fc62e;if(!_0x28490e)return!0x1;if(!!_0x1a8f03[_0x5f5c83(0x304)](_0x39685c[_0x5f5c83(0x2e3)])[_0x5f5c83(0x324)](_0x3775b6))return!0x0;const {pivotTableId:_0x23a824,fieldJSON:_0x2d5f8f,unitId:_0x2c851c,subUnitId:_0x1ae521}=_0x28490e,_0x1c76cc=_0x27cc4c['BaseGroupField']['fromJSON'](_0x2d5f8f);if(!_0x1c76cc)return!0x1;const _0x392438=_0x1a8f03[_0x5f5c83(0x304)](_0xb1f452[_0x5f5c83(0x19c)]),_0x55adf3=_0x392438[_0x5f5c83(0x313)](_0x2c851c),_0x1d7ed3=_0x55adf3[_0x5f5c83(0x19a)](_0x23a824);_0x55adf3['addDataFieldWithoutUnitInfo'](_0x1c76cc),_0x1d7ed3[_0x5f5c83(0x424)](_0x1c76cc[_0x5f5c83(0x2e1)](),_0x1c76cc[_0x5f5c83(0x29b)]());const _0xe41f79=_0x1d7ed3[_0x5f5c83(0x19b)](_0x1c76cc[_0x5f5c83(0x412)]());_0xe41f79&&_0x1c76cc[_0x5f5c83(0x1ca)](_0xe41f79);const _0x4adfa1=_0x392438[_0x5f5c83(0x492)](_0x2c851c,_0x1ae521,_0x23a824);return _0x392438[_0x5f5c83(0x3c0)]({'unitId':_0x2c851c,'subUnitId':_0x1ae521,'token':_0x23a824,'type':_0x5965b8[_0x5f5c83(0x30c)],'pivotConfig':_0x4adfa1}),!0x0;}},_0x53515b={'id':'sheet.mutation.remove-group-collection','type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x36d)],'handler':(_0x2465e6,_0x3dc0d5)=>{const _0x3dda4e=_0x4fc62e;if(!_0x3dc0d5)return!0x1;if(!!_0x2465e6[_0x3dda4e(0x304)](_0x39685c[_0x3dda4e(0x2e3)])[_0x3dda4e(0x324)](_0x3775b6))return!0x0;const {pivotTableId:_0xae3561,dataFieldId:_0x58f4c7,unitId:_0x45c743,subUnitId:_0x5d756b}=_0x3dc0d5,_0xc3976a=_0x2465e6[_0x3dda4e(0x304)](_0xb1f452[_0x3dda4e(0x19c)]),_0x3b04e0=_0xc3976a[_0x3dda4e(0x313)](_0x45c743);_0x3b04e0[_0x3dda4e(0x19a)](_0xae3561)[_0x3dda4e(0x295)](_0x58f4c7);let _0x17b347=!0x0;for(const _0x3b80b5 in _0x3b04e0[_0x3dda4e(0x2a6)])if(_0x3b04e0['collections'][_0x3b80b5]['getFieldIds']()['includes'](_0x58f4c7)){_0x17b347=!0x1;break;}_0x17b347&&_0x3b04e0[_0x3dda4e(0x344)](_0x58f4c7);const _0x13b2a1=_0xc3976a[_0x3dda4e(0x492)](_0x45c743,_0x5d756b,_0xae3561);return _0xc3976a[_0x3dda4e(0x3c0)]({'unitId':_0x45c743,'subUnitId':_0x5d756b,'token':_0xae3561,'type':_0x5965b8[_0x3dda4e(0x30c)],'pivotConfig':_0x13b2a1}),!0x0;}},_0x37b4c2={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x3f1),async 'handler'(_0x329de6,_0x2c8989){const _0x47a1ae=_0x4fc62e;if(!_0x2c8989)return!0x1;const _0x59d224=_0x329de6['get'](_0x39685c[_0x47a1ae(0x357)]),_0x3b22db=_0x329de6[_0x47a1ae(0x304)](_0xb1f452[_0x47a1ae(0x360)]),_0x12a0ae=_0x329de6[_0x47a1ae(0x304)](_0x39685c['IUndoRedoService']),{pivotTableId:_0x36678f,dataFieldId:_0x4fce77,fieldArea:_0x56e32c,index:_0x3d8a9e,unitId:_0xf21225,subUnitId:_0x460aae}=_0x2c8989,_0x5bfa15=(await _0x3b22db[_0x47a1ae(0x417)]({'unitId':_0xf21225,'subUnitId':_0x460aae,'pivotTableId':_0x36678f,'params':{'type':_0x5ba5f6[_0x47a1ae(0x488)],'addPivotField':{'dataFieldId':_0x4fce77,'fieldArea':_0x56e32c,'index':_0x3d8a9e}}}))['result']['addPivotField'];if(!_0x5bfa15)return!0x1;const {view:_0x308a63,changesets:_0x23a797,isEmpty:_0x530823,pivotTableConfig:_0x120ecd,shouldBeAddedGroupJSON:_0x55d2f0}=_0x5bfa15,_0x865de5=_0x120ecd[_0x47a1ae(0x2b6)],_0x40f169=new _0x27cc4c[(_0x47a1ae(0x198))]();_0x40f169[_0x47a1ae(0x41b)](_0x308a63);const _0x2f774f={'cellInfo':_0x865de5,'view':_0x40f169,'isEmpty':_0x530823};if(!await _0x329de6[_0x47a1ae(0x304)](_0xb1f452['SheetsPivotTableService'])[_0x47a1ae(0x1f5)][_0x47a1ae(0x2ca)](_0x3ec142)(!0x0,_0x2f774f))return!0x1;const _0x366039=_0x5176ce(_0x329de6,_0x40f169,_0x865de5,_0x530823),_0x344a88=_0x64329e(_0x329de6,_0x2f774f),{undos:_0x34fa9b,redos:_0x129bbe}=_0x4abc6e(_0x59d224,{'pivotTableId':_0x36678f,'unitId':_0xf21225,'subUnitId':_0x460aae},_0x23a797);return _0x55d2f0&&(_0x129bbe['unshift']({'id':_0x1489a0['id'],'params':{'pivotTableId':_0x36678f,'fieldJSON':_0x55d2f0,'unitId':_0xf21225,'subUnitId':_0x460aae}}),_0x34fa9b['push']({'id':_0x53515b['id'],'params':{'pivotTableId':_0x36678f,'dataFieldId':_0x55d2f0['id'],'unitId':_0xf21225,'subUnitId':_0x460aae}})),_0x39685c[_0x47a1ae(0x1c0)]([..._0x366039[_0x47a1ae(0x24b)],..._0x344a88['redos'],..._0x129bbe],_0x59d224),_0x12a0ae[_0x47a1ae(0x2c6)]({'unitID':_0xf21225,'redoMutations':[..._0x366039['redos'],..._0x344a88[_0x47a1ae(0x24b)],..._0x129bbe],'undoMutations':[..._0x366039[_0x47a1ae(0x499)],..._0x344a88[_0x47a1ae(0x499)],..._0x34fa9b]}),!0x0;}},_0x4cb6a8={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x1ea),async 'handler'(_0xd85971,_0x4ef7b2){const _0x18a04c=_0x4fc62e;if(!_0x4ef7b2)return!0x1;const {sourceDataInfo:_0x7ca137,pivotTableConfig:_0x19fe49}=_0x4ef7b2;if(!_0x7ca137||!_0x19fe49)return!0x1;const {unitId:_0x349c82,subUnitId:_0x2a8618,range:_0x2441d1}=_0x7ca137,_0x399306=_0xd85971[_0x18a04c(0x304)](_0x39685c[_0x18a04c(0x21f)]),_0x1e6574=_0xd85971['get'](_0xb1f452[_0x18a04c(0x360)]),_0x1ac815=_0xd85971[_0x18a04c(0x304)](_0x39685c[_0x18a04c(0x3b5)]),_0x18c474=_0xd85971['get'](_0x39685c[_0x18a04c(0x357)]),_0x28c9f3=_0x399306[_0x18a04c(0x486)](_0x349c82);if(!_0x28c9f3)return!0x1;const _0x4a50bb=_0x28c9f3[_0x18a04c(0x1e4)](_0x2a8618);if(!_0x4a50bb)return!0x1;const _0x1fe39d=_0x27cc4c[_0x18a04c(0x476)](0x8),_0x2b0fd5=_0x2441d1||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4a50bb[_0x18a04c(0x3c8)]()-0x1,'endColumn':_0x4a50bb['getColumnCount']()-0x1};_0x2b0fd5[_0x18a04c(0x401)]=_0x39685c[_0x18a04c(0x1d3)]['NORMAL'];const _0x35b773=(await _0x1e6574[_0x18a04c(0x417)]({'unitId':_0x349c82,'subUnitId':_0x2a8618,'pivotTableId':_0x1fe39d,'params':{'type':_0x5ba5f6[_0x18a04c(0x388)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x349c82,'sheetName':_0x4a50bb['getName'](),'subUnitId':_0x2a8618,'range':_0x2b0fd5},'pivotTableId':_0x1fe39d,'pivotTableIndexConfig':_0x19fe49}}}))['result'][_0x18a04c(0x371)];if(!_0x35b773)return!0x1;const {isEmpty:_0x9fc059,fieldsConfig:_0x4a0f2f,collectionConfig:_0x3b5c96,changesets:_0x5a5f7d}=_0x35b773,_0x373334=_0x28c9f3[_0x18a04c(0x349)]()[_0x18a04c(0x2fd)],_0x2476b5=_0x39685c[_0x18a04c(0x40d)]({'rowCount':_0x4a50bb[_0x18a04c(0x3c8)]()-0x1,'columnCount':_0x4a50bb[_0x18a04c(0x427)]()-0x1});_0x2476b5['id']=_0x39685c[_0x18a04c(0x4a2)](),_0x2476b5[_0x18a04c(0x3a4)]=_0x28c9f3[_0x18a04c(0x43e)](''+_0x1ac815['t'](_0x18a04c(0x495)));const _0x44da17={'index':_0x373334,'sheet':_0x2476b5,'unitId':_0x349c82},{redos:_0x3ba239}=_0x4abc6e(_0x18c474,{'pivotTableId':_0x1fe39d,'unitId':_0x349c82,'subUnitId':_0x2476b5['id']},_0x5a5f7d),_0x4e53c8=[{'id':_0x3f53bd[_0x18a04c(0x48b)]['id'],'params':_0x44da17},{'id':_0x510f9b['id'],'params':{'unitId':_0x349c82,'subUnitId':_0x2476b5['id'],'pivotTableId':_0x1fe39d,'pivotTableConfig':{'isEmpty':_0x9fc059,'fieldsConfig':_0x4a0f2f,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x349c82,'subUnitId':_0x2476b5['id']},'sourceRangeInfo':{'subUnitId':_0x2a8618,'unitId':_0x349c82,'range':_0x2b0fd5,'sheetName':_0x4a50bb[_0x18a04c(0x29b)]()}},'collectionConfig':_0x3b5c96}},..._0x3ba239];return _0x39685c['sequenceExecute'](_0x4e53c8,_0x18c474),!0x0;}},_0x411616={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x1af),async 'handler'(_0x4c2243,_0x5df67f){const _0x2b3a57=_0x4fc62e;var _0x20268a,_0x587eaf;const _0x3275d7=_0x4c2243['get'](_0x39685c[_0x2b3a57(0x357)]),_0x5136ae=_0x4c2243[_0x2b3a57(0x304)](_0x39685c[_0x2b3a57(0x21f)]),_0x21af18=_0x4c2243[_0x2b3a57(0x304)](_0x39685c['LocaleService']),_0x7b81df=_0x4c2243[_0x2b3a57(0x304)](_0xb1f452['SheetsPivotRPCService']),_0x172b00=_0x4c2243[_0x2b3a57(0x304)](_0x39685c[_0x2b3a57(0x2d7)]),_0x1e493a=_0x4c2243['get'](_0xb1f452['SheetsPivotTableConfigModel']),_0x788331=_0x4c2243[_0x2b3a57(0x304)](_0x39685c[_0x2b3a57(0x2e3)]);if(!_0x5df67f)return!0x1;const {pivotTableConfig:_0x109fcc,positionType:_0x3d0238}=_0x5df67f,{targetCellInfo:_0x519f76,sourceRangeInfo:_0x753b4f}=_0x109fcc,{unitId:_0x249b3b,subUnitId:_0x3a2421}=_0x519f76,_0x1f73ff=_0x5136ae[_0x2b3a57(0x486)](_0x249b3b);if(!_0x1f73ff)return!0x1;let _0x2939c0=0x0;_0x1f73ff[_0x2b3a57(0x349)]()[_0x2b3a57(0x268)](_0x146eeb=>{const _0x429c77=_0x2b3a57;var _0x2d6722,_0x13cc69;_0x2939c0+=(_0x13cc69=(_0x2d6722=_0x1e493a[_0x429c77(0x450)](_0x249b3b,_0x146eeb[_0x429c77(0x3c4)]()))==null?void 0x0:_0x2d6722[_0x429c77(0x321)])!=null?_0x13cc69:0x0;});const _0x2072e0=(_0x20268a=_0x788331[_0x2b3a57(0x324)](_0x5f1ced[_0x2b3a57(0x205)]))!=null?_0x20268a:{},{ls:_0xef737b,pbk:_0x2aabb5}=_0x2072e0;if(!_0x4630ec(_0xef737b,_0x2aabb5))return!0x1;const _0x3e74b5=_0x52f6f9(_0x377c9c,_0xef737b,_0x2aabb5)[_0x2b3a57(0x38d)];if(_0x2939c0>=_0x3e74b5)return!0x1;const _0x39f2cb=_0x5df67f[_0x2b3a57(0x31d)]||_0x27cc4c[_0x2b3a57(0x476)](0x8),_0x406872=(await _0x7b81df[_0x2b3a57(0x417)]({'unitId':_0x249b3b,'subUnitId':_0x3a2421,'pivotTableId':_0x39f2cb,'params':{'type':_0x5ba5f6[_0x2b3a57(0x460)],'addPivotTable':{'sourceRangeInfo':_0x753b4f,'pivotTableId':_0x39f2cb}}}))[_0x2b3a57(0x2cf)]['addPivotTable'];if(!_0x406872)return!0x1;const {view:_0x19c622,isEmpty:_0x20df60,fieldsConfig:_0x15fcdc,collectionConfig:_0x45baf6}=_0x406872,_0x407a04=[],_0x2dba6c=[];if(_0x3d0238===_0x19b8f4['New']){const _0x4f5806=_0x1f73ff[_0x2b3a57(0x349)]()[_0x2b3a57(0x2fd)],_0x4aca0c=_0x39685c[_0x2b3a57(0x40d)]({});_0x4aca0c['id']=_0x109fcc[_0x2b3a57(0x2b6)]['subUnitId'],_0x4aca0c[_0x2b3a57(0x3a4)]=(_0x587eaf=_0x109fcc[_0x2b3a57(0x2b6)][_0x2b3a57(0x4a6)])!=null?_0x587eaf:_0x1f73ff[_0x2b3a57(0x43e)](''+_0x21af18['t'](_0x2b3a57(0x495)));const _0x493bfd={'index':_0x4f5806,'sheet':_0x4aca0c,'unitId':_0x249b3b},_0x50c9c9=_0x3f53bd[_0x2b3a57(0x3dc)](_0x4c2243,_0x493bfd);_0x407a04[_0x2b3a57(0x458)]({'id':_0x3f53bd['RemoveSheetMutation']['id'],'params':_0x50c9c9}),_0x2dba6c['push']({'id':_0x3f53bd[_0x2b3a57(0x23e)]['id'],'params':_0x493bfd});}else{if(!_0x1f73ff[_0x2b3a57(0x1e4)](_0x3a2421))return!0x1;const _0x17d061=_0x5176ce(_0x4c2243,new _0x27cc4c[(_0x2b3a57(0x198))](),_0x519f76,!0x0);_0x2dba6c[_0x2b3a57(0x458)](..._0x17d061[_0x2b3a57(0x24b)]),_0x407a04[_0x2b3a57(0x458)](..._0x17d061[_0x2b3a57(0x499)]);const _0x5888f0={'cellInfo':_0x519f76,'view':_0x19c622,'isEmpty':_0x20df60};if(!await _0x4c2243[_0x2b3a57(0x304)](_0xb1f452[_0x2b3a57(0x1d7)])[_0x2b3a57(0x1f5)]['fetchThroughAsyncInterceptors'](_0x3ec142)(!0x0,_0x5888f0))return!0x1;const _0xbe0742=_0x64329e(_0x4c2243,_0x5888f0);_0x2dba6c[_0x2b3a57(0x458)](..._0xbe0742['redos']),_0x407a04['push'](..._0xbe0742[_0x2b3a57(0x499)]);}return _0x2dba6c[_0x2b3a57(0x458)]({'id':_0x510f9b['id'],'params':{'unitId':_0x519f76[_0x2b3a57(0x2be)],'subUnitId':_0x519f76[_0x2b3a57(0x4a1)],'pivotTableId':_0x39f2cb,'pivotTableConfig':{'targetCellInfo':_0x519f76,'sourceRangeInfo':_0x753b4f,'fieldsConfig':_0x15fcdc},'collectionConfig':_0x45baf6}}),_0x407a04['unshift']({'id':_0x58e35f['id'],'params':{'unitId':_0x249b3b,'subUnitId':_0x3a2421,'pivotTableId':_0x39f2cb}}),_0x39685c['sequenceExecute'](_0x2dba6c,_0x3275d7)&&_0x172b00['pushUndoRedo']({'unitID':_0x249b3b,'undoMutations':_0x407a04,'redoMutations':_0x2dba6c}),!0x0;}},_0x22818a={'type':_0x39685c['CommandType'][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x3ab),async 'handler'(_0x142f09,_0x433070){const _0x535329=_0x4fc62e;if(!_0x433070)return!0x1;const _0x2538ba=_0x142f09['get'](_0x39685c['ICommandService']),_0x299501=_0x142f09[_0x535329(0x304)](_0xb1f452[_0x535329(0x360)]),_0x48057c=_0x142f09[_0x535329(0x304)](_0x39685c[_0x535329(0x2d7)]),{pivotTableId:_0x177b96,fieldId:_0x4d116e,area:_0x322826,index:_0x5167f2,unitId:_0x4fafdc,subUnitId:_0x328625}=_0x433070,_0x124fb2=(await _0x299501[_0x535329(0x417)]({'unitId':_0x4fafdc,'subUnitId':_0x328625,'pivotTableId':_0x177b96,'params':{'type':_0x5ba5f6[_0x535329(0x219)],'movePivotField':{'fieldId':_0x4d116e,'area':_0x322826,'index':_0x5167f2}}}))[_0x535329(0x2cf)][_0x535329(0x42f)];if(!_0x124fb2)return!0x1;const {changesets:_0x11d66a,view:_0xe6b159,isEmpty:_0xdd984a,pivotTableConfig:_0x27de3d}=_0x124fb2,_0x418749=_0x27de3d[_0x535329(0x2b6)],_0x53d4bb=new _0x27cc4c[(_0x535329(0x198))]();_0x53d4bb[_0x535329(0x41b)](_0xe6b159);const _0x414cba={'cellInfo':_0x418749,'view':_0x53d4bb,'isEmpty':_0xdd984a};if(!await _0x142f09['get'](_0xb1f452[_0x535329(0x1d7)])['asyncInterceptor'][_0x535329(0x2ca)](_0x3ec142)(!0x0,_0x414cba))return!0x1;const _0x3ba634=_0x5176ce(_0x142f09,_0x53d4bb,_0x418749,_0xdd984a),_0x4b4570=_0x64329e(_0x142f09,_0x414cba),{redos:_0x37c6d1,undos:_0x2c1b86}=_0x4abc6e(_0x2538ba,{'pivotTableId':_0x177b96,'unitId':_0x4fafdc,'subUnitId':_0x328625},_0x11d66a);return _0x39685c[_0x535329(0x1c0)]([..._0x3ba634['redos'],..._0x4b4570['redos'],..._0x37c6d1],_0x2538ba),_0x48057c[_0x535329(0x2c6)]({'unitID':_0x4fafdc,'redoMutations':[..._0x3ba634[_0x535329(0x24b)],..._0x4b4570[_0x535329(0x24b)],..._0x37c6d1],'undoMutations':[..._0x3ba634[_0x535329(0x499)],..._0x4b4570[_0x535329(0x499)],..._0x2c1b86]}),!0x0;}},_0x3bc525={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x3ce),async 'handler'(_0x3aa021,_0x5cd8ee){const _0x2b2cbc=_0x4fc62e;var _0x45843a;if(!_0x5cd8ee)return!0x1;const _0x96d05b=_0x3aa021[_0x2b2cbc(0x304)](_0x39685c[_0x2b2cbc(0x21f)]),_0x5bf493=_0x3f53bd[_0x2b2cbc(0x1f9)](_0x96d05b);if(!_0x5bf493)return!0x1;const {unitId:_0x34dbf7,subUnitId:_0x5e0498,workbook:_0x1ed0e5}=_0x5bf493,{row:_0x16e75c,col:_0x14af0d}=_0x5cd8ee,_0x21f54e=_0x3aa021[_0x2b2cbc(0x304)](_0xb1f452['SheetsPivotTableAdaptorModel']),_0x5be1bf=_0x21f54e[_0x2b2cbc(0x44a)](_0x34dbf7,_0x5e0498,_0x16e75c,_0x14af0d);if(!_0x5be1bf)return!0x1;const _0x4c6827=(_0x45843a=_0x21f54e[_0x2b2cbc(0x368)](_0x34dbf7,_0x5e0498,_0x5be1bf))==null?void 0x0:_0x45843a['areaInfo'];if(!_0x4c6827)return!0x1;const _0x3af2c5=_0x3aa021[_0x2b2cbc(0x304)](_0xb1f452['SheetsPivotTableConfigModel'])[_0x2b2cbc(0x492)](_0x34dbf7,_0x5e0498,_0x5be1bf);if(!_0x3af2c5)return!0x1;const {rowInfo:_0x159684,colInfo:_0x4d7b27}=_0x4c6827,_0x43e179=_0x159684[_0x16e75c][_0x2b2cbc(0x218)],_0x21667f=_0x4d7b27[_0x14af0d]['paths'],_0x4601dc=_0x159684[_0x16e75c][_0x2b2cbc(0x255)],_0x2c2393=_0x4d7b27[_0x14af0d][_0x2b2cbc(0x255)],_0x3850a8=_0x43e179[_0x2b2cbc(0x376)](_0x21667f),_0x190942=_0x3af2c5[_0x2b2cbc(0x3a8)][_0x2b2cbc(0x204)][_0x2b2cbc(0x419)](0x0,_0x4601dc),_0x3a2d60=_0x3af2c5[_0x2b2cbc(0x3a8)][_0x2b2cbc(0x40f)]['slice'](0x0,_0x2c2393),_0x5cf57e=_0x190942[_0x2b2cbc(0x376)](_0x3a2d60),_0x56a458=_0x3850a8['map']((_0x2ff4d6,_0x5135d5)=>[_0x2ff4d6,_0x5cf57e[_0x5135d5]]),_0x9494ca=(await _0x3aa021['get'](_0xb1f452[_0x2b2cbc(0x360)])[_0x2b2cbc(0x417)]({'unitId':_0x34dbf7,'subUnitId':_0x5e0498,'pivotTableId':_0x5be1bf,'params':{'type':_0x5ba5f6[_0x2b2cbc(0x1a0)],'drillDown':{'tuple':_0x56a458}}}))['result'][_0x2b2cbc(0x2de)];if(!_0x9494ca)return!0x1;const {indexes:_0x375b6a,range:_0x552da9,sourceUnitId:_0x24293f,sourceSubUnitId:_0x5c0521,formatMap:_0x2436a7}=_0x9494ca,{startRow:_0x4b3614,endRow:_0x6b7cda,startColumn:_0x8ba09b,endColumn:_0x392ba4}=_0x552da9,_0x457171=new _0x39685c[(_0x2b2cbc(0x405))](),_0x42fe36=_0x6b7cda-_0x4b3614,_0x387d90=_0x392ba4-_0x8ba09b,_0x541d24={},_0x2b29e8=_0x3f53bd[_0x2b2cbc(0x1f9)](_0x96d05b,{'unitId':_0x24293f,'subUnitId':_0x5c0521});if(!_0x2b29e8)return!0x1;const _0x143d79=_0x4bd5fb['colStyle'],_0x4fe214=_0x4bd5fb[_0x2b2cbc(0x2c4)],_0x3463bf=_0x4bd5fb[_0x2b2cbc(0x2c4)],_0x1d7503=_0x1ed0e5[_0x2b2cbc(0x301)]()[_0x2b2cbc(0x391)](_0x143d79),_0x5a2b64=_0x1ed0e5['getStyles']()[_0x2b2cbc(0x391)](_0x4fe214),_0x500d29=_0x1ed0e5[_0x2b2cbc(0x301)]()['setValue'](_0x3463bf),{worksheet:_0x26a94f}=_0x2b29e8;let _0x4f5f01=0x0;const _0x4fe862=0x1;_0x375b6a[_0x2b2cbc(0x268)](_0x110731=>{const _0x10ac7e=_0x2b2cbc;for(let _0x340188=0x0;_0x340188<=_0x392ba4-_0x8ba09b;_0x340188++)_0x457171[_0x10ac7e(0x391)](_0x4f5f01,_0x340188,_0x26a94f[_0x10ac7e(0x228)](_0x110731+_0x552da9[_0x10ac7e(0x43c)]+_0x4fe862,_0x340188));_0x4f5f01++;});for(let _0x1c297a=_0x8ba09b;_0x1c297a<=_0x392ba4;_0x1c297a++){const _0x46edda=_0x26a94f[_0x2b2cbc(0x228)](_0x4b3614,_0x1c297a);_0x541d24[_0x4b3614]||(_0x541d24[_0x4b3614]={}),_0x541d24[_0x4b3614][_0x1c297a]={..._0x46edda,'s':_0x1d7503};}let _0xad3d64=0x1;const _0x2bca4d={},_0xd14cb4={};_0x457171[_0x2b2cbc(0x2e4)]((_0x4003b9,_0x655e)=>{const _0x1160cf=_0x2b2cbc;_0x655e[_0x1160cf(0x268)](_0x43fd22=>{const _0x415851=_0x1160cf,_0x1b2c48=_0x457171[_0x415851(0x2c1)](_0x4003b9,_0x43fd22);if(_0x541d24[_0xad3d64]||(_0x541d24[_0xad3d64]={}),_0x541d24[_0xad3d64][_0x43fd22]={..._0x1b2c48,'s':_0xad3d64%0x2===0x0?_0x500d29:_0x5a2b64},_0x2436a7[_0x43fd22]&&_0x4003b9>=0x0){const _0x2dd746=_0xad3d64%0x2===0x0;let _0x3b5a5b=_0x2dd746?_0xd14cb4[_0x43fd22]:_0x2bca4d[_0x43fd22];_0x3b5a5b||(_0x3b5a5b=_0x1ed0e5[_0x415851(0x301)]()[_0x415851(0x391)]({..._0x2dd746?_0x3463bf:_0x4fe214,'n':{'pattern':_0x2436a7[_0x43fd22]}}),_0x2dd746?_0xd14cb4[_0x43fd22]=_0x3b5a5b:_0x2bca4d[_0x43fd22]=_0x3b5a5b),_0x541d24[_0xad3d64][_0x43fd22]['s']=_0x3b5a5b;}}),_0xad3d64++;});const _0x3fdd84=new _0x39685c[(_0x2b2cbc(0x405))](_0x541d24),_0xc8851={};_0x3fdd84['forValue']((_0x55251f,_0x1608ba,_0x5f3d1e)=>{_0xc8851[_0x55251f]||(_0xc8851[_0x55251f]={}),_0xc8851[_0x55251f][_0x1608ba]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4b066d=[],_0x3a5055=[],_0x34ae8a=_0x1ed0e5[_0x2b2cbc(0x349)]()['length'],_0x2a9c8e=_0x39685c['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x2b2cbc(0x2ac)](_0x39685c[_0x2b2cbc(0x2af)],_0x42fe36+0xa),'columnCount':Math[_0x2b2cbc(0x2ac)](_0x39685c[_0x2b2cbc(0x472)],_0x387d90+0x5)}),_0x540dbf=_0x3aa021[_0x2b2cbc(0x304)](_0x39685c[_0x2b2cbc(0x3b5)]);_0x2a9c8e['id']=_0x39685c[_0x2b2cbc(0x4a2)](),_0x2a9c8e[_0x2b2cbc(0x3a4)]=_0x1ed0e5[_0x2b2cbc(0x43e)](''+_0x540dbf['t'](_0x2b2cbc(0x495)));const _0x47389c={'index':_0x34ae8a,'sheet':_0x2a9c8e,'unitId':_0x34dbf7},_0xb8b470=_0x3f53bd[_0x2b2cbc(0x3dc)](_0x3aa021,_0x47389c);_0x3a5055[_0x2b2cbc(0x458)]({'id':_0x3f53bd[_0x2b2cbc(0x23e)]['id'],'params':_0x47389c}),_0x4b066d[_0x2b2cbc(0x458)]({'id':_0x3f53bd['RemoveSheetMutation']['id'],'params':_0xb8b470}),_0x3a5055[_0x2b2cbc(0x458)]({'id':_0x3f53bd['SetRangeValuesMutation']['id'],'params':{'unitId':_0x34dbf7,'subUnitId':_0x2a9c8e['id'],'cellValue':_0x541d24}}),_0x4b066d['unshift']({'id':_0x3f53bd[_0x2b2cbc(0x226)]['id'],'params':{'unitId':_0x34dbf7,'subUnitId':_0x2a9c8e['id'],'cellValue':_0xc8851}});const _0x177bcb={'startRow':0x0,'startColumn':0x0,'endRow':_0xad3d64-0x1,'endColumn':_0x392ba4};_0x3a5055[_0x2b2cbc(0x458)]({'id':_0x11dd78['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x34dbf7,'subUnitId':_0x2a9c8e['id'],'range':_0x177bcb}}),_0x4b066d[_0x2b2cbc(0x4a3)]({'id':_0x11dd78['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x34dbf7,'subUnitId':_0x2a9c8e['id']}});const _0x2da2cf=_0x3aa021['get'](_0x39685c[_0x2b2cbc(0x357)]);return _0x39685c[_0x2b2cbc(0x1c0)](_0x3a5055,_0x2da2cf)&&_0x3aa021[_0x2b2cbc(0x304)](_0x39685c['IUndoRedoService'])[_0x2b2cbc(0x2c6)]({'unitID':_0x34dbf7,'undoMutations':_0x4b066d,'redoMutations':_0x3a5055}),!0x0;}},_0x11a608={'type':_0x39685c[_0x4fc62e(0x1bb)]['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x293aef,_0x40a507){const _0x2b0347=_0x4fc62e;if(!_0x40a507)return!0x1;const _0x1d6a93=_0x293aef[_0x2b0347(0x304)](_0x39685c['ICommandService']),_0x18c794=_0x293aef['get'](_0xb1f452[_0x2b0347(0x360)]),_0x5d8ba1=_0x293aef[_0x2b0347(0x304)](_0x39685c['IUndoRedoService']),{pivotTableId:_0x4eec95,fieldIds:_0x13b710,unitId:_0x3b4938,subUnitId:_0x2bc742}=_0x40a507,_0x26db80=(await _0x18c794[_0x2b0347(0x417)]({'unitId':_0x3b4938,'subUnitId':_0x2bc742,'pivotTableId':_0x4eec95,'params':{'type':_0x5ba5f6['RemovePivotField'],'removePivotField':{'fieldIds':_0x13b710}}}))[_0x2b0347(0x2cf)][_0x2b0347(0x463)];if(!_0x26db80)return!0x1;const {view:_0x1c4271,changesets:_0x2eac26,isEmpty:_0x580b82,pivotTableConfig:_0x47da92}=_0x26db80,_0x2262cb=_0x47da92[_0x2b0347(0x2b6)],_0x409dd3=new _0x27cc4c[(_0x2b0347(0x198))]();_0x409dd3['formJSON'](_0x1c4271);const _0x199bf4={'cellInfo':_0x2262cb,'view':_0x409dd3,'isEmpty':_0x580b82};if(!await _0x293aef['get'](_0xb1f452[_0x2b0347(0x1d7)])[_0x2b0347(0x1f5)][_0x2b0347(0x2ca)](_0x3ec142)(!0x0,_0x199bf4))return!0x1;const _0x2ef414=_0x5176ce(_0x293aef,_0x409dd3,_0x2262cb,_0x580b82),_0x505510=_0x64329e(_0x293aef,_0x199bf4),{redos:_0x1b0888,undos:_0x2c7fa5}=_0x4abc6e(_0x1d6a93,{'pivotTableId':_0x4eec95,'unitId':_0x3b4938,'subUnitId':_0x2bc742},_0x2eac26);return _0x39685c[_0x2b0347(0x1c0)]([..._0x2ef414[_0x2b0347(0x24b)],..._0x505510[_0x2b0347(0x24b)],..._0x1b0888],_0x1d6a93),_0x5d8ba1[_0x2b0347(0x2c6)]({'unitID':_0x3b4938,'redoMutations':[..._0x2ef414[_0x2b0347(0x24b)],..._0x505510[_0x2b0347(0x24b)],..._0x1b0888],'undoMutations':[..._0x2ef414['undos'],..._0x505510[_0x2b0347(0x499)],..._0x2c7fa5]}),!0x0;}},_0x8342a9={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x285),async 'handler'(_0xb71ab0,_0x45eede){const _0x47b756=_0x4fc62e;var _0x5c37f6;const _0x565beb=_0xb71ab0['get'](_0x39685c[_0x47b756(0x357)]),_0x4c367f=_0xb71ab0['get'](_0xb1f452[_0x47b756(0x360)]),_0x58821f=_0xb71ab0[_0x47b756(0x304)](_0xb1f452[_0x47b756(0x284)]),_0x2a21f2=_0xb71ab0[_0x47b756(0x304)](_0x39685c[_0x47b756(0x21f)]),_0x33dc0f=_0xb71ab0[_0x47b756(0x304)](_0x39685c[_0x47b756(0x2d7)]);if(!_0x45eede)return!0x1;const {unitId:_0x72f623,subUnitId:_0x263322,row:_0x5baf7d,col:_0x1d7787,collapse:_0x2e08af}=_0x45eede,_0x3e14f9=_0x2a21f2[_0x47b756(0x486)](_0x72f623);if(!_0x3e14f9||!_0x3e14f9['getSheetBySheetId'](_0x263322))return!0x1;const _0x5da7b9=_0x58821f['getPivotTableIdByCell'](_0x72f623,_0x263322,_0x5baf7d,_0x1d7787);if(!_0x5da7b9)return!0x1;const _0xda6342=_0x58821f[_0x47b756(0x368)](_0x72f623,_0x263322,_0x5da7b9);if(!_0xda6342)return!0x1;const _0x16458b=_0x39685c['cellToRange'](_0x5baf7d,_0x1d7787),{rangesInfo:_0x327ef8,areaInfo:_0x2acd84,headerMap:_0x10171a}=_0xda6342;if(!_0x327ef8||!_0x2acd84||!_0x10171a)return!0x1;const _0x303e6d=Object['keys'](_0x327ef8)[_0x47b756(0x433)](_0x1fb294=>_0x327ef8[_0x1fb294]['some'](_0x18142f=>_0x39685c[_0x47b756(0x3d6)][_0x47b756(0x318)](_0x18142f,_0x16458b)));let _0x5a0e90;_0x303e6d===_0x47b756(0x28c)?_0x5a0e90=_0x10171a['rowHeaderMap'][_0x1d7787]:_0x303e6d===_0x47b756(0x43b)&&(_0x5a0e90=_0x10171a['colHeaderMap'][_0x5baf7d]);const _0xf20df6=_0x5a0e90==null?void 0x0:_0x5a0e90['tableFieldId'],_0x1aeac3=(_0x5c37f6=_0x58821f[_0x47b756(0x222)](_0x72f623,_0x263322,_0x5baf7d,_0x1d7787))==null?void 0x0:_0x5c37f6['v'];if(_0x1aeac3==null||!_0x5da7b9||!_0xf20df6)return!0x1;const _0x5e489a=await _0x4c367f[_0x47b756(0x417)]({'unitId':_0x72f623,'subUnitId':_0x263322,'pivotTableId':_0x5da7b9,'params':{'type':_0x5ba5f6['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0xf20df6,'collapse':_0x2e08af,'item':_0x1aeac3}}}),_0xa62e14=_0x5e489a==null?void 0x0:_0x5e489a['result'][_0x47b756(0x2ba)];if(!_0xa62e14)return!0x1;const {view:_0x793b28,pivotTableConfig:_0x57cdb3,isEmpty:_0x581b93,changesets:_0x3449d8}=_0xa62e14,_0x535e96=new _0x27cc4c[(_0x47b756(0x198))]();_0x535e96[_0x47b756(0x41b)](_0x793b28);const _0xd3c259=_0x57cdb3[_0x47b756(0x2b6)],_0x42a334={'cellInfo':_0xd3c259,'view':_0x535e96,'isEmpty':_0x581b93};if(!await _0xb71ab0[_0x47b756(0x304)](_0xb1f452[_0x47b756(0x1d7)])[_0x47b756(0x1f5)][_0x47b756(0x2ca)](_0x3ec142)(!0x0,_0x42a334))return!0x1;const _0x2caf02=_0x5176ce(_0xb71ab0,_0x535e96,_0xd3c259,_0x581b93),_0x4a8ced=_0x64329e(_0xb71ab0,_0x42a334),{redos:_0x2fdef2,undos:_0x3e187a}=_0x4abc6e(_0x565beb,{'pivotTableId':_0x5da7b9,'unitId':_0x72f623,'subUnitId':_0x263322},_0x3449d8);return _0x39685c['sequenceExecute']([..._0x2caf02[_0x47b756(0x24b)],..._0x4a8ced[_0x47b756(0x24b)],..._0x2fdef2],_0x565beb),_0x33dc0f['pushUndoRedo']({'unitID':_0x72f623,'redoMutations':[..._0x2caf02[_0x47b756(0x24b)],..._0x4a8ced[_0x47b756(0x24b)],..._0x2fdef2],'undoMutations':[..._0x2caf02[_0x47b756(0x499)],..._0x4a8ced[_0x47b756(0x499)],..._0x3e187a]}),!0x0;}},_0x2ce7be={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x26f),async 'handler'(_0x461e1f,_0x3ae201){const _0x2d406a=_0x4fc62e;if(!_0x3ae201)return!0x1;const _0x457a7c=_0x461e1f['get'](_0x39685c['ICommandService']),{pivotTableId:_0x433b2f,tableFieldId:_0xfad618,items:_0x14c585,unitId:_0x19663a,subUnitId:_0x51ffc1,isAll:_0x4d13d5}=_0x3ae201,_0x19603d=_0x461e1f[_0x2d406a(0x304)](_0xb1f452[_0x2d406a(0x360)]),_0x16cb61=_0x461e1f[_0x2d406a(0x304)](_0x39685c[_0x2d406a(0x2d7)]),_0x40a55f=(await _0x19603d[_0x2d406a(0x417)]({'unitId':_0x19663a,'subUnitId':_0x51ffc1,'pivotTableId':_0x433b2f,'params':{'type':_0x5ba5f6[_0x2d406a(0x1f1)],'setPivotFilter':{'tableFieldId':_0xfad618,'items':_0x14c585,'isAll':_0x4d13d5}}}))[_0x2d406a(0x2cf)][_0x2d406a(0x1a9)];if(!_0x40a55f)return!0x1;const {changesets:_0x2aa79a,pivotTableConfig:_0x2bb4db,isEmpty:_0x4fe6e1,view:_0x171ccc}=_0x40a55f,_0x3d98ef=_0x2bb4db[_0x2d406a(0x2b6)],_0x10e094=new _0x27cc4c[(_0x2d406a(0x198))]();_0x10e094[_0x2d406a(0x41b)](_0x171ccc);const _0x5b7f5a={'cellInfo':_0x3d98ef,'view':_0x10e094,'isEmpty':_0x4fe6e1};if(!await _0x461e1f['get'](_0xb1f452[_0x2d406a(0x1d7)])[_0x2d406a(0x1f5)][_0x2d406a(0x2ca)](_0x3ec142)(!0x0,_0x5b7f5a))return!0x1;const _0x27b315=_0x5176ce(_0x461e1f,_0x10e094,_0x3d98ef,_0x4fe6e1),_0x5d6fa5=_0x64329e(_0x461e1f,_0x5b7f5a),{undos:_0xcd36e3,redos:_0x42f249}=_0x4abc6e(_0x457a7c,{'pivotTableId':_0x433b2f,'unitId':_0x19663a,'subUnitId':_0x51ffc1},_0x2aa79a);return _0x39685c['sequenceExecute']([..._0x27b315[_0x2d406a(0x24b)],..._0x5d6fa5['redos'],..._0x42f249],_0x457a7c),_0x16cb61[_0x2d406a(0x2c6)]({'unitID':_0x19663a,'redoMutations':[..._0x27b315[_0x2d406a(0x24b)],..._0x5d6fa5['redos'],..._0x42f249],'undoMutations':[..._0x27b315[_0x2d406a(0x499)],..._0x5d6fa5[_0x2d406a(0x499)],..._0xcd36e3]}),!0x0;}},_0x575ae2={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x351),async 'handler'(_0x217db7,_0x366311){const _0x28eb08=_0x4fc62e;if(!_0x366311)return!0x1;const _0x2278a5=_0x217db7[_0x28eb08(0x304)](_0x39685c[_0x28eb08(0x357)]),_0x4a46ec=_0x217db7['get'](_0x39685c['IUndoRedoService']),_0x1dd335=_0x217db7[_0x28eb08(0x304)](_0xb1f452[_0x28eb08(0x360)]),{info:_0x3a542d,tableFieldId:_0x54729b,pivotTableId:_0x19c68e,unitId:_0x28e997,subUnitId:_0x35e9b9}=_0x366311,_0x1c09f3=(await _0x1dd335[_0x28eb08(0x417)]({'unitId':_0x28e997,'subUnitId':_0x35e9b9,'pivotTableId':_0x19c68e,'params':{'type':_0x5ba5f6['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x54729b,'info':_0x3a542d}}}))[_0x28eb08(0x2cf)]['setPivotSort'];if(!_0x1c09f3)return!0x1;const {changesets:_0x110467}=_0x1c09f3,{redos:_0x3bd631,undos:_0x15832b}=_0x4abc6e(_0x2278a5,{'pivotTableId':_0x19c68e,'unitId':_0x28e997,'subUnitId':_0x35e9b9},_0x110467);return _0x39685c[_0x28eb08(0x1c0)](_0x3bd631,_0x2278a5),_0x4a46ec['pushUndoRedo']({'unitID':_0x28e997,'redoMutations':_0x3bd631,'undoMutations':_0x15832b}),!0x0;}},_0xee4f77={'type':_0x39685c[_0x4fc62e(0x1bb)]['COMMAND'],'id':_0x4fc62e(0x2a3),async 'handler'(_0x3192db,_0x4fed52){const _0x4de159=_0x4fc62e;if(!_0x4fed52)return!0x1;const _0x4e997=_0x3192db[_0x4de159(0x304)](_0x39685c[_0x4de159(0x357)]),_0x26953e=_0x3192db[_0x4de159(0x304)](_0x39685c[_0x4de159(0x2d7)]),_0x276094=_0x3192db['get'](_0xb1f452[_0x4de159(0x360)]),{displayName:_0x54bd08,subtotalType:_0x53d79c,format:_0x4d7e79,tableFieldId:_0xd9e5fc,pivotTableId:_0x48d2ee,unitId:_0x3e494e,subUnitId:_0x1f726d}=_0x4fed52,_0xfc000=(await _0x276094[_0x4de159(0x417)]({'unitId':_0x3e494e,'subUnitId':_0x1f726d,'pivotTableId':_0x48d2ee,'params':{'type':_0x5ba5f6[_0x4de159(0x3a1)],'setPivotSetting':{'tableFieldId':_0xd9e5fc,'displayName':_0x54bd08,'subtotalType':_0x53d79c,'format':_0x4d7e79}}}))[_0x4de159(0x2cf)][_0x4de159(0x473)];if(!_0xfc000)return!0x1;const {changesets:_0x4ee6ec,view:_0x19fa16,pivotTableConfig:_0x5b78d1,isEmpty:_0x3039bb}=_0xfc000,_0x2ff7f6=_0x5b78d1[_0x4de159(0x2b6)],_0x1db67e=new _0x27cc4c[(_0x4de159(0x198))]();_0x1db67e[_0x4de159(0x41b)](_0x19fa16);const _0x208382={'cellInfo':_0x2ff7f6,'view':_0x1db67e,'isEmpty':_0x3039bb};if(!await _0x3192db[_0x4de159(0x304)](_0xb1f452[_0x4de159(0x1d7)])[_0x4de159(0x1f5)]['fetchThroughAsyncInterceptors'](_0x3ec142)(!0x0,_0x208382))return!0x1;const _0x28ba41=_0x5176ce(_0x3192db,_0x1db67e,_0x2ff7f6,_0x3039bb),_0x1fe421=_0x64329e(_0x3192db,_0x208382),{undos:_0x80cb9a,redos:_0x4e8b21}=_0x4abc6e(_0x4e997,{'pivotTableId':_0x48d2ee,'unitId':_0x3e494e,'subUnitId':_0x1f726d},_0x4ee6ec);return _0x39685c['sequenceExecute']([..._0x28ba41[_0x4de159(0x24b)],..._0x1fe421['redos'],..._0x4e8b21],_0x4e997),_0x26953e[_0x4de159(0x2c6)]({'unitID':_0x3e494e,'redoMutations':[..._0x28ba41[_0x4de159(0x24b)],..._0x1fe421[_0x4de159(0x24b)],..._0x4e8b21],'undoMutations':[..._0x28ba41['undos'],..._0x1fe421['undos'],..._0x80cb9a]}),!0x0;}},_0x3db29d={'type':_0x39685c[_0x4fc62e(0x1bb)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x3881e5,_0x195ba3){const _0x2d902c=_0x4fc62e,_0x812fa2=_0x3881e5['get'](_0x39685c['ICommandService']),_0x37e174=_0x3881e5[_0x2d902c(0x304)](_0xb1f452['SheetsPivotRPCService']),_0x345f86=_0x3881e5[_0x2d902c(0x304)](_0x39685c['IUndoRedoService']);if(!_0x195ba3)return!0x1;const {token:_0x24e9f5,dataRangeInfo:_0x1afaf9,unitId:_0x1cbab9,subUnitId:_0x3a3f13}=_0x195ba3,_0x268c81=[],_0x4e0758=[],_0x3f4f8c=(await _0x37e174['getPivotDisplayConfig']({'unitId':_0x1cbab9,'subUnitId':_0x3a3f13,'pivotTableId':_0x24e9f5,'params':{'type':_0x5ba5f6['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x1afaf9,'unitId':_0x1cbab9,'subUnitId':_0x3a3f13}}}))[_0x2d902c(0x2cf)]['updatePivotSource'];if(!_0x3f4f8c)return!0x1;const {changesets:_0x52a2b0,deleteIds:_0x31194a,collectionConfig:_0x6521ba,oldCollectionConfig:_0x471d30,view:_0x512cfb,isEmpty:_0x1f1ee3,pivotTableConfig:_0x487d0d}=_0x3f4f8c;_0x4e0758[_0x2d902c(0x458)]({'id':_0x469f4e['id'],'params':{'pivotTableId':_0x24e9f5,'deleteIds':_0x31194a,'collectionJSON':_0x6521ba,'dataRangeInfo':_0x1afaf9,'unitId':_0x1cbab9,'subUnitId':_0x3a3f13}}),_0x268c81[_0x2d902c(0x4a3)]({'id':_0x469f4e['id'],'params':{'pivotTableId':_0x24e9f5,'deleteIds':[],'collectionJSON':_0x471d30,'dataRangeInfo':_0x487d0d['sourceRangeInfo'],'unitId':_0x1cbab9,'subUnitId':_0x3a3f13}});const _0x20d4bb=_0x487d0d[_0x2d902c(0x2b6)],_0x16c755=new _0x27cc4c[(_0x2d902c(0x198))]();_0x16c755['formJSON'](_0x512cfb);const _0x15efe0={'cellInfo':_0x20d4bb,'view':_0x16c755,'isEmpty':_0x1f1ee3};if(!await _0x3881e5[_0x2d902c(0x304)](_0xb1f452[_0x2d902c(0x1d7)])[_0x2d902c(0x1f5)]['fetchThroughAsyncInterceptors'](_0x3ec142)(!0x0,_0x15efe0))return!0x1;const _0xe47992=_0x5176ce(_0x3881e5,_0x16c755,_0x20d4bb,_0x1f1ee3),_0x4089db=_0x64329e(_0x3881e5,_0x15efe0),{undos:_0x12dcbb,redos:_0x1655bb}=_0x4abc6e(_0x812fa2,{'pivotTableId':_0x24e9f5,'unitId':_0x1cbab9,'subUnitId':_0x3a3f13},_0x52a2b0);return _0x39685c[_0x2d902c(0x1c0)]([..._0xe47992[_0x2d902c(0x24b)],..._0x4089db[_0x2d902c(0x24b)],..._0x4e0758,..._0x12dcbb],_0x812fa2),_0x345f86['pushUndoRedo']({'unitID':_0x1cbab9,'redoMutations':[..._0xe47992[_0x2d902c(0x24b)],..._0x4089db[_0x2d902c(0x24b)],..._0x4e0758,..._0x12dcbb],'undoMutations':[..._0xe47992['undos'],..._0x4089db[_0x2d902c(0x499)],..._0x268c81,..._0x1655bb]}),!0x0;}},_0x5a9bef={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x4bb7ae,_0x20a8c3){const _0x5e4e03=_0x4fc62e;if(!_0x20a8c3)return!0x1;const _0x1391dc=_0x4bb7ae[_0x5e4e03(0x304)](_0x39685c[_0x5e4e03(0x357)]),_0x5dd18c=_0x4bb7ae[_0x5e4e03(0x304)](_0xb1f452[_0x5e4e03(0x360)]),_0x162168=_0x4bb7ae['get'](_0x39685c[_0x5e4e03(0x21f)]),_0x33b3ea=_0x4bb7ae[_0x5e4e03(0x304)](_0x39685c[_0x5e4e03(0x2d7)]),{pivotTableId:_0xd453f6,position:_0x14a888,index:_0x566f94}=_0x20a8c3,_0x9c1518=_0x3f53bd[_0x5e4e03(0x1f9)](_0x162168);if(!_0x9c1518)return!0x1;const {unitId:_0x1cb244,subUnitId:_0x41f94d}=_0x9c1518,_0x37d3e8=(await _0x5dd18c[_0x5e4e03(0x417)]({'unitId':_0x1cb244,'subUnitId':_0x41f94d,'pivotTableId':_0xd453f6,'params':{'type':_0x5ba5f6[_0x5e4e03(0x3f3)],'updateValuePosition':{'position':_0x14a888,'index':_0x566f94}}}))[_0x5e4e03(0x2cf)][_0x5e4e03(0x34d)];if(!_0x37d3e8)return!0x1;const {changesets:_0x147401,view:_0x5f31e6,isEmpty:_0x392ac5,pivotTableConfig:_0x266444}=_0x37d3e8,_0x38d5b2=_0x266444[_0x5e4e03(0x2b6)],_0x2c4d04=new _0x27cc4c[(_0x5e4e03(0x198))]();_0x2c4d04[_0x5e4e03(0x41b)](_0x5f31e6);const _0x5885cd=_0x4bb7ae[_0x5e4e03(0x304)](_0xb1f452[_0x5e4e03(0x1d7)]),_0x56e10b={'cellInfo':_0x38d5b2,'view':_0x2c4d04,'isEmpty':_0x392ac5};if(!await _0x5885cd['asyncInterceptor'][_0x5e4e03(0x2ca)](_0x3ec142)(!0x0,_0x56e10b))return!0x1;const _0xd32cb5=_0x5176ce(_0x4bb7ae,_0x2c4d04,_0x38d5b2,_0x392ac5),_0x1a0b3a=_0x64329e(_0x4bb7ae,_0x56e10b),{undos:_0x13970e,redos:_0xce4b9d}=_0x4abc6e(_0x1391dc,{'pivotTableId':_0xd453f6,'unitId':_0x1cb244,'subUnitId':_0x41f94d},_0x147401);return _0x39685c['sequenceExecute']([..._0xd32cb5[_0x5e4e03(0x24b)],..._0x1a0b3a['redos'],..._0xce4b9d],_0x1391dc),_0x33b3ea[_0x5e4e03(0x2c6)]({'unitID':_0x1cb244,'redoMutations':[..._0xd32cb5[_0x5e4e03(0x24b)],..._0x1a0b3a[_0x5e4e03(0x24b)],..._0xce4b9d],'undoMutations':[..._0xd32cb5[_0x5e4e03(0x499)],..._0x1a0b3a[_0x5e4e03(0x499)],..._0x13970e]}),!0x0;}},_0x3c68ff={'type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x3e7),'handler':(_0x56fc13,_0x47a09d)=>{const _0x3f9c0e=_0x4fc62e,_0x2f020f=_0x56fc13['get'](_0x39685c[_0x3f9c0e(0x357)]),_0x201591=_0x56fc13[_0x3f9c0e(0x304)](_0x39685c[_0x3f9c0e(0x2d7)]),_0x3b06a4=_0x56fc13[_0x3f9c0e(0x304)](_0xb1f452[_0x3f9c0e(0x3cc)]),_0x458c55=_0x56fc13[_0x3f9c0e(0x304)](_0x39685c[_0x3f9c0e(0x21f)]);if(!_0x47a09d)return!0x1;const _0x16a741=_0x3f53bd['getSheetCommandTarget'](_0x458c55);if(!_0x16a741)return!0x1;const {unitId:_0x15ce6c,subUnitId:_0x71728f,workbook:_0x362f32}=_0x16a741,_0x3cdfe3=_0x3b06a4[_0x3f9c0e(0x492)](_0x47a09d[_0x3f9c0e(0x26c)][_0x3f9c0e(0x2be)],_0x47a09d[_0x3f9c0e(0x26c)][_0x3f9c0e(0x4a1)],_0x47a09d[_0x3f9c0e(0x31d)]);if(!_0x3cdfe3)return!0x1;const _0x4fe526=_0x362f32[_0x3f9c0e(0x1e4)](_0x47a09d[_0x3f9c0e(0x2b6)][_0x3f9c0e(0x4a1)]);if(!_0x4fe526)throw new Error(_0x3f9c0e(0x312));const _0x29dc6f=_0x4fe526[_0x3f9c0e(0x3c8)](),_0x22aa7a=_0x4fe526[_0x3f9c0e(0x427)]();if(_0x47a09d['targetCellInfo'][_0x3f9c0e(0x466)]>_0x29dc6f||_0x47a09d['targetCellInfo'][_0x3f9c0e(0x1a1)]>_0x22aa7a)throw new Error(_0x3f9c0e(0x26a));const _0x7c248f=[{'id':_0x4071d4['id'],'params':{'unitId':_0x15ce6c,'subUnitId':_0x47a09d[_0x3f9c0e(0x2b6)]['subUnitId'],'pivotTableId':_0x47a09d[_0x3f9c0e(0x31d)],'targetCellPosition':{'row':_0x47a09d['targetCellInfo'][_0x3f9c0e(0x466)],'col':_0x47a09d[_0x3f9c0e(0x2b6)][_0x3f9c0e(0x1a1)]}}}],_0x19f2c6=[{'id':_0x4071d4['id'],'params':{'unitId':_0x15ce6c,'subUnitId':_0x71728f,'pivotTableId':_0x47a09d[_0x3f9c0e(0x31d)],'targetCellPosition':{'row':_0x3cdfe3[_0x3f9c0e(0x2b6)][_0x3f9c0e(0x466)],'col':_0x3cdfe3[_0x3f9c0e(0x2b6)][_0x3f9c0e(0x1a1)]}}}];return _0x39685c[_0x3f9c0e(0x1c0)](_0x7c248f,_0x2f020f)&&_0x201591[_0x3f9c0e(0x2c6)]({'unitID':_0x15ce6c,'undoMutations':_0x19f2c6,'redoMutations':_0x7c248f}),!0x0;}},_0x1e2ee7={'type':_0x39685c['CommandType'][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x21c),async 'handler'(_0xaa1a52,_0x3e3bbb){const _0x2c9bf6=_0x4fc62e;if(!_0x3e3bbb)return!0x1;const _0x2e5d46=_0xaa1a52[_0x2c9bf6(0x304)](_0x39685c[_0x2c9bf6(0x357)]),{pivotTableId:_0x43e6ed,fieldId:_0x1cd60e,valueFilterInfo:_0x2c50a1,unitId:_0x148b9e,subUnitId:_0x3faba6}=_0x3e3bbb,_0x58473f=_0xaa1a52[_0x2c9bf6(0x304)](_0xb1f452[_0x2c9bf6(0x360)]),_0x458ef7=_0xaa1a52[_0x2c9bf6(0x304)](_0x39685c[_0x2c9bf6(0x2d7)]),_0x4a3071=(await _0x58473f[_0x2c9bf6(0x417)]({'unitId':_0x148b9e,'subUnitId':_0x3faba6,'pivotTableId':_0x43e6ed,'params':{'type':_0x5ba5f6[_0x2c9bf6(0x1a2)],'setValuePivotFilter':{'tableFieldId':_0x1cd60e,'filterInfo':_0x2c50a1}}}))[_0x2c9bf6(0x2cf)][_0x2c9bf6(0x19e)];if(!_0x4a3071)return!0x1;const {changesets:_0x20a2c5,pivotTableConfig:_0x166813,isEmpty:_0x24505b,view:_0x44a5a2}=_0x4a3071,_0x205ecd=_0x166813[_0x2c9bf6(0x2b6)],_0x28bd59=new _0x27cc4c[(_0x2c9bf6(0x198))]();_0x28bd59[_0x2c9bf6(0x41b)](_0x44a5a2);const _0x4b1086={'cellInfo':_0x205ecd,'view':_0x28bd59,'isEmpty':_0x24505b};if(!await _0xaa1a52[_0x2c9bf6(0x304)](_0xb1f452['SheetsPivotTableService'])['asyncInterceptor'][_0x2c9bf6(0x2ca)](_0x3ec142)(!0x0,_0x4b1086))return!0x1;const _0x23d5ed=_0x5176ce(_0xaa1a52,_0x28bd59,_0x205ecd,_0x24505b),_0x2e514f=_0x64329e(_0xaa1a52,_0x4b1086),{undos:_0x40228a,redos:_0xc2b56b}=_0x4abc6e(_0x2e5d46,{'pivotTableId':_0x43e6ed,'unitId':_0x148b9e,'subUnitId':_0x3faba6},_0x20a2c5);return _0x39685c[_0x2c9bf6(0x1c0)]([..._0x23d5ed[_0x2c9bf6(0x24b)],..._0x2e514f[_0x2c9bf6(0x24b)],..._0xc2b56b],_0x2e5d46),_0x458ef7[_0x2c9bf6(0x2c6)]({'unitID':_0x148b9e,'redoMutations':[..._0x23d5ed[_0x2c9bf6(0x24b)],..._0x2e514f['redos'],..._0xc2b56b],'undoMutations':[..._0x23d5ed[_0x2c9bf6(0x499)],..._0x2e514f[_0x2c9bf6(0x499)],..._0x40228a]}),!0x0;}},_0x5051b0={'type':_0x39685c['CommandType'][_0x4fc62e(0x32e)],'id':_0x4fc62e(0x442),async 'handler'(_0x5b8915,_0x57f933){const _0xa5a126=_0x4fc62e;if(!_0x57f933)return!0x1;const _0x480c19=_0x5b8915['get'](_0x39685c[_0xa5a126(0x357)]),_0x1a0c19=_0x5b8915[_0xa5a126(0x304)](_0x39685c[_0xa5a126(0x2d7)]),_0x36f5c2=_0x5b8915['get'](_0xb1f452[_0xa5a126(0x360)]),{pivotTableConfig:_0x1f364c,pivotTableId:_0x2f97f0,unitId:_0x340166,subUnitId:_0x3789ae}=_0x57f933,_0x480c2e=(await _0x36f5c2[_0xa5a126(0x417)]({'unitId':_0x340166,'subUnitId':_0x3789ae,'pivotTableId':_0x2f97f0,'params':{'type':_0x5ba5f6[_0xa5a126(0x36a)],'setPivotTableConfig':{'pivotTableId':_0x2f97f0,'pivotTableConfig':_0x1f364c}}}))['result'][_0xa5a126(0x2a7)];if(!_0x480c2e)return!0x1;const {changesets:_0x27e9ff}=_0x480c2e,{redos:_0x545f9f,undos:_0x4ab08e}=_0x4abc6e(_0x480c19,{'pivotTableId':_0x2f97f0,'unitId':_0x340166,'subUnitId':_0x3789ae},_0x27e9ff);return _0x39685c['sequenceExecute'](_0x545f9f,_0x480c19),_0x1a0c19[_0xa5a126(0x2c6)]({'unitID':_0x340166,'redoMutations':_0x545f9f,'undoMutations':_0x4ab08e}),!0x0;}},_0x1026c7={'type':_0x39685c[_0x4fc62e(0x1bb)]['COMMAND'],'id':_0x4fc62e(0x45e),async 'handler'(_0x4747cb,_0x3761db){const _0x3b148e=_0x4fc62e;if(!_0x3761db)return!0x1;const _0x308ac2=_0x4747cb[_0x3b148e(0x304)](_0x39685c['ICommandService']),_0x378c32=_0x4747cb[_0x3b148e(0x304)](_0x39685c[_0x3b148e(0x2d7)]),_0x206fc1=_0x4747cb[_0x3b148e(0x304)](_0xb1f452[_0x3b148e(0x360)]),{resetArea:_0x2b258a,pivotTableId:_0x518944,unitId:_0x5ed359,subUnitId:_0x34e15f}=_0x3761db,_0x539b97=(await _0x206fc1[_0x3b148e(0x417)]({'unitId':_0x5ed359,'subUnitId':_0x34e15f,'pivotTableId':_0x518944,'params':{'type':_0x5ba5f6[_0x3b148e(0x327)],'resetPivotTable':{'pivotTableId':_0x518944,'resetArea':_0x2b258a}}}))[_0x3b148e(0x2cf)][_0x3b148e(0x342)];if(!_0x539b97)return!0x1;const {changesets:_0x5defc6}=_0x539b97,{redos:_0x555ac7,undos:_0x371c97}=_0x4abc6e(_0x308ac2,{'pivotTableId':_0x518944,'unitId':_0x5ed359,'subUnitId':_0x34e15f},_0x5defc6);return _0x39685c[_0x3b148e(0x1c0)](_0x555ac7,_0x308ac2),_0x378c32['pushUndoRedo']({'unitID':_0x5ed359,'redoMutations':_0x555ac7,'undoMutations':_0x371c97}),!0x0;}},_0x1a73a9={'id':_0x4fc62e(0x44e),'type':_0x39685c[_0x4fc62e(0x1bb)]['MUTATION'],'handler':(_0x2f3a79,_0x5d22f5)=>{const _0x5bfd06=_0x4fc62e;if(!_0x5d22f5)return!0x1;if(!!_0x2f3a79[_0x5bfd06(0x304)](_0x39685c[_0x5bfd06(0x2e3)])[_0x5bfd06(0x324)](_0x3775b6))return!0x0;const {unitId:_0x4ae2a2,subUnitId:_0x110428,pivotTableId:_0x588863,tableFieldId:_0x3acfcf,dateType:_0x296dbc}=_0x5d22f5,_0x25026c=_0x2f3a79[_0x5bfd06(0x304)](_0xb1f452[_0x5bfd06(0x19c)]),_0x5aa25a=_0x25026c['getPivotTableInstance'](_0x588863);if(!_0x5aa25a)return!0x1;const _0x4e61a8=_0x5aa25a['getDataFieldByTableId'](_0x3acfcf);if(!_0x4e61a8)return!0x1;const _0x569999=_0x4e61a8[_0x5bfd06(0x412)](),_0x9380cd=_0x5aa25a[_0x5bfd06(0x38b)](_0x569999),_0x8a68d3=(_0x9380cd==null?void 0x0:_0x9380cd[_0x5bfd06(0x29b)]())+'\x20'+_0x55ae03(_0x2f3a79,_0x296dbc);_0x25026c[_0x5bfd06(0x19a)](_0x4ae2a2,_0x588863)['setDisplayName'](_0x4e61a8['id'],_0x8a68d3);const _0xaf6e5=_0x5aa25a[_0x5bfd06(0x273)](_0x3acfcf);if(!_0xaf6e5)return!0x1;_0x5aa25a[_0x5bfd06(0x233)](_0xaf6e5[_0x5bfd06(0x2e1)](),_0x8a68d3),_0x4e61a8[_0x5bfd06(0x24e)](_0x296dbc);const _0x372af4=_0x25026c['getPivotTableConfig'](_0x4ae2a2,_0x110428,_0x588863);return _0x25026c['addDirtyPivotTable']({'unitId':_0x4ae2a2,'subUnitId':_0x110428,'token':_0x588863,'type':_0x5965b8[_0x5bfd06(0x30c)],'pivotConfig':_0x372af4}),!0x0;}},_0x5cfe72={'id':'sheet.command.update-date-group','type':_0x39685c[_0x4fc62e(0x1bb)][_0x4fc62e(0x32e)],'handler':(_0x5bbb6d,_0x3fe852)=>{const _0x1d8a2a=_0x4fc62e;if(!_0x3fe852)return!0x1;const _0x19055d=_0x5bbb6d[_0x1d8a2a(0x304)](_0x39685c['IUndoRedoService']),{unitId:_0x654863,subUnitId:_0x383429,pivotTableId:_0x592b3a,tableFieldId:_0x5ca81a}=_0x3fe852,_0x24e647=[],_0x32eb65=[],_0x48849f=_0x5bbb6d[_0x1d8a2a(0x304)](_0xb1f452[_0x1d8a2a(0x3cc)]),_0x5b7582=_0x48849f[_0x1d8a2a(0x19a)](_0x654863,_0x592b3a),_0x146ed6=_0x48849f[_0x1d8a2a(0x492)](_0x654863,_0x383429,_0x592b3a);if(!(_0x146ed6!=null&&_0x146ed6[_0x1d8a2a(0x3a8)][_0x1d8a2a(0x42a)]))return!0x1;const _0x1c95d0=Object[_0x1d8a2a(0x35d)](_0x146ed6[_0x1d8a2a(0x3a8)][_0x1d8a2a(0x42a)])[_0x1d8a2a(0x433)](_0x5c6c78=>_0x5c6c78['id']===_0x5ca81a);if(!_0x1c95d0)return!0x1;const _0x5aa94d=_0x1c95d0[_0x1d8a2a(0x3bf)];if(!(_0x5b7582!=null&&_0x5b7582['fields']))return!0x1;const _0x1a43c1=Object[_0x1d8a2a(0x35d)](_0x5b7582==null?void 0x0:_0x5b7582[_0x1d8a2a(0x1de)])['find'](_0xeeb918=>_0xeeb918['id']===_0x5aa94d);if(!_0x1a43c1)return!0x1;_0x27cc4c[_0x1d8a2a(0x2ae)](_0x1a43c1)&&_0x24e647[_0x1d8a2a(0x458)]({'id':_0x1a73a9['id'],'params':{..._0x3fe852,'dateType':_0x1a43c1['dateType']}}),_0x32eb65[_0x1d8a2a(0x458)]({'id':_0x1a73a9['id'],'params':{..._0x3fe852}});const _0x3c3a3c=_0x5bbb6d[_0x1d8a2a(0x304)](_0x39685c[_0x1d8a2a(0x357)]);return _0x39685c[_0x1d8a2a(0x1c0)](_0x32eb65,_0x3c3a3c)&&_0x19055d[_0x1d8a2a(0x2c6)]({'unitID':_0x654863,'undoMutations':_0x24e647,'redoMutations':_0x32eb65}),!0x0;}};var _0x5d8c6d=Object[_0x4fc62e(0x4ab)],_0x41a55a=(_0x46cf80,_0x212018,_0x3720ed,_0x45ac39)=>{const _0x51827c=_0x4fc62e;for(var _0x4990c4=_0x45ac39>0x1?void 0x0:_0x45ac39?_0x5d8c6d(_0x212018,_0x3720ed):_0x212018,_0x5fd0f9=_0x46cf80[_0x51827c(0x2fd)]-0x1,_0x8bfda1;_0x5fd0f9>=0x0;_0x5fd0f9--)(_0x8bfda1=_0x46cf80[_0x5fd0f9])&&(_0x4990c4=_0x8bfda1(_0x4990c4)||_0x4990c4);return _0x4990c4;},_0x14490d=(_0x1ed7b2,_0x135566)=>(_0x4c617d,_0x4cf166)=>_0x135566(_0x4c617d,_0x4cf166,_0x1ed7b2);const _0x3f8409=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x22d567=(_0x5c34c9,_0x5e8264,_0x11e466)=>{const _0x2c1616=_0x4fc62e,_0x34c83d=_0x5c34c9[_0x2c1616(0x386)];_0x5c34c9['iterateFieldDim'](_0x539bda=>{const _0x26e64f=_0x2c1616,_0xbe3e86=_0x539bda['getId'](),_0x1ab689=_0x539bda[_0x26e64f(0x2f6)](),_0x19d768=_0x539bda[_0x26e64f(0x48f)](),_0x2e03c3=_0x539bda[_0x26e64f(0x487)]();_0x5e8264[_0x1ab689]&&_0x5e8264[_0x1ab689]===_0x2e03c3&&_0x19d768===_0x2e03c3&&(_0x5c34c9[_0x26e64f(0x233)](_0xbe3e86,_0x34c83d[_0x26e64f(0x487)](_0x1ab689)),_0x539bda[_0x26e64f(0x33d)](_0x34c83d[_0x26e64f(0x487)](_0x1ab689)));}),_0x5c34c9[_0x2c1616(0x3f8)](_0x27cc4c[_0x2c1616(0x1c6)][_0x2c1616(0x1cf)],_0x1797a2=>{const _0x68a063=_0x2c1616,_0x1f0b14=_0x1797a2[_0x68a063(0x2e1)](),_0x11be50=_0x1797a2[_0x68a063(0x2f6)](),_0x3739c5=_0x1797a2['getSourceName'](),_0x512ee2=_0x1797a2[_0x68a063(0x487)](),_0x3baed2=_0x1797a2[_0x68a063(0x48e)](),_0x1e7a29=_0x11e466(_0x3739c5,_0x3baed2);_0x5e8264[_0x11be50]&&_0x5e8264[_0x11be50]===_0x3739c5&&_0x1e7a29===_0x512ee2&&(_0x5c34c9['renameField'](_0x1f0b14,_0x11e466(_0x34c83d['getDisplayName'](_0x11be50),_0x3baed2)),_0x1797a2[_0x68a063(0x33d)](_0x34c83d[_0x68a063(0x487)](_0x11be50)));});},_0x3f2274=(_0x1d4a47,_0x344537,_0x20b1b3)=>{const _0x2164d3=_0x4fc62e;var _0x5abbab,_0x29f994;const {arrayFormulaCellData:_0x193be6,unitData:_0x21cd11}=_0x344537,{unitId:_0x51e013,subUnitId:_0x454206}=_0x20b1b3,_0x5b6036=_0x20b1b3[_0x2164d3(0x1e7)],{startColumn:_0x1734db,endColumn:_0x2193e4}=_0x5b6036,_0x21767f=(_0x5abbab=_0x193be6==null?void 0x0:_0x193be6[_0x51e013])==null?void 0x0:_0x5abbab[_0x454206],_0x26ac91=(_0x29f994=_0x21cd11==null?void 0x0:_0x21cd11[_0x51e013])==null?void 0x0:_0x29f994[_0x454206],_0x464dc0=new Set(),_0x295c14=_0x2193e4-_0x1734db+0x1,{dirtyRanges:_0x204dfa}=_0x1d4a47;if(_0x204dfa)for(const {range:_0x419e83,sheetId:_0x318b0f,unitId:_0x56d7a8}of _0x204dfa){if(_0x318b0f!==_0x454206||_0x51e013!==_0x56d7a8)continue;const _0x6ccf29=_0x39685c[_0x2164d3(0x3d6)][_0x2164d3(0x1f4)](_0x419e83,_0x5b6036);if(_0x6ccf29){const {startColumn:_0x39431e,endColumn:_0x19b8c3}=_0x6ccf29;for(let _0x36ba0b=_0x39431e;_0x36ba0b<=_0x19b8c3;_0x36ba0b++)_0x464dc0[_0x2164d3(0x32f)](_0x36ba0b);}}if(_0x464dc0[_0x2164d3(0x321)]===_0x295c14||_0x464dc0[_0x2164d3(0x321)]===_0x295c14)return Array[_0x2164d3(0x4a5)](_0x464dc0);if(_0x26ac91){const _0x1a7c7b=_0x26ac91[_0x2164d3(0x359)](),_0x56022a=Object[_0x2164d3(0x315)](_0x1a7c7b);for(const _0x2cece0 of _0x56022a){const _0x41a597=Number(_0x2cece0),_0x4c60b0=_0x1a7c7b[_0x41a597];if(_0x464dc0[_0x2164d3(0x321)]===_0x295c14)break;for(const _0x4b1b4e in _0x4c60b0){const _0x13e48b=Number(_0x4b1b4e);_0x13e48b<_0x1734db||_0x13e48b>_0x2193e4||_0x464dc0[_0x2164d3(0x32f)](_0x13e48b);}}}if(_0x21767f){const _0x46c129=_0x21767f['getMatrix'](),_0x12df46=Object['keys'](_0x46c129);for(const _0x21558e of _0x12df46){const _0x5914e8=Number(_0x21558e),_0x20c792=_0x46c129[_0x5914e8];if(_0x464dc0[_0x2164d3(0x321)]===_0x295c14)break;for(const _0x51032d in _0x20c792){const _0x36ef38=Number(_0x51032d);_0x36ef38<_0x1734db||_0x36ef38>_0x2193e4||_0x464dc0['add'](_0x36ef38);}}}return Array[_0x2164d3(0x4a5)](_0x464dc0);},_0x3452d1=_0x159803=>{const _0x5a0383=_0x4fc62e,_0x6bbcea=new Set(),_0x4cc878=[];for(const _0x19adf1 of _0x159803){const _0x4f1fe8=_0x19adf1[_0x5a0383(0x43c)]+','+_0x19adf1[_0x5a0383(0x484)]+','+_0x19adf1[_0x5a0383(0x3d2)]+','+_0x19adf1[_0x5a0383(0x25c)];_0x6bbcea['has'](_0x4f1fe8)||(_0x6bbcea[_0x5a0383(0x32f)](_0x4f1fe8),_0x4cc878[_0x5a0383(0x458)](_0x19adf1));}return _0x4cc878;};let _0x594aa2=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x2aa49b,_0x2241d0,_0x209dd0,_0x49bf4a,_0x48a827,_0x100558){const _0x4ae967=_0x4fc62e;super(),_0x46647d(this,_0x4ae967(0x306),new _0x2efff6[(_0x4ae967(0x414))](!0x0)),_0x46647d(this,_0x4ae967(0x392),_0x38a7d6=>{const _0x32f0c5=_0x4ae967;this[_0x32f0c5(0x306)]['next'](!0x1);}),_0x46647d(this,'_globalComputedEndHelpFunc',_0x2b0e91=>{const _0x2f63f8=_0x4ae967;this[_0x2f63f8(0x306)][_0x2f63f8(0x23c)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2aa49b,this['_configService']=_0x2241d0,this[_0x4ae967(0x1a7)]=_0x209dd0,this[_0x4ae967(0x39a)]=_0x49bf4a,this[_0x4ae967(0x2ab)]=_0x48a827,this[_0x4ae967(0x3a6)]=_0x100558,this[_0x4ae967(0x32a)](),this[_0x4ae967(0x242)]());}['_init'](){const _0x2ba823=_0x4fc62e;this['_subjectCollectionChange'](),this[_0x2ba823(0x1ef)](),this[_0x2ba823(0x1d0)](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x389598=_0x4fc62e;this[_0x389598(0x2ab)][_0x389598(0x225)](this[_0x389598(0x306)]),_0x27cc4c[_0x389598(0x3a3)][_0x389598(0x413)](_0x27cc4c[_0x389598(0x43f)][_0x389598(0x1b6)],this['_globalComputedStartHelpFunc']),_0x27cc4c[_0x389598(0x3a3)][_0x389598(0x413)](_0x27cc4c[_0x389598(0x43f)]['onQueryEnd'],this[_0x389598(0x281)]);}[_0x4fc62e(0x242)](){const _0x23747c=_0x4fc62e;this[_0x23747c(0x409)](this[_0x23747c(0x39a)]['onCommandExecuted'](_0x59a71b=>{const _0x182374=_0x23747c;_0x59a71b['id']===_0x3f53bd['MoveRangeMutation']['id']&&this[_0x182374(0x47b)][_0x182374(0x297)](_0x59a71b['params']);})),this[_0x23747c(0x409)](this[_0x23747c(0x39a)]['onCommandExecuted'](_0xb15fb0=>{const _0x5f0c64=_0x23747c;if(_0xb15fb0['id']!==_0x48413d['id'])return;const _0x5dc239=_0xb15fb0[_0x5f0c64(0x229)],{unitId:_0x40b602,subUnitId:_0x345419,pivotTableId:_0x36c68c}=_0x5dc239,_0x5729b0=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x339)],_0x50d6e1={};switch(_0x5729b0){case _0x5ba5f6['Filter']:{const _0x2bccbd=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x1e8)];if(!_0x2bccbd)return;const {row:_0x15c740,col:_0x2eb5b6,cellData:_0x589f37,pivotItemRenderInfoCache:_0x16fe02,tableFieldId:_0x5e4f27}=_0x2bccbd,_0x4709d0=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x5dc239[_0x5f0c64(0x31d)]);if(!_0x4709d0||!_0x16fe02)return;if(_0x5e4f27){const _0x1d4ad9=_0x4709d0[_0x5f0c64(0x39e)](_0x5e4f27);if(!_0x1d4ad9)return;_0x50d6e1['filter']={..._0x4709d0[_0x5f0c64(0x239)](_0x1d4ad9),'tableFieldId':_0x5e4f27,'pivotTableId':_0x5dc239[_0x5f0c64(0x31d)],'filterInfo':_0x4709d0['getFilterInfo'](_0x5e4f27),'sortInfo':_0x4709d0['getSortInfo'](_0x5e4f27),'format':_0x4709d0[_0x5f0c64(0x38c)](_0x5e4f27)};}else{const _0x2cc818=_0x574201(_0x15c740,_0x2eb5b6,_0x589f37,_0x4709d0,_0x16fe02),_0x3bc2ce=_0x2cc818==null?void 0x0:_0x2cc818[_0x5f0c64(0x296)];if(!_0x3bc2ce)return;const _0x441962=_0x4709d0[_0x5f0c64(0x39e)](_0x3bc2ce);if(!_0x441962)return;_0x50d6e1[_0x5f0c64(0x1e8)]={..._0x4709d0[_0x5f0c64(0x239)](_0x441962),'tableFieldId':_0x3bc2ce,'pivotTableId':_0x5dc239[_0x5f0c64(0x31d)],'filterInfo':_0x4709d0[_0x5f0c64(0x319)](_0x3bc2ce),'sortInfo':_0x4709d0[_0x5f0c64(0x33f)](_0x3bc2ce),'format':_0x4709d0[_0x5f0c64(0x38c)](_0x3bc2ce)};}}break;case _0x5ba5f6[_0x5f0c64(0x25b)]:{const _0x1f5636=_0x5dc239[_0x5f0c64(0x229)]['panel'];if(!_0x1f5636)return;const {pivotTableId:_0x46fa71}=_0x1f5636,_0x4cba38=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x46fa71);if(!_0x4cba38)return;const _0x55ca6c=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x46fa71),_0x355fd2=_0x149caa(_0x4cba38,_0x46fa71,_0x55ca6c);_0x50d6e1[_0x5f0c64(0x3f7)]=_0x355fd2;}break;case _0x5ba5f6['AddPivotField']:{const _0x188222=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c),_0x15d5c3=this[_0x5f0c64(0x47b)][_0x5f0c64(0x313)](_0x40b602),_0x1f42fe=_0x15d5c3[_0x5f0c64(0x19a)](_0x36c68c);let _0x4d1298=null;const _0x4f15e7=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c),_0x12154e=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x375)];if(!_0x188222||!_0x4f15e7||!_0x12154e)return!0x1;const {dataFieldId:_0x267425,fieldArea:_0x163603,index:_0x10b28d}=_0x12154e;_0x188222[_0x5f0c64(0x454)]();const _0x277122=_0x188222['addFieldWithSourceId'](_0x267425,_0x163603,_0x10b28d);if(_0x277122&&_0x163603===_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x1cf)]){const _0x57f8ec=_0x277122[_0x5f0c64(0x2e1)](),_0x27b2dd=_0x188222[_0x5f0c64(0x39e)](_0x57f8ec);if(_0x27b2dd){const _0x4cfdf0=_0x27b2dd==null?void 0x0:_0x27b2dd['getFieldDataType']();_0x188222[_0x5f0c64(0x1d8)](_0x277122[_0x5f0c64(0x2e1)](),_0x4cfdf0===_0x27cc4c['PivotDataFieldDataTypeEnum'][_0x5f0c64(0x2b5)]?_0x27cc4c[_0x5f0c64(0x3e9)][_0x5f0c64(0x2b2)]:_0x27cc4c['PivotSubtotalTypeEnum'][_0x5f0c64(0x38d)]);}const _0x58477d=_0x188222[_0x5f0c64(0x35f)](),_0x42756c=_0x188222[_0x5f0c64(0x3dd)](),_0x496693=_0x188222[_0x5f0c64(0x47c)](_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x1cf)]);if(_0x58477d===-0x1&&_0x496693>0x1){const _0x5c6889=_0x42756c===_0x27cc4c['PivotTableValuePositionEnum'][_0x5f0c64(0x469)]?_0x27cc4c[_0x5f0c64(0x31b)]['Column']:_0x42756c,_0x54bc29=_0x5c6889===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x46f)]?_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x46f)]:_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x202)];_0x188222[_0x5f0c64(0x34d)](_0x5c6889,_0x188222[_0x5f0c64(0x47c)](_0x54bc29));}}else{if(_0x277122&&(_0x163603===_0x27cc4c[_0x5f0c64(0x1c6)]['Row']||_0x163603===_0x27cc4c['PivotTableFiledAreaEnum']['Column'])){const _0x23f215=_0x277122[_0x5f0c64(0x2e1)](),_0x1d0690=_0x188222['getDataFieldByTableId'](_0x23f215);if(_0x1d0690&&(_0x1d0690==null?void 0x0:_0x1d0690[_0x5f0c64(0x3f6)]())===_0x27cc4c[_0x5f0c64(0x331)][_0x5f0c64(0x271)]){const _0x3cfff2=_0x1d0690[_0x5f0c64(0x38a)]();if(_0x3cfff2&&_0x188222[_0x5f0c64(0x428)](_0x277122['getId'](),_0x3cfff2),!_0x1f42fe['getFieldIds']()['some'](_0x1e79f1=>{const _0x5211d3=_0x5f0c64,_0x23ddb6=_0x1f42fe[_0x5211d3(0x19b)](_0x1e79f1);return _0x27cc4c[_0x5211d3(0x2ed)](_0x23ddb6)?_0x23ddb6[_0x5211d3(0x3fd)]()[_0x5211d3(0x3df)]===_0x267425:!0x1;})){const _0x655d7c=_0x15d5c3['createDataFieldId'](),_0x74b031=_0x3a2396(_0x1d0690[_0x5f0c64(0x195)],_0x1d0690[_0x5f0c64(0x4aa)]),_0x240d2b=_0x1d0690['getName']()+_0x5f0c64(0x24c)+_0x55ae03(this['_injector'],_0x74b031),_0x57d72c=new _0x27cc4c[(_0x5f0c64(0x468))](_0x655d7c,_0x240d2b,_0x27cc4c[_0x5f0c64(0x476)](0x3),_0x1d0690[_0x5f0c64(0x2e1)](),_0x74b031);_0x15d5c3['addDataFieldWithoutUnitInfo'](_0x57d72c),_0x1f42fe[_0x5f0c64(0x424)](_0x655d7c,_0x240d2b),_0x188222[_0x5f0c64(0x3ee)](_0x655d7c,_0x163603,(_0x10b28d!=null?_0x10b28d:0x0)+0x1),_0x4d1298=_0x57d72c;}}}}const _0x594bf0=_0x188222[_0x5f0c64(0x206)](),_0x171f10=_0x188222[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)]();let _0x54bd3a;if(_0x4d1298){_0x54bd3a=_0x4d1298['toJSON']();const _0x22b04f=_0x4d1298['getId']();_0x1f42fe[_0x5f0c64(0x295)](_0x22b04f);let _0x5e364b=!0x0;for(const _0x2f0c6a in _0x15d5c3['collections'])if(_0x15d5c3[_0x5f0c64(0x2a6)][_0x2f0c6a][_0x5f0c64(0x37e)]()['includes'](_0x22b04f)){_0x5e364b=!0x1;break;}_0x5e364b&&_0x15d5c3[_0x5f0c64(0x344)](_0x22b04f);}const _0x34bf75=_0x188222['endCollectChangeset']();_0x50d6e1[_0x5f0c64(0x375)]={'view':_0x171f10,'changesets':_0x34bf75,'isEmpty':_0x594bf0,'pivotTableConfig':_0x4f15e7,'shouldBeAddedGroupJSON':_0x54bd3a};}break;case _0x5ba5f6['AddPivotTable']:{const _0xc6bfdd=_0x5dc239['params'][_0x5f0c64(0x49e)];if(!_0xc6bfdd)return;const _0x5a719d=_0xc6bfdd[_0x5f0c64(0x277)],_0x1b04af=_0xc6bfdd[_0x5f0c64(0x31d)],{collection:_0x4011cc}=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x251)]({'unitId':_0x5a719d[_0x5f0c64(0x2be)],'sheetName':_0x5a719d[_0x5f0c64(0x4a6)],'subUnitId':_0x5a719d[_0x5f0c64(0x4a1)],'range':_0x5a719d[_0x5f0c64(0x1e7)]}),_0x4b68b1=new _0x27cc4c['PivotTable'](_0x4011cc,void 0x0,_0x1b04af),_0x5dbf03=_0x4b68b1['query'](),_0x573c2d=_0x4b68b1[_0x5f0c64(0x43a)](),_0x298d91=_0x4011cc[_0x5f0c64(0x43a)]();_0x50d6e1['addPivotTable']={'view':_0x5dbf03,'fieldsConfig':_0x573c2d,'collectionConfig':_0x298d91,'isEmpty':_0x4b68b1[_0x5f0c64(0x206)]()};}break;case _0x5ba5f6['MovePivotField']:{const _0x247972=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x42f)];if(!_0x247972)return;const {fieldId:_0x5f0676,area:_0x29fcfa,index:_0x19abc2}=_0x247972,_0x1e5aa0=this[_0x5f0c64(0x47b)]['getPivotTableConfig'](_0x40b602,_0x345419,_0x36c68c);if(!_0x1e5aa0)return;const _0x596fad=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x36c68c);if(!_0x596fad)return;_0x596fad[_0x5f0c64(0x454)]();const {area:_0x3d0068,index:_0x31b968}=_0x596fad['getFieldPositionInfoById'](_0x5f0676);if(_0x596fad['updateFieldPosition'](_0x5f0676,_0x29fcfa,_0x19abc2),_0x29fcfa===_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x1cf)]&&_0x596fad[_0x5f0c64(0x273)](_0x5f0676)[_0x5f0c64(0x48e)]()===void 0x0){const _0x50ec61=_0x596fad[_0x5f0c64(0x273)](_0x5f0676);if(_0x50ec61&&_0x50ec61[_0x5f0c64(0x48e)]()===void 0x0){const _0x291a38=_0x596fad[_0x5f0c64(0x39e)](_0x5f0676);if(_0x291a38){const _0x28b3b0=_0x291a38==null?void 0x0:_0x291a38[_0x5f0c64(0x3f6)]();_0x596fad[_0x5f0c64(0x1d8)](_0x5f0676,_0x28b3b0===_0x27cc4c[_0x5f0c64(0x331)][_0x5f0c64(0x2b5)]?_0x27cc4c[_0x5f0c64(0x3e9)][_0x5f0c64(0x2b2)]:_0x27cc4c[_0x5f0c64(0x3e9)]['count']);}}}const _0x7b46c9=_0x596fad['getValuePosition'](),_0x2e2a98=_0x596fad['getValueIndex'](),_0x19bf51=_0x596fad[_0x5f0c64(0x47c)](_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x1cf)])>0x1;if(_0x19bf51&&_0x3d0068===_0x29fcfa&&(_0x29fcfa===_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x46f)]&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x46f)]||_0x29fcfa===_0x27cc4c[_0x5f0c64(0x1c6)]['Column']&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x202)])){let _0x4043c5=_0x2e2a98;_0x31b968<=_0x2e2a98&&_0x4043c5--,_0x19abc2<=_0x2e2a98&&_0x4043c5++,_0x596fad[_0x5f0c64(0x34d)](_0x7b46c9,_0x4043c5);}else _0x19bf51&&(_0x3d0068===_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x46f)]&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x46f)]||_0x3d0068===_0x27cc4c[_0x5f0c64(0x1c6)]['Column']&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)]['Column'])&&_0x2e2a98>=_0x31b968&&_0x596fad['updateValuePosition'](_0x7b46c9,_0x2e2a98-0x1),_0x19bf51&&(_0x29fcfa===_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x46f)]&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x46f)]||_0x29fcfa===_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x202)]&&_0x7b46c9===_0x27cc4c[_0x5f0c64(0x31b)][_0x5f0c64(0x202)])&&_0x2e2a98>=_0x19abc2&&_0x596fad[_0x5f0c64(0x34d)](_0x7b46c9,_0x2e2a98+0x1);const _0x1efead=_0x596fad[_0x5f0c64(0x408)](),_0x1b876a=_0x596fad[_0x5f0c64(0x206)](),_0x2e56eb=_0x596fad[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x42f)]={'view':_0x1efead[_0x5f0c64(0x43a)](),'changesets':_0x2e56eb,'isEmpty':_0x1b876a,'pivotTableConfig':_0x1e5aa0};}break;case _0x5ba5f6[_0x5f0c64(0x42b)]:{const _0x450483=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x463)];if(!_0x450483)return;const _0x5cbfa6=_0x450483[_0x5f0c64(0x372)],_0x2fa5dd=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x2fa5dd)return!0x1;const _0x21cd19=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c);if(!_0x21cd19)return!0x1;_0x21cd19[_0x5f0c64(0x454)]();for(const _0x55af6e of _0x5cbfa6){const {area:_0x2a3f92}=_0x21cd19[_0x5f0c64(0x479)](_0x55af6e);_0x2a3f92===_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x1cf)]&&_0x21cd19[_0x5f0c64(0x2da)](_0x55af6e),(_0x2a3f92===_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x46f)]||_0x2a3f92===_0x27cc4c[_0x5f0c64(0x1c6)]['Column'])&&_0x21cd19[_0x5f0c64(0x421)](_0x55af6e),_0x21cd19['removeField'](_0x55af6e);}const _0x39acb0=_0x21cd19[_0x5f0c64(0x206)](),_0x132aeb=_0x21cd19[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x5648fd=_0x21cd19[_0x5f0c64(0x25f)]();_0x50d6e1['removePivotField']={'changesets':_0x5648fd,'pivotTableConfig':_0x2fa5dd,'isEmpty':_0x39acb0,'view':_0x132aeb};}break;case _0x5ba5f6['SetPivotFilter']:{const _0x440d11=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x1a9)];if(!_0x440d11)return;const {tableFieldId:_0x7ba43d,items:_0x49917a,isAll:_0x5b6cdf}=_0x440d11,_0x5912fc=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c),_0x2cb8b0=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x5912fc||!_0x2cb8b0)return;_0x5912fc[_0x5f0c64(0x454)](),_0x5912fc[_0x5f0c64(0x29f)](_0x7ba43d,{'type':_0x27cc4c['PivotFilterTypeEnum']['ManualFilter'],'list':_0x49917a,'isAll':_0x5b6cdf});const _0x7d9b83=_0x5912fc['isEmpty'](),_0x572378=_0x5912fc[_0x5f0c64(0x408)]()['toJSON'](),_0x44022c=_0x5912fc[_0x5f0c64(0x25f)]();_0x50d6e1['setPivotFilter']={'view':_0x572378,'changesets':_0x44022c,'isEmpty':_0x7d9b83,'pivotTableConfig':_0x2cb8b0};}break;case _0x5ba5f6[_0x5f0c64(0x1a2)]:{const _0x5ea25d=_0x5dc239['params']['setValuePivotFilter'];if(!_0x5ea25d)return;const {tableFieldId:_0x390e0a,filterInfo:_0x2acd8d}=_0x5ea25d,_0x56ba29=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x358)](_0x36c68c),_0x1c7466=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x56ba29||!_0x1c7466)return;_0x56ba29['startCollectChangeset'](),_0x56ba29[_0x5f0c64(0x208)](_0x390e0a,_0x2acd8d);const _0x44a720=_0x56ba29[_0x5f0c64(0x206)](),_0x7c7d7a=_0x56ba29[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x3f0d24=_0x56ba29[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x19e)]={'view':_0x7c7d7a,'changesets':_0x3f0d24,'isEmpty':_0x44a720,'pivotTableConfig':_0x1c7466};}break;case _0x5ba5f6[_0x5f0c64(0x44c)]:{const _0x4be8d4=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x305)];if(!_0x4be8d4)return;const {tableFieldId:_0x3c3451,info:_0x4811d3}=_0x4be8d4,_0xdef9df=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x36c68c),_0x1172fa=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0xdef9df||!_0x1172fa)return;_0xdef9df['startCollectChangeset'](),_0xdef9df['setSortInfo'](_0x3c3451,_0x4811d3);const _0x3cca19=_0xdef9df[_0x5f0c64(0x206)](),_0x12a8a0=_0xdef9df[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x36979e=_0xdef9df['endCollectChangeset']();_0x50d6e1['setPivotSort']={'view':_0x12a8a0,'changesets':_0x36979e,'isEmpty':_0x3cca19,'pivotTableConfig':_0x1172fa};}break;case _0x5ba5f6[_0x5f0c64(0x3a1)]:{const _0x444396=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x473)];if(!_0x444396)return;const {tableFieldId:_0x32bf1f,displayName:_0x179d0c,subtotalType:_0x50df5d,format:_0x2af659}=_0x444396,_0x58ca18=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x358)](_0x36c68c),_0x25ff24=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x58ca18||!_0x25ff24)return;_0x58ca18['startCollectChangeset'](),_0x179d0c!==void 0x0&&_0x58ca18['renameField'](_0x32bf1f,_0x179d0c),_0x50df5d!==void 0x0&&_0x58ca18[_0x5f0c64(0x1d8)](_0x32bf1f,_0x50df5d),_0x2af659!==void 0x0&&_0x58ca18[_0x5f0c64(0x428)](_0x32bf1f,_0x2af659);const _0x8db638=_0x58ca18[_0x5f0c64(0x206)](),_0x442e99=_0x58ca18['query']()[_0x5f0c64(0x43a)](),_0xae4353=_0x58ca18['endCollectChangeset']();_0x50d6e1['setPivotSetting']={'changesets':_0xae4353,'pivotTableConfig':_0x25ff24,'isEmpty':_0x8db638,'view':_0x442e99};}break;case _0x5ba5f6[_0x5f0c64(0x1b2)]:{const _0x28d177=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x3eb)];if(!_0x28d177)return;const {dataRangeInfo:_0x1e9851,unitId:_0x47de5d,subUnitId:_0xacf170}=_0x28d177,_0x288c98=this[_0x5f0c64(0x47b)][_0x5f0c64(0x492)](_0x47de5d,_0xacf170,_0x36c68c),_0x2fc4e2=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x47de5d,_0x36c68c)||!_0x2fc4e2||!_0x288c98)return;const _0x3be239=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x328)](_0x47de5d,_0x36c68c,_0x1e9851),_0x5c0da4=this[_0x5f0c64(0x47b)][_0x5f0c64(0x19a)](_0x47de5d,_0x36c68c)['toJSON'](),{collection:_0x2b5856}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e9851['unitId'],'sheetName':_0x1e9851['sheetName'],'subUnitId':_0x1e9851[_0x5f0c64(0x4a1)],'range':_0x1e9851[_0x5f0c64(0x1e7)]}),_0x523e8d=_0x2b5856[_0x5f0c64(0x43a)]();_0x2fc4e2['startCollectChangeset']();const _0x4e93e1=this[_0x5f0c64(0x47b)][_0x5f0c64(0x313)](_0x47de5d)[_0x5f0c64(0x1bf)]()||_0x27cc4c['getAutoDisplayName'];_0x2fc4e2[_0x5f0c64(0x3d8)](_0x2ea387=>{const _0x29e53f=_0x5f0c64,_0x1a97ee=_0x2ea387[_0x29e53f(0x2f6)]();if(!_0x2b5856[_0x29e53f(0x3c6)](_0x1a97ee)){const _0x3fc4d6=_0x2b5856['getDataFieldBySourceName'](_0x2ea387['getSourceName']());if(_0x3fc4d6){_0x2fc4e2[_0x29e53f(0x491)](_0x2ea387[_0x29e53f(0x2e1)](),_0x3fc4d6['getName'](),_0x3fc4d6[_0x29e53f(0x2e1)]());const {area:_0x43994c}=_0x2fc4e2['getFieldPositionInfoById'](_0x2ea387[_0x29e53f(0x2e1)]());let _0x528606=_0x2ea387[_0x29e53f(0x48f)]();const _0x267c89=_0x2ea387[_0x29e53f(0x487)]();if(_0x43994c===_0x27cc4c[_0x29e53f(0x1c6)][_0x29e53f(0x1cf)]){const _0x3d6b26=_0x2ea387['getSubtotal']();_0x528606=_0x4e93e1(_0x3fc4d6[_0x29e53f(0x29b)](),_0x3d6b26);}_0x267c89!==_0x528606&&_0x2fc4e2[_0x29e53f(0x233)](_0x2ea387[_0x29e53f(0x2e1)](),_0x528606);}else _0x2fc4e2[_0x29e53f(0x280)](_0x2ea387[_0x29e53f(0x2e1)]());}});const _0x5e37ba=_0x2fc4e2[_0x5f0c64(0x206)](),_0x541b22=_0x2fc4e2[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x17fa6c=_0x2fc4e2[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x3eb)]={'view':_0x541b22,'changesets':_0x17fa6c,'isEmpty':_0x5e37ba,'pivotTableConfig':_0x288c98,'collectionConfig':_0x523e8d,'oldCollectionConfig':_0x5c0da4,'deleteIds':_0x3be239};}break;case _0x5ba5f6[_0x5f0c64(0x3f3)]:{const _0x41fe1f=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x34d)];if(!_0x41fe1f)return;const {position:_0x1944e8,index:_0x21db96}=_0x41fe1f,_0x1b4ff9=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x1b4ff9)return!0x1;const _0x2b7080=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c);if(!_0x2b7080)return!0x1;_0x2b7080[_0x5f0c64(0x454)](),_0x2b7080['updateValuePosition'](_0x1944e8,_0x21db96);const _0xfbf26b=_0x2b7080[_0x5f0c64(0x206)](),_0x15325f=_0x2b7080[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x439b8d=_0x2b7080[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x34d)]={'changesets':_0x439b8d,'pivotTableConfig':_0x1b4ff9,'isEmpty':_0xfbf26b,'view':_0x15325f};}break;case _0x5ba5f6[_0x5f0c64(0x449)]:{const _0x39b1ac=_0x5dc239['params']['setPivotCollapse'];if(!_0x39b1ac)return;const {tableFieldId:_0x52c87d,collapse:_0x494cc2,item:_0x57542f}=_0x39b1ac,_0x5c2323=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c),_0x41c73a=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x5c2323||!_0x41c73a)return;_0x5c2323['startCollectChangeset'](),_0x5c2323['setCollapse'](_0x52c87d,_0x494cc2,_0x57542f);const _0x2bb79e=_0x5c2323[_0x5f0c64(0x206)](),_0x22f5dd=_0x5c2323['query']()[_0x5f0c64(0x43a)](),_0x4cf07f=_0x5c2323[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x2ba)]={'view':_0x22f5dd,'isEmpty':_0x2bb79e,'pivotTableConfig':_0x41c73a,'changesets':_0x4cf07f};}break;case _0x5ba5f6[_0x5f0c64(0x36a)]:{const _0x2b5fc6=_0x5dc239['params'][_0x5f0c64(0x2a7)];if(!_0x2b5fc6)return;const {pivotTableConfig:_0x45bdfa}=_0x2b5fc6,_0x3b4d40=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c),_0x2f8a8d=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x40b602,_0x345419,_0x36c68c);if(!_0x3b4d40||!_0x2f8a8d)return;_0x3b4d40[_0x5f0c64(0x454)](),_0xfc3b29(_0x3b4d40,_0x45bdfa);const _0xb19e0e=_0x3b4d40[_0x5f0c64(0x206)](),_0x198dd3=_0x3b4d40[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x1195a4=_0x3b4d40[_0x5f0c64(0x25f)]();_0x50d6e1['setPivotTableConfig']={'view':_0x198dd3,'isEmpty':_0xb19e0e,'pivotTableConfig':{..._0x2f8a8d,'fieldsConfig':_0x3b4d40['toJSON']()},'changesets':_0x1195a4};}break;case _0x5ba5f6[_0x5f0c64(0x327)]:{const _0x440873=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x342)];if(!_0x440873)return;const _0x153e12=this[_0x5f0c64(0x47b)][_0x5f0c64(0x358)](_0x36c68c),_0x968272=this['_sheetsPivotDataSourceModel'][_0x5f0c64(0x492)](_0x40b602,_0x345419,_0x36c68c);if(!_0x153e12||!_0x968272)return;_0x153e12[_0x5f0c64(0x454)](),_0x390087(_0x153e12,_0x440873[_0x5f0c64(0x22b)]);const _0x33e027=_0x153e12[_0x5f0c64(0x408)]()[_0x5f0c64(0x43a)](),_0x57cd35=_0x153e12[_0x5f0c64(0x25f)]();_0x50d6e1[_0x5f0c64(0x342)]={'view':_0x33e027,'isEmpty':!0x0,'pivotTableConfig':{..._0x968272,'fieldsConfig':_0x153e12[_0x5f0c64(0x43a)]()},'changesets':_0x57cd35};}break;case _0x5ba5f6['AddPivotTableWithConfig']:{const _0x540496=_0x5dc239[_0x5f0c64(0x229)][_0x5f0c64(0x371)];if(!_0x540496)return;const _0x2ff600=_0x540496[_0x5f0c64(0x277)],_0x980493=_0x540496['pivotTableId'],{collection:_0x31852d}=this[_0x5f0c64(0x47b)]['createCollectionWithDataRange']({'unitId':_0x2ff600[_0x5f0c64(0x2be)],'sheetName':_0x2ff600[_0x5f0c64(0x4a6)],'subUnitId':_0x2ff600['subUnitId'],'range':_0x2ff600[_0x5f0c64(0x1e7)]}),_0x5182cb=new _0x27cc4c[(_0x5f0c64(0x3a3))](_0x31852d,void 0x0,_0x980493),_0x5bd551=_0x31852d[_0x5f0c64(0x37e)](),{rows:_0x23cc22,columns:_0x416702,filters:_0x1ed650,values:_0x5cd2c8}=_0x540496[_0x5f0c64(0x259)];_0x5182cb['startCollectChangeset']();for(const {field:_0x57bcc8,selectedItems:_0x2f365f}of _0x23cc22||[]){const _0x2eb429=_0x5bd551[_0x57bcc8];if(_0x2eb429){const _0x45c29e=_0x5182cb[_0x5f0c64(0x3ee)](_0x2eb429,_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x46f)]);_0x2f365f&&_0x45c29e&&_0x5182cb[_0x5f0c64(0x29f)](_0x45c29e[_0x5f0c64(0x2e1)](),{'type':_0x27cc4c[_0x5f0c64(0x249)]['ManualFilter'],'list':_0x2f365f,'isAll':!0x1});}}for(const {field:_0x48163a,selectedItems:_0x21f622}of _0x416702||[]){const _0x8ed009=_0x5bd551[_0x48163a];if(_0x8ed009){const _0x41a6f8=_0x5182cb['addFieldWithSourceId'](_0x8ed009,_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x202)]);_0x21f622&&_0x41a6f8&&_0x5182cb[_0x5f0c64(0x29f)](_0x41a6f8[_0x5f0c64(0x2e1)](),{'type':_0x27cc4c[_0x5f0c64(0x249)][_0x5f0c64(0x404)],'list':_0x21f622,'isAll':!0x1});}}for(const {field:_0x63341,selectedItems:_0x5a02d1}of _0x1ed650||[]){const _0xaa4dc6=_0x5bd551[_0x63341];if(_0xaa4dc6){const _0x32a208=_0x5182cb['addFieldWithSourceId'](_0xaa4dc6,_0x27cc4c[_0x5f0c64(0x1c6)][_0x5f0c64(0x41c)]);_0x5a02d1&&_0x32a208&&_0x5182cb[_0x5f0c64(0x29f)](_0x32a208[_0x5f0c64(0x2e1)](),{'type':_0x27cc4c[_0x5f0c64(0x249)][_0x5f0c64(0x404)],'list':_0x5a02d1,'isAll':!0x1});}}for(const {field:_0x2d7a22,subTotalType:_0xfcae02,formatString:_0x18efee}of _0x5cd2c8||[]){const _0x175467=_0x31852d['getFieldById'](_0x5bd551[_0x2d7a22]);if(!_0x175467)continue;const _0x350a1d=_0x5bd551[_0x2d7a22];if(_0x350a1d){const _0x336fd8=_0x5182cb['addFieldWithSourceId'](_0x350a1d,_0x27cc4c['PivotTableFiledAreaEnum'][_0x5f0c64(0x1cf)]);if(_0x336fd8){if(_0xfcae02!==void 0x0){_0x5182cb['setSubtotalType'](_0x336fd8['getId'](),_0xfcae02);const _0x4363ee=this[_0x5f0c64(0x47b)][_0x5f0c64(0x313)](_0x2ff600[_0x5f0c64(0x2be)])[_0x5f0c64(0x1bf)]()||_0x27cc4c[_0x5f0c64(0x2aa)],_0x17ba45=_0x31852d[_0x5f0c64(0x487)](_0x350a1d),_0x2d73a5=_0x4363ee(_0x17ba45,_0xfcae02);_0x5182cb[_0x5f0c64(0x233)](_0x336fd8[_0x5f0c64(0x2e1)](),_0x2d73a5);}else{if(_0x175467){const _0x32d913=_0x175467==null?void 0x0:_0x175467['getFieldDataType']();_0x5182cb['setSubtotalType'](_0x336fd8[_0x5f0c64(0x2e1)](),_0x32d913===_0x27cc4c[_0x5f0c64(0x331)][_0x5f0c64(0x2b5)]?_0x27cc4c[_0x5f0c64(0x3e9)][_0x5f0c64(0x2b2)]:_0x27cc4c[_0x5f0c64(0x3e9)][_0x5f0c64(0x38d)]);}}_0x18efee&&_0x5182cb['setFieldFormat'](_0x336fd8[_0x5f0c64(0x2e1)](),_0x18efee);}}}const _0x4b5427=_0x5182cb[_0x5f0c64(0x408)](),_0x548cb4=_0x5182cb[_0x5f0c64(0x43a)](),_0x277f49=_0x5182cb[_0x5f0c64(0x206)](),_0x1e0114=_0x5182cb['endCollectChangeset'](),_0x32b78f=_0x31852d['toJSON']();_0x50d6e1[_0x5f0c64(0x371)]={'view':_0x4b5427,'fieldsConfig':_0x548cb4,'collectionConfig':_0x32b78f,'isEmpty':_0x277f49,'changesets':_0x1e0114};}break;case _0x5ba5f6[_0x5f0c64(0x1a0)]:{const _0x51967c=_0x289d11(this[_0x5f0c64(0x3a6)],_0x5dc239);if(!_0x51967c)return;const {range:_0x179c80,sourceSubUnitId:_0x503cc7,sourceUnitId:_0x2c1c0b,formatMap:_0x381949,indexes:_0x554bb6}=_0x51967c;_0x50d6e1[_0x5f0c64(0x2de)]={'range':_0x179c80,'sourceSubUnitId':_0x503cc7,'sourceUnitId':_0x2c1c0b,'formatMap':_0x381949,'indexes':_0x554bb6};}break;}this[_0x5f0c64(0x39a)][_0x5f0c64(0x415)](_0x251b50['id'],{'version':_0x5dc239[_0x5f0c64(0x348)],'result':_0x50d6e1},{'onlyLocal':!0x0});}));}[_0x4fc62e(0x1d0)](){const _0x2e1286=_0x4fc62e;this[_0x2e1286(0x409)](this['_commandService'][_0x2e1286(0x356)](_0x3c0bc7=>{const _0x2b9260=_0x2e1286;if(_0x3c0bc7['id']!==_0x403fe4['id'])return;const _0x3ecf43=_0x3c0bc7['params'];return this[_0x2b9260(0x47b)][_0x2b9260(0x234)](_0x3ecf43[_0x2b9260(0x3e6)]),!0x0;}));}['_subjectCollectionChange'](){const _0x263175=_0x4fc62e;this[_0x263175(0x47b)][_0x263175(0x42c)][_0x263175(0x1b0)](_0x2dae06=>{const _0x43691b=_0x263175;switch(_0x2dae06[_0x43691b(0x339)]){case _0xa01a17[_0x43691b(0x32f)]:_0x2dae06['dataRangeInfo']&&_0x2dae06[_0x43691b(0x2b6)]&&this[_0x43691b(0x394)](_0x2dae06['token'],_0x2dae06['dataRangeInfo'],_0x2dae06['targetCellInfo']);break;case _0xa01a17[_0x43691b(0x2df)]:{const {unitId:_0x1fd80a,subUnitId:_0x2475b4,token:_0x2e780e}=_0x2dae06;_0x1fd80a&&_0x2475b4&&_0x2e780e&&this[_0x43691b(0x1fa)](_0x1fd80a,_0x2475b4,_0x2e780e);}break;case _0xa01a17[_0x43691b(0x232)]:{const {token:_0x2c1052,oldSourceRangeInfo:_0x3c75d8,dataRangeInfo:_0x3cc1ae,targetCellInfo:_0x3fd747}=_0x2dae06,{unitId:_0x4ddbf2,subUnitId:_0x424943}=_0x3c75d8||{};_0x4ddbf2&&_0x424943&&_0x2c1052&&this[_0x43691b(0x1fa)](_0x4ddbf2,_0x424943,_0x2c1052),_0x3cc1ae&&_0x3fd747&&this[_0x43691b(0x394)](_0x2c1052,_0x3cc1ae,_0x3fd747);}break;}});}['_subjectFieldsCollectionChange'](){const _0xda560f=_0x4fc62e;this[_0xda560f(0x47b)][_0xda560f(0x334)][_0xda560f(0x1b0)](_0x3e15a7=>{const _0x147936=_0xda560f;Object[_0x147936(0x315)](_0x3e15a7)[_0x147936(0x268)](_0x241810=>{const _0x119651=_0x147936,_0x145640=this[_0x119651(0x47b)][_0x119651(0x3af)](_0x241810);if(_0x145640){const _0x105e16=this[_0x119651(0x47b)]['getPivotTableConfig'](_0x145640==null?void 0x0:_0x145640[_0x119651(0x2be)],_0x145640==null?void 0x0:_0x145640[_0x119651(0x4a1)],_0x241810);_0x105e16&&(this[_0x119651(0x394)](_0x241810,_0x105e16[_0x119651(0x277)],_0x105e16[_0x119651(0x2b6)]),this['triggerDirtyFeature']([{'unitId':_0x145640[_0x119651(0x2be)],'subUnitId':_0x145640['subUnitId'],'token':_0x241810}]));}});});}[_0x4fc62e(0x1ef)](){const _0x3ec918=_0x4fc62e;this[_0x3ec918(0x47b)]['viewData$'][_0x3ec918(0x1b0)](_0x2eef29=>{const {unitId:_0x7880dd,subUnitId:_0x28f90f,pivotTableId:_0xab095}=_0x2eef29;_0x7880dd&&_0x28f90f&&_0xab095&&this['triggerDirtyFeature']([{'unitId':_0x7880dd,'subUnitId':_0x28f90f,'token':_0xab095}]);});}[_0x4fc62e(0x314)](_0x154455){const _0x5315f0=_0x4fc62e,_0x24849b={};_0x154455[_0x5315f0(0x268)](_0x3cf417=>{var _0x2f9e5a,_0x4799cb;const {unitId:_0x220dd0,subUnitId:_0x51c5f2,token:_0x5871e9}=_0x3cf417;_0x24849b[_0x220dd0]=(_0x2f9e5a=_0x24849b[_0x220dd0])!=null?_0x2f9e5a:{},_0x24849b[_0x220dd0][_0x51c5f2]=(_0x4799cb=_0x24849b[_0x220dd0][_0x51c5f2])!=null?_0x4799cb:{},_0x24849b[_0x220dd0][_0x51c5f2][_0x5871e9]=!0x0;}),this['_commandService'][_0x5315f0(0x415)](_0xdc2915['id'],_0x24849b);}[_0x4fc62e(0x1fa)](_0x2273a3,_0x3ebeae,_0x453cdb){const _0x282f31=_0x4fc62e;this[_0x282f31(0x1a7)][_0x282f31(0x3b1)](_0x2273a3,_0x3ebeae,[_0x453cdb]);}[_0x4fc62e(0x394)](_0x4b504c,_0x34a1f8,_0x4548de){const _0x3a7cb0=_0x4fc62e,{unitId:_0x5d05a2,subUnitId:_0x50d920}=_0x34a1f8;this['_featureCalculationManagerService'][_0x3a7cb0(0x380)](_0x4548de[_0x3a7cb0(0x2be)],_0x4548de[_0x3a7cb0(0x4a1)],_0x4b504c)&&this[_0x3a7cb0(0x1fa)](_0x5d05a2,_0x50d920,_0x4b504c);const _0x552a73={'sheetId':_0x50d920,..._0x34a1f8};this[_0x3a7cb0(0x1a7)][_0x3a7cb0(0x22a)](_0x4548de[_0x3a7cb0(0x2be)],_0x4548de[_0x3a7cb0(0x4a1)],_0x4b504c,{'unitId':_0x4548de[_0x3a7cb0(0x2be)],'subUnitId':_0x4548de['subUnitId'],'dependencyRanges':[_0x552a73],'getDirtyData':(_0x1d718f,_0x3d2d5c)=>{const _0x2dc418=_0x3a7cb0,_0x3746e8=this[_0x2dc418(0x47b)],_0x515c22=_0x3746e8[_0x2dc418(0x3af)](_0x4b504c);if(!_0x515c22)return _0x3f8409();const {unitId:_0x413495,subUnitId:_0x3f4045}=_0x515c22,_0x21f74f=_0x3f2274(_0x1d718f,_0x3d2d5c,_0x34a1f8);if(_0x21f74f[_0x2dc418(0x2fd)]>0x0){const _0x42def6=_0x3746e8[_0x2dc418(0x19a)](_0x5d05a2,_0x4b504c),_0x290ba0=_0x42def6[_0x2dc418(0x37e)](),_0x111e08=this['getMatrixFromRunTimeData'](_0x34a1f8[_0x2dc418(0x2be)],_0x34a1f8[_0x2dc418(0x4a1)],_0x3d2d5c),_0x554cd7={},_0xff137f=this[_0x2dc418(0x47b)]['getDataFieldManager'](_0x413495)[_0x2dc418(0x1bf)]()||_0x27cc4c[_0x2dc418(0x2aa)],_0x13003b=[];for(const _0x25c810 of _0x21f74f){const _0x57efe3=_0x25c810-(_0x34a1f8[_0x2dc418(0x1e7)][_0x2dc418(0x3d2)]||0x0),_0x2349fc=_0x290ba0[_0x57efe3];_0x13003b[_0x2dc418(0x458)](_0x2349fc),_0x554cd7[_0x2349fc]=_0x42def6[_0x2dc418(0x19b)](_0x2349fc)[_0x2dc418(0x29b)](),_0x3746e8[_0x2dc418(0x313)](_0x5d05a2)[_0x2dc418(0x3f4)](_0x2349fc,_0x34a1f8,_0x57efe3,_0x111e08);}_0x42def6['getGroupFieldsInfoByIds'](_0x13003b)[_0x2dc418(0x268)](_0x4b7dbb=>{const _0x1152df=_0x2dc418,[_0x310c4e,_0x2a23ea]=_0x4b7dbb,_0x2dad13=_0x42def6[_0x1152df(0x19b)](_0x310c4e),_0x917e4d=_0x42def6['getFieldById'](_0x2a23ea);_0x2dad13&&_0x917e4d&&_0x2dad13[_0x1152df(0x1ca)](_0x917e4d);}),_0x42def6[_0x2dc418(0x1fc)]();const _0x590e37=_0x3746e8[_0x2dc418(0x358)](_0x4b504c);if(_0x590e37){_0x22d567(_0x590e37,_0x554cd7,_0xff137f),_0x590e37[_0x2dc418(0x25d)](!0x0);const _0x56cc5e=_0x590e37[_0x2dc418(0x408)](),_0x4c11bf=_0x3746e8[_0x2dc418(0x492)](_0x413495,_0x3f4045,_0x4b504c),_0x587e3e=_0x3746e8[_0x2dc418(0x313)](_0x5d05a2)[_0x2dc418(0x43a)]();_0x3746e8[_0x2dc418(0x464)](_0x413495,_0x3f4045,_0x5965b8[_0x2dc418(0x30c)],_0x4b504c,_0x56cc5e,_0x4c11bf,_0x587e3e,!0x0);}}return this[_0x2dc418(0x1a5)](_0x413495,_0x3f4045,_0x4b504c);}});}[_0x4fc62e(0x1b1)](_0x4e6104,_0x112b19,_0x3f268f){var _0xd8c990,_0x1bfd50;const {arrayFormulaCellData:_0x4c90d2,unitData:_0x3bf136}=_0x3f268f,_0x47160f=(_0xd8c990=_0x4c90d2==null?void 0x0:_0x4c90d2[_0x4e6104])==null?void 0x0:_0xd8c990[_0x112b19],_0x30d663=(_0x1bfd50=_0x3bf136==null?void 0x0:_0x3bf136[_0x4e6104])==null?void 0x0:_0x1bfd50[_0x112b19];return{'arrayFormulaCellDataMatrix':_0x47160f,'unitDataMatrix':_0x30d663};}['getDirtyInfo'](_0x5cefba,_0x1b8826,_0x36caa2){const _0x1e31a=_0x4fc62e,_0x59838f=this[_0x1e31a(0x47b)]['getViewData'](_0x5cefba,_0x1b8826,_0x36caa2),_0x30117c=[],_0x3688fa=new _0x39685c['ObjectMatrix']();if(_0x59838f){const {rangeCache:_0x4ef30c,matrix:_0x224a3b,oldRangeCache:_0x29ea86,oldMatrix:_0x1a8297}=_0x59838f,_0x225dca=_0x1839d9(_0x29ea86),_0x3ec799=_0x1839d9(_0x4ef30c);_0x30117c[_0x1e31a(0x458)](..._0x3ec799,..._0x225dca),_0x1a8297&&_0x29ea86&&_0x225dca['forEach'](_0x46ad93=>{const _0x516874=_0x1e31a;for(let _0x2c137a=_0x46ad93[_0x516874(0x43c)];_0x2c137a<=_0x46ad93['endRow'];_0x2c137a++)for(let _0x6efe45=_0x46ad93[_0x516874(0x3d2)];_0x6efe45<=_0x46ad93[_0x516874(0x25c)];_0x6efe45++)_0x3688fa[_0x516874(0x36b)](_0x2c137a,_0x6efe45);}),_0x224a3b&&_0x3ec799&&_0x3ec799[_0x1e31a(0x268)](_0x1abda7=>{const _0x451fa2=_0x1e31a;for(let _0x2ea677=_0x1abda7[_0x451fa2(0x43c)];_0x2ea677<=_0x1abda7[_0x451fa2(0x484)];_0x2ea677++)for(let _0x465441=_0x1abda7['startColumn'];_0x465441<=_0x1abda7[_0x451fa2(0x25c)];_0x465441++)_0x3688fa['setValue'](_0x2ea677,_0x465441,_0x224a3b[_0x451fa2(0x2c1)](_0x2ea677,_0x465441));});}const _0x22b549={};return _0x22b549[_0x5cefba]={[_0x1b8826]:_0x3452d1(_0x30117c)},{'runtimeCellData':{[_0x5cefba]:{[_0x1b8826]:_0x3688fa}},'dirtyRanges':_0x22b549};}[_0x4fc62e(0x224)](){}};_0x594aa2=_0x41a55a([_0x14490d(0x0,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x19c)])),_0x14490d(0x1,_0x39685c[_0x4fc62e(0x2e3)]),_0x14490d(0x2,_0x39685c[_0x4fc62e(0x261)](_0x3e3aa9['IFeatureCalculationManagerService'])),_0x14490d(0x3,_0x39685c['Inject'](_0x39685c[_0x4fc62e(0x357)])),_0x14490d(0x4,_0x39685c[_0x4fc62e(0x261)](_0x3e3aa9[_0x4fc62e(0x258)])),_0x14490d(0x5,_0x39685c['Inject'](_0x39685c[_0x4fc62e(0x23b)]))],_0x594aa2);var _0x20028e=Object[_0x4fc62e(0x4ab)],_0x4ec891=(_0x1cb171,_0x404921,_0x4c43d3,_0x32bd8c)=>{const _0x3cf85b=_0x4fc62e;for(var _0x5cf571=_0x32bd8c>0x1?void 0x0:_0x32bd8c?_0x20028e(_0x404921,_0x4c43d3):_0x404921,_0x40eaba=_0x1cb171[_0x3cf85b(0x2fd)]-0x1,_0x151a32;_0x40eaba>=0x0;_0x40eaba--)(_0x151a32=_0x1cb171[_0x40eaba])&&(_0x5cf571=_0x151a32(_0x5cf571)||_0x5cf571);return _0x5cf571;},_0x8c9ab4=(_0x47c9a4,_0x3f4868)=>(_0x5c8aac,_0x5cd0df)=>_0x3f4868(_0x5c8aac,_0x5cd0df,_0x47c9a4);let _0x4308a9=class extends _0x39685c['Disposable']{constructor(_0x765018,_0x4c41d6,_0x4edaa7,_0x59d654){const _0x4552c3=_0x4fc62e;super(),_0x46647d(this,'disposableCollection',new _0x39685c[(_0x4552c3(0x274))]()),(this['_univerInstanceService']=_0x765018,this[_0x4552c3(0x21d)]=_0x4c41d6,this[_0x4552c3(0x2fb)]=_0x4edaa7,this[_0x4552c3(0x1a8)]=_0x59d654,this[_0x4552c3(0x363)]());}[_0x4fc62e(0x363)](){const _0x103c51=_0x4fc62e;this[_0x103c51(0x409)](this[_0x103c51(0x21d)]['interceptCommand']({'getMutations':_0x463a5c=>{const _0x5491f3=_0x103c51;if(_0x463a5c['id']===_0x3f53bd[_0x5491f3(0x2cb)]['id']||_0x463a5c['id']===_0x3f53bd[_0x5491f3(0x37a)]['id']){const _0x256fa0=[],_0xf8fb08=[],_0x508fd7=this[_0x5491f3(0x2fb)][_0x5491f3(0x3b6)]()['map'](_0x3bffc4=>_0x3bffc4[_0x5491f3(0x1e7)]),_0x3e69d4=_0x3f53bd[_0x5491f3(0x1f9)](this[_0x5491f3(0x1bc)]);if(!_0x3e69d4)return{'redos':[],'undos':[]};const {unitId:_0x502fa7,subUnitId:_0x15677f}=_0x3e69d4,_0x40cfd0={},_0x47f6ee=this['_sheetsPivotTableConfigModel'][_0x5491f3(0x450)](_0x502fa7,_0x15677f);if(_0x47f6ee!=null&&_0x47f6ee[_0x5491f3(0x321)])for(const [_0x4eff7d,_0x1a7f10]of _0x47f6ee){const {unitId:_0x4a66d1,subUnitId:_0x21e897,row:_0x2d5876,col:_0x3ccfb2}=_0x1a7f10[_0x5491f3(0x2b6)];_0x4a66d1===_0x3e69d4[_0x5491f3(0x2be)]&&_0x21e897===_0x3e69d4[_0x5491f3(0x4a1)]&&(_0x40cfd0[_0x2d5876+'-'+_0x3ccfb2]=_0x4eff7d);}return _0x508fd7&&_0x3e69d4&&_0x508fd7['forEach'](_0x23b6f4=>{const _0x3782af=_0x5491f3;_0x39685c['Range'][_0x3782af(0x39b)](_0x23b6f4,(_0x10c67b,_0x39aa70)=>{const _0x51af87=_0x3782af,_0x5dbb3b=_0x10c67b+'-'+_0x39aa70;if(_0x40cfd0[_0x5dbb3b]){const _0x7b2ab=_0x40cfd0[_0x5dbb3b];_0x256fa0[_0x51af87(0x458)]({'id':_0x58e35f['id'],'params':{'unitId':_0x502fa7,'subUnitId':_0x15677f,'pivotTableId':_0x7b2ab}});const _0x5e9b13=this['_sheetsPivotTableConfigModel']['getCollection'](_0x502fa7,_0x7b2ab),_0x58b91e=this['_sheetsPivotTableConfigModel'][_0x51af87(0x492)](_0x502fa7,_0x15677f,_0x7b2ab);_0xf8fb08[_0x51af87(0x458)]({'id':_0x510f9b['id'],'params':{'unitId':_0x502fa7,'subUnitId':_0x15677f,'pivotTableId':_0x7b2ab,'pivotTableConfig':_0x58b91e,'collectionConfig':_0x5e9b13}});}});}),{'redos':_0x256fa0,'undos':_0xf8fb08};}return{'redos':[],'undos':[]};}}));}};_0x4308a9=_0x4ec891([_0x8c9ab4(0x0,_0x39685c[_0x4fc62e(0x21f)]),_0x8c9ab4(0x1,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x452)])),_0x8c9ab4(0x2,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x480)])),_0x8c9ab4(0x3,_0x39685c['Inject'](_0xb1f452[_0x4fc62e(0x3cc)]))],_0x4308a9);var _0x4efecf=Object[_0x4fc62e(0x4ab)],_0x41bb38=(_0x25ed71,_0x502160,_0x5647ae,_0x2ac942)=>{const _0x1b9741=_0x4fc62e;for(var _0x54e66b=_0x2ac942>0x1?void 0x0:_0x2ac942?_0x4efecf(_0x502160,_0x5647ae):_0x502160,_0x4edd8d=_0x25ed71[_0x1b9741(0x2fd)]-0x1,_0x179d03;_0x4edd8d>=0x0;_0x4edd8d--)(_0x179d03=_0x25ed71[_0x4edd8d])&&(_0x54e66b=_0x179d03(_0x54e66b)||_0x54e66b);return _0x54e66b;},_0x208a86=(_0x262527,_0x4dd9ff)=>(_0x286867,_0x44bb85)=>_0x4dd9ff(_0x286867,_0x44bb85,_0x262527);let _0x4fe280=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x53f0ca,_0x6d8b27,_0x5116b8,_0x187902,_0x49f7ba,_0x2a5daf){const _0x33942d=_0x4fc62e;super(),this[_0x33942d(0x347)]=_0x53f0ca,this[_0x33942d(0x21d)]=_0x6d8b27,this[_0x33942d(0x3a6)]=_0x5116b8,this['_univerInstanceService']=_0x187902,this[_0x33942d(0x1a8)]=_0x49f7ba,this[_0x33942d(0x213)]=_0x2a5daf,this[_0x33942d(0x2ee)]();}['_getPivotAppliedRanges'](_0x36d6ff,_0x2331d4,_0x5a96f6){const _0x4318ad=_0x4fc62e,{pageView:_0x21ec48,cornerView:_0x15a23f,rowView:_0x13775a,colView:_0x393dc2,dataView:_0x33a460}=_0x2331d4,_0x29c29c=_0x36d6ff;let _0x2e2629;if(_0x5a96f6)_0x2e2629=[..._0x47aa70(_0x29c29c)];else{const _0x3e64e6=_0x1760c9(_0x29c29c,_0x21ec48,!0x0),_0x4d9bea=_0x21ec48['lastRow']>=0x0?_0x21ec48[_0x4318ad(0x2f3)]+0x1:0x0,_0x4cf1ae=_0x15a23f[_0x4318ad(0x250)],_0x16b80f=_0x15a23f[_0x4318ad(0x3fe)],_0x2e112a=_0x3e64e6[_0x4318ad(0x2fd)]>0x0?_0x2b3c45:0x0,_0x21c375=_0x1760c9({'row':_0x29c29c['row']+_0x4d9bea+_0x2e112a,'col':_0x29c29c['col']},_0x15a23f,!0x1,!0x1),_0x483bfb=_0x1760c9({'row':_0x29c29c[_0x4318ad(0x466)]+_0x4d9bea+_0x2e112a+_0x4cf1ae,'col':_0x29c29c['col']},_0x13775a,!0x1,!0x0),_0x223415=_0x1760c9({'row':_0x29c29c[_0x4318ad(0x466)]+_0x4d9bea+_0x2e112a,'col':_0x29c29c[_0x4318ad(0x1a1)]+_0x16b80f},_0x393dc2,!0x1,!0x0),_0x3052f8=_0x1760c9({'row':_0x29c29c[_0x4318ad(0x466)]+_0x4d9bea+_0x2e112a+_0x4cf1ae,'col':_0x29c29c['col']+_0x16b80f},_0x33a460,!0x1,!0x0);_0x2e2629=[..._0x3e64e6,..._0x21c375,..._0x483bfb,..._0x223415,..._0x3052f8];}return _0x2e2629;}[_0x4fc62e(0x2ee)](){const _0x2c125a=_0x4fc62e;this[_0x2c125a(0x409)](this['_sheetsPivotTableService'][_0x2c125a(0x1f6)][_0x2c125a(0x1aa)](this[_0x2c125a(0x213)][_0x2c125a(0x1f6)][_0x2c125a(0x1e6)]()[_0x2c125a(0x1f0)],{'handler':(_0x1ff098,_0x464a52)=>{const _0x46d828=_0x2c125a,{cellInfo:_0x5a47cf,view:_0x3d22d6,isEmpty:_0x22ea88}=_0x464a52,_0x32af7c=_0x5a47cf,{unitId:_0x4283ad,subUnitId:_0x5ce2e0}=_0x32af7c,_0x269bbc=this[_0x46d828(0x1ac)](_0x5a47cf,_0x3d22d6,_0x22ea88),_0x5d5bfd=this[_0x46d828(0x21d)][_0x46d828(0x1be)]({'unitId':_0x4283ad,'subUnitId':_0x5ce2e0,'ranges':_0x269bbc}),_0xb77a8e=_0x2a7192(this[_0x46d828(0x3a6)],_0x4283ad,_0x5ce2e0,_0x269bbc);_0xb77a8e[_0x46d828(0x422)]&&(_0x5d5bfd['redos'][_0x46d828(0x458)](_0xb77a8e[_0x46d828(0x2cc)]),_0x5d5bfd[_0x46d828(0x499)][_0x46d828(0x458)](_0xb77a8e[_0x46d828(0x494)]));const _0x573937=this['getAutoFitColumnsMutations'](_0x3d22d6,_0x5a47cf);return _0x5d5bfd[_0x46d828(0x24b)][_0x46d828(0x458)](..._0x573937[_0x46d828(0x24b)]),_0x5d5bfd[_0x46d828(0x499)]['push'](..._0x573937[_0x46d828(0x499)]),{'redos':_0x5d5bfd['redos'],'undos':_0x5d5bfd[_0x46d828(0x499)]};}}));}['getAutoFitColumnsMutations'](_0x44cdf6,_0x5a54e3){const _0x3de5d7=_0x4fc62e,{col:_0x3893f5,unitId:_0x342319,subUnitId:_0x46eb70}=_0x5a54e3,_0xbfb9ec=[],_0x5d29f8=[],_0x12097e=_0x3f53bd[_0x3de5d7(0x1f9)](this[_0x3de5d7(0x1bc)],{'unitId':_0x342319,'subUnitId':_0x46eb70});if(!_0x5a54e3||!_0x44cdf6||!_0x12097e)return{'undos':_0x5d29f8,'redos':_0xbfb9ec};const _0x357d38=this[_0x3de5d7(0x1a8)][_0x3de5d7(0x1c2)](),{colView:_0x2042d9,dataView:_0x2bfe09,cornerView:_0x4f99d3,rowView:_0x148ac3,formatMap:_0x919bf3}=_0x44cdf6,_0x44eb17=_0xdb61f4(_0x2042d9,_0x357d38,!0x0,_0x919bf3),_0x54b64f=_0xdb61f4(_0x148ac3,_0x357d38,!0x1,_0x919bf3),_0xf834f7=_0x83dc78(_0x2bfe09),_0x118e37=_0x4f1af6(_0x4f99d3),{worksheet:_0x4a6d20}=_0x12097e;if(typeof window<'u'&&window[_0x3de5d7(0x43d)]){const _0x2af371=_0x280f1b['getFontStyleString']({..._0x4bd5fb[_0x3de5d7(0x2c9)]}),_0x54609b=_0x280f1b[_0x3de5d7(0x457)][_0x3de5d7(0x1c3)](_0x44eb17,_0x2af371)[_0x3de5d7(0x46d)]+0x10,_0x4f9c34=_0x280f1b[_0x3de5d7(0x457)][_0x3de5d7(0x1c3)](_0xf834f7,_0x2af371)['width'],_0x3054a2=Math['floor'](Math[_0x3de5d7(0x2ac)](_0x54609b,_0x4f9c34))+0x10,_0x1d36d3=Math[_0x3de5d7(0x489)](_0x280f1b['FontCache'][_0x3de5d7(0x1c3)](_0x54b64f,_0x2af371)['width']),_0x51cd4f=Math[_0x3de5d7(0x489)](_0x280f1b[_0x3de5d7(0x457)][_0x3de5d7(0x1c3)](_0x118e37,_0x2af371)['width']),_0x571dac=Math[_0x3de5d7(0x2ac)](_0x1d36d3,_0x51cd4f,0x28)+0xc,_0x23392b=_0x2042d9[_0x3de5d7(0x3fe)]+_0x4f99d3[_0x3de5d7(0x3fe)],_0x4ed8d7={},_0x289514={};for(let _0x51d3cc=_0x3893f5;_0x51d3cc<_0x3893f5+_0x23392b;_0x51d3cc++){const _0x327c54=_0x4a6d20[_0x3de5d7(0x447)](_0x51d3cc);_0x4ed8d7[_0x51d3cc]=_0x327c54,_0x51d3cc-_0x3893f5<_0x4f99d3['colCount']?_0x289514[_0x51d3cc-_0x3893f5]=_0x571dac:_0x289514[_0x51d3cc-_0x3893f5]=_0x3054a2;}_0xbfb9ec[_0x3de5d7(0x458)]({'id':_0x3f53bd['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x46eb70,'unitId':_0x342319,'ranges':[{'startColumn':_0x3893f5,'endColumn':_0x3893f5+_0x23392b-0x1,'startRow':0x0,'endRow':_0x4a6d20[_0x3de5d7(0x3c8)]()-0x1}],'colWidth':_0x289514}}),_0x5d29f8['push']({'id':_0x3f53bd[_0x3de5d7(0x22f)]['id'],'params':{'subUnitId':_0x46eb70,'unitId':_0x342319,'ranges':[{'startColumn':_0x3893f5,'endColumn':_0x3893f5+_0x23392b-0x1,'startRow':0x0,'endRow':_0x4a6d20[_0x3de5d7(0x3c8)]()-0x1}],'colWidth':_0x4ed8d7}});}return{'undos':_0x5d29f8,'redos':_0xbfb9ec};}};_0x4fe280=_0x41bb38([_0x208a86(0x0,_0x39685c['Inject'](_0x39685c[_0x4fc62e(0x3b5)])),_0x208a86(0x1,_0x39685c['Inject'](_0x3f53bd[_0x4fc62e(0x452)])),_0x208a86(0x2,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x208a86(0x3,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x21f)])),_0x208a86(0x4,_0x39685c[_0x4fc62e(0x261)](_0xb1f452['SheetsPivotTableConfigModel'])),_0x208a86(0x5,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x1d7)]))],_0x4fe280);var _0x9588a5=Object[_0x4fc62e(0x4ab)],_0x3e1066=(_0x3497f4,_0x3df8c9,_0x30a44c,_0x1189c3)=>{const _0x13724f=_0x4fc62e;for(var _0x13a198=_0x1189c3>0x1?void 0x0:_0x1189c3?_0x9588a5(_0x3df8c9,_0x30a44c):_0x3df8c9,_0x18c149=_0x3497f4[_0x13724f(0x2fd)]-0x1,_0x31090e;_0x18c149>=0x0;_0x18c149--)(_0x31090e=_0x3497f4[_0x18c149])&&(_0x13a198=_0x31090e(_0x13a198)||_0x13a198);return _0x13a198;},_0x1046e8=(_0x228a80,_0x24279a)=>(_0x143345,_0x19b94f)=>_0x24279a(_0x143345,_0x19b94f,_0x228a80);let _0x3f7c30=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x1e1399,_0x5adeb4,_0x3bcd20,_0x41fe38,_0x11e872,_0x46929b,_0x19350e){const _0x4d2474=_0x4fc62e;super(),_0x46647d(this,_0x4d2474(0x1ed),new _0x39685c[(_0x4d2474(0x274))]()),(this[_0x4d2474(0x3a6)]=_0x1e1399,this[_0x4d2474(0x3a5)]=_0x5adeb4,this['_commandService']=_0x3bcd20,this[_0x4d2474(0x1bc)]=_0x41fe38,this[_0x4d2474(0x1a8)]=_0x11e872,this[_0x4d2474(0x41e)]=_0x46929b,this[_0x4d2474(0x21d)]=_0x19350e,this[_0x4d2474(0x1c1)]());}['_onRefRangeChange'](){const _0x4b23a6=_0x4fc62e,_0x2e6ecb=(_0x43fe84,_0x53d4e1)=>{const _0x2edca0=_0x1629,_0x112075=this[_0x2edca0(0x1bc)][_0x2edca0(0x33a)](_0x39685c['UniverInstanceType']['UNIVER_SHEET']);if(!_0x112075||!(_0x112075==null?void 0x0:_0x112075['getSheetBySheetId'](_0x53d4e1)))return;this['disposableCollection']['dispose']();const _0x35c097=_0x13f951=>this['_refRangeHandle'](_0x13f951,_0x43fe84,_0x53d4e1),_0xd49ff3=this['_sheetsPivotTableConfigModel'][_0x2edca0(0x450)](_0x43fe84,_0x53d4e1);if(!(_0xd49ff3!=null&&_0xd49ff3['size']))return;Array[_0x2edca0(0x4a5)](_0xd49ff3['values']())['map'](_0x36f0d3=>{const _0x30721a=_0x2edca0,{row:_0x1f0d24,col:_0x48b444}=_0x36f0d3[_0x30721a(0x2b6)];return _0x39685c['cellToRange'](_0x1f0d24,_0x48b444);})['forEach'](_0x5cafea=>{const _0x64bc8f=_0x2edca0;this[_0x64bc8f(0x1ed)]['add'](this['_refRangeService'][_0x64bc8f(0x35a)](_0x5cafea,_0x35c097,_0x43fe84,_0x53d4e1));});},_0x44a50d=()=>{const _0x2f5860=_0x1629,_0x487a79=this[_0x2f5860(0x1bc)][_0x2f5860(0x33a)](_0x39685c[_0x2f5860(0x23f)][_0x2f5860(0x384)]);if(_0x487a79){const _0x23f412=_0x487a79[_0x2f5860(0x49f)]();if(!_0x23f412)return;_0x2e6ecb(_0x487a79[_0x2f5860(0x435)](),_0x23f412['getSheetId']());}};this[_0x4b23a6(0x409)](this['_commandService'][_0x4b23a6(0x356)](_0x3acdae=>{const _0x398c1e=_0x4b23a6;if(_0x3acdae['id']===_0x3f53bd[_0x398c1e(0x28f)]['id']){const _0x876d3c=_0x3acdae['params'],_0x5b3193=_0x876d3c[_0x398c1e(0x4a1)],_0x2ec971=_0x876d3c[_0x398c1e(0x2be)];if(!_0x5b3193||!_0x2ec971)return;_0x2e6ecb(_0x2ec971,_0x5b3193);}})),this[_0x4b23a6(0x409)](this[_0x4b23a6(0x1a8)]['pivotInitCompleted$'][_0x4b23a6(0x1b0)](_0x5edb84=>{_0x5edb84&&_0x44a50d();})),this[_0x4b23a6(0x409)](this['_sheetsPivotTableConfigModel'][_0x4b23a6(0x403)][_0x4b23a6(0x1b0)](_0x37349c=>{const _0x37b1e3=_0x4b23a6,_0x47f67c=_0x3f53bd[_0x37b1e3(0x1f9)](this[_0x37b1e3(0x1bc)]);if(!_0x47f67c)return;const {unitId:_0x213b91,subUnitId:_0x59fd56}=_0x47f67c,{unitId:_0x1fe6f0,subUnitId:_0x568570}=_0x37349c;_0x213b91!==_0x1fe6f0||_0x59fd56!==_0x568570||_0x2e6ecb(_0x213b91,_0x59fd56);})),_0x44a50d();}[_0x4fc62e(0x32c)](_0x43a6bc,_0x5058a5,_0x3dac52){const _0x30d497=_0x4fc62e;switch(_0x43a6bc['id']){case _0x3f53bd['MoveRangeCommand']['id']:return this[_0x30d497(0x29d)](_0x43a6bc[_0x30d497(0x229)],_0x5058a5,_0x3dac52);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x247435,_0x12054d,_0x13d71b){const _0x18a35b=_0x4fc62e,{fromRange:_0xb6e9c2,toRange:_0xa13b55}=_0x247435,_0x559532=[],_0x5f09a7=[],_0x3c58ee=_0x3f53bd[_0x18a35b(0x1f9)](this[_0x18a35b(0x1bc)]);if(!_0x3c58ee)return{'undos':_0x5f09a7,'redos':_0x559532};if(_0x12054d!==_0x3c58ee[_0x18a35b(0x2be)]||_0x13d71b!==_0x3c58ee['subUnitId'])return{'undos':_0x5f09a7,'redos':_0x559532};const _0x3bfa95=this[_0x18a35b(0x1a8)][_0x18a35b(0x450)](_0x12054d,_0x13d71b);if(_0x3bfa95!=null&&_0x3bfa95[_0x18a35b(0x321)])for(const [_0x23b139,_0x11899b]of _0x3bfa95){const {unitId:_0x7f7dfc,subUnitId:_0x1a9982,row:_0x429bdf,col:_0x547fb6}=_0x11899b[_0x18a35b(0x2b6)];if(_0x7f7dfc===_0x3c58ee[_0x18a35b(0x2be)]&&_0x1a9982===_0x3c58ee[_0x18a35b(0x4a1)]){const _0x11a3c4=_0x39685c[_0x18a35b(0x237)](_0x429bdf,_0x547fb6);if(_0x39685c[_0x18a35b(0x3d6)][_0x18a35b(0x1da)](_0x11a3c4,_0xb6e9c2)){const _0x3bed81=_0x429bdf-_0xb6e9c2[_0x18a35b(0x43c)],_0x1c6a31=_0x547fb6-_0xb6e9c2[_0x18a35b(0x3d2)],_0x451cba={'row':_0xa13b55['startRow']+_0x3bed81,'col':_0xa13b55['startColumn']+_0x1c6a31};_0x559532['push']({'id':_0x4071d4['id'],'params':{'unitId':_0x7f7dfc,'subUnitId':_0x1a9982,'pivotTableId':_0x23b139,'targetCellPosition':_0x451cba}}),_0x5f09a7[_0x18a35b(0x458)]({'id':_0x4071d4['id'],'params':{'unitId':_0x7f7dfc,'subUnitId':_0x1a9982,'pivotTableId':_0x23b139,'targetCellPosition':{'row':_0x429bdf,'col':_0x547fb6}}});const _0x434c36=_0x451cba[_0x18a35b(0x466)]-_0x429bdf,_0x1a429c=_0x451cba[_0x18a35b(0x1a1)]-_0x547fb6,_0x4fa502=[],_0xa2e012=this['_sheetsPivotTableAdaptorModel'][_0x18a35b(0x368)](_0x7f7dfc,_0x1a9982,_0x23b139),_0x322161=_0xa2e012==null?void 0x0:_0xa2e012['rangesInfo'];if(_0x322161){Object[_0x18a35b(0x315)](_0x322161)['forEach'](_0x58472e=>{_0x322161[_0x58472e]['forEach'](_0x2e38e1=>{const _0x50e244=_0x1629,_0x423b36={..._0x2e38e1};_0x423b36[_0x50e244(0x43c)]=_0x2e38e1['startRow']+_0x434c36,_0x423b36[_0x50e244(0x484)]=_0x2e38e1[_0x50e244(0x484)]+_0x434c36,_0x423b36['startColumn']=_0x2e38e1[_0x50e244(0x3d2)]+_0x1a429c,_0x423b36[_0x50e244(0x25c)]=_0x2e38e1[_0x50e244(0x25c)]+_0x1a429c,_0x4fa502['push'](_0x423b36);});});const _0x134af3=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x7f7dfc,'subUnitId':_0x1a9982,'ranges':_0x4fa502});_0x559532[_0x18a35b(0x458)](..._0x134af3[_0x18a35b(0x24b)]),_0x5f09a7[_0x18a35b(0x458)](..._0x134af3[_0x18a35b(0x499)]);const _0x5f1cee=_0x2a7192(this['_injector'],_0x7f7dfc,_0x1a9982,_0x4fa502);_0x5f1cee[_0x18a35b(0x422)]&&(_0x559532[_0x18a35b(0x458)](_0x5f1cee[_0x18a35b(0x2cc)]),_0x5f09a7['push'](_0x5f1cee[_0x18a35b(0x494)]));}}}}return{'redos':_0x559532,'undos':_0x5f09a7};}};_0x3f7c30=_0x3e1066([_0x1046e8(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x1046e8(0x1,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x1e3)])),_0x1046e8(0x2,_0x39685c[_0x4fc62e(0x357)]),_0x1046e8(0x3,_0x39685c[_0x4fc62e(0x21f)]),_0x1046e8(0x4,_0x39685c[_0x4fc62e(0x261)](_0xb1f452['SheetsPivotTableConfigModel'])),_0x1046e8(0x5,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x284)])),_0x1046e8(0x6,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x452)]))],_0x3f7c30);var _0x280b78=Object['getOwnPropertyDescriptor'],_0x29c24f=(_0x45518b,_0x4aaa7f,_0x52dc74,_0xcee2b)=>{const _0x45d552=_0x4fc62e;for(var _0x2eec17=_0xcee2b>0x1?void 0x0:_0xcee2b?_0x280b78(_0x4aaa7f,_0x52dc74):_0x4aaa7f,_0x11cf33=_0x45518b[_0x45d552(0x2fd)]-0x1,_0x410c47;_0x11cf33>=0x0;_0x11cf33--)(_0x410c47=_0x45518b[_0x11cf33])&&(_0x2eec17=_0x410c47(_0x2eec17)||_0x2eec17);return _0x2eec17;},_0x54f674=(_0x4a7962,_0x1c349b)=>(_0x2e5402,_0x2bb35d)=>_0x1c349b(_0x2e5402,_0x2bb35d,_0x4a7962);let _0x3ef610=class extends _0x39685c['Disposable']{constructor(_0x5a21a7,_0x5633d2){const _0xc9f2be=_0x4fc62e;super(),this['_sheetInterceptorService']=_0x5a21a7,this[_0xc9f2be(0x1a8)]=_0x5633d2,this['_initRemoveSheetCommandInterceptor']();}[_0x4fc62e(0x252)](){const _0x4e99a7=_0x4fc62e;this[_0x4e99a7(0x409)](this[_0x4e99a7(0x21d)]['interceptCommand']({'getMutations':_0x5c680a=>{const _0x79e812=_0x4e99a7;if(_0x5c680a['id']===_0x3f53bd[_0x79e812(0x1e0)]['id']){const _0x473b3f=[],_0x566a9f=[],_0x5ca65b=_0x5c680a[_0x79e812(0x229)],{unitId:_0x3d25d0,subUnitId:_0x562a10}=_0x5ca65b;if(!_0x3d25d0||!_0x562a10)return{'undos':_0x566a9f,'redos':_0x473b3f};const _0x18ae0c=this[_0x79e812(0x1a8)][_0x79e812(0x450)](_0x3d25d0,_0x562a10);if(_0x18ae0c!=null&&_0x18ae0c[_0x79e812(0x321)])for(const [_0xf23554,_0x1883c6]of _0x18ae0c){_0x473b3f[_0x79e812(0x458)]({'id':_0x58e35f['id'],'params':{'unitId':_0x3d25d0,'subUnitId':_0x562a10,'pivotTableId':_0xf23554}});const _0x13b091={...this[_0x79e812(0x1a8)][_0x79e812(0x19a)](_0x3d25d0,_0xf23554)};_0x566a9f[_0x79e812(0x458)]({'id':_0x510f9b['id'],'params':{'unitId':_0x3d25d0,'subUnitId':_0x562a10,'pivotTableId':_0xf23554,'pivotTableConfig':_0x1883c6,'collectionConfig':_0x13b091}});}return{'redos':_0x473b3f,'undos':_0x566a9f};}return{'redos':[],'undos':[]};}}));}};_0x3ef610=_0x29c24f([_0x54f674(0x0,_0x39685c[_0x4fc62e(0x261)](_0x3f53bd[_0x4fc62e(0x452)])),_0x54f674(0x1,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x3cc)]))],_0x3ef610);var _0x2f044b=Object[_0x4fc62e(0x4ab)],_0x2ce49a=(_0x5cefe5,_0x479a90,_0x81e448,_0x877b1a)=>{const _0x4af5bf=_0x4fc62e;for(var _0x33d546=_0x877b1a>0x1?void 0x0:_0x877b1a?_0x2f044b(_0x479a90,_0x81e448):_0x479a90,_0x56c0c2=_0x5cefe5[_0x4af5bf(0x2fd)]-0x1,_0x1c547f;_0x56c0c2>=0x0;_0x56c0c2--)(_0x1c547f=_0x5cefe5[_0x56c0c2])&&(_0x33d546=_0x1c547f(_0x33d546)||_0x33d546);return _0x33d546;},_0x4eec2d=(_0x4d20c,_0x51e1f5)=>(_0x282448,_0x4f7a3c)=>_0x51e1f5(_0x282448,_0x4f7a3c,_0x4d20c);let _0x130214=class extends _0x39685c[_0x4fc62e(0x2a5)]{constructor(_0x34809b,_0x4c69a9,_0x2e5ca8,_0x2c95af,_0x1095a9,_0x3e726e){const _0x59df5c=_0x4fc62e;super(),this[_0x59df5c(0x39a)]=_0x34809b,this[_0x59df5c(0x45d)]=_0x4c69a9,this[_0x59df5c(0x41e)]=_0x2e5ca8,this[_0x59df5c(0x1a8)]=_0x2c95af,this[_0x59df5c(0x1bc)]=_0x1095a9,this[_0x59df5c(0x197)]=_0x3e726e,this['_initDataSendListener'](),this[_0x59df5c(0x2c3)]();}[_0x4fc62e(0x28d)](){const _0x4d2e80=_0x4fc62e;this[_0x4d2e80(0x409)](this['_commandService'][_0x4d2e80(0x356)](_0x408501=>{const _0x889913=_0x4d2e80;if(_0x408501['id']!==_0x251b50['id'])return;const _0x381665=_0x408501['params'];this[_0x889913(0x45d)]['handleAsyncResponse'](_0x381665);})),this[_0x4d2e80(0x409)](this[_0x4d2e80(0x39a)][_0x4d2e80(0x356)](_0x2e6e65=>{const _0x2fd387=_0x4d2e80;if(_0x2e6e65['id']===_0xe5634c['id']){const _0x3262c5=_0x2e6e65[_0x2fd387(0x229)];if(_0x3262c5){const {unitId:_0x4a04f2,subUnitId:_0x5b1bc8,oldSubUnitId:_0x4febf1,pivotTableId:_0x4e74de,pivotTableConfig:_0x5325d9,collectionConfig:_0x49ce6c}=_0x3262c5;this['_sheetsPivotTableConfigModel'][_0x2fd387(0x36e)](_0x4a04f2,_0x4febf1,_0x3262c5[_0x2fd387(0x31d)],null),this[_0x2fd387(0x1a8)]['updateConfigCache'](_0x4a04f2,_0x5b1bc8,_0x4e74de,_0x5325d9),this[_0x2fd387(0x1a8)]['updateCollectionConfig'](_0x4a04f2,_0x49ce6c);}}})),this[_0x4d2e80(0x409)](this[_0x4d2e80(0x39a)][_0x4d2e80(0x356)](_0xd5d4d7=>{const _0x24707f=_0x4d2e80;if(_0xd5d4d7['id']!==_0x3552c1['id'])return;const _0x508311=_0x3f53bd[_0x24707f(0x1f9)](this[_0x24707f(0x1bc)]);if(!_0x508311)return;const {unitId:_0x39f89f,subUnitId:_0x2cf776}=_0x508311,_0x3c1116=_0xd5d4d7[_0x24707f(0x229)];if(_0x3c1116[_0x24707f(0x28a)]&&Object[_0x24707f(0x315)](_0x3c1116[_0x24707f(0x28a)])[_0x24707f(0x268)](_0x1db522=>{const _0x519121=_0x24707f;var _0x1fc1a6;(_0x1fc1a6=_0x3c1116[_0x519121(0x28a)])!=null&&_0x1fc1a6[_0x1db522]&&this[_0x519121(0x1a8)][_0x519121(0x350)](_0x1db522,_0x3c1116[_0x519121(0x28a)][_0x1db522]);}),_0x3c1116[_0x24707f(0x478)]){const _0x59aba8=_0x3c1116[_0x24707f(0x478)],{unitId:_0x2ff3a6,subUnitId:_0x101fec,view:_0x4be812,pivotTableId:_0x9b8374,type:_0xfc59c1,pivotConfig:_0x2c5f58}=_0x59aba8;if(_0xfc59c1===_0x5965b8['Delete'])this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x2ff3a6,'subUnitId':_0x101fec,'pivotTableId':_0x9b8374,'type':_0xfc59c1}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x2ff3a6,_0x101fec,_0x9b8374,null);else{const _0x172782=new _0x27cc4c[(_0x24707f(0x198))]();_0x172782[_0x24707f(0x41b)](_0x4be812),this[_0x24707f(0x1a8)]['updateConfigCache'](_0x2ff3a6,_0x101fec,_0x9b8374,_0x2c5f58),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x2ff3a6,'subUnitId':_0x101fec,'pivotTableId':_0x9b8374,'type':_0xfc59c1,'view':_0x172782}),this[_0x24707f(0x41e)]['updateRenderCache']({'unitId':_0x2ff3a6,'subUnitId':_0x101fec,'view':_0x172782,'pivotTableId':_0x9b8374,'type':_0xfc59c1});}}else _0x3c1116[_0x24707f(0x2d2)]&&(_0x3c1116[_0x24707f(0x2d2)]['forEach'](_0x42cc18=>{const _0x2fd639=_0x24707f,{unitId:_0x31c156,subUnitId:_0x3ec317,view:_0xe3bfa1,pivotTableId:_0x2f6872,type:_0x100e54,pivotConfig:_0x5353fe}=_0x42cc18,_0x34aba6=new _0x27cc4c[(_0x2fd639(0x198))]();_0x34aba6['formJSON'](_0xe3bfa1),this[_0x2fd639(0x1a8)][_0x2fd639(0x36e)](_0x31c156,_0x3ec317,_0x2f6872,_0x5353fe),this[_0x2fd639(0x41e)][_0x2fd639(0x1ec)]({'unitId':_0x31c156,'subUnitId':_0x3ec317,'view':_0x34aba6,'pivotTableId':_0x2f6872,'type':_0x100e54});}),this[_0x24707f(0x1a8)]['setPivotInitCompleted']());this[_0x24707f(0x41e)]['markDirty'](_0x39f89f,_0x2cf776);}));}['registerDirtyService'](){const _0x3860c4=_0x4fc62e;this[_0x3860c4(0x197)][_0x3860c4(0x22a)](_0xdc2915['id'],{'commandId':_0xdc2915['id'],'getDirtyData'(_0x3511fc){const _0x5b926f=_0x3860c4;return{'dirtyUnitFeatureMap':_0x3511fc[_0x5b926f(0x229)]};}});}};_0x130214=_0x2ce49a([_0x4eec2d(0x0,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x357)])),_0x4eec2d(0x1,_0x39685c[_0x4fc62e(0x261)](_0xb1f452[_0x4fc62e(0x360)])),_0x4eec2d(0x2,_0x39685c['Inject'](_0xb1f452['SheetsPivotTableAdaptorModel'])),_0x4eec2d(0x3,_0x39685c[_0x4fc62e(0x261)](_0xb1f452['SheetsPivotTableConfigModel'])),_0x4eec2d(0x4,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x21f)])),_0x4eec2d(0x5,_0x3e3aa9[_0x4fc62e(0x2fa)])],_0x130214);var _0x55e09b=Object[_0x4fc62e(0x1ad)],_0x559490=Object[_0x4fc62e(0x4ab)],_0x2ebcd1=(_0x506e72,_0x5ba1b7,_0x2e3784)=>_0x5ba1b7 in _0x506e72?_0x55e09b(_0x506e72,_0x5ba1b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e3784}):_0x506e72[_0x5ba1b7]=_0x2e3784,_0x47395b=(_0x1dd393,_0x41bb5b,_0x5c4f1f,_0x469437)=>{const _0x26e8cc=_0x4fc62e;for(var _0x25623d=_0x469437>0x1?void 0x0:_0x469437?_0x559490(_0x41bb5b,_0x5c4f1f):_0x41bb5b,_0xdc2a31=_0x1dd393[_0x26e8cc(0x2fd)]-0x1,_0x41fb98;_0xdc2a31>=0x0;_0xdc2a31--)(_0x41fb98=_0x1dd393[_0xdc2a31])&&(_0x25623d=_0x41fb98(_0x25623d)||_0x25623d);return _0x25623d;},_0x4be1eb=(_0x5b5bac,_0x26a008)=>(_0x2d515b,_0x32c9f3)=>_0x26a008(_0x2d515b,_0x32c9f3,_0x5b5bac),_0x27e87d=(_0xf96ecd,_0x56525c,_0x555c31)=>_0x2ebcd1(_0xf96ecd,typeof _0x56525c!=_0x4fc62e(0x3fa)?_0x56525c+'':_0x56525c,_0x555c31);_0xb1f452[_0x4fc62e(0x20a)]=class extends _0x39685c['Plugin']{constructor(_0x43b87c=_0x3561b1,_0x26da70,_0x2f8f44,_0x4f4d2,_0x4bd8c9){const _0x534c7a=_0x4fc62e;super(),this[_0x534c7a(0x467)]=_0x43b87c,this[_0x534c7a(0x3a6)]=_0x26da70,this[_0x534c7a(0x39a)]=_0x2f8f44,this[_0x534c7a(0x2d8)]=_0x4f4d2,this[_0x534c7a(0x2f5)]=_0x4bd8c9;const {..._0x1a64c7}=_0x39685c['merge']({},_0x3561b1,this['_config']);this[_0x534c7a(0x2d8)][_0x534c7a(0x207)](_0x3410c0,_0x1a64c7),this[_0x534c7a(0x1c8)](),this[_0x534c7a(0x329)]();}[_0x4fc62e(0x329)](){const _0x119430=_0x4fc62e;var _0x484a9f;const _0x14d263=(_0x484a9f=this[_0x119430(0x467)])==null?void 0x0:_0x484a9f[_0x119430(0x1d6)];this[_0x119430(0x2d8)][_0x119430(0x207)](_0x3775b6,_0x14d263===!0x0);}[_0x4fc62e(0x3b2)](){const _0x4ecac1=_0x4fc62e;var _0x1b2be9;let _0xcf2860=[];const _0xb7b63=(_0x1b2be9=this[_0x4ecac1(0x467)])==null?void 0x0:_0x1b2be9[_0x4ecac1(0x1d6)];_0xb7b63===!0x0?_0xcf2860=[[_0xb1f452[_0x4ecac1(0x1d7)]],[_0xb1f452['SheetsPivotRPCService']],[_0x130214],[_0xb1f452['SheetsPivotTableAdaptorModel']],[_0xb1f452[_0x4ecac1(0x3cc)]],[_0x3ef610],[_0x4308a9],[_0x3f7c30],[_0x4fe280]]:_0xb7b63===!0x1?_0xcf2860=[[_0xb1f452['SheetsPivotDataSourceModel']],[_0x594aa2]]:_0xb7b63===void 0x0&&(_0xcf2860=[[_0xb1f452[_0x4ecac1(0x19c)]],[_0x594aa2],[_0xb1f452['SheetsPivotTableService']],[_0xb1f452[_0x4ecac1(0x360)]],[_0x130214],[_0xb1f452[_0x4ecac1(0x284)]],[_0xb1f452['SheetsPivotTableConfigModel']],[_0x3ef610],[_0x4308a9],[_0x3f7c30],[_0x4fe280]]),_0xcf2860[_0x4ecac1(0x268)](_0x2dba97=>this['_injector'][_0x4ecac1(0x32f)](_0x2dba97)),[_0x594aa2,_0x130214,_0xb1f452[_0x4ecac1(0x1d7)],_0x4308a9,_0x3ef610,_0x3f7c30,_0x4fe280][_0x4ecac1(0x268)](_0x3706b4=>{const _0x2be732=_0x4ecac1;this['_injector']['has'](_0x3706b4)&&this[_0x2be732(0x3a6)][_0x2be732(0x304)](_0x3706b4);});}['_initRegisterCommand'](){const _0x397fb8=_0x4fc62e;[_0x4cb6a8,_0x411616,_0x37b4c2,_0x22818a,_0x11a608,_0x5a9bef,_0x5cfe72,_0x8342a9,_0x575ae2,_0x2ce7be,_0xee4f77,_0x3db29d,_0x3c68ff,_0x3bc525,_0x510f9b,_0x1a73a9,_0x58e35f,_0x94ad4e,_0x1489a0,_0x53515b,_0xb58d36,_0x536b11,_0x5631f0,_0x3761ac,_0x1ff179,_0x5aa68a,_0x4071d4,_0x48413d,_0x251b50,_0x3552c1,_0x4f3230,_0x2df89f,_0x40f33c,_0xdfb360,_0x403fe4,_0x469f4e,_0x58cc11,_0xdc2915,_0xe5634c,_0x1e2ee7,_0x374ba6,_0x5051b0,_0x1026c7][_0x397fb8(0x268)](_0x1f8da8=>{const _0x55c904=_0x397fb8;var _0x888c5d;(_0x888c5d=this[_0x55c904(0x2f5)])==null||_0x888c5d[_0x55c904(0x2bf)](_0x1f8da8),this[_0x55c904(0x39a)][_0x55c904(0x278)](_0x1f8da8);});}},_0x27e87d(_0xb1f452[_0x4fc62e(0x20a)],'pluginName',_0x34bdfb),_0x27e87d(_0xb1f452[_0x4fc62e(0x20a)],_0x4fc62e(0x339),_0x39685c['UniverInstanceType']['UNIVER_SHEET']),_0xb1f452[_0x4fc62e(0x20a)]=_0x47395b([_0x39685c[_0x4fc62e(0x396)](_0x5f1ced[_0x4fc62e(0x1ce)]),_0x4be1eb(0x1,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x23b)])),_0x4be1eb(0x2,_0x39685c[_0x4fc62e(0x261)](_0x39685c[_0x4fc62e(0x357)])),_0x4be1eb(0x3,_0x39685c['IConfigService']),_0x4be1eb(0x4,_0x39685c[_0x4fc62e(0x30a)](_0xc87130[_0x4fc62e(0x379)]))],_0xb1f452[_0x4fc62e(0x20a)]),_0xb1f452[_0x4fc62e(0x293)]=_0x37b4c2,_0xb1f452[_0x4fc62e(0x471)]=_0x94ad4e,_0xb1f452[_0x4fc62e(0x42e)]=_0x411616,_0xb1f452[_0x4fc62e(0x444)]=_0x510f9b,_0xb1f452[_0x4fc62e(0x316)]=_0x4cb6a8,_0xb1f452[_0x4fc62e(0x2c7)]=_0x2b3c45,_0xb1f452[_0x4fc62e(0x3d0)]=_0x377c9c,_0xb1f452[_0x4fc62e(0x3ed)]=_0x22818a,_0xb1f452[_0x4fc62e(0x260)]=_0x3c68ff,_0xb1f452[_0x4fc62e(0x44f)]=_0x5ba5f6,_0xb1f452[_0x4fc62e(0x221)]=_0x3bc525,_0xb1f452['PivotTableOperationEnum']=_0x5965b8,_0xb1f452[_0x4fc62e(0x41d)]=_0xdc2915,_0xb1f452[_0x4fc62e(0x262)]=_0x19b8f4,_0xb1f452['RemovePivotFieldCommand']=_0x11a608,_0xb1f452['RemovePivotFieldMutation']=_0x536b11,_0xb1f452['RemovePivotTableMutation']=_0x58e35f,_0xb1f452[_0x4fc62e(0x1a3)]=_0x5631f0,_0xb1f452[_0x4fc62e(0x220)]=_0x1026c7,_0xb1f452[_0x4fc62e(0x311)]=_0x3410c0,_0xb1f452[_0x4fc62e(0x3f9)]=_0x34bdfb,_0xb1f452[_0x4fc62e(0x364)]=_0x8342a9,_0xb1f452[_0x4fc62e(0x425)]=_0x3761ac,_0xb1f452[_0x4fc62e(0x2bb)]=_0xdfb360,_0xb1f452[_0x4fc62e(0x436)]=_0x5051b0,_0xb1f452[_0x4fc62e(0x41a)]=_0x2ce7be,_0xb1f452[_0x4fc62e(0x2a4)]=_0xb58d36,_0xb1f452[_0x4fc62e(0x3c2)]=_0x5aa68a,_0xb1f452['SetPivotPositionMutation']=_0x4071d4,_0xb1f452[_0x4fc62e(0x2ef)]=_0x575ae2,_0xb1f452['SetPivotSortMutation']=_0x1ff179,_0xb1f452[_0x4fc62e(0x3e2)]=_0x40f33c,_0xb1f452[_0x4fc62e(0x423)]=_0x1e2ee7,_0xb1f452['SetPivotValueFilterMutation']=_0x374ba6,_0xb1f452[_0x4fc62e(0x352)]=_0x5cfe72,_0xb1f452[_0x4fc62e(0x3aa)]=_0x4f3230,_0xb1f452[_0x4fc62e(0x276)]=_0xee4f77,_0xb1f452[_0x4fc62e(0x3e3)]=_0x58cc11,_0xb1f452['UpdatePivotTableSourceRangeCommand']=_0x3db29d,_0xb1f452[_0x4fc62e(0x1ba)]=_0x469f4e,_0xb1f452[_0x4fc62e(0x215)]=_0x5a9bef,_0xb1f452[_0x4fc62e(0x1dc)]=_0x2df89f,_0xb1f452[_0x4fc62e(0x3ff)]=_0x4abc6e,_0xb1f452['canUsePivot']=_0x4630ec,_0xb1f452[_0x4fc62e(0x44b)]=_0x4bd5fb,_0xb1f452['generateSetRangeValueMutations']=_0x2a7192,_0xb1f452[_0x4fc62e(0x374)]=_0x1760c9,_0xb1f452[_0x4fc62e(0x24d)]=_0x47aa70,_0xb1f452['getFieldListByArea']=_0x132cd5,_0xb1f452['getInsertRowColMutations']=_0x5176ce,_0xb1f452[_0x4fc62e(0x323)]=_0x574201,_0xb1f452['getPivotInfoByLicense']=_0x52f6f9,_0xb1f452['getPivotTableInfo']=_0x149caa,_0xb1f452[_0x4fc62e(0x2a9)]=_0xdd9b93,_0xb1f452[_0x4fc62e(0x29e)]=_0x1839d9,Object[_0x4fc62e(0x1ad)](_0xb1f452,Symbol[_0x4fc62e(0x432)],{'value':_0x4fc62e(0x37d)});}));