@univerjs-pro/sheets-pivot 0.10.13 → 0.10.14-nightly.202511031023
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x91438c=_0x3105;(function(_0x5909bf,_0x37e285){const _0x403270=_0x3105,_0x16bf02=_0x5909bf();while(!![]){try{const _0x54ef1c=-parseInt(_0x403270(0x259))/0x1+parseInt(_0x403270(0x299))/0x2*(parseInt(_0x403270(0x1b1))/0x3)+parseInt(_0x403270(0x33e))/0x4+-parseInt(_0x403270(0x257))/0x5*(-parseInt(_0x403270(0x2dc))/0x6)+-parseInt(_0x403270(0x2c0))/0x7*(-parseInt(_0x403270(0x423))/0x8)+-parseInt(_0x403270(0x37c))/0x9+-parseInt(_0x403270(0x373))/0xa*(parseInt(_0x403270(0x36b))/0xb);if(_0x54ef1c===_0x37e285)break;else _0x16bf02['push'](_0x16bf02['shift']());}catch(_0x2532d1){_0x16bf02['push'](_0x16bf02['shift']());}}}(_0x34f2,0x93916));var rn=Object[_0x91438c(0x332)],ln=(_0x204ef2,_0x3681a3,_0x16caa5)=>_0x3681a3 in _0x204ef2?rn(_0x204ef2,_0x3681a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16caa5}):_0x204ef2[_0x3681a3]=_0x16caa5,N=(_0x13e9aa,_0xd2095c,_0x5335a9)=>ln(_0x13e9aa,typeof _0xd2095c!=_0x91438c(0x3c8)?_0xd2095c+'':_0xd2095c,_0x5335a9);function _0x34f2(){const _0x17b312=['endCollectChangeset','MonthDate','refreshData','_initPivotTextInfo','disposableCollection','Month','sourceName','result','updatePivotSource','getTypeOfUnitDisposed$','entries','subUnitId','getFilterInfo','clearRenderCache','formJSON','_deletePivotTableInstanceCache','getSortInfo','sheets-pivot.cellDateGroupDisplay.minute','Var\x20of\x20','rgb(255,255,255)','AddPivotTableWithConfig','_viewUpdate$','addExclusiveRange','fieldIds','getFieldIds','getTargetByPivotId','COMMAND','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getFieldById','lastRow','sortInfo','3577945LKUCNX','Year','dimension','updateCollectionConfig','_fieldsCollectionChange$','dateGroupField','fieldsConfig','sheet.command.set-pivot-fields-config','values','rowHeaderMap','getFieldDataType','updateDataFieldsCollection','getPivotDirtyViewInfo','Count\x20of\x20','isDate','ManualFilter','NUMBER','Minute','concat','sheet.command.set-pivot-filter','sheets-pivot.cellDateGroupDisplay.month','getCurrentSelections','subscribe','iterateField','_deleteModelCache','PivotMultipleValueId','sheets-pivot.columnName','pivotInitCompleted$','1473198Fffkjj','sheet.command.add-pivot-field','sheets-pivot.averageName','_getAutoName','_pivotRenderValueMatrixCache','pushComputingStatusSubject','error','toJSON','addCollectionByJSON','setDirty','(Blank)','NotNumber','getInterceptPoints','YearQuarter','removeSourceRangeChange','getFieldPositionInfoById','_sheetsSelectionsService','_queryingMap','startColumn','getTableFieldById','getUnit','setRangeValueUndoMutation','charCodeAt','GrandTotal','getMatrixFromRunTimeData','setPivotSetting','#FFFFFF','leafStyle','Column\x20','handleMoveRange','hasField','getColumnCount','sheets-pivot.maxName','getLastRow','valuePosition','stringify','RemovePivotField','sheet.mutation.remove-pivot-table','isColMultiMeasure','getTextSize','PIVOT_MUTATION_GENERATE','_featureCalculationManagerService','setValueFilterInfo','pivotTableConfigs','SetFieldFormat','sheet.command.set-pivot-collapse','_resourceManagerService','Min\x20of\x20','sheets-pivot.cellDateGroupDisplay.hourMinute','getActiveSheet','getName','getDataFieldId','splice','getPivotTableIdByCell','setTextInfo','rgb(240,241,243)','intercept','sheet.mutation.pivot-update-field-source-info','node','disposeWithMe','MUTATION','removeField','STRING','sheets-pivot.dateGroup.hour','keys','_injector','dataRangeInfo','getPivotTableInstance','filterInfo','iterateFieldDim','Grand\x20Total','addFieldWithSourceId','sheet.command.remove-pivot-field','sheets-pivot.productName','name','initDataRanges','getPivotDisplayConfig','_updatePivotTableInstanceCache','asObservable','updatePivotTableRangeInfo','sheets-pivot.minName','getFormatInfo','setRange','MIN_SAFE_INTEGER','_ensurePivotMap','sheet.mutation.send-pivot-data-local','defineProperty','fetchThroughAsyncInterceptors','getStyles','getLastCol','sheets-pivot.cellDateGroupDisplay.yearMonthDate','min','updateAllDisplayName','message','Add','addPivotField','getDataFieldManager','_initConfig','3441604jORbcv','workbook\x20is\x20not\x20found','sheets-pivot.dateGroup.quarter','getHeaderMapItem','forEach','queryDirtyPivotTable','getValue','lastCol','YearMonth','onCommandExecuted','onQueryEnd','UpdateSource','Row','_pivotConfigChange$','startRow','getDataFieldByTableId','grandTotal','updateFieldPosition','sheet.mutation.pivot-update-value-position','updateValuePosition','getTextInfo','movePivotField','Delete','_sheetsPivotTableAdaptorModel','getFieldFormat','dataStyle','SHEET_PIVOT_TABLE_PLUGIN','registerDirtyService','getSourceName','floor','RenameField','has','paths','cornerInfo','sheets-pivot.cellDateGroupDisplay.year','getOriginFieldId','AddPivotTable','getSheetBySheetName','colInfo','_textInfo','getTargetByPivotTableId','_globalComputedEndHelpFunc','Expand','foreach','setConfig','12529iAXzCw','colCount','Value','deleteField','getIntersects','_pivotTableMatrixInfo','pluginName','#f4f4f5','1980lkaLca','dateType','getRangeStartEndInfo','_sheetInterceptorService','endColumn','col','getDirtyInfo','sheets-pivot.config','setValuePivotFilter','9450324inttrT','limit\x20pivot','sheet.command.update-pivot-table-source-range','createDataFieldId','getSubtotal','addField','version','UpdateFieldPosition','_commandService','registerPluginResource','info','_viewData$','AddPivotField','_getPivotAppliedRanges','_createExclusiveRange','cornerStyle','getIntersectsPivotTable','row','getFullYear','updateFieldSourceInfo','rangeKeyMap','collections','sheet.command.move-pivot-field','sheet.mutation.set-pivot-sort-info','sheet.command.update-date-group','_initRegisterCommand','subTotalStyle','sum','_initGlobalComputed','sheet.mutation.send-pivot-config-local','removeValueFilterInfo','map','parseInt','some','count','NotName','getDisplayName','Sum\x20of\x20','sheet.mutation.send-init-pivot-text-local','options','getFieldInfo','_initLocale','contains','_sheetsPivotRpcService','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.monthDate','panel','_updateModelCache','getCellMatrix','filter','colStyle','query','max','_refRangeHandle','_ensureViewDataMap','dispose','SetValueFilter','sheet.command.reset-pivot-fields-config','areaInfo','SetPivotCollapse','_configService','getMonth','executeCommand','removeDataField','set','NUM','setLabelFilterInfo','Max\x20of\x20','rowFields','addPivotTableWithConfig','forRow','MovePivotField','MAX_SAFE_INTEGER','triggerDirtyFeature','Style','collapseInfo','symbol','getDataFieldByDataFieldId','_configVersion$','pivotMutationGenerate','nRVdafIV\x20JXdyNZafIV(lfdXVFX,\x20ZR1lfd4XN)\x20{\x20\x20\x20\x20ayN\x20{\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20lfdXVFXqVnITgya7yygN\x20=\x20lfdXVFX.FZlfa(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20IyfpfVUXFFgpX\x20=\x20jxuM.ZgyFX(gaI1(lfdXVFXqVnITgya7yygN[G]));\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(!IyfpfVUXFFgpX.RJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IyfpfVUXFFgpX.RJ\x20=\x20MRt1Xy(lfdXVFXqVnITgya7yygN[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20fF3IyBXy\x20=\x20aNZXIn\x203IyBXyhlI1glxdIZX\x20!==\x20\x27RVJXnfVXJ\x27\x20&&\x20FXln\x20fVFagVdXIn\x203IyBXyhlI1glxdIZX;\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20dIVaXba\x20=\x20fF3IyBXy\x20?\x20FXln\x20:\x20QfVJIQ;\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20tXFFgpX3IyJ\x20=\x20dIVaXba.__5gFXYv__.ZgyFX(lfdXVFXqVnITgya7yygN[G]);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20tXFFgpX\x20=\x20dIVaXba.__rXb__.FayfVpfnN(tXFFgpX3IyJ);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVgaRyX3IyJ\x20=\x20dIVaXba.__5gFXYv__.ZgyFX(lfdXVFXqVnITgya7yygN[2]);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVgaRyX\x20=\x20dIVaXba.__rXb__.FayfVpfnN(FfpVgaRyX3IyJ);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVeglfJ\x20=\x20dIVaXba.__9XyfnN__(FfpVgaRyX,\x20tXFFgpX,\x20ZR1lfd4XN);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20JItgfV\x20=\x20IyfpfVUXFFgpX.Jt;\x20\x20\x20\x20\x20\x20\x20\x20nRVdafIV\x20fFEItgfVUgadcfVp(ITgaaXyV,\x20IrIFa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyV\x20=\x20ITgaaXyV.yXZlgdX(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFa\x20=\x20IrIFa.yXZlgdX(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyVTgyaF\x20=\x20ZgaaXyV.FZlfa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFaTgyaF\x20=\x20cIFa.FZlfa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(!ZgaaXyV.fVdlRJXF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20ZgaaXyV\x20===\x20cIFa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(ZgaaXyVTgyaF.lXVpac\x20<\x20G\x20||\x20ZgaaXyVTgyaF[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20nglFX;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyVxRnnfb\x20=\x20ZgaaXyVTgyaF.FlfdX(W).HIfV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFaxRnnfb\x20=\x20cIFaTgyaF.FlfdX(-ZgaaXyVTgyaF.lXVpac\x20+\x20W).HIfV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20ZgaaXyVxRnnfb\x20===\x20cIFaxRnnfb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lXa\x20JItgfVeglfJ\x20=\x20(JItgfV\x20&&\x20JItgfV.lXVpac)\x20?\x20JItgfV.FItX((JtqaXt)\x20=>\x20fFEItgfVUgadcfVp(JtqaXt,\x20lIdgafIV.cIFaVgtX))\x20:\x20ayRX;\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(lIdgafIV.cIFaVgtX\x20===\x20\x27lIdglcIFa\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JItgfVeglfJ\x20=\x20ayRX;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x209glfJ\x20=\x20FfpVeglfJ\x20&&\x20JItgfVeglfJ;\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209glfJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tXFFgpX:\x20IyfpfVUXFFgpX,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dgadc\x20(XyyIy)\x20{\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209glfJ:\x20nglFX,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tXFFgpX:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','rangeKey','removePivotField','_pivotTableInstanceCache','getPivotTableRangeInfo','drillDown','getMatrix','maxDate','getConfig','dataFieldManagerConfig','_initUnitDisposed','parse','random','isEmpty','SHEET_PIVOT_IN_MAIN_THREAD','SetSortInfo','split','generateNewSheetName','sheetName','prototype','createCollectionWithDataRange','sheets-pivot.stdDevpName','getNoUsedDataFieldIds','varp','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getCellRaw','BLANK_PLACEHOLDER','length','dataFieldId','valueFields','fromJSON','_collectionConfigModel','rangeCache','_initClearSelectionCommandInterceptor','rowCount','rangesInfo','getPivotTableMatrixInfo','undos','_dataFieldManagerCollection','existing','average','measure','_subjectViewChange','getRangeKey','setCollapse','_markDirty$','sheet.command.set-pivot-field-setting','_ensurePivotItemRenderInfoCache','rowRanges','handleSourceRangeChange','push','pivotTableId','sheets-pivot.cellDateGroupDisplay.yearQuarter','SetSubtotalType','colRanges','getId','rowStyle','_pivotRenderInfoCache','sheet.mutation.set-pivot-field-subtotal-type','sourceRangeInfo','sheet.command.update-pivot-value-position','StdDev\x20of\x20','SetPivotFilter','addCollection','setPivotInitCompleted','sheet.mutation.set-pivot-filter','resetPivotTable','getValueFilterInfos','sheets-pivot.emptyPivot.filter','setFieldFormat','_sheetsPivotTableService','Div0','return\x20','sheets-pivot.dateGroup.hourMinute','targetCellInfo','getUnitId','_exclusiveRangeService','setDataRecordCount','broadcastCollectionChange','Filter','level','Column','getPivotItemRenderInfoCache','sheet.operation.pivot-table-view-formula-mark-dirty','pivotTableIndexConfig','sheets-pivot.subTotal','updateDirtyPivotTable','8zEQhaO','valueFilter','format','getFieldCountByArea','sheets-pivot.blank','iterateFieldByArea','bind','column','getPivotTableCellData','getformat','_collectionChange$','stdDev','_config','versions','UpdateValuePosition','_initPivotDataGetListener','params','sheet.mutation.add-pivot-table','DrillDown','Values','93CUomkr','sheet.mutation.set-pivot-position','removeCollectionImp','sheets-pivot.other','SHEET_PIVOT_EXCLUSIVE_ID','isBottomTotal','fieldsCollectionChange$','needSameDeleteModel','sheets-pivot.dateGroup.month','setValue','removeCollections','_sheetsPivotTableConfigModel','YearMonthDate','generateMutationsByRanges','NotFunction','setPivotFilter','updateConfig','registerRefRange','headerMap','setDisplayName','data','sheets-pivot.emptyPivot.row','call','getValueIndex','sheet.mutation.rename-pivot-field','addDirtyPivotTable','getDataFieldItemInfo','unitId','tableFieldId','getRowCount','dataStream','getCurrentUnitForType','Hour','FORCE_STRING','_requestResolvers','colHeaderMap','setSortInfo','fontRenderExtension','deleteDataField','sheet.mutation.remove-group-collection','single','includes','next','getUpdateRangeDeleteIds','getAutoDisplayNameFunction','sheets.tabs.sheet','updatePivotTableMatrixInfo','string','Product\x20of\x20','register','getFormat','deepClone','pivotConfigChange$','getAutoFitColumnsMutations','ΣValue','_ensurePivotTableRangeInfo','_ensurePivotItemRenderValueMatrixCache','ptn','add','sheets-pivot.dateGroup.minute','sheet.mutation.set-pivot-value-filter','_host','NAME','sheet.mutation.set-pivot-option','from','UpdatePivotSource','var','oldMatrix','getRefRangeMutationsByMoveRange','addPivotTable','#eceeff','object','blank','type','handleAsyncResponse','sheets-pivot.countNumsName','getPivotTableModelConfig','redos','pbt','sheet.command.move-pivot-table','Subtotal','sheet.command.add-pivot-table','width','asyncInterceptor','sheet.mutation.add-group-collection','setPivotTableConfig','remove','Collapse','NO_COMMERCIAL','getValuePosition','Set','dataFieldsCollection','REF','configVersion$','_toJSON','registerCommand','_globalSubject','getIndexesByPathStr','setSourceName','isText','sheets-pivot.dateGroup.yearQuarter','getSheets','fields','_ensurePivotTableMatrixInfo','pushUndoRedo','renameField','SetValuePivotFilter','range','COLUMN','delete','sheets-pivot.dateGroup.yearMonth','SetFilterInfo','updateViewInfo','getSheetId','_globalComputedStartHelpFunc','setRangeValueRedoMutation','_initCommandInterceptListener','_activeDirtyManagerService','_refRangeService','pageStyle','sheet.mutation.set-pivot-collapse','_sheetsPivotDataSourceModel','leftOffset','updateRenderCache','shouldClear','_univerInstanceService','_subjectCollectionChange','sheets-pivot.value','startCollectChangeset','getCollection','DIV_BY_ZERO','cellValue','updateRangeKeyMap','_globalComputingSrv','isArray','New','getSubUnitPivotConfigs','reset','removePivotTable','new','sheets-pivot.emptyPivot.column','rangeType','_initRemoveSheetCommandInterceptor','displayName','setSubtotalType','number','getSheetBySheetId','size','hasOwnProperty','viewData$','adjustSheetCellData','markDirty','realDeleteValue','sheets-pivot.dateGroup.yearMonthDate','setOptions','Date','value','SetPivotSort','ResetPivotTable','_init','interceptCommand','Existing','slice','originTargetInfo','sheet.mutation.update-date-group','SetPivotSetting','5xSnIMy','tuple','503889xFlUHK','product','deleteUnitId','endRow','getDate','Quarter','_subjectFieldsCollectionChange','uniqueDataFieldName','refreshGroupField','_initSnapshot','find','getRangeData','valueIndex','Average\x20of\x20','filterId','registerCallbackWithEvent','updateView','\x20-\x20','getOwnPropertyDescriptor','sheet.command.set-pivot-sort','sheet.mutation.set-pivot-format','getFilterFieldIdByIndex','getViewData','batch','Total','_dataSyncPrimaryController','unshift','get','other','notExecuteFormula','getPivotPerformCheck','collection','getMatrixValue','setPivotCollapse','Panel','#e6ebfb','forValue','_model','getColCount','isNaN','_lifecycleService','dataFields','SetPivotTableConfig','rowInfo','valid','sheets-pivot.emptyPivot.values','getDataFieldByRangeKey','getRangeKeyList','_pivotInitCompleted$','_onRefRangeChange','intersects','subtotal','collectionConfig','_viewData','_generateUniqueVersion','sideEffectUpdateWorkerCache','updateConfigCache','isValue','columnFields','getPivotTableConfig','sheets-pivot.cellDateGroupDisplay.quarter','_pivotTableRangeInfo','UNIVER_SHEET','_localeService','49472rvOUFq','sheet.mutation.add-pivot-field','_updateRenderEmptyCache','refreshDataField','#b2b2b2','setPivotSort','HourMinute','collectionChange$'];_0x34f2=function(){return _0x17b312;};return _0x34f2();}import{PivotCellStyleTypeEnum as _0x43e39f,PivotViewCellValueTypeEnum as _0x50fec6,isPrefixValue as _0x11acd0,isErrorValue as _0x5a88b1,PivotErrorTypeEnum as _0x18a99e,PivotDateGroupFieldDateTypeEnum as _0x24d87f,DataFieldManager as _0x3fdd5b,FieldsCollection as _0x1a19f2,isDateValue as _0xc79f0b,DataField as _0x7a9bf0,generateHexNumber as _0x387c10,isBaseGroupField as _0x312646,PivotTable as _0x33f1c5,PivotSubtotalTypeEnum as _0x553ee1,PivotTableFiledAreaEnum as _0x48ff8c,excelDateToUnixMilliseconds as _0x885df7,PivotDataFieldTypeEnum as _0x57ced6,DateGroupField as _0x5281df,createValueField as _0xef737d,createLabelField as _0x19d900,PivotTableChangeTypeEnum as _0x1ffd1e,PivotView as _0x296f39,GlobalConfig as _0x3e67cb,isDateGroupFieldJSON as _0x3532a4,PivotCallbackEnum as _0x589062,PivotFilterTypeEnum as _0x491413,getAutoDisplayName as _0x156bd8,PivotDataFieldDataTypeEnum as _0x5b8b2a,PivotTableValuePositionEnum as _0x150bb7,isDateGroupField as _0x375f53}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x540207,ObjectMatrix as _0x17d6f8,IUniverInstanceService as _0x2c885f,UniverInstanceType as _0x102cba,CellValueType as _0x5eab4b,numfmt as _0xc18a5d,LocaleService as _0x3aca7e,createAsyncInterceptorKey as _0x150235,createInterceptorKey as _0x461231,CommandType as _0x2e18c8,Inject as _0x431452,ICommandService as _0xa7b251,Disposable as _0x5353ba,RANGE_TYPE as _0x5692f0,numberToABC as _0x2aaf1c,Injector as _0x4efa5c,LifecycleService as _0x3dbe84,IResourceManagerService as _0x500922,Rectangle as _0x459723,IConfigService as _0x495f63,Tools as _0x4b3148,AsyncInterceptorManager as _0xd0b6d0,InterceptorManager as _0x4c5fb3,InterceptorEffectEnum as _0x4e0a71,IUndoRedoService as _0x4e1a76,sequenceExecute as _0x2fdef8,CustomCommandExecutionError as _0x5b4394,mergeWorksheetSnapshotWithDefault as _0x4fdda5,generateRandomId as _0x23e506,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x310049,DEFAULT_WORKSHEET_ROW_COUNT as _0x3bf4db,DisposableCollection as _0x3e132f,Range as _0x10efc2,DependentOn as _0x43b69a,Optional as _0x2f587c,Plugin as _0x289c56,merge as _0x549d1a}from'@univerjs/core';import{ErrorType as _0x52f7f8,serializeRangeWithSpreadsheet as _0x267cef,IFeatureCalculationManagerService as _0xf8c02c,GlobalComputingStatusService as _0x5ede83,IActiveDirtyManagerService as _0x9d10da}from'@univerjs/engine-formula';import{generateNullCell as _0x4261a2,SetRangeValuesUndoMutationFactory as _0x328d73,SetRangeValuesMutation as _0x24ac46,getSheetCommandTarget as _0x1a5e6f,InsertRowMutation as _0x1b1105,RemoveRowMutation as _0x129cc2,InsertColMutation as _0xfcf79b,RemoveColMutation as _0x2d40d,IExclusiveRangeService as _0x598df4,SheetInterceptorService as _0x3ec024,INTERCEPTOR_POINT as _0x18e6d2,InsertSheetCommand as _0x138b11,InsertSheetUndoMutationFactory as _0x5c1652,RemoveSheetMutation as _0x2ac059,InsertSheetMutation as _0x5c326b,MoveRangeMutation as _0x3d1db8,SheetsSelectionsService as _0xf9b969,ClearSelectionContentCommand as _0x5b0c19,ClearSelectionAllCommand as _0x1e760c,SetWorksheetColWidthMutation as _0xda2656,RefRangeService as _0x38f3f0,SetWorksheetActiveOperation as _0x258e13,MoveRangeCommand as _0x1c72b3,RemoveSheetCommand as _0x5e55d8}from'@univerjs/sheets';function _0x3105(_0x286a3b,_0x7063dd){const _0x34f257=_0x34f2();return _0x3105=function(_0x3105ba,_0x4f4bfa){_0x3105ba=_0x3105ba-0x1b0;let _0x18fbe2=_0x34f257[_0x3105ba];return _0x18fbe2;},_0x3105(_0x286a3b,_0x7063dd);}import{Subject as _0x4aede8,BehaviorSubject as _0x4ac54f}from'rxjs';import{LS_CONFIG_KEY as _0x5f27fd,unshiftString as _0x4fd784,isFeatureAuthorizedWithinTime as _0x24151f,getSheetFeatureLimit as _0x34ec75,ReleaseType as _0x26ce06,UniverLicensePlugin as _0xdd5b1e}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1a6d57,RemoveSheetsFilterMutation as _0x3a8b22}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x4aed27}from'@univerjs/rpc';import{getFontStyleString as _0x2a9f35,FontCache as _0x5726e4}from'@univerjs/engine-render';const Bo=Number[_0x91438c(0x39c)](0x68fcbdc5),li=0x10,so=0x1,ao=_0x91438c(0x358),mt=0x1,di=_0x91438c(0x313),ci=_0x91438c(0x2b4),Ft=_0x91438c(0x29d),ui='#f4f4f5',fi=_0x91438c(0x372),gi=_0x91438c(0x1f7),vi='#1d32e9',hi='#FFFFFF',pi='#e6ebfa',Ii='#1d32e9',mi=_0x91438c(0x2f6),Ci=_0x91438c(0x27c),bi=0xe,Si=0x6;var Lo=(_0x348628=>(_0x348628[_0x91438c(0x252)]=_0x91438c(0x3f3),_0x348628[_0x91438c(0x238)]=_0x91438c(0x23c),_0x348628))(Lo||{});const Jo={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':Ft}},'l':{'s':0x1,'cl':{'rgb':Ft}},'r':{'s':0x1,'cl':{'rgb':Ft}},'t':{'s':0x1,'cl':{'rgb':Ft}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},w={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ii},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function yi(_0x34a99b,_0x182f80,_0x4d5002){const _0xe99a55=_0x91438c,_0x13952f=_0x34a99b[_0xe99a55(0x274)](_0x3aca7e),_0x1145e5=_0x4d5002[_0xe99a55(0x3dc)]('_');switch(_0x182f80){case _0x24d87f[_0xe99a55(0x2c1)]:return _0x13952f['t'](_0xe99a55(0x360),..._0x1145e5);case _0x24d87f[_0xe99a55(0x2d1)]:return _0x13952f['t'](_0xe99a55(0x2b2),..._0x1145e5);case _0x24d87f[_0xe99a55(0x1d1)]:return _0x13952f['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x1145e5);case _0x24d87f[_0xe99a55(0x29f)]:return _0x13952f['t'](_0xe99a55(0x30c),..._0x1145e5);case _0x24d87f[_0xe99a55(0x24c)]:return _0x13952f['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x1145e5);case _0x24d87f['Month']:return _0x13952f['t'](_0xe99a55(0x2d4),..._0x1145e5);case _0x24d87f['Quarter']:return _0x13952f['t'](_0xe99a55(0x295),..._0x1145e5);case _0x24d87f[_0xe99a55(0x346)]:return _0x13952f['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x1145e5);case _0x24d87f['YearMonthDate']:return _0x13952f['t'](_0xe99a55(0x336),..._0x1145e5);case _0x24d87f[_0xe99a55(0x2e9)]:return _0x13952f['t'](_0xe99a55(0x400),..._0x1145e5);}return'';}const tt=(_0x2b049f,_0x1fbcb4,_0x1e1a66,_0x1663af)=>{const _0x3f4838=_0x91438c;let _0x296741;const _0x13f5f3=_0x2b049f['get'](_0x2c885f)[_0x3f4838(0x1d0)](_0x102cba[_0x3f4838(0x297)]);if(!_0x13f5f3)return null;const _0x24864c=_0x13f5f3['getStyles']();let _0x2b2d1c;if(_0x1e1a66&&(_0x2b2d1c=_0x24864c[_0x3f4838(0x1ba)](_0x1e1a66)),_0x1fbcb4!=null&&_0x1fbcb4['v']||(_0x1fbcb4==null?void 0x0:_0x1fbcb4['v'])===0x0){_0x296741||(_0x296741={});const _0x5012a9=$o(_0x1fbcb4['v']);typeof _0x5012a9==_0x3f4838(0x242)?_0x296741['t']=_0x5eab4b[_0x3f4838(0x2d0)]:typeof _0x5012a9==_0x3f4838(0x1e0)&&(_0x296741['t']=_0x5eab4b['STRING']),_0x296741['v']=_0x5012a9;}if((_0x1fbcb4!=null&&_0x1fbcb4['i']||(_0x1fbcb4==null?void 0x0:_0x1fbcb4['i'])===0x0)&&(_0x296741||(_0x296741={}),_0x296741['fi']=_0x1fbcb4['i']),_0x1fbcb4!=null&&_0x1fbcb4['s']&&(_0x296741||(_0x296741={}),_0x296741[_0x3f4838(0x1ff)]=_0x1fbcb4['s']),_0x1e1a66&&(_0x296741||(_0x296741={}),_0x296741['s']=_0x2b2d1c),_0x1663af&&_0x296741!=null&&_0x296741['v']&&_0x296741[_0x3f4838(0x1ff)]!==_0x43e39f[_0x3f4838(0x2f3)]&&_0x296741['pbt']!==_0x43e39f[_0x3f4838(0x201)]){const _0x1b085c=String(_0x296741['v']),{dateType:_0x3db892}=_0x1663af;_0x296741['v']=yi(_0x2b049f,_0x3db892,_0x1b085c),_0x296741['t']=_0x5eab4b[_0x3f4838(0x31a)];}return _0x296741;},Ti=(_0x3234c5,_0x1d9756,_0x2e2ccd,_0x3ab8ad)=>{const _0x3c5227=_0x91438c;var _0x2d1970,_0x2b8629,_0x269d09,_0x5e6639,_0x4958b3,_0x34c5a9,_0x1279aa,_0x1dbaa7,_0x103477,_0x10f2f6,_0xc0080d,_0x108b4d,_0x17e178,_0x3746a4;const _0x1455cd=_0x2e2ccd[_0x3c5227(0x416)],{cornerView:_0x5c55b7,rowView:_0x549c7d,colView:_0xac5c5,dataView:_0x2b5118,pageView:_0x45f450,formatMap:_0x3d89e2,groupInfo:_0x3a4472}=_0x1d9756,{row:_0x2f9cb4,col:_0x5ec6c9}=_0x1455cd,_0x2bf6de=new _0x17d6f8(),_0x35ccda={},_0x30f7ad={},_0x53f504={},_0x37d5d1={},_0x122b68={};let _0x50147e=_0x2f9cb4,_0x13545f=_0x5ec6c9;Object[_0x3c5227(0x31c)](_0x45f450[_0x3c5227(0x1c5)])[_0x3c5227(0x342)](_0xc8b1d2=>{const _0x25351e=_0x3c5227;Object[_0x25351e(0x31c)](_0x45f450[_0x25351e(0x1c5)][Number(_0xc8b1d2)])[_0x25351e(0x342)](_0x47df49=>{const _0x43b885=_0x25351e,_0x11165d={..._0x45f450[_0x43b885(0x1c5)][Number(_0xc8b1d2)][Number(_0x47df49)]};_0x2bf6de[_0x43b885(0x1ba)](Number(_0xc8b1d2)+_0x50147e,Number(_0x47df49)+_0x13545f,tt(_0x3234c5,_0x11165d,fe[_0x43b885(0x228)]));});});const _0x4608dd=Object[_0x3c5227(0x31c)](_0x45f450['data'])['length'];_0x50147e+=_0x4608dd+(_0x4608dd?mt:0x0);const _0x44eb18=_0x5c55b7[_0x3c5227(0x1ce)](),_0x1e6dba=_0x5c55b7[_0x3c5227(0x27f)]();for(let _0x5a0c3b=0x0;_0x5a0c3b<_0x44eb18;_0x5a0c3b++)for(let _0x5bb2d4=0x0;_0x5bb2d4<_0x1e6dba;_0x5bb2d4++){const _0xa7570f={...(_0x2b8629=(_0x2d1970=_0x5c55b7[_0x3c5227(0x1c5)])==null?void 0x0:_0x2d1970[_0x5a0c3b])==null?void 0x0:_0x2b8629[_0x5bb2d4]};_0xa7570f&&((_0x269d09=_0x549c7d[_0x3c5227(0x1c3)][_0x5bb2d4])!=null&&_0x269d09['isValue'])&&_0x5bb2d4===_0x1e6dba-0x1&&_0x5a0c3b===_0x44eb18-0x1&&(_0xa7570f['v']=''+_0x3ab8ad['sheets-pivot.value']),_0x2bf6de[_0x3c5227(0x1ba)](_0x5a0c3b+_0x50147e,_0x5bb2d4+_0x13545f,tt(_0x3234c5,_0xa7570f,fe[_0x3c5227(0x38b)]));}for(let _0x239b44=0x0;_0x239b44<_0x5c55b7['info'][_0x3c5227(0x3e7)];_0x239b44++)_0x5c55b7[_0x3c5227(0x386)][_0x239b44]&&(_0x53f504[''+(_0x239b44+_0x13545f)]=_0x5c55b7['info'][_0x239b44]);_0x13545f+=_0x1e6dba;const _0x5c7657=_0xac5c5[_0x3c5227(0x1c3)],_0x2a6868=_0xac5c5[_0x3c5227(0x2fd)]()>=0x0?_0xac5c5[_0x3c5227(0x2fd)]()+0x1:0x0,_0x1c8c93=_0xac5c5['getLastCol']()>=0x0?_0xac5c5['getLastCol']()+0x1:0x0;for(let _0x55fcb1=0x0;_0x55fcb1<_0x1c8c93;_0x55fcb1++){for(let _0x5ebbb0=0x0;_0x5ebbb0<_0x2a6868;_0x5ebbb0++){const _0xfd3a11={...(_0x4958b3=(_0x5e6639=_0xac5c5[_0x3c5227(0x1c5)])==null?void 0x0:_0x5e6639[_0x5ebbb0])==null?void 0x0:_0x4958b3[_0x55fcb1]},_0x4316ea=(_0x34c5a9=_0x5c7657[_0x5ebbb0])==null?void 0x0:_0x34c5a9[_0x3c5227(0x1cd)],_0x37a268=_0x3d89e2[_0x4316ea],_0x2385b4=_0x3a4472[_0x4316ea];_0xfd3a11&&(_0xfd3a11['v']=ht(_0xfd3a11,_0x5ebbb0===0x0&&((_0x1279aa=_0xac5c5[_0x3c5227(0x341)](_0x55fcb1+0x1))==null?void 0x0:_0x1279aa[_0x3c5227(0x292)]),_0x37a268,_0x3ab8ad));let _0x5ea8d0;_0x37a268?_0x5ea8d0={...fe[_0x3c5227(0x3ae)],'n':{'pattern':_0x37a268}}:_0x5ea8d0={...fe[_0x3c5227(0x3ae)]},_0x2bf6de[_0x3c5227(0x1ba)](_0x5ebbb0+_0x50147e,_0x55fcb1+_0x13545f,tt(_0x3234c5,_0xfd3a11,_0x5ea8d0,_0x2385b4));}_0xac5c5[_0x3c5227(0x386)][_0x55fcb1]&&(_0x30f7ad[''+(_0x55fcb1+_0x13545f)]=_0xac5c5[_0x3c5227(0x386)][_0x55fcb1]),_0xac5c5[_0x3c5227(0x1c3)][_0x55fcb1+0x1]&&(_0x122b68[''+(_0x55fcb1+_0x50147e+0x1)]=_0xac5c5[_0x3c5227(0x1c3)][_0x55fcb1+0x1]);}_0x50147e+=_0x44eb18;const _0x81f3aa=_0x549c7d[_0x3c5227(0x1c3)],_0x1eddbb=_0x549c7d[_0x3c5227(0x2fd)]()>=0x0?_0x549c7d[_0x3c5227(0x2fd)]()+0x1:0x0,_0x4a137b=_0x549c7d[_0x3c5227(0x335)]()>=0x0?_0x549c7d[_0x3c5227(0x335)]()+0x1:0x0;for(let _0x1c28f5=0x0;_0x1c28f5<_0x1eddbb;_0x1c28f5++){for(let _0x3862f4=0x0;_0x3862f4<_0x4a137b;_0x3862f4++){const _0x3be512={...(_0x103477=(_0x1dbaa7=_0x549c7d[_0x3c5227(0x1c5)])==null?void 0x0:_0x1dbaa7[_0x1c28f5])==null?void 0x0:_0x103477[_0x3862f4]},_0x53ffcf=(_0x10f2f6=_0x81f3aa[_0x3862f4])==null?void 0x0:_0x10f2f6[_0x3c5227(0x1cd)],_0x577427=_0x3d89e2[_0x53ffcf],_0x2fda47=_0x3a4472[_0x53ffcf];_0x3be512&&(_0x3be512['v']=ht(_0x3be512,!0x1,_0x577427,_0x3ab8ad));let _0x4e7374;_0x549c7d[_0x3c5227(0x386)][_0x1c28f5][_0x3c5227(0x41c)]===_0x549c7d[_0x3c5227(0x27f)]()?_0x4e7374=fe[_0x3c5227(0x2f7)]:_0x549c7d[_0x3c5227(0x386)][_0x1c28f5][_0x3c5227(0x1b6)]?_0x4e7374=_0x549c7d['info'][_0x1c28f5]['level']===0x0?fe[_0x3c5227(0x34e)]:fe[_0x3c5227(0x396)]:_0x4e7374=fe[_0x3c5227(0x404)],_0x577427&&(_0x4e7374={..._0x4e7374,'n':{'pattern':_0x577427}}),_0x2bf6de[_0x3c5227(0x1ba)](_0x1c28f5+_0x50147e,_0x3862f4+_0x5ec6c9,tt(_0x3234c5,_0x3be512,_0x4e7374,_0x2fda47));}_0x549c7d[_0x3c5227(0x386)][_0x1c28f5]&&(_0x35ccda[''+(_0x1c28f5+_0x50147e)]=_0x549c7d[_0x3c5227(0x386)][_0x1c28f5]),_0x549c7d[_0x3c5227(0x1c3)][_0x1c28f5]&&(_0x37d5d1[''+(_0x1c28f5+_0x5ec6c9)]=_0x549c7d[_0x3c5227(0x1c3)][_0x1c28f5]);}const _0x51cc6f=_0x2b5118[_0x3c5227(0x1ce)](),_0x131ad2=_0x2b5118[_0x3c5227(0x27f)]();for(let _0x563ca8=0x0;_0x563ca8<_0x51cc6f;_0x563ca8++)for(let _0x21f130=0x0;_0x21f130<_0x131ad2;_0x21f130++){const _0xb3c8b2={...(_0x108b4d=(_0xc0080d=_0x2b5118[_0x3c5227(0x1c5)])==null?void 0x0:_0xc0080d[_0x563ca8])==null?void 0x0:_0x108b4d[_0x21f130]};let _0x53b60d;_0x549c7d[_0x3c5227(0x386)][_0x563ca8]['isBottomTotal']?_0x53b60d=_0x549c7d[_0x3c5227(0x386)][_0x563ca8][_0x3c5227(0x41c)]===0x0?fe['grandTotal']:fe[_0x3c5227(0x396)]:_0x53b60d=fe[_0x3c5227(0x357)];const _0x5da93f=_0x549c7d[_0x3c5227(0x386)][_0x563ca8][_0x3c5227(0x265)],_0x2fa1d8=_0xac5c5['info'][_0x21f130][_0x3c5227(0x265)],_0x7d942e=Math[_0x3c5227(0x3b0)](_0x5da93f,_0x2fa1d8),_0x269e5d=_0x2e2ccd['fieldsConfig']['valueFields'][_0x3c5227(0x2d2)]();let _0x4cf8bf='';_0x7d942e<0x0?_0x4cf8bf=(_0x17e178=_0x269e5d[0x0])!=null?_0x17e178:'':_0x4cf8bf=(_0x3746a4=_0x269e5d[_0x7d942e])!=null?_0x3746a4:'';const _0x4a1d0d=_0x3d89e2[_0x4cf8bf];_0x4a1d0d&&(_0x53b60d={..._0x53b60d,'n':{'pattern':_0x4a1d0d}}),_0x2bf6de[_0x3c5227(0x1ba)](_0x563ca8+_0x50147e,_0x21f130+_0x13545f,tt(_0x3234c5,_0xb3c8b2,_0x53b60d));}return{'valueMatrix':_0x2bf6de,'rowInfo':_0x35ccda,'colInfo':_0x30f7ad,'cornerInfo':_0x53f504,'rowHeaderMap':_0x37d5d1,'colHeaderMap':_0x122b68};};function ht(_0x23fd80,_0x4b6b4f,_0x4172b4,_0x58031e){const _0x4fee92=_0x91438c;let _0x20b30d=_0x23fd80['v'];_0x4b6b4f&&(_0x20b30d=''+_0x58031e[_0x4fee92(0x230)]);const _0x579e36=_0x23fd80['t']&&(_0x23fd80['t']&_0x50fec6['blank'])>0x0;_0x579e36&&(_0x20b30d=''+_0x58031e[_0x4fee92(0x427)]);const _0x80e917=_0x23fd80['t']&&(_0x23fd80['t']&_0x50fec6[_0x4fee92(0x275)])>0x0;if(_0x80e917&&(_0x20b30d=''+_0x58031e[_0x4fee92(0x1b4)]),_0x23fd80['s']===_0x43e39f[_0x4fee92(0x201)]){let _0x5c5698=_0x20b30d,_0x140af6='';_0x11acd0(_0x20b30d)&&(_0x5c5698=_0x20b30d['prefix'],_0x140af6=_0x20b30d['value']);const _0x56bb41=_0x4172b4&&!_0x579e36&&!_0x80e917?_0xc18a5d[_0x4fee92(0x425)](_0x4172b4,Number(_0x5c5698)):_0x5c5698;_0x140af6?_0x20b30d=_0x56bb41+'\x20'+_0x140af6:_0x20b30d=_0x56bb41+'\x20'+_0x58031e[_0x4fee92(0x421)];}else _0x23fd80['s']===_0x43e39f['GrandTotal']&&(_0x20b30d=_0x20b30d+'\x20'+_0x58031e['sheets-pivot.grandTotal']);return _0x20b30d;}function $o(_0x3b3ec5){const _0x420b9b=_0x91438c;if(_0x5a88b1(_0x3b3ec5)){const {errorType:_0x3fb2f6}=_0x3b3ec5;switch(_0x3fb2f6){case _0x18a99e[_0x420b9b(0x413)]:return _0x52f7f8[_0x420b9b(0x233)];case _0x18a99e[_0x420b9b(0x2e7)]:return _0x52f7f8[_0x420b9b(0x3bd)];case _0x18a99e[_0x420b9b(0x1bf)]:return _0x52f7f8[_0x420b9b(0x1ef)];case _0x18a99e[_0x420b9b(0x39f)]:return _0x52f7f8['NAME'];case _0x18a99e['BadReference']:return _0x52f7f8[_0x420b9b(0x20d)];}}return _0x3b3ec5;}function ge(_0x10b576,_0x2aef53,_0x279f57=!0x1,_0x594a00=!0x1){const _0x1f7d08=_0x91438c,{data:_0x1eb939}=_0x2aef53,_0x2287df=_0x2aef53[_0x1f7d08(0x1ce)](),_0x30e0ce=_0x2aef53[_0x1f7d08(0x27f)]();if(_0x2287df<=0x0||_0x30e0ce<=0x0)return[];const _0x478277=_0x2aef53[_0x1f7d08(0x335)](),_0x365049=_0x2aef53['getLastRow'](),_0x32bf44=_0x594a00?_0x365049>=0x0?_0x365049+0x1:0x0:_0x2287df,_0x565a4c=_0x594a00?_0x478277>=0x0?_0x478277+0x1:0x0:_0x30e0ce,{row:_0x544264,col:_0x3fd162}=_0x10b576,_0x5c9be8=_0x544264,_0x3f0ac3=_0x3fd162;if(_0x279f57){const _0x1ff66c=[];for(const [_0x4978c3,_0x1e73bb]of Object['entries'](_0x1eb939))for(const [_0x16e1e0,_0x605736]of Object[_0x1f7d08(0x2ab)](_0x1e73bb))_0x1ff66c[_0x1f7d08(0x3fe)](_0x540207(_0x5c9be8+Number(_0x4978c3),_0x3f0ac3+Number(_0x16e1e0)));return _0x1ff66c;}else{const _0x5d8470=_0x594a00?_0x32bf44>0x0?0x1:0x0:0x1,_0x21d85a=_0x594a00?_0x565a4c>0x0?0x1:0x0:0x1,_0x97052c=_0x544264+_0x32bf44-_0x5d8470,_0x33d81b=_0x3fd162+_0x565a4c-_0x21d85a;return[{'startRow':_0x5c9be8,'startColumn':_0x3f0ac3,'endRow':_0x97052c,'endColumn':_0x33d81b}];}}const Y=_0x91438c(0x3da),Bt=_0x91438c(0x1b5);var k=(_0x28be7e=>(_0x28be7e[_0x91438c(0x41b)]=_0x91438c(0x3ad),_0x28be7e[_0x91438c(0x27b)]=_0x91438c(0x3aa),_0x28be7e[_0x91438c(0x388)]=_0x91438c(0x33b),_0x28be7e[_0x91438c(0x2b5)]='AddPivotTableWithConfig',_0x28be7e['AddPivotTable']=_0x91438c(0x1f6),_0x28be7e[_0x91438c(0x3c3)]=_0x91438c(0x353),_0x28be7e['RemovePivotField']=_0x91438c(0x3ce),_0x28be7e[_0x91438c(0x3b7)]=_0x91438c(0x27a),_0x28be7e[_0x91438c(0x40a)]=_0x91438c(0x1c0),_0x28be7e[_0x91438c(0x24e)]='setPivotSort',_0x28be7e[_0x91438c(0x256)]=_0x91438c(0x2f5),_0x28be7e[_0x91438c(0x1f2)]=_0x91438c(0x2a9),_0x28be7e['UpdateValuePosition']=_0x91438c(0x351),_0x28be7e['DrillDown']='drillDown',_0x28be7e[_0x91438c(0x21b)]=_0x91438c(0x37b),_0x28be7e[_0x91438c(0x283)]='setPivotTableConfig',_0x28be7e['ResetPivotTable']=_0x91438c(0x40e),_0x28be7e))(k||{});const Mi={'sheets-pivot.blankValue':_0x91438c(0x2e6),'sheets-pivot.columnName':_0x91438c(0x2f8),'sheets-pivot.subTotalText':_0x91438c(0x271),'sheets-pivot.grandTotalText':_0x91438c(0x322),'sheets-pivot.valueText':_0x91438c(0x36d),'sheets-pivot.averageName':_0x91438c(0x266),'sheets-pivot.countName':_0x91438c(0x2cd),'sheets-pivot.countNumsName':_0x91438c(0x2cd),'sheets-pivot.maxName':_0x91438c(0x3bf),'sheets-pivot.minName':_0x91438c(0x30b),'sheets-pivot.productName':_0x91438c(0x1e1),'sheets-pivot.stdDevName':_0x91438c(0x409),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x91438c(0x3a1),'sheets-pivot.varName':_0x91438c(0x2b3),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x91438c(0x201),'sheets-pivot.grandTotal':_0x91438c(0x322),'sheets-pivot.value':_0x91438c(0x24d),'sheets-pivot.blank':_0x91438c(0x1f9),'sheets-pivot.other':_0x91438c(0x275),'sheets-pivot.emptyPivot.filter':_0x91438c(0x41b),'sheets-pivot.emptyPivot.row':_0x91438c(0x34a),'sheets-pivot.emptyPivot.column':_0x91438c(0x41d),'sheets-pivot.emptyPivot.values':'Values'},yo={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x150235('pivotPerformCheck'),Xo=_0x461231(_0x91438c(0x3cb));var Le=(_0x52c266=>(_0x52c266[_0x91438c(0x1eb)]=_0x91438c(0x1eb),_0x52c266[_0x91438c(0x21e)]='delete',_0x52c266['update']='update',_0x52c266))(Le||{}),J=(_0x21f6e6=>(_0x21f6e6[_0x91438c(0x33a)]=_0x91438c(0x1eb),_0x21f6e6[_0x91438c(0x20b)]=_0x91438c(0x3bc),_0x21f6e6['Delete']=_0x91438c(0x21e),_0x21f6e6))(J||{});const ro={'type':_0x2e18c8[_0x91438c(0x318)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},lo={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x331),'handler':()=>!0x0},Dt={'type':_0x2e18c8[_0x91438c(0x318)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},co={'type':_0x2e18c8['MUTATION'],'id':_0x91438c(0x399),'handler':()=>!0x0},uo={'type':_0x2e18c8['MUTATION'],'id':_0x91438c(0x3a2),'handler':()=>!0x0};var Fi=Object[_0x91438c(0x26b)],wi=(_0x281fd4,_0x547ee3,_0x415cae,_0x5cfb0a)=>{const _0x442fe1=_0x91438c;for(var _0x59bd67=_0x5cfb0a>0x1?void 0x0:_0x5cfb0a?Fi(_0x547ee3,_0x415cae):_0x547ee3,_0x359a5c=_0x281fd4[_0x442fe1(0x3e7)]-0x1,_0x5121c2;_0x359a5c>=0x0;_0x359a5c--)(_0x5121c2=_0x281fd4[_0x359a5c])&&(_0x59bd67=_0x5121c2(_0x59bd67)||_0x59bd67);return _0x59bd67;},_i=(_0x43be91,_0x103119)=>(_0x59235e,_0xa165b5)=>_0x103119(_0x59235e,_0xa165b5,_0x43be91);let z=class extends _0x5353ba{constructor(_0x519106){const _0x36c5f7=_0x91438c;super(),N(this,_0x36c5f7(0x1d3),new Map()),this[_0x36c5f7(0x384)]=_0x519106;}['handleAsyncResponse'](_0x1ee8bd){const _0x3dd748=_0x91438c,{version:_0x288e8b}=_0x1ee8bd,_0x392c00=this[_0x3dd748(0x1d3)][_0x3dd748(0x274)](_0x288e8b);_0x392c00&&(_0x392c00(_0x1ee8bd),this['_requestResolvers']['delete'](_0x288e8b));}[_0x91438c(0x328)](_0x224148){return new Promise((_0x3f29f7,_0x488d16)=>{const _0x284dd7=_0x3105,_0x9bef46=this[_0x284dd7(0x28f)]();this[_0x284dd7(0x1d3)][_0x284dd7(0x3bc)](_0x9bef46,_0x3f29f7),this[_0x284dd7(0x384)]['executeCommand'](ro['id'],{'version':_0x9bef46,..._0x224148},{'onlyLocal':!0x0});});}[_0x91438c(0x28f)](){return Math['random']()['toString'](0x24)['substring'](0x2,0x10);}};z=wi([_i(0x0,_0x431452(_0xa7b251))],z);const Go={0x0:'R',0x1:'b',0x2:'3',0x3:'W',0x4:'K',0x5:'B',0x6:'z',0x7:'A',0x8:'F',0x9:'v','D':'0','W':'1','G':'2','v':'4','s':'5','Y':'6','C':'7','S':'8','O':'9','g':'a','d':'c','J':'d','X':'e','n':'f','p':'g','c':'h','f':'i','H':'j','B':'k','l':'l','t':'m','V':'n','I':'o','Z':'p','m':'q','y':'r','F':'s','a':'t','R':'u','Q':'w','b':'x','N':'y','P':'C','E':'D','L':'E','h':'G','r':'H','q':'I','j':'J','K':'L','U':'M','M':'N','u':'O','T':'P','i':'Q','x':'S','o':'T','A':'U','e':'V','w':'X','z':'Y','k':'Z'},Wo=_0x91438c(0x3cc),Ri=_0x448a7d=>{const _0x6763da=_0x91438c;var _0x3f1f37;return((_0x3f1f37=_0x448a7d['body'])==null?void 0x0:_0x3f1f37[_0x6763da(0x1cf)]['replace'](/\r\n$/,''))||'';};class Di extends _0x3fdd5b{constructor(_0x28cbc9,_0x1838d8){const _0x480362=_0x91438c;super(),N(this,_0x480362(0x390),{}),N(this,_0x480362(0x22e)),N(this,_0x480362(0x1ee)),(this[_0x480362(0x22e)]=_0x1838d8,this['_host']=_0x28cbc9);}['initDataRanges'](){const _0x1526c1=_0x91438c;for(const _0x56985d in this[_0x1526c1(0x282)]){const _0x4d96fb=this[_0x1526c1(0x282)][_0x56985d],_0x343b0c=_0x4d96fb[_0x1526c1(0x3f7)]();this['rangeKeyMap'][_0x343b0c]=_0x4d96fb[_0x1526c1(0x403)]();}}[_0x91438c(0x1dd)](){const _0x530efb=_0x91438c,_0x46d08f=this[_0x530efb(0x1ee)];return Ai[_0x530efb(0x429)](_0x46d08f);}[_0x91438c(0x1d7)](_0x4c8cf8){const _0x102737=_0x91438c,_0x5f5500=this['dataFields'][_0x4c8cf8]['rangeKey'];delete this[_0x102737(0x282)][_0x4c8cf8],delete this[_0x102737(0x390)][_0x5f5500];}[_0x91438c(0x3a8)](_0x2666f7){const _0x115446=_0x91438c;this[_0x115446(0x282)][_0x2666f7[_0x115446(0x403)]()]=_0x2666f7;}[_0x91438c(0x1b3)](_0x24d177){const _0x378815=_0x91438c;var _0x4db1ae,_0x23761a;const _0x17dc19=this[_0x378815(0x1ee)][_0x378815(0x2ba)](_0x24d177);if(_0x17dc19){const {unitId:_0x57e307,subUnitId:_0x4fd36b}=_0x17dc19,_0x514be2=(_0x4db1ae=this[_0x378815(0x1ee)]['getPivotTableConfig'](_0x57e307,_0x4fd36b,_0x24d177))==null?void 0x0:_0x4db1ae[_0x378815(0x407)];this[_0x378815(0x1ee)][_0x378815(0x41a)]({'token':_0x24d177,'type':Le[_0x378815(0x21e)],'dataRangeInfo':_0x514be2});}(_0x23761a=this[_0x378815(0x232)](_0x24d177))==null||_0x23761a[_0x378815(0x3b3)](),delete this['collections'][_0x24d177];}[_0x91438c(0x3f7)](_0x32ff05,_0x1df196){const {sheetName:_0x4730af,unitId:_0x3baecd,range:_0x29b56b}=_0x32ff05,{startRow:_0x23f960,endRow:_0x3fe008}=_0x29b56b;return _0x267cef(_0x3baecd,_0x4730af,{'startRow':_0x23f960,'endRow':_0x3fe008,'startColumn':_0x1df196,'endColumn':_0x1df196});}['getDataFieldByRangeKey'](_0x2369ed){const _0x5bfe30=_0x91438c;return this['dataFields'][this[_0x5bfe30(0x390)][_0x2369ed]];}['setRangeKeyMap'](_0x2e9f51,_0x32305d){this['rangeKeyMap'][_0x2e9f51]=_0x32305d;}[_0x91438c(0x235)](_0x12c0ea,_0x47c8c2){const _0x3016ea=_0x91438c;this[_0x3016ea(0x390)][_0x47c8c2]=this[_0x3016ea(0x390)][_0x12c0ea],delete this[_0x3016ea(0x390)][_0x12c0ea];}[_0x91438c(0x2e4)](_0x568568,_0x3d3a0b,_0xb7a652,_0x2fd03d){const _0x3f0388=_0x91438c,_0x30d6ce=new _0x1a19f2(this);_0x30d6ce[_0x3f0388(0x3ea)](_0x3d3a0b);const _0x156173=[];let _0x1faebb=0x0;for(const _0x4b4d6d of _0x30d6ce[_0x3f0388(0x2b8)]){const _0x3de4a2=this[_0x3f0388(0x3f7)](_0xb7a652,_0x1faebb),_0x5b6cf2=this[_0x3f0388(0x282)][_0x4b4d6d];_0x5b6cf2&&(_0x5b6cf2[_0x3f0388(0x3cd)]=_0x3de4a2,this['setRangeKeyMap'](_0x3de4a2,_0x4b4d6d),_0x156173[_0x3f0388(0x3fe)]({'index':_0x1faebb,'dataField':_0x5b6cf2})),_0x1faebb++;}return this[_0x3f0388(0x40b)](_0x568568,_0x30d6ce,_0xb7a652,_0x2fd03d),{'collection':_0x30d6ce,'updateDataFieldList':_0x156173};}['getRangeStartEndInfo'](_0x39f7b0,_0x465377){const _0x54e113=_0x91438c;return _0x39f7b0[_0x54e113(0x23e)]===_0x5692f0[_0x54e113(0x21d)]?{'startRow':0x0,'startColumn':_0x39f7b0[_0x54e113(0x2ee)],'endRow':_0x465377[_0x54e113(0x1ce)]()-0x1,'endColumn':_0x39f7b0[_0x54e113(0x377)]}:{'startRow':_0x39f7b0[_0x54e113(0x34c)],'startColumn':_0x39f7b0[_0x54e113(0x2ee)],'endRow':_0x39f7b0[_0x54e113(0x25c)],'endColumn':_0x39f7b0[_0x54e113(0x377)]};}['createCollectionWithDataRange'](_0x1fac7e){const _0x543782=_0x91438c,{sheetName:_0x968ff9,range:_0x3f3292}=_0x1fac7e,_0x4383e7=this[_0x543782(0x22e)][_0x543782(0x1d0)](_0x102cba[_0x543782(0x297)]),_0x429eff=_0x4383e7[_0x543782(0x363)](_0x968ff9),_0x1bcf89=_0x429eff[_0x543782(0x3ac)](),{startColumn:_0x426be8,startRow:_0x4d786f,endColumn:_0x311560}=this[_0x543782(0x375)](_0x3f3292,_0x429eff),_0x466866=_0x4383e7['getStyles'](),_0x2022a5=new _0x1a19f2(this);_0x2022a5[_0x543782(0x32e)](_0x1fac7e);const _0x3f2787=[],_0x2d6802={};for(let _0x71d9cc=_0x426be8;_0x71d9cc<=_0x311560;_0x71d9cc++){const _0x185e8b=_0x1bcf89['getValue'](_0x4d786f,_0x71d9cc),_0x353d91=this[_0x543782(0x3f7)](_0x1fac7e,_0x71d9cc),_0x5cd3dc=this[_0x543782(0x287)](_0x353d91);if(_0x5cd3dc)_0x2022a5['addField'](_0x5cd3dc[_0x543782(0x403)](),_0x5cd3dc[_0x543782(0x30e)]());else{const _0x822a20=this[_0x543782(0x37f)]();let _0x4b718d=this['adjustSheetCellData'](_0x185e8b,_0x466866,_0x2d6802);_0xc79f0b(_0x4b718d)&&(_0x4b718d=_0xc18a5d['format'](_0x4b718d['f'],Number(_0x4b718d['v'])));const _0x14a304=this[_0x543782(0x260)](_0x4b718d,_0x71d9cc),_0x1ead0a=new _0x7a9bf0(_0x822a20,_0x14a304,_0x387c10(0x3));_0x1ead0a[_0x543782(0x3cd)]=_0x353d91,this[_0x543782(0x282)][_0x822a20]=_0x1ead0a,_0x2022a5[_0x543782(0x381)](_0x822a20,_0x14a304),_0x3f2787['push']({'index':_0x71d9cc,'dataField':_0x1ead0a});}}return{'updateDataFieldList':_0x3f2787,'collection':_0x2022a5};}[_0x91438c(0x2df)](_0x1ed19e){const _0x462450=_0x91438c;return this[_0x462450(0x1ee)][_0x462450(0x352)]()[_0x462450(0x2da)]+'\x20'+_0x2aaf1c(_0x1ed19e);}[_0x91438c(0x260)](_0x30dd7a,_0x190a3f){const _0x4625aa=_0x91438c;return _0x30dd7a==null||_0x30dd7a===''?this[_0x4625aa(0x2df)](_0x190a3f):String(_0x30dd7a);}[_0x91438c(0x232)](_0x5530ee){const _0x5c1c83=_0x91438c;return this[_0x5c1c83(0x391)][_0x5530ee];}[_0x91438c(0x40b)](_0x5726f6,_0xf1a5a2,_0x43c8f3,_0x38bae0){const _0x869380=_0x91438c;this[_0x869380(0x391)][_0x5726f6]=_0xf1a5a2,_0xf1a5a2[_0x869380(0x32e)](_0x43c8f3),this[_0x869380(0x1ee)][_0x869380(0x41a)]({'token':_0x5726f6,'type':Le[_0x869380(0x1eb)],'dataRangeInfo':_0x43c8f3,'targetCellInfo':_0x38bae0});}[_0x91438c(0x2f9)](_0x5ccbb7,_0x4ef3e7){const _0x37be30=_0x91438c,_0x20a4ae=this[_0x37be30(0x232)](_0x5ccbb7),_0x158bcf=_0x20a4ae[_0x37be30(0x2b9)]();let _0x556e27=0x0;for(const _0x5f4808 of _0x158bcf){const _0x528778=_0x20a4ae[_0x37be30(0x2bd)](_0x5f4808),_0x390081=this[_0x37be30(0x3f7)](_0x4ef3e7,_0x556e27);this['updateRangeKeyMap'](_0x528778['rangeKey'],_0x390081),_0x556e27++;}}[_0x91438c(0x2cc)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x91438c(0x1dc)](_0x26ae65,_0x4f4cea){const _0x413006=_0x91438c;if(this[_0x413006(0x232)](_0x26ae65)){const _0x2e7878=this[_0x413006(0x288)](_0x4f4cea),_0x5d2126=[];for(const _0x3c8a6d of _0x2e7878)this[_0x413006(0x390)][_0x3c8a6d]!==void 0x0&&_0x5d2126['push'](this[_0x413006(0x390)][_0x3c8a6d]);const _0x2c4e15=this['getNoUsedDataFieldIds'](_0x26ae65),_0xd7f564=[],_0x1a6b60=new Set(_0x5d2126);for(const _0x1e69c0 of _0x2c4e15)_0x1a6b60[_0x413006(0x35d)](_0x1e69c0)||_0xd7f564[_0x413006(0x3fe)](_0x1e69c0);return _0xd7f564;}}[_0x91438c(0x279)](_0x2d602c,_0x2ae484,_0x12b417,_0x5d02e6,_0x3f3daf){const _0x1a86a3=_0x91438c;return _0x2ae484&&_0x2ae484[_0x1a86a3(0x344)](_0x5d02e6,_0x3f3daf)?_0x2ae484[_0x1a86a3(0x344)](_0x5d02e6,_0x3f3daf):_0x12b417&&_0x12b417['getValue'](_0x5d02e6,_0x3f3daf)?_0x12b417['getValue'](_0x5d02e6,_0x3f3daf):_0x2d602c[_0x1a86a3(0x344)](_0x5d02e6,_0x3f3daf);}[_0x91438c(0x29c)](_0x13a85e,_0x2aa785,_0x1ab527,_0x1bd7c1){const _0x131331=_0x91438c,_0x4b1902=this[_0x131331(0x282)][_0x13a85e];if(!_0x4b1902)return;const {subUnitId:_0x2b02f8,range:_0x2955f2,unitId:_0x5c64fb}=_0x2aa785,_0x39e996=this[_0x131331(0x22e)][_0x131331(0x2f0)](_0x5c64fb);if(!_0x39e996){console[_0x131331(0x2e2)](_0x131331(0x33f));return;}const _0x205eb9=_0x39e996['getSheetBySheetId'](_0x2b02f8),_0x3e9a8d=_0x205eb9[_0x131331(0x3ac)](),{arrayFormulaCellDataMatrix:_0x4eca17,unitDataMatrix:_0x33f6f4}=_0x1bd7c1||{},{startRow:_0x5de23c,startColumn:_0x4ba93e,endRow:_0x3b9634}=this[_0x131331(0x375)](_0x2955f2,_0x205eb9);_0x4b1902[_0x131331(0x23a)]();const _0x319ede=_0x39e996[_0x131331(0x334)](),_0x2fc2d8={},_0x369e09=this['getMatrixValue'](_0x3e9a8d,_0x4eca17,_0x33f6f4,_0x5de23c,_0x4ba93e+_0x1ab527);let _0x4bb441=this[_0x131331(0x247)](_0x369e09,_0x319ede,_0x2fc2d8);_0xc79f0b(_0x4bb441)&&(_0x4bb441=_0xc18a5d[_0x131331(0x425)](_0x4bb441['f'],Number(_0x4bb441['v'])));const _0x4aeab8=this['uniqueDataFieldName'](_0x4bb441,_0x4ba93e+_0x1ab527);_0x4b1902['setName'](_0x4aeab8);for(let _0x58adac=_0x5de23c+0x1;_0x58adac<=_0x3b9634;_0x58adac++){const _0x459308=this[_0x131331(0x279)](_0x3e9a8d,_0x4eca17,_0x33f6f4,_0x58adac,_0x4ba93e+_0x1ab527);_0x4b1902['addRecord'](this[_0x131331(0x247)](_0x459308,_0x319ede,_0x2fc2d8),_0x58adac-0x1-_0x5de23c);}}[_0x91438c(0x2a3)](_0x32dfb5,_0x26ab75,_0x586e95){const _0x2d2255=_0x91438c,{subUnitId:_0x41c346,range:_0x213ac3,unitId:_0x3a54ac}=_0x586e95,_0x228431=this[_0x2d2255(0x22e)][_0x2d2255(0x2f0)](_0x3a54ac);if(!_0x228431){console[_0x2d2255(0x2e2)](_0x2d2255(0x33f));return;}const _0x42c714=_0x228431[_0x2d2255(0x243)](_0x41c346),_0x2fa7c2=_0x42c714['getCellMatrix'](),{startRow:_0x4a701f,startColumn:_0x3e58ca,endRow:_0x2898de}=this[_0x2d2255(0x375)](_0x213ac3,_0x42c714),_0x2562a8=_0x228431['getStyles'](),_0x4378b4={};for(const {dataField:_0x1770e9,index:_0x36d4b6}of _0x26ab75){_0x1770e9[_0x2d2255(0x23a)]();const _0x188dba=this['getMatrixValue'](_0x2fa7c2,void 0x0,void 0x0,_0x4a701f,_0x3e58ca+_0x36d4b6);let _0x4dec9f=this[_0x2d2255(0x247)](_0x188dba,_0x2562a8,_0x4378b4);_0xc79f0b(_0x4dec9f)&&(_0x4dec9f=_0xc18a5d[_0x2d2255(0x425)](_0x4dec9f['f'],Number(_0x4dec9f['v'])));const _0x3b6c5c=this[_0x2d2255(0x260)](_0x4dec9f,_0x3e58ca+_0x36d4b6);_0x1770e9['setName'](_0x3b6c5c);}_0x32dfb5['updateAllDisplayName']();for(let _0x63ea2f=_0x4a701f+0x1;_0x63ea2f<=_0x2898de;_0x63ea2f++)for(const {index:_0x2220bc,dataField:_0x39b3d4}of _0x26ab75){const _0x2489e4=_0x2fa7c2[_0x2d2255(0x344)](_0x63ea2f,_0x3e58ca+_0x2220bc);_0x39b3d4['addRecord'](this['adjustSheetCellData'](_0x2489e4,_0x2562a8,_0x4378b4),_0x63ea2f-0x1-_0x4a701f);}_0x32dfb5[_0x2d2255(0x419)](_0x2898de-_0x4a701f);}[_0x91438c(0x288)](_0x41d5ef){const _0x30f330=_0x91438c,{range:_0x412d0d}=_0x41d5ef,{startColumn:_0x5171c5,endColumn:_0x848080}=_0x412d0d,_0x4be803=[];for(let _0x592ff4=_0x5171c5;_0x592ff4<=_0x848080;_0x592ff4++)_0x4be803[_0x30f330(0x3fe)](this[_0x30f330(0x3f7)](_0x41d5ef,_0x592ff4));return _0x4be803;}['adjustSheetCellData'](_0x124c2c,_0x5636ff,_0x447f41){const _0xcbcd48=_0x91438c;if(_0x124c2c){const {s:_0x2d2dc5,v:_0x2745b4,t:_0x19178a,p:_0x4d4310}=_0x124c2c;if(_0x4d4310)return Ri(_0x4d4310);const _0x27e074=_0x5636ff[_0xcbcd48(0x274)](_0x2d2dc5);if(_0x27e074&&_0x19178a===_0x5eab4b[_0xcbcd48(0x2d0)]&&_0x27e074['n']){const {pattern:_0x30b657}=_0x27e074['n'];_0x447f41[_0x30b657]||(_0x447f41[_0x30b657]=_0xc18a5d[_0xcbcd48(0x32d)](_0x30b657));const _0x4350a8=_0x447f41[_0x30b657],_0x1c5c7c=_0x4350a8[_0xcbcd48(0x2ce)];if(_0x4350a8[_0xcbcd48(0x214)])return String(_0x2745b4);if(_0x1c5c7c)return{'v':_0x2745b4,'f':_0x30b657};}if(_0x19178a===_0x5eab4b[_0xcbcd48(0x2d0)])return Number(_0x2745b4);if(_0x19178a===_0x5eab4b[_0xcbcd48(0x31a)]||_0x19178a===_0x5eab4b[_0xcbcd48(0x1d2)])return String(_0x2745b4);if(_0x19178a===void 0x0){const _0x57b0ec=Number(_0x2745b4);if(!Number[_0xcbcd48(0x280)](_0x57b0ec)&&String(_0x57b0ec)===_0x2745b4)return _0x57b0ec;}return _0x2745b4!=null?_0x2745b4:null;}else return null;}[_0x91438c(0x264)](_0x3a7452){const _0x1a30cc=_0x91438c,{sheetName:_0x21863d,range:_0x331a64,unitId:_0x21817e}=_0x3a7452,_0x57531e=this[_0x1a30cc(0x22e)]['getUnit'](_0x21817e);if(!_0x57531e)return console[_0x1a30cc(0x2e2)](_0x1a30cc(0x33f)),{'header':[],'data':[]};const _0x41271a=_0x57531e['getSheetBySheetName'](_0x21863d),_0x13ea99=_0x41271a['getCellMatrix'](),{startRow:_0x3ee0f9,startColumn:_0xcc7d52,endRow:_0x5df73a,endColumn:_0x21967e}=this['getRangeStartEndInfo'](_0x331a64,_0x41271a),_0x62a8=_0x57531e[_0x1a30cc(0x334)](),_0x1e2a6a=[],_0x11ef8d=[],_0x1c4456={};for(let _0x3fbef5=_0x3ee0f9;_0x3fbef5<=_0x5df73a;_0x3fbef5++){const _0x437494=[];for(let _0x5a8c72=_0xcc7d52;_0x5a8c72<=_0x21967e;_0x5a8c72++){const _0x35f2c3=_0x13ea99[_0x1a30cc(0x344)](_0x3fbef5,_0x5a8c72);_0x3fbef5===_0x3ee0f9?_0x1e2a6a['push'](_0x35f2c3==null?null:String(_0x35f2c3['v'])):_0x437494['push'](this[_0x1a30cc(0x247)](_0x35f2c3,_0x62a8,_0x1c4456));}_0x11ef8d[_0x1a30cc(0x3fe)](_0x437494);}return{'header':_0x1e2a6a,'data':_0x11ef8d};}[_0x91438c(0x2e3)](){const _0x28deab=_0x91438c;return super[_0x28deab(0x2e3)]();}['fromJSON'](_0x170732){const _0x348025=_0x91438c;super[_0x348025(0x3ea)](_0x170732),this[_0x348025(0x327)]();}[_0x91438c(0x3b3)](){const _0x394d91=_0x91438c;super['dispose'](),this[_0x394d91(0x390)]={},this[_0x394d91(0x1ee)]=null;}}const Vi=_0x429468=>{const _0x4bd41e=_0x91438c,{targetCellInfo:_0x29e073}=_0x429468,{matrixCache:_0x1c587e,rangesCache:_0x23a20e}=jo({'filter':_0x4bd41e(0x41b),'row':_0x4bd41e(0x34a),'column':_0x4bd41e(0x41d),'values':_0x4bd41e(0x1b0)},_0x29e073),_0x26046a=new _0x17d6f8();return _0x1c587e['forValue']((_0x4f6306,_0x3926cf,_0x8159d6)=>{const _0x55aa02=_0x4bd41e;_0x26046a[_0x55aa02(0x1ba)](_0x4f6306,_0x3926cf,_0x8159d6);}),{'matrix':_0x26046a,'rangesCache':_0x23a20e};},ot=_0x503fb0=>{const _0x11e71f=_0x91438c;let _0x12bea4;if(_0x503fb0!=null&&_0x503fb0['v']||(_0x503fb0==null?void 0x0:_0x503fb0['v'])===0x0){_0x12bea4||(_0x12bea4={});const _0x45cdb8=$o(_0x503fb0['v']);typeof _0x45cdb8==_0x11e71f(0x242)?_0x12bea4['t']=_0x5eab4b[_0x11e71f(0x2d0)]:typeof _0x45cdb8==_0x11e71f(0x1e0)&&(_0x12bea4['t']=_0x5eab4b['STRING']),_0x12bea4['v']=_0x45cdb8;}return _0x12bea4;},Ni=(_0x28dace,_0x4c8740,_0xa5e68c)=>{const _0x4eb83d=_0x91438c;var _0x268a8b,_0x8f28ba,_0xdf85b3,_0x26b909,_0x5a06aa,_0xabd2fa,_0x1d82b6,_0x2ab824,_0x109a96,_0x1c20ad,_0x3b2fad,_0xfd68e;const {cornerView:_0x4ac5bb,rowView:_0x53ead6,colView:_0x30996a,dataView:_0x3ae210,pageView:_0x12cbe3,formatMap:_0x287fe9}=_0x28dace,{row:_0x130b72,col:_0x31783b}=_0x4c8740,_0x3f10ca=new _0x17d6f8();let _0x10778e=_0x130b72,_0x2f3237=_0x31783b;Object[_0x4eb83d(0x31c)](_0x12cbe3[_0x4eb83d(0x1c5)])[_0x4eb83d(0x342)](_0x9cd624=>{const _0x25f38c=_0x4eb83d;Object[_0x25f38c(0x31c)](_0x12cbe3[_0x25f38c(0x1c5)][Number(_0x9cd624)])[_0x25f38c(0x342)](_0x5ad3f4=>{const _0x1e29cc=_0x25f38c,_0x2bdf6e={..._0x12cbe3[_0x1e29cc(0x1c5)][Number(_0x9cd624)][Number(_0x5ad3f4)]};_0x3f10ca[_0x1e29cc(0x1ba)](Number(_0x9cd624)+_0x10778e,Number(_0x5ad3f4)+_0x2f3237,ot(_0x2bdf6e));});});const _0x59736c=Object[_0x4eb83d(0x31c)](_0x12cbe3['data'])[_0x4eb83d(0x3e7)];_0x10778e+=_0x59736c+(_0x59736c?mt:0x0);const _0x5ae7dd=_0x4ac5bb[_0x4eb83d(0x1ce)](),_0x1e8ea8=_0x4ac5bb[_0x4eb83d(0x27f)]();for(let _0x5f087=0x0;_0x5f087<_0x5ae7dd;_0x5f087++)for(let _0x72a05e=0x0;_0x72a05e<_0x1e8ea8;_0x72a05e++){const _0x48403b={...(_0x8f28ba=(_0x268a8b=_0x4ac5bb[_0x4eb83d(0x1c5)])==null?void 0x0:_0x268a8b[_0x5f087])==null?void 0x0:_0x8f28ba[_0x72a05e]};_0x48403b&&((_0xdf85b3=_0x53ead6[_0x4eb83d(0x1c3)][_0x72a05e])!=null&&_0xdf85b3['isValue'])&&_0x72a05e===_0x1e8ea8-0x1&&_0x5f087===_0x5ae7dd-0x1&&(_0x48403b['v']=''+_0xa5e68c['sheets-pivot.value']),_0x3f10ca[_0x4eb83d(0x1ba)](_0x5f087+_0x10778e,_0x72a05e+_0x2f3237,ot(_0x48403b));}_0x2f3237+=_0x1e8ea8;const _0x2dc06c=_0x30996a[_0x4eb83d(0x1c3)],_0x2e312b=_0x30996a['getLastRow']()>=0x0?_0x30996a[_0x4eb83d(0x2fd)]()+0x1:0x0,_0x12eb1a=_0x30996a[_0x4eb83d(0x335)]()>=0x0?_0x30996a[_0x4eb83d(0x335)]()+0x1:0x0;for(let _0x32a57b=0x0;_0x32a57b<_0x12eb1a;_0x32a57b++)for(let _0x4a8210=0x0;_0x4a8210<_0x2e312b;_0x4a8210++){const _0x10f161={...(_0x5a06aa=(_0x26b909=_0x30996a['data'])==null?void 0x0:_0x26b909[_0x32a57b])==null?void 0x0:_0x5a06aa[_0x4a8210]},_0x2c7d69=(_0xabd2fa=_0x2dc06c[_0x32a57b])==null?void 0x0:_0xabd2fa[_0x4eb83d(0x1cd)],_0x1716d8=_0x287fe9[_0x2c7d69];_0x10f161&&(_0x10f161['v']=ht(_0x10f161,_0x32a57b===0x0&&((_0x1d82b6=_0x30996a[_0x4eb83d(0x341)](_0x4a8210+0x1))==null?void 0x0:_0x1d82b6['isValue']),_0x1716d8,_0xa5e68c)),_0x3f10ca[_0x4eb83d(0x1ba)](_0x32a57b+_0x10778e,_0x4a8210+_0x2f3237,ot(_0x10f161));}_0x10778e+=_0x5ae7dd;const _0x1f7020=_0x53ead6[_0x4eb83d(0x1c3)],_0x2712dc=_0x53ead6[_0x4eb83d(0x2fd)]()>=0x0?_0x53ead6['getLastRow']()+0x1:0x0,_0x52d44b=_0x53ead6[_0x4eb83d(0x335)]()>=0x0?_0x53ead6[_0x4eb83d(0x335)]()+0x1:0x0;for(let _0x27e30f=0x0;_0x27e30f<_0x2712dc;_0x27e30f++)for(let _0x4bdb95=0x0;_0x4bdb95<_0x52d44b;_0x4bdb95++){const _0x4a1100={...(_0x109a96=(_0x2ab824=_0x53ead6[_0x4eb83d(0x1c5)])==null?void 0x0:_0x2ab824[_0x27e30f])==null?void 0x0:_0x109a96[_0x4bdb95]},_0x3badee=(_0x1c20ad=_0x1f7020[_0x4bdb95])==null?void 0x0:_0x1c20ad[_0x4eb83d(0x1cd)],_0x44a2a7=_0x287fe9[_0x3badee];_0x4a1100&&(_0x4a1100['v']=ht(_0x4a1100,!0x1,_0x44a2a7,_0xa5e68c)),_0x3f10ca[_0x4eb83d(0x1ba)](_0x27e30f+_0x10778e,_0x4bdb95+_0x31783b,ot(_0x4a1100));}const _0x367e25=_0x3ae210[_0x4eb83d(0x1ce)](),_0x3bf769=_0x3ae210[_0x4eb83d(0x27f)]();for(let _0x256dba=0x0;_0x256dba<_0x367e25;_0x256dba++)for(let _0x438cf6=0x0;_0x438cf6<_0x3bf769;_0x438cf6++){const _0x5523bf={...(_0xfd68e=(_0x3b2fad=_0x3ae210['data'])==null?void 0x0:_0x3b2fad[_0x256dba])==null?void 0x0:_0xfd68e[_0x438cf6]};_0x3f10ca[_0x4eb83d(0x1ba)](_0x256dba+_0x10778e,_0x438cf6+_0x2f3237,ot(_0x5523bf));}return _0x3f10ca;},Ui=_0x3aed1d=>{const _0x4b72c7=_0x91438c,{view:_0x323bf3,targetCellInfo:_0x540042,isEmpty:_0x4773b4,textInfo:_0x2461f5}=_0x3aed1d;if(_0x4773b4)return Vi(_0x3aed1d);const {pageView:_0x323d97,cornerView:_0x2fa079,rowView:_0x69cd1c,colView:_0x3f0784,dataView:_0x27df5a}=_0x323bf3,_0x34ba32=ge(_0x540042,_0x323d97,!0x0),_0x44fc2f=_0x323d97[_0x4b72c7(0x2be)]>=0x0?_0x323d97[_0x4b72c7(0x2be)]+0x1:0x0,_0x2cdaab=_0x2fa079[_0x4b72c7(0x1ce)](),_0x23a177=_0x2fa079[_0x4b72c7(0x27f)](),_0x329eb8=_0x34ba32[_0x4b72c7(0x3e7)]>0x0?mt:0x0,_0x1b3a6b=ge({'row':_0x540042[_0x4b72c7(0x38d)]+_0x44fc2f+_0x329eb8,'col':_0x540042[_0x4b72c7(0x378)]},_0x2fa079,!0x1,!0x1),_0xee405=ge({'row':_0x540042['row']+_0x44fc2f+_0x329eb8+_0x2cdaab,'col':_0x540042[_0x4b72c7(0x378)]},_0x69cd1c,!0x1,!0x0),_0x35297d=ge({'row':_0x540042[_0x4b72c7(0x38d)]+_0x44fc2f+_0x329eb8,'col':_0x540042[_0x4b72c7(0x378)]+_0x23a177},_0x3f0784,!0x1,!0x0),_0x46764f=ge({'row':_0x540042['row']+_0x44fc2f+_0x329eb8+_0x2cdaab,'col':_0x540042[_0x4b72c7(0x378)]+_0x23a177},_0x27df5a,!0x1,!0x1),_0x46cb50={'rowRanges':_0xee405,'colRanges':_0x35297d,'cornerRanges':_0x1b3a6b,'dataRanges':_0x46764f,'pageRanges':_0x34ba32};return{'matrix':Ni(_0x323bf3,_0x540042,_0x2461f5),'rangesCache':_0x46cb50};};var Ei=Object[_0x91438c(0x26b)],xi=(_0xa44bba,_0x45461e,_0xece912,_0x460c7a)=>{const _0x3cb861=_0x91438c;for(var _0x4e4fbf=_0x460c7a>0x1?void 0x0:_0x460c7a?Ei(_0x45461e,_0xece912):_0x45461e,_0x1319ba=_0xa44bba[_0x3cb861(0x3e7)]-0x1,_0x2903e4;_0x1319ba>=0x0;_0x1319ba--)(_0x2903e4=_0xa44bba[_0x1319ba])&&(_0x4e4fbf=_0x2903e4(_0x4e4fbf)||_0x4e4fbf);return _0x4e4fbf;},nt=(_0x33a5ee,_0x5aea75)=>(_0x33a476,_0x25b3a2)=>_0x5aea75(_0x33a476,_0x25b3a2,_0x33a5ee);let $=class extends _0x5353ba{constructor(_0x187d02,_0x1e1a75,_0x4acfba,_0x438e37,_0x28c71d){const _0x5a3ec6=_0x91438c;super(),N(this,_0x5a3ec6(0x27e),new Map()),N(this,'_pivotTableInstanceCache',new Map()),N(this,_0x5a3ec6(0x28e),new Map()),N(this,_0x5a3ec6(0x365)),N(this,_0x5a3ec6(0x42d),new _0x4aede8()),N(this,_0x5a3ec6(0x2a0),this['_collectionChange$']['asObservable']()),N(this,_0x5a3ec6(0x387),new _0x4aede8()),N(this,'viewData$',this['_viewData$'][_0x5a3ec6(0x32a)]()),N(this,_0x5a3ec6(0x2c4),new _0x4aede8()),N(this,_0x5a3ec6(0x1b7),this[_0x5a3ec6(0x2c4)][_0x5a3ec6(0x32a)]()),N(this,_0x5a3ec6(0x3f2),new Map()),N(this,_0x5a3ec6(0x1b8),[]),N(this,_0x5a3ec6(0x2ed),new Map()),(this[_0x5a3ec6(0x31d)]=_0x187d02,this['_univerInstanceService']=_0x1e1a75,this[_0x5a3ec6(0x281)]=_0x4acfba,this[_0x5a3ec6(0x384)]=_0x438e37,this[_0x5a3ec6(0x30a)]=_0x28c71d,this['_initSnapshot']());}[_0x91438c(0x352)](){const _0x4527b6=_0x91438c;return this[_0x4527b6(0x365)]?this[_0x4527b6(0x365)]:Mi;}[_0x91438c(0x312)](_0x5e11c5){const _0x1f974b=_0x91438c;this[_0x1f974b(0x365)]=_0x5e11c5;}[_0x91438c(0x2f9)](_0x3003b6){const _0x2495e8=_0x91438c;var _0x1e4f99;const {from:_0x3657ea,to:_0x12fd5a,unitId:_0x84ca32,fromRange:_0x1441a6,toRange:_0x3e5972}=_0x3003b6;if(_0x3657ea&&_0x12fd5a){const _0xe2e06=this[_0x2495e8(0x33c)](_0x84ca32),_0x5d05e9=this[_0x2495e8(0x27e)][_0x2495e8(0x274)](_0x84ca32),_0x486269=(_0x1e4f99=this[_0x2495e8(0x22e)][_0x2495e8(0x2f0)](_0x84ca32))==null?void 0x0:_0x1e4f99['getSheetBySheetId'](_0x12fd5a[_0x2495e8(0x2ac)]);if(!_0x5d05e9||!_0x486269)return;const _0x58e0fc=_0x486269==null?void 0x0:_0x486269['getName']();for(const [_0x43b217,_0x200ddf]of _0x5d05e9[_0x2495e8(0x2ab)]())for(const [_0x3b5e38,_0x415990]of _0x200ddf[_0x2495e8(0x2ab)]()){const {sourceRangeInfo:_0x9958ef}=_0x415990;if(_0x9958ef[_0x2495e8(0x1cc)]===_0x84ca32&&_0x9958ef[_0x2495e8(0x2ac)]===_0x3657ea[_0x2495e8(0x2ac)]&&_0x459723[_0x2495e8(0x3a6)](_0x1441a6,_0x9958ef[_0x2495e8(0x21c)])){const _0x4536a0={'row':_0x9958ef[_0x2495e8(0x21c)][_0x2495e8(0x34c)]-_0x1441a6[_0x2495e8(0x34c)],'col':_0x9958ef[_0x2495e8(0x21c)][_0x2495e8(0x2ee)]-_0x1441a6[_0x2495e8(0x2ee)]},_0x3bf79b={'unitId':_0x84ca32,'subUnitId':_0x12fd5a[_0x2495e8(0x2ac)],'sheetName':_0x58e0fc,'range':{'startRow':_0x3e5972['startRow']+_0x4536a0[_0x2495e8(0x38d)],'endRow':_0x3e5972[_0x2495e8(0x34c)]+_0x4536a0[_0x2495e8(0x38d)]+_0x9958ef['range']['endRow']-_0x9958ef['range'][_0x2495e8(0x34c)],'startColumn':_0x3e5972[_0x2495e8(0x2ee)]+_0x4536a0[_0x2495e8(0x378)],'endColumn':_0x3e5972['startColumn']+_0x4536a0[_0x2495e8(0x378)]+_0x9958ef['range'][_0x2495e8(0x377)]-_0x9958ef[_0x2495e8(0x21c)][_0x2495e8(0x2ee)]}};_0xe2e06['handleMoveRange'](_0x3b5e38,_0x3bf79b);const _0x1b9750={..._0x415990,'sourceRangeInfo':_0x3bf79b};this[_0x2495e8(0x3ab)](_0x84ca32,_0x12fd5a[_0x2495e8(0x2ac)],_0x3b5e38,_0x1b9750),this['broadcastCollectionChange']({'unitId':_0x84ca32,'token':_0x3b5e38,'type':Le['update'],'oldSourceRangeInfo':_0x9958ef,'dataRangeInfo':_0x3bf79b,'targetCellInfo':_0x415990['targetCellInfo']}),this[_0x2495e8(0x1c1)]({'unitId':_0x84ca32,'subUnitId':_0x12fd5a['subUnitId'],'oldSubUnitId':_0x43b217,'pivotTableId':_0x3b5e38,'pivotTableConfig':_0x1b9750,'collectionConfig':_0xe2e06[_0x2495e8(0x2e3)]()});}}}}[_0x91438c(0x41a)](_0x27856e){const _0x22b227=_0x91438c;this[_0x22b227(0x42d)][_0x22b227(0x1db)](_0x27856e);}['getDataFieldManager'](_0x5bd482){const _0x10a1ef=_0x91438c;let _0xaa6235=this[_0x10a1ef(0x3f2)][_0x10a1ef(0x274)](_0x5bd482);return _0xaa6235||(_0xaa6235=new Di(this,this[_0x10a1ef(0x22e)]),this[_0x10a1ef(0x3f2)][_0x10a1ef(0x3bc)](_0x5bd482,_0xaa6235)),_0xaa6235;}['getCollection'](_0x1548b9,_0x3a7630){const _0x54270c=_0x91438c;return this[_0x54270c(0x33c)](_0x1548b9)[_0x54270c(0x391)][_0x3a7630];}['getUpdateRangeDeleteIds'](_0x318926,_0x6263ec,_0x4af70b){const _0x3d4aad=_0x91438c;return this[_0x3d4aad(0x33c)](_0x318926)[_0x3d4aad(0x1dc)](_0x6263ec,_0x4af70b);}['_ensurePivotMap'](_0x4f31b8,_0x58564c){const _0x496566=_0x91438c;let _0x516fd2=this[_0x496566(0x27e)][_0x496566(0x274)](_0x4f31b8);_0x516fd2||(_0x516fd2=new Map(),this[_0x496566(0x27e)][_0x496566(0x3bc)](_0x4f31b8,_0x516fd2));let _0x27b1dd=_0x516fd2[_0x496566(0x274)](_0x58564c);return _0x27b1dd||(_0x27b1dd=new Map(),_0x516fd2[_0x496566(0x3bc)](_0x58564c,_0x27b1dd)),_0x27b1dd;}[_0x91438c(0x3ab)](_0x73a231,_0x58e7cd,_0x4b1f06,_0x401058){const _0x29286b=_0x91438c;this[_0x29286b(0x330)](_0x73a231,_0x58e7cd)['set'](_0x4b1f06,_0x401058);}['_deleteModelCache'](_0x92f01e,_0x388fa8,_0x1041e1){const _0x53b7f7=_0x91438c;var _0x5e269f,_0x35a98a,_0x59bc44,_0x19a9d6;((_0x35a98a=(_0x5e269f=this[_0x53b7f7(0x27e)][_0x53b7f7(0x274)](_0x92f01e))==null?void 0x0:_0x5e269f[_0x53b7f7(0x274)](_0x388fa8))==null?void 0x0:_0x35a98a[_0x53b7f7(0x274)](_0x1041e1))&&((_0x19a9d6=(_0x59bc44=this[_0x53b7f7(0x27e)][_0x53b7f7(0x274)](_0x92f01e))==null?void 0x0:_0x59bc44[_0x53b7f7(0x274)](_0x388fa8))==null||_0x19a9d6[_0x53b7f7(0x21e)](_0x1041e1));}[_0x91438c(0x329)](_0x2c3dbd,_0x56e078){const _0x5e6ee0=_0x91438c;this[_0x5e6ee0(0x3cf)][_0x5e6ee0(0x3bc)](_0x2c3dbd,_0x56e078);}[_0x91438c(0x2b0)](_0x11e66c){const _0x451adf=_0x91438c;this['_pivotTableInstanceCache'][_0x451adf(0x21e)](_0x11e66c);}[_0x91438c(0x3b2)](_0x49dc1e,_0x41bd3d){const _0x5f341c=_0x91438c;let _0x328309=this['_viewData'][_0x5f341c(0x274)](_0x49dc1e);_0x328309||(_0x328309=new Map(),this[_0x5f341c(0x28e)]['set'](_0x49dc1e,_0x328309));let _0x406626=_0x328309[_0x5f341c(0x274)](_0x41bd3d);return _0x406626||(_0x406626=new Map(),_0x328309[_0x5f341c(0x3bc)](_0x41bd3d,_0x406626)),_0x406626;}[_0x91438c(0x1c1)](_0x5a81c8){const {unitId:_0x360620,subUnitId:_0x2e8f94,pivotTableId:_0x4d3e8a,pivotTableConfig:_0x4fb2d7,collectionConfig:_0x2b36b5}=_0x5a81c8,_0x2a05f0={'unitId':_0x360620,'subUnitId':_0x2e8f94,'oldSubUnitId':_0x2e8f94,'pivotTableId':_0x4d3e8a,'pivotTableConfig':_0x4fb2d7,'collectionConfig':_0x2b36b5};this['_commandService']['executeCommand'](co['id'],_0x2a05f0,{'onlyLocal':!0x0});}['updateView'](_0x3739b7,_0x3b7c74,_0x54c60b,_0x532a8a,_0x31d1d7,_0x3e3a37,_0x4336c9,_0x4286e4=!0x1){const _0x2aa4c9=_0x91438c;var _0x2f9b5d;this['_commandService'][_0x2aa4c9(0x3ba)](Dt['id'],{'single':{'unitId':_0x3739b7,'subUnitId':_0x3b7c74,'type':_0x54c60b,'pivotTableId':_0x532a8a,'view':_0x31d1d7,'pivotConfig':_0x3e3a37},'collectionConfig':{[_0x3739b7]:_0x4336c9}},{'onlyLocal':!0x0});const _0x45b7c0=!!((_0x2f9b5d=this[_0x2aa4c9(0x31f)](_0x532a8a))!=null&&_0x2f9b5d[_0x2aa4c9(0x3d9)]()),_0x1f0d36=this[_0x2aa4c9(0x294)](_0x3739b7,_0x3b7c74,_0x532a8a);_0x1f0d36&&this['updateViewData']({'view':_0x31d1d7,'pivotTableId':_0x532a8a,'textInfo':this['getTextInfo'](),'isEmpty':_0x45b7c0,'targetCellInfo':_0x1f0d36[_0x2aa4c9(0x416)]},_0x4286e4);}['updateViewData'](_0x418a2b,_0x5aaf5b){const _0x3d8b07=_0x91438c,{targetCellInfo:_0x205cd6,pivotTableId:_0x17a68e}=_0x418a2b,{unitId:_0x33fdd6,subUnitId:_0x4688f5}=_0x205cd6,_0x551184=this[_0x3d8b07(0x3b2)](_0x33fdd6,_0x4688f5),_0x3b1a0d=_0x551184[_0x3d8b07(0x274)](_0x17a68e);let _0x3a0ddb,_0x50e1c3;_0x3b1a0d&&(_0x3a0ddb=_0x3b1a0d[_0x3d8b07(0x3ec)],_0x50e1c3=_0x3b1a0d['matrix']);const {rangesCache:_0x1509d,matrix:_0x21946c}=Ui(_0x418a2b);_0x551184[_0x3d8b07(0x3bc)](_0x17a68e,{'rangeCache':_0x1509d,'matrix':_0x21946c,'oldMatrix':_0x50e1c3,'oldRangeCache':_0x3a0ddb}),_0x5aaf5b||this[_0x3d8b07(0x387)][_0x3d8b07(0x1db)]({'unitId':_0x33fdd6,'subUnitId':_0x4688f5,'pivotTableId':_0x17a68e});}['addPivotTable'](_0xe9f4c3,_0x5cdb2b,_0x57c7ff,_0x21dd08,_0x2e58aa){const _0x2bd236=_0x91438c;this[_0x2bd236(0x3ab)](_0xe9f4c3,_0x5cdb2b,_0x57c7ff,_0x2e58aa),this['_updatePivotTableInstanceCache'](_0x57c7ff,_0x21dd08);}[_0x91438c(0x23b)](_0xd6b5d3,_0x412b1e,_0x2e4e61){const _0x546c70=_0x91438c,_0x160627=this[_0x546c70(0x33c)](_0xd6b5d3);_0x160627[_0x546c70(0x3e2)](_0x2e4e61)[_0x546c70(0x342)](_0x4b0d45=>{const _0x30e001=_0x546c70;_0x160627[_0x30e001(0x1d7)](_0x4b0d45);}),this[_0x546c70(0x1bb)](_0xd6b5d3,_0x2e4e61),this[_0x546c70(0x2d8)](_0xd6b5d3,_0x412b1e,_0x2e4e61),this[_0x546c70(0x2b0)](_0x2e4e61);}['setPivotTable'](_0x1c0a47,_0x318ded,_0x48dce3,_0x5943ae){const _0x485a9b=_0x91438c;this[_0x485a9b(0x3ab)](_0x1c0a47,_0x318ded,_0x48dce3,_0x5943ae);}['getPivotTableConfig'](_0x47f0fe,_0x3923a3,_0x151eb3){const _0x5d1de0=_0x91438c;var _0x28b99a,_0x950d92;const _0x105578=(_0x950d92=(_0x28b99a=this[_0x5d1de0(0x27e)][_0x5d1de0(0x274)](_0x47f0fe))==null?void 0x0:_0x28b99a[_0x5d1de0(0x274)](_0x3923a3))==null?void 0x0:_0x950d92['get'](_0x151eb3);if(_0x105578)return _0x105578;}[_0x91438c(0x1fd)](_0x5458c4,_0x3cc7de,_0x4aece2){const _0x22c68a=_0x91438c;var _0x493302,_0x24b270;const _0x55d6a5=(_0x24b270=(_0x493302=this['_model'][_0x22c68a(0x274)](_0x5458c4))==null?void 0x0:_0x493302[_0x22c68a(0x274)](_0x3cc7de))==null?void 0x0:_0x24b270[_0x22c68a(0x274)](_0x4aece2);if(_0x55d6a5)return _0x55d6a5[_0x22c68a(0x2c6)];}[_0x91438c(0x31f)](_0x4b99e2){const _0x16d998=_0x91438c;return this[_0x16d998(0x3cf)][_0x16d998(0x274)](_0x4b99e2);}[_0x91438c(0x25b)](_0x2fb73c){const _0x1ef967=_0x91438c;this['_model'][_0x1ef967(0x21e)](_0x2fb73c);const _0x20fdb8=this['_dataFieldManagerCollection'][_0x1ef967(0x274)](_0x2fb73c);_0x20fdb8&&(_0x20fdb8[_0x1ef967(0x3b3)](),this[_0x1ef967(0x3f2)][_0x1ef967(0x21e)](_0x2fb73c)),this[_0x1ef967(0x28e)][_0x1ef967(0x21e)](_0x2fb73c),this[_0x1ef967(0x1b8)]['forEach'](_0x2adb64=>{_0x2adb64['deleteUnitId'](_0x2fb73c);});}['addCollectionByJSON'](_0x19b294,_0x5d4eb8,_0x16d162,_0x2699f3){const _0x2e09d4=_0x91438c;return this[_0x2e09d4(0x33c)](_0x16d162[_0x2e09d4(0x1cc)])[_0x2e09d4(0x2e4)](_0x19b294,_0x5d4eb8,_0x16d162,_0x2699f3);}[_0x91438c(0x3e0)](_0x1b0cc3){const _0x31a36a=_0x91438c;return this[_0x31a36a(0x33c)](_0x1b0cc3['unitId'])[_0x31a36a(0x3e0)](_0x1b0cc3);}[_0x91438c(0x2a3)](_0x2e3a0c,_0x5def00,_0x2a3cac){const _0x49159b=_0x91438c;this['getDataFieldManager'](_0x2a3cac['unitId'])[_0x49159b(0x2a3)](_0x2e3a0c,_0x5def00,_0x2a3cac);}[_0x91438c(0x3bb)](_0x55bba5,_0xa02bd1){const _0x3a864f=_0x91438c;this[_0x3a864f(0x33c)](_0x55bba5)['deleteDataField'](_0xa02bd1);}['removeCollections'](_0xd9a076,_0x352cfe){const _0x19260d=_0x91438c;this[_0x19260d(0x33c)](_0xd9a076)[_0x19260d(0x1b3)](_0x352cfe);}[_0x91438c(0x239)](_0x1c3e6f,_0x45d254){const _0x2cd651=_0x91438c;var _0x1b9567;return(_0x1b9567=this[_0x2cd651(0x27e)][_0x2cd651(0x274)](_0x1c3e6f))==null?void 0x0:_0x1b9567[_0x2cd651(0x274)](_0x45d254);}[_0x91438c(0x2ba)](_0x2097dd){const _0x5d2047=_0x91438c;for(const [_0x2364fc,_0x133cc4]of this[_0x5d2047(0x27e)][_0x5d2047(0x2ab)]())for(const [_0x29494f,_0x579f2e]of _0x133cc4[_0x5d2047(0x2ab)]())if(_0x579f2e[_0x5d2047(0x35d)](_0x2097dd))return{'unitId':_0x2364fc,'subUnitId':_0x29494f};return null;}[_0x91438c(0x290)](_0x1ed751,_0x5a3089,_0x1d08d1,_0x5961f0){const _0x156e65=_0x91438c,_0x3ec27e=this[_0x156e65(0x3b2)](_0x1ed751,_0x5a3089);_0x5961f0?_0x3ec27e['set'](_0x1d08d1,_0x5961f0):_0x3ec27e[_0x156e65(0x21e)](_0x1d08d1),this[_0x156e65(0x387)][_0x156e65(0x1db)]({'unitId':_0x1ed751,'subUnitId':_0x5a3089,'pivotTableId':_0x1d08d1});}['dispose'](){super['dispose']();}[_0x91438c(0x26f)](_0xab09dc,_0x572bfd,_0x23ba38){const _0xff8e8b=_0x91438c;var _0x1c252d,_0x543d15;const _0x41dea0=(_0x543d15=(_0x1c252d=this[_0xff8e8b(0x28e)]['get'](_0xab09dc))==null?void 0x0:_0x1c252d[_0xff8e8b(0x274)](_0x572bfd))==null?void 0x0:_0x543d15[_0xff8e8b(0x274)](_0x23ba38);return _0x41dea0||null;}[_0x91438c(0x1ca)](_0x34c1ba){const _0x5e1093=_0x91438c;this[_0x5e1093(0x422)](_0x34c1ba);}['updateDirtyPivotTable'](_0x1c6bd2){const _0x18e351=_0x91438c,{token:_0x527ad1,unitId:_0x41d01a,subUnitId:_0x583422}=_0x1c6bd2,_0x543fec=_0x41d01a+'-'+_0x583422+'-'+_0x527ad1;this['_queryingMap'][_0x18e351(0x274)](_0x543fec)&&clearTimeout(this[_0x18e351(0x2ed)][_0x18e351(0x274)](_0x543fec));const _0x301fc1=setTimeout(()=>{const _0x48adfc=_0x18e351;this['queryDirtyPivotTable'](_0x1c6bd2),this[_0x48adfc(0x2ed)][_0x48adfc(0x21e)](_0x543fec);},Pi);this[_0x18e351(0x2ed)][_0x18e351(0x3bc)](_0x543fec,_0x301fc1);}[_0x91438c(0x343)](_0x348c5b){const _0x4c0e7c=_0x91438c,{unitId:_0x21bf69,subUnitId:_0x3596b2,token:_0x27739b,type:_0x32fd30,pivotConfig:_0x8c42fc}=_0x348c5b,_0xa2cb71=this[_0x4c0e7c(0x31f)](_0x27739b),_0x44c97d=_0xa2cb71==null?void 0x0:_0xa2cb71[_0x4c0e7c(0x3af)](),_0x4dabd8=_0x8c42fc!=null?_0x8c42fc:this[_0x4c0e7c(0x294)](_0x21bf69,_0x3596b2,_0x27739b);_0x4dabd8&&(_0x4dabd8['isEmpty']=!!(_0xa2cb71!=null&&_0xa2cb71[_0x4c0e7c(0x3d9)]())),(_0x44c97d||_0x32fd30===J[_0x4c0e7c(0x354)])&&this[_0x4c0e7c(0x269)](_0x21bf69,_0x3596b2,_0x32fd30,_0x27739b,_0x44c97d,_0x4dabd8,this[_0x4c0e7c(0x33c)](_0x21bf69)['toJSON']());}[_0x91438c(0x2e3)](_0x17180f){const _0x380971=_0x91438c,_0xd81dae={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x17180f)&&(_0xd81dae[_0x380971(0x3d5)][_0x17180f]=this[_0x380971(0x33c)](_0x17180f)[_0x380971(0x2e3)]()),this['_model']['get'](_0x17180f)){_0xd81dae[_0x380971(0x307)][_0x17180f]={};const _0x342677=this['_model'][_0x380971(0x274)](_0x17180f);_0x342677!=null&&_0x342677['size']&&[..._0x342677['keys']()][_0x380971(0x342)](_0x179b03=>{const _0x2db25a=_0x380971,_0x9d044f=_0x342677[_0x2db25a(0x274)](_0x179b03);_0x9d044f!=null&&_0x9d044f[_0x2db25a(0x244)]&&(_0xd81dae['pivotTableConfigs'][_0x17180f][_0x179b03]={},[..._0x9d044f[_0x2db25a(0x31c)]()][_0x2db25a(0x342)](_0x4b6d02=>{const _0x4d66e2=_0x2db25a,_0xc9e17a=_0x9d044f[_0x4d66e2(0x274)](_0x4b6d02);_0xc9e17a&&(_0xd81dae['pivotTableConfigs'][_0x17180f][_0x179b03][_0x4b6d02]=_0xc9e17a);}));});}return _0xd81dae;}[_0x91438c(0x3ea)](_0x54af83){const _0x1564aa=_0x91438c;var _0x46112b;const {dataFieldManagerConfig:_0x412da9,pivotTableConfigs:_0x281e46}=_0x54af83;_0x412da9&&Object[_0x1564aa(0x31c)](_0x412da9)[_0x1564aa(0x342)](_0x5528ad=>{const _0x35fac1=_0x1564aa;this[_0x35fac1(0x33c)](_0x5528ad)[_0x35fac1(0x3ea)](_0x412da9[_0x5528ad]);});const _0x2b496c=[];if(_0x281e46){const _0x4f1b3a=(_0x46112b=this[_0x1564aa(0x31d)][_0x1564aa(0x274)](_0x495f63)[_0x1564aa(0x3d4)](_0x5f27fd))!=null?_0x46112b:{},{ls:_0x7280dc,pbk:_0x3df73d}=_0x4f1b3a,_0x44acf5=go(so,_0x7280dc,_0x3df73d)[_0x1564aa(0x39e)];Object['keys'](_0x281e46)[_0x1564aa(0x342)](_0x66b930=>{const _0x38f08f=_0x1564aa;let _0x4c4de4=0x0;const _0x3e1860=_0x281e46[_0x66b930];Object[_0x38f08f(0x31c)](_0x3e1860)['forEach'](_0x2708b1=>{const _0x304ea3=_0x38f08f,_0x5b8bd7=_0x3e1860[_0x2708b1];Object['keys'](_0x5b8bd7)[_0x304ea3(0x342)](_0x54c774=>{const _0x410401=_0x304ea3,_0x4f49f0=_0x5b8bd7[_0x54c774];if(_0x4f49f0){if(_0x4c4de4>=_0x44acf5)return;_0x4c4de4++;const _0x3c3382=this[_0x410401(0x33c)](_0x66b930),_0x2b7887=_0x3c3382[_0x410401(0x391)][_0x54c774],_0x4399e6=_0x2b7887[_0x410401(0x2b9)]();let _0x1c0813=0x0;const _0x724044=[];for(const _0x2edd38 of _0x4399e6){const _0x39a406=_0x2b7887[_0x410401(0x2bd)](_0x2edd38);if(_0x312646(_0x39a406)){const _0x18f451=_0x39a406[_0x410401(0x361)](),_0x46a359=_0x2b7887[_0x410401(0x2bd)](_0x18f451);_0x46a359&&_0x724044[_0x410401(0x3fe)]([_0x39a406,_0x46a359]);continue;}_0x3c3382['refreshDataField'](_0x2edd38,_0x4f49f0['sourceRangeInfo'],_0x1c0813),_0x1c0813++;}_0x724044['forEach'](([_0x17c3f4,_0x1d500c])=>{const _0x1e9ad1=_0x410401;_0x17c3f4[_0x1e9ad1(0x261)](_0x1d500c);});const _0x1a76f6=new _0x33f1c5(_0x2b7887);_0x1a76f6[_0x410401(0x3ea)](_0x4f49f0[_0x410401(0x2c6)]),this[_0x410401(0x1f6)](_0x66b930,_0x2708b1,_0x54c774,_0x1a76f6,_0x4f49f0);const _0x25112f=_0x1a76f6[_0x410401(0x3af)]();_0x2b496c[_0x410401(0x3fe)]({'unitId':_0x66b930,'subUnitId':_0x2708b1,'pivotTableId':_0x54c774,'view':_0x25112f[_0x410401(0x2e3)](),'pivotConfig':_0x4f49f0,'type':J['Add']});const _0xf38627=!!_0x1a76f6[_0x410401(0x3d9)](),_0xc273d4={'view':_0x25112f,'pivotTableId':_0x54c774,'textInfo':this[_0x410401(0x352)](),'isEmpty':_0xf38627,'targetCellInfo':_0x4f49f0['targetCellInfo']};this['updateViewData'](_0xc273d4,!0x1);}});});});}_0x412da9&&Object[_0x1564aa(0x31c)](_0x412da9)[_0x1564aa(0x342)](_0x4ae6fa=>{const _0x150156=_0x1564aa,_0x17b4fb=this[_0x150156(0x33c)](_0x4ae6fa);this[_0x150156(0x2c4)][_0x150156(0x1db)](_0x17b4fb[_0x150156(0x391)]);}),this[_0x1564aa(0x384)]['executeCommand'](Dt['id'],{'batch':_0x2b496c,'collectionConfig':_0x412da9},{'onlyLocal':!0x0});}[_0x91438c(0x262)](){const _0x5ef083=_0x91438c;this[_0x5ef083(0x317)](this[_0x5ef083(0x30a)][_0x5ef083(0x385)]({'toJson':_0x50508a=>JSON[_0x5ef083(0x2ff)](this[_0x5ef083(0x2e3)](_0x50508a)),'parseJson':_0x59a0ea=>{if(!_0x59a0ea)return{};try{return JSON['parse'](_0x59a0ea);}catch{return{};}},'businesses':[_0x102cba['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0xf724c2,_0x96f940)=>{this['fromJSON'](_0x96f940);},'onUnLoad':_0x13c964=>{const _0x162070=_0x5ef083;this[_0x162070(0x25b)](_0x13c964);}}));}};$=xi([nt(0x0,_0x431452(_0x4efa5c)),nt(0x1,_0x2c885f),nt(0x2,_0x431452(_0x3dbe84)),nt(0x3,_0xa7b251),nt(0x4,_0x431452(_0x500922))],$);const Oi={0x0:{0x0:{'v':_0x91438c(0x3ad),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x91438c(0x42a),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x8:{0x0:{'v':_0x91438c(0x38d),'s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':_0x91438c(0x2c8),'s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}}},Lt={'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':[]},jo=(_0x460f56,_0x5a36fb)=>{const _0x39ba65=_0x91438c,_0x32617b=new _0x17d6f8(),_0x1e5bdd=new _0x17d6f8(Oi),{row:_0x1f2b10,col:_0x4dd7a7}=_0x5a36fb;_0x1e5bdd[_0x39ba65(0x27d)]((_0x25e110,_0x1652c1,_0x564cd9)=>{const _0x329e02=_0x39ba65;let _0x331034='';_0x564cd9['v']==='filter'?_0x331034=_0x460f56['filter']:_0x564cd9['v']===_0x329e02(0x38d)?_0x331034=_0x460f56[_0x329e02(0x38d)]:_0x564cd9['v']===_0x329e02(0x42a)?_0x331034=_0x460f56[_0x329e02(0x42a)]:_0x564cd9['v']===_0x329e02(0x2c8)&&(_0x331034=_0x460f56['values']),_0x32617b[_0x329e02(0x1ba)](_0x25e110+_0x1f2b10,_0x1652c1+_0x4dd7a7,{..._0x564cd9,'v':_0x331034});});const _0x4a79cb=_0x4b3148[_0x39ba65(0x1e4)](Lt);return Object[_0x39ba65(0x31c)](Lt)[_0x39ba65(0x342)](_0x560161=>{const _0x1f37b6=_0x39ba65;_0x4a79cb[_0x560161]=Lt[_0x560161]['map'](_0x12f230=>({..._0x12f230,'startRow':_0x12f230['startRow']+_0x1f2b10,'endRow':_0x12f230[_0x1f37b6(0x25c)]+_0x1f2b10,'startColumn':_0x12f230[_0x1f37b6(0x2ee)]+_0x4dd7a7,'endColumn':_0x12f230['endColumn']+_0x4dd7a7}));}),{'matrixCache':_0x32617b,'rangesCache':_0x4a79cb};};function Ai(_0x149571,_0x581605){const _0xd45f3f=_0x91438c;let _0x565aa5='';const _0x15bc1d=this[_0xd45f3f(0x352)]();switch(_0x581605){case _0x553ee1[_0xd45f3f(0x3f4)]:_0x565aa5=_0x15bc1d[_0xd45f3f(0x2de)]+_0x149571;break;case _0x553ee1[_0xd45f3f(0x39e)]:_0x565aa5=_0x15bc1d['sheets-pivot.countName']+_0x149571;break;case _0x553ee1['countNums']:_0x565aa5=_0x15bc1d[_0xd45f3f(0x1fc)]+_0x149571;break;case _0x553ee1['max']:_0x565aa5=_0x15bc1d[_0xd45f3f(0x2fc)]+_0x149571;break;case _0x553ee1[_0xd45f3f(0x337)]:_0x565aa5=_0x15bc1d[_0xd45f3f(0x32c)]+_0x149571;break;case _0x553ee1[_0xd45f3f(0x25a)]:_0x565aa5=_0x15bc1d[_0xd45f3f(0x325)]+_0x149571;break;case _0x553ee1[_0xd45f3f(0x42e)]:_0x565aa5=_0x15bc1d['sheets-pivot.stdDevName']+_0x149571;break;case _0x553ee1['stdDevp']:_0x565aa5=_0x15bc1d[_0xd45f3f(0x3e1)]+_0x149571;break;case _0x553ee1[_0xd45f3f(0x397)]:_0x565aa5=_0x15bc1d['sheets-pivot.sumName']+_0x149571;break;case _0x553ee1[_0xd45f3f(0x1f3)]:_0x565aa5=_0x15bc1d['sheets-pivot.varName']+_0x149571;break;case _0x553ee1[_0xd45f3f(0x3e3)]:_0x565aa5=_0x15bc1d['sheets-pivot.varpName']+_0x149571;break;default:_0x565aa5=_0x149571;break;}return _0x565aa5;}function ki(_0x2b8e29,_0x5ed092,_0x24d990,_0x50884f,_0x14f7ab){const _0x23832e=_0x91438c;var _0x1f7e6f,_0x5ad592,_0x1634fd,_0x5d22c9,_0x47776b;const _0x2f0614=_0x540207(_0x2b8e29,_0x5ed092),{rangesInfo:_0x4e9cbf,areaInfo:_0x5cdbc7,headerMap:_0x57ffdc}=_0x14f7ab;if(!_0x4e9cbf||!_0x5cdbc7||!_0x57ffdc)return;const _0x8d92f6=Object[_0x23832e(0x31c)](_0x4e9cbf)[_0x23832e(0x263)](_0xa5311e=>_0x4e9cbf[_0xa5311e]['some'](_0x1e8355=>_0x459723[_0x23832e(0x3a6)](_0x1e8355,_0x2f0614))),_0x396d27=_0x5cdbc7;let _0x1951f8,_0x3b060d,_0x47735e;if(_0x8d92f6===_0x23832e(0x3fc))_0x1951f8=(_0x1f7e6f=_0x396d27==null?void 0x0:_0x396d27[_0x23832e(0x284)])==null?void 0x0:_0x1f7e6f[_0x2b8e29],_0x3b060d=(_0x5ad592=_0x57ffdc==null?void 0x0:_0x57ffdc[_0x23832e(0x2c9)])==null?void 0x0:_0x5ad592[_0x5ed092],_0x47735e=_0x3b060d==null?void 0x0:_0x3b060d[_0x23832e(0x1cd)];else{if(_0x8d92f6===_0x23832e(0x402))_0x1951f8=(_0x1634fd=_0x396d27==null?void 0x0:_0x396d27[_0x23832e(0x364)])==null?void 0x0:_0x1634fd[_0x5ed092],_0x3b060d=(_0x5d22c9=_0x57ffdc[_0x23832e(0x1d4)])==null?void 0x0:_0x5d22c9[_0x2b8e29+0x1+_0x5ed092-_0x4e9cbf[_0x23832e(0x402)][0x0]['startColumn']],_0x47735e=_0x3b060d==null?void 0x0:_0x3b060d['tableFieldId'];else{if(_0x8d92f6==='cornerRanges')_0x1951f8=(_0x47776b=_0x396d27==null?void 0x0:_0x396d27[_0x23832e(0x35f)])==null?void 0x0:_0x47776b[_0x5ed092],_0x47735e=_0x1951f8==null?void 0x0:_0x1951f8[_0x23832e(0x1cd)];else{if(_0x8d92f6==='pageRanges'){const _0x26dba3=_0x24d990==null?void 0x0:_0x24d990['fi'];_0x26dba3!==void 0x0&&(_0x47735e=_0x50884f[_0x23832e(0x26e)](_0x26dba3));}}}}return{'filterId':_0x47735e,'info':_0x1951f8,'data':_0x24d990,'headerInfo':_0x3b060d};}function Bi(_0x36ca67,_0x10c755,_0x1da9bb){const _0x51b248=_0x91438c,_0x51f555=_0x36ca67['dataFieldsCollection'],_0x360c41=_0x51f555[_0x51b248(0x2b9)](),_0x972aa9=new Set();_0x36ca67[_0x51b248(0x2d7)](_0x54f9d9=>{_0x972aa9['add'](_0x54f9d9['dataFieldId']);});const _0x75d824=_0x360c41[_0x51b248(0x39b)](_0x49b2c0=>{const _0x4f55b7=_0x51b248,_0x5d9fa4=_0x51f555[_0x4f55b7(0x2bd)](_0x49b2c0);return{'checked':_0x972aa9['has'](_0x49b2c0),'dataFieldId':_0x5d9fa4['id'],'id':_0x5d9fa4['id'],'name':_0x51f555[_0x4f55b7(0x3a0)](_0x5d9fa4['id']),'type':_0x5d9fa4[_0x4f55b7(0x2ca)](),'pivotTableId':_0x10c755};}),_0x18acfd=[];_0x36ca67[_0x51b248(0x428)](_0x48ff8c['Row'],_0x1f4779=>{const _0x5d546c=_0x51b248;_0x18acfd[_0x5d546c(0x3fe)]({'dataFieldId':_0x1f4779[_0x5d546c(0x3e8)],'tableFieldId':_0x1f4779['getId'](),'displayName':_0x1f4779[_0x5d546c(0x3a0)]()});});const _0x3516e7=[];_0x36ca67[_0x51b248(0x428)](_0x48ff8c['Column'],_0x14a6a1=>{const _0x43961e=_0x51b248;_0x3516e7['push']({'dataFieldId':_0x14a6a1[_0x43961e(0x3e8)],'tableFieldId':_0x14a6a1[_0x43961e(0x403)](),'displayName':_0x14a6a1[_0x43961e(0x3a0)]()});});const _0xca64ee=[];if(_0x36ca67['iterateFieldByArea'](_0x48ff8c[_0x51b248(0x36d)],_0x212998=>{const _0x53c0f6=_0x51b248;_0xca64ee[_0x53c0f6(0x3fe)]({'dataFieldId':_0x212998['dataFieldId'],'tableFieldId':_0x212998[_0x53c0f6(0x403)](),'displayName':_0x212998[_0x53c0f6(0x3a0)](),'format':_0x212998[_0x53c0f6(0x1e3)](),'subTotalType':_0x212998[_0x53c0f6(0x380)]()});}),_0xca64ee['length']>0x1){const _0x3bef43=_0x36ca67[_0x51b248(0x1c8)]();(_0x36ca67[_0x51b248(0x302)]()?_0x3516e7:_0x18acfd)[_0x51b248(0x310)](_0x3bef43,0x0,{'dataFieldId':'','tableFieldId':_0x51b248(0x2d9),'displayName':_0x51b248(0x1e7)});}const _0x545cfd=[];_0x36ca67['iterateFieldByArea'](_0x48ff8c[_0x51b248(0x41b)],_0x36242a=>{const _0x3eeef8=_0x51b248;_0x545cfd[_0x3eeef8(0x3fe)]({'dataFieldId':_0x36242a['dataFieldId'],'tableFieldId':_0x36242a[_0x3eeef8(0x403)](),'displayName':_0x36242a[_0x3eeef8(0x3a0)]()});});const _0x6666f5=_0x1da9bb[_0x51b248(0x407)];return{'sourceList':_0x75d824,'sourceRange':_0x6666f5,'rowFields':_0x18acfd,'columnFields':_0x3516e7,'valueFields':_0xca64ee,'filterFields':_0x545cfd,'positionInfo':_0x1da9bb[_0x51b248(0x416)]};}function fo(_0x1ef655,_0x858fec,_0x52e134='',_0x299f7e={}){const _0x166a84=_0x91438c,_0x332cc1=_0x1ef655['get'](_0x3aca7e);for(const _0x1b22c5 in _0x858fec)if(Object[_0x166a84(0x3df)][_0x166a84(0x245)][_0x166a84(0x1c7)](_0x858fec,_0x1b22c5)){const _0x551125=_0x52e134?_0x52e134+'.'+_0x1b22c5:_0x1b22c5;typeof _0x858fec[_0x1b22c5]==_0x166a84(0x1f8)&&_0x858fec[_0x1b22c5]!==null&&!Array[_0x166a84(0x237)](_0x858fec[_0x1b22c5])?fo(_0x1ef655,_0x858fec[_0x1b22c5],_0x551125,_0x299f7e):_0x299f7e[_0x551125]=_0x332cc1['t'](_0x551125);}return _0x299f7e;}const Jt=_0x4980ad=>{const _0x314508=_0x91438c;if(!_0x4980ad)return[];const {rowRanges:_0x139695,colRanges:_0x57ebd2,cornerRanges:_0x564ca5,dataRanges:_0x2c30d2,pageRanges:_0x5337e6}=_0x4980ad,_0x509722=[..._0x57ebd2,..._0x139695,..._0x2c30d2,..._0x564ca5][_0x314508(0x3ad)](_0xb27808=>_0xb27808[_0x314508(0x34c)]>=0x0&&_0xb27808[_0x314508(0x2ee)]>=0x0&&_0xb27808[_0x314508(0x25c)]>=0x0&&_0xb27808[_0x314508(0x377)]>=0x0);let _0x3d2b95=Number['MAX_SAFE_INTEGER'],_0x25c336=Number[_0x314508(0x32f)],_0xd6e28e=Number[_0x314508(0x3c4)],_0x263c82=Number['MIN_SAFE_INTEGER'];for(let _0x2ca3de=0x0;_0x2ca3de<_0x509722[_0x314508(0x3e7)];_0x2ca3de++)_0x3d2b95=Math['min'](_0x3d2b95,_0x509722[_0x2ca3de][_0x314508(0x34c)]),_0x25c336=Math[_0x314508(0x3b0)](_0x25c336,_0x509722[_0x2ca3de][_0x314508(0x25c)]),_0xd6e28e=Math[_0x314508(0x337)](_0xd6e28e,_0x509722[_0x2ca3de]['startColumn']),_0x263c82=Math[_0x314508(0x3b0)](_0x263c82,_0x509722[_0x2ca3de][_0x314508(0x377)]);return[..._0x5337e6,{'startRow':_0x3d2b95,'endRow':_0x25c336,'startColumn':_0xd6e28e,'endColumn':_0x263c82}];};function Li(_0x35c33d,_0x1e9923){const _0x3841ef=_0x91438c,_0x4451b0=_0x1e9923[_0x3841ef(0x433)][_0x3841ef(0x3d1)],{pivotTableId:_0x53751d,unitId:_0x28e67b,subUnitId:_0x5cc6ba}=_0x1e9923;if(!_0x4451b0)return;const _0x19695e=_0x35c33d[_0x3841ef(0x274)]($),_0x3c4afa=_0x19695e[_0x3841ef(0x31f)](_0x53751d),_0x2a73a6=_0x19695e[_0x3841ef(0x294)](_0x28e67b,_0x5cc6ba,_0x53751d);if(!_0x3c4afa||!_0x2a73a6)return;const _0x212230=_0x3c4afa[_0x3841ef(0x212)](_0x4451b0[_0x3841ef(0x258)]);if(!(_0x212230!=null&&_0x212230[_0x3841ef(0x3e7)]))return;const _0x52afc6=_0x2a73a6['sourceRangeInfo'],{unitId:_0x11f4e5,subUnitId:_0x5545ad,range:_0x3163a3}=_0x52afc6;let _0x1bcb95=0x0;const _0x17926d=_0x3c4afa[_0x3841ef(0x20c)][_0x3841ef(0x2b9)]()['reduce']((_0x19997f,_0x21dda4)=>{const _0x518b9e=_0x3841ef;var _0x46d1a8;const _0x103ab3=(_0x46d1a8=_0x3c4afa[_0x518b9e(0x3c9)](_0x21dda4))==null?void 0x0:_0x46d1a8[_0x518b9e(0x42c)]();return _0x103ab3&&(_0x19997f[String(_0x1bcb95)]=_0x103ab3),_0x1bcb95++,_0x19997f;},{});return{'indexes':_0x212230,'range':_0x3163a3,'sourceUnitId':_0x11f4e5,'sourceSubUnitId':_0x5545ad,'formatMap':_0x17926d};}function Ko(_0x11b9b3,_0x5b1cdd){const _0x383297=_0x91438c;if(!_0x11b9b3||!_0x5b1cdd)return!0x0;const _0x5eba46=_0x4fd784(Wo,Go),_0x3e9d24=new Function(_0x383297(0x414)+_0x5eba46)()(_0x11b9b3,_0x5b1cdd)[_0x383297(0x339)],_0x31948f=_0x24151f(_0x3e9d24,'sf',Bo);return!((_0x3e9d24==null?void 0x0:_0x3e9d24['rt'])===_0x26ce06[_0x383297(0x209)]&&!_0x31948f);}function go(_0x38b49e,_0x1b3c1d,_0x162992){const _0x4adcbd=_0x91438c,_0x1a8cd8={'count':_0x38b49e,'timeValid':!0x1};if(!_0x1b3c1d||!_0x162992)return _0x1a8cd8;const _0x368290=_0x4fd784(Wo,Go),_0x5be162=new Function(_0x4adcbd(0x414)+_0x368290)()(_0x1b3c1d,_0x162992);if(_0x5be162!=null&&_0x5be162[_0x4adcbd(0x285)]){const _0x723b3d=_0x5be162[_0x4adcbd(0x339)],_0x9320d=_0x24151f(_0x723b3d,'sf',Bo);return{'count':_0x34ec75(_0x723b3d,_0x9320d,_0x4adcbd(0x1ea),_0x38b49e,_0x38b49e,0x0),'timeValid':_0x9320d};}return _0x1a8cd8;}function Ho(_0x2ffda6,_0x5073c3,_0x4cf3e3,_0x2907a0){const _0x3360b3=_0x91438c,_0x26a80c={'subUnitId':_0x4cf3e3,'unitId':_0x5073c3,'cellValue':_0x4261a2(_0x2907a0)},_0x48af3e=_0x328d73(_0x2ffda6,_0x26a80c);let _0x25008c=!0x1;return new _0x17d6f8(_0x48af3e[_0x3360b3(0x234)])[_0x3360b3(0x27d)]((_0x97e931,_0x216b18,_0x5c0d8e)=>{if(!_0x25008c&&_0x5c0d8e&&(_0x5c0d8e['custom']||_0x5c0d8e['f']||_0x5c0d8e['p']||_0x5c0d8e['s']||_0x5c0d8e['si']||_0x5c0d8e['t']||_0x5c0d8e['v']))return _0x25008c=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x24ac46['id'],'params':_0x48af3e},'setRangeValueRedoMutation':{'id':_0x24ac46['id'],'params':_0x26a80c},'shouldClear':_0x25008c};}function Ji(_0x5f0e22){const {row:_0x281667,col:_0x58bd19}=_0x5f0e22,_0x2ae40a={'startRow':_0x281667,'endRow':_0x281667,'startColumn':_0x58bd19,'endColumn':_0x58bd19},_0xf197ed={'startRow':_0x281667+0x2,'endRow':_0x281667+0xe,'startColumn':_0x58bd19,'endColumn':_0x58bd19+0x6};return[_0x2ae40a,_0xf197ed];}function $i(_0xabdfc,_0x796ef7,_0x31354a){const _0x3fe4b5=_0x91438c,{cornerView:_0x2b8ece,rowView:_0x93df0c,colView:_0x5fe1e1,pageView:_0x50d181}=_0xabdfc,{row:_0x1f8b71,col:_0x33c5cd}=_0x796ef7;if(_0x31354a)return{'rowCount':bi+_0x1f8b71,'colCount':Si+_0x33c5cd};const _0x274f41=_0x50d181['lastRow']>-0x1?_0x50d181[_0x3fe4b5(0x2be)]+0x1:0x0,_0x3bc07a=_0x50d181[_0x3fe4b5(0x345)]>-0x1?_0x50d181[_0x3fe4b5(0x345)]:0x0,_0x27c39c=_0x1f8b71+_0x274f41+(_0x274f41?0x1:0x0)+_0x2b8ece[_0x3fe4b5(0x3ee)]+_0x93df0c[_0x3fe4b5(0x3ee)],_0x27340f=_0x33c5cd+_0x3bc07a,_0x3ba86a=_0x33c5cd+_0x2b8ece['colCount']+_0x5fe1e1[_0x3fe4b5(0x36c)],_0x30eb81=Math[_0x3fe4b5(0x3b0)](_0x27340f,_0x3ba86a);return{'rowCount':_0x27c39c,'colCount':_0x30eb81};}function Fe(_0x150afa,_0x17c5f0,_0x303564,_0x1542c0){const _0x2b4810=_0x91438c,{row:_0x2aacf1,col:_0x3cf08a,unitId:_0x56cd59,subUnitId:_0x44bb52}=_0x303564,_0x1aaef0=$i(_0x17c5f0,{'row':_0x2aacf1,'col':_0x3cf08a},_0x1542c0),_0xdcd3d6=_0x150afa[_0x2b4810(0x274)](_0x2c885f),_0x56897d=_0x1a5e6f(_0xdcd3d6,{'unitId':_0x56cd59,'subUnitId':_0x44bb52}),_0x1808ca=[],_0x43b304=[];if(!_0x56897d)return{'undos':_0x43b304,'redos':_0x1808ca};const {worksheet:_0x373142}=_0x56897d,_0x5bff6d=_0x373142[_0x2b4810(0x1ce)](),_0x58f7f3=_0x373142['getColumnCount']();return _0x5bff6d<_0x1aaef0[_0x2b4810(0x3ee)]&&(_0x1808ca[_0x2b4810(0x3fe)]({'id':_0x1b1105['id'],'params':{'unitId':_0x56cd59,'subUnitId':_0x44bb52,'range':{'startRow':_0x5bff6d,'endRow':_0x1aaef0[_0x2b4810(0x3ee)]-0x1,'startColumn':0x0,'endColumn':_0x58f7f3-0x1}}}),_0x43b304[_0x2b4810(0x3fe)]({'id':_0x129cc2['id'],'params':{'unitId':_0x56cd59,'subUnitId':_0x44bb52,'range':{'startRow':_0x5bff6d,'endRow':_0x1aaef0['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x58f7f3-0x1}}})),_0x58f7f3<_0x1aaef0['colCount']&&(_0x1808ca[_0x2b4810(0x3fe)]({'id':_0xfcf79b['id'],'params':{'unitId':_0x56cd59,'subUnitId':_0x44bb52,'range':{'startRow':0x0,'endRow':_0x5bff6d-0x1,'startColumn':_0x58f7f3,'endColumn':_0x1aaef0[_0x2b4810(0x36c)]-0x1}}}),_0x43b304[_0x2b4810(0x3fe)]({'id':_0x2d40d['id'],'params':{'unitId':_0x56cd59,'subUnitId':_0x44bb52,'range':{'startRow':0x0,'endRow':_0x5bff6d-0x1,'startColumn':_0x58f7f3,'endColumn':_0x1aaef0['colCount']-0x1}}})),{'undos':_0x43b304,'redos':_0x1808ca};}function Xi(_0x1a765b){const _0x10fed7=_0x91438c;let _0x59f77d=0x0;for(let _0x50f739=0x0;_0x50f739<_0x1a765b[_0x10fed7(0x3e7)];_0x50f739++){const _0x5c1ab7=_0x1a765b[_0x10fed7(0x2f2)](_0x50f739);_0x5c1ab7>=0x4e00&&_0x5c1ab7<=0x9fff||_0x5c1ab7>=0x3000&&_0x5c1ab7<=0x303f||_0x5c1ab7>=0xff00&&_0x5c1ab7<=0xffef?_0x59f77d+=0x2:_0x59f77d+=0x1;}return _0x59f77d;}function To(_0x5e84bb,_0x14160f,_0x49d734,_0x986d6d){const _0x229c1f=_0x91438c;var _0x2e5cdb,_0x2724a8,_0x2cd51a,_0x1aa7ff;const {rowCount:_0x49d88f,colCount:_0x4e1d07,headerMap:_0x486829}=_0x5e84bb,_0x35cd3f=0x64,_0x4c8883=Math[_0x229c1f(0x337)](_0x49d88f,_0x35cd3f),_0x1181a4=Math[_0x229c1f(0x337)](_0x4e1d07,_0x35cd3f);let _0x270712='',_0x20abdf=0x0;for(let _0x6a6dfb=0x0;_0x6a6dfb<_0x4c8883;_0x6a6dfb++)for(let _0x30c7ad=0x0;_0x30c7ad<_0x1181a4;_0x30c7ad++){const _0x567607={...(_0x2724a8=(_0x2e5cdb=_0x5e84bb['data'])==null?void 0x0:_0x2e5cdb[_0x6a6dfb])==null?void 0x0:_0x2724a8[_0x30c7ad]},_0x36ff8e=(_0x2cd51a=_0x486829[_0x6a6dfb])==null?void 0x0:_0x2cd51a[_0x229c1f(0x1cd)],_0x4c2cf3=_0x986d6d[_0x36ff8e];let _0x367407=_0x5e84bb[_0x229c1f(0x344)](_0x6a6dfb,_0x30c7ad);if(_0x567607){const _0x247933=_0x49d734?_0x30c7ad===0x0&&((_0x1aa7ff=_0x5e84bb['getHeaderMapItem'](_0x30c7ad+0x1))==null?void 0x0:_0x1aa7ff[_0x229c1f(0x292)]):!0x1;_0x367407=ht(_0x567607,_0x247933,_0x4c2cf3,_0x14160f);}if(_0x367407!==void 0x0){const _0x3dcb55=Xi(String(_0x367407));_0x20abdf<_0x3dcb55&&(_0x270712=String(_0x367407),_0x20abdf=_0x3dcb55);}}return _0x270712;}function Gi(_0x3cd544){const _0x386525=_0x91438c,{rowCount:_0x5ea7ea,colCount:_0x496ffc}=_0x3cd544;let _0x1d76e5='',_0x3ad708=0x0;for(let _0x24795f=_0x5ea7ea-0x1;_0x24795f>0x0&&_0x24795f>_0x5ea7ea-0x3;_0x24795f--)for(let _0x76ebaa=0x0;_0x76ebaa<_0x496ffc;_0x76ebaa++){const _0x338707=_0x3cd544[_0x386525(0x344)](_0x24795f,_0x76ebaa);if(_0x338707!==void 0x0){const _0x3a1ab3=String(_0x338707)[_0x386525(0x3e7)];_0x3ad708<_0x3a1ab3&&(_0x1d76e5=String(_0x338707),_0x3ad708=_0x3a1ab3);}}return _0x1d76e5;}function Wi(_0x108184){const _0x4c85c0=_0x91438c,{rowCount:_0x15c894,colCount:_0x4cf84c}=_0x108184;let _0x17088e='',_0x12f92f=0x0;for(let _0x48d4bb=0x0;_0x48d4bb<_0x15c894;_0x48d4bb++)for(let _0x49d7e6=0x0;_0x49d7e6<_0x4cf84c;_0x49d7e6++){const _0x41bfbe=_0x108184[_0x4c85c0(0x344)](_0x48d4bb,_0x49d7e6);if(_0x41bfbe!==void 0x0){const _0x1c5b3d=String(_0x41bfbe)[_0x4c85c0(0x3e7)];_0x12f92f<_0x1c5b3d&&(_0x17088e=String(_0x41bfbe),_0x12f92f=_0x1c5b3d);}}return _0x17088e;}function ji(_0xb1d5cf,_0x2786a1){const _0x3ab27c=_0x91438c,{rowFields:_0xe8c147,columnFields:_0x93f4c2,valueFields:_0x1b9598,filterFields:_0x4946c9,dimension:_0x2ae734,measure:_0x5e4ca1}=_0x2786a1;for(const _0x410997 of _0xe8c147){const _0xefd303=_0x2ae734[_0x410997];_0xefd303&&_0xb1d5cf['getDataFieldByDataFieldId'](_0xefd303[_0x3ab27c(0x3e8)])&&(_0xb1d5cf[_0x3ab27c(0x323)](_0xefd303['dataFieldId'],_0x48ff8c[_0x3ab27c(0x34a)],void 0x0,_0x410997),_0xefd303[_0x3ab27c(0x240)]&&_0xb1d5cf[_0x3ab27c(0x21a)](_0xefd303['id'],_0xefd303[_0x3ab27c(0x240)]),_0xefd303[_0x3ab27c(0x2bf)]&&_0xb1d5cf['setSortInfo'](_0xefd303['id'],_0xefd303[_0x3ab27c(0x2bf)]),_0xefd303[_0x3ab27c(0x320)]&&_0xb1d5cf['setLabelFilterInfo'](_0xefd303['id'],_0xefd303[_0x3ab27c(0x320)]));}for(const _0xf1e365 of _0x93f4c2){const _0xdd15c5=_0x2ae734[_0xf1e365];_0xdd15c5&&_0xb1d5cf['getDataFieldByDataFieldId'](_0xdd15c5[_0x3ab27c(0x3e8)])&&(_0xb1d5cf[_0x3ab27c(0x323)](_0xdd15c5[_0x3ab27c(0x3e8)],_0x48ff8c[_0x3ab27c(0x41d)],void 0x0,_0xf1e365),_0xdd15c5[_0x3ab27c(0x2bf)]&&_0xb1d5cf[_0x3ab27c(0x1d5)](_0xdd15c5['id'],_0xdd15c5[_0x3ab27c(0x2bf)]),_0xdd15c5['filterInfo']&&_0xb1d5cf[_0x3ab27c(0x3be)](_0xdd15c5['id'],_0xdd15c5[_0x3ab27c(0x320)]),_0xdd15c5[_0x3ab27c(0x240)]&&_0xb1d5cf[_0x3ab27c(0x21a)](_0xdd15c5['id'],_0xdd15c5[_0x3ab27c(0x240)]));}for(const _0x1b7437 of _0x4946c9){const _0x4f3bf1=_0x2ae734[_0x1b7437];_0x4f3bf1&&_0xb1d5cf[_0x3ab27c(0x3c9)](_0x4f3bf1[_0x3ab27c(0x3e8)])&&(_0xb1d5cf[_0x3ab27c(0x323)](_0x4f3bf1['dataFieldId'],_0x48ff8c[_0x3ab27c(0x41b)],void 0x0,_0x1b7437),_0x4f3bf1[_0x3ab27c(0x2bf)]&&_0xb1d5cf['setSortInfo'](_0x4f3bf1['id'],_0x4f3bf1[_0x3ab27c(0x2bf)]),_0x4f3bf1['filterInfo']&&_0xb1d5cf[_0x3ab27c(0x3be)](_0x4f3bf1['id'],_0x4f3bf1[_0x3ab27c(0x320)]),_0x4f3bf1[_0x3ab27c(0x240)]&&_0xb1d5cf['renameField'](_0x4f3bf1['id'],_0x4f3bf1[_0x3ab27c(0x240)]));}for(const _0x1cbd19 of _0x1b9598){const _0x1d6672=_0x5e4ca1[_0x1cbd19];_0x1d6672&&_0xb1d5cf[_0x3ab27c(0x3c9)](_0x1d6672[_0x3ab27c(0x3e8)])&&(_0xb1d5cf[_0x3ab27c(0x323)](_0x1d6672[_0x3ab27c(0x3e8)],_0x48ff8c[_0x3ab27c(0x36d)],void 0x0,_0x1cbd19),_0x1d6672[_0x3ab27c(0x28c)]!==void 0x0&&_0xb1d5cf[_0x3ab27c(0x241)](_0x1cbd19,_0x1d6672['subtotal']),_0x1d6672[_0x3ab27c(0x425)]&&_0xb1d5cf[_0x3ab27c(0x411)](_0x1cbd19,_0x1d6672[_0x3ab27c(0x425)]),_0x1d6672['displayName']&&_0xb1d5cf[_0x3ab27c(0x21a)](_0x1d6672['id'],_0x1d6672[_0x3ab27c(0x240)]));}const _0xb29db5=_0x2786a1[_0x3ab27c(0x424)];for(const {fieldId:_0x313930,filterInfo:_0x1f17bf}of _0xb29db5)_0xb1d5cf[_0x3ab27c(0x306)](_0x313930,_0x1f17bf);}function Ki(_0x27e632,_0x2c1475){const _0x22e71d=_0x91438c,_0x4b12a4=[];_0x2c1475===_0x48ff8c['Row']&&_0x27e632['iterateFieldByArea'](_0x48ff8c[_0x22e71d(0x34a)],_0x2ac127=>{const _0x171e0c=_0x22e71d;_0x4b12a4['push'](_0x2ac127[_0x171e0c(0x403)]());}),_0x2c1475===_0x48ff8c[_0x22e71d(0x41d)]&&_0x27e632['iterateFieldByArea'](_0x48ff8c[_0x22e71d(0x41d)],_0x58e3df=>{const _0x22afb4=_0x22e71d;_0x4b12a4[_0x22afb4(0x3fe)](_0x58e3df[_0x22afb4(0x403)]());}),_0x2c1475===_0x48ff8c[_0x22e71d(0x41b)]&&_0x27e632['iterateFieldByArea'](_0x48ff8c[_0x22e71d(0x41b)],_0x124529=>{_0x4b12a4['push'](_0x124529['getId']());}),_0x2c1475===_0x48ff8c[_0x22e71d(0x36d)]&&_0x27e632[_0x22e71d(0x428)](_0x48ff8c[_0x22e71d(0x36d)],_0x31ca49=>{const _0x4da13a=_0x22e71d;_0x4b12a4[_0x4da13a(0x3fe)](_0x31ca49['getId']());}),_0x2c1475===void 0x0&&_0x27e632['iterateField'](_0x385ecc=>{const _0x45c090=_0x22e71d;_0x4b12a4['push'](_0x385ecc[_0x45c090(0x403)]());});const _0x349029=_0x4b12a4['length'];for(let _0x1fdd5f=_0x349029-0x1;_0x1fdd5f>=0x0;_0x1fdd5f--)_0x27e632[_0x22e71d(0x319)](_0x4b12a4[_0x1fdd5f]);const _0x2a5faa=_0x27e632[_0x22e71d(0x40f)]();for(const _0xed5c5a in _0x2a5faa)_0x27e632[_0x22e71d(0x39a)](_0xed5c5a);}function Hi(_0x6b65c0,_0x40b929){const _0x2b2d46=_0x91438c,_0x53ca79=new Date(_0x885df7(_0x40b929)),_0xf17cd5=new Date(_0x885df7(_0x6b65c0)),_0x214303=_0x53ca79[_0x2b2d46(0x38e)](),_0x200b69=_0xf17cd5[_0x2b2d46(0x38e)](),_0x1ff49b=_0x53ca79['getMonth'](),_0x5ea802=_0xf17cd5[_0x2b2d46(0x3b9)](),_0x57ef01=_0x53ca79[_0x2b2d46(0x25d)](),_0x574bce=_0xf17cd5[_0x2b2d46(0x25d)](),_0x1a91c2=_0x214303===_0x200b69,_0x3ba43b=_0x1a91c2&&_0x1ff49b===_0x5ea802;return _0x1a91c2&&_0x3ba43b&&!(_0x3ba43b&&_0x57ef01===_0x574bce)?_0x24d87f[_0x2b2d46(0x1bd)]:_0x1a91c2&&!_0x3ba43b?_0x24d87f['YearMonth']:_0x24d87f[_0x2b2d46(0x2c1)];}function qo(_0x5c902c,_0x1003de){const _0x38dd60=_0x91438c,_0x54ea81=_0x5c902c[_0x38dd60(0x274)]($)['getTextInfo']();let _0x866aef='';switch(_0x1003de){case _0x24d87f['YearMonthDate']:_0x866aef=_0x54ea81[_0x38dd60(0x24a)];break;case _0x24d87f[_0x38dd60(0x346)]:_0x866aef=_0x54ea81[_0x38dd60(0x21f)];break;case _0x24d87f[_0x38dd60(0x2c1)]:_0x866aef=_0x54ea81['sheets-pivot.dateGroup.year'];break;case _0x24d87f[_0x38dd60(0x2a6)]:_0x866aef=_0x54ea81[_0x38dd60(0x1b9)];break;case _0x24d87f[_0x38dd60(0x25e)]:_0x866aef=_0x54ea81[_0x38dd60(0x340)];break;case _0x24d87f[_0x38dd60(0x24c)]:_0x866aef=_0x54ea81['sheets-pivot.dateGroup.date'];break;case _0x24d87f[_0x38dd60(0x29f)]:_0x866aef=_0x54ea81[_0x38dd60(0x415)];break;case _0x24d87f[_0x38dd60(0x1d1)]:_0x866aef=_0x54ea81[_0x38dd60(0x31b)];break;case _0x24d87f[_0x38dd60(0x2d1)]:_0x866aef=_0x54ea81[_0x38dd60(0x1ec)];break;case _0x24d87f[_0x38dd60(0x2a2)]:_0x866aef=_0x54ea81[_0x38dd60(0x3a9)];break;case _0x24d87f[_0x38dd60(0x2e9)]:_0x866aef=_0x54ea81[_0x38dd60(0x215)];break;default:_0x866aef='';break;}return _0x866aef;}const Yo=_0x91438c(0x37a),Mo={};var qi=Object[_0x91438c(0x26b)],Yi=(_0x20d7e4,_0x130737,_0x5f2120,_0x58b26f)=>{for(var _0xa67795=_0x58b26f>0x1?void 0x0:_0x58b26f?qi(_0x130737,_0x5f2120):_0x130737,_0xa8b644=_0x20d7e4['length']-0x1,_0x22278a;_0xa8b644>=0x0;_0xa8b644--)(_0x22278a=_0x20d7e4[_0xa8b644])&&(_0xa67795=_0x22278a(_0xa67795)||_0xa67795);return _0xa67795;},it=(_0x5dcbb6,_0x19901f)=>(_0x434620,_0x190f14)=>_0x19901f(_0x434620,_0x190f14,_0x5dcbb6);let he=class extends _0x5353ba{constructor(_0xe6f8b5,_0x283126,_0x19c816,_0x5ed1aa,_0x37b4e0){const _0x427dfa=_0x91438c;super(),N(this,_0x427dfa(0x27e),new Map()),N(this,'_collectionConfigModel',new Map()),N(this,_0x427dfa(0x296),new Map()),N(this,_0x427dfa(0x370),new Map()),N(this,_0x427dfa(0x3ca),new _0x4aede8()),N(this,_0x427dfa(0x289),new _0x4aede8()),N(this,_0x427dfa(0x2db),this['_pivotInitCompleted$'][_0x427dfa(0x32a)]()),N(this,_0x427dfa(0x34b),new _0x4aede8()),N(this,'pivotConfigChange$',this['_pivotConfigChange$'][_0x427dfa(0x32a)]()),N(this,_0x427dfa(0x365),{}),N(this,_0x427dfa(0x20e),this[_0x427dfa(0x3ca)][_0x427dfa(0x32a)]()),(this[_0x427dfa(0x31d)]=_0xe6f8b5,this[_0x427dfa(0x384)]=_0x283126,this[_0x427dfa(0x22e)]=_0x19c816,this[_0x427dfa(0x30a)]=_0x5ed1aa,this[_0x427dfa(0x3b8)]=_0x37b4e0,this[_0x427dfa(0x3a5)](),this[_0x427dfa(0x3d6)]());const _0x557752=this[_0x427dfa(0x3b8)][_0x427dfa(0x3d4)](Yo);(_0x557752==null?void 0x0:_0x557752[_0x427dfa(0x276)])===!0x0&&this[_0x427dfa(0x262)]();}[_0x91438c(0x3d6)](){const _0xde7c36=_0x91438c;this[_0xde7c36(0x317)](this[_0xde7c36(0x22e)][_0xde7c36(0x2aa)](_0x102cba[_0xde7c36(0x297)])[_0xde7c36(0x2d6)](_0x11712a=>{this['deleteUnitId'](_0x11712a['getUnitId']());}));}[_0x91438c(0x40c)](){const _0xe23506=_0x91438c;this[_0xe23506(0x289)]['next'](!0x0);}[_0x91438c(0x3a5)](){const _0x5be518=_0x91438c,_0xedc9b=fo(this['_injector'],Jo,'',{});this['_textInfo']=_0xedc9b,this[_0x5be518(0x384)]['executeCommand'](uo['id'],{'textInfo':_0xedc9b},{'onlyLocal':!0x0});}[_0x91438c(0x352)](){const _0x22f93a=_0x91438c;return this[_0x22f93a(0x365)];}[_0x91438c(0x221)](_0x1f5c19,_0x36251a,_0x551570,_0x3fdc70,_0xa3d416){const _0xd2c05=_0x91438c;this[_0xd2c05(0x1df)](_0x1f5c19,_0x36251a,_0x551570,_0x3fdc70),this['updatePivotTableRangeInfo'](_0x1f5c19,_0x36251a,_0x551570,_0xa3d416);}[_0x91438c(0x294)](_0x4225de,_0x487ae3,_0x1f47ad){const _0x388637=_0x91438c;var _0x5d08a6;const _0x4b0fc0=(_0x5d08a6=this['_model'][_0x388637(0x274)](_0x4225de))==null?void 0x0:_0x5d08a6[_0x388637(0x274)](_0x487ae3);if(_0x4b0fc0)return _0x4b0fc0['get'](_0x1f47ad);}[_0x91438c(0x366)](_0x334a62,_0x211602){const _0x5054ce=_0x91438c,_0x392ab5=this['_model'][_0x5054ce(0x274)](_0x334a62);if(_0x392ab5){for(const [_0x155421,_0x216f61]of _0x392ab5['entries']())for(const [_0x2b885f,_0x4613b1]of _0x216f61['entries']())if(_0x2b885f===_0x211602)return _0x4613b1[_0x5054ce(0x416)];}}[_0x91438c(0x2ba)](_0x36ac37,_0x3b1b88,_0x25d37d){const _0x3bacc5=_0x91438c,_0x5e5543=this['getPivotTableConfig'](_0x36ac37,_0x3b1b88,_0x25d37d);return _0x5e5543==null?void 0x0:_0x5e5543[_0x3bacc5(0x416)];}[_0x91438c(0x239)](_0x160a3d,_0xeedff5){const _0x5dbfd5=_0x91438c;var _0x1ddf32;return(_0x1ddf32=this[_0x5dbfd5(0x27e)]['get'](_0x160a3d))==null?void 0x0:_0x1ddf32[_0x5dbfd5(0x274)](_0xeedff5);}[_0x91438c(0x291)](_0x121514,_0x47e40e,_0x12a1f7,_0xee1817){const _0x292b24=_0x91438c,_0xce9987=this[_0x292b24(0x330)](_0x121514,_0x47e40e);_0xee1817?_0xce9987[_0x292b24(0x3bc)](_0x12a1f7,_0xee1817):_0xce9987[_0x292b24(0x21e)](_0x12a1f7),this[_0x292b24(0x34b)][_0x292b24(0x1db)]({'unitId':_0x121514,'subUnitId':_0x47e40e,'pivotTableId':_0x12a1f7,'pivotTableConfig':_0xee1817});}[_0x91438c(0x232)](_0xd12c87,_0xe9090e){const _0x182499=_0x91438c;var _0x4f8d46;return(_0x4f8d46=this[_0x182499(0x3eb)]['get'](_0xd12c87))==null?void 0x0:_0x4f8d46[_0x182499(0x391)][_0xe9090e];}[_0x91438c(0x2c3)](_0xe75a51,_0x2422aa){const _0x362a48=_0x91438c;this[_0x362a48(0x3eb)][_0x362a48(0x3bc)](_0xe75a51,_0x2422aa),this[_0x362a48(0x3ca)][_0x362a48(0x1db)](Math[_0x362a48(0x3d8)]());}['_ensurePivotMap'](_0xef347,_0x5da2c2){const _0x405a34=_0x91438c;let _0x45a5af=this[_0x405a34(0x27e)][_0x405a34(0x274)](_0xef347);_0x45a5af||(_0x45a5af=new Map(),this[_0x405a34(0x27e)]['set'](_0xef347,_0x45a5af));let _0x436d38=_0x45a5af[_0x405a34(0x274)](_0x5da2c2);return _0x436d38||(_0x436d38=new Map(),_0x45a5af[_0x405a34(0x3bc)](_0x5da2c2,_0x436d38)),_0x436d38;}[_0x91438c(0x1e8)](_0x4f2003,_0xabc47e){const _0x49509c=_0x91438c;let _0x4d1250=this[_0x49509c(0x296)][_0x49509c(0x274)](_0x4f2003);_0x4d1250||(_0x4d1250=new Map(),this[_0x49509c(0x296)]['set'](_0x4f2003,_0x4d1250));let _0x5f5b28=_0x4d1250[_0x49509c(0x274)](_0xabc47e);return _0x5f5b28||(_0x5f5b28=new Map(),_0x4d1250[_0x49509c(0x3bc)](_0xabc47e,_0x5f5b28)),_0x5f5b28;}[_0x91438c(0x218)](_0x591aa8,_0x45aac9){const _0x4b8cc9=_0x91438c;let _0x47bb69=this[_0x4b8cc9(0x370)][_0x4b8cc9(0x274)](_0x591aa8);_0x47bb69||(_0x47bb69=new Map(),this[_0x4b8cc9(0x370)][_0x4b8cc9(0x3bc)](_0x591aa8,_0x47bb69));let _0x3fbd17=_0x47bb69[_0x4b8cc9(0x274)](_0x45aac9);return _0x3fbd17||(_0x3fbd17=new Map(),_0x47bb69[_0x4b8cc9(0x3bc)](_0x45aac9,_0x3fbd17)),_0x3fbd17;}[_0x91438c(0x32b)](_0x5a34d3,_0x58f886,_0x294918,_0x2aad34){var _0x11e191;const _0x115ef1=this['_ensurePivotTableRangeInfo'](_0x5a34d3,_0x58f886),_0x417c41=(_0x11e191=_0x115ef1['get'](_0x294918))==null?void 0x0:_0x11e191['oldRangeInfo'];_0x115ef1['set'](_0x294918,{'oldRangeInfo':_0x417c41,'rangeInfo':_0x2aad34});}[_0x91438c(0x1df)](_0x4e105c,_0x19fec7,_0x4935d4,_0x5fdbcf){const _0x51e5ac=_0x91438c;var _0x1ce69b;const _0x577dd0=this[_0x51e5ac(0x218)](_0x4e105c,_0x19fec7),_0x137473=(_0x1ce69b=_0x577dd0[_0x51e5ac(0x274)](_0x4935d4))==null?void 0x0:_0x1ce69b[_0x51e5ac(0x1f4)];_0x577dd0[_0x51e5ac(0x3bc)](_0x4935d4,{'oldMatrix':_0x137473,'matrix':_0x5fdbcf});}[_0x91438c(0x3d0)](_0x3be9f0,_0x2b1f97,_0x3f0a05){const _0x4642a7=_0x91438c;var _0x34e531,_0x5937aa;return(_0x5937aa=(_0x34e531=this['_pivotTableRangeInfo'][_0x4642a7(0x274)](_0x3be9f0))==null?void 0x0:_0x34e531[_0x4642a7(0x274)](_0x2b1f97))==null?void 0x0:_0x5937aa[_0x4642a7(0x274)](_0x3f0a05);}[_0x91438c(0x3f0)](_0xc5ed2e,_0x153db4,_0x4a2051){const _0x214879=_0x91438c;var _0x22eebb,_0x56ffca;return(_0x56ffca=(_0x22eebb=this['_pivotTableMatrixInfo'][_0x214879(0x274)](_0xc5ed2e))==null?void 0x0:_0x22eebb[_0x214879(0x274)](_0x153db4))==null?void 0x0:_0x56ffca[_0x214879(0x274)](_0x4a2051);}[_0x91438c(0x25b)](_0x539b3a){const _0x1b4b5b=_0x91438c;this['_model'][_0x1b4b5b(0x21e)](_0x539b3a),this[_0x1b4b5b(0x3eb)][_0x1b4b5b(0x21e)](_0x539b3a);}[_0x91438c(0x20f)](_0x32dff2){const _0x205029=_0x91438c,_0x3016c4={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x205029(0x3eb)][_0x205029(0x274)](_0x32dff2)&&(_0x3016c4[_0x205029(0x3d5)][_0x32dff2]=this[_0x205029(0x3eb)][_0x205029(0x274)](_0x32dff2)),this[_0x205029(0x27e)][_0x205029(0x274)](_0x32dff2)){_0x3016c4[_0x205029(0x307)][_0x32dff2]={};const _0x42ce9f=this[_0x205029(0x27e)][_0x205029(0x274)](_0x32dff2);_0x42ce9f!=null&&_0x42ce9f['size']&&[..._0x42ce9f[_0x205029(0x31c)]()][_0x205029(0x342)](_0x1ee80a=>{const _0x5095fa=_0x205029,_0x32cd04=_0x42ce9f[_0x5095fa(0x274)](_0x1ee80a);_0x32cd04!=null&&_0x32cd04['size']&&(_0x3016c4[_0x5095fa(0x307)][_0x32dff2][_0x1ee80a]={},[..._0x32cd04[_0x5095fa(0x31c)]()][_0x5095fa(0x342)](_0x499c7b=>{const _0x31c3a5=_0x5095fa,_0x4df37e=_0x32cd04[_0x31c3a5(0x274)](_0x499c7b);_0x4df37e&&(_0x3016c4[_0x31c3a5(0x307)][_0x32dff2][_0x1ee80a][_0x499c7b]=_0x4df37e);}));});}return _0x3016c4;}[_0x91438c(0x262)](){const _0x41c1e4=_0x91438c;this[_0x41c1e4(0x317)](this[_0x41c1e4(0x30a)][_0x41c1e4(0x385)]({'toJson':_0x1213ff=>JSON['stringify'](this[_0x41c1e4(0x20f)](_0x1213ff)),'parseJson':_0x1826b0=>({}),'businesses':[_0x102cba['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x123891,_0x143a2e)=>{},'onUnLoad':_0x20319c=>{const _0x427a0c=_0x41c1e4;this[_0x427a0c(0x25b)](_0x20319c);}}));}};he=Yi([it(0x0,_0x431452(_0x4efa5c)),it(0x1,_0x431452(_0xa7b251)),it(0x2,_0x431452(_0x2c885f)),it(0x3,_0x431452(_0x500922)),it(0x4,_0x431452(_0x495f63))],he);var Zi=Object[_0x91438c(0x26b)],zi=(_0x1fea1e,_0x3aafb8,_0x5d5ea2,_0x28ffd7)=>{const _0x5b4a94=_0x91438c;for(var _0x2e2953=_0x28ffd7>0x1?void 0x0:_0x28ffd7?Zi(_0x3aafb8,_0x5d5ea2):_0x3aafb8,_0x37ae62=_0x1fea1e[_0x5b4a94(0x3e7)]-0x1,_0x19f781;_0x37ae62>=0x0;_0x37ae62--)(_0x19f781=_0x1fea1e[_0x37ae62])&&(_0x2e2953=_0x19f781(_0x2e2953)||_0x2e2953);return _0x2e2953;},st=(_0x4370d9,_0x904415)=>(_0x1de982,_0xd83777)=>_0x904415(_0x1de982,_0xd83777,_0x4370d9);let Ve=class extends _0x5353ba{constructor(_0x2bf4a4,_0xfb8989,_0x5c4105,_0xd8c254,_0x42a6de){const _0x5dac89=_0x91438c;super(),N(this,'_pivotRenderInfoCache',new Map()),N(this,_0x5dac89(0x2e0),new Map()),N(this,_0x5dac89(0x3f9),new _0x4aede8()),N(this,'markDirty$',this[_0x5dac89(0x3f9)][_0x5dac89(0x32a)]()),N(this,'_viewUpdate$',new _0x4aede8()),N(this,'viewUpdate$',this['_viewUpdate$']['asObservable']()),N(this,_0x5dac89(0x365)),(this['_localeService']=_0x2bf4a4,this[_0x5dac89(0x31d)]=_0xfb8989,this['_sheetsPivotTableConfigModel']=_0x5c4105,this['_univerInstanceService']=_0xd8c254,this[_0x5dac89(0x418)]=_0x42a6de,this[_0x5dac89(0x3a5)](),this[_0x5dac89(0x3d6)]());}[_0x91438c(0x3d6)](){const _0x2381f6=_0x91438c;this[_0x2381f6(0x317)](this[_0x2381f6(0x22e)][_0x2381f6(0x2aa)](_0x102cba[_0x2381f6(0x297)])['subscribe'](_0x432e47=>{const _0x4e14ae=_0x2381f6;this[_0x4e14ae(0x25b)](_0x432e47['getUnitId']());}));}[_0x91438c(0x3a5)](){const _0xc164b2=_0x91438c;this[_0xc164b2(0x365)]=fo(this[_0xc164b2(0x31d)],Jo,'',{});}[_0x91438c(0x22c)](_0x12e0b9){const _0x4e4166=_0x91438c,{view:_0x35dd28,unitId:_0x4c2d59,subUnitId:_0x21c5b1,pivotTableId:_0x385656,type:_0x51a309}=_0x12e0b9,_0x369a45=this[_0x4e4166(0x1bc)][_0x4e4166(0x294)](_0x4c2d59,_0x21c5b1,_0x385656);if(!_0x35dd28||!_0x369a45||_0x51a309===J[_0x4e4166(0x354)])return;const {pageView:_0x8c347b,cornerView:_0x228bf0,rowView:_0x258a69,colView:_0x2e825f,dataView:_0x1c71d0}=_0x35dd28,_0x4d602f=_0x369a45[_0x4e4166(0x416)],_0x207449=_0x369a45[_0x4e4166(0x3d9)],_0x46583a=this[_0x4e4166(0x1e9)](_0x4c2d59,_0x21c5b1),_0x33f3f4=this[_0x4e4166(0x3fb)](_0x4c2d59,_0x21c5b1,_0x385656);if(_0x207449)return this[_0x4e4166(0x29b)](_0x12e0b9,_0x46583a,_0x4d602f,_0x33f3f4);{const _0x557397=ge(_0x4d602f,_0x8c347b,!0x0),_0x2ec716=_0x8c347b['lastRow']>=0x0?_0x8c347b[_0x4e4166(0x2be)]+0x1:0x0,_0x5eb344=_0x228bf0['getRowCount'](),_0x16b038=_0x228bf0[_0x4e4166(0x27f)](),_0x3c3824=_0x557397['length']>0x0?mt:0x0,_0xbe60df=ge({'row':_0x4d602f[_0x4e4166(0x38d)]+_0x2ec716+_0x3c3824,'col':_0x4d602f['col']},_0x228bf0,!0x1,!0x1),_0x5ae3f5=ge({'row':_0x4d602f[_0x4e4166(0x38d)]+_0x2ec716+_0x3c3824+_0x5eb344,'col':_0x4d602f[_0x4e4166(0x378)]},_0x258a69,!0x1,!0x0),_0x131dcf=ge({'row':_0x4d602f[_0x4e4166(0x38d)]+_0x2ec716+_0x3c3824,'col':_0x4d602f[_0x4e4166(0x378)]+_0x16b038},_0x2e825f,!0x1,!0x0),_0x51e194=ge({'row':_0x4d602f[_0x4e4166(0x38d)]+_0x2ec716+_0x3c3824+_0x5eb344,'col':_0x4d602f[_0x4e4166(0x378)]+_0x16b038},_0x1c71d0,!0x1,!0x1);_0x33f3f4[_0x4e4166(0x3ef)]={'rowRanges':_0x5ae3f5,'colRanges':_0x131dcf,'cornerRanges':_0xbe60df,'dataRanges':_0x51e194,'pageRanges':_0x557397};const _0x406acd=Ti(this[_0x4e4166(0x31d)],_0x35dd28,_0x369a45,this[_0x4e4166(0x365)]),{valueMatrix:_0x5d5933,rowInfo:_0x10e180,colInfo:_0x3a45c6,cornerInfo:_0x2beeb8,rowHeaderMap:_0xd2c329,colHeaderMap:_0x458c02}=_0x406acd;return _0x33f3f4[_0x4e4166(0x3b6)]={'rowInfo':_0x10e180,'colInfo':_0x3a45c6,'cornerInfo':_0x2beeb8},_0x33f3f4[_0x4e4166(0x1c3)]={'rowHeaderMap':_0xd2c329,'colHeaderMap':_0x458c02},_0x5d5933[_0x4e4166(0x342)]((_0x490283,_0x1b5b12)=>{const _0x34a5ff=_0x4e4166;Object['keys'](_0x1b5b12)[_0x34a5ff(0x342)](_0x418d84=>{const _0x2b4892=_0x34a5ff,_0x29a615=+_0x418d84,_0x57f762=_0x5d5933[_0x2b4892(0x344)](_0x490283,_0x29a615);_0x46583a[_0x2b4892(0x1ba)](_0x490283,_0x29a615,_0x57f762);});}),this['_viewUpdate$']['next']({'unitId':_0x4c2d59,'subUnitId':_0x21c5b1,'valueMatrix':_0x46583a,'rangesCache':_0x33f3f4[_0x4e4166(0x3ef)],'pivotTableId':_0x385656,'type':_0x12e0b9[_0x4e4166(0x1fa)]}),this[_0x4e4166(0x1bc)][_0x4e4166(0x221)](_0x4c2d59,_0x21c5b1,_0x385656,_0x46583a,_0x33f3f4['rangesInfo']),this[_0x4e4166(0x418)][_0x4e4166(0x2b7)](_0x4c2d59,_0x21c5b1,Bt,this['_createExclusiveRange'](_0x33f3f4[_0x4e4166(0x3ef)],_0x385656)),{'rangeCache':_0x33f3f4[_0x4e4166(0x3ef)],'matrix':_0x46583a};}}[_0x91438c(0x29b)](_0x911190,_0x480da0,_0x2c6be0,_0x4cbd7a){const _0x2dd6c3=_0x91438c,_0x53c5a5=this[_0x2dd6c3(0x298)]['t'],{unitId:_0x352b91,subUnitId:_0x2ed2b5,pivotTableId:_0x4e8503}=_0x911190,_0x3cbc5c={'filter':_0x53c5a5(_0x2dd6c3(0x410)),'row':_0x53c5a5(_0x2dd6c3(0x1c6)),'column':_0x53c5a5(_0x2dd6c3(0x23d)),'values':_0x53c5a5(_0x2dd6c3(0x286))},{matrixCache:_0x233c7f,rangesCache:_0x24641f}=jo(_0x3cbc5c,_0x2c6be0);return _0x233c7f[_0x2dd6c3(0x27d)]((_0x4cc618,_0x53fb1b,_0x1af519)=>{_0x480da0['setValue'](_0x4cc618,_0x53fb1b,_0x1af519);}),_0x4cbd7a[_0x2dd6c3(0x3ef)]=_0x24641f,this[_0x2dd6c3(0x2b6)][_0x2dd6c3(0x1db)]({'unitId':_0x352b91,'subUnitId':_0x2ed2b5,'valueMatrix':_0x480da0,'rangesCache':_0x24641f,'pivotTableId':_0x4e8503,'type':_0x911190[_0x2dd6c3(0x1fa)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x2dd6c3(0x221)](_0x352b91,_0x2ed2b5,_0x4e8503,_0x480da0,_0x24641f),this[_0x2dd6c3(0x418)][_0x2dd6c3(0x2b7)](_0x352b91,_0x2ed2b5,Bt,this[_0x2dd6c3(0x38a)](_0x24641f,_0x4e8503)),{'rangeCache':_0x4cbd7a[_0x2dd6c3(0x3ef)],'matrix':_0x480da0};}[_0x91438c(0x38a)](_0x450b30,_0x1422d1){const _0x310e00=[],_0x139f6f=Jt(_0x450b30);for(const _0x476e2d of _0x139f6f)_0x310e00['push']({'groupId':_0x1422d1,'range':_0x476e2d});return _0x310e00;}[_0x91438c(0x2ae)](_0x3abe18){const _0x34a857=_0x91438c;var _0x3fbfd1,_0x439316,_0x10bdec,_0x16de22;const {pivotTableId:_0x5cebd7,unitId:_0x1f57ca,subUnitId:_0xdf48ef}=_0x3abe18;if(!_0x5cebd7||!_0x1f57ca||!_0xdf48ef)return;const _0xd62a88=this[_0x34a857(0x1e9)](_0x1f57ca,_0xdf48ef),_0x3123e9=(_0x439316=(_0x3fbfd1=this[_0x34a857(0x405)][_0x34a857(0x274)](_0x1f57ca))==null?void 0x0:_0x3fbfd1[_0x34a857(0x274)](_0xdf48ef))==null?void 0x0:_0x439316['get'](_0x5cebd7);if(_0x3123e9!=null&&_0x3123e9[_0x34a857(0x3ef)]){for(const _0x44b70d of Object['keys'](_0x3123e9[_0x34a857(0x3ef)]))_0x3123e9['rangesInfo'][_0x44b70d]['forEach'](_0x35ec5d=>{const _0x3d1164=_0x34a857;for(let _0x6d0598=_0x35ec5d[_0x3d1164(0x34c)];_0x6d0598<=_0x35ec5d[_0x3d1164(0x25c)];_0x6d0598++)for(let _0x39770d=_0x35ec5d['startColumn'];_0x39770d<=_0x35ec5d['endColumn'];_0x39770d++)_0xd62a88[_0x3d1164(0x249)](_0x6d0598,_0x39770d);});}_0x3123e9&&((_0x16de22=(_0x10bdec=this['_pivotRenderInfoCache'][_0x34a857(0x274)](_0x1f57ca))==null?void 0x0:_0x10bdec['get'](_0xdf48ef))==null||_0x16de22['delete'](_0x5cebd7)),this[_0x34a857(0x2b6)][_0x34a857(0x1db)]({'unitId':_0x1f57ca,'subUnitId':_0xdf48ef,'valueMatrix':_0xd62a88,'pivotTableId':_0x5cebd7,'rangesCache':void 0x0,'type':_0x3abe18[_0x34a857(0x1fa)]}),this[_0x34a857(0x418)]['clearExclusiveRangesByGroupId'](_0x1f57ca,_0xdf48ef,Bt,_0x5cebd7);}[_0x91438c(0x3fb)](_0xfcf13c,_0x1a8f88,_0x293629){const _0x3340ff=_0x91438c;var _0x4febc0,_0x388b76,_0x4a76d1,_0x444cf1,_0x22926c,_0x26efc2;return this['_pivotRenderInfoCache'][_0x3340ff(0x35d)](_0xfcf13c)||this[_0x3340ff(0x405)][_0x3340ff(0x3bc)](_0xfcf13c,new Map()),(_0x4febc0=this[_0x3340ff(0x405)][_0x3340ff(0x274)](_0xfcf13c))!=null&&_0x4febc0[_0x3340ff(0x35d)](_0x1a8f88)||(_0x388b76=this[_0x3340ff(0x405)]['get'](_0xfcf13c))==null||_0x388b76['set'](_0x1a8f88,new Map()),(_0x444cf1=(_0x4a76d1=this[_0x3340ff(0x405)][_0x3340ff(0x274)](_0xfcf13c))==null?void 0x0:_0x4a76d1[_0x3340ff(0x274)](_0x1a8f88))!=null&&_0x444cf1['has'](_0x293629)||(_0x26efc2=(_0x22926c=this['_pivotRenderInfoCache']['get'](_0xfcf13c))==null?void 0x0:_0x22926c[_0x3340ff(0x274)](_0x1a8f88))==null||_0x26efc2[_0x3340ff(0x3bc)](_0x293629,{}),this[_0x3340ff(0x405)][_0x3340ff(0x274)](_0xfcf13c)[_0x3340ff(0x274)](_0x1a8f88)['get'](_0x293629);}[_0x91438c(0x1e9)](_0x3143f5,_0x167139){const _0x4195e2=_0x91438c;var _0x23fb08,_0x2629ee;return this[_0x4195e2(0x2e0)][_0x4195e2(0x35d)](_0x3143f5)||this[_0x4195e2(0x2e0)][_0x4195e2(0x3bc)](_0x3143f5,new Map()),(_0x23fb08=this['_pivotRenderValueMatrixCache']['get'](_0x3143f5))!=null&&_0x23fb08[_0x4195e2(0x35d)](_0x167139)||(_0x2629ee=this['_pivotRenderValueMatrixCache']['get'](_0x3143f5))==null||_0x2629ee[_0x4195e2(0x3bc)](_0x167139,new _0x17d6f8()),this[_0x4195e2(0x2e0)][_0x4195e2(0x274)](_0x3143f5)[_0x4195e2(0x274)](_0x167139);}[_0x91438c(0x42b)](_0x4f47ce,_0x41de55,_0x1baa5b,_0xfcd9bd){const _0x3fb45b=_0x91438c;var _0x45607f,_0x3817b6;const _0x466691=(_0x3817b6=(_0x45607f=this['_pivotRenderValueMatrixCache'][_0x3fb45b(0x274)](_0x4f47ce))==null?void 0x0:_0x45607f[_0x3fb45b(0x274)](_0x41de55))==null?void 0x0:_0x3817b6[_0x3fb45b(0x344)](_0x1baa5b,_0xfcd9bd);if(_0x466691!=null)return _0x466691;}[_0x91438c(0x311)](_0x57f7ea,_0x3f41d5,_0x4a5eb3,_0x27fbad){const _0x5a023f=_0x91438c;var _0x75626;const _0x26c2a6=_0x540207(_0x4a5eb3,_0x27fbad),_0x38f816=(_0x75626=this[_0x5a023f(0x405)]['get'](_0x57f7ea))==null?void 0x0:_0x75626[_0x5a023f(0x274)](_0x3f41d5);return _0x38f816?Array['from'](_0x38f816[_0x5a023f(0x31c)]())[_0x5a023f(0x263)](_0x2d1884=>{const _0x18c0d6=_0x5a023f,_0x826d63=_0x38f816[_0x18c0d6(0x274)](_0x2d1884),_0xe125ed=_0x826d63==null?void 0x0:_0x826d63[_0x18c0d6(0x3ef)];return _0xe125ed?Object['keys'](_0xe125ed)['some'](_0x9d4df5=>_0xe125ed[_0x9d4df5][_0x18c0d6(0x39d)](_0x1e219e=>_0x459723['contains'](_0x1e219e,_0x26c2a6))):!0x1;}):void 0x0;}[_0x91438c(0x38c)](_0x3fe0a7,_0x5a95dd,_0xfd0908){const _0xd1a5cd=_0x91438c;var _0x3b0e5c;const _0x3a38c1=(_0x3b0e5c=this[_0xd1a5cd(0x405)][_0xd1a5cd(0x274)](_0x3fe0a7))==null?void 0x0:_0x3b0e5c[_0xd1a5cd(0x274)](_0x5a95dd),_0x1a9ca9=[];return _0x3a38c1&&Array[_0xd1a5cd(0x1f1)](_0x3a38c1[_0xd1a5cd(0x31c)]())['forEach'](_0x4a0c7e=>{const _0x2658ae=_0xd1a5cd,_0x14fa6d=_0x3a38c1[_0x2658ae(0x274)](_0x4a0c7e),_0x46553a=_0x14fa6d==null?void 0x0:_0x14fa6d['rangesInfo'];if(_0x46553a)for(const _0xeeacd4 of Object['values'](_0x46553a)){let _0x39430b=!0x1;for(const _0x3a9841 of _0xeeacd4)if(_0x459723[_0x2658ae(0x28b)](_0x3a9841,_0xfd0908)){_0x1a9ca9[_0x2658ae(0x3fe)](_0x4a0c7e),_0x39430b=!0x0;break;}if(_0x39430b)break;}}),_0x1a9ca9;}['getSubUnitPivotMatrix'](_0x28d697,_0x1a25bd){const _0x46b0ec=_0x91438c;var _0x59df71,_0x4afe59;return(_0x4afe59=(_0x59df71=this[_0x46b0ec(0x2e0)][_0x46b0ec(0x274)](_0x28d697))==null?void 0x0:_0x59df71['get'](_0x1a25bd))!=null?_0x4afe59:new _0x17d6f8();}['getSubUnitPivotRenderCache'](_0x3a8e7d,_0x2e7bb5){const _0x22e422=_0x91438c;var _0x11a3a2;return(_0x11a3a2=this[_0x22e422(0x405)][_0x22e422(0x274)](_0x3a8e7d))==null?void 0x0:_0x11a3a2[_0x22e422(0x274)](_0x2e7bb5);}[_0x91438c(0x41e)](_0xd77e25,_0xa80d25,_0x592f62){const _0x848c5e=_0x91438c;var _0x5ee6e9,_0x47ca71;return(_0x47ca71=(_0x5ee6e9=this[_0x848c5e(0x405)][_0x848c5e(0x274)](_0xd77e25))==null?void 0x0:_0x5ee6e9['get'](_0xa80d25))==null?void 0x0:_0x47ca71['get'](_0x592f62);}[_0x91438c(0x25b)](_0x20ce78){const _0x230799=_0x91438c;this[_0x230799(0x405)][_0x230799(0x21e)](_0x20ce78),this[_0x230799(0x2e0)][_0x230799(0x21e)](_0x20ce78);}[_0x91438c(0x248)](_0x3b4f1f,_0xfccb74){this['_markDirty$']['next']({'unitId':_0x3b4f1f,'subUnitId':_0xfccb74});}};Ve=zi([st(0x0,_0x431452(_0x3aca7e)),st(0x1,_0x431452(_0x4efa5c)),st(0x2,_0x431452(he)),st(0x3,_0x431452(_0x2c885f)),st(0x4,_0x431452(_0x598df4))],Ve);var Qi=Object[_0x91438c(0x26b)],es=(_0x2fdc45,_0x1e183e,_0x2c8556,_0x3c5dde)=>{const _0x319bd9=_0x91438c;for(var _0x40c653=_0x3c5dde>0x1?void 0x0:_0x3c5dde?Qi(_0x1e183e,_0x2c8556):_0x1e183e,_0x1b24ec=_0x2fdc45[_0x319bd9(0x3e7)]-0x1,_0x3de1bb;_0x1b24ec>=0x0;_0x1b24ec--)(_0x3de1bb=_0x2fdc45[_0x1b24ec])&&(_0x40c653=_0x3de1bb(_0x40c653)||_0x40c653);return _0x40c653;},Fo=(_0x193f89,_0x4268b8)=>(_0x542759,_0x1173f1)=>_0x4268b8(_0x542759,_0x1173f1,_0x193f89);let ie=class extends _0x5353ba{constructor(_0x3362af,_0x3e9bf1){const _0x55f502=_0x91438c;super(),N(this,_0x55f502(0x204),new _0xd0b6d0({'PIVOT_PERFORM_CHECK':be})),N(this,'interceptor',new _0x4c5fb3({'PIVOT_MUTATION_GENERATE':Xo})),(this[_0x55f502(0x376)]=_0x3362af,this[_0x55f502(0x355)]=_0x3e9bf1,this[_0x55f502(0x250)]());}[_0x91438c(0x250)](){this['_initViewModelBySheetInterceptor']();}[_0x91438c(0x277)](_0x560a44){const _0x58b309=_0x91438c;return this[_0x58b309(0x204)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x560a44);}['_initViewModelBySheetInterceptor'](){const _0x599f02=_0x91438c;this['disposeWithMe'](this['_sheetInterceptorService'][_0x599f02(0x314)](_0x18e6d2['CELL_CONTENT'],{'priority':0xc8,'effect':_0x4e0a71[_0x599f02(0x36d)]|_0x4e0a71[_0x599f02(0x3c6)],'handler':(_0x8c4815,_0x24b544,_0x5e4a47)=>{const _0xc486ce=_0x599f02,{row:_0x53885e,col:_0x2f26c7,unitId:_0x53de8d,subUnitId:_0x2d1d2f,workbook:_0x3dfc36}=_0x24b544,_0x78c6c5=this['_sheetsPivotTableAdaptorModel']['getPivotTableCellData'](_0x53de8d,_0x2d1d2f,_0x53885e,_0x2f26c7);if(!_0x78c6c5)return _0x5e4a47(_0x8c4815);const _0x54318f={..._0x8c4815};(_0x78c6c5['v']||_0x78c6c5['v']===0x0)&&(_0x54318f['v']=_0x78c6c5['v']),_0x78c6c5['t']&&(_0x54318f['t']=_0x78c6c5['t']);const _0x9bf857=(typeof(_0x8c4815==null?void 0x0:_0x8c4815['s'])==_0xc486ce(0x1e0)?_0x3dfc36['getStyles']()[_0xc486ce(0x274)](_0x8c4815==null?void 0x0:_0x8c4815['s']):_0x8c4815==null?void 0x0:_0x8c4815['s'])||{},_0x43ed11=_0x3dfc36[_0xc486ce(0x334)]()[_0xc486ce(0x274)](_0x78c6c5['s']),_0x4b286c={..._0x43ed11,..._0x9bf857};_0x43ed11!=null&&_0x43ed11['n']&&(_0x4b286c['n']=_0x43ed11['n']);const _0xb1c1ec=_0x3dfc36['getStyles']()[_0xc486ce(0x1ba)](_0x4b286c);return _0x54318f['s']=_0xb1c1ec,(_0x78c6c5[_0xc486ce(0x1ff)]===_0x43e39f[_0xc486ce(0x208)]||_0x78c6c5[_0xc486ce(0x1ff)]===_0x43e39f[_0xc486ce(0x368)])&&(_0x54318f['fontRenderExtension']={},_0x54318f[_0xc486ce(0x1d6)][_0xc486ce(0x22b)]=li),_0x5e4a47(_0x54318f);}}));}};ie=es([Fo(0x0,_0x431452(_0x3ec024)),Fo(0x1,_0x431452(Ve))],ie);const Zo={'id':_0x91438c(0x205),'type':_0x2e18c8['MUTATION'],'handler':(_0xd84436,_0x36227c)=>{const _0x205ca6=_0x91438c;if(!_0x36227c)return!0x1;if(!!_0xd84436[_0x205ca6(0x274)](_0x495f63)[_0x205ca6(0x3d4)](Y))return!0x0;const {pivotTableId:_0x5c0271,fieldJSON:_0x542936,unitId:_0x34857c,subUnitId:_0x39be6c}=_0x36227c;let _0x382fb1;const {dataFieldType:_0x2c9db2,id:_0x1ac607,name:_0x309822,hexCode:_0x545b88,originalFieldId:_0x2b6b98}=_0x542936;if(_0x2c9db2===_0x57ced6[_0x205ca6(0x2c5)]&&(_0x382fb1=new _0x5281df(_0x1ac607,_0x309822,_0x545b88,_0x2b6b98)),!_0x382fb1)return!0x1;const _0x21052a=_0xd84436[_0x205ca6(0x274)]($),_0x56f5a7=_0x21052a[_0x205ca6(0x33c)](_0x34857c),_0x3a11c2=_0x56f5a7[_0x205ca6(0x232)](_0x5c0271);_0x56f5a7[_0x205ca6(0x3a8)](_0x382fb1),_0x3a11c2[_0x205ca6(0x381)](_0x382fb1[_0x205ca6(0x403)](),_0x382fb1[_0x205ca6(0x30e)]());const _0x244455=_0x3a11c2['getFieldById'](_0x382fb1[_0x205ca6(0x361)]());_0x244455&&_0x382fb1['refreshGroupField'](_0x244455);const _0x25637f=_0x21052a[_0x205ca6(0x294)](_0x34857c,_0x39be6c,_0x5c0271);return _0x21052a[_0x205ca6(0x1ca)]({'unitId':_0x34857c,'subUnitId':_0x39be6c,'token':_0x5c0271,'type':J['Set'],'pivotConfig':_0x25637f}),!0x0;}},zo={'id':_0x91438c(0x1d8),'type':_0x2e18c8[_0x91438c(0x318)],'handler':(_0x52b21b,_0x17713c)=>{const _0x23edbf=_0x91438c;if(!_0x17713c)return!0x1;if(!!_0x52b21b[_0x23edbf(0x274)](_0x495f63)[_0x23edbf(0x3d4)](Y))return!0x0;const {pivotTableId:_0x5816bd,dataFieldId:_0x376bd9,unitId:_0x226e97,subUnitId:_0x40b28e}=_0x17713c,_0x56182c=_0x52b21b[_0x23edbf(0x274)]($),_0x21e8e9=_0x56182c[_0x23edbf(0x33c)](_0x226e97);_0x21e8e9[_0x23edbf(0x232)](_0x5816bd)['deleteField'](_0x376bd9);let _0x2b7a35=!0x0;for(const _0x4e4ffb in _0x21e8e9[_0x23edbf(0x391)])if(_0x21e8e9[_0x23edbf(0x391)][_0x4e4ffb]['getFieldIds']()[_0x23edbf(0x1da)](_0x376bd9)){_0x2b7a35=!0x1;break;}_0x2b7a35&&_0x21e8e9[_0x23edbf(0x1d7)](_0x376bd9);const _0x5b0efb=_0x56182c[_0x23edbf(0x294)](_0x226e97,_0x40b28e,_0x5816bd);return _0x56182c[_0x23edbf(0x1ca)]({'unitId':_0x226e97,'subUnitId':_0x40b28e,'token':_0x5816bd,'type':J[_0x23edbf(0x20b)],'pivotConfig':_0x5b0efb}),!0x0;}};function Vt(_0x22eb0e,_0x3cb937){const _0x188bf0=_0x91438c;switch(_0x3cb937){case _0x48ff8c[_0x188bf0(0x36d)]:return _0x22eb0e[_0x188bf0(0x3e9)];case _0x48ff8c[_0x188bf0(0x41b)]:return _0x22eb0e['filterFields'];case _0x48ff8c[_0x188bf0(0x34a)]:return _0x22eb0e['rowFields'];case _0x48ff8c[_0x188bf0(0x41d)]:return _0x22eb0e['columnFields'];default:return[];}}function Ge(_0x13e9c8,_0x1f33b9){const _0x2978ec=_0x91438c;return _0x13e9c8[_0x2978ec(0x3f5)][_0x1f33b9]||_0x13e9c8[_0x2978ec(0x2c2)][_0x1f33b9];}function ts(_0x5e14e0,_0x3e983e){const _0x5c4fb0=_0x91438c,{area:_0x229fbb,fieldJson:_0x50b538,index:_0x11553a}=_0x3e983e;_0x229fbb===_0x48ff8c['Value']?_0x5e14e0[_0x5c4fb0(0x3f5)][_0x50b538['id']]=_0x50b538:_0x5e14e0['dimension'][_0x50b538['id']]=_0x50b538,Vt(_0x5e14e0,_0x229fbb)[_0x5c4fb0(0x310)](_0x11553a,0x0,_0x50b538['id']);}function os(_0x4446bf,_0x2fe7ba){const _0x471a48=_0x91438c,{area:_0xce03f5,fieldId:_0xf8b2d4,index:_0xac9e2f}=_0x2fe7ba;_0xce03f5===_0x48ff8c[_0x471a48(0x36d)]?delete _0x4446bf[_0x471a48(0x3f5)][_0xf8b2d4]:delete _0x4446bf[_0x471a48(0x2c2)][_0xf8b2d4],Vt(_0x4446bf,_0xce03f5)['splice'](_0xac9e2f,0x1);}function ns(_0x43760d,_0x8705ac){const _0x127f8d=_0x91438c,{fieldId:_0x17d79a,name:_0x793d97}=_0x8705ac,_0x39000d=Ge(_0x43760d,_0x17d79a);_0x39000d&&(_0x39000d[_0x127f8d(0x240)]=_0x793d97);}function is(_0x114736,_0x1a6e59){const _0x4e9ad5=_0x91438c,{fieldId:_0x187715,collapse:_0x1e4879,item:_0x278a98}=_0x1a6e59;_0x278a98!==void 0x0?(_0x114736[_0x4e9ad5(0x3c7)][_0x187715]=_0x114736[_0x4e9ad5(0x3c7)][_0x187715]||{},_0x114736['collapseInfo'][_0x187715][_0x278a98]=_0x1e4879):_0x114736[_0x4e9ad5(0x3c7)][_0x187715]=_0x1e4879;}function ss(_0x2a6e63,_0x16ae80){const {fieldId:_0x3f94f0,format:_0x1bc2ba}=_0x16ae80,_0x41c5bf=Ge(_0x2a6e63,_0x3f94f0);_0x41c5bf&&(_0x41c5bf['format']=_0x1bc2ba);}function as(_0x46e269,_0x5d552f){const _0x5c8ec5=_0x91438c,{fieldId:_0x1bdd84,filterInfo:_0x57adf4}=_0x5d552f,_0x18b968=Ge(_0x46e269,_0x1bdd84);_0x18b968&&(_0x18b968[_0x5c8ec5(0x320)]=_0x57adf4);}function rs(_0x36e91e,_0x38fc40){const _0x2381c4=_0x91438c,{fieldId:_0x4b9310,filterInfo:_0x10fc1d}=_0x38fc40,_0x3f577e=_0x36e91e[_0x2381c4(0x424)][_0x2381c4(0x3ad)](_0xf24577=>_0xf24577['fieldId']!==_0x4b9310);_0x10fc1d&&_0x3f577e['push']({'fieldId':_0x4b9310,'filterInfo':_0x10fc1d}),_0x36e91e[_0x2381c4(0x424)]=_0x3f577e;}function ls(_0xeb3705,_0x265778){const _0x146036=_0x91438c,{fieldId:_0x176c99,subtotalType:_0x1b2bd1}=_0x265778,_0x5ab3ff=Ge(_0xeb3705,_0x176c99);_0x5ab3ff&&(_0x5ab3ff[_0x146036(0x28c)]=_0x1b2bd1);}function ds(_0x252a6e,_0xea8d06){const _0x2eabb7=_0x91438c,{fieldId:_0x400fa0,oldArea:_0x2f0e97,area:_0x444ac3,oldIndex:_0x49a572,index:_0x4bf36c}=_0xea8d06,_0x58bf28=_0x2f0e97!==_0x48ff8c['Value']&&_0x444ac3===_0x48ff8c[_0x2eabb7(0x36d)],_0x4a53e1=_0x2f0e97===_0x48ff8c[_0x2eabb7(0x36d)]&&_0x444ac3!==_0x48ff8c[_0x2eabb7(0x36d)];if(_0x58bf28||_0x4a53e1){const _0x53495e=Ge(_0x252a6e,_0x400fa0);_0x53495e&&(_0x58bf28?(delete _0x252a6e[_0x2eabb7(0x2c2)][_0x400fa0],_0x252a6e[_0x2eabb7(0x3f5)][_0x400fa0]=_0x53495e):(delete _0x252a6e[_0x2eabb7(0x3f5)][_0x400fa0],_0x252a6e[_0x2eabb7(0x2c2)][_0x400fa0]=_0x53495e));}const _0x576676=Vt(_0x252a6e,_0x2f0e97),_0x284253=Vt(_0x252a6e,_0x444ac3);_0x576676[_0x2eabb7(0x310)](_0x49a572,0x1),_0x284253['splice'](_0x4bf36c,0x0,_0x400fa0);}function cs(_0x5b4a33,_0x91eec2){const _0x1e33cf=_0x91438c,{valuePosition:_0x57f00d,index:_0x5a3f90}=_0x91eec2;_0x5b4a33[_0x1e33cf(0x2fe)]=_0x57f00d,_0x5b4a33[_0x1e33cf(0x265)]=_0x5a3f90;}function us(_0x55fd93,_0x3aaca4){const _0x2cad8b=_0x91438c,{tableFieldId:_0x4f410d,sourceName:_0x410a41,dataFieldId:_0x45408a}=_0x3aaca4,_0x1546f8=Ge(_0x55fd93,_0x4f410d);_0x1546f8&&(_0x1546f8[_0x2cad8b(0x2a7)]=_0x410a41,_0x1546f8[_0x2cad8b(0x3e8)]=_0x45408a);}function fs(_0x3f1126,_0x1bf585){const _0x14356e=_0x91438c,{fieldId:_0x50666b,sortInfo:_0x53df28}=_0x1bf585,_0x18f174=Ge(_0x3f1126,_0x50666b);_0x18f174&&(_0x18f174[_0x14356e(0x2bf)]=_0x53df28);}function gs(_0x2f274e,_0x54ee31){const _0x406a3c=_0x91438c,{options:_0xeb4772}=_0x54ee31;_0x2f274e['options']={..._0x2f274e[_0x406a3c(0x3a3)],..._0xeb4772};}const $t={'type':_0x2e18c8['MUTATION'],'id':_0x91438c(0x29a),'handler'(_0x1aa7d3,_0x4c9cdb){const _0x5576f0=_0x91438c;if(!_0x4c9cdb)return!0x1;if(!!_0x1aa7d3[_0x5576f0(0x274)](_0x495f63)[_0x5576f0(0x3d4)](Y))return!0x0;const _0x2c1def=_0x1aa7d3[_0x5576f0(0x274)]($),{pivotTableId:_0xf0754c,fieldJson:_0x105d3c,area:_0x4e75ff,index:_0x537030,unitId:_0x3269c4,subUnitId:_0x3bd794}=_0x4c9cdb,_0xbf6a48=_0x2c1def[_0x5576f0(0x31f)](_0xf0754c);if(!_0xbf6a48)return!0x1;let _0x17ab5b;_0x4e75ff===_0x48ff8c[_0x5576f0(0x36d)]?_0x17ab5b=_0xef737d(_0x105d3c):_0x17ab5b=_0x19d900(_0x105d3c),_0xbf6a48[_0x5576f0(0x381)](_0x17ab5b,_0x4e75ff,_0x537030);const _0x14025f=_0x2c1def[_0x5576f0(0x1fd)](_0x3269c4,_0x3bd794,_0xf0754c);ts(_0x14025f,_0x4c9cdb);const _0x5f15a2=_0x2c1def[_0x5576f0(0x294)](_0x3269c4,_0x3bd794,_0xf0754c);return _0x2c1def[_0x5576f0(0x1ca)]({'unitId':_0x3269c4,'subUnitId':_0x3bd794,'token':_0xf0754c,'type':J[_0x5576f0(0x20b)],'pivotConfig':_0x5f15a2}),!0x0;}},Xt={'type':_0x2e18c8[_0x91438c(0x318)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x6b9156,_0x71a448){const _0x2d1827=_0x91438c;if(!_0x71a448)return!0x1;if(!!_0x6b9156['get'](_0x495f63)[_0x2d1827(0x3d4)](Y))return!0x0;const _0x2a5139=_0x6b9156[_0x2d1827(0x274)]($),{pivotTableId:_0x3e9bb2,fieldId:_0xcae013,unitId:_0x56b1fa,subUnitId:_0x578b21}=_0x71a448,_0x2937b1=_0x2a5139[_0x2d1827(0x31f)](_0x3e9bb2);if(!_0x2937b1)return!0x1;_0x2937b1[_0x2d1827(0x319)](_0xcae013);const _0x4c57f7=_0x2a5139['getPivotTableModelConfig'](_0x56b1fa,_0x578b21,_0x3e9bb2);os(_0x4c57f7,_0x71a448);const _0x2fdea5=_0x2a5139[_0x2d1827(0x294)](_0x56b1fa,_0x578b21,_0x3e9bb2);return _0x2a5139[_0x2d1827(0x1ca)]({'unitId':_0x56b1fa,'subUnitId':_0x578b21,'token':_0x3e9bb2,'type':J[_0x2d1827(0x20b)],'pivotConfig':_0x2fdea5}),!0x0;}},Gt={'type':_0x2e18c8['MUTATION'],'id':_0x91438c(0x1c9),'handler'(_0x2cb6ec,_0x467114){const _0x1ac0a6=_0x91438c;if(!_0x467114)return!0x1;if(!!_0x2cb6ec[_0x1ac0a6(0x274)](_0x495f63)[_0x1ac0a6(0x3d4)](Y))return!0x0;const _0x5b416e=_0x2cb6ec['get']($),{unitId:_0x153379,subUnitId:_0x188c71,pivotTableId:_0x28aadb,fieldId:_0x43a05f,name:_0x23d932}=_0x467114,_0xe927a5=_0x5b416e[_0x1ac0a6(0x31f)](_0x28aadb);if(!_0xe927a5)return!0x1;_0xe927a5[_0x1ac0a6(0x21a)](_0x43a05f,_0x23d932);const _0xa03b8=_0x5b416e['getPivotTableModelConfig'](_0x153379,_0x188c71,_0x28aadb);return ns(_0xa03b8,_0x467114),_0x5b416e['addDirtyPivotTable']({'unitId':_0x153379,'subUnitId':_0x188c71,'token':_0x28aadb,'type':J['Set']}),!0x0;}},Wt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x229),'handler'(_0x48be4a,_0x343a66){const _0x7e014=_0x91438c;if(!_0x343a66)return!0x1;if(!!_0x48be4a[_0x7e014(0x274)](_0x495f63)[_0x7e014(0x3d4)](Y))return!0x0;const _0xf9c4a7=_0x48be4a[_0x7e014(0x274)]($),{unitId:_0x185055,subUnitId:_0x3d1787,pivotTableId:_0x5b5d25,fieldId:_0x25f01e,collapse:_0x562573,item:_0x2fdc18}=_0x343a66,_0xf9f538=_0xf9c4a7['getPivotTableInstance'](_0x5b5d25);if(!_0xf9f538)return!0x1;_0xf9f538[_0x7e014(0x3f8)](_0x25f01e,_0x562573,_0x2fdc18);const _0xbc8539=_0xf9c4a7[_0x7e014(0x1fd)](_0x185055,_0x3d1787,_0x5b5d25);return is(_0xbc8539,_0x343a66),_0xf9c4a7[_0x7e014(0x1ca)]({'unitId':_0x185055,'subUnitId':_0x3d1787,'token':_0x5b5d25,'type':J['Set']}),!0x0;}},jt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x26d),'handler'(_0x41d239,_0x441cc3){const _0x232352=_0x91438c;if(!_0x441cc3)return!0x1;if(!!_0x41d239[_0x232352(0x274)](_0x495f63)[_0x232352(0x3d4)](Y))return!0x0;const _0x4e23c8=_0x41d239[_0x232352(0x274)]($),{unitId:_0x47f994,subUnitId:_0x126d7c,pivotTableId:_0x44fa68,fieldId:_0x2979b3,format:_0x3068ca}=_0x441cc3,_0x282871=_0x4e23c8[_0x232352(0x31f)](_0x44fa68);if(!_0x282871)return!0x1;_0x282871[_0x232352(0x411)](_0x2979b3,_0x3068ca);const _0x5d3e24=_0x4e23c8[_0x232352(0x1fd)](_0x47f994,_0x126d7c,_0x44fa68);return ss(_0x5d3e24,_0x441cc3),_0x4e23c8[_0x232352(0x1ca)]({'unitId':_0x47f994,'subUnitId':_0x126d7c,'token':_0x44fa68,'type':J['Set']}),!0x0;}},Kt={'type':_0x2e18c8['MUTATION'],'id':_0x91438c(0x40d),'handler'(_0x491810,_0x2be368){const _0xfc70e=_0x91438c;if(!_0x2be368)return!0x1;if(!!_0x491810['get'](_0x495f63)['getConfig'](Y))return!0x0;const _0x1acf5b=_0x491810['get']($),{unitId:_0x768cb8,subUnitId:_0x55b1e5,pivotTableId:_0x439056,fieldId:_0x1619a9,filterInfo:_0x4a076d}=_0x2be368,_0x33b4e3=_0x1acf5b[_0xfc70e(0x31f)](_0x439056);if(!_0x33b4e3)return!0x1;_0x33b4e3[_0xfc70e(0x3be)](_0x1619a9,_0x4a076d);const _0x5e0735=_0x1acf5b[_0xfc70e(0x1fd)](_0x768cb8,_0x55b1e5,_0x439056);return as(_0x5e0735,_0x2be368),_0x1acf5b[_0xfc70e(0x1ca)]({'unitId':_0x768cb8,'subUnitId':_0x55b1e5,'token':_0x439056,'type':J[_0xfc70e(0x20b)]}),!0x0;}},Ht={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x1f0),'handler'(_0x1cd29a,_0x562437){const _0x20b513=_0x91438c;if(!_0x562437)return!0x1;if(!!_0x1cd29a[_0x20b513(0x274)](_0x495f63)[_0x20b513(0x3d4)](Y))return!0x0;const _0xc74737=_0x1cd29a['get']($),{unitId:_0xbe4c78,subUnitId:_0x5d86c2,pivotTableId:_0x499c25,options:_0x3ce1af}=_0x562437,_0x3ada04=_0xc74737['getPivotTableInstance'](_0x499c25);if(!_0x3ada04)return!0x1;_0x3ada04[_0x20b513(0x24b)](_0x3ce1af);const _0x3a4346=_0xc74737[_0x20b513(0x1fd)](_0xbe4c78,_0x5d86c2,_0x499c25);return gs(_0x3a4346,_0x562437),_0xc74737['addDirtyPivotTable']({'unitId':_0xbe4c78,'subUnitId':_0x5d86c2,'token':_0x499c25,'type':J[_0x20b513(0x20b)]}),!0x0;}},qt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x393),'handler'(_0x206519,_0x20bf86){const _0x4b410b=_0x91438c;if(!_0x20bf86)return!0x1;if(!!_0x206519['get'](_0x495f63)[_0x4b410b(0x3d4)](Y))return!0x0;const _0x363550=_0x206519[_0x4b410b(0x274)]($),{unitId:_0x5e9f3c,subUnitId:_0x495543,pivotTableId:_0x1ffcb8,sortInfo:_0x3abc3b,fieldId:_0x2dd142}=_0x20bf86,_0x4e96fb=_0x363550[_0x4b410b(0x31f)](_0x1ffcb8);if(!_0x4e96fb)return!0x1;_0x4e96fb[_0x4b410b(0x1d5)](_0x2dd142,_0x3abc3b);const _0x16e5e1=_0x363550[_0x4b410b(0x1fd)](_0x5e9f3c,_0x495543,_0x1ffcb8);return fs(_0x16e5e1,_0x20bf86),_0x363550[_0x4b410b(0x1ca)]({'unitId':_0x5e9f3c,'subUnitId':_0x495543,'token':_0x1ffcb8,'type':J[_0x4b410b(0x20b)]}),!0x0;}},Yt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x406),'handler'(_0x4edbfb,_0x2bcbdd){const _0x11c863=_0x91438c;if(!_0x2bcbdd)return!0x1;if(!!_0x4edbfb[_0x11c863(0x274)](_0x495f63)[_0x11c863(0x3d4)](Y))return!0x0;const _0x2772c8=_0x4edbfb['get']($),{unitId:_0x44dbfc,subUnitId:_0x57776e,pivotTableId:_0x53ea78,fieldId:_0xa3c341,subtotalType:_0x4adfea}=_0x2bcbdd,_0x43b713=_0x2772c8[_0x11c863(0x31f)](_0x53ea78);if(!_0x43b713)return!0x1;_0x43b713[_0x11c863(0x241)](_0xa3c341,_0x4adfea);const _0x2447df=_0x2772c8[_0x11c863(0x1fd)](_0x44dbfc,_0x57776e,_0x53ea78);return ls(_0x2447df,_0x2bcbdd),_0x2772c8[_0x11c863(0x1ca)]({'unitId':_0x44dbfc,'subUnitId':_0x57776e,'token':_0x53ea78,'type':J[_0x11c863(0x20b)]}),!0x0;}},Zt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x1ed),'handler'(_0x2499a5,_0x545305){const _0x1b5418=_0x91438c;if(!_0x545305)return!0x1;if(!!_0x2499a5['get'](_0x495f63)['getConfig'](Y))return!0x0;const _0x5a6b6f=_0x2499a5['get']($),{unitId:_0xfeb051,subUnitId:_0x4f422c,pivotTableId:_0x22014f,fieldId:_0x25a026,filterInfo:_0x44ef49}=_0x545305,_0xc12926=_0x5a6b6f[_0x1b5418(0x31f)](_0x22014f);if(!_0xc12926)return!0x1;_0xc12926[_0x1b5418(0x306)](_0x25a026,_0x44ef49);const _0x535a7c=_0x5a6b6f[_0x1b5418(0x1fd)](_0xfeb051,_0x4f422c,_0x22014f);return rs(_0x535a7c,_0x545305),_0x5a6b6f[_0x1b5418(0x1ca)]({'unitId':_0xfeb051,'subUnitId':_0x4f422c,'token':_0x22014f,'type':J['Set']}),!0x0;}},zt={'type':_0x2e18c8[_0x91438c(0x318)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x42989e,_0xa16c03){const _0x4fdb13=_0x91438c;if(!_0xa16c03)return!0x1;if(!!_0x42989e[_0x4fdb13(0x274)](_0x495f63)[_0x4fdb13(0x3d4)](Y))return!0x0;const _0x1dd4e3=_0x42989e[_0x4fdb13(0x274)]($),{unitId:_0x3c7511,subUnitId:_0x5a7601,pivotTableId:_0x5df9b8,area:_0x1d9433,index:_0x352e6b,fieldId:_0x41ebf4}=_0xa16c03,_0x5d0f0c=_0x1dd4e3['getPivotTableInstance'](_0x5df9b8);if(!_0x5d0f0c)return!0x1;_0x5d0f0c['updateFieldPosition'](_0x41ebf4,_0x1d9433,_0x352e6b);const _0x4f4e94=_0x1dd4e3[_0x4fdb13(0x1fd)](_0x3c7511,_0x5a7601,_0x5df9b8);return ds(_0x4f4e94,_0xa16c03),_0x1dd4e3[_0x4fdb13(0x1ca)]({'unitId':_0x3c7511,'subUnitId':_0x5a7601,'token':_0x5df9b8,'type':J[_0x4fdb13(0x20b)]}),!0x0;}},Qt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x315),'handler'(_0x1dee29,_0x25a5f3){const _0x168d04=_0x91438c;if(!_0x25a5f3)return!0x1;if(!!_0x1dee29['get'](_0x495f63)[_0x168d04(0x3d4)](Y))return!0x0;const _0x213f33=_0x1dee29['get']($),{unitId:_0x4bd2cc,subUnitId:_0x4715ca,pivotTableId:_0x3bdf10,sourceName:_0x29d010,dataFieldId:_0x452000,tableFieldId:_0x2675b2}=_0x25a5f3,_0xbaf907=_0x213f33[_0x168d04(0x31f)](_0x3bdf10);if(!_0xbaf907)return!0x1;_0xbaf907[_0x168d04(0x38f)](_0x2675b2,_0x29d010,_0x452000);const _0x40d454=_0x213f33[_0x168d04(0x1fd)](_0x4bd2cc,_0x4715ca,_0x3bdf10);return us(_0x40d454,_0x25a5f3),_0x213f33[_0x168d04(0x1ca)]({'unitId':_0x4bd2cc,'subUnitId':_0x4715ca,'token':_0x3bdf10,'type':J[_0x168d04(0x20b)]}),!0x0;}},eo={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x350),'handler'(_0x3d5923,_0x30db50){const _0x583eb6=_0x91438c;if(!_0x30db50)return!0x1;if(!!_0x3d5923[_0x583eb6(0x274)](_0x495f63)['getConfig'](Y))return!0x0;const _0x4214d3=_0x3d5923[_0x583eb6(0x274)]($),{unitId:_0x594a75,subUnitId:_0x842a71,pivotTableId:_0x25b85d,valuePosition:_0x5755aa,index:_0x278627}=_0x30db50,_0x4a5598=_0x4214d3[_0x583eb6(0x31f)](_0x25b85d);if(!_0x4a5598)return!0x1;_0x4a5598['updateValuePosition'](_0x5755aa,_0x278627);const _0x332c63=_0x4214d3['getPivotTableModelConfig'](_0x594a75,_0x842a71,_0x25b85d);return cs(_0x332c63,_0x30db50),_0x4214d3[_0x583eb6(0x1ca)]({'unitId':_0x594a75,'subUnitId':_0x842a71,'token':_0x25b85d,'type':J[_0x583eb6(0x20b)]}),!0x0;}};function Ie(_0x26e48a,_0x57b37a,_0x2c9205){const _0x1cf979=_0x91438c,{pivotTableId:_0x16f39b,unitId:_0xd11278,subUnitId:_0x5d83d3}=_0x57b37a,_0x3aa98e=[],_0x55c6c0=[];for(const _0x3a22e1 of _0x2c9205)switch(_0x3a22e1[_0x1cf979(0x1fa)]){case _0x1ffd1e['AddField']:{const {fieldJson:_0x247344,area:_0x14a30b,index:_0x29750d}=_0x3a22e1,_0x52f581={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldJson':_0x247344,'area':_0x14a30b,'index':_0x29750d},_0x2e139b={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x247344['id'],'area':_0x14a30b,'index':_0x29750d};_0x3aa98e[_0x1cf979(0x3fe)]({'id':$t['id'],'params':_0x52f581}),_0x55c6c0[_0x1cf979(0x273)]({'id':Xt['id'],'params':_0x2e139b});}break;case _0x1ffd1e[_0x1cf979(0x401)]:{const {fieldId:_0x249c2a,newSubtotalType:_0x198a62,oldSubtotalType:_0x5e963c}=_0x3a22e1,_0x146afb={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x249c2a,'subtotalType':_0x198a62};_0x3aa98e[_0x1cf979(0x3fe)]({'id':Yt['id'],'params':_0x146afb});const _0x422a96={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x249c2a,'subtotalType':_0x5e963c};_0x55c6c0[_0x1cf979(0x273)]({'id':Yt['id'],'params':_0x422a96});}break;case _0x1ffd1e['RemoveField']:{const {fieldId:_0xe14681,fieldJson:_0x1ed6b7,area:_0x4e72e2,index:_0xec314d}=_0x3a22e1,_0x55cb1c={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0xe14681,'index':_0xec314d,'area':_0x4e72e2};_0x3aa98e[_0x1cf979(0x3fe)]({'id':Xt['id'],'params':_0x55cb1c});const _0x2b2996={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldJson':_0x1ed6b7,'area':_0x4e72e2,'index':_0xec314d};_0x55c6c0[_0x1cf979(0x273)]({'id':$t['id'],'params':_0x2b2996});}break;case _0x1ffd1e[_0x1cf979(0x35c)]:{const {fieldId:_0x3a91f5,oldName:_0x558c92,newName:_0x2b439b}=_0x3a22e1,_0xf22aae={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x3a91f5,'name':_0x2b439b};_0x3aa98e['push']({'id':Gt['id'],'params':_0xf22aae});const _0x23bcbe={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x3a91f5,'name':_0x558c92};_0x55c6c0[_0x1cf979(0x273)]({'id':Gt['id'],'params':_0x23bcbe});}break;case _0x1ffd1e[_0x1cf979(0x220)]:{const {fieldId:_0x3e851d,oldFilterInfo:_0x2e1289,newFilterInfo:_0x19e099}=_0x3a22e1,_0x27ae46={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x3e851d,'filterInfo':_0x19e099};_0x3aa98e[_0x1cf979(0x3fe)]({'id':Kt['id'],'params':_0x27ae46});const _0x572b6d={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x3e851d,'filterInfo':_0x2e1289};_0x55c6c0[_0x1cf979(0x273)]({'id':Kt['id'],'params':_0x572b6d});}break;case _0x1ffd1e[_0x1cf979(0x3db)]:{const {fieldId:_0x35f506,oldSortInfo:_0xeb1a9e,newSortInfo:_0x1bdfb3}=_0x3a22e1,_0x22e0ce={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x35f506,'sortInfo':_0x1bdfb3};_0x3aa98e[_0x1cf979(0x3fe)]({'id':qt['id'],'params':_0x22e0ce});const _0x4360bd={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x35f506,'sortInfo':_0xeb1a9e};_0x55c6c0[_0x1cf979(0x273)]({'id':qt['id'],'params':_0x4360bd});}break;case _0x1ffd1e['SetOptions']:{const {oldOptions:_0x4d89b8,newOptions:_0x37d81b}=_0x3a22e1,_0x27ca79={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'options':_0x37d81b};_0x3aa98e['push']({'id':Ht['id'],'params':_0x27ca79});const _0x20232b={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'options':_0x4d89b8};_0x55c6c0[_0x1cf979(0x273)]({'id':Ht['id'],'params':_0x20232b});}break;case _0x1ffd1e[_0x1cf979(0x383)]:{const {oldArea:_0x43b6d3,newArea:_0x3197c2,oldIndex:_0x47ba67,newIndex:_0x210b8d,fieldId:_0x55a84a}=_0x3a22e1,_0x32aa04={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x55a84a,'area':_0x3197c2,'index':_0x210b8d,'oldArea':_0x43b6d3,'oldIndex':_0x47ba67};_0x3aa98e[_0x1cf979(0x3fe)]({'id':zt['id'],'params':_0x32aa04});const _0x4ada72={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x55a84a,'area':_0x43b6d3,'index':_0x47ba67,'oldArea':_0x3197c2,'oldIndex':_0x210b8d};_0x55c6c0[_0x1cf979(0x273)]({'id':zt['id'],'params':_0x4ada72});}break;case _0x1ffd1e['UpdateValuePosition']:{const {oldValuePosition:_0x2be10f,newValuePosition:_0x4a06dc,oldIndex:_0x3823e0,newIndex:_0x2b9295}=_0x3a22e1,_0x4aa1fd={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'valuePosition':_0x4a06dc,'index':_0x2b9295};_0x3aa98e[_0x1cf979(0x3fe)]({'id':eo['id'],'params':_0x4aa1fd});const _0x22ada7={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'valuePosition':_0x2be10f,'index':_0x3823e0};_0x55c6c0[_0x1cf979(0x273)]({'id':eo['id'],'params':_0x22ada7});}break;case _0x1ffd1e['SetCollapse']:{const {fieldId:_0x29b59a,collapse:_0x3ee3f8,item:_0x593bde}=_0x3a22e1,_0x57444f={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x29b59a,'collapse':_0x3ee3f8,'item':_0x593bde};_0x3aa98e[_0x1cf979(0x3fe)]({'id':Wt['id'],'params':_0x57444f});const _0x54854a={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x29b59a,'collapse':!_0x3ee3f8,'item':_0x593bde};_0x55c6c0[_0x1cf979(0x273)]({'id':Wt['id'],'params':_0x54854a});}break;case _0x1ffd1e[_0x1cf979(0x308)]:{const {newFormat:_0x3ed2be,oldFormat:_0x156f14,fieldId:_0x1abe0e}=_0x3a22e1,_0x53d2d6={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x1abe0e,'format':_0x3ed2be};_0x3aa98e[_0x1cf979(0x3fe)]({'id':jt['id'],'params':_0x53d2d6});const _0x17302d={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x1abe0e,'format':_0x156f14};_0x55c6c0[_0x1cf979(0x273)]({'id':jt['id'],'params':_0x17302d});}break;case _0x1ffd1e[_0x1cf979(0x349)]:{const {tableFieldId:_0x1e1369,oldSourceName:_0x5cb5e6,newSourceName:_0x3a727f,oldDataFieldId:_0x260d84,newDataFieldId:_0xa5ea62}=_0x3a22e1,_0x3c6058={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'tableFieldId':_0x1e1369,'sourceName':_0x3a727f,'dataFieldId':_0xa5ea62};_0x3aa98e[_0x1cf979(0x3fe)]({'id':Qt['id'],'params':_0x3c6058});const _0x315ffb={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'tableFieldId':_0x1e1369,'sourceName':_0x5cb5e6,'dataFieldId':_0x260d84};_0x55c6c0[_0x1cf979(0x273)]({'id':Qt['id'],'params':_0x315ffb});}break;case _0x1ffd1e[_0x1cf979(0x3b4)]:{const {fieldId:_0x41f959,filterInfo:_0x52a27e,oldFilterInfo:_0x40f9f2}=_0x3a22e1,_0x1948f8={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x41f959,'filterInfo':_0x52a27e};_0x3aa98e['push']({'id':Zt['id'],'params':_0x1948f8});const _0x113da9={'unitId':_0xd11278,'subUnitId':_0x5d83d3,'pivotTableId':_0x16f39b,'fieldId':_0x41f959,'filterInfo':_0x40f9f2};_0x55c6c0['unshift']({'id':Zt['id'],'params':_0x113da9});}}return{'redos':_0x3aa98e,'undos':_0x55c6c0};}function we(_0xcf8a98,_0x1cb757){const _0x31781e=_0x91438c;var _0x33ee61;const _0x2b32ae=_0xcf8a98[_0x31781e(0x274)](ie),{cellInfo:_0x405e6b,view:_0x16e803,isEmpty:_0x30e803}=_0x1cb757;return(_0x33ee61=_0x2b32ae['interceptor']['fetchThroughInterceptors'](Xo)(yo,{'cellInfo':_0x405e6b,'view':_0x16e803,'isEmpty':_0x30e803}))!=null?_0x33ee61:yo;}const vs={'type':_0x2e18c8['COMMAND'],'id':_0x91438c(0x2dd),async 'handler'(_0x294ed1,_0x7570bb){const _0x411729=_0x91438c;if(!_0x7570bb)return!0x1;const _0x42db40=_0x294ed1[_0x411729(0x274)](_0xa7b251),_0x866512=_0x294ed1[_0x411729(0x274)](z),_0x159451=_0x294ed1[_0x411729(0x274)](_0x4e1a76),{pivotTableId:_0x27dd32,dataFieldId:_0x451b3b,fieldArea:_0x264911,index:_0x18a1fb,unitId:_0x247f51,subUnitId:_0x4a14f5}=_0x7570bb,_0x313ff4=(await _0x866512[_0x411729(0x328)]({'unitId':_0x247f51,'subUnitId':_0x4a14f5,'pivotTableId':_0x27dd32,'params':{'type':k[_0x411729(0x388)],'addPivotField':{'dataFieldId':_0x451b3b,'fieldArea':_0x264911,'index':_0x18a1fb}}}))['result'][_0x411729(0x33b)];if(!_0x313ff4)return!0x1;const {view:_0x510204,changesets:_0x1508b6,isEmpty:_0x1ad448,pivotTableConfig:_0x589df9,shouldBeAddedGroupJSON:_0x3bc7bb}=_0x313ff4,_0x1c1dcd=_0x589df9[_0x411729(0x416)],_0x433cd7=new _0x296f39();_0x433cd7[_0x411729(0x2af)](_0x510204);const _0x3237c4={'cellInfo':_0x1c1dcd,'view':_0x433cd7,'isEmpty':_0x1ad448};if(!await _0x294ed1[_0x411729(0x274)](ie)[_0x411729(0x204)][_0x411729(0x333)](be)(!0x0,_0x3237c4))return!0x1;const _0x3b6e0f=Fe(_0x294ed1,_0x433cd7,_0x1c1dcd,_0x1ad448),_0x2547f0=we(_0x294ed1,_0x3237c4),{undos:_0x5920ba,redos:_0x4d4b58}=Ie(_0x42db40,{'pivotTableId':_0x27dd32,'unitId':_0x247f51,'subUnitId':_0x4a14f5},_0x1508b6);return _0x3bc7bb&&(_0x4d4b58[_0x411729(0x273)]({'id':Zo['id'],'params':{'pivotTableId':_0x27dd32,'fieldJSON':_0x3bc7bb,'unitId':_0x247f51,'subUnitId':_0x4a14f5}}),_0x5920ba['push']({'id':zo['id'],'params':{'pivotTableId':_0x27dd32,'dataFieldId':_0x3bc7bb['id'],'unitId':_0x247f51,'subUnitId':_0x4a14f5}})),_0x2fdef8([..._0x3b6e0f[_0x411729(0x1fe)],..._0x2547f0['redos'],..._0x4d4b58],_0x42db40),_0x159451[_0x411729(0x219)]({'unitID':_0x247f51,'redoMutations':[..._0x3b6e0f[_0x411729(0x1fe)],..._0x2547f0[_0x411729(0x1fe)],..._0x4d4b58],'undoMutations':[..._0x3b6e0f[_0x411729(0x3f1)],..._0x2547f0[_0x411729(0x3f1)],..._0x5920ba]}),!0x0;}},hs=()=>typeof process<'u'&&process[_0x91438c(0x430)]!=null&&process[_0x91438c(0x430)][_0x91438c(0x316)]!=null,Ct={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x434),'handler'(_0x577c88,_0x10ff57){const _0x5ae362=_0x91438c;var _0x333d5c;if(!_0x10ff57)return!0x1;const _0x4c577c=_0x577c88[_0x5ae362(0x274)](_0x495f63);if(!!_0x4c577c[_0x5ae362(0x3d4)](Y))return!0x0;const _0x1a2e44=_0x577c88[_0x5ae362(0x274)](_0x2c885f),_0x451b97=_0x577c88[_0x5ae362(0x274)]($),{pivotTableId:_0x340598,pivotTableConfig:_0x30e3d5,collectionConfig:_0x51578a,unitId:_0x5e265c,subUnitId:_0x5806f3}=_0x10ff57,{sourceRangeInfo:_0x2e53cd,fieldsConfig:_0x7ccde,targetCellInfo:_0x195c81}=_0x30e3d5,_0x272c1b=_0x1a2e44[_0x5ae362(0x2f0)](_0x5e265c);if(!_0x272c1b||!_0x272c1b[_0x5ae362(0x243)](_0x5806f3))return!0x1;if(!hs()){let _0xd6ad50=0x0;_0x272c1b[_0x5ae362(0x216)]()[_0x5ae362(0x342)](_0x45d5b9=>{const _0x12c158=_0x5ae362;var _0x5e6fdb,_0x29ad2c;_0xd6ad50+=(_0x29ad2c=(_0x5e6fdb=_0x451b97['getSubUnitPivotConfigs'](_0x5e265c,_0x45d5b9['getSheetId']()))==null?void 0x0:_0x5e6fdb[_0x12c158(0x244)])!=null?_0x29ad2c:0x0;});const _0x191b5a=(_0x333d5c=_0x4c577c[_0x5ae362(0x3d4)](_0x5f27fd))!=null?_0x333d5c:{},{ls:_0x16e5c5,pbk:_0x3c3bec}=_0x191b5a;if(!Ko(_0x16e5c5,_0x3c3bec))throw new _0x5b4394(_0x5ae362(0x37d));const _0x2bf750=go(so,_0x16e5c5,_0x3c3bec)[_0x5ae362(0x39e)];if(_0xd6ad50>=_0x2bf750)throw new _0x5b4394(_0x5ae362(0x37d));}if(!_0x51578a||!_0x7ccde)return!0x1;const {collection:_0x151a9d,updateDataFieldList:_0x38a08e}=_0x451b97[_0x5ae362(0x2e4)](_0x340598,_0x51578a,_0x2e53cd,_0x195c81);_0x451b97['refreshData'](_0x151a9d,_0x38a08e,_0x2e53cd);const _0x3c4c23=new _0x33f1c5(_0x151a9d,void 0x0,_0x340598);_0x3c4c23[_0x5ae362(0x3ea)](_0x7ccde);const _0x223fa5=JSON[_0x5ae362(0x3d7)](JSON[_0x5ae362(0x2ff)](_0x30e3d5));return _0x451b97[_0x5ae362(0x1f6)](_0x5e265c,_0x5806f3,_0x340598,_0x3c4c23,_0x223fa5),_0x451b97['addDirtyPivotTable']({'unitId':_0x5e265c,'subUnitId':_0x5806f3,'token':_0x340598,'type':J['Add'],'pivotConfig':_0x223fa5}),!0x0;}},ps={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0xb1f966,_0x43affe){const _0x4bdd86=_0x91438c;if(!_0x43affe)return!0x1;const {sourceDataInfo:_0x1d49af,pivotTableConfig:_0x2a2cf8}=_0x43affe;if(!_0x1d49af||!_0x2a2cf8)return!0x1;const {unitId:_0x153be3,subUnitId:_0x1407f7,range:_0x85f826}=_0x1d49af,_0x2f0acb=_0xb1f966[_0x4bdd86(0x274)](_0x2c885f),_0x46d276=_0xb1f966[_0x4bdd86(0x274)](z),_0x238d50=_0xb1f966[_0x4bdd86(0x274)](_0x3aca7e),_0x1aefa0=_0xb1f966[_0x4bdd86(0x274)](_0xa7b251),_0x253b0f=_0x2f0acb['getUnit'](_0x153be3);if(!_0x253b0f)return!0x1;const _0x4b6889=_0x253b0f[_0x4bdd86(0x243)](_0x1407f7);if(!_0x4b6889)return!0x1;const _0x2281ee=_0x387c10(0x8),_0x4e1adc=_0x85f826||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4b6889[_0x4bdd86(0x1ce)]()-0x1,'endColumn':_0x4b6889[_0x4bdd86(0x2fb)]()-0x1};_0x4e1adc[_0x4bdd86(0x23e)]=_0x5692f0['NORMAL'];const _0x14339b=(await _0x46d276[_0x4bdd86(0x328)]({'unitId':_0x153be3,'subUnitId':_0x1407f7,'pivotTableId':_0x2281ee,'params':{'type':k[_0x4bdd86(0x2b5)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x153be3,'sheetName':_0x4b6889[_0x4bdd86(0x30e)](),'subUnitId':_0x1407f7,'range':_0x4e1adc},'pivotTableId':_0x2281ee,'pivotTableIndexConfig':_0x2a2cf8}}}))[_0x4bdd86(0x2a8)][_0x4bdd86(0x3c1)];if(!_0x14339b)return!0x1;const {isEmpty:_0x4b2b98,fieldsConfig:_0x1cb032,collectionConfig:_0x38e646,changesets:_0x3ae020}=_0x14339b,_0x476535=_0x253b0f[_0x4bdd86(0x216)]()[_0x4bdd86(0x3e7)],_0x369843=_0x4fdda5({'rowCount':_0x4b6889['getRowCount']()-0x1,'columnCount':_0x4b6889[_0x4bdd86(0x2fb)]()-0x1});_0x369843['id']=_0x23e506(),_0x369843[_0x4bdd86(0x326)]=_0x253b0f[_0x4bdd86(0x3dd)](''+_0x238d50['t'](_0x4bdd86(0x1de)));const _0x447f8b={'index':_0x476535,'sheet':_0x369843,'unitId':_0x153be3},{redos:_0x3277cd}=Ie(_0x1aefa0,{'pivotTableId':_0x2281ee,'unitId':_0x153be3,'subUnitId':_0x369843['id']},_0x3ae020),_0x466d3c=[{'id':_0x138b11['id'],'params':_0x447f8b},{'id':Ct['id'],'params':{'unitId':_0x153be3,'subUnitId':_0x369843['id'],'pivotTableId':_0x2281ee,'pivotTableConfig':{'isEmpty':_0x4b2b98,'fieldsConfig':_0x1cb032,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x153be3,'subUnitId':_0x369843['id']},'sourceRangeInfo':{'subUnitId':_0x1407f7,'unitId':_0x153be3,'range':_0x4e1adc,'sheetName':_0x4b6889[_0x4bdd86(0x30e)]()}},'collectionConfig':_0x38e646}},..._0x3277cd];return _0x2fdef8(_0x466d3c,_0x1aefa0),!0x0;}},xt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x301),'handler'(_0x59157d,_0x1ef293){const _0x5ab8a7=_0x91438c;if(!_0x1ef293)return!0x1;if(!!_0x59157d[_0x5ab8a7(0x274)](_0x495f63)[_0x5ab8a7(0x3d4)](Y))return!0x0;const {pivotTableId:_0x4cd03a,unitId:_0x4293c2,subUnitId:_0x694322}=_0x1ef293,_0x43a318=_0x59157d['get']($);return _0x43a318[_0x5ab8a7(0x294)](_0x4293c2,_0x694322,_0x4cd03a)?(_0x43a318[_0x5ab8a7(0x1ca)]({'unitId':_0x4293c2,'subUnitId':_0x694322,'token':_0x4cd03a,'type':J[_0x5ab8a7(0x354)]}),_0x43a318[_0x5ab8a7(0x23b)](_0x4293c2,_0x694322,_0x4cd03a),!0x0):!0x1;}},Is={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x202),async 'handler'(_0x5059ba,_0x222713){const _0x4b5314=_0x91438c;var _0x429ae4,_0x1ef46e;const _0x9e99fd=_0x5059ba[_0x4b5314(0x274)](_0xa7b251),_0x2d7a5a=_0x5059ba[_0x4b5314(0x274)](_0x2c885f),_0x47da6f=_0x5059ba[_0x4b5314(0x274)](_0x3aca7e),_0x153dd6=_0x5059ba['get'](z),_0x544035=_0x5059ba[_0x4b5314(0x274)](_0x4e1a76),_0x4f7d1a=_0x5059ba[_0x4b5314(0x274)](he),_0x3406ec=_0x5059ba['get'](_0x495f63);if(!_0x222713)return!0x1;const {pivotTableConfig:_0x57160d,positionType:_0x28306a}=_0x222713,{targetCellInfo:_0x2a53e8,sourceRangeInfo:_0x1324e9}=_0x57160d,{unitId:_0x2150d0,subUnitId:_0x498d0e}=_0x2a53e8,_0x5e3ea9=_0x2d7a5a[_0x4b5314(0x2f0)](_0x2150d0);if(!_0x5e3ea9)return!0x1;let _0x59a199=0x0;_0x5e3ea9[_0x4b5314(0x216)]()[_0x4b5314(0x342)](_0x39710d=>{const _0x382b01=_0x4b5314;var _0x296a0e,_0x257dd1;_0x59a199+=(_0x257dd1=(_0x296a0e=_0x4f7d1a[_0x382b01(0x239)](_0x2150d0,_0x39710d[_0x382b01(0x222)]()))==null?void 0x0:_0x296a0e[_0x382b01(0x244)])!=null?_0x257dd1:0x0;});const _0x2ca650=(_0x429ae4=_0x3406ec[_0x4b5314(0x3d4)](_0x5f27fd))!=null?_0x429ae4:{},{ls:_0x139b82,pbk:_0x1c478c}=_0x2ca650;if(!Ko(_0x139b82,_0x1c478c))return!0x1;const _0x20090e=go(so,_0x139b82,_0x1c478c)[_0x4b5314(0x39e)];if(_0x59a199>=_0x20090e)return!0x1;const _0x58cec4=_0x222713[_0x4b5314(0x3ff)]||_0x387c10(0x8),_0x46eed8=(await _0x153dd6['getPivotDisplayConfig']({'unitId':_0x2150d0,'subUnitId':_0x498d0e,'pivotTableId':_0x58cec4,'params':{'type':k[_0x4b5314(0x362)],'addPivotTable':{'sourceRangeInfo':_0x1324e9,'pivotTableId':_0x58cec4}}}))[_0x4b5314(0x2a8)][_0x4b5314(0x1f6)];if(!_0x46eed8)return!0x1;const {view:_0x2620f0,isEmpty:_0x56cf50,fieldsConfig:_0x56a0f2,collectionConfig:_0x4c3087}=_0x46eed8,_0x878589=[],_0x1fecf2=[];if(_0x28306a===Lo[_0x4b5314(0x238)]){const _0x1d96fd=_0x5e3ea9['getSheets']()[_0x4b5314(0x3e7)],_0x3875bf=_0x4fdda5({});_0x3875bf['id']=_0x57160d[_0x4b5314(0x416)][_0x4b5314(0x2ac)],_0x3875bf['name']=(_0x1ef46e=_0x57160d['targetCellInfo'][_0x4b5314(0x3de)])!=null?_0x1ef46e:_0x5e3ea9[_0x4b5314(0x3dd)](''+_0x47da6f['t'](_0x4b5314(0x1de)));const _0xa3fb75={'index':_0x1d96fd,'sheet':_0x3875bf,'unitId':_0x2150d0},_0x4cc8e8=_0x5c1652(_0x5059ba,_0xa3fb75);_0x878589[_0x4b5314(0x3fe)]({'id':_0x2ac059['id'],'params':_0x4cc8e8}),_0x1fecf2[_0x4b5314(0x3fe)]({'id':_0x5c326b['id'],'params':_0xa3fb75});}else{if(!_0x5e3ea9[_0x4b5314(0x243)](_0x498d0e))return!0x1;const _0x22d0b4=Fe(_0x5059ba,new _0x296f39(),_0x2a53e8,!0x0);_0x1fecf2[_0x4b5314(0x3fe)](..._0x22d0b4['redos']),_0x878589[_0x4b5314(0x3fe)](..._0x22d0b4[_0x4b5314(0x3f1)]);const _0x54af73={'cellInfo':_0x2a53e8,'view':_0x2620f0,'isEmpty':_0x56cf50};if(!await _0x5059ba['get'](ie)[_0x4b5314(0x204)][_0x4b5314(0x333)](be)(!0x0,_0x54af73))return!0x1;const _0xdacdc7=we(_0x5059ba,_0x54af73);_0x1fecf2['push'](..._0xdacdc7[_0x4b5314(0x1fe)]),_0x878589[_0x4b5314(0x3fe)](..._0xdacdc7['undos']);}return _0x1fecf2[_0x4b5314(0x3fe)]({'id':Ct['id'],'params':{'unitId':_0x2a53e8[_0x4b5314(0x1cc)],'subUnitId':_0x2a53e8[_0x4b5314(0x2ac)],'pivotTableId':_0x58cec4,'pivotTableConfig':{'targetCellInfo':_0x2a53e8,'sourceRangeInfo':_0x1324e9,'fieldsConfig':_0x56a0f2},'collectionConfig':_0x4c3087}}),_0x878589['unshift']({'id':xt['id'],'params':{'unitId':_0x2150d0,'subUnitId':_0x498d0e,'pivotTableId':_0x58cec4}}),_0x2fdef8(_0x1fecf2,_0x9e99fd)&&_0x544035['pushUndoRedo']({'unitID':_0x2150d0,'undoMutations':_0x878589,'redoMutations':_0x1fecf2}),!0x0;}},ms={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x392),async 'handler'(_0x296844,_0x2b5470){const _0x21a5af=_0x91438c;if(!_0x2b5470)return!0x1;const _0x22f09f=_0x296844[_0x21a5af(0x274)](_0xa7b251),_0xf5a4a9=_0x296844[_0x21a5af(0x274)](z),_0x4f7e43=_0x296844[_0x21a5af(0x274)](_0x4e1a76),{pivotTableId:_0x32bd3d,fieldId:_0x3f6980,area:_0x1d7e9f,index:_0x542034,unitId:_0x579004,subUnitId:_0x5cdfa8}=_0x2b5470,_0x1926ec=(await _0xf5a4a9['getPivotDisplayConfig']({'unitId':_0x579004,'subUnitId':_0x5cdfa8,'pivotTableId':_0x32bd3d,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x3f6980,'area':_0x1d7e9f,'index':_0x542034}}}))[_0x21a5af(0x2a8)][_0x21a5af(0x353)];if(!_0x1926ec)return!0x1;const {changesets:_0x434f4a,view:_0x4aac44,isEmpty:_0x43bbe0,pivotTableConfig:_0xe2eeff}=_0x1926ec,_0x53dbd1=_0xe2eeff[_0x21a5af(0x416)],_0x3157ee=new _0x296f39();_0x3157ee[_0x21a5af(0x2af)](_0x4aac44);const _0x58c0c0={'cellInfo':_0x53dbd1,'view':_0x3157ee,'isEmpty':_0x43bbe0};if(!await _0x296844['get'](ie)[_0x21a5af(0x204)][_0x21a5af(0x333)](be)(!0x0,_0x58c0c0))return!0x1;const _0x4fa47b=Fe(_0x296844,_0x3157ee,_0x53dbd1,_0x43bbe0),_0x4d09ec=we(_0x296844,_0x58c0c0),{redos:_0x1cb7fa,undos:_0x462cb3}=Ie(_0x22f09f,{'pivotTableId':_0x32bd3d,'unitId':_0x579004,'subUnitId':_0x5cdfa8},_0x434f4a);return _0x2fdef8([..._0x4fa47b[_0x21a5af(0x1fe)],..._0x4d09ec['redos'],..._0x1cb7fa],_0x22f09f),_0x4f7e43['pushUndoRedo']({'unitID':_0x579004,'redoMutations':[..._0x4fa47b[_0x21a5af(0x1fe)],..._0x4d09ec[_0x21a5af(0x1fe)],..._0x1cb7fa],'undoMutations':[..._0x4fa47b[_0x21a5af(0x3f1)],..._0x4d09ec['undos'],..._0x462cb3]}),!0x0;}},pt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x1b2),'handler'(_0x3f0b8f,_0x410313){const _0x52ccc6=_0x91438c;if(!_0x410313)return!0x1;if(!!_0x3f0b8f[_0x52ccc6(0x274)](_0x495f63)[_0x52ccc6(0x3d4)](Y))return!0x0;const {pivotTableId:_0x15983d,targetCellPosition:_0x1a4a72,unitId:_0x501171,subUnitId:_0x45a903}=_0x410313,_0x3815f3=_0x3f0b8f[_0x52ccc6(0x274)]($);if(!_0x3815f3[_0x52ccc6(0x31f)](_0x410313[_0x52ccc6(0x3ff)]))return!0x1;const _0x1aaa0c=_0x3815f3[_0x52ccc6(0x2ba)](_0x15983d);if(!_0x1aaa0c)return!0x1;const _0x310189=_0x3815f3[_0x52ccc6(0x232)](_0x1aaa0c[_0x52ccc6(0x1cc)],_0x410313[_0x52ccc6(0x3ff)]);if(!_0x310189)return!0x1;const _0x12dde7=_0x3815f3['getPivotTableConfig'](_0x1aaa0c['unitId'],_0x1aaa0c[_0x52ccc6(0x2ac)],_0x15983d);if(!_0x12dde7)return!0x1;const _0x2731f4=_0x4b3148['deepClone'](_0x12dde7);_0x2731f4[_0x52ccc6(0x416)]={'unitId':_0x501171,'subUnitId':_0x45a903,'row':_0x1a4a72[_0x52ccc6(0x38d)],'col':_0x1a4a72[_0x52ccc6(0x378)]};const _0x1d218e=_0x310189[_0x52ccc6(0x2e3)]();if(_0x1aaa0c['subUnitId']===_0x45a903&&_0x1aaa0c[_0x52ccc6(0x1cc)]===_0x501171)_0x3815f3['setPivotTable'](_0x501171,_0x45a903,_0x15983d,_0x2731f4),_0x3815f3[_0x52ccc6(0x1ca)]({'unitId':_0x501171,'subUnitId':_0x45a903,'token':_0x15983d,'type':J[_0x52ccc6(0x20b)]});else{_0x3815f3['addDirtyPivotTable']({'unitId':_0x1aaa0c[_0x52ccc6(0x1cc)],'subUnitId':_0x1aaa0c['subUnitId'],'token':_0x15983d,'type':J[_0x52ccc6(0x354)]}),_0x3815f3['removePivotTable'](_0x1aaa0c['unitId'],_0x1aaa0c['subUnitId'],_0x15983d);const _0x9e5e49=_0x3815f3[_0x52ccc6(0x2e4)](_0x15983d,_0x1d218e,_0x12dde7[_0x52ccc6(0x407)],_0x2731f4[_0x52ccc6(0x416)]),_0x2efbf7=new _0x33f1c5(_0x9e5e49[_0x52ccc6(0x278)],void 0x0,_0x15983d);_0x2efbf7[_0x52ccc6(0x3ea)](_0x2731f4[_0x52ccc6(0x2c6)]),_0x3815f3[_0x52ccc6(0x1f6)](_0x501171,_0x45a903,_0x15983d,_0x2efbf7,_0x2731f4),_0x3815f3[_0x52ccc6(0x1ca)]({'unitId':_0x501171,'subUnitId':_0x45a903,'token':_0x15983d,'type':J[_0x52ccc6(0x33a)],'pivotConfig':_0x2731f4});}return!0x0;}},Cs={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x200),'handler':(_0x45ad89,_0x16f805)=>{const _0xcf1be7=_0x91438c,_0x4c2cfa=_0x45ad89[_0xcf1be7(0x274)](_0xa7b251),_0x3f62bb=_0x45ad89[_0xcf1be7(0x274)](_0x4e1a76),_0x575a4f=_0x45ad89[_0xcf1be7(0x274)](he),_0x13b1d6=_0x45ad89['get'](_0x2c885f);if(!_0x16f805)return!0x1;const _0xef25b=_0x1a5e6f(_0x13b1d6);if(!_0xef25b)return!0x1;const {unitId:_0x8d2f8c,subUnitId:_0x305b2f,workbook:_0x4a3a89}=_0xef25b,_0x4a8c94=_0x575a4f[_0xcf1be7(0x294)](_0x16f805[_0xcf1be7(0x254)][_0xcf1be7(0x1cc)],_0x16f805[_0xcf1be7(0x254)][_0xcf1be7(0x2ac)],_0x16f805[_0xcf1be7(0x3ff)]);if(!_0x4a8c94)return!0x1;const _0x1fecc7=_0x4a3a89[_0xcf1be7(0x243)](_0x16f805['targetCellInfo']['subUnitId']);if(!_0x1fecc7)throw new Error(_0xcf1be7(0x3e4));const _0x1ffae4=_0x1fecc7[_0xcf1be7(0x1ce)](),_0x5e1c20=_0x1fecc7[_0xcf1be7(0x2fb)]();if(_0x16f805[_0xcf1be7(0x416)][_0xcf1be7(0x38d)]>_0x1ffae4||_0x16f805[_0xcf1be7(0x416)]['col']>_0x5e1c20)throw new Error(_0xcf1be7(0x2bc));const _0x408c4=[{'id':pt['id'],'params':{'unitId':_0x8d2f8c,'subUnitId':_0x16f805['targetCellInfo'][_0xcf1be7(0x2ac)],'pivotTableId':_0x16f805[_0xcf1be7(0x3ff)],'targetCellPosition':{'row':_0x16f805['targetCellInfo'][_0xcf1be7(0x38d)],'col':_0x16f805[_0xcf1be7(0x416)][_0xcf1be7(0x378)]}}}],_0x1ec05a=[{'id':pt['id'],'params':{'unitId':_0x8d2f8c,'subUnitId':_0x305b2f,'pivotTableId':_0x16f805[_0xcf1be7(0x3ff)],'targetCellPosition':{'row':_0x4a8c94['targetCellInfo'][_0xcf1be7(0x38d)],'col':_0x4a8c94['targetCellInfo'][_0xcf1be7(0x378)]}}}];return _0x2fdef8(_0x408c4,_0x4c2cfa)&&_0x3f62bb[_0xcf1be7(0x219)]({'unitID':_0x8d2f8c,'undoMutations':_0x1ec05a,'redoMutations':_0x408c4}),!0x0;}},bs={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x32a8b8,_0x481cba){const _0x2e6d44=_0x91438c;var _0x29a48a;if(!_0x481cba)return!0x1;const _0x4d2afa=_0x32a8b8['get'](_0x2c885f),_0x52f7b1=_0x1a5e6f(_0x4d2afa);if(!_0x52f7b1)return!0x1;const {unitId:_0xc05cdb,subUnitId:_0x3555cf,workbook:_0x4a0fe2}=_0x52f7b1,{row:_0x22513a,col:_0x122e8b}=_0x481cba,_0x1c0ddf=_0x32a8b8[_0x2e6d44(0x274)](Ve),_0x422ac6=_0x1c0ddf[_0x2e6d44(0x311)](_0xc05cdb,_0x3555cf,_0x22513a,_0x122e8b);if(!_0x422ac6)return!0x1;const _0x1ffdb8=(_0x29a48a=_0x1c0ddf['getPivotItemRenderInfoCache'](_0xc05cdb,_0x3555cf,_0x422ac6))==null?void 0x0:_0x29a48a['areaInfo'];if(!_0x1ffdb8)return!0x1;const _0x5f1a67=_0x32a8b8['get'](he)[_0x2e6d44(0x294)](_0xc05cdb,_0x3555cf,_0x422ac6);if(!_0x5f1a67)return!0x1;const {rowInfo:_0x18290d,colInfo:_0x134ad9}=_0x1ffdb8,_0x188a39=_0x18290d[_0x22513a][_0x2e6d44(0x35e)],_0x47ad35=_0x134ad9[_0x122e8b][_0x2e6d44(0x35e)],_0xea1c7d=_0x18290d[_0x22513a][_0x2e6d44(0x41c)],_0x389a6e=_0x134ad9[_0x122e8b][_0x2e6d44(0x41c)],_0x583c2b=_0x188a39['concat'](_0x47ad35),_0xa6e38d=_0x5f1a67[_0x2e6d44(0x2c6)][_0x2e6d44(0x3c0)][_0x2e6d44(0x253)](0x0,_0xea1c7d),_0x5e1826=_0x5f1a67[_0x2e6d44(0x2c6)][_0x2e6d44(0x293)][_0x2e6d44(0x253)](0x0,_0x389a6e),_0x380bde=_0xa6e38d[_0x2e6d44(0x2d2)](_0x5e1826),_0x4c460d=_0x583c2b[_0x2e6d44(0x39b)]((_0x52aa8e,_0x2db1b9)=>[_0x52aa8e,_0x380bde[_0x2db1b9]]),_0xc25d14=(await _0x32a8b8['get'](z)['getPivotDisplayConfig']({'unitId':_0xc05cdb,'subUnitId':_0x3555cf,'pivotTableId':_0x422ac6,'params':{'type':k[_0x2e6d44(0x435)],'drillDown':{'tuple':_0x4c460d}}}))['result'][_0x2e6d44(0x3d1)];if(!_0xc25d14)return!0x1;const {indexes:_0x2fa99c,range:_0x1c16f2,sourceUnitId:_0x428145,sourceSubUnitId:_0x3f3a34,formatMap:_0x4765a4}=_0xc25d14,{startRow:_0x6dad62,endRow:_0x301cb0,startColumn:_0x300e36,endColumn:_0x31e920}=_0x1c16f2,_0x393b26=new _0x17d6f8(),_0x147e5f=_0x301cb0-_0x6dad62,_0x2989e2=_0x31e920-_0x300e36,_0x3f812b={},_0x40477d=_0x1a5e6f(_0x4d2afa,{'unitId':_0x428145,'subUnitId':_0x3f3a34});if(!_0x40477d)return!0x1;const _0x3a29b2=fe[_0x2e6d44(0x3ae)],_0x5e5931=fe[_0x2e6d44(0x396)],_0x1a268a=fe['subTotalStyle'],_0x2b7bd0=_0x4a0fe2['getStyles']()[_0x2e6d44(0x1ba)](_0x3a29b2),_0x2b0bfd=_0x4a0fe2['getStyles']()['setValue'](_0x5e5931),_0x11e906=_0x4a0fe2['getStyles']()[_0x2e6d44(0x1ba)](_0x1a268a),{worksheet:_0x29e2c5}=_0x40477d;let _0x2c361f=0x0;const _0x51efc4=0x1;_0x2fa99c[_0x2e6d44(0x342)](_0x1d6841=>{const _0x5d286a=_0x2e6d44;for(let _0xb2126b=0x0;_0xb2126b<=_0x31e920-_0x300e36;_0xb2126b++)_0x393b26[_0x5d286a(0x1ba)](_0x2c361f,_0xb2126b,_0x29e2c5[_0x5d286a(0x3e5)](_0x1d6841+_0x1c16f2[_0x5d286a(0x34c)]+_0x51efc4,_0xb2126b));_0x2c361f++;});for(let _0x1fc0eb=_0x300e36;_0x1fc0eb<=_0x31e920;_0x1fc0eb++){const _0x35a326=_0x29e2c5[_0x2e6d44(0x3e5)](_0x6dad62,_0x1fc0eb);_0x3f812b[_0x6dad62]||(_0x3f812b[_0x6dad62]={}),_0x3f812b[_0x6dad62][_0x1fc0eb]={..._0x35a326,'s':_0x2b7bd0};}let _0x102755=0x1;const _0x7dda1d={},_0x211b2c={};_0x393b26[_0x2e6d44(0x3c2)]((_0x46d16e,_0x54e62b)=>{_0x54e62b['forEach'](_0x2b2030=>{const _0x1e5e02=_0x3105,_0x43afc5=_0x393b26['getValue'](_0x46d16e,_0x2b2030);if(_0x3f812b[_0x102755]||(_0x3f812b[_0x102755]={}),_0x3f812b[_0x102755][_0x2b2030]={..._0x43afc5,'s':_0x102755%0x2===0x0?_0x11e906:_0x2b0bfd},_0x4765a4[_0x2b2030]&&_0x46d16e>=0x0){const _0x303b70=_0x102755%0x2===0x0;let _0x3e16ff=_0x303b70?_0x211b2c[_0x2b2030]:_0x7dda1d[_0x2b2030];_0x3e16ff||(_0x3e16ff=_0x4a0fe2[_0x1e5e02(0x334)]()['setValue']({..._0x303b70?_0x1a268a:_0x5e5931,'n':{'pattern':_0x4765a4[_0x2b2030]}}),_0x303b70?_0x211b2c[_0x2b2030]=_0x3e16ff:_0x7dda1d[_0x2b2030]=_0x3e16ff),_0x3f812b[_0x102755][_0x2b2030]['s']=_0x3e16ff;}}),_0x102755++;});const _0x5b51a6=new _0x17d6f8(_0x3f812b),_0x4b8451={};_0x5b51a6[_0x2e6d44(0x27d)]((_0x43153f,_0x178d86,_0x4f1d2c)=>{_0x4b8451[_0x43153f]||(_0x4b8451[_0x43153f]={}),_0x4b8451[_0x43153f][_0x178d86]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x579b63=[],_0x17a308=[],_0x14aa36=_0x4a0fe2['getSheets']()[_0x2e6d44(0x3e7)],_0x2588c4=_0x4fdda5({'rowCount':Math[_0x2e6d44(0x3b0)](_0x3bf4db,_0x147e5f+0xa),'columnCount':Math[_0x2e6d44(0x3b0)](_0x310049,_0x2989e2+0x5)}),_0x583eaf=_0x32a8b8[_0x2e6d44(0x274)](_0x3aca7e);_0x2588c4['id']=_0x23e506(),_0x2588c4[_0x2e6d44(0x326)]=_0x4a0fe2[_0x2e6d44(0x3dd)](''+_0x583eaf['t'](_0x2e6d44(0x1de)));const _0x52341f={'index':_0x14aa36,'sheet':_0x2588c4,'unitId':_0xc05cdb},_0x273b4a=_0x5c1652(_0x32a8b8,_0x52341f);_0x17a308['push']({'id':_0x5c326b['id'],'params':_0x52341f}),_0x579b63[_0x2e6d44(0x3fe)]({'id':_0x2ac059['id'],'params':_0x273b4a}),_0x17a308[_0x2e6d44(0x3fe)]({'id':_0x24ac46['id'],'params':{'unitId':_0xc05cdb,'subUnitId':_0x2588c4['id'],'cellValue':_0x3f812b}}),_0x579b63['unshift']({'id':_0x24ac46['id'],'params':{'unitId':_0xc05cdb,'subUnitId':_0x2588c4['id'],'cellValue':_0x4b8451}});const _0x320551={'startRow':0x0,'startColumn':0x0,'endRow':_0x102755-0x1,'endColumn':_0x31e920};_0x17a308[_0x2e6d44(0x3fe)]({'id':_0x1a6d57['id'],'params':{'unitId':_0xc05cdb,'subUnitId':_0x2588c4['id'],'range':_0x320551}}),_0x579b63['unshift']({'id':_0x3a8b22['id'],'params':{'unitId':_0xc05cdb,'subUnitId':_0x2588c4['id']}});const _0x1681d6=_0x32a8b8[_0x2e6d44(0x274)](_0xa7b251);return _0x2fdef8(_0x17a308,_0x1681d6)&&_0x32a8b8[_0x2e6d44(0x274)](_0x4e1a76)[_0x2e6d44(0x219)]({'unitID':_0xc05cdb,'undoMutations':_0x579b63,'redoMutations':_0x17a308}),!0x0;}},Ss={'type':_0x2e18c8['COMMAND'],'id':_0x91438c(0x324),async 'handler'(_0x43abed,_0x44f577){const _0x3d3bcf=_0x91438c;if(!_0x44f577)return!0x1;const _0x585558=_0x43abed[_0x3d3bcf(0x274)](_0xa7b251),_0x4f5882=_0x43abed[_0x3d3bcf(0x274)](z),_0x358970=_0x43abed[_0x3d3bcf(0x274)](_0x4e1a76),{pivotTableId:_0x19b591,fieldIds:_0x42b5a6,unitId:_0x458f81,subUnitId:_0x2c6a7e}=_0x44f577,_0x3c39c5=(await _0x4f5882['getPivotDisplayConfig']({'unitId':_0x458f81,'subUnitId':_0x2c6a7e,'pivotTableId':_0x19b591,'params':{'type':k[_0x3d3bcf(0x300)],'removePivotField':{'fieldIds':_0x42b5a6}}}))[_0x3d3bcf(0x2a8)][_0x3d3bcf(0x3ce)];if(!_0x3c39c5)return!0x1;const {view:_0x20c8a5,changesets:_0x1b10f9,isEmpty:_0x2b0e48,pivotTableConfig:_0x590d66}=_0x3c39c5,_0x333201=_0x590d66[_0x3d3bcf(0x416)],_0x3e9ba6=new _0x296f39();_0x3e9ba6[_0x3d3bcf(0x2af)](_0x20c8a5);const _0xb58998={'cellInfo':_0x333201,'view':_0x3e9ba6,'isEmpty':_0x2b0e48};if(!await _0x43abed['get'](ie)[_0x3d3bcf(0x204)][_0x3d3bcf(0x333)](be)(!0x0,_0xb58998))return!0x1;const _0x56c6df=Fe(_0x43abed,_0x3e9ba6,_0x333201,_0x2b0e48),_0x15e038=we(_0x43abed,_0xb58998),{redos:_0x56a3ec,undos:_0x424952}=Ie(_0x585558,{'pivotTableId':_0x19b591,'unitId':_0x458f81,'subUnitId':_0x2c6a7e},_0x1b10f9);return _0x2fdef8([..._0x56c6df[_0x3d3bcf(0x1fe)],..._0x15e038[_0x3d3bcf(0x1fe)],..._0x56a3ec],_0x585558),_0x358970[_0x3d3bcf(0x219)]({'unitID':_0x458f81,'redoMutations':[..._0x56c6df['redos'],..._0x15e038['redos'],..._0x56a3ec],'undoMutations':[..._0x56c6df[_0x3d3bcf(0x3f1)],..._0x15e038[_0x3d3bcf(0x3f1)],..._0x424952]}),!0x0;}},Ps={'type':_0x2e18c8['COMMAND'],'id':_0x91438c(0x3b5),async 'handler'(_0x42f50e,_0x5151cb){const _0x2aeac9=_0x91438c;if(!_0x5151cb)return!0x1;const _0x2315bb=_0x42f50e[_0x2aeac9(0x274)](_0xa7b251),_0x342f5a=_0x42f50e[_0x2aeac9(0x274)](_0x4e1a76),_0x13eb86=_0x42f50e[_0x2aeac9(0x274)](z),{resetArea:_0x31fbad,pivotTableId:_0x1d8092,unitId:_0xfe8575,subUnitId:_0x114fca}=_0x5151cb,_0x5910e4=(await _0x13eb86[_0x2aeac9(0x328)]({'unitId':_0xfe8575,'subUnitId':_0x114fca,'pivotTableId':_0x1d8092,'params':{'type':k[_0x2aeac9(0x24f)],'resetPivotTable':{'pivotTableId':_0x1d8092,'resetArea':_0x31fbad}}}))[_0x2aeac9(0x2a8)]['resetPivotTable'];if(!_0x5910e4)return!0x1;const {changesets:_0x51b524}=_0x5910e4,{redos:_0x90ea53,undos:_0x4e6a5e}=Ie(_0x2315bb,{'pivotTableId':_0x1d8092,'unitId':_0xfe8575,'subUnitId':_0x114fca},_0x51b524);return _0x2fdef8(_0x90ea53,_0x2315bb),_0x342f5a[_0x2aeac9(0x219)]({'unitID':_0xfe8575,'redoMutations':_0x90ea53,'undoMutations':_0x4e6a5e}),!0x0;}},ys={'type':_0x2e18c8['COMMAND'],'id':_0x91438c(0x309),async 'handler'(_0x4ea3a0,_0x1e1a63){const _0x424450=_0x91438c,_0x33fcbe=_0x4ea3a0[_0x424450(0x274)](_0xa7b251),_0x4592b6=_0x4ea3a0[_0x424450(0x274)](z),_0x436407=_0x4ea3a0[_0x424450(0x274)](Ve),_0x335802=_0x4ea3a0['get'](_0x2c885f),_0x14c138=_0x4ea3a0[_0x424450(0x274)](_0x3aca7e),_0x58ad71=_0x4ea3a0[_0x424450(0x274)](_0x4e1a76);if(!_0x1e1a63)return!0x1;const {unitId:_0x274a9b,subUnitId:_0x15ada7,row:_0x21f862,col:_0x1c3829,collapse:_0x36e4e8}=_0x1e1a63,_0x518860=_0x335802['getUnit'](_0x274a9b);if(!_0x518860||!_0x518860[_0x424450(0x243)](_0x15ada7))return!0x1;const _0x3c7b60=_0x436407[_0x424450(0x311)](_0x274a9b,_0x15ada7,_0x21f862,_0x1c3829);if(!_0x3c7b60)return!0x1;const _0x2f8189=_0x436407[_0x424450(0x41e)](_0x274a9b,_0x15ada7,_0x3c7b60);if(!_0x2f8189)return!0x1;const _0x18c54a=_0x540207(_0x21f862,_0x1c3829),{rangesInfo:_0x5218b6,areaInfo:_0x5106d1,headerMap:_0x36f144}=_0x2f8189;if(!_0x5218b6||!_0x5106d1||!_0x36f144)return!0x1;const _0x2835ae=Object[_0x424450(0x31c)](_0x5218b6)['find'](_0x2b5226=>_0x5218b6[_0x2b5226][_0x424450(0x39d)](_0x4ebbf8=>_0x459723[_0x424450(0x3a6)](_0x4ebbf8,_0x18c54a)));let _0x49fd46;_0x2835ae===_0x424450(0x3fc)?_0x49fd46=_0x36f144['rowHeaderMap'][_0x1c3829]:_0x2835ae==='colRanges'&&(_0x49fd46=_0x36f144['colHeaderMap'][_0x21f862]);const _0x5726db=_0x49fd46==null?void 0x0:_0x49fd46['tableFieldId'],_0x3234e5=_0x436407['getPivotTableCellData'](_0x274a9b,_0x15ada7,_0x21f862,_0x1c3829);let _0x5ed815=_0x3234e5==null?void 0x0:_0x3234e5['v'];if(_0x5ed815===_0x14c138['t'](_0x424450(0x427))&&(_0x5ed815=_0x3e67cb[_0x424450(0x3e6)]),_0x5ed815==null||!_0x3c7b60||!_0x5726db)return!0x1;const _0xd8f616=await _0x4592b6[_0x424450(0x328)]({'unitId':_0x274a9b,'subUnitId':_0x15ada7,'pivotTableId':_0x3c7b60,'params':{'type':k[_0x424450(0x3b7)],'setPivotCollapse':{'tableFieldId':_0x5726db,'collapse':_0x36e4e8,'item':_0x5ed815}}}),_0x296bce=_0xd8f616==null?void 0x0:_0xd8f616['result'][_0x424450(0x27a)];if(!_0x296bce)return!0x1;const {view:_0x559da9,pivotTableConfig:_0xa57f9b,isEmpty:_0x32e3bc,changesets:_0x5bfec1}=_0x296bce,_0xe90d47=new _0x296f39();_0xe90d47[_0x424450(0x2af)](_0x559da9);const _0x3dcfce=_0xa57f9b[_0x424450(0x416)],_0x10a495={'cellInfo':_0x3dcfce,'view':_0xe90d47,'isEmpty':_0x32e3bc};if(!await _0x4ea3a0[_0x424450(0x274)](ie)[_0x424450(0x204)][_0x424450(0x333)](be)(!0x0,_0x10a495))return!0x1;const _0x315ddb=Fe(_0x4ea3a0,_0xe90d47,_0x3dcfce,_0x32e3bc),_0x273d22=we(_0x4ea3a0,_0x10a495),{redos:_0x3ca3f2,undos:_0x5f10dc}=Ie(_0x33fcbe,{'pivotTableId':_0x3c7b60,'unitId':_0x274a9b,'subUnitId':_0x15ada7},_0x5bfec1);return _0x2fdef8([..._0x315ddb[_0x424450(0x1fe)],..._0x273d22[_0x424450(0x1fe)],..._0x3ca3f2],_0x33fcbe),_0x58ad71['pushUndoRedo']({'unitID':_0x274a9b,'redoMutations':[..._0x315ddb[_0x424450(0x1fe)],..._0x273d22[_0x424450(0x1fe)],..._0x3ca3f2],'undoMutations':[..._0x315ddb['undos'],..._0x273d22[_0x424450(0x3f1)],..._0x5f10dc]}),!0x0;}},Ts={'type':_0x2e18c8['COMMAND'],'id':_0x91438c(0x2c7),async 'handler'(_0xe16645,_0x2632a3){const _0x1d0398=_0x91438c;if(!_0x2632a3)return!0x1;const _0x2393b9=_0xe16645['get'](_0xa7b251),_0x3ae641=_0xe16645[_0x1d0398(0x274)](_0x4e1a76),_0x173dfa=_0xe16645[_0x1d0398(0x274)](z),{pivotTableConfig:_0x5045db,pivotTableId:_0x3ba277,unitId:_0x75f7d1,subUnitId:_0xc04dac}=_0x2632a3,_0x563911=(await _0x173dfa[_0x1d0398(0x328)]({'unitId':_0x75f7d1,'subUnitId':_0xc04dac,'pivotTableId':_0x3ba277,'params':{'type':k[_0x1d0398(0x283)],'setPivotTableConfig':{'pivotTableId':_0x3ba277,'pivotTableConfig':_0x5045db}}}))[_0x1d0398(0x2a8)]['setPivotTableConfig'];if(!_0x563911)return!0x1;const {changesets:_0x342be0}=_0x563911,{redos:_0x28c682,undos:_0xa3a6c2}=Ie(_0x2393b9,{'pivotTableId':_0x3ba277,'unitId':_0x75f7d1,'subUnitId':_0xc04dac},_0x342be0);return _0x2fdef8(_0x28c682,_0x2393b9),_0x3ae641[_0x1d0398(0x219)]({'unitID':_0x75f7d1,'redoMutations':_0x28c682,'undoMutations':_0xa3a6c2}),!0x0;}},Ms={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x2d3),async 'handler'(_0x3860f9,_0x5b2c4f){const _0x2a249d=_0x91438c;if(!_0x5b2c4f)return!0x1;const _0x5ea50e=_0x3860f9['get'](_0xa7b251),{pivotTableId:_0x24461f,tableFieldId:_0x273039,items:_0x43711b,unitId:_0x133692,subUnitId:_0x52f842,isAll:_0x1f658a}=_0x5b2c4f,_0x12d2a1=_0x3860f9[_0x2a249d(0x274)](z),_0x35f4d5=_0x3860f9[_0x2a249d(0x274)](_0x4e1a76),_0xdc03d=(await _0x12d2a1[_0x2a249d(0x328)]({'unitId':_0x133692,'subUnitId':_0x52f842,'pivotTableId':_0x24461f,'params':{'type':k[_0x2a249d(0x40a)],'setPivotFilter':{'tableFieldId':_0x273039,'items':_0x43711b,'isAll':_0x1f658a}}}))[_0x2a249d(0x2a8)][_0x2a249d(0x1c0)];if(!_0xdc03d)return!0x1;const {changesets:_0x579900,pivotTableConfig:_0x2219a7,isEmpty:_0x159889,view:_0x47d9a7}=_0xdc03d,_0x5943a0=_0x2219a7[_0x2a249d(0x416)],_0x5b35f3=new _0x296f39();_0x5b35f3[_0x2a249d(0x2af)](_0x47d9a7);const _0x43d7ee={'cellInfo':_0x5943a0,'view':_0x5b35f3,'isEmpty':_0x159889};if(!await _0x3860f9[_0x2a249d(0x274)](ie)['asyncInterceptor'][_0x2a249d(0x333)](be)(!0x0,_0x43d7ee))return!0x1;const _0x484e5f=Fe(_0x3860f9,_0x5b35f3,_0x5943a0,_0x159889),_0x52213e=we(_0x3860f9,_0x43d7ee),{undos:_0x2ebe17,redos:_0xa5136b}=Ie(_0x5ea50e,{'pivotTableId':_0x24461f,'unitId':_0x133692,'subUnitId':_0x52f842},_0x579900);return _0x2fdef8([..._0x484e5f[_0x2a249d(0x1fe)],..._0x52213e['redos'],..._0xa5136b],_0x5ea50e),_0x35f4d5[_0x2a249d(0x219)]({'unitID':_0x133692,'redoMutations':[..._0x484e5f[_0x2a249d(0x1fe)],..._0x52213e['redos'],..._0xa5136b],'undoMutations':[..._0x484e5f['undos'],..._0x52213e[_0x2a249d(0x3f1)],..._0x2ebe17]}),!0x0;}},Fs={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x26c),async 'handler'(_0x18d729,_0x1eea9e){const _0x129b5d=_0x91438c;if(!_0x1eea9e)return!0x1;const _0x905178=_0x18d729['get'](_0xa7b251),_0xdb5ee1=_0x18d729[_0x129b5d(0x274)](_0x4e1a76),_0x8ea4fe=_0x18d729[_0x129b5d(0x274)](z),{info:_0x529793,tableFieldId:_0x480355,pivotTableId:_0x1a5d8b,unitId:_0x373daa,subUnitId:_0x31cb08}=_0x1eea9e,_0x4e2489=(await _0x8ea4fe[_0x129b5d(0x328)]({'unitId':_0x373daa,'subUnitId':_0x31cb08,'pivotTableId':_0x1a5d8b,'params':{'type':k[_0x129b5d(0x24e)],'setPivotSort':{'tableFieldId':_0x480355,'info':_0x529793}}}))[_0x129b5d(0x2a8)][_0x129b5d(0x29e)];if(!_0x4e2489)return!0x1;const {changesets:_0x48f620}=_0x4e2489,{redos:_0xa4f0d0,undos:_0x202ce1}=Ie(_0x905178,{'pivotTableId':_0x1a5d8b,'unitId':_0x373daa,'subUnitId':_0x31cb08},_0x48f620);return _0x2fdef8(_0xa4f0d0,_0x905178),_0xdb5ee1[_0x129b5d(0x219)]({'unitID':_0x373daa,'redoMutations':_0xa4f0d0,'undoMutations':_0x202ce1}),!0x0;}},ws={'type':_0x2e18c8['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x42248a,_0x331d21){const _0x3c0dde=_0x91438c;if(!_0x331d21)return!0x1;const _0x58e78d=_0x42248a[_0x3c0dde(0x274)](_0xa7b251),{pivotTableId:_0x91e11,fieldId:_0x32525f,valueFilterInfo:_0x95dedb,unitId:_0x2ff2d2,subUnitId:_0x422808}=_0x331d21,_0x225bf0=_0x42248a[_0x3c0dde(0x274)](z),_0x5beee2=_0x42248a['get'](_0x4e1a76),_0x512815=(await _0x225bf0['getPivotDisplayConfig']({'unitId':_0x2ff2d2,'subUnitId':_0x422808,'pivotTableId':_0x91e11,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x32525f,'filterInfo':_0x95dedb}}}))['result'][_0x3c0dde(0x37b)];if(!_0x512815)return!0x1;const {changesets:_0x357ec0,pivotTableConfig:_0x5c0bdb,isEmpty:_0x2fd29b,view:_0x1cc639}=_0x512815,_0xd6c676=_0x5c0bdb[_0x3c0dde(0x416)],_0x218000=new _0x296f39();_0x218000['formJSON'](_0x1cc639);const _0x3609c4={'cellInfo':_0xd6c676,'view':_0x218000,'isEmpty':_0x2fd29b};if(!await _0x42248a['get'](ie)[_0x3c0dde(0x204)][_0x3c0dde(0x333)](be)(!0x0,_0x3609c4))return!0x1;const _0x504f78=Fe(_0x42248a,_0x218000,_0xd6c676,_0x2fd29b),_0x2ca4c4=we(_0x42248a,_0x3609c4),{undos:_0x527cb5,redos:_0xa96cf4}=Ie(_0x58e78d,{'pivotTableId':_0x91e11,'unitId':_0x2ff2d2,'subUnitId':_0x422808},_0x357ec0);return _0x2fdef8([..._0x504f78['redos'],..._0x2ca4c4[_0x3c0dde(0x1fe)],..._0xa96cf4],_0x58e78d),_0x5beee2[_0x3c0dde(0x219)]({'unitID':_0x2ff2d2,'redoMutations':[..._0x504f78[_0x3c0dde(0x1fe)],..._0x2ca4c4['redos'],..._0xa96cf4],'undoMutations':[..._0x504f78[_0x3c0dde(0x3f1)],..._0x2ca4c4[_0x3c0dde(0x3f1)],..._0x527cb5]}),!0x0;}},to={'id':_0x91438c(0x255),'type':_0x2e18c8[_0x91438c(0x318)],'handler':(_0x2fc4a4,_0x354071)=>{const _0x9a5248=_0x91438c;if(!_0x354071)return!0x1;if(!!_0x2fc4a4['get'](_0x495f63)['getConfig'](Y))return!0x0;const {unitId:_0x36bdbb,subUnitId:_0x2a33ae,pivotTableId:_0x4470ca,tableFieldId:_0x23bc46,dateType:_0x1c6d28}=_0x354071,_0x46c4cf=_0x2fc4a4[_0x9a5248(0x274)]($),_0x5df0a9=_0x46c4cf[_0x9a5248(0x31f)](_0x4470ca);if(!_0x5df0a9)return!0x1;const _0x28c0b6=_0x5df0a9[_0x9a5248(0x34d)](_0x23bc46);if(!_0x28c0b6)return!0x1;const _0x4bb5db=_0x28c0b6[_0x9a5248(0x361)](),_0x15c51e=_0x5df0a9[_0x9a5248(0x3c9)](_0x4bb5db),_0x10b15a=(_0x15c51e==null?void 0x0:_0x15c51e['getName']())+'\x20'+qo(_0x2fc4a4,_0x1c6d28);_0x46c4cf[_0x9a5248(0x232)](_0x36bdbb,_0x4470ca)[_0x9a5248(0x1c4)](_0x28c0b6['id'],_0x10b15a);const _0x269dc2=_0x5df0a9[_0x9a5248(0x2ef)](_0x23bc46);if(!_0x269dc2)return!0x1;_0x5df0a9[_0x9a5248(0x21a)](_0x269dc2[_0x9a5248(0x403)](),_0x10b15a),_0x28c0b6['setDateType'](_0x1c6d28);const _0x5ef53b=_0x46c4cf[_0x9a5248(0x294)](_0x36bdbb,_0x2a33ae,_0x4470ca);return _0x46c4cf['addDirtyPivotTable']({'unitId':_0x36bdbb,'subUnitId':_0x2a33ae,'token':_0x4470ca,'type':J[_0x9a5248(0x20b)],'pivotConfig':_0x5ef53b}),!0x0;}},_s={'id':_0x91438c(0x394),'type':_0x2e18c8[_0x91438c(0x2bb)],'handler':(_0x279e63,_0x50918b)=>{const _0x141504=_0x91438c;if(!_0x50918b)return!0x1;const _0x2113dd=_0x279e63[_0x141504(0x274)](_0x4e1a76),{unitId:_0x500cc6,subUnitId:_0x3e95bd,pivotTableId:_0xdb513b,tableFieldId:_0x19aa38}=_0x50918b,_0x30ea9d=[],_0x5735f1=[],_0x11dc8a=_0x279e63[_0x141504(0x274)](he),_0x2c7e29=_0x11dc8a['getCollection'](_0x500cc6,_0xdb513b),_0x3c8983=_0x11dc8a[_0x141504(0x294)](_0x500cc6,_0x3e95bd,_0xdb513b);if(!(_0x3c8983!=null&&_0x3c8983['fieldsConfig'][_0x141504(0x2c2)]))return!0x1;const _0x9e2457=Object[_0x141504(0x2c8)](_0x3c8983[_0x141504(0x2c6)][_0x141504(0x2c2)])['find'](_0x54ee60=>_0x54ee60['id']===_0x19aa38);if(!_0x9e2457)return!0x1;const _0xdd381c=_0x9e2457[_0x141504(0x3e8)];if(!(_0x2c7e29!=null&&_0x2c7e29[_0x141504(0x217)]))return!0x1;const _0x24e7c1=Object[_0x141504(0x2c8)](_0x2c7e29==null?void 0x0:_0x2c7e29[_0x141504(0x217)])[_0x141504(0x263)](_0x607e57=>_0x607e57['id']===_0xdd381c);if(!_0x24e7c1)return!0x1;_0x3532a4(_0x24e7c1)&&_0x30ea9d[_0x141504(0x3fe)]({'id':to['id'],'params':{..._0x50918b,'dateType':_0x24e7c1[_0x141504(0x374)]}}),_0x5735f1[_0x141504(0x3fe)]({'id':to['id'],'params':{..._0x50918b}});const _0x33b9e8=_0x279e63['get'](_0xa7b251);return _0x2fdef8(_0x5735f1,_0x33b9e8)&&_0x2113dd['pushUndoRedo']({'unitID':_0x500cc6,'undoMutations':_0x30ea9d,'redoMutations':_0x5735f1}),!0x0;}},Rs={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x3fa),async 'handler'(_0x407d1a,_0x3ceee8){const _0x545a6c=_0x91438c;if(!_0x3ceee8)return!0x1;const _0x1fdba6=_0x407d1a['get'](_0xa7b251),_0x197c50=_0x407d1a[_0x545a6c(0x274)](_0x4e1a76),_0x4ac296=_0x407d1a[_0x545a6c(0x274)](z),{displayName:_0x55d782,subtotalType:_0x1f0549,format:_0x2f0936,tableFieldId:_0x3c9afa,pivotTableId:_0x292fa5,unitId:_0x54539c,subUnitId:_0x26a2af}=_0x3ceee8,_0x298d52=(await _0x4ac296['getPivotDisplayConfig']({'unitId':_0x54539c,'subUnitId':_0x26a2af,'pivotTableId':_0x292fa5,'params':{'type':k['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3c9afa,'displayName':_0x55d782,'subtotalType':_0x1f0549,'format':_0x2f0936}}}))[_0x545a6c(0x2a8)]['setPivotSetting'];if(!_0x298d52)return!0x1;const {changesets:_0x50625f,view:_0x5bcae7,pivotTableConfig:_0x1b93c2,isEmpty:_0xf4e0bb}=_0x298d52,_0xee22e3=_0x1b93c2['targetCellInfo'],_0x2122cb=new _0x296f39();_0x2122cb['formJSON'](_0x5bcae7);const _0xe1049b={'cellInfo':_0xee22e3,'view':_0x2122cb,'isEmpty':_0xf4e0bb};if(!await _0x407d1a['get'](ie)[_0x545a6c(0x204)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0xe1049b))return!0x1;const _0x51c38f=Fe(_0x407d1a,_0x2122cb,_0xee22e3,_0xf4e0bb),_0x4c3a89=we(_0x407d1a,_0xe1049b),{undos:_0x2839ca,redos:_0x257aa6}=Ie(_0x1fdba6,{'pivotTableId':_0x292fa5,'unitId':_0x54539c,'subUnitId':_0x26a2af},_0x50625f);return _0x2fdef8([..._0x51c38f[_0x545a6c(0x1fe)],..._0x4c3a89[_0x545a6c(0x1fe)],..._0x257aa6],_0x1fdba6),_0x197c50[_0x545a6c(0x219)]({'unitID':_0x54539c,'redoMutations':[..._0x51c38f[_0x545a6c(0x1fe)],..._0x4c3a89[_0x545a6c(0x1fe)],..._0x257aa6],'undoMutations':[..._0x51c38f[_0x545a6c(0x3f1)],..._0x4c3a89['undos'],..._0x2839ca]}),!0x0;}},oo={'type':_0x2e18c8[_0x91438c(0x318)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0xdd5a9b,_0x5240b3){const _0x4f9349=_0x91438c;if(!_0x5240b3)return!0x1;if(!!_0xdd5a9b[_0x4f9349(0x274)](_0x495f63)['getConfig'](Y))return!0x0;const _0x318e04=_0xdd5a9b[_0x4f9349(0x274)]($),{pivotTableId:_0x28f054,deleteIds:_0x5530eb,collectionJSON:_0x2b0bda,dataRangeInfo:_0x1deab5,unitId:_0x5e5f4c,subUnitId:_0x3b5ff1}=_0x5240b3,_0xfb97c3=_0x318e04['getPivotTableInstance'](_0x28f054),_0x103ddd=_0x318e04[_0x4f9349(0x294)](_0x5e5f4c,_0x3b5ff1,_0x28f054);if(!_0xfb97c3||!_0x103ddd)return!0x1;const {collection:_0x59fc68,updateDataFieldList:_0x5da474}=_0x318e04[_0x4f9349(0x2e4)](_0x28f054,_0x2b0bda,_0x1deab5,_0x103ddd['targetCellInfo']);_0x318e04['refreshData'](_0x59fc68,_0x5da474,_0x1deab5),_0xfb97c3[_0x4f9349(0x2cb)](_0x59fc68);for(const _0x4d7650 of _0x5530eb)_0x318e04[_0x4f9349(0x3bb)](_0x1deab5[_0x4f9349(0x1cc)],_0x4d7650);const _0x1c36de=_0x318e04['getPivotTableConfig'](_0x5e5f4c,_0x3b5ff1,_0x28f054);return _0x1c36de['sourceRangeInfo']=JSON['parse'](JSON[_0x4f9349(0x2ff)](_0x1deab5)),_0x318e04[_0x4f9349(0x1ca)]({'unitId':_0x5e5f4c,'subUnitId':_0x3b5ff1,'token':_0x28f054,'type':J[_0x4f9349(0x20b)]}),!0x0;}},Ds={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x37e),async 'handler'(_0x5bf24b,_0x4b5059){const _0x582acb=_0x91438c,_0x262078=_0x5bf24b[_0x582acb(0x274)](_0xa7b251),_0x41a1b2=_0x5bf24b[_0x582acb(0x274)](z),_0x2831c4=_0x5bf24b[_0x582acb(0x274)](_0x4e1a76);if(!_0x4b5059)return!0x1;const {token:_0x33b1c8,dataRangeInfo:_0x58dd0e,unitId:_0x5a9fec,subUnitId:_0x1b712a}=_0x4b5059,_0x4cdc56=[],_0x3ad606=[],_0x575593=(await _0x41a1b2[_0x582acb(0x328)]({'unitId':_0x5a9fec,'subUnitId':_0x1b712a,'pivotTableId':_0x33b1c8,'params':{'type':k['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x58dd0e,'unitId':_0x5a9fec,'subUnitId':_0x1b712a}}}))['result'][_0x582acb(0x2a9)];if(!_0x575593)return!0x1;const {changesets:_0x44bf75,deleteIds:_0x379eff,collectionConfig:_0x119865,oldCollectionConfig:_0x2c4a5f,view:_0x38eab8,isEmpty:_0x3fac7b,pivotTableConfig:_0x2b5c6e}=_0x575593;_0x3ad606['push']({'id':oo['id'],'params':{'pivotTableId':_0x33b1c8,'deleteIds':_0x379eff,'collectionJSON':_0x119865,'dataRangeInfo':_0x58dd0e,'unitId':_0x5a9fec,'subUnitId':_0x1b712a}}),_0x4cdc56[_0x582acb(0x273)]({'id':oo['id'],'params':{'pivotTableId':_0x33b1c8,'deleteIds':[],'collectionJSON':_0x2c4a5f,'dataRangeInfo':_0x2b5c6e[_0x582acb(0x407)],'unitId':_0x5a9fec,'subUnitId':_0x1b712a}});const _0x57f655=_0x2b5c6e[_0x582acb(0x416)],_0x3f8b91=new _0x296f39();_0x3f8b91[_0x582acb(0x2af)](_0x38eab8);const _0x213e3a={'cellInfo':_0x57f655,'view':_0x3f8b91,'isEmpty':_0x3fac7b};if(!await _0x5bf24b[_0x582acb(0x274)](ie)[_0x582acb(0x204)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x213e3a))return!0x1;const _0x474b55=Fe(_0x5bf24b,_0x3f8b91,_0x57f655,_0x3fac7b),_0x5b779b=we(_0x5bf24b,_0x213e3a),{undos:_0x409f16,redos:_0x3ca664}=Ie(_0x262078,{'pivotTableId':_0x33b1c8,'unitId':_0x5a9fec,'subUnitId':_0x1b712a},_0x44bf75);return _0x2fdef8([..._0x474b55['redos'],..._0x5b779b['redos'],..._0x3ad606,..._0x409f16],_0x262078),_0x2831c4[_0x582acb(0x219)]({'unitID':_0x5a9fec,'redoMutations':[..._0x474b55[_0x582acb(0x1fe)],..._0x5b779b[_0x582acb(0x1fe)],..._0x3ad606,..._0x409f16],'undoMutations':[..._0x474b55[_0x582acb(0x3f1)],..._0x5b779b[_0x582acb(0x3f1)],..._0x4cdc56,..._0x3ca664]}),!0x0;}},Vs={'type':_0x2e18c8[_0x91438c(0x2bb)],'id':_0x91438c(0x408),async 'handler'(_0x5b31fd,_0x547e0c){const _0x15a03a=_0x91438c;if(!_0x547e0c)return!0x1;const _0x53978c=_0x5b31fd['get'](_0xa7b251),_0x4f3390=_0x5b31fd[_0x15a03a(0x274)](z),_0x5aab85=_0x5b31fd[_0x15a03a(0x274)](_0x2c885f),_0x1103d8=_0x5b31fd[_0x15a03a(0x274)](_0x4e1a76),{pivotTableId:_0x590e6a,position:_0x492d69,index:_0x2f1812}=_0x547e0c,_0xbd1c8d=_0x1a5e6f(_0x5aab85);if(!_0xbd1c8d)return!0x1;const {unitId:_0x318cde,subUnitId:_0x112feb}=_0xbd1c8d,_0x29f2c2=(await _0x4f3390[_0x15a03a(0x328)]({'unitId':_0x318cde,'subUnitId':_0x112feb,'pivotTableId':_0x590e6a,'params':{'type':k[_0x15a03a(0x431)],'updateValuePosition':{'position':_0x492d69,'index':_0x2f1812}}}))[_0x15a03a(0x2a8)][_0x15a03a(0x351)];if(!_0x29f2c2)return!0x1;const {changesets:_0x54649a,view:_0x1c901c,isEmpty:_0x30c17b,pivotTableConfig:_0x5a6965}=_0x29f2c2,_0x576d1c=_0x5a6965[_0x15a03a(0x416)],_0xf40aa8=new _0x296f39();_0xf40aa8[_0x15a03a(0x2af)](_0x1c901c);const _0x1524c2=_0x5b31fd[_0x15a03a(0x274)](ie),_0x4f6d5c={'cellInfo':_0x576d1c,'view':_0xf40aa8,'isEmpty':_0x30c17b};if(!await _0x1524c2['asyncInterceptor'][_0x15a03a(0x333)](be)(!0x0,_0x4f6d5c))return!0x1;const _0x7a22ba=Fe(_0x5b31fd,_0xf40aa8,_0x576d1c,_0x30c17b),_0x572a56=we(_0x5b31fd,_0x4f6d5c),{undos:_0x3e2eab,redos:_0x1c1f40}=Ie(_0x53978c,{'pivotTableId':_0x590e6a,'unitId':_0x318cde,'subUnitId':_0x112feb},_0x54649a);return _0x2fdef8([..._0x7a22ba[_0x15a03a(0x1fe)],..._0x572a56['redos'],..._0x1c1f40],_0x53978c),_0x1103d8[_0x15a03a(0x219)]({'unitID':_0x318cde,'redoMutations':[..._0x7a22ba[_0x15a03a(0x1fe)],..._0x572a56[_0x15a03a(0x1fe)],..._0x1c1f40],'undoMutations':[..._0x7a22ba[_0x15a03a(0x3f1)],..._0x572a56[_0x15a03a(0x3f1)],..._0x3e2eab]}),!0x0;}},Nt={'type':_0x2e18c8[_0x91438c(0x318)],'id':_0x91438c(0x41f),'handler'(){return!0x0;}};var Ns=Object[_0x91438c(0x26b)],Us=(_0x19f871,_0x38f660,_0x1ebf96,_0x1751ae)=>{for(var _0x390b8c=_0x1751ae>0x1?void 0x0:_0x1751ae?Ns(_0x38f660,_0x1ebf96):_0x38f660,_0xfc4b6a=_0x19f871['length']-0x1,_0x540a9c;_0xfc4b6a>=0x0;_0xfc4b6a--)(_0x540a9c=_0x19f871[_0xfc4b6a])&&(_0x390b8c=_0x540a9c(_0x390b8c)||_0x390b8c);return _0x390b8c;},at=(_0x3376d4,_0xf6cd5c)=>(_0xedb4fa,_0x27d05d)=>_0xf6cd5c(_0xedb4fa,_0x27d05d,_0x3376d4);const Es=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0x3317a5,_0x1396e7,_0x577d32)=>{const _0x22a906=_0x91438c,_0x25bbc9=_0x3317a5['dataFieldsCollection'];_0x3317a5[_0x22a906(0x321)](_0x565369=>{const _0x30a366=_0x22a906,_0x1b2882=_0x565369['getId'](),_0x5998e8=_0x565369[_0x30a366(0x30f)](),_0x37a41d=_0x565369[_0x30a366(0x35a)](),_0x3d92c9=_0x565369[_0x30a366(0x3a0)]();_0x1396e7[_0x5998e8]&&_0x1396e7[_0x5998e8]===_0x3d92c9&&_0x37a41d===_0x3d92c9&&(_0x3317a5[_0x30a366(0x21a)](_0x1b2882,_0x25bbc9['getDisplayName'](_0x5998e8)),_0x565369[_0x30a366(0x213)](_0x25bbc9['getDisplayName'](_0x5998e8)));}),_0x3317a5[_0x22a906(0x428)](_0x48ff8c[_0x22a906(0x36d)],_0x72c745=>{const _0x5640e5=_0x22a906,_0x48bb89=_0x72c745['getId'](),_0x3cdc68=_0x72c745['getDataFieldId'](),_0x2bb112=_0x72c745[_0x5640e5(0x35a)](),_0x5e22e1=_0x72c745[_0x5640e5(0x3a0)](),_0x22b201=_0x72c745['getSubtotal'](),_0x416953=_0x577d32(_0x2bb112,_0x22b201);_0x1396e7[_0x3cdc68]&&_0x1396e7[_0x3cdc68]===_0x2bb112&&_0x416953===_0x5e22e1&&(_0x3317a5[_0x5640e5(0x21a)](_0x48bb89,_0x577d32(_0x25bbc9['getDisplayName'](_0x3cdc68),_0x22b201)),_0x72c745[_0x5640e5(0x213)](_0x25bbc9[_0x5640e5(0x3a0)](_0x3cdc68)));});},Os=(_0x1858df,_0x21cfb7,_0x2e1d7c)=>{const _0x5041a5=_0x91438c;var _0x2b31b7,_0xbbcd84;const {arrayFormulaCellData:_0x2f19c7,unitData:_0x12bb8f}=_0x21cfb7,{unitId:_0x2aba5c,subUnitId:_0x4cc758}=_0x2e1d7c,_0x38c72c=_0x2e1d7c[_0x5041a5(0x21c)],{startColumn:_0x44e528,endColumn:_0x577e7e}=_0x38c72c,_0x3558a5=(_0x2b31b7=_0x2f19c7==null?void 0x0:_0x2f19c7[_0x2aba5c])==null?void 0x0:_0x2b31b7[_0x4cc758],_0x18da92=(_0xbbcd84=_0x12bb8f==null?void 0x0:_0x12bb8f[_0x2aba5c])==null?void 0x0:_0xbbcd84[_0x4cc758],_0x44078a=new Set(),_0x5608e7=_0x577e7e-_0x44e528+0x1,{dirtyRanges:_0x2f240b}=_0x1858df;if(_0x2f240b)for(const {range:_0x53387f,sheetId:_0xedeb1,unitId:_0x56514f}of _0x2f240b){if(_0xedeb1!==_0x4cc758||_0x2aba5c!==_0x56514f)continue;const _0x37189a=_0x459723[_0x5041a5(0x36f)](_0x53387f,_0x38c72c);if(_0x37189a){const {startColumn:_0x2bcde5,endColumn:_0x58f9e7}=_0x37189a;for(let _0x47d372=_0x2bcde5;_0x47d372<=_0x58f9e7;_0x47d372++)_0x44078a[_0x5041a5(0x1eb)](_0x47d372);}}if(_0x44078a[_0x5041a5(0x244)]===_0x5608e7||_0x44078a[_0x5041a5(0x244)]===_0x5608e7)return Array[_0x5041a5(0x1f1)](_0x44078a);if(_0x18da92){const _0x35be23=_0x18da92[_0x5041a5(0x3d2)](),_0x4100dc=Object[_0x5041a5(0x31c)](_0x35be23);for(const _0x1d5ee3 of _0x4100dc){const _0x340709=Number(_0x1d5ee3),_0x198a14=_0x35be23[_0x340709];if(_0x44078a[_0x5041a5(0x244)]===_0x5608e7)break;for(const _0x140d09 in _0x198a14){const _0x4ca566=Number(_0x140d09);_0x4ca566<_0x44e528||_0x4ca566>_0x577e7e||_0x44078a[_0x5041a5(0x1eb)](_0x4ca566);}}}if(_0x3558a5){const _0x3ebbbc=_0x3558a5[_0x5041a5(0x3d2)](),_0x3fb98f=Object[_0x5041a5(0x31c)](_0x3ebbbc);for(const _0x46f769 of _0x3fb98f){const _0x83dead=Number(_0x46f769),_0x5cf796=_0x3ebbbc[_0x83dead];if(_0x44078a[_0x5041a5(0x244)]===_0x5608e7)break;for(const _0x2079b3 in _0x5cf796){const _0x22a8a6=Number(_0x2079b3);_0x22a8a6<_0x44e528||_0x22a8a6>_0x577e7e||_0x44078a[_0x5041a5(0x1eb)](_0x22a8a6);}}}return Array[_0x5041a5(0x1f1)](_0x44078a);},As=_0x3e5931=>{const _0x470e9f=_0x91438c,_0xc36b7d=new Set(),_0x1fe319=[];for(const _0x13cb8c of _0x3e5931){const _0x5e2812=_0x13cb8c[_0x470e9f(0x34c)]+','+_0x13cb8c[_0x470e9f(0x25c)]+','+_0x13cb8c[_0x470e9f(0x2ee)]+','+_0x13cb8c[_0x470e9f(0x377)];_0xc36b7d[_0x470e9f(0x35d)](_0x5e2812)||(_0xc36b7d[_0x470e9f(0x1eb)](_0x5e2812),_0x1fe319['push'](_0x13cb8c));}return _0x1fe319;};let dt=class extends _0x5353ba{constructor(_0x196864,_0x2778e3,_0xcbdc5d,_0x41a08c,_0x349b89){const _0x1e8138=_0x91438c;super(),N(this,_0x1e8138(0x211),new _0x4ac54f(!0x0)),N(this,_0x1e8138(0x223),_0x32e2d1=>{this['_globalSubject']['next'](!0x1);}),N(this,'_globalComputedEndHelpFunc',_0x2985f1=>{const _0xa67ac9=_0x1e8138;this[_0xa67ac9(0x211)][_0xa67ac9(0x1db)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x196864,this['_featureCalculationManagerService']=_0x2778e3,this[_0x1e8138(0x384)]=_0xcbdc5d,this[_0x1e8138(0x236)]=_0x41a08c,this[_0x1e8138(0x31d)]=_0x349b89,this[_0x1e8138(0x250)](),this[_0x1e8138(0x432)]());}['_init'](){const _0x244e6a=_0x91438c;this[_0x244e6a(0x22f)](),this['_subjectViewChange'](),this[_0x244e6a(0x2a4)](),this[_0x244e6a(0x25f)]();}[_0x91438c(0x398)](){const _0x2092ac=_0x91438c;this[_0x2092ac(0x236)][_0x2092ac(0x2e1)](this[_0x2092ac(0x211)]),_0x33f1c5[_0x2092ac(0x268)](_0x589062['onQueryStart'],this[_0x2092ac(0x223)]),_0x33f1c5['registerCallbackWithEvent'](_0x589062[_0x2092ac(0x348)],this[_0x2092ac(0x367)]);}[_0x91438c(0x432)](){const _0x40f70c=_0x91438c;this[_0x40f70c(0x317)](this[_0x40f70c(0x384)][_0x40f70c(0x347)](_0x4759ea=>{const _0x4fd302=_0x40f70c;_0x4759ea['id']===_0x3d1db8['id']&&this[_0x4fd302(0x22a)][_0x4fd302(0x2f9)](_0x4759ea[_0x4fd302(0x433)]);})),this[_0x40f70c(0x317)](this[_0x40f70c(0x384)]['onCommandExecuted'](_0x3a0d5b=>{const _0x360645=_0x40f70c;if(_0x3a0d5b['id']!==ro['id'])return;const _0x2ebde4=_0x3a0d5b[_0x360645(0x433)],{unitId:_0x3068d7,subUnitId:_0x1560f3,pivotTableId:_0x16a558}=_0x2ebde4,_0x5d474d=_0x2ebde4[_0x360645(0x433)]['type'],_0x4b255f={};switch(_0x5d474d){case k[_0x360645(0x41b)]:{const _0x1789c0=_0x2ebde4['params']['filter'];if(!_0x1789c0)return;const {row:_0x4aa42a,col:_0xb9dc9b,cellData:_0x130270,pivotItemRenderInfoCache:_0x2e5a7e,tableFieldId:_0x28865}=_0x1789c0,_0x2c310f=this[_0x360645(0x22a)]['getPivotTableInstance'](_0x2ebde4[_0x360645(0x3ff)]);if(!_0x2c310f||!_0x2e5a7e)return;if(_0x28865){const _0x1d5ca3=_0x2c310f['getDataFieldByTableId'](_0x28865);if(!_0x1d5ca3)return;_0x4b255f['filter']={..._0x2c310f['getDataFieldItemInfo'](_0x1d5ca3),'tableFieldId':_0x28865,'pivotTableId':_0x2ebde4[_0x360645(0x3ff)],'filterInfo':_0x2c310f['getFilterInfo'](_0x28865),'sortInfo':_0x2c310f[_0x360645(0x2b1)](_0x28865),'format':_0x2c310f[_0x360645(0x356)](_0x28865)};}else{const _0x35f22a=ki(_0x4aa42a,_0xb9dc9b,_0x130270,_0x2c310f,_0x2e5a7e),_0x1412e7=_0x35f22a==null?void 0x0:_0x35f22a[_0x360645(0x267)];if(!_0x1412e7)return;const _0x131606=_0x2c310f['getDataFieldByTableId'](_0x1412e7);if(!_0x131606)return;_0x4b255f[_0x360645(0x3ad)]={..._0x2c310f[_0x360645(0x1cb)](_0x131606),'tableFieldId':_0x1412e7,'pivotTableId':_0x2ebde4[_0x360645(0x3ff)],'filterInfo':_0x2c310f[_0x360645(0x2ad)](_0x1412e7),'sortInfo':_0x2c310f[_0x360645(0x2b1)](_0x1412e7),'format':_0x2c310f[_0x360645(0x356)](_0x1412e7)};}}break;case k['Panel']:{const _0x589ab2=_0x2ebde4[_0x360645(0x433)][_0x360645(0x3aa)];if(!_0x589ab2)return;const {pivotTableId:_0x595ccc}=_0x589ab2,_0xbfd0e6=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x595ccc);if(!_0xbfd0e6)return;const _0x4f6b38=this[_0x360645(0x22a)]['getPivotTableConfig'](_0x3068d7,_0x1560f3,_0x595ccc),_0x633919=Bi(_0xbfd0e6,_0x595ccc,_0x4f6b38);_0x4b255f[_0x360645(0x3aa)]=_0x633919;}break;case k[_0x360645(0x388)]:{const _0x5aaaae=this['_sheetsPivotDataSourceModel'][_0x360645(0x31f)](_0x16a558),_0x2801be=this['_sheetsPivotDataSourceModel'][_0x360645(0x33c)](_0x3068d7),_0x47b0f9=_0x2801be[_0x360645(0x232)](_0x16a558);let _0x216d57=null;const _0x1ecd66=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558),_0x254937=_0x2ebde4['params'][_0x360645(0x33b)];if(!_0x5aaaae||!_0x1ecd66||!_0x254937)return!0x1;const {dataFieldId:_0x43cd02,fieldArea:_0x2f95aa,index:_0x26b8e2}=_0x254937;_0x5aaaae[_0x360645(0x231)]();const _0x594338=_0x5aaaae[_0x360645(0x323)](_0x43cd02,_0x2f95aa,_0x26b8e2);if(_0x594338&&_0x2f95aa===_0x48ff8c[_0x360645(0x36d)]){const _0x2f6ae0=_0x594338[_0x360645(0x403)](),_0x1a443e=_0x5aaaae[_0x360645(0x34d)](_0x2f6ae0);if(_0x1a443e){const _0x4f0f98=_0x1a443e==null?void 0x0:_0x1a443e['getFieldDataType']();_0x5aaaae[_0x360645(0x241)](_0x594338['getId'](),_0x4f0f98===_0x5b8b2a[_0x360645(0x242)]?_0x553ee1[_0x360645(0x397)]:_0x553ee1[_0x360645(0x39e)]);}const _0x55db66=_0x5aaaae[_0x360645(0x1c8)](),_0x57f614=_0x5aaaae[_0x360645(0x20a)](),_0x4620c9=_0x5aaaae['getFieldCountByArea'](_0x48ff8c['Value']);if(_0x55db66===-0x1&&_0x4620c9>0x1){const _0xc12c09=_0x57f614===_0x150bb7['None']?_0x150bb7[_0x360645(0x41d)]:_0x57f614,_0x4598e2=_0xc12c09===_0x150bb7[_0x360645(0x34a)]?_0x48ff8c['Row']:_0x48ff8c[_0x360645(0x41d)];_0x5aaaae['updateValuePosition'](_0xc12c09,_0x5aaaae[_0x360645(0x426)](_0x4598e2));}}else{if(_0x594338&&(_0x2f95aa===_0x48ff8c[_0x360645(0x34a)]||_0x2f95aa===_0x48ff8c['Column'])){const _0x542e6f=_0x594338[_0x360645(0x403)](),_0x526259=_0x5aaaae[_0x360645(0x34d)](_0x542e6f);if(_0x526259&&(_0x526259==null?void 0x0:_0x526259[_0x360645(0x2ca)]())===_0x5b8b2a['date']){const _0x403a7b=_0x526259['getformat']();if(_0x403a7b&&_0x5aaaae[_0x360645(0x411)](_0x594338[_0x360645(0x403)](),_0x403a7b),!_0x47b0f9[_0x360645(0x2b9)]()[_0x360645(0x39d)](_0x1f9a9b=>{const _0x1b7f94=_0x360645,_0x55fc30=_0x47b0f9[_0x1b7f94(0x2bd)](_0x1f9a9b);return _0x375f53(_0x55fc30)?_0x55fc30[_0x1b7f94(0x3a4)]()['originalFieldId']===_0x43cd02:!0x1;})){const _0x4b9f5f=_0x2801be['createDataFieldId'](),_0x544db6=Hi(_0x526259[_0x360645(0x3d3)],_0x526259['minDate']),_0x9afb9b=_0x526259[_0x360645(0x30e)]()+_0x360645(0x26a)+qo(this['_injector'],_0x544db6),_0x55d4cc=new _0x5281df(_0x4b9f5f,_0x9afb9b,_0x387c10(0x3),_0x526259[_0x360645(0x403)](),_0x544db6);_0x2801be[_0x360645(0x3a8)](_0x55d4cc),_0x47b0f9[_0x360645(0x381)](_0x4b9f5f,_0x9afb9b),_0x5aaaae['addFieldWithSourceId'](_0x4b9f5f,_0x2f95aa,(_0x26b8e2!=null?_0x26b8e2:0x0)+0x1),_0x216d57=_0x55d4cc;}}}}const _0x3fcabb=_0x5aaaae[_0x360645(0x3d9)](),_0x2aff44=_0x5aaaae[_0x360645(0x3af)]()[_0x360645(0x2e3)]();let _0x1232a9;if(_0x216d57){_0x1232a9=_0x216d57[_0x360645(0x2e3)]();const _0x5bd849=_0x216d57[_0x360645(0x403)]();_0x47b0f9[_0x360645(0x36e)](_0x5bd849);let _0x554a68=!0x0;for(const _0x4cc966 in _0x2801be[_0x360645(0x391)])if(_0x2801be[_0x360645(0x391)][_0x4cc966][_0x360645(0x2b9)]()[_0x360645(0x1da)](_0x5bd849)){_0x554a68=!0x1;break;}_0x554a68&&_0x2801be[_0x360645(0x1d7)](_0x5bd849);}const _0x109042=_0x5aaaae['endCollectChangeset']();_0x4b255f[_0x360645(0x33b)]={'view':_0x2aff44,'changesets':_0x109042,'isEmpty':_0x3fcabb,'pivotTableConfig':_0x1ecd66,'shouldBeAddedGroupJSON':_0x1232a9};}break;case k['AddPivotTable']:{const _0x168497=_0x2ebde4['params'][_0x360645(0x1f6)];if(!_0x168497)return;const _0x3aa9c7=_0x168497[_0x360645(0x407)],_0x2f7f3f=_0x168497[_0x360645(0x3ff)],{collection:_0x3bdbe3}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x3aa9c7[_0x360645(0x1cc)],'sheetName':_0x3aa9c7[_0x360645(0x3de)],'subUnitId':_0x3aa9c7['subUnitId'],'range':_0x3aa9c7[_0x360645(0x21c)]}),_0xa58f98=new _0x33f1c5(_0x3bdbe3,void 0x0,_0x2f7f3f),_0x347895=_0xa58f98[_0x360645(0x3af)](),_0x54e0dd=_0xa58f98['toJSON'](),_0x40dd67=_0x3bdbe3['toJSON']();_0x4b255f['addPivotTable']={'view':_0x347895,'fieldsConfig':_0x54e0dd,'collectionConfig':_0x40dd67,'isEmpty':_0xa58f98[_0x360645(0x3d9)]()};}break;case k[_0x360645(0x3c3)]:{const _0x532deb=_0x2ebde4[_0x360645(0x433)][_0x360645(0x353)];if(!_0x532deb)return;const {fieldId:_0x9d8ea3,area:_0x3d8e16,index:_0x6e4303}=_0x532deb,_0x31503e=this[_0x360645(0x22a)]['getPivotTableConfig'](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x31503e)return;const _0x8b2b9c=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558);if(!_0x8b2b9c)return;_0x8b2b9c[_0x360645(0x231)]();const {area:_0x2f0582,index:_0x594ea2}=_0x8b2b9c['getFieldPositionInfoById'](_0x9d8ea3);if(_0x8b2b9c[_0x360645(0x34f)](_0x9d8ea3,_0x3d8e16,_0x6e4303),_0x3d8e16===_0x48ff8c[_0x360645(0x36d)]&&_0x8b2b9c[_0x360645(0x2ef)](_0x9d8ea3)[_0x360645(0x380)]()===void 0x0){const _0x8d0188=_0x8b2b9c['getTableFieldById'](_0x9d8ea3);if(_0x8d0188&&_0x8d0188[_0x360645(0x380)]()===void 0x0){const _0x20167a=_0x8b2b9c[_0x360645(0x34d)](_0x9d8ea3);if(_0x20167a){const _0x51e62c=_0x20167a==null?void 0x0:_0x20167a[_0x360645(0x2ca)]();_0x8b2b9c[_0x360645(0x241)](_0x9d8ea3,_0x51e62c===_0x5b8b2a['number']?_0x553ee1[_0x360645(0x397)]:_0x553ee1['count']);}}}const _0x26e081=_0x8b2b9c[_0x360645(0x20a)](),_0x54b863=_0x8b2b9c[_0x360645(0x1c8)](),_0x5db061=_0x8b2b9c[_0x360645(0x426)](_0x48ff8c[_0x360645(0x36d)])>0x1;if(_0x5db061&&_0x2f0582===_0x3d8e16&&(_0x3d8e16===_0x48ff8c[_0x360645(0x34a)]&&_0x26e081===_0x150bb7[_0x360645(0x34a)]||_0x3d8e16===_0x48ff8c['Column']&&_0x26e081===_0x150bb7['Column'])){let _0x4366fe=_0x54b863;_0x594ea2<=_0x54b863&&_0x4366fe--,_0x6e4303<=_0x54b863&&_0x4366fe++,_0x8b2b9c['updateValuePosition'](_0x26e081,_0x4366fe);}else _0x5db061&&(_0x2f0582===_0x48ff8c[_0x360645(0x34a)]&&_0x26e081===_0x150bb7[_0x360645(0x34a)]||_0x2f0582===_0x48ff8c['Column']&&_0x26e081===_0x150bb7[_0x360645(0x41d)])&&_0x54b863>=_0x594ea2&&_0x8b2b9c[_0x360645(0x351)](_0x26e081,_0x54b863-0x1),_0x5db061&&(_0x3d8e16===_0x48ff8c[_0x360645(0x34a)]&&_0x26e081===_0x150bb7['Row']||_0x3d8e16===_0x48ff8c[_0x360645(0x41d)]&&_0x26e081===_0x150bb7[_0x360645(0x41d)])&&_0x54b863>=_0x6e4303&&_0x8b2b9c[_0x360645(0x351)](_0x26e081,_0x54b863+0x1);const _0x5d1d52=_0x8b2b9c['query'](),_0xbab8df=_0x8b2b9c[_0x360645(0x3d9)](),_0xd87998=_0x8b2b9c[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x353)]={'view':_0x5d1d52[_0x360645(0x2e3)](),'changesets':_0xd87998,'isEmpty':_0xbab8df,'pivotTableConfig':_0x31503e};}break;case k[_0x360645(0x300)]:{const _0x2e1586=_0x2ebde4[_0x360645(0x433)][_0x360645(0x3ce)];if(!_0x2e1586)return;const _0x381249=_0x2e1586[_0x360645(0x2b8)],_0x20605b=this[_0x360645(0x22a)]['getPivotTableConfig'](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x20605b)return!0x1;const _0x538f14=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558);if(!_0x538f14)return!0x1;_0x538f14[_0x360645(0x231)]();for(const _0x419a9e of _0x381249){const {area:_0x2dba31}=_0x538f14[_0x360645(0x2eb)](_0x419a9e);_0x2dba31===_0x48ff8c['Value']&&_0x538f14['removeValueFilterInfoByValueFieldId'](_0x419a9e),(_0x2dba31===_0x48ff8c[_0x360645(0x34a)]||_0x2dba31===_0x48ff8c[_0x360645(0x41d)])&&_0x538f14[_0x360645(0x39a)](_0x419a9e),_0x538f14['removeField'](_0x419a9e);}const _0x298f3d=_0x538f14[_0x360645(0x3d9)](),_0x4ce002=_0x538f14['query']()[_0x360645(0x2e3)](),_0x1c6083=_0x538f14[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x3ce)]={'changesets':_0x1c6083,'pivotTableConfig':_0x20605b,'isEmpty':_0x298f3d,'view':_0x4ce002};}break;case k['SetPivotFilter']:{const _0x4b3fd8=_0x2ebde4[_0x360645(0x433)]['setPivotFilter'];if(!_0x4b3fd8)return;const {tableFieldId:_0xa56735,items:_0x1d0cca,isAll:_0x387e7f}=_0x4b3fd8,_0x328aba=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558),_0x24fa6e=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x328aba||!_0x24fa6e)return;_0x328aba[_0x360645(0x231)](),_0x328aba[_0x360645(0x3be)](_0xa56735,{'type':_0x491413[_0x360645(0x2cf)],'list':_0x1d0cca,'isAll':_0x387e7f});const _0x39dd76=_0x328aba[_0x360645(0x3d9)](),_0xa210aa=_0x328aba[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x3b41c0=_0x328aba[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x1c0)]={'view':_0xa210aa,'changesets':_0x3b41c0,'isEmpty':_0x39dd76,'pivotTableConfig':_0x24fa6e};}break;case k['SetValuePivotFilter']:{const _0x21bbe9=_0x2ebde4[_0x360645(0x433)]['setValuePivotFilter'];if(!_0x21bbe9)return;const {tableFieldId:_0x2210ff,filterInfo:_0x8af26c}=_0x21bbe9,_0x13f77f=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558),_0x2228ce=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x13f77f||!_0x2228ce)return;_0x13f77f[_0x360645(0x231)](),_0x13f77f[_0x360645(0x306)](_0x2210ff,_0x8af26c);const _0x27dcc6=_0x13f77f['isEmpty'](),_0x40a3ad=_0x13f77f['query']()['toJSON'](),_0x7e640f=_0x13f77f[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x37b)]={'view':_0x40a3ad,'changesets':_0x7e640f,'isEmpty':_0x27dcc6,'pivotTableConfig':_0x2228ce};}break;case k[_0x360645(0x24e)]:{const _0x4b81e2=_0x2ebde4[_0x360645(0x433)][_0x360645(0x29e)];if(!_0x4b81e2)return;const {tableFieldId:_0x573815,info:_0x59c6af}=_0x4b81e2,_0x4aa1e6=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558),_0x67055a=this[_0x360645(0x22a)]['getPivotTableConfig'](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x4aa1e6||!_0x67055a)return;_0x4aa1e6[_0x360645(0x231)](),_0x4aa1e6['setSortInfo'](_0x573815,_0x59c6af);const _0x46f0aa=_0x4aa1e6['isEmpty'](),_0x30ef99=_0x4aa1e6[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x6841fd=_0x4aa1e6['endCollectChangeset']();_0x4b255f['setPivotSort']={'view':_0x30ef99,'changesets':_0x6841fd,'isEmpty':_0x46f0aa,'pivotTableConfig':_0x67055a};}break;case k[_0x360645(0x256)]:{const _0x87758a=_0x2ebde4['params'][_0x360645(0x2f5)];if(!_0x87758a)return;const {tableFieldId:_0x228755,displayName:_0x62676d,subtotalType:_0x1d9f4f,format:_0x4c18c9}=_0x87758a,_0x28081d=this['_sheetsPivotDataSourceModel'][_0x360645(0x31f)](_0x16a558),_0x1598e9=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x28081d||!_0x1598e9)return;_0x28081d[_0x360645(0x231)](),_0x62676d!==void 0x0&&_0x28081d['renameField'](_0x228755,_0x62676d),_0x1d9f4f!==void 0x0&&_0x28081d['setSubtotalType'](_0x228755,_0x1d9f4f),_0x4c18c9!==void 0x0&&_0x28081d['setFieldFormat'](_0x228755,_0x4c18c9);const _0x596fe2=_0x28081d[_0x360645(0x3d9)](),_0x412892=_0x28081d[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x1d206e=_0x28081d[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x2f5)]={'changesets':_0x1d206e,'pivotTableConfig':_0x1598e9,'isEmpty':_0x596fe2,'view':_0x412892};}break;case k[_0x360645(0x1f2)]:{const _0x11754b=_0x2ebde4[_0x360645(0x433)][_0x360645(0x2a9)];if(!_0x11754b)return;const {dataRangeInfo:_0x2e9b68,unitId:_0x17755b,subUnitId:_0x3263eb}=_0x11754b,_0xe3b923=this[_0x360645(0x22a)][_0x360645(0x294)](_0x17755b,_0x3263eb,_0x16a558),_0x3cf085=this[_0x360645(0x22a)]['getPivotTableInstance'](_0x16a558);if(!this['_sheetsPivotDataSourceModel'][_0x360645(0x232)](_0x17755b,_0x16a558)||!_0x3cf085||!_0xe3b923)return;const _0x4af33b=this[_0x360645(0x22a)][_0x360645(0x1dc)](_0x17755b,_0x16a558,_0x2e9b68),_0xff65ed=this['_sheetsPivotDataSourceModel'][_0x360645(0x232)](_0x17755b,_0x16a558)['toJSON'](),{collection:_0x2c160f}=this[_0x360645(0x22a)]['createCollectionWithDataRange']({'unitId':_0x2e9b68[_0x360645(0x1cc)],'sheetName':_0x2e9b68[_0x360645(0x3de)],'subUnitId':_0x2e9b68['subUnitId'],'range':_0x2e9b68[_0x360645(0x21c)]}),_0xb98ded=_0x2c160f[_0x360645(0x2e3)]();_0x3cf085[_0x360645(0x231)]();const _0x2b5690=this[_0x360645(0x22a)][_0x360645(0x33c)](_0x17755b)['getAutoDisplayNameFunction']()||_0x156bd8;_0x3cf085[_0x360645(0x2d7)](_0x5c547c=>{const _0x51688c=_0x360645,_0x2e63ce=_0x5c547c[_0x51688c(0x30f)]();if(!_0x2c160f[_0x51688c(0x2fa)](_0x2e63ce)){const _0x32d2b5=_0x2c160f['getDataFieldBySourceName'](_0x5c547c['getSourceName']());if(_0x32d2b5){_0x3cf085[_0x51688c(0x38f)](_0x5c547c['getId'](),_0x32d2b5['getName'](),_0x32d2b5[_0x51688c(0x403)]());const {area:_0x3147ff}=_0x3cf085[_0x51688c(0x2eb)](_0x5c547c['getId']());let _0x22a979=_0x5c547c[_0x51688c(0x35a)]();const _0x6ebcee=_0x5c547c[_0x51688c(0x3a0)]();if(_0x3147ff===_0x48ff8c[_0x51688c(0x36d)]){const _0x3b342f=_0x5c547c['getSubtotal']();_0x22a979=_0x2b5690(_0x32d2b5['getName'](),_0x3b342f);}_0x6ebcee!==_0x22a979&&_0x3cf085[_0x51688c(0x21a)](_0x5c547c[_0x51688c(0x403)](),_0x22a979);}else _0x3cf085[_0x51688c(0x319)](_0x5c547c[_0x51688c(0x403)]());}});const _0x2e6a2b=_0x3cf085['isEmpty'](),_0x5af07d=_0x3cf085[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x4202ee=_0x3cf085['endCollectChangeset']();_0x4b255f[_0x360645(0x2a9)]={'view':_0x5af07d,'changesets':_0x4202ee,'isEmpty':_0x2e6a2b,'pivotTableConfig':_0xe3b923,'collectionConfig':_0xb98ded,'oldCollectionConfig':_0xff65ed,'deleteIds':_0x4af33b};}break;case k[_0x360645(0x431)]:{const _0x1a8a9c=_0x2ebde4[_0x360645(0x433)]['updateValuePosition'];if(!_0x1a8a9c)return;const {position:_0x5782ac,index:_0x271c9f}=_0x1a8a9c,_0x3d479b=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x3d479b)return!0x1;const _0xe65a1=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558);if(!_0xe65a1)return!0x1;_0xe65a1['startCollectChangeset'](),_0xe65a1['updateValuePosition'](_0x5782ac,_0x271c9f);const _0x5b7374=_0xe65a1[_0x360645(0x3d9)](),_0x375ceb=_0xe65a1[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x261fc9=_0xe65a1[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x351)]={'changesets':_0x261fc9,'pivotTableConfig':_0x3d479b,'isEmpty':_0x5b7374,'view':_0x375ceb};}break;case k[_0x360645(0x3b7)]:{const _0x1cb602=_0x2ebde4['params'][_0x360645(0x27a)];if(!_0x1cb602)return;const {tableFieldId:_0x34aa0a,collapse:_0x59dde6,item:_0x2712d9}=_0x1cb602,_0x5eca6b=this[_0x360645(0x22a)][_0x360645(0x31f)](_0x16a558),_0x2e237c=this['_sheetsPivotDataSourceModel'][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x5eca6b||!_0x2e237c)return;_0x5eca6b[_0x360645(0x231)](),_0x5eca6b['setCollapse'](_0x34aa0a,_0x59dde6,_0x2712d9);const _0x3ffa96=_0x5eca6b[_0x360645(0x3d9)](),_0xd4f63e=_0x5eca6b[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x1b0efb=_0x5eca6b[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x27a)]={'view':_0xd4f63e,'isEmpty':_0x3ffa96,'pivotTableConfig':_0x2e237c,'changesets':_0x1b0efb};}break;case k['SetPivotTableConfig']:{const _0x1e03ad=_0x2ebde4[_0x360645(0x433)][_0x360645(0x206)];if(!_0x1e03ad)return;const {pivotTableConfig:_0x220933}=_0x1e03ad,_0x27e23c=this['_sheetsPivotDataSourceModel'][_0x360645(0x31f)](_0x16a558),_0x272b29=this['_sheetsPivotDataSourceModel'][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x27e23c||!_0x272b29)return;_0x27e23c[_0x360645(0x231)](),ji(_0x27e23c,_0x220933);const _0x4b8f4d=_0x27e23c[_0x360645(0x3d9)](),_0x7184f0=_0x27e23c[_0x360645(0x3af)]()[_0x360645(0x2e3)](),_0x20cdcb=_0x27e23c['endCollectChangeset']();_0x4b255f['setPivotTableConfig']={'view':_0x7184f0,'isEmpty':_0x4b8f4d,'pivotTableConfig':{..._0x272b29,'fieldsConfig':_0x27e23c['toJSON']()},'changesets':_0x20cdcb};}break;case k['ResetPivotTable']:{const _0x4187de=_0x2ebde4[_0x360645(0x433)]['resetPivotTable'];if(!_0x4187de)return;const _0x282b30=this[_0x360645(0x22a)]['getPivotTableInstance'](_0x16a558),_0x3675d4=this[_0x360645(0x22a)][_0x360645(0x294)](_0x3068d7,_0x1560f3,_0x16a558);if(!_0x282b30||!_0x3675d4)return;_0x282b30[_0x360645(0x231)](),Ki(_0x282b30,_0x4187de['resetArea']);const _0x24dbde=_0x282b30['query']()['toJSON'](),_0x2ebd15=_0x282b30[_0x360645(0x2a1)]();_0x4b255f[_0x360645(0x40e)]={'view':_0x24dbde,'isEmpty':!0x0,'pivotTableConfig':{..._0x3675d4,'fieldsConfig':_0x282b30['toJSON']()},'changesets':_0x2ebd15};}break;case k['AddPivotTableWithConfig']:{const _0x2beda9=_0x2ebde4['params']['addPivotTableWithConfig'];if(!_0x2beda9)return;const _0x5f204d=_0x2beda9[_0x360645(0x407)],_0x6db919=_0x2beda9[_0x360645(0x3ff)],{collection:_0xb750a9}=this[_0x360645(0x22a)][_0x360645(0x3e0)]({'unitId':_0x5f204d['unitId'],'sheetName':_0x5f204d['sheetName'],'subUnitId':_0x5f204d[_0x360645(0x2ac)],'range':_0x5f204d['range']}),_0x363b4a=new _0x33f1c5(_0xb750a9,void 0x0,_0x6db919),_0x3bba5a=_0xb750a9[_0x360645(0x2b9)](),{rows:_0x10bcc4,columns:_0x46856b,filters:_0x56e3d1,values:_0x49afde}=_0x2beda9[_0x360645(0x420)];_0x363b4a['startCollectChangeset']();for(const {field:_0x3094cf,selectedItems:_0x18e05b}of _0x10bcc4||[]){const _0x10ccd2=_0x3bba5a[_0x3094cf];if(_0x10ccd2){const _0x107a9d=_0x363b4a['addFieldWithSourceId'](_0x10ccd2,_0x48ff8c['Row']);_0x18e05b&&_0x107a9d&&_0x363b4a[_0x360645(0x3be)](_0x107a9d[_0x360645(0x403)](),{'type':_0x491413[_0x360645(0x2cf)],'list':_0x18e05b,'isAll':!0x1});}}for(const {field:_0x2b9167,selectedItems:_0x218a4a}of _0x46856b||[]){const _0x37ddd8=_0x3bba5a[_0x2b9167];if(_0x37ddd8){const _0x5bacbf=_0x363b4a[_0x360645(0x323)](_0x37ddd8,_0x48ff8c['Column']);_0x218a4a&&_0x5bacbf&&_0x363b4a[_0x360645(0x3be)](_0x5bacbf[_0x360645(0x403)](),{'type':_0x491413['ManualFilter'],'list':_0x218a4a,'isAll':!0x1});}}for(const {field:_0x573a0d,selectedItems:_0x17a535}of _0x56e3d1||[]){const _0x1db094=_0x3bba5a[_0x573a0d];if(_0x1db094){const _0x5df993=_0x363b4a[_0x360645(0x323)](_0x1db094,_0x48ff8c[_0x360645(0x41b)]);_0x17a535&&_0x5df993&&_0x363b4a[_0x360645(0x3be)](_0x5df993[_0x360645(0x403)](),{'type':_0x491413[_0x360645(0x2cf)],'list':_0x17a535,'isAll':!0x1});}}for(const {field:_0x5b452b,subTotalType:_0xddeb33,formatString:_0x2b4b33}of _0x49afde||[]){const _0x46d7d8=_0xb750a9[_0x360645(0x2bd)](_0x3bba5a[_0x5b452b]);if(!_0x46d7d8)continue;const _0x580bc8=_0x3bba5a[_0x5b452b];if(_0x580bc8){const _0xb4507d=_0x363b4a[_0x360645(0x323)](_0x580bc8,_0x48ff8c['Value']);if(_0xb4507d){if(_0xddeb33!==void 0x0){_0x363b4a[_0x360645(0x241)](_0xb4507d[_0x360645(0x403)](),_0xddeb33);const _0x5e01de=this[_0x360645(0x22a)][_0x360645(0x33c)](_0x5f204d[_0x360645(0x1cc)])['getAutoDisplayNameFunction']()||_0x156bd8,_0x28581c=_0xb750a9[_0x360645(0x3a0)](_0x580bc8),_0x6950d=_0x5e01de(_0x28581c,_0xddeb33);_0x363b4a[_0x360645(0x21a)](_0xb4507d[_0x360645(0x403)](),_0x6950d);}else{if(_0x46d7d8){const _0x28a682=_0x46d7d8==null?void 0x0:_0x46d7d8[_0x360645(0x2ca)]();_0x363b4a[_0x360645(0x241)](_0xb4507d['getId'](),_0x28a682===_0x5b8b2a['number']?_0x553ee1[_0x360645(0x397)]:_0x553ee1[_0x360645(0x39e)]);}}_0x2b4b33&&_0x363b4a['setFieldFormat'](_0xb4507d[_0x360645(0x403)](),_0x2b4b33);}}}const _0x3b2a67=_0x363b4a[_0x360645(0x3af)](),_0x498a0a=_0x363b4a[_0x360645(0x2e3)](),_0x4d3d4e=_0x363b4a['isEmpty'](),_0x4581af=_0x363b4a[_0x360645(0x2a1)](),_0x3c5c0c=_0xb750a9[_0x360645(0x2e3)]();_0x4b255f[_0x360645(0x3c1)]={'view':_0x3b2a67,'fieldsConfig':_0x498a0a,'collectionConfig':_0x3c5c0c,'isEmpty':_0x4d3d4e,'changesets':_0x4581af};}break;case k[_0x360645(0x435)]:{const _0x5a34d6=Li(this[_0x360645(0x31d)],_0x2ebde4);if(!_0x5a34d6)return;const {range:_0x335f1c,sourceSubUnitId:_0x229dd9,sourceUnitId:_0x420258,formatMap:_0x36bdf,indexes:_0xfab533}=_0x5a34d6;_0x4b255f[_0x360645(0x3d1)]={'range':_0x335f1c,'sourceSubUnitId':_0x229dd9,'sourceUnitId':_0x420258,'formatMap':_0x36bdf,'indexes':_0xfab533};}break;}this[_0x360645(0x384)][_0x360645(0x3ba)](lo['id'],{'version':_0x2ebde4[_0x360645(0x382)],'result':_0x4b255f},{'onlyLocal':!0x0});}));}[_0x91438c(0x2a4)](){const _0x172498=_0x91438c;this[_0x172498(0x317)](this[_0x172498(0x384)]['onCommandExecuted'](_0x11b2e4=>{const _0x20f2b8=_0x172498;if(_0x11b2e4['id']!==uo['id'])return;const _0x5714f9=_0x11b2e4[_0x20f2b8(0x433)];return this['_sheetsPivotDataSourceModel'][_0x20f2b8(0x312)](_0x5714f9['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x1d1dcb=_0x91438c;this['_sheetsPivotDataSourceModel'][_0x1d1dcb(0x2a0)][_0x1d1dcb(0x2d6)](_0x2b9e13=>{const _0x4f9654=_0x1d1dcb;switch(_0x2b9e13[_0x4f9654(0x1fa)]){case Le[_0x4f9654(0x1eb)]:_0x2b9e13[_0x4f9654(0x31e)]&&_0x2b9e13['targetCellInfo']&&this['handleSourceRangeChange'](_0x2b9e13['token'],_0x2b9e13[_0x4f9654(0x31e)],_0x2b9e13[_0x4f9654(0x416)]);break;case Le[_0x4f9654(0x21e)]:{const {unitId:_0x278ffa,subUnitId:_0x566be2,token:_0x13ead1}=_0x2b9e13;_0x278ffa&&_0x566be2&&_0x13ead1&&this[_0x4f9654(0x2ea)](_0x278ffa,_0x566be2,_0x13ead1);}break;case Le['update']:{const {token:_0x382f1a,oldSourceRangeInfo:_0x5a5236,dataRangeInfo:_0x45b54e,targetCellInfo:_0x58f6a1}=_0x2b9e13,{unitId:_0x4509be,subUnitId:_0x50ade2}=_0x5a5236||{};_0x4509be&&_0x50ade2&&_0x382f1a&&this[_0x4f9654(0x2ea)](_0x4509be,_0x50ade2,_0x382f1a),_0x45b54e&&_0x58f6a1&&this[_0x4f9654(0x3fd)](_0x382f1a,_0x45b54e,_0x58f6a1);}break;}});}['_subjectFieldsCollectionChange'](){const _0x4989df=_0x91438c;this[_0x4989df(0x22a)][_0x4989df(0x1b7)][_0x4989df(0x2d6)](_0x12c822=>{const _0x5c5192=_0x4989df;Object[_0x5c5192(0x31c)](_0x12c822)[_0x5c5192(0x342)](_0x569576=>{const _0xff5ce=_0x5c5192,_0x1925e8=this[_0xff5ce(0x22a)]['getTargetByPivotId'](_0x569576);if(_0x1925e8){const _0x3496bd=this[_0xff5ce(0x22a)][_0xff5ce(0x294)](_0x1925e8==null?void 0x0:_0x1925e8[_0xff5ce(0x1cc)],_0x1925e8==null?void 0x0:_0x1925e8[_0xff5ce(0x2ac)],_0x569576);_0x3496bd&&(this[_0xff5ce(0x3fd)](_0x569576,_0x3496bd[_0xff5ce(0x407)],_0x3496bd[_0xff5ce(0x416)]),this[_0xff5ce(0x3c5)]([{'unitId':_0x1925e8[_0xff5ce(0x1cc)],'subUnitId':_0x1925e8[_0xff5ce(0x2ac)],'token':_0x569576}]));}});});}[_0x91438c(0x3f6)](){const _0x5e44c7=_0x91438c;this[_0x5e44c7(0x22a)][_0x5e44c7(0x246)][_0x5e44c7(0x2d6)](_0x27ee9a=>{const {unitId:_0x17bad4,subUnitId:_0x5a9b69,pivotTableId:_0x1b46c3}=_0x27ee9a;_0x17bad4&&_0x5a9b69&&_0x1b46c3&&this['triggerDirtyFeature']([{'unitId':_0x17bad4,'subUnitId':_0x5a9b69,'token':_0x1b46c3}]);});}[_0x91438c(0x3c5)](_0x3309e5){const _0x17a98f=_0x91438c,_0x4aad1e={};_0x3309e5[_0x17a98f(0x342)](_0x29540a=>{var _0x1794d5,_0x5ee1cf;const {unitId:_0x1e2c67,subUnitId:_0x17ab4f,token:_0x4a3630}=_0x29540a;_0x4aad1e[_0x1e2c67]=(_0x1794d5=_0x4aad1e[_0x1e2c67])!=null?_0x1794d5:{},_0x4aad1e[_0x1e2c67][_0x17ab4f]=(_0x5ee1cf=_0x4aad1e[_0x1e2c67][_0x17ab4f])!=null?_0x5ee1cf:{},_0x4aad1e[_0x1e2c67][_0x17ab4f][_0x4a3630]=!0x0;}),this['_commandService'][_0x17a98f(0x3ba)](Nt['id'],_0x4aad1e);}['removeSourceRangeChange'](_0x524bae,_0x11b62b,_0x5a4c21){const _0x307469=_0x91438c;this[_0x307469(0x305)][_0x307469(0x207)](_0x524bae,_0x11b62b,[_0x5a4c21]);}[_0x91438c(0x3fd)](_0x1b3007,_0x14a10c,_0x2ae79c){const _0x2bd7f4=_0x91438c,{unitId:_0x1a495b,subUnitId:_0x4b0248}=_0x14a10c;this[_0x2bd7f4(0x305)]['has'](_0x2ae79c['unitId'],_0x2ae79c['subUnitId'],_0x1b3007)&&this[_0x2bd7f4(0x2ea)](_0x1a495b,_0x4b0248,_0x1b3007);const _0x4a1c03={'sheetId':_0x4b0248,..._0x14a10c};this['_featureCalculationManagerService'][_0x2bd7f4(0x1e2)](_0x2ae79c[_0x2bd7f4(0x1cc)],_0x2ae79c[_0x2bd7f4(0x2ac)],_0x1b3007,{'unitId':_0x2ae79c['unitId'],'subUnitId':_0x2ae79c[_0x2bd7f4(0x2ac)],'dependencyRanges':[_0x4a1c03],'getDirtyData':(_0x20875f,_0x1ee7ff)=>{const _0x13f573=_0x2bd7f4,_0x1b7b06=this[_0x13f573(0x22a)],_0x67b9d0=_0x1b7b06[_0x13f573(0x2ba)](_0x1b3007);if(!_0x67b9d0)return Es();const {unitId:_0x4846d4,subUnitId:_0xc0f33a}=_0x67b9d0,_0x500bcc=Os(_0x20875f,_0x1ee7ff,_0x14a10c);if(_0x500bcc['length']>0x0){const _0x56e7d7=_0x1b7b06[_0x13f573(0x232)](_0x1a495b,_0x1b3007),_0x2578f8=_0x56e7d7[_0x13f573(0x2b9)](),_0xc1bdb9=this[_0x13f573(0x2f4)](_0x14a10c[_0x13f573(0x1cc)],_0x14a10c[_0x13f573(0x2ac)],_0x1ee7ff),_0x6aded8={},_0x284927=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x4846d4)[_0x13f573(0x1dd)]()||_0x156bd8,_0x31dcc4=[];for(const _0x41c54 of _0x500bcc){const _0x383384=_0x41c54-(_0x14a10c[_0x13f573(0x21c)][_0x13f573(0x2ee)]||0x0),_0x41edeb=_0x2578f8[_0x383384];_0x31dcc4[_0x13f573(0x3fe)](_0x41edeb),_0x6aded8[_0x41edeb]=_0x56e7d7[_0x13f573(0x2bd)](_0x41edeb)[_0x13f573(0x30e)](),_0x1b7b06[_0x13f573(0x33c)](_0x1a495b)['refreshDataField'](_0x41edeb,_0x14a10c,_0x383384,_0xc1bdb9);}_0x56e7d7['getGroupFieldsInfoByIds'](_0x31dcc4)[_0x13f573(0x342)](_0x4f9075=>{const _0x580668=_0x13f573,[_0x2e72a0,_0x1bd8e3]=_0x4f9075,_0x449d5a=_0x56e7d7[_0x580668(0x2bd)](_0x2e72a0),_0x5688c=_0x56e7d7[_0x580668(0x2bd)](_0x1bd8e3);_0x449d5a&&_0x5688c&&_0x449d5a[_0x580668(0x261)](_0x5688c);}),_0x56e7d7[_0x13f573(0x338)]();const _0x34dc66=_0x1b7b06[_0x13f573(0x31f)](_0x1b3007);if(_0x34dc66){xs(_0x34dc66,_0x6aded8,_0x284927),_0x34dc66[_0x13f573(0x2e5)](!0x0);const _0x5a69f3=_0x34dc66['query'](),_0x55cc62=_0x1b7b06[_0x13f573(0x294)](_0x4846d4,_0xc0f33a,_0x1b3007),_0xf654d2=_0x1b7b06[_0x13f573(0x33c)](_0x1a495b)[_0x13f573(0x2e3)]();_0x1b7b06[_0x13f573(0x269)](_0x4846d4,_0xc0f33a,J[_0x13f573(0x20b)],_0x1b3007,_0x5a69f3,_0x55cc62,_0xf654d2,!0x0);}}return this[_0x13f573(0x379)](_0x4846d4,_0xc0f33a,_0x1b3007);}});}[_0x91438c(0x2f4)](_0x3f0810,_0x232bdf,_0x2b9a93){var _0x388887,_0x1a0e21;const {arrayFormulaCellData:_0x4e9769,unitData:_0x16a922}=_0x2b9a93,_0x1a91e6=(_0x388887=_0x4e9769==null?void 0x0:_0x4e9769[_0x3f0810])==null?void 0x0:_0x388887[_0x232bdf],_0x268a5c=(_0x1a0e21=_0x16a922==null?void 0x0:_0x16a922[_0x3f0810])==null?void 0x0:_0x1a0e21[_0x232bdf];return{'arrayFormulaCellDataMatrix':_0x1a91e6,'unitDataMatrix':_0x268a5c};}[_0x91438c(0x379)](_0x4db269,_0x413381,_0x4c3575){const _0x1c95f2=_0x91438c,_0x4667a2=this['_sheetsPivotDataSourceModel']['getViewData'](_0x4db269,_0x413381,_0x4c3575),_0xc10ecf=[],_0x3ec50c=new _0x17d6f8();if(_0x4667a2){const {rangeCache:_0x3098bf,matrix:_0xac8916,oldRangeCache:_0x3209be,oldMatrix:_0x374a98}=_0x4667a2,_0x17703a=Jt(_0x3209be),_0x1b2301=Jt(_0x3098bf);_0xc10ecf[_0x1c95f2(0x3fe)](..._0x1b2301,..._0x17703a),_0x374a98&&_0x3209be&&_0x17703a[_0x1c95f2(0x342)](_0x51fa87=>{const _0x4d7ec8=_0x1c95f2;for(let _0x227206=_0x51fa87[_0x4d7ec8(0x34c)];_0x227206<=_0x51fa87[_0x4d7ec8(0x25c)];_0x227206++)for(let _0x477c69=_0x51fa87[_0x4d7ec8(0x2ee)];_0x477c69<=_0x51fa87[_0x4d7ec8(0x377)];_0x477c69++)_0x3ec50c[_0x4d7ec8(0x249)](_0x227206,_0x477c69);}),_0xac8916&&_0x1b2301&&_0x1b2301['forEach'](_0x2c0869=>{const _0xc6a7ed=_0x1c95f2;for(let _0x5dd4db=_0x2c0869[_0xc6a7ed(0x34c)];_0x5dd4db<=_0x2c0869['endRow'];_0x5dd4db++)for(let _0x356765=_0x2c0869[_0xc6a7ed(0x2ee)];_0x356765<=_0x2c0869[_0xc6a7ed(0x377)];_0x356765++)_0x3ec50c['setValue'](_0x5dd4db,_0x356765,_0xac8916[_0xc6a7ed(0x344)](_0x5dd4db,_0x356765));});}const _0x3cc147={};return _0x3cc147[_0x4db269]={[_0x413381]:As(_0xc10ecf)},{'runtimeCellData':{[_0x4db269]:{[_0x413381]:_0x3ec50c}},'dirtyRanges':_0x3cc147};}[_0x91438c(0x3b3)](){}};dt=Us([at(0x0,_0x431452($)),at(0x1,_0x431452(_0xf8c02c)),at(0x2,_0x431452(_0xa7b251)),at(0x3,_0x431452(_0x5ede83)),at(0x4,_0x431452(_0x4efa5c))],dt);var ks=Object[_0x91438c(0x26b)],Bs=(_0x37ee74,_0x587428,_0x2edca0,_0x2a9e9c)=>{const _0x5f23b2=_0x91438c;for(var _0x17ecdf=_0x2a9e9c>0x1?void 0x0:_0x2a9e9c?ks(_0x587428,_0x2edca0):_0x587428,_0x24cbf8=_0x37ee74[_0x5f23b2(0x3e7)]-0x1,_0x48c41b;_0x24cbf8>=0x0;_0x24cbf8--)(_0x48c41b=_0x37ee74[_0x24cbf8])&&(_0x17ecdf=_0x48c41b(_0x17ecdf)||_0x17ecdf);return _0x17ecdf;},wt=(_0x57ef40,_0xb84e1a)=>(_0x4b522,_0x33a1f8)=>_0xb84e1a(_0x4b522,_0x33a1f8,_0x57ef40);let ct=class extends _0x5353ba{constructor(_0x4896b2,_0x2f7bf1,_0x890c76,_0x4a9d8c){const _0x41d2fd=_0x91438c;super(),N(this,_0x41d2fd(0x2a5),new _0x3e132f()),(this[_0x41d2fd(0x22e)]=_0x4896b2,this[_0x41d2fd(0x376)]=_0x2f7bf1,this[_0x41d2fd(0x2ec)]=_0x890c76,this[_0x41d2fd(0x1bc)]=_0x4a9d8c,this[_0x41d2fd(0x3ed)]());}[_0x91438c(0x3ed)](){const _0x4a7781=_0x91438c;this[_0x4a7781(0x317)](this[_0x4a7781(0x376)][_0x4a7781(0x251)]({'getMutations':_0x390225=>{const _0x2a1502=_0x4a7781;if(_0x390225['id']===_0x5b0c19['id']||_0x390225['id']===_0x1e760c['id']){const _0x5d3e5c=[],_0x228679=[],_0xb3452c=this[_0x2a1502(0x2ec)][_0x2a1502(0x2d5)]()[_0x2a1502(0x39b)](_0x333315=>_0x333315[_0x2a1502(0x21c)]),_0x244516=_0x1a5e6f(this[_0x2a1502(0x22e)]);if(!_0x244516)return{'redos':[],'undos':[]};const {unitId:_0x593e87,subUnitId:_0x4e3d96}=_0x244516,_0x1119fa={},_0x3c12ac=this[_0x2a1502(0x1bc)][_0x2a1502(0x239)](_0x593e87,_0x4e3d96);if(_0x3c12ac!=null&&_0x3c12ac[_0x2a1502(0x244)])for(const [_0x302714,_0x3933b0]of _0x3c12ac){const {unitId:_0x250aa0,subUnitId:_0x415209,row:_0x4deeb2,col:_0x4345dd}=_0x3933b0[_0x2a1502(0x416)];_0x250aa0===_0x244516[_0x2a1502(0x1cc)]&&_0x415209===_0x244516[_0x2a1502(0x2ac)]&&(_0x1119fa[_0x4deeb2+'-'+_0x4345dd]=_0x302714);}return _0xb3452c&&_0x244516&&_0xb3452c[_0x2a1502(0x342)](_0x117247=>{const _0x35dd7c=_0x2a1502;_0x10efc2[_0x35dd7c(0x369)](_0x117247,(_0x5dd787,_0x41d6ca)=>{const _0x22a927=_0x35dd7c,_0x1b2a64=_0x5dd787+'-'+_0x41d6ca;if(_0x1119fa[_0x1b2a64]){const _0x20bfe6=_0x1119fa[_0x1b2a64];_0x5d3e5c[_0x22a927(0x3fe)]({'id':xt['id'],'params':{'unitId':_0x593e87,'subUnitId':_0x4e3d96,'pivotTableId':_0x20bfe6}});const _0x5722ec=this[_0x22a927(0x1bc)][_0x22a927(0x232)](_0x593e87,_0x20bfe6),_0x1d5bbf=this[_0x22a927(0x1bc)][_0x22a927(0x294)](_0x593e87,_0x4e3d96,_0x20bfe6);_0x228679[_0x22a927(0x3fe)]({'id':Ct['id'],'params':{'unitId':_0x593e87,'subUnitId':_0x4e3d96,'pivotTableId':_0x20bfe6,'pivotTableConfig':_0x1d5bbf,'collectionConfig':_0x5722ec}});}});}),{'redos':_0x5d3e5c,'undos':_0x228679};}return{'redos':[],'undos':[]};}}));}};ct=Bs([wt(0x0,_0x2c885f),wt(0x1,_0x431452(_0x3ec024)),wt(0x2,_0x431452(_0xf9b969)),wt(0x3,_0x431452(he))],ct);var Ls=Object['getOwnPropertyDescriptor'],Js=(_0x511ab3,_0x309688,_0x28942d,_0x229f70)=>{const _0x42d436=_0x91438c;for(var _0x355b45=_0x229f70>0x1?void 0x0:_0x229f70?Ls(_0x309688,_0x28942d):_0x309688,_0x24afdc=_0x511ab3[_0x42d436(0x3e7)]-0x1,_0x671f79;_0x24afdc>=0x0;_0x24afdc--)(_0x671f79=_0x511ab3[_0x24afdc])&&(_0x355b45=_0x671f79(_0x355b45)||_0x355b45);return _0x355b45;},rt=(_0x34c1c9,_0x36c025)=>(_0x4bd426,_0x2fd96e)=>_0x36c025(_0x4bd426,_0x2fd96e,_0x34c1c9);let ut=class extends _0x5353ba{constructor(_0x1a4338,_0x5c0e37,_0x4ed691,_0x3a0311,_0x4c96fc){const _0x4926a3=_0x91438c;super(),this[_0x4926a3(0x376)]=_0x1a4338,this['_injector']=_0x5c0e37,this[_0x4926a3(0x22e)]=_0x4ed691,this[_0x4926a3(0x1bc)]=_0x3a0311,this[_0x4926a3(0x412)]=_0x4c96fc,this[_0x4926a3(0x225)]();}[_0x91438c(0x389)](_0x245750,_0x1204dd,_0x5d52ef){const _0x5e97ef=_0x91438c,{pageView:_0x3cf4cc,cornerView:_0x31b9e7,rowView:_0x5cf2ea,colView:_0x496ffe,dataView:_0x510a30}=_0x1204dd,_0x241145=_0x245750;let _0x14721c;if(_0x5d52ef)_0x14721c=[...Ji(_0x241145)];else{const _0x10ea5b=ge(_0x241145,_0x3cf4cc,!0x0),_0xaeb94b=_0x3cf4cc['lastRow']>=0x0?_0x3cf4cc['lastRow']+0x1:0x0,_0x5b71c0=_0x31b9e7['rowCount'],_0x3c3a10=_0x31b9e7[_0x5e97ef(0x36c)],_0x1b505a=_0x10ea5b[_0x5e97ef(0x3e7)]>0x0?mt:0x0,_0x279b0b=ge({'row':_0x241145[_0x5e97ef(0x38d)]+_0xaeb94b+_0x1b505a,'col':_0x241145[_0x5e97ef(0x378)]},_0x31b9e7,!0x1,!0x1),_0xba79d7=ge({'row':_0x241145[_0x5e97ef(0x38d)]+_0xaeb94b+_0x1b505a+_0x5b71c0,'col':_0x241145[_0x5e97ef(0x378)]},_0x5cf2ea,!0x1,!0x0),_0x1eb764=ge({'row':_0x241145[_0x5e97ef(0x38d)]+_0xaeb94b+_0x1b505a,'col':_0x241145[_0x5e97ef(0x378)]+_0x3c3a10},_0x496ffe,!0x1,!0x0),_0x40e104=ge({'row':_0x241145['row']+_0xaeb94b+_0x1b505a+_0x5b71c0,'col':_0x241145[_0x5e97ef(0x378)]+_0x3c3a10},_0x510a30,!0x1,!0x0);_0x14721c=[..._0x10ea5b,..._0x279b0b,..._0xba79d7,..._0x1eb764,..._0x40e104];}return _0x14721c;}['_initCommandInterceptListener'](){const _0x1e86d3=_0x91438c;this[_0x1e86d3(0x317)](this['_sheetsPivotTableService']['interceptor']['intercept'](this[_0x1e86d3(0x412)]['interceptor'][_0x1e86d3(0x2e8)]()[_0x1e86d3(0x304)],{'handler':(_0x342e5c,_0x42c515)=>{const _0x1a75a8=_0x1e86d3,{cellInfo:_0xe9b5a1,view:_0x138b30,isEmpty:_0x32efe3}=_0x42c515,_0x30dfdb=_0xe9b5a1,{unitId:_0x1a14fd,subUnitId:_0x11ffca}=_0x30dfdb,_0x5c1c42=this[_0x1a75a8(0x389)](_0xe9b5a1,_0x138b30,_0x32efe3),_0x3b0fff=this[_0x1a75a8(0x376)][_0x1a75a8(0x1be)]({'unitId':_0x1a14fd,'subUnitId':_0x11ffca,'ranges':_0x5c1c42}),_0xc46386=Ho(this['_injector'],_0x1a14fd,_0x11ffca,_0x5c1c42);_0xc46386[_0x1a75a8(0x22d)]&&(_0x3b0fff[_0x1a75a8(0x1fe)]['push'](_0xc46386[_0x1a75a8(0x224)]),_0x3b0fff[_0x1a75a8(0x3f1)][_0x1a75a8(0x3fe)](_0xc46386[_0x1a75a8(0x2f1)]));const _0x4cbd28=this[_0x1a75a8(0x1e6)](_0x138b30,_0xe9b5a1);return _0x3b0fff[_0x1a75a8(0x1fe)]['push'](..._0x4cbd28['redos']),_0x3b0fff[_0x1a75a8(0x3f1)]['push'](..._0x4cbd28[_0x1a75a8(0x3f1)]),{'redos':_0x3b0fff[_0x1a75a8(0x1fe)],'undos':_0x3b0fff[_0x1a75a8(0x3f1)]};}}));}[_0x91438c(0x1e6)](_0x3dbdce,_0x128010){const _0x474d6a=_0x91438c,{col:_0x188d65,unitId:_0x4f34ba,subUnitId:_0x52e125}=_0x128010,_0x153042=[],_0x446348=[],_0x407218=_0x1a5e6f(this[_0x474d6a(0x22e)],{'unitId':_0x4f34ba,'subUnitId':_0x52e125});if(!_0x128010||!_0x3dbdce||!_0x407218)return{'undos':_0x446348,'redos':_0x153042};const _0x167e95=this[_0x474d6a(0x1bc)][_0x474d6a(0x352)](),{colView:_0x482d42,dataView:_0x192ecf,cornerView:_0x103eb6,rowView:_0x10a7ed,formatMap:_0x4183f4}=_0x3dbdce,_0x40a3c0=To(_0x482d42,_0x167e95,!0x0,_0x4183f4),_0x960291=To(_0x10a7ed,_0x167e95,!0x1,_0x4183f4),_0x14cb65=Gi(_0x192ecf),_0x9e3788=Wi(_0x103eb6),{worksheet:_0x2dc6f0}=_0x407218;if(typeof window<'u'&&window['document']){const _0x191fd=_0x2a9f35({...fe[_0x474d6a(0x3ae)]}),_0x1b0870=_0x5726e4[_0x474d6a(0x303)](_0x40a3c0,_0x191fd)[_0x474d6a(0x203)]+0x10,_0x177f6d=_0x5726e4[_0x474d6a(0x303)](_0x14cb65,_0x191fd)[_0x474d6a(0x203)],_0x40afc6=Math[_0x474d6a(0x35b)](Math[_0x474d6a(0x3b0)](_0x1b0870,_0x177f6d))+0x10,_0x326cc4=Math['floor'](_0x5726e4[_0x474d6a(0x303)](_0x960291,_0x191fd)[_0x474d6a(0x203)]),_0x41b4de=Math[_0x474d6a(0x35b)](_0x5726e4['getTextSize'](_0x9e3788,_0x191fd)['width']),_0xf7882d=Math['max'](_0x326cc4,_0x41b4de,0x28)+0xc,_0x3e60aa=_0x482d42['colCount']+_0x103eb6[_0x474d6a(0x36c)],_0x5ae245={},_0x53ad77={};for(let _0x139797=_0x188d65;_0x139797<_0x188d65+_0x3e60aa;_0x139797++){const _0x43dcef=_0x2dc6f0['getColumnWidth'](_0x139797);_0x5ae245[_0x139797]=_0x43dcef,_0x139797-_0x188d65<_0x103eb6[_0x474d6a(0x36c)]?_0x53ad77[_0x139797-_0x188d65]=_0xf7882d:_0x53ad77[_0x139797-_0x188d65]=_0x40afc6;}_0x153042[_0x474d6a(0x3fe)]({'id':_0xda2656['id'],'params':{'subUnitId':_0x52e125,'unitId':_0x4f34ba,'ranges':[{'startColumn':_0x188d65,'endColumn':_0x188d65+_0x3e60aa-0x1,'startRow':0x0,'endRow':_0x2dc6f0[_0x474d6a(0x1ce)]()-0x1}],'colWidth':_0x53ad77}}),_0x446348['push']({'id':_0xda2656['id'],'params':{'subUnitId':_0x52e125,'unitId':_0x4f34ba,'ranges':[{'startColumn':_0x188d65,'endColumn':_0x188d65+_0x3e60aa-0x1,'startRow':0x0,'endRow':_0x2dc6f0['getRowCount']()-0x1}],'colWidth':_0x5ae245}});}return{'undos':_0x446348,'redos':_0x153042};}};ut=Js([rt(0x0,_0x431452(_0x3ec024)),rt(0x1,_0x431452(_0x4efa5c)),rt(0x2,_0x431452(_0x2c885f)),rt(0x3,_0x431452(he)),rt(0x4,_0x431452(ie))],ut);var $s=Object['getOwnPropertyDescriptor'],Xs=(_0x3408d3,_0x2a2dcf,_0x51bf1a,_0x5b692c)=>{for(var _0x31c86c=_0x5b692c>0x1?void 0x0:_0x5b692c?$s(_0x2a2dcf,_0x51bf1a):_0x2a2dcf,_0x2f946a=_0x3408d3['length']-0x1,_0x32eb9c;_0x2f946a>=0x0;_0x2f946a--)(_0x32eb9c=_0x3408d3[_0x2f946a])&&(_0x31c86c=_0x32eb9c(_0x31c86c)||_0x31c86c);return _0x31c86c;},ke=(_0x681f32,_0xdfe197)=>(_0x4b406c,_0xf6d7ff)=>_0xdfe197(_0x4b406c,_0xf6d7ff,_0x681f32);let ft=class extends _0x5353ba{constructor(_0x43a445,_0x1192e7,_0x5f1011,_0x8c655b,_0x183ab2,_0xa733fd,_0x1ee4a4){const _0x3f75f1=_0x91438c;super(),N(this,_0x3f75f1(0x2a5),new _0x3e132f()),(this[_0x3f75f1(0x31d)]=_0x43a445,this[_0x3f75f1(0x227)]=_0x1192e7,this[_0x3f75f1(0x384)]=_0x5f1011,this[_0x3f75f1(0x22e)]=_0x8c655b,this[_0x3f75f1(0x1bc)]=_0x183ab2,this[_0x3f75f1(0x355)]=_0xa733fd,this['_sheetInterceptorService']=_0x1ee4a4,this[_0x3f75f1(0x28a)]());}[_0x91438c(0x28a)](){const _0x637da4=_0x91438c,_0x1d16a=(_0x58cbb7,_0x4dbffb)=>{const _0x14ed76=_0x3105,_0x7a05a7=this[_0x14ed76(0x22e)][_0x14ed76(0x1d0)](_0x102cba['UNIVER_SHEET']);if(!_0x7a05a7||!(_0x7a05a7==null?void 0x0:_0x7a05a7[_0x14ed76(0x243)](_0x4dbffb)))return;this['disposableCollection'][_0x14ed76(0x3b3)]();const _0x107739=_0x106ca5=>this[_0x14ed76(0x3b1)](_0x106ca5,_0x58cbb7,_0x4dbffb),_0x3d08d0=this[_0x14ed76(0x1bc)][_0x14ed76(0x239)](_0x58cbb7,_0x4dbffb);if(!(_0x3d08d0!=null&&_0x3d08d0[_0x14ed76(0x244)]))return;Array['from'](_0x3d08d0[_0x14ed76(0x2c8)]())['map'](_0x177e3b=>{const _0x25a95a=_0x14ed76,{row:_0x5bcd73,col:_0x322546}=_0x177e3b[_0x25a95a(0x416)];return _0x540207(_0x5bcd73,_0x322546);})[_0x14ed76(0x342)](_0x3be036=>{const _0xf888e8=_0x14ed76;this[_0xf888e8(0x2a5)][_0xf888e8(0x1eb)](this['_refRangeService'][_0xf888e8(0x1c2)](_0x3be036,_0x107739,_0x58cbb7,_0x4dbffb));});},_0x1a4624=()=>{const _0x3439e5=_0x3105,_0x230d8f=this['_univerInstanceService'][_0x3439e5(0x1d0)](_0x102cba[_0x3439e5(0x297)]);if(_0x230d8f){const _0x533311=_0x230d8f[_0x3439e5(0x30d)]();if(!_0x533311)return;_0x1d16a(_0x230d8f[_0x3439e5(0x417)](),_0x533311['getSheetId']());}};this[_0x637da4(0x317)](this[_0x637da4(0x384)][_0x637da4(0x347)](_0x462db9=>{const _0x1c0275=_0x637da4;if(_0x462db9['id']===_0x258e13['id']){const _0x4a4c56=_0x462db9[_0x1c0275(0x433)],_0x18c964=_0x4a4c56[_0x1c0275(0x2ac)],_0x68d1fc=_0x4a4c56[_0x1c0275(0x1cc)];if(!_0x18c964||!_0x68d1fc)return;_0x1d16a(_0x68d1fc,_0x18c964);}})),this[_0x637da4(0x317)](this[_0x637da4(0x1bc)][_0x637da4(0x2db)][_0x637da4(0x2d6)](_0x29978e=>{_0x29978e&&_0x1a4624();})),this[_0x637da4(0x317)](this[_0x637da4(0x1bc)][_0x637da4(0x1e5)][_0x637da4(0x2d6)](_0x4422a7=>{const _0x3a3189=_0x637da4,_0x51d16f=_0x1a5e6f(this[_0x3a3189(0x22e)]);if(!_0x51d16f)return;const {unitId:_0x323d42,subUnitId:_0x2681b8}=_0x51d16f,{unitId:_0x1bd146,subUnitId:_0x4b3dc5}=_0x4422a7;_0x323d42!==_0x1bd146||_0x2681b8!==_0x4b3dc5||_0x1d16a(_0x323d42,_0x2681b8);})),_0x1a4624();}['_refRangeHandle'](_0x5b1289,_0x2408c4,_0x16c856){const _0x3c619f=_0x91438c;switch(_0x5b1289['id']){case _0x1c72b3['id']:return this[_0x3c619f(0x1f5)](_0x5b1289[_0x3c619f(0x433)],_0x2408c4,_0x16c856);}return{'redos':[],'undos':[]};}[_0x91438c(0x1f5)](_0x2f30c9,_0x21185a,_0x10824c){const _0x2184b8=_0x91438c,{fromRange:_0x2b169a,toRange:_0x2269d4}=_0x2f30c9,_0x5d0478=[],_0x4f5880=[],_0xe1ec18=_0x1a5e6f(this[_0x2184b8(0x22e)]);if(!_0xe1ec18)return{'undos':_0x4f5880,'redos':_0x5d0478};if(_0x21185a!==_0xe1ec18['unitId']||_0x10824c!==_0xe1ec18[_0x2184b8(0x2ac)])return{'undos':_0x4f5880,'redos':_0x5d0478};const _0x559893=this[_0x2184b8(0x1bc)][_0x2184b8(0x239)](_0x21185a,_0x10824c);if(_0x559893!=null&&_0x559893[_0x2184b8(0x244)])for(const [_0x33d094,_0xf8cf07]of _0x559893){const {unitId:_0x50b1cc,subUnitId:_0x342de2,row:_0x2aa98d,col:_0x2c642d}=_0xf8cf07[_0x2184b8(0x416)];if(_0x50b1cc===_0xe1ec18[_0x2184b8(0x1cc)]&&_0x342de2===_0xe1ec18[_0x2184b8(0x2ac)]){const _0x419a2d=_0x540207(_0x2aa98d,_0x2c642d);if(_0x459723[_0x2184b8(0x28b)](_0x419a2d,_0x2b169a)){const _0x426082=_0x2aa98d-_0x2b169a[_0x2184b8(0x34c)],_0x10cc26=_0x2c642d-_0x2b169a[_0x2184b8(0x2ee)],_0x3ea7fd={'row':_0x2269d4[_0x2184b8(0x34c)]+_0x426082,'col':_0x2269d4[_0x2184b8(0x2ee)]+_0x10cc26};_0x5d0478[_0x2184b8(0x3fe)]({'id':pt['id'],'params':{'unitId':_0x50b1cc,'subUnitId':_0x342de2,'pivotTableId':_0x33d094,'targetCellPosition':_0x3ea7fd}}),_0x4f5880[_0x2184b8(0x3fe)]({'id':pt['id'],'params':{'unitId':_0x50b1cc,'subUnitId':_0x342de2,'pivotTableId':_0x33d094,'targetCellPosition':{'row':_0x2aa98d,'col':_0x2c642d}}});const _0x13d2f9=_0x3ea7fd[_0x2184b8(0x38d)]-_0x2aa98d,_0xdcc094=_0x3ea7fd[_0x2184b8(0x378)]-_0x2c642d,_0x4fd04c=[],_0x399769=this['_sheetsPivotTableAdaptorModel'][_0x2184b8(0x41e)](_0x50b1cc,_0x342de2,_0x33d094),_0x58d75b=_0x399769==null?void 0x0:_0x399769[_0x2184b8(0x3ef)];if(_0x58d75b){Object[_0x2184b8(0x31c)](_0x58d75b)[_0x2184b8(0x342)](_0xd7a300=>{const _0x5472d1=_0x2184b8;_0x58d75b[_0xd7a300][_0x5472d1(0x342)](_0x541881=>{const _0xce1a6b=_0x5472d1,_0x718f58={..._0x541881};_0x718f58[_0xce1a6b(0x34c)]=_0x541881['startRow']+_0x13d2f9,_0x718f58[_0xce1a6b(0x25c)]=_0x541881[_0xce1a6b(0x25c)]+_0x13d2f9,_0x718f58[_0xce1a6b(0x2ee)]=_0x541881[_0xce1a6b(0x2ee)]+_0xdcc094,_0x718f58['endColumn']=_0x541881[_0xce1a6b(0x377)]+_0xdcc094,_0x4fd04c['push'](_0x718f58);});});const _0x11bad3=this[_0x2184b8(0x376)][_0x2184b8(0x1be)]({'unitId':_0x50b1cc,'subUnitId':_0x342de2,'ranges':_0x4fd04c});_0x5d0478[_0x2184b8(0x3fe)](..._0x11bad3[_0x2184b8(0x1fe)]),_0x4f5880[_0x2184b8(0x3fe)](..._0x11bad3[_0x2184b8(0x3f1)]);const _0x2cd718=Ho(this[_0x2184b8(0x31d)],_0x50b1cc,_0x342de2,_0x4fd04c);_0x2cd718['shouldClear']&&(_0x5d0478['push'](_0x2cd718[_0x2184b8(0x224)]),_0x4f5880[_0x2184b8(0x3fe)](_0x2cd718[_0x2184b8(0x2f1)]));}}}}return{'redos':_0x5d0478,'undos':_0x4f5880};}};ft=Xs([ke(0x0,_0x431452(_0x4efa5c)),ke(0x1,_0x431452(_0x38f3f0)),ke(0x2,_0xa7b251),ke(0x3,_0x2c885f),ke(0x4,_0x431452(he)),ke(0x5,_0x431452(Ve)),ke(0x6,_0x431452(_0x3ec024))],ft);var Gs=Object[_0x91438c(0x26b)],Ws=(_0x41f04f,_0x3766f0,_0x2b20ba,_0x34e89b)=>{const _0x34c280=_0x91438c;for(var _0x3e2d7e=_0x34e89b>0x1?void 0x0:_0x34e89b?Gs(_0x3766f0,_0x2b20ba):_0x3766f0,_0x292ca4=_0x41f04f[_0x34c280(0x3e7)]-0x1,_0x28df75;_0x292ca4>=0x0;_0x292ca4--)(_0x28df75=_0x41f04f[_0x292ca4])&&(_0x3e2d7e=_0x28df75(_0x3e2d7e)||_0x3e2d7e);return _0x3e2d7e;},wo=(_0xc31778,_0x53a54a)=>(_0x2894b1,_0xc2f1a1)=>_0x53a54a(_0x2894b1,_0xc2f1a1,_0xc31778);let gt=class extends _0x5353ba{constructor(_0x533294,_0x36412e){const _0x7e3c04=_0x91438c;super(),this[_0x7e3c04(0x376)]=_0x533294,this['_sheetsPivotTableConfigModel']=_0x36412e,this[_0x7e3c04(0x23f)]();}[_0x91438c(0x23f)](){const _0x25c87d=_0x91438c;this[_0x25c87d(0x317)](this['_sheetInterceptorService'][_0x25c87d(0x251)]({'getMutations':_0x32e39f=>{const _0x5c1be3=_0x25c87d;if(_0x32e39f['id']===_0x5e55d8['id']){const _0x1c65db=[],_0x3ba51c=[],_0x140012=_0x32e39f[_0x5c1be3(0x433)],{unitId:_0x16fa8c,subUnitId:_0x5eeebc}=_0x140012;if(!_0x16fa8c||!_0x5eeebc)return{'undos':_0x3ba51c,'redos':_0x1c65db};const _0x2bec25=this[_0x5c1be3(0x1bc)][_0x5c1be3(0x239)](_0x16fa8c,_0x5eeebc);if(_0x2bec25!=null&&_0x2bec25[_0x5c1be3(0x244)])for(const [_0x3c40e8,_0x599714]of _0x2bec25){_0x1c65db['push']({'id':xt['id'],'params':{'unitId':_0x16fa8c,'subUnitId':_0x5eeebc,'pivotTableId':_0x3c40e8}});const _0x156c32={...this[_0x5c1be3(0x1bc)]['getCollection'](_0x16fa8c,_0x3c40e8)};_0x3ba51c[_0x5c1be3(0x3fe)]({'id':Ct['id'],'params':{'unitId':_0x16fa8c,'subUnitId':_0x5eeebc,'pivotTableId':_0x3c40e8,'pivotTableConfig':_0x599714,'collectionConfig':_0x156c32}});}return{'redos':_0x1c65db,'undos':_0x3ba51c};}return{'redos':[],'undos':[]};}}));}};gt=Ws([wo(0x0,_0x431452(_0x3ec024)),wo(0x1,_0x431452(he))],gt);var js=Object[_0x91438c(0x26b)],Ks=(_0x573273,_0x1bf7b5,_0x24a7c9,_0x423592)=>{for(var _0x31bd03=_0x423592>0x1?void 0x0:_0x423592?js(_0x1bf7b5,_0x24a7c9):_0x1bf7b5,_0x3e7899=_0x573273['length']-0x1,_0x1cfaba;_0x3e7899>=0x0;_0x3e7899--)(_0x1cfaba=_0x573273[_0x3e7899])&&(_0x31bd03=_0x1cfaba(_0x31bd03)||_0x31bd03);return _0x31bd03;},je=(_0x355cd6,_0x44bf40)=>(_0x20c267,_0x5b33a4)=>_0x44bf40(_0x20c267,_0x5b33a4,_0x355cd6);let vt=class extends _0x5353ba{constructor(_0xd596,_0x5ec7b2,_0x18846a,_0x193461,_0x18440c,_0x414976){const _0x125f05=_0x91438c;super(),this[_0x125f05(0x384)]=_0xd596,this[_0x125f05(0x3a7)]=_0x5ec7b2,this[_0x125f05(0x355)]=_0x18846a,this[_0x125f05(0x1bc)]=_0x193461,this[_0x125f05(0x22e)]=_0x18440c,this[_0x125f05(0x226)]=_0x414976,this['_initDataSendListener'](),this[_0x125f05(0x359)]();}['_initDataSendListener'](){const _0x2cbf61=_0x91438c;this[_0x2cbf61(0x317)](this['_commandService']['onCommandExecuted'](_0x32bad8=>{const _0x42ec2a=_0x2cbf61;if(_0x32bad8['id']!==lo['id'])return;const _0x3be06b=_0x32bad8[_0x42ec2a(0x433)];this[_0x42ec2a(0x3a7)][_0x42ec2a(0x1fb)](_0x3be06b);})),this[_0x2cbf61(0x317)](this['_commandService'][_0x2cbf61(0x347)](_0x5968c4=>{const _0x24b331=_0x2cbf61;if(_0x5968c4['id']===co['id']){const _0x540fef=_0x5968c4[_0x24b331(0x433)];if(_0x540fef){const {unitId:_0x5bebb5,subUnitId:_0x56e605,oldSubUnitId:_0x33c7c0,pivotTableId:_0x5d39e4,pivotTableConfig:_0x34de8e,collectionConfig:_0x516cc0}=_0x540fef;this['_sheetsPivotTableConfigModel'][_0x24b331(0x291)](_0x5bebb5,_0x33c7c0,_0x540fef['pivotTableId'],null),this[_0x24b331(0x1bc)]['updateConfigCache'](_0x5bebb5,_0x56e605,_0x5d39e4,_0x34de8e),this[_0x24b331(0x1bc)][_0x24b331(0x2c3)](_0x5bebb5,_0x516cc0);}}})),this['disposeWithMe'](this[_0x2cbf61(0x384)][_0x2cbf61(0x347)](_0x1359b7=>{const _0x5d1104=_0x2cbf61;if(_0x1359b7['id']!==Dt['id'])return;const _0x27e329=_0x1a5e6f(this[_0x5d1104(0x22e)]);if(!_0x27e329)return;const {unitId:_0x182b98,subUnitId:_0x398c4a}=_0x27e329,_0x3f9762=_0x1359b7['params'];if(_0x3f9762[_0x5d1104(0x28d)]&&Object[_0x5d1104(0x31c)](_0x3f9762[_0x5d1104(0x28d)])[_0x5d1104(0x342)](_0x59e090=>{const _0x45105e=_0x5d1104;var _0x20d5a8;(_0x20d5a8=_0x3f9762[_0x45105e(0x28d)])!=null&&_0x20d5a8[_0x59e090]&&this[_0x45105e(0x1bc)][_0x45105e(0x2c3)](_0x59e090,_0x3f9762[_0x45105e(0x28d)][_0x59e090]);}),_0x3f9762[_0x5d1104(0x1d9)]){const _0x197909=_0x3f9762[_0x5d1104(0x1d9)],{unitId:_0x150a39,subUnitId:_0xb6114d,view:_0x30b8e6,pivotTableId:_0x1dee10,type:_0x874745,pivotConfig:_0x10eaca}=_0x197909;if(_0x874745===J[_0x5d1104(0x354)])this[_0x5d1104(0x355)]['clearRenderCache']({'unitId':_0x150a39,'subUnitId':_0xb6114d,'pivotTableId':_0x1dee10,'type':_0x874745}),this[_0x5d1104(0x1bc)]['updateConfigCache'](_0x150a39,_0xb6114d,_0x1dee10,null);else{const _0x4acf7c=new _0x296f39();_0x4acf7c[_0x5d1104(0x2af)](_0x30b8e6),this[_0x5d1104(0x1bc)]['updateConfigCache'](_0x150a39,_0xb6114d,_0x1dee10,_0x10eaca),this[_0x5d1104(0x355)][_0x5d1104(0x2ae)]({'unitId':_0x150a39,'subUnitId':_0xb6114d,'pivotTableId':_0x1dee10,'type':_0x874745,'view':_0x4acf7c}),this[_0x5d1104(0x355)]['updateRenderCache']({'unitId':_0x150a39,'subUnitId':_0xb6114d,'view':_0x4acf7c,'pivotTableId':_0x1dee10,'type':_0x874745});}}else _0x3f9762[_0x5d1104(0x270)]&&(_0x3f9762['batch'][_0x5d1104(0x342)](_0x1ab945=>{const _0xced607=_0x5d1104,{unitId:_0x58caba,subUnitId:_0x4f96ff,view:_0x437ed7,pivotTableId:_0x349377,type:_0x56b6b4,pivotConfig:_0x152c03}=_0x1ab945,_0x4cd159=new _0x296f39();_0x4cd159[_0xced607(0x2af)](_0x437ed7),this[_0xced607(0x1bc)][_0xced607(0x291)](_0x58caba,_0x4f96ff,_0x349377,_0x152c03),this[_0xced607(0x355)]['updateRenderCache']({'unitId':_0x58caba,'subUnitId':_0x4f96ff,'view':_0x4cd159,'pivotTableId':_0x349377,'type':_0x56b6b4});}),this[_0x5d1104(0x1bc)][_0x5d1104(0x40c)]());this[_0x5d1104(0x355)][_0x5d1104(0x248)](_0x182b98,_0x398c4a);}));}[_0x91438c(0x359)](){const _0x488373=_0x91438c;this[_0x488373(0x226)][_0x488373(0x1e2)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x540179){const _0x694ed9=_0x488373;return{'dirtyUnitFeatureMap':_0x540179[_0x694ed9(0x433)]};}});}};vt=Ks([je(0x0,_0x431452(_0xa7b251)),je(0x1,_0x431452(z)),je(0x2,_0x431452(Ve)),je(0x3,_0x431452(he)),je(0x4,_0x431452(_0x2c885f)),je(0x5,_0x9d10da)],vt);var Hs=Object[_0x91438c(0x332)],qs=Object[_0x91438c(0x26b)],Ys=(_0x4b0f3e,_0x321a0a,_0x5f5498)=>_0x321a0a in _0x4b0f3e?Hs(_0x4b0f3e,_0x321a0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f5498}):_0x4b0f3e[_0x321a0a]=_0x5f5498,Zs=(_0x4cdf8e,_0x5810bb,_0x3e1cfe,_0x1b935b)=>{for(var _0x34eb14=_0x1b935b>0x1?void 0x0:_0x1b935b?qs(_0x5810bb,_0x3e1cfe):_0x5810bb,_0x1b1479=_0x4cdf8e['length']-0x1,_0xb057ed;_0x1b1479>=0x0;_0x1b1479--)(_0xb057ed=_0x4cdf8e[_0x1b1479])&&(_0x34eb14=_0xb057ed(_0x34eb14)||_0x34eb14);return _0x34eb14;},_t=(_0xe1c8b1,_0x476153)=>(_0x58017d,_0x225c12)=>_0x476153(_0x58017d,_0x225c12,_0xe1c8b1),Qo=(_0x2cd723,_0x20029f,_0x302deb)=>Ys(_0x2cd723,typeof _0x20029f!=_0x91438c(0x3c8)?_0x20029f+'':_0x20029f,_0x302deb);let Ut=class extends _0x289c56{constructor(_0x54ef6a=Mo,_0x437a32,_0x23af39,_0x37aa0c,_0x47e1aa){const _0x5750f9=_0x91438c;super(),this[_0x5750f9(0x42f)]=_0x54ef6a,this['_injector']=_0x437a32,this['_commandService']=_0x23af39,this[_0x5750f9(0x3b8)]=_0x37aa0c,this[_0x5750f9(0x272)]=_0x47e1aa;const {..._0x23a675}=_0x549d1a({},Mo,this[_0x5750f9(0x42f)]);this[_0x5750f9(0x3b8)][_0x5750f9(0x36a)](Yo,_0x23a675),this['_initRegisterCommand'](),this[_0x5750f9(0x33d)]();}['_initConfig'](){const _0x5a2f9c=_0x91438c;var _0x57d8f0;const _0x2947f6=(_0x57d8f0=this[_0x5a2f9c(0x42f)])==null?void 0x0:_0x57d8f0[_0x5a2f9c(0x276)];this[_0x5a2f9c(0x3b8)][_0x5a2f9c(0x36a)](Y,_0x2947f6===!0x0);}['onStarting'](){const _0x38b183=_0x91438c;var _0x2085e4;let _0x2fb26f=[];const _0x262bc1=(_0x2085e4=this[_0x38b183(0x42f)])==null?void 0x0:_0x2085e4[_0x38b183(0x276)];_0x262bc1===!0x0?_0x2fb26f=[[ie],[z],[vt],[Ve],[he],[gt],[ct],[ft],[ut]]:_0x262bc1===!0x1?_0x2fb26f=[[$],[dt]]:_0x262bc1===void 0x0&&(_0x2fb26f=[[$],[dt],[ie],[z],[vt],[Ve],[he],[gt],[ct],[ft],[ut]]),_0x2fb26f[_0x38b183(0x342)](_0x2e4614=>this[_0x38b183(0x31d)][_0x38b183(0x1eb)](_0x2e4614)),[dt,vt,ie,ct,gt,ft,ut][_0x38b183(0x342)](_0x39d179=>{const _0x37c294=_0x38b183;this[_0x37c294(0x31d)][_0x37c294(0x35d)](_0x39d179)&&this[_0x37c294(0x31d)][_0x37c294(0x274)](_0x39d179);});}[_0x91438c(0x395)](){const _0x439de=_0x91438c;[ps,Is,vs,ms,Ss,Vs,_s,ys,Fs,Ms,Rs,Ds,Cs,bs,Ct,to,xt,$t,Zo,zo,Kt,Xt,Gt,Wt,qt,Ht,pt,ro,lo,Dt,zt,eo,Yt,jt,uo,oo,Qt,Nt,co,ws,Zt,Ts,Ps][_0x439de(0x342)](_0x3b4d13=>{const _0x87fd49=_0x439de;var _0x3f1548;(_0x3f1548=this[_0x87fd49(0x272)])==null||_0x3f1548['registerSyncingMutations'](_0x3b4d13),this[_0x87fd49(0x384)][_0x87fd49(0x210)](_0x3b4d13);});}};Qo(Ut,_0x91438c(0x371),ao),Qo(Ut,_0x91438c(0x1fa),_0x102cba[_0x91438c(0x297)]),Ut=Zs([_0x43b69a(_0xdd5b1e),_t(0x1,_0x431452(_0x4efa5c)),_t(0x2,_0x431452(_0xa7b251)),_t(0x3,_0x495f63),_t(0x4,_0x2f587c(_0x4aed27))],Ut);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,Is as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Cs as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,J as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Lo as PositionType,Ss as RemovePivotFieldCommand,Xt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Gt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,ys as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Ts as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Fs as SetPivotSortCommand,qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,ws as SetPivotValueFilterCommand,Zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,z as SheetsPivotRPCService,Ve as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,_s as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Qt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Vs as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ie as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ji as getEmptyPivotRanges,Vt as getFieldListByArea,Fe as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Bi as getPivotTableInfo,ht as transFromCellValue,Jt as unionPivotViewRange};
|
|
1
|
+
const _0x5bf728=_0x279a;(function(_0x1c68c4,_0x5bb499){const _0x559418=_0x279a,_0x400d2f=_0x1c68c4();while(!![]){try{const _0x507b63=parseInt(_0x559418(0x33d))/0x1*(parseInt(_0x559418(0x2ee))/0x2)+-parseInt(_0x559418(0x39e))/0x3*(parseInt(_0x559418(0x274))/0x4)+-parseInt(_0x559418(0x214))/0x5*(-parseInt(_0x559418(0x2e0))/0x6)+parseInt(_0x559418(0x2f5))/0x7*(parseInt(_0x559418(0x42d))/0x8)+parseInt(_0x559418(0x2fd))/0x9*(parseInt(_0x559418(0x3a5))/0xa)+parseInt(_0x559418(0x3da))/0xb*(parseInt(_0x559418(0x39b))/0xc)+parseInt(_0x559418(0x3be))/0xd*(-parseInt(_0x559418(0x282))/0xe);if(_0x507b63===_0x5bb499)break;else _0x400d2f['push'](_0x400d2f['shift']());}catch(_0x4c437b){_0x400d2f['push'](_0x400d2f['shift']());}}}(_0x461b,0x28f08));var rn=Object[_0x5bf728(0x366)],ln=(_0xd155b0,_0x3bca06,_0x4162cd)=>_0x3bca06 in _0xd155b0?rn(_0xd155b0,_0x3bca06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4162cd}):_0xd155b0[_0x3bca06]=_0x4162cd,V=(_0x1e4934,_0x2a9364,_0x485106)=>ln(_0x1e4934,typeof _0x2a9364!=_0x5bf728(0x3e6)?_0x2a9364+'':_0x2a9364,_0x485106);import{PivotCellStyleTypeEnum as _0x2a40d9,PivotViewCellValueTypeEnum as _0x4c146a,isPrefixValue as _0x4ffa85,isErrorValue as _0x2c251c,PivotErrorTypeEnum as _0x1dd39a,PivotDateGroupFieldDateTypeEnum as _0x1dcfc0,DataFieldManager as _0x7fa536,FieldsCollection as _0x58643c,isDateValue as _0x36ad7b,DataField as _0x7ea1d5,generateHexNumber as _0x2962d6,isBaseGroupField as _0x3bed76,PivotTable as _0x15d468,PivotSubtotalTypeEnum as _0x597cf6,PivotTableFiledAreaEnum as _0x3a6ce8,excelDateToUnixMilliseconds as _0x15768b,PivotDataFieldTypeEnum as _0x3b6834,DateGroupField as _0x239928,createValueField as _0x387f7f,createLabelField as _0x454170,PivotTableChangeTypeEnum as _0x13920a,PivotView as _0x2089ac,GlobalConfig as _0x2f6290,isDateGroupFieldJSON as _0x399b61,PivotCallbackEnum as _0x1a52c8,PivotFilterTypeEnum as _0x5dae63,getAutoDisplayName as _0x267ddd,PivotDataFieldDataTypeEnum as _0x54c91a,PivotTableValuePositionEnum as _0xad4caa,isDateGroupField as _0x43eb06}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x5508a5,ObjectMatrix as _0x43fcd2,IUniverInstanceService as _0x2fecb8,UniverInstanceType as _0x332ca7,CellValueType as _0x24b2d4,numfmt as _0x567147,LocaleService as _0x2a9621,createAsyncInterceptorKey as _0x7cb202,createInterceptorKey as _0x1cbcea,CommandType as _0x56fcc3,Inject as _0x360cfb,ICommandService as _0x4e31c1,Disposable as _0x25f1fb,RANGE_TYPE as _0x49d1c0,numberToABC as _0x50a52a,Injector as _0x121ef7,LifecycleService as _0x2dfd91,IResourceManagerService as _0x4679cb,Rectangle as _0x3d3208,IConfigService as _0x224426,Tools as _0x48d9e9,AsyncInterceptorManager as _0x108fc1,InterceptorManager as _0x51d859,InterceptorEffectEnum as _0x393181,IUndoRedoService as _0x342a4e,sequenceExecute as _0x3e4922,CustomCommandExecutionError as _0x13dca5,mergeWorksheetSnapshotWithDefault as _0x2565d4,generateRandomId as _0x1323f3,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x104e87,DEFAULT_WORKSHEET_ROW_COUNT as _0x5f5337,DisposableCollection as _0x2a1164,Range as _0x451e59,DependentOn as _0x569100,Optional as _0x2a3879,Plugin as _0x15301e,merge as _0x2b305a}from'@univerjs/core';import{ErrorType as _0x10d8d1,serializeRangeWithSpreadsheet as _0x5554c8,IFeatureCalculationManagerService as _0x1cada9,GlobalComputingStatusService as _0x1cb0fc,IActiveDirtyManagerService as _0x5714d5}from'@univerjs/engine-formula';import{generateNullCell as _0x75ebc2,SetRangeValuesUndoMutationFactory as _0x289bda,SetRangeValuesMutation as _0x24965e,getSheetCommandTarget as _0x5b1933,InsertRowMutation as _0x70acf4,RemoveRowMutation as _0x2c9689,InsertColMutation as _0xded336,RemoveColMutation as _0x19ed4c,IExclusiveRangeService as _0x1b55aa,SheetInterceptorService as _0x34849c,INTERCEPTOR_POINT as _0xa62e49,InsertSheetCommand as _0x5b4034,InsertSheetUndoMutationFactory as _0x3c4f41,RemoveSheetMutation as _0x575055,InsertSheetMutation as _0x532b87,MoveRangeMutation as _0x345d91,SheetsSelectionsService as _0x969973,ClearSelectionContentCommand as _0x1053ee,ClearSelectionAllCommand as _0x152598,SetWorksheetColWidthMutation as _0x38a006,RefRangeService as _0x344cce,SetWorksheetActiveOperation as _0x3ef769,MoveRangeCommand as _0x523093,RemoveSheetCommand as _0x2da853}from'@univerjs/sheets';import{Subject as _0x688d9a,BehaviorSubject as _0x6f9e2d}from'rxjs';import{LS_CONFIG_KEY as _0x1e58ed,unshiftString as _0x30309b,isFeatureAuthorizedWithinTime as _0x174e93,getSheetFeatureLimit as _0x108804,ReleaseType as _0x2c1fa3,UniverLicensePlugin as _0x59a5cc}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x242433,RemoveSheetsFilterMutation as _0x24119c}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x406107}from'@univerjs/rpc';import{getFontStyleString as _0xb88763,FontCache as _0x31b8d0}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x69088420),li=0x10,so=0x1,ao=_0x5bf728(0x3f7),mt=0x1,ci='rgb(240,241,243)',di=_0x5bf728(0x40d),wt=_0x5bf728(0x220),ui='#f4f4f5',fi=_0x5bf728(0x242),gi=_0x5bf728(0x3c0),hi='#1d32e9',vi=_0x5bf728(0x1ee),pi=_0x5bf728(0x334),Ci=_0x5bf728(0x295),mi=_0x5bf728(0x1ee),Ii=_0x5bf728(0x245),bi=0xe,Si=0x6;var Bo=(_0x564a3d=>(_0x564a3d[_0x5bf728(0x29a)]=_0x5bf728(0x1e1),_0x564a3d[_0x5bf728(0x394)]=_0x5bf728(0x239),_0x564a3d))(Bo||{});const $o={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x39dc7b,_0x2fbad9,_0x3a214f){const _0x28c786=_0x5bf728,_0x46f84e=_0x39dc7b[_0x28c786(0x21b)](_0x2a9621),_0x2e10f8=_0x3a214f[_0x28c786(0x348)]('_');switch(_0x2fbad9){case _0x1dcfc0[_0x28c786(0x3eb)]:return _0x46f84e['t'](_0x28c786(0x27d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x1d0)]:return _0x46f84e['t'](_0x28c786(0x431),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x37c)]:return _0x46f84e['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c8)]:return _0x46f84e['t'](_0x28c786(0x3a3),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x277)]:return _0x46f84e['t'](_0x28c786(0x20f),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x423)]:return _0x46f84e['t'](_0x28c786(0x1cb),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c3)]:return _0x46f84e['t'](_0x28c786(0x3ee),..._0x2e10f8);case _0x1dcfc0['YearMonth']:return _0x46f84e['t'](_0x28c786(0x23d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x228)]:return _0x46f84e['t'](_0x28c786(0x440),..._0x2e10f8);case _0x1dcfc0['YearQuarter']:return _0x46f84e['t'](_0x28c786(0x442),..._0x2e10f8);}return'';}const tt=(_0x40a41e,_0x5f2f1d,_0x30faca,_0x1ee720)=>{const _0x1f5c59=_0x5bf728;let _0x1bb43a;const _0x5f5aa8=_0x40a41e[_0x1f5c59(0x21b)](_0x2fecb8)['getCurrentUnitForType'](_0x332ca7[_0x1f5c59(0x25d)]);if(!_0x5f5aa8)return null;const _0x2d4255=_0x5f5aa8[_0x1f5c59(0x1fb)]();let _0x1760d1;if(_0x30faca&&(_0x1760d1=_0x2d4255['setValue'](_0x30faca)),_0x5f2f1d!=null&&_0x5f2f1d['v']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['v'])===0x0){_0x1bb43a||(_0x1bb43a={});const _0x19501e=Go(_0x5f2f1d['v']);typeof _0x19501e==_0x1f5c59(0x29f)?_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x250)]:typeof _0x19501e==_0x1f5c59(0x23a)&&(_0x1bb43a['t']=_0x24b2d4['STRING']),_0x1bb43a['v']=_0x19501e;}if((_0x5f2f1d!=null&&_0x5f2f1d['i']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['i'])===0x0)&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['fi']=_0x5f2f1d['i']),_0x5f2f1d!=null&&_0x5f2f1d['s']&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['pbt']=_0x5f2f1d['s']),_0x30faca&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['s']=_0x1760d1),_0x1ee720&&_0x1bb43a!=null&&_0x1bb43a['v']&&_0x1bb43a['pbt']!==_0x2a40d9[_0x1f5c59(0x37e)]&&_0x1bb43a[_0x1f5c59(0x2c4)]!==_0x2a40d9[_0x1f5c59(0x453)]){const _0x1b6ce5=String(_0x1bb43a['v']),{dateType:_0x1e4a48}=_0x1ee720;_0x1bb43a['v']=Ti(_0x40a41e,_0x1e4a48,_0x1b6ce5),_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x251)];}return _0x1bb43a;},yi=(_0x1aed94,_0x59accb,_0x512b50,_0x4b4631)=>{const _0x32f5f1=_0x5bf728;var _0x63d6fc,_0x466c17,_0x27e286,_0x5b4774,_0x22c99d,_0x3cd518,_0xcb65aa,_0x58b3f5,_0x55a2c2,_0x2664bb,_0x254cfa,_0x3893da,_0xd15452,_0x57bea5;const _0x323e97=_0x512b50[_0x32f5f1(0x1d2)],{cornerView:_0x998252,rowView:_0x75c002,colView:_0x34cafb,dataView:_0x2fc155,pageView:_0x3784dd,formatMap:_0x421af7,groupInfo:_0x3655eb}=_0x59accb,{row:_0xd43a88,col:_0x2688aa}=_0x323e97,_0x3aa105=new _0x43fcd2(),_0x594f9c={},_0x22c1f5={},_0x45f78e={},_0x35a2e7={},_0x47728f={};let _0x28c7f9=_0xd43a88,_0x2100cc=_0x2688aa;Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x28f)](_0xd75296=>{const _0x5d8369=_0x32f5f1;Object[_0x5d8369(0x3ab)](_0x3784dd[_0x5d8369(0x265)][Number(_0xd75296)])[_0x5d8369(0x28f)](_0x556ca8=>{const _0x587bdd=_0x5d8369,_0x5bff02={..._0x3784dd[_0x587bdd(0x265)][Number(_0xd75296)][Number(_0x556ca8)]};_0x3aa105[_0x587bdd(0x26b)](Number(_0xd75296)+_0x28c7f9,Number(_0x556ca8)+_0x2100cc,tt(_0x1aed94,_0x5bff02,fe['pageStyle']));});});const _0x254755=Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x395)];_0x28c7f9+=_0x254755+(_0x254755?mt:0x0);const _0x117523=_0x998252[_0x32f5f1(0x3de)](),_0x33c772=_0x998252[_0x32f5f1(0x2d1)]();for(let _0xe4101e=0x0;_0xe4101e<_0x117523;_0xe4101e++)for(let _0x300d53=0x0;_0x300d53<_0x33c772;_0x300d53++){const _0x5d24a4={...(_0x466c17=(_0x63d6fc=_0x998252['data'])==null?void 0x0:_0x63d6fc[_0xe4101e])==null?void 0x0:_0x466c17[_0x300d53]};_0x5d24a4&&((_0x27e286=_0x75c002[_0x32f5f1(0x22d)][_0x300d53])!=null&&_0x27e286[_0x32f5f1(0x30a)])&&_0x300d53===_0x33c772-0x1&&_0xe4101e===_0x117523-0x1&&(_0x5d24a4['v']=''+_0x4b4631['sheets-pivot.value']),_0x3aa105['setValue'](_0xe4101e+_0x28c7f9,_0x300d53+_0x2100cc,tt(_0x1aed94,_0x5d24a4,fe[_0x32f5f1(0x2ac)]));}for(let _0x45cf13=0x0;_0x45cf13<_0x998252['info']['length'];_0x45cf13++)_0x998252[_0x32f5f1(0x378)][_0x45cf13]&&(_0x45f78e[''+(_0x45cf13+_0x2100cc)]=_0x998252['info'][_0x45cf13]);_0x2100cc+=_0x33c772;const _0xca91a0=_0x34cafb[_0x32f5f1(0x22d)],_0x491799=_0x34cafb[_0x32f5f1(0x273)]()>=0x0?_0x34cafb['getLastRow']()+0x1:0x0,_0x214644=_0x34cafb['getLastCol']()>=0x0?_0x34cafb[_0x32f5f1(0x352)]()+0x1:0x0;for(let _0xb4009=0x0;_0xb4009<_0x214644;_0xb4009++){for(let _0x3465b0=0x0;_0x3465b0<_0x491799;_0x3465b0++){const _0x1eeedf={...(_0x22c99d=(_0x5b4774=_0x34cafb[_0x32f5f1(0x265)])==null?void 0x0:_0x5b4774[_0x3465b0])==null?void 0x0:_0x22c99d[_0xb4009]},_0x4f2924=(_0x3cd518=_0xca91a0[_0x3465b0])==null?void 0x0:_0x3cd518[_0x32f5f1(0x390)],_0x405cc8=_0x421af7[_0x4f2924],_0x2fec23=_0x3655eb[_0x4f2924];_0x1eeedf&&(_0x1eeedf['v']=vt(_0x1eeedf,_0x3465b0===0x0&&((_0xcb65aa=_0x34cafb[_0x32f5f1(0x262)](_0xb4009+0x1))==null?void 0x0:_0xcb65aa['isValue']),_0x405cc8,_0x4b4631));let _0x5494bf;_0x405cc8?_0x5494bf={...fe[_0x32f5f1(0x1f2)],'n':{'pattern':_0x405cc8}}:_0x5494bf={...fe[_0x32f5f1(0x1f2)]},_0x3aa105[_0x32f5f1(0x26b)](_0x3465b0+_0x28c7f9,_0xb4009+_0x2100cc,tt(_0x1aed94,_0x1eeedf,_0x5494bf,_0x2fec23));}_0x34cafb['info'][_0xb4009]&&(_0x22c1f5[''+(_0xb4009+_0x2100cc)]=_0x34cafb[_0x32f5f1(0x378)][_0xb4009]),_0x34cafb['headerMap'][_0xb4009+0x1]&&(_0x47728f[''+(_0xb4009+_0x28c7f9+0x1)]=_0x34cafb['headerMap'][_0xb4009+0x1]);}_0x28c7f9+=_0x117523;const _0x36132a=_0x75c002[_0x32f5f1(0x22d)],_0x4781e1=_0x75c002[_0x32f5f1(0x273)]()>=0x0?_0x75c002['getLastRow']()+0x1:0x0,_0x17dc90=_0x75c002['getLastCol']()>=0x0?_0x75c002['getLastCol']()+0x1:0x0;for(let _0x185fa2=0x0;_0x185fa2<_0x4781e1;_0x185fa2++){for(let _0x335459=0x0;_0x335459<_0x17dc90;_0x335459++){const _0x5d59b6={...(_0x55a2c2=(_0x58b3f5=_0x75c002[_0x32f5f1(0x265)])==null?void 0x0:_0x58b3f5[_0x185fa2])==null?void 0x0:_0x55a2c2[_0x335459]},_0x25296e=(_0x2664bb=_0x36132a[_0x335459])==null?void 0x0:_0x2664bb['tableFieldId'],_0x156a93=_0x421af7[_0x25296e],_0xaed029=_0x3655eb[_0x25296e];_0x5d59b6&&(_0x5d59b6['v']=vt(_0x5d59b6,!0x1,_0x156a93,_0x4b4631));let _0x95d3e3;_0x75c002['info'][_0x185fa2]['level']===_0x75c002[_0x32f5f1(0x2d1)]()?_0x95d3e3=fe[_0x32f5f1(0x226)]:_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x233)]?_0x95d3e3=_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x2cc)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x95d3e3=fe['rowStyle'],_0x156a93&&(_0x95d3e3={..._0x95d3e3,'n':{'pattern':_0x156a93}}),_0x3aa105[_0x32f5f1(0x26b)](_0x185fa2+_0x28c7f9,_0x335459+_0x2688aa,tt(_0x1aed94,_0x5d59b6,_0x95d3e3,_0xaed029));}_0x75c002[_0x32f5f1(0x378)][_0x185fa2]&&(_0x594f9c[''+(_0x185fa2+_0x28c7f9)]=_0x75c002['info'][_0x185fa2]),_0x75c002[_0x32f5f1(0x22d)][_0x185fa2]&&(_0x35a2e7[''+(_0x185fa2+_0x2688aa)]=_0x75c002['headerMap'][_0x185fa2]);}const _0x31bc61=_0x2fc155['getRowCount'](),_0x47e610=_0x2fc155[_0x32f5f1(0x2d1)]();for(let _0x20cf13=0x0;_0x20cf13<_0x31bc61;_0x20cf13++)for(let _0x31cf45=0x0;_0x31cf45<_0x47e610;_0x31cf45++){const _0x2f398e={...(_0x3893da=(_0x254cfa=_0x2fc155['data'])==null?void 0x0:_0x254cfa[_0x20cf13])==null?void 0x0:_0x3893da[_0x31cf45]};let _0x5edf41;_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x233)]?_0x5edf41=_0x75c002[_0x32f5f1(0x378)][_0x20cf13]['level']===0x0?fe[_0x32f5f1(0x2f3)]:fe[_0x32f5f1(0x3e5)]:_0x5edf41=fe['dataStyle'];const _0xbba63=_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x3c2)],_0x51c74a=_0x34cafb[_0x32f5f1(0x378)][_0x31cf45][_0x32f5f1(0x3c2)],_0x72569e=Math['max'](_0xbba63,_0x51c74a),_0x1c2901=_0x512b50['fieldsConfig'][_0x32f5f1(0x3c5)]['concat']();let _0x51e550='';_0x72569e<0x0?_0x51e550=(_0xd15452=_0x1c2901[0x0])!=null?_0xd15452:'':_0x51e550=(_0x57bea5=_0x1c2901[_0x72569e])!=null?_0x57bea5:'';const _0x24694b=_0x421af7[_0x51e550];_0x24694b&&(_0x5edf41={..._0x5edf41,'n':{'pattern':_0x24694b}}),_0x3aa105[_0x32f5f1(0x26b)](_0x20cf13+_0x28c7f9,_0x31cf45+_0x2100cc,tt(_0x1aed94,_0x2f398e,_0x5edf41));}return{'valueMatrix':_0x3aa105,'rowInfo':_0x594f9c,'colInfo':_0x22c1f5,'cornerInfo':_0x45f78e,'rowHeaderMap':_0x35a2e7,'colHeaderMap':_0x47728f};};function vt(_0x4dd258,_0x55bd1d,_0xe5a455,_0x3ca769){const _0x8250a2=_0x5bf728;let _0xf4c0b0=_0x4dd258['v'];_0x55bd1d&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33a)]);const _0x1a820c=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a['blank'])>0x0;_0x1a820c&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33c)]);const _0x631988=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a[_0x8250a2(0x240)])>0x0;if(_0x631988&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x374)]),_0x4dd258['s']===_0x2a40d9[_0x8250a2(0x453)]){let _0xe03b20=_0xf4c0b0,_0x1379c5='';_0x4ffa85(_0xf4c0b0)&&(_0xe03b20=_0xf4c0b0[_0x8250a2(0x3e8)],_0x1379c5=_0xf4c0b0[_0x8250a2(0x27a)]);const _0x162ef6=_0xe5a455&&!_0x1a820c&&!_0x631988?_0x567147[_0x8250a2(0x369)](_0xe5a455,Number(_0xe03b20)):_0xe03b20;_0x1379c5?_0xf4c0b0=_0x162ef6+'\x20'+_0x1379c5:_0xf4c0b0=_0x162ef6+'\x20'+_0x3ca769[_0x8250a2(0x44b)];}else _0x4dd258['s']===_0x2a40d9[_0x8250a2(0x37e)]&&(_0xf4c0b0=_0xf4c0b0+'\x20'+_0x3ca769[_0x8250a2(0x2d7)]);return _0xf4c0b0;}function Go(_0x3aa63a){const _0x1378f2=_0x5bf728;if(_0x2c251c(_0x3aa63a)){const {errorType:_0x265a1d}=_0x3aa63a;switch(_0x265a1d){case _0x1dd39a[_0x1378f2(0x344)]:return _0x10d8d1[_0x1378f2(0x389)];case _0x1dd39a[_0x1378f2(0x450)]:return _0x10d8d1[_0x1378f2(0x2bf)];case _0x1dd39a[_0x1378f2(0x340)]:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a['NotName']:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a[_0x1378f2(0x1fc)]:return _0x10d8d1[_0x1378f2(0x34b)];}}return _0x3aa63a;}function ge(_0x10eca7,_0xe87e84,_0x173c60=!0x1,_0xdf4a69=!0x1){const _0x3e1adc=_0x5bf728,{data:_0x35d777}=_0xe87e84,_0x5745e6=_0xe87e84[_0x3e1adc(0x3de)](),_0x502d0d=_0xe87e84['getColCount']();if(_0x5745e6<=0x0||_0x502d0d<=0x0)return[];const _0x253b5c=_0xe87e84[_0x3e1adc(0x352)](),_0x1a2c4=_0xe87e84['getLastRow'](),_0x1303a6=_0xdf4a69?_0x1a2c4>=0x0?_0x1a2c4+0x1:0x0:_0x5745e6,_0x40d656=_0xdf4a69?_0x253b5c>=0x0?_0x253b5c+0x1:0x0:_0x502d0d,{row:_0xe080b5,col:_0x581440}=_0x10eca7,_0x5e18ec=_0xe080b5,_0x58d859=_0x581440;if(_0x173c60){const _0x141560=[];for(const [_0x2186c9,_0x221430]of Object[_0x3e1adc(0x2d6)](_0x35d777))for(const [_0x56a648,_0x1f936f]of Object[_0x3e1adc(0x2d6)](_0x221430))_0x141560[_0x3e1adc(0x42a)](_0x5508a5(_0x5e18ec+Number(_0x2186c9),_0x58d859+Number(_0x56a648)));return _0x141560;}else{const _0x3d6fec=_0xdf4a69?_0x1303a6>0x0?0x1:0x0:0x1,_0x23d92b=_0xdf4a69?_0x40d656>0x0?0x1:0x0:0x1,_0x3ddbd0=_0xe080b5+_0x1303a6-_0x3d6fec,_0x41d802=_0x581440+_0x40d656-_0x23d92b;return[{'startRow':_0x5e18ec,'startColumn':_0x58d859,'endRow':_0x3ddbd0,'endColumn':_0x41d802}];}}const z=_0x5bf728(0x359),Lt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0x45dfe7=>(_0x45dfe7['Filter']=_0x5bf728(0x3c6),_0x45dfe7[_0x5bf728(0x324)]=_0x5bf728(0x399),_0x45dfe7['AddPivotField']='addPivotField',_0x45dfe7[_0x5bf728(0x258)]='AddPivotTableWithConfig',_0x45dfe7[_0x5bf728(0x434)]=_0x5bf728(0x35c),_0x45dfe7[_0x5bf728(0x41e)]=_0x5bf728(0x424),_0x45dfe7['RemovePivotField']=_0x5bf728(0x3bd),_0x45dfe7[_0x5bf728(0x3f2)]=_0x5bf728(0x330),_0x45dfe7[_0x5bf728(0x243)]=_0x5bf728(0x417),_0x45dfe7[_0x5bf728(0x328)]=_0x5bf728(0x401),_0x45dfe7[_0x5bf728(0x43e)]=_0x5bf728(0x3a8),_0x45dfe7[_0x5bf728(0x332)]=_0x5bf728(0x327),_0x45dfe7[_0x5bf728(0x3bf)]=_0x5bf728(0x29c),_0x45dfe7['DrillDown']=_0x5bf728(0x387),_0x45dfe7[_0x5bf728(0x386)]=_0x5bf728(0x252),_0x45dfe7[_0x5bf728(0x308)]='setPivotTableConfig',_0x45dfe7[_0x5bf728(0x2c2)]='resetPivotTable',_0x45dfe7))(k||{});const Mi={'sheets-pivot.blankValue':_0x5bf728(0x3e0),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x5bf728(0x319),'sheets-pivot.valueText':_0x5bf728(0x409),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x5bf728(0x2f4),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x5bf728(0x307),'sheets-pivot.minName':_0x5bf728(0x365),'sheets-pivot.productName':_0x5bf728(0x1ea),'sheets-pivot.stdDevName':_0x5bf728(0x286),'sheets-pivot.stdDevpName':_0x5bf728(0x2a3),'sheets-pivot.sumName':_0x5bf728(0x2dc),'sheets-pivot.varName':_0x5bf728(0x439),'sheets-pivot.varpName':_0x5bf728(0x291),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x5bf728(0x27a),'sheets-pivot.blank':_0x5bf728(0x20e),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x5bf728(0x22f),'sheets-pivot.emptyPivot.column':_0x5bf728(0x3f6),'sheets-pivot.emptyPivot.values':'Values'},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x7cb202('pivotPerformCheck'),jo=_0x1cbcea(_0x5bf728(0x3b8));var Be=(_0x143edc=>(_0x143edc[_0x5bf728(0x2de)]='add',_0x143edc[_0x5bf728(0x25a)]=_0x5bf728(0x25a),_0x143edc[_0x5bf728(0x367)]=_0x5bf728(0x367),_0x143edc))(Be||{}),$=(_0x22c99c=>(_0x22c99c['Add']=_0x5bf728(0x2de),_0x22c99c['Set']=_0x5bf728(0x2e3),_0x22c99c[_0x5bf728(0x346)]=_0x5bf728(0x25a),_0x22c99c))($||{});const ro={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x38f),'handler':()=>!0x0},lo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x40b),'handler':()=>!0x0},Rt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x375),'handler':()=>!0x0},co={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x3ea),'handler':()=>!0x0},uo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x2f6),'handler':()=>!0x0};var wi=Object['getOwnPropertyDescriptor'],_i=(_0x1f3ae5,_0x4ad71f,_0x4574f6,_0x444c3f)=>{const _0x1665a7=_0x5bf728;for(var _0x59f6b5=_0x444c3f>0x1?void 0x0:_0x444c3f?wi(_0x4ad71f,_0x4574f6):_0x4ad71f,_0x326a9d=_0x1f3ae5[_0x1665a7(0x395)]-0x1,_0x3dc844;_0x326a9d>=0x0;_0x326a9d--)(_0x3dc844=_0x1f3ae5[_0x326a9d])&&(_0x59f6b5=_0x3dc844(_0x59f6b5)||_0x59f6b5);return _0x59f6b5;},Fi=(_0x448199,_0x191533)=>(_0x1d31d2,_0x5d93a8)=>_0x191533(_0x1d31d2,_0x5d93a8,_0x448199);let X=class extends _0x25f1fb{constructor(_0x2ad6c9){const _0x49865e=_0x5bf728;super(),V(this,_0x49865e(0x276),new Map()),this['_commandService']=_0x2ad6c9;}['handleAsyncResponse'](_0x1f8d77){const _0x4b0346=_0x5bf728,{version:_0x2276a1}=_0x1f8d77,_0x126cd5=this[_0x4b0346(0x276)][_0x4b0346(0x21b)](_0x2276a1);_0x126cd5&&(_0x126cd5(_0x1f8d77),this[_0x4b0346(0x276)][_0x4b0346(0x25a)](_0x2276a1));}[_0x5bf728(0x382)](_0x1126d2){return new Promise((_0x2475a4,_0x57f8db)=>{const _0x45676b=_0x279a,_0x5a50e8=this[_0x45676b(0x430)]();this['_requestResolvers'][_0x45676b(0x2e3)](_0x5a50e8,_0x2475a4),this[_0x45676b(0x234)][_0x45676b(0x314)](ro['id'],{'version':_0x5a50e8,..._0x1126d2},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x3aace3=_0x5bf728;return Math[_0x3aace3(0x2da)]()['toString'](0x24)[_0x3aace3(0x2e4)](0x2,0x10);}};X=_i([Fi(0x0,_0x360cfb(_0x4e31c1))],X);const Jo={0x0:'K',0x1:'0',0x2:'4',0x3:'a',0x4:'t',0x5:'7',0x6:'r',0x7:'e',0x8:'M',0x9:'1','L':'2','R':'3','v':'5','U':'6','O':'8','u':'9','s':'b','Y':'c','T':'d','h':'f','N':'g','c':'h','f':'i','I':'j','q':'k','w':'l','r':'m','C':'n','A':'o','S':'p','n':'q','D':'s','e':'u','g':'v','b':'w','G':'x','p':'y','d':'z','o':'A','Q':'B','B':'C','a':'D','i':'E','k':'F','x':'G','P':'H','K':'I','M':'J','X':'L','F':'N','H':'O','V':'P','J':'Q','y':'R','j':'S','l':'T','E':'U','t':'V','m':'W','W':'X','z':'Y','Z':'Z'},Wo='heCY4fAC\x20T7Y6pS4fAC(wfY7CD7,\x20SeswfY07p)\x20{\x20\x20\x20\x2046p\x20{\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20wfY7CD7KChAV364o663p\x20=\x20wfY7CD7.DSwf4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20A6fNfC87DD3N7\x20=\x20MjHF.S36D7(34As(wfY7CD7KChAV364o663p[L]));\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!A6fNfC87DD3N7.eT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A6fNfC87DD3N7.eT\x20=\x20Fers76(wfY7CD7KChAV364o663p[2]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20fDmA6q76\x20=\x204pS7Ah\x20mA6q76xwAs3wjYAS7\x20!==\x20\x27eCT7hfC7T\x27\x20&&\x20D7wh\x20fCD43CY7Ah\x20mA6q76xwAs3wjYAS7;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20YAC47G4\x20=\x20fDmA6q76\x20?\x20D7wh\x20:\x20bfCTAb;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[L]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7\x20=\x20YAC47G4.__P7G__.D46fCNfhp(r7DD3N7mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[R]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67\x20=\x20YAC47G4.__P7G__.D46fCNfhp(DfNC34e67mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNCt3wfT\x20=\x20YAC47G4.__g76fhp__(DfNC34e67,\x20r7DD3N7,\x20SeswfY07p);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20TAr3fC\x20=\x20A6fNfC87DD3N7.Tr;\x20\x20\x20\x20\x20\x20\x20\x20heCY4fAC\x20fDaAr3fC834YcfCN(AV34476C,\x20APAD4)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476C\x20=\x20AV34476C.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4\x20=\x20APAD4.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CV364D\x20=\x20S34476C.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4V364D\x20=\x20cAD4.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!S34476C.fCYweT7D(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476C\x20===\x20cAD4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(S34476CV364D.w7CN4c\x20<\x20L\x20||\x20S34476CV364D[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20h3wD7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CjehhfG\x20=\x20S34476CV364D.DwfY7(9).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4jehhfG\x20=\x20cAD4V364D.DwfY7(-S34476CV364D.w7CN4c\x20+\x209).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476CjehhfG\x20===\x20cAD4jehhfG;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x20TAr3fCt3wfT\x20=\x20(TAr3fC\x20&&\x20TAr3fC.w7CN4c)\x20?\x20TAr3fC.DAr7((TrK47r)\x20=>\x20fDaAr3fC834YcfCN(TrK47r,\x20wAY34fAC.cAD4C3r7))\x20:\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(wAY34fAC.cAD4C3r7\x20===\x20\x27wAY3wcAD4\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAr3fCt3wfT\x20=\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20g3wfT\x20=\x20DfNCt3wfT\x20&&\x20TAr3fCt3wfT;\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20A6fNfC87DD3N7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Y34Yc\x20(766A6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT:\x20h3wD7,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',Di=_0x1f5861=>{const _0x3efc32=_0x5bf728;var _0x23f28c;return((_0x23f28c=_0x1f5861[_0x3efc32(0x2d0)])==null?void 0x0:_0x23f28c[_0x3efc32(0x2e9)]['replace'](/\r\n$/,''))||'';};class Ri extends _0x7fa536{constructor(_0x2e7f95,_0x18fc95){const _0x533659=_0x5bf728;super(),V(this,_0x533659(0x446),{}),V(this,_0x533659(0x253)),V(this,'_host'),(this['_univerInstanceService']=_0x18fc95,this[_0x533659(0x238)]=_0x2e7f95);}[_0x5bf728(0x1fe)](){const _0x4333f3=_0x5bf728;for(const _0x1ad7fc in this[_0x4333f3(0x1d3)]){const _0x5dce86=this[_0x4333f3(0x1d3)][_0x1ad7fc],_0x2345b9=_0x5dce86[_0x4333f3(0x232)]();this[_0x4333f3(0x446)][_0x2345b9]=_0x5dce86[_0x4333f3(0x3f9)]();}}[_0x5bf728(0x202)](){const _0x3dd288=_0x5bf728,_0x344a37=this[_0x3dd288(0x238)];return Oi['bind'](_0x344a37);}[_0x5bf728(0x406)](_0x1b39b7){const _0x4b8811=_0x5bf728,_0x31e85b=this[_0x4b8811(0x1d3)][_0x1b39b7][_0x4b8811(0x1fa)];delete this[_0x4b8811(0x1d3)][_0x1b39b7],delete this[_0x4b8811(0x446)][_0x31e85b];}[_0x5bf728(0x209)](_0x45e143){const _0x2db5cc=_0x5bf728;this['dataFields'][_0x45e143[_0x2db5cc(0x3f9)]()]=_0x45e143;}['removeCollectionImp'](_0x4500e1){const _0x33c114=_0x5bf728;var _0x1d271b,_0x2f3e87;const _0x4ec919=this[_0x33c114(0x238)][_0x33c114(0x31b)](_0x4500e1);if(_0x4ec919){const {unitId:_0x24cac4,subUnitId:_0xfc102c}=_0x4ec919,_0xf63374=(_0x1d271b=this['_host'][_0x33c114(0x448)](_0x24cac4,_0xfc102c,_0x4500e1))==null?void 0x0:_0x1d271b[_0x33c114(0x3f8)];this['_host'][_0x33c114(0x2e2)]({'token':_0x4500e1,'type':Be[_0x33c114(0x25a)],'dataRangeInfo':_0xf63374});}(_0x2f3e87=this[_0x33c114(0x28d)](_0x4500e1))==null||_0x2f3e87[_0x33c114(0x3bc)](),delete this[_0x33c114(0x278)][_0x4500e1];}[_0x5bf728(0x232)](_0x2cec6e,_0x6a76bf){const {sheetName:_0x547336,unitId:_0x28fce0,range:_0xbb1a37}=_0x2cec6e,{startRow:_0xe7078f,endRow:_0x4c4207}=_0xbb1a37;return _0x5554c8(_0x28fce0,_0x547336,{'startRow':_0xe7078f,'endRow':_0x4c4207,'startColumn':_0x6a76bf,'endColumn':_0x6a76bf});}['getDataFieldByRangeKey'](_0x57a6b3){const _0x4f6d0f=_0x5bf728;return this[_0x4f6d0f(0x1d3)][this[_0x4f6d0f(0x446)][_0x57a6b3]];}[_0x5bf728(0x3fd)](_0x31d88b,_0x303992){const _0x27e632=_0x5bf728;this[_0x27e632(0x446)][_0x31d88b]=_0x303992;}[_0x5bf728(0x438)](_0x168862,_0x13095b){const _0x4a9593=_0x5bf728;this[_0x4a9593(0x446)][_0x13095b]=this[_0x4a9593(0x446)][_0x168862],delete this[_0x4a9593(0x446)][_0x168862];}[_0x5bf728(0x235)](_0x3e3347,_0x8a6d59,_0x4b6857,_0x56ff3d){const _0x4f0eb3=_0x5bf728,_0x185e05=new _0x58643c(this);_0x185e05[_0x4f0eb3(0x2b9)](_0x8a6d59);const _0x139ceb=[];let _0x20eab7=0x0;for(const _0x571910 of _0x185e05['fieldIds']){const _0x34018a=this['getRangeKey'](_0x4b6857,_0x20eab7),_0x521ecc=this[_0x4f0eb3(0x1d3)][_0x571910];_0x521ecc&&(_0x521ecc[_0x4f0eb3(0x1fa)]=_0x34018a,this[_0x4f0eb3(0x3fd)](_0x34018a,_0x571910),_0x139ceb[_0x4f0eb3(0x42a)]({'index':_0x20eab7,'dataField':_0x521ecc})),_0x20eab7++;}return this['addCollection'](_0x3e3347,_0x185e05,_0x4b6857,_0x56ff3d),{'collection':_0x185e05,'updateDataFieldList':_0x139ceb};}[_0x5bf728(0x1e2)](_0x3ebe51,_0x484ff4){const _0x2f20fb=_0x5bf728;return _0x3ebe51[_0x2f20fb(0x441)]===_0x49d1c0[_0x2f20fb(0x2d2)]?{'startRow':0x0,'startColumn':_0x3ebe51[_0x2f20fb(0x3d2)],'endRow':_0x484ff4[_0x2f20fb(0x3de)]()-0x1,'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]}:{'startRow':_0x3ebe51[_0x2f20fb(0x373)],'startColumn':_0x3ebe51['startColumn'],'endRow':_0x3ebe51[_0x2f20fb(0x320)],'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]};}['createCollectionWithDataRange'](_0x422146){const _0x195031=_0x5bf728,{sheetName:_0x54e375,range:_0x4b8ed7}=_0x422146,_0x5aed78=this['_univerInstanceService'][_0x195031(0x350)](_0x332ca7[_0x195031(0x25d)]),_0x3d75de=_0x5aed78[_0x195031(0x356)](_0x54e375),_0x429333=_0x3d75de[_0x195031(0x341)](),{startColumn:_0x87c5b4,startRow:_0x4d7f67,endColumn:_0x53616a}=this[_0x195031(0x1e2)](_0x4b8ed7,_0x3d75de),_0x2b9169=_0x5aed78[_0x195031(0x1fb)](),_0x561267=new _0x58643c(this);_0x561267[_0x195031(0x402)](_0x422146);const _0x4f9073=[],_0x330bb2={};for(let _0x525cf1=_0x87c5b4;_0x525cf1<=_0x53616a;_0x525cf1++){const _0x2df2dd=_0x429333[_0x195031(0x35b)](_0x4d7f67,_0x525cf1),_0xc97c9a=this[_0x195031(0x232)](_0x422146,_0x525cf1),_0x340240=this['getDataFieldByRangeKey'](_0xc97c9a);if(_0x340240)_0x561267['addField'](_0x340240[_0x195031(0x3f9)](),_0x340240[_0x195031(0x3a4)]());else{const _0x3d4fc1=this[_0x195031(0x28e)]();let _0x87ee44=this[_0x195031(0x3af)](_0x2df2dd,_0x2b9169,_0x330bb2);_0x36ad7b(_0x87ee44)&&(_0x87ee44=_0x567147[_0x195031(0x369)](_0x87ee44['f'],Number(_0x87ee44['v'])));const _0xcb11d7=this['uniqueDataFieldName'](_0x87ee44,_0x525cf1),_0xbb6212=new _0x7ea1d5(_0x3d4fc1,_0xcb11d7,_0x2962d6(0x3));_0xbb6212[_0x195031(0x1fa)]=_0xc97c9a,this[_0x195031(0x1d3)][_0x3d4fc1]=_0xbb6212,_0x561267['addField'](_0x3d4fc1,_0xcb11d7),_0x4f9073['push']({'index':_0x525cf1,'dataField':_0xbb6212});}}return{'updateDataFieldList':_0x4f9073,'collection':_0x561267};}[_0x5bf728(0x2ef)](_0x1656b7){const _0x3eb628=_0x5bf728;return this[_0x3eb628(0x238)]['getTextInfo']()[_0x3eb628(0x297)]+'\x20'+_0x50a52a(_0x1656b7);}[_0x5bf728(0x1ca)](_0x58fe9d,_0x4b5ace){const _0x6389ca=_0x5bf728;return _0x58fe9d==null||_0x58fe9d===''?this[_0x6389ca(0x2ef)](_0x4b5ace):String(_0x58fe9d);}[_0x5bf728(0x28d)](_0x5225b7){const _0x438550=_0x5bf728;return this[_0x438550(0x278)][_0x5225b7];}[_0x5bf728(0x298)](_0x2ee953,_0xd15e6c,_0x5e461f,_0x35d561){const _0x4ae2e1=_0x5bf728;this[_0x4ae2e1(0x278)][_0x2ee953]=_0xd15e6c,_0xd15e6c[_0x4ae2e1(0x402)](_0x5e461f),this[_0x4ae2e1(0x238)]['broadcastCollectionChange']({'token':_0x2ee953,'type':Be['add'],'dataRangeInfo':_0x5e461f,'targetCellInfo':_0x35d561});}[_0x5bf728(0x221)](_0x17e074,_0x3712f9){const _0x4023d6=_0x5bf728,_0xff63f3=this[_0x4023d6(0x28d)](_0x17e074),_0x45962c=_0xff63f3[_0x4023d6(0x363)]();let _0x52413d=0x0;for(const _0x58663e of _0x45962c){const _0x5bf103=_0xff63f3[_0x4023d6(0x437)](_0x58663e),_0x19674e=this[_0x4023d6(0x232)](_0x3712f9,_0x52413d);this[_0x4023d6(0x438)](_0x5bf103['rangeKey'],_0x19674e),_0x52413d++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x5bf728(0x27b)](_0x31ef02,_0x514016){const _0x3ac005=_0x5bf728;if(this[_0x3ac005(0x28d)](_0x31ef02)){const _0x572390=this[_0x3ac005(0x212)](_0x514016),_0x5b3a92=[];for(const _0x3d2bb3 of _0x572390)this[_0x3ac005(0x446)][_0x3d2bb3]!==void 0x0&&_0x5b3a92[_0x3ac005(0x42a)](this[_0x3ac005(0x446)][_0x3d2bb3]);const _0x2f4cbd=this['getNoUsedDataFieldIds'](_0x31ef02),_0x358112=[],_0x40b82d=new Set(_0x5b3a92);for(const _0x2603b6 of _0x2f4cbd)_0x40b82d['has'](_0x2603b6)||_0x358112[_0x3ac005(0x42a)](_0x2603b6);return _0x358112;}}[_0x5bf728(0x40c)](_0x59a1fb,_0x80757f,_0x229016,_0x18290e,_0x170e97){const _0x52a258=_0x5bf728;return _0x80757f&&_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x229016&&_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x59a1fb[_0x52a258(0x35b)](_0x18290e,_0x170e97);}[_0x5bf728(0x39d)](_0x253681,_0x11ac0f,_0x112f03,_0x267f5f){const _0x330bf7=_0x5bf728,_0x437476=this[_0x330bf7(0x1d3)][_0x253681];if(!_0x437476)return;const {subUnitId:_0x4b4faa,range:_0x542664,unitId:_0x3a62b9}=_0x11ac0f,_0x237e74=this[_0x330bf7(0x253)][_0x330bf7(0x1db)](_0x3a62b9);if(!_0x237e74){console[_0x330bf7(0x1f7)](_0x330bf7(0x3fc));return;}const _0x3ff5fa=_0x237e74[_0x330bf7(0x292)](_0x4b4faa),_0x56b773=_0x3ff5fa['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1c0167,unitDataMatrix:_0x4e1c8a}=_0x267f5f||{},{startRow:_0xd106ce,startColumn:_0x181e2c,endRow:_0x2ae063}=this[_0x330bf7(0x1e2)](_0x542664,_0x3ff5fa);_0x437476[_0x330bf7(0x30b)]();const _0x20abfa=_0x237e74[_0x330bf7(0x1fb)](),_0x20f30f={},_0x17f9f3=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0xd106ce,_0x181e2c+_0x112f03);let _0x426918=this[_0x330bf7(0x3af)](_0x17f9f3,_0x20abfa,_0x20f30f);_0x36ad7b(_0x426918)&&(_0x426918=_0x567147[_0x330bf7(0x369)](_0x426918['f'],Number(_0x426918['v'])));const _0x42919d=this[_0x330bf7(0x1ca)](_0x426918,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x302)](_0x42919d);for(let _0x2fb28a=_0xd106ce+0x1;_0x2fb28a<=_0x2ae063;_0x2fb28a++){const _0xa77f1d=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0x2fb28a,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x2bc)](this[_0x330bf7(0x3af)](_0xa77f1d,_0x20abfa,_0x20f30f),_0x2fb28a-0x1-_0xd106ce);}}[_0x5bf728(0x1d4)](_0x5d56ce,_0x57c111,_0xe9660d){const _0x5a52b6=_0x5bf728,{subUnitId:_0x4fda5c,range:_0x27cc98,unitId:_0x77970f}=_0xe9660d,_0x17dd24=this['_univerInstanceService'][_0x5a52b6(0x1db)](_0x77970f);if(!_0x17dd24){console[_0x5a52b6(0x1f7)](_0x5a52b6(0x3fc));return;}const _0x168e3c=_0x17dd24[_0x5a52b6(0x292)](_0x4fda5c),_0x3a76d2=_0x168e3c[_0x5a52b6(0x341)](),{startRow:_0x119864,startColumn:_0x25c12b,endRow:_0x2abcb3}=this[_0x5a52b6(0x1e2)](_0x27cc98,_0x168e3c),_0x1b33b6=_0x17dd24[_0x5a52b6(0x1fb)](),_0x216be4={};for(const {dataField:_0x508162,index:_0x3a8dd8}of _0x57c111){_0x508162[_0x5a52b6(0x30b)]();const _0x250be0=this[_0x5a52b6(0x40c)](_0x3a76d2,void 0x0,void 0x0,_0x119864,_0x25c12b+_0x3a8dd8);let _0x293509=this[_0x5a52b6(0x3af)](_0x250be0,_0x1b33b6,_0x216be4);_0x36ad7b(_0x293509)&&(_0x293509=_0x567147[_0x5a52b6(0x369)](_0x293509['f'],Number(_0x293509['v'])));const _0x5a72d3=this['uniqueDataFieldName'](_0x293509,_0x25c12b+_0x3a8dd8);_0x508162[_0x5a52b6(0x302)](_0x5a72d3);}_0x5d56ce[_0x5a52b6(0x443)]();for(let _0x193cc7=_0x119864+0x1;_0x193cc7<=_0x2abcb3;_0x193cc7++)for(const {index:_0x2e8640,dataField:_0xd22f97}of _0x57c111){const _0x54663a=_0x3a76d2[_0x5a52b6(0x35b)](_0x193cc7,_0x25c12b+_0x2e8640);_0xd22f97['addRecord'](this[_0x5a52b6(0x3af)](_0x54663a,_0x1b33b6,_0x216be4),_0x193cc7-0x1-_0x119864);}_0x5d56ce[_0x5a52b6(0x315)](_0x2abcb3-_0x119864);}[_0x5bf728(0x212)](_0x578404){const _0xb4c695=_0x5bf728,{range:_0x3c74f1}=_0x578404,{startColumn:_0x1e9729,endColumn:_0x45b3e7}=_0x3c74f1,_0xd5f385=[];for(let _0xb3b386=_0x1e9729;_0xb3b386<=_0x45b3e7;_0xb3b386++)_0xd5f385[_0xb4c695(0x42a)](this[_0xb4c695(0x232)](_0x578404,_0xb3b386));return _0xd5f385;}[_0x5bf728(0x3af)](_0x13e46e,_0x500b18,_0x28dde8){const _0x183894=_0x5bf728;if(_0x13e46e){const {s:_0x1e3a9e,v:_0x39cdb3,t:_0x28e4b7,p:_0x493238}=_0x13e46e;if(_0x493238)return Di(_0x493238);const _0x149632=_0x500b18[_0x183894(0x21b)](_0x1e3a9e);if(_0x149632&&_0x28e4b7===_0x24b2d4[_0x183894(0x250)]&&_0x149632['n']){const {pattern:_0x4a74c7}=_0x149632['n'];_0x28dde8[_0x4a74c7]||(_0x28dde8[_0x4a74c7]=_0x567147[_0x183894(0x3b7)](_0x4a74c7));const _0x2e1cf5=_0x28dde8[_0x4a74c7],_0x163f07=_0x2e1cf5[_0x183894(0x1e4)];if(_0x2e1cf5['isText'])return String(_0x39cdb3);if(_0x163f07)return{'v':_0x39cdb3,'f':_0x4a74c7};}if(_0x28e4b7===_0x24b2d4[_0x183894(0x250)])return Number(_0x39cdb3);if(_0x28e4b7===_0x24b2d4[_0x183894(0x251)]||_0x28e4b7===_0x24b2d4[_0x183894(0x300)])return String(_0x39cdb3);if(_0x28e4b7===void 0x0){const _0x3c93b8=Number(_0x39cdb3);if(!Number['isNaN'](_0x3c93b8)&&String(_0x3c93b8)===_0x39cdb3)return _0x3c93b8;}return _0x39cdb3!=null?_0x39cdb3:null;}else return null;}[_0x5bf728(0x3ae)](_0x528612){const _0x385897=_0x5bf728,{sheetName:_0x94dc2d,range:_0x569534,unitId:_0x178260}=_0x528612,_0x564f68=this[_0x385897(0x253)]['getUnit'](_0x178260);if(!_0x564f68)return console[_0x385897(0x1f7)](_0x385897(0x3fc)),{'header':[],'data':[]};const _0x1315a5=_0x564f68[_0x385897(0x356)](_0x94dc2d),_0x2b1de4=_0x1315a5['getCellMatrix'](),{startRow:_0x43807b,startColumn:_0x4e869f,endRow:_0x507132,endColumn:_0x395f8b}=this['getRangeStartEndInfo'](_0x569534,_0x1315a5),_0x40942b=_0x564f68[_0x385897(0x1fb)](),_0x39f00a=[],_0x2e5935=[],_0x563ec0={};for(let _0xbb972e=_0x43807b;_0xbb972e<=_0x507132;_0xbb972e++){const _0xd4c02b=[];for(let _0x389ff5=_0x4e869f;_0x389ff5<=_0x395f8b;_0x389ff5++){const _0x46e897=_0x2b1de4[_0x385897(0x35b)](_0xbb972e,_0x389ff5);_0xbb972e===_0x43807b?_0x39f00a[_0x385897(0x42a)](_0x46e897==null?null:String(_0x46e897['v'])):_0xd4c02b[_0x385897(0x42a)](this[_0x385897(0x3af)](_0x46e897,_0x40942b,_0x563ec0));}_0x2e5935['push'](_0xd4c02b);}return{'header':_0x39f00a,'data':_0x2e5935};}[_0x5bf728(0x361)](){const _0xaf26f9=_0x5bf728;return super[_0xaf26f9(0x361)]();}['fromJSON'](_0x1a699c){const _0x4ef54c=_0x5bf728;super[_0x4ef54c(0x2b9)](_0x1a699c),this[_0x4ef54c(0x1fe)]();}[_0x5bf728(0x3bc)](){const _0x1905a7=_0x5bf728;super[_0x1905a7(0x3bc)](),this[_0x1905a7(0x446)]={},this[_0x1905a7(0x238)]=null;}}const Ni=_0x44ce42=>{const _0x3b0119=_0x5bf728,{targetCellInfo:_0x51f3c4}=_0x44ce42,{matrixCache:_0x2b9dbe,rangesCache:_0x5bebbb}=Yo({'filter':_0x3b0119(0x2d8),'row':'Row','column':_0x3b0119(0x3f6),'values':_0x3b0119(0x287)},_0x51f3c4),_0x13cd19=new _0x43fcd2();return _0x2b9dbe[_0x3b0119(0x2f0)]((_0x5a3336,_0x2e9ea3,_0x1f3058)=>{const _0x2f7174=_0x3b0119;_0x13cd19[_0x2f7174(0x26b)](_0x5a3336,_0x2e9ea3,_0x1f3058);}),{'matrix':_0x13cd19,'rangesCache':_0x5bebbb};},ot=_0x37ff94=>{const _0x4c36c7=_0x5bf728;let _0x3599fa;if(_0x37ff94!=null&&_0x37ff94['v']||(_0x37ff94==null?void 0x0:_0x37ff94['v'])===0x0){_0x3599fa||(_0x3599fa={});const _0x41df61=Go(_0x37ff94['v']);typeof _0x41df61==_0x4c36c7(0x29f)?_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x250)]:typeof _0x41df61==_0x4c36c7(0x23a)&&(_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x251)]),_0x3599fa['v']=_0x41df61;}return _0x3599fa;},Vi=(_0x27bedf,_0x5ca4ef,_0x43cf0a)=>{const _0x3ed64a=_0x5bf728;var _0x947db1,_0x2a757f,_0x41bc7e,_0x14c608,_0x57c0f1,_0x3f916e,_0xc21f8c,_0x358dda,_0x53715b,_0x6ba6bb,_0x30e462,_0xafd6cd;const {cornerView:_0x1c3199,rowView:_0x3f7a39,colView:_0x33b702,dataView:_0x11dd5d,pageView:_0x30dd96,formatMap:_0x7472bc}=_0x27bedf,{row:_0x5b359f,col:_0x39a4bc}=_0x5ca4ef,_0x52027a=new _0x43fcd2();let _0x6d8f46=_0x5b359f,_0x112363=_0x39a4bc;Object['keys'](_0x30dd96[_0x3ed64a(0x265)])['forEach'](_0x2a752a=>{const _0x133cfa=_0x3ed64a;Object[_0x133cfa(0x3ab)](_0x30dd96[_0x133cfa(0x265)][Number(_0x2a752a)])[_0x133cfa(0x28f)](_0x79c9f=>{const _0x27ba93=_0x133cfa,_0x10836a={..._0x30dd96[_0x27ba93(0x265)][Number(_0x2a752a)][Number(_0x79c9f)]};_0x52027a[_0x27ba93(0x26b)](Number(_0x2a752a)+_0x6d8f46,Number(_0x79c9f)+_0x112363,ot(_0x10836a));});});const _0x28bdd7=Object[_0x3ed64a(0x3ab)](_0x30dd96['data'])['length'];_0x6d8f46+=_0x28bdd7+(_0x28bdd7?mt:0x0);const _0x2f7f06=_0x1c3199[_0x3ed64a(0x3de)](),_0x4d6311=_0x1c3199[_0x3ed64a(0x2d1)]();for(let _0x10954d=0x0;_0x10954d<_0x2f7f06;_0x10954d++)for(let _0x1b66a4=0x0;_0x1b66a4<_0x4d6311;_0x1b66a4++){const _0x20c42f={...(_0x2a757f=(_0x947db1=_0x1c3199[_0x3ed64a(0x265)])==null?void 0x0:_0x947db1[_0x10954d])==null?void 0x0:_0x2a757f[_0x1b66a4]};_0x20c42f&&((_0x41bc7e=_0x3f7a39['headerMap'][_0x1b66a4])!=null&&_0x41bc7e['isValue'])&&_0x1b66a4===_0x4d6311-0x1&&_0x10954d===_0x2f7f06-0x1&&(_0x20c42f['v']=''+_0x43cf0a[_0x3ed64a(0x33a)]),_0x52027a['setValue'](_0x10954d+_0x6d8f46,_0x1b66a4+_0x112363,ot(_0x20c42f));}_0x112363+=_0x4d6311;const _0xc4de6c=_0x33b702['headerMap'],_0x276f7a=_0x33b702['getLastRow']()>=0x0?_0x33b702['getLastRow']()+0x1:0x0,_0x4e6a43=_0x33b702[_0x3ed64a(0x352)]()>=0x0?_0x33b702[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x1ad553=0x0;_0x1ad553<_0x4e6a43;_0x1ad553++)for(let _0x9ecb39=0x0;_0x9ecb39<_0x276f7a;_0x9ecb39++){const _0x43d34f={...(_0x57c0f1=(_0x14c608=_0x33b702[_0x3ed64a(0x265)])==null?void 0x0:_0x14c608[_0x1ad553])==null?void 0x0:_0x57c0f1[_0x9ecb39]},_0x501c39=(_0x3f916e=_0xc4de6c[_0x1ad553])==null?void 0x0:_0x3f916e[_0x3ed64a(0x390)],_0x43971=_0x7472bc[_0x501c39];_0x43d34f&&(_0x43d34f['v']=vt(_0x43d34f,_0x1ad553===0x0&&((_0xc21f8c=_0x33b702[_0x3ed64a(0x262)](_0x9ecb39+0x1))==null?void 0x0:_0xc21f8c[_0x3ed64a(0x30a)]),_0x43971,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x1ad553+_0x6d8f46,_0x9ecb39+_0x112363,ot(_0x43d34f));}_0x6d8f46+=_0x2f7f06;const _0x53ddc3=_0x3f7a39[_0x3ed64a(0x22d)],_0x5642e7=_0x3f7a39[_0x3ed64a(0x273)]()>=0x0?_0x3f7a39['getLastRow']()+0x1:0x0,_0x3737c5=_0x3f7a39[_0x3ed64a(0x352)]()>=0x0?_0x3f7a39[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x2bd984=0x0;_0x2bd984<_0x5642e7;_0x2bd984++)for(let _0x513d11=0x0;_0x513d11<_0x3737c5;_0x513d11++){const _0x2c52a4={...(_0x53715b=(_0x358dda=_0x3f7a39[_0x3ed64a(0x265)])==null?void 0x0:_0x358dda[_0x2bd984])==null?void 0x0:_0x53715b[_0x513d11]},_0x586847=(_0x6ba6bb=_0x53ddc3[_0x513d11])==null?void 0x0:_0x6ba6bb[_0x3ed64a(0x390)],_0x101587=_0x7472bc[_0x586847];_0x2c52a4&&(_0x2c52a4['v']=vt(_0x2c52a4,!0x1,_0x101587,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x2bd984+_0x6d8f46,_0x513d11+_0x39a4bc,ot(_0x2c52a4));}const _0x5b6f5a=_0x11dd5d['getRowCount'](),_0x48694e=_0x11dd5d['getColCount']();for(let _0x4e4784=0x0;_0x4e4784<_0x5b6f5a;_0x4e4784++)for(let _0x484ce5=0x0;_0x484ce5<_0x48694e;_0x484ce5++){const _0x3f39b5={...(_0xafd6cd=(_0x30e462=_0x11dd5d[_0x3ed64a(0x265)])==null?void 0x0:_0x30e462[_0x4e4784])==null?void 0x0:_0xafd6cd[_0x484ce5]};_0x52027a[_0x3ed64a(0x26b)](_0x4e4784+_0x6d8f46,_0x484ce5+_0x112363,ot(_0x3f39b5));}return _0x52027a;},Ui=_0x24087e=>{const _0x302183=_0x5bf728,{view:_0x2650c6,targetCellInfo:_0x1ee821,isEmpty:_0x5b143e,textInfo:_0xde42b1}=_0x24087e;if(_0x5b143e)return Ni(_0x24087e);const {pageView:_0x334812,cornerView:_0x55775b,rowView:_0x20ac59,colView:_0x45960d,dataView:_0x3c0b00}=_0x2650c6,_0x23a4ce=ge(_0x1ee821,_0x334812,!0x0),_0x118738=_0x334812[_0x302183(0x1f9)]>=0x0?_0x334812[_0x302183(0x1f9)]+0x1:0x0,_0x2bd94d=_0x55775b['getRowCount'](),_0x5b9971=_0x55775b['getColCount'](),_0x47f45c=_0x23a4ce[_0x302183(0x395)]>0x0?mt:0x0,_0x38d724=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]},_0x55775b,!0x1,!0x1),_0xde35e4=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821[_0x302183(0x37a)]},_0x20ac59,!0x1,!0x0),_0x4692f3=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]+_0x5b9971},_0x45960d,!0x1,!0x0),_0x5d2db5=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821['col']+_0x5b9971},_0x3c0b00,!0x1,!0x1),_0x328ee4={'rowRanges':_0xde35e4,'colRanges':_0x4692f3,'cornerRanges':_0x38d724,'dataRanges':_0x5d2db5,'pageRanges':_0x23a4ce};return{'matrix':Vi(_0x2650c6,_0x1ee821,_0xde42b1),'rangesCache':_0x328ee4};};var Ai=Object[_0x5bf728(0x3a1)],Ei=(_0x14e5d7,_0x4b75a0,_0x127254,_0x37d45b)=>{for(var _0x26cea0=_0x37d45b>0x1?void 0x0:_0x37d45b?Ai(_0x4b75a0,_0x127254):_0x4b75a0,_0x177292=_0x14e5d7['length']-0x1,_0x553b0c;_0x177292>=0x0;_0x177292--)(_0x553b0c=_0x14e5d7[_0x177292])&&(_0x26cea0=_0x553b0c(_0x26cea0)||_0x26cea0);return _0x26cea0;},nt=(_0x1a8362,_0x3faea3)=>(_0xac36ef,_0xcd6a4d)=>_0x3faea3(_0xac36ef,_0xcd6a4d,_0x1a8362);let G=class extends _0x25f1fb{constructor(_0x54d0f1,_0x193a18,_0x460e13,_0x4b4403,_0x4f820e){const _0x5b6a68=_0x5bf728;super(),V(this,_0x5b6a68(0x3a9),new Map()),V(this,_0x5b6a68(0x30e),new Map()),V(this,_0x5b6a68(0x3f1),new Map()),V(this,_0x5b6a68(0x26c)),V(this,_0x5b6a68(0x207),new _0x688d9a()),V(this,_0x5b6a68(0x435),this[_0x5b6a68(0x207)][_0x5b6a68(0x244)]()),V(this,'_viewData$',new _0x688d9a()),V(this,_0x5b6a68(0x425),this[_0x5b6a68(0x2ad)]['asObservable']()),V(this,_0x5b6a68(0x30c),new _0x688d9a()),V(this,_0x5b6a68(0x294),this[_0x5b6a68(0x30c)][_0x5b6a68(0x244)]()),V(this,_0x5b6a68(0x398),new Map()),V(this,'needSameDeleteModel',[]),V(this,'_queryingMap',new Map()),(this['_injector']=_0x54d0f1,this[_0x5b6a68(0x253)]=_0x193a18,this['_lifecycleService']=_0x460e13,this[_0x5b6a68(0x234)]=_0x4b4403,this['_resourceManagerService']=_0x4f820e,this[_0x5b6a68(0x2ff)]());}[_0x5bf728(0x3dc)](){const _0x2ec13a=_0x5bf728;return this[_0x2ec13a(0x26c)]?this[_0x2ec13a(0x26c)]:Mi;}[_0x5bf728(0x2b6)](_0x1d0d89){const _0x518765=_0x5bf728;this[_0x518765(0x26c)]=_0x1d0d89;}[_0x5bf728(0x221)](_0x772d8b){const _0x2f8f65=_0x5bf728;var _0xd5144;const {from:_0x1630b9,to:_0x4afdcc,unitId:_0x279422,fromRange:_0x9f7c04,toRange:_0x2751b4}=_0x772d8b;if(_0x1630b9&&_0x4afdcc){const _0x5be0e6=this[_0x2f8f65(0x23e)](_0x279422),_0x698091=this[_0x2f8f65(0x3a9)]['get'](_0x279422),_0x35fa21=(_0xd5144=this[_0x2f8f65(0x253)][_0x2f8f65(0x1db)](_0x279422))==null?void 0x0:_0xd5144[_0x2f8f65(0x292)](_0x4afdcc[_0x2f8f65(0x2a0)]);if(!_0x698091||!_0x35fa21)return;const _0x178c33=_0x35fa21==null?void 0x0:_0x35fa21['getName']();for(const [_0x443e80,_0x54f263]of _0x698091[_0x2f8f65(0x2d6)]())for(const [_0x2483db,_0x36f4e3]of _0x54f263[_0x2f8f65(0x2d6)]()){const {sourceRangeInfo:_0x547106}=_0x36f4e3;if(_0x547106[_0x2f8f65(0x42b)]===_0x279422&&_0x547106[_0x2f8f65(0x2a0)]===_0x1630b9[_0x2f8f65(0x2a0)]&&_0x3d3208[_0x2f8f65(0x420)](_0x9f7c04,_0x547106[_0x2f8f65(0x284)])){const _0x5d529f={'row':_0x547106['range']['startRow']-_0x9f7c04['startRow'],'col':_0x547106['range'][_0x2f8f65(0x3d2)]-_0x9f7c04[_0x2f8f65(0x3d2)]},_0x1d0183={'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'sheetName':_0x178c33,'range':{'startRow':_0x2751b4[_0x2f8f65(0x373)]+_0x5d529f[_0x2f8f65(0x2f2)],'endRow':_0x2751b4['startRow']+_0x5d529f[_0x2f8f65(0x2f2)]+_0x547106[_0x2f8f65(0x284)]['endRow']-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x373)],'startColumn':_0x2751b4['startColumn']+_0x5d529f['col'],'endColumn':_0x2751b4['startColumn']+_0x5d529f[_0x2f8f65(0x37a)]+_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3cd)]-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3d2)]}};_0x5be0e6[_0x2f8f65(0x221)](_0x2483db,_0x1d0183);const _0x2e6c8a={..._0x36f4e3,'sourceRangeInfo':_0x1d0183};this[_0x2f8f65(0x31c)](_0x279422,_0x4afdcc[_0x2f8f65(0x2a0)],_0x2483db,_0x2e6c8a),this[_0x2f8f65(0x2e2)]({'unitId':_0x279422,'token':_0x2483db,'type':Be['update'],'oldSourceRangeInfo':_0x547106,'dataRangeInfo':_0x1d0183,'targetCellInfo':_0x36f4e3[_0x2f8f65(0x1d2)]}),this[_0x2f8f65(0x3e1)]({'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'oldSubUnitId':_0x443e80,'pivotTableId':_0x2483db,'pivotTableConfig':_0x2e6c8a,'collectionConfig':_0x5be0e6[_0x2f8f65(0x361)]()});}}}}[_0x5bf728(0x2e2)](_0x56da9f){this['_collectionChange$']['next'](_0x56da9f);}['getDataFieldManager'](_0x26ee93){const _0x1fbfa6=_0x5bf728;let _0x384ca3=this['_dataFieldManagerCollection'][_0x1fbfa6(0x21b)](_0x26ee93);return _0x384ca3||(_0x384ca3=new Ri(this,this['_univerInstanceService']),this[_0x1fbfa6(0x398)][_0x1fbfa6(0x2e3)](_0x26ee93,_0x384ca3)),_0x384ca3;}[_0x5bf728(0x28d)](_0x34b138,_0x4db7a5){const _0x46fd90=_0x5bf728;return this[_0x46fd90(0x23e)](_0x34b138)[_0x46fd90(0x278)][_0x4db7a5];}[_0x5bf728(0x27b)](_0x507ed4,_0x1a71a6,_0x27262c){const _0x5ae255=_0x5bf728;return this[_0x5ae255(0x23e)](_0x507ed4)[_0x5ae255(0x27b)](_0x1a71a6,_0x27262c);}['_ensurePivotMap'](_0x5291c8,_0x1d7b2d){const _0x337e56=_0x5bf728;let _0x2be222=this[_0x337e56(0x3a9)]['get'](_0x5291c8);_0x2be222||(_0x2be222=new Map(),this['_model']['set'](_0x5291c8,_0x2be222));let _0x2216bf=_0x2be222[_0x337e56(0x21b)](_0x1d7b2d);return _0x2216bf||(_0x2216bf=new Map(),_0x2be222['set'](_0x1d7b2d,_0x2216bf)),_0x2216bf;}[_0x5bf728(0x31c)](_0x3dbe72,_0x1230ad,_0x27bfd5,_0x54f2d7){const _0x1147eb=_0x5bf728;this[_0x1147eb(0x410)](_0x3dbe72,_0x1230ad)['set'](_0x27bfd5,_0x54f2d7);}['_deleteModelCache'](_0x3ed9f6,_0xc69c2,_0x423118){const _0x52bab5=_0x5bf728;var _0x17f6d9,_0x50c3f5,_0x27b004,_0x23fc85;((_0x50c3f5=(_0x17f6d9=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x17f6d9[_0x52bab5(0x21b)](_0xc69c2))==null?void 0x0:_0x50c3f5[_0x52bab5(0x21b)](_0x423118))&&((_0x23fc85=(_0x27b004=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x27b004['get'](_0xc69c2))==null||_0x23fc85[_0x52bab5(0x25a)](_0x423118));}[_0x5bf728(0x35a)](_0x275d2a,_0x16e4d3){const _0x16e21a=_0x5bf728;this[_0x16e21a(0x30e)][_0x16e21a(0x2e3)](_0x275d2a,_0x16e4d3);}[_0x5bf728(0x44f)](_0x92fd9f){const _0x48dabf=_0x5bf728;this[_0x48dabf(0x30e)][_0x48dabf(0x25a)](_0x92fd9f);}[_0x5bf728(0x38c)](_0x16860a,_0xcad73c){const _0x1cc528=_0x5bf728;let _0x4a829b=this[_0x1cc528(0x3f1)]['get'](_0x16860a);_0x4a829b||(_0x4a829b=new Map(),this[_0x1cc528(0x3f1)][_0x1cc528(0x2e3)](_0x16860a,_0x4a829b));let _0x2e08d4=_0x4a829b[_0x1cc528(0x21b)](_0xcad73c);return _0x2e08d4||(_0x2e08d4=new Map(),_0x4a829b[_0x1cc528(0x2e3)](_0xcad73c,_0x2e08d4)),_0x2e08d4;}[_0x5bf728(0x3e1)](_0x7d47d1){const _0x1e5e0d=_0x5bf728,{unitId:_0x19263a,subUnitId:_0x59b8df,pivotTableId:_0x348427,pivotTableConfig:_0xd4262b,collectionConfig:_0x55b6ad}=_0x7d47d1,_0xfeaaed={'unitId':_0x19263a,'subUnitId':_0x59b8df,'oldSubUnitId':_0x59b8df,'pivotTableId':_0x348427,'pivotTableConfig':_0xd4262b,'collectionConfig':_0x55b6ad};this['_commandService'][_0x1e5e0d(0x314)](co['id'],_0xfeaaed,{'onlyLocal':!0x0});}[_0x5bf728(0x30d)](_0x56c5fb,_0x381369,_0x47ff7a,_0x5df775,_0x49b70e,_0x1f0689,_0x3c5144,_0x1a701d=!0x1){const _0x518ebe=_0x5bf728;var _0x26fac5;this[_0x518ebe(0x234)][_0x518ebe(0x314)](Rt['id'],{'single':{'unitId':_0x56c5fb,'subUnitId':_0x381369,'type':_0x47ff7a,'pivotTableId':_0x5df775,'view':_0x49b70e,'pivotConfig':_0x1f0689},'collectionConfig':{[_0x56c5fb]:_0x3c5144}},{'onlyLocal':!0x0});const _0x4e8e96=!!((_0x26fac5=this[_0x518ebe(0x24c)](_0x5df775))!=null&&_0x26fac5[_0x518ebe(0x37d)]()),_0x417190=this[_0x518ebe(0x448)](_0x56c5fb,_0x381369,_0x5df775);_0x417190&&this[_0x518ebe(0x312)]({'view':_0x49b70e,'pivotTableId':_0x5df775,'textInfo':this[_0x518ebe(0x3dc)](),'isEmpty':_0x4e8e96,'targetCellInfo':_0x417190[_0x518ebe(0x1d2)]},_0x1a701d);}[_0x5bf728(0x312)](_0x259a83,_0xa50113){const _0x213c6b=_0x5bf728,{targetCellInfo:_0x1dd4e7,pivotTableId:_0x8df65b}=_0x259a83,{unitId:_0x20bf48,subUnitId:_0x13d848}=_0x1dd4e7,_0x83c392=this[_0x213c6b(0x38c)](_0x20bf48,_0x13d848),_0x2f31a4=_0x83c392['get'](_0x8df65b);let _0x53417f,_0x33b117;_0x2f31a4&&(_0x53417f=_0x2f31a4[_0x213c6b(0x36a)],_0x33b117=_0x2f31a4[_0x213c6b(0x1d7)]);const {rangesCache:_0x4a871e,matrix:_0x20d43b}=Ui(_0x259a83);_0x83c392[_0x213c6b(0x2e3)](_0x8df65b,{'rangeCache':_0x4a871e,'matrix':_0x20d43b,'oldMatrix':_0x33b117,'oldRangeCache':_0x53417f}),_0xa50113||this['_viewData$']['next']({'unitId':_0x20bf48,'subUnitId':_0x13d848,'pivotTableId':_0x8df65b});}[_0x5bf728(0x35c)](_0x15052b,_0x57869c,_0x85bf8,_0x1de344,_0x3289f1){const _0x4f2d7e=_0x5bf728;this[_0x4f2d7e(0x31c)](_0x15052b,_0x57869c,_0x85bf8,_0x3289f1),this['_updatePivotTableInstanceCache'](_0x85bf8,_0x1de344);}[_0x5bf728(0x2ce)](_0x568a2f,_0x26ccd9,_0xbea1f5){const _0x5635ae=_0x5bf728,_0x223158=this[_0x5635ae(0x23e)](_0x568a2f);_0x223158[_0x5635ae(0x41c)](_0xbea1f5)[_0x5635ae(0x28f)](_0xfa42c8=>{_0x223158['deleteDataField'](_0xfa42c8);}),this[_0x5635ae(0x2ea)](_0x568a2f,_0xbea1f5),this[_0x5635ae(0x2e6)](_0x568a2f,_0x26ccd9,_0xbea1f5),this[_0x5635ae(0x44f)](_0xbea1f5);}[_0x5bf728(0x432)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8){const _0x2953c9=_0x5bf728;this[_0x2953c9(0x31c)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8);}[_0x5bf728(0x448)](_0x5452f0,_0x544660,_0x421503){const _0x1736e0=_0x5bf728;var _0x362684,_0x44a16c;const _0x31ba5c=(_0x44a16c=(_0x362684=this['_model'][_0x1736e0(0x21b)](_0x5452f0))==null?void 0x0:_0x362684[_0x1736e0(0x21b)](_0x544660))==null?void 0x0:_0x44a16c[_0x1736e0(0x21b)](_0x421503);if(_0x31ba5c)return _0x31ba5c;}[_0x5bf728(0x379)](_0x21e5d1,_0x5ccedc,_0x5a0a99){const _0xbf3539=_0x5bf728;var _0x2f4c57,_0x4d01ee;const _0x2a35b5=(_0x4d01ee=(_0x2f4c57=this['_model'][_0xbf3539(0x21b)](_0x21e5d1))==null?void 0x0:_0x2f4c57[_0xbf3539(0x21b)](_0x5ccedc))==null?void 0x0:_0x4d01ee[_0xbf3539(0x21b)](_0x5a0a99);if(_0x2a35b5)return _0x2a35b5['fieldsConfig'];}['getPivotTableInstance'](_0x9a9ce9){const _0x2b7a96=_0x5bf728;return this['_pivotTableInstanceCache'][_0x2b7a96(0x21b)](_0x9a9ce9);}[_0x5bf728(0x3b5)](_0x4fa0bb){const _0x2b09cb=_0x5bf728;this[_0x2b09cb(0x3a9)]['delete'](_0x4fa0bb);const _0x5abbe0=this[_0x2b09cb(0x398)][_0x2b09cb(0x21b)](_0x4fa0bb);_0x5abbe0&&(_0x5abbe0['dispose'](),this['_dataFieldManagerCollection'][_0x2b09cb(0x25a)](_0x4fa0bb)),this['_viewData']['delete'](_0x4fa0bb),this[_0x2b09cb(0x2b2)][_0x2b09cb(0x28f)](_0x556844=>{_0x556844['deleteUnitId'](_0x4fa0bb);});}[_0x5bf728(0x235)](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20){const _0x226bde=_0x5bf728;return this['getDataFieldManager'](_0x14a12f[_0x226bde(0x42b)])['addCollectionByJSON'](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20);}[_0x5bf728(0x281)](_0x5eb6ae){const _0xaa8637=_0x5bf728;return this['getDataFieldManager'](_0x5eb6ae[_0xaa8637(0x42b)])[_0xaa8637(0x281)](_0x5eb6ae);}[_0x5bf728(0x1d4)](_0x572b90,_0x3d33f7,_0x549bee){const _0x506f2f=_0x5bf728;this[_0x506f2f(0x23e)](_0x549bee[_0x506f2f(0x42b)])['refreshData'](_0x572b90,_0x3d33f7,_0x549bee);}['removeDataField'](_0x5b7e30,_0x79febb){const _0x41164e=_0x5bf728;this[_0x41164e(0x23e)](_0x5b7e30)[_0x41164e(0x406)](_0x79febb);}[_0x5bf728(0x2ea)](_0xebadef,_0xc7099){const _0x558250=_0x5bf728;this[_0x558250(0x23e)](_0xebadef)[_0x558250(0x40e)](_0xc7099);}['getSubUnitPivotConfigs'](_0x9f83fa,_0x5a3ed7){const _0x56851a=_0x5bf728;var _0x15cca7;return(_0x15cca7=this[_0x56851a(0x3a9)][_0x56851a(0x21b)](_0x9f83fa))==null?void 0x0:_0x15cca7[_0x56851a(0x21b)](_0x5a3ed7);}[_0x5bf728(0x31b)](_0x40291c){const _0x590994=_0x5bf728;for(const [_0x941f5f,_0x5dbbe5]of this[_0x590994(0x3a9)][_0x590994(0x2d6)]())for(const [_0x59ef06,_0x2fe9b4]of _0x5dbbe5['entries']())if(_0x2fe9b4[_0x590994(0x1ff)](_0x40291c))return{'unitId':_0x941f5f,'subUnitId':_0x59ef06};return null;}[_0x5bf728(0x444)](_0x4b8942,_0x3f9787,_0x217649,_0x208fb6){const _0x2d2446=_0x5bf728,_0x5119a7=this[_0x2d2446(0x38c)](_0x4b8942,_0x3f9787);_0x208fb6?_0x5119a7['set'](_0x217649,_0x208fb6):_0x5119a7[_0x2d2446(0x25a)](_0x217649),this[_0x2d2446(0x2ad)][_0x2d2446(0x216)]({'unitId':_0x4b8942,'subUnitId':_0x3f9787,'pivotTableId':_0x217649});}[_0x5bf728(0x3bc)](){const _0x1104a1=_0x5bf728;super[_0x1104a1(0x3bc)]();}[_0x5bf728(0x436)](_0x17e8f2,_0x1e610a,_0x1a990a){const _0x319519=_0x5bf728;var _0x16736c,_0x318a01;const _0x3d6d63=(_0x318a01=(_0x16736c=this['_viewData'][_0x319519(0x21b)](_0x17e8f2))==null?void 0x0:_0x16736c[_0x319519(0x21b)](_0x1e610a))==null?void 0x0:_0x318a01['get'](_0x1a990a);return _0x3d6d63||null;}[_0x5bf728(0x393)](_0x163b62){const _0x22d16d=_0x5bf728;this[_0x22d16d(0x2f7)](_0x163b62);}[_0x5bf728(0x2f7)](_0x13a51f){const _0x1c49e3=_0x5bf728,{token:_0x5b8e35,unitId:_0x242350,subUnitId:_0x440b85}=_0x13a51f,_0x567559=_0x242350+'-'+_0x440b85+'-'+_0x5b8e35;this[_0x1c49e3(0x428)][_0x1c49e3(0x21b)](_0x567559)&&clearTimeout(this['_queryingMap'][_0x1c49e3(0x21b)](_0x567559));const _0xf8408c=setTimeout(()=>{const _0x120999=_0x1c49e3;this[_0x120999(0x3d7)](_0x13a51f),this[_0x120999(0x428)][_0x120999(0x25a)](_0x567559);},Pi);this[_0x1c49e3(0x428)][_0x1c49e3(0x2e3)](_0x567559,_0xf8408c);}['queryDirtyPivotTable'](_0x222160){const _0x2541a3=_0x5bf728,{unitId:_0x2517d2,subUnitId:_0x28470f,token:_0x3a89de,type:_0x4552b2,pivotConfig:_0x1a2942}=_0x222160,_0x4be64b=this[_0x2541a3(0x24c)](_0x3a89de),_0xbfc7ec=_0x4be64b==null?void 0x0:_0x4be64b[_0x2541a3(0x3b1)](),_0x5ea36f=_0x1a2942!=null?_0x1a2942:this[_0x2541a3(0x448)](_0x2517d2,_0x28470f,_0x3a89de);_0x5ea36f&&(_0x5ea36f['isEmpty']=!!(_0x4be64b!=null&&_0x4be64b[_0x2541a3(0x37d)]())),(_0xbfc7ec||_0x4552b2===$[_0x2541a3(0x346)])&&this[_0x2541a3(0x30d)](_0x2517d2,_0x28470f,_0x4552b2,_0x3a89de,_0xbfc7ec,_0x5ea36f,this['getDataFieldManager'](_0x2517d2)['toJSON']());}[_0x5bf728(0x361)](_0x3a6abc){const _0x53f54b=_0x5bf728,_0x55372e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x53f54b(0x23e)](_0x3a6abc)&&(_0x55372e['dataFieldManagerConfig'][_0x3a6abc]=this[_0x53f54b(0x23e)](_0x3a6abc)[_0x53f54b(0x361)]()),this['_model'][_0x53f54b(0x21b)](_0x3a6abc)){_0x55372e[_0x53f54b(0x368)][_0x3a6abc]={};const _0x1f74e1=this[_0x53f54b(0x3a9)]['get'](_0x3a6abc);_0x1f74e1!=null&&_0x1f74e1[_0x53f54b(0x222)]&&[..._0x1f74e1[_0x53f54b(0x3ab)]()][_0x53f54b(0x28f)](_0x4f419f=>{const _0x34263b=_0x53f54b,_0x4a7bc5=_0x1f74e1[_0x34263b(0x21b)](_0x4f419f);_0x4a7bc5!=null&&_0x4a7bc5[_0x34263b(0x222)]&&(_0x55372e[_0x34263b(0x368)][_0x3a6abc][_0x4f419f]={},[..._0x4a7bc5[_0x34263b(0x3ab)]()][_0x34263b(0x28f)](_0x3fa964=>{const _0x5e78e4=_0x34263b,_0x50946e=_0x4a7bc5[_0x5e78e4(0x21b)](_0x3fa964);_0x50946e&&(_0x55372e[_0x5e78e4(0x368)][_0x3a6abc][_0x4f419f][_0x3fa964]=_0x50946e);}));});}return _0x55372e;}[_0x5bf728(0x2b9)](_0x850286){const _0x174a43=_0x5bf728;var _0x4bcc16;const {dataFieldManagerConfig:_0x20c490,pivotTableConfigs:_0x540a73}=_0x850286;_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x62b5fb=>{const _0x32a345=_0x174a43;this[_0x32a345(0x23e)](_0x62b5fb)[_0x32a345(0x2b9)](_0x20c490[_0x62b5fb]);});const _0x49cbc2=[];if(_0x540a73){const _0x5be5df=(_0x4bcc16=this[_0x174a43(0x24a)]['get'](_0x224426)[_0x174a43(0x3fb)](_0x1e58ed))!=null?_0x4bcc16:{},{ls:_0x492717,pbk:_0x3e3ef1}=_0x5be5df,_0x348854=go(so,_0x492717,_0x3e3ef1)[_0x174a43(0x3e9)];Object[_0x174a43(0x3ab)](_0x540a73)['forEach'](_0x58f073=>{const _0xcdb7a7=_0x174a43;let _0x24a582=0x0;const _0x36bff1=_0x540a73[_0x58f073];Object[_0xcdb7a7(0x3ab)](_0x36bff1)[_0xcdb7a7(0x28f)](_0x2483d8=>{const _0x1f459f=_0xcdb7a7,_0x5e5bb3=_0x36bff1[_0x2483d8];Object[_0x1f459f(0x3ab)](_0x5e5bb3)[_0x1f459f(0x28f)](_0x1adcd0=>{const _0x1fbb24=_0x1f459f,_0x1dec1c=_0x5e5bb3[_0x1adcd0];if(_0x1dec1c){if(_0x24a582>=_0x348854)return;_0x24a582++;const _0x2ee625=this[_0x1fbb24(0x23e)](_0x58f073),_0x338395=_0x2ee625['collections'][_0x1adcd0],_0x1df27d=_0x338395[_0x1fbb24(0x363)]();let _0x3e7f98=0x0;const _0x53a76e=[];for(const _0x3d8ed8 of _0x1df27d){const _0x17eee0=_0x338395[_0x1fbb24(0x437)](_0x3d8ed8);if(_0x3bed76(_0x17eee0)){const _0x16a3f5=_0x17eee0[_0x1fbb24(0x213)](),_0x252f96=_0x338395['getFieldById'](_0x16a3f5);_0x252f96&&_0x53a76e[_0x1fbb24(0x42a)]([_0x17eee0,_0x252f96]);continue;}_0x2ee625['refreshDataField'](_0x3d8ed8,_0x1dec1c[_0x1fbb24(0x3f8)],_0x3e7f98),_0x3e7f98++;}_0x53a76e[_0x1fbb24(0x28f)](([_0x1e21fa,_0x4e061e])=>{const _0x60b874=_0x1fbb24;_0x1e21fa[_0x60b874(0x237)](_0x4e061e);});const _0x4ddb2f=new _0x15d468(_0x338395);_0x4ddb2f[_0x1fbb24(0x2b9)](_0x1dec1c[_0x1fbb24(0x427)]),this[_0x1fbb24(0x35c)](_0x58f073,_0x2483d8,_0x1adcd0,_0x4ddb2f,_0x1dec1c);const _0x302097=_0x4ddb2f['query']();_0x49cbc2[_0x1fbb24(0x42a)]({'unitId':_0x58f073,'subUnitId':_0x2483d8,'pivotTableId':_0x1adcd0,'view':_0x302097['toJSON'](),'pivotConfig':_0x1dec1c,'type':$[_0x1fbb24(0x2b4)]});const _0x460654=!!_0x4ddb2f[_0x1fbb24(0x37d)](),_0xc07965={'view':_0x302097,'pivotTableId':_0x1adcd0,'textInfo':this[_0x1fbb24(0x3dc)](),'isEmpty':_0x460654,'targetCellInfo':_0x1dec1c[_0x1fbb24(0x1d2)]};this[_0x1fbb24(0x312)](_0xc07965,!0x1);}});});});}_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x18e541=>{const _0x2a8418=_0x174a43,_0x1cda5e=this[_0x2a8418(0x23e)](_0x18e541);this[_0x2a8418(0x30c)][_0x2a8418(0x216)](_0x1cda5e[_0x2a8418(0x278)]);}),this[_0x174a43(0x234)]['executeCommand'](Rt['id'],{'batch':_0x49cbc2,'collectionConfig':_0x20c490},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4cd27c=_0x5bf728;this[_0x4cd27c(0x3d8)](this[_0x4cd27c(0x2a2)][_0x4cd27c(0x1cd)]({'toJson':_0xbcbe2=>JSON[_0x4cd27c(0x3c7)](this[_0x4cd27c(0x361)](_0xbcbe2)),'parseJson':_0x2016f5=>{if(!_0x2016f5)return{};try{return JSON['parse'](_0x2016f5);}catch{return{};}},'businesses':[_0x332ca7[_0x4cd27c(0x25d)]],'pluginName':ao,'onLoad':(_0x398f14,_0x4c6792)=>{const _0x2c361c=_0x4cd27c;this[_0x2c361c(0x2b9)](_0x4c6792);},'onUnLoad':_0x439719=>{const _0xc2a4d=_0x4cd27c;this[_0xc2a4d(0x3b5)](_0x439719);}}));}};G=Ei([nt(0x0,_0x360cfb(_0x121ef7)),nt(0x1,_0x2fecb8),nt(0x2,_0x360cfb(_0x2dfd91)),nt(0x3,_0x4e31c1),nt(0x4,_0x360cfb(_0x4679cb))],G);const xi={0x0:{0x0:{'v':_0x5bf728(0x3c6),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x5bf728(0x3cb),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x5bf728(0x2f2),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'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':[]},Yo=(_0x37c595,_0x25687d)=>{const _0x394648=_0x5bf728,_0x9d3b4d=new _0x43fcd2(),_0x533da3=new _0x43fcd2(xi),{row:_0x4fa1e2,col:_0x12106b}=_0x25687d;_0x533da3[_0x394648(0x2f0)]((_0x31e9a6,_0x8f235c,_0x3099b9)=>{const _0x541c2f=_0x394648;let _0x1b7133='';_0x3099b9['v']==='filter'?_0x1b7133=_0x37c595[_0x541c2f(0x3c6)]:_0x3099b9['v']==='row'?_0x1b7133=_0x37c595[_0x541c2f(0x2f2)]:_0x3099b9['v']===_0x541c2f(0x3cb)?_0x1b7133=_0x37c595['column']:_0x3099b9['v']===_0x541c2f(0x2eb)&&(_0x1b7133=_0x37c595[_0x541c2f(0x2eb)]),_0x9d3b4d['setValue'](_0x31e9a6+_0x4fa1e2,_0x8f235c+_0x12106b,{..._0x3099b9,'v':_0x1b7133});});const _0x1782e5=_0x48d9e9['deepClone'](Bt);return Object[_0x394648(0x3ab)](Bt)[_0x394648(0x28f)](_0x208194=>{const _0x3259ef=_0x394648;_0x1782e5[_0x208194]=Bt[_0x208194][_0x3259ef(0x266)](_0x32140d=>({..._0x32140d,'startRow':_0x32140d[_0x3259ef(0x373)]+_0x4fa1e2,'endRow':_0x32140d['endRow']+_0x4fa1e2,'startColumn':_0x32140d['startColumn']+_0x12106b,'endColumn':_0x32140d[_0x3259ef(0x3cd)]+_0x12106b}));}),{'matrixCache':_0x9d3b4d,'rangesCache':_0x1782e5};};function Oi(_0x3e9ddd,_0x1d4455){const _0x41d940=_0x5bf728;let _0x5b3b6a='';const _0x2f69d5=this[_0x41d940(0x3dc)]();switch(_0x1d4455){case _0x597cf6[_0x41d940(0x388)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2b1)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.countName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3f5)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2cb)]+_0x3e9ddd;break;case _0x597cf6['max']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x3d5)]+_0x3e9ddd;break;case _0x597cf6['min']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x24f)]+_0x3e9ddd;break;case _0x597cf6['product']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x25b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x355)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x1d8)]+_0x3e9ddd;break;case _0x597cf6['stdDevp']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x22b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e3)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2db)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x38e)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x2c9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varpName']+_0x3e9ddd;break;default:_0x5b3b6a=_0x3e9ddd;break;}return _0x5b3b6a;}function ki(_0x594564,_0x2032f3,_0x3db150,_0x31e07c,_0x6907d8){const _0x2e2664=_0x5bf728;var _0x4694e7,_0x228728,_0x24eb20,_0x122fc8,_0x5a7274;const _0x148c74=_0x5508a5(_0x594564,_0x2032f3),{rangesInfo:_0x484719,areaInfo:_0x493b5e,headerMap:_0x73f3f2}=_0x6907d8;if(!_0x484719||!_0x493b5e||!_0x73f3f2)return;const _0x5bd394=Object[_0x2e2664(0x3ab)](_0x484719)[_0x2e2664(0x2aa)](_0xa6f0fc=>_0x484719[_0xa6f0fc][_0x2e2664(0x27c)](_0x3e0ae2=>_0x3d3208[_0x2e2664(0x420)](_0x3e0ae2,_0x148c74))),_0x3db039=_0x493b5e;let _0x1badf0,_0x1dad70,_0x36dd66;if(_0x5bd394==='rowRanges')_0x1badf0=(_0x4694e7=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3b6)])==null?void 0x0:_0x4694e7[_0x594564],_0x1dad70=(_0x228728=_0x73f3f2==null?void 0x0:_0x73f3f2[_0x2e2664(0x3d9)])==null?void 0x0:_0x228728[_0x2032f3],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394==='colRanges')_0x1badf0=(_0x24eb20=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x353)])==null?void 0x0:_0x24eb20[_0x2032f3],_0x1dad70=(_0x122fc8=_0x73f3f2[_0x2e2664(0x254)])==null?void 0x0:_0x122fc8[_0x594564+0x1+_0x2032f3-_0x484719[_0x2e2664(0x1e5)][0x0]['startColumn']],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394===_0x2e2664(0x422))_0x1badf0=(_0x5a7274=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3ce)])==null?void 0x0:_0x5a7274[_0x2032f3],_0x36dd66=_0x1badf0==null?void 0x0:_0x1badf0['tableFieldId'];else{if(_0x5bd394===_0x2e2664(0x329)){const _0x5379b7=_0x3db150==null?void 0x0:_0x3db150['fi'];_0x5379b7!==void 0x0&&(_0x36dd66=_0x31e07c['getFilterFieldIdByIndex'](_0x5379b7));}}}}return{'filterId':_0x36dd66,'info':_0x1badf0,'data':_0x3db150,'headerInfo':_0x1dad70};}function Li(_0x425f3d,_0x4139e6,_0x236f81){const _0x17c2ed=_0x5bf728,_0x302034=_0x425f3d[_0x17c2ed(0x35d)],_0x36e7fa=_0x302034[_0x17c2ed(0x363)](),_0x151231=new Set();_0x425f3d[_0x17c2ed(0x33b)](_0x2eebaa=>{const _0x38f057=_0x17c2ed;_0x151231[_0x38f057(0x2de)](_0x2eebaa[_0x38f057(0x1e0)]);});const _0xc09cde=_0x36e7fa[_0x17c2ed(0x266)](_0x27586f=>{const _0x135c79=_0x17c2ed,_0x267b14=_0x302034[_0x135c79(0x437)](_0x27586f);return{'checked':_0x151231['has'](_0x27586f),'dataFieldId':_0x267b14['id'],'id':_0x267b14['id'],'name':_0x302034[_0x135c79(0x2a1)](_0x267b14['id']),'type':_0x267b14[_0x135c79(0x2a6)](),'pivotTableId':_0x4139e6};}),_0xc2f167=[];_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8['Row'],_0x570bc8=>{const _0x5d43bd=_0x17c2ed;_0xc2f167[_0x5d43bd(0x42a)]({'dataFieldId':_0x570bc8[_0x5d43bd(0x1e0)],'tableFieldId':_0x570bc8[_0x5d43bd(0x3f9)](),'displayName':_0x570bc8[_0x5d43bd(0x2a1)]()});});const _0x2f6b40=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Column'],_0x549b15=>{const _0x32ffbc=_0x17c2ed;_0x2f6b40[_0x32ffbc(0x42a)]({'dataFieldId':_0x549b15[_0x32ffbc(0x1e0)],'tableFieldId':_0x549b15['getId'](),'displayName':_0x549b15[_0x32ffbc(0x2a1)]()});});const _0x577d40=[];if(_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8[_0x17c2ed(0x409)],_0x5efae0=>{const _0x58c52c=_0x17c2ed;_0x577d40[_0x58c52c(0x42a)]({'dataFieldId':_0x5efae0[_0x58c52c(0x1e0)],'tableFieldId':_0x5efae0['getId'](),'displayName':_0x5efae0[_0x58c52c(0x2a1)](),'format':_0x5efae0['getFormat'](),'subTotalType':_0x5efae0['getSubtotal']()});}),_0x577d40[_0x17c2ed(0x395)]>0x1){const _0x174048=_0x425f3d['getValueIndex']();(_0x425f3d['isColMultiMeasure']()?_0x2f6b40:_0xc2f167)[_0x17c2ed(0x32e)](_0x174048,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x17c2ed(0x1cf)});}const _0x3343e1=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Filter'],_0x542a63=>{const _0x31b67f=_0x17c2ed;_0x3343e1[_0x31b67f(0x42a)]({'dataFieldId':_0x542a63[_0x31b67f(0x1e0)],'tableFieldId':_0x542a63['getId'](),'displayName':_0x542a63[_0x31b67f(0x2a1)]()});});const _0x243729=_0x236f81[_0x17c2ed(0x3f8)];return{'sourceList':_0xc09cde,'sourceRange':_0x243729,'rowFields':_0xc2f167,'columnFields':_0x2f6b40,'valueFields':_0x577d40,'filterFields':_0x3343e1,'positionInfo':_0x236f81['targetCellInfo']};}function fo(_0xfb10a9,_0x5ef61b,_0x44cdc6='',_0x2042aa={}){const _0x3306e3=_0x5bf728,_0x1859e4=_0xfb10a9['get'](_0x2a9621);for(const _0x2d95ca in _0x5ef61b)if(Object[_0x3306e3(0x407)]['hasOwnProperty'][_0x3306e3(0x248)](_0x5ef61b,_0x2d95ca)){const _0x747a5c=_0x44cdc6?_0x44cdc6+'.'+_0x2d95ca:_0x2d95ca;typeof _0x5ef61b[_0x2d95ca]==_0x3306e3(0x310)&&_0x5ef61b[_0x2d95ca]!==null&&!Array[_0x3306e3(0x41a)](_0x5ef61b[_0x2d95ca])?fo(_0xfb10a9,_0x5ef61b[_0x2d95ca],_0x747a5c,_0x2042aa):_0x2042aa[_0x747a5c]=_0x1859e4['t'](_0x747a5c);}return _0x2042aa;}const $t=_0x4d90c0=>{const _0x186f75=_0x5bf728;if(!_0x4d90c0)return[];const {rowRanges:_0x2d95ea,colRanges:_0xeb9a0b,cornerRanges:_0x3d427c,dataRanges:_0x4a6cc2,pageRanges:_0x409c6d}=_0x4d90c0,_0xd7f24a=[..._0xeb9a0b,..._0x2d95ea,..._0x4a6cc2,..._0x3d427c]['filter'](_0x143d11=>_0x143d11[_0x186f75(0x373)]>=0x0&&_0x143d11[_0x186f75(0x3d2)]>=0x0&&_0x143d11[_0x186f75(0x320)]>=0x0&&_0x143d11[_0x186f75(0x3cd)]>=0x0);let _0x37e8ce=Number[_0x186f75(0x296)],_0x4fd78d=Number['MIN_SAFE_INTEGER'],_0xb081bc=Number[_0x186f75(0x296)],_0x433035=Number[_0x186f75(0x1da)];for(let _0x37a0f0=0x0;_0x37a0f0<_0xd7f24a['length'];_0x37a0f0++)_0x37e8ce=Math[_0x186f75(0x411)](_0x37e8ce,_0xd7f24a[_0x37a0f0][_0x186f75(0x373)]),_0x4fd78d=Math[_0x186f75(0x2c1)](_0x4fd78d,_0xd7f24a[_0x37a0f0]['endRow']),_0xb081bc=Math['min'](_0xb081bc,_0xd7f24a[_0x37a0f0][_0x186f75(0x3d2)]),_0x433035=Math['max'](_0x433035,_0xd7f24a[_0x37a0f0]['endColumn']);return[..._0x409c6d,{'startRow':_0x37e8ce,'endRow':_0x4fd78d,'startColumn':_0xb081bc,'endColumn':_0x433035}];};function _0x461b(){const _0xe701fc=['New','length','Style','addPivotField','_dataFieldManagerCollection','panel','setSortInfo','12tiFbkX','SetCollapse','refreshDataField','191703JswEOH','getDataFieldByDataFieldId','sheet.command.add-pivot-table','getOwnPropertyDescriptor','disposableCollection','sheets-pivot.cellDateGroupDisplay.hourMinute','getName','210670gfOWnV','getPivotItemRenderInfoCache','columnFields','setPivotSetting','_model','UpdateSource','keys','_initPivotDataGetListener','updateViewInfo','getRangeData','adjustSheetCellData','setRangeValueRedoMutation','query','getFieldPositionInfoById','getPivotTableRangeInfo','node','deleteUnitId','rowInfo','getFormatInfo','pivotMutationGenerate','_sheetInterceptorService','floor','sheets-pivot.dateGroup.month','dispose','removePivotField','1972022xoSMFX','UpdateValuePosition','#eceeff','params','valueIndex','getFieldFormat','dateType','valueFields','filter','stringify','_onRefRangeChange','remove','addPivotTableWithConfig','column','_globalSubject','endColumn','cornerInfo','sheet.command.pivot-drill-down','asyncInterceptor','markDirty$','startColumn','dataFieldManagerConfig','generateNewSheetName','sheets-pivot.maxName','originTargetInfo','queryDirtyPivotTable','disposeWithMe','rowHeaderMap','2485857KLvqSz','sheet.mutation.set-pivot-value-filter','getTextInfo','_exclusiveRangeService','getRowCount','versions','(Blank)','updateConfig','addFieldWithSourceId','sum','valueFilter','subTotalStyle','symbol','pivotTableIndexConfig','prefix','count','sheet.mutation.send-pivot-config-local','Year','startCollectChangeset','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.quarter','clearRenderCache','cellValue','_viewData','SetPivotCollapse','updateFieldPosition','limit\x20pivot','countNums','Column','SHEET_PIVOT_TABLE_PLUGIN','sourceRangeInfo','getId','sheets-pivot.dateGroup.minute','getConfig','workbook\x20is\x20not\x20found','setRangeKeyMap','forRow','onCommandExecuted','pivotConfigChange$','setPivotSort','setRange','onStarting','_ensurePivotItemRenderValueMatrixCache','SetOptions','deleteDataField','prototype','getDataFieldItemInfo','Value','renameField','sheet.mutation.send-pivot-data-local','getMatrixValue','rgb(255,255,255)','removeCollectionImp','_initDataSendListener','_ensurePivotMap','min','custom','getMatrixFromRunTimeData','pivotTableId','_initGlobalComputed','_globalComputingSrv','setPivotFilter','_globalComputedStartHelpFunc','setFieldFormat','isArray','version','getNoUsedDataFieldIds','_updateRenderEmptyCache','MovePivotField','sheet.command.set-pivot-fields-config','contains','onQueryStart','cornerRanges','Month','movePivotField','viewData$','getMatrix','fieldsConfig','_queryingMap','RemovePivotField','push','unitId','sheet.mutation.set-pivot-format','2504ZHojQH','getFieldCountByArea','subtotal','_generateUniqueVersion','sheets-pivot.cellDateGroupDisplay.minute','setPivotTable','_createExclusiveRange','AddPivotTable','collectionChange$','getViewData','getFieldById','updateRangeKeyMap','Var\x20of\x20','sheet.command.update-pivot-table-source-range','_initClearSelectionCommandInterceptor','_sheetsPivotTableConfigModel','sheets-pivot.dateGroup.hourMinute','SetPivotSetting','redos','sheets-pivot.cellDateGroupDisplay.yearMonthDate','rangeType','sheets-pivot.cellDateGroupDisplay.yearQuarter','updateAllDisplayName','sideEffectUpdateWorkerCache','sheets-pivot.dateGroup.quarter','rangeKeyMap','fetchThroughAsyncInterceptors','getPivotTableConfig','configVersion$','_subjectCollectionChange','sheets-pivot.subTotal','getTypeOfUnitDisposed$','textInfo','updatePivotTableMatrixInfo','_deletePivotTableInstanceCache','NotNumber','RemoveField','setValueFilterInfo','Subtotal','parse','uniqueDataFieldName','sheets-pivot.cellDateGroupDisplay.month','_sheetsPivotTableService','registerPluginResource','getColumnCount','ΣValue','Minute','_sheetsSelectionsService','targetCellInfo','dataFields','refreshData','getformat','getValuePosition','matrix','sheets-pivot.stdDevName','sheet.mutation.remove-pivot-table','MIN_SAFE_INTEGER','getUnit','setLabelFilterInfo','minDate','_refRangeService','_initLocale','dataFieldId','existing','getRangeStartEndInfo','getSheets','isDate','colRanges','sheets-pivot.dateGroup.monthDate','getActiveSheet','getFullYear','_viewUpdate$','Product\x20of\x20','getColumnWidth','sheet.mutation.remove-group-collection','AddField','#FFFFFF','_init','updateDataFieldsCollection','_ensurePivotItemRenderInfoCache','colStyle','triggerDirtyFeature','setSubtotalType','_sheetsPivotTableAdaptorModel','updateFieldSourceInfo','error','width','lastRow','rangeKey','getStyles','BadReference','setRangeValueUndoMutation','initDataRanges','has','from','_subjectViewChange','getAutoDisplayNameFunction','getSortInfo','updateConfigCache','sheets-pivot.dateGroup.yearMonthDate','_toJSON','_collectionChange$','return\x20','addDataFieldWithoutUnitInfo','_subjectFieldsCollectionChange','leftOffset','fieldId','sheet.command.set-pivot-value-filter','blank','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.pivot-update-value-position','_markDirty$','getRangeKeyList','getOriginFieldId','251735UanGbh','setOptions','next','oldRangeInfo','NAME','lastCol','getFilterInfo','get','\x20-\x20','getTextSize','_pivotTableMatrixInfo','filterFields','#b2b2b2','handleMoveRange','size','includes','sheets.tabs.sheet','Set','leafStyle','rowCount','YearMonthDate','resetPivotTable','DrillDown','sheets-pivot.stdDevpName','sheet.mutation.remove-pivot-field','headerMap','concat','Row','updateRenderCache','interceptCommand','getRangeKey','isBottomTotal','_commandService','addCollectionByJSON','result','refreshGroupField','_host','new','string','_initRemoveSheetCommandInterceptor','getDate','sheets-pivot.cellDateGroupDisplay.yearMonth','getDataFieldManager','getSheetId','other','_dataSyncPrimaryController','#f4f4f5','SetPivotFilter','asObservable','#e6ebfb','colCount','rangesInfo','call','_pivotTableRangeInfo','_injector','_pivotConfigChange$','getPivotTableInstance','iterateFieldDim','removeDataField','sheets-pivot.minName','NUMBER','STRING','setValuePivotFilter','_univerInstanceService','colHeaderMap','fields','dateGroupField','UpdateFieldPosition','AddPivotTableWithConfig','foreach','delete','sheets-pivot.productName','registerRefRange','UNIVER_SHEET','charCodeAt','intercept','resetArea','YearMonth','getHeaderMapItem','sheets-pivot.emptyPivot.filter','intersects','data','map','batch','sheet.mutation.add-group-collection','getDataFieldByTableId','dimension','setValue','_textInfo','getTableFieldById','setConfig','_initRegisterCommand','ManualFilter','paths','deleteField','getLastRow','16NOOoRz','_sheetsPivotRpcService','_requestResolvers','Date','collections','_ensurePivotTableRangeInfo','value','getUpdateRangeDeleteIds','some','sheets-pivot.cellDateGroupDisplay.year','notExecuteFormula','_initCommandInterceptListener','single','createCollectionWithDataRange','28vPcDWT','getUnitId','range','rowRanges','StdDev\x20of\x20','Values','getSubUnitPivotMatrix','generateMutationsByRanges','registerCallbackWithEvent','getPivotTableMatrixInfo','oldMatrix','getCollection','createDataFieldId','forEach','realDeleteValue','Varp\x20of\x20','getSheetBySheetId','sheet.mutation.update-date-group','fieldsCollectionChange$','#1d32e9','MAX_SAFE_INTEGER','sheets-pivot.columnName','addCollection','sheet.mutation.set-pivot-field-subtotal-type','Existing','collectionConfig','updateValuePosition','getInterceptPoints','measure','number','subUnitId','getDisplayName','_resourceManagerService','StdDevp\x20of\x20','getPivotTableCellData','removeField','getFieldDataType','_initPivotTextInfo','dataRangeInfo','_collectionConfigModel','find','fontRenderExtension','cornerStyle','_viewData$','sheets-pivot.dateGroup.year','sheet.command.move-pivot-field','sheet.command.remove-pivot-field','sheets-pivot.averageName','needSameDeleteModel','registerCommand','Add','formJSON','setTextInfo','filterInfo','endCollectChangeset','fromJSON','sheet.command.add-pivot-field','type','addRecord','NORMAL','registerDirtyService','NUM','collection','max','ResetPivotTable','Quarter','pbt','_initViewModelBySheetInterceptor','sheet.command.set-pivot-filter','getSubUnitPivotRenderCache','HourMinute','varp','SetValueFilter','sheets-pivot.countNumsName','level','sourceName','removePivotTable','setDirty','body','getColCount','COLUMN','RenameField','subscribe','getPivotTableIdByCell','entries','sheets-pivot.grandTotal','Filter','iterateFieldByArea','random','sheets-pivot.sumName','Sum\x20of\x20','_pivotInitCompleted$','add','_globalComputedEndHelpFunc','30jEVKOv','getSubUnitPivotConfigs','broadcastCollectionChange','set','substring','_ensurePivotTableMatrixInfo','_deleteModelCache','getRefRangeMutationsByMoveRange','options','dataStream','removeCollections','values','getFieldInfo','sheet.command.set-pivot-sort','218lDnbGI','_getAutoName','forValue','fieldIds','row','grandTotal','Count\x20of\x20','14GHjmAY','sheet.mutation.send-init-pivot-text-local','updateDirtyPivotTable','getSourceName','getIndexesByPathStr','message','_config','getMonth','9iDhCkV','markDirty','_initSnapshot','FORCE_STRING','sheets-pivot.dateGroup.yearQuarter','setName','areaInfo','getValueFilterInfos','sheet.command.set-pivot-field-setting','updatePivotTableRangeInfo','Max\x20of\x20','SetPivotTableConfig','_configVersion$','isValue','reset','_fieldsCollectionChange$','updateView','_pivotTableInstanceCache','sheet.mutation.rename-pivot-field','object','sheets-pivot.dateGroup.yearMonth','updateViewData','removeValueFilterInfoByValueFieldId','executeCommand','setDataRecordCount','Expand','_sheetsPivotDataSourceModel','clearExclusiveRangesByGroupId','Grand\x20Total','undos','getTargetByPivotId','_updateModelCache','setSourceName','collapseInfo','sheet.command.move-pivot-table','endRow','removeSourceRangeChange','getDirtyInfo','_localeService','Panel','_featureCalculationManagerService','SetSubtotalType','updatePivotSource','SetPivotSort','pageRanges','_pivotRenderInfoCache','getDataFieldId','document','registerSyncingMutations','splice','sheet.operation.pivot-table-view-formula-mark-dirty','setPivotCollapse','MUTATION','UpdatePivotSource','displayName','#e6ebfa','rowFields','addField','pushUndoRedo','addExclusiveRange','maxDate','sheets-pivot.value','iterateField','sheets-pivot.blank','2085AzKLkf','getCellRaw','sheet.mutation.pivot-update-field-source-info','NotFunction','getCellMatrix','shouldClear','_getPivotAppliedRanges','Div0','_activeDirtyManagerService','Delete','token','split','setPivotInitCompleted','removeValueFilterInfo','REF','interceptor','updateCollectionConfig','ptn','sheets-pivot.config','getCurrentUnitForType','originalFieldId','getLastCol','colInfo','_initUnitDisposed','stdDev','getSheetBySheetName','CELL_CONTENT','slice','SHEET_PIVOT_IN_MAIN_THREAD','_updatePivotTableInstanceCache','getValue','addPivotTable','dataFieldsCollection','BLANK_PLACEHOLDER','handleSourceRangeChange','sheetName','toJSON','name','getFieldIds','AddPivotField','Min\x20of\x20','defineProperty','update','pivotTableConfigs','format','rangeCache','SetSortInfo','sheets-pivot.emptyPivot.column','register','sortInfo','getValueIndex','sheets-pivot.dateGroup.date','viewUpdate$','_pivotRenderValueMatrixCache','startRow','sheets-pivot.other','sheet.mutation.send-pivot-view-local','valuePosition','_initConfig','info','getPivotTableModelConfig','col','getAutoFitColumnsMutations','Hour','isEmpty','GrandTotal','getSubtotal','COMMAND','sheet.mutation.set-pivot-position','getPivotDisplayConfig','getIntersects','getPivotPerformCheck','onQueryEnd','SetValuePivotFilter','drillDown','average','DIV_BY_ZERO','getTargetByPivotTableId','_configService','_ensureViewDataMap','setCollapse','var','sheet.mutation.get-pivot-data-local','tableFieldId','None','unshift','addDirtyPivotTable'];_0x461b=function(){return _0xe701fc;};return _0x461b();}function Bi(_0x467bce,_0x45bb67){const _0x1e4041=_0x5bf728,_0x4aad59=_0x45bb67[_0x1e4041(0x3c1)]['drillDown'],{pivotTableId:_0x437ff8,unitId:_0x251cdd,subUnitId:_0x1ad941}=_0x45bb67;if(!_0x4aad59)return;const _0xa4be3b=_0x467bce['get'](G),_0x928b2=_0xa4be3b[_0x1e4041(0x24c)](_0x437ff8),_0x8fb693=_0xa4be3b[_0x1e4041(0x448)](_0x251cdd,_0x1ad941,_0x437ff8);if(!_0x928b2||!_0x8fb693)return;const _0x313b34=_0x928b2[_0x1e4041(0x2f9)](_0x4aad59['tuple']);if(!(_0x313b34!=null&&_0x313b34[_0x1e4041(0x395)]))return;const _0x111396=_0x8fb693[_0x1e4041(0x3f8)],{unitId:_0x700434,subUnitId:_0x30670a,range:_0x1aa6fd}=_0x111396;let _0x57eff7=0x0;const _0x129d65=_0x928b2[_0x1e4041(0x35d)]['getFieldIds']()['reduce']((_0x1f9d6c,_0x52ecb7)=>{var _0x467aea;const _0x402ac2=(_0x467aea=_0x928b2['getDataFieldByDataFieldId'](_0x52ecb7))==null?void 0x0:_0x467aea['getformat']();return _0x402ac2&&(_0x1f9d6c[String(_0x57eff7)]=_0x402ac2),_0x57eff7++,_0x1f9d6c;},{});return{'indexes':_0x313b34,'range':_0x1aa6fd,'sourceUnitId':_0x700434,'sourceSubUnitId':_0x30670a,'formatMap':_0x129d65};}function Ko(_0x27be3b,_0x4b7147){const _0x9444da=_0x5bf728;if(!_0x27be3b||!_0x4b7147)return!0x0;const _0x589517=_0x30309b(Wo,Jo),_0x5e8e45=new Function(_0x9444da(0x208)+_0x589517)()(_0x27be3b,_0x4b7147)['message'],_0x49259c=_0x174e93(_0x5e8e45,'sf',Lo);return!((_0x5e8e45==null?void 0x0:_0x5e8e45['rt'])===_0x2c1fa3['NO_COMMERCIAL']&&!_0x49259c);}function go(_0x1c240c,_0x31761a,_0xbec88b){const _0xadf77=_0x5bf728,_0x46d45f={'count':_0x1c240c,'timeValid':!0x1};if(!_0x31761a||!_0xbec88b)return _0x46d45f;const _0x4942cc=_0x30309b(Wo,Jo),_0x34df3f=new Function(_0xadf77(0x208)+_0x4942cc)()(_0x31761a,_0xbec88b);if(_0x34df3f!=null&&_0x34df3f['valid']){const _0xe566d9=_0x34df3f[_0xadf77(0x2fa)],_0x1c0a08=_0x174e93(_0xe566d9,'sf',Lo);return{'count':_0x108804(_0xe566d9,_0x1c0a08,_0xadf77(0x34e),_0x1c240c,_0x1c240c,0x0),'timeValid':_0x1c0a08};}return _0x46d45f;}function Ho(_0x5963ba,_0x5781d3,_0x38693c,_0x5c662a){const _0x4f8abe=_0x5bf728,_0x37fbe4={'subUnitId':_0x38693c,'unitId':_0x5781d3,'cellValue':_0x75ebc2(_0x5c662a)},_0x524b97=_0x289bda(_0x5963ba,_0x37fbe4);let _0x5b3418=!0x1;return new _0x43fcd2(_0x524b97[_0x4f8abe(0x3f0)])[_0x4f8abe(0x2f0)]((_0xdd66f9,_0x533d63,_0x2246ac)=>{const _0x48bb87=_0x4f8abe;if(!_0x5b3418&&_0x2246ac&&(_0x2246ac[_0x48bb87(0x412)]||_0x2246ac['f']||_0x2246ac['p']||_0x2246ac['s']||_0x2246ac['si']||_0x2246ac['t']||_0x2246ac['v']))return _0x5b3418=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x24965e['id'],'params':_0x524b97},'setRangeValueRedoMutation':{'id':_0x24965e['id'],'params':_0x37fbe4},'shouldClear':_0x5b3418};}function $i(_0x32f605){const {row:_0xac7a7,col:_0x1dd284}=_0x32f605,_0x46606c={'startRow':_0xac7a7,'endRow':_0xac7a7,'startColumn':_0x1dd284,'endColumn':_0x1dd284},_0x507798={'startRow':_0xac7a7+0x2,'endRow':_0xac7a7+0xe,'startColumn':_0x1dd284,'endColumn':_0x1dd284+0x6};return[_0x46606c,_0x507798];}function Gi(_0x3eeec7,_0x25f980,_0x1d20e8){const _0x26a1c2=_0x5bf728,{cornerView:_0x1dbc84,rowView:_0x250366,colView:_0x161196,pageView:_0x5c4b9f}=_0x3eeec7,{row:_0x4b474e,col:_0x16de01}=_0x25f980;if(_0x1d20e8)return{'rowCount':bi+_0x4b474e,'colCount':Si+_0x16de01};const _0x3d92e5=_0x5c4b9f[_0x26a1c2(0x1f9)]>-0x1?_0x5c4b9f[_0x26a1c2(0x1f9)]+0x1:0x0,_0x1a1f48=_0x5c4b9f[_0x26a1c2(0x219)]>-0x1?_0x5c4b9f['lastCol']:0x0,_0x25e203=_0x4b474e+_0x3d92e5+(_0x3d92e5?0x1:0x0)+_0x1dbc84[_0x26a1c2(0x227)]+_0x250366['rowCount'],_0x263d5d=_0x16de01+_0x1a1f48,_0x4ce9df=_0x16de01+_0x1dbc84[_0x26a1c2(0x246)]+_0x161196[_0x26a1c2(0x246)],_0x4cbb4d=Math[_0x26a1c2(0x2c1)](_0x263d5d,_0x4ce9df);return{'rowCount':_0x25e203,'colCount':_0x4cbb4d};}function we(_0x5e2f8b,_0x52531f,_0x2f1586,_0x5340b8){const _0x587134=_0x5bf728,{row:_0x19f574,col:_0x18a4f1,unitId:_0x12ccbd,subUnitId:_0x597dcd}=_0x2f1586,_0x1ad341=Gi(_0x52531f,{'row':_0x19f574,'col':_0x18a4f1},_0x5340b8),_0x2c24ea=_0x5e2f8b[_0x587134(0x21b)](_0x2fecb8),_0x56eff0=_0x5b1933(_0x2c24ea,{'unitId':_0x12ccbd,'subUnitId':_0x597dcd}),_0x510e70=[],_0x42929a=[];if(!_0x56eff0)return{'undos':_0x42929a,'redos':_0x510e70};const {worksheet:_0x3b5e0e}=_0x56eff0,_0x1f6244=_0x3b5e0e['getRowCount'](),_0x51c35c=_0x3b5e0e[_0x587134(0x1ce)]();return _0x1f6244<_0x1ad341[_0x587134(0x227)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0x70acf4['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341[_0x587134(0x227)]-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}}),_0x42929a['push']({'id':_0x2c9689['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}})),_0x51c35c<_0x1ad341[_0x587134(0x246)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0xded336['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341['colCount']-0x1}}}),_0x42929a[_0x587134(0x42a)]({'id':_0x19ed4c['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341[_0x587134(0x246)]-0x1}}})),{'undos':_0x42929a,'redos':_0x510e70};}function ji(_0x28772d){const _0x24c2a4=_0x5bf728;let _0x226881=0x0;for(let _0x149db9=0x0;_0x149db9<_0x28772d[_0x24c2a4(0x395)];_0x149db9++){const _0x38e273=_0x28772d[_0x24c2a4(0x25e)](_0x149db9);_0x38e273>=0x4e00&&_0x38e273<=0x9fff||_0x38e273>=0x3000&&_0x38e273<=0x303f||_0x38e273>=0xff00&&_0x38e273<=0xffef?_0x226881+=0x2:_0x226881+=0x1;}return _0x226881;}function yo(_0x190138,_0x1a2c2f,_0x2f74b8,_0x38be28){const _0x101f68=_0x5bf728;var _0x2679cb,_0x285516,_0x36ac26,_0x4462c9;const {rowCount:_0x9ddb23,colCount:_0xb87277,headerMap:_0x3df26b}=_0x190138,_0x34f33d=0x64,_0x3ad528=Math[_0x101f68(0x411)](_0x9ddb23,_0x34f33d),_0x3796bd=Math[_0x101f68(0x411)](_0xb87277,_0x34f33d);let _0xdfcb4f='',_0x4cfc03=0x0;for(let _0x4378a2=0x0;_0x4378a2<_0x3ad528;_0x4378a2++)for(let _0x523f56=0x0;_0x523f56<_0x3796bd;_0x523f56++){const _0x5e0e79={...(_0x285516=(_0x2679cb=_0x190138[_0x101f68(0x265)])==null?void 0x0:_0x2679cb[_0x4378a2])==null?void 0x0:_0x285516[_0x523f56]},_0x18cbd7=(_0x36ac26=_0x3df26b[_0x4378a2])==null?void 0x0:_0x36ac26[_0x101f68(0x390)],_0x3ae10d=_0x38be28[_0x18cbd7];let _0x24a96f=_0x190138[_0x101f68(0x35b)](_0x4378a2,_0x523f56);if(_0x5e0e79){const _0x344207=_0x2f74b8?_0x523f56===0x0&&((_0x4462c9=_0x190138[_0x101f68(0x262)](_0x523f56+0x1))==null?void 0x0:_0x4462c9['isValue']):!0x1;_0x24a96f=vt(_0x5e0e79,_0x344207,_0x3ae10d,_0x1a2c2f);}if(_0x24a96f!==void 0x0){const _0x2b47f0=ji(String(_0x24a96f));_0x4cfc03<_0x2b47f0&&(_0xdfcb4f=String(_0x24a96f),_0x4cfc03=_0x2b47f0);}}return _0xdfcb4f;}function Ji(_0x46c07f){const _0x30eacc=_0x5bf728,{rowCount:_0x49c835,colCount:_0x447941}=_0x46c07f;let _0x3a5163='',_0x3fb48f=0x0;for(let _0xd0e580=_0x49c835-0x1;_0xd0e580>0x0&&_0xd0e580>_0x49c835-0x3;_0xd0e580--)for(let _0x1ab782=0x0;_0x1ab782<_0x447941;_0x1ab782++){const _0x1fe74f=_0x46c07f[_0x30eacc(0x35b)](_0xd0e580,_0x1ab782);if(_0x1fe74f!==void 0x0){const _0x248474=String(_0x1fe74f)[_0x30eacc(0x395)];_0x3fb48f<_0x248474&&(_0x3a5163=String(_0x1fe74f),_0x3fb48f=_0x248474);}}return _0x3a5163;}function Wi(_0xed7075){const _0xf97d7b=_0x5bf728,{rowCount:_0x1eeb3c,colCount:_0x24700d}=_0xed7075;let _0x4f611b='',_0x76d32c=0x0;for(let _0x467bc4=0x0;_0x467bc4<_0x1eeb3c;_0x467bc4++)for(let _0x3ad59a=0x0;_0x3ad59a<_0x24700d;_0x3ad59a++){const _0x1ec33e=_0xed7075[_0xf97d7b(0x35b)](_0x467bc4,_0x3ad59a);if(_0x1ec33e!==void 0x0){const _0x34fb66=String(_0x1ec33e)[_0xf97d7b(0x395)];_0x76d32c<_0x34fb66&&(_0x4f611b=String(_0x1ec33e),_0x76d32c=_0x34fb66);}}return _0x4f611b;}function Yi(_0x2ebbd0,_0x29284a){const _0x4dbb6e=_0x5bf728,{rowFields:_0x12d5c2,columnFields:_0x3bd323,valueFields:_0x304502,filterFields:_0x42d90f,dimension:_0x59bd63,measure:_0x451e52}=_0x29284a;for(const _0x31b34b of _0x12d5c2){const _0x28e316=_0x59bd63[_0x31b34b];_0x28e316&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x28e316[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x28e316[_0x4dbb6e(0x1e0)],_0x3a6ce8['Row'],void 0x0,_0x31b34b),_0x28e316[_0x4dbb6e(0x333)]&&_0x2ebbd0['renameField'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x333)]),_0x28e316[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x36e)]),_0x28e316[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x2b7)]));}for(const _0x1134e7 of _0x3bd323){const _0x568200=_0x59bd63[_0x1134e7];_0x568200&&_0x2ebbd0[_0x4dbb6e(0x39f)](_0x568200[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x568200['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x3f6)],void 0x0,_0x1134e7),_0x568200[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x36e)]),_0x568200['filterInfo']&&_0x2ebbd0['setLabelFilterInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x2b7)]),_0x568200[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x568200['id'],_0x568200['displayName']));}for(const _0x5874f5 of _0x42d90f){const _0x33455d=_0x59bd63[_0x5874f5];_0x33455d&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x33455d[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x33455d['dataFieldId'],_0x3a6ce8['Filter'],void 0x0,_0x5874f5),_0x33455d['sortInfo']&&_0x2ebbd0[_0x4dbb6e(0x39a)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x36e)]),_0x33455d[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x2b7)]),_0x33455d[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x33455d['id'],_0x33455d['displayName']));}for(const _0x14c1a4 of _0x304502){const _0x209094=_0x451e52[_0x14c1a4];_0x209094&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x209094[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x209094['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x409)],void 0x0,_0x14c1a4),_0x209094[_0x4dbb6e(0x42f)]!==void 0x0&&_0x2ebbd0[_0x4dbb6e(0x1f4)](_0x14c1a4,_0x209094[_0x4dbb6e(0x42f)]),_0x209094[_0x4dbb6e(0x369)]&&_0x2ebbd0[_0x4dbb6e(0x419)](_0x14c1a4,_0x209094['format']),_0x209094['displayName']&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x209094['id'],_0x209094[_0x4dbb6e(0x333)]));}const _0x23ba87=_0x29284a[_0x4dbb6e(0x3e4)];for(const {fieldId:_0x5a92e2,filterInfo:_0x3965c5}of _0x23ba87)_0x2ebbd0['setValueFilterInfo'](_0x5a92e2,_0x3965c5);}function Ki(_0x1445ad,_0x3ee04c){const _0x1a5a50=_0x5bf728,_0x108346=[];_0x3ee04c===_0x3a6ce8['Row']&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x22f)],_0x5d308a=>{const _0x2d5e64=_0x1a5a50;_0x108346[_0x2d5e64(0x42a)](_0x5d308a['getId']());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x3f6)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8['Column'],_0x199690=>{const _0x305abf=_0x1a5a50;_0x108346['push'](_0x199690[_0x305abf(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x2d8)]&&_0x1445ad['iterateFieldByArea'](_0x3a6ce8[_0x1a5a50(0x2d8)],_0x2d5d1=>{const _0x29e4a0=_0x1a5a50;_0x108346[_0x29e4a0(0x42a)](_0x2d5d1[_0x29e4a0(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x409)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x409)],_0x531030=>{const _0xe77000=_0x1a5a50;_0x108346[_0xe77000(0x42a)](_0x531030['getId']());}),_0x3ee04c===void 0x0&&_0x1445ad[_0x1a5a50(0x33b)](_0x3aed4d=>{const _0xb4c930=_0x1a5a50;_0x108346[_0xb4c930(0x42a)](_0x3aed4d['getId']());});const _0x216ff7=_0x108346['length'];for(let _0x512352=_0x216ff7-0x1;_0x512352>=0x0;_0x512352--)_0x1445ad[_0x1a5a50(0x2a5)](_0x108346[_0x512352]);const _0x3c1809=_0x1445ad[_0x1a5a50(0x304)]();for(const _0x244e50 in _0x3c1809)_0x1445ad[_0x1a5a50(0x34a)](_0x244e50);}function Hi(_0x1363b5,_0x43fd14){const _0x5055f7=_0x5bf728,_0x35d7c5=new Date(_0x15768b(_0x43fd14)),_0x3790d3=new Date(_0x15768b(_0x1363b5)),_0x50f9e9=_0x35d7c5['getFullYear'](),_0x184d10=_0x3790d3[_0x5055f7(0x1e8)](),_0x4ef3f7=_0x35d7c5['getMonth'](),_0x4b0567=_0x3790d3[_0x5055f7(0x2fc)](),_0x4e8cae=_0x35d7c5[_0x5055f7(0x23c)](),_0x4c0ac6=_0x3790d3[_0x5055f7(0x23c)](),_0x359fe7=_0x50f9e9===_0x184d10,_0x16ea23=_0x359fe7&&_0x4ef3f7===_0x4b0567;return _0x359fe7&&_0x16ea23&&!(_0x16ea23&&_0x4e8cae===_0x4c0ac6)?_0x1dcfc0[_0x5055f7(0x228)]:_0x359fe7&&!_0x16ea23?_0x1dcfc0['YearMonth']:_0x1dcfc0['Year'];}function qo(_0x43dae5,_0x6c55b9){const _0x541e90=_0x5bf728,_0x29e1c0=_0x43dae5[_0x541e90(0x21b)](G)['getTextInfo']();let _0x50f7f5='';switch(_0x6c55b9){case _0x1dcfc0[_0x541e90(0x228)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x205)];break;case _0x1dcfc0[_0x541e90(0x261)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x311)];break;case _0x1dcfc0['Year']:_0x50f7f5=_0x29e1c0[_0x541e90(0x2ae)];break;case _0x1dcfc0[_0x541e90(0x423)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x3bb)];break;case _0x1dcfc0['Quarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x445)];break;case _0x1dcfc0[_0x541e90(0x277)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x370)];break;case _0x1dcfc0[_0x541e90(0x2c8)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x43d)];break;case _0x1dcfc0[_0x541e90(0x37c)]:_0x50f7f5=_0x29e1c0['sheets-pivot.dateGroup.hour'];break;case _0x1dcfc0['Minute']:_0x50f7f5=_0x29e1c0[_0x541e90(0x3fa)];break;case _0x1dcfc0['MonthDate']:_0x50f7f5=_0x29e1c0[_0x541e90(0x1e6)];break;case _0x1dcfc0['YearQuarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x301)];break;default:_0x50f7f5='';break;}return _0x50f7f5;}const zo=_0x5bf728(0x34f),Mo={};var qi=Object['getOwnPropertyDescriptor'],zi=(_0x3b0493,_0x4596e6,_0x159c7c,_0x5cfeda)=>{const _0x3ac240=_0x5bf728;for(var _0xde70f0=_0x5cfeda>0x1?void 0x0:_0x5cfeda?qi(_0x4596e6,_0x159c7c):_0x4596e6,_0x4cf9ff=_0x3b0493[_0x3ac240(0x395)]-0x1,_0x209b12;_0x4cf9ff>=0x0;_0x4cf9ff--)(_0x209b12=_0x3b0493[_0x4cf9ff])&&(_0xde70f0=_0x209b12(_0xde70f0)||_0xde70f0);return _0xde70f0;},it=(_0x2c6e42,_0x5c136d)=>(_0x52cec2,_0x46f5e0)=>_0x5c136d(_0x52cec2,_0x46f5e0,_0x2c6e42);let ve=class extends _0x25f1fb{constructor(_0x1e3f2e,_0x1adf3f,_0x16953d,_0x2cf24e,_0x128d59){const _0x44e8bb=_0x5bf728;super(),V(this,_0x44e8bb(0x3a9),new Map()),V(this,_0x44e8bb(0x2a9),new Map()),V(this,_0x44e8bb(0x249),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0x44e8bb(0x309),new _0x688d9a()),V(this,'_pivotInitCompleted$',new _0x688d9a()),V(this,'pivotInitCompleted$',this[_0x44e8bb(0x2dd)]['asObservable']()),V(this,'_pivotConfigChange$',new _0x688d9a()),V(this,_0x44e8bb(0x400),this['_pivotConfigChange$']['asObservable']()),V(this,_0x44e8bb(0x26c),{}),V(this,_0x44e8bb(0x449),this['_configVersion$'][_0x44e8bb(0x244)]()),(this[_0x44e8bb(0x24a)]=_0x1e3f2e,this['_commandService']=_0x1adf3f,this[_0x44e8bb(0x253)]=_0x16953d,this[_0x44e8bb(0x2a2)]=_0x2cf24e,this[_0x44e8bb(0x38b)]=_0x128d59,this['_initLocale'](),this[_0x44e8bb(0x354)]());const _0x503609=this[_0x44e8bb(0x38b)][_0x44e8bb(0x3fb)](zo);(_0x503609==null?void 0x0:_0x503609[_0x44e8bb(0x27e)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x519ae8=_0x5bf728;this['disposeWithMe'](this[_0x519ae8(0x253)][_0x519ae8(0x44c)](_0x332ca7[_0x519ae8(0x25d)])['subscribe'](_0x5f9f08=>{const _0x2b5bf1=_0x519ae8;this['deleteUnitId'](_0x5f9f08[_0x2b5bf1(0x283)]());}));}[_0x5bf728(0x349)](){const _0x261e4d=_0x5bf728;this[_0x261e4d(0x2dd)]['next'](!0x0);}[_0x5bf728(0x1df)](){const _0x301700=_0x5bf728,_0x13e426=fo(this['_injector'],$o,'',{});this[_0x301700(0x26c)]=_0x13e426,this['_commandService']['executeCommand'](uo['id'],{'textInfo':_0x13e426},{'onlyLocal':!0x0});}[_0x5bf728(0x3dc)](){return this['_textInfo'];}[_0x5bf728(0x3ad)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c,_0x4f0afd){const _0x23c12f=_0x5bf728;this[_0x23c12f(0x44e)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c),this[_0x23c12f(0x306)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4f0afd);}[_0x5bf728(0x448)](_0x2a7eec,_0x25d9ef,_0x327e50){const _0x2732f0=_0x5bf728;var _0x43d119;const _0x34137=(_0x43d119=this[_0x2732f0(0x3a9)]['get'](_0x2a7eec))==null?void 0x0:_0x43d119[_0x2732f0(0x21b)](_0x25d9ef);if(_0x34137)return _0x34137['get'](_0x327e50);}[_0x5bf728(0x38a)](_0x3266d6,_0x5ab510){const _0x3f57c6=_0x5bf728,_0x32f9e5=this[_0x3f57c6(0x3a9)][_0x3f57c6(0x21b)](_0x3266d6);if(_0x32f9e5){for(const [_0x56a7c0,_0x3f29f3]of _0x32f9e5[_0x3f57c6(0x2d6)]())for(const [_0x47fcaa,_0x1a8573]of _0x3f29f3[_0x3f57c6(0x2d6)]())if(_0x47fcaa===_0x5ab510)return _0x1a8573[_0x3f57c6(0x1d2)];}}[_0x5bf728(0x31b)](_0x56a879,_0x4e1d15,_0x2107cc){const _0x2edc30=_0x5bf728,_0x2e1a1e=this[_0x2edc30(0x448)](_0x56a879,_0x4e1d15,_0x2107cc);return _0x2e1a1e==null?void 0x0:_0x2e1a1e[_0x2edc30(0x1d2)];}[_0x5bf728(0x2e1)](_0x531cc8,_0x3087b9){const _0x2e070d=_0x5bf728;var _0xb6900a;return(_0xb6900a=this[_0x2e070d(0x3a9)][_0x2e070d(0x21b)](_0x531cc8))==null?void 0x0:_0xb6900a[_0x2e070d(0x21b)](_0x3087b9);}[_0x5bf728(0x204)](_0x553325,_0x29da83,_0x394a6a,_0x4f454f){const _0x14f4fe=_0x5bf728,_0x18cbca=this[_0x14f4fe(0x410)](_0x553325,_0x29da83);_0x4f454f?_0x18cbca[_0x14f4fe(0x2e3)](_0x394a6a,_0x4f454f):_0x18cbca['delete'](_0x394a6a),this[_0x14f4fe(0x24b)][_0x14f4fe(0x216)]({'unitId':_0x553325,'subUnitId':_0x29da83,'pivotTableId':_0x394a6a,'pivotTableConfig':_0x4f454f});}[_0x5bf728(0x28d)](_0x3fbb88,_0x244a1e){const _0x1335c4=_0x5bf728;var _0x5d08ea;return(_0x5d08ea=this['_collectionConfigModel'][_0x1335c4(0x21b)](_0x3fbb88))==null?void 0x0:_0x5d08ea[_0x1335c4(0x278)][_0x244a1e];}[_0x5bf728(0x34d)](_0x29c64e,_0x2883ad){const _0x39434e=_0x5bf728;this['_collectionConfigModel'][_0x39434e(0x2e3)](_0x29c64e,_0x2883ad),this[_0x39434e(0x309)][_0x39434e(0x216)](Math[_0x39434e(0x2da)]());}[_0x5bf728(0x410)](_0x335580,_0x58e71e){const _0x69e783=_0x5bf728;let _0x430c12=this[_0x69e783(0x3a9)][_0x69e783(0x21b)](_0x335580);_0x430c12||(_0x430c12=new Map(),this[_0x69e783(0x3a9)][_0x69e783(0x2e3)](_0x335580,_0x430c12));let _0x38f061=_0x430c12[_0x69e783(0x21b)](_0x58e71e);return _0x38f061||(_0x38f061=new Map(),_0x430c12[_0x69e783(0x2e3)](_0x58e71e,_0x38f061)),_0x38f061;}[_0x5bf728(0x279)](_0x581da5,_0x1e673c){const _0x45e139=_0x5bf728;let _0x177f50=this['_pivotTableRangeInfo'][_0x45e139(0x21b)](_0x581da5);_0x177f50||(_0x177f50=new Map(),this[_0x45e139(0x249)][_0x45e139(0x2e3)](_0x581da5,_0x177f50));let _0x358b9b=_0x177f50[_0x45e139(0x21b)](_0x1e673c);return _0x358b9b||(_0x358b9b=new Map(),_0x177f50[_0x45e139(0x2e3)](_0x1e673c,_0x358b9b)),_0x358b9b;}[_0x5bf728(0x2e5)](_0x49cc38,_0x3d9290){const _0x3d404d=_0x5bf728;let _0x7bbd75=this[_0x3d404d(0x21e)][_0x3d404d(0x21b)](_0x49cc38);_0x7bbd75||(_0x7bbd75=new Map(),this['_pivotTableMatrixInfo']['set'](_0x49cc38,_0x7bbd75));let _0x596572=_0x7bbd75[_0x3d404d(0x21b)](_0x3d9290);return _0x596572||(_0x596572=new Map(),_0x7bbd75[_0x3d404d(0x2e3)](_0x3d9290,_0x596572)),_0x596572;}[_0x5bf728(0x306)](_0x53ba8f,_0x48b7bb,_0x243354,_0x28d971){const _0x216cd1=_0x5bf728;var _0x2dd27d;const _0x16eaab=this[_0x216cd1(0x279)](_0x53ba8f,_0x48b7bb),_0x4d026b=(_0x2dd27d=_0x16eaab[_0x216cd1(0x21b)](_0x243354))==null?void 0x0:_0x2dd27d[_0x216cd1(0x217)];_0x16eaab[_0x216cd1(0x2e3)](_0x243354,{'oldRangeInfo':_0x4d026b,'rangeInfo':_0x28d971});}[_0x5bf728(0x44e)](_0x8042c0,_0x39b000,_0x434168,_0x4071e2){const _0xa3dd05=_0x5bf728;var _0x1a4020;const _0x1e2256=this['_ensurePivotTableMatrixInfo'](_0x8042c0,_0x39b000),_0x2ab441=(_0x1a4020=_0x1e2256[_0xa3dd05(0x21b)](_0x434168))==null?void 0x0:_0x1a4020[_0xa3dd05(0x28c)];_0x1e2256[_0xa3dd05(0x2e3)](_0x434168,{'oldMatrix':_0x2ab441,'matrix':_0x4071e2});}[_0x5bf728(0x3b3)](_0xc445dd,_0x44966d,_0x52ceaa){const _0x432623=_0x5bf728;var _0x300f50,_0x19f514;return(_0x19f514=(_0x300f50=this['_pivotTableRangeInfo'][_0x432623(0x21b)](_0xc445dd))==null?void 0x0:_0x300f50['get'](_0x44966d))==null?void 0x0:_0x19f514[_0x432623(0x21b)](_0x52ceaa);}[_0x5bf728(0x28b)](_0x44c6a6,_0x4396e1,_0x18cd2d){const _0x53597d=_0x5bf728;var _0x24251a,_0x5171df;return(_0x5171df=(_0x24251a=this[_0x53597d(0x21e)][_0x53597d(0x21b)](_0x44c6a6))==null?void 0x0:_0x24251a[_0x53597d(0x21b)](_0x4396e1))==null?void 0x0:_0x5171df['get'](_0x18cd2d);}[_0x5bf728(0x3b5)](_0x1da089){const _0x370fee=_0x5bf728;this[_0x370fee(0x3a9)][_0x370fee(0x25a)](_0x1da089),this[_0x370fee(0x2a9)][_0x370fee(0x25a)](_0x1da089);}['_toJSON'](_0x3d5933){const _0x5e9035=_0x5bf728,_0x5e8bbf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5e9035(0x2a9)][_0x5e9035(0x21b)](_0x3d5933)&&(_0x5e8bbf[_0x5e9035(0x3d3)][_0x3d5933]=this['_collectionConfigModel'][_0x5e9035(0x21b)](_0x3d5933)),this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933)){_0x5e8bbf[_0x5e9035(0x368)][_0x3d5933]={};const _0xeef437=this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933);_0xeef437!=null&&_0xeef437['size']&&[..._0xeef437[_0x5e9035(0x3ab)]()][_0x5e9035(0x28f)](_0x395873=>{const _0x1024f8=_0x5e9035,_0x23a658=_0xeef437['get'](_0x395873);_0x23a658!=null&&_0x23a658[_0x1024f8(0x222)]&&(_0x5e8bbf[_0x1024f8(0x368)][_0x3d5933][_0x395873]={},[..._0x23a658[_0x1024f8(0x3ab)]()][_0x1024f8(0x28f)](_0x897e2c=>{const _0x4d68e6=_0x23a658['get'](_0x897e2c);_0x4d68e6&&(_0x5e8bbf['pivotTableConfigs'][_0x3d5933][_0x395873][_0x897e2c]=_0x4d68e6);}));});}return _0x5e8bbf;}['_initSnapshot'](){const _0x2e324e=_0x5bf728;this[_0x2e324e(0x3d8)](this[_0x2e324e(0x2a2)][_0x2e324e(0x1cd)]({'toJson':_0x7e79cd=>JSON[_0x2e324e(0x3c7)](this[_0x2e324e(0x206)](_0x7e79cd)),'parseJson':_0xfc8a30=>({}),'businesses':[_0x332ca7[_0x2e324e(0x25d)]],'pluginName':ao,'onLoad':(_0xfeb410,_0x83b6fc)=>{},'onUnLoad':_0x4f1292=>{const _0x45f367=_0x2e324e;this[_0x45f367(0x3b5)](_0x4f1292);}}));}};ve=zi([it(0x0,_0x360cfb(_0x121ef7)),it(0x1,_0x360cfb(_0x4e31c1)),it(0x2,_0x360cfb(_0x2fecb8)),it(0x3,_0x360cfb(_0x4679cb)),it(0x4,_0x360cfb(_0x224426))],ve);var Qi=Object[_0x5bf728(0x3a1)],Xi=(_0x50a843,_0x39d531,_0x50d0af,_0x53daf3)=>{const _0x49d452=_0x5bf728;for(var _0x3ed536=_0x53daf3>0x1?void 0x0:_0x53daf3?Qi(_0x39d531,_0x50d0af):_0x39d531,_0x4ed0c3=_0x50a843[_0x49d452(0x395)]-0x1,_0x52a9a6;_0x4ed0c3>=0x0;_0x4ed0c3--)(_0x52a9a6=_0x50a843[_0x4ed0c3])&&(_0x3ed536=_0x52a9a6(_0x3ed536)||_0x3ed536);return _0x3ed536;},st=(_0x498094,_0x5d4111)=>(_0x2b7e14,_0xc1cb9d)=>_0x5d4111(_0x2b7e14,_0xc1cb9d,_0x498094);let Ne=class extends _0x25f1fb{constructor(_0x461326,_0x13f357,_0x17aebc,_0x12681e,_0x52aba9){const _0x5bd6ce=_0x5bf728;super(),V(this,_0x5bd6ce(0x32a),new Map()),V(this,_0x5bd6ce(0x372),new Map()),V(this,_0x5bd6ce(0x211),new _0x688d9a()),V(this,_0x5bd6ce(0x3d1),this[_0x5bd6ce(0x211)]['asObservable']()),V(this,_0x5bd6ce(0x1e9),new _0x688d9a()),V(this,_0x5bd6ce(0x371),this[_0x5bd6ce(0x1e9)][_0x5bd6ce(0x244)]()),V(this,_0x5bd6ce(0x26c)),(this[_0x5bd6ce(0x323)]=_0x461326,this[_0x5bd6ce(0x24a)]=_0x13f357,this[_0x5bd6ce(0x43c)]=_0x17aebc,this[_0x5bd6ce(0x253)]=_0x12681e,this[_0x5bd6ce(0x3dd)]=_0x52aba9,this[_0x5bd6ce(0x1df)](),this[_0x5bd6ce(0x354)]());}[_0x5bf728(0x354)](){const _0xac9521=_0x5bf728;this[_0xac9521(0x3d8)](this[_0xac9521(0x253)]['getTypeOfUnitDisposed$'](_0x332ca7[_0xac9521(0x25d)])[_0xac9521(0x2d4)](_0x387fa1=>{const _0x5faa40=_0xac9521;this['deleteUnitId'](_0x387fa1[_0x5faa40(0x283)]());}));}['_initLocale'](){const _0x26e267=_0x5bf728;this['_textInfo']=fo(this[_0x26e267(0x24a)],$o,'',{});}[_0x5bf728(0x230)](_0x275611){const _0x1709fa=_0x5bf728,{view:_0x575471,unitId:_0x475b03,subUnitId:_0x15b517,pivotTableId:_0x50df4f,type:_0x26aec6}=_0x275611,_0x266f1a=this[_0x1709fa(0x43c)][_0x1709fa(0x448)](_0x475b03,_0x15b517,_0x50df4f);if(!_0x575471||!_0x266f1a||_0x26aec6===$[_0x1709fa(0x346)])return;const {pageView:_0xb902b4,cornerView:_0x18431c,rowView:_0x395a03,colView:_0x29e2b3,dataView:_0x4021b8}=_0x575471,_0x6dbdc5=_0x266f1a[_0x1709fa(0x1d2)],_0x5bcf6e=_0x266f1a[_0x1709fa(0x37d)],_0x4e6c8f=this['_ensurePivotItemRenderValueMatrixCache'](_0x475b03,_0x15b517),_0x6c9810=this['_ensurePivotItemRenderInfoCache'](_0x475b03,_0x15b517,_0x50df4f);if(_0x5bcf6e)return this[_0x1709fa(0x41d)](_0x275611,_0x4e6c8f,_0x6dbdc5,_0x6c9810);{const _0x43a1e6=ge(_0x6dbdc5,_0xb902b4,!0x0),_0x13d490=_0xb902b4[_0x1709fa(0x1f9)]>=0x0?_0xb902b4[_0x1709fa(0x1f9)]+0x1:0x0,_0x18f68c=_0x18431c['getRowCount'](),_0x58c17d=_0x18431c['getColCount'](),_0x2303bc=_0x43a1e6[_0x1709fa(0x395)]>0x0?mt:0x0,_0x5b74ab=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x18431c,!0x1,!0x1),_0x1e256c=ge({'row':_0x6dbdc5['row']+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x395a03,!0x1,!0x0),_0x2027a1=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]+_0x58c17d},_0x29e2b3,!0x1,!0x0),_0x5f24c5=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5['col']+_0x58c17d},_0x4021b8,!0x1,!0x1);_0x6c9810[_0x1709fa(0x247)]={'rowRanges':_0x1e256c,'colRanges':_0x2027a1,'cornerRanges':_0x5b74ab,'dataRanges':_0x5f24c5,'pageRanges':_0x43a1e6};const _0x38b2f9=yi(this['_injector'],_0x575471,_0x266f1a,this[_0x1709fa(0x26c)]),{valueMatrix:_0x3c57b8,rowInfo:_0x703a5c,colInfo:_0x154542,cornerInfo:_0x3c64bb,rowHeaderMap:_0x3f685f,colHeaderMap:_0x2fcb5f}=_0x38b2f9;return _0x6c9810[_0x1709fa(0x303)]={'rowInfo':_0x703a5c,'colInfo':_0x154542,'cornerInfo':_0x3c64bb},_0x6c9810[_0x1709fa(0x22d)]={'rowHeaderMap':_0x3f685f,'colHeaderMap':_0x2fcb5f},_0x3c57b8[_0x1709fa(0x28f)]((_0x5cc93c,_0x2a49e2)=>{const _0x23c190=_0x1709fa;Object[_0x23c190(0x3ab)](_0x2a49e2)[_0x23c190(0x28f)](_0xb7c031=>{const _0x55b63e=_0x23c190,_0x3fe418=+_0xb7c031,_0x2c57a3=_0x3c57b8[_0x55b63e(0x35b)](_0x5cc93c,_0x3fe418);_0x4e6c8f[_0x55b63e(0x26b)](_0x5cc93c,_0x3fe418,_0x2c57a3);});}),this[_0x1709fa(0x1e9)][_0x1709fa(0x216)]({'unitId':_0x475b03,'subUnitId':_0x15b517,'valueMatrix':_0x4e6c8f,'rangesCache':_0x6c9810[_0x1709fa(0x247)],'pivotTableId':_0x50df4f,'type':_0x275611['type']}),this[_0x1709fa(0x43c)]['updateViewInfo'](_0x475b03,_0x15b517,_0x50df4f,_0x4e6c8f,_0x6c9810[_0x1709fa(0x247)]),this[_0x1709fa(0x3dd)]['addExclusiveRange'](_0x475b03,_0x15b517,Lt,this['_createExclusiveRange'](_0x6c9810[_0x1709fa(0x247)],_0x50df4f)),{'rangeCache':_0x6c9810[_0x1709fa(0x247)],'matrix':_0x4e6c8f};}}[_0x5bf728(0x41d)](_0x43a625,_0x4eee2e,_0x15c5fa,_0x3bbfaf){const _0x171f09=_0x5bf728,_0x17fc8d=this[_0x171f09(0x323)]['t'],{unitId:_0x10c927,subUnitId:_0x1f524f,pivotTableId:_0x337d5a}=_0x43a625,_0xe17885={'filter':_0x17fc8d(_0x171f09(0x263)),'row':_0x17fc8d('sheets-pivot.emptyPivot.row'),'column':_0x17fc8d(_0x171f09(0x36c)),'values':_0x17fc8d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4348be,rangesCache:_0x33b43e}=Yo(_0xe17885,_0x15c5fa);return _0x4348be[_0x171f09(0x2f0)]((_0x4b3a45,_0x4aa550,_0x44958a)=>{const _0x3e4e6f=_0x171f09;_0x4eee2e[_0x3e4e6f(0x26b)](_0x4b3a45,_0x4aa550,_0x44958a);}),_0x3bbfaf[_0x171f09(0x247)]=_0x33b43e,this[_0x171f09(0x1e9)]['next']({'unitId':_0x10c927,'subUnitId':_0x1f524f,'valueMatrix':_0x4eee2e,'rangesCache':_0x33b43e,'pivotTableId':_0x337d5a,'type':_0x43a625[_0x171f09(0x2bb)],'isEmpty':!0x0}),this[_0x171f09(0x43c)][_0x171f09(0x3ad)](_0x10c927,_0x1f524f,_0x337d5a,_0x4eee2e,_0x33b43e),this[_0x171f09(0x3dd)][_0x171f09(0x338)](_0x10c927,_0x1f524f,Lt,this[_0x171f09(0x433)](_0x33b43e,_0x337d5a)),{'rangeCache':_0x3bbfaf[_0x171f09(0x247)],'matrix':_0x4eee2e};}[_0x5bf728(0x433)](_0x533dba,_0xd6e097){const _0x3128d7=_0x5bf728,_0x499271=[],_0x32886a=$t(_0x533dba);for(const _0x11bed9 of _0x32886a)_0x499271[_0x3128d7(0x42a)]({'groupId':_0xd6e097,'range':_0x11bed9});return _0x499271;}['clearRenderCache'](_0x162761){const _0x37a0ac=_0x5bf728;var _0x5e2723,_0x12a4fe,_0x2c5751,_0x2e7890;const {pivotTableId:_0x18d9e6,unitId:_0x4a2757,subUnitId:_0x5ef9d2}=_0x162761;if(!_0x18d9e6||!_0x4a2757||!_0x5ef9d2)return;const _0x59ab03=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a2757,_0x5ef9d2),_0x7dbcf1=(_0x12a4fe=(_0x5e2723=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x5e2723[_0x37a0ac(0x21b)](_0x5ef9d2))==null?void 0x0:_0x12a4fe['get'](_0x18d9e6);if(_0x7dbcf1!=null&&_0x7dbcf1[_0x37a0ac(0x247)]){for(const _0x1c4a90 of Object[_0x37a0ac(0x3ab)](_0x7dbcf1[_0x37a0ac(0x247)]))_0x7dbcf1[_0x37a0ac(0x247)][_0x1c4a90]['forEach'](_0x4f3627=>{const _0x1ab766=_0x37a0ac;for(let _0x52af42=_0x4f3627[_0x1ab766(0x373)];_0x52af42<=_0x4f3627['endRow'];_0x52af42++)for(let _0x1aa948=_0x4f3627[_0x1ab766(0x3d2)];_0x1aa948<=_0x4f3627[_0x1ab766(0x3cd)];_0x1aa948++)_0x59ab03[_0x1ab766(0x290)](_0x52af42,_0x1aa948);});}_0x7dbcf1&&((_0x2e7890=(_0x2c5751=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x2c5751[_0x37a0ac(0x21b)](_0x5ef9d2))==null||_0x2e7890['delete'](_0x18d9e6)),this[_0x37a0ac(0x1e9)]['next']({'unitId':_0x4a2757,'subUnitId':_0x5ef9d2,'valueMatrix':_0x59ab03,'pivotTableId':_0x18d9e6,'rangesCache':void 0x0,'type':_0x162761['type']}),this['_exclusiveRangeService'][_0x37a0ac(0x318)](_0x4a2757,_0x5ef9d2,Lt,_0x18d9e6);}[_0x5bf728(0x1f1)](_0x18233f,_0xbb0cc5,_0x5b1548){const _0x1099fb=_0x5bf728;var _0x1d855b,_0x1a9d35,_0x15d337,_0x1e12af,_0xadfc19,_0x4d6418;return this[_0x1099fb(0x32a)]['has'](_0x18233f)||this[_0x1099fb(0x32a)][_0x1099fb(0x2e3)](_0x18233f,new Map()),(_0x1d855b=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))!=null&&_0x1d855b[_0x1099fb(0x1ff)](_0xbb0cc5)||(_0x1a9d35=this[_0x1099fb(0x32a)]['get'](_0x18233f))==null||_0x1a9d35[_0x1099fb(0x2e3)](_0xbb0cc5,new Map()),(_0x1e12af=(_0x15d337=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0x15d337[_0x1099fb(0x21b)](_0xbb0cc5))!=null&&_0x1e12af[_0x1099fb(0x1ff)](_0x5b1548)||(_0x4d6418=(_0xadfc19=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0xadfc19['get'](_0xbb0cc5))==null||_0x4d6418[_0x1099fb(0x2e3)](_0x5b1548,{}),this['_pivotRenderInfoCache']['get'](_0x18233f)['get'](_0xbb0cc5)[_0x1099fb(0x21b)](_0x5b1548);}[_0x5bf728(0x404)](_0x4d80cf,_0x19d646){const _0x1e77b1=_0x5bf728;var _0x260f49,_0x141451;return this[_0x1e77b1(0x372)][_0x1e77b1(0x1ff)](_0x4d80cf)||this[_0x1e77b1(0x372)]['set'](_0x4d80cf,new Map()),(_0x260f49=this[_0x1e77b1(0x372)]['get'](_0x4d80cf))!=null&&_0x260f49['has'](_0x19d646)||(_0x141451=this['_pivotRenderValueMatrixCache']['get'](_0x4d80cf))==null||_0x141451[_0x1e77b1(0x2e3)](_0x19d646,new _0x43fcd2()),this[_0x1e77b1(0x372)][_0x1e77b1(0x21b)](_0x4d80cf)['get'](_0x19d646);}[_0x5bf728(0x2a4)](_0x2fdc7f,_0x32bebf,_0x551d3f,_0xc94528){const _0x24cf49=_0x5bf728;var _0x7f6cc8,_0xfc64e8;const _0x457b28=(_0xfc64e8=(_0x7f6cc8=this[_0x24cf49(0x372)][_0x24cf49(0x21b)](_0x2fdc7f))==null?void 0x0:_0x7f6cc8[_0x24cf49(0x21b)](_0x32bebf))==null?void 0x0:_0xfc64e8[_0x24cf49(0x35b)](_0x551d3f,_0xc94528);if(_0x457b28!=null)return _0x457b28;}['getPivotTableIdByCell'](_0x358ebe,_0x4641a8,_0xf35e53,_0x333245){const _0xee8d81=_0x5bf728;var _0x3c3ac9;const _0x12ee7b=_0x5508a5(_0xf35e53,_0x333245),_0x18df54=(_0x3c3ac9=this[_0xee8d81(0x32a)]['get'](_0x358ebe))==null?void 0x0:_0x3c3ac9['get'](_0x4641a8);return _0x18df54?Array[_0xee8d81(0x200)](_0x18df54['keys']())[_0xee8d81(0x2aa)](_0x139be2=>{const _0x3e0bf6=_0xee8d81,_0x3a5c50=_0x18df54[_0x3e0bf6(0x21b)](_0x139be2),_0x2ef601=_0x3a5c50==null?void 0x0:_0x3a5c50['rangesInfo'];return _0x2ef601?Object['keys'](_0x2ef601)[_0x3e0bf6(0x27c)](_0xbd876f=>_0x2ef601[_0xbd876f]['some'](_0x2ce601=>_0x3d3208['contains'](_0x2ce601,_0x12ee7b))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x2fe227,_0x43c189,_0x1e50ec){const _0x857b0e=_0x5bf728;var _0x2a03de;const _0x44560b=(_0x2a03de=this[_0x857b0e(0x32a)]['get'](_0x2fe227))==null?void 0x0:_0x2a03de[_0x857b0e(0x21b)](_0x43c189),_0x481486=[];return _0x44560b&&Array[_0x857b0e(0x200)](_0x44560b[_0x857b0e(0x3ab)]())['forEach'](_0x2be0f0=>{const _0x33cea2=_0x857b0e,_0x522d0e=_0x44560b[_0x33cea2(0x21b)](_0x2be0f0),_0xcd90fd=_0x522d0e==null?void 0x0:_0x522d0e[_0x33cea2(0x247)];if(_0xcd90fd)for(const _0x2fa7b0 of Object[_0x33cea2(0x2eb)](_0xcd90fd)){let _0x46a525=!0x1;for(const _0x248e4d of _0x2fa7b0)if(_0x3d3208[_0x33cea2(0x264)](_0x248e4d,_0x1e50ec)){_0x481486[_0x33cea2(0x42a)](_0x2be0f0),_0x46a525=!0x0;break;}if(_0x46a525)break;}}),_0x481486;}[_0x5bf728(0x288)](_0x341ef7,_0x4d015a){const _0x2bd1fb=_0x5bf728;var _0x2d56a1,_0x16643b;return(_0x16643b=(_0x2d56a1=this[_0x2bd1fb(0x372)]['get'](_0x341ef7))==null?void 0x0:_0x2d56a1['get'](_0x4d015a))!=null?_0x16643b:new _0x43fcd2();}[_0x5bf728(0x2c7)](_0x244af0,_0x46679a){const _0x130930=_0x5bf728;var _0x505e71;return(_0x505e71=this[_0x130930(0x32a)]['get'](_0x244af0))==null?void 0x0:_0x505e71['get'](_0x46679a);}[_0x5bf728(0x3a6)](_0x23e94b,_0x39965d,_0x1b3747){const _0x2ac0cd=_0x5bf728;var _0x321bc7,_0x1f3c2b;return(_0x1f3c2b=(_0x321bc7=this[_0x2ac0cd(0x32a)][_0x2ac0cd(0x21b)](_0x23e94b))==null?void 0x0:_0x321bc7[_0x2ac0cd(0x21b)](_0x39965d))==null?void 0x0:_0x1f3c2b[_0x2ac0cd(0x21b)](_0x1b3747);}[_0x5bf728(0x3b5)](_0x2786a0){const _0x53fcdb=_0x5bf728;this[_0x53fcdb(0x32a)]['delete'](_0x2786a0),this[_0x53fcdb(0x372)]['delete'](_0x2786a0);}[_0x5bf728(0x2fe)](_0x5bede3,_0x5267a7){const _0x4b569f=_0x5bf728;this[_0x4b569f(0x211)][_0x4b569f(0x216)]({'unitId':_0x5bede3,'subUnitId':_0x5267a7});}};Ne=Xi([st(0x0,_0x360cfb(_0x2a9621)),st(0x1,_0x360cfb(_0x121ef7)),st(0x2,_0x360cfb(ve)),st(0x3,_0x360cfb(_0x2fecb8)),st(0x4,_0x360cfb(_0x1b55aa))],Ne);var Zi=Object[_0x5bf728(0x3a1)],es=(_0x3a85ca,_0x32c9fc,_0x229468,_0xad1f79)=>{const _0x396924=_0x5bf728;for(var _0x25fae0=_0xad1f79>0x1?void 0x0:_0xad1f79?Zi(_0x32c9fc,_0x229468):_0x32c9fc,_0x5cc307=_0x3a85ca[_0x396924(0x395)]-0x1,_0x107e99;_0x5cc307>=0x0;_0x5cc307--)(_0x107e99=_0x3a85ca[_0x5cc307])&&(_0x25fae0=_0x107e99(_0x25fae0)||_0x25fae0);return _0x25fae0;},wo=(_0x2ab384,_0x3353fb)=>(_0x3a7bcf,_0x221d91)=>_0x3353fb(_0x3a7bcf,_0x221d91,_0x2ab384);let ie=class extends _0x25f1fb{constructor(_0x2313d0,_0x5b5084){const _0x5d3ba2=_0x5bf728;super(),V(this,_0x5d3ba2(0x3d0),new _0x108fc1({'PIVOT_PERFORM_CHECK':be})),V(this,_0x5d3ba2(0x34c),new _0x51d859({'PIVOT_MUTATION_GENERATE':jo})),(this[_0x5d3ba2(0x3b9)]=_0x2313d0,this[_0x5d3ba2(0x1f5)]=_0x5b5084,this['_init']());}['_init'](){const _0xd32d53=_0x5bf728;this[_0xd32d53(0x2c5)]();}[_0x5bf728(0x384)](_0x5f3818){const _0x5d5570=_0x5bf728;return this[_0x5d5570(0x3d0)][_0x5d5570(0x447)](be)(!0x1,_0x5f3818);}[_0x5bf728(0x2c5)](){const _0x1709ac=_0x5bf728;this['disposeWithMe'](this[_0x1709ac(0x3b9)][_0x1709ac(0x25f)](_0xa62e49[_0x1709ac(0x357)],{'priority':0xc8,'effect':_0x393181[_0x1709ac(0x409)]|_0x393181[_0x1709ac(0x396)],'handler':(_0x244997,_0x19411b,_0x2cf20a)=>{const _0x49ae2a=_0x1709ac,{row:_0x2edae8,col:_0x5b6a6c,unitId:_0xdb8719,subUnitId:_0x461f73,workbook:_0x18003a}=_0x19411b,_0x1e6478=this[_0x49ae2a(0x1f5)][_0x49ae2a(0x2a4)](_0xdb8719,_0x461f73,_0x2edae8,_0x5b6a6c);if(!_0x1e6478)return _0x2cf20a(_0x244997);const _0x452cc3={..._0x244997};(_0x1e6478['v']||_0x1e6478['v']===0x0)&&(_0x452cc3['v']=_0x1e6478['v']),_0x1e6478['t']&&(_0x452cc3['t']=_0x1e6478['t']);const _0x15d5f8=(typeof(_0x244997==null?void 0x0:_0x244997['s'])=='string'?_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x244997==null?void 0x0:_0x244997['s']):_0x244997==null?void 0x0:_0x244997['s'])||{},_0x2af019=_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x1e6478['s']),_0x48541f={..._0x2af019,..._0x15d5f8};_0x2af019!=null&&_0x2af019['n']&&(_0x48541f['n']=_0x2af019['n']);const _0xe5f6c3=_0x18003a['getStyles']()[_0x49ae2a(0x26b)](_0x48541f);return _0x452cc3['s']=_0xe5f6c3,(_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9['Collapse']||_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9[_0x49ae2a(0x316)])&&(_0x452cc3['fontRenderExtension']={},_0x452cc3[_0x49ae2a(0x2ab)][_0x49ae2a(0x20b)]=li),_0x2cf20a(_0x452cc3);}}));}};ie=es([wo(0x0,_0x360cfb(_0x34849c)),wo(0x1,_0x360cfb(Ne))],ie);const Qo={'id':_0x5bf728(0x268),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x9b78bb,_0x24f576)=>{const _0x30697e=_0x5bf728;if(!_0x24f576)return!0x1;if(!!_0x9b78bb[_0x30697e(0x21b)](_0x224426)[_0x30697e(0x3fb)](z))return!0x0;const {pivotTableId:_0x1d8b37,fieldJSON:_0x31a4fa,unitId:_0x2762fc,subUnitId:_0x91b061}=_0x24f576;let _0x10db61;const {dataFieldType:_0x5707cb,id:_0x3d8761,name:_0x585dc2,hexCode:_0x2d9f05,originalFieldId:_0x474f79}=_0x31a4fa;if(_0x5707cb===_0x3b6834[_0x30697e(0x256)]&&(_0x10db61=new _0x239928(_0x3d8761,_0x585dc2,_0x2d9f05,_0x474f79)),!_0x10db61)return!0x1;const _0x18cd37=_0x9b78bb['get'](G),_0x39480b=_0x18cd37['getDataFieldManager'](_0x2762fc),_0x5dab14=_0x39480b[_0x30697e(0x28d)](_0x1d8b37);_0x39480b[_0x30697e(0x209)](_0x10db61),_0x5dab14[_0x30697e(0x336)](_0x10db61[_0x30697e(0x3f9)](),_0x10db61[_0x30697e(0x3a4)]());const _0x419c4b=_0x5dab14[_0x30697e(0x437)](_0x10db61[_0x30697e(0x213)]());_0x419c4b&&_0x10db61[_0x30697e(0x237)](_0x419c4b);const _0xf6d44a=_0x18cd37[_0x30697e(0x448)](_0x2762fc,_0x91b061,_0x1d8b37);return _0x18cd37['addDirtyPivotTable']({'unitId':_0x2762fc,'subUnitId':_0x91b061,'token':_0x1d8b37,'type':$[_0x30697e(0x225)],'pivotConfig':_0xf6d44a}),!0x0;}},Xo={'id':_0x5bf728(0x1ec),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x385170,_0x163f5d)=>{const _0x5b3e5e=_0x5bf728;if(!_0x163f5d)return!0x1;if(!!_0x385170['get'](_0x224426)[_0x5b3e5e(0x3fb)](z))return!0x0;const {pivotTableId:_0x39c2af,dataFieldId:_0x429e76,unitId:_0x34d131,subUnitId:_0x2ee88b}=_0x163f5d,_0x53ecdb=_0x385170['get'](G),_0x31fc9e=_0x53ecdb[_0x5b3e5e(0x23e)](_0x34d131);_0x31fc9e[_0x5b3e5e(0x28d)](_0x39c2af)['deleteField'](_0x429e76);let _0x305bd=!0x0;for(const _0x210583 in _0x31fc9e['collections'])if(_0x31fc9e[_0x5b3e5e(0x278)][_0x210583]['getFieldIds']()[_0x5b3e5e(0x223)](_0x429e76)){_0x305bd=!0x1;break;}_0x305bd&&_0x31fc9e[_0x5b3e5e(0x406)](_0x429e76);const _0x1eae5e=_0x53ecdb[_0x5b3e5e(0x448)](_0x34d131,_0x2ee88b,_0x39c2af);return _0x53ecdb[_0x5b3e5e(0x393)]({'unitId':_0x34d131,'subUnitId':_0x2ee88b,'token':_0x39c2af,'type':$[_0x5b3e5e(0x225)],'pivotConfig':_0x1eae5e}),!0x0;}};function Nt(_0x6c95ae,_0xe8f73f){const _0x38687c=_0x5bf728;switch(_0xe8f73f){case _0x3a6ce8[_0x38687c(0x409)]:return _0x6c95ae[_0x38687c(0x3c5)];case _0x3a6ce8[_0x38687c(0x2d8)]:return _0x6c95ae[_0x38687c(0x21f)];case _0x3a6ce8['Row']:return _0x6c95ae[_0x38687c(0x335)];case _0x3a6ce8['Column']:return _0x6c95ae[_0x38687c(0x3a7)];default:return[];}}function Je(_0x2c5ad3,_0x3880cc){const _0x59ddc6=_0x5bf728;return _0x2c5ad3[_0x59ddc6(0x29e)][_0x3880cc]||_0x2c5ad3[_0x59ddc6(0x26a)][_0x3880cc];}function ts(_0x3b0f53,_0x55f521){const _0x66a4e0=_0x5bf728,{area:_0x43cd02,fieldJson:_0x5e428d,index:_0x36af46}=_0x55f521;_0x43cd02===_0x3a6ce8[_0x66a4e0(0x409)]?_0x3b0f53[_0x66a4e0(0x29e)][_0x5e428d['id']]=_0x5e428d:_0x3b0f53[_0x66a4e0(0x26a)][_0x5e428d['id']]=_0x5e428d,Nt(_0x3b0f53,_0x43cd02)[_0x66a4e0(0x32e)](_0x36af46,0x0,_0x5e428d['id']);}function os(_0x411d57,_0x2acfee){const _0x56b541=_0x5bf728,{area:_0x5872ac,fieldId:_0x55e18d,index:_0x424f34}=_0x2acfee;_0x5872ac===_0x3a6ce8[_0x56b541(0x409)]?delete _0x411d57['measure'][_0x55e18d]:delete _0x411d57['dimension'][_0x55e18d],Nt(_0x411d57,_0x5872ac)[_0x56b541(0x32e)](_0x424f34,0x1);}function ns(_0x34c1c6,_0x5bb838){const {fieldId:_0x260c6e,name:_0x3a4138}=_0x5bb838,_0x52b20d=Je(_0x34c1c6,_0x260c6e);_0x52b20d&&(_0x52b20d['displayName']=_0x3a4138);}function is(_0x40cd09,_0x27e6cd){const _0x444636=_0x5bf728,{fieldId:_0x229261,collapse:_0x519f08,item:_0x3c859f}=_0x27e6cd;_0x3c859f!==void 0x0?(_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x40cd09[_0x444636(0x31e)][_0x229261]||{},_0x40cd09[_0x444636(0x31e)][_0x229261][_0x3c859f]=_0x519f08):_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x519f08;}function ss(_0x273da7,_0x1af4df){const _0x39c47=_0x5bf728,{fieldId:_0x44449a,format:_0x4b00e7}=_0x1af4df,_0x4c3b72=Je(_0x273da7,_0x44449a);_0x4c3b72&&(_0x4c3b72[_0x39c47(0x369)]=_0x4b00e7);}function as(_0x3c7502,_0x1fc874){const _0x34320a=_0x5bf728,{fieldId:_0x35fbcc,filterInfo:_0x17475b}=_0x1fc874,_0xce7cd0=Je(_0x3c7502,_0x35fbcc);_0xce7cd0&&(_0xce7cd0[_0x34320a(0x2b7)]=_0x17475b);}function rs(_0x5149d5,_0x119caf){const _0x422123=_0x5bf728,{fieldId:_0x1668ac,filterInfo:_0x194ef6}=_0x119caf,_0x362fd=_0x5149d5['valueFilter'][_0x422123(0x3c6)](_0x50ebad=>_0x50ebad[_0x422123(0x20c)]!==_0x1668ac);_0x194ef6&&_0x362fd['push']({'fieldId':_0x1668ac,'filterInfo':_0x194ef6}),_0x5149d5[_0x422123(0x3e4)]=_0x362fd;}function ls(_0x29d228,_0x4de7e1){const _0x440492=_0x5bf728,{fieldId:_0x3bbdb7,subtotalType:_0x5816ff}=_0x4de7e1,_0x8b4c8a=Je(_0x29d228,_0x3bbdb7);_0x8b4c8a&&(_0x8b4c8a[_0x440492(0x42f)]=_0x5816ff);}function cs(_0x20cf7e,_0x382c32){const _0x4fb8eb=_0x5bf728,{fieldId:_0x1136a7,oldArea:_0x4fe52c,area:_0x153b78,oldIndex:_0x127f91,index:_0x5cde33}=_0x382c32,_0x57e9d9=_0x4fe52c!==_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78===_0x3a6ce8[_0x4fb8eb(0x409)],_0x466393=_0x4fe52c===_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78!==_0x3a6ce8[_0x4fb8eb(0x409)];if(_0x57e9d9||_0x466393){const _0x526a3f=Je(_0x20cf7e,_0x1136a7);_0x526a3f&&(_0x57e9d9?(delete _0x20cf7e[_0x4fb8eb(0x26a)][_0x1136a7],_0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7]=_0x526a3f):(delete _0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7],_0x20cf7e['dimension'][_0x1136a7]=_0x526a3f));}const _0x2bd75e=Nt(_0x20cf7e,_0x4fe52c),_0x407b78=Nt(_0x20cf7e,_0x153b78);_0x2bd75e[_0x4fb8eb(0x32e)](_0x127f91,0x1),_0x407b78[_0x4fb8eb(0x32e)](_0x5cde33,0x0,_0x1136a7);}function ds(_0x574bdb,_0x3d3c8d){const _0x4c17dc=_0x5bf728,{valuePosition:_0x12d4c0,index:_0x4e0a6d}=_0x3d3c8d;_0x574bdb[_0x4c17dc(0x376)]=_0x12d4c0,_0x574bdb[_0x4c17dc(0x3c2)]=_0x4e0a6d;}function us(_0x2acd03,_0x18029a){const _0x1921f8=_0x5bf728,{tableFieldId:_0x546727,sourceName:_0x43c2ff,dataFieldId:_0x30ac44}=_0x18029a,_0x29d292=Je(_0x2acd03,_0x546727);_0x29d292&&(_0x29d292[_0x1921f8(0x2cd)]=_0x43c2ff,_0x29d292['dataFieldId']=_0x30ac44);}function fs(_0x335d4c,_0x4733a3){const _0x8f306=_0x5bf728,{fieldId:_0x470ebf,sortInfo:_0xe493ed}=_0x4733a3,_0x44846d=Je(_0x335d4c,_0x470ebf);_0x44846d&&(_0x44846d[_0x8f306(0x36e)]=_0xe493ed);}function gs(_0x4c5383,_0x821784){const _0x3c7340=_0x5bf728,{options:_0x3aa417}=_0x821784;_0x4c5383[_0x3c7340(0x2e8)]={..._0x4c5383[_0x3c7340(0x2e8)],..._0x3aa417};}const Gt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x3589cd,_0xf1a0f2){const _0x551df4=_0x5bf728;if(!_0xf1a0f2)return!0x1;if(!!_0x3589cd['get'](_0x224426)['getConfig'](z))return!0x0;const _0x4c07ff=_0x3589cd['get'](G),{pivotTableId:_0xc7f003,fieldJson:_0x6c20cf,area:_0x47db40,index:_0x2cb1e4,unitId:_0x501f02,subUnitId:_0x42a979}=_0xf1a0f2,_0x4f6592=_0x4c07ff['getPivotTableInstance'](_0xc7f003);if(!_0x4f6592)return!0x1;let _0x3832b1;_0x47db40===_0x3a6ce8[_0x551df4(0x409)]?_0x3832b1=_0x387f7f(_0x6c20cf):_0x3832b1=_0x454170(_0x6c20cf),_0x4f6592[_0x551df4(0x336)](_0x3832b1,_0x47db40,_0x2cb1e4);const _0x5e9f89=_0x4c07ff['getPivotTableModelConfig'](_0x501f02,_0x42a979,_0xc7f003);ts(_0x5e9f89,_0xf1a0f2);const _0x55b46d=_0x4c07ff['getPivotTableConfig'](_0x501f02,_0x42a979,_0xc7f003);return _0x4c07ff[_0x551df4(0x393)]({'unitId':_0x501f02,'subUnitId':_0x42a979,'token':_0xc7f003,'type':$[_0x551df4(0x225)],'pivotConfig':_0x55b46d}),!0x0;}},jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x22c),'handler'(_0x5f1db9,_0x584c6a){const _0x293646=_0x5bf728;if(!_0x584c6a)return!0x1;if(!!_0x5f1db9[_0x293646(0x21b)](_0x224426)[_0x293646(0x3fb)](z))return!0x0;const _0xb2e46e=_0x5f1db9['get'](G),{pivotTableId:_0x26a42b,fieldId:_0x1ab983,unitId:_0x15ebb6,subUnitId:_0x250e1d}=_0x584c6a,_0x5450c6=_0xb2e46e[_0x293646(0x24c)](_0x26a42b);if(!_0x5450c6)return!0x1;_0x5450c6[_0x293646(0x2a5)](_0x1ab983);const _0x3e7743=_0xb2e46e[_0x293646(0x379)](_0x15ebb6,_0x250e1d,_0x26a42b);os(_0x3e7743,_0x584c6a);const _0x5d26cf=_0xb2e46e[_0x293646(0x448)](_0x15ebb6,_0x250e1d,_0x26a42b);return _0xb2e46e[_0x293646(0x393)]({'unitId':_0x15ebb6,'subUnitId':_0x250e1d,'token':_0x26a42b,'type':$[_0x293646(0x225)],'pivotConfig':_0x5d26cf}),!0x0;}},Jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x30f),'handler'(_0x1dfdd2,_0x1f5b31){const _0x5253da=_0x5bf728;if(!_0x1f5b31)return!0x1;if(!!_0x1dfdd2[_0x5253da(0x21b)](_0x224426)[_0x5253da(0x3fb)](z))return!0x0;const _0x3d91ac=_0x1dfdd2[_0x5253da(0x21b)](G),{unitId:_0x49a5b9,subUnitId:_0x1a9ad1,pivotTableId:_0x4ae8a2,fieldId:_0x214ad6,name:_0x2996eb}=_0x1f5b31,_0x5d0085=_0x3d91ac['getPivotTableInstance'](_0x4ae8a2);if(!_0x5d0085)return!0x1;_0x5d0085[_0x5253da(0x40a)](_0x214ad6,_0x2996eb);const _0x589d45=_0x3d91ac[_0x5253da(0x379)](_0x49a5b9,_0x1a9ad1,_0x4ae8a2);return ns(_0x589d45,_0x1f5b31),_0x3d91ac[_0x5253da(0x393)]({'unitId':_0x49a5b9,'subUnitId':_0x1a9ad1,'token':_0x4ae8a2,'type':$[_0x5253da(0x225)]}),!0x0;}},Wt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x47e5d9,_0x2d1a36){const _0x5e246d=_0x5bf728;if(!_0x2d1a36)return!0x1;if(!!_0x47e5d9['get'](_0x224426)[_0x5e246d(0x3fb)](z))return!0x0;const _0xe00c88=_0x47e5d9[_0x5e246d(0x21b)](G),{unitId:_0x3fcba2,subUnitId:_0x4e18dc,pivotTableId:_0x431c1d,fieldId:_0x2c2579,collapse:_0x17c4ce,item:_0x5dded1}=_0x2d1a36,_0x3c394b=_0xe00c88[_0x5e246d(0x24c)](_0x431c1d);if(!_0x3c394b)return!0x1;_0x3c394b[_0x5e246d(0x38d)](_0x2c2579,_0x17c4ce,_0x5dded1);const _0x74cca7=_0xe00c88['getPivotTableModelConfig'](_0x3fcba2,_0x4e18dc,_0x431c1d);return is(_0x74cca7,_0x2d1a36),_0xe00c88[_0x5e246d(0x393)]({'unitId':_0x3fcba2,'subUnitId':_0x4e18dc,'token':_0x431c1d,'type':$[_0x5e246d(0x225)]}),!0x0;}},Yt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x42c),'handler'(_0x252112,_0x53087d){const _0x210003=_0x5bf728;if(!_0x53087d)return!0x1;if(!!_0x252112[_0x210003(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x244746=_0x252112[_0x210003(0x21b)](G),{unitId:_0x4014c2,subUnitId:_0x18dd40,pivotTableId:_0x149a6f,fieldId:_0x39b88f,format:_0x219bef}=_0x53087d,_0x1e941e=_0x244746[_0x210003(0x24c)](_0x149a6f);if(!_0x1e941e)return!0x1;_0x1e941e[_0x210003(0x419)](_0x39b88f,_0x219bef);const _0x43afc3=_0x244746[_0x210003(0x379)](_0x4014c2,_0x18dd40,_0x149a6f);return ss(_0x43afc3,_0x53087d),_0x244746[_0x210003(0x393)]({'unitId':_0x4014c2,'subUnitId':_0x18dd40,'token':_0x149a6f,'type':$['Set']}),!0x0;}},Kt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x366ba3,_0x20bc9c){const _0x19555d=_0x5bf728;if(!_0x20bc9c)return!0x1;if(!!_0x366ba3[_0x19555d(0x21b)](_0x224426)[_0x19555d(0x3fb)](z))return!0x0;const _0x5e36ba=_0x366ba3[_0x19555d(0x21b)](G),{unitId:_0x10cc74,subUnitId:_0x1e5937,pivotTableId:_0x644cc6,fieldId:_0x282ceb,filterInfo:_0x2241f6}=_0x20bc9c,_0x20bd50=_0x5e36ba[_0x19555d(0x24c)](_0x644cc6);if(!_0x20bd50)return!0x1;_0x20bd50[_0x19555d(0x1dc)](_0x282ceb,_0x2241f6);const _0x380b12=_0x5e36ba['getPivotTableModelConfig'](_0x10cc74,_0x1e5937,_0x644cc6);return as(_0x380b12,_0x20bc9c),_0x5e36ba['addDirtyPivotTable']({'unitId':_0x10cc74,'subUnitId':_0x1e5937,'token':_0x644cc6,'type':$[_0x19555d(0x225)]}),!0x0;}},Ht={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x250668,_0x560fe4){const _0x507d58=_0x5bf728;if(!_0x560fe4)return!0x1;if(!!_0x250668['get'](_0x224426)[_0x507d58(0x3fb)](z))return!0x0;const _0x333d23=_0x250668[_0x507d58(0x21b)](G),{unitId:_0x431e39,subUnitId:_0x30b4c3,pivotTableId:_0x5d1741,options:_0x3620bf}=_0x560fe4,_0x679ac=_0x333d23[_0x507d58(0x24c)](_0x5d1741);if(!_0x679ac)return!0x1;_0x679ac[_0x507d58(0x215)](_0x3620bf);const _0xf8ca68=_0x333d23[_0x507d58(0x379)](_0x431e39,_0x30b4c3,_0x5d1741);return gs(_0xf8ca68,_0x560fe4),_0x333d23['addDirtyPivotTable']({'unitId':_0x431e39,'subUnitId':_0x30b4c3,'token':_0x5d1741,'type':$[_0x507d58(0x225)]}),!0x0;}},qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x21abc4,_0xfc10d4){const _0x4a1cbd=_0x5bf728;if(!_0xfc10d4)return!0x1;if(!!_0x21abc4[_0x4a1cbd(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x51a42e=_0x21abc4[_0x4a1cbd(0x21b)](G),{unitId:_0x3867c2,subUnitId:_0x50c133,pivotTableId:_0x26c71a,sortInfo:_0x3a7dfa,fieldId:_0x561559}=_0xfc10d4,_0x3b9b6e=_0x51a42e[_0x4a1cbd(0x24c)](_0x26c71a);if(!_0x3b9b6e)return!0x1;_0x3b9b6e[_0x4a1cbd(0x39a)](_0x561559,_0x3a7dfa);const _0x547ef3=_0x51a42e[_0x4a1cbd(0x379)](_0x3867c2,_0x50c133,_0x26c71a);return fs(_0x547ef3,_0xfc10d4),_0x51a42e['addDirtyPivotTable']({'unitId':_0x3867c2,'subUnitId':_0x50c133,'token':_0x26c71a,'type':$[_0x4a1cbd(0x225)]}),!0x0;}},zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x299),'handler'(_0x41e988,_0x411905){const _0x3b4602=_0x5bf728;if(!_0x411905)return!0x1;if(!!_0x41e988[_0x3b4602(0x21b)](_0x224426)[_0x3b4602(0x3fb)](z))return!0x0;const _0x1af289=_0x41e988['get'](G),{unitId:_0x58b9ad,subUnitId:_0x57d919,pivotTableId:_0x339b58,fieldId:_0x1e2712,subtotalType:_0x49b44b}=_0x411905,_0x3cd25b=_0x1af289['getPivotTableInstance'](_0x339b58);if(!_0x3cd25b)return!0x1;_0x3cd25b['setSubtotalType'](_0x1e2712,_0x49b44b);const _0x1132df=_0x1af289[_0x3b4602(0x379)](_0x58b9ad,_0x57d919,_0x339b58);return ls(_0x1132df,_0x411905),_0x1af289['addDirtyPivotTable']({'unitId':_0x58b9ad,'subUnitId':_0x57d919,'token':_0x339b58,'type':$['Set']}),!0x0;}},Qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x3db),'handler'(_0x33c966,_0x1f3f15){const _0x1fe1a4=_0x5bf728;if(!_0x1f3f15)return!0x1;if(!!_0x33c966[_0x1fe1a4(0x21b)](_0x224426)[_0x1fe1a4(0x3fb)](z))return!0x0;const _0x381dea=_0x33c966[_0x1fe1a4(0x21b)](G),{unitId:_0x5c1172,subUnitId:_0x24bfe5,pivotTableId:_0xee511c,fieldId:_0x1541fb,filterInfo:_0x3e6789}=_0x1f3f15,_0x5b92ee=_0x381dea[_0x1fe1a4(0x24c)](_0xee511c);if(!_0x5b92ee)return!0x1;_0x5b92ee[_0x1fe1a4(0x452)](_0x1541fb,_0x3e6789);const _0x10963d=_0x381dea[_0x1fe1a4(0x379)](_0x5c1172,_0x24bfe5,_0xee511c);return rs(_0x10963d,_0x1f3f15),_0x381dea['addDirtyPivotTable']({'unitId':_0x5c1172,'subUnitId':_0x24bfe5,'token':_0xee511c,'type':$[_0x1fe1a4(0x225)]}),!0x0;}},Xt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x3a0c6f,_0xc5e2c0){const _0x48a9f5=_0x5bf728;if(!_0xc5e2c0)return!0x1;if(!!_0x3a0c6f[_0x48a9f5(0x21b)](_0x224426)[_0x48a9f5(0x3fb)](z))return!0x0;const _0x59cb99=_0x3a0c6f['get'](G),{unitId:_0x4f157f,subUnitId:_0x12fedb,pivotTableId:_0x4d0c85,area:_0x35c44f,index:_0x4141df,fieldId:_0x8573c}=_0xc5e2c0,_0x391829=_0x59cb99['getPivotTableInstance'](_0x4d0c85);if(!_0x391829)return!0x1;_0x391829[_0x48a9f5(0x3f3)](_0x8573c,_0x35c44f,_0x4141df);const _0x3d6ac0=_0x59cb99[_0x48a9f5(0x379)](_0x4f157f,_0x12fedb,_0x4d0c85);return cs(_0x3d6ac0,_0xc5e2c0),_0x59cb99[_0x48a9f5(0x393)]({'unitId':_0x4f157f,'subUnitId':_0x12fedb,'token':_0x4d0c85,'type':$[_0x48a9f5(0x225)]}),!0x0;}},Zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x33f),'handler'(_0x3c96b9,_0x51f21e){const _0x6f1448=_0x5bf728;if(!_0x51f21e)return!0x1;if(!!_0x3c96b9[_0x6f1448(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x3bd057=_0x3c96b9['get'](G),{unitId:_0x5645c1,subUnitId:_0xa1a540,pivotTableId:_0x199e01,sourceName:_0xb29533,dataFieldId:_0x16e141,tableFieldId:_0x922643}=_0x51f21e,_0x39687d=_0x3bd057[_0x6f1448(0x24c)](_0x199e01);if(!_0x39687d)return!0x1;_0x39687d[_0x6f1448(0x1f6)](_0x922643,_0xb29533,_0x16e141);const _0x67ab36=_0x3bd057[_0x6f1448(0x379)](_0x5645c1,_0xa1a540,_0x199e01);return us(_0x67ab36,_0x51f21e),_0x3bd057[_0x6f1448(0x393)]({'unitId':_0x5645c1,'subUnitId':_0xa1a540,'token':_0x199e01,'type':$[_0x6f1448(0x225)]}),!0x0;}},eo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x210),'handler'(_0x33e2f6,_0x3ade98){const _0x5776a1=_0x5bf728;if(!_0x3ade98)return!0x1;if(!!_0x33e2f6[_0x5776a1(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x488e52=_0x33e2f6['get'](G),{unitId:_0xc96ad5,subUnitId:_0x9d3b9a,pivotTableId:_0x17d70e,valuePosition:_0x96b0d6,index:_0x3ccafd}=_0x3ade98,_0x5e0857=_0x488e52['getPivotTableInstance'](_0x17d70e);if(!_0x5e0857)return!0x1;_0x5e0857[_0x5776a1(0x29c)](_0x96b0d6,_0x3ccafd);const _0x3550dd=_0x488e52[_0x5776a1(0x379)](_0xc96ad5,_0x9d3b9a,_0x17d70e);return ds(_0x3550dd,_0x3ade98),_0x488e52[_0x5776a1(0x393)]({'unitId':_0xc96ad5,'subUnitId':_0x9d3b9a,'token':_0x17d70e,'type':$[_0x5776a1(0x225)]}),!0x0;}};function _0x279a(_0x3f53ae,_0x5b8750){const _0x461b08=_0x461b();return _0x279a=function(_0x279a27,_0x5eb7dc){_0x279a27=_0x279a27-0x1ca;let _0x2d7027=_0x461b08[_0x279a27];return _0x2d7027;},_0x279a(_0x3f53ae,_0x5b8750);}function Ce(_0x2f617a,_0x513bcf,_0x4f7eba){const _0x141f78=_0x5bf728,{pivotTableId:_0xaaa698,unitId:_0x1df4de,subUnitId:_0x429162}=_0x513bcf,_0x24724f=[],_0x152359=[];for(const _0x3a7cd3 of _0x4f7eba)switch(_0x3a7cd3['type']){case _0x13920a[_0x141f78(0x1ed)]:{const {fieldJson:_0x5d18be,area:_0xfbaa13,index:_0x13541f}=_0x3a7cd3,_0x3ecabc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x5d18be,'area':_0xfbaa13,'index':_0x13541f},_0x3254f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5d18be['id'],'area':_0xfbaa13,'index':_0x13541f};_0x24724f[_0x141f78(0x42a)]({'id':Gt['id'],'params':_0x3ecabc}),_0x152359['unshift']({'id':jt['id'],'params':_0x3254f4});}break;case _0x13920a[_0x141f78(0x326)]:{const {fieldId:_0x4728d6,newSubtotalType:_0x105aed,oldSubtotalType:_0x58ef29}=_0x3a7cd3,_0x56d8ed={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x105aed};_0x24724f[_0x141f78(0x42a)]({'id':zt['id'],'params':_0x56d8ed});const _0x44ab32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x58ef29};_0x152359['unshift']({'id':zt['id'],'params':_0x44ab32});}break;case _0x13920a[_0x141f78(0x451)]:{const {fieldId:_0x3847b6,fieldJson:_0x541202,area:_0x573572,index:_0x36f168}=_0x3a7cd3,_0x159442={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3847b6,'index':_0x36f168,'area':_0x573572};_0x24724f[_0x141f78(0x42a)]({'id':jt['id'],'params':_0x159442});const _0x2c2016={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x541202,'area':_0x573572,'index':_0x36f168};_0x152359[_0x141f78(0x392)]({'id':Gt['id'],'params':_0x2c2016});}break;case _0x13920a[_0x141f78(0x2d3)]:{const {fieldId:_0x1372d6,oldName:_0x578e6e,newName:_0x1f9e85}=_0x3a7cd3,_0xb0f465={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x1f9e85};_0x24724f[_0x141f78(0x42a)]({'id':Jt['id'],'params':_0xb0f465});const _0x311f20={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x578e6e};_0x152359[_0x141f78(0x392)]({'id':Jt['id'],'params':_0x311f20});}break;case _0x13920a['SetFilterInfo']:{const {fieldId:_0x552e04,oldFilterInfo:_0x1365b7,newFilterInfo:_0x350677}=_0x3a7cd3,_0x2d4b37={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x350677};_0x24724f[_0x141f78(0x42a)]({'id':Kt['id'],'params':_0x2d4b37});const _0x27b298={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x1365b7};_0x152359[_0x141f78(0x392)]({'id':Kt['id'],'params':_0x27b298});}break;case _0x13920a[_0x141f78(0x36b)]:{const {fieldId:_0x28fbdc,oldSortInfo:_0x1ed3a0,newSortInfo:_0x3a779c}=_0x3a7cd3,_0x242b32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x3a779c};_0x24724f[_0x141f78(0x42a)]({'id':qt['id'],'params':_0x242b32});const _0x5c7ae0={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x1ed3a0};_0x152359[_0x141f78(0x392)]({'id':qt['id'],'params':_0x5c7ae0});}break;case _0x13920a[_0x141f78(0x405)]:{const {oldOptions:_0x332bf8,newOptions:_0x28fe1e}=_0x3a7cd3,_0x3ebce4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x28fe1e};_0x24724f['push']({'id':Ht['id'],'params':_0x3ebce4});const _0xa3cd85={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x332bf8};_0x152359[_0x141f78(0x392)]({'id':Ht['id'],'params':_0xa3cd85});}break;case _0x13920a[_0x141f78(0x257)]:{const {oldArea:_0x5edaa7,newArea:_0x21fcac,oldIndex:_0x260b94,newIndex:_0x1a733c,fieldId:_0x5b87ed}=_0x3a7cd3,_0x4349e7={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x21fcac,'index':_0x1a733c,'oldArea':_0x5edaa7,'oldIndex':_0x260b94};_0x24724f[_0x141f78(0x42a)]({'id':Xt['id'],'params':_0x4349e7});const _0x2cbedc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x5edaa7,'index':_0x260b94,'oldArea':_0x21fcac,'oldIndex':_0x1a733c};_0x152359[_0x141f78(0x392)]({'id':Xt['id'],'params':_0x2cbedc});}break;case _0x13920a[_0x141f78(0x3bf)]:{const {oldValuePosition:_0x14fb16,newValuePosition:_0xc9f14a,oldIndex:_0xb4f678,newIndex:_0x4953c6}=_0x3a7cd3,_0x50582c={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0xc9f14a,'index':_0x4953c6};_0x24724f[_0x141f78(0x42a)]({'id':eo['id'],'params':_0x50582c});const _0x1914bf={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0x14fb16,'index':_0xb4f678};_0x152359['unshift']({'id':eo['id'],'params':_0x1914bf});}break;case _0x13920a[_0x141f78(0x39c)]:{const {fieldId:_0x5607b4,collapse:_0x59fa03,item:_0x1b3fb7}=_0x3a7cd3,_0x386486={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':_0x59fa03,'item':_0x1b3fb7};_0x24724f[_0x141f78(0x42a)]({'id':Wt['id'],'params':_0x386486});const _0x2a2932={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':!_0x59fa03,'item':_0x1b3fb7};_0x152359[_0x141f78(0x392)]({'id':Wt['id'],'params':_0x2a2932});}break;case _0x13920a['SetFieldFormat']:{const {newFormat:_0x566696,oldFormat:_0x4b14ec,fieldId:_0x3b7dda}=_0x3a7cd3,_0x81b7f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x566696};_0x24724f[_0x141f78(0x42a)]({'id':Yt['id'],'params':_0x81b7f4});const _0x2d27f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x4b14ec};_0x152359[_0x141f78(0x392)]({'id':Yt['id'],'params':_0x2d27f4});}break;case _0x13920a[_0x141f78(0x3aa)]:{const {tableFieldId:_0x5517d2,oldSourceName:_0x18ff56,newSourceName:_0x68782a,oldDataFieldId:_0x4d111f,newDataFieldId:_0x21121d}=_0x3a7cd3,_0x4f1ae8={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x68782a,'dataFieldId':_0x21121d};_0x24724f[_0x141f78(0x42a)]({'id':Zt['id'],'params':_0x4f1ae8});const _0x59908e={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x18ff56,'dataFieldId':_0x4d111f};_0x152359[_0x141f78(0x392)]({'id':Zt['id'],'params':_0x59908e});}break;case _0x13920a[_0x141f78(0x2ca)]:{const {fieldId:_0x31e16c,filterInfo:_0x433967,oldFilterInfo:_0x542c37}=_0x3a7cd3,_0x132d45={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x433967};_0x24724f[_0x141f78(0x42a)]({'id':Qt['id'],'params':_0x132d45});const _0x1e04b9={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x542c37};_0x152359[_0x141f78(0x392)]({'id':Qt['id'],'params':_0x1e04b9});}}return{'redos':_0x24724f,'undos':_0x152359};}function _e(_0x18ee31,_0x3263fd){const _0x3c4905=_0x5bf728;var _0x4c7b51;const _0x2187fd=_0x18ee31[_0x3c4905(0x21b)](ie),{cellInfo:_0xc7232d,view:_0x81830a,isEmpty:_0x11d34a}=_0x3263fd;return(_0x4c7b51=_0x2187fd[_0x3c4905(0x34c)]['fetchThroughInterceptors'](jo)(To,{'cellInfo':_0xc7232d,'view':_0x81830a,'isEmpty':_0x11d34a}))!=null?_0x4c7b51:To;}const hs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ba),async 'handler'(_0x4453b0,_0x4b902f){const _0x15b4e2=_0x5bf728;if(!_0x4b902f)return!0x1;const _0x439992=_0x4453b0[_0x15b4e2(0x21b)](_0x4e31c1),_0x4ab95f=_0x4453b0[_0x15b4e2(0x21b)](X),_0x377ce6=_0x4453b0[_0x15b4e2(0x21b)](_0x342a4e),{pivotTableId:_0xf89047,dataFieldId:_0x1675aa,fieldArea:_0x4d0c79,index:_0x7b1f27,unitId:_0x9a626f,subUnitId:_0x6fd4b3}=_0x4b902f,_0x19714f=(await _0x4ab95f[_0x15b4e2(0x382)]({'unitId':_0x9a626f,'subUnitId':_0x6fd4b3,'pivotTableId':_0xf89047,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x1675aa,'fieldArea':_0x4d0c79,'index':_0x7b1f27}}}))[_0x15b4e2(0x236)]['addPivotField'];if(!_0x19714f)return!0x1;const {view:_0x185ed9,changesets:_0x247ba9,isEmpty:_0x5efcfd,pivotTableConfig:_0x47530f,shouldBeAddedGroupJSON:_0x500123}=_0x19714f,_0x547097=_0x47530f[_0x15b4e2(0x1d2)],_0x4b3a3f=new _0x2089ac();_0x4b3a3f[_0x15b4e2(0x2b5)](_0x185ed9);const _0x3a15fc={'cellInfo':_0x547097,'view':_0x4b3a3f,'isEmpty':_0x5efcfd};if(!await _0x4453b0['get'](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3a15fc))return!0x1;const _0x101c71=we(_0x4453b0,_0x4b3a3f,_0x547097,_0x5efcfd),_0x28a9bf=_e(_0x4453b0,_0x3a15fc),{undos:_0x4a32ba,redos:_0x461afc}=Ce(_0x439992,{'pivotTableId':_0xf89047,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3},_0x247ba9);return _0x500123&&(_0x461afc[_0x15b4e2(0x392)]({'id':Qo['id'],'params':{'pivotTableId':_0xf89047,'fieldJSON':_0x500123,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}}),_0x4a32ba[_0x15b4e2(0x42a)]({'id':Xo['id'],'params':{'pivotTableId':_0xf89047,'dataFieldId':_0x500123['id'],'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}})),_0x3e4922([..._0x101c71[_0x15b4e2(0x43f)],..._0x28a9bf['redos'],..._0x461afc],_0x439992),_0x377ce6[_0x15b4e2(0x337)]({'unitID':_0x9a626f,'redoMutations':[..._0x101c71['redos'],..._0x28a9bf[_0x15b4e2(0x43f)],..._0x461afc],'undoMutations':[..._0x101c71[_0x15b4e2(0x31a)],..._0x28a9bf[_0x15b4e2(0x31a)],..._0x4a32ba]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x5bf728(0x3df)][_0x5bf728(0x3b4)]!=null,It={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x52f44c,_0x35839d){const _0x1b02ed=_0x5bf728;var _0x45d31b;if(!_0x35839d)return!0x1;const _0x40916f=_0x52f44c['get'](_0x224426);if(!!_0x40916f['getConfig'](z))return!0x0;const _0x5851c4=_0x52f44c[_0x1b02ed(0x21b)](_0x2fecb8),_0x534374=_0x52f44c['get'](G),{pivotTableId:_0x47ce90,pivotTableConfig:_0x4e2b75,collectionConfig:_0x1b7452,unitId:_0x56d5e2,subUnitId:_0x3f27ed}=_0x35839d,{sourceRangeInfo:_0x311cd8,fieldsConfig:_0x1e2811,targetCellInfo:_0x17a7cd}=_0x4e2b75,_0x1fea90=_0x5851c4[_0x1b02ed(0x1db)](_0x56d5e2);if(!_0x1fea90||!_0x1fea90['getSheetBySheetId'](_0x3f27ed))return!0x1;if(!vs()){let _0x508b5b=0x0;_0x1fea90[_0x1b02ed(0x1e3)]()[_0x1b02ed(0x28f)](_0x4774d1=>{const _0x3480de=_0x1b02ed;var _0x23e915,_0x1447f1;_0x508b5b+=(_0x1447f1=(_0x23e915=_0x534374['getSubUnitPivotConfigs'](_0x56d5e2,_0x4774d1[_0x3480de(0x23f)]()))==null?void 0x0:_0x23e915[_0x3480de(0x222)])!=null?_0x1447f1:0x0;});const _0x13017c=(_0x45d31b=_0x40916f[_0x1b02ed(0x3fb)](_0x1e58ed))!=null?_0x45d31b:{},{ls:_0x569c46,pbk:_0x5d32da}=_0x13017c;if(!Ko(_0x569c46,_0x5d32da))throw new _0x13dca5('limit\x20pivot');const _0x5d991b=go(so,_0x569c46,_0x5d32da)[_0x1b02ed(0x3e9)];if(_0x508b5b>=_0x5d991b)throw new _0x13dca5(_0x1b02ed(0x3f4));}if(!_0x1b7452||!_0x1e2811)return!0x1;const {collection:_0x1658db,updateDataFieldList:_0x22aec4}=_0x534374[_0x1b02ed(0x235)](_0x47ce90,_0x1b7452,_0x311cd8,_0x17a7cd);_0x534374['refreshData'](_0x1658db,_0x22aec4,_0x311cd8);const _0x370bce=new _0x15d468(_0x1658db,void 0x0,_0x47ce90);_0x370bce[_0x1b02ed(0x2b9)](_0x1e2811);const _0x1f68b7=JSON[_0x1b02ed(0x454)](JSON[_0x1b02ed(0x3c7)](_0x4e2b75));return _0x534374['addPivotTable'](_0x56d5e2,_0x3f27ed,_0x47ce90,_0x370bce,_0x1f68b7),_0x534374[_0x1b02ed(0x393)]({'unitId':_0x56d5e2,'subUnitId':_0x3f27ed,'token':_0x47ce90,'type':$['Add'],'pivotConfig':_0x1f68b7}),!0x0;}},ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x5c3047,_0x5e89c8){const _0x4024c4=_0x5bf728;if(!_0x5e89c8)return!0x1;const {sourceDataInfo:_0x1ea617,pivotTableConfig:_0x5e6960}=_0x5e89c8;if(!_0x1ea617||!_0x5e6960)return!0x1;const {unitId:_0x2f45fa,subUnitId:_0x1742d3,range:_0x4c47ea}=_0x1ea617,_0x5ce702=_0x5c3047[_0x4024c4(0x21b)](_0x2fecb8),_0x2a03f5=_0x5c3047[_0x4024c4(0x21b)](X),_0x4ca736=_0x5c3047['get'](_0x2a9621),_0x3de609=_0x5c3047[_0x4024c4(0x21b)](_0x4e31c1),_0x3ef000=_0x5ce702[_0x4024c4(0x1db)](_0x2f45fa);if(!_0x3ef000)return!0x1;const _0x80bd40=_0x3ef000[_0x4024c4(0x292)](_0x1742d3);if(!_0x80bd40)return!0x1;const _0x13eb94=_0x2962d6(0x8),_0x130cf6=_0x4c47ea||{'startRow':0x0,'startColumn':0x0,'endRow':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'endColumn':_0x80bd40[_0x4024c4(0x1ce)]()-0x1};_0x130cf6[_0x4024c4(0x441)]=_0x49d1c0[_0x4024c4(0x2bd)];const _0xb686b6=(await _0x2a03f5[_0x4024c4(0x382)]({'unitId':_0x2f45fa,'subUnitId':_0x1742d3,'pivotTableId':_0x13eb94,'params':{'type':k['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2f45fa,'sheetName':_0x80bd40[_0x4024c4(0x3a4)](),'subUnitId':_0x1742d3,'range':_0x130cf6},'pivotTableId':_0x13eb94,'pivotTableIndexConfig':_0x5e6960}}}))[_0x4024c4(0x236)]['addPivotTableWithConfig'];if(!_0xb686b6)return!0x1;const {isEmpty:_0x205a2f,fieldsConfig:_0x2f84cd,collectionConfig:_0x5ca1b6,changesets:_0x556555}=_0xb686b6,_0x3eba33=_0x3ef000['getSheets']()[_0x4024c4(0x395)],_0x26ec56=_0x2565d4({'rowCount':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'columnCount':_0x80bd40[_0x4024c4(0x1ce)]()-0x1});_0x26ec56['id']=_0x1323f3(),_0x26ec56[_0x4024c4(0x362)]=_0x3ef000[_0x4024c4(0x3d4)](''+_0x4ca736['t'](_0x4024c4(0x224)));const _0x27a082={'index':_0x3eba33,'sheet':_0x26ec56,'unitId':_0x2f45fa},{redos:_0x258baf}=Ce(_0x3de609,{'pivotTableId':_0x13eb94,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},_0x556555),_0x509375=[{'id':_0x5b4034['id'],'params':_0x27a082},{'id':It['id'],'params':{'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id'],'pivotTableId':_0x13eb94,'pivotTableConfig':{'isEmpty':_0x205a2f,'fieldsConfig':_0x2f84cd,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},'sourceRangeInfo':{'subUnitId':_0x1742d3,'unitId':_0x2f45fa,'range':_0x130cf6,'sheetName':_0x80bd40[_0x4024c4(0x3a4)]()}},'collectionConfig':_0x5ca1b6}},..._0x258baf];return _0x3e4922(_0x509375,_0x3de609),!0x0;}},Et={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x1d9),'handler'(_0x4005fd,_0x738a14){const _0x45aee3=_0x5bf728;if(!_0x738a14)return!0x1;if(!!_0x4005fd[_0x45aee3(0x21b)](_0x224426)[_0x45aee3(0x3fb)](z))return!0x0;const {pivotTableId:_0x419324,unitId:_0xef4984,subUnitId:_0x41921c}=_0x738a14,_0x3688e7=_0x4005fd[_0x45aee3(0x21b)](G);return _0x3688e7['getPivotTableConfig'](_0xef4984,_0x41921c,_0x419324)?(_0x3688e7[_0x45aee3(0x393)]({'unitId':_0xef4984,'subUnitId':_0x41921c,'token':_0x419324,'type':$[_0x45aee3(0x346)]}),_0x3688e7[_0x45aee3(0x2ce)](_0xef4984,_0x41921c,_0x419324),!0x0):!0x1;}},Cs={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x3a0),async 'handler'(_0x47034e,_0x2db98d){const _0x42f85e=_0x5bf728;var _0x2b418c,_0x251364;const _0x52cedf=_0x47034e[_0x42f85e(0x21b)](_0x4e31c1),_0x4cae5c=_0x47034e[_0x42f85e(0x21b)](_0x2fecb8),_0x4a268c=_0x47034e['get'](_0x2a9621),_0x5d0414=_0x47034e[_0x42f85e(0x21b)](X),_0x3cddc7=_0x47034e[_0x42f85e(0x21b)](_0x342a4e),_0x5123fe=_0x47034e[_0x42f85e(0x21b)](ve),_0x57772c=_0x47034e['get'](_0x224426);if(!_0x2db98d)return!0x1;const {pivotTableConfig:_0x104b42,positionType:_0x158666}=_0x2db98d,{targetCellInfo:_0x41804f,sourceRangeInfo:_0x2fd4bd}=_0x104b42,{unitId:_0x29de21,subUnitId:_0x1dabd0}=_0x41804f,_0x440369=_0x4cae5c[_0x42f85e(0x1db)](_0x29de21);if(!_0x440369)return!0x1;let _0x5886d4=0x0;_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x28f)](_0x54a5d0=>{const _0x1467ad=_0x42f85e;var _0x5ebcde,_0x1c15f8;_0x5886d4+=(_0x1c15f8=(_0x5ebcde=_0x5123fe['getSubUnitPivotConfigs'](_0x29de21,_0x54a5d0[_0x1467ad(0x23f)]()))==null?void 0x0:_0x5ebcde[_0x1467ad(0x222)])!=null?_0x1c15f8:0x0;});const _0x240ae5=(_0x2b418c=_0x57772c[_0x42f85e(0x3fb)](_0x1e58ed))!=null?_0x2b418c:{},{ls:_0x5ff3ca,pbk:_0x1d0fbc}=_0x240ae5;if(!Ko(_0x5ff3ca,_0x1d0fbc))return!0x1;const _0x185df1=go(so,_0x5ff3ca,_0x1d0fbc)['count'];if(_0x5886d4>=_0x185df1)return!0x1;const _0xca3ebc=_0x2db98d['pivotTableId']||_0x2962d6(0x8),_0x187dc4=(await _0x5d0414[_0x42f85e(0x382)]({'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc,'params':{'type':k[_0x42f85e(0x434)],'addPivotTable':{'sourceRangeInfo':_0x2fd4bd,'pivotTableId':_0xca3ebc}}}))[_0x42f85e(0x236)]['addPivotTable'];if(!_0x187dc4)return!0x1;const {view:_0x106dba,isEmpty:_0x505783,fieldsConfig:_0x5962b6,collectionConfig:_0x560a3a}=_0x187dc4,_0x3cef51=[],_0x21294c=[];if(_0x158666===Bo[_0x42f85e(0x394)]){const _0x5313ea=_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x395)],_0x16ea6a=_0x2565d4({});_0x16ea6a['id']=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x2a0)],_0x16ea6a['name']=(_0x251364=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x360)])!=null?_0x251364:_0x440369['generateNewSheetName'](''+_0x4a268c['t'](_0x42f85e(0x224)));const _0x58404b={'index':_0x5313ea,'sheet':_0x16ea6a,'unitId':_0x29de21},_0x34444f=_0x3c4f41(_0x47034e,_0x58404b);_0x3cef51['push']({'id':_0x575055['id'],'params':_0x34444f}),_0x21294c[_0x42f85e(0x42a)]({'id':_0x532b87['id'],'params':_0x58404b});}else{if(!_0x440369['getSheetBySheetId'](_0x1dabd0))return!0x1;const _0x4114fe=we(_0x47034e,new _0x2089ac(),_0x41804f,!0x0);_0x21294c[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x43f)]),_0x3cef51[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x31a)]);const _0x1dc45f={'cellInfo':_0x41804f,'view':_0x106dba,'isEmpty':_0x505783};if(!await _0x47034e['get'](ie)[_0x42f85e(0x3d0)][_0x42f85e(0x447)](be)(!0x0,_0x1dc45f))return!0x1;const _0x5f1f25=_e(_0x47034e,_0x1dc45f);_0x21294c['push'](..._0x5f1f25['redos']),_0x3cef51[_0x42f85e(0x42a)](..._0x5f1f25['undos']);}return _0x21294c[_0x42f85e(0x42a)]({'id':It['id'],'params':{'unitId':_0x41804f[_0x42f85e(0x42b)],'subUnitId':_0x41804f['subUnitId'],'pivotTableId':_0xca3ebc,'pivotTableConfig':{'targetCellInfo':_0x41804f,'sourceRangeInfo':_0x2fd4bd,'fieldsConfig':_0x5962b6},'collectionConfig':_0x560a3a}}),_0x3cef51[_0x42f85e(0x392)]({'id':Et['id'],'params':{'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc}}),_0x3e4922(_0x21294c,_0x52cedf)&&_0x3cddc7[_0x42f85e(0x337)]({'unitID':_0x29de21,'undoMutations':_0x3cef51,'redoMutations':_0x21294c}),!0x0;}},ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2af),async 'handler'(_0x362a1d,_0x41b4f5){const _0x2392a5=_0x5bf728;if(!_0x41b4f5)return!0x1;const _0x4f0901=_0x362a1d['get'](_0x4e31c1),_0x35fde8=_0x362a1d[_0x2392a5(0x21b)](X),_0x589d44=_0x362a1d[_0x2392a5(0x21b)](_0x342a4e),{pivotTableId:_0x409640,fieldId:_0x164784,area:_0x382068,index:_0xbc2d69,unitId:_0x1550bb,subUnitId:_0xb6e710}=_0x41b4f5,_0x2a3bc6=(await _0x35fde8['getPivotDisplayConfig']({'unitId':_0x1550bb,'subUnitId':_0xb6e710,'pivotTableId':_0x409640,'params':{'type':k[_0x2392a5(0x41e)],'movePivotField':{'fieldId':_0x164784,'area':_0x382068,'index':_0xbc2d69}}}))[_0x2392a5(0x236)]['movePivotField'];if(!_0x2a3bc6)return!0x1;const {changesets:_0x280803,view:_0x1de839,isEmpty:_0x3fae50,pivotTableConfig:_0x547041}=_0x2a3bc6,_0x3de264=_0x547041['targetCellInfo'],_0x46480e=new _0x2089ac();_0x46480e[_0x2392a5(0x2b5)](_0x1de839);const _0x2f77a0={'cellInfo':_0x3de264,'view':_0x46480e,'isEmpty':_0x3fae50};if(!await _0x362a1d[_0x2392a5(0x21b)](ie)[_0x2392a5(0x3d0)][_0x2392a5(0x447)](be)(!0x0,_0x2f77a0))return!0x1;const _0x3af46d=we(_0x362a1d,_0x46480e,_0x3de264,_0x3fae50),_0x2ad65b=_e(_0x362a1d,_0x2f77a0),{redos:_0x5a6658,undos:_0x19a1f0}=Ce(_0x4f0901,{'pivotTableId':_0x409640,'unitId':_0x1550bb,'subUnitId':_0xb6e710},_0x280803);return _0x3e4922([..._0x3af46d['redos'],..._0x2ad65b['redos'],..._0x5a6658],_0x4f0901),_0x589d44['pushUndoRedo']({'unitID':_0x1550bb,'redoMutations':[..._0x3af46d[_0x2392a5(0x43f)],..._0x2ad65b[_0x2392a5(0x43f)],..._0x5a6658],'undoMutations':[..._0x3af46d[_0x2392a5(0x31a)],..._0x2ad65b[_0x2392a5(0x31a)],..._0x19a1f0]}),!0x0;}},pt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x381),'handler'(_0x1e7425,_0x4e54a4){const _0x103135=_0x5bf728;if(!_0x4e54a4)return!0x1;if(!!_0x1e7425['get'](_0x224426)[_0x103135(0x3fb)](z))return!0x0;const {pivotTableId:_0xf93e3e,targetCellPosition:_0x1616d6,unitId:_0x3a6128,subUnitId:_0x3d9434}=_0x4e54a4,_0x197f92=_0x1e7425[_0x103135(0x21b)](G);if(!_0x197f92['getPivotTableInstance'](_0x4e54a4[_0x103135(0x414)]))return!0x1;const _0x498a9a=_0x197f92[_0x103135(0x31b)](_0xf93e3e);if(!_0x498a9a)return!0x1;const _0x19711e=_0x197f92['getCollection'](_0x498a9a[_0x103135(0x42b)],_0x4e54a4[_0x103135(0x414)]);if(!_0x19711e)return!0x1;const _0x5d737f=_0x197f92[_0x103135(0x448)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);if(!_0x5d737f)return!0x1;const _0x270289=_0x48d9e9['deepClone'](_0x5d737f);_0x270289['targetCellInfo']={'unitId':_0x3a6128,'subUnitId':_0x3d9434,'row':_0x1616d6['row'],'col':_0x1616d6[_0x103135(0x37a)]};const _0x178883=_0x19711e[_0x103135(0x361)]();if(_0x498a9a[_0x103135(0x2a0)]===_0x3d9434&&_0x498a9a['unitId']===_0x3a6128)_0x197f92[_0x103135(0x432)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x270289),_0x197f92['addDirtyPivotTable']({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x225)]});else{_0x197f92['addDirtyPivotTable']({'unitId':_0x498a9a[_0x103135(0x42b)],'subUnitId':_0x498a9a[_0x103135(0x2a0)],'token':_0xf93e3e,'type':$['Delete']}),_0x197f92[_0x103135(0x2ce)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);const _0x400195=_0x197f92[_0x103135(0x235)](_0xf93e3e,_0x178883,_0x5d737f[_0x103135(0x3f8)],_0x270289[_0x103135(0x1d2)]),_0x3e165a=new _0x15d468(_0x400195[_0x103135(0x2c0)],void 0x0,_0xf93e3e);_0x3e165a['fromJSON'](_0x270289[_0x103135(0x427)]),_0x197f92[_0x103135(0x35c)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x3e165a,_0x270289),_0x197f92[_0x103135(0x393)]({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x2b4)],'pivotConfig':_0x270289});}return!0x0;}},Is={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x31f),'handler':(_0x33ce15,_0x1a014c)=>{const _0x3ac865=_0x5bf728,_0x2d4a7e=_0x33ce15[_0x3ac865(0x21b)](_0x4e31c1),_0x5205b2=_0x33ce15[_0x3ac865(0x21b)](_0x342a4e),_0x172f56=_0x33ce15[_0x3ac865(0x21b)](ve),_0x24a8ea=_0x33ce15[_0x3ac865(0x21b)](_0x2fecb8);if(!_0x1a014c)return!0x1;const _0x34bf1f=_0x5b1933(_0x24a8ea);if(!_0x34bf1f)return!0x1;const {unitId:_0x3839b8,subUnitId:_0x43a76f,workbook:_0x1b3381}=_0x34bf1f,_0x5db5ed=_0x172f56[_0x3ac865(0x448)](_0x1a014c[_0x3ac865(0x3d6)][_0x3ac865(0x42b)],_0x1a014c[_0x3ac865(0x3d6)]['subUnitId'],_0x1a014c['pivotTableId']);if(!_0x5db5ed)return!0x1;const _0x2e8831=_0x1b3381[_0x3ac865(0x292)](_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)]);if(!_0x2e8831)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x1f6396=_0x2e8831[_0x3ac865(0x3de)](),_0x112386=_0x2e8831['getColumnCount']();if(_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)]>_0x1f6396||_0x1a014c['targetCellInfo'][_0x3ac865(0x37a)]>_0x112386)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3d581b=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)],'pivotTableId':_0x1a014c[_0x3ac865(0x414)],'targetCellPosition':{'row':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}],_0x5d67ca=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x43a76f,'pivotTableId':_0x1a014c['pivotTableId'],'targetCellPosition':{'row':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}];return _0x3e4922(_0x3d581b,_0x2d4a7e)&&_0x5205b2[_0x3ac865(0x337)]({'unitID':_0x3839b8,'undoMutations':_0x5d67ca,'redoMutations':_0x3d581b}),!0x0;}},bs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x3cf),async 'handler'(_0x1c0acf,_0x1c4427){const _0x1a8597=_0x5bf728;var _0x46a5b4;if(!_0x1c4427)return!0x1;const _0x110d3d=_0x1c0acf[_0x1a8597(0x21b)](_0x2fecb8),_0x4d2eb7=_0x5b1933(_0x110d3d);if(!_0x4d2eb7)return!0x1;const {unitId:_0x2ba6fe,subUnitId:_0x535fd7,workbook:_0x5705c5}=_0x4d2eb7,{row:_0x28692c,col:_0x5e1a5e}=_0x1c4427,_0x88b0a3=_0x1c0acf['get'](Ne),_0x8ce54a=_0x88b0a3[_0x1a8597(0x2d5)](_0x2ba6fe,_0x535fd7,_0x28692c,_0x5e1a5e);if(!_0x8ce54a)return!0x1;const _0x23acc9=(_0x46a5b4=_0x88b0a3[_0x1a8597(0x3a6)](_0x2ba6fe,_0x535fd7,_0x8ce54a))==null?void 0x0:_0x46a5b4[_0x1a8597(0x303)];if(!_0x23acc9)return!0x1;const _0x2f6601=_0x1c0acf['get'](ve)[_0x1a8597(0x448)](_0x2ba6fe,_0x535fd7,_0x8ce54a);if(!_0x2f6601)return!0x1;const {rowInfo:_0x333989,colInfo:_0x141e6b}=_0x23acc9,_0x2b2094=_0x333989[_0x28692c][_0x1a8597(0x271)],_0x581c65=_0x141e6b[_0x5e1a5e][_0x1a8597(0x271)],_0x4e2a86=_0x333989[_0x28692c][_0x1a8597(0x2cc)],_0x451be1=_0x141e6b[_0x5e1a5e][_0x1a8597(0x2cc)],_0x115300=_0x2b2094['concat'](_0x581c65),_0xcb1f9=_0x2f6601[_0x1a8597(0x427)][_0x1a8597(0x335)][_0x1a8597(0x358)](0x0,_0x4e2a86),_0x208a5d=_0x2f6601['fieldsConfig'][_0x1a8597(0x3a7)][_0x1a8597(0x358)](0x0,_0x451be1),_0xcebe0e=_0xcb1f9[_0x1a8597(0x22e)](_0x208a5d),_0x2f9598=_0x115300['map']((_0xadacf5,_0x5d322e)=>[_0xadacf5,_0xcebe0e[_0x5d322e]]),_0x4c3ad2=(await _0x1c0acf[_0x1a8597(0x21b)](X)[_0x1a8597(0x382)]({'unitId':_0x2ba6fe,'subUnitId':_0x535fd7,'pivotTableId':_0x8ce54a,'params':{'type':k[_0x1a8597(0x22a)],'drillDown':{'tuple':_0x2f9598}}}))['result'][_0x1a8597(0x387)];if(!_0x4c3ad2)return!0x1;const {indexes:_0x3d5b0c,range:_0xcebc87,sourceUnitId:_0x4625f4,sourceSubUnitId:_0x19eb90,formatMap:_0x499e84}=_0x4c3ad2,{startRow:_0x3e5ee3,endRow:_0x508698,startColumn:_0x5163f1,endColumn:_0x5a9f43}=_0xcebc87,_0x3b05ca=new _0x43fcd2(),_0x5723ba=_0x508698-_0x3e5ee3,_0x4d2cf3=_0x5a9f43-_0x5163f1,_0x2bf7b8={},_0x25f6bb=_0x5b1933(_0x110d3d,{'unitId':_0x4625f4,'subUnitId':_0x19eb90});if(!_0x25f6bb)return!0x1;const _0x17671a=fe[_0x1a8597(0x1f2)],_0x1f42aa=fe[_0x1a8597(0x3e5)],_0xb107d0=fe[_0x1a8597(0x3e5)],_0x397041=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x17671a),_0x2602aa=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x1f42aa),_0x318966=_0x5705c5['getStyles']()[_0x1a8597(0x26b)](_0xb107d0),{worksheet:_0x154061}=_0x25f6bb;let _0x2fa097=0x0;const _0x11a166=0x1;_0x3d5b0c[_0x1a8597(0x28f)](_0x11614f=>{const _0x191bdf=_0x1a8597;for(let _0x55f3ca=0x0;_0x55f3ca<=_0x5a9f43-_0x5163f1;_0x55f3ca++)_0x3b05ca[_0x191bdf(0x26b)](_0x2fa097,_0x55f3ca,_0x154061[_0x191bdf(0x33e)](_0x11614f+_0xcebc87[_0x191bdf(0x373)]+_0x11a166,_0x55f3ca));_0x2fa097++;});for(let _0xcc288e=_0x5163f1;_0xcc288e<=_0x5a9f43;_0xcc288e++){const _0x14b059=_0x154061[_0x1a8597(0x33e)](_0x3e5ee3,_0xcc288e);_0x2bf7b8[_0x3e5ee3]||(_0x2bf7b8[_0x3e5ee3]={}),_0x2bf7b8[_0x3e5ee3][_0xcc288e]={..._0x14b059,'s':_0x397041};}let _0x2c08a8=0x1;const _0x113ee6={},_0x4641a={};_0x3b05ca[_0x1a8597(0x3fe)]((_0x36599e,_0x2cd0d1)=>{const _0x4f1b03=_0x1a8597;_0x2cd0d1[_0x4f1b03(0x28f)](_0x136f41=>{const _0x3179f2=_0x4f1b03,_0x1bb347=_0x3b05ca[_0x3179f2(0x35b)](_0x36599e,_0x136f41);if(_0x2bf7b8[_0x2c08a8]||(_0x2bf7b8[_0x2c08a8]={}),_0x2bf7b8[_0x2c08a8][_0x136f41]={..._0x1bb347,'s':_0x2c08a8%0x2===0x0?_0x318966:_0x2602aa},_0x499e84[_0x136f41]&&_0x36599e>=0x0){const _0x205618=_0x2c08a8%0x2===0x0;let _0x5baae8=_0x205618?_0x4641a[_0x136f41]:_0x113ee6[_0x136f41];_0x5baae8||(_0x5baae8=_0x5705c5['getStyles']()['setValue']({..._0x205618?_0xb107d0:_0x1f42aa,'n':{'pattern':_0x499e84[_0x136f41]}}),_0x205618?_0x4641a[_0x136f41]=_0x5baae8:_0x113ee6[_0x136f41]=_0x5baae8),_0x2bf7b8[_0x2c08a8][_0x136f41]['s']=_0x5baae8;}}),_0x2c08a8++;});const _0x226628=new _0x43fcd2(_0x2bf7b8),_0x4e4d37={};_0x226628[_0x1a8597(0x2f0)]((_0x5b6ed1,_0x49741f,_0x11f881)=>{_0x4e4d37[_0x5b6ed1]||(_0x4e4d37[_0x5b6ed1]={}),_0x4e4d37[_0x5b6ed1][_0x49741f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1fa1f5=[],_0x56a5af=[],_0x1cf1d4=_0x5705c5[_0x1a8597(0x1e3)]()[_0x1a8597(0x395)],_0x10e6da=_0x2565d4({'rowCount':Math[_0x1a8597(0x2c1)](_0x5f5337,_0x5723ba+0xa),'columnCount':Math[_0x1a8597(0x2c1)](_0x104e87,_0x4d2cf3+0x5)}),_0x458d0b=_0x1c0acf[_0x1a8597(0x21b)](_0x2a9621);_0x10e6da['id']=_0x1323f3(),_0x10e6da['name']=_0x5705c5[_0x1a8597(0x3d4)](''+_0x458d0b['t'](_0x1a8597(0x224)));const _0x51d361={'index':_0x1cf1d4,'sheet':_0x10e6da,'unitId':_0x2ba6fe},_0x239a7d=_0x3c4f41(_0x1c0acf,_0x51d361);_0x56a5af['push']({'id':_0x532b87['id'],'params':_0x51d361}),_0x1fa1f5[_0x1a8597(0x42a)]({'id':_0x575055['id'],'params':_0x239a7d}),_0x56a5af[_0x1a8597(0x42a)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x2bf7b8}}),_0x1fa1f5[_0x1a8597(0x392)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x4e4d37}});const _0x55dc1d={'startRow':0x0,'startColumn':0x0,'endRow':_0x2c08a8-0x1,'endColumn':_0x5a9f43};_0x56a5af[_0x1a8597(0x42a)]({'id':_0x242433['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'range':_0x55dc1d}}),_0x1fa1f5['unshift']({'id':_0x24119c['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id']}});const _0x33e4e1=_0x1c0acf[_0x1a8597(0x21b)](_0x4e31c1);return _0x3e4922(_0x56a5af,_0x33e4e1)&&_0x1c0acf['get'](_0x342a4e)[_0x1a8597(0x337)]({'unitID':_0x2ba6fe,'undoMutations':_0x1fa1f5,'redoMutations':_0x56a5af}),!0x0;}},Ss={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2b0),async 'handler'(_0x41951f,_0x57b6d2){const _0x3b5343=_0x5bf728;if(!_0x57b6d2)return!0x1;const _0xb4b6ff=_0x41951f[_0x3b5343(0x21b)](_0x4e31c1),_0x28888a=_0x41951f['get'](X),_0x242dd2=_0x41951f[_0x3b5343(0x21b)](_0x342a4e),{pivotTableId:_0x41e89b,fieldIds:_0x53ddbb,unitId:_0x295954,subUnitId:_0x66e8b}=_0x57b6d2,_0x1951b8=(await _0x28888a[_0x3b5343(0x382)]({'unitId':_0x295954,'subUnitId':_0x66e8b,'pivotTableId':_0x41e89b,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x53ddbb}}}))[_0x3b5343(0x236)][_0x3b5343(0x3bd)];if(!_0x1951b8)return!0x1;const {view:_0x377df8,changesets:_0x59de42,isEmpty:_0x43c026,pivotTableConfig:_0x5c3658}=_0x1951b8,_0x43804b=_0x5c3658[_0x3b5343(0x1d2)],_0x1f21f5=new _0x2089ac();_0x1f21f5[_0x3b5343(0x2b5)](_0x377df8);const _0x5ec086={'cellInfo':_0x43804b,'view':_0x1f21f5,'isEmpty':_0x43c026};if(!await _0x41951f[_0x3b5343(0x21b)](ie)['asyncInterceptor'][_0x3b5343(0x447)](be)(!0x0,_0x5ec086))return!0x1;const _0x1cbb04=we(_0x41951f,_0x1f21f5,_0x43804b,_0x43c026),_0x3ac79d=_e(_0x41951f,_0x5ec086),{redos:_0x131bbb,undos:_0x251303}=Ce(_0xb4b6ff,{'pivotTableId':_0x41e89b,'unitId':_0x295954,'subUnitId':_0x66e8b},_0x59de42);return _0x3e4922([..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d[_0x3b5343(0x43f)],..._0x131bbb],_0xb4b6ff),_0x242dd2[_0x3b5343(0x337)]({'unitID':_0x295954,'redoMutations':[..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d['redos'],..._0x131bbb],'undoMutations':[..._0x1cbb04['undos'],..._0x3ac79d['undos'],..._0x251303]}),!0x0;}},Ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x2f8772,_0x2389b2){const _0x2f6f3e=_0x5bf728;if(!_0x2389b2)return!0x1;const _0x12b568=_0x2f8772[_0x2f6f3e(0x21b)](_0x4e31c1),_0x4cc856=_0x2f8772['get'](_0x342a4e),_0x447ee9=_0x2f8772['get'](X),{resetArea:_0x44584f,pivotTableId:_0x306394,unitId:_0x1c42b6,subUnitId:_0x553630}=_0x2389b2,_0x467f13=(await _0x447ee9[_0x2f6f3e(0x382)]({'unitId':_0x1c42b6,'subUnitId':_0x553630,'pivotTableId':_0x306394,'params':{'type':k[_0x2f6f3e(0x2c2)],'resetPivotTable':{'pivotTableId':_0x306394,'resetArea':_0x44584f}}}))[_0x2f6f3e(0x236)]['resetPivotTable'];if(!_0x467f13)return!0x1;const {changesets:_0x1a350d}=_0x467f13,{redos:_0x15f225,undos:_0x4b251f}=Ce(_0x12b568,{'pivotTableId':_0x306394,'unitId':_0x1c42b6,'subUnitId':_0x553630},_0x1a350d);return _0x3e4922(_0x15f225,_0x12b568),_0x4cc856[_0x2f6f3e(0x337)]({'unitID':_0x1c42b6,'redoMutations':_0x15f225,'undoMutations':_0x4b251f}),!0x0;}},Ts={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4ad21e,_0xf3eb9b){const _0x448a8a=_0x5bf728,_0x44fc42=_0x4ad21e[_0x448a8a(0x21b)](_0x4e31c1),_0x5826e2=_0x4ad21e[_0x448a8a(0x21b)](X),_0x42e13c=_0x4ad21e[_0x448a8a(0x21b)](Ne),_0x5c023d=_0x4ad21e[_0x448a8a(0x21b)](_0x2fecb8),_0x1a05ad=_0x4ad21e[_0x448a8a(0x21b)](_0x2a9621),_0x5c37ef=_0x4ad21e['get'](_0x342a4e);if(!_0xf3eb9b)return!0x1;const {unitId:_0x4e6421,subUnitId:_0x119862,row:_0x325928,col:_0x3c2a3c,collapse:_0x457f33}=_0xf3eb9b,_0x489a39=_0x5c023d[_0x448a8a(0x1db)](_0x4e6421);if(!_0x489a39||!_0x489a39[_0x448a8a(0x292)](_0x119862))return!0x1;const _0x48a001=_0x42e13c[_0x448a8a(0x2d5)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);if(!_0x48a001)return!0x1;const _0x2d80e8=_0x42e13c[_0x448a8a(0x3a6)](_0x4e6421,_0x119862,_0x48a001);if(!_0x2d80e8)return!0x1;const _0x1f6d68=_0x5508a5(_0x325928,_0x3c2a3c),{rangesInfo:_0x3fa701,areaInfo:_0x4b4469,headerMap:_0x3f7496}=_0x2d80e8;if(!_0x3fa701||!_0x4b4469||!_0x3f7496)return!0x1;const _0x198bd4=Object['keys'](_0x3fa701)[_0x448a8a(0x2aa)](_0x454c2d=>_0x3fa701[_0x454c2d][_0x448a8a(0x27c)](_0x73739c=>_0x3d3208[_0x448a8a(0x420)](_0x73739c,_0x1f6d68)));let _0x4d38e8;_0x198bd4===_0x448a8a(0x285)?_0x4d38e8=_0x3f7496['rowHeaderMap'][_0x3c2a3c]:_0x198bd4===_0x448a8a(0x1e5)&&(_0x4d38e8=_0x3f7496[_0x448a8a(0x254)][_0x325928]);const _0x43e6c7=_0x4d38e8==null?void 0x0:_0x4d38e8['tableFieldId'],_0x5134e1=_0x42e13c[_0x448a8a(0x2a4)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);let _0x504b5e=_0x5134e1==null?void 0x0:_0x5134e1['v'];if(_0x504b5e===_0x1a05ad['t'](_0x448a8a(0x33c))&&(_0x504b5e=_0x2f6290[_0x448a8a(0x35e)]),_0x504b5e==null||!_0x48a001||!_0x43e6c7)return!0x1;const _0x593aa7=await _0x5826e2[_0x448a8a(0x382)]({'unitId':_0x4e6421,'subUnitId':_0x119862,'pivotTableId':_0x48a001,'params':{'type':k[_0x448a8a(0x3f2)],'setPivotCollapse':{'tableFieldId':_0x43e6c7,'collapse':_0x457f33,'item':_0x504b5e}}}),_0x51cdb6=_0x593aa7==null?void 0x0:_0x593aa7['result'][_0x448a8a(0x330)];if(!_0x51cdb6)return!0x1;const {view:_0x48bfde,pivotTableConfig:_0x347c4c,isEmpty:_0x3e34a9,changesets:_0x520b83}=_0x51cdb6,_0xfe307c=new _0x2089ac();_0xfe307c['formJSON'](_0x48bfde);const _0x55da48=_0x347c4c[_0x448a8a(0x1d2)],_0x4a58c0={'cellInfo':_0x55da48,'view':_0xfe307c,'isEmpty':_0x3e34a9};if(!await _0x4ad21e[_0x448a8a(0x21b)](ie)[_0x448a8a(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4a58c0))return!0x1;const _0x276f6d=we(_0x4ad21e,_0xfe307c,_0x55da48,_0x3e34a9),_0x3a6d0e=_e(_0x4ad21e,_0x4a58c0),{redos:_0x25b0c2,undos:_0x45da8a}=Ce(_0x44fc42,{'pivotTableId':_0x48a001,'unitId':_0x4e6421,'subUnitId':_0x119862},_0x520b83);return _0x3e4922([..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e['redos'],..._0x25b0c2],_0x44fc42),_0x5c37ef[_0x448a8a(0x337)]({'unitID':_0x4e6421,'redoMutations':[..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e[_0x448a8a(0x43f)],..._0x25b0c2],'undoMutations':[..._0x276f6d[_0x448a8a(0x31a)],..._0x3a6d0e[_0x448a8a(0x31a)],..._0x45da8a]}),!0x0;}},ys={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x41f),async 'handler'(_0x5959b3,_0x185dbf){const _0xc4cb98=_0x5bf728;if(!_0x185dbf)return!0x1;const _0x30c69f=_0x5959b3[_0xc4cb98(0x21b)](_0x4e31c1),_0x3eee7b=_0x5959b3[_0xc4cb98(0x21b)](_0x342a4e),_0x240d46=_0x5959b3['get'](X),{pivotTableConfig:_0xbd6f8d,pivotTableId:_0x4c294c,unitId:_0x381f05,subUnitId:_0x34a449}=_0x185dbf,_0x1d428a=(await _0x240d46[_0xc4cb98(0x382)]({'unitId':_0x381f05,'subUnitId':_0x34a449,'pivotTableId':_0x4c294c,'params':{'type':k[_0xc4cb98(0x308)],'setPivotTableConfig':{'pivotTableId':_0x4c294c,'pivotTableConfig':_0xbd6f8d}}}))[_0xc4cb98(0x236)]['setPivotTableConfig'];if(!_0x1d428a)return!0x1;const {changesets:_0x421dd8}=_0x1d428a,{redos:_0x315b54,undos:_0x2194ec}=Ce(_0x30c69f,{'pivotTableId':_0x4c294c,'unitId':_0x381f05,'subUnitId':_0x34a449},_0x421dd8);return _0x3e4922(_0x315b54,_0x30c69f),_0x3eee7b[_0xc4cb98(0x337)]({'unitID':_0x381f05,'redoMutations':_0x315b54,'undoMutations':_0x2194ec}),!0x0;}},Ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2c6),async 'handler'(_0x3a89c5,_0x4821e6){const _0x16eecc=_0x5bf728;if(!_0x4821e6)return!0x1;const _0x587d7d=_0x3a89c5[_0x16eecc(0x21b)](_0x4e31c1),{pivotTableId:_0x4c67d7,tableFieldId:_0x261eea,items:_0x400b4c,unitId:_0x256002,subUnitId:_0x9ab3ea,isAll:_0x356bd1}=_0x4821e6,_0x334cef=_0x3a89c5[_0x16eecc(0x21b)](X),_0x4e2898=_0x3a89c5[_0x16eecc(0x21b)](_0x342a4e),_0x42fd91=(await _0x334cef[_0x16eecc(0x382)]({'unitId':_0x256002,'subUnitId':_0x9ab3ea,'pivotTableId':_0x4c67d7,'params':{'type':k[_0x16eecc(0x243)],'setPivotFilter':{'tableFieldId':_0x261eea,'items':_0x400b4c,'isAll':_0x356bd1}}}))[_0x16eecc(0x236)][_0x16eecc(0x417)];if(!_0x42fd91)return!0x1;const {changesets:_0x40884e,pivotTableConfig:_0x4a46aa,isEmpty:_0x445f89,view:_0x11d58e}=_0x42fd91,_0x316f5f=_0x4a46aa[_0x16eecc(0x1d2)],_0x1de1e1=new _0x2089ac();_0x1de1e1[_0x16eecc(0x2b5)](_0x11d58e);const _0x483246={'cellInfo':_0x316f5f,'view':_0x1de1e1,'isEmpty':_0x445f89};if(!await _0x3a89c5[_0x16eecc(0x21b)](ie)[_0x16eecc(0x3d0)][_0x16eecc(0x447)](be)(!0x0,_0x483246))return!0x1;const _0x4a531d=we(_0x3a89c5,_0x1de1e1,_0x316f5f,_0x445f89),_0x2b8f24=_e(_0x3a89c5,_0x483246),{undos:_0x1ad381,redos:_0x331310}=Ce(_0x587d7d,{'pivotTableId':_0x4c67d7,'unitId':_0x256002,'subUnitId':_0x9ab3ea},_0x40884e);return _0x3e4922([..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],_0x587d7d),_0x4e2898['pushUndoRedo']({'unitID':_0x256002,'redoMutations':[..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],'undoMutations':[..._0x4a531d[_0x16eecc(0x31a)],..._0x2b8f24['undos'],..._0x1ad381]}),!0x0;}},ws={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ed),async 'handler'(_0x1a69dd,_0x3d8567){const _0x58cc28=_0x5bf728;if(!_0x3d8567)return!0x1;const _0x2fa28b=_0x1a69dd['get'](_0x4e31c1),_0x1e41c1=_0x1a69dd['get'](_0x342a4e),_0x2ca5a6=_0x1a69dd[_0x58cc28(0x21b)](X),{info:_0x39a3e1,tableFieldId:_0x53dcaa,pivotTableId:_0x12cac5,unitId:_0xe43921,subUnitId:_0x3f0e98}=_0x3d8567,_0x15a929=(await _0x2ca5a6[_0x58cc28(0x382)]({'unitId':_0xe43921,'subUnitId':_0x3f0e98,'pivotTableId':_0x12cac5,'params':{'type':k[_0x58cc28(0x328)],'setPivotSort':{'tableFieldId':_0x53dcaa,'info':_0x39a3e1}}}))['result'][_0x58cc28(0x401)];if(!_0x15a929)return!0x1;const {changesets:_0x1a0084}=_0x15a929,{redos:_0x1eea0e,undos:_0x4dbdfe}=Ce(_0x2fa28b,{'pivotTableId':_0x12cac5,'unitId':_0xe43921,'subUnitId':_0x3f0e98},_0x1a0084);return _0x3e4922(_0x1eea0e,_0x2fa28b),_0x1e41c1[_0x58cc28(0x337)]({'unitID':_0xe43921,'redoMutations':_0x1eea0e,'undoMutations':_0x4dbdfe}),!0x0;}},_s={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x20d),async 'handler'(_0x3659d7,_0x2deb87){const _0x583b1f=_0x5bf728;if(!_0x2deb87)return!0x1;const _0x528b9e=_0x3659d7['get'](_0x4e31c1),{pivotTableId:_0x585f9f,fieldId:_0x580b3c,valueFilterInfo:_0x4022a4,unitId:_0x32d4ab,subUnitId:_0x4e9c33}=_0x2deb87,_0x4b9404=_0x3659d7[_0x583b1f(0x21b)](X),_0x40f80a=_0x3659d7[_0x583b1f(0x21b)](_0x342a4e),_0x3073f6=(await _0x4b9404[_0x583b1f(0x382)]({'unitId':_0x32d4ab,'subUnitId':_0x4e9c33,'pivotTableId':_0x585f9f,'params':{'type':k[_0x583b1f(0x386)],'setValuePivotFilter':{'tableFieldId':_0x580b3c,'filterInfo':_0x4022a4}}}))[_0x583b1f(0x236)][_0x583b1f(0x252)];if(!_0x3073f6)return!0x1;const {changesets:_0x4a52f0,pivotTableConfig:_0x5bf581,isEmpty:_0x3dfb5f,view:_0x4d0313}=_0x3073f6,_0x2fd980=_0x5bf581[_0x583b1f(0x1d2)],_0x3ef433=new _0x2089ac();_0x3ef433[_0x583b1f(0x2b5)](_0x4d0313);const _0x3977fd={'cellInfo':_0x2fd980,'view':_0x3ef433,'isEmpty':_0x3dfb5f};if(!await _0x3659d7['get'](ie)[_0x583b1f(0x3d0)][_0x583b1f(0x447)](be)(!0x0,_0x3977fd))return!0x1;const _0x1967a0=we(_0x3659d7,_0x3ef433,_0x2fd980,_0x3dfb5f),_0x5bd10d=_e(_0x3659d7,_0x3977fd),{undos:_0x19b842,redos:_0x5aa262}=Ce(_0x528b9e,{'pivotTableId':_0x585f9f,'unitId':_0x32d4ab,'subUnitId':_0x4e9c33},_0x4a52f0);return _0x3e4922([..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],_0x528b9e),_0x40f80a[_0x583b1f(0x337)]({'unitID':_0x32d4ab,'redoMutations':[..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],'undoMutations':[..._0x1967a0[_0x583b1f(0x31a)],..._0x5bd10d[_0x583b1f(0x31a)],..._0x19b842]}),!0x0;}},to={'id':_0x5bf728(0x293),'type':_0x56fcc3['MUTATION'],'handler':(_0x34ea77,_0x13e197)=>{const _0xe2ea8a=_0x5bf728;if(!_0x13e197)return!0x1;if(!!_0x34ea77[_0xe2ea8a(0x21b)](_0x224426)['getConfig'](z))return!0x0;const {unitId:_0x5893ba,subUnitId:_0x3188bc,pivotTableId:_0xb7c69b,tableFieldId:_0x1b8c78,dateType:_0x5a890a}=_0x13e197,_0x17bd96=_0x34ea77['get'](G),_0x44f797=_0x17bd96['getPivotTableInstance'](_0xb7c69b);if(!_0x44f797)return!0x1;const _0x5a4685=_0x44f797[_0xe2ea8a(0x269)](_0x1b8c78);if(!_0x5a4685)return!0x1;const _0x301cbe=_0x5a4685[_0xe2ea8a(0x213)](),_0x5e80f5=_0x44f797[_0xe2ea8a(0x39f)](_0x301cbe),_0x27ae17=(_0x5e80f5==null?void 0x0:_0x5e80f5[_0xe2ea8a(0x3a4)]())+'\x20'+qo(_0x34ea77,_0x5a890a);_0x17bd96['getCollection'](_0x5893ba,_0xb7c69b)['setDisplayName'](_0x5a4685['id'],_0x27ae17);const _0x34f9b1=_0x44f797[_0xe2ea8a(0x26d)](_0x1b8c78);if(!_0x34f9b1)return!0x1;_0x44f797[_0xe2ea8a(0x40a)](_0x34f9b1[_0xe2ea8a(0x3f9)](),_0x27ae17),_0x5a4685['setDateType'](_0x5a890a);const _0x9c49ef=_0x17bd96['getPivotTableConfig'](_0x5893ba,_0x3188bc,_0xb7c69b);return _0x17bd96[_0xe2ea8a(0x393)]({'unitId':_0x5893ba,'subUnitId':_0x3188bc,'token':_0xb7c69b,'type':$[_0xe2ea8a(0x225)],'pivotConfig':_0x9c49ef}),!0x0;}},Fs={'id':'sheet.command.update-date-group','type':_0x56fcc3['COMMAND'],'handler':(_0x40a36e,_0x120ea8)=>{const _0xb979be=_0x5bf728;if(!_0x120ea8)return!0x1;const _0x4d8696=_0x40a36e[_0xb979be(0x21b)](_0x342a4e),{unitId:_0x1c5d84,subUnitId:_0x478a36,pivotTableId:_0xff50a7,tableFieldId:_0x2c9e2c}=_0x120ea8,_0x3876e6=[],_0x7620f4=[],_0x50315b=_0x40a36e[_0xb979be(0x21b)](ve),_0x580a0c=_0x50315b[_0xb979be(0x28d)](_0x1c5d84,_0xff50a7),_0x693194=_0x50315b[_0xb979be(0x448)](_0x1c5d84,_0x478a36,_0xff50a7);if(!(_0x693194!=null&&_0x693194['fieldsConfig'][_0xb979be(0x26a)]))return!0x1;const _0x1dff06=Object[_0xb979be(0x2eb)](_0x693194[_0xb979be(0x427)]['dimension'])['find'](_0x3836d4=>_0x3836d4['id']===_0x2c9e2c);if(!_0x1dff06)return!0x1;const _0x2ef2a7=_0x1dff06[_0xb979be(0x1e0)];if(!(_0x580a0c!=null&&_0x580a0c[_0xb979be(0x255)]))return!0x1;const _0x44884f=Object[_0xb979be(0x2eb)](_0x580a0c==null?void 0x0:_0x580a0c['fields'])[_0xb979be(0x2aa)](_0x4a5ed3=>_0x4a5ed3['id']===_0x2ef2a7);if(!_0x44884f)return!0x1;_0x399b61(_0x44884f)&&_0x3876e6[_0xb979be(0x42a)]({'id':to['id'],'params':{..._0x120ea8,'dateType':_0x44884f[_0xb979be(0x3c4)]}}),_0x7620f4['push']({'id':to['id'],'params':{..._0x120ea8}});const _0x4869d3=_0x40a36e[_0xb979be(0x21b)](_0x4e31c1);return _0x3e4922(_0x7620f4,_0x4869d3)&&_0x4d8696[_0xb979be(0x337)]({'unitID':_0x1c5d84,'undoMutations':_0x3876e6,'redoMutations':_0x7620f4}),!0x0;}},Ds={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x305),async 'handler'(_0x1bc050,_0x2b0fce){const _0x1c28af=_0x5bf728;if(!_0x2b0fce)return!0x1;const _0x2eab51=_0x1bc050[_0x1c28af(0x21b)](_0x4e31c1),_0x4c7c9c=_0x1bc050[_0x1c28af(0x21b)](_0x342a4e),_0x5396f9=_0x1bc050[_0x1c28af(0x21b)](X),{displayName:_0x3ec501,subtotalType:_0x55d32d,format:_0x2280d4,tableFieldId:_0x2510cf,pivotTableId:_0x231531,unitId:_0x2793a9,subUnitId:_0x986fe8}=_0x2b0fce,_0x4130e0=(await _0x5396f9[_0x1c28af(0x382)]({'unitId':_0x2793a9,'subUnitId':_0x986fe8,'pivotTableId':_0x231531,'params':{'type':k[_0x1c28af(0x43e)],'setPivotSetting':{'tableFieldId':_0x2510cf,'displayName':_0x3ec501,'subtotalType':_0x55d32d,'format':_0x2280d4}}}))[_0x1c28af(0x236)][_0x1c28af(0x3a8)];if(!_0x4130e0)return!0x1;const {changesets:_0x3e0172,view:_0x2fc434,pivotTableConfig:_0x22b2f3,isEmpty:_0x36dc46}=_0x4130e0,_0x3654bf=_0x22b2f3[_0x1c28af(0x1d2)],_0xe77bfd=new _0x2089ac();_0xe77bfd[_0x1c28af(0x2b5)](_0x2fc434);const _0x657e27={'cellInfo':_0x3654bf,'view':_0xe77bfd,'isEmpty':_0x36dc46};if(!await _0x1bc050[_0x1c28af(0x21b)](ie)[_0x1c28af(0x3d0)][_0x1c28af(0x447)](be)(!0x0,_0x657e27))return!0x1;const _0x22fbb8=we(_0x1bc050,_0xe77bfd,_0x3654bf,_0x36dc46),_0x53b5cd=_e(_0x1bc050,_0x657e27),{undos:_0x404922,redos:_0x3e309b}=Ce(_0x2eab51,{'pivotTableId':_0x231531,'unitId':_0x2793a9,'subUnitId':_0x986fe8},_0x3e0172);return _0x3e4922([..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],_0x2eab51),_0x4c7c9c[_0x1c28af(0x337)]({'unitID':_0x2793a9,'redoMutations':[..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],'undoMutations':[..._0x22fbb8[_0x1c28af(0x31a)],..._0x53b5cd['undos'],..._0x404922]}),!0x0;}},oo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x1010b6,_0x1cfc9f){const _0x13c8f7=_0x5bf728;if(!_0x1cfc9f)return!0x1;if(!!_0x1010b6[_0x13c8f7(0x21b)](_0x224426)[_0x13c8f7(0x3fb)](z))return!0x0;const _0x79a130=_0x1010b6[_0x13c8f7(0x21b)](G),{pivotTableId:_0x51760b,deleteIds:_0x5e0e23,collectionJSON:_0x4498a1,dataRangeInfo:_0x3d197e,unitId:_0x2db9c7,subUnitId:_0x1a78c4}=_0x1cfc9f,_0xc383f6=_0x79a130[_0x13c8f7(0x24c)](_0x51760b),_0x521c63=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);if(!_0xc383f6||!_0x521c63)return!0x1;const {collection:_0x3d3f2b,updateDataFieldList:_0x4e53a8}=_0x79a130[_0x13c8f7(0x235)](_0x51760b,_0x4498a1,_0x3d197e,_0x521c63['targetCellInfo']);_0x79a130['refreshData'](_0x3d3f2b,_0x4e53a8,_0x3d197e),_0xc383f6[_0x13c8f7(0x1f0)](_0x3d3f2b);for(const _0x4b20f8 of _0x5e0e23)_0x79a130[_0x13c8f7(0x24e)](_0x3d197e[_0x13c8f7(0x42b)],_0x4b20f8);const _0xc76971=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);return _0xc76971[_0x13c8f7(0x3f8)]=JSON[_0x13c8f7(0x454)](JSON['stringify'](_0x3d197e)),_0x79a130[_0x13c8f7(0x393)]({'unitId':_0x2db9c7,'subUnitId':_0x1a78c4,'token':_0x51760b,'type':$[_0x13c8f7(0x225)]}),!0x0;}},Rs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x43a),async 'handler'(_0x4418fc,_0x1af151){const _0x190952=_0x5bf728,_0x54a6f4=_0x4418fc[_0x190952(0x21b)](_0x4e31c1),_0x3455ab=_0x4418fc['get'](X),_0x233498=_0x4418fc[_0x190952(0x21b)](_0x342a4e);if(!_0x1af151)return!0x1;const {token:_0x2c69d4,dataRangeInfo:_0x5c3f1c,unitId:_0x24bbe1,subUnitId:_0x5143a9}=_0x1af151,_0x75ed06=[],_0x28bb65=[],_0x2fcfb4=(await _0x3455ab[_0x190952(0x382)]({'unitId':_0x24bbe1,'subUnitId':_0x5143a9,'pivotTableId':_0x2c69d4,'params':{'type':k[_0x190952(0x332)],'updatePivotSource':{'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}}))['result'][_0x190952(0x327)];if(!_0x2fcfb4)return!0x1;const {changesets:_0x1b2667,deleteIds:_0x181926,collectionConfig:_0xe79888,oldCollectionConfig:_0x3c685a,view:_0x35ef04,isEmpty:_0x306f83,pivotTableConfig:_0x340edd}=_0x2fcfb4;_0x28bb65[_0x190952(0x42a)]({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':_0x181926,'collectionJSON':_0xe79888,'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}),_0x75ed06['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':[],'collectionJSON':_0x3c685a,'dataRangeInfo':_0x340edd[_0x190952(0x3f8)],'unitId':_0x24bbe1,'subUnitId':_0x5143a9}});const _0x196303=_0x340edd[_0x190952(0x1d2)],_0x405bbc=new _0x2089ac();_0x405bbc[_0x190952(0x2b5)](_0x35ef04);const _0x7a0919={'cellInfo':_0x196303,'view':_0x405bbc,'isEmpty':_0x306f83};if(!await _0x4418fc[_0x190952(0x21b)](ie)[_0x190952(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7a0919))return!0x1;const _0x249f0e=we(_0x4418fc,_0x405bbc,_0x196303,_0x306f83),_0xb5ca74=_e(_0x4418fc,_0x7a0919),{undos:_0x2dc2c0,redos:_0x41739c}=Ce(_0x54a6f4,{'pivotTableId':_0x2c69d4,'unitId':_0x24bbe1,'subUnitId':_0x5143a9},_0x1b2667);return _0x3e4922([..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],_0x54a6f4),_0x233498[_0x190952(0x337)]({'unitID':_0x24bbe1,'redoMutations':[..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],'undoMutations':[..._0x249f0e[_0x190952(0x31a)],..._0xb5ca74['undos'],..._0x75ed06,..._0x41739c]}),!0x0;}},Ns={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x13a3f2,_0x219e99){const _0x54695b=_0x5bf728;if(!_0x219e99)return!0x1;const _0x16ccb7=_0x13a3f2[_0x54695b(0x21b)](_0x4e31c1),_0x5b0d4e=_0x13a3f2['get'](X),_0x50facc=_0x13a3f2[_0x54695b(0x21b)](_0x2fecb8),_0x4be756=_0x13a3f2[_0x54695b(0x21b)](_0x342a4e),{pivotTableId:_0x4d8035,position:_0x46c280,index:_0x268c72}=_0x219e99,_0x23adfc=_0x5b1933(_0x50facc);if(!_0x23adfc)return!0x1;const {unitId:_0x4b4a0a,subUnitId:_0x3e6d1d}=_0x23adfc,_0x3cd2cc=(await _0x5b0d4e['getPivotDisplayConfig']({'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d,'pivotTableId':_0x4d8035,'params':{'type':k[_0x54695b(0x3bf)],'updateValuePosition':{'position':_0x46c280,'index':_0x268c72}}}))[_0x54695b(0x236)][_0x54695b(0x29c)];if(!_0x3cd2cc)return!0x1;const {changesets:_0x352f2b,view:_0x419860,isEmpty:_0x43bcc4,pivotTableConfig:_0x58eddb}=_0x3cd2cc,_0x4ef04c=_0x58eddb['targetCellInfo'],_0x404087=new _0x2089ac();_0x404087[_0x54695b(0x2b5)](_0x419860);const _0x5eafd2=_0x13a3f2[_0x54695b(0x21b)](ie),_0x447b15={'cellInfo':_0x4ef04c,'view':_0x404087,'isEmpty':_0x43bcc4};if(!await _0x5eafd2['asyncInterceptor'][_0x54695b(0x447)](be)(!0x0,_0x447b15))return!0x1;const _0x31bc68=we(_0x13a3f2,_0x404087,_0x4ef04c,_0x43bcc4),_0xf40c48=_e(_0x13a3f2,_0x447b15),{undos:_0x3830b3,redos:_0x4a1a7a}=Ce(_0x16ccb7,{'pivotTableId':_0x4d8035,'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d},_0x352f2b);return _0x3e4922([..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],_0x16ccb7),_0x4be756['pushUndoRedo']({'unitID':_0x4b4a0a,'redoMutations':[..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],'undoMutations':[..._0x31bc68[_0x54695b(0x31a)],..._0xf40c48[_0x54695b(0x31a)],..._0x3830b3]}),!0x0;}},Vt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x32f),'handler'(){return!0x0;}};var Vs=Object[_0x5bf728(0x3a1)],Us=(_0x59919b,_0x56301a,_0x47c68e,_0x44b575)=>{const _0x772acd=_0x5bf728;for(var _0x13a427=_0x44b575>0x1?void 0x0:_0x44b575?Vs(_0x56301a,_0x47c68e):_0x56301a,_0x4f1c2c=_0x59919b[_0x772acd(0x395)]-0x1,_0x374199;_0x4f1c2c>=0x0;_0x4f1c2c--)(_0x374199=_0x59919b[_0x4f1c2c])&&(_0x13a427=_0x374199(_0x13a427)||_0x13a427);return _0x13a427;},at=(_0x4a2aec,_0x290359)=>(_0x5a7ae7,_0x253e97)=>_0x290359(_0x5a7ae7,_0x253e97,_0x4a2aec);const As=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0xd5d702,_0x1eb44b,_0x3092d6)=>{const _0x24ace7=_0x5bf728,_0x112549=_0xd5d702[_0x24ace7(0x35d)];_0xd5d702[_0x24ace7(0x24d)](_0x136c6d=>{const _0x1c6fa7=_0x24ace7,_0x26e546=_0x136c6d[_0x1c6fa7(0x3f9)](),_0x405f52=_0x136c6d[_0x1c6fa7(0x32b)](),_0x10fd9e=_0x136c6d[_0x1c6fa7(0x2f8)](),_0x628982=_0x136c6d[_0x1c6fa7(0x2a1)]();_0x1eb44b[_0x405f52]&&_0x1eb44b[_0x405f52]===_0x628982&&_0x10fd9e===_0x628982&&(_0xd5d702[_0x1c6fa7(0x40a)](_0x26e546,_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)),_0x136c6d[_0x1c6fa7(0x31d)](_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)));}),_0xd5d702['iterateFieldByArea'](_0x3a6ce8[_0x24ace7(0x409)],_0x3adc89=>{const _0x562ec9=_0x24ace7,_0x35ba7b=_0x3adc89['getId'](),_0x509d6d=_0x3adc89[_0x562ec9(0x32b)](),_0x3f0863=_0x3adc89['getSourceName'](),_0x420531=_0x3adc89[_0x562ec9(0x2a1)](),_0x25e663=_0x3adc89['getSubtotal'](),_0x6272e5=_0x3092d6(_0x3f0863,_0x25e663);_0x1eb44b[_0x509d6d]&&_0x1eb44b[_0x509d6d]===_0x3f0863&&_0x6272e5===_0x420531&&(_0xd5d702[_0x562ec9(0x40a)](_0x35ba7b,_0x3092d6(_0x112549[_0x562ec9(0x2a1)](_0x509d6d),_0x25e663)),_0x3adc89[_0x562ec9(0x31d)](_0x112549[_0x562ec9(0x2a1)](_0x509d6d)));});},xs=(_0x439be2,_0x195cf0,_0x22cd63)=>{const _0x55fa4c=_0x5bf728;var _0x53edc5,_0x68efe6;const {arrayFormulaCellData:_0x36691b,unitData:_0x437835}=_0x195cf0,{unitId:_0x2fefd1,subUnitId:_0x470d66}=_0x22cd63,_0x1895b6=_0x22cd63[_0x55fa4c(0x284)],{startColumn:_0x32a641,endColumn:_0x2166fe}=_0x1895b6,_0x2bc158=(_0x53edc5=_0x36691b==null?void 0x0:_0x36691b[_0x2fefd1])==null?void 0x0:_0x53edc5[_0x470d66],_0x4823a0=(_0x68efe6=_0x437835==null?void 0x0:_0x437835[_0x2fefd1])==null?void 0x0:_0x68efe6[_0x470d66],_0x313d1a=new Set(),_0x3526f=_0x2166fe-_0x32a641+0x1,{dirtyRanges:_0x275c4f}=_0x439be2;if(_0x275c4f)for(const {range:_0x5d4280,sheetId:_0xe6fc77,unitId:_0x5cb427}of _0x275c4f){if(_0xe6fc77!==_0x470d66||_0x2fefd1!==_0x5cb427)continue;const _0xa38f67=_0x3d3208[_0x55fa4c(0x383)](_0x5d4280,_0x1895b6);if(_0xa38f67){const {startColumn:_0x25718f,endColumn:_0x39011e}=_0xa38f67;for(let _0x574e3b=_0x25718f;_0x574e3b<=_0x39011e;_0x574e3b++)_0x313d1a[_0x55fa4c(0x2de)](_0x574e3b);}}if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f||_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)return Array['from'](_0x313d1a);if(_0x4823a0){const _0x19abc0=_0x4823a0[_0x55fa4c(0x426)](),_0x445ff2=Object[_0x55fa4c(0x3ab)](_0x19abc0);for(const _0x324c13 of _0x445ff2){const _0x491411=Number(_0x324c13),_0x37738d=_0x19abc0[_0x491411];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x11a2b7 in _0x37738d){const _0x3bc6a0=Number(_0x11a2b7);_0x3bc6a0<_0x32a641||_0x3bc6a0>_0x2166fe||_0x313d1a['add'](_0x3bc6a0);}}}if(_0x2bc158){const _0x595449=_0x2bc158['getMatrix'](),_0x20e986=Object[_0x55fa4c(0x3ab)](_0x595449);for(const _0x446883 of _0x20e986){const _0x194df2=Number(_0x446883),_0x247ce8=_0x595449[_0x194df2];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x144f37 in _0x247ce8){const _0x196c34=Number(_0x144f37);_0x196c34<_0x32a641||_0x196c34>_0x2166fe||_0x313d1a[_0x55fa4c(0x2de)](_0x196c34);}}}return Array[_0x55fa4c(0x200)](_0x313d1a);},Os=_0x22d6c7=>{const _0x537e21=_0x5bf728,_0x5dcb37=new Set(),_0x922cea=[];for(const _0x18ae0d of _0x22d6c7){const _0x557522=_0x18ae0d['startRow']+','+_0x18ae0d[_0x537e21(0x320)]+','+_0x18ae0d[_0x537e21(0x3d2)]+','+_0x18ae0d[_0x537e21(0x3cd)];_0x5dcb37[_0x537e21(0x1ff)](_0x557522)||(_0x5dcb37[_0x537e21(0x2de)](_0x557522),_0x922cea['push'](_0x18ae0d));}return _0x922cea;};let ct=class extends _0x25f1fb{constructor(_0x7db387,_0x28dccc,_0x1756b4,_0xb7224e,_0x1d04f2){const _0x510d59=_0x5bf728;super(),V(this,_0x510d59(0x3cc),new _0x6f9e2d(!0x0)),V(this,_0x510d59(0x418),_0x2e25ea=>{const _0x5cf86a=_0x510d59;this[_0x5cf86a(0x3cc)][_0x5cf86a(0x216)](!0x1);}),V(this,_0x510d59(0x2df),_0xc1b947=>{const _0x2877fc=_0x510d59;this[_0x2877fc(0x3cc)][_0x2877fc(0x216)](!0x0);}),(this[_0x510d59(0x317)]=_0x7db387,this[_0x510d59(0x325)]=_0x28dccc,this['_commandService']=_0x1756b4,this[_0x510d59(0x416)]=_0xb7224e,this[_0x510d59(0x24a)]=_0x1d04f2,this[_0x510d59(0x1ef)](),this[_0x510d59(0x3ac)]());}[_0x5bf728(0x1ef)](){const _0x4d0897=_0x5bf728;this[_0x4d0897(0x44a)](),this['_subjectViewChange'](),this[_0x4d0897(0x2a7)](),this[_0x4d0897(0x20a)]();}[_0x5bf728(0x415)](){const _0x1f088f=_0x5bf728;this[_0x1f088f(0x416)]['pushComputingStatusSubject'](this[_0x1f088f(0x3cc)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x421)],this[_0x1f088f(0x418)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x385)],this[_0x1f088f(0x2df)]);}[_0x5bf728(0x3ac)](){const _0x1c0d0e=_0x5bf728;this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x502900=>{const _0xa6c00d=_0x1c0d0e;_0x502900['id']===_0x345d91['id']&&this[_0xa6c00d(0x317)][_0xa6c00d(0x221)](_0x502900['params']);})),this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x498678=>{const _0x46d71f=_0x1c0d0e;if(_0x498678['id']!==ro['id'])return;const _0x2f979e=_0x498678[_0x46d71f(0x3c1)],{unitId:_0x3d524e,subUnitId:_0x2ebe9f,pivotTableId:_0x2375f3}=_0x2f979e,_0x380f9f=_0x2f979e['params'][_0x46d71f(0x2bb)],_0x31a6a9={};switch(_0x380f9f){case k[_0x46d71f(0x2d8)]:{const _0x2f94ca=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3c6)];if(!_0x2f94ca)return;const {row:_0x52e409,col:_0x1d0322,cellData:_0x40f27f,pivotItemRenderInfoCache:_0x333722,tableFieldId:_0x3d4ba2}=_0x2f94ca,_0x528a7b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2f979e[_0x46d71f(0x414)]);if(!_0x528a7b||!_0x333722)return;if(_0x3d4ba2){const _0x576f98=_0x528a7b[_0x46d71f(0x269)](_0x3d4ba2);if(!_0x576f98)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x576f98),'tableFieldId':_0x3d4ba2,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3d4ba2),'sortInfo':_0x528a7b[_0x46d71f(0x203)](_0x3d4ba2),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3d4ba2)};}else{const _0x1e657e=ki(_0x52e409,_0x1d0322,_0x40f27f,_0x528a7b,_0x333722),_0x3002ed=_0x1e657e==null?void 0x0:_0x1e657e['filterId'];if(!_0x3002ed)return;const _0x5c8983=_0x528a7b[_0x46d71f(0x269)](_0x3002ed);if(!_0x5c8983)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x5c8983),'tableFieldId':_0x3002ed,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3002ed),'sortInfo':_0x528a7b['getSortInfo'](_0x3002ed),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3002ed)};}}break;case k[_0x46d71f(0x324)]:{const _0x2fcc32=_0x2f979e['params'][_0x46d71f(0x399)];if(!_0x2fcc32)return;const {pivotTableId:_0x19d74b}=_0x2fcc32,_0x18fcb3=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x19d74b);if(!_0x18fcb3)return;const _0x517905=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x19d74b),_0x3ad120=Li(_0x18fcb3,_0x19d74b,_0x517905);_0x31a6a9[_0x46d71f(0x399)]=_0x3ad120;}break;case k[_0x46d71f(0x364)]:{const _0x2ef44f=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x5d9ed6=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x3d524e),_0x314cc1=_0x5d9ed6[_0x46d71f(0x28d)](_0x2375f3);let _0xfb1e0d=null;const _0x19b6fc=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3),_0x39b4f9=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x397)];if(!_0x2ef44f||!_0x19b6fc||!_0x39b4f9)return!0x1;const {dataFieldId:_0x5ce4a3,fieldArea:_0x7d2557,index:_0x460bd4}=_0x39b4f9;_0x2ef44f[_0x46d71f(0x3ec)]();const _0x1a2c85=_0x2ef44f['addFieldWithSourceId'](_0x5ce4a3,_0x7d2557,_0x460bd4);if(_0x1a2c85&&_0x7d2557===_0x3a6ce8['Value']){const _0x23aaa1=_0x1a2c85[_0x46d71f(0x3f9)](),_0x407217=_0x2ef44f[_0x46d71f(0x269)](_0x23aaa1);if(_0x407217){const _0x45a53a=_0x407217==null?void 0x0:_0x407217[_0x46d71f(0x2a6)]();_0x2ef44f[_0x46d71f(0x1f4)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x45a53a===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}const _0x2f1ed8=_0x2ef44f[_0x46d71f(0x36f)](),_0xb97af5=_0x2ef44f[_0x46d71f(0x1d6)](),_0x201ed9=_0x2ef44f[_0x46d71f(0x42e)](_0x3a6ce8['Value']);if(_0x2f1ed8===-0x1&&_0x201ed9>0x1){const _0x2475e3=_0xb97af5===_0xad4caa[_0x46d71f(0x391)]?_0xad4caa[_0x46d71f(0x3f6)]:_0xb97af5,_0x51bab8=_0x2475e3===_0xad4caa['Row']?_0x3a6ce8[_0x46d71f(0x22f)]:_0x3a6ce8['Column'];_0x2ef44f[_0x46d71f(0x29c)](_0x2475e3,_0x2ef44f[_0x46d71f(0x42e)](_0x51bab8));}}else{if(_0x1a2c85&&(_0x7d2557===_0x3a6ce8[_0x46d71f(0x22f)]||_0x7d2557===_0x3a6ce8[_0x46d71f(0x3f6)])){const _0x47d2e4=_0x1a2c85['getId'](),_0x2cfc8f=_0x2ef44f[_0x46d71f(0x269)](_0x47d2e4);if(_0x2cfc8f&&(_0x2cfc8f==null?void 0x0:_0x2cfc8f[_0x46d71f(0x2a6)]())===_0x54c91a['date']){const _0x8dcb48=_0x2cfc8f[_0x46d71f(0x1d5)]();if(_0x8dcb48&&_0x2ef44f[_0x46d71f(0x419)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x8dcb48),!_0x314cc1[_0x46d71f(0x363)]()[_0x46d71f(0x27c)](_0x5e83ce=>{const _0x40d45d=_0x46d71f,_0x599246=_0x314cc1[_0x40d45d(0x437)](_0x5e83ce);return _0x43eb06(_0x599246)?_0x599246[_0x40d45d(0x2ec)]()[_0x40d45d(0x351)]===_0x5ce4a3:!0x1;})){const _0x149f10=_0x5d9ed6[_0x46d71f(0x28e)](),_0x3c03f8=Hi(_0x2cfc8f[_0x46d71f(0x339)],_0x2cfc8f[_0x46d71f(0x1dd)]),_0x57e178=_0x2cfc8f['getName']()+_0x46d71f(0x21c)+qo(this['_injector'],_0x3c03f8),_0x178818=new _0x239928(_0x149f10,_0x57e178,_0x2962d6(0x3),_0x2cfc8f[_0x46d71f(0x3f9)](),_0x3c03f8);_0x5d9ed6[_0x46d71f(0x209)](_0x178818),_0x314cc1[_0x46d71f(0x336)](_0x149f10,_0x57e178),_0x2ef44f[_0x46d71f(0x3e2)](_0x149f10,_0x7d2557,(_0x460bd4!=null?_0x460bd4:0x0)+0x1),_0xfb1e0d=_0x178818;}}}}const _0x54ede5=_0x2ef44f[_0x46d71f(0x37d)](),_0xacb52f=_0x2ef44f[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)]();let _0x2dfaad;if(_0xfb1e0d){_0x2dfaad=_0xfb1e0d[_0x46d71f(0x361)]();const _0x4215bb=_0xfb1e0d[_0x46d71f(0x3f9)]();_0x314cc1[_0x46d71f(0x272)](_0x4215bb);let _0x14a6e0=!0x0;for(const _0x782896 in _0x5d9ed6[_0x46d71f(0x278)])if(_0x5d9ed6['collections'][_0x782896][_0x46d71f(0x363)]()[_0x46d71f(0x223)](_0x4215bb)){_0x14a6e0=!0x1;break;}_0x14a6e0&&_0x5d9ed6[_0x46d71f(0x406)](_0x4215bb);}const _0x24d91b=_0x2ef44f['endCollectChangeset']();_0x31a6a9['addPivotField']={'view':_0xacb52f,'changesets':_0x24d91b,'isEmpty':_0x54ede5,'pivotTableConfig':_0x19b6fc,'shouldBeAddedGroupJSON':_0x2dfaad};}break;case k[_0x46d71f(0x434)]:{const _0x3c859a=_0x2f979e['params'][_0x46d71f(0x35c)];if(!_0x3c859a)return;const _0x3cb819=_0x3c859a[_0x46d71f(0x3f8)],_0x48841e=_0x3c859a['pivotTableId'],{collection:_0x537c14}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x3cb819[_0x46d71f(0x42b)],'sheetName':_0x3cb819[_0x46d71f(0x360)],'subUnitId':_0x3cb819[_0x46d71f(0x2a0)],'range':_0x3cb819[_0x46d71f(0x284)]}),_0x121a66=new _0x15d468(_0x537c14,void 0x0,_0x48841e),_0x1add8f=_0x121a66[_0x46d71f(0x3b1)](),_0x12632e=_0x121a66[_0x46d71f(0x361)](),_0x3e629e=_0x537c14['toJSON']();_0x31a6a9['addPivotTable']={'view':_0x1add8f,'fieldsConfig':_0x12632e,'collectionConfig':_0x3e629e,'isEmpty':_0x121a66[_0x46d71f(0x37d)]()};}break;case k[_0x46d71f(0x41e)]:{const _0x465abb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x424)];if(!_0x465abb)return;const {fieldId:_0x461577,area:_0x206333,index:_0x23c59d}=_0x465abb,_0x3eb5ba=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3eb5ba)return;const _0x51e7c=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x51e7c)return;_0x51e7c[_0x46d71f(0x3ec)]();const {area:_0x5e1354,index:_0x2eb056}=_0x51e7c['getFieldPositionInfoById'](_0x461577);if(_0x51e7c[_0x46d71f(0x3f3)](_0x461577,_0x206333,_0x23c59d),_0x206333===_0x3a6ce8[_0x46d71f(0x409)]&&_0x51e7c[_0x46d71f(0x26d)](_0x461577)[_0x46d71f(0x37f)]()===void 0x0){const _0x4d6729=_0x51e7c[_0x46d71f(0x26d)](_0x461577);if(_0x4d6729&&_0x4d6729[_0x46d71f(0x37f)]()===void 0x0){const _0x549941=_0x51e7c[_0x46d71f(0x269)](_0x461577);if(_0x549941){const _0x1c112c=_0x549941==null?void 0x0:_0x549941['getFieldDataType']();_0x51e7c[_0x46d71f(0x1f4)](_0x461577,_0x1c112c===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}}const _0x42ee51=_0x51e7c['getValuePosition'](),_0x255ed8=_0x51e7c[_0x46d71f(0x36f)](),_0x5a672d=_0x51e7c[_0x46d71f(0x42e)](_0x3a6ce8[_0x46d71f(0x409)])>0x1;if(_0x5a672d&&_0x5e1354===_0x206333&&(_0x206333===_0x3a6ce8['Row']&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8[_0x46d71f(0x3f6)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])){let _0x274e30=_0x255ed8;_0x2eb056<=_0x255ed8&&_0x274e30--,_0x23c59d<=_0x255ed8&&_0x274e30++,_0x51e7c['updateValuePosition'](_0x42ee51,_0x274e30);}else _0x5a672d&&(_0x5e1354===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x5e1354===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x2eb056&&_0x51e7c['updateValuePosition'](_0x42ee51,_0x255ed8-0x1),_0x5a672d&&(_0x206333===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x23c59d&&_0x51e7c[_0x46d71f(0x29c)](_0x42ee51,_0x255ed8+0x1);const _0xa0f3b7=_0x51e7c[_0x46d71f(0x3b1)](),_0x41c5f5=_0x51e7c[_0x46d71f(0x37d)](),_0x416b33=_0x51e7c[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x424)]={'view':_0xa0f3b7[_0x46d71f(0x361)](),'changesets':_0x416b33,'isEmpty':_0x41c5f5,'pivotTableConfig':_0x3eb5ba};}break;case k[_0x46d71f(0x429)]:{const _0x23df98=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3bd)];if(!_0x23df98)return;const _0x3b891c=_0x23df98[_0x46d71f(0x2f1)],_0x472a0c=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x472a0c)return!0x1;const _0xe23057=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x2375f3);if(!_0xe23057)return!0x1;_0xe23057[_0x46d71f(0x3ec)]();for(const _0x2e34ae of _0x3b891c){const {area:_0x4984f4}=_0xe23057[_0x46d71f(0x3b2)](_0x2e34ae);_0x4984f4===_0x3a6ce8[_0x46d71f(0x409)]&&_0xe23057[_0x46d71f(0x313)](_0x2e34ae),(_0x4984f4===_0x3a6ce8[_0x46d71f(0x22f)]||_0x4984f4===_0x3a6ce8[_0x46d71f(0x3f6)])&&_0xe23057[_0x46d71f(0x34a)](_0x2e34ae),_0xe23057[_0x46d71f(0x2a5)](_0x2e34ae);}const _0xb81d3f=_0xe23057['isEmpty'](),_0x4d6e61=_0xe23057[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0xb97b56=_0xe23057[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3bd)]={'changesets':_0xb97b56,'pivotTableConfig':_0x472a0c,'isEmpty':_0xb81d3f,'view':_0x4d6e61};}break;case k[_0x46d71f(0x243)]:{const _0xf68940=_0x2f979e[_0x46d71f(0x3c1)]['setPivotFilter'];if(!_0xf68940)return;const {tableFieldId:_0x573e8a,items:_0x192cfc,isAll:_0x4c7467}=_0xf68940,_0xc3909=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3),_0x2d5caf=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xc3909||!_0x2d5caf)return;_0xc3909['startCollectChangeset'](),_0xc3909[_0x46d71f(0x1dc)](_0x573e8a,{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x192cfc,'isAll':_0x4c7467});const _0x352c31=_0xc3909['isEmpty'](),_0xec52e5=_0xc3909[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2f5654=_0xc3909[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x417)]={'view':_0xec52e5,'changesets':_0x2f5654,'isEmpty':_0x352c31,'pivotTableConfig':_0x2d5caf};}break;case k['SetValuePivotFilter']:{const _0x309e07=_0x2f979e['params'][_0x46d71f(0x252)];if(!_0x309e07)return;const {tableFieldId:_0x1ef6dc,filterInfo:_0x204347}=_0x309e07,_0x27202b=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x3ddaeb=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x27202b||!_0x3ddaeb)return;_0x27202b[_0x46d71f(0x3ec)](),_0x27202b[_0x46d71f(0x452)](_0x1ef6dc,_0x204347);const _0x5f3c8f=_0x27202b[_0x46d71f(0x37d)](),_0x33e1c8=_0x27202b[_0x46d71f(0x3b1)]()['toJSON'](),_0x1c387c=_0x27202b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x252)]={'view':_0x33e1c8,'changesets':_0x1c387c,'isEmpty':_0x5f3c8f,'pivotTableConfig':_0x3ddaeb};}break;case k['SetPivotSort']:{const _0x5372ad=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSort'];if(!_0x5372ad)return;const {tableFieldId:_0x4cddfc,info:_0x2203ac}=_0x5372ad,_0x5d5354=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x4b2588=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x5d5354||!_0x4b2588)return;_0x5d5354[_0x46d71f(0x3ec)](),_0x5d5354[_0x46d71f(0x39a)](_0x4cddfc,_0x2203ac);const _0x102443=_0x5d5354[_0x46d71f(0x37d)](),_0x5d329c=_0x5d5354[_0x46d71f(0x3b1)]()['toJSON'](),_0x2b37ad=_0x5d5354[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x401)]={'view':_0x5d329c,'changesets':_0x2b37ad,'isEmpty':_0x102443,'pivotTableConfig':_0x4b2588};}break;case k[_0x46d71f(0x43e)]:{const _0x504ef5=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSetting'];if(!_0x504ef5)return;const {tableFieldId:_0x39ff6f,displayName:_0x45c833,subtotalType:_0x29f0fb,format:_0x14ead5}=_0x504ef5,_0x435a1b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0xc18c7c=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x435a1b||!_0xc18c7c)return;_0x435a1b[_0x46d71f(0x3ec)](),_0x45c833!==void 0x0&&_0x435a1b[_0x46d71f(0x40a)](_0x39ff6f,_0x45c833),_0x29f0fb!==void 0x0&&_0x435a1b['setSubtotalType'](_0x39ff6f,_0x29f0fb),_0x14ead5!==void 0x0&&_0x435a1b[_0x46d71f(0x419)](_0x39ff6f,_0x14ead5);const _0x1f2816=_0x435a1b['isEmpty'](),_0x361edb=_0x435a1b['query']()[_0x46d71f(0x361)](),_0x54d23d=_0x435a1b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3a8)]={'changesets':_0x54d23d,'pivotTableConfig':_0xc18c7c,'isEmpty':_0x1f2816,'view':_0x361edb};}break;case k[_0x46d71f(0x332)]:{const _0x264c5a=_0x2f979e['params'][_0x46d71f(0x327)];if(!_0x264c5a)return;const {dataRangeInfo:_0x224709,unitId:_0x5eb4ea,subUnitId:_0x403e09}=_0x264c5a,_0x1019d9=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x5eb4ea,_0x403e09,_0x2375f3),_0x346006=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3);if(!this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)||!_0x346006||!_0x1019d9)return;const _0x4698ee=this[_0x46d71f(0x317)]['getUpdateRangeDeleteIds'](_0x5eb4ea,_0x2375f3,_0x224709),_0x1c88f9=this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)['toJSON'](),{collection:_0x1c0ee9}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x224709[_0x46d71f(0x42b)],'sheetName':_0x224709[_0x46d71f(0x360)],'subUnitId':_0x224709[_0x46d71f(0x2a0)],'range':_0x224709[_0x46d71f(0x284)]}),_0x45f1cf=_0x1c0ee9[_0x46d71f(0x361)]();_0x346006[_0x46d71f(0x3ec)]();const _0x1f0d3c=this[_0x46d71f(0x317)][_0x46d71f(0x23e)](_0x5eb4ea)[_0x46d71f(0x202)]()||_0x267ddd;_0x346006['iterateField'](_0xd945b1=>{const _0x5a7225=_0x46d71f,_0x438166=_0xd945b1[_0x5a7225(0x32b)]();if(!_0x1c0ee9['hasField'](_0x438166)){const _0x5943f4=_0x1c0ee9['getDataFieldBySourceName'](_0xd945b1['getSourceName']());if(_0x5943f4){_0x346006['updateFieldSourceInfo'](_0xd945b1[_0x5a7225(0x3f9)](),_0x5943f4[_0x5a7225(0x3a4)](),_0x5943f4[_0x5a7225(0x3f9)]());const {area:_0x1ac1b0}=_0x346006[_0x5a7225(0x3b2)](_0xd945b1[_0x5a7225(0x3f9)]());let _0x75f3f0=_0xd945b1[_0x5a7225(0x2f8)]();const _0x3e12dd=_0xd945b1[_0x5a7225(0x2a1)]();if(_0x1ac1b0===_0x3a6ce8[_0x5a7225(0x409)]){const _0x3f0eaf=_0xd945b1[_0x5a7225(0x37f)]();_0x75f3f0=_0x1f0d3c(_0x5943f4[_0x5a7225(0x3a4)](),_0x3f0eaf);}_0x3e12dd!==_0x75f3f0&&_0x346006[_0x5a7225(0x40a)](_0xd945b1['getId'](),_0x75f3f0);}else _0x346006[_0x5a7225(0x2a5)](_0xd945b1['getId']());}});const _0x259d7f=_0x346006['isEmpty'](),_0x11413f=_0x346006[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2db661=_0x346006['endCollectChangeset']();_0x31a6a9[_0x46d71f(0x327)]={'view':_0x11413f,'changesets':_0x2db661,'isEmpty':_0x259d7f,'pivotTableConfig':_0x1019d9,'collectionConfig':_0x45f1cf,'oldCollectionConfig':_0x1c88f9,'deleteIds':_0x4698ee};}break;case k[_0x46d71f(0x3bf)]:{const _0x75dc6f=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x29c)];if(!_0x75dc6f)return;const {position:_0x3fcaf3,index:_0x3ebcbc}=_0x75dc6f,_0xecc94e=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xecc94e)return!0x1;const _0x498f25=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x498f25)return!0x1;_0x498f25['startCollectChangeset'](),_0x498f25[_0x46d71f(0x29c)](_0x3fcaf3,_0x3ebcbc);const _0x42b5e0=_0x498f25[_0x46d71f(0x37d)](),_0x36f2e2=_0x498f25['query']()[_0x46d71f(0x361)](),_0x63c832=_0x498f25[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x29c)]={'changesets':_0x63c832,'pivotTableConfig':_0xecc94e,'isEmpty':_0x42b5e0,'view':_0x36f2e2};}break;case k[_0x46d71f(0x3f2)]:{const _0x4bcf16=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x330)];if(!_0x4bcf16)return;const {tableFieldId:_0x48338b,collapse:_0x1f6d94,item:_0x5c351a}=_0x4bcf16,_0x3488cb=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x17cce5=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3488cb||!_0x17cce5)return;_0x3488cb[_0x46d71f(0x3ec)](),_0x3488cb[_0x46d71f(0x38d)](_0x48338b,_0x1f6d94,_0x5c351a);const _0x245c8e=_0x3488cb['isEmpty'](),_0x23c378=_0x3488cb['query']()[_0x46d71f(0x361)](),_0x59bda9=_0x3488cb[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x330)]={'view':_0x23c378,'isEmpty':_0x245c8e,'pivotTableConfig':_0x17cce5,'changesets':_0x59bda9};}break;case k[_0x46d71f(0x308)]:{const _0x2461ab=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ed)];if(!_0x2461ab)return;const {pivotTableConfig:_0x19506b}=_0x2461ab,_0x3d2fb3=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x440073=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3d2fb3||!_0x440073)return;_0x3d2fb3[_0x46d71f(0x3ec)](),Yi(_0x3d2fb3,_0x19506b);const _0x5db57b=_0x3d2fb3[_0x46d71f(0x37d)](),_0x4cbb3c=_0x3d2fb3[_0x46d71f(0x3b1)]()['toJSON'](),_0x511016=_0x3d2fb3[_0x46d71f(0x2b8)]();_0x31a6a9['setPivotTableConfig']={'view':_0x4cbb3c,'isEmpty':_0x5db57b,'pivotTableConfig':{..._0x440073,'fieldsConfig':_0x3d2fb3[_0x46d71f(0x361)]()},'changesets':_0x511016};}break;case k[_0x46d71f(0x2c2)]:{const _0x3d40fb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x229)];if(!_0x3d40fb)return;const _0x353e74=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0x2cbd14=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x353e74||!_0x2cbd14)return;_0x353e74['startCollectChangeset'](),Ki(_0x353e74,_0x3d40fb[_0x46d71f(0x260)]);const _0x4dad5a=_0x353e74[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x42d469=_0x353e74[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x229)]={'view':_0x4dad5a,'isEmpty':!0x0,'pivotTableConfig':{..._0x2cbd14,'fieldsConfig':_0x353e74[_0x46d71f(0x361)]()},'changesets':_0x42d469};}break;case k['AddPivotTableWithConfig']:{const _0x433c21=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ca)];if(!_0x433c21)return;const _0x184b50=_0x433c21[_0x46d71f(0x3f8)],_0x3fc13e=_0x433c21[_0x46d71f(0x414)],{collection:_0x1bd696}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x184b50[_0x46d71f(0x42b)],'sheetName':_0x184b50['sheetName'],'subUnitId':_0x184b50[_0x46d71f(0x2a0)],'range':_0x184b50[_0x46d71f(0x284)]}),_0x21c7a0=new _0x15d468(_0x1bd696,void 0x0,_0x3fc13e),_0x27e63e=_0x1bd696['getFieldIds'](),{rows:_0xbd5ea2,columns:_0x52e60d,filters:_0x1b7fe5,values:_0x4e8243}=_0x433c21[_0x46d71f(0x3e7)];_0x21c7a0['startCollectChangeset']();for(const {field:_0x5f58d7,selectedItems:_0x1a8f9d}of _0xbd5ea2||[]){const _0x54e6f6=_0x27e63e[_0x5f58d7];if(_0x54e6f6){const _0x356b25=_0x21c7a0[_0x46d71f(0x3e2)](_0x54e6f6,_0x3a6ce8['Row']);_0x1a8f9d&&_0x356b25&&_0x21c7a0['setLabelFilterInfo'](_0x356b25[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x1a8f9d,'isAll':!0x1});}}for(const {field:_0xa197d2,selectedItems:_0x5b1d7e}of _0x52e60d||[]){const _0x3f584e=_0x27e63e[_0xa197d2];if(_0x3f584e){const _0x62d74e=_0x21c7a0[_0x46d71f(0x3e2)](_0x3f584e,_0x3a6ce8[_0x46d71f(0x3f6)]);_0x5b1d7e&&_0x62d74e&&_0x21c7a0[_0x46d71f(0x1dc)](_0x62d74e[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x5b1d7e,'isAll':!0x1});}}for(const {field:_0x1f22e3,selectedItems:_0x837e15}of _0x1b7fe5||[]){const _0x5a5645=_0x27e63e[_0x1f22e3];if(_0x5a5645){const _0x5d4b83=_0x21c7a0[_0x46d71f(0x3e2)](_0x5a5645,_0x3a6ce8[_0x46d71f(0x2d8)]);_0x837e15&&_0x5d4b83&&_0x21c7a0[_0x46d71f(0x1dc)](_0x5d4b83['getId'](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x837e15,'isAll':!0x1});}}for(const {field:_0x3dbba9,subTotalType:_0x45d25d,formatString:_0x22672d}of _0x4e8243||[]){const _0x410192=_0x1bd696['getFieldById'](_0x27e63e[_0x3dbba9]);if(!_0x410192)continue;const _0x10aff7=_0x27e63e[_0x3dbba9];if(_0x10aff7){const _0x42cf02=_0x21c7a0[_0x46d71f(0x3e2)](_0x10aff7,_0x3a6ce8[_0x46d71f(0x409)]);if(_0x42cf02){if(_0x45d25d!==void 0x0){_0x21c7a0['setSubtotalType'](_0x42cf02[_0x46d71f(0x3f9)](),_0x45d25d);const _0x36460e=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x184b50['unitId'])['getAutoDisplayNameFunction']()||_0x267ddd,_0x3d483b=_0x1bd696[_0x46d71f(0x2a1)](_0x10aff7),_0x3a6010=_0x36460e(_0x3d483b,_0x45d25d);_0x21c7a0[_0x46d71f(0x40a)](_0x42cf02[_0x46d71f(0x3f9)](),_0x3a6010);}else{if(_0x410192){const _0x53698f=_0x410192==null?void 0x0:_0x410192[_0x46d71f(0x2a6)]();_0x21c7a0['setSubtotalType'](_0x42cf02['getId'](),_0x53698f===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}_0x22672d&&_0x21c7a0[_0x46d71f(0x419)](_0x42cf02[_0x46d71f(0x3f9)](),_0x22672d);}}}const _0x3ecf09=_0x21c7a0['query'](),_0x1195e7=_0x21c7a0[_0x46d71f(0x361)](),_0xef403=_0x21c7a0[_0x46d71f(0x37d)](),_0x12d42e=_0x21c7a0[_0x46d71f(0x2b8)](),_0x68d897=_0x1bd696[_0x46d71f(0x361)]();_0x31a6a9[_0x46d71f(0x3ca)]={'view':_0x3ecf09,'fieldsConfig':_0x1195e7,'collectionConfig':_0x68d897,'isEmpty':_0xef403,'changesets':_0x12d42e};}break;case k[_0x46d71f(0x22a)]:{const _0x13762d=Bi(this['_injector'],_0x2f979e);if(!_0x13762d)return;const {range:_0x1949ae,sourceSubUnitId:_0x237375,sourceUnitId:_0x566777,formatMap:_0x6dd0d3,indexes:_0x314ad3}=_0x13762d;_0x31a6a9[_0x46d71f(0x387)]={'range':_0x1949ae,'sourceSubUnitId':_0x237375,'sourceUnitId':_0x566777,'formatMap':_0x6dd0d3,'indexes':_0x314ad3};}break;}this['_commandService'][_0x46d71f(0x314)](lo['id'],{'version':_0x2f979e[_0x46d71f(0x41b)],'result':_0x31a6a9},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x26cab8=_0x5bf728;this['disposeWithMe'](this[_0x26cab8(0x234)][_0x26cab8(0x3ff)](_0x747f89=>{const _0x30528c=_0x26cab8;if(_0x747f89['id']!==uo['id'])return;const _0xd00506=_0x747f89['params'];return this[_0x30528c(0x317)][_0x30528c(0x2b6)](_0xd00506[_0x30528c(0x44d)]),!0x0;}));}[_0x5bf728(0x44a)](){const _0x329f0b=_0x5bf728;this[_0x329f0b(0x317)][_0x329f0b(0x435)][_0x329f0b(0x2d4)](_0xcefc3d=>{const _0xa97849=_0x329f0b;switch(_0xcefc3d[_0xa97849(0x2bb)]){case Be[_0xa97849(0x2de)]:_0xcefc3d[_0xa97849(0x2a8)]&&_0xcefc3d[_0xa97849(0x1d2)]&&this[_0xa97849(0x35f)](_0xcefc3d[_0xa97849(0x347)],_0xcefc3d[_0xa97849(0x2a8)],_0xcefc3d[_0xa97849(0x1d2)]);break;case Be[_0xa97849(0x25a)]:{const {unitId:_0x92d86e,subUnitId:_0x115a2c,token:_0x2af4b8}=_0xcefc3d;_0x92d86e&&_0x115a2c&&_0x2af4b8&&this[_0xa97849(0x321)](_0x92d86e,_0x115a2c,_0x2af4b8);}break;case Be[_0xa97849(0x367)]:{const {token:_0x25c17e,oldSourceRangeInfo:_0x5d086e,dataRangeInfo:_0x5e65a7,targetCellInfo:_0x443f4c}=_0xcefc3d,{unitId:_0x30ab69,subUnitId:_0x152265}=_0x5d086e||{};_0x30ab69&&_0x152265&&_0x25c17e&&this[_0xa97849(0x321)](_0x30ab69,_0x152265,_0x25c17e),_0x5e65a7&&_0x443f4c&&this[_0xa97849(0x35f)](_0x25c17e,_0x5e65a7,_0x443f4c);}break;}});}[_0x5bf728(0x20a)](){const _0x5e80ab=_0x5bf728;this[_0x5e80ab(0x317)][_0x5e80ab(0x294)][_0x5e80ab(0x2d4)](_0x401953=>{const _0x2571eb=_0x5e80ab;Object[_0x2571eb(0x3ab)](_0x401953)[_0x2571eb(0x28f)](_0x5ccba2=>{const _0x492ab2=_0x2571eb,_0x4e0f65=this[_0x492ab2(0x317)]['getTargetByPivotId'](_0x5ccba2);if(_0x4e0f65){const _0x391626=this[_0x492ab2(0x317)][_0x492ab2(0x448)](_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x42b)],_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x2a0)],_0x5ccba2);_0x391626&&(this[_0x492ab2(0x35f)](_0x5ccba2,_0x391626[_0x492ab2(0x3f8)],_0x391626[_0x492ab2(0x1d2)]),this['triggerDirtyFeature']([{'unitId':_0x4e0f65[_0x492ab2(0x42b)],'subUnitId':_0x4e0f65['subUnitId'],'token':_0x5ccba2}]));}});});}[_0x5bf728(0x201)](){const _0x41b2e2=_0x5bf728;this[_0x41b2e2(0x317)]['viewData$'][_0x41b2e2(0x2d4)](_0x1a3ea8=>{const _0x58983f=_0x41b2e2,{unitId:_0x2eab6e,subUnitId:_0x39a529,pivotTableId:_0x216952}=_0x1a3ea8;_0x2eab6e&&_0x39a529&&_0x216952&&this[_0x58983f(0x1f3)]([{'unitId':_0x2eab6e,'subUnitId':_0x39a529,'token':_0x216952}]);});}[_0x5bf728(0x1f3)](_0x199e2e){const _0x2c4872=_0x5bf728,_0x3b8e39={};_0x199e2e[_0x2c4872(0x28f)](_0x5793be=>{var _0x5c72be,_0x5dfe43;const {unitId:_0x4ec7aa,subUnitId:_0x2f4847,token:_0xb2335b}=_0x5793be;_0x3b8e39[_0x4ec7aa]=(_0x5c72be=_0x3b8e39[_0x4ec7aa])!=null?_0x5c72be:{},_0x3b8e39[_0x4ec7aa][_0x2f4847]=(_0x5dfe43=_0x3b8e39[_0x4ec7aa][_0x2f4847])!=null?_0x5dfe43:{},_0x3b8e39[_0x4ec7aa][_0x2f4847][_0xb2335b]=!0x0;}),this[_0x2c4872(0x234)]['executeCommand'](Vt['id'],_0x3b8e39);}[_0x5bf728(0x321)](_0x4e7641,_0x354b7c,_0x1545a0){const _0x2d6d81=_0x5bf728;this[_0x2d6d81(0x325)][_0x2d6d81(0x3c9)](_0x4e7641,_0x354b7c,[_0x1545a0]);}['handleSourceRangeChange'](_0x42ede4,_0x499e1d,_0x4439ba){const _0x4d5b57=_0x5bf728,{unitId:_0x396f98,subUnitId:_0x1336a0}=_0x499e1d;this[_0x4d5b57(0x325)][_0x4d5b57(0x1ff)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4)&&this['removeSourceRangeChange'](_0x396f98,_0x1336a0,_0x42ede4);const _0x2c56b4={'sheetId':_0x1336a0,..._0x499e1d};this[_0x4d5b57(0x325)][_0x4d5b57(0x36d)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4,{'unitId':_0x4439ba[_0x4d5b57(0x42b)],'subUnitId':_0x4439ba['subUnitId'],'dependencyRanges':[_0x2c56b4],'getDirtyData':(_0x317e54,_0x310b0c)=>{const _0x526938=_0x4d5b57,_0x4b26a3=this[_0x526938(0x317)],_0x565785=_0x4b26a3['getTargetByPivotId'](_0x42ede4);if(!_0x565785)return As();const {unitId:_0x3b3ac1,subUnitId:_0x5623d3}=_0x565785,_0x3653f7=xs(_0x317e54,_0x310b0c,_0x499e1d);if(_0x3653f7[_0x526938(0x395)]>0x0){const _0xb3fc54=_0x4b26a3['getCollection'](_0x396f98,_0x42ede4),_0x1beeff=_0xb3fc54[_0x526938(0x363)](),_0x4215b2=this[_0x526938(0x413)](_0x499e1d[_0x526938(0x42b)],_0x499e1d[_0x526938(0x2a0)],_0x310b0c),_0x255481={},_0x649372=this[_0x526938(0x317)][_0x526938(0x23e)](_0x3b3ac1)[_0x526938(0x202)]()||_0x267ddd,_0x4d49fd=[];for(const _0x415438 of _0x3653f7){const _0x2e63fa=_0x415438-(_0x499e1d[_0x526938(0x284)][_0x526938(0x3d2)]||0x0),_0x378f8a=_0x1beeff[_0x2e63fa];_0x4d49fd[_0x526938(0x42a)](_0x378f8a),_0x255481[_0x378f8a]=_0xb3fc54['getFieldById'](_0x378f8a)['getName'](),_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x39d)](_0x378f8a,_0x499e1d,_0x2e63fa,_0x4215b2);}_0xb3fc54['getGroupFieldsInfoByIds'](_0x4d49fd)[_0x526938(0x28f)](_0xd39203=>{const _0x37fb09=_0x526938,[_0x322e7b,_0x3a3987]=_0xd39203,_0x2ad705=_0xb3fc54[_0x37fb09(0x437)](_0x322e7b),_0x13a016=_0xb3fc54[_0x37fb09(0x437)](_0x3a3987);_0x2ad705&&_0x13a016&&_0x2ad705[_0x37fb09(0x237)](_0x13a016);}),_0xb3fc54[_0x526938(0x443)]();const _0x3572c7=_0x4b26a3[_0x526938(0x24c)](_0x42ede4);if(_0x3572c7){Es(_0x3572c7,_0x255481,_0x649372),_0x3572c7[_0x526938(0x2cf)](!0x0);const _0x1aa306=_0x3572c7[_0x526938(0x3b1)](),_0x3421ea=_0x4b26a3[_0x526938(0x448)](_0x3b3ac1,_0x5623d3,_0x42ede4),_0x2c1f7b=_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x361)]();_0x4b26a3[_0x526938(0x30d)](_0x3b3ac1,_0x5623d3,$[_0x526938(0x225)],_0x42ede4,_0x1aa306,_0x3421ea,_0x2c1f7b,!0x0);}}return this[_0x526938(0x322)](_0x3b3ac1,_0x5623d3,_0x42ede4);}});}[_0x5bf728(0x413)](_0x447f1b,_0x20a0be,_0xa6f7a1){var _0x405307,_0x35210f;const {arrayFormulaCellData:_0x30fae5,unitData:_0x949b41}=_0xa6f7a1,_0x1fbc87=(_0x405307=_0x30fae5==null?void 0x0:_0x30fae5[_0x447f1b])==null?void 0x0:_0x405307[_0x20a0be],_0x1f7756=(_0x35210f=_0x949b41==null?void 0x0:_0x949b41[_0x447f1b])==null?void 0x0:_0x35210f[_0x20a0be];return{'arrayFormulaCellDataMatrix':_0x1fbc87,'unitDataMatrix':_0x1f7756};}['getDirtyInfo'](_0x2352f0,_0x5d401f,_0x49f60f){const _0x1ef392=_0x5bf728,_0x5cf71f=this[_0x1ef392(0x317)][_0x1ef392(0x436)](_0x2352f0,_0x5d401f,_0x49f60f),_0x1436a9=[],_0x44dc85=new _0x43fcd2();if(_0x5cf71f){const {rangeCache:_0x233f73,matrix:_0x4dfc1f,oldRangeCache:_0xcde7b2,oldMatrix:_0xdf48ac}=_0x5cf71f,_0x59744c=$t(_0xcde7b2),_0x31c831=$t(_0x233f73);_0x1436a9['push'](..._0x31c831,..._0x59744c),_0xdf48ac&&_0xcde7b2&&_0x59744c[_0x1ef392(0x28f)](_0xd7218d=>{const _0x2ad490=_0x1ef392;for(let _0x487b66=_0xd7218d[_0x2ad490(0x373)];_0x487b66<=_0xd7218d[_0x2ad490(0x320)];_0x487b66++)for(let _0x4b04fd=_0xd7218d[_0x2ad490(0x3d2)];_0x4b04fd<=_0xd7218d[_0x2ad490(0x3cd)];_0x4b04fd++)_0x44dc85[_0x2ad490(0x290)](_0x487b66,_0x4b04fd);}),_0x4dfc1f&&_0x31c831&&_0x31c831[_0x1ef392(0x28f)](_0x1b0a86=>{const _0x4cb283=_0x1ef392;for(let _0x228604=_0x1b0a86[_0x4cb283(0x373)];_0x228604<=_0x1b0a86[_0x4cb283(0x320)];_0x228604++)for(let _0x2b80ae=_0x1b0a86['startColumn'];_0x2b80ae<=_0x1b0a86[_0x4cb283(0x3cd)];_0x2b80ae++)_0x44dc85['setValue'](_0x228604,_0x2b80ae,_0x4dfc1f['getValue'](_0x228604,_0x2b80ae));});}const _0x3a78dd={};return _0x3a78dd[_0x2352f0]={[_0x5d401f]:Os(_0x1436a9)},{'runtimeCellData':{[_0x2352f0]:{[_0x5d401f]:_0x44dc85}},'dirtyRanges':_0x3a78dd};}['dispose'](){}};ct=Us([at(0x0,_0x360cfb(G)),at(0x1,_0x360cfb(_0x1cada9)),at(0x2,_0x360cfb(_0x4e31c1)),at(0x3,_0x360cfb(_0x1cb0fc)),at(0x4,_0x360cfb(_0x121ef7))],ct);var ks=Object[_0x5bf728(0x3a1)],Ls=(_0x2967a6,_0x282395,_0x590c3d,_0x40991c)=>{for(var _0x206c19=_0x40991c>0x1?void 0x0:_0x40991c?ks(_0x282395,_0x590c3d):_0x282395,_0x3a47d8=_0x2967a6['length']-0x1,_0x545c7b;_0x3a47d8>=0x0;_0x3a47d8--)(_0x545c7b=_0x2967a6[_0x3a47d8])&&(_0x206c19=_0x545c7b(_0x206c19)||_0x206c19);return _0x206c19;},_t=(_0xa69f75,_0x32e6c6)=>(_0x35713b,_0x2c70bd)=>_0x32e6c6(_0x35713b,_0x2c70bd,_0xa69f75);let dt=class extends _0x25f1fb{constructor(_0x416da2,_0x17e3ba,_0x10891d,_0x120f7d){const _0x14a7cd=_0x5bf728;super(),V(this,_0x14a7cd(0x3a2),new _0x2a1164()),(this[_0x14a7cd(0x253)]=_0x416da2,this[_0x14a7cd(0x3b9)]=_0x17e3ba,this[_0x14a7cd(0x1d1)]=_0x10891d,this[_0x14a7cd(0x43c)]=_0x120f7d,this[_0x14a7cd(0x43b)]());}[_0x5bf728(0x43b)](){const _0x438cf7=_0x5bf728;this[_0x438cf7(0x3d8)](this[_0x438cf7(0x3b9)][_0x438cf7(0x231)]({'getMutations':_0x2d32ee=>{const _0x3f7d54=_0x438cf7;if(_0x2d32ee['id']===_0x1053ee['id']||_0x2d32ee['id']===_0x152598['id']){const _0x15f3b2=[],_0x46012b=[],_0x257a7b=this[_0x3f7d54(0x1d1)]['getCurrentSelections']()['map'](_0x192730=>_0x192730['range']),_0x40ec2c=_0x5b1933(this['_univerInstanceService']);if(!_0x40ec2c)return{'redos':[],'undos':[]};const {unitId:_0x585410,subUnitId:_0x354213}=_0x40ec2c,_0x3380db={},_0x5b7f6d=this[_0x3f7d54(0x43c)]['getSubUnitPivotConfigs'](_0x585410,_0x354213);if(_0x5b7f6d!=null&&_0x5b7f6d[_0x3f7d54(0x222)])for(const [_0x3b5a04,_0x324000]of _0x5b7f6d){const {unitId:_0x3b8ff3,subUnitId:_0xb7daab,row:_0x377aae,col:_0x5ca67e}=_0x324000[_0x3f7d54(0x1d2)];_0x3b8ff3===_0x40ec2c[_0x3f7d54(0x42b)]&&_0xb7daab===_0x40ec2c['subUnitId']&&(_0x3380db[_0x377aae+'-'+_0x5ca67e]=_0x3b5a04);}return _0x257a7b&&_0x40ec2c&&_0x257a7b[_0x3f7d54(0x28f)](_0x2dfbdb=>{const _0x270f65=_0x3f7d54;_0x451e59[_0x270f65(0x259)](_0x2dfbdb,(_0xf5f8b3,_0x3c9d9c)=>{const _0xa31c2d=_0x270f65,_0x24badf=_0xf5f8b3+'-'+_0x3c9d9c;if(_0x3380db[_0x24badf]){const _0x371fde=_0x3380db[_0x24badf];_0x15f3b2[_0xa31c2d(0x42a)]({'id':Et['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde}});const _0x3beefd=this[_0xa31c2d(0x43c)]['getCollection'](_0x585410,_0x371fde),_0x4a52b7=this[_0xa31c2d(0x43c)][_0xa31c2d(0x448)](_0x585410,_0x354213,_0x371fde);_0x46012b[_0xa31c2d(0x42a)]({'id':It['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde,'pivotTableConfig':_0x4a52b7,'collectionConfig':_0x3beefd}});}});}),{'redos':_0x15f3b2,'undos':_0x46012b};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x2fecb8),_t(0x1,_0x360cfb(_0x34849c)),_t(0x2,_0x360cfb(_0x969973)),_t(0x3,_0x360cfb(ve))],dt);var Bs=Object[_0x5bf728(0x3a1)],$s=(_0x1cb8fb,_0x70256b,_0x5ced46,_0x546554)=>{const _0x4d784c=_0x5bf728;for(var _0x28f9f4=_0x546554>0x1?void 0x0:_0x546554?Bs(_0x70256b,_0x5ced46):_0x70256b,_0xe1e097=_0x1cb8fb[_0x4d784c(0x395)]-0x1,_0x232b6a;_0xe1e097>=0x0;_0xe1e097--)(_0x232b6a=_0x1cb8fb[_0xe1e097])&&(_0x28f9f4=_0x232b6a(_0x28f9f4)||_0x28f9f4);return _0x28f9f4;},rt=(_0x1e5869,_0xa3a4c6)=>(_0x49731a,_0x33bedc)=>_0xa3a4c6(_0x49731a,_0x33bedc,_0x1e5869);let ut=class extends _0x25f1fb{constructor(_0x3199a7,_0xe7e13a,_0x2b98a5,_0x30c52b,_0x4f5149){const _0x25e297=_0x5bf728;super(),this[_0x25e297(0x3b9)]=_0x3199a7,this['_injector']=_0xe7e13a,this[_0x25e297(0x253)]=_0x2b98a5,this[_0x25e297(0x43c)]=_0x30c52b,this['_sheetsPivotTableService']=_0x4f5149,this[_0x25e297(0x27f)]();}[_0x5bf728(0x343)](_0x3b9836,_0x4fbeea,_0x3742f2){const _0x3f2c01=_0x5bf728,{pageView:_0x2d31fc,cornerView:_0x5af921,rowView:_0xfcbdaa,colView:_0x10e094,dataView:_0x5e40e5}=_0x4fbeea,_0x34da84=_0x3b9836;let _0x259a6d;if(_0x3742f2)_0x259a6d=[...$i(_0x34da84)];else{const _0x33338e=ge(_0x34da84,_0x2d31fc,!0x0),_0x2ba9b0=_0x2d31fc[_0x3f2c01(0x1f9)]>=0x0?_0x2d31fc[_0x3f2c01(0x1f9)]+0x1:0x0,_0x43abac=_0x5af921['rowCount'],_0x47e2f0=_0x5af921[_0x3f2c01(0x246)],_0x22602c=_0x33338e[_0x3f2c01(0x395)]>0x0?mt:0x0,_0x5f2494=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]},_0x5af921,!0x1,!0x1),_0x333e49=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]},_0xfcbdaa,!0x1,!0x0),_0x293ead=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x10e094,!0x1,!0x0),_0x5af5d2=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x5e40e5,!0x1,!0x0);_0x259a6d=[..._0x33338e,..._0x5f2494,..._0x333e49,..._0x293ead,..._0x5af5d2];}return _0x259a6d;}[_0x5bf728(0x27f)](){const _0x10fbab=_0x5bf728;this[_0x10fbab(0x3d8)](this['_sheetsPivotTableService'][_0x10fbab(0x34c)][_0x10fbab(0x25f)](this[_0x10fbab(0x1cc)][_0x10fbab(0x34c)][_0x10fbab(0x29d)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x4977aa,_0x83d486)=>{const _0x488cda=_0x10fbab,{cellInfo:_0x130076,view:_0x15632d,isEmpty:_0x59976e}=_0x83d486,_0x5d2099=_0x130076,{unitId:_0xe007f,subUnitId:_0x1d8a77}=_0x5d2099,_0x3b66e5=this[_0x488cda(0x343)](_0x130076,_0x15632d,_0x59976e),_0x5ba888=this[_0x488cda(0x3b9)][_0x488cda(0x289)]({'unitId':_0xe007f,'subUnitId':_0x1d8a77,'ranges':_0x3b66e5}),_0x3f131c=Ho(this['_injector'],_0xe007f,_0x1d8a77,_0x3b66e5);_0x3f131c['shouldClear']&&(_0x5ba888['redos'][_0x488cda(0x42a)](_0x3f131c[_0x488cda(0x3b0)]),_0x5ba888['undos'][_0x488cda(0x42a)](_0x3f131c['setRangeValueUndoMutation']));const _0x1abded=this['getAutoFitColumnsMutations'](_0x15632d,_0x130076);return _0x5ba888[_0x488cda(0x43f)][_0x488cda(0x42a)](..._0x1abded[_0x488cda(0x43f)]),_0x5ba888[_0x488cda(0x31a)]['push'](..._0x1abded[_0x488cda(0x31a)]),{'redos':_0x5ba888[_0x488cda(0x43f)],'undos':_0x5ba888[_0x488cda(0x31a)]};}}));}[_0x5bf728(0x37b)](_0x474658,_0x16f9c4){const _0x186f84=_0x5bf728,{col:_0x2909b1,unitId:_0x100da0,subUnitId:_0x4e73bb}=_0x16f9c4,_0x1444ec=[],_0x2a29f6=[],_0x1183de=_0x5b1933(this[_0x186f84(0x253)],{'unitId':_0x100da0,'subUnitId':_0x4e73bb});if(!_0x16f9c4||!_0x474658||!_0x1183de)return{'undos':_0x2a29f6,'redos':_0x1444ec};const _0x206292=this[_0x186f84(0x43c)][_0x186f84(0x3dc)](),{colView:_0x1d54dc,dataView:_0x36a014,cornerView:_0x2fdc2c,rowView:_0x3fa7fd,formatMap:_0x320297}=_0x474658,_0x56d208=yo(_0x1d54dc,_0x206292,!0x0,_0x320297),_0x5b5c2b=yo(_0x3fa7fd,_0x206292,!0x1,_0x320297),_0x5e6ea8=Ji(_0x36a014),_0x775eb2=Wi(_0x2fdc2c),{worksheet:_0x576f86}=_0x1183de;if(typeof window<'u'&&window[_0x186f84(0x32c)]){const _0x3cd46d=_0xb88763({...fe['colStyle']}),_0xaf0f36=_0x31b8d0[_0x186f84(0x21d)](_0x56d208,_0x3cd46d)[_0x186f84(0x1f8)]+0x10,_0xc46b76=_0x31b8d0[_0x186f84(0x21d)](_0x5e6ea8,_0x3cd46d)[_0x186f84(0x1f8)],_0x7d39c7=Math[_0x186f84(0x3ba)](Math[_0x186f84(0x2c1)](_0xaf0f36,_0xc46b76))+0x10,_0x2b4f18=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x5b5c2b,_0x3cd46d)[_0x186f84(0x1f8)]),_0x381737=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x775eb2,_0x3cd46d)[_0x186f84(0x1f8)]),_0x3e9c5e=Math[_0x186f84(0x2c1)](_0x2b4f18,_0x381737,0x28)+0xc,_0x1e145b=_0x1d54dc[_0x186f84(0x246)]+_0x2fdc2c[_0x186f84(0x246)],_0x358c90={},_0x39f3d={};for(let _0x47e7c0=_0x2909b1;_0x47e7c0<_0x2909b1+_0x1e145b;_0x47e7c0++){const _0x3b3b37=_0x576f86[_0x186f84(0x1eb)](_0x47e7c0);_0x358c90[_0x47e7c0]=_0x3b3b37,_0x47e7c0-_0x2909b1<_0x2fdc2c[_0x186f84(0x246)]?_0x39f3d[_0x47e7c0-_0x2909b1]=_0x3e9c5e:_0x39f3d[_0x47e7c0-_0x2909b1]=_0x7d39c7;}_0x1444ec[_0x186f84(0x42a)]({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x39f3d}}),_0x2a29f6['push']({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x358c90}});}return{'undos':_0x2a29f6,'redos':_0x1444ec};}};ut=$s([rt(0x0,_0x360cfb(_0x34849c)),rt(0x1,_0x360cfb(_0x121ef7)),rt(0x2,_0x360cfb(_0x2fecb8)),rt(0x3,_0x360cfb(ve)),rt(0x4,_0x360cfb(ie))],ut);var Gs=Object[_0x5bf728(0x3a1)],js=(_0x5c8f7a,_0x5f02a8,_0x46fe8c,_0x11d23c)=>{const _0x2ec637=_0x5bf728;for(var _0x2fb64d=_0x11d23c>0x1?void 0x0:_0x11d23c?Gs(_0x5f02a8,_0x46fe8c):_0x5f02a8,_0xbd96d=_0x5c8f7a[_0x2ec637(0x395)]-0x1,_0x32bb53;_0xbd96d>=0x0;_0xbd96d--)(_0x32bb53=_0x5c8f7a[_0xbd96d])&&(_0x2fb64d=_0x32bb53(_0x2fb64d)||_0x2fb64d);return _0x2fb64d;},ke=(_0x597ca9,_0x5cd157)=>(_0x19f9cd,_0x4dc26f)=>_0x5cd157(_0x19f9cd,_0x4dc26f,_0x597ca9);let ft=class extends _0x25f1fb{constructor(_0x40a707,_0xe88eb3,_0x3911aa,_0x897bb6,_0x31cf6b,_0x35cb00,_0x56a3a6){const _0x2c0b31=_0x5bf728;super(),V(this,_0x2c0b31(0x3a2),new _0x2a1164()),(this[_0x2c0b31(0x24a)]=_0x40a707,this[_0x2c0b31(0x1de)]=_0xe88eb3,this[_0x2c0b31(0x234)]=_0x3911aa,this[_0x2c0b31(0x253)]=_0x897bb6,this[_0x2c0b31(0x43c)]=_0x31cf6b,this[_0x2c0b31(0x1f5)]=_0x35cb00,this[_0x2c0b31(0x3b9)]=_0x56a3a6,this['_onRefRangeChange']());}[_0x5bf728(0x3c8)](){const _0x2ef9a6=_0x5bf728,_0x46aac8=(_0xb7fc36,_0x192e62)=>{const _0xa2b90f=_0x279a,_0x1ad99f=this['_univerInstanceService'][_0xa2b90f(0x350)](_0x332ca7['UNIVER_SHEET']);if(!_0x1ad99f||!(_0x1ad99f==null?void 0x0:_0x1ad99f['getSheetBySheetId'](_0x192e62)))return;this['disposableCollection'][_0xa2b90f(0x3bc)]();const _0x4de0f5=_0x56c7a5=>this['_refRangeHandle'](_0x56c7a5,_0xb7fc36,_0x192e62),_0x4ae3e5=this[_0xa2b90f(0x43c)][_0xa2b90f(0x2e1)](_0xb7fc36,_0x192e62);if(!(_0x4ae3e5!=null&&_0x4ae3e5[_0xa2b90f(0x222)]))return;Array[_0xa2b90f(0x200)](_0x4ae3e5[_0xa2b90f(0x2eb)]())['map'](_0x471343=>{const _0x5c58af=_0xa2b90f,{row:_0x2419d1,col:_0x3e6a20}=_0x471343[_0x5c58af(0x1d2)];return _0x5508a5(_0x2419d1,_0x3e6a20);})[_0xa2b90f(0x28f)](_0x150809=>{const _0x20fe9c=_0xa2b90f;this['disposableCollection'][_0x20fe9c(0x2de)](this['_refRangeService'][_0x20fe9c(0x25c)](_0x150809,_0x4de0f5,_0xb7fc36,_0x192e62));});},_0x1ce5e8=()=>{const _0x297764=_0x279a,_0x5e6023=this[_0x297764(0x253)][_0x297764(0x350)](_0x332ca7[_0x297764(0x25d)]);if(_0x5e6023){const _0x2d3a7e=_0x5e6023[_0x297764(0x1e7)]();if(!_0x2d3a7e)return;_0x46aac8(_0x5e6023['getUnitId'](),_0x2d3a7e[_0x297764(0x23f)]());}};this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x234)][_0x2ef9a6(0x3ff)](_0x2fc951=>{const _0x38f116=_0x2ef9a6;if(_0x2fc951['id']===_0x3ef769['id']){const _0x2a4326=_0x2fc951[_0x38f116(0x3c1)],_0x41b18a=_0x2a4326[_0x38f116(0x2a0)],_0xeaeb36=_0x2a4326[_0x38f116(0x42b)];if(!_0x41b18a||!_0xeaeb36)return;_0x46aac8(_0xeaeb36,_0x41b18a);}})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)]['pivotInitCompleted$'][_0x2ef9a6(0x2d4)](_0x10c727=>{_0x10c727&&_0x1ce5e8();})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)][_0x2ef9a6(0x400)][_0x2ef9a6(0x2d4)](_0x2fe582=>{const _0x37582b=_0x2ef9a6,_0x4a2b1a=_0x5b1933(this[_0x37582b(0x253)]);if(!_0x4a2b1a)return;const {unitId:_0x5abf32,subUnitId:_0x4f4873}=_0x4a2b1a,{unitId:_0x5403b9,subUnitId:_0x53ac4a}=_0x2fe582;_0x5abf32!==_0x5403b9||_0x4f4873!==_0x53ac4a||_0x46aac8(_0x5abf32,_0x4f4873);})),_0x1ce5e8();}['_refRangeHandle'](_0xff33a7,_0x2fbd14,_0x401ea1){const _0x1dd04c=_0x5bf728;switch(_0xff33a7['id']){case _0x523093['id']:return this[_0x1dd04c(0x2e7)](_0xff33a7['params'],_0x2fbd14,_0x401ea1);}return{'redos':[],'undos':[]};}[_0x5bf728(0x2e7)](_0x305cf4,_0x4a9829,_0x53ba49){const _0x171bd9=_0x5bf728,{fromRange:_0x3d6390,toRange:_0x386bb1}=_0x305cf4,_0x30af66=[],_0x7ec578=[],_0x2d1673=_0x5b1933(this['_univerInstanceService']);if(!_0x2d1673)return{'undos':_0x7ec578,'redos':_0x30af66};if(_0x4a9829!==_0x2d1673[_0x171bd9(0x42b)]||_0x53ba49!==_0x2d1673[_0x171bd9(0x2a0)])return{'undos':_0x7ec578,'redos':_0x30af66};const _0x16f272=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4a9829,_0x53ba49);if(_0x16f272!=null&&_0x16f272['size'])for(const [_0x17add9,_0x23d70b]of _0x16f272){const {unitId:_0x3bd014,subUnitId:_0x47e77e,row:_0x16d76f,col:_0x3b0548}=_0x23d70b['targetCellInfo'];if(_0x3bd014===_0x2d1673[_0x171bd9(0x42b)]&&_0x47e77e===_0x2d1673['subUnitId']){const _0xa5da23=_0x5508a5(_0x16d76f,_0x3b0548);if(_0x3d3208[_0x171bd9(0x264)](_0xa5da23,_0x3d6390)){const _0x1cb303=_0x16d76f-_0x3d6390['startRow'],_0x5af2a6=_0x3b0548-_0x3d6390[_0x171bd9(0x3d2)],_0x2904e0={'row':_0x386bb1[_0x171bd9(0x373)]+_0x1cb303,'col':_0x386bb1[_0x171bd9(0x3d2)]+_0x5af2a6};_0x30af66[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':_0x2904e0}}),_0x7ec578[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':{'row':_0x16d76f,'col':_0x3b0548}}});const _0xe03011=_0x2904e0['row']-_0x16d76f,_0x4f4f5e=_0x2904e0[_0x171bd9(0x37a)]-_0x3b0548,_0x46a8fa=[],_0x209e84=this[_0x171bd9(0x1f5)][_0x171bd9(0x3a6)](_0x3bd014,_0x47e77e,_0x17add9),_0xb6c5e2=_0x209e84==null?void 0x0:_0x209e84[_0x171bd9(0x247)];if(_0xb6c5e2){Object[_0x171bd9(0x3ab)](_0xb6c5e2)[_0x171bd9(0x28f)](_0x4b8273=>{const _0x37a5b8=_0x171bd9;_0xb6c5e2[_0x4b8273][_0x37a5b8(0x28f)](_0x3851a7=>{const _0x479f19=_0x37a5b8,_0x2c1fa6={..._0x3851a7};_0x2c1fa6[_0x479f19(0x373)]=_0x3851a7[_0x479f19(0x373)]+_0xe03011,_0x2c1fa6[_0x479f19(0x320)]=_0x3851a7[_0x479f19(0x320)]+_0xe03011,_0x2c1fa6['startColumn']=_0x3851a7['startColumn']+_0x4f4f5e,_0x2c1fa6[_0x479f19(0x3cd)]=_0x3851a7[_0x479f19(0x3cd)]+_0x4f4f5e,_0x46a8fa['push'](_0x2c1fa6);});});const _0x1d2ced=this[_0x171bd9(0x3b9)][_0x171bd9(0x289)]({'unitId':_0x3bd014,'subUnitId':_0x47e77e,'ranges':_0x46a8fa});_0x30af66['push'](..._0x1d2ced[_0x171bd9(0x43f)]),_0x7ec578[_0x171bd9(0x42a)](..._0x1d2ced['undos']);const _0x774bd4=Ho(this[_0x171bd9(0x24a)],_0x3bd014,_0x47e77e,_0x46a8fa);_0x774bd4[_0x171bd9(0x342)]&&(_0x30af66[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x3b0)]),_0x7ec578[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x1fd)]));}}}}return{'redos':_0x30af66,'undos':_0x7ec578};}};ft=js([ke(0x0,_0x360cfb(_0x121ef7)),ke(0x1,_0x360cfb(_0x344cce)),ke(0x2,_0x4e31c1),ke(0x3,_0x2fecb8),ke(0x4,_0x360cfb(ve)),ke(0x5,_0x360cfb(Ne)),ke(0x6,_0x360cfb(_0x34849c))],ft);var Js=Object[_0x5bf728(0x3a1)],Ws=(_0x1c7335,_0x7677d4,_0x2204ce,_0x10030f)=>{const _0x200b12=_0x5bf728;for(var _0x1b939e=_0x10030f>0x1?void 0x0:_0x10030f?Js(_0x7677d4,_0x2204ce):_0x7677d4,_0x3b2aa1=_0x1c7335[_0x200b12(0x395)]-0x1,_0x4ac768;_0x3b2aa1>=0x0;_0x3b2aa1--)(_0x4ac768=_0x1c7335[_0x3b2aa1])&&(_0x1b939e=_0x4ac768(_0x1b939e)||_0x1b939e);return _0x1b939e;},_o=(_0x2489e8,_0x39edc2)=>(_0x10e27c,_0x667a87)=>_0x39edc2(_0x10e27c,_0x667a87,_0x2489e8);let gt=class extends _0x25f1fb{constructor(_0x5d6ac0,_0xd354b8){const _0xb0bd0=_0x5bf728;super(),this[_0xb0bd0(0x3b9)]=_0x5d6ac0,this[_0xb0bd0(0x43c)]=_0xd354b8,this[_0xb0bd0(0x23b)]();}[_0x5bf728(0x23b)](){const _0x53ae76=_0x5bf728;this[_0x53ae76(0x3d8)](this[_0x53ae76(0x3b9)]['interceptCommand']({'getMutations':_0x8907a5=>{const _0x5ab8dd=_0x53ae76;if(_0x8907a5['id']===_0x2da853['id']){const _0x3ca6b3=[],_0x7b7c4d=[],_0x37c9e8=_0x8907a5[_0x5ab8dd(0x3c1)],{unitId:_0x2139e3,subUnitId:_0x1eb3a6}=_0x37c9e8;if(!_0x2139e3||!_0x1eb3a6)return{'undos':_0x7b7c4d,'redos':_0x3ca6b3};const _0x4d22fa=this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x2e1)](_0x2139e3,_0x1eb3a6);if(_0x4d22fa!=null&&_0x4d22fa['size'])for(const [_0x1a9f7d,_0x4c6f4e]of _0x4d22fa){_0x3ca6b3[_0x5ab8dd(0x42a)]({'id':Et['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d}});const _0x533907={...this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x28d)](_0x2139e3,_0x1a9f7d)};_0x7b7c4d[_0x5ab8dd(0x42a)]({'id':It['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d,'pivotTableConfig':_0x4c6f4e,'collectionConfig':_0x533907}});}return{'redos':_0x3ca6b3,'undos':_0x7b7c4d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x360cfb(_0x34849c)),_o(0x1,_0x360cfb(ve))],gt);var Ys=Object[_0x5bf728(0x3a1)],Ks=(_0x1bc24f,_0x5d4382,_0x5385e5,_0xdda479)=>{const _0x1d18c5=_0x5bf728;for(var _0x3d025c=_0xdda479>0x1?void 0x0:_0xdda479?Ys(_0x5d4382,_0x5385e5):_0x5d4382,_0x3eef78=_0x1bc24f[_0x1d18c5(0x395)]-0x1,_0x3967ea;_0x3eef78>=0x0;_0x3eef78--)(_0x3967ea=_0x1bc24f[_0x3eef78])&&(_0x3d025c=_0x3967ea(_0x3d025c)||_0x3d025c);return _0x3d025c;},Ye=(_0x182c7b,_0x409665)=>(_0x3d3bea,_0x5cf6da)=>_0x409665(_0x3d3bea,_0x5cf6da,_0x182c7b);let ht=class extends _0x25f1fb{constructor(_0x701863,_0x4baabb,_0xcceddb,_0x1041fe,_0x4ef600,_0x3ce156){const _0x30f28c=_0x5bf728;super(),this[_0x30f28c(0x234)]=_0x701863,this[_0x30f28c(0x275)]=_0x4baabb,this[_0x30f28c(0x1f5)]=_0xcceddb,this[_0x30f28c(0x43c)]=_0x1041fe,this['_univerInstanceService']=_0x4ef600,this[_0x30f28c(0x345)]=_0x3ce156,this[_0x30f28c(0x40f)](),this[_0x30f28c(0x2be)]();}[_0x5bf728(0x40f)](){const _0x36b8dc=_0x5bf728;this[_0x36b8dc(0x3d8)](this['_commandService'][_0x36b8dc(0x3ff)](_0x310696=>{const _0x305029=_0x36b8dc;if(_0x310696['id']!==lo['id'])return;const _0x13ca79=_0x310696[_0x305029(0x3c1)];this[_0x305029(0x275)]['handleAsyncResponse'](_0x13ca79);})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x168a1c=>{const _0x2c55d2=_0x36b8dc;if(_0x168a1c['id']===co['id']){const _0x240a85=_0x168a1c[_0x2c55d2(0x3c1)];if(_0x240a85){const {unitId:_0x57f4bc,subUnitId:_0x437cad,oldSubUnitId:_0x49b8fb,pivotTableId:_0x47a492,pivotTableConfig:_0x335b12,collectionConfig:_0x5e4b46}=_0x240a85;this[_0x2c55d2(0x43c)]['updateConfigCache'](_0x57f4bc,_0x49b8fb,_0x240a85[_0x2c55d2(0x414)],null),this[_0x2c55d2(0x43c)][_0x2c55d2(0x204)](_0x57f4bc,_0x437cad,_0x47a492,_0x335b12),this['_sheetsPivotTableConfigModel'][_0x2c55d2(0x34d)](_0x57f4bc,_0x5e4b46);}}})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x4f9457=>{const _0x16756a=_0x36b8dc;if(_0x4f9457['id']!==Rt['id'])return;const _0x2debd5=_0x5b1933(this[_0x16756a(0x253)]);if(!_0x2debd5)return;const {unitId:_0x252260,subUnitId:_0x2d3846}=_0x2debd5,_0x5ad5db=_0x4f9457[_0x16756a(0x3c1)];if(_0x5ad5db[_0x16756a(0x29b)]&&Object[_0x16756a(0x3ab)](_0x5ad5db['collectionConfig'])[_0x16756a(0x28f)](_0x5a1275=>{const _0x2c85fc=_0x16756a;var _0x1b2ea8;(_0x1b2ea8=_0x5ad5db['collectionConfig'])!=null&&_0x1b2ea8[_0x5a1275]&&this[_0x2c85fc(0x43c)][_0x2c85fc(0x34d)](_0x5a1275,_0x5ad5db[_0x2c85fc(0x29b)][_0x5a1275]);}),_0x5ad5db[_0x16756a(0x280)]){const _0x190bae=_0x5ad5db[_0x16756a(0x280)],{unitId:_0x2f177d,subUnitId:_0x18666b,view:_0x2e34b6,pivotTableId:_0x5a7ad3,type:_0xd60a45,pivotConfig:_0x28401a}=_0x190bae;if(_0xd60a45===$[_0x16756a(0x346)])this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45}),this[_0x16756a(0x43c)]['updateConfigCache'](_0x2f177d,_0x18666b,_0x5a7ad3,null);else{const _0x2392b1=new _0x2089ac();_0x2392b1[_0x16756a(0x2b5)](_0x2e34b6),this[_0x16756a(0x43c)][_0x16756a(0x204)](_0x2f177d,_0x18666b,_0x5a7ad3,_0x28401a),this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45,'view':_0x2392b1}),this['_sheetsPivotTableAdaptorModel'][_0x16756a(0x230)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'view':_0x2392b1,'pivotTableId':_0x5a7ad3,'type':_0xd60a45});}}else _0x5ad5db['batch']&&(_0x5ad5db[_0x16756a(0x267)][_0x16756a(0x28f)](_0x240254=>{const _0x29a8f9=_0x16756a,{unitId:_0x176072,subUnitId:_0x1eca6a,view:_0x30735d,pivotTableId:_0x4e3a62,type:_0x5301ec,pivotConfig:_0xad1321}=_0x240254,_0x35e870=new _0x2089ac();_0x35e870[_0x29a8f9(0x2b5)](_0x30735d),this[_0x29a8f9(0x43c)]['updateConfigCache'](_0x176072,_0x1eca6a,_0x4e3a62,_0xad1321),this[_0x29a8f9(0x1f5)][_0x29a8f9(0x230)]({'unitId':_0x176072,'subUnitId':_0x1eca6a,'view':_0x35e870,'pivotTableId':_0x4e3a62,'type':_0x5301ec});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x252260,_0x2d3846);}));}[_0x5bf728(0x2be)](){const _0x403705=_0x5bf728;this[_0x403705(0x345)][_0x403705(0x36d)](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x1c1f78){const _0x2333d2=_0x403705;return{'dirtyUnitFeatureMap':_0x1c1f78[_0x2333d2(0x3c1)]};}});}};ht=Ks([Ye(0x0,_0x360cfb(_0x4e31c1)),Ye(0x1,_0x360cfb(X)),Ye(0x2,_0x360cfb(Ne)),Ye(0x3,_0x360cfb(ve)),Ye(0x4,_0x360cfb(_0x2fecb8)),Ye(0x5,_0x5714d5)],ht);var Hs=Object['defineProperty'],qs=Object[_0x5bf728(0x3a1)],zs=(_0x271db9,_0x51d5fe,_0x481426)=>_0x51d5fe in _0x271db9?Hs(_0x271db9,_0x51d5fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x481426}):_0x271db9[_0x51d5fe]=_0x481426,Qs=(_0x172945,_0x9bff10,_0x4ee9f0,_0x57a986)=>{const _0x208924=_0x5bf728;for(var _0x44c146=_0x57a986>0x1?void 0x0:_0x57a986?qs(_0x9bff10,_0x4ee9f0):_0x9bff10,_0x307ab9=_0x172945[_0x208924(0x395)]-0x1,_0x284df5;_0x307ab9>=0x0;_0x307ab9--)(_0x284df5=_0x172945[_0x307ab9])&&(_0x44c146=_0x284df5(_0x44c146)||_0x44c146);return _0x44c146;},Ft=(_0xc79bf5,_0xd272fc)=>(_0x99c0e5,_0x285f0b)=>_0xd272fc(_0x99c0e5,_0x285f0b,_0xc79bf5),Zo=(_0x25af4a,_0x5b64ad,_0x438155)=>zs(_0x25af4a,typeof _0x5b64ad!=_0x5bf728(0x3e6)?_0x5b64ad+'':_0x5b64ad,_0x438155);let Ut=class extends _0x15301e{constructor(_0x11e75b=Mo,_0x48e69c,_0x45b70b,_0x3c2b21,_0x184f4d){const _0x2ac851=_0x5bf728;super(),this[_0x2ac851(0x2fb)]=_0x11e75b,this[_0x2ac851(0x24a)]=_0x48e69c,this[_0x2ac851(0x234)]=_0x45b70b,this[_0x2ac851(0x38b)]=_0x3c2b21,this[_0x2ac851(0x241)]=_0x184f4d;const {..._0x3b2a54}=_0x2b305a({},Mo,this[_0x2ac851(0x2fb)]);this[_0x2ac851(0x38b)][_0x2ac851(0x26e)](zo,_0x3b2a54),this[_0x2ac851(0x26f)](),this[_0x2ac851(0x377)]();}[_0x5bf728(0x377)](){const _0x20783e=_0x5bf728;var _0x34ea27;const _0x354608=(_0x34ea27=this[_0x20783e(0x2fb)])==null?void 0x0:_0x34ea27[_0x20783e(0x27e)];this['_configService'][_0x20783e(0x26e)](z,_0x354608===!0x0);}[_0x5bf728(0x403)](){const _0x24edda=_0x5bf728;var _0x513595;let _0x2f6f9f=[];const _0x4696b3=(_0x513595=this['_config'])==null?void 0x0:_0x513595['notExecuteFormula'];_0x4696b3===!0x0?_0x2f6f9f=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x4696b3===!0x1?_0x2f6f9f=[[G],[ct]]:_0x4696b3===void 0x0&&(_0x2f6f9f=[[G],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x2f6f9f['forEach'](_0x7e9949=>this[_0x24edda(0x24a)]['add'](_0x7e9949)),[ct,ht,ie,dt,gt,ft,ut][_0x24edda(0x28f)](_0x26db0b=>{const _0x5058f1=_0x24edda;this['_injector'][_0x5058f1(0x1ff)](_0x26db0b)&&this[_0x5058f1(0x24a)][_0x5058f1(0x21b)](_0x26db0b);});}['_initRegisterCommand'](){[ps,Cs,hs,ms,Ss,Ns,Fs,Ts,ws,Ms,Ds,Rs,Is,bs,It,to,Et,Gt,Qo,Xo,Kt,jt,Jt,Wt,qt,Ht,pt,ro,lo,Rt,Xt,eo,zt,Yt,uo,oo,Zt,Vt,co,_s,Qt,ys,Ps]['forEach'](_0x1a9d9d=>{const _0x515863=_0x279a;var _0x3b84d6;(_0x3b84d6=this[_0x515863(0x241)])==null||_0x3b84d6[_0x515863(0x32d)](_0x1a9d9d),this['_commandService'][_0x515863(0x2b3)](_0x1a9d9d);});}};Zo(Ut,'pluginName',ao),Zo(Ut,_0x5bf728(0x2bb),_0x332ca7[_0x5bf728(0x25d)]),Ut=Qs([_0x569100(_0x59a5cc),Ft(0x1,_0x360cfb(_0x121ef7)),Ft(0x2,_0x360cfb(_0x4e31c1)),Ft(0x3,_0x224426),Ft(0x4,_0x2a3879(_0x406107))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,Cs as AddPivotTableCommand,It as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Is as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,$ as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,Bo as PositionType,Ss as RemovePivotFieldCommand,jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Yt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,qt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ds as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Rs as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ce as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,$i as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,vt as transFromCellValue,$t as unionPivotViewRange};
|