@univerjs-pro/sheets-pivot 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506041607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1675c1=_0x2dae;(function(_0x43f097,_0x66fbd1){const _0x2155ef=_0x2dae,_0x482577=_0x43f097();while(!![]){try{const _0x1d614e=parseInt(_0x2155ef(0x1d9))/0x1*(parseInt(_0x2155ef(0x186))/0x2)+-parseInt(_0x2155ef(0x129))/0x3*(parseInt(_0x2155ef(0x1d7))/0x4)+parseInt(_0x2155ef(0x1db))/0x5+parseInt(_0x2155ef(0x14f))/0x6+parseInt(_0x2155ef(0xa3))/0x7*(-parseInt(_0x2155ef(0x1f7))/0x8)+parseInt(_0x2155ef(0x2a4))/0x9*(parseInt(_0x2155ef(0x16b))/0xa)+-parseInt(_0x2155ef(0x135))/0xb*(parseInt(_0x2155ef(0x17e))/0xc);if(_0x1d614e===_0x66fbd1)break;else _0x482577['push'](_0x482577['shift']());}catch(_0x3af5fd){_0x482577['push'](_0x482577['shift']());}}}(_0x57f5,0xda893));var an=Object[_0x1675c1(0x19e)],rn=(_0x5e0d2b,_0x1498e5,_0xed734c)=>_0x1498e5 in _0x5e0d2b?an(_0x5e0d2b,_0x1498e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xed734c}):_0x5e0d2b[_0x1498e5]=_0xed734c,U=(_0xdaa18,_0x3b2fcb,_0x26ac33)=>rn(_0xdaa18,typeof _0x3b2fcb!=_0x1675c1(0x1bf)?_0x3b2fcb+'':_0x3b2fcb,_0x26ac33);import{PivotCellStyleTypeEnum as _0x3f236f,PivotViewCellValueTypeEnum as _0x285a27,isPrefixValue as _0x5b47fa,isErrorValue as _0x4c370f,PivotErrorTypeEnum as _0x397cf3,PivotDateGroupFieldDateTypeEnum as _0x2d6c66,DataFieldManager as _0x327c99,FieldsCollection as _0x22be67,isDateValue as _0x35e63e,DataField as _0x21dd75,generateHexNumber as _0x248684,isBaseGroupField as _0x467bd5,PivotTable as _0x16e808,PivotSubtotalTypeEnum as _0xd80465,PivotTableFiledAreaEnum as _0x4cc34c,excelDateToUnixMilliseconds as _0x48a5f7,createValueField as _0x3d5287,createLabelField as _0x4d2cb7,PivotTableChangeTypeEnum as _0x267aa9,BaseGroupField as _0x1c07f9,PivotView as _0x14d91f,isDateGroupFieldJSON as _0x465631,PivotCallbackEnum as _0x3cb203,PivotFilterTypeEnum as _0xa63773,getAutoDisplayName as _0x1f98bb,PivotDataFieldDataTypeEnum as _0x4f8f52,PivotTableValuePositionEnum as _0x229120,isDateGroupField as _0x3b4148,DateGroupField as _0x6b76c2}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x34e162,ObjectMatrix as _0x1d8f59,IUniverInstanceService as _0x146954,UniverInstanceType as _0x34c5bf,CellValueType as _0x5ee6bb,numfmt as _0x519cb6,LocaleService as _0x7abaf8,createAsyncInterceptorKey as _0x29104c,createInterceptorKey as _0x3fb09e,CommandType as _0x3fc5c3,RANGE_TYPE as _0x3153b7,numberToABC as _0x553a8c,Inject as _0x2fd05e,Injector as _0x854c25,LifecycleService as _0x254ee5,IConfigService as _0xe8dcbb,ICommandService as _0x3408cd,IResourceManagerService as _0x1c560e,Disposable as _0x5334b7,Rectangle as _0x351caf,Tools as _0x14991f,AsyncInterceptorManager as _0x1e1483,InterceptorManager as _0x102fa2,InterceptorEffectEnum as _0x227340,CustomCommandExecutionError as _0x5146f5,IUndoRedoService as _0x5ea86a,sequenceExecute as _0x2e7d7d,mergeWorksheetSnapshotWithDefault as _0x9aa09a,generateRandomId as _0x4444c1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4d9604,DEFAULT_WORKSHEET_ROW_COUNT as _0x2abe75,DisposableCollection as _0x2baf83,Range as _0x3ae671,DependentOn as _0xbd176b,Optional as _0x23ca4f,Plugin as _0x34ad3a,merge as _0x15d8c5}from'@univerjs/core';import{ErrorType as _0x406170,serializeRangeWithSpreadsheet as _0x2b24e0,IFeatureCalculationManagerService as _0x486bfd,GlobalComputingStatusService as _0x2b17f8,IActiveDirtyManagerService as _0x315a9b}from'@univerjs/engine-formula';import{generateNullCell as _0x2f9bd8,SetRangeValuesUndoMutationFactory as _0x59cfd4,SetRangeValuesMutation as _0x3f552b,getSheetCommandTarget as _0x2075c9,InsertRowMutation as _0x324b38,RemoveRowMutation as _0x1bb17f,InsertColMutation as _0x2e534e,RemoveColMutation as _0x4f9e18,IExclusiveRangeService as _0x5dc596,SheetInterceptorService as _0x5ed9f4,INTERCEPTOR_POINT as _0xc1d871,InsertSheetCommand as _0x21737c,InsertSheetUndoMutationFactory as _0x316f56,RemoveSheetMutation as _0x539518,InsertSheetMutation as _0x227c31,MoveRangeMutation as _0x39fdc9,SheetsSelectionsService as _0x434854,ClearSelectionContentCommand as _0x66bb4e,ClearSelectionAllCommand as _0x267fed,SetWorksheetColWidthMutation as _0x532405,RefRangeService as _0x47dc83,SetWorksheetActiveOperation as _0x282476,MoveRangeCommand as _0x3fcf7e,RemoveSheetCommand as _0x52bec3}from'@univerjs/sheets';import{Subject as _0x265f85,BehaviorSubject as _0x3370f8}from'rxjs';import{LS_CONFIG_KEY as _0x59310c,unshiftString as _0x41d392,isFeatureAuthorizedWithinTime as _0x1d0a9e,getSheetFeatureLimit as _0x2196c0,ReleaseType as _0x316ecc,UniverLicensePlugin as _0x5aca44}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4328ea,RemoveSheetsFilterMutation as _0x1158ed}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1f987d}from'@univerjs/rpc';import{getFontStyleString as _0x2c4332,FontCache as _0x53eb93}from'@univerjs/engine-render';const Ao=Number[_0x1675c1(0x223)](0x683dcdb3),li=0x10,so=0x1,ao=_0x1675c1(0x298),It=0x1,ci='rgb(240,241,243)',di=_0x1675c1(0x1f4),wt=_0x1675c1(0x1df),ui=_0x1675c1(0x2ce),fi=_0x1675c1(0x2ce),gi='#eceeff',hi='#1d32e9',vi=_0x1675c1(0x1a5),pi=_0x1675c1(0xe3),mi=_0x1675c1(0x163),Ii='#FFFFFF',Ci=_0x1675c1(0x24a),bi=0xe,Si=0x6;var Wo=(_0x5e1f4d=>(_0x5e1f4d[_0x1675c1(0x23d)]='existing',_0x5e1f4d[_0x1675c1(0x11a)]=_0x1675c1(0x122),_0x5e1f4d))(Wo||{});const ko={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,Je={'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':Ci},'bd':Je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Ti(_0x73e960,_0x1e77d5,_0x58cf90){const _0x41c092=_0x1675c1,_0x5c911f=_0x73e960[_0x41c092(0x2e9)](_0x7abaf8),_0x3e159d=_0x58cf90[_0x41c092(0x27a)]('_');switch(_0x1e77d5){case _0x2d6c66[_0x41c092(0x1a4)]:return _0x5c911f['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3e159d);case _0x2d6c66['Minute']:return _0x5c911f['t'](_0x41c092(0x227),..._0x3e159d);case _0x2d6c66[_0x41c092(0x1d4)]:return _0x5c911f['t'](_0x41c092(0x29e),..._0x3e159d);case _0x2d6c66[_0x41c092(0x148)]:return _0x5c911f['t'](_0x41c092(0x177),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c9)]:return _0x5c911f['t'](_0x41c092(0x21b),..._0x3e159d);case _0x2d6c66[_0x41c092(0xc8)]:return _0x5c911f['t'](_0x41c092(0x1ca),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c3)]:return _0x5c911f['t'](_0x41c092(0x242),..._0x3e159d);case _0x2d6c66['YearMonth']:return _0x5c911f['t'](_0x41c092(0x2f7),..._0x3e159d);case _0x2d6c66['YearMonthDate']:return _0x5c911f['t'](_0x41c092(0x304),..._0x3e159d);case _0x2d6c66['YearQuarter']:return _0x5c911f['t'](_0x41c092(0x253),..._0x3e159d);}return'';}const it=(_0x1f4699,_0x39ccdb,_0x511252,_0x34744d)=>{const _0x38e074=_0x1675c1;let _0x8e209c;const _0x78c114=_0x1f4699[_0x38e074(0x2e9)](_0x146954)[_0x38e074(0x20c)](_0x34c5bf['UNIVER_SHEET']);if(!_0x78c114)return null;const _0x45a014=_0x78c114[_0x38e074(0x23f)]();let _0xebd117;if(_0x511252&&(_0xebd117=_0x45a014[_0x38e074(0x2d0)](_0x511252)),_0x39ccdb!=null&&_0x39ccdb['v']||(_0x39ccdb==null?void 0x0:_0x39ccdb['v'])===0x0){_0x8e209c||(_0x8e209c={});const _0x53c34c=Lo(_0x39ccdb['v']);typeof _0x53c34c==_0x38e074(0x12f)?_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x192)]:typeof _0x53c34c=='string'&&(_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)]),_0x8e209c['v']=_0x53c34c;}if((_0x39ccdb!=null&&_0x39ccdb['i']||(_0x39ccdb==null?void 0x0:_0x39ccdb['i'])===0x0)&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['fi']=_0x39ccdb['i']),_0x39ccdb!=null&&_0x39ccdb['s']&&(_0x8e209c||(_0x8e209c={}),_0x8e209c[_0x38e074(0x118)]=_0x39ccdb['s']),_0x511252&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['s']=_0xebd117),_0x34744d&&_0x8e209c!=null&&_0x8e209c['v']&&_0x8e209c[_0x38e074(0x118)]!==_0x3f236f[_0x38e074(0xdc)]&&_0x8e209c['pbt']!==_0x3f236f[_0x38e074(0x290)]){const _0x399ea0=String(_0x8e209c['v']),{dateType:_0xac8759}=_0x34744d;_0x8e209c['v']=Ti(_0x1f4699,_0xac8759,_0x399ea0),_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)];}return _0x8e209c;},Mi=(_0x4f86c6,_0x4f0662,_0x27e201,_0x40b9e2)=>{const _0x581ffd=_0x1675c1;var _0x49e36e,_0x2a8ec8,_0x4b08cd,_0x3faa09,_0xf59b81,_0x3b596a,_0x3cd815,_0x570ead,_0x3833ca,_0x8f591b,_0x249b0a,_0x52f613,_0x2a8edf,_0x2167b4;const _0x2e13d3=_0x27e201[_0x581ffd(0xb1)],{cornerView:_0x34747c,rowView:_0x4a29e4,colView:_0x25ea38,dataView:_0x58e393,pageView:_0x10769f,formatMap:_0x46b803,groupInfo:_0x4c8c86}=_0x4f0662,{row:_0x43e08c,col:_0x413276}=_0x2e13d3,_0x239dbf=new _0x1d8f59(),_0x3a3d2c={},_0x543220={},_0x185522={},_0x95cebc={},_0x3a9ff7={};let _0x506864=_0x43e08c,_0x5047c4=_0x413276;Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])['forEach'](_0x33bf27=>{const _0x52fd9d=_0x581ffd;Object[_0x52fd9d(0x121)](_0x10769f[_0x52fd9d(0x235)][Number(_0x33bf27)])['forEach'](_0x2f65fd=>{const _0x21c443=_0x52fd9d,_0x214779={..._0x10769f[_0x21c443(0x235)][Number(_0x33bf27)][Number(_0x2f65fd)]};_0x239dbf[_0x21c443(0x2d0)](Number(_0x33bf27)+_0x506864,Number(_0x2f65fd)+_0x5047c4,it(_0x4f86c6,_0x214779,fe[_0x21c443(0x217)]));});});const _0x40abeb=Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])[_0x581ffd(0xff)];_0x506864+=_0x40abeb+(_0x40abeb?It:0x0);const _0x8b9f7e=_0x34747c[_0x581ffd(0x113)](),_0x42a6ef=_0x34747c[_0x581ffd(0x1f6)]();for(let _0x27133b=0x0;_0x27133b<_0x8b9f7e;_0x27133b++)for(let _0x23aade=0x0;_0x23aade<_0x42a6ef;_0x23aade++){const _0x4b9354={...(_0x2a8ec8=(_0x49e36e=_0x34747c[_0x581ffd(0x235)])==null?void 0x0:_0x49e36e[_0x27133b])==null?void 0x0:_0x2a8ec8[_0x23aade]};_0x4b9354&&((_0x4b08cd=_0x4a29e4[_0x581ffd(0x1e8)][_0x23aade])!=null&&_0x4b08cd[_0x581ffd(0x2cf)])&&_0x23aade===_0x42a6ef-0x1&&_0x27133b===_0x8b9f7e-0x1&&(_0x4b9354['v']=''+_0x40b9e2[_0x581ffd(0x30c)]),_0x239dbf['setValue'](_0x27133b+_0x506864,_0x23aade+_0x5047c4,it(_0x4f86c6,_0x4b9354,fe['cornerStyle']));}for(let _0x505874=0x0;_0x505874<_0x34747c[_0x581ffd(0x30f)][_0x581ffd(0xff)];_0x505874++)_0x34747c['info'][_0x505874]&&(_0x185522[''+(_0x505874+_0x5047c4)]=_0x34747c[_0x581ffd(0x30f)][_0x505874]);_0x5047c4+=_0x42a6ef;const _0x3873bd=_0x25ea38[_0x581ffd(0x1e8)],_0x49fa8e=_0x25ea38['getLastRow']()>=0x0?_0x25ea38['getLastRow']()+0x1:0x0,_0x468595=_0x25ea38[_0x581ffd(0x2d8)]()>=0x0?_0x25ea38[_0x581ffd(0x2d8)]()+0x1:0x0;for(let _0x29abb=0x0;_0x29abb<_0x468595;_0x29abb++){for(let _0x2587db=0x0;_0x2587db<_0x49fa8e;_0x2587db++){const _0x1cb173={...(_0xf59b81=(_0x3faa09=_0x25ea38['data'])==null?void 0x0:_0x3faa09[_0x2587db])==null?void 0x0:_0xf59b81[_0x29abb]},_0x27347e=(_0x3b596a=_0x3873bd[_0x2587db])==null?void 0x0:_0x3b596a['tableFieldId'],_0x481009=_0x46b803[_0x27347e],_0x5239a8=_0x4c8c86[_0x27347e];_0x1cb173&&(_0x1cb173['v']=vt(_0x1cb173,_0x2587db===0x0&&((_0x3cd815=_0x25ea38[_0x581ffd(0x272)](_0x29abb+0x1))==null?void 0x0:_0x3cd815['isValue']),_0x481009,_0x40b9e2));let _0x9c3f6c;_0x481009?_0x9c3f6c={...fe[_0x581ffd(0x2e8)],'n':{'pattern':_0x481009}}:_0x9c3f6c={...fe[_0x581ffd(0x2e8)]},_0x239dbf[_0x581ffd(0x2d0)](_0x2587db+_0x506864,_0x29abb+_0x5047c4,it(_0x4f86c6,_0x1cb173,_0x9c3f6c,_0x5239a8));}_0x25ea38[_0x581ffd(0x30f)][_0x29abb]&&(_0x543220[''+(_0x29abb+_0x5047c4)]=_0x25ea38['info'][_0x29abb]),_0x25ea38['headerMap'][_0x29abb+0x1]&&(_0x3a9ff7[''+(_0x29abb+_0x506864+0x1)]=_0x25ea38['headerMap'][_0x29abb+0x1]);}_0x506864+=_0x8b9f7e;const _0x93d7ed=_0x4a29e4['headerMap'],_0x199bbb=_0x4a29e4['getLastRow']()>=0x0?_0x4a29e4[_0x581ffd(0x2b1)]()+0x1:0x0,_0x183d00=_0x4a29e4[_0x581ffd(0x2d8)]()>=0x0?_0x4a29e4['getLastCol']()+0x1:0x0;for(let _0x4054c2=0x0;_0x4054c2<_0x199bbb;_0x4054c2++){for(let _0x572e93=0x0;_0x572e93<_0x183d00;_0x572e93++){const _0x495b2e={...(_0x3833ca=(_0x570ead=_0x4a29e4[_0x581ffd(0x235)])==null?void 0x0:_0x570ead[_0x4054c2])==null?void 0x0:_0x3833ca[_0x572e93]},_0x12d361=(_0x8f591b=_0x93d7ed[_0x572e93])==null?void 0x0:_0x8f591b[_0x581ffd(0x1e6)],_0x4c1775=_0x46b803[_0x12d361],_0x35a6bb=_0x4c8c86[_0x12d361];_0x495b2e&&(_0x495b2e['v']=vt(_0x495b2e,!0x1,_0x4c1775,_0x40b9e2));let _0xb714a8;_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2][_0x581ffd(0x2bf)]===_0x4a29e4[_0x581ffd(0x1f6)]()?_0xb714a8=fe[_0x581ffd(0x2f6)]:_0x4a29e4['info'][_0x4054c2][_0x581ffd(0x30b)]?_0xb714a8=_0x4a29e4['info'][_0x4054c2]['level']===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0xb714a8=fe[_0x581ffd(0x12e)],_0x4c1775&&(_0xb714a8={..._0xb714a8,'n':{'pattern':_0x4c1775}}),_0x239dbf[_0x581ffd(0x2d0)](_0x4054c2+_0x506864,_0x572e93+_0x413276,it(_0x4f86c6,_0x495b2e,_0xb714a8,_0x35a6bb));}_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]&&(_0x3a3d2c[''+(_0x4054c2+_0x506864)]=_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]),_0x4a29e4[_0x581ffd(0x1e8)][_0x4054c2]&&(_0x95cebc[''+(_0x4054c2+_0x413276)]=_0x4a29e4['headerMap'][_0x4054c2]);}const _0xa04a96=_0x58e393['getRowCount'](),_0x574645=_0x58e393[_0x581ffd(0x1f6)]();for(let _0x9bbf20=0x0;_0x9bbf20<_0xa04a96;_0x9bbf20++)for(let _0x4173aa=0x0;_0x4173aa<_0x574645;_0x4173aa++){const _0x219a8e={...(_0x52f613=(_0x249b0a=_0x58e393[_0x581ffd(0x235)])==null?void 0x0:_0x249b0a[_0x9bbf20])==null?void 0x0:_0x52f613[_0x4173aa]};let _0x1f3179;_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x30b)]?_0x1f3179=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2bf)]===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0x1f3179=fe[_0x581ffd(0x247)];const _0x4ae98a=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2b4)],_0x52b989=_0x25ea38[_0x581ffd(0x30f)][_0x4173aa][_0x581ffd(0x2b4)],_0x2e0d2e=Math[_0x581ffd(0x224)](_0x4ae98a,_0x52b989),_0x290407=_0x27e201[_0x581ffd(0x2bd)][_0x581ffd(0x204)][_0x581ffd(0x164)]();let _0x1aceb0='';_0x2e0d2e<0x0?_0x1aceb0=(_0x2a8edf=_0x290407[0x0])!=null?_0x2a8edf:'':_0x1aceb0=(_0x2167b4=_0x290407[_0x2e0d2e])!=null?_0x2167b4:'';const _0x3ad41a=_0x46b803[_0x1aceb0];_0x3ad41a&&(_0x1f3179={..._0x1f3179,'n':{'pattern':_0x3ad41a}}),_0x239dbf[_0x581ffd(0x2d0)](_0x9bbf20+_0x506864,_0x4173aa+_0x5047c4,it(_0x4f86c6,_0x219a8e,_0x1f3179));}return{'valueMatrix':_0x239dbf,'rowInfo':_0x3a3d2c,'colInfo':_0x543220,'cornerInfo':_0x185522,'rowHeaderMap':_0x95cebc,'colHeaderMap':_0x3a9ff7};};function vt(_0xc9f0a3,_0x240176,_0x22f2a1,_0x53f18f){const _0xfe6f7e=_0x1675c1;let _0x2083c3=_0xc9f0a3['v'];_0x240176&&(_0x2083c3=''+_0x53f18f[_0xfe6f7e(0x30c)]);const _0x189eeb=_0xc9f0a3['t']&&(_0xc9f0a3['t']&_0x285a27[_0xfe6f7e(0x126)])>0x0;if(_0x189eeb&&(_0x2083c3=''+_0x53f18f['sheets-pivot.blank']),_0xc9f0a3['s']===_0x3f236f['Subtotal']){let _0x5f06de=_0x2083c3,_0x5f2123='';_0x5b47fa(_0x2083c3)&&(_0x5f06de=_0x2083c3[_0xfe6f7e(0x13c)],_0x5f2123=_0x2083c3[_0xfe6f7e(0x2cd)]);const _0x5d9a81=_0x22f2a1&&!_0x189eeb?_0x519cb6['format'](_0x22f2a1,Number(_0x5f06de)):_0x5f06de;_0x5f2123?_0x2083c3=_0x5d9a81+'\x20'+_0x5f2123:_0x2083c3=_0x5d9a81+'\x20'+_0x53f18f[_0xfe6f7e(0x2be)];}else _0xc9f0a3['s']===_0x3f236f[_0xfe6f7e(0xdc)]&&(_0x2083c3=_0x2083c3+'\x20'+_0x53f18f[_0xfe6f7e(0x1fb)]);return _0x2083c3;}function Lo(_0x48d612){const _0x5deb34=_0x1675c1;if(_0x4c370f(_0x48d612)){const {errorType:_0x238eed}=_0x48d612;switch(_0x238eed){case _0x397cf3['Div0']:return _0x406170['DIV_BY_ZERO'];case _0x397cf3[_0x5deb34(0x1a8)]:return _0x406170[_0x5deb34(0x146)];case _0x397cf3[_0x5deb34(0x225)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x218)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x193)]:return _0x406170[_0x5deb34(0x1cd)];}}return _0x48d612;}function ge(_0xcf9693,_0xc31aab,_0x1cee96=!0x1,_0x16fd65=!0x1){const _0x2fffe4=_0x1675c1,{data:_0x23716d}=_0xc31aab,_0x490b6a=_0xc31aab[_0x2fffe4(0x113)](),_0x228609=_0xc31aab['getColCount']();if(_0x490b6a<=0x0||_0x228609<=0x0)return[];const _0x413b11=_0xc31aab[_0x2fffe4(0x2d8)](),_0x55aa52=_0xc31aab[_0x2fffe4(0x2b1)](),_0x5c27d4=_0x16fd65?_0x55aa52>=0x0?_0x55aa52+0x1:0x0:_0x490b6a,_0x40fa98=_0x16fd65?_0x413b11>=0x0?_0x413b11+0x1:0x0:_0x228609,{row:_0x7bdb8a,col:_0x471870}=_0xcf9693,_0x26f753=_0x7bdb8a,_0xac090b=_0x471870;if(_0x1cee96){const _0x35aaf8=[];for(const [_0x20cff6,_0x5e5ee4]of Object[_0x2fffe4(0xa8)](_0x23716d))for(const [_0x10368a,_0x2eb9fb]of Object[_0x2fffe4(0xa8)](_0x5e5ee4))_0x35aaf8[_0x2fffe4(0x1a3)](_0x34e162(_0x26f753+Number(_0x20cff6),_0xac090b+Number(_0x10368a)));return _0x35aaf8;}else{const _0x46524d=_0x16fd65?_0x5c27d4>0x0?0x1:0x0:0x1,_0x5499cf=_0x16fd65?_0x40fa98>0x0?0x1:0x0:0x1,_0x244d44=_0x7bdb8a+_0x5c27d4-_0x46524d,_0x3976dd=_0x471870+_0x40fa98-_0x5499cf;return[{'startRow':_0x26f753,'startColumn':_0xac090b,'endRow':_0x244d44,'endColumn':_0x3976dd}];}}const H='SHEET_PIVOT_IN_MAIN_THREAD',Wt='SHEET_PIVOT_EXCLUSIVE_ID';var A=(_0x3518b9=>(_0x3518b9['Filter']=_0x1675c1(0x29a),_0x3518b9['Panel']=_0x1675c1(0x173),_0x3518b9[_0x1675c1(0x13e)]=_0x1675c1(0x2ec),_0x3518b9[_0x1675c1(0x208)]=_0x1675c1(0x208),_0x3518b9[_0x1675c1(0x21d)]='addPivotTable',_0x3518b9[_0x1675c1(0x1c9)]=_0x1675c1(0x2b0),_0x3518b9[_0x1675c1(0x301)]=_0x1675c1(0x10f),_0x3518b9[_0x1675c1(0x319)]=_0x1675c1(0x321),_0x3518b9['SetPivotFilter']=_0x1675c1(0xe6),_0x3518b9[_0x1675c1(0x184)]=_0x1675c1(0x1bb),_0x3518b9[_0x1675c1(0xd8)]='setPivotSetting',_0x3518b9[_0x1675c1(0x10a)]='updatePivotSource',_0x3518b9['UpdateValuePosition']=_0x1675c1(0x2dc),_0x3518b9[_0x1675c1(0x12d)]='drillDown',_0x3518b9[_0x1675c1(0xc3)]=_0x1675c1(0x2d7),_0x3518b9[_0x1675c1(0xef)]=_0x1675c1(0x176),_0x3518b9[_0x1675c1(0x306)]=_0x1675c1(0x1e7),_0x3518b9))(A||{});const yi={'sheets-pivot.blankValue':_0x1675c1(0x22c),'sheets-pivot.columnName':_0x1675c1(0x2fa),'sheets-pivot.subTotalText':_0x1675c1(0x1b9),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x1675c1(0x9c),'sheets-pivot.averageName':_0x1675c1(0xfe),'sheets-pivot.countName':_0x1675c1(0x197),'sheets-pivot.countNumsName':_0x1675c1(0x197),'sheets-pivot.maxName':_0x1675c1(0xab),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x1675c1(0xda),'sheets-pivot.stdDevName':_0x1675c1(0x1ff),'sheets-pivot.stdDevpName':_0x1675c1(0xbd),'sheets-pivot.sumName':_0x1675c1(0x315),'sheets-pivot.varName':_0x1675c1(0x200),'sheets-pivot.varpName':_0x1675c1(0x284),'sheets-pivot.subTotal':_0x1675c1(0x290),'sheets-pivot.grandTotal':_0x1675c1(0xc5),'sheets-pivot.value':_0x1675c1(0x2cd),'sheets-pivot.blank':_0x1675c1(0x126),'sheets-pivot.emptyPivot.filter':_0x1675c1(0x1aa),'sheets-pivot.emptyPivot.row':_0x1675c1(0x1e1),'sheets-pivot.emptyPivot.column':_0x1675c1(0x258),'sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x29104c(_0x1675c1(0x2f3)),Go=_0x3fb09e(_0x1675c1(0x1b8));var ke=(_0x709242=>(_0x709242['add']=_0x1675c1(0x1a7),_0x709242['delete']=_0x1675c1(0x30d),_0x709242[_0x1675c1(0x160)]=_0x1675c1(0x160),_0x709242))(ke||{}),L=(_0x4db197=>(_0x4db197[_0x1675c1(0xa6)]=_0x1675c1(0x1a7),_0x4db197[_0x1675c1(0x2e2)]='set',_0x4db197[_0x1675c1(0x211)]='delete',_0x4db197))(L||{});const $o={0x0:'B',0x1:'m',0x2:'G',0x3:'F',0x4:'1',0x5:'I',0x6:'8',0x7:'c',0x8:'Y',0x9:'i','k':'0','X':'2','S':'3','M':'4','C':'5','o':'6','T':'7','i':'9','E':'a','q':'b','G':'d','D':'e','K':'f','U':'g','v':'h','x':'j','g':'k','w':'l','p':'n','B':'o','s':'p','N':'q','z':'r','W':'s','h':'t','l':'u','R':'v','u':'w','I':'x','O':'y','a':'z','L':'A','j':'C','b':'D','y':'E','Y':'H','t':'J','f':'K','c':'L','r':'M','m':'N','e':'O','d':'P','V':'Q','F':'R','H':'S','P':'T','Z':'U','J':'V','n':'W','Q':'X','A':'Z'},zo='Klp7h9Bp\x20GD7zOsh9Bp(w97DpWD,\x20slqw97fDO)\x20{\x20\x20\x20\x20hzO\x20{\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20w97DpWD5pKBdEzhLzzEO\x20=\x20w97DpWD.Wsw9h(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20Bz9U9prDWWEUD\x20=\x20tHem.sEzWD(EhBq(w97DpWD5pKBdEzhLzzEO[X]));\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!Bz9U9prDWWEUD.lG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bz9U9prDWWEUD.lG\x20=\x20ml1qDz(w97DpWD5pKBdEzhLzzEO[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x209WnBzgDz\x20=\x20hOsDBK\x20nBzgDz2wBqEwH7BsD\x20!==\x20\x27lpGDK9pDG\x27\x20&&\x20WDwK\x209pWhEp7DBK\x20nBzgDz2wBqEwH7BsD;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x207BphDIh\x20=\x209WnBzgDz\x20?\x20WDwK\x20:\x20u9pGBu;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[X]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(1DWWEUDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[S]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(W9UpEhlzDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpJEw9G\x20=\x207BphDIh.__RDz9KO__(W9UpEhlzD,\x201DWWEUD,\x20slqw97fDO);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20GB1E9p\x20=\x20Bz9U9prDWWEUD.G1;\x20\x20\x20\x20\x20\x20\x20\x20Klp7h9Bp\x209WbB1E9prEh7v9pU(BdEhhDzp,\x20BYBWh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzp\x20=\x20BdEhhDzp.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWh\x20=\x20BYBWh.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpdEzhW\x20=\x20sEhhDzp.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhdEzhW\x20=\x20vBWh.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!sEhhDzp.9p7wlGDW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzp\x20===\x20vBWh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(sEhhDzpdEzhW.wDpUhv\x20<\x20X\x20||\x20sEhhDzpdEzhW[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20KEwWD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpHlKK9I\x20=\x20sEhhDzpdEzhW.Ww97D(4).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhHlKK9I\x20=\x20vBWhdEzhW.Ww97D(-sEhhDzpdEzhW.wDpUhv\x20+\x204).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzpHlKK9I\x20===\x20vBWhHlKK9I;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wDh\x20GB1E9pJEw9G\x20=\x20(GB1E9p\x20&&\x20GB1E9p.wDpUhv)\x20?\x20GB1E9p.WB1D((G15hD1)\x20=>\x209WbB1E9prEh7v9pU(G15hD1,\x20wB7Eh9Bp.vBWhpE1D))\x20:\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x209K\x20(wB7Eh9Bp.vBWhpE1D\x20===\x20\x27wB7EwvBWh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GB1E9pJEw9G\x20=\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20REw9G\x20=\x20W9UpJEw9G\x20&&\x20GB1E9pJEw9G;\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20Bz9U9prDWWEUD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x207Eh7v\x20(DzzBz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G:\x20KEwWD,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e6),'handler':()=>!0x0},lo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Rt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x245),'handler':()=>!0x0},co={'type':_0x3fc5c3['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e7),'handler':()=>!0x0},wi=_0x43c8cd=>{const _0xd880e2=_0x1675c1;var _0xb7f7f2;return((_0xb7f7f2=_0x43c8cd[_0xd880e2(0x195)])==null?void 0x0:_0xb7f7f2['dataStream']['replace'](/\r\n$/,''))||'';};class _i extends _0x327c99{constructor(_0x7ce89,_0x459b08){const _0x290492=_0x1675c1;super(),U(this,'rangeKeyMap',{}),U(this,_0x290492(0x27f)),U(this,_0x290492(0x182)),(this['_univerInstanceService']=_0x459b08,this[_0x290492(0x182)]=_0x7ce89);}[_0x1675c1(0x116)](){const _0x15bb37=_0x1675c1;for(const _0x2f180b in this[_0x15bb37(0x1f2)]){const _0x2fa7b2=this[_0x15bb37(0x1f2)][_0x2f180b],_0x105dd0=_0x2fa7b2['getRangeKey']();this[_0x15bb37(0x11e)][_0x105dd0]=_0x2fa7b2[_0x15bb37(0xf5)]();}}[_0x1675c1(0x318)](){const _0x53b824=_0x1675c1,_0x348bda=this[_0x53b824(0x182)];return Vi[_0x53b824(0x1ef)](_0x348bda);}[_0x1675c1(0x137)](_0x178ad6){const _0x3de1f9=_0x1675c1,_0x457f40=this['dataFields'][_0x178ad6]['rangeKey'];delete this[_0x3de1f9(0x1f2)][_0x178ad6],delete this[_0x3de1f9(0x11e)][_0x457f40];}[_0x1675c1(0x282)](_0x24347d){const _0x16d72b=_0x1675c1;this[_0x16d72b(0x1f2)][_0x24347d[_0x16d72b(0xf5)]()]=_0x24347d;}[_0x1675c1(0x1a1)](_0x24053b){const _0x56883f=_0x1675c1;var _0x2f0952,_0x1cd25e;const _0x594e3f=this[_0x56883f(0x182)][_0x56883f(0x209)](_0x24053b);if(_0x594e3f){const {unitId:_0x2d5233,subUnitId:_0x393759}=_0x594e3f,_0x3d5550=(_0x2f0952=this[_0x56883f(0x182)][_0x56883f(0x14e)](_0x2d5233,_0x393759,_0x24053b))==null?void 0x0:_0x2f0952[_0x56883f(0xdb)];this[_0x56883f(0x182)][_0x56883f(0x1e0)]({'token':_0x24053b,'type':ke[_0x56883f(0x30d)],'dataRangeInfo':_0x3d5550});}(_0x1cd25e=this['getCollection'](_0x24053b))==null||_0x1cd25e[_0x56883f(0x239)](),delete this[_0x56883f(0x234)][_0x24053b];}[_0x1675c1(0x257)](_0x4bf6cf,_0x3341be){const {sheetName:_0x20f18b,unitId:_0x5b5386,range:_0x3e6baf}=_0x4bf6cf,{startRow:_0x79732c,endRow:_0x176af3}=_0x3e6baf;return _0x2b24e0(_0x5b5386,_0x20f18b,{'startRow':_0x79732c,'endRow':_0x176af3,'startColumn':_0x3341be,'endColumn':_0x3341be});}[_0x1675c1(0x1bc)](_0x2411db){return this['dataFields'][this['rangeKeyMap'][_0x2411db]];}['setRangeKeyMap'](_0x341b99,_0x12c292){this['rangeKeyMap'][_0x341b99]=_0x12c292;}[_0x1675c1(0x9b)](_0x4316df,_0x1ba2b0){const _0x30e9d9=_0x1675c1;this['rangeKeyMap'][_0x1ba2b0]=this[_0x30e9d9(0x11e)][_0x4316df],delete this['rangeKeyMap'][_0x4316df];}[_0x1675c1(0x105)](_0x3ba8d6,_0x2c76af,_0x213488,_0xb86706){const _0x2ef808=_0x1675c1,_0x4e9a6f=new _0x22be67(this);_0x4e9a6f[_0x2ef808(0x31f)](_0x2c76af);const _0x42f37b=[];let _0x151479=0x0;for(const _0x513304 of _0x4e9a6f[_0x2ef808(0x1e3)]){const _0x360624=this[_0x2ef808(0x257)](_0x213488,_0x151479),_0x1781e8=this[_0x2ef808(0x1f2)][_0x513304];_0x1781e8&&(_0x1781e8['rangeKey']=_0x360624,this['setRangeKeyMap'](_0x360624,_0x513304),_0x42f37b[_0x2ef808(0x1a3)]({'index':_0x151479,'dataField':_0x1781e8})),_0x151479++;}return this[_0x2ef808(0x100)](_0x3ba8d6,_0x4e9a6f,_0x213488,_0xb86706),{'collection':_0x4e9a6f,'updateDataFieldList':_0x42f37b};}[_0x1675c1(0x259)](_0x3c21f2,_0x3d74db){const _0x1f51eb=_0x1675c1;return _0x3c21f2[_0x1f51eb(0x293)]===_0x3153b7['COLUMN']?{'startRow':0x0,'startColumn':_0x3c21f2['startColumn'],'endRow':_0x3d74db[_0x1f51eb(0x113)]()-0x1,'endColumn':_0x3c21f2['endColumn']}:{'startRow':_0x3c21f2['startRow'],'startColumn':_0x3c21f2[_0x1f51eb(0x16d)],'endRow':_0x3c21f2[_0x1f51eb(0x138)],'endColumn':_0x3c21f2['endColumn']};}[_0x1675c1(0x1c0)](_0x23bec8){const _0x3cdc6d=_0x1675c1,{sheetName:_0x3e85e0,range:_0x3655d0}=_0x23bec8,_0x353dc2=this[_0x3cdc6d(0x27f)]['getCurrentUnitForType'](_0x34c5bf[_0x3cdc6d(0x1f3)]),_0x29abe8=_0x353dc2[_0x3cdc6d(0x1f8)](_0x3e85e0),_0x4f2739=_0x29abe8[_0x3cdc6d(0x13f)](),{startColumn:_0x59c299,startRow:_0x1f0879,endColumn:_0x227c4e}=this[_0x3cdc6d(0x259)](_0x3655d0,_0x29abe8),_0x36da2c=_0x353dc2['getStyles'](),_0x3f353f=new _0x22be67(this);_0x3f353f[_0x3cdc6d(0x2c8)](_0x23bec8);const _0x35f978=[],_0xb8eef0={};for(let _0x1eb2eb=_0x59c299;_0x1eb2eb<=_0x227c4e;_0x1eb2eb++){const _0x4a7b1b=_0x4f2739['getValue'](_0x1f0879,_0x1eb2eb),_0x4478cb=this[_0x3cdc6d(0x257)](_0x23bec8,_0x1eb2eb),_0x12d0ee=this[_0x3cdc6d(0x1bc)](_0x4478cb);if(_0x12d0ee)_0x3f353f[_0x3cdc6d(0x273)](_0x12d0ee[_0x3cdc6d(0xf5)](),_0x12d0ee[_0x3cdc6d(0xce)]());else{const _0x1af9d0=this[_0x3cdc6d(0x18c)]();let _0x2d7bef=this['adjustSheetCellData'](_0x4a7b1b,_0x36da2c,_0xb8eef0);_0x35e63e(_0x2d7bef)&&(_0x2d7bef=_0x519cb6['format'](_0x2d7bef['f'],Number(_0x2d7bef['v'])));const _0x346d94=this['uniqueDataFieldName'](_0x2d7bef,_0x1eb2eb),_0x1c06f6=new _0x21dd75(_0x1af9d0,_0x346d94,_0x248684(0x3));_0x1c06f6[_0x3cdc6d(0xb7)]=_0x4478cb,this[_0x3cdc6d(0x1f2)][_0x1af9d0]=_0x1c06f6,_0x3f353f['addField'](_0x1af9d0,_0x346d94),_0x35f978[_0x3cdc6d(0x1a3)]({'index':_0x1eb2eb,'dataField':_0x1c06f6});}}return{'updateDataFieldList':_0x35f978,'collection':_0x3f353f};}[_0x1675c1(0x2f8)](_0x4fda28){const _0x4fc901=_0x1675c1;return this['_host'][_0x4fc901(0x165)]()[_0x4fc901(0x2e5)]+'\x20'+_0x553a8c(_0x4fda28);}[_0x1675c1(0xc9)](_0x3c524a,_0x39796e){return _0x3c524a==null||_0x3c524a===''?this['_getAutoName'](_0x39796e):String(_0x3c524a);}[_0x1675c1(0x28b)](_0x39a8f9){const _0x2909ba=_0x1675c1;return this[_0x2909ba(0x234)][_0x39a8f9];}[_0x1675c1(0x100)](_0x4eb141,_0xe1423a,_0x2fab90,_0x1858d7){const _0x5a285b=_0x1675c1;this[_0x5a285b(0x234)][_0x4eb141]=_0xe1423a,_0xe1423a[_0x5a285b(0x2c8)](_0x2fab90),this[_0x5a285b(0x182)][_0x5a285b(0x1e0)]({'token':_0x4eb141,'type':ke[_0x5a285b(0x1a7)],'dataRangeInfo':_0x2fab90,'targetCellInfo':_0x1858d7});}['handleMoveRange'](_0x24b951,_0x4d0b83){const _0x2107fa=_0x1675c1,_0x288694=this['getCollection'](_0x24b951),_0x2d3055=_0x288694['getFieldIds']();let _0x418aea=0x0;for(const _0x116f21 of _0x2d3055){const _0x22ca3c=_0x288694['getFieldById'](_0x116f21),_0x4c334f=this['getRangeKey'](_0x4d0b83,_0x418aea);this[_0x2107fa(0x9b)](_0x22ca3c['rangeKey'],_0x4c334f),_0x418aea++;}}[_0x1675c1(0x296)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x8421f5,_0x1d45a4){const _0x159eb8=_0x1675c1;if(this['getCollection'](_0x8421f5)){const _0x18c2fe=this[_0x159eb8(0x12b)](_0x1d45a4),_0x41d386=[];for(const _0x1b173c of _0x18c2fe)this[_0x159eb8(0x11e)][_0x1b173c]!==void 0x0&&_0x41d386[_0x159eb8(0x1a3)](this[_0x159eb8(0x11e)][_0x1b173c]);const _0x5b8f45=this['getNoUsedDataFieldIds'](_0x8421f5),_0x498079=[],_0x265ef5=new Set(_0x41d386);for(const _0x506a9e of _0x5b8f45)_0x265ef5[_0x159eb8(0x1b4)](_0x506a9e)||_0x498079[_0x159eb8(0x1a3)](_0x506a9e);return _0x498079;}}['getMatrixValue'](_0x1f215b,_0x348f6a,_0x3a84dc,_0x17bbed,_0x45a0c0){const _0x28581d=_0x1675c1;return _0x348f6a&&_0x348f6a[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x348f6a['getValue'](_0x17bbed,_0x45a0c0):_0x3a84dc&&_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0):_0x1f215b[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0);}[_0x1675c1(0x20e)](_0x52b3d0,_0x2970d9,_0xae2b8a,_0x490fd7){const _0x13159e=_0x1675c1,_0x28000c=this[_0x13159e(0x1f2)][_0x52b3d0];if(!_0x28000c)return;const {subUnitId:_0xec2a64,range:_0x3962cf,unitId:_0x136adc}=_0x2970d9,_0x47f7fb=this[_0x13159e(0x27f)][_0x13159e(0x2aa)](_0x136adc);if(!_0x47f7fb){console[_0x13159e(0x108)](_0x13159e(0x1c2));return;}const _0x48cc14=_0x47f7fb[_0x13159e(0x2c0)](_0xec2a64),_0x3b8fda=_0x48cc14['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x405e21,unitDataMatrix:_0x3c19e0}=_0x490fd7||{},{startRow:_0x58dc26,startColumn:_0x327320,endRow:_0x464372}=this[_0x13159e(0x259)](_0x3962cf,_0x48cc14);_0x28000c['reset']();const _0xbc1d32=_0x47f7fb[_0x13159e(0x23f)](),_0x527b70={},_0x1255f3=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x58dc26,_0x327320+_0xae2b8a);let _0x14db72=this['adjustSheetCellData'](_0x1255f3,_0xbc1d32,_0x527b70);_0x35e63e(_0x14db72)&&(_0x14db72=_0x519cb6['format'](_0x14db72['f'],Number(_0x14db72['v'])));const _0x3ce503=this[_0x13159e(0xc9)](_0x14db72,_0x327320+_0xae2b8a);_0x28000c[_0x13159e(0xf1)](_0x3ce503);for(let _0x36e925=_0x58dc26+0x1;_0x36e925<=_0x464372;_0x36e925++){const _0x4741a8=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x36e925,_0x327320+_0xae2b8a);_0x28000c['addRecord'](this[_0x13159e(0xbe)](_0x4741a8,_0xbc1d32,_0x527b70),_0x36e925-0x1-_0x58dc26);}}[_0x1675c1(0x15d)](_0x4400c8,_0x3deb82,_0xefb3ca){const _0x37ef2f=_0x1675c1,{subUnitId:_0x4cede7,range:_0x4846e9,unitId:_0x2681fa}=_0xefb3ca,_0x49efc7=this['_univerInstanceService'][_0x37ef2f(0x2aa)](_0x2681fa);if(!_0x49efc7){console['error'](_0x37ef2f(0x1c2));return;}const _0x3985de=_0x49efc7[_0x37ef2f(0x2c0)](_0x4cede7),_0x35ea76=_0x3985de['getCellMatrix'](),{startRow:_0x37b7cd,startColumn:_0xeaad3c,endRow:_0x554cae}=this['getRangeStartEndInfo'](_0x4846e9,_0x3985de),_0x52d129=_0x49efc7[_0x37ef2f(0x23f)](),_0x295ae6={};for(const {dataField:_0x34e100,index:_0x391efc}of _0x3deb82){_0x34e100[_0x37ef2f(0x101)]();const _0x4ac026=this['getMatrixValue'](_0x35ea76,void 0x0,void 0x0,_0x37b7cd,_0xeaad3c+_0x391efc);let _0x58fec6=this[_0x37ef2f(0xbe)](_0x4ac026,_0x52d129,_0x295ae6);_0x35e63e(_0x58fec6)&&(_0x58fec6=_0x519cb6[_0x37ef2f(0x1dd)](_0x58fec6['f'],Number(_0x58fec6['v'])));const _0x11ae36=this[_0x37ef2f(0xc9)](_0x58fec6,_0xeaad3c+_0x391efc);_0x34e100[_0x37ef2f(0xf1)](_0x11ae36);}_0x4400c8[_0x37ef2f(0x31e)]();for(let _0x2bcc4a=_0x37b7cd+0x1;_0x2bcc4a<=_0x554cae;_0x2bcc4a++)for(const {index:_0xe9fb9b,dataField:_0x5c6335}of _0x3deb82){const _0x548f27=_0x35ea76['getValue'](_0x2bcc4a,_0xeaad3c+_0xe9fb9b);_0x5c6335[_0x37ef2f(0x270)](this[_0x37ef2f(0xbe)](_0x548f27,_0x52d129,_0x295ae6),_0x2bcc4a-0x1-_0x37b7cd);}_0x4400c8[_0x37ef2f(0xde)](_0x554cae-_0x37b7cd);}[_0x1675c1(0x12b)](_0x197335){const _0x43515d=_0x1675c1,{range:_0x4dc049}=_0x197335,{startColumn:_0x2c2b00,endColumn:_0x5de737}=_0x4dc049,_0x2bec3f=[];for(let _0x55f850=_0x2c2b00;_0x55f850<=_0x5de737;_0x55f850++)_0x2bec3f['push'](this[_0x43515d(0x257)](_0x197335,_0x55f850));return _0x2bec3f;}[_0x1675c1(0xbe)](_0x3641bf,_0x4ee080,_0x10993b){const _0x565a68=_0x1675c1;if(_0x3641bf){const {s:_0x42b9a4,v:_0x9fa0ce,t:_0x40e821,p:_0x5c9d34}=_0x3641bf;if(_0x5c9d34)return wi(_0x5c9d34);const _0x124a69=_0x4ee080[_0x565a68(0x2e9)](_0x42b9a4);if(_0x124a69&&_0x40e821===_0x5ee6bb[_0x565a68(0x192)]&&_0x124a69['n']){const {pattern:_0x269241}=_0x124a69['n'];_0x10993b[_0x269241]||(_0x10993b[_0x269241]=_0x519cb6[_0x565a68(0x207)](_0x269241));const _0x4b2aae=_0x10993b[_0x269241],_0x16edc0=_0x4b2aae[_0x565a68(0x18a)];if(_0x4b2aae['isText'])return String(_0x9fa0ce);if(_0x16edc0)return{'v':_0x9fa0ce,'f':_0x269241};}if(_0x40e821===_0x5ee6bb[_0x565a68(0x192)])return Number(_0x9fa0ce);if(_0x40e821===_0x5ee6bb[_0x565a68(0x310)]||_0x40e821===_0x5ee6bb[_0x565a68(0x159)])return String(_0x9fa0ce);if(_0x40e821===void 0x0){const _0x51a737=Number(_0x9fa0ce);if(!Number[_0x565a68(0x213)](_0x51a737)&&String(_0x51a737)===_0x9fa0ce)return _0x51a737;}return _0x9fa0ce!=null?_0x9fa0ce:null;}else return null;}[_0x1675c1(0x281)](_0x19a610){const _0x2abed9=_0x1675c1,{sheetName:_0x273750,range:_0x4cbca1,unitId:_0x59a196}=_0x19a610,_0x1ce081=this[_0x2abed9(0x27f)]['getUnit'](_0x59a196);if(!_0x1ce081)return console['error'](_0x2abed9(0x1c2)),{'header':[],'data':[]};const _0x3172ca=_0x1ce081[_0x2abed9(0x1f8)](_0x273750),_0x593cf7=_0x3172ca[_0x2abed9(0x13f)](),{startRow:_0xd09cee,startColumn:_0x100505,endRow:_0x5986ca,endColumn:_0x427a7c}=this['getRangeStartEndInfo'](_0x4cbca1,_0x3172ca),_0x5c38c3=_0x1ce081['getStyles'](),_0xa9cc7c=[],_0x32a647=[],_0x449060={};for(let _0x375078=_0xd09cee;_0x375078<=_0x5986ca;_0x375078++){const _0x15b4c8=[];for(let _0x1b01be=_0x100505;_0x1b01be<=_0x427a7c;_0x1b01be++){const _0x4e2058=_0x593cf7['getValue'](_0x375078,_0x1b01be);_0x375078===_0xd09cee?_0xa9cc7c[_0x2abed9(0x1a3)](_0x4e2058==null?null:String(_0x4e2058['v'])):_0x15b4c8[_0x2abed9(0x1a3)](this[_0x2abed9(0xbe)](_0x4e2058,_0x5c38c3,_0x449060));}_0x32a647[_0x2abed9(0x1a3)](_0x15b4c8);}return{'header':_0xa9cc7c,'data':_0x32a647};}[_0x1675c1(0x132)](){const _0x25bfaa=_0x1675c1;return super[_0x25bfaa(0x132)]();}['fromJSON'](_0x33bf86){const _0x56eb0f=_0x1675c1;super['fromJSON'](_0x33bf86),this[_0x56eb0f(0x116)]();}[_0x1675c1(0x239)](){const _0x45b2e9=_0x1675c1;super[_0x45b2e9(0x239)](),this[_0x45b2e9(0x11e)]={},this[_0x45b2e9(0x182)]=null;}}const Fi=_0x5f17a8=>{const _0x1e22c3=_0x1675c1,{targetCellInfo:_0x46b972}=_0x5f17a8,{matrixCache:_0x5d3aa3,rangesCache:_0x836e1c}=Jo({'filter':_0x1e22c3(0x1aa),'row':'Row','column':'Column','values':_0x1e22c3(0x287)},_0x46b972),_0x462a05=new _0x1d8f59();return _0x5d3aa3['forValue']((_0x386ad2,_0x909149,_0x520c9e)=>{const _0x2cf135=_0x1e22c3;_0x462a05[_0x2cf135(0x2d0)](_0x386ad2,_0x909149,_0x520c9e);}),{'matrix':_0x462a05,'rangesCache':_0x836e1c};},st=_0x5bf8aa=>{const _0x5bae00=_0x1675c1;let _0x20b094;if(_0x5bf8aa!=null&&_0x5bf8aa['v']||(_0x5bf8aa==null?void 0x0:_0x5bf8aa['v'])===0x0){_0x20b094||(_0x20b094={});const _0x4e9a7e=Lo(_0x5bf8aa['v']);typeof _0x4e9a7e=='number'?_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x192)]:typeof _0x4e9a7e==_0x5bae00(0x25c)&&(_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x310)]),_0x20b094['v']=_0x4e9a7e;}return _0x20b094;},Di=(_0x2c8001,_0x2dfcd1,_0x109a38)=>{const _0x7d25d1=_0x1675c1;var _0x47cbcc,_0x1edf43,_0x4043dd,_0x202658,_0x3ceecf,_0x323b1b,_0x1259ec,_0x41e31c,_0x4fd08a,_0x35df84,_0x19d609,_0x2795a0;const {cornerView:_0x4526a0,rowView:_0x4c64b0,colView:_0x4d8d25,dataView:_0x82454b,pageView:_0x1d3013,formatMap:_0x5bc271}=_0x2c8001,{row:_0x3814ab,col:_0x2742c8}=_0x2dfcd1,_0x684f3b=new _0x1d8f59();let _0x3044cb=_0x3814ab,_0x309ff0=_0x2742c8;Object[_0x7d25d1(0x121)](_0x1d3013[_0x7d25d1(0x235)])['forEach'](_0x48ec33=>{const _0x460088=_0x7d25d1;Object['keys'](_0x1d3013[_0x460088(0x235)][Number(_0x48ec33)])[_0x460088(0x2ef)](_0x55ac22=>{const _0x4b0cd0=_0x460088,_0x41d83f={..._0x1d3013[_0x4b0cd0(0x235)][Number(_0x48ec33)][Number(_0x55ac22)]};_0x684f3b[_0x4b0cd0(0x2d0)](Number(_0x48ec33)+_0x3044cb,Number(_0x55ac22)+_0x309ff0,st(_0x41d83f));});});const _0x3536b3=Object['keys'](_0x1d3013[_0x7d25d1(0x235)])['length'];_0x3044cb+=_0x3536b3+(_0x3536b3?It:0x0);const _0x512674=_0x4526a0[_0x7d25d1(0x113)](),_0x3d86cf=_0x4526a0[_0x7d25d1(0x1f6)]();for(let _0x7b91b9=0x0;_0x7b91b9<_0x512674;_0x7b91b9++)for(let _0x2554c9=0x0;_0x2554c9<_0x3d86cf;_0x2554c9++){const _0x3121ac={...(_0x1edf43=(_0x47cbcc=_0x4526a0['data'])==null?void 0x0:_0x47cbcc[_0x7b91b9])==null?void 0x0:_0x1edf43[_0x2554c9]};_0x3121ac&&((_0x4043dd=_0x4c64b0['headerMap'][_0x2554c9])!=null&&_0x4043dd[_0x7d25d1(0x2cf)])&&_0x2554c9===_0x3d86cf-0x1&&_0x7b91b9===_0x512674-0x1&&(_0x3121ac['v']=''+_0x109a38['sheets-pivot.value']),_0x684f3b[_0x7d25d1(0x2d0)](_0x7b91b9+_0x3044cb,_0x2554c9+_0x309ff0,st(_0x3121ac));}_0x309ff0+=_0x3d86cf;const _0x78d872=_0x4d8d25['headerMap'],_0x136a4e=_0x4d8d25[_0x7d25d1(0x2b1)]()>=0x0?_0x4d8d25[_0x7d25d1(0x2b1)]()+0x1:0x0,_0x18f1dc=_0x4d8d25[_0x7d25d1(0x2d8)]()>=0x0?_0x4d8d25['getLastCol']()+0x1:0x0;for(let _0x13b3e9=0x0;_0x13b3e9<_0x18f1dc;_0x13b3e9++)for(let _0x2768b8=0x0;_0x2768b8<_0x136a4e;_0x2768b8++){const _0x1325a2={...(_0x3ceecf=(_0x202658=_0x4d8d25[_0x7d25d1(0x235)])==null?void 0x0:_0x202658[_0x13b3e9])==null?void 0x0:_0x3ceecf[_0x2768b8]},_0x58249e=(_0x323b1b=_0x78d872[_0x13b3e9])==null?void 0x0:_0x323b1b[_0x7d25d1(0x1e6)],_0x1154e9=_0x5bc271[_0x58249e];_0x1325a2&&(_0x1325a2['v']=vt(_0x1325a2,_0x13b3e9===0x0&&((_0x1259ec=_0x4d8d25[_0x7d25d1(0x272)](_0x2768b8+0x1))==null?void 0x0:_0x1259ec[_0x7d25d1(0x2cf)]),_0x1154e9,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x13b3e9+_0x3044cb,_0x2768b8+_0x309ff0,st(_0x1325a2));}_0x3044cb+=_0x512674;const _0x58f860=_0x4c64b0['headerMap'],_0xce7a27=_0x4c64b0[_0x7d25d1(0x2b1)]()>=0x0?_0x4c64b0['getLastRow']()+0x1:0x0,_0x2ed947=_0x4c64b0[_0x7d25d1(0x2d8)]()>=0x0?_0x4c64b0['getLastCol']()+0x1:0x0;for(let _0x513b4d=0x0;_0x513b4d<_0xce7a27;_0x513b4d++)for(let _0x27f794=0x0;_0x27f794<_0x2ed947;_0x27f794++){const _0x532167={...(_0x4fd08a=(_0x41e31c=_0x4c64b0['data'])==null?void 0x0:_0x41e31c[_0x513b4d])==null?void 0x0:_0x4fd08a[_0x27f794]},_0x3dcca2=(_0x35df84=_0x58f860[_0x27f794])==null?void 0x0:_0x35df84['tableFieldId'],_0x46ec18=_0x5bc271[_0x3dcca2];_0x532167&&(_0x532167['v']=vt(_0x532167,!0x1,_0x46ec18,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x513b4d+_0x3044cb,_0x27f794+_0x2742c8,st(_0x532167));}const _0x49c6b2=_0x82454b[_0x7d25d1(0x113)](),_0x4c6bdc=_0x82454b[_0x7d25d1(0x1f6)]();for(let _0x4b0ce0=0x0;_0x4b0ce0<_0x49c6b2;_0x4b0ce0++)for(let _0x3c978b=0x0;_0x3c978b<_0x4c6bdc;_0x3c978b++){const _0x5c8b92={...(_0x2795a0=(_0x19d609=_0x82454b['data'])==null?void 0x0:_0x19d609[_0x4b0ce0])==null?void 0x0:_0x2795a0[_0x3c978b]};_0x684f3b[_0x7d25d1(0x2d0)](_0x4b0ce0+_0x3044cb,_0x3c978b+_0x309ff0,st(_0x5c8b92));}return _0x684f3b;},Ri=_0x41de5c=>{const _0x1c1b9d=_0x1675c1,{view:_0x2fd761,targetCellInfo:_0x23c5ca,isEmpty:_0xe88363,textInfo:_0x20d114}=_0x41de5c;if(_0xe88363)return Fi(_0x41de5c);const {pageView:_0x5d56c7,cornerView:_0x5b221a,rowView:_0x1b9d46,colView:_0x374ef1,dataView:_0xb2293a}=_0x2fd761,_0x121543=ge(_0x23c5ca,_0x5d56c7,!0x0),_0x398298=_0x5d56c7[_0x1c1b9d(0x2b5)]>=0x0?_0x5d56c7[_0x1c1b9d(0x2b5)]+0x1:0x0,_0x4d49f7=_0x5b221a[_0x1c1b9d(0x113)](),_0x52b944=_0x5b221a[_0x1c1b9d(0x1f6)](),_0x5e0944=_0x121543[_0x1c1b9d(0xff)]>0x0?It:0x0,_0x470f1a=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]},_0x5b221a,!0x1,!0x1),_0xd7c0e2=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca['col']},_0x1b9d46,!0x1,!0x0),_0x1de941=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0x374ef1,!0x1,!0x0),_0x3b3986=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0xb2293a,!0x1,!0x1),_0x28e251={'rowRanges':_0xd7c0e2,'colRanges':_0x1de941,'cornerRanges':_0x470f1a,'dataRanges':_0x3b3986,'pageRanges':_0x121543};return{'matrix':Di(_0x2fd761,_0x23c5ca,_0x20d114),'rangesCache':_0x28e251};};var Ni=Object[_0x1675c1(0xd3)],Ei=(_0x56725f,_0x477b16,_0x33b153,_0x1a726f)=>{const _0x4d3818=_0x1675c1;for(var _0x437e6c=_0x1a726f>0x1?void 0x0:_0x1a726f?Ni(_0x477b16,_0x33b153):_0x477b16,_0x2aa705=_0x56725f[_0x4d3818(0xff)]-0x1,_0x5ccd1f;_0x2aa705>=0x0;_0x2aa705--)(_0x5ccd1f=_0x56725f[_0x2aa705])&&(_0x437e6c=_0x5ccd1f(_0x437e6c)||_0x437e6c);return _0x437e6c;},je=(_0x8f43cd,_0x4ee066)=>(_0x36e6cd,_0x30705f)=>_0x4ee066(_0x36e6cd,_0x30705f,_0x8f43cd);let G=class extends _0x5334b7{constructor(_0x44c818,_0xfadc14,_0x2670fd,_0x19f31b,_0xd4e530,_0x22d741){const _0x593c54=_0x1675c1;super(),U(this,_0x593c54(0x21a),new Map()),U(this,_0x593c54(0x276),new Map()),U(this,_0x593c54(0x2a2),new Map()),U(this,_0x593c54(0x1a6)),U(this,'_collectionChange$',new _0x265f85()),U(this,_0x593c54(0x19a),this['_collectionChange$'][_0x593c54(0x206)]()),U(this,'_viewData$',new _0x265f85()),U(this,_0x593c54(0x212),this[_0x593c54(0x22f)]['asObservable']()),U(this,_0x593c54(0x29c),new _0x265f85()),U(this,_0x593c54(0x16c),this[_0x593c54(0x29c)][_0x593c54(0x206)]()),U(this,_0x593c54(0x110),new Map()),U(this,_0x593c54(0x15b),[]),U(this,_0x593c54(0xaf),new Map()),(this[_0x593c54(0x312)]=_0x44c818,this[_0x593c54(0x27f)]=_0xfadc14,this[_0x593c54(0x1e5)]=_0x2670fd,this[_0x593c54(0x17a)]=_0x19f31b,this[_0x593c54(0x25d)]=_0xd4e530,this[_0x593c54(0xcb)]=_0x22d741,this[_0x593c54(0x11b)]());}[_0x1675c1(0x165)](){const _0x3e7396=_0x1675c1;return this['_textInfo']?this[_0x3e7396(0x1a6)]:yi;}[_0x1675c1(0x261)](_0x4fc054){const _0x515962=_0x1675c1;this[_0x515962(0x1a6)]=_0x4fc054;}[_0x1675c1(0xa9)](_0x468ca4){const _0x540b62=_0x1675c1;var _0x3c0b29;const {from:_0x599009,to:_0xcaf496,unitId:_0x16edb9,fromRange:_0x4c72e8,toRange:_0x34153}=_0x468ca4;if(_0x599009&&_0xcaf496){const _0x40ad3e=this[_0x540b62(0x23a)](_0x16edb9),_0x155828=this[_0x540b62(0x21a)][_0x540b62(0x2e9)](_0x16edb9),_0x2b4b1c=(_0x3c0b29=this['_univerInstanceService']['getUnit'](_0x16edb9))==null?void 0x0:_0x3c0b29[_0x540b62(0x2c0)](_0xcaf496['subUnitId']);if(!_0x155828||!_0x2b4b1c)return;const _0x3cb663=_0x2b4b1c==null?void 0x0:_0x2b4b1c[_0x540b62(0xce)]();for(const [_0x1969a9,_0x4442ee]of _0x155828[_0x540b62(0xa8)]())for(const [_0xb1878b,_0x5c3a0e]of _0x4442ee[_0x540b62(0xa8)]()){const {sourceRangeInfo:_0x1f0d09}=_0x5c3a0e;if(_0x1f0d09[_0x540b62(0x167)]===_0x16edb9&&_0x1f0d09[_0x540b62(0x20b)]===_0x599009[_0x540b62(0x20b)]&&_0x351caf[_0x540b62(0x1af)](_0x4c72e8,_0x1f0d09[_0x540b62(0x27c)])){const _0x287774={'row':_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)]-_0x4c72e8[_0x540b62(0x21c)],'col':_0x1f0d09['range'][_0x540b62(0x16d)]-_0x4c72e8['startColumn']},_0x4497f9={'unitId':_0x16edb9,'subUnitId':_0xcaf496[_0x540b62(0x20b)],'sheetName':_0x3cb663,'range':{'startRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)],'endRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)]+_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x138)]-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)],'startColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)],'endColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)]+_0x1f0d09['range']['endColumn']-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x16d)]}};_0x40ad3e['handleMoveRange'](_0xb1878b,_0x4497f9);const _0x50d582={..._0x5c3a0e,'sourceRangeInfo':_0x4497f9};this[_0x540b62(0x2c2)](_0x16edb9,_0xcaf496[_0x540b62(0x20b)],_0xb1878b,_0x50d582),this[_0x540b62(0x1e0)]({'unitId':_0x16edb9,'token':_0xb1878b,'type':ke[_0x540b62(0x160)],'oldSourceRangeInfo':_0x1f0d09,'dataRangeInfo':_0x4497f9,'targetCellInfo':_0x5c3a0e[_0x540b62(0xb1)]}),this[_0x540b62(0x14b)]({'unitId':_0x16edb9,'subUnitId':_0xcaf496['subUnitId'],'oldSubUnitId':_0x1969a9,'pivotTableId':_0xb1878b,'pivotTableConfig':_0x50d582,'collectionConfig':_0x40ad3e[_0x540b62(0x132)]()});}}}}[_0x1675c1(0x1e0)](_0x38870e){const _0x32cdc9=_0x1675c1;this[_0x32cdc9(0x266)][_0x32cdc9(0x294)](_0x38870e);}[_0x1675c1(0x23a)](_0x24788b){const _0x1d4da8=_0x1675c1;let _0xcc1b47=this[_0x1d4da8(0x110)][_0x1d4da8(0x2e9)](_0x24788b);return _0xcc1b47||(_0xcc1b47=new _i(this,this[_0x1d4da8(0x27f)]),this[_0x1d4da8(0x110)]['set'](_0x24788b,_0xcc1b47)),_0xcc1b47;}[_0x1675c1(0x28b)](_0x5ab532,_0x20abc2){return this['getDataFieldManager'](_0x5ab532)['collections'][_0x20abc2];}[_0x1675c1(0x25a)](_0x303843,_0x59e307,_0x120599){const _0x1b9b64=_0x1675c1;return this['getDataFieldManager'](_0x303843)[_0x1b9b64(0x25a)](_0x59e307,_0x120599);}[_0x1675c1(0x288)](_0x2f74fe,_0x34fefe){const _0x16051a=_0x1675c1;let _0x1efc18=this[_0x16051a(0x21a)][_0x16051a(0x2e9)](_0x2f74fe);_0x1efc18||(_0x1efc18=new Map(),this[_0x16051a(0x21a)]['set'](_0x2f74fe,_0x1efc18));let _0x3bff3b=_0x1efc18[_0x16051a(0x2e9)](_0x34fefe);return _0x3bff3b||(_0x3bff3b=new Map(),_0x1efc18[_0x16051a(0x21f)](_0x34fefe,_0x3bff3b)),_0x3bff3b;}[_0x1675c1(0x2c2)](_0x32d912,_0x224326,_0x39b427,_0x5b9e6e){const _0x1a1ec5=_0x1675c1;this[_0x1a1ec5(0x288)](_0x32d912,_0x224326)['set'](_0x39b427,_0x5b9e6e);}[_0x1675c1(0xe2)](_0x4638fc,_0x15d3de,_0x1857be){const _0x198b8b=_0x1675c1;var _0x1ce5d3,_0x4a5b88,_0x1e18e1,_0x4b3e9f;((_0x4a5b88=(_0x1ce5d3=this[_0x198b8b(0x21a)][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1ce5d3[_0x198b8b(0x2e9)](_0x15d3de))==null?void 0x0:_0x4a5b88['get'](_0x1857be))&&((_0x4b3e9f=(_0x1e18e1=this['_model'][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1e18e1[_0x198b8b(0x2e9)](_0x15d3de))==null||_0x4b3e9f[_0x198b8b(0x30d)](_0x1857be));}[_0x1675c1(0x291)](_0x1ce1f6,_0x4ef52b){const _0x1e02ac=_0x1675c1;this[_0x1e02ac(0x276)][_0x1e02ac(0x21f)](_0x1ce1f6,_0x4ef52b);}[_0x1675c1(0x28a)](_0x2da47d){const _0x585b94=_0x1675c1;this[_0x585b94(0x276)][_0x585b94(0x30d)](_0x2da47d);}[_0x1675c1(0x114)](_0x4f8199,_0x2a7f99){const _0x5caa4a=_0x1675c1;let _0xb7afc=this[_0x5caa4a(0x2a2)]['get'](_0x4f8199);_0xb7afc||(_0xb7afc=new Map(),this['_viewData'][_0x5caa4a(0x21f)](_0x4f8199,_0xb7afc));let _0xa83c15=_0xb7afc[_0x5caa4a(0x2e9)](_0x2a7f99);return _0xa83c15||(_0xa83c15=new Map(),_0xb7afc[_0x5caa4a(0x21f)](_0x2a7f99,_0xa83c15)),_0xa83c15;}[_0x1675c1(0x14b)](_0x3d5aa0){const _0x2e0015=_0x1675c1,{unitId:_0x3c274f,subUnitId:_0x1bf0cd,pivotTableId:_0x274644,pivotTableConfig:_0x319fb0,collectionConfig:_0x5ee17b}=_0x3d5aa0,_0x19218e={'unitId':_0x3c274f,'subUnitId':_0x1bf0cd,'oldSubUnitId':_0x1bf0cd,'pivotTableId':_0x274644,'pivotTableConfig':_0x319fb0,'collectionConfig':_0x5ee17b};this[_0x2e0015(0x25d)][_0x2e0015(0x2e1)](co['id'],_0x19218e,{'onlyLocal':!0x0});}[_0x1675c1(0x174)](_0x20aafb,_0x5f1e72,_0x7c3ba5,_0x11a55b,_0x20889f,_0x706e85,_0x4f9942,_0x306ca2=!0x1){const _0x25d140=_0x1675c1;var _0x356024;this['_commandService'][_0x25d140(0x2e1)](Rt['id'],{'single':{'unitId':_0x20aafb,'subUnitId':_0x5f1e72,'type':_0x7c3ba5,'pivotTableId':_0x11a55b,'view':_0x20889f,'pivotConfig':_0x706e85},'collectionConfig':{[_0x20aafb]:_0x4f9942}},{'onlyLocal':!0x0});const _0x52422c=!!((_0x356024=this['getPivotTableInstance'](_0x11a55b))!=null&&_0x356024[_0x25d140(0x22a)]()),_0x2260c4=this['getPivotTableConfig'](_0x20aafb,_0x5f1e72,_0x11a55b);_0x2260c4&&this[_0x25d140(0x219)]({'view':_0x20889f,'pivotTableId':_0x11a55b,'textInfo':this[_0x25d140(0x165)](),'isEmpty':_0x52422c,'targetCellInfo':_0x2260c4['targetCellInfo']},_0x306ca2);}[_0x1675c1(0x219)](_0x2fb939,_0x32dbd7){const _0x56126b=_0x1675c1,{targetCellInfo:_0x5a70d2,pivotTableId:_0x3b65b2}=_0x2fb939,{unitId:_0x3e56fa,subUnitId:_0x2e58a4}=_0x5a70d2,_0x1ce35c=this['_ensureViewDataMap'](_0x3e56fa,_0x2e58a4),_0x2f8c4f=_0x1ce35c['get'](_0x3b65b2);let _0x523a3d,_0x5cf1c6;_0x2f8c4f&&(_0x523a3d=_0x2f8c4f[_0x56126b(0x23b)],_0x5cf1c6=_0x2f8c4f[_0x56126b(0x187)]);const {rangesCache:_0x4190b6,matrix:_0x1c71ff}=Ri(_0x2fb939);_0x1ce35c['set'](_0x3b65b2,{'rangeCache':_0x4190b6,'matrix':_0x1c71ff,'oldMatrix':_0x5cf1c6,'oldRangeCache':_0x523a3d}),_0x32dbd7||this[_0x56126b(0x22f)][_0x56126b(0x294)]({'unitId':_0x3e56fa,'subUnitId':_0x2e58a4,'pivotTableId':_0x3b65b2});}[_0x1675c1(0x199)](_0x34e222,_0x50dd0f,_0x4384fa,_0x5d725f,_0x580836){const _0x1a54eb=_0x1675c1;this['_updateModelCache'](_0x34e222,_0x50dd0f,_0x4384fa,_0x580836),this[_0x1a54eb(0x291)](_0x4384fa,_0x5d725f);}[_0x1675c1(0x2ed)](_0xfb2047,_0x4adcba,_0x3779be){const _0x21ca37=_0x1675c1,_0x21d70e=this[_0x21ca37(0x23a)](_0xfb2047);_0x21d70e['getNoUsedDataFieldIds'](_0x3779be)['forEach'](_0x4243eb=>{const _0x891cb1=_0x21ca37;_0x21d70e[_0x891cb1(0x137)](_0x4243eb);}),this[_0x21ca37(0x244)](_0xfb2047,_0x3779be),this[_0x21ca37(0xe2)](_0xfb2047,_0x4adcba,_0x3779be),this[_0x21ca37(0x28a)](_0x3779be);}['setPivotTable'](_0xb42418,_0x971178,_0x2090f3,_0x1acde2){const _0x1aacae=_0x1675c1;this[_0x1aacae(0x2c2)](_0xb42418,_0x971178,_0x2090f3,_0x1acde2);}[_0x1675c1(0x14e)](_0x543cd3,_0x7ceb01,_0x545c60){const _0x597ff8=_0x1675c1;var _0x119c53,_0x213f70;const _0x3a32c7=(_0x213f70=(_0x119c53=this[_0x597ff8(0x21a)][_0x597ff8(0x2e9)](_0x543cd3))==null?void 0x0:_0x119c53['get'](_0x7ceb01))==null?void 0x0:_0x213f70[_0x597ff8(0x2e9)](_0x545c60);if(_0x3a32c7)return _0x3a32c7;}[_0x1675c1(0x30e)](_0x4bed44,_0x191998,_0x4547fa){const _0x59a499=_0x1675c1;var _0x2a4241,_0x541658;const _0x4ec4f7=(_0x541658=(_0x2a4241=this['_model']['get'](_0x4bed44))==null?void 0x0:_0x2a4241[_0x59a499(0x2e9)](_0x191998))==null?void 0x0:_0x541658[_0x59a499(0x2e9)](_0x4547fa);if(_0x4ec4f7)return _0x4ec4f7[_0x59a499(0x2bd)];}[_0x1675c1(0x220)](_0x1f3f05){const _0x15e2d2=_0x1675c1;return this[_0x15e2d2(0x276)]['get'](_0x1f3f05);}[_0x1675c1(0x161)](_0x585fa9){const _0x3dfaa3=_0x1675c1;this[_0x3dfaa3(0x21a)][_0x3dfaa3(0x30d)](_0x585fa9);const _0x432798=this[_0x3dfaa3(0x110)]['get'](_0x585fa9);_0x432798&&(_0x432798[_0x3dfaa3(0x239)](),this[_0x3dfaa3(0x110)]['delete'](_0x585fa9)),this[_0x3dfaa3(0x2a2)][_0x3dfaa3(0x30d)](_0x585fa9),this[_0x3dfaa3(0x15b)]['forEach'](_0x45597e=>{_0x45597e['deleteUnitId'](_0x585fa9);});}[_0x1675c1(0x105)](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576){const _0x479399=_0x1675c1;return this[_0x479399(0x23a)](_0x33c941[_0x479399(0x167)])['addCollectionByJSON'](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576);}[_0x1675c1(0x1c0)](_0x4bb35d){const _0x41b676=_0x1675c1;return this[_0x41b676(0x23a)](_0x4bb35d[_0x41b676(0x167)])[_0x41b676(0x1c0)](_0x4bb35d);}['refreshData'](_0x22aecf,_0x205acc,_0x4c6cd4){const _0x21eb64=_0x1675c1;this['getDataFieldManager'](_0x4c6cd4[_0x21eb64(0x167)])[_0x21eb64(0x15d)](_0x22aecf,_0x205acc,_0x4c6cd4);}[_0x1675c1(0x279)](_0x587ff6,_0x1a6152){const _0x598a06=_0x1675c1;this[_0x598a06(0x23a)](_0x587ff6)[_0x598a06(0x137)](_0x1a6152);}[_0x1675c1(0x244)](_0x1bfa04,_0x5eb07a){const _0x790988=_0x1675c1;this[_0x790988(0x23a)](_0x1bfa04)['removeCollectionImp'](_0x5eb07a);}[_0x1675c1(0x106)](_0x380446,_0x132e29){const _0x2062dc=_0x1675c1;var _0x4c8640;return(_0x4c8640=this[_0x2062dc(0x21a)][_0x2062dc(0x2e9)](_0x380446))==null?void 0x0:_0x4c8640[_0x2062dc(0x2e9)](_0x132e29);}[_0x1675c1(0x209)](_0xb08245){const _0x208b35=_0x1675c1;for(const [_0x3b58c5,_0xf7d18a]of this[_0x208b35(0x21a)][_0x208b35(0xa8)]())for(const [_0x116d3e,_0x268cc8]of _0xf7d18a[_0x208b35(0xa8)]())if(_0x268cc8['has'](_0xb08245))return{'unitId':_0x3b58c5,'subUnitId':_0x116d3e};return null;}[_0x1675c1(0x181)](_0x3507d2,_0x5034d3,_0x1c9005,_0x23d379){const _0x1e77c4=_0x1675c1,_0x1363ac=this[_0x1e77c4(0x114)](_0x3507d2,_0x5034d3);_0x23d379?_0x1363ac[_0x1e77c4(0x21f)](_0x1c9005,_0x23d379):_0x1363ac[_0x1e77c4(0x30d)](_0x1c9005),this[_0x1e77c4(0x22f)]['next']({'unitId':_0x3507d2,'subUnitId':_0x5034d3,'pivotTableId':_0x1c9005});}['dispose'](){const _0x465b77=_0x1675c1;super[_0x465b77(0x239)]();}['getViewData'](_0x171abf,_0x1a1bc1,_0xc9d5b7){const _0x1b9dbd=_0x1675c1;var _0x35d4de,_0x22be49;const _0x56e642=(_0x22be49=(_0x35d4de=this['_viewData'][_0x1b9dbd(0x2e9)](_0x171abf))==null?void 0x0:_0x35d4de['get'](_0x1a1bc1))==null?void 0x0:_0x22be49[_0x1b9dbd(0x2e9)](_0xc9d5b7);return _0x56e642||null;}[_0x1675c1(0x196)](_0x4d9956){const _0xd70526=_0x1675c1;this[_0xd70526(0xdf)](_0x4d9956);}['updateDirtyPivotTable'](_0x574c70){const _0x2e0560=_0x1675c1,{token:_0x1012a1,unitId:_0x104987,subUnitId:_0x214e1d}=_0x574c70,_0x528559=_0x104987+'-'+_0x214e1d+'-'+_0x1012a1;this[_0x2e0560(0xaf)][_0x2e0560(0x2e9)](_0x528559)&&clearTimeout(this['_queryingMap'][_0x2e0560(0x2e9)](_0x528559));const _0x5ec935=setTimeout(()=>{const _0x57c2ba=_0x2e0560;this[_0x57c2ba(0x305)](_0x574c70),this[_0x57c2ba(0xaf)][_0x57c2ba(0x30d)](_0x528559);},Pi);this[_0x2e0560(0xaf)][_0x2e0560(0x21f)](_0x528559,_0x5ec935);}['queryDirtyPivotTable'](_0x398ff3){const _0x5cb381=_0x1675c1,{unitId:_0x40b2bb,subUnitId:_0x563116,token:_0x27a3c5,type:_0x569ee0,pivotConfig:_0x58e997}=_0x398ff3,_0x139a99=this['getPivotTableInstance'](_0x27a3c5),_0x34cc25=_0x139a99==null?void 0x0:_0x139a99['query'](),_0x33230d=_0x58e997!=null?_0x58e997:this[_0x5cb381(0x14e)](_0x40b2bb,_0x563116,_0x27a3c5);_0x33230d&&(_0x33230d[_0x5cb381(0x22a)]=!!(_0x139a99!=null&&_0x139a99[_0x5cb381(0x22a)]())),(_0x34cc25||_0x569ee0===L['Delete'])&&this[_0x5cb381(0x174)](_0x40b2bb,_0x563116,_0x569ee0,_0x27a3c5,_0x34cc25,_0x33230d,this[_0x5cb381(0x23a)](_0x40b2bb)['toJSON']());}[_0x1675c1(0x132)](_0x5aa583){const _0x56608f=_0x1675c1,_0x1b9613={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x56608f(0x23a)](_0x5aa583)&&(_0x1b9613[_0x56608f(0x10d)][_0x5aa583]=this['getDataFieldManager'](_0x5aa583)[_0x56608f(0x132)]()),this[_0x56608f(0x21a)][_0x56608f(0x2e9)](_0x5aa583)){_0x1b9613[_0x56608f(0x210)][_0x5aa583]={};const _0x26c01b=this[_0x56608f(0x21a)]['get'](_0x5aa583);_0x26c01b!=null&&_0x26c01b[_0x56608f(0xb5)]&&[..._0x26c01b[_0x56608f(0x121)]()]['forEach'](_0x5a1e3f=>{const _0xea4291=_0x56608f,_0x455bad=_0x26c01b[_0xea4291(0x2e9)](_0x5a1e3f);_0x455bad!=null&&_0x455bad[_0xea4291(0xb5)]&&(_0x1b9613['pivotTableConfigs'][_0x5aa583][_0x5a1e3f]={},[..._0x455bad[_0xea4291(0x121)]()][_0xea4291(0x2ef)](_0x513322=>{const _0x522079=_0xea4291,_0x1d0260=_0x455bad[_0x522079(0x2e9)](_0x513322);_0x1d0260&&(_0x1b9613[_0x522079(0x210)][_0x5aa583][_0x5a1e3f][_0x513322]=_0x1d0260);}));});}return _0x1b9613;}[_0x1675c1(0x31f)](_0x2a8da1){const _0x277906=_0x1675c1;var _0x497327;const {dataFieldManagerConfig:_0x51d4f3,pivotTableConfigs:_0x52d482}=_0x2a8da1;_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x428192=>{const _0x26d64b=_0x277906;this[_0x26d64b(0x23a)](_0x428192)[_0x26d64b(0x31f)](_0x51d4f3[_0x428192]);});const _0x1d5d3c=[];if(_0x52d482){const _0x13de69=(_0x497327=this[_0x277906(0x312)][_0x277906(0x2e9)](_0xe8dcbb)[_0x277906(0x1dc)](_0x59310c))!=null?_0x497327:{},{ls:_0x4c5c01,pbk:_0x1dfdbd}=_0x13de69,_0x4d58ee=go(so,_0x4c5c01,_0x1dfdbd)[_0x277906(0xd1)];Object[_0x277906(0x121)](_0x52d482)[_0x277906(0x2ef)](_0x38e33e=>{const _0x268d9d=_0x277906;let _0x4bf1fd=0x0;const _0x5ef965=_0x52d482[_0x38e33e];Object[_0x268d9d(0x121)](_0x5ef965)['forEach'](_0x1bc037=>{const _0x3e8845=_0x268d9d,_0x4cc07a=_0x5ef965[_0x1bc037];Object[_0x3e8845(0x121)](_0x4cc07a)[_0x3e8845(0x2ef)](_0x1a7841=>{const _0x14bfaa=_0x3e8845,_0x334270=_0x4cc07a[_0x1a7841];if(_0x334270){if(_0x4bf1fd>=_0x4d58ee)return;_0x4bf1fd++;const _0x2f13ca=this['getDataFieldManager'](_0x38e33e),_0x2f5ebe=_0x2f13ca[_0x14bfaa(0x234)][_0x1a7841],_0x412a2b=_0x2f5ebe[_0x14bfaa(0x2eb)]();let _0x1576b7=0x0;const _0x1fb786=[];for(const _0x218dd2 of _0x412a2b){const _0x10fdfe=_0x2f5ebe[_0x14bfaa(0xe0)](_0x218dd2);if(_0x467bd5(_0x10fdfe)){const _0x1e1df7=_0x10fdfe[_0x14bfaa(0x2e3)](),_0x2df83b=_0x2f5ebe['getFieldById'](_0x1e1df7);_0x2df83b&&_0x1fb786[_0x14bfaa(0x1a3)]([_0x10fdfe,_0x2df83b]);continue;}_0x2f13ca[_0x14bfaa(0x20e)](_0x218dd2,_0x334270[_0x14bfaa(0xdb)],_0x1576b7),_0x1576b7++;}_0x1fb786['forEach'](([_0x384c7a,_0x223cd3])=>{_0x384c7a['refreshGroupField'](_0x223cd3);});const _0xad6be3=new _0x16e808(_0x2f5ebe);_0xad6be3[_0x14bfaa(0x31f)](_0x334270[_0x14bfaa(0x2bd)]),this['addPivotTable'](_0x38e33e,_0x1bc037,_0x1a7841,_0xad6be3,_0x334270);const _0x3ead23=_0xad6be3[_0x14bfaa(0x274)]();_0x1d5d3c[_0x14bfaa(0x1a3)]({'unitId':_0x38e33e,'subUnitId':_0x1bc037,'pivotTableId':_0x1a7841,'view':_0x3ead23[_0x14bfaa(0x132)](),'pivotConfig':_0x334270,'type':L[_0x14bfaa(0xa6)]});const _0x1b4fae=!!_0xad6be3[_0x14bfaa(0x22a)](),_0x4286fe={'view':_0x3ead23,'pivotTableId':_0x1a7841,'textInfo':this[_0x14bfaa(0x165)](),'isEmpty':_0x1b4fae,'targetCellInfo':_0x334270[_0x14bfaa(0xb1)]};this['updateViewData'](_0x4286fe,!0x1);}});});});}_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x152787=>{const _0x521855=_0x277906,_0x4cf07c=this['getDataFieldManager'](_0x152787);this[_0x521855(0x29c)][_0x521855(0x294)](_0x4cf07c[_0x521855(0x234)]);}),this[_0x277906(0x25d)][_0x277906(0x2e1)](Rt['id'],{'batch':_0x1d5d3c,'collectionConfig':_0x51d4f3},{'onlyLocal':!0x0});}[_0x1675c1(0x11b)](){const _0x1848ed=_0x1675c1;this['disposeWithMe'](this[_0x1848ed(0xcb)][_0x1848ed(0xbc)]({'toJson':_0x3ebf5a=>JSON['stringify'](this[_0x1848ed(0x132)](_0x3ebf5a)),'parseJson':_0x43b456=>{const _0x2a010b=_0x1848ed;if(!_0x43b456)return{};try{return JSON[_0x2a010b(0x175)](_0x43b456);}catch{return{};}},'businesses':[_0x34c5bf['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x1e2d52,_0x4563d9)=>{const _0xd02d85=_0x1848ed;this[_0xd02d85(0x31f)](_0x4563d9);},'onUnLoad':_0x267dfa=>{const _0x2f5fde=_0x1848ed;this[_0x2f5fde(0x161)](_0x267dfa);}}));}};G=Ei([je(0x0,_0x2fd05e(_0x854c25)),je(0x1,_0x146954),je(0x2,_0x2fd05e(_0x254ee5)),je(0x3,_0xe8dcbb),je(0x4,_0x3408cd),je(0x5,_0x2fd05e(_0x1c560e))],G);const Ui={0x0:{0x0:{'v':_0x1675c1(0x29a),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x1675c1(0x133),'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':_0x1675c1(0xcd),'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':_}}},kt={'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=(_0x447bcb,_0x909eda)=>{const _0x99b77c=_0x1675c1,_0x3bc37b=new _0x1d8f59(),_0x36d3e2=new _0x1d8f59(Ui),{row:_0x5de853,col:_0x18b2fa}=_0x909eda;_0x36d3e2[_0x99b77c(0xa0)]((_0x203fe2,_0x515c32,_0x2bb4a5)=>{const _0x1dbf95=_0x99b77c;let _0xb91a2c='';_0x2bb4a5['v']===_0x1dbf95(0x29a)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x29a)]:_0x2bb4a5['v']===_0x1dbf95(0xcd)?_0xb91a2c=_0x447bcb[_0x1dbf95(0xcd)]:_0x2bb4a5['v']===_0x1dbf95(0x133)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x133)]:_0x2bb4a5['v']===_0x1dbf95(0x13a)&&(_0xb91a2c=_0x447bcb[_0x1dbf95(0x13a)]),_0x3bc37b[_0x1dbf95(0x2d0)](_0x203fe2+_0x5de853,_0x515c32+_0x18b2fa,{..._0x2bb4a5,'v':_0xb91a2c});});const _0x2e3358=_0x14991f[_0x99b77c(0x230)](kt);return Object['keys'](kt)[_0x99b77c(0x2ef)](_0x2fe2b5=>{const _0x49bdb2=_0x99b77c;_0x2e3358[_0x2fe2b5]=kt[_0x2fe2b5][_0x49bdb2(0x11d)](_0x432fa9=>({..._0x432fa9,'startRow':_0x432fa9[_0x49bdb2(0x21c)]+_0x5de853,'endRow':_0x432fa9[_0x49bdb2(0x138)]+_0x5de853,'startColumn':_0x432fa9['startColumn']+_0x18b2fa,'endColumn':_0x432fa9[_0x49bdb2(0xa1)]+_0x18b2fa}));}),{'matrixCache':_0x3bc37b,'rangesCache':_0x2e3358};};function Vi(_0xd53d41,_0x2ef6ea){const _0x47f997=_0x1675c1;let _0x8f0964='';const _0x20dbfc=this['getTextInfo']();switch(_0x2ef6ea){case _0xd80465[_0x47f997(0x188)]:_0x8f0964=_0x20dbfc[_0x47f997(0xc4)]+_0xd53d41;break;case _0xd80465[_0x47f997(0xd1)]:_0x8f0964=_0x20dbfc[_0x47f997(0xed)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x178)]:_0x8f0964=_0x20dbfc['sheets-pivot.countNumsName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x224)]:_0x8f0964=_0x20dbfc[_0x47f997(0x203)]+_0xd53d41;break;case _0xd80465['min']:_0x8f0964=_0x20dbfc[_0x47f997(0xe5)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2ff)]:_0x8f0964=_0x20dbfc['sheets-pivot.productName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x183)]:_0x8f0964=_0x20dbfc[_0x47f997(0x1d0)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x22d)]:_0x8f0964=_0x20dbfc[_0x47f997(0xf6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x1ba)]:_0x8f0964=_0x20dbfc[_0x47f997(0x269)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2f2)]:_0x8f0964=_0x20dbfc[_0x47f997(0x2a6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x130)]:_0x8f0964=_0x20dbfc[_0x47f997(0x143)]+_0xd53d41;break;default:_0x8f0964=_0xd53d41;break;}return _0x8f0964;}function Oi(_0x3cb966,_0x551790,_0x42df9a,_0x2147bb,_0x460a0a){const _0x53f206=_0x1675c1;var _0x39aa42,_0x1966ac,_0x4e506e,_0x316609,_0x2bdcb1;const _0x51f6bb=_0x34e162(_0x3cb966,_0x551790),{rangesInfo:_0x504244,areaInfo:_0x551e2f,headerMap:_0xca18f5}=_0x460a0a;if(!_0x504244||!_0x551e2f||!_0xca18f5)return;const _0x939bd6=Object[_0x53f206(0x121)](_0x504244)['find'](_0x2b4688=>_0x504244[_0x2b4688]['some'](_0x21548c=>_0x351caf[_0x53f206(0x1af)](_0x21548c,_0x51f6bb))),_0x34225e=_0x551e2f;let _0x2a4131,_0x2714c3,_0xab4814;if(_0x939bd6===_0x53f206(0x2d3))_0x2a4131=(_0x39aa42=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x153)])==null?void 0x0:_0x39aa42[_0x3cb966],_0x2714c3=(_0x1966ac=_0xca18f5==null?void 0x0:_0xca18f5['rowHeaderMap'])==null?void 0x0:_0x1966ac[_0x551790],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x20a))_0x2a4131=(_0x4e506e=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x10c)])==null?void 0x0:_0x4e506e[_0x551790],_0x2714c3=(_0x316609=_0xca18f5[_0x53f206(0x2dd)])==null?void 0x0:_0x316609[_0x3cb966+0x1+_0x551790-_0x504244[_0x53f206(0x20a)][0x0]['startColumn']],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6==='cornerRanges')_0x2a4131=(_0x2bdcb1=_0x34225e==null?void 0x0:_0x34225e['cornerInfo'])==null?void 0x0:_0x2bdcb1[_0x551790],_0xab4814=_0x2a4131==null?void 0x0:_0x2a4131[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x1f0)){const _0x730518=_0x42df9a==null?void 0x0:_0x42df9a['fi'];_0x730518!==void 0x0&&(_0xab4814=_0x2147bb[_0x53f206(0x254)](_0x730518));}}}}return{'filterId':_0xab4814,'info':_0x2a4131,'data':_0x42df9a,'headerInfo':_0x2714c3};}function xi(_0x4497f2,_0x4d285e,_0x5e044b){const _0x197758=_0x1675c1,_0x121754=_0x4497f2['dataFieldsCollection'],_0x348398=_0x121754[_0x197758(0x2eb)](),_0x108975=new Set();_0x4497f2['iterateField'](_0x3294c9=>{const _0x41d1e4=_0x197758;_0x108975[_0x41d1e4(0x1a7)](_0x3294c9[_0x41d1e4(0xea)]);});const _0x47b15a=_0x348398[_0x197758(0x11d)](_0x5a2837=>{const _0x3b0d0b=_0x197758,_0x57541a=_0x121754[_0x3b0d0b(0xe0)](_0x5a2837);return{'checked':_0x108975['has'](_0x5a2837),'dataFieldId':_0x57541a['id'],'id':_0x57541a['id'],'name':_0x121754['getDisplayName'](_0x57541a['id']),'type':_0x57541a[_0x3b0d0b(0x2ea)](),'pivotTableId':_0x4d285e};}),_0x27aaa1=[];_0x4497f2['iterateFieldByArea'](_0x4cc34c['Row'],_0x443c7c=>{const _0x4cb74e=_0x197758;_0x27aaa1[_0x4cb74e(0x1a3)]({'dataFieldId':_0x443c7c['dataFieldId'],'tableFieldId':_0x443c7c[_0x4cb74e(0xf5)](),'displayName':_0x443c7c[_0x4cb74e(0x16f)]()});});const _0x34afd3=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c['Column'],_0x15d2eb=>{const _0x5a6542=_0x197758;_0x34afd3[_0x5a6542(0x1a3)]({'dataFieldId':_0x15d2eb[_0x5a6542(0xea)],'tableFieldId':_0x15d2eb['getId'](),'displayName':_0x15d2eb['getDisplayName']()});});const _0x37b192=[];if(_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x9c)],_0x4fce93=>{const _0x138b2c=_0x197758;_0x37b192[_0x138b2c(0x1a3)]({'dataFieldId':_0x4fce93['dataFieldId'],'tableFieldId':_0x4fce93['getId'](),'displayName':_0x4fce93[_0x138b2c(0x16f)](),'format':_0x4fce93[_0x138b2c(0x30a)](),'subTotalType':_0x4fce93['getSubtotal']()});}),_0x37b192[_0x197758(0xff)]>0x1){const _0x286752=_0x4497f2[_0x197758(0x125)]();(_0x4497f2[_0x197758(0x109)]()?_0x34afd3:_0x27aaa1)[_0x197758(0x1c1)](_0x286752,0x0,{'dataFieldId':'','tableFieldId':_0x197758(0x240),'displayName':'ΣValue'});}const _0x2a5a61=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x1aa)],_0x2c56d8=>{const _0x5ca047=_0x197758;_0x2a5a61['push']({'dataFieldId':_0x2c56d8[_0x5ca047(0xea)],'tableFieldId':_0x2c56d8[_0x5ca047(0xf5)](),'displayName':_0x2c56d8['getDisplayName']()});});const _0x3b56b8=_0x5e044b['sourceRangeInfo'];return{'sourceList':_0x47b15a,'sourceRange':_0x3b56b8,'rowFields':_0x27aaa1,'columnFields':_0x34afd3,'valueFields':_0x37b192,'filterFields':_0x2a5a61,'positionInfo':_0x5e044b[_0x197758(0xb1)]};}function fo(_0x3111ed,_0x1f60fa,_0x5ae5ce='',_0x2d42af={}){const _0x16103b=_0x1675c1,_0x5da691=_0x3111ed[_0x16103b(0x2e9)](_0x7abaf8);for(const _0x44b645 in _0x1f60fa)if(Object[_0x16103b(0x2ab)][_0x16103b(0xb2)][_0x16103b(0x18f)](_0x1f60fa,_0x44b645)){const _0x4c71c6=_0x5ae5ce?_0x5ae5ce+'.'+_0x44b645:_0x44b645;typeof _0x1f60fa[_0x44b645]==_0x16103b(0x2c1)&&_0x1f60fa[_0x44b645]!==null&&!Array['isArray'](_0x1f60fa[_0x44b645])?fo(_0x3111ed,_0x1f60fa[_0x44b645],_0x4c71c6,_0x2d42af):_0x2d42af[_0x4c71c6]=_0x5da691['t'](_0x4c71c6);}return _0x2d42af;}const Lt=_0x3187ba=>{const _0x131142=_0x1675c1;if(!_0x3187ba)return[];const {rowRanges:_0xbbdfc,colRanges:_0x208e14,cornerRanges:_0x5b6a97,dataRanges:_0x37d0a0,pageRanges:_0x2c2273}=_0x3187ba,_0x21269b=[..._0x208e14,..._0xbbdfc,..._0x37d0a0,..._0x5b6a97][_0x131142(0x29a)](_0x41bff8=>_0x41bff8['startRow']>=0x0&&_0x41bff8[_0x131142(0x16d)]>=0x0&&_0x41bff8[_0x131142(0x138)]>=0x0&&_0x41bff8[_0x131142(0xa1)]>=0x0);let _0x328a5d=Number[_0x131142(0x154)],_0x1099cd=Number[_0x131142(0x2a0)],_0x1b5587=Number[_0x131142(0x154)],_0x25a696=Number['MIN_SAFE_INTEGER'];for(let _0x5e5fef=0x0;_0x5e5fef<_0x21269b['length'];_0x5e5fef++)_0x328a5d=Math[_0x131142(0xb6)](_0x328a5d,_0x21269b[_0x5e5fef][_0x131142(0x21c)]),_0x1099cd=Math[_0x131142(0x224)](_0x1099cd,_0x21269b[_0x5e5fef][_0x131142(0x138)]),_0x1b5587=Math['min'](_0x1b5587,_0x21269b[_0x5e5fef][_0x131142(0x16d)]),_0x25a696=Math[_0x131142(0x224)](_0x25a696,_0x21269b[_0x5e5fef][_0x131142(0xa1)]);return[..._0x2c2273,{'startRow':_0x328a5d,'endRow':_0x1099cd,'startColumn':_0x1b5587,'endColumn':_0x25a696}];};function Bi(_0x85ff1f,_0x3c7a35){const _0x5cd972=_0x1675c1,_0x57c92e=_0x3c7a35[_0x5cd972(0xa2)]['drillDown'],{pivotTableId:_0x1af21c,unitId:_0x291584,subUnitId:_0x140524}=_0x3c7a35;if(!_0x57c92e)return;const _0x8c4c92=_0x85ff1f['get'](G),_0x30e1ef=_0x8c4c92[_0x5cd972(0x220)](_0x1af21c),_0x1ff202=_0x8c4c92[_0x5cd972(0x14e)](_0x291584,_0x140524,_0x1af21c);if(!_0x30e1ef||!_0x1ff202)return;const _0x21a8d9=_0x30e1ef[_0x5cd972(0x1c3)](_0x57c92e[_0x5cd972(0x229)]);if(!(_0x21a8d9!=null&&_0x21a8d9[_0x5cd972(0xff)]))return;const _0x34354a=_0x1ff202['sourceRangeInfo'],{unitId:_0xbec705,subUnitId:_0x487235,range:_0x3774b3}=_0x34354a;let _0x53e6fa=0x0;const _0x1cd1c3=_0x30e1ef['dataFieldsCollection'][_0x5cd972(0x2eb)]()[_0x5cd972(0x2a5)]((_0x12bbcd,_0x29eeef)=>{const _0x2cbe8a=_0x5cd972;var _0x5ba6f3;const _0x2f7273=(_0x5ba6f3=_0x30e1ef['getDataFieldByDataFieldId'](_0x29eeef))==null?void 0x0:_0x5ba6f3[_0x2cbe8a(0x107)]();return _0x2f7273&&(_0x12bbcd[String(_0x53e6fa)]=_0x2f7273),_0x53e6fa++,_0x12bbcd;},{});return{'indexes':_0x21a8d9,'range':_0x3774b3,'sourceUnitId':_0xbec705,'sourceSubUnitId':_0x487235,'formatMap':_0x1cd1c3};}function jo(_0x107416,_0x2d6629){const _0x2b6c96=_0x1675c1;if(!_0x107416||!_0x2d6629)return!0x0;const _0x127ceb=_0x41d392(zo,$o),_0x469520=new Function(_0x2b6c96(0x2de)+_0x127ceb)()(_0x107416,_0x2d6629)[_0x2b6c96(0x12a)],_0x4c5eea=_0x1d0a9e(_0x469520,'sf',Ao);return!((_0x469520==null?void 0x0:_0x469520['rt'])===_0x316ecc[_0x2b6c96(0x2f4)]&&!_0x4c5eea);}function go(_0x58c54c,_0x29eb96,_0x3d8349){const _0x25418b=_0x1675c1,_0x6439d5={'count':_0x58c54c,'timeValid':!0x1};if(!_0x29eb96||!_0x3d8349)return _0x6439d5;const _0x3b7edb=_0x41d392(zo,$o),_0x38b174=new Function('return\x20'+_0x3b7edb)()(_0x29eb96,_0x3d8349);if(_0x38b174!=null&&_0x38b174[_0x25418b(0xeb)]){const _0x4b94b3=_0x38b174[_0x25418b(0x12a)],_0x24de88=_0x1d0a9e(_0x4b94b3,'sf',Ao);return{'count':_0x2196c0(_0x4b94b3,_0x24de88,_0x25418b(0x191),_0x58c54c,_0x58c54c,0x0),'timeValid':_0x24de88};}return _0x6439d5;}function Ko(_0x56c53d,_0x488f15,_0x428961,_0x981691){const _0x236dfb=_0x1675c1,_0x207044={'subUnitId':_0x428961,'unitId':_0x488f15,'cellValue':_0x2f9bd8(_0x981691)},_0x40d057=_0x59cfd4(_0x56c53d,_0x207044);let _0x429e6a=!0x1;return new _0x1d8f59(_0x40d057[_0x236dfb(0x23e)])[_0x236dfb(0xa0)]((_0x35706a,_0x50cc22,_0x5a27d9)=>{if(!_0x429e6a&&_0x5a27d9&&(_0x5a27d9['custom']||_0x5a27d9['f']||_0x5a27d9['p']||_0x5a27d9['s']||_0x5a27d9['si']||_0x5a27d9['t']||_0x5a27d9['v']))return _0x429e6a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3f552b['id'],'params':_0x40d057},'setRangeValueRedoMutation':{'id':_0x3f552b['id'],'params':_0x207044},'shouldClear':_0x429e6a};}function Ai(_0x48f953){const {row:_0x154410,col:_0x3c8963}=_0x48f953,_0x16dacc={'startRow':_0x154410,'endRow':_0x154410,'startColumn':_0x3c8963,'endColumn':_0x3c8963},_0x195163={'startRow':_0x154410+0x2,'endRow':_0x154410+0xe,'startColumn':_0x3c8963,'endColumn':_0x3c8963+0x6};return[_0x16dacc,_0x195163];}function Wi(_0x42725f,_0x582bb3,_0x4f99db){const _0x4df1d8=_0x1675c1,{cornerView:_0x59f9aa,rowView:_0x26d7fc,colView:_0x21cac3,pageView:_0x1f9927}=_0x42725f,{row:_0x2cab10,col:_0x20960f}=_0x582bb3;if(_0x4f99db)return{'rowCount':bi+_0x2cab10,'colCount':Si+_0x20960f};const _0x87e6eb=_0x1f9927[_0x4df1d8(0x2b5)]>-0x1?_0x1f9927['lastRow']+0x1:0x0,_0x202708=_0x1f9927[_0x4df1d8(0x1d1)]>-0x1?_0x1f9927[_0x4df1d8(0x1d1)]:0x0,_0x4c8fe1=_0x2cab10+_0x87e6eb+(_0x87e6eb?0x1:0x0)+_0x59f9aa[_0x4df1d8(0x297)]+_0x26d7fc['rowCount'],_0x3b6628=_0x20960f+_0x202708,_0x4868a5=_0x20960f+_0x59f9aa[_0x4df1d8(0x285)]+_0x21cac3[_0x4df1d8(0x285)],_0x5147b4=Math[_0x4df1d8(0x224)](_0x3b6628,_0x4868a5);return{'rowCount':_0x4c8fe1,'colCount':_0x5147b4};}function we(_0xf7d4aa,_0x151332,_0x237848,_0x1228f0){const _0x3fa030=_0x1675c1,{row:_0xae0909,col:_0x152658,unitId:_0x2d9ab3,subUnitId:_0xb2d8a7}=_0x237848,_0x263d2a=Wi(_0x151332,{'row':_0xae0909,'col':_0x152658},_0x1228f0),_0x4d7f17=_0xf7d4aa['get'](_0x146954),_0x15f889=_0x2075c9(_0x4d7f17,{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7}),_0x130768=[],_0x2468c6=[];if(!_0x15f889)return{'undos':_0x2468c6,'redos':_0x130768};const {worksheet:_0x4f280c}=_0x15f889,_0x60d108=_0x4f280c[_0x3fa030(0x113)](),_0x1fd0fb=_0x4f280c[_0x3fa030(0xe4)]();return _0x60d108<_0x263d2a[_0x3fa030(0x297)]&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x324b38['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x1bb17f['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}})),_0x1fd0fb<_0x263d2a['colCount']&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x2e534e['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x4f9e18['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}})),{'undos':_0x2468c6,'redos':_0x130768};}function ki(_0x169f6b){let _0x5884d2=0x0;for(let _0x4dd047=0x0;_0x4dd047<_0x169f6b['length'];_0x4dd047++){const _0x1ba1d5=_0x169f6b['charCodeAt'](_0x4dd047);_0x1ba1d5>=0x4e00&&_0x1ba1d5<=0x9fff||_0x1ba1d5>=0x3000&&_0x1ba1d5<=0x303f||_0x1ba1d5>=0xff00&&_0x1ba1d5<=0xffef?_0x5884d2+=0x2:_0x5884d2+=0x1;}return _0x5884d2;}function To(_0x59c9fb,_0x3a8693,_0x2a9312,_0x43ff01){const _0x289955=_0x1675c1;var _0x4623ee,_0x5e8ca6,_0x441d44,_0x1eebc3;const {rowCount:_0xc20e54,colCount:_0x1ddffe,headerMap:_0x19d440}=_0x59c9fb,_0x3c57a1=0x64,_0x5a5cde=Math['min'](_0xc20e54,_0x3c57a1),_0x463137=Math[_0x289955(0xb6)](_0x1ddffe,_0x3c57a1);let _0x24c5a1='',_0x7c3ca7=0x0;for(let _0x1c9bce=0x0;_0x1c9bce<_0x5a5cde;_0x1c9bce++)for(let _0x3e70eb=0x0;_0x3e70eb<_0x463137;_0x3e70eb++){const _0x5a4c63={...(_0x5e8ca6=(_0x4623ee=_0x59c9fb[_0x289955(0x235)])==null?void 0x0:_0x4623ee[_0x1c9bce])==null?void 0x0:_0x5e8ca6[_0x3e70eb]},_0x37c7c1=(_0x441d44=_0x19d440[_0x1c9bce])==null?void 0x0:_0x441d44[_0x289955(0x1e6)],_0x44b1f4=_0x43ff01[_0x37c7c1];let _0x8f6b49=_0x59c9fb['getValue'](_0x1c9bce,_0x3e70eb);if(_0x5a4c63){const _0x36a352=_0x2a9312?_0x3e70eb===0x0&&((_0x1eebc3=_0x59c9fb['getHeaderMapItem'](_0x3e70eb+0x1))==null?void 0x0:_0x1eebc3[_0x289955(0x2cf)]):!0x1;_0x8f6b49=vt(_0x5a4c63,_0x36a352,_0x44b1f4,_0x3a8693);}if(_0x8f6b49!==void 0x0){const _0x420794=ki(String(_0x8f6b49));_0x7c3ca7<_0x420794&&(_0x24c5a1=String(_0x8f6b49),_0x7c3ca7=_0x420794);}}return _0x24c5a1;}function Li(_0x1f3ec2){const {rowCount:_0x2fbaba,colCount:_0x16e07d}=_0x1f3ec2;let _0x1975c2='',_0x17c4bf=0x0;for(let _0x5ddfee=_0x2fbaba-0x1;_0x5ddfee>0x0&&_0x5ddfee>_0x2fbaba-0x3;_0x5ddfee--)for(let _0x897067=0x0;_0x897067<_0x16e07d;_0x897067++){const _0xa09a67=_0x1f3ec2['getValue'](_0x5ddfee,_0x897067);if(_0xa09a67!==void 0x0){const _0x3a45e4=String(_0xa09a67)['length'];_0x17c4bf<_0x3a45e4&&(_0x1975c2=String(_0xa09a67),_0x17c4bf=_0x3a45e4);}}return _0x1975c2;}function Gi(_0x636728){const _0x33da54=_0x1675c1,{rowCount:_0x477a3d,colCount:_0x69c9aa}=_0x636728;let _0x45528a='',_0x1a1623=0x0;for(let _0x12342e=0x0;_0x12342e<_0x477a3d;_0x12342e++)for(let _0x22b36e=0x0;_0x22b36e<_0x69c9aa;_0x22b36e++){const _0x39d42c=_0x636728[_0x33da54(0x22e)](_0x12342e,_0x22b36e);if(_0x39d42c!==void 0x0){const _0x1a5dff=String(_0x39d42c)[_0x33da54(0xff)];_0x1a1623<_0x1a5dff&&(_0x45528a=String(_0x39d42c),_0x1a1623=_0x1a5dff);}}return _0x45528a;}function $i(_0x1c9369,_0x32d59c){const _0x44e4ee=_0x1675c1,{rowFields:_0x5a5026,columnFields:_0x52a0cc,valueFields:_0xbf06df,filterFields:_0x60b940,dimension:_0x292913,measure:_0x26f374}=_0x32d59c;for(const _0x3f8486 of _0x5a5026){const _0x335358=_0x292913[_0x3f8486];_0x335358&&_0x1c9369[_0x44e4ee(0x232)](_0x335358[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x335358[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1e1)],void 0x0,_0x3f8486),_0x335358[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x335358['id'],_0x335358['displayName']),_0x335358['sortInfo']&&_0x1c9369['setSortInfo'](_0x335358['id'],_0x335358[_0x44e4ee(0x1da)]),_0x335358[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x335358['id'],_0x335358['filterInfo']));}for(const _0x28d27d of _0x52a0cc){const _0x1568b9=_0x292913[_0x28d27d];_0x1568b9&&_0x1c9369[_0x44e4ee(0x232)](_0x1568b9[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1568b9[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x258)],void 0x0,_0x28d27d),_0x1568b9[_0x44e4ee(0x1da)]&&_0x1c9369[_0x44e4ee(0x17b)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x1da)]),_0x1568b9[_0x44e4ee(0x15f)]&&_0x1c9369['setLabelFilterInfo'](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x15f)]),_0x1568b9[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x309)]));}for(const _0x61b715 of _0x60b940){const _0x458bc7=_0x292913[_0x61b715];_0x458bc7&&_0x1c9369[_0x44e4ee(0x232)](_0x458bc7['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x458bc7[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1aa)],void 0x0,_0x61b715),_0x458bc7['sortInfo']&&_0x1c9369['setSortInfo'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x1da)]),_0x458bc7[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x15f)]),_0x458bc7[_0x44e4ee(0x309)]&&_0x1c9369['renameField'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x309)]));}for(const _0x3abd7b of _0xbf06df){const _0x1121bc=_0x26f374[_0x3abd7b];_0x1121bc&&_0x1c9369['getDataFieldByDataFieldId'](_0x1121bc['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1121bc[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x9c)],void 0x0,_0x3abd7b),_0x1121bc[_0x44e4ee(0xfa)]!==void 0x0&&_0x1c9369[_0x44e4ee(0x231)](_0x3abd7b,_0x1121bc[_0x44e4ee(0xfa)]),_0x1121bc[_0x44e4ee(0x1dd)]&&_0x1c9369[_0x44e4ee(0x308)](_0x3abd7b,_0x1121bc[_0x44e4ee(0x1dd)]),_0x1121bc[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1121bc['id'],_0x1121bc[_0x44e4ee(0x309)]));}const _0x320476=_0x32d59c[_0x44e4ee(0x15a)];for(const {fieldId:_0x1163a,filterInfo:_0x1330e5}of _0x320476)_0x1c9369[_0x44e4ee(0x23c)](_0x1163a,_0x1330e5);}function zi(_0x19a016,_0x2eeea4){const _0x112a3c=_0x1675c1,_0x287cdc=[];_0x2eeea4===_0x4cc34c[_0x112a3c(0x1e1)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1e1)],_0x3d40d0=>{const _0x155227=_0x112a3c;_0x287cdc[_0x155227(0x1a3)](_0x3d40d0[_0x155227(0xf5)]());}),_0x2eeea4===_0x4cc34c['Column']&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x258)],_0x93e79f=>{_0x287cdc['push'](_0x93e79f['getId']());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x1aa)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1aa)],_0x30071d=>{const _0x22ac31=_0x112a3c;_0x287cdc[_0x22ac31(0x1a3)](_0x30071d[_0x22ac31(0xf5)]());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x9c)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c['Value'],_0xd37361=>{const _0x590df8=_0x112a3c;_0x287cdc[_0x590df8(0x1a3)](_0xd37361[_0x590df8(0xf5)]());}),_0x2eeea4===void 0x0&&_0x19a016['iterateField'](_0x2b22c2=>{const _0x4b0ac5=_0x112a3c;_0x287cdc[_0x4b0ac5(0x1a3)](_0x2b22c2['getId']());});const _0x53f80d=_0x287cdc[_0x112a3c(0xff)];for(let _0x1f36e5=_0x53f80d-0x1;_0x1f36e5>=0x0;_0x1f36e5--)_0x19a016[_0x112a3c(0x198)](_0x287cdc[_0x1f36e5]);const _0x4eeedb=_0x19a016[_0x112a3c(0x31d)]();for(const _0x109cc8 in _0x4eeedb)_0x19a016['removeValueFilterInfo'](_0x109cc8);}function Ji(_0x383fcd,_0x1fa622){const _0x469fa0=_0x1675c1,_0x467c9f=new Date(_0x48a5f7(_0x1fa622)),_0xc9edc=new Date(_0x48a5f7(_0x383fcd)),_0x1f9b43=_0x467c9f['getFullYear'](),_0x41aadf=_0xc9edc[_0x469fa0(0x237)](),_0x2eab06=_0x467c9f[_0x469fa0(0x277)](),_0x1d89f0=_0xc9edc[_0x469fa0(0x277)](),_0x12f4ec=_0x467c9f['getDate'](),_0x42135c=_0xc9edc['getDate'](),_0x554411=_0x1f9b43===_0x41aadf,_0x42fae8=_0x554411&&_0x2eab06===_0x1d89f0;return _0x554411&&_0x42fae8&&!(_0x42fae8&&_0x12f4ec===_0x42135c)?_0x2d6c66[_0x469fa0(0x12c)]:_0x554411&&!_0x42fae8?_0x2d6c66[_0x469fa0(0x2f1)]:_0x2d6c66['Year'];}function Ho(_0x353a47,_0x5575a1){const _0x3e16f9=_0x1675c1,_0x4bdd04=_0x353a47['get'](G)[_0x3e16f9(0x165)]();let _0x5ec479='';switch(_0x5575a1){case _0x2d6c66['YearMonthDate']:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2c7)];break;case _0x2d6c66[_0x3e16f9(0x2f1)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1ec)];break;case _0x2d6c66[_0x3e16f9(0x1a4)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.year'];break;case _0x2d6c66[_0x3e16f9(0xc8)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.month'];break;case _0x2d6c66[_0x3e16f9(0x2c3)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.quarter'];break;case _0x2d6c66[_0x3e16f9(0x2c9)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1a9)];break;case _0x2d6c66[_0x3e16f9(0x148)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.hourMinute'];break;case _0x2d6c66[_0x3e16f9(0x1d4)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x13b)];break;case _0x2d6c66[_0x3e16f9(0x139)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xa7)];break;case _0x2d6c66[_0x3e16f9(0x1eb)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xec)];break;case _0x2d6c66[_0x3e16f9(0x1d3)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2a8)];break;default:_0x5ec479='';break;}return _0x5ec479;}const qo=_0x1675c1(0x295),Mo={};var ji=Object['getOwnPropertyDescriptor'],Ki=(_0x272e08,_0x226078,_0x271283,_0x18efc9)=>{const _0x54fb64=_0x1675c1;for(var _0x5eb73c=_0x18efc9>0x1?void 0x0:_0x18efc9?ji(_0x226078,_0x271283):_0x226078,_0x30e790=_0x272e08[_0x54fb64(0xff)]-0x1,_0x560c22;_0x30e790>=0x0;_0x30e790--)(_0x560c22=_0x272e08[_0x30e790])&&(_0x5eb73c=_0x560c22(_0x5eb73c)||_0x5eb73c);return _0x5eb73c;},at=(_0x3b39a4,_0x5777a8)=>(_0x4e16c2,_0x548f9f)=>_0x5777a8(_0x4e16c2,_0x548f9f,_0x3b39a4);let ve=class extends _0x5334b7{constructor(_0x52ea02,_0x28d801,_0x18bfef,_0x248985,_0x5dfb96){const _0x29b56b=_0x1675c1;super(),U(this,_0x29b56b(0x21a),new Map()),U(this,_0x29b56b(0x26d),new Map()),U(this,_0x29b56b(0x233),new Map()),U(this,_0x29b56b(0x120),new Map()),U(this,_0x29b56b(0xf2),new _0x265f85()),U(this,_0x29b56b(0x2d6),new _0x265f85()),U(this,_0x29b56b(0xfc),this[_0x29b56b(0x2d6)][_0x29b56b(0x206)]()),U(this,_0x29b56b(0x1f9),new _0x265f85()),U(this,_0x29b56b(0x1ed),this[_0x29b56b(0x1f9)][_0x29b56b(0x206)]()),U(this,'_textInfo',{}),U(this,_0x29b56b(0x1a2),this[_0x29b56b(0xf2)][_0x29b56b(0x206)]()),(this[_0x29b56b(0x312)]=_0x52ea02,this[_0x29b56b(0x25d)]=_0x28d801,this[_0x29b56b(0x27f)]=_0x18bfef,this[_0x29b56b(0xcb)]=_0x248985,this[_0x29b56b(0x17a)]=_0x5dfb96,this[_0x29b56b(0xf8)](),this['_initUnitDisposed']());const _0x25de10=this[_0x29b56b(0x17a)][_0x29b56b(0x1dc)](qo);(_0x25de10==null?void 0x0:_0x25de10[_0x29b56b(0x250)])===!0x0&&this['_initSnapshot']();}[_0x1675c1(0x29f)](){const _0x96a65c=_0x1675c1;this[_0x96a65c(0x1ea)](this[_0x96a65c(0x27f)][_0x96a65c(0x256)](_0x34c5bf[_0x96a65c(0x1f3)])[_0x96a65c(0x1b1)](_0x412945=>{const _0x2e9139=_0x96a65c;this[_0x2e9139(0x161)](_0x412945[_0x2e9139(0xc2)]());}));}[_0x1675c1(0x24f)](){const _0x561867=_0x1675c1;this[_0x561867(0x2d6)][_0x561867(0x294)](!0x0);}[_0x1675c1(0xf8)](){const _0x2754bf=_0x1675c1,_0x1bd3f1=fo(this[_0x2754bf(0x312)],ko,'',{});this['_textInfo']=_0x1bd3f1,this[_0x2754bf(0x25d)][_0x2754bf(0x2e1)](uo['id'],{'textInfo':_0x1bd3f1},{'onlyLocal':!0x0});}[_0x1675c1(0x165)](){const _0x2919f7=_0x1675c1;return this[_0x2919f7(0x1a6)];}[_0x1675c1(0x201)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46,_0x187747){const _0x1a212d=_0x1675c1;this[_0x1a212d(0xf7)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46),this[_0x1a212d(0x214)](_0x27c560,_0x587e3c,_0x4a50a2,_0x187747);}[_0x1675c1(0x14e)](_0x46c66d,_0x4c0894,_0x5294c6){const _0x274381=_0x1675c1;var _0x24a06c;const _0x1f461c=(_0x24a06c=this[_0x274381(0x21a)]['get'](_0x46c66d))==null?void 0x0:_0x24a06c[_0x274381(0x2e9)](_0x4c0894);if(_0x1f461c)return _0x1f461c[_0x274381(0x2e9)](_0x5294c6);}['getTargetByPivotTableId'](_0x2d70b2,_0x41b89c){const _0x3d9a51=_0x1675c1,_0x19ad07=this[_0x3d9a51(0x21a)][_0x3d9a51(0x2e9)](_0x2d70b2);if(_0x19ad07){for(const [_0x582ccd,_0x40430f]of _0x19ad07[_0x3d9a51(0xa8)]())for(const [_0x225a26,_0x3cf308]of _0x40430f['entries']())if(_0x225a26===_0x41b89c)return _0x3cf308[_0x3d9a51(0xb1)];}}[_0x1675c1(0x209)](_0x26f87e,_0x1cf25f,_0x3e9543){const _0x5c802e=_0x1675c1,_0x22a0f3=this[_0x5c802e(0x14e)](_0x26f87e,_0x1cf25f,_0x3e9543);return _0x22a0f3==null?void 0x0:_0x22a0f3['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x5020a4,_0x74cb1b){const _0x1f13b0=_0x1675c1;var _0x41ae6d;return(_0x41ae6d=this[_0x1f13b0(0x21a)][_0x1f13b0(0x2e9)](_0x5020a4))==null?void 0x0:_0x41ae6d[_0x1f13b0(0x2e9)](_0x74cb1b);}[_0x1675c1(0x283)](_0x21165a,_0x1ab668,_0x3371a6,_0x76023e){const _0xe23216=_0x1675c1,_0x591195=this['_ensurePivotMap'](_0x21165a,_0x1ab668);_0x76023e?_0x591195[_0xe23216(0x21f)](_0x3371a6,_0x76023e):_0x591195['delete'](_0x3371a6),this['_pivotConfigChange$']['next']({'unitId':_0x21165a,'subUnitId':_0x1ab668,'pivotTableId':_0x3371a6,'pivotTableConfig':_0x76023e});}[_0x1675c1(0x28b)](_0x30ea9b,_0x3a3e5f){const _0x4873f5=_0x1675c1;var _0x5964c4;return(_0x5964c4=this[_0x4873f5(0x26d)]['get'](_0x30ea9b))==null?void 0x0:_0x5964c4['collections'][_0x3a3e5f];}[_0x1675c1(0x314)](_0x58644a,_0x2e6154){const _0x46f37d=_0x1675c1;this['_collectionConfigModel'][_0x46f37d(0x21f)](_0x58644a,_0x2e6154),this[_0x46f37d(0xf2)][_0x46f37d(0x294)](Math['random']());}[_0x1675c1(0x288)](_0x39906c,_0x3fcd5f){const _0x5c611a=_0x1675c1;let _0x151849=this[_0x5c611a(0x21a)][_0x5c611a(0x2e9)](_0x39906c);_0x151849||(_0x151849=new Map(),this[_0x5c611a(0x21a)][_0x5c611a(0x21f)](_0x39906c,_0x151849));let _0x2c6465=_0x151849[_0x5c611a(0x2e9)](_0x3fcd5f);return _0x2c6465||(_0x2c6465=new Map(),_0x151849['set'](_0x3fcd5f,_0x2c6465)),_0x2c6465;}[_0x1675c1(0x1b6)](_0x4ccd2a,_0x453a51){const _0x20a873=_0x1675c1;let _0x353e7b=this[_0x20a873(0x233)][_0x20a873(0x2e9)](_0x4ccd2a);_0x353e7b||(_0x353e7b=new Map(),this[_0x20a873(0x233)][_0x20a873(0x21f)](_0x4ccd2a,_0x353e7b));let _0x4d7e00=_0x353e7b['get'](_0x453a51);return _0x4d7e00||(_0x4d7e00=new Map(),_0x353e7b[_0x20a873(0x21f)](_0x453a51,_0x4d7e00)),_0x4d7e00;}['_ensurePivotTableMatrixInfo'](_0x5679c8,_0x289bcc){const _0x42e329=_0x1675c1;let _0x14c2fe=this[_0x42e329(0x120)]['get'](_0x5679c8);_0x14c2fe||(_0x14c2fe=new Map(),this['_pivotTableMatrixInfo'][_0x42e329(0x21f)](_0x5679c8,_0x14c2fe));let _0x564f50=_0x14c2fe['get'](_0x289bcc);return _0x564f50||(_0x564f50=new Map(),_0x14c2fe[_0x42e329(0x21f)](_0x289bcc,_0x564f50)),_0x564f50;}[_0x1675c1(0x214)](_0x378fe3,_0x19e9e2,_0x1a78f2,_0x42b2dc){const _0x1f1703=_0x1675c1;var _0x591043;const _0x34905f=this['_ensurePivotTableRangeInfo'](_0x378fe3,_0x19e9e2),_0x5f2ce2=(_0x591043=_0x34905f['get'](_0x1a78f2))==null?void 0x0:_0x591043[_0x1f1703(0x1e4)];_0x34905f[_0x1f1703(0x21f)](_0x1a78f2,{'oldRangeInfo':_0x5f2ce2,'rangeInfo':_0x42b2dc});}[_0x1675c1(0xf7)](_0x1b0db6,_0x5d1398,_0x14bbe8,_0x36569d){const _0x4b1c9d=_0x1675c1;var _0x1d5a42;const _0x34adbc=this[_0x4b1c9d(0x263)](_0x1b0db6,_0x5d1398),_0x1a3f4c=(_0x1d5a42=_0x34adbc[_0x4b1c9d(0x2e9)](_0x14bbe8))==null?void 0x0:_0x1d5a42[_0x4b1c9d(0xad)];_0x34adbc[_0x4b1c9d(0x21f)](_0x14bbe8,{'oldMatrix':_0x1a3f4c,'matrix':_0x36569d});}['getPivotTableRangeInfo'](_0x533000,_0x1349c3,_0x6e3be2){const _0x4dddf1=_0x1675c1;var _0x5794d0,_0xdec4d0;return(_0xdec4d0=(_0x5794d0=this[_0x4dddf1(0x233)][_0x4dddf1(0x2e9)](_0x533000))==null?void 0x0:_0x5794d0['get'](_0x1349c3))==null?void 0x0:_0xdec4d0[_0x4dddf1(0x2e9)](_0x6e3be2);}[_0x1675c1(0x17d)](_0x651759,_0x14ddd4,_0x2ab8fd){const _0x3264dd=_0x1675c1;var _0x1b5f7f,_0x3e99c6;return(_0x3e99c6=(_0x1b5f7f=this[_0x3264dd(0x120)][_0x3264dd(0x2e9)](_0x651759))==null?void 0x0:_0x1b5f7f[_0x3264dd(0x2e9)](_0x14ddd4))==null?void 0x0:_0x3e99c6['get'](_0x2ab8fd);}[_0x1675c1(0x161)](_0x1261a6){const _0x1df37b=_0x1675c1;this[_0x1df37b(0x21a)][_0x1df37b(0x30d)](_0x1261a6),this[_0x1df37b(0x26d)][_0x1df37b(0x30d)](_0x1261a6);}[_0x1675c1(0x10e)](_0x450ef9){const _0x2a1cce=_0x1675c1,_0x3af476={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)&&(_0x3af476['dataFieldManagerConfig'][_0x450ef9]=this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)),this[_0x2a1cce(0x21a)]['get'](_0x450ef9)){_0x3af476[_0x2a1cce(0x210)][_0x450ef9]={};const _0xff3bac=this['_model']['get'](_0x450ef9);_0xff3bac!=null&&_0xff3bac[_0x2a1cce(0xb5)]&&[..._0xff3bac[_0x2a1cce(0x121)]()][_0x2a1cce(0x2ef)](_0x3bbd3b=>{const _0x3670d5=_0x2a1cce,_0x56b73b=_0xff3bac[_0x3670d5(0x2e9)](_0x3bbd3b);_0x56b73b!=null&&_0x56b73b[_0x3670d5(0xb5)]&&(_0x3af476[_0x3670d5(0x210)][_0x450ef9][_0x3bbd3b]={},[..._0x56b73b[_0x3670d5(0x121)]()][_0x3670d5(0x2ef)](_0x1d835e=>{const _0x5e453c=_0x3670d5,_0x2fbcb6=_0x56b73b['get'](_0x1d835e);_0x2fbcb6&&(_0x3af476[_0x5e453c(0x210)][_0x450ef9][_0x3bbd3b][_0x1d835e]=_0x2fbcb6);}));});}return _0x3af476;}[_0x1675c1(0x11b)](){const _0x4ce042=_0x1675c1;this['disposeWithMe'](this[_0x4ce042(0xcb)][_0x4ce042(0xbc)]({'toJson':_0x25d1f2=>JSON['stringify'](this['_toJSON'](_0x25d1f2)),'parseJson':_0x343449=>({}),'businesses':[_0x34c5bf[_0x4ce042(0x1f3)]],'pluginName':ao,'onLoad':(_0x1dad42,_0x420f76)=>{},'onUnLoad':_0x5940e3=>{const _0x1e6a9f=_0x4ce042;this[_0x1e6a9f(0x161)](_0x5940e3);}}));}};ve=Ki([at(0x0,_0x2fd05e(_0x854c25)),at(0x1,_0x2fd05e(_0x3408cd)),at(0x2,_0x2fd05e(_0x146954)),at(0x3,_0x2fd05e(_0x1c560e)),at(0x4,_0x2fd05e(_0xe8dcbb))],ve);var Hi=Object[_0x1675c1(0xd3)],qi=(_0x47fd6d,_0x44c0d3,_0x145562,_0x32e01e)=>{const _0x2470df=_0x1675c1;for(var _0x18d17f=_0x32e01e>0x1?void 0x0:_0x32e01e?Hi(_0x44c0d3,_0x145562):_0x44c0d3,_0x918a5d=_0x47fd6d[_0x2470df(0xff)]-0x1,_0x127e57;_0x918a5d>=0x0;_0x918a5d--)(_0x127e57=_0x47fd6d[_0x918a5d])&&(_0x18d17f=_0x127e57(_0x18d17f)||_0x18d17f);return _0x18d17f;},rt=(_0x14f6e2,_0xdd217b)=>(_0x373097,_0x232f51)=>_0xdd217b(_0x373097,_0x232f51,_0x14f6e2);let Ne=class extends _0x5334b7{constructor(_0x4d7b1b,_0x16bbfc,_0x566dcc,_0xc566af,_0x48d587){const _0x4781bd=_0x1675c1;super(),U(this,'_pivotRenderInfoCache',new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x4781bd(0x2db),new _0x265f85()),U(this,_0x4781bd(0x2bc),this[_0x4781bd(0x2db)]['asObservable']()),U(this,_0x4781bd(0x2b2),new _0x265f85()),U(this,_0x4781bd(0x2ad),this[_0x4781bd(0x2b2)][_0x4781bd(0x206)]()),U(this,_0x4781bd(0x1a6)),(this[_0x4781bd(0xcf)]=_0x4d7b1b,this[_0x4781bd(0x312)]=_0x16bbfc,this['_sheetsPivotTableConfigModel']=_0x566dcc,this[_0x4781bd(0x27f)]=_0xc566af,this['_exclusiveRangeService']=_0x48d587,this[_0x4781bd(0xf8)](),this[_0x4781bd(0x29f)]());}[_0x1675c1(0x29f)](){const _0x4382fc=_0x1675c1;this[_0x4382fc(0x1ea)](this[_0x4382fc(0x27f)]['getTypeOfUnitDisposed$'](_0x34c5bf[_0x4382fc(0x1f3)])[_0x4382fc(0x1b1)](_0x505899=>{const _0x5d8fb4=_0x4382fc;this['deleteUnitId'](_0x505899[_0x5d8fb4(0xc2)]());}));}[_0x1675c1(0xf8)](){const _0x5c90a0=_0x1675c1;this[_0x5c90a0(0x1a6)]=fo(this[_0x5c90a0(0x312)],ko,'',{});}[_0x1675c1(0x25e)](_0x517dc4){const _0x298dc2=_0x1675c1,{view:_0x395118,unitId:_0x3f9414,subUnitId:_0x6eaa1f,pivotTableId:_0x322be5,type:_0x4f8b59}=_0x517dc4,_0x57e295=this[_0x298dc2(0x2d1)][_0x298dc2(0x14e)](_0x3f9414,_0x6eaa1f,_0x322be5);if(!_0x395118||!_0x57e295||_0x4f8b59===L[_0x298dc2(0x211)])return;const {pageView:_0x589d90,cornerView:_0x1b1c8e,rowView:_0x1eaef8,colView:_0x12b6ce,dataView:_0x4671e0}=_0x395118,_0x14b7e4=_0x57e295['targetCellInfo'],_0x5e403a=_0x57e295[_0x298dc2(0x22a)],_0x2a1d93=this[_0x298dc2(0x24d)](_0x3f9414,_0x6eaa1f),_0x308474=this[_0x298dc2(0x14a)](_0x3f9414,_0x6eaa1f,_0x322be5);if(_0x5e403a)return this[_0x298dc2(0x252)](_0x517dc4,_0x2a1d93,_0x14b7e4,_0x308474);{const _0x2a63bf=ge(_0x14b7e4,_0x589d90,!0x0),_0x4f9b1f=_0x589d90[_0x298dc2(0x2b5)]>=0x0?_0x589d90[_0x298dc2(0x2b5)]+0x1:0x0,_0xdec8ff=_0x1b1c8e[_0x298dc2(0x113)](),_0x57df6c=_0x1b1c8e[_0x298dc2(0x1f6)](),_0x309035=_0x2a63bf[_0x298dc2(0xff)]>0x0?It:0x0,_0x264b48=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1b1c8e,!0x1,!0x1),_0x564d53=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1eaef8,!0x1,!0x0),_0x12e2e6=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]+_0x57df6c},_0x12b6ce,!0x1,!0x0),_0x3e0489=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4['col']+_0x57df6c},_0x4671e0,!0x1,!0x1);_0x308474[_0x298dc2(0x189)]={'rowRanges':_0x564d53,'colRanges':_0x12e2e6,'cornerRanges':_0x264b48,'dataRanges':_0x3e0489,'pageRanges':_0x2a63bf};const _0xa2ca50=Mi(this[_0x298dc2(0x312)],_0x395118,_0x57e295,this[_0x298dc2(0x1a6)]),{valueMatrix:_0x53ac49,rowInfo:_0xfe730e,colInfo:_0x49a0b4,cornerInfo:_0x21abe8,rowHeaderMap:_0x58871b,colHeaderMap:_0xf91ab}=_0xa2ca50;return _0x308474[_0x298dc2(0xe9)]={'rowInfo':_0xfe730e,'colInfo':_0x49a0b4,'cornerInfo':_0x21abe8},_0x308474[_0x298dc2(0x1e8)]={'rowHeaderMap':_0x58871b,'colHeaderMap':_0xf91ab},_0x53ac49[_0x298dc2(0x2ef)]((_0x519ee6,_0x732098)=>{const _0x1e2dd7=_0x298dc2;Object[_0x1e2dd7(0x121)](_0x732098)[_0x1e2dd7(0x2ef)](_0x7fdd3a=>{const _0x37b53a=+_0x7fdd3a,_0x4cbc4e=_0x53ac49['getValue'](_0x519ee6,_0x37b53a);_0x2a1d93['setValue'](_0x519ee6,_0x37b53a,_0x4cbc4e);});}),this[_0x298dc2(0x2b2)][_0x298dc2(0x294)]({'unitId':_0x3f9414,'subUnitId':_0x6eaa1f,'valueMatrix':_0x2a1d93,'rangesCache':_0x308474['rangesInfo'],'pivotTableId':_0x322be5,'type':_0x517dc4[_0x298dc2(0x168)]}),this[_0x298dc2(0x2d1)][_0x298dc2(0x201)](_0x3f9414,_0x6eaa1f,_0x322be5,_0x2a1d93,_0x308474['rangesInfo']),this[_0x298dc2(0x117)][_0x298dc2(0x307)](_0x3f9414,_0x6eaa1f,Wt,this[_0x298dc2(0x1ae)](_0x308474[_0x298dc2(0x189)],_0x322be5)),{'rangeCache':_0x308474[_0x298dc2(0x189)],'matrix':_0x2a1d93};}}[_0x1675c1(0x252)](_0x295bcf,_0x2f1394,_0x33f7f3,_0x34a60c){const _0x37b992=_0x1675c1,_0x3dd612=this[_0x37b992(0xcf)]['t'],{unitId:_0x476fe4,subUnitId:_0x356ceb,pivotTableId:_0x2fb06f}=_0x295bcf,_0x2dd26f={'filter':_0x3dd612(_0x37b992(0x28c)),'row':_0x3dd612('sheets-pivot.emptyPivot.row'),'column':_0x3dd612('sheets-pivot.emptyPivot.column'),'values':_0x3dd612(_0x37b992(0x1cb))},{matrixCache:_0x4a6622,rangesCache:_0x373b8c}=Jo(_0x2dd26f,_0x33f7f3);return _0x4a6622[_0x37b992(0xa0)]((_0x2b2aff,_0x19fcfd,_0x5755ff)=>{const _0x548ee1=_0x37b992;_0x2f1394[_0x548ee1(0x2d0)](_0x2b2aff,_0x19fcfd,_0x5755ff);}),_0x34a60c['rangesInfo']=_0x373b8c,this[_0x37b992(0x2b2)][_0x37b992(0x294)]({'unitId':_0x476fe4,'subUnitId':_0x356ceb,'valueMatrix':_0x2f1394,'rangesCache':_0x373b8c,'pivotTableId':_0x2fb06f,'type':_0x295bcf[_0x37b992(0x168)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x476fe4,_0x356ceb,_0x2fb06f,_0x2f1394,_0x373b8c),this[_0x37b992(0x117)]['addExclusiveRange'](_0x476fe4,_0x356ceb,Wt,this[_0x37b992(0x1ae)](_0x373b8c,_0x2fb06f)),{'rangeCache':_0x34a60c[_0x37b992(0x189)],'matrix':_0x2f1394};}[_0x1675c1(0x1ae)](_0x16d174,_0x4d77e3){const _0x52a9b8=[],_0x556535=Lt(_0x16d174);for(const _0x33f698 of _0x556535)_0x52a9b8['push']({'groupId':_0x4d77e3,'range':_0x33f698});return _0x52a9b8;}['clearRenderCache'](_0x20a9ed){const _0x1483c6=_0x1675c1;var _0x476772,_0x56724b,_0x3776d3,_0x419e28;const {pivotTableId:_0x2e35e4,unitId:_0x134306,subUnitId:_0x190d46}=_0x20a9ed;if(!_0x2e35e4||!_0x134306||!_0x190d46)return;const _0x5f4a7b=this['_ensurePivotItemRenderValueMatrixCache'](_0x134306,_0x190d46),_0xbde0ac=(_0x56724b=(_0x476772=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x476772[_0x1483c6(0x2e9)](_0x190d46))==null?void 0x0:_0x56724b[_0x1483c6(0x2e9)](_0x2e35e4);if(_0xbde0ac!=null&&_0xbde0ac[_0x1483c6(0x189)]){for(const _0x43a5ad of Object[_0x1483c6(0x121)](_0xbde0ac[_0x1483c6(0x189)]))_0xbde0ac[_0x1483c6(0x189)][_0x43a5ad]['forEach'](_0x2b5836=>{const _0x5ce384=_0x1483c6;for(let _0xad5dae=_0x2b5836[_0x5ce384(0x21c)];_0xad5dae<=_0x2b5836[_0x5ce384(0x138)];_0xad5dae++)for(let _0x17b504=_0x2b5836[_0x5ce384(0x16d)];_0x17b504<=_0x2b5836[_0x5ce384(0xa1)];_0x17b504++)_0x5f4a7b[_0x5ce384(0x152)](_0xad5dae,_0x17b504);});}_0xbde0ac&&((_0x419e28=(_0x3776d3=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x3776d3[_0x1483c6(0x2e9)](_0x190d46))==null||_0x419e28[_0x1483c6(0x30d)](_0x2e35e4)),this['_viewUpdate$'][_0x1483c6(0x294)]({'unitId':_0x134306,'subUnitId':_0x190d46,'valueMatrix':_0x5f4a7b,'pivotTableId':_0x2e35e4,'rangesCache':void 0x0,'type':_0x20a9ed[_0x1483c6(0x168)]}),this['_exclusiveRangeService'][_0x1483c6(0xfb)](_0x134306,_0x190d46,Wt,_0x2e35e4);}[_0x1675c1(0x14a)](_0x180893,_0x402b17,_0x230568){const _0x79da30=_0x1675c1;var _0x3fbba0,_0x305a28,_0x10bce5,_0x22d110,_0x4884d5,_0x996fe6;return this['_pivotRenderInfoCache'][_0x79da30(0x1b4)](_0x180893)||this['_pivotRenderInfoCache'][_0x79da30(0x21f)](_0x180893,new Map()),(_0x3fbba0=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))!=null&&_0x3fbba0[_0x79da30(0x1b4)](_0x402b17)||(_0x305a28=this[_0x79da30(0xd0)]['get'](_0x180893))==null||_0x305a28['set'](_0x402b17,new Map()),(_0x22d110=(_0x10bce5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x10bce5[_0x79da30(0x2e9)](_0x402b17))!=null&&_0x22d110['has'](_0x230568)||(_0x996fe6=(_0x4884d5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x4884d5[_0x79da30(0x2e9)](_0x402b17))==null||_0x996fe6[_0x79da30(0x21f)](_0x230568,{}),this[_0x79da30(0xd0)]['get'](_0x180893)[_0x79da30(0x2e9)](_0x402b17)[_0x79da30(0x2e9)](_0x230568);}[_0x1675c1(0x24d)](_0x1de067,_0x28bd88){const _0x573e06=_0x1675c1;var _0x1bac6c,_0x14cffe;return this[_0x573e06(0x2da)][_0x573e06(0x1b4)](_0x1de067)||this['_pivotRenderValueMatrixCache'][_0x573e06(0x21f)](_0x1de067,new Map()),(_0x1bac6c=this[_0x573e06(0x2da)]['get'](_0x1de067))!=null&&_0x1bac6c[_0x573e06(0x1b4)](_0x28bd88)||(_0x14cffe=this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067))==null||_0x14cffe[_0x573e06(0x21f)](_0x28bd88,new _0x1d8f59()),this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067)['get'](_0x28bd88);}['getPivotTableCellData'](_0x4bd704,_0x432533,_0x24e819,_0x183a2e){const _0x39090d=_0x1675c1;var _0xd4b28e,_0x31e914;const _0x817bd8=(_0x31e914=(_0xd4b28e=this[_0x39090d(0x2da)][_0x39090d(0x2e9)](_0x4bd704))==null?void 0x0:_0xd4b28e[_0x39090d(0x2e9)](_0x432533))==null?void 0x0:_0x31e914[_0x39090d(0x22e)](_0x24e819,_0x183a2e);if(_0x817bd8!=null)return _0x817bd8;}['getPivotTableIdByCell'](_0x578717,_0x4d64aa,_0x150ce3,_0xf28e70){const _0x3697ba=_0x1675c1;var _0x246b7e;const _0x58d55e=_0x34e162(_0x150ce3,_0xf28e70),_0x1954c5=(_0x246b7e=this[_0x3697ba(0xd0)]['get'](_0x578717))==null?void 0x0:_0x246b7e[_0x3697ba(0x2e9)](_0x4d64aa);return _0x1954c5?Array[_0x3697ba(0x2f9)](_0x1954c5[_0x3697ba(0x121)]())['find'](_0x597b34=>{const _0x267585=_0x3697ba,_0x3147a7=_0x1954c5[_0x267585(0x2e9)](_0x597b34),_0x22ea68=_0x3147a7==null?void 0x0:_0x3147a7[_0x267585(0x189)];return _0x22ea68?Object[_0x267585(0x121)](_0x22ea68)['some'](_0x44d661=>_0x22ea68[_0x44d661][_0x267585(0x2fc)](_0x16ca09=>_0x351caf[_0x267585(0x1af)](_0x16ca09,_0x58d55e))):!0x1;}):void 0x0;}[_0x1675c1(0xae)](_0x3b25e3,_0x3bd633,_0x35eb38){const _0x5bf183=_0x1675c1;var _0x46e8ec;const _0x4fad6a=(_0x46e8ec=this[_0x5bf183(0xd0)]['get'](_0x3b25e3))==null?void 0x0:_0x46e8ec[_0x5bf183(0x2e9)](_0x3bd633),_0xcd304e=[];return _0x4fad6a&&Array[_0x5bf183(0x2f9)](_0x4fad6a[_0x5bf183(0x121)]())[_0x5bf183(0x2ef)](_0x11fe27=>{const _0x27c1e7=_0x5bf183,_0x2c0649=_0x4fad6a[_0x27c1e7(0x2e9)](_0x11fe27),_0x34b38=_0x2c0649==null?void 0x0:_0x2c0649['rangesInfo'];if(_0x34b38)for(const _0x1a8d4b of Object[_0x27c1e7(0x13a)](_0x34b38)){let _0x25c1ec=!0x1;for(const _0x499b95 of _0x1a8d4b)if(_0x351caf[_0x27c1e7(0x1c8)](_0x499b95,_0x35eb38)){_0xcd304e[_0x27c1e7(0x1a3)](_0x11fe27),_0x25c1ec=!0x0;break;}if(_0x25c1ec)break;}}),_0xcd304e;}[_0x1675c1(0x25b)](_0x384efc,_0x5a5d35){const _0x2649e2=_0x1675c1;var _0x37c58a,_0x32a54f;return(_0x32a54f=(_0x37c58a=this['_pivotRenderValueMatrixCache'][_0x2649e2(0x2e9)](_0x384efc))==null?void 0x0:_0x37c58a['get'](_0x5a5d35))!=null?_0x32a54f:new _0x1d8f59();}[_0x1675c1(0x134)](_0x2d671c,_0x3b19ed){const _0x456f0b=_0x1675c1;var _0xf999f4;return(_0xf999f4=this[_0x456f0b(0xd0)]['get'](_0x2d671c))==null?void 0x0:_0xf999f4[_0x456f0b(0x2e9)](_0x3b19ed);}[_0x1675c1(0x124)](_0x595164,_0x2cf68a,_0x39b4e4){const _0x177016=_0x1675c1;var _0xaa370f,_0x5e75ea;return(_0x5e75ea=(_0xaa370f=this[_0x177016(0xd0)][_0x177016(0x2e9)](_0x595164))==null?void 0x0:_0xaa370f[_0x177016(0x2e9)](_0x2cf68a))==null?void 0x0:_0x5e75ea[_0x177016(0x2e9)](_0x39b4e4);}['deleteUnitId'](_0x532bd5){const _0x333eeb=_0x1675c1;this['_pivotRenderInfoCache']['delete'](_0x532bd5),this[_0x333eeb(0x2da)][_0x333eeb(0x30d)](_0x532bd5);}['markDirty'](_0x1945b,_0x3de256){const _0x4ebb74=_0x1675c1;this[_0x4ebb74(0x2db)][_0x4ebb74(0x294)]({'unitId':_0x1945b,'subUnitId':_0x3de256});}};Ne=qi([rt(0x0,_0x2fd05e(_0x7abaf8)),rt(0x1,_0x2fd05e(_0x854c25)),rt(0x2,_0x2fd05e(ve)),rt(0x3,_0x2fd05e(_0x146954)),rt(0x4,_0x2fd05e(_0x5dc596))],Ne);var Yi=Object['getOwnPropertyDescriptor'],Qi=(_0x108312,_0x37dc6b,_0x5e8b47,_0x4646af)=>{for(var _0x2e24d5=_0x4646af>0x1?void 0x0:_0x4646af?Yi(_0x37dc6b,_0x5e8b47):_0x37dc6b,_0xb7e6dd=_0x108312['length']-0x1,_0x1ec568;_0xb7e6dd>=0x0;_0xb7e6dd--)(_0x1ec568=_0x108312[_0xb7e6dd])&&(_0x2e24d5=_0x1ec568(_0x2e24d5)||_0x2e24d5);return _0x2e24d5;},yo=(_0x3abb16,_0x17ff86)=>(_0x1edf6d,_0x5b2f94)=>_0x17ff86(_0x1edf6d,_0x5b2f94,_0x3abb16);let ie=class extends _0x5334b7{constructor(_0x4b1560,_0x15e62a){const _0x23afae=_0x1675c1;super(),U(this,_0x23afae(0x1cf),new _0x1e1483({'PIVOT_PERFORM_CHECK':be})),U(this,_0x23afae(0xa5),new _0x102fa2({'PIVOT_MUTATION_GENERATE':Go})),(this['_sheetInterceptorService']=_0x4b1560,this[_0x23afae(0x140)]=_0x15e62a,this[_0x23afae(0x2b8)]());}[_0x1675c1(0x2b8)](){const _0x42061d=_0x1675c1;this[_0x42061d(0x24b)]();}['getPivotPerformCheck'](_0x1e7cb4){const _0x4c8ce5=_0x1675c1;return this[_0x4c8ce5(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x1e7cb4);}[_0x1675c1(0x24b)](){const _0x2a8172=_0x1675c1;this['disposeWithMe'](this[_0x2a8172(0x299)][_0x2a8172(0x2ac)](_0xc1d871[_0x2a8172(0xd4)],{'priority':0xc8,'effect':_0x227340['Value']|_0x227340[_0x2a8172(0x26e)],'handler':(_0x409dc6,_0x32d345,_0x1dd79f)=>{const _0x447c00=_0x2a8172,{row:_0xaebf2d,col:_0x5d506e,unitId:_0x35a38a,subUnitId:_0x40b0c7,workbook:_0x5eb79a}=_0x32d345,_0x59c8fd=this[_0x447c00(0x140)][_0x447c00(0x157)](_0x35a38a,_0x40b0c7,_0xaebf2d,_0x5d506e);if(!_0x59c8fd)return _0x1dd79f(_0x409dc6);const _0x12a164={..._0x409dc6};(_0x59c8fd['v']||_0x59c8fd['v']===0x0)&&(_0x12a164['v']=_0x59c8fd['v']),_0x59c8fd['t']&&(_0x12a164['t']=_0x59c8fd['t']);const _0x58d61f=(typeof(_0x409dc6==null?void 0x0:_0x409dc6['s'])==_0x447c00(0x25c)?_0x5eb79a[_0x447c00(0x23f)]()['get'](_0x409dc6==null?void 0x0:_0x409dc6['s']):_0x409dc6==null?void 0x0:_0x409dc6['s'])||{},_0x406a4d=_0x5eb79a['getStyles']()['get'](_0x59c8fd['s']),_0x7b8c1f={..._0x406a4d,..._0x58d61f};_0x406a4d!=null&&_0x406a4d['n']&&(_0x7b8c1f['n']=_0x406a4d['n']);const _0x187d29=_0x5eb79a['getStyles']()[_0x447c00(0x2d0)](_0x7b8c1f);return _0x12a164['s']=_0x187d29,(_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0xe8)]||_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0x1cc)])&&(_0x12a164[_0x447c00(0xc7)]={},_0x12a164[_0x447c00(0xc7)][_0x447c00(0x249)]=li),_0x1dd79f(_0x12a164);}}));}};ie=Qi([yo(0x0,_0x2fd05e(_0x5ed9f4)),yo(0x1,_0x2fd05e(Ne))],ie);function Nt(_0x279a67,_0x59bfd5){const _0xe80104=_0x1675c1;switch(_0x59bfd5){case _0x4cc34c[_0xe80104(0x9c)]:return _0x279a67[_0xe80104(0x204)];case _0x4cc34c['Filter']:return _0x279a67[_0xe80104(0x26a)];case _0x4cc34c['Row']:return _0x279a67['rowFields'];case _0x4cc34c['Column']:return _0x279a67['columnFields'];default:return[];}}function $e(_0x488339,_0x2b0d86){const _0x20b9f8=_0x1675c1;return _0x488339[_0x20b9f8(0x149)][_0x2b0d86]||_0x488339[_0x20b9f8(0x151)][_0x2b0d86];}function Xi(_0x2ac111,_0x155e87){const _0x10ef02=_0x1675c1,{area:_0x25faa8,fieldJson:_0x3061a8,index:_0x13a220}=_0x155e87;_0x25faa8===_0x4cc34c[_0x10ef02(0x9c)]?_0x2ac111[_0x10ef02(0x149)][_0x3061a8['id']]=_0x3061a8:_0x2ac111[_0x10ef02(0x151)][_0x3061a8['id']]=_0x3061a8,Nt(_0x2ac111,_0x25faa8)['splice'](_0x13a220,0x0,_0x3061a8['id']);}function Zi(_0x3b5870,_0x3af395){const _0x5aa231=_0x1675c1,{area:_0x225f86,fieldId:_0x1ae75e,index:_0x38f6cc}=_0x3af395;_0x225f86===_0x4cc34c[_0x5aa231(0x9c)]?delete _0x3b5870[_0x5aa231(0x149)][_0x1ae75e]:delete _0x3b5870[_0x5aa231(0x151)][_0x1ae75e],Nt(_0x3b5870,_0x225f86)[_0x5aa231(0x1c1)](_0x38f6cc,0x1);}function es(_0x205adf,_0x13e660){const {fieldId:_0xa5a260,name:_0x570f08}=_0x13e660,_0x117b23=$e(_0x205adf,_0xa5a260);_0x117b23&&(_0x117b23['displayName']=_0x570f08);}function ts(_0x34da00,_0x4a11b1){const _0xf068d1=_0x1675c1,{fieldId:_0x3772fe,collapse:_0x4964a2,item:_0x2bb381}=_0x4a11b1;_0x2bb381!==void 0x0?(_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]||{},_0x34da00[_0xf068d1(0x1f1)][_0x3772fe][_0x2bb381]=_0x4964a2):_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x4964a2;}function os(_0x324a59,_0x4a10df){const _0x12531f=_0x1675c1,{fieldId:_0x423143,format:_0x31bda4}=_0x4a10df,_0x49fb1=$e(_0x324a59,_0x423143);_0x49fb1&&(_0x49fb1[_0x12531f(0x1dd)]=_0x31bda4);}function ns(_0x29911b,_0xd2b3b1){const _0x269bb0=_0x1675c1,{fieldId:_0x1bd88a,filterInfo:_0x2c5d66}=_0xd2b3b1,_0x5f556c=$e(_0x29911b,_0x1bd88a);_0x5f556c&&(_0x5f556c[_0x269bb0(0x15f)]=_0x2c5d66);}function is(_0x1d63c8,_0x203b47){const _0x5c456d=_0x1675c1,{fieldId:_0x6fd2ba,filterInfo:_0x2ecc30}=_0x203b47,_0x255693=_0x1d63c8[_0x5c456d(0x15a)][_0x5c456d(0x29a)](_0x1e6199=>_0x1e6199['fieldId']!==_0x6fd2ba);_0x2ecc30&&_0x255693[_0x5c456d(0x1a3)]({'fieldId':_0x6fd2ba,'filterInfo':_0x2ecc30}),_0x1d63c8['valueFilter']=_0x255693;}function ss(_0xab316a,_0x3e2655){const {fieldId:_0x10fa5a,subtotalType:_0x1e5132}=_0x3e2655,_0x4bc090=$e(_0xab316a,_0x10fa5a);_0x4bc090&&(_0x4bc090['subtotal']=_0x1e5132);}function as(_0x40f344,_0x4297ba){const _0x5f3a42=_0x1675c1,{fieldId:_0x41777f,oldArea:_0x20b117,area:_0x432aa3,oldIndex:_0x2c1e31,index:_0x30bbca}=_0x4297ba,_0x784356=_0x20b117!==_0x4cc34c['Value']&&_0x432aa3===_0x4cc34c['Value'],_0x5b7563=_0x20b117===_0x4cc34c['Value']&&_0x432aa3!==_0x4cc34c[_0x5f3a42(0x9c)];if(_0x784356||_0x5b7563){const _0x118d29=$e(_0x40f344,_0x41777f);_0x118d29&&(_0x784356?(delete _0x40f344[_0x5f3a42(0x151)][_0x41777f],_0x40f344['measure'][_0x41777f]=_0x118d29):(delete _0x40f344['measure'][_0x41777f],_0x40f344[_0x5f3a42(0x151)][_0x41777f]=_0x118d29));}const _0x346c62=Nt(_0x40f344,_0x20b117),_0x5613ec=Nt(_0x40f344,_0x432aa3);_0x346c62['splice'](_0x2c1e31,0x1),_0x5613ec['splice'](_0x30bbca,0x0,_0x41777f);}function rs(_0x3b87d5,_0x20cf4a){const _0x3f5f23=_0x1675c1,{valuePosition:_0x10bd6d,index:_0x4a119e}=_0x20cf4a;_0x3b87d5[_0x3f5f23(0x179)]=_0x10bd6d,_0x3b87d5['valueIndex']=_0x4a119e;}function ls(_0x35dee0,_0x622b5d){const _0x514188=_0x1675c1,{tableFieldId:_0x5764ab,sourceName:_0x4bb261,dataFieldId:_0x2a40a9}=_0x622b5d,_0xbecf05=$e(_0x35dee0,_0x5764ab);_0xbecf05&&(_0xbecf05[_0x514188(0x1fc)]=_0x4bb261,_0xbecf05[_0x514188(0xea)]=_0x2a40a9);}function cs(_0x56998c,_0x13a15d){const _0x2bdf20=_0x1675c1,{fieldId:_0x5abb85,sortInfo:_0x244a50}=_0x13a15d,_0x581573=$e(_0x56998c,_0x5abb85);_0x581573&&(_0x581573[_0x2bdf20(0x1da)]=_0x244a50);}function ds(_0x49881d,_0xcf3f54){const _0x1b465e=_0x1675c1,{options:_0x1fe55c}=_0xcf3f54;_0x49881d['options']={..._0x49881d[_0x1b465e(0x2a1)],..._0x1fe55c};}const Gt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.add-pivot-field','handler'(_0x340bb3,_0x52239e){const _0x2f388b=_0x1675c1;if(!_0x52239e)return!0x1;if(!!_0x340bb3[_0x2f388b(0x2e9)](_0xe8dcbb)[_0x2f388b(0x1dc)](H))return!0x0;const _0x367af2=_0x340bb3[_0x2f388b(0x2e9)](G),{pivotTableId:_0x439565,fieldJson:_0x5dbc59,area:_0x3eb375,index:_0x2b0964,unitId:_0x20800f,subUnitId:_0x286afd}=_0x52239e,_0x23d65e=_0x367af2[_0x2f388b(0x220)](_0x439565);if(!_0x23d65e)return!0x1;let _0x27b262;_0x3eb375===_0x4cc34c[_0x2f388b(0x9c)]?_0x27b262=_0x3d5287(_0x5dbc59):_0x27b262=_0x4d2cb7(_0x5dbc59),_0x23d65e[_0x2f388b(0x273)](_0x27b262,_0x3eb375,_0x2b0964);const _0x490e7f=_0x367af2[_0x2f388b(0x30e)](_0x20800f,_0x286afd,_0x439565);Xi(_0x490e7f,_0x52239e);const _0x404975=_0x367af2['getPivotTableConfig'](_0x20800f,_0x286afd,_0x439565);return _0x367af2[_0x2f388b(0x196)]({'unitId':_0x20800f,'subUnitId':_0x286afd,'token':_0x439565,'type':L[_0x2f388b(0x2e2)],'pivotConfig':_0x404975}),!0x0;}},$t={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x15e),'handler'(_0x4b2cd7,_0x5d808f){const _0x470697=_0x1675c1;if(!_0x5d808f)return!0x1;if(!!_0x4b2cd7[_0x470697(0x2e9)](_0xe8dcbb)[_0x470697(0x1dc)](H))return!0x0;const _0x2c18ff=_0x4b2cd7['get'](G),{pivotTableId:_0x5a90a7,fieldId:_0x4a06d5,unitId:_0x20e6b6,subUnitId:_0x41d9e4}=_0x5d808f,_0x56f6d4=_0x2c18ff['getPivotTableInstance'](_0x5a90a7);if(!_0x56f6d4)return!0x1;_0x56f6d4[_0x470697(0x198)](_0x4a06d5);const _0x3378eb=_0x2c18ff[_0x470697(0x30e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);Zi(_0x3378eb,_0x5d808f);const _0x5039a9=_0x2c18ff[_0x470697(0x14e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);return _0x2c18ff[_0x470697(0x196)]({'unitId':_0x20e6b6,'subUnitId':_0x41d9e4,'token':_0x5a90a7,'type':L[_0x470697(0x2e2)],'pivotConfig':_0x5039a9}),!0x0;}},zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x17f),'handler'(_0x2aaf1b,_0x353cb6){const _0x451c43=_0x1675c1;if(!_0x353cb6)return!0x1;if(!!_0x2aaf1b[_0x451c43(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1dc692=_0x2aaf1b[_0x451c43(0x2e9)](G),{unitId:_0x412fd6,subUnitId:_0x2f1e65,pivotTableId:_0x766410,fieldId:_0x45e74c,name:_0x3f37e3}=_0x353cb6,_0x3c7803=_0x1dc692[_0x451c43(0x220)](_0x766410);if(!_0x3c7803)return!0x1;_0x3c7803['renameField'](_0x45e74c,_0x3f37e3);const _0xc10714=_0x1dc692[_0x451c43(0x30e)](_0x412fd6,_0x2f1e65,_0x766410);return es(_0xc10714,_0x353cb6),_0x1dc692['addDirtyPivotTable']({'unitId':_0x412fd6,'subUnitId':_0x2f1e65,'token':_0x766410,'type':L[_0x451c43(0x2e2)]}),!0x0;}},Jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x27d),'handler'(_0x2dfb73,_0xe02744){const _0x1b6c37=_0x1675c1;if(!_0xe02744)return!0x1;if(!!_0x2dfb73[_0x1b6c37(0x2e9)](_0xe8dcbb)[_0x1b6c37(0x1dc)](H))return!0x0;const _0x2559dc=_0x2dfb73[_0x1b6c37(0x2e9)](G),{unitId:_0x4da697,subUnitId:_0x35786f,pivotTableId:_0xd5a7b3,fieldId:_0x597731,collapse:_0x2af640,item:_0xc2d550}=_0xe02744,_0x396c6c=_0x2559dc[_0x1b6c37(0x220)](_0xd5a7b3);if(!_0x396c6c)return!0x1;_0x396c6c[_0x1b6c37(0x302)](_0x597731,_0x2af640,_0xc2d550);const _0x3a7d0f=_0x2559dc[_0x1b6c37(0x30e)](_0x4da697,_0x35786f,_0xd5a7b3);return ts(_0x3a7d0f,_0xe02744),_0x2559dc[_0x1b6c37(0x196)]({'unitId':_0x4da697,'subUnitId':_0x35786f,'token':_0xd5a7b3,'type':L[_0x1b6c37(0x2e2)]}),!0x0;}},jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x14c),'handler'(_0x170a3d,_0x1aecf3){const _0x3dc460=_0x1675c1;if(!_0x1aecf3)return!0x1;if(!!_0x170a3d[_0x3dc460(0x2e9)](_0xe8dcbb)[_0x3dc460(0x1dc)](H))return!0x0;const _0x58536b=_0x170a3d[_0x3dc460(0x2e9)](G),{unitId:_0xbd827a,subUnitId:_0x5e821c,pivotTableId:_0x49804d,fieldId:_0x4e5777,format:_0x1d97c2}=_0x1aecf3,_0x753782=_0x58536b[_0x3dc460(0x220)](_0x49804d);if(!_0x753782)return!0x1;_0x753782[_0x3dc460(0x308)](_0x4e5777,_0x1d97c2);const _0x280623=_0x58536b[_0x3dc460(0x30e)](_0xbd827a,_0x5e821c,_0x49804d);return os(_0x280623,_0x1aecf3),_0x58536b[_0x3dc460(0x196)]({'unitId':_0xbd827a,'subUnitId':_0x5e821c,'token':_0x49804d,'type':L[_0x3dc460(0x2e2)]}),!0x0;}},Kt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x144),'handler'(_0x366e79,_0x453562){const _0x246b8c=_0x1675c1;if(!_0x453562)return!0x1;if(!!_0x366e79[_0x246b8c(0x2e9)](_0xe8dcbb)[_0x246b8c(0x1dc)](H))return!0x0;const _0x5d595f=_0x366e79[_0x246b8c(0x2e9)](G),{unitId:_0x42b3de,subUnitId:_0x248cc2,pivotTableId:_0x19fc39,fieldId:_0x2e4d1d,filterInfo:_0x5d3b3f}=_0x453562,_0x3b1bf5=_0x5d595f[_0x246b8c(0x220)](_0x19fc39);if(!_0x3b1bf5)return!0x1;_0x3b1bf5['setLabelFilterInfo'](_0x2e4d1d,_0x5d3b3f);const _0x4714a7=_0x5d595f[_0x246b8c(0x30e)](_0x42b3de,_0x248cc2,_0x19fc39);return ns(_0x4714a7,_0x453562),_0x5d595f[_0x246b8c(0x196)]({'unitId':_0x42b3de,'subUnitId':_0x248cc2,'token':_0x19fc39,'type':L['Set']}),!0x0;}},Ht={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.set-pivot-option','handler'(_0x52d65e,_0x4ce0d8){const _0xb54c2c=_0x1675c1;if(!_0x4ce0d8)return!0x1;if(!!_0x52d65e[_0xb54c2c(0x2e9)](_0xe8dcbb)[_0xb54c2c(0x1dc)](H))return!0x0;const _0x3c7ad4=_0x52d65e[_0xb54c2c(0x2e9)](G),{unitId:_0x2fcc6c,subUnitId:_0x4ec392,pivotTableId:_0x47c290,options:_0x3e3c0d}=_0x4ce0d8,_0x46b1bc=_0x3c7ad4[_0xb54c2c(0x220)](_0x47c290);if(!_0x46b1bc)return!0x1;_0x46b1bc[_0xb54c2c(0x147)](_0x3e3c0d);const _0x3cdf88=_0x3c7ad4[_0xb54c2c(0x30e)](_0x2fcc6c,_0x4ec392,_0x47c290);return ds(_0x3cdf88,_0x4ce0d8),_0x3c7ad4[_0xb54c2c(0x196)]({'unitId':_0x2fcc6c,'subUnitId':_0x4ec392,'token':_0x47c290,'type':L['Set']}),!0x0;}},qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x292),'handler'(_0xc71f2d,_0x2f1dc1){const _0x5da765=_0x1675c1;if(!_0x2f1dc1)return!0x1;if(!!_0xc71f2d['get'](_0xe8dcbb)[_0x5da765(0x1dc)](H))return!0x0;const _0x247089=_0xc71f2d['get'](G),{unitId:_0xcd1eb8,subUnitId:_0x3e364c,pivotTableId:_0x420bbd,sortInfo:_0x50f779,fieldId:_0x2bcde8}=_0x2f1dc1,_0x4bae60=_0x247089[_0x5da765(0x220)](_0x420bbd);if(!_0x4bae60)return!0x1;_0x4bae60[_0x5da765(0x17b)](_0x2bcde8,_0x50f779);const _0x1c3b8f=_0x247089[_0x5da765(0x30e)](_0xcd1eb8,_0x3e364c,_0x420bbd);return cs(_0x1c3b8f,_0x2f1dc1),_0x247089[_0x5da765(0x196)]({'unitId':_0xcd1eb8,'subUnitId':_0x3e364c,'token':_0x420bbd,'type':L[_0x5da765(0x2e2)]}),!0x0;}},Yt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26c),'handler'(_0x2a90c7,_0x346289){const _0x5f5a8a=_0x1675c1;if(!_0x346289)return!0x1;if(!!_0x2a90c7[_0x5f5a8a(0x2e9)](_0xe8dcbb)[_0x5f5a8a(0x1dc)](H))return!0x0;const _0x21356e=_0x2a90c7[_0x5f5a8a(0x2e9)](G),{unitId:_0x3029d1,subUnitId:_0x51969f,pivotTableId:_0x19c9c8,fieldId:_0xed34c1,subtotalType:_0x55a362}=_0x346289,_0x5d3f77=_0x21356e[_0x5f5a8a(0x220)](_0x19c9c8);if(!_0x5d3f77)return!0x1;_0x5d3f77['setSubtotalType'](_0xed34c1,_0x55a362);const _0x22b37c=_0x21356e[_0x5f5a8a(0x30e)](_0x3029d1,_0x51969f,_0x19c9c8);return ss(_0x22b37c,_0x346289),_0x21356e[_0x5f5a8a(0x196)]({'unitId':_0x3029d1,'subUnitId':_0x51969f,'token':_0x19c9c8,'type':L[_0x5f5a8a(0x2e2)]}),!0x0;}},Qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0xd7),'handler'(_0x342dfb,_0x53d3be){const _0x906b09=_0x1675c1;if(!_0x53d3be)return!0x1;if(!!_0x342dfb['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1e5168=_0x342dfb[_0x906b09(0x2e9)](G),{unitId:_0x17adad,subUnitId:_0x2f50bb,pivotTableId:_0x4b277b,fieldId:_0x3b7a85,filterInfo:_0x4b1b49}=_0x53d3be,_0x335c9a=_0x1e5168['getPivotTableInstance'](_0x4b277b);if(!_0x335c9a)return!0x1;_0x335c9a[_0x906b09(0x23c)](_0x3b7a85,_0x4b1b49);const _0x57a62d=_0x1e5168['getPivotTableModelConfig'](_0x17adad,_0x2f50bb,_0x4b277b);return is(_0x57a62d,_0x53d3be),_0x1e5168[_0x906b09(0x196)]({'unitId':_0x17adad,'subUnitId':_0x2f50bb,'token':_0x4b277b,'type':L[_0x906b09(0x2e2)]}),!0x0;}},Xt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x533829,_0x2fa6ca){const _0x2b6361=_0x1675c1;if(!_0x2fa6ca)return!0x1;if(!!_0x533829['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1c6e2b=_0x533829[_0x2b6361(0x2e9)](G),{unitId:_0x4c01db,subUnitId:_0x4a22b7,pivotTableId:_0x365657,area:_0x463d33,index:_0xafb88f,fieldId:_0x447fd7}=_0x2fa6ca,_0x339484=_0x1c6e2b[_0x2b6361(0x220)](_0x365657);if(!_0x339484)return!0x1;_0x339484[_0x2b6361(0x2cb)](_0x447fd7,_0x463d33,_0xafb88f);const _0x45b5a2=_0x1c6e2b['getPivotTableModelConfig'](_0x4c01db,_0x4a22b7,_0x365657);return as(_0x45b5a2,_0x2fa6ca),_0x1c6e2b[_0x2b6361(0x196)]({'unitId':_0x4c01db,'subUnitId':_0x4a22b7,'token':_0x365657,'type':L[_0x2b6361(0x2e2)]}),!0x0;}},Zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1ec21a,_0x4f0551){const _0x26a6e6=_0x1675c1;if(!_0x4f0551)return!0x1;if(!!_0x1ec21a['get'](_0xe8dcbb)[_0x26a6e6(0x1dc)](H))return!0x0;const _0x3680d9=_0x1ec21a['get'](G),{unitId:_0x26c284,subUnitId:_0x1c131b,pivotTableId:_0xb24915,sourceName:_0x1d7283,dataFieldId:_0x278d1c,tableFieldId:_0x1f90bb}=_0x4f0551,_0xf814e7=_0x3680d9[_0x26a6e6(0x220)](_0xb24915);if(!_0xf814e7)return!0x1;_0xf814e7[_0x26a6e6(0x136)](_0x1f90bb,_0x1d7283,_0x278d1c);const _0x4a8689=_0x3680d9['getPivotTableModelConfig'](_0x26c284,_0x1c131b,_0xb24915);return ls(_0x4a8689,_0x4f0551),_0x3680d9[_0x26a6e6(0x196)]({'unitId':_0x26c284,'subUnitId':_0x1c131b,'token':_0xb24915,'type':L[_0x26a6e6(0x2e2)]}),!0x0;}},eo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26b),'handler'(_0x5cd7a9,_0x5e5e09){const _0x475e14=_0x1675c1;if(!_0x5e5e09)return!0x1;if(!!_0x5cd7a9[_0x475e14(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x5cc933=_0x5cd7a9[_0x475e14(0x2e9)](G),{unitId:_0xcef795,subUnitId:_0x3453d4,pivotTableId:_0x4296ae,valuePosition:_0x4a2649,index:_0x4c5d86}=_0x5e5e09,_0x3022dd=_0x5cc933[_0x475e14(0x220)](_0x4296ae);if(!_0x3022dd)return!0x1;_0x3022dd[_0x475e14(0x2dc)](_0x4a2649,_0x4c5d86);const _0xef6687=_0x5cc933['getPivotTableModelConfig'](_0xcef795,_0x3453d4,_0x4296ae);return rs(_0xef6687,_0x5e5e09),_0x5cc933[_0x475e14(0x196)]({'unitId':_0xcef795,'subUnitId':_0x3453d4,'token':_0x4296ae,'type':L['Set']}),!0x0;}};function me(_0x230214,_0x60a6bf,_0x573498){const _0x2243a0=_0x1675c1,{pivotTableId:_0x3b6d4c,unitId:_0x11bfb3,subUnitId:_0x46da59}=_0x60a6bf,_0x56bcc7=[],_0x2194b0=[];for(const _0x24ef05 of _0x573498)switch(_0x24ef05[_0x2243a0(0x168)]){case _0x267aa9[_0x2243a0(0x2c6)]:{const {fieldJson:_0x156260,area:_0x2752d3,index:_0x1075b6}=_0x24ef05,_0x894ace={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x156260,'area':_0x2752d3,'index':_0x1075b6},_0x3c83d2={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x156260['id'],'area':_0x2752d3,'index':_0x1075b6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Gt['id'],'params':_0x894ace}),_0x2194b0[_0x2243a0(0x1fe)]({'id':$t['id'],'params':_0x3c83d2});}break;case _0x267aa9[_0x2243a0(0x24c)]:{const {fieldId:_0x4c88d4,newSubtotalType:_0x141a7b,oldSubtotalType:_0xa88b58}=_0x24ef05,_0x8fff0b={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0x141a7b};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Yt['id'],'params':_0x8fff0b});const _0x373654={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0xa88b58};_0x2194b0['unshift']({'id':Yt['id'],'params':_0x373654});}break;case _0x267aa9['RemoveField']:{const {fieldId:_0x1f70e3,fieldJson:_0x5989a4,area:_0x1deedd,index:_0x4bf60f}=_0x24ef05,_0x5a93e1={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x1f70e3,'index':_0x4bf60f,'area':_0x1deedd};_0x56bcc7['push']({'id':$t['id'],'params':_0x5a93e1});const _0x3e5267={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x5989a4,'area':_0x1deedd,'index':_0x4bf60f};_0x2194b0[_0x2243a0(0x1fe)]({'id':Gt['id'],'params':_0x3e5267});}break;case _0x267aa9['RenameField']:{const {fieldId:_0x38b485,oldName:_0x279da7,newName:_0x156744}=_0x24ef05,_0x21f71f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x156744};_0x56bcc7[_0x2243a0(0x1a3)]({'id':zt['id'],'params':_0x21f71f});const _0xe5a460={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x279da7};_0x2194b0[_0x2243a0(0x1fe)]({'id':zt['id'],'params':_0xe5a460});}break;case _0x267aa9[_0x2243a0(0x268)]:{const {fieldId:_0x5a0321,oldFilterInfo:_0x36137b,newFilterInfo:_0x1224a5}=_0x24ef05,_0x3ecac8={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x1224a5};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Kt['id'],'params':_0x3ecac8});const _0x13cc00={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x36137b};_0x2194b0[_0x2243a0(0x1fe)]({'id':Kt['id'],'params':_0x13cc00});}break;case _0x267aa9[_0x2243a0(0x246)]:{const {fieldId:_0x305f02,oldSortInfo:_0x5f52c8,newSortInfo:_0x424cb2}=_0x24ef05,_0x425137={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x424cb2};_0x56bcc7[_0x2243a0(0x1a3)]({'id':qt['id'],'params':_0x425137});const _0x4074de={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x5f52c8};_0x2194b0[_0x2243a0(0x1fe)]({'id':qt['id'],'params':_0x4074de});}break;case _0x267aa9[_0x2243a0(0x2ba)]:{const {oldOptions:_0x36c5a9,newOptions:_0x29fa96}=_0x24ef05,_0x2c95ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x29fa96};_0x56bcc7['push']({'id':Ht['id'],'params':_0x2c95ef});const _0x5d914d={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x36c5a9};_0x2194b0['unshift']({'id':Ht['id'],'params':_0x5d914d});}break;case _0x267aa9[_0x2243a0(0x18b)]:{const {oldArea:_0x12b97e,newArea:_0x13cb73,oldIndex:_0x23945e,newIndex:_0x9bf24a,fieldId:_0x2a9f1a}=_0x24ef05,_0x116783={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x13cb73,'index':_0x9bf24a,'oldArea':_0x12b97e,'oldIndex':_0x23945e};_0x56bcc7['push']({'id':Xt['id'],'params':_0x116783});const _0x2fdb68={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x12b97e,'index':_0x23945e,'oldArea':_0x13cb73,'oldIndex':_0x9bf24a};_0x2194b0[_0x2243a0(0x1fe)]({'id':Xt['id'],'params':_0x2fdb68});}break;case _0x267aa9[_0x2243a0(0x1b2)]:{const {oldValuePosition:_0x51760a,newValuePosition:_0x26e8bc,oldIndex:_0x1172b4,newIndex:_0x2a7cf6}=_0x24ef05,_0x2141f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x26e8bc,'index':_0x2a7cf6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':eo['id'],'params':_0x2141f});const _0x33f864={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x51760a,'index':_0x1172b4};_0x2194b0[_0x2243a0(0x1fe)]({'id':eo['id'],'params':_0x33f864});}break;case _0x267aa9[_0x2243a0(0x1a0)]:{const {fieldId:_0x477210,collapse:_0x124f87,item:_0x31cb69}=_0x24ef05,_0x89001={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':_0x124f87,'item':_0x31cb69};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Jt['id'],'params':_0x89001});const _0x1a0994={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':!_0x124f87,'item':_0x31cb69};_0x2194b0['unshift']({'id':Jt['id'],'params':_0x1a0994});}break;case _0x267aa9['SetFieldFormat']:{const {newFormat:_0x4ebd0a,oldFormat:_0x4091b0,fieldId:_0x5a45d8}=_0x24ef05,_0x2de2ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4ebd0a};_0x56bcc7[_0x2243a0(0x1a3)]({'id':jt['id'],'params':_0x2de2ef});const _0x45983c={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4091b0};_0x2194b0[_0x2243a0(0x1fe)]({'id':jt['id'],'params':_0x45983c});}break;case _0x267aa9[_0x2243a0(0x1ac)]:{const {tableFieldId:_0x1f490f,oldSourceName:_0x2f61bd,newSourceName:_0x55cb4b,oldDataFieldId:_0x3e7c58,newDataFieldId:_0x8699c5}=_0x24ef05,_0x54137f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x55cb4b,'dataFieldId':_0x8699c5};_0x56bcc7['push']({'id':Zt['id'],'params':_0x54137f});const _0x585209={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x2f61bd,'dataFieldId':_0x3e7c58};_0x2194b0['unshift']({'id':Zt['id'],'params':_0x585209});}break;case _0x267aa9[_0x2243a0(0xe7)]:{const {fieldId:_0x43d716,filterInfo:_0x582a27,oldFilterInfo:_0xfdca94}=_0x24ef05,_0x4698ab={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0x582a27};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Qt['id'],'params':_0x4698ab});const _0x2fc7ee={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0xfdca94};_0x2194b0[_0x2243a0(0x1fe)]({'id':Qt['id'],'params':_0x2fc7ee});}}return{'redos':_0x56bcc7,'undos':_0x2194b0};}function _0x57f5(){const _0x496a07=['getActiveSheet','NUM','setOptions','HourMinute','measure','_ensurePivotItemRenderInfoCache','updateConfig','sheet.mutation.set-pivot-format','versions','getPivotTableConfig','4294080iNQRwh','_initPivotDataGetListener','dimension','realDeleteValue','rowInfo','MAX_SAFE_INTEGER','pivotTableIndexConfig','COMMAND','getPivotTableCellData','collectionConfig','FORCE_STRING','valueFilter','needSameDeleteModel','getDirtyInfo','refreshData','sheet.mutation.remove-pivot-field','filterInfo','update','deleteUnitId','None','#1d32e9','concat','getTextInfo','sheet.command.update-date-group','unitId','type','getSortInfo','remove','30dyFdhG','fieldsCollectionChange$','startColumn','_initGlobalComputed','getDisplayName','onCommandExecuted','addFieldWithSourceId','_sheetsPivotTableService','panel','updateView','parse','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.hourMinute','countNums','valuePosition','_configService','setSortInfo','originalFieldId','getPivotTableMatrixInfo','70764Nmptrp','sheet.mutation.rename-pivot-field','getPivotDisplayConfig','sideEffectUpdateWorkerCache','_host','stdDev','SetPivotSort','_onRefRangeChange','3291382PxQPhy','matrix','average','rangesInfo','isDate','UpdateFieldPosition','createDataFieldId','_initConfig','getValuePosition','call','sheet.command.pivot-drill-down','ptn','NUMBER','BadReference','result','body','addDirtyPivotTable','Count\x20of\x20','removeField','addPivotTable','collectionChange$','hasField','endCollectChangeset','register','defineProperty','includes','SetCollapse','removeCollectionImp','configVersion$','push','Year','#FFFFFF','_textInfo','add','NotNumber','sheets-pivot.dateGroup.date','Filter','getDataFieldItemInfo','UpdateSource','sheet.command.update-pivot-table-source-range','_createExclusiveRange','contains','onStarting','subscribe','UpdateValuePosition','redos','has','_globalComputedStartHelpFunc','_ensurePivotTableRangeInfo','setConfig','pivotMutationGenerate','Total','sum','setPivotSort','getDataFieldByRangeKey','registerRefRange','fields','symbol','createCollectionWithDataRange','splice','workbook\x20is\x20not\x20found','getIndexesByPathStr','textInfo','updateDataFieldsCollection','onQueryEnd','getFilterInfo','intersects','MovePivotField','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.emptyPivot.values','Expand','REF','_sheetsPivotDataSourceModel','asyncInterceptor','sheets-pivot.stdDevName','lastCol','_generateUniqueVersion','YearQuarter','Hour','_featureCalculationManagerService','col','2135428EBagqi','interceptCommand','1vjDjYf','sortInfo','5332255iOlQVi','getConfig','format','registerCommand','#b2b2b2','broadcastCollectionChange','Row','undos','fieldIds','oldRangeInfo','_lifecycleService','tableFieldId','resetPivotTable','headerMap','_sheetsSelectionsService','disposeWithMe','MonthDate','sheets-pivot.dateGroup.yearMonth','pivotConfigChange$','registerDirtyService','bind','pageRanges','collapseInfo','dataFields','UNIVER_SHEET','rgb(255,255,255)','getInterceptPoints','getColCount','11893048hhtffe','getSheetBySheetName','_pivotConfigChange$','setPivotSetting','sheets-pivot.grandTotal','sourceName','columnFields','unshift','StdDev\x20of\x20','Var\x20of\x20','updateViewInfo','getRefRangeMutationsByMoveRange','sheets-pivot.maxName','valueFields','_globalComputedEndHelpFunc','asObservable','getFormatInfo','AddPivotTableWithConfig','getTargetByPivotId','colRanges','subUnitId','getCurrentUnitForType','sheet.command.reset-pivot-fields-config','refreshDataField','batch','pivotTableConfigs','Delete','viewData$','isNaN','updatePivotTableRangeInfo','_config','pushUndoRedo','pageStyle','NotName','updateViewData','_model','sheets-pivot.cellDateGroupDisplay.date','startRow','AddPivotTable','getCurrentSelections','set','getPivotTableInstance','getAutoFitColumnsMutations','handleSourceRangeChange','parseInt','max','NotFunction','_refRangeService','sheets-pivot.cellDateGroupDisplay.minute','_initCommandInterceptListener','tuple','isEmpty','sheet.command.update-pivot-value-position','(Blank)','stdDevp','getValue','_viewData$','deepClone','setSubtotalType','getDataFieldByDataFieldId','_pivotTableRangeInfo','collections','data','NAME','getFullYear','ManualFilter','dispose','getDataFieldManager','rangeCache','setValueFilterInfo','Existing','cellValue','getStyles','PivotMultipleValueId','setRangeValueRedoMutation','sheets-pivot.cellDateGroupDisplay.quarter','refreshGroupField','removeCollections','sheet.mutation.send-pivot-view-local','SetSortInfo','dataStyle','setDisplayName','leftOffset','#e6ebfb','_initViewModelBySheetInterceptor','SetSubtotalType','_ensurePivotItemRenderValueMatrixCache','originTargetInfo','setPivotInitCompleted','notExecuteFormula','setRangeValueUndoMutation','_updateRenderEmptyCache','sheets-pivot.cellDateGroupDisplay.yearQuarter','getFilterFieldIdByIndex','floor','getTypeOfUnitDisposed$','getRangeKey','Column','getRangeStartEndInfo','getUpdateRangeDeleteIds','getSubUnitPivotMatrix','string','_commandService','updateRenderCache','resetArea','setPivotTable','setTextInfo','foreach','_ensurePivotTableMatrixInfo','getPivotTableIdByCell','_initClearSelectionCommandInterceptor','_collectionChange$','getSourceName','SetFilterInfo','sheets-pivot.sumName','filterFields','sheet.mutation.pivot-update-value-position','sheet.mutation.set-pivot-field-subtotal-type','_collectionConfigModel','Style','token','addRecord','sheet.command.set-pivot-value-filter','getHeaderMapItem','addField','query','stringify','_pivotTableInstanceCache','getMonth','_globalComputingSrv','removeDataField','split','getSubtotal','range','sheet.mutation.set-pivot-collapse','forRow','_univerInstanceService','dataRangeInfo','getRangeData','addDataFieldWithoutUnitInfo','updateConfigCache','Varp\x20of\x20','colCount','grandTotal','Values','_ensurePivotMap','getTableFieldById','_deletePivotTableInstanceCache','getCollection','sheets-pivot.emptyPivot.filter','SetPivotFilter','setDateType','random','Subtotal','_updatePivotTableInstanceCache','sheet.mutation.set-pivot-sort-info','rangeType','next','sheets-pivot.config','getPivotDirtyViewInfo','rowCount','SHEET_PIVOT_TABLE_PLUGIN','_sheetInterceptorService','filter','iterateFieldByArea','_fieldsCollectionChange$','getMatrix','sheets-pivot.cellDateGroupDisplay.hour','_initUnitDisposed','MIN_SAFE_INTEGER','options','_viewData','_requestResolvers','3984030WddbfJ','reduce','sheets-pivot.varName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheets-pivot.dateGroup.yearQuarter','handleAsyncResponse','getUnit','prototype','intercept','viewUpdate$','onQueryStart','_initPivotTextInfo','movePivotField','getLastRow','_viewUpdate$','minDate','valueIndex','lastRow','paths','node','_init','sheet.mutation.add-pivot-table','SetOptions','sheet.mutation.set-pivot-position','markDirty$','fieldsConfig','sheets-pivot.subTotal','level','getSheetBySheetId','object','_updateModelCache','Quarter','dateType','sheet.command.add-pivot-field','AddField','sheets-pivot.dateGroup.yearMonthDate','setRange','Date','rowHeaderMap','updateFieldPosition','sheet.command.set-pivot-field-setting','value','#f4f4f5','isValue','setValue','_sheetsPivotTableConfigModel','getMatrixFromRunTimeData','rowRanges','getDataFieldBySourceName','markDirty','_pivotInitCompleted$','setValuePivotFilter','getLastCol','_globalSubject','_pivotRenderValueMatrixCache','_markDirty$','updateValuePosition','colHeaderMap','return\x20','updatePivotSource','fetchThroughInterceptors','executeCommand','Set','getOriginFieldId','_subjectFieldsCollectionChange','sheets-pivot.columnName','sheet.mutation.get-pivot-data-local','sheet.mutation.send-init-pivot-text-local','colStyle','get','getFieldDataType','getFieldIds','addPivotField','removePivotTable','version','forEach','NORMAL','YearMonth','var','pivotPerformCheck','NO_COMMERCIAL','shouldClear','leafStyle','sheets-pivot.cellDateGroupDisplay.yearMonth','_getAutoName','from','Column\x20','pivotTableId','some','collection','_refRangeHandle','product','find','RemovePivotField','setCollapse','deleteField','sheets-pivot.cellDateGroupDisplay.yearMonthDate','queryDirtyPivotTable','ResetPivotTable','addExclusiveRange','setFieldFormat','displayName','getFormat','isBottomTotal','sheets-pivot.value','delete','getPivotTableModelConfig','info','STRING','renameField','_injector','document','updateCollectionConfig','Sum\x20of\x20','getFieldPositionInfoById','Panel','getAutoDisplayNameFunction','SetPivotCollapse','registerCallbackWithEvent','getTextSize','name','getValueFilterInfos','updateAllDisplayName','fromJSON','drillDown','setPivotCollapse','updateRangeKeyMap','Value','getSheetId','limit\x20pivot','sheet.operation.pivot-table-view-formula-mark-dirty','forValue','endColumn','params','7CRZwwz','getCellRaw','interceptor','Add','sheets-pivot.dateGroup.minute','entries','handleMoveRange','fetchThroughAsyncInterceptors','Max\x20of\x20','sheet.command.move-pivot-field','oldMatrix','getIntersectsPivotTable','_queryingMap','_activeDirtyManagerService','targetCellInfo','hasOwnProperty','generateMutationsByRanges','getFieldCountByArea','size','min','rangeKey','removeValueFilterInfoByValueFieldId','sheet.mutation.remove-group-collection','setLabelFilterInfo','getFieldFormat','registerPluginResource','StdDevp\x20of\x20','adjustSheetCellData','clearRenderCache','getDataFieldByTableId','formJSON','getUnitId','SetValuePivotFilter','sheets-pivot.averageName','Grand\x20Total','disposableCollection','fontRenderExtension','Month','uniqueDataFieldName','sheet.command.move-pivot-table','_resourceManagerService','single','row','getName','_localeService','_pivotRenderInfoCache','count','getFieldInfo','getOwnPropertyDescriptor','CELL_CONTENT','_subjectViewChange','_initDataSendListener','sheet.mutation.set-pivot-value-filter','SetPivotSetting','MUTATION','Product\x20of\x20','sourceRangeInfo','GrandTotal','sheet.command.set-pivot-filter','setDataRecordCount','updateDirtyPivotTable','getFieldById','_dataSyncPrimaryController','_deleteModelCache','#e6ebfa','getColumnCount','sheets-pivot.minName','setPivotFilter','SetValueFilter','Collapse','areaInfo','dataFieldId','valid','sheets-pivot.dateGroup.monthDate','sheets-pivot.countName','_initRegisterCommand','SetPivotTableConfig','getGroupFieldsInfoByIds','setName','_configVersion$','_initRemoveSheetCommandInterceptor','slice','getId','sheets-pivot.stdDevpName','updatePivotTableMatrixInfo','_initLocale','getSheets','subtotal','clearExclusiveRangesByGroupId','pivotInitCompleted$','width','Average\x20of\x20','length','addCollection','reset','getColumnWidth','_getPivotAppliedRanges','removeSourceRangeChange','addCollectionByJSON','getSubUnitPivotConfigs','getformat','error','isColMultiMeasure','UpdatePivotSource','setDirty','colInfo','dataFieldManagerConfig','_toJSON','removePivotField','_dataFieldManagerCollection','getMatrixValue','filterId','getRowCount','_ensureViewDataMap','generateNewSheetName','initDataRanges','_exclusiveRangeService','pbt','\x20-\x20','New','_initSnapshot','maxDate','map','rangeKeyMap','addPivotTableWithConfig','_pivotTableMatrixInfo','keys','new','subTotalStyle','getPivotItemRenderInfoCache','getValueIndex','blank','startCollectChangeset','sheetName','9rAjwEc','message','getRangeKeyList','YearMonthDate','DrillDown','rowStyle','number','varp','triggerDirtyFeature','toJSON','column','getSubUnitPivotRenderCache','1441XZvSfh','updateFieldSourceInfo','deleteDataField','endRow','Minute','values','sheets-pivot.dateGroup.hour','prefix','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','AddPivotField','getCellMatrix','_sheetsPivotTableAdaptorModel','setSourceName','sheet.command.add-pivot-table-with-config','sheets-pivot.varpName','sheet.mutation.set-pivot-filter'];_0x57f5=function(){return _0x496a07;};return _0x57f5();}function _e(_0xb746a1,_0x71f8c2){const _0x23241b=_0x1675c1;var _0xcb0137;const _0x3fe3ff=_0xb746a1[_0x23241b(0x2e9)](ie),{cellInfo:_0x5298cb,view:_0x242aac,isEmpty:_0x1f61bb}=_0x71f8c2;return(_0xcb0137=_0x3fe3ff['interceptor'][_0x23241b(0x2e0)](Go)(Po,{'cellInfo':_0x5298cb,'view':_0x242aac,'isEmpty':_0x1f61bb}))!=null?_0xcb0137:Po;}const us=()=>typeof process<'u'&&process[_0x1675c1(0x14d)]!=null&&process[_0x1675c1(0x14d)][_0x1675c1(0x2b7)]!=null,Ct={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2b9),'handler'(_0x4d7bc1,_0x5df4df){const _0x5a5d2c=_0x1675c1;var _0x35b67b;if(!_0x5df4df)return!0x1;const _0x3a84ec=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0xe8dcbb);if(!!_0x3a84ec[_0x5a5d2c(0x1dc)](H))return!0x0;const _0x2abe23=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0x146954),_0x288f9e=_0x4d7bc1['get'](G),{pivotTableId:_0x3b825a,pivotTableConfig:_0x1632dd,collectionConfig:_0x2f60f1,unitId:_0x1506c4,subUnitId:_0x13714a}=_0x5df4df,{sourceRangeInfo:_0x5b3163,fieldsConfig:_0x153290,targetCellInfo:_0x473ee8}=_0x1632dd,_0x1db2f0=_0x2abe23['getUnit'](_0x1506c4);if(!_0x1db2f0||!_0x1db2f0[_0x5a5d2c(0x2c0)](_0x13714a))return!0x1;if(!us()){let _0x162212=0x0;_0x1db2f0[_0x5a5d2c(0xf9)]()[_0x5a5d2c(0x2ef)](_0x4507ed=>{const _0x5c88b8=_0x5a5d2c;var _0x3a51e4,_0x389474;_0x162212+=(_0x389474=(_0x3a51e4=_0x288f9e[_0x5c88b8(0x106)](_0x1506c4,_0x4507ed[_0x5c88b8(0x9d)]()))==null?void 0x0:_0x3a51e4[_0x5c88b8(0xb5)])!=null?_0x389474:0x0;});const _0x33d662=(_0x35b67b=_0x3a84ec['getConfig'](_0x59310c))!=null?_0x35b67b:{},{ls:_0xc82604,pbk:_0x31bbdb}=_0x33d662;if(!jo(_0xc82604,_0x31bbdb))throw new _0x5146f5('limit\x20pivot');const _0x2b00b2=go(so,_0xc82604,_0x31bbdb)['count'];if(_0x162212>=_0x2b00b2)throw new _0x5146f5(_0x5a5d2c(0x9e));}if(!_0x2f60f1||!_0x153290)return!0x1;const {collection:_0x5741e9,updateDataFieldList:_0x568cce}=_0x288f9e[_0x5a5d2c(0x105)](_0x3b825a,_0x2f60f1,_0x5b3163,_0x473ee8);_0x288f9e[_0x5a5d2c(0x15d)](_0x5741e9,_0x568cce,_0x5b3163);const _0x435703=new _0x16e808(_0x5741e9,void 0x0,_0x3b825a);_0x435703[_0x5a5d2c(0x31f)](_0x153290);const _0xa8709e=JSON[_0x5a5d2c(0x175)](JSON[_0x5a5d2c(0x275)](_0x1632dd));return _0x288f9e[_0x5a5d2c(0x199)](_0x1506c4,_0x13714a,_0x3b825a,_0x435703,_0xa8709e),_0x288f9e[_0x5a5d2c(0x196)]({'unitId':_0x1506c4,'subUnitId':_0x13714a,'token':_0x3b825a,'type':L[_0x5a5d2c(0xa6)],'pivotConfig':_0xa8709e}),!0x0;}},Ot={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x468f65,_0x34e78a){const _0x3906f0=_0x1675c1;if(!_0x34e78a)return!0x1;if(!!_0x468f65[_0x3906f0(0x2e9)](_0xe8dcbb)[_0x3906f0(0x1dc)](H))return!0x0;const {pivotTableId:_0x34866b,unitId:_0x46b427,subUnitId:_0x579617}=_0x34e78a,_0x35780e=_0x468f65[_0x3906f0(0x2e9)](G);return _0x35780e[_0x3906f0(0x14e)](_0x46b427,_0x579617,_0x34866b)?(_0x35780e['addDirtyPivotTable']({'unitId':_0x46b427,'subUnitId':_0x579617,'token':_0x34866b,'type':L['Delete']}),_0x35780e[_0x3906f0(0x2ed)](_0x46b427,_0x579617,_0x34866b),!0x0):!0x1;}},pt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2bb),'handler'(_0x492d90,_0x360b06){const _0x3dc6e0=_0x1675c1;if(!_0x360b06)return!0x1;if(!!_0x492d90[_0x3dc6e0(0x2e9)](_0xe8dcbb)[_0x3dc6e0(0x1dc)](H))return!0x0;const {pivotTableId:_0x3238f4,targetCellPosition:_0xba9a86,unitId:_0x48812d,subUnitId:_0x2da861}=_0x360b06,_0x199a91=_0x492d90[_0x3dc6e0(0x2e9)](G);if(!_0x199a91[_0x3dc6e0(0x220)](_0x360b06[_0x3dc6e0(0x2fb)]))return!0x1;const _0x525c22=_0x199a91[_0x3dc6e0(0x209)](_0x3238f4);if(!_0x525c22)return!0x1;const _0x22e9a2=_0x199a91[_0x3dc6e0(0x28b)](_0x525c22[_0x3dc6e0(0x167)],_0x360b06[_0x3dc6e0(0x2fb)]);if(!_0x22e9a2)return!0x1;const _0xbab11b=_0x199a91['getPivotTableConfig'](_0x525c22['unitId'],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);if(!_0xbab11b)return!0x1;const _0x325a3a=_0x14991f[_0x3dc6e0(0x230)](_0xbab11b);_0x325a3a['targetCellInfo']={'unitId':_0x48812d,'subUnitId':_0x2da861,'row':_0xba9a86[_0x3dc6e0(0xcd)],'col':_0xba9a86[_0x3dc6e0(0x1d6)]};const _0x199ec5=_0x22e9a2['toJSON']();if(_0x525c22[_0x3dc6e0(0x20b)]===_0x2da861&&_0x525c22[_0x3dc6e0(0x167)]===_0x48812d)_0x199a91[_0x3dc6e0(0x260)](_0x48812d,_0x2da861,_0x3238f4,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L['Set']});else{_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x525c22[_0x3dc6e0(0x167)],'subUnitId':_0x525c22['subUnitId'],'token':_0x3238f4,'type':L[_0x3dc6e0(0x211)]}),_0x199a91['removePivotTable'](_0x525c22[_0x3dc6e0(0x167)],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);const _0x253f34=_0x199a91[_0x3dc6e0(0x105)](_0x3238f4,_0x199ec5,_0xbab11b['sourceRangeInfo'],_0x325a3a['targetCellInfo']),_0x367e04=new _0x16e808(_0x253f34[_0x3dc6e0(0x2fd)],void 0x0,_0x3238f4);_0x367e04[_0x3dc6e0(0x31f)](_0x325a3a[_0x3dc6e0(0x2bd)]),_0x199a91[_0x3dc6e0(0x199)](_0x48812d,_0x2da861,_0x3238f4,_0x367e04,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L[_0x3dc6e0(0xa6)],'pivotConfig':_0x325a3a});}return!0x0;}},to={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x44afb9,_0x5cf85d){const _0x5562c4=_0x1675c1;if(!_0x5cf85d)return!0x1;if(!!_0x44afb9[_0x5562c4(0x2e9)](_0xe8dcbb)[_0x5562c4(0x1dc)](H))return!0x0;const _0x53d0b5=_0x44afb9[_0x5562c4(0x2e9)](G),{pivotTableId:_0xad9e5b,deleteIds:_0x46265b,collectionJSON:_0x427af0,dataRangeInfo:_0x44854e,unitId:_0x2f738d,subUnitId:_0x236331}=_0x5cf85d,_0x173657=_0x53d0b5[_0x5562c4(0x220)](_0xad9e5b),_0x451c64=_0x53d0b5[_0x5562c4(0x14e)](_0x2f738d,_0x236331,_0xad9e5b);if(!_0x173657||!_0x451c64)return!0x1;const {collection:_0x42ddfe,updateDataFieldList:_0x54b27e}=_0x53d0b5['addCollectionByJSON'](_0xad9e5b,_0x427af0,_0x44854e,_0x451c64[_0x5562c4(0xb1)]);_0x53d0b5[_0x5562c4(0x15d)](_0x42ddfe,_0x54b27e,_0x44854e),_0x173657[_0x5562c4(0x1c5)](_0x42ddfe);for(const _0x3adc0c of _0x46265b)_0x53d0b5[_0x5562c4(0x279)](_0x44854e[_0x5562c4(0x167)],_0x3adc0c);const _0x260140=_0x53d0b5['getPivotTableConfig'](_0x2f738d,_0x236331,_0xad9e5b);return _0x260140[_0x5562c4(0xdb)]=JSON[_0x5562c4(0x175)](JSON['stringify'](_0x44854e)),_0x53d0b5[_0x5562c4(0x196)]({'unitId':_0x2f738d,'subUnitId':_0x236331,'token':_0xad9e5b,'type':L['Set']}),!0x0;}},Et={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x9f),'handler'(){return!0x0;}};var fs=Object[_0x1675c1(0xd3)],gs=(_0x3bca1b,_0x1fbd17,_0x56a1e8,_0x1b0e7d)=>{for(var _0x38a3b5=_0x1b0e7d>0x1?void 0x0:_0x1b0e7d?fs(_0x1fbd17,_0x56a1e8):_0x1fbd17,_0x345d3e=_0x3bca1b['length']-0x1,_0xe0be79;_0x345d3e>=0x0;_0x345d3e--)(_0xe0be79=_0x3bca1b[_0x345d3e])&&(_0x38a3b5=_0xe0be79(_0x38a3b5)||_0x38a3b5);return _0x38a3b5;},wo=(_0x87fb7a,_0x3e2cb3)=>(_0x1e408d,_0x5b890b)=>_0x3e2cb3(_0x1e408d,_0x5b890b,_0x87fb7a);let Z=class extends _0x5334b7{constructor(_0x48f4a0,_0xccc9fb){const _0x2eae34=_0x1675c1;super(),U(this,_0x2eae34(0x2a3),new Map()),(this[_0x2eae34(0x312)]=_0x48f4a0,this[_0x2eae34(0x25d)]=_0xccc9fb);}[_0x1675c1(0x2a9)](_0x161877){const _0x442d0a=_0x1675c1,{version:_0x4f983d}=_0x161877,_0x580343=this[_0x442d0a(0x2a3)]['get'](_0x4f983d);_0x580343&&(_0x580343(_0x161877),this[_0x442d0a(0x2a3)][_0x442d0a(0x30d)](_0x4f983d));}[_0x1675c1(0x180)](_0x525317){return new Promise((_0x456c0b,_0x22fcde)=>{const _0x26db4d=_0x2dae,_0x16a592=this[_0x26db4d(0x1d2)]();this[_0x26db4d(0x2a3)][_0x26db4d(0x21f)](_0x16a592,_0x456c0b),this[_0x26db4d(0x25d)][_0x26db4d(0x2e1)](ro['id'],{'version':_0x16a592,..._0x525317},{'onlyLocal':!0x0});});}[_0x1675c1(0x1d2)](){const _0xdba69f=_0x1675c1;return Math[_0xdba69f(0x28f)]()['toString'](0x24)['substring'](0x2,0x10);}};Z=gs([wo(0x0,_0x2fd05e(_0x854c25)),wo(0x1,_0x2fd05e(_0x3408cd))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x3fc5c3['MUTATION'],'handler':(_0x177921,_0x3f8d0d)=>{const _0x59582b=_0x1675c1;if(!_0x3f8d0d)return!0x1;if(!!_0x177921['get'](_0xe8dcbb)[_0x59582b(0x1dc)](H))return!0x0;const {pivotTableId:_0xda88bf,fieldJSON:_0x22bf62,unitId:_0x4709f8,subUnitId:_0x26b0a0}=_0x3f8d0d,_0xf44119=_0x1c07f9['fromJSON'](_0x22bf62);if(!_0xf44119)return!0x1;const _0x3c8d17=_0x177921[_0x59582b(0x2e9)](G),_0x4ca559=_0x3c8d17[_0x59582b(0x23a)](_0x4709f8),_0x5414b9=_0x4ca559[_0x59582b(0x28b)](_0xda88bf);_0x4ca559[_0x59582b(0x282)](_0xf44119),_0x5414b9[_0x59582b(0x273)](_0xf44119[_0x59582b(0xf5)](),_0xf44119['getName']());const _0x41be90=_0x5414b9[_0x59582b(0xe0)](_0xf44119[_0x59582b(0x2e3)]());_0x41be90&&_0xf44119[_0x59582b(0x243)](_0x41be90);const _0x37b52e=_0x3c8d17[_0x59582b(0x14e)](_0x4709f8,_0x26b0a0,_0xda88bf);return _0x3c8d17[_0x59582b(0x196)]({'unitId':_0x4709f8,'subUnitId':_0x26b0a0,'token':_0xda88bf,'type':L[_0x59582b(0x2e2)],'pivotConfig':_0x37b52e}),!0x0;}},Qo={'id':_0x1675c1(0xb9),'type':_0x3fc5c3['MUTATION'],'handler':(_0x321470,_0x4a139a)=>{const _0x38774b=_0x1675c1;if(!_0x4a139a)return!0x1;if(!!_0x321470[_0x38774b(0x2e9)](_0xe8dcbb)[_0x38774b(0x1dc)](H))return!0x0;const {pivotTableId:_0x562a45,dataFieldId:_0x24dc79,unitId:_0x58f1ff,subUnitId:_0x5dab0e}=_0x4a139a,_0x55d4ea=_0x321470[_0x38774b(0x2e9)](G),_0x5d9c0a=_0x55d4ea[_0x38774b(0x23a)](_0x58f1ff);_0x5d9c0a[_0x38774b(0x28b)](_0x562a45)[_0x38774b(0x303)](_0x24dc79);let _0x4159c4=!0x0;for(const _0xc15b46 in _0x5d9c0a['collections'])if(_0x5d9c0a[_0x38774b(0x234)][_0xc15b46][_0x38774b(0x2eb)]()[_0x38774b(0x19f)](_0x24dc79)){_0x4159c4=!0x1;break;}_0x4159c4&&_0x5d9c0a[_0x38774b(0x137)](_0x24dc79);const _0x328b0f=_0x55d4ea['getPivotTableConfig'](_0x58f1ff,_0x5dab0e,_0x562a45);return _0x55d4ea[_0x38774b(0x196)]({'unitId':_0x58f1ff,'subUnitId':_0x5dab0e,'token':_0x562a45,'type':L[_0x38774b(0x2e2)],'pivotConfig':_0x328b0f}),!0x0;}},hs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2c5),async 'handler'(_0x3ada4d,_0x306089){const _0x2ae278=_0x1675c1;if(!_0x306089)return!0x1;const _0x5e588e=_0x3ada4d['get'](_0x3408cd),_0x779dfb=_0x3ada4d['get'](Z),_0x4a499e=_0x3ada4d[_0x2ae278(0x2e9)](_0x5ea86a),{pivotTableId:_0x523ebb,dataFieldId:_0x5bfafe,fieldArea:_0x854f24,index:_0x58ad3a,unitId:_0x26d6f3,subUnitId:_0x2185dd}=_0x306089,_0x2cec8f=(await _0x779dfb['getPivotDisplayConfig']({'unitId':_0x26d6f3,'subUnitId':_0x2185dd,'pivotTableId':_0x523ebb,'params':{'type':A[_0x2ae278(0x13e)],'addPivotField':{'dataFieldId':_0x5bfafe,'fieldArea':_0x854f24,'index':_0x58ad3a}}}))[_0x2ae278(0x194)]['addPivotField'];if(!_0x2cec8f)return!0x1;const {view:_0x392b2f,changesets:_0x351db7,isEmpty:_0x5b236c,pivotTableConfig:_0x1f11c6,shouldBeAddedGroupJSON:_0x365050}=_0x2cec8f,_0x89e0c6=_0x1f11c6['targetCellInfo'],_0x15a798=new _0x14d91f();_0x15a798[_0x2ae278(0xc1)](_0x392b2f);const _0x5ae710={'cellInfo':_0x89e0c6,'view':_0x15a798,'isEmpty':_0x5b236c};if(!await _0x3ada4d[_0x2ae278(0x2e9)](ie)[_0x2ae278(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5ae710))return!0x1;const _0x4f0fc4=we(_0x3ada4d,_0x15a798,_0x89e0c6,_0x5b236c),_0x4bfb0f=_e(_0x3ada4d,_0x5ae710),{undos:_0x13076c,redos:_0x547c43}=me(_0x5e588e,{'pivotTableId':_0x523ebb,'unitId':_0x26d6f3,'subUnitId':_0x2185dd},_0x351db7);return _0x365050&&(_0x547c43[_0x2ae278(0x1fe)]({'id':Yo['id'],'params':{'pivotTableId':_0x523ebb,'fieldJSON':_0x365050,'unitId':_0x26d6f3,'subUnitId':_0x2185dd}}),_0x13076c[_0x2ae278(0x1a3)]({'id':Qo['id'],'params':{'pivotTableId':_0x523ebb,'dataFieldId':_0x365050['id'],'unitId':_0x26d6f3,'subUnitId':_0x2185dd}})),_0x2e7d7d([..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],_0x5e588e),_0x4a499e['pushUndoRedo']({'unitID':_0x26d6f3,'redoMutations':[..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],'undoMutations':[..._0x4f0fc4[_0x2ae278(0x1e2)],..._0x4bfb0f[_0x2ae278(0x1e2)],..._0x13076c]}),!0x0;}},vs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x142),async 'handler'(_0x25ada8,_0x46ce1a){const _0x5bf81e=_0x1675c1;if(!_0x46ce1a)return!0x1;const {sourceDataInfo:_0xc012a9,pivotTableConfig:_0x40dcf7}=_0x46ce1a;if(!_0xc012a9||!_0x40dcf7)return!0x1;const {unitId:_0x558a8d,subUnitId:_0x38d3d3,range:_0x1666bb}=_0xc012a9,_0x2979ae=_0x25ada8[_0x5bf81e(0x2e9)](_0x146954),_0x3dd87b=_0x25ada8[_0x5bf81e(0x2e9)](Z),_0x36b863=_0x25ada8['get'](_0x7abaf8),_0x4edf9b=_0x25ada8[_0x5bf81e(0x2e9)](_0x3408cd),_0x3d2541=_0x2979ae['getUnit'](_0x558a8d);if(!_0x3d2541)return!0x1;const _0xe202b8=_0x3d2541[_0x5bf81e(0x2c0)](_0x38d3d3);if(!_0xe202b8)return!0x1;const _0x191b3a=_0x248684(0x8),_0x449a6b=_0x1666bb||{'startRow':0x0,'startColumn':0x0,'endRow':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'endColumn':_0xe202b8[_0x5bf81e(0xe4)]()-0x1};_0x449a6b['rangeType']=_0x3153b7[_0x5bf81e(0x2f0)];const _0x4882e2=(await _0x3dd87b[_0x5bf81e(0x180)]({'unitId':_0x558a8d,'subUnitId':_0x38d3d3,'pivotTableId':_0x191b3a,'params':{'type':A['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x558a8d,'sheetName':_0xe202b8['getName'](),'subUnitId':_0x38d3d3,'range':_0x449a6b},'pivotTableId':_0x191b3a,'pivotTableIndexConfig':_0x40dcf7}}}))[_0x5bf81e(0x194)][_0x5bf81e(0x11f)];if(!_0x4882e2)return!0x1;const {isEmpty:_0x59aedd,fieldsConfig:_0x35af97,collectionConfig:_0x46212c,changesets:_0x2ae493}=_0x4882e2,_0x34590a=_0x3d2541['getSheets']()[_0x5bf81e(0xff)],_0x85101b=_0x9aa09a({'rowCount':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'columnCount':_0xe202b8[_0x5bf81e(0xe4)]()-0x1});_0x85101b['id']=_0x4444c1(),_0x85101b[_0x5bf81e(0x31c)]=_0x3d2541['generateNewSheetName'](''+_0x36b863['t']('sheets.tabs.sheet'));const _0x21c699={'index':_0x34590a,'sheet':_0x85101b,'unitId':_0x558a8d},{redos:_0x3b6f6c}=me(_0x4edf9b,{'pivotTableId':_0x191b3a,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},_0x2ae493),_0x141ed4=[{'id':_0x21737c['id'],'params':_0x21c699},{'id':Ct['id'],'params':{'unitId':_0x558a8d,'subUnitId':_0x85101b['id'],'pivotTableId':_0x191b3a,'pivotTableConfig':{'isEmpty':_0x59aedd,'fieldsConfig':_0x35af97,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},'sourceRangeInfo':{'subUnitId':_0x38d3d3,'unitId':_0x558a8d,'range':_0x449a6b,'sheetName':_0xe202b8[_0x5bf81e(0xce)]()}},'collectionConfig':_0x46212c}},..._0x3b6f6c];return _0x2e7d7d(_0x141ed4,_0x4edf9b),!0x0;}},ps={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x45e36d,_0x4f1c2b){const _0x1d017a=_0x1675c1;var _0x48b759,_0x1a169b;const _0x5f2ec6=_0x45e36d[_0x1d017a(0x2e9)](_0x3408cd),_0x3b03df=_0x45e36d[_0x1d017a(0x2e9)](_0x146954),_0x32ea70=_0x45e36d[_0x1d017a(0x2e9)](_0x7abaf8),_0x1f824d=_0x45e36d[_0x1d017a(0x2e9)](Z),_0x349239=_0x45e36d['get'](_0x5ea86a),_0x241e2f=_0x45e36d[_0x1d017a(0x2e9)](ve),_0x3ef4ec=_0x45e36d[_0x1d017a(0x2e9)](_0xe8dcbb);if(!_0x4f1c2b)return!0x1;const {pivotTableConfig:_0x3a341b,positionType:_0x5113ee}=_0x4f1c2b,{targetCellInfo:_0x26770b,sourceRangeInfo:_0x1ca69e}=_0x3a341b,{unitId:_0x57c9f5,subUnitId:_0x31403c}=_0x26770b,_0x56bf52=_0x3b03df[_0x1d017a(0x2aa)](_0x57c9f5);if(!_0x56bf52)return!0x1;let _0x12166a=0x0;_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0x2ef)](_0x3f2664=>{const _0x1d0d7e=_0x1d017a;var _0x18ae4a,_0x501a24;_0x12166a+=(_0x501a24=(_0x18ae4a=_0x241e2f['getSubUnitPivotConfigs'](_0x57c9f5,_0x3f2664[_0x1d0d7e(0x9d)]()))==null?void 0x0:_0x18ae4a[_0x1d0d7e(0xb5)])!=null?_0x501a24:0x0;});const _0x509eb9=(_0x48b759=_0x3ef4ec['getConfig'](_0x59310c))!=null?_0x48b759:{},{ls:_0x2a7683,pbk:_0x52f7eb}=_0x509eb9;if(!jo(_0x2a7683,_0x52f7eb))return!0x1;const _0x399903=go(so,_0x2a7683,_0x52f7eb)[_0x1d017a(0xd1)];if(_0x12166a>=_0x399903)return!0x1;const _0x65b9e4=_0x4f1c2b[_0x1d017a(0x2fb)]||_0x248684(0x8),_0x16ac28=(await _0x1f824d[_0x1d017a(0x180)]({'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4,'params':{'type':A[_0x1d017a(0x21d)],'addPivotTable':{'sourceRangeInfo':_0x1ca69e,'pivotTableId':_0x65b9e4}}}))[_0x1d017a(0x194)]['addPivotTable'];if(!_0x16ac28)return!0x1;const {view:_0x3765a3,isEmpty:_0xa25733,fieldsConfig:_0x3f6468,collectionConfig:_0x25fa5a}=_0x16ac28,_0x5b910d=[],_0x27e427=[];if(_0x5113ee===Wo['New']){const _0x20eb48=_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0xff)],_0x1b1c0c=_0x9aa09a({});_0x1b1c0c['id']=_0x3a341b[_0x1d017a(0xb1)][_0x1d017a(0x20b)],_0x1b1c0c[_0x1d017a(0x31c)]=(_0x1a169b=_0x3a341b[_0x1d017a(0xb1)]['sheetName'])!=null?_0x1a169b:_0x56bf52[_0x1d017a(0x115)](''+_0x32ea70['t']('sheets.tabs.sheet'));const _0x315146={'index':_0x20eb48,'sheet':_0x1b1c0c,'unitId':_0x57c9f5},_0x2953c0=_0x316f56(_0x45e36d,_0x315146);_0x5b910d['push']({'id':_0x539518['id'],'params':_0x2953c0}),_0x27e427[_0x1d017a(0x1a3)]({'id':_0x227c31['id'],'params':_0x315146});}else{if(!_0x56bf52[_0x1d017a(0x2c0)](_0x31403c))return!0x1;const _0x2afc8a=we(_0x45e36d,new _0x14d91f(),_0x26770b,!0x0);_0x27e427[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1b3)]),_0x5b910d[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1e2)]);const _0x426f0c={'cellInfo':_0x26770b,'view':_0x3765a3,'isEmpty':_0xa25733};if(!await _0x45e36d[_0x1d017a(0x2e9)](ie)['asyncInterceptor'][_0x1d017a(0xaa)](be)(!0x0,_0x426f0c))return!0x1;const _0x302377=_e(_0x45e36d,_0x426f0c);_0x27e427[_0x1d017a(0x1a3)](..._0x302377[_0x1d017a(0x1b3)]),_0x5b910d['push'](..._0x302377[_0x1d017a(0x1e2)]);}return _0x27e427['push']({'id':Ct['id'],'params':{'unitId':_0x26770b[_0x1d017a(0x167)],'subUnitId':_0x26770b['subUnitId'],'pivotTableId':_0x65b9e4,'pivotTableConfig':{'targetCellInfo':_0x26770b,'sourceRangeInfo':_0x1ca69e,'fieldsConfig':_0x3f6468},'collectionConfig':_0x25fa5a}}),_0x5b910d['unshift']({'id':Ot['id'],'params':{'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4}}),_0x2e7d7d(_0x27e427,_0x5f2ec6)&&_0x349239[_0x1d017a(0x216)]({'unitID':_0x57c9f5,'undoMutations':_0x5b910d,'redoMutations':_0x27e427}),!0x0;}},ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xac),async 'handler'(_0x2d4039,_0x11c55a){const _0x59a8de=_0x1675c1;if(!_0x11c55a)return!0x1;const _0x3f42d7=_0x2d4039['get'](_0x3408cd),_0xf87521=_0x2d4039['get'](Z),_0x37c1fa=_0x2d4039[_0x59a8de(0x2e9)](_0x5ea86a),{pivotTableId:_0x201e48,fieldId:_0x58c52e,area:_0x3fffce,index:_0x5a9870,unitId:_0x295f55,subUnitId:_0x10ab00}=_0x11c55a,_0x1cef69=(await _0xf87521[_0x59a8de(0x180)]({'unitId':_0x295f55,'subUnitId':_0x10ab00,'pivotTableId':_0x201e48,'params':{'type':A[_0x59a8de(0x1c9)],'movePivotField':{'fieldId':_0x58c52e,'area':_0x3fffce,'index':_0x5a9870}}}))[_0x59a8de(0x194)]['movePivotField'];if(!_0x1cef69)return!0x1;const {changesets:_0x4156e2,view:_0x527850,isEmpty:_0x1fe5ec,pivotTableConfig:_0x226834}=_0x1cef69,_0x2c3371=_0x226834[_0x59a8de(0xb1)],_0x509811=new _0x14d91f();_0x509811[_0x59a8de(0xc1)](_0x527850);const _0x1caeb3={'cellInfo':_0x2c3371,'view':_0x509811,'isEmpty':_0x1fe5ec};if(!await _0x2d4039[_0x59a8de(0x2e9)](ie)['asyncInterceptor'][_0x59a8de(0xaa)](be)(!0x0,_0x1caeb3))return!0x1;const _0x2abde3=we(_0x2d4039,_0x509811,_0x2c3371,_0x1fe5ec),_0xb8040f=_e(_0x2d4039,_0x1caeb3),{redos:_0x22450a,undos:_0xc5fe0c}=me(_0x3f42d7,{'pivotTableId':_0x201e48,'unitId':_0x295f55,'subUnitId':_0x10ab00},_0x4156e2);return _0x2e7d7d([..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],_0x3f42d7),_0x37c1fa['pushUndoRedo']({'unitID':_0x295f55,'redoMutations':[..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],'undoMutations':[..._0x2abde3['undos'],..._0xb8040f[_0x59a8de(0x1e2)],..._0xc5fe0c]}),!0x0;}},Is={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x190),async 'handler'(_0xb7f6dd,_0xb4ab6a){const _0x4f9a5b=_0x1675c1;var _0x47f1c8;if(!_0xb4ab6a)return!0x1;const _0x4ab30f=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x146954),_0x22aa21=_0x2075c9(_0x4ab30f);if(!_0x22aa21)return!0x1;const {unitId:_0x4ffc34,subUnitId:_0x2d5186,workbook:_0xff121c}=_0x22aa21,{row:_0x558dbf,col:_0x57c4d1}=_0xb4ab6a,_0x5130c3=_0xb7f6dd['get'](Ne),_0x452a26=_0x5130c3['getPivotTableIdByCell'](_0x4ffc34,_0x2d5186,_0x558dbf,_0x57c4d1);if(!_0x452a26)return!0x1;const _0x4c47ee=(_0x47f1c8=_0x5130c3[_0x4f9a5b(0x124)](_0x4ffc34,_0x2d5186,_0x452a26))==null?void 0x0:_0x47f1c8[_0x4f9a5b(0xe9)];if(!_0x4c47ee)return!0x1;const _0x1d1798=_0xb7f6dd[_0x4f9a5b(0x2e9)](ve)['getPivotTableConfig'](_0x4ffc34,_0x2d5186,_0x452a26);if(!_0x1d1798)return!0x1;const {rowInfo:_0x532f7f,colInfo:_0x133102}=_0x4c47ee,_0xa02581=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2b6)],_0x4d1fdf=_0x133102[_0x57c4d1][_0x4f9a5b(0x2b6)],_0x2c8644=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2bf)],_0x855f3a=_0x133102[_0x57c4d1][_0x4f9a5b(0x2bf)],_0x5e1ac3=_0xa02581[_0x4f9a5b(0x164)](_0x4d1fdf),_0x103dc9=_0x1d1798[_0x4f9a5b(0x2bd)]['rowFields'][_0x4f9a5b(0xf4)](0x0,_0x2c8644),_0x7725e2=_0x1d1798['fieldsConfig'][_0x4f9a5b(0x1fd)][_0x4f9a5b(0xf4)](0x0,_0x855f3a),_0x317c2a=_0x103dc9['concat'](_0x7725e2),_0x433010=_0x5e1ac3[_0x4f9a5b(0x11d)]((_0x50bd5e,_0x45e44e)=>[_0x50bd5e,_0x317c2a[_0x45e44e]]),_0xf5ae3f=(await _0xb7f6dd['get'](Z)[_0x4f9a5b(0x180)]({'unitId':_0x4ffc34,'subUnitId':_0x2d5186,'pivotTableId':_0x452a26,'params':{'type':A['DrillDown'],'drillDown':{'tuple':_0x433010}}}))[_0x4f9a5b(0x194)][_0x4f9a5b(0x320)];if(!_0xf5ae3f)return!0x1;const {indexes:_0x1705dd,range:_0x1a2bd3,sourceUnitId:_0x3b9cc4,sourceSubUnitId:_0x2a1888,formatMap:_0xc8e166}=_0xf5ae3f,{startRow:_0x1c2468,endRow:_0x1ca7aa,startColumn:_0x3ddb19,endColumn:_0x4cb9e9}=_0x1a2bd3,_0x497035=new _0x1d8f59(),_0x5af3bf=_0x1ca7aa-_0x1c2468,_0x3baa78=_0x4cb9e9-_0x3ddb19,_0x3df3eb={},_0x5b3b5b=_0x2075c9(_0x4ab30f,{'unitId':_0x3b9cc4,'subUnitId':_0x2a1888});if(!_0x5b3b5b)return!0x1;const _0x388f58=fe[_0x4f9a5b(0x2e8)],_0x4b259d=fe[_0x4f9a5b(0x123)],_0xe43659=fe[_0x4f9a5b(0x123)],_0x181425=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x388f58),_0x55859c=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x4b259d),_0x4e004a=_0xff121c[_0x4f9a5b(0x23f)]()['setValue'](_0xe43659),{worksheet:_0x15bc9e}=_0x5b3b5b;let _0x3bb5db=0x0;const _0x1b57cb=0x1;_0x1705dd[_0x4f9a5b(0x2ef)](_0x222196=>{const _0x247192=_0x4f9a5b;for(let _0x593c23=0x0;_0x593c23<=_0x4cb9e9-_0x3ddb19;_0x593c23++)_0x497035['setValue'](_0x3bb5db,_0x593c23,_0x15bc9e[_0x247192(0xa4)](_0x222196+_0x1a2bd3['startRow']+_0x1b57cb,_0x593c23));_0x3bb5db++;});for(let _0x4d688a=_0x3ddb19;_0x4d688a<=_0x4cb9e9;_0x4d688a++){const _0x5a921f=_0x15bc9e[_0x4f9a5b(0xa4)](_0x1c2468,_0x4d688a);_0x3df3eb[_0x1c2468]||(_0x3df3eb[_0x1c2468]={}),_0x3df3eb[_0x1c2468][_0x4d688a]={..._0x5a921f,'s':_0x181425};}let _0x2e6b27=0x1;const _0x16c99d={},_0x2dd9c7={};_0x497035[_0x4f9a5b(0x27e)]((_0x111bf5,_0x405f07)=>{const _0x4c16fe=_0x4f9a5b;_0x405f07[_0x4c16fe(0x2ef)](_0x1c6424=>{const _0x5f4881=_0x4c16fe,_0x594313=_0x497035[_0x5f4881(0x22e)](_0x111bf5,_0x1c6424);if(_0x3df3eb[_0x2e6b27]||(_0x3df3eb[_0x2e6b27]={}),_0x3df3eb[_0x2e6b27][_0x1c6424]={..._0x594313,'s':_0x2e6b27%0x2===0x0?_0x4e004a:_0x55859c},_0xc8e166[_0x1c6424]&&_0x111bf5>=0x0){const _0x286d01=_0x2e6b27%0x2===0x0;let _0x385660=_0x286d01?_0x2dd9c7[_0x1c6424]:_0x16c99d[_0x1c6424];_0x385660||(_0x385660=_0xff121c['getStyles']()[_0x5f4881(0x2d0)]({..._0x286d01?_0xe43659:_0x4b259d,'n':{'pattern':_0xc8e166[_0x1c6424]}}),_0x286d01?_0x2dd9c7[_0x1c6424]=_0x385660:_0x16c99d[_0x1c6424]=_0x385660),_0x3df3eb[_0x2e6b27][_0x1c6424]['s']=_0x385660;}}),_0x2e6b27++;});const _0x51b81a=new _0x1d8f59(_0x3df3eb),_0x4a6ac4={};_0x51b81a[_0x4f9a5b(0xa0)]((_0x2e7937,_0x4d507d,_0x318eb1)=>{_0x4a6ac4[_0x2e7937]||(_0x4a6ac4[_0x2e7937]={}),_0x4a6ac4[_0x2e7937][_0x4d507d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3e3b5c=[],_0x332455=[],_0x33812d=_0xff121c[_0x4f9a5b(0xf9)]()[_0x4f9a5b(0xff)],_0x34a952=_0x9aa09a({'rowCount':Math[_0x4f9a5b(0x224)](_0x2abe75,_0x5af3bf+0xa),'columnCount':Math[_0x4f9a5b(0x224)](_0x4d9604,_0x3baa78+0x5)}),_0x377822=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x7abaf8);_0x34a952['id']=_0x4444c1(),_0x34a952[_0x4f9a5b(0x31c)]=_0xff121c[_0x4f9a5b(0x115)](''+_0x377822['t']('sheets.tabs.sheet'));const _0x3ae3c0={'index':_0x33812d,'sheet':_0x34a952,'unitId':_0x4ffc34},_0x509a9b=_0x316f56(_0xb7f6dd,_0x3ae3c0);_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x227c31['id'],'params':_0x3ae3c0}),_0x3e3b5c[_0x4f9a5b(0x1a3)]({'id':_0x539518['id'],'params':_0x509a9b}),_0x332455['push']({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x3df3eb}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x4a6ac4}});const _0x39a15c={'startRow':0x0,'startColumn':0x0,'endRow':_0x2e6b27-0x1,'endColumn':_0x4cb9e9};_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x4328ea['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'range':_0x39a15c}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x1158ed['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id']}});const _0x4de9b5=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x3408cd);return _0x2e7d7d(_0x332455,_0x4de9b5)&&_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x5ea86a)['pushUndoRedo']({'unitID':_0x4ffc34,'undoMutations':_0x3e3b5c,'redoMutations':_0x332455}),!0x0;}},Cs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4ededc,_0x7f5f0b){const _0x456060=_0x1675c1;if(!_0x7f5f0b)return!0x1;const _0x3957c1=_0x4ededc['get'](_0x3408cd),_0x32f776=_0x4ededc[_0x456060(0x2e9)](Z),_0x4e9e09=_0x4ededc['get'](_0x5ea86a),{pivotTableId:_0x1e4873,fieldIds:_0x15afab,unitId:_0x2071ac,subUnitId:_0x386689}=_0x7f5f0b,_0x29170e=(await _0x32f776['getPivotDisplayConfig']({'unitId':_0x2071ac,'subUnitId':_0x386689,'pivotTableId':_0x1e4873,'params':{'type':A[_0x456060(0x301)],'removePivotField':{'fieldIds':_0x15afab}}}))[_0x456060(0x194)]['removePivotField'];if(!_0x29170e)return!0x1;const {view:_0x3e4fe5,changesets:_0x3dbfc4,isEmpty:_0x14d7b7,pivotTableConfig:_0x466405}=_0x29170e,_0x299793=_0x466405[_0x456060(0xb1)],_0x344944=new _0x14d91f();_0x344944[_0x456060(0xc1)](_0x3e4fe5);const _0x5ea61b={'cellInfo':_0x299793,'view':_0x344944,'isEmpty':_0x14d7b7};if(!await _0x4ededc[_0x456060(0x2e9)](ie)['asyncInterceptor'][_0x456060(0xaa)](be)(!0x0,_0x5ea61b))return!0x1;const _0x9a6de4=we(_0x4ededc,_0x344944,_0x299793,_0x14d7b7),_0x174770=_e(_0x4ededc,_0x5ea61b),{redos:_0x1ce3fd,undos:_0x170a89}=me(_0x3957c1,{'pivotTableId':_0x1e4873,'unitId':_0x2071ac,'subUnitId':_0x386689},_0x3dbfc4);return _0x2e7d7d([..._0x9a6de4[_0x456060(0x1b3)],..._0x174770[_0x456060(0x1b3)],..._0x1ce3fd],_0x3957c1),_0x4e9e09[_0x456060(0x216)]({'unitID':_0x2071ac,'redoMutations':[..._0x9a6de4[_0x456060(0x1b3)],..._0x174770['redos'],..._0x1ce3fd],'undoMutations':[..._0x9a6de4[_0x456060(0x1e2)],..._0x174770[_0x456060(0x1e2)],..._0x170a89]}),!0x0;}},bs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3e05dc,_0x2376dc){const _0x4d84ad=_0x1675c1;var _0x10619b;const _0x5ae564=_0x3e05dc[_0x4d84ad(0x2e9)](_0x3408cd),_0x119150=_0x3e05dc[_0x4d84ad(0x2e9)](Z),_0x11028e=_0x3e05dc[_0x4d84ad(0x2e9)](Ne),_0x518e0e=_0x3e05dc[_0x4d84ad(0x2e9)](_0x146954),_0x46ebe9=_0x3e05dc[_0x4d84ad(0x2e9)](_0x5ea86a);if(!_0x2376dc)return!0x1;const {unitId:_0x541936,subUnitId:_0x398827,row:_0x36a749,col:_0x20833f,collapse:_0x1c82aa}=_0x2376dc,_0x37437e=_0x518e0e['getUnit'](_0x541936);if(!_0x37437e||!_0x37437e[_0x4d84ad(0x2c0)](_0x398827))return!0x1;const _0x26483b=_0x11028e[_0x4d84ad(0x264)](_0x541936,_0x398827,_0x36a749,_0x20833f);if(!_0x26483b)return!0x1;const _0x1c8ebd=_0x11028e[_0x4d84ad(0x124)](_0x541936,_0x398827,_0x26483b);if(!_0x1c8ebd)return!0x1;const _0x3b4fc2=_0x34e162(_0x36a749,_0x20833f),{rangesInfo:_0x1687fd,areaInfo:_0x2d2578,headerMap:_0x2b62e6}=_0x1c8ebd;if(!_0x1687fd||!_0x2d2578||!_0x2b62e6)return!0x1;const _0x3c0d3c=Object[_0x4d84ad(0x121)](_0x1687fd)[_0x4d84ad(0x300)](_0x6eadb9=>_0x1687fd[_0x6eadb9][_0x4d84ad(0x2fc)](_0x49ea53=>_0x351caf['contains'](_0x49ea53,_0x3b4fc2)));let _0x22091b;_0x3c0d3c==='rowRanges'?_0x22091b=_0x2b62e6[_0x4d84ad(0x2ca)][_0x20833f]:_0x3c0d3c===_0x4d84ad(0x20a)&&(_0x22091b=_0x2b62e6[_0x4d84ad(0x2dd)][_0x36a749]);const _0x52b9ce=_0x22091b==null?void 0x0:_0x22091b[_0x4d84ad(0x1e6)],_0x45cb46=(_0x10619b=_0x11028e[_0x4d84ad(0x157)](_0x541936,_0x398827,_0x36a749,_0x20833f))==null?void 0x0:_0x10619b['v'];if(_0x45cb46==null||!_0x26483b||!_0x52b9ce)return!0x1;const _0x1643f0=await _0x119150['getPivotDisplayConfig']({'unitId':_0x541936,'subUnitId':_0x398827,'pivotTableId':_0x26483b,'params':{'type':A[_0x4d84ad(0x319)],'setPivotCollapse':{'tableFieldId':_0x52b9ce,'collapse':_0x1c82aa,'item':_0x45cb46}}}),_0x228651=_0x1643f0==null?void 0x0:_0x1643f0[_0x4d84ad(0x194)][_0x4d84ad(0x321)];if(!_0x228651)return!0x1;const {view:_0x120468,pivotTableConfig:_0x2fa9c5,isEmpty:_0x146a51,changesets:_0x5a6431}=_0x228651,_0x4076a8=new _0x14d91f();_0x4076a8[_0x4d84ad(0xc1)](_0x120468);const _0x380056=_0x2fa9c5[_0x4d84ad(0xb1)],_0x1e8282={'cellInfo':_0x380056,'view':_0x4076a8,'isEmpty':_0x146a51};if(!await _0x3e05dc[_0x4d84ad(0x2e9)](ie)[_0x4d84ad(0x1cf)][_0x4d84ad(0xaa)](be)(!0x0,_0x1e8282))return!0x1;const _0x1cbe09=we(_0x3e05dc,_0x4076a8,_0x380056,_0x146a51),_0x5216c5=_e(_0x3e05dc,_0x1e8282),{redos:_0x322ff8,undos:_0x4d19db}=me(_0x5ae564,{'pivotTableId':_0x26483b,'unitId':_0x541936,'subUnitId':_0x398827},_0x5a6431);return _0x2e7d7d([..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],_0x5ae564),_0x46ebe9[_0x4d84ad(0x216)]({'unitID':_0x541936,'redoMutations':[..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],'undoMutations':[..._0x1cbe09[_0x4d84ad(0x1e2)],..._0x5216c5['undos'],..._0x4d19db]}),!0x0;}},Ss={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xdd),async 'handler'(_0x230d0f,_0x2f2f12){const _0x110d63=_0x1675c1;if(!_0x2f2f12)return!0x1;const _0x3b08aa=_0x230d0f[_0x110d63(0x2e9)](_0x3408cd),{pivotTableId:_0x3c2478,tableFieldId:_0x19045d,items:_0x49ef0e,unitId:_0x25f2f8,subUnitId:_0x2b2de6,isAll:_0x33227e}=_0x2f2f12,_0x2e5d93=_0x230d0f['get'](Z),_0x29fe12=_0x230d0f['get'](_0x5ea86a),_0x27638d=(await _0x2e5d93[_0x110d63(0x180)]({'unitId':_0x25f2f8,'subUnitId':_0x2b2de6,'pivotTableId':_0x3c2478,'params':{'type':A[_0x110d63(0x28d)],'setPivotFilter':{'tableFieldId':_0x19045d,'items':_0x49ef0e,'isAll':_0x33227e}}}))[_0x110d63(0x194)][_0x110d63(0xe6)];if(!_0x27638d)return!0x1;const {changesets:_0x266420,pivotTableConfig:_0x5702ea,isEmpty:_0x1c9114,view:_0x17f4bc}=_0x27638d,_0x30fd75=_0x5702ea['targetCellInfo'],_0x21f916=new _0x14d91f();_0x21f916[_0x110d63(0xc1)](_0x17f4bc);const _0x35f01b={'cellInfo':_0x30fd75,'view':_0x21f916,'isEmpty':_0x1c9114};if(!await _0x230d0f['get'](ie)[_0x110d63(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x35f01b))return!0x1;const _0x25f07f=we(_0x230d0f,_0x21f916,_0x30fd75,_0x1c9114),_0x10256d=_e(_0x230d0f,_0x35f01b),{undos:_0x6d3212,redos:_0xfa8428}=me(_0x3b08aa,{'pivotTableId':_0x3c2478,'unitId':_0x25f2f8,'subUnitId':_0x2b2de6},_0x266420);return _0x2e7d7d([..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],_0x3b08aa),_0x29fe12['pushUndoRedo']({'unitID':_0x25f2f8,'redoMutations':[..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],'undoMutations':[..._0x25f07f[_0x110d63(0x1e2)],..._0x10256d['undos'],..._0x6d3212]}),!0x0;}},Ps={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x4329fa,_0x40c8c7){const _0x106480=_0x1675c1;if(!_0x40c8c7)return!0x1;const _0x71cbfc=_0x4329fa[_0x106480(0x2e9)](_0x3408cd),_0x71beaa=_0x4329fa[_0x106480(0x2e9)](_0x5ea86a),_0x31afdd=_0x4329fa[_0x106480(0x2e9)](Z),{info:_0x5d7b73,tableFieldId:_0x3df80c,pivotTableId:_0x23cb01,unitId:_0x180ea8,subUnitId:_0x404fc4}=_0x40c8c7,_0x3ae7d8=(await _0x31afdd['getPivotDisplayConfig']({'unitId':_0x180ea8,'subUnitId':_0x404fc4,'pivotTableId':_0x23cb01,'params':{'type':A[_0x106480(0x184)],'setPivotSort':{'tableFieldId':_0x3df80c,'info':_0x5d7b73}}}))['result'][_0x106480(0x1bb)];if(!_0x3ae7d8)return!0x1;const {changesets:_0x21a7e2}=_0x3ae7d8,{redos:_0x5b8364,undos:_0x401d87}=me(_0x71cbfc,{'pivotTableId':_0x23cb01,'unitId':_0x180ea8,'subUnitId':_0x404fc4},_0x21a7e2);return _0x2e7d7d(_0x5b8364,_0x71cbfc),_0x71beaa['pushUndoRedo']({'unitID':_0x180ea8,'redoMutations':_0x5b8364,'undoMutations':_0x401d87}),!0x0;}},Ts={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2cc),async 'handler'(_0x37ff89,_0x22bb71){const _0x43f7b5=_0x1675c1;if(!_0x22bb71)return!0x1;const _0x1dc34a=_0x37ff89[_0x43f7b5(0x2e9)](_0x3408cd),_0x508e39=_0x37ff89[_0x43f7b5(0x2e9)](_0x5ea86a),_0x261c5a=_0x37ff89[_0x43f7b5(0x2e9)](Z),{displayName:_0x120285,subtotalType:_0xa1816c,format:_0x2d5b87,tableFieldId:_0x2f2b3f,pivotTableId:_0x547d68,unitId:_0x12a313,subUnitId:_0x4a2f89}=_0x22bb71,_0x8267e=(await _0x261c5a[_0x43f7b5(0x180)]({'unitId':_0x12a313,'subUnitId':_0x4a2f89,'pivotTableId':_0x547d68,'params':{'type':A['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2f2b3f,'displayName':_0x120285,'subtotalType':_0xa1816c,'format':_0x2d5b87}}}))[_0x43f7b5(0x194)]['setPivotSetting'];if(!_0x8267e)return!0x1;const {changesets:_0x3d27c1,view:_0x43575e,pivotTableConfig:_0xa8be1,isEmpty:_0x107ec4}=_0x8267e,_0x4f0dd0=_0xa8be1[_0x43f7b5(0xb1)],_0x4ec1be=new _0x14d91f();_0x4ec1be[_0x43f7b5(0xc1)](_0x43575e);const _0x40b205={'cellInfo':_0x4f0dd0,'view':_0x4ec1be,'isEmpty':_0x107ec4};if(!await _0x37ff89[_0x43f7b5(0x2e9)](ie)[_0x43f7b5(0x1cf)][_0x43f7b5(0xaa)](be)(!0x0,_0x40b205))return!0x1;const _0x3e2135=we(_0x37ff89,_0x4ec1be,_0x4f0dd0,_0x107ec4),_0x1f0490=_e(_0x37ff89,_0x40b205),{undos:_0x52197f,redos:_0x323aa2}=me(_0x1dc34a,{'pivotTableId':_0x547d68,'unitId':_0x12a313,'subUnitId':_0x4a2f89},_0x3d27c1);return _0x2e7d7d([..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490['redos'],..._0x323aa2],_0x1dc34a),_0x508e39[_0x43f7b5(0x216)]({'unitID':_0x12a313,'redoMutations':[..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490[_0x43f7b5(0x1b3)],..._0x323aa2],'undoMutations':[..._0x3e2135['undos'],..._0x1f0490[_0x43f7b5(0x1e2)],..._0x52197f]}),!0x0;}},Ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x1ad),async 'handler'(_0x50d154,_0x530444){const _0x1f325b=_0x1675c1,_0x2fafe6=_0x50d154[_0x1f325b(0x2e9)](_0x3408cd),_0x36f2c2=_0x50d154['get'](Z),_0x43a816=_0x50d154['get'](_0x5ea86a);if(!_0x530444)return!0x1;const {token:_0x4a85a1,dataRangeInfo:_0x107be3,unitId:_0x3093d7,subUnitId:_0x3228ab}=_0x530444,_0x376106=[],_0x399e6b=[],_0x4519f1=(await _0x36f2c2[_0x1f325b(0x180)]({'unitId':_0x3093d7,'subUnitId':_0x3228ab,'pivotTableId':_0x4a85a1,'params':{'type':A['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}}))[_0x1f325b(0x194)][_0x1f325b(0x2df)];if(!_0x4519f1)return!0x1;const {changesets:_0x1dd644,deleteIds:_0x271586,collectionConfig:_0x43347a,oldCollectionConfig:_0x3b7548,view:_0x4955ad,isEmpty:_0xe041b7,pivotTableConfig:_0x4bfee1}=_0x4519f1;_0x399e6b[_0x1f325b(0x1a3)]({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':_0x271586,'collectionJSON':_0x43347a,'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}),_0x376106['unshift']({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':[],'collectionJSON':_0x3b7548,'dataRangeInfo':_0x4bfee1[_0x1f325b(0xdb)],'unitId':_0x3093d7,'subUnitId':_0x3228ab}});const _0x4978e1=_0x4bfee1[_0x1f325b(0xb1)],_0x2e07dc=new _0x14d91f();_0x2e07dc['formJSON'](_0x4955ad);const _0x176534={'cellInfo':_0x4978e1,'view':_0x2e07dc,'isEmpty':_0xe041b7};if(!await _0x50d154[_0x1f325b(0x2e9)](ie)[_0x1f325b(0x1cf)][_0x1f325b(0xaa)](be)(!0x0,_0x176534))return!0x1;const _0x327c9d=we(_0x50d154,_0x2e07dc,_0x4978e1,_0xe041b7),_0x2b15a5=_e(_0x50d154,_0x176534),{undos:_0x1c9bd3,redos:_0x261982}=me(_0x2fafe6,{'pivotTableId':_0x4a85a1,'unitId':_0x3093d7,'subUnitId':_0x3228ab},_0x1dd644);return _0x2e7d7d([..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],_0x2fafe6),_0x43a816[_0x1f325b(0x216)]({'unitID':_0x3093d7,'redoMutations':[..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],'undoMutations':[..._0x327c9d['undos'],..._0x2b15a5[_0x1f325b(0x1e2)],..._0x376106,..._0x261982]}),!0x0;}},ys={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x22b),async 'handler'(_0x43a981,_0x3400b3){const _0x1e0126=_0x1675c1;if(!_0x3400b3)return!0x1;const _0x4ebed0=_0x43a981['get'](_0x3408cd),_0x47024b=_0x43a981['get'](Z),_0x3698f2=_0x43a981[_0x1e0126(0x2e9)](_0x146954),_0x55ccdc=_0x43a981[_0x1e0126(0x2e9)](_0x5ea86a),{pivotTableId:_0x9377bb,position:_0x1769e8,index:_0x56ef43}=_0x3400b3,_0x57ac3b=_0x2075c9(_0x3698f2);if(!_0x57ac3b)return!0x1;const {unitId:_0x3e0b92,subUnitId:_0x385c87}=_0x57ac3b,_0x1acb6c=(await _0x47024b[_0x1e0126(0x180)]({'unitId':_0x3e0b92,'subUnitId':_0x385c87,'pivotTableId':_0x9377bb,'params':{'type':A['UpdateValuePosition'],'updateValuePosition':{'position':_0x1769e8,'index':_0x56ef43}}}))[_0x1e0126(0x194)][_0x1e0126(0x2dc)];if(!_0x1acb6c)return!0x1;const {changesets:_0x25552a,view:_0x1d0aae,isEmpty:_0x46ac5d,pivotTableConfig:_0x4fdb62}=_0x1acb6c,_0x98855e=_0x4fdb62[_0x1e0126(0xb1)],_0x3c6a39=new _0x14d91f();_0x3c6a39[_0x1e0126(0xc1)](_0x1d0aae);const _0x3e0059=_0x43a981[_0x1e0126(0x2e9)](ie),_0x4649d0={'cellInfo':_0x98855e,'view':_0x3c6a39,'isEmpty':_0x46ac5d};if(!await _0x3e0059['asyncInterceptor'][_0x1e0126(0xaa)](be)(!0x0,_0x4649d0))return!0x1;const _0x55e886=we(_0x43a981,_0x3c6a39,_0x98855e,_0x46ac5d),_0x1461f9=_e(_0x43a981,_0x4649d0),{undos:_0x7401f8,redos:_0x389c44}=me(_0x4ebed0,{'pivotTableId':_0x9377bb,'unitId':_0x3e0b92,'subUnitId':_0x385c87},_0x25552a);return _0x2e7d7d([..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],_0x4ebed0),_0x55ccdc[_0x1e0126(0x216)]({'unitID':_0x3e0b92,'redoMutations':[..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],'undoMutations':[..._0x55e886[_0x1e0126(0x1e2)],..._0x1461f9['undos'],..._0x7401f8]}),!0x0;}},ws={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xca),'handler':(_0x5dc504,_0x5d945f)=>{const _0x1c0424=_0x1675c1,_0x134d2f=_0x5dc504['get'](_0x3408cd),_0x218328=_0x5dc504[_0x1c0424(0x2e9)](_0x5ea86a),_0x32df0e=_0x5dc504['get'](ve),_0x35c60f=_0x5dc504[_0x1c0424(0x2e9)](_0x146954);if(!_0x5d945f)return!0x1;const _0x4bf873=_0x2075c9(_0x35c60f);if(!_0x4bf873)return!0x1;const {unitId:_0x54d567,subUnitId:_0x114423,workbook:_0x5453bd}=_0x4bf873,_0x4a6db1=_0x32df0e[_0x1c0424(0x14e)](_0x5d945f['originTargetInfo'][_0x1c0424(0x167)],_0x5d945f[_0x1c0424(0x24e)][_0x1c0424(0x20b)],_0x5d945f[_0x1c0424(0x2fb)]);if(!_0x4a6db1)return!0x1;const _0x1e66c9=_0x5453bd[_0x1c0424(0x2c0)](_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)]);if(!_0x1e66c9)throw new Error(_0x1c0424(0x2a7));const _0xc2b312=_0x1e66c9['getRowCount'](),_0x504090=_0x1e66c9['getColumnCount']();if(_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0xcd)]>_0xc2b312||_0x5d945f['targetCellInfo'][_0x1c0424(0x1d6)]>_0x504090)throw new Error(_0x1c0424(0x13d));const _0x3a99ea=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)],'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x5d945f[_0x1c0424(0xb1)]['row'],'col':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x1d6)]}}}],_0x29320d=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x114423,'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x4a6db1[_0x1c0424(0xb1)]['row'],'col':_0x4a6db1[_0x1c0424(0xb1)]['col']}}}];return _0x2e7d7d(_0x3a99ea,_0x134d2f)&&_0x218328['pushUndoRedo']({'unitID':_0x54d567,'undoMutations':_0x29320d,'redoMutations':_0x3a99ea}),!0x0;}},_s={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x271),async 'handler'(_0x5c0421,_0x265ca2){const _0x17a594=_0x1675c1;if(!_0x265ca2)return!0x1;const _0x3e8cf7=_0x5c0421[_0x17a594(0x2e9)](_0x3408cd),{pivotTableId:_0x825859,fieldId:_0x2b60f4,valueFilterInfo:_0x568cac,unitId:_0x21f659,subUnitId:_0x345db3}=_0x265ca2,_0x1bbd17=_0x5c0421[_0x17a594(0x2e9)](Z),_0x599ea5=_0x5c0421[_0x17a594(0x2e9)](_0x5ea86a),_0x31431b=(await _0x1bbd17[_0x17a594(0x180)]({'unitId':_0x21f659,'subUnitId':_0x345db3,'pivotTableId':_0x825859,'params':{'type':A['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x2b60f4,'filterInfo':_0x568cac}}}))['result'][_0x17a594(0x2d7)];if(!_0x31431b)return!0x1;const {changesets:_0x6201b2,pivotTableConfig:_0x2af91e,isEmpty:_0x1fd5f7,view:_0x1a2f4c}=_0x31431b,_0x30a370=_0x2af91e[_0x17a594(0xb1)],_0x5620a8=new _0x14d91f();_0x5620a8['formJSON'](_0x1a2f4c);const _0x20e627={'cellInfo':_0x30a370,'view':_0x5620a8,'isEmpty':_0x1fd5f7};if(!await _0x5c0421[_0x17a594(0x2e9)](ie)[_0x17a594(0x1cf)][_0x17a594(0xaa)](be)(!0x0,_0x20e627))return!0x1;const _0x540424=we(_0x5c0421,_0x5620a8,_0x30a370,_0x1fd5f7),_0x5274b3=_e(_0x5c0421,_0x20e627),{undos:_0x244ff2,redos:_0x1887a7}=me(_0x3e8cf7,{'pivotTableId':_0x825859,'unitId':_0x21f659,'subUnitId':_0x345db3},_0x6201b2);return _0x2e7d7d([..._0x540424['redos'],..._0x5274b3['redos'],..._0x1887a7],_0x3e8cf7),_0x599ea5[_0x17a594(0x216)]({'unitID':_0x21f659,'redoMutations':[..._0x540424[_0x17a594(0x1b3)],..._0x5274b3[_0x17a594(0x1b3)],..._0x1887a7],'undoMutations':[..._0x540424[_0x17a594(0x1e2)],..._0x5274b3[_0x17a594(0x1e2)],..._0x244ff2]}),!0x0;}},Fs={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x1ae676,_0x4f653a){const _0xb090b0=_0x1675c1;if(!_0x4f653a)return!0x1;const _0x42cc7c=_0x1ae676['get'](_0x3408cd),_0x5698a1=_0x1ae676[_0xb090b0(0x2e9)](_0x5ea86a),_0x2fdc36=_0x1ae676['get'](Z),{pivotTableConfig:_0x3bd31e,pivotTableId:_0x2467a2,unitId:_0x3d6a31,subUnitId:_0x516d5e}=_0x4f653a,_0x37b7b9=(await _0x2fdc36[_0xb090b0(0x180)]({'unitId':_0x3d6a31,'subUnitId':_0x516d5e,'pivotTableId':_0x2467a2,'params':{'type':A[_0xb090b0(0xef)],'setPivotTableConfig':{'pivotTableId':_0x2467a2,'pivotTableConfig':_0x3bd31e}}}))[_0xb090b0(0x194)][_0xb090b0(0x176)];if(!_0x37b7b9)return!0x1;const {changesets:_0x2ac131}=_0x37b7b9,{redos:_0x490540,undos:_0x4722e0}=me(_0x42cc7c,{'pivotTableId':_0x2467a2,'unitId':_0x3d6a31,'subUnitId':_0x516d5e},_0x2ac131);return _0x2e7d7d(_0x490540,_0x42cc7c),_0x5698a1['pushUndoRedo']({'unitID':_0x3d6a31,'redoMutations':_0x490540,'undoMutations':_0x4722e0}),!0x0;}},Ds={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x20d),async 'handler'(_0x277fcf,_0x2333e1){const _0x242ae2=_0x1675c1;if(!_0x2333e1)return!0x1;const _0x4276ce=_0x277fcf[_0x242ae2(0x2e9)](_0x3408cd),_0x29815b=_0x277fcf[_0x242ae2(0x2e9)](_0x5ea86a),_0x293a0a=_0x277fcf[_0x242ae2(0x2e9)](Z),{resetArea:_0x42052b,pivotTableId:_0x443bad,unitId:_0x4fffa7,subUnitId:_0x39518f}=_0x2333e1,_0x2e5ed0=(await _0x293a0a[_0x242ae2(0x180)]({'unitId':_0x4fffa7,'subUnitId':_0x39518f,'pivotTableId':_0x443bad,'params':{'type':A[_0x242ae2(0x306)],'resetPivotTable':{'pivotTableId':_0x443bad,'resetArea':_0x42052b}}}))[_0x242ae2(0x194)]['resetPivotTable'];if(!_0x2e5ed0)return!0x1;const {changesets:_0x5f39a5}=_0x2e5ed0,{redos:_0x2f40c8,undos:_0x390c99}=me(_0x4276ce,{'pivotTableId':_0x443bad,'unitId':_0x4fffa7,'subUnitId':_0x39518f},_0x5f39a5);return _0x2e7d7d(_0x2f40c8,_0x4276ce),_0x29815b[_0x242ae2(0x216)]({'unitID':_0x4fffa7,'redoMutations':_0x2f40c8,'undoMutations':_0x390c99}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x3fc5c3[_0x1675c1(0xd9)],'handler':(_0x19d25a,_0x358a50)=>{const _0x4af24b=_0x1675c1;if(!_0x358a50)return!0x1;if(!!_0x19d25a[_0x4af24b(0x2e9)](_0xe8dcbb)[_0x4af24b(0x1dc)](H))return!0x0;const {unitId:_0x256635,subUnitId:_0x3b68b4,pivotTableId:_0x3f8297,tableFieldId:_0x4791cb,dateType:_0x4ee5ca}=_0x358a50,_0x5eabe0=_0x19d25a['get'](G),_0x18b5d8=_0x5eabe0[_0x4af24b(0x220)](_0x3f8297);if(!_0x18b5d8)return!0x1;const _0x255ab1=_0x18b5d8[_0x4af24b(0xc0)](_0x4791cb);if(!_0x255ab1)return!0x1;const _0x774e=_0x255ab1[_0x4af24b(0x2e3)](),_0x48ccc5=_0x18b5d8['getDataFieldByDataFieldId'](_0x774e),_0x53b7a0=(_0x48ccc5==null?void 0x0:_0x48ccc5['getName']())+'\x20'+Ho(_0x19d25a,_0x4ee5ca);_0x5eabe0[_0x4af24b(0x28b)](_0x256635,_0x3f8297)[_0x4af24b(0x248)](_0x255ab1['id'],_0x53b7a0);const _0x325f9a=_0x18b5d8[_0x4af24b(0x289)](_0x4791cb);if(!_0x325f9a)return!0x1;_0x18b5d8[_0x4af24b(0x311)](_0x325f9a[_0x4af24b(0xf5)](),_0x53b7a0),_0x255ab1[_0x4af24b(0x28e)](_0x4ee5ca);const _0x269393=_0x5eabe0[_0x4af24b(0x14e)](_0x256635,_0x3b68b4,_0x3f8297);return _0x5eabe0[_0x4af24b(0x196)]({'unitId':_0x256635,'subUnitId':_0x3b68b4,'token':_0x3f8297,'type':L[_0x4af24b(0x2e2)],'pivotConfig':_0x269393}),!0x0;}},Rs={'id':_0x1675c1(0x166),'type':_0x3fc5c3[_0x1675c1(0x156)],'handler':(_0x457e11,_0xb3d48)=>{const _0x354c63=_0x1675c1;if(!_0xb3d48)return!0x1;const _0x5e1c0a=_0x457e11[_0x354c63(0x2e9)](_0x5ea86a),{unitId:_0x53a249,subUnitId:_0x49aa17,pivotTableId:_0xe26c07,tableFieldId:_0x258991}=_0xb3d48,_0x1dd836=[],_0x43c034=[],_0x5855b9=_0x457e11[_0x354c63(0x2e9)](ve),_0x185014=_0x5855b9['getCollection'](_0x53a249,_0xe26c07),_0x4a686c=_0x5855b9[_0x354c63(0x14e)](_0x53a249,_0x49aa17,_0xe26c07);if(!(_0x4a686c!=null&&_0x4a686c['fieldsConfig']['dimension']))return!0x1;const _0x5bb182=Object[_0x354c63(0x13a)](_0x4a686c[_0x354c63(0x2bd)][_0x354c63(0x151)])[_0x354c63(0x300)](_0x4dc913=>_0x4dc913['id']===_0x258991);if(!_0x5bb182)return!0x1;const _0x5cd1b7=_0x5bb182['dataFieldId'];if(!(_0x185014!=null&&_0x185014[_0x354c63(0x1be)]))return!0x1;const _0x39dcb1=Object['values'](_0x185014==null?void 0x0:_0x185014[_0x354c63(0x1be)])['find'](_0x475d08=>_0x475d08['id']===_0x5cd1b7);if(!_0x39dcb1)return!0x1;_0x465631(_0x39dcb1)&&_0x1dd836[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48,'dateType':_0x39dcb1[_0x354c63(0x2c4)]}}),_0x43c034[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48}});const _0x1a0e33=_0x457e11['get'](_0x3408cd);return _0x2e7d7d(_0x43c034,_0x1a0e33)&&_0x5e1c0a[_0x354c63(0x216)]({'unitID':_0x53a249,'undoMutations':_0x1dd836,'redoMutations':_0x43c034}),!0x0;}};var Ns=Object[_0x1675c1(0xd3)],Es=(_0x390171,_0x9ac1d9,_0x593cdf,_0x5f3094)=>{const _0x1377ff=_0x1675c1;for(var _0xd6229f=_0x5f3094>0x1?void 0x0:_0x5f3094?Ns(_0x9ac1d9,_0x593cdf):_0x9ac1d9,_0x375957=_0x390171[_0x1377ff(0xff)]-0x1,_0x32499e;_0x375957>=0x0;_0x375957--)(_0x32499e=_0x390171[_0x375957])&&(_0xd6229f=_0x32499e(_0xd6229f)||_0xd6229f);return _0xd6229f;},Ke=(_0x197dde,_0x4fe8b2)=>(_0x2c401d,_0x1ae313)=>_0x4fe8b2(_0x2c401d,_0x1ae313,_0x197dde);const Us=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x59f9fc,_0x134576,_0x57da18)=>{const _0x25db8a=_0x1675c1,_0x4d9401=_0x59f9fc['dataFieldsCollection'];_0x59f9fc['iterateFieldDim'](_0xe97447=>{const _0x545487=_0x2dae,_0x1aba92=_0xe97447[_0x545487(0xf5)](),_0x6a562e=_0xe97447['getDataFieldId'](),_0x309432=_0xe97447[_0x545487(0x267)](),_0x3b4128=_0xe97447['getDisplayName']();_0x134576[_0x6a562e]&&_0x134576[_0x6a562e]===_0x3b4128&&_0x309432===_0x3b4128&&(_0x59f9fc[_0x545487(0x311)](_0x1aba92,_0x4d9401['getDisplayName'](_0x6a562e)),_0xe97447['setSourceName'](_0x4d9401[_0x545487(0x16f)](_0x6a562e)));}),_0x59f9fc[_0x25db8a(0x29b)](_0x4cc34c[_0x25db8a(0x9c)],_0x18e13b=>{const _0x2e24b4=_0x25db8a,_0x224eaf=_0x18e13b['getId'](),_0x5c2b8a=_0x18e13b['getDataFieldId'](),_0x4ce840=_0x18e13b[_0x2e24b4(0x267)](),_0x35d511=_0x18e13b[_0x2e24b4(0x16f)](),_0x9e34a6=_0x18e13b[_0x2e24b4(0x27b)](),_0x2ba1fe=_0x57da18(_0x4ce840,_0x9e34a6);_0x134576[_0x5c2b8a]&&_0x134576[_0x5c2b8a]===_0x4ce840&&_0x2ba1fe===_0x35d511&&(_0x59f9fc[_0x2e24b4(0x311)](_0x224eaf,_0x57da18(_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a),_0x9e34a6)),_0x18e13b[_0x2e24b4(0x141)](_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a)));});},Os=(_0x5cb149,_0x1e7a8e,_0x55c6e7)=>{const _0x31a3df=_0x1675c1;var _0x5beddb,_0x54b365;const {arrayFormulaCellData:_0x57a0a8,unitData:_0x23bc36}=_0x1e7a8e,{unitId:_0x18f904,subUnitId:_0x358eaa}=_0x55c6e7,_0xad68b9=_0x55c6e7[_0x31a3df(0x27c)],{startColumn:_0x471e77,endColumn:_0x5c8415}=_0xad68b9,_0x101c49=(_0x5beddb=_0x57a0a8==null?void 0x0:_0x57a0a8[_0x18f904])==null?void 0x0:_0x5beddb[_0x358eaa],_0x50b188=(_0x54b365=_0x23bc36==null?void 0x0:_0x23bc36[_0x18f904])==null?void 0x0:_0x54b365[_0x358eaa],_0x323cdd=new Set(),_0x2029bf=_0x5c8415-_0x471e77+0x1,{dirtyRanges:_0x367897}=_0x5cb149;if(_0x367897)for(const {range:_0x55c74f,sheetId:_0x15c484,unitId:_0x4bd436}of _0x367897){if(_0x15c484!==_0x358eaa||_0x18f904!==_0x4bd436)continue;const _0x499375=_0x351caf['getIntersects'](_0x55c74f,_0xad68b9);if(_0x499375){const {startColumn:_0x31900d,endColumn:_0x3bfe7c}=_0x499375;for(let _0x1e8168=_0x31900d;_0x1e8168<=_0x3bfe7c;_0x1e8168++)_0x323cdd[_0x31a3df(0x1a7)](_0x1e8168);}}if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf||_0x323cdd['size']===_0x2029bf)return Array[_0x31a3df(0x2f9)](_0x323cdd);if(_0x50b188){const _0x55f7ca=_0x50b188[_0x31a3df(0x29d)](),_0x400fe4=Object['keys'](_0x55f7ca);for(const _0x294a4f of _0x400fe4){const _0x5d5e82=Number(_0x294a4f),_0xb54843=_0x55f7ca[_0x5d5e82];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x55d4a0 in _0xb54843){const _0x2a0a47=Number(_0x55d4a0);_0x2a0a47<_0x471e77||_0x2a0a47>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x2a0a47);}}}if(_0x101c49){const _0x32c2de=_0x101c49['getMatrix'](),_0x551d94=Object[_0x31a3df(0x121)](_0x32c2de);for(const _0x144f8f of _0x551d94){const _0x3b7410=Number(_0x144f8f),_0x282a26=_0x32c2de[_0x3b7410];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x53f4c3 in _0x282a26){const _0x5de2dd=Number(_0x53f4c3);_0x5de2dd<_0x471e77||_0x5de2dd>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x5de2dd);}}}return Array[_0x31a3df(0x2f9)](_0x323cdd);},xs=_0xf5b5ee=>{const _0x14113f=_0x1675c1,_0x53242e=new Set(),_0x24545e=[];for(const _0x2ebefe of _0xf5b5ee){const _0x5d7b48=_0x2ebefe[_0x14113f(0x21c)]+','+_0x2ebefe['endRow']+','+_0x2ebefe['startColumn']+','+_0x2ebefe[_0x14113f(0xa1)];_0x53242e[_0x14113f(0x1b4)](_0x5d7b48)||(_0x53242e[_0x14113f(0x1a7)](_0x5d7b48),_0x24545e[_0x14113f(0x1a3)](_0x2ebefe));}return _0x24545e;};let ct=class extends _0x5334b7{constructor(_0x1a10e0,_0x41f94e,_0x1dfed5,_0xd1f988,_0x23fe56,_0x335641){const _0x3c4c0d=_0x1675c1;super(),U(this,_0x3c4c0d(0x2d9),new _0x3370f8(!0x0)),U(this,_0x3c4c0d(0x1b5),_0x1a4391=>{const _0x53e7c3=_0x3c4c0d;this['_globalSubject'][_0x53e7c3(0x294)](!0x1);}),U(this,'_globalComputedEndHelpFunc',_0x2e3c9d=>{const _0x5e83fa=_0x3c4c0d;this[_0x5e83fa(0x2d9)][_0x5e83fa(0x294)](!0x0);}),(this[_0x3c4c0d(0x1ce)]=_0x1a10e0,this['_configService']=_0x41f94e,this[_0x3c4c0d(0x1d5)]=_0x1dfed5,this[_0x3c4c0d(0x25d)]=_0xd1f988,this[_0x3c4c0d(0x278)]=_0x23fe56,this[_0x3c4c0d(0x312)]=_0x335641,this[_0x3c4c0d(0x2b8)](),this[_0x3c4c0d(0x150)]());}[_0x1675c1(0x2b8)](){const _0x1e14ca=_0x1675c1;this['_subjectCollectionChange'](),this[_0x1e14ca(0xd5)](),this[_0x1e14ca(0x2af)](),this[_0x1e14ca(0x2e4)]();}[_0x1675c1(0x16e)](){const _0x52e2e6=_0x1675c1;this[_0x52e2e6(0x278)]['pushComputingStatusSubject'](this[_0x52e2e6(0x2d9)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x2ae)],this[_0x52e2e6(0x1b5)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x1c6)],this[_0x52e2e6(0x205)]);}[_0x1675c1(0x150)](){const _0x33b06e=_0x1675c1;this[_0x33b06e(0x1ea)](this[_0x33b06e(0x25d)][_0x33b06e(0x170)](_0x43367e=>{const _0x4ec15b=_0x33b06e;_0x43367e['id']===_0x39fdc9['id']&&this[_0x4ec15b(0x1ce)]['handleMoveRange'](_0x43367e[_0x4ec15b(0xa2)]);})),this['disposeWithMe'](this[_0x33b06e(0x25d)]['onCommandExecuted'](_0x5b668f=>{const _0x47d5b3=_0x33b06e;if(_0x5b668f['id']!==ro['id'])return;const _0xbf2241=_0x5b668f[_0x47d5b3(0xa2)],{unitId:_0x3dc222,subUnitId:_0x4d2fac,pivotTableId:_0x2de7a0}=_0xbf2241,_0x4b7142=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x168)],_0x2eb7cd={};switch(_0x4b7142){case A[_0x47d5b3(0x1aa)]:{const _0x57c99e=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x29a)];if(!_0x57c99e)return;const {row:_0x45d461,col:_0x2e0e1e,cellData:_0x1bfbe8,pivotItemRenderInfoCache:_0xcb6f5c,tableFieldId:_0x563c2b}=_0x57c99e,_0x311c2b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0xbf2241[_0x47d5b3(0x2fb)]);if(!_0x311c2b||!_0xcb6f5c)return;if(_0x563c2b){const _0x1e4a32=_0x311c2b[_0x47d5b3(0xc0)](_0x563c2b);if(!_0x1e4a32)return;_0x2eb7cd[_0x47d5b3(0x29a)]={..._0x311c2b['getDataFieldItemInfo'](_0x1e4a32),'tableFieldId':_0x563c2b,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x563c2b),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x563c2b),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x563c2b)};}else{const _0x1bb195=Oi(_0x45d461,_0x2e0e1e,_0x1bfbe8,_0x311c2b,_0xcb6f5c),_0x13e05f=_0x1bb195==null?void 0x0:_0x1bb195[_0x47d5b3(0x112)];if(!_0x13e05f)return;const _0x5338fe=_0x311c2b[_0x47d5b3(0xc0)](_0x13e05f);if(!_0x5338fe)return;_0x2eb7cd['filter']={..._0x311c2b[_0x47d5b3(0x1ab)](_0x5338fe),'tableFieldId':_0x13e05f,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x13e05f),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x13e05f),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x13e05f)};}}break;case A[_0x47d5b3(0x317)]:{const _0x250bab=_0xbf2241['params']['panel'];if(!_0x250bab)return;const {pivotTableId:_0x3ee0bc}=_0x250bab,_0xd0f1f7=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x3ee0bc);if(!_0xd0f1f7)return;const _0x3104dc=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x3ee0bc),_0x51de93=xi(_0xd0f1f7,_0x3ee0bc,_0x3104dc);_0x2eb7cd['panel']=_0x51de93;}break;case A[_0x47d5b3(0x13e)]:{const _0xd0f1b1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x2011e4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x23a)](_0x3dc222),_0x537627=_0x2011e4[_0x47d5b3(0x28b)](_0x2de7a0);let _0x92220d=null;const _0x1957a1=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0),_0x4517ef=_0xbf2241['params'][_0x47d5b3(0x2ec)];if(!_0xd0f1b1||!_0x1957a1||!_0x4517ef)return!0x1;const {dataFieldId:_0x4387ea,fieldArea:_0x14b913,index:_0x48cc7c}=_0x4517ef;_0xd0f1b1['startCollectChangeset']();const _0x4bf5c0=_0xd0f1b1['addFieldWithSourceId'](_0x4387ea,_0x14b913,_0x48cc7c);if(_0x4bf5c0&&_0x14b913===_0x4cc34c['Value']){const _0x3ce831=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x1dfddb=_0xd0f1b1['getDataFieldByTableId'](_0x3ce831);if(_0x1dfddb){const _0x48db3d=_0x1dfddb==null?void 0x0:_0x1dfddb[_0x47d5b3(0x2ea)]();_0xd0f1b1['setSubtotalType'](_0x4bf5c0['getId'](),_0x48db3d===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465['count']);}const _0x29ad05=_0xd0f1b1[_0x47d5b3(0x125)](),_0x1a81f3=_0xd0f1b1['getValuePosition'](),_0x152da6=_0xd0f1b1[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x29ad05===-0x1&&_0x152da6>0x1){const _0x4a22a8=_0x1a81f3===_0x229120[_0x47d5b3(0x162)]?_0x229120[_0x47d5b3(0x258)]:_0x1a81f3,_0x7ed087=_0x4a22a8===_0x229120['Row']?_0x4cc34c['Row']:_0x4cc34c[_0x47d5b3(0x258)];_0xd0f1b1[_0x47d5b3(0x2dc)](_0x4a22a8,_0xd0f1b1[_0x47d5b3(0xb4)](_0x7ed087));}}else{if(_0x4bf5c0&&(_0x14b913===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x14b913===_0x4cc34c['Column'])){const _0x6b54a4=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x260631=_0xd0f1b1[_0x47d5b3(0xc0)](_0x6b54a4);if(_0x260631&&(_0x260631==null?void 0x0:_0x260631[_0x47d5b3(0x2ea)]())===_0x4f8f52['date']){const _0x224010=_0x260631[_0x47d5b3(0x107)]();if(_0x224010&&_0xd0f1b1[_0x47d5b3(0x308)](_0x4bf5c0[_0x47d5b3(0xf5)](),_0x224010),!_0x537627[_0x47d5b3(0x2eb)]()['some'](_0x2774aa=>{const _0x67c62e=_0x47d5b3,_0x30b85f=_0x537627[_0x67c62e(0xe0)](_0x2774aa);return _0x3b4148(_0x30b85f)?_0x30b85f[_0x67c62e(0xd2)]()[_0x67c62e(0x17c)]===_0x4387ea:!0x1;})){const _0x52d179=_0x2011e4[_0x47d5b3(0x18c)](),_0xed4161=Ji(_0x260631[_0x47d5b3(0x11c)],_0x260631[_0x47d5b3(0x2b3)]),_0x2d70dc=_0x260631['getName']()+_0x47d5b3(0x119)+Ho(this[_0x47d5b3(0x312)],_0xed4161),_0x3a6f3c=new _0x6b76c2(_0x52d179,_0x2d70dc,_0x248684(0x3),_0x260631[_0x47d5b3(0xf5)](),_0xed4161);_0x2011e4[_0x47d5b3(0x282)](_0x3a6f3c),_0x537627[_0x47d5b3(0x273)](_0x52d179,_0x2d70dc),_0xd0f1b1[_0x47d5b3(0x171)](_0x52d179,_0x14b913,(_0x48cc7c!=null?_0x48cc7c:0x0)+0x1),_0x92220d=_0x3a6f3c;}}}}const _0x4a0669=_0xd0f1b1[_0x47d5b3(0x22a)](),_0x20cb2b=_0xd0f1b1[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)]();let _0x4807cb;if(_0x92220d){_0x4807cb=_0x92220d[_0x47d5b3(0x132)]();const _0x3824c7=_0x92220d[_0x47d5b3(0xf5)]();_0x537627[_0x47d5b3(0x303)](_0x3824c7);let _0x5a40fc=!0x0;for(const _0x2f8988 in _0x2011e4[_0x47d5b3(0x234)])if(_0x2011e4[_0x47d5b3(0x234)][_0x2f8988][_0x47d5b3(0x2eb)]()[_0x47d5b3(0x19f)](_0x3824c7)){_0x5a40fc=!0x1;break;}_0x5a40fc&&_0x2011e4[_0x47d5b3(0x137)](_0x3824c7);}const _0x1543d8=_0xd0f1b1['endCollectChangeset']();_0x2eb7cd['addPivotField']={'view':_0x20cb2b,'changesets':_0x1543d8,'isEmpty':_0x4a0669,'pivotTableConfig':_0x1957a1,'shouldBeAddedGroupJSON':_0x4807cb};}break;case A['AddPivotTable']:{const _0x183166=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x199)];if(!_0x183166)return;const _0x1e6ff5=_0x183166[_0x47d5b3(0xdb)],_0x1f8839=_0x183166['pivotTableId'],{collection:_0x298744}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e6ff5[_0x47d5b3(0x167)],'sheetName':_0x1e6ff5[_0x47d5b3(0x128)],'subUnitId':_0x1e6ff5['subUnitId'],'range':_0x1e6ff5[_0x47d5b3(0x27c)]}),_0x9da5bf=new _0x16e808(_0x298744,void 0x0,_0x1f8839),_0xb3fafd=_0x9da5bf['query'](),_0x458597=_0x9da5bf['toJSON'](),_0x175ae1=_0x298744[_0x47d5b3(0x132)]();_0x2eb7cd[_0x47d5b3(0x199)]={'view':_0xb3fafd,'fieldsConfig':_0x458597,'collectionConfig':_0x175ae1,'isEmpty':_0x9da5bf[_0x47d5b3(0x22a)]()};}break;case A[_0x47d5b3(0x1c9)]:{const _0x5b8898=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2b0)];if(!_0x5b8898)return;const {fieldId:_0x52df22,area:_0x256b75,index:_0x52448c}=_0x5b8898,_0x22092b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x22092b)return;const _0x298cbe=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x298cbe)return;_0x298cbe[_0x47d5b3(0x127)]();const {area:_0x3dce59,index:_0x4a26df}=_0x298cbe[_0x47d5b3(0x316)](_0x52df22);if(_0x298cbe[_0x47d5b3(0x2cb)](_0x52df22,_0x256b75,_0x52448c),_0x256b75===_0x4cc34c['Value']&&_0x298cbe['getTableFieldById'](_0x52df22)['getSubtotal']()===void 0x0){const _0x441414=_0x298cbe['getTableFieldById'](_0x52df22);if(_0x441414&&_0x441414['getSubtotal']()===void 0x0){const _0x2e7155=_0x298cbe[_0x47d5b3(0xc0)](_0x52df22);if(_0x2e7155){const _0x44c1d9=_0x2e7155==null?void 0x0:_0x2e7155[_0x47d5b3(0x2ea)]();_0x298cbe['setSubtotalType'](_0x52df22,_0x44c1d9===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}}const _0x44af0f=_0x298cbe[_0x47d5b3(0x18e)](),_0x2f124d=_0x298cbe[_0x47d5b3(0x125)](),_0x25c309=_0x298cbe[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)])>0x1;if(_0x25c309&&_0x3dce59===_0x256b75&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x256b75===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])){let _0x2a165b=_0x2f124d;_0x4a26df<=_0x2f124d&&_0x2a165b--,_0x52448c<=_0x2f124d&&_0x2a165b++,_0x298cbe['updateValuePosition'](_0x44af0f,_0x2a165b);}else _0x25c309&&(_0x3dce59===_0x4cc34c['Row']&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x3dce59===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x4a26df&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d-0x1),_0x25c309&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120['Row']||_0x256b75===_0x4cc34c[_0x47d5b3(0x258)]&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x52448c&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d+0x1);const _0x54eda7=_0x298cbe[_0x47d5b3(0x274)](),_0x2d3bb8=_0x298cbe[_0x47d5b3(0x22a)](),_0x44c48e=_0x298cbe['endCollectChangeset']();_0x2eb7cd['movePivotField']={'view':_0x54eda7[_0x47d5b3(0x132)](),'changesets':_0x44c48e,'isEmpty':_0x2d3bb8,'pivotTableConfig':_0x22092b};}break;case A[_0x47d5b3(0x301)]:{const _0x2f79fd=_0xbf2241['params'][_0x47d5b3(0x10f)];if(!_0x2f79fd)return;const _0x21a62e=_0x2f79fd[_0x47d5b3(0x1e3)],_0x3bf09d=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x3bf09d)return!0x1;const _0x28d456=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x28d456)return!0x1;_0x28d456[_0x47d5b3(0x127)]();for(const _0x56941d of _0x21a62e){const {area:_0x395611}=_0x28d456[_0x47d5b3(0x316)](_0x56941d);_0x395611===_0x4cc34c['Value']&&_0x28d456[_0x47d5b3(0xb8)](_0x56941d),(_0x395611===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x395611===_0x4cc34c[_0x47d5b3(0x258)])&&_0x28d456['removeValueFilterInfo'](_0x56941d),_0x28d456[_0x47d5b3(0x198)](_0x56941d);}const _0xdbdb6d=_0x28d456[_0x47d5b3(0x22a)](),_0x46f79b=_0x28d456['query']()[_0x47d5b3(0x132)](),_0x401dc4=_0x28d456[_0x47d5b3(0x19c)]();_0x2eb7cd['removePivotField']={'changesets':_0x401dc4,'pivotTableConfig':_0x3bf09d,'isEmpty':_0xdbdb6d,'view':_0x46f79b};}break;case A[_0x47d5b3(0x28d)]:{const _0x4c9362=_0xbf2241['params']['setPivotFilter'];if(!_0x4c9362)return;const {tableFieldId:_0x11d5fc,items:_0xbec1fa,isAll:_0x346624}=_0x4c9362,_0x42babd=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x503db4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x42babd||!_0x503db4)return;_0x42babd[_0x47d5b3(0x127)](),_0x42babd[_0x47d5b3(0xba)](_0x11d5fc,{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0xbec1fa,'isAll':_0x346624});const _0x18040a=_0x42babd[_0x47d5b3(0x22a)](),_0x3f734d=_0x42babd['query']()[_0x47d5b3(0x132)](),_0x126217=_0x42babd[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0xe6)]={'view':_0x3f734d,'changesets':_0x126217,'isEmpty':_0x18040a,'pivotTableConfig':_0x503db4};}break;case A[_0x47d5b3(0xc3)]:{const _0x5b3585=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2d7)];if(!_0x5b3585)return;const {tableFieldId:_0x2165a4,filterInfo:_0x10d083}=_0x5b3585,_0x29cbcb=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x14edd4=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x29cbcb||!_0x14edd4)return;_0x29cbcb[_0x47d5b3(0x127)](),_0x29cbcb[_0x47d5b3(0x23c)](_0x2165a4,_0x10d083);const _0x44f0f7=_0x29cbcb[_0x47d5b3(0x22a)](),_0xce5f45=_0x29cbcb[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x3dfcac=_0x29cbcb[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x2d7)]={'view':_0xce5f45,'changesets':_0x3dfcac,'isEmpty':_0x44f0f7,'pivotTableConfig':_0x14edd4};}break;case A[_0x47d5b3(0x184)]:{const _0x3c0873=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1bb)];if(!_0x3c0873)return;const {tableFieldId:_0x5ba73f,info:_0x27afa0}=_0x3c0873,_0x2de570=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5ba86d=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x2de570||!_0x5ba86d)return;_0x2de570[_0x47d5b3(0x127)](),_0x2de570[_0x47d5b3(0x17b)](_0x5ba73f,_0x27afa0);const _0x2c6707=_0x2de570[_0x47d5b3(0x22a)](),_0x21d172=_0x2de570[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x16f2ee=_0x2de570['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x1bb)]={'view':_0x21d172,'changesets':_0x16f2ee,'isEmpty':_0x2c6707,'pivotTableConfig':_0x5ba86d};}break;case A['SetPivotSetting']:{const _0x27bc2b=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1fa)];if(!_0x27bc2b)return;const {tableFieldId:_0x3f0708,displayName:_0x41aa00,subtotalType:_0x3c6a02,format:_0x3fddb8}=_0x27bc2b,_0x5643d8=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x226be1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5643d8||!_0x226be1)return;_0x5643d8['startCollectChangeset'](),_0x41aa00!==void 0x0&&_0x5643d8[_0x47d5b3(0x311)](_0x3f0708,_0x41aa00),_0x3c6a02!==void 0x0&&_0x5643d8['setSubtotalType'](_0x3f0708,_0x3c6a02),_0x3fddb8!==void 0x0&&_0x5643d8[_0x47d5b3(0x308)](_0x3f0708,_0x3fddb8);const _0x5c9601=_0x5643d8['isEmpty'](),_0xbe8cf8=_0x5643d8[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x467bcb=_0x5643d8[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1fa)]={'changesets':_0x467bcb,'pivotTableConfig':_0x226be1,'isEmpty':_0x5c9601,'view':_0xbe8cf8};}break;case A[_0x47d5b3(0x10a)]:{const _0x2465c9=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2df)];if(!_0x2465c9)return;const {dataRangeInfo:_0x3fe36c,unitId:_0x39ae09,subUnitId:_0xa00002}=_0x2465c9,_0x2a5200=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x39ae09,_0xa00002,_0x2de7a0),_0x2128f3=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2de7a0);if(!this[_0x47d5b3(0x1ce)]['getCollection'](_0x39ae09,_0x2de7a0)||!_0x2128f3||!_0x2a5200)return;const _0x5b4bf5=this[_0x47d5b3(0x1ce)]['getUpdateRangeDeleteIds'](_0x39ae09,_0x2de7a0,_0x3fe36c),_0x462fc3=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x28b)](_0x39ae09,_0x2de7a0)[_0x47d5b3(0x132)](),{collection:_0x1378ec}=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x1c0)]({'unitId':_0x3fe36c[_0x47d5b3(0x167)],'sheetName':_0x3fe36c['sheetName'],'subUnitId':_0x3fe36c[_0x47d5b3(0x20b)],'range':_0x3fe36c['range']}),_0x3d66ad=_0x1378ec[_0x47d5b3(0x132)]();_0x2128f3['startCollectChangeset']();const _0x4af10a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0x39ae09)[_0x47d5b3(0x318)]()||_0x1f98bb;_0x2128f3['iterateField'](_0x2f8459=>{const _0x18e052=_0x47d5b3,_0x5f37ec=_0x2f8459['getDataFieldId']();if(!_0x1378ec[_0x18e052(0x19b)](_0x5f37ec)){const _0x42b978=_0x1378ec[_0x18e052(0x2d4)](_0x2f8459[_0x18e052(0x267)]());if(_0x42b978){_0x2128f3[_0x18e052(0x136)](_0x2f8459[_0x18e052(0xf5)](),_0x42b978[_0x18e052(0xce)](),_0x42b978['getId']());const {area:_0x46e964}=_0x2128f3[_0x18e052(0x316)](_0x2f8459[_0x18e052(0xf5)]());let _0x9c95fb=_0x2f8459[_0x18e052(0x267)]();const _0x38c6fa=_0x2f8459[_0x18e052(0x16f)]();if(_0x46e964===_0x4cc34c[_0x18e052(0x9c)]){const _0x5d7f77=_0x2f8459[_0x18e052(0x27b)]();_0x9c95fb=_0x4af10a(_0x42b978[_0x18e052(0xce)](),_0x5d7f77);}_0x38c6fa!==_0x9c95fb&&_0x2128f3[_0x18e052(0x311)](_0x2f8459[_0x18e052(0xf5)](),_0x9c95fb);}else _0x2128f3[_0x18e052(0x198)](_0x2f8459[_0x18e052(0xf5)]());}});const _0x372fcd=_0x2128f3[_0x47d5b3(0x22a)](),_0x217a8e=_0x2128f3[_0x47d5b3(0x274)]()['toJSON'](),_0x4db6ea=_0x2128f3['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2df)]={'view':_0x217a8e,'changesets':_0x4db6ea,'isEmpty':_0x372fcd,'pivotTableConfig':_0x2a5200,'collectionConfig':_0x3d66ad,'oldCollectionConfig':_0x462fc3,'deleteIds':_0x5b4bf5};}break;case A[_0x47d5b3(0x1b2)]:{const _0x50af40=_0xbf2241['params'][_0x47d5b3(0x2dc)];if(!_0x50af40)return;const {position:_0xbc8b2c,index:_0x685036}=_0x50af40,_0x5edbdd=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5edbdd)return!0x1;const _0x4a4cb5=this[_0x47d5b3(0x1ce)]['getPivotTableInstance'](_0x2de7a0);if(!_0x4a4cb5)return!0x1;_0x4a4cb5[_0x47d5b3(0x127)](),_0x4a4cb5[_0x47d5b3(0x2dc)](_0xbc8b2c,_0x685036);const _0x5a51f0=_0x4a4cb5['isEmpty'](),_0x19b193=_0x4a4cb5['query']()[_0x47d5b3(0x132)](),_0xc335cb=_0x4a4cb5['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2dc)]={'changesets':_0xc335cb,'pivotTableConfig':_0x5edbdd,'isEmpty':_0x5a51f0,'view':_0x19b193};}break;case A[_0x47d5b3(0x319)]:{const _0x50f1d5=_0xbf2241[_0x47d5b3(0xa2)]['setPivotCollapse'];if(!_0x50f1d5)return;const {tableFieldId:_0x190c54,collapse:_0x2e172e,item:_0x501025}=_0x50f1d5,_0x1b5cad=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4e7c6b=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x1b5cad||!_0x4e7c6b)return;_0x1b5cad[_0x47d5b3(0x127)](),_0x1b5cad[_0x47d5b3(0x302)](_0x190c54,_0x2e172e,_0x501025);const _0x98e390=_0x1b5cad[_0x47d5b3(0x22a)](),_0x573ecb=_0x1b5cad[_0x47d5b3(0x274)]()['toJSON'](),_0x2a6c0b=_0x1b5cad[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x321)]={'view':_0x573ecb,'isEmpty':_0x98e390,'pivotTableConfig':_0x4e7c6b,'changesets':_0x2a6c0b};}break;case A[_0x47d5b3(0xef)]:{const _0x4f989b=_0xbf2241[_0x47d5b3(0xa2)]['setPivotTableConfig'];if(!_0x4f989b)return;const {pivotTableConfig:_0x166764}=_0x4f989b,_0x5a3030=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4bb72a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5a3030||!_0x4bb72a)return;_0x5a3030[_0x47d5b3(0x127)](),$i(_0x5a3030,_0x166764);const _0xf6f2b0=_0x5a3030[_0x47d5b3(0x22a)](),_0x5bb61e=_0x5a3030[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x4e2423=_0x5a3030[_0x47d5b3(0x19c)]();_0x2eb7cd['setPivotTableConfig']={'view':_0x5bb61e,'isEmpty':_0xf6f2b0,'pivotTableConfig':{..._0x4bb72a,'fieldsConfig':_0x5a3030['toJSON']()},'changesets':_0x4e2423};}break;case A[_0x47d5b3(0x306)]:{const _0x26a5bc=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1e7)];if(!_0x26a5bc)return;const _0x37ac99=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5c7edf=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x37ac99||!_0x5c7edf)return;_0x37ac99[_0x47d5b3(0x127)](),zi(_0x37ac99,_0x26a5bc[_0x47d5b3(0x25f)]);const _0x4ece8b=_0x37ac99[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x10575e=_0x37ac99[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1e7)]={'view':_0x4ece8b,'isEmpty':!0x0,'pivotTableConfig':{..._0x5c7edf,'fieldsConfig':_0x37ac99[_0x47d5b3(0x132)]()},'changesets':_0x10575e};}break;case A[_0x47d5b3(0x208)]:{const _0x2c06a1=_0xbf2241['params'][_0x47d5b3(0x11f)];if(!_0x2c06a1)return;const _0xd37a56=_0x2c06a1[_0x47d5b3(0xdb)],_0x143206=_0x2c06a1[_0x47d5b3(0x2fb)],{collection:_0x436661}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xd37a56[_0x47d5b3(0x167)],'sheetName':_0xd37a56[_0x47d5b3(0x128)],'subUnitId':_0xd37a56[_0x47d5b3(0x20b)],'range':_0xd37a56['range']}),_0x265422=new _0x16e808(_0x436661,void 0x0,_0x143206),_0x34a0e1=_0x436661[_0x47d5b3(0x2eb)](),{rows:_0x3e6a75,columns:_0x3ef824,filters:_0x1a59df,values:_0x45f5f0}=_0x2c06a1[_0x47d5b3(0x155)];_0x265422['startCollectChangeset']();for(const {field:_0xabd9a3,selectedItems:_0x50fdae}of _0x3e6a75||[]){const _0x118612=_0x34a0e1[_0xabd9a3];if(_0x118612){const _0x2d79d2=_0x265422[_0x47d5b3(0x171)](_0x118612,_0x4cc34c[_0x47d5b3(0x1e1)]);_0x50fdae&&_0x2d79d2&&_0x265422[_0x47d5b3(0xba)](_0x2d79d2[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x50fdae,'isAll':!0x1});}}for(const {field:_0x2d5d37,selectedItems:_0x4cb69a}of _0x3ef824||[]){const _0x424ab2=_0x34a0e1[_0x2d5d37];if(_0x424ab2){const _0x21af12=_0x265422['addFieldWithSourceId'](_0x424ab2,_0x4cc34c[_0x47d5b3(0x258)]);_0x4cb69a&&_0x21af12&&_0x265422['setLabelFilterInfo'](_0x21af12[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x4cb69a,'isAll':!0x1});}}for(const {field:_0x49b3b6,selectedItems:_0x1ef9d2}of _0x1a59df||[]){const _0x41f6f5=_0x34a0e1[_0x49b3b6];if(_0x41f6f5){const _0xa32b0f=_0x265422['addFieldWithSourceId'](_0x41f6f5,_0x4cc34c[_0x47d5b3(0x1aa)]);_0x1ef9d2&&_0xa32b0f&&_0x265422[_0x47d5b3(0xba)](_0xa32b0f[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x1ef9d2,'isAll':!0x1});}}for(const {field:_0x45987b,subTotalType:_0x1a8b1c,formatString:_0x4f1d2b}of _0x45f5f0||[]){const _0xfb83e3=_0x436661[_0x47d5b3(0xe0)](_0x34a0e1[_0x45987b]);if(!_0xfb83e3)continue;const _0xf64bda=_0x34a0e1[_0x45987b];if(_0xf64bda){const _0x488d7b=_0x265422[_0x47d5b3(0x171)](_0xf64bda,_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x488d7b){if(_0x1a8b1c!==void 0x0){_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x1a8b1c);const _0x1504a1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0xd37a56[_0x47d5b3(0x167)])[_0x47d5b3(0x318)]()||_0x1f98bb,_0x151897=_0x436661[_0x47d5b3(0x16f)](_0xf64bda),_0x44c193=_0x1504a1(_0x151897,_0x1a8b1c);_0x265422[_0x47d5b3(0x311)](_0x488d7b['getId'](),_0x44c193);}else{if(_0xfb83e3){const _0x54048c=_0xfb83e3==null?void 0x0:_0xfb83e3[_0x47d5b3(0x2ea)]();_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x54048c===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}_0x4f1d2b&&_0x265422[_0x47d5b3(0x308)](_0x488d7b[_0x47d5b3(0xf5)](),_0x4f1d2b);}}}const _0x35bd79=_0x265422[_0x47d5b3(0x274)](),_0x4a9620=_0x265422[_0x47d5b3(0x132)](),_0x408762=_0x265422[_0x47d5b3(0x22a)](),_0x410988=_0x265422[_0x47d5b3(0x19c)](),_0x3aa7c4=_0x436661['toJSON']();_0x2eb7cd[_0x47d5b3(0x11f)]={'view':_0x35bd79,'fieldsConfig':_0x4a9620,'collectionConfig':_0x3aa7c4,'isEmpty':_0x408762,'changesets':_0x410988};}break;case A[_0x47d5b3(0x12d)]:{const _0x47a2bd=Bi(this[_0x47d5b3(0x312)],_0xbf2241);if(!_0x47a2bd)return;const {range:_0x400bea,sourceSubUnitId:_0x644407,sourceUnitId:_0x592bd0,formatMap:_0x4520ea,indexes:_0x4c69c4}=_0x47a2bd;_0x2eb7cd[_0x47d5b3(0x320)]={'range':_0x400bea,'sourceSubUnitId':_0x644407,'sourceUnitId':_0x592bd0,'formatMap':_0x4520ea,'indexes':_0x4c69c4};}break;}this[_0x47d5b3(0x25d)][_0x47d5b3(0x2e1)](lo['id'],{'version':_0xbf2241[_0x47d5b3(0x2ee)],'result':_0x2eb7cd},{'onlyLocal':!0x0});}));}[_0x1675c1(0x2af)](){const _0x43676d=_0x1675c1;this[_0x43676d(0x1ea)](this[_0x43676d(0x25d)][_0x43676d(0x170)](_0x3422f4=>{const _0x3e8243=_0x43676d;if(_0x3422f4['id']!==uo['id'])return;const _0x35fde8=_0x3422f4[_0x3e8243(0xa2)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x35fde8[_0x3e8243(0x1c4)]),!0x0;}));}['_subjectCollectionChange'](){const _0x5ee800=_0x1675c1;this['_sheetsPivotDataSourceModel'][_0x5ee800(0x19a)]['subscribe'](_0x32c9a5=>{const _0x121bbc=_0x5ee800;switch(_0x32c9a5[_0x121bbc(0x168)]){case ke['add']:_0x32c9a5[_0x121bbc(0x280)]&&_0x32c9a5['targetCellInfo']&&this[_0x121bbc(0x222)](_0x32c9a5[_0x121bbc(0x26f)],_0x32c9a5['dataRangeInfo'],_0x32c9a5[_0x121bbc(0xb1)]);break;case ke[_0x121bbc(0x30d)]:{const {unitId:_0x3f7835,subUnitId:_0x2e96d8,token:_0x480195}=_0x32c9a5;_0x3f7835&&_0x2e96d8&&_0x480195&&this[_0x121bbc(0x104)](_0x3f7835,_0x2e96d8,_0x480195);}break;case ke['update']:{const {token:_0x13f096,oldSourceRangeInfo:_0x12811d,dataRangeInfo:_0x53d0dc,targetCellInfo:_0x33fd7f}=_0x32c9a5,{unitId:_0x580e7c,subUnitId:_0x3dd4bc}=_0x12811d||{};_0x580e7c&&_0x3dd4bc&&_0x13f096&&this[_0x121bbc(0x104)](_0x580e7c,_0x3dd4bc,_0x13f096),_0x53d0dc&&_0x33fd7f&&this[_0x121bbc(0x222)](_0x13f096,_0x53d0dc,_0x33fd7f);}break;}});}[_0x1675c1(0x2e4)](){const _0x4079a3=_0x1675c1;this[_0x4079a3(0x1ce)][_0x4079a3(0x16c)]['subscribe'](_0x35025f=>{const _0xdc1199=_0x4079a3;Object[_0xdc1199(0x121)](_0x35025f)[_0xdc1199(0x2ef)](_0x38408c=>{const _0xe4eb31=_0xdc1199,_0x2ad95f=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x209)](_0x38408c);if(_0x2ad95f){const _0x711a67=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x14e)](_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x167)],_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x20b)],_0x38408c);_0x711a67&&(this[_0xe4eb31(0x222)](_0x38408c,_0x711a67[_0xe4eb31(0xdb)],_0x711a67[_0xe4eb31(0xb1)]),this[_0xe4eb31(0x131)]([{'unitId':_0x2ad95f[_0xe4eb31(0x167)],'subUnitId':_0x2ad95f['subUnitId'],'token':_0x38408c}]));}});});}[_0x1675c1(0xd5)](){const _0x399389=_0x1675c1;this[_0x399389(0x1ce)][_0x399389(0x212)][_0x399389(0x1b1)](_0x32deec=>{const _0x1e6394=_0x399389,{unitId:_0x30c719,subUnitId:_0x3f6b9e,pivotTableId:_0x59ad74}=_0x32deec;_0x30c719&&_0x3f6b9e&&_0x59ad74&&this[_0x1e6394(0x131)]([{'unitId':_0x30c719,'subUnitId':_0x3f6b9e,'token':_0x59ad74}]);});}['triggerDirtyFeature'](_0x2b884b){const _0x39f97e=_0x1675c1,_0x5bb6de={};_0x2b884b[_0x39f97e(0x2ef)](_0x5d12dc=>{var _0x20d533,_0x1c3894;const {unitId:_0x563709,subUnitId:_0x5e5ca2,token:_0x342bcd}=_0x5d12dc;_0x5bb6de[_0x563709]=(_0x20d533=_0x5bb6de[_0x563709])!=null?_0x20d533:{},_0x5bb6de[_0x563709][_0x5e5ca2]=(_0x1c3894=_0x5bb6de[_0x563709][_0x5e5ca2])!=null?_0x1c3894:{},_0x5bb6de[_0x563709][_0x5e5ca2][_0x342bcd]=!0x0;}),this[_0x39f97e(0x25d)][_0x39f97e(0x2e1)](Et['id'],_0x5bb6de);}['removeSourceRangeChange'](_0x165b01,_0x314c95,_0x374290){const _0x43fcfe=_0x1675c1;this[_0x43fcfe(0x1d5)][_0x43fcfe(0x16a)](_0x165b01,_0x314c95,[_0x374290]);}['handleSourceRangeChange'](_0x20e2e1,_0xa96826,_0xf02a01){const _0x115405=_0x1675c1,{unitId:_0x3a1255,subUnitId:_0x5703ea}=_0xa96826;this['_featureCalculationManagerService'][_0x115405(0x1b4)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1)&&this[_0x115405(0x104)](_0x3a1255,_0x5703ea,_0x20e2e1);const _0x5392c6={'sheetId':_0x5703ea,..._0xa96826};this[_0x115405(0x1d5)][_0x115405(0x19d)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1,{'unitId':_0xf02a01[_0x115405(0x167)],'subUnitId':_0xf02a01[_0x115405(0x20b)],'dependencyRanges':[_0x5392c6],'getDirtyData':(_0x70b44c,_0x52e190)=>{const _0x45653a=_0x115405,_0x530d67=this[_0x45653a(0x1ce)],_0x18a3c6=_0x530d67[_0x45653a(0x209)](_0x20e2e1);if(!_0x18a3c6)return Us();const {unitId:_0x3bb4bd,subUnitId:_0x4e9bbc}=_0x18a3c6,_0x12e327=Os(_0x70b44c,_0x52e190,_0xa96826);if(_0x12e327['length']>0x0){const _0x5c7731=_0x530d67[_0x45653a(0x28b)](_0x3a1255,_0x20e2e1),_0x3ae261=_0x5c7731[_0x45653a(0x2eb)](),_0x58e361=this['getMatrixFromRunTimeData'](_0xa96826[_0x45653a(0x167)],_0xa96826[_0x45653a(0x20b)],_0x52e190),_0x42f962={},_0x3176d0=this['_sheetsPivotDataSourceModel'][_0x45653a(0x23a)](_0x3bb4bd)['getAutoDisplayNameFunction']()||_0x1f98bb,_0x45080b=[];for(const _0x3c5be7 of _0x12e327){const _0xee9cc5=_0x3c5be7-(_0xa96826['range']['startColumn']||0x0),_0x541162=_0x3ae261[_0xee9cc5];_0x45080b[_0x45653a(0x1a3)](_0x541162),_0x42f962[_0x541162]=_0x5c7731[_0x45653a(0xe0)](_0x541162)[_0x45653a(0xce)](),_0x530d67[_0x45653a(0x23a)](_0x3a1255)['refreshDataField'](_0x541162,_0xa96826,_0xee9cc5,_0x58e361);}_0x5c7731[_0x45653a(0xf0)](_0x45080b)[_0x45653a(0x2ef)](_0x35d235=>{const _0x4bcdb4=_0x45653a,[_0x3a2b39,_0x3f0b4c]=_0x35d235,_0x27ed1e=_0x5c7731[_0x4bcdb4(0xe0)](_0x3a2b39),_0x16f53a=_0x5c7731[_0x4bcdb4(0xe0)](_0x3f0b4c);_0x27ed1e&&_0x16f53a&&_0x27ed1e[_0x4bcdb4(0x243)](_0x16f53a);}),_0x5c7731['updateAllDisplayName']();const _0x5e0202=_0x530d67[_0x45653a(0x220)](_0x20e2e1);if(_0x5e0202){Vs(_0x5e0202,_0x42f962,_0x3176d0),_0x5e0202[_0x45653a(0x10b)](!0x0);const _0x44fbf3=_0x5e0202[_0x45653a(0x274)](),_0xe70033=_0x530d67[_0x45653a(0x14e)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1),_0x12bcb3=_0x530d67[_0x45653a(0x23a)](_0x3a1255)[_0x45653a(0x132)]();_0x530d67[_0x45653a(0x174)](_0x3bb4bd,_0x4e9bbc,L['Set'],_0x20e2e1,_0x44fbf3,_0xe70033,_0x12bcb3,!0x0);}}return this[_0x45653a(0x15c)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1);}});}[_0x1675c1(0x2d2)](_0x3b8782,_0x435656,_0x55d01b){var _0x5aa2ae,_0x40c80e;const {arrayFormulaCellData:_0x590ad4,unitData:_0x1f32c2}=_0x55d01b,_0x2d8df2=(_0x5aa2ae=_0x590ad4==null?void 0x0:_0x590ad4[_0x3b8782])==null?void 0x0:_0x5aa2ae[_0x435656],_0x4f8ca4=(_0x40c80e=_0x1f32c2==null?void 0x0:_0x1f32c2[_0x3b8782])==null?void 0x0:_0x40c80e[_0x435656];return{'arrayFormulaCellDataMatrix':_0x2d8df2,'unitDataMatrix':_0x4f8ca4};}[_0x1675c1(0x15c)](_0x42c90e,_0x3095a1,_0xdb2f67){const _0x497fd0=_0x1675c1,_0xad5729=this[_0x497fd0(0x1ce)]['getViewData'](_0x42c90e,_0x3095a1,_0xdb2f67),_0x4c8819=[],_0x656a2d=new _0x1d8f59();if(_0xad5729){const {rangeCache:_0x4a5a3f,matrix:_0x8b4735,oldRangeCache:_0x174493,oldMatrix:_0x1856dd}=_0xad5729,_0x498083=Lt(_0x174493),_0x517dfc=Lt(_0x4a5a3f);_0x4c8819[_0x497fd0(0x1a3)](..._0x517dfc,..._0x498083),_0x1856dd&&_0x174493&&_0x498083[_0x497fd0(0x2ef)](_0x2ba3e3=>{const _0x1885ec=_0x497fd0;for(let _0x5874de=_0x2ba3e3[_0x1885ec(0x21c)];_0x5874de<=_0x2ba3e3[_0x1885ec(0x138)];_0x5874de++)for(let _0x59443f=_0x2ba3e3[_0x1885ec(0x16d)];_0x59443f<=_0x2ba3e3['endColumn'];_0x59443f++)_0x656a2d[_0x1885ec(0x152)](_0x5874de,_0x59443f);}),_0x8b4735&&_0x517dfc&&_0x517dfc[_0x497fd0(0x2ef)](_0x3a261a=>{const _0x5619ba=_0x497fd0;for(let _0x263add=_0x3a261a[_0x5619ba(0x21c)];_0x263add<=_0x3a261a[_0x5619ba(0x138)];_0x263add++)for(let _0x2c1ea3=_0x3a261a[_0x5619ba(0x16d)];_0x2c1ea3<=_0x3a261a[_0x5619ba(0xa1)];_0x2c1ea3++)_0x656a2d[_0x5619ba(0x2d0)](_0x263add,_0x2c1ea3,_0x8b4735['getValue'](_0x263add,_0x2c1ea3));});}const _0x117663={};return _0x117663[_0x42c90e]={[_0x3095a1]:xs(_0x4c8819)},{'runtimeCellData':{[_0x42c90e]:{[_0x3095a1]:_0x656a2d}},'dirtyRanges':_0x117663};}[_0x1675c1(0x239)](){}};ct=Es([Ke(0x0,_0x2fd05e(G)),Ke(0x1,_0xe8dcbb),Ke(0x2,_0x2fd05e(_0x486bfd)),Ke(0x3,_0x2fd05e(_0x3408cd)),Ke(0x4,_0x2fd05e(_0x2b17f8)),Ke(0x5,_0x2fd05e(_0x854c25))],ct);var Bs=Object[_0x1675c1(0xd3)],As=(_0x334d10,_0x2f00aa,_0x48254b,_0x6f452e)=>{const _0x465eae=_0x1675c1;for(var _0x10e0b4=_0x6f452e>0x1?void 0x0:_0x6f452e?Bs(_0x2f00aa,_0x48254b):_0x2f00aa,_0x3acf09=_0x334d10[_0x465eae(0xff)]-0x1,_0x5c65b1;_0x3acf09>=0x0;_0x3acf09--)(_0x5c65b1=_0x334d10[_0x3acf09])&&(_0x10e0b4=_0x5c65b1(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},_t=(_0x54ad39,_0xef0861)=>(_0x4c8854,_0x557442)=>_0xef0861(_0x4c8854,_0x557442,_0x54ad39);let dt=class extends _0x5334b7{constructor(_0x42a0ba,_0x5b8f51,_0x3e7e33,_0x128162){const _0x2c72f9=_0x1675c1;super(),U(this,_0x2c72f9(0xc6),new _0x2baf83()),(this[_0x2c72f9(0x27f)]=_0x42a0ba,this[_0x2c72f9(0x299)]=_0x5b8f51,this[_0x2c72f9(0x1e9)]=_0x3e7e33,this[_0x2c72f9(0x2d1)]=_0x128162,this['_initClearSelectionCommandInterceptor']());}[_0x1675c1(0x265)](){const _0x53acfd=_0x1675c1;this[_0x53acfd(0x1ea)](this['_sheetInterceptorService'][_0x53acfd(0x1d8)]({'getMutations':_0x1f44ae=>{const _0x1af1dd=_0x53acfd;if(_0x1f44ae['id']===_0x66bb4e['id']||_0x1f44ae['id']===_0x267fed['id']){const _0x17b4a8=[],_0x5be48b=[],_0x3e2f4d=this[_0x1af1dd(0x1e9)][_0x1af1dd(0x21e)]()['map'](_0x5d3dd2=>_0x5d3dd2[_0x1af1dd(0x27c)]),_0x18d4bd=_0x2075c9(this[_0x1af1dd(0x27f)]);if(!_0x18d4bd)return{'redos':[],'undos':[]};const {unitId:_0x61ecdf,subUnitId:_0xce1d2}=_0x18d4bd,_0x554eff={},_0x1f49b6=this[_0x1af1dd(0x2d1)]['getSubUnitPivotConfigs'](_0x61ecdf,_0xce1d2);if(_0x1f49b6!=null&&_0x1f49b6[_0x1af1dd(0xb5)])for(const [_0x287ec7,_0x35a456]of _0x1f49b6){const {unitId:_0x5c72c9,subUnitId:_0x9d7574,row:_0x19c31f,col:_0x526ece}=_0x35a456[_0x1af1dd(0xb1)];_0x5c72c9===_0x18d4bd[_0x1af1dd(0x167)]&&_0x9d7574===_0x18d4bd['subUnitId']&&(_0x554eff[_0x19c31f+'-'+_0x526ece]=_0x287ec7);}return _0x3e2f4d&&_0x18d4bd&&_0x3e2f4d[_0x1af1dd(0x2ef)](_0x58a83d=>{const _0x55ef6b=_0x1af1dd;_0x3ae671[_0x55ef6b(0x262)](_0x58a83d,(_0x559549,_0x566acd)=>{const _0xd96192=_0x55ef6b,_0x22d35c=_0x559549+'-'+_0x566acd;if(_0x554eff[_0x22d35c]){const _0xcb1ffc=_0x554eff[_0x22d35c];_0x17b4a8[_0xd96192(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc}});const _0x6d1bf4=this[_0xd96192(0x2d1)][_0xd96192(0x28b)](_0x61ecdf,_0xcb1ffc),_0x21f2ce=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x61ecdf,_0xce1d2,_0xcb1ffc);_0x5be48b[_0xd96192(0x1a3)]({'id':Ct['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc,'pivotTableConfig':_0x21f2ce,'collectionConfig':_0x6d1bf4}});}});}),{'redos':_0x17b4a8,'undos':_0x5be48b};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x146954),_t(0x1,_0x2fd05e(_0x5ed9f4)),_t(0x2,_0x2fd05e(_0x434854)),_t(0x3,_0x2fd05e(ve))],dt);var Ws=Object[_0x1675c1(0xd3)],ks=(_0x2bff0f,_0x313303,_0x3b82ad,_0x1407bb)=>{const _0x2a058d=_0x1675c1;for(var _0x1d072c=_0x1407bb>0x1?void 0x0:_0x1407bb?Ws(_0x313303,_0x3b82ad):_0x313303,_0x4e819c=_0x2bff0f[_0x2a058d(0xff)]-0x1,_0x435063;_0x4e819c>=0x0;_0x4e819c--)(_0x435063=_0x2bff0f[_0x4e819c])&&(_0x1d072c=_0x435063(_0x1d072c)||_0x1d072c);return _0x1d072c;},He=(_0x53b8be,_0x5bda39)=>(_0x4d837f,_0xb7111b)=>_0x5bda39(_0x4d837f,_0xb7111b,_0x53b8be);let ut=class extends _0x5334b7{constructor(_0x8f11b,_0xeb1319,_0x21794e,_0x16b4be,_0xf3ea94,_0x3117cd){const _0x246c9f=_0x1675c1;super(),this[_0x246c9f(0xcf)]=_0x8f11b,this[_0x246c9f(0x299)]=_0xeb1319,this['_injector']=_0x21794e,this[_0x246c9f(0x27f)]=_0x16b4be,this[_0x246c9f(0x2d1)]=_0xf3ea94,this[_0x246c9f(0x172)]=_0x3117cd,this[_0x246c9f(0x228)]();}['_getPivotAppliedRanges'](_0x11bd8e,_0x1b103f,_0x17a805){const _0x5451e6=_0x1675c1,{pageView:_0x24d4c4,cornerView:_0x3857f3,rowView:_0x3787c1,colView:_0xa9c022,dataView:_0x30bc8d}=_0x1b103f,_0x3d5952=_0x11bd8e;let _0x27cd43;if(_0x17a805)_0x27cd43=[...Ai(_0x3d5952)];else{const _0x1a6219=ge(_0x3d5952,_0x24d4c4,!0x0),_0x3e2bda=_0x24d4c4[_0x5451e6(0x2b5)]>=0x0?_0x24d4c4[_0x5451e6(0x2b5)]+0x1:0x0,_0x27d4fe=_0x3857f3['rowCount'],_0x4d3a2c=_0x3857f3['colCount'],_0x3f9d64=_0x1a6219['length']>0x0?It:0x0,_0x350156=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]},_0x3857f3,!0x1,!0x1),_0x1a21a3=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']},_0x3787c1,!0x1,!0x0),_0x57d865=ge({'row':_0x3d5952['row']+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]+_0x4d3a2c},_0xa9c022,!0x1,!0x0),_0x1125d4=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']+_0x4d3a2c},_0x30bc8d,!0x1,!0x0);_0x27cd43=[..._0x1a6219,..._0x350156,..._0x1a21a3,..._0x57d865,..._0x1125d4];}return _0x27cd43;}[_0x1675c1(0x228)](){const _0x448cb7=_0x1675c1;this[_0x448cb7(0x1ea)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x2ac)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x1f5)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x263f11,_0x4f9267)=>{const _0x4e843e=_0x448cb7,{cellInfo:_0x50061e,view:_0x3089b1,isEmpty:_0x2e233b}=_0x4f9267,_0x465563=_0x50061e,{unitId:_0x2630ec,subUnitId:_0x1c8476}=_0x465563,_0x545dac=this[_0x4e843e(0x103)](_0x50061e,_0x3089b1,_0x2e233b),_0x30bf2b=this[_0x4e843e(0x299)][_0x4e843e(0xb3)]({'unitId':_0x2630ec,'subUnitId':_0x1c8476,'ranges':_0x545dac}),_0x4bbbcb=Ko(this['_injector'],_0x2630ec,_0x1c8476,_0x545dac);_0x4bbbcb['shouldClear']&&(_0x30bf2b[_0x4e843e(0x1b3)]['push'](_0x4bbbcb[_0x4e843e(0x241)]),_0x30bf2b['undos'][_0x4e843e(0x1a3)](_0x4bbbcb['setRangeValueUndoMutation']));const _0x80427a=this['getAutoFitColumnsMutations'](_0x3089b1,_0x50061e);return _0x30bf2b[_0x4e843e(0x1b3)][_0x4e843e(0x1a3)](..._0x80427a[_0x4e843e(0x1b3)]),_0x30bf2b[_0x4e843e(0x1e2)][_0x4e843e(0x1a3)](..._0x80427a['undos']),{'redos':_0x30bf2b['redos'],'undos':_0x30bf2b[_0x4e843e(0x1e2)]};}}));}[_0x1675c1(0x221)](_0x2cfe28,_0x2bfbb5){const _0x507cdb=_0x1675c1,{col:_0x4f3187,unitId:_0x12271e,subUnitId:_0x3060f8}=_0x2bfbb5,_0x2e5df0=[],_0x1e0c00=[],_0x350cf8=_0x2075c9(this[_0x507cdb(0x27f)],{'unitId':_0x12271e,'subUnitId':_0x3060f8});if(!_0x2bfbb5||!_0x2cfe28||!_0x350cf8)return{'undos':_0x1e0c00,'redos':_0x2e5df0};const _0xad9e4f=this[_0x507cdb(0x2d1)][_0x507cdb(0x165)](),{colView:_0x1e8bda,dataView:_0x4d9bc2,cornerView:_0x1ce014,rowView:_0x4a19f0,formatMap:_0x52d349}=_0x2cfe28,_0x3b3203=To(_0x1e8bda,_0xad9e4f,!0x0,_0x52d349),_0x4b928c=To(_0x4a19f0,_0xad9e4f,!0x1,_0x52d349),_0x5519e1=Li(_0x4d9bc2),_0x11ab02=Gi(_0x1ce014),{worksheet:_0x50c2b7}=_0x350cf8;if(typeof window<'u'&&window[_0x507cdb(0x313)]){const _0x15697f=_0x2c4332({...fe[_0x507cdb(0x2e8)]}),_0x42e9c2=_0x53eb93[_0x507cdb(0x31b)](_0x3b3203,_0x15697f)[_0x507cdb(0xfd)]+0x10,_0xab1401=_0x53eb93[_0x507cdb(0x31b)](_0x5519e1,_0x15697f)[_0x507cdb(0xfd)],_0x3ed44d=Math['floor'](Math['max'](_0x42e9c2,_0xab1401))+0x10,_0x44f3b1=Math['floor'](_0x53eb93[_0x507cdb(0x31b)](_0x4b928c,_0x15697f)[_0x507cdb(0xfd)]),_0x15f98c=Math[_0x507cdb(0x255)](_0x53eb93[_0x507cdb(0x31b)](_0x11ab02,_0x15697f)[_0x507cdb(0xfd)]),_0x424903=Math[_0x507cdb(0x224)](_0x44f3b1,_0x15f98c,0x28)+0xc,_0x22759a=_0x1e8bda[_0x507cdb(0x285)]+_0x1ce014[_0x507cdb(0x285)],_0x22738c={},_0x488fba={};for(let _0xdc4886=_0x4f3187;_0xdc4886<_0x4f3187+_0x22759a;_0xdc4886++){const _0x36600d=_0x50c2b7[_0x507cdb(0x102)](_0xdc4886);_0x22738c[_0xdc4886]=_0x36600d,_0xdc4886-_0x4f3187<_0x1ce014[_0x507cdb(0x285)]?_0x488fba[_0xdc4886-_0x4f3187]=_0x424903:_0x488fba[_0xdc4886-_0x4f3187]=_0x3ed44d;}_0x2e5df0[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7[_0x507cdb(0x113)]()-0x1}],'colWidth':_0x488fba}}),_0x1e0c00[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7['getRowCount']()-0x1}],'colWidth':_0x22738c}});}return{'undos':_0x1e0c00,'redos':_0x2e5df0};}};ut=ks([He(0x0,_0x2fd05e(_0x7abaf8)),He(0x1,_0x2fd05e(_0x5ed9f4)),He(0x2,_0x2fd05e(_0x854c25)),He(0x3,_0x2fd05e(_0x146954)),He(0x4,_0x2fd05e(ve)),He(0x5,_0x2fd05e(ie))],ut);var Ls=Object[_0x1675c1(0xd3)],Gs=(_0x4c36f2,_0xc79a4b,_0x1354bd,_0xc972c6)=>{const _0x4516c1=_0x1675c1;for(var _0x30f022=_0xc972c6>0x1?void 0x0:_0xc972c6?Ls(_0xc79a4b,_0x1354bd):_0xc79a4b,_0x57fda3=_0x4c36f2[_0x4516c1(0xff)]-0x1,_0x519be4;_0x57fda3>=0x0;_0x57fda3--)(_0x519be4=_0x4c36f2[_0x57fda3])&&(_0x30f022=_0x519be4(_0x30f022)||_0x30f022);return _0x30f022;},Ae=(_0x4d0fed,_0x3f0f85)=>(_0x24c00f,_0x18153f)=>_0x3f0f85(_0x24c00f,_0x18153f,_0x4d0fed);let ft=class extends _0x5334b7{constructor(_0x526c63,_0x3296ef,_0x17eb04,_0x153671,_0x45d453,_0x3b0a74,_0x13d2bc){const _0x2e7314=_0x1675c1;super(),U(this,_0x2e7314(0xc6),new _0x2baf83()),(this[_0x2e7314(0x312)]=_0x526c63,this[_0x2e7314(0x226)]=_0x3296ef,this[_0x2e7314(0x25d)]=_0x17eb04,this[_0x2e7314(0x27f)]=_0x153671,this[_0x2e7314(0x2d1)]=_0x45d453,this[_0x2e7314(0x140)]=_0x3b0a74,this['_sheetInterceptorService']=_0x13d2bc,this['_onRefRangeChange']());}[_0x1675c1(0x185)](){const _0x123944=_0x1675c1,_0x11585d=(_0x3a079d,_0x386059)=>{const _0x52b752=_0x2dae,_0x3abee1=this[_0x52b752(0x27f)][_0x52b752(0x20c)](_0x34c5bf[_0x52b752(0x1f3)]);if(!_0x3abee1||!(_0x3abee1==null?void 0x0:_0x3abee1['getSheetBySheetId'](_0x386059)))return;this[_0x52b752(0xc6)][_0x52b752(0x239)]();const _0xe2b283=_0x50cbd4=>this[_0x52b752(0x2fe)](_0x50cbd4,_0x3a079d,_0x386059),_0x5bd13b=this[_0x52b752(0x2d1)][_0x52b752(0x106)](_0x3a079d,_0x386059);if(!(_0x5bd13b!=null&&_0x5bd13b[_0x52b752(0xb5)]))return;Array[_0x52b752(0x2f9)](_0x5bd13b[_0x52b752(0x13a)]())[_0x52b752(0x11d)](_0xc21e38=>{const _0x41efd0=_0x52b752,{row:_0x46e29a,col:_0x21b9dc}=_0xc21e38[_0x41efd0(0xb1)];return _0x34e162(_0x46e29a,_0x21b9dc);})['forEach'](_0xd5cebb=>{const _0x355eaa=_0x52b752;this['disposableCollection'][_0x355eaa(0x1a7)](this['_refRangeService'][_0x355eaa(0x1bd)](_0xd5cebb,_0xe2b283,_0x3a079d,_0x386059));});},_0x8e2a13=()=>{const _0x56cbe5=_0x2dae,_0x1e8863=this[_0x56cbe5(0x27f)][_0x56cbe5(0x20c)](_0x34c5bf[_0x56cbe5(0x1f3)]);if(_0x1e8863){const _0x2a9e48=_0x1e8863[_0x56cbe5(0x145)]();if(!_0x2a9e48)return;_0x11585d(_0x1e8863[_0x56cbe5(0xc2)](),_0x2a9e48['getSheetId']());}};this[_0x123944(0x1ea)](this[_0x123944(0x25d)]['onCommandExecuted'](_0x116123=>{const _0x5d7d43=_0x123944;if(_0x116123['id']===_0x282476['id']){const _0x4fde1f=_0x116123[_0x5d7d43(0xa2)],_0x22c295=_0x4fde1f[_0x5d7d43(0x20b)],_0x153bb4=_0x4fde1f[_0x5d7d43(0x167)];if(!_0x22c295||!_0x153bb4)return;_0x11585d(_0x153bb4,_0x22c295);}})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotInitCompleted$'][_0x123944(0x1b1)](_0x563a79=>{_0x563a79&&_0x8e2a13();})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotConfigChange$'][_0x123944(0x1b1)](_0x268436=>{const _0x571922=_0x2075c9(this['_univerInstanceService']);if(!_0x571922)return;const {unitId:_0x40018c,subUnitId:_0x43d817}=_0x571922,{unitId:_0x4972f4,subUnitId:_0x751219}=_0x268436;_0x40018c!==_0x4972f4||_0x43d817!==_0x751219||_0x11585d(_0x40018c,_0x43d817);})),_0x8e2a13();}[_0x1675c1(0x2fe)](_0x238628,_0x20270f,_0x1cf513){const _0x2e71ae=_0x1675c1;switch(_0x238628['id']){case _0x3fcf7e['id']:return this[_0x2e71ae(0x202)](_0x238628[_0x2e71ae(0xa2)],_0x20270f,_0x1cf513);}return{'redos':[],'undos':[]};}[_0x1675c1(0x202)](_0x685fe4,_0x2e4105,_0x2dd8bc){const _0x5b4aea=_0x1675c1,{fromRange:_0x32c00a,toRange:_0x12c58e}=_0x685fe4,_0x360458=[],_0x485659=[],_0x56ccbf=_0x2075c9(this[_0x5b4aea(0x27f)]);if(!_0x56ccbf)return{'undos':_0x485659,'redos':_0x360458};if(_0x2e4105!==_0x56ccbf[_0x5b4aea(0x167)]||_0x2dd8bc!==_0x56ccbf['subUnitId'])return{'undos':_0x485659,'redos':_0x360458};const _0x31fce0=this[_0x5b4aea(0x2d1)]['getSubUnitPivotConfigs'](_0x2e4105,_0x2dd8bc);if(_0x31fce0!=null&&_0x31fce0[_0x5b4aea(0xb5)])for(const [_0x13afef,_0x2d4ef8]of _0x31fce0){const {unitId:_0x21936a,subUnitId:_0x459c7d,row:_0x6991cc,col:_0x297482}=_0x2d4ef8[_0x5b4aea(0xb1)];if(_0x21936a===_0x56ccbf[_0x5b4aea(0x167)]&&_0x459c7d===_0x56ccbf[_0x5b4aea(0x20b)]){const _0x59fe81=_0x34e162(_0x6991cc,_0x297482);if(_0x351caf['intersects'](_0x59fe81,_0x32c00a)){const _0x1ddee3=_0x6991cc-_0x32c00a['startRow'],_0x1a4712=_0x297482-_0x32c00a[_0x5b4aea(0x16d)],_0x1f4ead={'row':_0x12c58e[_0x5b4aea(0x21c)]+_0x1ddee3,'col':_0x12c58e[_0x5b4aea(0x16d)]+_0x1a4712};_0x360458[_0x5b4aea(0x1a3)]({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':_0x1f4ead}}),_0x485659['push']({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':{'row':_0x6991cc,'col':_0x297482}}});const _0xb3455=_0x1f4ead[_0x5b4aea(0xcd)]-_0x6991cc,_0x333008=_0x1f4ead[_0x5b4aea(0x1d6)]-_0x297482,_0x2ef96a=[],_0x46cf86=this[_0x5b4aea(0x140)]['getPivotItemRenderInfoCache'](_0x21936a,_0x459c7d,_0x13afef),_0x3dedc2=_0x46cf86==null?void 0x0:_0x46cf86[_0x5b4aea(0x189)];if(_0x3dedc2){Object[_0x5b4aea(0x121)](_0x3dedc2)[_0x5b4aea(0x2ef)](_0x5c5344=>{_0x3dedc2[_0x5c5344]['forEach'](_0x533ec1=>{const _0x53ba4a=_0x2dae,_0x3efc7e={..._0x533ec1};_0x3efc7e[_0x53ba4a(0x21c)]=_0x533ec1[_0x53ba4a(0x21c)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x138)]=_0x533ec1[_0x53ba4a(0x138)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x16d)]=_0x533ec1['startColumn']+_0x333008,_0x3efc7e[_0x53ba4a(0xa1)]=_0x533ec1[_0x53ba4a(0xa1)]+_0x333008,_0x2ef96a['push'](_0x3efc7e);});});const _0x56a036=this[_0x5b4aea(0x299)][_0x5b4aea(0xb3)]({'unitId':_0x21936a,'subUnitId':_0x459c7d,'ranges':_0x2ef96a});_0x360458[_0x5b4aea(0x1a3)](..._0x56a036[_0x5b4aea(0x1b3)]),_0x485659['push'](..._0x56a036[_0x5b4aea(0x1e2)]);const _0x17849a=Ko(this[_0x5b4aea(0x312)],_0x21936a,_0x459c7d,_0x2ef96a);_0x17849a[_0x5b4aea(0x2f5)]&&(_0x360458['push'](_0x17849a[_0x5b4aea(0x241)]),_0x485659['push'](_0x17849a[_0x5b4aea(0x251)]));}}}}return{'redos':_0x360458,'undos':_0x485659};}};ft=Gs([Ae(0x0,_0x2fd05e(_0x854c25)),Ae(0x1,_0x2fd05e(_0x47dc83)),Ae(0x2,_0x3408cd),Ae(0x3,_0x146954),Ae(0x4,_0x2fd05e(ve)),Ae(0x5,_0x2fd05e(Ne)),Ae(0x6,_0x2fd05e(_0x5ed9f4))],ft);var $s=Object['getOwnPropertyDescriptor'],zs=(_0x1b876e,_0x2c3c5a,_0x5949f8,_0x399cf0)=>{const _0x33928a=_0x1675c1;for(var _0x5d466b=_0x399cf0>0x1?void 0x0:_0x399cf0?$s(_0x2c3c5a,_0x5949f8):_0x2c3c5a,_0xc9aef6=_0x1b876e[_0x33928a(0xff)]-0x1,_0x161e0e;_0xc9aef6>=0x0;_0xc9aef6--)(_0x161e0e=_0x1b876e[_0xc9aef6])&&(_0x5d466b=_0x161e0e(_0x5d466b)||_0x5d466b);return _0x5d466b;},_o=(_0x34ab09,_0x1f8ed8)=>(_0x5f4f57,_0x515485)=>_0x1f8ed8(_0x5f4f57,_0x515485,_0x34ab09);let gt=class extends _0x5334b7{constructor(_0x4db1d5,_0x20804a){const _0x15f71e=_0x1675c1;super(),this[_0x15f71e(0x299)]=_0x4db1d5,this[_0x15f71e(0x2d1)]=_0x20804a,this['_initRemoveSheetCommandInterceptor']();}[_0x1675c1(0xf3)](){const _0x3c2da5=_0x1675c1;this[_0x3c2da5(0x1ea)](this[_0x3c2da5(0x299)]['interceptCommand']({'getMutations':_0x4bc33e=>{const _0x1ed6d3=_0x3c2da5;if(_0x4bc33e['id']===_0x52bec3['id']){const _0x1b4c62=[],_0x4c53d1=[],_0x4b7d37=_0x4bc33e['params'],{unitId:_0x5d08c8,subUnitId:_0xe7011c}=_0x4b7d37;if(!_0x5d08c8||!_0xe7011c)return{'undos':_0x4c53d1,'redos':_0x1b4c62};const _0x3a65bc=this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x106)](_0x5d08c8,_0xe7011c);if(_0x3a65bc!=null&&_0x3a65bc[_0x1ed6d3(0xb5)])for(const [_0x59bd8c,_0x3c28a1]of _0x3a65bc){_0x1b4c62[_0x1ed6d3(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c}});const _0x2b2129={...this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x28b)](_0x5d08c8,_0x59bd8c)};_0x4c53d1['push']({'id':Ct['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c,'pivotTableConfig':_0x3c28a1,'collectionConfig':_0x2b2129}});}return{'redos':_0x1b4c62,'undos':_0x4c53d1};}return{'redos':[],'undos':[]};}}));}};gt=zs([_o(0x0,_0x2fd05e(_0x5ed9f4)),_o(0x1,_0x2fd05e(ve))],gt);function _0x2dae(_0x4482cb,_0x25dc37){const _0x57f5bf=_0x57f5();return _0x2dae=function(_0x2dae7f,_0x4a0351){_0x2dae7f=_0x2dae7f-0x9b;let _0x497d89=_0x57f5bf[_0x2dae7f];return _0x497d89;},_0x2dae(_0x4482cb,_0x25dc37);}var Js=Object['getOwnPropertyDescriptor'],js=(_0x375fe9,_0x26209c,_0x526677,_0x93ed1a)=>{const _0x4b45fa=_0x1675c1;for(var _0x234f11=_0x93ed1a>0x1?void 0x0:_0x93ed1a?Js(_0x26209c,_0x526677):_0x26209c,_0x4f386b=_0x375fe9[_0x4b45fa(0xff)]-0x1,_0x2db1bf;_0x4f386b>=0x0;_0x4f386b--)(_0x2db1bf=_0x375fe9[_0x4f386b])&&(_0x234f11=_0x2db1bf(_0x234f11)||_0x234f11);return _0x234f11;},qe=(_0x12145b,_0xa7273d)=>(_0xd8e21c,_0x519e37)=>_0xa7273d(_0xd8e21c,_0x519e37,_0x12145b);let ht=class extends _0x5334b7{constructor(_0x2c19e3,_0x599e00,_0x13068a,_0x56d18c,_0x4f9963,_0x1f29e8){const _0x2d1a8d=_0x1675c1;super(),this[_0x2d1a8d(0x25d)]=_0x2c19e3,this['_sheetsPivotRpcService']=_0x599e00,this['_sheetsPivotTableAdaptorModel']=_0x13068a,this['_sheetsPivotTableConfigModel']=_0x56d18c,this['_univerInstanceService']=_0x4f9963,this[_0x2d1a8d(0xb0)]=_0x1f29e8,this['_initDataSendListener'](),this[_0x2d1a8d(0x1ee)]();}[_0x1675c1(0xd6)](){const _0xf21b5b=_0x1675c1;this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)][_0xf21b5b(0x170)](_0x1097f1=>{const _0x22b840=_0xf21b5b;if(_0x1097f1['id']!==lo['id'])return;const _0x2140ea=_0x1097f1[_0x22b840(0xa2)];this['_sheetsPivotRpcService'][_0x22b840(0x2a9)](_0x2140ea);})),this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)]['onCommandExecuted'](_0x26d565=>{const _0x3fb7cf=_0xf21b5b;if(_0x26d565['id']===co['id']){const _0x114854=_0x26d565[_0x3fb7cf(0xa2)];if(_0x114854){const {unitId:_0x409b9d,subUnitId:_0x11b79b,oldSubUnitId:_0x183525,pivotTableId:_0x11228c,pivotTableConfig:_0x392714,collectionConfig:_0x3bfae6}=_0x114854;this['_sheetsPivotTableConfigModel'][_0x3fb7cf(0x283)](_0x409b9d,_0x183525,_0x114854[_0x3fb7cf(0x2fb)],null),this[_0x3fb7cf(0x2d1)][_0x3fb7cf(0x283)](_0x409b9d,_0x11b79b,_0x11228c,_0x392714),this[_0x3fb7cf(0x2d1)]['updateCollectionConfig'](_0x409b9d,_0x3bfae6);}}})),this[_0xf21b5b(0x1ea)](this['_commandService'][_0xf21b5b(0x170)](_0x4b04fc=>{const _0x416c20=_0xf21b5b;if(_0x4b04fc['id']!==Rt['id'])return;const _0x155909=_0x2075c9(this[_0x416c20(0x27f)]);if(!_0x155909)return;const {unitId:_0x2be282,subUnitId:_0x26fc48}=_0x155909,_0x1ecbf8=_0x4b04fc[_0x416c20(0xa2)];if(_0x1ecbf8[_0x416c20(0x158)]&&Object[_0x416c20(0x121)](_0x1ecbf8[_0x416c20(0x158)])[_0x416c20(0x2ef)](_0x2d334d=>{const _0x26ef76=_0x416c20;var _0x499b3e;(_0x499b3e=_0x1ecbf8['collectionConfig'])!=null&&_0x499b3e[_0x2d334d]&&this['_sheetsPivotTableConfigModel'][_0x26ef76(0x314)](_0x2d334d,_0x1ecbf8[_0x26ef76(0x158)][_0x2d334d]);}),_0x1ecbf8[_0x416c20(0xcc)]){const _0x1db46f=_0x1ecbf8[_0x416c20(0xcc)],{unitId:_0x3e7445,subUnitId:_0x1fe25f,view:_0x111335,pivotTableId:_0x36a636,type:_0x233a4b,pivotConfig:_0x62fc8b}=_0x1db46f;if(_0x233a4b===L['Delete'])this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b}),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,null);else{const _0x53f5f3=new _0x14d91f();_0x53f5f3[_0x416c20(0xc1)](_0x111335),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,_0x62fc8b),this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b,'view':_0x53f5f3}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'view':_0x53f5f3,'pivotTableId':_0x36a636,'type':_0x233a4b});}}else _0x1ecbf8[_0x416c20(0x20f)]&&(_0x1ecbf8[_0x416c20(0x20f)][_0x416c20(0x2ef)](_0x2ef62e=>{const _0xce6bae=_0x416c20,{unitId:_0x41a675,subUnitId:_0x5190c7,view:_0x4bbe89,pivotTableId:_0x420445,type:_0x4d3279,pivotConfig:_0x528644}=_0x2ef62e,_0xcd2374=new _0x14d91f();_0xcd2374[_0xce6bae(0xc1)](_0x4bbe89),this[_0xce6bae(0x2d1)]['updateConfigCache'](_0x41a675,_0x5190c7,_0x420445,_0x528644),this[_0xce6bae(0x140)][_0xce6bae(0x25e)]({'unitId':_0x41a675,'subUnitId':_0x5190c7,'view':_0xcd2374,'pivotTableId':_0x420445,'type':_0x4d3279});}),this[_0x416c20(0x2d1)][_0x416c20(0x24f)]());this[_0x416c20(0x140)][_0x416c20(0x2d5)](_0x2be282,_0x26fc48);}));}[_0x1675c1(0x1ee)](){const _0x21124e=_0x1675c1;this[_0x21124e(0xb0)][_0x21124e(0x19d)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x5d32b3){const _0x540d6f=_0x21124e;return{'dirtyUnitFeatureMap':_0x5d32b3[_0x540d6f(0xa2)]};}});}};ht=js([qe(0x0,_0x2fd05e(_0x3408cd)),qe(0x1,_0x2fd05e(Z)),qe(0x2,_0x2fd05e(Ne)),qe(0x3,_0x2fd05e(ve)),qe(0x4,_0x2fd05e(_0x146954)),qe(0x5,_0x315a9b)],ht);var Ks=Object['defineProperty'],Hs=Object['getOwnPropertyDescriptor'],qs=(_0x333784,_0x5acac2,_0x3213c9)=>_0x5acac2 in _0x333784?Ks(_0x333784,_0x5acac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3213c9}):_0x333784[_0x5acac2]=_0x3213c9,Ys=(_0x86bf8b,_0x4e4757,_0x5544ba,_0x2514cb)=>{for(var _0x91429a=_0x2514cb>0x1?void 0x0:_0x2514cb?Hs(_0x4e4757,_0x5544ba):_0x4e4757,_0x581dc3=_0x86bf8b['length']-0x1,_0x3f8183;_0x581dc3>=0x0;_0x581dc3--)(_0x3f8183=_0x86bf8b[_0x581dc3])&&(_0x91429a=_0x3f8183(_0x91429a)||_0x91429a);return _0x91429a;},Ft=(_0x5b6c02,_0xc67d3b)=>(_0x231a09,_0x5ada2b)=>_0xc67d3b(_0x231a09,_0x5ada2b,_0x5b6c02),Xo=(_0x21924f,_0x59fcdb,_0x3b9188)=>qs(_0x21924f,typeof _0x59fcdb!=_0x1675c1(0x1bf)?_0x59fcdb+'':_0x59fcdb,_0x3b9188);let Ut=class extends _0x34ad3a{constructor(_0x51cfe6=Mo,_0x24ae4d,_0x5113b5,_0x48449a,_0x461e6b){const _0x2cbd7f=_0x1675c1;super(),this[_0x2cbd7f(0x215)]=_0x51cfe6,this[_0x2cbd7f(0x312)]=_0x24ae4d,this[_0x2cbd7f(0x25d)]=_0x5113b5,this[_0x2cbd7f(0x17a)]=_0x48449a,this[_0x2cbd7f(0xe1)]=_0x461e6b;const {..._0x54d196}=_0x15d8c5({},Mo,this['_config']);this[_0x2cbd7f(0x17a)][_0x2cbd7f(0x1b7)](qo,_0x54d196),this[_0x2cbd7f(0xee)](),this['_initConfig']();}[_0x1675c1(0x18d)](){const _0x1b2ddc=_0x1675c1;var _0x433005;const _0x3c5623=(_0x433005=this['_config'])==null?void 0x0:_0x433005[_0x1b2ddc(0x250)];this[_0x1b2ddc(0x17a)][_0x1b2ddc(0x1b7)](H,_0x3c5623===!0x0);}[_0x1675c1(0x1b0)](){const _0x279fd7=_0x1675c1;var _0x3094e4;let _0x26564d=[];const _0x1b9d25=(_0x3094e4=this[_0x279fd7(0x215)])==null?void 0x0:_0x3094e4[_0x279fd7(0x250)];_0x1b9d25===!0x0?_0x26564d=[[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x1b9d25===!0x1?_0x26564d=[[G],[ct]]:_0x1b9d25===void 0x0&&(_0x26564d=[[G],[ct],[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x26564d[_0x279fd7(0x2ef)](_0x1704fb=>this['_injector'][_0x279fd7(0x1a7)](_0x1704fb)),[ct,ht,ie,dt,gt,ft,ut][_0x279fd7(0x2ef)](_0x983f6c=>{const _0x1b373e=_0x279fd7;this['_injector'][_0x1b373e(0x1b4)](_0x983f6c)&&this[_0x1b373e(0x312)][_0x1b373e(0x2e9)](_0x983f6c);});}[_0x1675c1(0xee)](){const _0x1e584f=_0x1675c1;[vs,ps,hs,ms,Cs,ys,Rs,bs,Ps,Ss,Ts,Ms,ws,Is,Ct,oo,Ot,Gt,Yo,Qo,Kt,$t,zt,Jt,qt,Ht,pt,ro,lo,Rt,Xt,eo,Yt,jt,uo,to,Zt,Et,co,_s,Qt,Fs,Ds][_0x1e584f(0x2ef)](_0x249532=>{const _0x24d78f=_0x1e584f;var _0x2b4b98;(_0x2b4b98=this[_0x24d78f(0xe1)])==null||_0x2b4b98['registerSyncingMutations'](_0x249532),this['_commandService'][_0x24d78f(0x1de)](_0x249532);});}};Xo(Ut,'pluginName',ao),Xo(Ut,_0x1675c1(0x168),_0x34c5bf[_0x1675c1(0x1f3)]),Ut=Ys([_0xbd176b(_0x5aca44),Ft(0x1,_0x2fd05e(_0x854c25)),Ft(0x2,_0x2fd05e(_0x3408cd)),Ft(0x3,_0xe8dcbb),Ft(0x4,_0x23ca4f(_0x1f987d))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Ot as RemovePivotTableMutation,zt as RenamePivotFieldMutation,Ds as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Oi as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,vt as transFromCellValue,Lt as unionPivotViewRange};
1
+ function _0x3d26(_0x80b169,_0x3cec91){const _0x4021de=_0x4021();return _0x3d26=function(_0x3d2662,_0x530f5c){_0x3d2662=_0x3d2662-0xe3;let _0x46c902=_0x4021de[_0x3d2662];return _0x46c902;},_0x3d26(_0x80b169,_0x3cec91);}const _0x4bc323=_0x3d26;(function(_0x4dbdba,_0x5530bb){const _0xfa26ad=_0x3d26,_0x43790f=_0x4dbdba();while(!![]){try{const _0x5ee6cf=parseInt(_0xfa26ad(0x341))/0x1*(parseInt(_0xfa26ad(0x148))/0x2)+-parseInt(_0xfa26ad(0x2e2))/0x3+parseInt(_0xfa26ad(0x181))/0x4*(parseInt(_0xfa26ad(0x20e))/0x5)+-parseInt(_0xfa26ad(0x164))/0x6+parseInt(_0xfa26ad(0x11b))/0x7+parseInt(_0xfa26ad(0x2de))/0x8*(-parseInt(_0xfa26ad(0x1a6))/0x9)+-parseInt(_0xfa26ad(0x1dc))/0xa*(-parseInt(_0xfa26ad(0x101))/0xb);if(_0x5ee6cf===_0x5530bb)break;else _0x43790f['push'](_0x43790f['shift']());}catch(_0x5c786f){_0x43790f['push'](_0x43790f['shift']());}}}(_0x4021,0x8aafe));var an=Object[_0x4bc323(0x2ec)],rn=(_0x2d8912,_0x539c37,_0x8ce0ec)=>_0x539c37 in _0x2d8912?an(_0x2d8912,_0x539c37,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8ce0ec}):_0x2d8912[_0x539c37]=_0x8ce0ec,V=(_0x29a9dd,_0xf4a7ec,_0xf76130)=>rn(_0x29a9dd,typeof _0xf4a7ec!=_0x4bc323(0x311)?_0xf4a7ec+'':_0xf4a7ec,_0xf76130);import{PivotCellStyleTypeEnum as _0x26fd4c,PivotViewCellValueTypeEnum as _0x50fe51,isPrefixValue as _0x67d76e,isErrorValue as _0x1a7e9d,PivotErrorTypeEnum as _0x3acd5a,PivotDateGroupFieldDateTypeEnum as _0x136408,DataFieldManager as _0x53f310,FieldsCollection as _0x1de104,isDateValue as _0x128bcb,DataField as _0x6249fb,generateHexNumber as _0x1e548a,isBaseGroupField as _0x4b22b1,PivotTable as _0x2cebe7,PivotSubtotalTypeEnum as _0x3500b6,PivotTableFiledAreaEnum as _0x685aab,excelDateToUnixMilliseconds as _0x274e0b,createValueField as _0x420a0e,createLabelField as _0x3a41b1,PivotTableChangeTypeEnum as _0x4e2ec6,BaseGroupField as _0x2550e6,PivotView as _0x1233ce,isDateGroupFieldJSON as _0x252377,PivotCallbackEnum as _0x509f44,PivotFilterTypeEnum as _0x1c4174,getAutoDisplayName as _0x4985e8,PivotDataFieldDataTypeEnum as _0x53a5d7,PivotTableValuePositionEnum as _0x4c8648,isDateGroupField as _0x37bb8d,DateGroupField as _0x5cabe3}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x3e77f4,ObjectMatrix as _0xfe6c88,IUniverInstanceService as _0x39f700,UniverInstanceType as _0x2a9244,CellValueType as _0x4b0abe,numfmt as _0x2cfed1,LocaleService as _0x4000e6,createAsyncInterceptorKey as _0x569b2f,createInterceptorKey as _0x4f6fba,CommandType as _0x5bc5f3,RANGE_TYPE as _0x5f1937,numberToABC as _0x5e7316,Inject as _0x3bbbb8,Injector as _0x2bd25b,LifecycleService as _0x25719d,IConfigService as _0x1edc63,ICommandService as _0xcd8e3b,IResourceManagerService as _0x4d1684,Disposable as _0x2e1b8a,Rectangle as _0x135959,Tools as _0x8069d7,AsyncInterceptorManager as _0x40a8f7,InterceptorManager as _0x101c42,InterceptorEffectEnum as _0x5e6383,CustomCommandExecutionError as _0x4e07f8,IUndoRedoService as _0x508f8f,sequenceExecute as _0x32d329,mergeWorksheetSnapshotWithDefault as _0x23935b,generateRandomId as _0xd9981d,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x36d7b6,DEFAULT_WORKSHEET_ROW_COUNT as _0x54de5b,DisposableCollection as _0x44131c,Range as _0x5824e0,DependentOn as _0x19b494,Optional as _0x691527,Plugin as _0xe8226f,merge as _0xff5c5c}from'@univerjs/core';import{ErrorType as _0x2bea40,serializeRangeWithSpreadsheet as _0x5d5c1b,IFeatureCalculationManagerService as _0x5ff084,GlobalComputingStatusService as _0x6bb955,IActiveDirtyManagerService as _0x3f8b1a}from'@univerjs/engine-formula';import{generateNullCell as _0x31e0da,SetRangeValuesUndoMutationFactory as _0x4888b3,SetRangeValuesMutation as _0x1a40d9,getSheetCommandTarget as _0x2d9c39,InsertRowMutation as _0x58446a,RemoveRowMutation as _0x4afcf1,InsertColMutation as _0x1737d7,RemoveColMutation as _0x2c808f,IExclusiveRangeService as _0x2dd9fe,SheetInterceptorService as _0x452573,INTERCEPTOR_POINT as _0x1801c2,InsertSheetCommand as _0x3f61f5,InsertSheetUndoMutationFactory as _0x3b8811,RemoveSheetMutation as _0xf6a0db,InsertSheetMutation as _0x1a279,MoveRangeMutation as _0x1c29de,SheetsSelectionsService as _0x30973c,ClearSelectionContentCommand as _0x547890,ClearSelectionAllCommand as _0x4d1fd8,SetWorksheetColWidthMutation as _0xacd157,RefRangeService as _0x341a3c,SetWorksheetActiveOperation as _0x38de89,MoveRangeCommand as _0x198e5d,RemoveSheetCommand as _0x1d7468}from'@univerjs/sheets';import{Subject as _0x5589bd,BehaviorSubject as _0xdbef63}from'rxjs';import{LS_CONFIG_KEY as _0x163010,unshiftString as _0x28b19e,isFeatureAuthorizedWithinTime as _0x285664,getSheetFeatureLimit as _0x3358f8,ReleaseType as _0x2dc238,UniverLicensePlugin as _0x3747e8}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x159a38,RemoveSheetsFilterMutation as _0x5b8d7d}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1087c6}from'@univerjs/rpc';import{getFontStyleString as _0x37c443,FontCache as _0x168107}from'@univerjs/engine-render';const ko=Number[_0x4bc323(0x34c)](0x68407034),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,di=_0x4bc323(0x1f0),ci=_0x4bc323(0x189),wt=_0x4bc323(0x1df),ui=_0x4bc323(0x271),fi=_0x4bc323(0x271),gi=_0x4bc323(0x17d),vi=_0x4bc323(0x23c),hi=_0x4bc323(0x1a5),pi=_0x4bc323(0x301),mi=_0x4bc323(0x23c),Ii=_0x4bc323(0x1a5),Ci=_0x4bc323(0x31b),bi=0xe,Si=0x6;var Ho=(_0x4e6589=>(_0x4e6589['Existing']='existing',_0x4e6589[_0x4bc323(0x2d6)]=_0x4bc323(0x135),_0x4e6589))(Ho||{});const Lo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,Je={'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':di},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':Je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Ti(_0xae2bfe,_0x4c8b1d,_0x3abe6f){const _0xbaab1=_0x4bc323,_0x32ff2c=_0xae2bfe[_0xbaab1(0x322)](_0x4000e6),_0x340242=_0x3abe6f['split']('_');switch(_0x4c8b1d){case _0x136408[_0xbaab1(0x109)]:return _0x32ff2c['t'](_0xbaab1(0x13a),..._0x340242);case _0x136408[_0xbaab1(0x234)]:return _0x32ff2c['t'](_0xbaab1(0x2e6),..._0x340242);case _0x136408['Hour']:return _0x32ff2c['t'](_0xbaab1(0x105),..._0x340242);case _0x136408[_0xbaab1(0x217)]:return _0x32ff2c['t'](_0xbaab1(0x13b),..._0x340242);case _0x136408['Date']:return _0x32ff2c['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x340242);case _0x136408[_0xbaab1(0x2b4)]:return _0x32ff2c['t'](_0xbaab1(0x1ca),..._0x340242);case _0x136408['Quarter']:return _0x32ff2c['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x340242);case _0x136408[_0xbaab1(0x27c)]:return _0x32ff2c['t'](_0xbaab1(0x122),..._0x340242);case _0x136408[_0xbaab1(0x253)]:return _0x32ff2c['t'](_0xbaab1(0x12c),..._0x340242);case _0x136408[_0xbaab1(0x246)]:return _0x32ff2c['t'](_0xbaab1(0x1cf),..._0x340242);}return'';}const it=(_0x1481d2,_0x5a3da2,_0x4ca985,_0x424b88)=>{const _0x59af93=_0x4bc323;let _0x29db8a;const _0x36e84d=_0x1481d2[_0x59af93(0x322)](_0x39f700)[_0x59af93(0x2ee)](_0x2a9244[_0x59af93(0xfe)]);if(!_0x36e84d)return null;const _0x2904db=_0x36e84d[_0x59af93(0x124)]();let _0x4d9dee;if(_0x4ca985&&(_0x4d9dee=_0x2904db[_0x59af93(0x15e)](_0x4ca985)),_0x5a3da2!=null&&_0x5a3da2['v']||(_0x5a3da2==null?void 0x0:_0x5a3da2['v'])===0x0){_0x29db8a||(_0x29db8a={});const _0xd8fc12=Bo(_0x5a3da2['v']);typeof _0xd8fc12==_0x59af93(0x2e8)?_0x29db8a['t']=_0x4b0abe[_0x59af93(0x273)]:typeof _0xd8fc12==_0x59af93(0x1a0)&&(_0x29db8a['t']=_0x4b0abe[_0x59af93(0x142)]),_0x29db8a['v']=_0xd8fc12;}if((_0x5a3da2!=null&&_0x5a3da2['i']||(_0x5a3da2==null?void 0x0:_0x5a3da2['i'])===0x0)&&(_0x29db8a||(_0x29db8a={}),_0x29db8a['fi']=_0x5a3da2['i']),_0x5a3da2!=null&&_0x5a3da2['s']&&(_0x29db8a||(_0x29db8a={}),_0x29db8a[_0x59af93(0xff)]=_0x5a3da2['s']),_0x4ca985&&(_0x29db8a||(_0x29db8a={}),_0x29db8a['s']=_0x4d9dee),_0x424b88&&_0x29db8a!=null&&_0x29db8a['v']&&_0x29db8a[_0x59af93(0xff)]!==_0x26fd4c[_0x59af93(0x28b)]&&_0x29db8a[_0x59af93(0xff)]!==_0x26fd4c[_0x59af93(0xe8)]){const _0x57bba9=String(_0x29db8a['v']),{dateType:_0x3d142c}=_0x424b88;_0x29db8a['v']=Ti(_0x1481d2,_0x3d142c,_0x57bba9),_0x29db8a['t']=_0x4b0abe['STRING'];}return _0x29db8a;},yi=(_0x55ec73,_0x31c443,_0x440731,_0x2ab631)=>{const _0x422128=_0x4bc323;var _0xfa4da4,_0x390c08,_0x284754,_0x428c23,_0x1a594f,_0x245efa,_0xc991ce,_0x56c7b2,_0x2040aa,_0xdac896,_0x1aa76e,_0x2fde22,_0x57ec13,_0x3112de;const _0x9708f=_0x440731[_0x422128(0x16a)],{cornerView:_0x1e1cfe,rowView:_0x2e359d,colView:_0x11ee63,dataView:_0x4d2e96,pageView:_0x436803,formatMap:_0x58ed87,groupInfo:_0x2002b0}=_0x31c443,{row:_0x3e7319,col:_0xe75545}=_0x9708f,_0x1e21cc=new _0xfe6c88(),_0x48bf89={},_0xcc4696={},_0x9f76ae={},_0x160a77={},_0x141ec5={};let _0x4c6c25=_0x3e7319,_0x172a7c=_0xe75545;Object['keys'](_0x436803[_0x422128(0x107)])[_0x422128(0x1f4)](_0x246f44=>{const _0x19ab0e=_0x422128;Object[_0x19ab0e(0x1be)](_0x436803[_0x19ab0e(0x107)][Number(_0x246f44)])[_0x19ab0e(0x1f4)](_0x2d9bae=>{const _0x399213=_0x19ab0e,_0x2ee078={..._0x436803[_0x399213(0x107)][Number(_0x246f44)][Number(_0x2d9bae)]};_0x1e21cc[_0x399213(0x15e)](Number(_0x246f44)+_0x4c6c25,Number(_0x2d9bae)+_0x172a7c,it(_0x55ec73,_0x2ee078,fe[_0x399213(0x18f)]));});});const _0x3daf88=Object[_0x422128(0x1be)](_0x436803[_0x422128(0x107)])[_0x422128(0x352)];_0x4c6c25+=_0x3daf88+(_0x3daf88?It:0x0);const _0x3d0da1=_0x1e1cfe['getRowCount'](),_0x4b303b=_0x1e1cfe[_0x422128(0x119)]();for(let _0x414772=0x0;_0x414772<_0x3d0da1;_0x414772++)for(let _0x5a9c89=0x0;_0x5a9c89<_0x4b303b;_0x5a9c89++){const _0x19124e={...(_0x390c08=(_0xfa4da4=_0x1e1cfe[_0x422128(0x107)])==null?void 0x0:_0xfa4da4[_0x414772])==null?void 0x0:_0x390c08[_0x5a9c89]};_0x19124e&&((_0x284754=_0x2e359d[_0x422128(0x111)][_0x5a9c89])!=null&&_0x284754[_0x422128(0x12b)])&&_0x5a9c89===_0x4b303b-0x1&&_0x414772===_0x3d0da1-0x1&&(_0x19124e['v']=''+_0x2ab631[_0x422128(0x25f)]),_0x1e21cc[_0x422128(0x15e)](_0x414772+_0x4c6c25,_0x5a9c89+_0x172a7c,it(_0x55ec73,_0x19124e,fe[_0x422128(0x279)]));}for(let _0x847b18=0x0;_0x847b18<_0x1e1cfe['info'][_0x422128(0x352)];_0x847b18++)_0x1e1cfe[_0x422128(0x1bc)][_0x847b18]&&(_0x9f76ae[''+(_0x847b18+_0x172a7c)]=_0x1e1cfe['info'][_0x847b18]);_0x172a7c+=_0x4b303b;const _0x20ab5e=_0x11ee63[_0x422128(0x111)],_0x48199f=_0x11ee63[_0x422128(0x319)]()>=0x0?_0x11ee63[_0x422128(0x319)]()+0x1:0x0,_0x53f7be=_0x11ee63[_0x422128(0x15a)]()>=0x0?_0x11ee63[_0x422128(0x15a)]()+0x1:0x0;for(let _0x949242=0x0;_0x949242<_0x53f7be;_0x949242++){for(let _0x3e3d9b=0x0;_0x3e3d9b<_0x48199f;_0x3e3d9b++){const _0x4c49c2={...(_0x1a594f=(_0x428c23=_0x11ee63[_0x422128(0x107)])==null?void 0x0:_0x428c23[_0x3e3d9b])==null?void 0x0:_0x1a594f[_0x949242]},_0x648cd9=(_0x245efa=_0x20ab5e[_0x3e3d9b])==null?void 0x0:_0x245efa[_0x422128(0x2b1)],_0x597e9d=_0x58ed87[_0x648cd9],_0x355fe3=_0x2002b0[_0x648cd9];_0x4c49c2&&(_0x4c49c2['v']=ht(_0x4c49c2,_0x3e3d9b===0x0&&((_0xc991ce=_0x11ee63[_0x422128(0x186)](_0x949242+0x1))==null?void 0x0:_0xc991ce[_0x422128(0x12b)]),_0x597e9d,_0x2ab631));let _0x59840a;_0x597e9d?_0x59840a={...fe[_0x422128(0x29e)],'n':{'pattern':_0x597e9d}}:_0x59840a={...fe[_0x422128(0x29e)]},_0x1e21cc[_0x422128(0x15e)](_0x3e3d9b+_0x4c6c25,_0x949242+_0x172a7c,it(_0x55ec73,_0x4c49c2,_0x59840a,_0x355fe3));}_0x11ee63[_0x422128(0x1bc)][_0x949242]&&(_0xcc4696[''+(_0x949242+_0x172a7c)]=_0x11ee63[_0x422128(0x1bc)][_0x949242]),_0x11ee63[_0x422128(0x111)][_0x949242+0x1]&&(_0x141ec5[''+(_0x949242+_0x4c6c25+0x1)]=_0x11ee63[_0x422128(0x111)][_0x949242+0x1]);}_0x4c6c25+=_0x3d0da1;const _0x275bb5=_0x2e359d[_0x422128(0x111)],_0x33cccd=_0x2e359d[_0x422128(0x319)]()>=0x0?_0x2e359d[_0x422128(0x319)]()+0x1:0x0,_0x42c596=_0x2e359d['getLastCol']()>=0x0?_0x2e359d[_0x422128(0x15a)]()+0x1:0x0;for(let _0x1646f2=0x0;_0x1646f2<_0x33cccd;_0x1646f2++){for(let _0x4f9735=0x0;_0x4f9735<_0x42c596;_0x4f9735++){const _0x11e380={...(_0x2040aa=(_0x56c7b2=_0x2e359d[_0x422128(0x107)])==null?void 0x0:_0x56c7b2[_0x1646f2])==null?void 0x0:_0x2040aa[_0x4f9735]},_0x1608c5=(_0xdac896=_0x275bb5[_0x4f9735])==null?void 0x0:_0xdac896[_0x422128(0x2b1)],_0xbffdf4=_0x58ed87[_0x1608c5],_0x3a68e9=_0x2002b0[_0x1608c5];_0x11e380&&(_0x11e380['v']=ht(_0x11e380,!0x1,_0xbffdf4,_0x2ab631));let _0x225a35;_0x2e359d[_0x422128(0x1bc)][_0x1646f2][_0x422128(0x203)]===_0x2e359d[_0x422128(0x119)]()?_0x225a35=fe[_0x422128(0x10a)]:_0x2e359d[_0x422128(0x1bc)][_0x1646f2][_0x422128(0x2af)]?_0x225a35=_0x2e359d[_0x422128(0x1bc)][_0x1646f2]['level']===0x0?fe['grandTotal']:fe[_0x422128(0x140)]:_0x225a35=fe[_0x422128(0xe6)],_0xbffdf4&&(_0x225a35={..._0x225a35,'n':{'pattern':_0xbffdf4}}),_0x1e21cc[_0x422128(0x15e)](_0x1646f2+_0x4c6c25,_0x4f9735+_0xe75545,it(_0x55ec73,_0x11e380,_0x225a35,_0x3a68e9));}_0x2e359d[_0x422128(0x1bc)][_0x1646f2]&&(_0x48bf89[''+(_0x1646f2+_0x4c6c25)]=_0x2e359d['info'][_0x1646f2]),_0x2e359d[_0x422128(0x111)][_0x1646f2]&&(_0x160a77[''+(_0x1646f2+_0xe75545)]=_0x2e359d[_0x422128(0x111)][_0x1646f2]);}const _0x3743fd=_0x4d2e96[_0x422128(0x356)](),_0x544fbe=_0x4d2e96[_0x422128(0x119)]();for(let _0x17d1a5=0x0;_0x17d1a5<_0x3743fd;_0x17d1a5++)for(let _0x537df4=0x0;_0x537df4<_0x544fbe;_0x537df4++){const _0x513c95={...(_0x2fde22=(_0x1aa76e=_0x4d2e96[_0x422128(0x107)])==null?void 0x0:_0x1aa76e[_0x17d1a5])==null?void 0x0:_0x2fde22[_0x537df4]};let _0x1f008d;_0x2e359d['info'][_0x17d1a5][_0x422128(0x2af)]?_0x1f008d=_0x2e359d[_0x422128(0x1bc)][_0x17d1a5][_0x422128(0x203)]===0x0?fe[_0x422128(0x31c)]:fe['subTotalStyle']:_0x1f008d=fe[_0x422128(0x249)];const _0xdcca11=_0x2e359d[_0x422128(0x1bc)][_0x17d1a5][_0x422128(0x160)],_0x2433ff=_0x11ee63[_0x422128(0x1bc)][_0x537df4][_0x422128(0x160)],_0x4341fa=Math['max'](_0xdcca11,_0x2433ff),_0x3f3d96=_0x440731[_0x422128(0xf4)][_0x422128(0xec)][_0x422128(0x21a)]();let _0x1e8165='';_0x4341fa<0x0?_0x1e8165=(_0x57ec13=_0x3f3d96[0x0])!=null?_0x57ec13:'':_0x1e8165=(_0x3112de=_0x3f3d96[_0x4341fa])!=null?_0x3112de:'';const _0x4f6ec8=_0x58ed87[_0x1e8165];_0x4f6ec8&&(_0x1f008d={..._0x1f008d,'n':{'pattern':_0x4f6ec8}}),_0x1e21cc[_0x422128(0x15e)](_0x17d1a5+_0x4c6c25,_0x537df4+_0x172a7c,it(_0x55ec73,_0x513c95,_0x1f008d));}return{'valueMatrix':_0x1e21cc,'rowInfo':_0x48bf89,'colInfo':_0xcc4696,'cornerInfo':_0x9f76ae,'rowHeaderMap':_0x160a77,'colHeaderMap':_0x141ec5};};function ht(_0x4e7adc,_0x5008ee,_0x49fa75,_0x577aa0){const _0xc06338=_0x4bc323;let _0x3da306=_0x4e7adc['v'];_0x5008ee&&(_0x3da306=''+_0x577aa0[_0xc06338(0x25f)]);const _0x284a25=_0x4e7adc['t']&&(_0x4e7adc['t']&_0x50fe51['blank'])>0x0;if(_0x284a25&&(_0x3da306=''+_0x577aa0[_0xc06338(0x28f)]),_0x4e7adc['s']===_0x26fd4c[_0xc06338(0xe8)]){let _0x5b4639=_0x3da306,_0x1b0322='';_0x67d76e(_0x3da306)&&(_0x5b4639=_0x3da306['prefix'],_0x1b0322=_0x3da306[_0xc06338(0x2aa)]);const _0x5427d2=_0x49fa75&&!_0x284a25?_0x2cfed1[_0xc06338(0x153)](_0x49fa75,Number(_0x5b4639)):_0x5b4639;_0x1b0322?_0x3da306=_0x5427d2+'\x20'+_0x1b0322:_0x3da306=_0x5427d2+'\x20'+_0x577aa0[_0xc06338(0x324)];}else _0x4e7adc['s']===_0x26fd4c[_0xc06338(0x28b)]&&(_0x3da306=_0x3da306+'\x20'+_0x577aa0['sheets-pivot.grandTotal']);return _0x3da306;}function Bo(_0x70569){const _0x4dbd08=_0x4bc323;if(_0x1a7e9d(_0x70569)){const {errorType:_0xa5aea4}=_0x70569;switch(_0xa5aea4){case _0x3acd5a[_0x4dbd08(0x292)]:return _0x2bea40[_0x4dbd08(0x1d1)];case _0x3acd5a[_0x4dbd08(0x1ab)]:return _0x2bea40[_0x4dbd08(0x358)];case _0x3acd5a[_0x4dbd08(0x104)]:return _0x2bea40[_0x4dbd08(0x208)];case _0x3acd5a[_0x4dbd08(0x216)]:return _0x2bea40[_0x4dbd08(0x208)];case _0x3acd5a[_0x4dbd08(0x2cf)]:return _0x2bea40['REF'];}}return _0x70569;}function ge(_0x404956,_0x1fe7d7,_0x2f6151=!0x1,_0x5a140d=!0x1){const _0x1c72ec=_0x4bc323,{data:_0x1fbde6}=_0x1fe7d7,_0x38a6f3=_0x1fe7d7[_0x1c72ec(0x356)](),_0x370b67=_0x1fe7d7[_0x1c72ec(0x119)]();if(_0x38a6f3<=0x0||_0x370b67<=0x0)return[];const _0x3c8692=_0x1fe7d7['getLastCol'](),_0x59f9e5=_0x1fe7d7[_0x1c72ec(0x319)](),_0x49f8bc=_0x5a140d?_0x59f9e5>=0x0?_0x59f9e5+0x1:0x0:_0x38a6f3,_0x48ea2f=_0x5a140d?_0x3c8692>=0x0?_0x3c8692+0x1:0x0:_0x370b67,{row:_0x4e5d76,col:_0x450ee6}=_0x404956,_0x4a66bc=_0x4e5d76,_0x35f41f=_0x450ee6;if(_0x2f6151){const _0x88cbd6=[];for(const [_0x185256,_0x32e02c]of Object[_0x1c72ec(0x33d)](_0x1fbde6))for(const [_0x3e2913,_0x38e08d]of Object[_0x1c72ec(0x33d)](_0x32e02c))_0x88cbd6[_0x1c72ec(0x1b6)](_0x3e77f4(_0x4a66bc+Number(_0x185256),_0x35f41f+Number(_0x3e2913)));return _0x88cbd6;}else{const _0x2a5e39=_0x5a140d?_0x49f8bc>0x0?0x1:0x0:0x1,_0x526f6f=_0x5a140d?_0x48ea2f>0x0?0x1:0x0:0x1,_0x269473=_0x4e5d76+_0x49f8bc-_0x2a5e39,_0xf85be4=_0x450ee6+_0x48ea2f-_0x526f6f;return[{'startRow':_0x4a66bc,'startColumn':_0x35f41f,'endRow':_0x269473,'endColumn':_0xf85be4}];}}const W=_0x4bc323(0x2e0),Ht=_0x4bc323(0x118);var k=(_0x2993ba=>(_0x2993ba['Filter']=_0x4bc323(0x18a),_0x2993ba['Panel']=_0x4bc323(0x1b1),_0x2993ba[_0x4bc323(0x2c8)]='addPivotField',_0x2993ba['AddPivotTableWithConfig']=_0x4bc323(0x1d9),_0x2993ba[_0x4bc323(0x1c5)]=_0x4bc323(0x2f9),_0x2993ba[_0x4bc323(0x2ad)]=_0x4bc323(0x1a7),_0x2993ba[_0x4bc323(0x174)]=_0x4bc323(0x326),_0x2993ba[_0x4bc323(0x2a3)]=_0x4bc323(0x1dd),_0x2993ba[_0x4bc323(0x32f)]='setPivotFilter',_0x2993ba['SetPivotSort']='setPivotSort',_0x2993ba['SetPivotSetting']='setPivotSetting',_0x2993ba['UpdatePivotSource']='updatePivotSource',_0x2993ba[_0x4bc323(0x149)]='updateValuePosition',_0x2993ba[_0x4bc323(0x259)]=_0x4bc323(0x35c),_0x2993ba[_0x4bc323(0x316)]=_0x4bc323(0x2da),_0x2993ba['SetPivotTableConfig']=_0x4bc323(0x2ff),_0x2993ba[_0x4bc323(0x102)]='resetPivotTable',_0x2993ba))(k||{});const Mi={'sheets-pivot.blankValue':_0x4bc323(0x163),'sheets-pivot.columnName':_0x4bc323(0x303),'sheets-pivot.subTotalText':_0x4bc323(0x2ce),'sheets-pivot.grandTotalText':_0x4bc323(0x293),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x4bc323(0x156),'sheets-pivot.countName':_0x4bc323(0x197),'sheets-pivot.countNumsName':_0x4bc323(0x197),'sheets-pivot.maxName':_0x4bc323(0x33b),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x4bc323(0x1c4),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x4bc323(0x359),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x4bc323(0x240),'sheets-pivot.subTotal':_0x4bc323(0xe8),'sheets-pivot.grandTotal':_0x4bc323(0x293),'sheets-pivot.value':_0x4bc323(0x2aa),'sheets-pivot.blank':_0x4bc323(0x26a),'sheets-pivot.emptyPivot.filter':_0x4bc323(0x1fe),'sheets-pivot.emptyPivot.row':_0x4bc323(0x17f),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x4bc323(0x100)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x569b2f(_0x4bc323(0x211)),Qo=_0x4f6fba(_0x4bc323(0x30f));var Le=(_0x56e0f3=>(_0x56e0f3['add']=_0x4bc323(0x200),_0x56e0f3[_0x4bc323(0x137)]='delete',_0x56e0f3['update']='update',_0x56e0f3))(Le||{}),B=(_0x637fe2=>(_0x637fe2[_0x4bc323(0xfc)]=_0x4bc323(0x200),_0x637fe2[_0x4bc323(0x1d6)]=_0x4bc323(0x2a6),_0x637fe2[_0x4bc323(0x226)]=_0x4bc323(0x137),_0x637fe2))(B||{});const $o={0x0:'C',0x1:'3',0x2:'Q',0x3:'4',0x4:'9',0x5:'B',0x6:'1',0x7:'x',0x8:'L',0x9:'S','f':'0','e':'2','o':'5','F':'6','X':'7','L':'8','Y':'a','s':'b','b':'c','N':'d','U':'e','m':'f','E':'g','r':'h','d':'i','J':'j','G':'k','p':'l','k':'m','a':'n','v':'o','R':'p','h':'q','Z':'r','H':'s','Q':'t','u':'u','I':'v','V':'w','y':'y','S':'z','l':'A','C':'D','T':'E','O':'F','P':'G','n':'H','w':'I','W':'J','c':'K','z':'M','x':'N','i':'O','t':'P','A':'R','g':'T','B':'U','j':'V','q':'W','K':'X','D':'Y','M':'Z'},Yo=_0x4bc323(0x2d2),ro={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x32e),'handler':()=>!0x0},lo={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x152),'handler':()=>!0x0},Dt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x1fd),'handler':()=>!0x0},co={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x306),'handler':()=>!0x0},uo={'type':_0x5bc5f3['MUTATION'],'id':_0x4bc323(0x330),'handler':()=>!0x0},wi=_0x27f30b=>{const _0x14c639=_0x4bc323;var _0x51b326;return((_0x51b326=_0x27f30b[_0x14c639(0x178)])==null?void 0x0:_0x51b326['dataStream'][_0x14c639(0x270)](/\r\n$/,''))||'';};class _i extends _0x53f310{constructor(_0x3c7f0e,_0x54614a){const _0x13cdf3=_0x4bc323;super(),V(this,_0x13cdf3(0x2c7),{}),V(this,_0x13cdf3(0x14a)),V(this,_0x13cdf3(0x12e)),(this['_univerInstanceService']=_0x54614a,this['_host']=_0x3c7f0e);}['initDataRanges'](){const _0x1e8cbf=_0x4bc323;for(const _0x30c440 in this[_0x1e8cbf(0x313)]){const _0x140253=this['dataFields'][_0x30c440],_0x5ba0e3=_0x140253[_0x1e8cbf(0x16c)]();this[_0x1e8cbf(0x2c7)][_0x5ba0e3]=_0x140253['getId']();}}[_0x4bc323(0x1a2)](){const _0x1a6fd9=_0x4bc323,_0xe98b16=this[_0x1a6fd9(0x12e)];return Ei['bind'](_0xe98b16);}[_0x4bc323(0x264)](_0x416d82){const _0xb37f19=_0x4bc323,_0x285e2b=this[_0xb37f19(0x313)][_0x416d82][_0xb37f19(0x179)];delete this[_0xb37f19(0x313)][_0x416d82],delete this[_0xb37f19(0x2c7)][_0x285e2b];}[_0x4bc323(0x33c)](_0x3b5ee5){const _0x1bec6a=_0x4bc323;this[_0x1bec6a(0x313)][_0x3b5ee5['getId']()]=_0x3b5ee5;}['removeCollectionImp'](_0x5111e9){const _0x47241e=_0x4bc323;var _0x1a1f52,_0x484573;const _0x1e5e50=this['_host'][_0x47241e(0x30c)](_0x5111e9);if(_0x1e5e50){const {unitId:_0x5bd4d0,subUnitId:_0x380621}=_0x1e5e50,_0xe6a003=(_0x1a1f52=this[_0x47241e(0x12e)]['getPivotTableConfig'](_0x5bd4d0,_0x380621,_0x5111e9))==null?void 0x0:_0x1a1f52['sourceRangeInfo'];this['_host'][_0x47241e(0x331)]({'token':_0x5111e9,'type':Le[_0x47241e(0x137)],'dataRangeInfo':_0xe6a003});}(_0x484573=this[_0x47241e(0x348)](_0x5111e9))==null||_0x484573[_0x47241e(0x2fe)](),delete this['collections'][_0x5111e9];}[_0x4bc323(0x16c)](_0x2fdd7c,_0x3e91ac){const {sheetName:_0x260602,unitId:_0x4925ca,range:_0x4e0eba}=_0x2fdd7c,{startRow:_0x19da6d,endRow:_0x2ce1ad}=_0x4e0eba;return _0x5d5c1b(_0x4925ca,_0x260602,{'startRow':_0x19da6d,'endRow':_0x2ce1ad,'startColumn':_0x3e91ac,'endColumn':_0x3e91ac});}[_0x4bc323(0x151)](_0x292d00){return this['dataFields'][this['rangeKeyMap'][_0x292d00]];}[_0x4bc323(0x296)](_0x38b9df,_0x2e77d9){const _0x1a4930=_0x4bc323;this[_0x1a4930(0x2c7)][_0x38b9df]=_0x2e77d9;}[_0x4bc323(0x117)](_0x505d75,_0x5ab109){const _0xdd963b=_0x4bc323;this[_0xdd963b(0x2c7)][_0x5ab109]=this[_0xdd963b(0x2c7)][_0x505d75],delete this[_0xdd963b(0x2c7)][_0x505d75];}[_0x4bc323(0x196)](_0x39b5b3,_0x942e73,_0x2e0962,_0x2b511f){const _0x4045d7=_0x4bc323,_0x5f3cc7=new _0x1de104(this);_0x5f3cc7['fromJSON'](_0x942e73);const _0x4aed76=[];let _0xdad6e0=0x0;for(const _0x472536 of _0x5f3cc7[_0x4045d7(0x1d5)]){const _0x1b8332=this[_0x4045d7(0x16c)](_0x2e0962,_0xdad6e0),_0xb7817b=this['dataFields'][_0x472536];_0xb7817b&&(_0xb7817b[_0x4045d7(0x179)]=_0x1b8332,this['setRangeKeyMap'](_0x1b8332,_0x472536),_0x4aed76[_0x4045d7(0x1b6)]({'index':_0xdad6e0,'dataField':_0xb7817b})),_0xdad6e0++;}return this[_0x4045d7(0x2b8)](_0x39b5b3,_0x5f3cc7,_0x2e0962,_0x2b511f),{'collection':_0x5f3cc7,'updateDataFieldList':_0x4aed76};}[_0x4bc323(0x1b7)](_0x463656,_0x1a0357){const _0x329c57=_0x4bc323;return _0x463656[_0x329c57(0x20d)]===_0x5f1937[_0x329c57(0x363)]?{'startRow':0x0,'startColumn':_0x463656[_0x329c57(0xf7)],'endRow':_0x1a0357[_0x329c57(0x356)]()-0x1,'endColumn':_0x463656[_0x329c57(0x2b2)]}:{'startRow':_0x463656[_0x329c57(0x351)],'startColumn':_0x463656[_0x329c57(0xf7)],'endRow':_0x463656['endRow'],'endColumn':_0x463656[_0x329c57(0x2b2)]};}[_0x4bc323(0x242)](_0x52f7d5){const _0x378ef5=_0x4bc323,{sheetName:_0x159ba3,range:_0x446ca3}=_0x52f7d5,_0x5e3482=this[_0x378ef5(0x14a)][_0x378ef5(0x2ee)](_0x2a9244[_0x378ef5(0xfe)]),_0x44b384=_0x5e3482[_0x378ef5(0x235)](_0x159ba3),_0x41dc50=_0x44b384[_0x378ef5(0x25d)](),{startColumn:_0x17b09e,startRow:_0x1e4a20,endColumn:_0x1a7868}=this['getRangeStartEndInfo'](_0x446ca3,_0x44b384),_0x5d4c99=_0x5e3482[_0x378ef5(0x124)](),_0x354a9e=new _0x1de104(this);_0x354a9e[_0x378ef5(0x214)](_0x52f7d5);const _0x39caba=[],_0x432c2a={};for(let _0x5dd54b=_0x17b09e;_0x5dd54b<=_0x1a7868;_0x5dd54b++){const _0x919367=_0x41dc50[_0x378ef5(0x32a)](_0x1e4a20,_0x5dd54b),_0xa96fd2=this[_0x378ef5(0x16c)](_0x52f7d5,_0x5dd54b),_0x20ce81=this['getDataFieldByRangeKey'](_0xa96fd2);if(_0x20ce81)_0x354a9e[_0x378ef5(0x251)](_0x20ce81[_0x378ef5(0x205)](),_0x20ce81[_0x378ef5(0x34b)]());else{const _0xb49b95=this[_0x378ef5(0x1d3)]();let _0x32971a=this[_0x378ef5(0x368)](_0x919367,_0x5d4c99,_0x432c2a);_0x128bcb(_0x32971a)&&(_0x32971a=_0x2cfed1[_0x378ef5(0x153)](_0x32971a['f'],Number(_0x32971a['v'])));const _0x10e517=this[_0x378ef5(0x248)](_0x32971a,_0x5dd54b),_0x1b0673=new _0x6249fb(_0xb49b95,_0x10e517,_0x1e548a(0x3));_0x1b0673[_0x378ef5(0x179)]=_0xa96fd2,this[_0x378ef5(0x313)][_0xb49b95]=_0x1b0673,_0x354a9e[_0x378ef5(0x251)](_0xb49b95,_0x10e517),_0x39caba['push']({'index':_0x5dd54b,'dataField':_0x1b0673});}}return{'updateDataFieldList':_0x39caba,'collection':_0x354a9e};}['_getAutoName'](_0x2f0b70){const _0x26d783=_0x4bc323;return this[_0x26d783(0x12e)][_0x26d783(0x337)]()[_0x26d783(0x302)]+'\x20'+_0x5e7316(_0x2f0b70);}['uniqueDataFieldName'](_0x527be2,_0x29678c){return _0x527be2==null||_0x527be2===''?this['_getAutoName'](_0x29678c):String(_0x527be2);}[_0x4bc323(0x348)](_0xecf188){const _0x155bcc=_0x4bc323;return this[_0x155bcc(0x1b2)][_0xecf188];}[_0x4bc323(0x2b8)](_0x13c47c,_0x3b2a97,_0x31366b,_0x3babf9){const _0x21ae1d=_0x4bc323;this[_0x21ae1d(0x1b2)][_0x13c47c]=_0x3b2a97,_0x3b2a97[_0x21ae1d(0x214)](_0x31366b),this[_0x21ae1d(0x12e)][_0x21ae1d(0x331)]({'token':_0x13c47c,'type':Le['add'],'dataRangeInfo':_0x31366b,'targetCellInfo':_0x3babf9});}[_0x4bc323(0x138)](_0x5eb91a,_0x4dd1e6){const _0x2a6f64=_0x4bc323,_0x1b2f44=this[_0x2a6f64(0x348)](_0x5eb91a),_0x54e6d4=_0x1b2f44[_0x2a6f64(0x21f)]();let _0x421290=0x0;for(const _0x49af94 of _0x54e6d4){const _0x43a81e=_0x1b2f44[_0x2a6f64(0x1e9)](_0x49af94),_0x16e4b7=this[_0x2a6f64(0x16c)](_0x4dd1e6,_0x421290);this['updateRangeKeyMap'](_0x43a81e['rangeKey'],_0x16e4b7),_0x421290++;}}[_0x4bc323(0x10f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4bc323(0x24b)](_0x434425,_0x3b00a1){const _0x489eaf=_0x4bc323;if(this[_0x489eaf(0x348)](_0x434425)){const _0x5021cd=this[_0x489eaf(0x294)](_0x3b00a1),_0x1564b4=[];for(const _0x386e14 of _0x5021cd)this[_0x489eaf(0x2c7)][_0x386e14]!==void 0x0&&_0x1564b4[_0x489eaf(0x1b6)](this['rangeKeyMap'][_0x386e14]);const _0x5d0de8=this[_0x489eaf(0x1e2)](_0x434425),_0x28b426=[],_0x417a7d=new Set(_0x1564b4);for(const _0x53f243 of _0x5d0de8)_0x417a7d[_0x489eaf(0x320)](_0x53f243)||_0x28b426[_0x489eaf(0x1b6)](_0x53f243);return _0x28b426;}}['getMatrixValue'](_0x1b5e72,_0x24541c,_0x5bbdfc,_0x2a5c5d,_0x284c75){const _0x1a400c=_0x4bc323;return _0x24541c&&_0x24541c['getValue'](_0x2a5c5d,_0x284c75)?_0x24541c[_0x1a400c(0x32a)](_0x2a5c5d,_0x284c75):_0x5bbdfc&&_0x5bbdfc[_0x1a400c(0x32a)](_0x2a5c5d,_0x284c75)?_0x5bbdfc[_0x1a400c(0x32a)](_0x2a5c5d,_0x284c75):_0x1b5e72[_0x1a400c(0x32a)](_0x2a5c5d,_0x284c75);}[_0x4bc323(0x22b)](_0x1aa6c8,_0x1d5555,_0x22a4f5,_0x2f81de){const _0x41531e=_0x4bc323,_0x2b8fff=this['dataFields'][_0x1aa6c8];if(!_0x2b8fff)return;const {subUnitId:_0x25fa7e,range:_0x49e437,unitId:_0x43fbd3}=_0x1d5555,_0x29cdd4=this['_univerInstanceService']['getUnit'](_0x43fbd3);if(!_0x29cdd4){console[_0x41531e(0x23d)]('workbook\x20is\x20not\x20found');return;}const _0x29e932=_0x29cdd4[_0x41531e(0x198)](_0x25fa7e),_0x38c96f=_0x29e932[_0x41531e(0x25d)](),{arrayFormulaCellDataMatrix:_0xca1726,unitDataMatrix:_0x1cfbbb}=_0x2f81de||{},{startRow:_0x1ac4dc,startColumn:_0x2c3060,endRow:_0x484429}=this['getRangeStartEndInfo'](_0x49e437,_0x29e932);_0x2b8fff[_0x41531e(0x1db)]();const _0x419cd6=_0x29cdd4['getStyles'](),_0x22d943={},_0x152f7a=this[_0x41531e(0x1e4)](_0x38c96f,_0xca1726,_0x1cfbbb,_0x1ac4dc,_0x2c3060+_0x22a4f5);let _0x13fd7a=this[_0x41531e(0x368)](_0x152f7a,_0x419cd6,_0x22d943);_0x128bcb(_0x13fd7a)&&(_0x13fd7a=_0x2cfed1[_0x41531e(0x153)](_0x13fd7a['f'],Number(_0x13fd7a['v'])));const _0x4f183b=this[_0x41531e(0x248)](_0x13fd7a,_0x2c3060+_0x22a4f5);_0x2b8fff[_0x41531e(0x12f)](_0x4f183b);for(let _0x5e0763=_0x1ac4dc+0x1;_0x5e0763<=_0x484429;_0x5e0763++){const _0x131444=this[_0x41531e(0x1e4)](_0x38c96f,_0xca1726,_0x1cfbbb,_0x5e0763,_0x2c3060+_0x22a4f5);_0x2b8fff['addRecord'](this['adjustSheetCellData'](_0x131444,_0x419cd6,_0x22d943),_0x5e0763-0x1-_0x1ac4dc);}}[_0x4bc323(0x265)](_0x39b305,_0x3842c7,_0x339033){const _0x10ad9a=_0x4bc323,{subUnitId:_0x105464,range:_0x506752,unitId:_0x4ba4b6}=_0x339033,_0xb5ae4=this['_univerInstanceService'][_0x10ad9a(0x19c)](_0x4ba4b6);if(!_0xb5ae4){console[_0x10ad9a(0x23d)](_0x10ad9a(0x2a1));return;}const _0x37efa2=_0xb5ae4[_0x10ad9a(0x198)](_0x105464),_0x2ebf0b=_0x37efa2[_0x10ad9a(0x25d)](),{startRow:_0x14d76c,startColumn:_0xf703ed,endRow:_0x1ed1e0}=this['getRangeStartEndInfo'](_0x506752,_0x37efa2),_0x588741=_0xb5ae4[_0x10ad9a(0x124)](),_0x2415ba={};for(const {dataField:_0x137683,index:_0x1942b8}of _0x3842c7){_0x137683['reset']();const _0x32a81a=this[_0x10ad9a(0x1e4)](_0x2ebf0b,void 0x0,void 0x0,_0x14d76c,_0xf703ed+_0x1942b8);let _0xdbfd98=this[_0x10ad9a(0x368)](_0x32a81a,_0x588741,_0x2415ba);_0x128bcb(_0xdbfd98)&&(_0xdbfd98=_0x2cfed1['format'](_0xdbfd98['f'],Number(_0xdbfd98['v'])));const _0x41d096=this[_0x10ad9a(0x248)](_0xdbfd98,_0xf703ed+_0x1942b8);_0x137683['setName'](_0x41d096);}_0x39b305[_0x10ad9a(0x1bd)]();for(let _0x176e1c=_0x14d76c+0x1;_0x176e1c<=_0x1ed1e0;_0x176e1c++)for(const {index:_0x23e943,dataField:_0x57085b}of _0x3842c7){const _0x483fc2=_0x2ebf0b[_0x10ad9a(0x32a)](_0x176e1c,_0xf703ed+_0x23e943);_0x57085b[_0x10ad9a(0x106)](this['adjustSheetCellData'](_0x483fc2,_0x588741,_0x2415ba),_0x176e1c-0x1-_0x14d76c);}_0x39b305[_0x10ad9a(0x167)](_0x1ed1e0-_0x14d76c);}[_0x4bc323(0x294)](_0xb2ebe4){const _0x50c274=_0x4bc323,{range:_0x52d60b}=_0xb2ebe4,{startColumn:_0x52227f,endColumn:_0x10028f}=_0x52d60b,_0x206fe7=[];for(let _0x5031ea=_0x52227f;_0x5031ea<=_0x10028f;_0x5031ea++)_0x206fe7[_0x50c274(0x1b6)](this[_0x50c274(0x16c)](_0xb2ebe4,_0x5031ea));return _0x206fe7;}['adjustSheetCellData'](_0x5d5b8d,_0x55e325,_0x189c00){const _0x24ffd4=_0x4bc323;if(_0x5d5b8d){const {s:_0x52eaec,v:_0x465e42,t:_0x58f1a5,p:_0x355d70}=_0x5d5b8d;if(_0x355d70)return wi(_0x355d70);const _0x18ce9a=_0x55e325[_0x24ffd4(0x322)](_0x52eaec);if(_0x18ce9a&&_0x58f1a5===_0x4b0abe[_0x24ffd4(0x273)]&&_0x18ce9a['n']){const {pattern:_0x10b71b}=_0x18ce9a['n'];_0x189c00[_0x10b71b]||(_0x189c00[_0x10b71b]=_0x2cfed1['getFormatInfo'](_0x10b71b));const _0x4f4565=_0x189c00[_0x10b71b],_0x426e2c=_0x4f4565['isDate'];if(_0x4f4565[_0x24ffd4(0x25e)])return String(_0x465e42);if(_0x426e2c)return{'v':_0x465e42,'f':_0x10b71b};}if(_0x58f1a5===_0x4b0abe[_0x24ffd4(0x273)])return Number(_0x465e42);if(_0x58f1a5===_0x4b0abe['STRING']||_0x58f1a5===_0x4b0abe[_0x24ffd4(0x2db)])return String(_0x465e42);if(_0x58f1a5===void 0x0){const _0x763257=Number(_0x465e42);if(!Number[_0x24ffd4(0x350)](_0x763257)&&String(_0x763257)===_0x465e42)return _0x763257;}return _0x465e42!=null?_0x465e42:null;}else return null;}['getRangeData'](_0x1116a7){const _0x293e6d=_0x4bc323,{sheetName:_0x5ee810,range:_0x4ec532,unitId:_0x56d9bd}=_0x1116a7,_0x41276b=this['_univerInstanceService'][_0x293e6d(0x19c)](_0x56d9bd);if(!_0x41276b)return console[_0x293e6d(0x23d)](_0x293e6d(0x2a1)),{'header':[],'data':[]};const _0x51480a=_0x41276b[_0x293e6d(0x235)](_0x5ee810),_0x431306=_0x51480a[_0x293e6d(0x25d)](),{startRow:_0x24a6fb,startColumn:_0x308374,endRow:_0x3db682,endColumn:_0x21c846}=this[_0x293e6d(0x1b7)](_0x4ec532,_0x51480a),_0x30ceb1=_0x41276b['getStyles'](),_0x3c9c60=[],_0x464e6c=[],_0x2bcec6={};for(let _0x1edb0b=_0x24a6fb;_0x1edb0b<=_0x3db682;_0x1edb0b++){const _0x3c7fb1=[];for(let _0x8b4c9f=_0x308374;_0x8b4c9f<=_0x21c846;_0x8b4c9f++){const _0xeac1e0=_0x431306[_0x293e6d(0x32a)](_0x1edb0b,_0x8b4c9f);_0x1edb0b===_0x24a6fb?_0x3c9c60[_0x293e6d(0x1b6)](_0xeac1e0==null?null:String(_0xeac1e0['v'])):_0x3c7fb1['push'](this[_0x293e6d(0x368)](_0xeac1e0,_0x30ceb1,_0x2bcec6));}_0x464e6c[_0x293e6d(0x1b6)](_0x3c7fb1);}return{'header':_0x3c9c60,'data':_0x464e6c};}[_0x4bc323(0x19a)](){const _0x2667ee=_0x4bc323;return super[_0x2667ee(0x19a)]();}[_0x4bc323(0x2ac)](_0x5d7f5a){const _0x4986f2=_0x4bc323;super[_0x4986f2(0x2ac)](_0x5d7f5a),this[_0x4986f2(0x2ea)]();}[_0x4bc323(0x2fe)](){const _0x1bf375=_0x4bc323;super[_0x1bf375(0x2fe)](),this[_0x1bf375(0x2c7)]={},this[_0x1bf375(0x12e)]=null;}}const Fi=_0x52c794=>{const _0x2142ae=_0x4bc323,{targetCellInfo:_0x10c107}=_0x52c794,{matrixCache:_0x585eea,rangesCache:_0x127b79}=Jo({'filter':_0x2142ae(0x1fe),'row':'Row','column':_0x2142ae(0x199),'values':_0x2142ae(0x100)},_0x10c107),_0x30338e=new _0xfe6c88();return _0x585eea[_0x2142ae(0x2b9)]((_0x51c18e,_0x3ceb16,_0x3f6a02)=>{_0x30338e['setValue'](_0x51c18e,_0x3ceb16,_0x3f6a02);}),{'matrix':_0x30338e,'rangesCache':_0x127b79};},st=_0x3122d3=>{const _0x495282=_0x4bc323;let _0x18ba25;if(_0x3122d3!=null&&_0x3122d3['v']||(_0x3122d3==null?void 0x0:_0x3122d3['v'])===0x0){_0x18ba25||(_0x18ba25={});const _0x4d52ec=Bo(_0x3122d3['v']);typeof _0x4d52ec=='number'?_0x18ba25['t']=_0x4b0abe[_0x495282(0x273)]:typeof _0x4d52ec=='string'&&(_0x18ba25['t']=_0x4b0abe[_0x495282(0x142)]),_0x18ba25['v']=_0x4d52ec;}return _0x18ba25;},Ri=(_0x16d44e,_0x399539,_0x415c65)=>{const _0x35e00c=_0x4bc323;var _0x19b6dc,_0x41c3bd,_0x55f724,_0x17ff44,_0x39ff89,_0x25d464,_0x29b34e,_0x2e7bd1,_0x7b02bf,_0x1310cf,_0x1cae55,_0x2093c4;const {cornerView:_0x3a42ff,rowView:_0x44c7a9,colView:_0x8dd8fe,dataView:_0x27465d,pageView:_0x46908c,formatMap:_0x5780e}=_0x16d44e,{row:_0x3beea6,col:_0x5bf9de}=_0x399539,_0x9fff43=new _0xfe6c88();let _0x304ed2=_0x3beea6,_0xb622df=_0x5bf9de;Object['keys'](_0x46908c[_0x35e00c(0x107)])[_0x35e00c(0x1f4)](_0x312558=>{const _0x2b21e7=_0x35e00c;Object[_0x2b21e7(0x1be)](_0x46908c['data'][Number(_0x312558)])['forEach'](_0x59f800=>{const _0x26b435=_0x2b21e7,_0x39aa99={..._0x46908c[_0x26b435(0x107)][Number(_0x312558)][Number(_0x59f800)]};_0x9fff43[_0x26b435(0x15e)](Number(_0x312558)+_0x304ed2,Number(_0x59f800)+_0xb622df,st(_0x39aa99));});});const _0x5228c0=Object[_0x35e00c(0x1be)](_0x46908c[_0x35e00c(0x107)])[_0x35e00c(0x352)];_0x304ed2+=_0x5228c0+(_0x5228c0?It:0x0);const _0x475825=_0x3a42ff[_0x35e00c(0x356)](),_0x4caf28=_0x3a42ff[_0x35e00c(0x119)]();for(let _0x2a3fe6=0x0;_0x2a3fe6<_0x475825;_0x2a3fe6++)for(let _0x548b08=0x0;_0x548b08<_0x4caf28;_0x548b08++){const _0x487d58={...(_0x41c3bd=(_0x19b6dc=_0x3a42ff[_0x35e00c(0x107)])==null?void 0x0:_0x19b6dc[_0x2a3fe6])==null?void 0x0:_0x41c3bd[_0x548b08]};_0x487d58&&((_0x55f724=_0x44c7a9[_0x35e00c(0x111)][_0x548b08])!=null&&_0x55f724[_0x35e00c(0x12b)])&&_0x548b08===_0x4caf28-0x1&&_0x2a3fe6===_0x475825-0x1&&(_0x487d58['v']=''+_0x415c65[_0x35e00c(0x25f)]),_0x9fff43[_0x35e00c(0x15e)](_0x2a3fe6+_0x304ed2,_0x548b08+_0xb622df,st(_0x487d58));}_0xb622df+=_0x4caf28;const _0x57371a=_0x8dd8fe[_0x35e00c(0x111)],_0x25ab46=_0x8dd8fe[_0x35e00c(0x319)]()>=0x0?_0x8dd8fe[_0x35e00c(0x319)]()+0x1:0x0,_0x44a7d9=_0x8dd8fe['getLastCol']()>=0x0?_0x8dd8fe[_0x35e00c(0x15a)]()+0x1:0x0;for(let _0x21b4af=0x0;_0x21b4af<_0x44a7d9;_0x21b4af++)for(let _0x4b9f0e=0x0;_0x4b9f0e<_0x25ab46;_0x4b9f0e++){const _0x5d38a3={...(_0x39ff89=(_0x17ff44=_0x8dd8fe[_0x35e00c(0x107)])==null?void 0x0:_0x17ff44[_0x21b4af])==null?void 0x0:_0x39ff89[_0x4b9f0e]},_0x4eac11=(_0x25d464=_0x57371a[_0x21b4af])==null?void 0x0:_0x25d464[_0x35e00c(0x2b1)],_0x38269c=_0x5780e[_0x4eac11];_0x5d38a3&&(_0x5d38a3['v']=ht(_0x5d38a3,_0x21b4af===0x0&&((_0x29b34e=_0x8dd8fe[_0x35e00c(0x186)](_0x4b9f0e+0x1))==null?void 0x0:_0x29b34e[_0x35e00c(0x12b)]),_0x38269c,_0x415c65)),_0x9fff43[_0x35e00c(0x15e)](_0x21b4af+_0x304ed2,_0x4b9f0e+_0xb622df,st(_0x5d38a3));}_0x304ed2+=_0x475825;const _0x2fcad6=_0x44c7a9['headerMap'],_0x804f44=_0x44c7a9[_0x35e00c(0x319)]()>=0x0?_0x44c7a9[_0x35e00c(0x319)]()+0x1:0x0,_0x523ba7=_0x44c7a9[_0x35e00c(0x15a)]()>=0x0?_0x44c7a9[_0x35e00c(0x15a)]()+0x1:0x0;for(let _0x24e62e=0x0;_0x24e62e<_0x804f44;_0x24e62e++)for(let _0x475be6=0x0;_0x475be6<_0x523ba7;_0x475be6++){const _0x10bf23={...(_0x7b02bf=(_0x2e7bd1=_0x44c7a9['data'])==null?void 0x0:_0x2e7bd1[_0x24e62e])==null?void 0x0:_0x7b02bf[_0x475be6]},_0x36bc35=(_0x1310cf=_0x2fcad6[_0x475be6])==null?void 0x0:_0x1310cf[_0x35e00c(0x2b1)],_0x5c26dd=_0x5780e[_0x36bc35];_0x10bf23&&(_0x10bf23['v']=ht(_0x10bf23,!0x1,_0x5c26dd,_0x415c65)),_0x9fff43[_0x35e00c(0x15e)](_0x24e62e+_0x304ed2,_0x475be6+_0x5bf9de,st(_0x10bf23));}const _0x37637e=_0x27465d[_0x35e00c(0x356)](),_0x33a4da=_0x27465d['getColCount']();for(let _0x35cbba=0x0;_0x35cbba<_0x37637e;_0x35cbba++)for(let _0x450480=0x0;_0x450480<_0x33a4da;_0x450480++){const _0x40bfbe={...(_0x2093c4=(_0x1cae55=_0x27465d[_0x35e00c(0x107)])==null?void 0x0:_0x1cae55[_0x35cbba])==null?void 0x0:_0x2093c4[_0x450480]};_0x9fff43[_0x35e00c(0x15e)](_0x35cbba+_0x304ed2,_0x450480+_0xb622df,st(_0x40bfbe));}return _0x9fff43;},Di=_0x2bfecd=>{const _0x2ff5e6=_0x4bc323,{view:_0x5ef8bb,targetCellInfo:_0x20c7a4,isEmpty:_0x4f32b6,textInfo:_0x31f9c9}=_0x2bfecd;if(_0x4f32b6)return Fi(_0x2bfecd);const {pageView:_0x123f4f,cornerView:_0x3f7614,rowView:_0x5b456b,colView:_0x339080,dataView:_0x2059a7}=_0x5ef8bb,_0x5925e0=ge(_0x20c7a4,_0x123f4f,!0x0),_0x437885=_0x123f4f[_0x2ff5e6(0x210)]>=0x0?_0x123f4f[_0x2ff5e6(0x210)]+0x1:0x0,_0x4cb69a=_0x3f7614[_0x2ff5e6(0x356)](),_0x267215=_0x3f7614[_0x2ff5e6(0x119)](),_0x232713=_0x5925e0['length']>0x0?It:0x0,_0x5ac3df=ge({'row':_0x20c7a4['row']+_0x437885+_0x232713,'col':_0x20c7a4[_0x2ff5e6(0x26e)]},_0x3f7614,!0x1,!0x1),_0x5d573e=ge({'row':_0x20c7a4['row']+_0x437885+_0x232713+_0x4cb69a,'col':_0x20c7a4[_0x2ff5e6(0x26e)]},_0x5b456b,!0x1,!0x0),_0x20ad01=ge({'row':_0x20c7a4['row']+_0x437885+_0x232713,'col':_0x20c7a4['col']+_0x267215},_0x339080,!0x1,!0x0),_0x1e14ef=ge({'row':_0x20c7a4[_0x2ff5e6(0x323)]+_0x437885+_0x232713+_0x4cb69a,'col':_0x20c7a4[_0x2ff5e6(0x26e)]+_0x267215},_0x2059a7,!0x1,!0x1),_0x563c75={'rowRanges':_0x5d573e,'colRanges':_0x20ad01,'cornerRanges':_0x5ac3df,'dataRanges':_0x1e14ef,'pageRanges':_0x5925e0};return{'matrix':Ri(_0x5ef8bb,_0x20c7a4,_0x31f9c9),'rangesCache':_0x563c75};};var Ui=Object['getOwnPropertyDescriptor'],Ni=(_0xe3b8f3,_0x104ea6,_0x4efea7,_0x142377)=>{const _0x78d3cd=_0x4bc323;for(var _0x534e71=_0x142377>0x1?void 0x0:_0x142377?Ui(_0x104ea6,_0x4efea7):_0x104ea6,_0x17d2ba=_0xe3b8f3[_0x78d3cd(0x352)]-0x1,_0x12c0bd;_0x17d2ba>=0x0;_0x17d2ba--)(_0x12c0bd=_0xe3b8f3[_0x17d2ba])&&(_0x534e71=_0x12c0bd(_0x534e71)||_0x534e71);return _0x534e71;},je=(_0x2c76c5,_0x27ff38)=>(_0x349803,_0x31d5c6)=>_0x27ff38(_0x349803,_0x31d5c6,_0x2c76c5);let Q=class extends _0x2e1b8a{constructor(_0x2cdeaf,_0x55b587,_0x5ae036,_0x458c48,_0x30bb40,_0x2ec724){const _0x514469=_0x4bc323;super(),V(this,_0x514469(0x11f),new Map()),V(this,_0x514469(0xf0),new Map()),V(this,'_viewData',new Map()),V(this,_0x514469(0x2be)),V(this,'_collectionChange$',new _0x5589bd()),V(this,_0x514469(0x24e),this['_collectionChange$'][_0x514469(0x1e6)]()),V(this,_0x514469(0x168),new _0x5589bd()),V(this,'viewData$',this[_0x514469(0x168)][_0x514469(0x1e6)]()),V(this,_0x514469(0x2cb),new _0x5589bd()),V(this,_0x514469(0x20a),this[_0x514469(0x2cb)][_0x514469(0x1e6)]()),V(this,'_dataFieldManagerCollection',new Map()),V(this,_0x514469(0x2bf),[]),V(this,'_queryingMap',new Map()),(this[_0x514469(0x150)]=_0x2cdeaf,this['_univerInstanceService']=_0x55b587,this[_0x514469(0x2d3)]=_0x5ae036,this['_configService']=_0x458c48,this[_0x514469(0x24a)]=_0x30bb40,this[_0x514469(0x1ee)]=_0x2ec724,this[_0x514469(0x2e5)]());}[_0x4bc323(0x337)](){const _0xf5ebe2=_0x4bc323;return this['_textInfo']?this[_0xf5ebe2(0x2be)]:Mi;}['setTextInfo'](_0x2891fd){const _0x14356e=_0x4bc323;this[_0x14356e(0x2be)]=_0x2891fd;}[_0x4bc323(0x138)](_0x16b345){const _0x3f9d67=_0x4bc323;var _0x5c78e6;const {from:_0x596f48,to:_0xdceee6,unitId:_0x5e520f,fromRange:_0x5dd4e6,toRange:_0x5f8d13}=_0x16b345;if(_0x596f48&&_0xdceee6){const _0x4c770a=this[_0x3f9d67(0x11e)](_0x5e520f),_0x1646fa=this[_0x3f9d67(0x11f)][_0x3f9d67(0x322)](_0x5e520f),_0x4e5df7=(_0x5c78e6=this[_0x3f9d67(0x14a)][_0x3f9d67(0x19c)](_0x5e520f))==null?void 0x0:_0x5c78e6['getSheetBySheetId'](_0xdceee6[_0x3f9d67(0x1e0)]);if(!_0x1646fa||!_0x4e5df7)return;const _0x3f6372=_0x4e5df7==null?void 0x0:_0x4e5df7[_0x3f9d67(0x34b)]();for(const [_0x369a15,_0x26ff64]of _0x1646fa['entries']())for(const [_0x4e687d,_0x51f0a9]of _0x26ff64[_0x3f9d67(0x33d)]()){const {sourceRangeInfo:_0x1d72c3}=_0x51f0a9;if(_0x1d72c3[_0x3f9d67(0x1bf)]===_0x5e520f&&_0x1d72c3[_0x3f9d67(0x1e0)]===_0x596f48['subUnitId']&&_0x135959[_0x3f9d67(0x1f6)](_0x5dd4e6,_0x1d72c3[_0x3f9d67(0x269)])){const _0x1e55a2={'row':_0x1d72c3[_0x3f9d67(0x269)][_0x3f9d67(0x351)]-_0x5dd4e6[_0x3f9d67(0x351)],'col':_0x1d72c3['range'][_0x3f9d67(0xf7)]-_0x5dd4e6[_0x3f9d67(0xf7)]},_0x5bcbf7={'unitId':_0x5e520f,'subUnitId':_0xdceee6['subUnitId'],'sheetName':_0x3f6372,'range':{'startRow':_0x5f8d13['startRow']+_0x1e55a2['row'],'endRow':_0x5f8d13['startRow']+_0x1e55a2['row']+_0x1d72c3['range'][_0x3f9d67(0xed)]-_0x1d72c3['range'][_0x3f9d67(0x351)],'startColumn':_0x5f8d13[_0x3f9d67(0xf7)]+_0x1e55a2[_0x3f9d67(0x26e)],'endColumn':_0x5f8d13['startColumn']+_0x1e55a2[_0x3f9d67(0x26e)]+_0x1d72c3[_0x3f9d67(0x269)][_0x3f9d67(0x2b2)]-_0x1d72c3[_0x3f9d67(0x269)][_0x3f9d67(0xf7)]}};_0x4c770a[_0x3f9d67(0x138)](_0x4e687d,_0x5bcbf7);const _0x5ea3cb={..._0x51f0a9,'sourceRangeInfo':_0x5bcbf7};this[_0x3f9d67(0x180)](_0x5e520f,_0xdceee6[_0x3f9d67(0x1e0)],_0x4e687d,_0x5ea3cb),this[_0x3f9d67(0x331)]({'unitId':_0x5e520f,'token':_0x4e687d,'type':Le['update'],'oldSourceRangeInfo':_0x1d72c3,'dataRangeInfo':_0x5bcbf7,'targetCellInfo':_0x51f0a9[_0x3f9d67(0x16a)]}),this['updateConfig']({'unitId':_0x5e520f,'subUnitId':_0xdceee6['subUnitId'],'oldSubUnitId':_0x369a15,'pivotTableId':_0x4e687d,'pivotTableConfig':_0x5ea3cb,'collectionConfig':_0x4c770a['toJSON']()});}}}}[_0x4bc323(0x331)](_0x462bbe){const _0x47e186=_0x4bc323;this[_0x47e186(0x1e1)][_0x47e186(0xe7)](_0x462bbe);}[_0x4bc323(0x11e)](_0x59950e){const _0x10e96f=_0x4bc323;let _0xbbc4b4=this['_dataFieldManagerCollection']['get'](_0x59950e);return _0xbbc4b4||(_0xbbc4b4=new _i(this,this[_0x10e96f(0x14a)]),this[_0x10e96f(0x1b4)][_0x10e96f(0x2a6)](_0x59950e,_0xbbc4b4)),_0xbbc4b4;}[_0x4bc323(0x348)](_0x19cc7d,_0x3eb325){const _0x1e5d6c=_0x4bc323;return this[_0x1e5d6c(0x11e)](_0x19cc7d)['collections'][_0x3eb325];}[_0x4bc323(0x24b)](_0xb095ed,_0x38a34a,_0x23a367){const _0x4c5ea8=_0x4bc323;return this[_0x4c5ea8(0x11e)](_0xb095ed)[_0x4c5ea8(0x24b)](_0x38a34a,_0x23a367);}['_ensurePivotMap'](_0x1400f5,_0x2b812e){const _0x2c02c3=_0x4bc323;let _0x466d27=this[_0x2c02c3(0x11f)][_0x2c02c3(0x322)](_0x1400f5);_0x466d27||(_0x466d27=new Map(),this[_0x2c02c3(0x11f)][_0x2c02c3(0x2a6)](_0x1400f5,_0x466d27));let _0x1b7461=_0x466d27[_0x2c02c3(0x322)](_0x2b812e);return _0x1b7461||(_0x1b7461=new Map(),_0x466d27[_0x2c02c3(0x2a6)](_0x2b812e,_0x1b7461)),_0x1b7461;}[_0x4bc323(0x180)](_0x1588d1,_0x144a9f,_0x55a421,_0x578031){this['_ensurePivotMap'](_0x1588d1,_0x144a9f)['set'](_0x55a421,_0x578031);}['_deleteModelCache'](_0x475321,_0x2a2ab2,_0xead3c8){const _0x32f8fc=_0x4bc323;var _0x43e936,_0x2a771a,_0x96105f,_0x518bbb;((_0x2a771a=(_0x43e936=this[_0x32f8fc(0x11f)][_0x32f8fc(0x322)](_0x475321))==null?void 0x0:_0x43e936[_0x32f8fc(0x322)](_0x2a2ab2))==null?void 0x0:_0x2a771a[_0x32f8fc(0x322)](_0xead3c8))&&((_0x518bbb=(_0x96105f=this[_0x32f8fc(0x11f)][_0x32f8fc(0x322)](_0x475321))==null?void 0x0:_0x96105f[_0x32f8fc(0x322)](_0x2a2ab2))==null||_0x518bbb[_0x32f8fc(0x137)](_0xead3c8));}['_updatePivotTableInstanceCache'](_0x216d15,_0x3d012a){const _0x3339f4=_0x4bc323;this[_0x3339f4(0xf0)]['set'](_0x216d15,_0x3d012a);}[_0x4bc323(0x1ea)](_0x39c7c1){this['_pivotTableInstanceCache']['delete'](_0x39c7c1);}[_0x4bc323(0xf5)](_0x400144,_0x3ebede){const _0x3bfcce=_0x4bc323;let _0x5f4a72=this['_viewData']['get'](_0x400144);_0x5f4a72||(_0x5f4a72=new Map(),this[_0x3bfcce(0x20c)]['set'](_0x400144,_0x5f4a72));let _0x517731=_0x5f4a72[_0x3bfcce(0x322)](_0x3ebede);return _0x517731||(_0x517731=new Map(),_0x5f4a72[_0x3bfcce(0x2a6)](_0x3ebede,_0x517731)),_0x517731;}[_0x4bc323(0x272)](_0x51e81a){const _0x47b1cd=_0x4bc323,{unitId:_0x33db1b,subUnitId:_0x45c856,pivotTableId:_0x1fbd2a,pivotTableConfig:_0x597e0a,collectionConfig:_0x2eaf4b}=_0x51e81a,_0x1077c5={'unitId':_0x33db1b,'subUnitId':_0x45c856,'oldSubUnitId':_0x45c856,'pivotTableId':_0x1fbd2a,'pivotTableConfig':_0x597e0a,'collectionConfig':_0x2eaf4b};this[_0x47b1cd(0x24a)]['executeCommand'](co['id'],_0x1077c5,{'onlyLocal':!0x0});}[_0x4bc323(0x1f3)](_0x4e01b0,_0x106b7b,_0x2bb405,_0x1805c3,_0x40cf20,_0x1c87a8,_0x39fe6f,_0x1ecfd6=!0x1){const _0x61fa49=_0x4bc323;var _0xc5cf15;this['_commandService'][_0x61fa49(0x225)](Dt['id'],{'single':{'unitId':_0x4e01b0,'subUnitId':_0x106b7b,'type':_0x2bb405,'pivotTableId':_0x1805c3,'view':_0x40cf20,'pivotConfig':_0x1c87a8},'collectionConfig':{[_0x4e01b0]:_0x39fe6f}},{'onlyLocal':!0x0});const _0x4544f5=!!((_0xc5cf15=this[_0x61fa49(0x1e7)](_0x1805c3))!=null&&_0xc5cf15[_0x61fa49(0x282)]()),_0x58a93c=this[_0x61fa49(0x365)](_0x4e01b0,_0x106b7b,_0x1805c3);_0x58a93c&&this[_0x61fa49(0x187)]({'view':_0x40cf20,'pivotTableId':_0x1805c3,'textInfo':this[_0x61fa49(0x337)](),'isEmpty':_0x4544f5,'targetCellInfo':_0x58a93c[_0x61fa49(0x16a)]},_0x1ecfd6);}[_0x4bc323(0x187)](_0x52a20d,_0x1634d2){const _0x1be4ef=_0x4bc323,{targetCellInfo:_0x204f68,pivotTableId:_0x4b7f45}=_0x52a20d,{unitId:_0x5a7392,subUnitId:_0x1c0690}=_0x204f68,_0x5a9a86=this[_0x1be4ef(0xf5)](_0x5a7392,_0x1c0690),_0x4a072e=_0x5a9a86[_0x1be4ef(0x322)](_0x4b7f45);let _0x5d7ec8,_0xb921b9;_0x4a072e&&(_0x5d7ec8=_0x4a072e[_0x1be4ef(0x18c)],_0xb921b9=_0x4a072e[_0x1be4ef(0x128)]);const {rangesCache:_0x5d18f2,matrix:_0x34ef28}=Di(_0x52a20d);_0x5a9a86[_0x1be4ef(0x2a6)](_0x4b7f45,{'rangeCache':_0x5d18f2,'matrix':_0x34ef28,'oldMatrix':_0xb921b9,'oldRangeCache':_0x5d7ec8}),_0x1634d2||this[_0x1be4ef(0x168)][_0x1be4ef(0xe7)]({'unitId':_0x5a7392,'subUnitId':_0x1c0690,'pivotTableId':_0x4b7f45});}[_0x4bc323(0x2f9)](_0x3c68e0,_0x87112f,_0x4b4202,_0xddf449,_0x43ff11){const _0x105df4=_0x4bc323;this[_0x105df4(0x180)](_0x3c68e0,_0x87112f,_0x4b4202,_0x43ff11),this[_0x105df4(0x25a)](_0x4b4202,_0xddf449);}[_0x4bc323(0x125)](_0x39fadb,_0x59606d,_0x20e5e0){const _0x459b76=_0x4bc323,_0x3ce934=this[_0x459b76(0x11e)](_0x39fadb);_0x3ce934[_0x459b76(0x1e2)](_0x20e5e0)['forEach'](_0x2c6c39=>{_0x3ce934['deleteDataField'](_0x2c6c39);}),this[_0x459b76(0x1ad)](_0x39fadb,_0x20e5e0),this[_0x459b76(0x364)](_0x39fadb,_0x59606d,_0x20e5e0),this[_0x459b76(0x1ea)](_0x20e5e0);}[_0x4bc323(0x121)](_0x3e86bf,_0x281abd,_0x22332c,_0xa668e8){this['_updateModelCache'](_0x3e86bf,_0x281abd,_0x22332c,_0xa668e8);}[_0x4bc323(0x365)](_0x5d18b8,_0x5aaa20,_0x4fb5d9){const _0x28de78=_0x4bc323;var _0x136588,_0x2afb26;const _0x1d95b2=(_0x2afb26=(_0x136588=this[_0x28de78(0x11f)][_0x28de78(0x322)](_0x5d18b8))==null?void 0x0:_0x136588['get'](_0x5aaa20))==null?void 0x0:_0x2afb26[_0x28de78(0x322)](_0x4fb5d9);if(_0x1d95b2)return _0x1d95b2;}[_0x4bc323(0x28e)](_0x12e554,_0x354fe3,_0x42754f){const _0x117211=_0x4bc323;var _0x21cc3f,_0x281e30;const _0x1b61ce=(_0x281e30=(_0x21cc3f=this[_0x117211(0x11f)]['get'](_0x12e554))==null?void 0x0:_0x21cc3f[_0x117211(0x322)](_0x354fe3))==null?void 0x0:_0x281e30[_0x117211(0x322)](_0x42754f);if(_0x1b61ce)return _0x1b61ce[_0x117211(0xf4)];}[_0x4bc323(0x1e7)](_0x190184){const _0x1da20e=_0x4bc323;return this[_0x1da20e(0xf0)][_0x1da20e(0x322)](_0x190184);}[_0x4bc323(0x154)](_0x285323){const _0x49eda2=_0x4bc323;this[_0x49eda2(0x11f)][_0x49eda2(0x137)](_0x285323);const _0x2b18a3=this[_0x49eda2(0x1b4)][_0x49eda2(0x322)](_0x285323);_0x2b18a3&&(_0x2b18a3['dispose'](),this[_0x49eda2(0x1b4)]['delete'](_0x285323)),this[_0x49eda2(0x20c)][_0x49eda2(0x137)](_0x285323),this[_0x49eda2(0x2bf)][_0x49eda2(0x1f4)](_0x40a44f=>{const _0x269de8=_0x49eda2;_0x40a44f[_0x269de8(0x154)](_0x285323);});}['addCollectionByJSON'](_0x1df15f,_0x10ba6e,_0x3eabc0,_0x200b26){const _0x6db839=_0x4bc323;return this['getDataFieldManager'](_0x3eabc0[_0x6db839(0x1bf)])[_0x6db839(0x196)](_0x1df15f,_0x10ba6e,_0x3eabc0,_0x200b26);}['createCollectionWithDataRange'](_0x9b9112){const _0x4f51eb=_0x4bc323;return this[_0x4f51eb(0x11e)](_0x9b9112[_0x4f51eb(0x1bf)])[_0x4f51eb(0x242)](_0x9b9112);}[_0x4bc323(0x265)](_0x32d414,_0x1b2f3a,_0x2fd985){const _0x146e45=_0x4bc323;this[_0x146e45(0x11e)](_0x2fd985[_0x146e45(0x1bf)])[_0x146e45(0x265)](_0x32d414,_0x1b2f3a,_0x2fd985);}[_0x4bc323(0x25b)](_0x4ac0f4,_0x1eaa0a){const _0x30c90b=_0x4bc323;this[_0x30c90b(0x11e)](_0x4ac0f4)[_0x30c90b(0x264)](_0x1eaa0a);}[_0x4bc323(0x1ad)](_0x5c2389,_0x4ec7dd){this['getDataFieldManager'](_0x5c2389)['removeCollectionImp'](_0x4ec7dd);}[_0x4bc323(0x1cc)](_0x518d46,_0x3fe668){const _0x3c57fd=_0x4bc323;var _0x5def3a;return(_0x5def3a=this[_0x3c57fd(0x11f)][_0x3c57fd(0x322)](_0x518d46))==null?void 0x0:_0x5def3a[_0x3c57fd(0x322)](_0x3fe668);}['getTargetByPivotId'](_0x567119){const _0x2aee9d=_0x4bc323;for(const [_0x438fe9,_0x32bbd8]of this[_0x2aee9d(0x11f)][_0x2aee9d(0x33d)]())for(const [_0x91a5eb,_0x4c9f9b]of _0x32bbd8[_0x2aee9d(0x33d)]())if(_0x4c9f9b['has'](_0x567119))return{'unitId':_0x438fe9,'subUnitId':_0x91a5eb};return null;}[_0x4bc323(0x31a)](_0x162e6e,_0x223efa,_0x35047c,_0x3d7be8){const _0x17e63a=_0x4bc323,_0x58452e=this[_0x17e63a(0xf5)](_0x162e6e,_0x223efa);_0x3d7be8?_0x58452e[_0x17e63a(0x2a6)](_0x35047c,_0x3d7be8):_0x58452e['delete'](_0x35047c),this[_0x17e63a(0x168)][_0x17e63a(0xe7)]({'unitId':_0x162e6e,'subUnitId':_0x223efa,'pivotTableId':_0x35047c});}[_0x4bc323(0x2fe)](){const _0x239c2d=_0x4bc323;super[_0x239c2d(0x2fe)]();}[_0x4bc323(0x2f7)](_0x528b18,_0x221d7f,_0x129c28){const _0x5b9036=_0x4bc323;var _0x4635f8,_0x5b5afb;const _0x152470=(_0x5b5afb=(_0x4635f8=this[_0x5b9036(0x20c)][_0x5b9036(0x322)](_0x528b18))==null?void 0x0:_0x4635f8['get'](_0x221d7f))==null?void 0x0:_0x5b5afb[_0x5b9036(0x322)](_0x129c28);return _0x152470||null;}[_0x4bc323(0x2eb)](_0x47b500){const _0x4f67ff=_0x4bc323;this[_0x4f67ff(0x123)](_0x47b500);}[_0x4bc323(0x123)](_0x40b3fa){const _0x5a4059=_0x4bc323,{token:_0x391153,unitId:_0x1b0f73,subUnitId:_0x367e28}=_0x40b3fa,_0x153747=_0x1b0f73+'-'+_0x367e28+'-'+_0x391153;this[_0x5a4059(0x1e8)][_0x5a4059(0x322)](_0x153747)&&clearTimeout(this[_0x5a4059(0x1e8)][_0x5a4059(0x322)](_0x153747));const _0xe0e935=setTimeout(()=>{const _0x35c7ac=_0x5a4059;this['queryDirtyPivotTable'](_0x40b3fa),this[_0x35c7ac(0x1e8)][_0x35c7ac(0x137)](_0x153747);},Pi);this['_queryingMap'][_0x5a4059(0x2a6)](_0x153747,_0xe0e935);}['queryDirtyPivotTable'](_0x2a7b13){const _0x50159e=_0x4bc323,{unitId:_0x1427e7,subUnitId:_0x4a0b16,token:_0x386d43,type:_0x4bda34,pivotConfig:_0x19a2bd}=_0x2a7b13,_0x5c097f=this[_0x50159e(0x1e7)](_0x386d43),_0x17a3a2=_0x5c097f==null?void 0x0:_0x5c097f[_0x50159e(0x215)](),_0x5556b0=_0x19a2bd!=null?_0x19a2bd:this['getPivotTableConfig'](_0x1427e7,_0x4a0b16,_0x386d43);_0x5556b0&&(_0x5556b0[_0x50159e(0x282)]=!!(_0x5c097f!=null&&_0x5c097f['isEmpty']())),(_0x17a3a2||_0x4bda34===B[_0x50159e(0x226)])&&this[_0x50159e(0x1f3)](_0x1427e7,_0x4a0b16,_0x4bda34,_0x386d43,_0x17a3a2,_0x5556b0,this[_0x50159e(0x11e)](_0x1427e7)[_0x50159e(0x19a)]());}[_0x4bc323(0x19a)](_0x4bac20){const _0x5505f2=_0x4bc323,_0xe8633a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5505f2(0x11e)](_0x4bac20)&&(_0xe8633a['dataFieldManagerConfig'][_0x4bac20]=this[_0x5505f2(0x11e)](_0x4bac20)[_0x5505f2(0x19a)]()),this[_0x5505f2(0x11f)]['get'](_0x4bac20)){_0xe8633a[_0x5505f2(0x32c)][_0x4bac20]={};const _0x2d8094=this[_0x5505f2(0x11f)][_0x5505f2(0x322)](_0x4bac20);_0x2d8094!=null&&_0x2d8094[_0x5505f2(0x18d)]&&[..._0x2d8094['keys']()][_0x5505f2(0x1f4)](_0x2ca1e1=>{const _0x84d65e=_0x5505f2,_0x4b2206=_0x2d8094['get'](_0x2ca1e1);_0x4b2206!=null&&_0x4b2206[_0x84d65e(0x18d)]&&(_0xe8633a[_0x84d65e(0x32c)][_0x4bac20][_0x2ca1e1]={},[..._0x4b2206[_0x84d65e(0x1be)]()]['forEach'](_0x398f00=>{const _0x1a5957=_0x4b2206['get'](_0x398f00);_0x1a5957&&(_0xe8633a['pivotTableConfigs'][_0x4bac20][_0x2ca1e1][_0x398f00]=_0x1a5957);}));});}return _0xe8633a;}['fromJSON'](_0x188548){const _0x45f6b9=_0x4bc323;var _0x47839d;const {dataFieldManagerConfig:_0xfcfa28,pivotTableConfigs:_0x26e034}=_0x188548;_0xfcfa28&&Object[_0x45f6b9(0x1be)](_0xfcfa28)[_0x45f6b9(0x1f4)](_0x35b318=>{const _0x4c1a8b=_0x45f6b9;this[_0x4c1a8b(0x11e)](_0x35b318)[_0x4c1a8b(0x2ac)](_0xfcfa28[_0x35b318]);});const _0x2a260f=[];if(_0x26e034){const _0x49afa4=(_0x47839d=this[_0x45f6b9(0x150)][_0x45f6b9(0x322)](_0x1edc63)['getConfig'](_0x163010))!=null?_0x47839d:{},{ls:_0x108646,pbk:_0x52939c}=_0x49afa4,_0x1868ce=go(so,_0x108646,_0x52939c)[_0x45f6b9(0x1c0)];Object[_0x45f6b9(0x1be)](_0x26e034)[_0x45f6b9(0x1f4)](_0x3fe8b1=>{const _0x5eb93c=_0x45f6b9;let _0x43b45d=0x0;const _0x356828=_0x26e034[_0x3fe8b1];Object['keys'](_0x356828)[_0x5eb93c(0x1f4)](_0x167356=>{const _0x4d0e5d=_0x5eb93c,_0x264bd3=_0x356828[_0x167356];Object['keys'](_0x264bd3)[_0x4d0e5d(0x1f4)](_0x5695f3=>{const _0x576f98=_0x4d0e5d,_0x1c0c94=_0x264bd3[_0x5695f3];if(_0x1c0c94){if(_0x43b45d>=_0x1868ce)return;_0x43b45d++;const _0xc3cdb=this['getDataFieldManager'](_0x3fe8b1),_0x4c4718=_0xc3cdb[_0x576f98(0x1b2)][_0x5695f3],_0x5afb06=_0x4c4718[_0x576f98(0x21f)]();let _0x2fbadc=0x0;const _0x4d5a11=[];for(const _0x43a6cc of _0x5afb06){const _0x607d4e=_0x4c4718[_0x576f98(0x1e9)](_0x43a6cc);if(_0x4b22b1(_0x607d4e)){const _0x400676=_0x607d4e[_0x576f98(0x367)](),_0x4e6e2d=_0x4c4718['getFieldById'](_0x400676);_0x4e6e2d&&_0x4d5a11[_0x576f98(0x1b6)]([_0x607d4e,_0x4e6e2d]);continue;}_0xc3cdb[_0x576f98(0x22b)](_0x43a6cc,_0x1c0c94[_0x576f98(0x2d0)],_0x2fbadc),_0x2fbadc++;}_0x4d5a11[_0x576f98(0x1f4)](([_0x5adc84,_0x4e8c19])=>{_0x5adc84['refreshGroupField'](_0x4e8c19);});const _0x26f3a2=new _0x2cebe7(_0x4c4718);_0x26f3a2[_0x576f98(0x2ac)](_0x1c0c94[_0x576f98(0xf4)]),this[_0x576f98(0x2f9)](_0x3fe8b1,_0x167356,_0x5695f3,_0x26f3a2,_0x1c0c94);const _0x5f59bd=_0x26f3a2[_0x576f98(0x215)]();_0x2a260f['push']({'unitId':_0x3fe8b1,'subUnitId':_0x167356,'pivotTableId':_0x5695f3,'view':_0x5f59bd[_0x576f98(0x19a)](),'pivotConfig':_0x1c0c94,'type':B[_0x576f98(0xfc)]});const _0x149fb0=!!_0x26f3a2[_0x576f98(0x282)](),_0x832cad={'view':_0x5f59bd,'pivotTableId':_0x5695f3,'textInfo':this[_0x576f98(0x337)](),'isEmpty':_0x149fb0,'targetCellInfo':_0x1c0c94[_0x576f98(0x16a)]};this[_0x576f98(0x187)](_0x832cad,!0x1);}});});});}_0xfcfa28&&Object[_0x45f6b9(0x1be)](_0xfcfa28)[_0x45f6b9(0x1f4)](_0x5ef1b9=>{const _0x541f14=_0x45f6b9,_0x5d9ec0=this[_0x541f14(0x11e)](_0x5ef1b9);this['_fieldsCollectionChange$'][_0x541f14(0xe7)](_0x5d9ec0['collections']);}),this[_0x45f6b9(0x24a)][_0x45f6b9(0x225)](Dt['id'],{'batch':_0x2a260f,'collectionConfig':_0xfcfa28},{'onlyLocal':!0x0});}[_0x4bc323(0x2e5)](){const _0x257eca=_0x4bc323;this['disposeWithMe'](this[_0x257eca(0x1ee)][_0x257eca(0x318)]({'toJson':_0x525fe5=>JSON['stringify'](this[_0x257eca(0x19a)](_0x525fe5)),'parseJson':_0x48fdcb=>{if(!_0x48fdcb)return{};try{return JSON['parse'](_0x48fdcb);}catch{return{};}},'businesses':[_0x2a9244[_0x257eca(0xfe)]],'pluginName':ao,'onLoad':(_0x463493,_0x16ddb2)=>{const _0x2067cc=_0x257eca;this[_0x2067cc(0x2ac)](_0x16ddb2);},'onUnLoad':_0x3c8435=>{const _0x2b2983=_0x257eca;this[_0x2b2983(0x154)](_0x3c8435);}}));}};Q=Ni([je(0x0,_0x3bbbb8(_0x2bd25b)),je(0x1,_0x39f700),je(0x2,_0x3bbbb8(_0x25719d)),je(0x3,_0x1edc63),je(0x4,_0xcd8e3b),je(0x5,_0x3bbbb8(_0x4d1684))],Q);function _0x4021(){const _0x2fc515=['isText','sheets-pivot.value','sheets-pivot.countNumsName','sheet.mutation.set-pivot-format','pushComputingStatusSubject','deepClone','deleteDataField','refreshData','setSortInfo','find','getDataFieldId','range','blank','stringify','getDate','resetArea','col','getAutoFitColumnsMutations','replace','#f4f4f5','updateConfig','NUMBER','interceptCommand','_init','RemoveField','_updateRenderEmptyCache','_createExclusiveRange','cornerStyle','getDataFieldByTableId','sheets-pivot.dateGroup.month','YearMonth','_subjectViewChange','sheets-pivot.dateGroup.minute','_initViewModelBySheetInterceptor','getTextSize','updatePivotSource','isEmpty','iterateField','MUTATION','dataFieldId','subtotal','version','shouldClear','getIntersectsPivotTable','sheet.mutation.rename-pivot-field','GrandTotal','formJSON','updateCollectionConfig','getPivotTableModelConfig','sheets-pivot.blank','notExecuteFormula','displayName','Div0','Grand\x20Total','getRangeKeyList','sheets-pivot.dateGroup.quarter','setRangeKeyMap','var','setPivotInitCompleted','sheets-pivot.dateGroup.hourMinute','sheet.mutation.update-date-group','setValueFilterInfo','sheet.command.reset-pivot-fields-config','stdDevp','colStyle','unshift','sheet.command.add-pivot-field','workbook\x20is\x20not\x20found','dimension','SetPivotCollapse','getColumnCount','sheet.command.move-pivot-table','set','product','disposeWithMe','getValueFilterInfos','value','random','fromJSON','MovePivotField','SetPivotSetting','isBottomTotal','updateFieldSourceInfo','tableFieldId','endColumn','SetPivotTableConfig','Month','from','SetPivotSort','PIVOT_MUTATION_GENERATE','addCollection','forValue','getTargetByPivotTableId','getDataFieldItemInfo','setSubtotalType','sheet.command.add-pivot-table','_textInfo','needSameDeleteModel','_pivotConfigChange$','getPivotTableCellData','updateViewInfo','NO_COMMERCIAL','result','pluginName','name','rangeKeyMap','AddPivotField','colInfo','setPivotSort','_fieldsCollectionChange$','_initDataSendListener','getFullYear','Total','BadReference','sourceRangeInfo','resetPivotTable','muabQdva\x20NUbZyRQdva(pdbUaHU,\x20RuspdbcUy)\x20{\x20\x20\x20\x20QZy\x20{\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20pdbUaHUwamvtYZQlZZYy\x20=\x20pdbUaHU.HRpdQ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20vZdEdazUHHYEU\x20=\x20W9ix.RYZHU(YQvs(pdbUaHUwamvtYZQlZZYy[e]));\x20\x20\x20\x20\x20\x20\x20\x20dm\x20(!vZdEdazUHHYEU.uN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vZdEdazUHHYEU.uN\x20=\x20xuksUZ(pdbUaHUwamvtYZQlZZYy[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20dHqvZGUZ\x20=\x20QyRUvm\x20qvZGUZPpvsYp9bvRU\x20!==\x20\x27uaNUmdaUN\x27\x20&&\x20HUpm\x20daHQYabUvm\x20qvZGUZPpvsYp9bvRU;\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20bvaQU7Q\x20=\x20dHqvZGUZ\x20?\x20HUpm\x20:\x20VdaNvV;\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20kUHHYEUqvZN\x20=\x20bvaQU7Q.__5YHUF3__.RYZHU(pdbUaHUwamvtYZQlZZYy[e]);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20kUHHYEU\x20=\x20bvaQU7Q.__nU7__.HQZdaEdmy(kUHHYEUqvZN);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20HdEaYQuZUqvZN\x20=\x20bvaQU7Q.__5YHUF3__.RYZHU(pdbUaHUwamvtYZQlZZYy[1]);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20HdEaYQuZU\x20=\x20bvaQU7Q.__nU7__.HQZdaEdmy(HdEaYQuZUqvZN);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20HdEajYpdN\x20=\x20bvaQU7Q.__IUZdmy__(HdEaYQuZU,\x20kUHHYEU,\x20RuspdbcUy);\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20NvkYda\x20=\x20vZdEdazUHHYEU.Nk;\x20\x20\x20\x20\x20\x20\x20\x20muabQdva\x20dHCvkYdazYQbrdaE(vtYQQUZa,\x20vnvHQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20RYQQUZa\x20=\x20vtYQQUZa.ZURpYbU(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20rvHQ\x20=\x20vnvHQ.ZURpYbU(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20RYQQUZatYZQH\x20=\x20RYQQUZa.HRpdQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20rvHQtYZQH\x20=\x20rvHQ.HRpdQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dm\x20(!RYQQUZa.dabpuNUH(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZUQuZa\x20RYQQUZa\x20===\x20rvHQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dm\x20(RYQQUZatYZQH.pUaEQr\x20<\x20e\x20||\x20RYQQUZatYZQH[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZUQuZa\x20mYpHU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20RYQQUZa9ummd7\x20=\x20RYQQUZatYZQH.HpdbU(6).Jvda(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20rvHQ9ummd7\x20=\x20rvHQtYZQH.HpdbU(-RYQQUZatYZQH.pUaEQr\x20+\x206).Jvda(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZUQuZa\x20RYQQUZa9ummd7\x20===\x20rvHQ9ummd7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pUQ\x20NvkYdajYpdN\x20=\x20(NvkYda\x20&&\x20NvkYda.pUaEQr)\x20?\x20NvkYda.HvkU((NkwQUk)\x20=>\x20dHCvkYdazYQbrdaE(NkwQUk,\x20pvbYQdva.rvHQaYkU))\x20:\x20QZuU;\x20\x20\x20\x20\x20\x20\x20\x20dm\x20(pvbYQdva.rvHQaYkU\x20===\x20\x27pvbYprvHQ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NvkYdajYpdN\x20=\x20QZuU;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20bvaHQ\x20IYpdN\x20=\x20HdEajYpdN\x20&&\x20NvkYdajYpdN;\x20\x20\x20\x20\x20\x20\x20\x20ZUQuZa\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IYpdN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kUHHYEU:\x20vZdEdazUHHYEU,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20bYQbr\x20(UZZvZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20ZUQuZa\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IYpdN:\x20mYpHU,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kUHHYEU:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_lifecycleService','undos','addFieldWithSourceId','New','getPivotDisplayConfig','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','cornerInfo','setValuePivotFilter','FORCE_STRING','filterInfo','sheet.mutation.remove-pivot-table','24DqDOgE','varp','SHEET_PIVOT_IN_MAIN_THREAD','_initLocale','1963113eflQeY','date','rowCount','_initSnapshot','sheets-pivot.cellDateGroupDisplay.minute','triggerDirtyFeature','number','onStarting','initDataRanges','addDirtyPivotTable','defineProperty','sum','getCurrentUnitForType','countNums','sheets-pivot.sumName','startCollectChangeset','_globalSubject','clearExclusiveRangesByGroupId','params','viewUpdate$','message','getViewData','setDisplayName','addPivotTable','sheets-pivot.dateGroup.hour','getformat','_refRangeHandle','originTargetInfo','dispose','setPivotTableConfig','_initPivotDataGetListener','#e6ebfa','sheets-pivot.columnName','Column\x20','Collapse','Expand','sheet.mutation.send-pivot-config-local','NORMAL','sheet.mutation.remove-pivot-field','column','prototype','Value','getTargetByPivotId','getSheets','collection','pivotMutationGenerate','removeSourceRangeChange','symbol','reduce','dataFields','_subjectFieldsCollectionChange','sheet.mutation.set-pivot-sort-info','SetValuePivotFilter','setDirty','registerPluginResource','getLastRow','sideEffectUpdateWorkerCache','#e6ebfb','grandTotal','AddField','_initUnitDisposed','getSubUnitPivotRenderCache','has','max','get','row','sheets-pivot.subTotal','rowHeaderMap','removePivotField','markDirty','interceptor','_configVersion$','getValue','token','pivotTableConfigs','viewData$','sheet.mutation.get-pivot-data-local','SetPivotFilter','sheet.mutation.send-init-pivot-text-local','broadcastCollectionChange','toString','setLabelFilterInfo','_ensurePivotItemRenderValueMatrixCache','redos','_exclusiveRangeService','getTextInfo','getDisplayName','generateMutationsByRanges','_onRefRangeChange','Max\x20of\x20','addDataFieldWithoutUnitInfo','entries','setDateType','rowRanges','_globalComputedStartHelpFunc','3044eFFNLX','_pivotInitCompleted$','sheet.command.pivot-drill-down','sheets-pivot.emptyPivot.column','floor','slice','min','getCollection','updateValuePosition','getValueIndex','getName','parseInt','sheet.mutation.add-pivot-field','getPivotTableRangeInfo','getPivotItemRenderInfoCache','isNaN','startRow','length','_sheetsPivotTableAdaptorModel','foreach','MAX_SAFE_INTEGER','getRowCount','ΣValue','NUM','Sum\x20of\x20','setCollapse','setTextInfo','drillDown','iterateFieldByArea','updateRenderCache','_subjectCollectionChange','getFormat','valuePosition','ptn','COLUMN','_deleteModelCache','getPivotTableConfig','getFieldFormat','getOriginFieldId','adjustSheetCellData','paths','configVersion$','getMonth','rowStyle','next','Subtotal','leftOffset','getRefRangeMutationsByMoveRange','pivotInitCompleted$','valueFields','endRow','markDirty$','colCount','_pivotTableInstanceCache','_sheetInterceptorService','_pivotTableRangeInfo','sheet.mutation.set-pivot-filter','fieldsConfig','_ensureViewDataMap','_globalComputedEndHelpFunc','startColumn','_generateUniqueVersion','pivotTableIndexConfig','originalFieldId','_initCommandInterceptListener','Add','pageRanges','UNIVER_SHEET','pbt','Values','11oYkQlj','ResetPivotTable','dataFieldsCollection','NotFunction','sheets-pivot.cellDateGroupDisplay.hour','addRecord','data','update','Year','leafStyle','updatePivotTableMatrixInfo','Style','tuple','_markDirty$','getPivotDirtyViewInfo','areaInfo','headerMap','sheets-pivot.dateGroup.yearMonthDate','sheetName','stdDev','deleteField','getFieldDataType','updateRangeKeyMap','SHEET_PIVOT_EXCLUSIVE_ID','getColCount','_initRemoveSheetCommandInterceptor','7245938WglFQW','intersects','sheet.command.set-pivot-filter','getDataFieldManager','_model','getColumnWidth','setPivotTable','sheets-pivot.cellDateGroupDisplay.yearMonth','updateDirtyPivotTable','getStyles','removePivotTable','SetSortInfo','isColMultiMeasure','matrix','getTableFieldById','sheets-pivot.stdDevpName','isValue','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setOptions','_host','setName','getMatrix','sheet.mutation.remove-group-collection','collectionConfig','updatePivotTableRangeInfo','addExclusiveRange','new','getDataFieldByDataFieldId','delete','handleMoveRange','getPivotTableIdByCell','sheets-pivot.cellDateGroupDisplay.year','sheets-pivot.cellDateGroupDisplay.hourMinute','pivotTableId','fields','sheet.command.add-pivot-table-with-config','_dataSyncPrimaryController','subTotalStyle','onCommandExecuted','STRING','_getPivotAppliedRanges','sheet.command.set-pivot-sort','getFieldPositionInfoById','_initRegisterCommand','hasField','398dhMXZg','UpdateValuePosition','_univerInstanceService','getActiveSheet','getFieldCountByArea','addPivotField','sheets-pivot.stdDevName','endCollectChangeset','_injector','getDataFieldByRangeKey','sheet.mutation.send-pivot-data-local','format','deleteUnitId','getCurrentSelections','Average\x20of\x20','substring','_ensurePivotMap','getUnitId','getLastCol','sheets-pivot.dateGroup.monthDate','getCellRaw','filterFields','setValue','return\x20','valueIndex','onQueryStart','setPivotSetting','(Blank)','5762382Ntqltj','valid','addPivotTableWithConfig','setDataRecordCount','_viewData$','setSourceName','targetCellInfo','removeValueFilterInfo','getRangeKey','SetCollapse','measure','getSourceName','getSubtotal','_viewUpdate$','oldMatrix','_pivotRenderInfoCache','RemovePivotField','registerDirtyService','_initGlobalComputed','parse','body','rangeKey','_sheetsPivotDataSourceModel','updateFieldPosition','_ensurePivotItemRenderInfoCache','#eceeff','rowInfo','Row','_updateModelCache','8420uzeRoq','versions','dataRangeInfo','getFilterFieldIdByIndex','sheet.mutation.pivot-update-field-position','getHeaderMapItem','updateViewData','_sheetsSelectionsService','rgb(255,255,255)','filter','sheets-pivot.emptyPivot.filter','rangeCache','size','call','pageStyle','fetchThroughAsyncInterceptors','handleAsyncResponse','getPivotTableMatrixInfo','width','generateNewSheetName','textInfo','addCollectionByJSON','Count\x20of\x20','getSheetBySheetId','Column','toJSON','object','getUnit','remove','_initClearSelectionCommandInterceptor','getIntersects','string','valueFilter','getAutoDisplayNameFunction','sheet.command.remove-pivot-field','filterId','#FFFFFF','3080853KFLQOt','movePivotField','removeField','average','_initPivotTextInfo','NotNumber','sortInfo','removeCollections','sheets-pivot.varName','setRangeValueRedoMutation','rangesInfo','panel','collections','_featureCalculationManagerService','_dataFieldManagerCollection','_requestResolvers','push','getRangeStartEndInfo','registerCallbackWithEvent','sheet.mutation.pivot-update-value-position','colHeaderMap','setConfig','info','updateAllDisplayName','keys','unitId','count','sheet.command.move-pivot-field','getMatrixFromRunTimeData','sheet.mutation.set-pivot-field-subtotal-type','StdDev\x20of\x20','AddPivotTable','lastCol','single','handleSourceRangeChange','_configService','sheets-pivot.cellDateGroupDisplay.month','_pivotTableMatrixInfo','getSubUnitPivotConfigs','setFieldFormat','_refRangeService','sheets-pivot.cellDateGroupDisplay.yearQuarter','options','DIV_BY_ZERO','includes','createDataFieldId','_toJSON','fieldIds','Set','dateType','sheets-pivot.emptyPivot.values','AddPivotTableWithConfig','isArray','reset','14636410TdPfzg','setPivotCollapse','\x20-\x20','#b2b2b2','subUnitId','_collectionChange$','getNoUsedDataFieldIds','getSortInfo','getMatrixValue','COMMAND','asObservable','getPivotTableInstance','_queryingMap','getFieldById','_deletePivotTableInstanceCache','iterateFieldDim','sheet.mutation.set-pivot-collapse','_ensurePivotTableRangeInfo','_resourceManagerService','_activeDirtyManagerService','rgb(240,241,243)','collapseInfo','disposableCollection','updateView','forEach','getDataFieldBySourceName','contains','subscribe','Quarter','_sheetsPivotTableConfigModel','asyncInterceptor','getValuePosition','getOwnPropertyDescriptor','sheet.mutation.send-pivot-view-local','Filter','SetFieldFormat','add','sheet.operation.pivot-table-view-formula-mark-dirty','Hour','level','sheets-pivot.varpName','getId','sheets.tabs.sheet','pivotConfigChange$','NAME','refreshGroupField','fieldsCollectionChange$','fontRenderExtension','_viewData','rangeType','250lMyVsk','renameField','lastRow','pivotPerformCheck','ManualFilter','pushUndoRedo','setRange','query','NotName','HourMinute','getSheetId','_collectionConfigModel','concat','rowFields','updateConfigCache','type','getIndexesByPathStr','getFieldIds','sheet.mutation.set-pivot-value-filter','sheet.command.set-pivot-value-filter','values','sheets-pivot.productName','sheet.mutation.update-pivot-table-source-range','executeCommand','Delete','_pivotRenderValueMatrixCache','register','sheets-pivot.averageName','_ensurePivotTableMatrixInfo','refreshDataField','registerRefRange','_sheetsPivotTableService','splice','removeValueFilterInfoByValueFieldId','setPivotFilter','sheet.mutation.set-pivot-option','columnFields','sheets-pivot.minName','Minute','getSheetBySheetName','colRanges','UpdatePivotSource','_localeService','setRangeValueUndoMutation','sourceName','clearRenderCache','#1d32e9','error','getConfig','UpdateSource','Varp\x20of\x20','MIN_SAFE_INTEGER','createCollectionWithDataRange','realDeleteValue','registerSyncingMutations','CELL_CONTENT','YearQuarter','getTypeOfUnitDisposed$','uniqueDataFieldName','dataStyle','_commandService','getUpdateRangeDeleteIds','batch','sheet.command.set-pivot-fields-config','collectionChange$','map','sheets-pivot.dateGroup.yearQuarter','addField','getSubUnitPivotMatrix','YearMonthDate','sheets-pivot.dateGroup.date','_initConfig','getDirtyInfo','getFilterInfo','sheet.mutation.set-pivot-position','DrillDown','_updatePivotTableInstanceCache','removeDataField','_config','getCellMatrix'];_0x4021=function(){return _0x2fc515;};return _0x4021();}const Vi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','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':_0x4bc323(0x323),'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':_}}},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=(_0xcf7a51,_0x2f24b2)=>{const _0x1713bd=_0x4bc323,_0x18d38d=new _0xfe6c88(),_0x3cfc02=new _0xfe6c88(Vi),{row:_0x7dfb93,col:_0x30bdfb}=_0x2f24b2;_0x3cfc02[_0x1713bd(0x2b9)]((_0x49f695,_0x5c593f,_0x4b1876)=>{const _0x236ea4=_0x1713bd;let _0x334f61='';_0x4b1876['v']===_0x236ea4(0x18a)?_0x334f61=_0xcf7a51[_0x236ea4(0x18a)]:_0x4b1876['v']===_0x236ea4(0x323)?_0x334f61=_0xcf7a51[_0x236ea4(0x323)]:_0x4b1876['v']===_0x236ea4(0x309)?_0x334f61=_0xcf7a51[_0x236ea4(0x309)]:_0x4b1876['v']==='values'&&(_0x334f61=_0xcf7a51[_0x236ea4(0x222)]),_0x18d38d[_0x236ea4(0x15e)](_0x49f695+_0x7dfb93,_0x5c593f+_0x30bdfb,{..._0x4b1876,'v':_0x334f61});});const _0x24c620=_0x8069d7[_0x1713bd(0x263)](Lt);return Object[_0x1713bd(0x1be)](Lt)['forEach'](_0x5ef8f2=>{const _0x11bcb2=_0x1713bd;_0x24c620[_0x5ef8f2]=Lt[_0x5ef8f2][_0x11bcb2(0x24f)](_0x12c8ba=>({..._0x12c8ba,'startRow':_0x12c8ba['startRow']+_0x7dfb93,'endRow':_0x12c8ba[_0x11bcb2(0xed)]+_0x7dfb93,'startColumn':_0x12c8ba[_0x11bcb2(0xf7)]+_0x30bdfb,'endColumn':_0x12c8ba[_0x11bcb2(0x2b2)]+_0x30bdfb}));}),{'matrixCache':_0x18d38d,'rangesCache':_0x24c620};};function Ei(_0x3cdee8,_0xd186c5){const _0x1c269f=_0x4bc323;let _0x51027f='';const _0x3211bf=this['getTextInfo']();switch(_0xd186c5){case _0x3500b6[_0x1c269f(0x1a9)]:_0x51027f=_0x3211bf[_0x1c269f(0x229)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x1c0)]:_0x51027f=_0x3211bf['sheets-pivot.countName']+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x2ef)]:_0x51027f=_0x3211bf[_0x1c269f(0x260)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x321)]:_0x51027f=_0x3211bf['sheets-pivot.maxName']+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x347)]:_0x51027f=_0x3211bf[_0x1c269f(0x233)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x2a7)]:_0x51027f=_0x3211bf[_0x1c269f(0x223)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x114)]:_0x51027f=_0x3211bf[_0x1c269f(0x14e)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x29d)]:_0x51027f=_0x3211bf[_0x1c269f(0x12a)]+_0x3cdee8;break;case _0x3500b6['sum']:_0x51027f=_0x3211bf[_0x1c269f(0x2f0)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x297)]:_0x51027f=_0x3211bf[_0x1c269f(0x1ae)]+_0x3cdee8;break;case _0x3500b6[_0x1c269f(0x2df)]:_0x51027f=_0x3211bf[_0x1c269f(0x204)]+_0x3cdee8;break;default:_0x51027f=_0x3cdee8;break;}return _0x51027f;}function xi(_0xcbf7da,_0x4a41d4,_0x2e38c8,_0x1a6990,_0x222585){const _0x1666dd=_0x4bc323;var _0x5a443a,_0x223566,_0x52371f,_0x1beb40,_0x136b48;const _0x4a1157=_0x3e77f4(_0xcbf7da,_0x4a41d4),{rangesInfo:_0x1ea4ce,areaInfo:_0x40bf84,headerMap:_0x19ebad}=_0x222585;if(!_0x1ea4ce||!_0x40bf84||!_0x19ebad)return;const _0x5909c1=Object[_0x1666dd(0x1be)](_0x1ea4ce)[_0x1666dd(0x267)](_0x46fcf9=>_0x1ea4ce[_0x46fcf9]['some'](_0x4ea8da=>_0x135959[_0x1666dd(0x1f6)](_0x4ea8da,_0x4a1157))),_0x2fd16b=_0x40bf84;let _0x3691c1,_0x65edc5,_0x58ded0;if(_0x5909c1===_0x1666dd(0x33f))_0x3691c1=(_0x5a443a=_0x2fd16b==null?void 0x0:_0x2fd16b[_0x1666dd(0x17e)])==null?void 0x0:_0x5a443a[_0xcbf7da],_0x65edc5=(_0x223566=_0x19ebad==null?void 0x0:_0x19ebad[_0x1666dd(0x325)])==null?void 0x0:_0x223566[_0x4a41d4],_0x58ded0=_0x65edc5==null?void 0x0:_0x65edc5[_0x1666dd(0x2b1)];else{if(_0x5909c1===_0x1666dd(0x236))_0x3691c1=(_0x52371f=_0x2fd16b==null?void 0x0:_0x2fd16b[_0x1666dd(0x2c9)])==null?void 0x0:_0x52371f[_0x4a41d4],_0x65edc5=(_0x1beb40=_0x19ebad[_0x1666dd(0x1ba)])==null?void 0x0:_0x1beb40[_0xcbf7da+0x1+_0x4a41d4-_0x1ea4ce['colRanges'][0x0][_0x1666dd(0xf7)]],_0x58ded0=_0x65edc5==null?void 0x0:_0x65edc5[_0x1666dd(0x2b1)];else{if(_0x5909c1==='cornerRanges')_0x3691c1=(_0x136b48=_0x2fd16b==null?void 0x0:_0x2fd16b[_0x1666dd(0x2d9)])==null?void 0x0:_0x136b48[_0x4a41d4],_0x58ded0=_0x3691c1==null?void 0x0:_0x3691c1[_0x1666dd(0x2b1)];else{if(_0x5909c1===_0x1666dd(0xfd)){const _0x5cb962=_0x2e38c8==null?void 0x0:_0x2e38c8['fi'];_0x5cb962!==void 0x0&&(_0x58ded0=_0x1a6990[_0x1666dd(0x184)](_0x5cb962));}}}}return{'filterId':_0x58ded0,'info':_0x3691c1,'data':_0x2e38c8,'headerInfo':_0x65edc5};}function Oi(_0x1bb89a,_0x4f1c5f,_0xc5229d){const _0x1c4ded=_0x4bc323,_0x57273b=_0x1bb89a[_0x1c4ded(0x103)],_0x2ac97d=_0x57273b[_0x1c4ded(0x21f)](),_0x150718=new Set();_0x1bb89a[_0x1c4ded(0x283)](_0x449ea9=>{const _0x29124b=_0x1c4ded;_0x150718[_0x29124b(0x200)](_0x449ea9['dataFieldId']);});const _0x3aed87=_0x2ac97d[_0x1c4ded(0x24f)](_0x3990d1=>{const _0x141bcf=_0x1c4ded,_0x413d0d=_0x57273b[_0x141bcf(0x1e9)](_0x3990d1);return{'checked':_0x150718[_0x141bcf(0x320)](_0x3990d1),'dataFieldId':_0x413d0d['id'],'id':_0x413d0d['id'],'name':_0x57273b[_0x141bcf(0x338)](_0x413d0d['id']),'type':_0x413d0d[_0x141bcf(0x116)](),'pivotTableId':_0x4f1c5f};}),_0x30a756=[];_0x1bb89a[_0x1c4ded(0x35d)](_0x685aab['Row'],_0x40c868=>{const _0x2b6694=_0x1c4ded;_0x30a756[_0x2b6694(0x1b6)]({'dataFieldId':_0x40c868[_0x2b6694(0x285)],'tableFieldId':_0x40c868[_0x2b6694(0x205)](),'displayName':_0x40c868['getDisplayName']()});});const _0x278141=[];_0x1bb89a[_0x1c4ded(0x35d)](_0x685aab['Column'],_0x38877a=>{const _0x50079e=_0x1c4ded;_0x278141['push']({'dataFieldId':_0x38877a[_0x50079e(0x285)],'tableFieldId':_0x38877a[_0x50079e(0x205)](),'displayName':_0x38877a[_0x50079e(0x338)]()});});const _0x71df41=[];if(_0x1bb89a[_0x1c4ded(0x35d)](_0x685aab[_0x1c4ded(0x30b)],_0x559cae=>{const _0x132977=_0x1c4ded;_0x71df41[_0x132977(0x1b6)]({'dataFieldId':_0x559cae[_0x132977(0x285)],'tableFieldId':_0x559cae[_0x132977(0x205)](),'displayName':_0x559cae[_0x132977(0x338)](),'format':_0x559cae[_0x132977(0x360)](),'subTotalType':_0x559cae['getSubtotal']()});}),_0x71df41[_0x1c4ded(0x352)]>0x1){const _0x51b15b=_0x1bb89a[_0x1c4ded(0x34a)]();(_0x1bb89a[_0x1c4ded(0x127)]()?_0x278141:_0x30a756)[_0x1c4ded(0x22e)](_0x51b15b,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x1c4ded(0x357)});}const _0x2dd6f9=[];_0x1bb89a[_0x1c4ded(0x35d)](_0x685aab[_0x1c4ded(0x1fe)],_0x3b92ba=>{const _0x2ca281=_0x1c4ded;_0x2dd6f9[_0x2ca281(0x1b6)]({'dataFieldId':_0x3b92ba[_0x2ca281(0x285)],'tableFieldId':_0x3b92ba[_0x2ca281(0x205)](),'displayName':_0x3b92ba['getDisplayName']()});});const _0x1cde20=_0xc5229d[_0x1c4ded(0x2d0)];return{'sourceList':_0x3aed87,'sourceRange':_0x1cde20,'rowFields':_0x30a756,'columnFields':_0x278141,'valueFields':_0x71df41,'filterFields':_0x2dd6f9,'positionInfo':_0xc5229d[_0x1c4ded(0x16a)]};}function fo(_0x4563f7,_0x3cdb69,_0xa78965='',_0x445bec={}){const _0x587108=_0x4bc323,_0x1d4e68=_0x4563f7[_0x587108(0x322)](_0x4000e6);for(const _0x544cc5 in _0x3cdb69)if(Object[_0x587108(0x30a)]['hasOwnProperty'][_0x587108(0x18e)](_0x3cdb69,_0x544cc5)){const _0x1120a2=_0xa78965?_0xa78965+'.'+_0x544cc5:_0x544cc5;typeof _0x3cdb69[_0x544cc5]==_0x587108(0x19b)&&_0x3cdb69[_0x544cc5]!==null&&!Array[_0x587108(0x1da)](_0x3cdb69[_0x544cc5])?fo(_0x4563f7,_0x3cdb69[_0x544cc5],_0x1120a2,_0x445bec):_0x445bec[_0x1120a2]=_0x1d4e68['t'](_0x1120a2);}return _0x445bec;}const Bt=_0x957432=>{const _0x59f6f6=_0x4bc323;if(!_0x957432)return[];const {rowRanges:_0x35ec40,colRanges:_0x1b34da,cornerRanges:_0x56b39d,dataRanges:_0xb12ff4,pageRanges:_0x53d54b}=_0x957432,_0x44f52f=[..._0x1b34da,..._0x35ec40,..._0xb12ff4,..._0x56b39d][_0x59f6f6(0x18a)](_0x36c3fe=>_0x36c3fe['startRow']>=0x0&&_0x36c3fe[_0x59f6f6(0xf7)]>=0x0&&_0x36c3fe[_0x59f6f6(0xed)]>=0x0&&_0x36c3fe[_0x59f6f6(0x2b2)]>=0x0);let _0x2bd02f=Number[_0x59f6f6(0x355)],_0xe8d51b=Number['MIN_SAFE_INTEGER'],_0x341a6a=Number['MAX_SAFE_INTEGER'],_0x1651d0=Number[_0x59f6f6(0x241)];for(let _0x211bc6=0x0;_0x211bc6<_0x44f52f['length'];_0x211bc6++)_0x2bd02f=Math[_0x59f6f6(0x347)](_0x2bd02f,_0x44f52f[_0x211bc6][_0x59f6f6(0x351)]),_0xe8d51b=Math[_0x59f6f6(0x321)](_0xe8d51b,_0x44f52f[_0x211bc6][_0x59f6f6(0xed)]),_0x341a6a=Math[_0x59f6f6(0x347)](_0x341a6a,_0x44f52f[_0x211bc6][_0x59f6f6(0xf7)]),_0x1651d0=Math[_0x59f6f6(0x321)](_0x1651d0,_0x44f52f[_0x211bc6][_0x59f6f6(0x2b2)]);return[..._0x53d54b,{'startRow':_0x2bd02f,'endRow':_0xe8d51b,'startColumn':_0x341a6a,'endColumn':_0x1651d0}];};function Ai(_0x11be4f,_0x8004db){const _0x2532cc=_0x4bc323,_0x362d57=_0x8004db[_0x2532cc(0x2f4)][_0x2532cc(0x35c)],{pivotTableId:_0x4cb42a,unitId:_0x4d8cc2,subUnitId:_0x3c86f8}=_0x8004db;if(!_0x362d57)return;const _0x407f79=_0x11be4f[_0x2532cc(0x322)](Q),_0x1ff35d=_0x407f79[_0x2532cc(0x1e7)](_0x4cb42a),_0x5a7d7e=_0x407f79['getPivotTableConfig'](_0x4d8cc2,_0x3c86f8,_0x4cb42a);if(!_0x1ff35d||!_0x5a7d7e)return;const _0x5582df=_0x1ff35d[_0x2532cc(0x21e)](_0x362d57[_0x2532cc(0x10d)]);if(!(_0x5582df!=null&&_0x5582df[_0x2532cc(0x352)]))return;const _0x54cdfc=_0x5a7d7e[_0x2532cc(0x2d0)],{unitId:_0x5c248e,subUnitId:_0x239fad,range:_0x147d1c}=_0x54cdfc;let _0xe7a991=0x0;const _0x59974e=_0x1ff35d['dataFieldsCollection'][_0x2532cc(0x21f)]()[_0x2532cc(0x312)]((_0x287ca8,_0x33c970)=>{const _0x4ae47e=_0x2532cc;var _0x5927b9;const _0x37044d=(_0x5927b9=_0x1ff35d[_0x4ae47e(0x136)](_0x33c970))==null?void 0x0:_0x5927b9[_0x4ae47e(0x2fb)]();return _0x37044d&&(_0x287ca8[String(_0xe7a991)]=_0x37044d),_0xe7a991++,_0x287ca8;},{});return{'indexes':_0x5582df,'range':_0x147d1c,'sourceUnitId':_0x5c248e,'sourceSubUnitId':_0x239fad,'formatMap':_0x59974e};}function jo(_0x5b44ea,_0x257b90){const _0x2bbc33=_0x4bc323;if(!_0x5b44ea||!_0x257b90)return!0x0;const _0x956eb=_0x28b19e(Yo,$o),_0x794dff=new Function(_0x2bbc33(0x15f)+_0x956eb)()(_0x5b44ea,_0x257b90)[_0x2bbc33(0x2f6)],_0xbbdfb3=_0x285664(_0x794dff,'sf',ko);return!((_0x794dff==null?void 0x0:_0x794dff['rt'])===_0x2dc238[_0x2bbc33(0x2c3)]&&!_0xbbdfb3);}function go(_0x2c9f69,_0x348886,_0x2847af){const _0x188df1=_0x4bc323,_0x4f6bfd={'count':_0x2c9f69,'timeValid':!0x1};if(!_0x348886||!_0x2847af)return _0x4f6bfd;const _0x51ba8c=_0x28b19e(Yo,$o),_0x2ac050=new Function(_0x188df1(0x15f)+_0x51ba8c)()(_0x348886,_0x2847af);if(_0x2ac050!=null&&_0x2ac050[_0x188df1(0x165)]){const _0x51a36a=_0x2ac050[_0x188df1(0x2f6)],_0x180fec=_0x285664(_0x51a36a,'sf',ko);return{'count':_0x3358f8(_0x51a36a,_0x180fec,_0x188df1(0x362),_0x2c9f69,_0x2c9f69,0x0),'timeValid':_0x180fec};}return _0x4f6bfd;}function Go(_0x2d78c1,_0x3a98a8,_0x1e3674,_0x1984b7){const _0x5dfe50=_0x4bc323,_0x233daa={'subUnitId':_0x1e3674,'unitId':_0x3a98a8,'cellValue':_0x31e0da(_0x1984b7)},_0x141a59=_0x4888b3(_0x2d78c1,_0x233daa);let _0x4150ca=!0x1;return new _0xfe6c88(_0x141a59['cellValue'])[_0x5dfe50(0x2b9)]((_0x43e1c4,_0x882a98,_0x4493eb)=>{if(!_0x4150ca&&_0x4493eb&&(_0x4493eb['custom']||_0x4493eb['f']||_0x4493eb['p']||_0x4493eb['s']||_0x4493eb['si']||_0x4493eb['t']||_0x4493eb['v']))return _0x4150ca=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1a40d9['id'],'params':_0x141a59},'setRangeValueRedoMutation':{'id':_0x1a40d9['id'],'params':_0x233daa},'shouldClear':_0x4150ca};}function ki(_0x22230a){const {row:_0x4286c7,col:_0x3f2e71}=_0x22230a,_0x2d40f5={'startRow':_0x4286c7,'endRow':_0x4286c7,'startColumn':_0x3f2e71,'endColumn':_0x3f2e71},_0x40cf2d={'startRow':_0x4286c7+0x2,'endRow':_0x4286c7+0xe,'startColumn':_0x3f2e71,'endColumn':_0x3f2e71+0x6};return[_0x2d40f5,_0x40cf2d];}function Hi(_0x2a9d6a,_0xd2c31,_0x50d928){const _0x565135=_0x4bc323,{cornerView:_0x12c83e,rowView:_0x1a575a,colView:_0x30989d,pageView:_0x92d737}=_0x2a9d6a,{row:_0x1ca5d3,col:_0x2ae285}=_0xd2c31;if(_0x50d928)return{'rowCount':bi+_0x1ca5d3,'colCount':Si+_0x2ae285};const _0x11c8bc=_0x92d737[_0x565135(0x210)]>-0x1?_0x92d737['lastRow']+0x1:0x0,_0x2a53f7=_0x92d737[_0x565135(0x1c6)]>-0x1?_0x92d737[_0x565135(0x1c6)]:0x0,_0xf6fe77=_0x1ca5d3+_0x11c8bc+(_0x11c8bc?0x1:0x0)+_0x12c83e[_0x565135(0x2e4)]+_0x1a575a['rowCount'],_0xf1a5a=_0x2ae285+_0x2a53f7,_0x380c1c=_0x2ae285+_0x12c83e[_0x565135(0xef)]+_0x30989d['colCount'],_0x22164c=Math['max'](_0xf1a5a,_0x380c1c);return{'rowCount':_0xf6fe77,'colCount':_0x22164c};}function we(_0x32f595,_0x5d2147,_0x3e0a47,_0x4eb571){const _0x993ef7=_0x4bc323,{row:_0x28c681,col:_0x7ba87,unitId:_0xc20ccb,subUnitId:_0x29ec64}=_0x3e0a47,_0x43dac6=Hi(_0x5d2147,{'row':_0x28c681,'col':_0x7ba87},_0x4eb571),_0x5872a1=_0x32f595[_0x993ef7(0x322)](_0x39f700),_0x27f5ea=_0x2d9c39(_0x5872a1,{'unitId':_0xc20ccb,'subUnitId':_0x29ec64}),_0x17b186=[],_0x1d2150=[];if(!_0x27f5ea)return{'undos':_0x1d2150,'redos':_0x17b186};const {worksheet:_0x158e1a}=_0x27f5ea,_0x5cb9e6=_0x158e1a[_0x993ef7(0x356)](),_0x1d61b7=_0x158e1a[_0x993ef7(0x2a4)]();return _0x5cb9e6<_0x43dac6[_0x993ef7(0x2e4)]&&(_0x17b186[_0x993ef7(0x1b6)]({'id':_0x58446a['id'],'params':{'unitId':_0xc20ccb,'subUnitId':_0x29ec64,'range':{'startRow':_0x5cb9e6,'endRow':_0x43dac6[_0x993ef7(0x2e4)]-0x1,'startColumn':0x0,'endColumn':_0x1d61b7-0x1}}}),_0x1d2150['push']({'id':_0x4afcf1['id'],'params':{'unitId':_0xc20ccb,'subUnitId':_0x29ec64,'range':{'startRow':_0x5cb9e6,'endRow':_0x43dac6['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1d61b7-0x1}}})),_0x1d61b7<_0x43dac6[_0x993ef7(0xef)]&&(_0x17b186[_0x993ef7(0x1b6)]({'id':_0x1737d7['id'],'params':{'unitId':_0xc20ccb,'subUnitId':_0x29ec64,'range':{'startRow':0x0,'endRow':_0x5cb9e6-0x1,'startColumn':_0x1d61b7,'endColumn':_0x43dac6[_0x993ef7(0xef)]-0x1}}}),_0x1d2150[_0x993ef7(0x1b6)]({'id':_0x2c808f['id'],'params':{'unitId':_0xc20ccb,'subUnitId':_0x29ec64,'range':{'startRow':0x0,'endRow':_0x5cb9e6-0x1,'startColumn':_0x1d61b7,'endColumn':_0x43dac6['colCount']-0x1}}})),{'undos':_0x1d2150,'redos':_0x17b186};}function Li(_0x59a62f){const _0x360c7d=_0x4bc323;let _0x46034b=0x0;for(let _0x849dbc=0x0;_0x849dbc<_0x59a62f[_0x360c7d(0x352)];_0x849dbc++){const _0x411cb9=_0x59a62f['charCodeAt'](_0x849dbc);_0x411cb9>=0x4e00&&_0x411cb9<=0x9fff||_0x411cb9>=0x3000&&_0x411cb9<=0x303f||_0x411cb9>=0xff00&&_0x411cb9<=0xffef?_0x46034b+=0x2:_0x46034b+=0x1;}return _0x46034b;}function To(_0x1cafa3,_0xa9f29c,_0x27858a,_0x3d1abf){const _0x3a5e3a=_0x4bc323;var _0x1a2b1c,_0x5b721d,_0x577e2d,_0x5080d9;const {rowCount:_0x10b581,colCount:_0x9c3a5c,headerMap:_0x112d73}=_0x1cafa3,_0x2f5ba8=0x64,_0x3b3156=Math['min'](_0x10b581,_0x2f5ba8),_0x20eee4=Math[_0x3a5e3a(0x347)](_0x9c3a5c,_0x2f5ba8);let _0x4d40f4='',_0xcb1279=0x0;for(let _0x315234=0x0;_0x315234<_0x3b3156;_0x315234++)for(let _0x2ebb23=0x0;_0x2ebb23<_0x20eee4;_0x2ebb23++){const _0x177574={...(_0x5b721d=(_0x1a2b1c=_0x1cafa3[_0x3a5e3a(0x107)])==null?void 0x0:_0x1a2b1c[_0x315234])==null?void 0x0:_0x5b721d[_0x2ebb23]},_0x4d4181=(_0x577e2d=_0x112d73[_0x315234])==null?void 0x0:_0x577e2d[_0x3a5e3a(0x2b1)],_0x3785eb=_0x3d1abf[_0x4d4181];let _0x1b044f=_0x1cafa3[_0x3a5e3a(0x32a)](_0x315234,_0x2ebb23);if(_0x177574){const _0x361edb=_0x27858a?_0x2ebb23===0x0&&((_0x5080d9=_0x1cafa3['getHeaderMapItem'](_0x2ebb23+0x1))==null?void 0x0:_0x5080d9[_0x3a5e3a(0x12b)]):!0x1;_0x1b044f=ht(_0x177574,_0x361edb,_0x3785eb,_0xa9f29c);}if(_0x1b044f!==void 0x0){const _0x22be6c=Li(String(_0x1b044f));_0xcb1279<_0x22be6c&&(_0x4d40f4=String(_0x1b044f),_0xcb1279=_0x22be6c);}}return _0x4d40f4;}function Bi(_0x34f441){const _0x15cd54=_0x4bc323,{rowCount:_0x3c40b9,colCount:_0x3971f4}=_0x34f441;let _0x258d99='',_0x59d839=0x0;for(let _0x283af3=_0x3c40b9-0x1;_0x283af3>0x0&&_0x283af3>_0x3c40b9-0x3;_0x283af3--)for(let _0x2507ec=0x0;_0x2507ec<_0x3971f4;_0x2507ec++){const _0x1f43de=_0x34f441[_0x15cd54(0x32a)](_0x283af3,_0x2507ec);if(_0x1f43de!==void 0x0){const _0x2003d7=String(_0x1f43de)['length'];_0x59d839<_0x2003d7&&(_0x258d99=String(_0x1f43de),_0x59d839=_0x2003d7);}}return _0x258d99;}function Qi(_0x1f8705){const _0x3d4cba=_0x4bc323,{rowCount:_0x207bea,colCount:_0x5326e8}=_0x1f8705;let _0x108b70='',_0x13af12=0x0;for(let _0x14d414=0x0;_0x14d414<_0x207bea;_0x14d414++)for(let _0x57198c=0x0;_0x57198c<_0x5326e8;_0x57198c++){const _0x3ac33b=_0x1f8705[_0x3d4cba(0x32a)](_0x14d414,_0x57198c);if(_0x3ac33b!==void 0x0){const _0x2087ea=String(_0x3ac33b)['length'];_0x13af12<_0x2087ea&&(_0x108b70=String(_0x3ac33b),_0x13af12=_0x2087ea);}}return _0x108b70;}function $i(_0x5992a0,_0x5763d2){const _0x9470cb=_0x4bc323,{rowFields:_0xb9c2da,columnFields:_0x523956,valueFields:_0x15c453,filterFields:_0x407875,dimension:_0x1c0c4f,measure:_0x50951b}=_0x5763d2;for(const _0x1718e4 of _0xb9c2da){const _0x5e6551=_0x1c0c4f[_0x1718e4];_0x5e6551&&_0x5992a0[_0x9470cb(0x136)](_0x5e6551['dataFieldId'])&&(_0x5992a0[_0x9470cb(0x2d5)](_0x5e6551['dataFieldId'],_0x685aab[_0x9470cb(0x17f)],void 0x0,_0x1718e4),_0x5e6551[_0x9470cb(0x291)]&&_0x5992a0['renameField'](_0x5e6551['id'],_0x5e6551['displayName']),_0x5e6551[_0x9470cb(0x1ac)]&&_0x5992a0[_0x9470cb(0x266)](_0x5e6551['id'],_0x5e6551[_0x9470cb(0x1ac)]),_0x5e6551[_0x9470cb(0x2dc)]&&_0x5992a0['setLabelFilterInfo'](_0x5e6551['id'],_0x5e6551[_0x9470cb(0x2dc)]));}for(const _0x38c4f4 of _0x523956){const _0xf3373=_0x1c0c4f[_0x38c4f4];_0xf3373&&_0x5992a0['getDataFieldByDataFieldId'](_0xf3373[_0x9470cb(0x285)])&&(_0x5992a0[_0x9470cb(0x2d5)](_0xf3373[_0x9470cb(0x285)],_0x685aab[_0x9470cb(0x199)],void 0x0,_0x38c4f4),_0xf3373[_0x9470cb(0x1ac)]&&_0x5992a0[_0x9470cb(0x266)](_0xf3373['id'],_0xf3373['sortInfo']),_0xf3373[_0x9470cb(0x2dc)]&&_0x5992a0[_0x9470cb(0x333)](_0xf3373['id'],_0xf3373['filterInfo']),_0xf3373[_0x9470cb(0x291)]&&_0x5992a0[_0x9470cb(0x20f)](_0xf3373['id'],_0xf3373[_0x9470cb(0x291)]));}for(const _0x1f48d9 of _0x407875){const _0x657d1a=_0x1c0c4f[_0x1f48d9];_0x657d1a&&_0x5992a0[_0x9470cb(0x136)](_0x657d1a['dataFieldId'])&&(_0x5992a0[_0x9470cb(0x2d5)](_0x657d1a[_0x9470cb(0x285)],_0x685aab[_0x9470cb(0x1fe)],void 0x0,_0x1f48d9),_0x657d1a[_0x9470cb(0x1ac)]&&_0x5992a0[_0x9470cb(0x266)](_0x657d1a['id'],_0x657d1a[_0x9470cb(0x1ac)]),_0x657d1a['filterInfo']&&_0x5992a0[_0x9470cb(0x333)](_0x657d1a['id'],_0x657d1a[_0x9470cb(0x2dc)]),_0x657d1a['displayName']&&_0x5992a0[_0x9470cb(0x20f)](_0x657d1a['id'],_0x657d1a[_0x9470cb(0x291)]));}for(const _0x33c778 of _0x15c453){const _0x5427c9=_0x50951b[_0x33c778];_0x5427c9&&_0x5992a0['getDataFieldByDataFieldId'](_0x5427c9[_0x9470cb(0x285)])&&(_0x5992a0['addFieldWithSourceId'](_0x5427c9['dataFieldId'],_0x685aab[_0x9470cb(0x30b)],void 0x0,_0x33c778),_0x5427c9[_0x9470cb(0x286)]!==void 0x0&&_0x5992a0[_0x9470cb(0x2bc)](_0x33c778,_0x5427c9[_0x9470cb(0x286)]),_0x5427c9[_0x9470cb(0x153)]&&_0x5992a0[_0x9470cb(0x1cd)](_0x33c778,_0x5427c9['format']),_0x5427c9[_0x9470cb(0x291)]&&_0x5992a0[_0x9470cb(0x20f)](_0x5427c9['id'],_0x5427c9['displayName']));}const _0x43f5d3=_0x5763d2[_0x9470cb(0x1a1)];for(const {fieldId:_0x304d31,filterInfo:_0x5e012d}of _0x43f5d3)_0x5992a0['setValueFilterInfo'](_0x304d31,_0x5e012d);}function Yi(_0x2f1ed4,_0x4b63e1){const _0x5f14eb=_0x4bc323,_0x152844=[];_0x4b63e1===_0x685aab[_0x5f14eb(0x17f)]&&_0x2f1ed4[_0x5f14eb(0x35d)](_0x685aab['Row'],_0x5a6886=>{const _0xe8992e=_0x5f14eb;_0x152844[_0xe8992e(0x1b6)](_0x5a6886[_0xe8992e(0x205)]());}),_0x4b63e1===_0x685aab[_0x5f14eb(0x199)]&&_0x2f1ed4['iterateFieldByArea'](_0x685aab['Column'],_0x403823=>{const _0x587f4a=_0x5f14eb;_0x152844[_0x587f4a(0x1b6)](_0x403823[_0x587f4a(0x205)]());}),_0x4b63e1===_0x685aab[_0x5f14eb(0x1fe)]&&_0x2f1ed4[_0x5f14eb(0x35d)](_0x685aab['Filter'],_0x467eb1=>{const _0x545f7d=_0x5f14eb;_0x152844[_0x545f7d(0x1b6)](_0x467eb1['getId']());}),_0x4b63e1===_0x685aab[_0x5f14eb(0x30b)]&&_0x2f1ed4['iterateFieldByArea'](_0x685aab[_0x5f14eb(0x30b)],_0x3e230f=>{const _0x16bd28=_0x5f14eb;_0x152844[_0x16bd28(0x1b6)](_0x3e230f[_0x16bd28(0x205)]());}),_0x4b63e1===void 0x0&&_0x2f1ed4['iterateField'](_0x1639aa=>{const _0x1061f9=_0x5f14eb;_0x152844[_0x1061f9(0x1b6)](_0x1639aa[_0x1061f9(0x205)]());});const _0xb3a1c4=_0x152844['length'];for(let _0x2f7ee9=_0xb3a1c4-0x1;_0x2f7ee9>=0x0;_0x2f7ee9--)_0x2f1ed4[_0x5f14eb(0x1a8)](_0x152844[_0x2f7ee9]);const _0x3ea4de=_0x2f1ed4[_0x5f14eb(0x2a9)]();for(const _0x59343c in _0x3ea4de)_0x2f1ed4[_0x5f14eb(0x16b)](_0x59343c);}function Ji(_0x2b57ba,_0x3dc4d8){const _0x4ee148=_0x4bc323,_0x30c89c=new Date(_0x274e0b(_0x3dc4d8)),_0x342a72=new Date(_0x274e0b(_0x2b57ba)),_0xe9c068=_0x30c89c[_0x4ee148(0x2cd)](),_0x2d703f=_0x342a72[_0x4ee148(0x2cd)](),_0x1717b0=_0x30c89c['getMonth'](),_0x68e191=_0x342a72[_0x4ee148(0xe5)](),_0x2bcb5d=_0x30c89c[_0x4ee148(0x26c)](),_0x50b7ce=_0x342a72[_0x4ee148(0x26c)](),_0x5e11fa=_0xe9c068===_0x2d703f,_0x541b5b=_0x5e11fa&&_0x1717b0===_0x68e191;return _0x5e11fa&&_0x541b5b&&!(_0x541b5b&&_0x2bcb5d===_0x50b7ce)?_0x136408[_0x4ee148(0x253)]:_0x5e11fa&&!_0x541b5b?_0x136408[_0x4ee148(0x27c)]:_0x136408['Year'];}function Wo(_0x33bac8,_0x152b0a){const _0x5c3cb8=_0x4bc323,_0x3e1e03=_0x33bac8[_0x5c3cb8(0x322)](Q)[_0x5c3cb8(0x337)]();let _0x272a69='';switch(_0x152b0a){case _0x136408[_0x5c3cb8(0x253)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x112)];break;case _0x136408[_0x5c3cb8(0x27c)]:_0x272a69=_0x3e1e03['sheets-pivot.dateGroup.yearMonth'];break;case _0x136408[_0x5c3cb8(0x109)]:_0x272a69=_0x3e1e03['sheets-pivot.dateGroup.year'];break;case _0x136408[_0x5c3cb8(0x2b4)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x27b)];break;case _0x136408[_0x5c3cb8(0x1f8)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x295)];break;case _0x136408['Date']:_0x272a69=_0x3e1e03[_0x5c3cb8(0x254)];break;case _0x136408['HourMinute']:_0x272a69=_0x3e1e03[_0x5c3cb8(0x299)];break;case _0x136408[_0x5c3cb8(0x202)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x2fa)];break;case _0x136408[_0x5c3cb8(0x234)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x27e)];break;case _0x136408['MonthDate']:_0x272a69=_0x3e1e03[_0x5c3cb8(0x15b)];break;case _0x136408[_0x5c3cb8(0x246)]:_0x272a69=_0x3e1e03[_0x5c3cb8(0x250)];break;default:_0x272a69='';break;}return _0x272a69;}const Zo='sheets-pivot.config',yo={};var ji=Object[_0x4bc323(0x1fc)],Gi=(_0x381752,_0x131ef6,_0x2be986,_0x416a2a)=>{for(var _0x2f6366=_0x416a2a>0x1?void 0x0:_0x416a2a?ji(_0x131ef6,_0x2be986):_0x131ef6,_0x2a04f3=_0x381752['length']-0x1,_0x515859;_0x2a04f3>=0x0;_0x2a04f3--)(_0x515859=_0x381752[_0x2a04f3])&&(_0x2f6366=_0x515859(_0x2f6366)||_0x2f6366);return _0x2f6366;},at=(_0x5328cd,_0x1ddcc2)=>(_0x5802eb,_0x286016)=>_0x1ddcc2(_0x5802eb,_0x286016,_0x5328cd);let he=class extends _0x2e1b8a{constructor(_0xca15da,_0x5c6418,_0x21f770,_0x2e2b3a,_0x5f7192){const _0x55ec0d=_0x4bc323;super(),V(this,_0x55ec0d(0x11f),new Map()),V(this,_0x55ec0d(0x219),new Map()),V(this,_0x55ec0d(0xf2),new Map()),V(this,_0x55ec0d(0x1cb),new Map()),V(this,_0x55ec0d(0x329),new _0x5589bd()),V(this,'_pivotInitCompleted$',new _0x5589bd()),V(this,'pivotInitCompleted$',this[_0x55ec0d(0x342)][_0x55ec0d(0x1e6)]()),V(this,_0x55ec0d(0x2c0),new _0x5589bd()),V(this,_0x55ec0d(0x207),this[_0x55ec0d(0x2c0)]['asObservable']()),V(this,_0x55ec0d(0x2be),{}),V(this,_0x55ec0d(0xe4),this[_0x55ec0d(0x329)][_0x55ec0d(0x1e6)]()),(this[_0x55ec0d(0x150)]=_0xca15da,this['_commandService']=_0x5c6418,this['_univerInstanceService']=_0x21f770,this[_0x55ec0d(0x1ee)]=_0x2e2b3a,this[_0x55ec0d(0x1c9)]=_0x5f7192,this['_initLocale'](),this[_0x55ec0d(0x31e)]());const _0x5696b6=this[_0x55ec0d(0x1c9)]['getConfig'](Zo);(_0x5696b6==null?void 0x0:_0x5696b6[_0x55ec0d(0x290)])===!0x0&&this[_0x55ec0d(0x2e5)]();}['_initUnitDisposed'](){const _0x2b235d=_0x4bc323;this[_0x2b235d(0x2a8)](this[_0x2b235d(0x14a)][_0x2b235d(0x247)](_0x2a9244[_0x2b235d(0xfe)])[_0x2b235d(0x1f7)](_0x2e2178=>{this['deleteUnitId'](_0x2e2178['getUnitId']());}));}[_0x4bc323(0x298)](){const _0x3f1c34=_0x4bc323;this['_pivotInitCompleted$'][_0x3f1c34(0xe7)](!0x0);}[_0x4bc323(0x2e1)](){const _0x2e164a=_0x4bc323,_0x1327a8=fo(this['_injector'],Lo,'',{});this[_0x2e164a(0x2be)]=_0x1327a8,this[_0x2e164a(0x24a)][_0x2e164a(0x225)](uo['id'],{'textInfo':_0x1327a8},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x2b88b2=_0x4bc323;return this[_0x2b88b2(0x2be)];}[_0x4bc323(0x2c2)](_0x1891d9,_0x4478b8,_0x2e4c69,_0x290c4f,_0x58ac09){const _0x23cabe=_0x4bc323;this[_0x23cabe(0x10b)](_0x1891d9,_0x4478b8,_0x2e4c69,_0x290c4f),this['updatePivotTableRangeInfo'](_0x1891d9,_0x4478b8,_0x2e4c69,_0x58ac09);}[_0x4bc323(0x365)](_0x2daef3,_0x43cc5d,_0x4310c8){const _0x4d3f2e=_0x4bc323;var _0x2de32f;const _0x3bb507=(_0x2de32f=this[_0x4d3f2e(0x11f)][_0x4d3f2e(0x322)](_0x2daef3))==null?void 0x0:_0x2de32f[_0x4d3f2e(0x322)](_0x43cc5d);if(_0x3bb507)return _0x3bb507[_0x4d3f2e(0x322)](_0x4310c8);}[_0x4bc323(0x2ba)](_0x15d953,_0x471127){const _0x367476=_0x4bc323,_0x5008fe=this[_0x367476(0x11f)][_0x367476(0x322)](_0x15d953);if(_0x5008fe){for(const [_0x46a2e7,_0xeb1545]of _0x5008fe[_0x367476(0x33d)]())for(const [_0x4dc2d5,_0x1ae032]of _0xeb1545[_0x367476(0x33d)]())if(_0x4dc2d5===_0x471127)return _0x1ae032[_0x367476(0x16a)];}}[_0x4bc323(0x30c)](_0x552bfc,_0x5b0718,_0x5a024c){const _0x37475d=_0x4bc323,_0x14dca6=this[_0x37475d(0x365)](_0x552bfc,_0x5b0718,_0x5a024c);return _0x14dca6==null?void 0x0:_0x14dca6['targetCellInfo'];}[_0x4bc323(0x1cc)](_0x608a09,_0x379eaf){const _0x442e0f=_0x4bc323;var _0x13d421;return(_0x13d421=this[_0x442e0f(0x11f)][_0x442e0f(0x322)](_0x608a09))==null?void 0x0:_0x13d421['get'](_0x379eaf);}['updateConfigCache'](_0x18cdae,_0x108b84,_0x15eba2,_0x7b79da){const _0x2f3fbf=_0x4bc323,_0x4bc24a=this[_0x2f3fbf(0x158)](_0x18cdae,_0x108b84);_0x7b79da?_0x4bc24a[_0x2f3fbf(0x2a6)](_0x15eba2,_0x7b79da):_0x4bc24a[_0x2f3fbf(0x137)](_0x15eba2),this[_0x2f3fbf(0x2c0)][_0x2f3fbf(0xe7)]({'unitId':_0x18cdae,'subUnitId':_0x108b84,'pivotTableId':_0x15eba2,'pivotTableConfig':_0x7b79da});}['getCollection'](_0x177353,_0x5d44f1){const _0x28e003=_0x4bc323;var _0x3ce968;return(_0x3ce968=this['_collectionConfigModel'][_0x28e003(0x322)](_0x177353))==null?void 0x0:_0x3ce968[_0x28e003(0x1b2)][_0x5d44f1];}[_0x4bc323(0x28d)](_0x2e000d,_0x16fc49){const _0x1b0113=_0x4bc323;this[_0x1b0113(0x219)]['set'](_0x2e000d,_0x16fc49),this[_0x1b0113(0x329)][_0x1b0113(0xe7)](Math['random']());}[_0x4bc323(0x158)](_0x2233f0,_0x283568){const _0x1cc552=_0x4bc323;let _0x18fc14=this[_0x1cc552(0x11f)][_0x1cc552(0x322)](_0x2233f0);_0x18fc14||(_0x18fc14=new Map(),this['_model']['set'](_0x2233f0,_0x18fc14));let _0x5d1eba=_0x18fc14[_0x1cc552(0x322)](_0x283568);return _0x5d1eba||(_0x5d1eba=new Map(),_0x18fc14['set'](_0x283568,_0x5d1eba)),_0x5d1eba;}[_0x4bc323(0x1ed)](_0x270dcf,_0x4284cd){const _0xcd9242=_0x4bc323;let _0x5e6568=this[_0xcd9242(0xf2)]['get'](_0x270dcf);_0x5e6568||(_0x5e6568=new Map(),this[_0xcd9242(0xf2)][_0xcd9242(0x2a6)](_0x270dcf,_0x5e6568));let _0x338131=_0x5e6568['get'](_0x4284cd);return _0x338131||(_0x338131=new Map(),_0x5e6568[_0xcd9242(0x2a6)](_0x4284cd,_0x338131)),_0x338131;}[_0x4bc323(0x22a)](_0x264e3a,_0x19be95){const _0x2061a5=_0x4bc323;let _0x4b056f=this[_0x2061a5(0x1cb)]['get'](_0x264e3a);_0x4b056f||(_0x4b056f=new Map(),this[_0x2061a5(0x1cb)][_0x2061a5(0x2a6)](_0x264e3a,_0x4b056f));let _0x478165=_0x4b056f['get'](_0x19be95);return _0x478165||(_0x478165=new Map(),_0x4b056f[_0x2061a5(0x2a6)](_0x19be95,_0x478165)),_0x478165;}[_0x4bc323(0x133)](_0x1c58d7,_0x2bf069,_0x12544a,_0x39e106){const _0x2efc48=_0x4bc323;var _0x2186b3;const _0x1508b7=this[_0x2efc48(0x1ed)](_0x1c58d7,_0x2bf069),_0x4b2c08=(_0x2186b3=_0x1508b7[_0x2efc48(0x322)](_0x12544a))==null?void 0x0:_0x2186b3['oldRangeInfo'];_0x1508b7['set'](_0x12544a,{'oldRangeInfo':_0x4b2c08,'rangeInfo':_0x39e106});}[_0x4bc323(0x10b)](_0x3e225f,_0x512733,_0x5213ac,_0x58b297){const _0x3c336f=_0x4bc323;var _0xbf61;const _0x4f140d=this['_ensurePivotTableMatrixInfo'](_0x3e225f,_0x512733),_0xceb5f9=(_0xbf61=_0x4f140d[_0x3c336f(0x322)](_0x5213ac))==null?void 0x0:_0xbf61[_0x3c336f(0x172)];_0x4f140d[_0x3c336f(0x2a6)](_0x5213ac,{'oldMatrix':_0xceb5f9,'matrix':_0x58b297});}[_0x4bc323(0x34e)](_0x3ced60,_0x22e0ba,_0x53a0d9){const _0x438c98=_0x4bc323;var _0x4e2d7c,_0xbc04df;return(_0xbc04df=(_0x4e2d7c=this['_pivotTableRangeInfo']['get'](_0x3ced60))==null?void 0x0:_0x4e2d7c['get'](_0x22e0ba))==null?void 0x0:_0xbc04df[_0x438c98(0x322)](_0x53a0d9);}[_0x4bc323(0x192)](_0x1e2338,_0x36194a,_0xabd3a0){const _0x312447=_0x4bc323;var _0x32baaa,_0x174086;return(_0x174086=(_0x32baaa=this[_0x312447(0x1cb)]['get'](_0x1e2338))==null?void 0x0:_0x32baaa[_0x312447(0x322)](_0x36194a))==null?void 0x0:_0x174086[_0x312447(0x322)](_0xabd3a0);}[_0x4bc323(0x154)](_0xc95518){const _0x2fd768=_0x4bc323;this[_0x2fd768(0x11f)]['delete'](_0xc95518),this[_0x2fd768(0x219)][_0x2fd768(0x137)](_0xc95518);}[_0x4bc323(0x1d4)](_0x4bbaad){const _0x168ec5=_0x4bc323,_0x4ea94a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x168ec5(0x219)][_0x168ec5(0x322)](_0x4bbaad)&&(_0x4ea94a['dataFieldManagerConfig'][_0x4bbaad]=this[_0x168ec5(0x219)]['get'](_0x4bbaad)),this['_model'][_0x168ec5(0x322)](_0x4bbaad)){_0x4ea94a[_0x168ec5(0x32c)][_0x4bbaad]={};const _0x3be699=this[_0x168ec5(0x11f)][_0x168ec5(0x322)](_0x4bbaad);_0x3be699!=null&&_0x3be699[_0x168ec5(0x18d)]&&[..._0x3be699[_0x168ec5(0x1be)]()]['forEach'](_0x3674eb=>{const _0x575375=_0x168ec5,_0x43eabe=_0x3be699[_0x575375(0x322)](_0x3674eb);_0x43eabe!=null&&_0x43eabe[_0x575375(0x18d)]&&(_0x4ea94a[_0x575375(0x32c)][_0x4bbaad][_0x3674eb]={},[..._0x43eabe['keys']()]['forEach'](_0x6c8f2c=>{const _0x4ffe69=_0x43eabe['get'](_0x6c8f2c);_0x4ffe69&&(_0x4ea94a['pivotTableConfigs'][_0x4bbaad][_0x3674eb][_0x6c8f2c]=_0x4ffe69);}));});}return _0x4ea94a;}[_0x4bc323(0x2e5)](){const _0x2acc01=_0x4bc323;this[_0x2acc01(0x2a8)](this[_0x2acc01(0x1ee)][_0x2acc01(0x318)]({'toJson':_0x93b78e=>JSON[_0x2acc01(0x26b)](this[_0x2acc01(0x1d4)](_0x93b78e)),'parseJson':_0x4379dd=>({}),'businesses':[_0x2a9244[_0x2acc01(0xfe)]],'pluginName':ao,'onLoad':(_0x2e468f,_0x4f4dfb)=>{},'onUnLoad':_0x4d61c2=>{const _0x540170=_0x2acc01;this[_0x540170(0x154)](_0x4d61c2);}}));}};he=Gi([at(0x0,_0x3bbbb8(_0x2bd25b)),at(0x1,_0x3bbbb8(_0xcd8e3b)),at(0x2,_0x3bbbb8(_0x39f700)),at(0x3,_0x3bbbb8(_0x4d1684)),at(0x4,_0x3bbbb8(_0x1edc63))],he);var Wi=Object['getOwnPropertyDescriptor'],Zi=(_0x27151e,_0x53f286,_0x244e1e,_0x22ca37)=>{const _0x1aef83=_0x4bc323;for(var _0x2a7827=_0x22ca37>0x1?void 0x0:_0x22ca37?Wi(_0x53f286,_0x244e1e):_0x53f286,_0x296fff=_0x27151e[_0x1aef83(0x352)]-0x1,_0xe9abab;_0x296fff>=0x0;_0x296fff--)(_0xe9abab=_0x27151e[_0x296fff])&&(_0x2a7827=_0xe9abab(_0x2a7827)||_0x2a7827);return _0x2a7827;},rt=(_0x16dbf6,_0xafacfe)=>(_0x36be30,_0x34a172)=>_0xafacfe(_0x36be30,_0x34a172,_0x16dbf6);let Ue=class extends _0x2e1b8a{constructor(_0x29c9dc,_0x506760,_0x15129b,_0x3bb006,_0x502294){const _0x8d6243=_0x4bc323;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x8d6243(0x227),new Map()),V(this,'_markDirty$',new _0x5589bd()),V(this,_0x8d6243(0xee),this[_0x8d6243(0x10e)][_0x8d6243(0x1e6)]()),V(this,'_viewUpdate$',new _0x5589bd()),V(this,_0x8d6243(0x2f5),this[_0x8d6243(0x171)][_0x8d6243(0x1e6)]()),V(this,_0x8d6243(0x2be)),(this['_localeService']=_0x29c9dc,this['_injector']=_0x506760,this[_0x8d6243(0x1f9)]=_0x15129b,this[_0x8d6243(0x14a)]=_0x3bb006,this['_exclusiveRangeService']=_0x502294,this[_0x8d6243(0x2e1)](),this[_0x8d6243(0x31e)]());}[_0x4bc323(0x31e)](){const _0x2b34d7=_0x4bc323;this[_0x2b34d7(0x2a8)](this[_0x2b34d7(0x14a)]['getTypeOfUnitDisposed$'](_0x2a9244[_0x2b34d7(0xfe)])['subscribe'](_0x13b9eb=>{const _0x389067=_0x2b34d7;this['deleteUnitId'](_0x13b9eb[_0x389067(0x159)]());}));}[_0x4bc323(0x2e1)](){const _0x3f4874=_0x4bc323;this['_textInfo']=fo(this[_0x3f4874(0x150)],Lo,'',{});}[_0x4bc323(0x35e)](_0x1634ab){const _0xb430b1=_0x4bc323,{view:_0x2adae6,unitId:_0x239846,subUnitId:_0x5429fb,pivotTableId:_0x2f4ea8,type:_0x2d91c7}=_0x1634ab,_0x357e39=this[_0xb430b1(0x1f9)][_0xb430b1(0x365)](_0x239846,_0x5429fb,_0x2f4ea8);if(!_0x2adae6||!_0x357e39||_0x2d91c7===B[_0xb430b1(0x226)])return;const {pageView:_0xdd677f,cornerView:_0x1325b3,rowView:_0x428e10,colView:_0x4e33be,dataView:_0x3b7b08}=_0x2adae6,_0x435df9=_0x357e39['targetCellInfo'],_0x59480c=_0x357e39['isEmpty'],_0x32a913=this[_0xb430b1(0x334)](_0x239846,_0x5429fb),_0x4a7c9e=this[_0xb430b1(0x17c)](_0x239846,_0x5429fb,_0x2f4ea8);if(_0x59480c)return this[_0xb430b1(0x277)](_0x1634ab,_0x32a913,_0x435df9,_0x4a7c9e);{const _0x787dc9=ge(_0x435df9,_0xdd677f,!0x0),_0x56854c=_0xdd677f['lastRow']>=0x0?_0xdd677f[_0xb430b1(0x210)]+0x1:0x0,_0xebf7f0=_0x1325b3['getRowCount'](),_0x127f09=_0x1325b3[_0xb430b1(0x119)](),_0x347f72=_0x787dc9['length']>0x0?It:0x0,_0xfd08c8=ge({'row':_0x435df9[_0xb430b1(0x323)]+_0x56854c+_0x347f72,'col':_0x435df9['col']},_0x1325b3,!0x1,!0x1),_0x26bea9=ge({'row':_0x435df9[_0xb430b1(0x323)]+_0x56854c+_0x347f72+_0xebf7f0,'col':_0x435df9[_0xb430b1(0x26e)]},_0x428e10,!0x1,!0x0),_0x24507f=ge({'row':_0x435df9[_0xb430b1(0x323)]+_0x56854c+_0x347f72,'col':_0x435df9[_0xb430b1(0x26e)]+_0x127f09},_0x4e33be,!0x1,!0x0),_0x3fb011=ge({'row':_0x435df9['row']+_0x56854c+_0x347f72+_0xebf7f0,'col':_0x435df9[_0xb430b1(0x26e)]+_0x127f09},_0x3b7b08,!0x1,!0x1);_0x4a7c9e[_0xb430b1(0x1b0)]={'rowRanges':_0x26bea9,'colRanges':_0x24507f,'cornerRanges':_0xfd08c8,'dataRanges':_0x3fb011,'pageRanges':_0x787dc9};const _0x3aa9af=yi(this[_0xb430b1(0x150)],_0x2adae6,_0x357e39,this[_0xb430b1(0x2be)]),{valueMatrix:_0x47bbcf,rowInfo:_0x2a632f,colInfo:_0x142275,cornerInfo:_0x2407ea,rowHeaderMap:_0x222140,colHeaderMap:_0x82e1ba}=_0x3aa9af;return _0x4a7c9e[_0xb430b1(0x110)]={'rowInfo':_0x2a632f,'colInfo':_0x142275,'cornerInfo':_0x2407ea},_0x4a7c9e[_0xb430b1(0x111)]={'rowHeaderMap':_0x222140,'colHeaderMap':_0x82e1ba},_0x47bbcf[_0xb430b1(0x1f4)]((_0x1143d8,_0x15085d)=>{Object['keys'](_0x15085d)['forEach'](_0x5ce94b=>{const _0x403f95=_0x3d26,_0x475e11=+_0x5ce94b,_0x466f7e=_0x47bbcf[_0x403f95(0x32a)](_0x1143d8,_0x475e11);_0x32a913[_0x403f95(0x15e)](_0x1143d8,_0x475e11,_0x466f7e);});}),this['_viewUpdate$'][_0xb430b1(0xe7)]({'unitId':_0x239846,'subUnitId':_0x5429fb,'valueMatrix':_0x32a913,'rangesCache':_0x4a7c9e['rangesInfo'],'pivotTableId':_0x2f4ea8,'type':_0x1634ab['type']}),this['_sheetsPivotTableConfigModel'][_0xb430b1(0x2c2)](_0x239846,_0x5429fb,_0x2f4ea8,_0x32a913,_0x4a7c9e[_0xb430b1(0x1b0)]),this['_exclusiveRangeService'][_0xb430b1(0x134)](_0x239846,_0x5429fb,Ht,this[_0xb430b1(0x278)](_0x4a7c9e['rangesInfo'],_0x2f4ea8)),{'rangeCache':_0x4a7c9e[_0xb430b1(0x1b0)],'matrix':_0x32a913};}}[_0x4bc323(0x277)](_0x1d25aa,_0x11628c,_0x4e9aa8,_0xfec4f1){const _0x11a573=_0x4bc323,_0x2672ed=this[_0x11a573(0x238)]['t'],{unitId:_0x3adbbc,subUnitId:_0x300581,pivotTableId:_0xa1723}=_0x1d25aa,_0x37e6c7={'filter':_0x2672ed(_0x11a573(0x18b)),'row':_0x2672ed('sheets-pivot.emptyPivot.row'),'column':_0x2672ed(_0x11a573(0x344)),'values':_0x2672ed(_0x11a573(0x1d8))},{matrixCache:_0x1a445a,rangesCache:_0x1b7ae9}=Jo(_0x37e6c7,_0x4e9aa8);return _0x1a445a['forValue']((_0x406ccf,_0xc2f4f8,_0x5942e9)=>{const _0x9a1bcb=_0x11a573;_0x11628c[_0x9a1bcb(0x15e)](_0x406ccf,_0xc2f4f8,_0x5942e9);}),_0xfec4f1[_0x11a573(0x1b0)]=_0x1b7ae9,this[_0x11a573(0x171)]['next']({'unitId':_0x3adbbc,'subUnitId':_0x300581,'valueMatrix':_0x11628c,'rangesCache':_0x1b7ae9,'pivotTableId':_0xa1723,'type':_0x1d25aa[_0x11a573(0x21d)],'isEmpty':!0x0}),this[_0x11a573(0x1f9)][_0x11a573(0x2c2)](_0x3adbbc,_0x300581,_0xa1723,_0x11628c,_0x1b7ae9),this['_exclusiveRangeService'][_0x11a573(0x134)](_0x3adbbc,_0x300581,Ht,this[_0x11a573(0x278)](_0x1b7ae9,_0xa1723)),{'rangeCache':_0xfec4f1[_0x11a573(0x1b0)],'matrix':_0x11628c};}[_0x4bc323(0x278)](_0x52f0f3,_0x40a696){const _0x58b0e4=_0x4bc323,_0xb67642=[],_0x363342=Bt(_0x52f0f3);for(const _0x381425 of _0x363342)_0xb67642[_0x58b0e4(0x1b6)]({'groupId':_0x40a696,'range':_0x381425});return _0xb67642;}['clearRenderCache'](_0x257712){const _0x5aeaa6=_0x4bc323;var _0x1e6af7,_0x405445,_0x24dd72,_0x4c3d4c;const {pivotTableId:_0x34f16d,unitId:_0x1e0ca0,subUnitId:_0x18fe79}=_0x257712;if(!_0x34f16d||!_0x1e0ca0||!_0x18fe79)return;const _0x5cec57=this['_ensurePivotItemRenderValueMatrixCache'](_0x1e0ca0,_0x18fe79),_0xe338ed=(_0x405445=(_0x1e6af7=this[_0x5aeaa6(0x173)][_0x5aeaa6(0x322)](_0x1e0ca0))==null?void 0x0:_0x1e6af7[_0x5aeaa6(0x322)](_0x18fe79))==null?void 0x0:_0x405445['get'](_0x34f16d);if(_0xe338ed!=null&&_0xe338ed[_0x5aeaa6(0x1b0)]){for(const _0x4b5bb3 of Object[_0x5aeaa6(0x1be)](_0xe338ed['rangesInfo']))_0xe338ed[_0x5aeaa6(0x1b0)][_0x4b5bb3][_0x5aeaa6(0x1f4)](_0x56382b=>{const _0x3247c7=_0x5aeaa6;for(let _0x3cfeee=_0x56382b[_0x3247c7(0x351)];_0x3cfeee<=_0x56382b[_0x3247c7(0xed)];_0x3cfeee++)for(let _0x2841f8=_0x56382b[_0x3247c7(0xf7)];_0x2841f8<=_0x56382b[_0x3247c7(0x2b2)];_0x2841f8++)_0x5cec57[_0x3247c7(0x243)](_0x3cfeee,_0x2841f8);});}_0xe338ed&&((_0x4c3d4c=(_0x24dd72=this[_0x5aeaa6(0x173)]['get'](_0x1e0ca0))==null?void 0x0:_0x24dd72[_0x5aeaa6(0x322)](_0x18fe79))==null||_0x4c3d4c[_0x5aeaa6(0x137)](_0x34f16d)),this[_0x5aeaa6(0x171)][_0x5aeaa6(0xe7)]({'unitId':_0x1e0ca0,'subUnitId':_0x18fe79,'valueMatrix':_0x5cec57,'pivotTableId':_0x34f16d,'rangesCache':void 0x0,'type':_0x257712[_0x5aeaa6(0x21d)]}),this[_0x5aeaa6(0x336)][_0x5aeaa6(0x2f3)](_0x1e0ca0,_0x18fe79,Ht,_0x34f16d);}[_0x4bc323(0x17c)](_0xd10ce4,_0x51760a,_0x6221cf){const _0x1bb498=_0x4bc323;var _0x4cc71c,_0x56362c,_0x1c320f,_0x10e853,_0x50f532,_0xf5561a;return this[_0x1bb498(0x173)][_0x1bb498(0x320)](_0xd10ce4)||this['_pivotRenderInfoCache']['set'](_0xd10ce4,new Map()),(_0x4cc71c=this[_0x1bb498(0x173)][_0x1bb498(0x322)](_0xd10ce4))!=null&&_0x4cc71c[_0x1bb498(0x320)](_0x51760a)||(_0x56362c=this[_0x1bb498(0x173)][_0x1bb498(0x322)](_0xd10ce4))==null||_0x56362c[_0x1bb498(0x2a6)](_0x51760a,new Map()),(_0x10e853=(_0x1c320f=this[_0x1bb498(0x173)][_0x1bb498(0x322)](_0xd10ce4))==null?void 0x0:_0x1c320f['get'](_0x51760a))!=null&&_0x10e853['has'](_0x6221cf)||(_0xf5561a=(_0x50f532=this[_0x1bb498(0x173)][_0x1bb498(0x322)](_0xd10ce4))==null?void 0x0:_0x50f532[_0x1bb498(0x322)](_0x51760a))==null||_0xf5561a[_0x1bb498(0x2a6)](_0x6221cf,{}),this[_0x1bb498(0x173)]['get'](_0xd10ce4)[_0x1bb498(0x322)](_0x51760a)[_0x1bb498(0x322)](_0x6221cf);}[_0x4bc323(0x334)](_0x5191f3,_0x27ca16){const _0x1952dd=_0x4bc323;var _0x171aa5,_0x136560;return this['_pivotRenderValueMatrixCache'][_0x1952dd(0x320)](_0x5191f3)||this['_pivotRenderValueMatrixCache']['set'](_0x5191f3,new Map()),(_0x171aa5=this[_0x1952dd(0x227)][_0x1952dd(0x322)](_0x5191f3))!=null&&_0x171aa5[_0x1952dd(0x320)](_0x27ca16)||(_0x136560=this[_0x1952dd(0x227)][_0x1952dd(0x322)](_0x5191f3))==null||_0x136560[_0x1952dd(0x2a6)](_0x27ca16,new _0xfe6c88()),this[_0x1952dd(0x227)][_0x1952dd(0x322)](_0x5191f3)[_0x1952dd(0x322)](_0x27ca16);}['getPivotTableCellData'](_0x855fa5,_0x4dc17d,_0x2c7bac,_0xcb2144){const _0x2191e1=_0x4bc323;var _0x42c5f4,_0x2e3ccb;const _0x57000e=(_0x2e3ccb=(_0x42c5f4=this[_0x2191e1(0x227)][_0x2191e1(0x322)](_0x855fa5))==null?void 0x0:_0x42c5f4[_0x2191e1(0x322)](_0x4dc17d))==null?void 0x0:_0x2e3ccb[_0x2191e1(0x32a)](_0x2c7bac,_0xcb2144);if(_0x57000e!=null)return _0x57000e;}[_0x4bc323(0x139)](_0x13e945,_0x41db97,_0x3f243f,_0xc30e2d){const _0x3c270d=_0x4bc323;var _0x4c7dae;const _0x158036=_0x3e77f4(_0x3f243f,_0xc30e2d),_0x3a5845=(_0x4c7dae=this[_0x3c270d(0x173)][_0x3c270d(0x322)](_0x13e945))==null?void 0x0:_0x4c7dae['get'](_0x41db97);return _0x3a5845?Array[_0x3c270d(0x2b5)](_0x3a5845['keys']())[_0x3c270d(0x267)](_0x2f8429=>{const _0x48ebd1=_0x3c270d,_0x3d6756=_0x3a5845[_0x48ebd1(0x322)](_0x2f8429),_0x7b02a2=_0x3d6756==null?void 0x0:_0x3d6756[_0x48ebd1(0x1b0)];return _0x7b02a2?Object[_0x48ebd1(0x1be)](_0x7b02a2)['some'](_0x1ebc6a=>_0x7b02a2[_0x1ebc6a]['some'](_0x47a0c6=>_0x135959[_0x48ebd1(0x1f6)](_0x47a0c6,_0x158036))):!0x1;}):void 0x0;}[_0x4bc323(0x289)](_0x3fdf9d,_0x54e56b,_0x99e91f){const _0x47da53=_0x4bc323;var _0xeae1c;const _0x4eeda9=(_0xeae1c=this['_pivotRenderInfoCache']['get'](_0x3fdf9d))==null?void 0x0:_0xeae1c[_0x47da53(0x322)](_0x54e56b),_0x1a6ed2=[];return _0x4eeda9&&Array['from'](_0x4eeda9['keys']())[_0x47da53(0x1f4)](_0x215414=>{const _0x1a20e0=_0x47da53,_0x52f2c=_0x4eeda9[_0x1a20e0(0x322)](_0x215414),_0x30a11f=_0x52f2c==null?void 0x0:_0x52f2c[_0x1a20e0(0x1b0)];if(_0x30a11f)for(const _0x5e5273 of Object[_0x1a20e0(0x222)](_0x30a11f)){let _0x498347=!0x1;for(const _0x250341 of _0x5e5273)if(_0x135959[_0x1a20e0(0x11c)](_0x250341,_0x99e91f)){_0x1a6ed2[_0x1a20e0(0x1b6)](_0x215414),_0x498347=!0x0;break;}if(_0x498347)break;}}),_0x1a6ed2;}[_0x4bc323(0x252)](_0x5592cc,_0x5d23a0){const _0x2f8da4=_0x4bc323;var _0x1592a5,_0x50d785;return(_0x50d785=(_0x1592a5=this[_0x2f8da4(0x227)][_0x2f8da4(0x322)](_0x5592cc))==null?void 0x0:_0x1592a5['get'](_0x5d23a0))!=null?_0x50d785:new _0xfe6c88();}[_0x4bc323(0x31f)](_0x56979c,_0x4e79e3){const _0x28ce79=_0x4bc323;var _0x5b53b7;return(_0x5b53b7=this[_0x28ce79(0x173)]['get'](_0x56979c))==null?void 0x0:_0x5b53b7[_0x28ce79(0x322)](_0x4e79e3);}['getPivotItemRenderInfoCache'](_0x281154,_0x252efb,_0x1f4bdc){const _0x58a442=_0x4bc323;var _0x51692e,_0x5a834a;return(_0x5a834a=(_0x51692e=this[_0x58a442(0x173)]['get'](_0x281154))==null?void 0x0:_0x51692e['get'](_0x252efb))==null?void 0x0:_0x5a834a[_0x58a442(0x322)](_0x1f4bdc);}[_0x4bc323(0x154)](_0x28bd51){const _0x1517fd=_0x4bc323;this['_pivotRenderInfoCache'][_0x1517fd(0x137)](_0x28bd51),this[_0x1517fd(0x227)][_0x1517fd(0x137)](_0x28bd51);}['markDirty'](_0xa5a297,_0x737d45){const _0x335c20=_0x4bc323;this['_markDirty$'][_0x335c20(0xe7)]({'unitId':_0xa5a297,'subUnitId':_0x737d45});}};Ue=Zi([rt(0x0,_0x3bbbb8(_0x4000e6)),rt(0x1,_0x3bbbb8(_0x2bd25b)),rt(0x2,_0x3bbbb8(he)),rt(0x3,_0x3bbbb8(_0x39f700)),rt(0x4,_0x3bbbb8(_0x2dd9fe))],Ue);var Ki=Object[_0x4bc323(0x1fc)],qi=(_0x49abcf,_0x94a5ba,_0x46bd32,_0x100d97)=>{for(var _0x22bbb1=_0x100d97>0x1?void 0x0:_0x100d97?Ki(_0x94a5ba,_0x46bd32):_0x94a5ba,_0x326d51=_0x49abcf['length']-0x1,_0x21e693;_0x326d51>=0x0;_0x326d51--)(_0x21e693=_0x49abcf[_0x326d51])&&(_0x22bbb1=_0x21e693(_0x22bbb1)||_0x22bbb1);return _0x22bbb1;},Mo=(_0x499943,_0x2a8b5a)=>(_0x243289,_0x26bb5e)=>_0x2a8b5a(_0x243289,_0x26bb5e,_0x499943);let ie=class extends _0x2e1b8a{constructor(_0x145909,_0x2fb980){const _0x50fa44=_0x4bc323;super(),V(this,'asyncInterceptor',new _0x40a8f7({'PIVOT_PERFORM_CHECK':be})),V(this,_0x50fa44(0x328),new _0x101c42({'PIVOT_MUTATION_GENERATE':Qo})),(this[_0x50fa44(0xf1)]=_0x145909,this[_0x50fa44(0x353)]=_0x2fb980,this[_0x50fa44(0x275)]());}['_init'](){const _0x149b25=_0x4bc323;this[_0x149b25(0x27f)]();}['getPivotPerformCheck'](_0x1e53ce){const _0x49965d=_0x4bc323;return this[_0x49965d(0x1fa)][_0x49965d(0x190)](be)(!0x1,_0x1e53ce);}[_0x4bc323(0x27f)](){const _0x17772d=_0x4bc323;this[_0x17772d(0x2a8)](this[_0x17772d(0xf1)]['intercept'](_0x1801c2[_0x17772d(0x245)],{'priority':0xc8,'effect':_0x5e6383[_0x17772d(0x30b)]|_0x5e6383[_0x17772d(0x10c)],'handler':(_0x26cf78,_0x3b2031,_0x5cdc1f)=>{const _0x515a3b=_0x17772d,{row:_0x212c67,col:_0x58e5fb,unitId:_0x45e38a,subUnitId:_0x2a2a7a,workbook:_0x570ed2}=_0x3b2031,_0x2a9547=this[_0x515a3b(0x353)][_0x515a3b(0x2c1)](_0x45e38a,_0x2a2a7a,_0x212c67,_0x58e5fb);if(!_0x2a9547)return _0x5cdc1f(_0x26cf78);const _0x38b8ae={..._0x26cf78};(_0x2a9547['v']||_0x2a9547['v']===0x0)&&(_0x38b8ae['v']=_0x2a9547['v']),_0x2a9547['t']&&(_0x38b8ae['t']=_0x2a9547['t']);const _0x4bcf49=(typeof(_0x26cf78==null?void 0x0:_0x26cf78['s'])=='string'?_0x570ed2[_0x515a3b(0x124)]()[_0x515a3b(0x322)](_0x26cf78==null?void 0x0:_0x26cf78['s']):_0x26cf78==null?void 0x0:_0x26cf78['s'])||{},_0xcdf4ef=_0x570ed2[_0x515a3b(0x124)]()[_0x515a3b(0x322)](_0x2a9547['s']),_0x470f34={..._0xcdf4ef,..._0x4bcf49};_0xcdf4ef!=null&&_0xcdf4ef['n']&&(_0x470f34['n']=_0xcdf4ef['n']);const _0x3ece00=_0x570ed2[_0x515a3b(0x124)]()['setValue'](_0x470f34);return _0x38b8ae['s']=_0x3ece00,(_0x2a9547[_0x515a3b(0xff)]===_0x26fd4c[_0x515a3b(0x304)]||_0x2a9547['pbt']===_0x26fd4c[_0x515a3b(0x305)])&&(_0x38b8ae[_0x515a3b(0x20b)]={},_0x38b8ae[_0x515a3b(0x20b)][_0x515a3b(0xe9)]=li),_0x5cdc1f(_0x38b8ae);}}));}};ie=qi([Mo(0x0,_0x3bbbb8(_0x452573)),Mo(0x1,_0x3bbbb8(Ue))],ie);function Ut(_0x1a0025,_0x5328eb){const _0x2c06f5=_0x4bc323;switch(_0x5328eb){case _0x685aab[_0x2c06f5(0x30b)]:return _0x1a0025['valueFields'];case _0x685aab[_0x2c06f5(0x1fe)]:return _0x1a0025[_0x2c06f5(0x15d)];case _0x685aab['Row']:return _0x1a0025[_0x2c06f5(0x21b)];case _0x685aab[_0x2c06f5(0x199)]:return _0x1a0025['columnFields'];default:return[];}}function $e(_0x1911f6,_0x5250a2){const _0x58fd07=_0x4bc323;return _0x1911f6[_0x58fd07(0x16e)][_0x5250a2]||_0x1911f6['dimension'][_0x5250a2];}function zi(_0x48fbcd,_0x46c2aa){const _0x37f56b=_0x4bc323,{area:_0x5b5484,fieldJson:_0x343d08,index:_0x5448b1}=_0x46c2aa;_0x5b5484===_0x685aab[_0x37f56b(0x30b)]?_0x48fbcd['measure'][_0x343d08['id']]=_0x343d08:_0x48fbcd[_0x37f56b(0x2a2)][_0x343d08['id']]=_0x343d08,Ut(_0x48fbcd,_0x5b5484)[_0x37f56b(0x22e)](_0x5448b1,0x0,_0x343d08['id']);}function Xi(_0x5a06b5,_0x5a064a){const _0x3f0495=_0x4bc323,{area:_0x2b327c,fieldId:_0x2ea1b3,index:_0x5341c9}=_0x5a064a;_0x2b327c===_0x685aab['Value']?delete _0x5a06b5[_0x3f0495(0x16e)][_0x2ea1b3]:delete _0x5a06b5['dimension'][_0x2ea1b3],Ut(_0x5a06b5,_0x2b327c)['splice'](_0x5341c9,0x1);}function es(_0x1868e2,_0x501905){const _0xed2910=_0x4bc323,{fieldId:_0x4490f5,name:_0x10a188}=_0x501905,_0x118732=$e(_0x1868e2,_0x4490f5);_0x118732&&(_0x118732[_0xed2910(0x291)]=_0x10a188);}function ts(_0x5955d7,_0xe14b9e){const _0x2298db=_0x4bc323,{fieldId:_0x57fabd,collapse:_0x4da50c,item:_0x27ef8}=_0xe14b9e;_0x27ef8!==void 0x0?(_0x5955d7[_0x2298db(0x1f1)][_0x57fabd]=_0x5955d7[_0x2298db(0x1f1)][_0x57fabd]||{},_0x5955d7[_0x2298db(0x1f1)][_0x57fabd][_0x27ef8]=_0x4da50c):_0x5955d7[_0x2298db(0x1f1)][_0x57fabd]=_0x4da50c;}function os(_0x1de43a,_0x291113){const {fieldId:_0x453dcc,format:_0x501944}=_0x291113,_0x439865=$e(_0x1de43a,_0x453dcc);_0x439865&&(_0x439865['format']=_0x501944);}function ns(_0x7f02b9,_0x253c6f){const {fieldId:_0x590e03,filterInfo:_0x4c6ae2}=_0x253c6f,_0x42052d=$e(_0x7f02b9,_0x590e03);_0x42052d&&(_0x42052d['filterInfo']=_0x4c6ae2);}function is(_0x32e0bb,_0x538e3c){const _0x1a7023=_0x4bc323,{fieldId:_0x7d95b3,filterInfo:_0x3d2f4f}=_0x538e3c,_0xef2067=_0x32e0bb[_0x1a7023(0x1a1)][_0x1a7023(0x18a)](_0x4dd402=>_0x4dd402['fieldId']!==_0x7d95b3);_0x3d2f4f&&_0xef2067[_0x1a7023(0x1b6)]({'fieldId':_0x7d95b3,'filterInfo':_0x3d2f4f}),_0x32e0bb[_0x1a7023(0x1a1)]=_0xef2067;}function ss(_0x5d6696,_0x2fde96){const {fieldId:_0x1ba572,subtotalType:_0x445f3c}=_0x2fde96,_0x344ce3=$e(_0x5d6696,_0x1ba572);_0x344ce3&&(_0x344ce3['subtotal']=_0x445f3c);}function as(_0x5d5379,_0x5c4070){const _0x383827=_0x4bc323,{fieldId:_0x271ae1,oldArea:_0x501716,area:_0x489dd2,oldIndex:_0x590f0e,index:_0x474ffb}=_0x5c4070,_0x361bd9=_0x501716!==_0x685aab[_0x383827(0x30b)]&&_0x489dd2===_0x685aab[_0x383827(0x30b)],_0x57cb2d=_0x501716===_0x685aab[_0x383827(0x30b)]&&_0x489dd2!==_0x685aab['Value'];if(_0x361bd9||_0x57cb2d){const _0x4514ef=$e(_0x5d5379,_0x271ae1);_0x4514ef&&(_0x361bd9?(delete _0x5d5379[_0x383827(0x2a2)][_0x271ae1],_0x5d5379['measure'][_0x271ae1]=_0x4514ef):(delete _0x5d5379[_0x383827(0x16e)][_0x271ae1],_0x5d5379['dimension'][_0x271ae1]=_0x4514ef));}const _0x5ac00f=Ut(_0x5d5379,_0x501716),_0x3e7d4f=Ut(_0x5d5379,_0x489dd2);_0x5ac00f[_0x383827(0x22e)](_0x590f0e,0x1),_0x3e7d4f[_0x383827(0x22e)](_0x474ffb,0x0,_0x271ae1);}function rs(_0x5f9400,_0x54dc74){const _0x5e7039=_0x4bc323,{valuePosition:_0x55bec4,index:_0x17cbf3}=_0x54dc74;_0x5f9400[_0x5e7039(0x361)]=_0x55bec4,_0x5f9400[_0x5e7039(0x160)]=_0x17cbf3;}function ls(_0xfb6f9b,_0x1364f6){const _0x5511b9=_0x4bc323,{tableFieldId:_0x277309,sourceName:_0x3b6f79,dataFieldId:_0x4d3bab}=_0x1364f6,_0x586ece=$e(_0xfb6f9b,_0x277309);_0x586ece&&(_0x586ece[_0x5511b9(0x23a)]=_0x3b6f79,_0x586ece[_0x5511b9(0x285)]=_0x4d3bab);}function ds(_0x2808bb,_0x3910ea){const _0x264e97=_0x4bc323,{fieldId:_0x5d3c03,sortInfo:_0x1ccd2b}=_0x3910ea,_0x4ee3a5=$e(_0x2808bb,_0x5d3c03);_0x4ee3a5&&(_0x4ee3a5[_0x264e97(0x1ac)]=_0x1ccd2b);}function cs(_0x4570d4,_0x1f5070){const _0x2b5106=_0x4bc323,{options:_0x328bab}=_0x1f5070;_0x4570d4[_0x2b5106(0x1d0)]={..._0x4570d4[_0x2b5106(0x1d0)],..._0x328bab};}const Qt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x34d),'handler'(_0x552c2d,_0x2e0cf3){const _0xc06667=_0x4bc323;if(!_0x2e0cf3)return!0x1;if(!!_0x552c2d[_0xc06667(0x322)](_0x1edc63)[_0xc06667(0x23e)](W))return!0x0;const _0xb2b371=_0x552c2d[_0xc06667(0x322)](Q),{pivotTableId:_0x24a89a,fieldJson:_0x3f031b,area:_0x4e0450,index:_0x520d8b,unitId:_0x3371d0,subUnitId:_0x4912e8}=_0x2e0cf3,_0xc79271=_0xb2b371[_0xc06667(0x1e7)](_0x24a89a);if(!_0xc79271)return!0x1;let _0x4cb56a;_0x4e0450===_0x685aab[_0xc06667(0x30b)]?_0x4cb56a=_0x420a0e(_0x3f031b):_0x4cb56a=_0x3a41b1(_0x3f031b),_0xc79271['addField'](_0x4cb56a,_0x4e0450,_0x520d8b);const _0x5b6542=_0xb2b371[_0xc06667(0x28e)](_0x3371d0,_0x4912e8,_0x24a89a);zi(_0x5b6542,_0x2e0cf3);const _0x3f5ba3=_0xb2b371[_0xc06667(0x365)](_0x3371d0,_0x4912e8,_0x24a89a);return _0xb2b371[_0xc06667(0x2eb)]({'unitId':_0x3371d0,'subUnitId':_0x4912e8,'token':_0x24a89a,'type':B[_0xc06667(0x1d6)],'pivotConfig':_0x3f5ba3}),!0x0;}},$t={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x308),'handler'(_0x5408d8,_0xb02c1b){const _0x574a21=_0x4bc323;if(!_0xb02c1b)return!0x1;if(!!_0x5408d8['get'](_0x1edc63)[_0x574a21(0x23e)](W))return!0x0;const _0x3160eb=_0x5408d8[_0x574a21(0x322)](Q),{pivotTableId:_0x3585e3,fieldId:_0x58dc62,unitId:_0x29ac9c,subUnitId:_0x26bf75}=_0xb02c1b,_0x5c0c17=_0x3160eb[_0x574a21(0x1e7)](_0x3585e3);if(!_0x5c0c17)return!0x1;_0x5c0c17[_0x574a21(0x1a8)](_0x58dc62);const _0x36a8d2=_0x3160eb[_0x574a21(0x28e)](_0x29ac9c,_0x26bf75,_0x3585e3);Xi(_0x36a8d2,_0xb02c1b);const _0x502bc0=_0x3160eb[_0x574a21(0x365)](_0x29ac9c,_0x26bf75,_0x3585e3);return _0x3160eb[_0x574a21(0x2eb)]({'unitId':_0x29ac9c,'subUnitId':_0x26bf75,'token':_0x3585e3,'type':B[_0x574a21(0x1d6)],'pivotConfig':_0x502bc0}),!0x0;}},Yt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x28a),'handler'(_0x38cd4c,_0x318b37){const _0x28ff6d=_0x4bc323;if(!_0x318b37)return!0x1;if(!!_0x38cd4c[_0x28ff6d(0x322)](_0x1edc63)[_0x28ff6d(0x23e)](W))return!0x0;const _0x270b9b=_0x38cd4c['get'](Q),{unitId:_0x182216,subUnitId:_0x5979af,pivotTableId:_0x184a67,fieldId:_0xf98df5,name:_0x19bb96}=_0x318b37,_0xbbf5d4=_0x270b9b[_0x28ff6d(0x1e7)](_0x184a67);if(!_0xbbf5d4)return!0x1;_0xbbf5d4[_0x28ff6d(0x20f)](_0xf98df5,_0x19bb96);const _0xa79cd5=_0x270b9b[_0x28ff6d(0x28e)](_0x182216,_0x5979af,_0x184a67);return es(_0xa79cd5,_0x318b37),_0x270b9b[_0x28ff6d(0x2eb)]({'unitId':_0x182216,'subUnitId':_0x5979af,'token':_0x184a67,'type':B[_0x28ff6d(0x1d6)]}),!0x0;}},Jt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x1ec),'handler'(_0x403514,_0x376ad8){const _0x8ffb72=_0x4bc323;if(!_0x376ad8)return!0x1;if(!!_0x403514[_0x8ffb72(0x322)](_0x1edc63)[_0x8ffb72(0x23e)](W))return!0x0;const _0x5f1778=_0x403514['get'](Q),{unitId:_0x2a147e,subUnitId:_0x414e7e,pivotTableId:_0x32bcde,fieldId:_0x21a60f,collapse:_0x186e23,item:_0x556f11}=_0x376ad8,_0x1c1b01=_0x5f1778[_0x8ffb72(0x1e7)](_0x32bcde);if(!_0x1c1b01)return!0x1;_0x1c1b01[_0x8ffb72(0x35a)](_0x21a60f,_0x186e23,_0x556f11);const _0x4ee1b9=_0x5f1778['getPivotTableModelConfig'](_0x2a147e,_0x414e7e,_0x32bcde);return ts(_0x4ee1b9,_0x376ad8),_0x5f1778[_0x8ffb72(0x2eb)]({'unitId':_0x2a147e,'subUnitId':_0x414e7e,'token':_0x32bcde,'type':B[_0x8ffb72(0x1d6)]}),!0x0;}},jt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x261),'handler'(_0xf24c31,_0x3b2313){const _0x108684=_0x4bc323;if(!_0x3b2313)return!0x1;if(!!_0xf24c31[_0x108684(0x322)](_0x1edc63)['getConfig'](W))return!0x0;const _0x3e0922=_0xf24c31[_0x108684(0x322)](Q),{unitId:_0x1448cb,subUnitId:_0x1bba66,pivotTableId:_0xb55fd,fieldId:_0xf729d3,format:_0xdc4094}=_0x3b2313,_0x3bcc00=_0x3e0922[_0x108684(0x1e7)](_0xb55fd);if(!_0x3bcc00)return!0x1;_0x3bcc00[_0x108684(0x1cd)](_0xf729d3,_0xdc4094);const _0x49410b=_0x3e0922['getPivotTableModelConfig'](_0x1448cb,_0x1bba66,_0xb55fd);return os(_0x49410b,_0x3b2313),_0x3e0922[_0x108684(0x2eb)]({'unitId':_0x1448cb,'subUnitId':_0x1bba66,'token':_0xb55fd,'type':B[_0x108684(0x1d6)]}),!0x0;}},Gt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0xf3),'handler'(_0x37b94d,_0x218bc3){const _0x460977=_0x4bc323;if(!_0x218bc3)return!0x1;if(!!_0x37b94d[_0x460977(0x322)](_0x1edc63)[_0x460977(0x23e)](W))return!0x0;const _0x496a5d=_0x37b94d[_0x460977(0x322)](Q),{unitId:_0x1ea4f3,subUnitId:_0x34e08f,pivotTableId:_0x13b766,fieldId:_0x1d6d4c,filterInfo:_0x5a3a95}=_0x218bc3,_0x99b76=_0x496a5d[_0x460977(0x1e7)](_0x13b766);if(!_0x99b76)return!0x1;_0x99b76[_0x460977(0x333)](_0x1d6d4c,_0x5a3a95);const _0x15adad=_0x496a5d[_0x460977(0x28e)](_0x1ea4f3,_0x34e08f,_0x13b766);return ns(_0x15adad,_0x218bc3),_0x496a5d['addDirtyPivotTable']({'unitId':_0x1ea4f3,'subUnitId':_0x34e08f,'token':_0x13b766,'type':B[_0x460977(0x1d6)]}),!0x0;}},Wt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x231),'handler'(_0x551c2d,_0x512db6){const _0x1803d1=_0x4bc323;if(!_0x512db6)return!0x1;if(!!_0x551c2d[_0x1803d1(0x322)](_0x1edc63)[_0x1803d1(0x23e)](W))return!0x0;const _0xd9a1ec=_0x551c2d[_0x1803d1(0x322)](Q),{unitId:_0x2ae64b,subUnitId:_0x5c61a8,pivotTableId:_0x2ecffa,options:_0x26e3c7}=_0x512db6,_0x59d056=_0xd9a1ec[_0x1803d1(0x1e7)](_0x2ecffa);if(!_0x59d056)return!0x1;_0x59d056[_0x1803d1(0x12d)](_0x26e3c7);const _0x54c572=_0xd9a1ec[_0x1803d1(0x28e)](_0x2ae64b,_0x5c61a8,_0x2ecffa);return cs(_0x54c572,_0x512db6),_0xd9a1ec[_0x1803d1(0x2eb)]({'unitId':_0x2ae64b,'subUnitId':_0x5c61a8,'token':_0x2ecffa,'type':B[_0x1803d1(0x1d6)]}),!0x0;}},Zt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x315),'handler'(_0xa52c61,_0x10479d){const _0x48b4bd=_0x4bc323;if(!_0x10479d)return!0x1;if(!!_0xa52c61[_0x48b4bd(0x322)](_0x1edc63)[_0x48b4bd(0x23e)](W))return!0x0;const _0x18ebb7=_0xa52c61['get'](Q),{unitId:_0x2bd90d,subUnitId:_0x2ad914,pivotTableId:_0x3d584d,sortInfo:_0x2d311b,fieldId:_0x20fb20}=_0x10479d,_0x36d102=_0x18ebb7[_0x48b4bd(0x1e7)](_0x3d584d);if(!_0x36d102)return!0x1;_0x36d102[_0x48b4bd(0x266)](_0x20fb20,_0x2d311b);const _0x1b8fb6=_0x18ebb7[_0x48b4bd(0x28e)](_0x2bd90d,_0x2ad914,_0x3d584d);return ds(_0x1b8fb6,_0x10479d),_0x18ebb7[_0x48b4bd(0x2eb)]({'unitId':_0x2bd90d,'subUnitId':_0x2ad914,'token':_0x3d584d,'type':B[_0x48b4bd(0x1d6)]}),!0x0;}},Kt={'type':_0x5bc5f3['MUTATION'],'id':_0x4bc323(0x1c3),'handler'(_0x540f27,_0x20c892){const _0x2485f7=_0x4bc323;if(!_0x20c892)return!0x1;if(!!_0x540f27['get'](_0x1edc63)['getConfig'](W))return!0x0;const _0x179ddc=_0x540f27[_0x2485f7(0x322)](Q),{unitId:_0x543f44,subUnitId:_0x195528,pivotTableId:_0x262ab1,fieldId:_0xac59db,subtotalType:_0x599af7}=_0x20c892,_0x402fe5=_0x179ddc[_0x2485f7(0x1e7)](_0x262ab1);if(!_0x402fe5)return!0x1;_0x402fe5[_0x2485f7(0x2bc)](_0xac59db,_0x599af7);const _0x5b93c3=_0x179ddc['getPivotTableModelConfig'](_0x543f44,_0x195528,_0x262ab1);return ss(_0x5b93c3,_0x20c892),_0x179ddc[_0x2485f7(0x2eb)]({'unitId':_0x543f44,'subUnitId':_0x195528,'token':_0x262ab1,'type':B[_0x2485f7(0x1d6)]}),!0x0;}},qt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x220),'handler'(_0x29ce50,_0xfd26ab){const _0x1866d6=_0x4bc323;if(!_0xfd26ab)return!0x1;if(!!_0x29ce50[_0x1866d6(0x322)](_0x1edc63)[_0x1866d6(0x23e)](W))return!0x0;const _0x75853e=_0x29ce50[_0x1866d6(0x322)](Q),{unitId:_0xe30fa0,subUnitId:_0x18d308,pivotTableId:_0x2c5706,fieldId:_0x326ce9,filterInfo:_0x78cfc2}=_0xfd26ab,_0x1a14a5=_0x75853e[_0x1866d6(0x1e7)](_0x2c5706);if(!_0x1a14a5)return!0x1;_0x1a14a5[_0x1866d6(0x29b)](_0x326ce9,_0x78cfc2);const _0x3aaed8=_0x75853e[_0x1866d6(0x28e)](_0xe30fa0,_0x18d308,_0x2c5706);return is(_0x3aaed8,_0xfd26ab),_0x75853e[_0x1866d6(0x2eb)]({'unitId':_0xe30fa0,'subUnitId':_0x18d308,'token':_0x2c5706,'type':B[_0x1866d6(0x1d6)]}),!0x0;}},zt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x185),'handler'(_0x519e46,_0x89a6b3){const _0x5d6bdd=_0x4bc323;if(!_0x89a6b3)return!0x1;if(!!_0x519e46[_0x5d6bdd(0x322)](_0x1edc63)[_0x5d6bdd(0x23e)](W))return!0x0;const _0x310cdd=_0x519e46['get'](Q),{unitId:_0x162b18,subUnitId:_0x1ebd4d,pivotTableId:_0x4a0a47,area:_0x1c6107,index:_0xe2fb5e,fieldId:_0x239dcb}=_0x89a6b3,_0x662ac7=_0x310cdd[_0x5d6bdd(0x1e7)](_0x4a0a47);if(!_0x662ac7)return!0x1;_0x662ac7[_0x5d6bdd(0x17b)](_0x239dcb,_0x1c6107,_0xe2fb5e);const _0x1ff963=_0x310cdd['getPivotTableModelConfig'](_0x162b18,_0x1ebd4d,_0x4a0a47);return as(_0x1ff963,_0x89a6b3),_0x310cdd[_0x5d6bdd(0x2eb)]({'unitId':_0x162b18,'subUnitId':_0x1ebd4d,'token':_0x4a0a47,'type':B[_0x5d6bdd(0x1d6)]}),!0x0;}},Xt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x5ea95e,_0x53d064){const _0x11f15f=_0x4bc323;if(!_0x53d064)return!0x1;if(!!_0x5ea95e[_0x11f15f(0x322)](_0x1edc63)[_0x11f15f(0x23e)](W))return!0x0;const _0x443d83=_0x5ea95e[_0x11f15f(0x322)](Q),{unitId:_0x4d4cf2,subUnitId:_0x294488,pivotTableId:_0x462098,sourceName:_0x300514,dataFieldId:_0x7d8410,tableFieldId:_0x225109}=_0x53d064,_0x527ece=_0x443d83[_0x11f15f(0x1e7)](_0x462098);if(!_0x527ece)return!0x1;_0x527ece[_0x11f15f(0x2b0)](_0x225109,_0x300514,_0x7d8410);const _0x3ac5a3=_0x443d83['getPivotTableModelConfig'](_0x4d4cf2,_0x294488,_0x462098);return ls(_0x3ac5a3,_0x53d064),_0x443d83[_0x11f15f(0x2eb)]({'unitId':_0x4d4cf2,'subUnitId':_0x294488,'token':_0x462098,'type':B[_0x11f15f(0x1d6)]}),!0x0;}},eo={'type':_0x5bc5f3['MUTATION'],'id':_0x4bc323(0x1b9),'handler'(_0x5441b8,_0x2eb531){const _0x165bbf=_0x4bc323;if(!_0x2eb531)return!0x1;if(!!_0x5441b8[_0x165bbf(0x322)](_0x1edc63)[_0x165bbf(0x23e)](W))return!0x0;const _0x4154c9=_0x5441b8[_0x165bbf(0x322)](Q),{unitId:_0x4f680c,subUnitId:_0xbfd53d,pivotTableId:_0x4ad433,valuePosition:_0x5f09a8,index:_0x484fac}=_0x2eb531,_0x44c59f=_0x4154c9['getPivotTableInstance'](_0x4ad433);if(!_0x44c59f)return!0x1;_0x44c59f[_0x165bbf(0x349)](_0x5f09a8,_0x484fac);const _0x6a6cd7=_0x4154c9[_0x165bbf(0x28e)](_0x4f680c,_0xbfd53d,_0x4ad433);return rs(_0x6a6cd7,_0x2eb531),_0x4154c9[_0x165bbf(0x2eb)]({'unitId':_0x4f680c,'subUnitId':_0xbfd53d,'token':_0x4ad433,'type':B['Set']}),!0x0;}};function me(_0x3548a9,_0x454fa1,_0x48643f){const _0x2262a9=_0x4bc323,{pivotTableId:_0x2f3b38,unitId:_0x592b92,subUnitId:_0x47a488}=_0x454fa1,_0xf2cab=[],_0x38927c=[];for(const _0x10f33a of _0x48643f)switch(_0x10f33a[_0x2262a9(0x21d)]){case _0x4e2ec6[_0x2262a9(0x31d)]:{const {fieldJson:_0x2adc81,area:_0x3f5249,index:_0x4f1f10}=_0x10f33a,_0x505c85={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldJson':_0x2adc81,'area':_0x3f5249,'index':_0x4f1f10},_0x1dc969={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x2adc81['id'],'area':_0x3f5249,'index':_0x4f1f10};_0xf2cab[_0x2262a9(0x1b6)]({'id':Qt['id'],'params':_0x505c85}),_0x38927c[_0x2262a9(0x29f)]({'id':$t['id'],'params':_0x1dc969});}break;case _0x4e2ec6['SetSubtotalType']:{const {fieldId:_0x5cb9b0,newSubtotalType:_0x234cbe,oldSubtotalType:_0x4cb8be}=_0x10f33a,_0x2ed889={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x5cb9b0,'subtotalType':_0x234cbe};_0xf2cab['push']({'id':Kt['id'],'params':_0x2ed889});const _0x15216d={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x5cb9b0,'subtotalType':_0x4cb8be};_0x38927c[_0x2262a9(0x29f)]({'id':Kt['id'],'params':_0x15216d});}break;case _0x4e2ec6[_0x2262a9(0x276)]:{const {fieldId:_0x20f70f,fieldJson:_0x39afc4,area:_0x3f009e,index:_0x203e51}=_0x10f33a,_0x12c4e9={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x20f70f,'index':_0x203e51,'area':_0x3f009e};_0xf2cab['push']({'id':$t['id'],'params':_0x12c4e9});const _0x51715d={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldJson':_0x39afc4,'area':_0x3f009e,'index':_0x203e51};_0x38927c[_0x2262a9(0x29f)]({'id':Qt['id'],'params':_0x51715d});}break;case _0x4e2ec6['RenameField']:{const {fieldId:_0x56879a,oldName:_0x20912a,newName:_0x2e2d25}=_0x10f33a,_0x527a14={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x56879a,'name':_0x2e2d25};_0xf2cab[_0x2262a9(0x1b6)]({'id':Yt['id'],'params':_0x527a14});const _0x969bce={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x56879a,'name':_0x20912a};_0x38927c[_0x2262a9(0x29f)]({'id':Yt['id'],'params':_0x969bce});}break;case _0x4e2ec6['SetFilterInfo']:{const {fieldId:_0xcd26ea,oldFilterInfo:_0x1ef519,newFilterInfo:_0x9aa311}=_0x10f33a,_0x41f7b9={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0xcd26ea,'filterInfo':_0x9aa311};_0xf2cab[_0x2262a9(0x1b6)]({'id':Gt['id'],'params':_0x41f7b9});const _0x275782={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0xcd26ea,'filterInfo':_0x1ef519};_0x38927c[_0x2262a9(0x29f)]({'id':Gt['id'],'params':_0x275782});}break;case _0x4e2ec6[_0x2262a9(0x126)]:{const {fieldId:_0x26eb59,oldSortInfo:_0x120b63,newSortInfo:_0x5808c0}=_0x10f33a,_0x36222a={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x26eb59,'sortInfo':_0x5808c0};_0xf2cab[_0x2262a9(0x1b6)]({'id':Zt['id'],'params':_0x36222a});const _0x42c498={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x26eb59,'sortInfo':_0x120b63};_0x38927c[_0x2262a9(0x29f)]({'id':Zt['id'],'params':_0x42c498});}break;case _0x4e2ec6['SetOptions']:{const {oldOptions:_0x140e2d,newOptions:_0x392c53}=_0x10f33a,_0x189565={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'options':_0x392c53};_0xf2cab[_0x2262a9(0x1b6)]({'id':Wt['id'],'params':_0x189565});const _0x1f3693={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'options':_0x140e2d};_0x38927c[_0x2262a9(0x29f)]({'id':Wt['id'],'params':_0x1f3693});}break;case _0x4e2ec6['UpdateFieldPosition']:{const {oldArea:_0x3a7b07,newArea:_0x36855c,oldIndex:_0x4a323c,newIndex:_0x4d0e39,fieldId:_0x1ee50b}=_0x10f33a,_0x361310={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1ee50b,'area':_0x36855c,'index':_0x4d0e39,'oldArea':_0x3a7b07,'oldIndex':_0x4a323c};_0xf2cab['push']({'id':zt['id'],'params':_0x361310});const _0x4aa1e6={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1ee50b,'area':_0x3a7b07,'index':_0x4a323c,'oldArea':_0x36855c,'oldIndex':_0x4d0e39};_0x38927c[_0x2262a9(0x29f)]({'id':zt['id'],'params':_0x4aa1e6});}break;case _0x4e2ec6['UpdateValuePosition']:{const {oldValuePosition:_0x4b8e2c,newValuePosition:_0xc1a7f2,oldIndex:_0x523295,newIndex:_0x3207d3}=_0x10f33a,_0x2bd8e8={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'valuePosition':_0xc1a7f2,'index':_0x3207d3};_0xf2cab[_0x2262a9(0x1b6)]({'id':eo['id'],'params':_0x2bd8e8});const _0x2aca0a={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'valuePosition':_0x4b8e2c,'index':_0x523295};_0x38927c['unshift']({'id':eo['id'],'params':_0x2aca0a});}break;case _0x4e2ec6[_0x2262a9(0x16d)]:{const {fieldId:_0x59afa8,collapse:_0x294ae3,item:_0x1e10e9}=_0x10f33a,_0x2922cb={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x59afa8,'collapse':_0x294ae3,'item':_0x1e10e9};_0xf2cab['push']({'id':Jt['id'],'params':_0x2922cb});const _0x36320c={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x59afa8,'collapse':!_0x294ae3,'item':_0x1e10e9};_0x38927c[_0x2262a9(0x29f)]({'id':Jt['id'],'params':_0x36320c});}break;case _0x4e2ec6[_0x2262a9(0x1ff)]:{const {newFormat:_0x9e4aaf,oldFormat:_0x59dcfa,fieldId:_0x1bdd6e}=_0x10f33a,_0x3de89={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1bdd6e,'format':_0x9e4aaf};_0xf2cab[_0x2262a9(0x1b6)]({'id':jt['id'],'params':_0x3de89});const _0x5d1728={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1bdd6e,'format':_0x59dcfa};_0x38927c[_0x2262a9(0x29f)]({'id':jt['id'],'params':_0x5d1728});}break;case _0x4e2ec6[_0x2262a9(0x23f)]:{const {tableFieldId:_0x54cca7,oldSourceName:_0x229126,newSourceName:_0x556d86,oldDataFieldId:_0x4bf162,newDataFieldId:_0x47243e}=_0x10f33a,_0x15be1f={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'tableFieldId':_0x54cca7,'sourceName':_0x556d86,'dataFieldId':_0x47243e};_0xf2cab[_0x2262a9(0x1b6)]({'id':Xt['id'],'params':_0x15be1f});const _0x111301={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'tableFieldId':_0x54cca7,'sourceName':_0x229126,'dataFieldId':_0x4bf162};_0x38927c['unshift']({'id':Xt['id'],'params':_0x111301});}break;case _0x4e2ec6['SetValueFilter']:{const {fieldId:_0x1cb536,filterInfo:_0x3fb2a4,oldFilterInfo:_0x3c7d17}=_0x10f33a,_0x163e41={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1cb536,'filterInfo':_0x3fb2a4};_0xf2cab[_0x2262a9(0x1b6)]({'id':qt['id'],'params':_0x163e41});const _0x47cef2={'unitId':_0x592b92,'subUnitId':_0x47a488,'pivotTableId':_0x2f3b38,'fieldId':_0x1cb536,'filterInfo':_0x3c7d17};_0x38927c[_0x2262a9(0x29f)]({'id':qt['id'],'params':_0x47cef2});}}return{'redos':_0xf2cab,'undos':_0x38927c};}function _e(_0x57279a,_0x1fd097){const _0x43ac01=_0x4bc323;var _0x176a4c;const _0x27ed2b=_0x57279a[_0x43ac01(0x322)](ie),{cellInfo:_0x38c906,view:_0x3f7279,isEmpty:_0x1f6245}=_0x1fd097;return(_0x176a4c=_0x27ed2b[_0x43ac01(0x328)]['fetchThroughInterceptors'](Qo)(Po,{'cellInfo':_0x38c906,'view':_0x3f7279,'isEmpty':_0x1f6245}))!=null?_0x176a4c:Po;}const us=()=>typeof process<'u'&&process['versions']!=null&&process[_0x4bc323(0x182)]['node']!=null,Ct={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':'sheet.mutation.add-pivot-table','handler'(_0x1a50e2,_0x5e8ebe){const _0xfcffc1=_0x4bc323;var _0x18f370;if(!_0x5e8ebe)return!0x1;const _0x1b889b=_0x1a50e2[_0xfcffc1(0x322)](_0x1edc63);if(!!_0x1b889b['getConfig'](W))return!0x0;const _0x3a9ab6=_0x1a50e2[_0xfcffc1(0x322)](_0x39f700),_0x2fbaa2=_0x1a50e2[_0xfcffc1(0x322)](Q),{pivotTableId:_0x8c6455,pivotTableConfig:_0x559a02,collectionConfig:_0x2be56b,unitId:_0x2d409f,subUnitId:_0x1ca5ad}=_0x5e8ebe,{sourceRangeInfo:_0x2c7392,fieldsConfig:_0x50feb6,targetCellInfo:_0x44c560}=_0x559a02,_0x234d42=_0x3a9ab6['getUnit'](_0x2d409f);if(!_0x234d42||!_0x234d42[_0xfcffc1(0x198)](_0x1ca5ad))return!0x1;if(!us()){let _0x46bcaf=0x0;_0x234d42[_0xfcffc1(0x30d)]()['forEach'](_0x563774=>{const _0x2870a2=_0xfcffc1;var _0x2ddd94,_0x427f55;_0x46bcaf+=(_0x427f55=(_0x2ddd94=_0x2fbaa2[_0x2870a2(0x1cc)](_0x2d409f,_0x563774[_0x2870a2(0x218)]()))==null?void 0x0:_0x2ddd94[_0x2870a2(0x18d)])!=null?_0x427f55:0x0;});const _0x2a2b7b=(_0x18f370=_0x1b889b[_0xfcffc1(0x23e)](_0x163010))!=null?_0x18f370:{},{ls:_0x3c2e03,pbk:_0x4748bb}=_0x2a2b7b;if(!jo(_0x3c2e03,_0x4748bb))throw new _0x4e07f8('limit\x20pivot');const _0x200de1=go(so,_0x3c2e03,_0x4748bb)[_0xfcffc1(0x1c0)];if(_0x46bcaf>=_0x200de1)throw new _0x4e07f8('limit\x20pivot');}if(!_0x2be56b||!_0x50feb6)return!0x1;const {collection:_0x38da3d,updateDataFieldList:_0xf0919e}=_0x2fbaa2[_0xfcffc1(0x196)](_0x8c6455,_0x2be56b,_0x2c7392,_0x44c560);_0x2fbaa2[_0xfcffc1(0x265)](_0x38da3d,_0xf0919e,_0x2c7392);const _0x448eed=new _0x2cebe7(_0x38da3d,void 0x0,_0x8c6455);_0x448eed[_0xfcffc1(0x2ac)](_0x50feb6);const _0x42cf29=JSON['parse'](JSON[_0xfcffc1(0x26b)](_0x559a02));return _0x2fbaa2['addPivotTable'](_0x2d409f,_0x1ca5ad,_0x8c6455,_0x448eed,_0x42cf29),_0x2fbaa2[_0xfcffc1(0x2eb)]({'unitId':_0x2d409f,'subUnitId':_0x1ca5ad,'token':_0x8c6455,'type':B[_0xfcffc1(0xfc)],'pivotConfig':_0x42cf29}),!0x0;}},xt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x2dd),'handler'(_0x502708,_0xeec5c7){const _0xe8ef43=_0x4bc323;if(!_0xeec5c7)return!0x1;if(!!_0x502708[_0xe8ef43(0x322)](_0x1edc63)[_0xe8ef43(0x23e)](W))return!0x0;const {pivotTableId:_0x48edab,unitId:_0x1d2515,subUnitId:_0x3db4c7}=_0xeec5c7,_0x507fb6=_0x502708[_0xe8ef43(0x322)](Q);return _0x507fb6[_0xe8ef43(0x365)](_0x1d2515,_0x3db4c7,_0x48edab)?(_0x507fb6[_0xe8ef43(0x2eb)]({'unitId':_0x1d2515,'subUnitId':_0x3db4c7,'token':_0x48edab,'type':B[_0xe8ef43(0x226)]}),_0x507fb6[_0xe8ef43(0x125)](_0x1d2515,_0x3db4c7,_0x48edab),!0x0):!0x1;}},pt={'type':_0x5bc5f3[_0x4bc323(0x284)],'id':_0x4bc323(0x258),'handler'(_0x13711a,_0x296e9f){const _0x33efcf=_0x4bc323;if(!_0x296e9f)return!0x1;if(!!_0x13711a[_0x33efcf(0x322)](_0x1edc63)[_0x33efcf(0x23e)](W))return!0x0;const {pivotTableId:_0x430d0f,targetCellPosition:_0x10bcea,unitId:_0x213056,subUnitId:_0xc76331}=_0x296e9f,_0x22417c=_0x13711a['get'](Q);if(!_0x22417c[_0x33efcf(0x1e7)](_0x296e9f[_0x33efcf(0x13c)]))return!0x1;const _0x5ec8c9=_0x22417c[_0x33efcf(0x30c)](_0x430d0f);if(!_0x5ec8c9)return!0x1;const _0x1d96a9=_0x22417c[_0x33efcf(0x348)](_0x5ec8c9['unitId'],_0x296e9f['pivotTableId']);if(!_0x1d96a9)return!0x1;const _0x220fd0=_0x22417c[_0x33efcf(0x365)](_0x5ec8c9[_0x33efcf(0x1bf)],_0x5ec8c9['subUnitId'],_0x430d0f);if(!_0x220fd0)return!0x1;const _0x3eede6=_0x8069d7[_0x33efcf(0x263)](_0x220fd0);_0x3eede6[_0x33efcf(0x16a)]={'unitId':_0x213056,'subUnitId':_0xc76331,'row':_0x10bcea[_0x33efcf(0x323)],'col':_0x10bcea[_0x33efcf(0x26e)]};const _0x459d24=_0x1d96a9[_0x33efcf(0x19a)]();if(_0x5ec8c9['subUnitId']===_0xc76331&&_0x5ec8c9[_0x33efcf(0x1bf)]===_0x213056)_0x22417c[_0x33efcf(0x121)](_0x213056,_0xc76331,_0x430d0f,_0x3eede6),_0x22417c[_0x33efcf(0x2eb)]({'unitId':_0x213056,'subUnitId':_0xc76331,'token':_0x430d0f,'type':B[_0x33efcf(0x1d6)]});else{_0x22417c[_0x33efcf(0x2eb)]({'unitId':_0x5ec8c9['unitId'],'subUnitId':_0x5ec8c9['subUnitId'],'token':_0x430d0f,'type':B[_0x33efcf(0x226)]}),_0x22417c[_0x33efcf(0x125)](_0x5ec8c9[_0x33efcf(0x1bf)],_0x5ec8c9[_0x33efcf(0x1e0)],_0x430d0f);const _0x28179f=_0x22417c[_0x33efcf(0x196)](_0x430d0f,_0x459d24,_0x220fd0[_0x33efcf(0x2d0)],_0x3eede6['targetCellInfo']),_0x115633=new _0x2cebe7(_0x28179f[_0x33efcf(0x30e)],void 0x0,_0x430d0f);_0x115633[_0x33efcf(0x2ac)](_0x3eede6[_0x33efcf(0xf4)]),_0x22417c[_0x33efcf(0x2f9)](_0x213056,_0xc76331,_0x430d0f,_0x115633,_0x3eede6),_0x22417c[_0x33efcf(0x2eb)]({'unitId':_0x213056,'subUnitId':_0xc76331,'token':_0x430d0f,'type':B[_0x33efcf(0xfc)],'pivotConfig':_0x3eede6});}return!0x0;}},to={'type':_0x5bc5f3['MUTATION'],'id':_0x4bc323(0x224),'handler'(_0x157097,_0x345d7a){const _0x1ded37=_0x4bc323;if(!_0x345d7a)return!0x1;if(!!_0x157097[_0x1ded37(0x322)](_0x1edc63)[_0x1ded37(0x23e)](W))return!0x0;const _0xe0150c=_0x157097[_0x1ded37(0x322)](Q),{pivotTableId:_0x48c482,deleteIds:_0x3ab0a5,collectionJSON:_0x1c171a,dataRangeInfo:_0x42a936,unitId:_0x5a8cb5,subUnitId:_0x2c55bf}=_0x345d7a,_0x4087d9=_0xe0150c[_0x1ded37(0x1e7)](_0x48c482),_0x48cb6a=_0xe0150c[_0x1ded37(0x365)](_0x5a8cb5,_0x2c55bf,_0x48c482);if(!_0x4087d9||!_0x48cb6a)return!0x1;const {collection:_0x5795af,updateDataFieldList:_0x2309c5}=_0xe0150c[_0x1ded37(0x196)](_0x48c482,_0x1c171a,_0x42a936,_0x48cb6a[_0x1ded37(0x16a)]);_0xe0150c[_0x1ded37(0x265)](_0x5795af,_0x2309c5,_0x42a936),_0x4087d9['updateDataFieldsCollection'](_0x5795af);for(const _0x48c52f of _0x3ab0a5)_0xe0150c[_0x1ded37(0x25b)](_0x42a936['unitId'],_0x48c52f);const _0x443f19=_0xe0150c['getPivotTableConfig'](_0x5a8cb5,_0x2c55bf,_0x48c482);return _0x443f19[_0x1ded37(0x2d0)]=JSON[_0x1ded37(0x177)](JSON[_0x1ded37(0x26b)](_0x42a936)),_0xe0150c[_0x1ded37(0x2eb)]({'unitId':_0x5a8cb5,'subUnitId':_0x2c55bf,'token':_0x48c482,'type':B[_0x1ded37(0x1d6)]}),!0x0;}},Nt={'type':_0x5bc5f3['MUTATION'],'id':_0x4bc323(0x201),'handler'(){return!0x0;}};var fs=Object[_0x4bc323(0x1fc)],gs=(_0x3c76ac,_0x957974,_0x1d32f8,_0x3fe590)=>{const _0x4fe83c=_0x4bc323;for(var _0x2bff0b=_0x3fe590>0x1?void 0x0:_0x3fe590?fs(_0x957974,_0x1d32f8):_0x957974,_0x11fc90=_0x3c76ac[_0x4fe83c(0x352)]-0x1,_0x28bb92;_0x11fc90>=0x0;_0x11fc90--)(_0x28bb92=_0x3c76ac[_0x11fc90])&&(_0x2bff0b=_0x28bb92(_0x2bff0b)||_0x2bff0b);return _0x2bff0b;},wo=(_0x2f44f7,_0x51bb6b)=>(_0x4d6d52,_0x101c4f)=>_0x51bb6b(_0x4d6d52,_0x101c4f,_0x2f44f7);let X=class extends _0x2e1b8a{constructor(_0x324fcc,_0x484b13){const _0x100b77=_0x4bc323;super(),V(this,'_requestResolvers',new Map()),(this[_0x100b77(0x150)]=_0x324fcc,this['_commandService']=_0x484b13);}['handleAsyncResponse'](_0x133894){const _0x34721a=_0x4bc323,{version:_0x1a0aa0}=_0x133894,_0x4072a0=this[_0x34721a(0x1b5)]['get'](_0x1a0aa0);_0x4072a0&&(_0x4072a0(_0x133894),this[_0x34721a(0x1b5)]['delete'](_0x1a0aa0));}[_0x4bc323(0x2d7)](_0x7fc164){return new Promise((_0x4952d0,_0x306613)=>{const _0x3266e0=_0x3d26,_0x1ab40c=this[_0x3266e0(0xf8)]();this[_0x3266e0(0x1b5)]['set'](_0x1ab40c,_0x4952d0),this['_commandService'][_0x3266e0(0x225)](ro['id'],{'version':_0x1ab40c,..._0x7fc164},{'onlyLocal':!0x0});});}[_0x4bc323(0xf8)](){const _0x43b83e=_0x4bc323;return Math[_0x43b83e(0x2ab)]()[_0x43b83e(0x332)](0x24)[_0x43b83e(0x157)](0x2,0x10);}};X=gs([wo(0x0,_0x3bbbb8(_0x2bd25b)),wo(0x1,_0x3bbbb8(_0xcd8e3b))],X);const Ko={'id':'sheet.mutation.add-group-collection','type':_0x5bc5f3[_0x4bc323(0x284)],'handler':(_0x4edd81,_0x4e8633)=>{const _0x28cfc2=_0x4bc323;if(!_0x4e8633)return!0x1;if(!!_0x4edd81['get'](_0x1edc63)[_0x28cfc2(0x23e)](W))return!0x0;const {pivotTableId:_0x50bbab,fieldJSON:_0x11ca26,unitId:_0x1a6a3a,subUnitId:_0x24efc4}=_0x4e8633,_0x7e37c2=_0x2550e6[_0x28cfc2(0x2ac)](_0x11ca26);if(!_0x7e37c2)return!0x1;const _0x5f52f2=_0x4edd81[_0x28cfc2(0x322)](Q),_0x533666=_0x5f52f2[_0x28cfc2(0x11e)](_0x1a6a3a),_0x10354b=_0x533666[_0x28cfc2(0x348)](_0x50bbab);_0x533666['addDataFieldWithoutUnitInfo'](_0x7e37c2),_0x10354b[_0x28cfc2(0x251)](_0x7e37c2[_0x28cfc2(0x205)](),_0x7e37c2[_0x28cfc2(0x34b)]());const _0x477f8f=_0x10354b[_0x28cfc2(0x1e9)](_0x7e37c2[_0x28cfc2(0x367)]());_0x477f8f&&_0x7e37c2[_0x28cfc2(0x209)](_0x477f8f);const _0x54ccb9=_0x5f52f2[_0x28cfc2(0x365)](_0x1a6a3a,_0x24efc4,_0x50bbab);return _0x5f52f2['addDirtyPivotTable']({'unitId':_0x1a6a3a,'subUnitId':_0x24efc4,'token':_0x50bbab,'type':B[_0x28cfc2(0x1d6)],'pivotConfig':_0x54ccb9}),!0x0;}},qo={'id':_0x4bc323(0x131),'type':_0x5bc5f3['MUTATION'],'handler':(_0x458767,_0x22378e)=>{const _0x1fb02e=_0x4bc323;if(!_0x22378e)return!0x1;if(!!_0x458767['get'](_0x1edc63)[_0x1fb02e(0x23e)](W))return!0x0;const {pivotTableId:_0x51f75e,dataFieldId:_0x56c3da,unitId:_0x5264a7,subUnitId:_0x34254b}=_0x22378e,_0x1fa4f4=_0x458767['get'](Q),_0x542677=_0x1fa4f4[_0x1fb02e(0x11e)](_0x5264a7);_0x542677[_0x1fb02e(0x348)](_0x51f75e)[_0x1fb02e(0x115)](_0x56c3da);let _0x93fbdf=!0x0;for(const _0x1a5db1 in _0x542677[_0x1fb02e(0x1b2)])if(_0x542677[_0x1fb02e(0x1b2)][_0x1a5db1]['getFieldIds']()[_0x1fb02e(0x1d2)](_0x56c3da)){_0x93fbdf=!0x1;break;}_0x93fbdf&&_0x542677[_0x1fb02e(0x264)](_0x56c3da);const _0x4b66eb=_0x1fa4f4[_0x1fb02e(0x365)](_0x5264a7,_0x34254b,_0x51f75e);return _0x1fa4f4[_0x1fb02e(0x2eb)]({'unitId':_0x5264a7,'subUnitId':_0x34254b,'token':_0x51f75e,'type':B[_0x1fb02e(0x1d6)],'pivotConfig':_0x4b66eb}),!0x0;}},vs={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x2a0),async 'handler'(_0x1ee720,_0x307a3c){const _0x214282=_0x4bc323;if(!_0x307a3c)return!0x1;const _0x25ff77=_0x1ee720[_0x214282(0x322)](_0xcd8e3b),_0x14df5b=_0x1ee720[_0x214282(0x322)](X),_0x45420e=_0x1ee720[_0x214282(0x322)](_0x508f8f),{pivotTableId:_0x5df79b,dataFieldId:_0x4b02c5,fieldArea:_0x50cf32,index:_0x2766aa,unitId:_0x262df0,subUnitId:_0xcebbbe}=_0x307a3c,_0x1233a8=(await _0x14df5b[_0x214282(0x2d7)]({'unitId':_0x262df0,'subUnitId':_0xcebbbe,'pivotTableId':_0x5df79b,'params':{'type':k[_0x214282(0x2c8)],'addPivotField':{'dataFieldId':_0x4b02c5,'fieldArea':_0x50cf32,'index':_0x2766aa}}}))[_0x214282(0x2c4)][_0x214282(0x14d)];if(!_0x1233a8)return!0x1;const {view:_0x4f4f1c,changesets:_0x21267c,isEmpty:_0x91042f,pivotTableConfig:_0xcf4ac2,shouldBeAddedGroupJSON:_0xb79dee}=_0x1233a8,_0x17c8e8=_0xcf4ac2['targetCellInfo'],_0x3e57fd=new _0x1233ce();_0x3e57fd['formJSON'](_0x4f4f1c);const _0x23f14e={'cellInfo':_0x17c8e8,'view':_0x3e57fd,'isEmpty':_0x91042f};if(!await _0x1ee720[_0x214282(0x322)](ie)[_0x214282(0x1fa)][_0x214282(0x190)](be)(!0x0,_0x23f14e))return!0x1;const _0x285601=we(_0x1ee720,_0x3e57fd,_0x17c8e8,_0x91042f),_0x1946b8=_e(_0x1ee720,_0x23f14e),{undos:_0xc8503,redos:_0xb6e657}=me(_0x25ff77,{'pivotTableId':_0x5df79b,'unitId':_0x262df0,'subUnitId':_0xcebbbe},_0x21267c);return _0xb79dee&&(_0xb6e657['unshift']({'id':Ko['id'],'params':{'pivotTableId':_0x5df79b,'fieldJSON':_0xb79dee,'unitId':_0x262df0,'subUnitId':_0xcebbbe}}),_0xc8503[_0x214282(0x1b6)]({'id':qo['id'],'params':{'pivotTableId':_0x5df79b,'dataFieldId':_0xb79dee['id'],'unitId':_0x262df0,'subUnitId':_0xcebbbe}})),_0x32d329([..._0x285601['redos'],..._0x1946b8[_0x214282(0x335)],..._0xb6e657],_0x25ff77),_0x45420e[_0x214282(0x213)]({'unitID':_0x262df0,'redoMutations':[..._0x285601['redos'],..._0x1946b8[_0x214282(0x335)],..._0xb6e657],'undoMutations':[..._0x285601[_0x214282(0x2d4)],..._0x1946b8[_0x214282(0x2d4)],..._0xc8503]}),!0x0;}},hs={'type':_0x5bc5f3['COMMAND'],'id':_0x4bc323(0x13e),async 'handler'(_0x3b3065,_0x5f2a96){const _0x4f669d=_0x4bc323;if(!_0x5f2a96)return!0x1;const {sourceDataInfo:_0x183c69,pivotTableConfig:_0x4ece38}=_0x5f2a96;if(!_0x183c69||!_0x4ece38)return!0x1;const {unitId:_0x2c0361,subUnitId:_0x534ccc,range:_0xe155b8}=_0x183c69,_0x345209=_0x3b3065['get'](_0x39f700),_0x368c14=_0x3b3065['get'](X),_0xcd99a7=_0x3b3065['get'](_0x4000e6),_0x5a0174=_0x3b3065[_0x4f669d(0x322)](_0xcd8e3b),_0x7db0c0=_0x345209[_0x4f669d(0x19c)](_0x2c0361);if(!_0x7db0c0)return!0x1;const _0x329ee3=_0x7db0c0['getSheetBySheetId'](_0x534ccc);if(!_0x329ee3)return!0x1;const _0x3df8b1=_0x1e548a(0x8),_0x1dcc5f=_0xe155b8||{'startRow':0x0,'startColumn':0x0,'endRow':_0x329ee3[_0x4f669d(0x356)]()-0x1,'endColumn':_0x329ee3['getColumnCount']()-0x1};_0x1dcc5f['rangeType']=_0x5f1937[_0x4f669d(0x307)];const _0x39252c=(await _0x368c14['getPivotDisplayConfig']({'unitId':_0x2c0361,'subUnitId':_0x534ccc,'pivotTableId':_0x3df8b1,'params':{'type':k[_0x4f669d(0x1d9)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2c0361,'sheetName':_0x329ee3[_0x4f669d(0x34b)](),'subUnitId':_0x534ccc,'range':_0x1dcc5f},'pivotTableId':_0x3df8b1,'pivotTableIndexConfig':_0x4ece38}}}))[_0x4f669d(0x2c4)][_0x4f669d(0x166)];if(!_0x39252c)return!0x1;const {isEmpty:_0x579df5,fieldsConfig:_0x403e4c,collectionConfig:_0x22296b,changesets:_0xce8c99}=_0x39252c,_0x1a63a9=_0x7db0c0[_0x4f669d(0x30d)]()['length'],_0xda80a1=_0x23935b({'rowCount':_0x329ee3[_0x4f669d(0x356)]()-0x1,'columnCount':_0x329ee3[_0x4f669d(0x2a4)]()-0x1});_0xda80a1['id']=_0xd9981d(),_0xda80a1[_0x4f669d(0x2c6)]=_0x7db0c0[_0x4f669d(0x194)](''+_0xcd99a7['t'](_0x4f669d(0x206)));const _0x718911={'index':_0x1a63a9,'sheet':_0xda80a1,'unitId':_0x2c0361},{redos:_0x3f1001}=me(_0x5a0174,{'pivotTableId':_0x3df8b1,'unitId':_0x2c0361,'subUnitId':_0xda80a1['id']},_0xce8c99),_0x9b735b=[{'id':_0x3f61f5['id'],'params':_0x718911},{'id':Ct['id'],'params':{'unitId':_0x2c0361,'subUnitId':_0xda80a1['id'],'pivotTableId':_0x3df8b1,'pivotTableConfig':{'isEmpty':_0x579df5,'fieldsConfig':_0x403e4c,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2c0361,'subUnitId':_0xda80a1['id']},'sourceRangeInfo':{'subUnitId':_0x534ccc,'unitId':_0x2c0361,'range':_0x1dcc5f,'sheetName':_0x329ee3[_0x4f669d(0x34b)]()}},'collectionConfig':_0x22296b}},..._0x3f1001];return _0x32d329(_0x9b735b,_0x5a0174),!0x0;}},ps={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x2bd),async 'handler'(_0x4bdd31,_0x2cf77f){const _0x2c3708=_0x4bc323;var _0x42c618,_0x4c5402;const _0x2c9100=_0x4bdd31[_0x2c3708(0x322)](_0xcd8e3b),_0x51f033=_0x4bdd31[_0x2c3708(0x322)](_0x39f700),_0x3d6647=_0x4bdd31[_0x2c3708(0x322)](_0x4000e6),_0x8fd3f4=_0x4bdd31[_0x2c3708(0x322)](X),_0x18619a=_0x4bdd31[_0x2c3708(0x322)](_0x508f8f),_0x58efde=_0x4bdd31[_0x2c3708(0x322)](he),_0x4da2ad=_0x4bdd31[_0x2c3708(0x322)](_0x1edc63);if(!_0x2cf77f)return!0x1;const {pivotTableConfig:_0x129ca2,positionType:_0xdebf8d}=_0x2cf77f,{targetCellInfo:_0x710920,sourceRangeInfo:_0x53ccce}=_0x129ca2,{unitId:_0x97b61,subUnitId:_0xa42702}=_0x710920,_0xd6f5f0=_0x51f033['getUnit'](_0x97b61);if(!_0xd6f5f0)return!0x1;let _0xd5a356=0x0;_0xd6f5f0['getSheets']()[_0x2c3708(0x1f4)](_0x51fe18=>{const _0x4122ef=_0x2c3708;var _0x507d62,_0x528187;_0xd5a356+=(_0x528187=(_0x507d62=_0x58efde[_0x4122ef(0x1cc)](_0x97b61,_0x51fe18[_0x4122ef(0x218)]()))==null?void 0x0:_0x507d62[_0x4122ef(0x18d)])!=null?_0x528187:0x0;});const _0x415196=(_0x42c618=_0x4da2ad['getConfig'](_0x163010))!=null?_0x42c618:{},{ls:_0x3f7eed,pbk:_0x5c724a}=_0x415196;if(!jo(_0x3f7eed,_0x5c724a))return!0x1;const _0x48ca8d=go(so,_0x3f7eed,_0x5c724a)[_0x2c3708(0x1c0)];if(_0xd5a356>=_0x48ca8d)return!0x1;const _0x33c3f8=_0x2cf77f[_0x2c3708(0x13c)]||_0x1e548a(0x8),_0x40b6e2=(await _0x8fd3f4['getPivotDisplayConfig']({'unitId':_0x97b61,'subUnitId':_0xa42702,'pivotTableId':_0x33c3f8,'params':{'type':k[_0x2c3708(0x1c5)],'addPivotTable':{'sourceRangeInfo':_0x53ccce,'pivotTableId':_0x33c3f8}}}))[_0x2c3708(0x2c4)]['addPivotTable'];if(!_0x40b6e2)return!0x1;const {view:_0x533637,isEmpty:_0x588f2d,fieldsConfig:_0x392552,collectionConfig:_0x316b83}=_0x40b6e2,_0x22fac8=[],_0x5b80c6=[];if(_0xdebf8d===Ho[_0x2c3708(0x2d6)]){const _0x1c891c=_0xd6f5f0[_0x2c3708(0x30d)]()[_0x2c3708(0x352)],_0x3875c8=_0x23935b({});_0x3875c8['id']=_0x129ca2['targetCellInfo'][_0x2c3708(0x1e0)],_0x3875c8[_0x2c3708(0x2c6)]=(_0x4c5402=_0x129ca2[_0x2c3708(0x16a)][_0x2c3708(0x113)])!=null?_0x4c5402:_0xd6f5f0[_0x2c3708(0x194)](''+_0x3d6647['t']('sheets.tabs.sheet'));const _0x311685={'index':_0x1c891c,'sheet':_0x3875c8,'unitId':_0x97b61},_0x2c185b=_0x3b8811(_0x4bdd31,_0x311685);_0x22fac8[_0x2c3708(0x1b6)]({'id':_0xf6a0db['id'],'params':_0x2c185b}),_0x5b80c6['push']({'id':_0x1a279['id'],'params':_0x311685});}else{if(!_0xd6f5f0[_0x2c3708(0x198)](_0xa42702))return!0x1;const _0x101ff6=we(_0x4bdd31,new _0x1233ce(),_0x710920,!0x0);_0x5b80c6[_0x2c3708(0x1b6)](..._0x101ff6[_0x2c3708(0x335)]),_0x22fac8['push'](..._0x101ff6[_0x2c3708(0x2d4)]);const _0x2ff73e={'cellInfo':_0x710920,'view':_0x533637,'isEmpty':_0x588f2d};if(!await _0x4bdd31[_0x2c3708(0x322)](ie)['asyncInterceptor'][_0x2c3708(0x190)](be)(!0x0,_0x2ff73e))return!0x1;const _0x1493cb=_e(_0x4bdd31,_0x2ff73e);_0x5b80c6[_0x2c3708(0x1b6)](..._0x1493cb[_0x2c3708(0x335)]),_0x22fac8[_0x2c3708(0x1b6)](..._0x1493cb['undos']);}return _0x5b80c6['push']({'id':Ct['id'],'params':{'unitId':_0x710920[_0x2c3708(0x1bf)],'subUnitId':_0x710920['subUnitId'],'pivotTableId':_0x33c3f8,'pivotTableConfig':{'targetCellInfo':_0x710920,'sourceRangeInfo':_0x53ccce,'fieldsConfig':_0x392552},'collectionConfig':_0x316b83}}),_0x22fac8[_0x2c3708(0x29f)]({'id':xt['id'],'params':{'unitId':_0x97b61,'subUnitId':_0xa42702,'pivotTableId':_0x33c3f8}}),_0x32d329(_0x5b80c6,_0x2c9100)&&_0x18619a[_0x2c3708(0x213)]({'unitID':_0x97b61,'undoMutations':_0x22fac8,'redoMutations':_0x5b80c6}),!0x0;}},ms={'type':_0x5bc5f3['COMMAND'],'id':_0x4bc323(0x1c1),async 'handler'(_0x5460fa,_0x5c3ead){const _0x51cdcf=_0x4bc323;if(!_0x5c3ead)return!0x1;const _0xf09878=_0x5460fa[_0x51cdcf(0x322)](_0xcd8e3b),_0x5d69eb=_0x5460fa['get'](X),_0x1f3766=_0x5460fa[_0x51cdcf(0x322)](_0x508f8f),{pivotTableId:_0x5737aa,fieldId:_0x4d2636,area:_0x1cac05,index:_0x164ed4,unitId:_0x56ffde,subUnitId:_0x2294f9}=_0x5c3ead,_0x5b5e9a=(await _0x5d69eb[_0x51cdcf(0x2d7)]({'unitId':_0x56ffde,'subUnitId':_0x2294f9,'pivotTableId':_0x5737aa,'params':{'type':k[_0x51cdcf(0x2ad)],'movePivotField':{'fieldId':_0x4d2636,'area':_0x1cac05,'index':_0x164ed4}}}))[_0x51cdcf(0x2c4)][_0x51cdcf(0x1a7)];if(!_0x5b5e9a)return!0x1;const {changesets:_0xc40f42,view:_0x42196e,isEmpty:_0x230966,pivotTableConfig:_0x1722b1}=_0x5b5e9a,_0x272943=_0x1722b1[_0x51cdcf(0x16a)],_0x53e8b1=new _0x1233ce();_0x53e8b1[_0x51cdcf(0x28c)](_0x42196e);const _0x268a66={'cellInfo':_0x272943,'view':_0x53e8b1,'isEmpty':_0x230966};if(!await _0x5460fa[_0x51cdcf(0x322)](ie)['asyncInterceptor'][_0x51cdcf(0x190)](be)(!0x0,_0x268a66))return!0x1;const _0x338176=we(_0x5460fa,_0x53e8b1,_0x272943,_0x230966),_0x2cbdb2=_e(_0x5460fa,_0x268a66),{redos:_0x55110e,undos:_0x2088aa}=me(_0xf09878,{'pivotTableId':_0x5737aa,'unitId':_0x56ffde,'subUnitId':_0x2294f9},_0xc40f42);return _0x32d329([..._0x338176[_0x51cdcf(0x335)],..._0x2cbdb2[_0x51cdcf(0x335)],..._0x55110e],_0xf09878),_0x1f3766[_0x51cdcf(0x213)]({'unitID':_0x56ffde,'redoMutations':[..._0x338176[_0x51cdcf(0x335)],..._0x2cbdb2[_0x51cdcf(0x335)],..._0x55110e],'undoMutations':[..._0x338176[_0x51cdcf(0x2d4)],..._0x2cbdb2[_0x51cdcf(0x2d4)],..._0x2088aa]}),!0x0;}},Is={'type':_0x5bc5f3['COMMAND'],'id':_0x4bc323(0x343),async 'handler'(_0x132ad6,_0x2392fb){const _0x21254b=_0x4bc323;var _0x4772ad;if(!_0x2392fb)return!0x1;const _0x3a84e7=_0x132ad6['get'](_0x39f700),_0x5704e9=_0x2d9c39(_0x3a84e7);if(!_0x5704e9)return!0x1;const {unitId:_0x57e1fd,subUnitId:_0x3be42e,workbook:_0x3a2d6b}=_0x5704e9,{row:_0x2b8e16,col:_0x59b9cc}=_0x2392fb,_0x317bb3=_0x132ad6[_0x21254b(0x322)](Ue),_0x3b655a=_0x317bb3[_0x21254b(0x139)](_0x57e1fd,_0x3be42e,_0x2b8e16,_0x59b9cc);if(!_0x3b655a)return!0x1;const _0x532cf8=(_0x4772ad=_0x317bb3['getPivotItemRenderInfoCache'](_0x57e1fd,_0x3be42e,_0x3b655a))==null?void 0x0:_0x4772ad['areaInfo'];if(!_0x532cf8)return!0x1;const _0x567f21=_0x132ad6[_0x21254b(0x322)](he)[_0x21254b(0x365)](_0x57e1fd,_0x3be42e,_0x3b655a);if(!_0x567f21)return!0x1;const {rowInfo:_0x5d5839,colInfo:_0xc8ba7}=_0x532cf8,_0x5cff1a=_0x5d5839[_0x2b8e16][_0x21254b(0xe3)],_0x528a35=_0xc8ba7[_0x59b9cc]['paths'],_0x5860db=_0x5d5839[_0x2b8e16]['level'],_0x221818=_0xc8ba7[_0x59b9cc][_0x21254b(0x203)],_0x5672c3=_0x5cff1a[_0x21254b(0x21a)](_0x528a35),_0x200ece=_0x567f21['fieldsConfig'][_0x21254b(0x21b)][_0x21254b(0x346)](0x0,_0x5860db),_0x359f28=_0x567f21[_0x21254b(0xf4)][_0x21254b(0x232)][_0x21254b(0x346)](0x0,_0x221818),_0x41d76e=_0x200ece['concat'](_0x359f28),_0x3e7945=_0x5672c3[_0x21254b(0x24f)]((_0x5e54e3,_0x2760dc)=>[_0x5e54e3,_0x41d76e[_0x2760dc]]),_0x62fd1f=(await _0x132ad6[_0x21254b(0x322)](X)[_0x21254b(0x2d7)]({'unitId':_0x57e1fd,'subUnitId':_0x3be42e,'pivotTableId':_0x3b655a,'params':{'type':k[_0x21254b(0x259)],'drillDown':{'tuple':_0x3e7945}}}))['result'][_0x21254b(0x35c)];if(!_0x62fd1f)return!0x1;const {indexes:_0xe96a40,range:_0x15e36f,sourceUnitId:_0x5c7390,sourceSubUnitId:_0x14b548,formatMap:_0x77444b}=_0x62fd1f,{startRow:_0xc453d,endRow:_0x2dc1cb,startColumn:_0x1e38e4,endColumn:_0xa9a8fb}=_0x15e36f,_0x504063=new _0xfe6c88(),_0x1bd05=_0x2dc1cb-_0xc453d,_0x4617d4=_0xa9a8fb-_0x1e38e4,_0x271787={},_0x3e17da=_0x2d9c39(_0x3a84e7,{'unitId':_0x5c7390,'subUnitId':_0x14b548});if(!_0x3e17da)return!0x1;const _0xbdfb33=fe[_0x21254b(0x29e)],_0x4ba03c=fe[_0x21254b(0x140)],_0x5ac15b=fe[_0x21254b(0x140)],_0x540424=_0x3a2d6b[_0x21254b(0x124)]()['setValue'](_0xbdfb33),_0x1fe17a=_0x3a2d6b['getStyles']()[_0x21254b(0x15e)](_0x4ba03c),_0x435c36=_0x3a2d6b[_0x21254b(0x124)]()[_0x21254b(0x15e)](_0x5ac15b),{worksheet:_0x46e791}=_0x3e17da;let _0x348e11=0x0;const _0x771f93=0x1;_0xe96a40[_0x21254b(0x1f4)](_0x2b7964=>{const _0x12a58a=_0x21254b;for(let _0x8b1f7=0x0;_0x8b1f7<=_0xa9a8fb-_0x1e38e4;_0x8b1f7++)_0x504063[_0x12a58a(0x15e)](_0x348e11,_0x8b1f7,_0x46e791[_0x12a58a(0x15c)](_0x2b7964+_0x15e36f['startRow']+_0x771f93,_0x8b1f7));_0x348e11++;});for(let _0x789106=_0x1e38e4;_0x789106<=_0xa9a8fb;_0x789106++){const _0x5c66b8=_0x46e791[_0x21254b(0x15c)](_0xc453d,_0x789106);_0x271787[_0xc453d]||(_0x271787[_0xc453d]={}),_0x271787[_0xc453d][_0x789106]={..._0x5c66b8,'s':_0x540424};}let _0x26d257=0x1;const _0x533cf6={},_0x9e650b={};_0x504063['forRow']((_0x6ff35,_0x4c56f9)=>{const _0x35b216=_0x21254b;_0x4c56f9[_0x35b216(0x1f4)](_0x25adc6=>{const _0x599515=_0x35b216,_0x255551=_0x504063[_0x599515(0x32a)](_0x6ff35,_0x25adc6);if(_0x271787[_0x26d257]||(_0x271787[_0x26d257]={}),_0x271787[_0x26d257][_0x25adc6]={..._0x255551,'s':_0x26d257%0x2===0x0?_0x435c36:_0x1fe17a},_0x77444b[_0x25adc6]&&_0x6ff35>=0x0){const _0xa216dd=_0x26d257%0x2===0x0;let _0x478f86=_0xa216dd?_0x9e650b[_0x25adc6]:_0x533cf6[_0x25adc6];_0x478f86||(_0x478f86=_0x3a2d6b['getStyles']()['setValue']({..._0xa216dd?_0x5ac15b:_0x4ba03c,'n':{'pattern':_0x77444b[_0x25adc6]}}),_0xa216dd?_0x9e650b[_0x25adc6]=_0x478f86:_0x533cf6[_0x25adc6]=_0x478f86),_0x271787[_0x26d257][_0x25adc6]['s']=_0x478f86;}}),_0x26d257++;});const _0x33a835=new _0xfe6c88(_0x271787),_0xc92a63={};_0x33a835[_0x21254b(0x2b9)]((_0x2b8247,_0x4160e7,_0x65e8a0)=>{_0xc92a63[_0x2b8247]||(_0xc92a63[_0x2b8247]={}),_0xc92a63[_0x2b8247][_0x4160e7]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x188613=[],_0x56984f=[],_0x18492f=_0x3a2d6b[_0x21254b(0x30d)]()[_0x21254b(0x352)],_0x42a659=_0x23935b({'rowCount':Math['max'](_0x54de5b,_0x1bd05+0xa),'columnCount':Math['max'](_0x36d7b6,_0x4617d4+0x5)}),_0x297026=_0x132ad6[_0x21254b(0x322)](_0x4000e6);_0x42a659['id']=_0xd9981d(),_0x42a659[_0x21254b(0x2c6)]=_0x3a2d6b[_0x21254b(0x194)](''+_0x297026['t'](_0x21254b(0x206)));const _0x343583={'index':_0x18492f,'sheet':_0x42a659,'unitId':_0x57e1fd},_0x154d22=_0x3b8811(_0x132ad6,_0x343583);_0x56984f['push']({'id':_0x1a279['id'],'params':_0x343583}),_0x188613[_0x21254b(0x1b6)]({'id':_0xf6a0db['id'],'params':_0x154d22}),_0x56984f[_0x21254b(0x1b6)]({'id':_0x1a40d9['id'],'params':{'unitId':_0x57e1fd,'subUnitId':_0x42a659['id'],'cellValue':_0x271787}}),_0x188613[_0x21254b(0x29f)]({'id':_0x1a40d9['id'],'params':{'unitId':_0x57e1fd,'subUnitId':_0x42a659['id'],'cellValue':_0xc92a63}});const _0x25cc4e={'startRow':0x0,'startColumn':0x0,'endRow':_0x26d257-0x1,'endColumn':_0xa9a8fb};_0x56984f[_0x21254b(0x1b6)]({'id':_0x159a38['id'],'params':{'unitId':_0x57e1fd,'subUnitId':_0x42a659['id'],'range':_0x25cc4e}}),_0x188613['unshift']({'id':_0x5b8d7d['id'],'params':{'unitId':_0x57e1fd,'subUnitId':_0x42a659['id']}});const _0x11fd1d=_0x132ad6[_0x21254b(0x322)](_0xcd8e3b);return _0x32d329(_0x56984f,_0x11fd1d)&&_0x132ad6[_0x21254b(0x322)](_0x508f8f)['pushUndoRedo']({'unitID':_0x57e1fd,'undoMutations':_0x188613,'redoMutations':_0x56984f}),!0x0;}},Cs={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x1a3),async 'handler'(_0x4dc77d,_0x3caa58){const _0x4acd94=_0x4bc323;if(!_0x3caa58)return!0x1;const _0x2e31cd=_0x4dc77d[_0x4acd94(0x322)](_0xcd8e3b),_0x3b02b5=_0x4dc77d[_0x4acd94(0x322)](X),_0x369d3b=_0x4dc77d[_0x4acd94(0x322)](_0x508f8f),{pivotTableId:_0x458265,fieldIds:_0xb830b4,unitId:_0x39edfb,subUnitId:_0x2f9ff3}=_0x3caa58,_0xdb680=(await _0x3b02b5[_0x4acd94(0x2d7)]({'unitId':_0x39edfb,'subUnitId':_0x2f9ff3,'pivotTableId':_0x458265,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0xb830b4}}}))['result']['removePivotField'];if(!_0xdb680)return!0x1;const {view:_0x48981d,changesets:_0x2c22f7,isEmpty:_0x2ad708,pivotTableConfig:_0x53ea6d}=_0xdb680,_0x3faae6=_0x53ea6d[_0x4acd94(0x16a)],_0x458ad9=new _0x1233ce();_0x458ad9[_0x4acd94(0x28c)](_0x48981d);const _0x1b8c9c={'cellInfo':_0x3faae6,'view':_0x458ad9,'isEmpty':_0x2ad708};if(!await _0x4dc77d[_0x4acd94(0x322)](ie)[_0x4acd94(0x1fa)][_0x4acd94(0x190)](be)(!0x0,_0x1b8c9c))return!0x1;const _0x7d4c92=we(_0x4dc77d,_0x458ad9,_0x3faae6,_0x2ad708),_0x322b73=_e(_0x4dc77d,_0x1b8c9c),{redos:_0x5bbe79,undos:_0x446e70}=me(_0x2e31cd,{'pivotTableId':_0x458265,'unitId':_0x39edfb,'subUnitId':_0x2f9ff3},_0x2c22f7);return _0x32d329([..._0x7d4c92['redos'],..._0x322b73[_0x4acd94(0x335)],..._0x5bbe79],_0x2e31cd),_0x369d3b[_0x4acd94(0x213)]({'unitID':_0x39edfb,'redoMutations':[..._0x7d4c92['redos'],..._0x322b73[_0x4acd94(0x335)],..._0x5bbe79],'undoMutations':[..._0x7d4c92[_0x4acd94(0x2d4)],..._0x322b73[_0x4acd94(0x2d4)],..._0x446e70]}),!0x0;}},bs={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x5f138f,_0x2a6fe5){const _0x315c0b=_0x4bc323;var _0x3dd219;const _0x46df87=_0x5f138f[_0x315c0b(0x322)](_0xcd8e3b),_0x23ef0f=_0x5f138f[_0x315c0b(0x322)](X),_0xe21757=_0x5f138f[_0x315c0b(0x322)](Ue),_0x2b08b0=_0x5f138f[_0x315c0b(0x322)](_0x39f700),_0x1a01f8=_0x5f138f['get'](_0x508f8f);if(!_0x2a6fe5)return!0x1;const {unitId:_0x50a95e,subUnitId:_0x31b765,row:_0x441ed3,col:_0x54cf83,collapse:_0x204ad2}=_0x2a6fe5,_0x57a805=_0x2b08b0[_0x315c0b(0x19c)](_0x50a95e);if(!_0x57a805||!_0x57a805[_0x315c0b(0x198)](_0x31b765))return!0x1;const _0x1d3813=_0xe21757['getPivotTableIdByCell'](_0x50a95e,_0x31b765,_0x441ed3,_0x54cf83);if(!_0x1d3813)return!0x1;const _0x44b9b3=_0xe21757[_0x315c0b(0x34f)](_0x50a95e,_0x31b765,_0x1d3813);if(!_0x44b9b3)return!0x1;const _0x3ab9cd=_0x3e77f4(_0x441ed3,_0x54cf83),{rangesInfo:_0x10d66b,areaInfo:_0x3c5798,headerMap:_0x20d0c4}=_0x44b9b3;if(!_0x10d66b||!_0x3c5798||!_0x20d0c4)return!0x1;const _0x33ccea=Object[_0x315c0b(0x1be)](_0x10d66b)['find'](_0x28d7a7=>_0x10d66b[_0x28d7a7]['some'](_0x7ca0cb=>_0x135959[_0x315c0b(0x1f6)](_0x7ca0cb,_0x3ab9cd)));let _0x4b3494;_0x33ccea===_0x315c0b(0x33f)?_0x4b3494=_0x20d0c4[_0x315c0b(0x325)][_0x54cf83]:_0x33ccea===_0x315c0b(0x236)&&(_0x4b3494=_0x20d0c4[_0x315c0b(0x1ba)][_0x441ed3]);const _0x528c05=_0x4b3494==null?void 0x0:_0x4b3494[_0x315c0b(0x2b1)],_0xe07af3=(_0x3dd219=_0xe21757[_0x315c0b(0x2c1)](_0x50a95e,_0x31b765,_0x441ed3,_0x54cf83))==null?void 0x0:_0x3dd219['v'];if(_0xe07af3==null||!_0x1d3813||!_0x528c05)return!0x1;const _0x593bac=await _0x23ef0f['getPivotDisplayConfig']({'unitId':_0x50a95e,'subUnitId':_0x31b765,'pivotTableId':_0x1d3813,'params':{'type':k[_0x315c0b(0x2a3)],'setPivotCollapse':{'tableFieldId':_0x528c05,'collapse':_0x204ad2,'item':_0xe07af3}}}),_0x57212a=_0x593bac==null?void 0x0:_0x593bac[_0x315c0b(0x2c4)][_0x315c0b(0x1dd)];if(!_0x57212a)return!0x1;const {view:_0x4478c0,pivotTableConfig:_0x5a5dc6,isEmpty:_0x559df6,changesets:_0x5513ed}=_0x57212a,_0x14f453=new _0x1233ce();_0x14f453['formJSON'](_0x4478c0);const _0x356ccf=_0x5a5dc6[_0x315c0b(0x16a)],_0x5b4663={'cellInfo':_0x356ccf,'view':_0x14f453,'isEmpty':_0x559df6};if(!await _0x5f138f[_0x315c0b(0x322)](ie)[_0x315c0b(0x1fa)][_0x315c0b(0x190)](be)(!0x0,_0x5b4663))return!0x1;const _0x3f17fd=we(_0x5f138f,_0x14f453,_0x356ccf,_0x559df6),_0x27a6c6=_e(_0x5f138f,_0x5b4663),{redos:_0x37e71c,undos:_0x4c6445}=me(_0x46df87,{'pivotTableId':_0x1d3813,'unitId':_0x50a95e,'subUnitId':_0x31b765},_0x5513ed);return _0x32d329([..._0x3f17fd[_0x315c0b(0x335)],..._0x27a6c6[_0x315c0b(0x335)],..._0x37e71c],_0x46df87),_0x1a01f8['pushUndoRedo']({'unitID':_0x50a95e,'redoMutations':[..._0x3f17fd[_0x315c0b(0x335)],..._0x27a6c6[_0x315c0b(0x335)],..._0x37e71c],'undoMutations':[..._0x3f17fd['undos'],..._0x27a6c6[_0x315c0b(0x2d4)],..._0x4c6445]}),!0x0;}},Ss={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x11d),async 'handler'(_0xa0dbc0,_0x3168e1){const _0x571695=_0x4bc323;if(!_0x3168e1)return!0x1;const _0x3e1087=_0xa0dbc0['get'](_0xcd8e3b),{pivotTableId:_0xd72465,tableFieldId:_0x4a9fe7,items:_0x544202,unitId:_0x3227ed,subUnitId:_0x63607c,isAll:_0x2af27d}=_0x3168e1,_0x259eae=_0xa0dbc0['get'](X),_0x283d1f=_0xa0dbc0[_0x571695(0x322)](_0x508f8f),_0x16bad8=(await _0x259eae[_0x571695(0x2d7)]({'unitId':_0x3227ed,'subUnitId':_0x63607c,'pivotTableId':_0xd72465,'params':{'type':k[_0x571695(0x32f)],'setPivotFilter':{'tableFieldId':_0x4a9fe7,'items':_0x544202,'isAll':_0x2af27d}}}))[_0x571695(0x2c4)]['setPivotFilter'];if(!_0x16bad8)return!0x1;const {changesets:_0x208fb6,pivotTableConfig:_0x1c7f6d,isEmpty:_0x24d264,view:_0x278e58}=_0x16bad8,_0x53035e=_0x1c7f6d[_0x571695(0x16a)],_0x3ca5ba=new _0x1233ce();_0x3ca5ba['formJSON'](_0x278e58);const _0xbb24d1={'cellInfo':_0x53035e,'view':_0x3ca5ba,'isEmpty':_0x24d264};if(!await _0xa0dbc0[_0x571695(0x322)](ie)['asyncInterceptor'][_0x571695(0x190)](be)(!0x0,_0xbb24d1))return!0x1;const _0x2049c1=we(_0xa0dbc0,_0x3ca5ba,_0x53035e,_0x24d264),_0x48c673=_e(_0xa0dbc0,_0xbb24d1),{undos:_0x397fe2,redos:_0x321bb4}=me(_0x3e1087,{'pivotTableId':_0xd72465,'unitId':_0x3227ed,'subUnitId':_0x63607c},_0x208fb6);return _0x32d329([..._0x2049c1[_0x571695(0x335)],..._0x48c673[_0x571695(0x335)],..._0x321bb4],_0x3e1087),_0x283d1f['pushUndoRedo']({'unitID':_0x3227ed,'redoMutations':[..._0x2049c1[_0x571695(0x335)],..._0x48c673[_0x571695(0x335)],..._0x321bb4],'undoMutations':[..._0x2049c1[_0x571695(0x2d4)],..._0x48c673[_0x571695(0x2d4)],..._0x397fe2]}),!0x0;}},Ps={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x144),async 'handler'(_0x1bcea3,_0x107157){const _0x1a9d99=_0x4bc323;if(!_0x107157)return!0x1;const _0xad1d7=_0x1bcea3[_0x1a9d99(0x322)](_0xcd8e3b),_0x18048e=_0x1bcea3[_0x1a9d99(0x322)](_0x508f8f),_0x533143=_0x1bcea3['get'](X),{info:_0x218607,tableFieldId:_0xea7a2d,pivotTableId:_0x3bd35a,unitId:_0x5b28ac,subUnitId:_0xfda9ed}=_0x107157,_0x3c4fbd=(await _0x533143[_0x1a9d99(0x2d7)]({'unitId':_0x5b28ac,'subUnitId':_0xfda9ed,'pivotTableId':_0x3bd35a,'params':{'type':k[_0x1a9d99(0x2b6)],'setPivotSort':{'tableFieldId':_0xea7a2d,'info':_0x218607}}}))[_0x1a9d99(0x2c4)][_0x1a9d99(0x2ca)];if(!_0x3c4fbd)return!0x1;const {changesets:_0x281463}=_0x3c4fbd,{redos:_0x16e5c2,undos:_0x8b8deb}=me(_0xad1d7,{'pivotTableId':_0x3bd35a,'unitId':_0x5b28ac,'subUnitId':_0xfda9ed},_0x281463);return _0x32d329(_0x16e5c2,_0xad1d7),_0x18048e[_0x1a9d99(0x213)]({'unitID':_0x5b28ac,'redoMutations':_0x16e5c2,'undoMutations':_0x8b8deb}),!0x0;}},Ts={'type':_0x5bc5f3['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x7d1e9e,_0x1c1888){const _0x3167b4=_0x4bc323;if(!_0x1c1888)return!0x1;const _0x1a6869=_0x7d1e9e[_0x3167b4(0x322)](_0xcd8e3b),_0x1f46f0=_0x7d1e9e[_0x3167b4(0x322)](_0x508f8f),_0x54826f=_0x7d1e9e[_0x3167b4(0x322)](X),{displayName:_0x22292e,subtotalType:_0xa6a555,format:_0x4cfc5d,tableFieldId:_0x4f6571,pivotTableId:_0x6f18f6,unitId:_0x2a43d0,subUnitId:_0x3a10d3}=_0x1c1888,_0x26793b=(await _0x54826f[_0x3167b4(0x2d7)]({'unitId':_0x2a43d0,'subUnitId':_0x3a10d3,'pivotTableId':_0x6f18f6,'params':{'type':k[_0x3167b4(0x2ae)],'setPivotSetting':{'tableFieldId':_0x4f6571,'displayName':_0x22292e,'subtotalType':_0xa6a555,'format':_0x4cfc5d}}}))[_0x3167b4(0x2c4)][_0x3167b4(0x162)];if(!_0x26793b)return!0x1;const {changesets:_0x2adc12,view:_0x4cd14a,pivotTableConfig:_0x44e6b1,isEmpty:_0x385c3d}=_0x26793b,_0x54d83c=_0x44e6b1[_0x3167b4(0x16a)],_0x46ac3e=new _0x1233ce();_0x46ac3e[_0x3167b4(0x28c)](_0x4cd14a);const _0x30fd0e={'cellInfo':_0x54d83c,'view':_0x46ac3e,'isEmpty':_0x385c3d};if(!await _0x7d1e9e[_0x3167b4(0x322)](ie)[_0x3167b4(0x1fa)][_0x3167b4(0x190)](be)(!0x0,_0x30fd0e))return!0x1;const _0x2ae0db=we(_0x7d1e9e,_0x46ac3e,_0x54d83c,_0x385c3d),_0x568a30=_e(_0x7d1e9e,_0x30fd0e),{undos:_0x5e5e82,redos:_0x1ae401}=me(_0x1a6869,{'pivotTableId':_0x6f18f6,'unitId':_0x2a43d0,'subUnitId':_0x3a10d3},_0x2adc12);return _0x32d329([..._0x2ae0db[_0x3167b4(0x335)],..._0x568a30['redos'],..._0x1ae401],_0x1a6869),_0x1f46f0['pushUndoRedo']({'unitID':_0x2a43d0,'redoMutations':[..._0x2ae0db['redos'],..._0x568a30[_0x3167b4(0x335)],..._0x1ae401],'undoMutations':[..._0x2ae0db[_0x3167b4(0x2d4)],..._0x568a30[_0x3167b4(0x2d4)],..._0x5e5e82]}),!0x0;}},ys={'type':_0x5bc5f3['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x144a38,_0x5ace1f){const _0x1c9a49=_0x4bc323,_0x318ab8=_0x144a38[_0x1c9a49(0x322)](_0xcd8e3b),_0x5d57dd=_0x144a38['get'](X),_0x19712f=_0x144a38[_0x1c9a49(0x322)](_0x508f8f);if(!_0x5ace1f)return!0x1;const {token:_0x27d235,dataRangeInfo:_0x530d76,unitId:_0x3d7d17,subUnitId:_0xabaa4e}=_0x5ace1f,_0x135c45=[],_0x2d01d8=[],_0x4bb916=(await _0x5d57dd[_0x1c9a49(0x2d7)]({'unitId':_0x3d7d17,'subUnitId':_0xabaa4e,'pivotTableId':_0x27d235,'params':{'type':k[_0x1c9a49(0x237)],'updatePivotSource':{'dataRangeInfo':_0x530d76,'unitId':_0x3d7d17,'subUnitId':_0xabaa4e}}}))[_0x1c9a49(0x2c4)]['updatePivotSource'];if(!_0x4bb916)return!0x1;const {changesets:_0x2792d0,deleteIds:_0x2d2ec5,collectionConfig:_0x4647ed,oldCollectionConfig:_0x3cad6b,view:_0x5e5d04,isEmpty:_0x115248,pivotTableConfig:_0x20e6b5}=_0x4bb916;_0x2d01d8[_0x1c9a49(0x1b6)]({'id':to['id'],'params':{'pivotTableId':_0x27d235,'deleteIds':_0x2d2ec5,'collectionJSON':_0x4647ed,'dataRangeInfo':_0x530d76,'unitId':_0x3d7d17,'subUnitId':_0xabaa4e}}),_0x135c45[_0x1c9a49(0x29f)]({'id':to['id'],'params':{'pivotTableId':_0x27d235,'deleteIds':[],'collectionJSON':_0x3cad6b,'dataRangeInfo':_0x20e6b5[_0x1c9a49(0x2d0)],'unitId':_0x3d7d17,'subUnitId':_0xabaa4e}});const _0x28822e=_0x20e6b5[_0x1c9a49(0x16a)],_0x476f20=new _0x1233ce();_0x476f20[_0x1c9a49(0x28c)](_0x5e5d04);const _0x2058ac={'cellInfo':_0x28822e,'view':_0x476f20,'isEmpty':_0x115248};if(!await _0x144a38[_0x1c9a49(0x322)](ie)[_0x1c9a49(0x1fa)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2058ac))return!0x1;const _0x4c8053=we(_0x144a38,_0x476f20,_0x28822e,_0x115248),_0x4fc441=_e(_0x144a38,_0x2058ac),{undos:_0x4e1562,redos:_0x5b6a9c}=me(_0x318ab8,{'pivotTableId':_0x27d235,'unitId':_0x3d7d17,'subUnitId':_0xabaa4e},_0x2792d0);return _0x32d329([..._0x4c8053['redos'],..._0x4fc441[_0x1c9a49(0x335)],..._0x2d01d8,..._0x4e1562],_0x318ab8),_0x19712f['pushUndoRedo']({'unitID':_0x3d7d17,'redoMutations':[..._0x4c8053[_0x1c9a49(0x335)],..._0x4fc441[_0x1c9a49(0x335)],..._0x2d01d8,..._0x4e1562],'undoMutations':[..._0x4c8053[_0x1c9a49(0x2d4)],..._0x4fc441[_0x1c9a49(0x2d4)],..._0x135c45,..._0x5b6a9c]}),!0x0;}},Ms={'type':_0x5bc5f3['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x2e02c4,_0x1d1cea){const _0x338acf=_0x4bc323;if(!_0x1d1cea)return!0x1;const _0x1eea10=_0x2e02c4[_0x338acf(0x322)](_0xcd8e3b),_0xfbe74f=_0x2e02c4[_0x338acf(0x322)](X),_0xa1f8c=_0x2e02c4[_0x338acf(0x322)](_0x39f700),_0x19c6b8=_0x2e02c4[_0x338acf(0x322)](_0x508f8f),{pivotTableId:_0x5291cd,position:_0x46b4f3,index:_0x28ad11}=_0x1d1cea,_0x36c444=_0x2d9c39(_0xa1f8c);if(!_0x36c444)return!0x1;const {unitId:_0x389e94,subUnitId:_0x4c0717}=_0x36c444,_0x11a647=(await _0xfbe74f[_0x338acf(0x2d7)]({'unitId':_0x389e94,'subUnitId':_0x4c0717,'pivotTableId':_0x5291cd,'params':{'type':k[_0x338acf(0x149)],'updateValuePosition':{'position':_0x46b4f3,'index':_0x28ad11}}}))[_0x338acf(0x2c4)][_0x338acf(0x349)];if(!_0x11a647)return!0x1;const {changesets:_0x2dd6a0,view:_0x572ed3,isEmpty:_0x41390b,pivotTableConfig:_0x11750b}=_0x11a647,_0x21d7ef=_0x11750b[_0x338acf(0x16a)],_0x3b1aa6=new _0x1233ce();_0x3b1aa6[_0x338acf(0x28c)](_0x572ed3);const _0x3da611=_0x2e02c4[_0x338acf(0x322)](ie),_0x4c505f={'cellInfo':_0x21d7ef,'view':_0x3b1aa6,'isEmpty':_0x41390b};if(!await _0x3da611[_0x338acf(0x1fa)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4c505f))return!0x1;const _0x3a347e=we(_0x2e02c4,_0x3b1aa6,_0x21d7ef,_0x41390b),_0xe78e03=_e(_0x2e02c4,_0x4c505f),{undos:_0x239dac,redos:_0x5d557e}=me(_0x1eea10,{'pivotTableId':_0x5291cd,'unitId':_0x389e94,'subUnitId':_0x4c0717},_0x2dd6a0);return _0x32d329([..._0x3a347e[_0x338acf(0x335)],..._0xe78e03[_0x338acf(0x335)],..._0x5d557e],_0x1eea10),_0x19c6b8[_0x338acf(0x213)]({'unitID':_0x389e94,'redoMutations':[..._0x3a347e[_0x338acf(0x335)],..._0xe78e03[_0x338acf(0x335)],..._0x5d557e],'undoMutations':[..._0x3a347e[_0x338acf(0x2d4)],..._0xe78e03[_0x338acf(0x2d4)],..._0x239dac]}),!0x0;}},ws={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x2a5),'handler':(_0x55bcc1,_0x3aea71)=>{const _0x35210c=_0x4bc323,_0x523470=_0x55bcc1[_0x35210c(0x322)](_0xcd8e3b),_0x526dd8=_0x55bcc1['get'](_0x508f8f),_0x2682f7=_0x55bcc1[_0x35210c(0x322)](he),_0x7581db=_0x55bcc1['get'](_0x39f700);if(!_0x3aea71)return!0x1;const _0x2e5b51=_0x2d9c39(_0x7581db);if(!_0x2e5b51)return!0x1;const {unitId:_0x36dcc2,subUnitId:_0x4da6ad,workbook:_0x19ec1c}=_0x2e5b51,_0x43af9a=_0x2682f7['getPivotTableConfig'](_0x3aea71[_0x35210c(0x2fd)][_0x35210c(0x1bf)],_0x3aea71[_0x35210c(0x2fd)]['subUnitId'],_0x3aea71[_0x35210c(0x13c)]);if(!_0x43af9a)return!0x1;const _0x217d70=_0x19ec1c['getSheetBySheetId'](_0x3aea71['targetCellInfo'][_0x35210c(0x1e0)]);if(!_0x217d70)throw new Error(_0x35210c(0x2d8));const _0x4c5415=_0x217d70[_0x35210c(0x356)](),_0x43b747=_0x217d70[_0x35210c(0x2a4)]();if(_0x3aea71[_0x35210c(0x16a)][_0x35210c(0x323)]>_0x4c5415||_0x3aea71['targetCellInfo'][_0x35210c(0x26e)]>_0x43b747)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2272e1=[{'id':pt['id'],'params':{'unitId':_0x36dcc2,'subUnitId':_0x3aea71[_0x35210c(0x16a)][_0x35210c(0x1e0)],'pivotTableId':_0x3aea71[_0x35210c(0x13c)],'targetCellPosition':{'row':_0x3aea71['targetCellInfo']['row'],'col':_0x3aea71[_0x35210c(0x16a)][_0x35210c(0x26e)]}}}],_0x4f6c74=[{'id':pt['id'],'params':{'unitId':_0x36dcc2,'subUnitId':_0x4da6ad,'pivotTableId':_0x3aea71['pivotTableId'],'targetCellPosition':{'row':_0x43af9a[_0x35210c(0x16a)][_0x35210c(0x323)],'col':_0x43af9a[_0x35210c(0x16a)][_0x35210c(0x26e)]}}}];return _0x32d329(_0x2272e1,_0x523470)&&_0x526dd8[_0x35210c(0x213)]({'unitID':_0x36dcc2,'undoMutations':_0x4f6c74,'redoMutations':_0x2272e1}),!0x0;}},_s={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x221),async 'handler'(_0x371869,_0x2d169b){const _0x40b4be=_0x4bc323;if(!_0x2d169b)return!0x1;const _0x5ec9be=_0x371869['get'](_0xcd8e3b),{pivotTableId:_0x212b97,fieldId:_0x90f2e5,valueFilterInfo:_0x46019c,unitId:_0x2ae159,subUnitId:_0x3c77c9}=_0x2d169b,_0xec638e=_0x371869[_0x40b4be(0x322)](X),_0x23ed94=_0x371869['get'](_0x508f8f),_0x1dfecd=(await _0xec638e[_0x40b4be(0x2d7)]({'unitId':_0x2ae159,'subUnitId':_0x3c77c9,'pivotTableId':_0x212b97,'params':{'type':k[_0x40b4be(0x316)],'setValuePivotFilter':{'tableFieldId':_0x90f2e5,'filterInfo':_0x46019c}}}))[_0x40b4be(0x2c4)][_0x40b4be(0x2da)];if(!_0x1dfecd)return!0x1;const {changesets:_0x716811,pivotTableConfig:_0x4fb5bd,isEmpty:_0x287f7c,view:_0x4bce0f}=_0x1dfecd,_0x3f8982=_0x4fb5bd[_0x40b4be(0x16a)],_0x7396b8=new _0x1233ce();_0x7396b8[_0x40b4be(0x28c)](_0x4bce0f);const _0x801572={'cellInfo':_0x3f8982,'view':_0x7396b8,'isEmpty':_0x287f7c};if(!await _0x371869[_0x40b4be(0x322)](ie)[_0x40b4be(0x1fa)][_0x40b4be(0x190)](be)(!0x0,_0x801572))return!0x1;const _0x4fc1a7=we(_0x371869,_0x7396b8,_0x3f8982,_0x287f7c),_0x5d279f=_e(_0x371869,_0x801572),{undos:_0x2682ff,redos:_0x409c68}=me(_0x5ec9be,{'pivotTableId':_0x212b97,'unitId':_0x2ae159,'subUnitId':_0x3c77c9},_0x716811);return _0x32d329([..._0x4fc1a7[_0x40b4be(0x335)],..._0x5d279f['redos'],..._0x409c68],_0x5ec9be),_0x23ed94[_0x40b4be(0x213)]({'unitID':_0x2ae159,'redoMutations':[..._0x4fc1a7[_0x40b4be(0x335)],..._0x5d279f[_0x40b4be(0x335)],..._0x409c68],'undoMutations':[..._0x4fc1a7[_0x40b4be(0x2d4)],..._0x5d279f[_0x40b4be(0x2d4)],..._0x2682ff]}),!0x0;}},Fs={'type':_0x5bc5f3[_0x4bc323(0x1e5)],'id':_0x4bc323(0x24d),async 'handler'(_0x56b73e,_0x2e33cb){const _0x2fe934=_0x4bc323;if(!_0x2e33cb)return!0x1;const _0x38cd05=_0x56b73e[_0x2fe934(0x322)](_0xcd8e3b),_0x279834=_0x56b73e[_0x2fe934(0x322)](_0x508f8f),_0xa0852d=_0x56b73e[_0x2fe934(0x322)](X),{pivotTableConfig:_0x364077,pivotTableId:_0x319614,unitId:_0x120910,subUnitId:_0x28910f}=_0x2e33cb,_0x2161a5=(await _0xa0852d[_0x2fe934(0x2d7)]({'unitId':_0x120910,'subUnitId':_0x28910f,'pivotTableId':_0x319614,'params':{'type':k['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x319614,'pivotTableConfig':_0x364077}}}))[_0x2fe934(0x2c4)][_0x2fe934(0x2ff)];if(!_0x2161a5)return!0x1;const {changesets:_0x357a52}=_0x2161a5,{redos:_0x5cf1c9,undos:_0x2df047}=me(_0x38cd05,{'pivotTableId':_0x319614,'unitId':_0x120910,'subUnitId':_0x28910f},_0x357a52);return _0x32d329(_0x5cf1c9,_0x38cd05),_0x279834['pushUndoRedo']({'unitID':_0x120910,'redoMutations':_0x5cf1c9,'undoMutations':_0x2df047}),!0x0;}},Rs={'type':_0x5bc5f3['COMMAND'],'id':_0x4bc323(0x29c),async 'handler'(_0x8d71dd,_0x458279){const _0x4e4ba6=_0x4bc323;if(!_0x458279)return!0x1;const _0x10cc26=_0x8d71dd[_0x4e4ba6(0x322)](_0xcd8e3b),_0x406081=_0x8d71dd['get'](_0x508f8f),_0x405dbb=_0x8d71dd['get'](X),{resetArea:_0x22bf45,pivotTableId:_0x4a99cf,unitId:_0x2bcc1c,subUnitId:_0x8f2db1}=_0x458279,_0x41d124=(await _0x405dbb['getPivotDisplayConfig']({'unitId':_0x2bcc1c,'subUnitId':_0x8f2db1,'pivotTableId':_0x4a99cf,'params':{'type':k['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4a99cf,'resetArea':_0x22bf45}}}))[_0x4e4ba6(0x2c4)][_0x4e4ba6(0x2d1)];if(!_0x41d124)return!0x1;const {changesets:_0x3ee659}=_0x41d124,{redos:_0x123867,undos:_0x590347}=me(_0x10cc26,{'pivotTableId':_0x4a99cf,'unitId':_0x2bcc1c,'subUnitId':_0x8f2db1},_0x3ee659);return _0x32d329(_0x123867,_0x10cc26),_0x406081['pushUndoRedo']({'unitID':_0x2bcc1c,'redoMutations':_0x123867,'undoMutations':_0x590347}),!0x0;}},oo={'id':_0x4bc323(0x29a),'type':_0x5bc5f3[_0x4bc323(0x284)],'handler':(_0x3e10b4,_0x1f849b)=>{const _0x597f72=_0x4bc323;if(!_0x1f849b)return!0x1;if(!!_0x3e10b4[_0x597f72(0x322)](_0x1edc63)[_0x597f72(0x23e)](W))return!0x0;const {unitId:_0xd273c9,subUnitId:_0x572163,pivotTableId:_0x22045e,tableFieldId:_0x4a5f44,dateType:_0x4dbace}=_0x1f849b,_0x5c2168=_0x3e10b4[_0x597f72(0x322)](Q),_0x3752ed=_0x5c2168[_0x597f72(0x1e7)](_0x22045e);if(!_0x3752ed)return!0x1;const _0x5e1268=_0x3752ed['getDataFieldByTableId'](_0x4a5f44);if(!_0x5e1268)return!0x1;const _0x100486=_0x5e1268[_0x597f72(0x367)](),_0x133ad0=_0x3752ed[_0x597f72(0x136)](_0x100486),_0x5cfd8f=(_0x133ad0==null?void 0x0:_0x133ad0[_0x597f72(0x34b)]())+'\x20'+Wo(_0x3e10b4,_0x4dbace);_0x5c2168[_0x597f72(0x348)](_0xd273c9,_0x22045e)[_0x597f72(0x2f8)](_0x5e1268['id'],_0x5cfd8f);const _0x14023e=_0x3752ed[_0x597f72(0x129)](_0x4a5f44);if(!_0x14023e)return!0x1;_0x3752ed[_0x597f72(0x20f)](_0x14023e[_0x597f72(0x205)](),_0x5cfd8f),_0x5e1268[_0x597f72(0x33e)](_0x4dbace);const _0x491d14=_0x5c2168['getPivotTableConfig'](_0xd273c9,_0x572163,_0x22045e);return _0x5c2168[_0x597f72(0x2eb)]({'unitId':_0xd273c9,'subUnitId':_0x572163,'token':_0x22045e,'type':B[_0x597f72(0x1d6)],'pivotConfig':_0x491d14}),!0x0;}},Ds={'id':'sheet.command.update-date-group','type':_0x5bc5f3[_0x4bc323(0x1e5)],'handler':(_0xe572b5,_0x12bef7)=>{const _0x1078ab=_0x4bc323;if(!_0x12bef7)return!0x1;const _0x565355=_0xe572b5[_0x1078ab(0x322)](_0x508f8f),{unitId:_0xdfc6ac,subUnitId:_0x37d0f7,pivotTableId:_0xd2c1e0,tableFieldId:_0x2e6ff3}=_0x12bef7,_0x1a8d8a=[],_0x107b2b=[],_0xac9674=_0xe572b5['get'](he),_0xbb6db1=_0xac9674['getCollection'](_0xdfc6ac,_0xd2c1e0),_0x55b7bc=_0xac9674[_0x1078ab(0x365)](_0xdfc6ac,_0x37d0f7,_0xd2c1e0);if(!(_0x55b7bc!=null&&_0x55b7bc[_0x1078ab(0xf4)]['dimension']))return!0x1;const _0x1d8d4a=Object[_0x1078ab(0x222)](_0x55b7bc[_0x1078ab(0xf4)]['dimension'])[_0x1078ab(0x267)](_0x17045e=>_0x17045e['id']===_0x2e6ff3);if(!_0x1d8d4a)return!0x1;const _0x4ac747=_0x1d8d4a[_0x1078ab(0x285)];if(!(_0xbb6db1!=null&&_0xbb6db1['fields']))return!0x1;const _0x419f0a=Object[_0x1078ab(0x222)](_0xbb6db1==null?void 0x0:_0xbb6db1[_0x1078ab(0x13d)])['find'](_0x2b24b6=>_0x2b24b6['id']===_0x4ac747);if(!_0x419f0a)return!0x1;_0x252377(_0x419f0a)&&_0x1a8d8a[_0x1078ab(0x1b6)]({'id':oo['id'],'params':{..._0x12bef7,'dateType':_0x419f0a[_0x1078ab(0x1d7)]}}),_0x107b2b[_0x1078ab(0x1b6)]({'id':oo['id'],'params':{..._0x12bef7}});const _0x1de40c=_0xe572b5[_0x1078ab(0x322)](_0xcd8e3b);return _0x32d329(_0x107b2b,_0x1de40c)&&_0x565355[_0x1078ab(0x213)]({'unitID':_0xdfc6ac,'undoMutations':_0x1a8d8a,'redoMutations':_0x107b2b}),!0x0;}};var Us=Object[_0x4bc323(0x1fc)],Ns=(_0x3ed9d7,_0x1d5ff1,_0x431da3,_0x25553f)=>{const _0x1aa76d=_0x4bc323;for(var _0x2deeb3=_0x25553f>0x1?void 0x0:_0x25553f?Us(_0x1d5ff1,_0x431da3):_0x1d5ff1,_0x5d8dbd=_0x3ed9d7[_0x1aa76d(0x352)]-0x1,_0x5d4985;_0x5d8dbd>=0x0;_0x5d8dbd--)(_0x5d4985=_0x3ed9d7[_0x5d8dbd])&&(_0x2deeb3=_0x5d4985(_0x2deeb3)||_0x2deeb3);return _0x2deeb3;},Ge=(_0x3f705a,_0x545722)=>(_0x1774de,_0x2272cf)=>_0x545722(_0x1774de,_0x2272cf,_0x3f705a);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x3e3685,_0x2a1986,_0xae5831)=>{const _0x4b7401=_0x4bc323,_0x4176b0=_0x3e3685['dataFieldsCollection'];_0x3e3685[_0x4b7401(0x1eb)](_0x4ee115=>{const _0x42a7fc=_0x4b7401,_0x56bc19=_0x4ee115[_0x42a7fc(0x205)](),_0x539e44=_0x4ee115[_0x42a7fc(0x268)](),_0x368d67=_0x4ee115[_0x42a7fc(0x16f)](),_0x341eab=_0x4ee115[_0x42a7fc(0x338)]();_0x2a1986[_0x539e44]&&_0x2a1986[_0x539e44]===_0x341eab&&_0x368d67===_0x341eab&&(_0x3e3685[_0x42a7fc(0x20f)](_0x56bc19,_0x4176b0['getDisplayName'](_0x539e44)),_0x4ee115['setSourceName'](_0x4176b0['getDisplayName'](_0x539e44)));}),_0x3e3685[_0x4b7401(0x35d)](_0x685aab[_0x4b7401(0x30b)],_0x119572=>{const _0x522a96=_0x4b7401,_0x12e3df=_0x119572[_0x522a96(0x205)](),_0x28863d=_0x119572[_0x522a96(0x268)](),_0x26c059=_0x119572[_0x522a96(0x16f)](),_0x4b863f=_0x119572[_0x522a96(0x338)](),_0x34b651=_0x119572[_0x522a96(0x170)](),_0x14d224=_0xae5831(_0x26c059,_0x34b651);_0x2a1986[_0x28863d]&&_0x2a1986[_0x28863d]===_0x26c059&&_0x14d224===_0x4b863f&&(_0x3e3685['renameField'](_0x12e3df,_0xae5831(_0x4176b0[_0x522a96(0x338)](_0x28863d),_0x34b651)),_0x119572[_0x522a96(0x169)](_0x4176b0['getDisplayName'](_0x28863d)));});},xs=(_0x53f57f,_0x84c407,_0x2a0c49)=>{const _0x9105a=_0x4bc323;var _0x5b0d1a,_0xf45ed5;const {arrayFormulaCellData:_0x5cbf87,unitData:_0x545475}=_0x84c407,{unitId:_0x5d2d6b,subUnitId:_0x3552bc}=_0x2a0c49,_0x7516a2=_0x2a0c49[_0x9105a(0x269)],{startColumn:_0x107244,endColumn:_0x36ee20}=_0x7516a2,_0x5dc65b=(_0x5b0d1a=_0x5cbf87==null?void 0x0:_0x5cbf87[_0x5d2d6b])==null?void 0x0:_0x5b0d1a[_0x3552bc],_0x13ac45=(_0xf45ed5=_0x545475==null?void 0x0:_0x545475[_0x5d2d6b])==null?void 0x0:_0xf45ed5[_0x3552bc],_0x24a51f=new Set(),_0x467aec=_0x36ee20-_0x107244+0x1,{dirtyRanges:_0x398481}=_0x53f57f;if(_0x398481)for(const {range:_0x7b5dd1,sheetId:_0x1f5a66,unitId:_0x57edd4}of _0x398481){if(_0x1f5a66!==_0x3552bc||_0x5d2d6b!==_0x57edd4)continue;const _0x8aeadc=_0x135959[_0x9105a(0x19f)](_0x7b5dd1,_0x7516a2);if(_0x8aeadc){const {startColumn:_0x140fa9,endColumn:_0x3f58d5}=_0x8aeadc;for(let _0x2253f0=_0x140fa9;_0x2253f0<=_0x3f58d5;_0x2253f0++)_0x24a51f[_0x9105a(0x200)](_0x2253f0);}}if(_0x24a51f['size']===_0x467aec||_0x24a51f[_0x9105a(0x18d)]===_0x467aec)return Array[_0x9105a(0x2b5)](_0x24a51f);if(_0x13ac45){const _0x47ddfe=_0x13ac45[_0x9105a(0x130)](),_0x3d1e65=Object[_0x9105a(0x1be)](_0x47ddfe);for(const _0xf74052 of _0x3d1e65){const _0x3b58e5=Number(_0xf74052),_0x262247=_0x47ddfe[_0x3b58e5];if(_0x24a51f['size']===_0x467aec)break;for(const _0x431d8c in _0x262247){const _0x2dcf66=Number(_0x431d8c);_0x2dcf66<_0x107244||_0x2dcf66>_0x36ee20||_0x24a51f[_0x9105a(0x200)](_0x2dcf66);}}}if(_0x5dc65b){const _0x425369=_0x5dc65b[_0x9105a(0x130)](),_0xf3658c=Object[_0x9105a(0x1be)](_0x425369);for(const _0x20519f of _0xf3658c){const _0x5f195e=Number(_0x20519f),_0xe48974=_0x425369[_0x5f195e];if(_0x24a51f[_0x9105a(0x18d)]===_0x467aec)break;for(const _0x112db3 in _0xe48974){const _0x33855b=Number(_0x112db3);_0x33855b<_0x107244||_0x33855b>_0x36ee20||_0x24a51f[_0x9105a(0x200)](_0x33855b);}}}return Array['from'](_0x24a51f);},Os=_0x461209=>{const _0x326008=_0x4bc323,_0x211f27=new Set(),_0x5c16d4=[];for(const _0x282191 of _0x461209){const _0x53589a=_0x282191[_0x326008(0x351)]+','+_0x282191['endRow']+','+_0x282191['startColumn']+','+_0x282191[_0x326008(0x2b2)];_0x211f27[_0x326008(0x320)](_0x53589a)||(_0x211f27[_0x326008(0x200)](_0x53589a),_0x5c16d4['push'](_0x282191));}return _0x5c16d4;};let dt=class extends _0x2e1b8a{constructor(_0x48e351,_0x99d32f,_0x32c9dc,_0x16971c,_0x13c64d,_0x3ed21c){const _0x42fa75=_0x4bc323;super(),V(this,'_globalSubject',new _0xdbef63(!0x0)),V(this,'_globalComputedStartHelpFunc',_0x23decf=>{const _0x1fea3d=_0x3d26;this[_0x1fea3d(0x2f2)]['next'](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0xbdd5d7=>{const _0x386f99=_0x3d26;this[_0x386f99(0x2f2)][_0x386f99(0xe7)](!0x0);}),(this[_0x42fa75(0x17a)]=_0x48e351,this[_0x42fa75(0x1c9)]=_0x99d32f,this[_0x42fa75(0x1b3)]=_0x32c9dc,this[_0x42fa75(0x24a)]=_0x16971c,this['_globalComputingSrv']=_0x13c64d,this['_injector']=_0x3ed21c,this[_0x42fa75(0x275)](),this['_initPivotDataGetListener']());}[_0x4bc323(0x275)](){const _0x1a31c3=_0x4bc323;this[_0x1a31c3(0x35f)](),this[_0x1a31c3(0x27d)](),this[_0x1a31c3(0x1aa)](),this[_0x1a31c3(0x314)]();}[_0x4bc323(0x176)](){const _0x384c8a=_0x4bc323;this['_globalComputingSrv'][_0x384c8a(0x262)](this[_0x384c8a(0x2f2)]),_0x2cebe7[_0x384c8a(0x1b8)](_0x509f44[_0x384c8a(0x161)],this[_0x384c8a(0x340)]),_0x2cebe7[_0x384c8a(0x1b8)](_0x509f44['onQueryEnd'],this[_0x384c8a(0xf6)]);}[_0x4bc323(0x300)](){const _0x39c222=_0x4bc323;this[_0x39c222(0x2a8)](this[_0x39c222(0x24a)][_0x39c222(0x141)](_0x18b799=>{const _0x490548=_0x39c222;_0x18b799['id']===_0x1c29de['id']&&this[_0x490548(0x17a)]['handleMoveRange'](_0x18b799[_0x490548(0x2f4)]);})),this[_0x39c222(0x2a8)](this[_0x39c222(0x24a)][_0x39c222(0x141)](_0x1d0b7f=>{const _0x4c1d72=_0x39c222;if(_0x1d0b7f['id']!==ro['id'])return;const _0x4a2ee5=_0x1d0b7f[_0x4c1d72(0x2f4)],{unitId:_0x2f383f,subUnitId:_0x4ab30b,pivotTableId:_0x301cab}=_0x4a2ee5,_0x3f9d84=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x21d)],_0x320bbd={};switch(_0x3f9d84){case k[_0x4c1d72(0x1fe)]:{const _0x3a0930=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x18a)];if(!_0x3a0930)return;const {row:_0x381e97,col:_0x351958,cellData:_0x4dc07c,pivotItemRenderInfoCache:_0x436906,tableFieldId:_0x1aa282}=_0x3a0930,_0x2a9898=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x1e7)](_0x4a2ee5[_0x4c1d72(0x13c)]);if(!_0x2a9898||!_0x436906)return;if(_0x1aa282){const _0x43573f=_0x2a9898[_0x4c1d72(0x27a)](_0x1aa282);if(!_0x43573f)return;_0x320bbd[_0x4c1d72(0x18a)]={..._0x2a9898[_0x4c1d72(0x2bb)](_0x43573f),'tableFieldId':_0x1aa282,'pivotTableId':_0x4a2ee5[_0x4c1d72(0x13c)],'filterInfo':_0x2a9898['getFilterInfo'](_0x1aa282),'sortInfo':_0x2a9898[_0x4c1d72(0x1e3)](_0x1aa282),'format':_0x2a9898['getFieldFormat'](_0x1aa282)};}else{const _0x490b65=xi(_0x381e97,_0x351958,_0x4dc07c,_0x2a9898,_0x436906),_0x1e6eec=_0x490b65==null?void 0x0:_0x490b65[_0x4c1d72(0x1a4)];if(!_0x1e6eec)return;const _0x5d3a50=_0x2a9898['getDataFieldByTableId'](_0x1e6eec);if(!_0x5d3a50)return;_0x320bbd[_0x4c1d72(0x18a)]={..._0x2a9898[_0x4c1d72(0x2bb)](_0x5d3a50),'tableFieldId':_0x1e6eec,'pivotTableId':_0x4a2ee5['pivotTableId'],'filterInfo':_0x2a9898[_0x4c1d72(0x257)](_0x1e6eec),'sortInfo':_0x2a9898[_0x4c1d72(0x1e3)](_0x1e6eec),'format':_0x2a9898[_0x4c1d72(0x366)](_0x1e6eec)};}}break;case k['Panel']:{const _0x4c025a=_0x4a2ee5['params']['panel'];if(!_0x4c025a)return;const {pivotTableId:_0x4bb5df}=_0x4c025a,_0x1d58dc=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x4bb5df);if(!_0x1d58dc)return;const _0x4ecb66=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2f383f,_0x4ab30b,_0x4bb5df),_0x20eb39=Oi(_0x1d58dc,_0x4bb5df,_0x4ecb66);_0x320bbd['panel']=_0x20eb39;}break;case k[_0x4c1d72(0x2c8)]:{const _0x5b2a3e=this[_0x4c1d72(0x17a)][_0x4c1d72(0x1e7)](_0x301cab),_0x338575=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x2f383f),_0x542628=_0x338575[_0x4c1d72(0x348)](_0x301cab);let _0x1f9050=null;const _0x4c0aaa=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab),_0x122987=_0x4a2ee5['params'][_0x4c1d72(0x14d)];if(!_0x5b2a3e||!_0x4c0aaa||!_0x122987)return!0x1;const {dataFieldId:_0x55c523,fieldArea:_0x13bd5e,index:_0x1654ef}=_0x122987;_0x5b2a3e[_0x4c1d72(0x2f1)]();const _0x4d5058=_0x5b2a3e[_0x4c1d72(0x2d5)](_0x55c523,_0x13bd5e,_0x1654ef);if(_0x4d5058&&_0x13bd5e===_0x685aab[_0x4c1d72(0x30b)]){const _0x43d3ee=_0x4d5058['getId'](),_0x4ac288=_0x5b2a3e['getDataFieldByTableId'](_0x43d3ee);if(_0x4ac288){const _0x271758=_0x4ac288==null?void 0x0:_0x4ac288[_0x4c1d72(0x116)]();_0x5b2a3e[_0x4c1d72(0x2bc)](_0x4d5058[_0x4c1d72(0x205)](),_0x271758===_0x53a5d7[_0x4c1d72(0x2e8)]?_0x3500b6[_0x4c1d72(0x2ed)]:_0x3500b6[_0x4c1d72(0x1c0)]);}const _0x5cbf35=_0x5b2a3e[_0x4c1d72(0x34a)](),_0x58e341=_0x5b2a3e[_0x4c1d72(0x1fb)](),_0x30502b=_0x5b2a3e[_0x4c1d72(0x14c)](_0x685aab[_0x4c1d72(0x30b)]);if(_0x5cbf35===-0x1&&_0x30502b>0x1){const _0x4c7911=_0x58e341===_0x4c8648['None']?_0x4c8648[_0x4c1d72(0x199)]:_0x58e341,_0x2c7124=_0x4c7911===_0x4c8648[_0x4c1d72(0x17f)]?_0x685aab['Row']:_0x685aab['Column'];_0x5b2a3e[_0x4c1d72(0x349)](_0x4c7911,_0x5b2a3e[_0x4c1d72(0x14c)](_0x2c7124));}}else{if(_0x4d5058&&(_0x13bd5e===_0x685aab[_0x4c1d72(0x17f)]||_0x13bd5e===_0x685aab[_0x4c1d72(0x199)])){const _0x60a015=_0x4d5058[_0x4c1d72(0x205)](),_0x2698ce=_0x5b2a3e[_0x4c1d72(0x27a)](_0x60a015);if(_0x2698ce&&(_0x2698ce==null?void 0x0:_0x2698ce['getFieldDataType']())===_0x53a5d7[_0x4c1d72(0x2e3)]){const _0x2c29a1=_0x2698ce[_0x4c1d72(0x2fb)]();if(_0x2c29a1&&_0x5b2a3e[_0x4c1d72(0x1cd)](_0x4d5058[_0x4c1d72(0x205)](),_0x2c29a1),!_0x542628[_0x4c1d72(0x21f)]()['some'](_0x4cd02c=>{const _0xb306cc=_0x4c1d72,_0xf960ca=_0x542628[_0xb306cc(0x1e9)](_0x4cd02c);return _0x37bb8d(_0xf960ca)?_0xf960ca['getFieldInfo']()[_0xb306cc(0xfa)]===_0x55c523:!0x1;})){const _0x553149=_0x338575[_0x4c1d72(0x1d3)](),_0x2e6bf4=Ji(_0x2698ce['maxDate'],_0x2698ce['minDate']),_0x785625=_0x2698ce['getName']()+_0x4c1d72(0x1de)+Wo(this[_0x4c1d72(0x150)],_0x2e6bf4),_0x2e390d=new _0x5cabe3(_0x553149,_0x785625,_0x1e548a(0x3),_0x2698ce[_0x4c1d72(0x205)](),_0x2e6bf4);_0x338575[_0x4c1d72(0x33c)](_0x2e390d),_0x542628['addField'](_0x553149,_0x785625),_0x5b2a3e['addFieldWithSourceId'](_0x553149,_0x13bd5e,(_0x1654ef!=null?_0x1654ef:0x0)+0x1),_0x1f9050=_0x2e390d;}}}}const _0x4adeea=_0x5b2a3e[_0x4c1d72(0x282)](),_0x350e46=_0x5b2a3e[_0x4c1d72(0x215)]()['toJSON']();let _0x1f3722;if(_0x1f9050){_0x1f3722=_0x1f9050['toJSON']();const _0x4de4f1=_0x1f9050['getId']();_0x542628[_0x4c1d72(0x115)](_0x4de4f1);let _0x4d11d5=!0x0;for(const _0x40c43d in _0x338575[_0x4c1d72(0x1b2)])if(_0x338575[_0x4c1d72(0x1b2)][_0x40c43d][_0x4c1d72(0x21f)]()['includes'](_0x4de4f1)){_0x4d11d5=!0x1;break;}_0x4d11d5&&_0x338575[_0x4c1d72(0x264)](_0x4de4f1);}const _0x168ae3=_0x5b2a3e[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x14d)]={'view':_0x350e46,'changesets':_0x168ae3,'isEmpty':_0x4adeea,'pivotTableConfig':_0x4c0aaa,'shouldBeAddedGroupJSON':_0x1f3722};}break;case k[_0x4c1d72(0x1c5)]:{const _0x3a0332=_0x4a2ee5[_0x4c1d72(0x2f4)]['addPivotTable'];if(!_0x3a0332)return;const _0x53630a=_0x3a0332[_0x4c1d72(0x2d0)],_0x409b49=_0x3a0332['pivotTableId'],{collection:_0x7dda67}=this[_0x4c1d72(0x17a)][_0x4c1d72(0x242)]({'unitId':_0x53630a['unitId'],'sheetName':_0x53630a[_0x4c1d72(0x113)],'subUnitId':_0x53630a[_0x4c1d72(0x1e0)],'range':_0x53630a[_0x4c1d72(0x269)]}),_0x29403e=new _0x2cebe7(_0x7dda67,void 0x0,_0x409b49),_0x6446e5=_0x29403e['query'](),_0x1212ed=_0x29403e['toJSON'](),_0x18d7a5=_0x7dda67['toJSON']();_0x320bbd[_0x4c1d72(0x2f9)]={'view':_0x6446e5,'fieldsConfig':_0x1212ed,'collectionConfig':_0x18d7a5,'isEmpty':_0x29403e[_0x4c1d72(0x282)]()};}break;case k[_0x4c1d72(0x2ad)]:{const _0x1f3ec8=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x1a7)];if(!_0x1f3ec8)return;const {fieldId:_0x3e515b,area:_0x49d968,index:_0x4def2d}=_0x1f3ec8,_0x59f97b=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x59f97b)return;const _0x6e1b22=this[_0x4c1d72(0x17a)][_0x4c1d72(0x1e7)](_0x301cab);if(!_0x6e1b22)return;_0x6e1b22[_0x4c1d72(0x2f1)]();const {area:_0x20274e,index:_0x5e39ce}=_0x6e1b22['getFieldPositionInfoById'](_0x3e515b);if(_0x6e1b22[_0x4c1d72(0x17b)](_0x3e515b,_0x49d968,_0x4def2d),_0x49d968===_0x685aab[_0x4c1d72(0x30b)]&&_0x6e1b22[_0x4c1d72(0x129)](_0x3e515b)[_0x4c1d72(0x170)]()===void 0x0){const _0xcb1e03=_0x6e1b22[_0x4c1d72(0x129)](_0x3e515b);if(_0xcb1e03&&_0xcb1e03['getSubtotal']()===void 0x0){const _0x3703e1=_0x6e1b22[_0x4c1d72(0x27a)](_0x3e515b);if(_0x3703e1){const _0x115bd0=_0x3703e1==null?void 0x0:_0x3703e1[_0x4c1d72(0x116)]();_0x6e1b22['setSubtotalType'](_0x3e515b,_0x115bd0===_0x53a5d7[_0x4c1d72(0x2e8)]?_0x3500b6[_0x4c1d72(0x2ed)]:_0x3500b6[_0x4c1d72(0x1c0)]);}}}const _0x4e9b47=_0x6e1b22['getValuePosition'](),_0x215e3e=_0x6e1b22[_0x4c1d72(0x34a)](),_0x26671b=_0x6e1b22[_0x4c1d72(0x14c)](_0x685aab[_0x4c1d72(0x30b)])>0x1;if(_0x26671b&&_0x20274e===_0x49d968&&(_0x49d968===_0x685aab[_0x4c1d72(0x17f)]&&_0x4e9b47===_0x4c8648[_0x4c1d72(0x17f)]||_0x49d968===_0x685aab[_0x4c1d72(0x199)]&&_0x4e9b47===_0x4c8648[_0x4c1d72(0x199)])){let _0x163cd6=_0x215e3e;_0x5e39ce<=_0x215e3e&&_0x163cd6--,_0x4def2d<=_0x215e3e&&_0x163cd6++,_0x6e1b22[_0x4c1d72(0x349)](_0x4e9b47,_0x163cd6);}else _0x26671b&&(_0x20274e===_0x685aab[_0x4c1d72(0x17f)]&&_0x4e9b47===_0x4c8648['Row']||_0x20274e===_0x685aab['Column']&&_0x4e9b47===_0x4c8648[_0x4c1d72(0x199)])&&_0x215e3e>=_0x5e39ce&&_0x6e1b22[_0x4c1d72(0x349)](_0x4e9b47,_0x215e3e-0x1),_0x26671b&&(_0x49d968===_0x685aab['Row']&&_0x4e9b47===_0x4c8648[_0x4c1d72(0x17f)]||_0x49d968===_0x685aab[_0x4c1d72(0x199)]&&_0x4e9b47===_0x4c8648['Column'])&&_0x215e3e>=_0x4def2d&&_0x6e1b22[_0x4c1d72(0x349)](_0x4e9b47,_0x215e3e+0x1);const _0x5d0356=_0x6e1b22[_0x4c1d72(0x215)](),_0x4a6f65=_0x6e1b22['isEmpty'](),_0x26bb7b=_0x6e1b22['endCollectChangeset']();_0x320bbd[_0x4c1d72(0x1a7)]={'view':_0x5d0356[_0x4c1d72(0x19a)](),'changesets':_0x26bb7b,'isEmpty':_0x4a6f65,'pivotTableConfig':_0x59f97b};}break;case k[_0x4c1d72(0x174)]:{const _0xb2e28b=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x326)];if(!_0xb2e28b)return;const _0x43d1dc=_0xb2e28b[_0x4c1d72(0x1d5)],_0x504d04=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x504d04)return!0x1;const _0x562336=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x301cab);if(!_0x562336)return!0x1;_0x562336['startCollectChangeset']();for(const _0x397db2 of _0x43d1dc){const {area:_0x4f59b8}=_0x562336[_0x4c1d72(0x145)](_0x397db2);_0x4f59b8===_0x685aab[_0x4c1d72(0x30b)]&&_0x562336[_0x4c1d72(0x22f)](_0x397db2),(_0x4f59b8===_0x685aab['Row']||_0x4f59b8===_0x685aab['Column'])&&_0x562336[_0x4c1d72(0x16b)](_0x397db2),_0x562336[_0x4c1d72(0x1a8)](_0x397db2);}const _0x4ed899=_0x562336[_0x4c1d72(0x282)](),_0x4e84a9=_0x562336[_0x4c1d72(0x215)]()['toJSON'](),_0x159957=_0x562336['endCollectChangeset']();_0x320bbd[_0x4c1d72(0x326)]={'changesets':_0x159957,'pivotTableConfig':_0x504d04,'isEmpty':_0x4ed899,'view':_0x4e84a9};}break;case k[_0x4c1d72(0x32f)]:{const _0x24316d=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x230)];if(!_0x24316d)return;const {tableFieldId:_0xbbe242,items:_0x58e564,isAll:_0x5b6f2f}=_0x24316d,_0x445214=this[_0x4c1d72(0x17a)][_0x4c1d72(0x1e7)](_0x301cab),_0x2a6056=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x445214||!_0x2a6056)return;_0x445214[_0x4c1d72(0x2f1)](),_0x445214[_0x4c1d72(0x333)](_0xbbe242,{'type':_0x1c4174[_0x4c1d72(0x212)],'list':_0x58e564,'isAll':_0x5b6f2f});const _0x172759=_0x445214[_0x4c1d72(0x282)](),_0x2e74cb=_0x445214[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x3235e5=_0x445214[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x230)]={'view':_0x2e74cb,'changesets':_0x3235e5,'isEmpty':_0x172759,'pivotTableConfig':_0x2a6056};}break;case k[_0x4c1d72(0x316)]:{const _0x21f435=_0x4a2ee5['params']['setValuePivotFilter'];if(!_0x21f435)return;const {tableFieldId:_0x2df39c,filterInfo:_0xd1a84c}=_0x21f435,_0x45ed0d=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x1e7)](_0x301cab),_0x2b5e0e=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x45ed0d||!_0x2b5e0e)return;_0x45ed0d[_0x4c1d72(0x2f1)](),_0x45ed0d[_0x4c1d72(0x29b)](_0x2df39c,_0xd1a84c);const _0x2ba7d3=_0x45ed0d[_0x4c1d72(0x282)](),_0x19d401=_0x45ed0d['query']()[_0x4c1d72(0x19a)](),_0x164968=_0x45ed0d['endCollectChangeset']();_0x320bbd[_0x4c1d72(0x2da)]={'view':_0x19d401,'changesets':_0x164968,'isEmpty':_0x2ba7d3,'pivotTableConfig':_0x2b5e0e};}break;case k['SetPivotSort']:{const _0xf2d810=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x2ca)];if(!_0xf2d810)return;const {tableFieldId:_0x2d498c,info:_0x17d787}=_0xf2d810,_0x3480ff=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x301cab),_0xec6c63=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x3480ff||!_0xec6c63)return;_0x3480ff['startCollectChangeset'](),_0x3480ff[_0x4c1d72(0x266)](_0x2d498c,_0x17d787);const _0x355bd1=_0x3480ff[_0x4c1d72(0x282)](),_0x37016b=_0x3480ff[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x450470=_0x3480ff[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x2ca)]={'view':_0x37016b,'changesets':_0x450470,'isEmpty':_0x355bd1,'pivotTableConfig':_0xec6c63};}break;case k['SetPivotSetting']:{const _0x6b1e2f=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x162)];if(!_0x6b1e2f)return;const {tableFieldId:_0x4747ed,displayName:_0x2e3380,subtotalType:_0xa7d053,format:_0x3d99f9}=_0x6b1e2f,_0x3e4d88=this[_0x4c1d72(0x17a)][_0x4c1d72(0x1e7)](_0x301cab),_0x4b653e=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x3e4d88||!_0x4b653e)return;_0x3e4d88['startCollectChangeset'](),_0x2e3380!==void 0x0&&_0x3e4d88[_0x4c1d72(0x20f)](_0x4747ed,_0x2e3380),_0xa7d053!==void 0x0&&_0x3e4d88[_0x4c1d72(0x2bc)](_0x4747ed,_0xa7d053),_0x3d99f9!==void 0x0&&_0x3e4d88['setFieldFormat'](_0x4747ed,_0x3d99f9);const _0xf6f08d=_0x3e4d88[_0x4c1d72(0x282)](),_0x1b754b=_0x3e4d88[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x3abf69=_0x3e4d88[_0x4c1d72(0x14f)]();_0x320bbd['setPivotSetting']={'changesets':_0x3abf69,'pivotTableConfig':_0x4b653e,'isEmpty':_0xf6f08d,'view':_0x1b754b};}break;case k[_0x4c1d72(0x237)]:{const _0xa345b=_0x4a2ee5['params'][_0x4c1d72(0x281)];if(!_0xa345b)return;const {dataRangeInfo:_0x385979,unitId:_0x97a5d9,subUnitId:_0x49afd8}=_0xa345b,_0x10a489=this[_0x4c1d72(0x17a)]['getPivotTableConfig'](_0x97a5d9,_0x49afd8,_0x301cab),_0x529ecb=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x301cab);if(!this[_0x4c1d72(0x17a)]['getCollection'](_0x97a5d9,_0x301cab)||!_0x529ecb||!_0x10a489)return;const _0x486927=this[_0x4c1d72(0x17a)][_0x4c1d72(0x24b)](_0x97a5d9,_0x301cab,_0x385979),_0x4583bf=this[_0x4c1d72(0x17a)][_0x4c1d72(0x348)](_0x97a5d9,_0x301cab)[_0x4c1d72(0x19a)](),{collection:_0x8d801a}=this[_0x4c1d72(0x17a)]['createCollectionWithDataRange']({'unitId':_0x385979[_0x4c1d72(0x1bf)],'sheetName':_0x385979[_0x4c1d72(0x113)],'subUnitId':_0x385979[_0x4c1d72(0x1e0)],'range':_0x385979[_0x4c1d72(0x269)]}),_0x1215a9=_0x8d801a[_0x4c1d72(0x19a)]();_0x529ecb['startCollectChangeset']();const _0x68a6b5=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x11e)](_0x97a5d9)[_0x4c1d72(0x1a2)]()||_0x4985e8;_0x529ecb[_0x4c1d72(0x283)](_0x53889d=>{const _0x469f47=_0x4c1d72,_0x122ebb=_0x53889d['getDataFieldId']();if(!_0x8d801a[_0x469f47(0x147)](_0x122ebb)){const _0x2c0ed9=_0x8d801a[_0x469f47(0x1f5)](_0x53889d[_0x469f47(0x16f)]());if(_0x2c0ed9){_0x529ecb['updateFieldSourceInfo'](_0x53889d['getId'](),_0x2c0ed9['getName'](),_0x2c0ed9[_0x469f47(0x205)]());const {area:_0x8b47a4}=_0x529ecb[_0x469f47(0x145)](_0x53889d[_0x469f47(0x205)]());let _0x273392=_0x53889d['getSourceName']();const _0x43bbd1=_0x53889d['getDisplayName']();if(_0x8b47a4===_0x685aab[_0x469f47(0x30b)]){const _0x506b07=_0x53889d[_0x469f47(0x170)]();_0x273392=_0x68a6b5(_0x2c0ed9[_0x469f47(0x34b)](),_0x506b07);}_0x43bbd1!==_0x273392&&_0x529ecb[_0x469f47(0x20f)](_0x53889d['getId'](),_0x273392);}else _0x529ecb['removeField'](_0x53889d[_0x469f47(0x205)]());}});const _0xd121b1=_0x529ecb[_0x4c1d72(0x282)](),_0x1a86e2=_0x529ecb[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x3b4d2d=_0x529ecb[_0x4c1d72(0x14f)]();_0x320bbd['updatePivotSource']={'view':_0x1a86e2,'changesets':_0x3b4d2d,'isEmpty':_0xd121b1,'pivotTableConfig':_0x10a489,'collectionConfig':_0x1215a9,'oldCollectionConfig':_0x4583bf,'deleteIds':_0x486927};}break;case k[_0x4c1d72(0x149)]:{const _0x3985d2=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x349)];if(!_0x3985d2)return;const {position:_0xa64f70,index:_0x3ba4cd}=_0x3985d2,_0x5d90f2=this[_0x4c1d72(0x17a)]['getPivotTableConfig'](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x5d90f2)return!0x1;const _0x10e69f=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x1e7)](_0x301cab);if(!_0x10e69f)return!0x1;_0x10e69f[_0x4c1d72(0x2f1)](),_0x10e69f[_0x4c1d72(0x349)](_0xa64f70,_0x3ba4cd);const _0x17c274=_0x10e69f[_0x4c1d72(0x282)](),_0x3d113a=_0x10e69f[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x3d9ccc=_0x10e69f[_0x4c1d72(0x14f)]();_0x320bbd['updateValuePosition']={'changesets':_0x3d9ccc,'pivotTableConfig':_0x5d90f2,'isEmpty':_0x17c274,'view':_0x3d113a};}break;case k['SetPivotCollapse']:{const _0xf1055e=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x1dd)];if(!_0xf1055e)return;const {tableFieldId:_0x193277,collapse:_0x5e91af,item:_0x4c0599}=_0xf1055e,_0x3d2237=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x301cab),_0x3d7c6b=this[_0x4c1d72(0x17a)]['getPivotTableConfig'](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x3d2237||!_0x3d7c6b)return;_0x3d2237[_0x4c1d72(0x2f1)](),_0x3d2237[_0x4c1d72(0x35a)](_0x193277,_0x5e91af,_0x4c0599);const _0x3a301c=_0x3d2237['isEmpty'](),_0x3ccb2=_0x3d2237[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x3a2f08=_0x3d2237[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x1dd)]={'view':_0x3ccb2,'isEmpty':_0x3a301c,'pivotTableConfig':_0x3d7c6b,'changesets':_0x3a2f08};}break;case k[_0x4c1d72(0x2b3)]:{const _0x28bdc8=_0x4a2ee5['params']['setPivotTableConfig'];if(!_0x28bdc8)return;const {pivotTableConfig:_0x2eba0e}=_0x28bdc8,_0x4fa635=this[_0x4c1d72(0x17a)]['getPivotTableInstance'](_0x301cab),_0xdb608b=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0x4fa635||!_0xdb608b)return;_0x4fa635[_0x4c1d72(0x2f1)](),$i(_0x4fa635,_0x2eba0e);const _0x57a901=_0x4fa635[_0x4c1d72(0x282)](),_0x14eacf=_0x4fa635['query']()['toJSON'](),_0x5317d7=_0x4fa635[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x2ff)]={'view':_0x14eacf,'isEmpty':_0x57a901,'pivotTableConfig':{..._0xdb608b,'fieldsConfig':_0x4fa635[_0x4c1d72(0x19a)]()},'changesets':_0x5317d7};}break;case k[_0x4c1d72(0x102)]:{const _0x425ca8=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x2d1)];if(!_0x425ca8)return;const _0xdbaa7d=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x1e7)](_0x301cab),_0x13cf72=this[_0x4c1d72(0x17a)][_0x4c1d72(0x365)](_0x2f383f,_0x4ab30b,_0x301cab);if(!_0xdbaa7d||!_0x13cf72)return;_0xdbaa7d[_0x4c1d72(0x2f1)](),Yi(_0xdbaa7d,_0x425ca8[_0x4c1d72(0x26d)]);const _0x55b834=_0xdbaa7d[_0x4c1d72(0x215)]()[_0x4c1d72(0x19a)](),_0x501a4b=_0xdbaa7d[_0x4c1d72(0x14f)]();_0x320bbd[_0x4c1d72(0x2d1)]={'view':_0x55b834,'isEmpty':!0x0,'pivotTableConfig':{..._0x13cf72,'fieldsConfig':_0xdbaa7d[_0x4c1d72(0x19a)]()},'changesets':_0x501a4b};}break;case k[_0x4c1d72(0x1d9)]:{const _0x1b1afc=_0x4a2ee5[_0x4c1d72(0x2f4)][_0x4c1d72(0x166)];if(!_0x1b1afc)return;const _0x39056f=_0x1b1afc[_0x4c1d72(0x2d0)],_0x5a5987=_0x1b1afc[_0x4c1d72(0x13c)],{collection:_0x4bf3b7}=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x242)]({'unitId':_0x39056f[_0x4c1d72(0x1bf)],'sheetName':_0x39056f['sheetName'],'subUnitId':_0x39056f[_0x4c1d72(0x1e0)],'range':_0x39056f[_0x4c1d72(0x269)]}),_0x16f523=new _0x2cebe7(_0x4bf3b7,void 0x0,_0x5a5987),_0x15971d=_0x4bf3b7[_0x4c1d72(0x21f)](),{rows:_0x5a2eb2,columns:_0x1d2546,filters:_0x420874,values:_0x1dd50b}=_0x1b1afc[_0x4c1d72(0xf9)];_0x16f523[_0x4c1d72(0x2f1)]();for(const {field:_0xda60c7,selectedItems:_0x3ba09f}of _0x5a2eb2||[]){const _0x3414d3=_0x15971d[_0xda60c7];if(_0x3414d3){const _0x2def4f=_0x16f523[_0x4c1d72(0x2d5)](_0x3414d3,_0x685aab[_0x4c1d72(0x17f)]);_0x3ba09f&&_0x2def4f&&_0x16f523[_0x4c1d72(0x333)](_0x2def4f[_0x4c1d72(0x205)](),{'type':_0x1c4174[_0x4c1d72(0x212)],'list':_0x3ba09f,'isAll':!0x1});}}for(const {field:_0x18d060,selectedItems:_0x127671}of _0x1d2546||[]){const _0x22ad62=_0x15971d[_0x18d060];if(_0x22ad62){const _0x5c8c7b=_0x16f523[_0x4c1d72(0x2d5)](_0x22ad62,_0x685aab[_0x4c1d72(0x199)]);_0x127671&&_0x5c8c7b&&_0x16f523['setLabelFilterInfo'](_0x5c8c7b[_0x4c1d72(0x205)](),{'type':_0x1c4174[_0x4c1d72(0x212)],'list':_0x127671,'isAll':!0x1});}}for(const {field:_0x18c19c,selectedItems:_0x5a2611}of _0x420874||[]){const _0x15a7b2=_0x15971d[_0x18c19c];if(_0x15a7b2){const _0xc7c049=_0x16f523[_0x4c1d72(0x2d5)](_0x15a7b2,_0x685aab[_0x4c1d72(0x1fe)]);_0x5a2611&&_0xc7c049&&_0x16f523[_0x4c1d72(0x333)](_0xc7c049[_0x4c1d72(0x205)](),{'type':_0x1c4174[_0x4c1d72(0x212)],'list':_0x5a2611,'isAll':!0x1});}}for(const {field:_0x1b5c59,subTotalType:_0xad8465,formatString:_0x2ec2f8}of _0x1dd50b||[]){const _0xbc8fa2=_0x4bf3b7[_0x4c1d72(0x1e9)](_0x15971d[_0x1b5c59]);if(!_0xbc8fa2)continue;const _0x1e4739=_0x15971d[_0x1b5c59];if(_0x1e4739){const _0x52c484=_0x16f523[_0x4c1d72(0x2d5)](_0x1e4739,_0x685aab['Value']);if(_0x52c484){if(_0xad8465!==void 0x0){_0x16f523[_0x4c1d72(0x2bc)](_0x52c484[_0x4c1d72(0x205)](),_0xad8465);const _0x5e36a2=this['_sheetsPivotDataSourceModel'][_0x4c1d72(0x11e)](_0x39056f[_0x4c1d72(0x1bf)])[_0x4c1d72(0x1a2)]()||_0x4985e8,_0x5f02d6=_0x4bf3b7[_0x4c1d72(0x338)](_0x1e4739),_0x261432=_0x5e36a2(_0x5f02d6,_0xad8465);_0x16f523[_0x4c1d72(0x20f)](_0x52c484[_0x4c1d72(0x205)](),_0x261432);}else{if(_0xbc8fa2){const _0x3c2b7a=_0xbc8fa2==null?void 0x0:_0xbc8fa2['getFieldDataType']();_0x16f523['setSubtotalType'](_0x52c484[_0x4c1d72(0x205)](),_0x3c2b7a===_0x53a5d7[_0x4c1d72(0x2e8)]?_0x3500b6['sum']:_0x3500b6[_0x4c1d72(0x1c0)]);}}_0x2ec2f8&&_0x16f523[_0x4c1d72(0x1cd)](_0x52c484[_0x4c1d72(0x205)](),_0x2ec2f8);}}}const _0x374523=_0x16f523[_0x4c1d72(0x215)](),_0x4f4b65=_0x16f523[_0x4c1d72(0x19a)](),_0x1f98ee=_0x16f523['isEmpty'](),_0x3cb54b=_0x16f523[_0x4c1d72(0x14f)](),_0x132578=_0x4bf3b7['toJSON']();_0x320bbd['addPivotTableWithConfig']={'view':_0x374523,'fieldsConfig':_0x4f4b65,'collectionConfig':_0x132578,'isEmpty':_0x1f98ee,'changesets':_0x3cb54b};}break;case k[_0x4c1d72(0x259)]:{const _0x18febc=Ai(this[_0x4c1d72(0x150)],_0x4a2ee5);if(!_0x18febc)return;const {range:_0xd7884b,sourceSubUnitId:_0x405e4b,sourceUnitId:_0x5cffe2,formatMap:_0x175a72,indexes:_0x34050d}=_0x18febc;_0x320bbd['drillDown']={'range':_0xd7884b,'sourceSubUnitId':_0x405e4b,'sourceUnitId':_0x5cffe2,'formatMap':_0x175a72,'indexes':_0x34050d};}break;}this[_0x4c1d72(0x24a)][_0x4c1d72(0x225)](lo['id'],{'version':_0x4a2ee5[_0x4c1d72(0x287)],'result':_0x320bbd},{'onlyLocal':!0x0});}));}[_0x4bc323(0x1aa)](){const _0x46428=_0x4bc323;this[_0x46428(0x2a8)](this[_0x46428(0x24a)][_0x46428(0x141)](_0x3f51a4=>{const _0x368e25=_0x46428;if(_0x3f51a4['id']!==uo['id'])return;const _0x531b85=_0x3f51a4['params'];return this[_0x368e25(0x17a)][_0x368e25(0x35b)](_0x531b85[_0x368e25(0x195)]),!0x0;}));}[_0x4bc323(0x35f)](){this['_sheetsPivotDataSourceModel']['collectionChange$']['subscribe'](_0x26a7c5=>{const _0x521e74=_0x3d26;switch(_0x26a7c5['type']){case Le[_0x521e74(0x200)]:_0x26a7c5[_0x521e74(0x183)]&&_0x26a7c5[_0x521e74(0x16a)]&&this[_0x521e74(0x1c8)](_0x26a7c5[_0x521e74(0x32b)],_0x26a7c5['dataRangeInfo'],_0x26a7c5[_0x521e74(0x16a)]);break;case Le[_0x521e74(0x137)]:{const {unitId:_0x3fa52b,subUnitId:_0x26a1ea,token:_0x4e0b3f}=_0x26a7c5;_0x3fa52b&&_0x26a1ea&&_0x4e0b3f&&this[_0x521e74(0x310)](_0x3fa52b,_0x26a1ea,_0x4e0b3f);}break;case Le[_0x521e74(0x108)]:{const {token:_0x4d5e84,oldSourceRangeInfo:_0x2d296c,dataRangeInfo:_0x43bb7b,targetCellInfo:_0x58be96}=_0x26a7c5,{unitId:_0x4e665a,subUnitId:_0x20e43d}=_0x2d296c||{};_0x4e665a&&_0x20e43d&&_0x4d5e84&&this[_0x521e74(0x310)](_0x4e665a,_0x20e43d,_0x4d5e84),_0x43bb7b&&_0x58be96&&this['handleSourceRangeChange'](_0x4d5e84,_0x43bb7b,_0x58be96);}break;}});}[_0x4bc323(0x314)](){const _0x42a1f7=_0x4bc323;this['_sheetsPivotDataSourceModel'][_0x42a1f7(0x20a)][_0x42a1f7(0x1f7)](_0x387aa1=>{const _0x4f52c1=_0x42a1f7;Object[_0x4f52c1(0x1be)](_0x387aa1)['forEach'](_0x161010=>{const _0x408666=_0x4f52c1,_0x4d659c=this[_0x408666(0x17a)][_0x408666(0x30c)](_0x161010);if(_0x4d659c){const _0x3d8927=this['_sheetsPivotDataSourceModel'][_0x408666(0x365)](_0x4d659c==null?void 0x0:_0x4d659c[_0x408666(0x1bf)],_0x4d659c==null?void 0x0:_0x4d659c[_0x408666(0x1e0)],_0x161010);_0x3d8927&&(this[_0x408666(0x1c8)](_0x161010,_0x3d8927['sourceRangeInfo'],_0x3d8927[_0x408666(0x16a)]),this[_0x408666(0x2e7)]([{'unitId':_0x4d659c[_0x408666(0x1bf)],'subUnitId':_0x4d659c[_0x408666(0x1e0)],'token':_0x161010}]));}});});}[_0x4bc323(0x27d)](){const _0x4896bb=_0x4bc323;this[_0x4896bb(0x17a)][_0x4896bb(0x32d)][_0x4896bb(0x1f7)](_0x1ce773=>{const _0x44c5b7=_0x4896bb,{unitId:_0x4c5c9d,subUnitId:_0x191bf6,pivotTableId:_0x216e03}=_0x1ce773;_0x4c5c9d&&_0x191bf6&&_0x216e03&&this[_0x44c5b7(0x2e7)]([{'unitId':_0x4c5c9d,'subUnitId':_0x191bf6,'token':_0x216e03}]);});}[_0x4bc323(0x2e7)](_0x1496fe){const _0x836bfc=_0x4bc323,_0x44dd7d={};_0x1496fe[_0x836bfc(0x1f4)](_0x192a49=>{var _0x554404,_0x129ee8;const {unitId:_0x55a0aa,subUnitId:_0x198171,token:_0x4bbbba}=_0x192a49;_0x44dd7d[_0x55a0aa]=(_0x554404=_0x44dd7d[_0x55a0aa])!=null?_0x554404:{},_0x44dd7d[_0x55a0aa][_0x198171]=(_0x129ee8=_0x44dd7d[_0x55a0aa][_0x198171])!=null?_0x129ee8:{},_0x44dd7d[_0x55a0aa][_0x198171][_0x4bbbba]=!0x0;}),this[_0x836bfc(0x24a)][_0x836bfc(0x225)](Nt['id'],_0x44dd7d);}['removeSourceRangeChange'](_0x8c5748,_0x1dc02b,_0x2b041c){const _0x106674=_0x4bc323;this[_0x106674(0x1b3)][_0x106674(0x19d)](_0x8c5748,_0x1dc02b,[_0x2b041c]);}['handleSourceRangeChange'](_0x288cee,_0x37762c,_0x45218b){const _0x3e5102=_0x4bc323,{unitId:_0x5778d8,subUnitId:_0x50e39a}=_0x37762c;this[_0x3e5102(0x1b3)][_0x3e5102(0x320)](_0x45218b['unitId'],_0x45218b[_0x3e5102(0x1e0)],_0x288cee)&&this[_0x3e5102(0x310)](_0x5778d8,_0x50e39a,_0x288cee);const _0x3b2f02={'sheetId':_0x50e39a,..._0x37762c};this[_0x3e5102(0x1b3)][_0x3e5102(0x228)](_0x45218b[_0x3e5102(0x1bf)],_0x45218b[_0x3e5102(0x1e0)],_0x288cee,{'unitId':_0x45218b[_0x3e5102(0x1bf)],'subUnitId':_0x45218b[_0x3e5102(0x1e0)],'dependencyRanges':[_0x3b2f02],'getDirtyData':(_0x1283be,_0x24b7b2)=>{const _0x6073b4=_0x3e5102,_0x19450d=this['_sheetsPivotDataSourceModel'],_0x340914=_0x19450d['getTargetByPivotId'](_0x288cee);if(!_0x340914)return Vs();const {unitId:_0xc844ea,subUnitId:_0xf5c087}=_0x340914,_0x31cb6f=xs(_0x1283be,_0x24b7b2,_0x37762c);if(_0x31cb6f[_0x6073b4(0x352)]>0x0){const _0x54b242=_0x19450d[_0x6073b4(0x348)](_0x5778d8,_0x288cee),_0x3a8b89=_0x54b242[_0x6073b4(0x21f)](),_0x903504=this['getMatrixFromRunTimeData'](_0x37762c['unitId'],_0x37762c[_0x6073b4(0x1e0)],_0x24b7b2),_0x3f1494={},_0x5d1e85=this[_0x6073b4(0x17a)][_0x6073b4(0x11e)](_0xc844ea)[_0x6073b4(0x1a2)]()||_0x4985e8,_0x3b5420=[];for(const _0x5ba717 of _0x31cb6f){const _0x16b203=_0x5ba717-(_0x37762c[_0x6073b4(0x269)][_0x6073b4(0xf7)]||0x0),_0xef0558=_0x3a8b89[_0x16b203];_0x3b5420[_0x6073b4(0x1b6)](_0xef0558),_0x3f1494[_0xef0558]=_0x54b242['getFieldById'](_0xef0558)['getName'](),_0x19450d['getDataFieldManager'](_0x5778d8)[_0x6073b4(0x22b)](_0xef0558,_0x37762c,_0x16b203,_0x903504);}_0x54b242['getGroupFieldsInfoByIds'](_0x3b5420)[_0x6073b4(0x1f4)](_0xc49087=>{const _0x416ed2=_0x6073b4,[_0x5a12df,_0x592a3a]=_0xc49087,_0x5f3d70=_0x54b242[_0x416ed2(0x1e9)](_0x5a12df),_0x11fb97=_0x54b242[_0x416ed2(0x1e9)](_0x592a3a);_0x5f3d70&&_0x11fb97&&_0x5f3d70[_0x416ed2(0x209)](_0x11fb97);}),_0x54b242[_0x6073b4(0x1bd)]();const _0xfc3c49=_0x19450d[_0x6073b4(0x1e7)](_0x288cee);if(_0xfc3c49){Es(_0xfc3c49,_0x3f1494,_0x5d1e85),_0xfc3c49[_0x6073b4(0x317)](!0x0);const _0x4fd912=_0xfc3c49[_0x6073b4(0x215)](),_0x205fb2=_0x19450d['getPivotTableConfig'](_0xc844ea,_0xf5c087,_0x288cee),_0x1b46e3=_0x19450d[_0x6073b4(0x11e)](_0x5778d8)[_0x6073b4(0x19a)]();_0x19450d[_0x6073b4(0x1f3)](_0xc844ea,_0xf5c087,B[_0x6073b4(0x1d6)],_0x288cee,_0x4fd912,_0x205fb2,_0x1b46e3,!0x0);}}return this[_0x6073b4(0x256)](_0xc844ea,_0xf5c087,_0x288cee);}});}[_0x4bc323(0x1c2)](_0x32e05e,_0x3ad156,_0x2db04f){var _0xff117,_0x396b62;const {arrayFormulaCellData:_0x296a80,unitData:_0x10967d}=_0x2db04f,_0x224f83=(_0xff117=_0x296a80==null?void 0x0:_0x296a80[_0x32e05e])==null?void 0x0:_0xff117[_0x3ad156],_0x5de2e3=(_0x396b62=_0x10967d==null?void 0x0:_0x10967d[_0x32e05e])==null?void 0x0:_0x396b62[_0x3ad156];return{'arrayFormulaCellDataMatrix':_0x224f83,'unitDataMatrix':_0x5de2e3};}[_0x4bc323(0x256)](_0x58b2ce,_0x21130c,_0x333a4a){const _0x2349fb=_0x4bc323,_0x34c399=this[_0x2349fb(0x17a)]['getViewData'](_0x58b2ce,_0x21130c,_0x333a4a),_0x37c846=[],_0x1c3c8e=new _0xfe6c88();if(_0x34c399){const {rangeCache:_0x126037,matrix:_0x3c5d1c,oldRangeCache:_0x1b5993,oldMatrix:_0x252159}=_0x34c399,_0x17a6c4=Bt(_0x1b5993),_0x1d9b37=Bt(_0x126037);_0x37c846[_0x2349fb(0x1b6)](..._0x1d9b37,..._0x17a6c4),_0x252159&&_0x1b5993&&_0x17a6c4[_0x2349fb(0x1f4)](_0x1eaf12=>{const _0x3d6515=_0x2349fb;for(let _0x24cadd=_0x1eaf12[_0x3d6515(0x351)];_0x24cadd<=_0x1eaf12[_0x3d6515(0xed)];_0x24cadd++)for(let _0xa5d3e2=_0x1eaf12[_0x3d6515(0xf7)];_0xa5d3e2<=_0x1eaf12['endColumn'];_0xa5d3e2++)_0x1c3c8e[_0x3d6515(0x243)](_0x24cadd,_0xa5d3e2);}),_0x3c5d1c&&_0x1d9b37&&_0x1d9b37['forEach'](_0x1af645=>{const _0x48ba5c=_0x2349fb;for(let _0x4c8d8e=_0x1af645[_0x48ba5c(0x351)];_0x4c8d8e<=_0x1af645[_0x48ba5c(0xed)];_0x4c8d8e++)for(let _0x301a3c=_0x1af645[_0x48ba5c(0xf7)];_0x301a3c<=_0x1af645[_0x48ba5c(0x2b2)];_0x301a3c++)_0x1c3c8e[_0x48ba5c(0x15e)](_0x4c8d8e,_0x301a3c,_0x3c5d1c['getValue'](_0x4c8d8e,_0x301a3c));});}const _0xdd73ef={};return _0xdd73ef[_0x58b2ce]={[_0x21130c]:Os(_0x37c846)},{'runtimeCellData':{[_0x58b2ce]:{[_0x21130c]:_0x1c3c8e}},'dirtyRanges':_0xdd73ef};}['dispose'](){}};dt=Ns([Ge(0x0,_0x3bbbb8(Q)),Ge(0x1,_0x1edc63),Ge(0x2,_0x3bbbb8(_0x5ff084)),Ge(0x3,_0x3bbbb8(_0xcd8e3b)),Ge(0x4,_0x3bbbb8(_0x6bb955)),Ge(0x5,_0x3bbbb8(_0x2bd25b))],dt);var As=Object[_0x4bc323(0x1fc)],ks=(_0x7938fd,_0x31cce4,_0x4c1847,_0x1407e8)=>{const _0x205e01=_0x4bc323;for(var _0x5e0ac7=_0x1407e8>0x1?void 0x0:_0x1407e8?As(_0x31cce4,_0x4c1847):_0x31cce4,_0x277b36=_0x7938fd[_0x205e01(0x352)]-0x1,_0x94fbdd;_0x277b36>=0x0;_0x277b36--)(_0x94fbdd=_0x7938fd[_0x277b36])&&(_0x5e0ac7=_0x94fbdd(_0x5e0ac7)||_0x5e0ac7);return _0x5e0ac7;},_t=(_0x3e8d9e,_0x42c62f)=>(_0x4338b6,_0x55b52f)=>_0x42c62f(_0x4338b6,_0x55b52f,_0x3e8d9e);let ct=class extends _0x2e1b8a{constructor(_0x5e1473,_0x134c02,_0x537a84,_0x945d2a){const _0x24b48c=_0x4bc323;super(),V(this,'disposableCollection',new _0x44131c()),(this[_0x24b48c(0x14a)]=_0x5e1473,this[_0x24b48c(0xf1)]=_0x134c02,this[_0x24b48c(0x188)]=_0x537a84,this[_0x24b48c(0x1f9)]=_0x945d2a,this[_0x24b48c(0x19e)]());}[_0x4bc323(0x19e)](){const _0x1c7869=_0x4bc323;this[_0x1c7869(0x2a8)](this[_0x1c7869(0xf1)][_0x1c7869(0x274)]({'getMutations':_0x4571e6=>{const _0x50f3f0=_0x1c7869;if(_0x4571e6['id']===_0x547890['id']||_0x4571e6['id']===_0x4d1fd8['id']){const _0x32efea=[],_0x2292a5=[],_0x465304=this[_0x50f3f0(0x188)][_0x50f3f0(0x155)]()[_0x50f3f0(0x24f)](_0x44b8d6=>_0x44b8d6[_0x50f3f0(0x269)]),_0x374688=_0x2d9c39(this[_0x50f3f0(0x14a)]);if(!_0x374688)return{'redos':[],'undos':[]};const {unitId:_0xc71ed7,subUnitId:_0x51a2f4}=_0x374688,_0x349f5f={},_0x48b8c8=this[_0x50f3f0(0x1f9)][_0x50f3f0(0x1cc)](_0xc71ed7,_0x51a2f4);if(_0x48b8c8!=null&&_0x48b8c8[_0x50f3f0(0x18d)])for(const [_0x4109ac,_0x2c9d53]of _0x48b8c8){const {unitId:_0x59e3c0,subUnitId:_0x1933ff,row:_0x50b7ba,col:_0x3ca2fb}=_0x2c9d53[_0x50f3f0(0x16a)];_0x59e3c0===_0x374688[_0x50f3f0(0x1bf)]&&_0x1933ff===_0x374688[_0x50f3f0(0x1e0)]&&(_0x349f5f[_0x50b7ba+'-'+_0x3ca2fb]=_0x4109ac);}return _0x465304&&_0x374688&&_0x465304['forEach'](_0x50844e=>{const _0x6acd99=_0x50f3f0;_0x5824e0[_0x6acd99(0x354)](_0x50844e,(_0xdd6264,_0x80a60c)=>{const _0x5221f2=_0x6acd99,_0x3a6682=_0xdd6264+'-'+_0x80a60c;if(_0x349f5f[_0x3a6682]){const _0x34e8e5=_0x349f5f[_0x3a6682];_0x32efea[_0x5221f2(0x1b6)]({'id':xt['id'],'params':{'unitId':_0xc71ed7,'subUnitId':_0x51a2f4,'pivotTableId':_0x34e8e5}});const _0x35754e=this[_0x5221f2(0x1f9)][_0x5221f2(0x348)](_0xc71ed7,_0x34e8e5),_0x4a3023=this[_0x5221f2(0x1f9)]['getPivotTableConfig'](_0xc71ed7,_0x51a2f4,_0x34e8e5);_0x2292a5[_0x5221f2(0x1b6)]({'id':Ct['id'],'params':{'unitId':_0xc71ed7,'subUnitId':_0x51a2f4,'pivotTableId':_0x34e8e5,'pivotTableConfig':_0x4a3023,'collectionConfig':_0x35754e}});}});}),{'redos':_0x32efea,'undos':_0x2292a5};}return{'redos':[],'undos':[]};}}));}};ct=ks([_t(0x0,_0x39f700),_t(0x1,_0x3bbbb8(_0x452573)),_t(0x2,_0x3bbbb8(_0x30973c)),_t(0x3,_0x3bbbb8(he))],ct);var Hs=Object[_0x4bc323(0x1fc)],Ls=(_0x58e1ca,_0x4e3131,_0x5dbf40,_0x5910b0)=>{const _0x413be6=_0x4bc323;for(var _0x1d0a05=_0x5910b0>0x1?void 0x0:_0x5910b0?Hs(_0x4e3131,_0x5dbf40):_0x4e3131,_0x2e8490=_0x58e1ca[_0x413be6(0x352)]-0x1,_0x24e0a2;_0x2e8490>=0x0;_0x2e8490--)(_0x24e0a2=_0x58e1ca[_0x2e8490])&&(_0x1d0a05=_0x24e0a2(_0x1d0a05)||_0x1d0a05);return _0x1d0a05;},We=(_0x541706,_0x276dca)=>(_0x567073,_0x1aea7d)=>_0x276dca(_0x567073,_0x1aea7d,_0x541706);let ut=class extends _0x2e1b8a{constructor(_0x1d4696,_0x414c76,_0x5ef21b,_0x2c96bb,_0x7cf3d8,_0x439b6f){const _0x40a930=_0x4bc323;super(),this[_0x40a930(0x238)]=_0x1d4696,this[_0x40a930(0xf1)]=_0x414c76,this['_injector']=_0x5ef21b,this['_univerInstanceService']=_0x2c96bb,this[_0x40a930(0x1f9)]=_0x7cf3d8,this[_0x40a930(0x22d)]=_0x439b6f,this[_0x40a930(0xfb)]();}[_0x4bc323(0x143)](_0x1271e8,_0x30d118,_0x1b32da){const _0x67dcf=_0x4bc323,{pageView:_0x4d6cd4,cornerView:_0x35b628,rowView:_0x3011b8,colView:_0xb14dba,dataView:_0x5bcaa1}=_0x30d118,_0x2573ed=_0x1271e8;let _0x5f1540;if(_0x1b32da)_0x5f1540=[...ki(_0x2573ed)];else{const _0x6037fd=ge(_0x2573ed,_0x4d6cd4,!0x0),_0x2faafc=_0x4d6cd4['lastRow']>=0x0?_0x4d6cd4['lastRow']+0x1:0x0,_0x20c002=_0x35b628[_0x67dcf(0x2e4)],_0x4bcac3=_0x35b628[_0x67dcf(0xef)],_0x532ed7=_0x6037fd[_0x67dcf(0x352)]>0x0?It:0x0,_0x2a0044=ge({'row':_0x2573ed[_0x67dcf(0x323)]+_0x2faafc+_0x532ed7,'col':_0x2573ed[_0x67dcf(0x26e)]},_0x35b628,!0x1,!0x1),_0x122249=ge({'row':_0x2573ed['row']+_0x2faafc+_0x532ed7+_0x20c002,'col':_0x2573ed['col']},_0x3011b8,!0x1,!0x0),_0x1f637b=ge({'row':_0x2573ed['row']+_0x2faafc+_0x532ed7,'col':_0x2573ed[_0x67dcf(0x26e)]+_0x4bcac3},_0xb14dba,!0x1,!0x0),_0x4230e0=ge({'row':_0x2573ed[_0x67dcf(0x323)]+_0x2faafc+_0x532ed7+_0x20c002,'col':_0x2573ed[_0x67dcf(0x26e)]+_0x4bcac3},_0x5bcaa1,!0x1,!0x0);_0x5f1540=[..._0x6037fd,..._0x2a0044,..._0x122249,..._0x1f637b,..._0x4230e0];}return _0x5f1540;}[_0x4bc323(0xfb)](){const _0x2d911c=_0x4bc323;this[_0x2d911c(0x2a8)](this[_0x2d911c(0x22d)][_0x2d911c(0x328)]['intercept'](this[_0x2d911c(0x22d)]['interceptor']['getInterceptPoints']()[_0x2d911c(0x2b7)],{'handler':(_0x5555d4,_0x262fda)=>{const _0x262cdd=_0x2d911c,{cellInfo:_0x242b7e,view:_0x10f5f9,isEmpty:_0x47e863}=_0x262fda,_0x3cb195=_0x242b7e,{unitId:_0x27a034,subUnitId:_0x4581d8}=_0x3cb195,_0x2faef7=this['_getPivotAppliedRanges'](_0x242b7e,_0x10f5f9,_0x47e863),_0xbe50b0=this[_0x262cdd(0xf1)][_0x262cdd(0x339)]({'unitId':_0x27a034,'subUnitId':_0x4581d8,'ranges':_0x2faef7}),_0x41b8ce=Go(this[_0x262cdd(0x150)],_0x27a034,_0x4581d8,_0x2faef7);_0x41b8ce[_0x262cdd(0x288)]&&(_0xbe50b0[_0x262cdd(0x335)][_0x262cdd(0x1b6)](_0x41b8ce['setRangeValueRedoMutation']),_0xbe50b0[_0x262cdd(0x2d4)][_0x262cdd(0x1b6)](_0x41b8ce[_0x262cdd(0x239)]));const _0x2e39d6=this[_0x262cdd(0x26f)](_0x10f5f9,_0x242b7e);return _0xbe50b0[_0x262cdd(0x335)][_0x262cdd(0x1b6)](..._0x2e39d6[_0x262cdd(0x335)]),_0xbe50b0[_0x262cdd(0x2d4)][_0x262cdd(0x1b6)](..._0x2e39d6[_0x262cdd(0x2d4)]),{'redos':_0xbe50b0[_0x262cdd(0x335)],'undos':_0xbe50b0[_0x262cdd(0x2d4)]};}}));}[_0x4bc323(0x26f)](_0x2a79eb,_0x5079ec){const _0x175b08=_0x4bc323,{col:_0x52c620,unitId:_0x4ca67a,subUnitId:_0x594ab5}=_0x5079ec,_0x5c4398=[],_0xa73f56=[],_0x1f369a=_0x2d9c39(this[_0x175b08(0x14a)],{'unitId':_0x4ca67a,'subUnitId':_0x594ab5});if(!_0x5079ec||!_0x2a79eb||!_0x1f369a)return{'undos':_0xa73f56,'redos':_0x5c4398};const _0x358f53=this['_sheetsPivotTableConfigModel'][_0x175b08(0x337)](),{colView:_0x1e7960,dataView:_0x1fe424,cornerView:_0x3e4f8a,rowView:_0x2d0742,formatMap:_0x716c2c}=_0x2a79eb,_0x1cec6d=To(_0x1e7960,_0x358f53,!0x0,_0x716c2c),_0x1d1f37=To(_0x2d0742,_0x358f53,!0x1,_0x716c2c),_0x2468c2=Bi(_0x1fe424),_0x338a25=Qi(_0x3e4f8a),{worksheet:_0x36cc60}=_0x1f369a;if(typeof window<'u'&&window['document']){const _0x907700=_0x37c443({...fe['colStyle']}),_0x5b5485=_0x168107[_0x175b08(0x280)](_0x1cec6d,_0x907700)['width']+0x10,_0x3bacf2=_0x168107[_0x175b08(0x280)](_0x2468c2,_0x907700)['width'],_0x5ccbed=Math[_0x175b08(0x345)](Math[_0x175b08(0x321)](_0x5b5485,_0x3bacf2))+0x10,_0x227574=Math['floor'](_0x168107[_0x175b08(0x280)](_0x1d1f37,_0x907700)['width']),_0x2e6bc7=Math[_0x175b08(0x345)](_0x168107[_0x175b08(0x280)](_0x338a25,_0x907700)[_0x175b08(0x193)]),_0xf18f93=Math['max'](_0x227574,_0x2e6bc7,0x28)+0xc,_0x3018ce=_0x1e7960[_0x175b08(0xef)]+_0x3e4f8a[_0x175b08(0xef)],_0x3d5bb4={},_0x422b57={};for(let _0x27726a=_0x52c620;_0x27726a<_0x52c620+_0x3018ce;_0x27726a++){const _0x5a938c=_0x36cc60[_0x175b08(0x120)](_0x27726a);_0x3d5bb4[_0x27726a]=_0x5a938c,_0x27726a-_0x52c620<_0x3e4f8a[_0x175b08(0xef)]?_0x422b57[_0x27726a-_0x52c620]=_0xf18f93:_0x422b57[_0x27726a-_0x52c620]=_0x5ccbed;}_0x5c4398['push']({'id':_0xacd157['id'],'params':{'subUnitId':_0x594ab5,'unitId':_0x4ca67a,'ranges':[{'startColumn':_0x52c620,'endColumn':_0x52c620+_0x3018ce-0x1,'startRow':0x0,'endRow':_0x36cc60[_0x175b08(0x356)]()-0x1}],'colWidth':_0x422b57}}),_0xa73f56[_0x175b08(0x1b6)]({'id':_0xacd157['id'],'params':{'subUnitId':_0x594ab5,'unitId':_0x4ca67a,'ranges':[{'startColumn':_0x52c620,'endColumn':_0x52c620+_0x3018ce-0x1,'startRow':0x0,'endRow':_0x36cc60[_0x175b08(0x356)]()-0x1}],'colWidth':_0x3d5bb4}});}return{'undos':_0xa73f56,'redos':_0x5c4398};}};ut=Ls([We(0x0,_0x3bbbb8(_0x4000e6)),We(0x1,_0x3bbbb8(_0x452573)),We(0x2,_0x3bbbb8(_0x2bd25b)),We(0x3,_0x3bbbb8(_0x39f700)),We(0x4,_0x3bbbb8(he)),We(0x5,_0x3bbbb8(ie))],ut);var Bs=Object[_0x4bc323(0x1fc)],Qs=(_0x4dd9e0,_0xf93f01,_0x4047e4,_0x5f0c22)=>{const _0x2193d3=_0x4bc323;for(var _0x1bbc76=_0x5f0c22>0x1?void 0x0:_0x5f0c22?Bs(_0xf93f01,_0x4047e4):_0xf93f01,_0x1ad331=_0x4dd9e0[_0x2193d3(0x352)]-0x1,_0x36ad34;_0x1ad331>=0x0;_0x1ad331--)(_0x36ad34=_0x4dd9e0[_0x1ad331])&&(_0x1bbc76=_0x36ad34(_0x1bbc76)||_0x1bbc76);return _0x1bbc76;},ke=(_0x1a5250,_0x1db733)=>(_0x881f29,_0x4729b0)=>_0x1db733(_0x881f29,_0x4729b0,_0x1a5250);let ft=class extends _0x2e1b8a{constructor(_0xe36016,_0x4a937e,_0xa96c41,_0x3a42f9,_0x5b3a66,_0x51b993,_0x475151){const _0x578c9e=_0x4bc323;super(),V(this,_0x578c9e(0x1f2),new _0x44131c()),(this['_injector']=_0xe36016,this[_0x578c9e(0x1ce)]=_0x4a937e,this[_0x578c9e(0x24a)]=_0xa96c41,this[_0x578c9e(0x14a)]=_0x3a42f9,this['_sheetsPivotTableConfigModel']=_0x5b3a66,this[_0x578c9e(0x353)]=_0x51b993,this[_0x578c9e(0xf1)]=_0x475151,this[_0x578c9e(0x33a)]());}[_0x4bc323(0x33a)](){const _0xb76e15=_0x4bc323,_0x132209=(_0x37ae22,_0x54ca0a)=>{const _0x3b7f1b=_0x3d26,_0x183566=this['_univerInstanceService'][_0x3b7f1b(0x2ee)](_0x2a9244[_0x3b7f1b(0xfe)]);if(!_0x183566||!(_0x183566==null?void 0x0:_0x183566['getSheetBySheetId'](_0x54ca0a)))return;this[_0x3b7f1b(0x1f2)][_0x3b7f1b(0x2fe)]();const _0x5f1ffa=_0x4bc963=>this['_refRangeHandle'](_0x4bc963,_0x37ae22,_0x54ca0a),_0x4b7e3d=this['_sheetsPivotTableConfigModel'][_0x3b7f1b(0x1cc)](_0x37ae22,_0x54ca0a);if(!(_0x4b7e3d!=null&&_0x4b7e3d[_0x3b7f1b(0x18d)]))return;Array['from'](_0x4b7e3d['values']())[_0x3b7f1b(0x24f)](_0x3dddb0=>{const _0x322243=_0x3b7f1b,{row:_0x1bca3a,col:_0x350fa8}=_0x3dddb0[_0x322243(0x16a)];return _0x3e77f4(_0x1bca3a,_0x350fa8);})[_0x3b7f1b(0x1f4)](_0x3c5ecd=>{const _0x1cb440=_0x3b7f1b;this[_0x1cb440(0x1f2)][_0x1cb440(0x200)](this[_0x1cb440(0x1ce)][_0x1cb440(0x22c)](_0x3c5ecd,_0x5f1ffa,_0x37ae22,_0x54ca0a));});},_0x2e26fc=()=>{const _0x5ac7ed=_0x3d26,_0x27db7a=this[_0x5ac7ed(0x14a)][_0x5ac7ed(0x2ee)](_0x2a9244[_0x5ac7ed(0xfe)]);if(_0x27db7a){const _0x1f1723=_0x27db7a[_0x5ac7ed(0x14b)]();if(!_0x1f1723)return;_0x132209(_0x27db7a[_0x5ac7ed(0x159)](),_0x1f1723[_0x5ac7ed(0x218)]());}};this[_0xb76e15(0x2a8)](this[_0xb76e15(0x24a)][_0xb76e15(0x141)](_0xb50976=>{const _0x6794c7=_0xb76e15;if(_0xb50976['id']===_0x38de89['id']){const _0x216254=_0xb50976[_0x6794c7(0x2f4)],_0x3ccd53=_0x216254['subUnitId'],_0x58b584=_0x216254['unitId'];if(!_0x3ccd53||!_0x58b584)return;_0x132209(_0x58b584,_0x3ccd53);}})),this['disposeWithMe'](this[_0xb76e15(0x1f9)][_0xb76e15(0xeb)][_0xb76e15(0x1f7)](_0x2b6f31=>{_0x2b6f31&&_0x2e26fc();})),this[_0xb76e15(0x2a8)](this[_0xb76e15(0x1f9)]['pivotConfigChange$'][_0xb76e15(0x1f7)](_0x5493d6=>{const _0x1ed59a=_0xb76e15,_0x57492c=_0x2d9c39(this[_0x1ed59a(0x14a)]);if(!_0x57492c)return;const {unitId:_0x54642a,subUnitId:_0x1641d1}=_0x57492c,{unitId:_0x20e883,subUnitId:_0x23acc4}=_0x5493d6;_0x54642a!==_0x20e883||_0x1641d1!==_0x23acc4||_0x132209(_0x54642a,_0x1641d1);})),_0x2e26fc();}[_0x4bc323(0x2fc)](_0x2e26d3,_0x507f71,_0x1e2492){const _0x1e0ab9=_0x4bc323;switch(_0x2e26d3['id']){case _0x198e5d['id']:return this[_0x1e0ab9(0xea)](_0x2e26d3[_0x1e0ab9(0x2f4)],_0x507f71,_0x1e2492);}return{'redos':[],'undos':[]};}[_0x4bc323(0xea)](_0x321a2b,_0x485e78,_0x3e792e){const _0x55595c=_0x4bc323,{fromRange:_0x6af790,toRange:_0x5ad1ba}=_0x321a2b,_0x50e6a3=[],_0x772ff6=[],_0x3c621c=_0x2d9c39(this[_0x55595c(0x14a)]);if(!_0x3c621c)return{'undos':_0x772ff6,'redos':_0x50e6a3};if(_0x485e78!==_0x3c621c['unitId']||_0x3e792e!==_0x3c621c[_0x55595c(0x1e0)])return{'undos':_0x772ff6,'redos':_0x50e6a3};const _0x11cb86=this['_sheetsPivotTableConfigModel'][_0x55595c(0x1cc)](_0x485e78,_0x3e792e);if(_0x11cb86!=null&&_0x11cb86[_0x55595c(0x18d)])for(const [_0x154046,_0x3230ad]of _0x11cb86){const {unitId:_0x4eed80,subUnitId:_0x31a2d1,row:_0x3c7d12,col:_0xe315dc}=_0x3230ad[_0x55595c(0x16a)];if(_0x4eed80===_0x3c621c['unitId']&&_0x31a2d1===_0x3c621c['subUnitId']){const _0x3a5f37=_0x3e77f4(_0x3c7d12,_0xe315dc);if(_0x135959['intersects'](_0x3a5f37,_0x6af790)){const _0xa8790a=_0x3c7d12-_0x6af790[_0x55595c(0x351)],_0xacde17=_0xe315dc-_0x6af790['startColumn'],_0x1ab452={'row':_0x5ad1ba[_0x55595c(0x351)]+_0xa8790a,'col':_0x5ad1ba['startColumn']+_0xacde17};_0x50e6a3['push']({'id':pt['id'],'params':{'unitId':_0x4eed80,'subUnitId':_0x31a2d1,'pivotTableId':_0x154046,'targetCellPosition':_0x1ab452}}),_0x772ff6[_0x55595c(0x1b6)]({'id':pt['id'],'params':{'unitId':_0x4eed80,'subUnitId':_0x31a2d1,'pivotTableId':_0x154046,'targetCellPosition':{'row':_0x3c7d12,'col':_0xe315dc}}});const _0x1e0722=_0x1ab452['row']-_0x3c7d12,_0x10a9d7=_0x1ab452[_0x55595c(0x26e)]-_0xe315dc,_0x109ed9=[],_0x181423=this[_0x55595c(0x353)]['getPivotItemRenderInfoCache'](_0x4eed80,_0x31a2d1,_0x154046),_0x587f3b=_0x181423==null?void 0x0:_0x181423[_0x55595c(0x1b0)];if(_0x587f3b){Object[_0x55595c(0x1be)](_0x587f3b)[_0x55595c(0x1f4)](_0x3a0911=>{_0x587f3b[_0x3a0911]['forEach'](_0x911ed1=>{const _0x25498b=_0x3d26,_0x13e825={..._0x911ed1};_0x13e825['startRow']=_0x911ed1['startRow']+_0x1e0722,_0x13e825[_0x25498b(0xed)]=_0x911ed1[_0x25498b(0xed)]+_0x1e0722,_0x13e825[_0x25498b(0xf7)]=_0x911ed1[_0x25498b(0xf7)]+_0x10a9d7,_0x13e825[_0x25498b(0x2b2)]=_0x911ed1['endColumn']+_0x10a9d7,_0x109ed9['push'](_0x13e825);});});const _0x2b7813=this[_0x55595c(0xf1)][_0x55595c(0x339)]({'unitId':_0x4eed80,'subUnitId':_0x31a2d1,'ranges':_0x109ed9});_0x50e6a3[_0x55595c(0x1b6)](..._0x2b7813[_0x55595c(0x335)]),_0x772ff6[_0x55595c(0x1b6)](..._0x2b7813[_0x55595c(0x2d4)]);const _0x423c47=Go(this[_0x55595c(0x150)],_0x4eed80,_0x31a2d1,_0x109ed9);_0x423c47['shouldClear']&&(_0x50e6a3[_0x55595c(0x1b6)](_0x423c47[_0x55595c(0x1af)]),_0x772ff6['push'](_0x423c47[_0x55595c(0x239)]));}}}}return{'redos':_0x50e6a3,'undos':_0x772ff6};}};ft=Qs([ke(0x0,_0x3bbbb8(_0x2bd25b)),ke(0x1,_0x3bbbb8(_0x341a3c)),ke(0x2,_0xcd8e3b),ke(0x3,_0x39f700),ke(0x4,_0x3bbbb8(he)),ke(0x5,_0x3bbbb8(Ue)),ke(0x6,_0x3bbbb8(_0x452573))],ft);var $s=Object[_0x4bc323(0x1fc)],Ys=(_0x28d396,_0x1ba88f,_0x57ad0b,_0x2c7cf3)=>{const _0x5e6b58=_0x4bc323;for(var _0x12796a=_0x2c7cf3>0x1?void 0x0:_0x2c7cf3?$s(_0x1ba88f,_0x57ad0b):_0x1ba88f,_0x2412eb=_0x28d396[_0x5e6b58(0x352)]-0x1,_0x274688;_0x2412eb>=0x0;_0x2412eb--)(_0x274688=_0x28d396[_0x2412eb])&&(_0x12796a=_0x274688(_0x12796a)||_0x12796a);return _0x12796a;},_o=(_0x4d11dd,_0x430d57)=>(_0x2fab99,_0x18ffa6)=>_0x430d57(_0x2fab99,_0x18ffa6,_0x4d11dd);let gt=class extends _0x2e1b8a{constructor(_0x89ab30,_0x3c657c){const _0x43a8e3=_0x4bc323;super(),this[_0x43a8e3(0xf1)]=_0x89ab30,this[_0x43a8e3(0x1f9)]=_0x3c657c,this[_0x43a8e3(0x11a)]();}['_initRemoveSheetCommandInterceptor'](){const _0x5a804d=_0x4bc323;this[_0x5a804d(0x2a8)](this[_0x5a804d(0xf1)][_0x5a804d(0x274)]({'getMutations':_0x2f642e=>{const _0x5cbfcf=_0x5a804d;if(_0x2f642e['id']===_0x1d7468['id']){const _0x382ae1=[],_0x1f7ed5=[],_0x33756d=_0x2f642e[_0x5cbfcf(0x2f4)],{unitId:_0x56474,subUnitId:_0x3bd4e3}=_0x33756d;if(!_0x56474||!_0x3bd4e3)return{'undos':_0x1f7ed5,'redos':_0x382ae1};const _0x83b6dd=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x56474,_0x3bd4e3);if(_0x83b6dd!=null&&_0x83b6dd[_0x5cbfcf(0x18d)])for(const [_0x1431cd,_0x11bb7f]of _0x83b6dd){_0x382ae1[_0x5cbfcf(0x1b6)]({'id':xt['id'],'params':{'unitId':_0x56474,'subUnitId':_0x3bd4e3,'pivotTableId':_0x1431cd}});const _0x2d2c52={...this[_0x5cbfcf(0x1f9)][_0x5cbfcf(0x348)](_0x56474,_0x1431cd)};_0x1f7ed5[_0x5cbfcf(0x1b6)]({'id':Ct['id'],'params':{'unitId':_0x56474,'subUnitId':_0x3bd4e3,'pivotTableId':_0x1431cd,'pivotTableConfig':_0x11bb7f,'collectionConfig':_0x2d2c52}});}return{'redos':_0x382ae1,'undos':_0x1f7ed5};}return{'redos':[],'undos':[]};}}));}};gt=Ys([_o(0x0,_0x3bbbb8(_0x452573)),_o(0x1,_0x3bbbb8(he))],gt);var Js=Object[_0x4bc323(0x1fc)],js=(_0x3b634a,_0x5e8432,_0x44559f,_0x4e75b0)=>{const _0x455ee7=_0x4bc323;for(var _0x5f1a5f=_0x4e75b0>0x1?void 0x0:_0x4e75b0?Js(_0x5e8432,_0x44559f):_0x5e8432,_0x228e44=_0x3b634a[_0x455ee7(0x352)]-0x1,_0x1d5e8d;_0x228e44>=0x0;_0x228e44--)(_0x1d5e8d=_0x3b634a[_0x228e44])&&(_0x5f1a5f=_0x1d5e8d(_0x5f1a5f)||_0x5f1a5f);return _0x5f1a5f;},Ze=(_0x46bce1,_0x1c77d8)=>(_0x1cef83,_0x2428fd)=>_0x1c77d8(_0x1cef83,_0x2428fd,_0x46bce1);let vt=class extends _0x2e1b8a{constructor(_0x3902dd,_0x5378aa,_0xdfc21e,_0x47920b,_0x22708a,_0x2b2009){const _0x3fa91a=_0x4bc323;super(),this['_commandService']=_0x3902dd,this['_sheetsPivotRpcService']=_0x5378aa,this[_0x3fa91a(0x353)]=_0xdfc21e,this['_sheetsPivotTableConfigModel']=_0x47920b,this['_univerInstanceService']=_0x22708a,this[_0x3fa91a(0x1ef)]=_0x2b2009,this[_0x3fa91a(0x2cc)](),this[_0x3fa91a(0x175)]();}[_0x4bc323(0x2cc)](){const _0x56fcba=_0x4bc323;this[_0x56fcba(0x2a8)](this['_commandService'][_0x56fcba(0x141)](_0x41a08b=>{const _0x177128=_0x56fcba;if(_0x41a08b['id']!==lo['id'])return;const _0x566f4c=_0x41a08b[_0x177128(0x2f4)];this['_sheetsPivotRpcService'][_0x177128(0x191)](_0x566f4c);})),this[_0x56fcba(0x2a8)](this['_commandService'][_0x56fcba(0x141)](_0x1b56c1=>{const _0x7f377f=_0x56fcba;if(_0x1b56c1['id']===co['id']){const _0x4aba79=_0x1b56c1[_0x7f377f(0x2f4)];if(_0x4aba79){const {unitId:_0x3ae081,subUnitId:_0x2bb822,oldSubUnitId:_0x328d56,pivotTableId:_0x497516,pivotTableConfig:_0x1b029c,collectionConfig:_0x20550a}=_0x4aba79;this[_0x7f377f(0x1f9)][_0x7f377f(0x21c)](_0x3ae081,_0x328d56,_0x4aba79['pivotTableId'],null),this[_0x7f377f(0x1f9)][_0x7f377f(0x21c)](_0x3ae081,_0x2bb822,_0x497516,_0x1b029c),this[_0x7f377f(0x1f9)]['updateCollectionConfig'](_0x3ae081,_0x20550a);}}})),this['disposeWithMe'](this[_0x56fcba(0x24a)][_0x56fcba(0x141)](_0x5163cc=>{const _0x1556fe=_0x56fcba;if(_0x5163cc['id']!==Dt['id'])return;const _0x304852=_0x2d9c39(this['_univerInstanceService']);if(!_0x304852)return;const {unitId:_0x568fee,subUnitId:_0x237c6f}=_0x304852,_0x5aee6f=_0x5163cc['params'];if(_0x5aee6f[_0x1556fe(0x132)]&&Object['keys'](_0x5aee6f[_0x1556fe(0x132)])['forEach'](_0x5a3f0e=>{const _0x235a15=_0x1556fe;var _0x3874ab;(_0x3874ab=_0x5aee6f[_0x235a15(0x132)])!=null&&_0x3874ab[_0x5a3f0e]&&this[_0x235a15(0x1f9)][_0x235a15(0x28d)](_0x5a3f0e,_0x5aee6f['collectionConfig'][_0x5a3f0e]);}),_0x5aee6f['single']){const _0x28749d=_0x5aee6f[_0x1556fe(0x1c7)],{unitId:_0x3febc4,subUnitId:_0xfd7d51,view:_0x562c83,pivotTableId:_0x5d1f6e,type:_0x3dbda4,pivotConfig:_0x3fb24d}=_0x28749d;if(_0x3dbda4===B[_0x1556fe(0x226)])this[_0x1556fe(0x353)]['clearRenderCache']({'unitId':_0x3febc4,'subUnitId':_0xfd7d51,'pivotTableId':_0x5d1f6e,'type':_0x3dbda4}),this[_0x1556fe(0x1f9)][_0x1556fe(0x21c)](_0x3febc4,_0xfd7d51,_0x5d1f6e,null);else{const _0x4bc7a2=new _0x1233ce();_0x4bc7a2[_0x1556fe(0x28c)](_0x562c83),this[_0x1556fe(0x1f9)]['updateConfigCache'](_0x3febc4,_0xfd7d51,_0x5d1f6e,_0x3fb24d),this[_0x1556fe(0x353)][_0x1556fe(0x23b)]({'unitId':_0x3febc4,'subUnitId':_0xfd7d51,'pivotTableId':_0x5d1f6e,'type':_0x3dbda4,'view':_0x4bc7a2}),this[_0x1556fe(0x353)][_0x1556fe(0x35e)]({'unitId':_0x3febc4,'subUnitId':_0xfd7d51,'view':_0x4bc7a2,'pivotTableId':_0x5d1f6e,'type':_0x3dbda4});}}else _0x5aee6f['batch']&&(_0x5aee6f[_0x1556fe(0x24c)][_0x1556fe(0x1f4)](_0x297caa=>{const _0x4bdc9b=_0x1556fe,{unitId:_0x21d5a4,subUnitId:_0x367117,view:_0x4bb1df,pivotTableId:_0x2ebe73,type:_0x108bd9,pivotConfig:_0x398de3}=_0x297caa,_0x4ddfcd=new _0x1233ce();_0x4ddfcd['formJSON'](_0x4bb1df),this[_0x4bdc9b(0x1f9)]['updateConfigCache'](_0x21d5a4,_0x367117,_0x2ebe73,_0x398de3),this[_0x4bdc9b(0x353)][_0x4bdc9b(0x35e)]({'unitId':_0x21d5a4,'subUnitId':_0x367117,'view':_0x4ddfcd,'pivotTableId':_0x2ebe73,'type':_0x108bd9});}),this[_0x1556fe(0x1f9)][_0x1556fe(0x298)]());this[_0x1556fe(0x353)][_0x1556fe(0x327)](_0x568fee,_0x237c6f);}));}[_0x4bc323(0x175)](){const _0x5bad4b=_0x4bc323;this[_0x5bad4b(0x1ef)][_0x5bad4b(0x228)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x415622){const _0x5c5861=_0x5bad4b;return{'dirtyUnitFeatureMap':_0x415622[_0x5c5861(0x2f4)]};}});}};vt=js([Ze(0x0,_0x3bbbb8(_0xcd8e3b)),Ze(0x1,_0x3bbbb8(X)),Ze(0x2,_0x3bbbb8(Ue)),Ze(0x3,_0x3bbbb8(he)),Ze(0x4,_0x3bbbb8(_0x39f700)),Ze(0x5,_0x3f8b1a)],vt);var Gs=Object[_0x4bc323(0x2ec)],Ws=Object[_0x4bc323(0x1fc)],Zs=(_0x51ff17,_0x4d947a,_0x3e19aa)=>_0x4d947a in _0x51ff17?Gs(_0x51ff17,_0x4d947a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e19aa}):_0x51ff17[_0x4d947a]=_0x3e19aa,Ks=(_0x25629c,_0x1b7666,_0x19febd,_0x2271ef)=>{const _0x6f4570=_0x4bc323;for(var _0x2273fe=_0x2271ef>0x1?void 0x0:_0x2271ef?Ws(_0x1b7666,_0x19febd):_0x1b7666,_0x1feaca=_0x25629c[_0x6f4570(0x352)]-0x1,_0x3e5b83;_0x1feaca>=0x0;_0x1feaca--)(_0x3e5b83=_0x25629c[_0x1feaca])&&(_0x2273fe=_0x3e5b83(_0x2273fe)||_0x2273fe);return _0x2273fe;},Ft=(_0x350325,_0x4edbd3)=>(_0x2e96a2,_0x462127)=>_0x4edbd3(_0x2e96a2,_0x462127,_0x350325),zo=(_0x3d872e,_0x574862,_0x5bcc5f)=>Zs(_0x3d872e,typeof _0x574862!=_0x4bc323(0x311)?_0x574862+'':_0x574862,_0x5bcc5f);let Vt=class extends _0xe8226f{constructor(_0xf6ac16=yo,_0x540b48,_0x30a2cc,_0x508d4f,_0x204692){const _0x208d39=_0x4bc323;super(),this[_0x208d39(0x25c)]=_0xf6ac16,this[_0x208d39(0x150)]=_0x540b48,this[_0x208d39(0x24a)]=_0x30a2cc,this[_0x208d39(0x1c9)]=_0x508d4f,this['_dataSyncPrimaryController']=_0x204692;const {..._0x246d75}=_0xff5c5c({},yo,this['_config']);this['_configService']['setConfig'](Zo,_0x246d75),this[_0x208d39(0x146)](),this[_0x208d39(0x255)]();}[_0x4bc323(0x255)](){const _0x34dd5f=_0x4bc323;var _0x4de93e;const _0x3d5653=(_0x4de93e=this[_0x34dd5f(0x25c)])==null?void 0x0:_0x4de93e['notExecuteFormula'];this[_0x34dd5f(0x1c9)][_0x34dd5f(0x1bb)](W,_0x3d5653===!0x0);}[_0x4bc323(0x2e9)](){const _0x381940=_0x4bc323;var _0xec2bd8;let _0x242412=[];const _0x226a74=(_0xec2bd8=this[_0x381940(0x25c)])==null?void 0x0:_0xec2bd8['notExecuteFormula'];_0x226a74===!0x0?_0x242412=[[ie],[X],[vt],[Ue],[he],[gt],[ct],[ft],[ut]]:_0x226a74===!0x1?_0x242412=[[Q],[dt]]:_0x226a74===void 0x0&&(_0x242412=[[Q],[dt],[ie],[X],[vt],[Ue],[he],[gt],[ct],[ft],[ut]]),_0x242412['forEach'](_0x486fdd=>this[_0x381940(0x150)][_0x381940(0x200)](_0x486fdd)),[dt,vt,ie,ct,gt,ft,ut][_0x381940(0x1f4)](_0x13e21b=>{const _0x5c16f5=_0x381940;this[_0x5c16f5(0x150)]['has'](_0x13e21b)&&this['_injector'][_0x5c16f5(0x322)](_0x13e21b);});}[_0x4bc323(0x146)](){const _0x32c11=_0x4bc323;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,xt,Qt,Ko,qo,Gt,$t,Yt,Jt,Zt,Wt,pt,ro,lo,Dt,zt,eo,Kt,jt,uo,to,Xt,Nt,co,_s,qt,Fs,Rs][_0x32c11(0x1f4)](_0x3de9ba=>{const _0x574376=_0x32c11;var _0x492711;(_0x492711=this[_0x574376(0x13f)])==null||_0x492711[_0x574376(0x244)](_0x3de9ba),this[_0x574376(0x24a)]['registerCommand'](_0x3de9ba);});}};zo(Vt,_0x4bc323(0x2c5),ao),zo(Vt,_0x4bc323(0x21d),_0x2a9244[_0x4bc323(0xfe)]),Vt=Ks([_0x19b494(_0x3747e8),Ft(0x1,_0x3bbbb8(_0x2bd25b)),Ft(0x2,_0x3bbbb8(_0xcd8e3b)),Ft(0x3,_0x1edc63),Ft(0x4,_0x691527(_0x1087c6))],Vt);export{vs as AddPivotFieldCommand,Qt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,B as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Ho as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Yt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Gt as SetPivotFilterMutation,Wt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,Zt as SetPivotSortMutation,Kt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,qt as SetPivotValueFilterMutation,Q as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ue as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Go as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Ut as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Bt as unionPivotViewRange};