@univerjs-pro/sheets-pivot 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507011607

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.
Files changed (43) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/common/const.d.ts +41 -41
  32. package/lib/types/controllers/const.d.ts +1 -1
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1e4666=_0x3ce7;(function(_0x21bc76,_0x201f86){const _0x381deb=_0x3ce7,_0x5722b2=_0x21bc76();while(!![]){try{const _0x152f23=parseInt(_0x381deb(0x3d6))/0x1+-parseInt(_0x381deb(0x2f6))/0x2*(-parseInt(_0x381deb(0x2a3))/0x3)+-parseInt(_0x381deb(0x184))/0x4*(-parseInt(_0x381deb(0x365))/0x5)+-parseInt(_0x381deb(0x3bd))/0x6*(parseInt(_0x381deb(0x234))/0x7)+-parseInt(_0x381deb(0x1ee))/0x8+parseInt(_0x381deb(0x38e))/0x9*(-parseInt(_0x381deb(0x2f8))/0xa)+parseInt(_0x381deb(0x35b))/0xb*(parseInt(_0x381deb(0x277))/0xc);if(_0x152f23===_0x201f86)break;else _0x5722b2['push'](_0x5722b2['shift']());}catch(_0x3aa690){_0x5722b2['push'](_0x5722b2['shift']());}}}(_0x4667,0xa20f3));var an=Object[_0x1e4666(0x334)],rn=(_0x13142e,_0x416324,_0x215be6)=>_0x416324 in _0x13142e?an(_0x13142e,_0x416324,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x215be6}):_0x13142e[_0x416324]=_0x215be6,V=(_0x1c2eba,_0x3bd4d9,_0x12ce6e)=>rn(_0x1c2eba,typeof _0x3bd4d9!=_0x1e4666(0x349)?_0x3bd4d9+'':_0x3bd4d9,_0x12ce6e);import{PivotCellStyleTypeEnum as _0x5896d6,PivotViewCellValueTypeEnum as _0x2dd45c,isPrefixValue as _0x2ec535,isErrorValue as _0x562aa4,PivotErrorTypeEnum as _0x5ac7f3,PivotDateGroupFieldDateTypeEnum as _0x44a7d0,DataFieldManager as _0x588987,FieldsCollection as _0x426d65,isDateValue as _0x15bee7,DataField as _0x3a3b05,generateHexNumber as _0x31e0e1,isBaseGroupField as _0x214a51,PivotTable as _0x219501,PivotSubtotalTypeEnum as _0x50dbf6,PivotTableFiledAreaEnum as _0x2ea213,excelDateToUnixMilliseconds as _0x144879,createValueField as _0x3a28c1,createLabelField as _0x355051,PivotTableChangeTypeEnum as _0x216bc2,BaseGroupField as _0x473503,PivotView as _0x49d704,isDateGroupFieldJSON as _0x4f4f47,PivotCallbackEnum as _0x3a6cdb,PivotFilterTypeEnum as _0x3971c7,getAutoDisplayName as _0x45f5f5,PivotDataFieldDataTypeEnum as _0x5937a7,PivotTableValuePositionEnum as _0x4038c7,isDateGroupField as _0x1f076d,DateGroupField as _0xcf678e}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x44c758,ObjectMatrix as _0x1b3fd2,IUniverInstanceService as _0x11d98b,UniverInstanceType as _0x5c8370,CellValueType as _0x31491c,numfmt as _0x2926ae,LocaleService as _0x1c8344,createAsyncInterceptorKey as _0x17796d,createInterceptorKey as _0x3e5d49,CommandType as _0x99442f,RANGE_TYPE as _0x202cc7,numberToABC as _0xfd101c,Inject as _0x52ddbc,Injector as _0x4903de,LifecycleService as _0x29e2dd,IConfigService as _0x6f69e8,ICommandService as _0x13bfb7,IResourceManagerService as _0x375aa3,Disposable as _0x21cbed,Rectangle as _0x100b6c,Tools as _0x471e66,AsyncInterceptorManager as _0x2a0596,InterceptorManager as _0x48a456,InterceptorEffectEnum as _0x15afcb,CustomCommandExecutionError as _0x1f87f1,IUndoRedoService as _0x5c2b2f,sequenceExecute as _0x54e36f,mergeWorksheetSnapshotWithDefault as _0x3cd2fb,generateRandomId as _0x2255fd,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4e43c9,DEFAULT_WORKSHEET_ROW_COUNT as _0x2e67ae,DisposableCollection as _0x371937,Range as _0x4dda36,DependentOn as _0x56b03b,Optional as _0x51db33,Plugin as _0x1c0e00,merge as _0x230aa7}from'@univerjs/core';import{ErrorType as _0x1860aa,serializeRangeWithSpreadsheet as _0x389196,IFeatureCalculationManagerService as _0x20b612,GlobalComputingStatusService as _0x26bbc3,IActiveDirtyManagerService as _0x5d7461}from'@univerjs/engine-formula';import{generateNullCell as _0x4ecbd3,SetRangeValuesUndoMutationFactory as _0xea2c6,SetRangeValuesMutation as _0xe792fa,getSheetCommandTarget as _0x114031,InsertRowMutation as _0x499d8c,RemoveRowMutation as _0x8ea10f,InsertColMutation as _0x2a8ac1,RemoveColMutation as _0x127612,IExclusiveRangeService as _0x3b59d3,SheetInterceptorService as _0x132175,INTERCEPTOR_POINT as _0x27ae9f,InsertSheetCommand as _0x11f159,InsertSheetUndoMutationFactory as _0x21b188,RemoveSheetMutation as _0x557eaa,InsertSheetMutation as _0xd999c,MoveRangeMutation as _0x21ab8f,SheetsSelectionsService as _0x8f4120,ClearSelectionContentCommand as _0x2a6742,ClearSelectionAllCommand as _0x36642b,SetWorksheetColWidthMutation as _0x38f0be,RefRangeService as _0x3a0f4e,SetWorksheetActiveOperation as _0x1996db,MoveRangeCommand as _0x582e77,RemoveSheetCommand as _0x208241}from'@univerjs/sheets';import{Subject as _0x4e2983,BehaviorSubject as _0x3068fa}from'rxjs';import{LS_CONFIG_KEY as _0x2d3143,unshiftString as _0x1211d3,isFeatureAuthorizedWithinTime as _0x17d080,getSheetFeatureLimit as _0x1c6885,ReleaseType as _0x574891,UniverLicensePlugin as _0x3de079}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x2b84b5,RemoveSheetsFilterMutation as _0x92e8ac}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x53cb0c}from'@univerjs/rpc';import{getFontStyleString as _0x4971bc,FontCache as _0x10912d}from'@univerjs/engine-render';const ko=Number[_0x1e4666(0x320)](0x68638549),li=0x10,so=0x1,ao=_0x1e4666(0x21e),It=0x1,ci=_0x1e4666(0x255),di=_0x1e4666(0x251),wt='#b2b2b2',ui=_0x1e4666(0x327),fi=_0x1e4666(0x327),gi=_0x1e4666(0x263),vi=_0x1e4666(0x253),hi=_0x1e4666(0x30a),pi=_0x1e4666(0x20a),mi=_0x1e4666(0x253),Ii=_0x1e4666(0x30a),Ci=_0x1e4666(0x244),bi=0xe,Si=0x6;var Wo=(_0x42de16=>(_0x42de16[_0x1e4666(0x2a0)]=_0x1e4666(0x20c),_0x42de16[_0x1e4666(0x3bb)]=_0x1e4666(0x1e5),_0x42de16))(Wo||{});const Lo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,Ge={'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':Ge,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Ge,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Ge,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Ge,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Ge,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Ge,'vt':0x2}};function _0x3ce7(_0x1e0313,_0x273975){const _0x466740=_0x4667();return _0x3ce7=function(_0x3ce737,_0x47aa08){_0x3ce737=_0x3ce737-0x15c;let _0x166400=_0x466740[_0x3ce737];return _0x166400;},_0x3ce7(_0x1e0313,_0x273975);}function Ti(_0x64c0c5,_0x3eae61,_0x3dee83){const _0x180704=_0x1e4666,_0x505624=_0x64c0c5[_0x180704(0x19a)](_0x1c8344),_0x3dcdaa=_0x3dee83['split']('_');switch(_0x3eae61){case _0x44a7d0[_0x180704(0x176)]:return _0x505624['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3dcdaa);case _0x44a7d0[_0x180704(0x28d)]:return _0x505624['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x3dcdaa);case _0x44a7d0[_0x180704(0x3dd)]:return _0x505624['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x3dcdaa);case _0x44a7d0[_0x180704(0x36e)]:return _0x505624['t'](_0x180704(0x2ee),..._0x3dcdaa);case _0x44a7d0[_0x180704(0x1d3)]:return _0x505624['t'](_0x180704(0x372),..._0x3dcdaa);case _0x44a7d0[_0x180704(0x26a)]:return _0x505624['t'](_0x180704(0x335),..._0x3dcdaa);case _0x44a7d0[_0x180704(0x25b)]:return _0x505624['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x3dcdaa);case _0x44a7d0['YearMonth']:return _0x505624['t'](_0x180704(0x3b9),..._0x3dcdaa);case _0x44a7d0[_0x180704(0x2cb)]:return _0x505624['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x3dcdaa);case _0x44a7d0['YearQuarter']:return _0x505624['t'](_0x180704(0x194),..._0x3dcdaa);}return'';}const it=(_0x41382c,_0x2e1db8,_0x2a0095,_0x40b76b)=>{const _0x23a7e2=_0x1e4666;let _0x69f470;const _0x2cb114=_0x41382c[_0x23a7e2(0x19a)](_0x11d98b)[_0x23a7e2(0x2f4)](_0x5c8370['UNIVER_SHEET']);if(!_0x2cb114)return null;const _0x335528=_0x2cb114[_0x23a7e2(0x17b)]();let _0x2d5bc3;if(_0x2a0095&&(_0x2d5bc3=_0x335528[_0x23a7e2(0x2a7)](_0x2a0095)),_0x2e1db8!=null&&_0x2e1db8['v']||(_0x2e1db8==null?void 0x0:_0x2e1db8['v'])===0x0){_0x69f470||(_0x69f470={});const _0x3ce0da=Bo(_0x2e1db8['v']);typeof _0x3ce0da==_0x23a7e2(0x35c)?_0x69f470['t']=_0x31491c[_0x23a7e2(0x1ea)]:typeof _0x3ce0da==_0x23a7e2(0x1f2)&&(_0x69f470['t']=_0x31491c[_0x23a7e2(0x1e4)]),_0x69f470['v']=_0x3ce0da;}if((_0x2e1db8!=null&&_0x2e1db8['i']||(_0x2e1db8==null?void 0x0:_0x2e1db8['i'])===0x0)&&(_0x69f470||(_0x69f470={}),_0x69f470['fi']=_0x2e1db8['i']),_0x2e1db8!=null&&_0x2e1db8['s']&&(_0x69f470||(_0x69f470={}),_0x69f470[_0x23a7e2(0x1ce)]=_0x2e1db8['s']),_0x2a0095&&(_0x69f470||(_0x69f470={}),_0x69f470['s']=_0x2d5bc3),_0x40b76b&&_0x69f470!=null&&_0x69f470['v']&&_0x69f470[_0x23a7e2(0x1ce)]!==_0x5896d6['GrandTotal']&&_0x69f470[_0x23a7e2(0x1ce)]!==_0x5896d6[_0x23a7e2(0x31a)]){const _0x4d0430=String(_0x69f470['v']),{dateType:_0x19ebf7}=_0x40b76b;_0x69f470['v']=Ti(_0x41382c,_0x19ebf7,_0x4d0430),_0x69f470['t']=_0x31491c[_0x23a7e2(0x1e4)];}return _0x69f470;},yi=(_0x3784fe,_0x69d9c6,_0x9c0a4e,_0x2d9559)=>{const _0x2a0f91=_0x1e4666;var _0x5f458e,_0x4b520b,_0x5e4536,_0x588b74,_0x3d65a8,_0x25382b,_0x136866,_0x76847d,_0x17613c,_0x5c6d33,_0x3c4888,_0x35d3c1,_0x2414e8,_0x3f6be2;const _0x1f5360=_0x9c0a4e[_0x2a0f91(0x2e8)],{cornerView:_0x4a716e,rowView:_0x5b15eb,colView:_0x3f8fea,dataView:_0x3bb2e6,pageView:_0x16e12d,formatMap:_0x4b49ba,groupInfo:_0x40a1cb}=_0x69d9c6,{row:_0xa3d20e,col:_0x3d807e}=_0x1f5360,_0x1baa43=new _0x1b3fd2(),_0x513dbb={},_0x1488eb={},_0x2527da={},_0x76ff3d={},_0x373a86={};let _0x27a34e=_0xa3d20e,_0x2c3862=_0x3d807e;Object[_0x2a0f91(0x181)](_0x16e12d[_0x2a0f91(0x2b6)])[_0x2a0f91(0x276)](_0xe54984=>{const _0x2050f6=_0x2a0f91;Object[_0x2050f6(0x181)](_0x16e12d[_0x2050f6(0x2b6)][Number(_0xe54984)])[_0x2050f6(0x276)](_0x8fa023=>{const _0x171663=_0x2050f6,_0x2ee8aa={..._0x16e12d[_0x171663(0x2b6)][Number(_0xe54984)][Number(_0x8fa023)]};_0x1baa43[_0x171663(0x2a7)](Number(_0xe54984)+_0x27a34e,Number(_0x8fa023)+_0x2c3862,it(_0x3784fe,_0x2ee8aa,fe[_0x171663(0x168)]));});});const _0x2771ce=Object[_0x2a0f91(0x181)](_0x16e12d[_0x2a0f91(0x2b6)])[_0x2a0f91(0x337)];_0x27a34e+=_0x2771ce+(_0x2771ce?It:0x0);const _0x1ee13a=_0x4a716e[_0x2a0f91(0x36d)](),_0x2c45b4=_0x4a716e[_0x2a0f91(0x179)]();for(let _0x59f47b=0x0;_0x59f47b<_0x1ee13a;_0x59f47b++)for(let _0x3504a9=0x0;_0x3504a9<_0x2c45b4;_0x3504a9++){const _0x5260a1={...(_0x4b520b=(_0x5f458e=_0x4a716e[_0x2a0f91(0x2b6)])==null?void 0x0:_0x5f458e[_0x59f47b])==null?void 0x0:_0x4b520b[_0x3504a9]};_0x5260a1&&((_0x5e4536=_0x5b15eb[_0x2a0f91(0x273)][_0x3504a9])!=null&&_0x5e4536[_0x2a0f91(0x229)])&&_0x3504a9===_0x2c45b4-0x1&&_0x59f47b===_0x1ee13a-0x1&&(_0x5260a1['v']=''+_0x2d9559[_0x2a0f91(0x2ad)]),_0x1baa43['setValue'](_0x59f47b+_0x27a34e,_0x3504a9+_0x2c3862,it(_0x3784fe,_0x5260a1,fe[_0x2a0f91(0x1c6)]));}for(let _0xd4ea0d=0x0;_0xd4ea0d<_0x4a716e[_0x2a0f91(0x2f9)]['length'];_0xd4ea0d++)_0x4a716e[_0x2a0f91(0x2f9)][_0xd4ea0d]&&(_0x2527da[''+(_0xd4ea0d+_0x2c3862)]=_0x4a716e['info'][_0xd4ea0d]);_0x2c3862+=_0x2c45b4;const _0x19a81c=_0x3f8fea[_0x2a0f91(0x273)],_0x1ca2ef=_0x3f8fea[_0x2a0f91(0x1d9)]()>=0x0?_0x3f8fea['getLastRow']()+0x1:0x0,_0x5812db=_0x3f8fea['getLastCol']()>=0x0?_0x3f8fea['getLastCol']()+0x1:0x0;for(let _0x5c4630=0x0;_0x5c4630<_0x5812db;_0x5c4630++){for(let _0x2c4fef=0x0;_0x2c4fef<_0x1ca2ef;_0x2c4fef++){const _0x41ecc6={...(_0x3d65a8=(_0x588b74=_0x3f8fea['data'])==null?void 0x0:_0x588b74[_0x2c4fef])==null?void 0x0:_0x3d65a8[_0x5c4630]},_0x262378=(_0x25382b=_0x19a81c[_0x2c4fef])==null?void 0x0:_0x25382b['tableFieldId'],_0x2a9fe6=_0x4b49ba[_0x262378],_0x24acb4=_0x40a1cb[_0x262378];_0x41ecc6&&(_0x41ecc6['v']=ht(_0x41ecc6,_0x2c4fef===0x0&&((_0x136866=_0x3f8fea[_0x2a0f91(0x29e)](_0x5c4630+0x1))==null?void 0x0:_0x136866[_0x2a0f91(0x229)]),_0x2a9fe6,_0x2d9559));let _0x3cc720;_0x2a9fe6?_0x3cc720={...fe[_0x2a0f91(0x222)],'n':{'pattern':_0x2a9fe6}}:_0x3cc720={...fe[_0x2a0f91(0x222)]},_0x1baa43[_0x2a0f91(0x2a7)](_0x2c4fef+_0x27a34e,_0x5c4630+_0x2c3862,it(_0x3784fe,_0x41ecc6,_0x3cc720,_0x24acb4));}_0x3f8fea[_0x2a0f91(0x2f9)][_0x5c4630]&&(_0x1488eb[''+(_0x5c4630+_0x2c3862)]=_0x3f8fea['info'][_0x5c4630]),_0x3f8fea[_0x2a0f91(0x273)][_0x5c4630+0x1]&&(_0x373a86[''+(_0x5c4630+_0x27a34e+0x1)]=_0x3f8fea['headerMap'][_0x5c4630+0x1]);}_0x27a34e+=_0x1ee13a;const _0x146682=_0x5b15eb[_0x2a0f91(0x273)],_0xed314e=_0x5b15eb[_0x2a0f91(0x1d9)]()>=0x0?_0x5b15eb[_0x2a0f91(0x1d9)]()+0x1:0x0,_0x21adf0=_0x5b15eb[_0x2a0f91(0x3d7)]()>=0x0?_0x5b15eb['getLastCol']()+0x1:0x0;for(let _0x590999=0x0;_0x590999<_0xed314e;_0x590999++){for(let _0x1f73ad=0x0;_0x1f73ad<_0x21adf0;_0x1f73ad++){const _0x16746f={...(_0x17613c=(_0x76847d=_0x5b15eb['data'])==null?void 0x0:_0x76847d[_0x590999])==null?void 0x0:_0x17613c[_0x1f73ad]},_0x49a915=(_0x5c6d33=_0x146682[_0x1f73ad])==null?void 0x0:_0x5c6d33[_0x2a0f91(0x1e0)],_0x555fc4=_0x4b49ba[_0x49a915],_0x4a1b92=_0x40a1cb[_0x49a915];_0x16746f&&(_0x16746f['v']=ht(_0x16746f,!0x1,_0x555fc4,_0x2d9559));let _0x2adb61;_0x5b15eb[_0x2a0f91(0x2f9)][_0x590999]['level']===_0x5b15eb[_0x2a0f91(0x179)]()?_0x2adb61=fe['leafStyle']:_0x5b15eb['info'][_0x590999][_0x2a0f91(0x384)]?_0x2adb61=_0x5b15eb[_0x2a0f91(0x2f9)][_0x590999]['level']===0x0?fe[_0x2a0f91(0x1d7)]:fe[_0x2a0f91(0x21f)]:_0x2adb61=fe[_0x2a0f91(0x303)],_0x555fc4&&(_0x2adb61={..._0x2adb61,'n':{'pattern':_0x555fc4}}),_0x1baa43[_0x2a0f91(0x2a7)](_0x590999+_0x27a34e,_0x1f73ad+_0x3d807e,it(_0x3784fe,_0x16746f,_0x2adb61,_0x4a1b92));}_0x5b15eb[_0x2a0f91(0x2f9)][_0x590999]&&(_0x513dbb[''+(_0x590999+_0x27a34e)]=_0x5b15eb[_0x2a0f91(0x2f9)][_0x590999]),_0x5b15eb[_0x2a0f91(0x273)][_0x590999]&&(_0x76ff3d[''+(_0x590999+_0x3d807e)]=_0x5b15eb[_0x2a0f91(0x273)][_0x590999]);}const _0x5a1f75=_0x3bb2e6[_0x2a0f91(0x36d)](),_0x3646ce=_0x3bb2e6[_0x2a0f91(0x179)]();for(let _0x312b72=0x0;_0x312b72<_0x5a1f75;_0x312b72++)for(let _0x3fe135=0x0;_0x3fe135<_0x3646ce;_0x3fe135++){const _0x535e9c={...(_0x35d3c1=(_0x3c4888=_0x3bb2e6['data'])==null?void 0x0:_0x3c4888[_0x312b72])==null?void 0x0:_0x35d3c1[_0x3fe135]};let _0x242a6e;_0x5b15eb['info'][_0x312b72][_0x2a0f91(0x384)]?_0x242a6e=_0x5b15eb[_0x2a0f91(0x2f9)][_0x312b72][_0x2a0f91(0x1a2)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x242a6e=fe[_0x2a0f91(0x310)];const _0x6a7c76=_0x5b15eb['info'][_0x312b72][_0x2a0f91(0x23a)],_0x455743=_0x3f8fea[_0x2a0f91(0x2f9)][_0x3fe135][_0x2a0f91(0x23a)],_0x25ae03=Math[_0x2a0f91(0x15f)](_0x6a7c76,_0x455743),_0x3cb21f=_0x9c0a4e['fieldsConfig'][_0x2a0f91(0x2d5)]['concat']();let _0x22f2f1='';_0x25ae03<0x0?_0x22f2f1=(_0x2414e8=_0x3cb21f[0x0])!=null?_0x2414e8:'':_0x22f2f1=(_0x3f6be2=_0x3cb21f[_0x25ae03])!=null?_0x3f6be2:'';const _0x294164=_0x4b49ba[_0x22f2f1];_0x294164&&(_0x242a6e={..._0x242a6e,'n':{'pattern':_0x294164}}),_0x1baa43['setValue'](_0x312b72+_0x27a34e,_0x3fe135+_0x2c3862,it(_0x3784fe,_0x535e9c,_0x242a6e));}return{'valueMatrix':_0x1baa43,'rowInfo':_0x513dbb,'colInfo':_0x1488eb,'cornerInfo':_0x2527da,'rowHeaderMap':_0x76ff3d,'colHeaderMap':_0x373a86};};function _0x4667(){const _0x45c967=['updateValuePosition','var','some','isText','setPivotTable','getPivotDisplayConfig','isEmpty','AddPivotTableWithConfig','addExclusiveRange','Grand\x20Total','sheet.mutation.set-pivot-filter','min','Minute','sheet.mutation.get-pivot-data-local','createCollectionWithDataRange','_model','MUTATION','sheet.mutation.remove-pivot-table','sheets-pivot.sumName','sheets-pivot.emptyPivot.filter','_sheetsPivotRpcService','_collectionConfigModel','SetPivotSetting','sheets-pivot.dateGroup.year','getFieldInfo','SHEET_PIVOT_EXCLUSIVE_ID','SetFilterInfo','removePivotTable','fromJSON','getHeaderMapItem','leftOffset','Existing','getAutoFitColumnsMutations','valueFilter','376683FHrGUo','sheet.mutation.add-pivot-field','sheets-pivot.dateGroup.hourMinute','setOptions','setValue','handleAsyncResponse','Panel','viewUpdate$','getPivotPerformCheck','addField','sheets-pivot.value','getValuePosition','getMonth','rangesInfo','_viewData','updateCollectionConfig','collection','rangeKeyMap','colInfo','data','has','sheet.mutation.remove-pivot-field','_sheetsPivotDataSourceModel','setValueFilterInfo','remove','iterateField','setSubtotalType','versions','handleMoveRange','_initLocale','UpdatePivotSource','isNaN','startColumn','sheet.mutation.pivot-update-value-position','_globalComputedStartHelpFunc','setPivotSort','_config','pushUndoRedo','undos','_injector','YearMonthDate','_sheetsPivotTableConfigModel','setPivotTableConfig','sheets-pivot.dateGroup.minute','removeSourceRangeChange','collections','getColumnWidth','_univerInstanceService','PivotMultipleValueId','renameField','valueFields','sheet.mutation.set-pivot-field-subtotal-type','sheet.command.set-pivot-field-setting','paths','setSourceName','getViewData','oldMatrix','filterInfo','CELL_CONTENT','onCommandExecuted','sheet.mutation.pivot-update-field-source-info','date','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getDataFieldItemInfo','return\x20','updateViewData','_refRangeService','SetPivotCollapse','getValueIndex','targetCellInfo','NotName','rangeType','_onRefRangeChange','maxDate','addCollectionByJSON','sheets-pivot.cellDateGroupDisplay.hourMinute','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_sheetsPivotTableAdaptorModel','parse','sheet.command.remove-pivot-field','_initPivotTextInfo','getCurrentUnitForType','size','2gxTTpu','updateDirtyPivotTable','2926370eNgQnr','info','pageRanges','sheets-pivot.subTotal','rowInfo','updateDataFieldsCollection','_ensurePivotMap','_deletePivotTableInstanceCache','getId','updateRenderCache','getSubUnitPivotRenderCache','rowStyle','getMatrix','toString','_subjectViewChange','setTextInfo','MIN_SAFE_INTEGER','floor','#FFFFFF','sheets-pivot.averageName','getOwnPropertyDescriptor','getCellMatrix','ptn','configVersion$','dataStyle','refreshData','getUnitId','RenameField','GrandTotal','sheetName','getPivotTableMatrixInfo','getUnit','Value','updateView','Subtotal','sheets-pivot.dateGroup.yearMonth','_commandService','pivotPerformCheck','drillDown','updatePivotSource','parseInt','set','dataFieldId','fieldsConfig','_updateModelCache','_globalComputingSrv','_viewUpdate$','#f4f4f5','interceptCommand','updateFieldSourceInfo','movePivotField','Varp\x20of\x20','originalFieldId','StdDev\x20of\x20','sheet.command.set-pivot-fields-config','sheet.command.set-pivot-filter','_pivotRenderInfoCache','getRangeData','_host','colHeaderMap','defineProperty','sheets-pivot.cellDateGroupDisplay.month','hasOwnProperty','length','Count\x20of\x20','sheets-pivot.countNumsName','_globalSubject','_initPivotDataGetListener','getSubUnitPivotConfigs','AddPivotField','sortInfo','contains','markDirty$','FORCE_STRING','registerRefRange','getPivotTableModelConfig','matrix','DrillDown','deepClone','getConfig','getRangeKey','symbol','UpdateFieldPosition','_fieldsCollectionChange$','setDataRecordCount','removeDataField','setPivotCollapse','_collectionChange$','registerCallbackWithEvent','getPivotTableRangeInfo','oldRangeInfo','Row','PIVOT_MUTATION_GENERATE','dataStream','hasField','getDataFieldBySourceName','params','sheet.mutation.send-pivot-view-local','notExecuteFormula','275eTjhjQ','number','sheet.command.move-pivot-table','_dataSyncPrimaryController','getValue','measure','sheets-pivot.dateGroup.yearQuarter','Total','Column','realDeleteValue','1203115aNDNWc','error','fetchThroughInterceptors','getDate','pushComputingStatusSubject','sheet.operation.pivot-table-view-formula-mark-dirty','getDisplayName','_deleteModelCache','getRowCount','HourMinute','addDataFieldWithoutUnitInfo','_ensurePivotTableMatrixInfo','addRecord','sheets-pivot.cellDateGroupDisplay.date','sum','object','_pivotConfigChange$','_getPivotAppliedRanges','setValuePivotFilter','_initConfig','generateMutationsByRanges','ManualFilter','Min\x20of\x20','_initRemoveSheetCommandInterceptor','markDirty','getPivotItemRenderInfoCache','slice','_dataFieldManagerCollection','queryDirtyPivotTable','sourceRangeInfo','NORMAL','isBottomTotal','uniqueDataFieldName','_pivotTableInstanceCache','average','getAutoDisplayNameFunction','getIntersects','endColumn','type','getSourceName','getFieldIds','36IIBxRo','filterFields','addCollection','sheet.mutation.update-date-group','UNIVER_SHEET','random','removePivotField','addPivotTableWithConfig','rowRanges','interceptor','deleteDataField','fields','setPivotInitCompleted','handleSourceRangeChange','addPivotField','getPivotTableConfig','_ensurePivotItemRenderInfoCache','SHEET_PIVOT_IN_MAIN_THREAD','Add','registerCommand','pluginName','setFieldFormat','getDataFieldByTableId','getIntersectsPivotTable','setPivotFilter','pivotMutationGenerate','subscribe','textInfo','getPivotTableInstance','fetchThroughAsyncInterceptors','RemovePivotField','getName','panel','batch','getSheets','custom','setRangeValueRedoMutation','colRanges','sheets-pivot.dateGroup.hour','getFieldById','name','resetArea','YearQuarter','sheets-pivot.cellDateGroupDisplay.yearMonth','triggerDirtyFeature','New','sheets-pivot.emptyPivot.column','2634shylnY','fieldIds','_initViewModelBySheetInterceptor','reset','updateConfigCache','_textInfo','executeCommand','varp','valuePosition','message','getCurrentSelections','_subjectCollectionChange','NUM','getFieldPositionInfoById','sheet.command.set-pivot-value-filter','_ensurePivotItemRenderValueMatrixCache','resetPivotTable','deleteField','_exclusiveRangeService','_updatePivotTableInstanceCache','setConfig','iterateFieldByArea','sheets-pivot.stdDevName','AddPivotTable','stringify','657780hwQIuX','getLastCol','next','query','registerSyncingMutations','_toJSON','dispose','Hour','_resourceManagerService','formJSON','lastCol','_localeService','max','dataFieldsCollection','colCount','_sheetsSelectionsService','_pivotTableMatrixInfo','updatePivotTableMatrixInfo','MqrgDWRr\x20HtgsxXDWRr(5Wgtrit,\x20Xql5Wg4tx)\x20{\x20\x20\x20\x20Dsx\x20{\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x205WgtritfrMRLYsDnssYx\x20=\x205Wgtrit.iX5WD(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20RsWyWrVtiiYyt\x20=\x20PeO9.XYsit(YDRl(5WgtritfrMRLYsDnssYx[c]));\x20\x20\x20\x20\x20\x20\x20\x20WM\x20(!RsWyWrVtiiYyt.qH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsWyWrVtiiYyt.qH\x20=\x209qFlts(5WgtritfrMRLYsDnssYx[z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20WimRsIts\x20=\x20DxXtRM\x20mRsIts75RlY5egRXt\x20!==\x20\x27qrHtMWrtH\x27\x20&&\x20it5M\x20WriDYrgtRM\x20mRsIts75RlY5egRXt;\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20gRrDtoD\x20=\x20WimRsIts\x20?\x20it5M\x20:\x208WrHR8;\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20FtiiYytmRsH\x20=\x20gRrDtoD.__bYit0z__.XYsit(5WgtritfrMRLYsDnssYx[c]);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20FtiiYyt\x20=\x20gRrDtoD.__Sto__.iDsWryWMx(FtiiYytmRsH);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20iWyrYDqstmRsH\x20=\x20gRrDtoD.__bYit0z__.XYsit(5WgtritfrMRLYsDnssYx[u]);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20iWyrYDqst\x20=\x20gRrDtoD.__Sto__.iDsWryWMx(iWyrYDqstmRsH);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20iWyrUY5WH\x20=\x20gRrDtoD.__atsWMx__(iWyrYDqst,\x20FtiiYyt,\x20Xql5Wg4tx);\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20HRFYWr\x20=\x20RsWyWrVtiiYyt.HF;\x20\x20\x20\x20\x20\x20\x20\x20MqrgDWRr\x20WiGRFYWrVYDg1Wry(RLYDDtsr,\x20RSRiD)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20XYDDtsr\x20=\x20RLYDDtsr.stX5Ygt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x201RiD\x20=\x20RSRiD.stX5Ygt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20XYDDtsrLYsDi\x20=\x20XYDDtsr.iX5WD(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x201RiDLYsDi\x20=\x201RiD.iX5WD(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WM\x20(!XYDDtsr.Wrg5qHti(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stDqsr\x20XYDDtsr\x20===\x201RiD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WM\x20(XYDDtsrLYsDi.5tryD1\x20<\x20c\x20||\x20XYDDtsrLYsDi[p]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stDqsr\x20MY5it;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20XYDDtsreqMMWo\x20=\x20XYDDtsrLYsDi.i5Wgt(h).ERWr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x201RiDeqMMWo\x20=\x201RiDLYsDi.i5Wgt(-XYDDtsrLYsDi.5tryD1\x20+\x20h).ERWr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stDqsr\x20XYDDtsreqMMWo\x20===\x201RiDeqMMWo;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205tD\x20HRFYWrUY5WH\x20=\x20(HRFYWr\x20&&\x20HRFYWr.5tryD1)\x20?\x20HRFYWr.iRFt((HFfDtF)\x20=>\x20WiGRFYWrVYDg1Wry(HFfDtF,\x205RgYDWRr.1RiDrYFt))\x20:\x20Dsqt;\x20\x20\x20\x20\x20\x20\x20\x20WM\x20(5RgYDWRr.1RiDrYFt\x20===\x20\x275RgY51RiD\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HRFYWrUY5WH\x20=\x20Dsqt;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20gRriD\x20aY5WH\x20=\x20iWyrUY5WH\x20&&\x20HRFYWrUY5WH;\x20\x20\x20\x20\x20\x20\x20\x20stDqsr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aY5WH,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FtiiYyt:\x20RsWyWrVtiiYyt,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20gYDg1\x20(tssRs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20stDqsr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aY5WH:\x20MY5it,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FtiiYyt:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','dataFieldManagerConfig','getPivotTableIdByCell','pageStyle','map','_activeDirtyManagerService','getTypeOfUnitDisposed$','sheets-pivot.grandTotal','concat','rowCount','iterateFieldDim','getOriginFieldId','entries','toJSON','dataFields','removeField','_pivotInitCompleted$','Year','COMMAND','call','getColCount','removeCollectionImp','getStyles','sheet.mutation.add-group-collection','rowHeaderMap','sheets-pivot.dateGroup.month','row','getMatrixValue','keys','charCodeAt','_generateUniqueVersion','20aHHQNa','_configVersion$','startCollectChangeset','sheet.mutation.remove-group-collection','body','YearMonth','originTargetInfo','asObservable','UpdateValuePosition','getFieldFormat','register','SetOptions','getCollection','getTargetByPivotId','tuple','addFieldWithSourceId','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheets.tabs.sheet','dataRangeInfo','getDirtyInfo','RemoveField','_initUnitDisposed','get','sheet.command.pivot-drill-down','sheet.command.add-pivot-field','areaInfo','setRange','needSameDeleteModel','startRow','intersects','level','getSheetBySheetName','COLUMN','sheet.mutation.update-pivot-table-source-range','setPivotSetting','getFilterInfo','cellValue','refreshDataField','getSheetId','updateAllDisplayName','_globalComputedEndHelpFunc','collectionConfig','dimension','format','Set','_initDataSendListener','width','sheet.mutation.add-pivot-table','_initRegisterCommand','count','pivotTableConfigs','result','subUnitId','updateFieldPosition','MovePivotField','setName','NotNumber','addDirtyPivotTable','SetPivotTableConfig','getUpdateRangeDeleteIds','_initCommandInterceptListener','rowFields','forRow','disposableCollection','removeValueFilterInfo','sheets-pivot.varpName','cornerStyle','SetPivotSort','registerDirtyService','getMatrixFromRunTimeData','updateRangeKeyMap','_ensureViewDataMap','sheets-pivot.emptyPivot.row','push','pbt','_markDirty$','_subjectFieldsCollectionChange','getSheetBySheetId','refreshGroupField','Date','rangeCache','pivotInitCompleted$','fieldsCollectionChange$','grandTotal','isColMultiMeasure','getLastRow','options','valid','sheet.command.update-date-group','getDataFieldManager','getSubUnitPivotMatrix','generateNewSheetName','tableFieldId','forValue','collectionChange$','prototype','STRING','new','reduce','getformat','delete','setDateType','NUMBER','getRangeKeyList','_viewData$','ΣValue','7521016KJzZNp','Sum\x20of\x20','Div0','getPivotTableCellData','string','blank','_sheetInterceptorService','col','onQueryEnd','getSubtotal','setLabelFilterInfo','_pivotTableRangeInfo','sheet.command.set-pivot-collapse','_requestResolvers','product','getFieldDataType','\x20-\x20','sheets-pivot.emptyPivot.values','Max\x20of\x20','_pivotRenderValueMatrixCache','sheets-pivot.dateGroup.yearMonthDate','REF','ResetPivotTable','getFormatInfo','getIndexesByPathStr','SetSubtotalType','broadcastCollectionChange','columnFields','#e6ebfa','AddField','existing','registerPluginResource','disposeWithMe','getTextInfo','SetValuePivotFilter','add','setRangeValueUndoMutation','None','subtotal','collapseInfo','values','sheet.command.move-pivot-field','addPivotTable','_refRangeHandle','viewData$','Values','deleteUnitId','_getAutoName','SHEET_PIVOT_TABLE_PLUGIN','subTotalStyle','initDataRanges','sheet.mutation.set-pivot-collapse','colStyle','_initSnapshot','displayName','_initClearSelectionCommandInterceptor','getDataFieldId','_sheetsPivotTableService','getRangeStartEndInfo','isValue','getDataFieldByRangeKey','from','getCellRaw','getFieldCountByArea','sheets-pivot.productName','setSortInfo','getPivotDirtyViewInfo','sheets-pivot.dateGroup.monthDate','single','removeValueFilterInfoByValueFieldId','3843KeGygg','onQueryStart','updateViewInfo','fontRenderExtension','_queryingMap','endRow','valueIndex','_init','createDataFieldId','Delete','workbook\x20is\x20not\x20found','shouldClear','rangeKey','_updateRenderEmptyCache','clearRenderCache','getTextSize','#e6ebfb','adjustSheetCellData','foreach','sheets-pivot.dateGroup.quarter','getNoUsedDataFieldIds','node','redos','value','sheet.mutation.set-pivot-format','filter','getDataFieldByDataFieldId','getActiveSheet','cornerInfo','rgb(255,255,255)','splice','#1d32e9','document','rgb(240,241,243)','Filter','_ensurePivotTableRangeInfo','asyncInterceptor','stdDevp','DIV_BY_ZERO','Quarter','unitId','replace','UpdateSource','sourceName','getTableFieldById','pivotTableId','NAME','#eceeff','sheet.mutation.pivot-update-field-position','find','sheet.mutation.rename-pivot-field','lastRow','unshift','NotFunction','Month','SetPivotFilter','_featureCalculationManagerService','getSortInfo','_createExclusiveRange','_configService','setCollapse','range','sheets-pivot.countName','headerMap','MAX_SAFE_INTEGER','sheet.mutation.send-pivot-data-local','forEach','493932RjWoPY','updateConfig','endCollectChangeset','column','removeCollections','getRefRangeMutationsByMoveRange','intercept','update','getFullYear','sheet.command.update-pivot-table-source-range'];_0x4667=function(){return _0x45c967;};return _0x4667();}function ht(_0x320efb,_0x4412d1,_0x40ffd4,_0x4bf520){const _0x137c10=_0x1e4666;let _0x12972c=_0x320efb['v'];_0x4412d1&&(_0x12972c=''+_0x4bf520['sheets-pivot.value']);const _0x787492=_0x320efb['t']&&(_0x320efb['t']&_0x2dd45c[_0x137c10(0x1f3)])>0x0;if(_0x787492&&(_0x12972c=''+_0x4bf520['sheets-pivot.blank']),_0x320efb['s']===_0x5896d6[_0x137c10(0x31a)]){let _0x77ba72=_0x12972c,_0x409480='';_0x2ec535(_0x12972c)&&(_0x77ba72=_0x12972c['prefix'],_0x409480=_0x12972c[_0x137c10(0x24b)]);const _0x2f1756=_0x40ffd4&&!_0x787492?_0x2926ae[_0x137c10(0x1af)](_0x40ffd4,Number(_0x77ba72)):_0x77ba72;_0x409480?_0x12972c=_0x2f1756+'\x20'+_0x409480:_0x12972c=_0x2f1756+'\x20'+_0x4bf520[_0x137c10(0x2fb)];}else _0x320efb['s']===_0x5896d6[_0x137c10(0x314)]&&(_0x12972c=_0x12972c+'\x20'+_0x4bf520[_0x137c10(0x16c)]);return _0x12972c;}function Bo(_0x2e22ce){const _0x34e5eb=_0x1e4666;if(_0x562aa4(_0x2e22ce)){const {errorType:_0x539a6a}=_0x2e22ce;switch(_0x539a6a){case _0x5ac7f3[_0x34e5eb(0x1f0)]:return _0x1860aa[_0x34e5eb(0x25a)];case _0x5ac7f3[_0x34e5eb(0x1bc)]:return _0x1860aa[_0x34e5eb(0x3c9)];case _0x5ac7f3[_0x34e5eb(0x269)]:return _0x1860aa[_0x34e5eb(0x262)];case _0x5ac7f3[_0x34e5eb(0x2e9)]:return _0x1860aa['NAME'];case _0x5ac7f3['BadReference']:return _0x1860aa[_0x34e5eb(0x203)];}}return _0x2e22ce;}function ge(_0x3d667c,_0x360f6a,_0x184cf4=!0x1,_0x182203=!0x1){const _0x3dbc16=_0x1e4666,{data:_0x194fb4}=_0x360f6a,_0x10cabd=_0x360f6a[_0x3dbc16(0x36d)](),_0x47e571=_0x360f6a[_0x3dbc16(0x179)]();if(_0x10cabd<=0x0||_0x47e571<=0x0)return[];const _0x226b0f=_0x360f6a[_0x3dbc16(0x3d7)](),_0x31e6e7=_0x360f6a[_0x3dbc16(0x1d9)](),_0x25a87c=_0x182203?_0x31e6e7>=0x0?_0x31e6e7+0x1:0x0:_0x10cabd,_0x405c05=_0x182203?_0x226b0f>=0x0?_0x226b0f+0x1:0x0:_0x47e571,{row:_0x2d8ec4,col:_0x1100f5}=_0x3d667c,_0x38048c=_0x2d8ec4,_0x2316e4=_0x1100f5;if(_0x184cf4){const _0x1f8c10=[];for(const [_0x5b8247,_0x312813]of Object[_0x3dbc16(0x171)](_0x194fb4))for(const [_0x9008d4,_0x29a4b8]of Object[_0x3dbc16(0x171)](_0x312813))_0x1f8c10[_0x3dbc16(0x1cd)](_0x44c758(_0x38048c+Number(_0x5b8247),_0x2316e4+Number(_0x9008d4)));return _0x1f8c10;}else{const _0x57218=_0x182203?_0x25a87c>0x0?0x1:0x0:0x1,_0x551c10=_0x182203?_0x405c05>0x0?0x1:0x0:0x1,_0x961324=_0x2d8ec4+_0x25a87c-_0x57218,_0x3bbfdd=_0x1100f5+_0x405c05-_0x551c10;return[{'startRow':_0x38048c,'startColumn':_0x2316e4,'endRow':_0x961324,'endColumn':_0x3bbfdd}];}}const q=_0x1e4666(0x39f),Wt=_0x1e4666(0x29a);var k=(_0x3c629c=>(_0x3c629c['Filter']=_0x1e4666(0x24d),_0x3c629c[_0x1e4666(0x2a9)]=_0x1e4666(0x3ae),_0x3c629c['AddPivotField']=_0x1e4666(0x39c),_0x3c629c[_0x1e4666(0x288)]=_0x1e4666(0x288),_0x3c629c[_0x1e4666(0x3d4)]='addPivotTable',_0x3c629c[_0x1e4666(0x1ba)]=_0x1e4666(0x32a),_0x3c629c[_0x1e4666(0x3ac)]=_0x1e4666(0x394),_0x3c629c[_0x1e4666(0x2e6)]=_0x1e4666(0x34e),_0x3c629c['SetPivotFilter']='setPivotFilter',_0x3c629c['SetPivotSort']=_0x1e4666(0x2c6),_0x3c629c[_0x1e4666(0x297)]=_0x1e4666(0x1a6),_0x3c629c[_0x1e4666(0x2c1)]=_0x1e4666(0x31f),_0x3c629c['UpdateValuePosition']=_0x1e4666(0x281),_0x3c629c[_0x1e4666(0x345)]='drillDown',_0x3c629c[_0x1e4666(0x210)]='setValuePivotFilter',_0x3c629c[_0x1e4666(0x1be)]=_0x1e4666(0x2cd),_0x3c629c[_0x1e4666(0x204)]=_0x1e4666(0x3cd),_0x3c629c))(k||{});const Mi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x1e4666(0x362),'sheets-pivot.grandTotalText':_0x1e4666(0x28a),'sheets-pivot.valueText':_0x1e4666(0x318),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x1e4666(0x338),'sheets-pivot.countNumsName':_0x1e4666(0x338),'sheets-pivot.maxName':_0x1e4666(0x200),'sheets-pivot.minName':_0x1e4666(0x37b),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x1e4666(0x32d),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x1e4666(0x1ef),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x1e4666(0x32b),'sheets-pivot.subTotal':_0x1e4666(0x31a),'sheets-pivot.grandTotal':_0x1e4666(0x28a),'sheets-pivot.value':_0x1e4666(0x24b),'sheets-pivot.blank':_0x1e4666(0x1f3),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x1e4666(0x353),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x1e4666(0x21b)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x17796d(_0x1e4666(0x31d)),$o=_0x3e5d49(_0x1e4666(0x3a7));var Le=(_0xc7feb4=>(_0xc7feb4[_0x1e4666(0x211)]=_0x1e4666(0x211),_0xc7feb4[_0x1e4666(0x1e8)]=_0x1e4666(0x1e8),_0xc7feb4[_0x1e4666(0x27e)]=_0x1e4666(0x27e),_0xc7feb4))(Le||{}),B=(_0xb228f4=>(_0xb228f4[_0x1e4666(0x3a0)]=_0x1e4666(0x211),_0xb228f4[_0x1e4666(0x1b0)]=_0x1e4666(0x321),_0xb228f4[_0x1e4666(0x23d)]=_0x1e4666(0x1e8),_0xb228f4))(B||{});const Yo={0x0:'6',0x1:'h',0x2:'T',0x3:'q',0x4:'K',0x5:'l',0x6:'E',0x7:'G',0x8:'w',0x9:'N','p':'0','h':'1','c':'2','u':'3','z':'4','A':'5','B':'7','K':'8','T':'9','Y':'a','l':'b','g':'c','H':'d','t':'e','M':'f','y':'g','W':'i','E':'j','I':'k','F':'m','r':'n','R':'o','X':'p','s':'r','i':'s','D':'t','q':'u','a':'v','o':'x','x':'y','Z':'z','n':'A','b':'B','C':'C','G':'D','j':'F','S':'H','f':'I','P':'J','w':'L','V':'M','O':'O','L':'P','v':'Q','N':'R','e':'S','k':'U','U':'V','m':'W','Q':'X','d':'Y','J':'Z'},Jo=_0x1e4666(0x165),ro={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x28e),'handler':()=>!0x0},lo={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x275),'handler':()=>!0x0},Dt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x359),'handler':()=>!0x0},co={'type':_0x99442f[_0x1e4666(0x291)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x99442f[_0x1e4666(0x291)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},wi=_0x419a75=>{const _0xd3f9d4=_0x1e4666;var _0x2cc99c;return((_0x2cc99c=_0x419a75[_0xd3f9d4(0x188)])==null?void 0x0:_0x2cc99c[_0xd3f9d4(0x355)][_0xd3f9d4(0x25d)](/\r\n$/,''))||'';};class _i extends _0x588987{constructor(_0x540b2d,_0x1a8b9c){const _0x34a2a3=_0x1e4666;super(),V(this,'rangeKeyMap',{}),V(this,_0x34a2a3(0x2d2)),V(this,_0x34a2a3(0x332)),(this[_0x34a2a3(0x2d2)]=_0x1a8b9c,this[_0x34a2a3(0x332)]=_0x540b2d);}[_0x1e4666(0x220)](){const _0x208c3b=_0x1e4666;for(const _0x5986a2 in this[_0x208c3b(0x173)]){const _0x5b1744=this[_0x208c3b(0x173)][_0x5986a2],_0x338456=_0x5b1744[_0x208c3b(0x348)]();this[_0x208c3b(0x2b4)][_0x338456]=_0x5b1744['getId']();}}[_0x1e4666(0x388)](){const _0x42d0d0=_0x1e4666,_0x44850c=this[_0x42d0d0(0x332)];return xi['bind'](_0x44850c);}[_0x1e4666(0x398)](_0x2298be){const _0x1f5ca7=_0x1e4666,_0x3a95b4=this[_0x1f5ca7(0x173)][_0x2298be][_0x1f5ca7(0x240)];delete this[_0x1f5ca7(0x173)][_0x2298be],delete this[_0x1f5ca7(0x2b4)][_0x3a95b4];}[_0x1e4666(0x36f)](_0x20db9e){const _0x194414=_0x1e4666;this[_0x194414(0x173)][_0x20db9e[_0x194414(0x300)]()]=_0x20db9e;}[_0x1e4666(0x17a)](_0x20c035){const _0x355af2=_0x1e4666;var _0x1f1eb7,_0x1e59cd;const _0x4039f9=this[_0x355af2(0x332)]['getTargetByPivotId'](_0x20c035);if(_0x4039f9){const {unitId:_0x3fab6d,subUnitId:_0x1aca59}=_0x4039f9,_0x5ce99e=(_0x1f1eb7=this[_0x355af2(0x332)][_0x355af2(0x39d)](_0x3fab6d,_0x1aca59,_0x20c035))==null?void 0x0:_0x1f1eb7['sourceRangeInfo'];this[_0x355af2(0x332)][_0x355af2(0x208)]({'token':_0x20c035,'type':Le[_0x355af2(0x1e8)],'dataRangeInfo':_0x5ce99e});}(_0x1e59cd=this[_0x355af2(0x190)](_0x20c035))==null||_0x1e59cd['dispose'](),delete this['collections'][_0x20c035];}[_0x1e4666(0x348)](_0x458a1c,_0xdc4bc8){const {sheetName:_0x5bc054,unitId:_0x177fe8,range:_0x1717dd}=_0x458a1c,{startRow:_0x5f1b37,endRow:_0x5ed8af}=_0x1717dd;return _0x389196(_0x177fe8,_0x5bc054,{'startRow':_0x5f1b37,'endRow':_0x5ed8af,'startColumn':_0xdc4bc8,'endColumn':_0xdc4bc8});}['getDataFieldByRangeKey'](_0x18c07a){const _0x573f05=_0x1e4666;return this['dataFields'][this[_0x573f05(0x2b4)][_0x18c07a]];}['setRangeKeyMap'](_0x2884d1,_0x15716b){const _0x44d854=_0x1e4666;this[_0x44d854(0x2b4)][_0x2884d1]=_0x15716b;}['updateRangeKeyMap'](_0x1e76f8,_0x41130f){const _0x23d1ec=_0x1e4666;this[_0x23d1ec(0x2b4)][_0x41130f]=this[_0x23d1ec(0x2b4)][_0x1e76f8],delete this[_0x23d1ec(0x2b4)][_0x1e76f8];}[_0x1e4666(0x2ed)](_0x20ed39,_0x58ac82,_0x3a72bf,_0x6d7345){const _0x1ed545=_0x1e4666,_0x31bbbf=new _0x426d65(this);_0x31bbbf[_0x1ed545(0x29d)](_0x58ac82);const _0x21ee18=[];let _0x2a7c84=0x0;for(const _0x22ded6 of _0x31bbbf['fieldIds']){const _0x32fbf7=this[_0x1ed545(0x348)](_0x3a72bf,_0x2a7c84),_0x1bf9bc=this['dataFields'][_0x22ded6];_0x1bf9bc&&(_0x1bf9bc[_0x1ed545(0x240)]=_0x32fbf7,this['setRangeKeyMap'](_0x32fbf7,_0x22ded6),_0x21ee18['push']({'index':_0x2a7c84,'dataField':_0x1bf9bc})),_0x2a7c84++;}return this[_0x1ed545(0x390)](_0x20ed39,_0x31bbbf,_0x3a72bf,_0x6d7345),{'collection':_0x31bbbf,'updateDataFieldList':_0x21ee18};}[_0x1e4666(0x228)](_0x45f900,_0x39d74c){const _0x1b9ab0=_0x1e4666;return _0x45f900['rangeType']===_0x202cc7[_0x1b9ab0(0x1a4)]?{'startRow':0x0,'startColumn':_0x45f900[_0x1b9ab0(0x2c3)],'endRow':_0x39d74c[_0x1b9ab0(0x36d)]()-0x1,'endColumn':_0x45f900[_0x1b9ab0(0x38a)]}:{'startRow':_0x45f900[_0x1b9ab0(0x1a0)],'startColumn':_0x45f900[_0x1b9ab0(0x2c3)],'endRow':_0x45f900['endRow'],'endColumn':_0x45f900['endColumn']};}['createCollectionWithDataRange'](_0x19b53b){const _0x3ff025=_0x1e4666,{sheetName:_0x21618f,range:_0xaecd92}=_0x19b53b,_0x302475=this[_0x3ff025(0x2d2)][_0x3ff025(0x2f4)](_0x5c8370[_0x3ff025(0x392)]),_0xd80621=_0x302475[_0x3ff025(0x1a3)](_0x21618f),_0x9164a5=_0xd80621[_0x3ff025(0x30d)](),{startColumn:_0x2d4503,startRow:_0x521298,endColumn:_0x245bbd}=this[_0x3ff025(0x228)](_0xaecd92,_0xd80621),_0x453628=_0x302475['getStyles'](),_0x4adbc3=new _0x426d65(this);_0x4adbc3[_0x3ff025(0x19e)](_0x19b53b);const _0x566a70=[],_0x2394fb={};for(let _0x288d6a=_0x2d4503;_0x288d6a<=_0x245bbd;_0x288d6a++){const _0x4e2f6c=_0x9164a5['getValue'](_0x521298,_0x288d6a),_0xcc1a43=this[_0x3ff025(0x348)](_0x19b53b,_0x288d6a),_0x31b3d7=this[_0x3ff025(0x22a)](_0xcc1a43);if(_0x31b3d7)_0x4adbc3[_0x3ff025(0x2ac)](_0x31b3d7[_0x3ff025(0x300)](),_0x31b3d7['getName']());else{const _0xebdaa6=this[_0x3ff025(0x23c)]();let _0x19e55d=this['adjustSheetCellData'](_0x4e2f6c,_0x453628,_0x2394fb);_0x15bee7(_0x19e55d)&&(_0x19e55d=_0x2926ae[_0x3ff025(0x1af)](_0x19e55d['f'],Number(_0x19e55d['v'])));const _0x3453be=this[_0x3ff025(0x385)](_0x19e55d,_0x288d6a),_0xe08528=new _0x3a3b05(_0xebdaa6,_0x3453be,_0x31e0e1(0x3));_0xe08528[_0x3ff025(0x240)]=_0xcc1a43,this[_0x3ff025(0x173)][_0xebdaa6]=_0xe08528,_0x4adbc3[_0x3ff025(0x2ac)](_0xebdaa6,_0x3453be),_0x566a70[_0x3ff025(0x1cd)]({'index':_0x288d6a,'dataField':_0xe08528});}}return{'updateDataFieldList':_0x566a70,'collection':_0x4adbc3};}[_0x1e4666(0x21d)](_0x4afe52){const _0x4da16e=_0x1e4666;return this[_0x4da16e(0x332)][_0x4da16e(0x20f)]()['sheets-pivot.columnName']+'\x20'+_0xfd101c(_0x4afe52);}[_0x1e4666(0x385)](_0x38e307,_0x143ed8){const _0x30f60c=_0x1e4666;return _0x38e307==null||_0x38e307===''?this[_0x30f60c(0x21d)](_0x143ed8):String(_0x38e307);}['getCollection'](_0x3128f8){return this['collections'][_0x3128f8];}[_0x1e4666(0x390)](_0x4cf2fa,_0x107ec9,_0x1436cd,_0x38b11e){const _0x1b8048=_0x1e4666;this['collections'][_0x4cf2fa]=_0x107ec9,_0x107ec9[_0x1b8048(0x19e)](_0x1436cd),this['_host']['broadcastCollectionChange']({'token':_0x4cf2fa,'type':Le['add'],'dataRangeInfo':_0x1436cd,'targetCellInfo':_0x38b11e});}[_0x1e4666(0x2bf)](_0x1320ed,_0x127fb2){const _0x369a66=_0x1e4666,_0x317c88=this[_0x369a66(0x190)](_0x1320ed),_0x1d8cf5=_0x317c88['getFieldIds']();let _0x29daf8=0x0;for(const _0xec6a97 of _0x1d8cf5){const _0x2393cf=_0x317c88['getFieldById'](_0xec6a97),_0xe6f27b=this[_0x369a66(0x348)](_0x127fb2,_0x29daf8);this[_0x369a66(0x1ca)](_0x2393cf[_0x369a66(0x240)],_0xe6f27b),_0x29daf8++;}}[_0x1e4666(0x230)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x48c069,_0x2dbd94){const _0x222ffe=_0x1e4666;if(this[_0x222ffe(0x190)](_0x48c069)){const _0x3432bb=this[_0x222ffe(0x1eb)](_0x2dbd94),_0x4339b0=[];for(const _0x320bde of _0x3432bb)this[_0x222ffe(0x2b4)][_0x320bde]!==void 0x0&&_0x4339b0[_0x222ffe(0x1cd)](this[_0x222ffe(0x2b4)][_0x320bde]);const _0x4812c3=this[_0x222ffe(0x248)](_0x48c069),_0x4cde54=[],_0x359701=new Set(_0x4339b0);for(const _0x1a5b2d of _0x4812c3)_0x359701[_0x222ffe(0x2b7)](_0x1a5b2d)||_0x4cde54['push'](_0x1a5b2d);return _0x4cde54;}}[_0x1e4666(0x180)](_0xba0efb,_0xd63f2e,_0x2c9a31,_0x31be2f,_0x374f9c){const _0x1546cd=_0x1e4666;return _0xd63f2e&&_0xd63f2e[_0x1546cd(0x35f)](_0x31be2f,_0x374f9c)?_0xd63f2e[_0x1546cd(0x35f)](_0x31be2f,_0x374f9c):_0x2c9a31&&_0x2c9a31[_0x1546cd(0x35f)](_0x31be2f,_0x374f9c)?_0x2c9a31[_0x1546cd(0x35f)](_0x31be2f,_0x374f9c):_0xba0efb[_0x1546cd(0x35f)](_0x31be2f,_0x374f9c);}[_0x1e4666(0x1a9)](_0x3cf2ac,_0x2716b9,_0x5a627e,_0x147035){const _0x89c5e8=_0x1e4666,_0x43b070=this[_0x89c5e8(0x173)][_0x3cf2ac];if(!_0x43b070)return;const {subUnitId:_0x51a783,range:_0x6747f8,unitId:_0x477de4}=_0x2716b9,_0xc58733=this[_0x89c5e8(0x2d2)][_0x89c5e8(0x317)](_0x477de4);if(!_0xc58733){console[_0x89c5e8(0x366)](_0x89c5e8(0x23e));return;}const _0x201738=_0xc58733[_0x89c5e8(0x1d1)](_0x51a783),_0x3fa7c2=_0x201738[_0x89c5e8(0x30d)](),{arrayFormulaCellDataMatrix:_0x25c491,unitDataMatrix:_0xb738b1}=_0x147035||{},{startRow:_0x4029f5,startColumn:_0x37ae46,endRow:_0x59ed79}=this[_0x89c5e8(0x228)](_0x6747f8,_0x201738);_0x43b070[_0x89c5e8(0x3c0)]();const _0x5b8081=_0xc58733[_0x89c5e8(0x17b)](),_0x230093={},_0x44448a=this['getMatrixValue'](_0x3fa7c2,_0x25c491,_0xb738b1,_0x4029f5,_0x37ae46+_0x5a627e);let _0x545560=this['adjustSheetCellData'](_0x44448a,_0x5b8081,_0x230093);_0x15bee7(_0x545560)&&(_0x545560=_0x2926ae[_0x89c5e8(0x1af)](_0x545560['f'],Number(_0x545560['v'])));const _0x46d4c4=this[_0x89c5e8(0x385)](_0x545560,_0x37ae46+_0x5a627e);_0x43b070['setName'](_0x46d4c4);for(let _0x559b12=_0x4029f5+0x1;_0x559b12<=_0x59ed79;_0x559b12++){const _0x4af65d=this[_0x89c5e8(0x180)](_0x3fa7c2,_0x25c491,_0xb738b1,_0x559b12,_0x37ae46+_0x5a627e);_0x43b070[_0x89c5e8(0x371)](this[_0x89c5e8(0x245)](_0x4af65d,_0x5b8081,_0x230093),_0x559b12-0x1-_0x4029f5);}}[_0x1e4666(0x311)](_0x59c23d,_0x44ae98,_0x1c7984){const _0x2ef4c7=_0x1e4666,{subUnitId:_0x378fd2,range:_0x53038f,unitId:_0x2b453c}=_0x1c7984,_0x43483d=this[_0x2ef4c7(0x2d2)][_0x2ef4c7(0x317)](_0x2b453c);if(!_0x43483d){console[_0x2ef4c7(0x366)](_0x2ef4c7(0x23e));return;}const _0x10b921=_0x43483d[_0x2ef4c7(0x1d1)](_0x378fd2),_0xf42ab4=_0x10b921[_0x2ef4c7(0x30d)](),{startRow:_0x37cbf1,startColumn:_0x41a76b,endRow:_0x5be04d}=this['getRangeStartEndInfo'](_0x53038f,_0x10b921),_0x2631df=_0x43483d[_0x2ef4c7(0x17b)](),_0x7a3284={};for(const {dataField:_0x4b1384,index:_0x4c55e3}of _0x44ae98){_0x4b1384[_0x2ef4c7(0x3c0)]();const _0x499715=this[_0x2ef4c7(0x180)](_0xf42ab4,void 0x0,void 0x0,_0x37cbf1,_0x41a76b+_0x4c55e3);let _0x445559=this['adjustSheetCellData'](_0x499715,_0x2631df,_0x7a3284);_0x15bee7(_0x445559)&&(_0x445559=_0x2926ae[_0x2ef4c7(0x1af)](_0x445559['f'],Number(_0x445559['v'])));const _0x4ec62b=this[_0x2ef4c7(0x385)](_0x445559,_0x41a76b+_0x4c55e3);_0x4b1384[_0x2ef4c7(0x1bb)](_0x4ec62b);}_0x59c23d[_0x2ef4c7(0x1ab)]();for(let _0x1dedd4=_0x37cbf1+0x1;_0x1dedd4<=_0x5be04d;_0x1dedd4++)for(const {index:_0x3b14dc,dataField:_0x21b6c7}of _0x44ae98){const _0x5ca246=_0xf42ab4[_0x2ef4c7(0x35f)](_0x1dedd4,_0x41a76b+_0x3b14dc);_0x21b6c7['addRecord'](this[_0x2ef4c7(0x245)](_0x5ca246,_0x2631df,_0x7a3284),_0x1dedd4-0x1-_0x37cbf1);}_0x59c23d[_0x2ef4c7(0x34c)](_0x5be04d-_0x37cbf1);}[_0x1e4666(0x1eb)](_0x3e43f1){const _0x39af34=_0x1e4666,{range:_0x4cfede}=_0x3e43f1,{startColumn:_0x231f86,endColumn:_0x5d64a1}=_0x4cfede,_0x2a83c9=[];for(let _0x599538=_0x231f86;_0x599538<=_0x5d64a1;_0x599538++)_0x2a83c9[_0x39af34(0x1cd)](this['getRangeKey'](_0x3e43f1,_0x599538));return _0x2a83c9;}[_0x1e4666(0x245)](_0x4f01ac,_0x47ba8f,_0x4cb950){const _0x3e962e=_0x1e4666;if(_0x4f01ac){const {s:_0x442f67,v:_0x3ade60,t:_0x5c813c,p:_0x4c0d35}=_0x4f01ac;if(_0x4c0d35)return wi(_0x4c0d35);const _0x5cd368=_0x47ba8f[_0x3e962e(0x19a)](_0x442f67);if(_0x5cd368&&_0x5c813c===_0x31491c[_0x3e962e(0x1ea)]&&_0x5cd368['n']){const {pattern:_0x1c83f0}=_0x5cd368['n'];_0x4cb950[_0x1c83f0]||(_0x4cb950[_0x1c83f0]=_0x2926ae[_0x3e962e(0x205)](_0x1c83f0));const _0x408fbf=_0x4cb950[_0x1c83f0],_0x582467=_0x408fbf['isDate'];if(_0x408fbf[_0x3e962e(0x284)])return String(_0x3ade60);if(_0x582467)return{'v':_0x3ade60,'f':_0x1c83f0};}if(_0x5c813c===_0x31491c['NUMBER'])return Number(_0x3ade60);if(_0x5c813c===_0x31491c[_0x3e962e(0x1e4)]||_0x5c813c===_0x31491c[_0x3e962e(0x341)])return String(_0x3ade60);if(_0x5c813c===void 0x0){const _0x136b56=Number(_0x3ade60);if(!Number[_0x3e962e(0x2c2)](_0x136b56)&&String(_0x136b56)===_0x3ade60)return _0x136b56;}return _0x3ade60!=null?_0x3ade60:null;}else return null;}[_0x1e4666(0x331)](_0xc8a139){const _0x23cea1=_0x1e4666,{sheetName:_0x6feb5f,range:_0x2d018e,unitId:_0x22693a}=_0xc8a139,_0x481026=this[_0x23cea1(0x2d2)][_0x23cea1(0x317)](_0x22693a);if(!_0x481026)return console['error'](_0x23cea1(0x23e)),{'header':[],'data':[]};const _0x7b632=_0x481026[_0x23cea1(0x1a3)](_0x6feb5f),_0x248da9=_0x7b632['getCellMatrix'](),{startRow:_0x47babf,startColumn:_0x40f530,endRow:_0x2de24a,endColumn:_0x5601ed}=this[_0x23cea1(0x228)](_0x2d018e,_0x7b632),_0x1ae034=_0x481026['getStyles'](),_0x5dc534=[],_0x2081e5=[],_0x5a8a52={};for(let _0x39ddc6=_0x47babf;_0x39ddc6<=_0x2de24a;_0x39ddc6++){const _0x18d965=[];for(let _0x496a35=_0x40f530;_0x496a35<=_0x5601ed;_0x496a35++){const _0xec3bda=_0x248da9[_0x23cea1(0x35f)](_0x39ddc6,_0x496a35);_0x39ddc6===_0x47babf?_0x5dc534[_0x23cea1(0x1cd)](_0xec3bda==null?null:String(_0xec3bda['v'])):_0x18d965[_0x23cea1(0x1cd)](this[_0x23cea1(0x245)](_0xec3bda,_0x1ae034,_0x5a8a52));}_0x2081e5['push'](_0x18d965);}return{'header':_0x5dc534,'data':_0x2081e5};}[_0x1e4666(0x172)](){const _0x43025d=_0x1e4666;return super[_0x43025d(0x172)]();}[_0x1e4666(0x29d)](_0x17cd2f){const _0x35afe5=_0x1e4666;super[_0x35afe5(0x29d)](_0x17cd2f),this[_0x35afe5(0x220)]();}[_0x1e4666(0x3dc)](){const _0x1de0f4=_0x1e4666;super['dispose'](),this['rangeKeyMap']={},this[_0x1de0f4(0x332)]=null;}}const Ri=_0x3f79f8=>{const _0x690ada=_0x1e4666,{targetCellInfo:_0x8b5923}=_0x3f79f8,{matrixCache:_0xbd0954,rangesCache:_0x24512f}=Go({'filter':_0x690ada(0x256),'row':'Row','column':_0x690ada(0x363),'values':'Values'},_0x8b5923),_0x249207=new _0x1b3fd2();return _0xbd0954[_0x690ada(0x1e1)]((_0x2c70a1,_0x1b556a,_0x340303)=>{const _0x5eb59d=_0x690ada;_0x249207[_0x5eb59d(0x2a7)](_0x2c70a1,_0x1b556a,_0x340303);}),{'matrix':_0x249207,'rangesCache':_0x24512f};},st=_0x4bcfe2=>{const _0x592662=_0x1e4666;let _0xe20a7f;if(_0x4bcfe2!=null&&_0x4bcfe2['v']||(_0x4bcfe2==null?void 0x0:_0x4bcfe2['v'])===0x0){_0xe20a7f||(_0xe20a7f={});const _0x19fd6f=Bo(_0x4bcfe2['v']);typeof _0x19fd6f==_0x592662(0x35c)?_0xe20a7f['t']=_0x31491c[_0x592662(0x1ea)]:typeof _0x19fd6f=='string'&&(_0xe20a7f['t']=_0x31491c[_0x592662(0x1e4)]),_0xe20a7f['v']=_0x19fd6f;}return _0xe20a7f;},Fi=(_0x1d220f,_0x367aea,_0x4e7ce8)=>{const _0x36e2c8=_0x1e4666;var _0x2960f8,_0xadb6e1,_0x139b9b,_0x43f495,_0x3b9458,_0x250f2c,_0x2cb116,_0x137e6f,_0x28080a,_0x85fcbc,_0x26a911,_0x325f38;const {cornerView:_0x161e4e,rowView:_0x41a6b0,colView:_0x4b54c1,dataView:_0x31942d,pageView:_0x419691,formatMap:_0x48a1ad}=_0x1d220f,{row:_0x2d7bc6,col:_0x2138c6}=_0x367aea,_0x3edc9b=new _0x1b3fd2();let _0x24a04e=_0x2d7bc6,_0x37554b=_0x2138c6;Object[_0x36e2c8(0x181)](_0x419691['data'])['forEach'](_0x462a25=>{const _0x4e1760=_0x36e2c8;Object[_0x4e1760(0x181)](_0x419691['data'][Number(_0x462a25)])['forEach'](_0x25c3b4=>{const _0x244f24=_0x4e1760,_0x582f3a={..._0x419691[_0x244f24(0x2b6)][Number(_0x462a25)][Number(_0x25c3b4)]};_0x3edc9b[_0x244f24(0x2a7)](Number(_0x462a25)+_0x24a04e,Number(_0x25c3b4)+_0x37554b,st(_0x582f3a));});});const _0x57b107=Object[_0x36e2c8(0x181)](_0x419691[_0x36e2c8(0x2b6)])[_0x36e2c8(0x337)];_0x24a04e+=_0x57b107+(_0x57b107?It:0x0);const _0x1801e9=_0x161e4e[_0x36e2c8(0x36d)](),_0x3965f8=_0x161e4e['getColCount']();for(let _0x28b438=0x0;_0x28b438<_0x1801e9;_0x28b438++)for(let _0x4dd398=0x0;_0x4dd398<_0x3965f8;_0x4dd398++){const _0x18482c={...(_0xadb6e1=(_0x2960f8=_0x161e4e['data'])==null?void 0x0:_0x2960f8[_0x28b438])==null?void 0x0:_0xadb6e1[_0x4dd398]};_0x18482c&&((_0x139b9b=_0x41a6b0[_0x36e2c8(0x273)][_0x4dd398])!=null&&_0x139b9b[_0x36e2c8(0x229)])&&_0x4dd398===_0x3965f8-0x1&&_0x28b438===_0x1801e9-0x1&&(_0x18482c['v']=''+_0x4e7ce8[_0x36e2c8(0x2ad)]),_0x3edc9b[_0x36e2c8(0x2a7)](_0x28b438+_0x24a04e,_0x4dd398+_0x37554b,st(_0x18482c));}_0x37554b+=_0x3965f8;const _0x5d4891=_0x4b54c1[_0x36e2c8(0x273)],_0x555485=_0x4b54c1[_0x36e2c8(0x1d9)]()>=0x0?_0x4b54c1[_0x36e2c8(0x1d9)]()+0x1:0x0,_0x609d92=_0x4b54c1[_0x36e2c8(0x3d7)]()>=0x0?_0x4b54c1['getLastCol']()+0x1:0x0;for(let _0x1e9948=0x0;_0x1e9948<_0x609d92;_0x1e9948++)for(let _0x1a0c77=0x0;_0x1a0c77<_0x555485;_0x1a0c77++){const _0x13fee2={...(_0x3b9458=(_0x43f495=_0x4b54c1[_0x36e2c8(0x2b6)])==null?void 0x0:_0x43f495[_0x1e9948])==null?void 0x0:_0x3b9458[_0x1a0c77]},_0x45c695=(_0x250f2c=_0x5d4891[_0x1e9948])==null?void 0x0:_0x250f2c[_0x36e2c8(0x1e0)],_0x374cee=_0x48a1ad[_0x45c695];_0x13fee2&&(_0x13fee2['v']=ht(_0x13fee2,_0x1e9948===0x0&&((_0x2cb116=_0x4b54c1['getHeaderMapItem'](_0x1a0c77+0x1))==null?void 0x0:_0x2cb116[_0x36e2c8(0x229)]),_0x374cee,_0x4e7ce8)),_0x3edc9b[_0x36e2c8(0x2a7)](_0x1e9948+_0x24a04e,_0x1a0c77+_0x37554b,st(_0x13fee2));}_0x24a04e+=_0x1801e9;const _0x386bb7=_0x41a6b0['headerMap'],_0x35f37e=_0x41a6b0['getLastRow']()>=0x0?_0x41a6b0['getLastRow']()+0x1:0x0,_0x49f860=_0x41a6b0['getLastCol']()>=0x0?_0x41a6b0['getLastCol']()+0x1:0x0;for(let _0x917bfc=0x0;_0x917bfc<_0x35f37e;_0x917bfc++)for(let _0x2deda4=0x0;_0x2deda4<_0x49f860;_0x2deda4++){const _0x4cd27c={...(_0x28080a=(_0x137e6f=_0x41a6b0[_0x36e2c8(0x2b6)])==null?void 0x0:_0x137e6f[_0x917bfc])==null?void 0x0:_0x28080a[_0x2deda4]},_0x51dc8a=(_0x85fcbc=_0x386bb7[_0x2deda4])==null?void 0x0:_0x85fcbc[_0x36e2c8(0x1e0)],_0x2e6fe8=_0x48a1ad[_0x51dc8a];_0x4cd27c&&(_0x4cd27c['v']=ht(_0x4cd27c,!0x1,_0x2e6fe8,_0x4e7ce8)),_0x3edc9b['setValue'](_0x917bfc+_0x24a04e,_0x2deda4+_0x2138c6,st(_0x4cd27c));}const _0x3f3be8=_0x31942d[_0x36e2c8(0x36d)](),_0x5c1793=_0x31942d['getColCount']();for(let _0x54139a=0x0;_0x54139a<_0x3f3be8;_0x54139a++)for(let _0x3bd353=0x0;_0x3bd353<_0x5c1793;_0x3bd353++){const _0xb8c13a={...(_0x325f38=(_0x26a911=_0x31942d[_0x36e2c8(0x2b6)])==null?void 0x0:_0x26a911[_0x54139a])==null?void 0x0:_0x325f38[_0x3bd353]};_0x3edc9b['setValue'](_0x54139a+_0x24a04e,_0x3bd353+_0x37554b,st(_0xb8c13a));}return _0x3edc9b;},Di=_0x10ff53=>{const _0x19f63a=_0x1e4666,{view:_0x12abd9,targetCellInfo:_0x59a688,isEmpty:_0x15b352,textInfo:_0xb61a6d}=_0x10ff53;if(_0x15b352)return Ri(_0x10ff53);const {pageView:_0x38851d,cornerView:_0x322cd1,rowView:_0x459f7c,colView:_0x2988e4,dataView:_0x419604}=_0x12abd9,_0x32f9cf=ge(_0x59a688,_0x38851d,!0x0),_0x2feb95=_0x38851d[_0x19f63a(0x267)]>=0x0?_0x38851d[_0x19f63a(0x267)]+0x1:0x0,_0x3389a6=_0x322cd1[_0x19f63a(0x36d)](),_0x4c1934=_0x322cd1[_0x19f63a(0x179)](),_0x36cf92=_0x32f9cf[_0x19f63a(0x337)]>0x0?It:0x0,_0x56fafd=ge({'row':_0x59a688[_0x19f63a(0x17f)]+_0x2feb95+_0x36cf92,'col':_0x59a688[_0x19f63a(0x1f5)]},_0x322cd1,!0x1,!0x1),_0x4c6b77=ge({'row':_0x59a688[_0x19f63a(0x17f)]+_0x2feb95+_0x36cf92+_0x3389a6,'col':_0x59a688[_0x19f63a(0x1f5)]},_0x459f7c,!0x1,!0x0),_0x12f740=ge({'row':_0x59a688[_0x19f63a(0x17f)]+_0x2feb95+_0x36cf92,'col':_0x59a688[_0x19f63a(0x1f5)]+_0x4c1934},_0x2988e4,!0x1,!0x0),_0xc48a4c=ge({'row':_0x59a688[_0x19f63a(0x17f)]+_0x2feb95+_0x36cf92+_0x3389a6,'col':_0x59a688[_0x19f63a(0x1f5)]+_0x4c1934},_0x419604,!0x1,!0x1),_0x4abdda={'rowRanges':_0x4c6b77,'colRanges':_0x12f740,'cornerRanges':_0x56fafd,'dataRanges':_0xc48a4c,'pageRanges':_0x32f9cf};return{'matrix':Fi(_0x12abd9,_0x59a688,_0xb61a6d),'rangesCache':_0x4abdda};};var Ni=Object[_0x1e4666(0x30c)],Ui=(_0x562c5c,_0x1523ba,_0x11f94a,_0x2041a6)=>{const _0x26e077=_0x1e4666;for(var _0x302de3=_0x2041a6>0x1?void 0x0:_0x2041a6?Ni(_0x1523ba,_0x11f94a):_0x1523ba,_0x426e03=_0x562c5c[_0x26e077(0x337)]-0x1,_0x82134;_0x426e03>=0x0;_0x426e03--)(_0x82134=_0x562c5c[_0x426e03])&&(_0x302de3=_0x82134(_0x302de3)||_0x302de3);return _0x302de3;},je=(_0xeed4d3,_0x444801)=>(_0x3fc96d,_0x3d7b4d)=>_0x444801(_0x3fc96d,_0x3d7b4d,_0xeed4d3);let $=class extends _0x21cbed{constructor(_0x94618f,_0x3c839a,_0x33d723,_0x380e12,_0x384a03,_0x3443a4){const _0xbc38c4=_0x1e4666;super(),V(this,'_model',new Map()),V(this,_0xbc38c4(0x386),new Map()),V(this,_0xbc38c4(0x2b1),new Map()),V(this,_0xbc38c4(0x3c2)),V(this,_0xbc38c4(0x34f),new _0x4e2983()),V(this,'collectionChange$',this[_0xbc38c4(0x34f)][_0xbc38c4(0x18b)]()),V(this,_0xbc38c4(0x1ec),new _0x4e2983()),V(this,_0xbc38c4(0x21a),this[_0xbc38c4(0x1ec)]['asObservable']()),V(this,_0xbc38c4(0x34b),new _0x4e2983()),V(this,_0xbc38c4(0x1d6),this[_0xbc38c4(0x34b)]['asObservable']()),V(this,_0xbc38c4(0x380),new Map()),V(this,_0xbc38c4(0x19f),[]),V(this,_0xbc38c4(0x238),new Map()),(this[_0xbc38c4(0x2ca)]=_0x94618f,this[_0xbc38c4(0x2d2)]=_0x3c839a,this['_lifecycleService']=_0x33d723,this[_0xbc38c4(0x26f)]=_0x380e12,this['_commandService']=_0x384a03,this[_0xbc38c4(0x3de)]=_0x3443a4,this[_0xbc38c4(0x223)]());}[_0x1e4666(0x20f)](){const _0x12b970=_0x1e4666;return this[_0x12b970(0x3c2)]?this[_0x12b970(0x3c2)]:Mi;}[_0x1e4666(0x307)](_0x15117d){this['_textInfo']=_0x15117d;}[_0x1e4666(0x2bf)](_0x17e951){const _0x4096af=_0x1e4666;var _0x3ecba1;const {from:_0x5aedb8,to:_0x27918a,unitId:_0x693c2f,fromRange:_0x7bc6bf,toRange:_0x511178}=_0x17e951;if(_0x5aedb8&&_0x27918a){const _0x569aaf=this[_0x4096af(0x1dd)](_0x693c2f),_0x144b73=this[_0x4096af(0x290)][_0x4096af(0x19a)](_0x693c2f),_0x561fa7=(_0x3ecba1=this[_0x4096af(0x2d2)][_0x4096af(0x317)](_0x693c2f))==null?void 0x0:_0x3ecba1[_0x4096af(0x1d1)](_0x27918a['subUnitId']);if(!_0x144b73||!_0x561fa7)return;const _0x2786dc=_0x561fa7==null?void 0x0:_0x561fa7[_0x4096af(0x3ad)]();for(const [_0x5144fa,_0x4dea11]of _0x144b73[_0x4096af(0x171)]())for(const [_0x56ae30,_0x1e0f3f]of _0x4dea11[_0x4096af(0x171)]()){const {sourceRangeInfo:_0x588281}=_0x1e0f3f;if(_0x588281[_0x4096af(0x25c)]===_0x693c2f&&_0x588281[_0x4096af(0x1b8)]===_0x5aedb8['subUnitId']&&_0x100b6c[_0x4096af(0x33f)](_0x7bc6bf,_0x588281['range'])){const _0x1d1a2e={'row':_0x588281['range']['startRow']-_0x7bc6bf['startRow'],'col':_0x588281[_0x4096af(0x271)][_0x4096af(0x2c3)]-_0x7bc6bf[_0x4096af(0x2c3)]},_0xc0cd93={'unitId':_0x693c2f,'subUnitId':_0x27918a['subUnitId'],'sheetName':_0x2786dc,'range':{'startRow':_0x511178[_0x4096af(0x1a0)]+_0x1d1a2e[_0x4096af(0x17f)],'endRow':_0x511178['startRow']+_0x1d1a2e[_0x4096af(0x17f)]+_0x588281[_0x4096af(0x271)][_0x4096af(0x239)]-_0x588281[_0x4096af(0x271)][_0x4096af(0x1a0)],'startColumn':_0x511178[_0x4096af(0x2c3)]+_0x1d1a2e[_0x4096af(0x1f5)],'endColumn':_0x511178['startColumn']+_0x1d1a2e[_0x4096af(0x1f5)]+_0x588281[_0x4096af(0x271)][_0x4096af(0x38a)]-_0x588281[_0x4096af(0x271)][_0x4096af(0x2c3)]}};_0x569aaf[_0x4096af(0x2bf)](_0x56ae30,_0xc0cd93);const _0x37c75e={..._0x1e0f3f,'sourceRangeInfo':_0xc0cd93};this[_0x4096af(0x324)](_0x693c2f,_0x27918a[_0x4096af(0x1b8)],_0x56ae30,_0x37c75e),this[_0x4096af(0x208)]({'unitId':_0x693c2f,'token':_0x56ae30,'type':Le[_0x4096af(0x27e)],'oldSourceRangeInfo':_0x588281,'dataRangeInfo':_0xc0cd93,'targetCellInfo':_0x1e0f3f[_0x4096af(0x2e8)]}),this[_0x4096af(0x278)]({'unitId':_0x693c2f,'subUnitId':_0x27918a[_0x4096af(0x1b8)],'oldSubUnitId':_0x5144fa,'pivotTableId':_0x56ae30,'pivotTableConfig':_0x37c75e,'collectionConfig':_0x569aaf['toJSON']()});}}}}[_0x1e4666(0x208)](_0xc41860){const _0x1c5815=_0x1e4666;this[_0x1c5815(0x34f)][_0x1c5815(0x3d8)](_0xc41860);}[_0x1e4666(0x1dd)](_0x3a420f){const _0x4f3427=_0x1e4666;let _0x25c83c=this[_0x4f3427(0x380)][_0x4f3427(0x19a)](_0x3a420f);return _0x25c83c||(_0x25c83c=new _i(this,this['_univerInstanceService']),this[_0x4f3427(0x380)][_0x4f3427(0x321)](_0x3a420f,_0x25c83c)),_0x25c83c;}[_0x1e4666(0x190)](_0x3720d8,_0x59254a){const _0x53a7da=_0x1e4666;return this[_0x53a7da(0x1dd)](_0x3720d8)[_0x53a7da(0x2d0)][_0x59254a];}[_0x1e4666(0x1bf)](_0x2fe437,_0x2abee3,_0x3d3193){const _0x1043fc=_0x1e4666;return this[_0x1043fc(0x1dd)](_0x2fe437)['getUpdateRangeDeleteIds'](_0x2abee3,_0x3d3193);}['_ensurePivotMap'](_0x2f53d4,_0x15f719){const _0x1b5559=_0x1e4666;let _0x4379ad=this[_0x1b5559(0x290)][_0x1b5559(0x19a)](_0x2f53d4);_0x4379ad||(_0x4379ad=new Map(),this[_0x1b5559(0x290)][_0x1b5559(0x321)](_0x2f53d4,_0x4379ad));let _0x5f0ae7=_0x4379ad['get'](_0x15f719);return _0x5f0ae7||(_0x5f0ae7=new Map(),_0x4379ad[_0x1b5559(0x321)](_0x15f719,_0x5f0ae7)),_0x5f0ae7;}[_0x1e4666(0x324)](_0x53d247,_0x2e5acf,_0x9cb78d,_0x5868be){const _0x31b325=_0x1e4666;this[_0x31b325(0x2fe)](_0x53d247,_0x2e5acf)[_0x31b325(0x321)](_0x9cb78d,_0x5868be);}[_0x1e4666(0x36c)](_0x8c7bdd,_0x454191,_0x2a4beb){const _0x46418c=_0x1e4666;var _0x4f9c68,_0x4e066d,_0xa2934a,_0xadd877;((_0x4e066d=(_0x4f9c68=this[_0x46418c(0x290)][_0x46418c(0x19a)](_0x8c7bdd))==null?void 0x0:_0x4f9c68[_0x46418c(0x19a)](_0x454191))==null?void 0x0:_0x4e066d[_0x46418c(0x19a)](_0x2a4beb))&&((_0xadd877=(_0xa2934a=this[_0x46418c(0x290)]['get'](_0x8c7bdd))==null?void 0x0:_0xa2934a['get'](_0x454191))==null||_0xadd877[_0x46418c(0x1e8)](_0x2a4beb));}[_0x1e4666(0x3d0)](_0x1f3209,_0x252193){const _0x4c21ea=_0x1e4666;this[_0x4c21ea(0x386)][_0x4c21ea(0x321)](_0x1f3209,_0x252193);}[_0x1e4666(0x2ff)](_0x16c357){this['_pivotTableInstanceCache']['delete'](_0x16c357);}['_ensureViewDataMap'](_0x16c904,_0x22b483){const _0x2c5512=_0x1e4666;let _0x329f88=this[_0x2c5512(0x2b1)]['get'](_0x16c904);_0x329f88||(_0x329f88=new Map(),this[_0x2c5512(0x2b1)][_0x2c5512(0x321)](_0x16c904,_0x329f88));let _0xe71178=_0x329f88[_0x2c5512(0x19a)](_0x22b483);return _0xe71178||(_0xe71178=new Map(),_0x329f88['set'](_0x22b483,_0xe71178)),_0xe71178;}[_0x1e4666(0x278)](_0x28943f){const _0x46ce26=_0x1e4666,{unitId:_0x4fbfd6,subUnitId:_0x4a4ae6,pivotTableId:_0x3c5180,pivotTableConfig:_0x8796e0,collectionConfig:_0xceb3c7}=_0x28943f,_0x5138a2={'unitId':_0x4fbfd6,'subUnitId':_0x4a4ae6,'oldSubUnitId':_0x4a4ae6,'pivotTableId':_0x3c5180,'pivotTableConfig':_0x8796e0,'collectionConfig':_0xceb3c7};this[_0x46ce26(0x31c)][_0x46ce26(0x3c3)](co['id'],_0x5138a2,{'onlyLocal':!0x0});}[_0x1e4666(0x319)](_0x291b6d,_0x16e9ae,_0x37e825,_0x4b339b,_0x86a79,_0x454461,_0x5b34a4,_0x1415d1=!0x1){const _0x28ebc8=_0x1e4666;var _0x822233;this[_0x28ebc8(0x31c)][_0x28ebc8(0x3c3)](Dt['id'],{'single':{'unitId':_0x291b6d,'subUnitId':_0x16e9ae,'type':_0x37e825,'pivotTableId':_0x4b339b,'view':_0x86a79,'pivotConfig':_0x454461},'collectionConfig':{[_0x291b6d]:_0x5b34a4}},{'onlyLocal':!0x0});const _0x253545=!!((_0x822233=this[_0x28ebc8(0x3aa)](_0x4b339b))!=null&&_0x822233[_0x28ebc8(0x287)]()),_0x219f41=this[_0x28ebc8(0x39d)](_0x291b6d,_0x16e9ae,_0x4b339b);_0x219f41&&this[_0x28ebc8(0x2e4)]({'view':_0x86a79,'pivotTableId':_0x4b339b,'textInfo':this['getTextInfo'](),'isEmpty':_0x253545,'targetCellInfo':_0x219f41[_0x28ebc8(0x2e8)]},_0x1415d1);}[_0x1e4666(0x2e4)](_0x4fd7dd,_0x4b1368){const _0x133757=_0x1e4666,{targetCellInfo:_0x43bbdc,pivotTableId:_0x508863}=_0x4fd7dd,{unitId:_0x3a3ab4,subUnitId:_0x4f4c35}=_0x43bbdc,_0x4b6391=this[_0x133757(0x1cb)](_0x3a3ab4,_0x4f4c35),_0x1e2582=_0x4b6391['get'](_0x508863);let _0x120536,_0xb45a0d;_0x1e2582&&(_0x120536=_0x1e2582[_0x133757(0x1d4)],_0xb45a0d=_0x1e2582[_0x133757(0x344)]);const {rangesCache:_0x25c9a6,matrix:_0x28dced}=Di(_0x4fd7dd);_0x4b6391[_0x133757(0x321)](_0x508863,{'rangeCache':_0x25c9a6,'matrix':_0x28dced,'oldMatrix':_0xb45a0d,'oldRangeCache':_0x120536}),_0x4b1368||this['_viewData$']['next']({'unitId':_0x3a3ab4,'subUnitId':_0x4f4c35,'pivotTableId':_0x508863});}[_0x1e4666(0x218)](_0x3c8249,_0x3dbd8b,_0x139642,_0x3f48b4,_0x2913d8){const _0x251d30=_0x1e4666;this['_updateModelCache'](_0x3c8249,_0x3dbd8b,_0x139642,_0x2913d8),this[_0x251d30(0x3d0)](_0x139642,_0x3f48b4);}[_0x1e4666(0x29c)](_0x3e4beb,_0x4a1bf9,_0x95b790){const _0x239403=_0x1e4666,_0x5ac525=this[_0x239403(0x1dd)](_0x3e4beb);_0x5ac525[_0x239403(0x248)](_0x95b790)['forEach'](_0x2ef393=>{_0x5ac525['deleteDataField'](_0x2ef393);}),this[_0x239403(0x27b)](_0x3e4beb,_0x95b790),this['_deleteModelCache'](_0x3e4beb,_0x4a1bf9,_0x95b790),this[_0x239403(0x2ff)](_0x95b790);}[_0x1e4666(0x285)](_0x57e480,_0x17dbab,_0x3bf712,_0x5210c2){const _0x5959ae=_0x1e4666;this[_0x5959ae(0x324)](_0x57e480,_0x17dbab,_0x3bf712,_0x5210c2);}[_0x1e4666(0x39d)](_0x5a96a4,_0x1b4ac1,_0x378774){const _0x3b850b=_0x1e4666;var _0x274e5d,_0x46a69a;const _0x3ab4bb=(_0x46a69a=(_0x274e5d=this[_0x3b850b(0x290)][_0x3b850b(0x19a)](_0x5a96a4))==null?void 0x0:_0x274e5d[_0x3b850b(0x19a)](_0x1b4ac1))==null?void 0x0:_0x46a69a['get'](_0x378774);if(_0x3ab4bb)return _0x3ab4bb;}[_0x1e4666(0x343)](_0x52597a,_0x146656,_0x49e183){const _0x1be8b7=_0x1e4666;var _0x5a1d48,_0x3aa450;const _0x59515c=(_0x3aa450=(_0x5a1d48=this[_0x1be8b7(0x290)][_0x1be8b7(0x19a)](_0x52597a))==null?void 0x0:_0x5a1d48['get'](_0x146656))==null?void 0x0:_0x3aa450[_0x1be8b7(0x19a)](_0x49e183);if(_0x59515c)return _0x59515c[_0x1be8b7(0x323)];}[_0x1e4666(0x3aa)](_0x1c8983){const _0x3bbee5=_0x1e4666;return this[_0x3bbee5(0x386)][_0x3bbee5(0x19a)](_0x1c8983);}[_0x1e4666(0x21c)](_0xdb56b3){const _0x4fd01d=_0x1e4666;this[_0x4fd01d(0x290)][_0x4fd01d(0x1e8)](_0xdb56b3);const _0x383bab=this[_0x4fd01d(0x380)]['get'](_0xdb56b3);_0x383bab&&(_0x383bab[_0x4fd01d(0x3dc)](),this[_0x4fd01d(0x380)]['delete'](_0xdb56b3)),this[_0x4fd01d(0x2b1)][_0x4fd01d(0x1e8)](_0xdb56b3),this[_0x4fd01d(0x19f)][_0x4fd01d(0x276)](_0x25bc16=>{_0x25bc16['deleteUnitId'](_0xdb56b3);});}['addCollectionByJSON'](_0x5d2d21,_0x247df6,_0x33668d,_0x4ca142){const _0x122bca=_0x1e4666;return this[_0x122bca(0x1dd)](_0x33668d[_0x122bca(0x25c)])[_0x122bca(0x2ed)](_0x5d2d21,_0x247df6,_0x33668d,_0x4ca142);}[_0x1e4666(0x28f)](_0x43667e){const _0x501e0a=_0x1e4666;return this['getDataFieldManager'](_0x43667e[_0x501e0a(0x25c)])[_0x501e0a(0x28f)](_0x43667e);}[_0x1e4666(0x311)](_0x424b47,_0x5eb64b,_0x3297c3){const _0x9be06b=_0x1e4666;this[_0x9be06b(0x1dd)](_0x3297c3['unitId'])[_0x9be06b(0x311)](_0x424b47,_0x5eb64b,_0x3297c3);}[_0x1e4666(0x34d)](_0x59182e,_0x4c284d){const _0x143281=_0x1e4666;this['getDataFieldManager'](_0x59182e)[_0x143281(0x398)](_0x4c284d);}['removeCollections'](_0x3af810,_0x19c467){const _0x984563=_0x1e4666;this[_0x984563(0x1dd)](_0x3af810)[_0x984563(0x17a)](_0x19c467);}['getSubUnitPivotConfigs'](_0x5e82eb,_0x4b813c){const _0x29e29d=_0x1e4666;var _0x597d06;return(_0x597d06=this['_model'][_0x29e29d(0x19a)](_0x5e82eb))==null?void 0x0:_0x597d06['get'](_0x4b813c);}[_0x1e4666(0x191)](_0x31d194){const _0x8f2075=_0x1e4666;for(const [_0x1c4015,_0x1f9baa]of this[_0x8f2075(0x290)]['entries']())for(const [_0x522f6a,_0x362bee]of _0x1f9baa[_0x8f2075(0x171)]())if(_0x362bee[_0x8f2075(0x2b7)](_0x31d194))return{'unitId':_0x1c4015,'subUnitId':_0x522f6a};return null;}['sideEffectUpdateWorkerCache'](_0x4b6684,_0x5e16e7,_0x3d854f,_0x41612e){const _0x4bec4b=_0x1e4666,_0x97f32b=this['_ensureViewDataMap'](_0x4b6684,_0x5e16e7);_0x41612e?_0x97f32b['set'](_0x3d854f,_0x41612e):_0x97f32b[_0x4bec4b(0x1e8)](_0x3d854f),this[_0x4bec4b(0x1ec)][_0x4bec4b(0x3d8)]({'unitId':_0x4b6684,'subUnitId':_0x5e16e7,'pivotTableId':_0x3d854f});}['dispose'](){const _0x4705ad=_0x1e4666;super[_0x4705ad(0x3dc)]();}['getViewData'](_0x2adb18,_0x3054c4,_0x4570ea){const _0x40f9e3=_0x1e4666;var _0x4a1a52,_0x165666;const _0x2f4fd7=(_0x165666=(_0x4a1a52=this[_0x40f9e3(0x2b1)][_0x40f9e3(0x19a)](_0x2adb18))==null?void 0x0:_0x4a1a52['get'](_0x3054c4))==null?void 0x0:_0x165666[_0x40f9e3(0x19a)](_0x4570ea);return _0x2f4fd7||null;}[_0x1e4666(0x1bd)](_0x3a6c7f){const _0x2bd03b=_0x1e4666;this[_0x2bd03b(0x2f7)](_0x3a6c7f);}[_0x1e4666(0x2f7)](_0xc9ea4){const _0x5c69c9=_0x1e4666,{token:_0x3830f6,unitId:_0x32872b,subUnitId:_0x294b07}=_0xc9ea4,_0x248ff6=_0x32872b+'-'+_0x294b07+'-'+_0x3830f6;this[_0x5c69c9(0x238)][_0x5c69c9(0x19a)](_0x248ff6)&&clearTimeout(this[_0x5c69c9(0x238)]['get'](_0x248ff6));const _0x568a3e=setTimeout(()=>{const _0x20a559=_0x5c69c9;this[_0x20a559(0x381)](_0xc9ea4),this['_queryingMap'][_0x20a559(0x1e8)](_0x248ff6);},Pi);this['_queryingMap']['set'](_0x248ff6,_0x568a3e);}['queryDirtyPivotTable'](_0xfde1a1){const _0x1912e2=_0x1e4666,{unitId:_0x332537,subUnitId:_0x551a3c,token:_0xfd878e,type:_0x37742f,pivotConfig:_0x2e9258}=_0xfde1a1,_0x14bf75=this[_0x1912e2(0x3aa)](_0xfd878e),_0x1d634b=_0x14bf75==null?void 0x0:_0x14bf75[_0x1912e2(0x3d9)](),_0x47910c=_0x2e9258!=null?_0x2e9258:this['getPivotTableConfig'](_0x332537,_0x551a3c,_0xfd878e);_0x47910c&&(_0x47910c[_0x1912e2(0x287)]=!!(_0x14bf75!=null&&_0x14bf75['isEmpty']())),(_0x1d634b||_0x37742f===B[_0x1912e2(0x23d)])&&this['updateView'](_0x332537,_0x551a3c,_0x37742f,_0xfd878e,_0x1d634b,_0x47910c,this[_0x1912e2(0x1dd)](_0x332537)[_0x1912e2(0x172)]());}[_0x1e4666(0x172)](_0x27bb3a){const _0x15ab9b=_0x1e4666,_0x481bc6={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x15ab9b(0x1dd)](_0x27bb3a)&&(_0x481bc6[_0x15ab9b(0x166)][_0x27bb3a]=this[_0x15ab9b(0x1dd)](_0x27bb3a)[_0x15ab9b(0x172)]()),this[_0x15ab9b(0x290)][_0x15ab9b(0x19a)](_0x27bb3a)){_0x481bc6[_0x15ab9b(0x1b6)][_0x27bb3a]={};const _0x10dae8=this[_0x15ab9b(0x290)][_0x15ab9b(0x19a)](_0x27bb3a);_0x10dae8!=null&&_0x10dae8['size']&&[..._0x10dae8[_0x15ab9b(0x181)]()]['forEach'](_0x42daa7=>{const _0x44b6ff=_0x15ab9b,_0x41d9a2=_0x10dae8[_0x44b6ff(0x19a)](_0x42daa7);_0x41d9a2!=null&&_0x41d9a2[_0x44b6ff(0x2f5)]&&(_0x481bc6[_0x44b6ff(0x1b6)][_0x27bb3a][_0x42daa7]={},[..._0x41d9a2[_0x44b6ff(0x181)]()]['forEach'](_0x4ce885=>{const _0x5186d5=_0x44b6ff,_0x3c2c0a=_0x41d9a2['get'](_0x4ce885);_0x3c2c0a&&(_0x481bc6[_0x5186d5(0x1b6)][_0x27bb3a][_0x42daa7][_0x4ce885]=_0x3c2c0a);}));});}return _0x481bc6;}[_0x1e4666(0x29d)](_0x5dd71e){const _0x56d962=_0x1e4666;var _0x38cd0f;const {dataFieldManagerConfig:_0x1895e5,pivotTableConfigs:_0x42c33e}=_0x5dd71e;_0x1895e5&&Object['keys'](_0x1895e5)[_0x56d962(0x276)](_0x4e4d5f=>{const _0x468e69=_0x56d962;this[_0x468e69(0x1dd)](_0x4e4d5f)[_0x468e69(0x29d)](_0x1895e5[_0x4e4d5f]);});const _0x2ef57e=[];if(_0x42c33e){const _0x55fe97=(_0x38cd0f=this[_0x56d962(0x2ca)]['get'](_0x6f69e8)[_0x56d962(0x347)](_0x2d3143))!=null?_0x38cd0f:{},{ls:_0xd5e719,pbk:_0x2ccc0e}=_0x55fe97,_0x294261=go(so,_0xd5e719,_0x2ccc0e)[_0x56d962(0x1b5)];Object[_0x56d962(0x181)](_0x42c33e)[_0x56d962(0x276)](_0x53680b=>{const _0x3b73d7=_0x56d962;let _0x17df6f=0x0;const _0x574213=_0x42c33e[_0x53680b];Object[_0x3b73d7(0x181)](_0x574213)[_0x3b73d7(0x276)](_0x5bf4b6=>{const _0x331bf1=_0x3b73d7,_0x4806db=_0x574213[_0x5bf4b6];Object['keys'](_0x4806db)[_0x331bf1(0x276)](_0x8c6437=>{const _0x58a424=_0x331bf1,_0x2520e9=_0x4806db[_0x8c6437];if(_0x2520e9){if(_0x17df6f>=_0x294261)return;_0x17df6f++;const _0x2b3a67=this[_0x58a424(0x1dd)](_0x53680b),_0x131db6=_0x2b3a67[_0x58a424(0x2d0)][_0x8c6437],_0x583c4a=_0x131db6[_0x58a424(0x38d)]();let _0x29ccf8=0x0;const _0x24d9fc=[];for(const _0x2fba56 of _0x583c4a){const _0x5986a0=_0x131db6[_0x58a424(0x3b5)](_0x2fba56);if(_0x214a51(_0x5986a0)){const _0x241f6a=_0x5986a0[_0x58a424(0x170)](),_0x3874e1=_0x131db6[_0x58a424(0x3b5)](_0x241f6a);_0x3874e1&&_0x24d9fc[_0x58a424(0x1cd)]([_0x5986a0,_0x3874e1]);continue;}_0x2b3a67['refreshDataField'](_0x2fba56,_0x2520e9[_0x58a424(0x382)],_0x29ccf8),_0x29ccf8++;}_0x24d9fc[_0x58a424(0x276)](([_0xfd9e27,_0x312301])=>{const _0x3f3f68=_0x58a424;_0xfd9e27[_0x3f3f68(0x1d2)](_0x312301);});const _0x398dfd=new _0x219501(_0x131db6);_0x398dfd[_0x58a424(0x29d)](_0x2520e9[_0x58a424(0x323)]),this['addPivotTable'](_0x53680b,_0x5bf4b6,_0x8c6437,_0x398dfd,_0x2520e9);const _0x46ac4c=_0x398dfd[_0x58a424(0x3d9)]();_0x2ef57e['push']({'unitId':_0x53680b,'subUnitId':_0x5bf4b6,'pivotTableId':_0x8c6437,'view':_0x46ac4c[_0x58a424(0x172)](),'pivotConfig':_0x2520e9,'type':B['Add']});const _0x4822be=!!_0x398dfd[_0x58a424(0x287)](),_0x229055={'view':_0x46ac4c,'pivotTableId':_0x8c6437,'textInfo':this['getTextInfo'](),'isEmpty':_0x4822be,'targetCellInfo':_0x2520e9[_0x58a424(0x2e8)]};this['updateViewData'](_0x229055,!0x1);}});});});}_0x1895e5&&Object[_0x56d962(0x181)](_0x1895e5)[_0x56d962(0x276)](_0x9cd5ff=>{const _0x5106c3=_0x56d962,_0x1e709a=this['getDataFieldManager'](_0x9cd5ff);this[_0x5106c3(0x34b)][_0x5106c3(0x3d8)](_0x1e709a[_0x5106c3(0x2d0)]);}),this[_0x56d962(0x31c)][_0x56d962(0x3c3)](Dt['id'],{'batch':_0x2ef57e,'collectionConfig':_0x1895e5},{'onlyLocal':!0x0});}[_0x1e4666(0x223)](){const _0x437eea=_0x1e4666;this[_0x437eea(0x20e)](this[_0x437eea(0x3de)]['registerPluginResource']({'toJson':_0x3bc523=>JSON[_0x437eea(0x3d5)](this[_0x437eea(0x172)](_0x3bc523)),'parseJson':_0x106c33=>{const _0x452986=_0x437eea;if(!_0x106c33)return{};try{return JSON[_0x452986(0x2f1)](_0x106c33);}catch{return{};}},'businesses':[_0x5c8370[_0x437eea(0x392)]],'pluginName':ao,'onLoad':(_0x2d0b0a,_0xe7eb68)=>{this['fromJSON'](_0xe7eb68);},'onUnLoad':_0x16d3ec=>{const _0x4c670a=_0x437eea;this[_0x4c670a(0x21c)](_0x16d3ec);}}));}};$=Ui([je(0x0,_0x52ddbc(_0x4903de)),je(0x1,_0x11d98b),je(0x2,_0x52ddbc(_0x29e2dd)),je(0x3,_0x6f69e8),je(0x4,_0x13bfb7),je(0x5,_0x52ddbc(_0x375aa3))],$);const Vi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x1e4666(0x27a),'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':_0x1e4666(0x17f),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x1e4666(0x216),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Go=(_0x3221fd,_0x3a9e21)=>{const _0x31900c=_0x1e4666,_0x542318=new _0x1b3fd2(),_0x5aaad6=new _0x1b3fd2(Vi),{row:_0xa17adc,col:_0x2d9639}=_0x3a9e21;_0x5aaad6[_0x31900c(0x1e1)]((_0x29eebb,_0xce3ff1,_0x5a087f)=>{const _0x4a02d6=_0x31900c;let _0x325bfa='';_0x5a087f['v']===_0x4a02d6(0x24d)?_0x325bfa=_0x3221fd[_0x4a02d6(0x24d)]:_0x5a087f['v']==='row'?_0x325bfa=_0x3221fd[_0x4a02d6(0x17f)]:_0x5a087f['v']===_0x4a02d6(0x27a)?_0x325bfa=_0x3221fd[_0x4a02d6(0x27a)]:_0x5a087f['v']==='values'&&(_0x325bfa=_0x3221fd[_0x4a02d6(0x216)]),_0x542318[_0x4a02d6(0x2a7)](_0x29eebb+_0xa17adc,_0xce3ff1+_0x2d9639,{..._0x5a087f,'v':_0x325bfa});});const _0x12084d=_0x471e66[_0x31900c(0x346)](Lt);return Object[_0x31900c(0x181)](Lt)[_0x31900c(0x276)](_0x40bb94=>{const _0x30c679=_0x31900c;_0x12084d[_0x40bb94]=Lt[_0x40bb94][_0x30c679(0x169)](_0x5b8faa=>({..._0x5b8faa,'startRow':_0x5b8faa[_0x30c679(0x1a0)]+_0xa17adc,'endRow':_0x5b8faa[_0x30c679(0x239)]+_0xa17adc,'startColumn':_0x5b8faa[_0x30c679(0x2c3)]+_0x2d9639,'endColumn':_0x5b8faa[_0x30c679(0x38a)]+_0x2d9639}));}),{'matrixCache':_0x542318,'rangesCache':_0x12084d};};function xi(_0xdb253a,_0x19de60){const _0x294ba3=_0x1e4666;let _0x2b1c34='';const _0x1a9da0=this[_0x294ba3(0x20f)]();switch(_0x19de60){case _0x50dbf6[_0x294ba3(0x387)]:_0x2b1c34=_0x1a9da0[_0x294ba3(0x30b)]+_0xdb253a;break;case _0x50dbf6['count']:_0x2b1c34=_0x1a9da0[_0x294ba3(0x272)]+_0xdb253a;break;case _0x50dbf6['countNums']:_0x2b1c34=_0x1a9da0[_0x294ba3(0x339)]+_0xdb253a;break;case _0x50dbf6['max']:_0x2b1c34=_0x1a9da0['sheets-pivot.maxName']+_0xdb253a;break;case _0x50dbf6['min']:_0x2b1c34=_0x1a9da0['sheets-pivot.minName']+_0xdb253a;break;case _0x50dbf6[_0x294ba3(0x1fc)]:_0x2b1c34=_0x1a9da0[_0x294ba3(0x22e)]+_0xdb253a;break;case _0x50dbf6['stdDev']:_0x2b1c34=_0x1a9da0[_0x294ba3(0x3d3)]+_0xdb253a;break;case _0x50dbf6[_0x294ba3(0x259)]:_0x2b1c34=_0x1a9da0['sheets-pivot.stdDevpName']+_0xdb253a;break;case _0x50dbf6['sum']:_0x2b1c34=_0x1a9da0[_0x294ba3(0x293)]+_0xdb253a;break;case _0x50dbf6[_0x294ba3(0x282)]:_0x2b1c34=_0x1a9da0['sheets-pivot.varName']+_0xdb253a;break;case _0x50dbf6[_0x294ba3(0x3c4)]:_0x2b1c34=_0x1a9da0[_0x294ba3(0x1c5)]+_0xdb253a;break;default:_0x2b1c34=_0xdb253a;break;}return _0x2b1c34;}function Ei(_0x4fd91e,_0x3c5cae,_0x1ce2af,_0x55dfab,_0x12000e){const _0x5080f4=_0x1e4666;var _0x55da5d,_0x5e4e6d,_0x503a82,_0x407e23,_0x42d11b;const _0x57cf92=_0x44c758(_0x4fd91e,_0x3c5cae),{rangesInfo:_0x218250,areaInfo:_0x34cb4f,headerMap:_0x58698f}=_0x12000e;if(!_0x218250||!_0x34cb4f||!_0x58698f)return;const _0x3c198e=Object[_0x5080f4(0x181)](_0x218250)[_0x5080f4(0x265)](_0x57d2e2=>_0x218250[_0x57d2e2][_0x5080f4(0x283)](_0x2e4ea2=>_0x100b6c[_0x5080f4(0x33f)](_0x2e4ea2,_0x57cf92))),_0x3de76b=_0x34cb4f;let _0x3ecfcf,_0x308a23,_0x2bcb56;if(_0x3c198e===_0x5080f4(0x396))_0x3ecfcf=(_0x55da5d=_0x3de76b==null?void 0x0:_0x3de76b[_0x5080f4(0x2fc)])==null?void 0x0:_0x55da5d[_0x4fd91e],_0x308a23=(_0x5e4e6d=_0x58698f==null?void 0x0:_0x58698f[_0x5080f4(0x17d)])==null?void 0x0:_0x5e4e6d[_0x3c5cae],_0x2bcb56=_0x308a23==null?void 0x0:_0x308a23[_0x5080f4(0x1e0)];else{if(_0x3c198e===_0x5080f4(0x3b3))_0x3ecfcf=(_0x503a82=_0x3de76b==null?void 0x0:_0x3de76b[_0x5080f4(0x2b5)])==null?void 0x0:_0x503a82[_0x3c5cae],_0x308a23=(_0x407e23=_0x58698f[_0x5080f4(0x333)])==null?void 0x0:_0x407e23[_0x4fd91e+0x1+_0x3c5cae-_0x218250[_0x5080f4(0x3b3)][0x0]['startColumn']],_0x2bcb56=_0x308a23==null?void 0x0:_0x308a23[_0x5080f4(0x1e0)];else{if(_0x3c198e==='cornerRanges')_0x3ecfcf=(_0x42d11b=_0x3de76b==null?void 0x0:_0x3de76b[_0x5080f4(0x250)])==null?void 0x0:_0x42d11b[_0x3c5cae],_0x2bcb56=_0x3ecfcf==null?void 0x0:_0x3ecfcf[_0x5080f4(0x1e0)];else{if(_0x3c198e===_0x5080f4(0x2fa)){const _0x3e0eb8=_0x1ce2af==null?void 0x0:_0x1ce2af['fi'];_0x3e0eb8!==void 0x0&&(_0x2bcb56=_0x55dfab['getFilterFieldIdByIndex'](_0x3e0eb8));}}}}return{'filterId':_0x2bcb56,'info':_0x3ecfcf,'data':_0x1ce2af,'headerInfo':_0x308a23};}function Oi(_0x1961bf,_0x4dde93,_0x1c49df){const _0x9fef2b=_0x1e4666,_0x111389=_0x1961bf[_0x9fef2b(0x160)],_0xb2a9ef=_0x111389[_0x9fef2b(0x38d)](),_0x477a86=new Set();_0x1961bf[_0x9fef2b(0x2bc)](_0x3f9825=>{const _0x588919=_0x9fef2b;_0x477a86['add'](_0x3f9825[_0x588919(0x322)]);});const _0x4893c2=_0xb2a9ef[_0x9fef2b(0x169)](_0x1e3317=>{const _0x319db5=_0x9fef2b,_0xbffb69=_0x111389[_0x319db5(0x3b5)](_0x1e3317);return{'checked':_0x477a86['has'](_0x1e3317),'dataFieldId':_0xbffb69['id'],'id':_0xbffb69['id'],'name':_0x111389['getDisplayName'](_0xbffb69['id']),'type':_0xbffb69[_0x319db5(0x1fd)](),'pivotTableId':_0x4dde93};}),_0x210670=[];_0x1961bf[_0x9fef2b(0x3d2)](_0x2ea213[_0x9fef2b(0x353)],_0x3120cb=>{const _0x1f5cff=_0x9fef2b;_0x210670['push']({'dataFieldId':_0x3120cb[_0x1f5cff(0x322)],'tableFieldId':_0x3120cb[_0x1f5cff(0x300)](),'displayName':_0x3120cb[_0x1f5cff(0x36b)]()});});const _0x3f69a5=[];_0x1961bf[_0x9fef2b(0x3d2)](_0x2ea213[_0x9fef2b(0x363)],_0x33baf5=>{const _0x41a069=_0x9fef2b;_0x3f69a5[_0x41a069(0x1cd)]({'dataFieldId':_0x33baf5[_0x41a069(0x322)],'tableFieldId':_0x33baf5[_0x41a069(0x300)](),'displayName':_0x33baf5[_0x41a069(0x36b)]()});});const _0x5456e5=[];if(_0x1961bf['iterateFieldByArea'](_0x2ea213[_0x9fef2b(0x318)],_0x5ea035=>{const _0x1bc517=_0x9fef2b;_0x5456e5[_0x1bc517(0x1cd)]({'dataFieldId':_0x5ea035[_0x1bc517(0x322)],'tableFieldId':_0x5ea035[_0x1bc517(0x300)](),'displayName':_0x5ea035[_0x1bc517(0x36b)](),'format':_0x5ea035['getFormat'](),'subTotalType':_0x5ea035[_0x1bc517(0x1f7)]()});}),_0x5456e5[_0x9fef2b(0x337)]>0x1){const _0x32ce9b=_0x1961bf[_0x9fef2b(0x2e7)]();(_0x1961bf[_0x9fef2b(0x1d8)]()?_0x3f69a5:_0x210670)[_0x9fef2b(0x252)](_0x32ce9b,0x0,{'dataFieldId':'','tableFieldId':_0x9fef2b(0x2d3),'displayName':_0x9fef2b(0x1ed)});}const _0x13daa5=[];_0x1961bf[_0x9fef2b(0x3d2)](_0x2ea213[_0x9fef2b(0x256)],_0xcba77c=>{const _0x508578=_0x9fef2b;_0x13daa5[_0x508578(0x1cd)]({'dataFieldId':_0xcba77c[_0x508578(0x322)],'tableFieldId':_0xcba77c[_0x508578(0x300)](),'displayName':_0xcba77c[_0x508578(0x36b)]()});});const _0x6daa8e=_0x1c49df[_0x9fef2b(0x382)];return{'sourceList':_0x4893c2,'sourceRange':_0x6daa8e,'rowFields':_0x210670,'columnFields':_0x3f69a5,'valueFields':_0x5456e5,'filterFields':_0x13daa5,'positionInfo':_0x1c49df['targetCellInfo']};}function fo(_0x2689d7,_0x5a5412,_0x19fccf='',_0x13b0f7={}){const _0x139276=_0x1e4666,_0x18aced=_0x2689d7[_0x139276(0x19a)](_0x1c8344);for(const _0x27a848 in _0x5a5412)if(Object[_0x139276(0x1e3)][_0x139276(0x336)][_0x139276(0x178)](_0x5a5412,_0x27a848)){const _0x41333c=_0x19fccf?_0x19fccf+'.'+_0x27a848:_0x27a848;typeof _0x5a5412[_0x27a848]==_0x139276(0x374)&&_0x5a5412[_0x27a848]!==null&&!Array['isArray'](_0x5a5412[_0x27a848])?fo(_0x2689d7,_0x5a5412[_0x27a848],_0x41333c,_0x13b0f7):_0x13b0f7[_0x41333c]=_0x18aced['t'](_0x41333c);}return _0x13b0f7;}const Bt=_0x7a60ef=>{const _0x4403eb=_0x1e4666;if(!_0x7a60ef)return[];const {rowRanges:_0x9a90fc,colRanges:_0x51e264,cornerRanges:_0x5d38f7,dataRanges:_0x418aaf,pageRanges:_0x10aa0a}=_0x7a60ef,_0x53ee90=[..._0x51e264,..._0x9a90fc,..._0x418aaf,..._0x5d38f7][_0x4403eb(0x24d)](_0x31c492=>_0x31c492[_0x4403eb(0x1a0)]>=0x0&&_0x31c492['startColumn']>=0x0&&_0x31c492[_0x4403eb(0x239)]>=0x0&&_0x31c492[_0x4403eb(0x38a)]>=0x0);let _0x4aa2ab=Number[_0x4403eb(0x274)],_0xb99a25=Number['MIN_SAFE_INTEGER'],_0x31d7eb=Number[_0x4403eb(0x274)],_0x31e9c6=Number[_0x4403eb(0x308)];for(let _0x150731=0x0;_0x150731<_0x53ee90[_0x4403eb(0x337)];_0x150731++)_0x4aa2ab=Math[_0x4403eb(0x28c)](_0x4aa2ab,_0x53ee90[_0x150731][_0x4403eb(0x1a0)]),_0xb99a25=Math['max'](_0xb99a25,_0x53ee90[_0x150731][_0x4403eb(0x239)]),_0x31d7eb=Math['min'](_0x31d7eb,_0x53ee90[_0x150731]['startColumn']),_0x31e9c6=Math[_0x4403eb(0x15f)](_0x31e9c6,_0x53ee90[_0x150731][_0x4403eb(0x38a)]);return[..._0x10aa0a,{'startRow':_0x4aa2ab,'endRow':_0xb99a25,'startColumn':_0x31d7eb,'endColumn':_0x31e9c6}];};function Ai(_0x108a61,_0x111790){const _0x147c4a=_0x1e4666,_0x275b88=_0x111790['params'][_0x147c4a(0x31e)],{pivotTableId:_0x30dc93,unitId:_0x3b8579,subUnitId:_0x62ed5a}=_0x111790;if(!_0x275b88)return;const _0x4c2da6=_0x108a61['get']($),_0x4e3cc5=_0x4c2da6['getPivotTableInstance'](_0x30dc93),_0x3c61e0=_0x4c2da6[_0x147c4a(0x39d)](_0x3b8579,_0x62ed5a,_0x30dc93);if(!_0x4e3cc5||!_0x3c61e0)return;const _0xe3084b=_0x4e3cc5[_0x147c4a(0x206)](_0x275b88[_0x147c4a(0x192)]);if(!(_0xe3084b!=null&&_0xe3084b[_0x147c4a(0x337)]))return;const _0x504614=_0x3c61e0[_0x147c4a(0x382)],{unitId:_0x22e754,subUnitId:_0x364b25,range:_0x3ec44f}=_0x504614;let _0x36da3e=0x0;const _0x34a146=_0x4e3cc5[_0x147c4a(0x160)][_0x147c4a(0x38d)]()[_0x147c4a(0x1e6)]((_0x5afee0,_0x5c9b12)=>{const _0x5d1c8a=_0x147c4a;var _0xf82934;const _0xe47f39=(_0xf82934=_0x4e3cc5[_0x5d1c8a(0x24e)](_0x5c9b12))==null?void 0x0:_0xf82934[_0x5d1c8a(0x1e7)]();return _0xe47f39&&(_0x5afee0[String(_0x36da3e)]=_0xe47f39),_0x36da3e++,_0x5afee0;},{});return{'indexes':_0xe3084b,'range':_0x3ec44f,'sourceUnitId':_0x22e754,'sourceSubUnitId':_0x364b25,'formatMap':_0x34a146};}function jo(_0x1b58d6,_0x1489cb){const _0x303f9b=_0x1e4666;if(!_0x1b58d6||!_0x1489cb)return!0x0;const _0x1a0ae6=_0x1211d3(Jo,Yo),_0x20628a=new Function(_0x303f9b(0x2e3)+_0x1a0ae6)()(_0x1b58d6,_0x1489cb)[_0x303f9b(0x3c6)],_0x2fe4b5=_0x17d080(_0x20628a,'sf',ko);return!((_0x20628a==null?void 0x0:_0x20628a['rt'])===_0x574891['NO_COMMERCIAL']&&!_0x2fe4b5);}function go(_0x5e4340,_0x1d62c4,_0x20bbaf){const _0x22e8cb=_0x1e4666,_0xbd6f64={'count':_0x5e4340,'timeValid':!0x1};if(!_0x1d62c4||!_0x20bbaf)return _0xbd6f64;const _0x215e00=_0x1211d3(Jo,Yo),_0x21a384=new Function(_0x22e8cb(0x2e3)+_0x215e00)()(_0x1d62c4,_0x20bbaf);if(_0x21a384!=null&&_0x21a384[_0x22e8cb(0x1db)]){const _0x1742c4=_0x21a384[_0x22e8cb(0x3c6)],_0x1da467=_0x17d080(_0x1742c4,'sf',ko);return{'count':_0x1c6885(_0x1742c4,_0x1da467,_0x22e8cb(0x30e),_0x5e4340,_0x5e4340,0x0),'timeValid':_0x1da467};}return _0xbd6f64;}function Ho(_0x19ae15,_0x38aaca,_0x46d0f3,_0x21dfb5){const _0x8ab5fb=_0x1e4666,_0x18c62f={'subUnitId':_0x46d0f3,'unitId':_0x38aaca,'cellValue':_0x4ecbd3(_0x21dfb5)},_0xef6924=_0xea2c6(_0x19ae15,_0x18c62f);let _0x498406=!0x1;return new _0x1b3fd2(_0xef6924[_0x8ab5fb(0x1a8)])[_0x8ab5fb(0x1e1)]((_0x369f27,_0x24a198,_0x2f2e18)=>{const _0xf76695=_0x8ab5fb;if(!_0x498406&&_0x2f2e18&&(_0x2f2e18[_0xf76695(0x3b1)]||_0x2f2e18['f']||_0x2f2e18['p']||_0x2f2e18['s']||_0x2f2e18['si']||_0x2f2e18['t']||_0x2f2e18['v']))return _0x498406=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0xe792fa['id'],'params':_0xef6924},'setRangeValueRedoMutation':{'id':_0xe792fa['id'],'params':_0x18c62f},'shouldClear':_0x498406};}function ki(_0x40be78){const {row:_0x4956d7,col:_0x13dffc}=_0x40be78,_0xec9f3a={'startRow':_0x4956d7,'endRow':_0x4956d7,'startColumn':_0x13dffc,'endColumn':_0x13dffc},_0x30af96={'startRow':_0x4956d7+0x2,'endRow':_0x4956d7+0xe,'startColumn':_0x13dffc,'endColumn':_0x13dffc+0x6};return[_0xec9f3a,_0x30af96];}function Wi(_0x71e4f6,_0x29cbb8,_0x210161){const _0x978387=_0x1e4666,{cornerView:_0x21d558,rowView:_0x1144fb,colView:_0x4de51c,pageView:_0x3e507c}=_0x71e4f6,{row:_0x5f055e,col:_0x5981b4}=_0x29cbb8;if(_0x210161)return{'rowCount':bi+_0x5f055e,'colCount':Si+_0x5981b4};const _0x3abe61=_0x3e507c[_0x978387(0x267)]>-0x1?_0x3e507c[_0x978387(0x267)]+0x1:0x0,_0x239aa0=_0x3e507c['lastCol']>-0x1?_0x3e507c[_0x978387(0x15d)]:0x0,_0x4ce40c=_0x5f055e+_0x3abe61+(_0x3abe61?0x1:0x0)+_0x21d558[_0x978387(0x16e)]+_0x1144fb['rowCount'],_0xfed6a1=_0x5981b4+_0x239aa0,_0x10f2cb=_0x5981b4+_0x21d558['colCount']+_0x4de51c['colCount'],_0x2043e9=Math[_0x978387(0x15f)](_0xfed6a1,_0x10f2cb);return{'rowCount':_0x4ce40c,'colCount':_0x2043e9};}function we(_0x2c27d8,_0x29d43c,_0x4a63da,_0x340a54){const _0x122e4b=_0x1e4666,{row:_0xcb34fa,col:_0x50e68c,unitId:_0x6b2dcd,subUnitId:_0x49a1bd}=_0x4a63da,_0x4dc72d=Wi(_0x29d43c,{'row':_0xcb34fa,'col':_0x50e68c},_0x340a54),_0x4f048e=_0x2c27d8[_0x122e4b(0x19a)](_0x11d98b),_0x248b78=_0x114031(_0x4f048e,{'unitId':_0x6b2dcd,'subUnitId':_0x49a1bd}),_0x36e028=[],_0x57a414=[];if(!_0x248b78)return{'undos':_0x57a414,'redos':_0x36e028};const {worksheet:_0x6c9b0f}=_0x248b78,_0x30a570=_0x6c9b0f[_0x122e4b(0x36d)](),_0x3c6b8c=_0x6c9b0f['getColumnCount']();return _0x30a570<_0x4dc72d[_0x122e4b(0x16e)]&&(_0x36e028[_0x122e4b(0x1cd)]({'id':_0x499d8c['id'],'params':{'unitId':_0x6b2dcd,'subUnitId':_0x49a1bd,'range':{'startRow':_0x30a570,'endRow':_0x4dc72d[_0x122e4b(0x16e)]-0x1,'startColumn':0x0,'endColumn':_0x3c6b8c-0x1}}}),_0x57a414[_0x122e4b(0x1cd)]({'id':_0x8ea10f['id'],'params':{'unitId':_0x6b2dcd,'subUnitId':_0x49a1bd,'range':{'startRow':_0x30a570,'endRow':_0x4dc72d[_0x122e4b(0x16e)]-0x1,'startColumn':0x0,'endColumn':_0x3c6b8c-0x1}}})),_0x3c6b8c<_0x4dc72d[_0x122e4b(0x161)]&&(_0x36e028[_0x122e4b(0x1cd)]({'id':_0x2a8ac1['id'],'params':{'unitId':_0x6b2dcd,'subUnitId':_0x49a1bd,'range':{'startRow':0x0,'endRow':_0x30a570-0x1,'startColumn':_0x3c6b8c,'endColumn':_0x4dc72d[_0x122e4b(0x161)]-0x1}}}),_0x57a414[_0x122e4b(0x1cd)]({'id':_0x127612['id'],'params':{'unitId':_0x6b2dcd,'subUnitId':_0x49a1bd,'range':{'startRow':0x0,'endRow':_0x30a570-0x1,'startColumn':_0x3c6b8c,'endColumn':_0x4dc72d[_0x122e4b(0x161)]-0x1}}})),{'undos':_0x57a414,'redos':_0x36e028};}function Li(_0x360554){const _0x399500=_0x1e4666;let _0x15018c=0x0;for(let _0x1279fa=0x0;_0x1279fa<_0x360554[_0x399500(0x337)];_0x1279fa++){const _0x56a40e=_0x360554[_0x399500(0x182)](_0x1279fa);_0x56a40e>=0x4e00&&_0x56a40e<=0x9fff||_0x56a40e>=0x3000&&_0x56a40e<=0x303f||_0x56a40e>=0xff00&&_0x56a40e<=0xffef?_0x15018c+=0x2:_0x15018c+=0x1;}return _0x15018c;}function To(_0x48abd8,_0x4137aa,_0x5e9319,_0x400ad4){const _0x51b87b=_0x1e4666;var _0x25f81d,_0x3cad17,_0x2ef24d,_0x52aeda;const {rowCount:_0xdf24ea,colCount:_0xc3e751,headerMap:_0x1026d9}=_0x48abd8,_0x49e6aa=0x64,_0x471d72=Math[_0x51b87b(0x28c)](_0xdf24ea,_0x49e6aa),_0x36fc98=Math[_0x51b87b(0x28c)](_0xc3e751,_0x49e6aa);let _0x501760='',_0x428bec=0x0;for(let _0x17aa25=0x0;_0x17aa25<_0x471d72;_0x17aa25++)for(let _0x2bc957=0x0;_0x2bc957<_0x36fc98;_0x2bc957++){const _0x57f51b={...(_0x3cad17=(_0x25f81d=_0x48abd8[_0x51b87b(0x2b6)])==null?void 0x0:_0x25f81d[_0x17aa25])==null?void 0x0:_0x3cad17[_0x2bc957]},_0x3c2c8b=(_0x2ef24d=_0x1026d9[_0x17aa25])==null?void 0x0:_0x2ef24d[_0x51b87b(0x1e0)],_0x19ecf2=_0x400ad4[_0x3c2c8b];let _0x18563c=_0x48abd8[_0x51b87b(0x35f)](_0x17aa25,_0x2bc957);if(_0x57f51b){const _0x4f66ce=_0x5e9319?_0x2bc957===0x0&&((_0x52aeda=_0x48abd8['getHeaderMapItem'](_0x2bc957+0x1))==null?void 0x0:_0x52aeda[_0x51b87b(0x229)]):!0x1;_0x18563c=ht(_0x57f51b,_0x4f66ce,_0x19ecf2,_0x4137aa);}if(_0x18563c!==void 0x0){const _0x4a64e5=Li(String(_0x18563c));_0x428bec<_0x4a64e5&&(_0x501760=String(_0x18563c),_0x428bec=_0x4a64e5);}}return _0x501760;}function Bi(_0x1cebc4){const _0x14d25a=_0x1e4666,{rowCount:_0x490270,colCount:_0x555816}=_0x1cebc4;let _0xfa92e5='',_0x4c0a41=0x0;for(let _0x555e16=_0x490270-0x1;_0x555e16>0x0&&_0x555e16>_0x490270-0x3;_0x555e16--)for(let _0x2e47bb=0x0;_0x2e47bb<_0x555816;_0x2e47bb++){const _0x58ba82=_0x1cebc4[_0x14d25a(0x35f)](_0x555e16,_0x2e47bb);if(_0x58ba82!==void 0x0){const _0x330790=String(_0x58ba82)[_0x14d25a(0x337)];_0x4c0a41<_0x330790&&(_0xfa92e5=String(_0x58ba82),_0x4c0a41=_0x330790);}}return _0xfa92e5;}function $i(_0x5ee71f){const _0x228460=_0x1e4666,{rowCount:_0x1dfecf,colCount:_0x327bb5}=_0x5ee71f;let _0x421a17='',_0x3c5a49=0x0;for(let _0x4e2314=0x0;_0x4e2314<_0x1dfecf;_0x4e2314++)for(let _0x5885a8=0x0;_0x5885a8<_0x327bb5;_0x5885a8++){const _0x24405a=_0x5ee71f[_0x228460(0x35f)](_0x4e2314,_0x5885a8);if(_0x24405a!==void 0x0){const _0x43cbe0=String(_0x24405a)[_0x228460(0x337)];_0x3c5a49<_0x43cbe0&&(_0x421a17=String(_0x24405a),_0x3c5a49=_0x43cbe0);}}return _0x421a17;}function Yi(_0x31d655,_0x38d61a){const _0x4fe198=_0x1e4666,{rowFields:_0x5f0480,columnFields:_0x4508d1,valueFields:_0x175753,filterFields:_0x5184c0,dimension:_0x3e049b,measure:_0x43e2fa}=_0x38d61a;for(const _0xb96e92 of _0x5f0480){const _0x20400b=_0x3e049b[_0xb96e92];_0x20400b&&_0x31d655[_0x4fe198(0x24e)](_0x20400b[_0x4fe198(0x322)])&&(_0x31d655[_0x4fe198(0x193)](_0x20400b[_0x4fe198(0x322)],_0x2ea213['Row'],void 0x0,_0xb96e92),_0x20400b[_0x4fe198(0x224)]&&_0x31d655[_0x4fe198(0x2d4)](_0x20400b['id'],_0x20400b[_0x4fe198(0x224)]),_0x20400b['sortInfo']&&_0x31d655[_0x4fe198(0x22f)](_0x20400b['id'],_0x20400b['sortInfo']),_0x20400b[_0x4fe198(0x2dc)]&&_0x31d655[_0x4fe198(0x1f8)](_0x20400b['id'],_0x20400b[_0x4fe198(0x2dc)]));}for(const _0x4356de of _0x4508d1){const _0x58c82b=_0x3e049b[_0x4356de];_0x58c82b&&_0x31d655[_0x4fe198(0x24e)](_0x58c82b[_0x4fe198(0x322)])&&(_0x31d655['addFieldWithSourceId'](_0x58c82b[_0x4fe198(0x322)],_0x2ea213[_0x4fe198(0x363)],void 0x0,_0x4356de),_0x58c82b[_0x4fe198(0x33e)]&&_0x31d655['setSortInfo'](_0x58c82b['id'],_0x58c82b['sortInfo']),_0x58c82b['filterInfo']&&_0x31d655['setLabelFilterInfo'](_0x58c82b['id'],_0x58c82b['filterInfo']),_0x58c82b['displayName']&&_0x31d655[_0x4fe198(0x2d4)](_0x58c82b['id'],_0x58c82b[_0x4fe198(0x224)]));}for(const _0x23b4d1 of _0x5184c0){const _0x443f4d=_0x3e049b[_0x23b4d1];_0x443f4d&&_0x31d655[_0x4fe198(0x24e)](_0x443f4d['dataFieldId'])&&(_0x31d655['addFieldWithSourceId'](_0x443f4d[_0x4fe198(0x322)],_0x2ea213[_0x4fe198(0x256)],void 0x0,_0x23b4d1),_0x443f4d['sortInfo']&&_0x31d655[_0x4fe198(0x22f)](_0x443f4d['id'],_0x443f4d[_0x4fe198(0x33e)]),_0x443f4d[_0x4fe198(0x2dc)]&&_0x31d655[_0x4fe198(0x1f8)](_0x443f4d['id'],_0x443f4d['filterInfo']),_0x443f4d[_0x4fe198(0x224)]&&_0x31d655[_0x4fe198(0x2d4)](_0x443f4d['id'],_0x443f4d[_0x4fe198(0x224)]));}for(const _0x25a12b of _0x175753){const _0x2ae090=_0x43e2fa[_0x25a12b];_0x2ae090&&_0x31d655[_0x4fe198(0x24e)](_0x2ae090['dataFieldId'])&&(_0x31d655[_0x4fe198(0x193)](_0x2ae090[_0x4fe198(0x322)],_0x2ea213[_0x4fe198(0x318)],void 0x0,_0x25a12b),_0x2ae090[_0x4fe198(0x214)]!==void 0x0&&_0x31d655[_0x4fe198(0x2bd)](_0x25a12b,_0x2ae090[_0x4fe198(0x214)]),_0x2ae090[_0x4fe198(0x1af)]&&_0x31d655[_0x4fe198(0x3a3)](_0x25a12b,_0x2ae090[_0x4fe198(0x1af)]),_0x2ae090[_0x4fe198(0x224)]&&_0x31d655[_0x4fe198(0x2d4)](_0x2ae090['id'],_0x2ae090[_0x4fe198(0x224)]));}const _0x5dbf30=_0x38d61a['valueFilter'];for(const {fieldId:_0x581d54,filterInfo:_0x31c070}of _0x5dbf30)_0x31d655[_0x4fe198(0x2ba)](_0x581d54,_0x31c070);}function Ji(_0x45be72,_0x52f899){const _0x2a5a41=_0x1e4666,_0xed9468=[];_0x52f899===_0x2ea213[_0x2a5a41(0x353)]&&_0x45be72[_0x2a5a41(0x3d2)](_0x2ea213[_0x2a5a41(0x353)],_0x5f19cf=>{const _0x2d47b3=_0x2a5a41;_0xed9468[_0x2d47b3(0x1cd)](_0x5f19cf[_0x2d47b3(0x300)]());}),_0x52f899===_0x2ea213[_0x2a5a41(0x363)]&&_0x45be72[_0x2a5a41(0x3d2)](_0x2ea213[_0x2a5a41(0x363)],_0x118dc2=>{const _0x1ef6cc=_0x2a5a41;_0xed9468[_0x1ef6cc(0x1cd)](_0x118dc2['getId']());}),_0x52f899===_0x2ea213['Filter']&&_0x45be72[_0x2a5a41(0x3d2)](_0x2ea213[_0x2a5a41(0x256)],_0x3d9ed8=>{const _0x434fd4=_0x2a5a41;_0xed9468[_0x434fd4(0x1cd)](_0x3d9ed8['getId']());}),_0x52f899===_0x2ea213['Value']&&_0x45be72['iterateFieldByArea'](_0x2ea213[_0x2a5a41(0x318)],_0x13fc41=>{const _0x3c1ba1=_0x2a5a41;_0xed9468[_0x3c1ba1(0x1cd)](_0x13fc41[_0x3c1ba1(0x300)]());}),_0x52f899===void 0x0&&_0x45be72[_0x2a5a41(0x2bc)](_0x1f5ed2=>{_0xed9468['push'](_0x1f5ed2['getId']());});const _0x76995a=_0xed9468[_0x2a5a41(0x337)];for(let _0x203c70=_0x76995a-0x1;_0x203c70>=0x0;_0x203c70--)_0x45be72[_0x2a5a41(0x174)](_0xed9468[_0x203c70]);const _0x37e308=_0x45be72['getValueFilterInfos']();for(const _0x543407 in _0x37e308)_0x45be72[_0x2a5a41(0x1c4)](_0x543407);}function Gi(_0xf59010,_0x1a6350){const _0x43a597=_0x1e4666,_0x53043f=new Date(_0x144879(_0x1a6350)),_0x6dff7e=new Date(_0x144879(_0xf59010)),_0x16faca=_0x53043f[_0x43a597(0x27f)](),_0x5cbaf4=_0x6dff7e['getFullYear'](),_0x3e85a3=_0x53043f[_0x43a597(0x2af)](),_0x1b6044=_0x6dff7e[_0x43a597(0x2af)](),_0x284964=_0x53043f[_0x43a597(0x368)](),_0x504507=_0x6dff7e[_0x43a597(0x368)](),_0x520c8c=_0x16faca===_0x5cbaf4,_0x31cb1a=_0x520c8c&&_0x3e85a3===_0x1b6044;return _0x520c8c&&_0x31cb1a&&!(_0x31cb1a&&_0x284964===_0x504507)?_0x44a7d0[_0x43a597(0x2cb)]:_0x520c8c&&!_0x31cb1a?_0x44a7d0['YearMonth']:_0x44a7d0[_0x43a597(0x176)];}function qo(_0x10cc20,_0x5c0c3f){const _0x206ac7=_0x1e4666,_0x549ad8=_0x10cc20[_0x206ac7(0x19a)]($)[_0x206ac7(0x20f)]();let _0x19e53d='';switch(_0x5c0c3f){case _0x44a7d0[_0x206ac7(0x2cb)]:_0x19e53d=_0x549ad8[_0x206ac7(0x202)];break;case _0x44a7d0[_0x206ac7(0x189)]:_0x19e53d=_0x549ad8[_0x206ac7(0x31b)];break;case _0x44a7d0[_0x206ac7(0x176)]:_0x19e53d=_0x549ad8[_0x206ac7(0x298)];break;case _0x44a7d0[_0x206ac7(0x26a)]:_0x19e53d=_0x549ad8[_0x206ac7(0x17e)];break;case _0x44a7d0[_0x206ac7(0x25b)]:_0x19e53d=_0x549ad8[_0x206ac7(0x247)];break;case _0x44a7d0[_0x206ac7(0x1d3)]:_0x19e53d=_0x549ad8['sheets-pivot.dateGroup.date'];break;case _0x44a7d0['HourMinute']:_0x19e53d=_0x549ad8[_0x206ac7(0x2a5)];break;case _0x44a7d0[_0x206ac7(0x3dd)]:_0x19e53d=_0x549ad8[_0x206ac7(0x3b4)];break;case _0x44a7d0['Minute']:_0x19e53d=_0x549ad8[_0x206ac7(0x2ce)];break;case _0x44a7d0['MonthDate']:_0x19e53d=_0x549ad8[_0x206ac7(0x231)];break;case _0x44a7d0[_0x206ac7(0x3b8)]:_0x19e53d=_0x549ad8[_0x206ac7(0x361)];break;default:_0x19e53d='';break;}return _0x19e53d;}const Ko='sheets-pivot.config',yo={};var ji=Object[_0x1e4666(0x30c)],Hi=(_0x1b9d8c,_0x1d4635,_0x31b4d8,_0x158fef)=>{const _0x4018c0=_0x1e4666;for(var _0x124c36=_0x158fef>0x1?void 0x0:_0x158fef?ji(_0x1d4635,_0x31b4d8):_0x1d4635,_0x3a4162=_0x1b9d8c[_0x4018c0(0x337)]-0x1,_0x3b9600;_0x3a4162>=0x0;_0x3a4162--)(_0x3b9600=_0x1b9d8c[_0x3a4162])&&(_0x124c36=_0x3b9600(_0x124c36)||_0x124c36);return _0x124c36;},at=(_0x4f6ddc,_0x65f64d)=>(_0x214087,_0x56c485)=>_0x65f64d(_0x214087,_0x56c485,_0x4f6ddc);let he=class extends _0x21cbed{constructor(_0x188a56,_0xfae738,_0x12bb56,_0x2db695,_0x3a1974){const _0x15abfb=_0x1e4666;super(),V(this,_0x15abfb(0x290),new Map()),V(this,_0x15abfb(0x296),new Map()),V(this,'_pivotTableRangeInfo',new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0x15abfb(0x185),new _0x4e2983()),V(this,_0x15abfb(0x175),new _0x4e2983()),V(this,'pivotInitCompleted$',this[_0x15abfb(0x175)][_0x15abfb(0x18b)]()),V(this,_0x15abfb(0x375),new _0x4e2983()),V(this,'pivotConfigChange$',this[_0x15abfb(0x375)][_0x15abfb(0x18b)]()),V(this,'_textInfo',{}),V(this,_0x15abfb(0x30f),this[_0x15abfb(0x185)][_0x15abfb(0x18b)]()),(this[_0x15abfb(0x2ca)]=_0x188a56,this[_0x15abfb(0x31c)]=_0xfae738,this['_univerInstanceService']=_0x12bb56,this['_resourceManagerService']=_0x2db695,this[_0x15abfb(0x26f)]=_0x3a1974,this['_initLocale'](),this[_0x15abfb(0x199)]());const _0x2177ba=this['_configService'][_0x15abfb(0x347)](Ko);(_0x2177ba==null?void 0x0:_0x2177ba[_0x15abfb(0x35a)])===!0x0&&this[_0x15abfb(0x223)]();}[_0x1e4666(0x199)](){const _0x279348=_0x1e4666;this[_0x279348(0x20e)](this[_0x279348(0x2d2)][_0x279348(0x16b)](_0x5c8370[_0x279348(0x392)])[_0x279348(0x3a8)](_0x40ef2d=>{const _0xf7d21a=_0x279348;this[_0xf7d21a(0x21c)](_0x40ef2d['getUnitId']());}));}[_0x1e4666(0x39a)](){const _0x178dec=_0x1e4666;this[_0x178dec(0x175)][_0x178dec(0x3d8)](!0x0);}[_0x1e4666(0x2c0)](){const _0x591835=_0x1e4666,_0x2378a3=fo(this[_0x591835(0x2ca)],Lo,'',{});this[_0x591835(0x3c2)]=_0x2378a3,this[_0x591835(0x31c)][_0x591835(0x3c3)](uo['id'],{'textInfo':_0x2378a3},{'onlyLocal':!0x0});}[_0x1e4666(0x20f)](){const _0x569f2f=_0x1e4666;return this[_0x569f2f(0x3c2)];}[_0x1e4666(0x236)](_0x17eae9,_0x14ba77,_0x247841,_0x414d6b,_0x4646a9){const _0x349b41=_0x1e4666;this[_0x349b41(0x164)](_0x17eae9,_0x14ba77,_0x247841,_0x414d6b),this['updatePivotTableRangeInfo'](_0x17eae9,_0x14ba77,_0x247841,_0x4646a9);}[_0x1e4666(0x39d)](_0x3f134b,_0x2995b1,_0x5c306c){const _0x2cfda9=_0x1e4666;var _0x34b38e;const _0x11fb36=(_0x34b38e=this[_0x2cfda9(0x290)]['get'](_0x3f134b))==null?void 0x0:_0x34b38e['get'](_0x2995b1);if(_0x11fb36)return _0x11fb36[_0x2cfda9(0x19a)](_0x5c306c);}['getTargetByPivotTableId'](_0x1bd790,_0x563710){const _0x1a84e8=_0x1e4666,_0x421539=this[_0x1a84e8(0x290)]['get'](_0x1bd790);if(_0x421539){for(const [_0x14c1b5,_0x4267ff]of _0x421539[_0x1a84e8(0x171)]())for(const [_0x3bc0cb,_0x763b1]of _0x4267ff[_0x1a84e8(0x171)]())if(_0x3bc0cb===_0x563710)return _0x763b1[_0x1a84e8(0x2e8)];}}[_0x1e4666(0x191)](_0x1db5de,_0x1e7826,_0x12b865){const _0x4d3808=_0x1e4666,_0x197035=this['getPivotTableConfig'](_0x1db5de,_0x1e7826,_0x12b865);return _0x197035==null?void 0x0:_0x197035[_0x4d3808(0x2e8)];}[_0x1e4666(0x33c)](_0xcdec35,_0x1515ad){const _0x10ff6a=_0x1e4666;var _0x4cbe12;return(_0x4cbe12=this[_0x10ff6a(0x290)][_0x10ff6a(0x19a)](_0xcdec35))==null?void 0x0:_0x4cbe12[_0x10ff6a(0x19a)](_0x1515ad);}['updateConfigCache'](_0x43a79f,_0x227cbc,_0x2808ea,_0x1d70fb){const _0x5a2c6c=_0x1e4666,_0x189705=this[_0x5a2c6c(0x2fe)](_0x43a79f,_0x227cbc);_0x1d70fb?_0x189705[_0x5a2c6c(0x321)](_0x2808ea,_0x1d70fb):_0x189705[_0x5a2c6c(0x1e8)](_0x2808ea),this[_0x5a2c6c(0x375)][_0x5a2c6c(0x3d8)]({'unitId':_0x43a79f,'subUnitId':_0x227cbc,'pivotTableId':_0x2808ea,'pivotTableConfig':_0x1d70fb});}['getCollection'](_0x7b648e,_0x1d123b){const _0x10297f=_0x1e4666;var _0x47f579;return(_0x47f579=this[_0x10297f(0x296)][_0x10297f(0x19a)](_0x7b648e))==null?void 0x0:_0x47f579[_0x10297f(0x2d0)][_0x1d123b];}[_0x1e4666(0x2b2)](_0x4cf09a,_0x5c54c5){const _0x5d45ae=_0x1e4666;this[_0x5d45ae(0x296)][_0x5d45ae(0x321)](_0x4cf09a,_0x5c54c5),this[_0x5d45ae(0x185)][_0x5d45ae(0x3d8)](Math[_0x5d45ae(0x393)]());}[_0x1e4666(0x2fe)](_0x212b26,_0xc387da){const _0x18344c=_0x1e4666;let _0x5c95ce=this['_model'][_0x18344c(0x19a)](_0x212b26);_0x5c95ce||(_0x5c95ce=new Map(),this['_model']['set'](_0x212b26,_0x5c95ce));let _0xebb1cd=_0x5c95ce[_0x18344c(0x19a)](_0xc387da);return _0xebb1cd||(_0xebb1cd=new Map(),_0x5c95ce[_0x18344c(0x321)](_0xc387da,_0xebb1cd)),_0xebb1cd;}[_0x1e4666(0x257)](_0x40f128,_0x35ef4c){const _0x3516a6=_0x1e4666;let _0x57f549=this[_0x3516a6(0x1f9)][_0x3516a6(0x19a)](_0x40f128);_0x57f549||(_0x57f549=new Map(),this[_0x3516a6(0x1f9)][_0x3516a6(0x321)](_0x40f128,_0x57f549));let _0x12af1f=_0x57f549[_0x3516a6(0x19a)](_0x35ef4c);return _0x12af1f||(_0x12af1f=new Map(),_0x57f549[_0x3516a6(0x321)](_0x35ef4c,_0x12af1f)),_0x12af1f;}[_0x1e4666(0x370)](_0x3f0c50,_0x50f0c7){const _0x235e4a=_0x1e4666;let _0x1c6710=this[_0x235e4a(0x163)][_0x235e4a(0x19a)](_0x3f0c50);_0x1c6710||(_0x1c6710=new Map(),this[_0x235e4a(0x163)][_0x235e4a(0x321)](_0x3f0c50,_0x1c6710));let _0x36acbf=_0x1c6710[_0x235e4a(0x19a)](_0x50f0c7);return _0x36acbf||(_0x36acbf=new Map(),_0x1c6710['set'](_0x50f0c7,_0x36acbf)),_0x36acbf;}['updatePivotTableRangeInfo'](_0x464668,_0x2e29fb,_0x17b9bd,_0x197d60){const _0x71bf1c=_0x1e4666;var _0x32092a;const _0x5d9841=this[_0x71bf1c(0x257)](_0x464668,_0x2e29fb),_0x3b1f8a=(_0x32092a=_0x5d9841[_0x71bf1c(0x19a)](_0x17b9bd))==null?void 0x0:_0x32092a[_0x71bf1c(0x352)];_0x5d9841['set'](_0x17b9bd,{'oldRangeInfo':_0x3b1f8a,'rangeInfo':_0x197d60});}['updatePivotTableMatrixInfo'](_0xe8b326,_0x55e953,_0x55d4d6,_0x1eb7d1){const _0x2b0d34=_0x1e4666;var _0x94a5d0;const _0x24fc36=this[_0x2b0d34(0x370)](_0xe8b326,_0x55e953),_0x36d464=(_0x94a5d0=_0x24fc36[_0x2b0d34(0x19a)](_0x55d4d6))==null?void 0x0:_0x94a5d0[_0x2b0d34(0x2db)];_0x24fc36[_0x2b0d34(0x321)](_0x55d4d6,{'oldMatrix':_0x36d464,'matrix':_0x1eb7d1});}[_0x1e4666(0x351)](_0x7d0a04,_0x506ccb,_0x19d3a7){const _0x5b9005=_0x1e4666;var _0x4c177b,_0x3514d3;return(_0x3514d3=(_0x4c177b=this[_0x5b9005(0x1f9)][_0x5b9005(0x19a)](_0x7d0a04))==null?void 0x0:_0x4c177b[_0x5b9005(0x19a)](_0x506ccb))==null?void 0x0:_0x3514d3[_0x5b9005(0x19a)](_0x19d3a7);}[_0x1e4666(0x316)](_0x23f38a,_0x33020c,_0x7890df){const _0x43a743=_0x1e4666;var _0x503025,_0x319f8b;return(_0x319f8b=(_0x503025=this[_0x43a743(0x163)]['get'](_0x23f38a))==null?void 0x0:_0x503025[_0x43a743(0x19a)](_0x33020c))==null?void 0x0:_0x319f8b[_0x43a743(0x19a)](_0x7890df);}['deleteUnitId'](_0x5ae069){const _0x2a9d53=_0x1e4666;this[_0x2a9d53(0x290)][_0x2a9d53(0x1e8)](_0x5ae069),this[_0x2a9d53(0x296)]['delete'](_0x5ae069);}[_0x1e4666(0x3db)](_0x207458){const _0x311900=_0x1e4666,_0x485b9a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x207458)&&(_0x485b9a[_0x311900(0x166)][_0x207458]=this[_0x311900(0x296)]['get'](_0x207458)),this[_0x311900(0x290)][_0x311900(0x19a)](_0x207458)){_0x485b9a[_0x311900(0x1b6)][_0x207458]={};const _0x45d8ef=this[_0x311900(0x290)][_0x311900(0x19a)](_0x207458);_0x45d8ef!=null&&_0x45d8ef[_0x311900(0x2f5)]&&[..._0x45d8ef[_0x311900(0x181)]()][_0x311900(0x276)](_0x176a7e=>{const _0x1c60e9=_0x311900,_0x3c567b=_0x45d8ef[_0x1c60e9(0x19a)](_0x176a7e);_0x3c567b!=null&&_0x3c567b[_0x1c60e9(0x2f5)]&&(_0x485b9a[_0x1c60e9(0x1b6)][_0x207458][_0x176a7e]={},[..._0x3c567b['keys']()][_0x1c60e9(0x276)](_0x3ae09c=>{const _0x28c8a5=_0x1c60e9,_0x1b4e8c=_0x3c567b[_0x28c8a5(0x19a)](_0x3ae09c);_0x1b4e8c&&(_0x485b9a[_0x28c8a5(0x1b6)][_0x207458][_0x176a7e][_0x3ae09c]=_0x1b4e8c);}));});}return _0x485b9a;}[_0x1e4666(0x223)](){const _0x9ed7c8=_0x1e4666;this[_0x9ed7c8(0x20e)](this[_0x9ed7c8(0x3de)][_0x9ed7c8(0x20d)]({'toJson':_0x2d9809=>JSON[_0x9ed7c8(0x3d5)](this[_0x9ed7c8(0x3db)](_0x2d9809)),'parseJson':_0x275064=>({}),'businesses':[_0x5c8370[_0x9ed7c8(0x392)]],'pluginName':ao,'onLoad':(_0xddf33,_0x2cbf77)=>{},'onUnLoad':_0xe1e572=>{this['deleteUnitId'](_0xe1e572);}}));}};he=Hi([at(0x0,_0x52ddbc(_0x4903de)),at(0x1,_0x52ddbc(_0x13bfb7)),at(0x2,_0x52ddbc(_0x11d98b)),at(0x3,_0x52ddbc(_0x375aa3)),at(0x4,_0x52ddbc(_0x6f69e8))],he);var qi=Object['getOwnPropertyDescriptor'],Ki=(_0xd387a,_0x24a9dd,_0x3ddcfa,_0x1d7635)=>{const _0x1e3219=_0x1e4666;for(var _0x58a329=_0x1d7635>0x1?void 0x0:_0x1d7635?qi(_0x24a9dd,_0x3ddcfa):_0x24a9dd,_0xb05c9a=_0xd387a[_0x1e3219(0x337)]-0x1,_0x57fa72;_0xb05c9a>=0x0;_0xb05c9a--)(_0x57fa72=_0xd387a[_0xb05c9a])&&(_0x58a329=_0x57fa72(_0x58a329)||_0x58a329);return _0x58a329;},rt=(_0x22da84,_0x201278)=>(_0x521e05,_0x229df3)=>_0x201278(_0x521e05,_0x229df3,_0x22da84);let Ne=class extends _0x21cbed{constructor(_0x215390,_0x3681d6,_0x22c68e,_0x3a0a3c,_0x11e1de){const _0x5dfcf2=_0x1e4666;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x5dfcf2(0x201),new Map()),V(this,_0x5dfcf2(0x1cf),new _0x4e2983()),V(this,_0x5dfcf2(0x340),this[_0x5dfcf2(0x1cf)][_0x5dfcf2(0x18b)]()),V(this,_0x5dfcf2(0x326),new _0x4e2983()),V(this,_0x5dfcf2(0x2aa),this[_0x5dfcf2(0x326)]['asObservable']()),V(this,_0x5dfcf2(0x3c2)),(this[_0x5dfcf2(0x15e)]=_0x215390,this['_injector']=_0x3681d6,this[_0x5dfcf2(0x2cc)]=_0x22c68e,this[_0x5dfcf2(0x2d2)]=_0x3a0a3c,this[_0x5dfcf2(0x3cf)]=_0x11e1de,this[_0x5dfcf2(0x2c0)](),this[_0x5dfcf2(0x199)]());}[_0x1e4666(0x199)](){const _0x1a842f=_0x1e4666;this[_0x1a842f(0x20e)](this['_univerInstanceService'][_0x1a842f(0x16b)](_0x5c8370['UNIVER_SHEET'])[_0x1a842f(0x3a8)](_0x15c8fa=>{const _0x5241e9=_0x1a842f;this['deleteUnitId'](_0x15c8fa[_0x5241e9(0x312)]());}));}[_0x1e4666(0x2c0)](){const _0x4fe572=_0x1e4666;this[_0x4fe572(0x3c2)]=fo(this['_injector'],Lo,'',{});}['updateRenderCache'](_0x2c3e97){const _0xd09f1d=_0x1e4666,{view:_0x57e83d,unitId:_0x47a948,subUnitId:_0x139ec4,pivotTableId:_0x5b797f,type:_0x58beea}=_0x2c3e97,_0x3f5f59=this['_sheetsPivotTableConfigModel'][_0xd09f1d(0x39d)](_0x47a948,_0x139ec4,_0x5b797f);if(!_0x57e83d||!_0x3f5f59||_0x58beea===B[_0xd09f1d(0x23d)])return;const {pageView:_0x2b6cec,cornerView:_0x1fcb31,rowView:_0x84756c,colView:_0x4a4766,dataView:_0x1e9271}=_0x57e83d,_0x287022=_0x3f5f59['targetCellInfo'],_0x5905fb=_0x3f5f59[_0xd09f1d(0x287)],_0x1c2783=this[_0xd09f1d(0x3cc)](_0x47a948,_0x139ec4),_0x37a3d4=this[_0xd09f1d(0x39e)](_0x47a948,_0x139ec4,_0x5b797f);if(_0x5905fb)return this[_0xd09f1d(0x241)](_0x2c3e97,_0x1c2783,_0x287022,_0x37a3d4);{const _0x2c9fae=ge(_0x287022,_0x2b6cec,!0x0),_0xa85bff=_0x2b6cec[_0xd09f1d(0x267)]>=0x0?_0x2b6cec[_0xd09f1d(0x267)]+0x1:0x0,_0xcf06f=_0x1fcb31['getRowCount'](),_0x1bfe0b=_0x1fcb31['getColCount'](),_0x44b83d=_0x2c9fae[_0xd09f1d(0x337)]>0x0?It:0x0,_0xfe2085=ge({'row':_0x287022[_0xd09f1d(0x17f)]+_0xa85bff+_0x44b83d,'col':_0x287022[_0xd09f1d(0x1f5)]},_0x1fcb31,!0x1,!0x1),_0x5c1734=ge({'row':_0x287022[_0xd09f1d(0x17f)]+_0xa85bff+_0x44b83d+_0xcf06f,'col':_0x287022[_0xd09f1d(0x1f5)]},_0x84756c,!0x1,!0x0),_0x56116c=ge({'row':_0x287022[_0xd09f1d(0x17f)]+_0xa85bff+_0x44b83d,'col':_0x287022[_0xd09f1d(0x1f5)]+_0x1bfe0b},_0x4a4766,!0x1,!0x0),_0x18872e=ge({'row':_0x287022[_0xd09f1d(0x17f)]+_0xa85bff+_0x44b83d+_0xcf06f,'col':_0x287022['col']+_0x1bfe0b},_0x1e9271,!0x1,!0x1);_0x37a3d4[_0xd09f1d(0x2b0)]={'rowRanges':_0x5c1734,'colRanges':_0x56116c,'cornerRanges':_0xfe2085,'dataRanges':_0x18872e,'pageRanges':_0x2c9fae};const _0x5067e9=yi(this[_0xd09f1d(0x2ca)],_0x57e83d,_0x3f5f59,this[_0xd09f1d(0x3c2)]),{valueMatrix:_0x3c213c,rowInfo:_0x27eac7,colInfo:_0x572d68,cornerInfo:_0x5dfd46,rowHeaderMap:_0x1d5ecf,colHeaderMap:_0x35f37a}=_0x5067e9;return _0x37a3d4[_0xd09f1d(0x19d)]={'rowInfo':_0x27eac7,'colInfo':_0x572d68,'cornerInfo':_0x5dfd46},_0x37a3d4[_0xd09f1d(0x273)]={'rowHeaderMap':_0x1d5ecf,'colHeaderMap':_0x35f37a},_0x3c213c[_0xd09f1d(0x276)]((_0x38dde0,_0x8fa5c3)=>{const _0x9f8aa0=_0xd09f1d;Object[_0x9f8aa0(0x181)](_0x8fa5c3)[_0x9f8aa0(0x276)](_0x3c0402=>{const _0x435b19=_0x9f8aa0,_0x632280=+_0x3c0402,_0x2967d7=_0x3c213c[_0x435b19(0x35f)](_0x38dde0,_0x632280);_0x1c2783[_0x435b19(0x2a7)](_0x38dde0,_0x632280,_0x2967d7);});}),this[_0xd09f1d(0x326)][_0xd09f1d(0x3d8)]({'unitId':_0x47a948,'subUnitId':_0x139ec4,'valueMatrix':_0x1c2783,'rangesCache':_0x37a3d4['rangesInfo'],'pivotTableId':_0x5b797f,'type':_0x2c3e97[_0xd09f1d(0x38b)]}),this[_0xd09f1d(0x2cc)]['updateViewInfo'](_0x47a948,_0x139ec4,_0x5b797f,_0x1c2783,_0x37a3d4['rangesInfo']),this['_exclusiveRangeService'][_0xd09f1d(0x289)](_0x47a948,_0x139ec4,Wt,this[_0xd09f1d(0x26e)](_0x37a3d4[_0xd09f1d(0x2b0)],_0x5b797f)),{'rangeCache':_0x37a3d4[_0xd09f1d(0x2b0)],'matrix':_0x1c2783};}}[_0x1e4666(0x241)](_0x14e80f,_0x5c5687,_0x27e1b9,_0x5ea912){const _0x5b3b93=_0x1e4666,_0x87b19a=this['_localeService']['t'],{unitId:_0x5e5ff6,subUnitId:_0x311c9c,pivotTableId:_0x26766}=_0x14e80f,_0x6d3db2={'filter':_0x87b19a(_0x5b3b93(0x294)),'row':_0x87b19a(_0x5b3b93(0x1cc)),'column':_0x87b19a(_0x5b3b93(0x3bc)),'values':_0x87b19a(_0x5b3b93(0x1ff))},{matrixCache:_0x55a6f5,rangesCache:_0x52de5b}=Go(_0x6d3db2,_0x27e1b9);return _0x55a6f5['forValue']((_0x3f8201,_0x1205ab,_0x41c00e)=>{_0x5c5687['setValue'](_0x3f8201,_0x1205ab,_0x41c00e);}),_0x5ea912[_0x5b3b93(0x2b0)]=_0x52de5b,this[_0x5b3b93(0x326)]['next']({'unitId':_0x5e5ff6,'subUnitId':_0x311c9c,'valueMatrix':_0x5c5687,'rangesCache':_0x52de5b,'pivotTableId':_0x26766,'type':_0x14e80f[_0x5b3b93(0x38b)],'isEmpty':!0x0}),this[_0x5b3b93(0x2cc)][_0x5b3b93(0x236)](_0x5e5ff6,_0x311c9c,_0x26766,_0x5c5687,_0x52de5b),this[_0x5b3b93(0x3cf)][_0x5b3b93(0x289)](_0x5e5ff6,_0x311c9c,Wt,this[_0x5b3b93(0x26e)](_0x52de5b,_0x26766)),{'rangeCache':_0x5ea912[_0x5b3b93(0x2b0)],'matrix':_0x5c5687};}['_createExclusiveRange'](_0x466f2c,_0x430415){const _0x1b51e2=[],_0x321507=Bt(_0x466f2c);for(const _0x189ebc of _0x321507)_0x1b51e2['push']({'groupId':_0x430415,'range':_0x189ebc});return _0x1b51e2;}[_0x1e4666(0x242)](_0x4c682a){const _0x1258ab=_0x1e4666;var _0x5b28c4,_0x3e0445,_0x201af9,_0xf0817c;const {pivotTableId:_0x5fa5de,unitId:_0x759d3d,subUnitId:_0x20edf0}=_0x4c682a;if(!_0x5fa5de||!_0x759d3d||!_0x20edf0)return;const _0x47fbf2=this[_0x1258ab(0x3cc)](_0x759d3d,_0x20edf0),_0x2cc7ae=(_0x3e0445=(_0x5b28c4=this[_0x1258ab(0x330)][_0x1258ab(0x19a)](_0x759d3d))==null?void 0x0:_0x5b28c4[_0x1258ab(0x19a)](_0x20edf0))==null?void 0x0:_0x3e0445[_0x1258ab(0x19a)](_0x5fa5de);if(_0x2cc7ae!=null&&_0x2cc7ae['rangesInfo']){for(const _0x4ca9b2 of Object[_0x1258ab(0x181)](_0x2cc7ae[_0x1258ab(0x2b0)]))_0x2cc7ae['rangesInfo'][_0x4ca9b2][_0x1258ab(0x276)](_0x165a2f=>{const _0x5647c0=_0x1258ab;for(let _0x5a4f0d=_0x165a2f[_0x5647c0(0x1a0)];_0x5a4f0d<=_0x165a2f[_0x5647c0(0x239)];_0x5a4f0d++)for(let _0x29a95e=_0x165a2f[_0x5647c0(0x2c3)];_0x29a95e<=_0x165a2f[_0x5647c0(0x38a)];_0x29a95e++)_0x47fbf2[_0x5647c0(0x364)](_0x5a4f0d,_0x29a95e);});}_0x2cc7ae&&((_0xf0817c=(_0x201af9=this[_0x1258ab(0x330)][_0x1258ab(0x19a)](_0x759d3d))==null?void 0x0:_0x201af9[_0x1258ab(0x19a)](_0x20edf0))==null||_0xf0817c['delete'](_0x5fa5de)),this['_viewUpdate$'][_0x1258ab(0x3d8)]({'unitId':_0x759d3d,'subUnitId':_0x20edf0,'valueMatrix':_0x47fbf2,'pivotTableId':_0x5fa5de,'rangesCache':void 0x0,'type':_0x4c682a[_0x1258ab(0x38b)]}),this[_0x1258ab(0x3cf)]['clearExclusiveRangesByGroupId'](_0x759d3d,_0x20edf0,Wt,_0x5fa5de);}[_0x1e4666(0x39e)](_0x3836ea,_0x1c6abb,_0x460301){const _0x247155=_0x1e4666;var _0x1c5fec,_0x5c7703,_0xc908c2,_0x459a80,_0x485281,_0x726cd4;return this[_0x247155(0x330)][_0x247155(0x2b7)](_0x3836ea)||this[_0x247155(0x330)][_0x247155(0x321)](_0x3836ea,new Map()),(_0x1c5fec=this['_pivotRenderInfoCache']['get'](_0x3836ea))!=null&&_0x1c5fec[_0x247155(0x2b7)](_0x1c6abb)||(_0x5c7703=this[_0x247155(0x330)][_0x247155(0x19a)](_0x3836ea))==null||_0x5c7703[_0x247155(0x321)](_0x1c6abb,new Map()),(_0x459a80=(_0xc908c2=this[_0x247155(0x330)][_0x247155(0x19a)](_0x3836ea))==null?void 0x0:_0xc908c2['get'](_0x1c6abb))!=null&&_0x459a80[_0x247155(0x2b7)](_0x460301)||(_0x726cd4=(_0x485281=this[_0x247155(0x330)][_0x247155(0x19a)](_0x3836ea))==null?void 0x0:_0x485281[_0x247155(0x19a)](_0x1c6abb))==null||_0x726cd4[_0x247155(0x321)](_0x460301,{}),this[_0x247155(0x330)][_0x247155(0x19a)](_0x3836ea)[_0x247155(0x19a)](_0x1c6abb)[_0x247155(0x19a)](_0x460301);}[_0x1e4666(0x3cc)](_0x1d4799,_0x49b3c8){const _0x41454e=_0x1e4666;var _0x35f9b4,_0x3d2c99;return this[_0x41454e(0x201)][_0x41454e(0x2b7)](_0x1d4799)||this[_0x41454e(0x201)][_0x41454e(0x321)](_0x1d4799,new Map()),(_0x35f9b4=this['_pivotRenderValueMatrixCache'][_0x41454e(0x19a)](_0x1d4799))!=null&&_0x35f9b4[_0x41454e(0x2b7)](_0x49b3c8)||(_0x3d2c99=this[_0x41454e(0x201)][_0x41454e(0x19a)](_0x1d4799))==null||_0x3d2c99['set'](_0x49b3c8,new _0x1b3fd2()),this['_pivotRenderValueMatrixCache']['get'](_0x1d4799)['get'](_0x49b3c8);}['getPivotTableCellData'](_0x717853,_0xd42bfa,_0x63dd7f,_0x3f3a87){const _0x564411=_0x1e4666;var _0x5ed6d0,_0xce17fb;const _0x213c33=(_0xce17fb=(_0x5ed6d0=this['_pivotRenderValueMatrixCache']['get'](_0x717853))==null?void 0x0:_0x5ed6d0[_0x564411(0x19a)](_0xd42bfa))==null?void 0x0:_0xce17fb[_0x564411(0x35f)](_0x63dd7f,_0x3f3a87);if(_0x213c33!=null)return _0x213c33;}[_0x1e4666(0x167)](_0x4636a8,_0x68f80f,_0xf2f2c3,_0x17f470){const _0x3d3b9c=_0x1e4666;var _0x222782;const _0x5832ca=_0x44c758(_0xf2f2c3,_0x17f470),_0x392617=(_0x222782=this['_pivotRenderInfoCache']['get'](_0x4636a8))==null?void 0x0:_0x222782['get'](_0x68f80f);return _0x392617?Array['from'](_0x392617[_0x3d3b9c(0x181)]())['find'](_0x54f91d=>{const _0x29d0e8=_0x3d3b9c,_0xfe9f1=_0x392617['get'](_0x54f91d),_0x4fe1f4=_0xfe9f1==null?void 0x0:_0xfe9f1[_0x29d0e8(0x2b0)];return _0x4fe1f4?Object[_0x29d0e8(0x181)](_0x4fe1f4)[_0x29d0e8(0x283)](_0x37d118=>_0x4fe1f4[_0x37d118]['some'](_0x266d41=>_0x100b6c[_0x29d0e8(0x33f)](_0x266d41,_0x5832ca))):!0x1;}):void 0x0;}[_0x1e4666(0x3a5)](_0x161ff3,_0x49ddfc,_0xf36963){const _0x10e005=_0x1e4666;var _0x22825d;const _0x2678d4=(_0x22825d=this['_pivotRenderInfoCache'][_0x10e005(0x19a)](_0x161ff3))==null?void 0x0:_0x22825d[_0x10e005(0x19a)](_0x49ddfc),_0x59e840=[];return _0x2678d4&&Array[_0x10e005(0x22b)](_0x2678d4[_0x10e005(0x181)]())[_0x10e005(0x276)](_0x3e6a83=>{const _0x4b27ca=_0x10e005,_0x2b8f7c=_0x2678d4[_0x4b27ca(0x19a)](_0x3e6a83),_0x3cf260=_0x2b8f7c==null?void 0x0:_0x2b8f7c[_0x4b27ca(0x2b0)];if(_0x3cf260)for(const _0x7018fa of Object[_0x4b27ca(0x216)](_0x3cf260)){let _0x28423e=!0x1;for(const _0x152a54 of _0x7018fa)if(_0x100b6c[_0x4b27ca(0x1a1)](_0x152a54,_0xf36963)){_0x59e840[_0x4b27ca(0x1cd)](_0x3e6a83),_0x28423e=!0x0;break;}if(_0x28423e)break;}}),_0x59e840;}[_0x1e4666(0x1de)](_0x3b88e7,_0x1526db){const _0x562e28=_0x1e4666;var _0x474659,_0x5f21ca;return(_0x5f21ca=(_0x474659=this['_pivotRenderValueMatrixCache'][_0x562e28(0x19a)](_0x3b88e7))==null?void 0x0:_0x474659[_0x562e28(0x19a)](_0x1526db))!=null?_0x5f21ca:new _0x1b3fd2();}[_0x1e4666(0x302)](_0x19c72d,_0x58ec56){const _0x1b7219=_0x1e4666;var _0x2a3c27;return(_0x2a3c27=this['_pivotRenderInfoCache'][_0x1b7219(0x19a)](_0x19c72d))==null?void 0x0:_0x2a3c27[_0x1b7219(0x19a)](_0x58ec56);}['getPivotItemRenderInfoCache'](_0x414dac,_0x16a9f3,_0x491e29){const _0x1bb06c=_0x1e4666;var _0x368ef4,_0x31f63e;return(_0x31f63e=(_0x368ef4=this['_pivotRenderInfoCache'][_0x1bb06c(0x19a)](_0x414dac))==null?void 0x0:_0x368ef4['get'](_0x16a9f3))==null?void 0x0:_0x31f63e[_0x1bb06c(0x19a)](_0x491e29);}[_0x1e4666(0x21c)](_0x467f8f){const _0x1f8d76=_0x1e4666;this['_pivotRenderInfoCache'][_0x1f8d76(0x1e8)](_0x467f8f),this['_pivotRenderValueMatrixCache'][_0x1f8d76(0x1e8)](_0x467f8f);}[_0x1e4666(0x37d)](_0x1d11d9,_0x150b4f){const _0x93c2ee=_0x1e4666;this[_0x93c2ee(0x1cf)][_0x93c2ee(0x3d8)]({'unitId':_0x1d11d9,'subUnitId':_0x150b4f});}};Ne=Ki([rt(0x0,_0x52ddbc(_0x1c8344)),rt(0x1,_0x52ddbc(_0x4903de)),rt(0x2,_0x52ddbc(he)),rt(0x3,_0x52ddbc(_0x11d98b)),rt(0x4,_0x52ddbc(_0x3b59d3))],Ne);var Xi=Object[_0x1e4666(0x30c)],zi=(_0x4ed08f,_0x1c52cd,_0x5d5a66,_0x113904)=>{const _0x4f0b23=_0x1e4666;for(var _0x211f10=_0x113904>0x1?void 0x0:_0x113904?Xi(_0x1c52cd,_0x5d5a66):_0x1c52cd,_0x411863=_0x4ed08f[_0x4f0b23(0x337)]-0x1,_0xe374cd;_0x411863>=0x0;_0x411863--)(_0xe374cd=_0x4ed08f[_0x411863])&&(_0x211f10=_0xe374cd(_0x211f10)||_0x211f10);return _0x211f10;},Mo=(_0x2beb81,_0x1cf103)=>(_0x3185e2,_0x398a92)=>_0x1cf103(_0x3185e2,_0x398a92,_0x2beb81);let ie=class extends _0x21cbed{constructor(_0x2fedf7,_0x35e95d){const _0x120061=_0x1e4666;super(),V(this,_0x120061(0x258),new _0x2a0596({'PIVOT_PERFORM_CHECK':be})),V(this,_0x120061(0x397),new _0x48a456({'PIVOT_MUTATION_GENERATE':$o})),(this['_sheetInterceptorService']=_0x2fedf7,this[_0x120061(0x2f0)]=_0x35e95d,this[_0x120061(0x23b)]());}[_0x1e4666(0x23b)](){this['_initViewModelBySheetInterceptor']();}[_0x1e4666(0x2ab)](_0x1aad06){const _0x78f4c0=_0x1e4666;return this['asyncInterceptor'][_0x78f4c0(0x3ab)](be)(!0x1,_0x1aad06);}[_0x1e4666(0x3bf)](){const _0x4c04b4=_0x1e4666;this[_0x4c04b4(0x20e)](this[_0x4c04b4(0x1f4)][_0x4c04b4(0x27d)](_0x27ae9f[_0x4c04b4(0x2dd)],{'priority':0xc8,'effect':_0x15afcb[_0x4c04b4(0x318)]|_0x15afcb['Style'],'handler':(_0x11303f,_0x3b52dd,_0x29a895)=>{const _0x52826b=_0x4c04b4,{row:_0x57958f,col:_0x55c08b,unitId:_0x454f28,subUnitId:_0x4b8697,workbook:_0x48280d}=_0x3b52dd,_0x261aac=this[_0x52826b(0x2f0)][_0x52826b(0x1f1)](_0x454f28,_0x4b8697,_0x57958f,_0x55c08b);if(!_0x261aac)return _0x29a895(_0x11303f);const _0x59bbf5={..._0x11303f};(_0x261aac['v']||_0x261aac['v']===0x0)&&(_0x59bbf5['v']=_0x261aac['v']),_0x261aac['t']&&(_0x59bbf5['t']=_0x261aac['t']);const _0x2ae0c0=(typeof(_0x11303f==null?void 0x0:_0x11303f['s'])==_0x52826b(0x1f2)?_0x48280d['getStyles']()[_0x52826b(0x19a)](_0x11303f==null?void 0x0:_0x11303f['s']):_0x11303f==null?void 0x0:_0x11303f['s'])||{},_0x2780ef=_0x48280d[_0x52826b(0x17b)]()[_0x52826b(0x19a)](_0x261aac['s']),_0x368a99={..._0x2780ef,..._0x2ae0c0};_0x2780ef!=null&&_0x2780ef['n']&&(_0x368a99['n']=_0x2780ef['n']);const _0x30f4ee=_0x48280d['getStyles']()[_0x52826b(0x2a7)](_0x368a99);return _0x59bbf5['s']=_0x30f4ee,(_0x261aac[_0x52826b(0x1ce)]===_0x5896d6['Collapse']||_0x261aac['pbt']===_0x5896d6['Expand'])&&(_0x59bbf5[_0x52826b(0x237)]={},_0x59bbf5[_0x52826b(0x237)][_0x52826b(0x29f)]=li),_0x29a895(_0x59bbf5);}}));}};ie=zi([Mo(0x0,_0x52ddbc(_0x132175)),Mo(0x1,_0x52ddbc(Ne))],ie);function Nt(_0x30aff0,_0x5b8806){const _0x25f36f=_0x1e4666;switch(_0x5b8806){case _0x2ea213['Value']:return _0x30aff0[_0x25f36f(0x2d5)];case _0x2ea213[_0x25f36f(0x256)]:return _0x30aff0[_0x25f36f(0x38f)];case _0x2ea213[_0x25f36f(0x353)]:return _0x30aff0[_0x25f36f(0x1c1)];case _0x2ea213[_0x25f36f(0x363)]:return _0x30aff0[_0x25f36f(0x209)];default:return[];}}function Ye(_0x26fcab,_0x35884a){const _0x41382d=_0x1e4666;return _0x26fcab['measure'][_0x35884a]||_0x26fcab[_0x41382d(0x1ae)][_0x35884a];}function Qi(_0x489719,_0x5079a8){const _0x2d75a1=_0x1e4666,{area:_0x2f692e,fieldJson:_0x3a67b1,index:_0xf1dcfd}=_0x5079a8;_0x2f692e===_0x2ea213['Value']?_0x489719[_0x2d75a1(0x360)][_0x3a67b1['id']]=_0x3a67b1:_0x489719['dimension'][_0x3a67b1['id']]=_0x3a67b1,Nt(_0x489719,_0x2f692e)[_0x2d75a1(0x252)](_0xf1dcfd,0x0,_0x3a67b1['id']);}function Zi(_0x465c72,_0x5a6b21){const _0xf5e86d=_0x1e4666,{area:_0x29cf5a,fieldId:_0x5db4ba,index:_0x5b96c7}=_0x5a6b21;_0x29cf5a===_0x2ea213[_0xf5e86d(0x318)]?delete _0x465c72[_0xf5e86d(0x360)][_0x5db4ba]:delete _0x465c72[_0xf5e86d(0x1ae)][_0x5db4ba],Nt(_0x465c72,_0x29cf5a)[_0xf5e86d(0x252)](_0x5b96c7,0x1);}function es(_0x227c67,_0x365689){const {fieldId:_0x23d561,name:_0x40923e}=_0x365689,_0x3d6b05=Ye(_0x227c67,_0x23d561);_0x3d6b05&&(_0x3d6b05['displayName']=_0x40923e);}function ts(_0x5b9484,_0xa563dd){const _0x2b82ba=_0x1e4666,{fieldId:_0x4f5fe4,collapse:_0x174b16,item:_0x42901d}=_0xa563dd;_0x42901d!==void 0x0?(_0x5b9484[_0x2b82ba(0x215)][_0x4f5fe4]=_0x5b9484[_0x2b82ba(0x215)][_0x4f5fe4]||{},_0x5b9484['collapseInfo'][_0x4f5fe4][_0x42901d]=_0x174b16):_0x5b9484[_0x2b82ba(0x215)][_0x4f5fe4]=_0x174b16;}function os(_0x282aba,_0xd9b92f){const _0x4e033a=_0x1e4666,{fieldId:_0x11d827,format:_0x3b35ed}=_0xd9b92f,_0x4e4df8=Ye(_0x282aba,_0x11d827);_0x4e4df8&&(_0x4e4df8[_0x4e033a(0x1af)]=_0x3b35ed);}function ns(_0x5a2aaa,_0x2238b8){const {fieldId:_0x4a788a,filterInfo:_0x16aa1b}=_0x2238b8,_0x3e0b1c=Ye(_0x5a2aaa,_0x4a788a);_0x3e0b1c&&(_0x3e0b1c['filterInfo']=_0x16aa1b);}function is(_0x2df8fb,_0x1f47a5){const _0x342fd2=_0x1e4666,{fieldId:_0x150bea,filterInfo:_0x563bc4}=_0x1f47a5,_0x36ed05=_0x2df8fb[_0x342fd2(0x2a2)][_0x342fd2(0x24d)](_0x2f38e0=>_0x2f38e0['fieldId']!==_0x150bea);_0x563bc4&&_0x36ed05[_0x342fd2(0x1cd)]({'fieldId':_0x150bea,'filterInfo':_0x563bc4}),_0x2df8fb[_0x342fd2(0x2a2)]=_0x36ed05;}function ss(_0x154bfe,_0x28a771){const _0x54fe16=_0x1e4666,{fieldId:_0x4df51a,subtotalType:_0x467c0b}=_0x28a771,_0x365925=Ye(_0x154bfe,_0x4df51a);_0x365925&&(_0x365925[_0x54fe16(0x214)]=_0x467c0b);}function as(_0x44be35,_0x58669e){const _0x2bfd66=_0x1e4666,{fieldId:_0x29d556,oldArea:_0x48757f,area:_0x50c0c2,oldIndex:_0x5ac3ce,index:_0x2fdcbc}=_0x58669e,_0x371a73=_0x48757f!==_0x2ea213[_0x2bfd66(0x318)]&&_0x50c0c2===_0x2ea213[_0x2bfd66(0x318)],_0x5f4e31=_0x48757f===_0x2ea213[_0x2bfd66(0x318)]&&_0x50c0c2!==_0x2ea213['Value'];if(_0x371a73||_0x5f4e31){const _0x8dc16d=Ye(_0x44be35,_0x29d556);_0x8dc16d&&(_0x371a73?(delete _0x44be35[_0x2bfd66(0x1ae)][_0x29d556],_0x44be35[_0x2bfd66(0x360)][_0x29d556]=_0x8dc16d):(delete _0x44be35[_0x2bfd66(0x360)][_0x29d556],_0x44be35[_0x2bfd66(0x1ae)][_0x29d556]=_0x8dc16d));}const _0x31d47f=Nt(_0x44be35,_0x48757f),_0x2d51cd=Nt(_0x44be35,_0x50c0c2);_0x31d47f['splice'](_0x5ac3ce,0x1),_0x2d51cd[_0x2bfd66(0x252)](_0x2fdcbc,0x0,_0x29d556);}function rs(_0x2bbfa6,_0x4eafb5){const _0x435ebe=_0x1e4666,{valuePosition:_0x818760,index:_0x1fae5c}=_0x4eafb5;_0x2bbfa6[_0x435ebe(0x3c5)]=_0x818760,_0x2bbfa6['valueIndex']=_0x1fae5c;}function ls(_0x3b6c2f,_0x285e99){const _0x354570=_0x1e4666,{tableFieldId:_0x59f48a,sourceName:_0x30c0d9,dataFieldId:_0x3f5bc}=_0x285e99,_0x1593fd=Ye(_0x3b6c2f,_0x59f48a);_0x1593fd&&(_0x1593fd[_0x354570(0x25f)]=_0x30c0d9,_0x1593fd[_0x354570(0x322)]=_0x3f5bc);}function cs(_0x63645c,_0x4b6b81){const _0xf75400=_0x1e4666,{fieldId:_0x370750,sortInfo:_0x479ab9}=_0x4b6b81,_0x457957=Ye(_0x63645c,_0x370750);_0x457957&&(_0x457957[_0xf75400(0x33e)]=_0x479ab9);}function ds(_0x1a0da1,_0x192321){const _0x553839=_0x1e4666,{options:_0x30bdb3}=_0x192321;_0x1a0da1[_0x553839(0x1da)]={..._0x1a0da1[_0x553839(0x1da)],..._0x30bdb3};}const $t={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x2a4),'handler'(_0x1a7db6,_0xe4113d){const _0x244238=_0x1e4666;if(!_0xe4113d)return!0x1;if(!!_0x1a7db6['get'](_0x6f69e8)['getConfig'](q))return!0x0;const _0x1cb3c8=_0x1a7db6['get']($),{pivotTableId:_0x46b5a9,fieldJson:_0x2c9a09,area:_0x4d3d30,index:_0x56d51f,unitId:_0x2d9b0e,subUnitId:_0x149dcd}=_0xe4113d,_0x298ad6=_0x1cb3c8[_0x244238(0x3aa)](_0x46b5a9);if(!_0x298ad6)return!0x1;let _0x32cc7a;_0x4d3d30===_0x2ea213['Value']?_0x32cc7a=_0x3a28c1(_0x2c9a09):_0x32cc7a=_0x355051(_0x2c9a09),_0x298ad6['addField'](_0x32cc7a,_0x4d3d30,_0x56d51f);const _0xcde771=_0x1cb3c8[_0x244238(0x343)](_0x2d9b0e,_0x149dcd,_0x46b5a9);Qi(_0xcde771,_0xe4113d);const _0x5eb5da=_0x1cb3c8[_0x244238(0x39d)](_0x2d9b0e,_0x149dcd,_0x46b5a9);return _0x1cb3c8[_0x244238(0x1bd)]({'unitId':_0x2d9b0e,'subUnitId':_0x149dcd,'token':_0x46b5a9,'type':B[_0x244238(0x1b0)],'pivotConfig':_0x5eb5da}),!0x0;}},Yt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x2b8),'handler'(_0x22dd86,_0x355949){const _0x5da6cb=_0x1e4666;if(!_0x355949)return!0x1;if(!!_0x22dd86[_0x5da6cb(0x19a)](_0x6f69e8)[_0x5da6cb(0x347)](q))return!0x0;const _0x1cc78=_0x22dd86['get']($),{pivotTableId:_0x1f5562,fieldId:_0x409aca,unitId:_0x5f5813,subUnitId:_0x1160ca}=_0x355949,_0x202594=_0x1cc78[_0x5da6cb(0x3aa)](_0x1f5562);if(!_0x202594)return!0x1;_0x202594['removeField'](_0x409aca);const _0x41be78=_0x1cc78[_0x5da6cb(0x343)](_0x5f5813,_0x1160ca,_0x1f5562);Zi(_0x41be78,_0x355949);const _0x38f8d8=_0x1cc78[_0x5da6cb(0x39d)](_0x5f5813,_0x1160ca,_0x1f5562);return _0x1cc78[_0x5da6cb(0x1bd)]({'unitId':_0x5f5813,'subUnitId':_0x1160ca,'token':_0x1f5562,'type':B['Set'],'pivotConfig':_0x38f8d8}),!0x0;}},Jt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x266),'handler'(_0x4ac30a,_0x28b0eb){const _0x1399e1=_0x1e4666;if(!_0x28b0eb)return!0x1;if(!!_0x4ac30a['get'](_0x6f69e8)[_0x1399e1(0x347)](q))return!0x0;const _0x1fd51e=_0x4ac30a['get']($),{unitId:_0x32106b,subUnitId:_0x32ce69,pivotTableId:_0x5709f0,fieldId:_0x4712de,name:_0xac06aa}=_0x28b0eb,_0x59748f=_0x1fd51e['getPivotTableInstance'](_0x5709f0);if(!_0x59748f)return!0x1;_0x59748f[_0x1399e1(0x2d4)](_0x4712de,_0xac06aa);const _0x3a1ffd=_0x1fd51e[_0x1399e1(0x343)](_0x32106b,_0x32ce69,_0x5709f0);return es(_0x3a1ffd,_0x28b0eb),_0x1fd51e['addDirtyPivotTable']({'unitId':_0x32106b,'subUnitId':_0x32ce69,'token':_0x5709f0,'type':B[_0x1399e1(0x1b0)]}),!0x0;}},Gt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x221),'handler'(_0x494649,_0x528316){const _0x29c343=_0x1e4666;if(!_0x528316)return!0x1;if(!!_0x494649['get'](_0x6f69e8)[_0x29c343(0x347)](q))return!0x0;const _0x226eb2=_0x494649[_0x29c343(0x19a)]($),{unitId:_0x1f287b,subUnitId:_0x102f41,pivotTableId:_0x346a11,fieldId:_0xe568cb,collapse:_0x490322,item:_0x55d2d3}=_0x528316,_0x188d01=_0x226eb2[_0x29c343(0x3aa)](_0x346a11);if(!_0x188d01)return!0x1;_0x188d01['setCollapse'](_0xe568cb,_0x490322,_0x55d2d3);const _0x3dd9ff=_0x226eb2[_0x29c343(0x343)](_0x1f287b,_0x102f41,_0x346a11);return ts(_0x3dd9ff,_0x528316),_0x226eb2[_0x29c343(0x1bd)]({'unitId':_0x1f287b,'subUnitId':_0x102f41,'token':_0x346a11,'type':B['Set']}),!0x0;}},jt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x24c),'handler'(_0x5156be,_0x5ac9d9){const _0xccfb4=_0x1e4666;if(!_0x5ac9d9)return!0x1;if(!!_0x5156be['get'](_0x6f69e8)[_0xccfb4(0x347)](q))return!0x0;const _0xa6b0a5=_0x5156be[_0xccfb4(0x19a)]($),{unitId:_0x25c4bd,subUnitId:_0x40d4fd,pivotTableId:_0x262507,fieldId:_0x47d77c,format:_0x387dbb}=_0x5ac9d9,_0x1c9fc6=_0xa6b0a5[_0xccfb4(0x3aa)](_0x262507);if(!_0x1c9fc6)return!0x1;_0x1c9fc6[_0xccfb4(0x3a3)](_0x47d77c,_0x387dbb);const _0x48c872=_0xa6b0a5['getPivotTableModelConfig'](_0x25c4bd,_0x40d4fd,_0x262507);return os(_0x48c872,_0x5ac9d9),_0xa6b0a5[_0xccfb4(0x1bd)]({'unitId':_0x25c4bd,'subUnitId':_0x40d4fd,'token':_0x262507,'type':B['Set']}),!0x0;}},Ht={'type':_0x99442f['MUTATION'],'id':_0x1e4666(0x28b),'handler'(_0x17a0a6,_0x1271a7){const _0x51da6b=_0x1e4666;if(!_0x1271a7)return!0x1;if(!!_0x17a0a6[_0x51da6b(0x19a)](_0x6f69e8)[_0x51da6b(0x347)](q))return!0x0;const _0x27af04=_0x17a0a6[_0x51da6b(0x19a)]($),{unitId:_0x468805,subUnitId:_0x511dc6,pivotTableId:_0x476fd7,fieldId:_0x3c16be,filterInfo:_0x439d01}=_0x1271a7,_0x5c09e4=_0x27af04[_0x51da6b(0x3aa)](_0x476fd7);if(!_0x5c09e4)return!0x1;_0x5c09e4[_0x51da6b(0x1f8)](_0x3c16be,_0x439d01);const _0x13e38e=_0x27af04[_0x51da6b(0x343)](_0x468805,_0x511dc6,_0x476fd7);return ns(_0x13e38e,_0x1271a7),_0x27af04[_0x51da6b(0x1bd)]({'unitId':_0x468805,'subUnitId':_0x511dc6,'token':_0x476fd7,'type':B['Set']}),!0x0;}},qt={'type':_0x99442f[_0x1e4666(0x291)],'id':'sheet.mutation.set-pivot-option','handler'(_0x1c9e25,_0x41322c){const _0x3bdb0e=_0x1e4666;if(!_0x41322c)return!0x1;if(!!_0x1c9e25['get'](_0x6f69e8)[_0x3bdb0e(0x347)](q))return!0x0;const _0x2974cd=_0x1c9e25[_0x3bdb0e(0x19a)]($),{unitId:_0x1eaf9a,subUnitId:_0x542409,pivotTableId:_0x28cc66,options:_0x283e4b}=_0x41322c,_0x49a23b=_0x2974cd['getPivotTableInstance'](_0x28cc66);if(!_0x49a23b)return!0x1;_0x49a23b[_0x3bdb0e(0x2a6)](_0x283e4b);const _0x14ee0d=_0x2974cd[_0x3bdb0e(0x343)](_0x1eaf9a,_0x542409,_0x28cc66);return ds(_0x14ee0d,_0x41322c),_0x2974cd['addDirtyPivotTable']({'unitId':_0x1eaf9a,'subUnitId':_0x542409,'token':_0x28cc66,'type':B[_0x3bdb0e(0x1b0)]}),!0x0;}},Kt={'type':_0x99442f['MUTATION'],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x33a2f7,_0x231e7d){const _0xcc3587=_0x1e4666;if(!_0x231e7d)return!0x1;if(!!_0x33a2f7[_0xcc3587(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const _0x35e86f=_0x33a2f7[_0xcc3587(0x19a)]($),{unitId:_0x3ea8c3,subUnitId:_0x43c0f3,pivotTableId:_0x40ff70,sortInfo:_0x1e40c7,fieldId:_0x4371af}=_0x231e7d,_0x33ba0=_0x35e86f[_0xcc3587(0x3aa)](_0x40ff70);if(!_0x33ba0)return!0x1;_0x33ba0['setSortInfo'](_0x4371af,_0x1e40c7);const _0x3dbffb=_0x35e86f['getPivotTableModelConfig'](_0x3ea8c3,_0x43c0f3,_0x40ff70);return cs(_0x3dbffb,_0x231e7d),_0x35e86f['addDirtyPivotTable']({'unitId':_0x3ea8c3,'subUnitId':_0x43c0f3,'token':_0x40ff70,'type':B[_0xcc3587(0x1b0)]}),!0x0;}},Xt={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x2d6),'handler'(_0x4b236a,_0x5acb8b){const _0x20e522=_0x1e4666;if(!_0x5acb8b)return!0x1;if(!!_0x4b236a[_0x20e522(0x19a)](_0x6f69e8)[_0x20e522(0x347)](q))return!0x0;const _0x44b35a=_0x4b236a[_0x20e522(0x19a)]($),{unitId:_0x3e2828,subUnitId:_0x303912,pivotTableId:_0x174184,fieldId:_0x323e15,subtotalType:_0x45b232}=_0x5acb8b,_0x4ab08a=_0x44b35a[_0x20e522(0x3aa)](_0x174184);if(!_0x4ab08a)return!0x1;_0x4ab08a[_0x20e522(0x2bd)](_0x323e15,_0x45b232);const _0x28ff74=_0x44b35a[_0x20e522(0x343)](_0x3e2828,_0x303912,_0x174184);return ss(_0x28ff74,_0x5acb8b),_0x44b35a[_0x20e522(0x1bd)]({'unitId':_0x3e2828,'subUnitId':_0x303912,'token':_0x174184,'type':B[_0x20e522(0x1b0)]}),!0x0;}},zt={'type':_0x99442f['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x5d373e,_0xb53fe7){const _0x435e29=_0x1e4666;if(!_0xb53fe7)return!0x1;if(!!_0x5d373e['get'](_0x6f69e8)[_0x435e29(0x347)](q))return!0x0;const _0x360c44=_0x5d373e[_0x435e29(0x19a)]($),{unitId:_0x574ecf,subUnitId:_0x1c0a65,pivotTableId:_0x2e94c7,fieldId:_0x460d09,filterInfo:_0x39217a}=_0xb53fe7,_0x4151e8=_0x360c44[_0x435e29(0x3aa)](_0x2e94c7);if(!_0x4151e8)return!0x1;_0x4151e8['setValueFilterInfo'](_0x460d09,_0x39217a);const _0x1688c0=_0x360c44[_0x435e29(0x343)](_0x574ecf,_0x1c0a65,_0x2e94c7);return is(_0x1688c0,_0xb53fe7),_0x360c44[_0x435e29(0x1bd)]({'unitId':_0x574ecf,'subUnitId':_0x1c0a65,'token':_0x2e94c7,'type':B[_0x435e29(0x1b0)]}),!0x0;}},Qt={'type':_0x99442f['MUTATION'],'id':_0x1e4666(0x264),'handler'(_0x51c80d,_0x356af2){const _0x23621f=_0x1e4666;if(!_0x356af2)return!0x1;if(!!_0x51c80d[_0x23621f(0x19a)](_0x6f69e8)[_0x23621f(0x347)](q))return!0x0;const _0x290029=_0x51c80d[_0x23621f(0x19a)]($),{unitId:_0x3089ff,subUnitId:_0x413de6,pivotTableId:_0x274d96,area:_0x1b13fd,index:_0x23ef9f,fieldId:_0x2b17a8}=_0x356af2,_0x130dd1=_0x290029[_0x23621f(0x3aa)](_0x274d96);if(!_0x130dd1)return!0x1;_0x130dd1[_0x23621f(0x1b9)](_0x2b17a8,_0x1b13fd,_0x23ef9f);const _0x5002fe=_0x290029['getPivotTableModelConfig'](_0x3089ff,_0x413de6,_0x274d96);return as(_0x5002fe,_0x356af2),_0x290029[_0x23621f(0x1bd)]({'unitId':_0x3089ff,'subUnitId':_0x413de6,'token':_0x274d96,'type':B[_0x23621f(0x1b0)]}),!0x0;}},Zt={'type':_0x99442f['MUTATION'],'id':_0x1e4666(0x2df),'handler'(_0x294645,_0x767314){const _0x3e36ce=_0x1e4666;if(!_0x767314)return!0x1;if(!!_0x294645[_0x3e36ce(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const _0xead479=_0x294645[_0x3e36ce(0x19a)]($),{unitId:_0x406111,subUnitId:_0x4afb95,pivotTableId:_0x5b5772,sourceName:_0x236a25,dataFieldId:_0x575146,tableFieldId:_0x4bcacb}=_0x767314,_0xdd5b3d=_0xead479[_0x3e36ce(0x3aa)](_0x5b5772);if(!_0xdd5b3d)return!0x1;_0xdd5b3d[_0x3e36ce(0x329)](_0x4bcacb,_0x236a25,_0x575146);const _0x3798d2=_0xead479['getPivotTableModelConfig'](_0x406111,_0x4afb95,_0x5b5772);return ls(_0x3798d2,_0x767314),_0xead479[_0x3e36ce(0x1bd)]({'unitId':_0x406111,'subUnitId':_0x4afb95,'token':_0x5b5772,'type':B[_0x3e36ce(0x1b0)]}),!0x0;}},eo={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x2c4),'handler'(_0x47715c,_0x2ebc3d){const _0x198218=_0x1e4666;if(!_0x2ebc3d)return!0x1;if(!!_0x47715c[_0x198218(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const _0x438cbf=_0x47715c[_0x198218(0x19a)]($),{unitId:_0x1f9e54,subUnitId:_0x1af433,pivotTableId:_0x3c3554,valuePosition:_0x15f7b4,index:_0x17f912}=_0x2ebc3d,_0x26834e=_0x438cbf[_0x198218(0x3aa)](_0x3c3554);if(!_0x26834e)return!0x1;_0x26834e[_0x198218(0x281)](_0x15f7b4,_0x17f912);const _0x215641=_0x438cbf['getPivotTableModelConfig'](_0x1f9e54,_0x1af433,_0x3c3554);return rs(_0x215641,_0x2ebc3d),_0x438cbf[_0x198218(0x1bd)]({'unitId':_0x1f9e54,'subUnitId':_0x1af433,'token':_0x3c3554,'type':B[_0x198218(0x1b0)]}),!0x0;}};function me(_0x3546f4,_0x5cfb93,_0x552bd6){const _0x93dca9=_0x1e4666,{pivotTableId:_0x2f3518,unitId:_0x45d919,subUnitId:_0x161b83}=_0x5cfb93,_0x231e2b=[],_0x16856d=[];for(const _0x112928 of _0x552bd6)switch(_0x112928[_0x93dca9(0x38b)]){case _0x216bc2[_0x93dca9(0x20b)]:{const {fieldJson:_0x805da,area:_0xea84b6,index:_0x1ce51a}=_0x112928,_0xb7fdd5={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldJson':_0x805da,'area':_0xea84b6,'index':_0x1ce51a},_0x482e37={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x805da['id'],'area':_0xea84b6,'index':_0x1ce51a};_0x231e2b[_0x93dca9(0x1cd)]({'id':$t['id'],'params':_0xb7fdd5}),_0x16856d[_0x93dca9(0x268)]({'id':Yt['id'],'params':_0x482e37});}break;case _0x216bc2[_0x93dca9(0x207)]:{const {fieldId:_0x4c3a0f,newSubtotalType:_0x57689a,oldSubtotalType:_0x2c3834}=_0x112928,_0x11defd={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x4c3a0f,'subtotalType':_0x57689a};_0x231e2b[_0x93dca9(0x1cd)]({'id':Xt['id'],'params':_0x11defd});const _0x1a68f1={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x4c3a0f,'subtotalType':_0x2c3834};_0x16856d[_0x93dca9(0x268)]({'id':Xt['id'],'params':_0x1a68f1});}break;case _0x216bc2[_0x93dca9(0x198)]:{const {fieldId:_0x2b78cd,fieldJson:_0x12d1ac,area:_0x5a4f1e,index:_0xf3eaa4}=_0x112928,_0x2d0f07={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2b78cd,'index':_0xf3eaa4,'area':_0x5a4f1e};_0x231e2b[_0x93dca9(0x1cd)]({'id':Yt['id'],'params':_0x2d0f07});const _0x5bbf70={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldJson':_0x12d1ac,'area':_0x5a4f1e,'index':_0xf3eaa4};_0x16856d['unshift']({'id':$t['id'],'params':_0x5bbf70});}break;case _0x216bc2[_0x93dca9(0x313)]:{const {fieldId:_0x21a366,oldName:_0x34afb6,newName:_0x47b10b}=_0x112928,_0xd310a7={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x21a366,'name':_0x47b10b};_0x231e2b['push']({'id':Jt['id'],'params':_0xd310a7});const _0x45ad73={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x21a366,'name':_0x34afb6};_0x16856d['unshift']({'id':Jt['id'],'params':_0x45ad73});}break;case _0x216bc2[_0x93dca9(0x29b)]:{const {fieldId:_0x2a64b3,oldFilterInfo:_0x1f7e13,newFilterInfo:_0x458a13}=_0x112928,_0x3496b4={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2a64b3,'filterInfo':_0x458a13};_0x231e2b[_0x93dca9(0x1cd)]({'id':Ht['id'],'params':_0x3496b4});const _0x257b66={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2a64b3,'filterInfo':_0x1f7e13};_0x16856d[_0x93dca9(0x268)]({'id':Ht['id'],'params':_0x257b66});}break;case _0x216bc2['SetSortInfo']:{const {fieldId:_0x2b9271,oldSortInfo:_0x12a5d0,newSortInfo:_0x10f35f}=_0x112928,_0x20a7f9={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2b9271,'sortInfo':_0x10f35f};_0x231e2b['push']({'id':Kt['id'],'params':_0x20a7f9});const _0x5d254b={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2b9271,'sortInfo':_0x12a5d0};_0x16856d[_0x93dca9(0x268)]({'id':Kt['id'],'params':_0x5d254b});}break;case _0x216bc2[_0x93dca9(0x18f)]:{const {oldOptions:_0x4a5d91,newOptions:_0x3847bb}=_0x112928,_0x42c6c9={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'options':_0x3847bb};_0x231e2b[_0x93dca9(0x1cd)]({'id':qt['id'],'params':_0x42c6c9});const _0x4edc66={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'options':_0x4a5d91};_0x16856d['unshift']({'id':qt['id'],'params':_0x4edc66});}break;case _0x216bc2[_0x93dca9(0x34a)]:{const {oldArea:_0x5a570a,newArea:_0xee7b5a,oldIndex:_0xeeafe,newIndex:_0x214bcf,fieldId:_0x4a73ae}=_0x112928,_0x16b153={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x4a73ae,'area':_0xee7b5a,'index':_0x214bcf,'oldArea':_0x5a570a,'oldIndex':_0xeeafe};_0x231e2b['push']({'id':Qt['id'],'params':_0x16b153});const _0x3924f5={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x4a73ae,'area':_0x5a570a,'index':_0xeeafe,'oldArea':_0xee7b5a,'oldIndex':_0x214bcf};_0x16856d[_0x93dca9(0x268)]({'id':Qt['id'],'params':_0x3924f5});}break;case _0x216bc2[_0x93dca9(0x18c)]:{const {oldValuePosition:_0x3f59cf,newValuePosition:_0x4279ca,oldIndex:_0x103902,newIndex:_0xf74f2b}=_0x112928,_0x3ccddc={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'valuePosition':_0x4279ca,'index':_0xf74f2b};_0x231e2b[_0x93dca9(0x1cd)]({'id':eo['id'],'params':_0x3ccddc});const _0x2657c0={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'valuePosition':_0x3f59cf,'index':_0x103902};_0x16856d[_0x93dca9(0x268)]({'id':eo['id'],'params':_0x2657c0});}break;case _0x216bc2['SetCollapse']:{const {fieldId:_0x22d78a,collapse:_0x32c871,item:_0x35de0c}=_0x112928,_0x494c84={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x22d78a,'collapse':_0x32c871,'item':_0x35de0c};_0x231e2b[_0x93dca9(0x1cd)]({'id':Gt['id'],'params':_0x494c84});const _0x5d1639={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x22d78a,'collapse':!_0x32c871,'item':_0x35de0c};_0x16856d[_0x93dca9(0x268)]({'id':Gt['id'],'params':_0x5d1639});}break;case _0x216bc2['SetFieldFormat']:{const {newFormat:_0xdf6bf1,oldFormat:_0x4c61f1,fieldId:_0x5b1142}=_0x112928,_0x141641={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x5b1142,'format':_0xdf6bf1};_0x231e2b[_0x93dca9(0x1cd)]({'id':jt['id'],'params':_0x141641});const _0x3a4acb={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x5b1142,'format':_0x4c61f1};_0x16856d[_0x93dca9(0x268)]({'id':jt['id'],'params':_0x3a4acb});}break;case _0x216bc2[_0x93dca9(0x25e)]:{const {tableFieldId:_0x243056,oldSourceName:_0x10dd55,newSourceName:_0x142d27,oldDataFieldId:_0x42ab43,newDataFieldId:_0x4acf7d}=_0x112928,_0x4a8ce1={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'tableFieldId':_0x243056,'sourceName':_0x142d27,'dataFieldId':_0x4acf7d};_0x231e2b[_0x93dca9(0x1cd)]({'id':Zt['id'],'params':_0x4a8ce1});const _0x30168d={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'tableFieldId':_0x243056,'sourceName':_0x10dd55,'dataFieldId':_0x42ab43};_0x16856d[_0x93dca9(0x268)]({'id':Zt['id'],'params':_0x30168d});}break;case _0x216bc2['SetValueFilter']:{const {fieldId:_0x2f82e5,filterInfo:_0x3fcf51,oldFilterInfo:_0x513e18}=_0x112928,_0x39fb92={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2f82e5,'filterInfo':_0x3fcf51};_0x231e2b[_0x93dca9(0x1cd)]({'id':zt['id'],'params':_0x39fb92});const _0x32749d={'unitId':_0x45d919,'subUnitId':_0x161b83,'pivotTableId':_0x2f3518,'fieldId':_0x2f82e5,'filterInfo':_0x513e18};_0x16856d['unshift']({'id':zt['id'],'params':_0x32749d});}}return{'redos':_0x231e2b,'undos':_0x16856d};}function _e(_0xfa7e4d,_0x41302f){const _0x5fc03c=_0x1e4666;var _0x1dc1fe;const _0x138b8a=_0xfa7e4d[_0x5fc03c(0x19a)](ie),{cellInfo:_0x564d29,view:_0x87eb87,isEmpty:_0xe73d4}=_0x41302f;return(_0x1dc1fe=_0x138b8a[_0x5fc03c(0x397)][_0x5fc03c(0x367)]($o)(Po,{'cellInfo':_0x564d29,'view':_0x87eb87,'isEmpty':_0xe73d4}))!=null?_0x1dc1fe:Po;}const us=()=>typeof process<'u'&&process[_0x1e4666(0x2be)]!=null&&process[_0x1e4666(0x2be)][_0x1e4666(0x249)]!=null,Ct={'type':_0x99442f['MUTATION'],'id':_0x1e4666(0x1b3),'handler'(_0x21cddc,_0xe05c0c){const _0x1f19a9=_0x1e4666;var _0x3fd502;if(!_0xe05c0c)return!0x1;const _0x421e1a=_0x21cddc[_0x1f19a9(0x19a)](_0x6f69e8);if(!!_0x421e1a[_0x1f19a9(0x347)](q))return!0x0;const _0x38556c=_0x21cddc[_0x1f19a9(0x19a)](_0x11d98b),_0x5104eb=_0x21cddc[_0x1f19a9(0x19a)]($),{pivotTableId:_0x3d7abb,pivotTableConfig:_0x2fe8e4,collectionConfig:_0x368f66,unitId:_0x50908b,subUnitId:_0x2bbee3}=_0xe05c0c,{sourceRangeInfo:_0xfff7ac,fieldsConfig:_0x33b9a1,targetCellInfo:_0x511863}=_0x2fe8e4,_0x223f32=_0x38556c[_0x1f19a9(0x317)](_0x50908b);if(!_0x223f32||!_0x223f32[_0x1f19a9(0x1d1)](_0x2bbee3))return!0x1;if(!us()){let _0x58a09d=0x0;_0x223f32[_0x1f19a9(0x3b0)]()[_0x1f19a9(0x276)](_0x9ffe4=>{const _0x3cc4da=_0x1f19a9;var _0x41cee7,_0x1b970b;_0x58a09d+=(_0x1b970b=(_0x41cee7=_0x5104eb[_0x3cc4da(0x33c)](_0x50908b,_0x9ffe4[_0x3cc4da(0x1aa)]()))==null?void 0x0:_0x41cee7[_0x3cc4da(0x2f5)])!=null?_0x1b970b:0x0;});const _0x114791=(_0x3fd502=_0x421e1a[_0x1f19a9(0x347)](_0x2d3143))!=null?_0x3fd502:{},{ls:_0x588868,pbk:_0x217ba2}=_0x114791;if(!jo(_0x588868,_0x217ba2))throw new _0x1f87f1('limit\x20pivot');const _0x29a7ef=go(so,_0x588868,_0x217ba2)['count'];if(_0x58a09d>=_0x29a7ef)throw new _0x1f87f1('limit\x20pivot');}if(!_0x368f66||!_0x33b9a1)return!0x1;const {collection:_0x3ec127,updateDataFieldList:_0x17c7d7}=_0x5104eb['addCollectionByJSON'](_0x3d7abb,_0x368f66,_0xfff7ac,_0x511863);_0x5104eb['refreshData'](_0x3ec127,_0x17c7d7,_0xfff7ac);const _0x3d8d28=new _0x219501(_0x3ec127,void 0x0,_0x3d7abb);_0x3d8d28[_0x1f19a9(0x29d)](_0x33b9a1);const _0x344b42=JSON[_0x1f19a9(0x2f1)](JSON[_0x1f19a9(0x3d5)](_0x2fe8e4));return _0x5104eb['addPivotTable'](_0x50908b,_0x2bbee3,_0x3d7abb,_0x3d8d28,_0x344b42),_0x5104eb['addDirtyPivotTable']({'unitId':_0x50908b,'subUnitId':_0x2bbee3,'token':_0x3d7abb,'type':B['Add'],'pivotConfig':_0x344b42}),!0x0;}},Et={'type':_0x99442f['MUTATION'],'id':_0x1e4666(0x292),'handler'(_0x53ed6d,_0x56e3fb){const _0x10c856=_0x1e4666;if(!_0x56e3fb)return!0x1;if(!!_0x53ed6d[_0x10c856(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const {pivotTableId:_0x16da4f,unitId:_0x1b89b3,subUnitId:_0x3a8699}=_0x56e3fb,_0x25d1dc=_0x53ed6d[_0x10c856(0x19a)]($);return _0x25d1dc[_0x10c856(0x39d)](_0x1b89b3,_0x3a8699,_0x16da4f)?(_0x25d1dc['addDirtyPivotTable']({'unitId':_0x1b89b3,'subUnitId':_0x3a8699,'token':_0x16da4f,'type':B[_0x10c856(0x23d)]}),_0x25d1dc[_0x10c856(0x29c)](_0x1b89b3,_0x3a8699,_0x16da4f),!0x0):!0x1;}},pt={'type':_0x99442f['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x4bef0b,_0x4469ce){const _0x103765=_0x1e4666;if(!_0x4469ce)return!0x1;if(!!_0x4bef0b[_0x103765(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const {pivotTableId:_0x41208f,targetCellPosition:_0x1bd30b,unitId:_0x2c8014,subUnitId:_0x49f39c}=_0x4469ce,_0x2544c5=_0x4bef0b['get']($);if(!_0x2544c5[_0x103765(0x3aa)](_0x4469ce[_0x103765(0x261)]))return!0x1;const _0x301359=_0x2544c5[_0x103765(0x191)](_0x41208f);if(!_0x301359)return!0x1;const _0x305767=_0x2544c5[_0x103765(0x190)](_0x301359[_0x103765(0x25c)],_0x4469ce[_0x103765(0x261)]);if(!_0x305767)return!0x1;const _0x3fa31c=_0x2544c5[_0x103765(0x39d)](_0x301359[_0x103765(0x25c)],_0x301359[_0x103765(0x1b8)],_0x41208f);if(!_0x3fa31c)return!0x1;const _0x116425=_0x471e66['deepClone'](_0x3fa31c);_0x116425['targetCellInfo']={'unitId':_0x2c8014,'subUnitId':_0x49f39c,'row':_0x1bd30b['row'],'col':_0x1bd30b[_0x103765(0x1f5)]};const _0x289c8a=_0x305767[_0x103765(0x172)]();if(_0x301359[_0x103765(0x1b8)]===_0x49f39c&&_0x301359[_0x103765(0x25c)]===_0x2c8014)_0x2544c5[_0x103765(0x285)](_0x2c8014,_0x49f39c,_0x41208f,_0x116425),_0x2544c5[_0x103765(0x1bd)]({'unitId':_0x2c8014,'subUnitId':_0x49f39c,'token':_0x41208f,'type':B[_0x103765(0x1b0)]});else{_0x2544c5[_0x103765(0x1bd)]({'unitId':_0x301359[_0x103765(0x25c)],'subUnitId':_0x301359[_0x103765(0x1b8)],'token':_0x41208f,'type':B[_0x103765(0x23d)]}),_0x2544c5[_0x103765(0x29c)](_0x301359['unitId'],_0x301359[_0x103765(0x1b8)],_0x41208f);const _0x3caa47=_0x2544c5[_0x103765(0x2ed)](_0x41208f,_0x289c8a,_0x3fa31c['sourceRangeInfo'],_0x116425[_0x103765(0x2e8)]),_0x57ae65=new _0x219501(_0x3caa47[_0x103765(0x2b3)],void 0x0,_0x41208f);_0x57ae65['fromJSON'](_0x116425[_0x103765(0x323)]),_0x2544c5[_0x103765(0x218)](_0x2c8014,_0x49f39c,_0x41208f,_0x57ae65,_0x116425),_0x2544c5['addDirtyPivotTable']({'unitId':_0x2c8014,'subUnitId':_0x49f39c,'token':_0x41208f,'type':B['Add'],'pivotConfig':_0x116425});}return!0x0;}},to={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x1a5),'handler'(_0x40b1f8,_0x23caf4){const _0x1d0f7e=_0x1e4666;if(!_0x23caf4)return!0x1;if(!!_0x40b1f8['get'](_0x6f69e8)[_0x1d0f7e(0x347)](q))return!0x0;const _0xcaee4b=_0x40b1f8[_0x1d0f7e(0x19a)]($),{pivotTableId:_0x54710d,deleteIds:_0x239efd,collectionJSON:_0x387c11,dataRangeInfo:_0x5f3e21,unitId:_0x3d3128,subUnitId:_0x2fac6a}=_0x23caf4,_0x5707c7=_0xcaee4b['getPivotTableInstance'](_0x54710d),_0x1b1e10=_0xcaee4b['getPivotTableConfig'](_0x3d3128,_0x2fac6a,_0x54710d);if(!_0x5707c7||!_0x1b1e10)return!0x1;const {collection:_0x5679e2,updateDataFieldList:_0x4aa5fa}=_0xcaee4b['addCollectionByJSON'](_0x54710d,_0x387c11,_0x5f3e21,_0x1b1e10['targetCellInfo']);_0xcaee4b[_0x1d0f7e(0x311)](_0x5679e2,_0x4aa5fa,_0x5f3e21),_0x5707c7[_0x1d0f7e(0x2fd)](_0x5679e2);for(const _0x375a3b of _0x239efd)_0xcaee4b[_0x1d0f7e(0x34d)](_0x5f3e21[_0x1d0f7e(0x25c)],_0x375a3b);const _0x3af700=_0xcaee4b[_0x1d0f7e(0x39d)](_0x3d3128,_0x2fac6a,_0x54710d);return _0x3af700['sourceRangeInfo']=JSON[_0x1d0f7e(0x2f1)](JSON[_0x1d0f7e(0x3d5)](_0x5f3e21)),_0xcaee4b[_0x1d0f7e(0x1bd)]({'unitId':_0x3d3128,'subUnitId':_0x2fac6a,'token':_0x54710d,'type':B['Set']}),!0x0;}},Ut={'type':_0x99442f[_0x1e4666(0x291)],'id':_0x1e4666(0x36a),'handler'(){return!0x0;}};var fs=Object[_0x1e4666(0x30c)],gs=(_0x4b725b,_0x4c599f,_0x2d3018,_0x202639)=>{for(var _0x34c506=_0x202639>0x1?void 0x0:_0x202639?fs(_0x4c599f,_0x2d3018):_0x4c599f,_0x4244fb=_0x4b725b['length']-0x1,_0x39684b;_0x4244fb>=0x0;_0x4244fb--)(_0x39684b=_0x4b725b[_0x4244fb])&&(_0x34c506=_0x39684b(_0x34c506)||_0x34c506);return _0x34c506;},wo=(_0x163702,_0x4aa420)=>(_0x4aa5a6,_0x2a85d5)=>_0x4aa420(_0x4aa5a6,_0x2a85d5,_0x163702);let Z=class extends _0x21cbed{constructor(_0x23cda4,_0x5892e8){const _0x5cba0f=_0x1e4666;super(),V(this,_0x5cba0f(0x1fb),new Map()),(this[_0x5cba0f(0x2ca)]=_0x23cda4,this[_0x5cba0f(0x31c)]=_0x5892e8);}[_0x1e4666(0x2a8)](_0x3cbb97){const _0x39701c=_0x1e4666,{version:_0x3c1b46}=_0x3cbb97,_0x53f0bc=this['_requestResolvers'][_0x39701c(0x19a)](_0x3c1b46);_0x53f0bc&&(_0x53f0bc(_0x3cbb97),this[_0x39701c(0x1fb)]['delete'](_0x3c1b46));}['getPivotDisplayConfig'](_0x4c1722){return new Promise((_0xbe9e40,_0x2c3f58)=>{const _0x184c9a=_0x3ce7,_0xac156=this['_generateUniqueVersion']();this['_requestResolvers'][_0x184c9a(0x321)](_0xac156,_0xbe9e40),this[_0x184c9a(0x31c)][_0x184c9a(0x3c3)](ro['id'],{'version':_0xac156,..._0x4c1722},{'onlyLocal':!0x0});});}[_0x1e4666(0x183)](){const _0x64beb=_0x1e4666;return Math['random']()[_0x64beb(0x305)](0x24)['substring'](0x2,0x10);}};Z=gs([wo(0x0,_0x52ddbc(_0x4903de)),wo(0x1,_0x52ddbc(_0x13bfb7))],Z);const Xo={'id':_0x1e4666(0x17c),'type':_0x99442f[_0x1e4666(0x291)],'handler':(_0x2e76a6,_0x13c34d)=>{const _0x2a5fcc=_0x1e4666;if(!_0x13c34d)return!0x1;if(!!_0x2e76a6['get'](_0x6f69e8)[_0x2a5fcc(0x347)](q))return!0x0;const {pivotTableId:_0x1f145e,fieldJSON:_0x1d7f12,unitId:_0x899c8d,subUnitId:_0x450937}=_0x13c34d,_0xb155b7=_0x473503['fromJSON'](_0x1d7f12);if(!_0xb155b7)return!0x1;const _0x47128d=_0x2e76a6[_0x2a5fcc(0x19a)]($),_0x152d72=_0x47128d[_0x2a5fcc(0x1dd)](_0x899c8d),_0x1969f2=_0x152d72['getCollection'](_0x1f145e);_0x152d72[_0x2a5fcc(0x36f)](_0xb155b7),_0x1969f2[_0x2a5fcc(0x2ac)](_0xb155b7[_0x2a5fcc(0x300)](),_0xb155b7['getName']());const _0x3b61bc=_0x1969f2[_0x2a5fcc(0x3b5)](_0xb155b7['getOriginFieldId']());_0x3b61bc&&_0xb155b7[_0x2a5fcc(0x1d2)](_0x3b61bc);const _0x3dbd14=_0x47128d[_0x2a5fcc(0x39d)](_0x899c8d,_0x450937,_0x1f145e);return _0x47128d[_0x2a5fcc(0x1bd)]({'unitId':_0x899c8d,'subUnitId':_0x450937,'token':_0x1f145e,'type':B[_0x2a5fcc(0x1b0)],'pivotConfig':_0x3dbd14}),!0x0;}},zo={'id':_0x1e4666(0x187),'type':_0x99442f[_0x1e4666(0x291)],'handler':(_0x1f056e,_0x3233f9)=>{const _0x63e4e6=_0x1e4666;if(!_0x3233f9)return!0x1;if(!!_0x1f056e['get'](_0x6f69e8)[_0x63e4e6(0x347)](q))return!0x0;const {pivotTableId:_0x269e24,dataFieldId:_0x8684b7,unitId:_0x8294b2,subUnitId:_0x24a9bf}=_0x3233f9,_0x13cc71=_0x1f056e[_0x63e4e6(0x19a)]($),_0x1e1eb1=_0x13cc71['getDataFieldManager'](_0x8294b2);_0x1e1eb1[_0x63e4e6(0x190)](_0x269e24)[_0x63e4e6(0x3ce)](_0x8684b7);let _0x16cc3a=!0x0;for(const _0x38d5f3 in _0x1e1eb1[_0x63e4e6(0x2d0)])if(_0x1e1eb1[_0x63e4e6(0x2d0)][_0x38d5f3][_0x63e4e6(0x38d)]()['includes'](_0x8684b7)){_0x16cc3a=!0x1;break;}_0x16cc3a&&_0x1e1eb1[_0x63e4e6(0x398)](_0x8684b7);const _0x50bc0f=_0x13cc71[_0x63e4e6(0x39d)](_0x8294b2,_0x24a9bf,_0x269e24);return _0x13cc71[_0x63e4e6(0x1bd)]({'unitId':_0x8294b2,'subUnitId':_0x24a9bf,'token':_0x269e24,'type':B[_0x63e4e6(0x1b0)],'pivotConfig':_0x50bc0f}),!0x0;}},vs={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x19c),async 'handler'(_0x3d0770,_0x355305){const _0x36cee7=_0x1e4666;if(!_0x355305)return!0x1;const _0x23aba9=_0x3d0770['get'](_0x13bfb7),_0x13f136=_0x3d0770[_0x36cee7(0x19a)](Z),_0x49ba97=_0x3d0770[_0x36cee7(0x19a)](_0x5c2b2f),{pivotTableId:_0x3099a8,dataFieldId:_0x5076eb,fieldArea:_0x46ba92,index:_0x1b27b9,unitId:_0x4ee832,subUnitId:_0x5a0cf4}=_0x355305,_0x153933=(await _0x13f136[_0x36cee7(0x286)]({'unitId':_0x4ee832,'subUnitId':_0x5a0cf4,'pivotTableId':_0x3099a8,'params':{'type':k[_0x36cee7(0x33d)],'addPivotField':{'dataFieldId':_0x5076eb,'fieldArea':_0x46ba92,'index':_0x1b27b9}}}))[_0x36cee7(0x1b7)][_0x36cee7(0x39c)];if(!_0x153933)return!0x1;const {view:_0x3b9cd3,changesets:_0x7b1e15,isEmpty:_0x17c5ee,pivotTableConfig:_0x3a813f,shouldBeAddedGroupJSON:_0xa0c01e}=_0x153933,_0x52d0ec=_0x3a813f['targetCellInfo'],_0x4a6f21=new _0x49d704();_0x4a6f21['formJSON'](_0x3b9cd3);const _0x264e27={'cellInfo':_0x52d0ec,'view':_0x4a6f21,'isEmpty':_0x17c5ee};if(!await _0x3d0770[_0x36cee7(0x19a)](ie)[_0x36cee7(0x258)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x264e27))return!0x1;const _0x233cea=we(_0x3d0770,_0x4a6f21,_0x52d0ec,_0x17c5ee),_0x6b2121=_e(_0x3d0770,_0x264e27),{undos:_0xb36c01,redos:_0x29c270}=me(_0x23aba9,{'pivotTableId':_0x3099a8,'unitId':_0x4ee832,'subUnitId':_0x5a0cf4},_0x7b1e15);return _0xa0c01e&&(_0x29c270[_0x36cee7(0x268)]({'id':Xo['id'],'params':{'pivotTableId':_0x3099a8,'fieldJSON':_0xa0c01e,'unitId':_0x4ee832,'subUnitId':_0x5a0cf4}}),_0xb36c01['push']({'id':zo['id'],'params':{'pivotTableId':_0x3099a8,'dataFieldId':_0xa0c01e['id'],'unitId':_0x4ee832,'subUnitId':_0x5a0cf4}})),_0x54e36f([..._0x233cea[_0x36cee7(0x24a)],..._0x6b2121[_0x36cee7(0x24a)],..._0x29c270],_0x23aba9),_0x49ba97[_0x36cee7(0x2c8)]({'unitID':_0x4ee832,'redoMutations':[..._0x233cea[_0x36cee7(0x24a)],..._0x6b2121[_0x36cee7(0x24a)],..._0x29c270],'undoMutations':[..._0x233cea[_0x36cee7(0x2c9)],..._0x6b2121[_0x36cee7(0x2c9)],..._0xb36c01]}),!0x0;}},hs={'type':_0x99442f[_0x1e4666(0x177)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x32c9b6,_0x386362){const _0x2460e0=_0x1e4666;if(!_0x386362)return!0x1;const {sourceDataInfo:_0x3f9de9,pivotTableConfig:_0x29f17e}=_0x386362;if(!_0x3f9de9||!_0x29f17e)return!0x1;const {unitId:_0x2a857e,subUnitId:_0x38d56c,range:_0x4d1237}=_0x3f9de9,_0x2998ea=_0x32c9b6[_0x2460e0(0x19a)](_0x11d98b),_0x2da572=_0x32c9b6['get'](Z),_0x596751=_0x32c9b6[_0x2460e0(0x19a)](_0x1c8344),_0x594bb6=_0x32c9b6[_0x2460e0(0x19a)](_0x13bfb7),_0x1e8b36=_0x2998ea['getUnit'](_0x2a857e);if(!_0x1e8b36)return!0x1;const _0xabfd92=_0x1e8b36[_0x2460e0(0x1d1)](_0x38d56c);if(!_0xabfd92)return!0x1;const _0x4d64e5=_0x31e0e1(0x8),_0x157651=_0x4d1237||{'startRow':0x0,'startColumn':0x0,'endRow':_0xabfd92[_0x2460e0(0x36d)]()-0x1,'endColumn':_0xabfd92['getColumnCount']()-0x1};_0x157651[_0x2460e0(0x2ea)]=_0x202cc7[_0x2460e0(0x383)];const _0x43da08=(await _0x2da572['getPivotDisplayConfig']({'unitId':_0x2a857e,'subUnitId':_0x38d56c,'pivotTableId':_0x4d64e5,'params':{'type':k[_0x2460e0(0x288)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2a857e,'sheetName':_0xabfd92[_0x2460e0(0x3ad)](),'subUnitId':_0x38d56c,'range':_0x157651},'pivotTableId':_0x4d64e5,'pivotTableIndexConfig':_0x29f17e}}}))[_0x2460e0(0x1b7)][_0x2460e0(0x395)];if(!_0x43da08)return!0x1;const {isEmpty:_0x635151,fieldsConfig:_0x7e3047,collectionConfig:_0x1908ad,changesets:_0x681895}=_0x43da08,_0x3ec203=_0x1e8b36['getSheets']()[_0x2460e0(0x337)],_0x3a99cb=_0x3cd2fb({'rowCount':_0xabfd92[_0x2460e0(0x36d)]()-0x1,'columnCount':_0xabfd92['getColumnCount']()-0x1});_0x3a99cb['id']=_0x2255fd(),_0x3a99cb['name']=_0x1e8b36['generateNewSheetName'](''+_0x596751['t'](_0x2460e0(0x195)));const _0x741bc9={'index':_0x3ec203,'sheet':_0x3a99cb,'unitId':_0x2a857e},{redos:_0x3f5d69}=me(_0x594bb6,{'pivotTableId':_0x4d64e5,'unitId':_0x2a857e,'subUnitId':_0x3a99cb['id']},_0x681895),_0x1931fb=[{'id':_0x11f159['id'],'params':_0x741bc9},{'id':Ct['id'],'params':{'unitId':_0x2a857e,'subUnitId':_0x3a99cb['id'],'pivotTableId':_0x4d64e5,'pivotTableConfig':{'isEmpty':_0x635151,'fieldsConfig':_0x7e3047,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2a857e,'subUnitId':_0x3a99cb['id']},'sourceRangeInfo':{'subUnitId':_0x38d56c,'unitId':_0x2a857e,'range':_0x157651,'sheetName':_0xabfd92['getName']()}},'collectionConfig':_0x1908ad}},..._0x3f5d69];return _0x54e36f(_0x1931fb,_0x594bb6),!0x0;}},ps={'type':_0x99442f[_0x1e4666(0x177)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x56bad5,_0x3df68f){const _0x23c54e=_0x1e4666;var _0x51a382,_0x2f6a09;const _0x4ff809=_0x56bad5[_0x23c54e(0x19a)](_0x13bfb7),_0x5f398b=_0x56bad5[_0x23c54e(0x19a)](_0x11d98b),_0x17ef58=_0x56bad5[_0x23c54e(0x19a)](_0x1c8344),_0xcc9065=_0x56bad5[_0x23c54e(0x19a)](Z),_0x3da12f=_0x56bad5[_0x23c54e(0x19a)](_0x5c2b2f),_0x470f85=_0x56bad5['get'](he),_0x222d2d=_0x56bad5[_0x23c54e(0x19a)](_0x6f69e8);if(!_0x3df68f)return!0x1;const {pivotTableConfig:_0x49de01,positionType:_0x3ecd73}=_0x3df68f,{targetCellInfo:_0x49313f,sourceRangeInfo:_0x3919e3}=_0x49de01,{unitId:_0x3025a8,subUnitId:_0x39d05e}=_0x49313f,_0x4ee939=_0x5f398b[_0x23c54e(0x317)](_0x3025a8);if(!_0x4ee939)return!0x1;let _0xd6ddb7=0x0;_0x4ee939[_0x23c54e(0x3b0)]()[_0x23c54e(0x276)](_0x388158=>{const _0x1a631e=_0x23c54e;var _0x559b6a,_0x555fbb;_0xd6ddb7+=(_0x555fbb=(_0x559b6a=_0x470f85[_0x1a631e(0x33c)](_0x3025a8,_0x388158[_0x1a631e(0x1aa)]()))==null?void 0x0:_0x559b6a['size'])!=null?_0x555fbb:0x0;});const _0x53563a=(_0x51a382=_0x222d2d[_0x23c54e(0x347)](_0x2d3143))!=null?_0x51a382:{},{ls:_0x2f6730,pbk:_0xd03a7b}=_0x53563a;if(!jo(_0x2f6730,_0xd03a7b))return!0x1;const _0x3dc5e9=go(so,_0x2f6730,_0xd03a7b)[_0x23c54e(0x1b5)];if(_0xd6ddb7>=_0x3dc5e9)return!0x1;const _0x226aaa=_0x3df68f['pivotTableId']||_0x31e0e1(0x8),_0x44ff54=(await _0xcc9065[_0x23c54e(0x286)]({'unitId':_0x3025a8,'subUnitId':_0x39d05e,'pivotTableId':_0x226aaa,'params':{'type':k[_0x23c54e(0x3d4)],'addPivotTable':{'sourceRangeInfo':_0x3919e3,'pivotTableId':_0x226aaa}}}))[_0x23c54e(0x1b7)][_0x23c54e(0x218)];if(!_0x44ff54)return!0x1;const {view:_0x39f5f3,isEmpty:_0x49c374,fieldsConfig:_0x152e39,collectionConfig:_0x588802}=_0x44ff54,_0xa90e0=[],_0x40e760=[];if(_0x3ecd73===Wo[_0x23c54e(0x3bb)]){const _0x3334a4=_0x4ee939['getSheets']()[_0x23c54e(0x337)],_0x1d3339=_0x3cd2fb({});_0x1d3339['id']=_0x49de01[_0x23c54e(0x2e8)]['subUnitId'],_0x1d3339[_0x23c54e(0x3b6)]=(_0x2f6a09=_0x49de01[_0x23c54e(0x2e8)][_0x23c54e(0x315)])!=null?_0x2f6a09:_0x4ee939[_0x23c54e(0x1df)](''+_0x17ef58['t'](_0x23c54e(0x195)));const _0xe875ee={'index':_0x3334a4,'sheet':_0x1d3339,'unitId':_0x3025a8},_0x1eec3e=_0x21b188(_0x56bad5,_0xe875ee);_0xa90e0[_0x23c54e(0x1cd)]({'id':_0x557eaa['id'],'params':_0x1eec3e}),_0x40e760['push']({'id':_0xd999c['id'],'params':_0xe875ee});}else{if(!_0x4ee939[_0x23c54e(0x1d1)](_0x39d05e))return!0x1;const _0x54b50b=we(_0x56bad5,new _0x49d704(),_0x49313f,!0x0);_0x40e760[_0x23c54e(0x1cd)](..._0x54b50b[_0x23c54e(0x24a)]),_0xa90e0[_0x23c54e(0x1cd)](..._0x54b50b[_0x23c54e(0x2c9)]);const _0x342152={'cellInfo':_0x49313f,'view':_0x39f5f3,'isEmpty':_0x49c374};if(!await _0x56bad5[_0x23c54e(0x19a)](ie)[_0x23c54e(0x258)][_0x23c54e(0x3ab)](be)(!0x0,_0x342152))return!0x1;const _0x41c447=_e(_0x56bad5,_0x342152);_0x40e760['push'](..._0x41c447[_0x23c54e(0x24a)]),_0xa90e0[_0x23c54e(0x1cd)](..._0x41c447[_0x23c54e(0x2c9)]);}return _0x40e760[_0x23c54e(0x1cd)]({'id':Ct['id'],'params':{'unitId':_0x49313f[_0x23c54e(0x25c)],'subUnitId':_0x49313f[_0x23c54e(0x1b8)],'pivotTableId':_0x226aaa,'pivotTableConfig':{'targetCellInfo':_0x49313f,'sourceRangeInfo':_0x3919e3,'fieldsConfig':_0x152e39},'collectionConfig':_0x588802}}),_0xa90e0[_0x23c54e(0x268)]({'id':Et['id'],'params':{'unitId':_0x3025a8,'subUnitId':_0x39d05e,'pivotTableId':_0x226aaa}}),_0x54e36f(_0x40e760,_0x4ff809)&&_0x3da12f[_0x23c54e(0x2c8)]({'unitID':_0x3025a8,'undoMutations':_0xa90e0,'redoMutations':_0x40e760}),!0x0;}},ms={'type':_0x99442f['COMMAND'],'id':_0x1e4666(0x217),async 'handler'(_0x3a5a2b,_0x5b5e12){const _0x3a5f3e=_0x1e4666;if(!_0x5b5e12)return!0x1;const _0x19f34f=_0x3a5a2b[_0x3a5f3e(0x19a)](_0x13bfb7),_0xe3afec=_0x3a5a2b['get'](Z),_0x461531=_0x3a5a2b[_0x3a5f3e(0x19a)](_0x5c2b2f),{pivotTableId:_0x157231,fieldId:_0x287229,area:_0x330525,index:_0x199ea3,unitId:_0x3f73ba,subUnitId:_0x179fe2}=_0x5b5e12,_0x168228=(await _0xe3afec[_0x3a5f3e(0x286)]({'unitId':_0x3f73ba,'subUnitId':_0x179fe2,'pivotTableId':_0x157231,'params':{'type':k[_0x3a5f3e(0x1ba)],'movePivotField':{'fieldId':_0x287229,'area':_0x330525,'index':_0x199ea3}}}))['result']['movePivotField'];if(!_0x168228)return!0x1;const {changesets:_0x208a3d,view:_0x513042,isEmpty:_0x5eb8f5,pivotTableConfig:_0xf4b1f1}=_0x168228,_0x5b3404=_0xf4b1f1[_0x3a5f3e(0x2e8)],_0x44e7d3=new _0x49d704();_0x44e7d3[_0x3a5f3e(0x15c)](_0x513042);const _0x1b3da5={'cellInfo':_0x5b3404,'view':_0x44e7d3,'isEmpty':_0x5eb8f5};if(!await _0x3a5a2b[_0x3a5f3e(0x19a)](ie)[_0x3a5f3e(0x258)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1b3da5))return!0x1;const _0x2267bf=we(_0x3a5a2b,_0x44e7d3,_0x5b3404,_0x5eb8f5),_0x3b2635=_e(_0x3a5a2b,_0x1b3da5),{redos:_0xf7bac,undos:_0xd44962}=me(_0x19f34f,{'pivotTableId':_0x157231,'unitId':_0x3f73ba,'subUnitId':_0x179fe2},_0x208a3d);return _0x54e36f([..._0x2267bf[_0x3a5f3e(0x24a)],..._0x3b2635[_0x3a5f3e(0x24a)],..._0xf7bac],_0x19f34f),_0x461531[_0x3a5f3e(0x2c8)]({'unitID':_0x3f73ba,'redoMutations':[..._0x2267bf['redos'],..._0x3b2635['redos'],..._0xf7bac],'undoMutations':[..._0x2267bf[_0x3a5f3e(0x2c9)],..._0x3b2635[_0x3a5f3e(0x2c9)],..._0xd44962]}),!0x0;}},Is={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x19b),async 'handler'(_0x100f10,_0x586328){const _0x3c7df0=_0x1e4666;var _0x1d9957;if(!_0x586328)return!0x1;const _0xfcdd4a=_0x100f10['get'](_0x11d98b),_0x4827d0=_0x114031(_0xfcdd4a);if(!_0x4827d0)return!0x1;const {unitId:_0x4843e4,subUnitId:_0xfa0b01,workbook:_0x13f195}=_0x4827d0,{row:_0x1c1eb0,col:_0x25db84}=_0x586328,_0x4bb3f8=_0x100f10[_0x3c7df0(0x19a)](Ne),_0x334ae9=_0x4bb3f8[_0x3c7df0(0x167)](_0x4843e4,_0xfa0b01,_0x1c1eb0,_0x25db84);if(!_0x334ae9)return!0x1;const _0x4ce2f4=(_0x1d9957=_0x4bb3f8[_0x3c7df0(0x37e)](_0x4843e4,_0xfa0b01,_0x334ae9))==null?void 0x0:_0x1d9957[_0x3c7df0(0x19d)];if(!_0x4ce2f4)return!0x1;const _0x504bb7=_0x100f10['get'](he)['getPivotTableConfig'](_0x4843e4,_0xfa0b01,_0x334ae9);if(!_0x504bb7)return!0x1;const {rowInfo:_0x258711,colInfo:_0x13a50e}=_0x4ce2f4,_0x94fdd3=_0x258711[_0x1c1eb0][_0x3c7df0(0x2d8)],_0x349a0a=_0x13a50e[_0x25db84][_0x3c7df0(0x2d8)],_0x261b96=_0x258711[_0x1c1eb0]['level'],_0x14cca1=_0x13a50e[_0x25db84]['level'],_0x3fdb37=_0x94fdd3[_0x3c7df0(0x16d)](_0x349a0a),_0x4e3dae=_0x504bb7[_0x3c7df0(0x323)][_0x3c7df0(0x1c1)][_0x3c7df0(0x37f)](0x0,_0x261b96),_0x26949d=_0x504bb7[_0x3c7df0(0x323)][_0x3c7df0(0x209)][_0x3c7df0(0x37f)](0x0,_0x14cca1),_0x4836c4=_0x4e3dae['concat'](_0x26949d),_0x75bd52=_0x3fdb37['map']((_0x5e6934,_0x55d205)=>[_0x5e6934,_0x4836c4[_0x55d205]]),_0x367369=(await _0x100f10['get'](Z)[_0x3c7df0(0x286)]({'unitId':_0x4843e4,'subUnitId':_0xfa0b01,'pivotTableId':_0x334ae9,'params':{'type':k[_0x3c7df0(0x345)],'drillDown':{'tuple':_0x75bd52}}}))[_0x3c7df0(0x1b7)]['drillDown'];if(!_0x367369)return!0x1;const {indexes:_0x1171c0,range:_0x54c605,sourceUnitId:_0x25ffc5,sourceSubUnitId:_0x154db0,formatMap:_0x336bf4}=_0x367369,{startRow:_0x1d0071,endRow:_0x5062ef,startColumn:_0x44c7d5,endColumn:_0xf09b17}=_0x54c605,_0x214455=new _0x1b3fd2(),_0x1320ad=_0x5062ef-_0x1d0071,_0x592798=_0xf09b17-_0x44c7d5,_0xab14d4={},_0x59c366=_0x114031(_0xfcdd4a,{'unitId':_0x25ffc5,'subUnitId':_0x154db0});if(!_0x59c366)return!0x1;const _0x3985e9=fe[_0x3c7df0(0x222)],_0x4df853=fe[_0x3c7df0(0x21f)],_0x1cf3da=fe[_0x3c7df0(0x21f)],_0xd14783=_0x13f195[_0x3c7df0(0x17b)]()[_0x3c7df0(0x2a7)](_0x3985e9),_0x2f8643=_0x13f195[_0x3c7df0(0x17b)]()[_0x3c7df0(0x2a7)](_0x4df853),_0x3522b8=_0x13f195[_0x3c7df0(0x17b)]()[_0x3c7df0(0x2a7)](_0x1cf3da),{worksheet:_0x3ca87a}=_0x59c366;let _0x4dc91c=0x0;const _0x14c09b=0x1;_0x1171c0[_0x3c7df0(0x276)](_0x145165=>{const _0x4210f3=_0x3c7df0;for(let _0x4ee1c9=0x0;_0x4ee1c9<=_0xf09b17-_0x44c7d5;_0x4ee1c9++)_0x214455['setValue'](_0x4dc91c,_0x4ee1c9,_0x3ca87a[_0x4210f3(0x22c)](_0x145165+_0x54c605[_0x4210f3(0x1a0)]+_0x14c09b,_0x4ee1c9));_0x4dc91c++;});for(let _0x1254c7=_0x44c7d5;_0x1254c7<=_0xf09b17;_0x1254c7++){const _0x2b72e0=_0x3ca87a[_0x3c7df0(0x22c)](_0x1d0071,_0x1254c7);_0xab14d4[_0x1d0071]||(_0xab14d4[_0x1d0071]={}),_0xab14d4[_0x1d0071][_0x1254c7]={..._0x2b72e0,'s':_0xd14783};}let _0x50c704=0x1;const _0xa95211={},_0x3b39c7={};_0x214455[_0x3c7df0(0x1c2)]((_0x2d99b6,_0x19e498)=>{const _0x4582c1=_0x3c7df0;_0x19e498[_0x4582c1(0x276)](_0x493081=>{const _0x4197bf=_0x4582c1,_0x42c283=_0x214455[_0x4197bf(0x35f)](_0x2d99b6,_0x493081);if(_0xab14d4[_0x50c704]||(_0xab14d4[_0x50c704]={}),_0xab14d4[_0x50c704][_0x493081]={..._0x42c283,'s':_0x50c704%0x2===0x0?_0x3522b8:_0x2f8643},_0x336bf4[_0x493081]&&_0x2d99b6>=0x0){const _0x465b9a=_0x50c704%0x2===0x0;let _0x44be5b=_0x465b9a?_0x3b39c7[_0x493081]:_0xa95211[_0x493081];_0x44be5b||(_0x44be5b=_0x13f195['getStyles']()[_0x4197bf(0x2a7)]({..._0x465b9a?_0x1cf3da:_0x4df853,'n':{'pattern':_0x336bf4[_0x493081]}}),_0x465b9a?_0x3b39c7[_0x493081]=_0x44be5b:_0xa95211[_0x493081]=_0x44be5b),_0xab14d4[_0x50c704][_0x493081]['s']=_0x44be5b;}}),_0x50c704++;});const _0x301f45=new _0x1b3fd2(_0xab14d4),_0x5ba043={};_0x301f45[_0x3c7df0(0x1e1)]((_0x249557,_0x1e4367,_0x2b1d2c)=>{_0x5ba043[_0x249557]||(_0x5ba043[_0x249557]={}),_0x5ba043[_0x249557][_0x1e4367]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x29e643=[],_0x469e10=[],_0x93a340=_0x13f195['getSheets']()[_0x3c7df0(0x337)],_0x91731d=_0x3cd2fb({'rowCount':Math[_0x3c7df0(0x15f)](_0x2e67ae,_0x1320ad+0xa),'columnCount':Math[_0x3c7df0(0x15f)](_0x4e43c9,_0x592798+0x5)}),_0x2102d7=_0x100f10[_0x3c7df0(0x19a)](_0x1c8344);_0x91731d['id']=_0x2255fd(),_0x91731d[_0x3c7df0(0x3b6)]=_0x13f195[_0x3c7df0(0x1df)](''+_0x2102d7['t'](_0x3c7df0(0x195)));const _0x2b1169={'index':_0x93a340,'sheet':_0x91731d,'unitId':_0x4843e4},_0x1b0eb7=_0x21b188(_0x100f10,_0x2b1169);_0x469e10['push']({'id':_0xd999c['id'],'params':_0x2b1169}),_0x29e643['push']({'id':_0x557eaa['id'],'params':_0x1b0eb7}),_0x469e10['push']({'id':_0xe792fa['id'],'params':{'unitId':_0x4843e4,'subUnitId':_0x91731d['id'],'cellValue':_0xab14d4}}),_0x29e643[_0x3c7df0(0x268)]({'id':_0xe792fa['id'],'params':{'unitId':_0x4843e4,'subUnitId':_0x91731d['id'],'cellValue':_0x5ba043}});const _0x3d3282={'startRow':0x0,'startColumn':0x0,'endRow':_0x50c704-0x1,'endColumn':_0xf09b17};_0x469e10['push']({'id':_0x2b84b5['id'],'params':{'unitId':_0x4843e4,'subUnitId':_0x91731d['id'],'range':_0x3d3282}}),_0x29e643[_0x3c7df0(0x268)]({'id':_0x92e8ac['id'],'params':{'unitId':_0x4843e4,'subUnitId':_0x91731d['id']}});const _0x3d7259=_0x100f10[_0x3c7df0(0x19a)](_0x13bfb7);return _0x54e36f(_0x469e10,_0x3d7259)&&_0x100f10['get'](_0x5c2b2f)[_0x3c7df0(0x2c8)]({'unitID':_0x4843e4,'undoMutations':_0x29e643,'redoMutations':_0x469e10}),!0x0;}},Cs={'type':_0x99442f['COMMAND'],'id':_0x1e4666(0x2f2),async 'handler'(_0x4cd584,_0x2fb67f){const _0x13a19c=_0x1e4666;if(!_0x2fb67f)return!0x1;const _0x38dc1e=_0x4cd584[_0x13a19c(0x19a)](_0x13bfb7),_0x44c429=_0x4cd584[_0x13a19c(0x19a)](Z),_0x25ee6e=_0x4cd584[_0x13a19c(0x19a)](_0x5c2b2f),{pivotTableId:_0x8e3307,fieldIds:_0x5b623d,unitId:_0x434c9e,subUnitId:_0x2667e5}=_0x2fb67f,_0x3d71d2=(await _0x44c429[_0x13a19c(0x286)]({'unitId':_0x434c9e,'subUnitId':_0x2667e5,'pivotTableId':_0x8e3307,'params':{'type':k[_0x13a19c(0x3ac)],'removePivotField':{'fieldIds':_0x5b623d}}}))[_0x13a19c(0x1b7)][_0x13a19c(0x394)];if(!_0x3d71d2)return!0x1;const {view:_0x527bd9,changesets:_0x4e2a12,isEmpty:_0x2692b6,pivotTableConfig:_0x71c8c7}=_0x3d71d2,_0x253686=_0x71c8c7[_0x13a19c(0x2e8)],_0x419fae=new _0x49d704();_0x419fae[_0x13a19c(0x15c)](_0x527bd9);const _0x24cc72={'cellInfo':_0x253686,'view':_0x419fae,'isEmpty':_0x2692b6};if(!await _0x4cd584[_0x13a19c(0x19a)](ie)[_0x13a19c(0x258)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x24cc72))return!0x1;const _0x2e0989=we(_0x4cd584,_0x419fae,_0x253686,_0x2692b6),_0x45c39c=_e(_0x4cd584,_0x24cc72),{redos:_0x5921c5,undos:_0x5055a2}=me(_0x38dc1e,{'pivotTableId':_0x8e3307,'unitId':_0x434c9e,'subUnitId':_0x2667e5},_0x4e2a12);return _0x54e36f([..._0x2e0989[_0x13a19c(0x24a)],..._0x45c39c[_0x13a19c(0x24a)],..._0x5921c5],_0x38dc1e),_0x25ee6e[_0x13a19c(0x2c8)]({'unitID':_0x434c9e,'redoMutations':[..._0x2e0989[_0x13a19c(0x24a)],..._0x45c39c[_0x13a19c(0x24a)],..._0x5921c5],'undoMutations':[..._0x2e0989[_0x13a19c(0x2c9)],..._0x45c39c[_0x13a19c(0x2c9)],..._0x5055a2]}),!0x0;}},bs={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x1fa),async 'handler'(_0x55b2fd,_0x49e965){const _0x2b4647=_0x1e4666;var _0x5ee9b1;const _0x1cf700=_0x55b2fd[_0x2b4647(0x19a)](_0x13bfb7),_0x361664=_0x55b2fd['get'](Z),_0x30f91a=_0x55b2fd[_0x2b4647(0x19a)](Ne),_0x5e08ba=_0x55b2fd[_0x2b4647(0x19a)](_0x11d98b),_0x44bacc=_0x55b2fd[_0x2b4647(0x19a)](_0x5c2b2f);if(!_0x49e965)return!0x1;const {unitId:_0x179bfe,subUnitId:_0x30d047,row:_0x4aed22,col:_0x298318,collapse:_0x3be171}=_0x49e965,_0x103f3f=_0x5e08ba[_0x2b4647(0x317)](_0x179bfe);if(!_0x103f3f||!_0x103f3f[_0x2b4647(0x1d1)](_0x30d047))return!0x1;const _0xe59e4=_0x30f91a[_0x2b4647(0x167)](_0x179bfe,_0x30d047,_0x4aed22,_0x298318);if(!_0xe59e4)return!0x1;const _0x134432=_0x30f91a['getPivotItemRenderInfoCache'](_0x179bfe,_0x30d047,_0xe59e4);if(!_0x134432)return!0x1;const _0xd4130d=_0x44c758(_0x4aed22,_0x298318),{rangesInfo:_0x1f486b,areaInfo:_0x2a3abc,headerMap:_0x24609b}=_0x134432;if(!_0x1f486b||!_0x2a3abc||!_0x24609b)return!0x1;const _0x405e6d=Object[_0x2b4647(0x181)](_0x1f486b)[_0x2b4647(0x265)](_0x15a977=>_0x1f486b[_0x15a977][_0x2b4647(0x283)](_0x560d77=>_0x100b6c[_0x2b4647(0x33f)](_0x560d77,_0xd4130d)));let _0x37145a;_0x405e6d==='rowRanges'?_0x37145a=_0x24609b['rowHeaderMap'][_0x298318]:_0x405e6d==='colRanges'&&(_0x37145a=_0x24609b[_0x2b4647(0x333)][_0x4aed22]);const _0x25ecae=_0x37145a==null?void 0x0:_0x37145a[_0x2b4647(0x1e0)],_0x1a3bf7=(_0x5ee9b1=_0x30f91a[_0x2b4647(0x1f1)](_0x179bfe,_0x30d047,_0x4aed22,_0x298318))==null?void 0x0:_0x5ee9b1['v'];if(_0x1a3bf7==null||!_0xe59e4||!_0x25ecae)return!0x1;const _0x1d8f67=await _0x361664[_0x2b4647(0x286)]({'unitId':_0x179bfe,'subUnitId':_0x30d047,'pivotTableId':_0xe59e4,'params':{'type':k[_0x2b4647(0x2e6)],'setPivotCollapse':{'tableFieldId':_0x25ecae,'collapse':_0x3be171,'item':_0x1a3bf7}}}),_0x506518=_0x1d8f67==null?void 0x0:_0x1d8f67[_0x2b4647(0x1b7)]['setPivotCollapse'];if(!_0x506518)return!0x1;const {view:_0x548437,pivotTableConfig:_0x349973,isEmpty:_0x1d3ddf,changesets:_0x1a160e}=_0x506518,_0x3a39cc=new _0x49d704();_0x3a39cc[_0x2b4647(0x15c)](_0x548437);const _0x5386c5=_0x349973[_0x2b4647(0x2e8)],_0x216f4e={'cellInfo':_0x5386c5,'view':_0x3a39cc,'isEmpty':_0x1d3ddf};if(!await _0x55b2fd[_0x2b4647(0x19a)](ie)[_0x2b4647(0x258)][_0x2b4647(0x3ab)](be)(!0x0,_0x216f4e))return!0x1;const _0x2c8ceb=we(_0x55b2fd,_0x3a39cc,_0x5386c5,_0x1d3ddf),_0x1460b3=_e(_0x55b2fd,_0x216f4e),{redos:_0x21f9d8,undos:_0x1f2e66}=me(_0x1cf700,{'pivotTableId':_0xe59e4,'unitId':_0x179bfe,'subUnitId':_0x30d047},_0x1a160e);return _0x54e36f([..._0x2c8ceb[_0x2b4647(0x24a)],..._0x1460b3[_0x2b4647(0x24a)],..._0x21f9d8],_0x1cf700),_0x44bacc[_0x2b4647(0x2c8)]({'unitID':_0x179bfe,'redoMutations':[..._0x2c8ceb[_0x2b4647(0x24a)],..._0x1460b3[_0x2b4647(0x24a)],..._0x21f9d8],'undoMutations':[..._0x2c8ceb[_0x2b4647(0x2c9)],..._0x1460b3['undos'],..._0x1f2e66]}),!0x0;}},Ss={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x32f),async 'handler'(_0x44f7e4,_0x27b906){const _0x5d8c7f=_0x1e4666;if(!_0x27b906)return!0x1;const _0x205e81=_0x44f7e4[_0x5d8c7f(0x19a)](_0x13bfb7),{pivotTableId:_0x11eb6d,tableFieldId:_0x1336ce,items:_0x231ebc,unitId:_0x393a8b,subUnitId:_0xb6f059,isAll:_0x24a0ea}=_0x27b906,_0x161aef=_0x44f7e4['get'](Z),_0x57585b=_0x44f7e4[_0x5d8c7f(0x19a)](_0x5c2b2f),_0xeb47f4=(await _0x161aef[_0x5d8c7f(0x286)]({'unitId':_0x393a8b,'subUnitId':_0xb6f059,'pivotTableId':_0x11eb6d,'params':{'type':k[_0x5d8c7f(0x26b)],'setPivotFilter':{'tableFieldId':_0x1336ce,'items':_0x231ebc,'isAll':_0x24a0ea}}}))[_0x5d8c7f(0x1b7)][_0x5d8c7f(0x3a6)];if(!_0xeb47f4)return!0x1;const {changesets:_0x1dec04,pivotTableConfig:_0x445df0,isEmpty:_0x4f5800,view:_0x1cbf8f}=_0xeb47f4,_0xad83fd=_0x445df0[_0x5d8c7f(0x2e8)],_0x5a1806=new _0x49d704();_0x5a1806['formJSON'](_0x1cbf8f);const _0x31d66b={'cellInfo':_0xad83fd,'view':_0x5a1806,'isEmpty':_0x4f5800};if(!await _0x44f7e4['get'](ie)[_0x5d8c7f(0x258)][_0x5d8c7f(0x3ab)](be)(!0x0,_0x31d66b))return!0x1;const _0x3c8522=we(_0x44f7e4,_0x5a1806,_0xad83fd,_0x4f5800),_0x389c23=_e(_0x44f7e4,_0x31d66b),{undos:_0x46728a,redos:_0x443fcd}=me(_0x205e81,{'pivotTableId':_0x11eb6d,'unitId':_0x393a8b,'subUnitId':_0xb6f059},_0x1dec04);return _0x54e36f([..._0x3c8522[_0x5d8c7f(0x24a)],..._0x389c23[_0x5d8c7f(0x24a)],..._0x443fcd],_0x205e81),_0x57585b[_0x5d8c7f(0x2c8)]({'unitID':_0x393a8b,'redoMutations':[..._0x3c8522[_0x5d8c7f(0x24a)],..._0x389c23[_0x5d8c7f(0x24a)],..._0x443fcd],'undoMutations':[..._0x3c8522[_0x5d8c7f(0x2c9)],..._0x389c23[_0x5d8c7f(0x2c9)],..._0x46728a]}),!0x0;}},Ps={'type':_0x99442f[_0x1e4666(0x177)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x180cd7,_0xbc3968){const _0x3d917e=_0x1e4666;if(!_0xbc3968)return!0x1;const _0xa50239=_0x180cd7[_0x3d917e(0x19a)](_0x13bfb7),_0xf22fd5=_0x180cd7[_0x3d917e(0x19a)](_0x5c2b2f),_0x44d103=_0x180cd7[_0x3d917e(0x19a)](Z),{info:_0x24dff8,tableFieldId:_0xb4301d,pivotTableId:_0x573691,unitId:_0x3e9fb0,subUnitId:_0x23c9fc}=_0xbc3968,_0x9409ca=(await _0x44d103[_0x3d917e(0x286)]({'unitId':_0x3e9fb0,'subUnitId':_0x23c9fc,'pivotTableId':_0x573691,'params':{'type':k[_0x3d917e(0x1c7)],'setPivotSort':{'tableFieldId':_0xb4301d,'info':_0x24dff8}}}))[_0x3d917e(0x1b7)]['setPivotSort'];if(!_0x9409ca)return!0x1;const {changesets:_0xb23080}=_0x9409ca,{redos:_0x361932,undos:_0x4559c7}=me(_0xa50239,{'pivotTableId':_0x573691,'unitId':_0x3e9fb0,'subUnitId':_0x23c9fc},_0xb23080);return _0x54e36f(_0x361932,_0xa50239),_0xf22fd5['pushUndoRedo']({'unitID':_0x3e9fb0,'redoMutations':_0x361932,'undoMutations':_0x4559c7}),!0x0;}},Ts={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x2d7),async 'handler'(_0x3ff034,_0x124c63){const _0x371ccb=_0x1e4666;if(!_0x124c63)return!0x1;const _0x1047f7=_0x3ff034[_0x371ccb(0x19a)](_0x13bfb7),_0x59cc05=_0x3ff034['get'](_0x5c2b2f),_0x391eb0=_0x3ff034[_0x371ccb(0x19a)](Z),{displayName:_0x52ca75,subtotalType:_0x1635b8,format:_0x5ec104,tableFieldId:_0xaff2ca,pivotTableId:_0x41dad1,unitId:_0x106285,subUnitId:_0x3bf8c0}=_0x124c63,_0x136b53=(await _0x391eb0[_0x371ccb(0x286)]({'unitId':_0x106285,'subUnitId':_0x3bf8c0,'pivotTableId':_0x41dad1,'params':{'type':k[_0x371ccb(0x297)],'setPivotSetting':{'tableFieldId':_0xaff2ca,'displayName':_0x52ca75,'subtotalType':_0x1635b8,'format':_0x5ec104}}}))[_0x371ccb(0x1b7)][_0x371ccb(0x1a6)];if(!_0x136b53)return!0x1;const {changesets:_0x4d3bce,view:_0x21cfaf,pivotTableConfig:_0x537943,isEmpty:_0x62664e}=_0x136b53,_0x30ef6a=_0x537943[_0x371ccb(0x2e8)],_0x1d8b18=new _0x49d704();_0x1d8b18[_0x371ccb(0x15c)](_0x21cfaf);const _0x30c9b2={'cellInfo':_0x30ef6a,'view':_0x1d8b18,'isEmpty':_0x62664e};if(!await _0x3ff034['get'](ie)[_0x371ccb(0x258)][_0x371ccb(0x3ab)](be)(!0x0,_0x30c9b2))return!0x1;const _0x5f0d03=we(_0x3ff034,_0x1d8b18,_0x30ef6a,_0x62664e),_0x44693c=_e(_0x3ff034,_0x30c9b2),{undos:_0x4efbbb,redos:_0x32542b}=me(_0x1047f7,{'pivotTableId':_0x41dad1,'unitId':_0x106285,'subUnitId':_0x3bf8c0},_0x4d3bce);return _0x54e36f([..._0x5f0d03['redos'],..._0x44693c['redos'],..._0x32542b],_0x1047f7),_0x59cc05['pushUndoRedo']({'unitID':_0x106285,'redoMutations':[..._0x5f0d03['redos'],..._0x44693c[_0x371ccb(0x24a)],..._0x32542b],'undoMutations':[..._0x5f0d03[_0x371ccb(0x2c9)],..._0x44693c[_0x371ccb(0x2c9)],..._0x4efbbb]}),!0x0;}},ys={'type':_0x99442f['COMMAND'],'id':_0x1e4666(0x280),async 'handler'(_0x398387,_0x55454e){const _0x1e13db=_0x1e4666,_0x2d2093=_0x398387[_0x1e13db(0x19a)](_0x13bfb7),_0x44351e=_0x398387['get'](Z),_0x234a7c=_0x398387['get'](_0x5c2b2f);if(!_0x55454e)return!0x1;const {token:_0x56c157,dataRangeInfo:_0x2e4eba,unitId:_0x212487,subUnitId:_0x564160}=_0x55454e,_0x5526=[],_0x34383f=[],_0x21732f=(await _0x44351e[_0x1e13db(0x286)]({'unitId':_0x212487,'subUnitId':_0x564160,'pivotTableId':_0x56c157,'params':{'type':k[_0x1e13db(0x2c1)],'updatePivotSource':{'dataRangeInfo':_0x2e4eba,'unitId':_0x212487,'subUnitId':_0x564160}}}))[_0x1e13db(0x1b7)][_0x1e13db(0x31f)];if(!_0x21732f)return!0x1;const {changesets:_0x9393c6,deleteIds:_0x103cf3,collectionConfig:_0x57743,oldCollectionConfig:_0x459994,view:_0x588232,isEmpty:_0x7f93dc,pivotTableConfig:_0x587eeb}=_0x21732f;_0x34383f[_0x1e13db(0x1cd)]({'id':to['id'],'params':{'pivotTableId':_0x56c157,'deleteIds':_0x103cf3,'collectionJSON':_0x57743,'dataRangeInfo':_0x2e4eba,'unitId':_0x212487,'subUnitId':_0x564160}}),_0x5526['unshift']({'id':to['id'],'params':{'pivotTableId':_0x56c157,'deleteIds':[],'collectionJSON':_0x459994,'dataRangeInfo':_0x587eeb['sourceRangeInfo'],'unitId':_0x212487,'subUnitId':_0x564160}});const _0x23bba2=_0x587eeb['targetCellInfo'],_0x3bab34=new _0x49d704();_0x3bab34[_0x1e13db(0x15c)](_0x588232);const _0x577abc={'cellInfo':_0x23bba2,'view':_0x3bab34,'isEmpty':_0x7f93dc};if(!await _0x398387[_0x1e13db(0x19a)](ie)[_0x1e13db(0x258)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x577abc))return!0x1;const _0x555fd9=we(_0x398387,_0x3bab34,_0x23bba2,_0x7f93dc),_0x404066=_e(_0x398387,_0x577abc),{undos:_0x4fe13d,redos:_0x1c195a}=me(_0x2d2093,{'pivotTableId':_0x56c157,'unitId':_0x212487,'subUnitId':_0x564160},_0x9393c6);return _0x54e36f([..._0x555fd9[_0x1e13db(0x24a)],..._0x404066[_0x1e13db(0x24a)],..._0x34383f,..._0x4fe13d],_0x2d2093),_0x234a7c[_0x1e13db(0x2c8)]({'unitID':_0x212487,'redoMutations':[..._0x555fd9['redos'],..._0x404066[_0x1e13db(0x24a)],..._0x34383f,..._0x4fe13d],'undoMutations':[..._0x555fd9[_0x1e13db(0x2c9)],..._0x404066[_0x1e13db(0x2c9)],..._0x5526,..._0x1c195a]}),!0x0;}},Ms={'type':_0x99442f['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x1c97ea,_0x5d0a9b){const _0x5e2e28=_0x1e4666;if(!_0x5d0a9b)return!0x1;const _0x9adb8c=_0x1c97ea[_0x5e2e28(0x19a)](_0x13bfb7),_0x1f7521=_0x1c97ea[_0x5e2e28(0x19a)](Z),_0x259446=_0x1c97ea[_0x5e2e28(0x19a)](_0x11d98b),_0x110f0e=_0x1c97ea['get'](_0x5c2b2f),{pivotTableId:_0x272ea6,position:_0x5dd17e,index:_0x1c2cfa}=_0x5d0a9b,_0x17325f=_0x114031(_0x259446);if(!_0x17325f)return!0x1;const {unitId:_0x148760,subUnitId:_0x2fdbc9}=_0x17325f,_0x34aa46=(await _0x1f7521[_0x5e2e28(0x286)]({'unitId':_0x148760,'subUnitId':_0x2fdbc9,'pivotTableId':_0x272ea6,'params':{'type':k[_0x5e2e28(0x18c)],'updateValuePosition':{'position':_0x5dd17e,'index':_0x1c2cfa}}}))[_0x5e2e28(0x1b7)][_0x5e2e28(0x281)];if(!_0x34aa46)return!0x1;const {changesets:_0x3d8aae,view:_0x2409c4,isEmpty:_0x31094c,pivotTableConfig:_0x1d7f8e}=_0x34aa46,_0x715679=_0x1d7f8e[_0x5e2e28(0x2e8)],_0x3e77ca=new _0x49d704();_0x3e77ca[_0x5e2e28(0x15c)](_0x2409c4);const _0x1f5712=_0x1c97ea[_0x5e2e28(0x19a)](ie),_0x28120a={'cellInfo':_0x715679,'view':_0x3e77ca,'isEmpty':_0x31094c};if(!await _0x1f5712[_0x5e2e28(0x258)][_0x5e2e28(0x3ab)](be)(!0x0,_0x28120a))return!0x1;const _0x5ef0d7=we(_0x1c97ea,_0x3e77ca,_0x715679,_0x31094c),_0x2b8e01=_e(_0x1c97ea,_0x28120a),{undos:_0x1e9c7e,redos:_0x502868}=me(_0x9adb8c,{'pivotTableId':_0x272ea6,'unitId':_0x148760,'subUnitId':_0x2fdbc9},_0x3d8aae);return _0x54e36f([..._0x5ef0d7['redos'],..._0x2b8e01[_0x5e2e28(0x24a)],..._0x502868],_0x9adb8c),_0x110f0e['pushUndoRedo']({'unitID':_0x148760,'redoMutations':[..._0x5ef0d7[_0x5e2e28(0x24a)],..._0x2b8e01[_0x5e2e28(0x24a)],..._0x502868],'undoMutations':[..._0x5ef0d7[_0x5e2e28(0x2c9)],..._0x2b8e01[_0x5e2e28(0x2c9)],..._0x1e9c7e]}),!0x0;}},ws={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x35d),'handler':(_0x5c9f0d,_0x3ab7db)=>{const _0x204fc3=_0x1e4666,_0x7e6bfa=_0x5c9f0d[_0x204fc3(0x19a)](_0x13bfb7),_0x15f5a7=_0x5c9f0d[_0x204fc3(0x19a)](_0x5c2b2f),_0x44a59c=_0x5c9f0d['get'](he),_0x1c0c83=_0x5c9f0d[_0x204fc3(0x19a)](_0x11d98b);if(!_0x3ab7db)return!0x1;const _0x3e276a=_0x114031(_0x1c0c83);if(!_0x3e276a)return!0x1;const {unitId:_0x41f55d,subUnitId:_0x3f3395,workbook:_0x496e16}=_0x3e276a,_0x26fab8=_0x44a59c[_0x204fc3(0x39d)](_0x3ab7db['originTargetInfo']['unitId'],_0x3ab7db[_0x204fc3(0x18a)][_0x204fc3(0x1b8)],_0x3ab7db['pivotTableId']);if(!_0x26fab8)return!0x1;const _0x12e1a0=_0x496e16[_0x204fc3(0x1d1)](_0x3ab7db[_0x204fc3(0x2e8)]['subUnitId']);if(!_0x12e1a0)throw new Error(_0x204fc3(0x2e1));const _0xead187=_0x12e1a0['getRowCount'](),_0x306174=_0x12e1a0['getColumnCount']();if(_0x3ab7db[_0x204fc3(0x2e8)][_0x204fc3(0x17f)]>_0xead187||_0x3ab7db[_0x204fc3(0x2e8)][_0x204fc3(0x1f5)]>_0x306174)throw new Error(_0x204fc3(0x2ef));const _0x4beba0=[{'id':pt['id'],'params':{'unitId':_0x41f55d,'subUnitId':_0x3ab7db['targetCellInfo']['subUnitId'],'pivotTableId':_0x3ab7db[_0x204fc3(0x261)],'targetCellPosition':{'row':_0x3ab7db[_0x204fc3(0x2e8)][_0x204fc3(0x17f)],'col':_0x3ab7db[_0x204fc3(0x2e8)][_0x204fc3(0x1f5)]}}}],_0x34a172=[{'id':pt['id'],'params':{'unitId':_0x41f55d,'subUnitId':_0x3f3395,'pivotTableId':_0x3ab7db['pivotTableId'],'targetCellPosition':{'row':_0x26fab8[_0x204fc3(0x2e8)][_0x204fc3(0x17f)],'col':_0x26fab8['targetCellInfo'][_0x204fc3(0x1f5)]}}}];return _0x54e36f(_0x4beba0,_0x7e6bfa)&&_0x15f5a7[_0x204fc3(0x2c8)]({'unitID':_0x41f55d,'undoMutations':_0x34a172,'redoMutations':_0x4beba0}),!0x0;}},_s={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x3cb),async 'handler'(_0x244674,_0x5c39a6){const _0x2e05cf=_0x1e4666;if(!_0x5c39a6)return!0x1;const _0x3ad110=_0x244674[_0x2e05cf(0x19a)](_0x13bfb7),{pivotTableId:_0x159de3,fieldId:_0x457cb3,valueFilterInfo:_0x125f66,unitId:_0xb8c300,subUnitId:_0x1cdd5b}=_0x5c39a6,_0x591266=_0x244674['get'](Z),_0x126681=_0x244674[_0x2e05cf(0x19a)](_0x5c2b2f),_0x580ff8=(await _0x591266[_0x2e05cf(0x286)]({'unitId':_0xb8c300,'subUnitId':_0x1cdd5b,'pivotTableId':_0x159de3,'params':{'type':k[_0x2e05cf(0x210)],'setValuePivotFilter':{'tableFieldId':_0x457cb3,'filterInfo':_0x125f66}}}))[_0x2e05cf(0x1b7)][_0x2e05cf(0x377)];if(!_0x580ff8)return!0x1;const {changesets:_0x14728f,pivotTableConfig:_0x24e4c8,isEmpty:_0x5bf462,view:_0x3b252a}=_0x580ff8,_0x4ee92e=_0x24e4c8[_0x2e05cf(0x2e8)],_0x2d0f40=new _0x49d704();_0x2d0f40[_0x2e05cf(0x15c)](_0x3b252a);const _0xef2b03={'cellInfo':_0x4ee92e,'view':_0x2d0f40,'isEmpty':_0x5bf462};if(!await _0x244674['get'](ie)[_0x2e05cf(0x258)][_0x2e05cf(0x3ab)](be)(!0x0,_0xef2b03))return!0x1;const _0xdc0ee7=we(_0x244674,_0x2d0f40,_0x4ee92e,_0x5bf462),_0x4bc8ce=_e(_0x244674,_0xef2b03),{undos:_0x177fa4,redos:_0xfbad4c}=me(_0x3ad110,{'pivotTableId':_0x159de3,'unitId':_0xb8c300,'subUnitId':_0x1cdd5b},_0x14728f);return _0x54e36f([..._0xdc0ee7['redos'],..._0x4bc8ce[_0x2e05cf(0x24a)],..._0xfbad4c],_0x3ad110),_0x126681[_0x2e05cf(0x2c8)]({'unitID':_0xb8c300,'redoMutations':[..._0xdc0ee7['redos'],..._0x4bc8ce[_0x2e05cf(0x24a)],..._0xfbad4c],'undoMutations':[..._0xdc0ee7[_0x2e05cf(0x2c9)],..._0x4bc8ce[_0x2e05cf(0x2c9)],..._0x177fa4]}),!0x0;}},Rs={'type':_0x99442f[_0x1e4666(0x177)],'id':_0x1e4666(0x32e),async 'handler'(_0x3f591a,_0x115945){const _0x2ddf43=_0x1e4666;if(!_0x115945)return!0x1;const _0x172330=_0x3f591a[_0x2ddf43(0x19a)](_0x13bfb7),_0xa57620=_0x3f591a['get'](_0x5c2b2f),_0x3ba672=_0x3f591a[_0x2ddf43(0x19a)](Z),{pivotTableConfig:_0x33c71d,pivotTableId:_0x58c5b7,unitId:_0x4becf9,subUnitId:_0xc289ef}=_0x115945,_0x55fc88=(await _0x3ba672[_0x2ddf43(0x286)]({'unitId':_0x4becf9,'subUnitId':_0xc289ef,'pivotTableId':_0x58c5b7,'params':{'type':k[_0x2ddf43(0x1be)],'setPivotTableConfig':{'pivotTableId':_0x58c5b7,'pivotTableConfig':_0x33c71d}}}))[_0x2ddf43(0x1b7)][_0x2ddf43(0x2cd)];if(!_0x55fc88)return!0x1;const {changesets:_0x16b0e6}=_0x55fc88,{redos:_0x15eba9,undos:_0x4c5229}=me(_0x172330,{'pivotTableId':_0x58c5b7,'unitId':_0x4becf9,'subUnitId':_0xc289ef},_0x16b0e6);return _0x54e36f(_0x15eba9,_0x172330),_0xa57620[_0x2ddf43(0x2c8)]({'unitID':_0x4becf9,'redoMutations':_0x15eba9,'undoMutations':_0x4c5229}),!0x0;}},Fs={'type':_0x99442f[_0x1e4666(0x177)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x5c45bc,_0x44d9dc){const _0x5eb17d=_0x1e4666;if(!_0x44d9dc)return!0x1;const _0x1d2bfb=_0x5c45bc['get'](_0x13bfb7),_0x3f2548=_0x5c45bc['get'](_0x5c2b2f),_0x463b73=_0x5c45bc[_0x5eb17d(0x19a)](Z),{resetArea:_0x491679,pivotTableId:_0x303f75,unitId:_0xcb2321,subUnitId:_0x546dc9}=_0x44d9dc,_0x52c04c=(await _0x463b73['getPivotDisplayConfig']({'unitId':_0xcb2321,'subUnitId':_0x546dc9,'pivotTableId':_0x303f75,'params':{'type':k[_0x5eb17d(0x204)],'resetPivotTable':{'pivotTableId':_0x303f75,'resetArea':_0x491679}}}))[_0x5eb17d(0x1b7)][_0x5eb17d(0x3cd)];if(!_0x52c04c)return!0x1;const {changesets:_0x3f8464}=_0x52c04c,{redos:_0x17d111,undos:_0x2622d1}=me(_0x1d2bfb,{'pivotTableId':_0x303f75,'unitId':_0xcb2321,'subUnitId':_0x546dc9},_0x3f8464);return _0x54e36f(_0x17d111,_0x1d2bfb),_0x3f2548[_0x5eb17d(0x2c8)]({'unitID':_0xcb2321,'redoMutations':_0x17d111,'undoMutations':_0x2622d1}),!0x0;}},oo={'id':_0x1e4666(0x391),'type':_0x99442f['MUTATION'],'handler':(_0x271183,_0xf56432)=>{const _0x32da5c=_0x1e4666;if(!_0xf56432)return!0x1;if(!!_0x271183[_0x32da5c(0x19a)](_0x6f69e8)['getConfig'](q))return!0x0;const {unitId:_0x5208a1,subUnitId:_0x4c7499,pivotTableId:_0x4d49f8,tableFieldId:_0x208b9f,dateType:_0x5f12db}=_0xf56432,_0x22a780=_0x271183[_0x32da5c(0x19a)]($),_0xca16d6=_0x22a780[_0x32da5c(0x3aa)](_0x4d49f8);if(!_0xca16d6)return!0x1;const _0x3d480b=_0xca16d6['getDataFieldByTableId'](_0x208b9f);if(!_0x3d480b)return!0x1;const _0x525de7=_0x3d480b[_0x32da5c(0x170)](),_0x13290c=_0xca16d6['getDataFieldByDataFieldId'](_0x525de7),_0x5e4a12=(_0x13290c==null?void 0x0:_0x13290c['getName']())+'\x20'+qo(_0x271183,_0x5f12db);_0x22a780[_0x32da5c(0x190)](_0x5208a1,_0x4d49f8)['setDisplayName'](_0x3d480b['id'],_0x5e4a12);const _0x289acd=_0xca16d6[_0x32da5c(0x260)](_0x208b9f);if(!_0x289acd)return!0x1;_0xca16d6['renameField'](_0x289acd[_0x32da5c(0x300)](),_0x5e4a12),_0x3d480b[_0x32da5c(0x1e9)](_0x5f12db);const _0x34c6c6=_0x22a780['getPivotTableConfig'](_0x5208a1,_0x4c7499,_0x4d49f8);return _0x22a780['addDirtyPivotTable']({'unitId':_0x5208a1,'subUnitId':_0x4c7499,'token':_0x4d49f8,'type':B[_0x32da5c(0x1b0)],'pivotConfig':_0x34c6c6}),!0x0;}},Ds={'id':_0x1e4666(0x1dc),'type':_0x99442f[_0x1e4666(0x177)],'handler':(_0x59ca6b,_0xdb2585)=>{const _0x193a1e=_0x1e4666;if(!_0xdb2585)return!0x1;const _0x35a5ad=_0x59ca6b[_0x193a1e(0x19a)](_0x5c2b2f),{unitId:_0x4be6b0,subUnitId:_0x287f1a,pivotTableId:_0x461585,tableFieldId:_0x4ec1c8}=_0xdb2585,_0x99e52c=[],_0x5c251a=[],_0x4e25e7=_0x59ca6b[_0x193a1e(0x19a)](he),_0xad24a6=_0x4e25e7['getCollection'](_0x4be6b0,_0x461585),_0x211d2b=_0x4e25e7[_0x193a1e(0x39d)](_0x4be6b0,_0x287f1a,_0x461585);if(!(_0x211d2b!=null&&_0x211d2b[_0x193a1e(0x323)]['dimension']))return!0x1;const _0x57e0f2=Object[_0x193a1e(0x216)](_0x211d2b['fieldsConfig'][_0x193a1e(0x1ae)])[_0x193a1e(0x265)](_0x4b7f6e=>_0x4b7f6e['id']===_0x4ec1c8);if(!_0x57e0f2)return!0x1;const _0x3e4a62=_0x57e0f2[_0x193a1e(0x322)];if(!(_0xad24a6!=null&&_0xad24a6['fields']))return!0x1;const _0x4749e8=Object['values'](_0xad24a6==null?void 0x0:_0xad24a6[_0x193a1e(0x399)])[_0x193a1e(0x265)](_0x6a7967=>_0x6a7967['id']===_0x3e4a62);if(!_0x4749e8)return!0x1;_0x4f4f47(_0x4749e8)&&_0x99e52c[_0x193a1e(0x1cd)]({'id':oo['id'],'params':{..._0xdb2585,'dateType':_0x4749e8['dateType']}}),_0x5c251a[_0x193a1e(0x1cd)]({'id':oo['id'],'params':{..._0xdb2585}});const _0x57745b=_0x59ca6b['get'](_0x13bfb7);return _0x54e36f(_0x5c251a,_0x57745b)&&_0x35a5ad[_0x193a1e(0x2c8)]({'unitID':_0x4be6b0,'undoMutations':_0x99e52c,'redoMutations':_0x5c251a}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x5a1bff,_0x23b01a,_0x20e343,_0x38cbab)=>{const _0x1cd72a=_0x1e4666;for(var _0x304fc7=_0x38cbab>0x1?void 0x0:_0x38cbab?Ns(_0x23b01a,_0x20e343):_0x23b01a,_0x536666=_0x5a1bff[_0x1cd72a(0x337)]-0x1,_0x4ab9a0;_0x536666>=0x0;_0x536666--)(_0x4ab9a0=_0x5a1bff[_0x536666])&&(_0x304fc7=_0x4ab9a0(_0x304fc7)||_0x304fc7);return _0x304fc7;},He=(_0x2c1e8c,_0x518f1f)=>(_0x4f70e9,_0x504515)=>_0x518f1f(_0x4f70e9,_0x504515,_0x2c1e8c);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0x1dc505,_0x33b006,_0x476f2a)=>{const _0x324929=_0x1e4666,_0x31e10c=_0x1dc505[_0x324929(0x160)];_0x1dc505[_0x324929(0x16f)](_0x29b842=>{const _0x4b4686=_0x324929,_0x55c032=_0x29b842['getId'](),_0x4e4bd0=_0x29b842[_0x4b4686(0x226)](),_0x1ee835=_0x29b842['getSourceName'](),_0x288e96=_0x29b842[_0x4b4686(0x36b)]();_0x33b006[_0x4e4bd0]&&_0x33b006[_0x4e4bd0]===_0x288e96&&_0x1ee835===_0x288e96&&(_0x1dc505['renameField'](_0x55c032,_0x31e10c[_0x4b4686(0x36b)](_0x4e4bd0)),_0x29b842[_0x4b4686(0x2d9)](_0x31e10c[_0x4b4686(0x36b)](_0x4e4bd0)));}),_0x1dc505[_0x324929(0x3d2)](_0x2ea213['Value'],_0x1ccb20=>{const _0x52fe45=_0x324929,_0x135867=_0x1ccb20[_0x52fe45(0x300)](),_0x2cf3f1=_0x1ccb20['getDataFieldId'](),_0x41de7f=_0x1ccb20[_0x52fe45(0x38c)](),_0x2b99ce=_0x1ccb20[_0x52fe45(0x36b)](),_0x280832=_0x1ccb20[_0x52fe45(0x1f7)](),_0x2f9869=_0x476f2a(_0x41de7f,_0x280832);_0x33b006[_0x2cf3f1]&&_0x33b006[_0x2cf3f1]===_0x41de7f&&_0x2f9869===_0x2b99ce&&(_0x1dc505[_0x52fe45(0x2d4)](_0x135867,_0x476f2a(_0x31e10c[_0x52fe45(0x36b)](_0x2cf3f1),_0x280832)),_0x1ccb20['setSourceName'](_0x31e10c[_0x52fe45(0x36b)](_0x2cf3f1)));});},Es=(_0x352281,_0xe34b17,_0x3e5c9a)=>{const _0x14230f=_0x1e4666;var _0x10b0f3,_0x11e435;const {arrayFormulaCellData:_0x41b398,unitData:_0x2c2c1a}=_0xe34b17,{unitId:_0x4939ec,subUnitId:_0x30b1ae}=_0x3e5c9a,_0x514821=_0x3e5c9a[_0x14230f(0x271)],{startColumn:_0x3ee716,endColumn:_0x1b842f}=_0x514821,_0x2e46e2=(_0x10b0f3=_0x41b398==null?void 0x0:_0x41b398[_0x4939ec])==null?void 0x0:_0x10b0f3[_0x30b1ae],_0x4351dd=(_0x11e435=_0x2c2c1a==null?void 0x0:_0x2c2c1a[_0x4939ec])==null?void 0x0:_0x11e435[_0x30b1ae],_0x3fb0de=new Set(),_0x4cc394=_0x1b842f-_0x3ee716+0x1,{dirtyRanges:_0xa487f}=_0x352281;if(_0xa487f)for(const {range:_0x1ef6a2,sheetId:_0x3e3628,unitId:_0x404ef5}of _0xa487f){if(_0x3e3628!==_0x30b1ae||_0x4939ec!==_0x404ef5)continue;const _0x38d220=_0x100b6c[_0x14230f(0x389)](_0x1ef6a2,_0x514821);if(_0x38d220){const {startColumn:_0x2ee516,endColumn:_0x43366f}=_0x38d220;for(let _0x8ab72b=_0x2ee516;_0x8ab72b<=_0x43366f;_0x8ab72b++)_0x3fb0de[_0x14230f(0x211)](_0x8ab72b);}}if(_0x3fb0de[_0x14230f(0x2f5)]===_0x4cc394||_0x3fb0de['size']===_0x4cc394)return Array[_0x14230f(0x22b)](_0x3fb0de);if(_0x4351dd){const _0x4d4472=_0x4351dd[_0x14230f(0x304)](),_0x1839e1=Object[_0x14230f(0x181)](_0x4d4472);for(const _0x327751 of _0x1839e1){const _0x1b17ee=Number(_0x327751),_0x1bfb3f=_0x4d4472[_0x1b17ee];if(_0x3fb0de[_0x14230f(0x2f5)]===_0x4cc394)break;for(const _0x156af9 in _0x1bfb3f){const _0x5584b5=Number(_0x156af9);_0x5584b5<_0x3ee716||_0x5584b5>_0x1b842f||_0x3fb0de[_0x14230f(0x211)](_0x5584b5);}}}if(_0x2e46e2){const _0x5c47e1=_0x2e46e2[_0x14230f(0x304)](),_0x200378=Object[_0x14230f(0x181)](_0x5c47e1);for(const _0x5ae8ff of _0x200378){const _0x2db316=Number(_0x5ae8ff),_0xe763d8=_0x5c47e1[_0x2db316];if(_0x3fb0de[_0x14230f(0x2f5)]===_0x4cc394)break;for(const _0x39af09 in _0xe763d8){const _0x24154a=Number(_0x39af09);_0x24154a<_0x3ee716||_0x24154a>_0x1b842f||_0x3fb0de[_0x14230f(0x211)](_0x24154a);}}}return Array[_0x14230f(0x22b)](_0x3fb0de);},Os=_0x97a96c=>{const _0x12e7c9=_0x1e4666,_0x18df59=new Set(),_0x1a62f7=[];for(const _0x3bd5c0 of _0x97a96c){const _0x259299=_0x3bd5c0['startRow']+','+_0x3bd5c0[_0x12e7c9(0x239)]+','+_0x3bd5c0[_0x12e7c9(0x2c3)]+','+_0x3bd5c0[_0x12e7c9(0x38a)];_0x18df59[_0x12e7c9(0x2b7)](_0x259299)||(_0x18df59[_0x12e7c9(0x211)](_0x259299),_0x1a62f7[_0x12e7c9(0x1cd)](_0x3bd5c0));}return _0x1a62f7;};let ct=class extends _0x21cbed{constructor(_0x213001,_0x1ef497,_0xb9b75c,_0x58122a,_0x2b2bdc,_0x47bc75){const _0x5af4a2=_0x1e4666;super(),V(this,_0x5af4a2(0x33a),new _0x3068fa(!0x0)),V(this,_0x5af4a2(0x2c5),_0x2944b2=>{const _0x51fc61=_0x5af4a2;this[_0x51fc61(0x33a)][_0x51fc61(0x3d8)](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x5e2d35=>{const _0x54e2bc=_0x5af4a2;this[_0x54e2bc(0x33a)][_0x54e2bc(0x3d8)](!0x0);}),(this[_0x5af4a2(0x2b9)]=_0x213001,this['_configService']=_0x1ef497,this[_0x5af4a2(0x26c)]=_0xb9b75c,this[_0x5af4a2(0x31c)]=_0x58122a,this['_globalComputingSrv']=_0x2b2bdc,this[_0x5af4a2(0x2ca)]=_0x47bc75,this[_0x5af4a2(0x23b)](),this[_0x5af4a2(0x33b)]());}[_0x1e4666(0x23b)](){const _0x256c38=_0x1e4666;this[_0x256c38(0x3c8)](),this[_0x256c38(0x306)](),this[_0x256c38(0x2f3)](),this[_0x256c38(0x1d0)]();}['_initGlobalComputed'](){const _0x5d73d7=_0x1e4666;this[_0x5d73d7(0x325)][_0x5d73d7(0x369)](this[_0x5d73d7(0x33a)]),_0x219501[_0x5d73d7(0x350)](_0x3a6cdb[_0x5d73d7(0x235)],this[_0x5d73d7(0x2c5)]),_0x219501[_0x5d73d7(0x350)](_0x3a6cdb[_0x5d73d7(0x1f6)],this[_0x5d73d7(0x1ac)]);}[_0x1e4666(0x33b)](){const _0x34abc7=_0x1e4666;this[_0x34abc7(0x20e)](this[_0x34abc7(0x31c)]['onCommandExecuted'](_0x4b053a=>{const _0x27e862=_0x34abc7;_0x4b053a['id']===_0x21ab8f['id']&&this[_0x27e862(0x2b9)][_0x27e862(0x2bf)](_0x4b053a['params']);})),this[_0x34abc7(0x20e)](this['_commandService'][_0x34abc7(0x2de)](_0x448917=>{const _0x269821=_0x34abc7;if(_0x448917['id']!==ro['id'])return;const _0x5d6170=_0x448917[_0x269821(0x358)],{unitId:_0xb7a8a8,subUnitId:_0x360dd9,pivotTableId:_0x2115fe}=_0x5d6170,_0x4296b3=_0x5d6170[_0x269821(0x358)][_0x269821(0x38b)],_0x4da325={};switch(_0x4296b3){case k[_0x269821(0x256)]:{const _0xd6a9f2=_0x5d6170[_0x269821(0x358)][_0x269821(0x24d)];if(!_0xd6a9f2)return;const {row:_0x2b1fc3,col:_0x22767b,cellData:_0x3c50e5,pivotItemRenderInfoCache:_0x3ad603,tableFieldId:_0x2de885}=_0xd6a9f2,_0x159c16=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x5d6170[_0x269821(0x261)]);if(!_0x159c16||!_0x3ad603)return;if(_0x2de885){const _0x27a4f4=_0x159c16[_0x269821(0x3a4)](_0x2de885);if(!_0x27a4f4)return;_0x4da325[_0x269821(0x24d)]={..._0x159c16[_0x269821(0x2e2)](_0x27a4f4),'tableFieldId':_0x2de885,'pivotTableId':_0x5d6170[_0x269821(0x261)],'filterInfo':_0x159c16[_0x269821(0x1a7)](_0x2de885),'sortInfo':_0x159c16[_0x269821(0x26d)](_0x2de885),'format':_0x159c16[_0x269821(0x18d)](_0x2de885)};}else{const _0x309c39=Ei(_0x2b1fc3,_0x22767b,_0x3c50e5,_0x159c16,_0x3ad603),_0xb234d=_0x309c39==null?void 0x0:_0x309c39['filterId'];if(!_0xb234d)return;const _0x5c0c4e=_0x159c16[_0x269821(0x3a4)](_0xb234d);if(!_0x5c0c4e)return;_0x4da325[_0x269821(0x24d)]={..._0x159c16[_0x269821(0x2e2)](_0x5c0c4e),'tableFieldId':_0xb234d,'pivotTableId':_0x5d6170[_0x269821(0x261)],'filterInfo':_0x159c16[_0x269821(0x1a7)](_0xb234d),'sortInfo':_0x159c16[_0x269821(0x26d)](_0xb234d),'format':_0x159c16[_0x269821(0x18d)](_0xb234d)};}}break;case k[_0x269821(0x2a9)]:{const _0x12811f=_0x5d6170[_0x269821(0x358)][_0x269821(0x3ae)];if(!_0x12811f)return;const {pivotTableId:_0x46adb5}=_0x12811f,_0x5133b1=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x46adb5);if(!_0x5133b1)return;const _0x37766a=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x46adb5),_0x3deae5=Oi(_0x5133b1,_0x46adb5,_0x37766a);_0x4da325[_0x269821(0x3ae)]=_0x3deae5;}break;case k[_0x269821(0x33d)]:{const _0x456a63=this['_sheetsPivotDataSourceModel'][_0x269821(0x3aa)](_0x2115fe),_0xefda43=this[_0x269821(0x2b9)][_0x269821(0x1dd)](_0xb7a8a8),_0x2b7159=_0xefda43['getCollection'](_0x2115fe);let _0x572655=null;const _0x9462f9=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe),_0x2ef61a=_0x5d6170[_0x269821(0x358)]['addPivotField'];if(!_0x456a63||!_0x9462f9||!_0x2ef61a)return!0x1;const {dataFieldId:_0x5e2c12,fieldArea:_0x13d467,index:_0xfcbec3}=_0x2ef61a;_0x456a63[_0x269821(0x186)]();const _0x1d6266=_0x456a63['addFieldWithSourceId'](_0x5e2c12,_0x13d467,_0xfcbec3);if(_0x1d6266&&_0x13d467===_0x2ea213[_0x269821(0x318)]){const _0x411f0b=_0x1d6266[_0x269821(0x300)](),_0x120123=_0x456a63[_0x269821(0x3a4)](_0x411f0b);if(_0x120123){const _0x5bf04f=_0x120123==null?void 0x0:_0x120123[_0x269821(0x1fd)]();_0x456a63['setSubtotalType'](_0x1d6266['getId'](),_0x5bf04f===_0x5937a7[_0x269821(0x35c)]?_0x50dbf6[_0x269821(0x373)]:_0x50dbf6[_0x269821(0x1b5)]);}const _0x4f576d=_0x456a63['getValueIndex'](),_0x492def=_0x456a63[_0x269821(0x2ae)](),_0x3fecd1=_0x456a63['getFieldCountByArea'](_0x2ea213[_0x269821(0x318)]);if(_0x4f576d===-0x1&&_0x3fecd1>0x1){const _0x5f10c0=_0x492def===_0x4038c7[_0x269821(0x213)]?_0x4038c7[_0x269821(0x363)]:_0x492def,_0x1dd73f=_0x5f10c0===_0x4038c7[_0x269821(0x353)]?_0x2ea213[_0x269821(0x353)]:_0x2ea213[_0x269821(0x363)];_0x456a63[_0x269821(0x281)](_0x5f10c0,_0x456a63[_0x269821(0x22d)](_0x1dd73f));}}else{if(_0x1d6266&&(_0x13d467===_0x2ea213[_0x269821(0x353)]||_0x13d467===_0x2ea213[_0x269821(0x363)])){const _0x299976=_0x1d6266[_0x269821(0x300)](),_0x2fa3c4=_0x456a63[_0x269821(0x3a4)](_0x299976);if(_0x2fa3c4&&(_0x2fa3c4==null?void 0x0:_0x2fa3c4[_0x269821(0x1fd)]())===_0x5937a7[_0x269821(0x2e0)]){const _0x5bb565=_0x2fa3c4[_0x269821(0x1e7)]();if(_0x5bb565&&_0x456a63[_0x269821(0x3a3)](_0x1d6266['getId'](),_0x5bb565),!_0x2b7159[_0x269821(0x38d)]()[_0x269821(0x283)](_0x25b81a=>{const _0x360d8c=_0x269821,_0x4feddf=_0x2b7159[_0x360d8c(0x3b5)](_0x25b81a);return _0x1f076d(_0x4feddf)?_0x4feddf[_0x360d8c(0x299)]()[_0x360d8c(0x32c)]===_0x5e2c12:!0x1;})){const _0x202140=_0xefda43[_0x269821(0x23c)](),_0x1a6c10=Gi(_0x2fa3c4[_0x269821(0x2ec)],_0x2fa3c4['minDate']),_0x7d5cbf=_0x2fa3c4['getName']()+_0x269821(0x1fe)+qo(this['_injector'],_0x1a6c10),_0x52b74f=new _0xcf678e(_0x202140,_0x7d5cbf,_0x31e0e1(0x3),_0x2fa3c4['getId'](),_0x1a6c10);_0xefda43[_0x269821(0x36f)](_0x52b74f),_0x2b7159[_0x269821(0x2ac)](_0x202140,_0x7d5cbf),_0x456a63['addFieldWithSourceId'](_0x202140,_0x13d467,(_0xfcbec3!=null?_0xfcbec3:0x0)+0x1),_0x572655=_0x52b74f;}}}}const _0x3faeea=_0x456a63[_0x269821(0x287)](),_0x1a0c72=_0x456a63[_0x269821(0x3d9)]()[_0x269821(0x172)]();let _0x1060b9;if(_0x572655){_0x1060b9=_0x572655['toJSON']();const _0x318c0b=_0x572655['getId']();_0x2b7159[_0x269821(0x3ce)](_0x318c0b);let _0x54d972=!0x0;for(const _0x36c9c9 in _0xefda43[_0x269821(0x2d0)])if(_0xefda43['collections'][_0x36c9c9][_0x269821(0x38d)]()['includes'](_0x318c0b)){_0x54d972=!0x1;break;}_0x54d972&&_0xefda43[_0x269821(0x398)](_0x318c0b);}const _0x5da1a4=_0x456a63[_0x269821(0x279)]();_0x4da325[_0x269821(0x39c)]={'view':_0x1a0c72,'changesets':_0x5da1a4,'isEmpty':_0x3faeea,'pivotTableConfig':_0x9462f9,'shouldBeAddedGroupJSON':_0x1060b9};}break;case k[_0x269821(0x3d4)]:{const _0xd3aff3=_0x5d6170[_0x269821(0x358)]['addPivotTable'];if(!_0xd3aff3)return;const _0x11680c=_0xd3aff3[_0x269821(0x382)],_0x44b68e=_0xd3aff3['pivotTableId'],{collection:_0x21a655}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x11680c[_0x269821(0x25c)],'sheetName':_0x11680c[_0x269821(0x315)],'subUnitId':_0x11680c[_0x269821(0x1b8)],'range':_0x11680c[_0x269821(0x271)]}),_0x135e31=new _0x219501(_0x21a655,void 0x0,_0x44b68e),_0x5f2379=_0x135e31[_0x269821(0x3d9)](),_0x45bf1d=_0x135e31[_0x269821(0x172)](),_0x1b915e=_0x21a655['toJSON']();_0x4da325[_0x269821(0x218)]={'view':_0x5f2379,'fieldsConfig':_0x45bf1d,'collectionConfig':_0x1b915e,'isEmpty':_0x135e31[_0x269821(0x287)]()};}break;case k[_0x269821(0x1ba)]:{const _0x53f76a=_0x5d6170[_0x269821(0x358)][_0x269821(0x32a)];if(!_0x53f76a)return;const {fieldId:_0x5e122a,area:_0x1a9f5f,index:_0x513f45}=_0x53f76a,_0x463457=this[_0x269821(0x2b9)]['getPivotTableConfig'](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x463457)return;const _0x3f1c8d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2115fe);if(!_0x3f1c8d)return;_0x3f1c8d[_0x269821(0x186)]();const {area:_0x475749,index:_0x4ab2d3}=_0x3f1c8d['getFieldPositionInfoById'](_0x5e122a);if(_0x3f1c8d[_0x269821(0x1b9)](_0x5e122a,_0x1a9f5f,_0x513f45),_0x1a9f5f===_0x2ea213['Value']&&_0x3f1c8d[_0x269821(0x260)](_0x5e122a)[_0x269821(0x1f7)]()===void 0x0){const _0x5aa22f=_0x3f1c8d['getTableFieldById'](_0x5e122a);if(_0x5aa22f&&_0x5aa22f[_0x269821(0x1f7)]()===void 0x0){const _0x17b130=_0x3f1c8d[_0x269821(0x3a4)](_0x5e122a);if(_0x17b130){const _0x46c8fc=_0x17b130==null?void 0x0:_0x17b130['getFieldDataType']();_0x3f1c8d[_0x269821(0x2bd)](_0x5e122a,_0x46c8fc===_0x5937a7[_0x269821(0x35c)]?_0x50dbf6['sum']:_0x50dbf6[_0x269821(0x1b5)]);}}}const _0x32ab46=_0x3f1c8d[_0x269821(0x2ae)](),_0xad13e4=_0x3f1c8d[_0x269821(0x2e7)](),_0x24d3de=_0x3f1c8d['getFieldCountByArea'](_0x2ea213[_0x269821(0x318)])>0x1;if(_0x24d3de&&_0x475749===_0x1a9f5f&&(_0x1a9f5f===_0x2ea213[_0x269821(0x353)]&&_0x32ab46===_0x4038c7['Row']||_0x1a9f5f===_0x2ea213[_0x269821(0x363)]&&_0x32ab46===_0x4038c7[_0x269821(0x363)])){let _0x395189=_0xad13e4;_0x4ab2d3<=_0xad13e4&&_0x395189--,_0x513f45<=_0xad13e4&&_0x395189++,_0x3f1c8d[_0x269821(0x281)](_0x32ab46,_0x395189);}else _0x24d3de&&(_0x475749===_0x2ea213[_0x269821(0x353)]&&_0x32ab46===_0x4038c7[_0x269821(0x353)]||_0x475749===_0x2ea213['Column']&&_0x32ab46===_0x4038c7[_0x269821(0x363)])&&_0xad13e4>=_0x4ab2d3&&_0x3f1c8d['updateValuePosition'](_0x32ab46,_0xad13e4-0x1),_0x24d3de&&(_0x1a9f5f===_0x2ea213[_0x269821(0x353)]&&_0x32ab46===_0x4038c7[_0x269821(0x353)]||_0x1a9f5f===_0x2ea213['Column']&&_0x32ab46===_0x4038c7['Column'])&&_0xad13e4>=_0x513f45&&_0x3f1c8d[_0x269821(0x281)](_0x32ab46,_0xad13e4+0x1);const _0x5ac243=_0x3f1c8d[_0x269821(0x3d9)](),_0x1f376c=_0x3f1c8d[_0x269821(0x287)](),_0x3fc4d7=_0x3f1c8d['endCollectChangeset']();_0x4da325[_0x269821(0x32a)]={'view':_0x5ac243[_0x269821(0x172)](),'changesets':_0x3fc4d7,'isEmpty':_0x1f376c,'pivotTableConfig':_0x463457};}break;case k[_0x269821(0x3ac)]:{const _0x386365=_0x5d6170[_0x269821(0x358)]['removePivotField'];if(!_0x386365)return;const _0x41fba9=_0x386365[_0x269821(0x3be)],_0x44dee8=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x44dee8)return!0x1;const _0x325dff=this['_sheetsPivotDataSourceModel'][_0x269821(0x3aa)](_0x2115fe);if(!_0x325dff)return!0x1;_0x325dff[_0x269821(0x186)]();for(const _0x1021b3 of _0x41fba9){const {area:_0x23c6dd}=_0x325dff[_0x269821(0x3ca)](_0x1021b3);_0x23c6dd===_0x2ea213['Value']&&_0x325dff[_0x269821(0x233)](_0x1021b3),(_0x23c6dd===_0x2ea213['Row']||_0x23c6dd===_0x2ea213['Column'])&&_0x325dff[_0x269821(0x1c4)](_0x1021b3),_0x325dff[_0x269821(0x174)](_0x1021b3);}const _0x58c926=_0x325dff[_0x269821(0x287)](),_0x4ed6c9=_0x325dff[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x23cbb6=_0x325dff[_0x269821(0x279)]();_0x4da325[_0x269821(0x394)]={'changesets':_0x23cbb6,'pivotTableConfig':_0x44dee8,'isEmpty':_0x58c926,'view':_0x4ed6c9};}break;case k[_0x269821(0x26b)]:{const _0x1ac5f7=_0x5d6170[_0x269821(0x358)][_0x269821(0x3a6)];if(!_0x1ac5f7)return;const {tableFieldId:_0x4851f7,items:_0x4c5f85,isAll:_0x32f526}=_0x1ac5f7,_0x35b114=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe),_0x5ec12d=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x35b114||!_0x5ec12d)return;_0x35b114[_0x269821(0x186)](),_0x35b114['setLabelFilterInfo'](_0x4851f7,{'type':_0x3971c7[_0x269821(0x37a)],'list':_0x4c5f85,'isAll':_0x32f526});const _0x5e74ef=_0x35b114[_0x269821(0x287)](),_0x5f57e0=_0x35b114[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x4940bb=_0x35b114['endCollectChangeset']();_0x4da325[_0x269821(0x3a6)]={'view':_0x5f57e0,'changesets':_0x4940bb,'isEmpty':_0x5e74ef,'pivotTableConfig':_0x5ec12d};}break;case k[_0x269821(0x210)]:{const _0x4879e2=_0x5d6170[_0x269821(0x358)][_0x269821(0x377)];if(!_0x4879e2)return;const {tableFieldId:_0x17e866,filterInfo:_0x52496e}=_0x4879e2,_0x313cc3=this[_0x269821(0x2b9)]['getPivotTableInstance'](_0x2115fe),_0x138153=this[_0x269821(0x2b9)]['getPivotTableConfig'](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x313cc3||!_0x138153)return;_0x313cc3['startCollectChangeset'](),_0x313cc3['setValueFilterInfo'](_0x17e866,_0x52496e);const _0x40ffc0=_0x313cc3[_0x269821(0x287)](),_0x2220e6=_0x313cc3[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x5c7992=_0x313cc3['endCollectChangeset']();_0x4da325[_0x269821(0x377)]={'view':_0x2220e6,'changesets':_0x5c7992,'isEmpty':_0x40ffc0,'pivotTableConfig':_0x138153};}break;case k[_0x269821(0x1c7)]:{const _0x16cf86=_0x5d6170[_0x269821(0x358)][_0x269821(0x2c6)];if(!_0x16cf86)return;const {tableFieldId:_0x13aa3f,info:_0x4dfe9f}=_0x16cf86,_0x55ebc2=this['_sheetsPivotDataSourceModel'][_0x269821(0x3aa)](_0x2115fe),_0x23ab84=this[_0x269821(0x2b9)]['getPivotTableConfig'](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x55ebc2||!_0x23ab84)return;_0x55ebc2[_0x269821(0x186)](),_0x55ebc2[_0x269821(0x22f)](_0x13aa3f,_0x4dfe9f);const _0x4bd5f6=_0x55ebc2[_0x269821(0x287)](),_0x19c64e=_0x55ebc2[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x50d945=_0x55ebc2[_0x269821(0x279)]();_0x4da325[_0x269821(0x2c6)]={'view':_0x19c64e,'changesets':_0x50d945,'isEmpty':_0x4bd5f6,'pivotTableConfig':_0x23ab84};}break;case k['SetPivotSetting']:{const _0x190d01=_0x5d6170[_0x269821(0x358)][_0x269821(0x1a6)];if(!_0x190d01)return;const {tableFieldId:_0x4d7974,displayName:_0x11cb5b,subtotalType:_0x2db739,format:_0x32cf98}=_0x190d01,_0x17f233=this['_sheetsPivotDataSourceModel'][_0x269821(0x3aa)](_0x2115fe),_0x2b459b=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x17f233||!_0x2b459b)return;_0x17f233[_0x269821(0x186)](),_0x11cb5b!==void 0x0&&_0x17f233[_0x269821(0x2d4)](_0x4d7974,_0x11cb5b),_0x2db739!==void 0x0&&_0x17f233[_0x269821(0x2bd)](_0x4d7974,_0x2db739),_0x32cf98!==void 0x0&&_0x17f233[_0x269821(0x3a3)](_0x4d7974,_0x32cf98);const _0x20c748=_0x17f233['isEmpty'](),_0x8acd40=_0x17f233['query']()[_0x269821(0x172)](),_0xd484ff=_0x17f233['endCollectChangeset']();_0x4da325['setPivotSetting']={'changesets':_0xd484ff,'pivotTableConfig':_0x2b459b,'isEmpty':_0x20c748,'view':_0x8acd40};}break;case k[_0x269821(0x2c1)]:{const _0x4f3255=_0x5d6170[_0x269821(0x358)][_0x269821(0x31f)];if(!_0x4f3255)return;const {dataRangeInfo:_0xbcaf34,unitId:_0x14b9b0,subUnitId:_0x4990ea}=_0x4f3255,_0x23fe3e=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0x14b9b0,_0x4990ea,_0x2115fe),_0x5c419c=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe);if(!this[_0x269821(0x2b9)]['getCollection'](_0x14b9b0,_0x2115fe)||!_0x5c419c||!_0x23fe3e)return;const _0x2c693d=this[_0x269821(0x2b9)][_0x269821(0x1bf)](_0x14b9b0,_0x2115fe,_0xbcaf34),_0x1d8390=this[_0x269821(0x2b9)][_0x269821(0x190)](_0x14b9b0,_0x2115fe)[_0x269821(0x172)](),{collection:_0x38ee0c}=this[_0x269821(0x2b9)][_0x269821(0x28f)]({'unitId':_0xbcaf34[_0x269821(0x25c)],'sheetName':_0xbcaf34['sheetName'],'subUnitId':_0xbcaf34[_0x269821(0x1b8)],'range':_0xbcaf34[_0x269821(0x271)]}),_0x2dc274=_0x38ee0c[_0x269821(0x172)]();_0x5c419c[_0x269821(0x186)]();const _0xb3945d=this[_0x269821(0x2b9)][_0x269821(0x1dd)](_0x14b9b0)[_0x269821(0x388)]()||_0x45f5f5;_0x5c419c[_0x269821(0x2bc)](_0xc943e4=>{const _0x505dc4=_0x269821,_0x24f072=_0xc943e4[_0x505dc4(0x226)]();if(!_0x38ee0c[_0x505dc4(0x356)](_0x24f072)){const _0x5a8fff=_0x38ee0c[_0x505dc4(0x357)](_0xc943e4['getSourceName']());if(_0x5a8fff){_0x5c419c[_0x505dc4(0x329)](_0xc943e4[_0x505dc4(0x300)](),_0x5a8fff[_0x505dc4(0x3ad)](),_0x5a8fff[_0x505dc4(0x300)]());const {area:_0x5ba0f8}=_0x5c419c[_0x505dc4(0x3ca)](_0xc943e4[_0x505dc4(0x300)]());let _0x34c10a=_0xc943e4['getSourceName']();const _0x3a88a3=_0xc943e4[_0x505dc4(0x36b)]();if(_0x5ba0f8===_0x2ea213[_0x505dc4(0x318)]){const _0x2b1e9f=_0xc943e4['getSubtotal']();_0x34c10a=_0xb3945d(_0x5a8fff['getName'](),_0x2b1e9f);}_0x3a88a3!==_0x34c10a&&_0x5c419c['renameField'](_0xc943e4['getId'](),_0x34c10a);}else _0x5c419c[_0x505dc4(0x174)](_0xc943e4[_0x505dc4(0x300)]());}});const _0x5c4a21=_0x5c419c['isEmpty'](),_0x7910fd=_0x5c419c[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x2d3eb0=_0x5c419c[_0x269821(0x279)]();_0x4da325[_0x269821(0x31f)]={'view':_0x7910fd,'changesets':_0x2d3eb0,'isEmpty':_0x5c4a21,'pivotTableConfig':_0x23fe3e,'collectionConfig':_0x2dc274,'oldCollectionConfig':_0x1d8390,'deleteIds':_0x2c693d};}break;case k['UpdateValuePosition']:{const _0x53f3da=_0x5d6170[_0x269821(0x358)][_0x269821(0x281)];if(!_0x53f3da)return;const {position:_0x53184d,index:_0x19977c}=_0x53f3da,_0x1a7174=this['_sheetsPivotDataSourceModel'][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x1a7174)return!0x1;const _0x543549=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe);if(!_0x543549)return!0x1;_0x543549[_0x269821(0x186)](),_0x543549['updateValuePosition'](_0x53184d,_0x19977c);const _0x4ecce6=_0x543549[_0x269821(0x287)](),_0x490f24=_0x543549[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x51edce=_0x543549[_0x269821(0x279)]();_0x4da325[_0x269821(0x281)]={'changesets':_0x51edce,'pivotTableConfig':_0x1a7174,'isEmpty':_0x4ecce6,'view':_0x490f24};}break;case k[_0x269821(0x2e6)]:{const _0x117ab2=_0x5d6170[_0x269821(0x358)]['setPivotCollapse'];if(!_0x117ab2)return;const {tableFieldId:_0x2dbbf0,collapse:_0xfbdacc,item:_0x55b523}=_0x117ab2,_0xa37f6d=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe),_0x41efc6=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0xa37f6d||!_0x41efc6)return;_0xa37f6d[_0x269821(0x186)](),_0xa37f6d[_0x269821(0x270)](_0x2dbbf0,_0xfbdacc,_0x55b523);const _0x226a65=_0xa37f6d[_0x269821(0x287)](),_0x342c51=_0xa37f6d[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0x31a56f=_0xa37f6d[_0x269821(0x279)]();_0x4da325[_0x269821(0x34e)]={'view':_0x342c51,'isEmpty':_0x226a65,'pivotTableConfig':_0x41efc6,'changesets':_0x31a56f};}break;case k[_0x269821(0x1be)]:{const _0x111986=_0x5d6170[_0x269821(0x358)]['setPivotTableConfig'];if(!_0x111986)return;const {pivotTableConfig:_0x2155ac}=_0x111986,_0x5ea35b=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe),_0xb7968=this[_0x269821(0x2b9)][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x5ea35b||!_0xb7968)return;_0x5ea35b[_0x269821(0x186)](),Yi(_0x5ea35b,_0x2155ac);const _0x535fb2=_0x5ea35b[_0x269821(0x287)](),_0x553967=_0x5ea35b[_0x269821(0x3d9)]()[_0x269821(0x172)](),_0xe930e6=_0x5ea35b[_0x269821(0x279)]();_0x4da325['setPivotTableConfig']={'view':_0x553967,'isEmpty':_0x535fb2,'pivotTableConfig':{..._0xb7968,'fieldsConfig':_0x5ea35b[_0x269821(0x172)]()},'changesets':_0xe930e6};}break;case k[_0x269821(0x204)]:{const _0x4d4736=_0x5d6170[_0x269821(0x358)][_0x269821(0x3cd)];if(!_0x4d4736)return;const _0x5583c6=this[_0x269821(0x2b9)][_0x269821(0x3aa)](_0x2115fe),_0x3d3a41=this['_sheetsPivotDataSourceModel'][_0x269821(0x39d)](_0xb7a8a8,_0x360dd9,_0x2115fe);if(!_0x5583c6||!_0x3d3a41)return;_0x5583c6['startCollectChangeset'](),Ji(_0x5583c6,_0x4d4736[_0x269821(0x3b7)]);const _0x4e22d4=_0x5583c6['query']()[_0x269821(0x172)](),_0x5b012f=_0x5583c6['endCollectChangeset']();_0x4da325['resetPivotTable']={'view':_0x4e22d4,'isEmpty':!0x0,'pivotTableConfig':{..._0x3d3a41,'fieldsConfig':_0x5583c6[_0x269821(0x172)]()},'changesets':_0x5b012f};}break;case k[_0x269821(0x288)]:{const _0x2c1a59=_0x5d6170[_0x269821(0x358)][_0x269821(0x395)];if(!_0x2c1a59)return;const _0x4f8108=_0x2c1a59[_0x269821(0x382)],_0x1102f6=_0x2c1a59[_0x269821(0x261)],{collection:_0x2145be}=this[_0x269821(0x2b9)][_0x269821(0x28f)]({'unitId':_0x4f8108['unitId'],'sheetName':_0x4f8108[_0x269821(0x315)],'subUnitId':_0x4f8108[_0x269821(0x1b8)],'range':_0x4f8108[_0x269821(0x271)]}),_0x5c6d9b=new _0x219501(_0x2145be,void 0x0,_0x1102f6),_0x53c709=_0x2145be['getFieldIds'](),{rows:_0x49394f,columns:_0x5e7655,filters:_0x1f3930,values:_0x4d8359}=_0x2c1a59['pivotTableIndexConfig'];_0x5c6d9b[_0x269821(0x186)]();for(const {field:_0x319978,selectedItems:_0x595f73}of _0x49394f||[]){const _0x16ca57=_0x53c709[_0x319978];if(_0x16ca57){const _0x5bb514=_0x5c6d9b[_0x269821(0x193)](_0x16ca57,_0x2ea213[_0x269821(0x353)]);_0x595f73&&_0x5bb514&&_0x5c6d9b[_0x269821(0x1f8)](_0x5bb514[_0x269821(0x300)](),{'type':_0x3971c7[_0x269821(0x37a)],'list':_0x595f73,'isAll':!0x1});}}for(const {field:_0x1ae33a,selectedItems:_0x38bad5}of _0x5e7655||[]){const _0x795efe=_0x53c709[_0x1ae33a];if(_0x795efe){const _0x43a8bb=_0x5c6d9b[_0x269821(0x193)](_0x795efe,_0x2ea213[_0x269821(0x363)]);_0x38bad5&&_0x43a8bb&&_0x5c6d9b[_0x269821(0x1f8)](_0x43a8bb['getId'](),{'type':_0x3971c7[_0x269821(0x37a)],'list':_0x38bad5,'isAll':!0x1});}}for(const {field:_0x1879c3,selectedItems:_0x116ee3}of _0x1f3930||[]){const _0x5b6ac4=_0x53c709[_0x1879c3];if(_0x5b6ac4){const _0x1621b6=_0x5c6d9b[_0x269821(0x193)](_0x5b6ac4,_0x2ea213[_0x269821(0x256)]);_0x116ee3&&_0x1621b6&&_0x5c6d9b[_0x269821(0x1f8)](_0x1621b6[_0x269821(0x300)](),{'type':_0x3971c7['ManualFilter'],'list':_0x116ee3,'isAll':!0x1});}}for(const {field:_0x45a0a9,subTotalType:_0x171eef,formatString:_0x29c359}of _0x4d8359||[]){const _0x166eb2=_0x2145be[_0x269821(0x3b5)](_0x53c709[_0x45a0a9]);if(!_0x166eb2)continue;const _0x2541ba=_0x53c709[_0x45a0a9];if(_0x2541ba){const _0xba0c4=_0x5c6d9b[_0x269821(0x193)](_0x2541ba,_0x2ea213[_0x269821(0x318)]);if(_0xba0c4){if(_0x171eef!==void 0x0){_0x5c6d9b['setSubtotalType'](_0xba0c4[_0x269821(0x300)](),_0x171eef);const _0x161eb7=this[_0x269821(0x2b9)]['getDataFieldManager'](_0x4f8108[_0x269821(0x25c)])['getAutoDisplayNameFunction']()||_0x45f5f5,_0x5849e0=_0x2145be[_0x269821(0x36b)](_0x2541ba),_0x3ef158=_0x161eb7(_0x5849e0,_0x171eef);_0x5c6d9b['renameField'](_0xba0c4[_0x269821(0x300)](),_0x3ef158);}else{if(_0x166eb2){const _0x35a362=_0x166eb2==null?void 0x0:_0x166eb2['getFieldDataType']();_0x5c6d9b[_0x269821(0x2bd)](_0xba0c4[_0x269821(0x300)](),_0x35a362===_0x5937a7['number']?_0x50dbf6[_0x269821(0x373)]:_0x50dbf6[_0x269821(0x1b5)]);}}_0x29c359&&_0x5c6d9b[_0x269821(0x3a3)](_0xba0c4['getId'](),_0x29c359);}}}const _0x3814a0=_0x5c6d9b['query'](),_0x40f8b2=_0x5c6d9b[_0x269821(0x172)](),_0x3f95ee=_0x5c6d9b[_0x269821(0x287)](),_0x38f087=_0x5c6d9b[_0x269821(0x279)](),_0x303639=_0x2145be[_0x269821(0x172)]();_0x4da325['addPivotTableWithConfig']={'view':_0x3814a0,'fieldsConfig':_0x40f8b2,'collectionConfig':_0x303639,'isEmpty':_0x3f95ee,'changesets':_0x38f087};}break;case k[_0x269821(0x345)]:{const _0x2d467b=Ai(this[_0x269821(0x2ca)],_0x5d6170);if(!_0x2d467b)return;const {range:_0x29c0db,sourceSubUnitId:_0x34af4b,sourceUnitId:_0x2de606,formatMap:_0x100820,indexes:_0x3a7e22}=_0x2d467b;_0x4da325[_0x269821(0x31e)]={'range':_0x29c0db,'sourceSubUnitId':_0x34af4b,'sourceUnitId':_0x2de606,'formatMap':_0x100820,'indexes':_0x3a7e22};}break;}this[_0x269821(0x31c)][_0x269821(0x3c3)](lo['id'],{'version':_0x5d6170['version'],'result':_0x4da325},{'onlyLocal':!0x0});}));}[_0x1e4666(0x2f3)](){const _0x479dd7=_0x1e4666;this[_0x479dd7(0x20e)](this['_commandService'][_0x479dd7(0x2de)](_0x18a71a=>{const _0x4d15d5=_0x479dd7;if(_0x18a71a['id']!==uo['id'])return;const _0xbc2926=_0x18a71a[_0x4d15d5(0x358)];return this[_0x4d15d5(0x2b9)][_0x4d15d5(0x307)](_0xbc2926[_0x4d15d5(0x3a9)]),!0x0;}));}[_0x1e4666(0x3c8)](){const _0x5428f9=_0x1e4666;this[_0x5428f9(0x2b9)][_0x5428f9(0x1e2)][_0x5428f9(0x3a8)](_0x42fcf0=>{const _0x5a6dcd=_0x5428f9;switch(_0x42fcf0[_0x5a6dcd(0x38b)]){case Le[_0x5a6dcd(0x211)]:_0x42fcf0['dataRangeInfo']&&_0x42fcf0['targetCellInfo']&&this[_0x5a6dcd(0x39b)](_0x42fcf0['token'],_0x42fcf0[_0x5a6dcd(0x196)],_0x42fcf0['targetCellInfo']);break;case Le[_0x5a6dcd(0x1e8)]:{const {unitId:_0x328e7d,subUnitId:_0xbcb4d2,token:_0x12c027}=_0x42fcf0;_0x328e7d&&_0xbcb4d2&&_0x12c027&&this['removeSourceRangeChange'](_0x328e7d,_0xbcb4d2,_0x12c027);}break;case Le[_0x5a6dcd(0x27e)]:{const {token:_0x48c6e2,oldSourceRangeInfo:_0x5b9a0b,dataRangeInfo:_0x5371c0,targetCellInfo:_0x450964}=_0x42fcf0,{unitId:_0x46fb99,subUnitId:_0x32f57d}=_0x5b9a0b||{};_0x46fb99&&_0x32f57d&&_0x48c6e2&&this[_0x5a6dcd(0x2cf)](_0x46fb99,_0x32f57d,_0x48c6e2),_0x5371c0&&_0x450964&&this['handleSourceRangeChange'](_0x48c6e2,_0x5371c0,_0x450964);}break;}});}['_subjectFieldsCollectionChange'](){const _0x2cafa1=_0x1e4666;this[_0x2cafa1(0x2b9)][_0x2cafa1(0x1d6)][_0x2cafa1(0x3a8)](_0x8fcc61=>{const _0x35c629=_0x2cafa1;Object[_0x35c629(0x181)](_0x8fcc61)['forEach'](_0x32b5fe=>{const _0x5f215d=_0x35c629,_0x3ab335=this['_sheetsPivotDataSourceModel'][_0x5f215d(0x191)](_0x32b5fe);if(_0x3ab335){const _0x40092c=this[_0x5f215d(0x2b9)][_0x5f215d(0x39d)](_0x3ab335==null?void 0x0:_0x3ab335['unitId'],_0x3ab335==null?void 0x0:_0x3ab335[_0x5f215d(0x1b8)],_0x32b5fe);_0x40092c&&(this[_0x5f215d(0x39b)](_0x32b5fe,_0x40092c[_0x5f215d(0x382)],_0x40092c[_0x5f215d(0x2e8)]),this[_0x5f215d(0x3ba)]([{'unitId':_0x3ab335[_0x5f215d(0x25c)],'subUnitId':_0x3ab335[_0x5f215d(0x1b8)],'token':_0x32b5fe}]));}});});}['_subjectViewChange'](){const _0x4e8c05=_0x1e4666;this[_0x4e8c05(0x2b9)][_0x4e8c05(0x21a)][_0x4e8c05(0x3a8)](_0x5ee6b4=>{const _0x3af390=_0x4e8c05,{unitId:_0x162f96,subUnitId:_0x585a6e,pivotTableId:_0x455e14}=_0x5ee6b4;_0x162f96&&_0x585a6e&&_0x455e14&&this[_0x3af390(0x3ba)]([{'unitId':_0x162f96,'subUnitId':_0x585a6e,'token':_0x455e14}]);});}[_0x1e4666(0x3ba)](_0x3a5bf6){const _0x57fd96=_0x1e4666,_0x46094e={};_0x3a5bf6[_0x57fd96(0x276)](_0x1dcce0=>{var _0x3f33ce,_0x1db050;const {unitId:_0x182160,subUnitId:_0x46c714,token:_0x5af72a}=_0x1dcce0;_0x46094e[_0x182160]=(_0x3f33ce=_0x46094e[_0x182160])!=null?_0x3f33ce:{},_0x46094e[_0x182160][_0x46c714]=(_0x1db050=_0x46094e[_0x182160][_0x46c714])!=null?_0x1db050:{},_0x46094e[_0x182160][_0x46c714][_0x5af72a]=!0x0;}),this[_0x57fd96(0x31c)][_0x57fd96(0x3c3)](Ut['id'],_0x46094e);}[_0x1e4666(0x2cf)](_0x17262c,_0x53790d,_0x391909){const _0x1c6b91=_0x1e4666;this['_featureCalculationManagerService'][_0x1c6b91(0x2bb)](_0x17262c,_0x53790d,[_0x391909]);}['handleSourceRangeChange'](_0x204ebc,_0x395887,_0x30522d){const _0x2ed5f9=_0x1e4666,{unitId:_0x3cf3e1,subUnitId:_0x2c3607}=_0x395887;this[_0x2ed5f9(0x26c)]['has'](_0x30522d[_0x2ed5f9(0x25c)],_0x30522d[_0x2ed5f9(0x1b8)],_0x204ebc)&&this[_0x2ed5f9(0x2cf)](_0x3cf3e1,_0x2c3607,_0x204ebc);const _0x356530={'sheetId':_0x2c3607,..._0x395887};this['_featureCalculationManagerService'][_0x2ed5f9(0x18e)](_0x30522d[_0x2ed5f9(0x25c)],_0x30522d[_0x2ed5f9(0x1b8)],_0x204ebc,{'unitId':_0x30522d[_0x2ed5f9(0x25c)],'subUnitId':_0x30522d[_0x2ed5f9(0x1b8)],'dependencyRanges':[_0x356530],'getDirtyData':(_0x1b1747,_0x1f5ba1)=>{const _0x46499b=_0x2ed5f9,_0x54f0d0=this[_0x46499b(0x2b9)],_0xca0755=_0x54f0d0[_0x46499b(0x191)](_0x204ebc);if(!_0xca0755)return Vs();const {unitId:_0x4ef6d7,subUnitId:_0xbab243}=_0xca0755,_0x43b9db=Es(_0x1b1747,_0x1f5ba1,_0x395887);if(_0x43b9db['length']>0x0){const _0x3eb030=_0x54f0d0['getCollection'](_0x3cf3e1,_0x204ebc),_0x358879=_0x3eb030['getFieldIds'](),_0x423355=this[_0x46499b(0x1c9)](_0x395887['unitId'],_0x395887['subUnitId'],_0x1f5ba1),_0xad3c05={},_0x6373de=this[_0x46499b(0x2b9)]['getDataFieldManager'](_0x4ef6d7)[_0x46499b(0x388)]()||_0x45f5f5,_0x5a3668=[];for(const _0x1b4d36 of _0x43b9db){const _0x361515=_0x1b4d36-(_0x395887[_0x46499b(0x271)][_0x46499b(0x2c3)]||0x0),_0x3b4fa8=_0x358879[_0x361515];_0x5a3668[_0x46499b(0x1cd)](_0x3b4fa8),_0xad3c05[_0x3b4fa8]=_0x3eb030[_0x46499b(0x3b5)](_0x3b4fa8)[_0x46499b(0x3ad)](),_0x54f0d0[_0x46499b(0x1dd)](_0x3cf3e1)[_0x46499b(0x1a9)](_0x3b4fa8,_0x395887,_0x361515,_0x423355);}_0x3eb030['getGroupFieldsInfoByIds'](_0x5a3668)[_0x46499b(0x276)](_0x257c78=>{const _0xede9ad=_0x46499b,[_0x1d9030,_0x37658a]=_0x257c78,_0x5bc5c2=_0x3eb030[_0xede9ad(0x3b5)](_0x1d9030),_0x135812=_0x3eb030['getFieldById'](_0x37658a);_0x5bc5c2&&_0x135812&&_0x5bc5c2['refreshGroupField'](_0x135812);}),_0x3eb030[_0x46499b(0x1ab)]();const _0x4b7d8c=_0x54f0d0[_0x46499b(0x3aa)](_0x204ebc);if(_0x4b7d8c){xs(_0x4b7d8c,_0xad3c05,_0x6373de),_0x4b7d8c['setDirty'](!0x0);const _0x5b27fc=_0x4b7d8c['query'](),_0x345d86=_0x54f0d0['getPivotTableConfig'](_0x4ef6d7,_0xbab243,_0x204ebc),_0x290178=_0x54f0d0[_0x46499b(0x1dd)](_0x3cf3e1)[_0x46499b(0x172)]();_0x54f0d0[_0x46499b(0x319)](_0x4ef6d7,_0xbab243,B[_0x46499b(0x1b0)],_0x204ebc,_0x5b27fc,_0x345d86,_0x290178,!0x0);}}return this['getDirtyInfo'](_0x4ef6d7,_0xbab243,_0x204ebc);}});}[_0x1e4666(0x1c9)](_0x2ae6bb,_0x1e6b2c,_0xea4237){var _0x447026,_0x212a8f;const {arrayFormulaCellData:_0x100f71,unitData:_0x46c495}=_0xea4237,_0x3a215b=(_0x447026=_0x100f71==null?void 0x0:_0x100f71[_0x2ae6bb])==null?void 0x0:_0x447026[_0x1e6b2c],_0x30b54f=(_0x212a8f=_0x46c495==null?void 0x0:_0x46c495[_0x2ae6bb])==null?void 0x0:_0x212a8f[_0x1e6b2c];return{'arrayFormulaCellDataMatrix':_0x3a215b,'unitDataMatrix':_0x30b54f};}[_0x1e4666(0x197)](_0x2b14bd,_0x55ea01,_0x508c75){const _0x1e3802=_0x1e4666,_0x26269f=this[_0x1e3802(0x2b9)][_0x1e3802(0x2da)](_0x2b14bd,_0x55ea01,_0x508c75),_0x335483=[],_0x39bab8=new _0x1b3fd2();if(_0x26269f){const {rangeCache:_0x4ad12d,matrix:_0x47b67d,oldRangeCache:_0x52d726,oldMatrix:_0x2ce666}=_0x26269f,_0xd6f851=Bt(_0x52d726),_0xa7fdfb=Bt(_0x4ad12d);_0x335483[_0x1e3802(0x1cd)](..._0xa7fdfb,..._0xd6f851),_0x2ce666&&_0x52d726&&_0xd6f851[_0x1e3802(0x276)](_0x709d34=>{const _0xaa3cdf=_0x1e3802;for(let _0x3a118b=_0x709d34[_0xaa3cdf(0x1a0)];_0x3a118b<=_0x709d34[_0xaa3cdf(0x239)];_0x3a118b++)for(let _0x339d75=_0x709d34['startColumn'];_0x339d75<=_0x709d34[_0xaa3cdf(0x38a)];_0x339d75++)_0x39bab8['realDeleteValue'](_0x3a118b,_0x339d75);}),_0x47b67d&&_0xa7fdfb&&_0xa7fdfb[_0x1e3802(0x276)](_0x1717f7=>{const _0x154d56=_0x1e3802;for(let _0x250410=_0x1717f7[_0x154d56(0x1a0)];_0x250410<=_0x1717f7[_0x154d56(0x239)];_0x250410++)for(let _0x31f95d=_0x1717f7['startColumn'];_0x31f95d<=_0x1717f7['endColumn'];_0x31f95d++)_0x39bab8[_0x154d56(0x2a7)](_0x250410,_0x31f95d,_0x47b67d[_0x154d56(0x35f)](_0x250410,_0x31f95d));});}const _0x3ffcd5={};return _0x3ffcd5[_0x2b14bd]={[_0x55ea01]:Os(_0x335483)},{'runtimeCellData':{[_0x2b14bd]:{[_0x55ea01]:_0x39bab8}},'dirtyRanges':_0x3ffcd5};}[_0x1e4666(0x3dc)](){}};ct=Us([He(0x0,_0x52ddbc($)),He(0x1,_0x6f69e8),He(0x2,_0x52ddbc(_0x20b612)),He(0x3,_0x52ddbc(_0x13bfb7)),He(0x4,_0x52ddbc(_0x26bbc3)),He(0x5,_0x52ddbc(_0x4903de))],ct);var As=Object['getOwnPropertyDescriptor'],ks=(_0x273b96,_0x4fd7b8,_0x14eedc,_0x1748f6)=>{const _0x56c0f1=_0x1e4666;for(var _0x284a30=_0x1748f6>0x1?void 0x0:_0x1748f6?As(_0x4fd7b8,_0x14eedc):_0x4fd7b8,_0x43972f=_0x273b96[_0x56c0f1(0x337)]-0x1,_0x18c9c1;_0x43972f>=0x0;_0x43972f--)(_0x18c9c1=_0x273b96[_0x43972f])&&(_0x284a30=_0x18c9c1(_0x284a30)||_0x284a30);return _0x284a30;},_t=(_0x177bb9,_0x37d4a5)=>(_0x2041de,_0x10a0bb)=>_0x37d4a5(_0x2041de,_0x10a0bb,_0x177bb9);let dt=class extends _0x21cbed{constructor(_0x10ad07,_0xb16f3c,_0x152fe2,_0x16bcd9){const _0x5dcdcd=_0x1e4666;super(),V(this,_0x5dcdcd(0x1c3),new _0x371937()),(this[_0x5dcdcd(0x2d2)]=_0x10ad07,this[_0x5dcdcd(0x1f4)]=_0xb16f3c,this[_0x5dcdcd(0x162)]=_0x152fe2,this['_sheetsPivotTableConfigModel']=_0x16bcd9,this[_0x5dcdcd(0x225)]());}[_0x1e4666(0x225)](){const _0x2c7735=_0x1e4666;this['disposeWithMe'](this[_0x2c7735(0x1f4)]['interceptCommand']({'getMutations':_0xa4f3a9=>{const _0x1d32db=_0x2c7735;if(_0xa4f3a9['id']===_0x2a6742['id']||_0xa4f3a9['id']===_0x36642b['id']){const _0x1e0431=[],_0x2dcce7=[],_0x10ff76=this[_0x1d32db(0x162)][_0x1d32db(0x3c7)]()[_0x1d32db(0x169)](_0x84c053=>_0x84c053['range']),_0x76759b=_0x114031(this[_0x1d32db(0x2d2)]);if(!_0x76759b)return{'redos':[],'undos':[]};const {unitId:_0x50b1f0,subUnitId:_0x2b0fb5}=_0x76759b,_0xdd0e57={},_0x286a62=this[_0x1d32db(0x2cc)][_0x1d32db(0x33c)](_0x50b1f0,_0x2b0fb5);if(_0x286a62!=null&&_0x286a62[_0x1d32db(0x2f5)])for(const [_0x398edc,_0xb68741]of _0x286a62){const {unitId:_0x3541ad,subUnitId:_0x1f18e5,row:_0x32ce39,col:_0x22e4ff}=_0xb68741[_0x1d32db(0x2e8)];_0x3541ad===_0x76759b[_0x1d32db(0x25c)]&&_0x1f18e5===_0x76759b['subUnitId']&&(_0xdd0e57[_0x32ce39+'-'+_0x22e4ff]=_0x398edc);}return _0x10ff76&&_0x76759b&&_0x10ff76[_0x1d32db(0x276)](_0x1b1e42=>{const _0x412935=_0x1d32db;_0x4dda36[_0x412935(0x246)](_0x1b1e42,(_0x1e4ad8,_0x30ebfc)=>{const _0x3640da=_0x412935,_0x34670a=_0x1e4ad8+'-'+_0x30ebfc;if(_0xdd0e57[_0x34670a]){const _0x28db68=_0xdd0e57[_0x34670a];_0x1e0431[_0x3640da(0x1cd)]({'id':Et['id'],'params':{'unitId':_0x50b1f0,'subUnitId':_0x2b0fb5,'pivotTableId':_0x28db68}});const _0x2665d7=this[_0x3640da(0x2cc)][_0x3640da(0x190)](_0x50b1f0,_0x28db68),_0x4c3544=this[_0x3640da(0x2cc)][_0x3640da(0x39d)](_0x50b1f0,_0x2b0fb5,_0x28db68);_0x2dcce7[_0x3640da(0x1cd)]({'id':Ct['id'],'params':{'unitId':_0x50b1f0,'subUnitId':_0x2b0fb5,'pivotTableId':_0x28db68,'pivotTableConfig':_0x4c3544,'collectionConfig':_0x2665d7}});}});}),{'redos':_0x1e0431,'undos':_0x2dcce7};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x11d98b),_t(0x1,_0x52ddbc(_0x132175)),_t(0x2,_0x52ddbc(_0x8f4120)),_t(0x3,_0x52ddbc(he))],dt);var Ws=Object[_0x1e4666(0x30c)],Ls=(_0x1415cc,_0x58b412,_0x1907b3,_0x282ad7)=>{const _0x42b1d1=_0x1e4666;for(var _0x2bc58a=_0x282ad7>0x1?void 0x0:_0x282ad7?Ws(_0x58b412,_0x1907b3):_0x58b412,_0x58ce97=_0x1415cc[_0x42b1d1(0x337)]-0x1,_0x42a610;_0x58ce97>=0x0;_0x58ce97--)(_0x42a610=_0x1415cc[_0x58ce97])&&(_0x2bc58a=_0x42a610(_0x2bc58a)||_0x2bc58a);return _0x2bc58a;},qe=(_0x4ee523,_0x567596)=>(_0x251e0b,_0x24a659)=>_0x567596(_0x251e0b,_0x24a659,_0x4ee523);let ut=class extends _0x21cbed{constructor(_0x3028a6,_0x379a94,_0x56bd77,_0x4ebe98,_0x4404a1,_0x2f8fb7){const _0xa4df6d=_0x1e4666;super(),this[_0xa4df6d(0x15e)]=_0x3028a6,this['_sheetInterceptorService']=_0x379a94,this[_0xa4df6d(0x2ca)]=_0x56bd77,this[_0xa4df6d(0x2d2)]=_0x4ebe98,this[_0xa4df6d(0x2cc)]=_0x4404a1,this[_0xa4df6d(0x227)]=_0x2f8fb7,this[_0xa4df6d(0x1c0)]();}[_0x1e4666(0x376)](_0x4fbecd,_0x3d5b5e,_0x53e47f){const _0x550747=_0x1e4666,{pageView:_0x1b00dd,cornerView:_0x4c6dc0,rowView:_0x3b670b,colView:_0x2bbc2e,dataView:_0x7e83e6}=_0x3d5b5e,_0x17d00c=_0x4fbecd;let _0x4ef88a;if(_0x53e47f)_0x4ef88a=[...ki(_0x17d00c)];else{const _0x1c619a=ge(_0x17d00c,_0x1b00dd,!0x0),_0x285efa=_0x1b00dd[_0x550747(0x267)]>=0x0?_0x1b00dd[_0x550747(0x267)]+0x1:0x0,_0x87e03=_0x4c6dc0[_0x550747(0x16e)],_0x481bce=_0x4c6dc0['colCount'],_0x4478cc=_0x1c619a['length']>0x0?It:0x0,_0x518404=ge({'row':_0x17d00c[_0x550747(0x17f)]+_0x285efa+_0x4478cc,'col':_0x17d00c[_0x550747(0x1f5)]},_0x4c6dc0,!0x1,!0x1),_0x22aa3b=ge({'row':_0x17d00c['row']+_0x285efa+_0x4478cc+_0x87e03,'col':_0x17d00c['col']},_0x3b670b,!0x1,!0x0),_0x549abd=ge({'row':_0x17d00c['row']+_0x285efa+_0x4478cc,'col':_0x17d00c[_0x550747(0x1f5)]+_0x481bce},_0x2bbc2e,!0x1,!0x0),_0x1ba6a5=ge({'row':_0x17d00c[_0x550747(0x17f)]+_0x285efa+_0x4478cc+_0x87e03,'col':_0x17d00c['col']+_0x481bce},_0x7e83e6,!0x1,!0x0);_0x4ef88a=[..._0x1c619a,..._0x518404,..._0x22aa3b,..._0x549abd,..._0x1ba6a5];}return _0x4ef88a;}[_0x1e4666(0x1c0)](){const _0xb2ffc6=_0x1e4666;this[_0xb2ffc6(0x20e)](this[_0xb2ffc6(0x227)][_0xb2ffc6(0x397)][_0xb2ffc6(0x27d)](this[_0xb2ffc6(0x227)]['interceptor']['getInterceptPoints']()[_0xb2ffc6(0x354)],{'handler':(_0x514ab1,_0x51166b)=>{const _0x557509=_0xb2ffc6,{cellInfo:_0x333e04,view:_0x1a5a00,isEmpty:_0x445a03}=_0x51166b,_0x5c6652=_0x333e04,{unitId:_0x1e254f,subUnitId:_0x576cf8}=_0x5c6652,_0x9e6f6c=this[_0x557509(0x376)](_0x333e04,_0x1a5a00,_0x445a03),_0x579e55=this['_sheetInterceptorService'][_0x557509(0x379)]({'unitId':_0x1e254f,'subUnitId':_0x576cf8,'ranges':_0x9e6f6c}),_0x32c640=Ho(this[_0x557509(0x2ca)],_0x1e254f,_0x576cf8,_0x9e6f6c);_0x32c640[_0x557509(0x23f)]&&(_0x579e55[_0x557509(0x24a)][_0x557509(0x1cd)](_0x32c640['setRangeValueRedoMutation']),_0x579e55['undos'][_0x557509(0x1cd)](_0x32c640[_0x557509(0x212)]));const _0x541f2c=this[_0x557509(0x2a1)](_0x1a5a00,_0x333e04);return _0x579e55[_0x557509(0x24a)][_0x557509(0x1cd)](..._0x541f2c['redos']),_0x579e55[_0x557509(0x2c9)][_0x557509(0x1cd)](..._0x541f2c[_0x557509(0x2c9)]),{'redos':_0x579e55[_0x557509(0x24a)],'undos':_0x579e55[_0x557509(0x2c9)]};}}));}['getAutoFitColumnsMutations'](_0x2ec34d,_0x5d9199){const _0x4baf2e=_0x1e4666,{col:_0x34a481,unitId:_0x1fed83,subUnitId:_0x11974b}=_0x5d9199,_0x5e0b37=[],_0x41be8e=[],_0x3067fd=_0x114031(this['_univerInstanceService'],{'unitId':_0x1fed83,'subUnitId':_0x11974b});if(!_0x5d9199||!_0x2ec34d||!_0x3067fd)return{'undos':_0x41be8e,'redos':_0x5e0b37};const _0x14990e=this['_sheetsPivotTableConfigModel'][_0x4baf2e(0x20f)](),{colView:_0x575b42,dataView:_0x14e1d9,cornerView:_0x39b297,rowView:_0x2f029b,formatMap:_0x465b2d}=_0x2ec34d,_0x45678c=To(_0x575b42,_0x14990e,!0x0,_0x465b2d),_0xc17ad1=To(_0x2f029b,_0x14990e,!0x1,_0x465b2d),_0x243eed=Bi(_0x14e1d9),_0x3d7a15=$i(_0x39b297),{worksheet:_0x481dc5}=_0x3067fd;if(typeof window<'u'&&window[_0x4baf2e(0x254)]){const _0x5df64b=_0x4971bc({...fe[_0x4baf2e(0x222)]}),_0x5ceb5e=_0x10912d['getTextSize'](_0x45678c,_0x5df64b)[_0x4baf2e(0x1b2)]+0x10,_0x1bcbc2=_0x10912d[_0x4baf2e(0x243)](_0x243eed,_0x5df64b)[_0x4baf2e(0x1b2)],_0x29fed2=Math[_0x4baf2e(0x309)](Math[_0x4baf2e(0x15f)](_0x5ceb5e,_0x1bcbc2))+0x10,_0x1b9e33=Math[_0x4baf2e(0x309)](_0x10912d[_0x4baf2e(0x243)](_0xc17ad1,_0x5df64b)[_0x4baf2e(0x1b2)]),_0x273561=Math[_0x4baf2e(0x309)](_0x10912d[_0x4baf2e(0x243)](_0x3d7a15,_0x5df64b)['width']),_0x538090=Math[_0x4baf2e(0x15f)](_0x1b9e33,_0x273561,0x28)+0xc,_0x2af1dd=_0x575b42[_0x4baf2e(0x161)]+_0x39b297[_0x4baf2e(0x161)],_0x570c5a={},_0x2d0b04={};for(let _0x448564=_0x34a481;_0x448564<_0x34a481+_0x2af1dd;_0x448564++){const _0x8ead45=_0x481dc5[_0x4baf2e(0x2d1)](_0x448564);_0x570c5a[_0x448564]=_0x8ead45,_0x448564-_0x34a481<_0x39b297[_0x4baf2e(0x161)]?_0x2d0b04[_0x448564-_0x34a481]=_0x538090:_0x2d0b04[_0x448564-_0x34a481]=_0x29fed2;}_0x5e0b37[_0x4baf2e(0x1cd)]({'id':_0x38f0be['id'],'params':{'subUnitId':_0x11974b,'unitId':_0x1fed83,'ranges':[{'startColumn':_0x34a481,'endColumn':_0x34a481+_0x2af1dd-0x1,'startRow':0x0,'endRow':_0x481dc5[_0x4baf2e(0x36d)]()-0x1}],'colWidth':_0x2d0b04}}),_0x41be8e[_0x4baf2e(0x1cd)]({'id':_0x38f0be['id'],'params':{'subUnitId':_0x11974b,'unitId':_0x1fed83,'ranges':[{'startColumn':_0x34a481,'endColumn':_0x34a481+_0x2af1dd-0x1,'startRow':0x0,'endRow':_0x481dc5[_0x4baf2e(0x36d)]()-0x1}],'colWidth':_0x570c5a}});}return{'undos':_0x41be8e,'redos':_0x5e0b37};}};ut=Ls([qe(0x0,_0x52ddbc(_0x1c8344)),qe(0x1,_0x52ddbc(_0x132175)),qe(0x2,_0x52ddbc(_0x4903de)),qe(0x3,_0x52ddbc(_0x11d98b)),qe(0x4,_0x52ddbc(he)),qe(0x5,_0x52ddbc(ie))],ut);var Bs=Object[_0x1e4666(0x30c)],$s=(_0x4da69b,_0x5815bb,_0x5c9851,_0x2ddef6)=>{const _0x3fd8a0=_0x1e4666;for(var _0x52c69a=_0x2ddef6>0x1?void 0x0:_0x2ddef6?Bs(_0x5815bb,_0x5c9851):_0x5815bb,_0x34aff7=_0x4da69b[_0x3fd8a0(0x337)]-0x1,_0x44ab48;_0x34aff7>=0x0;_0x34aff7--)(_0x44ab48=_0x4da69b[_0x34aff7])&&(_0x52c69a=_0x44ab48(_0x52c69a)||_0x52c69a);return _0x52c69a;},ke=(_0x4651a0,_0x476df8)=>(_0x10b345,_0x4c5fda)=>_0x476df8(_0x10b345,_0x4c5fda,_0x4651a0);let ft=class extends _0x21cbed{constructor(_0x273b35,_0x466f74,_0x25c77b,_0x2a170a,_0x17d6b5,_0xb39735,_0x3cf868){const _0xc2ba40=_0x1e4666;super(),V(this,'disposableCollection',new _0x371937()),(this[_0xc2ba40(0x2ca)]=_0x273b35,this[_0xc2ba40(0x2e5)]=_0x466f74,this['_commandService']=_0x25c77b,this[_0xc2ba40(0x2d2)]=_0x2a170a,this['_sheetsPivotTableConfigModel']=_0x17d6b5,this[_0xc2ba40(0x2f0)]=_0xb39735,this[_0xc2ba40(0x1f4)]=_0x3cf868,this[_0xc2ba40(0x2eb)]());}[_0x1e4666(0x2eb)](){const _0x5d6ebb=_0x1e4666,_0x21fcda=(_0x4d9afc,_0x15c1f1)=>{const _0x24ed8=_0x3ce7,_0x5b107e=this[_0x24ed8(0x2d2)]['getCurrentUnitForType'](_0x5c8370[_0x24ed8(0x392)]);if(!_0x5b107e||!(_0x5b107e==null?void 0x0:_0x5b107e['getSheetBySheetId'](_0x15c1f1)))return;this['disposableCollection']['dispose']();const _0x2dc681=_0x417970=>this['_refRangeHandle'](_0x417970,_0x4d9afc,_0x15c1f1),_0x1eb9b5=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4d9afc,_0x15c1f1);if(!(_0x1eb9b5!=null&&_0x1eb9b5[_0x24ed8(0x2f5)]))return;Array['from'](_0x1eb9b5[_0x24ed8(0x216)]())[_0x24ed8(0x169)](_0x40e349=>{const _0x40989a=_0x24ed8,{row:_0x156e20,col:_0x26cd4d}=_0x40e349[_0x40989a(0x2e8)];return _0x44c758(_0x156e20,_0x26cd4d);})[_0x24ed8(0x276)](_0x556b24=>{const _0x592fce=_0x24ed8;this[_0x592fce(0x1c3)][_0x592fce(0x211)](this[_0x592fce(0x2e5)][_0x592fce(0x342)](_0x556b24,_0x2dc681,_0x4d9afc,_0x15c1f1));});},_0xa5532f=()=>{const _0x2113df=_0x3ce7,_0x197fe8=this[_0x2113df(0x2d2)][_0x2113df(0x2f4)](_0x5c8370[_0x2113df(0x392)]);if(_0x197fe8){const _0x43df0e=_0x197fe8[_0x2113df(0x24f)]();if(!_0x43df0e)return;_0x21fcda(_0x197fe8['getUnitId'](),_0x43df0e[_0x2113df(0x1aa)]());}};this['disposeWithMe'](this['_commandService'][_0x5d6ebb(0x2de)](_0x38dc39=>{const _0x344727=_0x5d6ebb;if(_0x38dc39['id']===_0x1996db['id']){const _0x45f089=_0x38dc39['params'],_0xdd564f=_0x45f089['subUnitId'],_0x2257ac=_0x45f089[_0x344727(0x25c)];if(!_0xdd564f||!_0x2257ac)return;_0x21fcda(_0x2257ac,_0xdd564f);}})),this[_0x5d6ebb(0x20e)](this[_0x5d6ebb(0x2cc)][_0x5d6ebb(0x1d5)]['subscribe'](_0x2703ed=>{_0x2703ed&&_0xa5532f();})),this[_0x5d6ebb(0x20e)](this[_0x5d6ebb(0x2cc)]['pivotConfigChange$'][_0x5d6ebb(0x3a8)](_0xbc44a5=>{const _0x57d403=_0x5d6ebb,_0x23cbc0=_0x114031(this[_0x57d403(0x2d2)]);if(!_0x23cbc0)return;const {unitId:_0xe2900a,subUnitId:_0x17c496}=_0x23cbc0,{unitId:_0xa3ffaf,subUnitId:_0x52b4b5}=_0xbc44a5;_0xe2900a!==_0xa3ffaf||_0x17c496!==_0x52b4b5||_0x21fcda(_0xe2900a,_0x17c496);})),_0xa5532f();}[_0x1e4666(0x219)](_0x115c22,_0x1d1a35,_0x3c7aaa){const _0x34afc5=_0x1e4666;switch(_0x115c22['id']){case _0x582e77['id']:return this['getRefRangeMutationsByMoveRange'](_0x115c22[_0x34afc5(0x358)],_0x1d1a35,_0x3c7aaa);}return{'redos':[],'undos':[]};}[_0x1e4666(0x27c)](_0x3ac912,_0x20399e,_0x140e54){const _0x4aca07=_0x1e4666,{fromRange:_0x2bdf52,toRange:_0x591ec8}=_0x3ac912,_0x116bad=[],_0x26c130=[],_0x1c8a0e=_0x114031(this[_0x4aca07(0x2d2)]);if(!_0x1c8a0e)return{'undos':_0x26c130,'redos':_0x116bad};if(_0x20399e!==_0x1c8a0e[_0x4aca07(0x25c)]||_0x140e54!==_0x1c8a0e[_0x4aca07(0x1b8)])return{'undos':_0x26c130,'redos':_0x116bad};const _0x3b235b=this[_0x4aca07(0x2cc)]['getSubUnitPivotConfigs'](_0x20399e,_0x140e54);if(_0x3b235b!=null&&_0x3b235b['size'])for(const [_0x8ba385,_0x38310e]of _0x3b235b){const {unitId:_0x23fb2c,subUnitId:_0x195d18,row:_0x51c4f8,col:_0x2b28e2}=_0x38310e['targetCellInfo'];if(_0x23fb2c===_0x1c8a0e[_0x4aca07(0x25c)]&&_0x195d18===_0x1c8a0e[_0x4aca07(0x1b8)]){const _0x3248c5=_0x44c758(_0x51c4f8,_0x2b28e2);if(_0x100b6c[_0x4aca07(0x1a1)](_0x3248c5,_0x2bdf52)){const _0x30f71c=_0x51c4f8-_0x2bdf52['startRow'],_0x19df5e=_0x2b28e2-_0x2bdf52[_0x4aca07(0x2c3)],_0x3ebe42={'row':_0x591ec8[_0x4aca07(0x1a0)]+_0x30f71c,'col':_0x591ec8['startColumn']+_0x19df5e};_0x116bad[_0x4aca07(0x1cd)]({'id':pt['id'],'params':{'unitId':_0x23fb2c,'subUnitId':_0x195d18,'pivotTableId':_0x8ba385,'targetCellPosition':_0x3ebe42}}),_0x26c130['push']({'id':pt['id'],'params':{'unitId':_0x23fb2c,'subUnitId':_0x195d18,'pivotTableId':_0x8ba385,'targetCellPosition':{'row':_0x51c4f8,'col':_0x2b28e2}}});const _0x330542=_0x3ebe42[_0x4aca07(0x17f)]-_0x51c4f8,_0x3f77f7=_0x3ebe42['col']-_0x2b28e2,_0xdfe8a=[],_0x50631d=this[_0x4aca07(0x2f0)]['getPivotItemRenderInfoCache'](_0x23fb2c,_0x195d18,_0x8ba385),_0x27522a=_0x50631d==null?void 0x0:_0x50631d[_0x4aca07(0x2b0)];if(_0x27522a){Object[_0x4aca07(0x181)](_0x27522a)[_0x4aca07(0x276)](_0x345bfd=>{const _0x36c241=_0x4aca07;_0x27522a[_0x345bfd][_0x36c241(0x276)](_0x894f0f=>{const _0x2a65bb=_0x36c241,_0x1fc3b4={..._0x894f0f};_0x1fc3b4[_0x2a65bb(0x1a0)]=_0x894f0f[_0x2a65bb(0x1a0)]+_0x330542,_0x1fc3b4['endRow']=_0x894f0f[_0x2a65bb(0x239)]+_0x330542,_0x1fc3b4['startColumn']=_0x894f0f[_0x2a65bb(0x2c3)]+_0x3f77f7,_0x1fc3b4['endColumn']=_0x894f0f[_0x2a65bb(0x38a)]+_0x3f77f7,_0xdfe8a[_0x2a65bb(0x1cd)](_0x1fc3b4);});});const _0x3b16b1=this[_0x4aca07(0x1f4)][_0x4aca07(0x379)]({'unitId':_0x23fb2c,'subUnitId':_0x195d18,'ranges':_0xdfe8a});_0x116bad[_0x4aca07(0x1cd)](..._0x3b16b1['redos']),_0x26c130[_0x4aca07(0x1cd)](..._0x3b16b1['undos']);const _0x1f55cc=Ho(this[_0x4aca07(0x2ca)],_0x23fb2c,_0x195d18,_0xdfe8a);_0x1f55cc[_0x4aca07(0x23f)]&&(_0x116bad[_0x4aca07(0x1cd)](_0x1f55cc[_0x4aca07(0x3b2)]),_0x26c130[_0x4aca07(0x1cd)](_0x1f55cc[_0x4aca07(0x212)]));}}}}return{'redos':_0x116bad,'undos':_0x26c130};}};ft=$s([ke(0x0,_0x52ddbc(_0x4903de)),ke(0x1,_0x52ddbc(_0x3a0f4e)),ke(0x2,_0x13bfb7),ke(0x3,_0x11d98b),ke(0x4,_0x52ddbc(he)),ke(0x5,_0x52ddbc(Ne)),ke(0x6,_0x52ddbc(_0x132175))],ft);var Ys=Object[_0x1e4666(0x30c)],Js=(_0x5661cf,_0x4371e6,_0x5c56fc,_0x3cb317)=>{const _0x2bf59a=_0x1e4666;for(var _0x3fbe1e=_0x3cb317>0x1?void 0x0:_0x3cb317?Ys(_0x4371e6,_0x5c56fc):_0x4371e6,_0x18eeb5=_0x5661cf[_0x2bf59a(0x337)]-0x1,_0x7a7654;_0x18eeb5>=0x0;_0x18eeb5--)(_0x7a7654=_0x5661cf[_0x18eeb5])&&(_0x3fbe1e=_0x7a7654(_0x3fbe1e)||_0x3fbe1e);return _0x3fbe1e;},_o=(_0x17cc11,_0x1991d7)=>(_0x28e1dd,_0x283ab1)=>_0x1991d7(_0x28e1dd,_0x283ab1,_0x17cc11);let gt=class extends _0x21cbed{constructor(_0x110df9,_0x8f6c03){const _0x4733e2=_0x1e4666;super(),this[_0x4733e2(0x1f4)]=_0x110df9,this[_0x4733e2(0x2cc)]=_0x8f6c03,this[_0x4733e2(0x37c)]();}['_initRemoveSheetCommandInterceptor'](){const _0x14a49a=_0x1e4666;this[_0x14a49a(0x20e)](this['_sheetInterceptorService'][_0x14a49a(0x328)]({'getMutations':_0x12f077=>{const _0x482d1f=_0x14a49a;if(_0x12f077['id']===_0x208241['id']){const _0x44067f=[],_0x137f79=[],_0x415542=_0x12f077['params'],{unitId:_0x34eb16,subUnitId:_0x15eec6}=_0x415542;if(!_0x34eb16||!_0x15eec6)return{'undos':_0x137f79,'redos':_0x44067f};const _0x3a4483=this[_0x482d1f(0x2cc)]['getSubUnitPivotConfigs'](_0x34eb16,_0x15eec6);if(_0x3a4483!=null&&_0x3a4483[_0x482d1f(0x2f5)])for(const [_0x4fc743,_0x550b1b]of _0x3a4483){_0x44067f['push']({'id':Et['id'],'params':{'unitId':_0x34eb16,'subUnitId':_0x15eec6,'pivotTableId':_0x4fc743}});const _0x3298b6={...this['_sheetsPivotTableConfigModel'][_0x482d1f(0x190)](_0x34eb16,_0x4fc743)};_0x137f79[_0x482d1f(0x1cd)]({'id':Ct['id'],'params':{'unitId':_0x34eb16,'subUnitId':_0x15eec6,'pivotTableId':_0x4fc743,'pivotTableConfig':_0x550b1b,'collectionConfig':_0x3298b6}});}return{'redos':_0x44067f,'undos':_0x137f79};}return{'redos':[],'undos':[]};}}));}};gt=Js([_o(0x0,_0x52ddbc(_0x132175)),_o(0x1,_0x52ddbc(he))],gt);var Gs=Object[_0x1e4666(0x30c)],js=(_0x5229ce,_0x315ac4,_0x2b5ab8,_0x299eca)=>{const _0x16cdd7=_0x1e4666;for(var _0xa89dbb=_0x299eca>0x1?void 0x0:_0x299eca?Gs(_0x315ac4,_0x2b5ab8):_0x315ac4,_0x37fda0=_0x5229ce[_0x16cdd7(0x337)]-0x1,_0x2d48a7;_0x37fda0>=0x0;_0x37fda0--)(_0x2d48a7=_0x5229ce[_0x37fda0])&&(_0xa89dbb=_0x2d48a7(_0xa89dbb)||_0xa89dbb);return _0xa89dbb;},Ke=(_0x24862b,_0x5de039)=>(_0x49f984,_0x59e0ff)=>_0x5de039(_0x49f984,_0x59e0ff,_0x24862b);let vt=class extends _0x21cbed{constructor(_0x2654a6,_0x217f79,_0x54725f,_0x356a57,_0x1a8ef4,_0x42a1c9){const _0x5309d6=_0x1e4666;super(),this['_commandService']=_0x2654a6,this['_sheetsPivotRpcService']=_0x217f79,this['_sheetsPivotTableAdaptorModel']=_0x54725f,this[_0x5309d6(0x2cc)]=_0x356a57,this[_0x5309d6(0x2d2)]=_0x1a8ef4,this[_0x5309d6(0x16a)]=_0x42a1c9,this[_0x5309d6(0x1b1)](),this[_0x5309d6(0x1c8)]();}[_0x1e4666(0x1b1)](){const _0x272cc5=_0x1e4666;this['disposeWithMe'](this[_0x272cc5(0x31c)][_0x272cc5(0x2de)](_0x31765f=>{const _0x5a5dc8=_0x272cc5;if(_0x31765f['id']!==lo['id'])return;const _0x4d2d99=_0x31765f[_0x5a5dc8(0x358)];this[_0x5a5dc8(0x295)][_0x5a5dc8(0x2a8)](_0x4d2d99);})),this['disposeWithMe'](this[_0x272cc5(0x31c)][_0x272cc5(0x2de)](_0x2ffaad=>{const _0x29e4d8=_0x272cc5;if(_0x2ffaad['id']===co['id']){const _0x21ab9d=_0x2ffaad['params'];if(_0x21ab9d){const {unitId:_0xb524c3,subUnitId:_0x54b382,oldSubUnitId:_0x14319c,pivotTableId:_0x3f1290,pivotTableConfig:_0x12f81d,collectionConfig:_0xd875c3}=_0x21ab9d;this['_sheetsPivotTableConfigModel'][_0x29e4d8(0x3c1)](_0xb524c3,_0x14319c,_0x21ab9d[_0x29e4d8(0x261)],null),this[_0x29e4d8(0x2cc)][_0x29e4d8(0x3c1)](_0xb524c3,_0x54b382,_0x3f1290,_0x12f81d),this[_0x29e4d8(0x2cc)]['updateCollectionConfig'](_0xb524c3,_0xd875c3);}}})),this[_0x272cc5(0x20e)](this['_commandService'][_0x272cc5(0x2de)](_0x209fe9=>{const _0x2072d9=_0x272cc5;if(_0x209fe9['id']!==Dt['id'])return;const _0x1067e4=_0x114031(this['_univerInstanceService']);if(!_0x1067e4)return;const {unitId:_0x1010df,subUnitId:_0x50f14f}=_0x1067e4,_0x367a3c=_0x209fe9['params'];if(_0x367a3c[_0x2072d9(0x1ad)]&&Object['keys'](_0x367a3c[_0x2072d9(0x1ad)])['forEach'](_0x32df24=>{const _0x3ef388=_0x2072d9;var _0x5eff5f;(_0x5eff5f=_0x367a3c[_0x3ef388(0x1ad)])!=null&&_0x5eff5f[_0x32df24]&&this[_0x3ef388(0x2cc)][_0x3ef388(0x2b2)](_0x32df24,_0x367a3c['collectionConfig'][_0x32df24]);}),_0x367a3c['single']){const _0x13a549=_0x367a3c[_0x2072d9(0x232)],{unitId:_0x422128,subUnitId:_0x4f8a08,view:_0x53ca72,pivotTableId:_0x5c4cdf,type:_0x3fefd3,pivotConfig:_0x100c06}=_0x13a549;if(_0x3fefd3===B[_0x2072d9(0x23d)])this[_0x2072d9(0x2f0)][_0x2072d9(0x242)]({'unitId':_0x422128,'subUnitId':_0x4f8a08,'pivotTableId':_0x5c4cdf,'type':_0x3fefd3}),this['_sheetsPivotTableConfigModel'][_0x2072d9(0x3c1)](_0x422128,_0x4f8a08,_0x5c4cdf,null);else{const _0x187bdf=new _0x49d704();_0x187bdf[_0x2072d9(0x15c)](_0x53ca72),this[_0x2072d9(0x2cc)][_0x2072d9(0x3c1)](_0x422128,_0x4f8a08,_0x5c4cdf,_0x100c06),this[_0x2072d9(0x2f0)][_0x2072d9(0x242)]({'unitId':_0x422128,'subUnitId':_0x4f8a08,'pivotTableId':_0x5c4cdf,'type':_0x3fefd3,'view':_0x187bdf}),this['_sheetsPivotTableAdaptorModel'][_0x2072d9(0x301)]({'unitId':_0x422128,'subUnitId':_0x4f8a08,'view':_0x187bdf,'pivotTableId':_0x5c4cdf,'type':_0x3fefd3});}}else _0x367a3c[_0x2072d9(0x3af)]&&(_0x367a3c[_0x2072d9(0x3af)][_0x2072d9(0x276)](_0x192500=>{const _0x2d6afa=_0x2072d9,{unitId:_0xcaf78d,subUnitId:_0x17765f,view:_0x192047,pivotTableId:_0x32815c,type:_0x316a22,pivotConfig:_0x49e903}=_0x192500,_0x11db31=new _0x49d704();_0x11db31[_0x2d6afa(0x15c)](_0x192047),this[_0x2d6afa(0x2cc)][_0x2d6afa(0x3c1)](_0xcaf78d,_0x17765f,_0x32815c,_0x49e903),this[_0x2d6afa(0x2f0)][_0x2d6afa(0x301)]({'unitId':_0xcaf78d,'subUnitId':_0x17765f,'view':_0x11db31,'pivotTableId':_0x32815c,'type':_0x316a22});}),this[_0x2072d9(0x2cc)][_0x2072d9(0x39a)]());this['_sheetsPivotTableAdaptorModel'][_0x2072d9(0x37d)](_0x1010df,_0x50f14f);}));}[_0x1e4666(0x1c8)](){const _0x1a0a15=_0x1e4666;this[_0x1a0a15(0x16a)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x5386e2){return{'dirtyUnitFeatureMap':_0x5386e2['params']};}});}};vt=js([Ke(0x0,_0x52ddbc(_0x13bfb7)),Ke(0x1,_0x52ddbc(Z)),Ke(0x2,_0x52ddbc(Ne)),Ke(0x3,_0x52ddbc(he)),Ke(0x4,_0x52ddbc(_0x11d98b)),Ke(0x5,_0x5d7461)],vt);var Hs=Object[_0x1e4666(0x334)],qs=Object[_0x1e4666(0x30c)],Ks=(_0x4df1c6,_0x8ff51a,_0x900224)=>_0x8ff51a in _0x4df1c6?Hs(_0x4df1c6,_0x8ff51a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x900224}):_0x4df1c6[_0x8ff51a]=_0x900224,Xs=(_0x55cdd9,_0xda6486,_0x2c0f64,_0x725d6b)=>{const _0x20374=_0x1e4666;for(var _0x149083=_0x725d6b>0x1?void 0x0:_0x725d6b?qs(_0xda6486,_0x2c0f64):_0xda6486,_0x4e4a44=_0x55cdd9[_0x20374(0x337)]-0x1,_0x32b687;_0x4e4a44>=0x0;_0x4e4a44--)(_0x32b687=_0x55cdd9[_0x4e4a44])&&(_0x149083=_0x32b687(_0x149083)||_0x149083);return _0x149083;},Rt=(_0x5ad8e4,_0x411742)=>(_0x4f2f09,_0x1bb960)=>_0x411742(_0x4f2f09,_0x1bb960,_0x5ad8e4),Qo=(_0x2a33f7,_0x46547c,_0x5d5a3a)=>Ks(_0x2a33f7,typeof _0x46547c!=_0x1e4666(0x349)?_0x46547c+'':_0x46547c,_0x5d5a3a);let Vt=class extends _0x1c0e00{constructor(_0x1fce29=yo,_0x9bd030,_0xba0b54,_0x201ade,_0x1da3d4){const _0x230128=_0x1e4666;super(),this['_config']=_0x1fce29,this[_0x230128(0x2ca)]=_0x9bd030,this[_0x230128(0x31c)]=_0xba0b54,this[_0x230128(0x26f)]=_0x201ade,this['_dataSyncPrimaryController']=_0x1da3d4;const {..._0x5e18e8}=_0x230aa7({},yo,this[_0x230128(0x2c7)]);this['_configService']['setConfig'](Ko,_0x5e18e8),this[_0x230128(0x1b4)](),this[_0x230128(0x378)]();}['_initConfig'](){const _0x569bdd=_0x1e4666;var _0x13e80e;const _0x3a9af5=(_0x13e80e=this[_0x569bdd(0x2c7)])==null?void 0x0:_0x13e80e[_0x569bdd(0x35a)];this['_configService'][_0x569bdd(0x3d1)](q,_0x3a9af5===!0x0);}['onStarting'](){const _0x440a43=_0x1e4666;var _0x47f336;let _0x2896f7=[];const _0x27f7a4=(_0x47f336=this[_0x440a43(0x2c7)])==null?void 0x0:_0x47f336[_0x440a43(0x35a)];_0x27f7a4===!0x0?_0x2896f7=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x27f7a4===!0x1?_0x2896f7=[[$],[ct]]:_0x27f7a4===void 0x0&&(_0x2896f7=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x2896f7[_0x440a43(0x276)](_0x8f536b=>this['_injector'][_0x440a43(0x211)](_0x8f536b)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x5da0d2=>{const _0x4ca180=_0x440a43;this['_injector'][_0x4ca180(0x2b7)](_0x5da0d2)&&this[_0x4ca180(0x2ca)][_0x4ca180(0x19a)](_0x5da0d2);});}[_0x1e4666(0x1b4)](){const _0x590f17=_0x1e4666;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,Et,$t,Xo,zo,Ht,Yt,Jt,Gt,Kt,qt,pt,ro,lo,Dt,Qt,eo,Xt,jt,uo,to,Zt,Ut,co,_s,zt,Rs,Fs][_0x590f17(0x276)](_0xde14f6=>{const _0x4a679d=_0x590f17;var _0x583705;(_0x583705=this[_0x4a679d(0x35e)])==null||_0x583705[_0x4a679d(0x3da)](_0xde14f6),this['_commandService'][_0x4a679d(0x3a1)](_0xde14f6);});}};Qo(Vt,_0x1e4666(0x3a2),ao),Qo(Vt,_0x1e4666(0x38b),_0x5c8370[_0x1e4666(0x392)]),Vt=Xs([_0x56b03b(_0x3de079),Rt(0x1,_0x52ddbc(_0x4903de)),Rt(0x2,_0x52ddbc(_0x13bfb7)),Rt(0x3,_0x6f69e8),Rt(0x4,_0x51db33(_0x53cb0c))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,B as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,Yt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,Ko as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Gt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Rs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,Kt as SetPivotSortMutation,Xt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,zt as SetPivotValueFilterMutation,$ 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,jo as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Bt as unionPivotViewRange};
1
+ const _0xff08f=_0x37bd;(function(_0x5ed163,_0x51882b){const _0x5bdb1d=_0x37bd,_0x57f0a7=_0x5ed163();while(!![]){try{const _0x30fdff=parseInt(_0x5bdb1d(0x2a5))/0x1*(-parseInt(_0x5bdb1d(0x8f))/0x2)+parseInt(_0x5bdb1d(0x20c))/0x3*(parseInt(_0x5bdb1d(0x11f))/0x4)+-parseInt(_0x5bdb1d(0x28c))/0x5+parseInt(_0x5bdb1d(0x1df))/0x6+-parseInt(_0x5bdb1d(0x102))/0x7*(-parseInt(_0x5bdb1d(0x23e))/0x8)+parseInt(_0x5bdb1d(0x318))/0x9*(-parseInt(_0x5bdb1d(0x11b))/0xa)+parseInt(_0x5bdb1d(0x158))/0xb;if(_0x30fdff===_0x51882b)break;else _0x57f0a7['push'](_0x57f0a7['shift']());}catch(_0x355b81){_0x57f0a7['push'](_0x57f0a7['shift']());}}}(_0x3d9d,0x96ddf));var an=Object[_0xff08f(0x98)],rn=(_0x217e10,_0x53d9e,_0x4e1861)=>_0x53d9e in _0x217e10?an(_0x217e10,_0x53d9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e1861}):_0x217e10[_0x53d9e]=_0x4e1861,V=(_0x348b0b,_0x5c89e6,_0x37e422)=>rn(_0x348b0b,typeof _0x5c89e6!=_0xff08f(0x18c)?_0x5c89e6+'':_0x5c89e6,_0x37e422);import{PivotCellStyleTypeEnum as _0x554228,PivotViewCellValueTypeEnum as _0x32b86d,isPrefixValue as _0x1ac4ea,isErrorValue as _0x5ede90,PivotErrorTypeEnum as _0x1c1ac2,PivotDateGroupFieldDateTypeEnum as _0x48bc72,DataFieldManager as _0x5837ef,FieldsCollection as _0x499880,isDateValue as _0x2736a9,DataField as _0x31ddff,generateHexNumber as _0x440537,isBaseGroupField as _0x28b357,PivotTable as _0x55f99e,PivotSubtotalTypeEnum as _0x4b7c50,PivotTableFiledAreaEnum as _0x2849b6,excelDateToUnixMilliseconds as _0x66d7b7,createValueField as _0x5dae49,createLabelField as _0x1b826f,PivotTableChangeTypeEnum as _0x3254bb,BaseGroupField as _0x4bca1b,PivotView as _0x26d2cd,isDateGroupFieldJSON as _0x496b03,PivotCallbackEnum as _0x992d99,PivotFilterTypeEnum as _0x45deba,getAutoDisplayName as _0x5c694f,PivotDataFieldDataTypeEnum as _0x1b4e62,PivotTableValuePositionEnum as _0x244351,isDateGroupField as _0x3a6e01,DateGroupField as _0x1cbdbb}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1fea7f,ObjectMatrix as _0x3beae7,IUniverInstanceService as _0x5838cd,UniverInstanceType as _0x534b47,CellValueType as _0x18fcdd,numfmt as _0x349634,LocaleService as _0x1ca3ab,createAsyncInterceptorKey as _0x35a40d,createInterceptorKey as _0x291005,CommandType as _0x36da7e,RANGE_TYPE as _0x2875ee,numberToABC as _0xa43d22,Inject as _0x351ec8,Injector as _0x8ab5d1,LifecycleService as _0x3f0061,IConfigService as _0x56c73b,ICommandService as _0x596dde,IResourceManagerService as _0x18a6b3,Disposable as _0x51d9e7,Rectangle as _0x3356fe,Tools as _0x336a3b,AsyncInterceptorManager as _0x199b11,InterceptorManager as _0x50a86f,InterceptorEffectEnum as _0x167c11,CustomCommandExecutionError as _0x51b14d,IUndoRedoService as _0x3fa4c8,sequenceExecute as _0x5f176d,mergeWorksheetSnapshotWithDefault as _0xca9a85,generateRandomId as _0x241bdb,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x35ac26,DEFAULT_WORKSHEET_ROW_COUNT as _0x19a53d,DisposableCollection as _0xbeda3e,Range as _0x36db8c,DependentOn as _0x2195c9,Optional as _0x206ad2,Plugin as _0x352784,merge as _0x12e4b1}from'@univerjs/core';import{ErrorType as _0x39cc87,serializeRangeWithSpreadsheet as _0x4199eb,IFeatureCalculationManagerService as _0x32bffb,GlobalComputingStatusService as _0x14eac6,IActiveDirtyManagerService as _0x108dda}from'@univerjs/engine-formula';import{generateNullCell as _0x46ecc8,SetRangeValuesUndoMutationFactory as _0x4bb5a0,SetRangeValuesMutation as _0x540f88,getSheetCommandTarget as _0x32bc51,InsertRowMutation as _0x93e205,RemoveRowMutation as _0x435802,InsertColMutation as _0x2f85c7,RemoveColMutation as _0x280ed9,IExclusiveRangeService as _0x42eccf,SheetInterceptorService as _0x335a29,INTERCEPTOR_POINT as _0x203a04,InsertSheetCommand as _0x17c903,InsertSheetUndoMutationFactory as _0xe74cff,RemoveSheetMutation as _0x784ca5,InsertSheetMutation as _0x53bf66,MoveRangeMutation as _0x4a8609,SheetsSelectionsService as _0xae168b,ClearSelectionContentCommand as _0x178b31,ClearSelectionAllCommand as _0x1a1aab,SetWorksheetColWidthMutation as _0x163dcd,RefRangeService as _0x5aebf8,SetWorksheetActiveOperation as _0x3c1116,MoveRangeCommand as _0x3d918c,RemoveSheetCommand as _0x5cb87a}from'@univerjs/sheets';import{Subject as _0x1086f6,BehaviorSubject as _0x3b2e28}from'rxjs';import{LS_CONFIG_KEY as _0x1e231c,unshiftString as _0x3aa322,isFeatureAuthorizedWithinTime as _0x4760d5,getSheetFeatureLimit as _0x55b602,ReleaseType as _0x1f2530,UniverLicensePlugin as _0x5ad87e}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1a3763,RemoveSheetsFilterMutation as _0x4c5dd9}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x45346f}from'@univerjs/rpc';import{getFontStyleString as _0x473cad,FontCache as _0x2bed79}from'@univerjs/engine-render';const ko=Number[_0xff08f(0x1c8)](0x686408ac),li=0x10,so=0x1,ao=_0xff08f(0x30e),It=0x1,ci=_0xff08f(0x17f),di=_0xff08f(0x2bc),wt=_0xff08f(0x11d),ui=_0xff08f(0x28d),fi=_0xff08f(0x28d),gi=_0xff08f(0xc3),vi=_0xff08f(0x1c4),hi=_0xff08f(0x15a),pi='#e6ebfa',mi=_0xff08f(0x1c4),Ii=_0xff08f(0x15a),Ci=_0xff08f(0xc5),bi=0xe,Si=0x6;var Lo=(_0xaca3c5=>(_0xaca3c5['Existing']=_0xff08f(0x10c),_0xaca3c5[_0xff08f(0x2f6)]='new',_0xaca3c5))(Lo||{});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':''}}},Ti=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':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 Pi(_0x39c9ca,_0x307221,_0x1c4ba0){const _0x3c6abc=_0xff08f,_0x4eab49=_0x39c9ca[_0x3c6abc(0x235)](_0x1ca3ab),_0x50cc0f=_0x1c4ba0['split']('_');switch(_0x307221){case _0x48bc72[_0x3c6abc(0x2bd)]:return _0x4eab49['t'](_0x3c6abc(0x1e9),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x2fd)]:return _0x4eab49['t'](_0x3c6abc(0xff),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xb4)]:return _0x4eab49['t'](_0x3c6abc(0x1c6),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x275)]:return _0x4eab49['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x50cc0f);case _0x48bc72['Date']:return _0x4eab49['t'](_0x3c6abc(0x2b9),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x2e9)]:return _0x4eab49['t'](_0x3c6abc(0x10b),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xae)]:return _0x4eab49['t'](_0x3c6abc(0x189),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x268)]:return _0x4eab49['t'](_0x3c6abc(0x1cd),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xc2)]:return _0x4eab49['t'](_0x3c6abc(0x276),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x1b6)]:return _0x4eab49['t'](_0x3c6abc(0x1cb),..._0x50cc0f);}return'';}const it=(_0x263bc7,_0x1d8468,_0x583bd6,_0x5721b0)=>{const _0x166f4c=_0xff08f;let _0x1f41f8;const _0x49b9d1=_0x263bc7[_0x166f4c(0x235)](_0x5838cd)[_0x166f4c(0x1fa)](_0x534b47[_0x166f4c(0x288)]);if(!_0x49b9d1)return null;const _0xcb7ba8=_0x49b9d1[_0x166f4c(0xab)]();let _0x3e3803;if(_0x583bd6&&(_0x3e3803=_0xcb7ba8[_0x166f4c(0x17b)](_0x583bd6)),_0x1d8468!=null&&_0x1d8468['v']||(_0x1d8468==null?void 0x0:_0x1d8468['v'])===0x0){_0x1f41f8||(_0x1f41f8={});const _0x58e90e=Ko(_0x1d8468['v']);typeof _0x58e90e==_0x166f4c(0x2b1)?_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2a0)]:typeof _0x58e90e==_0x166f4c(0x1cf)&&(_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2f8)]),_0x1f41f8['v']=_0x58e90e;}if((_0x1d8468!=null&&_0x1d8468['i']||(_0x1d8468==null?void 0x0:_0x1d8468['i'])===0x0)&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['fi']=_0x1d8468['i']),_0x1d8468!=null&&_0x1d8468['s']&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['pbt']=_0x1d8468['s']),_0x583bd6&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['s']=_0x3e3803),_0x5721b0&&_0x1f41f8!=null&&_0x1f41f8['v']&&_0x1f41f8[_0x166f4c(0x169)]!==_0x554228[_0x166f4c(0x304)]&&_0x1f41f8['pbt']!==_0x554228[_0x166f4c(0xb2)]){const _0x145514=String(_0x1f41f8['v']),{dateType:_0x323c19}=_0x5721b0;_0x1f41f8['v']=Pi(_0x263bc7,_0x323c19,_0x145514),_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2f8)];}return _0x1f41f8;},Mi=(_0xbebbbf,_0x3a06f2,_0x3c0eef,_0x52e3fb)=>{const _0x4a243b=_0xff08f;var _0x1595d1,_0x4e4d01,_0x22f760,_0x1a6ef8,_0x5778df,_0x233451,_0x5aaa6f,_0x37fc57,_0x397412,_0x3d7488,_0x4d406f,_0x3b5db4,_0x3a9295,_0x2b9b06;const _0xf1b615=_0x3c0eef[_0x4a243b(0x177)],{cornerView:_0x28006c,rowView:_0x1704d5,colView:_0x16a028,dataView:_0x1a8880,pageView:_0x1c6a8f,formatMap:_0x29556f,groupInfo:_0x281c86}=_0x3a06f2,{row:_0x576c11,col:_0x297aa4}=_0xf1b615,_0x4db594=new _0x3beae7(),_0x5e8f09={},_0x49338d={},_0x1d860c={},_0x1d6ee3={},_0x3bb994={};let _0x46526a=_0x576c11,_0xd8c96a=_0x297aa4;Object[_0x4a243b(0x237)](_0x1c6a8f['data'])['forEach'](_0x457c7e=>{const _0x4391ef=_0x4a243b;Object[_0x4391ef(0x237)](_0x1c6a8f[_0x4391ef(0x2fa)][Number(_0x457c7e)])[_0x4391ef(0x1b9)](_0x25aa5c=>{const _0x408036=_0x4391ef,_0x28fa2d={..._0x1c6a8f[_0x408036(0x2fa)][Number(_0x457c7e)][Number(_0x25aa5c)]};_0x4db594[_0x408036(0x17b)](Number(_0x457c7e)+_0x46526a,Number(_0x25aa5c)+_0xd8c96a,it(_0xbebbbf,_0x28fa2d,fe[_0x408036(0x14a)]));});});const _0x2a8345=Object['keys'](_0x1c6a8f[_0x4a243b(0x2fa)])[_0x4a243b(0x1a8)];_0x46526a+=_0x2a8345+(_0x2a8345?It:0x0);const _0x1dfecd=_0x28006c[_0x4a243b(0x209)](),_0x3b7005=_0x28006c[_0x4a243b(0xf8)]();for(let _0x673c9d=0x0;_0x673c9d<_0x1dfecd;_0x673c9d++)for(let _0x51b0a6=0x0;_0x51b0a6<_0x3b7005;_0x51b0a6++){const _0x163ab7={...(_0x4e4d01=(_0x1595d1=_0x28006c[_0x4a243b(0x2fa)])==null?void 0x0:_0x1595d1[_0x673c9d])==null?void 0x0:_0x4e4d01[_0x51b0a6]};_0x163ab7&&((_0x22f760=_0x1704d5[_0x4a243b(0x25c)][_0x51b0a6])!=null&&_0x22f760[_0x4a243b(0x27e)])&&_0x51b0a6===_0x3b7005-0x1&&_0x673c9d===_0x1dfecd-0x1&&(_0x163ab7['v']=''+_0x52e3fb[_0x4a243b(0x201)]),_0x4db594[_0x4a243b(0x17b)](_0x673c9d+_0x46526a,_0x51b0a6+_0xd8c96a,it(_0xbebbbf,_0x163ab7,fe['cornerStyle']));}for(let _0x2c69d7=0x0;_0x2c69d7<_0x28006c['info']['length'];_0x2c69d7++)_0x28006c[_0x4a243b(0x2ba)][_0x2c69d7]&&(_0x1d860c[''+(_0x2c69d7+_0xd8c96a)]=_0x28006c[_0x4a243b(0x2ba)][_0x2c69d7]);_0xd8c96a+=_0x3b7005;const _0xe65407=_0x16a028[_0x4a243b(0x25c)],_0x552938=_0x16a028[_0x4a243b(0x1f3)]()>=0x0?_0x16a028[_0x4a243b(0x1f3)]()+0x1:0x0,_0xb7362=_0x16a028[_0x4a243b(0x22e)]()>=0x0?_0x16a028[_0x4a243b(0x22e)]()+0x1:0x0;for(let _0x48ba01=0x0;_0x48ba01<_0xb7362;_0x48ba01++){for(let _0x406b05=0x0;_0x406b05<_0x552938;_0x406b05++){const _0x49d613={...(_0x5778df=(_0x1a6ef8=_0x16a028[_0x4a243b(0x2fa)])==null?void 0x0:_0x1a6ef8[_0x406b05])==null?void 0x0:_0x5778df[_0x48ba01]},_0x30eca6=(_0x233451=_0xe65407[_0x406b05])==null?void 0x0:_0x233451[_0x4a243b(0x195)],_0x436c4d=_0x29556f[_0x30eca6],_0x57e98c=_0x281c86[_0x30eca6];_0x49d613&&(_0x49d613['v']=ht(_0x49d613,_0x406b05===0x0&&((_0x5aaa6f=_0x16a028['getHeaderMapItem'](_0x48ba01+0x1))==null?void 0x0:_0x5aaa6f[_0x4a243b(0x27e)]),_0x436c4d,_0x52e3fb));let _0x81f747;_0x436c4d?_0x81f747={...fe['colStyle'],'n':{'pattern':_0x436c4d}}:_0x81f747={...fe[_0x4a243b(0xdf)]},_0x4db594['setValue'](_0x406b05+_0x46526a,_0x48ba01+_0xd8c96a,it(_0xbebbbf,_0x49d613,_0x81f747,_0x57e98c));}_0x16a028[_0x4a243b(0x2ba)][_0x48ba01]&&(_0x49338d[''+(_0x48ba01+_0xd8c96a)]=_0x16a028[_0x4a243b(0x2ba)][_0x48ba01]),_0x16a028['headerMap'][_0x48ba01+0x1]&&(_0x3bb994[''+(_0x48ba01+_0x46526a+0x1)]=_0x16a028[_0x4a243b(0x25c)][_0x48ba01+0x1]);}_0x46526a+=_0x1dfecd;const _0x5cc627=_0x1704d5['headerMap'],_0x4ec141=_0x1704d5[_0x4a243b(0x1f3)]()>=0x0?_0x1704d5[_0x4a243b(0x1f3)]()+0x1:0x0,_0x801998=_0x1704d5['getLastCol']()>=0x0?_0x1704d5[_0x4a243b(0x22e)]()+0x1:0x0;for(let _0x30432d=0x0;_0x30432d<_0x4ec141;_0x30432d++){for(let _0x2eba00=0x0;_0x2eba00<_0x801998;_0x2eba00++){const _0x7994e9={...(_0x397412=(_0x37fc57=_0x1704d5[_0x4a243b(0x2fa)])==null?void 0x0:_0x37fc57[_0x30432d])==null?void 0x0:_0x397412[_0x2eba00]},_0x318456=(_0x3d7488=_0x5cc627[_0x2eba00])==null?void 0x0:_0x3d7488[_0x4a243b(0x195)],_0x3286af=_0x29556f[_0x318456],_0x110387=_0x281c86[_0x318456];_0x7994e9&&(_0x7994e9['v']=ht(_0x7994e9,!0x1,_0x3286af,_0x52e3fb));let _0x3dd5f7;_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x1d0)]===_0x1704d5['getColCount']()?_0x3dd5f7=fe[_0x4a243b(0xe8)]:_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x25b)]?_0x3dd5f7=_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x1d0)]===0x0?fe[_0x4a243b(0x1f5)]:fe[_0x4a243b(0x1a5)]:_0x3dd5f7=fe['rowStyle'],_0x3286af&&(_0x3dd5f7={..._0x3dd5f7,'n':{'pattern':_0x3286af}}),_0x4db594[_0x4a243b(0x17b)](_0x30432d+_0x46526a,_0x2eba00+_0x297aa4,it(_0xbebbbf,_0x7994e9,_0x3dd5f7,_0x110387));}_0x1704d5[_0x4a243b(0x2ba)][_0x30432d]&&(_0x5e8f09[''+(_0x30432d+_0x46526a)]=_0x1704d5[_0x4a243b(0x2ba)][_0x30432d]),_0x1704d5['headerMap'][_0x30432d]&&(_0x1d6ee3[''+(_0x30432d+_0x297aa4)]=_0x1704d5['headerMap'][_0x30432d]);}const _0x10fc3d=_0x1a8880[_0x4a243b(0x209)](),_0x497d7b=_0x1a8880[_0x4a243b(0xf8)]();for(let _0x15080a=0x0;_0x15080a<_0x10fc3d;_0x15080a++)for(let _0x3f756b=0x0;_0x3f756b<_0x497d7b;_0x3f756b++){const _0x388399={...(_0x3b5db4=(_0x4d406f=_0x1a8880['data'])==null?void 0x0:_0x4d406f[_0x15080a])==null?void 0x0:_0x3b5db4[_0x3f756b]};let _0x4a2253;_0x1704d5['info'][_0x15080a][_0x4a243b(0x25b)]?_0x4a2253=_0x1704d5[_0x4a243b(0x2ba)][_0x15080a]['level']===0x0?fe[_0x4a243b(0x1f5)]:fe[_0x4a243b(0x1a5)]:_0x4a2253=fe[_0x4a243b(0x266)];const _0x464e2c=_0x1704d5['info'][_0x15080a][_0x4a243b(0x299)],_0x36f537=_0x16a028['info'][_0x3f756b]['valueIndex'],_0x17e1c4=Math['max'](_0x464e2c,_0x36f537),_0x45bf46=_0x3c0eef[_0x4a243b(0x27b)][_0x4a243b(0xbc)][_0x4a243b(0x182)]();let _0x7267f5='';_0x17e1c4<0x0?_0x7267f5=(_0x3a9295=_0x45bf46[0x0])!=null?_0x3a9295:'':_0x7267f5=(_0x2b9b06=_0x45bf46[_0x17e1c4])!=null?_0x2b9b06:'';const _0x436c03=_0x29556f[_0x7267f5];_0x436c03&&(_0x4a2253={..._0x4a2253,'n':{'pattern':_0x436c03}}),_0x4db594[_0x4a243b(0x17b)](_0x15080a+_0x46526a,_0x3f756b+_0xd8c96a,it(_0xbebbbf,_0x388399,_0x4a2253));}return{'valueMatrix':_0x4db594,'rowInfo':_0x5e8f09,'colInfo':_0x49338d,'cornerInfo':_0x1d860c,'rowHeaderMap':_0x1d6ee3,'colHeaderMap':_0x3bb994};};function ht(_0x2c2059,_0x319c09,_0x553c28,_0x332b03){const _0x46842f=_0xff08f;let _0x18a376=_0x2c2059['v'];_0x319c09&&(_0x18a376=''+_0x332b03[_0x46842f(0x201)]);const _0x493233=_0x2c2059['t']&&(_0x2c2059['t']&_0x32b86d[_0x46842f(0x1d4)])>0x0;if(_0x493233&&(_0x18a376=''+_0x332b03[_0x46842f(0x22b)]),_0x2c2059['s']===_0x554228['Subtotal']){let _0x3ae7bf=_0x18a376,_0x1c2fc8='';_0x1ac4ea(_0x18a376)&&(_0x3ae7bf=_0x18a376['prefix'],_0x1c2fc8=_0x18a376[_0x46842f(0xbb)]);const _0x50e03c=_0x553c28&&!_0x493233?_0x349634[_0x46842f(0x242)](_0x553c28,Number(_0x3ae7bf)):_0x3ae7bf;_0x1c2fc8?_0x18a376=_0x50e03c+'\x20'+_0x1c2fc8:_0x18a376=_0x50e03c+'\x20'+_0x332b03[_0x46842f(0xd4)];}else _0x2c2059['s']===_0x554228['GrandTotal']&&(_0x18a376=_0x18a376+'\x20'+_0x332b03[_0x46842f(0x93)]);return _0x18a376;}function Ko(_0x4f1e76){const _0x3526e3=_0xff08f;if(_0x5ede90(_0x4f1e76)){const {errorType:_0x368bbc}=_0x4f1e76;switch(_0x368bbc){case _0x1c1ac2[_0x3526e3(0x308)]:return _0x39cc87[_0x3526e3(0x18f)];case _0x1c1ac2[_0x3526e3(0x2e1)]:return _0x39cc87['NUM'];case _0x1c1ac2[_0x3526e3(0x1ef)]:return _0x39cc87[_0x3526e3(0x204)];case _0x1c1ac2[_0x3526e3(0x2f0)]:return _0x39cc87[_0x3526e3(0x204)];case _0x1c1ac2['BadReference']:return _0x39cc87['REF'];}}return _0x4f1e76;}function ge(_0x2e4c89,_0x1b3ede,_0x401906=!0x1,_0x40742a=!0x1){const _0x3377e5=_0xff08f,{data:_0x3c0fac}=_0x1b3ede,_0x277430=_0x1b3ede['getRowCount'](),_0x2dbf0f=_0x1b3ede[_0x3377e5(0xf8)]();if(_0x277430<=0x0||_0x2dbf0f<=0x0)return[];const _0x2c5116=_0x1b3ede['getLastCol'](),_0x1c2910=_0x1b3ede[_0x3377e5(0x1f3)](),_0x32f896=_0x40742a?_0x1c2910>=0x0?_0x1c2910+0x1:0x0:_0x277430,_0xc9de3a=_0x40742a?_0x2c5116>=0x0?_0x2c5116+0x1:0x0:_0x2dbf0f,{row:_0x1f3b56,col:_0xaeb0e2}=_0x2e4c89,_0x4b1075=_0x1f3b56,_0x3e2efb=_0xaeb0e2;if(_0x401906){const _0x4bdc84=[];for(const [_0x1f9a58,_0x4ee7a3]of Object[_0x3377e5(0x1f4)](_0x3c0fac))for(const [_0x4fe8b5,_0x15f7cb]of Object['entries'](_0x4ee7a3))_0x4bdc84[_0x3377e5(0xc1)](_0x1fea7f(_0x4b1075+Number(_0x1f9a58),_0x3e2efb+Number(_0x4fe8b5)));return _0x4bdc84;}else{const _0x67a963=_0x40742a?_0x32f896>0x0?0x1:0x0:0x1,_0x534afd=_0x40742a?_0xc9de3a>0x0?0x1:0x0:0x1,_0x398c77=_0x1f3b56+_0x32f896-_0x67a963,_0x93fde6=_0xaeb0e2+_0xc9de3a-_0x534afd;return[{'startRow':_0x4b1075,'startColumn':_0x3e2efb,'endRow':_0x398c77,'endColumn':_0x93fde6}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Lt=_0xff08f(0x2c9);var k=(_0x20b067=>(_0x20b067[_0xff08f(0x216)]='filter',_0x20b067['Panel']=_0xff08f(0x140),_0x20b067[_0xff08f(0x13d)]=_0xff08f(0xa3),_0x20b067[_0xff08f(0x1f0)]=_0xff08f(0x1f0),_0x20b067['AddPivotTable']=_0xff08f(0x2ac),_0x20b067[_0xff08f(0x1b2)]=_0xff08f(0x26c),_0x20b067[_0xff08f(0x212)]=_0xff08f(0x200),_0x20b067[_0xff08f(0x1e6)]='setPivotCollapse',_0x20b067[_0xff08f(0x16d)]=_0xff08f(0x1fb),_0x20b067[_0xff08f(0x2b7)]=_0xff08f(0xf5),_0x20b067[_0xff08f(0x11e)]='setPivotSetting',_0x20b067['UpdatePivotSource']=_0xff08f(0x286),_0x20b067['UpdateValuePosition']=_0xff08f(0x11c),_0x20b067[_0xff08f(0xc6)]=_0xff08f(0x1d7),_0x20b067[_0xff08f(0x1e3)]='setValuePivotFilter',_0x20b067[_0xff08f(0x2eb)]=_0xff08f(0x18a),_0x20b067[_0xff08f(0x10f)]='resetPivotTable',_0x20b067))(k||{});const yi={'sheets-pivot.blankValue':_0xff08f(0x29d),'sheets-pivot.columnName':_0xff08f(0x26e),'sheets-pivot.subTotalText':_0xff08f(0x29e),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0xff08f(0x1e8),'sheets-pivot.countName':_0xff08f(0xc9),'sheets-pivot.countNumsName':_0xff08f(0xc9),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0xff08f(0xa4),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0xff08f(0x184),'sheets-pivot.stdDevpName':_0xff08f(0x2f2),'sheets-pivot.sumName':_0xff08f(0xc4),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0xff08f(0x1e7),'sheets-pivot.subTotal':_0xff08f(0xb2),'sheets-pivot.grandTotal':_0xff08f(0x99),'sheets-pivot.value':_0xff08f(0xbb),'sheets-pivot.blank':_0xff08f(0x1d4),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0xff08f(0xb8),'sheets-pivot.emptyPivot.values':_0xff08f(0x2dd)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x35a40d(_0xff08f(0x248)),$o=_0x291005(_0xff08f(0x2a4));var Be=(_0x497122=>(_0x497122[_0xff08f(0x15c)]=_0xff08f(0x15c),_0x497122[_0xff08f(0x1e1)]=_0xff08f(0x1e1),_0x497122[_0xff08f(0x1a3)]=_0xff08f(0x1a3),_0x497122))(Be||{}),K=(_0x5f5d6e=>(_0x5f5d6e['Add']=_0xff08f(0x15c),_0x5f5d6e[_0xff08f(0xd9)]=_0xff08f(0x19f),_0x5f5d6e[_0xff08f(0xa6)]=_0xff08f(0x1e1),_0x5f5d6e))(K||{});const Jo={0x0:'I',0x1:'Z',0x2:'v',0x3:'K',0x4:'C',0x5:'y',0x6:'r',0x7:'Q',0x8:'j',0x9:'u','d':'0','H':'1','i':'2','k':'3','b':'4','G':'5','Q':'6','W':'7','o':'8','A':'9','m':'a','E':'b','S':'c','x':'d','f':'e','L':'f','u':'g','F':'h','T':'i','V':'k','N':'l','P':'m','g':'n','K':'o','n':'p','J':'q','t':'s','a':'t','C':'w','M':'x','r':'z','q':'A','j':'B','O':'D','e':'E','y':'F','w':'G','U':'H','z':'J','l':'L','c':'M','X':'N','Y':'O','I':'P','s':'R','v':'S','Z':'T','p':'U','R':'V','D':'W','h':'X','B':'Y'},jo=_0xff08f(0x19e),ro={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0xfe),'handler':()=>!0x0},lo={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x13c),'handler':()=>!0x0},Dt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x9f),'handler':()=>!0x0},co={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x172),'handler':()=>!0x0},uo={'type':_0x36da7e['MUTATION'],'id':_0xff08f(0x277),'handler':()=>!0x0},wi=_0x9beef3=>{const _0x35a2b1=_0xff08f;var _0x51974d;return((_0x51974d=_0x9beef3[_0x35a2b1(0x214)])==null?void 0x0:_0x51974d[_0x35a2b1(0x30d)][_0x35a2b1(0x1af)](/\r\n$/,''))||'';};class _i extends _0x5837ef{constructor(_0x35a15f,_0x2fed98){const _0xc0505b=_0xff08f;super(),V(this,_0xc0505b(0x312),{}),V(this,'_univerInstanceService'),V(this,_0xc0505b(0x2b6)),(this[_0xc0505b(0x2d4)]=_0x2fed98,this[_0xc0505b(0x2b6)]=_0x35a15f);}[_0xff08f(0x1f1)](){const _0x74e496=_0xff08f;for(const _0x8e40da in this[_0x74e496(0x1b5)]){const _0x5fa248=this['dataFields'][_0x8e40da],_0xbf52c1=_0x5fa248[_0x74e496(0x1e2)]();this[_0x74e496(0x312)][_0xbf52c1]=_0x5fa248[_0x74e496(0x91)]();}}[_0xff08f(0x252)](){const _0x48c6aa=_0xff08f,_0x3430d6=this['_host'];return xi[_0x48c6aa(0xd5)](_0x3430d6);}['deleteDataField'](_0x2b1c2b){const _0xbb9738=_0xff08f,_0x575444=this['dataFields'][_0x2b1c2b][_0xbb9738(0xf9)];delete this[_0xbb9738(0x1b5)][_0x2b1c2b],delete this[_0xbb9738(0x312)][_0x575444];}[_0xff08f(0x171)](_0x45fa70){const _0x1d909a=_0xff08f;this['dataFields'][_0x45fa70[_0x1d909a(0x91)]()]=_0x45fa70;}[_0xff08f(0x133)](_0x101a08){const _0xdcdc7b=_0xff08f;var _0x2c1f88,_0x562255;const _0x47dfc1=this[_0xdcdc7b(0x2b6)][_0xdcdc7b(0xe9)](_0x101a08);if(_0x47dfc1){const {unitId:_0xb90388,subUnitId:_0x16de97}=_0x47dfc1,_0x51b40a=(_0x2c1f88=this[_0xdcdc7b(0x2b6)][_0xdcdc7b(0x215)](_0xb90388,_0x16de97,_0x101a08))==null?void 0x0:_0x2c1f88[_0xdcdc7b(0x178)];this[_0xdcdc7b(0x2b6)]['broadcastCollectionChange']({'token':_0x101a08,'type':Be[_0xdcdc7b(0x1e1)],'dataRangeInfo':_0x51b40a});}(_0x562255=this['getCollection'](_0x101a08))==null||_0x562255[_0xdcdc7b(0x2ca)](),delete this[_0xdcdc7b(0x193)][_0x101a08];}[_0xff08f(0x1e2)](_0x58ebbe,_0xbce88e){const {sheetName:_0x4e18bb,unitId:_0x100696,range:_0x51915c}=_0x58ebbe,{startRow:_0x3547da,endRow:_0x58d03c}=_0x51915c;return _0x4199eb(_0x100696,_0x4e18bb,{'startRow':_0x3547da,'endRow':_0x58d03c,'startColumn':_0xbce88e,'endColumn':_0xbce88e});}[_0xff08f(0x2c3)](_0x3589a5){const _0x3972be=_0xff08f;return this[_0x3972be(0x1b5)][this[_0x3972be(0x312)][_0x3589a5]];}[_0xff08f(0x257)](_0x2bb9ee,_0xb829dd){const _0xabb704=_0xff08f;this[_0xabb704(0x312)][_0x2bb9ee]=_0xb829dd;}[_0xff08f(0x2df)](_0x4e140e,_0x342d11){const _0x3bf426=_0xff08f;this[_0x3bf426(0x312)][_0x342d11]=this['rangeKeyMap'][_0x4e140e],delete this[_0x3bf426(0x312)][_0x4e140e];}[_0xff08f(0xef)](_0x4af584,_0x566df7,_0x127071,_0x48da0f){const _0xabc950=_0xff08f,_0x15f9b6=new _0x499880(this);_0x15f9b6[_0xabc950(0x111)](_0x566df7);const _0x1b714e=[];let _0x2c603d=0x0;for(const _0x4abe55 of _0x15f9b6[_0xabc950(0xe4)]){const _0x369e5c=this[_0xabc950(0x1e2)](_0x127071,_0x2c603d),_0x5ada6b=this[_0xabc950(0x1b5)][_0x4abe55];_0x5ada6b&&(_0x5ada6b['rangeKey']=_0x369e5c,this[_0xabc950(0x257)](_0x369e5c,_0x4abe55),_0x1b714e[_0xabc950(0xc1)]({'index':_0x2c603d,'dataField':_0x5ada6b})),_0x2c603d++;}return this[_0xabc950(0x125)](_0x4af584,_0x15f9b6,_0x127071,_0x48da0f),{'collection':_0x15f9b6,'updateDataFieldList':_0x1b714e};}[_0xff08f(0x188)](_0x23941e,_0x511c67){const _0x262cdc=_0xff08f;return _0x23941e[_0x262cdc(0xfc)]===_0x2875ee[_0x262cdc(0x1c2)]?{'startRow':0x0,'startColumn':_0x23941e[_0x262cdc(0x136)],'endRow':_0x511c67['getRowCount']()-0x1,'endColumn':_0x23941e[_0x262cdc(0x1fe)]}:{'startRow':_0x23941e[_0x262cdc(0x2d2)],'startColumn':_0x23941e['startColumn'],'endRow':_0x23941e[_0x262cdc(0x1de)],'endColumn':_0x23941e[_0x262cdc(0x1fe)]};}[_0xff08f(0xd6)](_0x292678){const _0x33dcbf=_0xff08f,{sheetName:_0x136e38,range:_0x6b65ea}=_0x292678,_0x43d540=this[_0x33dcbf(0x2d4)][_0x33dcbf(0x1fa)](_0x534b47[_0x33dcbf(0x288)]),_0x48125d=_0x43d540['getSheetBySheetName'](_0x136e38),_0x218fd8=_0x48125d[_0x33dcbf(0x253)](),{startColumn:_0x224438,startRow:_0x233d6e,endColumn:_0x5bea44}=this[_0x33dcbf(0x188)](_0x6b65ea,_0x48125d),_0x4821a7=_0x43d540[_0x33dcbf(0xab)](),_0x368aac=new _0x499880(this);_0x368aac['setRange'](_0x292678);const _0x1aaa8=[],_0x4183b4={};for(let _0x50b6ba=_0x224438;_0x50b6ba<=_0x5bea44;_0x50b6ba++){const _0x37f8e3=_0x218fd8['getValue'](_0x233d6e,_0x50b6ba),_0xaee32f=this['getRangeKey'](_0x292678,_0x50b6ba),_0xd75104=this[_0x33dcbf(0x2c3)](_0xaee32f);if(_0xd75104)_0x368aac['addField'](_0xd75104['getId'](),_0xd75104[_0x33dcbf(0x2de)]());else{const _0x16fdef=this[_0x33dcbf(0x24f)]();let _0x1523d0=this['adjustSheetCellData'](_0x37f8e3,_0x4821a7,_0x4183b4);_0x2736a9(_0x1523d0)&&(_0x1523d0=_0x349634[_0x33dcbf(0x242)](_0x1523d0['f'],Number(_0x1523d0['v'])));const _0x379c3e=this[_0x33dcbf(0x2ad)](_0x1523d0,_0x50b6ba),_0x5c47d0=new _0x31ddff(_0x16fdef,_0x379c3e,_0x440537(0x3));_0x5c47d0[_0x33dcbf(0xf9)]=_0xaee32f,this[_0x33dcbf(0x1b5)][_0x16fdef]=_0x5c47d0,_0x368aac[_0x33dcbf(0x263)](_0x16fdef,_0x379c3e),_0x1aaa8['push']({'index':_0x50b6ba,'dataField':_0x5c47d0});}}return{'updateDataFieldList':_0x1aaa8,'collection':_0x368aac};}['_getAutoName'](_0x3518e8){const _0x3f39c0=_0xff08f;return this[_0x3f39c0(0x2b6)][_0x3f39c0(0xa5)]()[_0x3f39c0(0x2fc)]+'\x20'+_0xa43d22(_0x3518e8);}[_0xff08f(0x2ad)](_0xf39984,_0x531c70){return _0xf39984==null||_0xf39984===''?this['_getAutoName'](_0x531c70):String(_0xf39984);}[_0xff08f(0x116)](_0x40508b){return this['collections'][_0x40508b];}['addCollection'](_0x5be675,_0x340771,_0x4754b2,_0xfb9985){const _0x47f641=_0xff08f;this[_0x47f641(0x193)][_0x5be675]=_0x340771,_0x340771[_0x47f641(0xcd)](_0x4754b2),this[_0x47f641(0x2b6)]['broadcastCollectionChange']({'token':_0x5be675,'type':Be['add'],'dataRangeInfo':_0x4754b2,'targetCellInfo':_0xfb9985});}[_0xff08f(0x2ea)](_0x1a6eeb,_0x553d1d){const _0x1220e5=_0xff08f,_0x5640fc=this['getCollection'](_0x1a6eeb),_0x40c5c5=_0x5640fc['getFieldIds']();let _0x368bf4=0x0;for(const _0xd1330 of _0x40c5c5){const _0x3f437b=_0x5640fc[_0x1220e5(0x25a)](_0xd1330),_0x5950a1=this[_0x1220e5(0x1e2)](_0x553d1d,_0x368bf4);this[_0x1220e5(0x2df)](_0x3f437b[_0x1220e5(0xf9)],_0x5950a1),_0x368bf4++;}}[_0xff08f(0x90)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0xff08f(0x302)](_0x28fc8e,_0x3c7b6f){const _0x5aec4c=_0xff08f;if(this[_0x5aec4c(0x116)](_0x28fc8e)){const _0x5ab154=this[_0x5aec4c(0x194)](_0x3c7b6f),_0x496fdd=[];for(const _0xeb2de2 of _0x5ab154)this[_0x5aec4c(0x312)][_0xeb2de2]!==void 0x0&&_0x496fdd['push'](this['rangeKeyMap'][_0xeb2de2]);const _0x488f90=this[_0x5aec4c(0x2db)](_0x28fc8e),_0x335c3d=[],_0x19d121=new Set(_0x496fdd);for(const _0x1f7f3d of _0x488f90)_0x19d121[_0x5aec4c(0x1bd)](_0x1f7f3d)||_0x335c3d[_0x5aec4c(0xc1)](_0x1f7f3d);return _0x335c3d;}}[_0xff08f(0xea)](_0x245b97,_0x10d4b4,_0x23d273,_0x30d092,_0xd5ec76){const _0x30e278=_0xff08f;return _0x10d4b4&&_0x10d4b4['getValue'](_0x30d092,_0xd5ec76)?_0x10d4b4['getValue'](_0x30d092,_0xd5ec76):_0x23d273&&_0x23d273[_0x30e278(0xee)](_0x30d092,_0xd5ec76)?_0x23d273[_0x30e278(0xee)](_0x30d092,_0xd5ec76):_0x245b97[_0x30e278(0xee)](_0x30d092,_0xd5ec76);}['refreshDataField'](_0x551df6,_0x240172,_0x3b6b52,_0x270889){const _0xc3aed1=_0xff08f,_0x440382=this[_0xc3aed1(0x1b5)][_0x551df6];if(!_0x440382)return;const {subUnitId:_0xb84441,range:_0x310409,unitId:_0x12f6d7}=_0x240172,_0x1a11f4=this[_0xc3aed1(0x2d4)][_0xc3aed1(0x2cf)](_0x12f6d7);if(!_0x1a11f4){console[_0xc3aed1(0x2af)]('workbook\x20is\x20not\x20found');return;}const _0x2fc1ec=_0x1a11f4[_0xc3aed1(0x2c4)](_0xb84441),_0x56dce4=_0x2fc1ec[_0xc3aed1(0x253)](),{arrayFormulaCellDataMatrix:_0x2745fb,unitDataMatrix:_0x4ef429}=_0x270889||{},{startRow:_0x3e6d0f,startColumn:_0x41aaaa,endRow:_0x5cdc02}=this['getRangeStartEndInfo'](_0x310409,_0x2fc1ec);_0x440382[_0xc3aed1(0x14b)]();const _0x1e4181=_0x1a11f4['getStyles'](),_0x2ce629={},_0x170a49=this[_0xc3aed1(0xea)](_0x56dce4,_0x2745fb,_0x4ef429,_0x3e6d0f,_0x41aaaa+_0x3b6b52);let _0x8a3b3f=this[_0xc3aed1(0x29a)](_0x170a49,_0x1e4181,_0x2ce629);_0x2736a9(_0x8a3b3f)&&(_0x8a3b3f=_0x349634[_0xc3aed1(0x242)](_0x8a3b3f['f'],Number(_0x8a3b3f['v'])));const _0x5bc646=this[_0xc3aed1(0x2ad)](_0x8a3b3f,_0x41aaaa+_0x3b6b52);_0x440382[_0xc3aed1(0x179)](_0x5bc646);for(let _0x252021=_0x3e6d0f+0x1;_0x252021<=_0x5cdc02;_0x252021++){const _0x801917=this[_0xc3aed1(0xea)](_0x56dce4,_0x2745fb,_0x4ef429,_0x252021,_0x41aaaa+_0x3b6b52);_0x440382[_0xc3aed1(0x236)](this['adjustSheetCellData'](_0x801917,_0x1e4181,_0x2ce629),_0x252021-0x1-_0x3e6d0f);}}[_0xff08f(0x15d)](_0x30108d,_0x55bda2,_0x23be6f){const _0x2be951=_0xff08f,{subUnitId:_0x14ffe3,range:_0x53e87,unitId:_0x18f3b9}=_0x23be6f,_0x493bab=this['_univerInstanceService'][_0x2be951(0x2cf)](_0x18f3b9);if(!_0x493bab){console['error'](_0x2be951(0x245));return;}const _0x30c0a1=_0x493bab['getSheetBySheetId'](_0x14ffe3),_0x5cfbe3=_0x30c0a1[_0x2be951(0x253)](),{startRow:_0x53f533,startColumn:_0x18d98b,endRow:_0x3a9d7a}=this[_0x2be951(0x188)](_0x53e87,_0x30c0a1),_0x35988d=_0x493bab[_0x2be951(0xab)](),_0x35a389={};for(const {dataField:_0x5e41ff,index:_0x3773c7}of _0x55bda2){_0x5e41ff[_0x2be951(0x14b)]();const _0x23f55c=this['getMatrixValue'](_0x5cfbe3,void 0x0,void 0x0,_0x53f533,_0x18d98b+_0x3773c7);let _0x4ddd62=this[_0x2be951(0x29a)](_0x23f55c,_0x35988d,_0x35a389);_0x2736a9(_0x4ddd62)&&(_0x4ddd62=_0x349634[_0x2be951(0x242)](_0x4ddd62['f'],Number(_0x4ddd62['v'])));const _0xcef69c=this[_0x2be951(0x2ad)](_0x4ddd62,_0x18d98b+_0x3773c7);_0x5e41ff[_0x2be951(0x179)](_0xcef69c);}_0x30108d['updateAllDisplayName']();for(let _0x26efd7=_0x53f533+0x1;_0x26efd7<=_0x3a9d7a;_0x26efd7++)for(const {index:_0x21f355,dataField:_0x372637}of _0x55bda2){const _0x42a7f6=_0x5cfbe3[_0x2be951(0xee)](_0x26efd7,_0x18d98b+_0x21f355);_0x372637['addRecord'](this[_0x2be951(0x29a)](_0x42a7f6,_0x35988d,_0x35a389),_0x26efd7-0x1-_0x53f533);}_0x30108d['setDataRecordCount'](_0x3a9d7a-_0x53f533);}[_0xff08f(0x194)](_0x3eda62){const _0x550f94=_0xff08f,{range:_0x55d56d}=_0x3eda62,{startColumn:_0x2616a4,endColumn:_0x425a3a}=_0x55d56d,_0x395ee2=[];for(let _0x33a18f=_0x2616a4;_0x33a18f<=_0x425a3a;_0x33a18f++)_0x395ee2[_0x550f94(0xc1)](this[_0x550f94(0x1e2)](_0x3eda62,_0x33a18f));return _0x395ee2;}['adjustSheetCellData'](_0x158869,_0x4f5fb1,_0x4d899c){const _0x36027c=_0xff08f;if(_0x158869){const {s:_0x2528c3,v:_0x42fb1e,t:_0x47c92f,p:_0x54d139}=_0x158869;if(_0x54d139)return wi(_0x54d139);const _0x1a7ac3=_0x4f5fb1[_0x36027c(0x235)](_0x2528c3);if(_0x1a7ac3&&_0x47c92f===_0x18fcdd[_0x36027c(0x2a0)]&&_0x1a7ac3['n']){const {pattern:_0x2ec7cc}=_0x1a7ac3['n'];_0x4d899c[_0x2ec7cc]||(_0x4d899c[_0x2ec7cc]=_0x349634[_0x36027c(0x196)](_0x2ec7cc));const _0x4aec43=_0x4d899c[_0x2ec7cc],_0x2b15fa=_0x4aec43[_0x36027c(0x2b3)];if(_0x4aec43[_0x36027c(0xdd)])return String(_0x42fb1e);if(_0x2b15fa)return{'v':_0x42fb1e,'f':_0x2ec7cc};}if(_0x47c92f===_0x18fcdd[_0x36027c(0x2a0)])return Number(_0x42fb1e);if(_0x47c92f===_0x18fcdd[_0x36027c(0x2f8)]||_0x47c92f===_0x18fcdd[_0x36027c(0x208)])return String(_0x42fb1e);if(_0x47c92f===void 0x0){const _0x28b51b=Number(_0x42fb1e);if(!Number[_0x36027c(0xc7)](_0x28b51b)&&String(_0x28b51b)===_0x42fb1e)return _0x28b51b;}return _0x42fb1e!=null?_0x42fb1e:null;}else return null;}[_0xff08f(0x1be)](_0x376aec){const _0x3ce4f6=_0xff08f,{sheetName:_0x1ada25,range:_0xdd0404,unitId:_0x205bc3}=_0x376aec,_0x9dae3b=this[_0x3ce4f6(0x2d4)]['getUnit'](_0x205bc3);if(!_0x9dae3b)return console[_0x3ce4f6(0x2af)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x58787a=_0x9dae3b[_0x3ce4f6(0x223)](_0x1ada25),_0x229259=_0x58787a[_0x3ce4f6(0x253)](),{startRow:_0x138740,startColumn:_0x1c5e45,endRow:_0x1ac9d7,endColumn:_0xefff42}=this['getRangeStartEndInfo'](_0xdd0404,_0x58787a),_0x5865dc=_0x9dae3b[_0x3ce4f6(0xab)](),_0x3980a6=[],_0x217966=[],_0x49946b={};for(let _0x13e3e0=_0x138740;_0x13e3e0<=_0x1ac9d7;_0x13e3e0++){const _0x2afe2e=[];for(let _0x4f055e=_0x1c5e45;_0x4f055e<=_0xefff42;_0x4f055e++){const _0x213c20=_0x229259[_0x3ce4f6(0xee)](_0x13e3e0,_0x4f055e);_0x13e3e0===_0x138740?_0x3980a6[_0x3ce4f6(0xc1)](_0x213c20==null?null:String(_0x213c20['v'])):_0x2afe2e[_0x3ce4f6(0xc1)](this[_0x3ce4f6(0x29a)](_0x213c20,_0x5865dc,_0x49946b));}_0x217966[_0x3ce4f6(0xc1)](_0x2afe2e);}return{'header':_0x3980a6,'data':_0x217966};}[_0xff08f(0x137)](){const _0xa559c0=_0xff08f;return super[_0xa559c0(0x137)]();}[_0xff08f(0x111)](_0x42e224){const _0x2ac440=_0xff08f;super[_0x2ac440(0x111)](_0x42e224),this[_0x2ac440(0x1f1)]();}[_0xff08f(0x2ca)](){const _0x547e04=_0xff08f;super['dispose'](),this[_0x547e04(0x312)]={},this[_0x547e04(0x2b6)]=null;}}const Fi=_0x2ba89e=>{const _0x363129=_0xff08f,{targetCellInfo:_0x28de1c}=_0x2ba89e,{matrixCache:_0x5dc9fd,rangesCache:_0x5924b6}=Wo({'filter':_0x363129(0x216),'row':_0x363129(0x1a2),'column':_0x363129(0xb8),'values':_0x363129(0x2dd)},_0x28de1c),_0x1d57cb=new _0x3beae7();return _0x5dc9fd[_0x363129(0x187)]((_0x423cdb,_0x2d77bb,_0x517e2c)=>{const _0xe6e863=_0x363129;_0x1d57cb[_0xe6e863(0x17b)](_0x423cdb,_0x2d77bb,_0x517e2c);}),{'matrix':_0x1d57cb,'rangesCache':_0x5924b6};},st=_0x55b8bf=>{const _0x4a6fca=_0xff08f;let _0x4380ba;if(_0x55b8bf!=null&&_0x55b8bf['v']||(_0x55b8bf==null?void 0x0:_0x55b8bf['v'])===0x0){_0x4380ba||(_0x4380ba={});const _0x39254f=Ko(_0x55b8bf['v']);typeof _0x39254f==_0x4a6fca(0x2b1)?_0x4380ba['t']=_0x18fcdd['NUMBER']:typeof _0x39254f==_0x4a6fca(0x1cf)&&(_0x4380ba['t']=_0x18fcdd[_0x4a6fca(0x2f8)]),_0x4380ba['v']=_0x39254f;}return _0x4380ba;},Ri=(_0x2fc1a7,_0x3faec4,_0x280833)=>{const _0x3b5853=_0xff08f;var _0x127c61,_0x494a43,_0x36b8de,_0x45aa28,_0x5a3b80,_0x29d32e,_0x374525,_0x414327,_0x45eb3e,_0x5e6c27,_0x1055bf,_0x60a392;const {cornerView:_0x3b4f0a,rowView:_0x1e8296,colView:_0x5ce5e1,dataView:_0x5a700a,pageView:_0x1a500b,formatMap:_0x2f540e}=_0x2fc1a7,{row:_0x873005,col:_0x287ad0}=_0x3faec4,_0x384cee=new _0x3beae7();let _0x5a9c8a=_0x873005,_0x424473=_0x287ad0;Object[_0x3b5853(0x237)](_0x1a500b[_0x3b5853(0x2fa)])['forEach'](_0x4daec8=>{const _0x509d04=_0x3b5853;Object['keys'](_0x1a500b[_0x509d04(0x2fa)][Number(_0x4daec8)])[_0x509d04(0x1b9)](_0x366f40=>{const _0x5eac4b=_0x509d04,_0x4bce49={..._0x1a500b['data'][Number(_0x4daec8)][Number(_0x366f40)]};_0x384cee[_0x5eac4b(0x17b)](Number(_0x4daec8)+_0x5a9c8a,Number(_0x366f40)+_0x424473,st(_0x4bce49));});});const _0x13c4ce=Object[_0x3b5853(0x237)](_0x1a500b['data'])['length'];_0x5a9c8a+=_0x13c4ce+(_0x13c4ce?It:0x0);const _0x66ca73=_0x3b4f0a[_0x3b5853(0x209)](),_0x4700bf=_0x3b4f0a[_0x3b5853(0xf8)]();for(let _0x44ef8c=0x0;_0x44ef8c<_0x66ca73;_0x44ef8c++)for(let _0xb98e93=0x0;_0xb98e93<_0x4700bf;_0xb98e93++){const _0x4abf45={...(_0x494a43=(_0x127c61=_0x3b4f0a[_0x3b5853(0x2fa)])==null?void 0x0:_0x127c61[_0x44ef8c])==null?void 0x0:_0x494a43[_0xb98e93]};_0x4abf45&&((_0x36b8de=_0x1e8296[_0x3b5853(0x25c)][_0xb98e93])!=null&&_0x36b8de[_0x3b5853(0x27e)])&&_0xb98e93===_0x4700bf-0x1&&_0x44ef8c===_0x66ca73-0x1&&(_0x4abf45['v']=''+_0x280833[_0x3b5853(0x201)]),_0x384cee['setValue'](_0x44ef8c+_0x5a9c8a,_0xb98e93+_0x424473,st(_0x4abf45));}_0x424473+=_0x4700bf;const _0x341ebd=_0x5ce5e1['headerMap'],_0xa22642=_0x5ce5e1[_0x3b5853(0x1f3)]()>=0x0?_0x5ce5e1[_0x3b5853(0x1f3)]()+0x1:0x0,_0x26aa58=_0x5ce5e1[_0x3b5853(0x22e)]()>=0x0?_0x5ce5e1['getLastCol']()+0x1:0x0;for(let _0x1a3cff=0x0;_0x1a3cff<_0x26aa58;_0x1a3cff++)for(let _0x150912=0x0;_0x150912<_0xa22642;_0x150912++){const _0x339e40={...(_0x5a3b80=(_0x45aa28=_0x5ce5e1[_0x3b5853(0x2fa)])==null?void 0x0:_0x45aa28[_0x1a3cff])==null?void 0x0:_0x5a3b80[_0x150912]},_0x21f74c=(_0x29d32e=_0x341ebd[_0x1a3cff])==null?void 0x0:_0x29d32e[_0x3b5853(0x195)],_0x587660=_0x2f540e[_0x21f74c];_0x339e40&&(_0x339e40['v']=ht(_0x339e40,_0x1a3cff===0x0&&((_0x374525=_0x5ce5e1[_0x3b5853(0x300)](_0x150912+0x1))==null?void 0x0:_0x374525[_0x3b5853(0x27e)]),_0x587660,_0x280833)),_0x384cee['setValue'](_0x1a3cff+_0x5a9c8a,_0x150912+_0x424473,st(_0x339e40));}_0x5a9c8a+=_0x66ca73;const _0x51f986=_0x1e8296[_0x3b5853(0x25c)],_0x4482d5=_0x1e8296[_0x3b5853(0x1f3)]()>=0x0?_0x1e8296[_0x3b5853(0x1f3)]()+0x1:0x0,_0x1ca69d=_0x1e8296[_0x3b5853(0x22e)]()>=0x0?_0x1e8296[_0x3b5853(0x22e)]()+0x1:0x0;for(let _0x24f070=0x0;_0x24f070<_0x4482d5;_0x24f070++)for(let _0x247fe1=0x0;_0x247fe1<_0x1ca69d;_0x247fe1++){const _0x12db1c={...(_0x45eb3e=(_0x414327=_0x1e8296['data'])==null?void 0x0:_0x414327[_0x24f070])==null?void 0x0:_0x45eb3e[_0x247fe1]},_0x11b57a=(_0x5e6c27=_0x51f986[_0x247fe1])==null?void 0x0:_0x5e6c27[_0x3b5853(0x195)],_0x42c826=_0x2f540e[_0x11b57a];_0x12db1c&&(_0x12db1c['v']=ht(_0x12db1c,!0x1,_0x42c826,_0x280833)),_0x384cee[_0x3b5853(0x17b)](_0x24f070+_0x5a9c8a,_0x247fe1+_0x287ad0,st(_0x12db1c));}const _0x228ce7=_0x5a700a['getRowCount'](),_0xdfcd81=_0x5a700a[_0x3b5853(0xf8)]();for(let _0x56eaab=0x0;_0x56eaab<_0x228ce7;_0x56eaab++)for(let _0x5e2295=0x0;_0x5e2295<_0xdfcd81;_0x5e2295++){const _0x42ad3c={...(_0x60a392=(_0x1055bf=_0x5a700a[_0x3b5853(0x2fa)])==null?void 0x0:_0x1055bf[_0x56eaab])==null?void 0x0:_0x60a392[_0x5e2295]};_0x384cee['setValue'](_0x56eaab+_0x5a9c8a,_0x5e2295+_0x424473,st(_0x42ad3c));}return _0x384cee;},Di=_0x1d2fd7=>{const _0x1f6a06=_0xff08f,{view:_0x523f8d,targetCellInfo:_0x670e6d,isEmpty:_0x21c955,textInfo:_0x31c278}=_0x1d2fd7;if(_0x21c955)return Fi(_0x1d2fd7);const {pageView:_0x3335e7,cornerView:_0xd361fd,rowView:_0x59e835,colView:_0x103a28,dataView:_0xb25862}=_0x523f8d,_0x3dc816=ge(_0x670e6d,_0x3335e7,!0x0),_0xe180a0=_0x3335e7[_0x1f6a06(0x2bb)]>=0x0?_0x3335e7[_0x1f6a06(0x2bb)]+0x1:0x0,_0x283633=_0xd361fd[_0x1f6a06(0x209)](),_0x720866=_0xd361fd[_0x1f6a06(0xf8)](),_0x51c32d=_0x3dc816[_0x1f6a06(0x1a8)]>0x0?It:0x0,_0x585466=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d,'col':_0x670e6d['col']},_0xd361fd,!0x1,!0x1),_0x288ca7=ge({'row':_0x670e6d['row']+_0xe180a0+_0x51c32d+_0x283633,'col':_0x670e6d[_0x1f6a06(0x247)]},_0x59e835,!0x1,!0x0),_0x3b8fab=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d,'col':_0x670e6d['col']+_0x720866},_0x103a28,!0x1,!0x0),_0x2f670a=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d+_0x283633,'col':_0x670e6d[_0x1f6a06(0x247)]+_0x720866},_0xb25862,!0x1,!0x1),_0x28b9db={'rowRanges':_0x288ca7,'colRanges':_0x3b8fab,'cornerRanges':_0x585466,'dataRanges':_0x2f670a,'pageRanges':_0x3dc816};return{'matrix':Ri(_0x523f8d,_0x670e6d,_0x31c278),'rangesCache':_0x28b9db};};var Ni=Object[_0xff08f(0x1aa)],Ui=(_0x1be20e,_0x368b96,_0x4f4ae7,_0x5ac36d)=>{const _0xcfdd3f=_0xff08f;for(var _0x3ef9e0=_0x5ac36d>0x1?void 0x0:_0x5ac36d?Ni(_0x368b96,_0x4f4ae7):_0x368b96,_0x57701b=_0x1be20e[_0xcfdd3f(0x1a8)]-0x1,_0x3931eb;_0x57701b>=0x0;_0x57701b--)(_0x3931eb=_0x1be20e[_0x57701b])&&(_0x3ef9e0=_0x3931eb(_0x3ef9e0)||_0x3ef9e0);return _0x3ef9e0;},Ge=(_0x21859d,_0xc7861f)=>(_0x16e055,_0x4b6fa4)=>_0xc7861f(_0x16e055,_0x4b6fa4,_0x21859d);function _0x37bd(_0x38649,_0x65b83e){const _0x3d9df6=_0x3d9d();return _0x37bd=function(_0x37bdf0,_0x1c427c){_0x37bdf0=_0x37bdf0-0x8d;let _0x2abe8f=_0x3d9df6[_0x37bdf0];return _0x2abe8f;},_0x37bd(_0x38649,_0x65b83e);}let $=class extends _0x51d9e7{constructor(_0x4cb056,_0x5c6ca7,_0x26a14b,_0x189c56,_0x14f54e,_0x5d3b16){const _0x1a6f31=_0xff08f;super(),V(this,_0x1a6f31(0x20b),new Map()),V(this,'_pivotTableInstanceCache',new Map()),V(this,_0x1a6f31(0x2a2),new Map()),V(this,'_textInfo'),V(this,_0x1a6f31(0x19d),new _0x1086f6()),V(this,_0x1a6f31(0x2ee),this[_0x1a6f31(0x19d)][_0x1a6f31(0xe7)]()),V(this,'_viewData$',new _0x1086f6()),V(this,_0x1a6f31(0x164),this[_0x1a6f31(0x104)][_0x1a6f31(0xe7)]()),V(this,_0x1a6f31(0x2d0),new _0x1086f6()),V(this,'fieldsCollectionChange$',this[_0x1a6f31(0x2d0)][_0x1a6f31(0xe7)]()),V(this,_0x1a6f31(0x132),new Map()),V(this,'needSameDeleteModel',[]),V(this,_0x1a6f31(0x14d),new Map()),(this[_0x1a6f31(0x157)]=_0x4cb056,this[_0x1a6f31(0x2d4)]=_0x5c6ca7,this[_0x1a6f31(0xd7)]=_0x26a14b,this[_0x1a6f31(0x2e7)]=_0x189c56,this[_0x1a6f31(0x260)]=_0x14f54e,this['_resourceManagerService']=_0x5d3b16,this['_initSnapshot']());}[_0xff08f(0xa5)](){const _0x5cc06c=_0xff08f;return this[_0x5cc06c(0x167)]?this[_0x5cc06c(0x167)]:yi;}[_0xff08f(0x17a)](_0x1c5a8c){this['_textInfo']=_0x1c5a8c;}['handleMoveRange'](_0x246b25){const _0x3ea320=_0xff08f;var _0x4049a9;const {from:_0x39ee08,to:_0x52d92f,unitId:_0x30c95e,fromRange:_0x3273ef,toRange:_0x79b33d}=_0x246b25;if(_0x39ee08&&_0x52d92f){const _0x3af29a=this[_0x3ea320(0x23a)](_0x30c95e),_0x11ce82=this[_0x3ea320(0x20b)][_0x3ea320(0x235)](_0x30c95e),_0x3bfd3f=(_0x4049a9=this[_0x3ea320(0x2d4)]['getUnit'](_0x30c95e))==null?void 0x0:_0x4049a9['getSheetBySheetId'](_0x52d92f[_0x3ea320(0x174)]);if(!_0x11ce82||!_0x3bfd3f)return;const _0x38d5d6=_0x3bfd3f==null?void 0x0:_0x3bfd3f[_0x3ea320(0x2de)]();for(const [_0x1fc03e,_0x2171c1]of _0x11ce82['entries']())for(const [_0x46a04c,_0x3541c5]of _0x2171c1[_0x3ea320(0x1f4)]()){const {sourceRangeInfo:_0x23d1ab}=_0x3541c5;if(_0x23d1ab['unitId']===_0x30c95e&&_0x23d1ab[_0x3ea320(0x174)]===_0x39ee08[_0x3ea320(0x174)]&&_0x3356fe['contains'](_0x3273ef,_0x23d1ab[_0x3ea320(0x1ff)])){const _0x4615d3={'row':_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x2d2)]-_0x3273ef[_0x3ea320(0x2d2)],'col':_0x23d1ab['range'][_0x3ea320(0x136)]-_0x3273ef['startColumn']},_0x321403={'unitId':_0x30c95e,'subUnitId':_0x52d92f[_0x3ea320(0x174)],'sheetName':_0x38d5d6,'range':{'startRow':_0x79b33d[_0x3ea320(0x2d2)]+_0x4615d3[_0x3ea320(0x108)],'endRow':_0x79b33d[_0x3ea320(0x2d2)]+_0x4615d3[_0x3ea320(0x108)]+_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x1de)]-_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x2d2)],'startColumn':_0x79b33d[_0x3ea320(0x136)]+_0x4615d3[_0x3ea320(0x247)],'endColumn':_0x79b33d[_0x3ea320(0x136)]+_0x4615d3[_0x3ea320(0x247)]+_0x23d1ab[_0x3ea320(0x1ff)]['endColumn']-_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x136)]}};_0x3af29a[_0x3ea320(0x2ea)](_0x46a04c,_0x321403);const _0x2caeb5={..._0x3541c5,'sourceRangeInfo':_0x321403};this[_0x3ea320(0x124)](_0x30c95e,_0x52d92f[_0x3ea320(0x174)],_0x46a04c,_0x2caeb5),this[_0x3ea320(0x21e)]({'unitId':_0x30c95e,'token':_0x46a04c,'type':Be['update'],'oldSourceRangeInfo':_0x23d1ab,'dataRangeInfo':_0x321403,'targetCellInfo':_0x3541c5['targetCellInfo']}),this[_0x3ea320(0x254)]({'unitId':_0x30c95e,'subUnitId':_0x52d92f[_0x3ea320(0x174)],'oldSubUnitId':_0x1fc03e,'pivotTableId':_0x46a04c,'pivotTableConfig':_0x2caeb5,'collectionConfig':_0x3af29a[_0x3ea320(0x137)]()});}}}}['broadcastCollectionChange'](_0x52bae3){this['_collectionChange$']['next'](_0x52bae3);}[_0xff08f(0x23a)](_0x484163){const _0x5e509d=_0xff08f;let _0x4e080a=this[_0x5e509d(0x132)][_0x5e509d(0x235)](_0x484163);return _0x4e080a||(_0x4e080a=new _i(this,this[_0x5e509d(0x2d4)]),this['_dataFieldManagerCollection'][_0x5e509d(0x19f)](_0x484163,_0x4e080a)),_0x4e080a;}[_0xff08f(0x116)](_0x4120fb,_0x4831ae){const _0x1542d0=_0xff08f;return this[_0x1542d0(0x23a)](_0x4120fb)['collections'][_0x4831ae];}[_0xff08f(0x302)](_0x328663,_0x147de0,_0x384637){const _0x421549=_0xff08f;return this[_0x421549(0x23a)](_0x328663)['getUpdateRangeDeleteIds'](_0x147de0,_0x384637);}[_0xff08f(0x19b)](_0x343e85,_0x3c2f14){const _0x2530ee=_0xff08f;let _0x2a00e1=this[_0x2530ee(0x20b)]['get'](_0x343e85);_0x2a00e1||(_0x2a00e1=new Map(),this['_model']['set'](_0x343e85,_0x2a00e1));let _0x33827b=_0x2a00e1[_0x2530ee(0x235)](_0x3c2f14);return _0x33827b||(_0x33827b=new Map(),_0x2a00e1[_0x2530ee(0x19f)](_0x3c2f14,_0x33827b)),_0x33827b;}['_updateModelCache'](_0x4db9d1,_0x59e34c,_0x297082,_0x5765ad){this['_ensurePivotMap'](_0x4db9d1,_0x59e34c)['set'](_0x297082,_0x5765ad);}[_0xff08f(0x1bf)](_0x44869f,_0x50c3cb,_0x3bcae9){const _0x501408=_0xff08f;var _0x2d9373,_0x1e0739,_0x5e0849,_0x150294;((_0x1e0739=(_0x2d9373=this['_model']['get'](_0x44869f))==null?void 0x0:_0x2d9373[_0x501408(0x235)](_0x50c3cb))==null?void 0x0:_0x1e0739['get'](_0x3bcae9))&&((_0x150294=(_0x5e0849=this['_model'][_0x501408(0x235)](_0x44869f))==null?void 0x0:_0x5e0849[_0x501408(0x235)](_0x50c3cb))==null||_0x150294['delete'](_0x3bcae9));}[_0xff08f(0x1cc)](_0x2273b9,_0x22d9fa){this['_pivotTableInstanceCache']['set'](_0x2273b9,_0x22d9fa);}[_0xff08f(0x2d7)](_0x95ad54){const _0xfc2f69=_0xff08f;this[_0xfc2f69(0x12a)][_0xfc2f69(0x1e1)](_0x95ad54);}[_0xff08f(0x1ce)](_0x734120,_0x209bef){const _0x12e407=_0xff08f;let _0x37a877=this[_0x12e407(0x2a2)][_0x12e407(0x235)](_0x734120);_0x37a877||(_0x37a877=new Map(),this[_0x12e407(0x2a2)][_0x12e407(0x19f)](_0x734120,_0x37a877));let _0x34bce3=_0x37a877[_0x12e407(0x235)](_0x209bef);return _0x34bce3||(_0x34bce3=new Map(),_0x37a877[_0x12e407(0x19f)](_0x209bef,_0x34bce3)),_0x34bce3;}[_0xff08f(0x254)](_0xf69183){const _0x5c7b37=_0xff08f,{unitId:_0x26f569,subUnitId:_0x20661a,pivotTableId:_0x265291,pivotTableConfig:_0x51de4e,collectionConfig:_0x5324ee}=_0xf69183,_0x10b06f={'unitId':_0x26f569,'subUnitId':_0x20661a,'oldSubUnitId':_0x20661a,'pivotTableId':_0x265291,'pivotTableConfig':_0x51de4e,'collectionConfig':_0x5324ee};this[_0x5c7b37(0x260)][_0x5c7b37(0xe5)](co['id'],_0x10b06f,{'onlyLocal':!0x0});}[_0xff08f(0x1f8)](_0x1050cf,_0x376fd4,_0x32de40,_0x3b5d20,_0x519fac,_0x213ee9,_0x4d6a06,_0x1f53f2=!0x1){const _0x4f777a=_0xff08f;var _0x193f9b;this[_0x4f777a(0x260)][_0x4f777a(0xe5)](Dt['id'],{'single':{'unitId':_0x1050cf,'subUnitId':_0x376fd4,'type':_0x32de40,'pivotTableId':_0x3b5d20,'view':_0x519fac,'pivotConfig':_0x213ee9},'collectionConfig':{[_0x1050cf]:_0x4d6a06}},{'onlyLocal':!0x0});const _0xdaa0fa=!!((_0x193f9b=this[_0x4f777a(0x191)](_0x3b5d20))!=null&&_0x193f9b[_0x4f777a(0x234)]()),_0x4a03c4=this[_0x4f777a(0x215)](_0x1050cf,_0x376fd4,_0x3b5d20);_0x4a03c4&&this[_0x4f777a(0x10a)]({'view':_0x519fac,'pivotTableId':_0x3b5d20,'textInfo':this[_0x4f777a(0xa5)](),'isEmpty':_0xdaa0fa,'targetCellInfo':_0x4a03c4[_0x4f777a(0x177)]},_0x1f53f2);}[_0xff08f(0x10a)](_0x3c8dc3,_0x1d224b){const _0x30264e=_0xff08f,{targetCellInfo:_0x2c5d96,pivotTableId:_0xfe1a83}=_0x3c8dc3,{unitId:_0x1f1606,subUnitId:_0x3741eb}=_0x2c5d96,_0x6ea3d4=this[_0x30264e(0x1ce)](_0x1f1606,_0x3741eb),_0x556bfd=_0x6ea3d4[_0x30264e(0x235)](_0xfe1a83);let _0x478e60,_0x55a59e;_0x556bfd&&(_0x478e60=_0x556bfd[_0x30264e(0x2ab)],_0x55a59e=_0x556bfd[_0x30264e(0x20e)]);const {rangesCache:_0x33da62,matrix:_0x488239}=Di(_0x3c8dc3);_0x6ea3d4[_0x30264e(0x19f)](_0xfe1a83,{'rangeCache':_0x33da62,'matrix':_0x488239,'oldMatrix':_0x55a59e,'oldRangeCache':_0x478e60}),_0x1d224b||this[_0x30264e(0x104)][_0x30264e(0x16a)]({'unitId':_0x1f1606,'subUnitId':_0x3741eb,'pivotTableId':_0xfe1a83});}['addPivotTable'](_0x5ac366,_0x28731f,_0x1952a3,_0x13019d,_0x3c38ce){const _0x5615ce=_0xff08f;this['_updateModelCache'](_0x5ac366,_0x28731f,_0x1952a3,_0x3c38ce),this[_0x5615ce(0x1cc)](_0x1952a3,_0x13019d);}['removePivotTable'](_0x237612,_0x400b82,_0x5c9831){const _0x46ed5d=_0xff08f,_0x2ef8c4=this[_0x46ed5d(0x23a)](_0x237612);_0x2ef8c4[_0x46ed5d(0x2db)](_0x5c9831)[_0x46ed5d(0x1b9)](_0x5f34f8=>{_0x2ef8c4['deleteDataField'](_0x5f34f8);}),this[_0x46ed5d(0xbd)](_0x237612,_0x5c9831),this[_0x46ed5d(0x1bf)](_0x237612,_0x400b82,_0x5c9831),this[_0x46ed5d(0x2d7)](_0x5c9831);}[_0xff08f(0x21f)](_0xa18785,_0x42342d,_0x46e74a,_0x1c9476){const _0x3f5fee=_0xff08f;this[_0x3f5fee(0x124)](_0xa18785,_0x42342d,_0x46e74a,_0x1c9476);}[_0xff08f(0x215)](_0x57ffb9,_0x3f50a4,_0x3f14d1){const _0x137d76=_0xff08f;var _0x19950c,_0x490690;const _0x4ba8e1=(_0x490690=(_0x19950c=this[_0x137d76(0x20b)][_0x137d76(0x235)](_0x57ffb9))==null?void 0x0:_0x19950c[_0x137d76(0x235)](_0x3f50a4))==null?void 0x0:_0x490690[_0x137d76(0x235)](_0x3f14d1);if(_0x4ba8e1)return _0x4ba8e1;}['getPivotTableModelConfig'](_0x2ffff1,_0x1986e0,_0x34c897){const _0x3676dd=_0xff08f;var _0x7595cd,_0x46b4b8;const _0xd684dd=(_0x46b4b8=(_0x7595cd=this[_0x3676dd(0x20b)][_0x3676dd(0x235)](_0x2ffff1))==null?void 0x0:_0x7595cd[_0x3676dd(0x235)](_0x1986e0))==null?void 0x0:_0x46b4b8[_0x3676dd(0x235)](_0x34c897);if(_0xd684dd)return _0xd684dd[_0x3676dd(0x27b)];}['getPivotTableInstance'](_0x5211c6){const _0x58678f=_0xff08f;return this[_0x58678f(0x12a)]['get'](_0x5211c6);}[_0xff08f(0x2d5)](_0x387eea){const _0x32d56c=_0xff08f;this['_model'][_0x32d56c(0x1e1)](_0x387eea);const _0x55af21=this[_0x32d56c(0x132)]['get'](_0x387eea);_0x55af21&&(_0x55af21[_0x32d56c(0x2ca)](),this[_0x32d56c(0x132)][_0x32d56c(0x1e1)](_0x387eea)),this[_0x32d56c(0x2a2)][_0x32d56c(0x1e1)](_0x387eea),this[_0x32d56c(0x115)]['forEach'](_0x404da2=>{const _0x57389c=_0x32d56c;_0x404da2[_0x57389c(0x2d5)](_0x387eea);});}[_0xff08f(0xef)](_0x57a8ea,_0x1012cf,_0x9efd49,_0x5b69f6){const _0xec0009=_0xff08f;return this[_0xec0009(0x23a)](_0x9efd49[_0xec0009(0xad)])[_0xec0009(0xef)](_0x57a8ea,_0x1012cf,_0x9efd49,_0x5b69f6);}[_0xff08f(0xd6)](_0x40459c){const _0x31ea38=_0xff08f;return this['getDataFieldManager'](_0x40459c['unitId'])[_0x31ea38(0xd6)](_0x40459c);}[_0xff08f(0x15d)](_0x5cf318,_0x441e31,_0x5ec422){this['getDataFieldManager'](_0x5ec422['unitId'])['refreshData'](_0x5cf318,_0x441e31,_0x5ec422);}['removeDataField'](_0x562b46,_0x2e6401){this['getDataFieldManager'](_0x562b46)['deleteDataField'](_0x2e6401);}['removeCollections'](_0x462621,_0x2e5bf2){const _0xd53337=_0xff08f;this['getDataFieldManager'](_0x462621)[_0xd53337(0x133)](_0x2e5bf2);}[_0xff08f(0x17c)](_0x131d8a,_0x2938c5){const _0x16698c=_0xff08f;var _0x4ffc69;return(_0x4ffc69=this[_0x16698c(0x20b)]['get'](_0x131d8a))==null?void 0x0:_0x4ffc69[_0x16698c(0x235)](_0x2938c5);}[_0xff08f(0xe9)](_0xf0af19){const _0x1c5995=_0xff08f;for(const [_0x581a70,_0x51db61]of this[_0x1c5995(0x20b)][_0x1c5995(0x1f4)]())for(const [_0x1095af,_0x3ba12f]of _0x51db61[_0x1c5995(0x1f4)]())if(_0x3ba12f[_0x1c5995(0x1bd)](_0xf0af19))return{'unitId':_0x581a70,'subUnitId':_0x1095af};return null;}[_0xff08f(0x1b0)](_0x5b723b,_0x23327c,_0x2060b5,_0x243e5b){const _0x49228b=_0xff08f,_0x31a3fa=this[_0x49228b(0x1ce)](_0x5b723b,_0x23327c);_0x243e5b?_0x31a3fa[_0x49228b(0x19f)](_0x2060b5,_0x243e5b):_0x31a3fa[_0x49228b(0x1e1)](_0x2060b5),this[_0x49228b(0x104)]['next']({'unitId':_0x5b723b,'subUnitId':_0x23327c,'pivotTableId':_0x2060b5});}[_0xff08f(0x2ca)](){const _0x3b122d=_0xff08f;super[_0x3b122d(0x2ca)]();}['getViewData'](_0x46aeee,_0xc99409,_0x32beee){const _0x4bed37=_0xff08f;var _0x6c49d2,_0x5c536f;const _0x10ecce=(_0x5c536f=(_0x6c49d2=this['_viewData'][_0x4bed37(0x235)](_0x46aeee))==null?void 0x0:_0x6c49d2[_0x4bed37(0x235)](_0xc99409))==null?void 0x0:_0x5c536f['get'](_0x32beee);return _0x10ecce||null;}[_0xff08f(0x2cb)](_0x61cabe){const _0x318b71=_0xff08f;this[_0x318b71(0x219)](_0x61cabe);}[_0xff08f(0x219)](_0x3c6968){const _0x4c913b=_0xff08f,{token:_0x252fb6,unitId:_0x9936dd,subUnitId:_0xd77990}=_0x3c6968,_0x41c97e=_0x9936dd+'-'+_0xd77990+'-'+_0x252fb6;this[_0x4c913b(0x14d)][_0x4c913b(0x235)](_0x41c97e)&&clearTimeout(this[_0x4c913b(0x14d)]['get'](_0x41c97e));const _0x5087fb=setTimeout(()=>{const _0x185fda=_0x4c913b;this['queryDirtyPivotTable'](_0x3c6968),this['_queryingMap'][_0x185fda(0x1e1)](_0x41c97e);},Ti);this['_queryingMap'][_0x4c913b(0x19f)](_0x41c97e,_0x5087fb);}['queryDirtyPivotTable'](_0x3d5373){const _0x3f38a7=_0xff08f,{unitId:_0x1ee0f1,subUnitId:_0x26cc6f,token:_0x1eccfd,type:_0x53d0a4,pivotConfig:_0x10bfa7}=_0x3d5373,_0x4b7b4b=this[_0x3f38a7(0x191)](_0x1eccfd),_0xf069a7=_0x4b7b4b==null?void 0x0:_0x4b7b4b['query'](),_0x42a339=_0x10bfa7!=null?_0x10bfa7:this[_0x3f38a7(0x215)](_0x1ee0f1,_0x26cc6f,_0x1eccfd);_0x42a339&&(_0x42a339['isEmpty']=!!(_0x4b7b4b!=null&&_0x4b7b4b[_0x3f38a7(0x234)]())),(_0xf069a7||_0x53d0a4===K['Delete'])&&this[_0x3f38a7(0x1f8)](_0x1ee0f1,_0x26cc6f,_0x53d0a4,_0x1eccfd,_0xf069a7,_0x42a339,this['getDataFieldManager'](_0x1ee0f1)[_0x3f38a7(0x137)]());}['toJSON'](_0x2ffe94){const _0x112ecd=_0xff08f,_0x5ed27a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x112ecd(0x23a)](_0x2ffe94)&&(_0x5ed27a[_0x112ecd(0x20f)][_0x2ffe94]=this[_0x112ecd(0x23a)](_0x2ffe94)['toJSON']()),this['_model']['get'](_0x2ffe94)){_0x5ed27a[_0x112ecd(0x110)][_0x2ffe94]={};const _0xfc85c6=this['_model'][_0x112ecd(0x235)](_0x2ffe94);_0xfc85c6!=null&&_0xfc85c6['size']&&[..._0xfc85c6[_0x112ecd(0x237)]()]['forEach'](_0xe38532=>{const _0x22baf1=_0x112ecd,_0x158d68=_0xfc85c6[_0x22baf1(0x235)](_0xe38532);_0x158d68!=null&&_0x158d68[_0x22baf1(0x129)]&&(_0x5ed27a['pivotTableConfigs'][_0x2ffe94][_0xe38532]={},[..._0x158d68['keys']()][_0x22baf1(0x1b9)](_0x24db5a=>{const _0x3ac267=_0x22baf1,_0x2e2618=_0x158d68[_0x3ac267(0x235)](_0x24db5a);_0x2e2618&&(_0x5ed27a['pivotTableConfigs'][_0x2ffe94][_0xe38532][_0x24db5a]=_0x2e2618);}));});}return _0x5ed27a;}[_0xff08f(0x111)](_0x1112bd){const _0x19bd71=_0xff08f;var _0x2e0a7f;const {dataFieldManagerConfig:_0x2ad03a,pivotTableConfigs:_0x21d90b}=_0x1112bd;_0x2ad03a&&Object[_0x19bd71(0x237)](_0x2ad03a)['forEach'](_0x2716ee=>{const _0x2bb4a1=_0x19bd71;this[_0x2bb4a1(0x23a)](_0x2716ee)['fromJSON'](_0x2ad03a[_0x2716ee]);});const _0x3cad27=[];if(_0x21d90b){const _0x1b4e3a=(_0x2e0a7f=this[_0x19bd71(0x157)][_0x19bd71(0x235)](_0x56c73b)[_0x19bd71(0x181)](_0x1e231c))!=null?_0x2e0a7f:{},{ls:_0x2c2544,pbk:_0x2df035}=_0x1b4e3a,_0x3b6536=go(so,_0x2c2544,_0x2df035)['count'];Object[_0x19bd71(0x237)](_0x21d90b)['forEach'](_0x127674=>{const _0x156959=_0x19bd71;let _0x62ba07=0x0;const _0x59e413=_0x21d90b[_0x127674];Object[_0x156959(0x237)](_0x59e413)[_0x156959(0x1b9)](_0x2f519d=>{const _0x4bbdfb=_0x156959,_0x4e10c2=_0x59e413[_0x2f519d];Object[_0x4bbdfb(0x237)](_0x4e10c2)['forEach'](_0x1659de=>{const _0x1896b3=_0x4bbdfb,_0x59facf=_0x4e10c2[_0x1659de];if(_0x59facf){if(_0x62ba07>=_0x3b6536)return;_0x62ba07++;const _0x457745=this[_0x1896b3(0x23a)](_0x127674),_0x1b57e6=_0x457745[_0x1896b3(0x193)][_0x1659de],_0x138099=_0x1b57e6[_0x1896b3(0xcf)]();let _0x2f3cfa=0x0;const _0xb62832=[];for(const _0x59bb1d of _0x138099){const _0x271fa8=_0x1b57e6[_0x1896b3(0x25a)](_0x59bb1d);if(_0x28b357(_0x271fa8)){const _0x55f0d8=_0x271fa8[_0x1896b3(0x279)](),_0x4ad06c=_0x1b57e6[_0x1896b3(0x25a)](_0x55f0d8);_0x4ad06c&&_0xb62832[_0x1896b3(0xc1)]([_0x271fa8,_0x4ad06c]);continue;}_0x457745[_0x1896b3(0x233)](_0x59bb1d,_0x59facf[_0x1896b3(0x178)],_0x2f3cfa),_0x2f3cfa++;}_0xb62832[_0x1896b3(0x1b9)](([_0xfd7970,_0x9efc3])=>{const _0x2c797d=_0x1896b3;_0xfd7970[_0x2c797d(0x2a1)](_0x9efc3);});const _0x109d24=new _0x55f99e(_0x1b57e6);_0x109d24['fromJSON'](_0x59facf[_0x1896b3(0x27b)]),this[_0x1896b3(0x2ac)](_0x127674,_0x2f519d,_0x1659de,_0x109d24,_0x59facf);const _0x4e803f=_0x109d24[_0x1896b3(0x128)]();_0x3cad27[_0x1896b3(0xc1)]({'unitId':_0x127674,'subUnitId':_0x2f519d,'pivotTableId':_0x1659de,'view':_0x4e803f['toJSON'](),'pivotConfig':_0x59facf,'type':K[_0x1896b3(0xf1)]});const _0x495353=!!_0x109d24[_0x1896b3(0x234)](),_0xf6b9d6={'view':_0x4e803f,'pivotTableId':_0x1659de,'textInfo':this[_0x1896b3(0xa5)](),'isEmpty':_0x495353,'targetCellInfo':_0x59facf['targetCellInfo']};this['updateViewData'](_0xf6b9d6,!0x1);}});});});}_0x2ad03a&&Object[_0x19bd71(0x237)](_0x2ad03a)['forEach'](_0x3e3200=>{const _0x3a523d=_0x19bd71,_0x4bd1b2=this[_0x3a523d(0x23a)](_0x3e3200);this['_fieldsCollectionChange$'][_0x3a523d(0x16a)](_0x4bd1b2[_0x3a523d(0x193)]);}),this['_commandService'][_0x19bd71(0xe5)](Dt['id'],{'batch':_0x3cad27,'collectionConfig':_0x2ad03a},{'onlyLocal':!0x0});}[_0xff08f(0x2b0)](){const _0x267ed3=_0xff08f;this[_0x267ed3(0x1ab)](this['_resourceManagerService'][_0x267ed3(0x113)]({'toJson':_0x2045b5=>JSON[_0x267ed3(0x16c)](this[_0x267ed3(0x137)](_0x2045b5)),'parseJson':_0xf676f0=>{if(!_0xf676f0)return{};try{return JSON['parse'](_0xf676f0);}catch{return{};}},'businesses':[_0x534b47[_0x267ed3(0x288)]],'pluginName':ao,'onLoad':(_0x474d64,_0x135e1a)=>{const _0x98217d=_0x267ed3;this[_0x98217d(0x111)](_0x135e1a);},'onUnLoad':_0x3d387d=>{const _0x241f51=_0x267ed3;this[_0x241f51(0x2d5)](_0x3d387d);}}));}};$=Ui([Ge(0x0,_0x351ec8(_0x8ab5d1)),Ge(0x1,_0x5838cd),Ge(0x2,_0x351ec8(_0x3f0061)),Ge(0x3,_0x56c73b),Ge(0x4,_0x596dde),Ge(0x5,_0x351ec8(_0x18a6b3))],$);const Vi={0x0:{0x0:{'v':_0xff08f(0x251),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0xff08f(0x29c),'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':'row','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0xff08f(0x293),'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':[]},Wo=(_0x562fc4,_0x4c59cb)=>{const _0x41f717=_0xff08f,_0x2fd2e6=new _0x3beae7(),_0x30c16d=new _0x3beae7(Vi),{row:_0xc5897b,col:_0x76ada0}=_0x4c59cb;_0x30c16d[_0x41f717(0x187)]((_0x1dd12c,_0x34bae0,_0xd8b6c3)=>{const _0x1698bf=_0x41f717;let _0x352f96='';_0xd8b6c3['v']===_0x1698bf(0x251)?_0x352f96=_0x562fc4[_0x1698bf(0x251)]:_0xd8b6c3['v']==='row'?_0x352f96=_0x562fc4['row']:_0xd8b6c3['v']===_0x1698bf(0x29c)?_0x352f96=_0x562fc4[_0x1698bf(0x29c)]:_0xd8b6c3['v']===_0x1698bf(0x293)&&(_0x352f96=_0x562fc4[_0x1698bf(0x293)]),_0x2fd2e6['setValue'](_0x1dd12c+_0xc5897b,_0x34bae0+_0x76ada0,{..._0xd8b6c3,'v':_0x352f96});});const _0x2054e0=_0x336a3b['deepClone'](Bt);return Object[_0x41f717(0x237)](Bt)[_0x41f717(0x1b9)](_0x2d5f8f=>{const _0x3fe1e2=_0x41f717;_0x2054e0[_0x2d5f8f]=Bt[_0x2d5f8f][_0x3fe1e2(0x207)](_0x4f1b86=>({..._0x4f1b86,'startRow':_0x4f1b86['startRow']+_0xc5897b,'endRow':_0x4f1b86['endRow']+_0xc5897b,'startColumn':_0x4f1b86[_0x3fe1e2(0x136)]+_0x76ada0,'endColumn':_0x4f1b86[_0x3fe1e2(0x1fe)]+_0x76ada0}));}),{'matrixCache':_0x2fd2e6,'rangesCache':_0x2054e0};};function xi(_0xb85f4d,_0x46e338){const _0x3f588e=_0xff08f;let _0x48ffa7='';const _0x3d0ca6=this[_0x3f588e(0xa5)]();switch(_0x46e338){case _0x4b7c50[_0x3f588e(0xaa)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0xeb)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0xcc)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x280)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x218)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x2da)]+_0xb85f4d;break;case _0x4b7c50['max']:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x2dc)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x222)]:_0x48ffa7=_0x3d0ca6['sheets-pivot.minName']+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x228)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x244)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x270)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x21b)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x310)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0xa1)]+_0xb85f4d;break;case _0x4b7c50['sum']:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x121)]+_0xb85f4d;break;case _0x4b7c50['var']:_0x48ffa7=_0x3d0ca6['sheets-pivot.varName']+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x19a)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x117)]+_0xb85f4d;break;default:_0x48ffa7=_0xb85f4d;break;}return _0x48ffa7;}function Ei(_0x3d7229,_0x3689d1,_0x30d754,_0x2c9361,_0x5cfdae){const _0xe88e30=_0xff08f;var _0x429bda,_0x3d3fbf,_0x398c98,_0x1948f2,_0xba8528;const _0x2299da=_0x1fea7f(_0x3d7229,_0x3689d1),{rangesInfo:_0xbb3ac8,areaInfo:_0x2834a0,headerMap:_0x4ed8d0}=_0x5cfdae;if(!_0xbb3ac8||!_0x2834a0||!_0x4ed8d0)return;const _0x5c3856=Object['keys'](_0xbb3ac8)[_0xe88e30(0x256)](_0x57ccb3=>_0xbb3ac8[_0x57ccb3][_0xe88e30(0x12c)](_0x41ddb5=>_0x3356fe[_0xe88e30(0x291)](_0x41ddb5,_0x2299da))),_0x1cb8ed=_0x2834a0;let _0x43fad5,_0x402c63,_0x2d476d;if(_0x5c3856==='rowRanges')_0x43fad5=(_0x429bda=_0x1cb8ed==null?void 0x0:_0x1cb8ed[_0xe88e30(0x1a6)])==null?void 0x0:_0x429bda[_0x3d7229],_0x402c63=(_0x3d3fbf=_0x4ed8d0==null?void 0x0:_0x4ed8d0[_0xe88e30(0x2f5)])==null?void 0x0:_0x3d3fbf[_0x3689d1],_0x2d476d=_0x402c63==null?void 0x0:_0x402c63['tableFieldId'];else{if(_0x5c3856===_0xe88e30(0x1c7))_0x43fad5=(_0x398c98=_0x1cb8ed==null?void 0x0:_0x1cb8ed[_0xe88e30(0x2e4)])==null?void 0x0:_0x398c98[_0x3689d1],_0x402c63=(_0x1948f2=_0x4ed8d0[_0xe88e30(0xcb)])==null?void 0x0:_0x1948f2[_0x3d7229+0x1+_0x3689d1-_0xbb3ac8['colRanges'][0x0][_0xe88e30(0x136)]],_0x2d476d=_0x402c63==null?void 0x0:_0x402c63[_0xe88e30(0x195)];else{if(_0x5c3856===_0xe88e30(0x2c5))_0x43fad5=(_0xba8528=_0x1cb8ed==null?void 0x0:_0x1cb8ed['cornerInfo'])==null?void 0x0:_0xba8528[_0x3689d1],_0x2d476d=_0x43fad5==null?void 0x0:_0x43fad5[_0xe88e30(0x195)];else{if(_0x5c3856===_0xe88e30(0x225)){const _0x422072=_0x30d754==null?void 0x0:_0x30d754['fi'];_0x422072!==void 0x0&&(_0x2d476d=_0x2c9361[_0xe88e30(0x94)](_0x422072));}}}}return{'filterId':_0x2d476d,'info':_0x43fad5,'data':_0x30d754,'headerInfo':_0x402c63};}function Oi(_0xf6b5ff,_0x2b2d8e,_0xd6f1e0){const _0x24135f=_0xff08f,_0x361da1=_0xf6b5ff[_0x24135f(0x149)],_0x37b351=_0x361da1[_0x24135f(0xcf)](),_0x415bfc=new Set();_0xf6b5ff['iterateField'](_0x21e059=>{const _0xcdc930=_0x24135f;_0x415bfc['add'](_0x21e059[_0xcdc930(0x144)]);});const _0x224421=_0x37b351[_0x24135f(0x207)](_0x4745b3=>{const _0x4eb267=_0x24135f,_0x115ba4=_0x361da1[_0x4eb267(0x25a)](_0x4745b3);return{'checked':_0x415bfc['has'](_0x4745b3),'dataFieldId':_0x115ba4['id'],'id':_0x115ba4['id'],'name':_0x361da1['getDisplayName'](_0x115ba4['id']),'type':_0x115ba4[_0x4eb267(0x176)](),'pivotTableId':_0x2b2d8e};}),_0x1c9fbb=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x1a2)],_0x4ea24e=>{const _0x2a24f5=_0x24135f;_0x1c9fbb[_0x2a24f5(0xc1)]({'dataFieldId':_0x4ea24e[_0x2a24f5(0x144)],'tableFieldId':_0x4ea24e['getId'](),'displayName':_0x4ea24e[_0x2a24f5(0x14c)]()});});const _0x253180=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0xb8)],_0x3179dc=>{const _0x222684=_0x24135f;_0x253180[_0x222684(0xc1)]({'dataFieldId':_0x3179dc[_0x222684(0x144)],'tableFieldId':_0x3179dc[_0x222684(0x91)](),'displayName':_0x3179dc[_0x222684(0x14c)]()});});const _0x23efe4=[];if(_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x24e)],_0x5bd954=>{const _0x5649af=_0x24135f;_0x23efe4['push']({'dataFieldId':_0x5bd954[_0x5649af(0x144)],'tableFieldId':_0x5bd954[_0x5649af(0x91)](),'displayName':_0x5bd954[_0x5649af(0x14c)](),'format':_0x5bd954[_0x5649af(0xf2)](),'subTotalType':_0x5bd954[_0x5649af(0x106)]()});}),_0x23efe4['length']>0x1){const _0x13a1c4=_0xf6b5ff['getValueIndex']();(_0xf6b5ff['isColMultiMeasure']()?_0x253180:_0x1c9fbb)[_0x24135f(0x316)](_0x13a1c4,0x0,{'dataFieldId':'','tableFieldId':_0x24135f(0x205),'displayName':_0x24135f(0x2b8)});}const _0x58c993=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x216)],_0x35c75e=>{const _0x3af394=_0x24135f;_0x58c993[_0x3af394(0xc1)]({'dataFieldId':_0x35c75e['dataFieldId'],'tableFieldId':_0x35c75e[_0x3af394(0x91)](),'displayName':_0x35c75e[_0x3af394(0x14c)]()});});const _0x55cdfb=_0xd6f1e0['sourceRangeInfo'];return{'sourceList':_0x224421,'sourceRange':_0x55cdfb,'rowFields':_0x1c9fbb,'columnFields':_0x253180,'valueFields':_0x23efe4,'filterFields':_0x58c993,'positionInfo':_0xd6f1e0[_0x24135f(0x177)]};}function fo(_0x534f6e,_0x4fc33e,_0x4e792e='',_0x486f9c={}){const _0x53f36d=_0xff08f,_0x228b23=_0x534f6e[_0x53f36d(0x235)](_0x1ca3ab);for(const _0x32b366 in _0x4fc33e)if(Object[_0x53f36d(0x23b)][_0x53f36d(0x186)]['call'](_0x4fc33e,_0x32b366)){const _0x4108ab=_0x4e792e?_0x4e792e+'.'+_0x32b366:_0x32b366;typeof _0x4fc33e[_0x32b366]==_0x53f36d(0x2f7)&&_0x4fc33e[_0x32b366]!==null&&!Array['isArray'](_0x4fc33e[_0x32b366])?fo(_0x534f6e,_0x4fc33e[_0x32b366],_0x4108ab,_0x486f9c):_0x486f9c[_0x4108ab]=_0x228b23['t'](_0x4108ab);}return _0x486f9c;}const Kt=_0xdc7cd1=>{const _0x4f4578=_0xff08f;if(!_0xdc7cd1)return[];const {rowRanges:_0x2d8cd0,colRanges:_0x3a2337,cornerRanges:_0x48218e,dataRanges:_0x28b697,pageRanges:_0x570df6}=_0xdc7cd1,_0x350248=[..._0x3a2337,..._0x2d8cd0,..._0x28b697,..._0x48218e]['filter'](_0x2b1db4=>_0x2b1db4[_0x4f4578(0x2d2)]>=0x0&&_0x2b1db4[_0x4f4578(0x136)]>=0x0&&_0x2b1db4[_0x4f4578(0x1de)]>=0x0&&_0x2b1db4['endColumn']>=0x0);let _0x2d2e27=Number[_0x4f4578(0x1f2)],_0x4dbd2e=Number[_0x4f4578(0x13f)],_0x52a5dd=Number[_0x4f4578(0x1f2)],_0x8e9915=Number[_0x4f4578(0x13f)];for(let _0x3cbbdb=0x0;_0x3cbbdb<_0x350248['length'];_0x3cbbdb++)_0x2d2e27=Math[_0x4f4578(0x222)](_0x2d2e27,_0x350248[_0x3cbbdb][_0x4f4578(0x2d2)]),_0x4dbd2e=Math['max'](_0x4dbd2e,_0x350248[_0x3cbbdb][_0x4f4578(0x1de)]),_0x52a5dd=Math[_0x4f4578(0x222)](_0x52a5dd,_0x350248[_0x3cbbdb][_0x4f4578(0x136)]),_0x8e9915=Math[_0x4f4578(0x24c)](_0x8e9915,_0x350248[_0x3cbbdb]['endColumn']);return[..._0x570df6,{'startRow':_0x2d2e27,'endRow':_0x4dbd2e,'startColumn':_0x52a5dd,'endColumn':_0x8e9915}];};function Ai(_0x22ef13,_0x2269e3){const _0x246cd0=_0xff08f,_0x4d6e04=_0x2269e3[_0x246cd0(0x2bf)][_0x246cd0(0x1d7)],{pivotTableId:_0x1dd644,unitId:_0x1f4841,subUnitId:_0x16e5e1}=_0x2269e3;if(!_0x4d6e04)return;const _0x5ab6ac=_0x22ef13[_0x246cd0(0x235)]($),_0x96d4e6=_0x5ab6ac[_0x246cd0(0x191)](_0x1dd644),_0x5bef7e=_0x5ab6ac[_0x246cd0(0x215)](_0x1f4841,_0x16e5e1,_0x1dd644);if(!_0x96d4e6||!_0x5bef7e)return;const _0x5932e3=_0x96d4e6[_0x246cd0(0x314)](_0x4d6e04[_0x246cd0(0xf6)]);if(!(_0x5932e3!=null&&_0x5932e3[_0x246cd0(0x1a8)]))return;const _0x5b640b=_0x5bef7e[_0x246cd0(0x178)],{unitId:_0x38e0b8,subUnitId:_0x464c1b,range:_0x5cf973}=_0x5b640b;let _0x730ec=0x0;const _0x5dc5e6=_0x96d4e6[_0x246cd0(0x149)]['getFieldIds']()[_0x246cd0(0x15f)]((_0x235f22,_0x39a7c8)=>{const _0x25ca57=_0x246cd0;var _0x3a1488;const _0x119898=(_0x3a1488=_0x96d4e6[_0x25ca57(0x261)](_0x39a7c8))==null?void 0x0:_0x3a1488[_0x25ca57(0x28a)]();return _0x119898&&(_0x235f22[String(_0x730ec)]=_0x119898),_0x730ec++,_0x235f22;},{});return{'indexes':_0x5932e3,'range':_0x5cf973,'sourceUnitId':_0x38e0b8,'sourceSubUnitId':_0x464c1b,'formatMap':_0x5dc5e6};}function Go(_0x474a7a,_0x59900a){const _0x4a12be=_0xff08f;if(!_0x474a7a||!_0x59900a)return!0x0;const _0x8bb6bc=_0x3aa322(jo,Jo),_0x243535=new Function(_0x4a12be(0x29f)+_0x8bb6bc)()(_0x474a7a,_0x59900a)[_0x4a12be(0x1ee)],_0x7a5d21=_0x4760d5(_0x243535,'sf',ko);return!((_0x243535==null?void 0x0:_0x243535['rt'])===_0x1f2530[_0x4a12be(0xd2)]&&!_0x7a5d21);}function go(_0xecd9dd,_0x5bbcb8,_0x39e5d9){const _0x59b9e1=_0xff08f,_0x6143ce={'count':_0xecd9dd,'timeValid':!0x1};if(!_0x5bbcb8||!_0x39e5d9)return _0x6143ce;const _0x15f67e=_0x3aa322(jo,Jo),_0x4fc8be=new Function(_0x59b9e1(0x29f)+_0x15f67e)()(_0x5bbcb8,_0x39e5d9);if(_0x4fc8be!=null&&_0x4fc8be[_0x59b9e1(0x27d)]){const _0x158e38=_0x4fc8be['message'],_0x5613e8=_0x4760d5(_0x158e38,'sf',ko);return{'count':_0x55b602(_0x158e38,_0x5613e8,'ptn',_0xecd9dd,_0xecd9dd,0x0),'timeValid':_0x5613e8};}return _0x6143ce;}function Ho(_0x5180b6,_0xe4fb1,_0x440c0f,_0x56d81b){const _0x4ca1da=_0xff08f,_0x266ddc={'subUnitId':_0x440c0f,'unitId':_0xe4fb1,'cellValue':_0x46ecc8(_0x56d81b)},_0x18a662=_0x4bb5a0(_0x5180b6,_0x266ddc);let _0x359dbf=!0x1;return new _0x3beae7(_0x18a662[_0x4ca1da(0x9d)])[_0x4ca1da(0x187)]((_0x639e34,_0x5f37e8,_0x3a7ca0)=>{const _0x4becd5=_0x4ca1da;if(!_0x359dbf&&_0x3a7ca0&&(_0x3a7ca0[_0x4becd5(0x25f)]||_0x3a7ca0['f']||_0x3a7ca0['p']||_0x3a7ca0['s']||_0x3a7ca0['si']||_0x3a7ca0['t']||_0x3a7ca0['v']))return _0x359dbf=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x540f88['id'],'params':_0x18a662},'setRangeValueRedoMutation':{'id':_0x540f88['id'],'params':_0x266ddc},'shouldClear':_0x359dbf};}function ki(_0x5be1f7){const {row:_0x4de20f,col:_0x5d1396}=_0x5be1f7,_0x2765dd={'startRow':_0x4de20f,'endRow':_0x4de20f,'startColumn':_0x5d1396,'endColumn':_0x5d1396},_0x52f59f={'startRow':_0x4de20f+0x2,'endRow':_0x4de20f+0xe,'startColumn':_0x5d1396,'endColumn':_0x5d1396+0x6};return[_0x2765dd,_0x52f59f];}function Li(_0x108ddf,_0x3d5ac0,_0xfb49fe){const _0x3ac3c5=_0xff08f,{cornerView:_0x21af00,rowView:_0x1284cc,colView:_0x5d3618,pageView:_0x17d63a}=_0x108ddf,{row:_0x4f5f3f,col:_0x3b7daa}=_0x3d5ac0;if(_0xfb49fe)return{'rowCount':bi+_0x4f5f3f,'colCount':Si+_0x3b7daa};const _0xb61975=_0x17d63a[_0x3ac3c5(0x2bb)]>-0x1?_0x17d63a[_0x3ac3c5(0x2bb)]+0x1:0x0,_0x1f3bc1=_0x17d63a[_0x3ac3c5(0x1a9)]>-0x1?_0x17d63a[_0x3ac3c5(0x1a9)]:0x0,_0x472e10=_0x4f5f3f+_0xb61975+(_0xb61975?0x1:0x0)+_0x21af00[_0x3ac3c5(0x2e0)]+_0x1284cc[_0x3ac3c5(0x2e0)],_0x41711e=_0x3b7daa+_0x1f3bc1,_0x4c44bd=_0x3b7daa+_0x21af00[_0x3ac3c5(0x92)]+_0x5d3618[_0x3ac3c5(0x92)],_0xc1dcf2=Math[_0x3ac3c5(0x24c)](_0x41711e,_0x4c44bd);return{'rowCount':_0x472e10,'colCount':_0xc1dcf2};}function we(_0x5814aa,_0xc6d691,_0x14c7db,_0x102f17){const _0x3e67da=_0xff08f,{row:_0x1fcee9,col:_0x200871,unitId:_0x448045,subUnitId:_0x10368c}=_0x14c7db,_0x25b2e1=Li(_0xc6d691,{'row':_0x1fcee9,'col':_0x200871},_0x102f17),_0x2204ef=_0x5814aa[_0x3e67da(0x235)](_0x5838cd),_0x5514e0=_0x32bc51(_0x2204ef,{'unitId':_0x448045,'subUnitId':_0x10368c}),_0x1eb2d3=[],_0x2e2537=[];if(!_0x5514e0)return{'undos':_0x2e2537,'redos':_0x1eb2d3};const {worksheet:_0x58878c}=_0x5514e0,_0x248b6d=_0x58878c[_0x3e67da(0x209)](),_0x3e37e1=_0x58878c[_0x3e67da(0x1a7)]();return _0x248b6d<_0x25b2e1[_0x3e67da(0x2e0)]&&(_0x1eb2d3[_0x3e67da(0xc1)]({'id':_0x93e205['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':_0x248b6d,'endRow':_0x25b2e1[_0x3e67da(0x2e0)]-0x1,'startColumn':0x0,'endColumn':_0x3e37e1-0x1}}}),_0x2e2537['push']({'id':_0x435802['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':_0x248b6d,'endRow':_0x25b2e1['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e37e1-0x1}}})),_0x3e37e1<_0x25b2e1[_0x3e67da(0x92)]&&(_0x1eb2d3['push']({'id':_0x2f85c7['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':0x0,'endRow':_0x248b6d-0x1,'startColumn':_0x3e37e1,'endColumn':_0x25b2e1[_0x3e67da(0x92)]-0x1}}}),_0x2e2537[_0x3e67da(0xc1)]({'id':_0x280ed9['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':0x0,'endRow':_0x248b6d-0x1,'startColumn':_0x3e37e1,'endColumn':_0x25b2e1['colCount']-0x1}}})),{'undos':_0x2e2537,'redos':_0x1eb2d3};}function Bi(_0x25ce52){const _0x478a2c=_0xff08f;let _0x9ecd54=0x0;for(let _0x2baf00=0x0;_0x2baf00<_0x25ce52[_0x478a2c(0x1a8)];_0x2baf00++){const _0x3a61a8=_0x25ce52[_0x478a2c(0xb9)](_0x2baf00);_0x3a61a8>=0x4e00&&_0x3a61a8<=0x9fff||_0x3a61a8>=0x3000&&_0x3a61a8<=0x303f||_0x3a61a8>=0xff00&&_0x3a61a8<=0xffef?_0x9ecd54+=0x2:_0x9ecd54+=0x1;}return _0x9ecd54;}function Po(_0x15a690,_0x51007b,_0x455662,_0x4283bd){const _0x556948=_0xff08f;var _0x4246b4,_0x33e20b,_0x38bc71,_0x41221c;const {rowCount:_0x3a1a64,colCount:_0x718ab5,headerMap:_0x2998dc}=_0x15a690,_0x23de6d=0x64,_0x1f8c76=Math[_0x556948(0x222)](_0x3a1a64,_0x23de6d),_0x288c74=Math[_0x556948(0x222)](_0x718ab5,_0x23de6d);let _0x30510c='',_0x5e84dd=0x0;for(let _0x4a428b=0x0;_0x4a428b<_0x1f8c76;_0x4a428b++)for(let _0x1f5f94=0x0;_0x1f5f94<_0x288c74;_0x1f5f94++){const _0x3ca0a2={...(_0x33e20b=(_0x4246b4=_0x15a690['data'])==null?void 0x0:_0x4246b4[_0x4a428b])==null?void 0x0:_0x33e20b[_0x1f5f94]},_0x315b01=(_0x38bc71=_0x2998dc[_0x4a428b])==null?void 0x0:_0x38bc71[_0x556948(0x195)],_0xbcfc89=_0x4283bd[_0x315b01];let _0x555d44=_0x15a690[_0x556948(0xee)](_0x4a428b,_0x1f5f94);if(_0x3ca0a2){const _0x52550f=_0x455662?_0x1f5f94===0x0&&((_0x41221c=_0x15a690['getHeaderMapItem'](_0x1f5f94+0x1))==null?void 0x0:_0x41221c[_0x556948(0x27e)]):!0x1;_0x555d44=ht(_0x3ca0a2,_0x52550f,_0xbcfc89,_0x51007b);}if(_0x555d44!==void 0x0){const _0x5c4f4e=Bi(String(_0x555d44));_0x5e84dd<_0x5c4f4e&&(_0x30510c=String(_0x555d44),_0x5e84dd=_0x5c4f4e);}}return _0x30510c;}function Ki(_0xf3d319){const _0x181245=_0xff08f,{rowCount:_0x96d181,colCount:_0x1d0797}=_0xf3d319;let _0x1be57a='',_0xe7be20=0x0;for(let _0x3028c1=_0x96d181-0x1;_0x3028c1>0x0&&_0x3028c1>_0x96d181-0x3;_0x3028c1--)for(let _0x4ea34b=0x0;_0x4ea34b<_0x1d0797;_0x4ea34b++){const _0x381e58=_0xf3d319[_0x181245(0xee)](_0x3028c1,_0x4ea34b);if(_0x381e58!==void 0x0){const _0x50c9f9=String(_0x381e58)['length'];_0xe7be20<_0x50c9f9&&(_0x1be57a=String(_0x381e58),_0xe7be20=_0x50c9f9);}}return _0x1be57a;}function $i(_0x147084){const _0x4c742a=_0xff08f,{rowCount:_0x5afdc1,colCount:_0x4cc8a9}=_0x147084;let _0x5a8a56='',_0x4f68a0=0x0;for(let _0x567e18=0x0;_0x567e18<_0x5afdc1;_0x567e18++)for(let _0x177fc6=0x0;_0x177fc6<_0x4cc8a9;_0x177fc6++){const _0x24d233=_0x147084[_0x4c742a(0xee)](_0x567e18,_0x177fc6);if(_0x24d233!==void 0x0){const _0xc2fde4=String(_0x24d233)['length'];_0x4f68a0<_0xc2fde4&&(_0x5a8a56=String(_0x24d233),_0x4f68a0=_0xc2fde4);}}return _0x5a8a56;}function Ji(_0x2ca82c,_0x4a4b0f){const _0x3c65ab=_0xff08f,{rowFields:_0xef036b,columnFields:_0x26e61c,valueFields:_0x3f1c80,filterFields:_0x5bb51,dimension:_0x26edfc,measure:_0x24afe5}=_0x4a4b0f;for(const _0x55a67c of _0xef036b){const _0x4bea95=_0x26edfc[_0x55a67c];_0x4bea95&&_0x2ca82c['getDataFieldByDataFieldId'](_0x4bea95['dataFieldId'])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x4bea95[_0x3c65ab(0x144)],_0x2849b6[_0x3c65ab(0x1a2)],void 0x0,_0x55a67c),_0x4bea95[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x4bea95['id'],_0x4bea95['displayName']),_0x4bea95[_0x3c65ab(0x1ed)]&&_0x2ca82c['setSortInfo'](_0x4bea95['id'],_0x4bea95[_0x3c65ab(0x1ed)]),_0x4bea95[_0x3c65ab(0xc8)]&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x4bea95['id'],_0x4bea95[_0x3c65ab(0xc8)]));}for(const _0x545de4 of _0x26e61c){const _0x419011=_0x26edfc[_0x545de4];_0x419011&&_0x2ca82c[_0x3c65ab(0x261)](_0x419011[_0x3c65ab(0x144)])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x419011[_0x3c65ab(0x144)],_0x2849b6[_0x3c65ab(0xb8)],void 0x0,_0x545de4),_0x419011['sortInfo']&&_0x2ca82c[_0x3c65ab(0x294)](_0x419011['id'],_0x419011[_0x3c65ab(0x1ed)]),_0x419011['filterInfo']&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x419011['id'],_0x419011[_0x3c65ab(0xc8)]),_0x419011[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x419011['id'],_0x419011[_0x3c65ab(0x2d9)]));}for(const _0x422b34 of _0x5bb51){const _0x1485f5=_0x26edfc[_0x422b34];_0x1485f5&&_0x2ca82c[_0x3c65ab(0x261)](_0x1485f5['dataFieldId'])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x1485f5['dataFieldId'],_0x2849b6[_0x3c65ab(0x216)],void 0x0,_0x422b34),_0x1485f5['sortInfo']&&_0x2ca82c[_0x3c65ab(0x294)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0x1ed)]),_0x1485f5[_0x3c65ab(0xc8)]&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0xc8)]),_0x1485f5[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0x2d9)]));}for(const _0x48bd4a of _0x3f1c80){const _0x349a25=_0x24afe5[_0x48bd4a];_0x349a25&&_0x2ca82c[_0x3c65ab(0x261)](_0x349a25[_0x3c65ab(0x144)])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x349a25['dataFieldId'],_0x2849b6[_0x3c65ab(0x24e)],void 0x0,_0x48bd4a),_0x349a25[_0x3c65ab(0x1f9)]!==void 0x0&&_0x2ca82c[_0x3c65ab(0x2c1)](_0x48bd4a,_0x349a25[_0x3c65ab(0x1f9)]),_0x349a25[_0x3c65ab(0x242)]&&_0x2ca82c['setFieldFormat'](_0x48bd4a,_0x349a25[_0x3c65ab(0x242)]),_0x349a25[_0x3c65ab(0x2d9)]&&_0x2ca82c['renameField'](_0x349a25['id'],_0x349a25[_0x3c65ab(0x2d9)]));}const _0x24610f=_0x4a4b0f['valueFilter'];for(const {fieldId:_0x163bcf,filterInfo:_0x1eb96d}of _0x24610f)_0x2ca82c[_0x3c65ab(0x301)](_0x163bcf,_0x1eb96d);}function _0x3d9d(){const _0x4ba8ba=['range','removePivotField','sheets-pivot.value','resetPivotTable','sheet.command.reset-pivot-fields-config','NAME','PivotMultipleValueId','pushUndoRedo','map','FORCE_STRING','getRowCount','fetchThroughInterceptors','_model','10209HhacGB','_refRangeService','matrix','dataFieldManagerConfig','getMatrix','getFieldCountByArea','RemovePivotField','pivotTableIndexConfig','body','getPivotTableConfig','Filter','sheet.command.update-date-group','countNums','updateDirtyPivotTable','unshift','sheets-pivot.stdDevName','sheet.command.move-pivot-field','getInterceptPoints','broadcastCollectionChange','setPivotTable','getSheets','rowFields','min','getSheetBySheetName','removeField','pageRanges','_exclusiveRangeService','getFilterInfo','product','getMonth','_sheetsPivotTableAdaptorModel','sheets-pivot.blank','getValuePosition','leftOffset','getLastCol','sheets-pivot.dateGroup.year','sheet.operation.pivot-table-view-formula-mark-dirty','setDirty','from','refreshDataField','isEmpty','get','addRecord','keys','_init','getSortInfo','getDataFieldManager','prototype','viewUpdate$','_subjectCollectionChange','24112CSJFrC','RemoveField','realDeleteValue','_initCommandInterceptListener','format','getCellRaw','sheets-pivot.productName','workbook\x20is\x20not\x20found','name','col','pivotPerformCheck','getPivotTableIdByCell','_updateRenderEmptyCache','_initPivotDataGetListener','max','setConfig','Value','createDataFieldId','_initGlobalComputed','filter','getAutoDisplayNameFunction','getCellMatrix','updateConfig','CELL_CONTENT','find','setRangeKeyMap','setFieldFormat','getPivotTableCellData','getFieldById','isBottomTotal','headerMap','UpdateValuePosition','fontRenderExtension','custom','_commandService','getDataFieldByDataFieldId','pivotInitCompleted$','addField','getDataFieldBySourceName','toString','dataStyle','asyncInterceptor','YearMonth','random','_globalSubject','UpdatePivotSource','movePivotField','MonthDate','Column\x20','sheet.mutation.update-date-group','stdDev','sheets-pivot.emptyPivot.values','_sheetsPivotRpcService','registerRefRange','_config','HourMinute','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sheet.mutation.send-init-pivot-text-local','getDate','getOriginFieldId','foreach','fieldsConfig','getTargetByPivotTableId','valid','isValue','getPivotDisplayConfig','sheets-pivot.countName','ManualFilter','registerCallbackWithEvent','updateConfigCache','generateNewSheetName','_ensurePivotItemRenderInfoCache','updatePivotSource','sheet.mutation.set-pivot-format','UNIVER_SHEET','handleSourceRangeChange','getformat','handleAsyncResponse','4605350AWHiQp','#f4f4f5','setSourceName','sheet.mutation.set-pivot-field-subtotal-type','addExclusiveRange','contains','_initViewModelBySheetInterceptor','values','setSortInfo','sheet.command.remove-pivot-field','valuePosition','setOptions','dateType','valueIndex','adjustSheetCellData','options','column','(Blank)','Total','return\x20','NUMBER','refreshGroupField','_viewData','register','pivotMutationGenerate','8MXIche','getDataFieldId','_subjectViewChange','removeValueFilterInfoByValueFieldId','measure','getMatrixFromRunTimeData','rangeCache','addPivotTable','uniqueDataFieldName','registerSyncingMutations','error','_initSnapshot','number','setPivotSetting','isDate','getSubUnitPivotMatrix','updatePivotTableRangeInfo','_host','SetPivotSort','ΣValue','sheets-pivot.cellDateGroupDisplay.date','info','lastRow','rgb(255,255,255)','Year','getDataFieldItemInfo','params','collectionConfig','setSubtotalType','updateRenderCache','getDataFieldByRangeKey','getSheetBySheetId','cornerRanges','_pivotConfigChange$','sheet.mutation.add-pivot-field','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','dispose','addDirtyPivotTable','getGroupFieldsInfoByIds','columnFields','date','getUnit','_fieldsCollectionChange$','registerDirtyService','startRow','Style','_univerInstanceService','deleteUnitId','UpdateFieldPosition','_deletePivotTableInstanceCache','pivotTableId','displayName','sheets-pivot.countNumsName','getNoUsedDataFieldIds','sheets-pivot.maxName','Values','getName','updateRangeKeyMap','rowCount','NotNumber','hasField','updatePivotTableMatrixInfo','colInfo','node','updateFieldSourceInfo','_configService','Date','Month','handleMoveRange','SetPivotTableConfig','subscribe','redos','collectionChange$','_globalComputingSrv','NotName','markDirty','StdDevp\x20of\x20','fields','remove','rowHeaderMap','New','object','STRING','sheets-pivot.dateGroup.date','data','triggerDirtyFeature','sheets-pivot.columnName','Minute','_activeDirtyManagerService','_getPivotAppliedRanges','getHeaderMapItem','setValueFilterInfo','getUpdateRangeDeleteIds','sheet.mutation.set-pivot-value-filter','GrandTotal','oldRangeInfo','setDisplayName','SetFilterInfo','Div0','sheet.mutation.update-pivot-table-source-range','_localeService','sheet.command.pivot-drill-down','sourceName','dataStream','SHEET_PIVOT_TABLE_PLUGIN','markDirty$','stdDevp','versions','rangeKeyMap','_initLocale','getIndexesByPathStr','getColumnWidth','splice','_ensurePivotItemRenderValueMatrixCache','2277esJRti','getSheetId','single','164014Uclati','getPivotDirtyViewInfo','getId','colCount','sheets-pivot.grandTotal','getFilterFieldIdByIndex','rangesInfo','_onRefRangeChange','collapseInfo','defineProperty','Grand\x20Total','_sheetsPivotDataSourceModel','substring','getDirtyInfo','cellValue','onQueryEnd','sheet.mutation.send-pivot-view-local','None','sheets-pivot.stdDevpName','getDataFieldByTableId','addPivotField','Min\x20of\x20','getTextInfo','Delete','getUnitId','_initDataSendListener','_sheetsPivotTableService','average','getStyles','SetOptions','unitId','Quarter','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getTextSize','updateAllDisplayName','Subtotal','sheet.mutation.remove-group-collection','Hour','_pivotTableMatrixInfo','sheetName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Column','charCodeAt','_sheetInterceptorService','value','valueFields','removeCollections','_globalComputedEndHelpFunc','_sheetsPivotTableConfigModel','setPivotInitCompleted','push','YearMonthDate','#eceeff','Sum\x20of\x20','#e6ebfb','DrillDown','isNaN','filterInfo','Count\x20of\x20','maxDate','colHeaderMap','count','setRange','floor','getFieldIds','UpdateSource','sheet.mutation.add-pivot-table','NO_COMMERCIAL','registerCommand','sheets-pivot.subTotal','bind','createCollectionWithDataRange','_lifecycleService','sheets-pivot.dateGroup.minute','Set','getCurrentSelections','removeValueFilterInfo','deleteField','isText','COMMAND','colStyle','_viewUpdate$','getTableFieldById','rowRanges','pushComputingStatusSubject','fieldIds','executeCommand','oldMatrix','asObservable','leafStyle','getTargetByPivotId','getMatrixValue','sheets-pivot.averageName','valueFilter','_pivotRenderValueMatrixCache','getValue','addCollectionByJSON','getAutoFitColumnsMutations','Add','getFormat','\x20-\x20','getViewData','setPivotSort','tuple','iterateFieldByArea','getColCount','rangeKey','SetFieldFormat','setValuePivotFilter','rangeType','_featureCalculationManagerService','sheet.mutation.get-pivot-data-local','sheets-pivot.cellDateGroupDisplay.minute','sheets-pivot.emptyPivot.row','getIntersectsPivotTable','896cBvypN','_collectionConfigModel','_viewData$','disposableCollection','getSubtotal','sheet.command.set-pivot-fields-config','row','_requestResolvers','updateViewData','sheets-pivot.cellDateGroupDisplay.month','existing','sheet.command.set-pivot-sort','_pivotRenderInfoCache','ResetPivotTable','pivotTableConfigs','fromJSON','document','registerPluginResource','_generateUniqueVersion','needSameDeleteModel','getCollection','sheets-pivot.varpName','_markDirty$','getFieldFormat','type','10670leYeHl','updateValuePosition','#b2b2b2','SetPivotSetting','372TIQIvr','_pivotInitCompleted$','sheets-pivot.sumName','AddPivotTable','sheet.command.move-pivot-table','_updateModelCache','addCollection','sum','deleteDataField','query','size','_pivotTableInstanceCache','setPivotCollapse','some','resetArea','paths','setRangeValueUndoMutation','updateDataFieldsCollection','RenameField','_dataFieldManagerCollection','removeCollectionImp','sheet.command.add-pivot-field','sheets-pivot.dateGroup.month','startColumn','toJSON','interceptCommand','_globalComputedStartHelpFunc','addPivotTableWithConfig','SetSortInfo','sheet.mutation.send-pivot-data-local','AddPivotField','_refRangeHandle','MIN_SAFE_INTEGER','panel','_initConfig','areaInfo','sheets-pivot.dateGroup.hour','dataFieldId','_initRemoveSheetCommandInterceptor','setCollapse','updateFieldPosition','_pivotTableRangeInfo','dataFieldsCollection','pageStyle','reset','getDisplayName','_queryingMap','getPivotPerformCheck','getValueIndex','sheets.tabs.sheet','fieldId','sheets-pivot.emptyPivot.filter','getPivotItemRenderInfoCache','intersects','pivotConfigChange$','sheet.mutation.add-group-collection','_injector','7317948aclMWz','_dataSyncPrimaryController','#FFFFFF','getSourceName','add','refreshData','sheet.mutation.rename-pivot-field','reduce','undos','_ensurePivotTableMatrixInfo','getFieldPositionInfoById','originTargetInfo','viewData$','formJSON','fieldsCollectionChange$','_textInfo','_subjectFieldsCollectionChange','pbt','next','MUTATION','stringify','SetPivotFilter','AddField','collection','addFieldWithSourceId','addDataFieldWithoutUnitInfo','sheet.mutation.send-pivot-config-local','sheets-pivot.dateGroup.hourMinute','subUnitId','sheets-pivot.dateGroup.quarter','getFieldDataType','targetCellInfo','sourceRangeInfo','setName','setTextInfo','setValue','getSubUnitPivotConfigs','filterFields','SetValueFilter','rgb(240,241,243)','result','getConfig','concat','removeDataField','StdDev\x20of\x20','updateCollectionConfig','hasOwnProperty','forValue','getRangeStartEndInfo','sheets-pivot.cellDateGroupDisplay.quarter','setPivotTableConfig','_ensurePivotTableRangeInfo','symbol','iterateField','sheet.command.set-pivot-filter','DIV_BY_ZERO','dimension','getPivotTableInstance','_initPivotTextInfo','collections','getRangeKeyList','tableFieldId','getFormatInfo','_initUnitDisposed','interceptor','Collapse','varp','_ensurePivotMap','getPivotTableMatrixInfo','_collectionChange$','L9gSaTKg\x20xfS65naTKg(NTSfgtf,\x20n9ENTS3f5)\x20{\x20\x20\x20\x20a65\x20{\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20NTSfgtf0gLKIm6aq66m5\x20=\x20NTSfgtf.tnNTa(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20K6TuTgcfttmuf\x20=\x20zvYX.nm6tf(maKE(NTSfgtf0gLKIm6aq66m5[i]));\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(!K6TuTgcfttmuf.9x)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20K6TuTgcfttmuf.9x\x20=\x20X9PEf6(NTSfgtf0gLKIm6aq66m5[b]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20TtDK6Vf6\x20=\x20a5nfKL\x20DK6Vf6wNKEmNvSKnf\x20!==\x20\x279gxfLTgfx\x27\x20&&\x20tfNL\x20TgtamgSfKL\x20DK6Vf6wNKEmNvSKnf;\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20SKgafMa\x20=\x20TtDK6Vf6\x20?\x20tfNL\x20:\x20CTgxKC;\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20PfttmufDK6x\x20=\x20SKgafMa.__jmtfQb__.nm6tf(NTSfgtf0gLKIm6aq66m5[i]);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20Pfttmuf\x20=\x20SKgafMa.__UfM__.ta6TguTL5(PfttmufDK6x);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugma96fDK6x\x20=\x20SKgafMa.__jmtfQb__.nm6tf(NTSfgtf0gLKIm6aq66m5[k]);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugma96f\x20=\x20SKgafMa.__UfM__.ta6TguTL5(tTugma96fDK6x);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugRmNTx\x20=\x20SKgafMa.__2f6TL5__(tTugma96f,\x20Pfttmuf,\x20n9ENTS3f5);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20xKPmTg\x20=\x20K6TuTgcfttmuf.xP;\x20\x20\x20\x20\x20\x20\x20\x20L9gSaTKg\x20TtOKPmTgcmaSFTgu(KImaaf6g,\x20KUKta)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6g\x20=\x20KImaaf6g.6fnNmSf(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKta\x20=\x20KUKta.6fnNmSf(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6gIm6at\x20=\x20nmaaf6g.tnNTa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKtaIm6at\x20=\x20FKta.tnNTa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(!nmaaf6g.TgSN9xft(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20nmaaf6g\x20===\x20FKta;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(nmaaf6gIm6at.NfguaF\x20<\x20i\x20||\x20nmaaf6gIm6at[d]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20LmNtf;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6gv9LLTM\x20=\x20nmaaf6gIm6at.tNTSf(H).8KTg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKtav9LLTM\x20=\x20FKtaIm6at.tNTSf(-nmaaf6gIm6at.NfguaF\x20+\x20H).8KTg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20nmaaf6gv9LLTM\x20===\x20FKtav9LLTM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfa\x20xKPmTgRmNTx\x20=\x20(xKPmTg\x20&&\x20xKPmTg.NfguaF)\x20?\x20xKPmTg.tKPf((xP0afP)\x20=>\x20TtOKPmTgcmaSFTgu(xP0afP,\x20NKSmaTKg.FKtagmPf))\x20:\x20a69f;\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(NKSmaTKg.FKtagmPf\x20===\x20\x27NKSmNFKta\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xKPmTgRmNTx\x20=\x20a69f;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x202mNTx\x20=\x20tTugRmNTx\x20&&\x20xKPmTgRmNTx;\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202mNTx,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pfttmuf:\x20K6TuTgcfttmuf,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SmaSF\x20(f66K6)\x20{\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202mNTx:\x20LmNtf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pfttmuf:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','set','renameField','clearRenderCache','Row','update','generateMutationsByRanges','subTotalStyle','rowInfo','getColumnCount','length','lastCol','getOwnPropertyDescriptor','disposeWithMe','dataRangeInfo','includes','_createExclusiveRange','replace','sideEffectUpdateWorkerCache','fetchThroughAsyncInterceptors','MovePivotField','endCollectChangeset','_resourceManagerService','dataFields','YearQuarter','textInfo','_sheetsSelectionsService','forEach','shouldClear','_configVersion$','onCommandExecuted','has','getRangeData','_deleteModelCache','sheet.mutation.pivot-update-field-source-info','getPivotTableModelConfig','COLUMN','batch','#1d32e9','slice','sheets-pivot.cellDateGroupDisplay.hour','colRanges','parseInt','_toJSON','deepClone','sheets-pivot.cellDateGroupDisplay.yearQuarter','_updatePivotTableInstanceCache','sheets-pivot.cellDateGroupDisplay.yearMonth','_ensureViewDataMap','string','level','setRangeValueRedoMutation','getValueFilterInfos','version','blank','getFullYear','PIVOT_MUTATION_GENERATE','drillDown','startCollectChangeset','limit\x20pivot','getSubUnitPivotRenderCache','sheets-pivot.emptyPivot.column','removeSourceRangeChange','onStarting','endRow','6584934tdXBof','intercept','delete','getRangeKey','SetValuePivotFilter','_initRegisterCommand','sheet.mutation.remove-pivot-table','SetPivotCollapse','Varp\x20of\x20','Average\x20of\x20','sheets-pivot.cellDateGroupDisplay.year','setLabelFilterInfo','width','iterateFieldDim','sortInfo','message','NotFunction','AddPivotTableWithConfig','initDataRanges','MAX_SAFE_INTEGER','getLastRow','entries','grandTotal','originalFieldId','updateViewInfo','updateView','subtotal','getCurrentUnitForType','setPivotFilter','getRefRangeMutationsByMoveRange','sheet.mutation.set-pivot-sort-info','endColumn'];_0x3d9d=function(){return _0x4ba8ba;};return _0x3d9d();}function ji(_0x34bce2,_0x239e0d){const _0x5536a9=_0xff08f,_0x972e3f=[];_0x239e0d===_0x2849b6[_0x5536a9(0x1a2)]&&_0x34bce2['iterateFieldByArea'](_0x2849b6[_0x5536a9(0x1a2)],_0x6fb30c=>{const _0x21ef81=_0x5536a9;_0x972e3f[_0x21ef81(0xc1)](_0x6fb30c['getId']());}),_0x239e0d===_0x2849b6[_0x5536a9(0xb8)]&&_0x34bce2['iterateFieldByArea'](_0x2849b6[_0x5536a9(0xb8)],_0x223968=>{const _0x3f6ae4=_0x5536a9;_0x972e3f['push'](_0x223968[_0x3f6ae4(0x91)]());}),_0x239e0d===_0x2849b6[_0x5536a9(0x216)]&&_0x34bce2[_0x5536a9(0xf7)](_0x2849b6[_0x5536a9(0x216)],_0x4de464=>{const _0x184dec=_0x5536a9;_0x972e3f[_0x184dec(0xc1)](_0x4de464[_0x184dec(0x91)]());}),_0x239e0d===_0x2849b6['Value']&&_0x34bce2[_0x5536a9(0xf7)](_0x2849b6[_0x5536a9(0x24e)],_0x2ca13b=>{const _0x51bbb1=_0x5536a9;_0x972e3f[_0x51bbb1(0xc1)](_0x2ca13b[_0x51bbb1(0x91)]());}),_0x239e0d===void 0x0&&_0x34bce2['iterateField'](_0x451188=>{const _0x4c34eb=_0x5536a9;_0x972e3f[_0x4c34eb(0xc1)](_0x451188[_0x4c34eb(0x91)]());});const _0x10a8d6=_0x972e3f[_0x5536a9(0x1a8)];for(let _0x43263f=_0x10a8d6-0x1;_0x43263f>=0x0;_0x43263f--)_0x34bce2[_0x5536a9(0x224)](_0x972e3f[_0x43263f]);const _0x2d4ba9=_0x34bce2[_0x5536a9(0x1d2)]();for(const _0x3f462e in _0x2d4ba9)_0x34bce2[_0x5536a9(0xdb)](_0x3f462e);}function Wi(_0x2ae558,_0x1b1bfe){const _0x457d02=_0xff08f,_0x33c2e5=new Date(_0x66d7b7(_0x1b1bfe)),_0x5ea134=new Date(_0x66d7b7(_0x2ae558)),_0x3f6523=_0x33c2e5[_0x457d02(0x1d5)](),_0x45b054=_0x5ea134[_0x457d02(0x1d5)](),_0x4f1384=_0x33c2e5[_0x457d02(0x229)](),_0x5b3a69=_0x5ea134[_0x457d02(0x229)](),_0x52eb48=_0x33c2e5[_0x457d02(0x278)](),_0x3a1359=_0x5ea134[_0x457d02(0x278)](),_0x165b0e=_0x3f6523===_0x45b054,_0x3d4d7f=_0x165b0e&&_0x4f1384===_0x5b3a69;return _0x165b0e&&_0x3d4d7f&&!(_0x3d4d7f&&_0x52eb48===_0x3a1359)?_0x48bc72[_0x457d02(0xc2)]:_0x165b0e&&!_0x3d4d7f?_0x48bc72[_0x457d02(0x268)]:_0x48bc72[_0x457d02(0x2bd)];}function qo(_0x5a0308,_0x4943ff){const _0x5080f5=_0xff08f,_0x1cb2f5=_0x5a0308[_0x5080f5(0x235)]($)[_0x5080f5(0xa5)]();let _0x4acd2f='';switch(_0x4943ff){case _0x48bc72[_0x5080f5(0xc2)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x48bc72['YearMonth']:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearMonth'];break;case _0x48bc72[_0x5080f5(0x2bd)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x22f)];break;case _0x48bc72['Month']:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x135)];break;case _0x48bc72['Quarter']:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x175)];break;case _0x48bc72[_0x5080f5(0x2e8)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x2f9)];break;case _0x48bc72[_0x5080f5(0x275)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x173)];break;case _0x48bc72[_0x5080f5(0xb4)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x143)];break;case _0x48bc72[_0x5080f5(0x2fd)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0xd8)];break;case _0x48bc72[_0x5080f5(0x26d)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.monthDate'];break;case _0x48bc72[_0x5080f5(0x1b6)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x4acd2f='';break;}return _0x4acd2f;}const Yo='sheets-pivot.config',Mo={};var Gi=Object['getOwnPropertyDescriptor'],Hi=(_0x43f98a,_0x1179d8,_0x2622b4,_0x689afe)=>{const _0x7f7c93=_0xff08f;for(var _0x137895=_0x689afe>0x1?void 0x0:_0x689afe?Gi(_0x1179d8,_0x2622b4):_0x1179d8,_0x5b8cce=_0x43f98a[_0x7f7c93(0x1a8)]-0x1,_0x4f59e2;_0x5b8cce>=0x0;_0x5b8cce--)(_0x4f59e2=_0x43f98a[_0x5b8cce])&&(_0x137895=_0x4f59e2(_0x137895)||_0x137895);return _0x137895;},at=(_0x22d357,_0x14c849)=>(_0x3ec266,_0x42abb0)=>_0x14c849(_0x3ec266,_0x42abb0,_0x22d357);let he=class extends _0x51d9e7{constructor(_0x54c239,_0x3252df,_0x5ce912,_0x4367ae,_0x4bbd56){const _0xf4adc8=_0xff08f;super(),V(this,_0xf4adc8(0x20b),new Map()),V(this,_0xf4adc8(0x103),new Map()),V(this,_0xf4adc8(0x148),new Map()),V(this,_0xf4adc8(0xb5),new Map()),V(this,_0xf4adc8(0x1bb),new _0x1086f6()),V(this,_0xf4adc8(0x120),new _0x1086f6()),V(this,_0xf4adc8(0x262),this[_0xf4adc8(0x120)][_0xf4adc8(0xe7)]()),V(this,'_pivotConfigChange$',new _0x1086f6()),V(this,_0xf4adc8(0x155),this[_0xf4adc8(0x2c6)]['asObservable']()),V(this,_0xf4adc8(0x167),{}),V(this,'configVersion$',this[_0xf4adc8(0x1bb)][_0xf4adc8(0xe7)]()),(this[_0xf4adc8(0x157)]=_0x54c239,this['_commandService']=_0x3252df,this[_0xf4adc8(0x2d4)]=_0x5ce912,this[_0xf4adc8(0x1b4)]=_0x4367ae,this[_0xf4adc8(0x2e7)]=_0x4bbd56,this[_0xf4adc8(0x313)](),this['_initUnitDisposed']());const _0x5a665c=this['_configService'][_0xf4adc8(0x181)](Yo);(_0x5a665c==null?void 0x0:_0x5a665c['notExecuteFormula'])===!0x0&&this[_0xf4adc8(0x2b0)]();}[_0xff08f(0x197)](){const _0x29a674=_0xff08f;this[_0x29a674(0x1ab)](this[_0x29a674(0x2d4)]['getTypeOfUnitDisposed$'](_0x534b47[_0x29a674(0x288)])[_0x29a674(0x2ec)](_0x11d81c=>{const _0x547b73=_0x29a674;this[_0x547b73(0x2d5)](_0x11d81c['getUnitId']());}));}[_0xff08f(0xc0)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0xff08f(0x313)](){const _0x36028c=_0xff08f,_0x1af168=fo(this[_0x36028c(0x157)],Bo,'',{});this[_0x36028c(0x167)]=_0x1af168,this['_commandService'][_0x36028c(0xe5)](uo['id'],{'textInfo':_0x1af168},{'onlyLocal':!0x0});}[_0xff08f(0xa5)](){const _0x47d2ee=_0xff08f;return this[_0x47d2ee(0x167)];}['updateViewInfo'](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x413472,_0x370dd8){const _0x17a202=_0xff08f;this[_0x17a202(0x2e3)](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x413472),this[_0x17a202(0x2b5)](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x370dd8);}[_0xff08f(0x215)](_0x437dd7,_0x42220b,_0x265bd9){const _0x4aa808=_0xff08f;var _0x3d05f7;const _0x179250=(_0x3d05f7=this[_0x4aa808(0x20b)][_0x4aa808(0x235)](_0x437dd7))==null?void 0x0:_0x3d05f7['get'](_0x42220b);if(_0x179250)return _0x179250['get'](_0x265bd9);}[_0xff08f(0x27c)](_0x5452f0,_0x1f4d72){const _0x55ef83=_0xff08f,_0x4940f9=this['_model'][_0x55ef83(0x235)](_0x5452f0);if(_0x4940f9){for(const [_0x360fae,_0x345d3b]of _0x4940f9[_0x55ef83(0x1f4)]())for(const [_0x356b6d,_0x1dc3b5]of _0x345d3b[_0x55ef83(0x1f4)]())if(_0x356b6d===_0x1f4d72)return _0x1dc3b5[_0x55ef83(0x177)];}}[_0xff08f(0xe9)](_0x45dfba,_0x43df15,_0x43a91a){const _0x57f5d3=_0xff08f,_0x9d7133=this[_0x57f5d3(0x215)](_0x45dfba,_0x43df15,_0x43a91a);return _0x9d7133==null?void 0x0:_0x9d7133[_0x57f5d3(0x177)];}[_0xff08f(0x17c)](_0x559590,_0x5cfa2d){const _0x5ea00b=_0xff08f;var _0x1323ca;return(_0x1323ca=this[_0x5ea00b(0x20b)][_0x5ea00b(0x235)](_0x559590))==null?void 0x0:_0x1323ca[_0x5ea00b(0x235)](_0x5cfa2d);}[_0xff08f(0x283)](_0x505ac7,_0x51b73e,_0x1cb243,_0x19ed92){const _0x3e5cb6=_0xff08f,_0x4994a8=this[_0x3e5cb6(0x19b)](_0x505ac7,_0x51b73e);_0x19ed92?_0x4994a8[_0x3e5cb6(0x19f)](_0x1cb243,_0x19ed92):_0x4994a8[_0x3e5cb6(0x1e1)](_0x1cb243),this['_pivotConfigChange$'][_0x3e5cb6(0x16a)]({'unitId':_0x505ac7,'subUnitId':_0x51b73e,'pivotTableId':_0x1cb243,'pivotTableConfig':_0x19ed92});}[_0xff08f(0x116)](_0x17874d,_0x36646d){const _0x244a65=_0xff08f;var _0x32d527;return(_0x32d527=this[_0x244a65(0x103)]['get'](_0x17874d))==null?void 0x0:_0x32d527[_0x244a65(0x193)][_0x36646d];}[_0xff08f(0x185)](_0xe127c7,_0x2a9ec2){const _0x31f111=_0xff08f;this[_0x31f111(0x103)]['set'](_0xe127c7,_0x2a9ec2),this[_0x31f111(0x1bb)][_0x31f111(0x16a)](Math[_0x31f111(0x269)]());}[_0xff08f(0x19b)](_0x4b11fb,_0x49fa9e){const _0xaa7b73=_0xff08f;let _0x22c5b9=this[_0xaa7b73(0x20b)][_0xaa7b73(0x235)](_0x4b11fb);_0x22c5b9||(_0x22c5b9=new Map(),this[_0xaa7b73(0x20b)][_0xaa7b73(0x19f)](_0x4b11fb,_0x22c5b9));let _0x409517=_0x22c5b9['get'](_0x49fa9e);return _0x409517||(_0x409517=new Map(),_0x22c5b9['set'](_0x49fa9e,_0x409517)),_0x409517;}[_0xff08f(0x18b)](_0x4d098e,_0x13832b){const _0x2724d7=_0xff08f;let _0x5ef95b=this[_0x2724d7(0x148)][_0x2724d7(0x235)](_0x4d098e);_0x5ef95b||(_0x5ef95b=new Map(),this[_0x2724d7(0x148)][_0x2724d7(0x19f)](_0x4d098e,_0x5ef95b));let _0x22e362=_0x5ef95b[_0x2724d7(0x235)](_0x13832b);return _0x22e362||(_0x22e362=new Map(),_0x5ef95b[_0x2724d7(0x19f)](_0x13832b,_0x22e362)),_0x22e362;}[_0xff08f(0x161)](_0x584f5e,_0xb68a96){const _0x2ae547=_0xff08f;let _0xff1525=this[_0x2ae547(0xb5)][_0x2ae547(0x235)](_0x584f5e);_0xff1525||(_0xff1525=new Map(),this[_0x2ae547(0xb5)][_0x2ae547(0x19f)](_0x584f5e,_0xff1525));let _0x2ff2d2=_0xff1525['get'](_0xb68a96);return _0x2ff2d2||(_0x2ff2d2=new Map(),_0xff1525[_0x2ae547(0x19f)](_0xb68a96,_0x2ff2d2)),_0x2ff2d2;}[_0xff08f(0x2b5)](_0x45c7ee,_0x47a687,_0x99b46a,_0x29b76e){const _0x41efcd=_0xff08f;var _0x2bae15;const _0x5e7c19=this[_0x41efcd(0x18b)](_0x45c7ee,_0x47a687),_0x3d258a=(_0x2bae15=_0x5e7c19[_0x41efcd(0x235)](_0x99b46a))==null?void 0x0:_0x2bae15[_0x41efcd(0x305)];_0x5e7c19[_0x41efcd(0x19f)](_0x99b46a,{'oldRangeInfo':_0x3d258a,'rangeInfo':_0x29b76e});}['updatePivotTableMatrixInfo'](_0x571efc,_0x27335a,_0x40a38e,_0x3ab700){const _0xca55ec=_0xff08f;var _0x100761;const _0x2cf938=this[_0xca55ec(0x161)](_0x571efc,_0x27335a),_0x3f6113=(_0x100761=_0x2cf938[_0xca55ec(0x235)](_0x40a38e))==null?void 0x0:_0x100761[_0xca55ec(0xe6)];_0x2cf938[_0xca55ec(0x19f)](_0x40a38e,{'oldMatrix':_0x3f6113,'matrix':_0x3ab700});}['getPivotTableRangeInfo'](_0x40010a,_0x37deca,_0x5f571d){const _0x5085f4=_0xff08f;var _0x53fb43,_0x5109b6;return(_0x5109b6=(_0x53fb43=this['_pivotTableRangeInfo'][_0x5085f4(0x235)](_0x40010a))==null?void 0x0:_0x53fb43['get'](_0x37deca))==null?void 0x0:_0x5109b6[_0x5085f4(0x235)](_0x5f571d);}[_0xff08f(0x19c)](_0x530b84,_0x4c804e,_0x2fa42f){const _0x7f3898=_0xff08f;var _0x461048,_0x392d44;return(_0x392d44=(_0x461048=this[_0x7f3898(0xb5)][_0x7f3898(0x235)](_0x530b84))==null?void 0x0:_0x461048[_0x7f3898(0x235)](_0x4c804e))==null?void 0x0:_0x392d44[_0x7f3898(0x235)](_0x2fa42f);}['deleteUnitId'](_0x1ced71){const _0x5928f4=_0xff08f;this[_0x5928f4(0x20b)][_0x5928f4(0x1e1)](_0x1ced71),this[_0x5928f4(0x103)][_0x5928f4(0x1e1)](_0x1ced71);}[_0xff08f(0x1c9)](_0x1514ba){const _0x2acd4d=_0xff08f,_0x31c8e9={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x2acd4d(0x235)](_0x1514ba)&&(_0x31c8e9[_0x2acd4d(0x20f)][_0x1514ba]=this[_0x2acd4d(0x103)][_0x2acd4d(0x235)](_0x1514ba)),this['_model']['get'](_0x1514ba)){_0x31c8e9[_0x2acd4d(0x110)][_0x1514ba]={};const _0x16a8f8=this['_model']['get'](_0x1514ba);_0x16a8f8!=null&&_0x16a8f8[_0x2acd4d(0x129)]&&[..._0x16a8f8['keys']()][_0x2acd4d(0x1b9)](_0x6ee5ed=>{const _0x3db025=_0x2acd4d,_0x2964e8=_0x16a8f8[_0x3db025(0x235)](_0x6ee5ed);_0x2964e8!=null&&_0x2964e8[_0x3db025(0x129)]&&(_0x31c8e9[_0x3db025(0x110)][_0x1514ba][_0x6ee5ed]={},[..._0x2964e8[_0x3db025(0x237)]()]['forEach'](_0x1c4121=>{const _0x567518=_0x3db025,_0x304306=_0x2964e8[_0x567518(0x235)](_0x1c4121);_0x304306&&(_0x31c8e9[_0x567518(0x110)][_0x1514ba][_0x6ee5ed][_0x1c4121]=_0x304306);}));});}return _0x31c8e9;}[_0xff08f(0x2b0)](){const _0x194263=_0xff08f;this['disposeWithMe'](this[_0x194263(0x1b4)][_0x194263(0x113)]({'toJson':_0x1ca8f6=>JSON[_0x194263(0x16c)](this[_0x194263(0x1c9)](_0x1ca8f6)),'parseJson':_0x18e15f=>({}),'businesses':[_0x534b47[_0x194263(0x288)]],'pluginName':ao,'onLoad':(_0x5c9146,_0x2be95b)=>{},'onUnLoad':_0x153a1a=>{const _0x16cc44=_0x194263;this[_0x16cc44(0x2d5)](_0x153a1a);}}));}};he=Hi([at(0x0,_0x351ec8(_0x8ab5d1)),at(0x1,_0x351ec8(_0x596dde)),at(0x2,_0x351ec8(_0x5838cd)),at(0x3,_0x351ec8(_0x18a6b3)),at(0x4,_0x351ec8(_0x56c73b))],he);var qi=Object[_0xff08f(0x1aa)],Yi=(_0x5204de,_0x3961de,_0x5b7152,_0x370835)=>{const _0x546fb7=_0xff08f;for(var _0x26516f=_0x370835>0x1?void 0x0:_0x370835?qi(_0x3961de,_0x5b7152):_0x3961de,_0x58a154=_0x5204de[_0x546fb7(0x1a8)]-0x1,_0x4de90f;_0x58a154>=0x0;_0x58a154--)(_0x4de90f=_0x5204de[_0x58a154])&&(_0x26516f=_0x4de90f(_0x26516f)||_0x26516f);return _0x26516f;},rt=(_0x34616c,_0x47862b)=>(_0x835ee2,_0x51202b)=>_0x47862b(_0x835ee2,_0x51202b,_0x34616c);let Ne=class extends _0x51d9e7{constructor(_0x5df06e,_0x3c9fe0,_0x48ee86,_0x343c60,_0x32dc7b){const _0x5abc64=_0xff08f;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x5abc64(0xed),new Map()),V(this,_0x5abc64(0x118),new _0x1086f6()),V(this,_0x5abc64(0x30f),this[_0x5abc64(0x118)][_0x5abc64(0xe7)]()),V(this,_0x5abc64(0xe0),new _0x1086f6()),V(this,_0x5abc64(0x23c),this[_0x5abc64(0xe0)][_0x5abc64(0xe7)]()),V(this,'_textInfo'),(this[_0x5abc64(0x30a)]=_0x5df06e,this[_0x5abc64(0x157)]=_0x3c9fe0,this[_0x5abc64(0xbf)]=_0x48ee86,this[_0x5abc64(0x2d4)]=_0x343c60,this['_exclusiveRangeService']=_0x32dc7b,this[_0x5abc64(0x313)](),this[_0x5abc64(0x197)]());}[_0xff08f(0x197)](){const _0x201c29=_0xff08f;this[_0x201c29(0x1ab)](this[_0x201c29(0x2d4)]['getTypeOfUnitDisposed$'](_0x534b47[_0x201c29(0x288)])[_0x201c29(0x2ec)](_0x3ca0c3=>{const _0x45a791=_0x201c29;this[_0x45a791(0x2d5)](_0x3ca0c3['getUnitId']());}));}[_0xff08f(0x313)](){const _0x140cc9=_0xff08f;this[_0x140cc9(0x167)]=fo(this[_0x140cc9(0x157)],Bo,'',{});}[_0xff08f(0x2c2)](_0x41f69a){const _0x484948=_0xff08f,{view:_0x6b7592,unitId:_0x1de2e3,subUnitId:_0x5ecebb,pivotTableId:_0x5939ab,type:_0x517939}=_0x41f69a,_0x520454=this[_0x484948(0xbf)][_0x484948(0x215)](_0x1de2e3,_0x5ecebb,_0x5939ab);if(!_0x6b7592||!_0x520454||_0x517939===K['Delete'])return;const {pageView:_0x450bdf,cornerView:_0x252c14,rowView:_0x1f779d,colView:_0x2fd024,dataView:_0x2bafea}=_0x6b7592,_0x4f2c2c=_0x520454[_0x484948(0x177)],_0xe37178=_0x520454[_0x484948(0x234)],_0x2c9f90=this['_ensurePivotItemRenderValueMatrixCache'](_0x1de2e3,_0x5ecebb),_0x2f8343=this['_ensurePivotItemRenderInfoCache'](_0x1de2e3,_0x5ecebb,_0x5939ab);if(_0xe37178)return this['_updateRenderEmptyCache'](_0x41f69a,_0x2c9f90,_0x4f2c2c,_0x2f8343);{const _0x269076=ge(_0x4f2c2c,_0x450bdf,!0x0),_0xeb3de7=_0x450bdf['lastRow']>=0x0?_0x450bdf[_0x484948(0x2bb)]+0x1:0x0,_0x5a883a=_0x252c14[_0x484948(0x209)](),_0x4b6b55=_0x252c14[_0x484948(0xf8)](),_0xf0c021=_0x269076[_0x484948(0x1a8)]>0x0?It:0x0,_0x5136af=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021,'col':_0x4f2c2c['col']},_0x252c14,!0x1,!0x1),_0x5551a6=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021+_0x5a883a,'col':_0x4f2c2c['col']},_0x1f779d,!0x1,!0x0),_0x5d1107=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021,'col':_0x4f2c2c[_0x484948(0x247)]+_0x4b6b55},_0x2fd024,!0x1,!0x0),_0x271ed9=ge({'row':_0x4f2c2c['row']+_0xeb3de7+_0xf0c021+_0x5a883a,'col':_0x4f2c2c[_0x484948(0x247)]+_0x4b6b55},_0x2bafea,!0x1,!0x1);_0x2f8343['rangesInfo']={'rowRanges':_0x5551a6,'colRanges':_0x5d1107,'cornerRanges':_0x5136af,'dataRanges':_0x271ed9,'pageRanges':_0x269076};const _0x2b65cd=Mi(this[_0x484948(0x157)],_0x6b7592,_0x520454,this[_0x484948(0x167)]),{valueMatrix:_0x4201b4,rowInfo:_0x2f6a96,colInfo:_0x29ba57,cornerInfo:_0x336b50,rowHeaderMap:_0x51938d,colHeaderMap:_0x1dd78e}=_0x2b65cd;return _0x2f8343[_0x484948(0x142)]={'rowInfo':_0x2f6a96,'colInfo':_0x29ba57,'cornerInfo':_0x336b50},_0x2f8343[_0x484948(0x25c)]={'rowHeaderMap':_0x51938d,'colHeaderMap':_0x1dd78e},_0x4201b4[_0x484948(0x1b9)]((_0x342138,_0x36cbf0)=>{const _0x234911=_0x484948;Object[_0x234911(0x237)](_0x36cbf0)[_0x234911(0x1b9)](_0x32ed9d=>{const _0x685cc2=_0x234911,_0x260e2e=+_0x32ed9d,_0x2062c5=_0x4201b4[_0x685cc2(0xee)](_0x342138,_0x260e2e);_0x2c9f90[_0x685cc2(0x17b)](_0x342138,_0x260e2e,_0x2062c5);});}),this[_0x484948(0xe0)][_0x484948(0x16a)]({'unitId':_0x1de2e3,'subUnitId':_0x5ecebb,'valueMatrix':_0x2c9f90,'rangesCache':_0x2f8343['rangesInfo'],'pivotTableId':_0x5939ab,'type':_0x41f69a[_0x484948(0x11a)]}),this[_0x484948(0xbf)][_0x484948(0x1f7)](_0x1de2e3,_0x5ecebb,_0x5939ab,_0x2c9f90,_0x2f8343[_0x484948(0x95)]),this[_0x484948(0x226)][_0x484948(0x290)](_0x1de2e3,_0x5ecebb,Lt,this[_0x484948(0x1ae)](_0x2f8343[_0x484948(0x95)],_0x5939ab)),{'rangeCache':_0x2f8343[_0x484948(0x95)],'matrix':_0x2c9f90};}}[_0xff08f(0x24a)](_0x195e31,_0x2df5a6,_0x2b1929,_0xd9c27c){const _0x13872e=_0xff08f,_0x5f388b=this['_localeService']['t'],{unitId:_0x7b101a,subUnitId:_0x544b3b,pivotTableId:_0x6b8403}=_0x195e31,_0x784dfe={'filter':_0x5f388b(_0x13872e(0x152)),'row':_0x5f388b(_0x13872e(0x100)),'column':_0x5f388b(_0x13872e(0x1db)),'values':_0x5f388b(_0x13872e(0x271))},{matrixCache:_0x8b6197,rangesCache:_0x3515d3}=Wo(_0x784dfe,_0x2b1929);return _0x8b6197[_0x13872e(0x187)]((_0xca9f1f,_0x17baf8,_0x5dcd2f)=>{const _0x21df96=_0x13872e;_0x2df5a6[_0x21df96(0x17b)](_0xca9f1f,_0x17baf8,_0x5dcd2f);}),_0xd9c27c[_0x13872e(0x95)]=_0x3515d3,this['_viewUpdate$'][_0x13872e(0x16a)]({'unitId':_0x7b101a,'subUnitId':_0x544b3b,'valueMatrix':_0x2df5a6,'rangesCache':_0x3515d3,'pivotTableId':_0x6b8403,'type':_0x195e31['type'],'isEmpty':!0x0}),this[_0x13872e(0xbf)]['updateViewInfo'](_0x7b101a,_0x544b3b,_0x6b8403,_0x2df5a6,_0x3515d3),this[_0x13872e(0x226)][_0x13872e(0x290)](_0x7b101a,_0x544b3b,Lt,this[_0x13872e(0x1ae)](_0x3515d3,_0x6b8403)),{'rangeCache':_0xd9c27c[_0x13872e(0x95)],'matrix':_0x2df5a6};}[_0xff08f(0x1ae)](_0x12b6df,_0x4350c3){const _0x43bbfb=_0xff08f,_0x4b1fd3=[],_0x196eb6=Kt(_0x12b6df);for(const _0x349436 of _0x196eb6)_0x4b1fd3[_0x43bbfb(0xc1)]({'groupId':_0x4350c3,'range':_0x349436});return _0x4b1fd3;}[_0xff08f(0x1a1)](_0x48e27b){const _0x2316fd=_0xff08f;var _0x538769,_0x8874f6,_0x317827,_0x3bdad7;const {pivotTableId:_0x4ea9cc,unitId:_0x25494f,subUnitId:_0xe7c9b5}=_0x48e27b;if(!_0x4ea9cc||!_0x25494f||!_0xe7c9b5)return;const _0x5f5583=this[_0x2316fd(0x317)](_0x25494f,_0xe7c9b5),_0x30664a=(_0x8874f6=(_0x538769=this[_0x2316fd(0x10e)]['get'](_0x25494f))==null?void 0x0:_0x538769[_0x2316fd(0x235)](_0xe7c9b5))==null?void 0x0:_0x8874f6['get'](_0x4ea9cc);if(_0x30664a!=null&&_0x30664a[_0x2316fd(0x95)]){for(const _0x5c45f5 of Object[_0x2316fd(0x237)](_0x30664a['rangesInfo']))_0x30664a[_0x2316fd(0x95)][_0x5c45f5]['forEach'](_0x38034c=>{const _0x20a484=_0x2316fd;for(let _0x244ede=_0x38034c[_0x20a484(0x2d2)];_0x244ede<=_0x38034c[_0x20a484(0x1de)];_0x244ede++)for(let _0x5fe8ed=_0x38034c[_0x20a484(0x136)];_0x5fe8ed<=_0x38034c[_0x20a484(0x1fe)];_0x5fe8ed++)_0x5f5583[_0x20a484(0x240)](_0x244ede,_0x5fe8ed);});}_0x30664a&&((_0x3bdad7=(_0x317827=this[_0x2316fd(0x10e)][_0x2316fd(0x235)](_0x25494f))==null?void 0x0:_0x317827[_0x2316fd(0x235)](_0xe7c9b5))==null||_0x3bdad7[_0x2316fd(0x1e1)](_0x4ea9cc)),this[_0x2316fd(0xe0)][_0x2316fd(0x16a)]({'unitId':_0x25494f,'subUnitId':_0xe7c9b5,'valueMatrix':_0x5f5583,'pivotTableId':_0x4ea9cc,'rangesCache':void 0x0,'type':_0x48e27b[_0x2316fd(0x11a)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x25494f,_0xe7c9b5,Lt,_0x4ea9cc);}[_0xff08f(0x285)](_0x36a881,_0x529704,_0x22ca05){const _0x593baf=_0xff08f;var _0x6eabf7,_0x5f0f18,_0x561cc8,_0x2503e4,_0x1466d,_0x242b14;return this['_pivotRenderInfoCache'][_0x593baf(0x1bd)](_0x36a881)||this[_0x593baf(0x10e)][_0x593baf(0x19f)](_0x36a881,new Map()),(_0x6eabf7=this['_pivotRenderInfoCache']['get'](_0x36a881))!=null&&_0x6eabf7['has'](_0x529704)||(_0x5f0f18=this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881))==null||_0x5f0f18[_0x593baf(0x19f)](_0x529704,new Map()),(_0x2503e4=(_0x561cc8=this[_0x593baf(0x10e)]['get'](_0x36a881))==null?void 0x0:_0x561cc8[_0x593baf(0x235)](_0x529704))!=null&&_0x2503e4[_0x593baf(0x1bd)](_0x22ca05)||(_0x242b14=(_0x1466d=this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881))==null?void 0x0:_0x1466d[_0x593baf(0x235)](_0x529704))==null||_0x242b14[_0x593baf(0x19f)](_0x22ca05,{}),this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881)[_0x593baf(0x235)](_0x529704)[_0x593baf(0x235)](_0x22ca05);}[_0xff08f(0x317)](_0x2ea20c,_0x5aab3f){const _0x1c49bf=_0xff08f;var _0x1d3f4a,_0x4c6f4c;return this[_0x1c49bf(0xed)][_0x1c49bf(0x1bd)](_0x2ea20c)||this[_0x1c49bf(0xed)][_0x1c49bf(0x19f)](_0x2ea20c,new Map()),(_0x1d3f4a=this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c))!=null&&_0x1d3f4a['has'](_0x5aab3f)||(_0x4c6f4c=this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c))==null||_0x4c6f4c[_0x1c49bf(0x19f)](_0x5aab3f,new _0x3beae7()),this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c)[_0x1c49bf(0x235)](_0x5aab3f);}[_0xff08f(0x259)](_0x137d69,_0x5da18c,_0x11f903,_0x5c521c){const _0x2901ef=_0xff08f;var _0x2970b1,_0xad5b38;const _0x337a74=(_0xad5b38=(_0x2970b1=this['_pivotRenderValueMatrixCache'][_0x2901ef(0x235)](_0x137d69))==null?void 0x0:_0x2970b1['get'](_0x5da18c))==null?void 0x0:_0xad5b38['getValue'](_0x11f903,_0x5c521c);if(_0x337a74!=null)return _0x337a74;}[_0xff08f(0x249)](_0x582c15,_0x4288a7,_0x2b3017,_0x36a7f7){const _0x40a2e9=_0xff08f;var _0x408c9b;const _0x16f1b3=_0x1fea7f(_0x2b3017,_0x36a7f7),_0x516524=(_0x408c9b=this[_0x40a2e9(0x10e)][_0x40a2e9(0x235)](_0x582c15))==null?void 0x0:_0x408c9b[_0x40a2e9(0x235)](_0x4288a7);return _0x516524?Array[_0x40a2e9(0x232)](_0x516524[_0x40a2e9(0x237)]())[_0x40a2e9(0x256)](_0x128cd1=>{const _0x50430e=_0x40a2e9,_0x5d5f93=_0x516524[_0x50430e(0x235)](_0x128cd1),_0xefe331=_0x5d5f93==null?void 0x0:_0x5d5f93['rangesInfo'];return _0xefe331?Object['keys'](_0xefe331)[_0x50430e(0x12c)](_0x216620=>_0xefe331[_0x216620][_0x50430e(0x12c)](_0x556158=>_0x3356fe[_0x50430e(0x291)](_0x556158,_0x16f1b3))):!0x1;}):void 0x0;}[_0xff08f(0x101)](_0x413dae,_0x20a65d,_0x2bda8a){const _0x4a946b=_0xff08f;var _0x422cfb;const _0x5b8b5d=(_0x422cfb=this[_0x4a946b(0x10e)][_0x4a946b(0x235)](_0x413dae))==null?void 0x0:_0x422cfb[_0x4a946b(0x235)](_0x20a65d),_0xd982a7=[];return _0x5b8b5d&&Array[_0x4a946b(0x232)](_0x5b8b5d[_0x4a946b(0x237)]())['forEach'](_0x3bf70a=>{const _0x2e57d8=_0x4a946b,_0x4e99c4=_0x5b8b5d[_0x2e57d8(0x235)](_0x3bf70a),_0x154250=_0x4e99c4==null?void 0x0:_0x4e99c4[_0x2e57d8(0x95)];if(_0x154250)for(const _0x593734 of Object[_0x2e57d8(0x293)](_0x154250)){let _0xefbb59=!0x1;for(const _0x45d27d of _0x593734)if(_0x3356fe[_0x2e57d8(0x154)](_0x45d27d,_0x2bda8a)){_0xd982a7['push'](_0x3bf70a),_0xefbb59=!0x0;break;}if(_0xefbb59)break;}}),_0xd982a7;}[_0xff08f(0x2b4)](_0x9bddbd,_0x12ef45){const _0x4ff144=_0xff08f;var _0x546d7a,_0x3cadda;return(_0x3cadda=(_0x546d7a=this[_0x4ff144(0xed)][_0x4ff144(0x235)](_0x9bddbd))==null?void 0x0:_0x546d7a['get'](_0x12ef45))!=null?_0x3cadda:new _0x3beae7();}[_0xff08f(0x1da)](_0x240ba9,_0x3a98a5){const _0x1a1214=_0xff08f;var _0x47d234;return(_0x47d234=this[_0x1a1214(0x10e)]['get'](_0x240ba9))==null?void 0x0:_0x47d234[_0x1a1214(0x235)](_0x3a98a5);}['getPivotItemRenderInfoCache'](_0x34530b,_0x5d1dea,_0xdc73c6){const _0x4da833=_0xff08f;var _0xcbc248,_0x496987;return(_0x496987=(_0xcbc248=this[_0x4da833(0x10e)][_0x4da833(0x235)](_0x34530b))==null?void 0x0:_0xcbc248[_0x4da833(0x235)](_0x5d1dea))==null?void 0x0:_0x496987['get'](_0xdc73c6);}[_0xff08f(0x2d5)](_0x38b61c){const _0x393ff6=_0xff08f;this[_0x393ff6(0x10e)][_0x393ff6(0x1e1)](_0x38b61c),this[_0x393ff6(0xed)]['delete'](_0x38b61c);}[_0xff08f(0x2f1)](_0x7ed446,_0x5bc922){const _0x9f7b8d=_0xff08f;this['_markDirty$'][_0x9f7b8d(0x16a)]({'unitId':_0x7ed446,'subUnitId':_0x5bc922});}};Ne=Yi([rt(0x0,_0x351ec8(_0x1ca3ab)),rt(0x1,_0x351ec8(_0x8ab5d1)),rt(0x2,_0x351ec8(he)),rt(0x3,_0x351ec8(_0x5838cd)),rt(0x4,_0x351ec8(_0x42eccf))],Ne);var zi=Object[_0xff08f(0x1aa)],Qi=(_0x3074ea,_0x2e6b93,_0x486935,_0x4cd48e)=>{for(var _0x20f970=_0x4cd48e>0x1?void 0x0:_0x4cd48e?zi(_0x2e6b93,_0x486935):_0x2e6b93,_0x2eda9f=_0x3074ea['length']-0x1,_0x377ed5;_0x2eda9f>=0x0;_0x2eda9f--)(_0x377ed5=_0x3074ea[_0x2eda9f])&&(_0x20f970=_0x377ed5(_0x20f970)||_0x20f970);return _0x20f970;},yo=(_0x51407b,_0x19380e)=>(_0xee39a3,_0x179467)=>_0x19380e(_0xee39a3,_0x179467,_0x51407b);let ie=class extends _0x51d9e7{constructor(_0x26f013,_0x3dc4d8){const _0x4b43b9=_0xff08f;super(),V(this,_0x4b43b9(0x267),new _0x199b11({'PIVOT_PERFORM_CHECK':be})),V(this,_0x4b43b9(0x198),new _0x50a86f({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x4b43b9(0xba)]=_0x26f013,this[_0x4b43b9(0x22a)]=_0x3dc4d8,this['_init']());}[_0xff08f(0x238)](){this['_initViewModelBySheetInterceptor']();}[_0xff08f(0x14e)](_0x465dcc){const _0x53b991=_0xff08f;return this[_0x53b991(0x267)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x465dcc);}[_0xff08f(0x292)](){const _0x5d1fdc=_0xff08f;this[_0x5d1fdc(0x1ab)](this[_0x5d1fdc(0xba)][_0x5d1fdc(0x1e0)](_0x203a04[_0x5d1fdc(0x255)],{'priority':0xc8,'effect':_0x167c11['Value']|_0x167c11[_0x5d1fdc(0x2d3)],'handler':(_0x55c9ec,_0x43bf3a,_0x3988a1)=>{const _0xfbe5d3=_0x5d1fdc,{row:_0x2fc73f,col:_0x54d8d8,unitId:_0x59aef4,subUnitId:_0x2f71cc,workbook:_0x13099d}=_0x43bf3a,_0x119b0e=this[_0xfbe5d3(0x22a)][_0xfbe5d3(0x259)](_0x59aef4,_0x2f71cc,_0x2fc73f,_0x54d8d8);if(!_0x119b0e)return _0x3988a1(_0x55c9ec);const _0x5b410b={..._0x55c9ec};(_0x119b0e['v']||_0x119b0e['v']===0x0)&&(_0x5b410b['v']=_0x119b0e['v']),_0x119b0e['t']&&(_0x5b410b['t']=_0x119b0e['t']);const _0x26fa37=(typeof(_0x55c9ec==null?void 0x0:_0x55c9ec['s'])==_0xfbe5d3(0x1cf)?_0x13099d[_0xfbe5d3(0xab)]()['get'](_0x55c9ec==null?void 0x0:_0x55c9ec['s']):_0x55c9ec==null?void 0x0:_0x55c9ec['s'])||{},_0x57682f=_0x13099d[_0xfbe5d3(0xab)]()[_0xfbe5d3(0x235)](_0x119b0e['s']),_0x4f219e={..._0x57682f,..._0x26fa37};_0x57682f!=null&&_0x57682f['n']&&(_0x4f219e['n']=_0x57682f['n']);const _0x5612c8=_0x13099d[_0xfbe5d3(0xab)]()[_0xfbe5d3(0x17b)](_0x4f219e);return _0x5b410b['s']=_0x5612c8,(_0x119b0e[_0xfbe5d3(0x169)]===_0x554228[_0xfbe5d3(0x199)]||_0x119b0e[_0xfbe5d3(0x169)]===_0x554228['Expand'])&&(_0x5b410b[_0xfbe5d3(0x25e)]={},_0x5b410b[_0xfbe5d3(0x25e)][_0xfbe5d3(0x22d)]=li),_0x3988a1(_0x5b410b);}}));}};ie=Qi([yo(0x0,_0x351ec8(_0x335a29)),yo(0x1,_0x351ec8(Ne))],ie);function Nt(_0x388942,_0x491d9f){const _0x4edde3=_0xff08f;switch(_0x491d9f){case _0x2849b6[_0x4edde3(0x24e)]:return _0x388942['valueFields'];case _0x2849b6[_0x4edde3(0x216)]:return _0x388942[_0x4edde3(0x17d)];case _0x2849b6['Row']:return _0x388942['rowFields'];case _0x2849b6[_0x4edde3(0xb8)]:return _0x388942['columnFields'];default:return[];}}function Je(_0x2f009f,_0x21cf90){const _0x2c634c=_0xff08f;return _0x2f009f[_0x2c634c(0x2a9)][_0x21cf90]||_0x2f009f[_0x2c634c(0x190)][_0x21cf90];}function Xi(_0x52376d,_0x57b9fc){const _0xf0306a=_0xff08f,{area:_0x375b7c,fieldJson:_0x3a1e40,index:_0x1f4938}=_0x57b9fc;_0x375b7c===_0x2849b6[_0xf0306a(0x24e)]?_0x52376d['measure'][_0x3a1e40['id']]=_0x3a1e40:_0x52376d[_0xf0306a(0x190)][_0x3a1e40['id']]=_0x3a1e40,Nt(_0x52376d,_0x375b7c)['splice'](_0x1f4938,0x0,_0x3a1e40['id']);}function Zi(_0x493c1d,_0x30a940){const _0xd3b163=_0xff08f,{area:_0x3597fd,fieldId:_0x98f8c7,index:_0x1d0738}=_0x30a940;_0x3597fd===_0x2849b6[_0xd3b163(0x24e)]?delete _0x493c1d[_0xd3b163(0x2a9)][_0x98f8c7]:delete _0x493c1d[_0xd3b163(0x190)][_0x98f8c7],Nt(_0x493c1d,_0x3597fd)[_0xd3b163(0x316)](_0x1d0738,0x1);}function es(_0x4df2c4,_0x24547b){const _0x4e8af8=_0xff08f,{fieldId:_0xd6b47c,name:_0x1353f3}=_0x24547b,_0x35e009=Je(_0x4df2c4,_0xd6b47c);_0x35e009&&(_0x35e009[_0x4e8af8(0x2d9)]=_0x1353f3);}function ts(_0x3a4111,_0x3fcc33){const _0x898f4f=_0xff08f,{fieldId:_0x4909d9,collapse:_0x324a68,item:_0x55c2a7}=_0x3fcc33;_0x55c2a7!==void 0x0?(_0x3a4111['collapseInfo'][_0x4909d9]=_0x3a4111[_0x898f4f(0x97)][_0x4909d9]||{},_0x3a4111['collapseInfo'][_0x4909d9][_0x55c2a7]=_0x324a68):_0x3a4111[_0x898f4f(0x97)][_0x4909d9]=_0x324a68;}function os(_0xa662b4,_0x52dc8d){const _0x46b6ed=_0xff08f,{fieldId:_0x5b6975,format:_0x1f6062}=_0x52dc8d,_0x5b0101=Je(_0xa662b4,_0x5b6975);_0x5b0101&&(_0x5b0101[_0x46b6ed(0x242)]=_0x1f6062);}function ns(_0x20775b,_0x5cca6e){const _0x571d7f=_0xff08f,{fieldId:_0x3f1e65,filterInfo:_0x6858c2}=_0x5cca6e,_0x1ff7e3=Je(_0x20775b,_0x3f1e65);_0x1ff7e3&&(_0x1ff7e3[_0x571d7f(0xc8)]=_0x6858c2);}function is(_0x5ab715,_0x2ff77d){const _0x1482ee=_0xff08f,{fieldId:_0x3f78a8,filterInfo:_0x5f06b0}=_0x2ff77d,_0x668e58=_0x5ab715[_0x1482ee(0xec)]['filter'](_0x226179=>_0x226179[_0x1482ee(0x151)]!==_0x3f78a8);_0x5f06b0&&_0x668e58['push']({'fieldId':_0x3f78a8,'filterInfo':_0x5f06b0}),_0x5ab715[_0x1482ee(0xec)]=_0x668e58;}function ss(_0x447ad2,_0x4b6069){const _0x5d2ed9=_0xff08f,{fieldId:_0x32f888,subtotalType:_0x567db0}=_0x4b6069,_0x491726=Je(_0x447ad2,_0x32f888);_0x491726&&(_0x491726[_0x5d2ed9(0x1f9)]=_0x567db0);}function as(_0x16f147,_0x1f3b94){const _0xf7f25b=_0xff08f,{fieldId:_0x3038ba,oldArea:_0x2fe1e5,area:_0x155c75,oldIndex:_0x4feadd,index:_0x270582}=_0x1f3b94,_0x531a65=_0x2fe1e5!==_0x2849b6[_0xf7f25b(0x24e)]&&_0x155c75===_0x2849b6[_0xf7f25b(0x24e)],_0x50f1ca=_0x2fe1e5===_0x2849b6['Value']&&_0x155c75!==_0x2849b6[_0xf7f25b(0x24e)];if(_0x531a65||_0x50f1ca){const _0x50a170=Je(_0x16f147,_0x3038ba);_0x50a170&&(_0x531a65?(delete _0x16f147[_0xf7f25b(0x190)][_0x3038ba],_0x16f147['measure'][_0x3038ba]=_0x50a170):(delete _0x16f147['measure'][_0x3038ba],_0x16f147[_0xf7f25b(0x190)][_0x3038ba]=_0x50a170));}const _0x1ffe26=Nt(_0x16f147,_0x2fe1e5),_0x3588aa=Nt(_0x16f147,_0x155c75);_0x1ffe26[_0xf7f25b(0x316)](_0x4feadd,0x1),_0x3588aa['splice'](_0x270582,0x0,_0x3038ba);}function rs(_0x24c497,_0x16a84e){const _0x404dcd=_0xff08f,{valuePosition:_0x246b04,index:_0x40f166}=_0x16a84e;_0x24c497[_0x404dcd(0x296)]=_0x246b04,_0x24c497['valueIndex']=_0x40f166;}function ls(_0x5d9e7c,_0x50ab2d){const _0xd12667=_0xff08f,{tableFieldId:_0x37e017,sourceName:_0x267796,dataFieldId:_0x4520fd}=_0x50ab2d,_0x501b14=Je(_0x5d9e7c,_0x37e017);_0x501b14&&(_0x501b14[_0xd12667(0x30c)]=_0x267796,_0x501b14[_0xd12667(0x144)]=_0x4520fd);}function cs(_0x58352d,_0x144fba){const {fieldId:_0x53071b,sortInfo:_0x4b9217}=_0x144fba,_0x5ee9f1=Je(_0x58352d,_0x53071b);_0x5ee9f1&&(_0x5ee9f1['sortInfo']=_0x4b9217);}function ds(_0x279be2,_0x100548){const _0x5a4aad=_0xff08f,{options:_0x5d3dc4}=_0x100548;_0x279be2['options']={..._0x279be2[_0x5a4aad(0x29b)],..._0x5d3dc4};}const $t={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x2c7),'handler'(_0x2f0ca9,_0x267cd0){const _0x130c60=_0xff08f;if(!_0x267cd0)return!0x1;if(!!_0x2f0ca9[_0x130c60(0x235)](_0x56c73b)[_0x130c60(0x181)](q))return!0x0;const _0x516d8f=_0x2f0ca9[_0x130c60(0x235)]($),{pivotTableId:_0x365ac0,fieldJson:_0x3cf1ab,area:_0x1c00c5,index:_0x34ac0d,unitId:_0x1d8b35,subUnitId:_0x22b0a1}=_0x267cd0,_0xfba629=_0x516d8f[_0x130c60(0x191)](_0x365ac0);if(!_0xfba629)return!0x1;let _0x9c2922;_0x1c00c5===_0x2849b6[_0x130c60(0x24e)]?_0x9c2922=_0x5dae49(_0x3cf1ab):_0x9c2922=_0x1b826f(_0x3cf1ab),_0xfba629[_0x130c60(0x263)](_0x9c2922,_0x1c00c5,_0x34ac0d);const _0x14ea19=_0x516d8f[_0x130c60(0x1c1)](_0x1d8b35,_0x22b0a1,_0x365ac0);Xi(_0x14ea19,_0x267cd0);const _0x31c280=_0x516d8f['getPivotTableConfig'](_0x1d8b35,_0x22b0a1,_0x365ac0);return _0x516d8f[_0x130c60(0x2cb)]({'unitId':_0x1d8b35,'subUnitId':_0x22b0a1,'token':_0x365ac0,'type':K['Set'],'pivotConfig':_0x31c280}),!0x0;}},Jt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x34985a,_0x446893){const _0xae6101=_0xff08f;if(!_0x446893)return!0x1;if(!!_0x34985a[_0xae6101(0x235)](_0x56c73b)[_0xae6101(0x181)](q))return!0x0;const _0x3473d7=_0x34985a[_0xae6101(0x235)]($),{pivotTableId:_0x31c1e5,fieldId:_0x4d8985,unitId:_0x28b795,subUnitId:_0x3d3497}=_0x446893,_0x4a4b63=_0x3473d7['getPivotTableInstance'](_0x31c1e5);if(!_0x4a4b63)return!0x1;_0x4a4b63[_0xae6101(0x224)](_0x4d8985);const _0x1bb19f=_0x3473d7[_0xae6101(0x1c1)](_0x28b795,_0x3d3497,_0x31c1e5);Zi(_0x1bb19f,_0x446893);const _0x3a40f8=_0x3473d7['getPivotTableConfig'](_0x28b795,_0x3d3497,_0x31c1e5);return _0x3473d7[_0xae6101(0x2cb)]({'unitId':_0x28b795,'subUnitId':_0x3d3497,'token':_0x31c1e5,'type':K[_0xae6101(0xd9)],'pivotConfig':_0x3a40f8}),!0x0;}},jt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x15e),'handler'(_0x53be68,_0x42cfed){const _0x2e849e=_0xff08f;if(!_0x42cfed)return!0x1;if(!!_0x53be68['get'](_0x56c73b)[_0x2e849e(0x181)](q))return!0x0;const _0x2497b6=_0x53be68['get']($),{unitId:_0x414931,subUnitId:_0x12ecc4,pivotTableId:_0x568c5f,fieldId:_0x4914f2,name:_0x501f40}=_0x42cfed,_0x1185db=_0x2497b6['getPivotTableInstance'](_0x568c5f);if(!_0x1185db)return!0x1;_0x1185db[_0x2e849e(0x1a0)](_0x4914f2,_0x501f40);const _0x60ba4b=_0x2497b6[_0x2e849e(0x1c1)](_0x414931,_0x12ecc4,_0x568c5f);return es(_0x60ba4b,_0x42cfed),_0x2497b6[_0x2e849e(0x2cb)]({'unitId':_0x414931,'subUnitId':_0x12ecc4,'token':_0x568c5f,'type':K[_0x2e849e(0xd9)]}),!0x0;}},Wt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x26908f,_0x2bdd58){const _0x385075=_0xff08f;if(!_0x2bdd58)return!0x1;if(!!_0x26908f[_0x385075(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x1e7064=_0x26908f[_0x385075(0x235)]($),{unitId:_0x3c2b35,subUnitId:_0x3a4c6c,pivotTableId:_0x53dac8,fieldId:_0x26d759,collapse:_0x5899c6,item:_0x4923cb}=_0x2bdd58,_0x101b80=_0x1e7064[_0x385075(0x191)](_0x53dac8);if(!_0x101b80)return!0x1;_0x101b80[_0x385075(0x146)](_0x26d759,_0x5899c6,_0x4923cb);const _0x75f13f=_0x1e7064[_0x385075(0x1c1)](_0x3c2b35,_0x3a4c6c,_0x53dac8);return ts(_0x75f13f,_0x2bdd58),_0x1e7064[_0x385075(0x2cb)]({'unitId':_0x3c2b35,'subUnitId':_0x3a4c6c,'token':_0x53dac8,'type':K[_0x385075(0xd9)]}),!0x0;}},Gt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x287),'handler'(_0x2a143b,_0x2d9d9b){const _0x34df78=_0xff08f;if(!_0x2d9d9b)return!0x1;if(!!_0x2a143b[_0x34df78(0x235)](_0x56c73b)[_0x34df78(0x181)](q))return!0x0;const _0xa453db=_0x2a143b['get']($),{unitId:_0xbf5da4,subUnitId:_0x3ad136,pivotTableId:_0x30934a,fieldId:_0x3db578,format:_0x2968ed}=_0x2d9d9b,_0x39ff3c=_0xa453db[_0x34df78(0x191)](_0x30934a);if(!_0x39ff3c)return!0x1;_0x39ff3c[_0x34df78(0x258)](_0x3db578,_0x2968ed);const _0x4fe3f5=_0xa453db[_0x34df78(0x1c1)](_0xbf5da4,_0x3ad136,_0x30934a);return os(_0x4fe3f5,_0x2d9d9b),_0xa453db[_0x34df78(0x2cb)]({'unitId':_0xbf5da4,'subUnitId':_0x3ad136,'token':_0x30934a,'type':K[_0x34df78(0xd9)]}),!0x0;}},Ht={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x23ab37,_0x4b7e77){const _0x31c60d=_0xff08f;if(!_0x4b7e77)return!0x1;if(!!_0x23ab37[_0x31c60d(0x235)](_0x56c73b)[_0x31c60d(0x181)](q))return!0x0;const _0x3cfbb3=_0x23ab37['get']($),{unitId:_0x24d4ec,subUnitId:_0x2bbf53,pivotTableId:_0x52416d,fieldId:_0x35e125,filterInfo:_0x296bf4}=_0x4b7e77,_0x20680a=_0x3cfbb3[_0x31c60d(0x191)](_0x52416d);if(!_0x20680a)return!0x1;_0x20680a[_0x31c60d(0x1ea)](_0x35e125,_0x296bf4);const _0x2aff9a=_0x3cfbb3[_0x31c60d(0x1c1)](_0x24d4ec,_0x2bbf53,_0x52416d);return ns(_0x2aff9a,_0x4b7e77),_0x3cfbb3[_0x31c60d(0x2cb)]({'unitId':_0x24d4ec,'subUnitId':_0x2bbf53,'token':_0x52416d,'type':K[_0x31c60d(0xd9)]}),!0x0;}},qt={'type':_0x36da7e['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x273a54,_0x58c5f2){const _0x463efa=_0xff08f;if(!_0x58c5f2)return!0x1;if(!!_0x273a54[_0x463efa(0x235)](_0x56c73b)[_0x463efa(0x181)](q))return!0x0;const _0x31d166=_0x273a54[_0x463efa(0x235)]($),{unitId:_0x1d2ded,subUnitId:_0x27ec4d,pivotTableId:_0x222998,options:_0xe2ab95}=_0x58c5f2,_0x2d38c6=_0x31d166['getPivotTableInstance'](_0x222998);if(!_0x2d38c6)return!0x1;_0x2d38c6[_0x463efa(0x297)](_0xe2ab95);const _0x171602=_0x31d166[_0x463efa(0x1c1)](_0x1d2ded,_0x27ec4d,_0x222998);return ds(_0x171602,_0x58c5f2),_0x31d166[_0x463efa(0x2cb)]({'unitId':_0x1d2ded,'subUnitId':_0x27ec4d,'token':_0x222998,'type':K[_0x463efa(0xd9)]}),!0x0;}},Yt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1fd),'handler'(_0x373c2a,_0x49ef8b){const _0x2dd1eb=_0xff08f;if(!_0x49ef8b)return!0x1;if(!!_0x373c2a[_0x2dd1eb(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x18ad02=_0x373c2a['get']($),{unitId:_0x428e54,subUnitId:_0x1f7740,pivotTableId:_0x1ac162,sortInfo:_0x4ba0de,fieldId:_0x1b8f69}=_0x49ef8b,_0x44ffc4=_0x18ad02[_0x2dd1eb(0x191)](_0x1ac162);if(!_0x44ffc4)return!0x1;_0x44ffc4[_0x2dd1eb(0x294)](_0x1b8f69,_0x4ba0de);const _0x1fc07d=_0x18ad02[_0x2dd1eb(0x1c1)](_0x428e54,_0x1f7740,_0x1ac162);return cs(_0x1fc07d,_0x49ef8b),_0x18ad02[_0x2dd1eb(0x2cb)]({'unitId':_0x428e54,'subUnitId':_0x1f7740,'token':_0x1ac162,'type':K[_0x2dd1eb(0xd9)]}),!0x0;}},zt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x28f),'handler'(_0x29dd73,_0x3c6f6f){const _0x1756fe=_0xff08f;if(!_0x3c6f6f)return!0x1;if(!!_0x29dd73['get'](_0x56c73b)[_0x1756fe(0x181)](q))return!0x0;const _0x1ac180=_0x29dd73[_0x1756fe(0x235)]($),{unitId:_0x569fb2,subUnitId:_0x3dc3b9,pivotTableId:_0x34a13a,fieldId:_0x5ea5d5,subtotalType:_0xeb7153}=_0x3c6f6f,_0x4a325b=_0x1ac180[_0x1756fe(0x191)](_0x34a13a);if(!_0x4a325b)return!0x1;_0x4a325b[_0x1756fe(0x2c1)](_0x5ea5d5,_0xeb7153);const _0x5e8084=_0x1ac180[_0x1756fe(0x1c1)](_0x569fb2,_0x3dc3b9,_0x34a13a);return ss(_0x5e8084,_0x3c6f6f),_0x1ac180[_0x1756fe(0x2cb)]({'unitId':_0x569fb2,'subUnitId':_0x3dc3b9,'token':_0x34a13a,'type':K[_0x1756fe(0xd9)]}),!0x0;}},Qt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x303),'handler'(_0x512b65,_0x585e82){const _0xf53b41=_0xff08f;if(!_0x585e82)return!0x1;if(!!_0x512b65[_0xf53b41(0x235)](_0x56c73b)[_0xf53b41(0x181)](q))return!0x0;const _0x3bb840=_0x512b65[_0xf53b41(0x235)]($),{unitId:_0x40b8f2,subUnitId:_0x477d67,pivotTableId:_0x5003c9,fieldId:_0x1443ba,filterInfo:_0x4329d4}=_0x585e82,_0x53da9a=_0x3bb840[_0xf53b41(0x191)](_0x5003c9);if(!_0x53da9a)return!0x1;_0x53da9a[_0xf53b41(0x301)](_0x1443ba,_0x4329d4);const _0x37cc4f=_0x3bb840[_0xf53b41(0x1c1)](_0x40b8f2,_0x477d67,_0x5003c9);return is(_0x37cc4f,_0x585e82),_0x3bb840[_0xf53b41(0x2cb)]({'unitId':_0x40b8f2,'subUnitId':_0x477d67,'token':_0x5003c9,'type':K[_0xf53b41(0xd9)]}),!0x0;}},Xt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x419da4,_0x292030){const _0x580882=_0xff08f;if(!_0x292030)return!0x1;if(!!_0x419da4['get'](_0x56c73b)[_0x580882(0x181)](q))return!0x0;const _0x593be3=_0x419da4[_0x580882(0x235)]($),{unitId:_0x469e3d,subUnitId:_0x481e99,pivotTableId:_0x5bedc7,area:_0x3b43cd,index:_0xa7fc19,fieldId:_0xc6d99e}=_0x292030,_0x2fc5b0=_0x593be3[_0x580882(0x191)](_0x5bedc7);if(!_0x2fc5b0)return!0x1;_0x2fc5b0[_0x580882(0x147)](_0xc6d99e,_0x3b43cd,_0xa7fc19);const _0x433619=_0x593be3[_0x580882(0x1c1)](_0x469e3d,_0x481e99,_0x5bedc7);return as(_0x433619,_0x292030),_0x593be3[_0x580882(0x2cb)]({'unitId':_0x469e3d,'subUnitId':_0x481e99,'token':_0x5bedc7,'type':K['Set']}),!0x0;}},Zt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1c0),'handler'(_0x54a9f9,_0x538621){const _0x3f1db2=_0xff08f;if(!_0x538621)return!0x1;if(!!_0x54a9f9[_0x3f1db2(0x235)](_0x56c73b)[_0x3f1db2(0x181)](q))return!0x0;const _0x3c4bec=_0x54a9f9[_0x3f1db2(0x235)]($),{unitId:_0x3a023f,subUnitId:_0x24ae1d,pivotTableId:_0x1a7108,sourceName:_0x185964,dataFieldId:_0x1988be,tableFieldId:_0x4eaa3d}=_0x538621,_0xb45957=_0x3c4bec[_0x3f1db2(0x191)](_0x1a7108);if(!_0xb45957)return!0x1;_0xb45957[_0x3f1db2(0x2e6)](_0x4eaa3d,_0x185964,_0x1988be);const _0x8d880c=_0x3c4bec['getPivotTableModelConfig'](_0x3a023f,_0x24ae1d,_0x1a7108);return ls(_0x8d880c,_0x538621),_0x3c4bec[_0x3f1db2(0x2cb)]({'unitId':_0x3a023f,'subUnitId':_0x24ae1d,'token':_0x1a7108,'type':K['Set']}),!0x0;}},eo={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2b920e,_0x582321){const _0x5aec62=_0xff08f;if(!_0x582321)return!0x1;if(!!_0x2b920e[_0x5aec62(0x235)](_0x56c73b)[_0x5aec62(0x181)](q))return!0x0;const _0x1b09f4=_0x2b920e[_0x5aec62(0x235)]($),{unitId:_0xda7195,subUnitId:_0x230661,pivotTableId:_0x594c5f,valuePosition:_0x4eea79,index:_0x1fb29e}=_0x582321,_0x53b809=_0x1b09f4[_0x5aec62(0x191)](_0x594c5f);if(!_0x53b809)return!0x1;_0x53b809['updateValuePosition'](_0x4eea79,_0x1fb29e);const _0x58aad6=_0x1b09f4[_0x5aec62(0x1c1)](_0xda7195,_0x230661,_0x594c5f);return rs(_0x58aad6,_0x582321),_0x1b09f4[_0x5aec62(0x2cb)]({'unitId':_0xda7195,'subUnitId':_0x230661,'token':_0x594c5f,'type':K[_0x5aec62(0xd9)]}),!0x0;}};function me(_0x1c5b7b,_0x3dc0a6,_0x34e273){const _0x307c50=_0xff08f,{pivotTableId:_0x12c622,unitId:_0x23715b,subUnitId:_0x678d3c}=_0x3dc0a6,_0x4d5a40=[],_0xa38e3a=[];for(const _0x32421b of _0x34e273)switch(_0x32421b[_0x307c50(0x11a)]){case _0x3254bb[_0x307c50(0x16e)]:{const {fieldJson:_0x54e568,area:_0x53bb4b,index:_0x3794b6}=_0x32421b,_0x54f88a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldJson':_0x54e568,'area':_0x53bb4b,'index':_0x3794b6},_0xc4bbd7={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x54e568['id'],'area':_0x53bb4b,'index':_0x3794b6};_0x4d5a40[_0x307c50(0xc1)]({'id':$t['id'],'params':_0x54f88a}),_0xa38e3a['unshift']({'id':Jt['id'],'params':_0xc4bbd7});}break;case _0x3254bb['SetSubtotalType']:{const {fieldId:_0x3a3962,newSubtotalType:_0x3717f4,oldSubtotalType:_0x1a89d8}=_0x32421b,_0x36820a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3a3962,'subtotalType':_0x3717f4};_0x4d5a40[_0x307c50(0xc1)]({'id':zt['id'],'params':_0x36820a});const _0x2ce37a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3a3962,'subtotalType':_0x1a89d8};_0xa38e3a['unshift']({'id':zt['id'],'params':_0x2ce37a});}break;case _0x3254bb[_0x307c50(0x23f)]:{const {fieldId:_0x5f3309,fieldJson:_0x246baf,area:_0x355f92,index:_0x3a5e14}=_0x32421b,_0x27610a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x5f3309,'index':_0x3a5e14,'area':_0x355f92};_0x4d5a40[_0x307c50(0xc1)]({'id':Jt['id'],'params':_0x27610a});const _0x3001df={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldJson':_0x246baf,'area':_0x355f92,'index':_0x3a5e14};_0xa38e3a['unshift']({'id':$t['id'],'params':_0x3001df});}break;case _0x3254bb[_0x307c50(0x131)]:{const {fieldId:_0x35287e,oldName:_0x4cb6ac,newName:_0x36462c}=_0x32421b,_0x47e335={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x35287e,'name':_0x36462c};_0x4d5a40[_0x307c50(0xc1)]({'id':jt['id'],'params':_0x47e335});const _0x4e5d55={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x35287e,'name':_0x4cb6ac};_0xa38e3a[_0x307c50(0x21a)]({'id':jt['id'],'params':_0x4e5d55});}break;case _0x3254bb[_0x307c50(0x307)]:{const {fieldId:_0x418d3a,oldFilterInfo:_0x6e08fa,newFilterInfo:_0x1814c4}=_0x32421b,_0xde5dfd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x418d3a,'filterInfo':_0x1814c4};_0x4d5a40[_0x307c50(0xc1)]({'id':Ht['id'],'params':_0xde5dfd});const _0xe08929={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x418d3a,'filterInfo':_0x6e08fa};_0xa38e3a[_0x307c50(0x21a)]({'id':Ht['id'],'params':_0xe08929});}break;case _0x3254bb[_0x307c50(0x13b)]:{const {fieldId:_0x3f53dc,oldSortInfo:_0x3dc653,newSortInfo:_0x3a7a9e}=_0x32421b,_0x2dfa29={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3f53dc,'sortInfo':_0x3a7a9e};_0x4d5a40['push']({'id':Yt['id'],'params':_0x2dfa29});const _0x118161={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3f53dc,'sortInfo':_0x3dc653};_0xa38e3a[_0x307c50(0x21a)]({'id':Yt['id'],'params':_0x118161});}break;case _0x3254bb[_0x307c50(0xac)]:{const {oldOptions:_0x52bf05,newOptions:_0x2191e1}=_0x32421b,_0x592e18={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'options':_0x2191e1};_0x4d5a40[_0x307c50(0xc1)]({'id':qt['id'],'params':_0x592e18});const _0x2f8dfd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'options':_0x52bf05};_0xa38e3a[_0x307c50(0x21a)]({'id':qt['id'],'params':_0x2f8dfd});}break;case _0x3254bb[_0x307c50(0x2d6)]:{const {oldArea:_0x5afd3a,newArea:_0x574218,oldIndex:_0x1ff2c9,newIndex:_0x13c8ca,fieldId:_0x1e5c6b}=_0x32421b,_0x40ab1e={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x1e5c6b,'area':_0x574218,'index':_0x13c8ca,'oldArea':_0x5afd3a,'oldIndex':_0x1ff2c9};_0x4d5a40[_0x307c50(0xc1)]({'id':Xt['id'],'params':_0x40ab1e});const _0x25c918={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x1e5c6b,'area':_0x5afd3a,'index':_0x1ff2c9,'oldArea':_0x574218,'oldIndex':_0x13c8ca};_0xa38e3a['unshift']({'id':Xt['id'],'params':_0x25c918});}break;case _0x3254bb[_0x307c50(0x25d)]:{const {oldValuePosition:_0x451d3d,newValuePosition:_0x2cfdaa,oldIndex:_0x1c89a8,newIndex:_0x459c5a}=_0x32421b,_0x1ebf30={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'valuePosition':_0x2cfdaa,'index':_0x459c5a};_0x4d5a40[_0x307c50(0xc1)]({'id':eo['id'],'params':_0x1ebf30});const _0x4f326d={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'valuePosition':_0x451d3d,'index':_0x1c89a8};_0xa38e3a[_0x307c50(0x21a)]({'id':eo['id'],'params':_0x4f326d});}break;case _0x3254bb['SetCollapse']:{const {fieldId:_0x432512,collapse:_0x585cfd,item:_0x3a446f}=_0x32421b,_0x323dbc={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x432512,'collapse':_0x585cfd,'item':_0x3a446f};_0x4d5a40[_0x307c50(0xc1)]({'id':Wt['id'],'params':_0x323dbc});const _0xca1660={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x432512,'collapse':!_0x585cfd,'item':_0x3a446f};_0xa38e3a['unshift']({'id':Wt['id'],'params':_0xca1660});}break;case _0x3254bb[_0x307c50(0xfa)]:{const {newFormat:_0x57d913,oldFormat:_0x5933c2,fieldId:_0x49918f}=_0x32421b,_0x20800={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x49918f,'format':_0x57d913};_0x4d5a40['push']({'id':Gt['id'],'params':_0x20800});const _0x2f6eb6={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x49918f,'format':_0x5933c2};_0xa38e3a[_0x307c50(0x21a)]({'id':Gt['id'],'params':_0x2f6eb6});}break;case _0x3254bb[_0x307c50(0xd0)]:{const {tableFieldId:_0x3f259b,oldSourceName:_0x11a421,newSourceName:_0x199efc,oldDataFieldId:_0x43e95b,newDataFieldId:_0x11898d}=_0x32421b,_0x4978dd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'tableFieldId':_0x3f259b,'sourceName':_0x199efc,'dataFieldId':_0x11898d};_0x4d5a40[_0x307c50(0xc1)]({'id':Zt['id'],'params':_0x4978dd});const _0xe26ded={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'tableFieldId':_0x3f259b,'sourceName':_0x11a421,'dataFieldId':_0x43e95b};_0xa38e3a[_0x307c50(0x21a)]({'id':Zt['id'],'params':_0xe26ded});}break;case _0x3254bb[_0x307c50(0x17e)]:{const {fieldId:_0x201e7d,filterInfo:_0x3ec0bd,oldFilterInfo:_0x4c2cb8}=_0x32421b,_0xc5c0b5={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x201e7d,'filterInfo':_0x3ec0bd};_0x4d5a40[_0x307c50(0xc1)]({'id':Qt['id'],'params':_0xc5c0b5});const _0x221247={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x201e7d,'filterInfo':_0x4c2cb8};_0xa38e3a[_0x307c50(0x21a)]({'id':Qt['id'],'params':_0x221247});}}return{'redos':_0x4d5a40,'undos':_0xa38e3a};}function _e(_0x15dc60,_0x491c1c){const _0x322afc=_0xff08f;var _0x428642;const _0x41cc0c=_0x15dc60[_0x322afc(0x235)](ie),{cellInfo:_0x59d16c,view:_0xc13de4,isEmpty:_0x453151}=_0x491c1c;return(_0x428642=_0x41cc0c[_0x322afc(0x198)][_0x322afc(0x20a)]($o)(To,{'cellInfo':_0x59d16c,'view':_0xc13de4,'isEmpty':_0x453151}))!=null?_0x428642:To;}const us=()=>typeof process<'u'&&process[_0xff08f(0x311)]!=null&&process[_0xff08f(0x311)][_0xff08f(0x2e5)]!=null,Ct={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0xd1),'handler'(_0x474f80,_0x13e3fa){const _0x7845ea=_0xff08f;var _0x33c596;if(!_0x13e3fa)return!0x1;const _0x388f37=_0x474f80[_0x7845ea(0x235)](_0x56c73b);if(!!_0x388f37[_0x7845ea(0x181)](q))return!0x0;const _0x28ed16=_0x474f80[_0x7845ea(0x235)](_0x5838cd),_0x4049db=_0x474f80[_0x7845ea(0x235)]($),{pivotTableId:_0x30caad,pivotTableConfig:_0xe6c180,collectionConfig:_0x32a828,unitId:_0x555f61,subUnitId:_0x3b1d75}=_0x13e3fa,{sourceRangeInfo:_0x1c0759,fieldsConfig:_0x511499,targetCellInfo:_0x3c1d26}=_0xe6c180,_0x2b2fb0=_0x28ed16[_0x7845ea(0x2cf)](_0x555f61);if(!_0x2b2fb0||!_0x2b2fb0[_0x7845ea(0x2c4)](_0x3b1d75))return!0x1;if(!us()){let _0x2d4087=0x0;_0x2b2fb0[_0x7845ea(0x220)]()[_0x7845ea(0x1b9)](_0x53ee72=>{const _0x5f4e84=_0x7845ea;var _0x381ac8,_0x3953ba;_0x2d4087+=(_0x3953ba=(_0x381ac8=_0x4049db[_0x5f4e84(0x17c)](_0x555f61,_0x53ee72[_0x5f4e84(0x8d)]()))==null?void 0x0:_0x381ac8[_0x5f4e84(0x129)])!=null?_0x3953ba:0x0;});const _0x3b4efc=(_0x33c596=_0x388f37[_0x7845ea(0x181)](_0x1e231c))!=null?_0x33c596:{},{ls:_0x33de69,pbk:_0x58b763}=_0x3b4efc;if(!Go(_0x33de69,_0x58b763))throw new _0x51b14d(_0x7845ea(0x1d9));const _0x40718e=go(so,_0x33de69,_0x58b763)['count'];if(_0x2d4087>=_0x40718e)throw new _0x51b14d(_0x7845ea(0x1d9));}if(!_0x32a828||!_0x511499)return!0x1;const {collection:_0x4219b2,updateDataFieldList:_0xd58c59}=_0x4049db[_0x7845ea(0xef)](_0x30caad,_0x32a828,_0x1c0759,_0x3c1d26);_0x4049db[_0x7845ea(0x15d)](_0x4219b2,_0xd58c59,_0x1c0759);const _0x48d291=new _0x55f99e(_0x4219b2,void 0x0,_0x30caad);_0x48d291[_0x7845ea(0x111)](_0x511499);const _0x32b467=JSON['parse'](JSON[_0x7845ea(0x16c)](_0xe6c180));return _0x4049db[_0x7845ea(0x2ac)](_0x555f61,_0x3b1d75,_0x30caad,_0x48d291,_0x32b467),_0x4049db[_0x7845ea(0x2cb)]({'unitId':_0x555f61,'subUnitId':_0x3b1d75,'token':_0x30caad,'type':K['Add'],'pivotConfig':_0x32b467}),!0x0;}},Et={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1e5),'handler'(_0x275acb,_0x44af1e){const _0x936692=_0xff08f;if(!_0x44af1e)return!0x1;if(!!_0x275acb[_0x936692(0x235)](_0x56c73b)[_0x936692(0x181)](q))return!0x0;const {pivotTableId:_0x20467f,unitId:_0x471033,subUnitId:_0x403d43}=_0x44af1e,_0x5b5190=_0x275acb[_0x936692(0x235)]($);return _0x5b5190[_0x936692(0x215)](_0x471033,_0x403d43,_0x20467f)?(_0x5b5190[_0x936692(0x2cb)]({'unitId':_0x471033,'subUnitId':_0x403d43,'token':_0x20467f,'type':K[_0x936692(0xa6)]}),_0x5b5190['removePivotTable'](_0x471033,_0x403d43,_0x20467f),!0x0):!0x1;}},pt={'type':_0x36da7e['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x4e9d74,_0x4cb5e0){const _0x46cdd1=_0xff08f;if(!_0x4cb5e0)return!0x1;if(!!_0x4e9d74['get'](_0x56c73b)[_0x46cdd1(0x181)](q))return!0x0;const {pivotTableId:_0x4ba797,targetCellPosition:_0x15ab69,unitId:_0x4abc65,subUnitId:_0x3f1bf1}=_0x4cb5e0,_0x27219e=_0x4e9d74['get']($);if(!_0x27219e['getPivotTableInstance'](_0x4cb5e0[_0x46cdd1(0x2d8)]))return!0x1;const _0x24aaf4=_0x27219e[_0x46cdd1(0xe9)](_0x4ba797);if(!_0x24aaf4)return!0x1;const _0x5140c7=_0x27219e[_0x46cdd1(0x116)](_0x24aaf4[_0x46cdd1(0xad)],_0x4cb5e0[_0x46cdd1(0x2d8)]);if(!_0x5140c7)return!0x1;const _0x399f5e=_0x27219e[_0x46cdd1(0x215)](_0x24aaf4[_0x46cdd1(0xad)],_0x24aaf4[_0x46cdd1(0x174)],_0x4ba797);if(!_0x399f5e)return!0x1;const _0x2d343c=_0x336a3b[_0x46cdd1(0x1ca)](_0x399f5e);_0x2d343c[_0x46cdd1(0x177)]={'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'row':_0x15ab69[_0x46cdd1(0x108)],'col':_0x15ab69['col']};const _0x547a17=_0x5140c7[_0x46cdd1(0x137)]();if(_0x24aaf4['subUnitId']===_0x3f1bf1&&_0x24aaf4['unitId']===_0x4abc65)_0x27219e[_0x46cdd1(0x21f)](_0x4abc65,_0x3f1bf1,_0x4ba797,_0x2d343c),_0x27219e[_0x46cdd1(0x2cb)]({'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'token':_0x4ba797,'type':K[_0x46cdd1(0xd9)]});else{_0x27219e[_0x46cdd1(0x2cb)]({'unitId':_0x24aaf4[_0x46cdd1(0xad)],'subUnitId':_0x24aaf4[_0x46cdd1(0x174)],'token':_0x4ba797,'type':K[_0x46cdd1(0xa6)]}),_0x27219e['removePivotTable'](_0x24aaf4['unitId'],_0x24aaf4[_0x46cdd1(0x174)],_0x4ba797);const _0x518043=_0x27219e['addCollectionByJSON'](_0x4ba797,_0x547a17,_0x399f5e[_0x46cdd1(0x178)],_0x2d343c[_0x46cdd1(0x177)]),_0x296ab1=new _0x55f99e(_0x518043[_0x46cdd1(0x16f)],void 0x0,_0x4ba797);_0x296ab1['fromJSON'](_0x2d343c['fieldsConfig']),_0x27219e[_0x46cdd1(0x2ac)](_0x4abc65,_0x3f1bf1,_0x4ba797,_0x296ab1,_0x2d343c),_0x27219e['addDirtyPivotTable']({'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'token':_0x4ba797,'type':K[_0x46cdd1(0xf1)],'pivotConfig':_0x2d343c});}return!0x0;}},to={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x309),'handler'(_0x49bd33,_0x119013){const _0x9ff9c6=_0xff08f;if(!_0x119013)return!0x1;if(!!_0x49bd33[_0x9ff9c6(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x580bb1=_0x49bd33[_0x9ff9c6(0x235)]($),{pivotTableId:_0x8f3408,deleteIds:_0x2b71c6,collectionJSON:_0x408553,dataRangeInfo:_0x5a88fd,unitId:_0x1ec4fd,subUnitId:_0x2d4a71}=_0x119013,_0x39be40=_0x580bb1[_0x9ff9c6(0x191)](_0x8f3408),_0x43343c=_0x580bb1[_0x9ff9c6(0x215)](_0x1ec4fd,_0x2d4a71,_0x8f3408);if(!_0x39be40||!_0x43343c)return!0x1;const {collection:_0x3ce1f6,updateDataFieldList:_0x4ea23a}=_0x580bb1[_0x9ff9c6(0xef)](_0x8f3408,_0x408553,_0x5a88fd,_0x43343c[_0x9ff9c6(0x177)]);_0x580bb1[_0x9ff9c6(0x15d)](_0x3ce1f6,_0x4ea23a,_0x5a88fd),_0x39be40[_0x9ff9c6(0x130)](_0x3ce1f6);for(const _0x49f379 of _0x2b71c6)_0x580bb1[_0x9ff9c6(0x183)](_0x5a88fd[_0x9ff9c6(0xad)],_0x49f379);const _0x214c56=_0x580bb1[_0x9ff9c6(0x215)](_0x1ec4fd,_0x2d4a71,_0x8f3408);return _0x214c56[_0x9ff9c6(0x178)]=JSON['parse'](JSON['stringify'](_0x5a88fd)),_0x580bb1['addDirtyPivotTable']({'unitId':_0x1ec4fd,'subUnitId':_0x2d4a71,'token':_0x8f3408,'type':K['Set']}),!0x0;}},Ut={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x230),'handler'(){return!0x0;}};var fs=Object[_0xff08f(0x1aa)],gs=(_0x362b15,_0x30a1c1,_0x386ac9,_0x1099b8)=>{const _0x2e02b5=_0xff08f;for(var _0x261223=_0x1099b8>0x1?void 0x0:_0x1099b8?fs(_0x30a1c1,_0x386ac9):_0x30a1c1,_0xdb16ae=_0x362b15[_0x2e02b5(0x1a8)]-0x1,_0xca7d12;_0xdb16ae>=0x0;_0xdb16ae--)(_0xca7d12=_0x362b15[_0xdb16ae])&&(_0x261223=_0xca7d12(_0x261223)||_0x261223);return _0x261223;},wo=(_0x542852,_0x11d02b)=>(_0x2633b0,_0x5c201f)=>_0x11d02b(_0x2633b0,_0x5c201f,_0x542852);let Z=class extends _0x51d9e7{constructor(_0x37f426,_0x47453d){const _0x1ed2a8=_0xff08f;super(),V(this,_0x1ed2a8(0x109),new Map()),(this[_0x1ed2a8(0x157)]=_0x37f426,this[_0x1ed2a8(0x260)]=_0x47453d);}['handleAsyncResponse'](_0x9cb051){const _0x464f60=_0xff08f,{version:_0x538af5}=_0x9cb051,_0x5b4637=this['_requestResolvers'][_0x464f60(0x235)](_0x538af5);_0x5b4637&&(_0x5b4637(_0x9cb051),this[_0x464f60(0x109)][_0x464f60(0x1e1)](_0x538af5));}[_0xff08f(0x27f)](_0x1fd2de){return new Promise((_0x17f15c,_0x365e44)=>{const _0x5d5804=_0x37bd,_0x20139f=this[_0x5d5804(0x114)]();this['_requestResolvers'][_0x5d5804(0x19f)](_0x20139f,_0x17f15c),this[_0x5d5804(0x260)]['executeCommand'](ro['id'],{'version':_0x20139f,..._0x1fd2de},{'onlyLocal':!0x0});});}[_0xff08f(0x114)](){const _0x54e62c=_0xff08f;return Math[_0x54e62c(0x269)]()[_0x54e62c(0x265)](0x24)[_0x54e62c(0x9b)](0x2,0x10);}};Z=gs([wo(0x0,_0x351ec8(_0x8ab5d1)),wo(0x1,_0x351ec8(_0x596dde))],Z);const zo={'id':_0xff08f(0x156),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x31f12c,_0x21ba01)=>{const _0x576f0b=_0xff08f;if(!_0x21ba01)return!0x1;if(!!_0x31f12c[_0x576f0b(0x235)](_0x56c73b)[_0x576f0b(0x181)](q))return!0x0;const {pivotTableId:_0xb01fb1,fieldJSON:_0x4c8255,unitId:_0xd72da3,subUnitId:_0x2ca498}=_0x21ba01,_0x60c88c=_0x4bca1b[_0x576f0b(0x111)](_0x4c8255);if(!_0x60c88c)return!0x1;const _0x44bfdd=_0x31f12c[_0x576f0b(0x235)]($),_0x1ce9d7=_0x44bfdd[_0x576f0b(0x23a)](_0xd72da3),_0x3c7bfa=_0x1ce9d7['getCollection'](_0xb01fb1);_0x1ce9d7['addDataFieldWithoutUnitInfo'](_0x60c88c),_0x3c7bfa[_0x576f0b(0x263)](_0x60c88c[_0x576f0b(0x91)](),_0x60c88c[_0x576f0b(0x2de)]());const _0x7e4be9=_0x3c7bfa['getFieldById'](_0x60c88c[_0x576f0b(0x279)]());_0x7e4be9&&_0x60c88c['refreshGroupField'](_0x7e4be9);const _0x39bdee=_0x44bfdd[_0x576f0b(0x215)](_0xd72da3,_0x2ca498,_0xb01fb1);return _0x44bfdd['addDirtyPivotTable']({'unitId':_0xd72da3,'subUnitId':_0x2ca498,'token':_0xb01fb1,'type':K[_0x576f0b(0xd9)],'pivotConfig':_0x39bdee}),!0x0;}},Qo={'id':_0xff08f(0xb3),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x4dca0c,_0x2fff1f)=>{const _0x2a4d33=_0xff08f;if(!_0x2fff1f)return!0x1;if(!!_0x4dca0c[_0x2a4d33(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const {pivotTableId:_0x5a71de,dataFieldId:_0x3fd67f,unitId:_0x18ab5b,subUnitId:_0x25f1a1}=_0x2fff1f,_0x409421=_0x4dca0c[_0x2a4d33(0x235)]($),_0x5b324b=_0x409421[_0x2a4d33(0x23a)](_0x18ab5b);_0x5b324b[_0x2a4d33(0x116)](_0x5a71de)[_0x2a4d33(0xdc)](_0x3fd67f);let _0x16c7ca=!0x0;for(const _0x61325d in _0x5b324b[_0x2a4d33(0x193)])if(_0x5b324b[_0x2a4d33(0x193)][_0x61325d][_0x2a4d33(0xcf)]()['includes'](_0x3fd67f)){_0x16c7ca=!0x1;break;}_0x16c7ca&&_0x5b324b[_0x2a4d33(0x127)](_0x3fd67f);const _0x3c7fcc=_0x409421['getPivotTableConfig'](_0x18ab5b,_0x25f1a1,_0x5a71de);return _0x409421[_0x2a4d33(0x2cb)]({'unitId':_0x18ab5b,'subUnitId':_0x25f1a1,'token':_0x5a71de,'type':K['Set'],'pivotConfig':_0x3c7fcc}),!0x0;}},vs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x134),async 'handler'(_0x1d438c,_0x5cba07){const _0x1b45be=_0xff08f;if(!_0x5cba07)return!0x1;const _0x578b7f=_0x1d438c[_0x1b45be(0x235)](_0x596dde),_0xaf8141=_0x1d438c['get'](Z),_0x192dc0=_0x1d438c['get'](_0x3fa4c8),{pivotTableId:_0x427211,dataFieldId:_0x492144,fieldArea:_0x257b10,index:_0x3de660,unitId:_0x3cad9c,subUnitId:_0x182281}=_0x5cba07,_0x1d2aa2=(await _0xaf8141['getPivotDisplayConfig']({'unitId':_0x3cad9c,'subUnitId':_0x182281,'pivotTableId':_0x427211,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x492144,'fieldArea':_0x257b10,'index':_0x3de660}}}))[_0x1b45be(0x180)][_0x1b45be(0xa3)];if(!_0x1d2aa2)return!0x1;const {view:_0x367b07,changesets:_0x15eddd,isEmpty:_0x4ed166,pivotTableConfig:_0x296033,shouldBeAddedGroupJSON:_0x2a37e2}=_0x1d2aa2,_0x3d3b4d=_0x296033[_0x1b45be(0x177)],_0x49c939=new _0x26d2cd();_0x49c939['formJSON'](_0x367b07);const _0x2b805b={'cellInfo':_0x3d3b4d,'view':_0x49c939,'isEmpty':_0x4ed166};if(!await _0x1d438c[_0x1b45be(0x235)](ie)[_0x1b45be(0x267)][_0x1b45be(0x1b1)](be)(!0x0,_0x2b805b))return!0x1;const _0x26c272=we(_0x1d438c,_0x49c939,_0x3d3b4d,_0x4ed166),_0x2f2c14=_e(_0x1d438c,_0x2b805b),{undos:_0x16eae0,redos:_0x41d535}=me(_0x578b7f,{'pivotTableId':_0x427211,'unitId':_0x3cad9c,'subUnitId':_0x182281},_0x15eddd);return _0x2a37e2&&(_0x41d535[_0x1b45be(0x21a)]({'id':zo['id'],'params':{'pivotTableId':_0x427211,'fieldJSON':_0x2a37e2,'unitId':_0x3cad9c,'subUnitId':_0x182281}}),_0x16eae0[_0x1b45be(0xc1)]({'id':Qo['id'],'params':{'pivotTableId':_0x427211,'dataFieldId':_0x2a37e2['id'],'unitId':_0x3cad9c,'subUnitId':_0x182281}})),_0x5f176d([..._0x26c272['redos'],..._0x2f2c14[_0x1b45be(0x2ed)],..._0x41d535],_0x578b7f),_0x192dc0['pushUndoRedo']({'unitID':_0x3cad9c,'redoMutations':[..._0x26c272[_0x1b45be(0x2ed)],..._0x2f2c14[_0x1b45be(0x2ed)],..._0x41d535],'undoMutations':[..._0x26c272[_0x1b45be(0x160)],..._0x2f2c14['undos'],..._0x16eae0]}),!0x0;}},hs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x2c8),async 'handler'(_0x366ad6,_0x3474e8){const _0x4c1870=_0xff08f;if(!_0x3474e8)return!0x1;const {sourceDataInfo:_0x372465,pivotTableConfig:_0x5866a4}=_0x3474e8;if(!_0x372465||!_0x5866a4)return!0x1;const {unitId:_0x1ad961,subUnitId:_0x4b7608,range:_0x3da0f7}=_0x372465,_0x284e62=_0x366ad6[_0x4c1870(0x235)](_0x5838cd),_0x1dc79f=_0x366ad6[_0x4c1870(0x235)](Z),_0x52d2b9=_0x366ad6[_0x4c1870(0x235)](_0x1ca3ab),_0x595a6e=_0x366ad6[_0x4c1870(0x235)](_0x596dde),_0x1bfd66=_0x284e62[_0x4c1870(0x2cf)](_0x1ad961);if(!_0x1bfd66)return!0x1;const _0x3e4016=_0x1bfd66[_0x4c1870(0x2c4)](_0x4b7608);if(!_0x3e4016)return!0x1;const _0x5c3ff6=_0x440537(0x8),_0x3dde38=_0x3da0f7||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3e4016[_0x4c1870(0x209)]()-0x1,'endColumn':_0x3e4016[_0x4c1870(0x1a7)]()-0x1};_0x3dde38[_0x4c1870(0xfc)]=_0x2875ee['NORMAL'];const _0x4207ff=(await _0x1dc79f[_0x4c1870(0x27f)]({'unitId':_0x1ad961,'subUnitId':_0x4b7608,'pivotTableId':_0x5c3ff6,'params':{'type':k[_0x4c1870(0x1f0)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x1ad961,'sheetName':_0x3e4016[_0x4c1870(0x2de)](),'subUnitId':_0x4b7608,'range':_0x3dde38},'pivotTableId':_0x5c3ff6,'pivotTableIndexConfig':_0x5866a4}}}))[_0x4c1870(0x180)][_0x4c1870(0x13a)];if(!_0x4207ff)return!0x1;const {isEmpty:_0x1f1f7c,fieldsConfig:_0x491013,collectionConfig:_0x4b8732,changesets:_0x5a33e0}=_0x4207ff,_0x5f3538=_0x1bfd66['getSheets']()[_0x4c1870(0x1a8)],_0x5caa18=_0xca9a85({'rowCount':_0x3e4016[_0x4c1870(0x209)]()-0x1,'columnCount':_0x3e4016[_0x4c1870(0x1a7)]()-0x1});_0x5caa18['id']=_0x241bdb(),_0x5caa18[_0x4c1870(0x246)]=_0x1bfd66[_0x4c1870(0x284)](''+_0x52d2b9['t'](_0x4c1870(0x150)));const _0x5e4aa8={'index':_0x5f3538,'sheet':_0x5caa18,'unitId':_0x1ad961},{redos:_0x30462c}=me(_0x595a6e,{'pivotTableId':_0x5c3ff6,'unitId':_0x1ad961,'subUnitId':_0x5caa18['id']},_0x5a33e0),_0x778b79=[{'id':_0x17c903['id'],'params':_0x5e4aa8},{'id':Ct['id'],'params':{'unitId':_0x1ad961,'subUnitId':_0x5caa18['id'],'pivotTableId':_0x5c3ff6,'pivotTableConfig':{'isEmpty':_0x1f1f7c,'fieldsConfig':_0x491013,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x1ad961,'subUnitId':_0x5caa18['id']},'sourceRangeInfo':{'subUnitId':_0x4b7608,'unitId':_0x1ad961,'range':_0x3dde38,'sheetName':_0x3e4016[_0x4c1870(0x2de)]()}},'collectionConfig':_0x4b8732}},..._0x30462c];return _0x5f176d(_0x778b79,_0x595a6e),!0x0;}},ps={'type':_0x36da7e[_0xff08f(0xde)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x472738,_0x580173){const _0x5ae472=_0xff08f;var _0x359620,_0x28f7ad;const _0x1c6ccb=_0x472738[_0x5ae472(0x235)](_0x596dde),_0xdf0428=_0x472738[_0x5ae472(0x235)](_0x5838cd),_0x464f95=_0x472738[_0x5ae472(0x235)](_0x1ca3ab),_0x2f9e6e=_0x472738[_0x5ae472(0x235)](Z),_0x2125b1=_0x472738['get'](_0x3fa4c8),_0x2a0c16=_0x472738[_0x5ae472(0x235)](he),_0x1dee63=_0x472738[_0x5ae472(0x235)](_0x56c73b);if(!_0x580173)return!0x1;const {pivotTableConfig:_0x19aca3,positionType:_0x2e285e}=_0x580173,{targetCellInfo:_0x35d97c,sourceRangeInfo:_0x11427a}=_0x19aca3,{unitId:_0x4ca349,subUnitId:_0x5aa613}=_0x35d97c,_0x81d657=_0xdf0428[_0x5ae472(0x2cf)](_0x4ca349);if(!_0x81d657)return!0x1;let _0x5b146c=0x0;_0x81d657[_0x5ae472(0x220)]()[_0x5ae472(0x1b9)](_0x48b8bf=>{const _0x5f1428=_0x5ae472;var _0x1dff9c,_0x24b8ba;_0x5b146c+=(_0x24b8ba=(_0x1dff9c=_0x2a0c16[_0x5f1428(0x17c)](_0x4ca349,_0x48b8bf[_0x5f1428(0x8d)]()))==null?void 0x0:_0x1dff9c[_0x5f1428(0x129)])!=null?_0x24b8ba:0x0;});const _0x59a8fc=(_0x359620=_0x1dee63[_0x5ae472(0x181)](_0x1e231c))!=null?_0x359620:{},{ls:_0xf2d70b,pbk:_0x834e9c}=_0x59a8fc;if(!Go(_0xf2d70b,_0x834e9c))return!0x1;const _0x3a7d04=go(so,_0xf2d70b,_0x834e9c)['count'];if(_0x5b146c>=_0x3a7d04)return!0x1;const _0x83127e=_0x580173[_0x5ae472(0x2d8)]||_0x440537(0x8),_0x4c0447=(await _0x2f9e6e[_0x5ae472(0x27f)]({'unitId':_0x4ca349,'subUnitId':_0x5aa613,'pivotTableId':_0x83127e,'params':{'type':k[_0x5ae472(0x122)],'addPivotTable':{'sourceRangeInfo':_0x11427a,'pivotTableId':_0x83127e}}}))[_0x5ae472(0x180)][_0x5ae472(0x2ac)];if(!_0x4c0447)return!0x1;const {view:_0x30b090,isEmpty:_0x588328,fieldsConfig:_0x1cb43f,collectionConfig:_0x523b28}=_0x4c0447,_0x61b253=[],_0x5da1ef=[];if(_0x2e285e===Lo[_0x5ae472(0x2f6)]){const _0x2ef0f2=_0x81d657['getSheets']()['length'],_0x596286=_0xca9a85({});_0x596286['id']=_0x19aca3['targetCellInfo']['subUnitId'],_0x596286[_0x5ae472(0x246)]=(_0x28f7ad=_0x19aca3['targetCellInfo'][_0x5ae472(0xb6)])!=null?_0x28f7ad:_0x81d657[_0x5ae472(0x284)](''+_0x464f95['t']('sheets.tabs.sheet'));const _0x2c0a5d={'index':_0x2ef0f2,'sheet':_0x596286,'unitId':_0x4ca349},_0x729c03=_0xe74cff(_0x472738,_0x2c0a5d);_0x61b253[_0x5ae472(0xc1)]({'id':_0x784ca5['id'],'params':_0x729c03}),_0x5da1ef[_0x5ae472(0xc1)]({'id':_0x53bf66['id'],'params':_0x2c0a5d});}else{if(!_0x81d657[_0x5ae472(0x2c4)](_0x5aa613))return!0x1;const _0x36dc82=we(_0x472738,new _0x26d2cd(),_0x35d97c,!0x0);_0x5da1ef[_0x5ae472(0xc1)](..._0x36dc82[_0x5ae472(0x2ed)]),_0x61b253[_0x5ae472(0xc1)](..._0x36dc82[_0x5ae472(0x160)]);const _0x325216={'cellInfo':_0x35d97c,'view':_0x30b090,'isEmpty':_0x588328};if(!await _0x472738[_0x5ae472(0x235)](ie)[_0x5ae472(0x267)][_0x5ae472(0x1b1)](be)(!0x0,_0x325216))return!0x1;const _0xd67a75=_e(_0x472738,_0x325216);_0x5da1ef[_0x5ae472(0xc1)](..._0xd67a75[_0x5ae472(0x2ed)]),_0x61b253[_0x5ae472(0xc1)](..._0xd67a75[_0x5ae472(0x160)]);}return _0x5da1ef[_0x5ae472(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x35d97c['unitId'],'subUnitId':_0x35d97c['subUnitId'],'pivotTableId':_0x83127e,'pivotTableConfig':{'targetCellInfo':_0x35d97c,'sourceRangeInfo':_0x11427a,'fieldsConfig':_0x1cb43f},'collectionConfig':_0x523b28}}),_0x61b253[_0x5ae472(0x21a)]({'id':Et['id'],'params':{'unitId':_0x4ca349,'subUnitId':_0x5aa613,'pivotTableId':_0x83127e}}),_0x5f176d(_0x5da1ef,_0x1c6ccb)&&_0x2125b1[_0x5ae472(0x206)]({'unitID':_0x4ca349,'undoMutations':_0x61b253,'redoMutations':_0x5da1ef}),!0x0;}},ms={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x21c),async 'handler'(_0x283f27,_0x1ed5e3){const _0x5efeb8=_0xff08f;if(!_0x1ed5e3)return!0x1;const _0x32468e=_0x283f27[_0x5efeb8(0x235)](_0x596dde),_0x20bf07=_0x283f27[_0x5efeb8(0x235)](Z),_0x3dfb4c=_0x283f27[_0x5efeb8(0x235)](_0x3fa4c8),{pivotTableId:_0xf9cabd,fieldId:_0x3cf94a,area:_0x4d0443,index:_0x2fb50b,unitId:_0x44b379,subUnitId:_0x1f9810}=_0x1ed5e3,_0x1d3761=(await _0x20bf07[_0x5efeb8(0x27f)]({'unitId':_0x44b379,'subUnitId':_0x1f9810,'pivotTableId':_0xf9cabd,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x3cf94a,'area':_0x4d0443,'index':_0x2fb50b}}}))[_0x5efeb8(0x180)][_0x5efeb8(0x26c)];if(!_0x1d3761)return!0x1;const {changesets:_0x5e6903,view:_0x4d8f46,isEmpty:_0x494c8d,pivotTableConfig:_0x40ff14}=_0x1d3761,_0x357df8=_0x40ff14[_0x5efeb8(0x177)],_0x8208ce=new _0x26d2cd();_0x8208ce[_0x5efeb8(0x165)](_0x4d8f46);const _0x129987={'cellInfo':_0x357df8,'view':_0x8208ce,'isEmpty':_0x494c8d};if(!await _0x283f27['get'](ie)[_0x5efeb8(0x267)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x129987))return!0x1;const _0x471534=we(_0x283f27,_0x8208ce,_0x357df8,_0x494c8d),_0x17a1a2=_e(_0x283f27,_0x129987),{redos:_0x7917c8,undos:_0x4a5a04}=me(_0x32468e,{'pivotTableId':_0xf9cabd,'unitId':_0x44b379,'subUnitId':_0x1f9810},_0x5e6903);return _0x5f176d([..._0x471534['redos'],..._0x17a1a2[_0x5efeb8(0x2ed)],..._0x7917c8],_0x32468e),_0x3dfb4c['pushUndoRedo']({'unitID':_0x44b379,'redoMutations':[..._0x471534[_0x5efeb8(0x2ed)],..._0x17a1a2[_0x5efeb8(0x2ed)],..._0x7917c8],'undoMutations':[..._0x471534[_0x5efeb8(0x160)],..._0x17a1a2['undos'],..._0x4a5a04]}),!0x0;}},Is={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x30b),async 'handler'(_0x378bc7,_0x31d735){const _0x29708d=_0xff08f;var _0x1cf12f;if(!_0x31d735)return!0x1;const _0x3980c8=_0x378bc7[_0x29708d(0x235)](_0x5838cd),_0x1b0bd6=_0x32bc51(_0x3980c8);if(!_0x1b0bd6)return!0x1;const {unitId:_0x427ae2,subUnitId:_0x1db1d5,workbook:_0x112898}=_0x1b0bd6,{row:_0x3c2011,col:_0x16f634}=_0x31d735,_0x552cd8=_0x378bc7[_0x29708d(0x235)](Ne),_0x5b24d7=_0x552cd8[_0x29708d(0x249)](_0x427ae2,_0x1db1d5,_0x3c2011,_0x16f634);if(!_0x5b24d7)return!0x1;const _0x58c0ca=(_0x1cf12f=_0x552cd8[_0x29708d(0x153)](_0x427ae2,_0x1db1d5,_0x5b24d7))==null?void 0x0:_0x1cf12f[_0x29708d(0x142)];if(!_0x58c0ca)return!0x1;const _0x3d8729=_0x378bc7['get'](he)[_0x29708d(0x215)](_0x427ae2,_0x1db1d5,_0x5b24d7);if(!_0x3d8729)return!0x1;const {rowInfo:_0x90c058,colInfo:_0x2f3c4e}=_0x58c0ca,_0x187c9e=_0x90c058[_0x3c2011][_0x29708d(0x12e)],_0x5e33e2=_0x2f3c4e[_0x16f634][_0x29708d(0x12e)],_0x2f1876=_0x90c058[_0x3c2011][_0x29708d(0x1d0)],_0x365b3a=_0x2f3c4e[_0x16f634][_0x29708d(0x1d0)],_0x18064e=_0x187c9e[_0x29708d(0x182)](_0x5e33e2),_0x3cea21=_0x3d8729[_0x29708d(0x27b)][_0x29708d(0x221)][_0x29708d(0x1c5)](0x0,_0x2f1876),_0x5a8dde=_0x3d8729[_0x29708d(0x27b)][_0x29708d(0x2cd)][_0x29708d(0x1c5)](0x0,_0x365b3a),_0x219daa=_0x3cea21[_0x29708d(0x182)](_0x5a8dde),_0xe2ff5b=_0x18064e[_0x29708d(0x207)]((_0x5afb72,_0x6db6f7)=>[_0x5afb72,_0x219daa[_0x6db6f7]]),_0x22206a=(await _0x378bc7[_0x29708d(0x235)](Z)['getPivotDisplayConfig']({'unitId':_0x427ae2,'subUnitId':_0x1db1d5,'pivotTableId':_0x5b24d7,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0xe2ff5b}}}))[_0x29708d(0x180)]['drillDown'];if(!_0x22206a)return!0x1;const {indexes:_0x58c789,range:_0x24face,sourceUnitId:_0x2deb19,sourceSubUnitId:_0x1a0b44,formatMap:_0x8f71be}=_0x22206a,{startRow:_0x1ff138,endRow:_0xc26f36,startColumn:_0x2edae9,endColumn:_0x2b7536}=_0x24face,_0x4c6023=new _0x3beae7(),_0x4534c8=_0xc26f36-_0x1ff138,_0x1240de=_0x2b7536-_0x2edae9,_0x192d99={},_0x5ceb34=_0x32bc51(_0x3980c8,{'unitId':_0x2deb19,'subUnitId':_0x1a0b44});if(!_0x5ceb34)return!0x1;const _0x47b9e5=fe[_0x29708d(0xdf)],_0x50750c=fe[_0x29708d(0x1a5)],_0x20a6cf=fe[_0x29708d(0x1a5)],_0x2c5405=_0x112898[_0x29708d(0xab)]()[_0x29708d(0x17b)](_0x47b9e5),_0x2e71f0=_0x112898[_0x29708d(0xab)]()[_0x29708d(0x17b)](_0x50750c),_0x45c7fa=_0x112898['getStyles']()[_0x29708d(0x17b)](_0x20a6cf),{worksheet:_0x3090ce}=_0x5ceb34;let _0x392653=0x0;const _0x9f8d59=0x1;_0x58c789[_0x29708d(0x1b9)](_0x3c2cdc=>{const _0x225d0f=_0x29708d;for(let _0x51f3a8=0x0;_0x51f3a8<=_0x2b7536-_0x2edae9;_0x51f3a8++)_0x4c6023['setValue'](_0x392653,_0x51f3a8,_0x3090ce[_0x225d0f(0x243)](_0x3c2cdc+_0x24face[_0x225d0f(0x2d2)]+_0x9f8d59,_0x51f3a8));_0x392653++;});for(let _0x212a00=_0x2edae9;_0x212a00<=_0x2b7536;_0x212a00++){const _0x3908e8=_0x3090ce['getCellRaw'](_0x1ff138,_0x212a00);_0x192d99[_0x1ff138]||(_0x192d99[_0x1ff138]={}),_0x192d99[_0x1ff138][_0x212a00]={..._0x3908e8,'s':_0x2c5405};}let _0x140e0c=0x1;const _0x51070a={},_0xd32249={};_0x4c6023['forRow']((_0x511830,_0x57b91a)=>{_0x57b91a['forEach'](_0x1ad2c0=>{const _0x5867bb=_0x37bd,_0x334d03=_0x4c6023['getValue'](_0x511830,_0x1ad2c0);if(_0x192d99[_0x140e0c]||(_0x192d99[_0x140e0c]={}),_0x192d99[_0x140e0c][_0x1ad2c0]={..._0x334d03,'s':_0x140e0c%0x2===0x0?_0x45c7fa:_0x2e71f0},_0x8f71be[_0x1ad2c0]&&_0x511830>=0x0){const _0x452b90=_0x140e0c%0x2===0x0;let _0x4bba79=_0x452b90?_0xd32249[_0x1ad2c0]:_0x51070a[_0x1ad2c0];_0x4bba79||(_0x4bba79=_0x112898[_0x5867bb(0xab)]()[_0x5867bb(0x17b)]({..._0x452b90?_0x20a6cf:_0x50750c,'n':{'pattern':_0x8f71be[_0x1ad2c0]}}),_0x452b90?_0xd32249[_0x1ad2c0]=_0x4bba79:_0x51070a[_0x1ad2c0]=_0x4bba79),_0x192d99[_0x140e0c][_0x1ad2c0]['s']=_0x4bba79;}}),_0x140e0c++;});const _0x62258f=new _0x3beae7(_0x192d99),_0x3ac405={};_0x62258f[_0x29708d(0x187)]((_0xb015eb,_0x14322d,_0x1d2e73)=>{_0x3ac405[_0xb015eb]||(_0x3ac405[_0xb015eb]={}),_0x3ac405[_0xb015eb][_0x14322d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x59cd6b=[],_0x26afe4=[],_0xa8bf3f=_0x112898[_0x29708d(0x220)]()['length'],_0x153fe0=_0xca9a85({'rowCount':Math[_0x29708d(0x24c)](_0x19a53d,_0x4534c8+0xa),'columnCount':Math[_0x29708d(0x24c)](_0x35ac26,_0x1240de+0x5)}),_0x4dc077=_0x378bc7[_0x29708d(0x235)](_0x1ca3ab);_0x153fe0['id']=_0x241bdb(),_0x153fe0[_0x29708d(0x246)]=_0x112898[_0x29708d(0x284)](''+_0x4dc077['t'](_0x29708d(0x150)));const _0x4929af={'index':_0xa8bf3f,'sheet':_0x153fe0,'unitId':_0x427ae2},_0xeb082f=_0xe74cff(_0x378bc7,_0x4929af);_0x26afe4[_0x29708d(0xc1)]({'id':_0x53bf66['id'],'params':_0x4929af}),_0x59cd6b['push']({'id':_0x784ca5['id'],'params':_0xeb082f}),_0x26afe4['push']({'id':_0x540f88['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'cellValue':_0x192d99}}),_0x59cd6b[_0x29708d(0x21a)]({'id':_0x540f88['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'cellValue':_0x3ac405}});const _0x250a6e={'startRow':0x0,'startColumn':0x0,'endRow':_0x140e0c-0x1,'endColumn':_0x2b7536};_0x26afe4[_0x29708d(0xc1)]({'id':_0x1a3763['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'range':_0x250a6e}}),_0x59cd6b[_0x29708d(0x21a)]({'id':_0x4c5dd9['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id']}});const _0x1260e2=_0x378bc7[_0x29708d(0x235)](_0x596dde);return _0x5f176d(_0x26afe4,_0x1260e2)&&_0x378bc7[_0x29708d(0x235)](_0x3fa4c8)[_0x29708d(0x206)]({'unitID':_0x427ae2,'undoMutations':_0x59cd6b,'redoMutations':_0x26afe4}),!0x0;}},Cs={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x295),async 'handler'(_0x5bb5ea,_0x3d294e){const _0x573509=_0xff08f;if(!_0x3d294e)return!0x1;const _0x299b98=_0x5bb5ea[_0x573509(0x235)](_0x596dde),_0x3605b0=_0x5bb5ea[_0x573509(0x235)](Z),_0xe0931b=_0x5bb5ea[_0x573509(0x235)](_0x3fa4c8),{pivotTableId:_0x17557f,fieldIds:_0x4314bf,unitId:_0x3aa344,subUnitId:_0x491498}=_0x3d294e,_0x33f3a7=(await _0x3605b0[_0x573509(0x27f)]({'unitId':_0x3aa344,'subUnitId':_0x491498,'pivotTableId':_0x17557f,'params':{'type':k[_0x573509(0x212)],'removePivotField':{'fieldIds':_0x4314bf}}}))[_0x573509(0x180)][_0x573509(0x200)];if(!_0x33f3a7)return!0x1;const {view:_0x1f20b2,changesets:_0x3f73d8,isEmpty:_0x1b3ae9,pivotTableConfig:_0x350d7a}=_0x33f3a7,_0x14617a=_0x350d7a['targetCellInfo'],_0xe7fbe0=new _0x26d2cd();_0xe7fbe0[_0x573509(0x165)](_0x1f20b2);const _0x5eb065={'cellInfo':_0x14617a,'view':_0xe7fbe0,'isEmpty':_0x1b3ae9};if(!await _0x5bb5ea[_0x573509(0x235)](ie)['asyncInterceptor'][_0x573509(0x1b1)](be)(!0x0,_0x5eb065))return!0x1;const _0x175e9e=we(_0x5bb5ea,_0xe7fbe0,_0x14617a,_0x1b3ae9),_0x267672=_e(_0x5bb5ea,_0x5eb065),{redos:_0xde5414,undos:_0x50107f}=me(_0x299b98,{'pivotTableId':_0x17557f,'unitId':_0x3aa344,'subUnitId':_0x491498},_0x3f73d8);return _0x5f176d([..._0x175e9e['redos'],..._0x267672[_0x573509(0x2ed)],..._0xde5414],_0x299b98),_0xe0931b[_0x573509(0x206)]({'unitID':_0x3aa344,'redoMutations':[..._0x175e9e[_0x573509(0x2ed)],..._0x267672[_0x573509(0x2ed)],..._0xde5414],'undoMutations':[..._0x175e9e['undos'],..._0x267672[_0x573509(0x160)],..._0x50107f]}),!0x0;}},bs={'type':_0x36da7e['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x1000c9,_0x187c4d){const _0x496ae2=_0xff08f;var _0x3dae4d;const _0x1bb2f4=_0x1000c9['get'](_0x596dde),_0x5106e0=_0x1000c9['get'](Z),_0x3b63b3=_0x1000c9[_0x496ae2(0x235)](Ne),_0x3d2d73=_0x1000c9[_0x496ae2(0x235)](_0x5838cd),_0x316945=_0x1000c9[_0x496ae2(0x235)](_0x3fa4c8);if(!_0x187c4d)return!0x1;const {unitId:_0x2ea6ba,subUnitId:_0x6336b4,row:_0x561186,col:_0x3c335f,collapse:_0x51ca26}=_0x187c4d,_0x2c3489=_0x3d2d73[_0x496ae2(0x2cf)](_0x2ea6ba);if(!_0x2c3489||!_0x2c3489[_0x496ae2(0x2c4)](_0x6336b4))return!0x1;const _0x19a7b5=_0x3b63b3[_0x496ae2(0x249)](_0x2ea6ba,_0x6336b4,_0x561186,_0x3c335f);if(!_0x19a7b5)return!0x1;const _0x47dc67=_0x3b63b3[_0x496ae2(0x153)](_0x2ea6ba,_0x6336b4,_0x19a7b5);if(!_0x47dc67)return!0x1;const _0x4dd8ba=_0x1fea7f(_0x561186,_0x3c335f),{rangesInfo:_0x209260,areaInfo:_0x3c7b79,headerMap:_0x83c629}=_0x47dc67;if(!_0x209260||!_0x3c7b79||!_0x83c629)return!0x1;const _0x352aa4=Object[_0x496ae2(0x237)](_0x209260)[_0x496ae2(0x256)](_0x385bb3=>_0x209260[_0x385bb3]['some'](_0x26dcec=>_0x3356fe[_0x496ae2(0x291)](_0x26dcec,_0x4dd8ba)));let _0x32125d;_0x352aa4===_0x496ae2(0xe2)?_0x32125d=_0x83c629[_0x496ae2(0x2f5)][_0x3c335f]:_0x352aa4===_0x496ae2(0x1c7)&&(_0x32125d=_0x83c629[_0x496ae2(0xcb)][_0x561186]);const _0x43381b=_0x32125d==null?void 0x0:_0x32125d[_0x496ae2(0x195)],_0x261e6c=(_0x3dae4d=_0x3b63b3[_0x496ae2(0x259)](_0x2ea6ba,_0x6336b4,_0x561186,_0x3c335f))==null?void 0x0:_0x3dae4d['v'];if(_0x261e6c==null||!_0x19a7b5||!_0x43381b)return!0x1;const _0x45669d=await _0x5106e0[_0x496ae2(0x27f)]({'unitId':_0x2ea6ba,'subUnitId':_0x6336b4,'pivotTableId':_0x19a7b5,'params':{'type':k['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x43381b,'collapse':_0x51ca26,'item':_0x261e6c}}}),_0x10a2ec=_0x45669d==null?void 0x0:_0x45669d[_0x496ae2(0x180)]['setPivotCollapse'];if(!_0x10a2ec)return!0x1;const {view:_0x36c4e4,pivotTableConfig:_0x592c10,isEmpty:_0xa17d81,changesets:_0x2263ae}=_0x10a2ec,_0x58e3ec=new _0x26d2cd();_0x58e3ec[_0x496ae2(0x165)](_0x36c4e4);const _0x6a426c=_0x592c10['targetCellInfo'],_0x27a436={'cellInfo':_0x6a426c,'view':_0x58e3ec,'isEmpty':_0xa17d81};if(!await _0x1000c9[_0x496ae2(0x235)](ie)[_0x496ae2(0x267)][_0x496ae2(0x1b1)](be)(!0x0,_0x27a436))return!0x1;const _0x2d242e=we(_0x1000c9,_0x58e3ec,_0x6a426c,_0xa17d81),_0x400b64=_e(_0x1000c9,_0x27a436),{redos:_0x3e01dc,undos:_0x39e1e5}=me(_0x1bb2f4,{'pivotTableId':_0x19a7b5,'unitId':_0x2ea6ba,'subUnitId':_0x6336b4},_0x2263ae);return _0x5f176d([..._0x2d242e[_0x496ae2(0x2ed)],..._0x400b64[_0x496ae2(0x2ed)],..._0x3e01dc],_0x1bb2f4),_0x316945[_0x496ae2(0x206)]({'unitID':_0x2ea6ba,'redoMutations':[..._0x2d242e[_0x496ae2(0x2ed)],..._0x400b64[_0x496ae2(0x2ed)],..._0x3e01dc],'undoMutations':[..._0x2d242e[_0x496ae2(0x160)],..._0x400b64['undos'],..._0x39e1e5]}),!0x0;}},Ss={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x18e),async 'handler'(_0x3f961b,_0x251e64){const _0x24207a=_0xff08f;if(!_0x251e64)return!0x1;const _0x12da69=_0x3f961b[_0x24207a(0x235)](_0x596dde),{pivotTableId:_0x53c329,tableFieldId:_0x23232c,items:_0x2d7ed7,unitId:_0x4c352e,subUnitId:_0xebfcc0,isAll:_0x36aa89}=_0x251e64,_0xd61c21=_0x3f961b['get'](Z),_0xdcfe23=_0x3f961b['get'](_0x3fa4c8),_0x450295=(await _0xd61c21[_0x24207a(0x27f)]({'unitId':_0x4c352e,'subUnitId':_0xebfcc0,'pivotTableId':_0x53c329,'params':{'type':k[_0x24207a(0x16d)],'setPivotFilter':{'tableFieldId':_0x23232c,'items':_0x2d7ed7,'isAll':_0x36aa89}}}))['result'][_0x24207a(0x1fb)];if(!_0x450295)return!0x1;const {changesets:_0x4e1238,pivotTableConfig:_0x1fbdaa,isEmpty:_0x4f01dc,view:_0x4642d9}=_0x450295,_0x121dfb=_0x1fbdaa[_0x24207a(0x177)],_0x5be311=new _0x26d2cd();_0x5be311['formJSON'](_0x4642d9);const _0x153e33={'cellInfo':_0x121dfb,'view':_0x5be311,'isEmpty':_0x4f01dc};if(!await _0x3f961b['get'](ie)[_0x24207a(0x267)][_0x24207a(0x1b1)](be)(!0x0,_0x153e33))return!0x1;const _0x15df9e=we(_0x3f961b,_0x5be311,_0x121dfb,_0x4f01dc),_0x5a4648=_e(_0x3f961b,_0x153e33),{undos:_0x1c7d39,redos:_0x527e97}=me(_0x12da69,{'pivotTableId':_0x53c329,'unitId':_0x4c352e,'subUnitId':_0xebfcc0},_0x4e1238);return _0x5f176d([..._0x15df9e['redos'],..._0x5a4648[_0x24207a(0x2ed)],..._0x527e97],_0x12da69),_0xdcfe23[_0x24207a(0x206)]({'unitID':_0x4c352e,'redoMutations':[..._0x15df9e['redos'],..._0x5a4648[_0x24207a(0x2ed)],..._0x527e97],'undoMutations':[..._0x15df9e[_0x24207a(0x160)],..._0x5a4648[_0x24207a(0x160)],..._0x1c7d39]}),!0x0;}},Ts={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x10d),async 'handler'(_0x436f7e,_0x558587){const _0x35f0c1=_0xff08f;if(!_0x558587)return!0x1;const _0x1816a4=_0x436f7e['get'](_0x596dde),_0x366688=_0x436f7e[_0x35f0c1(0x235)](_0x3fa4c8),_0x2a5160=_0x436f7e[_0x35f0c1(0x235)](Z),{info:_0x4b6b12,tableFieldId:_0xa50b58,pivotTableId:_0xd0602a,unitId:_0x2c7d59,subUnitId:_0x1433d5}=_0x558587,_0x280139=(await _0x2a5160['getPivotDisplayConfig']({'unitId':_0x2c7d59,'subUnitId':_0x1433d5,'pivotTableId':_0xd0602a,'params':{'type':k[_0x35f0c1(0x2b7)],'setPivotSort':{'tableFieldId':_0xa50b58,'info':_0x4b6b12}}}))['result'][_0x35f0c1(0xf5)];if(!_0x280139)return!0x1;const {changesets:_0x11ac1f}=_0x280139,{redos:_0x1a2c4b,undos:_0x10b7ef}=me(_0x1816a4,{'pivotTableId':_0xd0602a,'unitId':_0x2c7d59,'subUnitId':_0x1433d5},_0x11ac1f);return _0x5f176d(_0x1a2c4b,_0x1816a4),_0x366688[_0x35f0c1(0x206)]({'unitID':_0x2c7d59,'redoMutations':_0x1a2c4b,'undoMutations':_0x10b7ef}),!0x0;}},Ps={'type':_0x36da7e['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x372e1e,_0x4c15ae){const _0x3a23d0=_0xff08f;if(!_0x4c15ae)return!0x1;const _0x11dd1=_0x372e1e['get'](_0x596dde),_0x4784a9=_0x372e1e['get'](_0x3fa4c8),_0x4f4e90=_0x372e1e[_0x3a23d0(0x235)](Z),{displayName:_0x1086f2,subtotalType:_0x59dac2,format:_0x22a50e,tableFieldId:_0x27f849,pivotTableId:_0x98b6ba,unitId:_0x22f24f,subUnitId:_0x371579}=_0x4c15ae,_0x5c7a1f=(await _0x4f4e90[_0x3a23d0(0x27f)]({'unitId':_0x22f24f,'subUnitId':_0x371579,'pivotTableId':_0x98b6ba,'params':{'type':k[_0x3a23d0(0x11e)],'setPivotSetting':{'tableFieldId':_0x27f849,'displayName':_0x1086f2,'subtotalType':_0x59dac2,'format':_0x22a50e}}}))[_0x3a23d0(0x180)][_0x3a23d0(0x2b2)];if(!_0x5c7a1f)return!0x1;const {changesets:_0x95d64e,view:_0x101a96,pivotTableConfig:_0x51b73d,isEmpty:_0xeddd80}=_0x5c7a1f,_0xc6ad2=_0x51b73d[_0x3a23d0(0x177)],_0x24acac=new _0x26d2cd();_0x24acac[_0x3a23d0(0x165)](_0x101a96);const _0x452f84={'cellInfo':_0xc6ad2,'view':_0x24acac,'isEmpty':_0xeddd80};if(!await _0x372e1e['get'](ie)['asyncInterceptor'][_0x3a23d0(0x1b1)](be)(!0x0,_0x452f84))return!0x1;const _0x18753b=we(_0x372e1e,_0x24acac,_0xc6ad2,_0xeddd80),_0x3d0ea9=_e(_0x372e1e,_0x452f84),{undos:_0x10e264,redos:_0x2599ba}=me(_0x11dd1,{'pivotTableId':_0x98b6ba,'unitId':_0x22f24f,'subUnitId':_0x371579},_0x95d64e);return _0x5f176d([..._0x18753b[_0x3a23d0(0x2ed)],..._0x3d0ea9[_0x3a23d0(0x2ed)],..._0x2599ba],_0x11dd1),_0x4784a9[_0x3a23d0(0x206)]({'unitID':_0x22f24f,'redoMutations':[..._0x18753b[_0x3a23d0(0x2ed)],..._0x3d0ea9[_0x3a23d0(0x2ed)],..._0x2599ba],'undoMutations':[..._0x18753b[_0x3a23d0(0x160)],..._0x3d0ea9[_0x3a23d0(0x160)],..._0x10e264]}),!0x0;}},Ms={'type':_0x36da7e['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4d95ee,_0xce2291){const _0x9adf84=_0xff08f,_0x465068=_0x4d95ee['get'](_0x596dde),_0x2bc97b=_0x4d95ee[_0x9adf84(0x235)](Z),_0x3d75cf=_0x4d95ee[_0x9adf84(0x235)](_0x3fa4c8);if(!_0xce2291)return!0x1;const {token:_0xc4cfaa,dataRangeInfo:_0x1ea0c1,unitId:_0x4514bd,subUnitId:_0x43f68f}=_0xce2291,_0x43704c=[],_0x49a081=[],_0x1ba1f7=(await _0x2bc97b[_0x9adf84(0x27f)]({'unitId':_0x4514bd,'subUnitId':_0x43f68f,'pivotTableId':_0xc4cfaa,'params':{'type':k[_0x9adf84(0x26b)],'updatePivotSource':{'dataRangeInfo':_0x1ea0c1,'unitId':_0x4514bd,'subUnitId':_0x43f68f}}}))[_0x9adf84(0x180)][_0x9adf84(0x286)];if(!_0x1ba1f7)return!0x1;const {changesets:_0x1a5e8a,deleteIds:_0x44a12b,collectionConfig:_0x17387f,oldCollectionConfig:_0x3c8ef0,view:_0x112a33,isEmpty:_0x305f44,pivotTableConfig:_0xe038c7}=_0x1ba1f7;_0x49a081[_0x9adf84(0xc1)]({'id':to['id'],'params':{'pivotTableId':_0xc4cfaa,'deleteIds':_0x44a12b,'collectionJSON':_0x17387f,'dataRangeInfo':_0x1ea0c1,'unitId':_0x4514bd,'subUnitId':_0x43f68f}}),_0x43704c[_0x9adf84(0x21a)]({'id':to['id'],'params':{'pivotTableId':_0xc4cfaa,'deleteIds':[],'collectionJSON':_0x3c8ef0,'dataRangeInfo':_0xe038c7['sourceRangeInfo'],'unitId':_0x4514bd,'subUnitId':_0x43f68f}});const _0x301ba9=_0xe038c7[_0x9adf84(0x177)],_0x223207=new _0x26d2cd();_0x223207[_0x9adf84(0x165)](_0x112a33);const _0x210321={'cellInfo':_0x301ba9,'view':_0x223207,'isEmpty':_0x305f44};if(!await _0x4d95ee[_0x9adf84(0x235)](ie)['asyncInterceptor'][_0x9adf84(0x1b1)](be)(!0x0,_0x210321))return!0x1;const _0x10f4aa=we(_0x4d95ee,_0x223207,_0x301ba9,_0x305f44),_0x4edc62=_e(_0x4d95ee,_0x210321),{undos:_0xfcdae7,redos:_0x262ee7}=me(_0x465068,{'pivotTableId':_0xc4cfaa,'unitId':_0x4514bd,'subUnitId':_0x43f68f},_0x1a5e8a);return _0x5f176d([..._0x10f4aa[_0x9adf84(0x2ed)],..._0x4edc62[_0x9adf84(0x2ed)],..._0x49a081,..._0xfcdae7],_0x465068),_0x3d75cf['pushUndoRedo']({'unitID':_0x4514bd,'redoMutations':[..._0x10f4aa['redos'],..._0x4edc62[_0x9adf84(0x2ed)],..._0x49a081,..._0xfcdae7],'undoMutations':[..._0x10f4aa[_0x9adf84(0x160)],..._0x4edc62[_0x9adf84(0x160)],..._0x43704c,..._0x262ee7]}),!0x0;}},ys={'type':_0x36da7e['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x509ecb,_0x192e34){const _0x2438cb=_0xff08f;if(!_0x192e34)return!0x1;const _0x1f9a86=_0x509ecb['get'](_0x596dde),_0x5ee24a=_0x509ecb[_0x2438cb(0x235)](Z),_0x39db3b=_0x509ecb[_0x2438cb(0x235)](_0x5838cd),_0x14f9eb=_0x509ecb[_0x2438cb(0x235)](_0x3fa4c8),{pivotTableId:_0x169cf9,position:_0x540194,index:_0x3083cd}=_0x192e34,_0x340810=_0x32bc51(_0x39db3b);if(!_0x340810)return!0x1;const {unitId:_0x3878d6,subUnitId:_0x4bc1b5}=_0x340810,_0x3d0b1c=(await _0x5ee24a['getPivotDisplayConfig']({'unitId':_0x3878d6,'subUnitId':_0x4bc1b5,'pivotTableId':_0x169cf9,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x540194,'index':_0x3083cd}}}))[_0x2438cb(0x180)][_0x2438cb(0x11c)];if(!_0x3d0b1c)return!0x1;const {changesets:_0x10e12c,view:_0x741101,isEmpty:_0x2ee9c6,pivotTableConfig:_0x6b4e9}=_0x3d0b1c,_0x5305d8=_0x6b4e9[_0x2438cb(0x177)],_0x1ec9eb=new _0x26d2cd();_0x1ec9eb[_0x2438cb(0x165)](_0x741101);const _0xa5781a=_0x509ecb[_0x2438cb(0x235)](ie),_0x2cda8c={'cellInfo':_0x5305d8,'view':_0x1ec9eb,'isEmpty':_0x2ee9c6};if(!await _0xa5781a[_0x2438cb(0x267)][_0x2438cb(0x1b1)](be)(!0x0,_0x2cda8c))return!0x1;const _0x5500a5=we(_0x509ecb,_0x1ec9eb,_0x5305d8,_0x2ee9c6),_0x302a81=_e(_0x509ecb,_0x2cda8c),{undos:_0x48a46d,redos:_0x2a87e0}=me(_0x1f9a86,{'pivotTableId':_0x169cf9,'unitId':_0x3878d6,'subUnitId':_0x4bc1b5},_0x10e12c);return _0x5f176d([..._0x5500a5[_0x2438cb(0x2ed)],..._0x302a81['redos'],..._0x2a87e0],_0x1f9a86),_0x14f9eb[_0x2438cb(0x206)]({'unitID':_0x3878d6,'redoMutations':[..._0x5500a5[_0x2438cb(0x2ed)],..._0x302a81[_0x2438cb(0x2ed)],..._0x2a87e0],'undoMutations':[..._0x5500a5[_0x2438cb(0x160)],..._0x302a81[_0x2438cb(0x160)],..._0x48a46d]}),!0x0;}},ws={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x123),'handler':(_0x3233f9,_0xc707e)=>{const _0x5a6e5d=_0xff08f,_0x1d4341=_0x3233f9[_0x5a6e5d(0x235)](_0x596dde),_0x186d68=_0x3233f9[_0x5a6e5d(0x235)](_0x3fa4c8),_0x4b73e4=_0x3233f9['get'](he),_0x4fba08=_0x3233f9['get'](_0x5838cd);if(!_0xc707e)return!0x1;const _0x2654d8=_0x32bc51(_0x4fba08);if(!_0x2654d8)return!0x1;const {unitId:_0x2e4daa,subUnitId:_0x45db87,workbook:_0x449291}=_0x2654d8,_0x358b72=_0x4b73e4['getPivotTableConfig'](_0xc707e[_0x5a6e5d(0x163)][_0x5a6e5d(0xad)],_0xc707e['originTargetInfo'][_0x5a6e5d(0x174)],_0xc707e[_0x5a6e5d(0x2d8)]);if(!_0x358b72)return!0x1;const _0xf0893d=_0x449291['getSheetBySheetId'](_0xc707e['targetCellInfo'][_0x5a6e5d(0x174)]);if(!_0xf0893d)throw new Error(_0x5a6e5d(0xb7));const _0x7f072=_0xf0893d[_0x5a6e5d(0x209)](),_0x390d96=_0xf0893d[_0x5a6e5d(0x1a7)]();if(_0xc707e['targetCellInfo'][_0x5a6e5d(0x108)]>_0x7f072||_0xc707e[_0x5a6e5d(0x177)][_0x5a6e5d(0x247)]>_0x390d96)throw new Error(_0x5a6e5d(0xaf));const _0xabe020=[{'id':pt['id'],'params':{'unitId':_0x2e4daa,'subUnitId':_0xc707e['targetCellInfo'][_0x5a6e5d(0x174)],'pivotTableId':_0xc707e[_0x5a6e5d(0x2d8)],'targetCellPosition':{'row':_0xc707e[_0x5a6e5d(0x177)][_0x5a6e5d(0x108)],'col':_0xc707e['targetCellInfo'][_0x5a6e5d(0x247)]}}}],_0x1ac5bc=[{'id':pt['id'],'params':{'unitId':_0x2e4daa,'subUnitId':_0x45db87,'pivotTableId':_0xc707e[_0x5a6e5d(0x2d8)],'targetCellPosition':{'row':_0x358b72[_0x5a6e5d(0x177)]['row'],'col':_0x358b72[_0x5a6e5d(0x177)][_0x5a6e5d(0x247)]}}}];return _0x5f176d(_0xabe020,_0x1d4341)&&_0x186d68[_0x5a6e5d(0x206)]({'unitID':_0x2e4daa,'undoMutations':_0x1ac5bc,'redoMutations':_0xabe020}),!0x0;}},_s={'type':_0x36da7e[_0xff08f(0xde)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0xbac2e2,_0x18b9fa){const _0xb534de=_0xff08f;if(!_0x18b9fa)return!0x1;const _0x5861c6=_0xbac2e2[_0xb534de(0x235)](_0x596dde),{pivotTableId:_0x1905e1,fieldId:_0x3ed0b6,valueFilterInfo:_0x5ebe85,unitId:_0x52741a,subUnitId:_0x431ea8}=_0x18b9fa,_0x47cb37=_0xbac2e2[_0xb534de(0x235)](Z),_0x1906c8=_0xbac2e2[_0xb534de(0x235)](_0x3fa4c8),_0x34dd58=(await _0x47cb37[_0xb534de(0x27f)]({'unitId':_0x52741a,'subUnitId':_0x431ea8,'pivotTableId':_0x1905e1,'params':{'type':k[_0xb534de(0x1e3)],'setValuePivotFilter':{'tableFieldId':_0x3ed0b6,'filterInfo':_0x5ebe85}}}))[_0xb534de(0x180)][_0xb534de(0xfb)];if(!_0x34dd58)return!0x1;const {changesets:_0x19eb65,pivotTableConfig:_0x5405ee,isEmpty:_0x526806,view:_0x3ddaf0}=_0x34dd58,_0x1012cd=_0x5405ee[_0xb534de(0x177)],_0x376e41=new _0x26d2cd();_0x376e41['formJSON'](_0x3ddaf0);const _0x4b72b4={'cellInfo':_0x1012cd,'view':_0x376e41,'isEmpty':_0x526806};if(!await _0xbac2e2[_0xb534de(0x235)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4b72b4))return!0x1;const _0x9bbb52=we(_0xbac2e2,_0x376e41,_0x1012cd,_0x526806),_0x1b189a=_e(_0xbac2e2,_0x4b72b4),{undos:_0x1289e2,redos:_0x1ccbe3}=me(_0x5861c6,{'pivotTableId':_0x1905e1,'unitId':_0x52741a,'subUnitId':_0x431ea8},_0x19eb65);return _0x5f176d([..._0x9bbb52[_0xb534de(0x2ed)],..._0x1b189a[_0xb534de(0x2ed)],..._0x1ccbe3],_0x5861c6),_0x1906c8[_0xb534de(0x206)]({'unitID':_0x52741a,'redoMutations':[..._0x9bbb52['redos'],..._0x1b189a[_0xb534de(0x2ed)],..._0x1ccbe3],'undoMutations':[..._0x9bbb52[_0xb534de(0x160)],..._0x1b189a['undos'],..._0x1289e2]}),!0x0;}},Fs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x107),async 'handler'(_0x404edd,_0x826e8a){const _0x3e841f=_0xff08f;if(!_0x826e8a)return!0x1;const _0x183174=_0x404edd[_0x3e841f(0x235)](_0x596dde),_0x4a4852=_0x404edd[_0x3e841f(0x235)](_0x3fa4c8),_0x31985d=_0x404edd[_0x3e841f(0x235)](Z),{pivotTableConfig:_0x3076c7,pivotTableId:_0x40996b,unitId:_0x5ad849,subUnitId:_0x13ee66}=_0x826e8a,_0x1e7128=(await _0x31985d[_0x3e841f(0x27f)]({'unitId':_0x5ad849,'subUnitId':_0x13ee66,'pivotTableId':_0x40996b,'params':{'type':k[_0x3e841f(0x2eb)],'setPivotTableConfig':{'pivotTableId':_0x40996b,'pivotTableConfig':_0x3076c7}}}))[_0x3e841f(0x180)][_0x3e841f(0x18a)];if(!_0x1e7128)return!0x1;const {changesets:_0x3d6211}=_0x1e7128,{redos:_0x1a57c3,undos:_0x321e47}=me(_0x183174,{'pivotTableId':_0x40996b,'unitId':_0x5ad849,'subUnitId':_0x13ee66},_0x3d6211);return _0x5f176d(_0x1a57c3,_0x183174),_0x4a4852[_0x3e841f(0x206)]({'unitID':_0x5ad849,'redoMutations':_0x1a57c3,'undoMutations':_0x321e47}),!0x0;}},Rs={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x203),async 'handler'(_0x569216,_0x1cdb3a){const _0x519393=_0xff08f;if(!_0x1cdb3a)return!0x1;const _0x572d97=_0x569216['get'](_0x596dde),_0x3ad045=_0x569216[_0x519393(0x235)](_0x3fa4c8),_0x2e94d4=_0x569216['get'](Z),{resetArea:_0x1840ad,pivotTableId:_0x2c2260,unitId:_0x21efd5,subUnitId:_0x3d85dc}=_0x1cdb3a,_0x271dcc=(await _0x2e94d4[_0x519393(0x27f)]({'unitId':_0x21efd5,'subUnitId':_0x3d85dc,'pivotTableId':_0x2c2260,'params':{'type':k['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x2c2260,'resetArea':_0x1840ad}}}))['result'][_0x519393(0x202)];if(!_0x271dcc)return!0x1;const {changesets:_0x1c5377}=_0x271dcc,{redos:_0x4b4779,undos:_0x934606}=me(_0x572d97,{'pivotTableId':_0x2c2260,'unitId':_0x21efd5,'subUnitId':_0x3d85dc},_0x1c5377);return _0x5f176d(_0x4b4779,_0x572d97),_0x3ad045[_0x519393(0x206)]({'unitID':_0x21efd5,'redoMutations':_0x4b4779,'undoMutations':_0x934606}),!0x0;}},oo={'id':_0xff08f(0x26f),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x591be8,_0x5f0250)=>{const _0x5f5b1a=_0xff08f;if(!_0x5f0250)return!0x1;if(!!_0x591be8[_0x5f5b1a(0x235)](_0x56c73b)[_0x5f5b1a(0x181)](q))return!0x0;const {unitId:_0x2a90e4,subUnitId:_0x3f6201,pivotTableId:_0x1ab58d,tableFieldId:_0x57b665,dateType:_0x4e1898}=_0x5f0250,_0x174bc7=_0x591be8[_0x5f5b1a(0x235)]($),_0x3c9ec5=_0x174bc7[_0x5f5b1a(0x191)](_0x1ab58d);if(!_0x3c9ec5)return!0x1;const _0x204cc8=_0x3c9ec5[_0x5f5b1a(0xa2)](_0x57b665);if(!_0x204cc8)return!0x1;const _0x1c0f04=_0x204cc8[_0x5f5b1a(0x279)](),_0x395d58=_0x3c9ec5[_0x5f5b1a(0x261)](_0x1c0f04),_0x37a7ce=(_0x395d58==null?void 0x0:_0x395d58[_0x5f5b1a(0x2de)]())+'\x20'+qo(_0x591be8,_0x4e1898);_0x174bc7[_0x5f5b1a(0x116)](_0x2a90e4,_0x1ab58d)[_0x5f5b1a(0x306)](_0x204cc8['id'],_0x37a7ce);const _0x2a1e6f=_0x3c9ec5[_0x5f5b1a(0xe1)](_0x57b665);if(!_0x2a1e6f)return!0x1;_0x3c9ec5[_0x5f5b1a(0x1a0)](_0x2a1e6f['getId'](),_0x37a7ce),_0x204cc8['setDateType'](_0x4e1898);const _0x3d0fa4=_0x174bc7[_0x5f5b1a(0x215)](_0x2a90e4,_0x3f6201,_0x1ab58d);return _0x174bc7['addDirtyPivotTable']({'unitId':_0x2a90e4,'subUnitId':_0x3f6201,'token':_0x1ab58d,'type':K[_0x5f5b1a(0xd9)],'pivotConfig':_0x3d0fa4}),!0x0;}},Ds={'id':_0xff08f(0x217),'type':_0x36da7e['COMMAND'],'handler':(_0xbe2a50,_0x5cba54)=>{const _0x4ea9fd=_0xff08f;if(!_0x5cba54)return!0x1;const _0x133b43=_0xbe2a50[_0x4ea9fd(0x235)](_0x3fa4c8),{unitId:_0x54e2cc,subUnitId:_0xa76148,pivotTableId:_0x2a7b7b,tableFieldId:_0x31a193}=_0x5cba54,_0x3766d9=[],_0x59b7bd=[],_0x3e215d=_0xbe2a50[_0x4ea9fd(0x235)](he),_0x1c1965=_0x3e215d[_0x4ea9fd(0x116)](_0x54e2cc,_0x2a7b7b),_0x3d6185=_0x3e215d[_0x4ea9fd(0x215)](_0x54e2cc,_0xa76148,_0x2a7b7b);if(!(_0x3d6185!=null&&_0x3d6185[_0x4ea9fd(0x27b)][_0x4ea9fd(0x190)]))return!0x1;const _0x3690c6=Object[_0x4ea9fd(0x293)](_0x3d6185[_0x4ea9fd(0x27b)]['dimension'])[_0x4ea9fd(0x256)](_0xfd8940=>_0xfd8940['id']===_0x31a193);if(!_0x3690c6)return!0x1;const _0x274810=_0x3690c6[_0x4ea9fd(0x144)];if(!(_0x1c1965!=null&&_0x1c1965[_0x4ea9fd(0x2f3)]))return!0x1;const _0xaaf884=Object[_0x4ea9fd(0x293)](_0x1c1965==null?void 0x0:_0x1c1965[_0x4ea9fd(0x2f3)])[_0x4ea9fd(0x256)](_0x3d6df0=>_0x3d6df0['id']===_0x274810);if(!_0xaaf884)return!0x1;_0x496b03(_0xaaf884)&&_0x3766d9[_0x4ea9fd(0xc1)]({'id':oo['id'],'params':{..._0x5cba54,'dateType':_0xaaf884[_0x4ea9fd(0x298)]}}),_0x59b7bd[_0x4ea9fd(0xc1)]({'id':oo['id'],'params':{..._0x5cba54}});const _0x5059b7=_0xbe2a50[_0x4ea9fd(0x235)](_0x596dde);return _0x5f176d(_0x59b7bd,_0x5059b7)&&_0x133b43[_0x4ea9fd(0x206)]({'unitID':_0x54e2cc,'undoMutations':_0x3766d9,'redoMutations':_0x59b7bd}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x45de6,_0x37f6bd,_0x4de56b,_0x51264a)=>{const _0x2ddf70=_0xff08f;for(var _0x36f7f6=_0x51264a>0x1?void 0x0:_0x51264a?Ns(_0x37f6bd,_0x4de56b):_0x37f6bd,_0x3a97c5=_0x45de6[_0x2ddf70(0x1a8)]-0x1,_0x486e80;_0x3a97c5>=0x0;_0x3a97c5--)(_0x486e80=_0x45de6[_0x3a97c5])&&(_0x36f7f6=_0x486e80(_0x36f7f6)||_0x36f7f6);return _0x36f7f6;},He=(_0x445049,_0x513cc5)=>(_0x300afc,_0x5baa61)=>_0x513cc5(_0x300afc,_0x5baa61,_0x445049);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0xbe68c5,_0x3cd8a6,_0x32be5c)=>{const _0x817d5c=_0xff08f,_0x1ac171=_0xbe68c5[_0x817d5c(0x149)];_0xbe68c5[_0x817d5c(0x1ec)](_0x39928e=>{const _0x4b5dc4=_0x817d5c,_0x3f1b0b=_0x39928e[_0x4b5dc4(0x91)](),_0xc70b40=_0x39928e['getDataFieldId'](),_0x5019a2=_0x39928e[_0x4b5dc4(0x15b)](),_0x17b7cf=_0x39928e[_0x4b5dc4(0x14c)]();_0x3cd8a6[_0xc70b40]&&_0x3cd8a6[_0xc70b40]===_0x17b7cf&&_0x5019a2===_0x17b7cf&&(_0xbe68c5[_0x4b5dc4(0x1a0)](_0x3f1b0b,_0x1ac171[_0x4b5dc4(0x14c)](_0xc70b40)),_0x39928e[_0x4b5dc4(0x28e)](_0x1ac171[_0x4b5dc4(0x14c)](_0xc70b40)));}),_0xbe68c5[_0x817d5c(0xf7)](_0x2849b6[_0x817d5c(0x24e)],_0x4c49a8=>{const _0x545db0=_0x817d5c,_0x52880f=_0x4c49a8[_0x545db0(0x91)](),_0x47c613=_0x4c49a8[_0x545db0(0x2a6)](),_0x4c5116=_0x4c49a8[_0x545db0(0x15b)](),_0x3f434c=_0x4c49a8['getDisplayName'](),_0x32f87f=_0x4c49a8[_0x545db0(0x106)](),_0x1b7178=_0x32be5c(_0x4c5116,_0x32f87f);_0x3cd8a6[_0x47c613]&&_0x3cd8a6[_0x47c613]===_0x4c5116&&_0x1b7178===_0x3f434c&&(_0xbe68c5[_0x545db0(0x1a0)](_0x52880f,_0x32be5c(_0x1ac171[_0x545db0(0x14c)](_0x47c613),_0x32f87f)),_0x4c49a8[_0x545db0(0x28e)](_0x1ac171['getDisplayName'](_0x47c613)));});},Es=(_0x2620f3,_0x3d19a7,_0x59a84)=>{const _0xc2408e=_0xff08f;var _0x407bb2,_0x3d9be5;const {arrayFormulaCellData:_0x1c9b87,unitData:_0x32f147}=_0x3d19a7,{unitId:_0x471679,subUnitId:_0x14e5f2}=_0x59a84,_0x5ec941=_0x59a84['range'],{startColumn:_0x1f708f,endColumn:_0x27cbb5}=_0x5ec941,_0x5a207a=(_0x407bb2=_0x1c9b87==null?void 0x0:_0x1c9b87[_0x471679])==null?void 0x0:_0x407bb2[_0x14e5f2],_0x2c10ae=(_0x3d9be5=_0x32f147==null?void 0x0:_0x32f147[_0x471679])==null?void 0x0:_0x3d9be5[_0x14e5f2],_0x4c4e1b=new Set(),_0x490b6d=_0x27cbb5-_0x1f708f+0x1,{dirtyRanges:_0x1b6272}=_0x2620f3;if(_0x1b6272)for(const {range:_0x41e29b,sheetId:_0x36acfa,unitId:_0x40d484}of _0x1b6272){if(_0x36acfa!==_0x14e5f2||_0x471679!==_0x40d484)continue;const _0x2cddd8=_0x3356fe['getIntersects'](_0x41e29b,_0x5ec941);if(_0x2cddd8){const {startColumn:_0x37ebf4,endColumn:_0x387707}=_0x2cddd8;for(let _0x5eed94=_0x37ebf4;_0x5eed94<=_0x387707;_0x5eed94++)_0x4c4e1b[_0xc2408e(0x15c)](_0x5eed94);}}if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d||_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)return Array[_0xc2408e(0x232)](_0x4c4e1b);if(_0x2c10ae){const _0x1f1ff2=_0x2c10ae[_0xc2408e(0x210)](),_0x5bdf4c=Object[_0xc2408e(0x237)](_0x1f1ff2);for(const _0x4bb64d of _0x5bdf4c){const _0x111234=Number(_0x4bb64d),_0x2b4a89=_0x1f1ff2[_0x111234];if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)break;for(const _0x566b22 in _0x2b4a89){const _0x56c3ef=Number(_0x566b22);_0x56c3ef<_0x1f708f||_0x56c3ef>_0x27cbb5||_0x4c4e1b[_0xc2408e(0x15c)](_0x56c3ef);}}}if(_0x5a207a){const _0x569f65=_0x5a207a[_0xc2408e(0x210)](),_0x53bd7a=Object['keys'](_0x569f65);for(const _0x152b33 of _0x53bd7a){const _0x5a5abe=Number(_0x152b33),_0x1de6d8=_0x569f65[_0x5a5abe];if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)break;for(const _0x4c2233 in _0x1de6d8){const _0x388347=Number(_0x4c2233);_0x388347<_0x1f708f||_0x388347>_0x27cbb5||_0x4c4e1b[_0xc2408e(0x15c)](_0x388347);}}}return Array[_0xc2408e(0x232)](_0x4c4e1b);},Os=_0x482b2b=>{const _0x5e9347=_0xff08f,_0x7f1e85=new Set(),_0x1d3593=[];for(const _0x4ef377 of _0x482b2b){const _0x5a2ec1=_0x4ef377['startRow']+','+_0x4ef377['endRow']+','+_0x4ef377[_0x5e9347(0x136)]+','+_0x4ef377[_0x5e9347(0x1fe)];_0x7f1e85['has'](_0x5a2ec1)||(_0x7f1e85['add'](_0x5a2ec1),_0x1d3593[_0x5e9347(0xc1)](_0x4ef377));}return _0x1d3593;};let ct=class extends _0x51d9e7{constructor(_0x2659a3,_0x16852b,_0x146e5e,_0x5de226,_0x4865d9,_0xb7b58b){const _0x3ab7a0=_0xff08f;super(),V(this,'_globalSubject',new _0x3b2e28(!0x0)),V(this,_0x3ab7a0(0x139),_0x1d0993=>{const _0x180578=_0x3ab7a0;this[_0x180578(0x26a)]['next'](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x202851=>{const _0x3de2ce=_0x3ab7a0;this[_0x3de2ce(0x26a)]['next'](!0x0);}),(this[_0x3ab7a0(0x9a)]=_0x2659a3,this[_0x3ab7a0(0x2e7)]=_0x16852b,this[_0x3ab7a0(0xfd)]=_0x146e5e,this[_0x3ab7a0(0x260)]=_0x5de226,this[_0x3ab7a0(0x2ef)]=_0x4865d9,this[_0x3ab7a0(0x157)]=_0xb7b58b,this[_0x3ab7a0(0x238)](),this[_0x3ab7a0(0x24b)]());}['_init'](){const _0x58c92a=_0xff08f;this[_0x58c92a(0x23d)](),this[_0x58c92a(0x2a7)](),this[_0x58c92a(0x192)](),this[_0x58c92a(0x168)]();}[_0xff08f(0x250)](){const _0x191f5b=_0xff08f;this[_0x191f5b(0x2ef)][_0x191f5b(0xe3)](this['_globalSubject']),_0x55f99e[_0x191f5b(0x282)](_0x992d99['onQueryStart'],this[_0x191f5b(0x139)]),_0x55f99e[_0x191f5b(0x282)](_0x992d99[_0x191f5b(0x9e)],this[_0x191f5b(0xbe)]);}[_0xff08f(0x24b)](){const _0x3c442e=_0xff08f;this[_0x3c442e(0x1ab)](this['_commandService'][_0x3c442e(0x1bc)](_0x1a194e=>{const _0x549465=_0x3c442e;_0x1a194e['id']===_0x4a8609['id']&&this[_0x549465(0x9a)]['handleMoveRange'](_0x1a194e[_0x549465(0x2bf)]);})),this[_0x3c442e(0x1ab)](this['_commandService'][_0x3c442e(0x1bc)](_0x510651=>{const _0x2e36c2=_0x3c442e;if(_0x510651['id']!==ro['id'])return;const _0x326e08=_0x510651[_0x2e36c2(0x2bf)],{unitId:_0x45b3d5,subUnitId:_0x43cc39,pivotTableId:_0x184c57}=_0x326e08,_0x501064=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x11a)],_0x487ce2={};switch(_0x501064){case k[_0x2e36c2(0x216)]:{const _0x5536e4=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x251)];if(!_0x5536e4)return;const {row:_0x4de005,col:_0x50f459,cellData:_0x4d0126,pivotItemRenderInfoCache:_0x490afa,tableFieldId:_0x2f0248}=_0x5536e4,_0x4b7dc2=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x326e08[_0x2e36c2(0x2d8)]);if(!_0x4b7dc2||!_0x490afa)return;if(_0x2f0248){const _0x45861c=_0x4b7dc2['getDataFieldByTableId'](_0x2f0248);if(!_0x45861c)return;_0x487ce2[_0x2e36c2(0x251)]={..._0x4b7dc2['getDataFieldItemInfo'](_0x45861c),'tableFieldId':_0x2f0248,'pivotTableId':_0x326e08[_0x2e36c2(0x2d8)],'filterInfo':_0x4b7dc2[_0x2e36c2(0x227)](_0x2f0248),'sortInfo':_0x4b7dc2['getSortInfo'](_0x2f0248),'format':_0x4b7dc2[_0x2e36c2(0x119)](_0x2f0248)};}else{const _0x513082=Ei(_0x4de005,_0x50f459,_0x4d0126,_0x4b7dc2,_0x490afa),_0x4b2b7b=_0x513082==null?void 0x0:_0x513082['filterId'];if(!_0x4b2b7b)return;const _0x51634b=_0x4b7dc2['getDataFieldByTableId'](_0x4b2b7b);if(!_0x51634b)return;_0x487ce2[_0x2e36c2(0x251)]={..._0x4b7dc2[_0x2e36c2(0x2be)](_0x51634b),'tableFieldId':_0x4b2b7b,'pivotTableId':_0x326e08[_0x2e36c2(0x2d8)],'filterInfo':_0x4b7dc2[_0x2e36c2(0x227)](_0x4b2b7b),'sortInfo':_0x4b7dc2[_0x2e36c2(0x239)](_0x4b2b7b),'format':_0x4b7dc2[_0x2e36c2(0x119)](_0x4b2b7b)};}}break;case k['Panel']:{const _0xe82e62=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x140)];if(!_0xe82e62)return;const {pivotTableId:_0x53c966}=_0xe82e62,_0x3c5231=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x53c966);if(!_0x3c5231)return;const _0x15d033=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x53c966),_0x3db5c4=Oi(_0x3c5231,_0x53c966,_0x15d033);_0x487ce2['panel']=_0x3db5c4;}break;case k[_0x2e36c2(0x13d)]:{const _0x5999b3=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x22d5b0=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x45b3d5),_0x368b81=_0x22d5b0[_0x2e36c2(0x116)](_0x184c57);let _0x1ed1df=null;const _0x103965=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57),_0x308175=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0xa3)];if(!_0x5999b3||!_0x103965||!_0x308175)return!0x1;const {dataFieldId:_0x5e008e,fieldArea:_0x792bfb,index:_0x1ef6f2}=_0x308175;_0x5999b3['startCollectChangeset']();const _0x12117e=_0x5999b3['addFieldWithSourceId'](_0x5e008e,_0x792bfb,_0x1ef6f2);if(_0x12117e&&_0x792bfb===_0x2849b6[_0x2e36c2(0x24e)]){const _0x17bdcd=_0x12117e[_0x2e36c2(0x91)](),_0xc6fa26=_0x5999b3['getDataFieldByTableId'](_0x17bdcd);if(_0xc6fa26){const _0x4de516=_0xc6fa26==null?void 0x0:_0xc6fa26[_0x2e36c2(0x176)]();_0x5999b3['setSubtotalType'](_0x12117e[_0x2e36c2(0x91)](),_0x4de516===_0x1b4e62['number']?_0x4b7c50[_0x2e36c2(0x126)]:_0x4b7c50['count']);}const _0x326e72=_0x5999b3[_0x2e36c2(0x14f)](),_0x5f3f17=_0x5999b3[_0x2e36c2(0x22c)](),_0x1463f9=_0x5999b3[_0x2e36c2(0x211)](_0x2849b6[_0x2e36c2(0x24e)]);if(_0x326e72===-0x1&&_0x1463f9>0x1){const _0x306566=_0x5f3f17===_0x244351[_0x2e36c2(0xa0)]?_0x244351[_0x2e36c2(0xb8)]:_0x5f3f17,_0x225cbb=_0x306566===_0x244351[_0x2e36c2(0x1a2)]?_0x2849b6['Row']:_0x2849b6[_0x2e36c2(0xb8)];_0x5999b3[_0x2e36c2(0x11c)](_0x306566,_0x5999b3[_0x2e36c2(0x211)](_0x225cbb));}}else{if(_0x12117e&&(_0x792bfb===_0x2849b6[_0x2e36c2(0x1a2)]||_0x792bfb===_0x2849b6[_0x2e36c2(0xb8)])){const _0x1e2f48=_0x12117e[_0x2e36c2(0x91)](),_0x1daafe=_0x5999b3[_0x2e36c2(0xa2)](_0x1e2f48);if(_0x1daafe&&(_0x1daafe==null?void 0x0:_0x1daafe['getFieldDataType']())===_0x1b4e62[_0x2e36c2(0x2ce)]){const _0x2237a3=_0x1daafe[_0x2e36c2(0x28a)]();if(_0x2237a3&&_0x5999b3[_0x2e36c2(0x258)](_0x12117e[_0x2e36c2(0x91)](),_0x2237a3),!_0x368b81[_0x2e36c2(0xcf)]()['some'](_0xa72933=>{const _0x729bdf=_0x2e36c2,_0x4cf54e=_0x368b81[_0x729bdf(0x25a)](_0xa72933);return _0x3a6e01(_0x4cf54e)?_0x4cf54e['getFieldInfo']()[_0x729bdf(0x1f6)]===_0x5e008e:!0x1;})){const _0x333c4c=_0x22d5b0[_0x2e36c2(0x24f)](),_0x3b049a=Wi(_0x1daafe[_0x2e36c2(0xca)],_0x1daafe['minDate']),_0x5d2343=_0x1daafe[_0x2e36c2(0x2de)]()+_0x2e36c2(0xf3)+qo(this[_0x2e36c2(0x157)],_0x3b049a),_0x37dacf=new _0x1cbdbb(_0x333c4c,_0x5d2343,_0x440537(0x3),_0x1daafe[_0x2e36c2(0x91)](),_0x3b049a);_0x22d5b0[_0x2e36c2(0x171)](_0x37dacf),_0x368b81['addField'](_0x333c4c,_0x5d2343),_0x5999b3[_0x2e36c2(0x170)](_0x333c4c,_0x792bfb,(_0x1ef6f2!=null?_0x1ef6f2:0x0)+0x1),_0x1ed1df=_0x37dacf;}}}}const _0x35c8f1=_0x5999b3[_0x2e36c2(0x234)](),_0x2ab829=_0x5999b3[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)]();let _0x4e7ab0;if(_0x1ed1df){_0x4e7ab0=_0x1ed1df[_0x2e36c2(0x137)]();const _0x12d075=_0x1ed1df[_0x2e36c2(0x91)]();_0x368b81['deleteField'](_0x12d075);let _0x296858=!0x0;for(const _0x2a8f8b in _0x22d5b0[_0x2e36c2(0x193)])if(_0x22d5b0[_0x2e36c2(0x193)][_0x2a8f8b][_0x2e36c2(0xcf)]()[_0x2e36c2(0x1ad)](_0x12d075)){_0x296858=!0x1;break;}_0x296858&&_0x22d5b0['deleteDataField'](_0x12d075);}const _0x2854ac=_0x5999b3[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0xa3)]={'view':_0x2ab829,'changesets':_0x2854ac,'isEmpty':_0x35c8f1,'pivotTableConfig':_0x103965,'shouldBeAddedGroupJSON':_0x4e7ab0};}break;case k[_0x2e36c2(0x122)]:{const _0x58ff86=_0x326e08[_0x2e36c2(0x2bf)]['addPivotTable'];if(!_0x58ff86)return;const _0x5104f7=_0x58ff86['sourceRangeInfo'],_0x9b7da0=_0x58ff86[_0x2e36c2(0x2d8)],{collection:_0x51772c}=this[_0x2e36c2(0x9a)]['createCollectionWithDataRange']({'unitId':_0x5104f7[_0x2e36c2(0xad)],'sheetName':_0x5104f7[_0x2e36c2(0xb6)],'subUnitId':_0x5104f7[_0x2e36c2(0x174)],'range':_0x5104f7['range']}),_0x1be8d1=new _0x55f99e(_0x51772c,void 0x0,_0x9b7da0),_0x3ee466=_0x1be8d1[_0x2e36c2(0x128)](),_0xd454a9=_0x1be8d1['toJSON'](),_0x16e8f7=_0x51772c[_0x2e36c2(0x137)]();_0x487ce2[_0x2e36c2(0x2ac)]={'view':_0x3ee466,'fieldsConfig':_0xd454a9,'collectionConfig':_0x16e8f7,'isEmpty':_0x1be8d1[_0x2e36c2(0x234)]()};}break;case k[_0x2e36c2(0x1b2)]:{const _0x47650b=_0x326e08['params'][_0x2e36c2(0x26c)];if(!_0x47650b)return;const {fieldId:_0x5f35f1,area:_0x2ad599,index:_0x69915c}=_0x47650b,_0x4507cc=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x4507cc)return;const _0x515102=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57);if(!_0x515102)return;_0x515102[_0x2e36c2(0x1d8)]();const {area:_0x28df89,index:_0x10c445}=_0x515102[_0x2e36c2(0x162)](_0x5f35f1);if(_0x515102[_0x2e36c2(0x147)](_0x5f35f1,_0x2ad599,_0x69915c),_0x2ad599===_0x2849b6[_0x2e36c2(0x24e)]&&_0x515102[_0x2e36c2(0xe1)](_0x5f35f1)[_0x2e36c2(0x106)]()===void 0x0){const _0x3e2ec2=_0x515102[_0x2e36c2(0xe1)](_0x5f35f1);if(_0x3e2ec2&&_0x3e2ec2[_0x2e36c2(0x106)]()===void 0x0){const _0x2e437d=_0x515102[_0x2e36c2(0xa2)](_0x5f35f1);if(_0x2e437d){const _0x55e4f4=_0x2e437d==null?void 0x0:_0x2e437d[_0x2e36c2(0x176)]();_0x515102[_0x2e36c2(0x2c1)](_0x5f35f1,_0x55e4f4===_0x1b4e62[_0x2e36c2(0x2b1)]?_0x4b7c50['sum']:_0x4b7c50['count']);}}}const _0x549995=_0x515102[_0x2e36c2(0x22c)](),_0x57c93e=_0x515102[_0x2e36c2(0x14f)](),_0x3deb57=_0x515102[_0x2e36c2(0x211)](_0x2849b6['Value'])>0x1;if(_0x3deb57&&_0x28df89===_0x2ad599&&(_0x2ad599===_0x2849b6['Row']&&_0x549995===_0x244351['Row']||_0x2ad599===_0x2849b6['Column']&&_0x549995===_0x244351[_0x2e36c2(0xb8)])){let _0x2ffed3=_0x57c93e;_0x10c445<=_0x57c93e&&_0x2ffed3--,_0x69915c<=_0x57c93e&&_0x2ffed3++,_0x515102['updateValuePosition'](_0x549995,_0x2ffed3);}else _0x3deb57&&(_0x28df89===_0x2849b6[_0x2e36c2(0x1a2)]&&_0x549995===_0x244351[_0x2e36c2(0x1a2)]||_0x28df89===_0x2849b6[_0x2e36c2(0xb8)]&&_0x549995===_0x244351[_0x2e36c2(0xb8)])&&_0x57c93e>=_0x10c445&&_0x515102['updateValuePosition'](_0x549995,_0x57c93e-0x1),_0x3deb57&&(_0x2ad599===_0x2849b6[_0x2e36c2(0x1a2)]&&_0x549995===_0x244351[_0x2e36c2(0x1a2)]||_0x2ad599===_0x2849b6[_0x2e36c2(0xb8)]&&_0x549995===_0x244351[_0x2e36c2(0xb8)])&&_0x57c93e>=_0x69915c&&_0x515102[_0x2e36c2(0x11c)](_0x549995,_0x57c93e+0x1);const _0x52a2aa=_0x515102[_0x2e36c2(0x128)](),_0x3cd006=_0x515102[_0x2e36c2(0x234)](),_0x1b5187=_0x515102[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x26c)]={'view':_0x52a2aa[_0x2e36c2(0x137)](),'changesets':_0x1b5187,'isEmpty':_0x3cd006,'pivotTableConfig':_0x4507cc};}break;case k[_0x2e36c2(0x212)]:{const _0x30494a=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x200)];if(!_0x30494a)return;const _0xb9d3d4=_0x30494a['fieldIds'],_0xb67042=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0xb67042)return!0x1;const _0x560634=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x191)](_0x184c57);if(!_0x560634)return!0x1;_0x560634[_0x2e36c2(0x1d8)]();for(const _0x4c5fcb of _0xb9d3d4){const {area:_0x3369a6}=_0x560634[_0x2e36c2(0x162)](_0x4c5fcb);_0x3369a6===_0x2849b6[_0x2e36c2(0x24e)]&&_0x560634[_0x2e36c2(0x2a8)](_0x4c5fcb),(_0x3369a6===_0x2849b6[_0x2e36c2(0x1a2)]||_0x3369a6===_0x2849b6[_0x2e36c2(0xb8)])&&_0x560634[_0x2e36c2(0xdb)](_0x4c5fcb),_0x560634[_0x2e36c2(0x224)](_0x4c5fcb);}const _0x5d3861=_0x560634['isEmpty'](),_0x4f4eb0=_0x560634[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x29936a=_0x560634[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x200)]={'changesets':_0x29936a,'pivotTableConfig':_0xb67042,'isEmpty':_0x5d3861,'view':_0x4f4eb0};}break;case k['SetPivotFilter']:{const _0x3d4074=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x1fb)];if(!_0x3d4074)return;const {tableFieldId:_0x2801e1,items:_0x438959,isAll:_0x497205}=_0x3d4074,_0xa90fe6=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x66545b=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0xa90fe6||!_0x66545b)return;_0xa90fe6[_0x2e36c2(0x1d8)](),_0xa90fe6[_0x2e36c2(0x1ea)](_0x2801e1,{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x438959,'isAll':_0x497205});const _0x46603c=_0xa90fe6[_0x2e36c2(0x234)](),_0x90a880=_0xa90fe6['query']()[_0x2e36c2(0x137)](),_0x44847b=_0xa90fe6[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x1fb)]={'view':_0x90a880,'changesets':_0x44847b,'isEmpty':_0x46603c,'pivotTableConfig':_0x66545b};}break;case k[_0x2e36c2(0x1e3)]:{const _0x2de6fc=_0x326e08[_0x2e36c2(0x2bf)]['setValuePivotFilter'];if(!_0x2de6fc)return;const {tableFieldId:_0x21179e,filterInfo:_0x80c79e}=_0x2de6fc,_0x344b6b=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57),_0x230dc2=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x344b6b||!_0x230dc2)return;_0x344b6b[_0x2e36c2(0x1d8)](),_0x344b6b[_0x2e36c2(0x301)](_0x21179e,_0x80c79e);const _0x49486c=_0x344b6b['isEmpty'](),_0x4f90b=_0x344b6b[_0x2e36c2(0x128)]()['toJSON'](),_0x390a50=_0x344b6b['endCollectChangeset']();_0x487ce2[_0x2e36c2(0xfb)]={'view':_0x4f90b,'changesets':_0x390a50,'isEmpty':_0x49486c,'pivotTableConfig':_0x230dc2};}break;case k[_0x2e36c2(0x2b7)]:{const _0x379b17=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0xf5)];if(!_0x379b17)return;const {tableFieldId:_0x552292,info:_0xb573e5}=_0x379b17,_0x1de350=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x6b4a5d=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x1de350||!_0x6b4a5d)return;_0x1de350[_0x2e36c2(0x1d8)](),_0x1de350[_0x2e36c2(0x294)](_0x552292,_0xb573e5);const _0x1692c7=_0x1de350['isEmpty'](),_0xf8e586=_0x1de350[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x2c0f50=_0x1de350[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0xf5)]={'view':_0xf8e586,'changesets':_0x2c0f50,'isEmpty':_0x1692c7,'pivotTableConfig':_0x6b4a5d};}break;case k['SetPivotSetting']:{const _0x25cb99=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x2b2)];if(!_0x25cb99)return;const {tableFieldId:_0x583bff,displayName:_0x321249,subtotalType:_0x217b43,format:_0x1b3e53}=_0x25cb99,_0x18c000=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x5792a9=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x18c000||!_0x5792a9)return;_0x18c000[_0x2e36c2(0x1d8)](),_0x321249!==void 0x0&&_0x18c000['renameField'](_0x583bff,_0x321249),_0x217b43!==void 0x0&&_0x18c000['setSubtotalType'](_0x583bff,_0x217b43),_0x1b3e53!==void 0x0&&_0x18c000[_0x2e36c2(0x258)](_0x583bff,_0x1b3e53);const _0x220ace=_0x18c000[_0x2e36c2(0x234)](),_0x4e920b=_0x18c000[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0xa7b134=_0x18c000[_0x2e36c2(0x1b3)]();_0x487ce2['setPivotSetting']={'changesets':_0xa7b134,'pivotTableConfig':_0x5792a9,'isEmpty':_0x220ace,'view':_0x4e920b};}break;case k[_0x2e36c2(0x26b)]:{const _0xa88e16=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x286)];if(!_0xa88e16)return;const {dataRangeInfo:_0x1c7a8b,unitId:_0x53ef58,subUnitId:_0x41a85a}=_0xa88e16,_0x318eec=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x53ef58,_0x41a85a,_0x184c57),_0x57570c=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57);if(!this[_0x2e36c2(0x9a)][_0x2e36c2(0x116)](_0x53ef58,_0x184c57)||!_0x57570c||!_0x318eec)return;const _0x4459c0=this[_0x2e36c2(0x9a)][_0x2e36c2(0x302)](_0x53ef58,_0x184c57,_0x1c7a8b),_0x1200d1=this[_0x2e36c2(0x9a)][_0x2e36c2(0x116)](_0x53ef58,_0x184c57)['toJSON'](),{collection:_0x1cb0d8}=this[_0x2e36c2(0x9a)][_0x2e36c2(0xd6)]({'unitId':_0x1c7a8b[_0x2e36c2(0xad)],'sheetName':_0x1c7a8b[_0x2e36c2(0xb6)],'subUnitId':_0x1c7a8b['subUnitId'],'range':_0x1c7a8b[_0x2e36c2(0x1ff)]}),_0x462a28=_0x1cb0d8[_0x2e36c2(0x137)]();_0x57570c['startCollectChangeset']();const _0x41ef68=this[_0x2e36c2(0x9a)][_0x2e36c2(0x23a)](_0x53ef58)[_0x2e36c2(0x252)]()||_0x5c694f;_0x57570c[_0x2e36c2(0x18d)](_0x24d3d1=>{const _0x3f3e00=_0x2e36c2,_0x3d3665=_0x24d3d1[_0x3f3e00(0x2a6)]();if(!_0x1cb0d8[_0x3f3e00(0x2e2)](_0x3d3665)){const _0x46ad2b=_0x1cb0d8[_0x3f3e00(0x264)](_0x24d3d1[_0x3f3e00(0x15b)]());if(_0x46ad2b){_0x57570c[_0x3f3e00(0x2e6)](_0x24d3d1['getId'](),_0x46ad2b['getName'](),_0x46ad2b[_0x3f3e00(0x91)]());const {area:_0x280dfe}=_0x57570c[_0x3f3e00(0x162)](_0x24d3d1[_0x3f3e00(0x91)]());let _0x57c935=_0x24d3d1[_0x3f3e00(0x15b)]();const _0x2a3925=_0x24d3d1[_0x3f3e00(0x14c)]();if(_0x280dfe===_0x2849b6[_0x3f3e00(0x24e)]){const _0x1775bb=_0x24d3d1[_0x3f3e00(0x106)]();_0x57c935=_0x41ef68(_0x46ad2b[_0x3f3e00(0x2de)](),_0x1775bb);}_0x2a3925!==_0x57c935&&_0x57570c['renameField'](_0x24d3d1['getId'](),_0x57c935);}else _0x57570c[_0x3f3e00(0x224)](_0x24d3d1[_0x3f3e00(0x91)]());}});const _0xc3083b=_0x57570c[_0x2e36c2(0x234)](),_0xd2ed9b=_0x57570c[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x2f48b9=_0x57570c['endCollectChangeset']();_0x487ce2[_0x2e36c2(0x286)]={'view':_0xd2ed9b,'changesets':_0x2f48b9,'isEmpty':_0xc3083b,'pivotTableConfig':_0x318eec,'collectionConfig':_0x462a28,'oldCollectionConfig':_0x1200d1,'deleteIds':_0x4459c0};}break;case k[_0x2e36c2(0x25d)]:{const _0x3f40bf=_0x326e08[_0x2e36c2(0x2bf)]['updateValuePosition'];if(!_0x3f40bf)return;const {position:_0x1f7a62,index:_0x3c18c8}=_0x3f40bf,_0x4fe42f=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x4fe42f)return!0x1;const _0x5bd827=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x184c57);if(!_0x5bd827)return!0x1;_0x5bd827['startCollectChangeset'](),_0x5bd827[_0x2e36c2(0x11c)](_0x1f7a62,_0x3c18c8);const _0x6d89db=_0x5bd827['isEmpty'](),_0x3e7da4=_0x5bd827[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x1c2d65=_0x5bd827[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x11c)]={'changesets':_0x1c2d65,'pivotTableConfig':_0x4fe42f,'isEmpty':_0x6d89db,'view':_0x3e7da4};}break;case k[_0x2e36c2(0x1e6)]:{const _0x336895=_0x326e08['params']['setPivotCollapse'];if(!_0x336895)return;const {tableFieldId:_0xc67e1e,collapse:_0x1ebbae,item:_0x523f3b}=_0x336895,_0x43a12a=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57),_0x3f7308=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x43a12a||!_0x3f7308)return;_0x43a12a['startCollectChangeset'](),_0x43a12a[_0x2e36c2(0x146)](_0xc67e1e,_0x1ebbae,_0x523f3b);const _0xe516d4=_0x43a12a[_0x2e36c2(0x234)](),_0x53910e=_0x43a12a[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0xa71388=_0x43a12a[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x12b)]={'view':_0x53910e,'isEmpty':_0xe516d4,'pivotTableConfig':_0x3f7308,'changesets':_0xa71388};}break;case k[_0x2e36c2(0x2eb)]:{const _0x272ae2=_0x326e08['params'][_0x2e36c2(0x18a)];if(!_0x272ae2)return;const {pivotTableConfig:_0x56b21b}=_0x272ae2,_0x23c467=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x184c57),_0x1529ec=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x23c467||!_0x1529ec)return;_0x23c467[_0x2e36c2(0x1d8)](),Ji(_0x23c467,_0x56b21b);const _0x251593=_0x23c467[_0x2e36c2(0x234)](),_0x33e691=_0x23c467['query']()['toJSON'](),_0x5bc75d=_0x23c467[_0x2e36c2(0x1b3)]();_0x487ce2['setPivotTableConfig']={'view':_0x33e691,'isEmpty':_0x251593,'pivotTableConfig':{..._0x1529ec,'fieldsConfig':_0x23c467['toJSON']()},'changesets':_0x5bc75d};}break;case k['ResetPivotTable']:{const _0x4d1f8e=_0x326e08['params']['resetPivotTable'];if(!_0x4d1f8e)return;const _0x27847b=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x1accff=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x27847b||!_0x1accff)return;_0x27847b[_0x2e36c2(0x1d8)](),ji(_0x27847b,_0x4d1f8e[_0x2e36c2(0x12d)]);const _0x55fff1=_0x27847b['query']()[_0x2e36c2(0x137)](),_0x4e3af2=_0x27847b[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x202)]={'view':_0x55fff1,'isEmpty':!0x0,'pivotTableConfig':{..._0x1accff,'fieldsConfig':_0x27847b[_0x2e36c2(0x137)]()},'changesets':_0x4e3af2};}break;case k['AddPivotTableWithConfig']:{const _0x109b90=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x13a)];if(!_0x109b90)return;const _0x355746=_0x109b90[_0x2e36c2(0x178)],_0x3ce117=_0x109b90[_0x2e36c2(0x2d8)],{collection:_0x2cbb47}=this[_0x2e36c2(0x9a)][_0x2e36c2(0xd6)]({'unitId':_0x355746[_0x2e36c2(0xad)],'sheetName':_0x355746['sheetName'],'subUnitId':_0x355746['subUnitId'],'range':_0x355746[_0x2e36c2(0x1ff)]}),_0x40dcb8=new _0x55f99e(_0x2cbb47,void 0x0,_0x3ce117),_0x54af73=_0x2cbb47[_0x2e36c2(0xcf)](),{rows:_0x1bd554,columns:_0x362b0,filters:_0x1adf54,values:_0x12369d}=_0x109b90[_0x2e36c2(0x213)];_0x40dcb8[_0x2e36c2(0x1d8)]();for(const {field:_0x2cf3c3,selectedItems:_0x105d8a}of _0x1bd554||[]){const _0x18dd8b=_0x54af73[_0x2cf3c3];if(_0x18dd8b){const _0x1e3766=_0x40dcb8[_0x2e36c2(0x170)](_0x18dd8b,_0x2849b6['Row']);_0x105d8a&&_0x1e3766&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x1e3766[_0x2e36c2(0x91)](),{'type':_0x45deba['ManualFilter'],'list':_0x105d8a,'isAll':!0x1});}}for(const {field:_0x15fd26,selectedItems:_0x512f07}of _0x362b0||[]){const _0x5a17a3=_0x54af73[_0x15fd26];if(_0x5a17a3){const _0x4536d2=_0x40dcb8[_0x2e36c2(0x170)](_0x5a17a3,_0x2849b6[_0x2e36c2(0xb8)]);_0x512f07&&_0x4536d2&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x4536d2[_0x2e36c2(0x91)](),{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x512f07,'isAll':!0x1});}}for(const {field:_0x249de5,selectedItems:_0x784fce}of _0x1adf54||[]){const _0x118ab4=_0x54af73[_0x249de5];if(_0x118ab4){const _0x453523=_0x40dcb8['addFieldWithSourceId'](_0x118ab4,_0x2849b6[_0x2e36c2(0x216)]);_0x784fce&&_0x453523&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x453523[_0x2e36c2(0x91)](),{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x784fce,'isAll':!0x1});}}for(const {field:_0x37fdef,subTotalType:_0x2b5ec2,formatString:_0xc486fe}of _0x12369d||[]){const _0x34d6d3=_0x2cbb47['getFieldById'](_0x54af73[_0x37fdef]);if(!_0x34d6d3)continue;const _0x455d82=_0x54af73[_0x37fdef];if(_0x455d82){const _0x484751=_0x40dcb8[_0x2e36c2(0x170)](_0x455d82,_0x2849b6['Value']);if(_0x484751){if(_0x2b5ec2!==void 0x0){_0x40dcb8['setSubtotalType'](_0x484751['getId'](),_0x2b5ec2);const _0x48fa76=this[_0x2e36c2(0x9a)][_0x2e36c2(0x23a)](_0x355746[_0x2e36c2(0xad)])[_0x2e36c2(0x252)]()||_0x5c694f,_0x5b2673=_0x2cbb47[_0x2e36c2(0x14c)](_0x455d82),_0x210927=_0x48fa76(_0x5b2673,_0x2b5ec2);_0x40dcb8[_0x2e36c2(0x1a0)](_0x484751[_0x2e36c2(0x91)](),_0x210927);}else{if(_0x34d6d3){const _0x50973c=_0x34d6d3==null?void 0x0:_0x34d6d3[_0x2e36c2(0x176)]();_0x40dcb8[_0x2e36c2(0x2c1)](_0x484751[_0x2e36c2(0x91)](),_0x50973c===_0x1b4e62[_0x2e36c2(0x2b1)]?_0x4b7c50['sum']:_0x4b7c50[_0x2e36c2(0xcc)]);}}_0xc486fe&&_0x40dcb8[_0x2e36c2(0x258)](_0x484751['getId'](),_0xc486fe);}}}const _0x5b95c6=_0x40dcb8[_0x2e36c2(0x128)](),_0x43b0c6=_0x40dcb8['toJSON'](),_0x817a50=_0x40dcb8[_0x2e36c2(0x234)](),_0x275104=_0x40dcb8[_0x2e36c2(0x1b3)](),_0x50e14d=_0x2cbb47['toJSON']();_0x487ce2[_0x2e36c2(0x13a)]={'view':_0x5b95c6,'fieldsConfig':_0x43b0c6,'collectionConfig':_0x50e14d,'isEmpty':_0x817a50,'changesets':_0x275104};}break;case k['DrillDown']:{const _0x56e918=Ai(this[_0x2e36c2(0x157)],_0x326e08);if(!_0x56e918)return;const {range:_0x36e6a2,sourceSubUnitId:_0x247a07,sourceUnitId:_0x48c6ac,formatMap:_0x176cb7,indexes:_0x15d731}=_0x56e918;_0x487ce2[_0x2e36c2(0x1d7)]={'range':_0x36e6a2,'sourceSubUnitId':_0x247a07,'sourceUnitId':_0x48c6ac,'formatMap':_0x176cb7,'indexes':_0x15d731};}break;}this[_0x2e36c2(0x260)][_0x2e36c2(0xe5)](lo['id'],{'version':_0x326e08[_0x2e36c2(0x1d3)],'result':_0x487ce2},{'onlyLocal':!0x0});}));}[_0xff08f(0x192)](){const _0x1b81d6=_0xff08f;this[_0x1b81d6(0x1ab)](this[_0x1b81d6(0x260)][_0x1b81d6(0x1bc)](_0x3702b8=>{const _0x4ce78c=_0x1b81d6;if(_0x3702b8['id']!==uo['id'])return;const _0x3665e3=_0x3702b8['params'];return this[_0x4ce78c(0x9a)][_0x4ce78c(0x17a)](_0x3665e3[_0x4ce78c(0x1b7)]),!0x0;}));}[_0xff08f(0x23d)](){const _0x3fa85e=_0xff08f;this['_sheetsPivotDataSourceModel'][_0x3fa85e(0x2ee)][_0x3fa85e(0x2ec)](_0x4ad200=>{const _0x1e50b7=_0x3fa85e;switch(_0x4ad200[_0x1e50b7(0x11a)]){case Be[_0x1e50b7(0x15c)]:_0x4ad200[_0x1e50b7(0x1ac)]&&_0x4ad200[_0x1e50b7(0x177)]&&this[_0x1e50b7(0x289)](_0x4ad200['token'],_0x4ad200[_0x1e50b7(0x1ac)],_0x4ad200[_0x1e50b7(0x177)]);break;case Be[_0x1e50b7(0x1e1)]:{const {unitId:_0x13f8c2,subUnitId:_0x1990ed,token:_0x526071}=_0x4ad200;_0x13f8c2&&_0x1990ed&&_0x526071&&this[_0x1e50b7(0x1dc)](_0x13f8c2,_0x1990ed,_0x526071);}break;case Be[_0x1e50b7(0x1a3)]:{const {token:_0x534535,oldSourceRangeInfo:_0x11356f,dataRangeInfo:_0x27f5a9,targetCellInfo:_0x49259d}=_0x4ad200,{unitId:_0x264e47,subUnitId:_0x56f3c7}=_0x11356f||{};_0x264e47&&_0x56f3c7&&_0x534535&&this[_0x1e50b7(0x1dc)](_0x264e47,_0x56f3c7,_0x534535),_0x27f5a9&&_0x49259d&&this[_0x1e50b7(0x289)](_0x534535,_0x27f5a9,_0x49259d);}break;}});}[_0xff08f(0x168)](){const _0x12b75f=_0xff08f;this[_0x12b75f(0x9a)][_0x12b75f(0x166)][_0x12b75f(0x2ec)](_0x4d8c07=>{const _0xd44860=_0x12b75f;Object[_0xd44860(0x237)](_0x4d8c07)[_0xd44860(0x1b9)](_0x2be36c=>{const _0x536410=_0xd44860,_0x378447=this[_0x536410(0x9a)][_0x536410(0xe9)](_0x2be36c);if(_0x378447){const _0x12e546=this[_0x536410(0x9a)][_0x536410(0x215)](_0x378447==null?void 0x0:_0x378447['unitId'],_0x378447==null?void 0x0:_0x378447['subUnitId'],_0x2be36c);_0x12e546&&(this[_0x536410(0x289)](_0x2be36c,_0x12e546['sourceRangeInfo'],_0x12e546['targetCellInfo']),this['triggerDirtyFeature']([{'unitId':_0x378447[_0x536410(0xad)],'subUnitId':_0x378447[_0x536410(0x174)],'token':_0x2be36c}]));}});});}[_0xff08f(0x2a7)](){const _0x5651cc=_0xff08f;this[_0x5651cc(0x9a)]['viewData$']['subscribe'](_0x1c84cf=>{const _0x16efa5=_0x5651cc,{unitId:_0x1c9610,subUnitId:_0x595281,pivotTableId:_0x44630b}=_0x1c84cf;_0x1c9610&&_0x595281&&_0x44630b&&this[_0x16efa5(0x2fb)]([{'unitId':_0x1c9610,'subUnitId':_0x595281,'token':_0x44630b}]);});}['triggerDirtyFeature'](_0x232251){const _0x3f0320=_0xff08f,_0x4bdd9f={};_0x232251['forEach'](_0x3b37b3=>{var _0x3ef43e,_0x56a8e4;const {unitId:_0x1ed0e3,subUnitId:_0x5d84a2,token:_0x56c346}=_0x3b37b3;_0x4bdd9f[_0x1ed0e3]=(_0x3ef43e=_0x4bdd9f[_0x1ed0e3])!=null?_0x3ef43e:{},_0x4bdd9f[_0x1ed0e3][_0x5d84a2]=(_0x56a8e4=_0x4bdd9f[_0x1ed0e3][_0x5d84a2])!=null?_0x56a8e4:{},_0x4bdd9f[_0x1ed0e3][_0x5d84a2][_0x56c346]=!0x0;}),this[_0x3f0320(0x260)][_0x3f0320(0xe5)](Ut['id'],_0x4bdd9f);}[_0xff08f(0x1dc)](_0x2c453d,_0x50a5f1,_0x364812){const _0x29111c=_0xff08f;this[_0x29111c(0xfd)][_0x29111c(0x2f4)](_0x2c453d,_0x50a5f1,[_0x364812]);}[_0xff08f(0x289)](_0x324414,_0xe3f06e,_0x7b2bf4){const _0x53fbc2=_0xff08f,{unitId:_0x429007,subUnitId:_0x1e5547}=_0xe3f06e;this[_0x53fbc2(0xfd)][_0x53fbc2(0x1bd)](_0x7b2bf4[_0x53fbc2(0xad)],_0x7b2bf4[_0x53fbc2(0x174)],_0x324414)&&this[_0x53fbc2(0x1dc)](_0x429007,_0x1e5547,_0x324414);const _0x1b49de={'sheetId':_0x1e5547,..._0xe3f06e};this['_featureCalculationManagerService'][_0x53fbc2(0x2a3)](_0x7b2bf4['unitId'],_0x7b2bf4['subUnitId'],_0x324414,{'unitId':_0x7b2bf4[_0x53fbc2(0xad)],'subUnitId':_0x7b2bf4[_0x53fbc2(0x174)],'dependencyRanges':[_0x1b49de],'getDirtyData':(_0x39205d,_0x156617)=>{const _0x594653=_0x53fbc2,_0x2e9006=this[_0x594653(0x9a)],_0x291132=_0x2e9006[_0x594653(0xe9)](_0x324414);if(!_0x291132)return Vs();const {unitId:_0x4db22e,subUnitId:_0x455d9c}=_0x291132,_0x3370ed=Es(_0x39205d,_0x156617,_0xe3f06e);if(_0x3370ed[_0x594653(0x1a8)]>0x0){const _0x1e3fef=_0x2e9006[_0x594653(0x116)](_0x429007,_0x324414),_0x551656=_0x1e3fef[_0x594653(0xcf)](),_0x4d998d=this[_0x594653(0x2aa)](_0xe3f06e[_0x594653(0xad)],_0xe3f06e[_0x594653(0x174)],_0x156617),_0x3f8e18={},_0xee8b2d=this[_0x594653(0x9a)][_0x594653(0x23a)](_0x4db22e)[_0x594653(0x252)]()||_0x5c694f,_0x902fa7=[];for(const _0x31eb96 of _0x3370ed){const _0x456fe9=_0x31eb96-(_0xe3f06e[_0x594653(0x1ff)][_0x594653(0x136)]||0x0),_0x166560=_0x551656[_0x456fe9];_0x902fa7[_0x594653(0xc1)](_0x166560),_0x3f8e18[_0x166560]=_0x1e3fef[_0x594653(0x25a)](_0x166560)[_0x594653(0x2de)](),_0x2e9006[_0x594653(0x23a)](_0x429007)['refreshDataField'](_0x166560,_0xe3f06e,_0x456fe9,_0x4d998d);}_0x1e3fef[_0x594653(0x2cc)](_0x902fa7)[_0x594653(0x1b9)](_0x1ddc99=>{const _0x2faabc=_0x594653,[_0x7b69b6,_0x1fe2b3]=_0x1ddc99,_0x8f8e99=_0x1e3fef[_0x2faabc(0x25a)](_0x7b69b6),_0x3dc513=_0x1e3fef[_0x2faabc(0x25a)](_0x1fe2b3);_0x8f8e99&&_0x3dc513&&_0x8f8e99[_0x2faabc(0x2a1)](_0x3dc513);}),_0x1e3fef[_0x594653(0xb1)]();const _0x2b4528=_0x2e9006['getPivotTableInstance'](_0x324414);if(_0x2b4528){xs(_0x2b4528,_0x3f8e18,_0xee8b2d),_0x2b4528[_0x594653(0x231)](!0x0);const _0x1a1139=_0x2b4528[_0x594653(0x128)](),_0x1fd59e=_0x2e9006[_0x594653(0x215)](_0x4db22e,_0x455d9c,_0x324414),_0x4f2b9b=_0x2e9006[_0x594653(0x23a)](_0x429007)[_0x594653(0x137)]();_0x2e9006[_0x594653(0x1f8)](_0x4db22e,_0x455d9c,K[_0x594653(0xd9)],_0x324414,_0x1a1139,_0x1fd59e,_0x4f2b9b,!0x0);}}return this[_0x594653(0x9c)](_0x4db22e,_0x455d9c,_0x324414);}});}['getMatrixFromRunTimeData'](_0xc31f9d,_0x59321e,_0x4e0374){var _0x51fae5,_0x3499b1;const {arrayFormulaCellData:_0x2254ae,unitData:_0x7a3bb7}=_0x4e0374,_0x276914=(_0x51fae5=_0x2254ae==null?void 0x0:_0x2254ae[_0xc31f9d])==null?void 0x0:_0x51fae5[_0x59321e],_0x3901b2=(_0x3499b1=_0x7a3bb7==null?void 0x0:_0x7a3bb7[_0xc31f9d])==null?void 0x0:_0x3499b1[_0x59321e];return{'arrayFormulaCellDataMatrix':_0x276914,'unitDataMatrix':_0x3901b2};}[_0xff08f(0x9c)](_0x248616,_0x4b959e,_0x4fa41c){const _0x416617=_0xff08f,_0x2b7bc4=this[_0x416617(0x9a)][_0x416617(0xf4)](_0x248616,_0x4b959e,_0x4fa41c),_0x2e208c=[],_0x51763f=new _0x3beae7();if(_0x2b7bc4){const {rangeCache:_0x3e2590,matrix:_0x50863e,oldRangeCache:_0x2f4834,oldMatrix:_0x141f4a}=_0x2b7bc4,_0x2542ce=Kt(_0x2f4834),_0x3e0682=Kt(_0x3e2590);_0x2e208c['push'](..._0x3e0682,..._0x2542ce),_0x141f4a&&_0x2f4834&&_0x2542ce[_0x416617(0x1b9)](_0x17639f=>{const _0x1ceac0=_0x416617;for(let _0x660f98=_0x17639f[_0x1ceac0(0x2d2)];_0x660f98<=_0x17639f['endRow'];_0x660f98++)for(let _0x392cda=_0x17639f[_0x1ceac0(0x136)];_0x392cda<=_0x17639f[_0x1ceac0(0x1fe)];_0x392cda++)_0x51763f['realDeleteValue'](_0x660f98,_0x392cda);}),_0x50863e&&_0x3e0682&&_0x3e0682['forEach'](_0x204a72=>{const _0x456b3d=_0x416617;for(let _0x253491=_0x204a72[_0x456b3d(0x2d2)];_0x253491<=_0x204a72[_0x456b3d(0x1de)];_0x253491++)for(let _0x124b84=_0x204a72[_0x456b3d(0x136)];_0x124b84<=_0x204a72[_0x456b3d(0x1fe)];_0x124b84++)_0x51763f[_0x456b3d(0x17b)](_0x253491,_0x124b84,_0x50863e[_0x456b3d(0xee)](_0x253491,_0x124b84));});}const _0x430bcd={};return _0x430bcd[_0x248616]={[_0x4b959e]:Os(_0x2e208c)},{'runtimeCellData':{[_0x248616]:{[_0x4b959e]:_0x51763f}},'dirtyRanges':_0x430bcd};}[_0xff08f(0x2ca)](){}};ct=Us([He(0x0,_0x351ec8($)),He(0x1,_0x56c73b),He(0x2,_0x351ec8(_0x32bffb)),He(0x3,_0x351ec8(_0x596dde)),He(0x4,_0x351ec8(_0x14eac6)),He(0x5,_0x351ec8(_0x8ab5d1))],ct);var As=Object['getOwnPropertyDescriptor'],ks=(_0x588e8c,_0x1a52f1,_0x1bb1c4,_0x47896c)=>{const _0x182365=_0xff08f;for(var _0x5ec623=_0x47896c>0x1?void 0x0:_0x47896c?As(_0x1a52f1,_0x1bb1c4):_0x1a52f1,_0x803d88=_0x588e8c[_0x182365(0x1a8)]-0x1,_0x583a57;_0x803d88>=0x0;_0x803d88--)(_0x583a57=_0x588e8c[_0x803d88])&&(_0x5ec623=_0x583a57(_0x5ec623)||_0x5ec623);return _0x5ec623;},_t=(_0x3f4b7f,_0x519d98)=>(_0x55f964,_0x24f5b4)=>_0x519d98(_0x55f964,_0x24f5b4,_0x3f4b7f);let dt=class extends _0x51d9e7{constructor(_0x4d5392,_0x299d86,_0x5b84cf,_0x44b03d){const _0x30ca30=_0xff08f;super(),V(this,'disposableCollection',new _0xbeda3e()),(this['_univerInstanceService']=_0x4d5392,this[_0x30ca30(0xba)]=_0x299d86,this[_0x30ca30(0x1b8)]=_0x5b84cf,this[_0x30ca30(0xbf)]=_0x44b03d,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x59d851=_0xff08f;this[_0x59d851(0x1ab)](this[_0x59d851(0xba)][_0x59d851(0x138)]({'getMutations':_0x257922=>{const _0x58e1b8=_0x59d851;if(_0x257922['id']===_0x178b31['id']||_0x257922['id']===_0x1a1aab['id']){const _0x4511c5=[],_0x507762=[],_0x193728=this['_sheetsSelectionsService'][_0x58e1b8(0xda)]()[_0x58e1b8(0x207)](_0x4d3bb7=>_0x4d3bb7[_0x58e1b8(0x1ff)]),_0x1cc975=_0x32bc51(this['_univerInstanceService']);if(!_0x1cc975)return{'redos':[],'undos':[]};const {unitId:_0x16f47c,subUnitId:_0x1a28ac}=_0x1cc975,_0x166a4d={},_0xcdabea=this[_0x58e1b8(0xbf)][_0x58e1b8(0x17c)](_0x16f47c,_0x1a28ac);if(_0xcdabea!=null&&_0xcdabea[_0x58e1b8(0x129)])for(const [_0x4db458,_0x2af048]of _0xcdabea){const {unitId:_0xb19a92,subUnitId:_0x1516bb,row:_0x2871c8,col:_0x594c39}=_0x2af048[_0x58e1b8(0x177)];_0xb19a92===_0x1cc975[_0x58e1b8(0xad)]&&_0x1516bb===_0x1cc975['subUnitId']&&(_0x166a4d[_0x2871c8+'-'+_0x594c39]=_0x4db458);}return _0x193728&&_0x1cc975&&_0x193728[_0x58e1b8(0x1b9)](_0x594973=>{const _0x1513af=_0x58e1b8;_0x36db8c[_0x1513af(0x27a)](_0x594973,(_0x5c45a2,_0x462c8a)=>{const _0x2186a8=_0x1513af,_0x290317=_0x5c45a2+'-'+_0x462c8a;if(_0x166a4d[_0x290317]){const _0x2c17ed=_0x166a4d[_0x290317];_0x4511c5['push']({'id':Et['id'],'params':{'unitId':_0x16f47c,'subUnitId':_0x1a28ac,'pivotTableId':_0x2c17ed}});const _0x3f725a=this[_0x2186a8(0xbf)]['getCollection'](_0x16f47c,_0x2c17ed),_0x1bcdab=this[_0x2186a8(0xbf)][_0x2186a8(0x215)](_0x16f47c,_0x1a28ac,_0x2c17ed);_0x507762[_0x2186a8(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x16f47c,'subUnitId':_0x1a28ac,'pivotTableId':_0x2c17ed,'pivotTableConfig':_0x1bcdab,'collectionConfig':_0x3f725a}});}});}),{'redos':_0x4511c5,'undos':_0x507762};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x5838cd),_t(0x1,_0x351ec8(_0x335a29)),_t(0x2,_0x351ec8(_0xae168b)),_t(0x3,_0x351ec8(he))],dt);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x5b7aa1,_0x4ae010,_0x5ec415,_0x10dd2b)=>{for(var _0xf26f70=_0x10dd2b>0x1?void 0x0:_0x10dd2b?Ls(_0x4ae010,_0x5ec415):_0x4ae010,_0x57dd3d=_0x5b7aa1['length']-0x1,_0x1fd364;_0x57dd3d>=0x0;_0x57dd3d--)(_0x1fd364=_0x5b7aa1[_0x57dd3d])&&(_0xf26f70=_0x1fd364(_0xf26f70)||_0xf26f70);return _0xf26f70;},qe=(_0x1c1901,_0x3e8d17)=>(_0x2b2dc5,_0x326b52)=>_0x3e8d17(_0x2b2dc5,_0x326b52,_0x1c1901);let ut=class extends _0x51d9e7{constructor(_0x8e2595,_0x8d93c4,_0x3a1727,_0x525edf,_0x93a817,_0x57ff3e){const _0x424d7d=_0xff08f;super(),this[_0x424d7d(0x30a)]=_0x8e2595,this[_0x424d7d(0xba)]=_0x8d93c4,this[_0x424d7d(0x157)]=_0x3a1727,this['_univerInstanceService']=_0x525edf,this[_0x424d7d(0xbf)]=_0x93a817,this[_0x424d7d(0xa9)]=_0x57ff3e,this['_initCommandInterceptListener']();}[_0xff08f(0x2ff)](_0x493481,_0x13e234,_0x1914e2){const _0x325c4b=_0xff08f,{pageView:_0x4f9a83,cornerView:_0x2417b5,rowView:_0x2c73a9,colView:_0x517148,dataView:_0x39fa04}=_0x13e234,_0x46c5fb=_0x493481;let _0x1a6f70;if(_0x1914e2)_0x1a6f70=[...ki(_0x46c5fb)];else{const _0x54d52e=ge(_0x46c5fb,_0x4f9a83,!0x0),_0xdd7ed0=_0x4f9a83[_0x325c4b(0x2bb)]>=0x0?_0x4f9a83['lastRow']+0x1:0x0,_0x33c8fc=_0x2417b5[_0x325c4b(0x2e0)],_0x22c25c=_0x2417b5['colCount'],_0xf88627=_0x54d52e[_0x325c4b(0x1a8)]>0x0?It:0x0,_0x8d10cb=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627,'col':_0x46c5fb[_0x325c4b(0x247)]},_0x2417b5,!0x1,!0x1),_0x9cf7d0=ge({'row':_0x46c5fb['row']+_0xdd7ed0+_0xf88627+_0x33c8fc,'col':_0x46c5fb['col']},_0x2c73a9,!0x1,!0x0),_0x3d2766=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627,'col':_0x46c5fb[_0x325c4b(0x247)]+_0x22c25c},_0x517148,!0x1,!0x0),_0x43c6b4=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627+_0x33c8fc,'col':_0x46c5fb[_0x325c4b(0x247)]+_0x22c25c},_0x39fa04,!0x1,!0x0);_0x1a6f70=[..._0x54d52e,..._0x8d10cb,..._0x9cf7d0,..._0x3d2766,..._0x43c6b4];}return _0x1a6f70;}[_0xff08f(0x241)](){const _0x5afac=_0xff08f;this['disposeWithMe'](this[_0x5afac(0xa9)][_0x5afac(0x198)][_0x5afac(0x1e0)](this['_sheetsPivotTableService'][_0x5afac(0x198)][_0x5afac(0x21d)]()[_0x5afac(0x1d6)],{'handler':(_0x486442,_0x2bd8ec)=>{const _0x1e3a15=_0x5afac,{cellInfo:_0x54527d,view:_0x58fee7,isEmpty:_0x26cab6}=_0x2bd8ec,_0x5f2a68=_0x54527d,{unitId:_0x5a40e2,subUnitId:_0x1d65dd}=_0x5f2a68,_0x4f5075=this['_getPivotAppliedRanges'](_0x54527d,_0x58fee7,_0x26cab6),_0x2246ec=this[_0x1e3a15(0xba)][_0x1e3a15(0x1a4)]({'unitId':_0x5a40e2,'subUnitId':_0x1d65dd,'ranges':_0x4f5075}),_0x45bcae=Ho(this[_0x1e3a15(0x157)],_0x5a40e2,_0x1d65dd,_0x4f5075);_0x45bcae[_0x1e3a15(0x1ba)]&&(_0x2246ec[_0x1e3a15(0x2ed)][_0x1e3a15(0xc1)](_0x45bcae['setRangeValueRedoMutation']),_0x2246ec[_0x1e3a15(0x160)][_0x1e3a15(0xc1)](_0x45bcae['setRangeValueUndoMutation']));const _0x49a4eb=this[_0x1e3a15(0xf0)](_0x58fee7,_0x54527d);return _0x2246ec[_0x1e3a15(0x2ed)][_0x1e3a15(0xc1)](..._0x49a4eb['redos']),_0x2246ec[_0x1e3a15(0x160)]['push'](..._0x49a4eb[_0x1e3a15(0x160)]),{'redos':_0x2246ec[_0x1e3a15(0x2ed)],'undos':_0x2246ec['undos']};}}));}[_0xff08f(0xf0)](_0x16a395,_0x5b16af){const _0x1e4196=_0xff08f,{col:_0x3e8d2c,unitId:_0x1214f7,subUnitId:_0x5636c0}=_0x5b16af,_0x4601d0=[],_0x3f7afd=[],_0x91e09=_0x32bc51(this['_univerInstanceService'],{'unitId':_0x1214f7,'subUnitId':_0x5636c0});if(!_0x5b16af||!_0x16a395||!_0x91e09)return{'undos':_0x3f7afd,'redos':_0x4601d0};const _0x71202f=this[_0x1e4196(0xbf)][_0x1e4196(0xa5)](),{colView:_0xeb49f3,dataView:_0x404b29,cornerView:_0x53b319,rowView:_0x9df8e4,formatMap:_0x5cdbba}=_0x16a395,_0x547999=Po(_0xeb49f3,_0x71202f,!0x0,_0x5cdbba),_0x405931=Po(_0x9df8e4,_0x71202f,!0x1,_0x5cdbba),_0x2c2d43=Ki(_0x404b29),_0x3b1dca=$i(_0x53b319),{worksheet:_0x712ea9}=_0x91e09;if(typeof window<'u'&&window[_0x1e4196(0x112)]){const _0x232191=_0x473cad({...fe[_0x1e4196(0xdf)]}),_0xdcf23=_0x2bed79[_0x1e4196(0xb0)](_0x547999,_0x232191)['width']+0x10,_0x482d45=_0x2bed79[_0x1e4196(0xb0)](_0x2c2d43,_0x232191)[_0x1e4196(0x1eb)],_0x39c095=Math['floor'](Math[_0x1e4196(0x24c)](_0xdcf23,_0x482d45))+0x10,_0x536bae=Math[_0x1e4196(0xce)](_0x2bed79['getTextSize'](_0x405931,_0x232191)['width']),_0x1fcd4f=Math[_0x1e4196(0xce)](_0x2bed79[_0x1e4196(0xb0)](_0x3b1dca,_0x232191)[_0x1e4196(0x1eb)]),_0x68c947=Math[_0x1e4196(0x24c)](_0x536bae,_0x1fcd4f,0x28)+0xc,_0x4600b4=_0xeb49f3[_0x1e4196(0x92)]+_0x53b319[_0x1e4196(0x92)],_0x2434ab={},_0x809d41={};for(let _0x3742db=_0x3e8d2c;_0x3742db<_0x3e8d2c+_0x4600b4;_0x3742db++){const _0x345347=_0x712ea9[_0x1e4196(0x315)](_0x3742db);_0x2434ab[_0x3742db]=_0x345347,_0x3742db-_0x3e8d2c<_0x53b319[_0x1e4196(0x92)]?_0x809d41[_0x3742db-_0x3e8d2c]=_0x68c947:_0x809d41[_0x3742db-_0x3e8d2c]=_0x39c095;}_0x4601d0[_0x1e4196(0xc1)]({'id':_0x163dcd['id'],'params':{'subUnitId':_0x5636c0,'unitId':_0x1214f7,'ranges':[{'startColumn':_0x3e8d2c,'endColumn':_0x3e8d2c+_0x4600b4-0x1,'startRow':0x0,'endRow':_0x712ea9[_0x1e4196(0x209)]()-0x1}],'colWidth':_0x809d41}}),_0x3f7afd[_0x1e4196(0xc1)]({'id':_0x163dcd['id'],'params':{'subUnitId':_0x5636c0,'unitId':_0x1214f7,'ranges':[{'startColumn':_0x3e8d2c,'endColumn':_0x3e8d2c+_0x4600b4-0x1,'startRow':0x0,'endRow':_0x712ea9[_0x1e4196(0x209)]()-0x1}],'colWidth':_0x2434ab}});}return{'undos':_0x3f7afd,'redos':_0x4601d0};}};ut=Bs([qe(0x0,_0x351ec8(_0x1ca3ab)),qe(0x1,_0x351ec8(_0x335a29)),qe(0x2,_0x351ec8(_0x8ab5d1)),qe(0x3,_0x351ec8(_0x5838cd)),qe(0x4,_0x351ec8(he)),qe(0x5,_0x351ec8(ie))],ut);var Ks=Object[_0xff08f(0x1aa)],$s=(_0x1d0a03,_0x268eda,_0x25d870,_0x48dc24)=>{const _0x469ab9=_0xff08f;for(var _0x1bb4fa=_0x48dc24>0x1?void 0x0:_0x48dc24?Ks(_0x268eda,_0x25d870):_0x268eda,_0x3567cf=_0x1d0a03[_0x469ab9(0x1a8)]-0x1,_0x2c4916;_0x3567cf>=0x0;_0x3567cf--)(_0x2c4916=_0x1d0a03[_0x3567cf])&&(_0x1bb4fa=_0x2c4916(_0x1bb4fa)||_0x1bb4fa);return _0x1bb4fa;},ke=(_0x1781d6,_0x58d274)=>(_0x407d65,_0x1f05f9)=>_0x58d274(_0x407d65,_0x1f05f9,_0x1781d6);let ft=class extends _0x51d9e7{constructor(_0x5f1b31,_0x577c22,_0x412b3e,_0x27103f,_0x114ee6,_0x3dd15c,_0x480b1f){const _0x2523f=_0xff08f;super(),V(this,_0x2523f(0x105),new _0xbeda3e()),(this[_0x2523f(0x157)]=_0x5f1b31,this[_0x2523f(0x20d)]=_0x577c22,this[_0x2523f(0x260)]=_0x412b3e,this[_0x2523f(0x2d4)]=_0x27103f,this['_sheetsPivotTableConfigModel']=_0x114ee6,this[_0x2523f(0x22a)]=_0x3dd15c,this['_sheetInterceptorService']=_0x480b1f,this['_onRefRangeChange']());}[_0xff08f(0x96)](){const _0x54ae2c=_0xff08f,_0x3ba40a=(_0x3c33cc,_0x47cc5e)=>{const _0xd5309e=_0x37bd,_0x28bc4c=this[_0xd5309e(0x2d4)][_0xd5309e(0x1fa)](_0x534b47[_0xd5309e(0x288)]);if(!_0x28bc4c||!(_0x28bc4c==null?void 0x0:_0x28bc4c[_0xd5309e(0x2c4)](_0x47cc5e)))return;this[_0xd5309e(0x105)][_0xd5309e(0x2ca)]();const _0x31e869=_0x3862be=>this[_0xd5309e(0x13e)](_0x3862be,_0x3c33cc,_0x47cc5e),_0x48869f=this[_0xd5309e(0xbf)][_0xd5309e(0x17c)](_0x3c33cc,_0x47cc5e);if(!(_0x48869f!=null&&_0x48869f[_0xd5309e(0x129)]))return;Array['from'](_0x48869f[_0xd5309e(0x293)]())[_0xd5309e(0x207)](_0x5bea65=>{const _0x3f0300=_0xd5309e,{row:_0x3c75fe,col:_0x136bc7}=_0x5bea65[_0x3f0300(0x177)];return _0x1fea7f(_0x3c75fe,_0x136bc7);})[_0xd5309e(0x1b9)](_0x2c4de1=>{const _0x1d8c0d=_0xd5309e;this['disposableCollection'][_0x1d8c0d(0x15c)](this['_refRangeService'][_0x1d8c0d(0x273)](_0x2c4de1,_0x31e869,_0x3c33cc,_0x47cc5e));});},_0x46d00d=()=>{const _0x284591=_0x37bd,_0x25236f=this[_0x284591(0x2d4)]['getCurrentUnitForType'](_0x534b47[_0x284591(0x288)]);if(_0x25236f){const _0x405c20=_0x25236f['getActiveSheet']();if(!_0x405c20)return;_0x3ba40a(_0x25236f[_0x284591(0xa7)](),_0x405c20[_0x284591(0x8d)]());}};this[_0x54ae2c(0x1ab)](this[_0x54ae2c(0x260)][_0x54ae2c(0x1bc)](_0x260f64=>{const _0x326acf=_0x54ae2c;if(_0x260f64['id']===_0x3c1116['id']){const _0x1b394b=_0x260f64[_0x326acf(0x2bf)],_0x21c4d3=_0x1b394b[_0x326acf(0x174)],_0x4009d9=_0x1b394b[_0x326acf(0xad)];if(!_0x21c4d3||!_0x4009d9)return;_0x3ba40a(_0x4009d9,_0x21c4d3);}})),this['disposeWithMe'](this[_0x54ae2c(0xbf)]['pivotInitCompleted$'][_0x54ae2c(0x2ec)](_0x2841e9=>{_0x2841e9&&_0x46d00d();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x54ae2c(0x155)][_0x54ae2c(0x2ec)](_0x20c6e1=>{const _0x449e71=_0x54ae2c,_0x1bedbd=_0x32bc51(this[_0x449e71(0x2d4)]);if(!_0x1bedbd)return;const {unitId:_0x4961ca,subUnitId:_0x5b5151}=_0x1bedbd,{unitId:_0x3ede92,subUnitId:_0x289935}=_0x20c6e1;_0x4961ca!==_0x3ede92||_0x5b5151!==_0x289935||_0x3ba40a(_0x4961ca,_0x5b5151);})),_0x46d00d();}[_0xff08f(0x13e)](_0xcd1fb5,_0x2285af,_0x28bfaf){const _0x39696d=_0xff08f;switch(_0xcd1fb5['id']){case _0x3d918c['id']:return this[_0x39696d(0x1fc)](_0xcd1fb5['params'],_0x2285af,_0x28bfaf);}return{'redos':[],'undos':[]};}[_0xff08f(0x1fc)](_0x2b35ff,_0x4fca0a,_0x606946){const _0x59b37e=_0xff08f,{fromRange:_0x3632b5,toRange:_0x527118}=_0x2b35ff,_0x16e3f6=[],_0x5b47c7=[],_0x1448cd=_0x32bc51(this['_univerInstanceService']);if(!_0x1448cd)return{'undos':_0x5b47c7,'redos':_0x16e3f6};if(_0x4fca0a!==_0x1448cd[_0x59b37e(0xad)]||_0x606946!==_0x1448cd[_0x59b37e(0x174)])return{'undos':_0x5b47c7,'redos':_0x16e3f6};const _0x40ae4e=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4fca0a,_0x606946);if(_0x40ae4e!=null&&_0x40ae4e[_0x59b37e(0x129)])for(const [_0x12c9dd,_0x94d4f3]of _0x40ae4e){const {unitId:_0x52014c,subUnitId:_0x42bc03,row:_0x4a22d8,col:_0x4460ae}=_0x94d4f3[_0x59b37e(0x177)];if(_0x52014c===_0x1448cd[_0x59b37e(0xad)]&&_0x42bc03===_0x1448cd['subUnitId']){const _0x216cd3=_0x1fea7f(_0x4a22d8,_0x4460ae);if(_0x3356fe[_0x59b37e(0x154)](_0x216cd3,_0x3632b5)){const _0x4ca95e=_0x4a22d8-_0x3632b5['startRow'],_0x175e6f=_0x4460ae-_0x3632b5[_0x59b37e(0x136)],_0x539b1c={'row':_0x527118['startRow']+_0x4ca95e,'col':_0x527118['startColumn']+_0x175e6f};_0x16e3f6['push']({'id':pt['id'],'params':{'unitId':_0x52014c,'subUnitId':_0x42bc03,'pivotTableId':_0x12c9dd,'targetCellPosition':_0x539b1c}}),_0x5b47c7[_0x59b37e(0xc1)]({'id':pt['id'],'params':{'unitId':_0x52014c,'subUnitId':_0x42bc03,'pivotTableId':_0x12c9dd,'targetCellPosition':{'row':_0x4a22d8,'col':_0x4460ae}}});const _0x4261c1=_0x539b1c[_0x59b37e(0x108)]-_0x4a22d8,_0x4edfe5=_0x539b1c[_0x59b37e(0x247)]-_0x4460ae,_0x4ef344=[],_0x45e50d=this[_0x59b37e(0x22a)][_0x59b37e(0x153)](_0x52014c,_0x42bc03,_0x12c9dd),_0x39ed47=_0x45e50d==null?void 0x0:_0x45e50d[_0x59b37e(0x95)];if(_0x39ed47){Object['keys'](_0x39ed47)[_0x59b37e(0x1b9)](_0x56a967=>{_0x39ed47[_0x56a967]['forEach'](_0x57fe73=>{const _0x276e5c=_0x37bd,_0x58f766={..._0x57fe73};_0x58f766['startRow']=_0x57fe73['startRow']+_0x4261c1,_0x58f766[_0x276e5c(0x1de)]=_0x57fe73[_0x276e5c(0x1de)]+_0x4261c1,_0x58f766[_0x276e5c(0x136)]=_0x57fe73[_0x276e5c(0x136)]+_0x4edfe5,_0x58f766[_0x276e5c(0x1fe)]=_0x57fe73[_0x276e5c(0x1fe)]+_0x4edfe5,_0x4ef344[_0x276e5c(0xc1)](_0x58f766);});});const _0x2a9f81=this[_0x59b37e(0xba)][_0x59b37e(0x1a4)]({'unitId':_0x52014c,'subUnitId':_0x42bc03,'ranges':_0x4ef344});_0x16e3f6['push'](..._0x2a9f81['redos']),_0x5b47c7[_0x59b37e(0xc1)](..._0x2a9f81['undos']);const _0x26893c=Ho(this['_injector'],_0x52014c,_0x42bc03,_0x4ef344);_0x26893c['shouldClear']&&(_0x16e3f6[_0x59b37e(0xc1)](_0x26893c[_0x59b37e(0x1d1)]),_0x5b47c7[_0x59b37e(0xc1)](_0x26893c[_0x59b37e(0x12f)]));}}}}return{'redos':_0x16e3f6,'undos':_0x5b47c7};}};ft=$s([ke(0x0,_0x351ec8(_0x8ab5d1)),ke(0x1,_0x351ec8(_0x5aebf8)),ke(0x2,_0x596dde),ke(0x3,_0x5838cd),ke(0x4,_0x351ec8(he)),ke(0x5,_0x351ec8(Ne)),ke(0x6,_0x351ec8(_0x335a29))],ft);var Js=Object['getOwnPropertyDescriptor'],js=(_0x1c0e38,_0x5e0cc9,_0x46834b,_0x342b33)=>{const _0x430377=_0xff08f;for(var _0x4e7876=_0x342b33>0x1?void 0x0:_0x342b33?Js(_0x5e0cc9,_0x46834b):_0x5e0cc9,_0x5b33f9=_0x1c0e38[_0x430377(0x1a8)]-0x1,_0x440463;_0x5b33f9>=0x0;_0x5b33f9--)(_0x440463=_0x1c0e38[_0x5b33f9])&&(_0x4e7876=_0x440463(_0x4e7876)||_0x4e7876);return _0x4e7876;},_o=(_0xa32f42,_0x489756)=>(_0x3400a9,_0x16e74f)=>_0x489756(_0x3400a9,_0x16e74f,_0xa32f42);let gt=class extends _0x51d9e7{constructor(_0x431ecb,_0x506024){const _0x37feca=_0xff08f;super(),this[_0x37feca(0xba)]=_0x431ecb,this[_0x37feca(0xbf)]=_0x506024,this[_0x37feca(0x145)]();}['_initRemoveSheetCommandInterceptor'](){const _0x41f107=_0xff08f;this[_0x41f107(0x1ab)](this[_0x41f107(0xba)]['interceptCommand']({'getMutations':_0x2f25b9=>{const _0xc90d8f=_0x41f107;if(_0x2f25b9['id']===_0x5cb87a['id']){const _0x425dd4=[],_0x230575=[],_0x1bf34e=_0x2f25b9['params'],{unitId:_0x14d33a,subUnitId:_0x5cd49c}=_0x1bf34e;if(!_0x14d33a||!_0x5cd49c)return{'undos':_0x230575,'redos':_0x425dd4};const _0x47db66=this[_0xc90d8f(0xbf)][_0xc90d8f(0x17c)](_0x14d33a,_0x5cd49c);if(_0x47db66!=null&&_0x47db66[_0xc90d8f(0x129)])for(const [_0x16a4db,_0x5ccfbc]of _0x47db66){_0x425dd4[_0xc90d8f(0xc1)]({'id':Et['id'],'params':{'unitId':_0x14d33a,'subUnitId':_0x5cd49c,'pivotTableId':_0x16a4db}});const _0x4ea135={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x14d33a,_0x16a4db)};_0x230575[_0xc90d8f(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x14d33a,'subUnitId':_0x5cd49c,'pivotTableId':_0x16a4db,'pivotTableConfig':_0x5ccfbc,'collectionConfig':_0x4ea135}});}return{'redos':_0x425dd4,'undos':_0x230575};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x351ec8(_0x335a29)),_o(0x1,_0x351ec8(he))],gt);var Ws=Object[_0xff08f(0x1aa)],Gs=(_0x17d32e,_0x18be41,_0x4e518a,_0x58f0e4)=>{const _0x3bef40=_0xff08f;for(var _0x585d71=_0x58f0e4>0x1?void 0x0:_0x58f0e4?Ws(_0x18be41,_0x4e518a):_0x18be41,_0x3f143f=_0x17d32e[_0x3bef40(0x1a8)]-0x1,_0x4f717c;_0x3f143f>=0x0;_0x3f143f--)(_0x4f717c=_0x17d32e[_0x3f143f])&&(_0x585d71=_0x4f717c(_0x585d71)||_0x585d71);return _0x585d71;},Ye=(_0x2a260a,_0x211aac)=>(_0x526839,_0xc84ae1)=>_0x211aac(_0x526839,_0xc84ae1,_0x2a260a);let vt=class extends _0x51d9e7{constructor(_0x1b8fad,_0x4b5195,_0x40b48f,_0x3685ad,_0x422fdf,_0x420b2f){const _0x3bfbd8=_0xff08f;super(),this['_commandService']=_0x1b8fad,this[_0x3bfbd8(0x272)]=_0x4b5195,this['_sheetsPivotTableAdaptorModel']=_0x40b48f,this[_0x3bfbd8(0xbf)]=_0x3685ad,this[_0x3bfbd8(0x2d4)]=_0x422fdf,this[_0x3bfbd8(0x2fe)]=_0x420b2f,this[_0x3bfbd8(0xa8)](),this['registerDirtyService']();}[_0xff08f(0xa8)](){const _0x29edb4=_0xff08f;this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)][_0x29edb4(0x1bc)](_0x2f67e6=>{const _0x37ae5e=_0x29edb4;if(_0x2f67e6['id']!==lo['id'])return;const _0x579222=_0x2f67e6[_0x37ae5e(0x2bf)];this[_0x37ae5e(0x272)][_0x37ae5e(0x28b)](_0x579222);})),this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)][_0x29edb4(0x1bc)](_0xe1059a=>{const _0x32c00b=_0x29edb4;if(_0xe1059a['id']===co['id']){const _0x517d62=_0xe1059a[_0x32c00b(0x2bf)];if(_0x517d62){const {unitId:_0x2f4add,subUnitId:_0x2d686b,oldSubUnitId:_0x26e0eb,pivotTableId:_0x138e52,pivotTableConfig:_0x4d2f5e,collectionConfig:_0x135bfa}=_0x517d62;this['_sheetsPivotTableConfigModel'][_0x32c00b(0x283)](_0x2f4add,_0x26e0eb,_0x517d62[_0x32c00b(0x2d8)],null),this['_sheetsPivotTableConfigModel'][_0x32c00b(0x283)](_0x2f4add,_0x2d686b,_0x138e52,_0x4d2f5e),this[_0x32c00b(0xbf)][_0x32c00b(0x185)](_0x2f4add,_0x135bfa);}}})),this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)]['onCommandExecuted'](_0x5763cb=>{const _0x5256fb=_0x29edb4;if(_0x5763cb['id']!==Dt['id'])return;const _0x55c9fa=_0x32bc51(this[_0x5256fb(0x2d4)]);if(!_0x55c9fa)return;const {unitId:_0x18715d,subUnitId:_0x566a68}=_0x55c9fa,_0x5676e9=_0x5763cb[_0x5256fb(0x2bf)];if(_0x5676e9[_0x5256fb(0x2c0)]&&Object[_0x5256fb(0x237)](_0x5676e9[_0x5256fb(0x2c0)])[_0x5256fb(0x1b9)](_0x25251c=>{const _0x6c5d65=_0x5256fb;var _0x37ecb7;(_0x37ecb7=_0x5676e9[_0x6c5d65(0x2c0)])!=null&&_0x37ecb7[_0x25251c]&&this[_0x6c5d65(0xbf)]['updateCollectionConfig'](_0x25251c,_0x5676e9[_0x6c5d65(0x2c0)][_0x25251c]);}),_0x5676e9[_0x5256fb(0x8e)]){const _0x43dbb8=_0x5676e9[_0x5256fb(0x8e)],{unitId:_0x19de75,subUnitId:_0x2f8ffe,view:_0x3558bb,pivotTableId:_0x1ad478,type:_0x446bf2,pivotConfig:_0x186dac}=_0x43dbb8;if(_0x446bf2===K[_0x5256fb(0xa6)])this['_sheetsPivotTableAdaptorModel'][_0x5256fb(0x1a1)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'pivotTableId':_0x1ad478,'type':_0x446bf2}),this[_0x5256fb(0xbf)]['updateConfigCache'](_0x19de75,_0x2f8ffe,_0x1ad478,null);else{const _0x5d9f6e=new _0x26d2cd();_0x5d9f6e[_0x5256fb(0x165)](_0x3558bb),this[_0x5256fb(0xbf)][_0x5256fb(0x283)](_0x19de75,_0x2f8ffe,_0x1ad478,_0x186dac),this[_0x5256fb(0x22a)][_0x5256fb(0x1a1)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'pivotTableId':_0x1ad478,'type':_0x446bf2,'view':_0x5d9f6e}),this[_0x5256fb(0x22a)][_0x5256fb(0x2c2)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'view':_0x5d9f6e,'pivotTableId':_0x1ad478,'type':_0x446bf2});}}else _0x5676e9[_0x5256fb(0x1c3)]&&(_0x5676e9[_0x5256fb(0x1c3)]['forEach'](_0x173b37=>{const _0x173ab3=_0x5256fb,{unitId:_0x54ed04,subUnitId:_0x155bbe,view:_0x5edff9,pivotTableId:_0x3cb48b,type:_0x4ad103,pivotConfig:_0x5d780c}=_0x173b37,_0x2b9e7d=new _0x26d2cd();_0x2b9e7d['formJSON'](_0x5edff9),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x54ed04,_0x155bbe,_0x3cb48b,_0x5d780c),this[_0x173ab3(0x22a)]['updateRenderCache']({'unitId':_0x54ed04,'subUnitId':_0x155bbe,'view':_0x2b9e7d,'pivotTableId':_0x3cb48b,'type':_0x4ad103});}),this[_0x5256fb(0xbf)][_0x5256fb(0xc0)]());this[_0x5256fb(0x22a)][_0x5256fb(0x2f1)](_0x18715d,_0x566a68);}));}[_0xff08f(0x2d1)](){const _0x45d717=_0xff08f;this['_activeDirtyManagerService'][_0x45d717(0x2a3)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x2e7770){return{'dirtyUnitFeatureMap':_0x2e7770['params']};}});}};vt=Gs([Ye(0x0,_0x351ec8(_0x596dde)),Ye(0x1,_0x351ec8(Z)),Ye(0x2,_0x351ec8(Ne)),Ye(0x3,_0x351ec8(he)),Ye(0x4,_0x351ec8(_0x5838cd)),Ye(0x5,_0x108dda)],vt);var Hs=Object['defineProperty'],qs=Object[_0xff08f(0x1aa)],Ys=(_0x4fed0c,_0xe41560,_0x4fd9a7)=>_0xe41560 in _0x4fed0c?Hs(_0x4fed0c,_0xe41560,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fd9a7}):_0x4fed0c[_0xe41560]=_0x4fd9a7,zs=(_0x539c2a,_0x4e93eb,_0x5e0660,_0x516ca6)=>{const _0x7a94bc=_0xff08f;for(var _0x1e80a1=_0x516ca6>0x1?void 0x0:_0x516ca6?qs(_0x4e93eb,_0x5e0660):_0x4e93eb,_0x270435=_0x539c2a[_0x7a94bc(0x1a8)]-0x1,_0x1b0e12;_0x270435>=0x0;_0x270435--)(_0x1b0e12=_0x539c2a[_0x270435])&&(_0x1e80a1=_0x1b0e12(_0x1e80a1)||_0x1e80a1);return _0x1e80a1;},Ft=(_0x38e0fa,_0x374a16)=>(_0x54a994,_0x2b4c72)=>_0x374a16(_0x54a994,_0x2b4c72,_0x38e0fa),Xo=(_0x20f57f,_0x4545d3,_0x29c2b6)=>Ys(_0x20f57f,typeof _0x4545d3!=_0xff08f(0x18c)?_0x4545d3+'':_0x4545d3,_0x29c2b6);let Vt=class extends _0x352784{constructor(_0xd6f85c=Mo,_0x111bf9,_0x517b4d,_0x1c13ca,_0x2cc33f){const _0x2bb95a=_0xff08f;super(),this[_0x2bb95a(0x274)]=_0xd6f85c,this['_injector']=_0x111bf9,this['_commandService']=_0x517b4d,this[_0x2bb95a(0x2e7)]=_0x1c13ca,this['_dataSyncPrimaryController']=_0x2cc33f;const {..._0x118cf4}=_0x12e4b1({},Mo,this[_0x2bb95a(0x274)]);this['_configService'][_0x2bb95a(0x24d)](Yo,_0x118cf4),this[_0x2bb95a(0x1e4)](),this[_0x2bb95a(0x141)]();}[_0xff08f(0x141)](){const _0x3edd7f=_0xff08f;var _0x1a81cb;const _0x45fd38=(_0x1a81cb=this[_0x3edd7f(0x274)])==null?void 0x0:_0x1a81cb['notExecuteFormula'];this[_0x3edd7f(0x2e7)]['setConfig'](q,_0x45fd38===!0x0);}[_0xff08f(0x1dd)](){const _0x18a5e6=_0xff08f;var _0x311dbb;let _0x382e4c=[];const _0x55ef3e=(_0x311dbb=this[_0x18a5e6(0x274)])==null?void 0x0:_0x311dbb['notExecuteFormula'];_0x55ef3e===!0x0?_0x382e4c=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x55ef3e===!0x1?_0x382e4c=[[$],[ct]]:_0x55ef3e===void 0x0&&(_0x382e4c=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x382e4c[_0x18a5e6(0x1b9)](_0x82ae6d=>this[_0x18a5e6(0x157)][_0x18a5e6(0x15c)](_0x82ae6d)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x4c28ac=>{const _0x2d7384=_0x18a5e6;this[_0x2d7384(0x157)][_0x2d7384(0x1bd)](_0x4c28ac)&&this[_0x2d7384(0x157)]['get'](_0x4c28ac);});}[_0xff08f(0x1e4)](){const _0xd35ef=_0xff08f;[hs,ps,vs,ms,Cs,ys,Ds,bs,Ts,Ss,Ps,Ms,ws,Is,Ct,oo,Et,$t,zo,Qo,Ht,Jt,jt,Wt,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Gt,uo,to,Zt,Ut,co,_s,Qt,Fs,Rs][_0xd35ef(0x1b9)](_0x358e7d=>{const _0x445e6c=_0xd35ef;var _0x2d66db;(_0x2d66db=this[_0x445e6c(0x159)])==null||_0x2d66db[_0x445e6c(0x2ae)](_0x358e7d),this[_0x445e6c(0x260)][_0x445e6c(0xd3)](_0x358e7d);});}};Xo(Vt,'pluginName',ao),Xo(Vt,_0xff08f(0x11a),_0x534b47[_0xff08f(0x288)]),Vt=zs([_0x2195c9(_0x5ad87e),Ft(0x1,_0x351ec8(_0x8ab5d1)),Ft(0x2,_0x351ec8(_0x596dde)),Ft(0x3,_0x56c73b),Ft(0x4,_0x206ad2(_0x45346f))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,K as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ts as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Go as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Kt as unionPivotViewRange};