@univerjs-pro/sheets-pivot 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505171606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x20fe61=_0x24f7;(function(_0x19bce2,_0x5906d6){const _0x4070e0=_0x24f7,_0x3152bf=_0x19bce2();while(!![]){try{const _0x2d00ae=-parseInt(_0x4070e0(0x2bd))/0x1+parseInt(_0x4070e0(0x313))/0x2*(parseInt(_0x4070e0(0x142))/0x3)+parseInt(_0x4070e0(0x274))/0x4+-parseInt(_0x4070e0(0x1ff))/0x5*(-parseInt(_0x4070e0(0x280))/0x6)+parseInt(_0x4070e0(0x13c))/0x7+parseInt(_0x4070e0(0x17b))/0x8+-parseInt(_0x4070e0(0xe9))/0x9;if(_0x2d00ae===_0x5906d6)break;else _0x3152bf['push'](_0x3152bf['shift']());}catch(_0x192feb){_0x3152bf['push'](_0x3152bf['shift']());}}}(_0xe971,0xab798));var an=Object[_0x20fe61(0x1d7)],rn=(_0x564e84,_0x42ee27,_0x3f6195)=>_0x42ee27 in _0x564e84?an(_0x564e84,_0x42ee27,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f6195}):_0x564e84[_0x42ee27]=_0x3f6195,V=(_0x5dd7dc,_0x190365,_0x5f3582)=>rn(_0x5dd7dc,typeof _0x190365!='symbol'?_0x190365+'':_0x190365,_0x5f3582);import{PivotCellStyleTypeEnum as _0x5af6c4,PivotViewCellValueTypeEnum as _0x163c5a,isPrefixValue as _0x53c496,isErrorValue as _0xaad51,PivotErrorTypeEnum as _0x57d427,PivotDateGroupFieldDateTypeEnum as _0xf1ca2c,DataFieldManager as _0x5e5a55,FieldsCollection as _0x48ae63,isDateValue as _0x53ac92,DataField as _0x179c63,generateHexNumber as _0xc8469e,isBaseGroupField as _0x5bcd50,PivotTable as _0x22d09c,PivotSubtotalTypeEnum as _0x165b02,PivotTableFiledAreaEnum as _0x15fa2a,excelDateToUnixMilliseconds as _0x3f682a,createValueField as _0x3a5472,createLabelField as _0x134b38,PivotTableChangeTypeEnum as _0x1b6de0,BaseGroupField as _0x391137,PivotView as _0x5a416b,isDateGroupFieldJSON as _0xb45cba,PivotCallbackEnum as _0x548a0d,PivotFilterTypeEnum as _0x38aa0d,getAutoDisplayName as _0x378dd7,PivotDataFieldDataTypeEnum as _0x2c3379,PivotTableValuePositionEnum as _0x655916,isDateGroupField as _0x27a7a3,DateGroupField as _0x1afa2e}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1ceb49,ObjectMatrix as _0x47b566,IUniverInstanceService as _0x191739,UniverInstanceType as _0x4f12fd,CellValueType as _0x2b4a5b,numfmt as _0x2b5a5d,LocaleService as _0x27fdf8,createAsyncInterceptorKey as _0x372123,createInterceptorKey as _0x4b4d50,CommandType as _0x37d043,RANGE_TYPE as _0x2383bd,numberToABC as _0x26f19e,Inject as _0x3b120b,Injector as _0x4a0d8a,LifecycleService as _0x4564bf,IConfigService as _0x45b506,ICommandService as _0x1ad572,IResourceManagerService as _0xa82683,Disposable as _0xf1ed36,Rectangle as _0x5d8cb0,Tools as _0x3400c7,AsyncInterceptorManager as _0x27adbb,InterceptorManager as _0x46745f,InterceptorEffectEnum as _0x5ae043,CustomCommandExecutionError as _0xb197d4,IUndoRedoService as _0x30962f,sequenceExecute as _0x5ea7fe,mergeWorksheetSnapshotWithDefault as _0x382278,generateRandomId as _0x25b618,DEFAULT_WORKSHEET_COLUMN_COUNT as _0xa20dd8,DEFAULT_WORKSHEET_ROW_COUNT as _0x37be6c,DisposableCollection as _0x3bf5a3,Range as _0x42b36f,DependentOn as _0x8bf194,Optional as _0xbb69a9,Plugin as _0x1337c7,merge as _0x6c72bb}from'@univerjs/core';import{ErrorType as _0x2492db,serializeRangeWithSpreadsheet as _0xac9625,IFeatureCalculationManagerService as _0x32603e,GlobalComputingStatusService as _0x77e3c2,IActiveDirtyManagerService as _0xc6e483}from'@univerjs/engine-formula';import{generateNullCell as _0x54da30,SetRangeValuesUndoMutationFactory as _0x35fac7,SetRangeValuesMutation as _0x187977,getSheetCommandTarget as _0x5848f2,InsertRowMutation as _0x84a0fa,RemoveRowMutation as _0x365191,InsertColMutation as _0x411de8,RemoveColMutation as _0x443c45,IExclusiveRangeService as _0x16ba7e,SheetInterceptorService as _0x3016d1,INTERCEPTOR_POINT as _0x20452d,InsertSheetCommand as _0x3dec01,InsertSheetUndoMutationFactory as _0x57e126,RemoveSheetMutation as _0x4f5ce1,InsertSheetMutation as _0x19ba1d,MoveRangeMutation as _0x2ddf89,SheetsSelectionsService as _0x13f15b,ClearSelectionContentCommand as _0x4609be,ClearSelectionAllCommand as _0x588190,SetWorksheetColWidthMutation as _0x478fd8,RefRangeService as _0x480434,SetWorksheetActiveOperation as _0x4ab194,MoveRangeCommand as _0x4dd952,RemoveSheetCommand as _0x1629ad}from'@univerjs/sheets';import{Subject as _0x24768e,BehaviorSubject as _0x5e4f63}from'rxjs';import{LS_CONFIG_KEY as _0x4413b3,unshiftString as _0x444b80,isFeatureAuthorizedWithinTime as _0x2b8673,getSheetFeatureLimit as _0x154243,ReleaseType as _0x57e252,UniverLicensePlugin as _0x4c234d}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4cd99c,RemoveSheetsFilterMutation as _0x391b94}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x2e776a}from'@univerjs/rpc';import{getFontStyleString as _0x5ac0bb,FontCache as _0x253dec}from'@univerjs/engine-render';const Ao=Number[_0x20fe61(0x2fb)](0x68261240),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,ci=_0x20fe61(0x1de),di=_0x20fe61(0x306),wt=_0x20fe61(0x1ce),ui=_0x20fe61(0x250),fi=_0x20fe61(0x250),gi=_0x20fe61(0x1e7),vi='#1d32e9',hi='#FFFFFF',pi=_0x20fe61(0x1b6),mi=_0x20fe61(0x312),Ii=_0x20fe61(0xe5),Ci=_0x20fe61(0x276),bi=0xe,Pi=0x6;var Wo=(_0x2a4172=>(_0x2a4172['Existing']=_0x20fe61(0x13d),_0x2a4172['New']='new',_0x2a4172))(Wo||{});const Bo={'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':''}}},Si=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':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Ti(_0x23a87f,_0x2cf4c8,_0x54a682){const _0xe32f=_0x20fe61,_0x12ba48=_0x23a87f['get'](_0x27fdf8),_0x35a4f9=_0x54a682[_0xe32f(0x174)]('_');switch(_0x2cf4c8){case _0xf1ca2c[_0xe32f(0x12b)]:return _0x12ba48['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x144)]:return _0x12ba48['t'](_0xe32f(0x2f1),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x19e)]:return _0x12ba48['t'](_0xe32f(0x178),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x262)]:return _0x12ba48['t'](_0xe32f(0xcf),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x271)]:return _0x12ba48['t'](_0xe32f(0x311),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x278)]:return _0x12ba48['t'](_0xe32f(0x9d),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x1bd)]:return _0x12ba48['t'](_0xe32f(0x18b),..._0x35a4f9);case _0xf1ca2c['YearMonth']:return _0x12ba48['t'](_0xe32f(0x1df),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x2d4)]:return _0x12ba48['t'](_0xe32f(0x1b3),..._0x35a4f9);case _0xf1ca2c[_0xe32f(0x2f0)]:return _0x12ba48['t'](_0xe32f(0x1b1),..._0x35a4f9);}return'';}const it=(_0x31abc1,_0x110f46,_0x36f72e,_0x533f16)=>{const _0x25d54f=_0x20fe61;let _0x2cda42;const _0x504181=_0x31abc1[_0x25d54f(0x10c)](_0x191739)['getCurrentUnitForType'](_0x4f12fd[_0x25d54f(0x126)]);if(!_0x504181)return null;const _0x3544c8=_0x504181['getStyles']();let _0x5664be;if(_0x36f72e&&(_0x5664be=_0x3544c8['setValue'](_0x36f72e)),_0x110f46!=null&&_0x110f46['v']||(_0x110f46==null?void 0x0:_0x110f46['v'])===0x0){_0x2cda42||(_0x2cda42={});const _0x653c82=Lo(_0x110f46['v']);typeof _0x653c82==_0x25d54f(0x1b2)?_0x2cda42['t']=_0x2b4a5b['NUMBER']:typeof _0x653c82==_0x25d54f(0x2c5)&&(_0x2cda42['t']=_0x2b4a5b['STRING']),_0x2cda42['v']=_0x653c82;}if((_0x110f46!=null&&_0x110f46['i']||(_0x110f46==null?void 0x0:_0x110f46['i'])===0x0)&&(_0x2cda42||(_0x2cda42={}),_0x2cda42['fi']=_0x110f46['i']),_0x110f46!=null&&_0x110f46['s']&&(_0x2cda42||(_0x2cda42={}),_0x2cda42[_0x25d54f(0x2c7)]=_0x110f46['s']),_0x36f72e&&(_0x2cda42||(_0x2cda42={}),_0x2cda42['s']=_0x5664be),_0x533f16&&_0x2cda42!=null&&_0x2cda42['v']&&_0x2cda42['pbt']!==_0x5af6c4[_0x25d54f(0xaa)]&&_0x2cda42['pbt']!==_0x5af6c4[_0x25d54f(0x28c)]){const _0x266f22=String(_0x2cda42['v']),{dateType:_0x48fbad}=_0x533f16;_0x2cda42['v']=Ti(_0x31abc1,_0x48fbad,_0x266f22),_0x2cda42['t']=_0x2b4a5b[_0x25d54f(0x14f)];}return _0x2cda42;},Mi=(_0x369c10,_0x50196a,_0x535344,_0x1a4ce7)=>{const _0x180b89=_0x20fe61;var _0x58a969,_0x536730,_0x2a5630,_0xdfbf5b,_0x2e9b0b,_0x289f54,_0x172cb3,_0x5bfac2,_0x32d740,_0x4dd396,_0x19aed8,_0x5a4dc6,_0x525dc1,_0x5c535d;const _0x597366=_0x535344['targetCellInfo'],{cornerView:_0x258be3,rowView:_0x5e6bcf,colView:_0x3552fd,dataView:_0x3f45de,pageView:_0x1959bf,formatMap:_0x4e21bf,groupInfo:_0x41122b}=_0x50196a,{row:_0x73f0a4,col:_0x57a6e1}=_0x597366,_0x2b464b=new _0x47b566(),_0x42ee06={},_0x3ea849={},_0x152967={},_0xb51001={},_0x1b8cc8={};let _0x4c56e8=_0x73f0a4,_0x22334d=_0x57a6e1;Object['keys'](_0x1959bf[_0x180b89(0x24b)])[_0x180b89(0x19a)](_0x155503=>{const _0x54c104=_0x180b89;Object[_0x54c104(0x2e4)](_0x1959bf[_0x54c104(0x24b)][Number(_0x155503)])[_0x54c104(0x19a)](_0x12d2aa=>{const _0x37d6e0=_0x54c104,_0x13f27a={..._0x1959bf[_0x37d6e0(0x24b)][Number(_0x155503)][Number(_0x12d2aa)]};_0x2b464b[_0x37d6e0(0x15b)](Number(_0x155503)+_0x4c56e8,Number(_0x12d2aa)+_0x22334d,it(_0x369c10,_0x13f27a,fe[_0x37d6e0(0xd4)]));});});const _0x4fcd41=Object[_0x180b89(0x2e4)](_0x1959bf[_0x180b89(0x24b)])[_0x180b89(0x19f)];_0x4c56e8+=_0x4fcd41+(_0x4fcd41?It:0x0);const _0x3e0579=_0x258be3[_0x180b89(0xa6)](),_0x41e565=_0x258be3[_0x180b89(0x1fa)]();for(let _0x1bcb17=0x0;_0x1bcb17<_0x3e0579;_0x1bcb17++)for(let _0x104e92=0x0;_0x104e92<_0x41e565;_0x104e92++){const _0x2d1cca={...(_0x536730=(_0x58a969=_0x258be3['data'])==null?void 0x0:_0x58a969[_0x1bcb17])==null?void 0x0:_0x536730[_0x104e92]};_0x2d1cca&&((_0x2a5630=_0x5e6bcf[_0x180b89(0x181)][_0x104e92])!=null&&_0x2a5630[_0x180b89(0x216)])&&_0x104e92===_0x41e565-0x1&&_0x1bcb17===_0x3e0579-0x1&&(_0x2d1cca['v']=''+_0x1a4ce7['sheets-pivot.value']),_0x2b464b[_0x180b89(0x15b)](_0x1bcb17+_0x4c56e8,_0x104e92+_0x22334d,it(_0x369c10,_0x2d1cca,fe[_0x180b89(0x124)]));}for(let _0x27aeab=0x0;_0x27aeab<_0x258be3['info'][_0x180b89(0x19f)];_0x27aeab++)_0x258be3[_0x180b89(0x318)][_0x27aeab]&&(_0x152967[''+(_0x27aeab+_0x22334d)]=_0x258be3[_0x180b89(0x318)][_0x27aeab]);_0x22334d+=_0x41e565;const _0xe1a971=_0x3552fd['headerMap'],_0x15d77f=_0x3552fd['getLastRow']()>=0x0?_0x3552fd[_0x180b89(0x28f)]()+0x1:0x0,_0x1caebb=_0x3552fd['getLastCol']()>=0x0?_0x3552fd['getLastCol']()+0x1:0x0;for(let _0x350fc9=0x0;_0x350fc9<_0x1caebb;_0x350fc9++){for(let _0xc1537f=0x0;_0xc1537f<_0x15d77f;_0xc1537f++){const _0x6dcd8c={...(_0x2e9b0b=(_0xdfbf5b=_0x3552fd[_0x180b89(0x24b)])==null?void 0x0:_0xdfbf5b[_0xc1537f])==null?void 0x0:_0x2e9b0b[_0x350fc9]},_0xfaba42=(_0x289f54=_0xe1a971[_0xc1537f])==null?void 0x0:_0x289f54[_0x180b89(0x315)],_0x48b132=_0x4e21bf[_0xfaba42],_0x2fbd91=_0x41122b[_0xfaba42];_0x6dcd8c&&(_0x6dcd8c['v']=ht(_0x6dcd8c,_0xc1537f===0x0&&((_0x172cb3=_0x3552fd[_0x180b89(0x2b1)](_0x350fc9+0x1))==null?void 0x0:_0x172cb3[_0x180b89(0x216)]),_0x48b132,_0x1a4ce7));let _0x115926;_0x48b132?_0x115926={...fe[_0x180b89(0xf4)],'n':{'pattern':_0x48b132}}:_0x115926={...fe[_0x180b89(0xf4)]},_0x2b464b['setValue'](_0xc1537f+_0x4c56e8,_0x350fc9+_0x22334d,it(_0x369c10,_0x6dcd8c,_0x115926,_0x2fbd91));}_0x3552fd[_0x180b89(0x318)][_0x350fc9]&&(_0x3ea849[''+(_0x350fc9+_0x22334d)]=_0x3552fd['info'][_0x350fc9]),_0x3552fd['headerMap'][_0x350fc9+0x1]&&(_0x1b8cc8[''+(_0x350fc9+_0x4c56e8+0x1)]=_0x3552fd[_0x180b89(0x181)][_0x350fc9+0x1]);}_0x4c56e8+=_0x3e0579;const _0x11c557=_0x5e6bcf['headerMap'],_0x13be42=_0x5e6bcf['getLastRow']()>=0x0?_0x5e6bcf[_0x180b89(0x28f)]()+0x1:0x0,_0x474dbe=_0x5e6bcf[_0x180b89(0xcb)]()>=0x0?_0x5e6bcf[_0x180b89(0xcb)]()+0x1:0x0;for(let _0x26e885=0x0;_0x26e885<_0x13be42;_0x26e885++){for(let _0x56ec5e=0x0;_0x56ec5e<_0x474dbe;_0x56ec5e++){const _0x346929={...(_0x32d740=(_0x5bfac2=_0x5e6bcf[_0x180b89(0x24b)])==null?void 0x0:_0x5bfac2[_0x26e885])==null?void 0x0:_0x32d740[_0x56ec5e]},_0x5119c2=(_0x4dd396=_0x11c557[_0x56ec5e])==null?void 0x0:_0x4dd396[_0x180b89(0x315)],_0x91f45e=_0x4e21bf[_0x5119c2],_0xd22fcc=_0x41122b[_0x5119c2];_0x346929&&(_0x346929['v']=ht(_0x346929,!0x1,_0x91f45e,_0x1a4ce7));let _0x208001;_0x5e6bcf[_0x180b89(0x318)][_0x26e885]['level']===_0x5e6bcf['getColCount']()?_0x208001=fe[_0x180b89(0x1f9)]:_0x5e6bcf[_0x180b89(0x318)][_0x26e885][_0x180b89(0xe7)]?_0x208001=_0x5e6bcf[_0x180b89(0x318)][_0x26e885][_0x180b89(0xe4)]===0x0?fe['grandTotal']:fe[_0x180b89(0x235)]:_0x208001=fe[_0x180b89(0x218)],_0x91f45e&&(_0x208001={..._0x208001,'n':{'pattern':_0x91f45e}}),_0x2b464b[_0x180b89(0x15b)](_0x26e885+_0x4c56e8,_0x56ec5e+_0x57a6e1,it(_0x369c10,_0x346929,_0x208001,_0xd22fcc));}_0x5e6bcf[_0x180b89(0x318)][_0x26e885]&&(_0x42ee06[''+(_0x26e885+_0x4c56e8)]=_0x5e6bcf['info'][_0x26e885]),_0x5e6bcf[_0x180b89(0x181)][_0x26e885]&&(_0xb51001[''+(_0x26e885+_0x57a6e1)]=_0x5e6bcf[_0x180b89(0x181)][_0x26e885]);}const _0x9a4a3a=_0x3f45de[_0x180b89(0xa6)](),_0x37950e=_0x3f45de['getColCount']();for(let _0x233e63=0x0;_0x233e63<_0x9a4a3a;_0x233e63++)for(let _0x491a18=0x0;_0x491a18<_0x37950e;_0x491a18++){const _0x33334e={...(_0x5a4dc6=(_0x19aed8=_0x3f45de[_0x180b89(0x24b)])==null?void 0x0:_0x19aed8[_0x233e63])==null?void 0x0:_0x5a4dc6[_0x491a18]};let _0x6077ab;_0x5e6bcf[_0x180b89(0x318)][_0x233e63][_0x180b89(0xe7)]?_0x6077ab=_0x5e6bcf[_0x180b89(0x318)][_0x233e63][_0x180b89(0xe4)]===0x0?fe[_0x180b89(0x2fd)]:fe['subTotalStyle']:_0x6077ab=fe['dataStyle'];const _0x43c4db=_0x5e6bcf['info'][_0x233e63][_0x180b89(0x19b)],_0x52a90d=_0x3552fd[_0x180b89(0x318)][_0x491a18][_0x180b89(0x19b)],_0x2c98e=Math['max'](_0x43c4db,_0x52a90d),_0x30db13=_0x535344[_0x180b89(0x2e7)]['valueFields']['concat']();let _0x314e81='';_0x2c98e<0x0?_0x314e81=(_0x525dc1=_0x30db13[0x0])!=null?_0x525dc1:'':_0x314e81=(_0x5c535d=_0x30db13[_0x2c98e])!=null?_0x5c535d:'';const _0x21e539=_0x4e21bf[_0x314e81];_0x21e539&&(_0x6077ab={..._0x6077ab,'n':{'pattern':_0x21e539}}),_0x2b464b[_0x180b89(0x15b)](_0x233e63+_0x4c56e8,_0x491a18+_0x22334d,it(_0x369c10,_0x33334e,_0x6077ab));}return{'valueMatrix':_0x2b464b,'rowInfo':_0x42ee06,'colInfo':_0x3ea849,'cornerInfo':_0x152967,'rowHeaderMap':_0xb51001,'colHeaderMap':_0x1b8cc8};};function ht(_0x3bf868,_0x346e5d,_0x8d7a3e,_0x1d2afb){const _0x4f719e=_0x20fe61;let _0x5405f2=_0x3bf868['v'];_0x346e5d&&(_0x5405f2=''+_0x1d2afb[_0x4f719e(0x1a2)]);const _0x47c25b=_0x3bf868['t']&&(_0x3bf868['t']&_0x163c5a[_0x4f719e(0x1fe)])>0x0;if(_0x47c25b&&(_0x5405f2=''+_0x1d2afb[_0x4f719e(0x189)]),_0x3bf868['s']===_0x5af6c4[_0x4f719e(0x28c)]){let _0x531353=_0x5405f2,_0x45f4c8='';_0x53c496(_0x5405f2)&&(_0x531353=_0x5405f2[_0x4f719e(0x227)],_0x45f4c8=_0x5405f2[_0x4f719e(0x281)]);const _0x179534=_0x8d7a3e&&!_0x47c25b?_0x2b5a5d['format'](_0x8d7a3e,Number(_0x531353)):_0x531353;_0x45f4c8?_0x5405f2=_0x179534+'\x20'+_0x45f4c8:_0x5405f2=_0x179534+'\x20'+_0x1d2afb[_0x4f719e(0x1a6)];}else _0x3bf868['s']===_0x5af6c4[_0x4f719e(0xaa)]&&(_0x5405f2=_0x5405f2+'\x20'+_0x1d2afb['sheets-pivot.grandTotal']);return _0x5405f2;}function Lo(_0x5869ec){const _0x11de79=_0x20fe61;if(_0xaad51(_0x5869ec)){const {errorType:_0x1f139b}=_0x5869ec;switch(_0x1f139b){case _0x57d427[_0x11de79(0x1fc)]:return _0x2492db[_0x11de79(0x2b6)];case _0x57d427['NotNumber']:return _0x2492db[_0x11de79(0x231)];case _0x57d427['NotFunction']:return _0x2492db[_0x11de79(0x252)];case _0x57d427[_0x11de79(0x2d7)]:return _0x2492db[_0x11de79(0x252)];case _0x57d427[_0x11de79(0x147)]:return _0x2492db[_0x11de79(0x272)];}}return _0x5869ec;}function ge(_0x564c5e,_0x5c8354,_0x497eff=!0x1,_0x1e6d1b=!0x1){const _0x2ac813=_0x20fe61,{data:_0x3a622c}=_0x5c8354,_0x4b8255=_0x5c8354[_0x2ac813(0xa6)](),_0x59fc98=_0x5c8354[_0x2ac813(0x1fa)]();if(_0x4b8255<=0x0||_0x59fc98<=0x0)return[];const _0x4c906d=_0x5c8354[_0x2ac813(0xcb)](),_0x11d8c8=_0x5c8354[_0x2ac813(0x28f)](),_0x3f5c83=_0x1e6d1b?_0x11d8c8>=0x0?_0x11d8c8+0x1:0x0:_0x4b8255,_0x56bf41=_0x1e6d1b?_0x4c906d>=0x0?_0x4c906d+0x1:0x0:_0x59fc98,{row:_0x450127,col:_0x2767f6}=_0x564c5e,_0x53251c=_0x450127,_0x4c43e6=_0x2767f6;if(_0x497eff){const _0x10c3c4=[];for(const [_0x2a4861,_0xb4d046]of Object[_0x2ac813(0x1f2)](_0x3a622c))for(const [_0xd2f85f,_0x137411]of Object[_0x2ac813(0x1f2)](_0xb4d046))_0x10c3c4[_0x2ac813(0xc4)](_0x1ceb49(_0x53251c+Number(_0x2a4861),_0x4c43e6+Number(_0xd2f85f)));return _0x10c3c4;}else{const _0x41d99f=_0x1e6d1b?_0x3f5c83>0x0?0x1:0x0:0x1,_0x25ac29=_0x1e6d1b?_0x56bf41>0x0?0x1:0x0:0x1,_0x26d00e=_0x450127+_0x3f5c83-_0x41d99f,_0x5e57cf=_0x2767f6+_0x56bf41-_0x25ac29;return[{'startRow':_0x53251c,'startColumn':_0x4c43e6,'endRow':_0x26d00e,'endColumn':_0x5e57cf}];}}const z='SHEET_PIVOT_IN_MAIN_THREAD',Wt=_0x20fe61(0x115);var A=(_0x12893f=>(_0x12893f['Filter']=_0x20fe61(0x291),_0x12893f[_0x20fe61(0x1c7)]=_0x20fe61(0x1e2),_0x12893f[_0x20fe61(0xed)]=_0x20fe61(0x2f9),_0x12893f[_0x20fe61(0x290)]=_0x20fe61(0x290),_0x12893f[_0x20fe61(0x134)]=_0x20fe61(0x206),_0x12893f[_0x20fe61(0x1b4)]=_0x20fe61(0x18a),_0x12893f[_0x20fe61(0x230)]=_0x20fe61(0x1f8),_0x12893f[_0x20fe61(0x215)]=_0x20fe61(0x270),_0x12893f[_0x20fe61(0x1a0)]=_0x20fe61(0x1be),_0x12893f[_0x20fe61(0x2a7)]=_0x20fe61(0x2f6),_0x12893f[_0x20fe61(0x1c5)]=_0x20fe61(0x249),_0x12893f['UpdatePivotSource']=_0x20fe61(0x187),_0x12893f[_0x20fe61(0x203)]='updateValuePosition',_0x12893f['DrillDown']='drillDown',_0x12893f['SetValuePivotFilter']='setValuePivotFilter',_0x12893f[_0x20fe61(0x1ba)]=_0x20fe61(0x211),_0x12893f[_0x20fe61(0x2d1)]=_0x20fe61(0x317),_0x12893f))(A||{});const yi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x20fe61(0x127),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x20fe61(0x2e3),'sheets-pivot.countName':_0x20fe61(0x1d2),'sheets-pivot.countNumsName':_0x20fe61(0x1d2),'sheets-pivot.maxName':_0x20fe61(0x132),'sheets-pivot.minName':_0x20fe61(0x302),'sheets-pivot.productName':_0x20fe61(0x186),'sheets-pivot.stdDevName':_0x20fe61(0xce),'sheets-pivot.stdDevpName':_0x20fe61(0x159),'sheets-pivot.sumName':_0x20fe61(0x17f),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x20fe61(0x13a),'sheets-pivot.subTotal':_0x20fe61(0x28c),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x20fe61(0x281),'sheets-pivot.blank':_0x20fe61(0x1fe),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x20fe61(0x16e),'sheets-pivot.emptyPivot.column':_0x20fe61(0x1ac),'sheets-pivot.emptyPivot.values':_0x20fe61(0x2b0)},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x372123(_0x20fe61(0x2e6)),qo=_0x4b4d50(_0x20fe61(0x1c9));var Be=(_0x3403b2=>(_0x3403b2[_0x20fe61(0xdf)]=_0x20fe61(0xdf),_0x3403b2[_0x20fe61(0xe8)]='delete',_0x3403b2[_0x20fe61(0xa7)]=_0x20fe61(0xa7),_0x3403b2))(Be||{}),L=(_0x3b983c=>(_0x3b983c[_0x20fe61(0x285)]=_0x20fe61(0xdf),_0x3b983c[_0x20fe61(0x149)]='set',_0x3b983c[_0x20fe61(0x2a5)]='delete',_0x3b983c))(L||{});const $o={0x0:'t',0x1:'S',0x2:'Y',0x3:'y',0x4:'u',0x5:'M',0x6:'p',0x7:'6',0x8:'4',0x9:'E','p':'0','r':'1','L':'2','O':'3','t':'5','Z':'7','C':'8','Q':'9','f':'a','l':'b','m':'c','g':'d','e':'e','z':'f','v':'g','G':'h','P':'i','X':'j','B':'k','N':'l','i':'m','q':'n','k':'o','E':'q','T':'r','W':'s','K':'v','j':'w','M':'x','b':'z','I':'A','h':'B','a':'C','d':'D','y':'F','U':'G','c':'H','Y':'I','n':'J','x':'K','J':'L','F':'N','w':'O','A':'P','u':'Q','D':'R','S':'T','R':'U','s':'V','o':'W','V':'X','H':'Z'},Go=_0x20fe61(0x151),ro={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x138),'handler':()=>!0x0},lo={'type':_0x37d043['MUTATION'],'id':_0x20fe61(0xd3),'handler':()=>!0x0},Dt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x130),'handler':()=>!0x0},co={'type':_0x37d043['MUTATION'],'id':_0x20fe61(0x292),'handler':()=>!0x0},uo={'type':_0x37d043['MUTATION'],'id':_0x20fe61(0x171),'handler':()=>!0x0},wi=_0x37d1d1=>{const _0x1e3d2b=_0x20fe61;var _0x4fcf92;return((_0x4fcf92=_0x37d1d1[_0x1e3d2b(0x30b)])==null?void 0x0:_0x4fcf92[_0x1e3d2b(0x1bb)]['replace'](/\r\n$/,''))||'';};class _i extends _0x5e5a55{constructor(_0x2581fe,_0x3d1e0e){const _0x20b497=_0x20fe61;super(),V(this,_0x20b497(0x172),{}),V(this,_0x20b497(0x260)),V(this,_0x20b497(0x18e)),(this[_0x20b497(0x260)]=_0x3d1e0e,this[_0x20b497(0x18e)]=_0x2581fe);}[_0x20fe61(0x1f0)](){const _0x1789fb=_0x20fe61;for(const _0x55dfad in this[_0x1789fb(0x20f)]){const _0x2d011b=this[_0x1789fb(0x20f)][_0x55dfad],_0xce6484=_0x2d011b[_0x1789fb(0x20d)]();this[_0x1789fb(0x172)][_0xce6484]=_0x2d011b[_0x1789fb(0x1bf)]();}}[_0x20fe61(0x2e1)](){const _0x4ed7be=_0x20fe61,_0x162710=this[_0x4ed7be(0x18e)];return Ei[_0x4ed7be(0x21c)](_0x162710);}[_0x20fe61(0x1e6)](_0x5f5470){const _0x3d81bd=_0x20fe61,_0x2ce612=this[_0x3d81bd(0x20f)][_0x5f5470][_0x3d81bd(0x188)];delete this['dataFields'][_0x5f5470],delete this[_0x3d81bd(0x172)][_0x2ce612];}[_0x20fe61(0x1e5)](_0xb9ecf){const _0x272e0f=_0x20fe61;this['dataFields'][_0xb9ecf[_0x272e0f(0x1bf)]()]=_0xb9ecf;}[_0x20fe61(0x1b8)](_0x1acd1f){const _0x341efb=_0x20fe61;var _0x2c2d8d,_0x1a719c;const _0x20373b=this[_0x341efb(0x18e)]['getTargetByPivotId'](_0x1acd1f);if(_0x20373b){const {unitId:_0x441145,subUnitId:_0x57f4f0}=_0x20373b,_0x2efc5d=(_0x2c2d8d=this[_0x341efb(0x18e)][_0x341efb(0xec)](_0x441145,_0x57f4f0,_0x1acd1f))==null?void 0x0:_0x2c2d8d[_0x341efb(0x14e)];this['_host'][_0x341efb(0x204)]({'token':_0x1acd1f,'type':Be[_0x341efb(0xe8)],'dataRangeInfo':_0x2efc5d});}(_0x1a719c=this['getCollection'](_0x1acd1f))==null||_0x1a719c[_0x341efb(0x164)](),delete this[_0x341efb(0x1cd)][_0x1acd1f];}[_0x20fe61(0x20d)](_0x14f00d,_0x2a9df9){const {sheetName:_0x406c8a,unitId:_0x22b901,range:_0x1fcc66}=_0x14f00d,{startRow:_0x360f07,endRow:_0x517463}=_0x1fcc66;return _0xac9625(_0x22b901,_0x406c8a,{'startRow':_0x360f07,'endRow':_0x517463,'startColumn':_0x2a9df9,'endColumn':_0x2a9df9});}[_0x20fe61(0x243)](_0x1dfc3c){const _0x2b51b7=_0x20fe61;return this['dataFields'][this[_0x2b51b7(0x172)][_0x1dfc3c]];}['setRangeKeyMap'](_0x3fee55,_0x414185){const _0x38de3c=_0x20fe61;this[_0x38de3c(0x172)][_0x3fee55]=_0x414185;}['updateRangeKeyMap'](_0x4cb617,_0x2a001f){const _0x1aee00=_0x20fe61;this[_0x1aee00(0x172)][_0x2a001f]=this[_0x1aee00(0x172)][_0x4cb617],delete this[_0x1aee00(0x172)][_0x4cb617];}[_0x20fe61(0x22c)](_0x246439,_0x5068e1,_0x3ff7ea,_0x33ffcb){const _0x30639e=_0x20fe61,_0x1284c8=new _0x48ae63(this);_0x1284c8[_0x30639e(0x27a)](_0x5068e1);const _0x130bb1=[];let _0x421571=0x0;for(const _0x45cb26 of _0x1284c8['fieldIds']){const _0x40b95c=this['getRangeKey'](_0x3ff7ea,_0x421571),_0x445015=this[_0x30639e(0x20f)][_0x45cb26];_0x445015&&(_0x445015[_0x30639e(0x188)]=_0x40b95c,this[_0x30639e(0x2c6)](_0x40b95c,_0x45cb26),_0x130bb1[_0x30639e(0xc4)]({'index':_0x421571,'dataField':_0x445015})),_0x421571++;}return this['addCollection'](_0x246439,_0x1284c8,_0x3ff7ea,_0x33ffcb),{'collection':_0x1284c8,'updateDataFieldList':_0x130bb1};}[_0x20fe61(0x17a)](_0x517ff7,_0xaab89e){const _0x4e31b1=_0x20fe61;return _0x517ff7['rangeType']===_0x2383bd[_0x4e31b1(0xd8)]?{'startRow':0x0,'startColumn':_0x517ff7['startColumn'],'endRow':_0xaab89e['getRowCount']()-0x1,'endColumn':_0x517ff7[_0x4e31b1(0x24f)]}:{'startRow':_0x517ff7['startRow'],'startColumn':_0x517ff7[_0x4e31b1(0x2dd)],'endRow':_0x517ff7[_0x4e31b1(0x1d9)],'endColumn':_0x517ff7['endColumn']};}[_0x20fe61(0x197)](_0x4a9419){const _0x410d3e=_0x20fe61,{sheetName:_0x13db5b,range:_0x1a8990}=_0x4a9419,_0x38a560=this[_0x410d3e(0x260)][_0x410d3e(0x21d)](_0x4f12fd[_0x410d3e(0x126)]),_0xabfab6=_0x38a560['getSheetBySheetName'](_0x13db5b),_0x1298ba=_0xabfab6['getCellMatrix'](),{startColumn:_0x45249c,startRow:_0x16158e,endColumn:_0x264c04}=this[_0x410d3e(0x17a)](_0x1a8990,_0xabfab6),_0x320945=_0x38a560[_0x410d3e(0x1ae)](),_0x5df5b8=new _0x48ae63(this);_0x5df5b8[_0x410d3e(0x201)](_0x4a9419);const _0xc25f65=[],_0x37a254={};for(let _0x528f89=_0x45249c;_0x528f89<=_0x264c04;_0x528f89++){const _0x3d9241=_0x1298ba[_0x410d3e(0x21f)](_0x16158e,_0x528f89),_0x2a8b8a=this[_0x410d3e(0x20d)](_0x4a9419,_0x528f89),_0x449c7c=this[_0x410d3e(0x243)](_0x2a8b8a);if(_0x449c7c)_0x5df5b8[_0x410d3e(0x228)](_0x449c7c['getId'](),_0x449c7c[_0x410d3e(0x12f)]());else{const _0x5acd29=this['createDataFieldId']();let _0x5f203c=this[_0x410d3e(0xb3)](_0x3d9241,_0x320945,_0x37a254);_0x53ac92(_0x5f203c)&&(_0x5f203c=_0x2b5a5d[_0x410d3e(0xa0)](_0x5f203c['f'],Number(_0x5f203c['v'])));const _0x1ce23=this[_0x410d3e(0x2cd)](_0x5f203c,_0x528f89),_0x1ddbd2=new _0x179c63(_0x5acd29,_0x1ce23,_0xc8469e(0x3));_0x1ddbd2[_0x410d3e(0x188)]=_0x2a8b8a,this[_0x410d3e(0x20f)][_0x5acd29]=_0x1ddbd2,_0x5df5b8[_0x410d3e(0x228)](_0x5acd29,_0x1ce23),_0xc25f65[_0x410d3e(0xc4)]({'index':_0x528f89,'dataField':_0x1ddbd2});}}return{'updateDataFieldList':_0xc25f65,'collection':_0x5df5b8};}[_0x20fe61(0x199)](_0x35cc71){const _0x461a52=_0x20fe61;return this[_0x461a52(0x18e)][_0x461a52(0x263)]()[_0x461a52(0xea)]+'\x20'+_0x26f19e(_0x35cc71);}['uniqueDataFieldName'](_0x3e8cdc,_0x54cbdd){return _0x3e8cdc==null||_0x3e8cdc===''?this['_getAutoName'](_0x54cbdd):String(_0x3e8cdc);}[_0x20fe61(0x295)](_0x515923){return this['collections'][_0x515923];}[_0x20fe61(0x2c3)](_0x48c19d,_0x47cfa9,_0x12428c,_0x4bb675){const _0x1bf1a8=_0x20fe61;this[_0x1bf1a8(0x1cd)][_0x48c19d]=_0x47cfa9,_0x47cfa9[_0x1bf1a8(0x201)](_0x12428c),this[_0x1bf1a8(0x18e)][_0x1bf1a8(0x204)]({'token':_0x48c19d,'type':Be[_0x1bf1a8(0xdf)],'dataRangeInfo':_0x12428c,'targetCellInfo':_0x4bb675});}['handleMoveRange'](_0x282b52,_0xbe8cbb){const _0x514d28=_0x20fe61,_0x5905ac=this[_0x514d28(0x295)](_0x282b52),_0x3dfdee=_0x5905ac[_0x514d28(0x265)]();let _0x3ac53c=0x0;for(const _0x59cafd of _0x3dfdee){const _0xf60746=_0x5905ac['getFieldById'](_0x59cafd),_0x5b16d8=this[_0x514d28(0x20d)](_0xbe8cbb,_0x3ac53c);this[_0x514d28(0x21a)](_0xf60746[_0x514d28(0x188)],_0x5b16d8),_0x3ac53c++;}}[_0x20fe61(0x2b5)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x20fe61(0x232)](_0x1918dd,_0x419f20){const _0x38a054=_0x20fe61;if(this[_0x38a054(0x295)](_0x1918dd)){const _0x3372c4=this[_0x38a054(0x300)](_0x419f20),_0x16b6c3=[];for(const _0x40f63b of _0x3372c4)this[_0x38a054(0x172)][_0x40f63b]!==void 0x0&&_0x16b6c3[_0x38a054(0xc4)](this[_0x38a054(0x172)][_0x40f63b]);const _0x18995b=this[_0x38a054(0x114)](_0x1918dd),_0x3c24ca=[],_0x41b200=new Set(_0x16b6c3);for(const _0x51eb8c of _0x18995b)_0x41b200[_0x38a054(0x296)](_0x51eb8c)||_0x3c24ca[_0x38a054(0xc4)](_0x51eb8c);return _0x3c24ca;}}[_0x20fe61(0x101)](_0x385b40,_0x4b07d6,_0xbd62a1,_0x20e765,_0x1d6a40){const _0x5b713a=_0x20fe61;return _0x4b07d6&&_0x4b07d6[_0x5b713a(0x21f)](_0x20e765,_0x1d6a40)?_0x4b07d6[_0x5b713a(0x21f)](_0x20e765,_0x1d6a40):_0xbd62a1&&_0xbd62a1[_0x5b713a(0x21f)](_0x20e765,_0x1d6a40)?_0xbd62a1['getValue'](_0x20e765,_0x1d6a40):_0x385b40[_0x5b713a(0x21f)](_0x20e765,_0x1d6a40);}['refreshDataField'](_0x3a252c,_0x28cac3,_0x116560,_0x8f4e5a){const _0x9b4e8=_0x20fe61,_0xd2155d=this['dataFields'][_0x3a252c];if(!_0xd2155d)return;const {subUnitId:_0x341b5c,range:_0x34de14,unitId:_0x4c60e2}=_0x28cac3,_0x436818=this[_0x9b4e8(0x260)][_0x9b4e8(0x2a0)](_0x4c60e2);if(!_0x436818){console[_0x9b4e8(0x30d)]('workbook\x20is\x20not\x20found');return;}const _0x4170a9=_0x436818['getSheetBySheetId'](_0x341b5c),_0x56e12f=_0x4170a9[_0x9b4e8(0x29d)](),{arrayFormulaCellDataMatrix:_0x46b683,unitDataMatrix:_0x181b6a}=_0x8f4e5a||{},{startRow:_0x584c1e,startColumn:_0x1dcd3c,endRow:_0x313424}=this['getRangeStartEndInfo'](_0x34de14,_0x4170a9);_0xd2155d[_0x9b4e8(0x102)]();const _0x4fce1f=_0x436818[_0x9b4e8(0x1ae)](),_0x846023={},_0x45b8b5=this[_0x9b4e8(0x101)](_0x56e12f,_0x46b683,_0x181b6a,_0x584c1e,_0x1dcd3c+_0x116560);let _0x28fc10=this['adjustSheetCellData'](_0x45b8b5,_0x4fce1f,_0x846023);_0x53ac92(_0x28fc10)&&(_0x28fc10=_0x2b5a5d[_0x9b4e8(0xa0)](_0x28fc10['f'],Number(_0x28fc10['v'])));const _0x44f14c=this['uniqueDataFieldName'](_0x28fc10,_0x1dcd3c+_0x116560);_0xd2155d[_0x9b4e8(0x1ca)](_0x44f14c);for(let _0x1be324=_0x584c1e+0x1;_0x1be324<=_0x313424;_0x1be324++){const _0x94ca2c=this[_0x9b4e8(0x101)](_0x56e12f,_0x46b683,_0x181b6a,_0x1be324,_0x1dcd3c+_0x116560);_0xd2155d['addRecord'](this[_0x9b4e8(0xb3)](_0x94ca2c,_0x4fce1f,_0x846023),_0x1be324-0x1-_0x584c1e);}}[_0x20fe61(0x1ed)](_0x4a6bc8,_0x3a3f3f,_0x9399e2){const _0x15fce1=_0x20fe61,{subUnitId:_0x7657de,range:_0x2ead54,unitId:_0x2ab3a0}=_0x9399e2,_0x455e22=this[_0x15fce1(0x260)][_0x15fce1(0x2a0)](_0x2ab3a0);if(!_0x455e22){console[_0x15fce1(0x30d)]('workbook\x20is\x20not\x20found');return;}const _0x22dfb6=_0x455e22[_0x15fce1(0x28e)](_0x7657de),_0x124cc3=_0x22dfb6[_0x15fce1(0x29d)](),{startRow:_0x1b591c,startColumn:_0x33d7ca,endRow:_0x1c8ece}=this[_0x15fce1(0x17a)](_0x2ead54,_0x22dfb6),_0x337558=_0x455e22[_0x15fce1(0x1ae)](),_0x24403c={};for(const {dataField:_0x4d742a,index:_0x1d3f9c}of _0x3a3f3f){_0x4d742a[_0x15fce1(0x102)]();const _0xbcf5a0=this[_0x15fce1(0x101)](_0x124cc3,void 0x0,void 0x0,_0x1b591c,_0x33d7ca+_0x1d3f9c);let _0xfa3efc=this[_0x15fce1(0xb3)](_0xbcf5a0,_0x337558,_0x24403c);_0x53ac92(_0xfa3efc)&&(_0xfa3efc=_0x2b5a5d[_0x15fce1(0xa0)](_0xfa3efc['f'],Number(_0xfa3efc['v'])));const _0x43b453=this[_0x15fce1(0x2cd)](_0xfa3efc,_0x33d7ca+_0x1d3f9c);_0x4d742a[_0x15fce1(0x1ca)](_0x43b453);}_0x4a6bc8[_0x15fce1(0x100)]();for(let _0x4ecece=_0x1b591c+0x1;_0x4ecece<=_0x1c8ece;_0x4ecece++)for(const {index:_0x4b7cf2,dataField:_0x4114cb}of _0x3a3f3f){const _0xe36f3d=_0x124cc3[_0x15fce1(0x21f)](_0x4ecece,_0x33d7ca+_0x4b7cf2);_0x4114cb[_0x15fce1(0x1d1)](this[_0x15fce1(0xb3)](_0xe36f3d,_0x337558,_0x24403c),_0x4ecece-0x1-_0x1b591c);}_0x4a6bc8[_0x15fce1(0x2d3)](_0x1c8ece-_0x1b591c);}['getRangeKeyList'](_0x824b49){const _0x5e671e=_0x20fe61,{range:_0x3f2993}=_0x824b49,{startColumn:_0x2c4a9e,endColumn:_0x1ab78e}=_0x3f2993,_0x311394=[];for(let _0x5b374d=_0x2c4a9e;_0x5b374d<=_0x1ab78e;_0x5b374d++)_0x311394[_0x5e671e(0xc4)](this[_0x5e671e(0x20d)](_0x824b49,_0x5b374d));return _0x311394;}[_0x20fe61(0xb3)](_0x47918a,_0x2804db,_0x532c4f){const _0x5e0ab1=_0x20fe61;if(_0x47918a){const {s:_0x24f741,v:_0x27cb53,t:_0x4df9eb,p:_0x5d1ee0}=_0x47918a;if(_0x5d1ee0)return wi(_0x5d1ee0);const _0x34d36c=_0x2804db['get'](_0x24f741);if(_0x34d36c&&_0x4df9eb===_0x2b4a5b[_0x5e0ab1(0x139)]&&_0x34d36c['n']){const {pattern:_0x40fe5f}=_0x34d36c['n'];_0x532c4f[_0x40fe5f]||(_0x532c4f[_0x40fe5f]=_0x2b5a5d[_0x5e0ab1(0x25a)](_0x40fe5f));const _0x3553c0=_0x532c4f[_0x40fe5f],_0x472d27=_0x3553c0[_0x5e0ab1(0x23a)];if(_0x3553c0[_0x5e0ab1(0x217)])return String(_0x27cb53);if(_0x472d27)return{'v':_0x27cb53,'f':_0x40fe5f};}if(_0x4df9eb===_0x2b4a5b[_0x5e0ab1(0x139)])return Number(_0x27cb53);if(_0x4df9eb===_0x2b4a5b['STRING']||_0x4df9eb===_0x2b4a5b[_0x5e0ab1(0xad)])return String(_0x27cb53);if(_0x4df9eb===void 0x0){const _0x4d3a0a=Number(_0x27cb53);if(!Number['isNaN'](_0x4d3a0a)&&String(_0x4d3a0a)===_0x27cb53)return _0x4d3a0a;}return _0x27cb53!=null?_0x27cb53:null;}else return null;}[_0x20fe61(0xde)](_0x546ba4){const _0x543f37=_0x20fe61,{sheetName:_0x253359,range:_0x202e3e,unitId:_0x393f55}=_0x546ba4,_0x46c79f=this[_0x543f37(0x260)][_0x543f37(0x2a0)](_0x393f55);if(!_0x46c79f)return console[_0x543f37(0x30d)](_0x543f37(0x163)),{'header':[],'data':[]};const _0xf415a3=_0x46c79f[_0x543f37(0x297)](_0x253359),_0x3bad1e=_0xf415a3[_0x543f37(0x29d)](),{startRow:_0x39a147,startColumn:_0x4a703e,endRow:_0x4dab75,endColumn:_0xc82e38}=this['getRangeStartEndInfo'](_0x202e3e,_0xf415a3),_0x134afb=_0x46c79f['getStyles'](),_0x27bdd7=[],_0x3d7b0d=[],_0x5bffb2={};for(let _0x477cff=_0x39a147;_0x477cff<=_0x4dab75;_0x477cff++){const _0x45500b=[];for(let _0x3e507e=_0x4a703e;_0x3e507e<=_0xc82e38;_0x3e507e++){const _0x3e61de=_0x3bad1e[_0x543f37(0x21f)](_0x477cff,_0x3e507e);_0x477cff===_0x39a147?_0x27bdd7[_0x543f37(0xc4)](_0x3e61de==null?null:String(_0x3e61de['v'])):_0x45500b['push'](this[_0x543f37(0xb3)](_0x3e61de,_0x134afb,_0x5bffb2));}_0x3d7b0d['push'](_0x45500b);}return{'header':_0x27bdd7,'data':_0x3d7b0d};}[_0x20fe61(0x11f)](){return super['toJSON']();}[_0x20fe61(0x27a)](_0x56569d){const _0x21a177=_0x20fe61;super[_0x21a177(0x27a)](_0x56569d),this[_0x21a177(0x1f0)]();}[_0x20fe61(0x164)](){const _0x5a7665=_0x20fe61;super[_0x5a7665(0x164)](),this[_0x5a7665(0x172)]={},this['_host']=null;}}const Fi=_0x4da969=>{const _0x33b820=_0x20fe61,{targetCellInfo:_0xaedf7}=_0x4da969,{matrixCache:_0x3dd169,rangesCache:_0x22b028}=Jo({'filter':_0x33b820(0x1ab),'row':'Row','column':'Column','values':_0x33b820(0x2b0)},_0xaedf7),_0x2a95a0=new _0x47b566();return _0x3dd169['forValue']((_0x242f5e,_0x3faf5f,_0x3728d1)=>{const _0x5d00cd=_0x33b820;_0x2a95a0[_0x5d00cd(0x15b)](_0x242f5e,_0x3faf5f,_0x3728d1);}),{'matrix':_0x2a95a0,'rangesCache':_0x22b028};},st=_0x4481f3=>{const _0x308be1=_0x20fe61;let _0x34eacd;if(_0x4481f3!=null&&_0x4481f3['v']||(_0x4481f3==null?void 0x0:_0x4481f3['v'])===0x0){_0x34eacd||(_0x34eacd={});const _0x52f3d1=Lo(_0x4481f3['v']);typeof _0x52f3d1==_0x308be1(0x1b2)?_0x34eacd['t']=_0x2b4a5b[_0x308be1(0x139)]:typeof _0x52f3d1==_0x308be1(0x2c5)&&(_0x34eacd['t']=_0x2b4a5b[_0x308be1(0x14f)]),_0x34eacd['v']=_0x52f3d1;}return _0x34eacd;},Ri=(_0x121fe8,_0x16eaec,_0x5430c6)=>{const _0x2a1679=_0x20fe61;var _0x2559b1,_0x2ddaf9,_0x8eae27,_0x5eb77a,_0x196200,_0x2be33b,_0x4ea528,_0x18bd14,_0x14acc1,_0x1f70c6,_0x1fca8d,_0x547a89;const {cornerView:_0x2e5566,rowView:_0x4b6009,colView:_0x44d7bb,dataView:_0x4a5cf7,pageView:_0x1004af,formatMap:_0x5289d9}=_0x121fe8,{row:_0x6d113b,col:_0x3e5d9e}=_0x16eaec,_0x46d3fd=new _0x47b566();let _0x1d75a6=_0x6d113b,_0x5e6654=_0x3e5d9e;Object[_0x2a1679(0x2e4)](_0x1004af[_0x2a1679(0x24b)])[_0x2a1679(0x19a)](_0x511b79=>{const _0x114a2b=_0x2a1679;Object['keys'](_0x1004af['data'][Number(_0x511b79)])[_0x114a2b(0x19a)](_0x2e2af5=>{const _0x1d0fd2=_0x114a2b,_0x2a35c3={..._0x1004af[_0x1d0fd2(0x24b)][Number(_0x511b79)][Number(_0x2e2af5)]};_0x46d3fd[_0x1d0fd2(0x15b)](Number(_0x511b79)+_0x1d75a6,Number(_0x2e2af5)+_0x5e6654,st(_0x2a35c3));});});const _0x960250=Object[_0x2a1679(0x2e4)](_0x1004af[_0x2a1679(0x24b)])[_0x2a1679(0x19f)];_0x1d75a6+=_0x960250+(_0x960250?It:0x0);const _0x552d76=_0x2e5566['getRowCount'](),_0x2db0d6=_0x2e5566[_0x2a1679(0x1fa)]();for(let _0x395556=0x0;_0x395556<_0x552d76;_0x395556++)for(let _0x95abf=0x0;_0x95abf<_0x2db0d6;_0x95abf++){const _0x40ef44={...(_0x2ddaf9=(_0x2559b1=_0x2e5566[_0x2a1679(0x24b)])==null?void 0x0:_0x2559b1[_0x395556])==null?void 0x0:_0x2ddaf9[_0x95abf]};_0x40ef44&&((_0x8eae27=_0x4b6009['headerMap'][_0x95abf])!=null&&_0x8eae27['isValue'])&&_0x95abf===_0x2db0d6-0x1&&_0x395556===_0x552d76-0x1&&(_0x40ef44['v']=''+_0x5430c6[_0x2a1679(0x1a2)]),_0x46d3fd[_0x2a1679(0x15b)](_0x395556+_0x1d75a6,_0x95abf+_0x5e6654,st(_0x40ef44));}_0x5e6654+=_0x2db0d6;const _0x4e190f=_0x44d7bb[_0x2a1679(0x181)],_0x5797a0=_0x44d7bb['getLastRow']()>=0x0?_0x44d7bb['getLastRow']()+0x1:0x0,_0x1b7f94=_0x44d7bb[_0x2a1679(0xcb)]()>=0x0?_0x44d7bb[_0x2a1679(0xcb)]()+0x1:0x0;for(let _0x5370d2=0x0;_0x5370d2<_0x1b7f94;_0x5370d2++)for(let _0x44707a=0x0;_0x44707a<_0x5797a0;_0x44707a++){const _0x2713bd={...(_0x196200=(_0x5eb77a=_0x44d7bb['data'])==null?void 0x0:_0x5eb77a[_0x5370d2])==null?void 0x0:_0x196200[_0x44707a]},_0x184ef1=(_0x2be33b=_0x4e190f[_0x5370d2])==null?void 0x0:_0x2be33b[_0x2a1679(0x315)],_0x48e8a4=_0x5289d9[_0x184ef1];_0x2713bd&&(_0x2713bd['v']=ht(_0x2713bd,_0x5370d2===0x0&&((_0x4ea528=_0x44d7bb[_0x2a1679(0x2b1)](_0x44707a+0x1))==null?void 0x0:_0x4ea528[_0x2a1679(0x216)]),_0x48e8a4,_0x5430c6)),_0x46d3fd[_0x2a1679(0x15b)](_0x5370d2+_0x1d75a6,_0x44707a+_0x5e6654,st(_0x2713bd));}_0x1d75a6+=_0x552d76;const _0x1176fd=_0x4b6009[_0x2a1679(0x181)],_0x585736=_0x4b6009[_0x2a1679(0x28f)]()>=0x0?_0x4b6009[_0x2a1679(0x28f)]()+0x1:0x0,_0x18e0f0=_0x4b6009['getLastCol']()>=0x0?_0x4b6009[_0x2a1679(0xcb)]()+0x1:0x0;for(let _0x51c42a=0x0;_0x51c42a<_0x585736;_0x51c42a++)for(let _0x158c2f=0x0;_0x158c2f<_0x18e0f0;_0x158c2f++){const _0x38e29a={...(_0x14acc1=(_0x18bd14=_0x4b6009[_0x2a1679(0x24b)])==null?void 0x0:_0x18bd14[_0x51c42a])==null?void 0x0:_0x14acc1[_0x158c2f]},_0xb55c88=(_0x1f70c6=_0x1176fd[_0x158c2f])==null?void 0x0:_0x1f70c6[_0x2a1679(0x315)],_0x171784=_0x5289d9[_0xb55c88];_0x38e29a&&(_0x38e29a['v']=ht(_0x38e29a,!0x1,_0x171784,_0x5430c6)),_0x46d3fd[_0x2a1679(0x15b)](_0x51c42a+_0x1d75a6,_0x158c2f+_0x3e5d9e,st(_0x38e29a));}const _0xaa6e01=_0x4a5cf7[_0x2a1679(0xa6)](),_0x359dac=_0x4a5cf7['getColCount']();for(let _0x476cc9=0x0;_0x476cc9<_0xaa6e01;_0x476cc9++)for(let _0x351b50=0x0;_0x351b50<_0x359dac;_0x351b50++){const _0x4a0890={...(_0x547a89=(_0x1fca8d=_0x4a5cf7[_0x2a1679(0x24b)])==null?void 0x0:_0x1fca8d[_0x476cc9])==null?void 0x0:_0x547a89[_0x351b50]};_0x46d3fd[_0x2a1679(0x15b)](_0x476cc9+_0x1d75a6,_0x351b50+_0x5e6654,st(_0x4a0890));}return _0x46d3fd;},Di=_0x1cd1ac=>{const _0x245ffa=_0x20fe61,{view:_0x5723ed,targetCellInfo:_0x2da61e,isEmpty:_0x8591dc,textInfo:_0x48250c}=_0x1cd1ac;if(_0x8591dc)return Fi(_0x1cd1ac);const {pageView:_0x4cdf4f,cornerView:_0x1a0527,rowView:_0x226307,colView:_0x5d89b6,dataView:_0x5ed076}=_0x5723ed,_0x4190da=ge(_0x2da61e,_0x4cdf4f,!0x0),_0x5f4244=_0x4cdf4f['lastRow']>=0x0?_0x4cdf4f[_0x245ffa(0x19d)]+0x1:0x0,_0x59d616=_0x1a0527[_0x245ffa(0xa6)](),_0x4c8647=_0x1a0527['getColCount'](),_0x5f4ed2=_0x4190da[_0x245ffa(0x19f)]>0x0?It:0x0,_0x5a4bea=ge({'row':_0x2da61e[_0x245ffa(0x28d)]+_0x5f4244+_0x5f4ed2,'col':_0x2da61e['col']},_0x1a0527,!0x1,!0x1),_0x4e10a2=ge({'row':_0x2da61e['row']+_0x5f4244+_0x5f4ed2+_0x59d616,'col':_0x2da61e[_0x245ffa(0x2fa)]},_0x226307,!0x1,!0x0),_0xda6dba=ge({'row':_0x2da61e[_0x245ffa(0x28d)]+_0x5f4244+_0x5f4ed2,'col':_0x2da61e[_0x245ffa(0x2fa)]+_0x4c8647},_0x5d89b6,!0x1,!0x0),_0x4254d2=ge({'row':_0x2da61e['row']+_0x5f4244+_0x5f4ed2+_0x59d616,'col':_0x2da61e[_0x245ffa(0x2fa)]+_0x4c8647},_0x5ed076,!0x1,!0x1),_0x159c41={'rowRanges':_0x4e10a2,'colRanges':_0xda6dba,'cornerRanges':_0x5a4bea,'dataRanges':_0x4254d2,'pageRanges':_0x4190da};return{'matrix':Ri(_0x5723ed,_0x2da61e,_0x48250c),'rangesCache':_0x159c41};};var Ni=Object[_0x20fe61(0x16f)],Ui=(_0x78adca,_0x4e14b9,_0x2fbcc7,_0x250bda)=>{const _0x26e60b=_0x20fe61;for(var _0x77e70b=_0x250bda>0x1?void 0x0:_0x250bda?Ni(_0x4e14b9,_0x2fbcc7):_0x4e14b9,_0x32c1bc=_0x78adca[_0x26e60b(0x19f)]-0x1,_0x3abb22;_0x32c1bc>=0x0;_0x32c1bc--)(_0x3abb22=_0x78adca[_0x32c1bc])&&(_0x77e70b=_0x3abb22(_0x77e70b)||_0x77e70b);return _0x77e70b;},je=(_0x48f43c,_0x5ce689)=>(_0x311f5d,_0x42f77e)=>_0x5ce689(_0x311f5d,_0x42f77e,_0x48f43c);let q=class extends _0xf1ed36{constructor(_0x1133c7,_0x4b23de,_0x27328,_0x4013f5,_0x10207f,_0x3e5d5e){const _0x3b6142=_0x20fe61;super(),V(this,'_model',new Map()),V(this,_0x3b6142(0xc5),new Map()),V(this,_0x3b6142(0x1fd),new Map()),V(this,_0x3b6142(0x261)),V(this,_0x3b6142(0x288),new _0x24768e()),V(this,_0x3b6142(0x1e3),this[_0x3b6142(0x288)][_0x3b6142(0x2da)]()),V(this,_0x3b6142(0x2a1),new _0x24768e()),V(this,_0x3b6142(0x1ea),this[_0x3b6142(0x2a1)][_0x3b6142(0x2da)]()),V(this,_0x3b6142(0xa3),new _0x24768e()),V(this,_0x3b6142(0xd6),this[_0x3b6142(0xa3)][_0x3b6142(0x2da)]()),V(this,_0x3b6142(0x29a),new Map()),V(this,_0x3b6142(0x30c),[]),V(this,'_queryingMap',new Map()),(this[_0x3b6142(0x1a3)]=_0x1133c7,this[_0x3b6142(0x260)]=_0x4b23de,this['_lifecycleService']=_0x27328,this[_0x3b6142(0xac)]=_0x4013f5,this[_0x3b6142(0x10f)]=_0x10207f,this[_0x3b6142(0x30a)]=_0x3e5d5e,this[_0x3b6142(0x2a3)]());}[_0x20fe61(0x263)](){const _0x282551=_0x20fe61;return this['_textInfo']?this[_0x282551(0x261)]:yi;}[_0x20fe61(0x190)](_0x5331d5){const _0x3509a3=_0x20fe61;this[_0x3509a3(0x261)]=_0x5331d5;}[_0x20fe61(0x196)](_0x2ba9f9){const _0x40ca41=_0x20fe61;var _0x5da622;const {from:_0x5154e3,to:_0x1512fb,unitId:_0x3b9a32,fromRange:_0x1a14d1,toRange:_0x35f538}=_0x2ba9f9;if(_0x5154e3&&_0x1512fb){const _0x3e3974=this['getDataFieldManager'](_0x3b9a32),_0x413b0c=this['_model']['get'](_0x3b9a32),_0x38ce03=(_0x5da622=this[_0x40ca41(0x260)][_0x40ca41(0x2a0)](_0x3b9a32))==null?void 0x0:_0x5da622[_0x40ca41(0x28e)](_0x1512fb[_0x40ca41(0x10a)]);if(!_0x413b0c||!_0x38ce03)return;const _0x5c7ce3=_0x38ce03==null?void 0x0:_0x38ce03[_0x40ca41(0x12f)]();for(const [_0x2e0fb3,_0x1f91cf]of _0x413b0c[_0x40ca41(0x1f2)]())for(const [_0x5c408a,_0x374ca5]of _0x1f91cf[_0x40ca41(0x1f2)]()){const {sourceRangeInfo:_0x6502b1}=_0x374ca5;if(_0x6502b1[_0x40ca41(0x29e)]===_0x3b9a32&&_0x6502b1['subUnitId']===_0x5154e3[_0x40ca41(0x10a)]&&_0x5d8cb0[_0x40ca41(0x308)](_0x1a14d1,_0x6502b1[_0x40ca41(0x152)])){const _0x48875e={'row':_0x6502b1[_0x40ca41(0x152)][_0x40ca41(0x210)]-_0x1a14d1[_0x40ca41(0x210)],'col':_0x6502b1['range'][_0x40ca41(0x2dd)]-_0x1a14d1['startColumn']},_0x5bad0d={'unitId':_0x3b9a32,'subUnitId':_0x1512fb['subUnitId'],'sheetName':_0x5c7ce3,'range':{'startRow':_0x35f538[_0x40ca41(0x210)]+_0x48875e['row'],'endRow':_0x35f538[_0x40ca41(0x210)]+_0x48875e['row']+_0x6502b1[_0x40ca41(0x152)][_0x40ca41(0x1d9)]-_0x6502b1[_0x40ca41(0x152)][_0x40ca41(0x210)],'startColumn':_0x35f538[_0x40ca41(0x2dd)]+_0x48875e['col'],'endColumn':_0x35f538[_0x40ca41(0x2dd)]+_0x48875e['col']+_0x6502b1['range'][_0x40ca41(0x24f)]-_0x6502b1[_0x40ca41(0x152)][_0x40ca41(0x2dd)]}};_0x3e3974[_0x40ca41(0x196)](_0x5c408a,_0x5bad0d);const _0x3d00bc={..._0x374ca5,'sourceRangeInfo':_0x5bad0d};this[_0x40ca41(0x264)](_0x3b9a32,_0x1512fb[_0x40ca41(0x10a)],_0x5c408a,_0x3d00bc),this[_0x40ca41(0x204)]({'unitId':_0x3b9a32,'token':_0x5c408a,'type':Be['update'],'oldSourceRangeInfo':_0x6502b1,'dataRangeInfo':_0x5bad0d,'targetCellInfo':_0x374ca5['targetCellInfo']}),this['updateConfig']({'unitId':_0x3b9a32,'subUnitId':_0x1512fb[_0x40ca41(0x10a)],'oldSubUnitId':_0x2e0fb3,'pivotTableId':_0x5c408a,'pivotTableConfig':_0x3d00bc,'collectionConfig':_0x3e3974[_0x40ca41(0x11f)]()});}}}}[_0x20fe61(0x204)](_0x3c55e6){const _0x180e3a=_0x20fe61;this[_0x180e3a(0x288)][_0x180e3a(0x30f)](_0x3c55e6);}[_0x20fe61(0x120)](_0x1047b5){const _0x2273cd=_0x20fe61;let _0x23b325=this[_0x2273cd(0x29a)][_0x2273cd(0x10c)](_0x1047b5);return _0x23b325||(_0x23b325=new _i(this,this[_0x2273cd(0x260)]),this[_0x2273cd(0x29a)][_0x2273cd(0xfa)](_0x1047b5,_0x23b325)),_0x23b325;}['getCollection'](_0xacb5d3,_0xf1ee90){const _0x7509a8=_0x20fe61;return this['getDataFieldManager'](_0xacb5d3)[_0x7509a8(0x1cd)][_0xf1ee90];}['getUpdateRangeDeleteIds'](_0x1f3280,_0x576ee2,_0x3a8233){const _0x2dad06=_0x20fe61;return this[_0x2dad06(0x120)](_0x1f3280)[_0x2dad06(0x232)](_0x576ee2,_0x3a8233);}[_0x20fe61(0x194)](_0x77b29,_0x367260){const _0x67fb77=_0x20fe61;let _0x27a4f6=this[_0x67fb77(0x1d0)]['get'](_0x77b29);_0x27a4f6||(_0x27a4f6=new Map(),this[_0x67fb77(0x1d0)][_0x67fb77(0xfa)](_0x77b29,_0x27a4f6));let _0x15ba19=_0x27a4f6['get'](_0x367260);return _0x15ba19||(_0x15ba19=new Map(),_0x27a4f6[_0x67fb77(0xfa)](_0x367260,_0x15ba19)),_0x15ba19;}[_0x20fe61(0x264)](_0x35acd9,_0x1b5c6f,_0x547671,_0x147962){const _0x2285fa=_0x20fe61;this['_ensurePivotMap'](_0x35acd9,_0x1b5c6f)[_0x2285fa(0xfa)](_0x547671,_0x147962);}[_0x20fe61(0x1bc)](_0xe9d43b,_0x1a657b,_0x1482ef){const _0x5dc98b=_0x20fe61;var _0x1989b6,_0x47d6c2,_0x550a35,_0x3e355b;((_0x47d6c2=(_0x1989b6=this['_model'][_0x5dc98b(0x10c)](_0xe9d43b))==null?void 0x0:_0x1989b6[_0x5dc98b(0x10c)](_0x1a657b))==null?void 0x0:_0x47d6c2['get'](_0x1482ef))&&((_0x3e355b=(_0x550a35=this[_0x5dc98b(0x1d0)][_0x5dc98b(0x10c)](_0xe9d43b))==null?void 0x0:_0x550a35[_0x5dc98b(0x10c)](_0x1a657b))==null||_0x3e355b[_0x5dc98b(0xe8)](_0x1482ef));}[_0x20fe61(0x283)](_0x2f4a60,_0x5a4b6e){const _0x3d9a6c=_0x20fe61;this[_0x3d9a6c(0xc5)][_0x3d9a6c(0xfa)](_0x2f4a60,_0x5a4b6e);}[_0x20fe61(0x1c0)](_0x59363f){const _0x4cc099=_0x20fe61;this[_0x4cc099(0xc5)]['delete'](_0x59363f);}['_ensureViewDataMap'](_0x1992db,_0x3e911e){const _0x425576=_0x20fe61;let _0x1ac506=this[_0x425576(0x1fd)][_0x425576(0x10c)](_0x1992db);_0x1ac506||(_0x1ac506=new Map(),this[_0x425576(0x1fd)][_0x425576(0xfa)](_0x1992db,_0x1ac506));let _0x5e3477=_0x1ac506[_0x425576(0x10c)](_0x3e911e);return _0x5e3477||(_0x5e3477=new Map(),_0x1ac506[_0x425576(0xfa)](_0x3e911e,_0x5e3477)),_0x5e3477;}[_0x20fe61(0x131)](_0x293b7a){const _0x284118=_0x20fe61,{unitId:_0x53f6de,subUnitId:_0x30138b,pivotTableId:_0x28a4b4,pivotTableConfig:_0x2f2061,collectionConfig:_0x1ed3dc}=_0x293b7a,_0x5920a0={'unitId':_0x53f6de,'subUnitId':_0x30138b,'oldSubUnitId':_0x30138b,'pivotTableId':_0x28a4b4,'pivotTableConfig':_0x2f2061,'collectionConfig':_0x1ed3dc};this[_0x284118(0x10f)][_0x284118(0x2c1)](co['id'],_0x5920a0,{'onlyLocal':!0x0});}[_0x20fe61(0x2a8)](_0x24c4b2,_0x3d257e,_0x12fb8c,_0x375b45,_0x2c0c43,_0x44ea6e,_0xc1c9f1,_0x138479=!0x1){const _0x54e1be=_0x20fe61;var _0x13d349;this['_commandService'][_0x54e1be(0x2c1)](Dt['id'],{'single':{'unitId':_0x24c4b2,'subUnitId':_0x3d257e,'type':_0x12fb8c,'pivotTableId':_0x375b45,'view':_0x2c0c43,'pivotConfig':_0x44ea6e},'collectionConfig':{[_0x24c4b2]:_0xc1c9f1}},{'onlyLocal':!0x0});const _0x40d9e5=!!((_0x13d349=this[_0x54e1be(0x2fc)](_0x375b45))!=null&&_0x13d349[_0x54e1be(0x169)]()),_0x5e1775=this['getPivotTableConfig'](_0x24c4b2,_0x3d257e,_0x375b45);_0x5e1775&&this['updateViewData']({'view':_0x2c0c43,'pivotTableId':_0x375b45,'textInfo':this[_0x54e1be(0x263)](),'isEmpty':_0x40d9e5,'targetCellInfo':_0x5e1775[_0x54e1be(0x2eb)]},_0x138479);}['updateViewData'](_0x2ab31a,_0x3f945c){const _0x3e0289=_0x20fe61,{targetCellInfo:_0xd523f6,pivotTableId:_0x1741cc}=_0x2ab31a,{unitId:_0x42eca,subUnitId:_0xc2f70c}=_0xd523f6,_0x296bdf=this[_0x3e0289(0xa4)](_0x42eca,_0xc2f70c),_0x3db825=_0x296bdf[_0x3e0289(0x10c)](_0x1741cc);let _0xfa89ef,_0x2069db;_0x3db825&&(_0xfa89ef=_0x3db825[_0x3e0289(0x23c)],_0x2069db=_0x3db825[_0x3e0289(0x289)]);const {rangesCache:_0x3796dd,matrix:_0x67c627}=Di(_0x2ab31a);_0x296bdf['set'](_0x1741cc,{'rangeCache':_0x3796dd,'matrix':_0x67c627,'oldMatrix':_0x2069db,'oldRangeCache':_0xfa89ef}),_0x3f945c||this[_0x3e0289(0x2a1)][_0x3e0289(0x30f)]({'unitId':_0x42eca,'subUnitId':_0xc2f70c,'pivotTableId':_0x1741cc});}['addPivotTable'](_0x32a3f5,_0x5941aa,_0x37c047,_0x2cd0e4,_0x2f0014){const _0x4e5f2b=_0x20fe61;this[_0x4e5f2b(0x264)](_0x32a3f5,_0x5941aa,_0x37c047,_0x2f0014),this['_updatePivotTableInstanceCache'](_0x37c047,_0x2cd0e4);}[_0x20fe61(0xf9)](_0xb02bac,_0x5494d0,_0x88be6e){const _0x3f801c=_0x20fe61,_0x4777a3=this[_0x3f801c(0x120)](_0xb02bac);_0x4777a3[_0x3f801c(0x114)](_0x88be6e)[_0x3f801c(0x19a)](_0x3a5749=>{const _0x55faa9=_0x3f801c;_0x4777a3[_0x55faa9(0x1e6)](_0x3a5749);}),this['removeCollections'](_0xb02bac,_0x88be6e),this[_0x3f801c(0x1bc)](_0xb02bac,_0x5494d0,_0x88be6e),this[_0x3f801c(0x1c0)](_0x88be6e);}[_0x20fe61(0x1c1)](_0x15a6a1,_0x29df85,_0x1df5f9,_0x3b5537){this['_updateModelCache'](_0x15a6a1,_0x29df85,_0x1df5f9,_0x3b5537);}[_0x20fe61(0xec)](_0x4aeafc,_0x547e77,_0x3402c6){const _0x2dc7cb=_0x20fe61;var _0x434a4e,_0x43e13c;const _0x58c8f6=(_0x43e13c=(_0x434a4e=this[_0x2dc7cb(0x1d0)][_0x2dc7cb(0x10c)](_0x4aeafc))==null?void 0x0:_0x434a4e[_0x2dc7cb(0x10c)](_0x547e77))==null?void 0x0:_0x43e13c[_0x2dc7cb(0x10c)](_0x3402c6);if(_0x58c8f6)return _0x58c8f6;}['getPivotTableModelConfig'](_0x1ec7b0,_0x79cbc7,_0x384fb4){const _0x283beb=_0x20fe61;var _0x55b7b4,_0x26a3a1;const _0x3a5d9b=(_0x26a3a1=(_0x55b7b4=this[_0x283beb(0x1d0)][_0x283beb(0x10c)](_0x1ec7b0))==null?void 0x0:_0x55b7b4['get'](_0x79cbc7))==null?void 0x0:_0x26a3a1[_0x283beb(0x10c)](_0x384fb4);if(_0x3a5d9b)return _0x3a5d9b[_0x283beb(0x2e7)];}[_0x20fe61(0x2fc)](_0x454c90){const _0x42818b=_0x20fe61;return this[_0x42818b(0xc5)][_0x42818b(0x10c)](_0x454c90);}[_0x20fe61(0x2d2)](_0x3151ba){const _0x56a8c5=_0x20fe61;this['_model'][_0x56a8c5(0xe8)](_0x3151ba);const _0x228be4=this[_0x56a8c5(0x29a)][_0x56a8c5(0x10c)](_0x3151ba);_0x228be4&&(_0x228be4['dispose'](),this[_0x56a8c5(0x29a)][_0x56a8c5(0xe8)](_0x3151ba)),this[_0x56a8c5(0x1fd)][_0x56a8c5(0xe8)](_0x3151ba),this[_0x56a8c5(0x30c)][_0x56a8c5(0x19a)](_0x4d70f1=>{const _0xb78378=_0x56a8c5;_0x4d70f1[_0xb78378(0x2d2)](_0x3151ba);});}[_0x20fe61(0x22c)](_0x36910d,_0x240f72,_0x329682,_0x4f1d90){const _0x130a27=_0x20fe61;return this['getDataFieldManager'](_0x329682[_0x130a27(0x29e)])['addCollectionByJSON'](_0x36910d,_0x240f72,_0x329682,_0x4f1d90);}[_0x20fe61(0x197)](_0x4f1e8f){const _0x578c96=_0x20fe61;return this[_0x578c96(0x120)](_0x4f1e8f[_0x578c96(0x29e)])[_0x578c96(0x197)](_0x4f1e8f);}[_0x20fe61(0x1ed)](_0x1158fe,_0x58d94d,_0x4bc8fa){const _0x32d3ad=_0x20fe61;this[_0x32d3ad(0x120)](_0x4bc8fa['unitId'])[_0x32d3ad(0x1ed)](_0x1158fe,_0x58d94d,_0x4bc8fa);}[_0x20fe61(0x106)](_0x455d69,_0xb38007){const _0x160eff=_0x20fe61;this[_0x160eff(0x120)](_0x455d69)[_0x160eff(0x1e6)](_0xb38007);}['removeCollections'](_0x1088ab,_0x357736){const _0x14421d=_0x20fe61;this[_0x14421d(0x120)](_0x1088ab)['removeCollectionImp'](_0x357736);}[_0x20fe61(0xbd)](_0x4528ca,_0x5d57dc){const _0x242773=_0x20fe61;var _0x4fd233;return(_0x4fd233=this[_0x242773(0x1d0)]['get'](_0x4528ca))==null?void 0x0:_0x4fd233[_0x242773(0x10c)](_0x5d57dc);}[_0x20fe61(0x26a)](_0x688f82){const _0x809572=_0x20fe61;for(const [_0x2efc26,_0x492c3c]of this[_0x809572(0x1d0)]['entries']())for(const [_0x93e545,_0x182aa1]of _0x492c3c[_0x809572(0x1f2)]())if(_0x182aa1[_0x809572(0x296)](_0x688f82))return{'unitId':_0x2efc26,'subUnitId':_0x93e545};return null;}['sideEffectUpdateWorkerCache'](_0x1656e1,_0x681707,_0x17d95c,_0x417012){const _0x24fca1=_0x20fe61,_0x5ade2b=this[_0x24fca1(0xa4)](_0x1656e1,_0x681707);_0x417012?_0x5ade2b[_0x24fca1(0xfa)](_0x17d95c,_0x417012):_0x5ade2b['delete'](_0x17d95c),this[_0x24fca1(0x2a1)]['next']({'unitId':_0x1656e1,'subUnitId':_0x681707,'pivotTableId':_0x17d95c});}[_0x20fe61(0x164)](){const _0x38b9be=_0x20fe61;super[_0x38b9be(0x164)]();}[_0x20fe61(0x180)](_0x53068a,_0x1cf2aa,_0x4ad282){const _0x1d6895=_0x20fe61;var _0x156405,_0x57a905;const _0x55a16e=(_0x57a905=(_0x156405=this[_0x1d6895(0x1fd)][_0x1d6895(0x10c)](_0x53068a))==null?void 0x0:_0x156405['get'](_0x1cf2aa))==null?void 0x0:_0x57a905[_0x1d6895(0x10c)](_0x4ad282);return _0x55a16e||null;}[_0x20fe61(0x229)](_0x5b73da){const _0x4e0822=_0x20fe61;this[_0x4e0822(0x2c2)](_0x5b73da);}[_0x20fe61(0x2c2)](_0x31dae8){const _0x2e24d2=_0x20fe61,{token:_0x11ff9b,unitId:_0x23d0d1,subUnitId:_0x437bea}=_0x31dae8,_0x15cc92=_0x23d0d1+'-'+_0x437bea+'-'+_0x11ff9b;this[_0x2e24d2(0xca)][_0x2e24d2(0x10c)](_0x15cc92)&&clearTimeout(this[_0x2e24d2(0xca)][_0x2e24d2(0x10c)](_0x15cc92));const _0x2cd653=setTimeout(()=>{const _0x326a0d=_0x2e24d2;this[_0x326a0d(0x1ad)](_0x31dae8),this[_0x326a0d(0xca)][_0x326a0d(0xe8)](_0x15cc92);},Si);this['_queryingMap'][_0x2e24d2(0xfa)](_0x15cc92,_0x2cd653);}[_0x20fe61(0x1ad)](_0x2bb6ff){const _0x4fd0fd=_0x20fe61,{unitId:_0x5c32e4,subUnitId:_0x4d3b15,token:_0x3a5b40,type:_0x1bcf6e,pivotConfig:_0x4f3a7c}=_0x2bb6ff,_0x43d231=this[_0x4fd0fd(0x2fc)](_0x3a5b40),_0x2228f3=_0x43d231==null?void 0x0:_0x43d231[_0x4fd0fd(0x135)](),_0x5a296c=_0x4f3a7c!=null?_0x4f3a7c:this[_0x4fd0fd(0xec)](_0x5c32e4,_0x4d3b15,_0x3a5b40);_0x5a296c&&(_0x5a296c[_0x4fd0fd(0x169)]=!!(_0x43d231!=null&&_0x43d231['isEmpty']())),(_0x2228f3||_0x1bcf6e===L[_0x4fd0fd(0x2a5)])&&this[_0x4fd0fd(0x2a8)](_0x5c32e4,_0x4d3b15,_0x1bcf6e,_0x3a5b40,_0x2228f3,_0x5a296c,this[_0x4fd0fd(0x120)](_0x5c32e4)[_0x4fd0fd(0x11f)]());}[_0x20fe61(0x11f)](_0x3046ce){const _0x20c651=_0x20fe61,_0x5c578f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x20c651(0x120)](_0x3046ce)&&(_0x5c578f['dataFieldManagerConfig'][_0x3046ce]=this[_0x20c651(0x120)](_0x3046ce)[_0x20c651(0x11f)]()),this[_0x20c651(0x1d0)]['get'](_0x3046ce)){_0x5c578f['pivotTableConfigs'][_0x3046ce]={};const _0x338b96=this[_0x20c651(0x1d0)][_0x20c651(0x10c)](_0x3046ce);_0x338b96!=null&&_0x338b96[_0x20c651(0x1a7)]&&[..._0x338b96[_0x20c651(0x2e4)]()]['forEach'](_0x5f4a76=>{const _0x5776c9=_0x20c651,_0x5eff58=_0x338b96[_0x5776c9(0x10c)](_0x5f4a76);_0x5eff58!=null&&_0x5eff58[_0x5776c9(0x1a7)]&&(_0x5c578f[_0x5776c9(0xf7)][_0x3046ce][_0x5f4a76]={},[..._0x5eff58[_0x5776c9(0x2e4)]()][_0x5776c9(0x19a)](_0x3ae71b=>{const _0x3c382c=_0x5776c9,_0x3a7d43=_0x5eff58[_0x3c382c(0x10c)](_0x3ae71b);_0x3a7d43&&(_0x5c578f[_0x3c382c(0xf7)][_0x3046ce][_0x5f4a76][_0x3ae71b]=_0x3a7d43);}));});}return _0x5c578f;}[_0x20fe61(0x27a)](_0x582fc3){const _0x56756a=_0x20fe61;var _0x18a184;const {dataFieldManagerConfig:_0x2bbfcf,pivotTableConfigs:_0xefb926}=_0x582fc3;_0x2bbfcf&&Object[_0x56756a(0x2e4)](_0x2bbfcf)[_0x56756a(0x19a)](_0x2d6364=>{const _0x5969a4=_0x56756a;this[_0x5969a4(0x120)](_0x2d6364)['fromJSON'](_0x2bbfcf[_0x2d6364]);});const _0x23cd26=[];if(_0xefb926){const _0x2b84c8=(_0x18a184=this[_0x56756a(0x1a3)][_0x56756a(0x10c)](_0x45b506)[_0x56756a(0x1f3)](_0x4413b3))!=null?_0x18a184:{},{ls:_0x237f12,pbk:_0x29e000}=_0x2b84c8,_0x29871b=go(so,_0x237f12,_0x29e000)[_0x56756a(0x1a1)];Object[_0x56756a(0x2e4)](_0xefb926)['forEach'](_0x1f1a23=>{const _0x4e62a4=_0x56756a;let _0x112798=0x0;const _0x21fa8f=_0xefb926[_0x1f1a23];Object[_0x4e62a4(0x2e4)](_0x21fa8f)[_0x4e62a4(0x19a)](_0x59c146=>{const _0x5f18b9=_0x4e62a4,_0x1367b0=_0x21fa8f[_0x59c146];Object['keys'](_0x1367b0)[_0x5f18b9(0x19a)](_0x121acd=>{const _0x273b67=_0x5f18b9,_0x4678b4=_0x1367b0[_0x121acd];if(_0x4678b4){if(_0x112798>=_0x29871b)return;_0x112798++;const _0x51257e=this['getDataFieldManager'](_0x1f1a23),_0x2080d8=_0x51257e[_0x273b67(0x1cd)][_0x121acd],_0xa6fb82=_0x2080d8[_0x273b67(0x265)]();let _0x384ffe=0x0;const _0x1fc22c=[];for(const _0x5c9530 of _0xa6fb82){const _0xaad874=_0x2080d8[_0x273b67(0x20b)](_0x5c9530);if(_0x5bcd50(_0xaad874)){const _0x5a52ee=_0xaad874['getOriginFieldId'](),_0x1baac3=_0x2080d8[_0x273b67(0x20b)](_0x5a52ee);_0x1baac3&&_0x1fc22c[_0x273b67(0xc4)]([_0xaad874,_0x1baac3]);continue;}_0x51257e[_0x273b67(0x153)](_0x5c9530,_0x4678b4[_0x273b67(0x14e)],_0x384ffe),_0x384ffe++;}_0x1fc22c[_0x273b67(0x19a)](([_0x207076,_0x526c60])=>{const _0x4f541c=_0x273b67;_0x207076[_0x4f541c(0x2e8)](_0x526c60);});const _0x599c89=new _0x22d09c(_0x2080d8);_0x599c89['fromJSON'](_0x4678b4['fieldsConfig']),this['addPivotTable'](_0x1f1a23,_0x59c146,_0x121acd,_0x599c89,_0x4678b4);const _0x2c9452=_0x599c89['query']();_0x23cd26[_0x273b67(0xc4)]({'unitId':_0x1f1a23,'subUnitId':_0x59c146,'pivotTableId':_0x121acd,'view':_0x2c9452[_0x273b67(0x11f)](),'pivotConfig':_0x4678b4,'type':L[_0x273b67(0x285)]});const _0x3d2d46=!!_0x599c89[_0x273b67(0x169)](),_0xf3f744={'view':_0x2c9452,'pivotTableId':_0x121acd,'textInfo':this['getTextInfo'](),'isEmpty':_0x3d2d46,'targetCellInfo':_0x4678b4[_0x273b67(0x2eb)]};this['updateViewData'](_0xf3f744,!0x1);}});});});}_0x2bbfcf&&Object[_0x56756a(0x2e4)](_0x2bbfcf)[_0x56756a(0x19a)](_0x147987=>{const _0x3b244a=_0x56756a,_0x57578b=this[_0x3b244a(0x120)](_0x147987);this['_fieldsCollectionChange$'][_0x3b244a(0x30f)](_0x57578b['collections']);}),this['_commandService'][_0x56756a(0x2c1)](Dt['id'],{'batch':_0x23cd26,'collectionConfig':_0x2bbfcf},{'onlyLocal':!0x0});}[_0x20fe61(0x2a3)](){const _0x5d2eda=_0x20fe61;this[_0x5d2eda(0xef)](this[_0x5d2eda(0x30a)][_0x5d2eda(0x1e4)]({'toJson':_0x40b8de=>JSON['stringify'](this['toJSON'](_0x40b8de)),'parseJson':_0x4502d4=>{const _0x481fcb=_0x5d2eda;if(!_0x4502d4)return{};try{return JSON[_0x481fcb(0x15f)](_0x4502d4);}catch{return{};}},'businesses':[_0x4f12fd[_0x5d2eda(0x126)]],'pluginName':ao,'onLoad':(_0x42f593,_0x25a1ba)=>{const _0x5dad91=_0x5d2eda;this[_0x5dad91(0x27a)](_0x25a1ba);},'onUnLoad':_0x1c4357=>{const _0x7f5cf2=_0x5d2eda;this[_0x7f5cf2(0x2d2)](_0x1c4357);}}));}};q=Ui([je(0x0,_0x3b120b(_0x4a0d8a)),je(0x1,_0x191739),je(0x2,_0x3b120b(_0x4564bf)),je(0x3,_0x45b506),je(0x4,_0x1ad572),je(0x5,_0x3b120b(_0xa82683))],q);const Vi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x20fe61(0x2db),'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':_0x20fe61(0x28d),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x20fe61(0x119),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Jo=(_0x14c55e,_0x566a55)=>{const _0x583ec8=_0x20fe61,_0x8713a3=new _0x47b566(),_0x11b874=new _0x47b566(Vi),{row:_0x2b8b2e,col:_0x5868f8}=_0x566a55;_0x11b874[_0x583ec8(0xa5)]((_0x371bbb,_0x37382c,_0xa2b70b)=>{const _0x34a168=_0x583ec8;let _0x5501a3='';_0xa2b70b['v']===_0x34a168(0x291)?_0x5501a3=_0x14c55e[_0x34a168(0x291)]:_0xa2b70b['v']===_0x34a168(0x28d)?_0x5501a3=_0x14c55e['row']:_0xa2b70b['v']==='column'?_0x5501a3=_0x14c55e['column']:_0xa2b70b['v']===_0x34a168(0x119)&&(_0x5501a3=_0x14c55e['values']),_0x8713a3[_0x34a168(0x15b)](_0x371bbb+_0x2b8b2e,_0x37382c+_0x5868f8,{..._0xa2b70b,'v':_0x5501a3});});const _0xab941f=_0x3400c7[_0x583ec8(0x220)](Bt);return Object['keys'](Bt)['forEach'](_0x5135cb=>{const _0x22b665=_0x583ec8;_0xab941f[_0x5135cb]=Bt[_0x5135cb][_0x22b665(0x1eb)](_0x2b4a2f=>({..._0x2b4a2f,'startRow':_0x2b4a2f['startRow']+_0x2b8b2e,'endRow':_0x2b4a2f[_0x22b665(0x1d9)]+_0x2b8b2e,'startColumn':_0x2b4a2f[_0x22b665(0x2dd)]+_0x5868f8,'endColumn':_0x2b4a2f[_0x22b665(0x24f)]+_0x5868f8}));}),{'matrixCache':_0x8713a3,'rangesCache':_0xab941f};};function Ei(_0x15ccd,_0x2c36ca){const _0x1980ab=_0x20fe61;let _0x4b236a='';const _0x1511d1=this[_0x1980ab(0x263)]();switch(_0x2c36ca){case _0x165b02['average']:_0x4b236a=_0x1511d1[_0x1980ab(0xb7)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x1a1)]:_0x4b236a=_0x1511d1[_0x1980ab(0xa2)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x2c8)]:_0x4b236a=_0x1511d1[_0x1980ab(0x1a4)]+_0x15ccd;break;case _0x165b02['max']:_0x4b236a=_0x1511d1[_0x1980ab(0x1cb)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x10b)]:_0x4b236a=_0x1511d1['sheets-pivot.minName']+_0x15ccd;break;case _0x165b02[_0x1980ab(0x26f)]:_0x4b236a=_0x1511d1[_0x1980ab(0x209)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x1d8)]:_0x4b236a=_0x1511d1[_0x1980ab(0x1cc)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x23f)]:_0x4b236a=_0x1511d1[_0x1980ab(0x213)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x2d8)]:_0x4b236a=_0x1511d1['sheets-pivot.sumName']+_0x15ccd;break;case _0x165b02[_0x1980ab(0x157)]:_0x4b236a=_0x1511d1[_0x1980ab(0x255)]+_0x15ccd;break;case _0x165b02[_0x1980ab(0x118)]:_0x4b236a=_0x1511d1['sheets-pivot.varpName']+_0x15ccd;break;default:_0x4b236a=_0x15ccd;break;}return _0x4b236a;}function xi(_0xf5eac9,_0x38aed1,_0xbd08a7,_0x24776d,_0x148624){const _0x24cca9=_0x20fe61;var _0x9cdd3f,_0x5a4e3f,_0x55fdb4,_0x172720,_0x172cda;const _0x56469f=_0x1ceb49(_0xf5eac9,_0x38aed1),{rangesInfo:_0x19fa97,areaInfo:_0x3f6618,headerMap:_0x1e8f4f}=_0x148624;if(!_0x19fa97||!_0x3f6618||!_0x1e8f4f)return;const _0x304186=Object[_0x24cca9(0x2e4)](_0x19fa97)[_0x24cca9(0x15d)](_0x234b54=>_0x19fa97[_0x234b54][_0x24cca9(0x143)](_0x58a471=>_0x5d8cb0[_0x24cca9(0x308)](_0x58a471,_0x56469f))),_0xabdb24=_0x3f6618;let _0x2555eb,_0x507dd1,_0x4c2466;if(_0x304186===_0x24cca9(0x1b5))_0x2555eb=(_0x9cdd3f=_0xabdb24==null?void 0x0:_0xabdb24[_0x24cca9(0x9e)])==null?void 0x0:_0x9cdd3f[_0xf5eac9],_0x507dd1=(_0x5a4e3f=_0x1e8f4f==null?void 0x0:_0x1e8f4f[_0x24cca9(0x1d4)])==null?void 0x0:_0x5a4e3f[_0x38aed1],_0x4c2466=_0x507dd1==null?void 0x0:_0x507dd1[_0x24cca9(0x315)];else{if(_0x304186==='colRanges')_0x2555eb=(_0x55fdb4=_0xabdb24==null?void 0x0:_0xabdb24[_0x24cca9(0xf0)])==null?void 0x0:_0x55fdb4[_0x38aed1],_0x507dd1=(_0x172720=_0x1e8f4f[_0x24cca9(0x17e)])==null?void 0x0:_0x172720[_0xf5eac9+0x1+_0x38aed1-_0x19fa97[_0x24cca9(0x29b)][0x0][_0x24cca9(0x2dd)]],_0x4c2466=_0x507dd1==null?void 0x0:_0x507dd1[_0x24cca9(0x315)];else{if(_0x304186===_0x24cca9(0x1c4))_0x2555eb=(_0x172cda=_0xabdb24==null?void 0x0:_0xabdb24[_0x24cca9(0x103)])==null?void 0x0:_0x172cda[_0x38aed1],_0x4c2466=_0x2555eb==null?void 0x0:_0x2555eb[_0x24cca9(0x315)];else{if(_0x304186===_0x24cca9(0x24e)){const _0x5597a2=_0xbd08a7==null?void 0x0:_0xbd08a7['fi'];_0x5597a2!==void 0x0&&(_0x4c2466=_0x24776d['getFilterFieldIdByIndex'](_0x5597a2));}}}}return{'filterId':_0x4c2466,'info':_0x2555eb,'data':_0xbd08a7,'headerInfo':_0x507dd1};}function Oi(_0x4fc0ed,_0x2c29be,_0x5d97d8){const _0x1b2199=_0x20fe61,_0x1c5e3c=_0x4fc0ed[_0x1b2199(0x2ea)],_0x1c03fd=_0x1c5e3c[_0x1b2199(0x265)](),_0x5cb75c=new Set();_0x4fc0ed[_0x1b2199(0x1e0)](_0x5ec362=>{const _0x2d7c43=_0x1b2199;_0x5cb75c[_0x2d7c43(0xdf)](_0x5ec362[_0x2d7c43(0x29c)]);});const _0x398d35=_0x1c03fd[_0x1b2199(0x1eb)](_0x24a109=>{const _0x5482c8=_0x1b2199,_0x3a1273=_0x1c5e3c[_0x5482c8(0x20b)](_0x24a109);return{'checked':_0x5cb75c[_0x5482c8(0x296)](_0x24a109),'dataFieldId':_0x3a1273['id'],'id':_0x3a1273['id'],'name':_0x1c5e3c[_0x5482c8(0xab)](_0x3a1273['id']),'type':_0x3a1273[_0x5482c8(0x1dc)](),'pivotTableId':_0x2c29be};}),_0x3b8232=[];_0x4fc0ed['iterateFieldByArea'](_0x15fa2a['Row'],_0x2dc112=>{const _0x43810d=_0x1b2199;_0x3b8232['push']({'dataFieldId':_0x2dc112[_0x43810d(0x29c)],'tableFieldId':_0x2dc112[_0x43810d(0x1bf)](),'displayName':_0x2dc112[_0x43810d(0xab)]()});});const _0x4a21f2=[];_0x4fc0ed[_0x1b2199(0x258)](_0x15fa2a[_0x1b2199(0x1ac)],_0x387cec=>{const _0x10cd9c=_0x1b2199;_0x4a21f2[_0x10cd9c(0xc4)]({'dataFieldId':_0x387cec['dataFieldId'],'tableFieldId':_0x387cec['getId'](),'displayName':_0x387cec[_0x10cd9c(0xab)]()});});const _0x1627e0=[];if(_0x4fc0ed[_0x1b2199(0x258)](_0x15fa2a[_0x1b2199(0x234)],_0x132d8c=>{const _0x462218=_0x1b2199;_0x1627e0[_0x462218(0xc4)]({'dataFieldId':_0x132d8c[_0x462218(0x29c)],'tableFieldId':_0x132d8c[_0x462218(0x1bf)](),'displayName':_0x132d8c[_0x462218(0xab)](),'format':_0x132d8c['getFormat'](),'subTotalType':_0x132d8c[_0x462218(0x2fe)]()});}),_0x1627e0[_0x1b2199(0x19f)]>0x1){const _0x175031=_0x4fc0ed['getValueIndex']();(_0x4fc0ed[_0x1b2199(0x155)]()?_0x4a21f2:_0x3b8232)[_0x1b2199(0x11e)](_0x175031,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x1b2199(0x208)});}const _0x54bda0=[];_0x4fc0ed[_0x1b2199(0x258)](_0x15fa2a[_0x1b2199(0x1ab)],_0x19f1f5=>{const _0x121c5d=_0x1b2199;_0x54bda0[_0x121c5d(0xc4)]({'dataFieldId':_0x19f1f5[_0x121c5d(0x29c)],'tableFieldId':_0x19f1f5[_0x121c5d(0x1bf)](),'displayName':_0x19f1f5['getDisplayName']()});});const _0x1ef238=_0x5d97d8[_0x1b2199(0x14e)];return{'sourceList':_0x398d35,'sourceRange':_0x1ef238,'rowFields':_0x3b8232,'columnFields':_0x4a21f2,'valueFields':_0x1627e0,'filterFields':_0x54bda0,'positionInfo':_0x5d97d8[_0x1b2199(0x2eb)]};}function fo(_0x35a588,_0x281c70,_0x587f4b='',_0x5c9f2b={}){const _0x474fc6=_0x20fe61,_0x3a9ca7=_0x35a588[_0x474fc6(0x10c)](_0x27fdf8);for(const _0x591d11 in _0x281c70)if(Object[_0x474fc6(0x226)]['hasOwnProperty'][_0x474fc6(0x14a)](_0x281c70,_0x591d11)){const _0x306e96=_0x587f4b?_0x587f4b+'.'+_0x591d11:_0x591d11;typeof _0x281c70[_0x591d11]=='object'&&_0x281c70[_0x591d11]!==null&&!Array[_0x474fc6(0x9f)](_0x281c70[_0x591d11])?fo(_0x35a588,_0x281c70[_0x591d11],_0x306e96,_0x5c9f2b):_0x5c9f2b[_0x306e96]=_0x3a9ca7['t'](_0x306e96);}return _0x5c9f2b;}const Lt=_0x4f9114=>{const _0x41b7eb=_0x20fe61;if(!_0x4f9114)return[];const {rowRanges:_0x31c395,colRanges:_0x2c792b,cornerRanges:_0x4092d6,dataRanges:_0x3ce181,pageRanges:_0x1bbcbe}=_0x4f9114,_0x393f33=[..._0x2c792b,..._0x31c395,..._0x3ce181,..._0x4092d6][_0x41b7eb(0x291)](_0x29b95e=>_0x29b95e['startRow']>=0x0&&_0x29b95e[_0x41b7eb(0x2dd)]>=0x0&&_0x29b95e['endRow']>=0x0&&_0x29b95e[_0x41b7eb(0x24f)]>=0x0);let _0x496154=Number[_0x41b7eb(0x251)],_0x32bf94=Number['MIN_SAFE_INTEGER'],_0x26ac54=Number['MAX_SAFE_INTEGER'],_0x1900c1=Number[_0x41b7eb(0x12c)];for(let _0x5b0ed3=0x0;_0x5b0ed3<_0x393f33[_0x41b7eb(0x19f)];_0x5b0ed3++)_0x496154=Math[_0x41b7eb(0x10b)](_0x496154,_0x393f33[_0x5b0ed3][_0x41b7eb(0x210)]),_0x32bf94=Math[_0x41b7eb(0x246)](_0x32bf94,_0x393f33[_0x5b0ed3][_0x41b7eb(0x1d9)]),_0x26ac54=Math[_0x41b7eb(0x10b)](_0x26ac54,_0x393f33[_0x5b0ed3][_0x41b7eb(0x2dd)]),_0x1900c1=Math[_0x41b7eb(0x246)](_0x1900c1,_0x393f33[_0x5b0ed3][_0x41b7eb(0x24f)]);return[..._0x1bbcbe,{'startRow':_0x496154,'endRow':_0x32bf94,'startColumn':_0x26ac54,'endColumn':_0x1900c1}];};function ki(_0x1e8ca1,_0x1cc10a){const _0x46add4=_0x20fe61,_0x397fe5=_0x1cc10a['params'][_0x46add4(0x166)],{pivotTableId:_0x102b14,unitId:_0x1650f5,subUnitId:_0x2a9dfe}=_0x1cc10a;if(!_0x397fe5)return;const _0x332fc3=_0x1e8ca1[_0x46add4(0x10c)](q),_0xbdeeca=_0x332fc3[_0x46add4(0x2fc)](_0x102b14),_0x52380b=_0x332fc3[_0x46add4(0xec)](_0x1650f5,_0x2a9dfe,_0x102b14);if(!_0xbdeeca||!_0x52380b)return;const _0x15cd5e=_0xbdeeca[_0x46add4(0x141)](_0x397fe5['tuple']);if(!(_0x15cd5e!=null&&_0x15cd5e[_0x46add4(0x19f)]))return;const _0x2cef98=_0x52380b[_0x46add4(0x14e)],{unitId:_0x23b14c,subUnitId:_0x5be39a,range:_0x31b7ef}=_0x2cef98;let _0x182cf3=0x0;const _0x1b765c=_0xbdeeca[_0x46add4(0x2ea)][_0x46add4(0x265)]()[_0x46add4(0x11a)]((_0x4d703d,_0x209a27)=>{const _0x402f66=_0x46add4;var _0x2fba92;const _0x27903d=(_0x2fba92=_0xbdeeca['getDataFieldByDataFieldId'](_0x209a27))==null?void 0x0:_0x2fba92[_0x402f66(0xc7)]();return _0x27903d&&(_0x4d703d[String(_0x182cf3)]=_0x27903d),_0x182cf3++,_0x4d703d;},{});return{'indexes':_0x15cd5e,'range':_0x31b7ef,'sourceUnitId':_0x23b14c,'sourceSubUnitId':_0x5be39a,'formatMap':_0x1b765c};}function jo(_0x56cf8a,_0x154fa0){const _0x43071c=_0x20fe61;if(!_0x56cf8a||!_0x154fa0)return!0x0;const _0x574733=_0x444b80(Go,$o),_0x19724c=new Function('return\x20'+_0x574733)()(_0x56cf8a,_0x154fa0)[_0x43071c(0x279)],_0x503511=_0x2b8673(_0x19724c,'sf',Ao);return!((_0x19724c==null?void 0x0:_0x19724c['rt'])===_0x57e252[_0x43071c(0x28b)]&&!_0x503511);}function go(_0x1cbb73,_0x164f82,_0x213097){const _0x3d45c3=_0x20fe61,_0x556982={'count':_0x1cbb73,'timeValid':!0x1};if(!_0x164f82||!_0x213097)return _0x556982;const _0x4b742c=_0x444b80(Go,$o),_0x58086d=new Function('return\x20'+_0x4b742c)()(_0x164f82,_0x213097);if(_0x58086d!=null&&_0x58086d['valid']){const _0x52fe7d=_0x58086d[_0x3d45c3(0x279)],_0x59945a=_0x2b8673(_0x52fe7d,'sf',Ao);return{'count':_0x154243(_0x52fe7d,_0x59945a,'ptn',_0x1cbb73,_0x1cbb73,0x0),'timeValid':_0x59945a};}return _0x556982;}function Ko(_0x565e79,_0x3a37c6,_0xcd6ad3,_0x334a47){const _0x355353=_0x20fe61,_0x559100={'subUnitId':_0xcd6ad3,'unitId':_0x3a37c6,'cellValue':_0x54da30(_0x334a47)},_0x393cf0=_0x35fac7(_0x565e79,_0x559100);let _0x38bc4a=!0x1;return new _0x47b566(_0x393cf0[_0x355353(0x27d)])[_0x355353(0xa5)]((_0xe2dbe3,_0x942aed,_0x3c4743)=>{const _0x5aaaaf=_0x355353;if(!_0x38bc4a&&_0x3c4743&&(_0x3c4743[_0x5aaaaf(0x200)]||_0x3c4743['f']||_0x3c4743['p']||_0x3c4743['s']||_0x3c4743['si']||_0x3c4743['t']||_0x3c4743['v']))return _0x38bc4a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x187977['id'],'params':_0x393cf0},'setRangeValueRedoMutation':{'id':_0x187977['id'],'params':_0x559100},'shouldClear':_0x38bc4a};}function Ai(_0x4048b4){const {row:_0x3c2b77,col:_0x4ed60d}=_0x4048b4,_0x24e755={'startRow':_0x3c2b77,'endRow':_0x3c2b77,'startColumn':_0x4ed60d,'endColumn':_0x4ed60d},_0x836ee6={'startRow':_0x3c2b77+0x2,'endRow':_0x3c2b77+0xe,'startColumn':_0x4ed60d,'endColumn':_0x4ed60d+0x6};return[_0x24e755,_0x836ee6];}function Wi(_0x13c7d9,_0xeac44a,_0x4dbcfc){const _0x4da629=_0x20fe61,{cornerView:_0x2179b7,rowView:_0x24750a,colView:_0x4f0df2,pageView:_0x4ff205}=_0x13c7d9,{row:_0xacf0be,col:_0x503737}=_0xeac44a;if(_0x4dbcfc)return{'rowCount':bi+_0xacf0be,'colCount':Pi+_0x503737};const _0x26c1c9=_0x4ff205[_0x4da629(0x19d)]>-0x1?_0x4ff205[_0x4da629(0x19d)]+0x1:0x0,_0x31d384=_0x4ff205[_0x4da629(0x2ee)]>-0x1?_0x4ff205[_0x4da629(0x2ee)]:0x0,_0x501b12=_0xacf0be+_0x26c1c9+(_0x26c1c9?0x1:0x0)+_0x2179b7[_0x4da629(0x192)]+_0x24750a[_0x4da629(0x192)],_0x3c95ca=_0x503737+_0x31d384,_0x3ab71a=_0x503737+_0x2179b7['colCount']+_0x4f0df2[_0x4da629(0xae)],_0x16a0ff=Math[_0x4da629(0x246)](_0x3c95ca,_0x3ab71a);return{'rowCount':_0x501b12,'colCount':_0x16a0ff};}function we(_0x35d1ed,_0x57f4d5,_0x2e349f,_0x952cd7){const _0x1ecaa5=_0x20fe61,{row:_0x5ecf68,col:_0x593f9d,unitId:_0x2e6c1e,subUnitId:_0x2a4b79}=_0x2e349f,_0xccf93=Wi(_0x57f4d5,{'row':_0x5ecf68,'col':_0x593f9d},_0x952cd7),_0x3eb17b=_0x35d1ed[_0x1ecaa5(0x10c)](_0x191739),_0x2e430c=_0x5848f2(_0x3eb17b,{'unitId':_0x2e6c1e,'subUnitId':_0x2a4b79}),_0x1ed383=[],_0x647efc=[];if(!_0x2e430c)return{'undos':_0x647efc,'redos':_0x1ed383};const {worksheet:_0x57d307}=_0x2e430c,_0x404dd1=_0x57d307[_0x1ecaa5(0xa6)](),_0x2c8c92=_0x57d307[_0x1ecaa5(0x1a5)]();return _0x404dd1<_0xccf93[_0x1ecaa5(0x192)]&&(_0x1ed383[_0x1ecaa5(0xc4)]({'id':_0x84a0fa['id'],'params':{'unitId':_0x2e6c1e,'subUnitId':_0x2a4b79,'range':{'startRow':_0x404dd1,'endRow':_0xccf93['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x2c8c92-0x1}}}),_0x647efc[_0x1ecaa5(0xc4)]({'id':_0x365191['id'],'params':{'unitId':_0x2e6c1e,'subUnitId':_0x2a4b79,'range':{'startRow':_0x404dd1,'endRow':_0xccf93[_0x1ecaa5(0x192)]-0x1,'startColumn':0x0,'endColumn':_0x2c8c92-0x1}}})),_0x2c8c92<_0xccf93[_0x1ecaa5(0xae)]&&(_0x1ed383['push']({'id':_0x411de8['id'],'params':{'unitId':_0x2e6c1e,'subUnitId':_0x2a4b79,'range':{'startRow':0x0,'endRow':_0x404dd1-0x1,'startColumn':_0x2c8c92,'endColumn':_0xccf93[_0x1ecaa5(0xae)]-0x1}}}),_0x647efc['push']({'id':_0x443c45['id'],'params':{'unitId':_0x2e6c1e,'subUnitId':_0x2a4b79,'range':{'startRow':0x0,'endRow':_0x404dd1-0x1,'startColumn':_0x2c8c92,'endColumn':_0xccf93[_0x1ecaa5(0xae)]-0x1}}})),{'undos':_0x647efc,'redos':_0x1ed383};}function Bi(_0x394ace){const _0x54ae21=_0x20fe61;let _0x346901=0x0;for(let _0x284e00=0x0;_0x284e00<_0x394ace[_0x54ae21(0x19f)];_0x284e00++){const _0x5edae3=_0x394ace[_0x54ae21(0x23d)](_0x284e00);_0x5edae3>=0x4e00&&_0x5edae3<=0x9fff||_0x5edae3>=0x3000&&_0x5edae3<=0x303f||_0x5edae3>=0xff00&&_0x5edae3<=0xffef?_0x346901+=0x2:_0x346901+=0x1;}return _0x346901;}function To(_0x9beba3,_0x3ddb7f,_0x2fa8be,_0x1b0f09){const _0x13a5e6=_0x20fe61;var _0x45f8b5,_0x4ac551,_0xf0a8a9,_0x1988f8;const {rowCount:_0x4c484f,colCount:_0x48610e,headerMap:_0x4de735}=_0x9beba3,_0x21ecc5=0x64,_0x5efc65=Math[_0x13a5e6(0x10b)](_0x4c484f,_0x21ecc5),_0x13557c=Math['min'](_0x48610e,_0x21ecc5);let _0x10bf12='',_0x336af6=0x0;for(let _0x756f20=0x0;_0x756f20<_0x5efc65;_0x756f20++)for(let _0x29f211=0x0;_0x29f211<_0x13557c;_0x29f211++){const _0x2e9865={...(_0x4ac551=(_0x45f8b5=_0x9beba3[_0x13a5e6(0x24b)])==null?void 0x0:_0x45f8b5[_0x756f20])==null?void 0x0:_0x4ac551[_0x29f211]},_0x8cd787=(_0xf0a8a9=_0x4de735[_0x756f20])==null?void 0x0:_0xf0a8a9[_0x13a5e6(0x315)],_0x547304=_0x1b0f09[_0x8cd787];let _0x4ffe30=_0x9beba3[_0x13a5e6(0x21f)](_0x756f20,_0x29f211);if(_0x2e9865){const _0x4ed4b4=_0x2fa8be?_0x29f211===0x0&&((_0x1988f8=_0x9beba3['getHeaderMapItem'](_0x29f211+0x1))==null?void 0x0:_0x1988f8[_0x13a5e6(0x216)]):!0x1;_0x4ffe30=ht(_0x2e9865,_0x4ed4b4,_0x547304,_0x3ddb7f);}if(_0x4ffe30!==void 0x0){const _0x4d411e=Bi(String(_0x4ffe30));_0x336af6<_0x4d411e&&(_0x10bf12=String(_0x4ffe30),_0x336af6=_0x4d411e);}}return _0x10bf12;}function Li(_0x4fdf78){const _0xb1a9aa=_0x20fe61,{rowCount:_0x46a7e1,colCount:_0x4ccce4}=_0x4fdf78;let _0x47ff0f='',_0x3f7fec=0x0;for(let _0x4311b5=_0x46a7e1-0x1;_0x4311b5>0x0&&_0x4311b5>_0x46a7e1-0x3;_0x4311b5--)for(let _0x49af57=0x0;_0x49af57<_0x4ccce4;_0x49af57++){const _0x10a9e5=_0x4fdf78[_0xb1a9aa(0x21f)](_0x4311b5,_0x49af57);if(_0x10a9e5!==void 0x0){const _0x3602d5=String(_0x10a9e5)[_0xb1a9aa(0x19f)];_0x3f7fec<_0x3602d5&&(_0x47ff0f=String(_0x10a9e5),_0x3f7fec=_0x3602d5);}}return _0x47ff0f;}function qi(_0x424b56){const _0x450e8d=_0x20fe61,{rowCount:_0x3f1ae5,colCount:_0x647254}=_0x424b56;let _0xbc152e='',_0x2ffc24=0x0;for(let _0x1b7cd3=0x0;_0x1b7cd3<_0x3f1ae5;_0x1b7cd3++)for(let _0x2d022b=0x0;_0x2d022b<_0x647254;_0x2d022b++){const _0x716796=_0x424b56[_0x450e8d(0x21f)](_0x1b7cd3,_0x2d022b);if(_0x716796!==void 0x0){const _0x3070c9=String(_0x716796)[_0x450e8d(0x19f)];_0x2ffc24<_0x3070c9&&(_0xbc152e=String(_0x716796),_0x2ffc24=_0x3070c9);}}return _0xbc152e;}function $i(_0x3fe533,_0x2a82a3){const _0xfa4cb5=_0x20fe61,{rowFields:_0x2fa80a,columnFields:_0x42b35a,valueFields:_0x1016cf,filterFields:_0x147eb2,dimension:_0x1dbcb5,measure:_0x193eba}=_0x2a82a3;for(const _0x3d1a1f of _0x2fa80a){const _0xfb6695=_0x1dbcb5[_0x3d1a1f];_0xfb6695&&_0x3fe533[_0xfa4cb5(0xbe)](_0xfb6695['dataFieldId'])&&(_0x3fe533[_0xfa4cb5(0x122)](_0xfb6695[_0xfa4cb5(0x29c)],_0x15fa2a['Row'],void 0x0,_0x3d1a1f),_0xfb6695['displayName']&&_0x3fe533[_0xfa4cb5(0x18f)](_0xfb6695['id'],_0xfb6695[_0xfa4cb5(0x128)]),_0xfb6695[_0xfa4cb5(0x121)]&&_0x3fe533[_0xfa4cb5(0x25c)](_0xfb6695['id'],_0xfb6695['sortInfo']),_0xfb6695[_0xfa4cb5(0x1ee)]&&_0x3fe533[_0xfa4cb5(0x2ad)](_0xfb6695['id'],_0xfb6695[_0xfa4cb5(0x1ee)]));}for(const _0x3e4ef3 of _0x42b35a){const _0x371b4e=_0x1dbcb5[_0x3e4ef3];_0x371b4e&&_0x3fe533[_0xfa4cb5(0xbe)](_0x371b4e[_0xfa4cb5(0x29c)])&&(_0x3fe533['addFieldWithSourceId'](_0x371b4e['dataFieldId'],_0x15fa2a['Column'],void 0x0,_0x3e4ef3),_0x371b4e['sortInfo']&&_0x3fe533[_0xfa4cb5(0x25c)](_0x371b4e['id'],_0x371b4e['sortInfo']),_0x371b4e[_0xfa4cb5(0x1ee)]&&_0x3fe533[_0xfa4cb5(0x2ad)](_0x371b4e['id'],_0x371b4e['filterInfo']),_0x371b4e[_0xfa4cb5(0x128)]&&_0x3fe533[_0xfa4cb5(0x18f)](_0x371b4e['id'],_0x371b4e[_0xfa4cb5(0x128)]));}for(const _0x5ae330 of _0x147eb2){const _0x22769d=_0x1dbcb5[_0x5ae330];_0x22769d&&_0x3fe533[_0xfa4cb5(0xbe)](_0x22769d['dataFieldId'])&&(_0x3fe533[_0xfa4cb5(0x122)](_0x22769d['dataFieldId'],_0x15fa2a[_0xfa4cb5(0x1ab)],void 0x0,_0x5ae330),_0x22769d[_0xfa4cb5(0x121)]&&_0x3fe533['setSortInfo'](_0x22769d['id'],_0x22769d[_0xfa4cb5(0x121)]),_0x22769d['filterInfo']&&_0x3fe533['setLabelFilterInfo'](_0x22769d['id'],_0x22769d[_0xfa4cb5(0x1ee)]),_0x22769d['displayName']&&_0x3fe533[_0xfa4cb5(0x18f)](_0x22769d['id'],_0x22769d[_0xfa4cb5(0x128)]));}for(const _0x13ec10 of _0x1016cf){const _0x369d4e=_0x193eba[_0x13ec10];_0x369d4e&&_0x3fe533[_0xfa4cb5(0xbe)](_0x369d4e['dataFieldId'])&&(_0x3fe533[_0xfa4cb5(0x122)](_0x369d4e[_0xfa4cb5(0x29c)],_0x15fa2a[_0xfa4cb5(0x234)],void 0x0,_0x13ec10),_0x369d4e[_0xfa4cb5(0x136)]!==void 0x0&&_0x3fe533[_0xfa4cb5(0x193)](_0x13ec10,_0x369d4e[_0xfa4cb5(0x136)]),_0x369d4e[_0xfa4cb5(0xa0)]&&_0x3fe533['setFieldFormat'](_0x13ec10,_0x369d4e[_0xfa4cb5(0xa0)]),_0x369d4e[_0xfa4cb5(0x128)]&&_0x3fe533[_0xfa4cb5(0x18f)](_0x369d4e['id'],_0x369d4e[_0xfa4cb5(0x128)]));}const _0x2b779c=_0x2a82a3['valueFilter'];for(const {fieldId:_0x1a0690,filterInfo:_0x33880a}of _0x2b779c)_0x3fe533['setValueFilterInfo'](_0x1a0690,_0x33880a);}function Gi(_0x493b15,_0x46f944){const _0x14c554=_0x20fe61,_0x2e37c9=[];_0x46f944===_0x15fa2a[_0x14c554(0x16e)]&&_0x493b15[_0x14c554(0x258)](_0x15fa2a[_0x14c554(0x16e)],_0xdab29f=>{const _0x105f3b=_0x14c554;_0x2e37c9[_0x105f3b(0xc4)](_0xdab29f[_0x105f3b(0x1bf)]());}),_0x46f944===_0x15fa2a[_0x14c554(0x1ac)]&&_0x493b15['iterateFieldByArea'](_0x15fa2a[_0x14c554(0x1ac)],_0x1fcbc6=>{const _0x129c92=_0x14c554;_0x2e37c9[_0x129c92(0xc4)](_0x1fcbc6['getId']());}),_0x46f944===_0x15fa2a[_0x14c554(0x1ab)]&&_0x493b15[_0x14c554(0x258)](_0x15fa2a[_0x14c554(0x1ab)],_0x299cda=>{const _0x3c03cb=_0x14c554;_0x2e37c9[_0x3c03cb(0xc4)](_0x299cda[_0x3c03cb(0x1bf)]());}),_0x46f944===_0x15fa2a[_0x14c554(0x234)]&&_0x493b15[_0x14c554(0x258)](_0x15fa2a['Value'],_0x491a42=>{const _0x524ff0=_0x14c554;_0x2e37c9['push'](_0x491a42[_0x524ff0(0x1bf)]());}),_0x46f944===void 0x0&&_0x493b15[_0x14c554(0x1e0)](_0x433578=>{const _0x1034b1=_0x14c554;_0x2e37c9[_0x1034b1(0xc4)](_0x433578[_0x1034b1(0x1bf)]());});const _0x317e11=_0x2e37c9[_0x14c554(0x19f)];for(let _0x518a21=_0x317e11-0x1;_0x518a21>=0x0;_0x518a21--)_0x493b15['removeField'](_0x2e37c9[_0x518a21]);const _0x1a9621=_0x493b15[_0x14c554(0x314)]();for(const _0x295b2b in _0x1a9621)_0x493b15[_0x14c554(0x267)](_0x295b2b);}function Ji(_0x4aa15e,_0x2659bb){const _0x24d078=_0x20fe61,_0x205181=new Date(_0x3f682a(_0x2659bb)),_0x23b450=new Date(_0x3f682a(_0x4aa15e)),_0x2765f9=_0x205181[_0x24d078(0x184)](),_0x3b0a1c=_0x23b450['getFullYear'](),_0x498c9d=_0x205181[_0x24d078(0x175)](),_0x2ca6e6=_0x23b450['getMonth'](),_0x5ed2aa=_0x205181[_0x24d078(0x2bc)](),_0x59a476=_0x23b450['getDate'](),_0x3acc16=_0x2765f9===_0x3b0a1c,_0x101c82=_0x3acc16&&_0x498c9d===_0x2ca6e6;return _0x3acc16&&_0x101c82&&!(_0x101c82&&_0x5ed2aa===_0x59a476)?_0xf1ca2c[_0x24d078(0x2d4)]:_0x3acc16&&!_0x101c82?_0xf1ca2c[_0x24d078(0x238)]:_0xf1ca2c[_0x24d078(0x12b)];}function zo(_0x502800,_0x41bcee){const _0x28e6c8=_0x20fe61,_0xb52973=_0x502800[_0x28e6c8(0x10c)](q)[_0x28e6c8(0x263)]();let _0xd4d17b='';switch(_0x41bcee){case _0xf1ca2c['YearMonthDate']:_0xd4d17b=_0xb52973['sheets-pivot.dateGroup.yearMonthDate'];break;case _0xf1ca2c[_0x28e6c8(0x238)]:_0xd4d17b=_0xb52973['sheets-pivot.dateGroup.yearMonth'];break;case _0xf1ca2c[_0x28e6c8(0x12b)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x248)];break;case _0xf1ca2c[_0x28e6c8(0x278)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x224)];break;case _0xf1ca2c['Quarter']:_0xd4d17b=_0xb52973['sheets-pivot.dateGroup.quarter'];break;case _0xf1ca2c[_0x28e6c8(0x271)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x268)];break;case _0xf1ca2c[_0x28e6c8(0x262)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x162)];break;case _0xf1ca2c[_0x28e6c8(0x19e)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x15a)];break;case _0xf1ca2c[_0x28e6c8(0x144)]:_0xd4d17b=_0xb52973[_0x28e6c8(0xd0)];break;case _0xf1ca2c[_0x28e6c8(0x12e)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x219)];break;case _0xf1ca2c[_0x28e6c8(0x2f0)]:_0xd4d17b=_0xb52973[_0x28e6c8(0x2e2)];break;default:_0xd4d17b='';break;}return _0xd4d17b;}const Ho=_0x20fe61(0x18c),Mo={};var ji=Object[_0x20fe61(0x16f)],Ki=(_0x2d79cd,_0x12a31a,_0x9fb3d6,_0x361eda)=>{const _0x43a5aa=_0x20fe61;for(var _0x370f01=_0x361eda>0x1?void 0x0:_0x361eda?ji(_0x12a31a,_0x9fb3d6):_0x12a31a,_0x20bd7c=_0x2d79cd[_0x43a5aa(0x19f)]-0x1,_0x17a87a;_0x20bd7c>=0x0;_0x20bd7c--)(_0x17a87a=_0x2d79cd[_0x20bd7c])&&(_0x370f01=_0x17a87a(_0x370f01)||_0x370f01);return _0x370f01;},at=(_0x364f72,_0x187fc3)=>(_0x107c72,_0x485e3c)=>_0x187fc3(_0x107c72,_0x485e3c,_0x364f72);let he=class extends _0xf1ed36{constructor(_0x4dc7d8,_0x3c9402,_0x45a61b,_0x33b81f,_0x1c00ed){const _0x314766=_0x20fe61;super(),V(this,_0x314766(0x1d0),new Map()),V(this,_0x314766(0xf5),new Map()),V(this,_0x314766(0xb8),new Map()),V(this,_0x314766(0x24c),new Map()),V(this,_0x314766(0x158),new _0x24768e()),V(this,'_pivotInitCompleted$',new _0x24768e()),V(this,_0x314766(0x13e),this[_0x314766(0xc2)]['asObservable']()),V(this,_0x314766(0x1e1),new _0x24768e()),V(this,_0x314766(0xd2),this['_pivotConfigChange$'][_0x314766(0x2da)]()),V(this,_0x314766(0x261),{}),V(this,_0x314766(0xbb),this[_0x314766(0x158)][_0x314766(0x2da)]()),(this[_0x314766(0x1a3)]=_0x4dc7d8,this['_commandService']=_0x3c9402,this['_univerInstanceService']=_0x45a61b,this[_0x314766(0x30a)]=_0x33b81f,this['_configService']=_0x1c00ed,this[_0x314766(0x2d9)](),this[_0x314766(0x191)]());const _0x30abd0=this[_0x314766(0xac)][_0x314766(0x1f3)](Ho);(_0x30abd0==null?void 0x0:_0x30abd0[_0x314766(0x222)])===!0x0&&this[_0x314766(0x2a3)]();}[_0x20fe61(0x191)](){const _0x8b0ed4=_0x20fe61;this[_0x8b0ed4(0xef)](this[_0x8b0ed4(0x260)][_0x8b0ed4(0xe1)](_0x4f12fd[_0x8b0ed4(0x126)])[_0x8b0ed4(0x137)](_0x32e6e6=>{const _0x271271=_0x8b0ed4;this['deleteUnitId'](_0x32e6e6[_0x271271(0x145)]());}));}['setPivotInitCompleted'](){const _0x51f1f7=_0x20fe61;this[_0x51f1f7(0xc2)][_0x51f1f7(0x30f)](!0x0);}[_0x20fe61(0x2d9)](){const _0x2cf4f1=_0x20fe61,_0x5ebccc=fo(this[_0x2cf4f1(0x1a3)],Bo,'',{});this['_textInfo']=_0x5ebccc,this[_0x2cf4f1(0x10f)][_0x2cf4f1(0x2c1)](uo['id'],{'textInfo':_0x5ebccc},{'onlyLocal':!0x0});}[_0x20fe61(0x263)](){const _0xfcfd3c=_0x20fe61;return this[_0xfcfd3c(0x261)];}[_0x20fe61(0x19c)](_0x4d8ac1,_0x236e72,_0xd6fb2f,_0x3a9fa2,_0x29ded6){const _0x18588f=_0x20fe61;this[_0x18588f(0x269)](_0x4d8ac1,_0x236e72,_0xd6fb2f,_0x3a9fa2),this[_0x18588f(0xd7)](_0x4d8ac1,_0x236e72,_0xd6fb2f,_0x29ded6);}[_0x20fe61(0xec)](_0x3dc5b7,_0x29bd24,_0x3716b5){const _0x15fb4e=_0x20fe61;var _0x43fe8e;const _0x13e6cf=(_0x43fe8e=this['_model'][_0x15fb4e(0x10c)](_0x3dc5b7))==null?void 0x0:_0x43fe8e[_0x15fb4e(0x10c)](_0x29bd24);if(_0x13e6cf)return _0x13e6cf['get'](_0x3716b5);}[_0x20fe61(0x170)](_0x1a4fdb,_0x2b7359){const _0x2db9f4=_0x20fe61,_0x440a8d=this[_0x2db9f4(0x1d0)][_0x2db9f4(0x10c)](_0x1a4fdb);if(_0x440a8d){for(const [_0x4703d1,_0x5015a7]of _0x440a8d[_0x2db9f4(0x1f2)]())for(const [_0xa3bb24,_0x319f87]of _0x5015a7[_0x2db9f4(0x1f2)]())if(_0xa3bb24===_0x2b7359)return _0x319f87[_0x2db9f4(0x2eb)];}}[_0x20fe61(0x26a)](_0x564a2e,_0x5b8d59,_0x195ac3){const _0x226e96=_0x20fe61,_0xafd95c=this[_0x226e96(0xec)](_0x564a2e,_0x5b8d59,_0x195ac3);return _0xafd95c==null?void 0x0:_0xafd95c[_0x226e96(0x2eb)];}[_0x20fe61(0xbd)](_0x57d0de,_0x4bd409){const _0x3b9f0b=_0x20fe61;var _0x527c93;return(_0x527c93=this['_model']['get'](_0x57d0de))==null?void 0x0:_0x527c93[_0x3b9f0b(0x10c)](_0x4bd409);}[_0x20fe61(0x2f3)](_0x267746,_0x184c58,_0x539455,_0x6fb4df){const _0x5d2886=_0x20fe61,_0x39e763=this[_0x5d2886(0x194)](_0x267746,_0x184c58);_0x6fb4df?_0x39e763[_0x5d2886(0xfa)](_0x539455,_0x6fb4df):_0x39e763[_0x5d2886(0xe8)](_0x539455),this['_pivotConfigChange$'][_0x5d2886(0x30f)]({'unitId':_0x267746,'subUnitId':_0x184c58,'pivotTableId':_0x539455,'pivotTableConfig':_0x6fb4df});}[_0x20fe61(0x295)](_0x25cc5f,_0x514867){const _0x2f9cb8=_0x20fe61;var _0x52785c;return(_0x52785c=this[_0x2f9cb8(0xf5)]['get'](_0x25cc5f))==null?void 0x0:_0x52785c[_0x2f9cb8(0x1cd)][_0x514867];}[_0x20fe61(0x301)](_0x34d9b2,_0x40f7c1){const _0x1a91c2=_0x20fe61;this['_collectionConfigModel']['set'](_0x34d9b2,_0x40f7c1),this[_0x1a91c2(0x158)][_0x1a91c2(0x30f)](Math[_0x1a91c2(0x10e)]());}['_ensurePivotMap'](_0x3fbcb1,_0x4ac6f7){const _0xd86384=_0x20fe61;let _0x31cc74=this[_0xd86384(0x1d0)][_0xd86384(0x10c)](_0x3fbcb1);_0x31cc74||(_0x31cc74=new Map(),this[_0xd86384(0x1d0)][_0xd86384(0xfa)](_0x3fbcb1,_0x31cc74));let _0x5098db=_0x31cc74[_0xd86384(0x10c)](_0x4ac6f7);return _0x5098db||(_0x5098db=new Map(),_0x31cc74[_0xd86384(0xfa)](_0x4ac6f7,_0x5098db)),_0x5098db;}['_ensurePivotTableRangeInfo'](_0x47c4d8,_0x50b116){const _0x445a06=_0x20fe61;let _0x80e454=this[_0x445a06(0xb8)][_0x445a06(0x10c)](_0x47c4d8);_0x80e454||(_0x80e454=new Map(),this[_0x445a06(0xb8)]['set'](_0x47c4d8,_0x80e454));let _0x16f8ac=_0x80e454[_0x445a06(0x10c)](_0x50b116);return _0x16f8ac||(_0x16f8ac=new Map(),_0x80e454[_0x445a06(0xfa)](_0x50b116,_0x16f8ac)),_0x16f8ac;}[_0x20fe61(0xdc)](_0x3e4ada,_0x19a85d){const _0x30f02b=_0x20fe61;let _0x4b6c22=this[_0x30f02b(0x24c)][_0x30f02b(0x10c)](_0x3e4ada);_0x4b6c22||(_0x4b6c22=new Map(),this['_pivotTableMatrixInfo'][_0x30f02b(0xfa)](_0x3e4ada,_0x4b6c22));let _0x22f375=_0x4b6c22[_0x30f02b(0x10c)](_0x19a85d);return _0x22f375||(_0x22f375=new Map(),_0x4b6c22[_0x30f02b(0xfa)](_0x19a85d,_0x22f375)),_0x22f375;}[_0x20fe61(0xd7)](_0x5949ee,_0x559377,_0x3c0de0,_0x1eaa93){const _0x5b2b5d=_0x20fe61;var _0x7cdf6c;const _0x364879=this[_0x5b2b5d(0x177)](_0x5949ee,_0x559377),_0x16eef1=(_0x7cdf6c=_0x364879[_0x5b2b5d(0x10c)](_0x3c0de0))==null?void 0x0:_0x7cdf6c[_0x5b2b5d(0x2bb)];_0x364879['set'](_0x3c0de0,{'oldRangeInfo':_0x16eef1,'rangeInfo':_0x1eaa93});}[_0x20fe61(0x269)](_0x5301b0,_0x363ca8,_0x16eb28,_0xc6d5e){const _0x29438b=_0x20fe61;var _0x1d7403;const _0x562550=this[_0x29438b(0xdc)](_0x5301b0,_0x363ca8),_0x30d4fa=(_0x1d7403=_0x562550[_0x29438b(0x10c)](_0x16eb28))==null?void 0x0:_0x1d7403[_0x29438b(0xc1)];_0x562550['set'](_0x16eb28,{'oldMatrix':_0x30d4fa,'matrix':_0xc6d5e});}[_0x20fe61(0xb0)](_0x38a57d,_0xf0b44c,_0x2d8adc){const _0x335cb9=_0x20fe61;var _0x1f0357,_0x1aa975;return(_0x1aa975=(_0x1f0357=this[_0x335cb9(0xb8)]['get'](_0x38a57d))==null?void 0x0:_0x1f0357[_0x335cb9(0x10c)](_0xf0b44c))==null?void 0x0:_0x1aa975[_0x335cb9(0x10c)](_0x2d8adc);}['getPivotTableMatrixInfo'](_0x3f14f6,_0xc7aeb5,_0x447bae){const _0x5f14b8=_0x20fe61;var _0x5d6bf7,_0x441b8e;return(_0x441b8e=(_0x5d6bf7=this[_0x5f14b8(0x24c)][_0x5f14b8(0x10c)](_0x3f14f6))==null?void 0x0:_0x5d6bf7['get'](_0xc7aeb5))==null?void 0x0:_0x441b8e[_0x5f14b8(0x10c)](_0x447bae);}[_0x20fe61(0x2d2)](_0x302c01){const _0x14fd8b=_0x20fe61;this[_0x14fd8b(0x1d0)]['delete'](_0x302c01),this[_0x14fd8b(0xf5)][_0x14fd8b(0xe8)](_0x302c01);}[_0x20fe61(0x244)](_0x395823){const _0x4e811e=_0x20fe61,_0x5c5e6f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4e811e(0xf5)][_0x4e811e(0x10c)](_0x395823)&&(_0x5c5e6f['dataFieldManagerConfig'][_0x395823]=this[_0x4e811e(0xf5)][_0x4e811e(0x10c)](_0x395823)),this[_0x4e811e(0x1d0)]['get'](_0x395823)){_0x5c5e6f[_0x4e811e(0xf7)][_0x395823]={};const _0x15d299=this['_model'][_0x4e811e(0x10c)](_0x395823);_0x15d299!=null&&_0x15d299[_0x4e811e(0x1a7)]&&[..._0x15d299['keys']()][_0x4e811e(0x19a)](_0x1f225a=>{const _0x69ba50=_0x4e811e,_0x1801a3=_0x15d299[_0x69ba50(0x10c)](_0x1f225a);_0x1801a3!=null&&_0x1801a3[_0x69ba50(0x1a7)]&&(_0x5c5e6f['pivotTableConfigs'][_0x395823][_0x1f225a]={},[..._0x1801a3[_0x69ba50(0x2e4)]()][_0x69ba50(0x19a)](_0x3f8346=>{const _0x4e1a0f=_0x69ba50,_0x128f82=_0x1801a3[_0x4e1a0f(0x10c)](_0x3f8346);_0x128f82&&(_0x5c5e6f[_0x4e1a0f(0xf7)][_0x395823][_0x1f225a][_0x3f8346]=_0x128f82);}));});}return _0x5c5e6f;}[_0x20fe61(0x2a3)](){const _0x5696c2=_0x20fe61;this[_0x5696c2(0xef)](this[_0x5696c2(0x30a)]['registerPluginResource']({'toJson':_0x49e99b=>JSON[_0x5696c2(0x17d)](this[_0x5696c2(0x244)](_0x49e99b)),'parseJson':_0x2538eb=>({}),'businesses':[_0x4f12fd['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x6b4d79,_0x361be7)=>{},'onUnLoad':_0x7b9cd9=>{const _0x332dc6=_0x5696c2;this[_0x332dc6(0x2d2)](_0x7b9cd9);}}));}};he=Ki([at(0x0,_0x3b120b(_0x4a0d8a)),at(0x1,_0x3b120b(_0x1ad572)),at(0x2,_0x3b120b(_0x191739)),at(0x3,_0x3b120b(_0xa82683)),at(0x4,_0x3b120b(_0x45b506))],he);var zi=Object[_0x20fe61(0x16f)],Hi=(_0x338968,_0x4cb42f,_0x233627,_0x100803)=>{const _0x25672f=_0x20fe61;for(var _0x58c849=_0x100803>0x1?void 0x0:_0x100803?zi(_0x4cb42f,_0x233627):_0x4cb42f,_0x5a5707=_0x338968[_0x25672f(0x19f)]-0x1,_0x3f96f5;_0x5a5707>=0x0;_0x5a5707--)(_0x3f96f5=_0x338968[_0x5a5707])&&(_0x58c849=_0x3f96f5(_0x58c849)||_0x58c849);return _0x58c849;},rt=(_0x32de85,_0x290b1d)=>(_0x1c401a,_0x285ae3)=>_0x290b1d(_0x1c401a,_0x285ae3,_0x32de85);let Ne=class extends _0xf1ed36{constructor(_0x38fc4f,_0xbd8d9e,_0x1c3977,_0x5a55c8,_0x396c40){const _0x3f1ef8=_0x20fe61;super(),V(this,_0x3f1ef8(0x22d),new Map()),V(this,'_pivotRenderValueMatrixCache',new Map()),V(this,_0x3f1ef8(0x11c),new _0x24768e()),V(this,_0x3f1ef8(0x266),this[_0x3f1ef8(0x11c)][_0x3f1ef8(0x2da)]()),V(this,_0x3f1ef8(0x2a6),new _0x24768e()),V(this,_0x3f1ef8(0x310),this[_0x3f1ef8(0x2a6)]['asObservable']()),V(this,_0x3f1ef8(0x261)),(this['_localeService']=_0x38fc4f,this[_0x3f1ef8(0x1a3)]=_0xbd8d9e,this['_sheetsPivotTableConfigModel']=_0x1c3977,this[_0x3f1ef8(0x260)]=_0x5a55c8,this['_exclusiveRangeService']=_0x396c40,this[_0x3f1ef8(0x2d9)](),this[_0x3f1ef8(0x191)]());}[_0x20fe61(0x191)](){const _0x3e04ea=_0x20fe61;this[_0x3e04ea(0xef)](this[_0x3e04ea(0x260)][_0x3e04ea(0xe1)](_0x4f12fd['UNIVER_SHEET'])[_0x3e04ea(0x137)](_0x593a58=>{const _0x269d0d=_0x3e04ea;this[_0x269d0d(0x2d2)](_0x593a58['getUnitId']());}));}[_0x20fe61(0x2d9)](){const _0x256a2b=_0x20fe61;this[_0x256a2b(0x261)]=fo(this[_0x256a2b(0x1a3)],Bo,'',{});}[_0x20fe61(0x319)](_0x2ff68f){const _0x4b3c43=_0x20fe61,{view:_0x1fdb0e,unitId:_0xf1388c,subUnitId:_0xbe8ab2,pivotTableId:_0x1efa20,type:_0x2d4b83}=_0x2ff68f,_0x3d7653=this[_0x4b3c43(0x1cf)][_0x4b3c43(0xec)](_0xf1388c,_0xbe8ab2,_0x1efa20);if(!_0x1fdb0e||!_0x3d7653||_0x2d4b83===L[_0x4b3c43(0x2a5)])return;const {pageView:_0x1dd55b,cornerView:_0x49799d,rowView:_0x3307b4,colView:_0x329bde,dataView:_0x13867e}=_0x1fdb0e,_0x258e80=_0x3d7653[_0x4b3c43(0x2eb)],_0x3c3b56=_0x3d7653[_0x4b3c43(0x169)],_0x45e5b1=this[_0x4b3c43(0x225)](_0xf1388c,_0xbe8ab2),_0x580f22=this[_0x4b3c43(0x245)](_0xf1388c,_0xbe8ab2,_0x1efa20);if(_0x3c3b56)return this[_0x4b3c43(0xa9)](_0x2ff68f,_0x45e5b1,_0x258e80,_0x580f22);{const _0x143d32=ge(_0x258e80,_0x1dd55b,!0x0),_0x5ec4b1=_0x1dd55b['lastRow']>=0x0?_0x1dd55b[_0x4b3c43(0x19d)]+0x1:0x0,_0x16cb71=_0x49799d[_0x4b3c43(0xa6)](),_0x3c8866=_0x49799d[_0x4b3c43(0x1fa)](),_0x2426c4=_0x143d32[_0x4b3c43(0x19f)]>0x0?It:0x0,_0x196d29=ge({'row':_0x258e80[_0x4b3c43(0x28d)]+_0x5ec4b1+_0x2426c4,'col':_0x258e80[_0x4b3c43(0x2fa)]},_0x49799d,!0x1,!0x1),_0x3de6d6=ge({'row':_0x258e80[_0x4b3c43(0x28d)]+_0x5ec4b1+_0x2426c4+_0x16cb71,'col':_0x258e80[_0x4b3c43(0x2fa)]},_0x3307b4,!0x1,!0x0),_0x4d03e0=ge({'row':_0x258e80[_0x4b3c43(0x28d)]+_0x5ec4b1+_0x2426c4,'col':_0x258e80['col']+_0x3c8866},_0x329bde,!0x1,!0x0),_0x54b482=ge({'row':_0x258e80[_0x4b3c43(0x28d)]+_0x5ec4b1+_0x2426c4+_0x16cb71,'col':_0x258e80['col']+_0x3c8866},_0x13867e,!0x1,!0x1);_0x580f22[_0x4b3c43(0x239)]={'rowRanges':_0x3de6d6,'colRanges':_0x4d03e0,'cornerRanges':_0x196d29,'dataRanges':_0x54b482,'pageRanges':_0x143d32};const _0x11fb51=Mi(this['_injector'],_0x1fdb0e,_0x3d7653,this[_0x4b3c43(0x261)]),{valueMatrix:_0x293f83,rowInfo:_0x52e925,colInfo:_0x4f0d0a,cornerInfo:_0x36809d,rowHeaderMap:_0x1154b8,colHeaderMap:_0x4d6c0e}=_0x11fb51;return _0x580f22[_0x4b3c43(0x112)]={'rowInfo':_0x52e925,'colInfo':_0x4f0d0a,'cornerInfo':_0x36809d},_0x580f22[_0x4b3c43(0x181)]={'rowHeaderMap':_0x1154b8,'colHeaderMap':_0x4d6c0e},_0x293f83[_0x4b3c43(0x19a)]((_0x4785a6,_0x225e16)=>{const _0x3c52bc=_0x4b3c43;Object['keys'](_0x225e16)[_0x3c52bc(0x19a)](_0x10b729=>{const _0x2ba428=_0x3c52bc,_0x3f14b9=+_0x10b729,_0x40aabe=_0x293f83['getValue'](_0x4785a6,_0x3f14b9);_0x45e5b1[_0x2ba428(0x15b)](_0x4785a6,_0x3f14b9,_0x40aabe);});}),this['_viewUpdate$'][_0x4b3c43(0x30f)]({'unitId':_0xf1388c,'subUnitId':_0xbe8ab2,'valueMatrix':_0x45e5b1,'rangesCache':_0x580f22[_0x4b3c43(0x239)],'pivotTableId':_0x1efa20,'type':_0x2ff68f[_0x4b3c43(0x202)]}),this['_sheetsPivotTableConfigModel'][_0x4b3c43(0x19c)](_0xf1388c,_0xbe8ab2,_0x1efa20,_0x45e5b1,_0x580f22[_0x4b3c43(0x239)]),this[_0x4b3c43(0x27f)][_0x4b3c43(0x2b7)](_0xf1388c,_0xbe8ab2,Wt,this['_createExclusiveRange'](_0x580f22['rangesInfo'],_0x1efa20)),{'rangeCache':_0x580f22[_0x4b3c43(0x239)],'matrix':_0x45e5b1};}}['_updateRenderEmptyCache'](_0x530abf,_0x218774,_0x39449f,_0x25ac96){const _0x4d1c4e=_0x20fe61,_0x35974e=this[_0x4d1c4e(0xfe)]['t'],{unitId:_0x7456c2,subUnitId:_0x83c8a0,pivotTableId:_0x551930}=_0x530abf,_0x386dff={'filter':_0x35974e(_0x4d1c4e(0x305)),'row':_0x35974e(_0x4d1c4e(0x117)),'column':_0x35974e(_0x4d1c4e(0xbc)),'values':_0x35974e(_0x4d1c4e(0x25f))},{matrixCache:_0x46bc1a,rangesCache:_0x33d033}=Jo(_0x386dff,_0x39449f);return _0x46bc1a[_0x4d1c4e(0xa5)]((_0x81a7c2,_0x349902,_0x54539e)=>{const _0x2553c4=_0x4d1c4e;_0x218774[_0x2553c4(0x15b)](_0x81a7c2,_0x349902,_0x54539e);}),_0x25ac96[_0x4d1c4e(0x239)]=_0x33d033,this[_0x4d1c4e(0x2a6)][_0x4d1c4e(0x30f)]({'unitId':_0x7456c2,'subUnitId':_0x83c8a0,'valueMatrix':_0x218774,'rangesCache':_0x33d033,'pivotTableId':_0x551930,'type':_0x530abf[_0x4d1c4e(0x202)],'isEmpty':!0x0}),this[_0x4d1c4e(0x1cf)][_0x4d1c4e(0x19c)](_0x7456c2,_0x83c8a0,_0x551930,_0x218774,_0x33d033),this['_exclusiveRangeService'][_0x4d1c4e(0x2b7)](_0x7456c2,_0x83c8a0,Wt,this[_0x4d1c4e(0xcc)](_0x33d033,_0x551930)),{'rangeCache':_0x25ac96['rangesInfo'],'matrix':_0x218774};}[_0x20fe61(0xcc)](_0x4daf8b,_0x412dac){const _0x3d7072=[],_0x5bc634=Lt(_0x4daf8b);for(const _0x91deeb of _0x5bc634)_0x3d7072['push']({'groupId':_0x412dac,'range':_0x91deeb});return _0x3d7072;}[_0x20fe61(0x185)](_0x96519){const _0x1e27f1=_0x20fe61;var _0x668ca7,_0x1948bf,_0x4feffd,_0x26f6af;const {pivotTableId:_0x5e7809,unitId:_0x1263b7,subUnitId:_0x550a64}=_0x96519;if(!_0x5e7809||!_0x1263b7||!_0x550a64)return;const _0x348e47=this[_0x1e27f1(0x225)](_0x1263b7,_0x550a64),_0x31fc82=(_0x1948bf=(_0x668ca7=this[_0x1e27f1(0x22d)]['get'](_0x1263b7))==null?void 0x0:_0x668ca7[_0x1e27f1(0x10c)](_0x550a64))==null?void 0x0:_0x1948bf[_0x1e27f1(0x10c)](_0x5e7809);if(_0x31fc82!=null&&_0x31fc82[_0x1e27f1(0x239)]){for(const _0x4157d5 of Object[_0x1e27f1(0x2e4)](_0x31fc82[_0x1e27f1(0x239)]))_0x31fc82[_0x1e27f1(0x239)][_0x4157d5][_0x1e27f1(0x19a)](_0x2da90b=>{const _0x3cca61=_0x1e27f1;for(let _0x1a184f=_0x2da90b[_0x3cca61(0x210)];_0x1a184f<=_0x2da90b['endRow'];_0x1a184f++)for(let _0x50cbd3=_0x2da90b['startColumn'];_0x50cbd3<=_0x2da90b[_0x3cca61(0x24f)];_0x50cbd3++)_0x348e47[_0x3cca61(0x13f)](_0x1a184f,_0x50cbd3);});}_0x31fc82&&((_0x26f6af=(_0x4feffd=this['_pivotRenderInfoCache'][_0x1e27f1(0x10c)](_0x1263b7))==null?void 0x0:_0x4feffd[_0x1e27f1(0x10c)](_0x550a64))==null||_0x26f6af['delete'](_0x5e7809)),this[_0x1e27f1(0x2a6)][_0x1e27f1(0x30f)]({'unitId':_0x1263b7,'subUnitId':_0x550a64,'valueMatrix':_0x348e47,'pivotTableId':_0x5e7809,'rangesCache':void 0x0,'type':_0x96519[_0x1e27f1(0x202)]}),this[_0x1e27f1(0x27f)][_0x1e27f1(0xd9)](_0x1263b7,_0x550a64,Wt,_0x5e7809);}[_0x20fe61(0x245)](_0x4f7a29,_0x126d71,_0x41d694){const _0x211f46=_0x20fe61;var _0x179c9d,_0x383fec,_0x3cf757,_0x5c7185,_0xba8fd,_0x52702b;return this[_0x211f46(0x22d)][_0x211f46(0x296)](_0x4f7a29)||this['_pivotRenderInfoCache']['set'](_0x4f7a29,new Map()),(_0x179c9d=this['_pivotRenderInfoCache']['get'](_0x4f7a29))!=null&&_0x179c9d[_0x211f46(0x296)](_0x126d71)||(_0x383fec=this[_0x211f46(0x22d)][_0x211f46(0x10c)](_0x4f7a29))==null||_0x383fec[_0x211f46(0xfa)](_0x126d71,new Map()),(_0x5c7185=(_0x3cf757=this[_0x211f46(0x22d)][_0x211f46(0x10c)](_0x4f7a29))==null?void 0x0:_0x3cf757[_0x211f46(0x10c)](_0x126d71))!=null&&_0x5c7185[_0x211f46(0x296)](_0x41d694)||(_0x52702b=(_0xba8fd=this[_0x211f46(0x22d)][_0x211f46(0x10c)](_0x4f7a29))==null?void 0x0:_0xba8fd[_0x211f46(0x10c)](_0x126d71))==null||_0x52702b['set'](_0x41d694,{}),this['_pivotRenderInfoCache'][_0x211f46(0x10c)](_0x4f7a29)['get'](_0x126d71)[_0x211f46(0x10c)](_0x41d694);}[_0x20fe61(0x225)](_0x1fb3cc,_0x492f0b){const _0x18460c=_0x20fe61;var _0x2b014f,_0x59586c;return this[_0x18460c(0x1b9)]['has'](_0x1fb3cc)||this[_0x18460c(0x1b9)][_0x18460c(0xfa)](_0x1fb3cc,new Map()),(_0x2b014f=this['_pivotRenderValueMatrixCache']['get'](_0x1fb3cc))!=null&&_0x2b014f[_0x18460c(0x296)](_0x492f0b)||(_0x59586c=this[_0x18460c(0x1b9)][_0x18460c(0x10c)](_0x1fb3cc))==null||_0x59586c[_0x18460c(0xfa)](_0x492f0b,new _0x47b566()),this['_pivotRenderValueMatrixCache'][_0x18460c(0x10c)](_0x1fb3cc)[_0x18460c(0x10c)](_0x492f0b);}['getPivotTableCellData'](_0x37e1ae,_0x5dce06,_0x340822,_0x4849d5){const _0x47c12f=_0x20fe61;var _0x36b67d,_0x1837dc;const _0x2e8d56=(_0x1837dc=(_0x36b67d=this[_0x47c12f(0x1b9)][_0x47c12f(0x10c)](_0x37e1ae))==null?void 0x0:_0x36b67d[_0x47c12f(0x10c)](_0x5dce06))==null?void 0x0:_0x1837dc[_0x47c12f(0x21f)](_0x340822,_0x4849d5);if(_0x2e8d56!=null)return _0x2e8d56;}['getPivotTableIdByCell'](_0x4262b5,_0x380147,_0x461a40,_0x3d6a8d){const _0xe4cde=_0x20fe61;var _0x4c496c;const _0x16416e=_0x1ceb49(_0x461a40,_0x3d6a8d),_0x290b7c=(_0x4c496c=this['_pivotRenderInfoCache'][_0xe4cde(0x10c)](_0x4262b5))==null?void 0x0:_0x4c496c[_0xe4cde(0x10c)](_0x380147);return _0x290b7c?Array[_0xe4cde(0x104)](_0x290b7c['keys']())[_0xe4cde(0x15d)](_0x1a5eb1=>{const _0x216250=_0xe4cde,_0x3ecf6b=_0x290b7c[_0x216250(0x10c)](_0x1a5eb1),_0x49155f=_0x3ecf6b==null?void 0x0:_0x3ecf6b[_0x216250(0x239)];return _0x49155f?Object[_0x216250(0x2e4)](_0x49155f)[_0x216250(0x143)](_0x5e2c57=>_0x49155f[_0x5e2c57][_0x216250(0x143)](_0xf8d9b4=>_0x5d8cb0['contains'](_0xf8d9b4,_0x16416e))):!0x1;}):void 0x0;}[_0x20fe61(0x27b)](_0x55036b,_0x4ec405,_0x287240){const _0x43cc5a=_0x20fe61;var _0x2f6301;const _0x2d34a9=(_0x2f6301=this['_pivotRenderInfoCache'][_0x43cc5a(0x10c)](_0x55036b))==null?void 0x0:_0x2f6301[_0x43cc5a(0x10c)](_0x4ec405),_0x3268a9=[];return _0x2d34a9&&Array[_0x43cc5a(0x104)](_0x2d34a9[_0x43cc5a(0x2e4)]())['forEach'](_0x3d777b=>{const _0x2f9ff6=_0x43cc5a,_0x2a3062=_0x2d34a9[_0x2f9ff6(0x10c)](_0x3d777b),_0x424bb8=_0x2a3062==null?void 0x0:_0x2a3062[_0x2f9ff6(0x239)];if(_0x424bb8)for(const _0x5387ca of Object[_0x2f9ff6(0x119)](_0x424bb8)){let _0x1df798=!0x1;for(const _0x4d7b08 of _0x5387ca)if(_0x5d8cb0['intersects'](_0x4d7b08,_0x287240)){_0x3268a9[_0x2f9ff6(0xc4)](_0x3d777b),_0x1df798=!0x0;break;}if(_0x1df798)break;}}),_0x3268a9;}[_0x20fe61(0x304)](_0x3cb459,_0x20bddd){const _0x5b3359=_0x20fe61;var _0x42b76b,_0x405bef;return(_0x405bef=(_0x42b76b=this[_0x5b3359(0x1b9)][_0x5b3359(0x10c)](_0x3cb459))==null?void 0x0:_0x42b76b[_0x5b3359(0x10c)](_0x20bddd))!=null?_0x405bef:new _0x47b566();}[_0x20fe61(0xe2)](_0x21dee7,_0x401101){const _0x164c80=_0x20fe61;var _0x48fdf1;return(_0x48fdf1=this[_0x164c80(0x22d)]['get'](_0x21dee7))==null?void 0x0:_0x48fdf1[_0x164c80(0x10c)](_0x401101);}[_0x20fe61(0x22b)](_0x2ba8c3,_0xefc389,_0x141c56){const _0x54bf91=_0x20fe61;var _0x857921,_0x335a78;return(_0x335a78=(_0x857921=this[_0x54bf91(0x22d)]['get'](_0x2ba8c3))==null?void 0x0:_0x857921['get'](_0xefc389))==null?void 0x0:_0x335a78[_0x54bf91(0x10c)](_0x141c56);}[_0x20fe61(0x2d2)](_0x4d7d5c){const _0x298f7a=_0x20fe61;this[_0x298f7a(0x22d)][_0x298f7a(0xe8)](_0x4d7d5c),this[_0x298f7a(0x1b9)][_0x298f7a(0xe8)](_0x4d7d5c);}[_0x20fe61(0xa1)](_0x2cb59b,_0x41dfeb){const _0x313467=_0x20fe61;this['_markDirty$'][_0x313467(0x30f)]({'unitId':_0x2cb59b,'subUnitId':_0x41dfeb});}};Ne=Hi([rt(0x0,_0x3b120b(_0x27fdf8)),rt(0x1,_0x3b120b(_0x4a0d8a)),rt(0x2,_0x3b120b(he)),rt(0x3,_0x3b120b(_0x191739)),rt(0x4,_0x3b120b(_0x16ba7e))],Ne);var Yi=Object[_0x20fe61(0x16f)],Qi=(_0x5890ce,_0x253efc,_0x2ab040,_0x4ded64)=>{for(var _0x2ff433=_0x4ded64>0x1?void 0x0:_0x4ded64?Yi(_0x253efc,_0x2ab040):_0x253efc,_0x182224=_0x5890ce['length']-0x1,_0x23596d;_0x182224>=0x0;_0x182224--)(_0x23596d=_0x5890ce[_0x182224])&&(_0x2ff433=_0x23596d(_0x2ff433)||_0x2ff433);return _0x2ff433;},yo=(_0x115bc4,_0x13afa2)=>(_0x43b888,_0x43d7e2)=>_0x13afa2(_0x43b888,_0x43d7e2,_0x115bc4);let ie=class extends _0xf1ed36{constructor(_0x393009,_0x162b92){const _0x40da49=_0x20fe61;super(),V(this,_0x40da49(0x2ef),new _0x27adbb({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0x46745f({'PIVOT_MUTATION_GENERATE':qo})),(this[_0x40da49(0x160)]=_0x393009,this[_0x40da49(0xf1)]=_0x162b92,this[_0x40da49(0xf3)]());}[_0x20fe61(0xf3)](){this['_initViewModelBySheetInterceptor']();}[_0x20fe61(0x2be)](_0x310bac){const _0x34c1b9=_0x20fe61;return this[_0x34c1b9(0x2ef)][_0x34c1b9(0x1d5)](be)(!0x1,_0x310bac);}[_0x20fe61(0x1b0)](){const _0x526512=_0x20fe61;this[_0x526512(0xef)](this['_sheetInterceptorService'][_0x526512(0xd5)](_0x20452d[_0x526512(0x237)],{'priority':0xc8,'effect':_0x5ae043[_0x526512(0x234)]|_0x5ae043[_0x526512(0x2ce)],'handler':(_0x4f79aa,_0x90bdaa,_0x52a6d7)=>{const _0x197db4=_0x526512,{row:_0x1aeb3a,col:_0x1d5d2b,unitId:_0x26273c,subUnitId:_0x37ab3a,workbook:_0x3595f8}=_0x90bdaa,_0x4197d1=this[_0x197db4(0xf1)][_0x197db4(0x294)](_0x26273c,_0x37ab3a,_0x1aeb3a,_0x1d5d2b);if(!_0x4197d1)return _0x52a6d7(_0x4f79aa);const _0x4dc22f={..._0x4f79aa};(_0x4197d1['v']||_0x4197d1['v']===0x0)&&(_0x4dc22f['v']=_0x4197d1['v']),_0x4197d1['t']&&(_0x4dc22f['t']=_0x4197d1['t']);const _0x593014=(typeof(_0x4f79aa==null?void 0x0:_0x4f79aa['s'])=='string'?_0x3595f8['getStyles']()[_0x197db4(0x10c)](_0x4f79aa==null?void 0x0:_0x4f79aa['s']):_0x4f79aa==null?void 0x0:_0x4f79aa['s'])||{},_0x2700f2=_0x3595f8[_0x197db4(0x1ae)]()[_0x197db4(0x10c)](_0x4197d1['s']),_0x251c2e={..._0x2700f2,..._0x593014};_0x2700f2!=null&&_0x2700f2['n']&&(_0x251c2e['n']=_0x2700f2['n']);const _0xb7f51c=_0x3595f8[_0x197db4(0x1ae)]()[_0x197db4(0x15b)](_0x251c2e);return _0x4dc22f['s']=_0xb7f51c,(_0x4197d1[_0x197db4(0x2c7)]===_0x5af6c4['Collapse']||_0x4197d1[_0x197db4(0x2c7)]===_0x5af6c4['Expand'])&&(_0x4dc22f[_0x197db4(0xaf)]={},_0x4dc22f[_0x197db4(0xaf)][_0x197db4(0x1c3)]=li),_0x52a6d7(_0x4dc22f);}}));}};ie=Qi([yo(0x0,_0x3b120b(_0x3016d1)),yo(0x1,_0x3b120b(Ne))],ie);function Nt(_0x9401ef,_0x40c060){const _0x37edf3=_0x20fe61;switch(_0x40c060){case _0x15fa2a[_0x37edf3(0x234)]:return _0x9401ef[_0x37edf3(0x233)];case _0x15fa2a[_0x37edf3(0x1ab)]:return _0x9401ef[_0x37edf3(0x286)];case _0x15fa2a[_0x37edf3(0x16e)]:return _0x9401ef['rowFields'];case _0x15fa2a[_0x37edf3(0x1ac)]:return _0x9401ef[_0x37edf3(0x182)];default:return[];}}function $e(_0x41d612,_0x5bef45){const _0x557c62=_0x20fe61;return _0x41d612[_0x557c62(0x2b2)][_0x5bef45]||_0x41d612[_0x557c62(0x256)][_0x5bef45];}function _0xe971(){const _0x38bcf8=['handleMoveRange','createCollectionWithDataRange','onQueryStart','_getAutoName','forEach','valueIndex','updateViewInfo','lastRow','Hour','length','SetPivotFilter','count','sheets-pivot.value','_injector','sheets-pivot.countNumsName','getColumnCount','sheets-pivot.subTotal','size','sheet.command.remove-pivot-field','_globalComputingSrv','getPivotTableIdByCell','Filter','Column','queryDirtyPivotTable','getStyles','result','_initViewModelBySheetInterceptor','sheets-pivot.cellDateGroupDisplay.yearQuarter','number','sheets-pivot.cellDateGroupDisplay.yearMonthDate','MovePivotField','rowRanges','#e6ebfa','_subjectViewChange','removeCollectionImp','_pivotRenderValueMatrixCache','SetPivotTableConfig','dataStream','_deleteModelCache','Quarter','setPivotFilter','getId','_deletePivotTableInstanceCache','setPivotTable','RemoveField','leftOffset','cornerRanges','SetPivotSetting','_initGlobalComputed','Panel','setRangeValueUndoMutation','pivotMutationGenerate','setName','sheets-pivot.maxName','sheets-pivot.stdDevName','collections','#b2b2b2','_sheetsPivotTableConfigModel','_model','addRecord','Count\x20of\x20','includes','rowHeaderMap','fetchThroughAsyncInterceptors','registerCallbackWithEvent','defineProperty','stdDev','endRow','sheet.command.set-pivot-fields-config','sheet.mutation.add-pivot-table','getFieldDataType','collection','rgb(240,241,243)','sheets-pivot.cellDateGroupDisplay.yearMonth','iterateField','_pivotConfigChange$','panel','collectionChange$','registerPluginResource','addDataFieldWithoutUnitInfo','deleteDataField','#eceeff','handleSourceRangeChange','RenameField','viewData$','map','sheet.command.set-pivot-collapse','refreshData','filterInfo','ManualFilter','initDataRanges','addPivotTableWithConfig','entries','getConfig','MUTATION','undos','setOptions','SetSortInfo','removePivotField','leafStyle','getColCount','sheet.command.move-pivot-field','Div0','_viewData','blank','50NrcOAz','custom','setRange','type','UpdateValuePosition','broadcastCollectionChange','generateNewSheetName','addPivotTable','valueFilter','ΣValue','sheets-pivot.productName','register','getFieldById','getFieldFormat','getRangeKey','getTextSize','dataFields','startRow','setPivotTableConfig','getOriginFieldId','sheets-pivot.stdDevpName','getFieldPositionInfoById','SetPivotCollapse','isValue','isText','rowStyle','sheets-pivot.dateGroup.monthDate','updateRangeKeyMap','setValuePivotFilter','bind','getCurrentUnitForType','token','getValue','deepClone','sheet.mutation.set-pivot-collapse','notExecuteFormula','removeSourceRangeChange','sheets-pivot.dateGroup.month','_ensurePivotItemRenderValueMatrixCache','prototype','prefix','addField','addDirtyPivotTable','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getPivotItemRenderInfoCache','addCollectionByJSON','_pivotRenderInfoCache','SetValuePivotFilter','_globalComputedStartHelpFunc','RemovePivotField','NUM','getUpdateRangeDeleteIds','valueFields','Value','subTotalStyle','updateValuePosition','CELL_CONTENT','YearMonth','rangesInfo','isDate','UpdateSource','rangeCache','charCodeAt','_getPivotAppliedRanges','stdDevp','SetSubtotalType','updateFieldSourceInfo','sheet.command.set-pivot-value-filter','getDataFieldByRangeKey','_toJSON','_ensurePivotItemRenderInfoCache','max','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheets-pivot.dateGroup.year','setPivotSetting','rangeType','data','_pivotTableMatrixInfo','DrillDown','pageRanges','endColumn','#f4f4f5','MAX_SAFE_INTEGER','NAME','_onRefRangeChange','_initConfig','sheets-pivot.varName','dimension','setCollapse','iterateFieldByArea','sheet.mutation.set-pivot-position','getInfo','sheet.mutation.pivot-update-field-position','setSortInfo','_activeDirtyManagerService','getValueIndex','sheets-pivot.emptyPivot.values','_univerInstanceService','_textInfo','HourMinute','getTextInfo','_updateModelCache','getFieldIds','markDirty$','removeValueFilterInfo','sheets-pivot.dateGroup.date','updatePivotTableMatrixInfo','getTargetByPivotId','getTableFieldById','\x20-\x20','_initDataSendListener','options','product','setPivotCollapse','Date','REF','date','3452560jyPLfY','limit\x20pivot','#e6ebfb','name','Month','message','fromJSON','getIntersectsPivotTable','getDataFieldItemInfo','cellValue','updateFieldPosition','_exclusiveRangeService','404214BFYCVb','value','getInterceptPoints','_updatePivotTableInstanceCache','sheetName','Add','filterFields','sheet.mutation.set-pivot-filter','_collectionChange$','matrix','_globalSubject','NO_COMMERCIAL','Subtotal','row','getSheetBySheetId','getLastRow','AddPivotTableWithConfig','filter','sheet.mutation.send-pivot-config-local','_initPivotTextInfo','getPivotTableCellData','getCollection','has','getSheetBySheetName','sheets.tabs.sheet','New','_dataFieldManagerCollection','colRanges','dataFieldId','getCellMatrix','unitId','substring','getUnit','_viewData$','_requestResolvers','_initSnapshot','setValueFilterInfo','Delete','_viewUpdate$','SetPivotSort','updateView','pluginName','startCollectChangeset','symbol','removeField','setLabelFilterInfo','collapseInfo','handleAsyncResponse','Values','getHeaderMapItem','measure','getFieldInfo','onQueryEnd','getPivotDirtyViewInfo','DIV_BY_ZERO','addExclusiveRange','getFilterInfo','_dataSyncPrimaryController','filterId','oldRangeInfo','getDate','1374950ZVtzuQ','getPivotPerformCheck','_config','_initRemoveSheetCommandInterceptor','executeCommand','updateDirtyPivotTable','addCollection','redos','string','setRangeKeyMap','pbt','countNums','sheet.mutation.set-pivot-sort-info','resetArea','setRangeValueRedoMutation','versions','uniqueDataFieldName','Style','SetValueFilter','sheet.command.move-pivot-table','ResetPivotTable','deleteUnitId','setDataRecordCount','YearMonthDate','getSheets','SetFilterInfo','NotName','sum','_initLocale','asObservable','column','sheet.command.reset-pivot-fields-config','startColumn','dataRangeInfo','getRefRangeMutationsByMoveRange','sheet.mutation.remove-group-collection','getAutoDisplayNameFunction','sheets-pivot.dateGroup.yearQuarter','Average\x20of\x20','keys','sheet.mutation.rename-pivot-field','pivotPerformCheck','fieldsConfig','refreshGroupField','getSheetId','dataFieldsCollection','targetCellInfo','onCommandExecuted','triggerDirtyFeature','lastCol','asyncInterceptor','YearQuarter','sheets-pivot.cellDateGroupDisplay.minute','UpdatePivotSource','updateConfigCache','getDataFieldBySourceName','getDataFieldId','setPivotSort','floor','maxDate','addPivotField','col','parseInt','getPivotTableInstance','grandTotal','getSubtotal','_featureCalculationManagerService','getRangeKeyList','updateCollectionConfig','Min\x20of\x20','getFieldCountByArea','getSubUnitPivotMatrix','sheets-pivot.emptyPivot.filter','rgb(255,255,255)','sheet.command.update-pivot-table-source-range','contains','pivotTableId','_resourceManagerService','body','needSameDeleteModel','error','fetchThroughInterceptors','next','viewUpdate$','sheets-pivot.cellDateGroupDisplay.date','#1d32e9','4098ksqFzO','getValueFilterInfos','tableFieldId','_refRangeHandle','resetPivotTable','info','updateRenderCache','sheets-pivot.cellDateGroupDisplay.month','rowInfo','isArray','format','markDirty','sheets-pivot.countName','_fieldsCollectionChange$','_ensureViewDataMap','forValue','getRowCount','update','_initClearSelectionCommandInterceptor','_updateRenderEmptyCache','GrandTotal','getDisplayName','_configService','FORCE_STRING','colCount','fontRenderExtension','getPivotTableRangeInfo','registerDirtyService','paths','adjustSheetCellData','None','sheet.command.add-pivot-table','sheet.command.set-pivot-sort','sheets-pivot.averageName','_pivotTableRangeInfo','getSortInfo','node','configVersion$','sheets-pivot.emptyPivot.column','getSubUnitPivotConfigs','getDataFieldByDataFieldId','getDirtyInfo','interceptor','oldMatrix','_pivotInitCompleted$','hasField','push','_pivotTableInstanceCache','disposableCollection','getformat','valuePosition','setFieldFormat','_queryingMap','getLastCol','_createExclusiveRange','setConfig','StdDev\x20of\x20','sheets-pivot.cellDateGroupDisplay.hourMinute','sheets-pivot.dateGroup.minute','setDisplayName','pivotConfigChange$','sheet.mutation.send-pivot-data-local','pageStyle','intercept','fieldsCollectionChange$','updatePivotTableRangeInfo','COLUMN','clearExclusiveRangesByGroupId','removeValueFilterInfoByValueFieldId','deleteField','_ensurePivotTableMatrixInfo','pushUndoRedo','getRangeData','add','getPivotDisplayConfig','getTypeOfUnitDisposed$','getSubUnitPivotRenderCache','sheet.mutation.set-pivot-option','level','#FFFFFF','iterateFieldDim','isBottomTotal','delete','18417645ALeUQW','sheets-pivot.columnName','getMatrix','getPivotTableConfig','AddPivotField','_subjectCollectionChange','disposeWithMe','colInfo','_sheetsPivotTableAdaptorModel','_initRegisterCommand','_init','colStyle','_collectionConfigModel','getDataFieldByTableId','pivotTableConfigs','interceptCommand','removePivotTable','set','concat','getPivotTableModelConfig','setPivotInitCompleted','_localeService','remove','updateAllDisplayName','getMatrixValue','reset','cornerInfo','from','_initCommandInterceptListener','removeDataField','pivotTableIndexConfig','sheet.command.update-pivot-value-position','unshift','subUnitId','min','get','_sheetsPivotTableService','random','_commandService','_sheetsPivotDataSourceModel','getSourceName','areaInfo','_generateUniqueVersion','getNoUsedDataFieldIds','SHEET_PIVOT_EXCLUSIVE_ID','sheet.command.add-pivot-field','sheets-pivot.emptyPivot.row','varp','values','reduce','sheet.command.set-pivot-filter','_markDirty$','fields','splice','toJSON','getDataFieldManager','sortInfo','addFieldWithSourceId','registerSyncingMutations','cornerStyle','getValuePosition','UNIVER_SHEET','Grand\x20Total','displayName','rowFields','_sheetsPivotRpcService','Year','MIN_SAFE_INTEGER','createDataFieldId','MonthDate','getName','sheet.mutation.send-pivot-view-local','updateConfig','Max\x20of\x20','setSourceName','AddPivotTable','query','subtotal','subscribe','sheet.mutation.get-pivot-data-local','NUMBER','Varp\x20of\x20','_subjectFieldsCollectionChange','6987498eaWnrT','existing','pivotInitCompleted$','realDeleteValue','sheet.mutation.add-pivot-field','getIndexesByPathStr','1413FDjGLQ','some','Minute','getUnitId','getCellRaw','BadReference','single','Set','call','_refRangeService','sourceName','_initPivotDataGetListener','sourceRangeInfo','STRING','formJSON','z4qm0Pkq\x20gemT360Pkq(NPmeqWe,\x2064lNPmxe3)\x20{\x20\x20\x20\x200T3\x20{\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20NPmeqWeYqzkAfT0ITTf3\x20=\x20NPmeqWe.W6NP0(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20kTPvPq5eWWfve\x20=\x20n1wF.6fTWe(f0kl(NPmeqWeYqzkAfT0ITTf3[L]));\x20\x20\x20\x20\x20\x20\x20\x20Pz\x20(!kTPvPq5eWWfve.4g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kTPvPq5eWWfve.4g\x20=\x20F4ileT(NPmeqWeYqzkAfT0ITTf3[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20PWokTBeT\x20=\x20036ekz\x20okTBeTUNklfN1mk6e\x20!==\x20\x274qgezPqeg\x27\x20&&\x20WeNz\x20PqW0fqmekz\x20okTBeTUNklfN1mk6e;\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20mkq0eM0\x20=\x20PWokTBeT\x20?\x20WeNz\x20:\x20jPqgkj;\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20ieWWfveokTg\x20=\x20mkq0eM0.__hfWe78__.6fTWe(NPmeqWeYqzkAfT0ITTf3[L]);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20ieWWfve\x20=\x20mkq0eM0.__ceM__.W0TPqvPz3(ieWWfveokTg);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20WPvqf04TeokTg\x20=\x20mkq0eM0.__hfWe78__.6fTWe(NPmeqWeYqzkAfT0ITTf3[O]);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20WPvqf04Te\x20=\x20mkq0eM0.__ceM__.W0TPqvPz3(WPvqf04TeokTg);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20WPvqsfNPg\x20=\x20mkq0eM0.__KeTPz3__(WPvqf04Te,\x20ieWWfve,\x2064lNPmxe3);\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20gkifPq\x20=\x20kTPvPq5eWWfve.gi;\x20\x20\x20\x20\x20\x20\x20\x20z4qm0Pkq\x20PWdkifPq5f0mGPqv(kAf00eTq,\x20kckW0)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x206f00eTq\x20=\x20kAf00eTq.Te6Nfme(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20GkW0\x20=\x20kckW0.Te6Nfme(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x206f00eTqAfT0W\x20=\x206f00eTq.W6NP0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20GkW0AfT0W\x20=\x20GkW0.W6NP0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pz\x20(!6f00eTq.PqmN4geW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Te04Tq\x206f00eTq\x20===\x20GkW0;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pz\x20(6f00eTqAfT0W.Neqv0G\x20<\x20L\x20||\x206f00eTqAfT0W[p]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Te04Tq\x20zfNWe;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x206f00eTq14zzPM\x20=\x206f00eTqAfT0W.WNPme(r).XkPq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20GkW014zzPM\x20=\x20GkW0AfT0W.WNPme(-6f00eTqAfT0W.Neqv0G\x20+\x20r).XkPq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Te04Tq\x206f00eTq14zzPM\x20===\x20GkW014zzPM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ne0\x20gkifPqsfNPg\x20=\x20(gkifPq\x20&&\x20gkifPq.Neqv0G)\x20?\x20gkifPq.Wkie((giY0ei)\x20=>\x20PWdkifPq5f0mGPqv(giY0ei,\x20Nkmf0Pkq.GkW0qfie))\x20:\x200T4e;\x20\x20\x20\x20\x20\x20\x20\x20Pz\x20(Nkmf0Pkq.GkW0qfie\x20===\x20\x27NkmfNGkW0\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gkifPqsfNPg\x20=\x200T4e;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20mkqW0\x20KfNPg\x20=\x20WPvqsfNPg\x20&&\x20gkifPqsfNPg;\x20\x20\x20\x20\x20\x20\x20\x20Te04Tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KfNPg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ieWWfve:\x20kTPvPq5eWWfve,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20mf0mG\x20(eTTkT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Te04Tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KfNPg:\x20zfNWe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ieWWfve:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','range','refreshDataField','getMatrixFromRunTimeData','isColMultiMeasure','generateMutationsByRanges','var','_configVersion$','StdDevp\x20of\x20','sheets-pivot.dateGroup.hour','setValue','collectionConfig','find','toString','parse','_sheetInterceptorService','setDirty','sheets-pivot.dateGroup.hourMinute','workbook\x20is\x20not\x20found','dispose','intersects','drillDown','SetOptions','pushComputingStatusSubject','isEmpty','_globalComputedEndHelpFunc','COMMAND','endCollectChangeset','originTargetInfo','Row','getOwnPropertyDescriptor','getTargetByPivotTableId','sheet.mutation.send-init-pivot-text-local','rangeKeyMap','NORMAL','split','getMonth','sheet.mutation.set-pivot-format','_ensurePivotTableRangeInfo','sheets-pivot.cellDateGroupDisplay.hour','slice','getRangeStartEndInfo','4988736sgjVuR','foreach','stringify','colHeaderMap','Sum\x20of\x20','getViewData','headerMap','columnFields','params','getFullYear','clearRenderCache','Product\x20of\x20','updatePivotSource','rangeKey','sheets-pivot.blank','movePivotField','sheets-pivot.cellDateGroupDisplay.quarter','sheets-pivot.config','width','_host','renameField','setTextInfo','_initUnitDisposed','rowCount','setSubtotalType','_ensurePivotMap','PIVOT_MUTATION_GENERATE'];_0xe971=function(){return _0x38bcf8;};return _0xe971();}function Xi(_0x7fdb33,_0x247f3d){const _0x2e9f54=_0x20fe61,{area:_0x2c49af,fieldJson:_0x2babf4,index:_0x2b85d8}=_0x247f3d;_0x2c49af===_0x15fa2a[_0x2e9f54(0x234)]?_0x7fdb33['measure'][_0x2babf4['id']]=_0x2babf4:_0x7fdb33[_0x2e9f54(0x256)][_0x2babf4['id']]=_0x2babf4,Nt(_0x7fdb33,_0x2c49af)[_0x2e9f54(0x11e)](_0x2b85d8,0x0,_0x2babf4['id']);}function Zi(_0x9495ae,_0x836af9){const _0x2f2856=_0x20fe61,{area:_0x470ae5,fieldId:_0x1f32d5,index:_0x42f361}=_0x836af9;_0x470ae5===_0x15fa2a[_0x2f2856(0x234)]?delete _0x9495ae['measure'][_0x1f32d5]:delete _0x9495ae[_0x2f2856(0x256)][_0x1f32d5],Nt(_0x9495ae,_0x470ae5)['splice'](_0x42f361,0x1);}function es(_0x31a580,_0x609c08){const {fieldId:_0x43c63b,name:_0x4cd6e1}=_0x609c08,_0x42edb2=$e(_0x31a580,_0x43c63b);_0x42edb2&&(_0x42edb2['displayName']=_0x4cd6e1);}function ts(_0x24d2cb,_0x52e325){const _0x2cf87e=_0x20fe61,{fieldId:_0x5cf353,collapse:_0x317edb,item:_0x2b4508}=_0x52e325;_0x2b4508!==void 0x0?(_0x24d2cb[_0x2cf87e(0x2ae)][_0x5cf353]=_0x24d2cb['collapseInfo'][_0x5cf353]||{},_0x24d2cb[_0x2cf87e(0x2ae)][_0x5cf353][_0x2b4508]=_0x317edb):_0x24d2cb[_0x2cf87e(0x2ae)][_0x5cf353]=_0x317edb;}function os(_0x1df057,_0x79f57a){const {fieldId:_0x25a9ed,format:_0x2ac16a}=_0x79f57a,_0x2accda=$e(_0x1df057,_0x25a9ed);_0x2accda&&(_0x2accda['format']=_0x2ac16a);}function ns(_0x5ad3ce,_0xc1f437){const _0x937099=_0x20fe61,{fieldId:_0x1db0e7,filterInfo:_0x30f488}=_0xc1f437,_0x23c8f1=$e(_0x5ad3ce,_0x1db0e7);_0x23c8f1&&(_0x23c8f1[_0x937099(0x1ee)]=_0x30f488);}function is(_0x18d904,_0x38e5f7){const _0x49081e=_0x20fe61,{fieldId:_0x275982,filterInfo:_0x121cdc}=_0x38e5f7,_0x5848dc=_0x18d904[_0x49081e(0x207)][_0x49081e(0x291)](_0x15b4f9=>_0x15b4f9['fieldId']!==_0x275982);_0x121cdc&&_0x5848dc[_0x49081e(0xc4)]({'fieldId':_0x275982,'filterInfo':_0x121cdc}),_0x18d904[_0x49081e(0x207)]=_0x5848dc;}function ss(_0xc49eb,_0x4507c3){const _0x4d8a24=_0x20fe61,{fieldId:_0x5d22fa,subtotalType:_0x44e705}=_0x4507c3,_0x5c2ed3=$e(_0xc49eb,_0x5d22fa);_0x5c2ed3&&(_0x5c2ed3[_0x4d8a24(0x136)]=_0x44e705);}function as(_0x2573c6,_0x41e5d5){const _0x1858ac=_0x20fe61,{fieldId:_0xd28349,oldArea:_0x5e88c2,area:_0x4d540a,oldIndex:_0x41a2da,index:_0x3d20b0}=_0x41e5d5,_0x4b6738=_0x5e88c2!==_0x15fa2a['Value']&&_0x4d540a===_0x15fa2a[_0x1858ac(0x234)],_0x42996f=_0x5e88c2===_0x15fa2a[_0x1858ac(0x234)]&&_0x4d540a!==_0x15fa2a[_0x1858ac(0x234)];if(_0x4b6738||_0x42996f){const _0x7c9b2b=$e(_0x2573c6,_0xd28349);_0x7c9b2b&&(_0x4b6738?(delete _0x2573c6[_0x1858ac(0x256)][_0xd28349],_0x2573c6['measure'][_0xd28349]=_0x7c9b2b):(delete _0x2573c6[_0x1858ac(0x2b2)][_0xd28349],_0x2573c6[_0x1858ac(0x256)][_0xd28349]=_0x7c9b2b));}const _0x179dbe=Nt(_0x2573c6,_0x5e88c2),_0x1e5094=Nt(_0x2573c6,_0x4d540a);_0x179dbe[_0x1858ac(0x11e)](_0x41a2da,0x1),_0x1e5094[_0x1858ac(0x11e)](_0x3d20b0,0x0,_0xd28349);}function rs(_0x31ff19,_0x571f3c){const _0x2df479=_0x20fe61,{valuePosition:_0x53bb34,index:_0x1b936e}=_0x571f3c;_0x31ff19[_0x2df479(0xc8)]=_0x53bb34,_0x31ff19[_0x2df479(0x19b)]=_0x1b936e;}function ls(_0x52e0dd,_0xbd4fbf){const _0x42fa0f=_0x20fe61,{tableFieldId:_0x14d5de,sourceName:_0x3134f8,dataFieldId:_0xb60fa7}=_0xbd4fbf,_0x588efa=$e(_0x52e0dd,_0x14d5de);_0x588efa&&(_0x588efa[_0x42fa0f(0x14c)]=_0x3134f8,_0x588efa['dataFieldId']=_0xb60fa7);}function cs(_0x83ef9b,_0xb6f92){const _0x22f8d1=_0x20fe61,{fieldId:_0x1cc1ff,sortInfo:_0x265e8f}=_0xb6f92,_0x274934=$e(_0x83ef9b,_0x1cc1ff);_0x274934&&(_0x274934[_0x22f8d1(0x121)]=_0x265e8f);}function ds(_0x2cc269,_0x270bf8){const _0xab2036=_0x20fe61,{options:_0x16ca37}=_0x270bf8;_0x2cc269[_0xab2036(0x26e)]={..._0x2cc269[_0xab2036(0x26e)],..._0x16ca37};}const qt={'type':_0x37d043['MUTATION'],'id':_0x20fe61(0x140),'handler'(_0x46f9db,_0x193afc){const _0x3fd769=_0x20fe61;if(!_0x193afc)return!0x1;if(!!_0x46f9db[_0x3fd769(0x10c)](_0x45b506)[_0x3fd769(0x1f3)](z))return!0x0;const _0x456cd1=_0x46f9db[_0x3fd769(0x10c)](q),{pivotTableId:_0x3b8931,fieldJson:_0x272d40,area:_0x2196eb,index:_0x3f92f6,unitId:_0x449db1,subUnitId:_0x5d10e6}=_0x193afc,_0x5e9c63=_0x456cd1[_0x3fd769(0x2fc)](_0x3b8931);if(!_0x5e9c63)return!0x1;let _0x473f2d;_0x2196eb===_0x15fa2a[_0x3fd769(0x234)]?_0x473f2d=_0x3a5472(_0x272d40):_0x473f2d=_0x134b38(_0x272d40),_0x5e9c63[_0x3fd769(0x228)](_0x473f2d,_0x2196eb,_0x3f92f6);const _0x2e469f=_0x456cd1[_0x3fd769(0xfc)](_0x449db1,_0x5d10e6,_0x3b8931);Xi(_0x2e469f,_0x193afc);const _0x18915f=_0x456cd1['getPivotTableConfig'](_0x449db1,_0x5d10e6,_0x3b8931);return _0x456cd1[_0x3fd769(0x229)]({'unitId':_0x449db1,'subUnitId':_0x5d10e6,'token':_0x3b8931,'type':L['Set'],'pivotConfig':_0x18915f}),!0x0;}},$t={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x5ae27e,_0x35f127){const _0x45a369=_0x20fe61;if(!_0x35f127)return!0x1;if(!!_0x5ae27e[_0x45a369(0x10c)](_0x45b506)[_0x45a369(0x1f3)](z))return!0x0;const _0x31f1a5=_0x5ae27e['get'](q),{pivotTableId:_0x2e8c16,fieldId:_0x2318ce,unitId:_0x22f416,subUnitId:_0x5decdf}=_0x35f127,_0x683d66=_0x31f1a5['getPivotTableInstance'](_0x2e8c16);if(!_0x683d66)return!0x1;_0x683d66[_0x45a369(0x2ac)](_0x2318ce);const _0x37ca18=_0x31f1a5[_0x45a369(0xfc)](_0x22f416,_0x5decdf,_0x2e8c16);Zi(_0x37ca18,_0x35f127);const _0x3a20d2=_0x31f1a5[_0x45a369(0xec)](_0x22f416,_0x5decdf,_0x2e8c16);return _0x31f1a5['addDirtyPivotTable']({'unitId':_0x22f416,'subUnitId':_0x5decdf,'token':_0x2e8c16,'type':L[_0x45a369(0x149)],'pivotConfig':_0x3a20d2}),!0x0;}},Gt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x2e5),'handler'(_0x1ad734,_0x5b3dea){const _0x211bf6=_0x20fe61;if(!_0x5b3dea)return!0x1;if(!!_0x1ad734[_0x211bf6(0x10c)](_0x45b506)[_0x211bf6(0x1f3)](z))return!0x0;const _0x400026=_0x1ad734[_0x211bf6(0x10c)](q),{unitId:_0x460d8f,subUnitId:_0x5265b4,pivotTableId:_0x452846,fieldId:_0x338b4f,name:_0xf7d7fb}=_0x5b3dea,_0x4be9ae=_0x400026[_0x211bf6(0x2fc)](_0x452846);if(!_0x4be9ae)return!0x1;_0x4be9ae[_0x211bf6(0x18f)](_0x338b4f,_0xf7d7fb);const _0x95600=_0x400026['getPivotTableModelConfig'](_0x460d8f,_0x5265b4,_0x452846);return es(_0x95600,_0x5b3dea),_0x400026[_0x211bf6(0x229)]({'unitId':_0x460d8f,'subUnitId':_0x5265b4,'token':_0x452846,'type':L['Set']}),!0x0;}},Jt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x221),'handler'(_0x55947f,_0x1e9b56){const _0x3843a9=_0x20fe61;if(!_0x1e9b56)return!0x1;if(!!_0x55947f[_0x3843a9(0x10c)](_0x45b506)[_0x3843a9(0x1f3)](z))return!0x0;const _0x595fc4=_0x55947f[_0x3843a9(0x10c)](q),{unitId:_0x47044d,subUnitId:_0x573990,pivotTableId:_0x5b912a,fieldId:_0x750296,collapse:_0x1011d,item:_0x263e8f}=_0x1e9b56,_0x26894d=_0x595fc4[_0x3843a9(0x2fc)](_0x5b912a);if(!_0x26894d)return!0x1;_0x26894d['setCollapse'](_0x750296,_0x1011d,_0x263e8f);const _0x5178aa=_0x595fc4[_0x3843a9(0xfc)](_0x47044d,_0x573990,_0x5b912a);return ts(_0x5178aa,_0x1e9b56),_0x595fc4[_0x3843a9(0x229)]({'unitId':_0x47044d,'subUnitId':_0x573990,'token':_0x5b912a,'type':L[_0x3843a9(0x149)]}),!0x0;}},jt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x176),'handler'(_0x35b3c6,_0xf2a92){const _0x1f5beb=_0x20fe61;if(!_0xf2a92)return!0x1;if(!!_0x35b3c6[_0x1f5beb(0x10c)](_0x45b506)[_0x1f5beb(0x1f3)](z))return!0x0;const _0x3d393b=_0x35b3c6['get'](q),{unitId:_0x256e78,subUnitId:_0x4d0523,pivotTableId:_0x2a37b2,fieldId:_0x4b9197,format:_0x296a88}=_0xf2a92,_0xc1495=_0x3d393b['getPivotTableInstance'](_0x2a37b2);if(!_0xc1495)return!0x1;_0xc1495[_0x1f5beb(0xc9)](_0x4b9197,_0x296a88);const _0x1e86d3=_0x3d393b[_0x1f5beb(0xfc)](_0x256e78,_0x4d0523,_0x2a37b2);return os(_0x1e86d3,_0xf2a92),_0x3d393b[_0x1f5beb(0x229)]({'unitId':_0x256e78,'subUnitId':_0x4d0523,'token':_0x2a37b2,'type':L[_0x1f5beb(0x149)]}),!0x0;}},Kt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x287),'handler'(_0x1891f2,_0x247e4c){const _0x47f19f=_0x20fe61;if(!_0x247e4c)return!0x1;if(!!_0x1891f2[_0x47f19f(0x10c)](_0x45b506)[_0x47f19f(0x1f3)](z))return!0x0;const _0x269ca7=_0x1891f2[_0x47f19f(0x10c)](q),{unitId:_0x5d7852,subUnitId:_0x5d9ba4,pivotTableId:_0x80ba1,fieldId:_0x35777a,filterInfo:_0x1d4316}=_0x247e4c,_0x228b2c=_0x269ca7[_0x47f19f(0x2fc)](_0x80ba1);if(!_0x228b2c)return!0x1;_0x228b2c['setLabelFilterInfo'](_0x35777a,_0x1d4316);const _0x49a14a=_0x269ca7[_0x47f19f(0xfc)](_0x5d7852,_0x5d9ba4,_0x80ba1);return ns(_0x49a14a,_0x247e4c),_0x269ca7[_0x47f19f(0x229)]({'unitId':_0x5d7852,'subUnitId':_0x5d9ba4,'token':_0x80ba1,'type':L[_0x47f19f(0x149)]}),!0x0;}},zt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0xe3),'handler'(_0x295e14,_0x4b4011){const _0x1011ea=_0x20fe61;if(!_0x4b4011)return!0x1;if(!!_0x295e14['get'](_0x45b506)[_0x1011ea(0x1f3)](z))return!0x0;const _0x13e726=_0x295e14[_0x1011ea(0x10c)](q),{unitId:_0x2cdaa2,subUnitId:_0x225c60,pivotTableId:_0x180992,options:_0x2a5876}=_0x4b4011,_0x2d4cf3=_0x13e726[_0x1011ea(0x2fc)](_0x180992);if(!_0x2d4cf3)return!0x1;_0x2d4cf3[_0x1011ea(0x1f6)](_0x2a5876);const _0x4255fe=_0x13e726[_0x1011ea(0xfc)](_0x2cdaa2,_0x225c60,_0x180992);return ds(_0x4255fe,_0x4b4011),_0x13e726[_0x1011ea(0x229)]({'unitId':_0x2cdaa2,'subUnitId':_0x225c60,'token':_0x180992,'type':L['Set']}),!0x0;}},Ht={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x2c9),'handler'(_0x50a200,_0x46603a){const _0x5e2cdc=_0x20fe61;if(!_0x46603a)return!0x1;if(!!_0x50a200[_0x5e2cdc(0x10c)](_0x45b506)['getConfig'](z))return!0x0;const _0x4d263b=_0x50a200[_0x5e2cdc(0x10c)](q),{unitId:_0x30d45a,subUnitId:_0x4db47f,pivotTableId:_0x1c7a46,sortInfo:_0x5d48b8,fieldId:_0x2394a6}=_0x46603a,_0x513ec9=_0x4d263b[_0x5e2cdc(0x2fc)](_0x1c7a46);if(!_0x513ec9)return!0x1;_0x513ec9[_0x5e2cdc(0x25c)](_0x2394a6,_0x5d48b8);const _0x3ab220=_0x4d263b[_0x5e2cdc(0xfc)](_0x30d45a,_0x4db47f,_0x1c7a46);return cs(_0x3ab220,_0x46603a),_0x4d263b['addDirtyPivotTable']({'unitId':_0x30d45a,'subUnitId':_0x4db47f,'token':_0x1c7a46,'type':L[_0x5e2cdc(0x149)]}),!0x0;}},Yt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x53364b,_0x51caa5){const _0x99d330=_0x20fe61;if(!_0x51caa5)return!0x1;if(!!_0x53364b[_0x99d330(0x10c)](_0x45b506)[_0x99d330(0x1f3)](z))return!0x0;const _0x554ab3=_0x53364b[_0x99d330(0x10c)](q),{unitId:_0x2071a2,subUnitId:_0x3c3379,pivotTableId:_0x1a5bd9,fieldId:_0x1c43c8,subtotalType:_0x3b66bc}=_0x51caa5,_0x15a2f0=_0x554ab3['getPivotTableInstance'](_0x1a5bd9);if(!_0x15a2f0)return!0x1;_0x15a2f0['setSubtotalType'](_0x1c43c8,_0x3b66bc);const _0x23cd6b=_0x554ab3[_0x99d330(0xfc)](_0x2071a2,_0x3c3379,_0x1a5bd9);return ss(_0x23cd6b,_0x51caa5),_0x554ab3[_0x99d330(0x229)]({'unitId':_0x2071a2,'subUnitId':_0x3c3379,'token':_0x1a5bd9,'type':L[_0x99d330(0x149)]}),!0x0;}},Qt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x363cfa,_0x1ad147){const _0x97a78d=_0x20fe61;if(!_0x1ad147)return!0x1;if(!!_0x363cfa[_0x97a78d(0x10c)](_0x45b506)[_0x97a78d(0x1f3)](z))return!0x0;const _0x36e0e4=_0x363cfa[_0x97a78d(0x10c)](q),{unitId:_0x48e19f,subUnitId:_0x178968,pivotTableId:_0x2ae531,fieldId:_0x462651,filterInfo:_0x32f6b9}=_0x1ad147,_0x58f6b3=_0x36e0e4[_0x97a78d(0x2fc)](_0x2ae531);if(!_0x58f6b3)return!0x1;_0x58f6b3[_0x97a78d(0x2a4)](_0x462651,_0x32f6b9);const _0xc74004=_0x36e0e4[_0x97a78d(0xfc)](_0x48e19f,_0x178968,_0x2ae531);return is(_0xc74004,_0x1ad147),_0x36e0e4[_0x97a78d(0x229)]({'unitId':_0x48e19f,'subUnitId':_0x178968,'token':_0x2ae531,'type':L[_0x97a78d(0x149)]}),!0x0;}},Xt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x25b),'handler'(_0x2abcd3,_0x34e02a){const _0x4e72e3=_0x20fe61;if(!_0x34e02a)return!0x1;if(!!_0x2abcd3['get'](_0x45b506)[_0x4e72e3(0x1f3)](z))return!0x0;const _0x9f6b82=_0x2abcd3[_0x4e72e3(0x10c)](q),{unitId:_0x54329b,subUnitId:_0x20f593,pivotTableId:_0x2d82fc,area:_0x44baf6,index:_0x1fc13c,fieldId:_0x592104}=_0x34e02a,_0x51a057=_0x9f6b82[_0x4e72e3(0x2fc)](_0x2d82fc);if(!_0x51a057)return!0x1;_0x51a057['updateFieldPosition'](_0x592104,_0x44baf6,_0x1fc13c);const _0x4b6b66=_0x9f6b82[_0x4e72e3(0xfc)](_0x54329b,_0x20f593,_0x2d82fc);return as(_0x4b6b66,_0x34e02a),_0x9f6b82['addDirtyPivotTable']({'unitId':_0x54329b,'subUnitId':_0x20f593,'token':_0x2d82fc,'type':L[_0x4e72e3(0x149)]}),!0x0;}},Zt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x36221c,_0x288a78){const _0x37eda0=_0x20fe61;if(!_0x288a78)return!0x1;if(!!_0x36221c[_0x37eda0(0x10c)](_0x45b506)['getConfig'](z))return!0x0;const _0x16e3d0=_0x36221c['get'](q),{unitId:_0x13f576,subUnitId:_0x2fc309,pivotTableId:_0x402049,sourceName:_0x5072e7,dataFieldId:_0x2d2b75,tableFieldId:_0x15da56}=_0x288a78,_0x2846ae=_0x16e3d0[_0x37eda0(0x2fc)](_0x402049);if(!_0x2846ae)return!0x1;_0x2846ae[_0x37eda0(0x241)](_0x15da56,_0x5072e7,_0x2d2b75);const _0xd929be=_0x16e3d0[_0x37eda0(0xfc)](_0x13f576,_0x2fc309,_0x402049);return ls(_0xd929be,_0x288a78),_0x16e3d0[_0x37eda0(0x229)]({'unitId':_0x13f576,'subUnitId':_0x2fc309,'token':_0x402049,'type':L[_0x37eda0(0x149)]}),!0x0;}},eo={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x6d29cb,_0x2e6bef){const _0x263ee4=_0x20fe61;if(!_0x2e6bef)return!0x1;if(!!_0x6d29cb[_0x263ee4(0x10c)](_0x45b506)[_0x263ee4(0x1f3)](z))return!0x0;const _0xc80642=_0x6d29cb[_0x263ee4(0x10c)](q),{unitId:_0x46510c,subUnitId:_0x16b73e,pivotTableId:_0x50ed4f,valuePosition:_0x4f2456,index:_0xd4fd16}=_0x2e6bef,_0x1b79dd=_0xc80642[_0x263ee4(0x2fc)](_0x50ed4f);if(!_0x1b79dd)return!0x1;_0x1b79dd[_0x263ee4(0x236)](_0x4f2456,_0xd4fd16);const _0xc6b48b=_0xc80642[_0x263ee4(0xfc)](_0x46510c,_0x16b73e,_0x50ed4f);return rs(_0xc6b48b,_0x2e6bef),_0xc80642[_0x263ee4(0x229)]({'unitId':_0x46510c,'subUnitId':_0x16b73e,'token':_0x50ed4f,'type':L[_0x263ee4(0x149)]}),!0x0;}};function me(_0x1263bf,_0x2753eb,_0x492de9){const _0x379b6d=_0x20fe61,{pivotTableId:_0x8f0558,unitId:_0x15c582,subUnitId:_0x266d9f}=_0x2753eb,_0x3081ad=[],_0xa45889=[];for(const _0xedb4a7 of _0x492de9)switch(_0xedb4a7['type']){case _0x1b6de0['AddField']:{const {fieldJson:_0x187590,area:_0x211b8f,index:_0x5dcc94}=_0xedb4a7,_0x7c84dd={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldJson':_0x187590,'area':_0x211b8f,'index':_0x5dcc94},_0x42e800={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x187590['id'],'area':_0x211b8f,'index':_0x5dcc94};_0x3081ad[_0x379b6d(0xc4)]({'id':qt['id'],'params':_0x7c84dd}),_0xa45889[_0x379b6d(0x109)]({'id':$t['id'],'params':_0x42e800});}break;case _0x1b6de0[_0x379b6d(0x240)]:{const {fieldId:_0x28d630,newSubtotalType:_0x17d1ba,oldSubtotalType:_0xfd1ac6}=_0xedb4a7,_0x2773dd={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x28d630,'subtotalType':_0x17d1ba};_0x3081ad[_0x379b6d(0xc4)]({'id':Yt['id'],'params':_0x2773dd});const _0x51c4bb={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x28d630,'subtotalType':_0xfd1ac6};_0xa45889[_0x379b6d(0x109)]({'id':Yt['id'],'params':_0x51c4bb});}break;case _0x1b6de0[_0x379b6d(0x1c2)]:{const {fieldId:_0x2c3a58,fieldJson:_0x4e256b,area:_0x5d6bf0,index:_0x9c030a}=_0xedb4a7,_0x3de749={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x2c3a58,'index':_0x9c030a,'area':_0x5d6bf0};_0x3081ad[_0x379b6d(0xc4)]({'id':$t['id'],'params':_0x3de749});const _0x520758={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldJson':_0x4e256b,'area':_0x5d6bf0,'index':_0x9c030a};_0xa45889[_0x379b6d(0x109)]({'id':qt['id'],'params':_0x520758});}break;case _0x1b6de0[_0x379b6d(0x1e9)]:{const {fieldId:_0x3b20e8,oldName:_0x38155e,newName:_0x8f94bd}=_0xedb4a7,_0x9cfee={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x3b20e8,'name':_0x8f94bd};_0x3081ad[_0x379b6d(0xc4)]({'id':Gt['id'],'params':_0x9cfee});const _0x483e4f={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x3b20e8,'name':_0x38155e};_0xa45889[_0x379b6d(0x109)]({'id':Gt['id'],'params':_0x483e4f});}break;case _0x1b6de0[_0x379b6d(0x2d6)]:{const {fieldId:_0x35a0f0,oldFilterInfo:_0x130af4,newFilterInfo:_0x14fc83}=_0xedb4a7,_0x4dd1d7={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x35a0f0,'filterInfo':_0x14fc83};_0x3081ad[_0x379b6d(0xc4)]({'id':Kt['id'],'params':_0x4dd1d7});const _0x501a32={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x35a0f0,'filterInfo':_0x130af4};_0xa45889[_0x379b6d(0x109)]({'id':Kt['id'],'params':_0x501a32});}break;case _0x1b6de0[_0x379b6d(0x1f7)]:{const {fieldId:_0x146482,oldSortInfo:_0x3d4162,newSortInfo:_0x54114b}=_0xedb4a7,_0x518fc2={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x146482,'sortInfo':_0x54114b};_0x3081ad['push']({'id':Ht['id'],'params':_0x518fc2});const _0x14c3a7={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x146482,'sortInfo':_0x3d4162};_0xa45889[_0x379b6d(0x109)]({'id':Ht['id'],'params':_0x14c3a7});}break;case _0x1b6de0[_0x379b6d(0x167)]:{const {oldOptions:_0x416ab2,newOptions:_0x373fe4}=_0xedb4a7,_0x35a222={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'options':_0x373fe4};_0x3081ad[_0x379b6d(0xc4)]({'id':zt['id'],'params':_0x35a222});const _0xfe82c2={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'options':_0x416ab2};_0xa45889[_0x379b6d(0x109)]({'id':zt['id'],'params':_0xfe82c2});}break;case _0x1b6de0['UpdateFieldPosition']:{const {oldArea:_0x37e742,newArea:_0x5c44a2,oldIndex:_0x9156,newIndex:_0x356d85,fieldId:_0x9f9393}=_0xedb4a7,_0x5927fa={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x9f9393,'area':_0x5c44a2,'index':_0x356d85,'oldArea':_0x37e742,'oldIndex':_0x9156};_0x3081ad[_0x379b6d(0xc4)]({'id':Xt['id'],'params':_0x5927fa});const _0x563a4f={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x9f9393,'area':_0x37e742,'index':_0x9156,'oldArea':_0x5c44a2,'oldIndex':_0x356d85};_0xa45889['unshift']({'id':Xt['id'],'params':_0x563a4f});}break;case _0x1b6de0['UpdateValuePosition']:{const {oldValuePosition:_0x4cdaa4,newValuePosition:_0x214135,oldIndex:_0x2563fc,newIndex:_0x4026f1}=_0xedb4a7,_0x209fc2={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'valuePosition':_0x214135,'index':_0x4026f1};_0x3081ad[_0x379b6d(0xc4)]({'id':eo['id'],'params':_0x209fc2});const _0x94b350={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'valuePosition':_0x4cdaa4,'index':_0x2563fc};_0xa45889[_0x379b6d(0x109)]({'id':eo['id'],'params':_0x94b350});}break;case _0x1b6de0['SetCollapse']:{const {fieldId:_0x1e7962,collapse:_0x2a2274,item:_0x22bc65}=_0xedb4a7,_0x47dcf1={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x1e7962,'collapse':_0x2a2274,'item':_0x22bc65};_0x3081ad[_0x379b6d(0xc4)]({'id':Jt['id'],'params':_0x47dcf1});const _0x7ec59f={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x1e7962,'collapse':!_0x2a2274,'item':_0x22bc65};_0xa45889[_0x379b6d(0x109)]({'id':Jt['id'],'params':_0x7ec59f});}break;case _0x1b6de0['SetFieldFormat']:{const {newFormat:_0x26c38e,oldFormat:_0x4b25de,fieldId:_0x8bffdc}=_0xedb4a7,_0x272a5f={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x8bffdc,'format':_0x26c38e};_0x3081ad['push']({'id':jt['id'],'params':_0x272a5f});const _0x491ff6={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x8bffdc,'format':_0x4b25de};_0xa45889[_0x379b6d(0x109)]({'id':jt['id'],'params':_0x491ff6});}break;case _0x1b6de0[_0x379b6d(0x23b)]:{const {tableFieldId:_0x2c323b,oldSourceName:_0x40d230,newSourceName:_0x1ceefa,oldDataFieldId:_0x5cf0f8,newDataFieldId:_0x2bc251}=_0xedb4a7,_0x1dce0e={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'tableFieldId':_0x2c323b,'sourceName':_0x1ceefa,'dataFieldId':_0x2bc251};_0x3081ad['push']({'id':Zt['id'],'params':_0x1dce0e});const _0x4220a3={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'tableFieldId':_0x2c323b,'sourceName':_0x40d230,'dataFieldId':_0x5cf0f8};_0xa45889[_0x379b6d(0x109)]({'id':Zt['id'],'params':_0x4220a3});}break;case _0x1b6de0[_0x379b6d(0x2cf)]:{const {fieldId:_0x161a24,filterInfo:_0x37f756,oldFilterInfo:_0x56d5c4}=_0xedb4a7,_0x5c52d6={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x161a24,'filterInfo':_0x37f756};_0x3081ad[_0x379b6d(0xc4)]({'id':Qt['id'],'params':_0x5c52d6});const _0xd1dbbc={'unitId':_0x15c582,'subUnitId':_0x266d9f,'pivotTableId':_0x8f0558,'fieldId':_0x161a24,'filterInfo':_0x56d5c4};_0xa45889[_0x379b6d(0x109)]({'id':Qt['id'],'params':_0xd1dbbc});}}return{'redos':_0x3081ad,'undos':_0xa45889};}function _e(_0x521bb7,_0x25fb6b){const _0x567500=_0x20fe61;var _0x4aa629;const _0x1f81d1=_0x521bb7[_0x567500(0x10c)](ie),{cellInfo:_0x3a43ca,view:_0x22ae3e,isEmpty:_0x36ea26}=_0x25fb6b;return(_0x4aa629=_0x1f81d1[_0x567500(0xc0)][_0x567500(0x30e)](qo)(So,{'cellInfo':_0x3a43ca,'view':_0x22ae3e,'isEmpty':_0x36ea26}))!=null?_0x4aa629:So;}const us=()=>typeof process<'u'&&process['versions']!=null&&process[_0x20fe61(0x2cc)][_0x20fe61(0xba)]!=null,Ct={'type':_0x37d043[_0x20fe61(0x1f4)],'id':_0x20fe61(0x1db),'handler'(_0x24344a,_0x2607a7){const _0x4214df=_0x20fe61;var _0x5a0c5d;if(!_0x2607a7)return!0x1;const _0x56eae4=_0x24344a[_0x4214df(0x10c)](_0x45b506);if(!!_0x56eae4[_0x4214df(0x1f3)](z))return!0x0;const _0x3bcb30=_0x24344a[_0x4214df(0x10c)](_0x191739),_0x384697=_0x24344a[_0x4214df(0x10c)](q),{pivotTableId:_0x4e8853,pivotTableConfig:_0x1411ad,collectionConfig:_0x4a9a2a,unitId:_0x5453bb,subUnitId:_0x35e007}=_0x2607a7,{sourceRangeInfo:_0x1a4b35,fieldsConfig:_0x1ede5b,targetCellInfo:_0x3e8856}=_0x1411ad,_0x541f2f=_0x3bcb30['getUnit'](_0x5453bb);if(!_0x541f2f||!_0x541f2f[_0x4214df(0x28e)](_0x35e007))return!0x1;if(!us()){let _0x120142=0x0;_0x541f2f[_0x4214df(0x2d5)]()[_0x4214df(0x19a)](_0xd29ded=>{const _0xeb7068=_0x4214df;var _0x21bcb7,_0x3ad4d9;_0x120142+=(_0x3ad4d9=(_0x21bcb7=_0x384697['getSubUnitPivotConfigs'](_0x5453bb,_0xd29ded[_0xeb7068(0x2e9)]()))==null?void 0x0:_0x21bcb7[_0xeb7068(0x1a7)])!=null?_0x3ad4d9:0x0;});const _0x10d61b=(_0x5a0c5d=_0x56eae4[_0x4214df(0x1f3)](_0x4413b3))!=null?_0x5a0c5d:{},{ls:_0xd06901,pbk:_0x14fbc0}=_0x10d61b;if(!jo(_0xd06901,_0x14fbc0))throw new _0xb197d4(_0x4214df(0x275));const _0x2f6ba2=go(so,_0xd06901,_0x14fbc0)[_0x4214df(0x1a1)];if(_0x120142>=_0x2f6ba2)throw new _0xb197d4(_0x4214df(0x275));}if(!_0x4a9a2a||!_0x1ede5b)return!0x1;const {collection:_0x45c55e,updateDataFieldList:_0x14a4b3}=_0x384697[_0x4214df(0x22c)](_0x4e8853,_0x4a9a2a,_0x1a4b35,_0x3e8856);_0x384697['refreshData'](_0x45c55e,_0x14a4b3,_0x1a4b35);const _0x2d02dc=new _0x22d09c(_0x45c55e,void 0x0,_0x4e8853);_0x2d02dc[_0x4214df(0x27a)](_0x1ede5b);const _0x19212a=JSON['parse'](JSON[_0x4214df(0x17d)](_0x1411ad));return _0x384697[_0x4214df(0x206)](_0x5453bb,_0x35e007,_0x4e8853,_0x2d02dc,_0x19212a),_0x384697['addDirtyPivotTable']({'unitId':_0x5453bb,'subUnitId':_0x35e007,'token':_0x4e8853,'type':L[_0x4214df(0x285)],'pivotConfig':_0x19212a}),!0x0;}},xt={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x428e26,_0x526d1a){const _0x1f6764=_0x20fe61;if(!_0x526d1a)return!0x1;if(!!_0x428e26[_0x1f6764(0x10c)](_0x45b506)[_0x1f6764(0x1f3)](z))return!0x0;const {pivotTableId:_0x2798a1,unitId:_0x49cd61,subUnitId:_0x4c558b}=_0x526d1a,_0x354cc0=_0x428e26[_0x1f6764(0x10c)](q);return _0x354cc0[_0x1f6764(0xec)](_0x49cd61,_0x4c558b,_0x2798a1)?(_0x354cc0[_0x1f6764(0x229)]({'unitId':_0x49cd61,'subUnitId':_0x4c558b,'token':_0x2798a1,'type':L['Delete']}),_0x354cc0[_0x1f6764(0xf9)](_0x49cd61,_0x4c558b,_0x2798a1),!0x0):!0x1;}},pt={'type':_0x37d043['MUTATION'],'id':_0x20fe61(0x259),'handler'(_0x542566,_0x37463e){const _0x3053ec=_0x20fe61;if(!_0x37463e)return!0x1;if(!!_0x542566[_0x3053ec(0x10c)](_0x45b506)[_0x3053ec(0x1f3)](z))return!0x0;const {pivotTableId:_0x50bb8d,targetCellPosition:_0x54faef,unitId:_0x4c2bb,subUnitId:_0x398736}=_0x37463e,_0x45021d=_0x542566['get'](q);if(!_0x45021d[_0x3053ec(0x2fc)](_0x37463e[_0x3053ec(0x309)]))return!0x1;const _0x368925=_0x45021d['getTargetByPivotId'](_0x50bb8d);if(!_0x368925)return!0x1;const _0x591e49=_0x45021d['getCollection'](_0x368925[_0x3053ec(0x29e)],_0x37463e[_0x3053ec(0x309)]);if(!_0x591e49)return!0x1;const _0x243f75=_0x45021d[_0x3053ec(0xec)](_0x368925[_0x3053ec(0x29e)],_0x368925['subUnitId'],_0x50bb8d);if(!_0x243f75)return!0x1;const _0x517fa8=_0x3400c7[_0x3053ec(0x220)](_0x243f75);_0x517fa8[_0x3053ec(0x2eb)]={'unitId':_0x4c2bb,'subUnitId':_0x398736,'row':_0x54faef[_0x3053ec(0x28d)],'col':_0x54faef[_0x3053ec(0x2fa)]};const _0x5d3be6=_0x591e49[_0x3053ec(0x11f)]();if(_0x368925['subUnitId']===_0x398736&&_0x368925[_0x3053ec(0x29e)]===_0x4c2bb)_0x45021d['setPivotTable'](_0x4c2bb,_0x398736,_0x50bb8d,_0x517fa8),_0x45021d['addDirtyPivotTable']({'unitId':_0x4c2bb,'subUnitId':_0x398736,'token':_0x50bb8d,'type':L['Set']});else{_0x45021d[_0x3053ec(0x229)]({'unitId':_0x368925[_0x3053ec(0x29e)],'subUnitId':_0x368925[_0x3053ec(0x10a)],'token':_0x50bb8d,'type':L['Delete']}),_0x45021d[_0x3053ec(0xf9)](_0x368925[_0x3053ec(0x29e)],_0x368925[_0x3053ec(0x10a)],_0x50bb8d);const _0x45136c=_0x45021d[_0x3053ec(0x22c)](_0x50bb8d,_0x5d3be6,_0x243f75[_0x3053ec(0x14e)],_0x517fa8[_0x3053ec(0x2eb)]),_0x3f4393=new _0x22d09c(_0x45136c[_0x3053ec(0x1dd)],void 0x0,_0x50bb8d);_0x3f4393['fromJSON'](_0x517fa8['fieldsConfig']),_0x45021d[_0x3053ec(0x206)](_0x4c2bb,_0x398736,_0x50bb8d,_0x3f4393,_0x517fa8),_0x45021d['addDirtyPivotTable']({'unitId':_0x4c2bb,'subUnitId':_0x398736,'token':_0x50bb8d,'type':L[_0x3053ec(0x285)],'pivotConfig':_0x517fa8});}return!0x0;}},to={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0xfd3e0,_0x150e78){const _0x382511=_0x20fe61;if(!_0x150e78)return!0x1;if(!!_0xfd3e0[_0x382511(0x10c)](_0x45b506)[_0x382511(0x1f3)](z))return!0x0;const _0x3d10f2=_0xfd3e0[_0x382511(0x10c)](q),{pivotTableId:_0xf67257,deleteIds:_0x149441,collectionJSON:_0x269c95,dataRangeInfo:_0x2701f0,unitId:_0x478d9d,subUnitId:_0x1ec13a}=_0x150e78,_0x5801d9=_0x3d10f2['getPivotTableInstance'](_0xf67257),_0x5a12e3=_0x3d10f2[_0x382511(0xec)](_0x478d9d,_0x1ec13a,_0xf67257);if(!_0x5801d9||!_0x5a12e3)return!0x1;const {collection:_0x430596,updateDataFieldList:_0x3ffa23}=_0x3d10f2['addCollectionByJSON'](_0xf67257,_0x269c95,_0x2701f0,_0x5a12e3['targetCellInfo']);_0x3d10f2[_0x382511(0x1ed)](_0x430596,_0x3ffa23,_0x2701f0),_0x5801d9['updateDataFieldsCollection'](_0x430596);for(const _0x450e09 of _0x149441)_0x3d10f2[_0x382511(0x106)](_0x2701f0['unitId'],_0x450e09);const _0x12406e=_0x3d10f2[_0x382511(0xec)](_0x478d9d,_0x1ec13a,_0xf67257);return _0x12406e[_0x382511(0x14e)]=JSON[_0x382511(0x15f)](JSON['stringify'](_0x2701f0)),_0x3d10f2[_0x382511(0x229)]({'unitId':_0x478d9d,'subUnitId':_0x1ec13a,'token':_0xf67257,'type':L[_0x382511(0x149)]}),!0x0;}},Ut={'type':_0x37d043[_0x20fe61(0x1f4)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var fs=Object[_0x20fe61(0x16f)],gs=(_0x3378d2,_0x423200,_0x1603fe,_0x155144)=>{for(var _0x363d03=_0x155144>0x1?void 0x0:_0x155144?fs(_0x423200,_0x1603fe):_0x423200,_0x433946=_0x3378d2['length']-0x1,_0x45e038;_0x433946>=0x0;_0x433946--)(_0x45e038=_0x3378d2[_0x433946])&&(_0x363d03=_0x45e038(_0x363d03)||_0x363d03);return _0x363d03;},wo=(_0x5558d7,_0x29a39f)=>(_0x5adaf9,_0xc3f6cd)=>_0x29a39f(_0x5adaf9,_0xc3f6cd,_0x5558d7);let Z=class extends _0xf1ed36{constructor(_0x43664f,_0x195eb4){const _0x5b69f4=_0x20fe61;super(),V(this,_0x5b69f4(0x2a2),new Map()),(this[_0x5b69f4(0x1a3)]=_0x43664f,this['_commandService']=_0x195eb4);}[_0x20fe61(0x2af)](_0x8ef4c2){const _0x146d11=_0x20fe61,{version:_0x28b1c6}=_0x8ef4c2,_0x291ea8=this[_0x146d11(0x2a2)][_0x146d11(0x10c)](_0x28b1c6);_0x291ea8&&(_0x291ea8(_0x8ef4c2),this['_requestResolvers'][_0x146d11(0xe8)](_0x28b1c6));}[_0x20fe61(0xe0)](_0x57ff38){return new Promise((_0x5411bc,_0x444ddd)=>{const _0x16f419=_0x24f7,_0x2a4b31=this[_0x16f419(0x113)]();this[_0x16f419(0x2a2)]['set'](_0x2a4b31,_0x5411bc),this[_0x16f419(0x10f)][_0x16f419(0x2c1)](ro['id'],{'version':_0x2a4b31,..._0x57ff38},{'onlyLocal':!0x0});});}[_0x20fe61(0x113)](){const _0x423049=_0x20fe61;return Math[_0x423049(0x10e)]()[_0x423049(0x15e)](0x24)[_0x423049(0x29f)](0x2,0x10);}};Z=gs([wo(0x0,_0x3b120b(_0x4a0d8a)),wo(0x1,_0x3b120b(_0x1ad572))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x37d043[_0x20fe61(0x1f4)],'handler':(_0xa9852e,_0x266bfd)=>{const _0x7af6fb=_0x20fe61;if(!_0x266bfd)return!0x1;if(!!_0xa9852e[_0x7af6fb(0x10c)](_0x45b506)[_0x7af6fb(0x1f3)](z))return!0x0;const {pivotTableId:_0x27b802,fieldJSON:_0x316c05,unitId:_0x57848b,subUnitId:_0x4702cf}=_0x266bfd,_0x360d0c=_0x391137[_0x7af6fb(0x27a)](_0x316c05);if(!_0x360d0c)return!0x1;const _0x5515d5=_0xa9852e[_0x7af6fb(0x10c)](q),_0x38f5a2=_0x5515d5[_0x7af6fb(0x120)](_0x57848b),_0x36716a=_0x38f5a2['getCollection'](_0x27b802);_0x38f5a2[_0x7af6fb(0x1e5)](_0x360d0c),_0x36716a['addField'](_0x360d0c[_0x7af6fb(0x1bf)](),_0x360d0c[_0x7af6fb(0x12f)]());const _0x5008b2=_0x36716a[_0x7af6fb(0x20b)](_0x360d0c[_0x7af6fb(0x212)]());_0x5008b2&&_0x360d0c['refreshGroupField'](_0x5008b2);const _0x3e5bc0=_0x5515d5[_0x7af6fb(0xec)](_0x57848b,_0x4702cf,_0x27b802);return _0x5515d5[_0x7af6fb(0x229)]({'unitId':_0x57848b,'subUnitId':_0x4702cf,'token':_0x27b802,'type':L[_0x7af6fb(0x149)],'pivotConfig':_0x3e5bc0}),!0x0;}},Qo={'id':_0x20fe61(0x2e0),'type':_0x37d043[_0x20fe61(0x1f4)],'handler':(_0x53abb0,_0x2d520d)=>{const _0x3d2d95=_0x20fe61;if(!_0x2d520d)return!0x1;if(!!_0x53abb0[_0x3d2d95(0x10c)](_0x45b506)['getConfig'](z))return!0x0;const {pivotTableId:_0x1b50fc,dataFieldId:_0x5f23ed,unitId:_0xf556b8,subUnitId:_0x488a36}=_0x2d520d,_0x15ee81=_0x53abb0[_0x3d2d95(0x10c)](q),_0xd5bf44=_0x15ee81[_0x3d2d95(0x120)](_0xf556b8);_0xd5bf44['getCollection'](_0x1b50fc)[_0x3d2d95(0xdb)](_0x5f23ed);let _0x486b99=!0x0;for(const _0x255242 in _0xd5bf44[_0x3d2d95(0x1cd)])if(_0xd5bf44['collections'][_0x255242][_0x3d2d95(0x265)]()[_0x3d2d95(0x1d3)](_0x5f23ed)){_0x486b99=!0x1;break;}_0x486b99&&_0xd5bf44['deleteDataField'](_0x5f23ed);const _0x4e946d=_0x15ee81[_0x3d2d95(0xec)](_0xf556b8,_0x488a36,_0x1b50fc);return _0x15ee81[_0x3d2d95(0x229)]({'unitId':_0xf556b8,'subUnitId':_0x488a36,'token':_0x1b50fc,'type':L[_0x3d2d95(0x149)],'pivotConfig':_0x4e946d}),!0x0;}},vs={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x116),async 'handler'(_0xbe551c,_0x5dd62d){const _0x424719=_0x20fe61;if(!_0x5dd62d)return!0x1;const _0x2781fb=_0xbe551c[_0x424719(0x10c)](_0x1ad572),_0x95d321=_0xbe551c['get'](Z),_0x35c31f=_0xbe551c[_0x424719(0x10c)](_0x30962f),{pivotTableId:_0x4fe67f,dataFieldId:_0xb147f0,fieldArea:_0x396543,index:_0x180b50,unitId:_0x146c61,subUnitId:_0x1ffb70}=_0x5dd62d,_0x3cc405=(await _0x95d321[_0x424719(0xe0)]({'unitId':_0x146c61,'subUnitId':_0x1ffb70,'pivotTableId':_0x4fe67f,'params':{'type':A[_0x424719(0xed)],'addPivotField':{'dataFieldId':_0xb147f0,'fieldArea':_0x396543,'index':_0x180b50}}}))[_0x424719(0x1af)][_0x424719(0x2f9)];if(!_0x3cc405)return!0x1;const {view:_0x2e8fca,changesets:_0x3d0132,isEmpty:_0x3e7227,pivotTableConfig:_0x3f11c0,shouldBeAddedGroupJSON:_0x427b35}=_0x3cc405,_0x5cedb6=_0x3f11c0[_0x424719(0x2eb)],_0x4b3366=new _0x5a416b();_0x4b3366[_0x424719(0x150)](_0x2e8fca);const _0x358588={'cellInfo':_0x5cedb6,'view':_0x4b3366,'isEmpty':_0x3e7227};if(!await _0xbe551c['get'](ie)[_0x424719(0x2ef)][_0x424719(0x1d5)](be)(!0x0,_0x358588))return!0x1;const _0x4a3bdc=we(_0xbe551c,_0x4b3366,_0x5cedb6,_0x3e7227),_0x17948a=_e(_0xbe551c,_0x358588),{undos:_0x2242f8,redos:_0x1b6d00}=me(_0x2781fb,{'pivotTableId':_0x4fe67f,'unitId':_0x146c61,'subUnitId':_0x1ffb70},_0x3d0132);return _0x427b35&&(_0x1b6d00[_0x424719(0x109)]({'id':Yo['id'],'params':{'pivotTableId':_0x4fe67f,'fieldJSON':_0x427b35,'unitId':_0x146c61,'subUnitId':_0x1ffb70}}),_0x2242f8['push']({'id':Qo['id'],'params':{'pivotTableId':_0x4fe67f,'dataFieldId':_0x427b35['id'],'unitId':_0x146c61,'subUnitId':_0x1ffb70}})),_0x5ea7fe([..._0x4a3bdc[_0x424719(0x2c4)],..._0x17948a[_0x424719(0x2c4)],..._0x1b6d00],_0x2781fb),_0x35c31f['pushUndoRedo']({'unitID':_0x146c61,'redoMutations':[..._0x4a3bdc[_0x424719(0x2c4)],..._0x17948a[_0x424719(0x2c4)],..._0x1b6d00],'undoMutations':[..._0x4a3bdc[_0x424719(0x1f5)],..._0x17948a['undos'],..._0x2242f8]}),!0x0;}},hs={'type':_0x37d043[_0x20fe61(0x16b)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x4ba1f8,_0x2a5aa0){const _0x42d62a=_0x20fe61;if(!_0x2a5aa0)return!0x1;const {sourceDataInfo:_0xe77c4e,pivotTableConfig:_0x1e04e7}=_0x2a5aa0;if(!_0xe77c4e||!_0x1e04e7)return!0x1;const {unitId:_0xf3c9b6,subUnitId:_0xb31328,range:_0x1f6714}=_0xe77c4e,_0x4b9e37=_0x4ba1f8[_0x42d62a(0x10c)](_0x191739),_0x52eaa2=_0x4ba1f8['get'](Z),_0x33e85e=_0x4ba1f8[_0x42d62a(0x10c)](_0x27fdf8),_0x833266=_0x4ba1f8['get'](_0x1ad572),_0x166f13=_0x4b9e37[_0x42d62a(0x2a0)](_0xf3c9b6);if(!_0x166f13)return!0x1;const _0x23ab43=_0x166f13[_0x42d62a(0x28e)](_0xb31328);if(!_0x23ab43)return!0x1;const _0x45f83e=_0xc8469e(0x8),_0x5ab95e=_0x1f6714||{'startRow':0x0,'startColumn':0x0,'endRow':_0x23ab43[_0x42d62a(0xa6)]()-0x1,'endColumn':_0x23ab43[_0x42d62a(0x1a5)]()-0x1};_0x5ab95e[_0x42d62a(0x24a)]=_0x2383bd[_0x42d62a(0x173)];const _0x5b9712=(await _0x52eaa2[_0x42d62a(0xe0)]({'unitId':_0xf3c9b6,'subUnitId':_0xb31328,'pivotTableId':_0x45f83e,'params':{'type':A[_0x42d62a(0x290)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xf3c9b6,'sheetName':_0x23ab43[_0x42d62a(0x12f)](),'subUnitId':_0xb31328,'range':_0x5ab95e},'pivotTableId':_0x45f83e,'pivotTableIndexConfig':_0x1e04e7}}}))[_0x42d62a(0x1af)]['addPivotTableWithConfig'];if(!_0x5b9712)return!0x1;const {isEmpty:_0x24a50a,fieldsConfig:_0x79cb86,collectionConfig:_0x4e9814,changesets:_0x2edd5c}=_0x5b9712,_0x42aed3=_0x166f13['getSheets']()[_0x42d62a(0x19f)],_0x36f94c=_0x382278({'rowCount':_0x23ab43[_0x42d62a(0xa6)]()-0x1,'columnCount':_0x23ab43[_0x42d62a(0x1a5)]()-0x1});_0x36f94c['id']=_0x25b618(),_0x36f94c['name']=_0x166f13[_0x42d62a(0x205)](''+_0x33e85e['t'](_0x42d62a(0x298)));const _0x78e8ad={'index':_0x42aed3,'sheet':_0x36f94c,'unitId':_0xf3c9b6},{redos:_0xc33ee9}=me(_0x833266,{'pivotTableId':_0x45f83e,'unitId':_0xf3c9b6,'subUnitId':_0x36f94c['id']},_0x2edd5c),_0x5e60de=[{'id':_0x3dec01['id'],'params':_0x78e8ad},{'id':Ct['id'],'params':{'unitId':_0xf3c9b6,'subUnitId':_0x36f94c['id'],'pivotTableId':_0x45f83e,'pivotTableConfig':{'isEmpty':_0x24a50a,'fieldsConfig':_0x79cb86,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xf3c9b6,'subUnitId':_0x36f94c['id']},'sourceRangeInfo':{'subUnitId':_0xb31328,'unitId':_0xf3c9b6,'range':_0x5ab95e,'sheetName':_0x23ab43[_0x42d62a(0x12f)]()}},'collectionConfig':_0x4e9814}},..._0xc33ee9];return _0x5ea7fe(_0x5e60de,_0x833266),!0x0;}},ps={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0xb5),async 'handler'(_0x3cc9f7,_0x9e2a2d){const _0x4547fc=_0x20fe61;var _0x5f487f,_0x3dca61;const _0x1e1917=_0x3cc9f7[_0x4547fc(0x10c)](_0x1ad572),_0x22e096=_0x3cc9f7[_0x4547fc(0x10c)](_0x191739),_0x379da3=_0x3cc9f7[_0x4547fc(0x10c)](_0x27fdf8),_0x335c6b=_0x3cc9f7[_0x4547fc(0x10c)](Z),_0x51a5c6=_0x3cc9f7[_0x4547fc(0x10c)](_0x30962f),_0x15aef3=_0x3cc9f7[_0x4547fc(0x10c)](he),_0x1a3d5a=_0x3cc9f7[_0x4547fc(0x10c)](_0x45b506);if(!_0x9e2a2d)return!0x1;const {pivotTableConfig:_0x16c463,positionType:_0x57e207}=_0x9e2a2d,{targetCellInfo:_0x564bd3,sourceRangeInfo:_0x26bd25}=_0x16c463,{unitId:_0x3e342e,subUnitId:_0x15bd6e}=_0x564bd3,_0x187148=_0x22e096[_0x4547fc(0x2a0)](_0x3e342e);if(!_0x187148)return!0x1;let _0x56eb5b=0x0;_0x187148['getSheets']()[_0x4547fc(0x19a)](_0x5033a5=>{const _0x25d726=_0x4547fc;var _0x1c5ad4,_0x3c078b;_0x56eb5b+=(_0x3c078b=(_0x1c5ad4=_0x15aef3[_0x25d726(0xbd)](_0x3e342e,_0x5033a5['getSheetId']()))==null?void 0x0:_0x1c5ad4[_0x25d726(0x1a7)])!=null?_0x3c078b:0x0;});const _0x327d61=(_0x5f487f=_0x1a3d5a[_0x4547fc(0x1f3)](_0x4413b3))!=null?_0x5f487f:{},{ls:_0x3dbed7,pbk:_0xce65b2}=_0x327d61;if(!jo(_0x3dbed7,_0xce65b2))return!0x1;const _0x3fc44d=go(so,_0x3dbed7,_0xce65b2)[_0x4547fc(0x1a1)];if(_0x56eb5b>=_0x3fc44d)return!0x1;const _0x5d64da=_0x9e2a2d[_0x4547fc(0x309)]||_0xc8469e(0x8),_0xfddb3=(await _0x335c6b[_0x4547fc(0xe0)]({'unitId':_0x3e342e,'subUnitId':_0x15bd6e,'pivotTableId':_0x5d64da,'params':{'type':A[_0x4547fc(0x134)],'addPivotTable':{'sourceRangeInfo':_0x26bd25,'pivotTableId':_0x5d64da}}}))[_0x4547fc(0x1af)]['addPivotTable'];if(!_0xfddb3)return!0x1;const {view:_0x442e5f,isEmpty:_0x3c8d30,fieldsConfig:_0x55c0f8,collectionConfig:_0x5d79da}=_0xfddb3,_0x13136a=[],_0x597da4=[];if(_0x57e207===Wo[_0x4547fc(0x299)]){const _0x522535=_0x187148[_0x4547fc(0x2d5)]()[_0x4547fc(0x19f)],_0x1deae2=_0x382278({});_0x1deae2['id']=_0x16c463[_0x4547fc(0x2eb)][_0x4547fc(0x10a)],_0x1deae2[_0x4547fc(0x277)]=(_0x3dca61=_0x16c463[_0x4547fc(0x2eb)][_0x4547fc(0x284)])!=null?_0x3dca61:_0x187148[_0x4547fc(0x205)](''+_0x379da3['t'](_0x4547fc(0x298)));const _0x35776f={'index':_0x522535,'sheet':_0x1deae2,'unitId':_0x3e342e},_0xec811=_0x57e126(_0x3cc9f7,_0x35776f);_0x13136a['push']({'id':_0x4f5ce1['id'],'params':_0xec811}),_0x597da4['push']({'id':_0x19ba1d['id'],'params':_0x35776f});}else{if(!_0x187148[_0x4547fc(0x28e)](_0x15bd6e))return!0x1;const _0x28080f=we(_0x3cc9f7,new _0x5a416b(),_0x564bd3,!0x0);_0x597da4[_0x4547fc(0xc4)](..._0x28080f['redos']),_0x13136a['push'](..._0x28080f[_0x4547fc(0x1f5)]);const _0x4983b1={'cellInfo':_0x564bd3,'view':_0x442e5f,'isEmpty':_0x3c8d30};if(!await _0x3cc9f7[_0x4547fc(0x10c)](ie)[_0x4547fc(0x2ef)][_0x4547fc(0x1d5)](be)(!0x0,_0x4983b1))return!0x1;const _0x42bdee=_e(_0x3cc9f7,_0x4983b1);_0x597da4['push'](..._0x42bdee[_0x4547fc(0x2c4)]),_0x13136a[_0x4547fc(0xc4)](..._0x42bdee[_0x4547fc(0x1f5)]);}return _0x597da4[_0x4547fc(0xc4)]({'id':Ct['id'],'params':{'unitId':_0x564bd3[_0x4547fc(0x29e)],'subUnitId':_0x564bd3[_0x4547fc(0x10a)],'pivotTableId':_0x5d64da,'pivotTableConfig':{'targetCellInfo':_0x564bd3,'sourceRangeInfo':_0x26bd25,'fieldsConfig':_0x55c0f8},'collectionConfig':_0x5d79da}}),_0x13136a[_0x4547fc(0x109)]({'id':xt['id'],'params':{'unitId':_0x3e342e,'subUnitId':_0x15bd6e,'pivotTableId':_0x5d64da}}),_0x5ea7fe(_0x597da4,_0x1e1917)&&_0x51a5c6[_0x4547fc(0xdd)]({'unitID':_0x3e342e,'undoMutations':_0x13136a,'redoMutations':_0x597da4}),!0x0;}},ms={'type':_0x37d043['COMMAND'],'id':_0x20fe61(0x1fb),async 'handler'(_0x173a87,_0x562d01){const _0x127a92=_0x20fe61;if(!_0x562d01)return!0x1;const _0x1de2ae=_0x173a87[_0x127a92(0x10c)](_0x1ad572),_0x3c1b01=_0x173a87[_0x127a92(0x10c)](Z),_0x2ae9dd=_0x173a87[_0x127a92(0x10c)](_0x30962f),{pivotTableId:_0x413252,fieldId:_0x1e1b7a,area:_0x5c998e,index:_0x5b5555,unitId:_0x4401d8,subUnitId:_0x59e195}=_0x562d01,_0x1af653=(await _0x3c1b01[_0x127a92(0xe0)]({'unitId':_0x4401d8,'subUnitId':_0x59e195,'pivotTableId':_0x413252,'params':{'type':A[_0x127a92(0x1b4)],'movePivotField':{'fieldId':_0x1e1b7a,'area':_0x5c998e,'index':_0x5b5555}}}))[_0x127a92(0x1af)]['movePivotField'];if(!_0x1af653)return!0x1;const {changesets:_0x397ebb,view:_0x416238,isEmpty:_0x9c6fe,pivotTableConfig:_0x1dfda5}=_0x1af653,_0x325b87=_0x1dfda5[_0x127a92(0x2eb)],_0x46ab0d=new _0x5a416b();_0x46ab0d[_0x127a92(0x150)](_0x416238);const _0x14f7dc={'cellInfo':_0x325b87,'view':_0x46ab0d,'isEmpty':_0x9c6fe};if(!await _0x173a87[_0x127a92(0x10c)](ie)[_0x127a92(0x2ef)][_0x127a92(0x1d5)](be)(!0x0,_0x14f7dc))return!0x1;const _0x100093=we(_0x173a87,_0x46ab0d,_0x325b87,_0x9c6fe),_0x313baa=_e(_0x173a87,_0x14f7dc),{redos:_0x5cd26b,undos:_0xe06eea}=me(_0x1de2ae,{'pivotTableId':_0x413252,'unitId':_0x4401d8,'subUnitId':_0x59e195},_0x397ebb);return _0x5ea7fe([..._0x100093[_0x127a92(0x2c4)],..._0x313baa[_0x127a92(0x2c4)],..._0x5cd26b],_0x1de2ae),_0x2ae9dd[_0x127a92(0xdd)]({'unitID':_0x4401d8,'redoMutations':[..._0x100093['redos'],..._0x313baa[_0x127a92(0x2c4)],..._0x5cd26b],'undoMutations':[..._0x100093[_0x127a92(0x1f5)],..._0x313baa[_0x127a92(0x1f5)],..._0xe06eea]}),!0x0;}},Is={'type':_0x37d043[_0x20fe61(0x16b)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x1df95a,_0xf1789){const _0x12f7b7=_0x20fe61;var _0x5304bd;if(!_0xf1789)return!0x1;const _0x34cef1=_0x1df95a[_0x12f7b7(0x10c)](_0x191739),_0x347176=_0x5848f2(_0x34cef1);if(!_0x347176)return!0x1;const {unitId:_0x4f9ceb,subUnitId:_0x20fd9a,workbook:_0x36babf}=_0x347176,{row:_0x31972f,col:_0x46d12a}=_0xf1789,_0x48cfba=_0x1df95a[_0x12f7b7(0x10c)](Ne),_0x3c8697=_0x48cfba['getPivotTableIdByCell'](_0x4f9ceb,_0x20fd9a,_0x31972f,_0x46d12a);if(!_0x3c8697)return!0x1;const _0x25c5cf=(_0x5304bd=_0x48cfba[_0x12f7b7(0x22b)](_0x4f9ceb,_0x20fd9a,_0x3c8697))==null?void 0x0:_0x5304bd[_0x12f7b7(0x112)];if(!_0x25c5cf)return!0x1;const _0x47db88=_0x1df95a[_0x12f7b7(0x10c)](he)[_0x12f7b7(0xec)](_0x4f9ceb,_0x20fd9a,_0x3c8697);if(!_0x47db88)return!0x1;const {rowInfo:_0x22d2d1,colInfo:_0x37e56f}=_0x25c5cf,_0x263c90=_0x22d2d1[_0x31972f][_0x12f7b7(0xb2)],_0x39a097=_0x37e56f[_0x46d12a]['paths'],_0x4a58ec=_0x22d2d1[_0x31972f][_0x12f7b7(0xe4)],_0x46adcd=_0x37e56f[_0x46d12a][_0x12f7b7(0xe4)],_0x47f709=_0x263c90[_0x12f7b7(0xfb)](_0x39a097),_0x124341=_0x47db88[_0x12f7b7(0x2e7)][_0x12f7b7(0x129)][_0x12f7b7(0x179)](0x0,_0x4a58ec),_0x55f36f=_0x47db88[_0x12f7b7(0x2e7)][_0x12f7b7(0x182)]['slice'](0x0,_0x46adcd),_0x2a59f9=_0x124341[_0x12f7b7(0xfb)](_0x55f36f),_0x5e52a8=_0x47f709[_0x12f7b7(0x1eb)]((_0x447b5f,_0x5a3b32)=>[_0x447b5f,_0x2a59f9[_0x5a3b32]]),_0x4b74cf=(await _0x1df95a[_0x12f7b7(0x10c)](Z)[_0x12f7b7(0xe0)]({'unitId':_0x4f9ceb,'subUnitId':_0x20fd9a,'pivotTableId':_0x3c8697,'params':{'type':A[_0x12f7b7(0x24d)],'drillDown':{'tuple':_0x5e52a8}}}))['result']['drillDown'];if(!_0x4b74cf)return!0x1;const {indexes:_0x4299dc,range:_0x2e0a20,sourceUnitId:_0x2a0328,sourceSubUnitId:_0x2c295d,formatMap:_0x2e2c3e}=_0x4b74cf,{startRow:_0x1bbb96,endRow:_0x14d386,startColumn:_0x4709f1,endColumn:_0x326380}=_0x2e0a20,_0x1b9019=new _0x47b566(),_0x260040=_0x14d386-_0x1bbb96,_0x12b06f=_0x326380-_0x4709f1,_0x5c3628={},_0x270e8c=_0x5848f2(_0x34cef1,{'unitId':_0x2a0328,'subUnitId':_0x2c295d});if(!_0x270e8c)return!0x1;const _0x162ec4=fe[_0x12f7b7(0xf4)],_0x40c6da=fe['subTotalStyle'],_0x64eb4b=fe[_0x12f7b7(0x235)],_0x314384=_0x36babf[_0x12f7b7(0x1ae)]()[_0x12f7b7(0x15b)](_0x162ec4),_0x58e37f=_0x36babf[_0x12f7b7(0x1ae)]()[_0x12f7b7(0x15b)](_0x40c6da),_0x3a868d=_0x36babf['getStyles']()[_0x12f7b7(0x15b)](_0x64eb4b),{worksheet:_0x44fc63}=_0x270e8c;let _0xc56d67=0x0;const _0x23d97d=0x1;_0x4299dc[_0x12f7b7(0x19a)](_0x4e019=>{const _0x45ae35=_0x12f7b7;for(let _0x59d26b=0x0;_0x59d26b<=_0x326380-_0x4709f1;_0x59d26b++)_0x1b9019[_0x45ae35(0x15b)](_0xc56d67,_0x59d26b,_0x44fc63['getCellRaw'](_0x4e019+_0x2e0a20[_0x45ae35(0x210)]+_0x23d97d,_0x59d26b));_0xc56d67++;});for(let _0x21c9ef=_0x4709f1;_0x21c9ef<=_0x326380;_0x21c9ef++){const _0xff2c0a=_0x44fc63[_0x12f7b7(0x146)](_0x1bbb96,_0x21c9ef);_0x5c3628[_0x1bbb96]||(_0x5c3628[_0x1bbb96]={}),_0x5c3628[_0x1bbb96][_0x21c9ef]={..._0xff2c0a,'s':_0x314384};}let _0x177f39=0x1;const _0x26d33d={},_0x44d0af={};_0x1b9019['forRow']((_0x2c6f9a,_0x5306b0)=>{const _0x24f916=_0x12f7b7;_0x5306b0[_0x24f916(0x19a)](_0x23bfed=>{const _0xcc53e0=_0x24f916,_0x170af4=_0x1b9019[_0xcc53e0(0x21f)](_0x2c6f9a,_0x23bfed);if(_0x5c3628[_0x177f39]||(_0x5c3628[_0x177f39]={}),_0x5c3628[_0x177f39][_0x23bfed]={..._0x170af4,'s':_0x177f39%0x2===0x0?_0x3a868d:_0x58e37f},_0x2e2c3e[_0x23bfed]&&_0x2c6f9a>=0x0){const _0x52a988=_0x177f39%0x2===0x0;let _0x5398bc=_0x52a988?_0x44d0af[_0x23bfed]:_0x26d33d[_0x23bfed];_0x5398bc||(_0x5398bc=_0x36babf[_0xcc53e0(0x1ae)]()['setValue']({..._0x52a988?_0x64eb4b:_0x40c6da,'n':{'pattern':_0x2e2c3e[_0x23bfed]}}),_0x52a988?_0x44d0af[_0x23bfed]=_0x5398bc:_0x26d33d[_0x23bfed]=_0x5398bc),_0x5c3628[_0x177f39][_0x23bfed]['s']=_0x5398bc;}}),_0x177f39++;});const _0xd2efe7=new _0x47b566(_0x5c3628),_0x5ceb06={};_0xd2efe7[_0x12f7b7(0xa5)]((_0x34ec81,_0x4d3650,_0x5986da)=>{_0x5ceb06[_0x34ec81]||(_0x5ceb06[_0x34ec81]={}),_0x5ceb06[_0x34ec81][_0x4d3650]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3e3626=[],_0x1f7b33=[],_0x2b9256=_0x36babf['getSheets']()[_0x12f7b7(0x19f)],_0x5483fb=_0x382278({'rowCount':Math['max'](_0x37be6c,_0x260040+0xa),'columnCount':Math['max'](_0xa20dd8,_0x12b06f+0x5)}),_0x1323b3=_0x1df95a[_0x12f7b7(0x10c)](_0x27fdf8);_0x5483fb['id']=_0x25b618(),_0x5483fb[_0x12f7b7(0x277)]=_0x36babf[_0x12f7b7(0x205)](''+_0x1323b3['t'](_0x12f7b7(0x298)));const _0x4c9e2c={'index':_0x2b9256,'sheet':_0x5483fb,'unitId':_0x4f9ceb},_0x2e5123=_0x57e126(_0x1df95a,_0x4c9e2c);_0x1f7b33[_0x12f7b7(0xc4)]({'id':_0x19ba1d['id'],'params':_0x4c9e2c}),_0x3e3626['push']({'id':_0x4f5ce1['id'],'params':_0x2e5123}),_0x1f7b33['push']({'id':_0x187977['id'],'params':{'unitId':_0x4f9ceb,'subUnitId':_0x5483fb['id'],'cellValue':_0x5c3628}}),_0x3e3626[_0x12f7b7(0x109)]({'id':_0x187977['id'],'params':{'unitId':_0x4f9ceb,'subUnitId':_0x5483fb['id'],'cellValue':_0x5ceb06}});const _0x23f2ca={'startRow':0x0,'startColumn':0x0,'endRow':_0x177f39-0x1,'endColumn':_0x326380};_0x1f7b33[_0x12f7b7(0xc4)]({'id':_0x4cd99c['id'],'params':{'unitId':_0x4f9ceb,'subUnitId':_0x5483fb['id'],'range':_0x23f2ca}}),_0x3e3626[_0x12f7b7(0x109)]({'id':_0x391b94['id'],'params':{'unitId':_0x4f9ceb,'subUnitId':_0x5483fb['id']}});const _0x9c1dc=_0x1df95a[_0x12f7b7(0x10c)](_0x1ad572);return _0x5ea7fe(_0x1f7b33,_0x9c1dc)&&_0x1df95a[_0x12f7b7(0x10c)](_0x30962f)[_0x12f7b7(0xdd)]({'unitID':_0x4f9ceb,'undoMutations':_0x3e3626,'redoMutations':_0x1f7b33}),!0x0;}},Cs={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x1a8),async 'handler'(_0x12123a,_0x30b02d){const _0x56a129=_0x20fe61;if(!_0x30b02d)return!0x1;const _0x27c30c=_0x12123a[_0x56a129(0x10c)](_0x1ad572),_0x3f02d9=_0x12123a[_0x56a129(0x10c)](Z),_0x254320=_0x12123a['get'](_0x30962f),{pivotTableId:_0x461f15,fieldIds:_0x411c84,unitId:_0x5a76c5,subUnitId:_0x392145}=_0x30b02d,_0x33cc13=(await _0x3f02d9[_0x56a129(0xe0)]({'unitId':_0x5a76c5,'subUnitId':_0x392145,'pivotTableId':_0x461f15,'params':{'type':A['RemovePivotField'],'removePivotField':{'fieldIds':_0x411c84}}}))[_0x56a129(0x1af)][_0x56a129(0x1f8)];if(!_0x33cc13)return!0x1;const {view:_0x44805e,changesets:_0x713b66,isEmpty:_0x2f325b,pivotTableConfig:_0x59f0f9}=_0x33cc13,_0x5e9160=_0x59f0f9['targetCellInfo'],_0x21a33b=new _0x5a416b();_0x21a33b[_0x56a129(0x150)](_0x44805e);const _0x42eee3={'cellInfo':_0x5e9160,'view':_0x21a33b,'isEmpty':_0x2f325b};if(!await _0x12123a[_0x56a129(0x10c)](ie)[_0x56a129(0x2ef)][_0x56a129(0x1d5)](be)(!0x0,_0x42eee3))return!0x1;const _0x3b5072=we(_0x12123a,_0x21a33b,_0x5e9160,_0x2f325b),_0x179c13=_e(_0x12123a,_0x42eee3),{redos:_0x859a7,undos:_0x410c87}=me(_0x27c30c,{'pivotTableId':_0x461f15,'unitId':_0x5a76c5,'subUnitId':_0x392145},_0x713b66);return _0x5ea7fe([..._0x3b5072[_0x56a129(0x2c4)],..._0x179c13[_0x56a129(0x2c4)],..._0x859a7],_0x27c30c),_0x254320['pushUndoRedo']({'unitID':_0x5a76c5,'redoMutations':[..._0x3b5072['redos'],..._0x179c13[_0x56a129(0x2c4)],..._0x859a7],'undoMutations':[..._0x3b5072['undos'],..._0x179c13[_0x56a129(0x1f5)],..._0x410c87]}),!0x0;}},bs={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x1ec),async 'handler'(_0x570651,_0x16ea11){const _0x3a6619=_0x20fe61;var _0x45ffe6;const _0x4e1737=_0x570651[_0x3a6619(0x10c)](_0x1ad572),_0x534b04=_0x570651[_0x3a6619(0x10c)](Z),_0x311fa6=_0x570651[_0x3a6619(0x10c)](Ne),_0x469418=_0x570651[_0x3a6619(0x10c)](_0x191739),_0x1d89a6=_0x570651['get'](_0x30962f);if(!_0x16ea11)return!0x1;const {unitId:_0x33050a,subUnitId:_0x3e6475,row:_0x1ac09c,col:_0x753aa3,collapse:_0x4fa75c}=_0x16ea11,_0x52bc14=_0x469418[_0x3a6619(0x2a0)](_0x33050a);if(!_0x52bc14||!_0x52bc14['getSheetBySheetId'](_0x3e6475))return!0x1;const _0x365419=_0x311fa6[_0x3a6619(0x1aa)](_0x33050a,_0x3e6475,_0x1ac09c,_0x753aa3);if(!_0x365419)return!0x1;const _0x2dec52=_0x311fa6['getPivotItemRenderInfoCache'](_0x33050a,_0x3e6475,_0x365419);if(!_0x2dec52)return!0x1;const _0x4023e9=_0x1ceb49(_0x1ac09c,_0x753aa3),{rangesInfo:_0x5efbaa,areaInfo:_0x2fc17b,headerMap:_0x4097cb}=_0x2dec52;if(!_0x5efbaa||!_0x2fc17b||!_0x4097cb)return!0x1;const _0x38785e=Object[_0x3a6619(0x2e4)](_0x5efbaa)[_0x3a6619(0x15d)](_0x269a11=>_0x5efbaa[_0x269a11][_0x3a6619(0x143)](_0x5bccd8=>_0x5d8cb0[_0x3a6619(0x308)](_0x5bccd8,_0x4023e9)));let _0x1f6701;_0x38785e==='rowRanges'?_0x1f6701=_0x4097cb[_0x3a6619(0x1d4)][_0x753aa3]:_0x38785e==='colRanges'&&(_0x1f6701=_0x4097cb[_0x3a6619(0x17e)][_0x1ac09c]);const _0x295dcf=_0x1f6701==null?void 0x0:_0x1f6701[_0x3a6619(0x315)],_0x5e9f8e=(_0x45ffe6=_0x311fa6[_0x3a6619(0x294)](_0x33050a,_0x3e6475,_0x1ac09c,_0x753aa3))==null?void 0x0:_0x45ffe6['v'];if(_0x5e9f8e==null||!_0x365419||!_0x295dcf)return!0x1;const _0x61740e=await _0x534b04[_0x3a6619(0xe0)]({'unitId':_0x33050a,'subUnitId':_0x3e6475,'pivotTableId':_0x365419,'params':{'type':A[_0x3a6619(0x215)],'setPivotCollapse':{'tableFieldId':_0x295dcf,'collapse':_0x4fa75c,'item':_0x5e9f8e}}}),_0x430d63=_0x61740e==null?void 0x0:_0x61740e[_0x3a6619(0x1af)][_0x3a6619(0x270)];if(!_0x430d63)return!0x1;const {view:_0x4d72b3,pivotTableConfig:_0x1eb558,isEmpty:_0x5233b4,changesets:_0x3b147b}=_0x430d63,_0x426eeb=new _0x5a416b();_0x426eeb[_0x3a6619(0x150)](_0x4d72b3);const _0x34c642=_0x1eb558['targetCellInfo'],_0xa4212d={'cellInfo':_0x34c642,'view':_0x426eeb,'isEmpty':_0x5233b4};if(!await _0x570651[_0x3a6619(0x10c)](ie)[_0x3a6619(0x2ef)][_0x3a6619(0x1d5)](be)(!0x0,_0xa4212d))return!0x1;const _0x22836b=we(_0x570651,_0x426eeb,_0x34c642,_0x5233b4),_0x3aed2e=_e(_0x570651,_0xa4212d),{redos:_0xe7f0fe,undos:_0x3e33a3}=me(_0x4e1737,{'pivotTableId':_0x365419,'unitId':_0x33050a,'subUnitId':_0x3e6475},_0x3b147b);return _0x5ea7fe([..._0x22836b[_0x3a6619(0x2c4)],..._0x3aed2e[_0x3a6619(0x2c4)],..._0xe7f0fe],_0x4e1737),_0x1d89a6[_0x3a6619(0xdd)]({'unitID':_0x33050a,'redoMutations':[..._0x22836b[_0x3a6619(0x2c4)],..._0x3aed2e[_0x3a6619(0x2c4)],..._0xe7f0fe],'undoMutations':[..._0x22836b[_0x3a6619(0x1f5)],..._0x3aed2e[_0x3a6619(0x1f5)],..._0x3e33a3]}),!0x0;}},Ps={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x11b),async 'handler'(_0x3e54a3,_0x42aabe){const _0x4ab385=_0x20fe61;if(!_0x42aabe)return!0x1;const _0x49d745=_0x3e54a3[_0x4ab385(0x10c)](_0x1ad572),{pivotTableId:_0x2094c8,tableFieldId:_0x35267d,items:_0x3eff8b,unitId:_0x4c8bf2,subUnitId:_0xc34c73,isAll:_0x3f833f}=_0x42aabe,_0x348d08=_0x3e54a3[_0x4ab385(0x10c)](Z),_0x276335=_0x3e54a3[_0x4ab385(0x10c)](_0x30962f),_0xccb83d=(await _0x348d08[_0x4ab385(0xe0)]({'unitId':_0x4c8bf2,'subUnitId':_0xc34c73,'pivotTableId':_0x2094c8,'params':{'type':A['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x35267d,'items':_0x3eff8b,'isAll':_0x3f833f}}}))[_0x4ab385(0x1af)]['setPivotFilter'];if(!_0xccb83d)return!0x1;const {changesets:_0x3c3a88,pivotTableConfig:_0x4e17e4,isEmpty:_0x54087b,view:_0xfd9754}=_0xccb83d,_0x50f820=_0x4e17e4['targetCellInfo'],_0x18454e=new _0x5a416b();_0x18454e[_0x4ab385(0x150)](_0xfd9754);const _0x794a0={'cellInfo':_0x50f820,'view':_0x18454e,'isEmpty':_0x54087b};if(!await _0x3e54a3['get'](ie)[_0x4ab385(0x2ef)][_0x4ab385(0x1d5)](be)(!0x0,_0x794a0))return!0x1;const _0x489054=we(_0x3e54a3,_0x18454e,_0x50f820,_0x54087b),_0x212709=_e(_0x3e54a3,_0x794a0),{undos:_0x416f0b,redos:_0x28e028}=me(_0x49d745,{'pivotTableId':_0x2094c8,'unitId':_0x4c8bf2,'subUnitId':_0xc34c73},_0x3c3a88);return _0x5ea7fe([..._0x489054['redos'],..._0x212709[_0x4ab385(0x2c4)],..._0x28e028],_0x49d745),_0x276335['pushUndoRedo']({'unitID':_0x4c8bf2,'redoMutations':[..._0x489054[_0x4ab385(0x2c4)],..._0x212709[_0x4ab385(0x2c4)],..._0x28e028],'undoMutations':[..._0x489054[_0x4ab385(0x1f5)],..._0x212709[_0x4ab385(0x1f5)],..._0x416f0b]}),!0x0;}},Ss={'type':_0x37d043['COMMAND'],'id':_0x20fe61(0xb6),async 'handler'(_0x4efea5,_0x20f7bc){const _0x26c7df=_0x20fe61;if(!_0x20f7bc)return!0x1;const _0x8a2c60=_0x4efea5['get'](_0x1ad572),_0x447b7d=_0x4efea5['get'](_0x30962f),_0x3805a6=_0x4efea5[_0x26c7df(0x10c)](Z),{info:_0x35530e,tableFieldId:_0x200369,pivotTableId:_0x466376,unitId:_0x47eec4,subUnitId:_0x1a6c52}=_0x20f7bc,_0x364d99=(await _0x3805a6[_0x26c7df(0xe0)]({'unitId':_0x47eec4,'subUnitId':_0x1a6c52,'pivotTableId':_0x466376,'params':{'type':A['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x200369,'info':_0x35530e}}}))[_0x26c7df(0x1af)][_0x26c7df(0x2f6)];if(!_0x364d99)return!0x1;const {changesets:_0x4f4294}=_0x364d99,{redos:_0x1ad7d7,undos:_0x375e08}=me(_0x8a2c60,{'pivotTableId':_0x466376,'unitId':_0x47eec4,'subUnitId':_0x1a6c52},_0x4f4294);return _0x5ea7fe(_0x1ad7d7,_0x8a2c60),_0x447b7d[_0x26c7df(0xdd)]({'unitID':_0x47eec4,'redoMutations':_0x1ad7d7,'undoMutations':_0x375e08}),!0x0;}},Ts={'type':_0x37d043[_0x20fe61(0x16b)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x2ddd73,_0x1ea2db){const _0x47d7a1=_0x20fe61;if(!_0x1ea2db)return!0x1;const _0x5e11d9=_0x2ddd73['get'](_0x1ad572),_0x53443e=_0x2ddd73[_0x47d7a1(0x10c)](_0x30962f),_0x2b1fe5=_0x2ddd73['get'](Z),{displayName:_0x20abe5,subtotalType:_0x1ac6de,format:_0x57c712,tableFieldId:_0x3ea112,pivotTableId:_0x5a6b07,unitId:_0x3f2d9a,subUnitId:_0x1fb84a}=_0x1ea2db,_0x10a01e=(await _0x2b1fe5[_0x47d7a1(0xe0)]({'unitId':_0x3f2d9a,'subUnitId':_0x1fb84a,'pivotTableId':_0x5a6b07,'params':{'type':A['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3ea112,'displayName':_0x20abe5,'subtotalType':_0x1ac6de,'format':_0x57c712}}}))[_0x47d7a1(0x1af)]['setPivotSetting'];if(!_0x10a01e)return!0x1;const {changesets:_0x287596,view:_0x21a4bb,pivotTableConfig:_0x2be6eb,isEmpty:_0x50139f}=_0x10a01e,_0x46321f=_0x2be6eb['targetCellInfo'],_0xb322d6=new _0x5a416b();_0xb322d6['formJSON'](_0x21a4bb);const _0x346a3c={'cellInfo':_0x46321f,'view':_0xb322d6,'isEmpty':_0x50139f};if(!await _0x2ddd73[_0x47d7a1(0x10c)](ie)['asyncInterceptor'][_0x47d7a1(0x1d5)](be)(!0x0,_0x346a3c))return!0x1;const _0x2cdc5e=we(_0x2ddd73,_0xb322d6,_0x46321f,_0x50139f),_0x14b633=_e(_0x2ddd73,_0x346a3c),{undos:_0x29985f,redos:_0x10c666}=me(_0x5e11d9,{'pivotTableId':_0x5a6b07,'unitId':_0x3f2d9a,'subUnitId':_0x1fb84a},_0x287596);return _0x5ea7fe([..._0x2cdc5e[_0x47d7a1(0x2c4)],..._0x14b633['redos'],..._0x10c666],_0x5e11d9),_0x53443e[_0x47d7a1(0xdd)]({'unitID':_0x3f2d9a,'redoMutations':[..._0x2cdc5e[_0x47d7a1(0x2c4)],..._0x14b633[_0x47d7a1(0x2c4)],..._0x10c666],'undoMutations':[..._0x2cdc5e[_0x47d7a1(0x1f5)],..._0x14b633['undos'],..._0x29985f]}),!0x0;}},Ms={'type':_0x37d043['COMMAND'],'id':_0x20fe61(0x307),async 'handler'(_0x2ebff3,_0x4af797){const _0x1fa490=_0x20fe61,_0x3d8798=_0x2ebff3[_0x1fa490(0x10c)](_0x1ad572),_0x16ff5d=_0x2ebff3[_0x1fa490(0x10c)](Z),_0x5f13e5=_0x2ebff3[_0x1fa490(0x10c)](_0x30962f);if(!_0x4af797)return!0x1;const {token:_0x4bbb05,dataRangeInfo:_0x5a2a5f,unitId:_0x58adfc,subUnitId:_0x881175}=_0x4af797,_0x255e92=[],_0x8d76d5=[],_0x3128a2=(await _0x16ff5d['getPivotDisplayConfig']({'unitId':_0x58adfc,'subUnitId':_0x881175,'pivotTableId':_0x4bbb05,'params':{'type':A[_0x1fa490(0x2f2)],'updatePivotSource':{'dataRangeInfo':_0x5a2a5f,'unitId':_0x58adfc,'subUnitId':_0x881175}}}))['result'][_0x1fa490(0x187)];if(!_0x3128a2)return!0x1;const {changesets:_0x5e058d,deleteIds:_0x130dd7,collectionConfig:_0x38c864,oldCollectionConfig:_0xa67ace,view:_0x3d04d1,isEmpty:_0x1bb325,pivotTableConfig:_0x407a56}=_0x3128a2;_0x8d76d5['push']({'id':to['id'],'params':{'pivotTableId':_0x4bbb05,'deleteIds':_0x130dd7,'collectionJSON':_0x38c864,'dataRangeInfo':_0x5a2a5f,'unitId':_0x58adfc,'subUnitId':_0x881175}}),_0x255e92[_0x1fa490(0x109)]({'id':to['id'],'params':{'pivotTableId':_0x4bbb05,'deleteIds':[],'collectionJSON':_0xa67ace,'dataRangeInfo':_0x407a56[_0x1fa490(0x14e)],'unitId':_0x58adfc,'subUnitId':_0x881175}});const _0x16fcaf=_0x407a56['targetCellInfo'],_0x45bd67=new _0x5a416b();_0x45bd67['formJSON'](_0x3d04d1);const _0x3e2e7b={'cellInfo':_0x16fcaf,'view':_0x45bd67,'isEmpty':_0x1bb325};if(!await _0x2ebff3[_0x1fa490(0x10c)](ie)[_0x1fa490(0x2ef)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3e2e7b))return!0x1;const _0x5febd7=we(_0x2ebff3,_0x45bd67,_0x16fcaf,_0x1bb325),_0x544d19=_e(_0x2ebff3,_0x3e2e7b),{undos:_0x53c511,redos:_0x563e06}=me(_0x3d8798,{'pivotTableId':_0x4bbb05,'unitId':_0x58adfc,'subUnitId':_0x881175},_0x5e058d);return _0x5ea7fe([..._0x5febd7['redos'],..._0x544d19[_0x1fa490(0x2c4)],..._0x8d76d5,..._0x53c511],_0x3d8798),_0x5f13e5[_0x1fa490(0xdd)]({'unitID':_0x58adfc,'redoMutations':[..._0x5febd7[_0x1fa490(0x2c4)],..._0x544d19[_0x1fa490(0x2c4)],..._0x8d76d5,..._0x53c511],'undoMutations':[..._0x5febd7['undos'],..._0x544d19[_0x1fa490(0x1f5)],..._0x255e92,..._0x563e06]}),!0x0;}},ys={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x108),async 'handler'(_0x202b1f,_0xf20f8){const _0x32c511=_0x20fe61;if(!_0xf20f8)return!0x1;const _0x78c02a=_0x202b1f[_0x32c511(0x10c)](_0x1ad572),_0x12a231=_0x202b1f['get'](Z),_0x4ec464=_0x202b1f[_0x32c511(0x10c)](_0x191739),_0x533e60=_0x202b1f[_0x32c511(0x10c)](_0x30962f),{pivotTableId:_0x10f716,position:_0x27527b,index:_0x11f91e}=_0xf20f8,_0x39763b=_0x5848f2(_0x4ec464);if(!_0x39763b)return!0x1;const {unitId:_0x38c02f,subUnitId:_0x2c755d}=_0x39763b,_0x1b3cb5=(await _0x12a231[_0x32c511(0xe0)]({'unitId':_0x38c02f,'subUnitId':_0x2c755d,'pivotTableId':_0x10f716,'params':{'type':A[_0x32c511(0x203)],'updateValuePosition':{'position':_0x27527b,'index':_0x11f91e}}}))['result'][_0x32c511(0x236)];if(!_0x1b3cb5)return!0x1;const {changesets:_0x31b600,view:_0x2da4d4,isEmpty:_0x150a0a,pivotTableConfig:_0x1fe5b3}=_0x1b3cb5,_0x21cfb9=_0x1fe5b3[_0x32c511(0x2eb)],_0x135388=new _0x5a416b();_0x135388[_0x32c511(0x150)](_0x2da4d4);const _0x211345=_0x202b1f[_0x32c511(0x10c)](ie),_0x10067c={'cellInfo':_0x21cfb9,'view':_0x135388,'isEmpty':_0x150a0a};if(!await _0x211345[_0x32c511(0x2ef)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x10067c))return!0x1;const _0x17948f=we(_0x202b1f,_0x135388,_0x21cfb9,_0x150a0a),_0x2d8341=_e(_0x202b1f,_0x10067c),{undos:_0x1907a4,redos:_0x36c8b1}=me(_0x78c02a,{'pivotTableId':_0x10f716,'unitId':_0x38c02f,'subUnitId':_0x2c755d},_0x31b600);return _0x5ea7fe([..._0x17948f[_0x32c511(0x2c4)],..._0x2d8341['redos'],..._0x36c8b1],_0x78c02a),_0x533e60[_0x32c511(0xdd)]({'unitID':_0x38c02f,'redoMutations':[..._0x17948f['redos'],..._0x2d8341[_0x32c511(0x2c4)],..._0x36c8b1],'undoMutations':[..._0x17948f[_0x32c511(0x1f5)],..._0x2d8341['undos'],..._0x1907a4]}),!0x0;}},ws={'type':_0x37d043['COMMAND'],'id':_0x20fe61(0x2d0),'handler':(_0x2699c2,_0x288b47)=>{const _0x201a7a=_0x20fe61,_0x8fdb8c=_0x2699c2['get'](_0x1ad572),_0x23f859=_0x2699c2[_0x201a7a(0x10c)](_0x30962f),_0x472ddc=_0x2699c2['get'](he),_0x3295fb=_0x2699c2[_0x201a7a(0x10c)](_0x191739);if(!_0x288b47)return!0x1;const _0x1b4b1f=_0x5848f2(_0x3295fb);if(!_0x1b4b1f)return!0x1;const {unitId:_0x1b4ef2,subUnitId:_0x556776,workbook:_0x24e2a9}=_0x1b4b1f,_0x382c5f=_0x472ddc[_0x201a7a(0xec)](_0x288b47[_0x201a7a(0x16d)]['unitId'],_0x288b47['originTargetInfo'][_0x201a7a(0x10a)],_0x288b47[_0x201a7a(0x309)]);if(!_0x382c5f)return!0x1;const _0x47f395=_0x24e2a9['getSheetBySheetId'](_0x288b47[_0x201a7a(0x2eb)]['subUnitId']);if(!_0x47f395)throw new Error(_0x201a7a(0x22a));const _0x5818a9=_0x47f395[_0x201a7a(0xa6)](),_0x17b9c4=_0x47f395[_0x201a7a(0x1a5)]();if(_0x288b47[_0x201a7a(0x2eb)]['row']>_0x5818a9||_0x288b47[_0x201a7a(0x2eb)]['col']>_0x17b9c4)throw new Error(_0x201a7a(0x247));const _0x3d1b5f=[{'id':pt['id'],'params':{'unitId':_0x1b4ef2,'subUnitId':_0x288b47['targetCellInfo'][_0x201a7a(0x10a)],'pivotTableId':_0x288b47[_0x201a7a(0x309)],'targetCellPosition':{'row':_0x288b47['targetCellInfo'][_0x201a7a(0x28d)],'col':_0x288b47[_0x201a7a(0x2eb)]['col']}}}],_0x571517=[{'id':pt['id'],'params':{'unitId':_0x1b4ef2,'subUnitId':_0x556776,'pivotTableId':_0x288b47[_0x201a7a(0x309)],'targetCellPosition':{'row':_0x382c5f[_0x201a7a(0x2eb)][_0x201a7a(0x28d)],'col':_0x382c5f[_0x201a7a(0x2eb)]['col']}}}];return _0x5ea7fe(_0x3d1b5f,_0x8fdb8c)&&_0x23f859[_0x201a7a(0xdd)]({'unitID':_0x1b4ef2,'undoMutations':_0x571517,'redoMutations':_0x3d1b5f}),!0x0;}},_s={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x242),async 'handler'(_0x12e18d,_0x11188b){const _0x58c4f6=_0x20fe61;if(!_0x11188b)return!0x1;const _0x4d7dd2=_0x12e18d[_0x58c4f6(0x10c)](_0x1ad572),{pivotTableId:_0x3c27a2,fieldId:_0x163ec9,valueFilterInfo:_0x35c93c,unitId:_0x5a6f64,subUnitId:_0x305cd3}=_0x11188b,_0x4765b7=_0x12e18d[_0x58c4f6(0x10c)](Z),_0x2ab917=_0x12e18d['get'](_0x30962f),_0x10f367=(await _0x4765b7[_0x58c4f6(0xe0)]({'unitId':_0x5a6f64,'subUnitId':_0x305cd3,'pivotTableId':_0x3c27a2,'params':{'type':A[_0x58c4f6(0x22e)],'setValuePivotFilter':{'tableFieldId':_0x163ec9,'filterInfo':_0x35c93c}}}))[_0x58c4f6(0x1af)][_0x58c4f6(0x21b)];if(!_0x10f367)return!0x1;const {changesets:_0x4da76a,pivotTableConfig:_0x2ad048,isEmpty:_0x4881b3,view:_0x427186}=_0x10f367,_0x49e112=_0x2ad048[_0x58c4f6(0x2eb)],_0x411d2b=new _0x5a416b();_0x411d2b[_0x58c4f6(0x150)](_0x427186);const _0x365219={'cellInfo':_0x49e112,'view':_0x411d2b,'isEmpty':_0x4881b3};if(!await _0x12e18d[_0x58c4f6(0x10c)](ie)['asyncInterceptor'][_0x58c4f6(0x1d5)](be)(!0x0,_0x365219))return!0x1;const _0x431947=we(_0x12e18d,_0x411d2b,_0x49e112,_0x4881b3),_0x541a06=_e(_0x12e18d,_0x365219),{undos:_0x2c69ce,redos:_0x5b6d9f}=me(_0x4d7dd2,{'pivotTableId':_0x3c27a2,'unitId':_0x5a6f64,'subUnitId':_0x305cd3},_0x4da76a);return _0x5ea7fe([..._0x431947['redos'],..._0x541a06[_0x58c4f6(0x2c4)],..._0x5b6d9f],_0x4d7dd2),_0x2ab917['pushUndoRedo']({'unitID':_0x5a6f64,'redoMutations':[..._0x431947['redos'],..._0x541a06['redos'],..._0x5b6d9f],'undoMutations':[..._0x431947[_0x58c4f6(0x1f5)],..._0x541a06[_0x58c4f6(0x1f5)],..._0x2c69ce]}),!0x0;}},Fs={'type':_0x37d043[_0x20fe61(0x16b)],'id':_0x20fe61(0x1da),async 'handler'(_0x499a55,_0x1b1973){const _0x3bf131=_0x20fe61;if(!_0x1b1973)return!0x1;const _0x14b9b8=_0x499a55['get'](_0x1ad572),_0x3755a1=_0x499a55[_0x3bf131(0x10c)](_0x30962f),_0x190f41=_0x499a55[_0x3bf131(0x10c)](Z),{pivotTableConfig:_0x677e6e,pivotTableId:_0xac13ed,unitId:_0x2c21ab,subUnitId:_0x3e2945}=_0x1b1973,_0xbbb941=(await _0x190f41['getPivotDisplayConfig']({'unitId':_0x2c21ab,'subUnitId':_0x3e2945,'pivotTableId':_0xac13ed,'params':{'type':A[_0x3bf131(0x1ba)],'setPivotTableConfig':{'pivotTableId':_0xac13ed,'pivotTableConfig':_0x677e6e}}}))[_0x3bf131(0x1af)][_0x3bf131(0x211)];if(!_0xbbb941)return!0x1;const {changesets:_0x20d8f3}=_0xbbb941,{redos:_0x3acef5,undos:_0x39213b}=me(_0x14b9b8,{'pivotTableId':_0xac13ed,'unitId':_0x2c21ab,'subUnitId':_0x3e2945},_0x20d8f3);return _0x5ea7fe(_0x3acef5,_0x14b9b8),_0x3755a1['pushUndoRedo']({'unitID':_0x2c21ab,'redoMutations':_0x3acef5,'undoMutations':_0x39213b}),!0x0;}},Rs={'type':_0x37d043['COMMAND'],'id':_0x20fe61(0x2dc),async 'handler'(_0xf5e06d,_0x1e6ed9){const _0x5258e6=_0x20fe61;if(!_0x1e6ed9)return!0x1;const _0x2c41cc=_0xf5e06d[_0x5258e6(0x10c)](_0x1ad572),_0x2ddb65=_0xf5e06d[_0x5258e6(0x10c)](_0x30962f),_0x45a56e=_0xf5e06d[_0x5258e6(0x10c)](Z),{resetArea:_0x3933ce,pivotTableId:_0xfb0e17,unitId:_0x2144a9,subUnitId:_0x181750}=_0x1e6ed9,_0x4d2c11=(await _0x45a56e['getPivotDisplayConfig']({'unitId':_0x2144a9,'subUnitId':_0x181750,'pivotTableId':_0xfb0e17,'params':{'type':A['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0xfb0e17,'resetArea':_0x3933ce}}}))[_0x5258e6(0x1af)][_0x5258e6(0x317)];if(!_0x4d2c11)return!0x1;const {changesets:_0x1df62b}=_0x4d2c11,{redos:_0x2e5643,undos:_0x4d9e46}=me(_0x2c41cc,{'pivotTableId':_0xfb0e17,'unitId':_0x2144a9,'subUnitId':_0x181750},_0x1df62b);return _0x5ea7fe(_0x2e5643,_0x2c41cc),_0x2ddb65['pushUndoRedo']({'unitID':_0x2144a9,'redoMutations':_0x2e5643,'undoMutations':_0x4d9e46}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x37d043['MUTATION'],'handler':(_0x49db4d,_0x366f92)=>{const _0x5889c8=_0x20fe61;if(!_0x366f92)return!0x1;if(!!_0x49db4d['get'](_0x45b506)[_0x5889c8(0x1f3)](z))return!0x0;const {unitId:_0x34c253,subUnitId:_0x4aa095,pivotTableId:_0x13c080,tableFieldId:_0x108107,dateType:_0x2f9db6}=_0x366f92,_0x3ff67b=_0x49db4d[_0x5889c8(0x10c)](q),_0x429228=_0x3ff67b['getPivotTableInstance'](_0x13c080);if(!_0x429228)return!0x1;const _0x3ac98c=_0x429228[_0x5889c8(0xf6)](_0x108107);if(!_0x3ac98c)return!0x1;const _0x38ed93=_0x3ac98c[_0x5889c8(0x212)](),_0x49a0e5=_0x429228[_0x5889c8(0xbe)](_0x38ed93),_0x3b51bd=(_0x49a0e5==null?void 0x0:_0x49a0e5[_0x5889c8(0x12f)]())+'\x20'+zo(_0x49db4d,_0x2f9db6);_0x3ff67b[_0x5889c8(0x295)](_0x34c253,_0x13c080)[_0x5889c8(0xd1)](_0x3ac98c['id'],_0x3b51bd);const _0x447407=_0x429228[_0x5889c8(0x26b)](_0x108107);if(!_0x447407)return!0x1;_0x429228[_0x5889c8(0x18f)](_0x447407[_0x5889c8(0x1bf)](),_0x3b51bd),_0x3ac98c['setDateType'](_0x2f9db6);const _0x31f272=_0x3ff67b[_0x5889c8(0xec)](_0x34c253,_0x4aa095,_0x13c080);return _0x3ff67b[_0x5889c8(0x229)]({'unitId':_0x34c253,'subUnitId':_0x4aa095,'token':_0x13c080,'type':L['Set'],'pivotConfig':_0x31f272}),!0x0;}},Ds={'id':'sheet.command.update-date-group','type':_0x37d043[_0x20fe61(0x16b)],'handler':(_0x3a73fe,_0x55c27a)=>{const _0x1a4562=_0x20fe61;if(!_0x55c27a)return!0x1;const _0x3f2ed9=_0x3a73fe[_0x1a4562(0x10c)](_0x30962f),{unitId:_0x4bc483,subUnitId:_0x4e5f81,pivotTableId:_0x28b57a,tableFieldId:_0x4118e2}=_0x55c27a,_0x2634df=[],_0x29fd40=[],_0x43a74b=_0x3a73fe[_0x1a4562(0x10c)](he),_0x3068ec=_0x43a74b[_0x1a4562(0x295)](_0x4bc483,_0x28b57a),_0x83c317=_0x43a74b[_0x1a4562(0xec)](_0x4bc483,_0x4e5f81,_0x28b57a);if(!(_0x83c317!=null&&_0x83c317[_0x1a4562(0x2e7)][_0x1a4562(0x256)]))return!0x1;const _0x530b00=Object[_0x1a4562(0x119)](_0x83c317[_0x1a4562(0x2e7)]['dimension'])[_0x1a4562(0x15d)](_0x2c7469=>_0x2c7469['id']===_0x4118e2);if(!_0x530b00)return!0x1;const _0x5e0d10=_0x530b00[_0x1a4562(0x29c)];if(!(_0x3068ec!=null&&_0x3068ec[_0x1a4562(0x11d)]))return!0x1;const _0x9509db=Object[_0x1a4562(0x119)](_0x3068ec==null?void 0x0:_0x3068ec[_0x1a4562(0x11d)])['find'](_0x4f2920=>_0x4f2920['id']===_0x5e0d10);if(!_0x9509db)return!0x1;_0xb45cba(_0x9509db)&&_0x2634df['push']({'id':oo['id'],'params':{..._0x55c27a,'dateType':_0x9509db['dateType']}}),_0x29fd40['push']({'id':oo['id'],'params':{..._0x55c27a}});const _0x19ac19=_0x3a73fe[_0x1a4562(0x10c)](_0x1ad572);return _0x5ea7fe(_0x29fd40,_0x19ac19)&&_0x3f2ed9[_0x1a4562(0xdd)]({'unitID':_0x4bc483,'undoMutations':_0x2634df,'redoMutations':_0x29fd40}),!0x0;}};var Ns=Object[_0x20fe61(0x16f)],Us=(_0x16eff3,_0xe5ab0e,_0x2cbdb9,_0x292c31)=>{for(var _0x39a2bf=_0x292c31>0x1?void 0x0:_0x292c31?Ns(_0xe5ab0e,_0x2cbdb9):_0xe5ab0e,_0x31fb92=_0x16eff3['length']-0x1,_0x1fe6a2;_0x31fb92>=0x0;_0x31fb92--)(_0x1fe6a2=_0x16eff3[_0x31fb92])&&(_0x39a2bf=_0x1fe6a2(_0x39a2bf)||_0x39a2bf);return _0x39a2bf;},Ke=(_0x53c363,_0x3f0c75)=>(_0x428f7d,_0x52aa09)=>_0x3f0c75(_0x428f7d,_0x52aa09,_0x53c363);function _0x24f7(_0x54fe8c,_0x5fe42b){const _0xe9718=_0xe971();return _0x24f7=function(_0x24f73a,_0x373c38){_0x24f73a=_0x24f73a-0x9d;let _0x1f7966=_0xe9718[_0x24f73a];return _0x1f7966;},_0x24f7(_0x54fe8c,_0x5fe42b);}const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x22df4f,_0x2951ff,_0x1cad78)=>{const _0x32eb0b=_0x20fe61,_0x21d23e=_0x22df4f[_0x32eb0b(0x2ea)];_0x22df4f[_0x32eb0b(0xe6)](_0x14fb01=>{const _0xdb2634=_0x32eb0b,_0x4e7bc8=_0x14fb01['getId'](),_0x1a5974=_0x14fb01[_0xdb2634(0x2f5)](),_0x44022b=_0x14fb01['getSourceName'](),_0x237791=_0x14fb01['getDisplayName']();_0x2951ff[_0x1a5974]&&_0x2951ff[_0x1a5974]===_0x237791&&_0x44022b===_0x237791&&(_0x22df4f[_0xdb2634(0x18f)](_0x4e7bc8,_0x21d23e[_0xdb2634(0xab)](_0x1a5974)),_0x14fb01['setSourceName'](_0x21d23e[_0xdb2634(0xab)](_0x1a5974)));}),_0x22df4f['iterateFieldByArea'](_0x15fa2a[_0x32eb0b(0x234)],_0x1e3338=>{const _0x42f278=_0x32eb0b,_0x187a38=_0x1e3338['getId'](),_0x468273=_0x1e3338[_0x42f278(0x2f5)](),_0x550011=_0x1e3338[_0x42f278(0x111)](),_0x445cb7=_0x1e3338[_0x42f278(0xab)](),_0x4eadb8=_0x1e3338['getSubtotal'](),_0xdd89f9=_0x1cad78(_0x550011,_0x4eadb8);_0x2951ff[_0x468273]&&_0x2951ff[_0x468273]===_0x550011&&_0xdd89f9===_0x445cb7&&(_0x22df4f['renameField'](_0x187a38,_0x1cad78(_0x21d23e[_0x42f278(0xab)](_0x468273),_0x4eadb8)),_0x1e3338[_0x42f278(0x133)](_0x21d23e['getDisplayName'](_0x468273)));});},xs=(_0x10a18b,_0x42ba84,_0x1fa22a)=>{const _0x103c28=_0x20fe61;var _0xf293ff,_0x56ba59;const {arrayFormulaCellData:_0x58b8ca,unitData:_0x5a3674}=_0x42ba84,{unitId:_0x2dd689,subUnitId:_0x1200ab}=_0x1fa22a,_0x167435=_0x1fa22a[_0x103c28(0x152)],{startColumn:_0x56c87e,endColumn:_0x47fbe2}=_0x167435,_0x1e685b=(_0xf293ff=_0x58b8ca==null?void 0x0:_0x58b8ca[_0x2dd689])==null?void 0x0:_0xf293ff[_0x1200ab],_0x57dbab=(_0x56ba59=_0x5a3674==null?void 0x0:_0x5a3674[_0x2dd689])==null?void 0x0:_0x56ba59[_0x1200ab],_0x297438=new Set(),_0x106e25=_0x47fbe2-_0x56c87e+0x1,{dirtyRanges:_0x11c817}=_0x10a18b;if(_0x11c817)for(const {range:_0x35221f,sheetId:_0x758a51,unitId:_0x5308b2}of _0x11c817){if(_0x758a51!==_0x1200ab||_0x2dd689!==_0x5308b2)continue;const _0x44f0ff=_0x5d8cb0['getIntersects'](_0x35221f,_0x167435);if(_0x44f0ff){const {startColumn:_0x41437f,endColumn:_0x1d69df}=_0x44f0ff;for(let _0x26218b=_0x41437f;_0x26218b<=_0x1d69df;_0x26218b++)_0x297438[_0x103c28(0xdf)](_0x26218b);}}if(_0x297438['size']===_0x106e25||_0x297438[_0x103c28(0x1a7)]===_0x106e25)return Array[_0x103c28(0x104)](_0x297438);if(_0x57dbab){const _0x4c1aab=_0x57dbab[_0x103c28(0xeb)](),_0x12caa8=Object[_0x103c28(0x2e4)](_0x4c1aab);for(const _0x37ea97 of _0x12caa8){const _0x1f5257=Number(_0x37ea97),_0x3ef65e=_0x4c1aab[_0x1f5257];if(_0x297438[_0x103c28(0x1a7)]===_0x106e25)break;for(const _0x4f38ed in _0x3ef65e){const _0x86fbb7=Number(_0x4f38ed);_0x86fbb7<_0x56c87e||_0x86fbb7>_0x47fbe2||_0x297438[_0x103c28(0xdf)](_0x86fbb7);}}}if(_0x1e685b){const _0x16cdbf=_0x1e685b['getMatrix'](),_0x16ab27=Object['keys'](_0x16cdbf);for(const _0x3546ca of _0x16ab27){const _0x418783=Number(_0x3546ca),_0x36644e=_0x16cdbf[_0x418783];if(_0x297438['size']===_0x106e25)break;for(const _0x4a60a4 in _0x36644e){const _0x37ee4f=Number(_0x4a60a4);_0x37ee4f<_0x56c87e||_0x37ee4f>_0x47fbe2||_0x297438[_0x103c28(0xdf)](_0x37ee4f);}}}return Array[_0x103c28(0x104)](_0x297438);},Os=_0x406204=>{const _0x26d755=_0x20fe61,_0x287c61=new Set(),_0x4965fb=[];for(const _0x2eed08 of _0x406204){const _0x2a482f=_0x2eed08[_0x26d755(0x210)]+','+_0x2eed08[_0x26d755(0x1d9)]+','+_0x2eed08[_0x26d755(0x2dd)]+','+_0x2eed08[_0x26d755(0x24f)];_0x287c61['has'](_0x2a482f)||(_0x287c61[_0x26d755(0xdf)](_0x2a482f),_0x4965fb['push'](_0x2eed08));}return _0x4965fb;};let ct=class extends _0xf1ed36{constructor(_0x5d5092,_0x58bdbc,_0x155723,_0x533106,_0x25854a,_0x5a03a6){const _0x1e866f=_0x20fe61;super(),V(this,_0x1e866f(0x28a),new _0x5e4f63(!0x0)),V(this,_0x1e866f(0x22f),_0xcfd51b=>{const _0x612240=_0x1e866f;this[_0x612240(0x28a)][_0x612240(0x30f)](!0x1);}),V(this,_0x1e866f(0x16a),_0x200821=>{const _0x4848d4=_0x1e866f;this['_globalSubject'][_0x4848d4(0x30f)](!0x0);}),(this[_0x1e866f(0x110)]=_0x5d5092,this[_0x1e866f(0xac)]=_0x58bdbc,this['_featureCalculationManagerService']=_0x155723,this[_0x1e866f(0x10f)]=_0x533106,this[_0x1e866f(0x1a9)]=_0x25854a,this[_0x1e866f(0x1a3)]=_0x5a03a6,this[_0x1e866f(0xf3)](),this[_0x1e866f(0x14d)]());}[_0x20fe61(0xf3)](){const _0x770258=_0x20fe61;this[_0x770258(0xee)](),this[_0x770258(0x1b7)](),this[_0x770258(0x293)](),this['_subjectFieldsCollectionChange']();}[_0x20fe61(0x1c6)](){const _0xd76ef5=_0x20fe61;this[_0xd76ef5(0x1a9)][_0xd76ef5(0x168)](this[_0xd76ef5(0x28a)]),_0x22d09c[_0xd76ef5(0x1d6)](_0x548a0d[_0xd76ef5(0x198)],this['_globalComputedStartHelpFunc']),_0x22d09c['registerCallbackWithEvent'](_0x548a0d[_0xd76ef5(0x2b4)],this[_0xd76ef5(0x16a)]);}[_0x20fe61(0x14d)](){const _0x5e545e=_0x20fe61;this[_0x5e545e(0xef)](this['_commandService']['onCommandExecuted'](_0x1af774=>{const _0x4a28a0=_0x5e545e;_0x1af774['id']===_0x2ddf89['id']&&this['_sheetsPivotDataSourceModel'][_0x4a28a0(0x196)](_0x1af774[_0x4a28a0(0x183)]);})),this['disposeWithMe'](this['_commandService'][_0x5e545e(0x2ec)](_0x14de60=>{const _0x24ab70=_0x5e545e;if(_0x14de60['id']!==ro['id'])return;const _0x631cf7=_0x14de60[_0x24ab70(0x183)],{unitId:_0x3201fc,subUnitId:_0x3cf5b8,pivotTableId:_0x50ec2f}=_0x631cf7,_0x22a0ee=_0x631cf7['params']['type'],_0x504827={};switch(_0x22a0ee){case A[_0x24ab70(0x1ab)]:{const _0x1bdb06=_0x631cf7['params'][_0x24ab70(0x291)];if(!_0x1bdb06)return;const {row:_0xe206d7,col:_0x49e903,cellData:_0xc1ebef,pivotItemRenderInfoCache:_0xefe6b2,tableFieldId:_0x602ca2}=_0x1bdb06,_0x54dcfa=this[_0x24ab70(0x110)][_0x24ab70(0x2fc)](_0x631cf7['pivotTableId']);if(!_0x54dcfa||!_0xefe6b2)return;if(_0x602ca2){const _0x56a087=_0x54dcfa[_0x24ab70(0xf6)](_0x602ca2);if(!_0x56a087)return;_0x504827['filter']={..._0x54dcfa[_0x24ab70(0x27c)](_0x56a087),'tableFieldId':_0x602ca2,'pivotTableId':_0x631cf7[_0x24ab70(0x309)],'filterInfo':_0x54dcfa[_0x24ab70(0x2b8)](_0x602ca2),'sortInfo':_0x54dcfa[_0x24ab70(0xb9)](_0x602ca2),'format':_0x54dcfa[_0x24ab70(0x20c)](_0x602ca2)};}else{const _0x2e7987=xi(_0xe206d7,_0x49e903,_0xc1ebef,_0x54dcfa,_0xefe6b2),_0x3ac025=_0x2e7987==null?void 0x0:_0x2e7987[_0x24ab70(0x2ba)];if(!_0x3ac025)return;const _0x6d6f21=_0x54dcfa[_0x24ab70(0xf6)](_0x3ac025);if(!_0x6d6f21)return;_0x504827[_0x24ab70(0x291)]={..._0x54dcfa['getDataFieldItemInfo'](_0x6d6f21),'tableFieldId':_0x3ac025,'pivotTableId':_0x631cf7['pivotTableId'],'filterInfo':_0x54dcfa[_0x24ab70(0x2b8)](_0x3ac025),'sortInfo':_0x54dcfa['getSortInfo'](_0x3ac025),'format':_0x54dcfa[_0x24ab70(0x20c)](_0x3ac025)};}}break;case A[_0x24ab70(0x1c7)]:{const _0x4da87b=_0x631cf7[_0x24ab70(0x183)]['panel'];if(!_0x4da87b)return;const {pivotTableId:_0x4727ec}=_0x4da87b,_0x397737=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4727ec);if(!_0x397737)return;const _0x271fe2=this['_sheetsPivotDataSourceModel'][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x4727ec),_0x5d0ea9=Oi(_0x397737,_0x4727ec,_0x271fe2);_0x504827[_0x24ab70(0x1e2)]=_0x5d0ea9;}break;case A[_0x24ab70(0xed)]:{const _0x372a48=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f),_0x1070df=this['_sheetsPivotDataSourceModel'][_0x24ab70(0x120)](_0x3201fc),_0x473e0c=_0x1070df[_0x24ab70(0x295)](_0x50ec2f);let _0x3c5354=null;const _0x4ec2a4=this['_sheetsPivotDataSourceModel'][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f),_0x5afe7d=_0x631cf7[_0x24ab70(0x183)]['addPivotField'];if(!_0x372a48||!_0x4ec2a4||!_0x5afe7d)return!0x1;const {dataFieldId:_0xeb3b7,fieldArea:_0x438f9a,index:_0x29df56}=_0x5afe7d;_0x372a48['startCollectChangeset']();const _0x53d018=_0x372a48[_0x24ab70(0x122)](_0xeb3b7,_0x438f9a,_0x29df56);if(_0x53d018&&_0x438f9a===_0x15fa2a[_0x24ab70(0x234)]){const _0xbbad34=_0x53d018[_0x24ab70(0x1bf)](),_0x582f7e=_0x372a48[_0x24ab70(0xf6)](_0xbbad34);if(_0x582f7e){const _0x529a7b=_0x582f7e==null?void 0x0:_0x582f7e['getFieldDataType']();_0x372a48[_0x24ab70(0x193)](_0x53d018['getId'](),_0x529a7b===_0x2c3379[_0x24ab70(0x1b2)]?_0x165b02[_0x24ab70(0x2d8)]:_0x165b02[_0x24ab70(0x1a1)]);}const _0x91a52a=_0x372a48[_0x24ab70(0x25e)](),_0x3f0a56=_0x372a48[_0x24ab70(0x125)](),_0x1a9516=_0x372a48[_0x24ab70(0x303)](_0x15fa2a[_0x24ab70(0x234)]);if(_0x91a52a===-0x1&&_0x1a9516>0x1){const _0xaa67ee=_0x3f0a56===_0x655916[_0x24ab70(0xb4)]?_0x655916[_0x24ab70(0x1ac)]:_0x3f0a56,_0x56d543=_0xaa67ee===_0x655916[_0x24ab70(0x16e)]?_0x15fa2a['Row']:_0x15fa2a[_0x24ab70(0x1ac)];_0x372a48['updateValuePosition'](_0xaa67ee,_0x372a48[_0x24ab70(0x303)](_0x56d543));}}else{if(_0x53d018&&(_0x438f9a===_0x15fa2a['Row']||_0x438f9a===_0x15fa2a['Column'])){const _0x37e1cb=_0x53d018[_0x24ab70(0x1bf)](),_0x113577=_0x372a48[_0x24ab70(0xf6)](_0x37e1cb);if(_0x113577&&(_0x113577==null?void 0x0:_0x113577[_0x24ab70(0x1dc)]())===_0x2c3379[_0x24ab70(0x273)]){const _0x1b2fa3=_0x113577[_0x24ab70(0xc7)]();if(_0x1b2fa3&&_0x372a48[_0x24ab70(0xc9)](_0x53d018[_0x24ab70(0x1bf)](),_0x1b2fa3),!_0x473e0c['getFieldIds']()['some'](_0x1f7e3b=>{const _0x3814ac=_0x24ab70,_0x4a0bf1=_0x473e0c[_0x3814ac(0x20b)](_0x1f7e3b);return _0x27a7a3(_0x4a0bf1)?_0x4a0bf1[_0x3814ac(0x2b3)]()['originalFieldId']===_0xeb3b7:!0x1;})){const _0x4aea32=_0x1070df[_0x24ab70(0x12d)](),_0x206d95=Ji(_0x113577[_0x24ab70(0x2f8)],_0x113577['minDate']),_0x2d1d28=_0x113577[_0x24ab70(0x12f)]()+_0x24ab70(0x26c)+zo(this['_injector'],_0x206d95),_0x20b74a=new _0x1afa2e(_0x4aea32,_0x2d1d28,_0xc8469e(0x3),_0x113577['getId'](),_0x206d95);_0x1070df[_0x24ab70(0x1e5)](_0x20b74a),_0x473e0c[_0x24ab70(0x228)](_0x4aea32,_0x2d1d28),_0x372a48[_0x24ab70(0x122)](_0x4aea32,_0x438f9a,(_0x29df56!=null?_0x29df56:0x0)+0x1),_0x3c5354=_0x20b74a;}}}}const _0x8d74=_0x372a48[_0x24ab70(0x169)](),_0x34593c=_0x372a48[_0x24ab70(0x135)]()[_0x24ab70(0x11f)]();let _0x275fa8;if(_0x3c5354){_0x275fa8=_0x3c5354['toJSON']();const _0xb55799=_0x3c5354[_0x24ab70(0x1bf)]();_0x473e0c[_0x24ab70(0xdb)](_0xb55799);let _0x2d2761=!0x0;for(const _0x2eaa46 in _0x1070df[_0x24ab70(0x1cd)])if(_0x1070df[_0x24ab70(0x1cd)][_0x2eaa46][_0x24ab70(0x265)]()[_0x24ab70(0x1d3)](_0xb55799)){_0x2d2761=!0x1;break;}_0x2d2761&&_0x1070df[_0x24ab70(0x1e6)](_0xb55799);}const _0x5a8d40=_0x372a48[_0x24ab70(0x16c)]();_0x504827['addPivotField']={'view':_0x34593c,'changesets':_0x5a8d40,'isEmpty':_0x8d74,'pivotTableConfig':_0x4ec2a4,'shouldBeAddedGroupJSON':_0x275fa8};}break;case A[_0x24ab70(0x134)]:{const _0x58af31=_0x631cf7['params'][_0x24ab70(0x206)];if(!_0x58af31)return;const _0x1c03f0=_0x58af31[_0x24ab70(0x14e)],_0x591fbb=_0x58af31[_0x24ab70(0x309)],{collection:_0x421133}=this['_sheetsPivotDataSourceModel'][_0x24ab70(0x197)]({'unitId':_0x1c03f0[_0x24ab70(0x29e)],'sheetName':_0x1c03f0[_0x24ab70(0x284)],'subUnitId':_0x1c03f0[_0x24ab70(0x10a)],'range':_0x1c03f0[_0x24ab70(0x152)]}),_0x4ff49a=new _0x22d09c(_0x421133,void 0x0,_0x591fbb),_0xdbe156=_0x4ff49a[_0x24ab70(0x135)](),_0x340c0e=_0x4ff49a[_0x24ab70(0x11f)](),_0x317fcb=_0x421133[_0x24ab70(0x11f)]();_0x504827[_0x24ab70(0x206)]={'view':_0xdbe156,'fieldsConfig':_0x340c0e,'collectionConfig':_0x317fcb,'isEmpty':_0x4ff49a[_0x24ab70(0x169)]()};}break;case A['MovePivotField']:{const _0x20e524=_0x631cf7['params'][_0x24ab70(0x18a)];if(!_0x20e524)return;const {fieldId:_0x5a460d,area:_0x2fd96f,index:_0x1c82b0}=_0x20e524,_0x583399=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x583399)return;const _0x1fe16a=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x50ec2f);if(!_0x1fe16a)return;_0x1fe16a['startCollectChangeset']();const {area:_0x1c9ab5,index:_0x8bfded}=_0x1fe16a[_0x24ab70(0x214)](_0x5a460d);if(_0x1fe16a[_0x24ab70(0x27e)](_0x5a460d,_0x2fd96f,_0x1c82b0),_0x2fd96f===_0x15fa2a[_0x24ab70(0x234)]&&_0x1fe16a[_0x24ab70(0x26b)](_0x5a460d)[_0x24ab70(0x2fe)]()===void 0x0){const _0x294069=_0x1fe16a['getTableFieldById'](_0x5a460d);if(_0x294069&&_0x294069[_0x24ab70(0x2fe)]()===void 0x0){const _0x84953c=_0x1fe16a['getDataFieldByTableId'](_0x5a460d);if(_0x84953c){const _0x57fdcd=_0x84953c==null?void 0x0:_0x84953c[_0x24ab70(0x1dc)]();_0x1fe16a['setSubtotalType'](_0x5a460d,_0x57fdcd===_0x2c3379['number']?_0x165b02[_0x24ab70(0x2d8)]:_0x165b02['count']);}}}const _0x54942c=_0x1fe16a[_0x24ab70(0x125)](),_0x49b98a=_0x1fe16a[_0x24ab70(0x25e)](),_0x51bbdf=_0x1fe16a[_0x24ab70(0x303)](_0x15fa2a['Value'])>0x1;if(_0x51bbdf&&_0x1c9ab5===_0x2fd96f&&(_0x2fd96f===_0x15fa2a['Row']&&_0x54942c===_0x655916[_0x24ab70(0x16e)]||_0x2fd96f===_0x15fa2a[_0x24ab70(0x1ac)]&&_0x54942c===_0x655916[_0x24ab70(0x1ac)])){let _0x5cee9e=_0x49b98a;_0x8bfded<=_0x49b98a&&_0x5cee9e--,_0x1c82b0<=_0x49b98a&&_0x5cee9e++,_0x1fe16a['updateValuePosition'](_0x54942c,_0x5cee9e);}else _0x51bbdf&&(_0x1c9ab5===_0x15fa2a[_0x24ab70(0x16e)]&&_0x54942c===_0x655916[_0x24ab70(0x16e)]||_0x1c9ab5===_0x15fa2a[_0x24ab70(0x1ac)]&&_0x54942c===_0x655916['Column'])&&_0x49b98a>=_0x8bfded&&_0x1fe16a[_0x24ab70(0x236)](_0x54942c,_0x49b98a-0x1),_0x51bbdf&&(_0x2fd96f===_0x15fa2a[_0x24ab70(0x16e)]&&_0x54942c===_0x655916[_0x24ab70(0x16e)]||_0x2fd96f===_0x15fa2a['Column']&&_0x54942c===_0x655916[_0x24ab70(0x1ac)])&&_0x49b98a>=_0x1c82b0&&_0x1fe16a[_0x24ab70(0x236)](_0x54942c,_0x49b98a+0x1);const _0x3de2c9=_0x1fe16a[_0x24ab70(0x135)](),_0x228ac6=_0x1fe16a['isEmpty'](),_0x447753=_0x1fe16a[_0x24ab70(0x16c)]();_0x504827[_0x24ab70(0x18a)]={'view':_0x3de2c9['toJSON'](),'changesets':_0x447753,'isEmpty':_0x228ac6,'pivotTableConfig':_0x583399};}break;case A[_0x24ab70(0x230)]:{const _0x201382=_0x631cf7['params'][_0x24ab70(0x1f8)];if(!_0x201382)return;const _0x1c873f=_0x201382['fieldIds'],_0x8493e3=this['_sheetsPivotDataSourceModel'][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x8493e3)return!0x1;const _0x369c9d=this[_0x24ab70(0x110)][_0x24ab70(0x2fc)](_0x50ec2f);if(!_0x369c9d)return!0x1;_0x369c9d[_0x24ab70(0x2aa)]();for(const _0x136e59 of _0x1c873f){const {area:_0xaf4f07}=_0x369c9d[_0x24ab70(0x214)](_0x136e59);_0xaf4f07===_0x15fa2a[_0x24ab70(0x234)]&&_0x369c9d[_0x24ab70(0xda)](_0x136e59),(_0xaf4f07===_0x15fa2a[_0x24ab70(0x16e)]||_0xaf4f07===_0x15fa2a[_0x24ab70(0x1ac)])&&_0x369c9d['removeValueFilterInfo'](_0x136e59),_0x369c9d[_0x24ab70(0x2ac)](_0x136e59);}const _0x382823=_0x369c9d[_0x24ab70(0x169)](),_0x180e29=_0x369c9d[_0x24ab70(0x135)]()['toJSON'](),_0x95a679=_0x369c9d[_0x24ab70(0x16c)]();_0x504827[_0x24ab70(0x1f8)]={'changesets':_0x95a679,'pivotTableConfig':_0x8493e3,'isEmpty':_0x382823,'view':_0x180e29};}break;case A[_0x24ab70(0x1a0)]:{const _0x465e6e=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x1be)];if(!_0x465e6e)return;const {tableFieldId:_0x13612f,items:_0x368091,isAll:_0x310da6}=_0x465e6e,_0x4f7da7=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f),_0x50575b=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x4f7da7||!_0x50575b)return;_0x4f7da7[_0x24ab70(0x2aa)](),_0x4f7da7[_0x24ab70(0x2ad)](_0x13612f,{'type':_0x38aa0d[_0x24ab70(0x1ef)],'list':_0x368091,'isAll':_0x310da6});const _0x574265=_0x4f7da7[_0x24ab70(0x169)](),_0x700232=_0x4f7da7['query']()['toJSON'](),_0x2eff4=_0x4f7da7['endCollectChangeset']();_0x504827['setPivotFilter']={'view':_0x700232,'changesets':_0x2eff4,'isEmpty':_0x574265,'pivotTableConfig':_0x50575b};}break;case A[_0x24ab70(0x22e)]:{const _0x34c479=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x21b)];if(!_0x34c479)return;const {tableFieldId:_0x32517f,filterInfo:_0x267cee}=_0x34c479,_0x18c4b8=this['_sheetsPivotDataSourceModel'][_0x24ab70(0x2fc)](_0x50ec2f),_0x30bc79=this[_0x24ab70(0x110)]['getPivotTableConfig'](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x18c4b8||!_0x30bc79)return;_0x18c4b8[_0x24ab70(0x2aa)](),_0x18c4b8['setValueFilterInfo'](_0x32517f,_0x267cee);const _0x57da32=_0x18c4b8['isEmpty'](),_0x42609e=_0x18c4b8['query']()[_0x24ab70(0x11f)](),_0x5ae9ed=_0x18c4b8[_0x24ab70(0x16c)]();_0x504827['setValuePivotFilter']={'view':_0x42609e,'changesets':_0x5ae9ed,'isEmpty':_0x57da32,'pivotTableConfig':_0x30bc79};}break;case A[_0x24ab70(0x2a7)]:{const _0x5b5cff=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x2f6)];if(!_0x5b5cff)return;const {tableFieldId:_0x3713c9,info:_0x2b0a6d}=_0x5b5cff,_0x4276e7=this[_0x24ab70(0x110)][_0x24ab70(0x2fc)](_0x50ec2f),_0x57f4cc=this['_sheetsPivotDataSourceModel'][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x4276e7||!_0x57f4cc)return;_0x4276e7[_0x24ab70(0x2aa)](),_0x4276e7[_0x24ab70(0x25c)](_0x3713c9,_0x2b0a6d);const _0x3bd6ff=_0x4276e7[_0x24ab70(0x169)](),_0x54b6bb=_0x4276e7[_0x24ab70(0x135)]()[_0x24ab70(0x11f)](),_0xe7e01f=_0x4276e7['endCollectChangeset']();_0x504827['setPivotSort']={'view':_0x54b6bb,'changesets':_0xe7e01f,'isEmpty':_0x3bd6ff,'pivotTableConfig':_0x57f4cc};}break;case A[_0x24ab70(0x1c5)]:{const _0x783bb7=_0x631cf7[_0x24ab70(0x183)]['setPivotSetting'];if(!_0x783bb7)return;const {tableFieldId:_0x30bd5f,displayName:_0x51cdfe,subtotalType:_0x107f9f,format:_0x24bfe3}=_0x783bb7,_0x351638=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f),_0x21788c=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x351638||!_0x21788c)return;_0x351638[_0x24ab70(0x2aa)](),_0x51cdfe!==void 0x0&&_0x351638['renameField'](_0x30bd5f,_0x51cdfe),_0x107f9f!==void 0x0&&_0x351638['setSubtotalType'](_0x30bd5f,_0x107f9f),_0x24bfe3!==void 0x0&&_0x351638[_0x24ab70(0xc9)](_0x30bd5f,_0x24bfe3);const _0x5612de=_0x351638[_0x24ab70(0x169)](),_0x2715fc=_0x351638[_0x24ab70(0x135)]()['toJSON'](),_0x4cd324=_0x351638[_0x24ab70(0x16c)]();_0x504827[_0x24ab70(0x249)]={'changesets':_0x4cd324,'pivotTableConfig':_0x21788c,'isEmpty':_0x5612de,'view':_0x2715fc};}break;case A['UpdatePivotSource']:{const _0x332754=_0x631cf7['params'][_0x24ab70(0x187)];if(!_0x332754)return;const {dataRangeInfo:_0x224dd3,unitId:_0x4bf55a,subUnitId:_0x4c3e4f}=_0x332754,_0x2de72a=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x4bf55a,_0x4c3e4f,_0x50ec2f),_0x5ee424=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f);if(!this['_sheetsPivotDataSourceModel'][_0x24ab70(0x295)](_0x4bf55a,_0x50ec2f)||!_0x5ee424||!_0x2de72a)return;const _0x1c9f6c=this[_0x24ab70(0x110)][_0x24ab70(0x232)](_0x4bf55a,_0x50ec2f,_0x224dd3),_0xb092e3=this[_0x24ab70(0x110)][_0x24ab70(0x295)](_0x4bf55a,_0x50ec2f)['toJSON'](),{collection:_0x12a9e4}=this[_0x24ab70(0x110)][_0x24ab70(0x197)]({'unitId':_0x224dd3[_0x24ab70(0x29e)],'sheetName':_0x224dd3[_0x24ab70(0x284)],'subUnitId':_0x224dd3[_0x24ab70(0x10a)],'range':_0x224dd3[_0x24ab70(0x152)]}),_0x5a20e9=_0x12a9e4[_0x24ab70(0x11f)]();_0x5ee424['startCollectChangeset']();const _0x12e557=this['_sheetsPivotDataSourceModel'][_0x24ab70(0x120)](_0x4bf55a)['getAutoDisplayNameFunction']()||_0x378dd7;_0x5ee424['iterateField'](_0x4cc2c9=>{const _0x223131=_0x24ab70,_0x26d975=_0x4cc2c9[_0x223131(0x2f5)]();if(!_0x12a9e4[_0x223131(0xc3)](_0x26d975)){const _0x16ca82=_0x12a9e4[_0x223131(0x2f4)](_0x4cc2c9[_0x223131(0x111)]());if(_0x16ca82){_0x5ee424['updateFieldSourceInfo'](_0x4cc2c9[_0x223131(0x1bf)](),_0x16ca82[_0x223131(0x12f)](),_0x16ca82[_0x223131(0x1bf)]());const {area:_0x263fdb}=_0x5ee424['getFieldPositionInfoById'](_0x4cc2c9[_0x223131(0x1bf)]());let _0x28b7bc=_0x4cc2c9[_0x223131(0x111)]();const _0xeebfbb=_0x4cc2c9['getDisplayName']();if(_0x263fdb===_0x15fa2a[_0x223131(0x234)]){const _0x825995=_0x4cc2c9[_0x223131(0x2fe)]();_0x28b7bc=_0x12e557(_0x16ca82[_0x223131(0x12f)](),_0x825995);}_0xeebfbb!==_0x28b7bc&&_0x5ee424['renameField'](_0x4cc2c9[_0x223131(0x1bf)](),_0x28b7bc);}else _0x5ee424[_0x223131(0x2ac)](_0x4cc2c9[_0x223131(0x1bf)]());}});const _0x2ae68f=_0x5ee424[_0x24ab70(0x169)](),_0x4f12aa=_0x5ee424[_0x24ab70(0x135)]()[_0x24ab70(0x11f)](),_0x2815a8=_0x5ee424[_0x24ab70(0x16c)]();_0x504827[_0x24ab70(0x187)]={'view':_0x4f12aa,'changesets':_0x2815a8,'isEmpty':_0x2ae68f,'pivotTableConfig':_0x2de72a,'collectionConfig':_0x5a20e9,'oldCollectionConfig':_0xb092e3,'deleteIds':_0x1c9f6c};}break;case A['UpdateValuePosition']:{const _0x2bebc8=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x236)];if(!_0x2bebc8)return;const {position:_0x15280b,index:_0x3d9e73}=_0x2bebc8,_0x3864ed=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x3864ed)return!0x1;const _0x25a4cf=this[_0x24ab70(0x110)][_0x24ab70(0x2fc)](_0x50ec2f);if(!_0x25a4cf)return!0x1;_0x25a4cf[_0x24ab70(0x2aa)](),_0x25a4cf[_0x24ab70(0x236)](_0x15280b,_0x3d9e73);const _0x3d85fc=_0x25a4cf['isEmpty'](),_0x336da9=_0x25a4cf['query']()[_0x24ab70(0x11f)](),_0x3e7195=_0x25a4cf[_0x24ab70(0x16c)]();_0x504827['updateValuePosition']={'changesets':_0x3e7195,'pivotTableConfig':_0x3864ed,'isEmpty':_0x3d85fc,'view':_0x336da9};}break;case A[_0x24ab70(0x215)]:{const _0x50a368=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x270)];if(!_0x50a368)return;const {tableFieldId:_0x5eb09f,collapse:_0xd65c62,item:_0x433fe8}=_0x50a368,_0x37ea8e=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f),_0x53e0de=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x37ea8e||!_0x53e0de)return;_0x37ea8e['startCollectChangeset'](),_0x37ea8e[_0x24ab70(0x257)](_0x5eb09f,_0xd65c62,_0x433fe8);const _0x4be0a2=_0x37ea8e[_0x24ab70(0x169)](),_0x43a01d=_0x37ea8e[_0x24ab70(0x135)]()[_0x24ab70(0x11f)](),_0x1ec07c=_0x37ea8e[_0x24ab70(0x16c)]();_0x504827[_0x24ab70(0x270)]={'view':_0x43a01d,'isEmpty':_0x4be0a2,'pivotTableConfig':_0x53e0de,'changesets':_0x1ec07c};}break;case A[_0x24ab70(0x1ba)]:{const _0x3a7f12=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x211)];if(!_0x3a7f12)return;const {pivotTableConfig:_0x5e593e}=_0x3a7f12,_0x23c9f0=this[_0x24ab70(0x110)][_0x24ab70(0x2fc)](_0x50ec2f),_0x1d3626=this[_0x24ab70(0x110)][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x23c9f0||!_0x1d3626)return;_0x23c9f0[_0x24ab70(0x2aa)](),$i(_0x23c9f0,_0x5e593e);const _0x18de90=_0x23c9f0['isEmpty'](),_0x137053=_0x23c9f0[_0x24ab70(0x135)]()[_0x24ab70(0x11f)](),_0x364306=_0x23c9f0['endCollectChangeset']();_0x504827[_0x24ab70(0x211)]={'view':_0x137053,'isEmpty':_0x18de90,'pivotTableConfig':{..._0x1d3626,'fieldsConfig':_0x23c9f0[_0x24ab70(0x11f)]()},'changesets':_0x364306};}break;case A[_0x24ab70(0x2d1)]:{const _0x21dd4d=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x317)];if(!_0x21dd4d)return;const _0x543466=this[_0x24ab70(0x110)]['getPivotTableInstance'](_0x50ec2f),_0x4142a9=this['_sheetsPivotDataSourceModel'][_0x24ab70(0xec)](_0x3201fc,_0x3cf5b8,_0x50ec2f);if(!_0x543466||!_0x4142a9)return;_0x543466[_0x24ab70(0x2aa)](),Gi(_0x543466,_0x21dd4d[_0x24ab70(0x2ca)]);const _0x2ff29b=_0x543466[_0x24ab70(0x135)]()[_0x24ab70(0x11f)](),_0x2aadca=_0x543466['endCollectChangeset']();_0x504827[_0x24ab70(0x317)]={'view':_0x2ff29b,'isEmpty':!0x0,'pivotTableConfig':{..._0x4142a9,'fieldsConfig':_0x543466[_0x24ab70(0x11f)]()},'changesets':_0x2aadca};}break;case A[_0x24ab70(0x290)]:{const _0x7f6218=_0x631cf7[_0x24ab70(0x183)][_0x24ab70(0x1f1)];if(!_0x7f6218)return;const _0x2997fa=_0x7f6218['sourceRangeInfo'],_0x2be0db=_0x7f6218['pivotTableId'],{collection:_0x9b2273}=this[_0x24ab70(0x110)]['createCollectionWithDataRange']({'unitId':_0x2997fa[_0x24ab70(0x29e)],'sheetName':_0x2997fa[_0x24ab70(0x284)],'subUnitId':_0x2997fa[_0x24ab70(0x10a)],'range':_0x2997fa[_0x24ab70(0x152)]}),_0x4874ae=new _0x22d09c(_0x9b2273,void 0x0,_0x2be0db),_0x23598b=_0x9b2273['getFieldIds'](),{rows:_0x16d84e,columns:_0x7a5a27,filters:_0x120930,values:_0x5521ec}=_0x7f6218[_0x24ab70(0x107)];_0x4874ae[_0x24ab70(0x2aa)]();for(const {field:_0x5d4c55,selectedItems:_0x4baef7}of _0x16d84e||[]){const _0x1e0422=_0x23598b[_0x5d4c55];if(_0x1e0422){const _0x411e41=_0x4874ae[_0x24ab70(0x122)](_0x1e0422,_0x15fa2a[_0x24ab70(0x16e)]);_0x4baef7&&_0x411e41&&_0x4874ae[_0x24ab70(0x2ad)](_0x411e41[_0x24ab70(0x1bf)](),{'type':_0x38aa0d[_0x24ab70(0x1ef)],'list':_0x4baef7,'isAll':!0x1});}}for(const {field:_0x1b7904,selectedItems:_0x18278f}of _0x7a5a27||[]){const _0x138018=_0x23598b[_0x1b7904];if(_0x138018){const _0x30c5e6=_0x4874ae[_0x24ab70(0x122)](_0x138018,_0x15fa2a[_0x24ab70(0x1ac)]);_0x18278f&&_0x30c5e6&&_0x4874ae[_0x24ab70(0x2ad)](_0x30c5e6[_0x24ab70(0x1bf)](),{'type':_0x38aa0d[_0x24ab70(0x1ef)],'list':_0x18278f,'isAll':!0x1});}}for(const {field:_0x485cfc,selectedItems:_0x51dae8}of _0x120930||[]){const _0x464b97=_0x23598b[_0x485cfc];if(_0x464b97){const _0x1bd156=_0x4874ae[_0x24ab70(0x122)](_0x464b97,_0x15fa2a['Filter']);_0x51dae8&&_0x1bd156&&_0x4874ae[_0x24ab70(0x2ad)](_0x1bd156[_0x24ab70(0x1bf)](),{'type':_0x38aa0d[_0x24ab70(0x1ef)],'list':_0x51dae8,'isAll':!0x1});}}for(const {field:_0x3b70de,subTotalType:_0xbb81af,formatString:_0x10f785}of _0x5521ec||[]){const _0x1dfb19=_0x9b2273['getFieldById'](_0x23598b[_0x3b70de]);if(!_0x1dfb19)continue;const _0x4d83d0=_0x23598b[_0x3b70de];if(_0x4d83d0){const _0x47e84c=_0x4874ae[_0x24ab70(0x122)](_0x4d83d0,_0x15fa2a['Value']);if(_0x47e84c){if(_0xbb81af!==void 0x0){_0x4874ae[_0x24ab70(0x193)](_0x47e84c[_0x24ab70(0x1bf)](),_0xbb81af);const _0x586074=this[_0x24ab70(0x110)][_0x24ab70(0x120)](_0x2997fa[_0x24ab70(0x29e)])['getAutoDisplayNameFunction']()||_0x378dd7,_0x4c3ca8=_0x9b2273[_0x24ab70(0xab)](_0x4d83d0),_0xd6978e=_0x586074(_0x4c3ca8,_0xbb81af);_0x4874ae[_0x24ab70(0x18f)](_0x47e84c['getId'](),_0xd6978e);}else{if(_0x1dfb19){const _0x80937f=_0x1dfb19==null?void 0x0:_0x1dfb19[_0x24ab70(0x1dc)]();_0x4874ae['setSubtotalType'](_0x47e84c['getId'](),_0x80937f===_0x2c3379['number']?_0x165b02[_0x24ab70(0x2d8)]:_0x165b02[_0x24ab70(0x1a1)]);}}_0x10f785&&_0x4874ae[_0x24ab70(0xc9)](_0x47e84c[_0x24ab70(0x1bf)](),_0x10f785);}}}const _0x13a830=_0x4874ae[_0x24ab70(0x135)](),_0x5809b4=_0x4874ae[_0x24ab70(0x11f)](),_0x227d2d=_0x4874ae['isEmpty'](),_0x335d70=_0x4874ae[_0x24ab70(0x16c)](),_0x383927=_0x9b2273['toJSON']();_0x504827[_0x24ab70(0x1f1)]={'view':_0x13a830,'fieldsConfig':_0x5809b4,'collectionConfig':_0x383927,'isEmpty':_0x227d2d,'changesets':_0x335d70};}break;case A['DrillDown']:{const _0xa99597=ki(this[_0x24ab70(0x1a3)],_0x631cf7);if(!_0xa99597)return;const {range:_0x5ded5e,sourceSubUnitId:_0x2ea51d,sourceUnitId:_0x3f4cc6,formatMap:_0x1a6617,indexes:_0x447bd0}=_0xa99597;_0x504827[_0x24ab70(0x166)]={'range':_0x5ded5e,'sourceSubUnitId':_0x2ea51d,'sourceUnitId':_0x3f4cc6,'formatMap':_0x1a6617,'indexes':_0x447bd0};}break;}this[_0x24ab70(0x10f)][_0x24ab70(0x2c1)](lo['id'],{'version':_0x631cf7['version'],'result':_0x504827},{'onlyLocal':!0x0});}));}[_0x20fe61(0x293)](){const _0x553aac=_0x20fe61;this[_0x553aac(0xef)](this[_0x553aac(0x10f)]['onCommandExecuted'](_0x524edc=>{const _0x3d4ffb=_0x553aac;if(_0x524edc['id']!==uo['id'])return;const _0x2e211b=_0x524edc[_0x3d4ffb(0x183)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x2e211b['textInfo']),!0x0;}));}[_0x20fe61(0xee)](){const _0x127482=_0x20fe61;this[_0x127482(0x110)][_0x127482(0x1e3)][_0x127482(0x137)](_0x16c28a=>{const _0x34db04=_0x127482;switch(_0x16c28a[_0x34db04(0x202)]){case Be[_0x34db04(0xdf)]:_0x16c28a[_0x34db04(0x2de)]&&_0x16c28a['targetCellInfo']&&this['handleSourceRangeChange'](_0x16c28a[_0x34db04(0x21e)],_0x16c28a[_0x34db04(0x2de)],_0x16c28a[_0x34db04(0x2eb)]);break;case Be[_0x34db04(0xe8)]:{const {unitId:_0x217b6a,subUnitId:_0x20f83e,token:_0x4a74ad}=_0x16c28a;_0x217b6a&&_0x20f83e&&_0x4a74ad&&this[_0x34db04(0x223)](_0x217b6a,_0x20f83e,_0x4a74ad);}break;case Be[_0x34db04(0xa7)]:{const {token:_0x216a93,oldSourceRangeInfo:_0x48fb04,dataRangeInfo:_0x7a80d3,targetCellInfo:_0x2f1639}=_0x16c28a,{unitId:_0x3f499e,subUnitId:_0x17dd39}=_0x48fb04||{};_0x3f499e&&_0x17dd39&&_0x216a93&&this[_0x34db04(0x223)](_0x3f499e,_0x17dd39,_0x216a93),_0x7a80d3&&_0x2f1639&&this[_0x34db04(0x1e8)](_0x216a93,_0x7a80d3,_0x2f1639);}break;}});}[_0x20fe61(0x13b)](){const _0x38fa6b=_0x20fe61;this[_0x38fa6b(0x110)]['fieldsCollectionChange$'][_0x38fa6b(0x137)](_0x51d975=>{const _0x32eab5=_0x38fa6b;Object[_0x32eab5(0x2e4)](_0x51d975)[_0x32eab5(0x19a)](_0x5e6c90=>{const _0x32baf3=_0x32eab5,_0x2833d6=this[_0x32baf3(0x110)]['getTargetByPivotId'](_0x5e6c90);if(_0x2833d6){const _0x5698cb=this[_0x32baf3(0x110)]['getPivotTableConfig'](_0x2833d6==null?void 0x0:_0x2833d6[_0x32baf3(0x29e)],_0x2833d6==null?void 0x0:_0x2833d6['subUnitId'],_0x5e6c90);_0x5698cb&&(this[_0x32baf3(0x1e8)](_0x5e6c90,_0x5698cb['sourceRangeInfo'],_0x5698cb[_0x32baf3(0x2eb)]),this[_0x32baf3(0x2ed)]([{'unitId':_0x2833d6['unitId'],'subUnitId':_0x2833d6[_0x32baf3(0x10a)],'token':_0x5e6c90}]));}});});}[_0x20fe61(0x1b7)](){const _0x2623c3=_0x20fe61;this[_0x2623c3(0x110)]['viewData$'][_0x2623c3(0x137)](_0x4cb146=>{const _0x27bb59=_0x2623c3,{unitId:_0xa2751b,subUnitId:_0x3e0a89,pivotTableId:_0x336a10}=_0x4cb146;_0xa2751b&&_0x3e0a89&&_0x336a10&&this[_0x27bb59(0x2ed)]([{'unitId':_0xa2751b,'subUnitId':_0x3e0a89,'token':_0x336a10}]);});}[_0x20fe61(0x2ed)](_0x32bb7e){const _0x23eaab=_0x20fe61,_0xde4c06={};_0x32bb7e[_0x23eaab(0x19a)](_0x1bb9f2=>{var _0x3104d7,_0x163832;const {unitId:_0x2a59ec,subUnitId:_0x4d2d54,token:_0x46ac5b}=_0x1bb9f2;_0xde4c06[_0x2a59ec]=(_0x3104d7=_0xde4c06[_0x2a59ec])!=null?_0x3104d7:{},_0xde4c06[_0x2a59ec][_0x4d2d54]=(_0x163832=_0xde4c06[_0x2a59ec][_0x4d2d54])!=null?_0x163832:{},_0xde4c06[_0x2a59ec][_0x4d2d54][_0x46ac5b]=!0x0;}),this[_0x23eaab(0x10f)][_0x23eaab(0x2c1)](Ut['id'],_0xde4c06);}[_0x20fe61(0x223)](_0x22c5cd,_0x29ac7e,_0x3b4d0b){const _0x402837=_0x20fe61;this[_0x402837(0x2ff)][_0x402837(0xff)](_0x22c5cd,_0x29ac7e,[_0x3b4d0b]);}[_0x20fe61(0x1e8)](_0x575058,_0x34d8f8,_0x2eb3fc){const _0x21a06f=_0x20fe61,{unitId:_0x32849b,subUnitId:_0x21c449}=_0x34d8f8;this['_featureCalculationManagerService'][_0x21a06f(0x296)](_0x2eb3fc[_0x21a06f(0x29e)],_0x2eb3fc['subUnitId'],_0x575058)&&this[_0x21a06f(0x223)](_0x32849b,_0x21c449,_0x575058);const _0x525eda={'sheetId':_0x21c449,..._0x34d8f8};this[_0x21a06f(0x2ff)][_0x21a06f(0x20a)](_0x2eb3fc[_0x21a06f(0x29e)],_0x2eb3fc[_0x21a06f(0x10a)],_0x575058,{'unitId':_0x2eb3fc[_0x21a06f(0x29e)],'subUnitId':_0x2eb3fc[_0x21a06f(0x10a)],'dependencyRanges':[_0x525eda],'getDirtyData':(_0x15ba60,_0x56a8c2)=>{const _0x5cc769=_0x21a06f,_0x12d680=this[_0x5cc769(0x110)],_0x435c9d=_0x12d680[_0x5cc769(0x26a)](_0x575058);if(!_0x435c9d)return Vs();const {unitId:_0x56f4e8,subUnitId:_0x5aaa1d}=_0x435c9d,_0x3ce30f=xs(_0x15ba60,_0x56a8c2,_0x34d8f8);if(_0x3ce30f[_0x5cc769(0x19f)]>0x0){const _0x46a3ba=_0x12d680[_0x5cc769(0x295)](_0x32849b,_0x575058),_0x3990b4=_0x46a3ba[_0x5cc769(0x265)](),_0x460fe2=this[_0x5cc769(0x154)](_0x34d8f8[_0x5cc769(0x29e)],_0x34d8f8[_0x5cc769(0x10a)],_0x56a8c2),_0x5d7eda={},_0x5e5404=this[_0x5cc769(0x110)]['getDataFieldManager'](_0x56f4e8)[_0x5cc769(0x2e1)]()||_0x378dd7,_0x675c9a=[];for(const _0x4dbd3a of _0x3ce30f){const _0x23b3e1=_0x4dbd3a-(_0x34d8f8['range']['startColumn']||0x0),_0x244393=_0x3990b4[_0x23b3e1];_0x675c9a['push'](_0x244393),_0x5d7eda[_0x244393]=_0x46a3ba[_0x5cc769(0x20b)](_0x244393)[_0x5cc769(0x12f)](),_0x12d680[_0x5cc769(0x120)](_0x32849b)['refreshDataField'](_0x244393,_0x34d8f8,_0x23b3e1,_0x460fe2);}_0x46a3ba['getGroupFieldsInfoByIds'](_0x675c9a)[_0x5cc769(0x19a)](_0x360c33=>{const _0x3788e9=_0x5cc769,[_0x422d68,_0x5a540a]=_0x360c33,_0x246a95=_0x46a3ba['getFieldById'](_0x422d68),_0x3c22ec=_0x46a3ba['getFieldById'](_0x5a540a);_0x246a95&&_0x3c22ec&&_0x246a95[_0x3788e9(0x2e8)](_0x3c22ec);}),_0x46a3ba[_0x5cc769(0x100)]();const _0x2f6d99=_0x12d680[_0x5cc769(0x2fc)](_0x575058);if(_0x2f6d99){Es(_0x2f6d99,_0x5d7eda,_0x5e5404),_0x2f6d99[_0x5cc769(0x161)](!0x0);const _0x3cb728=_0x2f6d99[_0x5cc769(0x135)](),_0x235658=_0x12d680['getPivotTableConfig'](_0x56f4e8,_0x5aaa1d,_0x575058),_0x255c04=_0x12d680[_0x5cc769(0x120)](_0x32849b)[_0x5cc769(0x11f)]();_0x12d680[_0x5cc769(0x2a8)](_0x56f4e8,_0x5aaa1d,L[_0x5cc769(0x149)],_0x575058,_0x3cb728,_0x235658,_0x255c04,!0x0);}}return this[_0x5cc769(0xbf)](_0x56f4e8,_0x5aaa1d,_0x575058);}});}[_0x20fe61(0x154)](_0x131eb4,_0x45bc61,_0x51c855){var _0x2affae,_0x4f5791;const {arrayFormulaCellData:_0x3ee4f0,unitData:_0x31a94b}=_0x51c855,_0x107f53=(_0x2affae=_0x3ee4f0==null?void 0x0:_0x3ee4f0[_0x131eb4])==null?void 0x0:_0x2affae[_0x45bc61],_0x133615=(_0x4f5791=_0x31a94b==null?void 0x0:_0x31a94b[_0x131eb4])==null?void 0x0:_0x4f5791[_0x45bc61];return{'arrayFormulaCellDataMatrix':_0x107f53,'unitDataMatrix':_0x133615};}[_0x20fe61(0xbf)](_0x51c5ad,_0x25bc6d,_0x1ce2c9){const _0x5977d4=_0x20fe61,_0x2e4709=this['_sheetsPivotDataSourceModel'][_0x5977d4(0x180)](_0x51c5ad,_0x25bc6d,_0x1ce2c9),_0x1c0902=[],_0x3a9119=new _0x47b566();if(_0x2e4709){const {rangeCache:_0x544ea0,matrix:_0x5a9edd,oldRangeCache:_0x2d4763,oldMatrix:_0x2ef729}=_0x2e4709,_0x4516d5=Lt(_0x2d4763),_0x44c187=Lt(_0x544ea0);_0x1c0902[_0x5977d4(0xc4)](..._0x44c187,..._0x4516d5),_0x2ef729&&_0x2d4763&&_0x4516d5[_0x5977d4(0x19a)](_0x5a72a7=>{const _0x52ba22=_0x5977d4;for(let _0x377d1f=_0x5a72a7['startRow'];_0x377d1f<=_0x5a72a7[_0x52ba22(0x1d9)];_0x377d1f++)for(let _0x3d4836=_0x5a72a7[_0x52ba22(0x2dd)];_0x3d4836<=_0x5a72a7[_0x52ba22(0x24f)];_0x3d4836++)_0x3a9119['realDeleteValue'](_0x377d1f,_0x3d4836);}),_0x5a9edd&&_0x44c187&&_0x44c187[_0x5977d4(0x19a)](_0x53e71f=>{const _0x37641a=_0x5977d4;for(let _0x4f1729=_0x53e71f[_0x37641a(0x210)];_0x4f1729<=_0x53e71f[_0x37641a(0x1d9)];_0x4f1729++)for(let _0x27dcbf=_0x53e71f['startColumn'];_0x27dcbf<=_0x53e71f[_0x37641a(0x24f)];_0x27dcbf++)_0x3a9119['setValue'](_0x4f1729,_0x27dcbf,_0x5a9edd[_0x37641a(0x21f)](_0x4f1729,_0x27dcbf));});}const _0x18e74a={};return _0x18e74a[_0x51c5ad]={[_0x25bc6d]:Os(_0x1c0902)},{'runtimeCellData':{[_0x51c5ad]:{[_0x25bc6d]:_0x3a9119}},'dirtyRanges':_0x18e74a};}[_0x20fe61(0x164)](){}};ct=Us([Ke(0x0,_0x3b120b(q)),Ke(0x1,_0x45b506),Ke(0x2,_0x3b120b(_0x32603e)),Ke(0x3,_0x3b120b(_0x1ad572)),Ke(0x4,_0x3b120b(_0x77e3c2)),Ke(0x5,_0x3b120b(_0x4a0d8a))],ct);var ks=Object[_0x20fe61(0x16f)],As=(_0x27c356,_0x1e8bd6,_0x1da691,_0x3ce8e3)=>{for(var _0x53fc40=_0x3ce8e3>0x1?void 0x0:_0x3ce8e3?ks(_0x1e8bd6,_0x1da691):_0x1e8bd6,_0x30fe44=_0x27c356['length']-0x1,_0x4b83fb;_0x30fe44>=0x0;_0x30fe44--)(_0x4b83fb=_0x27c356[_0x30fe44])&&(_0x53fc40=_0x4b83fb(_0x53fc40)||_0x53fc40);return _0x53fc40;},_t=(_0x2cbe4a,_0xd576ec)=>(_0xa8f379,_0x4e6d65)=>_0xd576ec(_0xa8f379,_0x4e6d65,_0x2cbe4a);let dt=class extends _0xf1ed36{constructor(_0x13d73,_0x1694da,_0x70dfd2,_0x5957e0){const _0x50b3b4=_0x20fe61;super(),V(this,_0x50b3b4(0xc6),new _0x3bf5a3()),(this[_0x50b3b4(0x260)]=_0x13d73,this[_0x50b3b4(0x160)]=_0x1694da,this['_sheetsSelectionsService']=_0x70dfd2,this[_0x50b3b4(0x1cf)]=_0x5957e0,this[_0x50b3b4(0xa8)]());}[_0x20fe61(0xa8)](){const _0x382d4d=_0x20fe61;this[_0x382d4d(0xef)](this[_0x382d4d(0x160)][_0x382d4d(0xf8)]({'getMutations':_0x218432=>{const _0xd2f064=_0x382d4d;if(_0x218432['id']===_0x4609be['id']||_0x218432['id']===_0x588190['id']){const _0xa0de83=[],_0x338c7e=[],_0x4e97aa=this['_sheetsSelectionsService']['getCurrentSelections']()[_0xd2f064(0x1eb)](_0x592aa5=>_0x592aa5[_0xd2f064(0x152)]),_0x38cd6c=_0x5848f2(this[_0xd2f064(0x260)]);if(!_0x38cd6c)return{'redos':[],'undos':[]};const {unitId:_0x3a4b8c,subUnitId:_0x2b881a}=_0x38cd6c,_0x3aa6ff={},_0x177b1d=this[_0xd2f064(0x1cf)][_0xd2f064(0xbd)](_0x3a4b8c,_0x2b881a);if(_0x177b1d!=null&&_0x177b1d[_0xd2f064(0x1a7)])for(const [_0x2337ce,_0x7b8445]of _0x177b1d){const {unitId:_0x48a95d,subUnitId:_0x374cdd,row:_0x25bc08,col:_0x52e1fa}=_0x7b8445[_0xd2f064(0x2eb)];_0x48a95d===_0x38cd6c['unitId']&&_0x374cdd===_0x38cd6c[_0xd2f064(0x10a)]&&(_0x3aa6ff[_0x25bc08+'-'+_0x52e1fa]=_0x2337ce);}return _0x4e97aa&&_0x38cd6c&&_0x4e97aa[_0xd2f064(0x19a)](_0x29cb98=>{const _0x1fb033=_0xd2f064;_0x42b36f[_0x1fb033(0x17c)](_0x29cb98,(_0x515d32,_0x5457ad)=>{const _0x2c3f65=_0x1fb033,_0x383dd5=_0x515d32+'-'+_0x5457ad;if(_0x3aa6ff[_0x383dd5]){const _0x2ecdc2=_0x3aa6ff[_0x383dd5];_0xa0de83[_0x2c3f65(0xc4)]({'id':xt['id'],'params':{'unitId':_0x3a4b8c,'subUnitId':_0x2b881a,'pivotTableId':_0x2ecdc2}});const _0x1ea0ab=this['_sheetsPivotTableConfigModel']['getCollection'](_0x3a4b8c,_0x2ecdc2),_0x5f37a4=this[_0x2c3f65(0x1cf)][_0x2c3f65(0xec)](_0x3a4b8c,_0x2b881a,_0x2ecdc2);_0x338c7e[_0x2c3f65(0xc4)]({'id':Ct['id'],'params':{'unitId':_0x3a4b8c,'subUnitId':_0x2b881a,'pivotTableId':_0x2ecdc2,'pivotTableConfig':_0x5f37a4,'collectionConfig':_0x1ea0ab}});}});}),{'redos':_0xa0de83,'undos':_0x338c7e};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x191739),_t(0x1,_0x3b120b(_0x3016d1)),_t(0x2,_0x3b120b(_0x13f15b)),_t(0x3,_0x3b120b(he))],dt);var Ws=Object[_0x20fe61(0x16f)],Bs=(_0x4efb51,_0x56b6b6,_0x2a062c,_0x17096e)=>{const _0x39d04e=_0x20fe61;for(var _0x3701c0=_0x17096e>0x1?void 0x0:_0x17096e?Ws(_0x56b6b6,_0x2a062c):_0x56b6b6,_0x2a2011=_0x4efb51[_0x39d04e(0x19f)]-0x1,_0x3c4510;_0x2a2011>=0x0;_0x2a2011--)(_0x3c4510=_0x4efb51[_0x2a2011])&&(_0x3701c0=_0x3c4510(_0x3701c0)||_0x3701c0);return _0x3701c0;},ze=(_0x31f909,_0x117ecf)=>(_0x31d27a,_0x418b90)=>_0x117ecf(_0x31d27a,_0x418b90,_0x31f909);let ut=class extends _0xf1ed36{constructor(_0x25f00a,_0x2fffad,_0x59cac7,_0x175b66,_0x415b19,_0x4a5db1){const _0x2c376f=_0x20fe61;super(),this[_0x2c376f(0xfe)]=_0x25f00a,this['_sheetInterceptorService']=_0x2fffad,this[_0x2c376f(0x1a3)]=_0x59cac7,this[_0x2c376f(0x260)]=_0x175b66,this[_0x2c376f(0x1cf)]=_0x415b19,this[_0x2c376f(0x10d)]=_0x4a5db1,this['_initCommandInterceptListener']();}[_0x20fe61(0x23e)](_0x2b55cf,_0x32b94d,_0x889dbb){const _0x28f5af=_0x20fe61,{pageView:_0xb021a0,cornerView:_0x1a2b63,rowView:_0x4e8a61,colView:_0x59e5ce,dataView:_0x24a9f7}=_0x32b94d,_0x4d05cb=_0x2b55cf;let _0x4c8501;if(_0x889dbb)_0x4c8501=[...Ai(_0x4d05cb)];else{const _0x437d6a=ge(_0x4d05cb,_0xb021a0,!0x0),_0x543cec=_0xb021a0[_0x28f5af(0x19d)]>=0x0?_0xb021a0['lastRow']+0x1:0x0,_0x4e5279=_0x1a2b63[_0x28f5af(0x192)],_0x1b32eb=_0x1a2b63[_0x28f5af(0xae)],_0x4d9bf6=_0x437d6a['length']>0x0?It:0x0,_0x30d469=ge({'row':_0x4d05cb['row']+_0x543cec+_0x4d9bf6,'col':_0x4d05cb['col']},_0x1a2b63,!0x1,!0x1),_0x52f2e8=ge({'row':_0x4d05cb['row']+_0x543cec+_0x4d9bf6+_0x4e5279,'col':_0x4d05cb[_0x28f5af(0x2fa)]},_0x4e8a61,!0x1,!0x0),_0x429aeb=ge({'row':_0x4d05cb[_0x28f5af(0x28d)]+_0x543cec+_0x4d9bf6,'col':_0x4d05cb['col']+_0x1b32eb},_0x59e5ce,!0x1,!0x0),_0x1a0d9a=ge({'row':_0x4d05cb[_0x28f5af(0x28d)]+_0x543cec+_0x4d9bf6+_0x4e5279,'col':_0x4d05cb['col']+_0x1b32eb},_0x24a9f7,!0x1,!0x0);_0x4c8501=[..._0x437d6a,..._0x30d469,..._0x52f2e8,..._0x429aeb,..._0x1a0d9a];}return _0x4c8501;}[_0x20fe61(0x105)](){const _0x49ecc4=_0x20fe61;this[_0x49ecc4(0xef)](this[_0x49ecc4(0x10d)][_0x49ecc4(0xc0)][_0x49ecc4(0xd5)](this[_0x49ecc4(0x10d)][_0x49ecc4(0xc0)][_0x49ecc4(0x282)]()[_0x49ecc4(0x195)],{'handler':(_0x631e09,_0x317fc4)=>{const _0x42386a=_0x49ecc4,{cellInfo:_0x39e6d7,view:_0x40032d,isEmpty:_0x5dc97f}=_0x317fc4,_0x701e10=_0x39e6d7,{unitId:_0x57899a,subUnitId:_0xd3782f}=_0x701e10,_0x5b64fc=this['_getPivotAppliedRanges'](_0x39e6d7,_0x40032d,_0x5dc97f),_0x41bc58=this['_sheetInterceptorService'][_0x42386a(0x156)]({'unitId':_0x57899a,'subUnitId':_0xd3782f,'ranges':_0x5b64fc}),_0x5b482a=Ko(this[_0x42386a(0x1a3)],_0x57899a,_0xd3782f,_0x5b64fc);_0x5b482a['shouldClear']&&(_0x41bc58[_0x42386a(0x2c4)][_0x42386a(0xc4)](_0x5b482a[_0x42386a(0x2cb)]),_0x41bc58[_0x42386a(0x1f5)][_0x42386a(0xc4)](_0x5b482a[_0x42386a(0x1c8)]));const _0x3fcb0c=this['getAutoFitColumnsMutations'](_0x40032d,_0x39e6d7);return _0x41bc58[_0x42386a(0x2c4)][_0x42386a(0xc4)](..._0x3fcb0c[_0x42386a(0x2c4)]),_0x41bc58[_0x42386a(0x1f5)][_0x42386a(0xc4)](..._0x3fcb0c[_0x42386a(0x1f5)]),{'redos':_0x41bc58[_0x42386a(0x2c4)],'undos':_0x41bc58[_0x42386a(0x1f5)]};}}));}['getAutoFitColumnsMutations'](_0x8ecb2,_0x4473b6){const _0x462926=_0x20fe61,{col:_0x3fb158,unitId:_0xf037c4,subUnitId:_0x4e65f4}=_0x4473b6,_0x461324=[],_0x191d3c=[],_0x4b2e97=_0x5848f2(this[_0x462926(0x260)],{'unitId':_0xf037c4,'subUnitId':_0x4e65f4});if(!_0x4473b6||!_0x8ecb2||!_0x4b2e97)return{'undos':_0x191d3c,'redos':_0x461324};const _0x35e08b=this[_0x462926(0x1cf)]['getTextInfo'](),{colView:_0x4a6cf8,dataView:_0x30f38d,cornerView:_0x31936e,rowView:_0x426f4d,formatMap:_0x314ba4}=_0x8ecb2,_0x55f157=To(_0x4a6cf8,_0x35e08b,!0x0,_0x314ba4),_0x11a009=To(_0x426f4d,_0x35e08b,!0x1,_0x314ba4),_0x52985a=Li(_0x30f38d),_0x109f48=qi(_0x31936e),{worksheet:_0x186761}=_0x4b2e97;if(typeof window<'u'&&window['document']){const _0x1764c1=_0x5ac0bb({...fe['colStyle']}),_0x193f4d=_0x253dec['getTextSize'](_0x55f157,_0x1764c1)[_0x462926(0x18d)]+0x10,_0x40d5d0=_0x253dec['getTextSize'](_0x52985a,_0x1764c1)['width'],_0x1b12ec=Math[_0x462926(0x2f7)](Math[_0x462926(0x246)](_0x193f4d,_0x40d5d0))+0x10,_0x167eba=Math[_0x462926(0x2f7)](_0x253dec[_0x462926(0x20e)](_0x11a009,_0x1764c1)[_0x462926(0x18d)]),_0x2ed3b6=Math[_0x462926(0x2f7)](_0x253dec[_0x462926(0x20e)](_0x109f48,_0x1764c1)[_0x462926(0x18d)]),_0x4f3b1e=Math[_0x462926(0x246)](_0x167eba,_0x2ed3b6,0x28)+0xc,_0x55adcf=_0x4a6cf8['colCount']+_0x31936e[_0x462926(0xae)],_0x19fa69={},_0x11bd11={};for(let _0x2af70b=_0x3fb158;_0x2af70b<_0x3fb158+_0x55adcf;_0x2af70b++){const _0x58cb47=_0x186761['getColumnWidth'](_0x2af70b);_0x19fa69[_0x2af70b]=_0x58cb47,_0x2af70b-_0x3fb158<_0x31936e[_0x462926(0xae)]?_0x11bd11[_0x2af70b-_0x3fb158]=_0x4f3b1e:_0x11bd11[_0x2af70b-_0x3fb158]=_0x1b12ec;}_0x461324['push']({'id':_0x478fd8['id'],'params':{'subUnitId':_0x4e65f4,'unitId':_0xf037c4,'ranges':[{'startColumn':_0x3fb158,'endColumn':_0x3fb158+_0x55adcf-0x1,'startRow':0x0,'endRow':_0x186761[_0x462926(0xa6)]()-0x1}],'colWidth':_0x11bd11}}),_0x191d3c[_0x462926(0xc4)]({'id':_0x478fd8['id'],'params':{'subUnitId':_0x4e65f4,'unitId':_0xf037c4,'ranges':[{'startColumn':_0x3fb158,'endColumn':_0x3fb158+_0x55adcf-0x1,'startRow':0x0,'endRow':_0x186761[_0x462926(0xa6)]()-0x1}],'colWidth':_0x19fa69}});}return{'undos':_0x191d3c,'redos':_0x461324};}};ut=Bs([ze(0x0,_0x3b120b(_0x27fdf8)),ze(0x1,_0x3b120b(_0x3016d1)),ze(0x2,_0x3b120b(_0x4a0d8a)),ze(0x3,_0x3b120b(_0x191739)),ze(0x4,_0x3b120b(he)),ze(0x5,_0x3b120b(ie))],ut);var Ls=Object['getOwnPropertyDescriptor'],qs=(_0x4db561,_0x2a0a19,_0x4afb2c,_0x649344)=>{const _0x5e11a5=_0x20fe61;for(var _0x3d5db1=_0x649344>0x1?void 0x0:_0x649344?Ls(_0x2a0a19,_0x4afb2c):_0x2a0a19,_0x2ca7b8=_0x4db561[_0x5e11a5(0x19f)]-0x1,_0x20d4c1;_0x2ca7b8>=0x0;_0x2ca7b8--)(_0x20d4c1=_0x4db561[_0x2ca7b8])&&(_0x3d5db1=_0x20d4c1(_0x3d5db1)||_0x3d5db1);return _0x3d5db1;},Ae=(_0x3e7356,_0x44617a)=>(_0x248bca,_0x1c8f7a)=>_0x44617a(_0x248bca,_0x1c8f7a,_0x3e7356);let ft=class extends _0xf1ed36{constructor(_0x2bb7e3,_0x1f05d6,_0x134d9c,_0x25a82b,_0x193357,_0x3e8c79,_0x4e6005){const _0x1eb25a=_0x20fe61;super(),V(this,'disposableCollection',new _0x3bf5a3()),(this[_0x1eb25a(0x1a3)]=_0x2bb7e3,this[_0x1eb25a(0x14b)]=_0x1f05d6,this[_0x1eb25a(0x10f)]=_0x134d9c,this[_0x1eb25a(0x260)]=_0x25a82b,this[_0x1eb25a(0x1cf)]=_0x193357,this[_0x1eb25a(0xf1)]=_0x3e8c79,this[_0x1eb25a(0x160)]=_0x4e6005,this[_0x1eb25a(0x253)]());}[_0x20fe61(0x253)](){const _0x2f4574=_0x20fe61,_0x28ba52=(_0x31dbd1,_0x46a8bd)=>{const _0x5f166b=_0x24f7,_0x12f3b3=this[_0x5f166b(0x260)][_0x5f166b(0x21d)](_0x4f12fd[_0x5f166b(0x126)]);if(!_0x12f3b3||!(_0x12f3b3==null?void 0x0:_0x12f3b3[_0x5f166b(0x28e)](_0x46a8bd)))return;this[_0x5f166b(0xc6)]['dispose']();const _0x5aee14=_0xb2ea16=>this[_0x5f166b(0x316)](_0xb2ea16,_0x31dbd1,_0x46a8bd),_0x4c38f6=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x31dbd1,_0x46a8bd);if(!(_0x4c38f6!=null&&_0x4c38f6[_0x5f166b(0x1a7)]))return;Array[_0x5f166b(0x104)](_0x4c38f6[_0x5f166b(0x119)]())[_0x5f166b(0x1eb)](_0x1eca5c=>{const _0xe07272=_0x5f166b,{row:_0x1910f9,col:_0x2c3a57}=_0x1eca5c[_0xe07272(0x2eb)];return _0x1ceb49(_0x1910f9,_0x2c3a57);})[_0x5f166b(0x19a)](_0x166421=>{const _0x5c6efe=_0x5f166b;this['disposableCollection']['add'](this[_0x5c6efe(0x14b)]['registerRefRange'](_0x166421,_0x5aee14,_0x31dbd1,_0x46a8bd));});},_0x3ec03e=()=>{const _0x33054a=_0x24f7,_0x36d5b7=this['_univerInstanceService'][_0x33054a(0x21d)](_0x4f12fd['UNIVER_SHEET']);if(_0x36d5b7){const _0x2d88f1=_0x36d5b7['getActiveSheet']();if(!_0x2d88f1)return;_0x28ba52(_0x36d5b7['getUnitId'](),_0x2d88f1[_0x33054a(0x2e9)]());}};this['disposeWithMe'](this['_commandService'][_0x2f4574(0x2ec)](_0x2b36fd=>{const _0x111ed6=_0x2f4574;if(_0x2b36fd['id']===_0x4ab194['id']){const _0x431b91=_0x2b36fd[_0x111ed6(0x183)],_0x6cb783=_0x431b91['subUnitId'],_0x5ea990=_0x431b91[_0x111ed6(0x29e)];if(!_0x6cb783||!_0x5ea990)return;_0x28ba52(_0x5ea990,_0x6cb783);}})),this['disposeWithMe'](this[_0x2f4574(0x1cf)][_0x2f4574(0x13e)][_0x2f4574(0x137)](_0x3f4bd4=>{_0x3f4bd4&&_0x3ec03e();})),this[_0x2f4574(0xef)](this['_sheetsPivotTableConfigModel'][_0x2f4574(0xd2)][_0x2f4574(0x137)](_0x498a47=>{const _0x1d7f23=_0x5848f2(this['_univerInstanceService']);if(!_0x1d7f23)return;const {unitId:_0x27828f,subUnitId:_0x52a8bf}=_0x1d7f23,{unitId:_0x31e786,subUnitId:_0x97e9f0}=_0x498a47;_0x27828f!==_0x31e786||_0x52a8bf!==_0x97e9f0||_0x28ba52(_0x27828f,_0x52a8bf);})),_0x3ec03e();}['_refRangeHandle'](_0xcec250,_0x29f6b5,_0x3c4eb5){const _0x368241=_0x20fe61;switch(_0xcec250['id']){case _0x4dd952['id']:return this['getRefRangeMutationsByMoveRange'](_0xcec250[_0x368241(0x183)],_0x29f6b5,_0x3c4eb5);}return{'redos':[],'undos':[]};}[_0x20fe61(0x2df)](_0x4103ff,_0x3185a9,_0x563c2e){const _0x5ce888=_0x20fe61,{fromRange:_0x3d5e2d,toRange:_0x5e520d}=_0x4103ff,_0x19b54e=[],_0x2dd6e6=[],_0x1a98d8=_0x5848f2(this[_0x5ce888(0x260)]);if(!_0x1a98d8)return{'undos':_0x2dd6e6,'redos':_0x19b54e};if(_0x3185a9!==_0x1a98d8[_0x5ce888(0x29e)]||_0x563c2e!==_0x1a98d8[_0x5ce888(0x10a)])return{'undos':_0x2dd6e6,'redos':_0x19b54e};const _0x27a3a3=this[_0x5ce888(0x1cf)][_0x5ce888(0xbd)](_0x3185a9,_0x563c2e);if(_0x27a3a3!=null&&_0x27a3a3[_0x5ce888(0x1a7)])for(const [_0x30da2f,_0x5d0958]of _0x27a3a3){const {unitId:_0x30cc8e,subUnitId:_0x4c971e,row:_0x2ba5df,col:_0x2200bc}=_0x5d0958[_0x5ce888(0x2eb)];if(_0x30cc8e===_0x1a98d8[_0x5ce888(0x29e)]&&_0x4c971e===_0x1a98d8['subUnitId']){const _0x5c78e8=_0x1ceb49(_0x2ba5df,_0x2200bc);if(_0x5d8cb0[_0x5ce888(0x165)](_0x5c78e8,_0x3d5e2d)){const _0x26a820=_0x2ba5df-_0x3d5e2d['startRow'],_0x43c97e=_0x2200bc-_0x3d5e2d[_0x5ce888(0x2dd)],_0x4bbba3={'row':_0x5e520d[_0x5ce888(0x210)]+_0x26a820,'col':_0x5e520d['startColumn']+_0x43c97e};_0x19b54e[_0x5ce888(0xc4)]({'id':pt['id'],'params':{'unitId':_0x30cc8e,'subUnitId':_0x4c971e,'pivotTableId':_0x30da2f,'targetCellPosition':_0x4bbba3}}),_0x2dd6e6[_0x5ce888(0xc4)]({'id':pt['id'],'params':{'unitId':_0x30cc8e,'subUnitId':_0x4c971e,'pivotTableId':_0x30da2f,'targetCellPosition':{'row':_0x2ba5df,'col':_0x2200bc}}});const _0x39c5ae=_0x4bbba3[_0x5ce888(0x28d)]-_0x2ba5df,_0xdea79b=_0x4bbba3['col']-_0x2200bc,_0x5f4dcb=[],_0x53f70b=this['_sheetsPivotTableAdaptorModel'][_0x5ce888(0x22b)](_0x30cc8e,_0x4c971e,_0x30da2f),_0x2b7084=_0x53f70b==null?void 0x0:_0x53f70b[_0x5ce888(0x239)];if(_0x2b7084){Object['keys'](_0x2b7084)[_0x5ce888(0x19a)](_0x2dd1b5=>{_0x2b7084[_0x2dd1b5]['forEach'](_0x1abaf1=>{const _0x191d78=_0x24f7,_0x4016c3={..._0x1abaf1};_0x4016c3[_0x191d78(0x210)]=_0x1abaf1[_0x191d78(0x210)]+_0x39c5ae,_0x4016c3['endRow']=_0x1abaf1[_0x191d78(0x1d9)]+_0x39c5ae,_0x4016c3[_0x191d78(0x2dd)]=_0x1abaf1[_0x191d78(0x2dd)]+_0xdea79b,_0x4016c3[_0x191d78(0x24f)]=_0x1abaf1['endColumn']+_0xdea79b,_0x5f4dcb['push'](_0x4016c3);});});const _0x512fd9=this[_0x5ce888(0x160)][_0x5ce888(0x156)]({'unitId':_0x30cc8e,'subUnitId':_0x4c971e,'ranges':_0x5f4dcb});_0x19b54e['push'](..._0x512fd9['redos']),_0x2dd6e6[_0x5ce888(0xc4)](..._0x512fd9[_0x5ce888(0x1f5)]);const _0x470097=Ko(this[_0x5ce888(0x1a3)],_0x30cc8e,_0x4c971e,_0x5f4dcb);_0x470097['shouldClear']&&(_0x19b54e['push'](_0x470097['setRangeValueRedoMutation']),_0x2dd6e6['push'](_0x470097[_0x5ce888(0x1c8)]));}}}}return{'redos':_0x19b54e,'undos':_0x2dd6e6};}};ft=qs([Ae(0x0,_0x3b120b(_0x4a0d8a)),Ae(0x1,_0x3b120b(_0x480434)),Ae(0x2,_0x1ad572),Ae(0x3,_0x191739),Ae(0x4,_0x3b120b(he)),Ae(0x5,_0x3b120b(Ne)),Ae(0x6,_0x3b120b(_0x3016d1))],ft);var $s=Object[_0x20fe61(0x16f)],Gs=(_0x51bae6,_0x5318d0,_0x490319,_0x5d7baf)=>{const _0x37328d=_0x20fe61;for(var _0x3026e8=_0x5d7baf>0x1?void 0x0:_0x5d7baf?$s(_0x5318d0,_0x490319):_0x5318d0,_0x2baad5=_0x51bae6[_0x37328d(0x19f)]-0x1,_0x5361d4;_0x2baad5>=0x0;_0x2baad5--)(_0x5361d4=_0x51bae6[_0x2baad5])&&(_0x3026e8=_0x5361d4(_0x3026e8)||_0x3026e8);return _0x3026e8;},_o=(_0x2943c5,_0x16d83f)=>(_0x4ada6f,_0x6808c2)=>_0x16d83f(_0x4ada6f,_0x6808c2,_0x2943c5);let gt=class extends _0xf1ed36{constructor(_0x472738,_0x52caca){const _0x1ac93b=_0x20fe61;super(),this[_0x1ac93b(0x160)]=_0x472738,this[_0x1ac93b(0x1cf)]=_0x52caca,this[_0x1ac93b(0x2c0)]();}['_initRemoveSheetCommandInterceptor'](){const _0x345181=_0x20fe61;this[_0x345181(0xef)](this[_0x345181(0x160)][_0x345181(0xf8)]({'getMutations':_0x440010=>{const _0x32f535=_0x345181;if(_0x440010['id']===_0x1629ad['id']){const _0x236433=[],_0x5131e3=[],_0x4946b5=_0x440010[_0x32f535(0x183)],{unitId:_0x44240c,subUnitId:_0x3e45bd}=_0x4946b5;if(!_0x44240c||!_0x3e45bd)return{'undos':_0x5131e3,'redos':_0x236433};const _0x129b6d=this[_0x32f535(0x1cf)][_0x32f535(0xbd)](_0x44240c,_0x3e45bd);if(_0x129b6d!=null&&_0x129b6d['size'])for(const [_0x4bb82d,_0x16b871]of _0x129b6d){_0x236433[_0x32f535(0xc4)]({'id':xt['id'],'params':{'unitId':_0x44240c,'subUnitId':_0x3e45bd,'pivotTableId':_0x4bb82d}});const _0x340f2c={...this[_0x32f535(0x1cf)]['getCollection'](_0x44240c,_0x4bb82d)};_0x5131e3[_0x32f535(0xc4)]({'id':Ct['id'],'params':{'unitId':_0x44240c,'subUnitId':_0x3e45bd,'pivotTableId':_0x4bb82d,'pivotTableConfig':_0x16b871,'collectionConfig':_0x340f2c}});}return{'redos':_0x236433,'undos':_0x5131e3};}return{'redos':[],'undos':[]};}}));}};gt=Gs([_o(0x0,_0x3b120b(_0x3016d1)),_o(0x1,_0x3b120b(he))],gt);var Js=Object[_0x20fe61(0x16f)],js=(_0x537d9e,_0x2fee5f,_0x111895,_0x10f731)=>{const _0x547622=_0x20fe61;for(var _0x2b150b=_0x10f731>0x1?void 0x0:_0x10f731?Js(_0x2fee5f,_0x111895):_0x2fee5f,_0x570554=_0x537d9e[_0x547622(0x19f)]-0x1,_0x220445;_0x570554>=0x0;_0x570554--)(_0x220445=_0x537d9e[_0x570554])&&(_0x2b150b=_0x220445(_0x2b150b)||_0x2b150b);return _0x2b150b;},He=(_0x2359e0,_0x2d6745)=>(_0x5efe64,_0x55deac)=>_0x2d6745(_0x5efe64,_0x55deac,_0x2359e0);let vt=class extends _0xf1ed36{constructor(_0x58a212,_0x387b88,_0x4c9df1,_0x2eeb36,_0x2ea0da,_0xfcd40c){const _0x25dc1c=_0x20fe61;super(),this[_0x25dc1c(0x10f)]=_0x58a212,this[_0x25dc1c(0x12a)]=_0x387b88,this[_0x25dc1c(0xf1)]=_0x4c9df1,this[_0x25dc1c(0x1cf)]=_0x2eeb36,this[_0x25dc1c(0x260)]=_0x2ea0da,this[_0x25dc1c(0x25d)]=_0xfcd40c,this[_0x25dc1c(0x26d)](),this[_0x25dc1c(0xb1)]();}[_0x20fe61(0x26d)](){const _0x522b8e=_0x20fe61;this['disposeWithMe'](this[_0x522b8e(0x10f)][_0x522b8e(0x2ec)](_0x1d1660=>{const _0x3e32ed=_0x522b8e;if(_0x1d1660['id']!==lo['id'])return;const _0x4e312b=_0x1d1660['params'];this[_0x3e32ed(0x12a)]['handleAsyncResponse'](_0x4e312b);})),this[_0x522b8e(0xef)](this[_0x522b8e(0x10f)][_0x522b8e(0x2ec)](_0x2f168f=>{const _0x30be56=_0x522b8e;if(_0x2f168f['id']===co['id']){const _0x394939=_0x2f168f[_0x30be56(0x183)];if(_0x394939){const {unitId:_0x2f0858,subUnitId:_0x455bb4,oldSubUnitId:_0x14b2b0,pivotTableId:_0x5332b4,pivotTableConfig:_0x3f5a32,collectionConfig:_0x2e28c4}=_0x394939;this[_0x30be56(0x1cf)][_0x30be56(0x2f3)](_0x2f0858,_0x14b2b0,_0x394939[_0x30be56(0x309)],null),this['_sheetsPivotTableConfigModel'][_0x30be56(0x2f3)](_0x2f0858,_0x455bb4,_0x5332b4,_0x3f5a32),this[_0x30be56(0x1cf)][_0x30be56(0x301)](_0x2f0858,_0x2e28c4);}}})),this[_0x522b8e(0xef)](this[_0x522b8e(0x10f)][_0x522b8e(0x2ec)](_0x55710f=>{const _0x599e5e=_0x522b8e;if(_0x55710f['id']!==Dt['id'])return;const _0x5a1bc2=_0x5848f2(this[_0x599e5e(0x260)]);if(!_0x5a1bc2)return;const {unitId:_0x310e94,subUnitId:_0x2f0fd9}=_0x5a1bc2,_0x32bd56=_0x55710f[_0x599e5e(0x183)];if(_0x32bd56[_0x599e5e(0x15c)]&&Object['keys'](_0x32bd56[_0x599e5e(0x15c)])[_0x599e5e(0x19a)](_0x11a413=>{const _0x43daeb=_0x599e5e;var _0x192c43;(_0x192c43=_0x32bd56[_0x43daeb(0x15c)])!=null&&_0x192c43[_0x11a413]&&this[_0x43daeb(0x1cf)]['updateCollectionConfig'](_0x11a413,_0x32bd56['collectionConfig'][_0x11a413]);}),_0x32bd56[_0x599e5e(0x148)]){const _0x51071c=_0x32bd56['single'],{unitId:_0x2e13bf,subUnitId:_0x288094,view:_0x426ce4,pivotTableId:_0x48fe6e,type:_0xdb59ff,pivotConfig:_0x11dcff}=_0x51071c;if(_0xdb59ff===L['Delete'])this[_0x599e5e(0xf1)][_0x599e5e(0x185)]({'unitId':_0x2e13bf,'subUnitId':_0x288094,'pivotTableId':_0x48fe6e,'type':_0xdb59ff}),this[_0x599e5e(0x1cf)][_0x599e5e(0x2f3)](_0x2e13bf,_0x288094,_0x48fe6e,null);else{const _0x1dcd5c=new _0x5a416b();_0x1dcd5c[_0x599e5e(0x150)](_0x426ce4),this[_0x599e5e(0x1cf)][_0x599e5e(0x2f3)](_0x2e13bf,_0x288094,_0x48fe6e,_0x11dcff),this['_sheetsPivotTableAdaptorModel'][_0x599e5e(0x185)]({'unitId':_0x2e13bf,'subUnitId':_0x288094,'pivotTableId':_0x48fe6e,'type':_0xdb59ff,'view':_0x1dcd5c}),this['_sheetsPivotTableAdaptorModel'][_0x599e5e(0x319)]({'unitId':_0x2e13bf,'subUnitId':_0x288094,'view':_0x1dcd5c,'pivotTableId':_0x48fe6e,'type':_0xdb59ff});}}else _0x32bd56['batch']&&(_0x32bd56['batch']['forEach'](_0x1cad15=>{const _0xefc72=_0x599e5e,{unitId:_0x29d404,subUnitId:_0x1ac680,view:_0x2ba44d,pivotTableId:_0x482762,type:_0x2d1a55,pivotConfig:_0x5c729a}=_0x1cad15,_0x507357=new _0x5a416b();_0x507357['formJSON'](_0x2ba44d),this[_0xefc72(0x1cf)][_0xefc72(0x2f3)](_0x29d404,_0x1ac680,_0x482762,_0x5c729a),this[_0xefc72(0xf1)][_0xefc72(0x319)]({'unitId':_0x29d404,'subUnitId':_0x1ac680,'view':_0x507357,'pivotTableId':_0x482762,'type':_0x2d1a55});}),this[_0x599e5e(0x1cf)][_0x599e5e(0xfd)]());this['_sheetsPivotTableAdaptorModel'][_0x599e5e(0xa1)](_0x310e94,_0x2f0fd9);}));}['registerDirtyService'](){const _0x3c08c7=_0x20fe61;this[_0x3c08c7(0x25d)][_0x3c08c7(0x20a)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x125334){const _0x1f9358=_0x3c08c7;return{'dirtyUnitFeatureMap':_0x125334[_0x1f9358(0x183)]};}});}};vt=js([He(0x0,_0x3b120b(_0x1ad572)),He(0x1,_0x3b120b(Z)),He(0x2,_0x3b120b(Ne)),He(0x3,_0x3b120b(he)),He(0x4,_0x3b120b(_0x191739)),He(0x5,_0xc6e483)],vt);var Ks=Object[_0x20fe61(0x1d7)],zs=Object['getOwnPropertyDescriptor'],Hs=(_0x1c675f,_0x5d91d6,_0x51b4b7)=>_0x5d91d6 in _0x1c675f?Ks(_0x1c675f,_0x5d91d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51b4b7}):_0x1c675f[_0x5d91d6]=_0x51b4b7,Ys=(_0x1b9820,_0x2d9b4d,_0x2a609a,_0x2fc3d2)=>{for(var _0x3f0bff=_0x2fc3d2>0x1?void 0x0:_0x2fc3d2?zs(_0x2d9b4d,_0x2a609a):_0x2d9b4d,_0x52f91e=_0x1b9820['length']-0x1,_0x1bebe5;_0x52f91e>=0x0;_0x52f91e--)(_0x1bebe5=_0x1b9820[_0x52f91e])&&(_0x3f0bff=_0x1bebe5(_0x3f0bff)||_0x3f0bff);return _0x3f0bff;},Ft=(_0x4a6bcd,_0x5854ac)=>(_0x52ff2a,_0x3d59ed)=>_0x5854ac(_0x52ff2a,_0x3d59ed,_0x4a6bcd),Xo=(_0x460881,_0x5c2180,_0x24fdd6)=>Hs(_0x460881,typeof _0x5c2180!=_0x20fe61(0x2ab)?_0x5c2180+'':_0x5c2180,_0x24fdd6);let Vt=class extends _0x1337c7{constructor(_0x48882a=Mo,_0x361146,_0x36d7ff,_0x4a8175,_0x4651a8){const _0xfed8aa=_0x20fe61;super(),this[_0xfed8aa(0x2bf)]=_0x48882a,this[_0xfed8aa(0x1a3)]=_0x361146,this[_0xfed8aa(0x10f)]=_0x36d7ff,this['_configService']=_0x4a8175,this[_0xfed8aa(0x2b9)]=_0x4651a8;const {..._0x5ac6a2}=_0x6c72bb({},Mo,this[_0xfed8aa(0x2bf)]);this[_0xfed8aa(0xac)][_0xfed8aa(0xcd)](Ho,_0x5ac6a2),this['_initRegisterCommand'](),this['_initConfig']();}[_0x20fe61(0x254)](){const _0x4e1481=_0x20fe61;var _0x26b105;const _0x112115=(_0x26b105=this['_config'])==null?void 0x0:_0x26b105[_0x4e1481(0x222)];this[_0x4e1481(0xac)]['setConfig'](z,_0x112115===!0x0);}['onStarting'](){const _0x5e4c9a=_0x20fe61;var _0x2063a7;let _0x55db53=[];const _0x3d936c=(_0x2063a7=this['_config'])==null?void 0x0:_0x2063a7['notExecuteFormula'];_0x3d936c===!0x0?_0x55db53=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x3d936c===!0x1?_0x55db53=[[q],[ct]]:_0x3d936c===void 0x0&&(_0x55db53=[[q],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x55db53[_0x5e4c9a(0x19a)](_0x44d8a8=>this['_injector'][_0x5e4c9a(0xdf)](_0x44d8a8)),[ct,vt,ie,dt,gt,ft,ut][_0x5e4c9a(0x19a)](_0xfdd836=>{const _0x38a3ac=_0x5e4c9a;this[_0x38a3ac(0x1a3)][_0x38a3ac(0x296)](_0xfdd836)&&this['_injector']['get'](_0xfdd836);});}[_0x20fe61(0xf2)](){const _0x3a21cc=_0x20fe61;[hs,ps,vs,ms,Cs,ys,Ds,bs,Ss,Ps,Ts,Ms,ws,Is,Ct,oo,xt,qt,Yo,Qo,Kt,$t,Gt,Jt,Ht,zt,pt,ro,lo,Dt,Xt,eo,Yt,jt,uo,to,Zt,Ut,co,_s,Qt,Fs,Rs][_0x3a21cc(0x19a)](_0x2b98f1=>{const _0x150613=_0x3a21cc;var _0x9f6883;(_0x9f6883=this[_0x150613(0x2b9)])==null||_0x9f6883[_0x150613(0x123)](_0x2b98f1),this['_commandService']['registerCommand'](_0x2b98f1);});}};Xo(Vt,_0x20fe61(0x2a9),ao),Xo(Vt,_0x20fe61(0x202),_0x4f12fd[_0x20fe61(0x126)]),Vt=Ys([_0x8bf194(_0x4c234d),Ft(0x1,_0x3b120b(_0x4a0d8a)),Ft(0x2,_0x3b120b(_0x1ad572)),Ft(0x3,_0x45b506),Ft(0x4,_0xbb69a9(_0x2e776a))],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,A as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Gt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Ho as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ps as SetPivotFilterCommand,Kt as SetPivotFilterMutation,zt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ss as SetPivotSortCommand,Ht as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,q as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds 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,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};
1
+ const _0x2b5256=_0x3ffc;(function(_0x5879ff,_0x19e39d){const _0x59cf37=_0x3ffc,_0x58a227=_0x5879ff();while(!![]){try{const _0xb624ef=-parseInt(_0x59cf37(0x247))/0x1*(parseInt(_0x59cf37(0xfe))/0x2)+parseInt(_0x59cf37(0x1d5))/0x3*(parseInt(_0x59cf37(0x28d))/0x4)+-parseInt(_0x59cf37(0x17c))/0x5*(parseInt(_0x59cf37(0xed))/0x6)+-parseInt(_0x59cf37(0x277))/0x7+-parseInt(_0x59cf37(0x290))/0x8+parseInt(_0x59cf37(0x329))/0x9+parseInt(_0x59cf37(0x2d6))/0xa;if(_0xb624ef===_0x19e39d)break;else _0x58a227['push'](_0x58a227['shift']());}catch(_0x551477){_0x58a227['push'](_0x58a227['shift']());}}}(_0x3b8d,0x89de3));var an=Object[_0x2b5256(0x130)],rn=(_0x1d79bc,_0x5666dd,_0x37a920)=>_0x5666dd in _0x1d79bc?an(_0x1d79bc,_0x5666dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37a920}):_0x1d79bc[_0x5666dd]=_0x37a920,V=(_0x417336,_0x114ff4,_0x11d51b)=>rn(_0x417336,typeof _0x114ff4!='symbol'?_0x114ff4+'':_0x114ff4,_0x11d51b);import{PivotCellStyleTypeEnum as _0x3868d5,PivotViewCellValueTypeEnum as _0x3c91b6,isPrefixValue as _0x328eae,isErrorValue as _0x12140a,PivotErrorTypeEnum as _0x17a6c0,PivotDateGroupFieldDateTypeEnum as _0x585e9f,DataFieldManager as _0x466d72,FieldsCollection as _0x43a076,isDateValue as _0x31b82f,DataField as _0x217856,generateHexNumber as _0x5da390,isBaseGroupField as _0x221f51,PivotTable as _0x4ca182,PivotSubtotalTypeEnum as _0x25c3b8,PivotTableFiledAreaEnum as _0x11f300,excelDateToUnixMilliseconds as _0x583e30,createValueField as _0x5bce12,createLabelField as _0x1499b6,PivotTableChangeTypeEnum as _0x57b432,BaseGroupField as _0x5104de,PivotView as _0xfa0de5,isDateGroupFieldJSON as _0xc24e,PivotCallbackEnum as _0x516dbb,PivotFilterTypeEnum as _0x4360ea,getAutoDisplayName as _0x2766e9,PivotDataFieldDataTypeEnum as _0x2eb70b,PivotTableValuePositionEnum as _0x37ad20,isDateGroupField as _0x13347e,DateGroupField as _0x2e0c72}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x2a8431,ObjectMatrix as _0x1f0092,IUniverInstanceService as _0x300869,UniverInstanceType as _0x4ca610,CellValueType as _0x348fb5,numfmt as _0x4c72a1,LocaleService as _0x2e7b0d,createAsyncInterceptorKey as _0x4deb31,createInterceptorKey as _0x4d0336,CommandType as _0xbe2aa2,RANGE_TYPE as _0x1ef509,numberToABC as _0x349d6b,Inject as _0x17f8d4,Injector as _0x184ee2,LifecycleService as _0x1f108f,IConfigService as _0x2a9e1d,ICommandService as _0x51f589,IResourceManagerService as _0x1a52b9,Disposable as _0x2a8c6f,Rectangle as _0x4d62a4,Tools as _0x500805,AsyncInterceptorManager as _0x19d819,InterceptorManager as _0x350b32,InterceptorEffectEnum as _0x57cc54,CustomCommandExecutionError as _0x2ec76,IUndoRedoService as _0x5aa453,sequenceExecute as _0x308278,mergeWorksheetSnapshotWithDefault as _0x41cc2f,generateRandomId as _0x66b0b1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x3948ba,DEFAULT_WORKSHEET_ROW_COUNT as _0x5caeb5,DisposableCollection as _0x6b8985,Range as _0x4cd3de,DependentOn as _0x1c1d39,Optional as _0x350cd5,Plugin as _0x31e05a,merge as _0x4637a1}from'@univerjs/core';import{ErrorType as _0x59ad1c,serializeRangeWithSpreadsheet as _0x147744,IFeatureCalculationManagerService as _0x313e0c,GlobalComputingStatusService as _0x3d5d3,IActiveDirtyManagerService as _0x1e676a}from'@univerjs/engine-formula';import{generateNullCell as _0x12dd3b,SetRangeValuesUndoMutationFactory as _0x38a836,SetRangeValuesMutation as _0x41dfe1,getSheetCommandTarget as _0x1efd93,InsertRowMutation as _0x18261d,RemoveRowMutation as _0x48c5bb,InsertColMutation as _0x176ca7,RemoveColMutation as _0x57869c,IExclusiveRangeService as _0x2d64d0,SheetInterceptorService as _0x46beb6,INTERCEPTOR_POINT as _0x1e6ee6,InsertSheetCommand as _0x5d5dd8,InsertSheetUndoMutationFactory as _0x5d2d8c,RemoveSheetMutation as _0x5bf691,InsertSheetMutation as _0x4c055c,MoveRangeMutation as _0x191ae7,SheetsSelectionsService as _0x1689f9,ClearSelectionContentCommand as _0xa41cb5,ClearSelectionAllCommand as _0x3961ee,SetWorksheetColWidthMutation as _0x509883,RefRangeService as _0x1e17e6,SetWorksheetActiveOperation as _0x3b91de,MoveRangeCommand as _0x4b9068,RemoveSheetCommand as _0x5351f2}from'@univerjs/sheets';import{Subject as _0x20e75b,BehaviorSubject as _0x939dfa}from'rxjs';import{LS_CONFIG_KEY as _0x1af733,unshiftString as _0x16828d,isFeatureAuthorizedWithinTime as _0x452d19,getSheetFeatureLimit as _0x36a08b,ReleaseType as _0x232eb3,UniverLicensePlugin as _0xac2b89}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x10c05e,RemoveSheetsFilterMutation as _0x1ce1fc}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x4affae}from'@univerjs/rpc';import{getFontStyleString as _0x1b2cf6,FontCache as _0x4e1760}from'@univerjs/engine-render';const Bo=Number[_0x2b5256(0x11f)](0x6828b4f9),li=0x10,so=0x1,ao=_0x2b5256(0xea),It=0x1,ci=_0x2b5256(0x303),di='rgb(255,255,255)',wt='#b2b2b2',ui=_0x2b5256(0x198),fi=_0x2b5256(0x198),gi=_0x2b5256(0xec),vi=_0x2b5256(0x23b),hi=_0x2b5256(0x294),pi=_0x2b5256(0x31c),mi=_0x2b5256(0x23b),Ii='#FFFFFF',Ci=_0x2b5256(0xfd),bi=0xe,Si=0x6;var jo=(_0x388536=>(_0x388536[_0x2b5256(0x1bc)]=_0x2b5256(0xf8),_0x388536[_0x2b5256(0x2c9)]=_0x2b5256(0x158),_0x388536))(jo||{});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,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},R={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x4fc84b,_0x3dbf0f,_0x5008e7){const _0x23834a=_0x2b5256,_0x470f8f=_0x4fc84b[_0x23834a(0x2f6)](_0x2e7b0d),_0x19e590=_0x5008e7[_0x23834a(0x2ad)]('_');switch(_0x3dbf0f){case _0x585e9f[_0x23834a(0x11a)]:return _0x470f8f['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x19e590);case _0x585e9f[_0x23834a(0x2ef)]:return _0x470f8f['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x19e590);case _0x585e9f[_0x23834a(0x321)]:return _0x470f8f['t'](_0x23834a(0x215),..._0x19e590);case _0x585e9f[_0x23834a(0x281)]:return _0x470f8f['t'](_0x23834a(0x1ff),..._0x19e590);case _0x585e9f[_0x23834a(0x13b)]:return _0x470f8f['t'](_0x23834a(0xf1),..._0x19e590);case _0x585e9f[_0x23834a(0x22c)]:return _0x470f8f['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x19e590);case _0x585e9f[_0x23834a(0x18d)]:return _0x470f8f['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x19e590);case _0x585e9f['YearMonth']:return _0x470f8f['t'](_0x23834a(0x141),..._0x19e590);case _0x585e9f[_0x23834a(0xe9)]:return _0x470f8f['t'](_0x23834a(0x2b6),..._0x19e590);case _0x585e9f[_0x23834a(0x1df)]:return _0x470f8f['t'](_0x23834a(0x16c),..._0x19e590);}return'';}const it=(_0x2b678b,_0x3aaed0,_0xac023a,_0xfc166b)=>{const _0x155f7e=_0x2b5256;let _0x2a9b9a;const _0x16566e=_0x2b678b[_0x155f7e(0x2f6)](_0x300869)['getCurrentUnitForType'](_0x4ca610[_0x155f7e(0x209)]);if(!_0x16566e)return null;const _0x17c8fc=_0x16566e['getStyles']();let _0x5ad99d;if(_0xac023a&&(_0x5ad99d=_0x17c8fc[_0x155f7e(0x323)](_0xac023a)),_0x3aaed0!=null&&_0x3aaed0['v']||(_0x3aaed0==null?void 0x0:_0x3aaed0['v'])===0x0){_0x2a9b9a||(_0x2a9b9a={});const _0x193879=Lo(_0x3aaed0['v']);typeof _0x193879==_0x155f7e(0x1f7)?_0x2a9b9a['t']=_0x348fb5[_0x155f7e(0xc0)]:typeof _0x193879=='string'&&(_0x2a9b9a['t']=_0x348fb5['STRING']),_0x2a9b9a['v']=_0x193879;}if((_0x3aaed0!=null&&_0x3aaed0['i']||(_0x3aaed0==null?void 0x0:_0x3aaed0['i'])===0x0)&&(_0x2a9b9a||(_0x2a9b9a={}),_0x2a9b9a['fi']=_0x3aaed0['i']),_0x3aaed0!=null&&_0x3aaed0['s']&&(_0x2a9b9a||(_0x2a9b9a={}),_0x2a9b9a[_0x155f7e(0x10f)]=_0x3aaed0['s']),_0xac023a&&(_0x2a9b9a||(_0x2a9b9a={}),_0x2a9b9a['s']=_0x5ad99d),_0xfc166b&&_0x2a9b9a!=null&&_0x2a9b9a['v']&&_0x2a9b9a[_0x155f7e(0x10f)]!==_0x3868d5[_0x155f7e(0x327)]&&_0x2a9b9a[_0x155f7e(0x10f)]!==_0x3868d5[_0x155f7e(0x1ba)]){const _0x44d0c1=String(_0x2a9b9a['v']),{dateType:_0x1196e1}=_0xfc166b;_0x2a9b9a['v']=Ti(_0x2b678b,_0x1196e1,_0x44d0c1),_0x2a9b9a['t']=_0x348fb5[_0x155f7e(0x259)];}return _0x2a9b9a;},yi=(_0x58454a,_0x38703c,_0x30ab1b,_0x27e3ca)=>{const _0x439560=_0x2b5256;var _0xead328,_0x6a3c4a,_0x5dde27,_0x26a214,_0x400882,_0x3b6dd7,_0x29494f,_0x9fee42,_0x490c75,_0x3c7266,_0x43fafc,_0x5e613f,_0x167b5b,_0x18bc18;const _0x177a1e=_0x30ab1b[_0x439560(0x169)],{cornerView:_0x409e31,rowView:_0x2ed0ec,colView:_0x5dec5b,dataView:_0x1f45c9,pageView:_0x1c4ac4,formatMap:_0x57808c,groupInfo:_0x481f41}=_0x38703c,{row:_0x485230,col:_0x2f0d88}=_0x177a1e,_0x41bdca=new _0x1f0092(),_0x345c93={},_0x5ae48f={},_0x4dba69={},_0x285050={},_0x629b3e={};let _0x86dab=_0x485230,_0x14a359=_0x2f0d88;Object[_0x439560(0x176)](_0x1c4ac4[_0x439560(0x1a9)])[_0x439560(0x17d)](_0x1ab762=>{const _0x35b0dd=_0x439560;Object[_0x35b0dd(0x176)](_0x1c4ac4[_0x35b0dd(0x1a9)][Number(_0x1ab762)])[_0x35b0dd(0x17d)](_0x2191f9=>{const _0x5e19c2=_0x35b0dd,_0x48586a={..._0x1c4ac4[_0x5e19c2(0x1a9)][Number(_0x1ab762)][Number(_0x2191f9)]};_0x41bdca['setValue'](Number(_0x1ab762)+_0x86dab,Number(_0x2191f9)+_0x14a359,it(_0x58454a,_0x48586a,fe['pageStyle']));});});const _0x29c183=Object[_0x439560(0x176)](_0x1c4ac4[_0x439560(0x1a9)])['length'];_0x86dab+=_0x29c183+(_0x29c183?It:0x0);const _0x4e101b=_0x409e31['getRowCount'](),_0x43a5b8=_0x409e31[_0x439560(0x1ea)]();for(let _0xd1b91e=0x0;_0xd1b91e<_0x4e101b;_0xd1b91e++)for(let _0x5c9cdd=0x0;_0x5c9cdd<_0x43a5b8;_0x5c9cdd++){const _0x2e7f9e={...(_0x6a3c4a=(_0xead328=_0x409e31[_0x439560(0x1a9)])==null?void 0x0:_0xead328[_0xd1b91e])==null?void 0x0:_0x6a3c4a[_0x5c9cdd]};_0x2e7f9e&&((_0x5dde27=_0x2ed0ec[_0x439560(0x20f)][_0x5c9cdd])!=null&&_0x5dde27['isValue'])&&_0x5c9cdd===_0x43a5b8-0x1&&_0xd1b91e===_0x4e101b-0x1&&(_0x2e7f9e['v']=''+_0x27e3ca[_0x439560(0x110)]),_0x41bdca['setValue'](_0xd1b91e+_0x86dab,_0x5c9cdd+_0x14a359,it(_0x58454a,_0x2e7f9e,fe[_0x439560(0x2cb)]));}for(let _0x24a635=0x0;_0x24a635<_0x409e31[_0x439560(0x260)][_0x439560(0x1bf)];_0x24a635++)_0x409e31[_0x439560(0x260)][_0x24a635]&&(_0x4dba69[''+(_0x24a635+_0x14a359)]=_0x409e31[_0x439560(0x260)][_0x24a635]);_0x14a359+=_0x43a5b8;const _0x4290c8=_0x5dec5b[_0x439560(0x20f)],_0x559b73=_0x5dec5b[_0x439560(0x2a9)]()>=0x0?_0x5dec5b[_0x439560(0x2a9)]()+0x1:0x0,_0x4fecdd=_0x5dec5b[_0x439560(0x2be)]()>=0x0?_0x5dec5b['getLastCol']()+0x1:0x0;for(let _0x507b15=0x0;_0x507b15<_0x4fecdd;_0x507b15++){for(let _0x43a5ca=0x0;_0x43a5ca<_0x559b73;_0x43a5ca++){const _0x4fe0e6={...(_0x400882=(_0x26a214=_0x5dec5b[_0x439560(0x1a9)])==null?void 0x0:_0x26a214[_0x43a5ca])==null?void 0x0:_0x400882[_0x507b15]},_0x8ca970=(_0x3b6dd7=_0x4290c8[_0x43a5ca])==null?void 0x0:_0x3b6dd7[_0x439560(0xef)],_0x5e54f0=_0x57808c[_0x8ca970],_0x9618b8=_0x481f41[_0x8ca970];_0x4fe0e6&&(_0x4fe0e6['v']=ht(_0x4fe0e6,_0x43a5ca===0x0&&((_0x29494f=_0x5dec5b[_0x439560(0x120)](_0x507b15+0x1))==null?void 0x0:_0x29494f[_0x439560(0x238)]),_0x5e54f0,_0x27e3ca));let _0x34be99;_0x5e54f0?_0x34be99={...fe['colStyle'],'n':{'pattern':_0x5e54f0}}:_0x34be99={...fe[_0x439560(0x2fb)]},_0x41bdca[_0x439560(0x323)](_0x43a5ca+_0x86dab,_0x507b15+_0x14a359,it(_0x58454a,_0x4fe0e6,_0x34be99,_0x9618b8));}_0x5dec5b[_0x439560(0x260)][_0x507b15]&&(_0x5ae48f[''+(_0x507b15+_0x14a359)]=_0x5dec5b[_0x439560(0x260)][_0x507b15]),_0x5dec5b['headerMap'][_0x507b15+0x1]&&(_0x629b3e[''+(_0x507b15+_0x86dab+0x1)]=_0x5dec5b['headerMap'][_0x507b15+0x1]);}_0x86dab+=_0x4e101b;const _0x2dc0b6=_0x2ed0ec[_0x439560(0x20f)],_0x436009=_0x2ed0ec[_0x439560(0x2a9)]()>=0x0?_0x2ed0ec[_0x439560(0x2a9)]()+0x1:0x0,_0x463455=_0x2ed0ec['getLastCol']()>=0x0?_0x2ed0ec[_0x439560(0x2be)]()+0x1:0x0;for(let _0x227c50=0x0;_0x227c50<_0x436009;_0x227c50++){for(let _0x54766f=0x0;_0x54766f<_0x463455;_0x54766f++){const _0x54427d={...(_0x490c75=(_0x9fee42=_0x2ed0ec[_0x439560(0x1a9)])==null?void 0x0:_0x9fee42[_0x227c50])==null?void 0x0:_0x490c75[_0x54766f]},_0x49f05f=(_0x3c7266=_0x2dc0b6[_0x54766f])==null?void 0x0:_0x3c7266[_0x439560(0xef)],_0x1b1f8f=_0x57808c[_0x49f05f],_0x28a466=_0x481f41[_0x49f05f];_0x54427d&&(_0x54427d['v']=ht(_0x54427d,!0x1,_0x1b1f8f,_0x27e3ca));let _0x2ba4e0;_0x2ed0ec[_0x439560(0x260)][_0x227c50]['level']===_0x2ed0ec[_0x439560(0x1ea)]()?_0x2ba4e0=fe['leafStyle']:_0x2ed0ec[_0x439560(0x260)][_0x227c50][_0x439560(0x24d)]?_0x2ba4e0=_0x2ed0ec[_0x439560(0x260)][_0x227c50][_0x439560(0x2c8)]===0x0?fe[_0x439560(0x2af)]:fe[_0x439560(0x1f9)]:_0x2ba4e0=fe[_0x439560(0xdc)],_0x1b1f8f&&(_0x2ba4e0={..._0x2ba4e0,'n':{'pattern':_0x1b1f8f}}),_0x41bdca[_0x439560(0x323)](_0x227c50+_0x86dab,_0x54766f+_0x2f0d88,it(_0x58454a,_0x54427d,_0x2ba4e0,_0x28a466));}_0x2ed0ec[_0x439560(0x260)][_0x227c50]&&(_0x345c93[''+(_0x227c50+_0x86dab)]=_0x2ed0ec[_0x439560(0x260)][_0x227c50]),_0x2ed0ec[_0x439560(0x20f)][_0x227c50]&&(_0x285050[''+(_0x227c50+_0x2f0d88)]=_0x2ed0ec['headerMap'][_0x227c50]);}const _0x2e4aff=_0x1f45c9['getRowCount'](),_0xf84c9f=_0x1f45c9[_0x439560(0x1ea)]();for(let _0x33a685=0x0;_0x33a685<_0x2e4aff;_0x33a685++)for(let _0x354bf2=0x0;_0x354bf2<_0xf84c9f;_0x354bf2++){const _0x39a257={...(_0x5e613f=(_0x43fafc=_0x1f45c9[_0x439560(0x1a9)])==null?void 0x0:_0x43fafc[_0x33a685])==null?void 0x0:_0x5e613f[_0x354bf2]};let _0x4380be;_0x2ed0ec[_0x439560(0x260)][_0x33a685]['isBottomTotal']?_0x4380be=_0x2ed0ec['info'][_0x33a685][_0x439560(0x2c8)]===0x0?fe[_0x439560(0x2af)]:fe[_0x439560(0x1f9)]:_0x4380be=fe['dataStyle'];const _0x1d2d6b=_0x2ed0ec[_0x439560(0x260)][_0x33a685][_0x439560(0x26e)],_0x51ef29=_0x5dec5b[_0x439560(0x260)][_0x354bf2][_0x439560(0x26e)],_0x1cdffd=Math[_0x439560(0x2e8)](_0x1d2d6b,_0x51ef29),_0x34d495=_0x30ab1b[_0x439560(0x2d1)]['valueFields'][_0x439560(0x2ed)]();let _0x9618d='';_0x1cdffd<0x0?_0x9618d=(_0x167b5b=_0x34d495[0x0])!=null?_0x167b5b:'':_0x9618d=(_0x18bc18=_0x34d495[_0x1cdffd])!=null?_0x18bc18:'';const _0x54d41c=_0x57808c[_0x9618d];_0x54d41c&&(_0x4380be={..._0x4380be,'n':{'pattern':_0x54d41c}}),_0x41bdca['setValue'](_0x33a685+_0x86dab,_0x354bf2+_0x14a359,it(_0x58454a,_0x39a257,_0x4380be));}return{'valueMatrix':_0x41bdca,'rowInfo':_0x345c93,'colInfo':_0x5ae48f,'cornerInfo':_0x4dba69,'rowHeaderMap':_0x285050,'colHeaderMap':_0x629b3e};};function ht(_0xa70504,_0x3eec65,_0x805087,_0x24e051){const _0x3c7a70=_0x2b5256;let _0x13bfa4=_0xa70504['v'];_0x3eec65&&(_0x13bfa4=''+_0x24e051[_0x3c7a70(0x110)]);const _0x1007f1=_0xa70504['t']&&(_0xa70504['t']&_0x3c91b6[_0x3c7a70(0x22f)])>0x0;if(_0x1007f1&&(_0x13bfa4=''+_0x24e051[_0x3c7a70(0x235)]),_0xa70504['s']===_0x3868d5[_0x3c7a70(0x1ba)]){let _0x1d266f=_0x13bfa4,_0x30b60e='';_0x328eae(_0x13bfa4)&&(_0x1d266f=_0x13bfa4['prefix'],_0x30b60e=_0x13bfa4[_0x3c7a70(0xfc)]);const _0x1bbf4a=_0x805087&&!_0x1007f1?_0x4c72a1['format'](_0x805087,Number(_0x1d266f)):_0x1d266f;_0x30b60e?_0x13bfa4=_0x1bbf4a+'\x20'+_0x30b60e:_0x13bfa4=_0x1bbf4a+'\x20'+_0x24e051['sheets-pivot.subTotal'];}else _0xa70504['s']===_0x3868d5[_0x3c7a70(0x327)]&&(_0x13bfa4=_0x13bfa4+'\x20'+_0x24e051[_0x3c7a70(0xf7)]);return _0x13bfa4;}function Lo(_0x22b555){const _0x24bbae=_0x2b5256;if(_0x12140a(_0x22b555)){const {errorType:_0x4396b8}=_0x22b555;switch(_0x4396b8){case _0x17a6c0[_0x24bbae(0x1c0)]:return _0x59ad1c[_0x24bbae(0x26b)];case _0x17a6c0[_0x24bbae(0x164)]:return _0x59ad1c[_0x24bbae(0x13f)];case _0x17a6c0[_0x24bbae(0x33d)]:return _0x59ad1c['NAME'];case _0x17a6c0[_0x24bbae(0x29e)]:return _0x59ad1c['NAME'];case _0x17a6c0[_0x24bbae(0x1ca)]:return _0x59ad1c[_0x24bbae(0x10e)];}}return _0x22b555;}function ge(_0x50a88c,_0x3b51e1,_0x406ec1=!0x1,_0x463cc1=!0x1){const _0x372539=_0x2b5256,{data:_0x106809}=_0x3b51e1,_0x45acdb=_0x3b51e1[_0x372539(0x2a8)](),_0x143396=_0x3b51e1[_0x372539(0x1ea)]();if(_0x45acdb<=0x0||_0x143396<=0x0)return[];const _0x1c3d07=_0x3b51e1['getLastCol'](),_0x36e0fa=_0x3b51e1['getLastRow'](),_0x28690f=_0x463cc1?_0x36e0fa>=0x0?_0x36e0fa+0x1:0x0:_0x45acdb,_0x3e8e39=_0x463cc1?_0x1c3d07>=0x0?_0x1c3d07+0x1:0x0:_0x143396,{row:_0x38a1df,col:_0x31213e}=_0x50a88c,_0x1a42ec=_0x38a1df,_0x8bd97c=_0x31213e;if(_0x406ec1){const _0x59cf76=[];for(const [_0x33d7d2,_0x554539]of Object[_0x372539(0x116)](_0x106809))for(const [_0x1cda3f,_0x4ee539]of Object['entries'](_0x554539))_0x59cf76[_0x372539(0x25e)](_0x2a8431(_0x1a42ec+Number(_0x33d7d2),_0x8bd97c+Number(_0x1cda3f)));return _0x59cf76;}else{const _0x2dc16e=_0x463cc1?_0x28690f>0x0?0x1:0x0:0x1,_0x89e806=_0x463cc1?_0x3e8e39>0x0?0x1:0x0:0x1,_0x417cf7=_0x38a1df+_0x28690f-_0x2dc16e,_0x381f2b=_0x31213e+_0x3e8e39-_0x89e806;return[{'startRow':_0x1a42ec,'startColumn':_0x8bd97c,'endRow':_0x417cf7,'endColumn':_0x381f2b}];}}const q=_0x2b5256(0x223),jt=_0x2b5256(0x26a);var B=(_0x2e6da7=>(_0x2e6da7[_0x2b5256(0x252)]=_0x2b5256(0x180),_0x2e6da7[_0x2b5256(0xdf)]=_0x2b5256(0x2b0),_0x2e6da7[_0x2b5256(0x2fc)]=_0x2b5256(0x19e),_0x2e6da7[_0x2b5256(0x12b)]=_0x2b5256(0x12b),_0x2e6da7[_0x2b5256(0x2cd)]=_0x2b5256(0x232),_0x2e6da7[_0x2b5256(0x128)]=_0x2b5256(0x254),_0x2e6da7['RemovePivotField']='removePivotField',_0x2e6da7['SetPivotCollapse']=_0x2b5256(0x30a),_0x2e6da7[_0x2b5256(0x241)]=_0x2b5256(0x1fc),_0x2e6da7[_0x2b5256(0x322)]=_0x2b5256(0x14e),_0x2e6da7[_0x2b5256(0x234)]=_0x2b5256(0x320),_0x2e6da7[_0x2b5256(0x32c)]=_0x2b5256(0x1ef),_0x2e6da7['UpdateValuePosition']='updateValuePosition',_0x2e6da7['DrillDown']='drillDown',_0x2e6da7[_0x2b5256(0x332)]=_0x2b5256(0x142),_0x2e6da7[_0x2b5256(0xd4)]=_0x2b5256(0x317),_0x2e6da7[_0x2b5256(0x2e0)]=_0x2b5256(0x264),_0x2e6da7))(B||{});const Mi={'sheets-pivot.blankValue':_0x2b5256(0x1a1),'sheets-pivot.columnName':_0x2b5256(0x228),'sheets-pivot.subTotalText':_0x2b5256(0x2b7),'sheets-pivot.grandTotalText':_0x2b5256(0x246),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x2b5256(0x123),'sheets-pivot.countName':_0x2b5256(0xeb),'sheets-pivot.countNumsName':_0x2b5256(0xeb),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x2b5256(0x2d5),'sheets-pivot.productName':_0x2b5256(0x256),'sheets-pivot.stdDevName':_0x2b5256(0x268),'sheets-pivot.stdDevpName':_0x2b5256(0x276),'sheets-pivot.sumName':_0x2b5256(0x278),'sheets-pivot.varName':_0x2b5256(0x1e0),'sheets-pivot.varpName':_0x2b5256(0x2e4),'sheets-pivot.subTotal':_0x2b5256(0x1ba),'sheets-pivot.grandTotal':_0x2b5256(0x246),'sheets-pivot.value':_0x2b5256(0xfc),'sheets-pivot.blank':_0x2b5256(0x22f),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x2b5256(0x12f),'sheets-pivot.emptyPivot.column':_0x2b5256(0x30f),'sheets-pivot.emptyPivot.values':_0x2b5256(0x237)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x4deb31('pivotPerformCheck'),Go=_0x4d0336('pivotMutationGenerate');var ke=(_0x235302=>(_0x235302[_0x2b5256(0x1ac)]=_0x2b5256(0x1ac),_0x235302['delete']='delete',_0x235302[_0x2b5256(0x1e6)]=_0x2b5256(0x1e6),_0x235302))(ke||{}),L=(_0x42fe7f=>(_0x42fe7f['Add']=_0x2b5256(0x1ac),_0x42fe7f[_0x2b5256(0x2ba)]=_0x2b5256(0x2f1),_0x42fe7f['Delete']=_0x2b5256(0x272),_0x42fe7f))(L||{});const $o={0x0:'N',0x1:'R',0x2:'c',0x3:'e',0x4:'E',0x5:'h',0x6:'L',0x7:'D',0x8:'5',0x9:'6','v':'0','N':'1','O':'2','J':'3','w':'4','C':'7','n':'8','Z':'9','c':'a','g':'b','G':'d','l':'f','e':'g','u':'i','f':'j','q':'k','F':'l','z':'m','R':'n','j':'o','X':'p','t':'q','A':'r','B':'s','b':'t','m':'u','K':'v','M':'w','U':'x','Q':'y','D':'z','P':'A','h':'B','o':'C','T':'F','I':'G','Y':'H','p':'I','a':'J','i':'K','S':'M','d':'O','H':'P','x':'Q','L':'S','k':'T','W':'U','r':'V','V':'W','s':'X','E':'Y','y':'Z'},Jo=_0x2b5256(0xc5),ro={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},lo={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x2b3),'handler':()=>!0x0},Dt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x1cb),'handler':()=>!0x0},co={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x15b),'handler':()=>!0x0},uo={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x107),'handler':()=>!0x0},wi=_0x366d88=>{const _0x59334d=_0x2b5256;var _0x213a43;return((_0x213a43=_0x366d88[_0x59334d(0xee)])==null?void 0x0:_0x213a43[_0x59334d(0x2ae)]['replace'](/\r\n$/,''))||'';};class Ri extends _0x466d72{constructor(_0x509e5a,_0x18ab2c){const _0x29e559=_0x2b5256;super(),V(this,_0x29e559(0xd1),{}),V(this,_0x29e559(0x204)),V(this,_0x29e559(0x1b9)),(this[_0x29e559(0x204)]=_0x18ab2c,this['_host']=_0x509e5a);}[_0x2b5256(0x21d)](){const _0x150538=_0x2b5256;for(const _0x62db00 in this[_0x150538(0x212)]){const _0x45d7c4=this['dataFields'][_0x62db00],_0x4d92c8=_0x45d7c4[_0x150538(0x261)]();this['rangeKeyMap'][_0x4d92c8]=_0x45d7c4['getId']();}}[_0x2b5256(0x101)](){const _0x5646ea=_0x2b5256,_0x2e6342=this[_0x5646ea(0x1b9)];return Ai[_0x5646ea(0x214)](_0x2e6342);}[_0x2b5256(0x14d)](_0x406d88){const _0x5a2bd3=_0x2b5256,_0x34e6e0=this[_0x5a2bd3(0x212)][_0x406d88][_0x5a2bd3(0x26f)];delete this[_0x5a2bd3(0x212)][_0x406d88],delete this['rangeKeyMap'][_0x34e6e0];}[_0x2b5256(0x108)](_0x4ffe98){const _0x3204e4=_0x2b5256;this[_0x3204e4(0x212)][_0x4ffe98[_0x3204e4(0x1c2)]()]=_0x4ffe98;}[_0x2b5256(0x1cd)](_0x57fbef){const _0x1a9ee5=_0x2b5256;var _0x1576e3,_0x1193cd;const _0x40c4fc=this[_0x1a9ee5(0x1b9)][_0x1a9ee5(0x172)](_0x57fbef);if(_0x40c4fc){const {unitId:_0x1db819,subUnitId:_0x2cef1e}=_0x40c4fc,_0x281b25=(_0x1576e3=this[_0x1a9ee5(0x1b9)][_0x1a9ee5(0x183)](_0x1db819,_0x2cef1e,_0x57fbef))==null?void 0x0:_0x1576e3[_0x1a9ee5(0x1c8)];this[_0x1a9ee5(0x1b9)][_0x1a9ee5(0x29d)]({'token':_0x57fbef,'type':ke['delete'],'dataRangeInfo':_0x281b25});}(_0x1193cd=this[_0x1a9ee5(0x231)](_0x57fbef))==null||_0x1193cd['dispose'](),delete this[_0x1a9ee5(0x1c1)][_0x57fbef];}[_0x2b5256(0x261)](_0x2ac7dc,_0x58948b){const {sheetName:_0x4f74ea,unitId:_0x4b653c,range:_0x496dc2}=_0x2ac7dc,{startRow:_0x1f71bc,endRow:_0x15bad3}=_0x496dc2;return _0x147744(_0x4b653c,_0x4f74ea,{'startRow':_0x1f71bc,'endRow':_0x15bad3,'startColumn':_0x58948b,'endColumn':_0x58948b});}[_0x2b5256(0x149)](_0x15e837){return this['dataFields'][this['rangeKeyMap'][_0x15e837]];}[_0x2b5256(0x262)](_0x5424a3,_0x29a1ba){this['rangeKeyMap'][_0x5424a3]=_0x29a1ba;}[_0x2b5256(0x10c)](_0x2a2029,_0x1a4589){const _0x61d2dd=_0x2b5256;this['rangeKeyMap'][_0x1a4589]=this[_0x61d2dd(0xd1)][_0x2a2029],delete this[_0x61d2dd(0xd1)][_0x2a2029];}[_0x2b5256(0x330)](_0x9b36f4,_0x28b9e9,_0x3f3c94,_0x57d05a){const _0x251475=_0x2b5256,_0x1404ed=new _0x43a076(this);_0x1404ed[_0x251475(0x2e6)](_0x28b9e9);const _0x166ae1=[];let _0x4c6133=0x0;for(const _0x514a49 of _0x1404ed['fieldIds']){const _0x4f103f=this[_0x251475(0x261)](_0x3f3c94,_0x4c6133),_0x5ed047=this[_0x251475(0x212)][_0x514a49];_0x5ed047&&(_0x5ed047[_0x251475(0x26f)]=_0x4f103f,this[_0x251475(0x262)](_0x4f103f,_0x514a49),_0x166ae1[_0x251475(0x25e)]({'index':_0x4c6133,'dataField':_0x5ed047})),_0x4c6133++;}return this[_0x251475(0x251)](_0x9b36f4,_0x1404ed,_0x3f3c94,_0x57d05a),{'collection':_0x1404ed,'updateDataFieldList':_0x166ae1};}['getRangeStartEndInfo'](_0x4492a4,_0x49f535){const _0x3ee7c2=_0x2b5256;return _0x4492a4[_0x3ee7c2(0x111)]===_0x1ef509[_0x3ee7c2(0x2b8)]?{'startRow':0x0,'startColumn':_0x4492a4[_0x3ee7c2(0x1d8)],'endRow':_0x49f535[_0x3ee7c2(0x2a8)]()-0x1,'endColumn':_0x4492a4[_0x3ee7c2(0x219)]}:{'startRow':_0x4492a4[_0x3ee7c2(0x12c)],'startColumn':_0x4492a4[_0x3ee7c2(0x1d8)],'endRow':_0x4492a4[_0x3ee7c2(0x136)],'endColumn':_0x4492a4['endColumn']};}['createCollectionWithDataRange'](_0x3347ee){const _0x204824=_0x2b5256,{sheetName:_0x616cec,range:_0x8261a2}=_0x3347ee,_0x159ec8=this[_0x204824(0x204)][_0x204824(0x1c3)](_0x4ca610[_0x204824(0x209)]),_0x14b5e2=_0x159ec8['getSheetBySheetName'](_0x616cec),_0x1abea8=_0x14b5e2[_0x204824(0x186)](),{startColumn:_0x4d178e,startRow:_0x5542d2,endColumn:_0x3f6009}=this[_0x204824(0x138)](_0x8261a2,_0x14b5e2),_0x19fa0f=_0x159ec8[_0x204824(0x244)](),_0x2c08e8=new _0x43a076(this);_0x2c08e8[_0x204824(0x18c)](_0x3347ee);const _0x15ee6e=[],_0x6b0886={};for(let _0x11647e=_0x4d178e;_0x11647e<=_0x3f6009;_0x11647e++){const _0x1341f0=_0x1abea8['getValue'](_0x5542d2,_0x11647e),_0x1fd491=this[_0x204824(0x261)](_0x3347ee,_0x11647e),_0x25a304=this['getDataFieldByRangeKey'](_0x1fd491);if(_0x25a304)_0x2c08e8[_0x204824(0x285)](_0x25a304[_0x204824(0x1c2)](),_0x25a304[_0x204824(0x1b1)]());else{const _0x5bb44d=this[_0x204824(0x2a6)]();let _0x53f029=this[_0x204824(0x211)](_0x1341f0,_0x19fa0f,_0x6b0886);_0x31b82f(_0x53f029)&&(_0x53f029=_0x4c72a1['format'](_0x53f029['f'],Number(_0x53f029['v'])));const _0x20b959=this[_0x204824(0x168)](_0x53f029,_0x11647e),_0x5ecbc9=new _0x217856(_0x5bb44d,_0x20b959,_0x5da390(0x3));_0x5ecbc9[_0x204824(0x26f)]=_0x1fd491,this[_0x204824(0x212)][_0x5bb44d]=_0x5ecbc9,_0x2c08e8[_0x204824(0x285)](_0x5bb44d,_0x20b959),_0x15ee6e[_0x204824(0x25e)]({'index':_0x11647e,'dataField':_0x5ecbc9});}}return{'updateDataFieldList':_0x15ee6e,'collection':_0x2c08e8};}[_0x2b5256(0x287)](_0x3aa734){const _0x47ca8f=_0x2b5256;return this[_0x47ca8f(0x1b9)]['getTextInfo']()[_0x47ca8f(0x29f)]+'\x20'+_0x349d6b(_0x3aa734);}[_0x2b5256(0x168)](_0x5d7f49,_0xf56595){const _0x16a7b2=_0x2b5256;return _0x5d7f49==null||_0x5d7f49===''?this[_0x16a7b2(0x287)](_0xf56595):String(_0x5d7f49);}[_0x2b5256(0x231)](_0x1145b8){const _0x180806=_0x2b5256;return this[_0x180806(0x1c1)][_0x1145b8];}[_0x2b5256(0x251)](_0x5b4206,_0x37deb1,_0x24c6c2,_0x4a2c5d){const _0x20bdf3=_0x2b5256;this[_0x20bdf3(0x1c1)][_0x5b4206]=_0x37deb1,_0x37deb1[_0x20bdf3(0x18c)](_0x24c6c2),this[_0x20bdf3(0x1b9)][_0x20bdf3(0x29d)]({'token':_0x5b4206,'type':ke[_0x20bdf3(0x1ac)],'dataRangeInfo':_0x24c6c2,'targetCellInfo':_0x4a2c5d});}['handleMoveRange'](_0x5396b8,_0x5ab6d5){const _0x302ff9=_0x2b5256,_0x1d4d66=this[_0x302ff9(0x231)](_0x5396b8),_0x314b79=_0x1d4d66[_0x302ff9(0x2e2)]();let _0x219d1a=0x0;for(const _0x5ae2db of _0x314b79){const _0x23b369=_0x1d4d66['getFieldById'](_0x5ae2db),_0x2a5200=this[_0x302ff9(0x261)](_0x5ab6d5,_0x219d1a);this[_0x302ff9(0x10c)](_0x23b369[_0x302ff9(0x26f)],_0x2a5200),_0x219d1a++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x1c827c,_0x24b28f){const _0x4577b3=_0x2b5256;if(this[_0x4577b3(0x231)](_0x1c827c)){const _0x4f43a6=this['getRangeKeyList'](_0x24b28f),_0x2815ec=[];for(const _0x204322 of _0x4f43a6)this['rangeKeyMap'][_0x204322]!==void 0x0&&_0x2815ec[_0x4577b3(0x25e)](this[_0x4577b3(0xd1)][_0x204322]);const _0x2a0cb3=this[_0x4577b3(0x31f)](_0x1c827c),_0x56bf78=[],_0xfcd356=new Set(_0x2815ec);for(const _0x5b0ba3 of _0x2a0cb3)_0xfcd356[_0x4577b3(0x132)](_0x5b0ba3)||_0x56bf78[_0x4577b3(0x25e)](_0x5b0ba3);return _0x56bf78;}}[_0x2b5256(0x2da)](_0x415d85,_0x51ced7,_0x103d49,_0x3b812d,_0x22f15f){const _0x22e31c=_0x2b5256;return _0x51ced7&&_0x51ced7[_0x22e31c(0x21c)](_0x3b812d,_0x22f15f)?_0x51ced7[_0x22e31c(0x21c)](_0x3b812d,_0x22f15f):_0x103d49&&_0x103d49[_0x22e31c(0x21c)](_0x3b812d,_0x22f15f)?_0x103d49[_0x22e31c(0x21c)](_0x3b812d,_0x22f15f):_0x415d85[_0x22e31c(0x21c)](_0x3b812d,_0x22f15f);}[_0x2b5256(0x1af)](_0x3c2b63,_0x2889e9,_0x2fe895,_0x2e6cce){const _0x23a21c=_0x2b5256,_0x11d83c=this[_0x23a21c(0x212)][_0x3c2b63];if(!_0x11d83c)return;const {subUnitId:_0x25189c,range:_0x42f0ad,unitId:_0x5f2d03}=_0x2889e9,_0x4e343e=this[_0x23a21c(0x204)][_0x23a21c(0xe3)](_0x5f2d03);if(!_0x4e343e){console[_0x23a21c(0x333)]('workbook\x20is\x20not\x20found');return;}const _0x54b41c=_0x4e343e[_0x23a21c(0x10a)](_0x25189c),_0x4e5e8e=_0x54b41c[_0x23a21c(0x186)](),{arrayFormulaCellDataMatrix:_0x5734b6,unitDataMatrix:_0x1f77e7}=_0x2e6cce||{},{startRow:_0x39e8c3,startColumn:_0x3356be,endRow:_0x301ac6}=this['getRangeStartEndInfo'](_0x42f0ad,_0x54b41c);_0x11d83c[_0x23a21c(0x2fd)]();const _0x3826c9=_0x4e343e[_0x23a21c(0x244)](),_0x357b44={},_0x5754b1=this[_0x23a21c(0x2da)](_0x4e5e8e,_0x5734b6,_0x1f77e7,_0x39e8c3,_0x3356be+_0x2fe895);let _0x4b49ef=this['adjustSheetCellData'](_0x5754b1,_0x3826c9,_0x357b44);_0x31b82f(_0x4b49ef)&&(_0x4b49ef=_0x4c72a1['format'](_0x4b49ef['f'],Number(_0x4b49ef['v'])));const _0xfbfa5d=this['uniqueDataFieldName'](_0x4b49ef,_0x3356be+_0x2fe895);_0x11d83c['setName'](_0xfbfa5d);for(let _0x19dbc3=_0x39e8c3+0x1;_0x19dbc3<=_0x301ac6;_0x19dbc3++){const _0x18c66a=this['getMatrixValue'](_0x4e5e8e,_0x5734b6,_0x1f77e7,_0x19dbc3,_0x3356be+_0x2fe895);_0x11d83c[_0x23a21c(0x2c5)](this[_0x23a21c(0x211)](_0x18c66a,_0x3826c9,_0x357b44),_0x19dbc3-0x1-_0x39e8c3);}}[_0x2b5256(0x2cf)](_0x41008c,_0x369178,_0x4f2256){const _0x512333=_0x2b5256,{subUnitId:_0x400e86,range:_0xf4048d,unitId:_0xd4816e}=_0x4f2256,_0x195397=this[_0x512333(0x204)][_0x512333(0xe3)](_0xd4816e);if(!_0x195397){console[_0x512333(0x333)](_0x512333(0x305));return;}const _0x21033c=_0x195397['getSheetBySheetId'](_0x400e86),_0x2e3364=_0x21033c['getCellMatrix'](),{startRow:_0x1b636d,startColumn:_0x43f157,endRow:_0x46f78e}=this[_0x512333(0x138)](_0xf4048d,_0x21033c),_0x2c25fe=_0x195397[_0x512333(0x244)](),_0x510f68={};for(const {dataField:_0xef99b8,index:_0x2bbdec}of _0x369178){_0xef99b8[_0x512333(0x2fd)]();const _0x5836a8=this[_0x512333(0x2da)](_0x2e3364,void 0x0,void 0x0,_0x1b636d,_0x43f157+_0x2bbdec);let _0x1bced2=this[_0x512333(0x211)](_0x5836a8,_0x2c25fe,_0x510f68);_0x31b82f(_0x1bced2)&&(_0x1bced2=_0x4c72a1[_0x512333(0x32d)](_0x1bced2['f'],Number(_0x1bced2['v'])));const _0xdc7fd7=this[_0x512333(0x168)](_0x1bced2,_0x43f157+_0x2bbdec);_0xef99b8[_0x512333(0x28a)](_0xdc7fd7);}_0x41008c[_0x512333(0x1a5)]();for(let _0x2d7b16=_0x1b636d+0x1;_0x2d7b16<=_0x46f78e;_0x2d7b16++)for(const {index:_0x4b3f43,dataField:_0x536dc1}of _0x369178){const _0x4fcb7d=_0x2e3364[_0x512333(0x21c)](_0x2d7b16,_0x43f157+_0x4b3f43);_0x536dc1['addRecord'](this[_0x512333(0x211)](_0x4fcb7d,_0x2c25fe,_0x510f68),_0x2d7b16-0x1-_0x1b636d);}_0x41008c[_0x512333(0x155)](_0x46f78e-_0x1b636d);}[_0x2b5256(0x2fa)](_0x20a32c){const _0x9781a3=_0x2b5256,{range:_0x12cd24}=_0x20a32c,{startColumn:_0x3d0410,endColumn:_0x2c3381}=_0x12cd24,_0x1bd629=[];for(let _0x8ca531=_0x3d0410;_0x8ca531<=_0x2c3381;_0x8ca531++)_0x1bd629[_0x9781a3(0x25e)](this[_0x9781a3(0x261)](_0x20a32c,_0x8ca531));return _0x1bd629;}[_0x2b5256(0x211)](_0x2bb95f,_0x4e46c9,_0x3542a6){const _0x180a8a=_0x2b5256;if(_0x2bb95f){const {s:_0x3ec268,v:_0x5bd8c0,t:_0x2b0894,p:_0x12c5e3}=_0x2bb95f;if(_0x12c5e3)return wi(_0x12c5e3);const _0x3e2deb=_0x4e46c9['get'](_0x3ec268);if(_0x3e2deb&&_0x2b0894===_0x348fb5[_0x180a8a(0xc0)]&&_0x3e2deb['n']){const {pattern:_0x5f02f0}=_0x3e2deb['n'];_0x3542a6[_0x5f02f0]||(_0x3542a6[_0x5f02f0]=_0x4c72a1['getInfo'](_0x5f02f0));const _0x26c99f=_0x3542a6[_0x5f02f0],_0x2a9d59=_0x26c99f[_0x180a8a(0x316)];if(_0x26c99f[_0x180a8a(0x233)])return String(_0x5bd8c0);if(_0x2a9d59)return{'v':_0x5bd8c0,'f':_0x5f02f0};}if(_0x2b0894===_0x348fb5[_0x180a8a(0xc0)])return Number(_0x5bd8c0);if(_0x2b0894===_0x348fb5['STRING']||_0x2b0894===_0x348fb5[_0x180a8a(0x225)])return String(_0x5bd8c0);if(_0x2b0894===void 0x0){const _0x113021=Number(_0x5bd8c0);if(!Number['isNaN'](_0x113021)&&String(_0x113021)===_0x5bd8c0)return _0x113021;}return _0x5bd8c0!=null?_0x5bd8c0:null;}else return null;}['getRangeData'](_0xbc8971){const _0x5f23a0=_0x2b5256,{sheetName:_0x3ec98c,range:_0x2983e7,unitId:_0x356e6}=_0xbc8971,_0xc8460f=this['_univerInstanceService']['getUnit'](_0x356e6);if(!_0xc8460f)return console['error']('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x313b6e=_0xc8460f[_0x5f23a0(0x25a)](_0x3ec98c),_0x47cc52=_0x313b6e[_0x5f23a0(0x186)](),{startRow:_0x372e24,startColumn:_0x5bc9bf,endRow:_0x2c73d9,endColumn:_0x438f39}=this[_0x5f23a0(0x138)](_0x2983e7,_0x313b6e),_0xd5e1e3=_0xc8460f[_0x5f23a0(0x244)](),_0x285502=[],_0x2d1aa8=[],_0x5f167b={};for(let _0x2ae496=_0x372e24;_0x2ae496<=_0x2c73d9;_0x2ae496++){const _0x420026=[];for(let _0x2beb73=_0x5bc9bf;_0x2beb73<=_0x438f39;_0x2beb73++){const _0x3f2096=_0x47cc52[_0x5f23a0(0x21c)](_0x2ae496,_0x2beb73);_0x2ae496===_0x372e24?_0x285502[_0x5f23a0(0x25e)](_0x3f2096==null?null:String(_0x3f2096['v'])):_0x420026[_0x5f23a0(0x25e)](this[_0x5f23a0(0x211)](_0x3f2096,_0xd5e1e3,_0x5f167b));}_0x2d1aa8['push'](_0x420026);}return{'header':_0x285502,'data':_0x2d1aa8};}[_0x2b5256(0x2f4)](){const _0x1b2f4d=_0x2b5256;return super[_0x1b2f4d(0x2f4)]();}[_0x2b5256(0x2e6)](_0x46d4b4){const _0x4a118d=_0x2b5256;super[_0x4a118d(0x2e6)](_0x46d4b4),this[_0x4a118d(0x21d)]();}[_0x2b5256(0x1d9)](){const _0x1e1225=_0x2b5256;super[_0x1e1225(0x1d9)](),this['rangeKeyMap']={},this[_0x1e1225(0x1b9)]=null;}}const _i=_0x5a401a=>{const _0x576f70=_0x2b5256,{targetCellInfo:_0x5e4a89}=_0x5a401a,{matrixCache:_0x15de50,rangesCache:_0x363b72}=Wo({'filter':'Filter','row':_0x576f70(0x12f),'column':_0x576f70(0x30f),'values':_0x576f70(0x237)},_0x5e4a89),_0x5dbd17=new _0x1f0092();return _0x15de50[_0x576f70(0x266)]((_0x5bd2bf,_0x575ba0,_0x1e69dd)=>{const _0x5a6a47=_0x576f70;_0x5dbd17[_0x5a6a47(0x323)](_0x5bd2bf,_0x575ba0,_0x1e69dd);}),{'matrix':_0x5dbd17,'rangesCache':_0x363b72};},st=_0x23ccf1=>{const _0xd6e86=_0x2b5256;let _0x394501;if(_0x23ccf1!=null&&_0x23ccf1['v']||(_0x23ccf1==null?void 0x0:_0x23ccf1['v'])===0x0){_0x394501||(_0x394501={});const _0x435609=Lo(_0x23ccf1['v']);typeof _0x435609==_0xd6e86(0x1f7)?_0x394501['t']=_0x348fb5[_0xd6e86(0xc0)]:typeof _0x435609==_0xd6e86(0x13a)&&(_0x394501['t']=_0x348fb5[_0xd6e86(0x259)]),_0x394501['v']=_0x435609;}return _0x394501;},Fi=(_0xf75db7,_0x1c3ab8,_0x3d6e1e)=>{const _0x397c00=_0x2b5256;var _0x8d07cb,_0x52c4ee,_0x16df1c,_0x16e293,_0x380156,_0x3dd6f6,_0x5c0322,_0x3d8883,_0x1f54a1,_0x34d53f,_0x14bc93,_0x3e87c0;const {cornerView:_0x4a4e97,rowView:_0x4d5ad5,colView:_0x367f1e,dataView:_0x472cfc,pageView:_0x1f4f4e,formatMap:_0x105ef5}=_0xf75db7,{row:_0x3dcb3b,col:_0x5d3efc}=_0x1c3ab8,_0x5e8675=new _0x1f0092();let _0x5e3e2c=_0x3dcb3b,_0x1d7b44=_0x5d3efc;Object[_0x397c00(0x176)](_0x1f4f4e[_0x397c00(0x1a9)])[_0x397c00(0x17d)](_0x3b41e2=>{const _0x549ccf=_0x397c00;Object[_0x549ccf(0x176)](_0x1f4f4e['data'][Number(_0x3b41e2)])[_0x549ccf(0x17d)](_0x5cb6ba=>{const _0x504cdd=_0x549ccf,_0xf44988={..._0x1f4f4e[_0x504cdd(0x1a9)][Number(_0x3b41e2)][Number(_0x5cb6ba)]};_0x5e8675['setValue'](Number(_0x3b41e2)+_0x5e3e2c,Number(_0x5cb6ba)+_0x1d7b44,st(_0xf44988));});});const _0x48a385=Object[_0x397c00(0x176)](_0x1f4f4e[_0x397c00(0x1a9)])[_0x397c00(0x1bf)];_0x5e3e2c+=_0x48a385+(_0x48a385?It:0x0);const _0x145dd1=_0x4a4e97[_0x397c00(0x2a8)](),_0x3e6dee=_0x4a4e97[_0x397c00(0x1ea)]();for(let _0x22200e=0x0;_0x22200e<_0x145dd1;_0x22200e++)for(let _0x1c30bb=0x0;_0x1c30bb<_0x3e6dee;_0x1c30bb++){const _0x18876e={...(_0x52c4ee=(_0x8d07cb=_0x4a4e97['data'])==null?void 0x0:_0x8d07cb[_0x22200e])==null?void 0x0:_0x52c4ee[_0x1c30bb]};_0x18876e&&((_0x16df1c=_0x4d5ad5[_0x397c00(0x20f)][_0x1c30bb])!=null&&_0x16df1c[_0x397c00(0x238)])&&_0x1c30bb===_0x3e6dee-0x1&&_0x22200e===_0x145dd1-0x1&&(_0x18876e['v']=''+_0x3d6e1e[_0x397c00(0x110)]),_0x5e8675[_0x397c00(0x323)](_0x22200e+_0x5e3e2c,_0x1c30bb+_0x1d7b44,st(_0x18876e));}_0x1d7b44+=_0x3e6dee;const _0x23bd42=_0x367f1e['headerMap'],_0x1bda21=_0x367f1e[_0x397c00(0x2a9)]()>=0x0?_0x367f1e[_0x397c00(0x2a9)]()+0x1:0x0,_0xf61ba=_0x367f1e[_0x397c00(0x2be)]()>=0x0?_0x367f1e['getLastCol']()+0x1:0x0;for(let _0x4da032=0x0;_0x4da032<_0xf61ba;_0x4da032++)for(let _0x1604ce=0x0;_0x1604ce<_0x1bda21;_0x1604ce++){const _0x31d8e7={...(_0x380156=(_0x16e293=_0x367f1e[_0x397c00(0x1a9)])==null?void 0x0:_0x16e293[_0x4da032])==null?void 0x0:_0x380156[_0x1604ce]},_0x4cd39e=(_0x3dd6f6=_0x23bd42[_0x4da032])==null?void 0x0:_0x3dd6f6[_0x397c00(0xef)],_0x1e4a31=_0x105ef5[_0x4cd39e];_0x31d8e7&&(_0x31d8e7['v']=ht(_0x31d8e7,_0x4da032===0x0&&((_0x5c0322=_0x367f1e[_0x397c00(0x120)](_0x1604ce+0x1))==null?void 0x0:_0x5c0322['isValue']),_0x1e4a31,_0x3d6e1e)),_0x5e8675['setValue'](_0x4da032+_0x5e3e2c,_0x1604ce+_0x1d7b44,st(_0x31d8e7));}_0x5e3e2c+=_0x145dd1;const _0x29eac8=_0x4d5ad5[_0x397c00(0x20f)],_0x51b183=_0x4d5ad5[_0x397c00(0x2a9)]()>=0x0?_0x4d5ad5['getLastRow']()+0x1:0x0,_0x24b198=_0x4d5ad5[_0x397c00(0x2be)]()>=0x0?_0x4d5ad5[_0x397c00(0x2be)]()+0x1:0x0;for(let _0x23f00f=0x0;_0x23f00f<_0x51b183;_0x23f00f++)for(let _0x182783=0x0;_0x182783<_0x24b198;_0x182783++){const _0x504009={...(_0x1f54a1=(_0x3d8883=_0x4d5ad5[_0x397c00(0x1a9)])==null?void 0x0:_0x3d8883[_0x23f00f])==null?void 0x0:_0x1f54a1[_0x182783]},_0x2092c8=(_0x34d53f=_0x29eac8[_0x182783])==null?void 0x0:_0x34d53f[_0x397c00(0xef)],_0x4a0acb=_0x105ef5[_0x2092c8];_0x504009&&(_0x504009['v']=ht(_0x504009,!0x1,_0x4a0acb,_0x3d6e1e)),_0x5e8675['setValue'](_0x23f00f+_0x5e3e2c,_0x182783+_0x5d3efc,st(_0x504009));}const _0x3b98ac=_0x472cfc[_0x397c00(0x2a8)](),_0x4d640e=_0x472cfc['getColCount']();for(let _0xdcadab=0x0;_0xdcadab<_0x3b98ac;_0xdcadab++)for(let _0x1ff3c5=0x0;_0x1ff3c5<_0x4d640e;_0x1ff3c5++){const _0x116b08={...(_0x3e87c0=(_0x14bc93=_0x472cfc['data'])==null?void 0x0:_0x14bc93[_0xdcadab])==null?void 0x0:_0x3e87c0[_0x1ff3c5]};_0x5e8675[_0x397c00(0x323)](_0xdcadab+_0x5e3e2c,_0x1ff3c5+_0x1d7b44,st(_0x116b08));}return _0x5e8675;},Di=_0x51718c=>{const _0x138101=_0x2b5256,{view:_0x52fd46,targetCellInfo:_0x5445da,isEmpty:_0x543b4c,textInfo:_0x16e3d9}=_0x51718c;if(_0x543b4c)return _i(_0x51718c);const {pageView:_0x114b8e,cornerView:_0x35b000,rowView:_0x41c42d,colView:_0x5b2608,dataView:_0x1b604f}=_0x52fd46,_0x1763d4=ge(_0x5445da,_0x114b8e,!0x0),_0x52cd3d=_0x114b8e[_0x138101(0x1f0)]>=0x0?_0x114b8e[_0x138101(0x1f0)]+0x1:0x0,_0x557304=_0x35b000[_0x138101(0x2a8)](),_0x48c03e=_0x35b000['getColCount'](),_0x5c8372=_0x1763d4[_0x138101(0x1bf)]>0x0?It:0x0,_0x25fe42=ge({'row':_0x5445da[_0x138101(0x25b)]+_0x52cd3d+_0x5c8372,'col':_0x5445da[_0x138101(0x112)]},_0x35b000,!0x1,!0x1),_0x1e9a0c=ge({'row':_0x5445da[_0x138101(0x25b)]+_0x52cd3d+_0x5c8372+_0x557304,'col':_0x5445da[_0x138101(0x112)]},_0x41c42d,!0x1,!0x0),_0x5100b3=ge({'row':_0x5445da[_0x138101(0x25b)]+_0x52cd3d+_0x5c8372,'col':_0x5445da[_0x138101(0x112)]+_0x48c03e},_0x5b2608,!0x1,!0x0),_0x3ab448=ge({'row':_0x5445da['row']+_0x52cd3d+_0x5c8372+_0x557304,'col':_0x5445da[_0x138101(0x112)]+_0x48c03e},_0x1b604f,!0x1,!0x1),_0x2e6a2f={'rowRanges':_0x1e9a0c,'colRanges':_0x5100b3,'cornerRanges':_0x25fe42,'dataRanges':_0x3ab448,'pageRanges':_0x1763d4};return{'matrix':Fi(_0x52fd46,_0x5445da,_0x16e3d9),'rangesCache':_0x2e6a2f};};var Ni=Object[_0x2b5256(0x340)],Ui=(_0x20a0b1,_0x4a4f1c,_0xc278de,_0x2af261)=>{const _0x3dbfd4=_0x2b5256;for(var _0x1bb942=_0x2af261>0x1?void 0x0:_0x2af261?Ni(_0x4a4f1c,_0xc278de):_0x4a4f1c,_0x5b78b0=_0x20a0b1[_0x3dbfd4(0x1bf)]-0x1,_0x4e198a;_0x5b78b0>=0x0;_0x5b78b0--)(_0x4e198a=_0x20a0b1[_0x5b78b0])&&(_0x1bb942=_0x4e198a(_0x1bb942)||_0x1bb942);return _0x1bb942;},He=(_0x25bdd8,_0x2ba264)=>(_0x4f4b0,_0xe4da6f)=>_0x2ba264(_0x4f4b0,_0xe4da6f,_0x25bdd8);let G=class extends _0x2a8c6f{constructor(_0x4aa068,_0x39126e,_0x5286e5,_0x5492c3,_0x241a1b,_0x1767d9){const _0x4a5b44=_0x2b5256;super(),V(this,'_model',new Map()),V(this,_0x4a5b44(0xd5),new Map()),V(this,_0x4a5b44(0x16b),new Map()),V(this,_0x4a5b44(0x240)),V(this,_0x4a5b44(0x129),new _0x20e75b()),V(this,'collectionChange$',this[_0x4a5b44(0x129)][_0x4a5b44(0x118)]()),V(this,_0x4a5b44(0x2ee),new _0x20e75b()),V(this,_0x4a5b44(0xda),this['_viewData$'][_0x4a5b44(0x118)]()),V(this,_0x4a5b44(0x249),new _0x20e75b()),V(this,_0x4a5b44(0x2d4),this[_0x4a5b44(0x249)]['asObservable']()),V(this,'_dataFieldManagerCollection',new Map()),V(this,_0x4a5b44(0x1a2),[]),V(this,_0x4a5b44(0x185),new Map()),(this[_0x4a5b44(0x2e7)]=_0x4aa068,this['_univerInstanceService']=_0x39126e,this['_lifecycleService']=_0x5286e5,this[_0x4a5b44(0x29b)]=_0x5492c3,this[_0x4a5b44(0x318)]=_0x241a1b,this[_0x4a5b44(0x1db)]=_0x1767d9,this['_initSnapshot']());}[_0x2b5256(0x24e)](){const _0x3e5ee3=_0x2b5256;return this[_0x3e5ee3(0x240)]?this['_textInfo']:Mi;}[_0x2b5256(0x1b3)](_0x1e77f3){const _0x15a26b=_0x2b5256;this[_0x15a26b(0x240)]=_0x1e77f3;}[_0x2b5256(0x1dc)](_0x21c7ab){const _0x4c0af0=_0x2b5256;var _0x35b76f;const {from:_0x5dd36a,to:_0x565ceb,unitId:_0x4e3b5e,fromRange:_0x8e9708,toRange:_0x23f19b}=_0x21c7ab;if(_0x5dd36a&&_0x565ceb){const _0x10f584=this[_0x4c0af0(0x194)](_0x4e3b5e),_0x257bf6=this[_0x4c0af0(0x166)][_0x4c0af0(0x2f6)](_0x4e3b5e),_0x1f72fc=(_0x35b76f=this[_0x4c0af0(0x204)][_0x4c0af0(0xe3)](_0x4e3b5e))==null?void 0x0:_0x35b76f[_0x4c0af0(0x10a)](_0x565ceb[_0x4c0af0(0x2ab)]);if(!_0x257bf6||!_0x1f72fc)return;const _0x31956c=_0x1f72fc==null?void 0x0:_0x1f72fc[_0x4c0af0(0x1b1)]();for(const [_0x5d23aa,_0x445511]of _0x257bf6[_0x4c0af0(0x116)]())for(const [_0x5e035d,_0x4213c8]of _0x445511[_0x4c0af0(0x116)]()){const {sourceRangeInfo:_0x23ad3a}=_0x4213c8;if(_0x23ad3a[_0x4c0af0(0x2df)]===_0x4e3b5e&&_0x23ad3a[_0x4c0af0(0x2ab)]===_0x5dd36a[_0x4c0af0(0x2ab)]&&_0x4d62a4[_0x4c0af0(0x2c4)](_0x8e9708,_0x23ad3a['range'])){const _0x445de7={'row':_0x23ad3a['range']['startRow']-_0x8e9708['startRow'],'col':_0x23ad3a[_0x4c0af0(0x27c)][_0x4c0af0(0x1d8)]-_0x8e9708['startColumn']},_0x12b4a8={'unitId':_0x4e3b5e,'subUnitId':_0x565ceb['subUnitId'],'sheetName':_0x31956c,'range':{'startRow':_0x23f19b['startRow']+_0x445de7[_0x4c0af0(0x25b)],'endRow':_0x23f19b[_0x4c0af0(0x12c)]+_0x445de7['row']+_0x23ad3a[_0x4c0af0(0x27c)][_0x4c0af0(0x136)]-_0x23ad3a['range']['startRow'],'startColumn':_0x23f19b[_0x4c0af0(0x1d8)]+_0x445de7['col'],'endColumn':_0x23f19b[_0x4c0af0(0x1d8)]+_0x445de7[_0x4c0af0(0x112)]+_0x23ad3a['range'][_0x4c0af0(0x219)]-_0x23ad3a[_0x4c0af0(0x27c)][_0x4c0af0(0x1d8)]}};_0x10f584[_0x4c0af0(0x1dc)](_0x5e035d,_0x12b4a8);const _0x4be11a={..._0x4213c8,'sourceRangeInfo':_0x12b4a8};this[_0x4c0af0(0x11e)](_0x4e3b5e,_0x565ceb[_0x4c0af0(0x2ab)],_0x5e035d,_0x4be11a),this['broadcastCollectionChange']({'unitId':_0x4e3b5e,'token':_0x5e035d,'type':ke['update'],'oldSourceRangeInfo':_0x23ad3a,'dataRangeInfo':_0x12b4a8,'targetCellInfo':_0x4213c8[_0x4c0af0(0x169)]}),this[_0x4c0af0(0x12d)]({'unitId':_0x4e3b5e,'subUnitId':_0x565ceb['subUnitId'],'oldSubUnitId':_0x5d23aa,'pivotTableId':_0x5e035d,'pivotTableConfig':_0x4be11a,'collectionConfig':_0x10f584[_0x4c0af0(0x2f4)]()});}}}}[_0x2b5256(0x29d)](_0x33fdd8){const _0x81b2ad=_0x2b5256;this['_collectionChange$'][_0x81b2ad(0x23d)](_0x33fdd8);}[_0x2b5256(0x194)](_0x1da91b){const _0xfbffc=_0x2b5256;let _0x46ad29=this[_0xfbffc(0x147)][_0xfbffc(0x2f6)](_0x1da91b);return _0x46ad29||(_0x46ad29=new Ri(this,this['_univerInstanceService']),this[_0xfbffc(0x147)][_0xfbffc(0x2f1)](_0x1da91b,_0x46ad29)),_0x46ad29;}[_0x2b5256(0x231)](_0x3fdbdf,_0x3cd8df){const _0x540dac=_0x2b5256;return this[_0x540dac(0x194)](_0x3fdbdf)[_0x540dac(0x1c1)][_0x3cd8df];}[_0x2b5256(0x150)](_0x40c95f,_0xe946e8,_0x5cd0b5){const _0x4af4eb=_0x2b5256;return this['getDataFieldManager'](_0x40c95f)[_0x4af4eb(0x150)](_0xe946e8,_0x5cd0b5);}[_0x2b5256(0x33e)](_0x4b64fb,_0xccf476){const _0x2d90a7=_0x2b5256;let _0x3a7991=this[_0x2d90a7(0x166)][_0x2d90a7(0x2f6)](_0x4b64fb);_0x3a7991||(_0x3a7991=new Map(),this[_0x2d90a7(0x166)][_0x2d90a7(0x2f1)](_0x4b64fb,_0x3a7991));let _0x1e8c89=_0x3a7991[_0x2d90a7(0x2f6)](_0xccf476);return _0x1e8c89||(_0x1e8c89=new Map(),_0x3a7991[_0x2d90a7(0x2f1)](_0xccf476,_0x1e8c89)),_0x1e8c89;}[_0x2b5256(0x11e)](_0x5084ff,_0x13adb1,_0x456a81,_0x578706){const _0x5ed630=_0x2b5256;this[_0x5ed630(0x33e)](_0x5084ff,_0x13adb1)['set'](_0x456a81,_0x578706);}[_0x2b5256(0x2c7)](_0x2cf770,_0x30ecec,_0x1c42d6){const _0x30ebbe=_0x2b5256;var _0x53a2ea,_0x2c8da9,_0x3128e9,_0x4211cf;((_0x2c8da9=(_0x53a2ea=this[_0x30ebbe(0x166)][_0x30ebbe(0x2f6)](_0x2cf770))==null?void 0x0:_0x53a2ea[_0x30ebbe(0x2f6)](_0x30ecec))==null?void 0x0:_0x2c8da9[_0x30ebbe(0x2f6)](_0x1c42d6))&&((_0x4211cf=(_0x3128e9=this[_0x30ebbe(0x166)][_0x30ebbe(0x2f6)](_0x2cf770))==null?void 0x0:_0x3128e9[_0x30ebbe(0x2f6)](_0x30ecec))==null||_0x4211cf[_0x30ebbe(0x272)](_0x1c42d6));}['_updatePivotTableInstanceCache'](_0x3c2fc5,_0x18105a){const _0x2b4236=_0x2b5256;this['_pivotTableInstanceCache'][_0x2b4236(0x2f1)](_0x3c2fc5,_0x18105a);}[_0x2b5256(0x106)](_0x5c7607){const _0x269dce=_0x2b5256;this[_0x269dce(0xd5)][_0x269dce(0x272)](_0x5c7607);}[_0x2b5256(0x2f8)](_0x4fed2e,_0x5f4c1d){const _0x569153=_0x2b5256;let _0x34ca6a=this[_0x569153(0x16b)][_0x569153(0x2f6)](_0x4fed2e);_0x34ca6a||(_0x34ca6a=new Map(),this['_viewData'][_0x569153(0x2f1)](_0x4fed2e,_0x34ca6a));let _0x241672=_0x34ca6a['get'](_0x5f4c1d);return _0x241672||(_0x241672=new Map(),_0x34ca6a[_0x569153(0x2f1)](_0x5f4c1d,_0x241672)),_0x241672;}[_0x2b5256(0x12d)](_0x5be412){const _0x31b473=_0x2b5256,{unitId:_0x323a59,subUnitId:_0x437901,pivotTableId:_0x2b7a70,pivotTableConfig:_0x927a1,collectionConfig:_0x587653}=_0x5be412,_0x89d39a={'unitId':_0x323a59,'subUnitId':_0x437901,'oldSubUnitId':_0x437901,'pivotTableId':_0x2b7a70,'pivotTableConfig':_0x927a1,'collectionConfig':_0x587653};this[_0x31b473(0x318)][_0x31b473(0x217)](co['id'],_0x89d39a,{'onlyLocal':!0x0});}['updateView'](_0x48ec2f,_0x1205fe,_0x381872,_0x257418,_0x515650,_0x3589a2,_0x2e02d1,_0x34af59=!0x1){const _0x269709=_0x2b5256;var _0x15ef99;this['_commandService']['executeCommand'](Dt['id'],{'single':{'unitId':_0x48ec2f,'subUnitId':_0x1205fe,'type':_0x381872,'pivotTableId':_0x257418,'view':_0x515650,'pivotConfig':_0x3589a2},'collectionConfig':{[_0x48ec2f]:_0x2e02d1}},{'onlyLocal':!0x0});const _0x2f81cd=!!((_0x15ef99=this[_0x269709(0x105)](_0x257418))!=null&&_0x15ef99[_0x269709(0x22b)]()),_0x2bae65=this[_0x269709(0x183)](_0x48ec2f,_0x1205fe,_0x257418);_0x2bae65&&this['updateViewData']({'view':_0x515650,'pivotTableId':_0x257418,'textInfo':this[_0x269709(0x24e)](),'isEmpty':_0x2f81cd,'targetCellInfo':_0x2bae65['targetCellInfo']},_0x34af59);}['updateViewData'](_0x1d022e,_0x3ee621){const _0x16caa6=_0x2b5256,{targetCellInfo:_0x1c2bb7,pivotTableId:_0x5295e9}=_0x1d022e,{unitId:_0x260b94,subUnitId:_0x4a0151}=_0x1c2bb7,_0x23aa54=this['_ensureViewDataMap'](_0x260b94,_0x4a0151),_0x1b9c4f=_0x23aa54[_0x16caa6(0x2f6)](_0x5295e9);let _0x44ae5e,_0x41f819;_0x1b9c4f&&(_0x44ae5e=_0x1b9c4f[_0x16caa6(0x21b)],_0x41f819=_0x1b9c4f[_0x16caa6(0x103)]);const {rangesCache:_0x172322,matrix:_0x3b6b03}=Di(_0x1d022e);_0x23aa54[_0x16caa6(0x2f1)](_0x5295e9,{'rangeCache':_0x172322,'matrix':_0x3b6b03,'oldMatrix':_0x41f819,'oldRangeCache':_0x44ae5e}),_0x3ee621||this[_0x16caa6(0x2ee)][_0x16caa6(0x23d)]({'unitId':_0x260b94,'subUnitId':_0x4a0151,'pivotTableId':_0x5295e9});}[_0x2b5256(0x232)](_0x3ff043,_0x2cb361,_0x7dc89,_0x5674e1,_0x57a34e){const _0x118ed2=_0x2b5256;this[_0x118ed2(0x11e)](_0x3ff043,_0x2cb361,_0x7dc89,_0x57a34e),this[_0x118ed2(0x30b)](_0x7dc89,_0x5674e1);}[_0x2b5256(0x17f)](_0x4fd99e,_0x49c8c6,_0x85d849){const _0x6a2b8b=_0x2b5256,_0x532871=this['getDataFieldManager'](_0x4fd99e);_0x532871[_0x6a2b8b(0x31f)](_0x85d849)[_0x6a2b8b(0x17d)](_0x3cda2b=>{const _0x5c7fe8=_0x6a2b8b;_0x532871[_0x5c7fe8(0x14d)](_0x3cda2b);}),this['removeCollections'](_0x4fd99e,_0x85d849),this['_deleteModelCache'](_0x4fd99e,_0x49c8c6,_0x85d849),this['_deletePivotTableInstanceCache'](_0x85d849);}[_0x2b5256(0x2c0)](_0x22f873,_0x5ce871,_0x5bf6fb,_0xd8f2a6){this['_updateModelCache'](_0x22f873,_0x5ce871,_0x5bf6fb,_0xd8f2a6);}[_0x2b5256(0x183)](_0x25b9ca,_0x5cabde,_0x5037c1){const _0x5ba88b=_0x2b5256;var _0x328e91,_0x5ba470;const _0xba7041=(_0x5ba470=(_0x328e91=this['_model'][_0x5ba88b(0x2f6)](_0x25b9ca))==null?void 0x0:_0x328e91[_0x5ba88b(0x2f6)](_0x5cabde))==null?void 0x0:_0x5ba470[_0x5ba88b(0x2f6)](_0x5037c1);if(_0xba7041)return _0xba7041;}['getPivotTableModelConfig'](_0x4dadd6,_0x42e5bc,_0x24fa85){const _0x2e3692=_0x2b5256;var _0x140923,_0x4ff0a1;const _0x5aa954=(_0x4ff0a1=(_0x140923=this[_0x2e3692(0x166)][_0x2e3692(0x2f6)](_0x4dadd6))==null?void 0x0:_0x140923[_0x2e3692(0x2f6)](_0x42e5bc))==null?void 0x0:_0x4ff0a1[_0x2e3692(0x2f6)](_0x24fa85);if(_0x5aa954)return _0x5aa954['fieldsConfig'];}[_0x2b5256(0x105)](_0x32381a){const _0x38cc5e=_0x2b5256;return this[_0x38cc5e(0xd5)][_0x38cc5e(0x2f6)](_0x32381a);}['deleteUnitId'](_0x377935){const _0x488ef7=_0x2b5256;this[_0x488ef7(0x166)]['delete'](_0x377935);const _0x523112=this[_0x488ef7(0x147)][_0x488ef7(0x2f6)](_0x377935);_0x523112&&(_0x523112['dispose'](),this[_0x488ef7(0x147)][_0x488ef7(0x272)](_0x377935)),this[_0x488ef7(0x16b)]['delete'](_0x377935),this[_0x488ef7(0x1a2)][_0x488ef7(0x17d)](_0x407bec=>{const _0x493e48=_0x488ef7;_0x407bec[_0x493e48(0x121)](_0x377935);});}[_0x2b5256(0x330)](_0x3de3a2,_0x3e0f8c,_0x103363,_0x43e865){const _0x292dc5=_0x2b5256;return this[_0x292dc5(0x194)](_0x103363[_0x292dc5(0x2df)])[_0x292dc5(0x330)](_0x3de3a2,_0x3e0f8c,_0x103363,_0x43e865);}[_0x2b5256(0x1b5)](_0x4edf69){const _0x5a2983=_0x2b5256;return this[_0x5a2983(0x194)](_0x4edf69[_0x5a2983(0x2df)])['createCollectionWithDataRange'](_0x4edf69);}[_0x2b5256(0x2cf)](_0x418971,_0x41cab9,_0xd55c4a){const _0x31107e=_0x2b5256;this['getDataFieldManager'](_0xd55c4a['unitId'])[_0x31107e(0x2cf)](_0x418971,_0x41cab9,_0xd55c4a);}['removeDataField'](_0x478c80,_0x350024){const _0x2f6ce9=_0x2b5256;this['getDataFieldManager'](_0x478c80)[_0x2f6ce9(0x14d)](_0x350024);}[_0x2b5256(0x20b)](_0x608ed,_0x2d0a8f){const _0x44ba15=_0x2b5256;this[_0x44ba15(0x194)](_0x608ed)['removeCollectionImp'](_0x2d0a8f);}['getSubUnitPivotConfigs'](_0x292e62,_0x2a14ce){const _0x182a62=_0x2b5256;var _0x343c9c;return(_0x343c9c=this[_0x182a62(0x166)][_0x182a62(0x2f6)](_0x292e62))==null?void 0x0:_0x343c9c[_0x182a62(0x2f6)](_0x2a14ce);}[_0x2b5256(0x172)](_0x5ab35c){const _0x462982=_0x2b5256;for(const [_0xef7973,_0x55aa66]of this[_0x462982(0x166)][_0x462982(0x116)]())for(const [_0x4869e7,_0x188cdc]of _0x55aa66[_0x462982(0x116)]())if(_0x188cdc[_0x462982(0x132)](_0x5ab35c))return{'unitId':_0xef7973,'subUnitId':_0x4869e7};return null;}['sideEffectUpdateWorkerCache'](_0x4e7fdb,_0x4ae0f4,_0x368c17,_0x41765c){const _0x34c91a=_0x2b5256,_0x54f050=this[_0x34c91a(0x2f8)](_0x4e7fdb,_0x4ae0f4);_0x41765c?_0x54f050['set'](_0x368c17,_0x41765c):_0x54f050['delete'](_0x368c17),this[_0x34c91a(0x2ee)][_0x34c91a(0x23d)]({'unitId':_0x4e7fdb,'subUnitId':_0x4ae0f4,'pivotTableId':_0x368c17});}[_0x2b5256(0x1d9)](){const _0x545342=_0x2b5256;super[_0x545342(0x1d9)]();}[_0x2b5256(0x14f)](_0x3b0397,_0x146699,_0x449a89){const _0x4433ea=_0x2b5256;var _0x146d74,_0x380fed;const _0x4f6d5c=(_0x380fed=(_0x146d74=this['_viewData']['get'](_0x3b0397))==null?void 0x0:_0x146d74[_0x4433ea(0x2f6)](_0x146699))==null?void 0x0:_0x380fed[_0x4433ea(0x2f6)](_0x449a89);return _0x4f6d5c||null;}[_0x2b5256(0x24a)](_0x1e5c5b){const _0x7a7582=_0x2b5256;this[_0x7a7582(0x23e)](_0x1e5c5b);}[_0x2b5256(0x23e)](_0x540782){const _0x4ed939=_0x2b5256,{token:_0x2b1fcc,unitId:_0x503573,subUnitId:_0x4784dc}=_0x540782,_0x38893a=_0x503573+'-'+_0x4784dc+'-'+_0x2b1fcc;this['_queryingMap']['get'](_0x38893a)&&clearTimeout(this[_0x4ed939(0x185)]['get'](_0x38893a));const _0x5f3f19=setTimeout(()=>{const _0x4ee6b6=_0x4ed939;this[_0x4ee6b6(0x22a)](_0x540782),this[_0x4ee6b6(0x185)][_0x4ee6b6(0x272)](_0x38893a);},Pi);this['_queryingMap'][_0x4ed939(0x2f1)](_0x38893a,_0x5f3f19);}[_0x2b5256(0x22a)](_0x453b0e){const _0x55fdcc=_0x2b5256,{unitId:_0xcc608c,subUnitId:_0x33b15b,token:_0x11e18d,type:_0x222614,pivotConfig:_0x537e02}=_0x453b0e,_0x98fa2d=this['getPivotTableInstance'](_0x11e18d),_0x1d13f3=_0x98fa2d==null?void 0x0:_0x98fa2d['query'](),_0x45638a=_0x537e02!=null?_0x537e02:this['getPivotTableConfig'](_0xcc608c,_0x33b15b,_0x11e18d);_0x45638a&&(_0x45638a[_0x55fdcc(0x22b)]=!!(_0x98fa2d!=null&&_0x98fa2d[_0x55fdcc(0x22b)]())),(_0x1d13f3||_0x222614===L['Delete'])&&this[_0x55fdcc(0x1d2)](_0xcc608c,_0x33b15b,_0x222614,_0x11e18d,_0x1d13f3,_0x45638a,this[_0x55fdcc(0x194)](_0xcc608c)[_0x55fdcc(0x2f4)]());}[_0x2b5256(0x2f4)](_0x5187dc){const _0x42682b=_0x2b5256,_0x103557={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x42682b(0x194)](_0x5187dc)&&(_0x103557[_0x42682b(0x312)][_0x5187dc]=this[_0x42682b(0x194)](_0x5187dc)[_0x42682b(0x2f4)]()),this[_0x42682b(0x166)][_0x42682b(0x2f6)](_0x5187dc)){_0x103557[_0x42682b(0x15c)][_0x5187dc]={};const _0x43c7a0=this[_0x42682b(0x166)][_0x42682b(0x2f6)](_0x5187dc);_0x43c7a0!=null&&_0x43c7a0[_0x42682b(0xcb)]&&[..._0x43c7a0[_0x42682b(0x176)]()][_0x42682b(0x17d)](_0x306c84=>{const _0x5a070a=_0x42682b,_0x519837=_0x43c7a0['get'](_0x306c84);_0x519837!=null&&_0x519837[_0x5a070a(0xcb)]&&(_0x103557[_0x5a070a(0x15c)][_0x5187dc][_0x306c84]={},[..._0x519837[_0x5a070a(0x176)]()][_0x5a070a(0x17d)](_0x3dc482=>{const _0x44735e=_0x5a070a,_0x5ec6ee=_0x519837[_0x44735e(0x2f6)](_0x3dc482);_0x5ec6ee&&(_0x103557[_0x44735e(0x15c)][_0x5187dc][_0x306c84][_0x3dc482]=_0x5ec6ee);}));});}return _0x103557;}[_0x2b5256(0x2e6)](_0x4dd0ea){const _0x542e0c=_0x2b5256;var _0x194ec9;const {dataFieldManagerConfig:_0x22cd04,pivotTableConfigs:_0x281e27}=_0x4dd0ea;_0x22cd04&&Object[_0x542e0c(0x176)](_0x22cd04)[_0x542e0c(0x17d)](_0xa49c5a=>{const _0x5695f1=_0x542e0c;this[_0x5695f1(0x194)](_0xa49c5a)[_0x5695f1(0x2e6)](_0x22cd04[_0xa49c5a]);});const _0x50409f=[];if(_0x281e27){const _0xa58155=(_0x194ec9=this[_0x542e0c(0x2e7)]['get'](_0x2a9e1d)[_0x542e0c(0xdd)](_0x1af733))!=null?_0x194ec9:{},{ls:_0x39c454,pbk:_0x54e434}=_0xa58155,_0x1019b4=go(so,_0x39c454,_0x54e434)['count'];Object['keys'](_0x281e27)[_0x542e0c(0x17d)](_0x4482ac=>{const _0x4fbf8c=_0x542e0c;let _0xaffd6c=0x0;const _0x3e2f85=_0x281e27[_0x4482ac];Object[_0x4fbf8c(0x176)](_0x3e2f85)['forEach'](_0x4536fb=>{const _0x5c1a4a=_0x4fbf8c,_0x15462a=_0x3e2f85[_0x4536fb];Object['keys'](_0x15462a)[_0x5c1a4a(0x17d)](_0x356fb0=>{const _0xa30b7a=_0x5c1a4a,_0x107204=_0x15462a[_0x356fb0];if(_0x107204){if(_0xaffd6c>=_0x1019b4)return;_0xaffd6c++;const _0x5e0a92=this[_0xa30b7a(0x194)](_0x4482ac),_0x582c64=_0x5e0a92['collections'][_0x356fb0],_0x4b9ac4=_0x582c64['getFieldIds']();let _0x417350=0x0;const _0x5f1787=[];for(const _0x17ba2a of _0x4b9ac4){const _0x204acc=_0x582c64[_0xa30b7a(0x273)](_0x17ba2a);if(_0x221f51(_0x204acc)){const _0x499dd9=_0x204acc[_0xa30b7a(0x210)](),_0x3299c5=_0x582c64['getFieldById'](_0x499dd9);_0x3299c5&&_0x5f1787[_0xa30b7a(0x25e)]([_0x204acc,_0x3299c5]);continue;}_0x5e0a92[_0xa30b7a(0x1af)](_0x17ba2a,_0x107204[_0xa30b7a(0x1c8)],_0x417350),_0x417350++;}_0x5f1787[_0xa30b7a(0x17d)](([_0x5d21d1,_0x3bfd21])=>{_0x5d21d1['refreshGroupField'](_0x3bfd21);});const _0x3eb0af=new _0x4ca182(_0x582c64);_0x3eb0af[_0xa30b7a(0x2e6)](_0x107204[_0xa30b7a(0x2d1)]),this[_0xa30b7a(0x232)](_0x4482ac,_0x4536fb,_0x356fb0,_0x3eb0af,_0x107204);const _0x56d3f7=_0x3eb0af[_0xa30b7a(0xfa)]();_0x50409f[_0xa30b7a(0x25e)]({'unitId':_0x4482ac,'subUnitId':_0x4536fb,'pivotTableId':_0x356fb0,'view':_0x56d3f7[_0xa30b7a(0x2f4)](),'pivotConfig':_0x107204,'type':L[_0xa30b7a(0x324)]});const _0x423e43=!!_0x3eb0af[_0xa30b7a(0x22b)](),_0x3147eb={'view':_0x56d3f7,'pivotTableId':_0x356fb0,'textInfo':this[_0xa30b7a(0x24e)](),'isEmpty':_0x423e43,'targetCellInfo':_0x107204[_0xa30b7a(0x169)]};this[_0xa30b7a(0x1ae)](_0x3147eb,!0x1);}});});});}_0x22cd04&&Object[_0x542e0c(0x176)](_0x22cd04)[_0x542e0c(0x17d)](_0x543fa0=>{const _0x16d6ef=_0x542e0c,_0x33cc63=this[_0x16d6ef(0x194)](_0x543fa0);this[_0x16d6ef(0x249)][_0x16d6ef(0x23d)](_0x33cc63[_0x16d6ef(0x1c1)]);}),this['_commandService'][_0x542e0c(0x217)](Dt['id'],{'batch':_0x50409f,'collectionConfig':_0x22cd04},{'onlyLocal':!0x0});}[_0x2b5256(0x16d)](){const _0x1411fd=_0x2b5256;this[_0x1411fd(0x2ea)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x424977=>JSON[_0x1411fd(0x2e5)](this[_0x1411fd(0x2f4)](_0x424977)),'parseJson':_0x19d59f=>{const _0x369d1d=_0x1411fd;if(!_0x19d59f)return{};try{return JSON[_0x369d1d(0x2b4)](_0x19d59f);}catch{return{};}},'businesses':[_0x4ca610[_0x1411fd(0x209)]],'pluginName':ao,'onLoad':(_0x5bcf6f,_0x565b14)=>{const _0x38e448=_0x1411fd;this[_0x38e448(0x2e6)](_0x565b14);},'onUnLoad':_0x1912f9=>{const _0x3b6d9d=_0x1411fd;this[_0x3b6d9d(0x121)](_0x1912f9);}}));}};G=Ui([He(0x0,_0x17f8d4(_0x184ee2)),He(0x1,_0x300869),He(0x2,_0x17f8d4(_0x1f108f)),He(0x3,_0x2a9e1d),He(0x4,_0x51f589),He(0x5,_0x17f8d4(_0x1a52b9))],G);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':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x8:{0x0:{'v':_0x2b5256(0x25b),'s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'values','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}}},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':[]},Wo=(_0x33691b,_0x17bd2e)=>{const _0xef7f58=_0x2b5256,_0x29653f=new _0x1f0092(),_0xae89cd=new _0x1f0092(Vi),{row:_0x4a97ea,col:_0x1b12fa}=_0x17bd2e;_0xae89cd[_0xef7f58(0x266)]((_0x56ab5d,_0x36af1e,_0x184a8a)=>{const _0x55bd53=_0xef7f58;let _0x73155a='';_0x184a8a['v']===_0x55bd53(0x180)?_0x73155a=_0x33691b[_0x55bd53(0x180)]:_0x184a8a['v']===_0x55bd53(0x25b)?_0x73155a=_0x33691b[_0x55bd53(0x25b)]:_0x184a8a['v']===_0x55bd53(0x2a5)?_0x73155a=_0x33691b[_0x55bd53(0x2a5)]:_0x184a8a['v']===_0x55bd53(0xd2)&&(_0x73155a=_0x33691b[_0x55bd53(0xd2)]),_0x29653f[_0x55bd53(0x323)](_0x56ab5d+_0x4a97ea,_0x36af1e+_0x1b12fa,{..._0x184a8a,'v':_0x73155a});});const _0x42967a=_0x500805['deepClone'](kt);return Object[_0xef7f58(0x176)](kt)['forEach'](_0x530437=>{const _0x4dbe02=_0xef7f58;_0x42967a[_0x530437]=kt[_0x530437]['map'](_0x26e4bf=>({..._0x26e4bf,'startRow':_0x26e4bf[_0x4dbe02(0x12c)]+_0x4a97ea,'endRow':_0x26e4bf['endRow']+_0x4a97ea,'startColumn':_0x26e4bf[_0x4dbe02(0x1d8)]+_0x1b12fa,'endColumn':_0x26e4bf[_0x4dbe02(0x219)]+_0x1b12fa}));}),{'matrixCache':_0x29653f,'rangesCache':_0x42967a};};function Ai(_0x3cb50f,_0x521a97){const _0xc67c53=_0x2b5256;let _0x65b43c='';const _0x2444e3=this[_0xc67c53(0x24e)]();switch(_0x521a97){case _0x25c3b8[_0xc67c53(0x104)]:_0x65b43c=_0x2444e3[_0xc67c53(0x1a8)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x242)]:_0x65b43c=_0x2444e3[_0xc67c53(0x23f)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x193)]:_0x65b43c=_0x2444e3['sheets-pivot.countNumsName']+_0x3cb50f;break;case _0x25c3b8['max']:_0x65b43c=_0x2444e3['sheets-pivot.maxName']+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x146)]:_0x65b43c=_0x2444e3[_0xc67c53(0x13d)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x213)]:_0x65b43c=_0x2444e3[_0xc67c53(0x1e8)]+_0x3cb50f;break;case _0x25c3b8['stdDev']:_0x65b43c=_0x2444e3[_0xc67c53(0x295)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x2a0)]:_0x65b43c=_0x2444e3[_0xc67c53(0x11c)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x133)]:_0x65b43c=_0x2444e3[_0xc67c53(0x27b)]+_0x3cb50f;break;case _0x25c3b8[_0xc67c53(0x32f)]:_0x65b43c=_0x2444e3[_0xc67c53(0xde)]+_0x3cb50f;break;case _0x25c3b8['varp']:_0x65b43c=_0x2444e3[_0xc67c53(0x218)]+_0x3cb50f;break;default:_0x65b43c=_0x3cb50f;break;}return _0x65b43c;}function Ei(_0x48d06f,_0x3e3602,_0x3b78bc,_0x397ea9,_0x2e800e){const _0x13fbb3=_0x2b5256;var _0x3eaf0f,_0x187251,_0x291998,_0x4ec2db,_0x52708c;const _0xa9a7cd=_0x2a8431(_0x48d06f,_0x3e3602),{rangesInfo:_0x3766e9,areaInfo:_0x471e01,headerMap:_0xaa30fb}=_0x2e800e;if(!_0x3766e9||!_0x471e01||!_0xaa30fb)return;const _0xcded7c=Object[_0x13fbb3(0x176)](_0x3766e9)[_0x13fbb3(0xe0)](_0x5e3952=>_0x3766e9[_0x5e3952][_0x13fbb3(0x1f5)](_0x41f3e2=>_0x4d62a4[_0x13fbb3(0x2c4)](_0x41f3e2,_0xa9a7cd))),_0x405782=_0x471e01;let _0x54f4ec,_0x5b021b,_0x4d64a0;if(_0xcded7c===_0x13fbb3(0x1fa))_0x54f4ec=(_0x3eaf0f=_0x405782==null?void 0x0:_0x405782[_0x13fbb3(0xd8)])==null?void 0x0:_0x3eaf0f[_0x48d06f],_0x5b021b=(_0x187251=_0xaa30fb==null?void 0x0:_0xaa30fb['rowHeaderMap'])==null?void 0x0:_0x187251[_0x3e3602],_0x4d64a0=_0x5b021b==null?void 0x0:_0x5b021b[_0x13fbb3(0xef)];else{if(_0xcded7c===_0x13fbb3(0x14c))_0x54f4ec=(_0x291998=_0x405782==null?void 0x0:_0x405782['colInfo'])==null?void 0x0:_0x291998[_0x3e3602],_0x5b021b=(_0x4ec2db=_0xaa30fb[_0x13fbb3(0x27e)])==null?void 0x0:_0x4ec2db[_0x48d06f+0x1+_0x3e3602-_0x3766e9[_0x13fbb3(0x14c)][0x0]['startColumn']],_0x4d64a0=_0x5b021b==null?void 0x0:_0x5b021b[_0x13fbb3(0xef)];else{if(_0xcded7c==='cornerRanges')_0x54f4ec=(_0x52708c=_0x405782==null?void 0x0:_0x405782[_0x13fbb3(0x270)])==null?void 0x0:_0x52708c[_0x3e3602],_0x4d64a0=_0x54f4ec==null?void 0x0:_0x54f4ec[_0x13fbb3(0xef)];else{if(_0xcded7c==='pageRanges'){const _0x5c78ea=_0x3b78bc==null?void 0x0:_0x3b78bc['fi'];_0x5c78ea!==void 0x0&&(_0x4d64a0=_0x397ea9[_0x13fbb3(0x1bb)](_0x5c78ea));}}}}return{'filterId':_0x4d64a0,'info':_0x54f4ec,'data':_0x3b78bc,'headerInfo':_0x5b021b};}function Oi(_0x31b93d,_0x20d465,_0x459049){const _0x549103=_0x2b5256,_0x3de742=_0x31b93d['dataFieldsCollection'],_0x1da448=_0x3de742[_0x549103(0x2e2)](),_0x22148d=new Set();_0x31b93d[_0x549103(0x109)](_0x2586e2=>{const _0x2ea2d7=_0x549103;_0x22148d[_0x2ea2d7(0x1ac)](_0x2586e2[_0x2ea2d7(0x222)]);});const _0xb53869=_0x1da448[_0x549103(0x250)](_0x159a2a=>{const _0x5e99dc=_0x549103,_0x49e3b3=_0x3de742['getFieldById'](_0x159a2a);return{'checked':_0x22148d[_0x5e99dc(0x132)](_0x159a2a),'dataFieldId':_0x49e3b3['id'],'id':_0x49e3b3['id'],'name':_0x3de742['getDisplayName'](_0x49e3b3['id']),'type':_0x49e3b3['getFieldDataType'](),'pivotTableId':_0x20d465};}),_0x5aa271=[];_0x31b93d[_0x549103(0x1f6)](_0x11f300[_0x549103(0x12f)],_0x262fee=>{const _0x25d5c0=_0x549103;_0x5aa271[_0x25d5c0(0x25e)]({'dataFieldId':_0x262fee[_0x25d5c0(0x222)],'tableFieldId':_0x262fee[_0x25d5c0(0x1c2)](),'displayName':_0x262fee[_0x25d5c0(0x21f)]()});});const _0x4d33e4=[];_0x31b93d[_0x549103(0x1f6)](_0x11f300[_0x549103(0x30f)],_0x5e38a7=>{const _0x290ff8=_0x549103;_0x4d33e4['push']({'dataFieldId':_0x5e38a7['dataFieldId'],'tableFieldId':_0x5e38a7[_0x290ff8(0x1c2)](),'displayName':_0x5e38a7[_0x290ff8(0x21f)]()});});const _0x46f0e9=[];if(_0x31b93d[_0x549103(0x1f6)](_0x11f300[_0x549103(0x117)],_0x19f23a=>{const _0x23d458=_0x549103;_0x46f0e9['push']({'dataFieldId':_0x19f23a[_0x23d458(0x222)],'tableFieldId':_0x19f23a[_0x23d458(0x1c2)](),'displayName':_0x19f23a[_0x23d458(0x21f)](),'format':_0x19f23a['getFormat'](),'subTotalType':_0x19f23a[_0x23d458(0x1ec)]()});}),_0x46f0e9['length']>0x1){const _0xa2b06c=_0x31b93d[_0x549103(0x1d3)]();(_0x31b93d[_0x549103(0x159)]()?_0x4d33e4:_0x5aa271)['splice'](_0xa2b06c,0x0,{'dataFieldId':'','tableFieldId':_0x549103(0x32b),'displayName':_0x549103(0x2db)});}const _0x4e14a2=[];_0x31b93d[_0x549103(0x1f6)](_0x11f300['Filter'],_0x1132a8=>{const _0x3c9e84=_0x549103;_0x4e14a2[_0x3c9e84(0x25e)]({'dataFieldId':_0x1132a8[_0x3c9e84(0x222)],'tableFieldId':_0x1132a8['getId'](),'displayName':_0x1132a8[_0x3c9e84(0x21f)]()});});const _0x41264a=_0x459049[_0x549103(0x1c8)];return{'sourceList':_0xb53869,'sourceRange':_0x41264a,'rowFields':_0x5aa271,'columnFields':_0x4d33e4,'valueFields':_0x46f0e9,'filterFields':_0x4e14a2,'positionInfo':_0x459049[_0x549103(0x169)]};}function fo(_0x25fdbb,_0x32944f,_0xec9ec7='',_0x1d82bd={}){const _0x5db7dc=_0x2b5256,_0x692945=_0x25fdbb[_0x5db7dc(0x2f6)](_0x2e7b0d);for(const _0x4c83a1 in _0x32944f)if(Object[_0x5db7dc(0x299)][_0x5db7dc(0xcd)][_0x5db7dc(0x29c)](_0x32944f,_0x4c83a1)){const _0x25ba4c=_0xec9ec7?_0xec9ec7+'.'+_0x4c83a1:_0x4c83a1;typeof _0x32944f[_0x4c83a1]=='object'&&_0x32944f[_0x4c83a1]!==null&&!Array['isArray'](_0x32944f[_0x4c83a1])?fo(_0x25fdbb,_0x32944f[_0x4c83a1],_0x25ba4c,_0x1d82bd):_0x1d82bd[_0x25ba4c]=_0x692945['t'](_0x25ba4c);}return _0x1d82bd;}const Lt=_0x574a29=>{const _0x5a26cb=_0x2b5256;if(!_0x574a29)return[];const {rowRanges:_0x36d172,colRanges:_0x1ffd53,cornerRanges:_0x261212,dataRanges:_0x4c90cc,pageRanges:_0x3eec47}=_0x574a29,_0x3dee8b=[..._0x1ffd53,..._0x36d172,..._0x4c90cc,..._0x261212][_0x5a26cb(0x180)](_0x3b7920=>_0x3b7920[_0x5a26cb(0x12c)]>=0x0&&_0x3b7920['startColumn']>=0x0&&_0x3b7920['endRow']>=0x0&&_0x3b7920[_0x5a26cb(0x219)]>=0x0);let _0x8d184d=Number[_0x5a26cb(0x2bb)],_0x33336c=Number[_0x5a26cb(0x197)],_0x2684e9=Number[_0x5a26cb(0x2bb)],_0x401ba7=Number[_0x5a26cb(0x197)];for(let _0x3154d4=0x0;_0x3154d4<_0x3dee8b[_0x5a26cb(0x1bf)];_0x3154d4++)_0x8d184d=Math['min'](_0x8d184d,_0x3dee8b[_0x3154d4][_0x5a26cb(0x12c)]),_0x33336c=Math[_0x5a26cb(0x2e8)](_0x33336c,_0x3dee8b[_0x3154d4]['endRow']),_0x2684e9=Math[_0x5a26cb(0x146)](_0x2684e9,_0x3dee8b[_0x3154d4]['startColumn']),_0x401ba7=Math['max'](_0x401ba7,_0x3dee8b[_0x3154d4]['endColumn']);return[..._0x3eec47,{'startRow':_0x8d184d,'endRow':_0x33336c,'startColumn':_0x2684e9,'endColumn':_0x401ba7}];};function xi(_0x58e6f1,_0x2bc4e9){const _0x5502f6=_0x2b5256,_0xf3e63f=_0x2bc4e9['params']['drillDown'],{pivotTableId:_0x31309e,unitId:_0x20f35d,subUnitId:_0x680d2d}=_0x2bc4e9;if(!_0xf3e63f)return;const _0x8135ed=_0x58e6f1[_0x5502f6(0x2f6)](G),_0x231a79=_0x8135ed['getPivotTableInstance'](_0x31309e),_0x50a31c=_0x8135ed[_0x5502f6(0x183)](_0x20f35d,_0x680d2d,_0x31309e);if(!_0x231a79||!_0x50a31c)return;const _0x55691=_0x231a79[_0x5502f6(0x127)](_0xf3e63f[_0x5502f6(0x207)]);if(!(_0x55691!=null&&_0x55691[_0x5502f6(0x1bf)]))return;const _0x3d67e2=_0x50a31c[_0x5502f6(0x1c8)],{unitId:_0x5d099b,subUnitId:_0x587dde,range:_0x4035f1}=_0x3d67e2;let _0x4e31e3=0x0;const _0x144fdb=_0x231a79[_0x5502f6(0x243)][_0x5502f6(0x2e2)]()[_0x5502f6(0x1c5)]((_0x19fd15,_0x5220dd)=>{const _0x45d429=_0x5502f6;var _0x250040;const _0x3c72ce=(_0x250040=_0x231a79['getDataFieldByDataFieldId'](_0x5220dd))==null?void 0x0:_0x250040[_0x45d429(0xc1)]();return _0x3c72ce&&(_0x19fd15[String(_0x4e31e3)]=_0x3c72ce),_0x4e31e3++,_0x19fd15;},{});return{'indexes':_0x55691,'range':_0x4035f1,'sourceUnitId':_0x5d099b,'sourceSubUnitId':_0x587dde,'formatMap':_0x144fdb};}function Ho(_0x3fd022,_0x31085b){const _0xd61e25=_0x2b5256;if(!_0x3fd022||!_0x31085b)return!0x0;const _0x5e1280=_0x16828d(Jo,$o),_0x41d9a6=new Function(_0xd61e25(0x2d8)+_0x5e1280)()(_0x3fd022,_0x31085b)[_0xd61e25(0x201)],_0x23ff8a=_0x452d19(_0x41d9a6,'sf',Bo);return!((_0x41d9a6==null?void 0x0:_0x41d9a6['rt'])===_0x232eb3[_0xd61e25(0x152)]&&!_0x23ff8a);}function go(_0xe57353,_0x5dd41a,_0x4c13b9){const _0x301d6d=_0x2b5256,_0x349311={'count':_0xe57353,'timeValid':!0x1};if(!_0x5dd41a||!_0x4c13b9)return _0x349311;const _0x46b30d=_0x16828d(Jo,$o),_0xa421ec=new Function('return\x20'+_0x46b30d)()(_0x5dd41a,_0x4c13b9);if(_0xa421ec!=null&&_0xa421ec[_0x301d6d(0x248)]){const _0x5a022b=_0xa421ec[_0x301d6d(0x201)],_0x569504=_0x452d19(_0x5a022b,'sf',Bo);return{'count':_0x36a08b(_0x5a022b,_0x569504,_0x301d6d(0x315),_0xe57353,_0xe57353,0x0),'timeValid':_0x569504};}return _0x349311;}function Ko(_0x5a2e6d,_0x25d449,_0x34d21a,_0x2f356d){const _0x96df99=_0x2b5256,_0x8da2fe={'subUnitId':_0x34d21a,'unitId':_0x25d449,'cellValue':_0x12dd3b(_0x2f356d)},_0x1c2287=_0x38a836(_0x5a2e6d,_0x8da2fe);let _0x55df7a=!0x1;return new _0x1f0092(_0x1c2287[_0x96df99(0x184)])[_0x96df99(0x266)]((_0x50fdf6,_0x13bb0b,_0x13ed3a)=>{const _0x1ac041=_0x96df99;if(!_0x55df7a&&_0x13ed3a&&(_0x13ed3a[_0x1ac041(0x2b5)]||_0x13ed3a['f']||_0x13ed3a['p']||_0x13ed3a['s']||_0x13ed3a['si']||_0x13ed3a['t']||_0x13ed3a['v']))return _0x55df7a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x41dfe1['id'],'params':_0x1c2287},'setRangeValueRedoMutation':{'id':_0x41dfe1['id'],'params':_0x8da2fe},'shouldClear':_0x55df7a};}function Bi(_0x1834e4){const {row:_0x92dcf9,col:_0x474465}=_0x1834e4,_0x7a86e4={'startRow':_0x92dcf9,'endRow':_0x92dcf9,'startColumn':_0x474465,'endColumn':_0x474465},_0x2dcc77={'startRow':_0x92dcf9+0x2,'endRow':_0x92dcf9+0xe,'startColumn':_0x474465,'endColumn':_0x474465+0x6};return[_0x7a86e4,_0x2dcc77];}function ji(_0x470400,_0x404b02,_0x263462){const _0x4c4ee3=_0x2b5256,{cornerView:_0x4a89ae,rowView:_0x12ca4c,colView:_0x475f1d,pageView:_0x94e4fb}=_0x470400,{row:_0x4a68db,col:_0x3a916f}=_0x404b02;if(_0x263462)return{'rowCount':bi+_0x4a68db,'colCount':Si+_0x3a916f};const _0x38b873=_0x94e4fb[_0x4c4ee3(0x1f0)]>-0x1?_0x94e4fb[_0x4c4ee3(0x1f0)]+0x1:0x0,_0x531cfd=_0x94e4fb['lastCol']>-0x1?_0x94e4fb[_0x4c4ee3(0x135)]:0x0,_0x36885c=_0x4a68db+_0x38b873+(_0x38b873?0x1:0x0)+_0x4a89ae[_0x4c4ee3(0x331)]+_0x12ca4c[_0x4c4ee3(0x331)],_0x4c2285=_0x3a916f+_0x531cfd,_0x167266=_0x3a916f+_0x4a89ae['colCount']+_0x475f1d[_0x4c4ee3(0xe4)],_0x57bc63=Math['max'](_0x4c2285,_0x167266);return{'rowCount':_0x36885c,'colCount':_0x57bc63};}function we(_0x4b3f73,_0x433a59,_0x15b2cf,_0x407d24){const _0x20fa80=_0x2b5256,{row:_0x28056e,col:_0x1d9891,unitId:_0x1a7fb9,subUnitId:_0x144031}=_0x15b2cf,_0x5f3b04=ji(_0x433a59,{'row':_0x28056e,'col':_0x1d9891},_0x407d24),_0x5af744=_0x4b3f73[_0x20fa80(0x2f6)](_0x300869),_0x5a3bc2=_0x1efd93(_0x5af744,{'unitId':_0x1a7fb9,'subUnitId':_0x144031}),_0x2f48c5=[],_0x556dcc=[];if(!_0x5a3bc2)return{'undos':_0x556dcc,'redos':_0x2f48c5};const {worksheet:_0x38ff9f}=_0x5a3bc2,_0xc65246=_0x38ff9f['getRowCount'](),_0x365171=_0x38ff9f['getColumnCount']();return _0xc65246<_0x5f3b04['rowCount']&&(_0x2f48c5['push']({'id':_0x18261d['id'],'params':{'unitId':_0x1a7fb9,'subUnitId':_0x144031,'range':{'startRow':_0xc65246,'endRow':_0x5f3b04[_0x20fa80(0x331)]-0x1,'startColumn':0x0,'endColumn':_0x365171-0x1}}}),_0x556dcc['push']({'id':_0x48c5bb['id'],'params':{'unitId':_0x1a7fb9,'subUnitId':_0x144031,'range':{'startRow':_0xc65246,'endRow':_0x5f3b04[_0x20fa80(0x331)]-0x1,'startColumn':0x0,'endColumn':_0x365171-0x1}}})),_0x365171<_0x5f3b04[_0x20fa80(0xe4)]&&(_0x2f48c5[_0x20fa80(0x25e)]({'id':_0x176ca7['id'],'params':{'unitId':_0x1a7fb9,'subUnitId':_0x144031,'range':{'startRow':0x0,'endRow':_0xc65246-0x1,'startColumn':_0x365171,'endColumn':_0x5f3b04['colCount']-0x1}}}),_0x556dcc['push']({'id':_0x57869c['id'],'params':{'unitId':_0x1a7fb9,'subUnitId':_0x144031,'range':{'startRow':0x0,'endRow':_0xc65246-0x1,'startColumn':_0x365171,'endColumn':_0x5f3b04['colCount']-0x1}}})),{'undos':_0x556dcc,'redos':_0x2f48c5};}function ki(_0x112626){const _0x30446e=_0x2b5256;let _0x443383=0x0;for(let _0x1003fb=0x0;_0x1003fb<_0x112626[_0x30446e(0x1bf)];_0x1003fb++){const _0x29333d=_0x112626['charCodeAt'](_0x1003fb);_0x29333d>=0x4e00&&_0x29333d<=0x9fff||_0x29333d>=0x3000&&_0x29333d<=0x303f||_0x29333d>=0xff00&&_0x29333d<=0xffef?_0x443383+=0x2:_0x443383+=0x1;}return _0x443383;}function To(_0x10fb0e,_0x3199f5,_0x33bdee,_0x529f0b){const _0x33712b=_0x2b5256;var _0x57ca18,_0x43d1c4,_0x2eeb25,_0xd4ac34;const {rowCount:_0x3f2162,colCount:_0x38d040,headerMap:_0x2f7281}=_0x10fb0e,_0x432feb=0x64,_0x1c70bf=Math[_0x33712b(0x146)](_0x3f2162,_0x432feb),_0x535327=Math[_0x33712b(0x146)](_0x38d040,_0x432feb);let _0x2d17fe='',_0x5074b8=0x0;for(let _0x74d0c1=0x0;_0x74d0c1<_0x1c70bf;_0x74d0c1++)for(let _0x169889=0x0;_0x169889<_0x535327;_0x169889++){const _0x4e40d={...(_0x43d1c4=(_0x57ca18=_0x10fb0e[_0x33712b(0x1a9)])==null?void 0x0:_0x57ca18[_0x74d0c1])==null?void 0x0:_0x43d1c4[_0x169889]},_0x5350df=(_0x2eeb25=_0x2f7281[_0x74d0c1])==null?void 0x0:_0x2eeb25[_0x33712b(0xef)],_0x25b4be=_0x529f0b[_0x5350df];let _0x36569c=_0x10fb0e[_0x33712b(0x21c)](_0x74d0c1,_0x169889);if(_0x4e40d){const _0x1b492b=_0x33bdee?_0x169889===0x0&&((_0xd4ac34=_0x10fb0e[_0x33712b(0x120)](_0x169889+0x1))==null?void 0x0:_0xd4ac34['isValue']):!0x1;_0x36569c=ht(_0x4e40d,_0x1b492b,_0x25b4be,_0x3199f5);}if(_0x36569c!==void 0x0){const _0x556ee2=ki(String(_0x36569c));_0x5074b8<_0x556ee2&&(_0x2d17fe=String(_0x36569c),_0x5074b8=_0x556ee2);}}return _0x2d17fe;}function Li(_0x1f578b){const _0xe1a5d3=_0x2b5256,{rowCount:_0x12e23,colCount:_0x61bd93}=_0x1f578b;let _0x23263e='',_0x37dc8f=0x0;for(let _0x999c6c=_0x12e23-0x1;_0x999c6c>0x0&&_0x999c6c>_0x12e23-0x3;_0x999c6c--)for(let _0x5745db=0x0;_0x5745db<_0x61bd93;_0x5745db++){const _0x5f4b70=_0x1f578b[_0xe1a5d3(0x21c)](_0x999c6c,_0x5745db);if(_0x5f4b70!==void 0x0){const _0x9dbce7=String(_0x5f4b70)[_0xe1a5d3(0x1bf)];_0x37dc8f<_0x9dbce7&&(_0x23263e=String(_0x5f4b70),_0x37dc8f=_0x9dbce7);}}return _0x23263e;}function Gi(_0x7aa506){const _0x5ef25a=_0x2b5256,{rowCount:_0x5b6fed,colCount:_0x505218}=_0x7aa506;let _0x59a0e0='',_0x4c7e2c=0x0;for(let _0x206023=0x0;_0x206023<_0x5b6fed;_0x206023++)for(let _0x47d740=0x0;_0x47d740<_0x505218;_0x47d740++){const _0x3f4e36=_0x7aa506[_0x5ef25a(0x21c)](_0x206023,_0x47d740);if(_0x3f4e36!==void 0x0){const _0x18b33f=String(_0x3f4e36)[_0x5ef25a(0x1bf)];_0x4c7e2c<_0x18b33f&&(_0x59a0e0=String(_0x3f4e36),_0x4c7e2c=_0x18b33f);}}return _0x59a0e0;}function $i(_0x298a79,_0x4ce424){const _0x12f479=_0x2b5256,{rowFields:_0x592683,columnFields:_0x3bb43c,valueFields:_0x158aa3,filterFields:_0x4ad1ca,dimension:_0x4107d1,measure:_0x1df649}=_0x4ce424;for(const _0x1a07fb of _0x592683){const _0x17fba7=_0x4107d1[_0x1a07fb];_0x17fba7&&_0x298a79[_0x12f479(0x1b6)](_0x17fba7['dataFieldId'])&&(_0x298a79[_0x12f479(0x1e4)](_0x17fba7[_0x12f479(0x222)],_0x11f300[_0x12f479(0x12f)],void 0x0,_0x1a07fb),_0x17fba7[_0x12f479(0x288)]&&_0x298a79[_0x12f479(0x15a)](_0x17fba7['id'],_0x17fba7[_0x12f479(0x288)]),_0x17fba7[_0x12f479(0x19f)]&&_0x298a79[_0x12f479(0x1a7)](_0x17fba7['id'],_0x17fba7['sortInfo']),_0x17fba7[_0x12f479(0x1a3)]&&_0x298a79[_0x12f479(0x258)](_0x17fba7['id'],_0x17fba7[_0x12f479(0x1a3)]));}for(const _0x4dda8c of _0x3bb43c){const _0x55887c=_0x4107d1[_0x4dda8c];_0x55887c&&_0x298a79['getDataFieldByDataFieldId'](_0x55887c[_0x12f479(0x222)])&&(_0x298a79[_0x12f479(0x1e4)](_0x55887c['dataFieldId'],_0x11f300['Column'],void 0x0,_0x4dda8c),_0x55887c[_0x12f479(0x19f)]&&_0x298a79[_0x12f479(0x1a7)](_0x55887c['id'],_0x55887c[_0x12f479(0x19f)]),_0x55887c['filterInfo']&&_0x298a79[_0x12f479(0x258)](_0x55887c['id'],_0x55887c[_0x12f479(0x1a3)]),_0x55887c[_0x12f479(0x288)]&&_0x298a79['renameField'](_0x55887c['id'],_0x55887c['displayName']));}for(const _0x1413ed of _0x4ad1ca){const _0x2607c1=_0x4107d1[_0x1413ed];_0x2607c1&&_0x298a79[_0x12f479(0x1b6)](_0x2607c1[_0x12f479(0x222)])&&(_0x298a79['addFieldWithSourceId'](_0x2607c1[_0x12f479(0x222)],_0x11f300[_0x12f479(0x252)],void 0x0,_0x1413ed),_0x2607c1['sortInfo']&&_0x298a79[_0x12f479(0x1a7)](_0x2607c1['id'],_0x2607c1[_0x12f479(0x19f)]),_0x2607c1[_0x12f479(0x1a3)]&&_0x298a79[_0x12f479(0x258)](_0x2607c1['id'],_0x2607c1[_0x12f479(0x1a3)]),_0x2607c1[_0x12f479(0x288)]&&_0x298a79['renameField'](_0x2607c1['id'],_0x2607c1[_0x12f479(0x288)]));}for(const _0x14bbd9 of _0x158aa3){const _0xe74244=_0x1df649[_0x14bbd9];_0xe74244&&_0x298a79[_0x12f479(0x1b6)](_0xe74244['dataFieldId'])&&(_0x298a79[_0x12f479(0x1e4)](_0xe74244['dataFieldId'],_0x11f300[_0x12f479(0x117)],void 0x0,_0x14bbd9),_0xe74244['subtotal']!==void 0x0&&_0x298a79[_0x12f479(0xc2)](_0x14bbd9,_0xe74244[_0x12f479(0x25f)]),_0xe74244[_0x12f479(0x32d)]&&_0x298a79[_0x12f479(0x2dd)](_0x14bbd9,_0xe74244[_0x12f479(0x32d)]),_0xe74244['displayName']&&_0x298a79[_0x12f479(0x15a)](_0xe74244['id'],_0xe74244['displayName']));}const _0x53b5a0=_0x4ce424['valueFilter'];for(const {fieldId:_0x56b762,filterInfo:_0x4c8ce9}of _0x53b5a0)_0x298a79[_0x12f479(0x18f)](_0x56b762,_0x4c8ce9);}function Ji(_0x192f6f,_0x4b7f08){const _0x3a809b=_0x2b5256,_0x4a45ec=[];_0x4b7f08===_0x11f300['Row']&&_0x192f6f[_0x3a809b(0x1f6)](_0x11f300[_0x3a809b(0x12f)],_0x7e908a=>{const _0x4f1a01=_0x3a809b;_0x4a45ec[_0x4f1a01(0x25e)](_0x7e908a[_0x4f1a01(0x1c2)]());}),_0x4b7f08===_0x11f300[_0x3a809b(0x30f)]&&_0x192f6f[_0x3a809b(0x1f6)](_0x11f300[_0x3a809b(0x30f)],_0x16d7ab=>{const _0x43e896=_0x3a809b;_0x4a45ec[_0x43e896(0x25e)](_0x16d7ab['getId']());}),_0x4b7f08===_0x11f300[_0x3a809b(0x252)]&&_0x192f6f[_0x3a809b(0x1f6)](_0x11f300[_0x3a809b(0x252)],_0x423be8=>{const _0x5cfe22=_0x3a809b;_0x4a45ec[_0x5cfe22(0x25e)](_0x423be8['getId']());}),_0x4b7f08===_0x11f300[_0x3a809b(0x117)]&&_0x192f6f[_0x3a809b(0x1f6)](_0x11f300[_0x3a809b(0x117)],_0x4c2abe=>{const _0x1d236e=_0x3a809b;_0x4a45ec[_0x1d236e(0x25e)](_0x4c2abe['getId']());}),_0x4b7f08===void 0x0&&_0x192f6f['iterateField'](_0x3f9dc2=>{const _0x5b5de8=_0x3a809b;_0x4a45ec[_0x5b5de8(0x25e)](_0x3f9dc2[_0x5b5de8(0x1c2)]());});const _0x4a8768=_0x4a45ec[_0x3a809b(0x1bf)];for(let _0x7327eb=_0x4a8768-0x1;_0x7327eb>=0x0;_0x7327eb--)_0x192f6f['removeField'](_0x4a45ec[_0x7327eb]);const _0x5ea19d=_0x192f6f[_0x3a809b(0xfb)]();for(const _0x28682a in _0x5ea19d)_0x192f6f[_0x3a809b(0x1fe)](_0x28682a);}function Wi(_0x133f02,_0x45f54a){const _0x47da1a=_0x2b5256,_0x9c23c4=new Date(_0x583e30(_0x45f54a)),_0xd77b34=new Date(_0x583e30(_0x133f02)),_0x12aeba=_0x9c23c4['getFullYear'](),_0x3428a9=_0xd77b34['getFullYear'](),_0x158100=_0x9c23c4[_0x47da1a(0x2ec)](),_0x56444a=_0xd77b34[_0x47da1a(0x2ec)](),_0x33cf8d=_0x9c23c4[_0x47da1a(0x30d)](),_0x4fecef=_0xd77b34[_0x47da1a(0x30d)](),_0x5d4fb9=_0x12aeba===_0x3428a9,_0x226e9f=_0x5d4fb9&&_0x158100===_0x56444a;return _0x5d4fb9&&_0x226e9f&&!(_0x226e9f&&_0x33cf8d===_0x4fecef)?_0x585e9f[_0x47da1a(0xe9)]:_0x5d4fb9&&!_0x226e9f?_0x585e9f[_0x47da1a(0x2c1)]:_0x585e9f['Year'];}function qo(_0x221504,_0x15d9b5){const _0x1022f2=_0x2b5256,_0x166e22=_0x221504['get'](G)[_0x1022f2(0x24e)]();let _0x551afa='';switch(_0x15d9b5){case _0x585e9f[_0x1022f2(0xe9)]:_0x551afa=_0x166e22[_0x1022f2(0xf5)];break;case _0x585e9f[_0x1022f2(0x2c1)]:_0x551afa=_0x166e22['sheets-pivot.dateGroup.yearMonth'];break;case _0x585e9f[_0x1022f2(0x11a)]:_0x551afa=_0x166e22['sheets-pivot.dateGroup.year'];break;case _0x585e9f[_0x1022f2(0x22c)]:_0x551afa=_0x166e22[_0x1022f2(0xe2)];break;case _0x585e9f['Quarter']:_0x551afa=_0x166e22[_0x1022f2(0x227)];break;case _0x585e9f[_0x1022f2(0x13b)]:_0x551afa=_0x166e22[_0x1022f2(0x10d)];break;case _0x585e9f[_0x1022f2(0x281)]:_0x551afa=_0x166e22['sheets-pivot.dateGroup.hourMinute'];break;case _0x585e9f['Hour']:_0x551afa=_0x166e22[_0x1022f2(0x190)];break;case _0x585e9f[_0x1022f2(0x2ef)]:_0x551afa=_0x166e22['sheets-pivot.dateGroup.minute'];break;case _0x585e9f[_0x1022f2(0x100)]:_0x551afa=_0x166e22[_0x1022f2(0x298)];break;case _0x585e9f[_0x1022f2(0x1df)]:_0x551afa=_0x166e22['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x551afa='';break;}return _0x551afa;}const zo='sheets-pivot.config',yo={};var Hi=Object[_0x2b5256(0x340)],Ki=(_0x69623a,_0x27111e,_0x5bb431,_0x4bb0ea)=>{const _0x6f2755=_0x2b5256;for(var _0x3b2138=_0x4bb0ea>0x1?void 0x0:_0x4bb0ea?Hi(_0x27111e,_0x5bb431):_0x27111e,_0x34dce3=_0x69623a[_0x6f2755(0x1bf)]-0x1,_0x479144;_0x34dce3>=0x0;_0x34dce3--)(_0x479144=_0x69623a[_0x34dce3])&&(_0x3b2138=_0x479144(_0x3b2138)||_0x3b2138);return _0x3b2138;},at=(_0x1569e6,_0x5d4633)=>(_0x2cd62d,_0x1a1f74)=>_0x5d4633(_0x2cd62d,_0x1a1f74,_0x1569e6);let he=class extends _0x2a8c6f{constructor(_0x45578a,_0x35a97a,_0x4eefa4,_0x307f65,_0x5b6e93){const _0x2b0bff=_0x2b5256;super(),V(this,'_model',new Map()),V(this,_0x2b0bff(0x29a),new Map()),V(this,_0x2b0bff(0x1d1),new Map()),V(this,_0x2b0bff(0x2e3),new Map()),V(this,_0x2b0bff(0x257),new _0x20e75b()),V(this,_0x2b0bff(0x20e),new _0x20e75b()),V(this,_0x2b0bff(0x1f4),this[_0x2b0bff(0x20e)]['asObservable']()),V(this,_0x2b0bff(0x12e),new _0x20e75b()),V(this,_0x2b0bff(0x224),this['_pivotConfigChange$'][_0x2b0bff(0x118)]()),V(this,_0x2b0bff(0x240),{}),V(this,_0x2b0bff(0x1f1),this[_0x2b0bff(0x257)][_0x2b0bff(0x118)]()),(this['_injector']=_0x45578a,this[_0x2b0bff(0x318)]=_0x35a97a,this[_0x2b0bff(0x204)]=_0x4eefa4,this[_0x2b0bff(0x1db)]=_0x307f65,this[_0x2b0bff(0x29b)]=_0x5b6e93,this['_initLocale'](),this[_0x2b0bff(0x325)]());const _0x33a55e=this[_0x2b0bff(0x29b)][_0x2b0bff(0xdd)](zo);(_0x33a55e==null?void 0x0:_0x33a55e[_0x2b0bff(0x20d)])===!0x0&&this[_0x2b0bff(0x16d)]();}[_0x2b5256(0x325)](){const _0x55f873=_0x2b5256;this['disposeWithMe'](this[_0x55f873(0x204)][_0x55f873(0x33f)](_0x4ca610[_0x55f873(0x209)])['subscribe'](_0x579b78=>{const _0x175d32=_0x55f873;this[_0x175d32(0x121)](_0x579b78[_0x175d32(0x26c)]());}));}[_0x2b5256(0x31d)](){const _0x293438=_0x2b5256;this[_0x293438(0x20e)][_0x293438(0x23d)](!0x0);}[_0x2b5256(0xd9)](){const _0x4737e8=_0x2b5256,_0x6f1667=fo(this['_injector'],ko,'',{});this[_0x4737e8(0x240)]=_0x6f1667,this['_commandService'][_0x4737e8(0x217)](uo['id'],{'textInfo':_0x6f1667},{'onlyLocal':!0x0});}['getTextInfo'](){return this['_textInfo'];}[_0x2b5256(0x19c)](_0x474680,_0x51d8ab,_0x457753,_0x226d1d,_0x524311){const _0x31a980=_0x2b5256;this[_0x31a980(0x175)](_0x474680,_0x51d8ab,_0x457753,_0x226d1d),this[_0x31a980(0x177)](_0x474680,_0x51d8ab,_0x457753,_0x524311);}[_0x2b5256(0x183)](_0x523b7c,_0x15522a,_0x405b6f){const _0x2cc08d=_0x2b5256;var _0x528d6a;const _0x286230=(_0x528d6a=this['_model'][_0x2cc08d(0x2f6)](_0x523b7c))==null?void 0x0:_0x528d6a['get'](_0x15522a);if(_0x286230)return _0x286230[_0x2cc08d(0x2f6)](_0x405b6f);}['getTargetByPivotTableId'](_0x492823,_0x42e4d1){const _0x537b84=_0x2b5256,_0x2f1d08=this[_0x537b84(0x166)][_0x537b84(0x2f6)](_0x492823);if(_0x2f1d08){for(const [_0x46509c,_0x321ea2]of _0x2f1d08[_0x537b84(0x116)]())for(const [_0x36eb54,_0x58ce37]of _0x321ea2[_0x537b84(0x116)]())if(_0x36eb54===_0x42e4d1)return _0x58ce37['targetCellInfo'];}}[_0x2b5256(0x172)](_0x35ac30,_0x2da74a,_0x5a821d){const _0x3d2be0=_0x2b5256,_0x39fc9c=this[_0x3d2be0(0x183)](_0x35ac30,_0x2da74a,_0x5a821d);return _0x39fc9c==null?void 0x0:_0x39fc9c[_0x3d2be0(0x169)];}[_0x2b5256(0x157)](_0x454d72,_0x200016){const _0x1fd65a=_0x2b5256;var _0x268e14;return(_0x268e14=this[_0x1fd65a(0x166)][_0x1fd65a(0x2f6)](_0x454d72))==null?void 0x0:_0x268e14[_0x1fd65a(0x2f6)](_0x200016);}[_0x2b5256(0x20c)](_0x1bdfc3,_0x1d11ab,_0x4c6d15,_0x597ad4){const _0x29f936=_0x2b5256,_0x2265c7=this[_0x29f936(0x33e)](_0x1bdfc3,_0x1d11ab);_0x597ad4?_0x2265c7[_0x29f936(0x2f1)](_0x4c6d15,_0x597ad4):_0x2265c7['delete'](_0x4c6d15),this[_0x29f936(0x12e)][_0x29f936(0x23d)]({'unitId':_0x1bdfc3,'subUnitId':_0x1d11ab,'pivotTableId':_0x4c6d15,'pivotTableConfig':_0x597ad4});}[_0x2b5256(0x231)](_0x52898c,_0x2cc924){const _0x17acd1=_0x2b5256;var _0x3a031a;return(_0x3a031a=this['_collectionConfigModel']['get'](_0x52898c))==null?void 0x0:_0x3a031a[_0x17acd1(0x1c1)][_0x2cc924];}[_0x2b5256(0x33c)](_0x4a02b1,_0x4e750e){const _0x3a811a=_0x2b5256;this[_0x3a811a(0x29a)][_0x3a811a(0x2f1)](_0x4a02b1,_0x4e750e),this[_0x3a811a(0x257)]['next'](Math[_0x3a811a(0xcf)]());}['_ensurePivotMap'](_0x59b1c0,_0x298641){const _0x531d41=_0x2b5256;let _0xb89643=this['_model'][_0x531d41(0x2f6)](_0x59b1c0);_0xb89643||(_0xb89643=new Map(),this[_0x531d41(0x166)]['set'](_0x59b1c0,_0xb89643));let _0x345050=_0xb89643[_0x531d41(0x2f6)](_0x298641);return _0x345050||(_0x345050=new Map(),_0xb89643['set'](_0x298641,_0x345050)),_0x345050;}[_0x2b5256(0x301)](_0x130631,_0x3d2882){const _0x16e75e=_0x2b5256;let _0x103324=this['_pivotTableRangeInfo'][_0x16e75e(0x2f6)](_0x130631);_0x103324||(_0x103324=new Map(),this[_0x16e75e(0x1d1)][_0x16e75e(0x2f1)](_0x130631,_0x103324));let _0x4ac90a=_0x103324[_0x16e75e(0x2f6)](_0x3d2882);return _0x4ac90a||(_0x4ac90a=new Map(),_0x103324[_0x16e75e(0x2f1)](_0x3d2882,_0x4ac90a)),_0x4ac90a;}[_0x2b5256(0x2ff)](_0x4b6fbf,_0x21046f){const _0x18ad1e=_0x2b5256;let _0x5e7b2b=this[_0x18ad1e(0x2e3)][_0x18ad1e(0x2f6)](_0x4b6fbf);_0x5e7b2b||(_0x5e7b2b=new Map(),this['_pivotTableMatrixInfo'][_0x18ad1e(0x2f1)](_0x4b6fbf,_0x5e7b2b));let _0x1d9102=_0x5e7b2b[_0x18ad1e(0x2f6)](_0x21046f);return _0x1d9102||(_0x1d9102=new Map(),_0x5e7b2b[_0x18ad1e(0x2f1)](_0x21046f,_0x1d9102)),_0x1d9102;}[_0x2b5256(0x177)](_0x14680e,_0x3ba321,_0x5d2a6d,_0x5c8883){const _0x25204c=_0x2b5256;var _0x1b37fd;const _0x18ab55=this[_0x25204c(0x301)](_0x14680e,_0x3ba321),_0x41642b=(_0x1b37fd=_0x18ab55[_0x25204c(0x2f6)](_0x5d2a6d))==null?void 0x0:_0x1b37fd[_0x25204c(0x30e)];_0x18ab55[_0x25204c(0x2f1)](_0x5d2a6d,{'oldRangeInfo':_0x41642b,'rangeInfo':_0x5c8883});}[_0x2b5256(0x175)](_0x2e145b,_0x1991dc,_0x40dcfb,_0x56d13a){const _0x5ca01c=_0x2b5256;var _0x44faba;const _0xc734db=this[_0x5ca01c(0x2ff)](_0x2e145b,_0x1991dc),_0x4a5a0e=(_0x44faba=_0xc734db[_0x5ca01c(0x2f6)](_0x40dcfb))==null?void 0x0:_0x44faba['oldMatrix'];_0xc734db[_0x5ca01c(0x2f1)](_0x40dcfb,{'oldMatrix':_0x4a5a0e,'matrix':_0x56d13a});}[_0x2b5256(0x156)](_0x36f1cf,_0x457567,_0x57321){const _0x222c58=_0x2b5256;var _0x5201e2,_0xb903ad;return(_0xb903ad=(_0x5201e2=this[_0x222c58(0x1d1)][_0x222c58(0x2f6)](_0x36f1cf))==null?void 0x0:_0x5201e2['get'](_0x457567))==null?void 0x0:_0xb903ad[_0x222c58(0x2f6)](_0x57321);}[_0x2b5256(0x182)](_0x25d6d9,_0x51c66b,_0x284fa3){const _0x1ae6f5=_0x2b5256;var _0x2bdb1e,_0x546fbb;return(_0x546fbb=(_0x2bdb1e=this[_0x1ae6f5(0x2e3)]['get'](_0x25d6d9))==null?void 0x0:_0x2bdb1e['get'](_0x51c66b))==null?void 0x0:_0x546fbb[_0x1ae6f5(0x2f6)](_0x284fa3);}[_0x2b5256(0x121)](_0x35e6ad){const _0x211d8f=_0x2b5256;this[_0x211d8f(0x166)][_0x211d8f(0x272)](_0x35e6ad),this[_0x211d8f(0x29a)][_0x211d8f(0x272)](_0x35e6ad);}['_toJSON'](_0xb1376a){const _0x2698b3=_0x2b5256,_0x28373b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2698b3(0x29a)]['get'](_0xb1376a)&&(_0x28373b[_0x2698b3(0x312)][_0xb1376a]=this[_0x2698b3(0x29a)][_0x2698b3(0x2f6)](_0xb1376a)),this[_0x2698b3(0x166)][_0x2698b3(0x2f6)](_0xb1376a)){_0x28373b['pivotTableConfigs'][_0xb1376a]={};const _0x53c5b4=this[_0x2698b3(0x166)][_0x2698b3(0x2f6)](_0xb1376a);_0x53c5b4!=null&&_0x53c5b4[_0x2698b3(0xcb)]&&[..._0x53c5b4[_0x2698b3(0x176)]()][_0x2698b3(0x17d)](_0x7aa50f=>{const _0x22f408=_0x2698b3,_0x3b81f3=_0x53c5b4['get'](_0x7aa50f);_0x3b81f3!=null&&_0x3b81f3[_0x22f408(0xcb)]&&(_0x28373b['pivotTableConfigs'][_0xb1376a][_0x7aa50f]={},[..._0x3b81f3[_0x22f408(0x176)]()][_0x22f408(0x17d)](_0x866f33=>{const _0x3de743=_0x22f408,_0x365344=_0x3b81f3[_0x3de743(0x2f6)](_0x866f33);_0x365344&&(_0x28373b[_0x3de743(0x15c)][_0xb1376a][_0x7aa50f][_0x866f33]=_0x365344);}));});}return _0x28373b;}[_0x2b5256(0x16d)](){const _0x7f19e0=_0x2b5256;this[_0x7f19e0(0x2ea)](this[_0x7f19e0(0x1db)][_0x7f19e0(0x161)]({'toJson':_0x1fae88=>JSON[_0x7f19e0(0x2e5)](this[_0x7f19e0(0x16e)](_0x1fae88)),'parseJson':_0x33007e=>({}),'businesses':[_0x4ca610[_0x7f19e0(0x209)]],'pluginName':ao,'onLoad':(_0x1fe0a4,_0x5ac7cc)=>{},'onUnLoad':_0x179f57=>{const _0x3a1d49=_0x7f19e0;this[_0x3a1d49(0x121)](_0x179f57);}}));}};he=Ki([at(0x0,_0x17f8d4(_0x184ee2)),at(0x1,_0x17f8d4(_0x51f589)),at(0x2,_0x17f8d4(_0x300869)),at(0x3,_0x17f8d4(_0x1a52b9)),at(0x4,_0x17f8d4(_0x2a9e1d))],he);var qi=Object['getOwnPropertyDescriptor'],zi=(_0x595575,_0x509694,_0x12d7f6,_0x11bf51)=>{const _0x390279=_0x2b5256;for(var _0x26eedd=_0x11bf51>0x1?void 0x0:_0x11bf51?qi(_0x509694,_0x12d7f6):_0x509694,_0x4891f3=_0x595575[_0x390279(0x1bf)]-0x1,_0x46f628;_0x4891f3>=0x0;_0x4891f3--)(_0x46f628=_0x595575[_0x4891f3])&&(_0x26eedd=_0x46f628(_0x26eedd)||_0x26eedd);return _0x26eedd;},rt=(_0x3fcfb9,_0xebc7d1)=>(_0x112cfd,_0x5a926e)=>_0xebc7d1(_0x112cfd,_0x5a926e,_0x3fcfb9);let Ne=class extends _0x2a8c6f{constructor(_0x442972,_0x3be0be,_0xd59811,_0x5a42a1,_0x31f6a1){const _0x28c147=_0x2b5256;super(),V(this,_0x28c147(0x11b),new Map()),V(this,_0x28c147(0x179),new Map()),V(this,'_markDirty$',new _0x20e75b()),V(this,_0x28c147(0x30c),this[_0x28c147(0x145)][_0x28c147(0x118)]()),V(this,_0x28c147(0x302),new _0x20e75b()),V(this,_0x28c147(0x167),this[_0x28c147(0x302)][_0x28c147(0x118)]()),V(this,_0x28c147(0x240)),(this[_0x28c147(0x2f5)]=_0x442972,this[_0x28c147(0x2e7)]=_0x3be0be,this[_0x28c147(0x14a)]=_0xd59811,this[_0x28c147(0x204)]=_0x5a42a1,this[_0x28c147(0x341)]=_0x31f6a1,this[_0x28c147(0xd9)](),this[_0x28c147(0x325)]());}[_0x2b5256(0x325)](){const _0x6c9ba3=_0x2b5256;this['disposeWithMe'](this['_univerInstanceService'][_0x6c9ba3(0x33f)](_0x4ca610[_0x6c9ba3(0x209)])[_0x6c9ba3(0x24f)](_0x35c297=>{const _0x433033=_0x6c9ba3;this[_0x433033(0x121)](_0x35c297[_0x433033(0x26c)]());}));}['_initLocale'](){const _0xe72c2b=_0x2b5256;this[_0xe72c2b(0x240)]=fo(this[_0xe72c2b(0x2e7)],ko,'',{});}[_0x2b5256(0x226)](_0x31c177){const _0x46f7e4=_0x2b5256,{view:_0x561dc8,unitId:_0x3a2483,subUnitId:_0x258407,pivotTableId:_0x22e08b,type:_0x4b5fef}=_0x31c177,_0x46bd5b=this[_0x46f7e4(0x14a)][_0x46f7e4(0x183)](_0x3a2483,_0x258407,_0x22e08b);if(!_0x561dc8||!_0x46bd5b||_0x4b5fef===L[_0x46f7e4(0x2e1)])return;const {pageView:_0x1bfc25,cornerView:_0x324c2a,rowView:_0x357a89,colView:_0x5af4ac,dataView:_0x148a3c}=_0x561dc8,_0x3c2e88=_0x46bd5b[_0x46f7e4(0x169)],_0x302830=_0x46bd5b['isEmpty'],_0x565541=this[_0x46f7e4(0xe6)](_0x3a2483,_0x258407),_0x285baf=this[_0x46f7e4(0x17e)](_0x3a2483,_0x258407,_0x22e08b);if(_0x302830)return this[_0x46f7e4(0x18e)](_0x31c177,_0x565541,_0x3c2e88,_0x285baf);{const _0x30844d=ge(_0x3c2e88,_0x1bfc25,!0x0),_0x3e993a=_0x1bfc25[_0x46f7e4(0x1f0)]>=0x0?_0x1bfc25[_0x46f7e4(0x1f0)]+0x1:0x0,_0x4089bf=_0x324c2a[_0x46f7e4(0x2a8)](),_0x1a3917=_0x324c2a[_0x46f7e4(0x1ea)](),_0x2dc0a1=_0x30844d[_0x46f7e4(0x1bf)]>0x0?It:0x0,_0x205ea7=ge({'row':_0x3c2e88[_0x46f7e4(0x25b)]+_0x3e993a+_0x2dc0a1,'col':_0x3c2e88['col']},_0x324c2a,!0x1,!0x1),_0x4b310c=ge({'row':_0x3c2e88[_0x46f7e4(0x25b)]+_0x3e993a+_0x2dc0a1+_0x4089bf,'col':_0x3c2e88[_0x46f7e4(0x112)]},_0x357a89,!0x1,!0x0),_0xabadf3=ge({'row':_0x3c2e88['row']+_0x3e993a+_0x2dc0a1,'col':_0x3c2e88[_0x46f7e4(0x112)]+_0x1a3917},_0x5af4ac,!0x1,!0x0),_0x4055ce=ge({'row':_0x3c2e88[_0x46f7e4(0x25b)]+_0x3e993a+_0x2dc0a1+_0x4089bf,'col':_0x3c2e88[_0x46f7e4(0x112)]+_0x1a3917},_0x148a3c,!0x1,!0x1);_0x285baf['rangesInfo']={'rowRanges':_0x4b310c,'colRanges':_0xabadf3,'cornerRanges':_0x205ea7,'dataRanges':_0x4055ce,'pageRanges':_0x30844d};const _0x4a3373=yi(this['_injector'],_0x561dc8,_0x46bd5b,this['_textInfo']),{valueMatrix:_0x31374d,rowInfo:_0x578931,colInfo:_0x58aeb8,cornerInfo:_0xb48b15,rowHeaderMap:_0x30e7ce,colHeaderMap:_0x2fe5ae}=_0x4a3373;return _0x285baf[_0x46f7e4(0x195)]={'rowInfo':_0x578931,'colInfo':_0x58aeb8,'cornerInfo':_0xb48b15},_0x285baf[_0x46f7e4(0x20f)]={'rowHeaderMap':_0x30e7ce,'colHeaderMap':_0x2fe5ae},_0x31374d['forEach']((_0x9264d8,_0x30df57)=>{const _0x58887f=_0x46f7e4;Object['keys'](_0x30df57)[_0x58887f(0x17d)](_0x12d3ff=>{const _0x55f4ad=_0x58887f,_0x4f2a51=+_0x12d3ff,_0x4d5077=_0x31374d['getValue'](_0x9264d8,_0x4f2a51);_0x565541[_0x55f4ad(0x323)](_0x9264d8,_0x4f2a51,_0x4d5077);});}),this[_0x46f7e4(0x302)][_0x46f7e4(0x23d)]({'unitId':_0x3a2483,'subUnitId':_0x258407,'valueMatrix':_0x565541,'rangesCache':_0x285baf[_0x46f7e4(0x304)],'pivotTableId':_0x22e08b,'type':_0x31c177[_0x46f7e4(0x144)]}),this['_sheetsPivotTableConfigModel'][_0x46f7e4(0x19c)](_0x3a2483,_0x258407,_0x22e08b,_0x565541,_0x285baf[_0x46f7e4(0x304)]),this[_0x46f7e4(0x341)][_0x46f7e4(0x1e1)](_0x3a2483,_0x258407,jt,this['_createExclusiveRange'](_0x285baf['rangesInfo'],_0x22e08b)),{'rangeCache':_0x285baf[_0x46f7e4(0x304)],'matrix':_0x565541};}}[_0x2b5256(0x18e)](_0x1786e9,_0x67649d,_0x4cee3c,_0x59344f){const _0x4851a2=_0x2b5256,_0x4c816d=this[_0x4851a2(0x2f5)]['t'],{unitId:_0x14320b,subUnitId:_0xca5ef7,pivotTableId:_0x4b9c63}=_0x1786e9,_0x2cc945={'filter':_0x4c816d('sheets-pivot.emptyPivot.filter'),'row':_0x4c816d(_0x4851a2(0x309)),'column':_0x4c816d(_0x4851a2(0x170)),'values':_0x4c816d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4ef81b,rangesCache:_0x8ff2d1}=Wo(_0x2cc945,_0x4cee3c);return _0x4ef81b['forValue']((_0x2b20ee,_0x1735cb,_0x2fcf11)=>{_0x67649d['setValue'](_0x2b20ee,_0x1735cb,_0x2fcf11);}),_0x59344f['rangesInfo']=_0x8ff2d1,this[_0x4851a2(0x302)][_0x4851a2(0x23d)]({'unitId':_0x14320b,'subUnitId':_0xca5ef7,'valueMatrix':_0x67649d,'rangesCache':_0x8ff2d1,'pivotTableId':_0x4b9c63,'type':_0x1786e9['type'],'isEmpty':!0x0}),this[_0x4851a2(0x14a)][_0x4851a2(0x19c)](_0x14320b,_0xca5ef7,_0x4b9c63,_0x67649d,_0x8ff2d1),this[_0x4851a2(0x341)]['addExclusiveRange'](_0x14320b,_0xca5ef7,jt,this[_0x4851a2(0x124)](_0x8ff2d1,_0x4b9c63)),{'rangeCache':_0x59344f[_0x4851a2(0x304)],'matrix':_0x67649d};}[_0x2b5256(0x124)](_0x48431c,_0x17d491){const _0x4327f8=_0x2b5256,_0x5da285=[],_0x539339=Lt(_0x48431c);for(const _0x3e430b of _0x539339)_0x5da285[_0x4327f8(0x25e)]({'groupId':_0x17d491,'range':_0x3e430b});return _0x5da285;}[_0x2b5256(0x18b)](_0x42c83b){const _0x592383=_0x2b5256;var _0x2570ea,_0x3bc3a5,_0x35b984,_0x4f8cc4;const {pivotTableId:_0x26a715,unitId:_0x9d2e49,subUnitId:_0x2b7fe7}=_0x42c83b;if(!_0x26a715||!_0x9d2e49||!_0x2b7fe7)return;const _0xe00168=this[_0x592383(0xe6)](_0x9d2e49,_0x2b7fe7),_0x3bf6b2=(_0x3bc3a5=(_0x2570ea=this[_0x592383(0x11b)][_0x592383(0x2f6)](_0x9d2e49))==null?void 0x0:_0x2570ea['get'](_0x2b7fe7))==null?void 0x0:_0x3bc3a5[_0x592383(0x2f6)](_0x26a715);if(_0x3bf6b2!=null&&_0x3bf6b2[_0x592383(0x304)]){for(const _0x5b612c of Object[_0x592383(0x176)](_0x3bf6b2['rangesInfo']))_0x3bf6b2[_0x592383(0x304)][_0x5b612c][_0x592383(0x17d)](_0x3152e9=>{const _0x16c44e=_0x592383;for(let _0x1decde=_0x3152e9['startRow'];_0x1decde<=_0x3152e9['endRow'];_0x1decde++)for(let _0x485012=_0x3152e9[_0x16c44e(0x1d8)];_0x485012<=_0x3152e9['endColumn'];_0x485012++)_0xe00168[_0x16c44e(0x2f0)](_0x1decde,_0x485012);});}_0x3bf6b2&&((_0x4f8cc4=(_0x35b984=this[_0x592383(0x11b)]['get'](_0x9d2e49))==null?void 0x0:_0x35b984[_0x592383(0x2f6)](_0x2b7fe7))==null||_0x4f8cc4[_0x592383(0x272)](_0x26a715)),this['_viewUpdate$'][_0x592383(0x23d)]({'unitId':_0x9d2e49,'subUnitId':_0x2b7fe7,'valueMatrix':_0xe00168,'pivotTableId':_0x26a715,'rangesCache':void 0x0,'type':_0x42c83b[_0x592383(0x144)]}),this[_0x592383(0x341)][_0x592383(0x162)](_0x9d2e49,_0x2b7fe7,jt,_0x26a715);}[_0x2b5256(0x17e)](_0x15848f,_0x4cdf76,_0x1f141e){const _0x14508c=_0x2b5256;var _0x10ab3e,_0x3a8001,_0x4503e9,_0x110c8a,_0x30962a,_0x22b855;return this[_0x14508c(0x11b)][_0x14508c(0x132)](_0x15848f)||this['_pivotRenderInfoCache']['set'](_0x15848f,new Map()),(_0x10ab3e=this['_pivotRenderInfoCache']['get'](_0x15848f))!=null&&_0x10ab3e[_0x14508c(0x132)](_0x4cdf76)||(_0x3a8001=this['_pivotRenderInfoCache'][_0x14508c(0x2f6)](_0x15848f))==null||_0x3a8001['set'](_0x4cdf76,new Map()),(_0x110c8a=(_0x4503e9=this[_0x14508c(0x11b)]['get'](_0x15848f))==null?void 0x0:_0x4503e9[_0x14508c(0x2f6)](_0x4cdf76))!=null&&_0x110c8a[_0x14508c(0x132)](_0x1f141e)||(_0x22b855=(_0x30962a=this[_0x14508c(0x11b)]['get'](_0x15848f))==null?void 0x0:_0x30962a['get'](_0x4cdf76))==null||_0x22b855[_0x14508c(0x2f1)](_0x1f141e,{}),this[_0x14508c(0x11b)][_0x14508c(0x2f6)](_0x15848f)[_0x14508c(0x2f6)](_0x4cdf76)[_0x14508c(0x2f6)](_0x1f141e);}['_ensurePivotItemRenderValueMatrixCache'](_0x2e8555,_0x425a37){const _0x3f177d=_0x2b5256;var _0x59f763,_0x11d894;return this[_0x3f177d(0x179)][_0x3f177d(0x132)](_0x2e8555)||this['_pivotRenderValueMatrixCache'][_0x3f177d(0x2f1)](_0x2e8555,new Map()),(_0x59f763=this[_0x3f177d(0x179)][_0x3f177d(0x2f6)](_0x2e8555))!=null&&_0x59f763[_0x3f177d(0x132)](_0x425a37)||(_0x11d894=this['_pivotRenderValueMatrixCache']['get'](_0x2e8555))==null||_0x11d894[_0x3f177d(0x2f1)](_0x425a37,new _0x1f0092()),this['_pivotRenderValueMatrixCache'][_0x3f177d(0x2f6)](_0x2e8555)[_0x3f177d(0x2f6)](_0x425a37);}[_0x2b5256(0x26d)](_0x1fa8e9,_0x7d6cc2,_0x3131c1,_0x5481f2){const _0x26e7bd=_0x2b5256;var _0xa225c2,_0x11b372;const _0x5d80ab=(_0x11b372=(_0xa225c2=this[_0x26e7bd(0x179)][_0x26e7bd(0x2f6)](_0x1fa8e9))==null?void 0x0:_0xa225c2[_0x26e7bd(0x2f6)](_0x7d6cc2))==null?void 0x0:_0x11b372['getValue'](_0x3131c1,_0x5481f2);if(_0x5d80ab!=null)return _0x5d80ab;}['getPivotTableIdByCell'](_0x1211b8,_0x9ac276,_0x3501f9,_0x32bf0f){const _0xf70704=_0x2b5256;var _0x51027e;const _0x27264c=_0x2a8431(_0x3501f9,_0x32bf0f),_0xbf3853=(_0x51027e=this['_pivotRenderInfoCache'][_0xf70704(0x2f6)](_0x1211b8))==null?void 0x0:_0x51027e['get'](_0x9ac276);return _0xbf3853?Array['from'](_0xbf3853['keys']())['find'](_0x1f6df4=>{const _0x16d25c=_0xf70704,_0x1df0a7=_0xbf3853[_0x16d25c(0x2f6)](_0x1f6df4),_0x9ad6c7=_0x1df0a7==null?void 0x0:_0x1df0a7[_0x16d25c(0x304)];return _0x9ad6c7?Object[_0x16d25c(0x176)](_0x9ad6c7)[_0x16d25c(0x1f5)](_0x4ab87b=>_0x9ad6c7[_0x4ab87b][_0x16d25c(0x1f5)](_0x3de6cd=>_0x4d62a4[_0x16d25c(0x2c4)](_0x3de6cd,_0x27264c))):!0x1;}):void 0x0;}[_0x2b5256(0x24c)](_0x2a9a08,_0x4e19c2,_0x6d01b2){const _0x42c0cf=_0x2b5256;var _0x56a31f;const _0xa609f7=(_0x56a31f=this[_0x42c0cf(0x11b)][_0x42c0cf(0x2f6)](_0x2a9a08))==null?void 0x0:_0x56a31f[_0x42c0cf(0x2f6)](_0x4e19c2),_0xc52ec6=[];return _0xa609f7&&Array[_0x42c0cf(0x163)](_0xa609f7[_0x42c0cf(0x176)]())[_0x42c0cf(0x17d)](_0x45c8c9=>{const _0x14efa9=_0x42c0cf,_0x385e05=_0xa609f7['get'](_0x45c8c9),_0x4c72df=_0x385e05==null?void 0x0:_0x385e05[_0x14efa9(0x304)];if(_0x4c72df)for(const _0x9e0ee6 of Object[_0x14efa9(0xd2)](_0x4c72df)){let _0x4673f0=!0x1;for(const _0x446612 of _0x9e0ee6)if(_0x4d62a4[_0x14efa9(0x14b)](_0x446612,_0x6d01b2)){_0xc52ec6[_0x14efa9(0x25e)](_0x45c8c9),_0x4673f0=!0x0;break;}if(_0x4673f0)break;}}),_0xc52ec6;}[_0x2b5256(0x230)](_0x297f04,_0x4d101e){const _0x585fbb=_0x2b5256;var _0x272750,_0x32bb3b;return(_0x32bb3b=(_0x272750=this[_0x585fbb(0x179)][_0x585fbb(0x2f6)](_0x297f04))==null?void 0x0:_0x272750[_0x585fbb(0x2f6)](_0x4d101e))!=null?_0x32bb3b:new _0x1f0092();}['getSubUnitPivotRenderCache'](_0x3e775e,_0x140c63){const _0x438023=_0x2b5256;var _0xdbc144;return(_0xdbc144=this[_0x438023(0x11b)]['get'](_0x3e775e))==null?void 0x0:_0xdbc144[_0x438023(0x2f6)](_0x140c63);}[_0x2b5256(0x279)](_0x3690d3,_0x31f91a,_0x138b5c){const _0x468863=_0x2b5256;var _0x18bb5f,_0x29d4b4;return(_0x29d4b4=(_0x18bb5f=this[_0x468863(0x11b)][_0x468863(0x2f6)](_0x3690d3))==null?void 0x0:_0x18bb5f[_0x468863(0x2f6)](_0x31f91a))==null?void 0x0:_0x29d4b4['get'](_0x138b5c);}[_0x2b5256(0x121)](_0x996422){const _0x1eb22b=_0x2b5256;this[_0x1eb22b(0x11b)][_0x1eb22b(0x272)](_0x996422),this[_0x1eb22b(0x179)][_0x1eb22b(0x272)](_0x996422);}['markDirty'](_0x44ea32,_0x5dc618){const _0x5129da=_0x2b5256;this[_0x5129da(0x145)][_0x5129da(0x23d)]({'unitId':_0x44ea32,'subUnitId':_0x5dc618});}};Ne=zi([rt(0x0,_0x17f8d4(_0x2e7b0d)),rt(0x1,_0x17f8d4(_0x184ee2)),rt(0x2,_0x17f8d4(he)),rt(0x3,_0x17f8d4(_0x300869)),rt(0x4,_0x17f8d4(_0x2d64d0))],Ne);var Yi=Object[_0x2b5256(0x340)],Xi=(_0x20387e,_0x3bdcf6,_0x1f0185,_0x3b189b)=>{const _0x52ec49=_0x2b5256;for(var _0x12791a=_0x3b189b>0x1?void 0x0:_0x3b189b?Yi(_0x3bdcf6,_0x1f0185):_0x3bdcf6,_0x5ed2db=_0x20387e[_0x52ec49(0x1bf)]-0x1,_0x51bb8d;_0x5ed2db>=0x0;_0x5ed2db--)(_0x51bb8d=_0x20387e[_0x5ed2db])&&(_0x12791a=_0x51bb8d(_0x12791a)||_0x12791a);return _0x12791a;},Mo=(_0x5af6a0,_0x5eab92)=>(_0xe3a132,_0x22854b)=>_0x5eab92(_0xe3a132,_0x22854b,_0x5af6a0);let ie=class extends _0x2a8c6f{constructor(_0x2e23cc,_0xc11570){const _0x5e1287=_0x2b5256;super(),V(this,'asyncInterceptor',new _0x19d819({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0x350b32({'PIVOT_MUTATION_GENERATE':Go})),(this[_0x5e1287(0x22e)]=_0x2e23cc,this[_0x5e1287(0x339)]=_0xc11570,this[_0x5e1287(0x1dd)]());}[_0x2b5256(0x1dd)](){const _0x560f3d=_0x2b5256;this[_0x560f3d(0x1da)]();}[_0x2b5256(0x178)](_0x297409){const _0x5eb496=_0x2b5256;return this[_0x5eb496(0x23a)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x297409);}['_initViewModelBySheetInterceptor'](){const _0x12523d=_0x2b5256;this[_0x12523d(0x2ea)](this[_0x12523d(0x22e)]['intercept'](_0x1e6ee6[_0x12523d(0x115)],{'priority':0xc8,'effect':_0x57cc54[_0x12523d(0x117)]|_0x57cc54['Style'],'handler':(_0x5bd1ae,_0x3281a4,_0x4b48ec)=>{const _0x5d332e=_0x12523d,{row:_0x546d89,col:_0x42d9e9,unitId:_0x2c7d8f,subUnitId:_0x72dea6,workbook:_0x3c488f}=_0x3281a4,_0x451ec7=this[_0x5d332e(0x339)]['getPivotTableCellData'](_0x2c7d8f,_0x72dea6,_0x546d89,_0x42d9e9);if(!_0x451ec7)return _0x4b48ec(_0x5bd1ae);const _0x30c37a={..._0x5bd1ae};(_0x451ec7['v']||_0x451ec7['v']===0x0)&&(_0x30c37a['v']=_0x451ec7['v']),_0x451ec7['t']&&(_0x30c37a['t']=_0x451ec7['t']);const _0x56f8a7=(typeof(_0x5bd1ae==null?void 0x0:_0x5bd1ae['s'])=='string'?_0x3c488f[_0x5d332e(0x244)]()[_0x5d332e(0x2f6)](_0x5bd1ae==null?void 0x0:_0x5bd1ae['s']):_0x5bd1ae==null?void 0x0:_0x5bd1ae['s'])||{},_0xaaca64=_0x3c488f[_0x5d332e(0x244)]()[_0x5d332e(0x2f6)](_0x451ec7['s']),_0x30d362={..._0xaaca64,..._0x56f8a7};_0xaaca64!=null&&_0xaaca64['n']&&(_0x30d362['n']=_0xaaca64['n']);const _0x4d9681=_0x3c488f['getStyles']()['setValue'](_0x30d362);return _0x30c37a['s']=_0x4d9681,(_0x451ec7[_0x5d332e(0x10f)]===_0x3868d5['Collapse']||_0x451ec7[_0x5d332e(0x10f)]===_0x3868d5[_0x5d332e(0x306)])&&(_0x30c37a['fontRenderExtension']={},_0x30c37a['fontRenderExtension'][_0x5d332e(0x289)]=li),_0x4b48ec(_0x30c37a);}}));}};ie=Xi([Mo(0x0,_0x17f8d4(_0x46beb6)),Mo(0x1,_0x17f8d4(Ne))],ie);function Nt(_0x482300,_0x29fb21){const _0x16cf5d=_0x2b5256;switch(_0x29fb21){case _0x11f300['Value']:return _0x482300['valueFields'];case _0x11f300[_0x16cf5d(0x252)]:return _0x482300[_0x16cf5d(0x21a)];case _0x11f300[_0x16cf5d(0x12f)]:return _0x482300[_0x16cf5d(0x1a4)];case _0x11f300['Column']:return _0x482300[_0x16cf5d(0x17b)];default:return[];}}function $e(_0x1a87c3,_0x406072){const _0x2e0983=_0x2b5256;return _0x1a87c3['measure'][_0x406072]||_0x1a87c3[_0x2e0983(0x1a6)][_0x406072];}function Qi(_0x5ceefc,_0x47da0f){const _0x2a814e=_0x2b5256,{area:_0x574144,fieldJson:_0x350e8d,index:_0x2b9a74}=_0x47da0f;_0x574144===_0x11f300[_0x2a814e(0x117)]?_0x5ceefc[_0x2a814e(0xf3)][_0x350e8d['id']]=_0x350e8d:_0x5ceefc[_0x2a814e(0x1a6)][_0x350e8d['id']]=_0x350e8d,Nt(_0x5ceefc,_0x574144)['splice'](_0x2b9a74,0x0,_0x350e8d['id']);}function Zi(_0x169686,_0x1378de){const _0x2eda33=_0x2b5256,{area:_0x2037db,fieldId:_0x5db2d8,index:_0x210602}=_0x1378de;_0x2037db===_0x11f300[_0x2eda33(0x117)]?delete _0x169686[_0x2eda33(0xf3)][_0x5db2d8]:delete _0x169686[_0x2eda33(0x1a6)][_0x5db2d8],Nt(_0x169686,_0x2037db)[_0x2eda33(0x221)](_0x210602,0x1);}function es(_0x53594d,_0x4130ce){const _0x2927dd=_0x2b5256,{fieldId:_0x1d0037,name:_0x338711}=_0x4130ce,_0x41bd1d=$e(_0x53594d,_0x1d0037);_0x41bd1d&&(_0x41bd1d[_0x2927dd(0x288)]=_0x338711);}function ts(_0x49b378,_0x230ccc){const _0x11c880=_0x2b5256,{fieldId:_0x4da2ba,collapse:_0x297651,item:_0xf61651}=_0x230ccc;_0xf61651!==void 0x0?(_0x49b378[_0x11c880(0x236)][_0x4da2ba]=_0x49b378['collapseInfo'][_0x4da2ba]||{},_0x49b378[_0x11c880(0x236)][_0x4da2ba][_0xf61651]=_0x297651):_0x49b378[_0x11c880(0x236)][_0x4da2ba]=_0x297651;}function os(_0x3f2d84,_0x4a0222){const _0x26f02b=_0x2b5256,{fieldId:_0x29f374,format:_0x529d00}=_0x4a0222,_0x28aaca=$e(_0x3f2d84,_0x29f374);_0x28aaca&&(_0x28aaca[_0x26f02b(0x32d)]=_0x529d00);}function ns(_0x4f4dc4,_0x9bee83){const _0x56aef9=_0x2b5256,{fieldId:_0x107ea0,filterInfo:_0x2a3b9b}=_0x9bee83,_0x44eb67=$e(_0x4f4dc4,_0x107ea0);_0x44eb67&&(_0x44eb67[_0x56aef9(0x1a3)]=_0x2a3b9b);}function is(_0x14e503,_0x42cb69){const _0x22faee=_0x2b5256,{fieldId:_0xd43a34,filterInfo:_0x3a175a}=_0x42cb69,_0x4a5d98=_0x14e503[_0x22faee(0x139)][_0x22faee(0x180)](_0x3d47dd=>_0x3d47dd[_0x22faee(0x1b8)]!==_0xd43a34);_0x3a175a&&_0x4a5d98[_0x22faee(0x25e)]({'fieldId':_0xd43a34,'filterInfo':_0x3a175a}),_0x14e503['valueFilter']=_0x4a5d98;}function ss(_0xf0f7a4,_0x15d916){const _0x8f73f2=_0x2b5256,{fieldId:_0x2cc72d,subtotalType:_0x2e7228}=_0x15d916,_0x19f43d=$e(_0xf0f7a4,_0x2cc72d);_0x19f43d&&(_0x19f43d[_0x8f73f2(0x25f)]=_0x2e7228);}function _0x3b8d(){const _0x966d01=['keys','updatePivotTableRangeInfo','getPivotPerformCheck','_pivotRenderValueMatrixCache','sheet.mutation.add-group-collection','columnFields','5ptftlX','forEach','_ensurePivotItemRenderInfoCache','removePivotTable','filter','rowHeaderMap','getPivotTableMatrixInfo','getPivotTableConfig','cellValue','_queryingMap','getCellMatrix','sheet.command.set-pivot-field-setting','handleAsyncResponse','NORMAL','sheet.mutation.set-pivot-filter','clearRenderCache','setRange','Quarter','_updateRenderEmptyCache','setValueFilterInfo','sheets-pivot.dateGroup.hour','_onRefRangeChange','_initConfig','countNums','getDataFieldManager','areaInfo','_generateUniqueVersion','MIN_SAFE_INTEGER','#f4f4f5','sheet.command.set-pivot-value-filter','width','UpdateValuePosition','updateViewInfo','toString','addPivotField','sortInfo','sourceName','(Blank)','needSameDeleteModel','filterInfo','rowFields','updateAllDisplayName','dimension','setSortInfo','sheets-pivot.averageName','data','PIVOT_MUTATION_GENERATE','sheet.mutation.set-pivot-option','add','collectionConfig','updateViewData','refreshDataField','_initCommandInterceptListener','getName','\x20-\x20','setTextInfo','onQueryEnd','createCollectionWithDataRange','getDataFieldByDataFieldId','params','fieldId','_host','Subtotal','getFilterFieldIdByIndex','Existing','COMMAND','getActiveSheet','length','Div0','collections','getId','getCurrentUnitForType','AddField','reduce','getFieldFormat','getSortInfo','sourceRangeInfo','getPivotTableModelConfig','BadReference','sheet.mutation.send-pivot-view-local','sheets.tabs.sheet','removeCollectionImp','versions','_refRangeService','sheet.command.update-pivot-table-source-range','_pivotTableRangeInfo','updateView','getValueIndex','_globalComputedStartHelpFunc','984078gtiBco','setConfig','refreshGroupField','startColumn','dispose','_initViewModelBySheetInterceptor','_resourceManagerService','handleMoveRange','_init','sheet.mutation.set-pivot-sort-info','YearQuarter','Var\x20of\x20','addExclusiveRange','getRefRangeMutationsByMoveRange','sheet.operation.pivot-table-view-formula-mark-dirty','addFieldWithSourceId','getColumnCount','update','handleSourceRangeChange','sheets-pivot.productName','fetchThroughAsyncInterceptors','getColCount','disposableCollection','getSubtotal','sheet.command.set-pivot-fields-config','_initRegisterCommand','updatePivotSource','lastRow','configVersion$','sheet.mutation.pivot-update-field-position','remove','pivotInitCompleted$','some','iterateFieldByArea','number','getFieldCountByArea','subTotalStyle','rowRanges','sheet.command.remove-pivot-field','setPivotFilter','getFieldDataType','removeValueFilterInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','getPivotDisplayConfig','message','_subjectCollectionChange','SetOptions','_univerInstanceService','maxDate','generateMutationsByRanges','tuple','setRangeValueRedoMutation','UNIVER_SHEET','_sheetsSelectionsService','removeCollections','updateConfigCache','notExecuteFormula','_pivotInitCompleted$','headerMap','getOriginFieldId','adjustSheetCellData','dataFields','product','bind','sheets-pivot.cellDateGroupDisplay.hour','onQueryStart','executeCommand','sheets-pivot.varpName','endColumn','filterFields','rangeCache','getValue','initDataRanges','startCollectChangeset','getDisplayName','_subjectFieldsCollectionChange','splice','dataFieldId','SHEET_PIVOT_IN_MAIN_THREAD','pivotConfigChange$','FORCE_STRING','updateRenderCache','sheets-pivot.dateGroup.quarter','Column\x20','_dataSyncPrimaryController','queryDirtyPivotTable','isEmpty','Month','getMatrixFromRunTimeData','_sheetInterceptorService','blank','getSubUnitPivotMatrix','getCollection','addPivotTable','isText','SetPivotSetting','sheets-pivot.blank','collapseInfo','Values','isValue','node','asyncInterceptor','#1d32e9','unshift','next','updateDirtyPivotTable','sheets-pivot.countName','_textInfo','SetPivotFilter','count','dataFieldsCollection','getStyles','options','Grand\x20Total','2mHeaOX','valid','_fieldsCollectionChange$','addDirtyPivotTable','sheet.mutation.remove-pivot-table','getIntersectsPivotTable','isBottomTotal','getTextInfo','subscribe','map','addCollection','Filter','getDataFieldBySourceName','movePivotField','getSourceName','Product\x20of\x20','_configVersion$','setLabelFilterInfo','STRING','getSheetBySheetName','row','sheet.command.set-pivot-collapse','sheet.mutation.set-pivot-collapse','push','subtotal','info','getRangeKey','setRangeKeyMap','endCollectChangeset','resetPivotTable','sheet.mutation.set-pivot-value-filter','forValue','sheet.command.update-date-group','StdDev\x20of\x20','sheet.mutation.set-pivot-format','SHEET_PIVOT_EXCLUSIVE_ID','DIV_BY_ZERO','getUnitId','getPivotTableCellData','valueIndex','rangeKey','cornerInfo','intercept','delete','getFieldById','batch','_initPivotDataGetListener','StdDevp\x20of\x20','3485986mYZxNd','Sum\x20of\x20','getPivotItemRenderInfoCache','DrillDown','sheets-pivot.sumName','range','getDirtyInfo','colHeaderMap','registerRefRange','_sheetsPivotDataSourceModel','HourMinute','getDataFieldItemInfo','deleteField','substring','addField','sheet.command.pivot-drill-down','_getAutoName','displayName','leftOffset','setName','markDirty','generateNewSheetName','8UqOMRa','onCommandExecuted','getDataFieldId','5495096pGykUr','sheet.mutation.remove-pivot-field','onStarting','sheetName','#FFFFFF','sheets-pivot.stdDevName','version','getTextSize','sheets-pivot.dateGroup.monthDate','prototype','_collectionConfigModel','_configService','call','broadcastCollectionChange','NotName','sheets-pivot.columnName','stdDevp','UpdateSource','_sheetsPivotRpcService','SetValueFilter','date','column','createDataFieldId','slice','getRowCount','getLastRow','includes','subUnitId','getInterceptPoints','split','dataStream','grandTotal','panel','addPivotTableWithConfig','updateFieldPosition','sheet.mutation.send-pivot-data-local','parse','custom','sheets-pivot.cellDateGroupDisplay.yearMonthDate','Total','COLUMN','pivotTableId','Set','MAX_SAFE_INTEGER','setSourceName','single','getLastCol','_subjectViewChange','setPivotTable','YearMonth','ManualFilter','resetArea','contains','addRecord','getColumnWidth','_deleteModelCache','level','New','_initRemoveSheetCommandInterceptor','cornerStyle','SetFilterInfo','AddPivotTable','registerCommand','refreshData','getFilterInfo','fieldsConfig','setDateType','fetchThroughInterceptors','fieldsCollectionChange$','Min\x20of\x20','24398930HspMHb','_globalComputedEndHelpFunc','return\x20','_sheetsPivotTableService','getMatrixValue','ΣValue','valuePosition','setFieldFormat','_activeDirtyManagerService','unitId','ResetPivotTable','Delete','getFieldIds','_pivotTableMatrixInfo','Varp\x20of\x20','stringify','fromJSON','_injector','max','result','disposeWithMe','getPivotTableIdByCell','getMonth','concat','_viewData$','Minute','realDeleteValue','set','sheet.mutation.pivot-update-value-position','_featureCalculationManagerService','toJSON','_localeService','get','sheet.command.update-pivot-value-position','_ensureViewDataMap','registerSyncingMutations','getRangeKeyList','colStyle','AddPivotField','reset','setDirty','_ensurePivotTableMatrixInfo','sheet.command.set-pivot-filter','_ensurePivotTableRangeInfo','_viewUpdate$','rgb(240,241,243)','rangesInfo','workbook\x20is\x20not\x20found','Expand','RemoveField','None','sheets-pivot.emptyPivot.row','setPivotCollapse','_updatePivotTableInstanceCache','markDirty$','getDate','oldRangeInfo','Column','_initPivotTextInfo','drillDown','dataFieldManagerConfig','SetFieldFormat','SetCollapse','ptn','isDate','setPivotTableConfig','_commandService','SetPivotCollapse','getGroupFieldsInfoByIds','updateValuePosition','#e6ebfa','setPivotInitCompleted','setCollapse','getNoUsedDataFieldIds','setPivotSetting','Hour','SetPivotSort','setValue','Add','_initUnitDisposed','hasField','GrandTotal','pushUndoRedo','471384roXVBO','MUTATION','PivotMultipleValueId','UpdatePivotSource','format','registerDirtyService','var','addCollectionByJSON','rowCount','SetValuePivotFilter','error','foreach','removeField','getAutoFitColumnsMutations','limit\x20pivot','_initGlobalComputed','_sheetsPivotTableAdaptorModel','getFieldInfo','sheet.mutation.rename-pivot-field','updateCollectionConfig','NotFunction','_ensurePivotMap','getTypeOfUnitDisposed$','getOwnPropertyDescriptor','_exclusiveRangeService','NUMBER','getformat','setSubtotalType','_config','token','lmR2bujR\x20G32AQXbujR(Fu23RB3,\x20XmgFu2i3Q)\x20{\x20\x20\x20\x20bAQ\x20{\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20Fu23RB3pRljHcAbPAAcQ\x20=\x20Fu23RB3.BXFub(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20jAueuRS3BBce3\x20=\x20aLd0.XcAB3(cbjg(Fu23RB3pRljHcAbPAAcQ[O]));\x20\x20\x20\x20\x20\x20\x20\x20ul\x20(!jAueuRS3BBce3.mG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jAueuRS3BBce3.mG\x20=\x200mzg3A(Fu23RB3pRljHcAbPAAcQ[w]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20uBVjAq3A\x20=\x20bQX3jl\x20VjAq3AIFjgcFL2jX3\x20!==\x20\x27mRG3luR3G\x27\x20&&\x20B3Fl\x20uRBbcR23jl\x20VjAq3AIFjgcFL2jX3;\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x202jRb3Ub\x20=\x20uBVjAq3A\x20?\x20B3Fl\x20:\x20MuRGjM;\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20z3BBce3VjAG\x20=\x202jRb3Ub.__hcB39w__.XcAB3(Fu23RB3pRljHcAbPAAcQ[O]);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20z3BBce3\x20=\x202jRb3Ub.__Y3U__.BbAuReulQ(z3BBce3VjAG);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20BueRcbmA3VjAG\x20=\x202jRb3Ub.__hcB39w__.XcAB3(Fu23RB3pRljHcAbPAAcQ[J]);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20BueRcbmA3\x20=\x202jRb3Ub.__Y3U__.BbAuReulQ(BueRcbmA3VjAG);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20BueRrcFuG\x20=\x202jRb3Ub.__K3AulQ__(BueRcbmA3,\x20z3BBce3,\x20XmgFu2i3Q);\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20GjzcuR\x20=\x20jAueuRS3BBce3.Gz;\x20\x20\x20\x20\x20\x20\x20\x20lmR2bujR\x20uB7jzcuRScb25uRe(jHcbb3AR,\x20jYjBb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20Xcbb3AR\x20=\x20jHcbb3AR.A3XFc23(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x205jBb\x20=\x20jYjBb.A3XFc23(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20Xcbb3ARHcAbB\x20=\x20Xcbb3AR.BXFub(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x205jBbHcAbB\x20=\x205jBb.BXFub(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ul\x20(!Xcbb3AR.uR2FmG3B(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A3bmAR\x20Xcbb3AR\x20===\x205jBb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ul\x20(Xcbb3ARHcAbB.F3Reb5\x20<\x20O\x20||\x20Xcbb3ARHcAbB[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A3bmAR\x20lcFB3;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20Xcbb3ARLmlluU\x20=\x20Xcbb3ARHcAbB.BFu23(N).fjuR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x205jBbLmlluU\x20=\x205jBbHcAbB.BFu23(-Xcbb3ARHcAbB.F3Reb5\x20+\x20N).fjuR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A3bmAR\x20Xcbb3ARLmlluU\x20===\x205jBbLmlluU;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F3b\x20GjzcuRrcFuG\x20=\x20(GjzcuR\x20&&\x20GjzcuR.F3Reb5)\x20?\x20GjzcuR.Bjz3((Gzpb3z)\x20=>\x20uB7jzcuRScb25uRe(Gzpb3z,\x20Fj2cbujR.5jBbRcz3))\x20:\x20bAm3;\x20\x20\x20\x20\x20\x20\x20\x20ul\x20(Fj2cbujR.5jBbRcz3\x20===\x20\x27Fj2cF5jBb\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GjzcuRrcFuG\x20=\x20bAm3;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202jRBb\x20KcFuG\x20=\x20BueRrcFuG\x20&&\x20GjzcuRrcFuG;\x20\x20\x20\x20\x20\x20\x20\x20A3bmAR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KcFuG,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z3BBce3:\x20jAueuRS3BBce3,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x202cb25\x20(3AAjA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20A3bmAR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KcFuG:\x20lcFB3,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z3BBce3:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','dataRangeInfo','originTargetInfo','UpdateFieldPosition','removeSourceRangeChange','sheet.mutation.add-pivot-field','size','interceptor','hasOwnProperty','name','random','triggerDirtyFeature','rangeKeyMap','values','setOptions','SetPivotTableConfig','_pivotTableInstanceCache','_initDataSendListener','SetSubtotalType','rowInfo','_initLocale','viewData$','shouldClear','rowStyle','getConfig','sheets-pivot.varName','Panel','find','_requestResolvers','sheets-pivot.dateGroup.month','getUnit','colCount','getMatrix','_ensurePivotItemRenderValueMatrixCache','sheet.command.add-pivot-field','pivotTableIndexConfig','YearMonthDate','SHEET_PIVOT_TABLE_PLUGIN','Count\x20of\x20','#eceeff','5275698whIgWL','body','tableFieldId','undos','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.set-pivot-position','measure','interceptCommand','sheets-pivot.dateGroup.yearMonthDate','getCellRaw','sheets-pivot.grandTotal','existing','getValuePosition','query','getValueFilterInfos','value','#e6ebfb','519446aOJkIx','_refRangeHandle','MonthDate','getAutoDisplayNameFunction','registerCallbackWithEvent','matrix','average','getPivotTableInstance','_deletePivotTableInstanceCache','sheet.mutation.send-init-pivot-text-local','addDataFieldWithoutUnitInfo','iterateField','getSheetBySheetId','symbol','updateRangeKeyMap','sheets-pivot.dateGroup.date','REF','pbt','sheets-pivot.value','rangeType','col','formJSON','collectionChange$','CELL_CONTENT','entries','Value','asObservable','minDate','Year','_pivotRenderInfoCache','sheets-pivot.stdDevpName','floor','_updateModelCache','parseInt','getHeaderMapItem','deleteUnitId','removeDataField','Average\x20of\x20','_createExclusiveRange','getIntersects','paths','getIndexesByPathStr','MovePivotField','_collectionChange$','register','AddPivotTableWithConfig','startRow','updateConfig','_pivotConfigChange$','Row','defineProperty','removePivotField','has','sum','sheet.command.move-pivot-field','lastCol','endRow','getTableFieldById','getRangeStartEndInfo','valueFilter','string','Date','getDataFieldByTableId','sheets-pivot.minName','dateType','NUM','updateDataFieldsCollection','sheets-pivot.cellDateGroupDisplay.yearMonth','setValuePivotFilter','sheet.mutation.add-pivot-table','type','_markDirty$','min','_dataFieldManagerCollection','_globalComputingSrv','getDataFieldByRangeKey','_sheetsPivotTableConfigModel','intersects','colRanges','deleteDataField','setPivotSort','getViewData','getUpdateRangeDeleteIds','sheet.command.move-pivot-table','NO_COMMERCIAL','fields','_globalSubject','setDataRecordCount','getPivotTableRangeInfo','getSubUnitPivotConfigs','new','isColMultiMeasure','renameField','sheet.mutation.send-pivot-config-local','pivotTableConfigs','sheet.command.add-pivot-table','redos','getSheets','sheet.mutation.update-date-group','registerPluginResource','clearExclusiveRangesByGroupId','from','NotNumber','document','_model','viewUpdate$','uniqueDataFieldName','targetCellInfo','forRow','_viewData','sheets-pivot.cellDateGroupDisplay.yearQuarter','_initSnapshot','_toJSON','setRangeValueUndoMutation','sheets-pivot.emptyPivot.column','deepClone','getTargetByPivotId','getSheetId','getFieldPositionInfoById','updatePivotTableMatrixInfo'];_0x3b8d=function(){return _0x966d01;};return _0x3b8d();}function as(_0x27aebf,_0x2d6dc8){const _0x349624=_0x2b5256,{fieldId:_0x75ec0b,oldArea:_0x106923,area:_0x3576a0,oldIndex:_0x21fe96,index:_0x5c9752}=_0x2d6dc8,_0x1cf4d0=_0x106923!==_0x11f300['Value']&&_0x3576a0===_0x11f300[_0x349624(0x117)],_0x10c1bf=_0x106923===_0x11f300[_0x349624(0x117)]&&_0x3576a0!==_0x11f300[_0x349624(0x117)];if(_0x1cf4d0||_0x10c1bf){const _0x279fdf=$e(_0x27aebf,_0x75ec0b);_0x279fdf&&(_0x1cf4d0?(delete _0x27aebf[_0x349624(0x1a6)][_0x75ec0b],_0x27aebf[_0x349624(0xf3)][_0x75ec0b]=_0x279fdf):(delete _0x27aebf[_0x349624(0xf3)][_0x75ec0b],_0x27aebf[_0x349624(0x1a6)][_0x75ec0b]=_0x279fdf));}const _0x5b5b65=Nt(_0x27aebf,_0x106923),_0x213696=Nt(_0x27aebf,_0x3576a0);_0x5b5b65['splice'](_0x21fe96,0x1),_0x213696[_0x349624(0x221)](_0x5c9752,0x0,_0x75ec0b);}function rs(_0x419eda,_0x15af72){const _0x366f21=_0x2b5256,{valuePosition:_0x1919aa,index:_0x566405}=_0x15af72;_0x419eda[_0x366f21(0x2dc)]=_0x1919aa,_0x419eda[_0x366f21(0x26e)]=_0x566405;}function ls(_0x1d80bd,_0x5d8810){const _0x41c060=_0x2b5256,{tableFieldId:_0x48c98a,sourceName:_0x3d32a5,dataFieldId:_0x1d6b3c}=_0x5d8810,_0x589362=$e(_0x1d80bd,_0x48c98a);_0x589362&&(_0x589362[_0x41c060(0x1a0)]=_0x3d32a5,_0x589362['dataFieldId']=_0x1d6b3c);}function cs(_0x21d49b,_0x1c2b4a){const _0x26562b=_0x2b5256,{fieldId:_0x2940c8,sortInfo:_0x3f14a7}=_0x1c2b4a,_0x190ae4=$e(_0x21d49b,_0x2940c8);_0x190ae4&&(_0x190ae4[_0x26562b(0x19f)]=_0x3f14a7);}function _0x3ffc(_0x4e0b25,_0x8d64da){const _0x3b8d1e=_0x3b8d();return _0x3ffc=function(_0x3ffc17,_0x1febe3){_0x3ffc17=_0x3ffc17-0xc0;let _0x36a739=_0x3b8d1e[_0x3ffc17];return _0x36a739;},_0x3ffc(_0x4e0b25,_0x8d64da);}function ds(_0x3d6706,_0x261ee4){const _0x37014e=_0x2b5256,{options:_0xa3aa9b}=_0x261ee4;_0x3d6706[_0x37014e(0x245)]={..._0x3d6706[_0x37014e(0x245)],..._0xa3aa9b};}const Gt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0xca),'handler'(_0x631413,_0x576918){const _0x291f1a=_0x2b5256;if(!_0x576918)return!0x1;if(!!_0x631413['get'](_0x2a9e1d)[_0x291f1a(0xdd)](q))return!0x0;const _0x5a47b2=_0x631413[_0x291f1a(0x2f6)](G),{pivotTableId:_0xc09fa7,fieldJson:_0x24b09e,area:_0x2e29a1,index:_0x2622e3,unitId:_0x2872eb,subUnitId:_0x12ba2f}=_0x576918,_0x3a948b=_0x5a47b2['getPivotTableInstance'](_0xc09fa7);if(!_0x3a948b)return!0x1;let _0x52f457;_0x2e29a1===_0x11f300[_0x291f1a(0x117)]?_0x52f457=_0x5bce12(_0x24b09e):_0x52f457=_0x1499b6(_0x24b09e),_0x3a948b[_0x291f1a(0x285)](_0x52f457,_0x2e29a1,_0x2622e3);const _0x445dd7=_0x5a47b2[_0x291f1a(0x1c9)](_0x2872eb,_0x12ba2f,_0xc09fa7);Qi(_0x445dd7,_0x576918);const _0x3df1c2=_0x5a47b2[_0x291f1a(0x183)](_0x2872eb,_0x12ba2f,_0xc09fa7);return _0x5a47b2[_0x291f1a(0x24a)]({'unitId':_0x2872eb,'subUnitId':_0x12ba2f,'token':_0xc09fa7,'type':L['Set'],'pivotConfig':_0x3df1c2}),!0x0;}},$t={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x291),'handler'(_0x1bd872,_0x284aee){const _0x4bb172=_0x2b5256;if(!_0x284aee)return!0x1;if(!!_0x1bd872['get'](_0x2a9e1d)['getConfig'](q))return!0x0;const _0x207703=_0x1bd872[_0x4bb172(0x2f6)](G),{pivotTableId:_0x4a6b96,fieldId:_0x49780e,unitId:_0x3deafd,subUnitId:_0x5dc5b4}=_0x284aee,_0x30d482=_0x207703['getPivotTableInstance'](_0x4a6b96);if(!_0x30d482)return!0x1;_0x30d482[_0x4bb172(0x335)](_0x49780e);const _0x3df2e2=_0x207703[_0x4bb172(0x1c9)](_0x3deafd,_0x5dc5b4,_0x4a6b96);Zi(_0x3df2e2,_0x284aee);const _0x56d964=_0x207703[_0x4bb172(0x183)](_0x3deafd,_0x5dc5b4,_0x4a6b96);return _0x207703[_0x4bb172(0x24a)]({'unitId':_0x3deafd,'subUnitId':_0x5dc5b4,'token':_0x4a6b96,'type':L[_0x4bb172(0x2ba)],'pivotConfig':_0x56d964}),!0x0;}},Jt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x33b),'handler'(_0x4a4b51,_0x4bdf51){const _0x59c4ba=_0x2b5256;if(!_0x4bdf51)return!0x1;if(!!_0x4a4b51['get'](_0x2a9e1d)['getConfig'](q))return!0x0;const _0x337c06=_0x4a4b51[_0x59c4ba(0x2f6)](G),{unitId:_0x4ff468,subUnitId:_0x5d652a,pivotTableId:_0x3e29ac,fieldId:_0x3a04bd,name:_0x2eb80d}=_0x4bdf51,_0x3273d4=_0x337c06[_0x59c4ba(0x105)](_0x3e29ac);if(!_0x3273d4)return!0x1;_0x3273d4['renameField'](_0x3a04bd,_0x2eb80d);const _0x176cac=_0x337c06[_0x59c4ba(0x1c9)](_0x4ff468,_0x5d652a,_0x3e29ac);return es(_0x176cac,_0x4bdf51),_0x337c06['addDirtyPivotTable']({'unitId':_0x4ff468,'subUnitId':_0x5d652a,'token':_0x3e29ac,'type':L['Set']}),!0x0;}},Wt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x25d),'handler'(_0x4b450f,_0x275ac7){const _0x143d7e=_0x2b5256;if(!_0x275ac7)return!0x1;if(!!_0x4b450f[_0x143d7e(0x2f6)](_0x2a9e1d)['getConfig'](q))return!0x0;const _0x21f4d6=_0x4b450f[_0x143d7e(0x2f6)](G),{unitId:_0x4128b3,subUnitId:_0x351d63,pivotTableId:_0x3dd09d,fieldId:_0xc0064b,collapse:_0x5df847,item:_0x24b69c}=_0x275ac7,_0x5a1bf2=_0x21f4d6[_0x143d7e(0x105)](_0x3dd09d);if(!_0x5a1bf2)return!0x1;_0x5a1bf2['setCollapse'](_0xc0064b,_0x5df847,_0x24b69c);const _0xe18793=_0x21f4d6[_0x143d7e(0x1c9)](_0x4128b3,_0x351d63,_0x3dd09d);return ts(_0xe18793,_0x275ac7),_0x21f4d6[_0x143d7e(0x24a)]({'unitId':_0x4128b3,'subUnitId':_0x351d63,'token':_0x3dd09d,'type':L[_0x143d7e(0x2ba)]}),!0x0;}},Ht={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x269),'handler'(_0x4021d8,_0x296053){const _0x19c65c=_0x2b5256;if(!_0x296053)return!0x1;if(!!_0x4021d8[_0x19c65c(0x2f6)](_0x2a9e1d)[_0x19c65c(0xdd)](q))return!0x0;const _0x19ae16=_0x4021d8[_0x19c65c(0x2f6)](G),{unitId:_0x2f8de6,subUnitId:_0x3c2d3f,pivotTableId:_0x506929,fieldId:_0x30ab98,format:_0x1edd79}=_0x296053,_0x535015=_0x19ae16['getPivotTableInstance'](_0x506929);if(!_0x535015)return!0x1;_0x535015[_0x19c65c(0x2dd)](_0x30ab98,_0x1edd79);const _0x380db2=_0x19ae16[_0x19c65c(0x1c9)](_0x2f8de6,_0x3c2d3f,_0x506929);return os(_0x380db2,_0x296053),_0x19ae16[_0x19c65c(0x24a)]({'unitId':_0x2f8de6,'subUnitId':_0x3c2d3f,'token':_0x506929,'type':L[_0x19c65c(0x2ba)]}),!0x0;}},Kt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x18a),'handler'(_0x5dc474,_0x3e45f0){const _0x18265e=_0x2b5256;if(!_0x3e45f0)return!0x1;if(!!_0x5dc474[_0x18265e(0x2f6)](_0x2a9e1d)[_0x18265e(0xdd)](q))return!0x0;const _0x59030d=_0x5dc474[_0x18265e(0x2f6)](G),{unitId:_0x17786b,subUnitId:_0x430bc1,pivotTableId:_0x509f56,fieldId:_0x48e782,filterInfo:_0x498b2e}=_0x3e45f0,_0x30e867=_0x59030d[_0x18265e(0x105)](_0x509f56);if(!_0x30e867)return!0x1;_0x30e867[_0x18265e(0x258)](_0x48e782,_0x498b2e);const _0x51d4af=_0x59030d[_0x18265e(0x1c9)](_0x17786b,_0x430bc1,_0x509f56);return ns(_0x51d4af,_0x3e45f0),_0x59030d['addDirtyPivotTable']({'unitId':_0x17786b,'subUnitId':_0x430bc1,'token':_0x509f56,'type':L[_0x18265e(0x2ba)]}),!0x0;}},qt={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x1ab),'handler'(_0x5e2588,_0x2e2357){const _0x551236=_0x2b5256;if(!_0x2e2357)return!0x1;if(!!_0x5e2588[_0x551236(0x2f6)](_0x2a9e1d)[_0x551236(0xdd)](q))return!0x0;const _0x3c2519=_0x5e2588[_0x551236(0x2f6)](G),{unitId:_0x704b0c,subUnitId:_0xe7885d,pivotTableId:_0x2241a9,options:_0x5d555}=_0x2e2357,_0x2402dd=_0x3c2519[_0x551236(0x105)](_0x2241a9);if(!_0x2402dd)return!0x1;_0x2402dd[_0x551236(0xd3)](_0x5d555);const _0x1347fb=_0x3c2519['getPivotTableModelConfig'](_0x704b0c,_0xe7885d,_0x2241a9);return ds(_0x1347fb,_0x2e2357),_0x3c2519[_0x551236(0x24a)]({'unitId':_0x704b0c,'subUnitId':_0xe7885d,'token':_0x2241a9,'type':L[_0x551236(0x2ba)]}),!0x0;}},zt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x1de),'handler'(_0x2b3344,_0x411b6f){const _0x266fb8=_0x2b5256;if(!_0x411b6f)return!0x1;if(!!_0x2b3344[_0x266fb8(0x2f6)](_0x2a9e1d)[_0x266fb8(0xdd)](q))return!0x0;const _0x110f77=_0x2b3344[_0x266fb8(0x2f6)](G),{unitId:_0x152d3f,subUnitId:_0x2f789d,pivotTableId:_0x32f5c2,sortInfo:_0x24f0e4,fieldId:_0xef34e9}=_0x411b6f,_0x794ddb=_0x110f77[_0x266fb8(0x105)](_0x32f5c2);if(!_0x794ddb)return!0x1;_0x794ddb[_0x266fb8(0x1a7)](_0xef34e9,_0x24f0e4);const _0x4f9128=_0x110f77['getPivotTableModelConfig'](_0x152d3f,_0x2f789d,_0x32f5c2);return cs(_0x4f9128,_0x411b6f),_0x110f77['addDirtyPivotTable']({'unitId':_0x152d3f,'subUnitId':_0x2f789d,'token':_0x32f5c2,'type':L[_0x266fb8(0x2ba)]}),!0x0;}},Yt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x1c03e1,_0x388eb8){const _0x448d71=_0x2b5256;if(!_0x388eb8)return!0x1;if(!!_0x1c03e1[_0x448d71(0x2f6)](_0x2a9e1d)[_0x448d71(0xdd)](q))return!0x0;const _0x52ed53=_0x1c03e1['get'](G),{unitId:_0x5d00ba,subUnitId:_0x4df1c6,pivotTableId:_0x11ae60,fieldId:_0x149b7d,subtotalType:_0x54cc2a}=_0x388eb8,_0x4a7a08=_0x52ed53[_0x448d71(0x105)](_0x11ae60);if(!_0x4a7a08)return!0x1;_0x4a7a08['setSubtotalType'](_0x149b7d,_0x54cc2a);const _0x483683=_0x52ed53[_0x448d71(0x1c9)](_0x5d00ba,_0x4df1c6,_0x11ae60);return ss(_0x483683,_0x388eb8),_0x52ed53[_0x448d71(0x24a)]({'unitId':_0x5d00ba,'subUnitId':_0x4df1c6,'token':_0x11ae60,'type':L[_0x448d71(0x2ba)]}),!0x0;}},Xt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x265),'handler'(_0x5efea6,_0x236df7){const _0x274f5a=_0x2b5256;if(!_0x236df7)return!0x1;if(!!_0x5efea6[_0x274f5a(0x2f6)](_0x2a9e1d)[_0x274f5a(0xdd)](q))return!0x0;const _0x543042=_0x5efea6['get'](G),{unitId:_0x27a7de,subUnitId:_0x51dc10,pivotTableId:_0x368fb1,fieldId:_0x345075,filterInfo:_0x39a07e}=_0x236df7,_0x5c33fd=_0x543042[_0x274f5a(0x105)](_0x368fb1);if(!_0x5c33fd)return!0x1;_0x5c33fd['setValueFilterInfo'](_0x345075,_0x39a07e);const _0x2061b1=_0x543042[_0x274f5a(0x1c9)](_0x27a7de,_0x51dc10,_0x368fb1);return is(_0x2061b1,_0x236df7),_0x543042[_0x274f5a(0x24a)]({'unitId':_0x27a7de,'subUnitId':_0x51dc10,'token':_0x368fb1,'type':L['Set']}),!0x0;}},Qt={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x1f2),'handler'(_0x2659c1,_0x5df859){const _0x37e0e5=_0x2b5256;if(!_0x5df859)return!0x1;if(!!_0x2659c1[_0x37e0e5(0x2f6)](_0x2a9e1d)[_0x37e0e5(0xdd)](q))return!0x0;const _0x5097a7=_0x2659c1['get'](G),{unitId:_0x33a028,subUnitId:_0x143ee3,pivotTableId:_0x26a52f,area:_0x4566ea,index:_0xa5f75,fieldId:_0x841c24}=_0x5df859,_0x71a06=_0x5097a7[_0x37e0e5(0x105)](_0x26a52f);if(!_0x71a06)return!0x1;_0x71a06[_0x37e0e5(0x2b2)](_0x841c24,_0x4566ea,_0xa5f75);const _0x47b5f2=_0x5097a7[_0x37e0e5(0x1c9)](_0x33a028,_0x143ee3,_0x26a52f);return as(_0x47b5f2,_0x5df859),_0x5097a7[_0x37e0e5(0x24a)]({'unitId':_0x33a028,'subUnitId':_0x143ee3,'token':_0x26a52f,'type':L[_0x37e0e5(0x2ba)]}),!0x0;}},Zt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x8f5ad9,_0x30da19){const _0x4afe6e=_0x2b5256;if(!_0x30da19)return!0x1;if(!!_0x8f5ad9[_0x4afe6e(0x2f6)](_0x2a9e1d)['getConfig'](q))return!0x0;const _0x25d4f6=_0x8f5ad9[_0x4afe6e(0x2f6)](G),{unitId:_0x437ffa,subUnitId:_0x216b67,pivotTableId:_0x55ed33,sourceName:_0x2f48ec,dataFieldId:_0x20ed6c,tableFieldId:_0x2ecc8d}=_0x30da19,_0x15e6f7=_0x25d4f6[_0x4afe6e(0x105)](_0x55ed33);if(!_0x15e6f7)return!0x1;_0x15e6f7['updateFieldSourceInfo'](_0x2ecc8d,_0x2f48ec,_0x20ed6c);const _0x38728c=_0x25d4f6[_0x4afe6e(0x1c9)](_0x437ffa,_0x216b67,_0x55ed33);return ls(_0x38728c,_0x30da19),_0x25d4f6['addDirtyPivotTable']({'unitId':_0x437ffa,'subUnitId':_0x216b67,'token':_0x55ed33,'type':L['Set']}),!0x0;}},eo={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x2f2),'handler'(_0x42e3eb,_0x766742){const _0x5417ce=_0x2b5256;if(!_0x766742)return!0x1;if(!!_0x42e3eb[_0x5417ce(0x2f6)](_0x2a9e1d)[_0x5417ce(0xdd)](q))return!0x0;const _0x1358c0=_0x42e3eb[_0x5417ce(0x2f6)](G),{unitId:_0x38abe8,subUnitId:_0xf849a2,pivotTableId:_0xcdd88c,valuePosition:_0x41cc6e,index:_0x379408}=_0x766742,_0x40c3a5=_0x1358c0[_0x5417ce(0x105)](_0xcdd88c);if(!_0x40c3a5)return!0x1;_0x40c3a5[_0x5417ce(0x31b)](_0x41cc6e,_0x379408);const _0x31000f=_0x1358c0[_0x5417ce(0x1c9)](_0x38abe8,_0xf849a2,_0xcdd88c);return rs(_0x31000f,_0x766742),_0x1358c0[_0x5417ce(0x24a)]({'unitId':_0x38abe8,'subUnitId':_0xf849a2,'token':_0xcdd88c,'type':L['Set']}),!0x0;}};function me(_0x10a22f,_0x1bbbbe,_0x25e869){const _0x405614=_0x2b5256,{pivotTableId:_0x291a77,unitId:_0x422d48,subUnitId:_0x1b6fbc}=_0x1bbbbe,_0x1b2816=[],_0x3a7ba7=[];for(const _0x46f5c9 of _0x25e869)switch(_0x46f5c9[_0x405614(0x144)]){case _0x57b432[_0x405614(0x1c4)]:{const {fieldJson:_0xd8ec02,area:_0x3f1d30,index:_0x23dac4}=_0x46f5c9,_0x4dff11={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldJson':_0xd8ec02,'area':_0x3f1d30,'index':_0x23dac4},_0x58f746={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0xd8ec02['id'],'area':_0x3f1d30,'index':_0x23dac4};_0x1b2816[_0x405614(0x25e)]({'id':Gt['id'],'params':_0x4dff11}),_0x3a7ba7[_0x405614(0x23c)]({'id':$t['id'],'params':_0x58f746});}break;case _0x57b432[_0x405614(0xd7)]:{const {fieldId:_0x527a4c,newSubtotalType:_0x1fddbb,oldSubtotalType:_0x3ed535}=_0x46f5c9,_0x2736ad={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x527a4c,'subtotalType':_0x1fddbb};_0x1b2816[_0x405614(0x25e)]({'id':Yt['id'],'params':_0x2736ad});const _0x59de1b={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x527a4c,'subtotalType':_0x3ed535};_0x3a7ba7[_0x405614(0x23c)]({'id':Yt['id'],'params':_0x59de1b});}break;case _0x57b432[_0x405614(0x307)]:{const {fieldId:_0x3c6901,fieldJson:_0x434dc8,area:_0x3a1c47,index:_0x3c2552}=_0x46f5c9,_0x11bc42={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x3c6901,'index':_0x3c2552,'area':_0x3a1c47};_0x1b2816[_0x405614(0x25e)]({'id':$t['id'],'params':_0x11bc42});const _0x312f95={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldJson':_0x434dc8,'area':_0x3a1c47,'index':_0x3c2552};_0x3a7ba7[_0x405614(0x23c)]({'id':Gt['id'],'params':_0x312f95});}break;case _0x57b432['RenameField']:{const {fieldId:_0x278970,oldName:_0x5df45b,newName:_0x39a473}=_0x46f5c9,_0x27e35c={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x278970,'name':_0x39a473};_0x1b2816[_0x405614(0x25e)]({'id':Jt['id'],'params':_0x27e35c});const _0x432ab9={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x278970,'name':_0x5df45b};_0x3a7ba7['unshift']({'id':Jt['id'],'params':_0x432ab9});}break;case _0x57b432[_0x405614(0x2cc)]:{const {fieldId:_0x44a959,oldFilterInfo:_0x32e1e6,newFilterInfo:_0x98624c}=_0x46f5c9,_0x27b38d={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x44a959,'filterInfo':_0x98624c};_0x1b2816['push']({'id':Kt['id'],'params':_0x27b38d});const _0x132dcd={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x44a959,'filterInfo':_0x32e1e6};_0x3a7ba7[_0x405614(0x23c)]({'id':Kt['id'],'params':_0x132dcd});}break;case _0x57b432['SetSortInfo']:{const {fieldId:_0x5c4f6c,oldSortInfo:_0x3b6614,newSortInfo:_0x27cc66}=_0x46f5c9,_0x815710={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x5c4f6c,'sortInfo':_0x27cc66};_0x1b2816[_0x405614(0x25e)]({'id':zt['id'],'params':_0x815710});const _0x2ea892={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x5c4f6c,'sortInfo':_0x3b6614};_0x3a7ba7['unshift']({'id':zt['id'],'params':_0x2ea892});}break;case _0x57b432[_0x405614(0x203)]:{const {oldOptions:_0x5423aa,newOptions:_0x287f57}=_0x46f5c9,_0x2317cc={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'options':_0x287f57};_0x1b2816[_0x405614(0x25e)]({'id':qt['id'],'params':_0x2317cc});const _0x223771={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'options':_0x5423aa};_0x3a7ba7[_0x405614(0x23c)]({'id':qt['id'],'params':_0x223771});}break;case _0x57b432[_0x405614(0xc8)]:{const {oldArea:_0x5c6a6e,newArea:_0x4e6e31,oldIndex:_0x181383,newIndex:_0x384907,fieldId:_0x2703c1}=_0x46f5c9,_0x48c633={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x2703c1,'area':_0x4e6e31,'index':_0x384907,'oldArea':_0x5c6a6e,'oldIndex':_0x181383};_0x1b2816[_0x405614(0x25e)]({'id':Qt['id'],'params':_0x48c633});const _0x34579e={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x2703c1,'area':_0x5c6a6e,'index':_0x181383,'oldArea':_0x4e6e31,'oldIndex':_0x384907};_0x3a7ba7[_0x405614(0x23c)]({'id':Qt['id'],'params':_0x34579e});}break;case _0x57b432[_0x405614(0x19b)]:{const {oldValuePosition:_0x907f9b,newValuePosition:_0x3b6080,oldIndex:_0x52d6bb,newIndex:_0x4e3c2d}=_0x46f5c9,_0x363223={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'valuePosition':_0x3b6080,'index':_0x4e3c2d};_0x1b2816[_0x405614(0x25e)]({'id':eo['id'],'params':_0x363223});const _0x1f29cd={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'valuePosition':_0x907f9b,'index':_0x52d6bb};_0x3a7ba7[_0x405614(0x23c)]({'id':eo['id'],'params':_0x1f29cd});}break;case _0x57b432[_0x405614(0x314)]:{const {fieldId:_0x3b3e66,collapse:_0xd529a7,item:_0x149560}=_0x46f5c9,_0x9ba500={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x3b3e66,'collapse':_0xd529a7,'item':_0x149560};_0x1b2816[_0x405614(0x25e)]({'id':Wt['id'],'params':_0x9ba500});const _0x18f93a={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x3b3e66,'collapse':!_0xd529a7,'item':_0x149560};_0x3a7ba7[_0x405614(0x23c)]({'id':Wt['id'],'params':_0x18f93a});}break;case _0x57b432[_0x405614(0x313)]:{const {newFormat:_0x2bfb6b,oldFormat:_0x27cc71,fieldId:_0x5a9489}=_0x46f5c9,_0x1e80be={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x5a9489,'format':_0x2bfb6b};_0x1b2816['push']({'id':Ht['id'],'params':_0x1e80be});const _0x499109={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x5a9489,'format':_0x27cc71};_0x3a7ba7['unshift']({'id':Ht['id'],'params':_0x499109});}break;case _0x57b432[_0x405614(0x2a1)]:{const {tableFieldId:_0x24c27e,oldSourceName:_0x18c09d,newSourceName:_0x22da92,oldDataFieldId:_0x297b8e,newDataFieldId:_0x1347b7}=_0x46f5c9,_0x4a3318={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'tableFieldId':_0x24c27e,'sourceName':_0x22da92,'dataFieldId':_0x1347b7};_0x1b2816['push']({'id':Zt['id'],'params':_0x4a3318});const _0x23c8e0={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'tableFieldId':_0x24c27e,'sourceName':_0x18c09d,'dataFieldId':_0x297b8e};_0x3a7ba7[_0x405614(0x23c)]({'id':Zt['id'],'params':_0x23c8e0});}break;case _0x57b432[_0x405614(0x2a3)]:{const {fieldId:_0x4812d9,filterInfo:_0x41e456,oldFilterInfo:_0x55d7ff}=_0x46f5c9,_0x109f56={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x4812d9,'filterInfo':_0x41e456};_0x1b2816[_0x405614(0x25e)]({'id':Xt['id'],'params':_0x109f56});const _0x2872ba={'unitId':_0x422d48,'subUnitId':_0x1b6fbc,'pivotTableId':_0x291a77,'fieldId':_0x4812d9,'filterInfo':_0x55d7ff};_0x3a7ba7['unshift']({'id':Xt['id'],'params':_0x2872ba});}}return{'redos':_0x1b2816,'undos':_0x3a7ba7};}function Re(_0x4032b8,_0x3f8a25){const _0x258596=_0x2b5256;var _0x673be5;const _0x2dc889=_0x4032b8[_0x258596(0x2f6)](ie),{cellInfo:_0x54fdc9,view:_0x54772d,isEmpty:_0x42f8bf}=_0x3f8a25;return(_0x673be5=_0x2dc889[_0x258596(0xcc)][_0x258596(0x2d3)](Go)(Po,{'cellInfo':_0x54fdc9,'view':_0x54772d,'isEmpty':_0x42f8bf}))!=null?_0x673be5:Po;}const us=()=>typeof process<'u'&&process[_0x2b5256(0x1ce)]!=null&&process['versions'][_0x2b5256(0x239)]!=null,Ct={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0x143),'handler'(_0x4c978d,_0x5870ad){const _0x53e067=_0x2b5256;var _0x186d86;if(!_0x5870ad)return!0x1;const _0x2548c1=_0x4c978d[_0x53e067(0x2f6)](_0x2a9e1d);if(!!_0x2548c1[_0x53e067(0xdd)](q))return!0x0;const _0x49d058=_0x4c978d[_0x53e067(0x2f6)](_0x300869),_0xdc8c7a=_0x4c978d[_0x53e067(0x2f6)](G),{pivotTableId:_0xb41234,pivotTableConfig:_0x1b67f8,collectionConfig:_0x23af4e,unitId:_0x52d499,subUnitId:_0x438013}=_0x5870ad,{sourceRangeInfo:_0x548bbe,fieldsConfig:_0x13d5a5,targetCellInfo:_0x50a51a}=_0x1b67f8,_0x3c46f9=_0x49d058[_0x53e067(0xe3)](_0x52d499);if(!_0x3c46f9||!_0x3c46f9[_0x53e067(0x10a)](_0x438013))return!0x1;if(!us()){let _0x58cfe6=0x0;_0x3c46f9['getSheets']()[_0x53e067(0x17d)](_0x10e4dc=>{const _0x1fa9e6=_0x53e067;var _0x445b2a,_0x27b413;_0x58cfe6+=(_0x27b413=(_0x445b2a=_0xdc8c7a[_0x1fa9e6(0x157)](_0x52d499,_0x10e4dc['getSheetId']()))==null?void 0x0:_0x445b2a[_0x1fa9e6(0xcb)])!=null?_0x27b413:0x0;});const _0x1b7c44=(_0x186d86=_0x2548c1['getConfig'](_0x1af733))!=null?_0x186d86:{},{ls:_0x47f487,pbk:_0x3d00d9}=_0x1b7c44;if(!Ho(_0x47f487,_0x3d00d9))throw new _0x2ec76(_0x53e067(0x337));const _0x2dbf14=go(so,_0x47f487,_0x3d00d9)['count'];if(_0x58cfe6>=_0x2dbf14)throw new _0x2ec76(_0x53e067(0x337));}if(!_0x23af4e||!_0x13d5a5)return!0x1;const {collection:_0x5bb346,updateDataFieldList:_0x48a9a4}=_0xdc8c7a[_0x53e067(0x330)](_0xb41234,_0x23af4e,_0x548bbe,_0x50a51a);_0xdc8c7a['refreshData'](_0x5bb346,_0x48a9a4,_0x548bbe);const _0x164c8f=new _0x4ca182(_0x5bb346,void 0x0,_0xb41234);_0x164c8f[_0x53e067(0x2e6)](_0x13d5a5);const _0x5813a8=JSON[_0x53e067(0x2b4)](JSON[_0x53e067(0x2e5)](_0x1b67f8));return _0xdc8c7a[_0x53e067(0x232)](_0x52d499,_0x438013,_0xb41234,_0x164c8f,_0x5813a8),_0xdc8c7a[_0x53e067(0x24a)]({'unitId':_0x52d499,'subUnitId':_0x438013,'token':_0xb41234,'type':L[_0x53e067(0x324)],'pivotConfig':_0x5813a8}),!0x0;}},Et={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x24b),'handler'(_0x34e36d,_0x4f8110){const _0x2d4fc3=_0x2b5256;if(!_0x4f8110)return!0x1;if(!!_0x34e36d[_0x2d4fc3(0x2f6)](_0x2a9e1d)[_0x2d4fc3(0xdd)](q))return!0x0;const {pivotTableId:_0x1cc7e8,unitId:_0x2b2d87,subUnitId:_0x2577a1}=_0x4f8110,_0x71329b=_0x34e36d[_0x2d4fc3(0x2f6)](G);return _0x71329b[_0x2d4fc3(0x183)](_0x2b2d87,_0x2577a1,_0x1cc7e8)?(_0x71329b[_0x2d4fc3(0x24a)]({'unitId':_0x2b2d87,'subUnitId':_0x2577a1,'token':_0x1cc7e8,'type':L['Delete']}),_0x71329b[_0x2d4fc3(0x17f)](_0x2b2d87,_0x2577a1,_0x1cc7e8),!0x0):!0x1;}},pt={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':_0x2b5256(0xf2),'handler'(_0x25c78c,_0x599104){const _0x1cc561=_0x2b5256;if(!_0x599104)return!0x1;if(!!_0x25c78c['get'](_0x2a9e1d)[_0x1cc561(0xdd)](q))return!0x0;const {pivotTableId:_0x5180d0,targetCellPosition:_0x27156a,unitId:_0x429cfb,subUnitId:_0x27ed8c}=_0x599104,_0x4ca159=_0x25c78c[_0x1cc561(0x2f6)](G);if(!_0x4ca159['getPivotTableInstance'](_0x599104[_0x1cc561(0x2b9)]))return!0x1;const _0x54a401=_0x4ca159[_0x1cc561(0x172)](_0x5180d0);if(!_0x54a401)return!0x1;const _0x171b9e=_0x4ca159['getCollection'](_0x54a401['unitId'],_0x599104[_0x1cc561(0x2b9)]);if(!_0x171b9e)return!0x1;const _0x402689=_0x4ca159[_0x1cc561(0x183)](_0x54a401[_0x1cc561(0x2df)],_0x54a401[_0x1cc561(0x2ab)],_0x5180d0);if(!_0x402689)return!0x1;const _0x16d060=_0x500805[_0x1cc561(0x171)](_0x402689);_0x16d060[_0x1cc561(0x169)]={'unitId':_0x429cfb,'subUnitId':_0x27ed8c,'row':_0x27156a[_0x1cc561(0x25b)],'col':_0x27156a[_0x1cc561(0x112)]};const _0x4a89e6=_0x171b9e[_0x1cc561(0x2f4)]();if(_0x54a401[_0x1cc561(0x2ab)]===_0x27ed8c&&_0x54a401[_0x1cc561(0x2df)]===_0x429cfb)_0x4ca159[_0x1cc561(0x2c0)](_0x429cfb,_0x27ed8c,_0x5180d0,_0x16d060),_0x4ca159[_0x1cc561(0x24a)]({'unitId':_0x429cfb,'subUnitId':_0x27ed8c,'token':_0x5180d0,'type':L['Set']});else{_0x4ca159['addDirtyPivotTable']({'unitId':_0x54a401[_0x1cc561(0x2df)],'subUnitId':_0x54a401[_0x1cc561(0x2ab)],'token':_0x5180d0,'type':L[_0x1cc561(0x2e1)]}),_0x4ca159[_0x1cc561(0x17f)](_0x54a401[_0x1cc561(0x2df)],_0x54a401[_0x1cc561(0x2ab)],_0x5180d0);const _0x43ad06=_0x4ca159[_0x1cc561(0x330)](_0x5180d0,_0x4a89e6,_0x402689[_0x1cc561(0x1c8)],_0x16d060['targetCellInfo']),_0x442f6a=new _0x4ca182(_0x43ad06['collection'],void 0x0,_0x5180d0);_0x442f6a['fromJSON'](_0x16d060[_0x1cc561(0x2d1)]),_0x4ca159[_0x1cc561(0x232)](_0x429cfb,_0x27ed8c,_0x5180d0,_0x442f6a,_0x16d060),_0x4ca159[_0x1cc561(0x24a)]({'unitId':_0x429cfb,'subUnitId':_0x27ed8c,'token':_0x5180d0,'type':L[_0x1cc561(0x324)],'pivotConfig':_0x16d060});}return!0x0;}},to={'type':_0xbe2aa2[_0x2b5256(0x32a)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x35f787,_0x2bdb44){const _0x284666=_0x2b5256;if(!_0x2bdb44)return!0x1;if(!!_0x35f787[_0x284666(0x2f6)](_0x2a9e1d)['getConfig'](q))return!0x0;const _0x3acb6a=_0x35f787[_0x284666(0x2f6)](G),{pivotTableId:_0x531d4d,deleteIds:_0x27b39d,collectionJSON:_0x2ddc11,dataRangeInfo:_0x288aa6,unitId:_0x2521c0,subUnitId:_0x5e3fd7}=_0x2bdb44,_0x26e69a=_0x3acb6a[_0x284666(0x105)](_0x531d4d),_0x27118a=_0x3acb6a['getPivotTableConfig'](_0x2521c0,_0x5e3fd7,_0x531d4d);if(!_0x26e69a||!_0x27118a)return!0x1;const {collection:_0x59a51c,updateDataFieldList:_0x50c036}=_0x3acb6a[_0x284666(0x330)](_0x531d4d,_0x2ddc11,_0x288aa6,_0x27118a[_0x284666(0x169)]);_0x3acb6a[_0x284666(0x2cf)](_0x59a51c,_0x50c036,_0x288aa6),_0x26e69a[_0x284666(0x140)](_0x59a51c);for(const _0x56c00a of _0x27b39d)_0x3acb6a[_0x284666(0x122)](_0x288aa6[_0x284666(0x2df)],_0x56c00a);const _0x5269bb=_0x3acb6a[_0x284666(0x183)](_0x2521c0,_0x5e3fd7,_0x531d4d);return _0x5269bb[_0x284666(0x1c8)]=JSON[_0x284666(0x2b4)](JSON[_0x284666(0x2e5)](_0x288aa6)),_0x3acb6a[_0x284666(0x24a)]({'unitId':_0x2521c0,'subUnitId':_0x5e3fd7,'token':_0x531d4d,'type':L[_0x284666(0x2ba)]}),!0x0;}},Ut={'type':_0xbe2aa2['MUTATION'],'id':_0x2b5256(0x1e3),'handler'(){return!0x0;}};var fs=Object[_0x2b5256(0x340)],gs=(_0x4f86c6,_0x5eab9d,_0x23342a,_0x16c7f6)=>{for(var _0x2876d0=_0x16c7f6>0x1?void 0x0:_0x16c7f6?fs(_0x5eab9d,_0x23342a):_0x5eab9d,_0x3018ed=_0x4f86c6['length']-0x1,_0x471647;_0x3018ed>=0x0;_0x3018ed--)(_0x471647=_0x4f86c6[_0x3018ed])&&(_0x2876d0=_0x471647(_0x2876d0)||_0x2876d0);return _0x2876d0;},wo=(_0x42735f,_0x3eae2a)=>(_0x18d0a1,_0x57a00d)=>_0x3eae2a(_0x18d0a1,_0x57a00d,_0x42735f);let Z=class extends _0x2a8c6f{constructor(_0x4aa66a,_0x2bbb06){const _0x257263=_0x2b5256;super(),V(this,'_requestResolvers',new Map()),(this[_0x257263(0x2e7)]=_0x4aa66a,this[_0x257263(0x318)]=_0x2bbb06);}[_0x2b5256(0x188)](_0x438158){const _0x375e6c=_0x2b5256,{version:_0x4a1ccc}=_0x438158,_0x24861b=this[_0x375e6c(0xe1)][_0x375e6c(0x2f6)](_0x4a1ccc);_0x24861b&&(_0x24861b(_0x438158),this[_0x375e6c(0xe1)][_0x375e6c(0x272)](_0x4a1ccc));}[_0x2b5256(0x200)](_0x3fc83c){return new Promise((_0x605d98,_0x2a7b0d)=>{const _0x1b8d2a=_0x3ffc,_0xbc34a7=this[_0x1b8d2a(0x196)]();this[_0x1b8d2a(0xe1)]['set'](_0xbc34a7,_0x605d98),this[_0x1b8d2a(0x318)][_0x1b8d2a(0x217)](ro['id'],{'version':_0xbc34a7,..._0x3fc83c},{'onlyLocal':!0x0});});}[_0x2b5256(0x196)](){const _0x5a2b1d=_0x2b5256;return Math[_0x5a2b1d(0xcf)]()[_0x5a2b1d(0x19d)](0x24)[_0x5a2b1d(0x284)](0x2,0x10);}};Z=gs([wo(0x0,_0x17f8d4(_0x184ee2)),wo(0x1,_0x17f8d4(_0x51f589))],Z);const Yo={'id':_0x2b5256(0x17a),'type':_0xbe2aa2['MUTATION'],'handler':(_0x2759fd,_0x59325b)=>{const _0x2abea0=_0x2b5256;if(!_0x59325b)return!0x1;if(!!_0x2759fd[_0x2abea0(0x2f6)](_0x2a9e1d)[_0x2abea0(0xdd)](q))return!0x0;const {pivotTableId:_0x29e33e,fieldJSON:_0x3a1cea,unitId:_0x3afca4,subUnitId:_0x3e2f1c}=_0x59325b,_0x11f0f8=_0x5104de['fromJSON'](_0x3a1cea);if(!_0x11f0f8)return!0x1;const _0x21a44f=_0x2759fd['get'](G),_0x5053b3=_0x21a44f[_0x2abea0(0x194)](_0x3afca4),_0x173bcb=_0x5053b3[_0x2abea0(0x231)](_0x29e33e);_0x5053b3[_0x2abea0(0x108)](_0x11f0f8),_0x173bcb['addField'](_0x11f0f8[_0x2abea0(0x1c2)](),_0x11f0f8[_0x2abea0(0x1b1)]());const _0x323e12=_0x173bcb[_0x2abea0(0x273)](_0x11f0f8['getOriginFieldId']());_0x323e12&&_0x11f0f8[_0x2abea0(0x1d7)](_0x323e12);const _0x5e9ae5=_0x21a44f['getPivotTableConfig'](_0x3afca4,_0x3e2f1c,_0x29e33e);return _0x21a44f['addDirtyPivotTable']({'unitId':_0x3afca4,'subUnitId':_0x3e2f1c,'token':_0x29e33e,'type':L['Set'],'pivotConfig':_0x5e9ae5}),!0x0;}},Xo={'id':'sheet.mutation.remove-group-collection','type':_0xbe2aa2[_0x2b5256(0x32a)],'handler':(_0x5d9a90,_0x4143aa)=>{const _0x5a6356=_0x2b5256;if(!_0x4143aa)return!0x1;if(!!_0x5d9a90[_0x5a6356(0x2f6)](_0x2a9e1d)['getConfig'](q))return!0x0;const {pivotTableId:_0x1c3591,dataFieldId:_0x291995,unitId:_0x54e7ea,subUnitId:_0x2d47f7}=_0x4143aa,_0x3a0be1=_0x5d9a90[_0x5a6356(0x2f6)](G),_0x5db71b=_0x3a0be1[_0x5a6356(0x194)](_0x54e7ea);_0x5db71b[_0x5a6356(0x231)](_0x1c3591)[_0x5a6356(0x283)](_0x291995);let _0x1490e3=!0x0;for(const _0x31d0a4 in _0x5db71b[_0x5a6356(0x1c1)])if(_0x5db71b[_0x5a6356(0x1c1)][_0x31d0a4][_0x5a6356(0x2e2)]()[_0x5a6356(0x2aa)](_0x291995)){_0x1490e3=!0x1;break;}_0x1490e3&&_0x5db71b[_0x5a6356(0x14d)](_0x291995);const _0x40c735=_0x3a0be1[_0x5a6356(0x183)](_0x54e7ea,_0x2d47f7,_0x1c3591);return _0x3a0be1[_0x5a6356(0x24a)]({'unitId':_0x54e7ea,'subUnitId':_0x2d47f7,'token':_0x1c3591,'type':L[_0x5a6356(0x2ba)],'pivotConfig':_0x40c735}),!0x0;}},vs={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0xe7),async 'handler'(_0x16bc58,_0x17a358){const _0x3e9be8=_0x2b5256;if(!_0x17a358)return!0x1;const _0x3c946d=_0x16bc58[_0x3e9be8(0x2f6)](_0x51f589),_0x12fd32=_0x16bc58[_0x3e9be8(0x2f6)](Z),_0x3001db=_0x16bc58[_0x3e9be8(0x2f6)](_0x5aa453),{pivotTableId:_0x20c401,dataFieldId:_0x49b4fd,fieldArea:_0x5c51cf,index:_0xfb44a4,unitId:_0x89f3b1,subUnitId:_0x133e11}=_0x17a358,_0x5a5f38=(await _0x12fd32[_0x3e9be8(0x200)]({'unitId':_0x89f3b1,'subUnitId':_0x133e11,'pivotTableId':_0x20c401,'params':{'type':B[_0x3e9be8(0x2fc)],'addPivotField':{'dataFieldId':_0x49b4fd,'fieldArea':_0x5c51cf,'index':_0xfb44a4}}}))[_0x3e9be8(0x2e9)][_0x3e9be8(0x19e)];if(!_0x5a5f38)return!0x1;const {view:_0x426754,changesets:_0x351d71,isEmpty:_0x3b6728,pivotTableConfig:_0x1ba5dc,shouldBeAddedGroupJSON:_0x52431c}=_0x5a5f38,_0x528e41=_0x1ba5dc['targetCellInfo'],_0x4f0a31=new _0xfa0de5();_0x4f0a31[_0x3e9be8(0x113)](_0x426754);const _0x489343={'cellInfo':_0x528e41,'view':_0x4f0a31,'isEmpty':_0x3b6728};if(!await _0x16bc58[_0x3e9be8(0x2f6)](ie)[_0x3e9be8(0x23a)][_0x3e9be8(0x1e9)](be)(!0x0,_0x489343))return!0x1;const _0x55645d=we(_0x16bc58,_0x4f0a31,_0x528e41,_0x3b6728),_0x47a6c7=Re(_0x16bc58,_0x489343),{undos:_0x3d1fb9,redos:_0x70c897}=me(_0x3c946d,{'pivotTableId':_0x20c401,'unitId':_0x89f3b1,'subUnitId':_0x133e11},_0x351d71);return _0x52431c&&(_0x70c897[_0x3e9be8(0x23c)]({'id':Yo['id'],'params':{'pivotTableId':_0x20c401,'fieldJSON':_0x52431c,'unitId':_0x89f3b1,'subUnitId':_0x133e11}}),_0x3d1fb9['push']({'id':Xo['id'],'params':{'pivotTableId':_0x20c401,'dataFieldId':_0x52431c['id'],'unitId':_0x89f3b1,'subUnitId':_0x133e11}})),_0x308278([..._0x55645d[_0x3e9be8(0x15e)],..._0x47a6c7['redos'],..._0x70c897],_0x3c946d),_0x3001db[_0x3e9be8(0x328)]({'unitID':_0x89f3b1,'redoMutations':[..._0x55645d[_0x3e9be8(0x15e)],..._0x47a6c7[_0x3e9be8(0x15e)],..._0x70c897],'undoMutations':[..._0x55645d[_0x3e9be8(0xf0)],..._0x47a6c7[_0x3e9be8(0xf0)],..._0x3d1fb9]}),!0x0;}},hs={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0xf9f83d,_0x2b86c7){const _0x32ab0e=_0x2b5256;if(!_0x2b86c7)return!0x1;const {sourceDataInfo:_0x4d85ac,pivotTableConfig:_0x422454}=_0x2b86c7;if(!_0x4d85ac||!_0x422454)return!0x1;const {unitId:_0x5e8ebe,subUnitId:_0x108f2c,range:_0x2ed5b9}=_0x4d85ac,_0x1fb944=_0xf9f83d[_0x32ab0e(0x2f6)](_0x300869),_0x19f025=_0xf9f83d['get'](Z),_0x13a81f=_0xf9f83d[_0x32ab0e(0x2f6)](_0x2e7b0d),_0x4e001d=_0xf9f83d[_0x32ab0e(0x2f6)](_0x51f589),_0x411688=_0x1fb944[_0x32ab0e(0xe3)](_0x5e8ebe);if(!_0x411688)return!0x1;const _0x3a8e99=_0x411688[_0x32ab0e(0x10a)](_0x108f2c);if(!_0x3a8e99)return!0x1;const _0x4cc154=_0x5da390(0x8),_0xe492e4=_0x2ed5b9||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3a8e99[_0x32ab0e(0x2a8)]()-0x1,'endColumn':_0x3a8e99[_0x32ab0e(0x1e5)]()-0x1};_0xe492e4[_0x32ab0e(0x111)]=_0x1ef509[_0x32ab0e(0x189)];const _0x2c3d82=(await _0x19f025['getPivotDisplayConfig']({'unitId':_0x5e8ebe,'subUnitId':_0x108f2c,'pivotTableId':_0x4cc154,'params':{'type':B['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5e8ebe,'sheetName':_0x3a8e99[_0x32ab0e(0x1b1)](),'subUnitId':_0x108f2c,'range':_0xe492e4},'pivotTableId':_0x4cc154,'pivotTableIndexConfig':_0x422454}}}))['result']['addPivotTableWithConfig'];if(!_0x2c3d82)return!0x1;const {isEmpty:_0x450ac5,fieldsConfig:_0x3d6674,collectionConfig:_0x14dccc,changesets:_0x41e8fe}=_0x2c3d82,_0x12f35f=_0x411688['getSheets']()[_0x32ab0e(0x1bf)],_0x5dd3d7=_0x41cc2f({'rowCount':_0x3a8e99[_0x32ab0e(0x2a8)]()-0x1,'columnCount':_0x3a8e99[_0x32ab0e(0x1e5)]()-0x1});_0x5dd3d7['id']=_0x66b0b1(),_0x5dd3d7[_0x32ab0e(0xce)]=_0x411688[_0x32ab0e(0x28c)](''+_0x13a81f['t'](_0x32ab0e(0x1cc)));const _0x2a6410={'index':_0x12f35f,'sheet':_0x5dd3d7,'unitId':_0x5e8ebe},{redos:_0x5b1116}=me(_0x4e001d,{'pivotTableId':_0x4cc154,'unitId':_0x5e8ebe,'subUnitId':_0x5dd3d7['id']},_0x41e8fe),_0x370bc0=[{'id':_0x5d5dd8['id'],'params':_0x2a6410},{'id':Ct['id'],'params':{'unitId':_0x5e8ebe,'subUnitId':_0x5dd3d7['id'],'pivotTableId':_0x4cc154,'pivotTableConfig':{'isEmpty':_0x450ac5,'fieldsConfig':_0x3d6674,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5e8ebe,'subUnitId':_0x5dd3d7['id']},'sourceRangeInfo':{'subUnitId':_0x108f2c,'unitId':_0x5e8ebe,'range':_0xe492e4,'sheetName':_0x3a8e99[_0x32ab0e(0x1b1)]()}},'collectionConfig':_0x14dccc}},..._0x5b1116];return _0x308278(_0x370bc0,_0x4e001d),!0x0;}},ps={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x15d),async 'handler'(_0x2e25d6,_0x17f3d8){const _0x15ee5b=_0x2b5256;var _0x2a9e9b,_0x131db3;const _0x1b6312=_0x2e25d6['get'](_0x51f589),_0x130d29=_0x2e25d6['get'](_0x300869),_0x570d6f=_0x2e25d6[_0x15ee5b(0x2f6)](_0x2e7b0d),_0x5684ad=_0x2e25d6[_0x15ee5b(0x2f6)](Z),_0x2a7aef=_0x2e25d6[_0x15ee5b(0x2f6)](_0x5aa453),_0x4bb838=_0x2e25d6[_0x15ee5b(0x2f6)](he),_0x5a5076=_0x2e25d6[_0x15ee5b(0x2f6)](_0x2a9e1d);if(!_0x17f3d8)return!0x1;const {pivotTableConfig:_0x30eb46,positionType:_0x2f246b}=_0x17f3d8,{targetCellInfo:_0x3d959a,sourceRangeInfo:_0x45a0f3}=_0x30eb46,{unitId:_0x1a1e73,subUnitId:_0x546b55}=_0x3d959a,_0x4da115=_0x130d29[_0x15ee5b(0xe3)](_0x1a1e73);if(!_0x4da115)return!0x1;let _0x1ac210=0x0;_0x4da115[_0x15ee5b(0x15f)]()[_0x15ee5b(0x17d)](_0x5e4a3e=>{const _0x9e408d=_0x15ee5b;var _0x382375,_0x2801d0;_0x1ac210+=(_0x2801d0=(_0x382375=_0x4bb838[_0x9e408d(0x157)](_0x1a1e73,_0x5e4a3e[_0x9e408d(0x173)]()))==null?void 0x0:_0x382375[_0x9e408d(0xcb)])!=null?_0x2801d0:0x0;});const _0xd009e8=(_0x2a9e9b=_0x5a5076[_0x15ee5b(0xdd)](_0x1af733))!=null?_0x2a9e9b:{},{ls:_0x4f05c1,pbk:_0x569a53}=_0xd009e8;if(!Ho(_0x4f05c1,_0x569a53))return!0x1;const _0x466942=go(so,_0x4f05c1,_0x569a53)[_0x15ee5b(0x242)];if(_0x1ac210>=_0x466942)return!0x1;const _0x2d92b8=_0x17f3d8['pivotTableId']||_0x5da390(0x8),_0x3db495=(await _0x5684ad[_0x15ee5b(0x200)]({'unitId':_0x1a1e73,'subUnitId':_0x546b55,'pivotTableId':_0x2d92b8,'params':{'type':B[_0x15ee5b(0x2cd)],'addPivotTable':{'sourceRangeInfo':_0x45a0f3,'pivotTableId':_0x2d92b8}}}))[_0x15ee5b(0x2e9)][_0x15ee5b(0x232)];if(!_0x3db495)return!0x1;const {view:_0x1950a6,isEmpty:_0x3a285b,fieldsConfig:_0x4edd0b,collectionConfig:_0x1c545f}=_0x3db495,_0x1058d7=[],_0x481cf3=[];if(_0x2f246b===jo[_0x15ee5b(0x2c9)]){const _0x9734a=_0x4da115['getSheets']()[_0x15ee5b(0x1bf)],_0x2eb676=_0x41cc2f({});_0x2eb676['id']=_0x30eb46[_0x15ee5b(0x169)][_0x15ee5b(0x2ab)],_0x2eb676[_0x15ee5b(0xce)]=(_0x131db3=_0x30eb46['targetCellInfo'][_0x15ee5b(0x293)])!=null?_0x131db3:_0x4da115['generateNewSheetName'](''+_0x570d6f['t'](_0x15ee5b(0x1cc)));const _0x3d7b85={'index':_0x9734a,'sheet':_0x2eb676,'unitId':_0x1a1e73},_0x105e32=_0x5d2d8c(_0x2e25d6,_0x3d7b85);_0x1058d7[_0x15ee5b(0x25e)]({'id':_0x5bf691['id'],'params':_0x105e32}),_0x481cf3['push']({'id':_0x4c055c['id'],'params':_0x3d7b85});}else{if(!_0x4da115['getSheetBySheetId'](_0x546b55))return!0x1;const _0x1ae917=we(_0x2e25d6,new _0xfa0de5(),_0x3d959a,!0x0);_0x481cf3['push'](..._0x1ae917[_0x15ee5b(0x15e)]),_0x1058d7[_0x15ee5b(0x25e)](..._0x1ae917['undos']);const _0x56b5f7={'cellInfo':_0x3d959a,'view':_0x1950a6,'isEmpty':_0x3a285b};if(!await _0x2e25d6[_0x15ee5b(0x2f6)](ie)['asyncInterceptor'][_0x15ee5b(0x1e9)](be)(!0x0,_0x56b5f7))return!0x1;const _0x2a81b6=Re(_0x2e25d6,_0x56b5f7);_0x481cf3[_0x15ee5b(0x25e)](..._0x2a81b6[_0x15ee5b(0x15e)]),_0x1058d7[_0x15ee5b(0x25e)](..._0x2a81b6[_0x15ee5b(0xf0)]);}return _0x481cf3[_0x15ee5b(0x25e)]({'id':Ct['id'],'params':{'unitId':_0x3d959a['unitId'],'subUnitId':_0x3d959a['subUnitId'],'pivotTableId':_0x2d92b8,'pivotTableConfig':{'targetCellInfo':_0x3d959a,'sourceRangeInfo':_0x45a0f3,'fieldsConfig':_0x4edd0b},'collectionConfig':_0x1c545f}}),_0x1058d7['unshift']({'id':Et['id'],'params':{'unitId':_0x1a1e73,'subUnitId':_0x546b55,'pivotTableId':_0x2d92b8}}),_0x308278(_0x481cf3,_0x1b6312)&&_0x2a7aef['pushUndoRedo']({'unitID':_0x1a1e73,'undoMutations':_0x1058d7,'redoMutations':_0x481cf3}),!0x0;}},ms={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x134),async 'handler'(_0x13020a,_0x923e90){const _0x2dd032=_0x2b5256;if(!_0x923e90)return!0x1;const _0x3199ad=_0x13020a[_0x2dd032(0x2f6)](_0x51f589),_0x225233=_0x13020a['get'](Z),_0x33179b=_0x13020a[_0x2dd032(0x2f6)](_0x5aa453),{pivotTableId:_0x5bf3a5,fieldId:_0x1737f2,area:_0x56f59d,index:_0xe3888b,unitId:_0xfa437,subUnitId:_0x46d5d9}=_0x923e90,_0x14775d=(await _0x225233[_0x2dd032(0x200)]({'unitId':_0xfa437,'subUnitId':_0x46d5d9,'pivotTableId':_0x5bf3a5,'params':{'type':B[_0x2dd032(0x128)],'movePivotField':{'fieldId':_0x1737f2,'area':_0x56f59d,'index':_0xe3888b}}}))[_0x2dd032(0x2e9)][_0x2dd032(0x254)];if(!_0x14775d)return!0x1;const {changesets:_0x2aa34e,view:_0x314091,isEmpty:_0x31b784,pivotTableConfig:_0x33b1a2}=_0x14775d,_0x40bbf7=_0x33b1a2[_0x2dd032(0x169)],_0x3e560b=new _0xfa0de5();_0x3e560b[_0x2dd032(0x113)](_0x314091);const _0xfa70d6={'cellInfo':_0x40bbf7,'view':_0x3e560b,'isEmpty':_0x31b784};if(!await _0x13020a['get'](ie)[_0x2dd032(0x23a)][_0x2dd032(0x1e9)](be)(!0x0,_0xfa70d6))return!0x1;const _0x38c3a7=we(_0x13020a,_0x3e560b,_0x40bbf7,_0x31b784),_0x1f440e=Re(_0x13020a,_0xfa70d6),{redos:_0x55ab23,undos:_0x5acf32}=me(_0x3199ad,{'pivotTableId':_0x5bf3a5,'unitId':_0xfa437,'subUnitId':_0x46d5d9},_0x2aa34e);return _0x308278([..._0x38c3a7[_0x2dd032(0x15e)],..._0x1f440e['redos'],..._0x55ab23],_0x3199ad),_0x33179b[_0x2dd032(0x328)]({'unitID':_0xfa437,'redoMutations':[..._0x38c3a7[_0x2dd032(0x15e)],..._0x1f440e[_0x2dd032(0x15e)],..._0x55ab23],'undoMutations':[..._0x38c3a7[_0x2dd032(0xf0)],..._0x1f440e[_0x2dd032(0xf0)],..._0x5acf32]}),!0x0;}},Is={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x286),async 'handler'(_0x5c736a,_0x472e8e){const _0x138555=_0x2b5256;var _0x459d6b;if(!_0x472e8e)return!0x1;const _0x47d3f5=_0x5c736a['get'](_0x300869),_0x598e5a=_0x1efd93(_0x47d3f5);if(!_0x598e5a)return!0x1;const {unitId:_0x5ab51d,subUnitId:_0x592bfd,workbook:_0x52b981}=_0x598e5a,{row:_0x33eb9c,col:_0x255500}=_0x472e8e,_0x333e8d=_0x5c736a[_0x138555(0x2f6)](Ne),_0x81f6c2=_0x333e8d[_0x138555(0x2eb)](_0x5ab51d,_0x592bfd,_0x33eb9c,_0x255500);if(!_0x81f6c2)return!0x1;const _0x593cd9=(_0x459d6b=_0x333e8d[_0x138555(0x279)](_0x5ab51d,_0x592bfd,_0x81f6c2))==null?void 0x0:_0x459d6b[_0x138555(0x195)];if(!_0x593cd9)return!0x1;const _0x4ae42b=_0x5c736a[_0x138555(0x2f6)](he)['getPivotTableConfig'](_0x5ab51d,_0x592bfd,_0x81f6c2);if(!_0x4ae42b)return!0x1;const {rowInfo:_0x2fb29d,colInfo:_0x57b69a}=_0x593cd9,_0x15a85b=_0x2fb29d[_0x33eb9c][_0x138555(0x126)],_0x5e54ae=_0x57b69a[_0x255500][_0x138555(0x126)],_0x3b387b=_0x2fb29d[_0x33eb9c]['level'],_0x1b2583=_0x57b69a[_0x255500][_0x138555(0x2c8)],_0x18e03d=_0x15a85b[_0x138555(0x2ed)](_0x5e54ae),_0x394851=_0x4ae42b[_0x138555(0x2d1)]['rowFields'][_0x138555(0x2a7)](0x0,_0x3b387b),_0x271ec4=_0x4ae42b[_0x138555(0x2d1)][_0x138555(0x17b)][_0x138555(0x2a7)](0x0,_0x1b2583),_0x2baec9=_0x394851[_0x138555(0x2ed)](_0x271ec4),_0x57ecda=_0x18e03d[_0x138555(0x250)]((_0x51256e,_0x30a174)=>[_0x51256e,_0x2baec9[_0x30a174]]),_0x10e66a=(await _0x5c736a[_0x138555(0x2f6)](Z)[_0x138555(0x200)]({'unitId':_0x5ab51d,'subUnitId':_0x592bfd,'pivotTableId':_0x81f6c2,'params':{'type':B[_0x138555(0x27a)],'drillDown':{'tuple':_0x57ecda}}}))[_0x138555(0x2e9)][_0x138555(0x311)];if(!_0x10e66a)return!0x1;const {indexes:_0x35337b,range:_0x2fa5c6,sourceUnitId:_0x569594,sourceSubUnitId:_0x2e9bf7,formatMap:_0x4a4036}=_0x10e66a,{startRow:_0x3c4c74,endRow:_0x414a3e,startColumn:_0x7ecb2e,endColumn:_0x4845f9}=_0x2fa5c6,_0x23c66c=new _0x1f0092(),_0x561c78=_0x414a3e-_0x3c4c74,_0x373e54=_0x4845f9-_0x7ecb2e,_0x4d9e07={},_0xe25da8=_0x1efd93(_0x47d3f5,{'unitId':_0x569594,'subUnitId':_0x2e9bf7});if(!_0xe25da8)return!0x1;const _0x49ab94=fe[_0x138555(0x2fb)],_0x3170d4=fe[_0x138555(0x1f9)],_0x587014=fe[_0x138555(0x1f9)],_0x4ce58d=_0x52b981[_0x138555(0x244)]()[_0x138555(0x323)](_0x49ab94),_0x121a46=_0x52b981[_0x138555(0x244)]()[_0x138555(0x323)](_0x3170d4),_0x5402b8=_0x52b981[_0x138555(0x244)]()[_0x138555(0x323)](_0x587014),{worksheet:_0x267be2}=_0xe25da8;let _0x345219=0x0;const _0x44651c=0x1;_0x35337b[_0x138555(0x17d)](_0x2407be=>{const _0x484d36=_0x138555;for(let _0x259017=0x0;_0x259017<=_0x4845f9-_0x7ecb2e;_0x259017++)_0x23c66c[_0x484d36(0x323)](_0x345219,_0x259017,_0x267be2['getCellRaw'](_0x2407be+_0x2fa5c6[_0x484d36(0x12c)]+_0x44651c,_0x259017));_0x345219++;});for(let _0x3f8f7f=_0x7ecb2e;_0x3f8f7f<=_0x4845f9;_0x3f8f7f++){const _0xf00a12=_0x267be2[_0x138555(0xf6)](_0x3c4c74,_0x3f8f7f);_0x4d9e07[_0x3c4c74]||(_0x4d9e07[_0x3c4c74]={}),_0x4d9e07[_0x3c4c74][_0x3f8f7f]={..._0xf00a12,'s':_0x4ce58d};}let _0x2b98e8=0x1;const _0x5ca418={},_0xd190a={};_0x23c66c[_0x138555(0x16a)]((_0x6c24e,_0x2c417e)=>{const _0x51e5e7=_0x138555;_0x2c417e[_0x51e5e7(0x17d)](_0x442c45=>{const _0x56b373=_0x51e5e7,_0x4df46e=_0x23c66c[_0x56b373(0x21c)](_0x6c24e,_0x442c45);if(_0x4d9e07[_0x2b98e8]||(_0x4d9e07[_0x2b98e8]={}),_0x4d9e07[_0x2b98e8][_0x442c45]={..._0x4df46e,'s':_0x2b98e8%0x2===0x0?_0x5402b8:_0x121a46},_0x4a4036[_0x442c45]&&_0x6c24e>=0x0){const _0x57353d=_0x2b98e8%0x2===0x0;let _0x59e207=_0x57353d?_0xd190a[_0x442c45]:_0x5ca418[_0x442c45];_0x59e207||(_0x59e207=_0x52b981[_0x56b373(0x244)]()['setValue']({..._0x57353d?_0x587014:_0x3170d4,'n':{'pattern':_0x4a4036[_0x442c45]}}),_0x57353d?_0xd190a[_0x442c45]=_0x59e207:_0x5ca418[_0x442c45]=_0x59e207),_0x4d9e07[_0x2b98e8][_0x442c45]['s']=_0x59e207;}}),_0x2b98e8++;});const _0x598884=new _0x1f0092(_0x4d9e07),_0x51402b={};_0x598884['forValue']((_0x1ece06,_0x8ea7c4,_0x11d1c9)=>{_0x51402b[_0x1ece06]||(_0x51402b[_0x1ece06]={}),_0x51402b[_0x1ece06][_0x8ea7c4]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4eebb0=[],_0x55f074=[],_0xe6a6c6=_0x52b981[_0x138555(0x15f)]()[_0x138555(0x1bf)],_0x3f88aa=_0x41cc2f({'rowCount':Math[_0x138555(0x2e8)](_0x5caeb5,_0x561c78+0xa),'columnCount':Math[_0x138555(0x2e8)](_0x3948ba,_0x373e54+0x5)}),_0x15275e=_0x5c736a[_0x138555(0x2f6)](_0x2e7b0d);_0x3f88aa['id']=_0x66b0b1(),_0x3f88aa['name']=_0x52b981[_0x138555(0x28c)](''+_0x15275e['t'](_0x138555(0x1cc)));const _0x1d6b3d={'index':_0xe6a6c6,'sheet':_0x3f88aa,'unitId':_0x5ab51d},_0x548cc9=_0x5d2d8c(_0x5c736a,_0x1d6b3d);_0x55f074[_0x138555(0x25e)]({'id':_0x4c055c['id'],'params':_0x1d6b3d}),_0x4eebb0[_0x138555(0x25e)]({'id':_0x5bf691['id'],'params':_0x548cc9}),_0x55f074[_0x138555(0x25e)]({'id':_0x41dfe1['id'],'params':{'unitId':_0x5ab51d,'subUnitId':_0x3f88aa['id'],'cellValue':_0x4d9e07}}),_0x4eebb0[_0x138555(0x23c)]({'id':_0x41dfe1['id'],'params':{'unitId':_0x5ab51d,'subUnitId':_0x3f88aa['id'],'cellValue':_0x51402b}});const _0x58fb59={'startRow':0x0,'startColumn':0x0,'endRow':_0x2b98e8-0x1,'endColumn':_0x4845f9};_0x55f074['push']({'id':_0x10c05e['id'],'params':{'unitId':_0x5ab51d,'subUnitId':_0x3f88aa['id'],'range':_0x58fb59}}),_0x4eebb0[_0x138555(0x23c)]({'id':_0x1ce1fc['id'],'params':{'unitId':_0x5ab51d,'subUnitId':_0x3f88aa['id']}});const _0x13e945=_0x5c736a[_0x138555(0x2f6)](_0x51f589);return _0x308278(_0x55f074,_0x13e945)&&_0x5c736a[_0x138555(0x2f6)](_0x5aa453)[_0x138555(0x328)]({'unitID':_0x5ab51d,'undoMutations':_0x4eebb0,'redoMutations':_0x55f074}),!0x0;}},Cs={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x1fb),async 'handler'(_0x29d5fa,_0x42fe0c){const _0x392432=_0x2b5256;if(!_0x42fe0c)return!0x1;const _0x4b4ffc=_0x29d5fa[_0x392432(0x2f6)](_0x51f589),_0x5d4644=_0x29d5fa[_0x392432(0x2f6)](Z),_0x1237e4=_0x29d5fa['get'](_0x5aa453),{pivotTableId:_0x54a8dd,fieldIds:_0x39f9fc,unitId:_0x158c94,subUnitId:_0x2107d6}=_0x42fe0c,_0x30fbff=(await _0x5d4644[_0x392432(0x200)]({'unitId':_0x158c94,'subUnitId':_0x2107d6,'pivotTableId':_0x54a8dd,'params':{'type':B['RemovePivotField'],'removePivotField':{'fieldIds':_0x39f9fc}}}))[_0x392432(0x2e9)][_0x392432(0x131)];if(!_0x30fbff)return!0x1;const {view:_0xdc6072,changesets:_0x187a52,isEmpty:_0x3c9ef0,pivotTableConfig:_0x4f3e76}=_0x30fbff,_0x48f3f2=_0x4f3e76[_0x392432(0x169)],_0x590414=new _0xfa0de5();_0x590414['formJSON'](_0xdc6072);const _0x5da599={'cellInfo':_0x48f3f2,'view':_0x590414,'isEmpty':_0x3c9ef0};if(!await _0x29d5fa[_0x392432(0x2f6)](ie)['asyncInterceptor'][_0x392432(0x1e9)](be)(!0x0,_0x5da599))return!0x1;const _0xa2ad08=we(_0x29d5fa,_0x590414,_0x48f3f2,_0x3c9ef0),_0x5f1280=Re(_0x29d5fa,_0x5da599),{redos:_0x3b9cfe,undos:_0x466e26}=me(_0x4b4ffc,{'pivotTableId':_0x54a8dd,'unitId':_0x158c94,'subUnitId':_0x2107d6},_0x187a52);return _0x308278([..._0xa2ad08['redos'],..._0x5f1280[_0x392432(0x15e)],..._0x3b9cfe],_0x4b4ffc),_0x1237e4[_0x392432(0x328)]({'unitID':_0x158c94,'redoMutations':[..._0xa2ad08['redos'],..._0x5f1280['redos'],..._0x3b9cfe],'undoMutations':[..._0xa2ad08[_0x392432(0xf0)],..._0x5f1280[_0x392432(0xf0)],..._0x466e26]}),!0x0;}},bs={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x25c),async 'handler'(_0x558e59,_0x439b63){const _0x43ebed=_0x2b5256;var _0xd89aa2;const _0x3f286f=_0x558e59[_0x43ebed(0x2f6)](_0x51f589),_0x58054b=_0x558e59[_0x43ebed(0x2f6)](Z),_0x3d3baf=_0x558e59[_0x43ebed(0x2f6)](Ne),_0x37617d=_0x558e59[_0x43ebed(0x2f6)](_0x300869),_0x3eb7c6=_0x558e59[_0x43ebed(0x2f6)](_0x5aa453);if(!_0x439b63)return!0x1;const {unitId:_0x30d1ed,subUnitId:_0x33c3e2,row:_0x48338c,col:_0x21d1bb,collapse:_0x437f9b}=_0x439b63,_0x7132ec=_0x37617d[_0x43ebed(0xe3)](_0x30d1ed);if(!_0x7132ec||!_0x7132ec[_0x43ebed(0x10a)](_0x33c3e2))return!0x1;const _0x346dad=_0x3d3baf[_0x43ebed(0x2eb)](_0x30d1ed,_0x33c3e2,_0x48338c,_0x21d1bb);if(!_0x346dad)return!0x1;const _0x593868=_0x3d3baf[_0x43ebed(0x279)](_0x30d1ed,_0x33c3e2,_0x346dad);if(!_0x593868)return!0x1;const _0x31cb3a=_0x2a8431(_0x48338c,_0x21d1bb),{rangesInfo:_0x3a9391,areaInfo:_0x41330e,headerMap:_0x50ed4d}=_0x593868;if(!_0x3a9391||!_0x41330e||!_0x50ed4d)return!0x1;const _0x552796=Object['keys'](_0x3a9391)['find'](_0x31dc1e=>_0x3a9391[_0x31dc1e][_0x43ebed(0x1f5)](_0x145f69=>_0x4d62a4[_0x43ebed(0x2c4)](_0x145f69,_0x31cb3a)));let _0x54cc9f;_0x552796==='rowRanges'?_0x54cc9f=_0x50ed4d[_0x43ebed(0x181)][_0x21d1bb]:_0x552796===_0x43ebed(0x14c)&&(_0x54cc9f=_0x50ed4d[_0x43ebed(0x27e)][_0x48338c]);const _0x42d506=_0x54cc9f==null?void 0x0:_0x54cc9f[_0x43ebed(0xef)],_0x2953c5=(_0xd89aa2=_0x3d3baf['getPivotTableCellData'](_0x30d1ed,_0x33c3e2,_0x48338c,_0x21d1bb))==null?void 0x0:_0xd89aa2['v'];if(_0x2953c5==null||!_0x346dad||!_0x42d506)return!0x1;const _0x31ec25=await _0x58054b['getPivotDisplayConfig']({'unitId':_0x30d1ed,'subUnitId':_0x33c3e2,'pivotTableId':_0x346dad,'params':{'type':B[_0x43ebed(0x319)],'setPivotCollapse':{'tableFieldId':_0x42d506,'collapse':_0x437f9b,'item':_0x2953c5}}}),_0x315ee0=_0x31ec25==null?void 0x0:_0x31ec25[_0x43ebed(0x2e9)][_0x43ebed(0x30a)];if(!_0x315ee0)return!0x1;const {view:_0xb69ad9,pivotTableConfig:_0x241ae5,isEmpty:_0x35aeb6,changesets:_0x1442a}=_0x315ee0,_0x1cb718=new _0xfa0de5();_0x1cb718['formJSON'](_0xb69ad9);const _0x5edfbe=_0x241ae5['targetCellInfo'],_0x4421ee={'cellInfo':_0x5edfbe,'view':_0x1cb718,'isEmpty':_0x35aeb6};if(!await _0x558e59['get'](ie)[_0x43ebed(0x23a)][_0x43ebed(0x1e9)](be)(!0x0,_0x4421ee))return!0x1;const _0x574a12=we(_0x558e59,_0x1cb718,_0x5edfbe,_0x35aeb6),_0x3d024e=Re(_0x558e59,_0x4421ee),{redos:_0x4b3dfa,undos:_0x3f2523}=me(_0x3f286f,{'pivotTableId':_0x346dad,'unitId':_0x30d1ed,'subUnitId':_0x33c3e2},_0x1442a);return _0x308278([..._0x574a12[_0x43ebed(0x15e)],..._0x3d024e[_0x43ebed(0x15e)],..._0x4b3dfa],_0x3f286f),_0x3eb7c6[_0x43ebed(0x328)]({'unitID':_0x30d1ed,'redoMutations':[..._0x574a12['redos'],..._0x3d024e[_0x43ebed(0x15e)],..._0x4b3dfa],'undoMutations':[..._0x574a12['undos'],..._0x3d024e[_0x43ebed(0xf0)],..._0x3f2523]}),!0x0;}},Ss={'type':_0xbe2aa2['COMMAND'],'id':_0x2b5256(0x300),async 'handler'(_0x22d190,_0x1f3c65){const _0x4715c1=_0x2b5256;if(!_0x1f3c65)return!0x1;const _0x50b57d=_0x22d190[_0x4715c1(0x2f6)](_0x51f589),{pivotTableId:_0x4f6f1d,tableFieldId:_0x388381,items:_0x18cb2d,unitId:_0x22f7a9,subUnitId:_0x4877ec,isAll:_0x4f78a6}=_0x1f3c65,_0x329cee=_0x22d190[_0x4715c1(0x2f6)](Z),_0x213276=_0x22d190[_0x4715c1(0x2f6)](_0x5aa453),_0x36348b=(await _0x329cee[_0x4715c1(0x200)]({'unitId':_0x22f7a9,'subUnitId':_0x4877ec,'pivotTableId':_0x4f6f1d,'params':{'type':B[_0x4715c1(0x241)],'setPivotFilter':{'tableFieldId':_0x388381,'items':_0x18cb2d,'isAll':_0x4f78a6}}}))[_0x4715c1(0x2e9)][_0x4715c1(0x1fc)];if(!_0x36348b)return!0x1;const {changesets:_0x41694a,pivotTableConfig:_0x334e41,isEmpty:_0xadecab,view:_0x554d97}=_0x36348b,_0x1f0116=_0x334e41[_0x4715c1(0x169)],_0x2c0411=new _0xfa0de5();_0x2c0411[_0x4715c1(0x113)](_0x554d97);const _0x123186={'cellInfo':_0x1f0116,'view':_0x2c0411,'isEmpty':_0xadecab};if(!await _0x22d190[_0x4715c1(0x2f6)](ie)[_0x4715c1(0x23a)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x123186))return!0x1;const _0x32fb39=we(_0x22d190,_0x2c0411,_0x1f0116,_0xadecab),_0xa145c7=Re(_0x22d190,_0x123186),{undos:_0x555a05,redos:_0x4d323e}=me(_0x50b57d,{'pivotTableId':_0x4f6f1d,'unitId':_0x22f7a9,'subUnitId':_0x4877ec},_0x41694a);return _0x308278([..._0x32fb39[_0x4715c1(0x15e)],..._0xa145c7[_0x4715c1(0x15e)],..._0x4d323e],_0x50b57d),_0x213276[_0x4715c1(0x328)]({'unitID':_0x22f7a9,'redoMutations':[..._0x32fb39['redos'],..._0xa145c7[_0x4715c1(0x15e)],..._0x4d323e],'undoMutations':[..._0x32fb39[_0x4715c1(0xf0)],..._0xa145c7['undos'],..._0x555a05]}),!0x0;}},Ps={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x283822,_0x25250c){const _0x3b3c80=_0x2b5256;if(!_0x25250c)return!0x1;const _0x33bcf1=_0x283822[_0x3b3c80(0x2f6)](_0x51f589),_0x210b83=_0x283822[_0x3b3c80(0x2f6)](_0x5aa453),_0x472014=_0x283822['get'](Z),{info:_0xa0c5,tableFieldId:_0x4b009b,pivotTableId:_0x489b51,unitId:_0x4d1f8c,subUnitId:_0x5266ef}=_0x25250c,_0x47fe9d=(await _0x472014[_0x3b3c80(0x200)]({'unitId':_0x4d1f8c,'subUnitId':_0x5266ef,'pivotTableId':_0x489b51,'params':{'type':B['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x4b009b,'info':_0xa0c5}}}))[_0x3b3c80(0x2e9)]['setPivotSort'];if(!_0x47fe9d)return!0x1;const {changesets:_0x917109}=_0x47fe9d,{redos:_0x1ed842,undos:_0x2d0b9d}=me(_0x33bcf1,{'pivotTableId':_0x489b51,'unitId':_0x4d1f8c,'subUnitId':_0x5266ef},_0x917109);return _0x308278(_0x1ed842,_0x33bcf1),_0x210b83['pushUndoRedo']({'unitID':_0x4d1f8c,'redoMutations':_0x1ed842,'undoMutations':_0x2d0b9d}),!0x0;}},Ts={'type':_0xbe2aa2['COMMAND'],'id':_0x2b5256(0x187),async 'handler'(_0x45c7c4,_0x302561){const _0x49a474=_0x2b5256;if(!_0x302561)return!0x1;const _0x1024cb=_0x45c7c4[_0x49a474(0x2f6)](_0x51f589),_0x3a974a=_0x45c7c4[_0x49a474(0x2f6)](_0x5aa453),_0x4f0363=_0x45c7c4['get'](Z),{displayName:_0x24608c,subtotalType:_0x3569a7,format:_0x2f67ba,tableFieldId:_0x461d36,pivotTableId:_0x2a63bc,unitId:_0x482371,subUnitId:_0x1f9f8f}=_0x302561,_0x36cc84=(await _0x4f0363['getPivotDisplayConfig']({'unitId':_0x482371,'subUnitId':_0x1f9f8f,'pivotTableId':_0x2a63bc,'params':{'type':B[_0x49a474(0x234)],'setPivotSetting':{'tableFieldId':_0x461d36,'displayName':_0x24608c,'subtotalType':_0x3569a7,'format':_0x2f67ba}}}))[_0x49a474(0x2e9)][_0x49a474(0x320)];if(!_0x36cc84)return!0x1;const {changesets:_0x3cf27c,view:_0x1974af,pivotTableConfig:_0x9242b,isEmpty:_0x1b51e8}=_0x36cc84,_0x9c74d7=_0x9242b[_0x49a474(0x169)],_0x1a8114=new _0xfa0de5();_0x1a8114['formJSON'](_0x1974af);const _0x30ff06={'cellInfo':_0x9c74d7,'view':_0x1a8114,'isEmpty':_0x1b51e8};if(!await _0x45c7c4['get'](ie)['asyncInterceptor'][_0x49a474(0x1e9)](be)(!0x0,_0x30ff06))return!0x1;const _0x57fd3c=we(_0x45c7c4,_0x1a8114,_0x9c74d7,_0x1b51e8),_0x4605e2=Re(_0x45c7c4,_0x30ff06),{undos:_0x4c4d44,redos:_0x1ae368}=me(_0x1024cb,{'pivotTableId':_0x2a63bc,'unitId':_0x482371,'subUnitId':_0x1f9f8f},_0x3cf27c);return _0x308278([..._0x57fd3c['redos'],..._0x4605e2[_0x49a474(0x15e)],..._0x1ae368],_0x1024cb),_0x3a974a[_0x49a474(0x328)]({'unitID':_0x482371,'redoMutations':[..._0x57fd3c['redos'],..._0x4605e2[_0x49a474(0x15e)],..._0x1ae368],'undoMutations':[..._0x57fd3c['undos'],..._0x4605e2[_0x49a474(0xf0)],..._0x4c4d44]}),!0x0;}},ys={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x1d0),async 'handler'(_0x2f5e0e,_0x1b94c5){const _0x2bf6df=_0x2b5256,_0x2be3fb=_0x2f5e0e[_0x2bf6df(0x2f6)](_0x51f589),_0x4fb07b=_0x2f5e0e['get'](Z),_0xef1b1=_0x2f5e0e[_0x2bf6df(0x2f6)](_0x5aa453);if(!_0x1b94c5)return!0x1;const {token:_0x3f48e3,dataRangeInfo:_0x4d1512,unitId:_0x435fbd,subUnitId:_0x11e085}=_0x1b94c5,_0x45eaaf=[],_0x361249=[],_0x1fad8d=(await _0x4fb07b[_0x2bf6df(0x200)]({'unitId':_0x435fbd,'subUnitId':_0x11e085,'pivotTableId':_0x3f48e3,'params':{'type':B[_0x2bf6df(0x32c)],'updatePivotSource':{'dataRangeInfo':_0x4d1512,'unitId':_0x435fbd,'subUnitId':_0x11e085}}}))['result']['updatePivotSource'];if(!_0x1fad8d)return!0x1;const {changesets:_0x26b120,deleteIds:_0x2bab53,collectionConfig:_0x57e528,oldCollectionConfig:_0x48d6c7,view:_0x15e744,isEmpty:_0x3b05d9,pivotTableConfig:_0x39b778}=_0x1fad8d;_0x361249[_0x2bf6df(0x25e)]({'id':to['id'],'params':{'pivotTableId':_0x3f48e3,'deleteIds':_0x2bab53,'collectionJSON':_0x57e528,'dataRangeInfo':_0x4d1512,'unitId':_0x435fbd,'subUnitId':_0x11e085}}),_0x45eaaf[_0x2bf6df(0x23c)]({'id':to['id'],'params':{'pivotTableId':_0x3f48e3,'deleteIds':[],'collectionJSON':_0x48d6c7,'dataRangeInfo':_0x39b778[_0x2bf6df(0x1c8)],'unitId':_0x435fbd,'subUnitId':_0x11e085}});const _0x4db84a=_0x39b778[_0x2bf6df(0x169)],_0x1e698c=new _0xfa0de5();_0x1e698c['formJSON'](_0x15e744);const _0x2b0a1d={'cellInfo':_0x4db84a,'view':_0x1e698c,'isEmpty':_0x3b05d9};if(!await _0x2f5e0e[_0x2bf6df(0x2f6)](ie)['asyncInterceptor'][_0x2bf6df(0x1e9)](be)(!0x0,_0x2b0a1d))return!0x1;const _0x4cad48=we(_0x2f5e0e,_0x1e698c,_0x4db84a,_0x3b05d9),_0x268800=Re(_0x2f5e0e,_0x2b0a1d),{undos:_0x5cdb18,redos:_0x1ad718}=me(_0x2be3fb,{'pivotTableId':_0x3f48e3,'unitId':_0x435fbd,'subUnitId':_0x11e085},_0x26b120);return _0x308278([..._0x4cad48['redos'],..._0x268800['redos'],..._0x361249,..._0x5cdb18],_0x2be3fb),_0xef1b1[_0x2bf6df(0x328)]({'unitID':_0x435fbd,'redoMutations':[..._0x4cad48[_0x2bf6df(0x15e)],..._0x268800['redos'],..._0x361249,..._0x5cdb18],'undoMutations':[..._0x4cad48[_0x2bf6df(0xf0)],..._0x268800[_0x2bf6df(0xf0)],..._0x45eaaf,..._0x1ad718]}),!0x0;}},Ms={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x2f7),async 'handler'(_0x24000e,_0x344d0c){const _0x3c15e7=_0x2b5256;if(!_0x344d0c)return!0x1;const _0x494965=_0x24000e['get'](_0x51f589),_0x27d73b=_0x24000e[_0x3c15e7(0x2f6)](Z),_0xb9ee92=_0x24000e['get'](_0x300869),_0x6792da=_0x24000e[_0x3c15e7(0x2f6)](_0x5aa453),{pivotTableId:_0x1b6d06,position:_0x43e51d,index:_0x202317}=_0x344d0c,_0x11895b=_0x1efd93(_0xb9ee92);if(!_0x11895b)return!0x1;const {unitId:_0x130f57,subUnitId:_0x5228bb}=_0x11895b,_0x31c117=(await _0x27d73b[_0x3c15e7(0x200)]({'unitId':_0x130f57,'subUnitId':_0x5228bb,'pivotTableId':_0x1b6d06,'params':{'type':B[_0x3c15e7(0x19b)],'updateValuePosition':{'position':_0x43e51d,'index':_0x202317}}}))[_0x3c15e7(0x2e9)][_0x3c15e7(0x31b)];if(!_0x31c117)return!0x1;const {changesets:_0x1cc1fd,view:_0x2f5c71,isEmpty:_0x3fdee4,pivotTableConfig:_0x15159b}=_0x31c117,_0x2a3968=_0x15159b[_0x3c15e7(0x169)],_0x391ff7=new _0xfa0de5();_0x391ff7['formJSON'](_0x2f5c71);const _0x15aeb2=_0x24000e[_0x3c15e7(0x2f6)](ie),_0xed6c30={'cellInfo':_0x2a3968,'view':_0x391ff7,'isEmpty':_0x3fdee4};if(!await _0x15aeb2[_0x3c15e7(0x23a)][_0x3c15e7(0x1e9)](be)(!0x0,_0xed6c30))return!0x1;const _0x2d689d=we(_0x24000e,_0x391ff7,_0x2a3968,_0x3fdee4),_0x4460c7=Re(_0x24000e,_0xed6c30),{undos:_0x47653c,redos:_0x2a9f16}=me(_0x494965,{'pivotTableId':_0x1b6d06,'unitId':_0x130f57,'subUnitId':_0x5228bb},_0x1cc1fd);return _0x308278([..._0x2d689d[_0x3c15e7(0x15e)],..._0x4460c7[_0x3c15e7(0x15e)],..._0x2a9f16],_0x494965),_0x6792da[_0x3c15e7(0x328)]({'unitID':_0x130f57,'redoMutations':[..._0x2d689d['redos'],..._0x4460c7[_0x3c15e7(0x15e)],..._0x2a9f16],'undoMutations':[..._0x2d689d[_0x3c15e7(0xf0)],..._0x4460c7[_0x3c15e7(0xf0)],..._0x47653c]}),!0x0;}},ws={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x151),'handler':(_0x44c3ca,_0x450ff4)=>{const _0x16a7aa=_0x2b5256,_0x2e1946=_0x44c3ca[_0x16a7aa(0x2f6)](_0x51f589),_0x1deddd=_0x44c3ca[_0x16a7aa(0x2f6)](_0x5aa453),_0x332f0a=_0x44c3ca['get'](he),_0x27fe35=_0x44c3ca[_0x16a7aa(0x2f6)](_0x300869);if(!_0x450ff4)return!0x1;const _0x1c9895=_0x1efd93(_0x27fe35);if(!_0x1c9895)return!0x1;const {unitId:_0x22c0f,subUnitId:_0x49396e,workbook:_0x358bf3}=_0x1c9895,_0x333d34=_0x332f0a['getPivotTableConfig'](_0x450ff4[_0x16a7aa(0xc7)][_0x16a7aa(0x2df)],_0x450ff4[_0x16a7aa(0xc7)][_0x16a7aa(0x2ab)],_0x450ff4[_0x16a7aa(0x2b9)]);if(!_0x333d34)return!0x1;const _0x3de00f=_0x358bf3[_0x16a7aa(0x10a)](_0x450ff4[_0x16a7aa(0x169)]['subUnitId']);if(!_0x3de00f)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0xc37fc6=_0x3de00f[_0x16a7aa(0x2a8)](),_0x322be5=_0x3de00f[_0x16a7aa(0x1e5)]();if(_0x450ff4['targetCellInfo'][_0x16a7aa(0x25b)]>_0xc37fc6||_0x450ff4[_0x16a7aa(0x169)][_0x16a7aa(0x112)]>_0x322be5)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2f8dce=[{'id':pt['id'],'params':{'unitId':_0x22c0f,'subUnitId':_0x450ff4[_0x16a7aa(0x169)]['subUnitId'],'pivotTableId':_0x450ff4['pivotTableId'],'targetCellPosition':{'row':_0x450ff4['targetCellInfo'][_0x16a7aa(0x25b)],'col':_0x450ff4[_0x16a7aa(0x169)][_0x16a7aa(0x112)]}}}],_0x231d6f=[{'id':pt['id'],'params':{'unitId':_0x22c0f,'subUnitId':_0x49396e,'pivotTableId':_0x450ff4['pivotTableId'],'targetCellPosition':{'row':_0x333d34[_0x16a7aa(0x169)][_0x16a7aa(0x25b)],'col':_0x333d34[_0x16a7aa(0x169)][_0x16a7aa(0x112)]}}}];return _0x308278(_0x2f8dce,_0x2e1946)&&_0x1deddd[_0x16a7aa(0x328)]({'unitID':_0x22c0f,'undoMutations':_0x231d6f,'redoMutations':_0x2f8dce}),!0x0;}},Rs={'type':_0xbe2aa2['COMMAND'],'id':_0x2b5256(0x199),async 'handler'(_0x5c5ac8,_0x37be9b){const _0x447911=_0x2b5256;if(!_0x37be9b)return!0x1;const _0xa6535f=_0x5c5ac8['get'](_0x51f589),{pivotTableId:_0x1caf5c,fieldId:_0x1e9fe3,valueFilterInfo:_0x2e2d78,unitId:_0x19cb00,subUnitId:_0x2fefb7}=_0x37be9b,_0x58bc69=_0x5c5ac8[_0x447911(0x2f6)](Z),_0x5a8bcb=_0x5c5ac8[_0x447911(0x2f6)](_0x5aa453),_0x286c16=(await _0x58bc69['getPivotDisplayConfig']({'unitId':_0x19cb00,'subUnitId':_0x2fefb7,'pivotTableId':_0x1caf5c,'params':{'type':B[_0x447911(0x332)],'setValuePivotFilter':{'tableFieldId':_0x1e9fe3,'filterInfo':_0x2e2d78}}}))[_0x447911(0x2e9)][_0x447911(0x142)];if(!_0x286c16)return!0x1;const {changesets:_0x1309b9,pivotTableConfig:_0x238886,isEmpty:_0x2bd8b1,view:_0x199963}=_0x286c16,_0x360951=_0x238886[_0x447911(0x169)],_0x4f733f=new _0xfa0de5();_0x4f733f['formJSON'](_0x199963);const _0x5cbaba={'cellInfo':_0x360951,'view':_0x4f733f,'isEmpty':_0x2bd8b1};if(!await _0x5c5ac8[_0x447911(0x2f6)](ie)[_0x447911(0x23a)][_0x447911(0x1e9)](be)(!0x0,_0x5cbaba))return!0x1;const _0x1a9cf6=we(_0x5c5ac8,_0x4f733f,_0x360951,_0x2bd8b1),_0x2cb8e2=Re(_0x5c5ac8,_0x5cbaba),{undos:_0x120d7a,redos:_0x2359ec}=me(_0xa6535f,{'pivotTableId':_0x1caf5c,'unitId':_0x19cb00,'subUnitId':_0x2fefb7},_0x1309b9);return _0x308278([..._0x1a9cf6[_0x447911(0x15e)],..._0x2cb8e2[_0x447911(0x15e)],..._0x2359ec],_0xa6535f),_0x5a8bcb[_0x447911(0x328)]({'unitID':_0x19cb00,'redoMutations':[..._0x1a9cf6['redos'],..._0x2cb8e2[_0x447911(0x15e)],..._0x2359ec],'undoMutations':[..._0x1a9cf6[_0x447911(0xf0)],..._0x2cb8e2[_0x447911(0xf0)],..._0x120d7a]}),!0x0;}},_s={'type':_0xbe2aa2[_0x2b5256(0x1bd)],'id':_0x2b5256(0x1ed),async 'handler'(_0x41b8e8,_0x19282a){const _0x29f88d=_0x2b5256;if(!_0x19282a)return!0x1;const _0x2760e8=_0x41b8e8['get'](_0x51f589),_0x1d3189=_0x41b8e8[_0x29f88d(0x2f6)](_0x5aa453),_0x43e4ea=_0x41b8e8[_0x29f88d(0x2f6)](Z),{pivotTableConfig:_0x16576c,pivotTableId:_0x333146,unitId:_0x5f1167,subUnitId:_0x39febd}=_0x19282a,_0x41d61e=(await _0x43e4ea[_0x29f88d(0x200)]({'unitId':_0x5f1167,'subUnitId':_0x39febd,'pivotTableId':_0x333146,'params':{'type':B[_0x29f88d(0xd4)],'setPivotTableConfig':{'pivotTableId':_0x333146,'pivotTableConfig':_0x16576c}}}))[_0x29f88d(0x2e9)][_0x29f88d(0x317)];if(!_0x41d61e)return!0x1;const {changesets:_0x10a64d}=_0x41d61e,{redos:_0x524524,undos:_0x25bdb4}=me(_0x2760e8,{'pivotTableId':_0x333146,'unitId':_0x5f1167,'subUnitId':_0x39febd},_0x10a64d);return _0x308278(_0x524524,_0x2760e8),_0x1d3189[_0x29f88d(0x328)]({'unitID':_0x5f1167,'redoMutations':_0x524524,'undoMutations':_0x25bdb4}),!0x0;}},Fs={'type':_0xbe2aa2['COMMAND'],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x50363d,_0x312058){const _0x374ea5=_0x2b5256;if(!_0x312058)return!0x1;const _0x1f7b1c=_0x50363d['get'](_0x51f589),_0x553769=_0x50363d[_0x374ea5(0x2f6)](_0x5aa453),_0x39db7a=_0x50363d[_0x374ea5(0x2f6)](Z),{resetArea:_0x16bcb7,pivotTableId:_0x4d55b3,unitId:_0x4f0178,subUnitId:_0x292fb1}=_0x312058,_0x4d9768=(await _0x39db7a['getPivotDisplayConfig']({'unitId':_0x4f0178,'subUnitId':_0x292fb1,'pivotTableId':_0x4d55b3,'params':{'type':B['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4d55b3,'resetArea':_0x16bcb7}}}))[_0x374ea5(0x2e9)][_0x374ea5(0x264)];if(!_0x4d9768)return!0x1;const {changesets:_0x599f94}=_0x4d9768,{redos:_0x2a38d5,undos:_0x13e23c}=me(_0x1f7b1c,{'pivotTableId':_0x4d55b3,'unitId':_0x4f0178,'subUnitId':_0x292fb1},_0x599f94);return _0x308278(_0x2a38d5,_0x1f7b1c),_0x553769[_0x374ea5(0x328)]({'unitID':_0x4f0178,'redoMutations':_0x2a38d5,'undoMutations':_0x13e23c}),!0x0;}},oo={'id':_0x2b5256(0x160),'type':_0xbe2aa2[_0x2b5256(0x32a)],'handler':(_0x1ed612,_0x19cc68)=>{const _0x557d7a=_0x2b5256;if(!_0x19cc68)return!0x1;if(!!_0x1ed612[_0x557d7a(0x2f6)](_0x2a9e1d)[_0x557d7a(0xdd)](q))return!0x0;const {unitId:_0x507d35,subUnitId:_0x23c798,pivotTableId:_0x5c0d54,tableFieldId:_0x66bcc7,dateType:_0x25ef89}=_0x19cc68,_0x2c11aa=_0x1ed612['get'](G),_0x2c1ec6=_0x2c11aa[_0x557d7a(0x105)](_0x5c0d54);if(!_0x2c1ec6)return!0x1;const _0x1d89ed=_0x2c1ec6['getDataFieldByTableId'](_0x66bcc7);if(!_0x1d89ed)return!0x1;const _0x3bb656=_0x1d89ed['getOriginFieldId'](),_0x587652=_0x2c1ec6[_0x557d7a(0x1b6)](_0x3bb656),_0x2076e8=(_0x587652==null?void 0x0:_0x587652[_0x557d7a(0x1b1)]())+'\x20'+qo(_0x1ed612,_0x25ef89);_0x2c11aa[_0x557d7a(0x231)](_0x507d35,_0x5c0d54)['setDisplayName'](_0x1d89ed['id'],_0x2076e8);const _0xfea335=_0x2c1ec6[_0x557d7a(0x137)](_0x66bcc7);if(!_0xfea335)return!0x1;_0x2c1ec6[_0x557d7a(0x15a)](_0xfea335[_0x557d7a(0x1c2)](),_0x2076e8),_0x1d89ed[_0x557d7a(0x2d2)](_0x25ef89);const _0x1d08c0=_0x2c11aa['getPivotTableConfig'](_0x507d35,_0x23c798,_0x5c0d54);return _0x2c11aa[_0x557d7a(0x24a)]({'unitId':_0x507d35,'subUnitId':_0x23c798,'token':_0x5c0d54,'type':L[_0x557d7a(0x2ba)],'pivotConfig':_0x1d08c0}),!0x0;}},Ds={'id':_0x2b5256(0x267),'type':_0xbe2aa2['COMMAND'],'handler':(_0x50fb05,_0x588872)=>{const _0x5cde09=_0x2b5256;if(!_0x588872)return!0x1;const _0x50658b=_0x50fb05['get'](_0x5aa453),{unitId:_0x3a77a6,subUnitId:_0x41ad86,pivotTableId:_0x31ba04,tableFieldId:_0x287005}=_0x588872,_0x155e83=[],_0x4946e0=[],_0x4e83fd=_0x50fb05['get'](he),_0x4a2102=_0x4e83fd[_0x5cde09(0x231)](_0x3a77a6,_0x31ba04),_0x818b1d=_0x4e83fd[_0x5cde09(0x183)](_0x3a77a6,_0x41ad86,_0x31ba04);if(!(_0x818b1d!=null&&_0x818b1d[_0x5cde09(0x2d1)][_0x5cde09(0x1a6)]))return!0x1;const _0x53f3f8=Object[_0x5cde09(0xd2)](_0x818b1d[_0x5cde09(0x2d1)]['dimension'])['find'](_0x290609=>_0x290609['id']===_0x287005);if(!_0x53f3f8)return!0x1;const _0x2e66d3=_0x53f3f8[_0x5cde09(0x222)];if(!(_0x4a2102!=null&&_0x4a2102[_0x5cde09(0x153)]))return!0x1;const _0x4557af=Object[_0x5cde09(0xd2)](_0x4a2102==null?void 0x0:_0x4a2102[_0x5cde09(0x153)])[_0x5cde09(0xe0)](_0x1c7f45=>_0x1c7f45['id']===_0x2e66d3);if(!_0x4557af)return!0x1;_0xc24e(_0x4557af)&&_0x155e83[_0x5cde09(0x25e)]({'id':oo['id'],'params':{..._0x588872,'dateType':_0x4557af[_0x5cde09(0x13e)]}}),_0x4946e0[_0x5cde09(0x25e)]({'id':oo['id'],'params':{..._0x588872}});const _0x3255f3=_0x50fb05[_0x5cde09(0x2f6)](_0x51f589);return _0x308278(_0x4946e0,_0x3255f3)&&_0x50658b[_0x5cde09(0x328)]({'unitID':_0x3a77a6,'undoMutations':_0x155e83,'redoMutations':_0x4946e0}),!0x0;}};var Ns=Object[_0x2b5256(0x340)],Us=(_0x36e5f1,_0x13f3b8,_0x550963,_0x109f30)=>{const _0x155b83=_0x2b5256;for(var _0x4a524b=_0x109f30>0x1?void 0x0:_0x109f30?Ns(_0x13f3b8,_0x550963):_0x13f3b8,_0x12cf2a=_0x36e5f1[_0x155b83(0x1bf)]-0x1,_0x488c05;_0x12cf2a>=0x0;_0x12cf2a--)(_0x488c05=_0x36e5f1[_0x12cf2a])&&(_0x4a524b=_0x488c05(_0x4a524b)||_0x4a524b);return _0x4a524b;},Ke=(_0x1ebcd8,_0x185ac5)=>(_0x3149d8,_0x2918ad)=>_0x185ac5(_0x3149d8,_0x2918ad,_0x1ebcd8);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),As=(_0x598930,_0x2f17e1,_0x1b6a39)=>{const _0x3ec208=_0x2b5256,_0x6c3fa9=_0x598930['dataFieldsCollection'];_0x598930['iterateFieldDim'](_0x647e90=>{const _0x54f8c9=_0x3ffc,_0x25be2e=_0x647e90[_0x54f8c9(0x1c2)](),_0x17ad8f=_0x647e90[_0x54f8c9(0x28f)](),_0x453bf3=_0x647e90['getSourceName'](),_0x248488=_0x647e90['getDisplayName']();_0x2f17e1[_0x17ad8f]&&_0x2f17e1[_0x17ad8f]===_0x248488&&_0x453bf3===_0x248488&&(_0x598930[_0x54f8c9(0x15a)](_0x25be2e,_0x6c3fa9[_0x54f8c9(0x21f)](_0x17ad8f)),_0x647e90[_0x54f8c9(0x2bc)](_0x6c3fa9[_0x54f8c9(0x21f)](_0x17ad8f)));}),_0x598930[_0x3ec208(0x1f6)](_0x11f300[_0x3ec208(0x117)],_0x1e2fdf=>{const _0x2ed5dc=_0x3ec208,_0xd05300=_0x1e2fdf[_0x2ed5dc(0x1c2)](),_0x4c7531=_0x1e2fdf[_0x2ed5dc(0x28f)](),_0x1c9b70=_0x1e2fdf[_0x2ed5dc(0x255)](),_0x54a43f=_0x1e2fdf[_0x2ed5dc(0x21f)](),_0x8a6792=_0x1e2fdf[_0x2ed5dc(0x1ec)](),_0x3d316e=_0x1b6a39(_0x1c9b70,_0x8a6792);_0x2f17e1[_0x4c7531]&&_0x2f17e1[_0x4c7531]===_0x1c9b70&&_0x3d316e===_0x54a43f&&(_0x598930[_0x2ed5dc(0x15a)](_0xd05300,_0x1b6a39(_0x6c3fa9[_0x2ed5dc(0x21f)](_0x4c7531),_0x8a6792)),_0x1e2fdf['setSourceName'](_0x6c3fa9[_0x2ed5dc(0x21f)](_0x4c7531)));});},Es=(_0xe76dd3,_0x507716,_0x50eedc)=>{const _0x554b58=_0x2b5256;var _0x1d180b,_0xe8ef87;const {arrayFormulaCellData:_0x5cb6ae,unitData:_0x5c2274}=_0x507716,{unitId:_0x110edd,subUnitId:_0x30abef}=_0x50eedc,_0x70783d=_0x50eedc[_0x554b58(0x27c)],{startColumn:_0x22b83f,endColumn:_0x2b126d}=_0x70783d,_0x468829=(_0x1d180b=_0x5cb6ae==null?void 0x0:_0x5cb6ae[_0x110edd])==null?void 0x0:_0x1d180b[_0x30abef],_0x4a5d2a=(_0xe8ef87=_0x5c2274==null?void 0x0:_0x5c2274[_0x110edd])==null?void 0x0:_0xe8ef87[_0x30abef],_0x1236d8=new Set(),_0xc76515=_0x2b126d-_0x22b83f+0x1,{dirtyRanges:_0x58c8f9}=_0xe76dd3;if(_0x58c8f9)for(const {range:_0x45e163,sheetId:_0x8d3397,unitId:_0x284774}of _0x58c8f9){if(_0x8d3397!==_0x30abef||_0x110edd!==_0x284774)continue;const _0x2383a0=_0x4d62a4[_0x554b58(0x125)](_0x45e163,_0x70783d);if(_0x2383a0){const {startColumn:_0x3854b8,endColumn:_0x13188f}=_0x2383a0;for(let _0x5e08ee=_0x3854b8;_0x5e08ee<=_0x13188f;_0x5e08ee++)_0x1236d8[_0x554b58(0x1ac)](_0x5e08ee);}}if(_0x1236d8[_0x554b58(0xcb)]===_0xc76515||_0x1236d8['size']===_0xc76515)return Array[_0x554b58(0x163)](_0x1236d8);if(_0x4a5d2a){const _0x56b554=_0x4a5d2a[_0x554b58(0xe5)](),_0x315cc3=Object[_0x554b58(0x176)](_0x56b554);for(const _0x43a09c of _0x315cc3){const _0x15e514=Number(_0x43a09c),_0x88658f=_0x56b554[_0x15e514];if(_0x1236d8['size']===_0xc76515)break;for(const _0x37d20c in _0x88658f){const _0x180892=Number(_0x37d20c);_0x180892<_0x22b83f||_0x180892>_0x2b126d||_0x1236d8[_0x554b58(0x1ac)](_0x180892);}}}if(_0x468829){const _0x48f645=_0x468829[_0x554b58(0xe5)](),_0x57212d=Object['keys'](_0x48f645);for(const _0x46be12 of _0x57212d){const _0x1fdfb0=Number(_0x46be12),_0x2924d4=_0x48f645[_0x1fdfb0];if(_0x1236d8['size']===_0xc76515)break;for(const _0x37b328 in _0x2924d4){const _0xdc7704=Number(_0x37b328);_0xdc7704<_0x22b83f||_0xdc7704>_0x2b126d||_0x1236d8[_0x554b58(0x1ac)](_0xdc7704);}}}return Array[_0x554b58(0x163)](_0x1236d8);},Os=_0x193aeb=>{const _0x4f3ff6=_0x2b5256,_0x161963=new Set(),_0x29ee1b=[];for(const _0x41e16d of _0x193aeb){const _0xac2003=_0x41e16d[_0x4f3ff6(0x12c)]+','+_0x41e16d[_0x4f3ff6(0x136)]+','+_0x41e16d['startColumn']+','+_0x41e16d['endColumn'];_0x161963[_0x4f3ff6(0x132)](_0xac2003)||(_0x161963[_0x4f3ff6(0x1ac)](_0xac2003),_0x29ee1b['push'](_0x41e16d));}return _0x29ee1b;};let ct=class extends _0x2a8c6f{constructor(_0x384625,_0x58ae4b,_0x464dd4,_0x283feb,_0x1e29a5,_0x3ba46c){const _0x405e6e=_0x2b5256;super(),V(this,_0x405e6e(0x154),new _0x939dfa(!0x0)),V(this,'_globalComputedStartHelpFunc',_0x547e93=>{const _0x3cf141=_0x405e6e;this[_0x3cf141(0x154)][_0x3cf141(0x23d)](!0x1);}),V(this,_0x405e6e(0x2d7),_0x32abc2=>{const _0xf745f3=_0x405e6e;this[_0xf745f3(0x154)][_0xf745f3(0x23d)](!0x0);}),(this[_0x405e6e(0x280)]=_0x384625,this['_configService']=_0x58ae4b,this[_0x405e6e(0x2f3)]=_0x464dd4,this['_commandService']=_0x283feb,this[_0x405e6e(0x148)]=_0x1e29a5,this[_0x405e6e(0x2e7)]=_0x3ba46c,this['_init'](),this['_initPivotDataGetListener']());}['_init'](){const _0x323275=_0x2b5256;this[_0x323275(0x202)](),this[_0x323275(0x2bf)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}[_0x2b5256(0x338)](){const _0x2bbb31=_0x2b5256;this[_0x2bbb31(0x148)]['pushComputingStatusSubject'](this[_0x2bbb31(0x154)]),_0x4ca182[_0x2bbb31(0x102)](_0x516dbb[_0x2bbb31(0x216)],this[_0x2bbb31(0x1d4)]),_0x4ca182[_0x2bbb31(0x102)](_0x516dbb[_0x2bbb31(0x1b4)],this[_0x2bbb31(0x2d7)]);}[_0x2b5256(0x275)](){const _0x50251b=_0x2b5256;this[_0x50251b(0x2ea)](this['_commandService'][_0x50251b(0x28e)](_0x53f704=>{const _0x3d54d6=_0x50251b;_0x53f704['id']===_0x191ae7['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x53f704[_0x3d54d6(0x1b7)]);})),this[_0x50251b(0x2ea)](this[_0x50251b(0x318)][_0x50251b(0x28e)](_0x4db5be=>{const _0x56d429=_0x50251b;if(_0x4db5be['id']!==ro['id'])return;const _0x1bd342=_0x4db5be[_0x56d429(0x1b7)],{unitId:_0x1cd09c,subUnitId:_0x56500d,pivotTableId:_0x3c721f}=_0x1bd342,_0x30afc9=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x144)],_0x13aa38={};switch(_0x30afc9){case B['Filter']:{const _0x53cae4=_0x1bd342['params'][_0x56d429(0x180)];if(!_0x53cae4)return;const {row:_0x2e7d2d,col:_0x3911fd,cellData:_0xda1fbd,pivotItemRenderInfoCache:_0xa0ba5e,tableFieldId:_0x53c2a1}=_0x53cae4,_0x52f200=this[_0x56d429(0x280)]['getPivotTableInstance'](_0x1bd342[_0x56d429(0x2b9)]);if(!_0x52f200||!_0xa0ba5e)return;if(_0x53c2a1){const _0xbb9ead=_0x52f200[_0x56d429(0x13c)](_0x53c2a1);if(!_0xbb9ead)return;_0x13aa38['filter']={..._0x52f200['getDataFieldItemInfo'](_0xbb9ead),'tableFieldId':_0x53c2a1,'pivotTableId':_0x1bd342[_0x56d429(0x2b9)],'filterInfo':_0x52f200[_0x56d429(0x2d0)](_0x53c2a1),'sortInfo':_0x52f200[_0x56d429(0x1c7)](_0x53c2a1),'format':_0x52f200[_0x56d429(0x1c6)](_0x53c2a1)};}else{const _0x3d8897=Ei(_0x2e7d2d,_0x3911fd,_0xda1fbd,_0x52f200,_0xa0ba5e),_0x5c6bb2=_0x3d8897==null?void 0x0:_0x3d8897['filterId'];if(!_0x5c6bb2)return;const _0x2e80bd=_0x52f200['getDataFieldByTableId'](_0x5c6bb2);if(!_0x2e80bd)return;_0x13aa38['filter']={..._0x52f200[_0x56d429(0x282)](_0x2e80bd),'tableFieldId':_0x5c6bb2,'pivotTableId':_0x1bd342[_0x56d429(0x2b9)],'filterInfo':_0x52f200['getFilterInfo'](_0x5c6bb2),'sortInfo':_0x52f200[_0x56d429(0x1c7)](_0x5c6bb2),'format':_0x52f200[_0x56d429(0x1c6)](_0x5c6bb2)};}}break;case B[_0x56d429(0xdf)]:{const _0x4b610c=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x2b0)];if(!_0x4b610c)return;const {pivotTableId:_0x38298f}=_0x4b610c,_0xd9db08=this[_0x56d429(0x280)]['getPivotTableInstance'](_0x38298f);if(!_0xd9db08)return;const _0x2269f0=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x38298f),_0x223130=Oi(_0xd9db08,_0x38298f,_0x2269f0);_0x13aa38[_0x56d429(0x2b0)]=_0x223130;}break;case B[_0x56d429(0x2fc)]:{const _0x53e287=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x42c3a7=this[_0x56d429(0x280)]['getDataFieldManager'](_0x1cd09c),_0x269e8b=_0x42c3a7[_0x56d429(0x231)](_0x3c721f);let _0x1f3776=null;const _0x3ecf4c=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f),_0x5ccaa3=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x19e)];if(!_0x53e287||!_0x3ecf4c||!_0x5ccaa3)return!0x1;const {dataFieldId:_0x2afd2a,fieldArea:_0x1dc966,index:_0x24c8fb}=_0x5ccaa3;_0x53e287[_0x56d429(0x21e)]();const _0xd75b75=_0x53e287[_0x56d429(0x1e4)](_0x2afd2a,_0x1dc966,_0x24c8fb);if(_0xd75b75&&_0x1dc966===_0x11f300[_0x56d429(0x117)]){const _0x3a6da0=_0xd75b75[_0x56d429(0x1c2)](),_0x1809da=_0x53e287[_0x56d429(0x13c)](_0x3a6da0);if(_0x1809da){const _0x298986=_0x1809da==null?void 0x0:_0x1809da[_0x56d429(0x1fd)]();_0x53e287[_0x56d429(0xc2)](_0xd75b75[_0x56d429(0x1c2)](),_0x298986===_0x2eb70b['number']?_0x25c3b8[_0x56d429(0x133)]:_0x25c3b8[_0x56d429(0x242)]);}const _0x52a0b7=_0x53e287[_0x56d429(0x1d3)](),_0x16f986=_0x53e287[_0x56d429(0xf9)](),_0xbe0d61=_0x53e287[_0x56d429(0x1f8)](_0x11f300[_0x56d429(0x117)]);if(_0x52a0b7===-0x1&&_0xbe0d61>0x1){const _0x178155=_0x16f986===_0x37ad20[_0x56d429(0x308)]?_0x37ad20[_0x56d429(0x30f)]:_0x16f986,_0x5dc963=_0x178155===_0x37ad20[_0x56d429(0x12f)]?_0x11f300[_0x56d429(0x12f)]:_0x11f300['Column'];_0x53e287['updateValuePosition'](_0x178155,_0x53e287[_0x56d429(0x1f8)](_0x5dc963));}}else{if(_0xd75b75&&(_0x1dc966===_0x11f300[_0x56d429(0x12f)]||_0x1dc966===_0x11f300['Column'])){const _0x52415b=_0xd75b75[_0x56d429(0x1c2)](),_0x4219cc=_0x53e287['getDataFieldByTableId'](_0x52415b);if(_0x4219cc&&(_0x4219cc==null?void 0x0:_0x4219cc[_0x56d429(0x1fd)]())===_0x2eb70b[_0x56d429(0x2a4)]){const _0x17e289=_0x4219cc[_0x56d429(0xc1)]();if(_0x17e289&&_0x53e287[_0x56d429(0x2dd)](_0xd75b75[_0x56d429(0x1c2)](),_0x17e289),!_0x269e8b['getFieldIds']()[_0x56d429(0x1f5)](_0x49ecb8=>{const _0x363110=_0x56d429,_0x7dcef=_0x269e8b[_0x363110(0x273)](_0x49ecb8);return _0x13347e(_0x7dcef)?_0x7dcef[_0x363110(0x33a)]()['originalFieldId']===_0x2afd2a:!0x1;})){const _0x3838b2=_0x42c3a7[_0x56d429(0x2a6)](),_0xa724f2=Wi(_0x4219cc[_0x56d429(0x205)],_0x4219cc[_0x56d429(0x119)]),_0x3a5560=_0x4219cc[_0x56d429(0x1b1)]()+_0x56d429(0x1b2)+qo(this[_0x56d429(0x2e7)],_0xa724f2),_0x3f37c8=new _0x2e0c72(_0x3838b2,_0x3a5560,_0x5da390(0x3),_0x4219cc['getId'](),_0xa724f2);_0x42c3a7[_0x56d429(0x108)](_0x3f37c8),_0x269e8b['addField'](_0x3838b2,_0x3a5560),_0x53e287[_0x56d429(0x1e4)](_0x3838b2,_0x1dc966,(_0x24c8fb!=null?_0x24c8fb:0x0)+0x1),_0x1f3776=_0x3f37c8;}}}}const _0x2aeda9=_0x53e287[_0x56d429(0x22b)](),_0x502759=_0x53e287[_0x56d429(0xfa)]()[_0x56d429(0x2f4)]();let _0x158984;if(_0x1f3776){_0x158984=_0x1f3776[_0x56d429(0x2f4)]();const _0x2cf503=_0x1f3776[_0x56d429(0x1c2)]();_0x269e8b['deleteField'](_0x2cf503);let _0x352af8=!0x0;for(const _0x318c67 in _0x42c3a7[_0x56d429(0x1c1)])if(_0x42c3a7[_0x56d429(0x1c1)][_0x318c67][_0x56d429(0x2e2)]()['includes'](_0x2cf503)){_0x352af8=!0x1;break;}_0x352af8&&_0x42c3a7[_0x56d429(0x14d)](_0x2cf503);}const _0x3369a0=_0x53e287[_0x56d429(0x263)]();_0x13aa38['addPivotField']={'view':_0x502759,'changesets':_0x3369a0,'isEmpty':_0x2aeda9,'pivotTableConfig':_0x3ecf4c,'shouldBeAddedGroupJSON':_0x158984};}break;case B[_0x56d429(0x2cd)]:{const _0x43862f=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x232)];if(!_0x43862f)return;const _0x3d8b5e=_0x43862f[_0x56d429(0x1c8)],_0x484eea=_0x43862f['pivotTableId'],{collection:_0x44b648}=this[_0x56d429(0x280)][_0x56d429(0x1b5)]({'unitId':_0x3d8b5e[_0x56d429(0x2df)],'sheetName':_0x3d8b5e['sheetName'],'subUnitId':_0x3d8b5e['subUnitId'],'range':_0x3d8b5e['range']}),_0x188238=new _0x4ca182(_0x44b648,void 0x0,_0x484eea),_0x4437fb=_0x188238[_0x56d429(0xfa)](),_0x1176e8=_0x188238[_0x56d429(0x2f4)](),_0x36764c=_0x44b648['toJSON']();_0x13aa38[_0x56d429(0x232)]={'view':_0x4437fb,'fieldsConfig':_0x1176e8,'collectionConfig':_0x36764c,'isEmpty':_0x188238[_0x56d429(0x22b)]()};}break;case B[_0x56d429(0x128)]:{const _0x25f204=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x254)];if(!_0x25f204)return;const {fieldId:_0x2496ab,area:_0x28b23f,index:_0xf199f1}=_0x25f204,_0x25705c=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x25705c)return;const _0x1c2c67=this[_0x56d429(0x280)]['getPivotTableInstance'](_0x3c721f);if(!_0x1c2c67)return;_0x1c2c67['startCollectChangeset']();const {area:_0x20394c,index:_0x1549ae}=_0x1c2c67[_0x56d429(0x174)](_0x2496ab);if(_0x1c2c67[_0x56d429(0x2b2)](_0x2496ab,_0x28b23f,_0xf199f1),_0x28b23f===_0x11f300[_0x56d429(0x117)]&&_0x1c2c67[_0x56d429(0x137)](_0x2496ab)[_0x56d429(0x1ec)]()===void 0x0){const _0x3aeaf2=_0x1c2c67[_0x56d429(0x137)](_0x2496ab);if(_0x3aeaf2&&_0x3aeaf2['getSubtotal']()===void 0x0){const _0x7660c5=_0x1c2c67[_0x56d429(0x13c)](_0x2496ab);if(_0x7660c5){const _0x3d1bb0=_0x7660c5==null?void 0x0:_0x7660c5[_0x56d429(0x1fd)]();_0x1c2c67['setSubtotalType'](_0x2496ab,_0x3d1bb0===_0x2eb70b[_0x56d429(0x1f7)]?_0x25c3b8[_0x56d429(0x133)]:_0x25c3b8['count']);}}}const _0x29edb1=_0x1c2c67['getValuePosition'](),_0x46d10a=_0x1c2c67[_0x56d429(0x1d3)](),_0x1b5b50=_0x1c2c67[_0x56d429(0x1f8)](_0x11f300[_0x56d429(0x117)])>0x1;if(_0x1b5b50&&_0x20394c===_0x28b23f&&(_0x28b23f===_0x11f300['Row']&&_0x29edb1===_0x37ad20['Row']||_0x28b23f===_0x11f300['Column']&&_0x29edb1===_0x37ad20[_0x56d429(0x30f)])){let _0x178692=_0x46d10a;_0x1549ae<=_0x46d10a&&_0x178692--,_0xf199f1<=_0x46d10a&&_0x178692++,_0x1c2c67[_0x56d429(0x31b)](_0x29edb1,_0x178692);}else _0x1b5b50&&(_0x20394c===_0x11f300[_0x56d429(0x12f)]&&_0x29edb1===_0x37ad20[_0x56d429(0x12f)]||_0x20394c===_0x11f300[_0x56d429(0x30f)]&&_0x29edb1===_0x37ad20['Column'])&&_0x46d10a>=_0x1549ae&&_0x1c2c67[_0x56d429(0x31b)](_0x29edb1,_0x46d10a-0x1),_0x1b5b50&&(_0x28b23f===_0x11f300[_0x56d429(0x12f)]&&_0x29edb1===_0x37ad20[_0x56d429(0x12f)]||_0x28b23f===_0x11f300[_0x56d429(0x30f)]&&_0x29edb1===_0x37ad20[_0x56d429(0x30f)])&&_0x46d10a>=_0xf199f1&&_0x1c2c67[_0x56d429(0x31b)](_0x29edb1,_0x46d10a+0x1);const _0x88b502=_0x1c2c67[_0x56d429(0xfa)](),_0x595059=_0x1c2c67['isEmpty'](),_0xaf858d=_0x1c2c67['endCollectChangeset']();_0x13aa38[_0x56d429(0x254)]={'view':_0x88b502['toJSON'](),'changesets':_0xaf858d,'isEmpty':_0x595059,'pivotTableConfig':_0x25705c};}break;case B['RemovePivotField']:{const _0x3fef43=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x131)];if(!_0x3fef43)return;const _0x59cb2d=_0x3fef43['fieldIds'],_0x140fad=this['_sheetsPivotDataSourceModel'][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x140fad)return!0x1;const _0x1af15d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3c721f);if(!_0x1af15d)return!0x1;_0x1af15d[_0x56d429(0x21e)]();for(const _0x2d7152 of _0x59cb2d){const {area:_0x28aed5}=_0x1af15d['getFieldPositionInfoById'](_0x2d7152);_0x28aed5===_0x11f300[_0x56d429(0x117)]&&_0x1af15d['removeValueFilterInfoByValueFieldId'](_0x2d7152),(_0x28aed5===_0x11f300['Row']||_0x28aed5===_0x11f300[_0x56d429(0x30f)])&&_0x1af15d[_0x56d429(0x1fe)](_0x2d7152),_0x1af15d[_0x56d429(0x335)](_0x2d7152);}const _0x4537d8=_0x1af15d[_0x56d429(0x22b)](),_0x31343e=_0x1af15d[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x3a12a8=_0x1af15d[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x131)]={'changesets':_0x3a12a8,'pivotTableConfig':_0x140fad,'isEmpty':_0x4537d8,'view':_0x31343e};}break;case B[_0x56d429(0x241)]:{const _0x12664e=_0x1bd342['params'][_0x56d429(0x1fc)];if(!_0x12664e)return;const {tableFieldId:_0x10cd01,items:_0x1ec69d,isAll:_0x3c4dde}=_0x12664e,_0x1e552=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x469333=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x1e552||!_0x469333)return;_0x1e552[_0x56d429(0x21e)](),_0x1e552[_0x56d429(0x258)](_0x10cd01,{'type':_0x4360ea[_0x56d429(0x2c2)],'list':_0x1ec69d,'isAll':_0x3c4dde});const _0x1a8880=_0x1e552['isEmpty'](),_0x1ab9c0=_0x1e552[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x3dc670=_0x1e552[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x1fc)]={'view':_0x1ab9c0,'changesets':_0x3dc670,'isEmpty':_0x1a8880,'pivotTableConfig':_0x469333};}break;case B[_0x56d429(0x332)]:{const _0x3b5778=_0x1bd342['params'][_0x56d429(0x142)];if(!_0x3b5778)return;const {tableFieldId:_0x39b8ba,filterInfo:_0x3b5294}=_0x3b5778,_0x507897=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x66aa18=this[_0x56d429(0x280)]['getPivotTableConfig'](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x507897||!_0x66aa18)return;_0x507897['startCollectChangeset'](),_0x507897[_0x56d429(0x18f)](_0x39b8ba,_0x3b5294);const _0x255844=_0x507897['isEmpty'](),_0x52b07c=_0x507897['query']()[_0x56d429(0x2f4)](),_0x2120fb=_0x507897[_0x56d429(0x263)]();_0x13aa38['setValuePivotFilter']={'view':_0x52b07c,'changesets':_0x2120fb,'isEmpty':_0x255844,'pivotTableConfig':_0x66aa18};}break;case B[_0x56d429(0x322)]:{const _0x27df5a=_0x1bd342[_0x56d429(0x1b7)]['setPivotSort'];if(!_0x27df5a)return;const {tableFieldId:_0x240a00,info:_0x58be3b}=_0x27df5a,_0x2dc6af=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x1237d2=this['_sheetsPivotDataSourceModel'][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x2dc6af||!_0x1237d2)return;_0x2dc6af['startCollectChangeset'](),_0x2dc6af['setSortInfo'](_0x240a00,_0x58be3b);const _0x328ba0=_0x2dc6af['isEmpty'](),_0x48aef2=_0x2dc6af[_0x56d429(0xfa)]()['toJSON'](),_0x41db=_0x2dc6af['endCollectChangeset']();_0x13aa38[_0x56d429(0x14e)]={'view':_0x48aef2,'changesets':_0x41db,'isEmpty':_0x328ba0,'pivotTableConfig':_0x1237d2};}break;case B[_0x56d429(0x234)]:{const _0x2ffcea=_0x1bd342[_0x56d429(0x1b7)]['setPivotSetting'];if(!_0x2ffcea)return;const {tableFieldId:_0x25f5c3,displayName:_0x2381fd,subtotalType:_0x305703,format:_0x1e5d57}=_0x2ffcea,_0x239369=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x7c82ae=this[_0x56d429(0x280)]['getPivotTableConfig'](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x239369||!_0x7c82ae)return;_0x239369[_0x56d429(0x21e)](),_0x2381fd!==void 0x0&&_0x239369[_0x56d429(0x15a)](_0x25f5c3,_0x2381fd),_0x305703!==void 0x0&&_0x239369[_0x56d429(0xc2)](_0x25f5c3,_0x305703),_0x1e5d57!==void 0x0&&_0x239369[_0x56d429(0x2dd)](_0x25f5c3,_0x1e5d57);const _0x4ba8de=_0x239369[_0x56d429(0x22b)](),_0x196754=_0x239369[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x298066=_0x239369[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x320)]={'changesets':_0x298066,'pivotTableConfig':_0x7c82ae,'isEmpty':_0x4ba8de,'view':_0x196754};}break;case B[_0x56d429(0x32c)]:{const _0x40da45=_0x1bd342[_0x56d429(0x1b7)]['updatePivotSource'];if(!_0x40da45)return;const {dataRangeInfo:_0xbb3dda,unitId:_0x87ba5f,subUnitId:_0x391cbe}=_0x40da45,_0x486736=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x87ba5f,_0x391cbe,_0x3c721f),_0x17a5c0=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f);if(!this[_0x56d429(0x280)]['getCollection'](_0x87ba5f,_0x3c721f)||!_0x17a5c0||!_0x486736)return;const _0x1a0be4=this[_0x56d429(0x280)][_0x56d429(0x150)](_0x87ba5f,_0x3c721f,_0xbb3dda),_0x504309=this[_0x56d429(0x280)][_0x56d429(0x231)](_0x87ba5f,_0x3c721f)[_0x56d429(0x2f4)](),{collection:_0x11b407}=this[_0x56d429(0x280)][_0x56d429(0x1b5)]({'unitId':_0xbb3dda[_0x56d429(0x2df)],'sheetName':_0xbb3dda[_0x56d429(0x293)],'subUnitId':_0xbb3dda[_0x56d429(0x2ab)],'range':_0xbb3dda[_0x56d429(0x27c)]}),_0x4c5f87=_0x11b407[_0x56d429(0x2f4)]();_0x17a5c0[_0x56d429(0x21e)]();const _0x3b09cc=this[_0x56d429(0x280)]['getDataFieldManager'](_0x87ba5f)[_0x56d429(0x101)]()||_0x2766e9;_0x17a5c0[_0x56d429(0x109)](_0x12291b=>{const _0x1ca6ea=_0x56d429,_0x141db2=_0x12291b[_0x1ca6ea(0x28f)]();if(!_0x11b407[_0x1ca6ea(0x326)](_0x141db2)){const _0x552dac=_0x11b407[_0x1ca6ea(0x253)](_0x12291b[_0x1ca6ea(0x255)]());if(_0x552dac){_0x17a5c0['updateFieldSourceInfo'](_0x12291b[_0x1ca6ea(0x1c2)](),_0x552dac['getName'](),_0x552dac[_0x1ca6ea(0x1c2)]());const {area:_0x104ce4}=_0x17a5c0[_0x1ca6ea(0x174)](_0x12291b[_0x1ca6ea(0x1c2)]());let _0x1166b0=_0x12291b[_0x1ca6ea(0x255)]();const _0xab6b03=_0x12291b[_0x1ca6ea(0x21f)]();if(_0x104ce4===_0x11f300[_0x1ca6ea(0x117)]){const _0x3cc56a=_0x12291b[_0x1ca6ea(0x1ec)]();_0x1166b0=_0x3b09cc(_0x552dac[_0x1ca6ea(0x1b1)](),_0x3cc56a);}_0xab6b03!==_0x1166b0&&_0x17a5c0['renameField'](_0x12291b[_0x1ca6ea(0x1c2)](),_0x1166b0);}else _0x17a5c0['removeField'](_0x12291b[_0x1ca6ea(0x1c2)]());}});const _0x2c1198=_0x17a5c0['isEmpty'](),_0x465fe9=_0x17a5c0[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x5ac776=_0x17a5c0[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x1ef)]={'view':_0x465fe9,'changesets':_0x5ac776,'isEmpty':_0x2c1198,'pivotTableConfig':_0x486736,'collectionConfig':_0x4c5f87,'oldCollectionConfig':_0x504309,'deleteIds':_0x1a0be4};}break;case B['UpdateValuePosition']:{const _0xe39adc=_0x1bd342['params']['updateValuePosition'];if(!_0xe39adc)return;const {position:_0x4833d6,index:_0xa3c337}=_0xe39adc,_0xaf8d12=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0xaf8d12)return!0x1;const _0x31ba8c=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f);if(!_0x31ba8c)return!0x1;_0x31ba8c[_0x56d429(0x21e)](),_0x31ba8c[_0x56d429(0x31b)](_0x4833d6,_0xa3c337);const _0x45268e=_0x31ba8c[_0x56d429(0x22b)](),_0x2c7e32=_0x31ba8c[_0x56d429(0xfa)]()['toJSON'](),_0xdef091=_0x31ba8c[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x31b)]={'changesets':_0xdef091,'pivotTableConfig':_0xaf8d12,'isEmpty':_0x45268e,'view':_0x2c7e32};}break;case B[_0x56d429(0x319)]:{const _0x2155d7=_0x1bd342['params'][_0x56d429(0x30a)];if(!_0x2155d7)return;const {tableFieldId:_0x5641ed,collapse:_0x1ee96c,item:_0x5654c4}=_0x2155d7,_0x1f8251=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x562272=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x1f8251||!_0x562272)return;_0x1f8251[_0x56d429(0x21e)](),_0x1f8251[_0x56d429(0x31e)](_0x5641ed,_0x1ee96c,_0x5654c4);const _0x4cba23=_0x1f8251['isEmpty'](),_0x7a12a6=_0x1f8251[_0x56d429(0xfa)]()['toJSON'](),_0x91d94f=_0x1f8251['endCollectChangeset']();_0x13aa38['setPivotCollapse']={'view':_0x7a12a6,'isEmpty':_0x4cba23,'pivotTableConfig':_0x562272,'changesets':_0x91d94f};}break;case B[_0x56d429(0xd4)]:{const _0x2ecdb7=_0x1bd342[_0x56d429(0x1b7)][_0x56d429(0x317)];if(!_0x2ecdb7)return;const {pivotTableConfig:_0x2950c1}=_0x2ecdb7,_0x179c49=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x312a68=this[_0x56d429(0x280)][_0x56d429(0x183)](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0x179c49||!_0x312a68)return;_0x179c49[_0x56d429(0x21e)](),$i(_0x179c49,_0x2950c1);const _0x5eb6b9=_0x179c49['isEmpty'](),_0x1ed06b=_0x179c49[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x1a8097=_0x179c49['endCollectChangeset']();_0x13aa38[_0x56d429(0x317)]={'view':_0x1ed06b,'isEmpty':_0x5eb6b9,'pivotTableConfig':{..._0x312a68,'fieldsConfig':_0x179c49[_0x56d429(0x2f4)]()},'changesets':_0x1a8097};}break;case B[_0x56d429(0x2e0)]:{const _0x35b49f=_0x1bd342['params'][_0x56d429(0x264)];if(!_0x35b49f)return;const _0xa8fb00=this[_0x56d429(0x280)][_0x56d429(0x105)](_0x3c721f),_0x559411=this[_0x56d429(0x280)]['getPivotTableConfig'](_0x1cd09c,_0x56500d,_0x3c721f);if(!_0xa8fb00||!_0x559411)return;_0xa8fb00[_0x56d429(0x21e)](),Ji(_0xa8fb00,_0x35b49f[_0x56d429(0x2c3)]);const _0x188007=_0xa8fb00[_0x56d429(0xfa)]()[_0x56d429(0x2f4)](),_0x1ca8f3=_0xa8fb00[_0x56d429(0x263)]();_0x13aa38[_0x56d429(0x264)]={'view':_0x188007,'isEmpty':!0x0,'pivotTableConfig':{..._0x559411,'fieldsConfig':_0xa8fb00[_0x56d429(0x2f4)]()},'changesets':_0x1ca8f3};}break;case B[_0x56d429(0x12b)]:{const _0x451754=_0x1bd342[_0x56d429(0x1b7)]['addPivotTableWithConfig'];if(!_0x451754)return;const _0x10d78e=_0x451754[_0x56d429(0x1c8)],_0xdabdcb=_0x451754[_0x56d429(0x2b9)],{collection:_0x1069b5}=this[_0x56d429(0x280)][_0x56d429(0x1b5)]({'unitId':_0x10d78e[_0x56d429(0x2df)],'sheetName':_0x10d78e[_0x56d429(0x293)],'subUnitId':_0x10d78e['subUnitId'],'range':_0x10d78e[_0x56d429(0x27c)]}),_0x4dc618=new _0x4ca182(_0x1069b5,void 0x0,_0xdabdcb),_0xdb338a=_0x1069b5['getFieldIds'](),{rows:_0xb332c3,columns:_0x1a355f,filters:_0x67bb14,values:_0x351b22}=_0x451754[_0x56d429(0xe8)];_0x4dc618['startCollectChangeset']();for(const {field:_0x5dd68b,selectedItems:_0x41367b}of _0xb332c3||[]){const _0x30cea4=_0xdb338a[_0x5dd68b];if(_0x30cea4){const _0x2faad0=_0x4dc618[_0x56d429(0x1e4)](_0x30cea4,_0x11f300[_0x56d429(0x12f)]);_0x41367b&&_0x2faad0&&_0x4dc618[_0x56d429(0x258)](_0x2faad0['getId'](),{'type':_0x4360ea[_0x56d429(0x2c2)],'list':_0x41367b,'isAll':!0x1});}}for(const {field:_0x4e0a37,selectedItems:_0x381e51}of _0x1a355f||[]){const _0x344427=_0xdb338a[_0x4e0a37];if(_0x344427){const _0x9e82fe=_0x4dc618[_0x56d429(0x1e4)](_0x344427,_0x11f300[_0x56d429(0x30f)]);_0x381e51&&_0x9e82fe&&_0x4dc618[_0x56d429(0x258)](_0x9e82fe[_0x56d429(0x1c2)](),{'type':_0x4360ea[_0x56d429(0x2c2)],'list':_0x381e51,'isAll':!0x1});}}for(const {field:_0x506b8a,selectedItems:_0x353502}of _0x67bb14||[]){const _0x35fad9=_0xdb338a[_0x506b8a];if(_0x35fad9){const _0x3fc07b=_0x4dc618[_0x56d429(0x1e4)](_0x35fad9,_0x11f300[_0x56d429(0x252)]);_0x353502&&_0x3fc07b&&_0x4dc618[_0x56d429(0x258)](_0x3fc07b[_0x56d429(0x1c2)](),{'type':_0x4360ea[_0x56d429(0x2c2)],'list':_0x353502,'isAll':!0x1});}}for(const {field:_0x267677,subTotalType:_0x21665d,formatString:_0xe1e84b}of _0x351b22||[]){const _0x23402b=_0x1069b5['getFieldById'](_0xdb338a[_0x267677]);if(!_0x23402b)continue;const _0x45325d=_0xdb338a[_0x267677];if(_0x45325d){const _0x19f510=_0x4dc618[_0x56d429(0x1e4)](_0x45325d,_0x11f300['Value']);if(_0x19f510){if(_0x21665d!==void 0x0){_0x4dc618[_0x56d429(0xc2)](_0x19f510[_0x56d429(0x1c2)](),_0x21665d);const _0x1ca6f3=this['_sheetsPivotDataSourceModel'][_0x56d429(0x194)](_0x10d78e[_0x56d429(0x2df)])[_0x56d429(0x101)]()||_0x2766e9,_0x5a5998=_0x1069b5['getDisplayName'](_0x45325d),_0x227c13=_0x1ca6f3(_0x5a5998,_0x21665d);_0x4dc618[_0x56d429(0x15a)](_0x19f510[_0x56d429(0x1c2)](),_0x227c13);}else{if(_0x23402b){const _0x26962d=_0x23402b==null?void 0x0:_0x23402b[_0x56d429(0x1fd)]();_0x4dc618[_0x56d429(0xc2)](_0x19f510[_0x56d429(0x1c2)](),_0x26962d===_0x2eb70b[_0x56d429(0x1f7)]?_0x25c3b8[_0x56d429(0x133)]:_0x25c3b8[_0x56d429(0x242)]);}}_0xe1e84b&&_0x4dc618[_0x56d429(0x2dd)](_0x19f510[_0x56d429(0x1c2)](),_0xe1e84b);}}}const _0x5f3b83=_0x4dc618['query'](),_0x16c5ad=_0x4dc618[_0x56d429(0x2f4)](),_0x38354d=_0x4dc618[_0x56d429(0x22b)](),_0xb7a41e=_0x4dc618[_0x56d429(0x263)](),_0x22e2e6=_0x1069b5[_0x56d429(0x2f4)]();_0x13aa38[_0x56d429(0x2b1)]={'view':_0x5f3b83,'fieldsConfig':_0x16c5ad,'collectionConfig':_0x22e2e6,'isEmpty':_0x38354d,'changesets':_0xb7a41e};}break;case B[_0x56d429(0x27a)]:{const _0x38ac3f=xi(this[_0x56d429(0x2e7)],_0x1bd342);if(!_0x38ac3f)return;const {range:_0x4a6f5d,sourceSubUnitId:_0x3e5acc,sourceUnitId:_0x4facd9,formatMap:_0x3bac5a,indexes:_0x22e5af}=_0x38ac3f;_0x13aa38[_0x56d429(0x311)]={'range':_0x4a6f5d,'sourceSubUnitId':_0x3e5acc,'sourceUnitId':_0x4facd9,'formatMap':_0x3bac5a,'indexes':_0x22e5af};}break;}this[_0x56d429(0x318)]['executeCommand'](lo['id'],{'version':_0x1bd342[_0x56d429(0x296)],'result':_0x13aa38},{'onlyLocal':!0x0});}));}[_0x2b5256(0x310)](){const _0x291df5=_0x2b5256;this[_0x291df5(0x2ea)](this[_0x291df5(0x318)]['onCommandExecuted'](_0x25a6d7=>{const _0x3c6d16=_0x291df5;if(_0x25a6d7['id']!==uo['id'])return;const _0x109ae3=_0x25a6d7[_0x3c6d16(0x1b7)];return this[_0x3c6d16(0x280)]['setTextInfo'](_0x109ae3['textInfo']),!0x0;}));}[_0x2b5256(0x202)](){const _0x290697=_0x2b5256;this[_0x290697(0x280)][_0x290697(0x114)]['subscribe'](_0x43fe4c=>{const _0xa2e1d5=_0x290697;switch(_0x43fe4c[_0xa2e1d5(0x144)]){case ke[_0xa2e1d5(0x1ac)]:_0x43fe4c[_0xa2e1d5(0xc6)]&&_0x43fe4c[_0xa2e1d5(0x169)]&&this[_0xa2e1d5(0x1e7)](_0x43fe4c[_0xa2e1d5(0xc4)],_0x43fe4c['dataRangeInfo'],_0x43fe4c[_0xa2e1d5(0x169)]);break;case ke[_0xa2e1d5(0x272)]:{const {unitId:_0x2df202,subUnitId:_0x375a08,token:_0x2b06ae}=_0x43fe4c;_0x2df202&&_0x375a08&&_0x2b06ae&&this[_0xa2e1d5(0xc9)](_0x2df202,_0x375a08,_0x2b06ae);}break;case ke[_0xa2e1d5(0x1e6)]:{const {token:_0x38086b,oldSourceRangeInfo:_0x82f99e,dataRangeInfo:_0x2b5ea6,targetCellInfo:_0x5142d4}=_0x43fe4c,{unitId:_0xd3b0ac,subUnitId:_0x552f29}=_0x82f99e||{};_0xd3b0ac&&_0x552f29&&_0x38086b&&this[_0xa2e1d5(0xc9)](_0xd3b0ac,_0x552f29,_0x38086b),_0x2b5ea6&&_0x5142d4&&this['handleSourceRangeChange'](_0x38086b,_0x2b5ea6,_0x5142d4);}break;}});}[_0x2b5256(0x220)](){const _0x2dc98d=_0x2b5256;this[_0x2dc98d(0x280)][_0x2dc98d(0x2d4)][_0x2dc98d(0x24f)](_0x271a8e=>{const _0x1c0613=_0x2dc98d;Object['keys'](_0x271a8e)[_0x1c0613(0x17d)](_0x19174b=>{const _0x15ec14=_0x1c0613,_0x3eed8b=this[_0x15ec14(0x280)][_0x15ec14(0x172)](_0x19174b);if(_0x3eed8b){const _0x4a6783=this[_0x15ec14(0x280)][_0x15ec14(0x183)](_0x3eed8b==null?void 0x0:_0x3eed8b['unitId'],_0x3eed8b==null?void 0x0:_0x3eed8b['subUnitId'],_0x19174b);_0x4a6783&&(this[_0x15ec14(0x1e7)](_0x19174b,_0x4a6783[_0x15ec14(0x1c8)],_0x4a6783['targetCellInfo']),this[_0x15ec14(0xd0)]([{'unitId':_0x3eed8b[_0x15ec14(0x2df)],'subUnitId':_0x3eed8b[_0x15ec14(0x2ab)],'token':_0x19174b}]));}});});}['_subjectViewChange'](){const _0x4a224c=_0x2b5256;this[_0x4a224c(0x280)][_0x4a224c(0xda)]['subscribe'](_0xb19c80=>{const _0x54a813=_0x4a224c,{unitId:_0xefeb2f,subUnitId:_0x1a36f5,pivotTableId:_0x3d7041}=_0xb19c80;_0xefeb2f&&_0x1a36f5&&_0x3d7041&&this[_0x54a813(0xd0)]([{'unitId':_0xefeb2f,'subUnitId':_0x1a36f5,'token':_0x3d7041}]);});}[_0x2b5256(0xd0)](_0x560a2c){const _0x41c908=_0x2b5256,_0x43308c={};_0x560a2c[_0x41c908(0x17d)](_0x12ae48=>{var _0x3b4cb1,_0x302c7d;const {unitId:_0x197f60,subUnitId:_0x54b161,token:_0x41995b}=_0x12ae48;_0x43308c[_0x197f60]=(_0x3b4cb1=_0x43308c[_0x197f60])!=null?_0x3b4cb1:{},_0x43308c[_0x197f60][_0x54b161]=(_0x302c7d=_0x43308c[_0x197f60][_0x54b161])!=null?_0x302c7d:{},_0x43308c[_0x197f60][_0x54b161][_0x41995b]=!0x0;}),this['_commandService'][_0x41c908(0x217)](Ut['id'],_0x43308c);}['removeSourceRangeChange'](_0x225226,_0x5ec223,_0x78c446){const _0x54bfc9=_0x2b5256;this[_0x54bfc9(0x2f3)][_0x54bfc9(0x1f3)](_0x225226,_0x5ec223,[_0x78c446]);}[_0x2b5256(0x1e7)](_0x1d2f32,_0x1fdb12,_0x2a2340){const _0x3f943b=_0x2b5256,{unitId:_0x4fa64f,subUnitId:_0x53a6ba}=_0x1fdb12;this[_0x3f943b(0x2f3)][_0x3f943b(0x132)](_0x2a2340[_0x3f943b(0x2df)],_0x2a2340[_0x3f943b(0x2ab)],_0x1d2f32)&&this['removeSourceRangeChange'](_0x4fa64f,_0x53a6ba,_0x1d2f32);const _0x2276d6={'sheetId':_0x53a6ba,..._0x1fdb12};this[_0x3f943b(0x2f3)]['register'](_0x2a2340[_0x3f943b(0x2df)],_0x2a2340['subUnitId'],_0x1d2f32,{'unitId':_0x2a2340[_0x3f943b(0x2df)],'subUnitId':_0x2a2340['subUnitId'],'dependencyRanges':[_0x2276d6],'getDirtyData':(_0x56d308,_0x12ab27)=>{const _0x583459=_0x3f943b,_0x192801=this[_0x583459(0x280)],_0x50d80e=_0x192801['getTargetByPivotId'](_0x1d2f32);if(!_0x50d80e)return Vs();const {unitId:_0x4d3ad7,subUnitId:_0x3d8b59}=_0x50d80e,_0x1b1e37=Es(_0x56d308,_0x12ab27,_0x1fdb12);if(_0x1b1e37['length']>0x0){const _0x49849b=_0x192801['getCollection'](_0x4fa64f,_0x1d2f32),_0x4090c6=_0x49849b[_0x583459(0x2e2)](),_0x2c48a5=this['getMatrixFromRunTimeData'](_0x1fdb12[_0x583459(0x2df)],_0x1fdb12[_0x583459(0x2ab)],_0x12ab27),_0x18b338={},_0x1bab7d=this[_0x583459(0x280)][_0x583459(0x194)](_0x4d3ad7)[_0x583459(0x101)]()||_0x2766e9,_0x49cd41=[];for(const _0xbddd76 of _0x1b1e37){const _0x4dbe08=_0xbddd76-(_0x1fdb12[_0x583459(0x27c)][_0x583459(0x1d8)]||0x0),_0x4b6eb5=_0x4090c6[_0x4dbe08];_0x49cd41['push'](_0x4b6eb5),_0x18b338[_0x4b6eb5]=_0x49849b[_0x583459(0x273)](_0x4b6eb5)[_0x583459(0x1b1)](),_0x192801['getDataFieldManager'](_0x4fa64f)[_0x583459(0x1af)](_0x4b6eb5,_0x1fdb12,_0x4dbe08,_0x2c48a5);}_0x49849b[_0x583459(0x31a)](_0x49cd41)['forEach'](_0x45f8de=>{const _0x2533d2=_0x583459,[_0x3c6b85,_0x305ace]=_0x45f8de,_0x2359af=_0x49849b[_0x2533d2(0x273)](_0x3c6b85),_0x2d1b4d=_0x49849b[_0x2533d2(0x273)](_0x305ace);_0x2359af&&_0x2d1b4d&&_0x2359af[_0x2533d2(0x1d7)](_0x2d1b4d);}),_0x49849b['updateAllDisplayName']();const _0x3b7af5=_0x192801[_0x583459(0x105)](_0x1d2f32);if(_0x3b7af5){As(_0x3b7af5,_0x18b338,_0x1bab7d),_0x3b7af5[_0x583459(0x2fe)](!0x0);const _0x3a7fdd=_0x3b7af5['query'](),_0x15d708=_0x192801[_0x583459(0x183)](_0x4d3ad7,_0x3d8b59,_0x1d2f32),_0x3f5904=_0x192801[_0x583459(0x194)](_0x4fa64f)[_0x583459(0x2f4)]();_0x192801[_0x583459(0x1d2)](_0x4d3ad7,_0x3d8b59,L[_0x583459(0x2ba)],_0x1d2f32,_0x3a7fdd,_0x15d708,_0x3f5904,!0x0);}}return this[_0x583459(0x27d)](_0x4d3ad7,_0x3d8b59,_0x1d2f32);}});}[_0x2b5256(0x22d)](_0x33e5cd,_0x3f8fb1,_0x43d0b2){var _0x5a94de,_0x257d8c;const {arrayFormulaCellData:_0x4bdf1b,unitData:_0x10a554}=_0x43d0b2,_0x43bad6=(_0x5a94de=_0x4bdf1b==null?void 0x0:_0x4bdf1b[_0x33e5cd])==null?void 0x0:_0x5a94de[_0x3f8fb1],_0x3f6430=(_0x257d8c=_0x10a554==null?void 0x0:_0x10a554[_0x33e5cd])==null?void 0x0:_0x257d8c[_0x3f8fb1];return{'arrayFormulaCellDataMatrix':_0x43bad6,'unitDataMatrix':_0x3f6430};}[_0x2b5256(0x27d)](_0x5b2a81,_0x4e01f1,_0x5767a9){const _0x498e51=_0x2b5256,_0x9820d5=this['_sheetsPivotDataSourceModel'][_0x498e51(0x14f)](_0x5b2a81,_0x4e01f1,_0x5767a9),_0x3986e2=[],_0x5ee3e3=new _0x1f0092();if(_0x9820d5){const {rangeCache:_0x4cb62b,matrix:_0x2f1625,oldRangeCache:_0x282056,oldMatrix:_0x376ff9}=_0x9820d5,_0x338db6=Lt(_0x282056),_0x3bac31=Lt(_0x4cb62b);_0x3986e2[_0x498e51(0x25e)](..._0x3bac31,..._0x338db6),_0x376ff9&&_0x282056&&_0x338db6[_0x498e51(0x17d)](_0x24fc4f=>{const _0x4afd32=_0x498e51;for(let _0x36faa9=_0x24fc4f[_0x4afd32(0x12c)];_0x36faa9<=_0x24fc4f[_0x4afd32(0x136)];_0x36faa9++)for(let _0x591070=_0x24fc4f['startColumn'];_0x591070<=_0x24fc4f['endColumn'];_0x591070++)_0x5ee3e3[_0x4afd32(0x2f0)](_0x36faa9,_0x591070);}),_0x2f1625&&_0x3bac31&&_0x3bac31[_0x498e51(0x17d)](_0x22b39b=>{const _0x447947=_0x498e51;for(let _0x47efc2=_0x22b39b[_0x447947(0x12c)];_0x47efc2<=_0x22b39b[_0x447947(0x136)];_0x47efc2++)for(let _0xcbcd3a=_0x22b39b[_0x447947(0x1d8)];_0xcbcd3a<=_0x22b39b['endColumn'];_0xcbcd3a++)_0x5ee3e3[_0x447947(0x323)](_0x47efc2,_0xcbcd3a,_0x2f1625[_0x447947(0x21c)](_0x47efc2,_0xcbcd3a));});}const _0x5a614e={};return _0x5a614e[_0x5b2a81]={[_0x4e01f1]:Os(_0x3986e2)},{'runtimeCellData':{[_0x5b2a81]:{[_0x4e01f1]:_0x5ee3e3}},'dirtyRanges':_0x5a614e};}[_0x2b5256(0x1d9)](){}};ct=Us([Ke(0x0,_0x17f8d4(G)),Ke(0x1,_0x2a9e1d),Ke(0x2,_0x17f8d4(_0x313e0c)),Ke(0x3,_0x17f8d4(_0x51f589)),Ke(0x4,_0x17f8d4(_0x3d5d3)),Ke(0x5,_0x17f8d4(_0x184ee2))],ct);var xs=Object[_0x2b5256(0x340)],Bs=(_0x227ab6,_0x3527bc,_0x4fce71,_0x3eb29e)=>{const _0x40e100=_0x2b5256;for(var _0x4b6309=_0x3eb29e>0x1?void 0x0:_0x3eb29e?xs(_0x3527bc,_0x4fce71):_0x3527bc,_0xafa32a=_0x227ab6[_0x40e100(0x1bf)]-0x1,_0x438125;_0xafa32a>=0x0;_0xafa32a--)(_0x438125=_0x227ab6[_0xafa32a])&&(_0x4b6309=_0x438125(_0x4b6309)||_0x4b6309);return _0x4b6309;},Rt=(_0x563e5f,_0x52e86c)=>(_0x3866bb,_0x575452)=>_0x52e86c(_0x3866bb,_0x575452,_0x563e5f);let dt=class extends _0x2a8c6f{constructor(_0x324a27,_0x15b82a,_0x50a690,_0x3b9bbc){const _0xc39bae=_0x2b5256;super(),V(this,_0xc39bae(0x1eb),new _0x6b8985()),(this[_0xc39bae(0x204)]=_0x324a27,this['_sheetInterceptorService']=_0x15b82a,this['_sheetsSelectionsService']=_0x50a690,this['_sheetsPivotTableConfigModel']=_0x3b9bbc,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x80ac81=_0x2b5256;this['disposeWithMe'](this['_sheetInterceptorService'][_0x80ac81(0xf4)]({'getMutations':_0x3bbb5a=>{const _0x43e50=_0x80ac81;if(_0x3bbb5a['id']===_0xa41cb5['id']||_0x3bbb5a['id']===_0x3961ee['id']){const _0x2ac739=[],_0x48b70c=[],_0x16497d=this[_0x43e50(0x20a)]['getCurrentSelections']()[_0x43e50(0x250)](_0x213032=>_0x213032['range']),_0x151861=_0x1efd93(this[_0x43e50(0x204)]);if(!_0x151861)return{'redos':[],'undos':[]};const {unitId:_0x21b5aa,subUnitId:_0x274a0f}=_0x151861,_0x17b0b2={},_0x11ad19=this[_0x43e50(0x14a)][_0x43e50(0x157)](_0x21b5aa,_0x274a0f);if(_0x11ad19!=null&&_0x11ad19[_0x43e50(0xcb)])for(const [_0x1802aa,_0x335330]of _0x11ad19){const {unitId:_0x14d1f9,subUnitId:_0x57d713,row:_0x2229e9,col:_0x4abad4}=_0x335330[_0x43e50(0x169)];_0x14d1f9===_0x151861['unitId']&&_0x57d713===_0x151861['subUnitId']&&(_0x17b0b2[_0x2229e9+'-'+_0x4abad4]=_0x1802aa);}return _0x16497d&&_0x151861&&_0x16497d['forEach'](_0x15da95=>{const _0x13a95f=_0x43e50;_0x4cd3de[_0x13a95f(0x334)](_0x15da95,(_0x3d9809,_0x4ce97a)=>{const _0x4de4de=_0x13a95f,_0x72be2c=_0x3d9809+'-'+_0x4ce97a;if(_0x17b0b2[_0x72be2c]){const _0x33f498=_0x17b0b2[_0x72be2c];_0x2ac739['push']({'id':Et['id'],'params':{'unitId':_0x21b5aa,'subUnitId':_0x274a0f,'pivotTableId':_0x33f498}});const _0x413899=this[_0x4de4de(0x14a)][_0x4de4de(0x231)](_0x21b5aa,_0x33f498),_0x2f7f67=this[_0x4de4de(0x14a)][_0x4de4de(0x183)](_0x21b5aa,_0x274a0f,_0x33f498);_0x48b70c['push']({'id':Ct['id'],'params':{'unitId':_0x21b5aa,'subUnitId':_0x274a0f,'pivotTableId':_0x33f498,'pivotTableConfig':_0x2f7f67,'collectionConfig':_0x413899}});}});}),{'redos':_0x2ac739,'undos':_0x48b70c};}return{'redos':[],'undos':[]};}}));}};dt=Bs([Rt(0x0,_0x300869),Rt(0x1,_0x17f8d4(_0x46beb6)),Rt(0x2,_0x17f8d4(_0x1689f9)),Rt(0x3,_0x17f8d4(he))],dt);var js=Object[_0x2b5256(0x340)],ks=(_0x936ea,_0x52f23a,_0xc447f9,_0x51ee1c)=>{const _0x384886=_0x2b5256;for(var _0x3202e7=_0x51ee1c>0x1?void 0x0:_0x51ee1c?js(_0x52f23a,_0xc447f9):_0x52f23a,_0x209e93=_0x936ea[_0x384886(0x1bf)]-0x1,_0x3883a4;_0x209e93>=0x0;_0x209e93--)(_0x3883a4=_0x936ea[_0x209e93])&&(_0x3202e7=_0x3883a4(_0x3202e7)||_0x3202e7);return _0x3202e7;},qe=(_0x4be58f,_0x58c2de)=>(_0x5143e7,_0x3b2a62)=>_0x58c2de(_0x5143e7,_0x3b2a62,_0x4be58f);let ut=class extends _0x2a8c6f{constructor(_0x5ee1fc,_0x2cf9b3,_0x10e3e0,_0x3db59c,_0x4e3563,_0x490cb5){const _0x3ffe2b=_0x2b5256;super(),this[_0x3ffe2b(0x2f5)]=_0x5ee1fc,this[_0x3ffe2b(0x22e)]=_0x2cf9b3,this[_0x3ffe2b(0x2e7)]=_0x10e3e0,this[_0x3ffe2b(0x204)]=_0x3db59c,this[_0x3ffe2b(0x14a)]=_0x4e3563,this[_0x3ffe2b(0x2d9)]=_0x490cb5,this[_0x3ffe2b(0x1b0)]();}['_getPivotAppliedRanges'](_0x489629,_0x5c8cb0,_0x556441){const _0x43b4f2=_0x2b5256,{pageView:_0x5bf800,cornerView:_0x2d45fa,rowView:_0x452f08,colView:_0x5799c2,dataView:_0x450e09}=_0x5c8cb0,_0x57f521=_0x489629;let _0x35a713;if(_0x556441)_0x35a713=[...Bi(_0x57f521)];else{const _0x4da12f=ge(_0x57f521,_0x5bf800,!0x0),_0x2ea1de=_0x5bf800[_0x43b4f2(0x1f0)]>=0x0?_0x5bf800['lastRow']+0x1:0x0,_0x4cafe8=_0x2d45fa['rowCount'],_0x2ac414=_0x2d45fa['colCount'],_0x2d66f5=_0x4da12f[_0x43b4f2(0x1bf)]>0x0?It:0x0,_0x91b9dc=ge({'row':_0x57f521[_0x43b4f2(0x25b)]+_0x2ea1de+_0x2d66f5,'col':_0x57f521[_0x43b4f2(0x112)]},_0x2d45fa,!0x1,!0x1),_0x12b891=ge({'row':_0x57f521[_0x43b4f2(0x25b)]+_0x2ea1de+_0x2d66f5+_0x4cafe8,'col':_0x57f521['col']},_0x452f08,!0x1,!0x0),_0x270594=ge({'row':_0x57f521['row']+_0x2ea1de+_0x2d66f5,'col':_0x57f521[_0x43b4f2(0x112)]+_0x2ac414},_0x5799c2,!0x1,!0x0),_0x1a3c41=ge({'row':_0x57f521[_0x43b4f2(0x25b)]+_0x2ea1de+_0x2d66f5+_0x4cafe8,'col':_0x57f521[_0x43b4f2(0x112)]+_0x2ac414},_0x450e09,!0x1,!0x0);_0x35a713=[..._0x4da12f,..._0x91b9dc,..._0x12b891,..._0x270594,..._0x1a3c41];}return _0x35a713;}['_initCommandInterceptListener'](){const _0x36f49e=_0x2b5256;this[_0x36f49e(0x2ea)](this[_0x36f49e(0x2d9)][_0x36f49e(0xcc)][_0x36f49e(0x271)](this[_0x36f49e(0x2d9)][_0x36f49e(0xcc)][_0x36f49e(0x2ac)]()[_0x36f49e(0x1aa)],{'handler':(_0x112a66,_0xab2414)=>{const _0x887b48=_0x36f49e,{cellInfo:_0xeaf556,view:_0x4e4833,isEmpty:_0x40a837}=_0xab2414,_0xf6063b=_0xeaf556,{unitId:_0x196b0c,subUnitId:_0x89545a}=_0xf6063b,_0x2f5acf=this['_getPivotAppliedRanges'](_0xeaf556,_0x4e4833,_0x40a837),_0x157e60=this[_0x887b48(0x22e)]['generateMutationsByRanges']({'unitId':_0x196b0c,'subUnitId':_0x89545a,'ranges':_0x2f5acf}),_0x1c7acf=Ko(this['_injector'],_0x196b0c,_0x89545a,_0x2f5acf);_0x1c7acf[_0x887b48(0xdb)]&&(_0x157e60[_0x887b48(0x15e)]['push'](_0x1c7acf[_0x887b48(0x208)]),_0x157e60[_0x887b48(0xf0)][_0x887b48(0x25e)](_0x1c7acf['setRangeValueUndoMutation']));const _0x1be7e3=this[_0x887b48(0x336)](_0x4e4833,_0xeaf556);return _0x157e60[_0x887b48(0x15e)]['push'](..._0x1be7e3[_0x887b48(0x15e)]),_0x157e60[_0x887b48(0xf0)][_0x887b48(0x25e)](..._0x1be7e3[_0x887b48(0xf0)]),{'redos':_0x157e60['redos'],'undos':_0x157e60[_0x887b48(0xf0)]};}}));}[_0x2b5256(0x336)](_0xe1f182,_0x1f40de){const _0x50d7d5=_0x2b5256,{col:_0x7cfe6b,unitId:_0x2cccbe,subUnitId:_0x574268}=_0x1f40de,_0x25a3b5=[],_0x5540db=[],_0x30ffd0=_0x1efd93(this[_0x50d7d5(0x204)],{'unitId':_0x2cccbe,'subUnitId':_0x574268});if(!_0x1f40de||!_0xe1f182||!_0x30ffd0)return{'undos':_0x5540db,'redos':_0x25a3b5};const _0xbdc299=this[_0x50d7d5(0x14a)][_0x50d7d5(0x24e)](),{colView:_0x4342b8,dataView:_0x19c455,cornerView:_0x1f7bb1,rowView:_0x139207,formatMap:_0x39f97e}=_0xe1f182,_0x100e06=To(_0x4342b8,_0xbdc299,!0x0,_0x39f97e),_0x937545=To(_0x139207,_0xbdc299,!0x1,_0x39f97e),_0x3e9847=Li(_0x19c455),_0x47a31f=Gi(_0x1f7bb1),{worksheet:_0xd55073}=_0x30ffd0;if(typeof window<'u'&&window[_0x50d7d5(0x165)]){const _0x1d48c0=_0x1b2cf6({...fe['colStyle']}),_0x42f2f3=_0x4e1760[_0x50d7d5(0x297)](_0x100e06,_0x1d48c0)['width']+0x10,_0x1ccfc8=_0x4e1760[_0x50d7d5(0x297)](_0x3e9847,_0x1d48c0)[_0x50d7d5(0x19a)],_0xe1f887=Math['floor'](Math[_0x50d7d5(0x2e8)](_0x42f2f3,_0x1ccfc8))+0x10,_0xd96b06=Math[_0x50d7d5(0x11d)](_0x4e1760[_0x50d7d5(0x297)](_0x937545,_0x1d48c0)[_0x50d7d5(0x19a)]),_0x11f6fc=Math[_0x50d7d5(0x11d)](_0x4e1760[_0x50d7d5(0x297)](_0x47a31f,_0x1d48c0)[_0x50d7d5(0x19a)]),_0x387927=Math[_0x50d7d5(0x2e8)](_0xd96b06,_0x11f6fc,0x28)+0xc,_0xae7fa9=_0x4342b8[_0x50d7d5(0xe4)]+_0x1f7bb1['colCount'],_0x394ffb={},_0x3d57b3={};for(let _0x2d08ed=_0x7cfe6b;_0x2d08ed<_0x7cfe6b+_0xae7fa9;_0x2d08ed++){const _0x16cf18=_0xd55073[_0x50d7d5(0x2c6)](_0x2d08ed);_0x394ffb[_0x2d08ed]=_0x16cf18,_0x2d08ed-_0x7cfe6b<_0x1f7bb1['colCount']?_0x3d57b3[_0x2d08ed-_0x7cfe6b]=_0x387927:_0x3d57b3[_0x2d08ed-_0x7cfe6b]=_0xe1f887;}_0x25a3b5[_0x50d7d5(0x25e)]({'id':_0x509883['id'],'params':{'subUnitId':_0x574268,'unitId':_0x2cccbe,'ranges':[{'startColumn':_0x7cfe6b,'endColumn':_0x7cfe6b+_0xae7fa9-0x1,'startRow':0x0,'endRow':_0xd55073['getRowCount']()-0x1}],'colWidth':_0x3d57b3}}),_0x5540db[_0x50d7d5(0x25e)]({'id':_0x509883['id'],'params':{'subUnitId':_0x574268,'unitId':_0x2cccbe,'ranges':[{'startColumn':_0x7cfe6b,'endColumn':_0x7cfe6b+_0xae7fa9-0x1,'startRow':0x0,'endRow':_0xd55073[_0x50d7d5(0x2a8)]()-0x1}],'colWidth':_0x394ffb}});}return{'undos':_0x5540db,'redos':_0x25a3b5};}};ut=ks([qe(0x0,_0x17f8d4(_0x2e7b0d)),qe(0x1,_0x17f8d4(_0x46beb6)),qe(0x2,_0x17f8d4(_0x184ee2)),qe(0x3,_0x17f8d4(_0x300869)),qe(0x4,_0x17f8d4(he)),qe(0x5,_0x17f8d4(ie))],ut);var Ls=Object[_0x2b5256(0x340)],Gs=(_0x592f52,_0x55a14e,_0xbfd8f7,_0x2eba39)=>{const _0x2e67ca=_0x2b5256;for(var _0x30ed05=_0x2eba39>0x1?void 0x0:_0x2eba39?Ls(_0x55a14e,_0xbfd8f7):_0x55a14e,_0x4ad575=_0x592f52[_0x2e67ca(0x1bf)]-0x1,_0x31f260;_0x4ad575>=0x0;_0x4ad575--)(_0x31f260=_0x592f52[_0x4ad575])&&(_0x30ed05=_0x31f260(_0x30ed05)||_0x30ed05);return _0x30ed05;},Be=(_0x1c77e0,_0x4ef5e4)=>(_0x4e3615,_0x58b198)=>_0x4ef5e4(_0x4e3615,_0x58b198,_0x1c77e0);let ft=class extends _0x2a8c6f{constructor(_0xcf3529,_0x5dfc2d,_0x3140c6,_0x30a96f,_0xe7c87,_0x2c2594,_0x56e042){const _0x10c419=_0x2b5256;super(),V(this,'disposableCollection',new _0x6b8985()),(this[_0x10c419(0x2e7)]=_0xcf3529,this[_0x10c419(0x1cf)]=_0x5dfc2d,this[_0x10c419(0x318)]=_0x3140c6,this[_0x10c419(0x204)]=_0x30a96f,this['_sheetsPivotTableConfigModel']=_0xe7c87,this[_0x10c419(0x339)]=_0x2c2594,this[_0x10c419(0x22e)]=_0x56e042,this[_0x10c419(0x191)]());}[_0x2b5256(0x191)](){const _0x495bfa=_0x2b5256,_0x560389=(_0x23fcf7,_0x5945fd)=>{const _0x43fe01=_0x3ffc,_0x1868e2=this[_0x43fe01(0x204)][_0x43fe01(0x1c3)](_0x4ca610[_0x43fe01(0x209)]);if(!_0x1868e2||!(_0x1868e2==null?void 0x0:_0x1868e2['getSheetBySheetId'](_0x5945fd)))return;this['disposableCollection']['dispose']();const _0x208cd1=_0x3fdb8b=>this[_0x43fe01(0xff)](_0x3fdb8b,_0x23fcf7,_0x5945fd),_0x35d5e4=this['_sheetsPivotTableConfigModel'][_0x43fe01(0x157)](_0x23fcf7,_0x5945fd);if(!(_0x35d5e4!=null&&_0x35d5e4['size']))return;Array[_0x43fe01(0x163)](_0x35d5e4['values']())[_0x43fe01(0x250)](_0xbcb4eb=>{const {row:_0xfbbaff,col:_0x643f7f}=_0xbcb4eb['targetCellInfo'];return _0x2a8431(_0xfbbaff,_0x643f7f);})[_0x43fe01(0x17d)](_0x537d2f=>{const _0xa1f991=_0x43fe01;this[_0xa1f991(0x1eb)][_0xa1f991(0x1ac)](this[_0xa1f991(0x1cf)][_0xa1f991(0x27f)](_0x537d2f,_0x208cd1,_0x23fcf7,_0x5945fd));});},_0x4a103b=()=>{const _0x4afef0=_0x3ffc,_0x10c4fc=this[_0x4afef0(0x204)][_0x4afef0(0x1c3)](_0x4ca610[_0x4afef0(0x209)]);if(_0x10c4fc){const _0x30633d=_0x10c4fc[_0x4afef0(0x1be)]();if(!_0x30633d)return;_0x560389(_0x10c4fc[_0x4afef0(0x26c)](),_0x30633d['getSheetId']());}};this['disposeWithMe'](this['_commandService'][_0x495bfa(0x28e)](_0x239e4f=>{const _0x136094=_0x495bfa;if(_0x239e4f['id']===_0x3b91de['id']){const _0x3ff332=_0x239e4f[_0x136094(0x1b7)],_0x5317d8=_0x3ff332[_0x136094(0x2ab)],_0x3988cf=_0x3ff332[_0x136094(0x2df)];if(!_0x5317d8||!_0x3988cf)return;_0x560389(_0x3988cf,_0x5317d8);}})),this[_0x495bfa(0x2ea)](this[_0x495bfa(0x14a)][_0x495bfa(0x1f4)][_0x495bfa(0x24f)](_0x134bee=>{_0x134bee&&_0x4a103b();})),this['disposeWithMe'](this[_0x495bfa(0x14a)]['pivotConfigChange$'][_0x495bfa(0x24f)](_0x4d6676=>{const _0x227f39=_0x495bfa,_0x1c1c96=_0x1efd93(this[_0x227f39(0x204)]);if(!_0x1c1c96)return;const {unitId:_0x25fcd5,subUnitId:_0x939e46}=_0x1c1c96,{unitId:_0x3cb2dc,subUnitId:_0x4ddacd}=_0x4d6676;_0x25fcd5!==_0x3cb2dc||_0x939e46!==_0x4ddacd||_0x560389(_0x25fcd5,_0x939e46);})),_0x4a103b();}[_0x2b5256(0xff)](_0x27159c,_0x29d8bc,_0x5ba7bf){const _0x402ec2=_0x2b5256;switch(_0x27159c['id']){case _0x4b9068['id']:return this[_0x402ec2(0x1e2)](_0x27159c[_0x402ec2(0x1b7)],_0x29d8bc,_0x5ba7bf);}return{'redos':[],'undos':[]};}[_0x2b5256(0x1e2)](_0x192f93,_0x5bcfc2,_0x42ee8d){const _0x3c35fb=_0x2b5256,{fromRange:_0x32d9de,toRange:_0x49d672}=_0x192f93,_0x4933cb=[],_0x5221f7=[],_0x180127=_0x1efd93(this[_0x3c35fb(0x204)]);if(!_0x180127)return{'undos':_0x5221f7,'redos':_0x4933cb};if(_0x5bcfc2!==_0x180127[_0x3c35fb(0x2df)]||_0x42ee8d!==_0x180127['subUnitId'])return{'undos':_0x5221f7,'redos':_0x4933cb};const _0x5587d3=this[_0x3c35fb(0x14a)][_0x3c35fb(0x157)](_0x5bcfc2,_0x42ee8d);if(_0x5587d3!=null&&_0x5587d3['size'])for(const [_0xb54e5b,_0x155bc2]of _0x5587d3){const {unitId:_0x8843fa,subUnitId:_0x552f56,row:_0x415bac,col:_0x158437}=_0x155bc2['targetCellInfo'];if(_0x8843fa===_0x180127[_0x3c35fb(0x2df)]&&_0x552f56===_0x180127[_0x3c35fb(0x2ab)]){const _0x49e54b=_0x2a8431(_0x415bac,_0x158437);if(_0x4d62a4[_0x3c35fb(0x14b)](_0x49e54b,_0x32d9de)){const _0x15f033=_0x415bac-_0x32d9de['startRow'],_0x5c8cc3=_0x158437-_0x32d9de[_0x3c35fb(0x1d8)],_0x549f52={'row':_0x49d672[_0x3c35fb(0x12c)]+_0x15f033,'col':_0x49d672['startColumn']+_0x5c8cc3};_0x4933cb['push']({'id':pt['id'],'params':{'unitId':_0x8843fa,'subUnitId':_0x552f56,'pivotTableId':_0xb54e5b,'targetCellPosition':_0x549f52}}),_0x5221f7[_0x3c35fb(0x25e)]({'id':pt['id'],'params':{'unitId':_0x8843fa,'subUnitId':_0x552f56,'pivotTableId':_0xb54e5b,'targetCellPosition':{'row':_0x415bac,'col':_0x158437}}});const _0x2c56a5=_0x549f52['row']-_0x415bac,_0xb2f539=_0x549f52[_0x3c35fb(0x112)]-_0x158437,_0x11f7f8=[],_0x3f256c=this[_0x3c35fb(0x339)][_0x3c35fb(0x279)](_0x8843fa,_0x552f56,_0xb54e5b),_0x5db803=_0x3f256c==null?void 0x0:_0x3f256c[_0x3c35fb(0x304)];if(_0x5db803){Object[_0x3c35fb(0x176)](_0x5db803)['forEach'](_0x2b4b93=>{_0x5db803[_0x2b4b93]['forEach'](_0x3cab39=>{const _0x23ebc6=_0x3ffc,_0x541c11={..._0x3cab39};_0x541c11[_0x23ebc6(0x12c)]=_0x3cab39[_0x23ebc6(0x12c)]+_0x2c56a5,_0x541c11['endRow']=_0x3cab39[_0x23ebc6(0x136)]+_0x2c56a5,_0x541c11[_0x23ebc6(0x1d8)]=_0x3cab39[_0x23ebc6(0x1d8)]+_0xb2f539,_0x541c11[_0x23ebc6(0x219)]=_0x3cab39[_0x23ebc6(0x219)]+_0xb2f539,_0x11f7f8['push'](_0x541c11);});});const _0x1195ce=this[_0x3c35fb(0x22e)][_0x3c35fb(0x206)]({'unitId':_0x8843fa,'subUnitId':_0x552f56,'ranges':_0x11f7f8});_0x4933cb[_0x3c35fb(0x25e)](..._0x1195ce[_0x3c35fb(0x15e)]),_0x5221f7[_0x3c35fb(0x25e)](..._0x1195ce[_0x3c35fb(0xf0)]);const _0x58ce19=Ko(this[_0x3c35fb(0x2e7)],_0x8843fa,_0x552f56,_0x11f7f8);_0x58ce19[_0x3c35fb(0xdb)]&&(_0x4933cb[_0x3c35fb(0x25e)](_0x58ce19['setRangeValueRedoMutation']),_0x5221f7[_0x3c35fb(0x25e)](_0x58ce19[_0x3c35fb(0x16f)]));}}}}return{'redos':_0x4933cb,'undos':_0x5221f7};}};ft=Gs([Be(0x0,_0x17f8d4(_0x184ee2)),Be(0x1,_0x17f8d4(_0x1e17e6)),Be(0x2,_0x51f589),Be(0x3,_0x300869),Be(0x4,_0x17f8d4(he)),Be(0x5,_0x17f8d4(Ne)),Be(0x6,_0x17f8d4(_0x46beb6))],ft);var $s=Object[_0x2b5256(0x340)],Js=(_0x1a45d4,_0x3d97c2,_0x5f1c5f,_0x3f4a1b)=>{const _0x363bc6=_0x2b5256;for(var _0x4b0e5e=_0x3f4a1b>0x1?void 0x0:_0x3f4a1b?$s(_0x3d97c2,_0x5f1c5f):_0x3d97c2,_0x2b3b94=_0x1a45d4[_0x363bc6(0x1bf)]-0x1,_0x5f486c;_0x2b3b94>=0x0;_0x2b3b94--)(_0x5f486c=_0x1a45d4[_0x2b3b94])&&(_0x4b0e5e=_0x5f486c(_0x4b0e5e)||_0x4b0e5e);return _0x4b0e5e;},Ro=(_0x4a5592,_0xf8d4a8)=>(_0x54228d,_0xfebf6e)=>_0xf8d4a8(_0x54228d,_0xfebf6e,_0x4a5592);let gt=class extends _0x2a8c6f{constructor(_0x2dec30,_0x47fbf6){const _0x10c7f2=_0x2b5256;super(),this['_sheetInterceptorService']=_0x2dec30,this[_0x10c7f2(0x14a)]=_0x47fbf6,this[_0x10c7f2(0x2ca)]();}['_initRemoveSheetCommandInterceptor'](){const _0x3088b3=_0x2b5256;this[_0x3088b3(0x2ea)](this[_0x3088b3(0x22e)][_0x3088b3(0xf4)]({'getMutations':_0x410108=>{const _0x2f0f6a=_0x3088b3;if(_0x410108['id']===_0x5351f2['id']){const _0x1b465e=[],_0x15777c=[],_0x39e203=_0x410108[_0x2f0f6a(0x1b7)],{unitId:_0x19ff65,subUnitId:_0x4882cc}=_0x39e203;if(!_0x19ff65||!_0x4882cc)return{'undos':_0x15777c,'redos':_0x1b465e};const _0xf37cfa=this[_0x2f0f6a(0x14a)][_0x2f0f6a(0x157)](_0x19ff65,_0x4882cc);if(_0xf37cfa!=null&&_0xf37cfa['size'])for(const [_0x427b2d,_0x324754]of _0xf37cfa){_0x1b465e[_0x2f0f6a(0x25e)]({'id':Et['id'],'params':{'unitId':_0x19ff65,'subUnitId':_0x4882cc,'pivotTableId':_0x427b2d}});const _0x66a6c0={...this[_0x2f0f6a(0x14a)][_0x2f0f6a(0x231)](_0x19ff65,_0x427b2d)};_0x15777c['push']({'id':Ct['id'],'params':{'unitId':_0x19ff65,'subUnitId':_0x4882cc,'pivotTableId':_0x427b2d,'pivotTableConfig':_0x324754,'collectionConfig':_0x66a6c0}});}return{'redos':_0x1b465e,'undos':_0x15777c};}return{'redos':[],'undos':[]};}}));}};gt=Js([Ro(0x0,_0x17f8d4(_0x46beb6)),Ro(0x1,_0x17f8d4(he))],gt);var Ws=Object[_0x2b5256(0x340)],Hs=(_0xc137de,_0x7dc99b,_0x1d7bb1,_0x340c01)=>{const _0xe5ae55=_0x2b5256;for(var _0x1d5765=_0x340c01>0x1?void 0x0:_0x340c01?Ws(_0x7dc99b,_0x1d7bb1):_0x7dc99b,_0x2603a9=_0xc137de[_0xe5ae55(0x1bf)]-0x1,_0x5d5862;_0x2603a9>=0x0;_0x2603a9--)(_0x5d5862=_0xc137de[_0x2603a9])&&(_0x1d5765=_0x5d5862(_0x1d5765)||_0x1d5765);return _0x1d5765;},ze=(_0x552f53,_0x364403)=>(_0x25f8a8,_0x1e644f)=>_0x364403(_0x25f8a8,_0x1e644f,_0x552f53);let vt=class extends _0x2a8c6f{constructor(_0x15a904,_0x2d6f37,_0x168791,_0x4d6eb5,_0x141808,_0x228c52){const _0x54d1fa=_0x2b5256;super(),this[_0x54d1fa(0x318)]=_0x15a904,this[_0x54d1fa(0x2a2)]=_0x2d6f37,this[_0x54d1fa(0x339)]=_0x168791,this[_0x54d1fa(0x14a)]=_0x4d6eb5,this[_0x54d1fa(0x204)]=_0x141808,this[_0x54d1fa(0x2de)]=_0x228c52,this[_0x54d1fa(0xd6)](),this[_0x54d1fa(0x32e)]();}[_0x2b5256(0xd6)](){const _0x56eef1=_0x2b5256;this[_0x56eef1(0x2ea)](this[_0x56eef1(0x318)][_0x56eef1(0x28e)](_0x58e329=>{const _0x517820=_0x56eef1;if(_0x58e329['id']!==lo['id'])return;const _0x19f90a=_0x58e329[_0x517820(0x1b7)];this[_0x517820(0x2a2)][_0x517820(0x188)](_0x19f90a);})),this['disposeWithMe'](this[_0x56eef1(0x318)][_0x56eef1(0x28e)](_0x1f451c=>{const _0x131345=_0x56eef1;if(_0x1f451c['id']===co['id']){const _0x534795=_0x1f451c[_0x131345(0x1b7)];if(_0x534795){const {unitId:_0x1ca341,subUnitId:_0x1d535b,oldSubUnitId:_0x19f9fe,pivotTableId:_0x3b80c7,pivotTableConfig:_0x3159ef,collectionConfig:_0x2a43ea}=_0x534795;this[_0x131345(0x14a)][_0x131345(0x20c)](_0x1ca341,_0x19f9fe,_0x534795[_0x131345(0x2b9)],null),this[_0x131345(0x14a)]['updateConfigCache'](_0x1ca341,_0x1d535b,_0x3b80c7,_0x3159ef),this[_0x131345(0x14a)][_0x131345(0x33c)](_0x1ca341,_0x2a43ea);}}})),this[_0x56eef1(0x2ea)](this['_commandService']['onCommandExecuted'](_0xc79fe2=>{const _0x4bdafb=_0x56eef1;if(_0xc79fe2['id']!==Dt['id'])return;const _0x5f4db1=_0x1efd93(this['_univerInstanceService']);if(!_0x5f4db1)return;const {unitId:_0x2c1326,subUnitId:_0x19c33e}=_0x5f4db1,_0x10705e=_0xc79fe2[_0x4bdafb(0x1b7)];if(_0x10705e[_0x4bdafb(0x1ad)]&&Object[_0x4bdafb(0x176)](_0x10705e[_0x4bdafb(0x1ad)])[_0x4bdafb(0x17d)](_0xcbe05f=>{const _0x54730b=_0x4bdafb;var _0x320fc4;(_0x320fc4=_0x10705e[_0x54730b(0x1ad)])!=null&&_0x320fc4[_0xcbe05f]&&this[_0x54730b(0x14a)]['updateCollectionConfig'](_0xcbe05f,_0x10705e[_0x54730b(0x1ad)][_0xcbe05f]);}),_0x10705e[_0x4bdafb(0x2bd)]){const _0x39564b=_0x10705e[_0x4bdafb(0x2bd)],{unitId:_0x2cbf88,subUnitId:_0x400f99,view:_0x2e4d6a,pivotTableId:_0x46923b,type:_0x2760f2,pivotConfig:_0x3b094c}=_0x39564b;if(_0x2760f2===L[_0x4bdafb(0x2e1)])this[_0x4bdafb(0x339)][_0x4bdafb(0x18b)]({'unitId':_0x2cbf88,'subUnitId':_0x400f99,'pivotTableId':_0x46923b,'type':_0x2760f2}),this[_0x4bdafb(0x14a)][_0x4bdafb(0x20c)](_0x2cbf88,_0x400f99,_0x46923b,null);else{const _0x53d487=new _0xfa0de5();_0x53d487['formJSON'](_0x2e4d6a),this[_0x4bdafb(0x14a)]['updateConfigCache'](_0x2cbf88,_0x400f99,_0x46923b,_0x3b094c),this['_sheetsPivotTableAdaptorModel'][_0x4bdafb(0x18b)]({'unitId':_0x2cbf88,'subUnitId':_0x400f99,'pivotTableId':_0x46923b,'type':_0x2760f2,'view':_0x53d487}),this['_sheetsPivotTableAdaptorModel'][_0x4bdafb(0x226)]({'unitId':_0x2cbf88,'subUnitId':_0x400f99,'view':_0x53d487,'pivotTableId':_0x46923b,'type':_0x2760f2});}}else _0x10705e[_0x4bdafb(0x274)]&&(_0x10705e[_0x4bdafb(0x274)][_0x4bdafb(0x17d)](_0x4119ee=>{const _0xc8a0ba=_0x4bdafb,{unitId:_0x3cc638,subUnitId:_0x3a2254,view:_0x5c865d,pivotTableId:_0x324336,type:_0x136e48,pivotConfig:_0x29e509}=_0x4119ee,_0x4cb434=new _0xfa0de5();_0x4cb434[_0xc8a0ba(0x113)](_0x5c865d),this[_0xc8a0ba(0x14a)][_0xc8a0ba(0x20c)](_0x3cc638,_0x3a2254,_0x324336,_0x29e509),this[_0xc8a0ba(0x339)][_0xc8a0ba(0x226)]({'unitId':_0x3cc638,'subUnitId':_0x3a2254,'view':_0x4cb434,'pivotTableId':_0x324336,'type':_0x136e48});}),this[_0x4bdafb(0x14a)]['setPivotInitCompleted']());this[_0x4bdafb(0x339)][_0x4bdafb(0x28b)](_0x2c1326,_0x19c33e);}));}[_0x2b5256(0x32e)](){const _0x1a0cdc=_0x2b5256;this[_0x1a0cdc(0x2de)][_0x1a0cdc(0x12a)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x4f7e85){const _0x510942=_0x1a0cdc;return{'dirtyUnitFeatureMap':_0x4f7e85[_0x510942(0x1b7)]};}});}};vt=Hs([ze(0x0,_0x17f8d4(_0x51f589)),ze(0x1,_0x17f8d4(Z)),ze(0x2,_0x17f8d4(Ne)),ze(0x3,_0x17f8d4(he)),ze(0x4,_0x17f8d4(_0x300869)),ze(0x5,_0x1e676a)],vt);var Ks=Object[_0x2b5256(0x130)],qs=Object[_0x2b5256(0x340)],zs=(_0x370cbe,_0x19861a,_0x736034)=>_0x19861a in _0x370cbe?Ks(_0x370cbe,_0x19861a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x736034}):_0x370cbe[_0x19861a]=_0x736034,Ys=(_0x3baf3b,_0xc95d51,_0x276fda,_0x444e2f)=>{for(var _0x35ee22=_0x444e2f>0x1?void 0x0:_0x444e2f?qs(_0xc95d51,_0x276fda):_0xc95d51,_0x1a41f8=_0x3baf3b['length']-0x1,_0x754712;_0x1a41f8>=0x0;_0x1a41f8--)(_0x754712=_0x3baf3b[_0x1a41f8])&&(_0x35ee22=_0x754712(_0x35ee22)||_0x35ee22);return _0x35ee22;},_t=(_0xde957a,_0xab87d2)=>(_0x5f23d2,_0x47d456)=>_0xab87d2(_0x5f23d2,_0x47d456,_0xde957a),Qo=(_0x3bae94,_0x2afb2e,_0x40535d)=>zs(_0x3bae94,typeof _0x2afb2e!=_0x2b5256(0x10b)?_0x2afb2e+'':_0x2afb2e,_0x40535d);let Vt=class extends _0x31e05a{constructor(_0x51a047=yo,_0x4e6a72,_0x4c657a,_0x1b91ba,_0x2e93f6){const _0x199188=_0x2b5256;super(),this['_config']=_0x51a047,this['_injector']=_0x4e6a72,this[_0x199188(0x318)]=_0x4c657a,this[_0x199188(0x29b)]=_0x1b91ba,this[_0x199188(0x229)]=_0x2e93f6;const {..._0x3e8f6e}=_0x4637a1({},yo,this[_0x199188(0xc3)]);this[_0x199188(0x29b)][_0x199188(0x1d6)](zo,_0x3e8f6e),this[_0x199188(0x1ee)](),this[_0x199188(0x192)]();}[_0x2b5256(0x192)](){const _0x266b4e=_0x2b5256;var _0xdde91a;const _0x32e023=(_0xdde91a=this[_0x266b4e(0xc3)])==null?void 0x0:_0xdde91a[_0x266b4e(0x20d)];this[_0x266b4e(0x29b)][_0x266b4e(0x1d6)](q,_0x32e023===!0x0);}[_0x2b5256(0x292)](){const _0x21cfd2=_0x2b5256;var _0x2a07df;let _0x384de3=[];const _0x18da3d=(_0x2a07df=this[_0x21cfd2(0xc3)])==null?void 0x0:_0x2a07df[_0x21cfd2(0x20d)];_0x18da3d===!0x0?_0x384de3=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x18da3d===!0x1?_0x384de3=[[G],[ct]]:_0x18da3d===void 0x0&&(_0x384de3=[[G],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x384de3[_0x21cfd2(0x17d)](_0x390b27=>this['_injector'][_0x21cfd2(0x1ac)](_0x390b27)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x499faa=>{const _0x20d191=_0x21cfd2;this[_0x20d191(0x2e7)][_0x20d191(0x132)](_0x499faa)&&this[_0x20d191(0x2e7)][_0x20d191(0x2f6)](_0x499faa);});}[_0x2b5256(0x1ee)](){const _0xf6af8b=_0x2b5256;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,Et,Gt,Yo,Xo,Kt,$t,Jt,Wt,zt,qt,pt,ro,lo,Dt,Qt,eo,Yt,Ht,uo,to,Zt,Ut,co,Rs,Xt,_s,Fs][_0xf6af8b(0x17d)](_0x4b81a1=>{const _0x3b50ad=_0xf6af8b;var _0x6d9671;(_0x6d9671=this['_dataSyncPrimaryController'])==null||_0x6d9671[_0x3b50ad(0x2f9)](_0x4b81a1),this[_0x3b50ad(0x318)][_0x3b50ad(0x2ce)](_0x4b81a1);});}};Qo(Vt,'pluginName',ao),Qo(Vt,_0x2b5256(0x144),_0x4ca610[_0x2b5256(0x209)]),Vt=Ys([_0x1c1d39(_0xac2b89),_t(0x1,_0x17f8d4(_0x184ee2)),_t(0x2,_0x17f8d4(_0x51f589)),_t(0x3,_0x2a9e1d),_t(0x4,_0x350cd5(_0x4affae))],Vt);export{vs as AddPivotFieldCommand,Gt 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,B as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,jo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Ht as SetPivotFieldFormatMutation,_s as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,zt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,Rs as SetPivotValueFilterCommand,Xt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ho as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};