@univerjs-pro/sheets-pivot 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506151606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3cd867=_0x1dff;(function(_0x3903a1,_0x46c683){const _0x4e9c7d=_0x1dff,_0x3859e8=_0x3903a1();while(!![]){try{const _0x436a90=-parseInt(_0x4e9c7d(0x36d))/0x1*(-parseInt(_0x4e9c7d(0x3b9))/0x2)+-parseInt(_0x4e9c7d(0x303))/0x3+-parseInt(_0x4e9c7d(0x1e1))/0x4*(-parseInt(_0x4e9c7d(0x319))/0x5)+-parseInt(_0x4e9c7d(0x3f5))/0x6+parseInt(_0x4e9c7d(0x297))/0x7+-parseInt(_0x4e9c7d(0x340))/0x8+parseInt(_0x4e9c7d(0x2ba))/0x9;if(_0x436a90===_0x46c683)break;else _0x3859e8['push'](_0x3859e8['shift']());}catch(_0xfb3232){_0x3859e8['push'](_0x3859e8['shift']());}}}(_0x11bb,0x48f16));var an=Object[_0x3cd867(0x40f)],rn=(_0x49a9a7,_0x4330e9,_0x30b1a9)=>_0x4330e9 in _0x49a9a7?an(_0x49a9a7,_0x4330e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30b1a9}):_0x49a9a7[_0x4330e9]=_0x30b1a9,V=(_0xbce75c,_0xf2e8ac,_0x3b3524)=>rn(_0xbce75c,typeof _0xf2e8ac!=_0x3cd867(0x2ae)?_0xf2e8ac+'':_0xf2e8ac,_0x3b3524);import{PivotCellStyleTypeEnum as _0x25948f,PivotViewCellValueTypeEnum as _0xd8c660,isPrefixValue as _0x3ff8f8,isErrorValue as _0xd06c17,PivotErrorTypeEnum as _0x539b71,PivotDateGroupFieldDateTypeEnum as _0x215d7a,DataFieldManager as _0x5a245c,FieldsCollection as _0x10d425,isDateValue as _0x527ede,DataField as _0x4cd259,generateHexNumber as _0x28e17f,isBaseGroupField as _0x5ee9e7,PivotTable as _0x5ca8f0,PivotSubtotalTypeEnum as _0x390d0d,PivotTableFiledAreaEnum as _0x3e27e3,excelDateToUnixMilliseconds as _0x19eade,createValueField as _0x3e122a,createLabelField as _0x525a98,PivotTableChangeTypeEnum as _0x3edc6f,BaseGroupField as _0x148218,PivotView as _0x2b2847,isDateGroupFieldJSON as _0x30e487,PivotCallbackEnum as _0x1170ca,PivotFilterTypeEnum as _0xf2e1f3,getAutoDisplayName as _0x25cd7e,PivotDataFieldDataTypeEnum as _0x3dd9e0,PivotTableValuePositionEnum as _0x2b3a3d,isDateGroupField as _0x547986,DateGroupField as _0x2c0e98}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x120a1f,ObjectMatrix as _0xf97b68,IUniverInstanceService as _0x27e8db,UniverInstanceType as _0x264b88,CellValueType as _0x28c6ec,numfmt as _0x20163d,LocaleService as _0xb73921,createAsyncInterceptorKey as _0x2733e3,createInterceptorKey as _0x2b8256,CommandType as _0x502ab6,RANGE_TYPE as _0x22fcaa,numberToABC as _0xf4828f,Inject as _0x230206,Injector as _0x48fa95,LifecycleService as _0x129caa,IConfigService as _0x52a20c,ICommandService as _0x518b26,IResourceManagerService as _0x19c538,Disposable as _0x106977,Rectangle as _0x875ff4,Tools as _0x56d9b5,AsyncInterceptorManager as _0x673bff,InterceptorManager as _0xa617db,InterceptorEffectEnum as _0x2cafc7,CustomCommandExecutionError as _0x1678c7,IUndoRedoService as _0x52a4a2,sequenceExecute as _0x4f9bff,mergeWorksheetSnapshotWithDefault as _0xcd6e7e,generateRandomId as _0x40f5e9,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4587c2,DEFAULT_WORKSHEET_ROW_COUNT as _0x1dfa87,DisposableCollection as _0x2d59a9,Range as _0x5c33c7,DependentOn as _0x474ece,Optional as _0x45c209,Plugin as _0x36a674,merge as _0x140103}from'@univerjs/core';import{ErrorType as _0x3f9ec5,serializeRangeWithSpreadsheet as _0x1f91e6,IFeatureCalculationManagerService as _0x2e7117,GlobalComputingStatusService as _0x3186dc,IActiveDirtyManagerService as _0x2d3f5b}from'@univerjs/engine-formula';import{generateNullCell as _0x1a63db,SetRangeValuesUndoMutationFactory as _0x2e8194,SetRangeValuesMutation as _0x533b97,getSheetCommandTarget as _0x4e8dc1,InsertRowMutation as _0x39ab5e,RemoveRowMutation as _0x534e65,InsertColMutation as _0xb1631a,RemoveColMutation as _0x402818,IExclusiveRangeService as _0x52b7e9,SheetInterceptorService as _0x14ab9d,INTERCEPTOR_POINT as _0x51fc88,InsertSheetCommand as _0x1268f1,InsertSheetUndoMutationFactory as _0x55ea1d,RemoveSheetMutation as _0x89fbd9,InsertSheetMutation as _0x201149,MoveRangeMutation as _0x59246c,SheetsSelectionsService as _0x1ee304,ClearSelectionContentCommand as _0x1e968f,ClearSelectionAllCommand as _0x1dfea9,SetWorksheetColWidthMutation as _0x3ded30,RefRangeService as _0x2feb2b,SetWorksheetActiveOperation as _0xe59af7,MoveRangeCommand as _0x17843d,RemoveSheetCommand as _0x12d211}from'@univerjs/sheets';import{Subject as _0x4062e3,BehaviorSubject as _0x13119c}from'rxjs';import{LS_CONFIG_KEY as _0x14f8c8,unshiftString as _0x3b5338,isFeatureAuthorizedWithinTime as _0x2ca9f3,getSheetFeatureLimit as _0x54f429,ReleaseType as _0x185cfd,UniverLicensePlugin as _0x2d2587}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x236c3a,RemoveSheetsFilterMutation as _0x5a47be}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x143939}from'@univerjs/rpc';import{getFontStyleString as _0x56bdcd,FontCache as _0x239570}from'@univerjs/engine-render';const ko=Number[_0x3cd867(0x3b7)](0x684c4d88),li=0x10,so=0x1,ao=_0x3cd867(0x3a7),It=0x1,ci=_0x3cd867(0x2ac),di=_0x3cd867(0x208),wt='#b2b2b2',ui='#f4f4f5',fi=_0x3cd867(0x414),gi=_0x3cd867(0x40b),vi=_0x3cd867(0x1fb),hi=_0x3cd867(0x3e8),pi='#e6ebfa',mi=_0x3cd867(0x1fb),Ii=_0x3cd867(0x3e8),Ci='#e6ebfb',bi=0xe,Si=0x6;var Lo=(_0x335758=>(_0x335758[_0x3cd867(0x3a2)]=_0x3cd867(0x3a4),_0x335758[_0x3cd867(0x34b)]=_0x3cd867(0x379),_0x335758))(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':''}}},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 Ti(_0x5cb141,_0x4dd348,_0x2b8b30){const _0x2ea897=_0x3cd867,_0x395ff2=_0x5cb141[_0x2ea897(0x2ec)](_0xb73921),_0x187441=_0x2b8b30['split']('_');switch(_0x4dd348){case _0x215d7a[_0x2ea897(0x327)]:return _0x395ff2['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x187441);case _0x215d7a['Minute']:return _0x395ff2['t'](_0x2ea897(0x3d0),..._0x187441);case _0x215d7a['Hour']:return _0x395ff2['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x187441);case _0x215d7a[_0x2ea897(0x311)]:return _0x395ff2['t'](_0x2ea897(0x3f4),..._0x187441);case _0x215d7a['Date']:return _0x395ff2['t'](_0x2ea897(0x38e),..._0x187441);case _0x215d7a[_0x2ea897(0x298)]:return _0x395ff2['t'](_0x2ea897(0x296),..._0x187441);case _0x215d7a[_0x2ea897(0x2be)]:return _0x395ff2['t'](_0x2ea897(0x2cc),..._0x187441);case _0x215d7a[_0x2ea897(0x2b0)]:return _0x395ff2['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x187441);case _0x215d7a[_0x2ea897(0x253)]:return _0x395ff2['t'](_0x2ea897(0x2fe),..._0x187441);case _0x215d7a['YearQuarter']:return _0x395ff2['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x187441);}return'';}const it=(_0x22a47c,_0x31f380,_0x2089df,_0x32801e)=>{const _0x3af4ba=_0x3cd867;let _0x536862;const _0x2ed5d4=_0x22a47c[_0x3af4ba(0x2ec)](_0x27e8db)[_0x3af4ba(0x27e)](_0x264b88[_0x3af4ba(0x1da)]);if(!_0x2ed5d4)return null;const _0x27511a=_0x2ed5d4[_0x3af4ba(0x21d)]();let _0xd45b7f;if(_0x2089df&&(_0xd45b7f=_0x27511a['setValue'](_0x2089df)),_0x31f380!=null&&_0x31f380['v']||(_0x31f380==null?void 0x0:_0x31f380['v'])===0x0){_0x536862||(_0x536862={});const _0x5c6579=$o(_0x31f380['v']);typeof _0x5c6579==_0x3af4ba(0x29d)?_0x536862['t']=_0x28c6ec[_0x3af4ba(0x32f)]:typeof _0x5c6579==_0x3af4ba(0x2bd)&&(_0x536862['t']=_0x28c6ec[_0x3af4ba(0x3cf)]),_0x536862['v']=_0x5c6579;}if((_0x31f380!=null&&_0x31f380['i']||(_0x31f380==null?void 0x0:_0x31f380['i'])===0x0)&&(_0x536862||(_0x536862={}),_0x536862['fi']=_0x31f380['i']),_0x31f380!=null&&_0x31f380['s']&&(_0x536862||(_0x536862={}),_0x536862['pbt']=_0x31f380['s']),_0x2089df&&(_0x536862||(_0x536862={}),_0x536862['s']=_0xd45b7f),_0x32801e&&_0x536862!=null&&_0x536862['v']&&_0x536862['pbt']!==_0x25948f['GrandTotal']&&_0x536862[_0x3af4ba(0x3d7)]!==_0x25948f[_0x3af4ba(0x41e)]){const _0x110e18=String(_0x536862['v']),{dateType:_0x4b5b1c}=_0x32801e;_0x536862['v']=Ti(_0x22a47c,_0x4b5b1c,_0x110e18),_0x536862['t']=_0x28c6ec['STRING'];}return _0x536862;},yi=(_0x129ce8,_0x5c813b,_0xba5971,_0x3f88df)=>{const _0x9e0bba=_0x3cd867;var _0x5de602,_0x5a7847,_0x357ead,_0x13db10,_0x196fd7,_0x33b389,_0x5dbb18,_0x17b03d,_0x56b2b1,_0xe11093,_0x6a4e85,_0x3d19e3,_0x3a9dd4,_0x55ef7c;const _0x464d07=_0xba5971['targetCellInfo'],{cornerView:_0x2d511e,rowView:_0x1af7e2,colView:_0x3f7a7a,dataView:_0x55741e,pageView:_0xd49783,formatMap:_0x599275,groupInfo:_0x215aef}=_0x5c813b,{row:_0x55cdfd,col:_0xcaad08}=_0x464d07,_0x48631c=new _0xf97b68(),_0x570589={},_0x49188a={},_0x149f5d={},_0x359977={},_0x44fffa={};let _0x22d43c=_0x55cdfd,_0x36214f=_0xcaad08;Object[_0x9e0bba(0x347)](_0xd49783[_0x9e0bba(0x3c4)])['forEach'](_0x472176=>{const _0x32d2d7=_0x9e0bba;Object['keys'](_0xd49783['data'][Number(_0x472176)])[_0x32d2d7(0x3f1)](_0x247f72=>{const _0x3d77d3=_0x32d2d7,_0x48a131={..._0xd49783[_0x3d77d3(0x3c4)][Number(_0x472176)][Number(_0x247f72)]};_0x48631c[_0x3d77d3(0x2af)](Number(_0x472176)+_0x22d43c,Number(_0x247f72)+_0x36214f,it(_0x129ce8,_0x48a131,fe['pageStyle']));});});const _0x265df9=Object[_0x9e0bba(0x347)](_0xd49783[_0x9e0bba(0x3c4)])[_0x9e0bba(0x2f7)];_0x22d43c+=_0x265df9+(_0x265df9?It:0x0);const _0x45bd30=_0x2d511e[_0x9e0bba(0x3fa)](),_0x4caafc=_0x2d511e[_0x9e0bba(0x449)]();for(let _0x2ff999=0x0;_0x2ff999<_0x45bd30;_0x2ff999++)for(let _0x481b2f=0x0;_0x481b2f<_0x4caafc;_0x481b2f++){const _0x3293a7={...(_0x5a7847=(_0x5de602=_0x2d511e[_0x9e0bba(0x3c4)])==null?void 0x0:_0x5de602[_0x2ff999])==null?void 0x0:_0x5a7847[_0x481b2f]};_0x3293a7&&((_0x357ead=_0x1af7e2['headerMap'][_0x481b2f])!=null&&_0x357ead[_0x9e0bba(0x430)])&&_0x481b2f===_0x4caafc-0x1&&_0x2ff999===_0x45bd30-0x1&&(_0x3293a7['v']=''+_0x3f88df[_0x9e0bba(0x2a1)]),_0x48631c['setValue'](_0x2ff999+_0x22d43c,_0x481b2f+_0x36214f,it(_0x129ce8,_0x3293a7,fe[_0x9e0bba(0x227)]));}for(let _0x4d3b40=0x0;_0x4d3b40<_0x2d511e[_0x9e0bba(0x385)][_0x9e0bba(0x2f7)];_0x4d3b40++)_0x2d511e[_0x9e0bba(0x385)][_0x4d3b40]&&(_0x149f5d[''+(_0x4d3b40+_0x36214f)]=_0x2d511e['info'][_0x4d3b40]);_0x36214f+=_0x4caafc;const _0x4a8f92=_0x3f7a7a[_0x9e0bba(0x22d)],_0x34ad13=_0x3f7a7a[_0x9e0bba(0x351)]()>=0x0?_0x3f7a7a['getLastRow']()+0x1:0x0,_0x224861=_0x3f7a7a[_0x9e0bba(0x374)]()>=0x0?_0x3f7a7a[_0x9e0bba(0x374)]()+0x1:0x0;for(let _0x1702b0=0x0;_0x1702b0<_0x224861;_0x1702b0++){for(let _0x31d0f9=0x0;_0x31d0f9<_0x34ad13;_0x31d0f9++){const _0x42dacf={...(_0x196fd7=(_0x13db10=_0x3f7a7a[_0x9e0bba(0x3c4)])==null?void 0x0:_0x13db10[_0x31d0f9])==null?void 0x0:_0x196fd7[_0x1702b0]},_0xa99bf4=(_0x33b389=_0x4a8f92[_0x31d0f9])==null?void 0x0:_0x33b389[_0x9e0bba(0x360)],_0x5f54ea=_0x599275[_0xa99bf4],_0x2f8624=_0x215aef[_0xa99bf4];_0x42dacf&&(_0x42dacf['v']=ht(_0x42dacf,_0x31d0f9===0x0&&((_0x5dbb18=_0x3f7a7a[_0x9e0bba(0x212)](_0x1702b0+0x1))==null?void 0x0:_0x5dbb18[_0x9e0bba(0x430)]),_0x5f54ea,_0x3f88df));let _0x1eb977;_0x5f54ea?_0x1eb977={...fe['colStyle'],'n':{'pattern':_0x5f54ea}}:_0x1eb977={...fe[_0x9e0bba(0x1d3)]},_0x48631c[_0x9e0bba(0x2af)](_0x31d0f9+_0x22d43c,_0x1702b0+_0x36214f,it(_0x129ce8,_0x42dacf,_0x1eb977,_0x2f8624));}_0x3f7a7a[_0x9e0bba(0x385)][_0x1702b0]&&(_0x49188a[''+(_0x1702b0+_0x36214f)]=_0x3f7a7a[_0x9e0bba(0x385)][_0x1702b0]),_0x3f7a7a[_0x9e0bba(0x22d)][_0x1702b0+0x1]&&(_0x44fffa[''+(_0x1702b0+_0x22d43c+0x1)]=_0x3f7a7a['headerMap'][_0x1702b0+0x1]);}_0x22d43c+=_0x45bd30;const _0x501e6a=_0x1af7e2['headerMap'],_0xe7fd0a=_0x1af7e2[_0x9e0bba(0x351)]()>=0x0?_0x1af7e2[_0x9e0bba(0x351)]()+0x1:0x0,_0x645c0f=_0x1af7e2['getLastCol']()>=0x0?_0x1af7e2['getLastCol']()+0x1:0x0;for(let _0x367d17=0x0;_0x367d17<_0xe7fd0a;_0x367d17++){for(let _0x1bfe11=0x0;_0x1bfe11<_0x645c0f;_0x1bfe11++){const _0xf64941={...(_0x56b2b1=(_0x17b03d=_0x1af7e2[_0x9e0bba(0x3c4)])==null?void 0x0:_0x17b03d[_0x367d17])==null?void 0x0:_0x56b2b1[_0x1bfe11]},_0x41623e=(_0xe11093=_0x501e6a[_0x1bfe11])==null?void 0x0:_0xe11093[_0x9e0bba(0x360)],_0x2a61d3=_0x599275[_0x41623e],_0x56e68a=_0x215aef[_0x41623e];_0xf64941&&(_0xf64941['v']=ht(_0xf64941,!0x1,_0x2a61d3,_0x3f88df));let _0xf7ce74;_0x1af7e2[_0x9e0bba(0x385)][_0x367d17][_0x9e0bba(0x34f)]===_0x1af7e2['getColCount']()?_0xf7ce74=fe[_0x9e0bba(0x380)]:_0x1af7e2[_0x9e0bba(0x385)][_0x367d17][_0x9e0bba(0x346)]?_0xf7ce74=_0x1af7e2['info'][_0x367d17][_0x9e0bba(0x34f)]===0x0?fe[_0x9e0bba(0x3c9)]:fe[_0x9e0bba(0x33f)]:_0xf7ce74=fe['rowStyle'],_0x2a61d3&&(_0xf7ce74={..._0xf7ce74,'n':{'pattern':_0x2a61d3}}),_0x48631c[_0x9e0bba(0x2af)](_0x367d17+_0x22d43c,_0x1bfe11+_0xcaad08,it(_0x129ce8,_0xf64941,_0xf7ce74,_0x56e68a));}_0x1af7e2[_0x9e0bba(0x385)][_0x367d17]&&(_0x570589[''+(_0x367d17+_0x22d43c)]=_0x1af7e2['info'][_0x367d17]),_0x1af7e2['headerMap'][_0x367d17]&&(_0x359977[''+(_0x367d17+_0xcaad08)]=_0x1af7e2[_0x9e0bba(0x22d)][_0x367d17]);}const _0x23da2e=_0x55741e['getRowCount'](),_0x47d1d7=_0x55741e['getColCount']();for(let _0x3ac0e4=0x0;_0x3ac0e4<_0x23da2e;_0x3ac0e4++)for(let _0x1b0e1e=0x0;_0x1b0e1e<_0x47d1d7;_0x1b0e1e++){const _0x771e3={...(_0x3d19e3=(_0x6a4e85=_0x55741e[_0x9e0bba(0x3c4)])==null?void 0x0:_0x6a4e85[_0x3ac0e4])==null?void 0x0:_0x3d19e3[_0x1b0e1e]};let _0xc213c7;_0x1af7e2[_0x9e0bba(0x385)][_0x3ac0e4]['isBottomTotal']?_0xc213c7=_0x1af7e2[_0x9e0bba(0x385)][_0x3ac0e4][_0x9e0bba(0x34f)]===0x0?fe[_0x9e0bba(0x3c9)]:fe[_0x9e0bba(0x33f)]:_0xc213c7=fe[_0x9e0bba(0x1ce)];const _0x5dcce5=_0x1af7e2[_0x9e0bba(0x385)][_0x3ac0e4][_0x9e0bba(0x3fb)],_0x274ac0=_0x3f7a7a[_0x9e0bba(0x385)][_0x1b0e1e][_0x9e0bba(0x3fb)],_0x2427bf=Math[_0x9e0bba(0x310)](_0x5dcce5,_0x274ac0),_0x341035=_0xba5971[_0x9e0bba(0x29b)][_0x9e0bba(0x441)]['concat']();let _0x5eb8b9='';_0x2427bf<0x0?_0x5eb8b9=(_0x3a9dd4=_0x341035[0x0])!=null?_0x3a9dd4:'':_0x5eb8b9=(_0x55ef7c=_0x341035[_0x2427bf])!=null?_0x55ef7c:'';const _0x16e700=_0x599275[_0x5eb8b9];_0x16e700&&(_0xc213c7={..._0xc213c7,'n':{'pattern':_0x16e700}}),_0x48631c['setValue'](_0x3ac0e4+_0x22d43c,_0x1b0e1e+_0x36214f,it(_0x129ce8,_0x771e3,_0xc213c7));}return{'valueMatrix':_0x48631c,'rowInfo':_0x570589,'colInfo':_0x49188a,'cornerInfo':_0x149f5d,'rowHeaderMap':_0x359977,'colHeaderMap':_0x44fffa};};function ht(_0x27745b,_0x123655,_0xb19e0,_0x25a034){const _0x2fcb47=_0x3cd867;let _0x5d17ee=_0x27745b['v'];_0x123655&&(_0x5d17ee=''+_0x25a034[_0x2fcb47(0x2a1)]);const _0x4291cc=_0x27745b['t']&&(_0x27745b['t']&_0xd8c660[_0x2fcb47(0x393)])>0x0;if(_0x4291cc&&(_0x5d17ee=''+_0x25a034[_0x2fcb47(0x287)]),_0x27745b['s']===_0x25948f[_0x2fcb47(0x41e)]){let _0x19e623=_0x5d17ee,_0x42fbe5='';_0x3ff8f8(_0x5d17ee)&&(_0x19e623=_0x5d17ee[_0x2fcb47(0x2f6)],_0x42fbe5=_0x5d17ee['value']);const _0x4356aa=_0xb19e0&&!_0x4291cc?_0x20163d[_0x2fcb47(0x2d4)](_0xb19e0,Number(_0x19e623)):_0x19e623;_0x42fbe5?_0x5d17ee=_0x4356aa+'\x20'+_0x42fbe5:_0x5d17ee=_0x4356aa+'\x20'+_0x25a034[_0x2fcb47(0x2c5)];}else _0x27745b['s']===_0x25948f[_0x2fcb47(0x28b)]&&(_0x5d17ee=_0x5d17ee+'\x20'+_0x25a034[_0x2fcb47(0x3f3)]);return _0x5d17ee;}function $o(_0x25d29e){const _0x3f6214=_0x3cd867;if(_0xd06c17(_0x25d29e)){const {errorType:_0x1673fc}=_0x25d29e;switch(_0x1673fc){case _0x539b71['Div0']:return _0x3f9ec5[_0x3f6214(0x28a)];case _0x539b71[_0x3f6214(0x23e)]:return _0x3f9ec5[_0x3f6214(0x353)];case _0x539b71[_0x3f6214(0x3fd)]:return _0x3f9ec5[_0x3f6214(0x1f5)];case _0x539b71[_0x3f6214(0x2d9)]:return _0x3f9ec5[_0x3f6214(0x1f5)];case _0x539b71[_0x3f6214(0x2d8)]:return _0x3f9ec5['REF'];}}return _0x25d29e;}function ge(_0x4ace6c,_0xf19a91,_0x23a085=!0x1,_0x1bbf4b=!0x1){const _0x14537b=_0x3cd867,{data:_0x11e057}=_0xf19a91,_0x4f9f09=_0xf19a91[_0x14537b(0x3fa)](),_0x265b0a=_0xf19a91[_0x14537b(0x449)]();if(_0x4f9f09<=0x0||_0x265b0a<=0x0)return[];const _0x408c0f=_0xf19a91[_0x14537b(0x374)](),_0x5500c7=_0xf19a91[_0x14537b(0x351)](),_0x338a0a=_0x1bbf4b?_0x5500c7>=0x0?_0x5500c7+0x1:0x0:_0x4f9f09,_0x40af67=_0x1bbf4b?_0x408c0f>=0x0?_0x408c0f+0x1:0x0:_0x265b0a,{row:_0x7cc1c9,col:_0x3d9203}=_0x4ace6c,_0x406c6f=_0x7cc1c9,_0x5f378d=_0x3d9203;if(_0x23a085){const _0x2c3d37=[];for(const [_0x51a99b,_0x342570]of Object[_0x14537b(0x43f)](_0x11e057))for(const [_0x428453,_0x38299f]of Object['entries'](_0x342570))_0x2c3d37[_0x14537b(0x1e6)](_0x120a1f(_0x406c6f+Number(_0x51a99b),_0x5f378d+Number(_0x428453)));return _0x2c3d37;}else{const _0x553e6e=_0x1bbf4b?_0x338a0a>0x0?0x1:0x0:0x1,_0x3f4add=_0x1bbf4b?_0x40af67>0x0?0x1:0x0:0x1,_0x4e4538=_0x7cc1c9+_0x338a0a-_0x553e6e,_0xc92fb=_0x3d9203+_0x40af67-_0x3f4add;return[{'startRow':_0x406c6f,'startColumn':_0x5f378d,'endRow':_0x4e4538,'endColumn':_0xc92fb}];}}const H=_0x3cd867(0x20a),Lt=_0x3cd867(0x1e7);var k=(_0x2f9956=>(_0x2f9956['Filter']=_0x3cd867(0x3ca),_0x2f9956[_0x3cd867(0x3c1)]=_0x3cd867(0x309),_0x2f9956[_0x3cd867(0x2a0)]=_0x3cd867(0x338),_0x2f9956[_0x3cd867(0x43b)]='AddPivotTableWithConfig',_0x2f9956[_0x3cd867(0x27c)]='addPivotTable',_0x2f9956[_0x3cd867(0x3ac)]=_0x3cd867(0x2f4),_0x2f9956['RemovePivotField']=_0x3cd867(0x356),_0x2f9956[_0x3cd867(0x300)]='setPivotCollapse',_0x2f9956['SetPivotFilter']=_0x3cd867(0x2cb),_0x2f9956['SetPivotSort']=_0x3cd867(0x318),_0x2f9956[_0x3cd867(0x1fe)]=_0x3cd867(0x215),_0x2f9956[_0x3cd867(0x3c8)]='updatePivotSource',_0x2f9956[_0x3cd867(0x440)]=_0x3cd867(0x2f0),_0x2f9956[_0x3cd867(0x289)]='drillDown',_0x2f9956['SetValuePivotFilter']=_0x3cd867(0x1f6),_0x2f9956[_0x3cd867(0x288)]=_0x3cd867(0x280),_0x2f9956[_0x3cd867(0x1f3)]=_0x3cd867(0x24a),_0x2f9956))(k||{});const Mi={'sheets-pivot.blankValue':_0x3cd867(0x2c7),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x3cd867(0x216),'sheets-pivot.grandTotalText':_0x3cd867(0x3a3),'sheets-pivot.valueText':_0x3cd867(0x39f),'sheets-pivot.averageName':_0x3cd867(0x349),'sheets-pivot.countName':_0x3cd867(0x24c),'sheets-pivot.countNumsName':_0x3cd867(0x24c),'sheets-pivot.maxName':_0x3cd867(0x2a8),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x3cd867(0x229),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x3cd867(0x38f),'sheets-pivot.varName':_0x3cd867(0x24f),'sheets-pivot.varpName':_0x3cd867(0x2e8),'sheets-pivot.subTotal':_0x3cd867(0x41e),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x3cd867(0x3c0),'sheets-pivot.blank':_0x3cd867(0x393),'sheets-pivot.emptyPivot.filter':_0x3cd867(0x206),'sheets-pivot.emptyPivot.row':_0x3cd867(0x41c),'sheets-pivot.emptyPivot.column':_0x3cd867(0x2e0),'sheets-pivot.emptyPivot.values':_0x3cd867(0x315)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x2733e3(_0x3cd867(0x290)),Jo=_0x2b8256('pivotMutationGenerate');var Be=(_0x53cc08=>(_0x53cc08[_0x3cd867(0x314)]=_0x3cd867(0x314),_0x53cc08[_0x3cd867(0x40a)]='delete',_0x53cc08[_0x3cd867(0x408)]=_0x3cd867(0x408),_0x53cc08))(Be||{}),$=(_0x284033=>(_0x284033[_0x3cd867(0x2e9)]=_0x3cd867(0x314),_0x284033[_0x3cd867(0x2b3)]=_0x3cd867(0x241),_0x284033[_0x3cd867(0x2ea)]=_0x3cd867(0x40a),_0x284033))($||{});const Wo={0x0:'t',0x1:'g',0x2:'n',0x3:'4',0x4:'r',0x5:'k',0x6:'M',0x7:'Z',0x8:'s',0x9:'o','n':'0','H':'1','t':'2','z':'3','g':'5','j':'6','o':'7','S':'8','M':'9','D':'a','C':'b','T':'c','A':'d','p':'e','Y':'f','h':'h','c':'i','q':'j','O':'l','I':'m','K':'p','N':'q','l':'u','x':'v','y':'w','P':'x','k':'y','X':'z','V':'A','a':'B','B':'C','W':'D','m':'E','i':'F','Q':'G','w':'H','r':'I','b':'J','U':'K','Z':'L','e':'N','J':'O','L':'P','d':'Q','s':'R','f':'S','R':'T','F':'U','E':'V','v':'W','u':'X','G':'Y'},jo='Yl2T0c92\x20ApT4kK0c92(OcTp28p,\x20KlCOcTUpk)\x20{\x20\x20\x20\x2004k\x20{\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20OcTp28pr2Y9LD40V44Dk\x20=\x20OcTp28p.8KOc0(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x2094c1c26p88D1p\x20=\x20bfJe.KD48p(D09C(OcTp28pr2Y9LD40V44Dk[t]));\x20\x20\x20\x20\x20\x20\x20\x20cY\x20(!94c1c26p88D1p.lA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2094c1c26p88D1p.lA\x20=\x20elICp4(OcTp28pr2Y9LD40V44Dk[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20c8v945p4\x20=\x200kKp9Y\x20v945p4QO9CDOfT9Kp\x20!==\x20\x27l2ApYc2pA\x27\x20&&\x208pOY\x20c280D2Tp9Y\x20v945p4QO9CDOfT9Kp;\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20T920pP0\x20=\x20c8v945p4\x20?\x208pOY\x20:\x20yc2A9y;\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20Ip88D1pv94A\x20=\x20T920pP0.__aD8pj3__.KD48p(OcTp28pr2Y9LD40V44Dk[t]);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20Ip88D1p\x20=\x20T920pP0.__wpP__.804c21cYk(Ip88D1pv94A);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x208c12D0l4pv94A\x20=\x20T920pP0.__aD8pj3__.KD48p(OcTp28pr2Y9LD40V44Dk[z]);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x208c12D0l4p\x20=\x20T920pP0.__wpP__.804c21cYk(8c12D0l4pv94A);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x208c12EDOcA\x20=\x20T920pP0.__xp4cYk__(8c12D0l4p,\x20Ip88D1p,\x20KlCOcTUpk);\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20A9IDc2\x20=\x2094c1c26p88D1p.AI;\x20\x20\x20\x20\x20\x20\x20\x20Yl2T0c92\x20c8W9IDc26D0Thc21(9LD00p42,\x209w980)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20KD00p42\x20=\x209LD00p42.4pKODTp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20h980\x20=\x209w980.4pKODTp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20KD00p42LD408\x20=\x20KD00p42.8KOc0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20h980LD408\x20=\x20h980.8KOc0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cY\x20(!KD00p42.c2TOlAp8(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p0l42\x20KD00p42\x20===\x20h980;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cY\x20(KD00p42LD408.Op210h\x20<\x20t\x20||\x20KD00p42LD408[n]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p0l42\x20YDO8p;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20KD00p42flYYcP\x20=\x20KD00p42LD408.8OcTp(H).q9c2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20h980flYYcP\x20=\x20h980LD408.8OcTp(-KD00p42LD408.Op210h\x20+\x20H).q9c2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p0l42\x20KD00p42flYYcP\x20===\x20h980flYYcP;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Op0\x20A9IDc2EDOcA\x20=\x20(A9IDc2\x20&&\x20A9IDc2.Op210h)\x20?\x20A9IDc2.89Ip((AIr0pI)\x20=>\x20c8W9IDc26D0Thc21(AIr0pI,\x20O9TD0c92.h9802DIp))\x20:\x2004lp;\x20\x20\x20\x20\x20\x20\x20\x20cY\x20(O9TD0c92.h9802DIp\x20===\x20\x27O9TDOh980\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A9IDc2EDOcA\x20=\x2004lp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20T9280\x20xDOcA\x20=\x208c12EDOcA\x20&&\x20A9IDc2EDOcA;\x20\x20\x20\x20\x20\x20\x20\x204p0l42\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xDOcA,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ip88D1p:\x2094c1c26p88D1p,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TD0Th\x20(p4494)\x20{\x20\x20\x20\x20\x20\x20\x20\x204p0l42\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xDOcA:\x20YDO8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ip88D1p:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},lo={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Rt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x251),'handler':()=>!0x0},co={'type':_0x502ab6['MUTATION'],'id':_0x3cd867(0x35d),'handler':()=>!0x0},uo={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x2f9),'handler':()=>!0x0},wi=_0x57765=>{const _0xb623ca=_0x3cd867;var _0x4669cd;return((_0x4669cd=_0x57765[_0xb623ca(0x2c8)])==null?void 0x0:_0x4669cd[_0xb623ca(0x20d)][_0xb623ca(0x3b5)](/\r\n$/,''))||'';};class _i extends _0x5a245c{constructor(_0x40fca1,_0x3ca72e){const _0x4a9149=_0x3cd867;super(),V(this,'rangeKeyMap',{}),V(this,_0x4a9149(0x2c2)),V(this,_0x4a9149(0x1eb)),(this[_0x4a9149(0x2c2)]=_0x3ca72e,this['_host']=_0x40fca1);}['initDataRanges'](){const _0x612637=_0x3cd867;for(const _0x411841 in this[_0x612637(0x433)]){const _0x55114b=this[_0x612637(0x433)][_0x411841],_0x51d001=_0x55114b[_0x612637(0x438)]();this['rangeKeyMap'][_0x51d001]=_0x55114b['getId']();}}[_0x3cd867(0x203)](){const _0x592156=_0x3cd867,_0x41fa10=this[_0x592156(0x1eb)];return Oi[_0x592156(0x21f)](_0x41fa10);}['deleteDataField'](_0x34410b){const _0xb23c66=_0x3cd867,_0x5245ea=this['dataFields'][_0x34410b][_0xb23c66(0x3fc)];delete this[_0xb23c66(0x433)][_0x34410b],delete this['rangeKeyMap'][_0x5245ea];}[_0x3cd867(0x445)](_0x439577){const _0x3fb9c2=_0x3cd867;this[_0x3fb9c2(0x433)][_0x439577[_0x3fb9c2(0x23b)]()]=_0x439577;}[_0x3cd867(0x401)](_0x4f476e){const _0x21444f=_0x3cd867;var _0x3a09db,_0x42b786;const _0x43b255=this['_host'][_0x21444f(0x412)](_0x4f476e);if(_0x43b255){const {unitId:_0x1b193d,subUnitId:_0x301641}=_0x43b255,_0x3aa91e=(_0x3a09db=this[_0x21444f(0x1eb)]['getPivotTableConfig'](_0x1b193d,_0x301641,_0x4f476e))==null?void 0x0:_0x3a09db[_0x21444f(0x3ee)];this[_0x21444f(0x1eb)][_0x21444f(0x25e)]({'token':_0x4f476e,'type':Be[_0x21444f(0x40a)],'dataRangeInfo':_0x3aa91e});}(_0x42b786=this['getCollection'](_0x4f476e))==null||_0x42b786[_0x21444f(0x221)](),delete this['collections'][_0x4f476e];}[_0x3cd867(0x438)](_0x3924b6,_0x3ada77){const {sheetName:_0x3a9fda,unitId:_0x573314,range:_0x3ee587}=_0x3924b6,{startRow:_0x30d5fd,endRow:_0x3825ba}=_0x3ee587;return _0x1f91e6(_0x573314,_0x3a9fda,{'startRow':_0x30d5fd,'endRow':_0x3825ba,'startColumn':_0x3ada77,'endColumn':_0x3ada77});}['getDataFieldByRangeKey'](_0x117c3e){const _0x357d6d=_0x3cd867;return this[_0x357d6d(0x433)][this[_0x357d6d(0x3bc)][_0x117c3e]];}[_0x3cd867(0x264)](_0x403844,_0x1c5816){const _0x1acd75=_0x3cd867;this[_0x1acd75(0x3bc)][_0x403844]=_0x1c5816;}[_0x3cd867(0x25a)](_0x455470,_0x55b5e8){const _0xaba476=_0x3cd867;this['rangeKeyMap'][_0x55b5e8]=this['rangeKeyMap'][_0x455470],delete this[_0xaba476(0x3bc)][_0x455470];}['addCollectionByJSON'](_0x4d26b1,_0x2bfaf9,_0x31b791,_0x424e67){const _0x2b4b89=_0x3cd867,_0x5b82a0=new _0x10d425(this);_0x5b82a0[_0x2b4b89(0x30d)](_0x2bfaf9);const _0x4699a0=[];let _0x2ae475=0x0;for(const _0x4a9349 of _0x5b82a0['fieldIds']){const _0x46afc5=this[_0x2b4b89(0x438)](_0x31b791,_0x2ae475),_0x16399f=this['dataFields'][_0x4a9349];_0x16399f&&(_0x16399f[_0x2b4b89(0x3fc)]=_0x46afc5,this['setRangeKeyMap'](_0x46afc5,_0x4a9349),_0x4699a0[_0x2b4b89(0x1e6)]({'index':_0x2ae475,'dataField':_0x16399f})),_0x2ae475++;}return this[_0x2b4b89(0x3d6)](_0x4d26b1,_0x5b82a0,_0x31b791,_0x424e67),{'collection':_0x5b82a0,'updateDataFieldList':_0x4699a0};}[_0x3cd867(0x342)](_0x49d84e,_0x98464d){const _0x1f0529=_0x3cd867;return _0x49d84e[_0x1f0529(0x204)]===_0x22fcaa[_0x1f0529(0x316)]?{'startRow':0x0,'startColumn':_0x49d84e[_0x1f0529(0x2c4)],'endRow':_0x98464d[_0x1f0529(0x3fa)]()-0x1,'endColumn':_0x49d84e[_0x1f0529(0x2d1)]}:{'startRow':_0x49d84e[_0x1f0529(0x354)],'startColumn':_0x49d84e['startColumn'],'endRow':_0x49d84e[_0x1f0529(0x33c)],'endColumn':_0x49d84e['endColumn']};}[_0x3cd867(0x371)](_0x249885){const _0x5c5860=_0x3cd867,{sheetName:_0x217c69,range:_0x1a6989}=_0x249885,_0x115312=this['_univerInstanceService']['getCurrentUnitForType'](_0x264b88[_0x5c5860(0x1da)]),_0x387a1f=_0x115312['getSheetBySheetName'](_0x217c69),_0x38a875=_0x387a1f[_0x5c5860(0x3d9)](),{startColumn:_0x1cd462,startRow:_0x522536,endColumn:_0x1c57a2}=this[_0x5c5860(0x342)](_0x1a6989,_0x387a1f),_0x427d03=_0x115312[_0x5c5860(0x21d)](),_0x3a6c49=new _0x10d425(this);_0x3a6c49['setRange'](_0x249885);const _0x1d3750=[],_0x4a2233={};for(let _0x1ca09a=_0x1cd462;_0x1ca09a<=_0x1c57a2;_0x1ca09a++){const _0x2b9729=_0x38a875[_0x5c5860(0x365)](_0x522536,_0x1ca09a),_0x2c9d0d=this[_0x5c5860(0x438)](_0x249885,_0x1ca09a),_0x30a377=this['getDataFieldByRangeKey'](_0x2c9d0d);if(_0x30a377)_0x3a6c49[_0x5c5860(0x1d7)](_0x30a377['getId'](),_0x30a377[_0x5c5860(0x2e1)]());else{const _0x5e242a=this[_0x5c5860(0x3be)]();let _0x1165c7=this[_0x5c5860(0x29c)](_0x2b9729,_0x427d03,_0x4a2233);_0x527ede(_0x1165c7)&&(_0x1165c7=_0x20163d[_0x5c5860(0x2d4)](_0x1165c7['f'],Number(_0x1165c7['v'])));const _0x110d0a=this['uniqueDataFieldName'](_0x1165c7,_0x1ca09a),_0x46b894=new _0x4cd259(_0x5e242a,_0x110d0a,_0x28e17f(0x3));_0x46b894[_0x5c5860(0x3fc)]=_0x2c9d0d,this[_0x5c5860(0x433)][_0x5e242a]=_0x46b894,_0x3a6c49[_0x5c5860(0x1d7)](_0x5e242a,_0x110d0a),_0x1d3750[_0x5c5860(0x1e6)]({'index':_0x1ca09a,'dataField':_0x46b894});}}return{'updateDataFieldList':_0x1d3750,'collection':_0x3a6c49};}[_0x3cd867(0x272)](_0xea3965){const _0x1a780d=_0x3cd867;return this[_0x1a780d(0x1eb)][_0x1a780d(0x2c1)]()[_0x1a780d(0x313)]+'\x20'+_0xf4828f(_0xea3965);}[_0x3cd867(0x257)](_0x150cac,_0x179c77){const _0x356678=_0x3cd867;return _0x150cac==null||_0x150cac===''?this[_0x356678(0x272)](_0x179c77):String(_0x150cac);}['getCollection'](_0x1a3a33){return this['collections'][_0x1a3a33];}[_0x3cd867(0x3d6)](_0x5ab291,_0x3b2108,_0x28722d,_0x1ff054){const _0x4132d2=_0x3cd867;this[_0x4132d2(0x3e2)][_0x5ab291]=_0x3b2108,_0x3b2108[_0x4132d2(0x444)](_0x28722d),this[_0x4132d2(0x1eb)][_0x4132d2(0x25e)]({'token':_0x5ab291,'type':Be['add'],'dataRangeInfo':_0x28722d,'targetCellInfo':_0x1ff054});}[_0x3cd867(0x242)](_0x4c9d03,_0x238d0e){const _0x154db3=_0x3cd867,_0x5db704=this[_0x154db3(0x2db)](_0x4c9d03),_0xa8ca7c=_0x5db704[_0x154db3(0x2dc)]();let _0x2ae65e=0x0;for(const _0x51ab3d of _0xa8ca7c){const _0x5b7c7f=_0x5db704[_0x154db3(0x32b)](_0x51ab3d),_0x2c4c7d=this['getRangeKey'](_0x238d0e,_0x2ae65e);this['updateRangeKeyMap'](_0x5b7c7f[_0x154db3(0x3fc)],_0x2c4c7d),_0x2ae65e++;}}[_0x3cd867(0x2eb)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3cd867(0x3ad)](_0x577d8d,_0x2740bc){const _0x1f0652=_0x3cd867;if(this['getCollection'](_0x577d8d)){const _0x5b0436=this[_0x1f0652(0x22a)](_0x2740bc),_0x35f0af=[];for(const _0x25c43f of _0x5b0436)this[_0x1f0652(0x3bc)][_0x25c43f]!==void 0x0&&_0x35f0af[_0x1f0652(0x1e6)](this['rangeKeyMap'][_0x25c43f]);const _0x3534b4=this[_0x1f0652(0x1cf)](_0x577d8d),_0x4cc194=[],_0x33e4dd=new Set(_0x35f0af);for(const _0x18a81d of _0x3534b4)_0x33e4dd[_0x1f0652(0x304)](_0x18a81d)||_0x4cc194[_0x1f0652(0x1e6)](_0x18a81d);return _0x4cc194;}}[_0x3cd867(0x381)](_0x17cfe0,_0x3a84e8,_0x447c3c,_0x4f5ba1,_0x41ce3b){const _0x4c4117=_0x3cd867;return _0x3a84e8&&_0x3a84e8['getValue'](_0x4f5ba1,_0x41ce3b)?_0x3a84e8['getValue'](_0x4f5ba1,_0x41ce3b):_0x447c3c&&_0x447c3c[_0x4c4117(0x365)](_0x4f5ba1,_0x41ce3b)?_0x447c3c[_0x4c4117(0x365)](_0x4f5ba1,_0x41ce3b):_0x17cfe0[_0x4c4117(0x365)](_0x4f5ba1,_0x41ce3b);}[_0x3cd867(0x248)](_0x33bd5d,_0x5d0db7,_0x55869b,_0x3b39e2){const _0x3366a8=_0x3cd867,_0xe09286=this[_0x3366a8(0x433)][_0x33bd5d];if(!_0xe09286)return;const {subUnitId:_0x8ba37f,range:_0x3daf86,unitId:_0x95c709}=_0x5d0db7,_0x2920e0=this['_univerInstanceService']['getUnit'](_0x95c709);if(!_0x2920e0){console[_0x3366a8(0x34d)](_0x3366a8(0x25d));return;}const _0x3c7cbe=_0x2920e0[_0x3366a8(0x397)](_0x8ba37f),_0x588883=_0x3c7cbe[_0x3366a8(0x3d9)](),{arrayFormulaCellDataMatrix:_0xa1d5b8,unitDataMatrix:_0x3fd08c}=_0x3b39e2||{},{startRow:_0x43f284,startColumn:_0x4db130,endRow:_0x468c8c}=this[_0x3366a8(0x342)](_0x3daf86,_0x3c7cbe);_0xe09286['reset']();const _0x17a66d=_0x2920e0[_0x3366a8(0x21d)](),_0x4beaec={},_0x188cb1=this[_0x3366a8(0x381)](_0x588883,_0xa1d5b8,_0x3fd08c,_0x43f284,_0x4db130+_0x55869b);let _0x2a2cd5=this['adjustSheetCellData'](_0x188cb1,_0x17a66d,_0x4beaec);_0x527ede(_0x2a2cd5)&&(_0x2a2cd5=_0x20163d[_0x3366a8(0x2d4)](_0x2a2cd5['f'],Number(_0x2a2cd5['v'])));const _0x564926=this['uniqueDataFieldName'](_0x2a2cd5,_0x4db130+_0x55869b);_0xe09286[_0x3366a8(0x341)](_0x564926);for(let _0x3bc4e5=_0x43f284+0x1;_0x3bc4e5<=_0x468c8c;_0x3bc4e5++){const _0x1fe3e8=this[_0x3366a8(0x381)](_0x588883,_0xa1d5b8,_0x3fd08c,_0x3bc4e5,_0x4db130+_0x55869b);_0xe09286[_0x3366a8(0x30f)](this['adjustSheetCellData'](_0x1fe3e8,_0x17a66d,_0x4beaec),_0x3bc4e5-0x1-_0x43f284);}}[_0x3cd867(0x3e0)](_0x1ae004,_0x2f600a,_0x42fb58){const _0x56eb0d=_0x3cd867,{subUnitId:_0x46016e,range:_0x587b63,unitId:_0x44ddac}=_0x42fb58,_0x3d483a=this[_0x56eb0d(0x2c2)][_0x56eb0d(0x283)](_0x44ddac);if(!_0x3d483a){console[_0x56eb0d(0x34d)](_0x56eb0d(0x25d));return;}const _0x35bcc9=_0x3d483a[_0x56eb0d(0x397)](_0x46016e),_0x379982=_0x35bcc9['getCellMatrix'](),{startRow:_0x38d64a,startColumn:_0x128d37,endRow:_0x4a93b0}=this[_0x56eb0d(0x342)](_0x587b63,_0x35bcc9),_0x37259b=_0x3d483a[_0x56eb0d(0x21d)](),_0x1f6f34={};for(const {dataField:_0x4bd6b2,index:_0x2ab731}of _0x2f600a){_0x4bd6b2[_0x56eb0d(0x2d7)]();const _0x1b267f=this[_0x56eb0d(0x381)](_0x379982,void 0x0,void 0x0,_0x38d64a,_0x128d37+_0x2ab731);let _0x36f7e6=this[_0x56eb0d(0x29c)](_0x1b267f,_0x37259b,_0x1f6f34);_0x527ede(_0x36f7e6)&&(_0x36f7e6=_0x20163d['format'](_0x36f7e6['f'],Number(_0x36f7e6['v'])));const _0x3383ca=this[_0x56eb0d(0x257)](_0x36f7e6,_0x128d37+_0x2ab731);_0x4bd6b2['setName'](_0x3383ca);}_0x1ae004[_0x56eb0d(0x20c)]();for(let _0x433e6c=_0x38d64a+0x1;_0x433e6c<=_0x4a93b0;_0x433e6c++)for(const {index:_0x46f5b9,dataField:_0x34e22a}of _0x2f600a){const _0x45004c=_0x379982[_0x56eb0d(0x365)](_0x433e6c,_0x128d37+_0x46f5b9);_0x34e22a['addRecord'](this['adjustSheetCellData'](_0x45004c,_0x37259b,_0x1f6f34),_0x433e6c-0x1-_0x38d64a);}_0x1ae004[_0x56eb0d(0x285)](_0x4a93b0-_0x38d64a);}[_0x3cd867(0x22a)](_0x53d9ff){const _0x14b0e0=_0x3cd867,{range:_0x2c236b}=_0x53d9ff,{startColumn:_0x143f48,endColumn:_0x37419b}=_0x2c236b,_0x2211de=[];for(let _0x1496e4=_0x143f48;_0x1496e4<=_0x37419b;_0x1496e4++)_0x2211de[_0x14b0e0(0x1e6)](this['getRangeKey'](_0x53d9ff,_0x1496e4));return _0x2211de;}[_0x3cd867(0x29c)](_0x5ecadd,_0x5154fc,_0x5a34fe){const _0x4349f4=_0x3cd867;if(_0x5ecadd){const {s:_0x42cfb6,v:_0x2a10ab,t:_0x3e8aa0,p:_0x55c118}=_0x5ecadd;if(_0x55c118)return wi(_0x55c118);const _0x84a5f1=_0x5154fc[_0x4349f4(0x2ec)](_0x42cfb6);if(_0x84a5f1&&_0x3e8aa0===_0x28c6ec[_0x4349f4(0x32f)]&&_0x84a5f1['n']){const {pattern:_0x8492d5}=_0x84a5f1['n'];_0x5a34fe[_0x8492d5]||(_0x5a34fe[_0x8492d5]=_0x20163d[_0x4349f4(0x31a)](_0x8492d5));const _0x4532e7=_0x5a34fe[_0x8492d5],_0x1cb586=_0x4532e7[_0x4349f4(0x1f2)];if(_0x4532e7[_0x4349f4(0x26d)])return String(_0x2a10ab);if(_0x1cb586)return{'v':_0x2a10ab,'f':_0x8492d5};}if(_0x3e8aa0===_0x28c6ec['NUMBER'])return Number(_0x2a10ab);if(_0x3e8aa0===_0x28c6ec[_0x4349f4(0x3cf)]||_0x3e8aa0===_0x28c6ec['FORCE_STRING'])return String(_0x2a10ab);if(_0x3e8aa0===void 0x0){const _0x3fb2c6=Number(_0x2a10ab);if(!Number[_0x4349f4(0x3a9)](_0x3fb2c6)&&String(_0x3fb2c6)===_0x2a10ab)return _0x3fb2c6;}return _0x2a10ab!=null?_0x2a10ab:null;}else return null;}[_0x3cd867(0x26c)](_0x30eabd){const _0x2f6627=_0x3cd867,{sheetName:_0x2fe5f3,range:_0x2048fa,unitId:_0x4a7c14}=_0x30eabd,_0x8b99ff=this[_0x2f6627(0x2c2)]['getUnit'](_0x4a7c14);if(!_0x8b99ff)return console[_0x2f6627(0x34d)](_0x2f6627(0x25d)),{'header':[],'data':[]};const _0x1bede6=_0x8b99ff['getSheetBySheetName'](_0x2fe5f3),_0x370116=_0x1bede6[_0x2f6627(0x3d9)](),{startRow:_0x3a8018,startColumn:_0x386e78,endRow:_0xee6bcd,endColumn:_0x51d45c}=this['getRangeStartEndInfo'](_0x2048fa,_0x1bede6),_0xc81d2e=_0x8b99ff[_0x2f6627(0x21d)](),_0x1ad389=[],_0x2608fa=[],_0x1525e7={};for(let _0x19b68f=_0x3a8018;_0x19b68f<=_0xee6bcd;_0x19b68f++){const _0x267a37=[];for(let _0x104a00=_0x386e78;_0x104a00<=_0x51d45c;_0x104a00++){const _0x17e6c0=_0x370116[_0x2f6627(0x365)](_0x19b68f,_0x104a00);_0x19b68f===_0x3a8018?_0x1ad389[_0x2f6627(0x1e6)](_0x17e6c0==null?null:String(_0x17e6c0['v'])):_0x267a37[_0x2f6627(0x1e6)](this[_0x2f6627(0x29c)](_0x17e6c0,_0xc81d2e,_0x1525e7));}_0x2608fa[_0x2f6627(0x1e6)](_0x267a37);}return{'header':_0x1ad389,'data':_0x2608fa};}[_0x3cd867(0x419)](){return super['toJSON']();}['fromJSON'](_0xfc8f26){const _0x50aed9=_0x3cd867;super[_0x50aed9(0x30d)](_0xfc8f26),this[_0x50aed9(0x2d6)]();}[_0x3cd867(0x221)](){const _0x462cd9=_0x3cd867;super[_0x462cd9(0x221)](),this['rangeKeyMap']={},this['_host']=null;}}const Fi=_0xf790a9=>{const _0x15c35e=_0x3cd867,{targetCellInfo:_0x18fd9e}=_0xf790a9,{matrixCache:_0x3dc8d1,rangesCache:_0x1cded9}=Go({'filter':_0x15c35e(0x206),'row':_0x15c35e(0x41c),'column':_0x15c35e(0x2e0),'values':'Values'},_0x18fd9e),_0x3d1116=new _0xf97b68();return _0x3dc8d1['forValue']((_0xb0dcbe,_0x3d7d2f,_0x64c92a)=>{const _0x398d8c=_0x15c35e;_0x3d1116[_0x398d8c(0x2af)](_0xb0dcbe,_0x3d7d2f,_0x64c92a);}),{'matrix':_0x3d1116,'rangesCache':_0x1cded9};},st=_0x597bba=>{const _0x408a74=_0x3cd867;let _0x2fe4cc;if(_0x597bba!=null&&_0x597bba['v']||(_0x597bba==null?void 0x0:_0x597bba['v'])===0x0){_0x2fe4cc||(_0x2fe4cc={});const _0x1d6bb0=$o(_0x597bba['v']);typeof _0x1d6bb0==_0x408a74(0x29d)?_0x2fe4cc['t']=_0x28c6ec['NUMBER']:typeof _0x1d6bb0==_0x408a74(0x2bd)&&(_0x2fe4cc['t']=_0x28c6ec[_0x408a74(0x3cf)]),_0x2fe4cc['v']=_0x1d6bb0;}return _0x2fe4cc;},Di=(_0x10e733,_0x1d32ff,_0x29d4bb)=>{const _0x368293=_0x3cd867;var _0x11884e,_0xf38a6a,_0x3803b4,_0x3e3317,_0x23583f,_0x32bcd2,_0x410dd8,_0x1f6561,_0x5a4dd6,_0x29be9c,_0x1eb0ff,_0x321f33;const {cornerView:_0x29e961,rowView:_0x3a6cee,colView:_0x5f446d,dataView:_0x59eade,pageView:_0x20ca7b,formatMap:_0x9f770e}=_0x10e733,{row:_0x5ea1fe,col:_0x4293fc}=_0x1d32ff,_0x2b43dd=new _0xf97b68();let _0x3178a6=_0x5ea1fe,_0x412cc8=_0x4293fc;Object['keys'](_0x20ca7b[_0x368293(0x3c4)])[_0x368293(0x3f1)](_0x958f66=>{const _0x15b9a5=_0x368293;Object[_0x15b9a5(0x347)](_0x20ca7b['data'][Number(_0x958f66)])[_0x15b9a5(0x3f1)](_0x473b07=>{const _0x120ac9=_0x15b9a5,_0x4ac4b6={..._0x20ca7b[_0x120ac9(0x3c4)][Number(_0x958f66)][Number(_0x473b07)]};_0x2b43dd[_0x120ac9(0x2af)](Number(_0x958f66)+_0x3178a6,Number(_0x473b07)+_0x412cc8,st(_0x4ac4b6));});});const _0x2272d4=Object['keys'](_0x20ca7b[_0x368293(0x3c4)])['length'];_0x3178a6+=_0x2272d4+(_0x2272d4?It:0x0);const _0x5ec6c4=_0x29e961[_0x368293(0x3fa)](),_0x5e60e4=_0x29e961[_0x368293(0x449)]();for(let _0x3876a8=0x0;_0x3876a8<_0x5ec6c4;_0x3876a8++)for(let _0x542ac9=0x0;_0x542ac9<_0x5e60e4;_0x542ac9++){const _0x4c038f={...(_0xf38a6a=(_0x11884e=_0x29e961[_0x368293(0x3c4)])==null?void 0x0:_0x11884e[_0x3876a8])==null?void 0x0:_0xf38a6a[_0x542ac9]};_0x4c038f&&((_0x3803b4=_0x3a6cee[_0x368293(0x22d)][_0x542ac9])!=null&&_0x3803b4[_0x368293(0x430)])&&_0x542ac9===_0x5e60e4-0x1&&_0x3876a8===_0x5ec6c4-0x1&&(_0x4c038f['v']=''+_0x29d4bb[_0x368293(0x2a1)]),_0x2b43dd[_0x368293(0x2af)](_0x3876a8+_0x3178a6,_0x542ac9+_0x412cc8,st(_0x4c038f));}_0x412cc8+=_0x5e60e4;const _0x1635e3=_0x5f446d[_0x368293(0x22d)],_0x2040ac=_0x5f446d[_0x368293(0x351)]()>=0x0?_0x5f446d['getLastRow']()+0x1:0x0,_0x24d8c3=_0x5f446d[_0x368293(0x374)]()>=0x0?_0x5f446d[_0x368293(0x374)]()+0x1:0x0;for(let _0x30ad3d=0x0;_0x30ad3d<_0x24d8c3;_0x30ad3d++)for(let _0x367277=0x0;_0x367277<_0x2040ac;_0x367277++){const _0x2fc296={...(_0x23583f=(_0x3e3317=_0x5f446d[_0x368293(0x3c4)])==null?void 0x0:_0x3e3317[_0x30ad3d])==null?void 0x0:_0x23583f[_0x367277]},_0x38946f=(_0x32bcd2=_0x1635e3[_0x30ad3d])==null?void 0x0:_0x32bcd2['tableFieldId'],_0x175bdf=_0x9f770e[_0x38946f];_0x2fc296&&(_0x2fc296['v']=ht(_0x2fc296,_0x30ad3d===0x0&&((_0x410dd8=_0x5f446d[_0x368293(0x212)](_0x367277+0x1))==null?void 0x0:_0x410dd8[_0x368293(0x430)]),_0x175bdf,_0x29d4bb)),_0x2b43dd['setValue'](_0x30ad3d+_0x3178a6,_0x367277+_0x412cc8,st(_0x2fc296));}_0x3178a6+=_0x5ec6c4;const _0x57a84d=_0x3a6cee['headerMap'],_0xfc8808=_0x3a6cee[_0x368293(0x351)]()>=0x0?_0x3a6cee['getLastRow']()+0x1:0x0,_0x4d6697=_0x3a6cee[_0x368293(0x374)]()>=0x0?_0x3a6cee[_0x368293(0x374)]()+0x1:0x0;for(let _0x2947fd=0x0;_0x2947fd<_0xfc8808;_0x2947fd++)for(let _0xb61e62=0x0;_0xb61e62<_0x4d6697;_0xb61e62++){const _0x50548b={...(_0x5a4dd6=(_0x1f6561=_0x3a6cee[_0x368293(0x3c4)])==null?void 0x0:_0x1f6561[_0x2947fd])==null?void 0x0:_0x5a4dd6[_0xb61e62]},_0x1aeb2c=(_0x29be9c=_0x57a84d[_0xb61e62])==null?void 0x0:_0x29be9c['tableFieldId'],_0x27803b=_0x9f770e[_0x1aeb2c];_0x50548b&&(_0x50548b['v']=ht(_0x50548b,!0x1,_0x27803b,_0x29d4bb)),_0x2b43dd[_0x368293(0x2af)](_0x2947fd+_0x3178a6,_0xb61e62+_0x4293fc,st(_0x50548b));}const _0x4726ed=_0x59eade[_0x368293(0x3fa)](),_0x3aec05=_0x59eade['getColCount']();for(let _0x1432b8=0x0;_0x1432b8<_0x4726ed;_0x1432b8++)for(let _0x115152=0x0;_0x115152<_0x3aec05;_0x115152++){const _0x1a3607={...(_0x321f33=(_0x1eb0ff=_0x59eade['data'])==null?void 0x0:_0x1eb0ff[_0x1432b8])==null?void 0x0:_0x321f33[_0x115152]};_0x2b43dd[_0x368293(0x2af)](_0x1432b8+_0x3178a6,_0x115152+_0x412cc8,st(_0x1a3607));}return _0x2b43dd;},Ri=_0x2f9ef9=>{const _0x4da3e5=_0x3cd867,{view:_0x1c6f4a,targetCellInfo:_0x3f9076,isEmpty:_0x37d57f,textInfo:_0x648545}=_0x2f9ef9;if(_0x37d57f)return Fi(_0x2f9ef9);const {pageView:_0xd50a9b,cornerView:_0x4a975d,rowView:_0x1f2437,colView:_0xa12579,dataView:_0x3d0631}=_0x1c6f4a,_0x4195c2=ge(_0x3f9076,_0xd50a9b,!0x0),_0x2501a2=_0xd50a9b[_0x4da3e5(0x2e3)]>=0x0?_0xd50a9b[_0x4da3e5(0x2e3)]+0x1:0x0,_0x409da3=_0x4a975d[_0x4da3e5(0x3fa)](),_0x4a2867=_0x4a975d[_0x4da3e5(0x449)](),_0x3ce489=_0x4195c2[_0x4da3e5(0x2f7)]>0x0?It:0x0,_0x163fa9=ge({'row':_0x3f9076[_0x4da3e5(0x245)]+_0x2501a2+_0x3ce489,'col':_0x3f9076['col']},_0x4a975d,!0x1,!0x1),_0x509586=ge({'row':_0x3f9076[_0x4da3e5(0x245)]+_0x2501a2+_0x3ce489+_0x409da3,'col':_0x3f9076[_0x4da3e5(0x398)]},_0x1f2437,!0x1,!0x0),_0x31cfe7=ge({'row':_0x3f9076[_0x4da3e5(0x245)]+_0x2501a2+_0x3ce489,'col':_0x3f9076['col']+_0x4a2867},_0xa12579,!0x1,!0x0),_0x426be8=ge({'row':_0x3f9076[_0x4da3e5(0x245)]+_0x2501a2+_0x3ce489+_0x409da3,'col':_0x3f9076[_0x4da3e5(0x398)]+_0x4a2867},_0x3d0631,!0x1,!0x1),_0x29a506={'rowRanges':_0x509586,'colRanges':_0x31cfe7,'cornerRanges':_0x163fa9,'dataRanges':_0x426be8,'pageRanges':_0x4195c2};return{'matrix':Di(_0x1c6f4a,_0x3f9076,_0x648545),'rangesCache':_0x29a506};};var Ni=Object[_0x3cd867(0x3ff)],Ui=(_0x26a1fd,_0x39c76b,_0x369b13,_0x1e1d5e)=>{for(var _0x48f34b=_0x1e1d5e>0x1?void 0x0:_0x1e1d5e?Ni(_0x39c76b,_0x369b13):_0x39c76b,_0x17afce=_0x26a1fd['length']-0x1,_0x12ce84;_0x17afce>=0x0;_0x17afce--)(_0x12ce84=_0x26a1fd[_0x17afce])&&(_0x48f34b=_0x12ce84(_0x48f34b)||_0x48f34b);return _0x48f34b;},Ke=(_0xac8ed1,_0xfe0001)=>(_0x142661,_0xc0f480)=>_0xfe0001(_0x142661,_0xc0f480,_0xac8ed1);let J=class extends _0x106977{constructor(_0x4797ad,_0x5e706f,_0x78a64e,_0x552f77,_0x395933,_0x4b59cc){const _0x2a5fea=_0x3cd867;super(),V(this,_0x2a5fea(0x446),new Map()),V(this,_0x2a5fea(0x396),new Map()),V(this,_0x2a5fea(0x424),new Map()),V(this,'_textInfo'),V(this,_0x2a5fea(0x2fa),new _0x4062e3()),V(this,_0x2a5fea(0x2b2),this[_0x2a5fea(0x2fa)][_0x2a5fea(0x28d)]()),V(this,_0x2a5fea(0x2b4),new _0x4062e3()),V(this,_0x2a5fea(0x425),this[_0x2a5fea(0x2b4)][_0x2a5fea(0x28d)]()),V(this,_0x2a5fea(0x3a1),new _0x4062e3()),V(this,_0x2a5fea(0x233),this['_fieldsCollectionChange$']['asObservable']()),V(this,_0x2a5fea(0x21c),new Map()),V(this,_0x2a5fea(0x359),[]),V(this,_0x2a5fea(0x1e5),new Map()),(this[_0x2a5fea(0x231)]=_0x4797ad,this[_0x2a5fea(0x2c2)]=_0x5e706f,this['_lifecycleService']=_0x78a64e,this[_0x2a5fea(0x413)]=_0x552f77,this[_0x2a5fea(0x1dc)]=_0x395933,this[_0x2a5fea(0x24d)]=_0x4b59cc,this['_initSnapshot']());}[_0x3cd867(0x2c1)](){return this['_textInfo']?this['_textInfo']:Mi;}[_0x3cd867(0x1f7)](_0x223538){this['_textInfo']=_0x223538;}[_0x3cd867(0x242)](_0xc93760){const _0x5a54c0=_0x3cd867;var _0x540164;const {from:_0x157fe9,to:_0x1b5d3c,unitId:_0x103d08,fromRange:_0x1668d3,toRange:_0x216469}=_0xc93760;if(_0x157fe9&&_0x1b5d3c){const _0x579d5e=this[_0x5a54c0(0x1dd)](_0x103d08),_0x262560=this[_0x5a54c0(0x446)][_0x5a54c0(0x2ec)](_0x103d08),_0x212772=(_0x540164=this[_0x5a54c0(0x2c2)][_0x5a54c0(0x283)](_0x103d08))==null?void 0x0:_0x540164[_0x5a54c0(0x397)](_0x1b5d3c[_0x5a54c0(0x2a5)]);if(!_0x262560||!_0x212772)return;const _0x5eee7b=_0x212772==null?void 0x0:_0x212772[_0x5a54c0(0x2e1)]();for(const [_0x3cb56b,_0x1fd47e]of _0x262560['entries']())for(const [_0x3276e3,_0x1c1ea6]of _0x1fd47e[_0x5a54c0(0x43f)]()){const {sourceRangeInfo:_0x5971f7}=_0x1c1ea6;if(_0x5971f7[_0x5a54c0(0x2df)]===_0x103d08&&_0x5971f7[_0x5a54c0(0x2a5)]===_0x157fe9[_0x5a54c0(0x2a5)]&&_0x875ff4['contains'](_0x1668d3,_0x5971f7['range'])){const _0x1138be={'row':_0x5971f7[_0x5a54c0(0x256)][_0x5a54c0(0x354)]-_0x1668d3['startRow'],'col':_0x5971f7['range']['startColumn']-_0x1668d3[_0x5a54c0(0x2c4)]},_0x401df3={'unitId':_0x103d08,'subUnitId':_0x1b5d3c['subUnitId'],'sheetName':_0x5eee7b,'range':{'startRow':_0x216469[_0x5a54c0(0x354)]+_0x1138be['row'],'endRow':_0x216469['startRow']+_0x1138be['row']+_0x5971f7[_0x5a54c0(0x256)][_0x5a54c0(0x33c)]-_0x5971f7[_0x5a54c0(0x256)][_0x5a54c0(0x354)],'startColumn':_0x216469[_0x5a54c0(0x2c4)]+_0x1138be[_0x5a54c0(0x398)],'endColumn':_0x216469[_0x5a54c0(0x2c4)]+_0x1138be[_0x5a54c0(0x398)]+_0x5971f7[_0x5a54c0(0x256)]['endColumn']-_0x5971f7[_0x5a54c0(0x256)][_0x5a54c0(0x2c4)]}};_0x579d5e['handleMoveRange'](_0x3276e3,_0x401df3);const _0x2e9aa7={..._0x1c1ea6,'sourceRangeInfo':_0x401df3};this[_0x5a54c0(0x2a6)](_0x103d08,_0x1b5d3c[_0x5a54c0(0x2a5)],_0x3276e3,_0x2e9aa7),this[_0x5a54c0(0x25e)]({'unitId':_0x103d08,'token':_0x3276e3,'type':Be[_0x5a54c0(0x408)],'oldSourceRangeInfo':_0x5971f7,'dataRangeInfo':_0x401df3,'targetCellInfo':_0x1c1ea6[_0x5a54c0(0x2b7)]}),this[_0x5a54c0(0x31d)]({'unitId':_0x103d08,'subUnitId':_0x1b5d3c[_0x5a54c0(0x2a5)],'oldSubUnitId':_0x3cb56b,'pivotTableId':_0x3276e3,'pivotTableConfig':_0x2e9aa7,'collectionConfig':_0x579d5e['toJSON']()});}}}}[_0x3cd867(0x25e)](_0x5c2c48){const _0x54f418=_0x3cd867;this[_0x54f418(0x2fa)][_0x54f418(0x2d0)](_0x5c2c48);}[_0x3cd867(0x1dd)](_0x399a71){const _0x2e544a=_0x3cd867;let _0x5a1910=this[_0x2e544a(0x21c)][_0x2e544a(0x2ec)](_0x399a71);return _0x5a1910||(_0x5a1910=new _i(this,this['_univerInstanceService']),this[_0x2e544a(0x21c)][_0x2e544a(0x241)](_0x399a71,_0x5a1910)),_0x5a1910;}['getCollection'](_0x3fa8c2,_0x5f0633){const _0x302854=_0x3cd867;return this[_0x302854(0x1dd)](_0x3fa8c2)[_0x302854(0x3e2)][_0x5f0633];}['getUpdateRangeDeleteIds'](_0x448585,_0x4b5cde,_0x1ac850){const _0x417254=_0x3cd867;return this[_0x417254(0x1dd)](_0x448585)[_0x417254(0x3ad)](_0x4b5cde,_0x1ac850);}[_0x3cd867(0x21a)](_0x31fc68,_0x3942fd){const _0x2eeda9=_0x3cd867;let _0x18fec0=this[_0x2eeda9(0x446)][_0x2eeda9(0x2ec)](_0x31fc68);_0x18fec0||(_0x18fec0=new Map(),this[_0x2eeda9(0x446)][_0x2eeda9(0x241)](_0x31fc68,_0x18fec0));let _0x5b290f=_0x18fec0[_0x2eeda9(0x2ec)](_0x3942fd);return _0x5b290f||(_0x5b290f=new Map(),_0x18fec0['set'](_0x3942fd,_0x5b290f)),_0x5b290f;}[_0x3cd867(0x2a6)](_0x3b10fe,_0x19e1b0,_0x1bdbd0,_0x581e02){const _0x3cb939=_0x3cd867;this['_ensurePivotMap'](_0x3b10fe,_0x19e1b0)[_0x3cb939(0x241)](_0x1bdbd0,_0x581e02);}[_0x3cd867(0x2a3)](_0x385daa,_0x2e1f0b,_0x20a988){const _0x4ea2c3=_0x3cd867;var _0x2475f2,_0x309108,_0x317059,_0x456966;((_0x309108=(_0x2475f2=this['_model'][_0x4ea2c3(0x2ec)](_0x385daa))==null?void 0x0:_0x2475f2[_0x4ea2c3(0x2ec)](_0x2e1f0b))==null?void 0x0:_0x309108[_0x4ea2c3(0x2ec)](_0x20a988))&&((_0x456966=(_0x317059=this[_0x4ea2c3(0x446)][_0x4ea2c3(0x2ec)](_0x385daa))==null?void 0x0:_0x317059[_0x4ea2c3(0x2ec)](_0x2e1f0b))==null||_0x456966['delete'](_0x20a988));}[_0x3cd867(0x2c9)](_0x56dce7,_0x1b5b6d){const _0x40a953=_0x3cd867;this[_0x40a953(0x396)][_0x40a953(0x241)](_0x56dce7,_0x1b5b6d);}[_0x3cd867(0x384)](_0xd0631){const _0x4c4cba=_0x3cd867;this['_pivotTableInstanceCache'][_0x4c4cba(0x40a)](_0xd0631);}[_0x3cd867(0x41d)](_0x21c5e4,_0x198ad8){const _0x5beb12=_0x3cd867;let _0x5750e1=this[_0x5beb12(0x424)][_0x5beb12(0x2ec)](_0x21c5e4);_0x5750e1||(_0x5750e1=new Map(),this['_viewData'][_0x5beb12(0x241)](_0x21c5e4,_0x5750e1));let _0x1a81bc=_0x5750e1[_0x5beb12(0x2ec)](_0x198ad8);return _0x1a81bc||(_0x1a81bc=new Map(),_0x5750e1[_0x5beb12(0x241)](_0x198ad8,_0x1a81bc)),_0x1a81bc;}['updateConfig'](_0x270a57){const _0xd95dc7=_0x3cd867,{unitId:_0x2003b5,subUnitId:_0x9cce0a,pivotTableId:_0x5aecca,pivotTableConfig:_0x552274,collectionConfig:_0x417018}=_0x270a57,_0x4d590c={'unitId':_0x2003b5,'subUnitId':_0x9cce0a,'oldSubUnitId':_0x9cce0a,'pivotTableId':_0x5aecca,'pivotTableConfig':_0x552274,'collectionConfig':_0x417018};this[_0xd95dc7(0x1dc)]['executeCommand'](co['id'],_0x4d590c,{'onlyLocal':!0x0});}[_0x3cd867(0x210)](_0x2d76a5,_0x12c004,_0x3d652b,_0x1db78d,_0x4840d9,_0x402ab4,_0x2dab85,_0x2442e3=!0x1){const _0x461d77=_0x3cd867;var _0x8cb789;this[_0x461d77(0x1dc)][_0x461d77(0x3ba)](Rt['id'],{'single':{'unitId':_0x2d76a5,'subUnitId':_0x12c004,'type':_0x3d652b,'pivotTableId':_0x1db78d,'view':_0x4840d9,'pivotConfig':_0x402ab4},'collectionConfig':{[_0x2d76a5]:_0x2dab85}},{'onlyLocal':!0x0});const _0x4336a0=!!((_0x8cb789=this[_0x461d77(0x2bb)](_0x1db78d))!=null&&_0x8cb789['isEmpty']()),_0x1efdd3=this[_0x461d77(0x423)](_0x2d76a5,_0x12c004,_0x1db78d);_0x1efdd3&&this[_0x461d77(0x369)]({'view':_0x4840d9,'pivotTableId':_0x1db78d,'textInfo':this['getTextInfo'](),'isEmpty':_0x4336a0,'targetCellInfo':_0x1efdd3['targetCellInfo']},_0x2442e3);}[_0x3cd867(0x369)](_0x23ec09,_0x45e243){const _0x2be83e=_0x3cd867,{targetCellInfo:_0x245a47,pivotTableId:_0xddb59d}=_0x23ec09,{unitId:_0x32fbe0,subUnitId:_0x95bbd9}=_0x245a47,_0x425936=this[_0x2be83e(0x41d)](_0x32fbe0,_0x95bbd9),_0x373e8b=_0x425936[_0x2be83e(0x2ec)](_0xddb59d);let _0x27cd25,_0x29db80;_0x373e8b&&(_0x27cd25=_0x373e8b['rangeCache'],_0x29db80=_0x373e8b[_0x2be83e(0x21b)]);const {rangesCache:_0x2e1e85,matrix:_0x434582}=Ri(_0x23ec09);_0x425936[_0x2be83e(0x241)](_0xddb59d,{'rangeCache':_0x2e1e85,'matrix':_0x434582,'oldMatrix':_0x29db80,'oldRangeCache':_0x27cd25}),_0x45e243||this[_0x2be83e(0x2b4)][_0x2be83e(0x2d0)]({'unitId':_0x32fbe0,'subUnitId':_0x95bbd9,'pivotTableId':_0xddb59d});}[_0x3cd867(0x3bd)](_0x47dc83,_0x5e9140,_0x2d70af,_0x80e71f,_0x174429){const _0x19dfc3=_0x3cd867;this[_0x19dfc3(0x2a6)](_0x47dc83,_0x5e9140,_0x2d70af,_0x174429),this['_updatePivotTableInstanceCache'](_0x2d70af,_0x80e71f);}['removePivotTable'](_0x505ca8,_0x5132ce,_0x1714e8){const _0x1cc0e2=_0x3cd867,_0x1f1718=this[_0x1cc0e2(0x1dd)](_0x505ca8);_0x1f1718['getNoUsedDataFieldIds'](_0x1714e8)[_0x1cc0e2(0x3f1)](_0xd1e844=>{const _0x47ff92=_0x1cc0e2;_0x1f1718[_0x47ff92(0x270)](_0xd1e844);}),this[_0x1cc0e2(0x3eb)](_0x505ca8,_0x1714e8),this[_0x1cc0e2(0x2a3)](_0x505ca8,_0x5132ce,_0x1714e8),this[_0x1cc0e2(0x384)](_0x1714e8);}[_0x3cd867(0x27a)](_0x26c924,_0x2c5c5b,_0x31f0b6,_0x3c5a50){this['_updateModelCache'](_0x26c924,_0x2c5c5b,_0x31f0b6,_0x3c5a50);}[_0x3cd867(0x423)](_0x24521c,_0x5e04c9,_0x8495b9){const _0x3e32c1=_0x3cd867;var _0x5406e6,_0x2cdd2c;const _0xe2a573=(_0x2cdd2c=(_0x5406e6=this[_0x3e32c1(0x446)]['get'](_0x24521c))==null?void 0x0:_0x5406e6[_0x3e32c1(0x2ec)](_0x5e04c9))==null?void 0x0:_0x2cdd2c[_0x3e32c1(0x2ec)](_0x8495b9);if(_0xe2a573)return _0xe2a573;}[_0x3cd867(0x377)](_0x1cad8e,_0x5807e9,_0x652bca){const _0x20f719=_0x3cd867;var _0x509c62,_0x5f0a5c;const _0x5ad3db=(_0x5f0a5c=(_0x509c62=this[_0x20f719(0x446)][_0x20f719(0x2ec)](_0x1cad8e))==null?void 0x0:_0x509c62[_0x20f719(0x2ec)](_0x5807e9))==null?void 0x0:_0x5f0a5c[_0x20f719(0x2ec)](_0x652bca);if(_0x5ad3db)return _0x5ad3db[_0x20f719(0x29b)];}[_0x3cd867(0x2bb)](_0x57c252){const _0x1c5f5c=_0x3cd867;return this[_0x1c5f5c(0x396)][_0x1c5f5c(0x2ec)](_0x57c252);}[_0x3cd867(0x260)](_0x58316d){const _0x168237=_0x3cd867;this[_0x168237(0x446)][_0x168237(0x40a)](_0x58316d);const _0x198610=this['_dataFieldManagerCollection'][_0x168237(0x2ec)](_0x58316d);_0x198610&&(_0x198610[_0x168237(0x221)](),this[_0x168237(0x21c)][_0x168237(0x40a)](_0x58316d)),this[_0x168237(0x424)]['delete'](_0x58316d),this[_0x168237(0x359)][_0x168237(0x3f1)](_0x53e185=>{const _0x225394=_0x168237;_0x53e185[_0x225394(0x260)](_0x58316d);});}['addCollectionByJSON'](_0x4938c5,_0x3dbf0e,_0x1e01c4,_0x564cae){const _0x275bb3=_0x3cd867;return this[_0x275bb3(0x1dd)](_0x1e01c4[_0x275bb3(0x2df)])[_0x275bb3(0x29a)](_0x4938c5,_0x3dbf0e,_0x1e01c4,_0x564cae);}[_0x3cd867(0x371)](_0x3d20b7){const _0x383109=_0x3cd867;return this['getDataFieldManager'](_0x3d20b7[_0x383109(0x2df)])[_0x383109(0x371)](_0x3d20b7);}[_0x3cd867(0x3e0)](_0x2cebe6,_0x146499,_0xfffc00){const _0xcc4ed0=_0x3cd867;this['getDataFieldManager'](_0xfffc00[_0xcc4ed0(0x2df)])[_0xcc4ed0(0x3e0)](_0x2cebe6,_0x146499,_0xfffc00);}['removeDataField'](_0x2197d4,_0x3544e6){const _0x44d7e8=_0x3cd867;this[_0x44d7e8(0x1dd)](_0x2197d4)[_0x44d7e8(0x270)](_0x3544e6);}[_0x3cd867(0x3eb)](_0x10ccce,_0xa73178){const _0x4c8478=_0x3cd867;this['getDataFieldManager'](_0x10ccce)[_0x4c8478(0x401)](_0xa73178);}[_0x3cd867(0x325)](_0x52b7a1,_0x50b2b8){const _0x4d64cf=_0x3cd867;var _0x23d463;return(_0x23d463=this[_0x4d64cf(0x446)][_0x4d64cf(0x2ec)](_0x52b7a1))==null?void 0x0:_0x23d463[_0x4d64cf(0x2ec)](_0x50b2b8);}[_0x3cd867(0x412)](_0x4b9f2a){const _0x144eff=_0x3cd867;for(const [_0x36595d,_0x4bb6c9]of this[_0x144eff(0x446)][_0x144eff(0x43f)]())for(const [_0xc6df6c,_0x16b4dd]of _0x4bb6c9[_0x144eff(0x43f)]())if(_0x16b4dd[_0x144eff(0x304)](_0x4b9f2a))return{'unitId':_0x36595d,'subUnitId':_0xc6df6c};return null;}['sideEffectUpdateWorkerCache'](_0x24b368,_0x4f825e,_0x30da1c,_0x2827dd){const _0x1b00ec=_0x3cd867,_0x3f2d02=this[_0x1b00ec(0x41d)](_0x24b368,_0x4f825e);_0x2827dd?_0x3f2d02['set'](_0x30da1c,_0x2827dd):_0x3f2d02[_0x1b00ec(0x40a)](_0x30da1c),this[_0x1b00ec(0x2b4)][_0x1b00ec(0x2d0)]({'unitId':_0x24b368,'subUnitId':_0x4f825e,'pivotTableId':_0x30da1c});}[_0x3cd867(0x221)](){super['dispose']();}['getViewData'](_0x348560,_0x46f525,_0x3ede1d){const _0x242142=_0x3cd867;var _0x4b8d18,_0x22b64f;const _0x201fe3=(_0x22b64f=(_0x4b8d18=this[_0x242142(0x424)][_0x242142(0x2ec)](_0x348560))==null?void 0x0:_0x4b8d18[_0x242142(0x2ec)](_0x46f525))==null?void 0x0:_0x22b64f[_0x242142(0x2ec)](_0x3ede1d);return _0x201fe3||null;}[_0x3cd867(0x324)](_0x362eaa){const _0x83ea39=_0x3cd867;this[_0x83ea39(0x1e8)](_0x362eaa);}[_0x3cd867(0x1e8)](_0x36349f){const _0x22fa24=_0x3cd867,{token:_0x39b2eb,unitId:_0x26d4ab,subUnitId:_0x9bfbe0}=_0x36349f,_0xfa82c=_0x26d4ab+'-'+_0x9bfbe0+'-'+_0x39b2eb;this[_0x22fa24(0x1e5)]['get'](_0xfa82c)&&clearTimeout(this[_0x22fa24(0x1e5)][_0x22fa24(0x2ec)](_0xfa82c));const _0x12c572=setTimeout(()=>{const _0x37c05b=_0x22fa24;this['queryDirtyPivotTable'](_0x36349f),this[_0x37c05b(0x1e5)][_0x37c05b(0x40a)](_0xfa82c);},Pi);this[_0x22fa24(0x1e5)][_0x22fa24(0x241)](_0xfa82c,_0x12c572);}[_0x3cd867(0x1ed)](_0x84cb4c){const _0x28bfa1=_0x3cd867,{unitId:_0x4e17ca,subUnitId:_0x2f08d6,token:_0x321985,type:_0x26a6d1,pivotConfig:_0x403b27}=_0x84cb4c,_0x17863d=this[_0x28bfa1(0x2bb)](_0x321985),_0x5cde99=_0x17863d==null?void 0x0:_0x17863d['query'](),_0x2058af=_0x403b27!=null?_0x403b27:this[_0x28bfa1(0x423)](_0x4e17ca,_0x2f08d6,_0x321985);_0x2058af&&(_0x2058af[_0x28bfa1(0x3cd)]=!!(_0x17863d!=null&&_0x17863d[_0x28bfa1(0x3cd)]())),(_0x5cde99||_0x26a6d1===$[_0x28bfa1(0x2ea)])&&this[_0x28bfa1(0x210)](_0x4e17ca,_0x2f08d6,_0x26a6d1,_0x321985,_0x5cde99,_0x2058af,this[_0x28bfa1(0x1dd)](_0x4e17ca)[_0x28bfa1(0x419)]());}['toJSON'](_0x3eea94){const _0x14c8f2=_0x3cd867,_0x4c366d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3eea94)&&(_0x4c366d[_0x14c8f2(0x2f3)][_0x3eea94]=this[_0x14c8f2(0x1dd)](_0x3eea94)[_0x14c8f2(0x419)]()),this[_0x14c8f2(0x446)][_0x14c8f2(0x2ec)](_0x3eea94)){_0x4c366d['pivotTableConfigs'][_0x3eea94]={};const _0x10dbfc=this[_0x14c8f2(0x446)][_0x14c8f2(0x2ec)](_0x3eea94);_0x10dbfc!=null&&_0x10dbfc[_0x14c8f2(0x3d1)]&&[..._0x10dbfc[_0x14c8f2(0x347)]()]['forEach'](_0x5561ef=>{const _0x5970eb=_0x14c8f2,_0x5a33d1=_0x10dbfc[_0x5970eb(0x2ec)](_0x5561ef);_0x5a33d1!=null&&_0x5a33d1['size']&&(_0x4c366d['pivotTableConfigs'][_0x3eea94][_0x5561ef]={},[..._0x5a33d1[_0x5970eb(0x347)]()][_0x5970eb(0x3f1)](_0x4104ac=>{const _0x5f3423=_0x5970eb,_0x4d14ed=_0x5a33d1[_0x5f3423(0x2ec)](_0x4104ac);_0x4d14ed&&(_0x4c366d[_0x5f3423(0x293)][_0x3eea94][_0x5561ef][_0x4104ac]=_0x4d14ed);}));});}return _0x4c366d;}['fromJSON'](_0x5b96fb){const _0xe05a=_0x3cd867;var _0x522942;const {dataFieldManagerConfig:_0x56e5bd,pivotTableConfigs:_0x43e735}=_0x5b96fb;_0x56e5bd&&Object[_0xe05a(0x347)](_0x56e5bd)[_0xe05a(0x3f1)](_0x23cbf6=>{const _0x19de15=_0xe05a;this[_0x19de15(0x1dd)](_0x23cbf6)['fromJSON'](_0x56e5bd[_0x23cbf6]);});const _0x29f710=[];if(_0x43e735){const _0x14b80e=(_0x522942=this[_0xe05a(0x231)][_0xe05a(0x2ec)](_0x52a20c)[_0xe05a(0x37f)](_0x14f8c8))!=null?_0x522942:{},{ls:_0x1aa49c,pbk:_0x225f3d}=_0x14b80e,_0x16f9bd=go(so,_0x1aa49c,_0x225f3d)[_0xe05a(0x1fc)];Object[_0xe05a(0x347)](_0x43e735)[_0xe05a(0x3f1)](_0x492a20=>{const _0x2180c4=_0xe05a;let _0x4ff0c9=0x0;const _0x29cd4e=_0x43e735[_0x492a20];Object[_0x2180c4(0x347)](_0x29cd4e)[_0x2180c4(0x3f1)](_0x4174c4=>{const _0x2a30bc=_0x2180c4,_0x452fec=_0x29cd4e[_0x4174c4];Object[_0x2a30bc(0x347)](_0x452fec)[_0x2a30bc(0x3f1)](_0xdae16b=>{const _0x1ba160=_0x2a30bc,_0x206846=_0x452fec[_0xdae16b];if(_0x206846){if(_0x4ff0c9>=_0x16f9bd)return;_0x4ff0c9++;const _0x17e235=this[_0x1ba160(0x1dd)](_0x492a20),_0x399fec=_0x17e235[_0x1ba160(0x3e2)][_0xdae16b],_0x3f1592=_0x399fec[_0x1ba160(0x2dc)]();let _0x532ab5=0x0;const _0x56815b=[];for(const _0xf0b80c of _0x3f1592){const _0x2f6872=_0x399fec[_0x1ba160(0x32b)](_0xf0b80c);if(_0x5ee9e7(_0x2f6872)){const _0x183a7f=_0x2f6872[_0x1ba160(0x247)](),_0x261ebb=_0x399fec[_0x1ba160(0x32b)](_0x183a7f);_0x261ebb&&_0x56815b[_0x1ba160(0x1e6)]([_0x2f6872,_0x261ebb]);continue;}_0x17e235[_0x1ba160(0x248)](_0xf0b80c,_0x206846[_0x1ba160(0x3ee)],_0x532ab5),_0x532ab5++;}_0x56815b[_0x1ba160(0x3f1)](([_0x24ce6b,_0x335fe8])=>{const _0x11c162=_0x1ba160;_0x24ce6b[_0x11c162(0x322)](_0x335fe8);});const _0x56bcca=new _0x5ca8f0(_0x399fec);_0x56bcca['fromJSON'](_0x206846[_0x1ba160(0x29b)]),this['addPivotTable'](_0x492a20,_0x4174c4,_0xdae16b,_0x56bcca,_0x206846);const _0x3ac549=_0x56bcca['query']();_0x29f710[_0x1ba160(0x1e6)]({'unitId':_0x492a20,'subUnitId':_0x4174c4,'pivotTableId':_0xdae16b,'view':_0x3ac549[_0x1ba160(0x419)](),'pivotConfig':_0x206846,'type':$[_0x1ba160(0x2e9)]});const _0x26925e=!!_0x56bcca[_0x1ba160(0x3cd)](),_0x5cdee7={'view':_0x3ac549,'pivotTableId':_0xdae16b,'textInfo':this[_0x1ba160(0x2c1)](),'isEmpty':_0x26925e,'targetCellInfo':_0x206846[_0x1ba160(0x2b7)]};this[_0x1ba160(0x369)](_0x5cdee7,!0x1);}});});});}_0x56e5bd&&Object[_0xe05a(0x347)](_0x56e5bd)[_0xe05a(0x3f1)](_0x3706f8=>{const _0x1c6d2b=_0xe05a,_0x3765da=this['getDataFieldManager'](_0x3706f8);this[_0x1c6d2b(0x3a1)][_0x1c6d2b(0x2d0)](_0x3765da[_0x1c6d2b(0x3e2)]);}),this[_0xe05a(0x1dc)][_0xe05a(0x3ba)](Rt['id'],{'batch':_0x29f710,'collectionConfig':_0x56e5bd},{'onlyLocal':!0x0});}[_0x3cd867(0x2a9)](){const _0x3f1c65=_0x3cd867;this[_0x3f1c65(0x321)](this[_0x3f1c65(0x24d)][_0x3f1c65(0x265)]({'toJson':_0x46274d=>JSON[_0x3f1c65(0x2f8)](this[_0x3f1c65(0x419)](_0x46274d)),'parseJson':_0x460330=>{const _0x527854=_0x3f1c65;if(!_0x460330)return{};try{return JSON[_0x527854(0x40e)](_0x460330);}catch{return{};}},'businesses':[_0x264b88['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x385d0a,_0x1bb046)=>{this['fromJSON'](_0x1bb046);},'onUnLoad':_0x54eb6b=>{const _0x2fca3c=_0x3f1c65;this[_0x2fca3c(0x260)](_0x54eb6b);}}));}};J=Ui([Ke(0x0,_0x230206(_0x48fa95)),Ke(0x1,_0x27e8db),Ke(0x2,_0x230206(_0x129caa)),Ke(0x3,_0x52a20c),Ke(0x4,_0x518b26),Ke(0x5,_0x230206(_0x19c538))],J);const Vi={0x0:{0x0:{'v':_0x3cd867(0x3ca),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x3cd867(0x1fd),'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':_0x3cd867(0x245),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Go=(_0x55731e,_0x195615)=>{const _0x2d5e90=_0x3cd867,_0x543ba1=new _0xf97b68(),_0x2357bb=new _0xf97b68(Vi),{row:_0x4f63cd,col:_0x16115f}=_0x195615;_0x2357bb[_0x2d5e90(0x34a)]((_0x1a2f92,_0x51fd85,_0x38810c)=>{const _0xc158a7=_0x2d5e90;let _0x29aee8='';_0x38810c['v']===_0xc158a7(0x3ca)?_0x29aee8=_0x55731e[_0xc158a7(0x3ca)]:_0x38810c['v']===_0xc158a7(0x245)?_0x29aee8=_0x55731e['row']:_0x38810c['v']===_0xc158a7(0x1fd)?_0x29aee8=_0x55731e[_0xc158a7(0x1fd)]:_0x38810c['v']===_0xc158a7(0x30c)&&(_0x29aee8=_0x55731e[_0xc158a7(0x30c)]),_0x543ba1[_0xc158a7(0x2af)](_0x1a2f92+_0x4f63cd,_0x51fd85+_0x16115f,{..._0x38810c,'v':_0x29aee8});});const _0x300894=_0x56d9b5[_0x2d5e90(0x3e3)](Bt);return Object['keys'](Bt)['forEach'](_0x525992=>{const _0x2cf4a9=_0x2d5e90;_0x300894[_0x525992]=Bt[_0x525992][_0x2cf4a9(0x2dd)](_0x3773c6=>({..._0x3773c6,'startRow':_0x3773c6[_0x2cf4a9(0x354)]+_0x4f63cd,'endRow':_0x3773c6[_0x2cf4a9(0x33c)]+_0x4f63cd,'startColumn':_0x3773c6['startColumn']+_0x16115f,'endColumn':_0x3773c6['endColumn']+_0x16115f}));}),{'matrixCache':_0x543ba1,'rangesCache':_0x300894};};function Oi(_0x18c6f6,_0x1fe695){const _0x5d008f=_0x3cd867;let _0x23d9dc='';const _0x3f0491=this[_0x5d008f(0x2c1)]();switch(_0x1fe695){case _0x390d0d['average']:_0x23d9dc=_0x3f0491[_0x5d008f(0x299)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x1fc)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x22e)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x33e)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x382)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x310)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x271)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x1ea)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x3f7)]+_0x18c6f6;break;case _0x390d0d['product']:_0x23d9dc=_0x3f0491[_0x5d008f(0x279)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x2c0)]:_0x23d9dc=_0x3f0491['sheets-pivot.stdDevName']+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x364)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x375)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x214)]:_0x23d9dc=_0x3f0491['sheets-pivot.sumName']+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x435)]:_0x23d9dc=_0x3f0491[_0x5d008f(0x27f)]+_0x18c6f6;break;case _0x390d0d[_0x5d008f(0x3b0)]:_0x23d9dc=_0x3f0491['sheets-pivot.varpName']+_0x18c6f6;break;default:_0x23d9dc=_0x18c6f6;break;}return _0x23d9dc;}function Ei(_0x40202b,_0x4e5675,_0x5cd5cd,_0x383037,_0x4b540c){const _0x4cb23f=_0x3cd867;var _0x486a2e,_0x1381e0,_0x50bfce,_0x4c13e8,_0x11dc94;const _0x1b8f8e=_0x120a1f(_0x40202b,_0x4e5675),{rangesInfo:_0x50cfe7,areaInfo:_0xb68734,headerMap:_0x3db766}=_0x4b540c;if(!_0x50cfe7||!_0xb68734||!_0x3db766)return;const _0x20f24c=Object[_0x4cb23f(0x347)](_0x50cfe7)['find'](_0x233226=>_0x50cfe7[_0x233226][_0x4cb23f(0x3de)](_0x1b80d8=>_0x875ff4[_0x4cb23f(0x400)](_0x1b80d8,_0x1b8f8e))),_0xb7fb72=_0xb68734;let _0x374a22,_0x5df19b,_0x2dca14;if(_0x20f24c===_0x4cb23f(0x352))_0x374a22=(_0x486a2e=_0xb7fb72==null?void 0x0:_0xb7fb72[_0x4cb23f(0x427)])==null?void 0x0:_0x486a2e[_0x40202b],_0x5df19b=(_0x1381e0=_0x3db766==null?void 0x0:_0x3db766['rowHeaderMap'])==null?void 0x0:_0x1381e0[_0x4e5675],_0x2dca14=_0x5df19b==null?void 0x0:_0x5df19b[_0x4cb23f(0x360)];else{if(_0x20f24c==='colRanges')_0x374a22=(_0x50bfce=_0xb7fb72==null?void 0x0:_0xb7fb72[_0x4cb23f(0x3ce)])==null?void 0x0:_0x50bfce[_0x4e5675],_0x5df19b=(_0x4c13e8=_0x3db766['colHeaderMap'])==null?void 0x0:_0x4c13e8[_0x40202b+0x1+_0x4e5675-_0x50cfe7[_0x4cb23f(0x269)][0x0][_0x4cb23f(0x2c4)]],_0x2dca14=_0x5df19b==null?void 0x0:_0x5df19b[_0x4cb23f(0x360)];else{if(_0x20f24c===_0x4cb23f(0x3d4))_0x374a22=(_0x11dc94=_0xb7fb72==null?void 0x0:_0xb7fb72[_0x4cb23f(0x426)])==null?void 0x0:_0x11dc94[_0x4e5675],_0x2dca14=_0x374a22==null?void 0x0:_0x374a22['tableFieldId'];else{if(_0x20f24c===_0x4cb23f(0x22c)){const _0x48168f=_0x5cd5cd==null?void 0x0:_0x5cd5cd['fi'];_0x48168f!==void 0x0&&(_0x2dca14=_0x383037[_0x4cb23f(0x37c)](_0x48168f));}}}}return{'filterId':_0x2dca14,'info':_0x374a22,'data':_0x5cd5cd,'headerInfo':_0x5df19b};}function xi(_0xa003fa,_0x34227b,_0x3517cb){const _0x46564c=_0x3cd867,_0x46d20c=_0xa003fa[_0x46564c(0x26a)],_0x340ad7=_0x46d20c[_0x46564c(0x2dc)](),_0x3975cd=new Set();_0xa003fa[_0x46564c(0x2f5)](_0x1375f7=>{const _0x20fca5=_0x46564c;_0x3975cd[_0x20fca5(0x314)](_0x1375f7[_0x20fca5(0x389)]);});const _0x5dac42=_0x340ad7[_0x46564c(0x2dd)](_0x2b39f8=>{const _0x414f99=_0x46564c,_0x20b368=_0x46d20c['getFieldById'](_0x2b39f8);return{'checked':_0x3975cd['has'](_0x2b39f8),'dataFieldId':_0x20b368['id'],'id':_0x20b368['id'],'name':_0x46d20c[_0x414f99(0x263)](_0x20b368['id']),'type':_0x20b368['getFieldDataType'](),'pivotTableId':_0x34227b};}),_0x5d2fa8=[];_0xa003fa[_0x46564c(0x213)](_0x3e27e3[_0x46564c(0x41c)],_0xaa28b9=>{const _0x5a8c33=_0x46564c;_0x5d2fa8['push']({'dataFieldId':_0xaa28b9[_0x5a8c33(0x389)],'tableFieldId':_0xaa28b9[_0x5a8c33(0x23b)](),'displayName':_0xaa28b9[_0x5a8c33(0x263)]()});});const _0xfd4a81=[];_0xa003fa[_0x46564c(0x213)](_0x3e27e3['Column'],_0x3febb0=>{const _0x5567ca=_0x46564c;_0xfd4a81['push']({'dataFieldId':_0x3febb0['dataFieldId'],'tableFieldId':_0x3febb0[_0x5567ca(0x23b)](),'displayName':_0x3febb0[_0x5567ca(0x263)]()});});const _0x474440=[];if(_0xa003fa[_0x46564c(0x213)](_0x3e27e3['Value'],_0x139212=>{const _0x5e0ba1=_0x46564c;_0x474440['push']({'dataFieldId':_0x139212[_0x5e0ba1(0x389)],'tableFieldId':_0x139212[_0x5e0ba1(0x23b)](),'displayName':_0x139212[_0x5e0ba1(0x263)](),'format':_0x139212['getFormat'](),'subTotalType':_0x139212[_0x5e0ba1(0x286)]()});}),_0x474440[_0x46564c(0x2f7)]>0x1){const _0x671d55=_0xa003fa['getValueIndex']();(_0xa003fa[_0x46564c(0x3ef)]()?_0xfd4a81:_0x5d2fa8)[_0x46564c(0x3b3)](_0x671d55,0x0,{'dataFieldId':'','tableFieldId':_0x46564c(0x3f2),'displayName':'ΣValue'});}const _0x19decd=[];_0xa003fa[_0x46564c(0x213)](_0x3e27e3[_0x46564c(0x206)],_0x615735=>{const _0x483c6f=_0x46564c;_0x19decd[_0x483c6f(0x1e6)]({'dataFieldId':_0x615735[_0x483c6f(0x389)],'tableFieldId':_0x615735[_0x483c6f(0x23b)](),'displayName':_0x615735[_0x483c6f(0x263)]()});});const _0x5a7ad0=_0x3517cb['sourceRangeInfo'];return{'sourceList':_0x5dac42,'sourceRange':_0x5a7ad0,'rowFields':_0x5d2fa8,'columnFields':_0xfd4a81,'valueFields':_0x474440,'filterFields':_0x19decd,'positionInfo':_0x3517cb[_0x46564c(0x2b7)]};}function _0x1dff(_0x3da606,_0x31d765){const _0x11bb30=_0x11bb();return _0x1dff=function(_0x1dffcb,_0x50705f){_0x1dffcb=_0x1dffcb-0x1cb;let _0x16bb4b=_0x11bb30[_0x1dffcb];return _0x16bb4b;},_0x1dff(_0x3da606,_0x31d765);}function fo(_0x12e35c,_0x2f8f23,_0x415516='',_0x5db1bb={}){const _0x4a4cd5=_0x3cd867,_0x95caaa=_0x12e35c[_0x4a4cd5(0x2ec)](_0xb73921);for(const _0x3d54c1 in _0x2f8f23)if(Object['prototype']['hasOwnProperty'][_0x4a4cd5(0x2a7)](_0x2f8f23,_0x3d54c1)){const _0x56586b=_0x415516?_0x415516+'.'+_0x3d54c1:_0x3d54c1;typeof _0x2f8f23[_0x3d54c1]==_0x4a4cd5(0x39a)&&_0x2f8f23[_0x3d54c1]!==null&&!Array['isArray'](_0x2f8f23[_0x3d54c1])?fo(_0x12e35c,_0x2f8f23[_0x3d54c1],_0x56586b,_0x5db1bb):_0x5db1bb[_0x56586b]=_0x95caaa['t'](_0x56586b);}return _0x5db1bb;}const $t=_0x5c9dee=>{const _0x192db5=_0x3cd867;if(!_0x5c9dee)return[];const {rowRanges:_0x5556de,colRanges:_0x44f6b6,cornerRanges:_0x4b2725,dataRanges:_0x166324,pageRanges:_0x33a188}=_0x5c9dee,_0x4687b8=[..._0x44f6b6,..._0x5556de,..._0x166324,..._0x4b2725][_0x192db5(0x3ca)](_0x38a154=>_0x38a154[_0x192db5(0x354)]>=0x0&&_0x38a154[_0x192db5(0x2c4)]>=0x0&&_0x38a154[_0x192db5(0x33c)]>=0x0&&_0x38a154[_0x192db5(0x2d1)]>=0x0);let _0x5ba373=Number['MAX_SAFE_INTEGER'],_0x88bc94=Number['MIN_SAFE_INTEGER'],_0x19b0dc=Number[_0x192db5(0x36c)],_0x4b0b90=Number[_0x192db5(0x25c)];for(let _0x367b47=0x0;_0x367b47<_0x4687b8[_0x192db5(0x2f7)];_0x367b47++)_0x5ba373=Math['min'](_0x5ba373,_0x4687b8[_0x367b47][_0x192db5(0x354)]),_0x88bc94=Math[_0x192db5(0x310)](_0x88bc94,_0x4687b8[_0x367b47][_0x192db5(0x33c)]),_0x19b0dc=Math[_0x192db5(0x1ea)](_0x19b0dc,_0x4687b8[_0x367b47][_0x192db5(0x2c4)]),_0x4b0b90=Math[_0x192db5(0x310)](_0x4b0b90,_0x4687b8[_0x367b47][_0x192db5(0x2d1)]);return[..._0x33a188,{'startRow':_0x5ba373,'endRow':_0x88bc94,'startColumn':_0x19b0dc,'endColumn':_0x4b0b90}];};function Ai(_0x214406,_0x2ff0a3){const _0x12ae80=_0x3cd867,_0x524dce=_0x2ff0a3[_0x12ae80(0x35b)][_0x12ae80(0x376)],{pivotTableId:_0xb85aa,unitId:_0x19b607,subUnitId:_0x4b3e21}=_0x2ff0a3;if(!_0x524dce)return;const _0x32d92a=_0x214406[_0x12ae80(0x2ec)](J),_0x1df0fb=_0x32d92a[_0x12ae80(0x2bb)](_0xb85aa),_0x447046=_0x32d92a[_0x12ae80(0x423)](_0x19b607,_0x4b3e21,_0xb85aa);if(!_0x1df0fb||!_0x447046)return;const _0x3ef022=_0x1df0fb[_0x12ae80(0x277)](_0x524dce[_0x12ae80(0x267)]);if(!(_0x3ef022!=null&&_0x3ef022[_0x12ae80(0x2f7)]))return;const _0x47ab99=_0x447046[_0x12ae80(0x3ee)],{unitId:_0x1bc968,subUnitId:_0x4e73bf,range:_0x29626d}=_0x47ab99;let _0x566d31=0x0;const _0x57340b=_0x1df0fb['dataFieldsCollection'][_0x12ae80(0x2dc)]()[_0x12ae80(0x348)]((_0x4abfe3,_0x312c06)=>{const _0x54f431=_0x12ae80;var _0x5e1156;const _0x12b73a=(_0x5e1156=_0x1df0fb[_0x54f431(0x3c5)](_0x312c06))==null?void 0x0:_0x5e1156[_0x54f431(0x2bc)]();return _0x12b73a&&(_0x4abfe3[String(_0x566d31)]=_0x12b73a),_0x566d31++,_0x4abfe3;},{});return{'indexes':_0x3ef022,'range':_0x29626d,'sourceUnitId':_0x1bc968,'sourceSubUnitId':_0x4e73bf,'formatMap':_0x57340b};}function Ko(_0x1b4f03,_0x25021a){const _0x53796a=_0x3cd867;if(!_0x1b4f03||!_0x25021a)return!0x0;const _0x345759=_0x3b5338(jo,Wo),_0xb5bd4e=new Function(_0x53796a(0x447)+_0x345759)()(_0x1b4f03,_0x25021a)[_0x53796a(0x1f0)],_0x1607c7=_0x2ca9f3(_0xb5bd4e,'sf',ko);return!((_0xb5bd4e==null?void 0x0:_0xb5bd4e['rt'])===_0x185cfd[_0x53796a(0x2f2)]&&!_0x1607c7);}function _0x11bb(){const _0x454fd0=['getMatrixValue','sheets-pivot.countNumsName','rangesInfo','_deletePivotTableInstanceCache','info','sheet.mutation.set-pivot-value-filter','_pivotConfigChange$','_toJSON','dataFieldId','intersects','registerRefRange','setPivotInitCompleted','sheets.tabs.sheet','sheets-pivot.cellDateGroupDisplay.date','Sum\x20of\x20','_generateUniqueVersion','_sheetInterceptorService','subtotal','blank','maxDate','sourceName','_pivotTableInstanceCache','getSheetBySheetId','col','_refRangeHandle','object','getTypeOfUnitDisposed$','_updateRenderEmptyCache','RemovePivotField','getPivotTableMatrixInfo','Value','random','_fieldsCollectionChange$','Existing','Grand\x20Total','existing','_createExclusiveRange','getDirtyInfo','SHEET_PIVOT_TABLE_PLUGIN','sheet.command.set-pivot-filter','isNaN','getAutoFitColumnsMutations','subscribe','MovePivotField','getUpdateRangeDeleteIds','getDataFieldBySourceName','batch','varp','getActiveSheet','_markDirty$','splice','sheet.command.move-pivot-table','replace','custom','parseInt','setPivotCollapse','2nqNKaA','executeCommand','_subjectViewChange','rangeKeyMap','addPivotTable','createDataFieldId','updateRenderCache','value','Panel','_requestResolvers','onQueryStart','data','getDataFieldByDataFieldId','pivotTableId','getUnitId','UpdatePivotSource','grandTotal','filter','result','sheets-pivot.dateGroup.yearQuarter','isEmpty','colInfo','STRING','sheets-pivot.cellDateGroupDisplay.minute','size','sheet.mutation.remove-group-collection','measure','cornerRanges','_ensurePivotItemRenderInfoCache','addCollection','pbt','forRow','getCellMatrix','registerCommand','getColumnWidth','updateConfigCache','setDateType','some','_activeDirtyManagerService','refreshData','fetchThroughAsyncInterceptors','collections','deepClone','_pivotInitCompleted$','_sheetsSelectionsService','_subjectCollectionChange','Style','#FFFFFF','collectionConfig','collapseInfo','removeCollections','getRefRangeMutationsByMoveRange','sortInfo','sourceRangeInfo','isColMultiMeasure','limit\x20pivot','forEach','PivotMultipleValueId','sheets-pivot.grandTotal','sheets-pivot.cellDateGroupDisplay.hourMinute','2473224mPaIDJ','updateCollectionConfig','sheets-pivot.minName','updatePivotSource','originTargetInfo','getRowCount','valueIndex','rangeKey','NotFunction','asyncInterceptor','getOwnPropertyDescriptor','contains','removeCollectionImp','pivotInitCompleted$','_getPivotAppliedRanges','sheets-pivot.dateGroup.date','token','_pivotTableRangeInfo','fields','update','includes','delete','#eceeff','UpdateSource','getTargetByPivotTableId','parse','defineProperty','getFieldCountByArea','sheet.command.update-pivot-value-position','getTargetByPivotId','_configService','#f4f4f5','_sheetsPivotTableAdaptorModel','_pivotTableMatrixInfo','sheet.mutation.set-pivot-position','updatePivotTableMatrixInfo','toJSON','getFieldFormat','MUTATION','Row','_ensureViewDataMap','Subtotal','SetSortInfo','query','_initUnitDisposed','options','getPivotTableConfig','_viewData','viewData$','cornerInfo','rowInfo','Hour','removeField','_viewUpdate$','slice','areaInfo','node','sheet.mutation.add-pivot-field','sheets-pivot.config','isValue','rowHeaderMap','_configVersion$','dataFields','onQueryEnd','var','setFieldFormat','_ensurePivotTableMatrixInfo','getRangeKey','sheet.mutation.set-pivot-field-subtotal-type','sheets-pivot.dateGroup.monthDate','AddPivotTableWithConfig','columnFields','pivotTableIndexConfig','_globalComputingSrv','entries','UpdateValuePosition','valueFields','SetSubtotalType','_initRemoveSheetCommandInterceptor','setRange','addDataFieldWithoutUnitInfo','_model','return\x20','sheet.mutation.set-pivot-sort-info','getColCount','_initLocale','resetArea','_initCommandInterceptListener','dataStyle','getNoUsedDataFieldIds','getSubUnitPivotMatrix','sheet.command.add-pivot-table-with-config','substring','colStyle','pushComputingStatusSubject','dataRangeInfo','getPivotTableRangeInfo','addField','undos','sheets-pivot.dateGroup.hour','UNIVER_SHEET','shouldClear','_commandService','getDataFieldManager','setRangeValueRedoMutation','NORMAL','_pivotRenderValueMatrixCache','2300FtrfLh','updateFieldPosition','remove','sheet.mutation.set-pivot-collapse','_queryingMap','push','SHEET_PIVOT_EXCLUSIVE_ID','updateDirtyPivotTable','removeSourceRangeChange','min','_host','_exclusiveRangeService','queryDirtyPivotTable','getMonth','setValueFilterInfo','message','updatePivotTableRangeInfo','isDate','ResetPivotTable','sheets-pivot.dateGroup.hourMinute','NAME','setValuePivotFilter','setTextInfo','single','fetchThroughInterceptors','SetPivotSort','#1d32e9','count','column','SetPivotSetting','_onRefRangeChange','getGroupFieldsInfoByIds','getValuePosition','_ensurePivotItemRenderValueMatrixCache','getAutoDisplayNameFunction','rangeType','setSubtotalType','Filter','interceptor','rgb(255,255,255)','_globalComputedEndHelpFunc','SHEET_PIVOT_IN_MAIN_THREAD','valueFilter','updateAllDisplayName','dataStream','sheet.command.add-pivot-field','_initViewModelBySheetInterceptor','updateView','RemoveField','getHeaderMapItem','iterateFieldByArea','sum','setPivotSetting','Total','fieldIds','sheetName','AddField','_ensurePivotMap','matrix','_dataFieldManagerCollection','getStyles','sheet.command.remove-pivot-field','bind','filterFields','dispose','fontRenderExtension','cellValue','getInterceptPoints','markDirty$','getTextSize','cornerStyle','colHeaderMap','Product\x20of\x20','getRangeKeyList','_sheetsPivotDataSourceModel','pageRanges','headerMap','sheets-pivot.countName','sheets-pivot.dateGroup.month','sheet.command.set-pivot-value-filter','_injector','deleteField','fieldsCollectionChange$','_sheetsPivotRpcService','_config','collection','clearRenderCache','getSheetId','setCollapse','getFullYear','getId','type','sheet.command.reset-pivot-fields-config','NotNumber','None','sheets-pivot.emptyPivot.values','set','handleMoveRange','minDate','getPivotTableIdByCell','row','endCollectChangeset','getOriginFieldId','refreshDataField','CELL_CONTENT','resetPivotTable','handleSourceRangeChange','Count\x20of\x20','_resourceManagerService','sheets-pivot.dateGroup.minute','Var\x20of\x20','_ensurePivotTableRangeInfo','sheet.mutation.send-pivot-view-local','pushUndoRedo','YearMonthDate','SetPivotFilter','_globalComputedStartHelpFunc','range','uniqueDataFieldName','sheets-pivot.emptyPivot.row','sheets-pivot.emptyPivot.filter','updateRangeKeyMap','removePivotTable','MIN_SAFE_INTEGER','workbook\x20is\x20not\x20found','broadcastCollectionChange','_initPivotDataGetListener','deleteUnitId','setSortInfo','onStarting','getDisplayName','setRangeKeyMap','registerPluginResource','setDirty','tuple','versions','colRanges','dataFieldsCollection','_sheetsPivotTableConfigModel','getRangeData','isText','getSortInfo','getCellRaw','deleteDataField','sheets-pivot.maxName','_getAutoName','sheet.command.set-pivot-field-setting','notExecuteFormula','configVersion$','originalFieldId','getIndexesByPathStr','getPivotDisplayConfig','sheets-pivot.productName','setPivotTable','rowCount','AddPivotTable','width','getCurrentUnitForType','sheets-pivot.varName','setPivotTableConfig','pivotConfigChange$','_pivotRenderInfoCache','getUnit','_featureCalculationManagerService','setDataRecordCount','getSubtotal','sheets-pivot.blank','SetPivotTableConfig','DrillDown','DIV_BY_ZERO','GrandTotal','_initPivotTextInfo','asObservable','renameField','updateViewInfo','pivotPerformCheck','registerDirtyService','valuePosition','pivotTableConfigs','_globalSubject','dimension','sheets-pivot.cellDateGroupDisplay.month','414659FECTSy','Month','sheets-pivot.averageName','addCollectionByJSON','fieldsConfig','adjustSheetCellData','number','filterInfo','sheet.command.pivot-drill-down','AddPivotField','sheets-pivot.value','sheet.mutation.set-pivot-filter','_deleteModelCache','getDataFieldId','subUnitId','_updateModelCache','call','Max\x20of\x20','_initSnapshot','_initConfig','SetCollapse','rgb(240,241,243)','document','symbol','setValue','YearMonth','getColumnCount','collectionChange$','Set','_viewData$','handleAsyncResponse','formJSON','targetCellInfo','iterateFieldDim','getPivotPerformCheck','1826604mvosmv','getPivotTableInstance','getformat','string','Quarter','floor','stdDev','getTextInfo','_univerInstanceService','sheet.mutation.set-pivot-format','startColumn','sheets-pivot.subTotal','YearQuarter','(Blank)','body','_updatePivotTableInstanceCache','sheet.command.update-pivot-table-source-range','setPivotFilter','sheets-pivot.cellDateGroupDisplay.quarter','getFieldPositionInfoById','onCommandExecuted','triggerDirtyFeature','next','endColumn','_textInfo','SetValuePivotFilter','format','_initClearSelectionCommandInterceptor','initDataRanges','reset','BadReference','NotName','addExclusiveRange','getCollection','getFieldIds','map','sheets-pivot.dateGroup.quarter','unitId','Column','getName','addFieldWithSourceId','lastRow','sheet.mutation.remove-pivot-table','updateFieldSourceInfo','intercept','getValueIndex','Varp\x20of\x20','Add','Delete','getPivotDirtyViewInfo','get','markDirty','getDataFieldItemInfo','version','updateValuePosition','Expand','NO_COMMERCIAL','dataFieldManagerConfig','movePivotField','iterateField','prefix','length','stringify','sheet.mutation.send-init-pivot-text-local','_collectionChange$','getValueFilterInfos','RenameField','sheets-pivot.emptyPivot.column','sheets-pivot.cellDateGroupDisplay.yearMonthDate','dateType','SetPivotCollapse','_initGlobalComputed','getPivotTableCellData','63336YvkFau','has','clearExclusiveRangesByGroupId','lastCol','updateDataFieldsCollection','startCollectChangeset','panel','getMatrixFromRunTimeData','charCodeAt','values','fromJSON','sheet.command.set-pivot-fields-config','addRecord','max','HourMinute','UpdateFieldPosition','sheets-pivot.columnName','add','Values','COLUMN','COMMAND','setPivotSort','5165QxRwkE','getFormatInfo','getFieldDataType','getSubUnitPivotRenderCache','updateConfig','getSheets','displayName','paths','disposeWithMe','refreshGroupField','unshift','addDirtyPivotTable','getSubUnitPivotConfigs','_sheetsPivotTableService','Year','name','from','sheets-pivot.dateGroup.yearMonthDate','getFieldById','sheet.command.move-pivot-field','redos','registerSyncingMutations','NUMBER','registerCallbackWithEvent','setSourceName','sheet.mutation.pivot-update-field-position','_init','textInfo','getDate','removeDataField','sheet.command.set-pivot-collapse','addPivotField','getIntersectsPivotTable','getFilterInfo','colCount','endRow','sheet.command.set-pivot-sort','countNums','subTotalStyle','1527432QsxYjy','setName','getRangeStartEndInfo','getTableFieldById','removeValueFilterInfo','valid','isBottomTotal','keys','reduce','Average\x20of\x20','forValue','New','generateNewSheetName','error','getSourceName','level','sheets-pivot.dateGroup.yearMonth','getLastRow','rowRanges','NUM','startRow','getFieldInfo','removePivotField','sheet.mutation.set-pivot-option','setLabelFilterInfo','needSameDeleteModel','_refRangeService','params','sheet.command.update-date-group','sheet.mutation.send-pivot-config-local','getPivotItemRenderInfoCache','find','tableFieldId','toString','SetFieldFormat','setRangeValueUndoMutation','stdDevp','getValue','getViewData','generateMutationsByRanges','ManualFilter','updateViewData','oldRangeInfo','_dataSyncPrimaryController','MAX_SAFE_INTEGER','66851IMCGwA','_collectionConfigModel','interceptCommand','concat','createCollectionWithDataRange','addPivotTableWithConfig','_localeService','getLastCol','sheets-pivot.stdDevpName','drillDown','getPivotTableModelConfig','getDataFieldByTableId','new','rowFields','disposableCollection','getFilterFieldIdByIndex','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getMatrix','getConfig','leafStyle'];_0x11bb=function(){return _0x454fd0;};return _0x11bb();}function go(_0x17dc5f,_0x42e2a9,_0x3591c4){const _0x3e54bc=_0x3cd867,_0x1f9101={'count':_0x17dc5f,'timeValid':!0x1};if(!_0x42e2a9||!_0x3591c4)return _0x1f9101;const _0x29dfe0=_0x3b5338(jo,Wo),_0x17f709=new Function(_0x3e54bc(0x447)+_0x29dfe0)()(_0x42e2a9,_0x3591c4);if(_0x17f709!=null&&_0x17f709[_0x3e54bc(0x345)]){const _0x32775e=_0x17f709[_0x3e54bc(0x1f0)],_0x3eaa1b=_0x2ca9f3(_0x32775e,'sf',ko);return{'count':_0x54f429(_0x32775e,_0x3eaa1b,'ptn',_0x17dc5f,_0x17dc5f,0x0),'timeValid':_0x3eaa1b};}return _0x1f9101;}function Yo(_0x51701f,_0x4b394a,_0x2168da,_0x484bd3){const _0x4c2771=_0x3cd867,_0x3108b2={'subUnitId':_0x2168da,'unitId':_0x4b394a,'cellValue':_0x1a63db(_0x484bd3)},_0x16ed82=_0x2e8194(_0x51701f,_0x3108b2);let _0x35b5de=!0x1;return new _0xf97b68(_0x16ed82[_0x4c2771(0x223)])[_0x4c2771(0x34a)]((_0x426a79,_0x51b487,_0x477c41)=>{const _0x1e9254=_0x4c2771;if(!_0x35b5de&&_0x477c41&&(_0x477c41[_0x1e9254(0x3b6)]||_0x477c41['f']||_0x477c41['p']||_0x477c41['s']||_0x477c41['si']||_0x477c41['t']||_0x477c41['v']))return _0x35b5de=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x533b97['id'],'params':_0x16ed82},'setRangeValueRedoMutation':{'id':_0x533b97['id'],'params':_0x3108b2},'shouldClear':_0x35b5de};}function ki(_0x4ea83f){const {row:_0x4f645a,col:_0x1dda79}=_0x4ea83f,_0x1084e5={'startRow':_0x4f645a,'endRow':_0x4f645a,'startColumn':_0x1dda79,'endColumn':_0x1dda79},_0x3b8d6a={'startRow':_0x4f645a+0x2,'endRow':_0x4f645a+0xe,'startColumn':_0x1dda79,'endColumn':_0x1dda79+0x6};return[_0x1084e5,_0x3b8d6a];}function Li(_0x28379a,_0x121d94,_0x49d57c){const _0x184099=_0x3cd867,{cornerView:_0x2fb093,rowView:_0x10fb41,colView:_0x359c2f,pageView:_0x544716}=_0x28379a,{row:_0x292675,col:_0x1356dc}=_0x121d94;if(_0x49d57c)return{'rowCount':bi+_0x292675,'colCount':Si+_0x1356dc};const _0x2e4437=_0x544716[_0x184099(0x2e3)]>-0x1?_0x544716[_0x184099(0x2e3)]+0x1:0x0,_0x83fa1b=_0x544716[_0x184099(0x306)]>-0x1?_0x544716[_0x184099(0x306)]:0x0,_0x1bb4a1=_0x292675+_0x2e4437+(_0x2e4437?0x1:0x0)+_0x2fb093[_0x184099(0x27b)]+_0x10fb41[_0x184099(0x27b)],_0x516873=_0x1356dc+_0x83fa1b,_0x4a10bc=_0x1356dc+_0x2fb093[_0x184099(0x33b)]+_0x359c2f['colCount'],_0x49bec8=Math[_0x184099(0x310)](_0x516873,_0x4a10bc);return{'rowCount':_0x1bb4a1,'colCount':_0x49bec8};}function we(_0x14ecbb,_0x20c54c,_0x4a24e3,_0x4b5e74){const _0x65e5a8=_0x3cd867,{row:_0xad5b11,col:_0x3564da,unitId:_0x5d2190,subUnitId:_0x1d43f9}=_0x4a24e3,_0x3b6a54=Li(_0x20c54c,{'row':_0xad5b11,'col':_0x3564da},_0x4b5e74),_0x58e6bd=_0x14ecbb[_0x65e5a8(0x2ec)](_0x27e8db),_0x199164=_0x4e8dc1(_0x58e6bd,{'unitId':_0x5d2190,'subUnitId':_0x1d43f9}),_0x1cef7a=[],_0x24fec0=[];if(!_0x199164)return{'undos':_0x24fec0,'redos':_0x1cef7a};const {worksheet:_0x49f322}=_0x199164,_0x3a6741=_0x49f322[_0x65e5a8(0x3fa)](),_0x4dbdcc=_0x49f322[_0x65e5a8(0x2b1)]();return _0x3a6741<_0x3b6a54[_0x65e5a8(0x27b)]&&(_0x1cef7a[_0x65e5a8(0x1e6)]({'id':_0x39ab5e['id'],'params':{'unitId':_0x5d2190,'subUnitId':_0x1d43f9,'range':{'startRow':_0x3a6741,'endRow':_0x3b6a54[_0x65e5a8(0x27b)]-0x1,'startColumn':0x0,'endColumn':_0x4dbdcc-0x1}}}),_0x24fec0[_0x65e5a8(0x1e6)]({'id':_0x534e65['id'],'params':{'unitId':_0x5d2190,'subUnitId':_0x1d43f9,'range':{'startRow':_0x3a6741,'endRow':_0x3b6a54[_0x65e5a8(0x27b)]-0x1,'startColumn':0x0,'endColumn':_0x4dbdcc-0x1}}})),_0x4dbdcc<_0x3b6a54[_0x65e5a8(0x33b)]&&(_0x1cef7a[_0x65e5a8(0x1e6)]({'id':_0xb1631a['id'],'params':{'unitId':_0x5d2190,'subUnitId':_0x1d43f9,'range':{'startRow':0x0,'endRow':_0x3a6741-0x1,'startColumn':_0x4dbdcc,'endColumn':_0x3b6a54['colCount']-0x1}}}),_0x24fec0[_0x65e5a8(0x1e6)]({'id':_0x402818['id'],'params':{'unitId':_0x5d2190,'subUnitId':_0x1d43f9,'range':{'startRow':0x0,'endRow':_0x3a6741-0x1,'startColumn':_0x4dbdcc,'endColumn':_0x3b6a54[_0x65e5a8(0x33b)]-0x1}}})),{'undos':_0x24fec0,'redos':_0x1cef7a};}function Bi(_0x3f91ef){const _0x54b9e8=_0x3cd867;let _0x2a2a4a=0x0;for(let _0x37dfd6=0x0;_0x37dfd6<_0x3f91ef[_0x54b9e8(0x2f7)];_0x37dfd6++){const _0x37d5ee=_0x3f91ef[_0x54b9e8(0x30b)](_0x37dfd6);_0x37d5ee>=0x4e00&&_0x37d5ee<=0x9fff||_0x37d5ee>=0x3000&&_0x37d5ee<=0x303f||_0x37d5ee>=0xff00&&_0x37d5ee<=0xffef?_0x2a2a4a+=0x2:_0x2a2a4a+=0x1;}return _0x2a2a4a;}function To(_0x217e4b,_0x32d67d,_0x12a408,_0x42c412){const _0x34c8af=_0x3cd867;var _0x52976c,_0x35a37d,_0x5116c2,_0xa03962;const {rowCount:_0x3db7d1,colCount:_0x38a2ca,headerMap:_0x7b451c}=_0x217e4b,_0x52538f=0x64,_0x48a01c=Math[_0x34c8af(0x1ea)](_0x3db7d1,_0x52538f),_0x433beb=Math[_0x34c8af(0x1ea)](_0x38a2ca,_0x52538f);let _0x3a5376='',_0x1f5338=0x0;for(let _0x4246a6=0x0;_0x4246a6<_0x48a01c;_0x4246a6++)for(let _0x269e07=0x0;_0x269e07<_0x433beb;_0x269e07++){const _0x5b5883={...(_0x35a37d=(_0x52976c=_0x217e4b[_0x34c8af(0x3c4)])==null?void 0x0:_0x52976c[_0x4246a6])==null?void 0x0:_0x35a37d[_0x269e07]},_0x2ced9c=(_0x5116c2=_0x7b451c[_0x4246a6])==null?void 0x0:_0x5116c2[_0x34c8af(0x360)],_0x32bcf2=_0x42c412[_0x2ced9c];let _0x2f1bd3=_0x217e4b[_0x34c8af(0x365)](_0x4246a6,_0x269e07);if(_0x5b5883){const _0x15e160=_0x12a408?_0x269e07===0x0&&((_0xa03962=_0x217e4b[_0x34c8af(0x212)](_0x269e07+0x1))==null?void 0x0:_0xa03962[_0x34c8af(0x430)]):!0x1;_0x2f1bd3=ht(_0x5b5883,_0x15e160,_0x32bcf2,_0x32d67d);}if(_0x2f1bd3!==void 0x0){const _0x288c2c=Bi(String(_0x2f1bd3));_0x1f5338<_0x288c2c&&(_0x3a5376=String(_0x2f1bd3),_0x1f5338=_0x288c2c);}}return _0x3a5376;}function $i(_0x334c8b){const _0x163e7a=_0x3cd867,{rowCount:_0x3c9c8e,colCount:_0x3925dc}=_0x334c8b;let _0x2151ec='',_0x5b5463=0x0;for(let _0x5d4f8a=_0x3c9c8e-0x1;_0x5d4f8a>0x0&&_0x5d4f8a>_0x3c9c8e-0x3;_0x5d4f8a--)for(let _0x10827f=0x0;_0x10827f<_0x3925dc;_0x10827f++){const _0x53993f=_0x334c8b[_0x163e7a(0x365)](_0x5d4f8a,_0x10827f);if(_0x53993f!==void 0x0){const _0x28270d=String(_0x53993f)[_0x163e7a(0x2f7)];_0x5b5463<_0x28270d&&(_0x2151ec=String(_0x53993f),_0x5b5463=_0x28270d);}}return _0x2151ec;}function Ji(_0x4b8380){const _0x5dd51c=_0x3cd867,{rowCount:_0x7216fd,colCount:_0x370395}=_0x4b8380;let _0x20fd22='',_0xf7af69=0x0;for(let _0x4931a0=0x0;_0x4931a0<_0x7216fd;_0x4931a0++)for(let _0x21d3d5=0x0;_0x21d3d5<_0x370395;_0x21d3d5++){const _0x4fb670=_0x4b8380['getValue'](_0x4931a0,_0x21d3d5);if(_0x4fb670!==void 0x0){const _0x58719f=String(_0x4fb670)[_0x5dd51c(0x2f7)];_0xf7af69<_0x58719f&&(_0x20fd22=String(_0x4fb670),_0xf7af69=_0x58719f);}}return _0x20fd22;}function Wi(_0x248a22,_0x963ac7){const _0x1dcb6b=_0x3cd867,{rowFields:_0x16011a,columnFields:_0x548e48,valueFields:_0x1a39ba,filterFields:_0x31b2ed,dimension:_0x4b50c8,measure:_0x123b4b}=_0x963ac7;for(const _0x446c8c of _0x16011a){const _0x5d0d95=_0x4b50c8[_0x446c8c];_0x5d0d95&&_0x248a22[_0x1dcb6b(0x3c5)](_0x5d0d95[_0x1dcb6b(0x389)])&&(_0x248a22['addFieldWithSourceId'](_0x5d0d95['dataFieldId'],_0x3e27e3['Row'],void 0x0,_0x446c8c),_0x5d0d95[_0x1dcb6b(0x31f)]&&_0x248a22[_0x1dcb6b(0x28e)](_0x5d0d95['id'],_0x5d0d95[_0x1dcb6b(0x31f)]),_0x5d0d95[_0x1dcb6b(0x3ed)]&&_0x248a22[_0x1dcb6b(0x261)](_0x5d0d95['id'],_0x5d0d95['sortInfo']),_0x5d0d95[_0x1dcb6b(0x29e)]&&_0x248a22[_0x1dcb6b(0x358)](_0x5d0d95['id'],_0x5d0d95[_0x1dcb6b(0x29e)]));}for(const _0x30c66e of _0x548e48){const _0x5e9ced=_0x4b50c8[_0x30c66e];_0x5e9ced&&_0x248a22[_0x1dcb6b(0x3c5)](_0x5e9ced['dataFieldId'])&&(_0x248a22['addFieldWithSourceId'](_0x5e9ced[_0x1dcb6b(0x389)],_0x3e27e3['Column'],void 0x0,_0x30c66e),_0x5e9ced[_0x1dcb6b(0x3ed)]&&_0x248a22[_0x1dcb6b(0x261)](_0x5e9ced['id'],_0x5e9ced[_0x1dcb6b(0x3ed)]),_0x5e9ced[_0x1dcb6b(0x29e)]&&_0x248a22['setLabelFilterInfo'](_0x5e9ced['id'],_0x5e9ced['filterInfo']),_0x5e9ced[_0x1dcb6b(0x31f)]&&_0x248a22[_0x1dcb6b(0x28e)](_0x5e9ced['id'],_0x5e9ced[_0x1dcb6b(0x31f)]));}for(const _0x1fed58 of _0x31b2ed){const _0x5300d1=_0x4b50c8[_0x1fed58];_0x5300d1&&_0x248a22[_0x1dcb6b(0x3c5)](_0x5300d1[_0x1dcb6b(0x389)])&&(_0x248a22['addFieldWithSourceId'](_0x5300d1[_0x1dcb6b(0x389)],_0x3e27e3[_0x1dcb6b(0x206)],void 0x0,_0x1fed58),_0x5300d1[_0x1dcb6b(0x3ed)]&&_0x248a22['setSortInfo'](_0x5300d1['id'],_0x5300d1['sortInfo']),_0x5300d1['filterInfo']&&_0x248a22['setLabelFilterInfo'](_0x5300d1['id'],_0x5300d1[_0x1dcb6b(0x29e)]),_0x5300d1[_0x1dcb6b(0x31f)]&&_0x248a22['renameField'](_0x5300d1['id'],_0x5300d1[_0x1dcb6b(0x31f)]));}for(const _0x1d78ca of _0x1a39ba){const _0x46e09d=_0x123b4b[_0x1d78ca];_0x46e09d&&_0x248a22[_0x1dcb6b(0x3c5)](_0x46e09d[_0x1dcb6b(0x389)])&&(_0x248a22[_0x1dcb6b(0x2e2)](_0x46e09d[_0x1dcb6b(0x389)],_0x3e27e3[_0x1dcb6b(0x39f)],void 0x0,_0x1d78ca),_0x46e09d[_0x1dcb6b(0x392)]!==void 0x0&&_0x248a22['setSubtotalType'](_0x1d78ca,_0x46e09d[_0x1dcb6b(0x392)]),_0x46e09d[_0x1dcb6b(0x2d4)]&&_0x248a22['setFieldFormat'](_0x1d78ca,_0x46e09d[_0x1dcb6b(0x2d4)]),_0x46e09d[_0x1dcb6b(0x31f)]&&_0x248a22[_0x1dcb6b(0x28e)](_0x46e09d['id'],_0x46e09d[_0x1dcb6b(0x31f)]));}const _0x46de82=_0x963ac7[_0x1dcb6b(0x20b)];for(const {fieldId:_0x5021d3,filterInfo:_0x1d291b}of _0x46de82)_0x248a22[_0x1dcb6b(0x1ef)](_0x5021d3,_0x1d291b);}function ji(_0xa939c9,_0x3d9c17){const _0x1c47d7=_0x3cd867,_0x25fca5=[];_0x3d9c17===_0x3e27e3['Row']&&_0xa939c9['iterateFieldByArea'](_0x3e27e3[_0x1c47d7(0x41c)],_0x1fc7fa=>{const _0x1d3be1=_0x1c47d7;_0x25fca5['push'](_0x1fc7fa[_0x1d3be1(0x23b)]());}),_0x3d9c17===_0x3e27e3[_0x1c47d7(0x2e0)]&&_0xa939c9[_0x1c47d7(0x213)](_0x3e27e3[_0x1c47d7(0x2e0)],_0x119f94=>{const _0x271c8d=_0x1c47d7;_0x25fca5[_0x271c8d(0x1e6)](_0x119f94['getId']());}),_0x3d9c17===_0x3e27e3[_0x1c47d7(0x206)]&&_0xa939c9[_0x1c47d7(0x213)](_0x3e27e3[_0x1c47d7(0x206)],_0x31389b=>{_0x25fca5['push'](_0x31389b['getId']());}),_0x3d9c17===_0x3e27e3['Value']&&_0xa939c9['iterateFieldByArea'](_0x3e27e3['Value'],_0x54c171=>{const _0x25c5ec=_0x1c47d7;_0x25fca5[_0x25c5ec(0x1e6)](_0x54c171[_0x25c5ec(0x23b)]());}),_0x3d9c17===void 0x0&&_0xa939c9[_0x1c47d7(0x2f5)](_0x437124=>{const _0x31acb4=_0x1c47d7;_0x25fca5[_0x31acb4(0x1e6)](_0x437124[_0x31acb4(0x23b)]());});const _0x4d85e5=_0x25fca5[_0x1c47d7(0x2f7)];for(let _0x3bbc6d=_0x4d85e5-0x1;_0x3bbc6d>=0x0;_0x3bbc6d--)_0xa939c9[_0x1c47d7(0x429)](_0x25fca5[_0x3bbc6d]);const _0x4284ac=_0xa939c9[_0x1c47d7(0x2fb)]();for(const _0x4ce0cf in _0x4284ac)_0xa939c9[_0x1c47d7(0x344)](_0x4ce0cf);}function Gi(_0x322c97,_0x4fc187){const _0x14658d=_0x3cd867,_0x1b7e22=new Date(_0x19eade(_0x4fc187)),_0x82e47f=new Date(_0x19eade(_0x322c97)),_0x18b729=_0x1b7e22[_0x14658d(0x23a)](),_0x17ee7e=_0x82e47f[_0x14658d(0x23a)](),_0x2e8feb=_0x1b7e22[_0x14658d(0x1ee)](),_0xf2690b=_0x82e47f[_0x14658d(0x1ee)](),_0x494592=_0x1b7e22['getDate'](),_0x43d05c=_0x82e47f[_0x14658d(0x335)](),_0x2072c0=_0x18b729===_0x17ee7e,_0x47c147=_0x2072c0&&_0x2e8feb===_0xf2690b;return _0x2072c0&&_0x47c147&&!(_0x47c147&&_0x494592===_0x43d05c)?_0x215d7a[_0x14658d(0x253)]:_0x2072c0&&!_0x47c147?_0x215d7a['YearMonth']:_0x215d7a[_0x14658d(0x327)];}function Ho(_0x444da8,_0x2ef66d){const _0x1579ae=_0x3cd867,_0x4dd931=_0x444da8[_0x1579ae(0x2ec)](J)['getTextInfo']();let _0x35ac62='';switch(_0x2ef66d){case _0x215d7a[_0x1579ae(0x253)]:_0x35ac62=_0x4dd931[_0x1579ae(0x32a)];break;case _0x215d7a[_0x1579ae(0x2b0)]:_0x35ac62=_0x4dd931[_0x1579ae(0x350)];break;case _0x215d7a[_0x1579ae(0x327)]:_0x35ac62=_0x4dd931['sheets-pivot.dateGroup.year'];break;case _0x215d7a[_0x1579ae(0x298)]:_0x35ac62=_0x4dd931[_0x1579ae(0x22f)];break;case _0x215d7a[_0x1579ae(0x2be)]:_0x35ac62=_0x4dd931[_0x1579ae(0x2de)];break;case _0x215d7a['Date']:_0x35ac62=_0x4dd931[_0x1579ae(0x404)];break;case _0x215d7a[_0x1579ae(0x311)]:_0x35ac62=_0x4dd931[_0x1579ae(0x1f4)];break;case _0x215d7a[_0x1579ae(0x428)]:_0x35ac62=_0x4dd931[_0x1579ae(0x1d9)];break;case _0x215d7a['Minute']:_0x35ac62=_0x4dd931[_0x1579ae(0x24e)];break;case _0x215d7a['MonthDate']:_0x35ac62=_0x4dd931[_0x1579ae(0x43a)];break;case _0x215d7a[_0x1579ae(0x2c6)]:_0x35ac62=_0x4dd931[_0x1579ae(0x3cc)];break;default:_0x35ac62='';break;}return _0x35ac62;}const qo=_0x3cd867(0x42f),yo={};var Ki=Object['getOwnPropertyDescriptor'],Yi=(_0x3901ac,_0x2a700f,_0x21cb34,_0x1c3cfa)=>{const _0x270b10=_0x3cd867;for(var _0x3ca3b8=_0x1c3cfa>0x1?void 0x0:_0x1c3cfa?Ki(_0x2a700f,_0x21cb34):_0x2a700f,_0x108a8b=_0x3901ac[_0x270b10(0x2f7)]-0x1,_0x2d4f51;_0x108a8b>=0x0;_0x108a8b--)(_0x2d4f51=_0x3901ac[_0x108a8b])&&(_0x3ca3b8=_0x2d4f51(_0x3ca3b8)||_0x3ca3b8);return _0x3ca3b8;},at=(_0x5fa6ce,_0x19ee47)=>(_0x39650b,_0x355d1f)=>_0x19ee47(_0x39650b,_0x355d1f,_0x5fa6ce);let he=class extends _0x106977{constructor(_0x173626,_0x2007d8,_0x213db2,_0xbfd6e3,_0x279f2b){const _0x118fa8=_0x3cd867;super(),V(this,_0x118fa8(0x446),new Map()),V(this,_0x118fa8(0x36e),new Map()),V(this,_0x118fa8(0x406),new Map()),V(this,_0x118fa8(0x416),new Map()),V(this,_0x118fa8(0x432),new _0x4062e3()),V(this,'_pivotInitCompleted$',new _0x4062e3()),V(this,_0x118fa8(0x402),this[_0x118fa8(0x3e4)][_0x118fa8(0x28d)]()),V(this,_0x118fa8(0x387),new _0x4062e3()),V(this,_0x118fa8(0x281),this[_0x118fa8(0x387)]['asObservable']()),V(this,_0x118fa8(0x2d2),{}),V(this,_0x118fa8(0x275),this['_configVersion$'][_0x118fa8(0x28d)]()),(this[_0x118fa8(0x231)]=_0x173626,this['_commandService']=_0x2007d8,this[_0x118fa8(0x2c2)]=_0x213db2,this[_0x118fa8(0x24d)]=_0xbfd6e3,this[_0x118fa8(0x413)]=_0x279f2b,this[_0x118fa8(0x1cb)](),this[_0x118fa8(0x421)]());const _0x1c1599=this[_0x118fa8(0x413)][_0x118fa8(0x37f)](qo);(_0x1c1599==null?void 0x0:_0x1c1599[_0x118fa8(0x274)])===!0x0&&this['_initSnapshot']();}[_0x3cd867(0x421)](){const _0x2e5cdc=_0x3cd867;this['disposeWithMe'](this[_0x2e5cdc(0x2c2)][_0x2e5cdc(0x39b)](_0x264b88[_0x2e5cdc(0x1da)])[_0x2e5cdc(0x3ab)](_0x888bd2=>{this['deleteUnitId'](_0x888bd2['getUnitId']());}));}['setPivotInitCompleted'](){const _0x2b920c=_0x3cd867;this[_0x2b920c(0x3e4)]['next'](!0x0);}['_initLocale'](){const _0x1cf4fd=_0x3cd867,_0x514a6d=fo(this['_injector'],Bo,'',{});this[_0x1cf4fd(0x2d2)]=_0x514a6d,this[_0x1cf4fd(0x1dc)][_0x1cf4fd(0x3ba)](uo['id'],{'textInfo':_0x514a6d},{'onlyLocal':!0x0});}[_0x3cd867(0x2c1)](){return this['_textInfo'];}[_0x3cd867(0x28f)](_0x3ea41b,_0x100aec,_0x223591,_0x21251c,_0x309162){const _0x5b1064=_0x3cd867;this[_0x5b1064(0x418)](_0x3ea41b,_0x100aec,_0x223591,_0x21251c),this[_0x5b1064(0x1f1)](_0x3ea41b,_0x100aec,_0x223591,_0x309162);}['getPivotTableConfig'](_0x5ef8c1,_0x58b42c,_0x555d1c){const _0x559b59=_0x3cd867;var _0x13a871;const _0x1e663d=(_0x13a871=this[_0x559b59(0x446)][_0x559b59(0x2ec)](_0x5ef8c1))==null?void 0x0:_0x13a871['get'](_0x58b42c);if(_0x1e663d)return _0x1e663d['get'](_0x555d1c);}[_0x3cd867(0x40d)](_0x1d76e6,_0x2e6cc8){const _0x48732d=_0x3cd867,_0x55022f=this[_0x48732d(0x446)][_0x48732d(0x2ec)](_0x1d76e6);if(_0x55022f){for(const [_0x55e06b,_0x31e201]of _0x55022f['entries']())for(const [_0x569f4b,_0x5196ce]of _0x31e201['entries']())if(_0x569f4b===_0x2e6cc8)return _0x5196ce[_0x48732d(0x2b7)];}}[_0x3cd867(0x412)](_0x162f73,_0x2e9c16,_0xcd6806){const _0x46e3b0=_0x3cd867,_0x6447be=this[_0x46e3b0(0x423)](_0x162f73,_0x2e9c16,_0xcd6806);return _0x6447be==null?void 0x0:_0x6447be[_0x46e3b0(0x2b7)];}[_0x3cd867(0x325)](_0x2dcfc3,_0x1ded1f){const _0x3a8de=_0x3cd867;var _0x4d402a;return(_0x4d402a=this[_0x3a8de(0x446)][_0x3a8de(0x2ec)](_0x2dcfc3))==null?void 0x0:_0x4d402a[_0x3a8de(0x2ec)](_0x1ded1f);}[_0x3cd867(0x3dc)](_0x36e27e,_0x37e7b8,_0xbe00d0,_0x5695e1){const _0x1e0ead=_0x3cd867,_0x4e3c9f=this[_0x1e0ead(0x21a)](_0x36e27e,_0x37e7b8);_0x5695e1?_0x4e3c9f[_0x1e0ead(0x241)](_0xbe00d0,_0x5695e1):_0x4e3c9f[_0x1e0ead(0x40a)](_0xbe00d0),this[_0x1e0ead(0x387)][_0x1e0ead(0x2d0)]({'unitId':_0x36e27e,'subUnitId':_0x37e7b8,'pivotTableId':_0xbe00d0,'pivotTableConfig':_0x5695e1});}[_0x3cd867(0x2db)](_0x52dfab,_0x283452){const _0x7e0b49=_0x3cd867;var _0xebc822;return(_0xebc822=this[_0x7e0b49(0x36e)][_0x7e0b49(0x2ec)](_0x52dfab))==null?void 0x0:_0xebc822[_0x7e0b49(0x3e2)][_0x283452];}[_0x3cd867(0x3f6)](_0x217314,_0x3348dd){const _0x35ef37=_0x3cd867;this['_collectionConfigModel'][_0x35ef37(0x241)](_0x217314,_0x3348dd),this[_0x35ef37(0x432)][_0x35ef37(0x2d0)](Math['random']());}[_0x3cd867(0x21a)](_0xe304,_0x3eb3e6){const _0x13e584=_0x3cd867;let _0x514ecc=this[_0x13e584(0x446)][_0x13e584(0x2ec)](_0xe304);_0x514ecc||(_0x514ecc=new Map(),this['_model'][_0x13e584(0x241)](_0xe304,_0x514ecc));let _0x2a8c32=_0x514ecc[_0x13e584(0x2ec)](_0x3eb3e6);return _0x2a8c32||(_0x2a8c32=new Map(),_0x514ecc[_0x13e584(0x241)](_0x3eb3e6,_0x2a8c32)),_0x2a8c32;}[_0x3cd867(0x250)](_0x58f6a4,_0x4c5da4){const _0x35c996=_0x3cd867;let _0x585ab0=this[_0x35c996(0x406)][_0x35c996(0x2ec)](_0x58f6a4);_0x585ab0||(_0x585ab0=new Map(),this['_pivotTableRangeInfo'][_0x35c996(0x241)](_0x58f6a4,_0x585ab0));let _0x454939=_0x585ab0[_0x35c996(0x2ec)](_0x4c5da4);return _0x454939||(_0x454939=new Map(),_0x585ab0[_0x35c996(0x241)](_0x4c5da4,_0x454939)),_0x454939;}[_0x3cd867(0x437)](_0x2c297e,_0x43724a){const _0x490d4f=_0x3cd867;let _0x34e86c=this[_0x490d4f(0x416)]['get'](_0x2c297e);_0x34e86c||(_0x34e86c=new Map(),this[_0x490d4f(0x416)][_0x490d4f(0x241)](_0x2c297e,_0x34e86c));let _0x16dd40=_0x34e86c[_0x490d4f(0x2ec)](_0x43724a);return _0x16dd40||(_0x16dd40=new Map(),_0x34e86c[_0x490d4f(0x241)](_0x43724a,_0x16dd40)),_0x16dd40;}[_0x3cd867(0x1f1)](_0x4eddf2,_0x1eb8b6,_0x542c91,_0x486368){const _0x589cac=_0x3cd867;var _0x4c5074;const _0x56e102=this['_ensurePivotTableRangeInfo'](_0x4eddf2,_0x1eb8b6),_0x36246d=(_0x4c5074=_0x56e102[_0x589cac(0x2ec)](_0x542c91))==null?void 0x0:_0x4c5074[_0x589cac(0x36a)];_0x56e102[_0x589cac(0x241)](_0x542c91,{'oldRangeInfo':_0x36246d,'rangeInfo':_0x486368});}[_0x3cd867(0x418)](_0x3381f6,_0x37c79f,_0x32f020,_0x5143a7){const _0x86b594=_0x3cd867;var _0x2d42db;const _0x1a9b5c=this[_0x86b594(0x437)](_0x3381f6,_0x37c79f),_0xd5a25f=(_0x2d42db=_0x1a9b5c[_0x86b594(0x2ec)](_0x32f020))==null?void 0x0:_0x2d42db['oldMatrix'];_0x1a9b5c[_0x86b594(0x241)](_0x32f020,{'oldMatrix':_0xd5a25f,'matrix':_0x5143a7});}[_0x3cd867(0x1d6)](_0x32c420,_0x513f94,_0x1055cb){const _0x506c75=_0x3cd867;var _0x402ca7,_0x237717;return(_0x237717=(_0x402ca7=this[_0x506c75(0x406)]['get'](_0x32c420))==null?void 0x0:_0x402ca7['get'](_0x513f94))==null?void 0x0:_0x237717['get'](_0x1055cb);}[_0x3cd867(0x39e)](_0x36128a,_0x4b292e,_0x31fa98){const _0x4b1148=_0x3cd867;var _0x48a79c,_0x39e422;return(_0x39e422=(_0x48a79c=this[_0x4b1148(0x416)][_0x4b1148(0x2ec)](_0x36128a))==null?void 0x0:_0x48a79c[_0x4b1148(0x2ec)](_0x4b292e))==null?void 0x0:_0x39e422[_0x4b1148(0x2ec)](_0x31fa98);}['deleteUnitId'](_0x34a85e){const _0x4b61bb=_0x3cd867;this[_0x4b61bb(0x446)]['delete'](_0x34a85e),this[_0x4b61bb(0x36e)]['delete'](_0x34a85e);}[_0x3cd867(0x388)](_0x586ca4){const _0x4f92c4=_0x3cd867,_0x5987af={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4f92c4(0x36e)]['get'](_0x586ca4)&&(_0x5987af[_0x4f92c4(0x2f3)][_0x586ca4]=this[_0x4f92c4(0x36e)]['get'](_0x586ca4)),this[_0x4f92c4(0x446)][_0x4f92c4(0x2ec)](_0x586ca4)){_0x5987af[_0x4f92c4(0x293)][_0x586ca4]={};const _0x125a8f=this['_model'][_0x4f92c4(0x2ec)](_0x586ca4);_0x125a8f!=null&&_0x125a8f[_0x4f92c4(0x3d1)]&&[..._0x125a8f[_0x4f92c4(0x347)]()]['forEach'](_0x1f4ac1=>{const _0x2ec1bf=_0x4f92c4,_0x5d53db=_0x125a8f[_0x2ec1bf(0x2ec)](_0x1f4ac1);_0x5d53db!=null&&_0x5d53db[_0x2ec1bf(0x3d1)]&&(_0x5987af[_0x2ec1bf(0x293)][_0x586ca4][_0x1f4ac1]={},[..._0x5d53db[_0x2ec1bf(0x347)]()][_0x2ec1bf(0x3f1)](_0x9eedc6=>{const _0x40b638=_0x2ec1bf,_0x336431=_0x5d53db[_0x40b638(0x2ec)](_0x9eedc6);_0x336431&&(_0x5987af[_0x40b638(0x293)][_0x586ca4][_0x1f4ac1][_0x9eedc6]=_0x336431);}));});}return _0x5987af;}[_0x3cd867(0x2a9)](){const _0x38196a=_0x3cd867;this[_0x38196a(0x321)](this[_0x38196a(0x24d)][_0x38196a(0x265)]({'toJson':_0x3e5d01=>JSON['stringify'](this[_0x38196a(0x388)](_0x3e5d01)),'parseJson':_0x86232f=>({}),'businesses':[_0x264b88[_0x38196a(0x1da)]],'pluginName':ao,'onLoad':(_0x524b3c,_0x3c024a)=>{},'onUnLoad':_0x15da4b=>{const _0x564eea=_0x38196a;this[_0x564eea(0x260)](_0x15da4b);}}));}};he=Yi([at(0x0,_0x230206(_0x48fa95)),at(0x1,_0x230206(_0x518b26)),at(0x2,_0x230206(_0x27e8db)),at(0x3,_0x230206(_0x19c538)),at(0x4,_0x230206(_0x52a20c))],he);var Hi=Object[_0x3cd867(0x3ff)],qi=(_0x1de93b,_0x270e3d,_0x1cfb20,_0x137bd3)=>{const _0x51c858=_0x3cd867;for(var _0x31cafd=_0x137bd3>0x1?void 0x0:_0x137bd3?Hi(_0x270e3d,_0x1cfb20):_0x270e3d,_0x112521=_0x1de93b[_0x51c858(0x2f7)]-0x1,_0x29ee93;_0x112521>=0x0;_0x112521--)(_0x29ee93=_0x1de93b[_0x112521])&&(_0x31cafd=_0x29ee93(_0x31cafd)||_0x31cafd);return _0x31cafd;},rt=(_0x4365ea,_0x3dd930)=>(_0x19fe67,_0x26a22d)=>_0x3dd930(_0x19fe67,_0x26a22d,_0x4365ea);let Ne=class extends _0x106977{constructor(_0x519f39,_0x1f1248,_0x45c446,_0x45b614,_0x41ca05){const _0x268c72=_0x3cd867;super(),V(this,_0x268c72(0x282),new Map()),V(this,_0x268c72(0x1e0),new Map()),V(this,'_markDirty$',new _0x4062e3()),V(this,_0x268c72(0x225),this[_0x268c72(0x3b2)][_0x268c72(0x28d)]()),V(this,_0x268c72(0x42a),new _0x4062e3()),V(this,'viewUpdate$',this[_0x268c72(0x42a)][_0x268c72(0x28d)]()),V(this,_0x268c72(0x2d2)),(this[_0x268c72(0x373)]=_0x519f39,this[_0x268c72(0x231)]=_0x1f1248,this[_0x268c72(0x26b)]=_0x45c446,this[_0x268c72(0x2c2)]=_0x45b614,this[_0x268c72(0x1ec)]=_0x41ca05,this[_0x268c72(0x1cb)](),this['_initUnitDisposed']());}[_0x3cd867(0x421)](){const _0xfe0e6c=_0x3cd867;this[_0xfe0e6c(0x321)](this[_0xfe0e6c(0x2c2)][_0xfe0e6c(0x39b)](_0x264b88[_0xfe0e6c(0x1da)])[_0xfe0e6c(0x3ab)](_0x1e9617=>{const _0x150289=_0xfe0e6c;this[_0x150289(0x260)](_0x1e9617[_0x150289(0x3c7)]());}));}[_0x3cd867(0x1cb)](){const _0x1d7f54=_0x3cd867;this[_0x1d7f54(0x2d2)]=fo(this['_injector'],Bo,'',{});}[_0x3cd867(0x3bf)](_0x381117){const _0x1db5f5=_0x3cd867,{view:_0x1259a5,unitId:_0x65a934,subUnitId:_0x1f23f1,pivotTableId:_0x1086bb,type:_0x404f40}=_0x381117,_0xff8482=this[_0x1db5f5(0x26b)][_0x1db5f5(0x423)](_0x65a934,_0x1f23f1,_0x1086bb);if(!_0x1259a5||!_0xff8482||_0x404f40===$[_0x1db5f5(0x2ea)])return;const {pageView:_0x3c16c2,cornerView:_0x2ddaf1,rowView:_0x5b0f8e,colView:_0x40b73d,dataView:_0x1cb36c}=_0x1259a5,_0x2d5da9=_0xff8482[_0x1db5f5(0x2b7)],_0x23299c=_0xff8482[_0x1db5f5(0x3cd)],_0x46257d=this['_ensurePivotItemRenderValueMatrixCache'](_0x65a934,_0x1f23f1),_0x3d9b00=this['_ensurePivotItemRenderInfoCache'](_0x65a934,_0x1f23f1,_0x1086bb);if(_0x23299c)return this[_0x1db5f5(0x39c)](_0x381117,_0x46257d,_0x2d5da9,_0x3d9b00);{const _0x9d8fcf=ge(_0x2d5da9,_0x3c16c2,!0x0),_0x31aa9c=_0x3c16c2['lastRow']>=0x0?_0x3c16c2[_0x1db5f5(0x2e3)]+0x1:0x0,_0x2e9941=_0x2ddaf1[_0x1db5f5(0x3fa)](),_0x2f201f=_0x2ddaf1[_0x1db5f5(0x449)](),_0x251350=_0x9d8fcf['length']>0x0?It:0x0,_0xbc8322=ge({'row':_0x2d5da9[_0x1db5f5(0x245)]+_0x31aa9c+_0x251350,'col':_0x2d5da9['col']},_0x2ddaf1,!0x1,!0x1),_0x18dee3=ge({'row':_0x2d5da9[_0x1db5f5(0x245)]+_0x31aa9c+_0x251350+_0x2e9941,'col':_0x2d5da9[_0x1db5f5(0x398)]},_0x5b0f8e,!0x1,!0x0),_0x2c440e=ge({'row':_0x2d5da9['row']+_0x31aa9c+_0x251350,'col':_0x2d5da9['col']+_0x2f201f},_0x40b73d,!0x1,!0x0),_0x392c23=ge({'row':_0x2d5da9['row']+_0x31aa9c+_0x251350+_0x2e9941,'col':_0x2d5da9[_0x1db5f5(0x398)]+_0x2f201f},_0x1cb36c,!0x1,!0x1);_0x3d9b00[_0x1db5f5(0x383)]={'rowRanges':_0x18dee3,'colRanges':_0x2c440e,'cornerRanges':_0xbc8322,'dataRanges':_0x392c23,'pageRanges':_0x9d8fcf};const _0x35f467=yi(this[_0x1db5f5(0x231)],_0x1259a5,_0xff8482,this[_0x1db5f5(0x2d2)]),{valueMatrix:_0x161f0c,rowInfo:_0x466ab6,colInfo:_0x579d0c,cornerInfo:_0x39e82b,rowHeaderMap:_0x2dbd67,colHeaderMap:_0x3109cd}=_0x35f467;return _0x3d9b00['areaInfo']={'rowInfo':_0x466ab6,'colInfo':_0x579d0c,'cornerInfo':_0x39e82b},_0x3d9b00['headerMap']={'rowHeaderMap':_0x2dbd67,'colHeaderMap':_0x3109cd},_0x161f0c[_0x1db5f5(0x3f1)]((_0x3e983f,_0x47b410)=>{const _0x355b8f=_0x1db5f5;Object[_0x355b8f(0x347)](_0x47b410)['forEach'](_0x491518=>{const _0x29d3e1=_0x355b8f,_0x3ca26f=+_0x491518,_0x3a7bca=_0x161f0c[_0x29d3e1(0x365)](_0x3e983f,_0x3ca26f);_0x46257d[_0x29d3e1(0x2af)](_0x3e983f,_0x3ca26f,_0x3a7bca);});}),this[_0x1db5f5(0x42a)]['next']({'unitId':_0x65a934,'subUnitId':_0x1f23f1,'valueMatrix':_0x46257d,'rangesCache':_0x3d9b00[_0x1db5f5(0x383)],'pivotTableId':_0x1086bb,'type':_0x381117[_0x1db5f5(0x23c)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x65a934,_0x1f23f1,_0x1086bb,_0x46257d,_0x3d9b00['rangesInfo']),this['_exclusiveRangeService'][_0x1db5f5(0x2da)](_0x65a934,_0x1f23f1,Lt,this[_0x1db5f5(0x3a5)](_0x3d9b00[_0x1db5f5(0x383)],_0x1086bb)),{'rangeCache':_0x3d9b00['rangesInfo'],'matrix':_0x46257d};}}[_0x3cd867(0x39c)](_0x1ed891,_0x2f51f0,_0x2842da,_0x99858e){const _0x238bde=_0x3cd867,_0x33f5bf=this[_0x238bde(0x373)]['t'],{unitId:_0x1a7df3,subUnitId:_0x2f8796,pivotTableId:_0x13b7cc}=_0x1ed891,_0x3f6733={'filter':_0x33f5bf(_0x238bde(0x259)),'row':_0x33f5bf(_0x238bde(0x258)),'column':_0x33f5bf(_0x238bde(0x2fd)),'values':_0x33f5bf(_0x238bde(0x240))},{matrixCache:_0x5ba96a,rangesCache:_0x5319ae}=Go(_0x3f6733,_0x2842da);return _0x5ba96a[_0x238bde(0x34a)]((_0x528a17,_0x3713fa,_0x39aafe)=>{const _0xc5264c=_0x238bde;_0x2f51f0[_0xc5264c(0x2af)](_0x528a17,_0x3713fa,_0x39aafe);}),_0x99858e['rangesInfo']=_0x5319ae,this['_viewUpdate$']['next']({'unitId':_0x1a7df3,'subUnitId':_0x2f8796,'valueMatrix':_0x2f51f0,'rangesCache':_0x5319ae,'pivotTableId':_0x13b7cc,'type':_0x1ed891[_0x238bde(0x23c)],'isEmpty':!0x0}),this[_0x238bde(0x26b)]['updateViewInfo'](_0x1a7df3,_0x2f8796,_0x13b7cc,_0x2f51f0,_0x5319ae),this[_0x238bde(0x1ec)][_0x238bde(0x2da)](_0x1a7df3,_0x2f8796,Lt,this['_createExclusiveRange'](_0x5319ae,_0x13b7cc)),{'rangeCache':_0x99858e[_0x238bde(0x383)],'matrix':_0x2f51f0};}[_0x3cd867(0x3a5)](_0x28fec6,_0x47921d){const _0x5a97a4=_0x3cd867,_0x5f7ab5=[],_0x1b6580=$t(_0x28fec6);for(const _0x5c2612 of _0x1b6580)_0x5f7ab5[_0x5a97a4(0x1e6)]({'groupId':_0x47921d,'range':_0x5c2612});return _0x5f7ab5;}[_0x3cd867(0x237)](_0x38108d){const _0x202d80=_0x3cd867;var _0x4ed238,_0x2c476b,_0x27f672,_0x43f79c;const {pivotTableId:_0x3c5c1a,unitId:_0x3f00bd,subUnitId:_0x3bb6a7}=_0x38108d;if(!_0x3c5c1a||!_0x3f00bd||!_0x3bb6a7)return;const _0x3a54b6=this[_0x202d80(0x202)](_0x3f00bd,_0x3bb6a7),_0x5757c1=(_0x2c476b=(_0x4ed238=this[_0x202d80(0x282)][_0x202d80(0x2ec)](_0x3f00bd))==null?void 0x0:_0x4ed238[_0x202d80(0x2ec)](_0x3bb6a7))==null?void 0x0:_0x2c476b[_0x202d80(0x2ec)](_0x3c5c1a);if(_0x5757c1!=null&&_0x5757c1[_0x202d80(0x383)]){for(const _0x3d1445 of Object['keys'](_0x5757c1['rangesInfo']))_0x5757c1[_0x202d80(0x383)][_0x3d1445]['forEach'](_0xf551b7=>{const _0x751ec9=_0x202d80;for(let _0x50eaf7=_0xf551b7[_0x751ec9(0x354)];_0x50eaf7<=_0xf551b7['endRow'];_0x50eaf7++)for(let _0x21b282=_0xf551b7['startColumn'];_0x21b282<=_0xf551b7['endColumn'];_0x21b282++)_0x3a54b6['realDeleteValue'](_0x50eaf7,_0x21b282);});}_0x5757c1&&((_0x43f79c=(_0x27f672=this[_0x202d80(0x282)][_0x202d80(0x2ec)](_0x3f00bd))==null?void 0x0:_0x27f672[_0x202d80(0x2ec)](_0x3bb6a7))==null||_0x43f79c[_0x202d80(0x40a)](_0x3c5c1a)),this[_0x202d80(0x42a)][_0x202d80(0x2d0)]({'unitId':_0x3f00bd,'subUnitId':_0x3bb6a7,'valueMatrix':_0x3a54b6,'pivotTableId':_0x3c5c1a,'rangesCache':void 0x0,'type':_0x38108d['type']}),this['_exclusiveRangeService'][_0x202d80(0x305)](_0x3f00bd,_0x3bb6a7,Lt,_0x3c5c1a);}[_0x3cd867(0x3d5)](_0x133159,_0x5addcb,_0x29d1c4){const _0x2b7325=_0x3cd867;var _0x5daeba,_0x1866ca,_0x376e3b,_0x1d9067,_0x2255a4,_0x3910dc;return this['_pivotRenderInfoCache'][_0x2b7325(0x304)](_0x133159)||this[_0x2b7325(0x282)]['set'](_0x133159,new Map()),(_0x5daeba=this[_0x2b7325(0x282)][_0x2b7325(0x2ec)](_0x133159))!=null&&_0x5daeba[_0x2b7325(0x304)](_0x5addcb)||(_0x1866ca=this['_pivotRenderInfoCache'][_0x2b7325(0x2ec)](_0x133159))==null||_0x1866ca[_0x2b7325(0x241)](_0x5addcb,new Map()),(_0x1d9067=(_0x376e3b=this[_0x2b7325(0x282)]['get'](_0x133159))==null?void 0x0:_0x376e3b[_0x2b7325(0x2ec)](_0x5addcb))!=null&&_0x1d9067[_0x2b7325(0x304)](_0x29d1c4)||(_0x3910dc=(_0x2255a4=this[_0x2b7325(0x282)][_0x2b7325(0x2ec)](_0x133159))==null?void 0x0:_0x2255a4[_0x2b7325(0x2ec)](_0x5addcb))==null||_0x3910dc[_0x2b7325(0x241)](_0x29d1c4,{}),this['_pivotRenderInfoCache']['get'](_0x133159)[_0x2b7325(0x2ec)](_0x5addcb)[_0x2b7325(0x2ec)](_0x29d1c4);}[_0x3cd867(0x202)](_0x19e4d6,_0x1d10b2){const _0x2d5cf3=_0x3cd867;var _0x4fbd69,_0x5b19ed;return this[_0x2d5cf3(0x1e0)]['has'](_0x19e4d6)||this[_0x2d5cf3(0x1e0)][_0x2d5cf3(0x241)](_0x19e4d6,new Map()),(_0x4fbd69=this[_0x2d5cf3(0x1e0)][_0x2d5cf3(0x2ec)](_0x19e4d6))!=null&&_0x4fbd69[_0x2d5cf3(0x304)](_0x1d10b2)||(_0x5b19ed=this[_0x2d5cf3(0x1e0)][_0x2d5cf3(0x2ec)](_0x19e4d6))==null||_0x5b19ed[_0x2d5cf3(0x241)](_0x1d10b2,new _0xf97b68()),this[_0x2d5cf3(0x1e0)][_0x2d5cf3(0x2ec)](_0x19e4d6)[_0x2d5cf3(0x2ec)](_0x1d10b2);}[_0x3cd867(0x302)](_0x127234,_0x15c361,_0x288af6,_0x115800){const _0x69c18e=_0x3cd867;var _0x4ef5d3,_0x150ad9;const _0x20cd60=(_0x150ad9=(_0x4ef5d3=this[_0x69c18e(0x1e0)][_0x69c18e(0x2ec)](_0x127234))==null?void 0x0:_0x4ef5d3[_0x69c18e(0x2ec)](_0x15c361))==null?void 0x0:_0x150ad9['getValue'](_0x288af6,_0x115800);if(_0x20cd60!=null)return _0x20cd60;}[_0x3cd867(0x244)](_0x1c3508,_0x1906c2,_0x17282d,_0x520bf5){const _0x2a5f47=_0x3cd867;var _0x492c93;const _0x1c9e0f=_0x120a1f(_0x17282d,_0x520bf5),_0x1ae61f=(_0x492c93=this[_0x2a5f47(0x282)]['get'](_0x1c3508))==null?void 0x0:_0x492c93[_0x2a5f47(0x2ec)](_0x1906c2);return _0x1ae61f?Array[_0x2a5f47(0x329)](_0x1ae61f[_0x2a5f47(0x347)]())['find'](_0xdd266f=>{const _0x4880e9=_0x2a5f47,_0x4654bd=_0x1ae61f[_0x4880e9(0x2ec)](_0xdd266f),_0x30254a=_0x4654bd==null?void 0x0:_0x4654bd[_0x4880e9(0x383)];return _0x30254a?Object[_0x4880e9(0x347)](_0x30254a)[_0x4880e9(0x3de)](_0x5a6fdd=>_0x30254a[_0x5a6fdd]['some'](_0x5af02c=>_0x875ff4[_0x4880e9(0x400)](_0x5af02c,_0x1c9e0f))):!0x1;}):void 0x0;}[_0x3cd867(0x339)](_0xe733dd,_0x405fed,_0x57848c){const _0x2a5f6e=_0x3cd867;var _0xb0f667;const _0x3ec269=(_0xb0f667=this[_0x2a5f6e(0x282)]['get'](_0xe733dd))==null?void 0x0:_0xb0f667[_0x2a5f6e(0x2ec)](_0x405fed),_0x2009c4=[];return _0x3ec269&&Array[_0x2a5f6e(0x329)](_0x3ec269[_0x2a5f6e(0x347)]())[_0x2a5f6e(0x3f1)](_0x2daec4=>{const _0x4f8322=_0x2a5f6e,_0x27d96c=_0x3ec269[_0x4f8322(0x2ec)](_0x2daec4),_0x2b0b0c=_0x27d96c==null?void 0x0:_0x27d96c[_0x4f8322(0x383)];if(_0x2b0b0c)for(const _0x423a14 of Object[_0x4f8322(0x30c)](_0x2b0b0c)){let _0x17e1a9=!0x1;for(const _0x4171c7 of _0x423a14)if(_0x875ff4[_0x4f8322(0x38a)](_0x4171c7,_0x57848c)){_0x2009c4[_0x4f8322(0x1e6)](_0x2daec4),_0x17e1a9=!0x0;break;}if(_0x17e1a9)break;}}),_0x2009c4;}[_0x3cd867(0x1d0)](_0x42e8e9,_0x5b921b){const _0x12147f=_0x3cd867;var _0x4af3a0,_0x25df04;return(_0x25df04=(_0x4af3a0=this[_0x12147f(0x1e0)][_0x12147f(0x2ec)](_0x42e8e9))==null?void 0x0:_0x4af3a0[_0x12147f(0x2ec)](_0x5b921b))!=null?_0x25df04:new _0xf97b68();}[_0x3cd867(0x31c)](_0x4ee56b,_0x12b0cb){const _0x5e527c=_0x3cd867;var _0xb78cd0;return(_0xb78cd0=this[_0x5e527c(0x282)][_0x5e527c(0x2ec)](_0x4ee56b))==null?void 0x0:_0xb78cd0[_0x5e527c(0x2ec)](_0x12b0cb);}[_0x3cd867(0x35e)](_0x10cf5e,_0x23200f,_0x2bb107){const _0x3a3b2c=_0x3cd867;var _0x459942,_0x448cba;return(_0x448cba=(_0x459942=this[_0x3a3b2c(0x282)][_0x3a3b2c(0x2ec)](_0x10cf5e))==null?void 0x0:_0x459942['get'](_0x23200f))==null?void 0x0:_0x448cba['get'](_0x2bb107);}[_0x3cd867(0x260)](_0xa0605e){const _0xa04e0d=_0x3cd867;this['_pivotRenderInfoCache']['delete'](_0xa0605e),this[_0xa04e0d(0x1e0)][_0xa04e0d(0x40a)](_0xa0605e);}[_0x3cd867(0x2ed)](_0x274f62,_0x4de098){const _0x476a1c=_0x3cd867;this[_0x476a1c(0x3b2)][_0x476a1c(0x2d0)]({'unitId':_0x274f62,'subUnitId':_0x4de098});}};Ne=qi([rt(0x0,_0x230206(_0xb73921)),rt(0x1,_0x230206(_0x48fa95)),rt(0x2,_0x230206(he)),rt(0x3,_0x230206(_0x27e8db)),rt(0x4,_0x230206(_0x52b7e9))],Ne);var zi=Object[_0x3cd867(0x3ff)],Qi=(_0x456586,_0x2e396f,_0x31564f,_0x207f07)=>{const _0x144bbe=_0x3cd867;for(var _0x2bafa8=_0x207f07>0x1?void 0x0:_0x207f07?zi(_0x2e396f,_0x31564f):_0x2e396f,_0x464218=_0x456586[_0x144bbe(0x2f7)]-0x1,_0x1af303;_0x464218>=0x0;_0x464218--)(_0x1af303=_0x456586[_0x464218])&&(_0x2bafa8=_0x1af303(_0x2bafa8)||_0x2bafa8);return _0x2bafa8;},Mo=(_0x3a4b67,_0x570187)=>(_0x1082b7,_0x164026)=>_0x570187(_0x1082b7,_0x164026,_0x3a4b67);let ie=class extends _0x106977{constructor(_0x44a730,_0x289911){const _0x2958f4=_0x3cd867;super(),V(this,_0x2958f4(0x3fe),new _0x673bff({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0xa617db({'PIVOT_MUTATION_GENERATE':Jo})),(this[_0x2958f4(0x391)]=_0x44a730,this[_0x2958f4(0x415)]=_0x289911,this['_init']());}[_0x3cd867(0x333)](){this['_initViewModelBySheetInterceptor']();}[_0x3cd867(0x2b9)](_0x149707){const _0x37c299=_0x3cd867;return this[_0x37c299(0x3fe)][_0x37c299(0x3e1)](be)(!0x1,_0x149707);}[_0x3cd867(0x20f)](){const _0x3cef0c=_0x3cd867;this[_0x3cef0c(0x321)](this['_sheetInterceptorService']['intercept'](_0x51fc88[_0x3cef0c(0x249)],{'priority':0xc8,'effect':_0x2cafc7[_0x3cef0c(0x39f)]|_0x2cafc7[_0x3cef0c(0x3e7)],'handler':(_0xd5cac3,_0x51abb3,_0x17405e)=>{const _0x21e3a0=_0x3cef0c,{row:_0x495b49,col:_0x165f04,unitId:_0x19810c,subUnitId:_0x3fab59,workbook:_0x4e1d64}=_0x51abb3,_0xa84f37=this[_0x21e3a0(0x415)][_0x21e3a0(0x302)](_0x19810c,_0x3fab59,_0x495b49,_0x165f04);if(!_0xa84f37)return _0x17405e(_0xd5cac3);const _0x227afc={..._0xd5cac3};(_0xa84f37['v']||_0xa84f37['v']===0x0)&&(_0x227afc['v']=_0xa84f37['v']),_0xa84f37['t']&&(_0x227afc['t']=_0xa84f37['t']);const _0x4cbae3=(typeof(_0xd5cac3==null?void 0x0:_0xd5cac3['s'])=='string'?_0x4e1d64['getStyles']()[_0x21e3a0(0x2ec)](_0xd5cac3==null?void 0x0:_0xd5cac3['s']):_0xd5cac3==null?void 0x0:_0xd5cac3['s'])||{},_0x509c50=_0x4e1d64['getStyles']()['get'](_0xa84f37['s']),_0x2f3c08={..._0x509c50,..._0x4cbae3};_0x509c50!=null&&_0x509c50['n']&&(_0x2f3c08['n']=_0x509c50['n']);const _0x3f09b2=_0x4e1d64[_0x21e3a0(0x21d)]()['setValue'](_0x2f3c08);return _0x227afc['s']=_0x3f09b2,(_0xa84f37[_0x21e3a0(0x3d7)]===_0x25948f['Collapse']||_0xa84f37[_0x21e3a0(0x3d7)]===_0x25948f[_0x21e3a0(0x2f1)])&&(_0x227afc[_0x21e3a0(0x222)]={},_0x227afc[_0x21e3a0(0x222)]['leftOffset']=li),_0x17405e(_0x227afc);}}));}};ie=Qi([Mo(0x0,_0x230206(_0x14ab9d)),Mo(0x1,_0x230206(Ne))],ie);function Nt(_0x2ce162,_0x22d337){const _0x273849=_0x3cd867;switch(_0x22d337){case _0x3e27e3['Value']:return _0x2ce162[_0x273849(0x441)];case _0x3e27e3[_0x273849(0x206)]:return _0x2ce162[_0x273849(0x220)];case _0x3e27e3[_0x273849(0x41c)]:return _0x2ce162['rowFields'];case _0x3e27e3[_0x273849(0x2e0)]:return _0x2ce162[_0x273849(0x43c)];default:return[];}}function We(_0x4b4064,_0x47e766){const _0x3482e7=_0x3cd867;return _0x4b4064[_0x3482e7(0x3d3)][_0x47e766]||_0x4b4064[_0x3482e7(0x295)][_0x47e766];}function Xi(_0x208c52,_0x55ae8b){const _0x33a1df=_0x3cd867,{area:_0x26564f,fieldJson:_0x2ae947,index:_0x588c38}=_0x55ae8b;_0x26564f===_0x3e27e3[_0x33a1df(0x39f)]?_0x208c52[_0x33a1df(0x3d3)][_0x2ae947['id']]=_0x2ae947:_0x208c52[_0x33a1df(0x295)][_0x2ae947['id']]=_0x2ae947,Nt(_0x208c52,_0x26564f)['splice'](_0x588c38,0x0,_0x2ae947['id']);}function Zi(_0x2eb437,_0x3ed9f5){const _0x868899=_0x3cd867,{area:_0x44063e,fieldId:_0x55b97b,index:_0x3f4d99}=_0x3ed9f5;_0x44063e===_0x3e27e3['Value']?delete _0x2eb437[_0x868899(0x3d3)][_0x55b97b]:delete _0x2eb437[_0x868899(0x295)][_0x55b97b],Nt(_0x2eb437,_0x44063e)[_0x868899(0x3b3)](_0x3f4d99,0x1);}function es(_0x1546ed,_0x1a5c51){const _0x4c38b5=_0x3cd867,{fieldId:_0x9314c2,name:_0x26a617}=_0x1a5c51,_0x530d95=We(_0x1546ed,_0x9314c2);_0x530d95&&(_0x530d95[_0x4c38b5(0x31f)]=_0x26a617);}function ts(_0x55118e,_0x4c7b4c){const _0x1148e1=_0x3cd867,{fieldId:_0x4d1ff7,collapse:_0x133b32,item:_0x486997}=_0x4c7b4c;_0x486997!==void 0x0?(_0x55118e[_0x1148e1(0x3ea)][_0x4d1ff7]=_0x55118e[_0x1148e1(0x3ea)][_0x4d1ff7]||{},_0x55118e[_0x1148e1(0x3ea)][_0x4d1ff7][_0x486997]=_0x133b32):_0x55118e[_0x1148e1(0x3ea)][_0x4d1ff7]=_0x133b32;}function os(_0x14fd5f,_0x33410b){const _0x3b4881=_0x3cd867,{fieldId:_0x92f14b,format:_0x111936}=_0x33410b,_0x5798db=We(_0x14fd5f,_0x92f14b);_0x5798db&&(_0x5798db[_0x3b4881(0x2d4)]=_0x111936);}function ns(_0x12d795,_0x129c5b){const _0x33f0fa=_0x3cd867,{fieldId:_0xdd7106,filterInfo:_0x1750f9}=_0x129c5b,_0x20a5ff=We(_0x12d795,_0xdd7106);_0x20a5ff&&(_0x20a5ff[_0x33f0fa(0x29e)]=_0x1750f9);}function is(_0x3df921,_0xcef9d2){const _0x46f700=_0x3cd867,{fieldId:_0x21604f,filterInfo:_0x5ee6c2}=_0xcef9d2,_0x15e00b=_0x3df921[_0x46f700(0x20b)][_0x46f700(0x3ca)](_0x43de26=>_0x43de26['fieldId']!==_0x21604f);_0x5ee6c2&&_0x15e00b['push']({'fieldId':_0x21604f,'filterInfo':_0x5ee6c2}),_0x3df921[_0x46f700(0x20b)]=_0x15e00b;}function ss(_0x4d81fc,_0x1abe48){const _0x296a06=_0x3cd867,{fieldId:_0x1799dd,subtotalType:_0x3abca3}=_0x1abe48,_0x4bd8a7=We(_0x4d81fc,_0x1799dd);_0x4bd8a7&&(_0x4bd8a7[_0x296a06(0x392)]=_0x3abca3);}function as(_0x4b64c5,_0x390e6f){const _0x35b376=_0x3cd867,{fieldId:_0x25a2ac,oldArea:_0x5018c2,area:_0x2d77a4,oldIndex:_0x1dea11,index:_0x475325}=_0x390e6f,_0x332038=_0x5018c2!==_0x3e27e3[_0x35b376(0x39f)]&&_0x2d77a4===_0x3e27e3[_0x35b376(0x39f)],_0x309cd6=_0x5018c2===_0x3e27e3['Value']&&_0x2d77a4!==_0x3e27e3['Value'];if(_0x332038||_0x309cd6){const _0x37d9f3=We(_0x4b64c5,_0x25a2ac);_0x37d9f3&&(_0x332038?(delete _0x4b64c5[_0x35b376(0x295)][_0x25a2ac],_0x4b64c5[_0x35b376(0x3d3)][_0x25a2ac]=_0x37d9f3):(delete _0x4b64c5['measure'][_0x25a2ac],_0x4b64c5[_0x35b376(0x295)][_0x25a2ac]=_0x37d9f3));}const _0x11c400=Nt(_0x4b64c5,_0x5018c2),_0x2d1539=Nt(_0x4b64c5,_0x2d77a4);_0x11c400[_0x35b376(0x3b3)](_0x1dea11,0x1),_0x2d1539[_0x35b376(0x3b3)](_0x475325,0x0,_0x25a2ac);}function rs(_0x3fc7a6,_0x263882){const _0x1cb150=_0x3cd867,{valuePosition:_0x4aedcf,index:_0x4dad91}=_0x263882;_0x3fc7a6[_0x1cb150(0x292)]=_0x4aedcf,_0x3fc7a6[_0x1cb150(0x3fb)]=_0x4dad91;}function ls(_0x301cbe,_0x25cac2){const _0x45647b=_0x3cd867,{tableFieldId:_0x2b9dc1,sourceName:_0x35e0a0,dataFieldId:_0x58cb68}=_0x25cac2,_0x53a4d8=We(_0x301cbe,_0x2b9dc1);_0x53a4d8&&(_0x53a4d8[_0x45647b(0x395)]=_0x35e0a0,_0x53a4d8['dataFieldId']=_0x58cb68);}function cs(_0x1fa5cc,_0x1478f8){const {fieldId:_0x371248,sortInfo:_0x307db8}=_0x1478f8,_0x4c7b89=We(_0x1fa5cc,_0x371248);_0x4c7b89&&(_0x4c7b89['sortInfo']=_0x307db8);}function ds(_0x4f544e,_0x4b3751){const _0x4c4388=_0x3cd867,{options:_0xddcb5d}=_0x4b3751;_0x4f544e[_0x4c4388(0x422)]={..._0x4f544e[_0x4c4388(0x422)],..._0xddcb5d};}const Jt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x42e),'handler'(_0x730297,_0xbcfe58){const _0x5ef22b=_0x3cd867;if(!_0xbcfe58)return!0x1;if(!!_0x730297[_0x5ef22b(0x2ec)](_0x52a20c)[_0x5ef22b(0x37f)](H))return!0x0;const _0x54107e=_0x730297[_0x5ef22b(0x2ec)](J),{pivotTableId:_0x59a9a1,fieldJson:_0x5c4993,area:_0x252443,index:_0x359f06,unitId:_0x4b8c53,subUnitId:_0x4a0ccf}=_0xbcfe58,_0x3b8c54=_0x54107e[_0x5ef22b(0x2bb)](_0x59a9a1);if(!_0x3b8c54)return!0x1;let _0x56a832;_0x252443===_0x3e27e3['Value']?_0x56a832=_0x3e122a(_0x5c4993):_0x56a832=_0x525a98(_0x5c4993),_0x3b8c54['addField'](_0x56a832,_0x252443,_0x359f06);const _0x2de679=_0x54107e['getPivotTableModelConfig'](_0x4b8c53,_0x4a0ccf,_0x59a9a1);Xi(_0x2de679,_0xbcfe58);const _0x2c928c=_0x54107e['getPivotTableConfig'](_0x4b8c53,_0x4a0ccf,_0x59a9a1);return _0x54107e[_0x5ef22b(0x324)]({'unitId':_0x4b8c53,'subUnitId':_0x4a0ccf,'token':_0x59a9a1,'type':$[_0x5ef22b(0x2b3)],'pivotConfig':_0x2c928c}),!0x0;}},Wt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.mutation.remove-pivot-field','handler'(_0xab49bb,_0x45287e){const _0xb98e3f=_0x3cd867;if(!_0x45287e)return!0x1;if(!!_0xab49bb[_0xb98e3f(0x2ec)](_0x52a20c)[_0xb98e3f(0x37f)](H))return!0x0;const _0xe6f5da=_0xab49bb[_0xb98e3f(0x2ec)](J),{pivotTableId:_0x10a754,fieldId:_0x590f39,unitId:_0x1811d3,subUnitId:_0x252f7e}=_0x45287e,_0x4c5463=_0xe6f5da[_0xb98e3f(0x2bb)](_0x10a754);if(!_0x4c5463)return!0x1;_0x4c5463[_0xb98e3f(0x429)](_0x590f39);const _0x55aecb=_0xe6f5da[_0xb98e3f(0x377)](_0x1811d3,_0x252f7e,_0x10a754);Zi(_0x55aecb,_0x45287e);const _0x57d51f=_0xe6f5da[_0xb98e3f(0x423)](_0x1811d3,_0x252f7e,_0x10a754);return _0xe6f5da[_0xb98e3f(0x324)]({'unitId':_0x1811d3,'subUnitId':_0x252f7e,'token':_0x10a754,'type':$['Set'],'pivotConfig':_0x57d51f}),!0x0;}},jt={'type':_0x502ab6['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x99da28,_0x22a0fd){const _0x18598c=_0x3cd867;if(!_0x22a0fd)return!0x1;if(!!_0x99da28['get'](_0x52a20c)[_0x18598c(0x37f)](H))return!0x0;const _0xfa0691=_0x99da28['get'](J),{unitId:_0x5db522,subUnitId:_0x2f78c8,pivotTableId:_0x13f585,fieldId:_0x3cad4a,name:_0x44670c}=_0x22a0fd,_0x1583d7=_0xfa0691[_0x18598c(0x2bb)](_0x13f585);if(!_0x1583d7)return!0x1;_0x1583d7['renameField'](_0x3cad4a,_0x44670c);const _0x4bbab0=_0xfa0691['getPivotTableModelConfig'](_0x5db522,_0x2f78c8,_0x13f585);return es(_0x4bbab0,_0x22a0fd),_0xfa0691[_0x18598c(0x324)]({'unitId':_0x5db522,'subUnitId':_0x2f78c8,'token':_0x13f585,'type':$[_0x18598c(0x2b3)]}),!0x0;}},Gt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x1e4),'handler'(_0x559819,_0x595fe3){const _0x12b4db=_0x3cd867;if(!_0x595fe3)return!0x1;if(!!_0x559819[_0x12b4db(0x2ec)](_0x52a20c)[_0x12b4db(0x37f)](H))return!0x0;const _0x21f2ea=_0x559819[_0x12b4db(0x2ec)](J),{unitId:_0x49987d,subUnitId:_0x2340bc,pivotTableId:_0x4cc02a,fieldId:_0x1e864e,collapse:_0x1f4e52,item:_0x176ad2}=_0x595fe3,_0x56acfc=_0x21f2ea[_0x12b4db(0x2bb)](_0x4cc02a);if(!_0x56acfc)return!0x1;_0x56acfc[_0x12b4db(0x239)](_0x1e864e,_0x1f4e52,_0x176ad2);const _0x1b0c56=_0x21f2ea['getPivotTableModelConfig'](_0x49987d,_0x2340bc,_0x4cc02a);return ts(_0x1b0c56,_0x595fe3),_0x21f2ea[_0x12b4db(0x324)]({'unitId':_0x49987d,'subUnitId':_0x2340bc,'token':_0x4cc02a,'type':$[_0x12b4db(0x2b3)]}),!0x0;}},Kt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x2c3),'handler'(_0x2c4d07,_0x29a6d8){const _0x25271f=_0x3cd867;if(!_0x29a6d8)return!0x1;if(!!_0x2c4d07[_0x25271f(0x2ec)](_0x52a20c)[_0x25271f(0x37f)](H))return!0x0;const _0x54cbd4=_0x2c4d07[_0x25271f(0x2ec)](J),{unitId:_0x74d5b3,subUnitId:_0x3c762a,pivotTableId:_0x2aa529,fieldId:_0x5ce001,format:_0x2aa071}=_0x29a6d8,_0x20c57c=_0x54cbd4[_0x25271f(0x2bb)](_0x2aa529);if(!_0x20c57c)return!0x1;_0x20c57c[_0x25271f(0x436)](_0x5ce001,_0x2aa071);const _0x529f3c=_0x54cbd4['getPivotTableModelConfig'](_0x74d5b3,_0x3c762a,_0x2aa529);return os(_0x529f3c,_0x29a6d8),_0x54cbd4[_0x25271f(0x324)]({'unitId':_0x74d5b3,'subUnitId':_0x3c762a,'token':_0x2aa529,'type':$[_0x25271f(0x2b3)]}),!0x0;}},Yt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x2a2),'handler'(_0x29585b,_0x22e057){const _0x1f18c3=_0x3cd867;if(!_0x22e057)return!0x1;if(!!_0x29585b[_0x1f18c3(0x2ec)](_0x52a20c)[_0x1f18c3(0x37f)](H))return!0x0;const _0x4201f8=_0x29585b[_0x1f18c3(0x2ec)](J),{unitId:_0x342427,subUnitId:_0x33b4dc,pivotTableId:_0x16ff66,fieldId:_0x39bbee,filterInfo:_0x1c7737}=_0x22e057,_0x373f0c=_0x4201f8[_0x1f18c3(0x2bb)](_0x16ff66);if(!_0x373f0c)return!0x1;_0x373f0c['setLabelFilterInfo'](_0x39bbee,_0x1c7737);const _0x2921ba=_0x4201f8['getPivotTableModelConfig'](_0x342427,_0x33b4dc,_0x16ff66);return ns(_0x2921ba,_0x22e057),_0x4201f8[_0x1f18c3(0x324)]({'unitId':_0x342427,'subUnitId':_0x33b4dc,'token':_0x16ff66,'type':$[_0x1f18c3(0x2b3)]}),!0x0;}},Ht={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x357),'handler'(_0x17552c,_0x174019){const _0x222476=_0x3cd867;if(!_0x174019)return!0x1;if(!!_0x17552c[_0x222476(0x2ec)](_0x52a20c)[_0x222476(0x37f)](H))return!0x0;const _0x4fbed0=_0x17552c['get'](J),{unitId:_0xf59cbe,subUnitId:_0x2136ae,pivotTableId:_0x388b7e,options:_0x3ad9e2}=_0x174019,_0x34cfe5=_0x4fbed0[_0x222476(0x2bb)](_0x388b7e);if(!_0x34cfe5)return!0x1;_0x34cfe5['setOptions'](_0x3ad9e2);const _0x1c3dd2=_0x4fbed0['getPivotTableModelConfig'](_0xf59cbe,_0x2136ae,_0x388b7e);return ds(_0x1c3dd2,_0x174019),_0x4fbed0[_0x222476(0x324)]({'unitId':_0xf59cbe,'subUnitId':_0x2136ae,'token':_0x388b7e,'type':$[_0x222476(0x2b3)]}),!0x0;}},qt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x448),'handler'(_0x328ce2,_0x4b594c){const _0x18afab=_0x3cd867;if(!_0x4b594c)return!0x1;if(!!_0x328ce2[_0x18afab(0x2ec)](_0x52a20c)[_0x18afab(0x37f)](H))return!0x0;const _0x1a24fb=_0x328ce2[_0x18afab(0x2ec)](J),{unitId:_0x29f260,subUnitId:_0xc7dc8a,pivotTableId:_0x50cc1c,sortInfo:_0x18d921,fieldId:_0x1e20d5}=_0x4b594c,_0x4ac603=_0x1a24fb[_0x18afab(0x2bb)](_0x50cc1c);if(!_0x4ac603)return!0x1;_0x4ac603[_0x18afab(0x261)](_0x1e20d5,_0x18d921);const _0x1e35eb=_0x1a24fb[_0x18afab(0x377)](_0x29f260,_0xc7dc8a,_0x50cc1c);return cs(_0x1e35eb,_0x4b594c),_0x1a24fb[_0x18afab(0x324)]({'unitId':_0x29f260,'subUnitId':_0xc7dc8a,'token':_0x50cc1c,'type':$['Set']}),!0x0;}},zt={'type':_0x502ab6['MUTATION'],'id':_0x3cd867(0x439),'handler'(_0x450d52,_0x1f99bc){const _0x2582dd=_0x3cd867;if(!_0x1f99bc)return!0x1;if(!!_0x450d52[_0x2582dd(0x2ec)](_0x52a20c)[_0x2582dd(0x37f)](H))return!0x0;const _0x2d1985=_0x450d52[_0x2582dd(0x2ec)](J),{unitId:_0x3be826,subUnitId:_0x516b02,pivotTableId:_0x2c8066,fieldId:_0x533d00,subtotalType:_0x1b1ac5}=_0x1f99bc,_0x215fe2=_0x2d1985[_0x2582dd(0x2bb)](_0x2c8066);if(!_0x215fe2)return!0x1;_0x215fe2[_0x2582dd(0x205)](_0x533d00,_0x1b1ac5);const _0x379ab2=_0x2d1985[_0x2582dd(0x377)](_0x3be826,_0x516b02,_0x2c8066);return ss(_0x379ab2,_0x1f99bc),_0x2d1985['addDirtyPivotTable']({'unitId':_0x3be826,'subUnitId':_0x516b02,'token':_0x2c8066,'type':$[_0x2582dd(0x2b3)]}),!0x0;}},Qt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x386),'handler'(_0x1b9020,_0xdf822b){const _0x5543c9=_0x3cd867;if(!_0xdf822b)return!0x1;if(!!_0x1b9020[_0x5543c9(0x2ec)](_0x52a20c)[_0x5543c9(0x37f)](H))return!0x0;const _0x1c29c5=_0x1b9020[_0x5543c9(0x2ec)](J),{unitId:_0x335c4f,subUnitId:_0x1b5ec7,pivotTableId:_0x606886,fieldId:_0x380377,filterInfo:_0x874d50}=_0xdf822b,_0x57a4a1=_0x1c29c5[_0x5543c9(0x2bb)](_0x606886);if(!_0x57a4a1)return!0x1;_0x57a4a1[_0x5543c9(0x1ef)](_0x380377,_0x874d50);const _0x1547a1=_0x1c29c5[_0x5543c9(0x377)](_0x335c4f,_0x1b5ec7,_0x606886);return is(_0x1547a1,_0xdf822b),_0x1c29c5['addDirtyPivotTable']({'unitId':_0x335c4f,'subUnitId':_0x1b5ec7,'token':_0x606886,'type':$[_0x5543c9(0x2b3)]}),!0x0;}},Xt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x332),'handler'(_0x4ac726,_0x4ba708){const _0x384e08=_0x3cd867;if(!_0x4ba708)return!0x1;if(!!_0x4ac726[_0x384e08(0x2ec)](_0x52a20c)[_0x384e08(0x37f)](H))return!0x0;const _0x4f14bf=_0x4ac726[_0x384e08(0x2ec)](J),{unitId:_0x50c4c7,subUnitId:_0x15663d,pivotTableId:_0x5b5317,area:_0x4ec795,index:_0x5db35c,fieldId:_0x1a643b}=_0x4ba708,_0x49bf9c=_0x4f14bf[_0x384e08(0x2bb)](_0x5b5317);if(!_0x49bf9c)return!0x1;_0x49bf9c[_0x384e08(0x1e2)](_0x1a643b,_0x4ec795,_0x5db35c);const _0x2da29b=_0x4f14bf[_0x384e08(0x377)](_0x50c4c7,_0x15663d,_0x5b5317);return as(_0x2da29b,_0x4ba708),_0x4f14bf[_0x384e08(0x324)]({'unitId':_0x50c4c7,'subUnitId':_0x15663d,'token':_0x5b5317,'type':$['Set']}),!0x0;}},Zt={'type':_0x502ab6['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x518272,_0x19da2e){const _0x296959=_0x3cd867;if(!_0x19da2e)return!0x1;if(!!_0x518272[_0x296959(0x2ec)](_0x52a20c)[_0x296959(0x37f)](H))return!0x0;const _0x1b2710=_0x518272[_0x296959(0x2ec)](J),{unitId:_0x60e548,subUnitId:_0x4bc482,pivotTableId:_0x4b5587,sourceName:_0x5cc298,dataFieldId:_0x4f6eb0,tableFieldId:_0xe0b93c}=_0x19da2e,_0x4ae8bd=_0x1b2710[_0x296959(0x2bb)](_0x4b5587);if(!_0x4ae8bd)return!0x1;_0x4ae8bd[_0x296959(0x2e5)](_0xe0b93c,_0x5cc298,_0x4f6eb0);const _0x20de38=_0x1b2710['getPivotTableModelConfig'](_0x60e548,_0x4bc482,_0x4b5587);return ls(_0x20de38,_0x19da2e),_0x1b2710[_0x296959(0x324)]({'unitId':_0x60e548,'subUnitId':_0x4bc482,'token':_0x4b5587,'type':$[_0x296959(0x2b3)]}),!0x0;}},eo={'type':_0x502ab6['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x1ab6d1,_0x42758a){const _0x37669d=_0x3cd867;if(!_0x42758a)return!0x1;if(!!_0x1ab6d1[_0x37669d(0x2ec)](_0x52a20c)[_0x37669d(0x37f)](H))return!0x0;const _0x2df94b=_0x1ab6d1[_0x37669d(0x2ec)](J),{unitId:_0x17de30,subUnitId:_0x37f927,pivotTableId:_0x445e4a,valuePosition:_0x4590f2,index:_0x5023c4}=_0x42758a,_0x8d22f1=_0x2df94b['getPivotTableInstance'](_0x445e4a);if(!_0x8d22f1)return!0x1;_0x8d22f1[_0x37669d(0x2f0)](_0x4590f2,_0x5023c4);const _0x57ae9e=_0x2df94b[_0x37669d(0x377)](_0x17de30,_0x37f927,_0x445e4a);return rs(_0x57ae9e,_0x42758a),_0x2df94b[_0x37669d(0x324)]({'unitId':_0x17de30,'subUnitId':_0x37f927,'token':_0x445e4a,'type':$['Set']}),!0x0;}};function me(_0x5df477,_0x52ba9a,_0x23f565){const _0x1ed51b=_0x3cd867,{pivotTableId:_0x3b6ede,unitId:_0x1af45c,subUnitId:_0x5b8a03}=_0x52ba9a,_0x494f6e=[],_0x5c1f09=[];for(const _0x19d674 of _0x23f565)switch(_0x19d674['type']){case _0x3edc6f[_0x1ed51b(0x219)]:{const {fieldJson:_0x129111,area:_0x1e9951,index:_0x4abd56}=_0x19d674,_0x4dcf8e={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldJson':_0x129111,'area':_0x1e9951,'index':_0x4abd56},_0x9d261={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x129111['id'],'area':_0x1e9951,'index':_0x4abd56};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Jt['id'],'params':_0x4dcf8e}),_0x5c1f09[_0x1ed51b(0x323)]({'id':Wt['id'],'params':_0x9d261});}break;case _0x3edc6f[_0x1ed51b(0x442)]:{const {fieldId:_0x4eb06f,newSubtotalType:_0x4ca50d,oldSubtotalType:_0x48bc5c}=_0x19d674,_0x5c737d={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x4eb06f,'subtotalType':_0x4ca50d};_0x494f6e[_0x1ed51b(0x1e6)]({'id':zt['id'],'params':_0x5c737d});const _0x1a3479={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x4eb06f,'subtotalType':_0x48bc5c};_0x5c1f09[_0x1ed51b(0x323)]({'id':zt['id'],'params':_0x1a3479});}break;case _0x3edc6f[_0x1ed51b(0x211)]:{const {fieldId:_0x4b10da,fieldJson:_0x3c361a,area:_0x3b0259,index:_0x9f7fcb}=_0x19d674,_0x1b17f5={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x4b10da,'index':_0x9f7fcb,'area':_0x3b0259};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Wt['id'],'params':_0x1b17f5});const _0x51fb94={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldJson':_0x3c361a,'area':_0x3b0259,'index':_0x9f7fcb};_0x5c1f09[_0x1ed51b(0x323)]({'id':Jt['id'],'params':_0x51fb94});}break;case _0x3edc6f[_0x1ed51b(0x2fc)]:{const {fieldId:_0x438ebb,oldName:_0x36940c,newName:_0x28bf06}=_0x19d674,_0x2240f6={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x438ebb,'name':_0x28bf06};_0x494f6e[_0x1ed51b(0x1e6)]({'id':jt['id'],'params':_0x2240f6});const _0x228626={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x438ebb,'name':_0x36940c};_0x5c1f09[_0x1ed51b(0x323)]({'id':jt['id'],'params':_0x228626});}break;case _0x3edc6f['SetFilterInfo']:{const {fieldId:_0x11f777,oldFilterInfo:_0x2be75f,newFilterInfo:_0xbd6bcc}=_0x19d674,_0x5d0e56={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x11f777,'filterInfo':_0xbd6bcc};_0x494f6e['push']({'id':Yt['id'],'params':_0x5d0e56});const _0x43189e={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x11f777,'filterInfo':_0x2be75f};_0x5c1f09[_0x1ed51b(0x323)]({'id':Yt['id'],'params':_0x43189e});}break;case _0x3edc6f[_0x1ed51b(0x41f)]:{const {fieldId:_0x58fb41,oldSortInfo:_0x3de454,newSortInfo:_0x37c3d7}=_0x19d674,_0x4bc4b5={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x58fb41,'sortInfo':_0x37c3d7};_0x494f6e['push']({'id':qt['id'],'params':_0x4bc4b5});const _0x51f505={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x58fb41,'sortInfo':_0x3de454};_0x5c1f09[_0x1ed51b(0x323)]({'id':qt['id'],'params':_0x51f505});}break;case _0x3edc6f['SetOptions']:{const {oldOptions:_0x443f01,newOptions:_0x4d36d6}=_0x19d674,_0x3748ce={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'options':_0x4d36d6};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Ht['id'],'params':_0x3748ce});const _0x230bcc={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'options':_0x443f01};_0x5c1f09['unshift']({'id':Ht['id'],'params':_0x230bcc});}break;case _0x3edc6f[_0x1ed51b(0x312)]:{const {oldArea:_0x37d8e0,newArea:_0x5d7f02,oldIndex:_0x511836,newIndex:_0x21f65f,fieldId:_0x1a2d9c}=_0x19d674,_0x564054={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x1a2d9c,'area':_0x5d7f02,'index':_0x21f65f,'oldArea':_0x37d8e0,'oldIndex':_0x511836};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Xt['id'],'params':_0x564054});const _0x2dace9={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x1a2d9c,'area':_0x37d8e0,'index':_0x511836,'oldArea':_0x5d7f02,'oldIndex':_0x21f65f};_0x5c1f09[_0x1ed51b(0x323)]({'id':Xt['id'],'params':_0x2dace9});}break;case _0x3edc6f['UpdateValuePosition']:{const {oldValuePosition:_0x5519b1,newValuePosition:_0x185caa,oldIndex:_0x4ec451,newIndex:_0x48ddcc}=_0x19d674,_0x5bf84c={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'valuePosition':_0x185caa,'index':_0x48ddcc};_0x494f6e[_0x1ed51b(0x1e6)]({'id':eo['id'],'params':_0x5bf84c});const _0x1d2252={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'valuePosition':_0x5519b1,'index':_0x4ec451};_0x5c1f09[_0x1ed51b(0x323)]({'id':eo['id'],'params':_0x1d2252});}break;case _0x3edc6f[_0x1ed51b(0x2ab)]:{const {fieldId:_0x5efd34,collapse:_0x40ebfc,item:_0x330ea0}=_0x19d674,_0x4d48e8={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x5efd34,'collapse':_0x40ebfc,'item':_0x330ea0};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Gt['id'],'params':_0x4d48e8});const _0x350638={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x5efd34,'collapse':!_0x40ebfc,'item':_0x330ea0};_0x5c1f09[_0x1ed51b(0x323)]({'id':Gt['id'],'params':_0x350638});}break;case _0x3edc6f[_0x1ed51b(0x362)]:{const {newFormat:_0x57a8fa,oldFormat:_0x1b0a03,fieldId:_0x45f87}=_0x19d674,_0x3df228={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x45f87,'format':_0x57a8fa};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Kt['id'],'params':_0x3df228});const _0x5bfea8={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x45f87,'format':_0x1b0a03};_0x5c1f09['unshift']({'id':Kt['id'],'params':_0x5bfea8});}break;case _0x3edc6f[_0x1ed51b(0x40c)]:{const {tableFieldId:_0xc1e04d,oldSourceName:_0x382c8f,newSourceName:_0x4c49ad,oldDataFieldId:_0x3a15f0,newDataFieldId:_0x5a9542}=_0x19d674,_0x290a71={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'tableFieldId':_0xc1e04d,'sourceName':_0x4c49ad,'dataFieldId':_0x5a9542};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Zt['id'],'params':_0x290a71});const _0x20e9b2={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'tableFieldId':_0xc1e04d,'sourceName':_0x382c8f,'dataFieldId':_0x3a15f0};_0x5c1f09[_0x1ed51b(0x323)]({'id':Zt['id'],'params':_0x20e9b2});}break;case _0x3edc6f['SetValueFilter']:{const {fieldId:_0x30ced8,filterInfo:_0x4e517b,oldFilterInfo:_0x28d10e}=_0x19d674,_0x32dac3={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x30ced8,'filterInfo':_0x4e517b};_0x494f6e[_0x1ed51b(0x1e6)]({'id':Qt['id'],'params':_0x32dac3});const _0x31cdd1={'unitId':_0x1af45c,'subUnitId':_0x5b8a03,'pivotTableId':_0x3b6ede,'fieldId':_0x30ced8,'filterInfo':_0x28d10e};_0x5c1f09[_0x1ed51b(0x323)]({'id':Qt['id'],'params':_0x31cdd1});}}return{'redos':_0x494f6e,'undos':_0x5c1f09};}function _e(_0x87d7da,_0x52d01c){const _0x4cb05a=_0x3cd867;var _0x481602;const _0x1bcea3=_0x87d7da[_0x4cb05a(0x2ec)](ie),{cellInfo:_0x3aaf80,view:_0x45e5a8,isEmpty:_0x371593}=_0x52d01c;return(_0x481602=_0x1bcea3[_0x4cb05a(0x207)][_0x4cb05a(0x1f9)](Jo)(Po,{'cellInfo':_0x3aaf80,'view':_0x45e5a8,'isEmpty':_0x371593}))!=null?_0x481602:Po;}const us=()=>typeof process<'u'&&process[_0x3cd867(0x268)]!=null&&process[_0x3cd867(0x268)][_0x3cd867(0x42d)]!=null,Ct={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.mutation.add-pivot-table','handler'(_0x9211d2,_0x455057){const _0x48e670=_0x3cd867;var _0x3ae86c;if(!_0x455057)return!0x1;const _0x5a5e20=_0x9211d2[_0x48e670(0x2ec)](_0x52a20c);if(!!_0x5a5e20[_0x48e670(0x37f)](H))return!0x0;const _0x19de3f=_0x9211d2['get'](_0x27e8db),_0x28e157=_0x9211d2[_0x48e670(0x2ec)](J),{pivotTableId:_0x1eaf5a,pivotTableConfig:_0x1f8e02,collectionConfig:_0x2a8264,unitId:_0x4cc0b,subUnitId:_0x1d07d7}=_0x455057,{sourceRangeInfo:_0x273208,fieldsConfig:_0x464028,targetCellInfo:_0x7884e9}=_0x1f8e02,_0x1dac79=_0x19de3f['getUnit'](_0x4cc0b);if(!_0x1dac79||!_0x1dac79[_0x48e670(0x397)](_0x1d07d7))return!0x1;if(!us()){let _0xf7129a=0x0;_0x1dac79['getSheets']()[_0x48e670(0x3f1)](_0x21cb81=>{const _0x226b76=_0x48e670;var _0x1008a4,_0x1b7254;_0xf7129a+=(_0x1b7254=(_0x1008a4=_0x28e157[_0x226b76(0x325)](_0x4cc0b,_0x21cb81[_0x226b76(0x238)]()))==null?void 0x0:_0x1008a4[_0x226b76(0x3d1)])!=null?_0x1b7254:0x0;});const _0xc57969=(_0x3ae86c=_0x5a5e20[_0x48e670(0x37f)](_0x14f8c8))!=null?_0x3ae86c:{},{ls:_0x2a2bbd,pbk:_0x5b3d0f}=_0xc57969;if(!Ko(_0x2a2bbd,_0x5b3d0f))throw new _0x1678c7(_0x48e670(0x3f0));const _0x106774=go(so,_0x2a2bbd,_0x5b3d0f)[_0x48e670(0x1fc)];if(_0xf7129a>=_0x106774)throw new _0x1678c7(_0x48e670(0x3f0));}if(!_0x2a8264||!_0x464028)return!0x1;const {collection:_0x5b3ffc,updateDataFieldList:_0x23662d}=_0x28e157[_0x48e670(0x29a)](_0x1eaf5a,_0x2a8264,_0x273208,_0x7884e9);_0x28e157[_0x48e670(0x3e0)](_0x5b3ffc,_0x23662d,_0x273208);const _0x55683c=new _0x5ca8f0(_0x5b3ffc,void 0x0,_0x1eaf5a);_0x55683c[_0x48e670(0x30d)](_0x464028);const _0x13569e=JSON[_0x48e670(0x40e)](JSON[_0x48e670(0x2f8)](_0x1f8e02));return _0x28e157[_0x48e670(0x3bd)](_0x4cc0b,_0x1d07d7,_0x1eaf5a,_0x55683c,_0x13569e),_0x28e157[_0x48e670(0x324)]({'unitId':_0x4cc0b,'subUnitId':_0x1d07d7,'token':_0x1eaf5a,'type':$[_0x48e670(0x2e9)],'pivotConfig':_0x13569e}),!0x0;}},Et={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x2e4),'handler'(_0x1ed1bc,_0x26a730){const _0x17b8db=_0x3cd867;if(!_0x26a730)return!0x1;if(!!_0x1ed1bc[_0x17b8db(0x2ec)](_0x52a20c)['getConfig'](H))return!0x0;const {pivotTableId:_0x38bf37,unitId:_0x3ed480,subUnitId:_0x38219f}=_0x26a730,_0x24f77d=_0x1ed1bc[_0x17b8db(0x2ec)](J);return _0x24f77d[_0x17b8db(0x423)](_0x3ed480,_0x38219f,_0x38bf37)?(_0x24f77d[_0x17b8db(0x324)]({'unitId':_0x3ed480,'subUnitId':_0x38219f,'token':_0x38bf37,'type':$[_0x17b8db(0x2ea)]}),_0x24f77d[_0x17b8db(0x25b)](_0x3ed480,_0x38219f,_0x38bf37),!0x0):!0x1;}},pt={'type':_0x502ab6[_0x3cd867(0x41b)],'id':_0x3cd867(0x417),'handler'(_0x42f8e0,_0x4be60f){const _0x328187=_0x3cd867;if(!_0x4be60f)return!0x1;if(!!_0x42f8e0[_0x328187(0x2ec)](_0x52a20c)['getConfig'](H))return!0x0;const {pivotTableId:_0x4058a1,targetCellPosition:_0x2d7541,unitId:_0x473eb9,subUnitId:_0x4ae5b3}=_0x4be60f,_0x42d277=_0x42f8e0['get'](J);if(!_0x42d277[_0x328187(0x2bb)](_0x4be60f[_0x328187(0x3c6)]))return!0x1;const _0x5c8c7b=_0x42d277[_0x328187(0x412)](_0x4058a1);if(!_0x5c8c7b)return!0x1;const _0x2bcff0=_0x42d277['getCollection'](_0x5c8c7b[_0x328187(0x2df)],_0x4be60f[_0x328187(0x3c6)]);if(!_0x2bcff0)return!0x1;const _0xa5e7eb=_0x42d277['getPivotTableConfig'](_0x5c8c7b[_0x328187(0x2df)],_0x5c8c7b[_0x328187(0x2a5)],_0x4058a1);if(!_0xa5e7eb)return!0x1;const _0x385789=_0x56d9b5['deepClone'](_0xa5e7eb);_0x385789[_0x328187(0x2b7)]={'unitId':_0x473eb9,'subUnitId':_0x4ae5b3,'row':_0x2d7541[_0x328187(0x245)],'col':_0x2d7541[_0x328187(0x398)]};const _0x506f58=_0x2bcff0[_0x328187(0x419)]();if(_0x5c8c7b[_0x328187(0x2a5)]===_0x4ae5b3&&_0x5c8c7b['unitId']===_0x473eb9)_0x42d277[_0x328187(0x27a)](_0x473eb9,_0x4ae5b3,_0x4058a1,_0x385789),_0x42d277[_0x328187(0x324)]({'unitId':_0x473eb9,'subUnitId':_0x4ae5b3,'token':_0x4058a1,'type':$[_0x328187(0x2b3)]});else{_0x42d277[_0x328187(0x324)]({'unitId':_0x5c8c7b[_0x328187(0x2df)],'subUnitId':_0x5c8c7b[_0x328187(0x2a5)],'token':_0x4058a1,'type':$[_0x328187(0x2ea)]}),_0x42d277[_0x328187(0x25b)](_0x5c8c7b[_0x328187(0x2df)],_0x5c8c7b[_0x328187(0x2a5)],_0x4058a1);const _0xe03c33=_0x42d277[_0x328187(0x29a)](_0x4058a1,_0x506f58,_0xa5e7eb['sourceRangeInfo'],_0x385789[_0x328187(0x2b7)]),_0x4c5111=new _0x5ca8f0(_0xe03c33[_0x328187(0x236)],void 0x0,_0x4058a1);_0x4c5111[_0x328187(0x30d)](_0x385789[_0x328187(0x29b)]),_0x42d277['addPivotTable'](_0x473eb9,_0x4ae5b3,_0x4058a1,_0x4c5111,_0x385789),_0x42d277[_0x328187(0x324)]({'unitId':_0x473eb9,'subUnitId':_0x4ae5b3,'token':_0x4058a1,'type':$['Add'],'pivotConfig':_0x385789});}return!0x0;}},to={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x4835d9,_0x2a3867){const _0x7cd0de=_0x3cd867;if(!_0x2a3867)return!0x1;if(!!_0x4835d9[_0x7cd0de(0x2ec)](_0x52a20c)[_0x7cd0de(0x37f)](H))return!0x0;const _0x5eec71=_0x4835d9[_0x7cd0de(0x2ec)](J),{pivotTableId:_0x96ef10,deleteIds:_0x5ca8d7,collectionJSON:_0x29f92f,dataRangeInfo:_0x41315b,unitId:_0x2a2862,subUnitId:_0xcbf7eb}=_0x2a3867,_0x5642c4=_0x5eec71[_0x7cd0de(0x2bb)](_0x96ef10),_0x3bf32e=_0x5eec71[_0x7cd0de(0x423)](_0x2a2862,_0xcbf7eb,_0x96ef10);if(!_0x5642c4||!_0x3bf32e)return!0x1;const {collection:_0x36b08d,updateDataFieldList:_0x4cd0ce}=_0x5eec71[_0x7cd0de(0x29a)](_0x96ef10,_0x29f92f,_0x41315b,_0x3bf32e[_0x7cd0de(0x2b7)]);_0x5eec71[_0x7cd0de(0x3e0)](_0x36b08d,_0x4cd0ce,_0x41315b),_0x5642c4[_0x7cd0de(0x307)](_0x36b08d);for(const _0xcb28ae of _0x5ca8d7)_0x5eec71[_0x7cd0de(0x336)](_0x41315b[_0x7cd0de(0x2df)],_0xcb28ae);const _0x46f974=_0x5eec71[_0x7cd0de(0x423)](_0x2a2862,_0xcbf7eb,_0x96ef10);return _0x46f974[_0x7cd0de(0x3ee)]=JSON['parse'](JSON[_0x7cd0de(0x2f8)](_0x41315b)),_0x5eec71[_0x7cd0de(0x324)]({'unitId':_0x2a2862,'subUnitId':_0xcbf7eb,'token':_0x96ef10,'type':$[_0x7cd0de(0x2b3)]}),!0x0;}},Ut={'type':_0x502ab6[_0x3cd867(0x41b)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var fs=Object[_0x3cd867(0x3ff)],gs=(_0x26274f,_0x5966f6,_0x50f8f4,_0x1ed2ce)=>{const _0x2adf36=_0x3cd867;for(var _0xb1d866=_0x1ed2ce>0x1?void 0x0:_0x1ed2ce?fs(_0x5966f6,_0x50f8f4):_0x5966f6,_0x448d41=_0x26274f[_0x2adf36(0x2f7)]-0x1,_0x394182;_0x448d41>=0x0;_0x448d41--)(_0x394182=_0x26274f[_0x448d41])&&(_0xb1d866=_0x394182(_0xb1d866)||_0xb1d866);return _0xb1d866;},wo=(_0x12eb48,_0x5c5519)=>(_0x55e84b,_0x59b36f)=>_0x5c5519(_0x55e84b,_0x59b36f,_0x12eb48);let Z=class extends _0x106977{constructor(_0x29fd7f,_0x470954){const _0x1fac72=_0x3cd867;super(),V(this,_0x1fac72(0x3c2),new Map()),(this[_0x1fac72(0x231)]=_0x29fd7f,this[_0x1fac72(0x1dc)]=_0x470954);}['handleAsyncResponse'](_0x4cb84f){const _0x46d1e4=_0x3cd867,{version:_0x468bbc}=_0x4cb84f,_0x4023b3=this['_requestResolvers'][_0x46d1e4(0x2ec)](_0x468bbc);_0x4023b3&&(_0x4023b3(_0x4cb84f),this[_0x46d1e4(0x3c2)][_0x46d1e4(0x40a)](_0x468bbc));}[_0x3cd867(0x278)](_0x4d6485){return new Promise((_0x585c32,_0xe50821)=>{const _0x4d5910=_0x1dff,_0xe7c9c1=this[_0x4d5910(0x390)]();this[_0x4d5910(0x3c2)]['set'](_0xe7c9c1,_0x585c32),this[_0x4d5910(0x1dc)]['executeCommand'](ro['id'],{'version':_0xe7c9c1,..._0x4d6485},{'onlyLocal':!0x0});});}[_0x3cd867(0x390)](){const _0x35a593=_0x3cd867;return Math[_0x35a593(0x3a0)]()[_0x35a593(0x361)](0x24)[_0x35a593(0x1d2)](0x2,0x10);}};Z=gs([wo(0x0,_0x230206(_0x48fa95)),wo(0x1,_0x230206(_0x518b26))],Z);const zo={'id':'sheet.mutation.add-group-collection','type':_0x502ab6[_0x3cd867(0x41b)],'handler':(_0x39734d,_0x17112d)=>{const _0x4b78e2=_0x3cd867;if(!_0x17112d)return!0x1;if(!!_0x39734d[_0x4b78e2(0x2ec)](_0x52a20c)[_0x4b78e2(0x37f)](H))return!0x0;const {pivotTableId:_0x38ee99,fieldJSON:_0x49af95,unitId:_0x4ef5bd,subUnitId:_0x2f32d0}=_0x17112d,_0x46d304=_0x148218[_0x4b78e2(0x30d)](_0x49af95);if(!_0x46d304)return!0x1;const _0x55c533=_0x39734d[_0x4b78e2(0x2ec)](J),_0x1a314b=_0x55c533[_0x4b78e2(0x1dd)](_0x4ef5bd),_0x4610d7=_0x1a314b[_0x4b78e2(0x2db)](_0x38ee99);_0x1a314b[_0x4b78e2(0x445)](_0x46d304),_0x4610d7[_0x4b78e2(0x1d7)](_0x46d304['getId'](),_0x46d304[_0x4b78e2(0x2e1)]());const _0x23e162=_0x4610d7[_0x4b78e2(0x32b)](_0x46d304[_0x4b78e2(0x247)]());_0x23e162&&_0x46d304['refreshGroupField'](_0x23e162);const _0x5e47fd=_0x55c533[_0x4b78e2(0x423)](_0x4ef5bd,_0x2f32d0,_0x38ee99);return _0x55c533[_0x4b78e2(0x324)]({'unitId':_0x4ef5bd,'subUnitId':_0x2f32d0,'token':_0x38ee99,'type':$[_0x4b78e2(0x2b3)],'pivotConfig':_0x5e47fd}),!0x0;}},Qo={'id':_0x3cd867(0x3d2),'type':_0x502ab6[_0x3cd867(0x41b)],'handler':(_0x5326e5,_0xc7a108)=>{const _0x5eeb56=_0x3cd867;if(!_0xc7a108)return!0x1;if(!!_0x5326e5[_0x5eeb56(0x2ec)](_0x52a20c)[_0x5eeb56(0x37f)](H))return!0x0;const {pivotTableId:_0x170bde,dataFieldId:_0x2ca0c0,unitId:_0x327a90,subUnitId:_0x2f14c2}=_0xc7a108,_0x14b54a=_0x5326e5[_0x5eeb56(0x2ec)](J),_0x2fbef3=_0x14b54a['getDataFieldManager'](_0x327a90);_0x2fbef3[_0x5eeb56(0x2db)](_0x170bde)[_0x5eeb56(0x232)](_0x2ca0c0);let _0x1c23cf=!0x0;for(const _0x48b060 in _0x2fbef3[_0x5eeb56(0x3e2)])if(_0x2fbef3['collections'][_0x48b060]['getFieldIds']()['includes'](_0x2ca0c0)){_0x1c23cf=!0x1;break;}_0x1c23cf&&_0x2fbef3[_0x5eeb56(0x270)](_0x2ca0c0);const _0x1ebf24=_0x14b54a[_0x5eeb56(0x423)](_0x327a90,_0x2f14c2,_0x170bde);return _0x14b54a['addDirtyPivotTable']({'unitId':_0x327a90,'subUnitId':_0x2f14c2,'token':_0x170bde,'type':$[_0x5eeb56(0x2b3)],'pivotConfig':_0x1ebf24}),!0x0;}},vs={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x20e),async 'handler'(_0x37326b,_0x4c188e){const _0x26adfe=_0x3cd867;if(!_0x4c188e)return!0x1;const _0x484c43=_0x37326b[_0x26adfe(0x2ec)](_0x518b26),_0x533030=_0x37326b[_0x26adfe(0x2ec)](Z),_0x44068f=_0x37326b[_0x26adfe(0x2ec)](_0x52a4a2),{pivotTableId:_0xa4473e,dataFieldId:_0x3582b2,fieldArea:_0x24e26a,index:_0x5f081b,unitId:_0x3741a2,subUnitId:_0x5d7fa5}=_0x4c188e,_0x162df1=(await _0x533030[_0x26adfe(0x278)]({'unitId':_0x3741a2,'subUnitId':_0x5d7fa5,'pivotTableId':_0xa4473e,'params':{'type':k[_0x26adfe(0x2a0)],'addPivotField':{'dataFieldId':_0x3582b2,'fieldArea':_0x24e26a,'index':_0x5f081b}}}))[_0x26adfe(0x3cb)][_0x26adfe(0x338)];if(!_0x162df1)return!0x1;const {view:_0x215564,changesets:_0x481ebe,isEmpty:_0x2e8fca,pivotTableConfig:_0x28e9b0,shouldBeAddedGroupJSON:_0xca84db}=_0x162df1,_0x40d672=_0x28e9b0[_0x26adfe(0x2b7)],_0x9c2281=new _0x2b2847();_0x9c2281[_0x26adfe(0x2b6)](_0x215564);const _0x56308b={'cellInfo':_0x40d672,'view':_0x9c2281,'isEmpty':_0x2e8fca};if(!await _0x37326b[_0x26adfe(0x2ec)](ie)[_0x26adfe(0x3fe)][_0x26adfe(0x3e1)](be)(!0x0,_0x56308b))return!0x1;const _0x299d5c=we(_0x37326b,_0x9c2281,_0x40d672,_0x2e8fca),_0x184c7d=_e(_0x37326b,_0x56308b),{undos:_0x9f42d1,redos:_0x3849c3}=me(_0x484c43,{'pivotTableId':_0xa4473e,'unitId':_0x3741a2,'subUnitId':_0x5d7fa5},_0x481ebe);return _0xca84db&&(_0x3849c3[_0x26adfe(0x323)]({'id':zo['id'],'params':{'pivotTableId':_0xa4473e,'fieldJSON':_0xca84db,'unitId':_0x3741a2,'subUnitId':_0x5d7fa5}}),_0x9f42d1[_0x26adfe(0x1e6)]({'id':Qo['id'],'params':{'pivotTableId':_0xa4473e,'dataFieldId':_0xca84db['id'],'unitId':_0x3741a2,'subUnitId':_0x5d7fa5}})),_0x4f9bff([..._0x299d5c[_0x26adfe(0x32d)],..._0x184c7d[_0x26adfe(0x32d)],..._0x3849c3],_0x484c43),_0x44068f[_0x26adfe(0x252)]({'unitID':_0x3741a2,'redoMutations':[..._0x299d5c[_0x26adfe(0x32d)],..._0x184c7d[_0x26adfe(0x32d)],..._0x3849c3],'undoMutations':[..._0x299d5c[_0x26adfe(0x1d8)],..._0x184c7d[_0x26adfe(0x1d8)],..._0x9f42d1]}),!0x0;}},hs={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x1d1),async 'handler'(_0x9e4d12,_0x3e5c7e){const _0x347365=_0x3cd867;if(!_0x3e5c7e)return!0x1;const {sourceDataInfo:_0x14627a,pivotTableConfig:_0x710121}=_0x3e5c7e;if(!_0x14627a||!_0x710121)return!0x1;const {unitId:_0x5930d1,subUnitId:_0x1f0974,range:_0x5c828a}=_0x14627a,_0x1cbfee=_0x9e4d12['get'](_0x27e8db),_0x5ecba7=_0x9e4d12['get'](Z),_0x3c5ab0=_0x9e4d12[_0x347365(0x2ec)](_0xb73921),_0x1feae3=_0x9e4d12[_0x347365(0x2ec)](_0x518b26),_0x4298d7=_0x1cbfee[_0x347365(0x283)](_0x5930d1);if(!_0x4298d7)return!0x1;const _0x3060e2=_0x4298d7[_0x347365(0x397)](_0x1f0974);if(!_0x3060e2)return!0x1;const _0x295b35=_0x28e17f(0x8),_0x3d27cc=_0x5c828a||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3060e2[_0x347365(0x3fa)]()-0x1,'endColumn':_0x3060e2[_0x347365(0x2b1)]()-0x1};_0x3d27cc['rangeType']=_0x22fcaa[_0x347365(0x1df)];const _0x1a5f0b=(await _0x5ecba7[_0x347365(0x278)]({'unitId':_0x5930d1,'subUnitId':_0x1f0974,'pivotTableId':_0x295b35,'params':{'type':k[_0x347365(0x43b)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5930d1,'sheetName':_0x3060e2[_0x347365(0x2e1)](),'subUnitId':_0x1f0974,'range':_0x3d27cc},'pivotTableId':_0x295b35,'pivotTableIndexConfig':_0x710121}}}))[_0x347365(0x3cb)]['addPivotTableWithConfig'];if(!_0x1a5f0b)return!0x1;const {isEmpty:_0x5e6776,fieldsConfig:_0x3b35e4,collectionConfig:_0x253ae2,changesets:_0x3eb8e5}=_0x1a5f0b,_0x615f19=_0x4298d7[_0x347365(0x31e)]()[_0x347365(0x2f7)],_0x1ba8f1=_0xcd6e7e({'rowCount':_0x3060e2[_0x347365(0x3fa)]()-0x1,'columnCount':_0x3060e2[_0x347365(0x2b1)]()-0x1});_0x1ba8f1['id']=_0x40f5e9(),_0x1ba8f1[_0x347365(0x328)]=_0x4298d7['generateNewSheetName'](''+_0x3c5ab0['t'](_0x347365(0x38d)));const _0x4b93c2={'index':_0x615f19,'sheet':_0x1ba8f1,'unitId':_0x5930d1},{redos:_0xc33b50}=me(_0x1feae3,{'pivotTableId':_0x295b35,'unitId':_0x5930d1,'subUnitId':_0x1ba8f1['id']},_0x3eb8e5),_0x59c70f=[{'id':_0x1268f1['id'],'params':_0x4b93c2},{'id':Ct['id'],'params':{'unitId':_0x5930d1,'subUnitId':_0x1ba8f1['id'],'pivotTableId':_0x295b35,'pivotTableConfig':{'isEmpty':_0x5e6776,'fieldsConfig':_0x3b35e4,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5930d1,'subUnitId':_0x1ba8f1['id']},'sourceRangeInfo':{'subUnitId':_0x1f0974,'unitId':_0x5930d1,'range':_0x3d27cc,'sheetName':_0x3060e2[_0x347365(0x2e1)]()}},'collectionConfig':_0x253ae2}},..._0xc33b50];return _0x4f9bff(_0x59c70f,_0x1feae3),!0x0;}},ps={'type':_0x502ab6[_0x3cd867(0x317)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x407f49,_0x2199f8){const _0x253f56=_0x3cd867;var _0x4e645f,_0x145434;const _0x2716a0=_0x407f49[_0x253f56(0x2ec)](_0x518b26),_0x19f1a2=_0x407f49[_0x253f56(0x2ec)](_0x27e8db),_0x4a8e8b=_0x407f49[_0x253f56(0x2ec)](_0xb73921),_0x1218ea=_0x407f49[_0x253f56(0x2ec)](Z),_0x598ac2=_0x407f49[_0x253f56(0x2ec)](_0x52a4a2),_0x50389b=_0x407f49[_0x253f56(0x2ec)](he),_0x2a3412=_0x407f49[_0x253f56(0x2ec)](_0x52a20c);if(!_0x2199f8)return!0x1;const {pivotTableConfig:_0x35b111,positionType:_0x209295}=_0x2199f8,{targetCellInfo:_0x33d37d,sourceRangeInfo:_0x4c17ff}=_0x35b111,{unitId:_0x38e148,subUnitId:_0x10e1d3}=_0x33d37d,_0x4d1a4c=_0x19f1a2[_0x253f56(0x283)](_0x38e148);if(!_0x4d1a4c)return!0x1;let _0x49d15a=0x0;_0x4d1a4c['getSheets']()[_0x253f56(0x3f1)](_0x1df3b4=>{const _0x5834ca=_0x253f56;var _0x5bb88f,_0x2c8925;_0x49d15a+=(_0x2c8925=(_0x5bb88f=_0x50389b[_0x5834ca(0x325)](_0x38e148,_0x1df3b4[_0x5834ca(0x238)]()))==null?void 0x0:_0x5bb88f[_0x5834ca(0x3d1)])!=null?_0x2c8925:0x0;});const _0x191747=(_0x4e645f=_0x2a3412['getConfig'](_0x14f8c8))!=null?_0x4e645f:{},{ls:_0x4a531a,pbk:_0x505682}=_0x191747;if(!Ko(_0x4a531a,_0x505682))return!0x1;const _0x30c268=go(so,_0x4a531a,_0x505682)[_0x253f56(0x1fc)];if(_0x49d15a>=_0x30c268)return!0x1;const _0x450402=_0x2199f8['pivotTableId']||_0x28e17f(0x8),_0x5a4aa8=(await _0x1218ea[_0x253f56(0x278)]({'unitId':_0x38e148,'subUnitId':_0x10e1d3,'pivotTableId':_0x450402,'params':{'type':k[_0x253f56(0x27c)],'addPivotTable':{'sourceRangeInfo':_0x4c17ff,'pivotTableId':_0x450402}}}))['result']['addPivotTable'];if(!_0x5a4aa8)return!0x1;const {view:_0x1cae68,isEmpty:_0x3185cd,fieldsConfig:_0x2b83f7,collectionConfig:_0x64514a}=_0x5a4aa8,_0x2776df=[],_0x19bdce=[];if(_0x209295===Lo[_0x253f56(0x34b)]){const _0x184b1a=_0x4d1a4c[_0x253f56(0x31e)]()['length'],_0xb5019a=_0xcd6e7e({});_0xb5019a['id']=_0x35b111[_0x253f56(0x2b7)]['subUnitId'],_0xb5019a[_0x253f56(0x328)]=(_0x145434=_0x35b111[_0x253f56(0x2b7)]['sheetName'])!=null?_0x145434:_0x4d1a4c['generateNewSheetName'](''+_0x4a8e8b['t'](_0x253f56(0x38d)));const _0xd28b0c={'index':_0x184b1a,'sheet':_0xb5019a,'unitId':_0x38e148},_0x13af94=_0x55ea1d(_0x407f49,_0xd28b0c);_0x2776df['push']({'id':_0x89fbd9['id'],'params':_0x13af94}),_0x19bdce[_0x253f56(0x1e6)]({'id':_0x201149['id'],'params':_0xd28b0c});}else{if(!_0x4d1a4c[_0x253f56(0x397)](_0x10e1d3))return!0x1;const _0x4d92a8=we(_0x407f49,new _0x2b2847(),_0x33d37d,!0x0);_0x19bdce[_0x253f56(0x1e6)](..._0x4d92a8[_0x253f56(0x32d)]),_0x2776df['push'](..._0x4d92a8[_0x253f56(0x1d8)]);const _0xb43235={'cellInfo':_0x33d37d,'view':_0x1cae68,'isEmpty':_0x3185cd};if(!await _0x407f49['get'](ie)[_0x253f56(0x3fe)][_0x253f56(0x3e1)](be)(!0x0,_0xb43235))return!0x1;const _0x23f244=_e(_0x407f49,_0xb43235);_0x19bdce[_0x253f56(0x1e6)](..._0x23f244['redos']),_0x2776df[_0x253f56(0x1e6)](..._0x23f244['undos']);}return _0x19bdce['push']({'id':Ct['id'],'params':{'unitId':_0x33d37d[_0x253f56(0x2df)],'subUnitId':_0x33d37d['subUnitId'],'pivotTableId':_0x450402,'pivotTableConfig':{'targetCellInfo':_0x33d37d,'sourceRangeInfo':_0x4c17ff,'fieldsConfig':_0x2b83f7},'collectionConfig':_0x64514a}}),_0x2776df[_0x253f56(0x323)]({'id':Et['id'],'params':{'unitId':_0x38e148,'subUnitId':_0x10e1d3,'pivotTableId':_0x450402}}),_0x4f9bff(_0x19bdce,_0x2716a0)&&_0x598ac2[_0x253f56(0x252)]({'unitID':_0x38e148,'undoMutations':_0x2776df,'redoMutations':_0x19bdce}),!0x0;}},ms={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x32c),async 'handler'(_0x8b6980,_0xbc8e7b){const _0x57aa1b=_0x3cd867;if(!_0xbc8e7b)return!0x1;const _0x3f7246=_0x8b6980[_0x57aa1b(0x2ec)](_0x518b26),_0xaaac=_0x8b6980[_0x57aa1b(0x2ec)](Z),_0xb229dc=_0x8b6980[_0x57aa1b(0x2ec)](_0x52a4a2),{pivotTableId:_0x88d350,fieldId:_0x4f809c,area:_0x170784,index:_0x210fe2,unitId:_0x2c2238,subUnitId:_0x3c73d0}=_0xbc8e7b,_0x15df22=(await _0xaaac['getPivotDisplayConfig']({'unitId':_0x2c2238,'subUnitId':_0x3c73d0,'pivotTableId':_0x88d350,'params':{'type':k[_0x57aa1b(0x3ac)],'movePivotField':{'fieldId':_0x4f809c,'area':_0x170784,'index':_0x210fe2}}}))[_0x57aa1b(0x3cb)][_0x57aa1b(0x2f4)];if(!_0x15df22)return!0x1;const {changesets:_0x5c21e0,view:_0x37f9e0,isEmpty:_0x23b2c1,pivotTableConfig:_0x236f27}=_0x15df22,_0x2053ff=_0x236f27['targetCellInfo'],_0x4a636b=new _0x2b2847();_0x4a636b[_0x57aa1b(0x2b6)](_0x37f9e0);const _0x5a7471={'cellInfo':_0x2053ff,'view':_0x4a636b,'isEmpty':_0x23b2c1};if(!await _0x8b6980[_0x57aa1b(0x2ec)](ie)[_0x57aa1b(0x3fe)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5a7471))return!0x1;const _0x34efd6=we(_0x8b6980,_0x4a636b,_0x2053ff,_0x23b2c1),_0x1545b4=_e(_0x8b6980,_0x5a7471),{redos:_0x4374a0,undos:_0x50f523}=me(_0x3f7246,{'pivotTableId':_0x88d350,'unitId':_0x2c2238,'subUnitId':_0x3c73d0},_0x5c21e0);return _0x4f9bff([..._0x34efd6[_0x57aa1b(0x32d)],..._0x1545b4[_0x57aa1b(0x32d)],..._0x4374a0],_0x3f7246),_0xb229dc[_0x57aa1b(0x252)]({'unitID':_0x2c2238,'redoMutations':[..._0x34efd6[_0x57aa1b(0x32d)],..._0x1545b4[_0x57aa1b(0x32d)],..._0x4374a0],'undoMutations':[..._0x34efd6['undos'],..._0x1545b4[_0x57aa1b(0x1d8)],..._0x50f523]}),!0x0;}},Is={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x29f),async 'handler'(_0x2a7acd,_0x10ff3d){const _0x427d3d=_0x3cd867;var _0x39ed2e;if(!_0x10ff3d)return!0x1;const _0x41ce50=_0x2a7acd[_0x427d3d(0x2ec)](_0x27e8db),_0x5cb2d1=_0x4e8dc1(_0x41ce50);if(!_0x5cb2d1)return!0x1;const {unitId:_0x181261,subUnitId:_0x1089ae,workbook:_0x45504d}=_0x5cb2d1,{row:_0x18e7a0,col:_0xd1373d}=_0x10ff3d,_0xa9baf8=_0x2a7acd['get'](Ne),_0x139edd=_0xa9baf8[_0x427d3d(0x244)](_0x181261,_0x1089ae,_0x18e7a0,_0xd1373d);if(!_0x139edd)return!0x1;const _0x2b9fee=(_0x39ed2e=_0xa9baf8[_0x427d3d(0x35e)](_0x181261,_0x1089ae,_0x139edd))==null?void 0x0:_0x39ed2e[_0x427d3d(0x42c)];if(!_0x2b9fee)return!0x1;const _0x4147ed=_0x2a7acd['get'](he)[_0x427d3d(0x423)](_0x181261,_0x1089ae,_0x139edd);if(!_0x4147ed)return!0x1;const {rowInfo:_0x16ea5e,colInfo:_0x20d51f}=_0x2b9fee,_0x3a2e43=_0x16ea5e[_0x18e7a0][_0x427d3d(0x320)],_0x58b4a0=_0x20d51f[_0xd1373d]['paths'],_0x30917f=_0x16ea5e[_0x18e7a0][_0x427d3d(0x34f)],_0x1f6afd=_0x20d51f[_0xd1373d]['level'],_0x24bdf7=_0x3a2e43[_0x427d3d(0x370)](_0x58b4a0),_0x58d942=_0x4147ed[_0x427d3d(0x29b)][_0x427d3d(0x37a)]['slice'](0x0,_0x30917f),_0x46042c=_0x4147ed['fieldsConfig'][_0x427d3d(0x43c)][_0x427d3d(0x42b)](0x0,_0x1f6afd),_0x23568d=_0x58d942[_0x427d3d(0x370)](_0x46042c),_0x5f0b8d=_0x24bdf7[_0x427d3d(0x2dd)]((_0x5cd76c,_0x24ce4c)=>[_0x5cd76c,_0x23568d[_0x24ce4c]]),_0x3a74f6=(await _0x2a7acd[_0x427d3d(0x2ec)](Z)[_0x427d3d(0x278)]({'unitId':_0x181261,'subUnitId':_0x1089ae,'pivotTableId':_0x139edd,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x5f0b8d}}}))[_0x427d3d(0x3cb)][_0x427d3d(0x376)];if(!_0x3a74f6)return!0x1;const {indexes:_0x36e67e,range:_0x44e4d7,sourceUnitId:_0x122351,sourceSubUnitId:_0x3032ff,formatMap:_0x527d44}=_0x3a74f6,{startRow:_0x41835c,endRow:_0x376f4a,startColumn:_0x1527f2,endColumn:_0x438710}=_0x44e4d7,_0x17ed4e=new _0xf97b68(),_0x45cbf6=_0x376f4a-_0x41835c,_0x34abea=_0x438710-_0x1527f2,_0x43850f={},_0x1070f3=_0x4e8dc1(_0x41ce50,{'unitId':_0x122351,'subUnitId':_0x3032ff});if(!_0x1070f3)return!0x1;const _0x294711=fe['colStyle'],_0x8b0b5f=fe[_0x427d3d(0x33f)],_0x49c258=fe[_0x427d3d(0x33f)],_0x4547f4=_0x45504d[_0x427d3d(0x21d)]()[_0x427d3d(0x2af)](_0x294711),_0x32c97f=_0x45504d[_0x427d3d(0x21d)]()[_0x427d3d(0x2af)](_0x8b0b5f),_0x11e7ae=_0x45504d[_0x427d3d(0x21d)]()['setValue'](_0x49c258),{worksheet:_0xa82964}=_0x1070f3;let _0x21b9cf=0x0;const _0x24596e=0x1;_0x36e67e[_0x427d3d(0x3f1)](_0x5062ca=>{const _0x3b07b0=_0x427d3d;for(let _0x161488=0x0;_0x161488<=_0x438710-_0x1527f2;_0x161488++)_0x17ed4e[_0x3b07b0(0x2af)](_0x21b9cf,_0x161488,_0xa82964[_0x3b07b0(0x26f)](_0x5062ca+_0x44e4d7['startRow']+_0x24596e,_0x161488));_0x21b9cf++;});for(let _0x86a988=_0x1527f2;_0x86a988<=_0x438710;_0x86a988++){const _0x255b23=_0xa82964['getCellRaw'](_0x41835c,_0x86a988);_0x43850f[_0x41835c]||(_0x43850f[_0x41835c]={}),_0x43850f[_0x41835c][_0x86a988]={..._0x255b23,'s':_0x4547f4};}let _0x2923b5=0x1;const _0x1db0db={},_0x5cfc31={};_0x17ed4e[_0x427d3d(0x3d8)]((_0x378f68,_0x1ed6b)=>{_0x1ed6b['forEach'](_0x3d5197=>{const _0x1ce846=_0x1dff,_0x1b7d9d=_0x17ed4e[_0x1ce846(0x365)](_0x378f68,_0x3d5197);if(_0x43850f[_0x2923b5]||(_0x43850f[_0x2923b5]={}),_0x43850f[_0x2923b5][_0x3d5197]={..._0x1b7d9d,'s':_0x2923b5%0x2===0x0?_0x11e7ae:_0x32c97f},_0x527d44[_0x3d5197]&&_0x378f68>=0x0){const _0x2bedcb=_0x2923b5%0x2===0x0;let _0x3f393f=_0x2bedcb?_0x5cfc31[_0x3d5197]:_0x1db0db[_0x3d5197];_0x3f393f||(_0x3f393f=_0x45504d[_0x1ce846(0x21d)]()[_0x1ce846(0x2af)]({..._0x2bedcb?_0x49c258:_0x8b0b5f,'n':{'pattern':_0x527d44[_0x3d5197]}}),_0x2bedcb?_0x5cfc31[_0x3d5197]=_0x3f393f:_0x1db0db[_0x3d5197]=_0x3f393f),_0x43850f[_0x2923b5][_0x3d5197]['s']=_0x3f393f;}}),_0x2923b5++;});const _0xcd7dff=new _0xf97b68(_0x43850f),_0x251172={};_0xcd7dff['forValue']((_0x58c95f,_0x10c622,_0x40ffa)=>{_0x251172[_0x58c95f]||(_0x251172[_0x58c95f]={}),_0x251172[_0x58c95f][_0x10c622]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x50e2e9=[],_0x4624cc=[],_0x59610a=_0x45504d[_0x427d3d(0x31e)]()[_0x427d3d(0x2f7)],_0x3e161a=_0xcd6e7e({'rowCount':Math[_0x427d3d(0x310)](_0x1dfa87,_0x45cbf6+0xa),'columnCount':Math[_0x427d3d(0x310)](_0x4587c2,_0x34abea+0x5)}),_0x5305a5=_0x2a7acd[_0x427d3d(0x2ec)](_0xb73921);_0x3e161a['id']=_0x40f5e9(),_0x3e161a[_0x427d3d(0x328)]=_0x45504d[_0x427d3d(0x34c)](''+_0x5305a5['t']('sheets.tabs.sheet'));const _0x36fcf7={'index':_0x59610a,'sheet':_0x3e161a,'unitId':_0x181261},_0x125ebb=_0x55ea1d(_0x2a7acd,_0x36fcf7);_0x4624cc['push']({'id':_0x201149['id'],'params':_0x36fcf7}),_0x50e2e9[_0x427d3d(0x1e6)]({'id':_0x89fbd9['id'],'params':_0x125ebb}),_0x4624cc['push']({'id':_0x533b97['id'],'params':{'unitId':_0x181261,'subUnitId':_0x3e161a['id'],'cellValue':_0x43850f}}),_0x50e2e9[_0x427d3d(0x323)]({'id':_0x533b97['id'],'params':{'unitId':_0x181261,'subUnitId':_0x3e161a['id'],'cellValue':_0x251172}});const _0x17d7a6={'startRow':0x0,'startColumn':0x0,'endRow':_0x2923b5-0x1,'endColumn':_0x438710};_0x4624cc['push']({'id':_0x236c3a['id'],'params':{'unitId':_0x181261,'subUnitId':_0x3e161a['id'],'range':_0x17d7a6}}),_0x50e2e9['unshift']({'id':_0x5a47be['id'],'params':{'unitId':_0x181261,'subUnitId':_0x3e161a['id']}});const _0x59d9b9=_0x2a7acd[_0x427d3d(0x2ec)](_0x518b26);return _0x4f9bff(_0x4624cc,_0x59d9b9)&&_0x2a7acd[_0x427d3d(0x2ec)](_0x52a4a2)[_0x427d3d(0x252)]({'unitID':_0x181261,'undoMutations':_0x50e2e9,'redoMutations':_0x4624cc}),!0x0;}},Cs={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x21e),async 'handler'(_0xf53f97,_0x4dabca){const _0x35e994=_0x3cd867;if(!_0x4dabca)return!0x1;const _0x253a00=_0xf53f97['get'](_0x518b26),_0x39aa03=_0xf53f97[_0x35e994(0x2ec)](Z),_0x1dfb4b=_0xf53f97['get'](_0x52a4a2),{pivotTableId:_0x446bb5,fieldIds:_0x4295a3,unitId:_0x3508df,subUnitId:_0x42012e}=_0x4dabca,_0x2975eb=(await _0x39aa03[_0x35e994(0x278)]({'unitId':_0x3508df,'subUnitId':_0x42012e,'pivotTableId':_0x446bb5,'params':{'type':k[_0x35e994(0x39d)],'removePivotField':{'fieldIds':_0x4295a3}}}))[_0x35e994(0x3cb)][_0x35e994(0x356)];if(!_0x2975eb)return!0x1;const {view:_0x35fce4,changesets:_0xb658af,isEmpty:_0xdf6be6,pivotTableConfig:_0xd1d946}=_0x2975eb,_0x529e46=_0xd1d946[_0x35e994(0x2b7)],_0x4dec2e=new _0x2b2847();_0x4dec2e[_0x35e994(0x2b6)](_0x35fce4);const _0x5da177={'cellInfo':_0x529e46,'view':_0x4dec2e,'isEmpty':_0xdf6be6};if(!await _0xf53f97['get'](ie)[_0x35e994(0x3fe)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5da177))return!0x1;const _0x5a934a=we(_0xf53f97,_0x4dec2e,_0x529e46,_0xdf6be6),_0x414cbf=_e(_0xf53f97,_0x5da177),{redos:_0x3358c5,undos:_0x55a507}=me(_0x253a00,{'pivotTableId':_0x446bb5,'unitId':_0x3508df,'subUnitId':_0x42012e},_0xb658af);return _0x4f9bff([..._0x5a934a[_0x35e994(0x32d)],..._0x414cbf[_0x35e994(0x32d)],..._0x3358c5],_0x253a00),_0x1dfb4b['pushUndoRedo']({'unitID':_0x3508df,'redoMutations':[..._0x5a934a[_0x35e994(0x32d)],..._0x414cbf['redos'],..._0x3358c5],'undoMutations':[..._0x5a934a[_0x35e994(0x1d8)],..._0x414cbf[_0x35e994(0x1d8)],..._0x55a507]}),!0x0;}},bs={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x337),async 'handler'(_0x3464f6,_0x223ac3){const _0x455746=_0x3cd867;var _0x5c72aa;const _0xb91ebe=_0x3464f6[_0x455746(0x2ec)](_0x518b26),_0x3836bd=_0x3464f6[_0x455746(0x2ec)](Z),_0x4029e2=_0x3464f6[_0x455746(0x2ec)](Ne),_0x5869f2=_0x3464f6[_0x455746(0x2ec)](_0x27e8db),_0xa22d3f=_0x3464f6[_0x455746(0x2ec)](_0x52a4a2);if(!_0x223ac3)return!0x1;const {unitId:_0x59e5c9,subUnitId:_0x3c0db4,row:_0xf074f0,col:_0x32b2d8,collapse:_0x456503}=_0x223ac3,_0x175f4c=_0x5869f2[_0x455746(0x283)](_0x59e5c9);if(!_0x175f4c||!_0x175f4c[_0x455746(0x397)](_0x3c0db4))return!0x1;const _0x476437=_0x4029e2['getPivotTableIdByCell'](_0x59e5c9,_0x3c0db4,_0xf074f0,_0x32b2d8);if(!_0x476437)return!0x1;const _0x242cb4=_0x4029e2[_0x455746(0x35e)](_0x59e5c9,_0x3c0db4,_0x476437);if(!_0x242cb4)return!0x1;const _0x5d7b16=_0x120a1f(_0xf074f0,_0x32b2d8),{rangesInfo:_0x199448,areaInfo:_0x2263fc,headerMap:_0x3aa69a}=_0x242cb4;if(!_0x199448||!_0x2263fc||!_0x3aa69a)return!0x1;const _0x38ddc5=Object['keys'](_0x199448)['find'](_0xb42c50=>_0x199448[_0xb42c50]['some'](_0x23f79a=>_0x875ff4['contains'](_0x23f79a,_0x5d7b16)));let _0x3ac21d;_0x38ddc5===_0x455746(0x352)?_0x3ac21d=_0x3aa69a[_0x455746(0x431)][_0x32b2d8]:_0x38ddc5===_0x455746(0x269)&&(_0x3ac21d=_0x3aa69a[_0x455746(0x228)][_0xf074f0]);const _0x2768c1=_0x3ac21d==null?void 0x0:_0x3ac21d[_0x455746(0x360)],_0x1bda56=(_0x5c72aa=_0x4029e2['getPivotTableCellData'](_0x59e5c9,_0x3c0db4,_0xf074f0,_0x32b2d8))==null?void 0x0:_0x5c72aa['v'];if(_0x1bda56==null||!_0x476437||!_0x2768c1)return!0x1;const _0x35bf09=await _0x3836bd[_0x455746(0x278)]({'unitId':_0x59e5c9,'subUnitId':_0x3c0db4,'pivotTableId':_0x476437,'params':{'type':k[_0x455746(0x300)],'setPivotCollapse':{'tableFieldId':_0x2768c1,'collapse':_0x456503,'item':_0x1bda56}}}),_0x287e70=_0x35bf09==null?void 0x0:_0x35bf09[_0x455746(0x3cb)][_0x455746(0x3b8)];if(!_0x287e70)return!0x1;const {view:_0x2a584a,pivotTableConfig:_0x14f348,isEmpty:_0x1a2b95,changesets:_0x586904}=_0x287e70,_0x262ed0=new _0x2b2847();_0x262ed0[_0x455746(0x2b6)](_0x2a584a);const _0x296831=_0x14f348[_0x455746(0x2b7)],_0x297cb1={'cellInfo':_0x296831,'view':_0x262ed0,'isEmpty':_0x1a2b95};if(!await _0x3464f6[_0x455746(0x2ec)](ie)[_0x455746(0x3fe)][_0x455746(0x3e1)](be)(!0x0,_0x297cb1))return!0x1;const _0x5a1f31=we(_0x3464f6,_0x262ed0,_0x296831,_0x1a2b95),_0x121b20=_e(_0x3464f6,_0x297cb1),{redos:_0x154508,undos:_0x5adab1}=me(_0xb91ebe,{'pivotTableId':_0x476437,'unitId':_0x59e5c9,'subUnitId':_0x3c0db4},_0x586904);return _0x4f9bff([..._0x5a1f31[_0x455746(0x32d)],..._0x121b20[_0x455746(0x32d)],..._0x154508],_0xb91ebe),_0xa22d3f[_0x455746(0x252)]({'unitID':_0x59e5c9,'redoMutations':[..._0x5a1f31['redos'],..._0x121b20['redos'],..._0x154508],'undoMutations':[..._0x5a1f31[_0x455746(0x1d8)],..._0x121b20[_0x455746(0x1d8)],..._0x5adab1]}),!0x0;}},Ss={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x3a8),async 'handler'(_0x5eeacd,_0x2997aa){const _0x3e3e02=_0x3cd867;if(!_0x2997aa)return!0x1;const _0x1170f4=_0x5eeacd['get'](_0x518b26),{pivotTableId:_0x547211,tableFieldId:_0x362355,items:_0xa0c9f2,unitId:_0x3354df,subUnitId:_0x1f9832,isAll:_0x7736dc}=_0x2997aa,_0x4957d1=_0x5eeacd[_0x3e3e02(0x2ec)](Z),_0x1f09b4=_0x5eeacd[_0x3e3e02(0x2ec)](_0x52a4a2),_0x3fa185=(await _0x4957d1['getPivotDisplayConfig']({'unitId':_0x3354df,'subUnitId':_0x1f9832,'pivotTableId':_0x547211,'params':{'type':k[_0x3e3e02(0x254)],'setPivotFilter':{'tableFieldId':_0x362355,'items':_0xa0c9f2,'isAll':_0x7736dc}}}))[_0x3e3e02(0x3cb)][_0x3e3e02(0x2cb)];if(!_0x3fa185)return!0x1;const {changesets:_0x2f53b0,pivotTableConfig:_0x5a087c,isEmpty:_0x555a5e,view:_0x4b5263}=_0x3fa185,_0x13cbe3=_0x5a087c['targetCellInfo'],_0x57c301=new _0x2b2847();_0x57c301[_0x3e3e02(0x2b6)](_0x4b5263);const _0x2bdc03={'cellInfo':_0x13cbe3,'view':_0x57c301,'isEmpty':_0x555a5e};if(!await _0x5eeacd['get'](ie)[_0x3e3e02(0x3fe)][_0x3e3e02(0x3e1)](be)(!0x0,_0x2bdc03))return!0x1;const _0x3da5c4=we(_0x5eeacd,_0x57c301,_0x13cbe3,_0x555a5e),_0x1a03da=_e(_0x5eeacd,_0x2bdc03),{undos:_0x5b1850,redos:_0x16815f}=me(_0x1170f4,{'pivotTableId':_0x547211,'unitId':_0x3354df,'subUnitId':_0x1f9832},_0x2f53b0);return _0x4f9bff([..._0x3da5c4[_0x3e3e02(0x32d)],..._0x1a03da[_0x3e3e02(0x32d)],..._0x16815f],_0x1170f4),_0x1f09b4[_0x3e3e02(0x252)]({'unitID':_0x3354df,'redoMutations':[..._0x3da5c4[_0x3e3e02(0x32d)],..._0x1a03da['redos'],..._0x16815f],'undoMutations':[..._0x3da5c4[_0x3e3e02(0x1d8)],..._0x1a03da[_0x3e3e02(0x1d8)],..._0x5b1850]}),!0x0;}},Ps={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x33d),async 'handler'(_0x366283,_0x471608){const _0x183e29=_0x3cd867;if(!_0x471608)return!0x1;const _0x283cc3=_0x366283[_0x183e29(0x2ec)](_0x518b26),_0x452fd0=_0x366283[_0x183e29(0x2ec)](_0x52a4a2),_0x3507d3=_0x366283[_0x183e29(0x2ec)](Z),{info:_0x39a130,tableFieldId:_0xf921b1,pivotTableId:_0x2cbdf6,unitId:_0x3960b1,subUnitId:_0x2b158c}=_0x471608,_0x42fb6f=(await _0x3507d3['getPivotDisplayConfig']({'unitId':_0x3960b1,'subUnitId':_0x2b158c,'pivotTableId':_0x2cbdf6,'params':{'type':k[_0x183e29(0x1fa)],'setPivotSort':{'tableFieldId':_0xf921b1,'info':_0x39a130}}}))[_0x183e29(0x3cb)][_0x183e29(0x318)];if(!_0x42fb6f)return!0x1;const {changesets:_0x10467d}=_0x42fb6f,{redos:_0x920617,undos:_0x4d9b68}=me(_0x283cc3,{'pivotTableId':_0x2cbdf6,'unitId':_0x3960b1,'subUnitId':_0x2b158c},_0x10467d);return _0x4f9bff(_0x920617,_0x283cc3),_0x452fd0['pushUndoRedo']({'unitID':_0x3960b1,'redoMutations':_0x920617,'undoMutations':_0x4d9b68}),!0x0;}},Ts={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x273),async 'handler'(_0x153071,_0x4691a1){const _0x3e7a1f=_0x3cd867;if(!_0x4691a1)return!0x1;const _0x351324=_0x153071[_0x3e7a1f(0x2ec)](_0x518b26),_0x3534cf=_0x153071[_0x3e7a1f(0x2ec)](_0x52a4a2),_0x304c7e=_0x153071[_0x3e7a1f(0x2ec)](Z),{displayName:_0x4d81f7,subtotalType:_0x3c5de5,format:_0x320298,tableFieldId:_0x196143,pivotTableId:_0xe05dd3,unitId:_0x10eaef,subUnitId:_0x324e98}=_0x4691a1,_0x3c579b=(await _0x304c7e[_0x3e7a1f(0x278)]({'unitId':_0x10eaef,'subUnitId':_0x324e98,'pivotTableId':_0xe05dd3,'params':{'type':k[_0x3e7a1f(0x1fe)],'setPivotSetting':{'tableFieldId':_0x196143,'displayName':_0x4d81f7,'subtotalType':_0x3c5de5,'format':_0x320298}}}))[_0x3e7a1f(0x3cb)][_0x3e7a1f(0x215)];if(!_0x3c579b)return!0x1;const {changesets:_0x95b6bf,view:_0x229727,pivotTableConfig:_0x4170e3,isEmpty:_0x297190}=_0x3c579b,_0x1b7e91=_0x4170e3[_0x3e7a1f(0x2b7)],_0x4c8c3e=new _0x2b2847();_0x4c8c3e['formJSON'](_0x229727);const _0x3f17aa={'cellInfo':_0x1b7e91,'view':_0x4c8c3e,'isEmpty':_0x297190};if(!await _0x153071[_0x3e7a1f(0x2ec)](ie)[_0x3e7a1f(0x3fe)][_0x3e7a1f(0x3e1)](be)(!0x0,_0x3f17aa))return!0x1;const _0x1d5bef=we(_0x153071,_0x4c8c3e,_0x1b7e91,_0x297190),_0x73ce03=_e(_0x153071,_0x3f17aa),{undos:_0x59a0c2,redos:_0x2d0b32}=me(_0x351324,{'pivotTableId':_0xe05dd3,'unitId':_0x10eaef,'subUnitId':_0x324e98},_0x95b6bf);return _0x4f9bff([..._0x1d5bef['redos'],..._0x73ce03[_0x3e7a1f(0x32d)],..._0x2d0b32],_0x351324),_0x3534cf['pushUndoRedo']({'unitID':_0x10eaef,'redoMutations':[..._0x1d5bef[_0x3e7a1f(0x32d)],..._0x73ce03[_0x3e7a1f(0x32d)],..._0x2d0b32],'undoMutations':[..._0x1d5bef['undos'],..._0x73ce03['undos'],..._0x59a0c2]}),!0x0;}},ys={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x2ca),async 'handler'(_0x451948,_0x2f5d3a){const _0x5ae11b=_0x3cd867,_0x43e362=_0x451948[_0x5ae11b(0x2ec)](_0x518b26),_0x4500d3=_0x451948[_0x5ae11b(0x2ec)](Z),_0x27da94=_0x451948[_0x5ae11b(0x2ec)](_0x52a4a2);if(!_0x2f5d3a)return!0x1;const {token:_0x286ac4,dataRangeInfo:_0x4976bf,unitId:_0x5c4469,subUnitId:_0x2914ec}=_0x2f5d3a,_0x56a1ad=[],_0x5254f7=[],_0x1d1fca=(await _0x4500d3[_0x5ae11b(0x278)]({'unitId':_0x5c4469,'subUnitId':_0x2914ec,'pivotTableId':_0x286ac4,'params':{'type':k[_0x5ae11b(0x3c8)],'updatePivotSource':{'dataRangeInfo':_0x4976bf,'unitId':_0x5c4469,'subUnitId':_0x2914ec}}}))[_0x5ae11b(0x3cb)][_0x5ae11b(0x3f8)];if(!_0x1d1fca)return!0x1;const {changesets:_0xf22a21,deleteIds:_0x40c05e,collectionConfig:_0x4525e1,oldCollectionConfig:_0x42e9a4,view:_0x31d224,isEmpty:_0x38707e,pivotTableConfig:_0x420985}=_0x1d1fca;_0x5254f7[_0x5ae11b(0x1e6)]({'id':to['id'],'params':{'pivotTableId':_0x286ac4,'deleteIds':_0x40c05e,'collectionJSON':_0x4525e1,'dataRangeInfo':_0x4976bf,'unitId':_0x5c4469,'subUnitId':_0x2914ec}}),_0x56a1ad[_0x5ae11b(0x323)]({'id':to['id'],'params':{'pivotTableId':_0x286ac4,'deleteIds':[],'collectionJSON':_0x42e9a4,'dataRangeInfo':_0x420985[_0x5ae11b(0x3ee)],'unitId':_0x5c4469,'subUnitId':_0x2914ec}});const _0x356dde=_0x420985['targetCellInfo'],_0x10185f=new _0x2b2847();_0x10185f['formJSON'](_0x31d224);const _0x58f799={'cellInfo':_0x356dde,'view':_0x10185f,'isEmpty':_0x38707e};if(!await _0x451948['get'](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x58f799))return!0x1;const _0x37e9c9=we(_0x451948,_0x10185f,_0x356dde,_0x38707e),_0xe72618=_e(_0x451948,_0x58f799),{undos:_0x1cbc02,redos:_0x3510b4}=me(_0x43e362,{'pivotTableId':_0x286ac4,'unitId':_0x5c4469,'subUnitId':_0x2914ec},_0xf22a21);return _0x4f9bff([..._0x37e9c9[_0x5ae11b(0x32d)],..._0xe72618[_0x5ae11b(0x32d)],..._0x5254f7,..._0x1cbc02],_0x43e362),_0x27da94[_0x5ae11b(0x252)]({'unitID':_0x5c4469,'redoMutations':[..._0x37e9c9[_0x5ae11b(0x32d)],..._0xe72618[_0x5ae11b(0x32d)],..._0x5254f7,..._0x1cbc02],'undoMutations':[..._0x37e9c9[_0x5ae11b(0x1d8)],..._0xe72618['undos'],..._0x56a1ad,..._0x3510b4]}),!0x0;}},Ms={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x411),async 'handler'(_0x58890a,_0x42dc59){const _0x330b9b=_0x3cd867;if(!_0x42dc59)return!0x1;const _0x455666=_0x58890a[_0x330b9b(0x2ec)](_0x518b26),_0x444d21=_0x58890a[_0x330b9b(0x2ec)](Z),_0x596a6c=_0x58890a['get'](_0x27e8db),_0x328ed9=_0x58890a['get'](_0x52a4a2),{pivotTableId:_0x3d5654,position:_0x1294e3,index:_0x1770d9}=_0x42dc59,_0x106e5b=_0x4e8dc1(_0x596a6c);if(!_0x106e5b)return!0x1;const {unitId:_0x10866d,subUnitId:_0x1f0958}=_0x106e5b,_0x1961d7=(await _0x444d21[_0x330b9b(0x278)]({'unitId':_0x10866d,'subUnitId':_0x1f0958,'pivotTableId':_0x3d5654,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x1294e3,'index':_0x1770d9}}}))['result'][_0x330b9b(0x2f0)];if(!_0x1961d7)return!0x1;const {changesets:_0x15439a,view:_0x43dc8b,isEmpty:_0x3b6370,pivotTableConfig:_0xfd6bc3}=_0x1961d7,_0x223346=_0xfd6bc3[_0x330b9b(0x2b7)],_0x59580d=new _0x2b2847();_0x59580d[_0x330b9b(0x2b6)](_0x43dc8b);const _0x41b04b=_0x58890a['get'](ie),_0x1f5e33={'cellInfo':_0x223346,'view':_0x59580d,'isEmpty':_0x3b6370};if(!await _0x41b04b[_0x330b9b(0x3fe)][_0x330b9b(0x3e1)](be)(!0x0,_0x1f5e33))return!0x1;const _0x56c300=we(_0x58890a,_0x59580d,_0x223346,_0x3b6370),_0x519d9e=_e(_0x58890a,_0x1f5e33),{undos:_0x118ecd,redos:_0x214572}=me(_0x455666,{'pivotTableId':_0x3d5654,'unitId':_0x10866d,'subUnitId':_0x1f0958},_0x15439a);return _0x4f9bff([..._0x56c300[_0x330b9b(0x32d)],..._0x519d9e['redos'],..._0x214572],_0x455666),_0x328ed9[_0x330b9b(0x252)]({'unitID':_0x10866d,'redoMutations':[..._0x56c300[_0x330b9b(0x32d)],..._0x519d9e[_0x330b9b(0x32d)],..._0x214572],'undoMutations':[..._0x56c300[_0x330b9b(0x1d8)],..._0x519d9e['undos'],..._0x118ecd]}),!0x0;}},ws={'type':_0x502ab6['COMMAND'],'id':_0x3cd867(0x3b4),'handler':(_0x4cc520,_0x44c268)=>{const _0x49cd17=_0x3cd867,_0xcc0b54=_0x4cc520[_0x49cd17(0x2ec)](_0x518b26),_0x5e29fc=_0x4cc520[_0x49cd17(0x2ec)](_0x52a4a2),_0x45e65=_0x4cc520[_0x49cd17(0x2ec)](he),_0x30972b=_0x4cc520['get'](_0x27e8db);if(!_0x44c268)return!0x1;const _0x203f40=_0x4e8dc1(_0x30972b);if(!_0x203f40)return!0x1;const {unitId:_0x2a8d20,subUnitId:_0x3725cb,workbook:_0x34f56e}=_0x203f40,_0x55a0d7=_0x45e65['getPivotTableConfig'](_0x44c268[_0x49cd17(0x3f9)][_0x49cd17(0x2df)],_0x44c268[_0x49cd17(0x3f9)][_0x49cd17(0x2a5)],_0x44c268[_0x49cd17(0x3c6)]);if(!_0x55a0d7)return!0x1;const _0x5d8caa=_0x34f56e[_0x49cd17(0x397)](_0x44c268[_0x49cd17(0x2b7)][_0x49cd17(0x2a5)]);if(!_0x5d8caa)throw new Error(_0x49cd17(0x37d));const _0x374162=_0x5d8caa[_0x49cd17(0x3fa)](),_0x255929=_0x5d8caa[_0x49cd17(0x2b1)]();if(_0x44c268[_0x49cd17(0x2b7)][_0x49cd17(0x245)]>_0x374162||_0x44c268[_0x49cd17(0x2b7)][_0x49cd17(0x398)]>_0x255929)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x50bcf3=[{'id':pt['id'],'params':{'unitId':_0x2a8d20,'subUnitId':_0x44c268[_0x49cd17(0x2b7)][_0x49cd17(0x2a5)],'pivotTableId':_0x44c268[_0x49cd17(0x3c6)],'targetCellPosition':{'row':_0x44c268[_0x49cd17(0x2b7)]['row'],'col':_0x44c268[_0x49cd17(0x2b7)]['col']}}}],_0x492532=[{'id':pt['id'],'params':{'unitId':_0x2a8d20,'subUnitId':_0x3725cb,'pivotTableId':_0x44c268[_0x49cd17(0x3c6)],'targetCellPosition':{'row':_0x55a0d7[_0x49cd17(0x2b7)][_0x49cd17(0x245)],'col':_0x55a0d7['targetCellInfo']['col']}}}];return _0x4f9bff(_0x50bcf3,_0xcc0b54)&&_0x5e29fc['pushUndoRedo']({'unitID':_0x2a8d20,'undoMutations':_0x492532,'redoMutations':_0x50bcf3}),!0x0;}},_s={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x230),async 'handler'(_0x4ddf32,_0x25b761){const _0x14e87f=_0x3cd867;if(!_0x25b761)return!0x1;const _0x4d674d=_0x4ddf32[_0x14e87f(0x2ec)](_0x518b26),{pivotTableId:_0x12870a,fieldId:_0x17a04f,valueFilterInfo:_0x31e72b,unitId:_0x645505,subUnitId:_0x47bea6}=_0x25b761,_0x4dc28a=_0x4ddf32['get'](Z),_0x289b63=_0x4ddf32['get'](_0x52a4a2),_0x45f670=(await _0x4dc28a[_0x14e87f(0x278)]({'unitId':_0x645505,'subUnitId':_0x47bea6,'pivotTableId':_0x12870a,'params':{'type':k[_0x14e87f(0x2d3)],'setValuePivotFilter':{'tableFieldId':_0x17a04f,'filterInfo':_0x31e72b}}}))[_0x14e87f(0x3cb)][_0x14e87f(0x1f6)];if(!_0x45f670)return!0x1;const {changesets:_0x5e1483,pivotTableConfig:_0xdfa94b,isEmpty:_0x17431e,view:_0x548a1f}=_0x45f670,_0x312ce3=_0xdfa94b[_0x14e87f(0x2b7)],_0x50e1ec=new _0x2b2847();_0x50e1ec[_0x14e87f(0x2b6)](_0x548a1f);const _0x371dc3={'cellInfo':_0x312ce3,'view':_0x50e1ec,'isEmpty':_0x17431e};if(!await _0x4ddf32[_0x14e87f(0x2ec)](ie)[_0x14e87f(0x3fe)][_0x14e87f(0x3e1)](be)(!0x0,_0x371dc3))return!0x1;const _0x7c6bd4=we(_0x4ddf32,_0x50e1ec,_0x312ce3,_0x17431e),_0x52f388=_e(_0x4ddf32,_0x371dc3),{undos:_0x315022,redos:_0x5d4f6d}=me(_0x4d674d,{'pivotTableId':_0x12870a,'unitId':_0x645505,'subUnitId':_0x47bea6},_0x5e1483);return _0x4f9bff([..._0x7c6bd4['redos'],..._0x52f388[_0x14e87f(0x32d)],..._0x5d4f6d],_0x4d674d),_0x289b63[_0x14e87f(0x252)]({'unitID':_0x645505,'redoMutations':[..._0x7c6bd4['redos'],..._0x52f388[_0x14e87f(0x32d)],..._0x5d4f6d],'undoMutations':[..._0x7c6bd4[_0x14e87f(0x1d8)],..._0x52f388[_0x14e87f(0x1d8)],..._0x315022]}),!0x0;}},Fs={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x30e),async 'handler'(_0x2ea8d1,_0x2809a9){const _0x1243da=_0x3cd867;if(!_0x2809a9)return!0x1;const _0x874e36=_0x2ea8d1[_0x1243da(0x2ec)](_0x518b26),_0x457d78=_0x2ea8d1[_0x1243da(0x2ec)](_0x52a4a2),_0x5f567f=_0x2ea8d1[_0x1243da(0x2ec)](Z),{pivotTableConfig:_0x413e4a,pivotTableId:_0x5079b5,unitId:_0x2a6eff,subUnitId:_0x3f9589}=_0x2809a9,_0x2ecf3d=(await _0x5f567f[_0x1243da(0x278)]({'unitId':_0x2a6eff,'subUnitId':_0x3f9589,'pivotTableId':_0x5079b5,'params':{'type':k[_0x1243da(0x288)],'setPivotTableConfig':{'pivotTableId':_0x5079b5,'pivotTableConfig':_0x413e4a}}}))[_0x1243da(0x3cb)]['setPivotTableConfig'];if(!_0x2ecf3d)return!0x1;const {changesets:_0x5a9266}=_0x2ecf3d,{redos:_0x3bdd45,undos:_0x15fc88}=me(_0x874e36,{'pivotTableId':_0x5079b5,'unitId':_0x2a6eff,'subUnitId':_0x3f9589},_0x5a9266);return _0x4f9bff(_0x3bdd45,_0x874e36),_0x457d78['pushUndoRedo']({'unitID':_0x2a6eff,'redoMutations':_0x3bdd45,'undoMutations':_0x15fc88}),!0x0;}},Ds={'type':_0x502ab6[_0x3cd867(0x317)],'id':_0x3cd867(0x23d),async 'handler'(_0xffb87a,_0x4b0782){const _0x65998a=_0x3cd867;if(!_0x4b0782)return!0x1;const _0x55458a=_0xffb87a[_0x65998a(0x2ec)](_0x518b26),_0x287a49=_0xffb87a[_0x65998a(0x2ec)](_0x52a4a2),_0x191994=_0xffb87a[_0x65998a(0x2ec)](Z),{resetArea:_0x485c83,pivotTableId:_0x66c456,unitId:_0xa35827,subUnitId:_0x1c1952}=_0x4b0782,_0xd3bdde=(await _0x191994[_0x65998a(0x278)]({'unitId':_0xa35827,'subUnitId':_0x1c1952,'pivotTableId':_0x66c456,'params':{'type':k[_0x65998a(0x1f3)],'resetPivotTable':{'pivotTableId':_0x66c456,'resetArea':_0x485c83}}}))[_0x65998a(0x3cb)][_0x65998a(0x24a)];if(!_0xd3bdde)return!0x1;const {changesets:_0x18fa5e}=_0xd3bdde,{redos:_0x4aff83,undos:_0x426027}=me(_0x55458a,{'pivotTableId':_0x66c456,'unitId':_0xa35827,'subUnitId':_0x1c1952},_0x18fa5e);return _0x4f9bff(_0x4aff83,_0x55458a),_0x287a49[_0x65998a(0x252)]({'unitID':_0xa35827,'redoMutations':_0x4aff83,'undoMutations':_0x426027}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x502ab6[_0x3cd867(0x41b)],'handler':(_0x2d1b8f,_0x5d8051)=>{const _0x4bdb72=_0x3cd867;if(!_0x5d8051)return!0x1;if(!!_0x2d1b8f[_0x4bdb72(0x2ec)](_0x52a20c)[_0x4bdb72(0x37f)](H))return!0x0;const {unitId:_0x58de0a,subUnitId:_0x3706e8,pivotTableId:_0x19f6f0,tableFieldId:_0x303e5e,dateType:_0x55d42e}=_0x5d8051,_0x58ee95=_0x2d1b8f['get'](J),_0xdeefb6=_0x58ee95[_0x4bdb72(0x2bb)](_0x19f6f0);if(!_0xdeefb6)return!0x1;const _0x3d5d44=_0xdeefb6[_0x4bdb72(0x378)](_0x303e5e);if(!_0x3d5d44)return!0x1;const _0x1f4dff=_0x3d5d44[_0x4bdb72(0x247)](),_0x4dcb4e=_0xdeefb6[_0x4bdb72(0x3c5)](_0x1f4dff),_0x2389e2=(_0x4dcb4e==null?void 0x0:_0x4dcb4e[_0x4bdb72(0x2e1)]())+'\x20'+Ho(_0x2d1b8f,_0x55d42e);_0x58ee95[_0x4bdb72(0x2db)](_0x58de0a,_0x19f6f0)['setDisplayName'](_0x3d5d44['id'],_0x2389e2);const _0x4aebab=_0xdeefb6[_0x4bdb72(0x343)](_0x303e5e);if(!_0x4aebab)return!0x1;_0xdeefb6[_0x4bdb72(0x28e)](_0x4aebab[_0x4bdb72(0x23b)](),_0x2389e2),_0x3d5d44[_0x4bdb72(0x3dd)](_0x55d42e);const _0x1a8571=_0x58ee95[_0x4bdb72(0x423)](_0x58de0a,_0x3706e8,_0x19f6f0);return _0x58ee95[_0x4bdb72(0x324)]({'unitId':_0x58de0a,'subUnitId':_0x3706e8,'token':_0x19f6f0,'type':$['Set'],'pivotConfig':_0x1a8571}),!0x0;}},Rs={'id':_0x3cd867(0x35c),'type':_0x502ab6[_0x3cd867(0x317)],'handler':(_0x41181c,_0xdad474)=>{const _0x5e2044=_0x3cd867;if(!_0xdad474)return!0x1;const _0x3c8914=_0x41181c[_0x5e2044(0x2ec)](_0x52a4a2),{unitId:_0x5115cf,subUnitId:_0x51dd61,pivotTableId:_0x2db3cb,tableFieldId:_0x27ed26}=_0xdad474,_0x1ed28b=[],_0x3ec0e1=[],_0x514ab1=_0x41181c['get'](he),_0x1d442f=_0x514ab1[_0x5e2044(0x2db)](_0x5115cf,_0x2db3cb),_0x31825e=_0x514ab1[_0x5e2044(0x423)](_0x5115cf,_0x51dd61,_0x2db3cb);if(!(_0x31825e!=null&&_0x31825e[_0x5e2044(0x29b)]['dimension']))return!0x1;const _0x5e39ba=Object[_0x5e2044(0x30c)](_0x31825e[_0x5e2044(0x29b)]['dimension'])['find'](_0x1b68a4=>_0x1b68a4['id']===_0x27ed26);if(!_0x5e39ba)return!0x1;const _0x3f7d52=_0x5e39ba[_0x5e2044(0x389)];if(!(_0x1d442f!=null&&_0x1d442f[_0x5e2044(0x407)]))return!0x1;const _0x12dbb8=Object[_0x5e2044(0x30c)](_0x1d442f==null?void 0x0:_0x1d442f[_0x5e2044(0x407)])[_0x5e2044(0x35f)](_0x147dc8=>_0x147dc8['id']===_0x3f7d52);if(!_0x12dbb8)return!0x1;_0x30e487(_0x12dbb8)&&_0x1ed28b[_0x5e2044(0x1e6)]({'id':oo['id'],'params':{..._0xdad474,'dateType':_0x12dbb8[_0x5e2044(0x2ff)]}}),_0x3ec0e1[_0x5e2044(0x1e6)]({'id':oo['id'],'params':{..._0xdad474}});const _0x173819=_0x41181c[_0x5e2044(0x2ec)](_0x518b26);return _0x4f9bff(_0x3ec0e1,_0x173819)&&_0x3c8914[_0x5e2044(0x252)]({'unitID':_0x5115cf,'undoMutations':_0x1ed28b,'redoMutations':_0x3ec0e1}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x37a0b0,_0x2f00f6,_0xe090cc,_0x5b04fe)=>{const _0x1ffcd9=_0x3cd867;for(var _0x5aa289=_0x5b04fe>0x1?void 0x0:_0x5b04fe?Ns(_0x2f00f6,_0xe090cc):_0x2f00f6,_0x42cec5=_0x37a0b0[_0x1ffcd9(0x2f7)]-0x1,_0x2e7c32;_0x42cec5>=0x0;_0x42cec5--)(_0x2e7c32=_0x37a0b0[_0x42cec5])&&(_0x5aa289=_0x2e7c32(_0x5aa289)||_0x5aa289);return _0x5aa289;},Ye=(_0x454379,_0x2789f8)=>(_0x7bf8b1,_0x5300c3)=>_0x2789f8(_0x7bf8b1,_0x5300c3,_0x454379);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Os=(_0xe6253f,_0x46a2d2,_0x28368f)=>{const _0x84d76f=_0x3cd867,_0x8a177b=_0xe6253f[_0x84d76f(0x26a)];_0xe6253f[_0x84d76f(0x2b8)](_0xe9e767=>{const _0x43193f=_0x84d76f,_0x21bdce=_0xe9e767[_0x43193f(0x23b)](),_0x52e04a=_0xe9e767[_0x43193f(0x2a4)](),_0x265b5a=_0xe9e767[_0x43193f(0x34e)](),_0x125e85=_0xe9e767[_0x43193f(0x263)]();_0x46a2d2[_0x52e04a]&&_0x46a2d2[_0x52e04a]===_0x125e85&&_0x265b5a===_0x125e85&&(_0xe6253f[_0x43193f(0x28e)](_0x21bdce,_0x8a177b[_0x43193f(0x263)](_0x52e04a)),_0xe9e767[_0x43193f(0x331)](_0x8a177b[_0x43193f(0x263)](_0x52e04a)));}),_0xe6253f['iterateFieldByArea'](_0x3e27e3['Value'],_0x3e98af=>{const _0x1db853=_0x84d76f,_0x56e22e=_0x3e98af[_0x1db853(0x23b)](),_0x4bd14c=_0x3e98af[_0x1db853(0x2a4)](),_0x4f3dad=_0x3e98af['getSourceName'](),_0x595aa7=_0x3e98af['getDisplayName'](),_0x138fa4=_0x3e98af['getSubtotal'](),_0x570856=_0x28368f(_0x4f3dad,_0x138fa4);_0x46a2d2[_0x4bd14c]&&_0x46a2d2[_0x4bd14c]===_0x4f3dad&&_0x570856===_0x595aa7&&(_0xe6253f[_0x1db853(0x28e)](_0x56e22e,_0x28368f(_0x8a177b['getDisplayName'](_0x4bd14c),_0x138fa4)),_0x3e98af[_0x1db853(0x331)](_0x8a177b[_0x1db853(0x263)](_0x4bd14c)));});},Es=(_0x5550a0,_0x3d4a55,_0x3a9d15)=>{const _0x776245=_0x3cd867;var _0x3d9a41,_0x351880;const {arrayFormulaCellData:_0x1f15be,unitData:_0x17c630}=_0x3d4a55,{unitId:_0x316f8c,subUnitId:_0x3f6f6d}=_0x3a9d15,_0xffb3e7=_0x3a9d15[_0x776245(0x256)],{startColumn:_0x381aef,endColumn:_0x4b0aa2}=_0xffb3e7,_0x2592c7=(_0x3d9a41=_0x1f15be==null?void 0x0:_0x1f15be[_0x316f8c])==null?void 0x0:_0x3d9a41[_0x3f6f6d],_0x5b5f06=(_0x351880=_0x17c630==null?void 0x0:_0x17c630[_0x316f8c])==null?void 0x0:_0x351880[_0x3f6f6d],_0x3ec387=new Set(),_0x3ef538=_0x4b0aa2-_0x381aef+0x1,{dirtyRanges:_0x222b62}=_0x5550a0;if(_0x222b62)for(const {range:_0x14ad62,sheetId:_0x14c4ef,unitId:_0x3e24ba}of _0x222b62){if(_0x14c4ef!==_0x3f6f6d||_0x316f8c!==_0x3e24ba)continue;const _0x347569=_0x875ff4['getIntersects'](_0x14ad62,_0xffb3e7);if(_0x347569){const {startColumn:_0x270dcb,endColumn:_0x5a7467}=_0x347569;for(let _0x41e5bf=_0x270dcb;_0x41e5bf<=_0x5a7467;_0x41e5bf++)_0x3ec387[_0x776245(0x314)](_0x41e5bf);}}if(_0x3ec387[_0x776245(0x3d1)]===_0x3ef538||_0x3ec387[_0x776245(0x3d1)]===_0x3ef538)return Array[_0x776245(0x329)](_0x3ec387);if(_0x5b5f06){const _0x3a3a47=_0x5b5f06[_0x776245(0x37e)](),_0x1fb9b8=Object[_0x776245(0x347)](_0x3a3a47);for(const _0x34b3ee of _0x1fb9b8){const _0x3b935d=Number(_0x34b3ee),_0x4366e9=_0x3a3a47[_0x3b935d];if(_0x3ec387[_0x776245(0x3d1)]===_0x3ef538)break;for(const _0xc225bb in _0x4366e9){const _0xe73926=Number(_0xc225bb);_0xe73926<_0x381aef||_0xe73926>_0x4b0aa2||_0x3ec387['add'](_0xe73926);}}}if(_0x2592c7){const _0x47d885=_0x2592c7[_0x776245(0x37e)](),_0xb31891=Object[_0x776245(0x347)](_0x47d885);for(const _0x3ceee4 of _0xb31891){const _0x3c7dea=Number(_0x3ceee4),_0x195a2e=_0x47d885[_0x3c7dea];if(_0x3ec387[_0x776245(0x3d1)]===_0x3ef538)break;for(const _0x35f024 in _0x195a2e){const _0x8aa616=Number(_0x35f024);_0x8aa616<_0x381aef||_0x8aa616>_0x4b0aa2||_0x3ec387[_0x776245(0x314)](_0x8aa616);}}}return Array[_0x776245(0x329)](_0x3ec387);},xs=_0x53f0ae=>{const _0x18bdb6=_0x3cd867,_0x18435a=new Set(),_0x5cf801=[];for(const _0x11a7c0 of _0x53f0ae){const _0x22a05f=_0x11a7c0[_0x18bdb6(0x354)]+','+_0x11a7c0[_0x18bdb6(0x33c)]+','+_0x11a7c0[_0x18bdb6(0x2c4)]+','+_0x11a7c0[_0x18bdb6(0x2d1)];_0x18435a[_0x18bdb6(0x304)](_0x22a05f)||(_0x18435a[_0x18bdb6(0x314)](_0x22a05f),_0x5cf801[_0x18bdb6(0x1e6)](_0x11a7c0));}return _0x5cf801;};let ct=class extends _0x106977{constructor(_0x4d1fea,_0x6cde7d,_0x4f5b3a,_0x21e810,_0x24f63b,_0x2bfd14){const _0x5a49de=_0x3cd867;super(),V(this,_0x5a49de(0x294),new _0x13119c(!0x0)),V(this,_0x5a49de(0x255),_0x370346=>{const _0x4787c1=_0x5a49de;this[_0x4787c1(0x294)][_0x4787c1(0x2d0)](!0x1);}),V(this,_0x5a49de(0x209),_0x39c3fb=>{const _0x233999=_0x5a49de;this[_0x233999(0x294)][_0x233999(0x2d0)](!0x0);}),(this[_0x5a49de(0x22b)]=_0x4d1fea,this[_0x5a49de(0x413)]=_0x6cde7d,this['_featureCalculationManagerService']=_0x4f5b3a,this[_0x5a49de(0x1dc)]=_0x21e810,this['_globalComputingSrv']=_0x24f63b,this[_0x5a49de(0x231)]=_0x2bfd14,this['_init'](),this[_0x5a49de(0x25f)]());}[_0x3cd867(0x333)](){const _0x139ceb=_0x3cd867;this[_0x139ceb(0x3e6)](),this['_subjectViewChange'](),this[_0x139ceb(0x28c)](),this['_subjectFieldsCollectionChange']();}[_0x3cd867(0x301)](){const _0x5de247=_0x3cd867;this[_0x5de247(0x43e)][_0x5de247(0x1d4)](this[_0x5de247(0x294)]),_0x5ca8f0[_0x5de247(0x330)](_0x1170ca[_0x5de247(0x3c3)],this['_globalComputedStartHelpFunc']),_0x5ca8f0['registerCallbackWithEvent'](_0x1170ca[_0x5de247(0x434)],this[_0x5de247(0x209)]);}[_0x3cd867(0x25f)](){const _0x33d909=_0x3cd867;this[_0x33d909(0x321)](this[_0x33d909(0x1dc)]['onCommandExecuted'](_0x29a7cf=>{const _0x5147ca=_0x33d909;_0x29a7cf['id']===_0x59246c['id']&&this[_0x5147ca(0x22b)][_0x5147ca(0x242)](_0x29a7cf[_0x5147ca(0x35b)]);})),this['disposeWithMe'](this[_0x33d909(0x1dc)][_0x33d909(0x2ce)](_0x3d6144=>{const _0x5e4455=_0x33d909;if(_0x3d6144['id']!==ro['id'])return;const _0x553f8b=_0x3d6144['params'],{unitId:_0x18059f,subUnitId:_0x3a0a46,pivotTableId:_0x188ec8}=_0x553f8b,_0x1d97a8=_0x553f8b['params'][_0x5e4455(0x23c)],_0x3555b6={};switch(_0x1d97a8){case k['Filter']:{const _0x20e21c=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x3ca)];if(!_0x20e21c)return;const {row:_0x434d27,col:_0xfc8492,cellData:_0x97002c,pivotItemRenderInfoCache:_0x5e446d,tableFieldId:_0x2cf9c1}=_0x20e21c,_0x2687be=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x553f8b[_0x5e4455(0x3c6)]);if(!_0x2687be||!_0x5e446d)return;if(_0x2cf9c1){const _0x282a77=_0x2687be[_0x5e4455(0x378)](_0x2cf9c1);if(!_0x282a77)return;_0x3555b6[_0x5e4455(0x3ca)]={..._0x2687be[_0x5e4455(0x2ee)](_0x282a77),'tableFieldId':_0x2cf9c1,'pivotTableId':_0x553f8b[_0x5e4455(0x3c6)],'filterInfo':_0x2687be[_0x5e4455(0x33a)](_0x2cf9c1),'sortInfo':_0x2687be[_0x5e4455(0x26e)](_0x2cf9c1),'format':_0x2687be[_0x5e4455(0x41a)](_0x2cf9c1)};}else{const _0x3e1569=Ei(_0x434d27,_0xfc8492,_0x97002c,_0x2687be,_0x5e446d),_0x4e8f5d=_0x3e1569==null?void 0x0:_0x3e1569['filterId'];if(!_0x4e8f5d)return;const _0x5139ab=_0x2687be[_0x5e4455(0x378)](_0x4e8f5d);if(!_0x5139ab)return;_0x3555b6[_0x5e4455(0x3ca)]={..._0x2687be['getDataFieldItemInfo'](_0x5139ab),'tableFieldId':_0x4e8f5d,'pivotTableId':_0x553f8b['pivotTableId'],'filterInfo':_0x2687be['getFilterInfo'](_0x4e8f5d),'sortInfo':_0x2687be[_0x5e4455(0x26e)](_0x4e8f5d),'format':_0x2687be['getFieldFormat'](_0x4e8f5d)};}}break;case k[_0x5e4455(0x3c1)]:{const _0x296cbe=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x309)];if(!_0x296cbe)return;const {pivotTableId:_0x1c00cb}=_0x296cbe,_0xdbbf62=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x1c00cb);if(!_0xdbbf62)return;const _0x432e93=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x1c00cb),_0x3ba818=xi(_0xdbbf62,_0x1c00cb,_0x432e93);_0x3555b6[_0x5e4455(0x309)]=_0x3ba818;}break;case k[_0x5e4455(0x2a0)]:{const _0x2545b3=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x188ec8),_0x31c1ff=this[_0x5e4455(0x22b)]['getDataFieldManager'](_0x18059f),_0x302a20=_0x31c1ff['getCollection'](_0x188ec8);let _0x582449=null;const _0x5b7b1b=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8),_0xa79238=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x338)];if(!_0x2545b3||!_0x5b7b1b||!_0xa79238)return!0x1;const {dataFieldId:_0x3294e3,fieldArea:_0x3f4637,index:_0x51b398}=_0xa79238;_0x2545b3['startCollectChangeset']();const _0x1552e1=_0x2545b3[_0x5e4455(0x2e2)](_0x3294e3,_0x3f4637,_0x51b398);if(_0x1552e1&&_0x3f4637===_0x3e27e3['Value']){const _0x2fff07=_0x1552e1[_0x5e4455(0x23b)](),_0x297015=_0x2545b3[_0x5e4455(0x378)](_0x2fff07);if(_0x297015){const _0x2cedda=_0x297015==null?void 0x0:_0x297015[_0x5e4455(0x31b)]();_0x2545b3['setSubtotalType'](_0x1552e1[_0x5e4455(0x23b)](),_0x2cedda===_0x3dd9e0[_0x5e4455(0x29d)]?_0x390d0d[_0x5e4455(0x214)]:_0x390d0d[_0x5e4455(0x1fc)]);}const _0x572a4c=_0x2545b3[_0x5e4455(0x2e7)](),_0x181c4c=_0x2545b3[_0x5e4455(0x201)](),_0x266b30=_0x2545b3[_0x5e4455(0x410)](_0x3e27e3[_0x5e4455(0x39f)]);if(_0x572a4c===-0x1&&_0x266b30>0x1){const _0x3ea273=_0x181c4c===_0x2b3a3d[_0x5e4455(0x23f)]?_0x2b3a3d[_0x5e4455(0x2e0)]:_0x181c4c,_0x3e2dbf=_0x3ea273===_0x2b3a3d[_0x5e4455(0x41c)]?_0x3e27e3[_0x5e4455(0x41c)]:_0x3e27e3[_0x5e4455(0x2e0)];_0x2545b3[_0x5e4455(0x2f0)](_0x3ea273,_0x2545b3[_0x5e4455(0x410)](_0x3e2dbf));}}else{if(_0x1552e1&&(_0x3f4637===_0x3e27e3[_0x5e4455(0x41c)]||_0x3f4637===_0x3e27e3[_0x5e4455(0x2e0)])){const _0x2a18a9=_0x1552e1['getId'](),_0xce5da0=_0x2545b3[_0x5e4455(0x378)](_0x2a18a9);if(_0xce5da0&&(_0xce5da0==null?void 0x0:_0xce5da0[_0x5e4455(0x31b)]())===_0x3dd9e0['date']){const _0x278f02=_0xce5da0[_0x5e4455(0x2bc)]();if(_0x278f02&&_0x2545b3[_0x5e4455(0x436)](_0x1552e1[_0x5e4455(0x23b)](),_0x278f02),!_0x302a20[_0x5e4455(0x2dc)]()[_0x5e4455(0x3de)](_0x18fdb0=>{const _0x147dfa=_0x5e4455,_0x556693=_0x302a20[_0x147dfa(0x32b)](_0x18fdb0);return _0x547986(_0x556693)?_0x556693[_0x147dfa(0x355)]()[_0x147dfa(0x276)]===_0x3294e3:!0x1;})){const _0x43820d=_0x31c1ff['createDataFieldId'](),_0x49a14b=Gi(_0xce5da0[_0x5e4455(0x394)],_0xce5da0[_0x5e4455(0x243)]),_0x24ca76=_0xce5da0[_0x5e4455(0x2e1)]()+'\x20-\x20'+Ho(this[_0x5e4455(0x231)],_0x49a14b),_0x198ca0=new _0x2c0e98(_0x43820d,_0x24ca76,_0x28e17f(0x3),_0xce5da0[_0x5e4455(0x23b)](),_0x49a14b);_0x31c1ff[_0x5e4455(0x445)](_0x198ca0),_0x302a20['addField'](_0x43820d,_0x24ca76),_0x2545b3[_0x5e4455(0x2e2)](_0x43820d,_0x3f4637,(_0x51b398!=null?_0x51b398:0x0)+0x1),_0x582449=_0x198ca0;}}}}const _0x3800b3=_0x2545b3[_0x5e4455(0x3cd)](),_0x110226=_0x2545b3[_0x5e4455(0x420)]()[_0x5e4455(0x419)]();let _0x1a8297;if(_0x582449){_0x1a8297=_0x582449[_0x5e4455(0x419)]();const _0x1d909c=_0x582449[_0x5e4455(0x23b)]();_0x302a20['deleteField'](_0x1d909c);let _0x18ee82=!0x0;for(const _0x452bf3 in _0x31c1ff[_0x5e4455(0x3e2)])if(_0x31c1ff[_0x5e4455(0x3e2)][_0x452bf3]['getFieldIds']()[_0x5e4455(0x409)](_0x1d909c)){_0x18ee82=!0x1;break;}_0x18ee82&&_0x31c1ff['deleteDataField'](_0x1d909c);}const _0x2f7ed9=_0x2545b3[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x338)]={'view':_0x110226,'changesets':_0x2f7ed9,'isEmpty':_0x3800b3,'pivotTableConfig':_0x5b7b1b,'shouldBeAddedGroupJSON':_0x1a8297};}break;case k[_0x5e4455(0x27c)]:{const _0x494d7c=_0x553f8b[_0x5e4455(0x35b)]['addPivotTable'];if(!_0x494d7c)return;const _0x3e1a9a=_0x494d7c[_0x5e4455(0x3ee)],_0x8a4875=_0x494d7c['pivotTableId'],{collection:_0x47c0fd}=this[_0x5e4455(0x22b)][_0x5e4455(0x371)]({'unitId':_0x3e1a9a['unitId'],'sheetName':_0x3e1a9a['sheetName'],'subUnitId':_0x3e1a9a['subUnitId'],'range':_0x3e1a9a[_0x5e4455(0x256)]}),_0x3d05d1=new _0x5ca8f0(_0x47c0fd,void 0x0,_0x8a4875),_0x25cefb=_0x3d05d1[_0x5e4455(0x420)](),_0x36e541=_0x3d05d1['toJSON'](),_0x41d527=_0x47c0fd[_0x5e4455(0x419)]();_0x3555b6['addPivotTable']={'view':_0x25cefb,'fieldsConfig':_0x36e541,'collectionConfig':_0x41d527,'isEmpty':_0x3d05d1[_0x5e4455(0x3cd)]()};}break;case k['MovePivotField']:{const _0x3aec97=_0x553f8b['params']['movePivotField'];if(!_0x3aec97)return;const {fieldId:_0x201d0b,area:_0x486c3b,index:_0x8acdbb}=_0x3aec97,_0x29725e=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x29725e)return;const _0x28835a=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x188ec8);if(!_0x28835a)return;_0x28835a[_0x5e4455(0x308)]();const {area:_0x1b3e95,index:_0x198b83}=_0x28835a[_0x5e4455(0x2cd)](_0x201d0b);if(_0x28835a[_0x5e4455(0x1e2)](_0x201d0b,_0x486c3b,_0x8acdbb),_0x486c3b===_0x3e27e3[_0x5e4455(0x39f)]&&_0x28835a[_0x5e4455(0x343)](_0x201d0b)[_0x5e4455(0x286)]()===void 0x0){const _0x29f29d=_0x28835a['getTableFieldById'](_0x201d0b);if(_0x29f29d&&_0x29f29d[_0x5e4455(0x286)]()===void 0x0){const _0x5bc879=_0x28835a['getDataFieldByTableId'](_0x201d0b);if(_0x5bc879){const _0x7d3519=_0x5bc879==null?void 0x0:_0x5bc879['getFieldDataType']();_0x28835a[_0x5e4455(0x205)](_0x201d0b,_0x7d3519===_0x3dd9e0[_0x5e4455(0x29d)]?_0x390d0d[_0x5e4455(0x214)]:_0x390d0d[_0x5e4455(0x1fc)]);}}}const _0x4225a8=_0x28835a[_0x5e4455(0x201)](),_0x3e178c=_0x28835a[_0x5e4455(0x2e7)](),_0x27e2ac=_0x28835a[_0x5e4455(0x410)](_0x3e27e3['Value'])>0x1;if(_0x27e2ac&&_0x1b3e95===_0x486c3b&&(_0x486c3b===_0x3e27e3[_0x5e4455(0x41c)]&&_0x4225a8===_0x2b3a3d['Row']||_0x486c3b===_0x3e27e3[_0x5e4455(0x2e0)]&&_0x4225a8===_0x2b3a3d[_0x5e4455(0x2e0)])){let _0x1dbdcf=_0x3e178c;_0x198b83<=_0x3e178c&&_0x1dbdcf--,_0x8acdbb<=_0x3e178c&&_0x1dbdcf++,_0x28835a[_0x5e4455(0x2f0)](_0x4225a8,_0x1dbdcf);}else _0x27e2ac&&(_0x1b3e95===_0x3e27e3[_0x5e4455(0x41c)]&&_0x4225a8===_0x2b3a3d[_0x5e4455(0x41c)]||_0x1b3e95===_0x3e27e3[_0x5e4455(0x2e0)]&&_0x4225a8===_0x2b3a3d[_0x5e4455(0x2e0)])&&_0x3e178c>=_0x198b83&&_0x28835a[_0x5e4455(0x2f0)](_0x4225a8,_0x3e178c-0x1),_0x27e2ac&&(_0x486c3b===_0x3e27e3['Row']&&_0x4225a8===_0x2b3a3d['Row']||_0x486c3b===_0x3e27e3['Column']&&_0x4225a8===_0x2b3a3d[_0x5e4455(0x2e0)])&&_0x3e178c>=_0x8acdbb&&_0x28835a[_0x5e4455(0x2f0)](_0x4225a8,_0x3e178c+0x1);const _0x2d75fd=_0x28835a[_0x5e4455(0x420)](),_0x2bd0da=_0x28835a[_0x5e4455(0x3cd)](),_0x5daaab=_0x28835a['endCollectChangeset']();_0x3555b6[_0x5e4455(0x2f4)]={'view':_0x2d75fd[_0x5e4455(0x419)](),'changesets':_0x5daaab,'isEmpty':_0x2bd0da,'pivotTableConfig':_0x29725e};}break;case k['RemovePivotField']:{const _0x559322=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x356)];if(!_0x559322)return;const _0x240345=_0x559322[_0x5e4455(0x217)],_0x50ec6c=this[_0x5e4455(0x22b)]['getPivotTableConfig'](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x50ec6c)return!0x1;const _0x185008=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x188ec8);if(!_0x185008)return!0x1;_0x185008[_0x5e4455(0x308)]();for(const _0x1c3927 of _0x240345){const {area:_0xad1d3b}=_0x185008['getFieldPositionInfoById'](_0x1c3927);_0xad1d3b===_0x3e27e3[_0x5e4455(0x39f)]&&_0x185008['removeValueFilterInfoByValueFieldId'](_0x1c3927),(_0xad1d3b===_0x3e27e3[_0x5e4455(0x41c)]||_0xad1d3b===_0x3e27e3[_0x5e4455(0x2e0)])&&_0x185008['removeValueFilterInfo'](_0x1c3927),_0x185008[_0x5e4455(0x429)](_0x1c3927);}const _0x5b0c95=_0x185008[_0x5e4455(0x3cd)](),_0x301f49=_0x185008[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x59e611=_0x185008[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x356)]={'changesets':_0x59e611,'pivotTableConfig':_0x50ec6c,'isEmpty':_0x5b0c95,'view':_0x301f49};}break;case k['SetPivotFilter']:{const _0x3b8872=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x2cb)];if(!_0x3b8872)return;const {tableFieldId:_0x2d32bc,items:_0xef3e08,isAll:_0xbd74c7}=_0x3b8872,_0x56782c=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x188ec8),_0x48c3ac=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x56782c||!_0x48c3ac)return;_0x56782c['startCollectChangeset'](),_0x56782c[_0x5e4455(0x358)](_0x2d32bc,{'type':_0xf2e1f3[_0x5e4455(0x368)],'list':_0xef3e08,'isAll':_0xbd74c7});const _0x3e6ca4=_0x56782c[_0x5e4455(0x3cd)](),_0x22199c=_0x56782c[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x46d178=_0x56782c[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x2cb)]={'view':_0x22199c,'changesets':_0x46d178,'isEmpty':_0x3e6ca4,'pivotTableConfig':_0x48c3ac};}break;case k[_0x5e4455(0x2d3)]:{const _0x145e25=_0x553f8b['params']['setValuePivotFilter'];if(!_0x145e25)return;const {tableFieldId:_0x42797f,filterInfo:_0x2b23a0}=_0x145e25,_0x2ad1c4=this[_0x5e4455(0x22b)]['getPivotTableInstance'](_0x188ec8),_0x5b5d2e=this[_0x5e4455(0x22b)]['getPivotTableConfig'](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x2ad1c4||!_0x5b5d2e)return;_0x2ad1c4[_0x5e4455(0x308)](),_0x2ad1c4[_0x5e4455(0x1ef)](_0x42797f,_0x2b23a0);const _0x3c05fe=_0x2ad1c4[_0x5e4455(0x3cd)](),_0x9578bd=_0x2ad1c4[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x5320b9=_0x2ad1c4[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x1f6)]={'view':_0x9578bd,'changesets':_0x5320b9,'isEmpty':_0x3c05fe,'pivotTableConfig':_0x5b5d2e};}break;case k[_0x5e4455(0x1fa)]:{const _0x55cef6=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x318)];if(!_0x55cef6)return;const {tableFieldId:_0x91168,info:_0x10fb06}=_0x55cef6,_0x28aeb1=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x2bb)](_0x188ec8),_0x38765c=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x28aeb1||!_0x38765c)return;_0x28aeb1['startCollectChangeset'](),_0x28aeb1[_0x5e4455(0x261)](_0x91168,_0x10fb06);const _0x37019e=_0x28aeb1[_0x5e4455(0x3cd)](),_0x2cc36b=_0x28aeb1[_0x5e4455(0x420)]()['toJSON'](),_0x3f6920=_0x28aeb1[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x318)]={'view':_0x2cc36b,'changesets':_0x3f6920,'isEmpty':_0x37019e,'pivotTableConfig':_0x38765c};}break;case k['SetPivotSetting']:{const _0x2a329f=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x215)];if(!_0x2a329f)return;const {tableFieldId:_0x15d06a,displayName:_0x4ece56,subtotalType:_0x368022,format:_0x1d818f}=_0x2a329f,_0x5ae45a=this[_0x5e4455(0x22b)]['getPivotTableInstance'](_0x188ec8),_0x2fcaa5=this[_0x5e4455(0x22b)]['getPivotTableConfig'](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x5ae45a||!_0x2fcaa5)return;_0x5ae45a[_0x5e4455(0x308)](),_0x4ece56!==void 0x0&&_0x5ae45a['renameField'](_0x15d06a,_0x4ece56),_0x368022!==void 0x0&&_0x5ae45a[_0x5e4455(0x205)](_0x15d06a,_0x368022),_0x1d818f!==void 0x0&&_0x5ae45a[_0x5e4455(0x436)](_0x15d06a,_0x1d818f);const _0x30ab27=_0x5ae45a[_0x5e4455(0x3cd)](),_0x4b8fda=_0x5ae45a['query']()['toJSON'](),_0x3b2321=_0x5ae45a[_0x5e4455(0x246)]();_0x3555b6['setPivotSetting']={'changesets':_0x3b2321,'pivotTableConfig':_0x2fcaa5,'isEmpty':_0x30ab27,'view':_0x4b8fda};}break;case k[_0x5e4455(0x3c8)]:{const _0x58e0d3=_0x553f8b[_0x5e4455(0x35b)]['updatePivotSource'];if(!_0x58e0d3)return;const {dataRangeInfo:_0x134118,unitId:_0x1b74ea,subUnitId:_0x5de09b}=_0x58e0d3,_0x20079f=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x1b74ea,_0x5de09b,_0x188ec8),_0x554795=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x2bb)](_0x188ec8);if(!this[_0x5e4455(0x22b)][_0x5e4455(0x2db)](_0x1b74ea,_0x188ec8)||!_0x554795||!_0x20079f)return;const _0x3cbc40=this[_0x5e4455(0x22b)][_0x5e4455(0x3ad)](_0x1b74ea,_0x188ec8,_0x134118),_0x446869=this[_0x5e4455(0x22b)]['getCollection'](_0x1b74ea,_0x188ec8)[_0x5e4455(0x419)](),{collection:_0x52c85a}=this[_0x5e4455(0x22b)][_0x5e4455(0x371)]({'unitId':_0x134118[_0x5e4455(0x2df)],'sheetName':_0x134118['sheetName'],'subUnitId':_0x134118[_0x5e4455(0x2a5)],'range':_0x134118['range']}),_0x168434=_0x52c85a[_0x5e4455(0x419)]();_0x554795[_0x5e4455(0x308)]();const _0x29a5d1=this[_0x5e4455(0x22b)][_0x5e4455(0x1dd)](_0x1b74ea)[_0x5e4455(0x203)]()||_0x25cd7e;_0x554795['iterateField'](_0x9c2b4a=>{const _0x2487c6=_0x5e4455,_0xc92e2=_0x9c2b4a[_0x2487c6(0x2a4)]();if(!_0x52c85a['hasField'](_0xc92e2)){const _0x16d31c=_0x52c85a[_0x2487c6(0x3ae)](_0x9c2b4a['getSourceName']());if(_0x16d31c){_0x554795[_0x2487c6(0x2e5)](_0x9c2b4a['getId'](),_0x16d31c[_0x2487c6(0x2e1)](),_0x16d31c[_0x2487c6(0x23b)]());const {area:_0xe099f6}=_0x554795[_0x2487c6(0x2cd)](_0x9c2b4a[_0x2487c6(0x23b)]());let _0x5e779f=_0x9c2b4a[_0x2487c6(0x34e)]();const _0x22de73=_0x9c2b4a[_0x2487c6(0x263)]();if(_0xe099f6===_0x3e27e3[_0x2487c6(0x39f)]){const _0x23845f=_0x9c2b4a['getSubtotal']();_0x5e779f=_0x29a5d1(_0x16d31c[_0x2487c6(0x2e1)](),_0x23845f);}_0x22de73!==_0x5e779f&&_0x554795[_0x2487c6(0x28e)](_0x9c2b4a['getId'](),_0x5e779f);}else _0x554795['removeField'](_0x9c2b4a[_0x2487c6(0x23b)]());}});const _0x582acf=_0x554795['isEmpty'](),_0x1883ac=_0x554795[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x3dca93=_0x554795['endCollectChangeset']();_0x3555b6['updatePivotSource']={'view':_0x1883ac,'changesets':_0x3dca93,'isEmpty':_0x582acf,'pivotTableConfig':_0x20079f,'collectionConfig':_0x168434,'oldCollectionConfig':_0x446869,'deleteIds':_0x3cbc40};}break;case k[_0x5e4455(0x440)]:{const _0x59e3da=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x2f0)];if(!_0x59e3da)return;const {position:_0x368ef1,index:_0x42fdc8}=_0x59e3da,_0x415544=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x415544)return!0x1;const _0x1c3e15=this[_0x5e4455(0x22b)][_0x5e4455(0x2bb)](_0x188ec8);if(!_0x1c3e15)return!0x1;_0x1c3e15[_0x5e4455(0x308)](),_0x1c3e15[_0x5e4455(0x2f0)](_0x368ef1,_0x42fdc8);const _0x22a022=_0x1c3e15[_0x5e4455(0x3cd)](),_0x510abe=_0x1c3e15[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x19decb=_0x1c3e15[_0x5e4455(0x246)]();_0x3555b6[_0x5e4455(0x2f0)]={'changesets':_0x19decb,'pivotTableConfig':_0x415544,'isEmpty':_0x22a022,'view':_0x510abe};}break;case k[_0x5e4455(0x300)]:{const _0x26eff8=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x3b8)];if(!_0x26eff8)return;const {tableFieldId:_0x12faf8,collapse:_0x1373ce,item:_0x144c66}=_0x26eff8,_0x249505=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x2bb)](_0x188ec8),_0x1b1585=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x249505||!_0x1b1585)return;_0x249505[_0x5e4455(0x308)](),_0x249505[_0x5e4455(0x239)](_0x12faf8,_0x1373ce,_0x144c66);const _0x109392=_0x249505[_0x5e4455(0x3cd)](),_0x4234d2=_0x249505['query']()[_0x5e4455(0x419)](),_0xf89614=_0x249505['endCollectChangeset']();_0x3555b6[_0x5e4455(0x3b8)]={'view':_0x4234d2,'isEmpty':_0x109392,'pivotTableConfig':_0x1b1585,'changesets':_0xf89614};}break;case k[_0x5e4455(0x288)]:{const _0x4ff61f=_0x553f8b[_0x5e4455(0x35b)]['setPivotTableConfig'];if(!_0x4ff61f)return;const {pivotTableConfig:_0x191785}=_0x4ff61f,_0x30db4c=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x188ec8),_0x3ca48f=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x30db4c||!_0x3ca48f)return;_0x30db4c[_0x5e4455(0x308)](),Wi(_0x30db4c,_0x191785);const _0x337a9a=_0x30db4c[_0x5e4455(0x3cd)](),_0xe9f01b=_0x30db4c[_0x5e4455(0x420)]()[_0x5e4455(0x419)](),_0x287703=_0x30db4c['endCollectChangeset']();_0x3555b6[_0x5e4455(0x280)]={'view':_0xe9f01b,'isEmpty':_0x337a9a,'pivotTableConfig':{..._0x3ca48f,'fieldsConfig':_0x30db4c[_0x5e4455(0x419)]()},'changesets':_0x287703};}break;case k['ResetPivotTable']:{const _0x24c432=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x24a)];if(!_0x24c432)return;const _0x370f61=this[_0x5e4455(0x22b)]['getPivotTableInstance'](_0x188ec8),_0x16eadf=this[_0x5e4455(0x22b)][_0x5e4455(0x423)](_0x18059f,_0x3a0a46,_0x188ec8);if(!_0x370f61||!_0x16eadf)return;_0x370f61[_0x5e4455(0x308)](),ji(_0x370f61,_0x24c432[_0x5e4455(0x1cc)]);const _0x4a1bb6=_0x370f61[_0x5e4455(0x420)]()['toJSON'](),_0x1fd840=_0x370f61['endCollectChangeset']();_0x3555b6[_0x5e4455(0x24a)]={'view':_0x4a1bb6,'isEmpty':!0x0,'pivotTableConfig':{..._0x16eadf,'fieldsConfig':_0x370f61['toJSON']()},'changesets':_0x1fd840};}break;case k[_0x5e4455(0x43b)]:{const _0x4b63ad=_0x553f8b[_0x5e4455(0x35b)][_0x5e4455(0x372)];if(!_0x4b63ad)return;const _0x4a6df0=_0x4b63ad['sourceRangeInfo'],_0x27a2f7=_0x4b63ad[_0x5e4455(0x3c6)],{collection:_0x4341e8}=this['_sheetsPivotDataSourceModel'][_0x5e4455(0x371)]({'unitId':_0x4a6df0[_0x5e4455(0x2df)],'sheetName':_0x4a6df0[_0x5e4455(0x218)],'subUnitId':_0x4a6df0[_0x5e4455(0x2a5)],'range':_0x4a6df0[_0x5e4455(0x256)]}),_0x48f1f8=new _0x5ca8f0(_0x4341e8,void 0x0,_0x27a2f7),_0x44f143=_0x4341e8['getFieldIds'](),{rows:_0x3c8abb,columns:_0x39de96,filters:_0x49d9dc,values:_0x40eb5a}=_0x4b63ad[_0x5e4455(0x43d)];_0x48f1f8[_0x5e4455(0x308)]();for(const {field:_0x515b78,selectedItems:_0x374d51}of _0x3c8abb||[]){const _0x50da5a=_0x44f143[_0x515b78];if(_0x50da5a){const _0x2ed48f=_0x48f1f8[_0x5e4455(0x2e2)](_0x50da5a,_0x3e27e3['Row']);_0x374d51&&_0x2ed48f&&_0x48f1f8['setLabelFilterInfo'](_0x2ed48f['getId'](),{'type':_0xf2e1f3[_0x5e4455(0x368)],'list':_0x374d51,'isAll':!0x1});}}for(const {field:_0x5be15b,selectedItems:_0x83bc57}of _0x39de96||[]){const _0xf3a5=_0x44f143[_0x5be15b];if(_0xf3a5){const _0x120d46=_0x48f1f8[_0x5e4455(0x2e2)](_0xf3a5,_0x3e27e3[_0x5e4455(0x2e0)]);_0x83bc57&&_0x120d46&&_0x48f1f8[_0x5e4455(0x358)](_0x120d46[_0x5e4455(0x23b)](),{'type':_0xf2e1f3['ManualFilter'],'list':_0x83bc57,'isAll':!0x1});}}for(const {field:_0x2d7d2d,selectedItems:_0x131d3f}of _0x49d9dc||[]){const _0x10b7ce=_0x44f143[_0x2d7d2d];if(_0x10b7ce){const _0x2b4847=_0x48f1f8[_0x5e4455(0x2e2)](_0x10b7ce,_0x3e27e3[_0x5e4455(0x206)]);_0x131d3f&&_0x2b4847&&_0x48f1f8[_0x5e4455(0x358)](_0x2b4847[_0x5e4455(0x23b)](),{'type':_0xf2e1f3[_0x5e4455(0x368)],'list':_0x131d3f,'isAll':!0x1});}}for(const {field:_0x17d61e,subTotalType:_0x437b66,formatString:_0x445326}of _0x40eb5a||[]){const _0xe056fe=_0x4341e8['getFieldById'](_0x44f143[_0x17d61e]);if(!_0xe056fe)continue;const _0x54b3b0=_0x44f143[_0x17d61e];if(_0x54b3b0){const _0x2ef45b=_0x48f1f8[_0x5e4455(0x2e2)](_0x54b3b0,_0x3e27e3['Value']);if(_0x2ef45b){if(_0x437b66!==void 0x0){_0x48f1f8['setSubtotalType'](_0x2ef45b[_0x5e4455(0x23b)](),_0x437b66);const _0x5cb20f=this[_0x5e4455(0x22b)]['getDataFieldManager'](_0x4a6df0['unitId'])['getAutoDisplayNameFunction']()||_0x25cd7e,_0x1b30a6=_0x4341e8[_0x5e4455(0x263)](_0x54b3b0),_0x20703e=_0x5cb20f(_0x1b30a6,_0x437b66);_0x48f1f8[_0x5e4455(0x28e)](_0x2ef45b['getId'](),_0x20703e);}else{if(_0xe056fe){const _0x50d9aa=_0xe056fe==null?void 0x0:_0xe056fe[_0x5e4455(0x31b)]();_0x48f1f8['setSubtotalType'](_0x2ef45b[_0x5e4455(0x23b)](),_0x50d9aa===_0x3dd9e0[_0x5e4455(0x29d)]?_0x390d0d[_0x5e4455(0x214)]:_0x390d0d['count']);}}_0x445326&&_0x48f1f8[_0x5e4455(0x436)](_0x2ef45b[_0x5e4455(0x23b)](),_0x445326);}}}const _0x2a0ca0=_0x48f1f8['query'](),_0x240633=_0x48f1f8[_0x5e4455(0x419)](),_0x135c60=_0x48f1f8[_0x5e4455(0x3cd)](),_0x4b83db=_0x48f1f8[_0x5e4455(0x246)](),_0x162006=_0x4341e8[_0x5e4455(0x419)]();_0x3555b6[_0x5e4455(0x372)]={'view':_0x2a0ca0,'fieldsConfig':_0x240633,'collectionConfig':_0x162006,'isEmpty':_0x135c60,'changesets':_0x4b83db};}break;case k[_0x5e4455(0x289)]:{const _0x2038b4=Ai(this[_0x5e4455(0x231)],_0x553f8b);if(!_0x2038b4)return;const {range:_0x40c2b8,sourceSubUnitId:_0x4eeced,sourceUnitId:_0x5b8ff0,formatMap:_0x504c1c,indexes:_0x323110}=_0x2038b4;_0x3555b6[_0x5e4455(0x376)]={'range':_0x40c2b8,'sourceSubUnitId':_0x4eeced,'sourceUnitId':_0x5b8ff0,'formatMap':_0x504c1c,'indexes':_0x323110};}break;}this[_0x5e4455(0x1dc)][_0x5e4455(0x3ba)](lo['id'],{'version':_0x553f8b[_0x5e4455(0x2ef)],'result':_0x3555b6},{'onlyLocal':!0x0});}));}[_0x3cd867(0x28c)](){const _0x224f52=_0x3cd867;this[_0x224f52(0x321)](this[_0x224f52(0x1dc)][_0x224f52(0x2ce)](_0x258edc=>{const _0x5e68ff=_0x224f52;if(_0x258edc['id']!==uo['id'])return;const _0x90cd75=_0x258edc['params'];return this[_0x5e68ff(0x22b)][_0x5e68ff(0x1f7)](_0x90cd75[_0x5e68ff(0x334)]),!0x0;}));}[_0x3cd867(0x3e6)](){const _0x6cd11=_0x3cd867;this['_sheetsPivotDataSourceModel'][_0x6cd11(0x2b2)][_0x6cd11(0x3ab)](_0x46ecc6=>{const _0x265e9f=_0x6cd11;switch(_0x46ecc6[_0x265e9f(0x23c)]){case Be[_0x265e9f(0x314)]:_0x46ecc6[_0x265e9f(0x1d5)]&&_0x46ecc6[_0x265e9f(0x2b7)]&&this[_0x265e9f(0x24b)](_0x46ecc6[_0x265e9f(0x405)],_0x46ecc6['dataRangeInfo'],_0x46ecc6['targetCellInfo']);break;case Be[_0x265e9f(0x40a)]:{const {unitId:_0x23d85d,subUnitId:_0x3d254d,token:_0x51f862}=_0x46ecc6;_0x23d85d&&_0x3d254d&&_0x51f862&&this[_0x265e9f(0x1e9)](_0x23d85d,_0x3d254d,_0x51f862);}break;case Be[_0x265e9f(0x408)]:{const {token:_0x39c99c,oldSourceRangeInfo:_0x24b913,dataRangeInfo:_0x5da620,targetCellInfo:_0x28aa2e}=_0x46ecc6,{unitId:_0x1c878f,subUnitId:_0x1b8a1c}=_0x24b913||{};_0x1c878f&&_0x1b8a1c&&_0x39c99c&&this['removeSourceRangeChange'](_0x1c878f,_0x1b8a1c,_0x39c99c),_0x5da620&&_0x28aa2e&&this[_0x265e9f(0x24b)](_0x39c99c,_0x5da620,_0x28aa2e);}break;}});}['_subjectFieldsCollectionChange'](){const _0x39259c=_0x3cd867;this[_0x39259c(0x22b)][_0x39259c(0x233)][_0x39259c(0x3ab)](_0x4f2619=>{const _0x189591=_0x39259c;Object['keys'](_0x4f2619)[_0x189591(0x3f1)](_0x5bd06b=>{const _0x4bc17d=_0x189591,_0x2718d4=this[_0x4bc17d(0x22b)]['getTargetByPivotId'](_0x5bd06b);if(_0x2718d4){const _0x277a55=this[_0x4bc17d(0x22b)]['getPivotTableConfig'](_0x2718d4==null?void 0x0:_0x2718d4[_0x4bc17d(0x2df)],_0x2718d4==null?void 0x0:_0x2718d4['subUnitId'],_0x5bd06b);_0x277a55&&(this[_0x4bc17d(0x24b)](_0x5bd06b,_0x277a55['sourceRangeInfo'],_0x277a55[_0x4bc17d(0x2b7)]),this[_0x4bc17d(0x2cf)]([{'unitId':_0x2718d4[_0x4bc17d(0x2df)],'subUnitId':_0x2718d4[_0x4bc17d(0x2a5)],'token':_0x5bd06b}]));}});});}[_0x3cd867(0x3bb)](){const _0x655faa=_0x3cd867;this['_sheetsPivotDataSourceModel'][_0x655faa(0x425)]['subscribe'](_0x8caacb=>{const _0x24764a=_0x655faa,{unitId:_0x2133da,subUnitId:_0x5909f2,pivotTableId:_0x4553b4}=_0x8caacb;_0x2133da&&_0x5909f2&&_0x4553b4&&this[_0x24764a(0x2cf)]([{'unitId':_0x2133da,'subUnitId':_0x5909f2,'token':_0x4553b4}]);});}['triggerDirtyFeature'](_0x2c691a){const _0x7a90e2=_0x3cd867,_0x4fe3cb={};_0x2c691a['forEach'](_0x58663a=>{var _0x1764bf,_0x2f3a51;const {unitId:_0x2f7ea8,subUnitId:_0x4ef110,token:_0x1b0b01}=_0x58663a;_0x4fe3cb[_0x2f7ea8]=(_0x1764bf=_0x4fe3cb[_0x2f7ea8])!=null?_0x1764bf:{},_0x4fe3cb[_0x2f7ea8][_0x4ef110]=(_0x2f3a51=_0x4fe3cb[_0x2f7ea8][_0x4ef110])!=null?_0x2f3a51:{},_0x4fe3cb[_0x2f7ea8][_0x4ef110][_0x1b0b01]=!0x0;}),this[_0x7a90e2(0x1dc)][_0x7a90e2(0x3ba)](Ut['id'],_0x4fe3cb);}[_0x3cd867(0x1e9)](_0x16bb24,_0x57ab4f,_0x27ecc3){const _0x7ecf5=_0x3cd867;this['_featureCalculationManagerService'][_0x7ecf5(0x1e3)](_0x16bb24,_0x57ab4f,[_0x27ecc3]);}[_0x3cd867(0x24b)](_0x5c09ea,_0x46417c,_0x605a10){const _0x5e0def=_0x3cd867,{unitId:_0x87cf,subUnitId:_0x474504}=_0x46417c;this[_0x5e0def(0x284)][_0x5e0def(0x304)](_0x605a10['unitId'],_0x605a10['subUnitId'],_0x5c09ea)&&this[_0x5e0def(0x1e9)](_0x87cf,_0x474504,_0x5c09ea);const _0x233aca={'sheetId':_0x474504,..._0x46417c};this[_0x5e0def(0x284)]['register'](_0x605a10[_0x5e0def(0x2df)],_0x605a10[_0x5e0def(0x2a5)],_0x5c09ea,{'unitId':_0x605a10[_0x5e0def(0x2df)],'subUnitId':_0x605a10[_0x5e0def(0x2a5)],'dependencyRanges':[_0x233aca],'getDirtyData':(_0x5a0b0e,_0x53f61f)=>{const _0x322ba9=_0x5e0def,_0x40bc02=this['_sheetsPivotDataSourceModel'],_0x9f54ce=_0x40bc02[_0x322ba9(0x412)](_0x5c09ea);if(!_0x9f54ce)return Vs();const {unitId:_0x1df126,subUnitId:_0x2e59fc}=_0x9f54ce,_0x1e723f=Es(_0x5a0b0e,_0x53f61f,_0x46417c);if(_0x1e723f[_0x322ba9(0x2f7)]>0x0){const _0x289d4d=_0x40bc02['getCollection'](_0x87cf,_0x5c09ea),_0x5b0492=_0x289d4d[_0x322ba9(0x2dc)](),_0x21e20a=this[_0x322ba9(0x30a)](_0x46417c[_0x322ba9(0x2df)],_0x46417c[_0x322ba9(0x2a5)],_0x53f61f),_0x4b8695={},_0x24f016=this[_0x322ba9(0x22b)][_0x322ba9(0x1dd)](_0x1df126)[_0x322ba9(0x203)]()||_0x25cd7e,_0x4a3f1f=[];for(const _0x3b820f of _0x1e723f){const _0x12c7ed=_0x3b820f-(_0x46417c['range']['startColumn']||0x0),_0x18c799=_0x5b0492[_0x12c7ed];_0x4a3f1f[_0x322ba9(0x1e6)](_0x18c799),_0x4b8695[_0x18c799]=_0x289d4d['getFieldById'](_0x18c799)[_0x322ba9(0x2e1)](),_0x40bc02['getDataFieldManager'](_0x87cf)[_0x322ba9(0x248)](_0x18c799,_0x46417c,_0x12c7ed,_0x21e20a);}_0x289d4d[_0x322ba9(0x200)](_0x4a3f1f)[_0x322ba9(0x3f1)](_0x261925=>{const _0x4f00c2=_0x322ba9,[_0x5526bc,_0x1f5862]=_0x261925,_0x403112=_0x289d4d[_0x4f00c2(0x32b)](_0x5526bc),_0x3b3f1c=_0x289d4d[_0x4f00c2(0x32b)](_0x1f5862);_0x403112&&_0x3b3f1c&&_0x403112[_0x4f00c2(0x322)](_0x3b3f1c);}),_0x289d4d[_0x322ba9(0x20c)]();const _0x2de8b4=_0x40bc02[_0x322ba9(0x2bb)](_0x5c09ea);if(_0x2de8b4){Os(_0x2de8b4,_0x4b8695,_0x24f016),_0x2de8b4[_0x322ba9(0x266)](!0x0);const _0x5bd1b7=_0x2de8b4['query'](),_0x549796=_0x40bc02[_0x322ba9(0x423)](_0x1df126,_0x2e59fc,_0x5c09ea),_0x9cbd5=_0x40bc02[_0x322ba9(0x1dd)](_0x87cf)[_0x322ba9(0x419)]();_0x40bc02[_0x322ba9(0x210)](_0x1df126,_0x2e59fc,$['Set'],_0x5c09ea,_0x5bd1b7,_0x549796,_0x9cbd5,!0x0);}}return this[_0x322ba9(0x3a6)](_0x1df126,_0x2e59fc,_0x5c09ea);}});}[_0x3cd867(0x30a)](_0x3666fa,_0x4ce426,_0x3eb4b8){var _0x569439,_0x4e8cdb;const {arrayFormulaCellData:_0x25686e,unitData:_0x1a855e}=_0x3eb4b8,_0x144bb4=(_0x569439=_0x25686e==null?void 0x0:_0x25686e[_0x3666fa])==null?void 0x0:_0x569439[_0x4ce426],_0x5658e9=(_0x4e8cdb=_0x1a855e==null?void 0x0:_0x1a855e[_0x3666fa])==null?void 0x0:_0x4e8cdb[_0x4ce426];return{'arrayFormulaCellDataMatrix':_0x144bb4,'unitDataMatrix':_0x5658e9};}[_0x3cd867(0x3a6)](_0x3a28e1,_0x4170bd,_0x2469c2){const _0x18b8e5=_0x3cd867,_0x19edc1=this[_0x18b8e5(0x22b)][_0x18b8e5(0x366)](_0x3a28e1,_0x4170bd,_0x2469c2),_0x5d1b59=[],_0x191280=new _0xf97b68();if(_0x19edc1){const {rangeCache:_0x3a30ef,matrix:_0x52858c,oldRangeCache:_0x3f686d,oldMatrix:_0x2fb814}=_0x19edc1,_0x3c04b9=$t(_0x3f686d),_0x2ebfe7=$t(_0x3a30ef);_0x5d1b59[_0x18b8e5(0x1e6)](..._0x2ebfe7,..._0x3c04b9),_0x2fb814&&_0x3f686d&&_0x3c04b9[_0x18b8e5(0x3f1)](_0x27e4fe=>{const _0x1ba4e0=_0x18b8e5;for(let _0x1cea54=_0x27e4fe[_0x1ba4e0(0x354)];_0x1cea54<=_0x27e4fe[_0x1ba4e0(0x33c)];_0x1cea54++)for(let _0x386e87=_0x27e4fe[_0x1ba4e0(0x2c4)];_0x386e87<=_0x27e4fe[_0x1ba4e0(0x2d1)];_0x386e87++)_0x191280['realDeleteValue'](_0x1cea54,_0x386e87);}),_0x52858c&&_0x2ebfe7&&_0x2ebfe7[_0x18b8e5(0x3f1)](_0x2cb059=>{const _0x208a32=_0x18b8e5;for(let _0x5726a8=_0x2cb059[_0x208a32(0x354)];_0x5726a8<=_0x2cb059[_0x208a32(0x33c)];_0x5726a8++)for(let _0x3baff1=_0x2cb059[_0x208a32(0x2c4)];_0x3baff1<=_0x2cb059['endColumn'];_0x3baff1++)_0x191280['setValue'](_0x5726a8,_0x3baff1,_0x52858c[_0x208a32(0x365)](_0x5726a8,_0x3baff1));});}const _0x3c56ab={};return _0x3c56ab[_0x3a28e1]={[_0x4170bd]:xs(_0x5d1b59)},{'runtimeCellData':{[_0x3a28e1]:{[_0x4170bd]:_0x191280}},'dirtyRanges':_0x3c56ab};}[_0x3cd867(0x221)](){}};ct=Us([Ye(0x0,_0x230206(J)),Ye(0x1,_0x52a20c),Ye(0x2,_0x230206(_0x2e7117)),Ye(0x3,_0x230206(_0x518b26)),Ye(0x4,_0x230206(_0x3186dc)),Ye(0x5,_0x230206(_0x48fa95))],ct);var As=Object[_0x3cd867(0x3ff)],ks=(_0x35213d,_0x2b74f2,_0x5ebdf4,_0x509970)=>{const _0x4f43c1=_0x3cd867;for(var _0x14a406=_0x509970>0x1?void 0x0:_0x509970?As(_0x2b74f2,_0x5ebdf4):_0x2b74f2,_0x5f4736=_0x35213d[_0x4f43c1(0x2f7)]-0x1,_0x593bbd;_0x5f4736>=0x0;_0x5f4736--)(_0x593bbd=_0x35213d[_0x5f4736])&&(_0x14a406=_0x593bbd(_0x14a406)||_0x14a406);return _0x14a406;},_t=(_0x40ec25,_0x43ef23)=>(_0x9e3d1d,_0x31e24c)=>_0x43ef23(_0x9e3d1d,_0x31e24c,_0x40ec25);let dt=class extends _0x106977{constructor(_0x5bebab,_0x2ea7dc,_0x5337f3,_0x5d4640){const _0x266259=_0x3cd867;super(),V(this,_0x266259(0x37b),new _0x2d59a9()),(this[_0x266259(0x2c2)]=_0x5bebab,this[_0x266259(0x391)]=_0x2ea7dc,this['_sheetsSelectionsService']=_0x5337f3,this['_sheetsPivotTableConfigModel']=_0x5d4640,this[_0x266259(0x2d5)]());}[_0x3cd867(0x2d5)](){const _0x404c19=_0x3cd867;this[_0x404c19(0x321)](this[_0x404c19(0x391)]['interceptCommand']({'getMutations':_0x4ef1d0=>{const _0x3e1bbd=_0x404c19;if(_0x4ef1d0['id']===_0x1e968f['id']||_0x4ef1d0['id']===_0x1dfea9['id']){const _0x16ae42=[],_0x4dcd54=[],_0x17ab39=this[_0x3e1bbd(0x3e5)]['getCurrentSelections']()[_0x3e1bbd(0x2dd)](_0x1e479b=>_0x1e479b[_0x3e1bbd(0x256)]),_0x2f096a=_0x4e8dc1(this['_univerInstanceService']);if(!_0x2f096a)return{'redos':[],'undos':[]};const {unitId:_0x3943e1,subUnitId:_0x115c73}=_0x2f096a,_0x51af09={},_0x4fd763=this[_0x3e1bbd(0x26b)]['getSubUnitPivotConfigs'](_0x3943e1,_0x115c73);if(_0x4fd763!=null&&_0x4fd763[_0x3e1bbd(0x3d1)])for(const [_0x7cd2a4,_0x299cea]of _0x4fd763){const {unitId:_0x31a9b8,subUnitId:_0x32e9d0,row:_0x44714d,col:_0x557c47}=_0x299cea[_0x3e1bbd(0x2b7)];_0x31a9b8===_0x2f096a[_0x3e1bbd(0x2df)]&&_0x32e9d0===_0x2f096a[_0x3e1bbd(0x2a5)]&&(_0x51af09[_0x44714d+'-'+_0x557c47]=_0x7cd2a4);}return _0x17ab39&&_0x2f096a&&_0x17ab39[_0x3e1bbd(0x3f1)](_0x5eebff=>{_0x5c33c7['foreach'](_0x5eebff,(_0xf5b15b,_0x102edc)=>{const _0x14b0fa=_0x1dff,_0x3e5da8=_0xf5b15b+'-'+_0x102edc;if(_0x51af09[_0x3e5da8]){const _0x2658c7=_0x51af09[_0x3e5da8];_0x16ae42[_0x14b0fa(0x1e6)]({'id':Et['id'],'params':{'unitId':_0x3943e1,'subUnitId':_0x115c73,'pivotTableId':_0x2658c7}});const _0x22d259=this[_0x14b0fa(0x26b)][_0x14b0fa(0x2db)](_0x3943e1,_0x2658c7),_0x5a6207=this['_sheetsPivotTableConfigModel'][_0x14b0fa(0x423)](_0x3943e1,_0x115c73,_0x2658c7);_0x4dcd54[_0x14b0fa(0x1e6)]({'id':Ct['id'],'params':{'unitId':_0x3943e1,'subUnitId':_0x115c73,'pivotTableId':_0x2658c7,'pivotTableConfig':_0x5a6207,'collectionConfig':_0x22d259}});}});}),{'redos':_0x16ae42,'undos':_0x4dcd54};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x27e8db),_t(0x1,_0x230206(_0x14ab9d)),_t(0x2,_0x230206(_0x1ee304)),_t(0x3,_0x230206(he))],dt);var Ls=Object[_0x3cd867(0x3ff)],Bs=(_0xc40abd,_0x46f403,_0x5b79cb,_0x589375)=>{for(var _0x4b6f70=_0x589375>0x1?void 0x0:_0x589375?Ls(_0x46f403,_0x5b79cb):_0x46f403,_0x9c5836=_0xc40abd['length']-0x1,_0x25c195;_0x9c5836>=0x0;_0x9c5836--)(_0x25c195=_0xc40abd[_0x9c5836])&&(_0x4b6f70=_0x25c195(_0x4b6f70)||_0x4b6f70);return _0x4b6f70;},He=(_0x208939,_0x33dc8c)=>(_0xe1cdf9,_0x2ba074)=>_0x33dc8c(_0xe1cdf9,_0x2ba074,_0x208939);let ut=class extends _0x106977{constructor(_0x152735,_0x2c0763,_0x2f95c9,_0x4653e0,_0x2f1b52,_0x521cb4){const _0x3d95e3=_0x3cd867;super(),this[_0x3d95e3(0x373)]=_0x152735,this['_sheetInterceptorService']=_0x2c0763,this[_0x3d95e3(0x231)]=_0x2f95c9,this[_0x3d95e3(0x2c2)]=_0x4653e0,this[_0x3d95e3(0x26b)]=_0x2f1b52,this[_0x3d95e3(0x326)]=_0x521cb4,this[_0x3d95e3(0x1cd)]();}[_0x3cd867(0x403)](_0x9ea9f0,_0x4d0042,_0x3e657f){const _0x4da7c7=_0x3cd867,{pageView:_0x349879,cornerView:_0x4312d2,rowView:_0x19622a,colView:_0x13b84c,dataView:_0x48b5d8}=_0x4d0042,_0x32c471=_0x9ea9f0;let _0x508466;if(_0x3e657f)_0x508466=[...ki(_0x32c471)];else{const _0x5b422c=ge(_0x32c471,_0x349879,!0x0),_0x2d8008=_0x349879[_0x4da7c7(0x2e3)]>=0x0?_0x349879[_0x4da7c7(0x2e3)]+0x1:0x0,_0x5c547f=_0x4312d2[_0x4da7c7(0x27b)],_0x2623e7=_0x4312d2[_0x4da7c7(0x33b)],_0x570f90=_0x5b422c[_0x4da7c7(0x2f7)]>0x0?It:0x0,_0x192bfc=ge({'row':_0x32c471[_0x4da7c7(0x245)]+_0x2d8008+_0x570f90,'col':_0x32c471['col']},_0x4312d2,!0x1,!0x1),_0x569e22=ge({'row':_0x32c471[_0x4da7c7(0x245)]+_0x2d8008+_0x570f90+_0x5c547f,'col':_0x32c471['col']},_0x19622a,!0x1,!0x0),_0x4cc21f=ge({'row':_0x32c471[_0x4da7c7(0x245)]+_0x2d8008+_0x570f90,'col':_0x32c471[_0x4da7c7(0x398)]+_0x2623e7},_0x13b84c,!0x1,!0x0),_0x4985b2=ge({'row':_0x32c471[_0x4da7c7(0x245)]+_0x2d8008+_0x570f90+_0x5c547f,'col':_0x32c471[_0x4da7c7(0x398)]+_0x2623e7},_0x48b5d8,!0x1,!0x0);_0x508466=[..._0x5b422c,..._0x192bfc,..._0x569e22,..._0x4cc21f,..._0x4985b2];}return _0x508466;}['_initCommandInterceptListener'](){const _0x402cc7=_0x3cd867;this[_0x402cc7(0x321)](this[_0x402cc7(0x326)][_0x402cc7(0x207)][_0x402cc7(0x2e6)](this[_0x402cc7(0x326)][_0x402cc7(0x207)][_0x402cc7(0x224)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x3970ef,_0x560491)=>{const _0x43b5e4=_0x402cc7,{cellInfo:_0x43c23c,view:_0x22d22f,isEmpty:_0x4e12d1}=_0x560491,_0x25503c=_0x43c23c,{unitId:_0x16efb1,subUnitId:_0x5496a4}=_0x25503c,_0xa5ce85=this['_getPivotAppliedRanges'](_0x43c23c,_0x22d22f,_0x4e12d1),_0x1c888c=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x16efb1,'subUnitId':_0x5496a4,'ranges':_0xa5ce85}),_0x45fb5f=Yo(this[_0x43b5e4(0x231)],_0x16efb1,_0x5496a4,_0xa5ce85);_0x45fb5f[_0x43b5e4(0x1db)]&&(_0x1c888c[_0x43b5e4(0x32d)][_0x43b5e4(0x1e6)](_0x45fb5f[_0x43b5e4(0x1de)]),_0x1c888c[_0x43b5e4(0x1d8)]['push'](_0x45fb5f[_0x43b5e4(0x363)]));const _0x521855=this[_0x43b5e4(0x3aa)](_0x22d22f,_0x43c23c);return _0x1c888c[_0x43b5e4(0x32d)][_0x43b5e4(0x1e6)](..._0x521855[_0x43b5e4(0x32d)]),_0x1c888c[_0x43b5e4(0x1d8)][_0x43b5e4(0x1e6)](..._0x521855['undos']),{'redos':_0x1c888c[_0x43b5e4(0x32d)],'undos':_0x1c888c[_0x43b5e4(0x1d8)]};}}));}[_0x3cd867(0x3aa)](_0x35c917,_0x23bd32){const _0x37ba07=_0x3cd867,{col:_0x31e3cd,unitId:_0x54f0c6,subUnitId:_0x27cde6}=_0x23bd32,_0x510182=[],_0x4e1ef2=[],_0x1d3732=_0x4e8dc1(this[_0x37ba07(0x2c2)],{'unitId':_0x54f0c6,'subUnitId':_0x27cde6});if(!_0x23bd32||!_0x35c917||!_0x1d3732)return{'undos':_0x4e1ef2,'redos':_0x510182};const _0x22083b=this[_0x37ba07(0x26b)]['getTextInfo'](),{colView:_0x14a917,dataView:_0xcb131a,cornerView:_0x4e5e71,rowView:_0x59b23a,formatMap:_0x50eba3}=_0x35c917,_0x144ff2=To(_0x14a917,_0x22083b,!0x0,_0x50eba3),_0x5f926a=To(_0x59b23a,_0x22083b,!0x1,_0x50eba3),_0xeae7e6=$i(_0xcb131a),_0x106abe=Ji(_0x4e5e71),{worksheet:_0x3d361c}=_0x1d3732;if(typeof window<'u'&&window[_0x37ba07(0x2ad)]){const _0x166b43=_0x56bdcd({...fe[_0x37ba07(0x1d3)]}),_0xa05021=_0x239570[_0x37ba07(0x226)](_0x144ff2,_0x166b43)[_0x37ba07(0x27d)]+0x10,_0x3e146b=_0x239570['getTextSize'](_0xeae7e6,_0x166b43)['width'],_0x2c739c=Math[_0x37ba07(0x2bf)](Math[_0x37ba07(0x310)](_0xa05021,_0x3e146b))+0x10,_0x281ae7=Math[_0x37ba07(0x2bf)](_0x239570['getTextSize'](_0x5f926a,_0x166b43)[_0x37ba07(0x27d)]),_0x1763c3=Math[_0x37ba07(0x2bf)](_0x239570['getTextSize'](_0x106abe,_0x166b43)[_0x37ba07(0x27d)]),_0x214a56=Math[_0x37ba07(0x310)](_0x281ae7,_0x1763c3,0x28)+0xc,_0x2a1dae=_0x14a917[_0x37ba07(0x33b)]+_0x4e5e71[_0x37ba07(0x33b)],_0x39275a={},_0x1f9489={};for(let _0x43af3c=_0x31e3cd;_0x43af3c<_0x31e3cd+_0x2a1dae;_0x43af3c++){const _0xd87bc5=_0x3d361c[_0x37ba07(0x3db)](_0x43af3c);_0x39275a[_0x43af3c]=_0xd87bc5,_0x43af3c-_0x31e3cd<_0x4e5e71[_0x37ba07(0x33b)]?_0x1f9489[_0x43af3c-_0x31e3cd]=_0x214a56:_0x1f9489[_0x43af3c-_0x31e3cd]=_0x2c739c;}_0x510182[_0x37ba07(0x1e6)]({'id':_0x3ded30['id'],'params':{'subUnitId':_0x27cde6,'unitId':_0x54f0c6,'ranges':[{'startColumn':_0x31e3cd,'endColumn':_0x31e3cd+_0x2a1dae-0x1,'startRow':0x0,'endRow':_0x3d361c[_0x37ba07(0x3fa)]()-0x1}],'colWidth':_0x1f9489}}),_0x4e1ef2[_0x37ba07(0x1e6)]({'id':_0x3ded30['id'],'params':{'subUnitId':_0x27cde6,'unitId':_0x54f0c6,'ranges':[{'startColumn':_0x31e3cd,'endColumn':_0x31e3cd+_0x2a1dae-0x1,'startRow':0x0,'endRow':_0x3d361c[_0x37ba07(0x3fa)]()-0x1}],'colWidth':_0x39275a}});}return{'undos':_0x4e1ef2,'redos':_0x510182};}};ut=Bs([He(0x0,_0x230206(_0xb73921)),He(0x1,_0x230206(_0x14ab9d)),He(0x2,_0x230206(_0x48fa95)),He(0x3,_0x230206(_0x27e8db)),He(0x4,_0x230206(he)),He(0x5,_0x230206(ie))],ut);var $s=Object[_0x3cd867(0x3ff)],Js=(_0x3cc136,_0x4245d7,_0x382e53,_0x21dfe8)=>{const _0x5fec31=_0x3cd867;for(var _0x599b08=_0x21dfe8>0x1?void 0x0:_0x21dfe8?$s(_0x4245d7,_0x382e53):_0x4245d7,_0x4236d3=_0x3cc136[_0x5fec31(0x2f7)]-0x1,_0x4d3e2f;_0x4236d3>=0x0;_0x4236d3--)(_0x4d3e2f=_0x3cc136[_0x4236d3])&&(_0x599b08=_0x4d3e2f(_0x599b08)||_0x599b08);return _0x599b08;},ke=(_0x2c3195,_0x2e5a2f)=>(_0x191944,_0x52a9db)=>_0x2e5a2f(_0x191944,_0x52a9db,_0x2c3195);let ft=class extends _0x106977{constructor(_0x1d5658,_0x5a4e43,_0x5ab83d,_0xe4b74d,_0x1bbb20,_0x4c5e51,_0x567414){const _0xe569bd=_0x3cd867;super(),V(this,_0xe569bd(0x37b),new _0x2d59a9()),(this[_0xe569bd(0x231)]=_0x1d5658,this[_0xe569bd(0x35a)]=_0x5a4e43,this[_0xe569bd(0x1dc)]=_0x5ab83d,this[_0xe569bd(0x2c2)]=_0xe4b74d,this['_sheetsPivotTableConfigModel']=_0x1bbb20,this['_sheetsPivotTableAdaptorModel']=_0x4c5e51,this[_0xe569bd(0x391)]=_0x567414,this['_onRefRangeChange']());}[_0x3cd867(0x1ff)](){const _0x554f0e=_0x3cd867,_0xbaca4d=(_0x2c5ac7,_0x1ece66)=>{const _0x3a96b5=_0x1dff,_0x30a77e=this[_0x3a96b5(0x2c2)][_0x3a96b5(0x27e)](_0x264b88[_0x3a96b5(0x1da)]);if(!_0x30a77e||!(_0x30a77e==null?void 0x0:_0x30a77e[_0x3a96b5(0x397)](_0x1ece66)))return;this['disposableCollection'][_0x3a96b5(0x221)]();const _0x480a42=_0x1684c4=>this[_0x3a96b5(0x399)](_0x1684c4,_0x2c5ac7,_0x1ece66),_0x373fd5=this[_0x3a96b5(0x26b)]['getSubUnitPivotConfigs'](_0x2c5ac7,_0x1ece66);if(!(_0x373fd5!=null&&_0x373fd5['size']))return;Array[_0x3a96b5(0x329)](_0x373fd5['values']())[_0x3a96b5(0x2dd)](_0x5b4f1a=>{const _0x6a8828=_0x3a96b5,{row:_0x224e09,col:_0xbbd39}=_0x5b4f1a[_0x6a8828(0x2b7)];return _0x120a1f(_0x224e09,_0xbbd39);})['forEach'](_0x2de39b=>{const _0x18a83d=_0x3a96b5;this[_0x18a83d(0x37b)][_0x18a83d(0x314)](this[_0x18a83d(0x35a)][_0x18a83d(0x38b)](_0x2de39b,_0x480a42,_0x2c5ac7,_0x1ece66));});},_0x4e9bd3=()=>{const _0x548095=_0x1dff,_0x464e28=this['_univerInstanceService'][_0x548095(0x27e)](_0x264b88[_0x548095(0x1da)]);if(_0x464e28){const _0x31f4eb=_0x464e28[_0x548095(0x3b1)]();if(!_0x31f4eb)return;_0xbaca4d(_0x464e28[_0x548095(0x3c7)](),_0x31f4eb[_0x548095(0x238)]());}};this[_0x554f0e(0x321)](this['_commandService']['onCommandExecuted'](_0x2f2daa=>{if(_0x2f2daa['id']===_0xe59af7['id']){const _0xbb7ea4=_0x2f2daa['params'],_0x2b66fd=_0xbb7ea4['subUnitId'],_0x3f5b78=_0xbb7ea4['unitId'];if(!_0x2b66fd||!_0x3f5b78)return;_0xbaca4d(_0x3f5b78,_0x2b66fd);}})),this[_0x554f0e(0x321)](this['_sheetsPivotTableConfigModel'][_0x554f0e(0x402)][_0x554f0e(0x3ab)](_0x473a04=>{_0x473a04&&_0x4e9bd3();})),this['disposeWithMe'](this[_0x554f0e(0x26b)][_0x554f0e(0x281)][_0x554f0e(0x3ab)](_0x3461e1=>{const _0x28f065=_0x4e8dc1(this['_univerInstanceService']);if(!_0x28f065)return;const {unitId:_0x96b0d7,subUnitId:_0x2a0146}=_0x28f065,{unitId:_0x518b0c,subUnitId:_0x2ef1ec}=_0x3461e1;_0x96b0d7!==_0x518b0c||_0x2a0146!==_0x2ef1ec||_0xbaca4d(_0x96b0d7,_0x2a0146);})),_0x4e9bd3();}[_0x3cd867(0x399)](_0xd6fe3e,_0x2674aa,_0x1c19e8){const _0x342028=_0x3cd867;switch(_0xd6fe3e['id']){case _0x17843d['id']:return this[_0x342028(0x3ec)](_0xd6fe3e[_0x342028(0x35b)],_0x2674aa,_0x1c19e8);}return{'redos':[],'undos':[]};}[_0x3cd867(0x3ec)](_0x325e04,_0x20eec7,_0x180197){const _0x26dc26=_0x3cd867,{fromRange:_0x18ec89,toRange:_0x39cd68}=_0x325e04,_0x15b1bc=[],_0x307de7=[],_0x525b9c=_0x4e8dc1(this[_0x26dc26(0x2c2)]);if(!_0x525b9c)return{'undos':_0x307de7,'redos':_0x15b1bc};if(_0x20eec7!==_0x525b9c[_0x26dc26(0x2df)]||_0x180197!==_0x525b9c[_0x26dc26(0x2a5)])return{'undos':_0x307de7,'redos':_0x15b1bc};const _0x1068e5=this['_sheetsPivotTableConfigModel'][_0x26dc26(0x325)](_0x20eec7,_0x180197);if(_0x1068e5!=null&&_0x1068e5[_0x26dc26(0x3d1)])for(const [_0x5bcd6e,_0x9b0a5]of _0x1068e5){const {unitId:_0x1afe41,subUnitId:_0x36c18b,row:_0x1dbe11,col:_0xf29643}=_0x9b0a5[_0x26dc26(0x2b7)];if(_0x1afe41===_0x525b9c[_0x26dc26(0x2df)]&&_0x36c18b===_0x525b9c[_0x26dc26(0x2a5)]){const _0x207c3d=_0x120a1f(_0x1dbe11,_0xf29643);if(_0x875ff4[_0x26dc26(0x38a)](_0x207c3d,_0x18ec89)){const _0xea892d=_0x1dbe11-_0x18ec89[_0x26dc26(0x354)],_0x373eff=_0xf29643-_0x18ec89['startColumn'],_0x14ac4f={'row':_0x39cd68[_0x26dc26(0x354)]+_0xea892d,'col':_0x39cd68['startColumn']+_0x373eff};_0x15b1bc[_0x26dc26(0x1e6)]({'id':pt['id'],'params':{'unitId':_0x1afe41,'subUnitId':_0x36c18b,'pivotTableId':_0x5bcd6e,'targetCellPosition':_0x14ac4f}}),_0x307de7[_0x26dc26(0x1e6)]({'id':pt['id'],'params':{'unitId':_0x1afe41,'subUnitId':_0x36c18b,'pivotTableId':_0x5bcd6e,'targetCellPosition':{'row':_0x1dbe11,'col':_0xf29643}}});const _0x126308=_0x14ac4f[_0x26dc26(0x245)]-_0x1dbe11,_0x18825d=_0x14ac4f[_0x26dc26(0x398)]-_0xf29643,_0x21241a=[],_0x3a127f=this['_sheetsPivotTableAdaptorModel'][_0x26dc26(0x35e)](_0x1afe41,_0x36c18b,_0x5bcd6e),_0x143ce9=_0x3a127f==null?void 0x0:_0x3a127f[_0x26dc26(0x383)];if(_0x143ce9){Object['keys'](_0x143ce9)['forEach'](_0x4624d1=>{_0x143ce9[_0x4624d1]['forEach'](_0x1f3481=>{const _0x531aa8=_0x1dff,_0x49422f={..._0x1f3481};_0x49422f[_0x531aa8(0x354)]=_0x1f3481[_0x531aa8(0x354)]+_0x126308,_0x49422f[_0x531aa8(0x33c)]=_0x1f3481[_0x531aa8(0x33c)]+_0x126308,_0x49422f[_0x531aa8(0x2c4)]=_0x1f3481[_0x531aa8(0x2c4)]+_0x18825d,_0x49422f['endColumn']=_0x1f3481[_0x531aa8(0x2d1)]+_0x18825d,_0x21241a['push'](_0x49422f);});});const _0x2c40b5=this[_0x26dc26(0x391)][_0x26dc26(0x367)]({'unitId':_0x1afe41,'subUnitId':_0x36c18b,'ranges':_0x21241a});_0x15b1bc[_0x26dc26(0x1e6)](..._0x2c40b5[_0x26dc26(0x32d)]),_0x307de7[_0x26dc26(0x1e6)](..._0x2c40b5[_0x26dc26(0x1d8)]);const _0x293452=Yo(this['_injector'],_0x1afe41,_0x36c18b,_0x21241a);_0x293452[_0x26dc26(0x1db)]&&(_0x15b1bc[_0x26dc26(0x1e6)](_0x293452[_0x26dc26(0x1de)]),_0x307de7[_0x26dc26(0x1e6)](_0x293452['setRangeValueUndoMutation']));}}}}return{'redos':_0x15b1bc,'undos':_0x307de7};}};ft=Js([ke(0x0,_0x230206(_0x48fa95)),ke(0x1,_0x230206(_0x2feb2b)),ke(0x2,_0x518b26),ke(0x3,_0x27e8db),ke(0x4,_0x230206(he)),ke(0x5,_0x230206(Ne)),ke(0x6,_0x230206(_0x14ab9d))],ft);var Ws=Object[_0x3cd867(0x3ff)],js=(_0x5eeac0,_0x3cee5f,_0x4fd76b,_0x3eccee)=>{const _0x3bbe07=_0x3cd867;for(var _0x47d73f=_0x3eccee>0x1?void 0x0:_0x3eccee?Ws(_0x3cee5f,_0x4fd76b):_0x3cee5f,_0x1b1a0e=_0x5eeac0[_0x3bbe07(0x2f7)]-0x1,_0x2f70af;_0x1b1a0e>=0x0;_0x1b1a0e--)(_0x2f70af=_0x5eeac0[_0x1b1a0e])&&(_0x47d73f=_0x2f70af(_0x47d73f)||_0x47d73f);return _0x47d73f;},_o=(_0x54e9e4,_0x5de1e5)=>(_0x32ffd2,_0xa78e87)=>_0x5de1e5(_0x32ffd2,_0xa78e87,_0x54e9e4);let gt=class extends _0x106977{constructor(_0x90765b,_0x2a8ca5){const _0x45671d=_0x3cd867;super(),this[_0x45671d(0x391)]=_0x90765b,this['_sheetsPivotTableConfigModel']=_0x2a8ca5,this[_0x45671d(0x443)]();}[_0x3cd867(0x443)](){const _0x398f94=_0x3cd867;this['disposeWithMe'](this[_0x398f94(0x391)][_0x398f94(0x36f)]({'getMutations':_0x35dc51=>{const _0x1a2ac1=_0x398f94;if(_0x35dc51['id']===_0x12d211['id']){const _0x374b41=[],_0x2c7556=[],_0x5f2cd2=_0x35dc51[_0x1a2ac1(0x35b)],{unitId:_0x5aaac4,subUnitId:_0x23e0f4}=_0x5f2cd2;if(!_0x5aaac4||!_0x23e0f4)return{'undos':_0x2c7556,'redos':_0x374b41};const _0x556667=this['_sheetsPivotTableConfigModel'][_0x1a2ac1(0x325)](_0x5aaac4,_0x23e0f4);if(_0x556667!=null&&_0x556667[_0x1a2ac1(0x3d1)])for(const [_0x260e87,_0x3261a2]of _0x556667){_0x374b41[_0x1a2ac1(0x1e6)]({'id':Et['id'],'params':{'unitId':_0x5aaac4,'subUnitId':_0x23e0f4,'pivotTableId':_0x260e87}});const _0x2cbf66={...this[_0x1a2ac1(0x26b)][_0x1a2ac1(0x2db)](_0x5aaac4,_0x260e87)};_0x2c7556[_0x1a2ac1(0x1e6)]({'id':Ct['id'],'params':{'unitId':_0x5aaac4,'subUnitId':_0x23e0f4,'pivotTableId':_0x260e87,'pivotTableConfig':_0x3261a2,'collectionConfig':_0x2cbf66}});}return{'redos':_0x374b41,'undos':_0x2c7556};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x230206(_0x14ab9d)),_o(0x1,_0x230206(he))],gt);var Gs=Object[_0x3cd867(0x3ff)],Ks=(_0x60a482,_0x54da28,_0x2fb43f,_0x1084aa)=>{const _0x578b0b=_0x3cd867;for(var _0x1db0ec=_0x1084aa>0x1?void 0x0:_0x1084aa?Gs(_0x54da28,_0x2fb43f):_0x54da28,_0x37ead2=_0x60a482[_0x578b0b(0x2f7)]-0x1,_0x4e2c67;_0x37ead2>=0x0;_0x37ead2--)(_0x4e2c67=_0x60a482[_0x37ead2])&&(_0x1db0ec=_0x4e2c67(_0x1db0ec)||_0x1db0ec);return _0x1db0ec;},qe=(_0x16a53d,_0x11821c)=>(_0xcdfe42,_0x2ca844)=>_0x11821c(_0xcdfe42,_0x2ca844,_0x16a53d);let vt=class extends _0x106977{constructor(_0x2ac7b6,_0x43f059,_0x4bf131,_0x2fb358,_0x2a0154,_0x59f715){const _0x2483b2=_0x3cd867;super(),this[_0x2483b2(0x1dc)]=_0x2ac7b6,this['_sheetsPivotRpcService']=_0x43f059,this[_0x2483b2(0x415)]=_0x4bf131,this[_0x2483b2(0x26b)]=_0x2fb358,this[_0x2483b2(0x2c2)]=_0x2a0154,this['_activeDirtyManagerService']=_0x59f715,this['_initDataSendListener'](),this[_0x2483b2(0x291)]();}['_initDataSendListener'](){const _0x5bf920=_0x3cd867;this[_0x5bf920(0x321)](this[_0x5bf920(0x1dc)]['onCommandExecuted'](_0x6118d3=>{const _0x41ee9e=_0x5bf920;if(_0x6118d3['id']!==lo['id'])return;const _0x4a006=_0x6118d3[_0x41ee9e(0x35b)];this[_0x41ee9e(0x234)][_0x41ee9e(0x2b5)](_0x4a006);})),this[_0x5bf920(0x321)](this[_0x5bf920(0x1dc)]['onCommandExecuted'](_0xec87e7=>{const _0x1de7e6=_0x5bf920;if(_0xec87e7['id']===co['id']){const _0x35ae6c=_0xec87e7['params'];if(_0x35ae6c){const {unitId:_0x19d3b7,subUnitId:_0x741435,oldSubUnitId:_0x1be29f,pivotTableId:_0x452d61,pivotTableConfig:_0x4b8a91,collectionConfig:_0x7ed956}=_0x35ae6c;this[_0x1de7e6(0x26b)]['updateConfigCache'](_0x19d3b7,_0x1be29f,_0x35ae6c[_0x1de7e6(0x3c6)],null),this[_0x1de7e6(0x26b)][_0x1de7e6(0x3dc)](_0x19d3b7,_0x741435,_0x452d61,_0x4b8a91),this[_0x1de7e6(0x26b)]['updateCollectionConfig'](_0x19d3b7,_0x7ed956);}}})),this[_0x5bf920(0x321)](this[_0x5bf920(0x1dc)][_0x5bf920(0x2ce)](_0x592e1e=>{const _0x367c81=_0x5bf920;if(_0x592e1e['id']!==Rt['id'])return;const _0xb6208d=_0x4e8dc1(this[_0x367c81(0x2c2)]);if(!_0xb6208d)return;const {unitId:_0x1ff839,subUnitId:_0x1f7caa}=_0xb6208d,_0x4d7a0e=_0x592e1e[_0x367c81(0x35b)];if(_0x4d7a0e['collectionConfig']&&Object[_0x367c81(0x347)](_0x4d7a0e[_0x367c81(0x3e9)])['forEach'](_0x447d3a=>{const _0x50d3d1=_0x367c81;var _0x1d2ee2;(_0x1d2ee2=_0x4d7a0e['collectionConfig'])!=null&&_0x1d2ee2[_0x447d3a]&&this[_0x50d3d1(0x26b)]['updateCollectionConfig'](_0x447d3a,_0x4d7a0e[_0x50d3d1(0x3e9)][_0x447d3a]);}),_0x4d7a0e[_0x367c81(0x1f8)]){const _0x4f98b1=_0x4d7a0e[_0x367c81(0x1f8)],{unitId:_0x1eac4d,subUnitId:_0x1d90d9,view:_0x1a7040,pivotTableId:_0x2f1b0f,type:_0x2fe0db,pivotConfig:_0x5e604e}=_0x4f98b1;if(_0x2fe0db===$[_0x367c81(0x2ea)])this[_0x367c81(0x415)][_0x367c81(0x237)]({'unitId':_0x1eac4d,'subUnitId':_0x1d90d9,'pivotTableId':_0x2f1b0f,'type':_0x2fe0db}),this[_0x367c81(0x26b)]['updateConfigCache'](_0x1eac4d,_0x1d90d9,_0x2f1b0f,null);else{const _0xae12df=new _0x2b2847();_0xae12df[_0x367c81(0x2b6)](_0x1a7040),this[_0x367c81(0x26b)][_0x367c81(0x3dc)](_0x1eac4d,_0x1d90d9,_0x2f1b0f,_0x5e604e),this[_0x367c81(0x415)]['clearRenderCache']({'unitId':_0x1eac4d,'subUnitId':_0x1d90d9,'pivotTableId':_0x2f1b0f,'type':_0x2fe0db,'view':_0xae12df}),this['_sheetsPivotTableAdaptorModel'][_0x367c81(0x3bf)]({'unitId':_0x1eac4d,'subUnitId':_0x1d90d9,'view':_0xae12df,'pivotTableId':_0x2f1b0f,'type':_0x2fe0db});}}else _0x4d7a0e[_0x367c81(0x3af)]&&(_0x4d7a0e[_0x367c81(0x3af)][_0x367c81(0x3f1)](_0x4acf57=>{const _0x3b2dfd=_0x367c81,{unitId:_0x4d19f1,subUnitId:_0x1bab90,view:_0x269f63,pivotTableId:_0x14a281,type:_0xe04ca6,pivotConfig:_0x30d953}=_0x4acf57,_0x287e58=new _0x2b2847();_0x287e58[_0x3b2dfd(0x2b6)](_0x269f63),this[_0x3b2dfd(0x26b)][_0x3b2dfd(0x3dc)](_0x4d19f1,_0x1bab90,_0x14a281,_0x30d953),this['_sheetsPivotTableAdaptorModel'][_0x3b2dfd(0x3bf)]({'unitId':_0x4d19f1,'subUnitId':_0x1bab90,'view':_0x287e58,'pivotTableId':_0x14a281,'type':_0xe04ca6});}),this['_sheetsPivotTableConfigModel'][_0x367c81(0x38c)]());this[_0x367c81(0x415)][_0x367c81(0x2ed)](_0x1ff839,_0x1f7caa);}));}['registerDirtyService'](){const _0x2eec28=_0x3cd867;this[_0x2eec28(0x3df)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x376992){const _0x39ca04=_0x2eec28;return{'dirtyUnitFeatureMap':_0x376992[_0x39ca04(0x35b)]};}});}};vt=Ks([qe(0x0,_0x230206(_0x518b26)),qe(0x1,_0x230206(Z)),qe(0x2,_0x230206(Ne)),qe(0x3,_0x230206(he)),qe(0x4,_0x230206(_0x27e8db)),qe(0x5,_0x2d3f5b)],vt);var Ys=Object[_0x3cd867(0x40f)],Hs=Object[_0x3cd867(0x3ff)],qs=(_0x551b08,_0x56421f,_0x21a1a8)=>_0x56421f in _0x551b08?Ys(_0x551b08,_0x56421f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21a1a8}):_0x551b08[_0x56421f]=_0x21a1a8,zs=(_0x33bbf2,_0x1aebd5,_0x3e629c,_0x2f8d82)=>{const _0x1f5b3d=_0x3cd867;for(var _0x79db45=_0x2f8d82>0x1?void 0x0:_0x2f8d82?Hs(_0x1aebd5,_0x3e629c):_0x1aebd5,_0x42155f=_0x33bbf2[_0x1f5b3d(0x2f7)]-0x1,_0x49f700;_0x42155f>=0x0;_0x42155f--)(_0x49f700=_0x33bbf2[_0x42155f])&&(_0x79db45=_0x49f700(_0x79db45)||_0x79db45);return _0x79db45;},Ft=(_0x1e9bb2,_0x1dd224)=>(_0x461248,_0x1f1dda)=>_0x1dd224(_0x461248,_0x1f1dda,_0x1e9bb2),Xo=(_0x11918f,_0x43318f,_0x444573)=>qs(_0x11918f,typeof _0x43318f!=_0x3cd867(0x2ae)?_0x43318f+'':_0x43318f,_0x444573);let Vt=class extends _0x36a674{constructor(_0x149978=yo,_0x1fd807,_0x4f7149,_0x2098a5,_0x54b3a5){const _0xb6285c=_0x3cd867;super(),this[_0xb6285c(0x235)]=_0x149978,this[_0xb6285c(0x231)]=_0x1fd807,this[_0xb6285c(0x1dc)]=_0x4f7149,this['_configService']=_0x2098a5,this[_0xb6285c(0x36b)]=_0x54b3a5;const {..._0x327abd}=_0x140103({},yo,this[_0xb6285c(0x235)]);this[_0xb6285c(0x413)]['setConfig'](qo,_0x327abd),this['_initRegisterCommand'](),this[_0xb6285c(0x2aa)]();}['_initConfig'](){const _0x18159f=_0x3cd867;var _0x373d62;const _0x548313=(_0x373d62=this[_0x18159f(0x235)])==null?void 0x0:_0x373d62[_0x18159f(0x274)];this[_0x18159f(0x413)]['setConfig'](H,_0x548313===!0x0);}[_0x3cd867(0x262)](){const _0x1af775=_0x3cd867;var _0x49f649;let _0x486dce=[];const _0x11e2ee=(_0x49f649=this[_0x1af775(0x235)])==null?void 0x0:_0x49f649[_0x1af775(0x274)];_0x11e2ee===!0x0?_0x486dce=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x11e2ee===!0x1?_0x486dce=[[J],[ct]]:_0x11e2ee===void 0x0&&(_0x486dce=[[J],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x486dce['forEach'](_0x518b9b=>this['_injector'][_0x1af775(0x314)](_0x518b9b)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x32182d=>{const _0x1fe7b6=_0x1af775;this[_0x1fe7b6(0x231)]['has'](_0x32182d)&&this[_0x1fe7b6(0x231)][_0x1fe7b6(0x2ec)](_0x32182d);});}['_initRegisterCommand'](){const _0x4f95db=_0x3cd867;[hs,ps,vs,ms,Cs,Ms,Rs,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,Et,Jt,zo,Qo,Yt,Wt,jt,Gt,qt,Ht,pt,ro,lo,Rt,Xt,eo,zt,Kt,uo,to,Zt,Ut,co,_s,Qt,Fs,Ds][_0x4f95db(0x3f1)](_0x19ef0a=>{const _0x1057bd=_0x4f95db;var _0x56036c;(_0x56036c=this[_0x1057bd(0x36b)])==null||_0x56036c[_0x1057bd(0x32e)](_0x19ef0a),this[_0x1057bd(0x1dc)][_0x1057bd(0x3da)](_0x19ef0a);});}};Xo(Vt,'pluginName',ao),Xo(Vt,_0x3cd867(0x23c),_0x264b88[_0x3cd867(0x1da)]),Vt=zs([_0x474ece(_0x2d2587),Ft(0x1,_0x230206(_0x48fa95)),Ft(0x2,_0x230206(_0x518b26)),Ft(0x3,_0x52a20c),Ft(0x4,_0x45c209(_0x143939))],Vt);export{vs as AddPivotFieldCommand,Jt 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,$ as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Wt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Ds as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Gt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Yt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,qt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,J as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Yo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,ht as transFromCellValue,$t as unionPivotViewRange};
|
|
1
|
+
const _0x163919=_0x17af;(function(_0x3d3bab,_0x469a7c){const _0x4b2f66=_0x17af,_0x598e96=_0x3d3bab();while(!![]){try{const _0x19696c=parseInt(_0x4b2f66(0x375))/0x1+parseInt(_0x4b2f66(0x2c3))/0x2*(parseInt(_0x4b2f66(0x18b))/0x3)+-parseInt(_0x4b2f66(0x3e5))/0x4+parseInt(_0x4b2f66(0x2d2))/0x5*(parseInt(_0x4b2f66(0x22a))/0x6)+-parseInt(_0x4b2f66(0x302))/0x7*(parseInt(_0x4b2f66(0x188))/0x8)+-parseInt(_0x4b2f66(0x230))/0x9*(parseInt(_0x4b2f66(0x2ca))/0xa)+parseInt(_0x4b2f66(0x1ed))/0xb;if(_0x19696c===_0x469a7c)break;else _0x598e96['push'](_0x598e96['shift']());}catch(_0x49a48f){_0x598e96['push'](_0x598e96['shift']());}}}(_0xc35a,0xd16a3));var an=Object[_0x163919(0x330)],rn=(_0x359237,_0x57ea7e,_0x483a01)=>_0x57ea7e in _0x359237?an(_0x359237,_0x57ea7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x483a01}):_0x359237[_0x57ea7e]=_0x483a01,A=(_0x575d9d,_0xfa13ff,_0x43d3bc)=>rn(_0x575d9d,typeof _0xfa13ff!='symbol'?_0xfa13ff+'':_0xfa13ff,_0x43d3bc);import{PivotCellStyleTypeEnum as _0x2f42f4,PivotViewCellValueTypeEnum as _0x4f8ff8,isPrefixValue as _0x20f301,isErrorValue as _0x616878,PivotErrorTypeEnum as _0x3a0b64,PivotDateGroupFieldDateTypeEnum as _0x1287ed,DataFieldManager as _0x20cfde,FieldsCollection as _0x421cc7,isDateValue as _0x41b2ed,DataField as _0x46402b,generateHexNumber as _0x288a76,isBaseGroupField as _0x1f0571,PivotTable as _0x22acd5,PivotSubtotalTypeEnum as _0x28e6a9,PivotTableFiledAreaEnum as _0x5658a3,excelDateToUnixMilliseconds as _0x176369,createValueField as _0x1f9cfd,createLabelField as _0x22f57f,PivotTableChangeTypeEnum as _0x1346fe,BaseGroupField as _0x376d54,PivotView as _0x4dd842,isDateGroupFieldJSON as _0x1334ed,PivotCallbackEnum as _0x5bb582,PivotFilterTypeEnum as _0x853ba3,getAutoDisplayName as _0x271d9b,PivotDataFieldDataTypeEnum as _0x3192d7,PivotTableValuePositionEnum as _0xcffe0c,isDateGroupField as _0x5a88b5,DateGroupField as _0x13107d}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x33a9b5,ObjectMatrix as _0x13addc,IUniverInstanceService as _0x544974,UniverInstanceType as _0x2d7980,CellValueType as _0x3a415e,numfmt as _0x15cc0e,LocaleService as _0x407a90,createAsyncInterceptorKey as _0x5a3ed7,createInterceptorKey as _0x1df6c3,CommandType as _0x560711,RANGE_TYPE as _0x2d52fe,numberToABC as _0x1a44a4,Inject as _0x86a91c,Injector as _0x207bcc,LifecycleService as _0x436404,IConfigService as _0x197f4e,ICommandService as _0x27f7ca,IResourceManagerService as _0x503a9d,Disposable as _0x5647fd,Rectangle as _0x5f15bf,Tools as _0xe68987,AsyncInterceptorManager as _0x41d3c2,InterceptorManager as _0x53f83a,InterceptorEffectEnum as _0x23c0b6,CustomCommandExecutionError as _0x3ed4eb,IUndoRedoService as _0x5d5e99,sequenceExecute as _0x573a3a,mergeWorksheetSnapshotWithDefault as _0x4398fd,generateRandomId as _0x27e219,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x7e6996,DEFAULT_WORKSHEET_ROW_COUNT as _0x459ec6,DisposableCollection as _0x327857,Range as _0x182533,DependentOn as _0x3b9711,Optional as _0x4b7159,Plugin as _0x4d6d5f,merge as _0x25df92}from'@univerjs/core';import{ErrorType as _0x1eb5dd,serializeRangeWithSpreadsheet as _0x1a5942,IFeatureCalculationManagerService as _0x1cb3a3,GlobalComputingStatusService as _0x2ccb02,IActiveDirtyManagerService as _0x1199da}from'@univerjs/engine-formula';import{generateNullCell as _0x8708ef,SetRangeValuesUndoMutationFactory as _0x189c56,SetRangeValuesMutation as _0x48963d,getSheetCommandTarget as _0x3d7c14,InsertRowMutation as _0x1ae041,RemoveRowMutation as _0x481447,InsertColMutation as _0x217c5b,RemoveColMutation as _0x2421d2,IExclusiveRangeService as _0x4cd14b,SheetInterceptorService as _0x2d7402,INTERCEPTOR_POINT as _0x5d8bff,InsertSheetCommand as _0x2bc982,InsertSheetUndoMutationFactory as _0x2ca4fd,RemoveSheetMutation as _0x20c8c0,InsertSheetMutation as _0xaa2ea2,MoveRangeMutation as _0x320d9c,SheetsSelectionsService as _0x2ff340,ClearSelectionContentCommand as _0x57f519,ClearSelectionAllCommand as _0x20739a,SetWorksheetColWidthMutation as _0x190111,RefRangeService as _0x690b84,SetWorksheetActiveOperation as _0x352f82,MoveRangeCommand as _0x43ab0f,RemoveSheetCommand as _0x518df1}from'@univerjs/sheets';import{Subject as _0x2bd365,BehaviorSubject as _0xb566a2}from'rxjs';import{LS_CONFIG_KEY as _0x328693,unshiftString as _0x30c62d,isFeatureAuthorizedWithinTime as _0x44c175,getSheetFeatureLimit as _0x24528d,ReleaseType as _0x2c5aaf,UniverLicensePlugin as _0x2ae7d0}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x32ab2e,RemoveSheetsFilterMutation as _0x1f309d}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x5ed41c}from'@univerjs/rpc';import{getFontStyleString as _0x5b321d,FontCache as _0x1ebe2a}from'@univerjs/engine-render';const Jo=Number[_0x163919(0x1ba)](0x684ef087),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,ci='rgb(240,241,243)',di=_0x163919(0x1e0),wt=_0x163919(0x3b0),ui=_0x163919(0x17d),fi=_0x163919(0x17d),gi=_0x163919(0x1e4),vi='#1d32e9',hi='#FFFFFF',pi=_0x163919(0x207),mi='#1d32e9',Ii='#FFFFFF',Ci=_0x163919(0x33d),bi=0xe,Si=0x6;var ko=(_0x40ded1=>(_0x40ded1['Existing']='existing',_0x40ded1[_0x163919(0x1d0)]=_0x163919(0x3bd),_0x40ded1))(ko||{});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':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':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 yi(_0x55ca07,_0x466a3b,_0x77cfd0){const _0xd90f53=_0x163919,_0x19ddec=_0x55ca07[_0xd90f53(0x3cd)](_0x407a90),_0xad25d=_0x77cfd0[_0xd90f53(0x304)]('_');switch(_0x466a3b){case _0x1287ed[_0xd90f53(0x21e)]:return _0x19ddec['t']('sheets-pivot.cellDateGroupDisplay.year',..._0xad25d);case _0x1287ed[_0xd90f53(0x374)]:return _0x19ddec['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0xad25d);case _0x1287ed['Hour']:return _0x19ddec['t'](_0xd90f53(0x1c2),..._0xad25d);case _0x1287ed[_0xd90f53(0x367)]:return _0x19ddec['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0xad25d);case _0x1287ed['Date']:return _0x19ddec['t'](_0xd90f53(0x303),..._0xad25d);case _0x1287ed['Month']:return _0x19ddec['t'](_0xd90f53(0x1d6),..._0xad25d);case _0x1287ed[_0xd90f53(0x299)]:return _0x19ddec['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0xad25d);case _0x1287ed[_0xd90f53(0x373)]:return _0x19ddec['t'](_0xd90f53(0x347),..._0xad25d);case _0x1287ed[_0xd90f53(0x1ce)]:return _0x19ddec['t'](_0xd90f53(0x2fe),..._0xad25d);case _0x1287ed['YearQuarter']:return _0x19ddec['t'](_0xd90f53(0x270),..._0xad25d);}return'';}const it=(_0x49f751,_0x5d47fb,_0xf571a9,_0x198136)=>{const _0x965cd8=_0x163919;let _0xd658a1;const _0x4b7b55=_0x49f751[_0x965cd8(0x3cd)](_0x544974)[_0x965cd8(0x3d3)](_0x2d7980['UNIVER_SHEET']);if(!_0x4b7b55)return null;const _0x50586a=_0x4b7b55[_0x965cd8(0x382)]();let _0x43becf;if(_0xf571a9&&(_0x43becf=_0x50586a['setValue'](_0xf571a9)),_0x5d47fb!=null&&_0x5d47fb['v']||(_0x5d47fb==null?void 0x0:_0x5d47fb['v'])===0x0){_0xd658a1||(_0xd658a1={});const _0x298301=Lo(_0x5d47fb['v']);typeof _0x298301==_0x965cd8(0x2cb)?_0xd658a1['t']=_0x3a415e[_0x965cd8(0x2aa)]:typeof _0x298301==_0x965cd8(0x16d)&&(_0xd658a1['t']=_0x3a415e[_0x965cd8(0x187)]),_0xd658a1['v']=_0x298301;}if((_0x5d47fb!=null&&_0x5d47fb['i']||(_0x5d47fb==null?void 0x0:_0x5d47fb['i'])===0x0)&&(_0xd658a1||(_0xd658a1={}),_0xd658a1['fi']=_0x5d47fb['i']),_0x5d47fb!=null&&_0x5d47fb['s']&&(_0xd658a1||(_0xd658a1={}),_0xd658a1[_0x965cd8(0x3a8)]=_0x5d47fb['s']),_0xf571a9&&(_0xd658a1||(_0xd658a1={}),_0xd658a1['s']=_0x43becf),_0x198136&&_0xd658a1!=null&&_0xd658a1['v']&&_0xd658a1[_0x965cd8(0x3a8)]!==_0x2f42f4['GrandTotal']&&_0xd658a1[_0x965cd8(0x3a8)]!==_0x2f42f4['Subtotal']){const _0x3a18b5=String(_0xd658a1['v']),{dateType:_0x3492a5}=_0x198136;_0xd658a1['v']=yi(_0x49f751,_0x3492a5,_0x3a18b5),_0xd658a1['t']=_0x3a415e[_0x965cd8(0x187)];}return _0xd658a1;},Ti=(_0xc17c0e,_0x52bdac,_0x53ce36,_0x458fa6)=>{const _0x4dc489=_0x163919;var _0x467dfd,_0x2bda1c,_0x55000f,_0x4d4c09,_0x712992,_0x49d7e9,_0x33f887,_0x40cb35,_0x3fa3c7,_0x167000,_0x31e329,_0x520af1,_0x4ce131,_0x138045;const _0x576be9=_0x53ce36[_0x4dc489(0x33e)],{cornerView:_0x4daef9,rowView:_0x4a0710,colView:_0xb1f110,dataView:_0x3157d9,pageView:_0x205015,formatMap:_0x2e7584,groupInfo:_0x325a65}=_0x52bdac,{row:_0x19c933,col:_0x39bc23}=_0x576be9,_0x5e7d38=new _0x13addc(),_0x30bcef={},_0x1ff1bc={},_0x2137a3={},_0x38510f={},_0x328fa0={};let _0x9acee9=_0x19c933,_0x3a7cf2=_0x39bc23;Object['keys'](_0x205015[_0x4dc489(0x20f)])[_0x4dc489(0x1f1)](_0x5b2f70=>{const _0x1c6700=_0x4dc489;Object[_0x1c6700(0x1c3)](_0x205015[_0x1c6700(0x20f)][Number(_0x5b2f70)])[_0x1c6700(0x1f1)](_0x360b1b=>{const _0x508a6a=_0x1c6700,_0x1646f9={..._0x205015['data'][Number(_0x5b2f70)][Number(_0x360b1b)]};_0x5e7d38[_0x508a6a(0x3c0)](Number(_0x5b2f70)+_0x9acee9,Number(_0x360b1b)+_0x3a7cf2,it(_0xc17c0e,_0x1646f9,fe[_0x508a6a(0x356)]));});});const _0x21c2ed=Object[_0x4dc489(0x1c3)](_0x205015['data'])[_0x4dc489(0x3cc)];_0x9acee9+=_0x21c2ed+(_0x21c2ed?It:0x0);const _0x1fd6ac=_0x4daef9[_0x4dc489(0x281)](),_0xf9535d=_0x4daef9['getColCount']();for(let _0x2b9cf0=0x0;_0x2b9cf0<_0x1fd6ac;_0x2b9cf0++)for(let _0x150fb0=0x0;_0x150fb0<_0xf9535d;_0x150fb0++){const _0xe586c9={...(_0x2bda1c=(_0x467dfd=_0x4daef9['data'])==null?void 0x0:_0x467dfd[_0x2b9cf0])==null?void 0x0:_0x2bda1c[_0x150fb0]};_0xe586c9&&((_0x55000f=_0x4a0710[_0x4dc489(0x2e4)][_0x150fb0])!=null&&_0x55000f['isValue'])&&_0x150fb0===_0xf9535d-0x1&&_0x2b9cf0===_0x1fd6ac-0x1&&(_0xe586c9['v']=''+_0x458fa6['sheets-pivot.value']),_0x5e7d38[_0x4dc489(0x3c0)](_0x2b9cf0+_0x9acee9,_0x150fb0+_0x3a7cf2,it(_0xc17c0e,_0xe586c9,fe[_0x4dc489(0x2ae)]));}for(let _0x168e53=0x0;_0x168e53<_0x4daef9[_0x4dc489(0x36c)][_0x4dc489(0x3cc)];_0x168e53++)_0x4daef9[_0x4dc489(0x36c)][_0x168e53]&&(_0x2137a3[''+(_0x168e53+_0x3a7cf2)]=_0x4daef9[_0x4dc489(0x36c)][_0x168e53]);_0x3a7cf2+=_0xf9535d;const _0x5a16ad=_0xb1f110[_0x4dc489(0x2e4)],_0x3848e3=_0xb1f110[_0x4dc489(0x169)]()>=0x0?_0xb1f110['getLastRow']()+0x1:0x0,_0x19554c=_0xb1f110[_0x4dc489(0x2d1)]()>=0x0?_0xb1f110[_0x4dc489(0x2d1)]()+0x1:0x0;for(let _0x337a91=0x0;_0x337a91<_0x19554c;_0x337a91++){for(let _0x5a85e1=0x0;_0x5a85e1<_0x3848e3;_0x5a85e1++){const _0x2438da={...(_0x712992=(_0x4d4c09=_0xb1f110[_0x4dc489(0x20f)])==null?void 0x0:_0x4d4c09[_0x5a85e1])==null?void 0x0:_0x712992[_0x337a91]},_0x7640f5=(_0x49d7e9=_0x5a16ad[_0x5a85e1])==null?void 0x0:_0x49d7e9[_0x4dc489(0x39a)],_0x572a7a=_0x2e7584[_0x7640f5],_0x39f746=_0x325a65[_0x7640f5];_0x2438da&&(_0x2438da['v']=ht(_0x2438da,_0x5a85e1===0x0&&((_0x33f887=_0xb1f110[_0x4dc489(0x2c6)](_0x337a91+0x1))==null?void 0x0:_0x33f887[_0x4dc489(0x2af)]),_0x572a7a,_0x458fa6));let _0x21414a;_0x572a7a?_0x21414a={...fe[_0x4dc489(0x3d2)],'n':{'pattern':_0x572a7a}}:_0x21414a={...fe['colStyle']},_0x5e7d38[_0x4dc489(0x3c0)](_0x5a85e1+_0x9acee9,_0x337a91+_0x3a7cf2,it(_0xc17c0e,_0x2438da,_0x21414a,_0x39f746));}_0xb1f110[_0x4dc489(0x36c)][_0x337a91]&&(_0x1ff1bc[''+(_0x337a91+_0x3a7cf2)]=_0xb1f110[_0x4dc489(0x36c)][_0x337a91]),_0xb1f110[_0x4dc489(0x2e4)][_0x337a91+0x1]&&(_0x328fa0[''+(_0x337a91+_0x9acee9+0x1)]=_0xb1f110[_0x4dc489(0x2e4)][_0x337a91+0x1]);}_0x9acee9+=_0x1fd6ac;const _0x3a67b9=_0x4a0710['headerMap'],_0x54ca99=_0x4a0710[_0x4dc489(0x169)]()>=0x0?_0x4a0710[_0x4dc489(0x169)]()+0x1:0x0,_0x9b3c97=_0x4a0710[_0x4dc489(0x2d1)]()>=0x0?_0x4a0710[_0x4dc489(0x2d1)]()+0x1:0x0;for(let _0xb50d18=0x0;_0xb50d18<_0x54ca99;_0xb50d18++){for(let _0x1ef731=0x0;_0x1ef731<_0x9b3c97;_0x1ef731++){const _0x1d0cf4={...(_0x3fa3c7=(_0x40cb35=_0x4a0710[_0x4dc489(0x20f)])==null?void 0x0:_0x40cb35[_0xb50d18])==null?void 0x0:_0x3fa3c7[_0x1ef731]},_0x35931c=(_0x167000=_0x3a67b9[_0x1ef731])==null?void 0x0:_0x167000[_0x4dc489(0x39a)],_0x2f9892=_0x2e7584[_0x35931c],_0x5a5c4a=_0x325a65[_0x35931c];_0x1d0cf4&&(_0x1d0cf4['v']=ht(_0x1d0cf4,!0x1,_0x2f9892,_0x458fa6));let _0x24cba0;_0x4a0710[_0x4dc489(0x36c)][_0xb50d18][_0x4dc489(0x3c1)]===_0x4a0710['getColCount']()?_0x24cba0=fe[_0x4dc489(0x278)]:_0x4a0710[_0x4dc489(0x36c)][_0xb50d18][_0x4dc489(0x1f9)]?_0x24cba0=_0x4a0710[_0x4dc489(0x36c)][_0xb50d18][_0x4dc489(0x3c1)]===0x0?fe[_0x4dc489(0x2fc)]:fe[_0x4dc489(0x294)]:_0x24cba0=fe[_0x4dc489(0x31d)],_0x2f9892&&(_0x24cba0={..._0x24cba0,'n':{'pattern':_0x2f9892}}),_0x5e7d38[_0x4dc489(0x3c0)](_0xb50d18+_0x9acee9,_0x1ef731+_0x39bc23,it(_0xc17c0e,_0x1d0cf4,_0x24cba0,_0x5a5c4a));}_0x4a0710[_0x4dc489(0x36c)][_0xb50d18]&&(_0x30bcef[''+(_0xb50d18+_0x9acee9)]=_0x4a0710[_0x4dc489(0x36c)][_0xb50d18]),_0x4a0710['headerMap'][_0xb50d18]&&(_0x38510f[''+(_0xb50d18+_0x39bc23)]=_0x4a0710['headerMap'][_0xb50d18]);}const _0x304827=_0x3157d9[_0x4dc489(0x281)](),_0x2b1967=_0x3157d9[_0x4dc489(0x340)]();for(let _0x1665c0=0x0;_0x1665c0<_0x304827;_0x1665c0++)for(let _0x43f4d6=0x0;_0x43f4d6<_0x2b1967;_0x43f4d6++){const _0x42e11f={...(_0x520af1=(_0x31e329=_0x3157d9['data'])==null?void 0x0:_0x31e329[_0x1665c0])==null?void 0x0:_0x520af1[_0x43f4d6]};let _0x48e11b;_0x4a0710['info'][_0x1665c0][_0x4dc489(0x1f9)]?_0x48e11b=_0x4a0710[_0x4dc489(0x36c)][_0x1665c0][_0x4dc489(0x3c1)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x48e11b=fe[_0x4dc489(0x2ba)];const _0x47d186=_0x4a0710[_0x4dc489(0x36c)][_0x1665c0][_0x4dc489(0x224)],_0x22e6f0=_0xb1f110[_0x4dc489(0x36c)][_0x43f4d6][_0x4dc489(0x224)],_0x1f7b85=Math[_0x4dc489(0x3d5)](_0x47d186,_0x22e6f0),_0x42c3f6=_0x53ce36['fieldsConfig'][_0x4dc489(0x23e)][_0x4dc489(0x396)]();let _0x39248d='';_0x1f7b85<0x0?_0x39248d=(_0x4ce131=_0x42c3f6[0x0])!=null?_0x4ce131:'':_0x39248d=(_0x138045=_0x42c3f6[_0x1f7b85])!=null?_0x138045:'';const _0x3f9237=_0x2e7584[_0x39248d];_0x3f9237&&(_0x48e11b={..._0x48e11b,'n':{'pattern':_0x3f9237}}),_0x5e7d38[_0x4dc489(0x3c0)](_0x1665c0+_0x9acee9,_0x43f4d6+_0x3a7cf2,it(_0xc17c0e,_0x42e11f,_0x48e11b));}return{'valueMatrix':_0x5e7d38,'rowInfo':_0x30bcef,'colInfo':_0x1ff1bc,'cornerInfo':_0x2137a3,'rowHeaderMap':_0x38510f,'colHeaderMap':_0x328fa0};};function ht(_0x44a66f,_0x301048,_0x3ce194,_0x5be645){const _0x1fd8c8=_0x163919;let _0x29093c=_0x44a66f['v'];_0x301048&&(_0x29093c=''+_0x5be645[_0x1fd8c8(0x1cb)]);const _0x2ab9ce=_0x44a66f['t']&&(_0x44a66f['t']&_0x4f8ff8[_0x1fd8c8(0x1fc)])>0x0;if(_0x2ab9ce&&(_0x29093c=''+_0x5be645[_0x1fd8c8(0x25d)]),_0x44a66f['s']===_0x2f42f4[_0x1fd8c8(0x30c)]){let _0x3016b7=_0x29093c,_0x443144='';_0x20f301(_0x29093c)&&(_0x3016b7=_0x29093c[_0x1fd8c8(0x2b3)],_0x443144=_0x29093c['value']);const _0x343045=_0x3ce194&&!_0x2ab9ce?_0x15cc0e['format'](_0x3ce194,Number(_0x3016b7)):_0x3016b7;_0x443144?_0x29093c=_0x343045+'\x20'+_0x443144:_0x29093c=_0x343045+'\x20'+_0x5be645[_0x1fd8c8(0x2dc)];}else _0x44a66f['s']===_0x2f42f4[_0x1fd8c8(0x344)]&&(_0x29093c=_0x29093c+'\x20'+_0x5be645[_0x1fd8c8(0x240)]);return _0x29093c;}function Lo(_0x2cbe97){const _0x25cd59=_0x163919;if(_0x616878(_0x2cbe97)){const {errorType:_0x1b05e5}=_0x2cbe97;switch(_0x1b05e5){case _0x3a0b64[_0x25cd59(0x2ad)]:return _0x1eb5dd[_0x25cd59(0x237)];case _0x3a0b64['NotNumber']:return _0x1eb5dd[_0x25cd59(0x2d7)];case _0x3a0b64['NotFunction']:return _0x1eb5dd[_0x25cd59(0x2c2)];case _0x3a0b64['NotName']:return _0x1eb5dd[_0x25cd59(0x2c2)];case _0x3a0b64['BadReference']:return _0x1eb5dd['REF'];}}return _0x2cbe97;}function ge(_0xe76c25,_0x115c3a,_0x10fc18=!0x1,_0x253c61=!0x1){const _0x3da909=_0x163919,{data:_0x3c00b5}=_0x115c3a,_0x232ff9=_0x115c3a['getRowCount'](),_0x1f3ec3=_0x115c3a['getColCount']();if(_0x232ff9<=0x0||_0x1f3ec3<=0x0)return[];const _0x3ec10a=_0x115c3a['getLastCol'](),_0x1c6842=_0x115c3a[_0x3da909(0x169)](),_0x2e0236=_0x253c61?_0x1c6842>=0x0?_0x1c6842+0x1:0x0:_0x232ff9,_0x2e8f1e=_0x253c61?_0x3ec10a>=0x0?_0x3ec10a+0x1:0x0:_0x1f3ec3,{row:_0x48c046,col:_0x3d495a}=_0xe76c25,_0x359dec=_0x48c046,_0x9a4fb0=_0x3d495a;if(_0x10fc18){const _0x101f36=[];for(const [_0x48699b,_0x226df7]of Object[_0x3da909(0x2d4)](_0x3c00b5))for(const [_0x21d318,_0x2f187a]of Object[_0x3da909(0x2d4)](_0x226df7))_0x101f36[_0x3da909(0x338)](_0x33a9b5(_0x359dec+Number(_0x48699b),_0x9a4fb0+Number(_0x21d318)));return _0x101f36;}else{const _0x171602=_0x253c61?_0x2e0236>0x0?0x1:0x0:0x1,_0x7b5bad=_0x253c61?_0x2e8f1e>0x0?0x1:0x0:0x1,_0x24455d=_0x48c046+_0x2e0236-_0x171602,_0x23ed01=_0x3d495a+_0x2e8f1e-_0x7b5bad;return[{'startRow':_0x359dec,'startColumn':_0x9a4fb0,'endRow':_0x24455d,'endColumn':_0x23ed01}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',kt=_0x163919(0x38f);var J=(_0x134774=>(_0x134774[_0x163919(0x285)]=_0x163919(0x180),_0x134774[_0x163919(0x186)]=_0x163919(0x376),_0x134774[_0x163919(0x1e1)]=_0x163919(0x3a6),_0x134774['AddPivotTableWithConfig']=_0x163919(0x22e),_0x134774[_0x163919(0x19d)]='addPivotTable',_0x134774[_0x163919(0x260)]='movePivotField',_0x134774[_0x163919(0x29a)]='removePivotField',_0x134774['SetPivotCollapse']='setPivotCollapse',_0x134774[_0x163919(0x21c)]='setPivotFilter',_0x134774[_0x163919(0x194)]='setPivotSort',_0x134774[_0x163919(0x2e2)]=_0x163919(0x2ee),_0x134774[_0x163919(0x3b2)]='updatePivotSource',_0x134774[_0x163919(0x296)]=_0x163919(0x3c9),_0x134774[_0x163919(0x1ee)]=_0x163919(0x1bc),_0x134774[_0x163919(0x20a)]='setValuePivotFilter',_0x134774[_0x163919(0x345)]=_0x163919(0x1c0),_0x134774[_0x163919(0x35e)]=_0x163919(0x3a2),_0x134774))(J||{});const Mi={'sheets-pivot.blankValue':_0x163919(0x3ae),'sheets-pivot.columnName':_0x163919(0x2b8),'sheets-pivot.subTotalText':_0x163919(0x388),'sheets-pivot.grandTotalText':_0x163919(0x29d),'sheets-pivot.valueText':_0x163919(0x276),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x163919(0x354),'sheets-pivot.countNumsName':_0x163919(0x354),'sheets-pivot.maxName':_0x163919(0x2ef),'sheets-pivot.minName':_0x163919(0x3b7),'sheets-pivot.productName':_0x163919(0x184),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x163919(0x269),'sheets-pivot.sumName':_0x163919(0x259),'sheets-pivot.varName':_0x163919(0x211),'sheets-pivot.varpName':_0x163919(0x3a4),'sheets-pivot.subTotal':_0x163919(0x30c),'sheets-pivot.grandTotal':_0x163919(0x29d),'sheets-pivot.value':_0x163919(0x199),'sheets-pivot.blank':_0x163919(0x1fc),'sheets-pivot.emptyPivot.filter':_0x163919(0x285),'sheets-pivot.emptyPivot.row':_0x163919(0x291),'sheets-pivot.emptyPivot.column':_0x163919(0x255),'sheets-pivot.emptyPivot.values':_0x163919(0x315)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x5a3ed7(_0x163919(0x2c7)),$o=_0x1df6c3(_0x163919(0x1ae));var Be=(_0x3d8321=>(_0x3d8321['add']=_0x163919(0x248),_0x3d8321[_0x163919(0x31b)]='delete',_0x3d8321[_0x163919(0x370)]=_0x163919(0x370),_0x3d8321))(Be||{}),L=(_0xbfc471=>(_0xbfc471['Add']=_0x163919(0x248),_0xbfc471[_0x163919(0x23f)]=_0x163919(0x1df),_0xbfc471[_0x163919(0x38b)]=_0x163919(0x31b),_0xbfc471))(L||{});const Ko={0x0:'v',0x1:'A',0x2:'c',0x3:'a',0x4:'q',0x5:'R',0x6:'f',0x7:'P',0x8:'r',0x9:'z','Q':'0','j':'1','N':'2','F':'3','Z':'4','k':'5','s':'6','w':'7','L':'8','V':'9','f':'b','P':'d','y':'e','m':'g','O':'h','t':'i','I':'j','e':'k','K':'l','n':'m','J':'n','E':'o','R':'p','D':'s','A':'t','d':'u','r':'w','B':'x','X':'y','x':'B','W':'C','q':'D','Y':'E','M':'F','T':'G','u':'H','c':'I','C':'J','i':'K','l':'L','b':'M','g':'N','U':'O','a':'Q','h':'S','G':'T','v':'U','S':'V','p':'W','o':'X','z':'Y','H':'Z'},jo=_0x163919(0x247),ro={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x2ff),'handler':()=>!0x0},lo={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x24c),'handler':()=>!0x0},Dt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x264),'handler':()=>!0x0},co={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x34c),'handler':()=>!0x0},uo={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x360),'handler':()=>!0x0},wi=_0x2619fc=>{const _0x3241a5=_0x163919;var _0x53fa14;return((_0x53fa14=_0x2619fc[_0x3241a5(0x2b2)])==null?void 0x0:_0x53fa14['dataStream'][_0x3241a5(0x2e7)](/\r\n$/,''))||'';};class _i extends _0x20cfde{constructor(_0x5773af,_0x1cc0f8){const _0x45f902=_0x163919;super(),A(this,_0x45f902(0x26f),{}),A(this,'_univerInstanceService'),A(this,_0x45f902(0x2f9)),(this[_0x45f902(0x1b8)]=_0x1cc0f8,this[_0x45f902(0x2f9)]=_0x5773af);}[_0x163919(0x1d9)](){const _0x333778=_0x163919;for(const _0x4236d8 in this[_0x333778(0x36e)]){const _0x3b2ccb=this[_0x333778(0x36e)][_0x4236d8],_0xd11b26=_0x3b2ccb[_0x333778(0x1a4)]();this['rangeKeyMap'][_0xd11b26]=_0x3b2ccb[_0x333778(0x3b1)]();}}[_0x163919(0x20c)](){const _0xcd7f36=_0x163919,_0x4420b8=this['_host'];return Ui[_0xcd7f36(0x3b4)](_0x4420b8);}[_0x163919(0x3bb)](_0x3fd338){const _0x375cd8=_0x163919,_0x9534e4=this[_0x375cd8(0x36e)][_0x3fd338][_0x375cd8(0x1c7)];delete this[_0x375cd8(0x36e)][_0x3fd338],delete this[_0x375cd8(0x26f)][_0x9534e4];}['addDataFieldWithoutUnitInfo'](_0x558dd0){const _0x1965cc=_0x163919;this[_0x1965cc(0x36e)][_0x558dd0['getId']()]=_0x558dd0;}[_0x163919(0x220)](_0x5497f6){const _0x3fe392=_0x163919;var _0x1bee91,_0x48c480;const _0x384fcd=this[_0x3fe392(0x2f9)][_0x3fe392(0x387)](_0x5497f6);if(_0x384fcd){const {unitId:_0xe38e7,subUnitId:_0x275047}=_0x384fcd,_0x3aab3c=(_0x1bee91=this[_0x3fe392(0x2f9)][_0x3fe392(0x38a)](_0xe38e7,_0x275047,_0x5497f6))==null?void 0x0:_0x1bee91[_0x3fe392(0x2d8)];this[_0x3fe392(0x2f9)]['broadcastCollectionChange']({'token':_0x5497f6,'type':Be[_0x3fe392(0x31b)],'dataRangeInfo':_0x3aab3c});}(_0x48c480=this[_0x3fe392(0x1d5)](_0x5497f6))==null||_0x48c480['dispose'](),delete this['collections'][_0x5497f6];}[_0x163919(0x1a4)](_0x1cc9ba,_0x1bed06){const {sheetName:_0x14b02c,unitId:_0xbf1787,range:_0x4fd980}=_0x1cc9ba,{startRow:_0x386e31,endRow:_0x3b695b}=_0x4fd980;return _0x1a5942(_0xbf1787,_0x14b02c,{'startRow':_0x386e31,'endRow':_0x3b695b,'startColumn':_0x1bed06,'endColumn':_0x1bed06});}[_0x163919(0x2a5)](_0x5a377d){const _0xc80798=_0x163919;return this[_0xc80798(0x36e)][this[_0xc80798(0x26f)][_0x5a377d]];}[_0x163919(0x232)](_0x3c76d3,_0x4cbcef){const _0x5d68ec=_0x163919;this[_0x5d68ec(0x26f)][_0x3c76d3]=_0x4cbcef;}[_0x163919(0x3ba)](_0x2e2982,_0x77f9bb){const _0x37e7d1=_0x163919;this['rangeKeyMap'][_0x77f9bb]=this[_0x37e7d1(0x26f)][_0x2e2982],delete this[_0x37e7d1(0x26f)][_0x2e2982];}[_0x163919(0x1b1)](_0x5ab901,_0x5b6cd2,_0x15c03d,_0x4d5af3){const _0x36d130=_0x163919,_0x5f244f=new _0x421cc7(this);_0x5f244f[_0x36d130(0x1f4)](_0x5b6cd2);const _0x1cea7c=[];let _0x21b20f=0x0;for(const _0x6c372 of _0x5f244f[_0x36d130(0x29f)]){const _0xf8ceb6=this['getRangeKey'](_0x15c03d,_0x21b20f),_0x4ca76d=this['dataFields'][_0x6c372];_0x4ca76d&&(_0x4ca76d[_0x36d130(0x1c7)]=_0xf8ceb6,this[_0x36d130(0x232)](_0xf8ceb6,_0x6c372),_0x1cea7c[_0x36d130(0x338)]({'index':_0x21b20f,'dataField':_0x4ca76d})),_0x21b20f++;}return this[_0x36d130(0x314)](_0x5ab901,_0x5f244f,_0x15c03d,_0x4d5af3),{'collection':_0x5f244f,'updateDataFieldList':_0x1cea7c};}[_0x163919(0x200)](_0x17c778,_0x294641){const _0x26d135=_0x163919;return _0x17c778[_0x26d135(0x22b)]===_0x2d52fe[_0x26d135(0x261)]?{'startRow':0x0,'startColumn':_0x17c778['startColumn'],'endRow':_0x294641[_0x26d135(0x281)]()-0x1,'endColumn':_0x17c778['endColumn']}:{'startRow':_0x17c778[_0x26d135(0x3d1)],'startColumn':_0x17c778[_0x26d135(0x2c8)],'endRow':_0x17c778[_0x26d135(0x1a6)],'endColumn':_0x17c778['endColumn']};}[_0x163919(0x385)](_0x1cc8fc){const _0xfee4e6=_0x163919,{sheetName:_0x14a58c,range:_0x336fbb}=_0x1cc8fc,_0x274780=this[_0xfee4e6(0x1b8)][_0xfee4e6(0x3d3)](_0x2d7980[_0xfee4e6(0x348)]),_0x6190a0=_0x274780[_0xfee4e6(0x263)](_0x14a58c),_0x127f35=_0x6190a0[_0xfee4e6(0x392)](),{startColumn:_0x3cabfa,startRow:_0x4893a8,endColumn:_0xa7b58f}=this[_0xfee4e6(0x200)](_0x336fbb,_0x6190a0),_0x259157=_0x274780[_0xfee4e6(0x382)](),_0x22d1be=new _0x421cc7(this);_0x22d1be[_0xfee4e6(0x190)](_0x1cc8fc);const _0x47a1e1=[],_0x32a6c4={};for(let _0x269ddb=_0x3cabfa;_0x269ddb<=_0xa7b58f;_0x269ddb++){const _0x34bbd2=_0x127f35[_0xfee4e6(0x3d9)](_0x4893a8,_0x269ddb),_0x44b77f=this[_0xfee4e6(0x1a4)](_0x1cc8fc,_0x269ddb),_0x4e8428=this[_0xfee4e6(0x2a5)](_0x44b77f);if(_0x4e8428)_0x22d1be[_0xfee4e6(0x3e4)](_0x4e8428[_0xfee4e6(0x3b1)](),_0x4e8428[_0xfee4e6(0x336)]());else{const _0x27396d=this[_0xfee4e6(0x1ca)]();let _0x157918=this[_0xfee4e6(0x179)](_0x34bbd2,_0x259157,_0x32a6c4);_0x41b2ed(_0x157918)&&(_0x157918=_0x15cc0e[_0xfee4e6(0x1af)](_0x157918['f'],Number(_0x157918['v'])));const _0x8faa1c=this['uniqueDataFieldName'](_0x157918,_0x269ddb),_0x37670c=new _0x46402b(_0x27396d,_0x8faa1c,_0x288a76(0x3));_0x37670c[_0xfee4e6(0x1c7)]=_0x44b77f,this[_0xfee4e6(0x36e)][_0x27396d]=_0x37670c,_0x22d1be[_0xfee4e6(0x3e4)](_0x27396d,_0x8faa1c),_0x47a1e1[_0xfee4e6(0x338)]({'index':_0x269ddb,'dataField':_0x37670c});}}return{'updateDataFieldList':_0x47a1e1,'collection':_0x22d1be};}[_0x163919(0x1e2)](_0xb7d409){const _0x11447d=_0x163919;return this['_host'][_0x11447d(0x307)]()['sheets-pivot.columnName']+'\x20'+_0x1a44a4(_0xb7d409);}['uniqueDataFieldName'](_0x1dbd3d,_0x2811f4){return _0x1dbd3d==null||_0x1dbd3d===''?this['_getAutoName'](_0x2811f4):String(_0x1dbd3d);}[_0x163919(0x1d5)](_0x16d87f){return this['collections'][_0x16d87f];}[_0x163919(0x314)](_0x588033,_0x3714d1,_0x43688d,_0x3f7089){const _0x185a50=_0x163919;this[_0x185a50(0x3a1)][_0x588033]=_0x3714d1,_0x3714d1['setRange'](_0x43688d),this[_0x185a50(0x2f9)][_0x185a50(0x3bc)]({'token':_0x588033,'type':Be[_0x185a50(0x248)],'dataRangeInfo':_0x43688d,'targetCellInfo':_0x3f7089});}[_0x163919(0x1fd)](_0x32771b,_0x54527a){const _0x9c0770=_0x163919,_0x3478bd=this[_0x9c0770(0x1d5)](_0x32771b),_0x3f57b4=_0x3478bd[_0x9c0770(0x1c8)]();let _0x1463da=0x0;for(const _0x3dd99d of _0x3f57b4){const _0x583ff4=_0x3478bd[_0x9c0770(0x18c)](_0x3dd99d),_0xd90c83=this[_0x9c0770(0x1a4)](_0x54527a,_0x1463da);this[_0x9c0770(0x3ba)](_0x583ff4['rangeKey'],_0xd90c83),_0x1463da++;}}[_0x163919(0x36b)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x163919(0x33c)](_0x1da463,_0x557582){const _0x56421a=_0x163919;if(this[_0x56421a(0x1d5)](_0x1da463)){const _0x12c6ea=this[_0x56421a(0x219)](_0x557582),_0x21c9f3=[];for(const _0x474ac4 of _0x12c6ea)this[_0x56421a(0x26f)][_0x474ac4]!==void 0x0&&_0x21c9f3[_0x56421a(0x338)](this[_0x56421a(0x26f)][_0x474ac4]);const _0x4e8c0a=this[_0x56421a(0x20e)](_0x1da463),_0x67cc07=[],_0x4c06d3=new Set(_0x21c9f3);for(const _0x4f82a3 of _0x4e8c0a)_0x4c06d3['has'](_0x4f82a3)||_0x67cc07[_0x56421a(0x338)](_0x4f82a3);return _0x67cc07;}}['getMatrixValue'](_0x7359f,_0x507e13,_0x2d68b9,_0x3a6b56,_0x5c4038){const _0x1a8919=_0x163919;return _0x507e13&&_0x507e13[_0x1a8919(0x3d9)](_0x3a6b56,_0x5c4038)?_0x507e13[_0x1a8919(0x3d9)](_0x3a6b56,_0x5c4038):_0x2d68b9&&_0x2d68b9[_0x1a8919(0x3d9)](_0x3a6b56,_0x5c4038)?_0x2d68b9[_0x1a8919(0x3d9)](_0x3a6b56,_0x5c4038):_0x7359f[_0x1a8919(0x3d9)](_0x3a6b56,_0x5c4038);}[_0x163919(0x2e0)](_0x598b43,_0x2316fc,_0x2bcc5d,_0x4dd7ae){const _0x4cbe5a=_0x163919,_0x1b5dd0=this[_0x4cbe5a(0x36e)][_0x598b43];if(!_0x1b5dd0)return;const {subUnitId:_0x1a20ad,range:_0x14bb8f,unitId:_0x2e9293}=_0x2316fc,_0x1730ba=this['_univerInstanceService'][_0x4cbe5a(0x2e3)](_0x2e9293);if(!_0x1730ba){console[_0x4cbe5a(0x268)](_0x4cbe5a(0x192));return;}const _0x2b7a8b=_0x1730ba[_0x4cbe5a(0x25e)](_0x1a20ad),_0x892fa1=_0x2b7a8b[_0x4cbe5a(0x392)](),{arrayFormulaCellDataMatrix:_0x539f10,unitDataMatrix:_0x190be7}=_0x4dd7ae||{},{startRow:_0x4560cb,startColumn:_0x6643a1,endRow:_0x46be19}=this[_0x4cbe5a(0x200)](_0x14bb8f,_0x2b7a8b);_0x1b5dd0[_0x4cbe5a(0x369)]();const _0x160b0c=_0x1730ba[_0x4cbe5a(0x382)](),_0x4ef261={},_0x1e3e7e=this[_0x4cbe5a(0x2c5)](_0x892fa1,_0x539f10,_0x190be7,_0x4560cb,_0x6643a1+_0x2bcc5d);let _0x141002=this[_0x4cbe5a(0x179)](_0x1e3e7e,_0x160b0c,_0x4ef261);_0x41b2ed(_0x141002)&&(_0x141002=_0x15cc0e[_0x4cbe5a(0x1af)](_0x141002['f'],Number(_0x141002['v'])));const _0x37d645=this[_0x4cbe5a(0x1b6)](_0x141002,_0x6643a1+_0x2bcc5d);_0x1b5dd0[_0x4cbe5a(0x267)](_0x37d645);for(let _0x8dc7ff=_0x4560cb+0x1;_0x8dc7ff<=_0x46be19;_0x8dc7ff++){const _0x5c78e4=this[_0x4cbe5a(0x2c5)](_0x892fa1,_0x539f10,_0x190be7,_0x8dc7ff,_0x6643a1+_0x2bcc5d);_0x1b5dd0[_0x4cbe5a(0x203)](this[_0x4cbe5a(0x179)](_0x5c78e4,_0x160b0c,_0x4ef261),_0x8dc7ff-0x1-_0x4560cb);}}['refreshData'](_0x1b54c4,_0x1c66e2,_0x4e88c8){const _0x6b9247=_0x163919,{subUnitId:_0x51b0e8,range:_0x533030,unitId:_0x3196fb}=_0x4e88c8,_0x1c9d2b=this['_univerInstanceService'][_0x6b9247(0x2e3)](_0x3196fb);if(!_0x1c9d2b){console[_0x6b9247(0x268)](_0x6b9247(0x192));return;}const _0x2ad2c2=_0x1c9d2b[_0x6b9247(0x25e)](_0x51b0e8),_0x39e67d=_0x2ad2c2[_0x6b9247(0x392)](),{startRow:_0xaf4db5,startColumn:_0x39d1cb,endRow:_0xa95be2}=this[_0x6b9247(0x200)](_0x533030,_0x2ad2c2),_0x42630e=_0x1c9d2b['getStyles'](),_0x5805a1={};for(const {dataField:_0x329b32,index:_0x335fb7}of _0x1c66e2){_0x329b32['reset']();const _0x40351e=this[_0x6b9247(0x2c5)](_0x39e67d,void 0x0,void 0x0,_0xaf4db5,_0x39d1cb+_0x335fb7);let _0x231a18=this[_0x6b9247(0x179)](_0x40351e,_0x42630e,_0x5805a1);_0x41b2ed(_0x231a18)&&(_0x231a18=_0x15cc0e[_0x6b9247(0x1af)](_0x231a18['f'],Number(_0x231a18['v'])));const _0x2ec8de=this[_0x6b9247(0x1b6)](_0x231a18,_0x39d1cb+_0x335fb7);_0x329b32['setName'](_0x2ec8de);}_0x1b54c4[_0x6b9247(0x362)]();for(let _0x1f3ca1=_0xaf4db5+0x1;_0x1f3ca1<=_0xa95be2;_0x1f3ca1++)for(const {index:_0x1cba0c,dataField:_0x27c7ba}of _0x1c66e2){const _0xc69ec9=_0x39e67d['getValue'](_0x1f3ca1,_0x39d1cb+_0x1cba0c);_0x27c7ba[_0x6b9247(0x203)](this[_0x6b9247(0x179)](_0xc69ec9,_0x42630e,_0x5805a1),_0x1f3ca1-0x1-_0xaf4db5);}_0x1b54c4[_0x6b9247(0x3d6)](_0xa95be2-_0xaf4db5);}[_0x163919(0x219)](_0x498dbe){const _0x4c57c0=_0x163919,{range:_0xdef384}=_0x498dbe,{startColumn:_0x105e53,endColumn:_0x1f7c30}=_0xdef384,_0x3ec8ce=[];for(let _0x4e60db=_0x105e53;_0x4e60db<=_0x1f7c30;_0x4e60db++)_0x3ec8ce[_0x4c57c0(0x338)](this[_0x4c57c0(0x1a4)](_0x498dbe,_0x4e60db));return _0x3ec8ce;}[_0x163919(0x179)](_0x3f846a,_0x545f11,_0x25ca3d){const _0x2f5430=_0x163919;if(_0x3f846a){const {s:_0x1d98ab,v:_0x2107c7,t:_0x42d234,p:_0x11186c}=_0x3f846a;if(_0x11186c)return wi(_0x11186c);const _0x51f68b=_0x545f11[_0x2f5430(0x3cd)](_0x1d98ab);if(_0x51f68b&&_0x42d234===_0x3a415e['NUMBER']&&_0x51f68b['n']){const {pattern:_0x1661b0}=_0x51f68b['n'];_0x25ca3d[_0x1661b0]||(_0x25ca3d[_0x1661b0]=_0x15cc0e[_0x2f5430(0x202)](_0x1661b0));const _0x528ebb=_0x25ca3d[_0x1661b0],_0x5e260b=_0x528ebb[_0x2f5430(0x273)];if(_0x528ebb[_0x2f5430(0x262)])return String(_0x2107c7);if(_0x5e260b)return{'v':_0x2107c7,'f':_0x1661b0};}if(_0x42d234===_0x3a415e[_0x2f5430(0x2aa)])return Number(_0x2107c7);if(_0x42d234===_0x3a415e[_0x2f5430(0x187)]||_0x42d234===_0x3a415e['FORCE_STRING'])return String(_0x2107c7);if(_0x42d234===void 0x0){const _0x3f5d20=Number(_0x2107c7);if(!Number[_0x2f5430(0x31e)](_0x3f5d20)&&String(_0x3f5d20)===_0x2107c7)return _0x3f5d20;}return _0x2107c7!=null?_0x2107c7:null;}else return null;}[_0x163919(0x1ea)](_0x198ee7){const _0x260851=_0x163919,{sheetName:_0x26aca7,range:_0x2fb296,unitId:_0x4c5f9c}=_0x198ee7,_0x1e71e2=this[_0x260851(0x1b8)][_0x260851(0x2e3)](_0x4c5f9c);if(!_0x1e71e2)return console[_0x260851(0x268)](_0x260851(0x192)),{'header':[],'data':[]};const _0x4c92dc=_0x1e71e2[_0x260851(0x263)](_0x26aca7),_0x59ba4d=_0x4c92dc[_0x260851(0x392)](),{startRow:_0x3317d4,startColumn:_0x43b28b,endRow:_0xa9dcda,endColumn:_0x55ecbd}=this['getRangeStartEndInfo'](_0x2fb296,_0x4c92dc),_0x4f8747=_0x1e71e2[_0x260851(0x382)](),_0x1667d8=[],_0x2aa25b=[],_0x21d2bd={};for(let _0x56aeae=_0x3317d4;_0x56aeae<=_0xa9dcda;_0x56aeae++){const _0x40db6c=[];for(let _0x589f8c=_0x43b28b;_0x589f8c<=_0x55ecbd;_0x589f8c++){const _0x22c98b=_0x59ba4d['getValue'](_0x56aeae,_0x589f8c);_0x56aeae===_0x3317d4?_0x1667d8[_0x260851(0x338)](_0x22c98b==null?null:String(_0x22c98b['v'])):_0x40db6c['push'](this[_0x260851(0x179)](_0x22c98b,_0x4f8747,_0x21d2bd));}_0x2aa25b[_0x260851(0x338)](_0x40db6c);}return{'header':_0x1667d8,'data':_0x2aa25b};}['toJSON'](){const _0x46b6bd=_0x163919;return super[_0x46b6bd(0x37b)]();}[_0x163919(0x1f4)](_0x41187b){const _0x14b279=_0x163919;super[_0x14b279(0x1f4)](_0x41187b),this[_0x14b279(0x1d9)]();}[_0x163919(0x2ce)](){const _0x441da5=_0x163919;super[_0x441da5(0x2ce)](),this[_0x441da5(0x26f)]={},this['_host']=null;}}const Fi=_0x292823=>{const _0x24987b=_0x163919,{targetCellInfo:_0x263b21}=_0x292823,{matrixCache:_0x4db669,rangesCache:_0x3dc244}=Wo({'filter':'Filter','row':_0x24987b(0x291),'column':_0x24987b(0x255),'values':_0x24987b(0x315)},_0x263b21),_0x6ccbfd=new _0x13addc();return _0x4db669[_0x24987b(0x23d)]((_0x5b3563,_0x151250,_0x1c35c7)=>{const _0x344d3d=_0x24987b;_0x6ccbfd[_0x344d3d(0x3c0)](_0x5b3563,_0x151250,_0x1c35c7);}),{'matrix':_0x6ccbfd,'rangesCache':_0x3dc244};},st=_0x1be56c=>{const _0x13af52=_0x163919;let _0x23e96a;if(_0x1be56c!=null&&_0x1be56c['v']||(_0x1be56c==null?void 0x0:_0x1be56c['v'])===0x0){_0x23e96a||(_0x23e96a={});const _0x4a3ae8=Lo(_0x1be56c['v']);typeof _0x4a3ae8=='number'?_0x23e96a['t']=_0x3a415e[_0x13af52(0x2aa)]:typeof _0x4a3ae8==_0x13af52(0x16d)&&(_0x23e96a['t']=_0x3a415e[_0x13af52(0x187)]),_0x23e96a['v']=_0x4a3ae8;}return _0x23e96a;},Ri=(_0x26d500,_0x7b8b74,_0x102aa3)=>{const _0x225d23=_0x163919;var _0x349a9c,_0x30f4ab,_0x167260,_0x51277a,_0x2712d3,_0x3dcdbb,_0x78de1e,_0x4abb1d,_0x37726e,_0x5a6cd5,_0xe4fff2,_0x4884af;const {cornerView:_0x5b115f,rowView:_0x23a827,colView:_0x156ae6,dataView:_0xfe3007,pageView:_0x12bb99,formatMap:_0x3a74a0}=_0x26d500,{row:_0x52572c,col:_0x3f05b0}=_0x7b8b74,_0x6ed631=new _0x13addc();let _0x3f31f5=_0x52572c,_0x15fe9e=_0x3f05b0;Object[_0x225d23(0x1c3)](_0x12bb99[_0x225d23(0x20f)])[_0x225d23(0x1f1)](_0x5ef04a=>{const _0x424d13=_0x225d23;Object[_0x424d13(0x1c3)](_0x12bb99[_0x424d13(0x20f)][Number(_0x5ef04a)])[_0x424d13(0x1f1)](_0x5842e3=>{const _0x40300e=_0x424d13,_0x5509b7={..._0x12bb99['data'][Number(_0x5ef04a)][Number(_0x5842e3)]};_0x6ed631[_0x40300e(0x3c0)](Number(_0x5ef04a)+_0x3f31f5,Number(_0x5842e3)+_0x15fe9e,st(_0x5509b7));});});const _0x2c423c=Object[_0x225d23(0x1c3)](_0x12bb99[_0x225d23(0x20f)])[_0x225d23(0x3cc)];_0x3f31f5+=_0x2c423c+(_0x2c423c?It:0x0);const _0x48c9cf=_0x5b115f[_0x225d23(0x281)](),_0x3ef5e4=_0x5b115f[_0x225d23(0x340)]();for(let _0x33acc6=0x0;_0x33acc6<_0x48c9cf;_0x33acc6++)for(let _0x5c3884=0x0;_0x5c3884<_0x3ef5e4;_0x5c3884++){const _0x245b52={...(_0x30f4ab=(_0x349a9c=_0x5b115f[_0x225d23(0x20f)])==null?void 0x0:_0x349a9c[_0x33acc6])==null?void 0x0:_0x30f4ab[_0x5c3884]};_0x245b52&&((_0x167260=_0x23a827['headerMap'][_0x5c3884])!=null&&_0x167260['isValue'])&&_0x5c3884===_0x3ef5e4-0x1&&_0x33acc6===_0x48c9cf-0x1&&(_0x245b52['v']=''+_0x102aa3[_0x225d23(0x1cb)]),_0x6ed631[_0x225d23(0x3c0)](_0x33acc6+_0x3f31f5,_0x5c3884+_0x15fe9e,st(_0x245b52));}_0x15fe9e+=_0x3ef5e4;const _0x216a80=_0x156ae6[_0x225d23(0x2e4)],_0x6264f3=_0x156ae6[_0x225d23(0x169)]()>=0x0?_0x156ae6[_0x225d23(0x169)]()+0x1:0x0,_0x1892ca=_0x156ae6[_0x225d23(0x2d1)]()>=0x0?_0x156ae6['getLastCol']()+0x1:0x0;for(let _0x28165a=0x0;_0x28165a<_0x1892ca;_0x28165a++)for(let _0x4d2892=0x0;_0x4d2892<_0x6264f3;_0x4d2892++){const _0xc91103={...(_0x2712d3=(_0x51277a=_0x156ae6[_0x225d23(0x20f)])==null?void 0x0:_0x51277a[_0x28165a])==null?void 0x0:_0x2712d3[_0x4d2892]},_0x1a3fd2=(_0x3dcdbb=_0x216a80[_0x28165a])==null?void 0x0:_0x3dcdbb[_0x225d23(0x39a)],_0x400b2d=_0x3a74a0[_0x1a3fd2];_0xc91103&&(_0xc91103['v']=ht(_0xc91103,_0x28165a===0x0&&((_0x78de1e=_0x156ae6[_0x225d23(0x2c6)](_0x4d2892+0x1))==null?void 0x0:_0x78de1e[_0x225d23(0x2af)]),_0x400b2d,_0x102aa3)),_0x6ed631[_0x225d23(0x3c0)](_0x28165a+_0x3f31f5,_0x4d2892+_0x15fe9e,st(_0xc91103));}_0x3f31f5+=_0x48c9cf;const _0x21505a=_0x23a827[_0x225d23(0x2e4)],_0x4641b9=_0x23a827[_0x225d23(0x169)]()>=0x0?_0x23a827[_0x225d23(0x169)]()+0x1:0x0,_0x7c5cc4=_0x23a827[_0x225d23(0x2d1)]()>=0x0?_0x23a827[_0x225d23(0x2d1)]()+0x1:0x0;for(let _0x110684=0x0;_0x110684<_0x4641b9;_0x110684++)for(let _0x36a951=0x0;_0x36a951<_0x7c5cc4;_0x36a951++){const _0x50725a={...(_0x37726e=(_0x4abb1d=_0x23a827[_0x225d23(0x20f)])==null?void 0x0:_0x4abb1d[_0x110684])==null?void 0x0:_0x37726e[_0x36a951]},_0x23e0f4=(_0x5a6cd5=_0x21505a[_0x36a951])==null?void 0x0:_0x5a6cd5[_0x225d23(0x39a)],_0x1240c9=_0x3a74a0[_0x23e0f4];_0x50725a&&(_0x50725a['v']=ht(_0x50725a,!0x1,_0x1240c9,_0x102aa3)),_0x6ed631['setValue'](_0x110684+_0x3f31f5,_0x36a951+_0x3f05b0,st(_0x50725a));}const _0x1972e4=_0xfe3007['getRowCount'](),_0x34e5ac=_0xfe3007[_0x225d23(0x340)]();for(let _0x2bb51e=0x0;_0x2bb51e<_0x1972e4;_0x2bb51e++)for(let _0x131a84=0x0;_0x131a84<_0x34e5ac;_0x131a84++){const _0x17d47a={...(_0x4884af=(_0xe4fff2=_0xfe3007[_0x225d23(0x20f)])==null?void 0x0:_0xe4fff2[_0x2bb51e])==null?void 0x0:_0x4884af[_0x131a84]};_0x6ed631[_0x225d23(0x3c0)](_0x2bb51e+_0x3f31f5,_0x131a84+_0x15fe9e,st(_0x17d47a));}return _0x6ed631;},Di=_0x19e7d8=>{const _0x528ec0=_0x163919,{view:_0x1d5deb,targetCellInfo:_0x580d16,isEmpty:_0x3ce063,textInfo:_0x58a8a0}=_0x19e7d8;if(_0x3ce063)return Fi(_0x19e7d8);const {pageView:_0x440cd5,cornerView:_0x51772b,rowView:_0x2a9a1f,colView:_0x4f5822,dataView:_0x1ff5f1}=_0x1d5deb,_0x1681fc=ge(_0x580d16,_0x440cd5,!0x0),_0x166ae4=_0x440cd5[_0x528ec0(0x3c5)]>=0x0?_0x440cd5[_0x528ec0(0x3c5)]+0x1:0x0,_0x45aae4=_0x51772b[_0x528ec0(0x281)](),_0x8dbda0=_0x51772b[_0x528ec0(0x340)](),_0x36df78=_0x1681fc[_0x528ec0(0x3cc)]>0x0?It:0x0,_0x15a91b=ge({'row':_0x580d16[_0x528ec0(0x2ea)]+_0x166ae4+_0x36df78,'col':_0x580d16[_0x528ec0(0x37f)]},_0x51772b,!0x1,!0x1),_0x20a68b=ge({'row':_0x580d16['row']+_0x166ae4+_0x36df78+_0x45aae4,'col':_0x580d16[_0x528ec0(0x37f)]},_0x2a9a1f,!0x1,!0x0),_0x102551=ge({'row':_0x580d16[_0x528ec0(0x2ea)]+_0x166ae4+_0x36df78,'col':_0x580d16[_0x528ec0(0x37f)]+_0x8dbda0},_0x4f5822,!0x1,!0x0),_0x5f363d=ge({'row':_0x580d16[_0x528ec0(0x2ea)]+_0x166ae4+_0x36df78+_0x45aae4,'col':_0x580d16[_0x528ec0(0x37f)]+_0x8dbda0},_0x1ff5f1,!0x1,!0x1),_0x3924f4={'rowRanges':_0x20a68b,'colRanges':_0x102551,'cornerRanges':_0x15a91b,'dataRanges':_0x5f363d,'pageRanges':_0x1681fc};return{'matrix':Ri(_0x1d5deb,_0x580d16,_0x58a8a0),'rangesCache':_0x3924f4};};var Ni=Object[_0x163919(0x1f0)],Ei=(_0x599963,_0x42c855,_0x156585,_0x22a69d)=>{const _0x53ee96=_0x163919;for(var _0x378fc8=_0x22a69d>0x1?void 0x0:_0x22a69d?Ni(_0x42c855,_0x156585):_0x42c855,_0x29ce90=_0x599963[_0x53ee96(0x3cc)]-0x1,_0x1f4f55;_0x29ce90>=0x0;_0x29ce90--)(_0x1f4f55=_0x599963[_0x29ce90])&&(_0x378fc8=_0x1f4f55(_0x378fc8)||_0x378fc8);return _0x378fc8;},Ge=(_0x2e5f5a,_0x26e1c5)=>(_0x1ec821,_0x5ad2b2)=>_0x26e1c5(_0x1ec821,_0x5ad2b2,_0x2e5f5a);let $=class extends _0x5647fd{constructor(_0xdbbf77,_0xf871ff,_0x25fde2,_0x1ba66c,_0x2e24a1,_0x3381a3){const _0x427baa=_0x163919;super(),A(this,'_model',new Map()),A(this,_0x427baa(0x320),new Map()),A(this,_0x427baa(0x3ab),new Map()),A(this,_0x427baa(0x250)),A(this,_0x427baa(0x20d),new _0x2bd365()),A(this,'collectionChange$',this[_0x427baa(0x20d)]['asObservable']()),A(this,'_viewData$',new _0x2bd365()),A(this,_0x427baa(0x1b7),this[_0x427baa(0x365)][_0x427baa(0x2e6)]()),A(this,_0x427baa(0x231),new _0x2bd365()),A(this,_0x427baa(0x16a),this[_0x427baa(0x231)][_0x427baa(0x2e6)]()),A(this,'_dataFieldManagerCollection',new Map()),A(this,_0x427baa(0x30f),[]),A(this,_0x427baa(0x29e),new Map()),(this[_0x427baa(0x272)]=_0xdbbf77,this[_0x427baa(0x1b8)]=_0xf871ff,this[_0x427baa(0x254)]=_0x25fde2,this[_0x427baa(0x1b3)]=_0x1ba66c,this[_0x427baa(0x355)]=_0x2e24a1,this[_0x427baa(0x2f6)]=_0x3381a3,this[_0x427baa(0x36f)]());}[_0x163919(0x307)](){const _0x53635e=_0x163919;return this[_0x53635e(0x250)]?this['_textInfo']:Mi;}[_0x163919(0x3be)](_0xfc0e13){this['_textInfo']=_0xfc0e13;}[_0x163919(0x1fd)](_0x442435){const _0x25cea5=_0x163919;var _0x378830;const {from:_0x1904b5,to:_0x437bd5,unitId:_0x432b14,fromRange:_0x115e55,toRange:_0x52ebd1}=_0x442435;if(_0x1904b5&&_0x437bd5){const _0x31b6cd=this[_0x25cea5(0x2be)](_0x432b14),_0x3a0d19=this[_0x25cea5(0x2ed)][_0x25cea5(0x3cd)](_0x432b14),_0x1c3078=(_0x378830=this['_univerInstanceService'][_0x25cea5(0x2e3)](_0x432b14))==null?void 0x0:_0x378830[_0x25cea5(0x25e)](_0x437bd5['subUnitId']);if(!_0x3a0d19||!_0x1c3078)return;const _0x688601=_0x1c3078==null?void 0x0:_0x1c3078['getName']();for(const [_0xed7e66,_0x70cacd]of _0x3a0d19['entries']())for(const [_0x4887f6,_0xcc170c]of _0x70cacd[_0x25cea5(0x2d4)]()){const {sourceRangeInfo:_0xd806b2}=_0xcc170c;if(_0xd806b2['unitId']===_0x432b14&&_0xd806b2['subUnitId']===_0x1904b5[_0x25cea5(0x3af)]&&_0x5f15bf[_0x25cea5(0x271)](_0x115e55,_0xd806b2[_0x25cea5(0x30d)])){const _0x7cb01b={'row':_0xd806b2[_0x25cea5(0x30d)][_0x25cea5(0x3d1)]-_0x115e55[_0x25cea5(0x3d1)],'col':_0xd806b2['range'][_0x25cea5(0x2c8)]-_0x115e55[_0x25cea5(0x2c8)]},_0x28dfd3={'unitId':_0x432b14,'subUnitId':_0x437bd5[_0x25cea5(0x3af)],'sheetName':_0x688601,'range':{'startRow':_0x52ebd1[_0x25cea5(0x3d1)]+_0x7cb01b[_0x25cea5(0x2ea)],'endRow':_0x52ebd1[_0x25cea5(0x3d1)]+_0x7cb01b['row']+_0xd806b2['range'][_0x25cea5(0x1a6)]-_0xd806b2['range'][_0x25cea5(0x3d1)],'startColumn':_0x52ebd1[_0x25cea5(0x2c8)]+_0x7cb01b[_0x25cea5(0x37f)],'endColumn':_0x52ebd1[_0x25cea5(0x2c8)]+_0x7cb01b[_0x25cea5(0x37f)]+_0xd806b2[_0x25cea5(0x30d)][_0x25cea5(0x1c4)]-_0xd806b2[_0x25cea5(0x30d)]['startColumn']}};_0x31b6cd[_0x25cea5(0x1fd)](_0x4887f6,_0x28dfd3);const _0x5f3fec={..._0xcc170c,'sourceRangeInfo':_0x28dfd3};this['_updateModelCache'](_0x432b14,_0x437bd5['subUnitId'],_0x4887f6,_0x5f3fec),this[_0x25cea5(0x3bc)]({'unitId':_0x432b14,'token':_0x4887f6,'type':Be['update'],'oldSourceRangeInfo':_0xd806b2,'dataRangeInfo':_0x28dfd3,'targetCellInfo':_0xcc170c[_0x25cea5(0x33e)]}),this[_0x25cea5(0x2ac)]({'unitId':_0x432b14,'subUnitId':_0x437bd5['subUnitId'],'oldSubUnitId':_0xed7e66,'pivotTableId':_0x4887f6,'pivotTableConfig':_0x5f3fec,'collectionConfig':_0x31b6cd[_0x25cea5(0x37b)]()});}}}}[_0x163919(0x3bc)](_0x58a3f7){const _0x387c92=_0x163919;this[_0x387c92(0x20d)]['next'](_0x58a3f7);}[_0x163919(0x2be)](_0x422180){const _0x422d0e=_0x163919;let _0x55d7eb=this[_0x422d0e(0x3c3)][_0x422d0e(0x3cd)](_0x422180);return _0x55d7eb||(_0x55d7eb=new _i(this,this[_0x422d0e(0x1b8)]),this[_0x422d0e(0x3c3)][_0x422d0e(0x1df)](_0x422180,_0x55d7eb)),_0x55d7eb;}[_0x163919(0x1d5)](_0x4e9aa0,_0x3788f3){const _0x48120e=_0x163919;return this[_0x48120e(0x2be)](_0x4e9aa0)[_0x48120e(0x3a1)][_0x3788f3];}[_0x163919(0x33c)](_0x5bfd2a,_0x4f7358,_0x428f01){const _0x3f9040=_0x163919;return this[_0x3f9040(0x2be)](_0x5bfd2a)['getUpdateRangeDeleteIds'](_0x4f7358,_0x428f01);}[_0x163919(0x381)](_0xcb54ca,_0x3f5970){const _0x27a45f=_0x163919;let _0x1f4e2e=this[_0x27a45f(0x2ed)][_0x27a45f(0x3cd)](_0xcb54ca);_0x1f4e2e||(_0x1f4e2e=new Map(),this['_model'][_0x27a45f(0x1df)](_0xcb54ca,_0x1f4e2e));let _0x14783e=_0x1f4e2e[_0x27a45f(0x3cd)](_0x3f5970);return _0x14783e||(_0x14783e=new Map(),_0x1f4e2e['set'](_0x3f5970,_0x14783e)),_0x14783e;}[_0x163919(0x1db)](_0x206a6b,_0x4ba7f1,_0x605141,_0x4dcfcf){const _0x58a633=_0x163919;this[_0x58a633(0x381)](_0x206a6b,_0x4ba7f1)[_0x58a633(0x1df)](_0x605141,_0x4dcfcf);}[_0x163919(0x23b)](_0x5d77f2,_0x1f104b,_0x4ff848){const _0x30c938=_0x163919;var _0x253bd9,_0x56dc55,_0x980a01,_0x9e4849;((_0x56dc55=(_0x253bd9=this[_0x30c938(0x2ed)][_0x30c938(0x3cd)](_0x5d77f2))==null?void 0x0:_0x253bd9[_0x30c938(0x3cd)](_0x1f104b))==null?void 0x0:_0x56dc55[_0x30c938(0x3cd)](_0x4ff848))&&((_0x9e4849=(_0x980a01=this['_model'][_0x30c938(0x3cd)](_0x5d77f2))==null?void 0x0:_0x980a01[_0x30c938(0x3cd)](_0x1f104b))==null||_0x9e4849[_0x30c938(0x31b)](_0x4ff848));}[_0x163919(0x309)](_0x50bf60,_0x1f2153){const _0x3113d6=_0x163919;this[_0x3113d6(0x320)]['set'](_0x50bf60,_0x1f2153);}[_0x163919(0x1e8)](_0x5a2ad4){const _0x143354=_0x163919;this[_0x143354(0x320)][_0x143354(0x31b)](_0x5a2ad4);}[_0x163919(0x233)](_0x461bb9,_0x3f3e98){const _0x3eca3d=_0x163919;let _0x5bc8b6=this[_0x3eca3d(0x3ab)][_0x3eca3d(0x3cd)](_0x461bb9);_0x5bc8b6||(_0x5bc8b6=new Map(),this[_0x3eca3d(0x3ab)][_0x3eca3d(0x1df)](_0x461bb9,_0x5bc8b6));let _0x1b86ca=_0x5bc8b6['get'](_0x3f3e98);return _0x1b86ca||(_0x1b86ca=new Map(),_0x5bc8b6[_0x3eca3d(0x1df)](_0x3f3e98,_0x1b86ca)),_0x1b86ca;}[_0x163919(0x2ac)](_0x2317a6){const _0x1b4ba6=_0x163919,{unitId:_0x23b8b0,subUnitId:_0x164304,pivotTableId:_0x179006,pivotTableConfig:_0x4c956e,collectionConfig:_0x3c1e03}=_0x2317a6,_0x2e754f={'unitId':_0x23b8b0,'subUnitId':_0x164304,'oldSubUnitId':_0x164304,'pivotTableId':_0x179006,'pivotTableConfig':_0x4c956e,'collectionConfig':_0x3c1e03};this[_0x1b4ba6(0x355)][_0x1b4ba6(0x2e1)](co['id'],_0x2e754f,{'onlyLocal':!0x0});}['updateView'](_0x37dacb,_0x53830f,_0x1a9711,_0x115f23,_0x19154c,_0x5ed9ef,_0x236144,_0x581776=!0x1){const _0x5334a0=_0x163919;var _0x3aa754;this[_0x5334a0(0x355)]['executeCommand'](Dt['id'],{'single':{'unitId':_0x37dacb,'subUnitId':_0x53830f,'type':_0x1a9711,'pivotTableId':_0x115f23,'view':_0x19154c,'pivotConfig':_0x5ed9ef},'collectionConfig':{[_0x37dacb]:_0x236144}},{'onlyLocal':!0x0});const _0x27afac=!!((_0x3aa754=this[_0x5334a0(0x1d3)](_0x115f23))!=null&&_0x3aa754[_0x5334a0(0x252)]()),_0x1c9c3d=this['getPivotTableConfig'](_0x37dacb,_0x53830f,_0x115f23);_0x1c9c3d&&this[_0x5334a0(0x33b)]({'view':_0x19154c,'pivotTableId':_0x115f23,'textInfo':this[_0x5334a0(0x307)](),'isEmpty':_0x27afac,'targetCellInfo':_0x1c9c3d['targetCellInfo']},_0x581776);}[_0x163919(0x33b)](_0x399340,_0x10d282){const _0x57838c=_0x163919,{targetCellInfo:_0xa33ab,pivotTableId:_0x42547f}=_0x399340,{unitId:_0x3ed8fb,subUnitId:_0xff7806}=_0xa33ab,_0x3e4d22=this[_0x57838c(0x233)](_0x3ed8fb,_0xff7806),_0x5a2c68=_0x3e4d22[_0x57838c(0x3cd)](_0x42547f);let _0x127280,_0x347f2b;_0x5a2c68&&(_0x127280=_0x5a2c68[_0x57838c(0x3a9)],_0x347f2b=_0x5a2c68[_0x57838c(0x328)]);const {rangesCache:_0x7f7093,matrix:_0x215a36}=Di(_0x399340);_0x3e4d22['set'](_0x42547f,{'rangeCache':_0x7f7093,'matrix':_0x215a36,'oldMatrix':_0x347f2b,'oldRangeCache':_0x127280}),_0x10d282||this[_0x57838c(0x365)][_0x57838c(0x3ce)]({'unitId':_0x3ed8fb,'subUnitId':_0xff7806,'pivotTableId':_0x42547f});}[_0x163919(0x305)](_0x92ef9a,_0x494454,_0xcc98a0,_0x3f6670,_0xeca7b1){const _0x2cc9b7=_0x163919;this[_0x2cc9b7(0x1db)](_0x92ef9a,_0x494454,_0xcc98a0,_0xeca7b1),this[_0x2cc9b7(0x309)](_0xcc98a0,_0x3f6670);}[_0x163919(0x18e)](_0x528103,_0xed1672,_0x12ed78){const _0x487e3d=_0x163919,_0x442b17=this[_0x487e3d(0x2be)](_0x528103);_0x442b17[_0x487e3d(0x20e)](_0x12ed78)[_0x487e3d(0x1f1)](_0x14a96c=>{const _0x3164cf=_0x487e3d;_0x442b17[_0x3164cf(0x3bb)](_0x14a96c);}),this[_0x487e3d(0x235)](_0x528103,_0x12ed78),this[_0x487e3d(0x23b)](_0x528103,_0xed1672,_0x12ed78),this[_0x487e3d(0x1e8)](_0x12ed78);}[_0x163919(0x3d0)](_0x21a996,_0x52d60c,_0x696bd0,_0x23bf67){const _0x528c28=_0x163919;this[_0x528c28(0x1db)](_0x21a996,_0x52d60c,_0x696bd0,_0x23bf67);}[_0x163919(0x38a)](_0x336c37,_0x1912a1,_0x319150){const _0x123c95=_0x163919;var _0x379abd,_0xf8d389;const _0x380ddd=(_0xf8d389=(_0x379abd=this[_0x123c95(0x2ed)][_0x123c95(0x3cd)](_0x336c37))==null?void 0x0:_0x379abd[_0x123c95(0x3cd)](_0x1912a1))==null?void 0x0:_0xf8d389[_0x123c95(0x3cd)](_0x319150);if(_0x380ddd)return _0x380ddd;}[_0x163919(0x3d4)](_0x9fd14f,_0x265ad7,_0x600d84){const _0x645f7d=_0x163919;var _0x5dae95,_0x5c7cd9;const _0x43fa46=(_0x5c7cd9=(_0x5dae95=this[_0x645f7d(0x2ed)][_0x645f7d(0x3cd)](_0x9fd14f))==null?void 0x0:_0x5dae95['get'](_0x265ad7))==null?void 0x0:_0x5c7cd9[_0x645f7d(0x3cd)](_0x600d84);if(_0x43fa46)return _0x43fa46[_0x645f7d(0x30e)];}[_0x163919(0x1d3)](_0x559a25){return this['_pivotTableInstanceCache']['get'](_0x559a25);}[_0x163919(0x18a)](_0x52365c){const _0x1d1817=_0x163919;this[_0x1d1817(0x2ed)]['delete'](_0x52365c);const _0x286968=this[_0x1d1817(0x3c3)]['get'](_0x52365c);_0x286968&&(_0x286968[_0x1d1817(0x2ce)](),this[_0x1d1817(0x3c3)][_0x1d1817(0x31b)](_0x52365c)),this[_0x1d1817(0x3ab)][_0x1d1817(0x31b)](_0x52365c),this[_0x1d1817(0x30f)][_0x1d1817(0x1f1)](_0x164ece=>{const _0x416bb9=_0x1d1817;_0x164ece[_0x416bb9(0x18a)](_0x52365c);});}[_0x163919(0x1b1)](_0x330802,_0x186e22,_0x674b55,_0x351db9){const _0x2b8a37=_0x163919;return this[_0x2b8a37(0x2be)](_0x674b55[_0x2b8a37(0x196)])[_0x2b8a37(0x1b1)](_0x330802,_0x186e22,_0x674b55,_0x351db9);}[_0x163919(0x385)](_0x1d0c00){const _0x5d9e00=_0x163919;return this[_0x5d9e00(0x2be)](_0x1d0c00[_0x5d9e00(0x196)])[_0x5d9e00(0x385)](_0x1d0c00);}['refreshData'](_0x2cb470,_0x270d74,_0x56ace0){const _0x5a7f50=_0x163919;this[_0x5a7f50(0x2be)](_0x56ace0['unitId'])[_0x5a7f50(0x2bc)](_0x2cb470,_0x270d74,_0x56ace0);}[_0x163919(0x32b)](_0xdf2c30,_0x6f7b16){this['getDataFieldManager'](_0xdf2c30)['deleteDataField'](_0x6f7b16);}['removeCollections'](_0x3ffcf8,_0x475668){const _0x513d74=_0x163919;this[_0x513d74(0x2be)](_0x3ffcf8)[_0x513d74(0x220)](_0x475668);}[_0x163919(0x300)](_0x389b58,_0x196347){const _0x3eed57=_0x163919;var _0x301337;return(_0x301337=this[_0x3eed57(0x2ed)]['get'](_0x389b58))==null?void 0x0:_0x301337[_0x3eed57(0x3cd)](_0x196347);}[_0x163919(0x387)](_0xf8bc90){const _0x412bf8=_0x163919;for(const [_0xca707b,_0x4626d0]of this[_0x412bf8(0x2ed)]['entries']())for(const [_0x3763dc,_0x4d0d56]of _0x4626d0[_0x412bf8(0x2d4)]())if(_0x4d0d56['has'](_0xf8bc90))return{'unitId':_0xca707b,'subUnitId':_0x3763dc};return null;}[_0x163919(0x383)](_0x4a27e6,_0x55034c,_0x5483d2,_0xe01167){const _0x5a9993=_0x163919,_0x53add1=this[_0x5a9993(0x233)](_0x4a27e6,_0x55034c);_0xe01167?_0x53add1[_0x5a9993(0x1df)](_0x5483d2,_0xe01167):_0x53add1[_0x5a9993(0x31b)](_0x5483d2),this[_0x5a9993(0x365)]['next']({'unitId':_0x4a27e6,'subUnitId':_0x55034c,'pivotTableId':_0x5483d2});}['dispose'](){super['dispose']();}[_0x163919(0x25a)](_0x4181b9,_0x328b20,_0x576004){const _0x6722ef=_0x163919;var _0x2f6a8e,_0x1fe5c9;const _0x42da58=(_0x1fe5c9=(_0x2f6a8e=this[_0x6722ef(0x3ab)][_0x6722ef(0x3cd)](_0x4181b9))==null?void 0x0:_0x2f6a8e['get'](_0x328b20))==null?void 0x0:_0x1fe5c9['get'](_0x576004);return _0x42da58||null;}['addDirtyPivotTable'](_0x21e7dc){const _0x4bf62f=_0x163919;this[_0x4bf62f(0x19a)](_0x21e7dc);}['updateDirtyPivotTable'](_0x4e7162){const _0x37ebad=_0x163919,{token:_0xc59504,unitId:_0x571f41,subUnitId:_0x17c7c4}=_0x4e7162,_0xc960c5=_0x571f41+'-'+_0x17c7c4+'-'+_0xc59504;this[_0x37ebad(0x29e)][_0x37ebad(0x3cd)](_0xc960c5)&&clearTimeout(this['_queryingMap'][_0x37ebad(0x3cd)](_0xc960c5));const _0x5cb3b1=setTimeout(()=>{const _0x44b127=_0x37ebad;this['queryDirtyPivotTable'](_0x4e7162),this[_0x44b127(0x29e)][_0x44b127(0x31b)](_0xc960c5);},Pi);this[_0x37ebad(0x29e)][_0x37ebad(0x1df)](_0xc960c5,_0x5cb3b1);}[_0x163919(0x351)](_0x1ff1c3){const _0x895d4b=_0x163919,{unitId:_0x5847b6,subUnitId:_0x31a258,token:_0x211085,type:_0x46e15b,pivotConfig:_0x116ba8}=_0x1ff1c3,_0xcc859b=this[_0x895d4b(0x1d3)](_0x211085),_0x4b9688=_0xcc859b==null?void 0x0:_0xcc859b['query'](),_0x7b81aa=_0x116ba8!=null?_0x116ba8:this[_0x895d4b(0x38a)](_0x5847b6,_0x31a258,_0x211085);_0x7b81aa&&(_0x7b81aa['isEmpty']=!!(_0xcc859b!=null&&_0xcc859b[_0x895d4b(0x252)]())),(_0x4b9688||_0x46e15b===L['Delete'])&&this['updateView'](_0x5847b6,_0x31a258,_0x46e15b,_0x211085,_0x4b9688,_0x7b81aa,this['getDataFieldManager'](_0x5847b6)[_0x895d4b(0x37b)]());}['toJSON'](_0x2493b3){const _0xa25ac9=_0x163919,_0x13e909={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x2493b3)&&(_0x13e909[_0xa25ac9(0x32d)][_0x2493b3]=this['getDataFieldManager'](_0x2493b3)[_0xa25ac9(0x37b)]()),this['_model'][_0xa25ac9(0x3cd)](_0x2493b3)){_0x13e909[_0xa25ac9(0x337)][_0x2493b3]={};const _0x3796ba=this[_0xa25ac9(0x2ed)][_0xa25ac9(0x3cd)](_0x2493b3);_0x3796ba!=null&&_0x3796ba[_0xa25ac9(0x2da)]&&[..._0x3796ba[_0xa25ac9(0x1c3)]()][_0xa25ac9(0x1f1)](_0x4b2403=>{const _0x10d7fa=_0xa25ac9,_0x1fc6b3=_0x3796ba['get'](_0x4b2403);_0x1fc6b3!=null&&_0x1fc6b3['size']&&(_0x13e909[_0x10d7fa(0x337)][_0x2493b3][_0x4b2403]={},[..._0x1fc6b3[_0x10d7fa(0x1c3)]()][_0x10d7fa(0x1f1)](_0x537463=>{const _0x53f997=_0x10d7fa,_0x5c067b=_0x1fc6b3[_0x53f997(0x3cd)](_0x537463);_0x5c067b&&(_0x13e909['pivotTableConfigs'][_0x2493b3][_0x4b2403][_0x537463]=_0x5c067b);}));});}return _0x13e909;}[_0x163919(0x1f4)](_0x372fb7){const _0x293550=_0x163919;var _0x8649e9;const {dataFieldManagerConfig:_0x1220fe,pivotTableConfigs:_0x53b560}=_0x372fb7;_0x1220fe&&Object['keys'](_0x1220fe)[_0x293550(0x1f1)](_0x996092=>{this['getDataFieldManager'](_0x996092)['fromJSON'](_0x1220fe[_0x996092]);});const _0xce48b0=[];if(_0x53b560){const _0x245cae=(_0x8649e9=this['_injector']['get'](_0x197f4e)[_0x293550(0x22c)](_0x328693))!=null?_0x8649e9:{},{ls:_0x17a473,pbk:_0x25067b}=_0x245cae,_0x46d451=go(so,_0x17a473,_0x25067b)[_0x293550(0x372)];Object['keys'](_0x53b560)[_0x293550(0x1f1)](_0x342d2e=>{let _0xd48a4d=0x0;const _0xb92697=_0x53b560[_0x342d2e];Object['keys'](_0xb92697)['forEach'](_0x2f9f74=>{const _0x2217af=_0x17af,_0x431aec=_0xb92697[_0x2f9f74];Object[_0x2217af(0x1c3)](_0x431aec)[_0x2217af(0x1f1)](_0x7920bc=>{const _0x4f6c69=_0x2217af,_0x5a3f92=_0x431aec[_0x7920bc];if(_0x5a3f92){if(_0xd48a4d>=_0x46d451)return;_0xd48a4d++;const _0x60bbc9=this[_0x4f6c69(0x2be)](_0x342d2e),_0x5c695f=_0x60bbc9[_0x4f6c69(0x3a1)][_0x7920bc],_0x510b10=_0x5c695f['getFieldIds']();let _0xbf0529=0x0;const _0x5be6d3=[];for(const _0x1d4fc3 of _0x510b10){const _0x3168ae=_0x5c695f[_0x4f6c69(0x18c)](_0x1d4fc3);if(_0x1f0571(_0x3168ae)){const _0x33a1d2=_0x3168ae[_0x4f6c69(0x228)](),_0x8c9997=_0x5c695f[_0x4f6c69(0x18c)](_0x33a1d2);_0x8c9997&&_0x5be6d3[_0x4f6c69(0x338)]([_0x3168ae,_0x8c9997]);continue;}_0x60bbc9[_0x4f6c69(0x2e0)](_0x1d4fc3,_0x5a3f92[_0x4f6c69(0x2d8)],_0xbf0529),_0xbf0529++;}_0x5be6d3['forEach'](([_0x4ef7b2,_0x2d2394])=>{const _0xfb003b=_0x4f6c69;_0x4ef7b2[_0xfb003b(0x26e)](_0x2d2394);});const _0x45417d=new _0x22acd5(_0x5c695f);_0x45417d[_0x4f6c69(0x1f4)](_0x5a3f92[_0x4f6c69(0x30e)]),this[_0x4f6c69(0x305)](_0x342d2e,_0x2f9f74,_0x7920bc,_0x45417d,_0x5a3f92);const _0x4a7a1b=_0x45417d[_0x4f6c69(0x339)]();_0xce48b0['push']({'unitId':_0x342d2e,'subUnitId':_0x2f9f74,'pivotTableId':_0x7920bc,'view':_0x4a7a1b['toJSON'](),'pivotConfig':_0x5a3f92,'type':L[_0x4f6c69(0x39e)]});const _0x1500d0=!!_0x45417d['isEmpty'](),_0x6ed525={'view':_0x4a7a1b,'pivotTableId':_0x7920bc,'textInfo':this[_0x4f6c69(0x307)](),'isEmpty':_0x1500d0,'targetCellInfo':_0x5a3f92['targetCellInfo']};this[_0x4f6c69(0x33b)](_0x6ed525,!0x1);}});});});}_0x1220fe&&Object['keys'](_0x1220fe)['forEach'](_0xcb8656=>{const _0x26e34d=_0x293550,_0x1a6784=this[_0x26e34d(0x2be)](_0xcb8656);this[_0x26e34d(0x231)][_0x26e34d(0x3ce)](_0x1a6784[_0x26e34d(0x3a1)]);}),this['_commandService'][_0x293550(0x2e1)](Dt['id'],{'batch':_0xce48b0,'collectionConfig':_0x1220fe},{'onlyLocal':!0x0});}[_0x163919(0x36f)](){const _0x4200ae=_0x163919;this[_0x4200ae(0x398)](this[_0x4200ae(0x2f6)][_0x4200ae(0x253)]({'toJson':_0x48198a=>JSON[_0x4200ae(0x35b)](this[_0x4200ae(0x37b)](_0x48198a)),'parseJson':_0xfb9746=>{const _0x2aab69=_0x4200ae;if(!_0xfb9746)return{};try{return JSON[_0x2aab69(0x34b)](_0xfb9746);}catch{return{};}},'businesses':[_0x2d7980[_0x4200ae(0x348)]],'pluginName':ao,'onLoad':(_0x2deb25,_0x19213f)=>{const _0x5903c7=_0x4200ae;this[_0x5903c7(0x1f4)](_0x19213f);},'onUnLoad':_0x57e94c=>{const _0x7a7bc1=_0x4200ae;this[_0x7a7bc1(0x18a)](_0x57e94c);}}));}};$=Ei([Ge(0x0,_0x86a91c(_0x207bcc)),Ge(0x1,_0x544974),Ge(0x2,_0x86a91c(_0x436404)),Ge(0x3,_0x197f4e),Ge(0x4,_0x27f7ca),Ge(0x5,_0x86a91c(_0x503a9d))],$);const Ai={0x0:{0x0:{'v':_0x163919(0x180),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x163919(0x2ea),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0x43b672,_0x528857)=>{const _0x3f455c=_0x163919,_0x39ed98=new _0x13addc(),_0xaca8a8=new _0x13addc(Ai),{row:_0x57cbe6,col:_0x4b9d81}=_0x528857;_0xaca8a8['forValue']((_0x464a52,_0x127055,_0x47da44)=>{const _0x3b99cf=_0x17af;let _0x1a8789='';_0x47da44['v']===_0x3b99cf(0x180)?_0x1a8789=_0x43b672['filter']:_0x47da44['v']==='row'?_0x1a8789=_0x43b672[_0x3b99cf(0x2ea)]:_0x47da44['v']==='column'?_0x1a8789=_0x43b672[_0x3b99cf(0x173)]:_0x47da44['v']===_0x3b99cf(0x201)&&(_0x1a8789=_0x43b672[_0x3b99cf(0x201)]),_0x39ed98[_0x3b99cf(0x3c0)](_0x464a52+_0x57cbe6,_0x127055+_0x4b9d81,{..._0x47da44,'v':_0x1a8789});});const _0x353f37=_0xe68987[_0x3f455c(0x36d)](Bt);return Object[_0x3f455c(0x1c3)](Bt)[_0x3f455c(0x1f1)](_0x398224=>{const _0x1884b6=_0x3f455c;_0x353f37[_0x398224]=Bt[_0x398224][_0x1884b6(0x295)](_0x5dcf4b=>({..._0x5dcf4b,'startRow':_0x5dcf4b[_0x1884b6(0x3d1)]+_0x57cbe6,'endRow':_0x5dcf4b[_0x1884b6(0x1a6)]+_0x57cbe6,'startColumn':_0x5dcf4b['startColumn']+_0x4b9d81,'endColumn':_0x5dcf4b['endColumn']+_0x4b9d81}));}),{'matrixCache':_0x39ed98,'rangesCache':_0x353f37};};function Ui(_0x1c1f89,_0x47c737){const _0x2e629f=_0x163919;let _0x28b17b='';const _0x31c793=this[_0x2e629f(0x307)]();switch(_0x47c737){case _0x28e6a9[_0x2e629f(0x1d2)]:_0x28b17b=_0x31c793[_0x2e629f(0x246)]+_0x1c1f89;break;case _0x28e6a9['count']:_0x28b17b=_0x31c793[_0x2e629f(0x1aa)]+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x38d)]:_0x28b17b=_0x31c793[_0x2e629f(0x352)]+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x3d5)]:_0x28b17b=_0x31c793['sheets-pivot.maxName']+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x223)]:_0x28b17b=_0x31c793['sheets-pivot.minName']+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x2f2)]:_0x28b17b=_0x31c793[_0x2e629f(0x2c1)]+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x2fd)]:_0x28b17b=_0x31c793['sheets-pivot.stdDevName']+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x1a5)]:_0x28b17b=_0x31c793[_0x2e629f(0x2a2)]+_0x1c1f89;break;case _0x28e6a9['sum']:_0x28b17b=_0x31c793['sheets-pivot.sumName']+_0x1c1f89;break;case _0x28e6a9[_0x2e629f(0x397)]:_0x28b17b=_0x31c793[_0x2e629f(0x222)]+_0x1c1f89;break;case _0x28e6a9['varp']:_0x28b17b=_0x31c793['sheets-pivot.varpName']+_0x1c1f89;break;default:_0x28b17b=_0x1c1f89;break;}return _0x28b17b;}function Vi(_0x5639e6,_0x2c7263,_0x1ee541,_0x11ea73,_0x4b1eeb){const _0x3c09e9=_0x163919;var _0x17729d,_0x5cbdcb,_0x45791b,_0x3d1375,_0x2df31f;const _0x47b77c=_0x33a9b5(_0x5639e6,_0x2c7263),{rangesInfo:_0x1f8255,areaInfo:_0xa74646,headerMap:_0x57fcfa}=_0x4b1eeb;if(!_0x1f8255||!_0xa74646||!_0x57fcfa)return;const _0x123f32=Object[_0x3c09e9(0x1c3)](_0x1f8255)[_0x3c09e9(0x333)](_0x371373=>_0x1f8255[_0x371373][_0x3c09e9(0x257)](_0x3c8c2d=>_0x5f15bf[_0x3c09e9(0x271)](_0x3c8c2d,_0x47b77c))),_0x448c32=_0xa74646;let _0x181d48,_0xc72446,_0x65f98c;if(_0x123f32===_0x3c09e9(0x212))_0x181d48=(_0x17729d=_0x448c32==null?void 0x0:_0x448c32[_0x3c09e9(0x1a8)])==null?void 0x0:_0x17729d[_0x5639e6],_0xc72446=(_0x5cbdcb=_0x57fcfa==null?void 0x0:_0x57fcfa[_0x3c09e9(0x3de)])==null?void 0x0:_0x5cbdcb[_0x2c7263],_0x65f98c=_0xc72446==null?void 0x0:_0xc72446[_0x3c09e9(0x39a)];else{if(_0x123f32===_0x3c09e9(0x2d9))_0x181d48=(_0x45791b=_0x448c32==null?void 0x0:_0x448c32[_0x3c09e9(0x205)])==null?void 0x0:_0x45791b[_0x2c7263],_0xc72446=(_0x3d1375=_0x57fcfa[_0x3c09e9(0x2ab)])==null?void 0x0:_0x3d1375[_0x5639e6+0x1+_0x2c7263-_0x1f8255['colRanges'][0x0][_0x3c09e9(0x2c8)]],_0x65f98c=_0xc72446==null?void 0x0:_0xc72446['tableFieldId'];else{if(_0x123f32===_0x3c09e9(0x35f))_0x181d48=(_0x2df31f=_0x448c32==null?void 0x0:_0x448c32[_0x3c09e9(0x22f)])==null?void 0x0:_0x2df31f[_0x2c7263],_0x65f98c=_0x181d48==null?void 0x0:_0x181d48[_0x3c09e9(0x39a)];else{if(_0x123f32===_0x3c09e9(0x390)){const _0x5b17a1=_0x1ee541==null?void 0x0:_0x1ee541['fi'];_0x5b17a1!==void 0x0&&(_0x65f98c=_0x11ea73[_0x3c09e9(0x3a3)](_0x5b17a1));}}}}return{'filterId':_0x65f98c,'info':_0x181d48,'data':_0x1ee541,'headerInfo':_0xc72446};}function Oi(_0x3bf7ea,_0x29fc3e,_0x5e5bd9){const _0x1d1876=_0x163919,_0x4072a5=_0x3bf7ea[_0x1d1876(0x1f6)],_0x4c4dfa=_0x4072a5['getFieldIds'](),_0x337196=new Set();_0x3bf7ea[_0x1d1876(0x24b)](_0x49623d=>{const _0x1fcc1e=_0x1d1876;_0x337196[_0x1fcc1e(0x248)](_0x49623d['dataFieldId']);});const _0x34e0a5=_0x4c4dfa[_0x1d1876(0x295)](_0x4c24e9=>{const _0x2a4713=_0x1d1876,_0x2bb910=_0x4072a5['getFieldById'](_0x4c24e9);return{'checked':_0x337196[_0x2a4713(0x326)](_0x4c24e9),'dataFieldId':_0x2bb910['id'],'id':_0x2bb910['id'],'name':_0x4072a5['getDisplayName'](_0x2bb910['id']),'type':_0x2bb910[_0x2a4713(0x3c6)](),'pivotTableId':_0x29fc3e};}),_0x31ba66=[];_0x3bf7ea[_0x1d1876(0x1f7)](_0x5658a3[_0x1d1876(0x291)],_0x4cdad7=>{const _0x47a6b6=_0x1d1876;_0x31ba66[_0x47a6b6(0x338)]({'dataFieldId':_0x4cdad7['dataFieldId'],'tableFieldId':_0x4cdad7['getId'](),'displayName':_0x4cdad7[_0x47a6b6(0x1a0)]()});});const _0x204b63=[];_0x3bf7ea[_0x1d1876(0x1f7)](_0x5658a3[_0x1d1876(0x255)],_0x1e5598=>{const _0x2b795f=_0x1d1876;_0x204b63[_0x2b795f(0x338)]({'dataFieldId':_0x1e5598[_0x2b795f(0x26d)],'tableFieldId':_0x1e5598['getId'](),'displayName':_0x1e5598[_0x2b795f(0x1a0)]()});});const _0x287d1b=[];if(_0x3bf7ea['iterateFieldByArea'](_0x5658a3['Value'],_0x399bca=>{const _0x20eaa7=_0x1d1876;_0x287d1b[_0x20eaa7(0x338)]({'dataFieldId':_0x399bca[_0x20eaa7(0x26d)],'tableFieldId':_0x399bca[_0x20eaa7(0x3b1)](),'displayName':_0x399bca[_0x20eaa7(0x1a0)](),'format':_0x399bca[_0x20eaa7(0x1dc)](),'subTotalType':_0x399bca[_0x20eaa7(0x218)]()});}),_0x287d1b[_0x1d1876(0x3cc)]>0x1){const _0x318955=_0x3bf7ea[_0x1d1876(0x2b0)]();(_0x3bf7ea[_0x1d1876(0x2f4)]()?_0x204b63:_0x31ba66)[_0x1d1876(0x2e5)](_0x318955,0x0,{'dataFieldId':'','tableFieldId':_0x1d1876(0x181),'displayName':_0x1d1876(0x2b5)});}const _0x42c890=[];_0x3bf7ea[_0x1d1876(0x1f7)](_0x5658a3[_0x1d1876(0x285)],_0x59f8e8=>{const _0x59c8b1=_0x1d1876;_0x42c890['push']({'dataFieldId':_0x59f8e8[_0x59c8b1(0x26d)],'tableFieldId':_0x59f8e8[_0x59c8b1(0x3b1)](),'displayName':_0x59f8e8[_0x59c8b1(0x1a0)]()});});const _0x21b351=_0x5e5bd9['sourceRangeInfo'];return{'sourceList':_0x34e0a5,'sourceRange':_0x21b351,'rowFields':_0x31ba66,'columnFields':_0x204b63,'valueFields':_0x287d1b,'filterFields':_0x42c890,'positionInfo':_0x5e5bd9[_0x1d1876(0x33e)]};}function fo(_0x5ae818,_0x192ab8,_0x53b891='',_0x3c324a={}){const _0x5f4f76=_0x163919,_0xccd9d2=_0x5ae818[_0x5f4f76(0x3cd)](_0x407a90);for(const _0x10c7e7 in _0x192ab8)if(Object[_0x5f4f76(0x380)][_0x5f4f76(0x204)][_0x5f4f76(0x317)](_0x192ab8,_0x10c7e7)){const _0x1a19d0=_0x53b891?_0x53b891+'.'+_0x10c7e7:_0x10c7e7;typeof _0x192ab8[_0x10c7e7]==_0x5f4f76(0x399)&&_0x192ab8[_0x10c7e7]!==null&&!Array[_0x5f4f76(0x243)](_0x192ab8[_0x10c7e7])?fo(_0x5ae818,_0x192ab8[_0x10c7e7],_0x1a19d0,_0x3c324a):_0x3c324a[_0x1a19d0]=_0xccd9d2['t'](_0x1a19d0);}return _0x3c324a;}const Lt=_0x2b8a9d=>{const _0x531c62=_0x163919;if(!_0x2b8a9d)return[];const {rowRanges:_0x506f16,colRanges:_0xa3924d,cornerRanges:_0x15b7b0,dataRanges:_0x59c3be,pageRanges:_0x45b834}=_0x2b8a9d,_0xe7d65c=[..._0xa3924d,..._0x506f16,..._0x59c3be,..._0x15b7b0][_0x531c62(0x180)](_0xf01dd2=>_0xf01dd2[_0x531c62(0x3d1)]>=0x0&&_0xf01dd2[_0x531c62(0x2c8)]>=0x0&&_0xf01dd2[_0x531c62(0x1a6)]>=0x0&&_0xf01dd2[_0x531c62(0x1c4)]>=0x0);let _0x3d77b1=Number['MAX_SAFE_INTEGER'],_0x363d93=Number[_0x531c62(0x279)],_0x57ab07=Number[_0x531c62(0x25f)],_0x490dda=Number[_0x531c62(0x279)];for(let _0x540dad=0x0;_0x540dad<_0xe7d65c[_0x531c62(0x3cc)];_0x540dad++)_0x3d77b1=Math[_0x531c62(0x223)](_0x3d77b1,_0xe7d65c[_0x540dad][_0x531c62(0x3d1)]),_0x363d93=Math[_0x531c62(0x3d5)](_0x363d93,_0xe7d65c[_0x540dad][_0x531c62(0x1a6)]),_0x57ab07=Math[_0x531c62(0x223)](_0x57ab07,_0xe7d65c[_0x540dad][_0x531c62(0x2c8)]),_0x490dda=Math[_0x531c62(0x3d5)](_0x490dda,_0xe7d65c[_0x540dad]['endColumn']);return[..._0x45b834,{'startRow':_0x3d77b1,'endRow':_0x363d93,'startColumn':_0x57ab07,'endColumn':_0x490dda}];};function xi(_0x5b1e4c,_0x2405b9){const _0x4b572c=_0x163919,_0x525048=_0x2405b9['params'][_0x4b572c(0x1bc)],{pivotTableId:_0x398885,unitId:_0x19351e,subUnitId:_0xc5d722}=_0x2405b9;if(!_0x525048)return;const _0x397001=_0x5b1e4c[_0x4b572c(0x3cd)]($),_0x3dcb21=_0x397001[_0x4b572c(0x1d3)](_0x398885),_0x20648d=_0x397001[_0x4b572c(0x38a)](_0x19351e,_0xc5d722,_0x398885);if(!_0x3dcb21||!_0x20648d)return;const _0x52ea88=_0x3dcb21[_0x4b572c(0x289)](_0x525048[_0x4b572c(0x2a3)]);if(!(_0x52ea88!=null&&_0x52ea88[_0x4b572c(0x3cc)]))return;const _0xccb927=_0x20648d['sourceRangeInfo'],{unitId:_0x417f87,subUnitId:_0x9c0031,range:_0xd6dcf1}=_0xccb927;let _0x58d6a6=0x0;const _0x199809=_0x3dcb21[_0x4b572c(0x1f6)][_0x4b572c(0x1c8)]()[_0x4b572c(0x319)]((_0x40fd73,_0x14b73d)=>{const _0x538cd2=_0x4b572c;var _0x40d52f;const _0x217aa7=(_0x40d52f=_0x3dcb21['getDataFieldByDataFieldId'](_0x14b73d))==null?void 0x0:_0x40d52f[_0x538cd2(0x27a)]();return _0x217aa7&&(_0x40fd73[String(_0x58d6a6)]=_0x217aa7),_0x58d6a6++,_0x40fd73;},{});return{'indexes':_0x52ea88,'range':_0xd6dcf1,'sourceUnitId':_0x417f87,'sourceSubUnitId':_0x9c0031,'formatMap':_0x199809};}function Go(_0x41ac4e,_0x959a88){if(!_0x41ac4e||!_0x959a88)return!0x0;const _0x4b22f4=_0x30c62d(jo,Ko),_0x197853=new Function('return\x20'+_0x4b22f4)()(_0x41ac4e,_0x959a88)['message'],_0x58f863=_0x44c175(_0x197853,'sf',Jo);return!((_0x197853==null?void 0x0:_0x197853['rt'])===_0x2c5aaf['NO_COMMERCIAL']&&!_0x58f863);}function go(_0x2e1a1b,_0x4d0d52,_0x4f4aa8){const _0x33d52f=_0x163919,_0xe16b3f={'count':_0x2e1a1b,'timeValid':!0x1};if(!_0x4d0d52||!_0x4f4aa8)return _0xe16b3f;const _0x2e683e=_0x30c62d(jo,Ko),_0x2b1959=new Function(_0x33d52f(0x2cd)+_0x2e683e)()(_0x4d0d52,_0x4f4aa8);if(_0x2b1959!=null&&_0x2b1959[_0x33d52f(0x38c)]){const _0x26b029=_0x2b1959[_0x33d52f(0x19e)],_0xf20bb3=_0x44c175(_0x26b029,'sf',Jo);return{'count':_0x24528d(_0x26b029,_0xf20bb3,_0x33d52f(0x2db),_0x2e1a1b,_0x2e1a1b,0x0),'timeValid':_0xf20bb3};}return _0xe16b3f;}function Ho(_0x1cb10c,_0x33a93e,_0x36882f,_0x2de152){const _0x216ae4=_0x163919,_0x3e3349={'subUnitId':_0x36882f,'unitId':_0x33a93e,'cellValue':_0x8708ef(_0x2de152)},_0x36ed84=_0x189c56(_0x1cb10c,_0x3e3349);let _0x1f387a=!0x1;return new _0x13addc(_0x36ed84['cellValue'])[_0x216ae4(0x23d)]((_0x3cb51a,_0x3bc09e,_0x36b56e)=>{if(!_0x1f387a&&_0x36b56e&&(_0x36b56e['custom']||_0x36b56e['f']||_0x36b56e['p']||_0x36b56e['s']||_0x36b56e['si']||_0x36b56e['t']||_0x36b56e['v']))return _0x1f387a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x48963d['id'],'params':_0x36ed84},'setRangeValueRedoMutation':{'id':_0x48963d['id'],'params':_0x3e3349},'shouldClear':_0x1f387a};}function Ji(_0x350362){const {row:_0x2e49cc,col:_0x55a504}=_0x350362,_0xda3b9b={'startRow':_0x2e49cc,'endRow':_0x2e49cc,'startColumn':_0x55a504,'endColumn':_0x55a504},_0x194a4e={'startRow':_0x2e49cc+0x2,'endRow':_0x2e49cc+0xe,'startColumn':_0x55a504,'endColumn':_0x55a504+0x6};return[_0xda3b9b,_0x194a4e];}function ki(_0x35c300,_0x4b0027,_0x24998f){const _0x2c0902=_0x163919,{cornerView:_0x5a24ec,rowView:_0x1618e4,colView:_0x4387f0,pageView:_0x421fe2}=_0x35c300,{row:_0x4bc1e3,col:_0x83fd8f}=_0x4b0027;if(_0x24998f)return{'rowCount':bi+_0x4bc1e3,'colCount':Si+_0x83fd8f};const _0xb982c1=_0x421fe2['lastRow']>-0x1?_0x421fe2[_0x2c0902(0x3c5)]+0x1:0x0,_0x56c830=_0x421fe2['lastCol']>-0x1?_0x421fe2['lastCol']:0x0,_0x596abd=_0x4bc1e3+_0xb982c1+(_0xb982c1?0x1:0x0)+_0x5a24ec[_0x2c0902(0x2ec)]+_0x1618e4[_0x2c0902(0x2ec)],_0x50700f=_0x83fd8f+_0x56c830,_0x50f65d=_0x83fd8f+_0x5a24ec[_0x2c0902(0x321)]+_0x4387f0['colCount'],_0x47a965=Math[_0x2c0902(0x3d5)](_0x50700f,_0x50f65d);return{'rowCount':_0x596abd,'colCount':_0x47a965};}function we(_0x2287ef,_0x1f072b,_0x2caad8,_0x189ead){const _0x620bb7=_0x163919,{row:_0x12fe62,col:_0x1506a1,unitId:_0x245da0,subUnitId:_0x1de266}=_0x2caad8,_0x5f4e49=ki(_0x1f072b,{'row':_0x12fe62,'col':_0x1506a1},_0x189ead),_0x3db5bd=_0x2287ef[_0x620bb7(0x3cd)](_0x544974),_0xa8dec4=_0x3d7c14(_0x3db5bd,{'unitId':_0x245da0,'subUnitId':_0x1de266}),_0x26c385=[],_0x5ec2e5=[];if(!_0xa8dec4)return{'undos':_0x5ec2e5,'redos':_0x26c385};const {worksheet:_0x1fcdd9}=_0xa8dec4,_0x231b28=_0x1fcdd9[_0x620bb7(0x281)](),_0x41caf0=_0x1fcdd9[_0x620bb7(0x332)]();return _0x231b28<_0x5f4e49['rowCount']&&(_0x26c385['push']({'id':_0x1ae041['id'],'params':{'unitId':_0x245da0,'subUnitId':_0x1de266,'range':{'startRow':_0x231b28,'endRow':_0x5f4e49[_0x620bb7(0x2ec)]-0x1,'startColumn':0x0,'endColumn':_0x41caf0-0x1}}}),_0x5ec2e5[_0x620bb7(0x338)]({'id':_0x481447['id'],'params':{'unitId':_0x245da0,'subUnitId':_0x1de266,'range':{'startRow':_0x231b28,'endRow':_0x5f4e49[_0x620bb7(0x2ec)]-0x1,'startColumn':0x0,'endColumn':_0x41caf0-0x1}}})),_0x41caf0<_0x5f4e49[_0x620bb7(0x321)]&&(_0x26c385[_0x620bb7(0x338)]({'id':_0x217c5b['id'],'params':{'unitId':_0x245da0,'subUnitId':_0x1de266,'range':{'startRow':0x0,'endRow':_0x231b28-0x1,'startColumn':_0x41caf0,'endColumn':_0x5f4e49[_0x620bb7(0x321)]-0x1}}}),_0x5ec2e5[_0x620bb7(0x338)]({'id':_0x2421d2['id'],'params':{'unitId':_0x245da0,'subUnitId':_0x1de266,'range':{'startRow':0x0,'endRow':_0x231b28-0x1,'startColumn':_0x41caf0,'endColumn':_0x5f4e49[_0x620bb7(0x321)]-0x1}}})),{'undos':_0x5ec2e5,'redos':_0x26c385};}function Bi(_0x2e5ecd){const _0x466b90=_0x163919;let _0x54c653=0x0;for(let _0x3696f3=0x0;_0x3696f3<_0x2e5ecd[_0x466b90(0x3cc)];_0x3696f3++){const _0x2edcd7=_0x2e5ecd['charCodeAt'](_0x3696f3);_0x2edcd7>=0x4e00&&_0x2edcd7<=0x9fff||_0x2edcd7>=0x3000&&_0x2edcd7<=0x303f||_0x2edcd7>=0xff00&&_0x2edcd7<=0xffef?_0x54c653+=0x2:_0x54c653+=0x1;}return _0x54c653;}function yo(_0x353af2,_0x5be07e,_0x3d0249,_0x5a658a){const _0x7083e9=_0x163919;var _0x375de2,_0x17b1de,_0x48c8b6,_0x156893;const {rowCount:_0x3400b4,colCount:_0x50509e,headerMap:_0x336f9d}=_0x353af2,_0x50c94f=0x64,_0xffae8=Math[_0x7083e9(0x223)](_0x3400b4,_0x50c94f),_0x41866d=Math[_0x7083e9(0x223)](_0x50509e,_0x50c94f);let _0x44ae34='',_0x3c2623=0x0;for(let _0x1d862d=0x0;_0x1d862d<_0xffae8;_0x1d862d++)for(let _0x1dc908=0x0;_0x1dc908<_0x41866d;_0x1dc908++){const _0x1f496b={...(_0x17b1de=(_0x375de2=_0x353af2[_0x7083e9(0x20f)])==null?void 0x0:_0x375de2[_0x1d862d])==null?void 0x0:_0x17b1de[_0x1dc908]},_0x4d44f7=(_0x48c8b6=_0x336f9d[_0x1d862d])==null?void 0x0:_0x48c8b6[_0x7083e9(0x39a)],_0x1d7e96=_0x5a658a[_0x4d44f7];let _0x3e0298=_0x353af2['getValue'](_0x1d862d,_0x1dc908);if(_0x1f496b){const _0x1307e4=_0x3d0249?_0x1dc908===0x0&&((_0x156893=_0x353af2[_0x7083e9(0x2c6)](_0x1dc908+0x1))==null?void 0x0:_0x156893['isValue']):!0x1;_0x3e0298=ht(_0x1f496b,_0x1307e4,_0x1d7e96,_0x5be07e);}if(_0x3e0298!==void 0x0){const _0x8ebd36=Bi(String(_0x3e0298));_0x3c2623<_0x8ebd36&&(_0x44ae34=String(_0x3e0298),_0x3c2623=_0x8ebd36);}}return _0x44ae34;}function Li(_0x5bc165){const _0xe1b65f=_0x163919,{rowCount:_0x6d72b8,colCount:_0x32a4a8}=_0x5bc165;let _0x789f9a='',_0x171969=0x0;for(let _0x56015d=_0x6d72b8-0x1;_0x56015d>0x0&&_0x56015d>_0x6d72b8-0x3;_0x56015d--)for(let _0x3b21b5=0x0;_0x3b21b5<_0x32a4a8;_0x3b21b5++){const _0x145be6=_0x5bc165[_0xe1b65f(0x3d9)](_0x56015d,_0x3b21b5);if(_0x145be6!==void 0x0){const _0xd57dda=String(_0x145be6)[_0xe1b65f(0x3cc)];_0x171969<_0xd57dda&&(_0x789f9a=String(_0x145be6),_0x171969=_0xd57dda);}}return _0x789f9a;}function $i(_0x108d6f){const _0x51ac88=_0x163919,{rowCount:_0x4c1bfc,colCount:_0x4ac246}=_0x108d6f;let _0xefab66='',_0x66118d=0x0;for(let _0x5b9164=0x0;_0x5b9164<_0x4c1bfc;_0x5b9164++)for(let _0x5e4f07=0x0;_0x5e4f07<_0x4ac246;_0x5e4f07++){const _0x3ea4f6=_0x108d6f['getValue'](_0x5b9164,_0x5e4f07);if(_0x3ea4f6!==void 0x0){const _0x2ea9f7=String(_0x3ea4f6)[_0x51ac88(0x3cc)];_0x66118d<_0x2ea9f7&&(_0xefab66=String(_0x3ea4f6),_0x66118d=_0x2ea9f7);}}return _0xefab66;}function Ki(_0x519035,_0x538c9c){const _0x21215a=_0x163919,{rowFields:_0x36df31,columnFields:_0x1d0105,valueFields:_0x4ffc18,filterFields:_0x4c2e7c,dimension:_0x3c92f4,measure:_0xbc95a4}=_0x538c9c;for(const _0x20cb6d of _0x36df31){const _0x558f4e=_0x3c92f4[_0x20cb6d];_0x558f4e&&_0x519035[_0x21215a(0x239)](_0x558f4e[_0x21215a(0x26d)])&&(_0x519035['addFieldWithSourceId'](_0x558f4e['dataFieldId'],_0x5658a3[_0x21215a(0x291)],void 0x0,_0x20cb6d),_0x558f4e[_0x21215a(0x241)]&&_0x519035[_0x21215a(0x16f)](_0x558f4e['id'],_0x558f4e[_0x21215a(0x241)]),_0x558f4e['sortInfo']&&_0x519035[_0x21215a(0x3a0)](_0x558f4e['id'],_0x558f4e['sortInfo']),_0x558f4e[_0x21215a(0x21d)]&&_0x519035['setLabelFilterInfo'](_0x558f4e['id'],_0x558f4e[_0x21215a(0x21d)]));}for(const _0x1dee3f of _0x1d0105){const _0x4611de=_0x3c92f4[_0x1dee3f];_0x4611de&&_0x519035[_0x21215a(0x239)](_0x4611de[_0x21215a(0x26d)])&&(_0x519035[_0x21215a(0x286)](_0x4611de['dataFieldId'],_0x5658a3[_0x21215a(0x255)],void 0x0,_0x1dee3f),_0x4611de['sortInfo']&&_0x519035[_0x21215a(0x3a0)](_0x4611de['id'],_0x4611de['sortInfo']),_0x4611de[_0x21215a(0x21d)]&&_0x519035[_0x21215a(0x361)](_0x4611de['id'],_0x4611de[_0x21215a(0x21d)]),_0x4611de[_0x21215a(0x241)]&&_0x519035[_0x21215a(0x16f)](_0x4611de['id'],_0x4611de['displayName']));}for(const _0x152eeb of _0x4c2e7c){const _0x372b48=_0x3c92f4[_0x152eeb];_0x372b48&&_0x519035[_0x21215a(0x239)](_0x372b48['dataFieldId'])&&(_0x519035['addFieldWithSourceId'](_0x372b48['dataFieldId'],_0x5658a3[_0x21215a(0x285)],void 0x0,_0x152eeb),_0x372b48['sortInfo']&&_0x519035[_0x21215a(0x3a0)](_0x372b48['id'],_0x372b48[_0x21215a(0x389)]),_0x372b48[_0x21215a(0x21d)]&&_0x519035['setLabelFilterInfo'](_0x372b48['id'],_0x372b48[_0x21215a(0x21d)]),_0x372b48[_0x21215a(0x241)]&&_0x519035[_0x21215a(0x16f)](_0x372b48['id'],_0x372b48[_0x21215a(0x241)]));}for(const _0x27fb6b of _0x4ffc18){const _0x5df058=_0xbc95a4[_0x27fb6b];_0x5df058&&_0x519035[_0x21215a(0x239)](_0x5df058['dataFieldId'])&&(_0x519035['addFieldWithSourceId'](_0x5df058['dataFieldId'],_0x5658a3[_0x21215a(0x276)],void 0x0,_0x27fb6b),_0x5df058[_0x21215a(0x394)]!==void 0x0&&_0x519035[_0x21215a(0x1ef)](_0x27fb6b,_0x5df058['subtotal']),_0x5df058[_0x21215a(0x1af)]&&_0x519035['setFieldFormat'](_0x27fb6b,_0x5df058[_0x21215a(0x1af)]),_0x5df058[_0x21215a(0x241)]&&_0x519035[_0x21215a(0x16f)](_0x5df058['id'],_0x5df058[_0x21215a(0x241)]));}const _0xfb430f=_0x538c9c[_0x21215a(0x1e9)];for(const {fieldId:_0x2ef22a,filterInfo:_0x15c334}of _0xfb430f)_0x519035['setValueFilterInfo'](_0x2ef22a,_0x15c334);}function ji(_0x3641c7,_0x3bb009){const _0x472fb4=_0x163919,_0x2bf906=[];_0x3bb009===_0x5658a3[_0x472fb4(0x291)]&&_0x3641c7[_0x472fb4(0x1f7)](_0x5658a3['Row'],_0x1e62a9=>{const _0x383531=_0x472fb4;_0x2bf906[_0x383531(0x338)](_0x1e62a9[_0x383531(0x3b1)]());}),_0x3bb009===_0x5658a3['Column']&&_0x3641c7[_0x472fb4(0x1f7)](_0x5658a3[_0x472fb4(0x255)],_0x45580b=>{const _0x3debdf=_0x472fb4;_0x2bf906[_0x3debdf(0x338)](_0x45580b[_0x3debdf(0x3b1)]());}),_0x3bb009===_0x5658a3[_0x472fb4(0x285)]&&_0x3641c7[_0x472fb4(0x1f7)](_0x5658a3[_0x472fb4(0x285)],_0x52448b=>{const _0x4b80a3=_0x472fb4;_0x2bf906[_0x4b80a3(0x338)](_0x52448b[_0x4b80a3(0x3b1)]());}),_0x3bb009===_0x5658a3[_0x472fb4(0x276)]&&_0x3641c7[_0x472fb4(0x1f7)](_0x5658a3[_0x472fb4(0x276)],_0x449124=>{const _0x1b106e=_0x472fb4;_0x2bf906['push'](_0x449124[_0x1b106e(0x3b1)]());}),_0x3bb009===void 0x0&&_0x3641c7[_0x472fb4(0x24b)](_0xa2b3ba=>{const _0x2f20a5=_0x472fb4;_0x2bf906[_0x2f20a5(0x338)](_0xa2b3ba[_0x2f20a5(0x3b1)]());});const _0x1172fb=_0x2bf906['length'];for(let _0x1421a1=_0x1172fb-0x1;_0x1421a1>=0x0;_0x1421a1--)_0x3641c7[_0x472fb4(0x31c)](_0x2bf906[_0x1421a1]);const _0x52265d=_0x3641c7[_0x472fb4(0x2bd)]();for(const _0x306269 in _0x52265d)_0x3641c7[_0x472fb4(0x2d5)](_0x306269);}function Wi(_0x56348d,_0xcff5d0){const _0x39e8d2=_0x163919,_0xf43b51=new Date(_0x176369(_0xcff5d0)),_0x18f0d1=new Date(_0x176369(_0x56348d)),_0x5ce8c1=_0xf43b51[_0x39e8d2(0x2a9)](),_0x666e7b=_0x18f0d1[_0x39e8d2(0x2a9)](),_0x221565=_0xf43b51[_0x39e8d2(0x36a)](),_0x184368=_0x18f0d1[_0x39e8d2(0x36a)](),_0x3926eb=_0xf43b51[_0x39e8d2(0x3ad)](),_0x2b3834=_0x18f0d1[_0x39e8d2(0x3ad)](),_0x135997=_0x5ce8c1===_0x666e7b,_0x12988d=_0x135997&&_0x221565===_0x184368;return _0x135997&&_0x12988d&&!(_0x12988d&&_0x3926eb===_0x2b3834)?_0x1287ed[_0x39e8d2(0x1ce)]:_0x135997&&!_0x12988d?_0x1287ed[_0x39e8d2(0x373)]:_0x1287ed[_0x39e8d2(0x21e)];}function qo(_0xb15ee3,_0x40a913){const _0x26d347=_0x163919,_0x3e77ba=_0xb15ee3[_0x26d347(0x3cd)]($)['getTextInfo']();let _0x1ae9d4='';switch(_0x40a913){case _0x1287ed[_0x26d347(0x1ce)]:_0x1ae9d4=_0x3e77ba['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x1287ed[_0x26d347(0x373)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x1a7)];break;case _0x1287ed[_0x26d347(0x21e)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x24e)];break;case _0x1287ed[_0x26d347(0x3b5)]:_0x1ae9d4=_0x3e77ba['sheets-pivot.dateGroup.month'];break;case _0x1287ed['Quarter']:_0x1ae9d4=_0x3e77ba[_0x26d347(0x1e7)];break;case _0x1287ed[_0x26d347(0x280)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x2d0)];break;case _0x1287ed['HourMinute']:_0x1ae9d4=_0x3e77ba[_0x26d347(0x34a)];break;case _0x1287ed[_0x26d347(0x177)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x274)];break;case _0x1287ed[_0x26d347(0x374)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x357)];break;case _0x1287ed[_0x26d347(0x1e6)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x1a2)];break;case _0x1287ed[_0x26d347(0x2eb)]:_0x1ae9d4=_0x3e77ba[_0x26d347(0x1b4)];break;default:_0x1ae9d4='';break;}return _0x1ae9d4;}const Yo=_0x163919(0x24d),To={};function _0xc35a(){const _0x1c12c0=['sheets-pivot.averageName','6dJ2AtEJ\x20Py28XRAtEJ(Kt2yJDy,\x20RdfKt2iyX)\x20{\x20\x20\x20\x20A8X\x20{\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20Kt2yJDycJ6E738A1883X\x20=\x20Kt2yJDy.DRKtA(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20E8tmtJbyDD3my\x20=\x20ChUg.R38Dy(3AEf(Kt2yJDycJ6E738A1883X[N]));\x20\x20\x20\x20\x20\x20\x20\x20t6\x20(!E8tmtJbyDD3my.dP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E8tmtJbyDD3my.dP\x20=\x20gdnfy8(Kt2yJDycJ6E738A1883X[Z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20tDpE8ey8\x20=\x20AXRyE6\x20pE8ey8TKEf3Kh2ERy\x20!==\x20\x27dJPy6tJyP\x27\x20&&\x20DyK6\x20tJDA3J2yE6\x20pE8ey8TKEf3Kh2ERy;\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x202EJAyBA\x20=\x20tDpE8ey8\x20?\x20DyK6\x20:\x20rtJPEr;\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20nyDD3mypE8P\x20=\x202EJAyBA.__x3DysZ__.R38Dy(Kt2yJDycJ6E738A1883X[N]);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20nyDD3my\x20=\x202EJAyBA.__uyB__.DA8tJmt6X(nyDD3mypE8P);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20DtmJ3Ad8ypE8P\x20=\x202EJAyBA.__x3DysZ__.R38Dy(Kt2yJDycJ6E738A1883X[F]);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20DtmJ3Ad8y\x20=\x202EJAyBA.__uyB__.DA8tJmt6X(DtmJ3Ad8ypE8P);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20DtmJS3KtP\x20=\x202EJAyBA.__0y8t6X__(DtmJ3Ad8y,\x20nyDD3my,\x20RdfKt2iyX);\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20PEn3tJ\x20=\x20E8tmtJbyDD3my.Pn;\x20\x20\x20\x20\x20\x20\x20\x206dJ2AtEJ\x20tDqEn3tJb3A2OtJm(E73AAy8J,\x20EuEDA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20R3AAy8J\x20=\x20E73AAy8J.8yRK32y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20OEDA\x20=\x20EuEDA.8yRK32y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20R3AAy8J738AD\x20=\x20R3AAy8J.DRKtA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20OEDA738AD\x20=\x20OEDA.DRKtA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t6\x20(!R3AAy8J.tJ2KdPyD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yAd8J\x20R3AAy8J\x20===\x20OEDA;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t6\x20(R3AAy8J738AD.KyJmAO\x20<\x20N\x20||\x20R3AAy8J738AD[Q]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yAd8J\x2063KDy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20R3AAy8Jhd66tB\x20=\x20R3AAy8J738AD.DKt2y(j).IEtJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x20OEDAhd66tB\x20=\x20OEDA738AD.DKt2y(-R3AAy8J738AD.KyJmAO\x20+\x20j).IEtJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yAd8J\x20R3AAy8Jhd66tB\x20===\x20OEDAhd66tB;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20KyA\x20PEn3tJS3KtP\x20=\x20(PEn3tJ\x20&&\x20PEn3tJ.KyJmAO)\x20?\x20PEn3tJ.DEny((PncAyn)\x20=>\x20tDqEn3tJb3A2OtJm(PncAyn,\x20KE23AtEJ.OEDAJ3ny))\x20:\x20A8dy;\x20\x20\x20\x20\x20\x20\x20\x20t6\x20(KE23AtEJ.OEDAJ3ny\x20===\x20\x27KE23KOEDA\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PEn3tJS3KtP\x20=\x20A8dy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202EJDA\x2003KtP\x20=\x20DtmJS3KtP\x20&&\x20PEn3tJS3KtP;\x20\x20\x20\x20\x20\x20\x20\x208yAd8J\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2003KtP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nyDD3my:\x20E8tmtJbyDD3my,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x2023A2O\x20(y88E8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208yAd8J\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2003KtP:\x2063KDy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nyDD3my:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','add','formJSON','updateRenderCache','iterateField','sheet.mutation.send-pivot-data-local','sheets-pivot.config','sheets-pivot.dateGroup.year','UpdateSource','_textInfo','getPivotItemRenderInfoCache','isEmpty','registerPluginResource','_lifecycleService','Column','sheet.mutation.set-pivot-value-filter','some','result','Sum\x20of\x20','getViewData','sheet.mutation.add-pivot-field','pivotTableIndexConfig','sheets-pivot.blank','getSheetBySheetId','MAX_SAFE_INTEGER','MovePivotField','COLUMN','isText','getSheetBySheetName','sheet.mutation.send-pivot-view-local','getDirtyInfo','shouldClear','setName','error','StdDevp\x20of\x20','_pivotTableMatrixInfo','getCurrentSelections','sheets-pivot.emptyPivot.row','dataFieldId','refreshGroupField','rangeKeyMap','sheets-pivot.cellDateGroupDisplay.yearQuarter','contains','_injector','isDate','sheets-pivot.dateGroup.hour','_requestResolvers','Value','setSourceName','leafStyle','MIN_SAFE_INTEGER','getformat','rowFields','intercept','getDataFieldItemInfo','disposableCollection','valuePosition','Date','getRowCount','getTargetByPivotTableId','sheetName','iterateFieldDim','Filter','addFieldWithSourceId','_sheetsPivotTableAdaptorModel','_ensurePivotItemRenderInfoCache','getIndexesByPathStr','sheets.tabs.sheet','sheet.command.add-pivot-field','document','_initCommandInterceptListener','fields','_initRegisterCommand','_configVersion$','Row','_localeService','sheet.mutation.pivot-update-field-position','subTotalStyle','map','UpdateValuePosition','None','intersects','Quarter','RemovePivotField','sheet.mutation.update-pivot-table-source-range','getTableFieldById','Grand\x20Total','_queryingMap','fieldIds','limit\x20pivot','date','sheets-pivot.stdDevpName','tuple','sheet.command.set-pivot-field-setting','getDataFieldByRangeKey','interceptor','registerDirtyService','version','getFullYear','NUMBER','colHeaderMap','updateConfig','Div0','cornerStyle','isValue','getValueIndex','collectionConfig','body','prefix','RemoveField','ΣValue','single','_markDirty$','Column\x20','type','dataStyle','sum','refreshData','getValueFilterInfos','getDataFieldManager','symbol','columnFields','sheets-pivot.productName','NAME','226JfPvNU','getValuePosition','getMatrixValue','getHeaderMapItem','pivotPerformCheck','startColumn','_pivotInitCompleted$','10uQRMJH','number','PIVOT_MUTATION_GENERATE','return\x20','dispose','getDataFieldByTableId','sheets-pivot.dateGroup.date','getLastCol','5VPxHdN','sheet.mutation.set-pivot-field-subtotal-type','entries','removeValueFilterInfo','_featureCalculationManagerService','NUM','sourceRangeInfo','colRanges','size','ptn','sheets-pivot.subTotal','markDirty','_initViewModelBySheetInterceptor','_subjectViewChange','refreshDataField','executeCommand','SetPivotSetting','getUnit','headerMap','splice','asObservable','replace','addDirtyPivotTable','updatePivotTableMatrixInfo','row','YearQuarter','rowCount','_model','setPivotSetting','Max\x20of\x20','pushUndoRedo','generateNewSheetName','product','originTargetInfo','isColMultiMeasure','setPivotCollapse','_resourceManagerService','sheet.command.move-pivot-field','measure','_host','_subjectFieldsCollectionChange','_sheetsPivotDataSourceModel','grandTotal','stdDev','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sheet.mutation.get-pivot-data-local','getSubUnitPivotConfigs','_initPivotTextInfo','171563RENDtU','sheets-pivot.cellDateGroupDisplay.date','split','addPivotTable','areaInfo','getTextInfo','_sheetsSelectionsService','_updatePivotTableInstanceCache','Style','onStarting','Subtotal','range','fieldsConfig','needSameDeleteModel','_config','NORMAL','_dataSyncPrimaryController','getMatrix','addCollection','Values','getFieldFormat','call','from','reduce','fetchThroughInterceptors','delete','removeField','rowStyle','isNaN','name','_pivotTableInstanceCache','colCount','\x20-\x20','sheets-pivot.emptyPivot.filter','notExecuteFormula','pivotInitCompleted$','has','rangesInfo','matrix','getSheets','toString','removeDataField','generateMutationsByRanges','dataFieldManagerConfig','getSourceName','random','defineProperty','paths','getColumnCount','find','sheet.mutation.add-group-collection','_updateRenderEmptyCache','getName','pivotTableConfigs','push','query','_pivotConfigChange$','updateViewData','getUpdateRangeDeleteIds','#e6ebfb','targetCellInfo','_sheetsPivotRpcService','getColCount','_viewUpdate$','oldMatrix','getRefRangeMutationsByMoveRange','GrandTotal','SetPivotTableConfig','ManualFilter','sheets-pivot.cellDateGroupDisplay.yearMonth','UNIVER_SHEET','_ensurePivotTableMatrixInfo','sheets-pivot.dateGroup.hourMinute','parse','sheet.mutation.send-pivot-config-local','handleAsyncResponse','fieldId','subscribe','fetchThroughAsyncInterceptors','queryDirtyPivotTable','sheets-pivot.countNumsName','node','Count\x20of\x20','_commandService','pageStyle','sheets-pivot.dateGroup.minute','_generateUniqueVersion','dimension','getSubUnitPivotRenderCache','stringify','_initRemoveSheetCommandInterceptor','_pivotRenderValueMatrixCache','ResetPivotTable','cornerRanges','sheet.mutation.send-init-pivot-text-local','setLabelFilterInfo','updateAllDisplayName','updatePivotTableRangeInfo','updateFieldPosition','_viewData$','removeSourceRangeChange','HourMinute','getSortInfo','reset','getMonth','getPivotDirtyViewInfo','info','deepClone','dataFields','_initSnapshot','update','sourceName','count','YearMonth','Minute','1583925oGThgH','panel','_createExclusiveRange','_init','updateCollectionConfig','undos','toJSON','getTypeOfUnitDisposed$','getSheetId','setDisplayName','col','prototype','_ensurePivotMap','getStyles','sideEffectUpdateWorkerCache','SetSubtotalType','createCollectionWithDataRange','options','getTargetByPivotId','Total','sortInfo','getPivotTableConfig','Delete','valid','countNums','setOptions','SHEET_PIVOT_EXCLUSIVE_ID','pageRanges','unshift','getCellMatrix','sheet.mutation.rename-pivot-field','subtotal','SetCollapse','concat','var','disposeWithMe','object','tableFieldId','getDataFieldBySourceName','sheet.command.update-pivot-value-position','sheet.mutation.set-pivot-sort-info','Add','sheet.command.set-pivot-collapse','setSortInfo','collections','resetPivotTable','getFilterFieldIdByIndex','Varp\x20of\x20','sheet.command.update-date-group','addPivotField','getIntersectsPivotTable','pbt','rangeCache','SetFilterInfo','_viewData','getPivotTableMatrixInfo','getDate','(Blank)','subUnitId','#b2b2b2','getId','UpdatePivotSource','versions','bind','Month','sheet.mutation.set-pivot-collapse','Min\x20of\x20','foreach','fontRenderExtension','updateRangeKeyMap','deleteDataField','broadcastCollectionChange','new','setTextInfo','_sheetsPivotTableService','setValue','level','updateConfigCache','_dataFieldManagerCollection','hasField','lastRow','getFieldDataType','registerSyncingMutations','_refRangeService','updateValuePosition','clearExclusiveRangesByGroupId','clearRenderCache','length','get','next','_pivotRenderInfoCache','setPivotTable','startRow','colStyle','getCurrentUnitForType','getPivotTableModelConfig','max','setDataRecordCount','sheet.mutation.set-pivot-filter','getCellRaw','getValue','updatePivotSource','triggerDirtyFeature','_activeDirtyManagerService','_globalComputedEndHelpFunc','rowHeaderMap','onCommandExecuted','token','sheets-pivot.emptyPivot.values','getFilterInfo','registerCallbackWithEvent','addField','3008780sbQZVu','sheet.mutation.remove-pivot-field','updateView','getDataFieldId','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','setValuePivotFilter','setRangeValueRedoMutation','getLastRow','fieldsCollectionChange$','getPivotPerformCheck','registerCommand','string','removeValueFilterInfoByValueFieldId','renameField','getFieldCountByArea','getUnitId','getGroupFieldsInfoByIds','column','addPivotTableWithConfig','leftOffset','pushComputingStatusSubject','Hour','redos','adjustSheetCellData','_initLocale','_toJSON','oldRangeInfo','#f4f4f5','_sheetsPivotTableConfigModel','COMMAND','filter','PivotMultipleValueId','getPivotTableCellData','filterFields','Product\x20of\x20','updateViewInfo','Panel','STRING','296IBmRTd','handleSourceRangeChange','deleteUnitId','32022bEgbCA','getFieldById','getColumnWidth','removePivotTable','interceptCommand','setRange','movePivotField','workbook\x20is\x20not\x20found','pivotTableId','SetPivotSort','endCollectChangeset','unitId','_sheetInterceptorService','_ensurePivotItemRenderValueMatrixCache','value','updateDirtyPivotTable','asyncInterceptor','filterId','AddPivotTable','message','floor','getDisplayName','SetOptions','sheets-pivot.dateGroup.monthDate','getPivotDisplayConfig','getRangeKey','stdDevp','endRow','sheets-pivot.dateGroup.yearMonth','rowInfo','sheet.command.update-pivot-table-source-range','sheets-pivot.countName','getAutoFitColumnsMutations','addDataFieldWithoutUnitInfo','realDeleteValue','pivotMutationGenerate','format','params','addCollectionByJSON','substring','_configService','sheets-pivot.dateGroup.yearQuarter','sheet.command.set-pivot-fields-config','uniqueDataFieldName','viewData$','_univerInstanceService','remove','parseInt','sheet.mutation.update-date-group','drillDown','textInfo','setPivotFilter','_refRangeHandle','setPivotTableConfig','register','sheets-pivot.cellDateGroupDisplay.hour','keys','endColumn','resetArea','sheet.command.set-pivot-filter','rangeKey','getFieldIds','setDateType','createDataFieldId','sheets-pivot.value','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','forRow','YearMonthDate','startCollectChangeset','New','CELL_CONTENT','average','getPivotTableInstance','_subjectCollectionChange','getCollection','sheets-pivot.cellDateGroupDisplay.month','SetPivotCollapse','getActiveSheet','initDataRanges','setFieldFormat','_updateModelCache','getFormat','_collectionConfigModel','collapseInfo','set','rgb(255,255,255)','AddPivotField','_getAutoName','removePivotField','#eceeff','_exclusiveRangeService','MonthDate','sheets-pivot.dateGroup.quarter','_deletePivotTableInstanceCache','valueFilter','getRangeData','getFieldPositionInfoById','_globalComputedStartHelpFunc','9844054CemyeG','DrillDown','setSubtotalType','getOwnPropertyDescriptor','forEach','_initConfig','_initUnitDisposed','fromJSON','width','dataFieldsCollection','iterateFieldByArea','addExclusiveRange','isBottomTotal','_initClearSelectionCommandInterceptor','_globalComputingSrv','blank','handleMoveRange','_getPivotAppliedRanges','collectionChange$','getRangeStartEndInfo','values','getFormatInfo','addRecord','hasOwnProperty','colInfo','getIntersects','#e6ebfa','MUTATION','setCollapse','SetValuePivotFilter','getFieldInfo','getAutoDisplayNameFunction','_collectionChange$','getNoUsedDataFieldIds','data','onQueryStart','Var\x20of\x20','rowRanges','getTextSize','getSubUnitPivotMatrix','_initPivotDataGetListener','setPivotSort','Collapse','getSubtotal','getRangeKeyList','SetFieldFormat','UpdateFieldPosition','SetPivotFilter','filterInfo','Year','sheet.mutation.pivot-update-field-source-info','removeCollectionImp','markDirty$','sheets-pivot.varName','min','valueIndex','slice','deleteField','_initGlobalComputed','getOriginFieldId','sheet.command.move-pivot-table','1350462jepMPS','rangeType','getConfig','updateDataFieldsCollection','AddPivotTableWithConfig','cornerInfo','12539583ZZWxvE','_fieldsCollectionChange$','setRangeKeyMap','_ensureViewDataMap','_pivotTableRangeInfo','removeCollections','includes','DIV_BY_ZERO','batch','getDataFieldByDataFieldId','dataRangeInfo','_deleteModelCache','getPivotTableIdByCell','forValue','valueFields','Set','sheets-pivot.grandTotal','displayName','_globalSubject','isArray','pivotConfigChange$','setConfig'];_0xc35a=function(){return _0x1c12c0;};return _0xc35a();}var Gi=Object[_0x163919(0x1f0)],Hi=(_0x52d385,_0x16209e,_0x4cffa5,_0x4c3acd)=>{const _0x389771=_0x163919;for(var _0x4f785c=_0x4c3acd>0x1?void 0x0:_0x4c3acd?Gi(_0x16209e,_0x4cffa5):_0x16209e,_0x3a189c=_0x52d385[_0x389771(0x3cc)]-0x1,_0x2c6f1c;_0x3a189c>=0x0;_0x3a189c--)(_0x2c6f1c=_0x52d385[_0x3a189c])&&(_0x4f785c=_0x2c6f1c(_0x4f785c)||_0x4f785c);return _0x4f785c;},at=(_0x202a5b,_0x351365)=>(_0x259396,_0x18fb02)=>_0x351365(_0x259396,_0x18fb02,_0x202a5b);let he=class extends _0x5647fd{constructor(_0x460841,_0xd2489b,_0x45dfb9,_0x434e72,_0x48195e){const _0x41ba07=_0x163919;super(),A(this,_0x41ba07(0x2ed),new Map()),A(this,_0x41ba07(0x1dd),new Map()),A(this,_0x41ba07(0x234),new Map()),A(this,'_pivotTableMatrixInfo',new Map()),A(this,'_configVersion$',new _0x2bd365()),A(this,_0x41ba07(0x2c9),new _0x2bd365()),A(this,_0x41ba07(0x325),this['_pivotInitCompleted$'][_0x41ba07(0x2e6)]()),A(this,_0x41ba07(0x33a),new _0x2bd365()),A(this,_0x41ba07(0x244),this[_0x41ba07(0x33a)][_0x41ba07(0x2e6)]()),A(this,_0x41ba07(0x250),{}),A(this,'configVersion$',this['_configVersion$'][_0x41ba07(0x2e6)]()),(this[_0x41ba07(0x272)]=_0x460841,this[_0x41ba07(0x355)]=_0xd2489b,this['_univerInstanceService']=_0x45dfb9,this['_resourceManagerService']=_0x434e72,this[_0x41ba07(0x1b3)]=_0x48195e,this[_0x41ba07(0x17a)](),this['_initUnitDisposed']());const _0x420962=this['_configService'][_0x41ba07(0x22c)](Yo);(_0x420962==null?void 0x0:_0x420962[_0x41ba07(0x324)])===!0x0&&this['_initSnapshot']();}[_0x163919(0x1f3)](){const _0x43263d=_0x163919;this[_0x43263d(0x398)](this[_0x43263d(0x1b8)][_0x43263d(0x37c)](_0x2d7980[_0x43263d(0x348)])['subscribe'](_0x4a51a5=>{const _0x305138=_0x43263d;this['deleteUnitId'](_0x4a51a5[_0x305138(0x171)]());}));}['setPivotInitCompleted'](){const _0x3206af=_0x163919;this[_0x3206af(0x2c9)][_0x3206af(0x3ce)](!0x0);}['_initLocale'](){const _0x23e09d=_0x163919,_0x326eae=fo(this[_0x23e09d(0x272)],Bo,'',{});this[_0x23e09d(0x250)]=_0x326eae,this[_0x23e09d(0x355)]['executeCommand'](uo['id'],{'textInfo':_0x326eae},{'onlyLocal':!0x0});}[_0x163919(0x307)](){return this['_textInfo'];}[_0x163919(0x185)](_0x3de364,_0x1640d8,_0x2d5352,_0x2deb30,_0x65716e){const _0xa33502=_0x163919;this[_0xa33502(0x2e9)](_0x3de364,_0x1640d8,_0x2d5352,_0x2deb30),this[_0xa33502(0x363)](_0x3de364,_0x1640d8,_0x2d5352,_0x65716e);}['getPivotTableConfig'](_0x23c9d8,_0x3d5631,_0x547800){const _0x5a647d=_0x163919;var _0x1ba8fc;const _0xd755f7=(_0x1ba8fc=this[_0x5a647d(0x2ed)]['get'](_0x23c9d8))==null?void 0x0:_0x1ba8fc[_0x5a647d(0x3cd)](_0x3d5631);if(_0xd755f7)return _0xd755f7['get'](_0x547800);}[_0x163919(0x282)](_0x88587d,_0x95d50e){const _0x339175=_0x163919,_0x2d24fd=this[_0x339175(0x2ed)]['get'](_0x88587d);if(_0x2d24fd){for(const [_0x275195,_0x1b8039]of _0x2d24fd[_0x339175(0x2d4)]())for(const [_0x25a171,_0x27b8d0]of _0x1b8039[_0x339175(0x2d4)]())if(_0x25a171===_0x95d50e)return _0x27b8d0['targetCellInfo'];}}[_0x163919(0x387)](_0x577172,_0x58f6ce,_0x4d4eb8){const _0x2b1c0d=_0x163919,_0x28986d=this[_0x2b1c0d(0x38a)](_0x577172,_0x58f6ce,_0x4d4eb8);return _0x28986d==null?void 0x0:_0x28986d[_0x2b1c0d(0x33e)];}[_0x163919(0x300)](_0x54f865,_0x1f1fef){const _0x8bc401=_0x163919;var _0x3bcf1e;return(_0x3bcf1e=this['_model'][_0x8bc401(0x3cd)](_0x54f865))==null?void 0x0:_0x3bcf1e[_0x8bc401(0x3cd)](_0x1f1fef);}[_0x163919(0x3c2)](_0x449bef,_0x2caf17,_0x4b348b,_0x2674e5){const _0x3298eb=_0x163919,_0x54d302=this['_ensurePivotMap'](_0x449bef,_0x2caf17);_0x2674e5?_0x54d302[_0x3298eb(0x1df)](_0x4b348b,_0x2674e5):_0x54d302[_0x3298eb(0x31b)](_0x4b348b),this['_pivotConfigChange$'][_0x3298eb(0x3ce)]({'unitId':_0x449bef,'subUnitId':_0x2caf17,'pivotTableId':_0x4b348b,'pivotTableConfig':_0x2674e5});}[_0x163919(0x1d5)](_0x44ea11,_0xdb783c){const _0x175e70=_0x163919;var _0x405be5;return(_0x405be5=this[_0x175e70(0x1dd)][_0x175e70(0x3cd)](_0x44ea11))==null?void 0x0:_0x405be5['collections'][_0xdb783c];}[_0x163919(0x379)](_0x47d64e,_0x5cf2f1){const _0x57fba5=_0x163919;this[_0x57fba5(0x1dd)][_0x57fba5(0x1df)](_0x47d64e,_0x5cf2f1),this[_0x57fba5(0x290)][_0x57fba5(0x3ce)](Math[_0x57fba5(0x32f)]());}['_ensurePivotMap'](_0x7c2c51,_0x1b027e){const _0x370423=_0x163919;let _0x46e60e=this['_model'][_0x370423(0x3cd)](_0x7c2c51);_0x46e60e||(_0x46e60e=new Map(),this[_0x370423(0x2ed)]['set'](_0x7c2c51,_0x46e60e));let _0x2c3554=_0x46e60e[_0x370423(0x3cd)](_0x1b027e);return _0x2c3554||(_0x2c3554=new Map(),_0x46e60e[_0x370423(0x1df)](_0x1b027e,_0x2c3554)),_0x2c3554;}['_ensurePivotTableRangeInfo'](_0x5ceddc,_0x303908){const _0x4f6cfc=_0x163919;let _0x515414=this[_0x4f6cfc(0x234)][_0x4f6cfc(0x3cd)](_0x5ceddc);_0x515414||(_0x515414=new Map(),this[_0x4f6cfc(0x234)][_0x4f6cfc(0x1df)](_0x5ceddc,_0x515414));let _0x5ad048=_0x515414['get'](_0x303908);return _0x5ad048||(_0x5ad048=new Map(),_0x515414[_0x4f6cfc(0x1df)](_0x303908,_0x5ad048)),_0x5ad048;}[_0x163919(0x349)](_0x1d44b7,_0x570fd9){const _0x514876=_0x163919;let _0x2c8db3=this[_0x514876(0x26a)][_0x514876(0x3cd)](_0x1d44b7);_0x2c8db3||(_0x2c8db3=new Map(),this['_pivotTableMatrixInfo'][_0x514876(0x1df)](_0x1d44b7,_0x2c8db3));let _0x3537f7=_0x2c8db3[_0x514876(0x3cd)](_0x570fd9);return _0x3537f7||(_0x3537f7=new Map(),_0x2c8db3[_0x514876(0x1df)](_0x570fd9,_0x3537f7)),_0x3537f7;}[_0x163919(0x363)](_0x35ce9e,_0x39b28b,_0x23e346,_0x3e6f18){const _0x2947ec=_0x163919;var _0x4ac9e5;const _0x4f9c97=this['_ensurePivotTableRangeInfo'](_0x35ce9e,_0x39b28b),_0x5a1f9d=(_0x4ac9e5=_0x4f9c97[_0x2947ec(0x3cd)](_0x23e346))==null?void 0x0:_0x4ac9e5[_0x2947ec(0x17c)];_0x4f9c97[_0x2947ec(0x1df)](_0x23e346,{'oldRangeInfo':_0x5a1f9d,'rangeInfo':_0x3e6f18});}[_0x163919(0x2e9)](_0xf7a58b,_0x1b5e1f,_0x3a129c,_0xf8be53){const _0x50e58d=_0x163919;var _0xa7c2b6;const _0x1458e2=this[_0x50e58d(0x349)](_0xf7a58b,_0x1b5e1f),_0x474e13=(_0xa7c2b6=_0x1458e2[_0x50e58d(0x3cd)](_0x3a129c))==null?void 0x0:_0xa7c2b6[_0x50e58d(0x342)];_0x1458e2[_0x50e58d(0x1df)](_0x3a129c,{'oldMatrix':_0x474e13,'matrix':_0xf8be53});}['getPivotTableRangeInfo'](_0x4ab811,_0x1e2ff5,_0x593f5f){const _0x2f1ea6=_0x163919;var _0x4563ef,_0x590f9e;return(_0x590f9e=(_0x4563ef=this[_0x2f1ea6(0x234)][_0x2f1ea6(0x3cd)](_0x4ab811))==null?void 0x0:_0x4563ef[_0x2f1ea6(0x3cd)](_0x1e2ff5))==null?void 0x0:_0x590f9e[_0x2f1ea6(0x3cd)](_0x593f5f);}[_0x163919(0x3ac)](_0x13a8d1,_0x267632,_0x4a1acb){const _0x2faff6=_0x163919;var _0x4f1505,_0x1a4e13;return(_0x1a4e13=(_0x4f1505=this[_0x2faff6(0x26a)]['get'](_0x13a8d1))==null?void 0x0:_0x4f1505[_0x2faff6(0x3cd)](_0x267632))==null?void 0x0:_0x1a4e13[_0x2faff6(0x3cd)](_0x4a1acb);}[_0x163919(0x18a)](_0x5a436e){const _0x2742f2=_0x163919;this['_model'][_0x2742f2(0x31b)](_0x5a436e),this[_0x2742f2(0x1dd)][_0x2742f2(0x31b)](_0x5a436e);}[_0x163919(0x17b)](_0x1d4f99){const _0x8789f5=_0x163919,_0x344ecf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x1d4f99)&&(_0x344ecf[_0x8789f5(0x32d)][_0x1d4f99]=this[_0x8789f5(0x1dd)][_0x8789f5(0x3cd)](_0x1d4f99)),this[_0x8789f5(0x2ed)]['get'](_0x1d4f99)){_0x344ecf[_0x8789f5(0x337)][_0x1d4f99]={};const _0x31ab5e=this[_0x8789f5(0x2ed)][_0x8789f5(0x3cd)](_0x1d4f99);_0x31ab5e!=null&&_0x31ab5e[_0x8789f5(0x2da)]&&[..._0x31ab5e[_0x8789f5(0x1c3)]()]['forEach'](_0x183d5b=>{const _0x152b7e=_0x8789f5,_0x2f039a=_0x31ab5e[_0x152b7e(0x3cd)](_0x183d5b);_0x2f039a!=null&&_0x2f039a[_0x152b7e(0x2da)]&&(_0x344ecf[_0x152b7e(0x337)][_0x1d4f99][_0x183d5b]={},[..._0x2f039a['keys']()][_0x152b7e(0x1f1)](_0x275e5d=>{const _0x4cb488=_0x152b7e,_0x19b36d=_0x2f039a['get'](_0x275e5d);_0x19b36d&&(_0x344ecf[_0x4cb488(0x337)][_0x1d4f99][_0x183d5b][_0x275e5d]=_0x19b36d);}));});}return _0x344ecf;}[_0x163919(0x36f)](){const _0x4b0d5a=_0x163919;this['disposeWithMe'](this[_0x4b0d5a(0x2f6)][_0x4b0d5a(0x253)]({'toJson':_0x542e12=>JSON['stringify'](this[_0x4b0d5a(0x17b)](_0x542e12)),'parseJson':_0x60ea12=>({}),'businesses':[_0x2d7980[_0x4b0d5a(0x348)]],'pluginName':ao,'onLoad':(_0x4a2382,_0x567567)=>{},'onUnLoad':_0x4889d2=>{const _0x351ac3=_0x4b0d5a;this[_0x351ac3(0x18a)](_0x4889d2);}}));}};he=Hi([at(0x0,_0x86a91c(_0x207bcc)),at(0x1,_0x86a91c(_0x27f7ca)),at(0x2,_0x86a91c(_0x544974)),at(0x3,_0x86a91c(_0x503a9d)),at(0x4,_0x86a91c(_0x197f4e))],he);var qi=Object[_0x163919(0x1f0)],Yi=(_0x23a88e,_0xc11fdd,_0x39e3c1,_0x5efbd5)=>{const _0x41df47=_0x163919;for(var _0x55039b=_0x5efbd5>0x1?void 0x0:_0x5efbd5?qi(_0xc11fdd,_0x39e3c1):_0xc11fdd,_0xb19ee2=_0x23a88e[_0x41df47(0x3cc)]-0x1,_0x1f1a1;_0xb19ee2>=0x0;_0xb19ee2--)(_0x1f1a1=_0x23a88e[_0xb19ee2])&&(_0x55039b=_0x1f1a1(_0x55039b)||_0x55039b);return _0x55039b;},rt=(_0x12e99d,_0x387666)=>(_0x305c0a,_0x5f24d7)=>_0x387666(_0x305c0a,_0x5f24d7,_0x12e99d);let Ne=class extends _0x5647fd{constructor(_0x185b89,_0x293dfc,_0x27d3eb,_0x54bcfe,_0x2c4bc7){const _0x27f7d2=_0x163919;super(),A(this,_0x27f7d2(0x3cf),new Map()),A(this,_0x27f7d2(0x35d),new Map()),A(this,_0x27f7d2(0x2b7),new _0x2bd365()),A(this,_0x27f7d2(0x221),this[_0x27f7d2(0x2b7)]['asObservable']()),A(this,_0x27f7d2(0x341),new _0x2bd365()),A(this,'viewUpdate$',this[_0x27f7d2(0x341)][_0x27f7d2(0x2e6)]()),A(this,_0x27f7d2(0x250)),(this[_0x27f7d2(0x292)]=_0x185b89,this[_0x27f7d2(0x272)]=_0x293dfc,this[_0x27f7d2(0x17e)]=_0x27d3eb,this[_0x27f7d2(0x1b8)]=_0x54bcfe,this[_0x27f7d2(0x1e5)]=_0x2c4bc7,this[_0x27f7d2(0x17a)](),this['_initUnitDisposed']());}['_initUnitDisposed'](){const _0x56900f=_0x163919;this[_0x56900f(0x398)](this[_0x56900f(0x1b8)][_0x56900f(0x37c)](_0x2d7980[_0x56900f(0x348)])[_0x56900f(0x34f)](_0x38f5f7=>{const _0x5f4f09=_0x56900f;this[_0x5f4f09(0x18a)](_0x38f5f7[_0x5f4f09(0x171)]());}));}[_0x163919(0x17a)](){const _0x1565b7=_0x163919;this[_0x1565b7(0x250)]=fo(this['_injector'],Bo,'',{});}['updateRenderCache'](_0xa83a2d){const _0xfa0aca=_0x163919,{view:_0x5a5447,unitId:_0x37ffe9,subUnitId:_0x40d10c,pivotTableId:_0x151a6b,type:_0x53c032}=_0xa83a2d,_0x40d200=this['_sheetsPivotTableConfigModel'][_0xfa0aca(0x38a)](_0x37ffe9,_0x40d10c,_0x151a6b);if(!_0x5a5447||!_0x40d200||_0x53c032===L[_0xfa0aca(0x38b)])return;const {pageView:_0x1b3383,cornerView:_0x12be33,rowView:_0x4e9cb1,colView:_0x385169,dataView:_0x468bd1}=_0x5a5447,_0x1d887a=_0x40d200['targetCellInfo'],_0x227853=_0x40d200['isEmpty'],_0x157fa1=this['_ensurePivotItemRenderValueMatrixCache'](_0x37ffe9,_0x40d10c),_0x3dd0a2=this[_0xfa0aca(0x288)](_0x37ffe9,_0x40d10c,_0x151a6b);if(_0x227853)return this['_updateRenderEmptyCache'](_0xa83a2d,_0x157fa1,_0x1d887a,_0x3dd0a2);{const _0xe9b0a4=ge(_0x1d887a,_0x1b3383,!0x0),_0x1a2240=_0x1b3383[_0xfa0aca(0x3c5)]>=0x0?_0x1b3383[_0xfa0aca(0x3c5)]+0x1:0x0,_0x5da101=_0x12be33[_0xfa0aca(0x281)](),_0xfbcb01=_0x12be33[_0xfa0aca(0x340)](),_0x214ab9=_0xe9b0a4['length']>0x0?It:0x0,_0x2d43c9=ge({'row':_0x1d887a[_0xfa0aca(0x2ea)]+_0x1a2240+_0x214ab9,'col':_0x1d887a[_0xfa0aca(0x37f)]},_0x12be33,!0x1,!0x1),_0x1d49ec=ge({'row':_0x1d887a[_0xfa0aca(0x2ea)]+_0x1a2240+_0x214ab9+_0x5da101,'col':_0x1d887a[_0xfa0aca(0x37f)]},_0x4e9cb1,!0x1,!0x0),_0x33a7cb=ge({'row':_0x1d887a[_0xfa0aca(0x2ea)]+_0x1a2240+_0x214ab9,'col':_0x1d887a[_0xfa0aca(0x37f)]+_0xfbcb01},_0x385169,!0x1,!0x0),_0x3bcb3f=ge({'row':_0x1d887a[_0xfa0aca(0x2ea)]+_0x1a2240+_0x214ab9+_0x5da101,'col':_0x1d887a[_0xfa0aca(0x37f)]+_0xfbcb01},_0x468bd1,!0x1,!0x1);_0x3dd0a2[_0xfa0aca(0x327)]={'rowRanges':_0x1d49ec,'colRanges':_0x33a7cb,'cornerRanges':_0x2d43c9,'dataRanges':_0x3bcb3f,'pageRanges':_0xe9b0a4};const _0x4d4eab=Ti(this[_0xfa0aca(0x272)],_0x5a5447,_0x40d200,this[_0xfa0aca(0x250)]),{valueMatrix:_0x440757,rowInfo:_0x44f2f0,colInfo:_0x3b6198,cornerInfo:_0x43688a,rowHeaderMap:_0x682053,colHeaderMap:_0x3759aa}=_0x4d4eab;return _0x3dd0a2[_0xfa0aca(0x306)]={'rowInfo':_0x44f2f0,'colInfo':_0x3b6198,'cornerInfo':_0x43688a},_0x3dd0a2[_0xfa0aca(0x2e4)]={'rowHeaderMap':_0x682053,'colHeaderMap':_0x3759aa},_0x440757[_0xfa0aca(0x1f1)]((_0x1cd792,_0x66b01f)=>{const _0x404425=_0xfa0aca;Object[_0x404425(0x1c3)](_0x66b01f)[_0x404425(0x1f1)](_0xe06177=>{const _0xc253a1=_0x404425,_0x34e561=+_0xe06177,_0x21d13d=_0x440757['getValue'](_0x1cd792,_0x34e561);_0x157fa1[_0xc253a1(0x3c0)](_0x1cd792,_0x34e561,_0x21d13d);});}),this[_0xfa0aca(0x341)][_0xfa0aca(0x3ce)]({'unitId':_0x37ffe9,'subUnitId':_0x40d10c,'valueMatrix':_0x157fa1,'rangesCache':_0x3dd0a2[_0xfa0aca(0x327)],'pivotTableId':_0x151a6b,'type':_0xa83a2d[_0xfa0aca(0x2b9)]}),this[_0xfa0aca(0x17e)]['updateViewInfo'](_0x37ffe9,_0x40d10c,_0x151a6b,_0x157fa1,_0x3dd0a2[_0xfa0aca(0x327)]),this[_0xfa0aca(0x1e5)]['addExclusiveRange'](_0x37ffe9,_0x40d10c,kt,this[_0xfa0aca(0x377)](_0x3dd0a2['rangesInfo'],_0x151a6b)),{'rangeCache':_0x3dd0a2[_0xfa0aca(0x327)],'matrix':_0x157fa1};}}[_0x163919(0x335)](_0x29252f,_0x215dbf,_0x487e42,_0x1c70d8){const _0x2d6d9d=_0x163919,_0x1fefae=this[_0x2d6d9d(0x292)]['t'],{unitId:_0x49bd97,subUnitId:_0x34133b,pivotTableId:_0xda5e93}=_0x29252f,_0x3e3306={'filter':_0x1fefae(_0x2d6d9d(0x323)),'row':_0x1fefae(_0x2d6d9d(0x26c)),'column':_0x1fefae('sheets-pivot.emptyPivot.column'),'values':_0x1fefae(_0x2d6d9d(0x3e1))},{matrixCache:_0x511d7e,rangesCache:_0x255456}=Wo(_0x3e3306,_0x487e42);return _0x511d7e[_0x2d6d9d(0x23d)]((_0x71a586,_0x31e31b,_0x5b6b7c)=>{_0x215dbf['setValue'](_0x71a586,_0x31e31b,_0x5b6b7c);}),_0x1c70d8['rangesInfo']=_0x255456,this[_0x2d6d9d(0x341)]['next']({'unitId':_0x49bd97,'subUnitId':_0x34133b,'valueMatrix':_0x215dbf,'rangesCache':_0x255456,'pivotTableId':_0xda5e93,'type':_0x29252f[_0x2d6d9d(0x2b9)],'isEmpty':!0x0}),this[_0x2d6d9d(0x17e)][_0x2d6d9d(0x185)](_0x49bd97,_0x34133b,_0xda5e93,_0x215dbf,_0x255456),this[_0x2d6d9d(0x1e5)][_0x2d6d9d(0x1f8)](_0x49bd97,_0x34133b,kt,this[_0x2d6d9d(0x377)](_0x255456,_0xda5e93)),{'rangeCache':_0x1c70d8['rangesInfo'],'matrix':_0x215dbf};}[_0x163919(0x377)](_0x857e12,_0x1b3207){const _0x424226=_0x163919,_0x22605a=[],_0x5e3a7c=Lt(_0x857e12);for(const _0x191486 of _0x5e3a7c)_0x22605a[_0x424226(0x338)]({'groupId':_0x1b3207,'range':_0x191486});return _0x22605a;}[_0x163919(0x3cb)](_0x1b6279){const _0x300436=_0x163919;var _0x3aa988,_0x3f3ab3,_0x254593,_0x5361eb;const {pivotTableId:_0x1546a5,unitId:_0x49cb76,subUnitId:_0x1642ad}=_0x1b6279;if(!_0x1546a5||!_0x49cb76||!_0x1642ad)return;const _0x17f3a9=this[_0x300436(0x198)](_0x49cb76,_0x1642ad),_0x42f415=(_0x3f3ab3=(_0x3aa988=this[_0x300436(0x3cf)][_0x300436(0x3cd)](_0x49cb76))==null?void 0x0:_0x3aa988[_0x300436(0x3cd)](_0x1642ad))==null?void 0x0:_0x3f3ab3[_0x300436(0x3cd)](_0x1546a5);if(_0x42f415!=null&&_0x42f415[_0x300436(0x327)]){for(const _0x5ec1c4 of Object[_0x300436(0x1c3)](_0x42f415[_0x300436(0x327)]))_0x42f415[_0x300436(0x327)][_0x5ec1c4]['forEach'](_0x560a8b=>{const _0x41c395=_0x300436;for(let _0x5dd0a5=_0x560a8b[_0x41c395(0x3d1)];_0x5dd0a5<=_0x560a8b[_0x41c395(0x1a6)];_0x5dd0a5++)for(let _0x3e1509=_0x560a8b[_0x41c395(0x2c8)];_0x3e1509<=_0x560a8b[_0x41c395(0x1c4)];_0x3e1509++)_0x17f3a9['realDeleteValue'](_0x5dd0a5,_0x3e1509);});}_0x42f415&&((_0x5361eb=(_0x254593=this[_0x300436(0x3cf)][_0x300436(0x3cd)](_0x49cb76))==null?void 0x0:_0x254593[_0x300436(0x3cd)](_0x1642ad))==null||_0x5361eb[_0x300436(0x31b)](_0x1546a5)),this['_viewUpdate$'][_0x300436(0x3ce)]({'unitId':_0x49cb76,'subUnitId':_0x1642ad,'valueMatrix':_0x17f3a9,'pivotTableId':_0x1546a5,'rangesCache':void 0x0,'type':_0x1b6279[_0x300436(0x2b9)]}),this['_exclusiveRangeService'][_0x300436(0x3ca)](_0x49cb76,_0x1642ad,kt,_0x1546a5);}[_0x163919(0x288)](_0x5de452,_0xf71327,_0x5c8779){const _0x2e4b0a=_0x163919;var _0x32c586,_0x31923b,_0x1aa978,_0x186773,_0x1d0152,_0x8a280f;return this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x326)](_0x5de452)||this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x1df)](_0x5de452,new Map()),(_0x32c586=this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x3cd)](_0x5de452))!=null&&_0x32c586[_0x2e4b0a(0x326)](_0xf71327)||(_0x31923b=this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x3cd)](_0x5de452))==null||_0x31923b[_0x2e4b0a(0x1df)](_0xf71327,new Map()),(_0x186773=(_0x1aa978=this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x3cd)](_0x5de452))==null?void 0x0:_0x1aa978[_0x2e4b0a(0x3cd)](_0xf71327))!=null&&_0x186773[_0x2e4b0a(0x326)](_0x5c8779)||(_0x8a280f=(_0x1d0152=this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x3cd)](_0x5de452))==null?void 0x0:_0x1d0152[_0x2e4b0a(0x3cd)](_0xf71327))==null||_0x8a280f[_0x2e4b0a(0x1df)](_0x5c8779,{}),this[_0x2e4b0a(0x3cf)][_0x2e4b0a(0x3cd)](_0x5de452)[_0x2e4b0a(0x3cd)](_0xf71327)['get'](_0x5c8779);}['_ensurePivotItemRenderValueMatrixCache'](_0x4db0a2,_0x58e5a3){const _0x52469a=_0x163919;var _0x4dbc1b,_0x7cdc8d;return this['_pivotRenderValueMatrixCache'][_0x52469a(0x326)](_0x4db0a2)||this[_0x52469a(0x35d)][_0x52469a(0x1df)](_0x4db0a2,new Map()),(_0x4dbc1b=this['_pivotRenderValueMatrixCache'][_0x52469a(0x3cd)](_0x4db0a2))!=null&&_0x4dbc1b['has'](_0x58e5a3)||(_0x7cdc8d=this[_0x52469a(0x35d)][_0x52469a(0x3cd)](_0x4db0a2))==null||_0x7cdc8d[_0x52469a(0x1df)](_0x58e5a3,new _0x13addc()),this[_0x52469a(0x35d)][_0x52469a(0x3cd)](_0x4db0a2)['get'](_0x58e5a3);}[_0x163919(0x182)](_0x4df24e,_0x495a30,_0x26c6df,_0xb6453b){const _0x1e0855=_0x163919;var _0x2a331b,_0x3a03a0;const _0x3dd35f=(_0x3a03a0=(_0x2a331b=this[_0x1e0855(0x35d)][_0x1e0855(0x3cd)](_0x4df24e))==null?void 0x0:_0x2a331b[_0x1e0855(0x3cd)](_0x495a30))==null?void 0x0:_0x3a03a0[_0x1e0855(0x3d9)](_0x26c6df,_0xb6453b);if(_0x3dd35f!=null)return _0x3dd35f;}[_0x163919(0x23c)](_0x45fb15,_0x18581b,_0x18b35b,_0x5b8ea5){const _0x532013=_0x163919;var _0x2ae44f;const _0x424256=_0x33a9b5(_0x18b35b,_0x5b8ea5),_0x3dd78e=(_0x2ae44f=this[_0x532013(0x3cf)]['get'](_0x45fb15))==null?void 0x0:_0x2ae44f['get'](_0x18581b);return _0x3dd78e?Array[_0x532013(0x318)](_0x3dd78e[_0x532013(0x1c3)]())['find'](_0x4bec91=>{const _0x4c8e93=_0x532013,_0x3441e1=_0x3dd78e['get'](_0x4bec91),_0x18a5f8=_0x3441e1==null?void 0x0:_0x3441e1[_0x4c8e93(0x327)];return _0x18a5f8?Object['keys'](_0x18a5f8)[_0x4c8e93(0x257)](_0x38e657=>_0x18a5f8[_0x38e657][_0x4c8e93(0x257)](_0xa82bfe=>_0x5f15bf[_0x4c8e93(0x271)](_0xa82bfe,_0x424256))):!0x1;}):void 0x0;}[_0x163919(0x3a7)](_0x56826c,_0x25ffe6,_0x4ee877){const _0x21784c=_0x163919;var _0x1fa530;const _0x408189=(_0x1fa530=this[_0x21784c(0x3cf)]['get'](_0x56826c))==null?void 0x0:_0x1fa530[_0x21784c(0x3cd)](_0x25ffe6),_0x1a5d68=[];return _0x408189&&Array['from'](_0x408189[_0x21784c(0x1c3)]())['forEach'](_0x1b512f=>{const _0x5660f1=_0x21784c,_0x5511c6=_0x408189['get'](_0x1b512f),_0x33ce32=_0x5511c6==null?void 0x0:_0x5511c6['rangesInfo'];if(_0x33ce32)for(const _0x3fcdc1 of Object[_0x5660f1(0x201)](_0x33ce32)){let _0x2dc8c6=!0x1;for(const _0x48111c of _0x3fcdc1)if(_0x5f15bf[_0x5660f1(0x298)](_0x48111c,_0x4ee877)){_0x1a5d68[_0x5660f1(0x338)](_0x1b512f),_0x2dc8c6=!0x0;break;}if(_0x2dc8c6)break;}}),_0x1a5d68;}[_0x163919(0x214)](_0x2cf0ea,_0x1bfe57){const _0x5e83bb=_0x163919;var _0x360cf,_0x57e5bb;return(_0x57e5bb=(_0x360cf=this[_0x5e83bb(0x35d)][_0x5e83bb(0x3cd)](_0x2cf0ea))==null?void 0x0:_0x360cf[_0x5e83bb(0x3cd)](_0x1bfe57))!=null?_0x57e5bb:new _0x13addc();}[_0x163919(0x35a)](_0x3e7fac,_0xdd33e9){const _0x22092e=_0x163919;var _0xe18623;return(_0xe18623=this[_0x22092e(0x3cf)][_0x22092e(0x3cd)](_0x3e7fac))==null?void 0x0:_0xe18623['get'](_0xdd33e9);}[_0x163919(0x251)](_0x2d50e7,_0x844b00,_0x9a4c5c){const _0x499ad4=_0x163919;var _0x3f57b0,_0x12da19;return(_0x12da19=(_0x3f57b0=this[_0x499ad4(0x3cf)][_0x499ad4(0x3cd)](_0x2d50e7))==null?void 0x0:_0x3f57b0[_0x499ad4(0x3cd)](_0x844b00))==null?void 0x0:_0x12da19['get'](_0x9a4c5c);}['deleteUnitId'](_0x42e524){const _0x2546a8=_0x163919;this['_pivotRenderInfoCache'][_0x2546a8(0x31b)](_0x42e524),this[_0x2546a8(0x35d)][_0x2546a8(0x31b)](_0x42e524);}[_0x163919(0x2dd)](_0x49e944,_0x4c1c98){const _0x26ab94=_0x163919;this[_0x26ab94(0x2b7)][_0x26ab94(0x3ce)]({'unitId':_0x49e944,'subUnitId':_0x4c1c98});}};Ne=Yi([rt(0x0,_0x86a91c(_0x407a90)),rt(0x1,_0x86a91c(_0x207bcc)),rt(0x2,_0x86a91c(he)),rt(0x3,_0x86a91c(_0x544974)),rt(0x4,_0x86a91c(_0x4cd14b))],Ne);var zi=Object[_0x163919(0x1f0)],Xi=(_0x59953f,_0x3a46b7,_0x3faddd,_0x455e1d)=>{const _0x52e544=_0x163919;for(var _0x3aac77=_0x455e1d>0x1?void 0x0:_0x455e1d?zi(_0x3a46b7,_0x3faddd):_0x3a46b7,_0x4942ad=_0x59953f[_0x52e544(0x3cc)]-0x1,_0x261e5b;_0x4942ad>=0x0;_0x4942ad--)(_0x261e5b=_0x59953f[_0x4942ad])&&(_0x3aac77=_0x261e5b(_0x3aac77)||_0x3aac77);return _0x3aac77;},Mo=(_0x3e88ea,_0x22bb65)=>(_0x5a4901,_0x5466b5)=>_0x22bb65(_0x5a4901,_0x5466b5,_0x3e88ea);let ie=class extends _0x5647fd{constructor(_0x39eae8,_0x1b6aa3){const _0x536b90=_0x163919;super(),A(this,'asyncInterceptor',new _0x41d3c2({'PIVOT_PERFORM_CHECK':be})),A(this,_0x536b90(0x2a6),new _0x53f83a({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x536b90(0x197)]=_0x39eae8,this[_0x536b90(0x287)]=_0x1b6aa3,this[_0x536b90(0x378)]());}[_0x163919(0x378)](){const _0x9718f=_0x163919;this[_0x9718f(0x2de)]();}[_0x163919(0x16b)](_0x35cdeb){const _0x575dc1=_0x163919;return this[_0x575dc1(0x19b)][_0x575dc1(0x350)](be)(!0x1,_0x35cdeb);}[_0x163919(0x2de)](){const _0x362874=_0x163919;this[_0x362874(0x398)](this[_0x362874(0x197)][_0x362874(0x27c)](_0x5d8bff[_0x362874(0x1d1)],{'priority':0xc8,'effect':_0x23c0b6[_0x362874(0x276)]|_0x23c0b6[_0x362874(0x30a)],'handler':(_0x10c7e5,_0x5b6a4f,_0x2b011c)=>{const _0x56306a=_0x362874,{row:_0x1020a0,col:_0x35035c,unitId:_0x499bbc,subUnitId:_0x1dd1c6,workbook:_0x181879}=_0x5b6a4f,_0x27a798=this[_0x56306a(0x287)][_0x56306a(0x182)](_0x499bbc,_0x1dd1c6,_0x1020a0,_0x35035c);if(!_0x27a798)return _0x2b011c(_0x10c7e5);const _0x558273={..._0x10c7e5};(_0x27a798['v']||_0x27a798['v']===0x0)&&(_0x558273['v']=_0x27a798['v']),_0x27a798['t']&&(_0x558273['t']=_0x27a798['t']);const _0x490541=(typeof(_0x10c7e5==null?void 0x0:_0x10c7e5['s'])==_0x56306a(0x16d)?_0x181879['getStyles']()[_0x56306a(0x3cd)](_0x10c7e5==null?void 0x0:_0x10c7e5['s']):_0x10c7e5==null?void 0x0:_0x10c7e5['s'])||{},_0x3f16de=_0x181879[_0x56306a(0x382)]()[_0x56306a(0x3cd)](_0x27a798['s']),_0xa019c8={..._0x3f16de,..._0x490541};_0x3f16de!=null&&_0x3f16de['n']&&(_0xa019c8['n']=_0x3f16de['n']);const _0x40518c=_0x181879['getStyles']()[_0x56306a(0x3c0)](_0xa019c8);return _0x558273['s']=_0x40518c,(_0x27a798[_0x56306a(0x3a8)]===_0x2f42f4[_0x56306a(0x217)]||_0x27a798['pbt']===_0x2f42f4['Expand'])&&(_0x558273[_0x56306a(0x3b9)]={},_0x558273[_0x56306a(0x3b9)][_0x56306a(0x175)]=li),_0x2b011c(_0x558273);}}));}};ie=Xi([Mo(0x0,_0x86a91c(_0x2d7402)),Mo(0x1,_0x86a91c(Ne))],ie);function _0x17af(_0x1c0f75,_0x4e236d){const _0xc35acd=_0xc35a();return _0x17af=function(_0x17af2d,_0x203e59){_0x17af2d=_0x17af2d-0x165;let _0x126dc7=_0xc35acd[_0x17af2d];return _0x126dc7;},_0x17af(_0x1c0f75,_0x4e236d);}function Nt(_0x5b96b6,_0x4742aa){const _0x1ee515=_0x163919;switch(_0x4742aa){case _0x5658a3[_0x1ee515(0x276)]:return _0x5b96b6[_0x1ee515(0x23e)];case _0x5658a3[_0x1ee515(0x285)]:return _0x5b96b6[_0x1ee515(0x183)];case _0x5658a3[_0x1ee515(0x291)]:return _0x5b96b6[_0x1ee515(0x27b)];case _0x5658a3[_0x1ee515(0x255)]:return _0x5b96b6[_0x1ee515(0x2c0)];default:return[];}}function Ke(_0x525224,_0x1603a0){const _0x4a8b84=_0x163919;return _0x525224['measure'][_0x1603a0]||_0x525224[_0x4a8b84(0x359)][_0x1603a0];}function Qi(_0x211ff3,_0x4a2442){const _0x3a801a=_0x163919,{area:_0x1ed960,fieldJson:_0x4efedd,index:_0x3b4622}=_0x4a2442;_0x1ed960===_0x5658a3[_0x3a801a(0x276)]?_0x211ff3[_0x3a801a(0x2f8)][_0x4efedd['id']]=_0x4efedd:_0x211ff3[_0x3a801a(0x359)][_0x4efedd['id']]=_0x4efedd,Nt(_0x211ff3,_0x1ed960)[_0x3a801a(0x2e5)](_0x3b4622,0x0,_0x4efedd['id']);}function Zi(_0x48a587,_0x4cf2a6){const _0x1b0e86=_0x163919,{area:_0x56e31c,fieldId:_0x2816bc,index:_0xdd9b13}=_0x4cf2a6;_0x56e31c===_0x5658a3[_0x1b0e86(0x276)]?delete _0x48a587[_0x1b0e86(0x2f8)][_0x2816bc]:delete _0x48a587['dimension'][_0x2816bc],Nt(_0x48a587,_0x56e31c)[_0x1b0e86(0x2e5)](_0xdd9b13,0x1);}function es(_0x4c79d8,_0x1675bf){const _0x14c977=_0x163919,{fieldId:_0x310282,name:_0x9e3e82}=_0x1675bf,_0x1e8619=Ke(_0x4c79d8,_0x310282);_0x1e8619&&(_0x1e8619[_0x14c977(0x241)]=_0x9e3e82);}function ts(_0x46c22e,_0x36c316){const _0xad54f1=_0x163919,{fieldId:_0x5a29f8,collapse:_0x411031,item:_0xab49fc}=_0x36c316;_0xab49fc!==void 0x0?(_0x46c22e[_0xad54f1(0x1de)][_0x5a29f8]=_0x46c22e[_0xad54f1(0x1de)][_0x5a29f8]||{},_0x46c22e[_0xad54f1(0x1de)][_0x5a29f8][_0xab49fc]=_0x411031):_0x46c22e['collapseInfo'][_0x5a29f8]=_0x411031;}function os(_0x172ee7,_0x5ac4b0){const {fieldId:_0x366d53,format:_0x1ff4cc}=_0x5ac4b0,_0x55a81c=Ke(_0x172ee7,_0x366d53);_0x55a81c&&(_0x55a81c['format']=_0x1ff4cc);}function ns(_0x4f8635,_0x123901){const {fieldId:_0x249848,filterInfo:_0xbc83bc}=_0x123901,_0x54af07=Ke(_0x4f8635,_0x249848);_0x54af07&&(_0x54af07['filterInfo']=_0xbc83bc);}function is(_0x3cf8d3,_0x51b7c1){const _0x33dbca=_0x163919,{fieldId:_0x1007b7,filterInfo:_0xeaf237}=_0x51b7c1,_0x38f3f6=_0x3cf8d3[_0x33dbca(0x1e9)][_0x33dbca(0x180)](_0x29869b=>_0x29869b[_0x33dbca(0x34e)]!==_0x1007b7);_0xeaf237&&_0x38f3f6[_0x33dbca(0x338)]({'fieldId':_0x1007b7,'filterInfo':_0xeaf237}),_0x3cf8d3[_0x33dbca(0x1e9)]=_0x38f3f6;}function ss(_0x5bdd11,_0xe5c0ad){const {fieldId:_0x9050b4,subtotalType:_0x3d427c}=_0xe5c0ad,_0x3dc998=Ke(_0x5bdd11,_0x9050b4);_0x3dc998&&(_0x3dc998['subtotal']=_0x3d427c);}function as(_0x119e10,_0xe03390){const _0x16f5e2=_0x163919,{fieldId:_0x4f9c0f,oldArea:_0x28351e,area:_0x5c522d,oldIndex:_0x4671cf,index:_0x1df870}=_0xe03390,_0x33602f=_0x28351e!==_0x5658a3[_0x16f5e2(0x276)]&&_0x5c522d===_0x5658a3[_0x16f5e2(0x276)],_0x152029=_0x28351e===_0x5658a3['Value']&&_0x5c522d!==_0x5658a3[_0x16f5e2(0x276)];if(_0x33602f||_0x152029){const _0x4f4547=Ke(_0x119e10,_0x4f9c0f);_0x4f4547&&(_0x33602f?(delete _0x119e10['dimension'][_0x4f9c0f],_0x119e10[_0x16f5e2(0x2f8)][_0x4f9c0f]=_0x4f4547):(delete _0x119e10[_0x16f5e2(0x2f8)][_0x4f9c0f],_0x119e10[_0x16f5e2(0x359)][_0x4f9c0f]=_0x4f4547));}const _0x37cd32=Nt(_0x119e10,_0x28351e),_0x313b17=Nt(_0x119e10,_0x5c522d);_0x37cd32[_0x16f5e2(0x2e5)](_0x4671cf,0x1),_0x313b17[_0x16f5e2(0x2e5)](_0x1df870,0x0,_0x4f9c0f);}function rs(_0x2c3b65,_0x408abd){const _0x45c0ce=_0x163919,{valuePosition:_0x2d707d,index:_0xf54fb3}=_0x408abd;_0x2c3b65[_0x45c0ce(0x27f)]=_0x2d707d,_0x2c3b65[_0x45c0ce(0x224)]=_0xf54fb3;}function ls(_0x1838cc,_0x37d895){const _0x5ee3e3=_0x163919,{tableFieldId:_0x3d19d6,sourceName:_0x68a47d,dataFieldId:_0x25a4d6}=_0x37d895,_0x1c918c=Ke(_0x1838cc,_0x3d19d6);_0x1c918c&&(_0x1c918c[_0x5ee3e3(0x371)]=_0x68a47d,_0x1c918c[_0x5ee3e3(0x26d)]=_0x25a4d6);}function cs(_0x43a1c6,_0x3ef120){const {fieldId:_0x2e61e6,sortInfo:_0x8b2c43}=_0x3ef120,_0x40a2ab=Ke(_0x43a1c6,_0x2e61e6);_0x40a2ab&&(_0x40a2ab['sortInfo']=_0x8b2c43);}function ds(_0x5b13d0,_0x3f3f06){const _0x35acc0=_0x163919,{options:_0x56c2a5}=_0x3f3f06;_0x5b13d0[_0x35acc0(0x386)]={..._0x5b13d0[_0x35acc0(0x386)],..._0x56c2a5};}const $t={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x25b),'handler'(_0x14ded8,_0x5d7d1e){const _0x303f46=_0x163919;if(!_0x5d7d1e)return!0x1;if(!!_0x14ded8[_0x303f46(0x3cd)](_0x197f4e)[_0x303f46(0x22c)](q))return!0x0;const _0x47d214=_0x14ded8[_0x303f46(0x3cd)]($),{pivotTableId:_0x343c07,fieldJson:_0x224a98,area:_0x17b741,index:_0x151039,unitId:_0x323407,subUnitId:_0x230a98}=_0x5d7d1e,_0x517710=_0x47d214[_0x303f46(0x1d3)](_0x343c07);if(!_0x517710)return!0x1;let _0x2176f4;_0x17b741===_0x5658a3['Value']?_0x2176f4=_0x1f9cfd(_0x224a98):_0x2176f4=_0x22f57f(_0x224a98),_0x517710[_0x303f46(0x3e4)](_0x2176f4,_0x17b741,_0x151039);const _0x2a6cab=_0x47d214[_0x303f46(0x3d4)](_0x323407,_0x230a98,_0x343c07);Qi(_0x2a6cab,_0x5d7d1e);const _0xfc1e3c=_0x47d214[_0x303f46(0x38a)](_0x323407,_0x230a98,_0x343c07);return _0x47d214[_0x303f46(0x2e8)]({'unitId':_0x323407,'subUnitId':_0x230a98,'token':_0x343c07,'type':L['Set'],'pivotConfig':_0xfc1e3c}),!0x0;}},Kt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x3e6),'handler'(_0x5b55c0,_0x240070){const _0x5bb862=_0x163919;if(!_0x240070)return!0x1;if(!!_0x5b55c0['get'](_0x197f4e)['getConfig'](q))return!0x0;const _0x403c1c=_0x5b55c0['get']($),{pivotTableId:_0x3b3677,fieldId:_0xeb287d,unitId:_0x1eb62d,subUnitId:_0x4f9cf2}=_0x240070,_0x2c38a0=_0x403c1c['getPivotTableInstance'](_0x3b3677);if(!_0x2c38a0)return!0x1;_0x2c38a0[_0x5bb862(0x31c)](_0xeb287d);const _0x1a9408=_0x403c1c[_0x5bb862(0x3d4)](_0x1eb62d,_0x4f9cf2,_0x3b3677);Zi(_0x1a9408,_0x240070);const _0x5540d6=_0x403c1c[_0x5bb862(0x38a)](_0x1eb62d,_0x4f9cf2,_0x3b3677);return _0x403c1c[_0x5bb862(0x2e8)]({'unitId':_0x1eb62d,'subUnitId':_0x4f9cf2,'token':_0x3b3677,'type':L['Set'],'pivotConfig':_0x5540d6}),!0x0;}},jt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x393),'handler'(_0x2bc305,_0x1ea826){const _0x55b381=_0x163919;if(!_0x1ea826)return!0x1;if(!!_0x2bc305['get'](_0x197f4e)[_0x55b381(0x22c)](q))return!0x0;const _0x15e5ef=_0x2bc305[_0x55b381(0x3cd)]($),{unitId:_0x4c0316,subUnitId:_0x4bcd26,pivotTableId:_0x13fc90,fieldId:_0x3153f1,name:_0x46506f}=_0x1ea826,_0x50c0f9=_0x15e5ef[_0x55b381(0x1d3)](_0x13fc90);if(!_0x50c0f9)return!0x1;_0x50c0f9[_0x55b381(0x16f)](_0x3153f1,_0x46506f);const _0x1e3a0c=_0x15e5ef[_0x55b381(0x3d4)](_0x4c0316,_0x4bcd26,_0x13fc90);return es(_0x1e3a0c,_0x1ea826),_0x15e5ef[_0x55b381(0x2e8)]({'unitId':_0x4c0316,'subUnitId':_0x4bcd26,'token':_0x13fc90,'type':L['Set']}),!0x0;}},Wt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x3b6),'handler'(_0x41b48e,_0x2cbeb0){const _0x5cf026=_0x163919;if(!_0x2cbeb0)return!0x1;if(!!_0x41b48e['get'](_0x197f4e)[_0x5cf026(0x22c)](q))return!0x0;const _0xcdcaba=_0x41b48e[_0x5cf026(0x3cd)]($),{unitId:_0x2eb94f,subUnitId:_0x2ebb41,pivotTableId:_0x304dc1,fieldId:_0x419777,collapse:_0x52abc8,item:_0x17b19f}=_0x2cbeb0,_0x1e3df6=_0xcdcaba[_0x5cf026(0x1d3)](_0x304dc1);if(!_0x1e3df6)return!0x1;_0x1e3df6['setCollapse'](_0x419777,_0x52abc8,_0x17b19f);const _0x562d2b=_0xcdcaba[_0x5cf026(0x3d4)](_0x2eb94f,_0x2ebb41,_0x304dc1);return ts(_0x562d2b,_0x2cbeb0),_0xcdcaba[_0x5cf026(0x2e8)]({'unitId':_0x2eb94f,'subUnitId':_0x2ebb41,'token':_0x304dc1,'type':L[_0x5cf026(0x23f)]}),!0x0;}},Gt={'type':_0x560711[_0x163919(0x208)],'id':'sheet.mutation.set-pivot-format','handler'(_0x5b8068,_0x5b9123){const _0x9bc7de=_0x163919;if(!_0x5b9123)return!0x1;if(!!_0x5b8068[_0x9bc7de(0x3cd)](_0x197f4e)[_0x9bc7de(0x22c)](q))return!0x0;const _0x4747fc=_0x5b8068[_0x9bc7de(0x3cd)]($),{unitId:_0x3b6b46,subUnitId:_0x56759a,pivotTableId:_0x5ecb7e,fieldId:_0x2fcf77,format:_0x47d910}=_0x5b9123,_0x10dbcc=_0x4747fc[_0x9bc7de(0x1d3)](_0x5ecb7e);if(!_0x10dbcc)return!0x1;_0x10dbcc[_0x9bc7de(0x1da)](_0x2fcf77,_0x47d910);const _0x193ccb=_0x4747fc[_0x9bc7de(0x3d4)](_0x3b6b46,_0x56759a,_0x5ecb7e);return os(_0x193ccb,_0x5b9123),_0x4747fc['addDirtyPivotTable']({'unitId':_0x3b6b46,'subUnitId':_0x56759a,'token':_0x5ecb7e,'type':L[_0x9bc7de(0x23f)]}),!0x0;}},Ht={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x3d7),'handler'(_0x45808b,_0x7fc26b){const _0x5f3843=_0x163919;if(!_0x7fc26b)return!0x1;if(!!_0x45808b[_0x5f3843(0x3cd)](_0x197f4e)['getConfig'](q))return!0x0;const _0x1f415e=_0x45808b[_0x5f3843(0x3cd)]($),{unitId:_0x52b738,subUnitId:_0x3ade26,pivotTableId:_0xb50004,fieldId:_0x381b26,filterInfo:_0x2311d6}=_0x7fc26b,_0x39808e=_0x1f415e[_0x5f3843(0x1d3)](_0xb50004);if(!_0x39808e)return!0x1;_0x39808e[_0x5f3843(0x361)](_0x381b26,_0x2311d6);const _0x45e38d=_0x1f415e[_0x5f3843(0x3d4)](_0x52b738,_0x3ade26,_0xb50004);return ns(_0x45e38d,_0x7fc26b),_0x1f415e[_0x5f3843(0x2e8)]({'unitId':_0x52b738,'subUnitId':_0x3ade26,'token':_0xb50004,'type':L[_0x5f3843(0x23f)]}),!0x0;}},qt={'type':_0x560711[_0x163919(0x208)],'id':'sheet.mutation.set-pivot-option','handler'(_0x3a7438,_0x3800f7){const _0x1e98f9=_0x163919;if(!_0x3800f7)return!0x1;if(!!_0x3a7438[_0x1e98f9(0x3cd)](_0x197f4e)[_0x1e98f9(0x22c)](q))return!0x0;const _0x23a7a4=_0x3a7438[_0x1e98f9(0x3cd)]($),{unitId:_0x4e2123,subUnitId:_0x356df6,pivotTableId:_0x6a0b60,options:_0x1dd528}=_0x3800f7,_0x5c1b1b=_0x23a7a4['getPivotTableInstance'](_0x6a0b60);if(!_0x5c1b1b)return!0x1;_0x5c1b1b[_0x1e98f9(0x38e)](_0x1dd528);const _0x525aa3=_0x23a7a4[_0x1e98f9(0x3d4)](_0x4e2123,_0x356df6,_0x6a0b60);return ds(_0x525aa3,_0x3800f7),_0x23a7a4['addDirtyPivotTable']({'unitId':_0x4e2123,'subUnitId':_0x356df6,'token':_0x6a0b60,'type':L['Set']}),!0x0;}},Yt={'type':_0x560711['MUTATION'],'id':_0x163919(0x39d),'handler'(_0xfced50,_0x4f4db4){const _0x53c307=_0x163919;if(!_0x4f4db4)return!0x1;if(!!_0xfced50[_0x53c307(0x3cd)](_0x197f4e)[_0x53c307(0x22c)](q))return!0x0;const _0x79b6f=_0xfced50[_0x53c307(0x3cd)]($),{unitId:_0x3b5999,subUnitId:_0x4578b5,pivotTableId:_0x489193,sortInfo:_0x353f9f,fieldId:_0xb47037}=_0x4f4db4,_0x547566=_0x79b6f[_0x53c307(0x1d3)](_0x489193);if(!_0x547566)return!0x1;_0x547566[_0x53c307(0x3a0)](_0xb47037,_0x353f9f);const _0x12c176=_0x79b6f[_0x53c307(0x3d4)](_0x3b5999,_0x4578b5,_0x489193);return cs(_0x12c176,_0x4f4db4),_0x79b6f[_0x53c307(0x2e8)]({'unitId':_0x3b5999,'subUnitId':_0x4578b5,'token':_0x489193,'type':L[_0x53c307(0x23f)]}),!0x0;}},zt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x2d3),'handler'(_0x358b1a,_0x213a31){const _0x4622d9=_0x163919;if(!_0x213a31)return!0x1;if(!!_0x358b1a['get'](_0x197f4e)[_0x4622d9(0x22c)](q))return!0x0;const _0x418d39=_0x358b1a[_0x4622d9(0x3cd)]($),{unitId:_0x2f866b,subUnitId:_0x1f47ca,pivotTableId:_0x50183f,fieldId:_0x533d9b,subtotalType:_0x32c64f}=_0x213a31,_0x5853bc=_0x418d39[_0x4622d9(0x1d3)](_0x50183f);if(!_0x5853bc)return!0x1;_0x5853bc[_0x4622d9(0x1ef)](_0x533d9b,_0x32c64f);const _0x8ac317=_0x418d39[_0x4622d9(0x3d4)](_0x2f866b,_0x1f47ca,_0x50183f);return ss(_0x8ac317,_0x213a31),_0x418d39['addDirtyPivotTable']({'unitId':_0x2f866b,'subUnitId':_0x1f47ca,'token':_0x50183f,'type':L['Set']}),!0x0;}},Xt={'type':_0x560711['MUTATION'],'id':_0x163919(0x256),'handler'(_0x2668ef,_0x5963f5){const _0x21a862=_0x163919;if(!_0x5963f5)return!0x1;if(!!_0x2668ef[_0x21a862(0x3cd)](_0x197f4e)['getConfig'](q))return!0x0;const _0x214736=_0x2668ef[_0x21a862(0x3cd)]($),{unitId:_0x1d4571,subUnitId:_0x1fb59f,pivotTableId:_0x3c8405,fieldId:_0x83bdfa,filterInfo:_0x2826ec}=_0x5963f5,_0x2576b4=_0x214736['getPivotTableInstance'](_0x3c8405);if(!_0x2576b4)return!0x1;_0x2576b4['setValueFilterInfo'](_0x83bdfa,_0x2826ec);const _0x4bbca5=_0x214736[_0x21a862(0x3d4)](_0x1d4571,_0x1fb59f,_0x3c8405);return is(_0x4bbca5,_0x5963f5),_0x214736[_0x21a862(0x2e8)]({'unitId':_0x1d4571,'subUnitId':_0x1fb59f,'token':_0x3c8405,'type':L[_0x21a862(0x23f)]}),!0x0;}},Qt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x293),'handler'(_0x47dc69,_0x500526){const _0xb90743=_0x163919;if(!_0x500526)return!0x1;if(!!_0x47dc69['get'](_0x197f4e)[_0xb90743(0x22c)](q))return!0x0;const _0x2ebaa5=_0x47dc69[_0xb90743(0x3cd)]($),{unitId:_0x590fd,subUnitId:_0x52343c,pivotTableId:_0x26b755,area:_0x59f57b,index:_0x2dcdc2,fieldId:_0xfab746}=_0x500526,_0x25bd39=_0x2ebaa5[_0xb90743(0x1d3)](_0x26b755);if(!_0x25bd39)return!0x1;_0x25bd39[_0xb90743(0x364)](_0xfab746,_0x59f57b,_0x2dcdc2);const _0x1d10fa=_0x2ebaa5['getPivotTableModelConfig'](_0x590fd,_0x52343c,_0x26b755);return as(_0x1d10fa,_0x500526),_0x2ebaa5[_0xb90743(0x2e8)]({'unitId':_0x590fd,'subUnitId':_0x52343c,'token':_0x26b755,'type':L[_0xb90743(0x23f)]}),!0x0;}},Zt={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x21f),'handler'(_0x1f2fe2,_0x30124a){const _0x14f22e=_0x163919;if(!_0x30124a)return!0x1;if(!!_0x1f2fe2[_0x14f22e(0x3cd)](_0x197f4e)[_0x14f22e(0x22c)](q))return!0x0;const _0x5eed4e=_0x1f2fe2[_0x14f22e(0x3cd)]($),{unitId:_0x2e0130,subUnitId:_0x376071,pivotTableId:_0x4e223e,sourceName:_0xad648d,dataFieldId:_0x12fb02,tableFieldId:_0xcae995}=_0x30124a,_0x36c9f4=_0x5eed4e[_0x14f22e(0x1d3)](_0x4e223e);if(!_0x36c9f4)return!0x1;_0x36c9f4['updateFieldSourceInfo'](_0xcae995,_0xad648d,_0x12fb02);const _0x4a0ba7=_0x5eed4e['getPivotTableModelConfig'](_0x2e0130,_0x376071,_0x4e223e);return ls(_0x4a0ba7,_0x30124a),_0x5eed4e[_0x14f22e(0x2e8)]({'unitId':_0x2e0130,'subUnitId':_0x376071,'token':_0x4e223e,'type':L[_0x14f22e(0x23f)]}),!0x0;}},eo={'type':_0x560711[_0x163919(0x208)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x50366d,_0x4b2250){const _0x13210b=_0x163919;if(!_0x4b2250)return!0x1;if(!!_0x50366d[_0x13210b(0x3cd)](_0x197f4e)[_0x13210b(0x22c)](q))return!0x0;const _0xd1205d=_0x50366d['get']($),{unitId:_0x23571b,subUnitId:_0x5ea5b5,pivotTableId:_0x5ab9e0,valuePosition:_0x41e72e,index:_0x184dd9}=_0x4b2250,_0x1fda49=_0xd1205d[_0x13210b(0x1d3)](_0x5ab9e0);if(!_0x1fda49)return!0x1;_0x1fda49[_0x13210b(0x3c9)](_0x41e72e,_0x184dd9);const _0x30c536=_0xd1205d[_0x13210b(0x3d4)](_0x23571b,_0x5ea5b5,_0x5ab9e0);return rs(_0x30c536,_0x4b2250),_0xd1205d[_0x13210b(0x2e8)]({'unitId':_0x23571b,'subUnitId':_0x5ea5b5,'token':_0x5ab9e0,'type':L[_0x13210b(0x23f)]}),!0x0;}};function me(_0x2a294d,_0x2db5f4,_0x449e83){const _0x469f0f=_0x163919,{pivotTableId:_0x1b0da3,unitId:_0x205575,subUnitId:_0x23edb2}=_0x2db5f4,_0x27e370=[],_0x50e735=[];for(const _0x2d2745 of _0x449e83)switch(_0x2d2745[_0x469f0f(0x2b9)]){case _0x1346fe['AddField']:{const {fieldJson:_0x4d0f7c,area:_0x3d755b,index:_0xed711e}=_0x2d2745,_0x174792={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldJson':_0x4d0f7c,'area':_0x3d755b,'index':_0xed711e},_0x121f2f={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x4d0f7c['id'],'area':_0x3d755b,'index':_0xed711e};_0x27e370[_0x469f0f(0x338)]({'id':$t['id'],'params':_0x174792}),_0x50e735['unshift']({'id':Kt['id'],'params':_0x121f2f});}break;case _0x1346fe[_0x469f0f(0x384)]:{const {fieldId:_0x56476d,newSubtotalType:_0x150e42,oldSubtotalType:_0xfe63d}=_0x2d2745,_0x1976fd={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x56476d,'subtotalType':_0x150e42};_0x27e370[_0x469f0f(0x338)]({'id':zt['id'],'params':_0x1976fd});const _0x2df321={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x56476d,'subtotalType':_0xfe63d};_0x50e735[_0x469f0f(0x391)]({'id':zt['id'],'params':_0x2df321});}break;case _0x1346fe[_0x469f0f(0x2b4)]:{const {fieldId:_0x569639,fieldJson:_0x516fe0,area:_0x47ee35,index:_0x1af7fa}=_0x2d2745,_0x23edc7={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x569639,'index':_0x1af7fa,'area':_0x47ee35};_0x27e370['push']({'id':Kt['id'],'params':_0x23edc7});const _0x39943b={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldJson':_0x516fe0,'area':_0x47ee35,'index':_0x1af7fa};_0x50e735['unshift']({'id':$t['id'],'params':_0x39943b});}break;case _0x1346fe['RenameField']:{const {fieldId:_0x2be730,oldName:_0x3dd6ee,newName:_0x39398d}=_0x2d2745,_0x4d1d6e={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x2be730,'name':_0x39398d};_0x27e370[_0x469f0f(0x338)]({'id':jt['id'],'params':_0x4d1d6e});const _0x1acc1f={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x2be730,'name':_0x3dd6ee};_0x50e735[_0x469f0f(0x391)]({'id':jt['id'],'params':_0x1acc1f});}break;case _0x1346fe[_0x469f0f(0x3aa)]:{const {fieldId:_0x2324d7,oldFilterInfo:_0x217ac1,newFilterInfo:_0x1d967a}=_0x2d2745,_0x4ab349={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x2324d7,'filterInfo':_0x1d967a};_0x27e370[_0x469f0f(0x338)]({'id':Ht['id'],'params':_0x4ab349});const _0x3244a0={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x2324d7,'filterInfo':_0x217ac1};_0x50e735[_0x469f0f(0x391)]({'id':Ht['id'],'params':_0x3244a0});}break;case _0x1346fe['SetSortInfo']:{const {fieldId:_0xbef452,oldSortInfo:_0x3c77bc,newSortInfo:_0x59b912}=_0x2d2745,_0x50436e={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0xbef452,'sortInfo':_0x59b912};_0x27e370[_0x469f0f(0x338)]({'id':Yt['id'],'params':_0x50436e});const _0x4d577c={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0xbef452,'sortInfo':_0x3c77bc};_0x50e735['unshift']({'id':Yt['id'],'params':_0x4d577c});}break;case _0x1346fe[_0x469f0f(0x1a1)]:{const {oldOptions:_0xb56aae,newOptions:_0x30163b}=_0x2d2745,_0x36b377={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'options':_0x30163b};_0x27e370['push']({'id':qt['id'],'params':_0x36b377});const _0x574e08={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'options':_0xb56aae};_0x50e735[_0x469f0f(0x391)]({'id':qt['id'],'params':_0x574e08});}break;case _0x1346fe[_0x469f0f(0x21b)]:{const {oldArea:_0x14c945,newArea:_0x3ea17c,oldIndex:_0x5ce1e4,newIndex:_0x17c952,fieldId:_0x598cb9}=_0x2d2745,_0x3c23a0={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x598cb9,'area':_0x3ea17c,'index':_0x17c952,'oldArea':_0x14c945,'oldIndex':_0x5ce1e4};_0x27e370[_0x469f0f(0x338)]({'id':Qt['id'],'params':_0x3c23a0});const _0xf1963={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x598cb9,'area':_0x14c945,'index':_0x5ce1e4,'oldArea':_0x3ea17c,'oldIndex':_0x17c952};_0x50e735[_0x469f0f(0x391)]({'id':Qt['id'],'params':_0xf1963});}break;case _0x1346fe[_0x469f0f(0x296)]:{const {oldValuePosition:_0x1ea166,newValuePosition:_0x10fec1,oldIndex:_0x21aa8c,newIndex:_0x5a6ef6}=_0x2d2745,_0x2dbc42={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'valuePosition':_0x10fec1,'index':_0x5a6ef6};_0x27e370[_0x469f0f(0x338)]({'id':eo['id'],'params':_0x2dbc42});const _0x1a9116={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'valuePosition':_0x1ea166,'index':_0x21aa8c};_0x50e735[_0x469f0f(0x391)]({'id':eo['id'],'params':_0x1a9116});}break;case _0x1346fe[_0x469f0f(0x395)]:{const {fieldId:_0x232f6f,collapse:_0x32d26a,item:_0x40a2de}=_0x2d2745,_0x17e2af={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x232f6f,'collapse':_0x32d26a,'item':_0x40a2de};_0x27e370[_0x469f0f(0x338)]({'id':Wt['id'],'params':_0x17e2af});const _0x22a656={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x232f6f,'collapse':!_0x32d26a,'item':_0x40a2de};_0x50e735[_0x469f0f(0x391)]({'id':Wt['id'],'params':_0x22a656});}break;case _0x1346fe[_0x469f0f(0x21a)]:{const {newFormat:_0x45e3ad,oldFormat:_0x730a81,fieldId:_0x211575}=_0x2d2745,_0x146b77={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x211575,'format':_0x45e3ad};_0x27e370['push']({'id':Gt['id'],'params':_0x146b77});const _0x20ea04={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x211575,'format':_0x730a81};_0x50e735['unshift']({'id':Gt['id'],'params':_0x20ea04});}break;case _0x1346fe[_0x469f0f(0x24f)]:{const {tableFieldId:_0x314887,oldSourceName:_0x43bbd2,newSourceName:_0x16affc,oldDataFieldId:_0x578045,newDataFieldId:_0x4577a7}=_0x2d2745,_0x11afee={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'tableFieldId':_0x314887,'sourceName':_0x16affc,'dataFieldId':_0x4577a7};_0x27e370[_0x469f0f(0x338)]({'id':Zt['id'],'params':_0x11afee});const _0x213749={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'tableFieldId':_0x314887,'sourceName':_0x43bbd2,'dataFieldId':_0x578045};_0x50e735[_0x469f0f(0x391)]({'id':Zt['id'],'params':_0x213749});}break;case _0x1346fe['SetValueFilter']:{const {fieldId:_0x37a79b,filterInfo:_0x2f305e,oldFilterInfo:_0x31ac76}=_0x2d2745,_0x259bd2={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x37a79b,'filterInfo':_0x2f305e};_0x27e370[_0x469f0f(0x338)]({'id':Xt['id'],'params':_0x259bd2});const _0x50bc8a={'unitId':_0x205575,'subUnitId':_0x23edb2,'pivotTableId':_0x1b0da3,'fieldId':_0x37a79b,'filterInfo':_0x31ac76};_0x50e735[_0x469f0f(0x391)]({'id':Xt['id'],'params':_0x50bc8a});}}return{'redos':_0x27e370,'undos':_0x50e735};}function _e(_0x1ef1b6,_0x275538){const _0x549fa6=_0x163919;var _0x387774;const _0x39b744=_0x1ef1b6[_0x549fa6(0x3cd)](ie),{cellInfo:_0xc2734d,view:_0x6f4642,isEmpty:_0xd2b3ce}=_0x275538;return(_0x387774=_0x39b744[_0x549fa6(0x2a6)][_0x549fa6(0x31a)]($o)(Po,{'cellInfo':_0xc2734d,'view':_0x6f4642,'isEmpty':_0xd2b3ce}))!=null?_0x387774:Po;}const us=()=>typeof process<'u'&&process[_0x163919(0x3b3)]!=null&&process[_0x163919(0x3b3)][_0x163919(0x353)]!=null,Ct={'type':_0x560711[_0x163919(0x208)],'id':'sheet.mutation.add-pivot-table','handler'(_0x52722e,_0x166450){const _0x4c269d=_0x163919;var _0x3cfdc1;if(!_0x166450)return!0x1;const _0x280bf3=_0x52722e['get'](_0x197f4e);if(!!_0x280bf3['getConfig'](q))return!0x0;const _0x116d3c=_0x52722e[_0x4c269d(0x3cd)](_0x544974),_0x4310ee=_0x52722e[_0x4c269d(0x3cd)]($),{pivotTableId:_0x1c93f3,pivotTableConfig:_0x347b6f,collectionConfig:_0x3ad192,unitId:_0x5a4116,subUnitId:_0x200f41}=_0x166450,{sourceRangeInfo:_0xe2606e,fieldsConfig:_0x4fa2d3,targetCellInfo:_0x2ffca8}=_0x347b6f,_0x559be7=_0x116d3c[_0x4c269d(0x2e3)](_0x5a4116);if(!_0x559be7||!_0x559be7[_0x4c269d(0x25e)](_0x200f41))return!0x1;if(!us()){let _0x52c359=0x0;_0x559be7[_0x4c269d(0x329)]()['forEach'](_0x22fd90=>{const _0x5c2670=_0x4c269d;var _0x50eac9,_0x417a49;_0x52c359+=(_0x417a49=(_0x50eac9=_0x4310ee['getSubUnitPivotConfigs'](_0x5a4116,_0x22fd90[_0x5c2670(0x37d)]()))==null?void 0x0:_0x50eac9[_0x5c2670(0x2da)])!=null?_0x417a49:0x0;});const _0x5da764=(_0x3cfdc1=_0x280bf3[_0x4c269d(0x22c)](_0x328693))!=null?_0x3cfdc1:{},{ls:_0x21f297,pbk:_0x35ff38}=_0x5da764;if(!Go(_0x21f297,_0x35ff38))throw new _0x3ed4eb(_0x4c269d(0x2a0));const _0x5bec4a=go(so,_0x21f297,_0x35ff38)[_0x4c269d(0x372)];if(_0x52c359>=_0x5bec4a)throw new _0x3ed4eb(_0x4c269d(0x2a0));}if(!_0x3ad192||!_0x4fa2d3)return!0x1;const {collection:_0x192652,updateDataFieldList:_0x171fa6}=_0x4310ee['addCollectionByJSON'](_0x1c93f3,_0x3ad192,_0xe2606e,_0x2ffca8);_0x4310ee[_0x4c269d(0x2bc)](_0x192652,_0x171fa6,_0xe2606e);const _0x22f329=new _0x22acd5(_0x192652,void 0x0,_0x1c93f3);_0x22f329[_0x4c269d(0x1f4)](_0x4fa2d3);const _0x4a2310=JSON[_0x4c269d(0x34b)](JSON[_0x4c269d(0x35b)](_0x347b6f));return _0x4310ee[_0x4c269d(0x305)](_0x5a4116,_0x200f41,_0x1c93f3,_0x22f329,_0x4a2310),_0x4310ee[_0x4c269d(0x2e8)]({'unitId':_0x5a4116,'subUnitId':_0x200f41,'token':_0x1c93f3,'type':L[_0x4c269d(0x39e)],'pivotConfig':_0x4a2310}),!0x0;}},Vt={'type':_0x560711[_0x163919(0x208)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x227c11,_0x55462b){const _0x14f14d=_0x163919;if(!_0x55462b)return!0x1;if(!!_0x227c11[_0x14f14d(0x3cd)](_0x197f4e)[_0x14f14d(0x22c)](q))return!0x0;const {pivotTableId:_0x244460,unitId:_0xd5adc4,subUnitId:_0x27a9b3}=_0x55462b,_0xa04366=_0x227c11[_0x14f14d(0x3cd)]($);return _0xa04366[_0x14f14d(0x38a)](_0xd5adc4,_0x27a9b3,_0x244460)?(_0xa04366['addDirtyPivotTable']({'unitId':_0xd5adc4,'subUnitId':_0x27a9b3,'token':_0x244460,'type':L[_0x14f14d(0x38b)]}),_0xa04366[_0x14f14d(0x18e)](_0xd5adc4,_0x27a9b3,_0x244460),!0x0):!0x1;}},pt={'type':_0x560711['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x33a806,_0x13c639){const _0x14d926=_0x163919;if(!_0x13c639)return!0x1;if(!!_0x33a806['get'](_0x197f4e)[_0x14d926(0x22c)](q))return!0x0;const {pivotTableId:_0xe32464,targetCellPosition:_0x4eb846,unitId:_0x34d366,subUnitId:_0x41f1c5}=_0x13c639,_0x5d8769=_0x33a806['get']($);if(!_0x5d8769[_0x14d926(0x1d3)](_0x13c639[_0x14d926(0x193)]))return!0x1;const _0x3bac6b=_0x5d8769[_0x14d926(0x387)](_0xe32464);if(!_0x3bac6b)return!0x1;const _0x3560fa=_0x5d8769['getCollection'](_0x3bac6b[_0x14d926(0x196)],_0x13c639['pivotTableId']);if(!_0x3560fa)return!0x1;const _0x35bc49=_0x5d8769['getPivotTableConfig'](_0x3bac6b[_0x14d926(0x196)],_0x3bac6b['subUnitId'],_0xe32464);if(!_0x35bc49)return!0x1;const _0x3e5cb4=_0xe68987[_0x14d926(0x36d)](_0x35bc49);_0x3e5cb4[_0x14d926(0x33e)]={'unitId':_0x34d366,'subUnitId':_0x41f1c5,'row':_0x4eb846[_0x14d926(0x2ea)],'col':_0x4eb846[_0x14d926(0x37f)]};const _0x226fb5=_0x3560fa[_0x14d926(0x37b)]();if(_0x3bac6b[_0x14d926(0x3af)]===_0x41f1c5&&_0x3bac6b[_0x14d926(0x196)]===_0x34d366)_0x5d8769[_0x14d926(0x3d0)](_0x34d366,_0x41f1c5,_0xe32464,_0x3e5cb4),_0x5d8769['addDirtyPivotTable']({'unitId':_0x34d366,'subUnitId':_0x41f1c5,'token':_0xe32464,'type':L['Set']});else{_0x5d8769['addDirtyPivotTable']({'unitId':_0x3bac6b[_0x14d926(0x196)],'subUnitId':_0x3bac6b[_0x14d926(0x3af)],'token':_0xe32464,'type':L[_0x14d926(0x38b)]}),_0x5d8769[_0x14d926(0x18e)](_0x3bac6b[_0x14d926(0x196)],_0x3bac6b[_0x14d926(0x3af)],_0xe32464);const _0x9e71a3=_0x5d8769[_0x14d926(0x1b1)](_0xe32464,_0x226fb5,_0x35bc49[_0x14d926(0x2d8)],_0x3e5cb4[_0x14d926(0x33e)]),_0x10e0a1=new _0x22acd5(_0x9e71a3['collection'],void 0x0,_0xe32464);_0x10e0a1['fromJSON'](_0x3e5cb4['fieldsConfig']),_0x5d8769[_0x14d926(0x305)](_0x34d366,_0x41f1c5,_0xe32464,_0x10e0a1,_0x3e5cb4),_0x5d8769[_0x14d926(0x2e8)]({'unitId':_0x34d366,'subUnitId':_0x41f1c5,'token':_0xe32464,'type':L[_0x14d926(0x39e)],'pivotConfig':_0x3e5cb4});}return!0x0;}},to={'type':_0x560711[_0x163919(0x208)],'id':_0x163919(0x29b),'handler'(_0x4f7ad9,_0x355178){const _0x4d2870=_0x163919;if(!_0x355178)return!0x1;if(!!_0x4f7ad9['get'](_0x197f4e)[_0x4d2870(0x22c)](q))return!0x0;const _0x5ed66c=_0x4f7ad9[_0x4d2870(0x3cd)]($),{pivotTableId:_0x3affa3,deleteIds:_0x31aed8,collectionJSON:_0x321ae9,dataRangeInfo:_0x1f0aee,unitId:_0x31820b,subUnitId:_0x15827d}=_0x355178,_0x220820=_0x5ed66c[_0x4d2870(0x1d3)](_0x3affa3),_0x10b13a=_0x5ed66c[_0x4d2870(0x38a)](_0x31820b,_0x15827d,_0x3affa3);if(!_0x220820||!_0x10b13a)return!0x1;const {collection:_0xa551f1,updateDataFieldList:_0x157731}=_0x5ed66c[_0x4d2870(0x1b1)](_0x3affa3,_0x321ae9,_0x1f0aee,_0x10b13a[_0x4d2870(0x33e)]);_0x5ed66c['refreshData'](_0xa551f1,_0x157731,_0x1f0aee),_0x220820[_0x4d2870(0x22d)](_0xa551f1);for(const _0x3d0f63 of _0x31aed8)_0x5ed66c[_0x4d2870(0x32b)](_0x1f0aee['unitId'],_0x3d0f63);const _0x1a9c8d=_0x5ed66c[_0x4d2870(0x38a)](_0x31820b,_0x15827d,_0x3affa3);return _0x1a9c8d[_0x4d2870(0x2d8)]=JSON[_0x4d2870(0x34b)](JSON['stringify'](_0x1f0aee)),_0x5ed66c['addDirtyPivotTable']({'unitId':_0x31820b,'subUnitId':_0x15827d,'token':_0x3affa3,'type':L[_0x4d2870(0x23f)]}),!0x0;}},Et={'type':_0x560711['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var fs=Object['getOwnPropertyDescriptor'],gs=(_0x102c9c,_0xd97306,_0x308a04,_0x1c135e)=>{const _0x5da769=_0x163919;for(var _0x5e8a6b=_0x1c135e>0x1?void 0x0:_0x1c135e?fs(_0xd97306,_0x308a04):_0xd97306,_0x52ffcf=_0x102c9c[_0x5da769(0x3cc)]-0x1,_0x4a2564;_0x52ffcf>=0x0;_0x52ffcf--)(_0x4a2564=_0x102c9c[_0x52ffcf])&&(_0x5e8a6b=_0x4a2564(_0x5e8a6b)||_0x5e8a6b);return _0x5e8a6b;},wo=(_0x3514b6,_0x159c7d)=>(_0xd94c00,_0x18aecd)=>_0x159c7d(_0xd94c00,_0x18aecd,_0x3514b6);let Z=class extends _0x5647fd{constructor(_0x1c8953,_0x59de76){const _0x2ae120=_0x163919;super(),A(this,_0x2ae120(0x275),new Map()),(this[_0x2ae120(0x272)]=_0x1c8953,this[_0x2ae120(0x355)]=_0x59de76);}[_0x163919(0x34d)](_0x5a4f59){const _0x11e556=_0x163919,{version:_0x3284ef}=_0x5a4f59,_0x3b5c85=this[_0x11e556(0x275)][_0x11e556(0x3cd)](_0x3284ef);_0x3b5c85&&(_0x3b5c85(_0x5a4f59),this[_0x11e556(0x275)][_0x11e556(0x31b)](_0x3284ef));}['getPivotDisplayConfig'](_0x58f10f){return new Promise((_0xedc08e,_0x5c23b2)=>{const _0x523429=_0x17af,_0x685c67=this[_0x523429(0x358)]();this[_0x523429(0x275)][_0x523429(0x1df)](_0x685c67,_0xedc08e),this[_0x523429(0x355)][_0x523429(0x2e1)](ro['id'],{'version':_0x685c67,..._0x58f10f},{'onlyLocal':!0x0});});}[_0x163919(0x358)](){const _0x42200c=_0x163919;return Math['random']()[_0x42200c(0x32a)](0x24)[_0x42200c(0x1b2)](0x2,0x10);}};Z=gs([wo(0x0,_0x86a91c(_0x207bcc)),wo(0x1,_0x86a91c(_0x27f7ca))],Z);const zo={'id':_0x163919(0x334),'type':_0x560711[_0x163919(0x208)],'handler':(_0x37f44b,_0x1b9106)=>{const _0x28a31c=_0x163919;if(!_0x1b9106)return!0x1;if(!!_0x37f44b[_0x28a31c(0x3cd)](_0x197f4e)[_0x28a31c(0x22c)](q))return!0x0;const {pivotTableId:_0x16883a,fieldJSON:_0x593a49,unitId:_0x5d5183,subUnitId:_0x42aeed}=_0x1b9106,_0x397f0f=_0x376d54[_0x28a31c(0x1f4)](_0x593a49);if(!_0x397f0f)return!0x1;const _0x59c424=_0x37f44b[_0x28a31c(0x3cd)]($),_0x2d9594=_0x59c424[_0x28a31c(0x2be)](_0x5d5183),_0x29d37a=_0x2d9594[_0x28a31c(0x1d5)](_0x16883a);_0x2d9594[_0x28a31c(0x1ac)](_0x397f0f),_0x29d37a[_0x28a31c(0x3e4)](_0x397f0f[_0x28a31c(0x3b1)](),_0x397f0f[_0x28a31c(0x336)]());const _0x2f1603=_0x29d37a[_0x28a31c(0x18c)](_0x397f0f['getOriginFieldId']());_0x2f1603&&_0x397f0f[_0x28a31c(0x26e)](_0x2f1603);const _0x252b5b=_0x59c424[_0x28a31c(0x38a)](_0x5d5183,_0x42aeed,_0x16883a);return _0x59c424['addDirtyPivotTable']({'unitId':_0x5d5183,'subUnitId':_0x42aeed,'token':_0x16883a,'type':L['Set'],'pivotConfig':_0x252b5b}),!0x0;}},Xo={'id':'sheet.mutation.remove-group-collection','type':_0x560711[_0x163919(0x208)],'handler':(_0x328e99,_0x52be0e)=>{const _0x52f828=_0x163919;if(!_0x52be0e)return!0x1;if(!!_0x328e99['get'](_0x197f4e)[_0x52f828(0x22c)](q))return!0x0;const {pivotTableId:_0x27a385,dataFieldId:_0x3c3c45,unitId:_0x4db7be,subUnitId:_0x3deb56}=_0x52be0e,_0x2aad0c=_0x328e99[_0x52f828(0x3cd)]($),_0x213db7=_0x2aad0c[_0x52f828(0x2be)](_0x4db7be);_0x213db7[_0x52f828(0x1d5)](_0x27a385)[_0x52f828(0x226)](_0x3c3c45);let _0x421a91=!0x0;for(const _0x53d704 in _0x213db7[_0x52f828(0x3a1)])if(_0x213db7['collections'][_0x53d704][_0x52f828(0x1c8)]()[_0x52f828(0x236)](_0x3c3c45)){_0x421a91=!0x1;break;}_0x421a91&&_0x213db7[_0x52f828(0x3bb)](_0x3c3c45);const _0x568220=_0x2aad0c[_0x52f828(0x38a)](_0x4db7be,_0x3deb56,_0x27a385);return _0x2aad0c['addDirtyPivotTable']({'unitId':_0x4db7be,'subUnitId':_0x3deb56,'token':_0x27a385,'type':L[_0x52f828(0x23f)],'pivotConfig':_0x568220}),!0x0;}},vs={'type':_0x560711[_0x163919(0x17f)],'id':_0x163919(0x28b),async 'handler'(_0x113d9f,_0x3f4f0b){const _0x50bb22=_0x163919;if(!_0x3f4f0b)return!0x1;const _0x3fa206=_0x113d9f['get'](_0x27f7ca),_0x4b0ae5=_0x113d9f[_0x50bb22(0x3cd)](Z),_0x79e230=_0x113d9f[_0x50bb22(0x3cd)](_0x5d5e99),{pivotTableId:_0x308dde,dataFieldId:_0x4f7419,fieldArea:_0x123b73,index:_0x23ca18,unitId:_0x103792,subUnitId:_0x4f0279}=_0x3f4f0b,_0x1e2fda=(await _0x4b0ae5[_0x50bb22(0x1a3)]({'unitId':_0x103792,'subUnitId':_0x4f0279,'pivotTableId':_0x308dde,'params':{'type':J[_0x50bb22(0x1e1)],'addPivotField':{'dataFieldId':_0x4f7419,'fieldArea':_0x123b73,'index':_0x23ca18}}}))[_0x50bb22(0x258)][_0x50bb22(0x3a6)];if(!_0x1e2fda)return!0x1;const {view:_0x5b40a1,changesets:_0x2815a8,isEmpty:_0x290bcc,pivotTableConfig:_0x5443e9,shouldBeAddedGroupJSON:_0x21843f}=_0x1e2fda,_0x48e31a=_0x5443e9[_0x50bb22(0x33e)],_0x426a0d=new _0x4dd842();_0x426a0d[_0x50bb22(0x249)](_0x5b40a1);const _0x417fd8={'cellInfo':_0x48e31a,'view':_0x426a0d,'isEmpty':_0x290bcc};if(!await _0x113d9f['get'](ie)[_0x50bb22(0x19b)][_0x50bb22(0x350)](be)(!0x0,_0x417fd8))return!0x1;const _0x459019=we(_0x113d9f,_0x426a0d,_0x48e31a,_0x290bcc),_0x454f3e=_e(_0x113d9f,_0x417fd8),{undos:_0x15fd80,redos:_0x4eacb9}=me(_0x3fa206,{'pivotTableId':_0x308dde,'unitId':_0x103792,'subUnitId':_0x4f0279},_0x2815a8);return _0x21843f&&(_0x4eacb9[_0x50bb22(0x391)]({'id':zo['id'],'params':{'pivotTableId':_0x308dde,'fieldJSON':_0x21843f,'unitId':_0x103792,'subUnitId':_0x4f0279}}),_0x15fd80['push']({'id':Xo['id'],'params':{'pivotTableId':_0x308dde,'dataFieldId':_0x21843f['id'],'unitId':_0x103792,'subUnitId':_0x4f0279}})),_0x573a3a([..._0x459019[_0x50bb22(0x178)],..._0x454f3e[_0x50bb22(0x178)],..._0x4eacb9],_0x3fa206),_0x79e230['pushUndoRedo']({'unitID':_0x103792,'redoMutations':[..._0x459019[_0x50bb22(0x178)],..._0x454f3e[_0x50bb22(0x178)],..._0x4eacb9],'undoMutations':[..._0x459019[_0x50bb22(0x37a)],..._0x454f3e[_0x50bb22(0x37a)],..._0x15fd80]}),!0x0;}},hs={'type':_0x560711[_0x163919(0x17f)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x7e3510,_0x3db2cb){const _0x21406c=_0x163919;if(!_0x3db2cb)return!0x1;const {sourceDataInfo:_0x1c6a56,pivotTableConfig:_0x1f3a1c}=_0x3db2cb;if(!_0x1c6a56||!_0x1f3a1c)return!0x1;const {unitId:_0x1b99fd,subUnitId:_0x3c03c6,range:_0x58dd51}=_0x1c6a56,_0x12e44a=_0x7e3510[_0x21406c(0x3cd)](_0x544974),_0x365382=_0x7e3510[_0x21406c(0x3cd)](Z),_0x2b8e16=_0x7e3510[_0x21406c(0x3cd)](_0x407a90),_0x6f7b88=_0x7e3510[_0x21406c(0x3cd)](_0x27f7ca),_0x52b5f1=_0x12e44a[_0x21406c(0x2e3)](_0x1b99fd);if(!_0x52b5f1)return!0x1;const _0x67bde0=_0x52b5f1[_0x21406c(0x25e)](_0x3c03c6);if(!_0x67bde0)return!0x1;const _0x32cf99=_0x288a76(0x8),_0x1e9a47=_0x58dd51||{'startRow':0x0,'startColumn':0x0,'endRow':_0x67bde0['getRowCount']()-0x1,'endColumn':_0x67bde0[_0x21406c(0x332)]()-0x1};_0x1e9a47[_0x21406c(0x22b)]=_0x2d52fe[_0x21406c(0x311)];const _0x5f0748=(await _0x365382[_0x21406c(0x1a3)]({'unitId':_0x1b99fd,'subUnitId':_0x3c03c6,'pivotTableId':_0x32cf99,'params':{'type':J[_0x21406c(0x22e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x1b99fd,'sheetName':_0x67bde0[_0x21406c(0x336)](),'subUnitId':_0x3c03c6,'range':_0x1e9a47},'pivotTableId':_0x32cf99,'pivotTableIndexConfig':_0x1f3a1c}}}))[_0x21406c(0x258)][_0x21406c(0x174)];if(!_0x5f0748)return!0x1;const {isEmpty:_0x31b0e0,fieldsConfig:_0x4466b7,collectionConfig:_0x13a418,changesets:_0x33c245}=_0x5f0748,_0x2ecc85=_0x52b5f1[_0x21406c(0x329)]()[_0x21406c(0x3cc)],_0x1e771a=_0x4398fd({'rowCount':_0x67bde0['getRowCount']()-0x1,'columnCount':_0x67bde0[_0x21406c(0x332)]()-0x1});_0x1e771a['id']=_0x27e219(),_0x1e771a[_0x21406c(0x31f)]=_0x52b5f1[_0x21406c(0x2f1)](''+_0x2b8e16['t'](_0x21406c(0x28a)));const _0x107f1e={'index':_0x2ecc85,'sheet':_0x1e771a,'unitId':_0x1b99fd},{redos:_0x5ca121}=me(_0x6f7b88,{'pivotTableId':_0x32cf99,'unitId':_0x1b99fd,'subUnitId':_0x1e771a['id']},_0x33c245),_0x48dca0=[{'id':_0x2bc982['id'],'params':_0x107f1e},{'id':Ct['id'],'params':{'unitId':_0x1b99fd,'subUnitId':_0x1e771a['id'],'pivotTableId':_0x32cf99,'pivotTableConfig':{'isEmpty':_0x31b0e0,'fieldsConfig':_0x4466b7,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x1b99fd,'subUnitId':_0x1e771a['id']},'sourceRangeInfo':{'subUnitId':_0x3c03c6,'unitId':_0x1b99fd,'range':_0x1e9a47,'sheetName':_0x67bde0[_0x21406c(0x336)]()}},'collectionConfig':_0x13a418}},..._0x5ca121];return _0x573a3a(_0x48dca0,_0x6f7b88),!0x0;}},ps={'type':_0x560711['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0xebbecf,_0x58f15e){const _0x36cc28=_0x163919;var _0x392b58,_0x35dcaa;const _0x2bd278=_0xebbecf[_0x36cc28(0x3cd)](_0x27f7ca),_0x53c1e6=_0xebbecf[_0x36cc28(0x3cd)](_0x544974),_0x4758e0=_0xebbecf[_0x36cc28(0x3cd)](_0x407a90),_0x4ecd40=_0xebbecf[_0x36cc28(0x3cd)](Z),_0xaaeb91=_0xebbecf[_0x36cc28(0x3cd)](_0x5d5e99),_0x1460cb=_0xebbecf[_0x36cc28(0x3cd)](he),_0x48f65c=_0xebbecf[_0x36cc28(0x3cd)](_0x197f4e);if(!_0x58f15e)return!0x1;const {pivotTableConfig:_0x2b299f,positionType:_0xc2d90b}=_0x58f15e,{targetCellInfo:_0x38faf6,sourceRangeInfo:_0x689a79}=_0x2b299f,{unitId:_0x137aef,subUnitId:_0xd0730d}=_0x38faf6,_0x52bb9a=_0x53c1e6[_0x36cc28(0x2e3)](_0x137aef);if(!_0x52bb9a)return!0x1;let _0x20472b=0x0;_0x52bb9a[_0x36cc28(0x329)]()['forEach'](_0x5b6071=>{const _0xb92d5a=_0x36cc28;var _0x1edbb3,_0x5d5868;_0x20472b+=(_0x5d5868=(_0x1edbb3=_0x1460cb[_0xb92d5a(0x300)](_0x137aef,_0x5b6071['getSheetId']()))==null?void 0x0:_0x1edbb3[_0xb92d5a(0x2da)])!=null?_0x5d5868:0x0;});const _0x11229c=(_0x392b58=_0x48f65c[_0x36cc28(0x22c)](_0x328693))!=null?_0x392b58:{},{ls:_0x3c9cda,pbk:_0x1d86ac}=_0x11229c;if(!Go(_0x3c9cda,_0x1d86ac))return!0x1;const _0x511934=go(so,_0x3c9cda,_0x1d86ac)[_0x36cc28(0x372)];if(_0x20472b>=_0x511934)return!0x1;const _0x517769=_0x58f15e[_0x36cc28(0x193)]||_0x288a76(0x8),_0x1d6a96=(await _0x4ecd40[_0x36cc28(0x1a3)]({'unitId':_0x137aef,'subUnitId':_0xd0730d,'pivotTableId':_0x517769,'params':{'type':J[_0x36cc28(0x19d)],'addPivotTable':{'sourceRangeInfo':_0x689a79,'pivotTableId':_0x517769}}}))[_0x36cc28(0x258)][_0x36cc28(0x305)];if(!_0x1d6a96)return!0x1;const {view:_0x3aa4c4,isEmpty:_0x587757,fieldsConfig:_0x38117a,collectionConfig:_0x2369bd}=_0x1d6a96,_0x5999b0=[],_0x5e8101=[];if(_0xc2d90b===ko[_0x36cc28(0x1d0)]){const _0x4738fe=_0x52bb9a[_0x36cc28(0x329)]()[_0x36cc28(0x3cc)],_0x20adac=_0x4398fd({});_0x20adac['id']=_0x2b299f[_0x36cc28(0x33e)]['subUnitId'],_0x20adac[_0x36cc28(0x31f)]=(_0x35dcaa=_0x2b299f[_0x36cc28(0x33e)][_0x36cc28(0x283)])!=null?_0x35dcaa:_0x52bb9a[_0x36cc28(0x2f1)](''+_0x4758e0['t']('sheets.tabs.sheet'));const _0x22497f={'index':_0x4738fe,'sheet':_0x20adac,'unitId':_0x137aef},_0x5aa527=_0x2ca4fd(_0xebbecf,_0x22497f);_0x5999b0['push']({'id':_0x20c8c0['id'],'params':_0x5aa527}),_0x5e8101[_0x36cc28(0x338)]({'id':_0xaa2ea2['id'],'params':_0x22497f});}else{if(!_0x52bb9a[_0x36cc28(0x25e)](_0xd0730d))return!0x1;const _0x36f69d=we(_0xebbecf,new _0x4dd842(),_0x38faf6,!0x0);_0x5e8101['push'](..._0x36f69d['redos']),_0x5999b0[_0x36cc28(0x338)](..._0x36f69d[_0x36cc28(0x37a)]);const _0x2707f9={'cellInfo':_0x38faf6,'view':_0x3aa4c4,'isEmpty':_0x587757};if(!await _0xebbecf[_0x36cc28(0x3cd)](ie)[_0x36cc28(0x19b)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2707f9))return!0x1;const _0x19114c=_e(_0xebbecf,_0x2707f9);_0x5e8101['push'](..._0x19114c[_0x36cc28(0x178)]),_0x5999b0[_0x36cc28(0x338)](..._0x19114c[_0x36cc28(0x37a)]);}return _0x5e8101[_0x36cc28(0x338)]({'id':Ct['id'],'params':{'unitId':_0x38faf6['unitId'],'subUnitId':_0x38faf6[_0x36cc28(0x3af)],'pivotTableId':_0x517769,'pivotTableConfig':{'targetCellInfo':_0x38faf6,'sourceRangeInfo':_0x689a79,'fieldsConfig':_0x38117a},'collectionConfig':_0x2369bd}}),_0x5999b0['unshift']({'id':Vt['id'],'params':{'unitId':_0x137aef,'subUnitId':_0xd0730d,'pivotTableId':_0x517769}}),_0x573a3a(_0x5e8101,_0x2bd278)&&_0xaaeb91[_0x36cc28(0x2f0)]({'unitID':_0x137aef,'undoMutations':_0x5999b0,'redoMutations':_0x5e8101}),!0x0;}},ms={'type':_0x560711['COMMAND'],'id':_0x163919(0x2f7),async 'handler'(_0x1c563d,_0x3188dc){const _0x108c89=_0x163919;if(!_0x3188dc)return!0x1;const _0x2ea8ab=_0x1c563d[_0x108c89(0x3cd)](_0x27f7ca),_0x12809e=_0x1c563d[_0x108c89(0x3cd)](Z),_0x201d0d=_0x1c563d[_0x108c89(0x3cd)](_0x5d5e99),{pivotTableId:_0xc3b6be,fieldId:_0xda522a,area:_0x1abbf4,index:_0x48466e,unitId:_0x289065,subUnitId:_0x154fe4}=_0x3188dc,_0x493ba9=(await _0x12809e[_0x108c89(0x1a3)]({'unitId':_0x289065,'subUnitId':_0x154fe4,'pivotTableId':_0xc3b6be,'params':{'type':J[_0x108c89(0x260)],'movePivotField':{'fieldId':_0xda522a,'area':_0x1abbf4,'index':_0x48466e}}}))[_0x108c89(0x258)][_0x108c89(0x191)];if(!_0x493ba9)return!0x1;const {changesets:_0x1130d9,view:_0x8525c1,isEmpty:_0xca0c2b,pivotTableConfig:_0x4f2e72}=_0x493ba9,_0x2f634b=_0x4f2e72[_0x108c89(0x33e)],_0x556a06=new _0x4dd842();_0x556a06[_0x108c89(0x249)](_0x8525c1);const _0x1fb304={'cellInfo':_0x2f634b,'view':_0x556a06,'isEmpty':_0xca0c2b};if(!await _0x1c563d[_0x108c89(0x3cd)](ie)[_0x108c89(0x19b)][_0x108c89(0x350)](be)(!0x0,_0x1fb304))return!0x1;const _0x5ab902=we(_0x1c563d,_0x556a06,_0x2f634b,_0xca0c2b),_0x2af4e6=_e(_0x1c563d,_0x1fb304),{redos:_0x6c1520,undos:_0x554950}=me(_0x2ea8ab,{'pivotTableId':_0xc3b6be,'unitId':_0x289065,'subUnitId':_0x154fe4},_0x1130d9);return _0x573a3a([..._0x5ab902[_0x108c89(0x178)],..._0x2af4e6[_0x108c89(0x178)],..._0x6c1520],_0x2ea8ab),_0x201d0d[_0x108c89(0x2f0)]({'unitID':_0x289065,'redoMutations':[..._0x5ab902['redos'],..._0x2af4e6[_0x108c89(0x178)],..._0x6c1520],'undoMutations':[..._0x5ab902[_0x108c89(0x37a)],..._0x2af4e6[_0x108c89(0x37a)],..._0x554950]}),!0x0;}},Is={'type':_0x560711[_0x163919(0x17f)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x528245,_0x2cac8f){const _0x513eb2=_0x163919;var _0x1de649;if(!_0x2cac8f)return!0x1;const _0xb8f119=_0x528245[_0x513eb2(0x3cd)](_0x544974),_0x4c8b3c=_0x3d7c14(_0xb8f119);if(!_0x4c8b3c)return!0x1;const {unitId:_0x5e1b4b,subUnitId:_0xaa7c2b,workbook:_0x4256ab}=_0x4c8b3c,{row:_0x353449,col:_0xd246a9}=_0x2cac8f,_0x3cfd82=_0x528245[_0x513eb2(0x3cd)](Ne),_0x307b27=_0x3cfd82[_0x513eb2(0x23c)](_0x5e1b4b,_0xaa7c2b,_0x353449,_0xd246a9);if(!_0x307b27)return!0x1;const _0x1b66fa=(_0x1de649=_0x3cfd82[_0x513eb2(0x251)](_0x5e1b4b,_0xaa7c2b,_0x307b27))==null?void 0x0:_0x1de649[_0x513eb2(0x306)];if(!_0x1b66fa)return!0x1;const _0x378242=_0x528245[_0x513eb2(0x3cd)](he)[_0x513eb2(0x38a)](_0x5e1b4b,_0xaa7c2b,_0x307b27);if(!_0x378242)return!0x1;const {rowInfo:_0x45ef7d,colInfo:_0xaa47ab}=_0x1b66fa,_0x28b693=_0x45ef7d[_0x353449][_0x513eb2(0x331)],_0x36e4f4=_0xaa47ab[_0xd246a9][_0x513eb2(0x331)],_0x448daf=_0x45ef7d[_0x353449]['level'],_0x302fa9=_0xaa47ab[_0xd246a9][_0x513eb2(0x3c1)],_0x3b3023=_0x28b693['concat'](_0x36e4f4),_0x3b6285=_0x378242[_0x513eb2(0x30e)][_0x513eb2(0x27b)][_0x513eb2(0x225)](0x0,_0x448daf),_0x3eb53c=_0x378242[_0x513eb2(0x30e)]['columnFields']['slice'](0x0,_0x302fa9),_0x4bb291=_0x3b6285[_0x513eb2(0x396)](_0x3eb53c),_0x228c28=_0x3b3023['map']((_0x19d298,_0x5765a0)=>[_0x19d298,_0x4bb291[_0x5765a0]]),_0x41c3b8=(await _0x528245[_0x513eb2(0x3cd)](Z)[_0x513eb2(0x1a3)]({'unitId':_0x5e1b4b,'subUnitId':_0xaa7c2b,'pivotTableId':_0x307b27,'params':{'type':J['DrillDown'],'drillDown':{'tuple':_0x228c28}}}))[_0x513eb2(0x258)][_0x513eb2(0x1bc)];if(!_0x41c3b8)return!0x1;const {indexes:_0x5386f5,range:_0x1c7472,sourceUnitId:_0x241bed,sourceSubUnitId:_0x42abea,formatMap:_0x280881}=_0x41c3b8,{startRow:_0x56c6a7,endRow:_0x279494,startColumn:_0x1b3570,endColumn:_0x511501}=_0x1c7472,_0x4b898b=new _0x13addc(),_0x5cf75a=_0x279494-_0x56c6a7,_0x2fc310=_0x511501-_0x1b3570,_0x13acff={},_0x33a107=_0x3d7c14(_0xb8f119,{'unitId':_0x241bed,'subUnitId':_0x42abea});if(!_0x33a107)return!0x1;const _0x187044=fe[_0x513eb2(0x3d2)],_0x17e960=fe[_0x513eb2(0x294)],_0x43cf6f=fe[_0x513eb2(0x294)],_0x49fbc0=_0x4256ab['getStyles']()[_0x513eb2(0x3c0)](_0x187044),_0xfd3ba7=_0x4256ab[_0x513eb2(0x382)]()[_0x513eb2(0x3c0)](_0x17e960),_0x1d6da5=_0x4256ab[_0x513eb2(0x382)]()[_0x513eb2(0x3c0)](_0x43cf6f),{worksheet:_0x2debeb}=_0x33a107;let _0x4f8c5a=0x0;const _0x1f2219=0x1;_0x5386f5[_0x513eb2(0x1f1)](_0x2bbdf3=>{const _0x2daa41=_0x513eb2;for(let _0x27cf64=0x0;_0x27cf64<=_0x511501-_0x1b3570;_0x27cf64++)_0x4b898b['setValue'](_0x4f8c5a,_0x27cf64,_0x2debeb[_0x2daa41(0x3d8)](_0x2bbdf3+_0x1c7472[_0x2daa41(0x3d1)]+_0x1f2219,_0x27cf64));_0x4f8c5a++;});for(let _0x2b8db8=_0x1b3570;_0x2b8db8<=_0x511501;_0x2b8db8++){const _0x2404f5=_0x2debeb[_0x513eb2(0x3d8)](_0x56c6a7,_0x2b8db8);_0x13acff[_0x56c6a7]||(_0x13acff[_0x56c6a7]={}),_0x13acff[_0x56c6a7][_0x2b8db8]={..._0x2404f5,'s':_0x49fbc0};}let _0x49b18c=0x1;const _0x589113={},_0x55576={};_0x4b898b[_0x513eb2(0x1cd)]((_0x457b25,_0x4d048e)=>{const _0x1b78d4=_0x513eb2;_0x4d048e[_0x1b78d4(0x1f1)](_0x32313e=>{const _0xffc061=_0x1b78d4,_0x39332d=_0x4b898b[_0xffc061(0x3d9)](_0x457b25,_0x32313e);if(_0x13acff[_0x49b18c]||(_0x13acff[_0x49b18c]={}),_0x13acff[_0x49b18c][_0x32313e]={..._0x39332d,'s':_0x49b18c%0x2===0x0?_0x1d6da5:_0xfd3ba7},_0x280881[_0x32313e]&&_0x457b25>=0x0){const _0x2c3728=_0x49b18c%0x2===0x0;let _0x37ed8b=_0x2c3728?_0x55576[_0x32313e]:_0x589113[_0x32313e];_0x37ed8b||(_0x37ed8b=_0x4256ab['getStyles']()[_0xffc061(0x3c0)]({..._0x2c3728?_0x43cf6f:_0x17e960,'n':{'pattern':_0x280881[_0x32313e]}}),_0x2c3728?_0x55576[_0x32313e]=_0x37ed8b:_0x589113[_0x32313e]=_0x37ed8b),_0x13acff[_0x49b18c][_0x32313e]['s']=_0x37ed8b;}}),_0x49b18c++;});const _0x36be5e=new _0x13addc(_0x13acff),_0x443b4f={};_0x36be5e[_0x513eb2(0x23d)]((_0x2caea0,_0x425174,_0x59b8e9)=>{_0x443b4f[_0x2caea0]||(_0x443b4f[_0x2caea0]={}),_0x443b4f[_0x2caea0][_0x425174]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4aece1=[],_0x423c9b=[],_0x53ec46=_0x4256ab[_0x513eb2(0x329)]()['length'],_0x6b4c47=_0x4398fd({'rowCount':Math[_0x513eb2(0x3d5)](_0x459ec6,_0x5cf75a+0xa),'columnCount':Math[_0x513eb2(0x3d5)](_0x7e6996,_0x2fc310+0x5)}),_0x14e614=_0x528245[_0x513eb2(0x3cd)](_0x407a90);_0x6b4c47['id']=_0x27e219(),_0x6b4c47[_0x513eb2(0x31f)]=_0x4256ab[_0x513eb2(0x2f1)](''+_0x14e614['t'](_0x513eb2(0x28a)));const _0x1f2ece={'index':_0x53ec46,'sheet':_0x6b4c47,'unitId':_0x5e1b4b},_0x1698e7=_0x2ca4fd(_0x528245,_0x1f2ece);_0x423c9b[_0x513eb2(0x338)]({'id':_0xaa2ea2['id'],'params':_0x1f2ece}),_0x4aece1['push']({'id':_0x20c8c0['id'],'params':_0x1698e7}),_0x423c9b[_0x513eb2(0x338)]({'id':_0x48963d['id'],'params':{'unitId':_0x5e1b4b,'subUnitId':_0x6b4c47['id'],'cellValue':_0x13acff}}),_0x4aece1[_0x513eb2(0x391)]({'id':_0x48963d['id'],'params':{'unitId':_0x5e1b4b,'subUnitId':_0x6b4c47['id'],'cellValue':_0x443b4f}});const _0x1cac82={'startRow':0x0,'startColumn':0x0,'endRow':_0x49b18c-0x1,'endColumn':_0x511501};_0x423c9b[_0x513eb2(0x338)]({'id':_0x32ab2e['id'],'params':{'unitId':_0x5e1b4b,'subUnitId':_0x6b4c47['id'],'range':_0x1cac82}}),_0x4aece1[_0x513eb2(0x391)]({'id':_0x1f309d['id'],'params':{'unitId':_0x5e1b4b,'subUnitId':_0x6b4c47['id']}});const _0x31db09=_0x528245[_0x513eb2(0x3cd)](_0x27f7ca);return _0x573a3a(_0x423c9b,_0x31db09)&&_0x528245['get'](_0x5d5e99)['pushUndoRedo']({'unitID':_0x5e1b4b,'undoMutations':_0x4aece1,'redoMutations':_0x423c9b}),!0x0;}},Cs={'type':_0x560711['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4945fd,_0x1e121a){const _0x8bd20c=_0x163919;if(!_0x1e121a)return!0x1;const _0x2e7b41=_0x4945fd[_0x8bd20c(0x3cd)](_0x27f7ca),_0xc6a16=_0x4945fd['get'](Z),_0x36323b=_0x4945fd[_0x8bd20c(0x3cd)](_0x5d5e99),{pivotTableId:_0x23a29b,fieldIds:_0x1b5b87,unitId:_0x41d2df,subUnitId:_0xdefd26}=_0x1e121a,_0x360ae2=(await _0xc6a16[_0x8bd20c(0x1a3)]({'unitId':_0x41d2df,'subUnitId':_0xdefd26,'pivotTableId':_0x23a29b,'params':{'type':J[_0x8bd20c(0x29a)],'removePivotField':{'fieldIds':_0x1b5b87}}}))[_0x8bd20c(0x258)][_0x8bd20c(0x1e3)];if(!_0x360ae2)return!0x1;const {view:_0x10f4d4,changesets:_0x5a5b2f,isEmpty:_0x3bf612,pivotTableConfig:_0x40adf9}=_0x360ae2,_0x2ae782=_0x40adf9[_0x8bd20c(0x33e)],_0x33e8e2=new _0x4dd842();_0x33e8e2['formJSON'](_0x10f4d4);const _0x4e7619={'cellInfo':_0x2ae782,'view':_0x33e8e2,'isEmpty':_0x3bf612};if(!await _0x4945fd['get'](ie)[_0x8bd20c(0x19b)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4e7619))return!0x1;const _0x431b1d=we(_0x4945fd,_0x33e8e2,_0x2ae782,_0x3bf612),_0x181caa=_e(_0x4945fd,_0x4e7619),{redos:_0x3dc656,undos:_0x361291}=me(_0x2e7b41,{'pivotTableId':_0x23a29b,'unitId':_0x41d2df,'subUnitId':_0xdefd26},_0x5a5b2f);return _0x573a3a([..._0x431b1d[_0x8bd20c(0x178)],..._0x181caa[_0x8bd20c(0x178)],..._0x3dc656],_0x2e7b41),_0x36323b[_0x8bd20c(0x2f0)]({'unitID':_0x41d2df,'redoMutations':[..._0x431b1d['redos'],..._0x181caa[_0x8bd20c(0x178)],..._0x3dc656],'undoMutations':[..._0x431b1d['undos'],..._0x181caa[_0x8bd20c(0x37a)],..._0x361291]}),!0x0;}},bs={'type':_0x560711['COMMAND'],'id':_0x163919(0x39f),async 'handler'(_0x31daf8,_0x2fd1fa){const _0x49261c=_0x163919;var _0x5c2e23;const _0x13ef5d=_0x31daf8[_0x49261c(0x3cd)](_0x27f7ca),_0x34ca95=_0x31daf8[_0x49261c(0x3cd)](Z),_0x2d96d8=_0x31daf8['get'](Ne),_0x3e0b86=_0x31daf8[_0x49261c(0x3cd)](_0x544974),_0x384168=_0x31daf8[_0x49261c(0x3cd)](_0x5d5e99);if(!_0x2fd1fa)return!0x1;const {unitId:_0x189db1,subUnitId:_0x36b0bf,row:_0x337c23,col:_0x143273,collapse:_0x4c1500}=_0x2fd1fa,_0x11408b=_0x3e0b86[_0x49261c(0x2e3)](_0x189db1);if(!_0x11408b||!_0x11408b[_0x49261c(0x25e)](_0x36b0bf))return!0x1;const _0x19fdfa=_0x2d96d8[_0x49261c(0x23c)](_0x189db1,_0x36b0bf,_0x337c23,_0x143273);if(!_0x19fdfa)return!0x1;const _0x164539=_0x2d96d8[_0x49261c(0x251)](_0x189db1,_0x36b0bf,_0x19fdfa);if(!_0x164539)return!0x1;const _0x5b4c96=_0x33a9b5(_0x337c23,_0x143273),{rangesInfo:_0x29fb23,areaInfo:_0x50af39,headerMap:_0x29bf0f}=_0x164539;if(!_0x29fb23||!_0x50af39||!_0x29bf0f)return!0x1;const _0x4ae62b=Object['keys'](_0x29fb23)['find'](_0x16c356=>_0x29fb23[_0x16c356]['some'](_0x15a1ee=>_0x5f15bf['contains'](_0x15a1ee,_0x5b4c96)));let _0x3a482d;_0x4ae62b===_0x49261c(0x212)?_0x3a482d=_0x29bf0f[_0x49261c(0x3de)][_0x143273]:_0x4ae62b==='colRanges'&&(_0x3a482d=_0x29bf0f[_0x49261c(0x2ab)][_0x337c23]);const _0x5c692d=_0x3a482d==null?void 0x0:_0x3a482d[_0x49261c(0x39a)],_0x37e73f=(_0x5c2e23=_0x2d96d8[_0x49261c(0x182)](_0x189db1,_0x36b0bf,_0x337c23,_0x143273))==null?void 0x0:_0x5c2e23['v'];if(_0x37e73f==null||!_0x19fdfa||!_0x5c692d)return!0x1;const _0x31ff1=await _0x34ca95[_0x49261c(0x1a3)]({'unitId':_0x189db1,'subUnitId':_0x36b0bf,'pivotTableId':_0x19fdfa,'params':{'type':J[_0x49261c(0x1d7)],'setPivotCollapse':{'tableFieldId':_0x5c692d,'collapse':_0x4c1500,'item':_0x37e73f}}}),_0x73543f=_0x31ff1==null?void 0x0:_0x31ff1[_0x49261c(0x258)][_0x49261c(0x2f5)];if(!_0x73543f)return!0x1;const {view:_0x1612f3,pivotTableConfig:_0x159151,isEmpty:_0x193c27,changesets:_0x401dca}=_0x73543f,_0x457832=new _0x4dd842();_0x457832[_0x49261c(0x249)](_0x1612f3);const _0x228a13=_0x159151[_0x49261c(0x33e)],_0x255b04={'cellInfo':_0x228a13,'view':_0x457832,'isEmpty':_0x193c27};if(!await _0x31daf8[_0x49261c(0x3cd)](ie)['asyncInterceptor'][_0x49261c(0x350)](be)(!0x0,_0x255b04))return!0x1;const _0x3917b7=we(_0x31daf8,_0x457832,_0x228a13,_0x193c27),_0xe35e35=_e(_0x31daf8,_0x255b04),{redos:_0x239188,undos:_0x1e1efa}=me(_0x13ef5d,{'pivotTableId':_0x19fdfa,'unitId':_0x189db1,'subUnitId':_0x36b0bf},_0x401dca);return _0x573a3a([..._0x3917b7['redos'],..._0xe35e35[_0x49261c(0x178)],..._0x239188],_0x13ef5d),_0x384168[_0x49261c(0x2f0)]({'unitID':_0x189db1,'redoMutations':[..._0x3917b7['redos'],..._0xe35e35[_0x49261c(0x178)],..._0x239188],'undoMutations':[..._0x3917b7['undos'],..._0xe35e35[_0x49261c(0x37a)],..._0x1e1efa]}),!0x0;}},Ss={'type':_0x560711[_0x163919(0x17f)],'id':_0x163919(0x1c6),async 'handler'(_0x4b1a98,_0x1f9ad2){const _0xa42dcb=_0x163919;if(!_0x1f9ad2)return!0x1;const _0x1af6ff=_0x4b1a98['get'](_0x27f7ca),{pivotTableId:_0xf0b7c2,tableFieldId:_0x4af67e,items:_0x20427c,unitId:_0x2c4a8d,subUnitId:_0x31218f,isAll:_0x55dd01}=_0x1f9ad2,_0x19a3c5=_0x4b1a98[_0xa42dcb(0x3cd)](Z),_0xc69bec=_0x4b1a98['get'](_0x5d5e99),_0x355665=(await _0x19a3c5[_0xa42dcb(0x1a3)]({'unitId':_0x2c4a8d,'subUnitId':_0x31218f,'pivotTableId':_0xf0b7c2,'params':{'type':J['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x4af67e,'items':_0x20427c,'isAll':_0x55dd01}}}))[_0xa42dcb(0x258)]['setPivotFilter'];if(!_0x355665)return!0x1;const {changesets:_0x4a033d,pivotTableConfig:_0x549c1a,isEmpty:_0x1d0f48,view:_0x3cd68e}=_0x355665,_0xce66a6=_0x549c1a[_0xa42dcb(0x33e)],_0x1b44cb=new _0x4dd842();_0x1b44cb[_0xa42dcb(0x249)](_0x3cd68e);const _0x3ecfd1={'cellInfo':_0xce66a6,'view':_0x1b44cb,'isEmpty':_0x1d0f48};if(!await _0x4b1a98[_0xa42dcb(0x3cd)](ie)[_0xa42dcb(0x19b)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3ecfd1))return!0x1;const _0xdc8799=we(_0x4b1a98,_0x1b44cb,_0xce66a6,_0x1d0f48),_0x33d2ec=_e(_0x4b1a98,_0x3ecfd1),{undos:_0x30b0c2,redos:_0x39a3d8}=me(_0x1af6ff,{'pivotTableId':_0xf0b7c2,'unitId':_0x2c4a8d,'subUnitId':_0x31218f},_0x4a033d);return _0x573a3a([..._0xdc8799['redos'],..._0x33d2ec[_0xa42dcb(0x178)],..._0x39a3d8],_0x1af6ff),_0xc69bec[_0xa42dcb(0x2f0)]({'unitID':_0x2c4a8d,'redoMutations':[..._0xdc8799[_0xa42dcb(0x178)],..._0x33d2ec[_0xa42dcb(0x178)],..._0x39a3d8],'undoMutations':[..._0xdc8799[_0xa42dcb(0x37a)],..._0x33d2ec[_0xa42dcb(0x37a)],..._0x30b0c2]}),!0x0;}},Ps={'type':_0x560711['COMMAND'],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x8770d1,_0x54c649){const _0x5d516b=_0x163919;if(!_0x54c649)return!0x1;const _0x1ce3ba=_0x8770d1[_0x5d516b(0x3cd)](_0x27f7ca),_0x4cbd53=_0x8770d1['get'](_0x5d5e99),_0x55d502=_0x8770d1[_0x5d516b(0x3cd)](Z),{info:_0x2cdf48,tableFieldId:_0x2fa8a5,pivotTableId:_0x28e67b,unitId:_0x33156d,subUnitId:_0x19ccf9}=_0x54c649,_0x43a8cd=(await _0x55d502[_0x5d516b(0x1a3)]({'unitId':_0x33156d,'subUnitId':_0x19ccf9,'pivotTableId':_0x28e67b,'params':{'type':J['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x2fa8a5,'info':_0x2cdf48}}}))[_0x5d516b(0x258)][_0x5d516b(0x216)];if(!_0x43a8cd)return!0x1;const {changesets:_0x48c15f}=_0x43a8cd,{redos:_0x58f364,undos:_0x1e33fa}=me(_0x1ce3ba,{'pivotTableId':_0x28e67b,'unitId':_0x33156d,'subUnitId':_0x19ccf9},_0x48c15f);return _0x573a3a(_0x58f364,_0x1ce3ba),_0x4cbd53[_0x5d516b(0x2f0)]({'unitID':_0x33156d,'redoMutations':_0x58f364,'undoMutations':_0x1e33fa}),!0x0;}},ys={'type':_0x560711[_0x163919(0x17f)],'id':_0x163919(0x2a4),async 'handler'(_0x518788,_0x5d7594){const _0x2897e3=_0x163919;if(!_0x5d7594)return!0x1;const _0x449c0a=_0x518788[_0x2897e3(0x3cd)](_0x27f7ca),_0x1c5cc6=_0x518788[_0x2897e3(0x3cd)](_0x5d5e99),_0x337816=_0x518788[_0x2897e3(0x3cd)](Z),{displayName:_0x1684a1,subtotalType:_0x19ae44,format:_0x440cc0,tableFieldId:_0x5c3c9e,pivotTableId:_0x3e2a6a,unitId:_0x2aff9a,subUnitId:_0x5b6780}=_0x5d7594,_0x321365=(await _0x337816['getPivotDisplayConfig']({'unitId':_0x2aff9a,'subUnitId':_0x5b6780,'pivotTableId':_0x3e2a6a,'params':{'type':J[_0x2897e3(0x2e2)],'setPivotSetting':{'tableFieldId':_0x5c3c9e,'displayName':_0x1684a1,'subtotalType':_0x19ae44,'format':_0x440cc0}}}))[_0x2897e3(0x258)][_0x2897e3(0x2ee)];if(!_0x321365)return!0x1;const {changesets:_0x345e63,view:_0x3ed94f,pivotTableConfig:_0xafa32e,isEmpty:_0x114c75}=_0x321365,_0xc54303=_0xafa32e[_0x2897e3(0x33e)],_0x15775a=new _0x4dd842();_0x15775a['formJSON'](_0x3ed94f);const _0x4d0fea={'cellInfo':_0xc54303,'view':_0x15775a,'isEmpty':_0x114c75};if(!await _0x518788[_0x2897e3(0x3cd)](ie)[_0x2897e3(0x19b)][_0x2897e3(0x350)](be)(!0x0,_0x4d0fea))return!0x1;const _0x1fe8b3=we(_0x518788,_0x15775a,_0xc54303,_0x114c75),_0x237a71=_e(_0x518788,_0x4d0fea),{undos:_0x5d99bc,redos:_0x99bec0}=me(_0x449c0a,{'pivotTableId':_0x3e2a6a,'unitId':_0x2aff9a,'subUnitId':_0x5b6780},_0x345e63);return _0x573a3a([..._0x1fe8b3[_0x2897e3(0x178)],..._0x237a71[_0x2897e3(0x178)],..._0x99bec0],_0x449c0a),_0x1c5cc6[_0x2897e3(0x2f0)]({'unitID':_0x2aff9a,'redoMutations':[..._0x1fe8b3[_0x2897e3(0x178)],..._0x237a71[_0x2897e3(0x178)],..._0x99bec0],'undoMutations':[..._0x1fe8b3[_0x2897e3(0x37a)],..._0x237a71[_0x2897e3(0x37a)],..._0x5d99bc]}),!0x0;}},Ts={'type':_0x560711['COMMAND'],'id':_0x163919(0x1a9),async 'handler'(_0x4e28bf,_0x45a650){const _0x2d4812=_0x163919,_0x4e5568=_0x4e28bf[_0x2d4812(0x3cd)](_0x27f7ca),_0x285a24=_0x4e28bf[_0x2d4812(0x3cd)](Z),_0x702fd2=_0x4e28bf[_0x2d4812(0x3cd)](_0x5d5e99);if(!_0x45a650)return!0x1;const {token:_0x57bebb,dataRangeInfo:_0x128071,unitId:_0x2246d3,subUnitId:_0x2210e5}=_0x45a650,_0x270a60=[],_0x56894d=[],_0x45e873=(await _0x285a24['getPivotDisplayConfig']({'unitId':_0x2246d3,'subUnitId':_0x2210e5,'pivotTableId':_0x57bebb,'params':{'type':J[_0x2d4812(0x3b2)],'updatePivotSource':{'dataRangeInfo':_0x128071,'unitId':_0x2246d3,'subUnitId':_0x2210e5}}}))[_0x2d4812(0x258)][_0x2d4812(0x3da)];if(!_0x45e873)return!0x1;const {changesets:_0x3680f4,deleteIds:_0x31a229,collectionConfig:_0x1d00c2,oldCollectionConfig:_0x351c4e,view:_0x2b47a7,isEmpty:_0x2c30de,pivotTableConfig:_0x4ff471}=_0x45e873;_0x56894d[_0x2d4812(0x338)]({'id':to['id'],'params':{'pivotTableId':_0x57bebb,'deleteIds':_0x31a229,'collectionJSON':_0x1d00c2,'dataRangeInfo':_0x128071,'unitId':_0x2246d3,'subUnitId':_0x2210e5}}),_0x270a60[_0x2d4812(0x391)]({'id':to['id'],'params':{'pivotTableId':_0x57bebb,'deleteIds':[],'collectionJSON':_0x351c4e,'dataRangeInfo':_0x4ff471['sourceRangeInfo'],'unitId':_0x2246d3,'subUnitId':_0x2210e5}});const _0x2453bc=_0x4ff471['targetCellInfo'],_0x3da80a=new _0x4dd842();_0x3da80a[_0x2d4812(0x249)](_0x2b47a7);const _0x4b3e1f={'cellInfo':_0x2453bc,'view':_0x3da80a,'isEmpty':_0x2c30de};if(!await _0x4e28bf[_0x2d4812(0x3cd)](ie)[_0x2d4812(0x19b)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4b3e1f))return!0x1;const _0x606a9a=we(_0x4e28bf,_0x3da80a,_0x2453bc,_0x2c30de),_0x550260=_e(_0x4e28bf,_0x4b3e1f),{undos:_0x33a30e,redos:_0x392323}=me(_0x4e5568,{'pivotTableId':_0x57bebb,'unitId':_0x2246d3,'subUnitId':_0x2210e5},_0x3680f4);return _0x573a3a([..._0x606a9a[_0x2d4812(0x178)],..._0x550260[_0x2d4812(0x178)],..._0x56894d,..._0x33a30e],_0x4e5568),_0x702fd2[_0x2d4812(0x2f0)]({'unitID':_0x2246d3,'redoMutations':[..._0x606a9a['redos'],..._0x550260[_0x2d4812(0x178)],..._0x56894d,..._0x33a30e],'undoMutations':[..._0x606a9a['undos'],..._0x550260[_0x2d4812(0x37a)],..._0x270a60,..._0x392323]}),!0x0;}},Ms={'type':_0x560711['COMMAND'],'id':_0x163919(0x39c),async 'handler'(_0x433ff7,_0x42fd30){const _0x58e5f3=_0x163919;if(!_0x42fd30)return!0x1;const _0x1f704c=_0x433ff7[_0x58e5f3(0x3cd)](_0x27f7ca),_0x12b4f7=_0x433ff7[_0x58e5f3(0x3cd)](Z),_0x4111c3=_0x433ff7[_0x58e5f3(0x3cd)](_0x544974),_0x2dd17a=_0x433ff7[_0x58e5f3(0x3cd)](_0x5d5e99),{pivotTableId:_0x20f599,position:_0x3ce936,index:_0x52ced9}=_0x42fd30,_0x566571=_0x3d7c14(_0x4111c3);if(!_0x566571)return!0x1;const {unitId:_0x1c4607,subUnitId:_0x46894a}=_0x566571,_0x6238ba=(await _0x12b4f7[_0x58e5f3(0x1a3)]({'unitId':_0x1c4607,'subUnitId':_0x46894a,'pivotTableId':_0x20f599,'params':{'type':J[_0x58e5f3(0x296)],'updateValuePosition':{'position':_0x3ce936,'index':_0x52ced9}}}))[_0x58e5f3(0x258)][_0x58e5f3(0x3c9)];if(!_0x6238ba)return!0x1;const {changesets:_0x100088,view:_0x3d804e,isEmpty:_0x335551,pivotTableConfig:_0x34be95}=_0x6238ba,_0x55a2c8=_0x34be95[_0x58e5f3(0x33e)],_0x5693cd=new _0x4dd842();_0x5693cd[_0x58e5f3(0x249)](_0x3d804e);const _0x11006d=_0x433ff7[_0x58e5f3(0x3cd)](ie),_0x585772={'cellInfo':_0x55a2c8,'view':_0x5693cd,'isEmpty':_0x335551};if(!await _0x11006d[_0x58e5f3(0x19b)][_0x58e5f3(0x350)](be)(!0x0,_0x585772))return!0x1;const _0x3f3e06=we(_0x433ff7,_0x5693cd,_0x55a2c8,_0x335551),_0x12bad2=_e(_0x433ff7,_0x585772),{undos:_0x24db0b,redos:_0x2c3426}=me(_0x1f704c,{'pivotTableId':_0x20f599,'unitId':_0x1c4607,'subUnitId':_0x46894a},_0x100088);return _0x573a3a([..._0x3f3e06['redos'],..._0x12bad2[_0x58e5f3(0x178)],..._0x2c3426],_0x1f704c),_0x2dd17a[_0x58e5f3(0x2f0)]({'unitID':_0x1c4607,'redoMutations':[..._0x3f3e06[_0x58e5f3(0x178)],..._0x12bad2[_0x58e5f3(0x178)],..._0x2c3426],'undoMutations':[..._0x3f3e06[_0x58e5f3(0x37a)],..._0x12bad2['undos'],..._0x24db0b]}),!0x0;}},ws={'type':_0x560711['COMMAND'],'id':_0x163919(0x229),'handler':(_0x4ad228,_0x386ecf)=>{const _0x4df1b9=_0x163919,_0x48c39d=_0x4ad228[_0x4df1b9(0x3cd)](_0x27f7ca),_0x24301e=_0x4ad228[_0x4df1b9(0x3cd)](_0x5d5e99),_0x470691=_0x4ad228[_0x4df1b9(0x3cd)](he),_0x37ec4d=_0x4ad228[_0x4df1b9(0x3cd)](_0x544974);if(!_0x386ecf)return!0x1;const _0x1c81ab=_0x3d7c14(_0x37ec4d);if(!_0x1c81ab)return!0x1;const {unitId:_0x3400a6,subUnitId:_0x566096,workbook:_0x306f81}=_0x1c81ab,_0x5ab270=_0x470691['getPivotTableConfig'](_0x386ecf['originTargetInfo'][_0x4df1b9(0x196)],_0x386ecf[_0x4df1b9(0x2f3)][_0x4df1b9(0x3af)],_0x386ecf[_0x4df1b9(0x193)]);if(!_0x5ab270)return!0x1;const _0x1c5998=_0x306f81['getSheetBySheetId'](_0x386ecf[_0x4df1b9(0x33e)][_0x4df1b9(0x3af)]);if(!_0x1c5998)throw new Error(_0x4df1b9(0x166));const _0x33bfe3=_0x1c5998[_0x4df1b9(0x281)](),_0x1f9964=_0x1c5998[_0x4df1b9(0x332)]();if(_0x386ecf[_0x4df1b9(0x33e)][_0x4df1b9(0x2ea)]>_0x33bfe3||_0x386ecf['targetCellInfo'][_0x4df1b9(0x37f)]>_0x1f9964)throw new Error(_0x4df1b9(0x1cc));const _0x5d494d=[{'id':pt['id'],'params':{'unitId':_0x3400a6,'subUnitId':_0x386ecf[_0x4df1b9(0x33e)]['subUnitId'],'pivotTableId':_0x386ecf[_0x4df1b9(0x193)],'targetCellPosition':{'row':_0x386ecf[_0x4df1b9(0x33e)][_0x4df1b9(0x2ea)],'col':_0x386ecf[_0x4df1b9(0x33e)]['col']}}}],_0xc5f2=[{'id':pt['id'],'params':{'unitId':_0x3400a6,'subUnitId':_0x566096,'pivotTableId':_0x386ecf[_0x4df1b9(0x193)],'targetCellPosition':{'row':_0x5ab270[_0x4df1b9(0x33e)][_0x4df1b9(0x2ea)],'col':_0x5ab270['targetCellInfo'][_0x4df1b9(0x37f)]}}}];return _0x573a3a(_0x5d494d,_0x48c39d)&&_0x24301e[_0x4df1b9(0x2f0)]({'unitID':_0x3400a6,'undoMutations':_0xc5f2,'redoMutations':_0x5d494d}),!0x0;}},_s={'type':_0x560711['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x598e2d,_0x179592){const _0x54e85e=_0x163919;if(!_0x179592)return!0x1;const _0x42ac03=_0x598e2d[_0x54e85e(0x3cd)](_0x27f7ca),{pivotTableId:_0x58490b,fieldId:_0x30f71e,valueFilterInfo:_0xa8281d,unitId:_0x8a582a,subUnitId:_0x10f839}=_0x179592,_0x129123=_0x598e2d[_0x54e85e(0x3cd)](Z),_0x30866e=_0x598e2d[_0x54e85e(0x3cd)](_0x5d5e99),_0x43bf96=(await _0x129123[_0x54e85e(0x1a3)]({'unitId':_0x8a582a,'subUnitId':_0x10f839,'pivotTableId':_0x58490b,'params':{'type':J[_0x54e85e(0x20a)],'setValuePivotFilter':{'tableFieldId':_0x30f71e,'filterInfo':_0xa8281d}}}))['result'][_0x54e85e(0x167)];if(!_0x43bf96)return!0x1;const {changesets:_0x4c7361,pivotTableConfig:_0x4c22be,isEmpty:_0x3fee66,view:_0x390ffe}=_0x43bf96,_0x18a3ce=_0x4c22be[_0x54e85e(0x33e)],_0x230340=new _0x4dd842();_0x230340[_0x54e85e(0x249)](_0x390ffe);const _0x837471={'cellInfo':_0x18a3ce,'view':_0x230340,'isEmpty':_0x3fee66};if(!await _0x598e2d[_0x54e85e(0x3cd)](ie)['asyncInterceptor'][_0x54e85e(0x350)](be)(!0x0,_0x837471))return!0x1;const _0x3d241a=we(_0x598e2d,_0x230340,_0x18a3ce,_0x3fee66),_0x5b2814=_e(_0x598e2d,_0x837471),{undos:_0x5deb25,redos:_0x254adc}=me(_0x42ac03,{'pivotTableId':_0x58490b,'unitId':_0x8a582a,'subUnitId':_0x10f839},_0x4c7361);return _0x573a3a([..._0x3d241a[_0x54e85e(0x178)],..._0x5b2814[_0x54e85e(0x178)],..._0x254adc],_0x42ac03),_0x30866e[_0x54e85e(0x2f0)]({'unitID':_0x8a582a,'redoMutations':[..._0x3d241a[_0x54e85e(0x178)],..._0x5b2814[_0x54e85e(0x178)],..._0x254adc],'undoMutations':[..._0x3d241a[_0x54e85e(0x37a)],..._0x5b2814[_0x54e85e(0x37a)],..._0x5deb25]}),!0x0;}},Fs={'type':_0x560711[_0x163919(0x17f)],'id':_0x163919(0x1b5),async 'handler'(_0x23a555,_0x50c055){const _0x348201=_0x163919;if(!_0x50c055)return!0x1;const _0x4bd957=_0x23a555['get'](_0x27f7ca),_0x3b7e76=_0x23a555[_0x348201(0x3cd)](_0x5d5e99),_0x48d65e=_0x23a555['get'](Z),{pivotTableConfig:_0x4a865c,pivotTableId:_0x74bdc,unitId:_0x557e84,subUnitId:_0x2b3163}=_0x50c055,_0x38a30a=(await _0x48d65e[_0x348201(0x1a3)]({'unitId':_0x557e84,'subUnitId':_0x2b3163,'pivotTableId':_0x74bdc,'params':{'type':J[_0x348201(0x345)],'setPivotTableConfig':{'pivotTableId':_0x74bdc,'pivotTableConfig':_0x4a865c}}}))['result'][_0x348201(0x1c0)];if(!_0x38a30a)return!0x1;const {changesets:_0x346deb}=_0x38a30a,{redos:_0x51a211,undos:_0x4897bd}=me(_0x4bd957,{'pivotTableId':_0x74bdc,'unitId':_0x557e84,'subUnitId':_0x2b3163},_0x346deb);return _0x573a3a(_0x51a211,_0x4bd957),_0x3b7e76[_0x348201(0x2f0)]({'unitID':_0x557e84,'redoMutations':_0x51a211,'undoMutations':_0x4897bd}),!0x0;}},Rs={'type':_0x560711[_0x163919(0x17f)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0xccb230,_0x3f1664){const _0x19cb72=_0x163919;if(!_0x3f1664)return!0x1;const _0x545b6d=_0xccb230[_0x19cb72(0x3cd)](_0x27f7ca),_0x1e444e=_0xccb230[_0x19cb72(0x3cd)](_0x5d5e99),_0x47a0a1=_0xccb230[_0x19cb72(0x3cd)](Z),{resetArea:_0x519d9a,pivotTableId:_0x428126,unitId:_0x48167c,subUnitId:_0x3fac69}=_0x3f1664,_0x3caa94=(await _0x47a0a1[_0x19cb72(0x1a3)]({'unitId':_0x48167c,'subUnitId':_0x3fac69,'pivotTableId':_0x428126,'params':{'type':J[_0x19cb72(0x35e)],'resetPivotTable':{'pivotTableId':_0x428126,'resetArea':_0x519d9a}}}))[_0x19cb72(0x258)][_0x19cb72(0x3a2)];if(!_0x3caa94)return!0x1;const {changesets:_0x1e4ca9}=_0x3caa94,{redos:_0x3484ab,undos:_0x3c60e7}=me(_0x545b6d,{'pivotTableId':_0x428126,'unitId':_0x48167c,'subUnitId':_0x3fac69},_0x1e4ca9);return _0x573a3a(_0x3484ab,_0x545b6d),_0x1e444e[_0x19cb72(0x2f0)]({'unitID':_0x48167c,'redoMutations':_0x3484ab,'undoMutations':_0x3c60e7}),!0x0;}},oo={'id':_0x163919(0x1bb),'type':_0x560711[_0x163919(0x208)],'handler':(_0x21adbe,_0x4df784)=>{const _0x41b59c=_0x163919;if(!_0x4df784)return!0x1;if(!!_0x21adbe[_0x41b59c(0x3cd)](_0x197f4e)[_0x41b59c(0x22c)](q))return!0x0;const {unitId:_0x537ff8,subUnitId:_0x55a9f2,pivotTableId:_0x56d8f1,tableFieldId:_0x296eb2,dateType:_0x19a6bf}=_0x4df784,_0x472368=_0x21adbe['get']($),_0x21cb49=_0x472368[_0x41b59c(0x1d3)](_0x56d8f1);if(!_0x21cb49)return!0x1;const _0x1d125b=_0x21cb49[_0x41b59c(0x2cf)](_0x296eb2);if(!_0x1d125b)return!0x1;const _0x4b40f7=_0x1d125b[_0x41b59c(0x228)](),_0x5000eb=_0x21cb49[_0x41b59c(0x239)](_0x4b40f7),_0xb2c315=(_0x5000eb==null?void 0x0:_0x5000eb['getName']())+'\x20'+qo(_0x21adbe,_0x19a6bf);_0x472368['getCollection'](_0x537ff8,_0x56d8f1)[_0x41b59c(0x37e)](_0x1d125b['id'],_0xb2c315);const _0x307bbe=_0x21cb49[_0x41b59c(0x29c)](_0x296eb2);if(!_0x307bbe)return!0x1;_0x21cb49[_0x41b59c(0x16f)](_0x307bbe[_0x41b59c(0x3b1)](),_0xb2c315),_0x1d125b[_0x41b59c(0x1c9)](_0x19a6bf);const _0x3db593=_0x472368[_0x41b59c(0x38a)](_0x537ff8,_0x55a9f2,_0x56d8f1);return _0x472368[_0x41b59c(0x2e8)]({'unitId':_0x537ff8,'subUnitId':_0x55a9f2,'token':_0x56d8f1,'type':L[_0x41b59c(0x23f)],'pivotConfig':_0x3db593}),!0x0;}},Ds={'id':_0x163919(0x3a5),'type':_0x560711[_0x163919(0x17f)],'handler':(_0x21a207,_0x1d470c)=>{const _0x5d8fd5=_0x163919;if(!_0x1d470c)return!0x1;const _0x384441=_0x21a207[_0x5d8fd5(0x3cd)](_0x5d5e99),{unitId:_0x12ffc1,subUnitId:_0x5c0689,pivotTableId:_0x4945f6,tableFieldId:_0x5ca47e}=_0x1d470c,_0x567c44=[],_0x682a1=[],_0x2ddb67=_0x21a207['get'](he),_0x82c324=_0x2ddb67['getCollection'](_0x12ffc1,_0x4945f6),_0x896948=_0x2ddb67[_0x5d8fd5(0x38a)](_0x12ffc1,_0x5c0689,_0x4945f6);if(!(_0x896948!=null&&_0x896948[_0x5d8fd5(0x30e)][_0x5d8fd5(0x359)]))return!0x1;const _0x3ff17a=Object[_0x5d8fd5(0x201)](_0x896948[_0x5d8fd5(0x30e)][_0x5d8fd5(0x359)])['find'](_0x51e385=>_0x51e385['id']===_0x5ca47e);if(!_0x3ff17a)return!0x1;const _0x59bf3b=_0x3ff17a[_0x5d8fd5(0x26d)];if(!(_0x82c324!=null&&_0x82c324[_0x5d8fd5(0x28e)]))return!0x1;const _0x55ed9f=Object[_0x5d8fd5(0x201)](_0x82c324==null?void 0x0:_0x82c324[_0x5d8fd5(0x28e)])[_0x5d8fd5(0x333)](_0x1e981d=>_0x1e981d['id']===_0x59bf3b);if(!_0x55ed9f)return!0x1;_0x1334ed(_0x55ed9f)&&_0x567c44[_0x5d8fd5(0x338)]({'id':oo['id'],'params':{..._0x1d470c,'dateType':_0x55ed9f['dateType']}}),_0x682a1[_0x5d8fd5(0x338)]({'id':oo['id'],'params':{..._0x1d470c}});const _0x5c71e6=_0x21a207[_0x5d8fd5(0x3cd)](_0x27f7ca);return _0x573a3a(_0x682a1,_0x5c71e6)&&_0x384441[_0x5d8fd5(0x2f0)]({'unitID':_0x12ffc1,'undoMutations':_0x567c44,'redoMutations':_0x682a1}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Es=(_0x28726b,_0x2f40d7,_0x48f7e6,_0x5f2ee2)=>{for(var _0x392a91=_0x5f2ee2>0x1?void 0x0:_0x5f2ee2?Ns(_0x2f40d7,_0x48f7e6):_0x2f40d7,_0x284b64=_0x28726b['length']-0x1,_0x3cca23;_0x284b64>=0x0;_0x284b64--)(_0x3cca23=_0x28726b[_0x284b64])&&(_0x392a91=_0x3cca23(_0x392a91)||_0x392a91);return _0x392a91;},He=(_0x8d2902,_0x5e4993)=>(_0x12b2db,_0x12c9f8)=>_0x5e4993(_0x12b2db,_0x12c9f8,_0x8d2902);const As=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x2de312,_0x31dea0,_0x33949e)=>{const _0x743c66=_0x163919,_0x246185=_0x2de312[_0x743c66(0x1f6)];_0x2de312[_0x743c66(0x284)](_0xa04211=>{const _0x3c3555=_0x743c66,_0xcc5367=_0xa04211[_0x3c3555(0x3b1)](),_0x1f5506=_0xa04211[_0x3c3555(0x165)](),_0x11aea0=_0xa04211[_0x3c3555(0x32e)](),_0x528b7e=_0xa04211[_0x3c3555(0x1a0)]();_0x31dea0[_0x1f5506]&&_0x31dea0[_0x1f5506]===_0x528b7e&&_0x11aea0===_0x528b7e&&(_0x2de312[_0x3c3555(0x16f)](_0xcc5367,_0x246185['getDisplayName'](_0x1f5506)),_0xa04211['setSourceName'](_0x246185[_0x3c3555(0x1a0)](_0x1f5506)));}),_0x2de312['iterateFieldByArea'](_0x5658a3[_0x743c66(0x276)],_0xd08b22=>{const _0xce6e0a=_0x743c66,_0x19163b=_0xd08b22[_0xce6e0a(0x3b1)](),_0x2330a3=_0xd08b22[_0xce6e0a(0x165)](),_0x55bc76=_0xd08b22[_0xce6e0a(0x32e)](),_0x537e7d=_0xd08b22[_0xce6e0a(0x1a0)](),_0x19f63e=_0xd08b22[_0xce6e0a(0x218)](),_0x11849e=_0x33949e(_0x55bc76,_0x19f63e);_0x31dea0[_0x2330a3]&&_0x31dea0[_0x2330a3]===_0x55bc76&&_0x11849e===_0x537e7d&&(_0x2de312['renameField'](_0x19163b,_0x33949e(_0x246185[_0xce6e0a(0x1a0)](_0x2330a3),_0x19f63e)),_0xd08b22[_0xce6e0a(0x277)](_0x246185['getDisplayName'](_0x2330a3)));});},Vs=(_0x3cee0d,_0x100f53,_0x46928b)=>{const _0x5395f4=_0x163919;var _0x7573b6,_0x490af0;const {arrayFormulaCellData:_0x4ae9b4,unitData:_0xec1755}=_0x100f53,{unitId:_0xc17901,subUnitId:_0x39c62b}=_0x46928b,_0x4d9096=_0x46928b['range'],{startColumn:_0x4a9cc3,endColumn:_0x5bbf30}=_0x4d9096,_0x61e9c0=(_0x7573b6=_0x4ae9b4==null?void 0x0:_0x4ae9b4[_0xc17901])==null?void 0x0:_0x7573b6[_0x39c62b],_0x46eca3=(_0x490af0=_0xec1755==null?void 0x0:_0xec1755[_0xc17901])==null?void 0x0:_0x490af0[_0x39c62b],_0x11fdbc=new Set(),_0x5582e6=_0x5bbf30-_0x4a9cc3+0x1,{dirtyRanges:_0x527b12}=_0x3cee0d;if(_0x527b12)for(const {range:_0x29b65e,sheetId:_0x319acf,unitId:_0x523fa2}of _0x527b12){if(_0x319acf!==_0x39c62b||_0xc17901!==_0x523fa2)continue;const _0x2ba054=_0x5f15bf[_0x5395f4(0x206)](_0x29b65e,_0x4d9096);if(_0x2ba054){const {startColumn:_0x20d56f,endColumn:_0x5c126b}=_0x2ba054;for(let _0x49a277=_0x20d56f;_0x49a277<=_0x5c126b;_0x49a277++)_0x11fdbc[_0x5395f4(0x248)](_0x49a277);}}if(_0x11fdbc[_0x5395f4(0x2da)]===_0x5582e6||_0x11fdbc['size']===_0x5582e6)return Array[_0x5395f4(0x318)](_0x11fdbc);if(_0x46eca3){const _0xec6c46=_0x46eca3[_0x5395f4(0x313)](),_0x54bd4f=Object[_0x5395f4(0x1c3)](_0xec6c46);for(const _0x40d063 of _0x54bd4f){const _0x21ed91=Number(_0x40d063),_0x5a8be3=_0xec6c46[_0x21ed91];if(_0x11fdbc[_0x5395f4(0x2da)]===_0x5582e6)break;for(const _0x721566 in _0x5a8be3){const _0x22a1b0=Number(_0x721566);_0x22a1b0<_0x4a9cc3||_0x22a1b0>_0x5bbf30||_0x11fdbc[_0x5395f4(0x248)](_0x22a1b0);}}}if(_0x61e9c0){const _0x124897=_0x61e9c0[_0x5395f4(0x313)](),_0x4d7451=Object[_0x5395f4(0x1c3)](_0x124897);for(const _0x162fe1 of _0x4d7451){const _0xd5280d=Number(_0x162fe1),_0x2a37e0=_0x124897[_0xd5280d];if(_0x11fdbc[_0x5395f4(0x2da)]===_0x5582e6)break;for(const _0x295805 in _0x2a37e0){const _0x68b5b3=Number(_0x295805);_0x68b5b3<_0x4a9cc3||_0x68b5b3>_0x5bbf30||_0x11fdbc['add'](_0x68b5b3);}}}return Array[_0x5395f4(0x318)](_0x11fdbc);},Os=_0x49d730=>{const _0x2d3d4b=_0x163919,_0x184aa9=new Set(),_0x2e47d2=[];for(const _0x126709 of _0x49d730){const _0x11dfe6=_0x126709[_0x2d3d4b(0x3d1)]+','+_0x126709[_0x2d3d4b(0x1a6)]+','+_0x126709[_0x2d3d4b(0x2c8)]+','+_0x126709[_0x2d3d4b(0x1c4)];_0x184aa9['has'](_0x11dfe6)||(_0x184aa9[_0x2d3d4b(0x248)](_0x11dfe6),_0x2e47d2['push'](_0x126709));}return _0x2e47d2;};let ct=class extends _0x5647fd{constructor(_0x3a5962,_0x222591,_0x351810,_0x1353b0,_0x21ebd9,_0x32f0d6){const _0x19e21a=_0x163919;super(),A(this,'_globalSubject',new _0xb566a2(!0x0)),A(this,_0x19e21a(0x1ec),_0x56be99=>{const _0x4937b4=_0x19e21a;this[_0x4937b4(0x242)][_0x4937b4(0x3ce)](!0x1);}),A(this,_0x19e21a(0x3dd),_0x51116f=>{const _0x8f13c3=_0x19e21a;this['_globalSubject'][_0x8f13c3(0x3ce)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x3a5962,this['_configService']=_0x222591,this[_0x19e21a(0x2d6)]=_0x351810,this[_0x19e21a(0x355)]=_0x1353b0,this[_0x19e21a(0x1fb)]=_0x21ebd9,this[_0x19e21a(0x272)]=_0x32f0d6,this[_0x19e21a(0x378)](),this[_0x19e21a(0x215)]());}[_0x163919(0x378)](){const _0x5b1fec=_0x163919;this[_0x5b1fec(0x1d4)](),this[_0x5b1fec(0x2df)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}[_0x163919(0x227)](){const _0x5749d8=_0x163919;this[_0x5749d8(0x1fb)][_0x5749d8(0x176)](this[_0x5749d8(0x242)]),_0x22acd5['registerCallbackWithEvent'](_0x5bb582[_0x5749d8(0x210)],this[_0x5749d8(0x1ec)]),_0x22acd5[_0x5749d8(0x3e3)](_0x5bb582['onQueryEnd'],this['_globalComputedEndHelpFunc']);}['_initPivotDataGetListener'](){const _0x259b49=_0x163919;this[_0x259b49(0x398)](this[_0x259b49(0x355)]['onCommandExecuted'](_0xe2f98d=>{const _0x545faa=_0x259b49;_0xe2f98d['id']===_0x320d9c['id']&&this[_0x545faa(0x2fb)]['handleMoveRange'](_0xe2f98d[_0x545faa(0x1b0)]);})),this[_0x259b49(0x398)](this['_commandService']['onCommandExecuted'](_0x43f1dd=>{const _0x54b50f=_0x259b49;if(_0x43f1dd['id']!==ro['id'])return;const _0x10a072=_0x43f1dd['params'],{unitId:_0x2fd413,subUnitId:_0x2ddb7c,pivotTableId:_0x29205d}=_0x10a072,_0x25d68f=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x2b9)],_0x509e23={};switch(_0x25d68f){case J[_0x54b50f(0x285)]:{const _0x1e6c41=_0x10a072['params'][_0x54b50f(0x180)];if(!_0x1e6c41)return;const {row:_0x1620e7,col:_0x5486c4,cellData:_0x4ac758,pivotItemRenderInfoCache:_0x408da6,tableFieldId:_0x183b01}=_0x1e6c41,_0x2fcde1=this[_0x54b50f(0x2fb)]['getPivotTableInstance'](_0x10a072[_0x54b50f(0x193)]);if(!_0x2fcde1||!_0x408da6)return;if(_0x183b01){const _0xd1e5e8=_0x2fcde1[_0x54b50f(0x2cf)](_0x183b01);if(!_0xd1e5e8)return;_0x509e23[_0x54b50f(0x180)]={..._0x2fcde1[_0x54b50f(0x27d)](_0xd1e5e8),'tableFieldId':_0x183b01,'pivotTableId':_0x10a072['pivotTableId'],'filterInfo':_0x2fcde1[_0x54b50f(0x3e2)](_0x183b01),'sortInfo':_0x2fcde1[_0x54b50f(0x368)](_0x183b01),'format':_0x2fcde1['getFieldFormat'](_0x183b01)};}else{const _0x3bf57e=Vi(_0x1620e7,_0x5486c4,_0x4ac758,_0x2fcde1,_0x408da6),_0x2aec9a=_0x3bf57e==null?void 0x0:_0x3bf57e[_0x54b50f(0x19c)];if(!_0x2aec9a)return;const _0x3001f8=_0x2fcde1[_0x54b50f(0x2cf)](_0x2aec9a);if(!_0x3001f8)return;_0x509e23['filter']={..._0x2fcde1[_0x54b50f(0x27d)](_0x3001f8),'tableFieldId':_0x2aec9a,'pivotTableId':_0x10a072[_0x54b50f(0x193)],'filterInfo':_0x2fcde1[_0x54b50f(0x3e2)](_0x2aec9a),'sortInfo':_0x2fcde1['getSortInfo'](_0x2aec9a),'format':_0x2fcde1[_0x54b50f(0x316)](_0x2aec9a)};}}break;case J[_0x54b50f(0x186)]:{const _0x53df47=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x376)];if(!_0x53df47)return;const {pivotTableId:_0x5494bb}=_0x53df47,_0x228e90=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x5494bb);if(!_0x228e90)return;const _0x47246c=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x5494bb),_0x37e45f=Oi(_0x228e90,_0x5494bb,_0x47246c);_0x509e23[_0x54b50f(0x376)]=_0x37e45f;}break;case J[_0x54b50f(0x1e1)]:{const _0x58ef45=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d),_0x334716=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x2be)](_0x2fd413),_0x4df128=_0x334716['getCollection'](_0x29205d);let _0x58949f=null;const _0x15a095=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d),_0x30545f=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x3a6)];if(!_0x58ef45||!_0x15a095||!_0x30545f)return!0x1;const {dataFieldId:_0x265585,fieldArea:_0x1c9065,index:_0x123e0e}=_0x30545f;_0x58ef45[_0x54b50f(0x1cf)]();const _0x5dd3c0=_0x58ef45[_0x54b50f(0x286)](_0x265585,_0x1c9065,_0x123e0e);if(_0x5dd3c0&&_0x1c9065===_0x5658a3[_0x54b50f(0x276)]){const _0x15d4e6=_0x5dd3c0[_0x54b50f(0x3b1)](),_0x2a0a9a=_0x58ef45['getDataFieldByTableId'](_0x15d4e6);if(_0x2a0a9a){const _0x1a5b2a=_0x2a0a9a==null?void 0x0:_0x2a0a9a[_0x54b50f(0x3c6)]();_0x58ef45[_0x54b50f(0x1ef)](_0x5dd3c0['getId'](),_0x1a5b2a===_0x3192d7[_0x54b50f(0x2cb)]?_0x28e6a9[_0x54b50f(0x2bb)]:_0x28e6a9['count']);}const _0x532e69=_0x58ef45['getValueIndex'](),_0x25fe64=_0x58ef45[_0x54b50f(0x2c4)](),_0x227255=_0x58ef45[_0x54b50f(0x170)](_0x5658a3[_0x54b50f(0x276)]);if(_0x532e69===-0x1&&_0x227255>0x1){const _0x5cfa44=_0x25fe64===_0xcffe0c[_0x54b50f(0x297)]?_0xcffe0c[_0x54b50f(0x255)]:_0x25fe64,_0x583fce=_0x5cfa44===_0xcffe0c[_0x54b50f(0x291)]?_0x5658a3['Row']:_0x5658a3[_0x54b50f(0x255)];_0x58ef45[_0x54b50f(0x3c9)](_0x5cfa44,_0x58ef45['getFieldCountByArea'](_0x583fce));}}else{if(_0x5dd3c0&&(_0x1c9065===_0x5658a3[_0x54b50f(0x291)]||_0x1c9065===_0x5658a3['Column'])){const _0x111bd7=_0x5dd3c0[_0x54b50f(0x3b1)](),_0x3ddef8=_0x58ef45['getDataFieldByTableId'](_0x111bd7);if(_0x3ddef8&&(_0x3ddef8==null?void 0x0:_0x3ddef8['getFieldDataType']())===_0x3192d7[_0x54b50f(0x2a1)]){const _0x3113af=_0x3ddef8[_0x54b50f(0x27a)]();if(_0x3113af&&_0x58ef45['setFieldFormat'](_0x5dd3c0[_0x54b50f(0x3b1)](),_0x3113af),!_0x4df128[_0x54b50f(0x1c8)]()['some'](_0x3df4f2=>{const _0x5a5d0e=_0x54b50f,_0xa2b9c8=_0x4df128[_0x5a5d0e(0x18c)](_0x3df4f2);return _0x5a88b5(_0xa2b9c8)?_0xa2b9c8[_0x5a5d0e(0x20b)]()['originalFieldId']===_0x265585:!0x1;})){const _0x20c65d=_0x334716[_0x54b50f(0x1ca)](),_0x113fc1=Wi(_0x3ddef8['maxDate'],_0x3ddef8['minDate']),_0x538788=_0x3ddef8[_0x54b50f(0x336)]()+_0x54b50f(0x322)+qo(this[_0x54b50f(0x272)],_0x113fc1),_0x47011f=new _0x13107d(_0x20c65d,_0x538788,_0x288a76(0x3),_0x3ddef8[_0x54b50f(0x3b1)](),_0x113fc1);_0x334716[_0x54b50f(0x1ac)](_0x47011f),_0x4df128[_0x54b50f(0x3e4)](_0x20c65d,_0x538788),_0x58ef45['addFieldWithSourceId'](_0x20c65d,_0x1c9065,(_0x123e0e!=null?_0x123e0e:0x0)+0x1),_0x58949f=_0x47011f;}}}}const _0x468dff=_0x58ef45[_0x54b50f(0x252)](),_0x4f2101=_0x58ef45['query']()[_0x54b50f(0x37b)]();let _0x416e78;if(_0x58949f){_0x416e78=_0x58949f[_0x54b50f(0x37b)]();const _0x24e89d=_0x58949f[_0x54b50f(0x3b1)]();_0x4df128['deleteField'](_0x24e89d);let _0x2751e6=!0x0;for(const _0x5b7c27 in _0x334716['collections'])if(_0x334716['collections'][_0x5b7c27][_0x54b50f(0x1c8)]()['includes'](_0x24e89d)){_0x2751e6=!0x1;break;}_0x2751e6&&_0x334716[_0x54b50f(0x3bb)](_0x24e89d);}const _0xf8bf71=_0x58ef45['endCollectChangeset']();_0x509e23[_0x54b50f(0x3a6)]={'view':_0x4f2101,'changesets':_0xf8bf71,'isEmpty':_0x468dff,'pivotTableConfig':_0x15a095,'shouldBeAddedGroupJSON':_0x416e78};}break;case J['AddPivotTable']:{const _0x58dc78=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x305)];if(!_0x58dc78)return;const _0x4f55c3=_0x58dc78[_0x54b50f(0x2d8)],_0x41bff5=_0x58dc78[_0x54b50f(0x193)],{collection:_0xf399d7}=this[_0x54b50f(0x2fb)]['createCollectionWithDataRange']({'unitId':_0x4f55c3[_0x54b50f(0x196)],'sheetName':_0x4f55c3[_0x54b50f(0x283)],'subUnitId':_0x4f55c3[_0x54b50f(0x3af)],'range':_0x4f55c3['range']}),_0x3fd3a9=new _0x22acd5(_0xf399d7,void 0x0,_0x41bff5),_0x49bd45=_0x3fd3a9[_0x54b50f(0x339)](),_0x524055=_0x3fd3a9['toJSON'](),_0x730c6e=_0xf399d7[_0x54b50f(0x37b)]();_0x509e23['addPivotTable']={'view':_0x49bd45,'fieldsConfig':_0x524055,'collectionConfig':_0x730c6e,'isEmpty':_0x3fd3a9[_0x54b50f(0x252)]()};}break;case J['MovePivotField']:{const _0x4463c1=_0x10a072['params'][_0x54b50f(0x191)];if(!_0x4463c1)return;const {fieldId:_0x1e8bc3,area:_0x1e4ea8,index:_0x346849}=_0x4463c1,_0x49556=this[_0x54b50f(0x2fb)]['getPivotTableConfig'](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x49556)return;const _0x789a07=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x1d3)](_0x29205d);if(!_0x789a07)return;_0x789a07[_0x54b50f(0x1cf)]();const {area:_0x3d370f,index:_0xc8f027}=_0x789a07[_0x54b50f(0x1eb)](_0x1e8bc3);if(_0x789a07[_0x54b50f(0x364)](_0x1e8bc3,_0x1e4ea8,_0x346849),_0x1e4ea8===_0x5658a3[_0x54b50f(0x276)]&&_0x789a07[_0x54b50f(0x29c)](_0x1e8bc3)[_0x54b50f(0x218)]()===void 0x0){const _0x1efb8e=_0x789a07[_0x54b50f(0x29c)](_0x1e8bc3);if(_0x1efb8e&&_0x1efb8e[_0x54b50f(0x218)]()===void 0x0){const _0x2dcf67=_0x789a07[_0x54b50f(0x2cf)](_0x1e8bc3);if(_0x2dcf67){const _0x5a5960=_0x2dcf67==null?void 0x0:_0x2dcf67['getFieldDataType']();_0x789a07['setSubtotalType'](_0x1e8bc3,_0x5a5960===_0x3192d7[_0x54b50f(0x2cb)]?_0x28e6a9['sum']:_0x28e6a9[_0x54b50f(0x372)]);}}}const _0x3a3bdc=_0x789a07[_0x54b50f(0x2c4)](),_0x128334=_0x789a07[_0x54b50f(0x2b0)](),_0xe75465=_0x789a07['getFieldCountByArea'](_0x5658a3[_0x54b50f(0x276)])>0x1;if(_0xe75465&&_0x3d370f===_0x1e4ea8&&(_0x1e4ea8===_0x5658a3[_0x54b50f(0x291)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x291)]||_0x1e4ea8===_0x5658a3[_0x54b50f(0x255)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x255)])){let _0xa72aba=_0x128334;_0xc8f027<=_0x128334&&_0xa72aba--,_0x346849<=_0x128334&&_0xa72aba++,_0x789a07[_0x54b50f(0x3c9)](_0x3a3bdc,_0xa72aba);}else _0xe75465&&(_0x3d370f===_0x5658a3[_0x54b50f(0x291)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x291)]||_0x3d370f===_0x5658a3[_0x54b50f(0x255)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x255)])&&_0x128334>=_0xc8f027&&_0x789a07[_0x54b50f(0x3c9)](_0x3a3bdc,_0x128334-0x1),_0xe75465&&(_0x1e4ea8===_0x5658a3[_0x54b50f(0x291)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x291)]||_0x1e4ea8===_0x5658a3[_0x54b50f(0x255)]&&_0x3a3bdc===_0xcffe0c[_0x54b50f(0x255)])&&_0x128334>=_0x346849&&_0x789a07[_0x54b50f(0x3c9)](_0x3a3bdc,_0x128334+0x1);const _0x3b86c5=_0x789a07[_0x54b50f(0x339)](),_0x1d5f48=_0x789a07[_0x54b50f(0x252)](),_0x1fa9d4=_0x789a07[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x191)]={'view':_0x3b86c5[_0x54b50f(0x37b)](),'changesets':_0x1fa9d4,'isEmpty':_0x1d5f48,'pivotTableConfig':_0x49556};}break;case J[_0x54b50f(0x29a)]:{const _0x1576df=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x1e3)];if(!_0x1576df)return;const _0x37ccd5=_0x1576df['fieldIds'],_0x51a135=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x51a135)return!0x1;const _0x556206=this[_0x54b50f(0x2fb)]['getPivotTableInstance'](_0x29205d);if(!_0x556206)return!0x1;_0x556206[_0x54b50f(0x1cf)]();for(const _0xa803ac of _0x37ccd5){const {area:_0x53e270}=_0x556206['getFieldPositionInfoById'](_0xa803ac);_0x53e270===_0x5658a3[_0x54b50f(0x276)]&&_0x556206[_0x54b50f(0x16e)](_0xa803ac),(_0x53e270===_0x5658a3['Row']||_0x53e270===_0x5658a3[_0x54b50f(0x255)])&&_0x556206[_0x54b50f(0x2d5)](_0xa803ac),_0x556206['removeField'](_0xa803ac);}const _0x4a2406=_0x556206[_0x54b50f(0x252)](),_0x2767a2=_0x556206[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x368e02=_0x556206[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x1e3)]={'changesets':_0x368e02,'pivotTableConfig':_0x51a135,'isEmpty':_0x4a2406,'view':_0x2767a2};}break;case J[_0x54b50f(0x21c)]:{const _0x45321c=_0x10a072['params']['setPivotFilter'];if(!_0x45321c)return;const {tableFieldId:_0x2f203c,items:_0x534bc1,isAll:_0x190799}=_0x45321c,_0x1a0077=this[_0x54b50f(0x2fb)]['getPivotTableInstance'](_0x29205d),_0x45238d=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x1a0077||!_0x45238d)return;_0x1a0077[_0x54b50f(0x1cf)](),_0x1a0077['setLabelFilterInfo'](_0x2f203c,{'type':_0x853ba3['ManualFilter'],'list':_0x534bc1,'isAll':_0x190799});const _0x1cbfaa=_0x1a0077['isEmpty'](),_0x404702=_0x1a0077[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x5b2c22=_0x1a0077[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x1be)]={'view':_0x404702,'changesets':_0x5b2c22,'isEmpty':_0x1cbfaa,'pivotTableConfig':_0x45238d};}break;case J[_0x54b50f(0x20a)]:{const _0xa67a4c=_0x10a072[_0x54b50f(0x1b0)]['setValuePivotFilter'];if(!_0xa67a4c)return;const {tableFieldId:_0x1ab24a,filterInfo:_0x400eee}=_0xa67a4c,_0x462ac8=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x1d3)](_0x29205d),_0x41d26b=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x462ac8||!_0x41d26b)return;_0x462ac8[_0x54b50f(0x1cf)](),_0x462ac8['setValueFilterInfo'](_0x1ab24a,_0x400eee);const _0x475033=_0x462ac8[_0x54b50f(0x252)](),_0x203d19=_0x462ac8[_0x54b50f(0x339)]()['toJSON'](),_0x32991f=_0x462ac8['endCollectChangeset']();_0x509e23[_0x54b50f(0x167)]={'view':_0x203d19,'changesets':_0x32991f,'isEmpty':_0x475033,'pivotTableConfig':_0x41d26b};}break;case J[_0x54b50f(0x194)]:{const _0x5cfd88=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x216)];if(!_0x5cfd88)return;const {tableFieldId:_0x3d83e6,info:_0x296a77}=_0x5cfd88,_0xc99d91=this[_0x54b50f(0x2fb)]['getPivotTableInstance'](_0x29205d),_0x1e1f82=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0xc99d91||!_0x1e1f82)return;_0xc99d91[_0x54b50f(0x1cf)](),_0xc99d91['setSortInfo'](_0x3d83e6,_0x296a77);const _0x3bedaf=_0xc99d91[_0x54b50f(0x252)](),_0x35558d=_0xc99d91[_0x54b50f(0x339)]()['toJSON'](),_0x57f14f=_0xc99d91[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x216)]={'view':_0x35558d,'changesets':_0x57f14f,'isEmpty':_0x3bedaf,'pivotTableConfig':_0x1e1f82};}break;case J['SetPivotSetting']:{const _0xd90783=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x2ee)];if(!_0xd90783)return;const {tableFieldId:_0x5e2dd4,displayName:_0x38b19d,subtotalType:_0x4f1b8a,format:_0x4796c2}=_0xd90783,_0x4d21bf=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d),_0x3ace79=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x4d21bf||!_0x3ace79)return;_0x4d21bf[_0x54b50f(0x1cf)](),_0x38b19d!==void 0x0&&_0x4d21bf[_0x54b50f(0x16f)](_0x5e2dd4,_0x38b19d),_0x4f1b8a!==void 0x0&&_0x4d21bf['setSubtotalType'](_0x5e2dd4,_0x4f1b8a),_0x4796c2!==void 0x0&&_0x4d21bf[_0x54b50f(0x1da)](_0x5e2dd4,_0x4796c2);const _0x45b495=_0x4d21bf[_0x54b50f(0x252)](),_0x251519=_0x4d21bf[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x546e61=_0x4d21bf['endCollectChangeset']();_0x509e23[_0x54b50f(0x2ee)]={'changesets':_0x546e61,'pivotTableConfig':_0x3ace79,'isEmpty':_0x45b495,'view':_0x251519};}break;case J[_0x54b50f(0x3b2)]:{const _0x293ffd=_0x10a072['params'][_0x54b50f(0x3da)];if(!_0x293ffd)return;const {dataRangeInfo:_0x2b0707,unitId:_0x58052b,subUnitId:_0x17eb2a}=_0x293ffd,_0x546e89=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x58052b,_0x17eb2a,_0x29205d),_0x4a973d=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d);if(!this[_0x54b50f(0x2fb)][_0x54b50f(0x1d5)](_0x58052b,_0x29205d)||!_0x4a973d||!_0x546e89)return;const _0x1c83b7=this[_0x54b50f(0x2fb)][_0x54b50f(0x33c)](_0x58052b,_0x29205d,_0x2b0707),_0x147ada=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d5)](_0x58052b,_0x29205d)[_0x54b50f(0x37b)](),{collection:_0x12cdbd}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x2b0707[_0x54b50f(0x196)],'sheetName':_0x2b0707['sheetName'],'subUnitId':_0x2b0707[_0x54b50f(0x3af)],'range':_0x2b0707[_0x54b50f(0x30d)]}),_0xe238ff=_0x12cdbd['toJSON']();_0x4a973d['startCollectChangeset']();const _0x2f7adc=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x2be)](_0x58052b)[_0x54b50f(0x20c)]()||_0x271d9b;_0x4a973d[_0x54b50f(0x24b)](_0xabfeb1=>{const _0x21750d=_0x54b50f,_0x4373e4=_0xabfeb1['getDataFieldId']();if(!_0x12cdbd[_0x21750d(0x3c4)](_0x4373e4)){const _0x5a9cbb=_0x12cdbd[_0x21750d(0x39b)](_0xabfeb1[_0x21750d(0x32e)]());if(_0x5a9cbb){_0x4a973d['updateFieldSourceInfo'](_0xabfeb1[_0x21750d(0x3b1)](),_0x5a9cbb[_0x21750d(0x336)](),_0x5a9cbb[_0x21750d(0x3b1)]());const {area:_0x9ef0d9}=_0x4a973d[_0x21750d(0x1eb)](_0xabfeb1[_0x21750d(0x3b1)]());let _0xf895cc=_0xabfeb1[_0x21750d(0x32e)]();const _0x408c97=_0xabfeb1[_0x21750d(0x1a0)]();if(_0x9ef0d9===_0x5658a3[_0x21750d(0x276)]){const _0x297aba=_0xabfeb1[_0x21750d(0x218)]();_0xf895cc=_0x2f7adc(_0x5a9cbb[_0x21750d(0x336)](),_0x297aba);}_0x408c97!==_0xf895cc&&_0x4a973d[_0x21750d(0x16f)](_0xabfeb1[_0x21750d(0x3b1)](),_0xf895cc);}else _0x4a973d[_0x21750d(0x31c)](_0xabfeb1[_0x21750d(0x3b1)]());}});const _0x54016a=_0x4a973d[_0x54b50f(0x252)](),_0x47cd51=_0x4a973d[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x536b71=_0x4a973d[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x3da)]={'view':_0x47cd51,'changesets':_0x536b71,'isEmpty':_0x54016a,'pivotTableConfig':_0x546e89,'collectionConfig':_0xe238ff,'oldCollectionConfig':_0x147ada,'deleteIds':_0x1c83b7};}break;case J[_0x54b50f(0x296)]:{const _0x14ea1b=_0x10a072[_0x54b50f(0x1b0)][_0x54b50f(0x3c9)];if(!_0x14ea1b)return;const {position:_0x2ee23c,index:_0x1400ed}=_0x14ea1b,_0x518163=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x518163)return!0x1;const _0x4f724c=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d);if(!_0x4f724c)return!0x1;_0x4f724c[_0x54b50f(0x1cf)](),_0x4f724c['updateValuePosition'](_0x2ee23c,_0x1400ed);const _0x15acd3=_0x4f724c[_0x54b50f(0x252)](),_0x4a5f5e=_0x4f724c[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x2caa8a=_0x4f724c[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x3c9)]={'changesets':_0x2caa8a,'pivotTableConfig':_0x518163,'isEmpty':_0x15acd3,'view':_0x4a5f5e};}break;case J[_0x54b50f(0x1d7)]:{const _0x2d2a9b=_0x10a072[_0x54b50f(0x1b0)]['setPivotCollapse'];if(!_0x2d2a9b)return;const {tableFieldId:_0x3e88df,collapse:_0x137de6,item:_0x1ee0a6}=_0x2d2a9b,_0xbf4287=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d),_0xa36d6c=this[_0x54b50f(0x2fb)][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0xbf4287||!_0xa36d6c)return;_0xbf4287[_0x54b50f(0x1cf)](),_0xbf4287[_0x54b50f(0x209)](_0x3e88df,_0x137de6,_0x1ee0a6);const _0x34cad3=_0xbf4287['isEmpty'](),_0x269e51=_0xbf4287[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x1a446d=_0xbf4287[_0x54b50f(0x195)]();_0x509e23['setPivotCollapse']={'view':_0x269e51,'isEmpty':_0x34cad3,'pivotTableConfig':_0xa36d6c,'changesets':_0x1a446d};}break;case J['SetPivotTableConfig']:{const _0x28ecb6=_0x10a072['params']['setPivotTableConfig'];if(!_0x28ecb6)return;const {pivotTableConfig:_0x5c1397}=_0x28ecb6,_0x4d7e0e=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d),_0x3a5ae2=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x4d7e0e||!_0x3a5ae2)return;_0x4d7e0e['startCollectChangeset'](),Ki(_0x4d7e0e,_0x5c1397);const _0x48cb47=_0x4d7e0e[_0x54b50f(0x252)](),_0x52dbd1=_0x4d7e0e[_0x54b50f(0x339)]()[_0x54b50f(0x37b)](),_0x715bc=_0x4d7e0e[_0x54b50f(0x195)]();_0x509e23['setPivotTableConfig']={'view':_0x52dbd1,'isEmpty':_0x48cb47,'pivotTableConfig':{..._0x3a5ae2,'fieldsConfig':_0x4d7e0e['toJSON']()},'changesets':_0x715bc};}break;case J[_0x54b50f(0x35e)]:{const _0x4cc9d6=_0x10a072[_0x54b50f(0x1b0)]['resetPivotTable'];if(!_0x4cc9d6)return;const _0x45d748=this[_0x54b50f(0x2fb)][_0x54b50f(0x1d3)](_0x29205d),_0x26e3a9=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x38a)](_0x2fd413,_0x2ddb7c,_0x29205d);if(!_0x45d748||!_0x26e3a9)return;_0x45d748[_0x54b50f(0x1cf)](),ji(_0x45d748,_0x4cc9d6[_0x54b50f(0x1c5)]);const _0x1f3114=_0x45d748[_0x54b50f(0x339)]()['toJSON'](),_0x34712c=_0x45d748[_0x54b50f(0x195)]();_0x509e23[_0x54b50f(0x3a2)]={'view':_0x1f3114,'isEmpty':!0x0,'pivotTableConfig':{..._0x26e3a9,'fieldsConfig':_0x45d748[_0x54b50f(0x37b)]()},'changesets':_0x34712c};}break;case J[_0x54b50f(0x22e)]:{const _0xa8a9db=_0x10a072['params'][_0x54b50f(0x174)];if(!_0xa8a9db)return;const _0x254b0f=_0xa8a9db[_0x54b50f(0x2d8)],_0x487d9f=_0xa8a9db[_0x54b50f(0x193)],{collection:_0x32051b}=this[_0x54b50f(0x2fb)][_0x54b50f(0x385)]({'unitId':_0x254b0f[_0x54b50f(0x196)],'sheetName':_0x254b0f[_0x54b50f(0x283)],'subUnitId':_0x254b0f[_0x54b50f(0x3af)],'range':_0x254b0f['range']}),_0xfd4202=new _0x22acd5(_0x32051b,void 0x0,_0x487d9f),_0x578051=_0x32051b[_0x54b50f(0x1c8)](),{rows:_0x4aeacd,columns:_0x426afd,filters:_0x294363,values:_0x582bc4}=_0xa8a9db[_0x54b50f(0x25c)];_0xfd4202[_0x54b50f(0x1cf)]();for(const {field:_0xb43a58,selectedItems:_0xfbf5b5}of _0x4aeacd||[]){const _0xb0c473=_0x578051[_0xb43a58];if(_0xb0c473){const _0x43796f=_0xfd4202[_0x54b50f(0x286)](_0xb0c473,_0x5658a3[_0x54b50f(0x291)]);_0xfbf5b5&&_0x43796f&&_0xfd4202[_0x54b50f(0x361)](_0x43796f[_0x54b50f(0x3b1)](),{'type':_0x853ba3[_0x54b50f(0x346)],'list':_0xfbf5b5,'isAll':!0x1});}}for(const {field:_0x4a8c71,selectedItems:_0x87eb8d}of _0x426afd||[]){const _0x317fb5=_0x578051[_0x4a8c71];if(_0x317fb5){const _0x2c1bda=_0xfd4202[_0x54b50f(0x286)](_0x317fb5,_0x5658a3[_0x54b50f(0x255)]);_0x87eb8d&&_0x2c1bda&&_0xfd4202[_0x54b50f(0x361)](_0x2c1bda[_0x54b50f(0x3b1)](),{'type':_0x853ba3['ManualFilter'],'list':_0x87eb8d,'isAll':!0x1});}}for(const {field:_0x5e9b79,selectedItems:_0x40e35b}of _0x294363||[]){const _0x5f44aa=_0x578051[_0x5e9b79];if(_0x5f44aa){const _0x2ab47c=_0xfd4202[_0x54b50f(0x286)](_0x5f44aa,_0x5658a3[_0x54b50f(0x285)]);_0x40e35b&&_0x2ab47c&&_0xfd4202[_0x54b50f(0x361)](_0x2ab47c[_0x54b50f(0x3b1)](),{'type':_0x853ba3[_0x54b50f(0x346)],'list':_0x40e35b,'isAll':!0x1});}}for(const {field:_0xef7703,subTotalType:_0x2857a9,formatString:_0x122e6f}of _0x582bc4||[]){const _0x216144=_0x32051b[_0x54b50f(0x18c)](_0x578051[_0xef7703]);if(!_0x216144)continue;const _0x38c1ce=_0x578051[_0xef7703];if(_0x38c1ce){const _0xa84ebc=_0xfd4202['addFieldWithSourceId'](_0x38c1ce,_0x5658a3[_0x54b50f(0x276)]);if(_0xa84ebc){if(_0x2857a9!==void 0x0){_0xfd4202[_0x54b50f(0x1ef)](_0xa84ebc['getId'](),_0x2857a9);const _0x3da25f=this['_sheetsPivotDataSourceModel'][_0x54b50f(0x2be)](_0x254b0f[_0x54b50f(0x196)])[_0x54b50f(0x20c)]()||_0x271d9b,_0x1fb6ba=_0x32051b[_0x54b50f(0x1a0)](_0x38c1ce),_0xd64463=_0x3da25f(_0x1fb6ba,_0x2857a9);_0xfd4202[_0x54b50f(0x16f)](_0xa84ebc[_0x54b50f(0x3b1)](),_0xd64463);}else{if(_0x216144){const _0x161bc8=_0x216144==null?void 0x0:_0x216144[_0x54b50f(0x3c6)]();_0xfd4202[_0x54b50f(0x1ef)](_0xa84ebc[_0x54b50f(0x3b1)](),_0x161bc8===_0x3192d7[_0x54b50f(0x2cb)]?_0x28e6a9[_0x54b50f(0x2bb)]:_0x28e6a9[_0x54b50f(0x372)]);}}_0x122e6f&&_0xfd4202[_0x54b50f(0x1da)](_0xa84ebc[_0x54b50f(0x3b1)](),_0x122e6f);}}}const _0x21811d=_0xfd4202[_0x54b50f(0x339)](),_0x3c6ca2=_0xfd4202[_0x54b50f(0x37b)](),_0x549b32=_0xfd4202[_0x54b50f(0x252)](),_0x2f443f=_0xfd4202['endCollectChangeset'](),_0x49566f=_0x32051b[_0x54b50f(0x37b)]();_0x509e23[_0x54b50f(0x174)]={'view':_0x21811d,'fieldsConfig':_0x3c6ca2,'collectionConfig':_0x49566f,'isEmpty':_0x549b32,'changesets':_0x2f443f};}break;case J[_0x54b50f(0x1ee)]:{const _0x4667b0=xi(this['_injector'],_0x10a072);if(!_0x4667b0)return;const {range:_0x2bba59,sourceSubUnitId:_0x5c96b6,sourceUnitId:_0x3c89fa,formatMap:_0x4c77a3,indexes:_0x5cfbcb}=_0x4667b0;_0x509e23[_0x54b50f(0x1bc)]={'range':_0x2bba59,'sourceSubUnitId':_0x5c96b6,'sourceUnitId':_0x3c89fa,'formatMap':_0x4c77a3,'indexes':_0x5cfbcb};}break;}this['_commandService'][_0x54b50f(0x2e1)](lo['id'],{'version':_0x10a072[_0x54b50f(0x2a8)],'result':_0x509e23},{'onlyLocal':!0x0});}));}[_0x163919(0x301)](){const _0x30fefb=_0x163919;this[_0x30fefb(0x398)](this[_0x30fefb(0x355)][_0x30fefb(0x3df)](_0x1a9aae=>{const _0x96fab2=_0x30fefb;if(_0x1a9aae['id']!==uo['id'])return;const _0x30916e=_0x1a9aae[_0x96fab2(0x1b0)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x30916e[_0x96fab2(0x1bd)]),!0x0;}));}['_subjectCollectionChange'](){const _0x5c23a8=_0x163919;this[_0x5c23a8(0x2fb)][_0x5c23a8(0x1ff)][_0x5c23a8(0x34f)](_0x4d0e2f=>{const _0x47a15e=_0x5c23a8;switch(_0x4d0e2f['type']){case Be['add']:_0x4d0e2f[_0x47a15e(0x23a)]&&_0x4d0e2f['targetCellInfo']&&this[_0x47a15e(0x189)](_0x4d0e2f[_0x47a15e(0x3e0)],_0x4d0e2f['dataRangeInfo'],_0x4d0e2f['targetCellInfo']);break;case Be[_0x47a15e(0x31b)]:{const {unitId:_0x4bb31d,subUnitId:_0x3bb776,token:_0x30c07a}=_0x4d0e2f;_0x4bb31d&&_0x3bb776&&_0x30c07a&&this[_0x47a15e(0x366)](_0x4bb31d,_0x3bb776,_0x30c07a);}break;case Be[_0x47a15e(0x370)]:{const {token:_0x194665,oldSourceRangeInfo:_0x41f61d,dataRangeInfo:_0x14c6aa,targetCellInfo:_0x4daabe}=_0x4d0e2f,{unitId:_0x48a373,subUnitId:_0x64ed82}=_0x41f61d||{};_0x48a373&&_0x64ed82&&_0x194665&&this[_0x47a15e(0x366)](_0x48a373,_0x64ed82,_0x194665),_0x14c6aa&&_0x4daabe&&this[_0x47a15e(0x189)](_0x194665,_0x14c6aa,_0x4daabe);}break;}});}[_0x163919(0x2fa)](){const _0x66cb02=_0x163919;this['_sheetsPivotDataSourceModel'][_0x66cb02(0x16a)]['subscribe'](_0x15350a=>{const _0x591e90=_0x66cb02;Object['keys'](_0x15350a)[_0x591e90(0x1f1)](_0x4e7ac3=>{const _0x532fc9=_0x591e90,_0x30a864=this[_0x532fc9(0x2fb)][_0x532fc9(0x387)](_0x4e7ac3);if(_0x30a864){const _0x41cb49=this[_0x532fc9(0x2fb)][_0x532fc9(0x38a)](_0x30a864==null?void 0x0:_0x30a864[_0x532fc9(0x196)],_0x30a864==null?void 0x0:_0x30a864[_0x532fc9(0x3af)],_0x4e7ac3);_0x41cb49&&(this[_0x532fc9(0x189)](_0x4e7ac3,_0x41cb49['sourceRangeInfo'],_0x41cb49['targetCellInfo']),this[_0x532fc9(0x3db)]([{'unitId':_0x30a864[_0x532fc9(0x196)],'subUnitId':_0x30a864['subUnitId'],'token':_0x4e7ac3}]));}});});}[_0x163919(0x2df)](){const _0x1f1e04=_0x163919;this[_0x1f1e04(0x2fb)][_0x1f1e04(0x1b7)][_0x1f1e04(0x34f)](_0x3368b8=>{const _0x353717=_0x1f1e04,{unitId:_0x2dee1f,subUnitId:_0xc76ee3,pivotTableId:_0x378943}=_0x3368b8;_0x2dee1f&&_0xc76ee3&&_0x378943&&this[_0x353717(0x3db)]([{'unitId':_0x2dee1f,'subUnitId':_0xc76ee3,'token':_0x378943}]);});}[_0x163919(0x3db)](_0x1961d8){const _0x43d818=_0x163919,_0x199f95={};_0x1961d8[_0x43d818(0x1f1)](_0x55490f=>{var _0x242fdf,_0x396ed6;const {unitId:_0x20c22d,subUnitId:_0x3ff193,token:_0x3385c4}=_0x55490f;_0x199f95[_0x20c22d]=(_0x242fdf=_0x199f95[_0x20c22d])!=null?_0x242fdf:{},_0x199f95[_0x20c22d][_0x3ff193]=(_0x396ed6=_0x199f95[_0x20c22d][_0x3ff193])!=null?_0x396ed6:{},_0x199f95[_0x20c22d][_0x3ff193][_0x3385c4]=!0x0;}),this[_0x43d818(0x355)][_0x43d818(0x2e1)](Et['id'],_0x199f95);}[_0x163919(0x366)](_0x3f6b88,_0x4c43f8,_0x2a2ec7){const _0xe8031e=_0x163919;this[_0xe8031e(0x2d6)][_0xe8031e(0x1b9)](_0x3f6b88,_0x4c43f8,[_0x2a2ec7]);}[_0x163919(0x189)](_0x2c8100,_0x18d282,_0x5e8636){const _0x253ae4=_0x163919,{unitId:_0x5b1cba,subUnitId:_0x5b14e2}=_0x18d282;this[_0x253ae4(0x2d6)][_0x253ae4(0x326)](_0x5e8636[_0x253ae4(0x196)],_0x5e8636[_0x253ae4(0x3af)],_0x2c8100)&&this[_0x253ae4(0x366)](_0x5b1cba,_0x5b14e2,_0x2c8100);const _0x3b281f={'sheetId':_0x5b14e2,..._0x18d282};this[_0x253ae4(0x2d6)]['register'](_0x5e8636[_0x253ae4(0x196)],_0x5e8636[_0x253ae4(0x3af)],_0x2c8100,{'unitId':_0x5e8636['unitId'],'subUnitId':_0x5e8636['subUnitId'],'dependencyRanges':[_0x3b281f],'getDirtyData':(_0x56462b,_0x1b3454)=>{const _0xdd95da=_0x253ae4,_0x2dac20=this[_0xdd95da(0x2fb)],_0x1d49b3=_0x2dac20[_0xdd95da(0x387)](_0x2c8100);if(!_0x1d49b3)return As();const {unitId:_0x15d5e7,subUnitId:_0x313310}=_0x1d49b3,_0x5302b6=Vs(_0x56462b,_0x1b3454,_0x18d282);if(_0x5302b6['length']>0x0){const _0x221e07=_0x2dac20['getCollection'](_0x5b1cba,_0x2c8100),_0x218e5a=_0x221e07['getFieldIds'](),_0x197390=this['getMatrixFromRunTimeData'](_0x18d282[_0xdd95da(0x196)],_0x18d282['subUnitId'],_0x1b3454),_0x2787f4={},_0x2f7e81=this[_0xdd95da(0x2fb)][_0xdd95da(0x2be)](_0x15d5e7)[_0xdd95da(0x20c)]()||_0x271d9b,_0x42b8de=[];for(const _0x3b8930 of _0x5302b6){const _0x3b2b94=_0x3b8930-(_0x18d282['range'][_0xdd95da(0x2c8)]||0x0),_0x36c7ef=_0x218e5a[_0x3b2b94];_0x42b8de[_0xdd95da(0x338)](_0x36c7ef),_0x2787f4[_0x36c7ef]=_0x221e07['getFieldById'](_0x36c7ef)['getName'](),_0x2dac20[_0xdd95da(0x2be)](_0x5b1cba)[_0xdd95da(0x2e0)](_0x36c7ef,_0x18d282,_0x3b2b94,_0x197390);}_0x221e07[_0xdd95da(0x172)](_0x42b8de)['forEach'](_0x4b832e=>{const _0x265a1f=_0xdd95da,[_0x2da7d4,_0x4f2cdb]=_0x4b832e,_0x24fc55=_0x221e07[_0x265a1f(0x18c)](_0x2da7d4),_0x160c30=_0x221e07[_0x265a1f(0x18c)](_0x4f2cdb);_0x24fc55&&_0x160c30&&_0x24fc55[_0x265a1f(0x26e)](_0x160c30);}),_0x221e07['updateAllDisplayName']();const _0xe72d78=_0x2dac20['getPivotTableInstance'](_0x2c8100);if(_0xe72d78){Us(_0xe72d78,_0x2787f4,_0x2f7e81),_0xe72d78['setDirty'](!0x0);const _0x3c9b20=_0xe72d78['query'](),_0x537fd3=_0x2dac20[_0xdd95da(0x38a)](_0x15d5e7,_0x313310,_0x2c8100),_0x711e3e=_0x2dac20['getDataFieldManager'](_0x5b1cba)[_0xdd95da(0x37b)]();_0x2dac20[_0xdd95da(0x3e7)](_0x15d5e7,_0x313310,L['Set'],_0x2c8100,_0x3c9b20,_0x537fd3,_0x711e3e,!0x0);}}return this[_0xdd95da(0x265)](_0x15d5e7,_0x313310,_0x2c8100);}});}['getMatrixFromRunTimeData'](_0x4d7371,_0x5841d6,_0x13c058){var _0x584a59,_0x36fddd;const {arrayFormulaCellData:_0x3e1d79,unitData:_0x4468e8}=_0x13c058,_0x368baf=(_0x584a59=_0x3e1d79==null?void 0x0:_0x3e1d79[_0x4d7371])==null?void 0x0:_0x584a59[_0x5841d6],_0x47b6a5=(_0x36fddd=_0x4468e8==null?void 0x0:_0x4468e8[_0x4d7371])==null?void 0x0:_0x36fddd[_0x5841d6];return{'arrayFormulaCellDataMatrix':_0x368baf,'unitDataMatrix':_0x47b6a5};}['getDirtyInfo'](_0x4d53a4,_0x4f4e2f,_0x533d6a){const _0xacbcb7=_0x163919,_0x4f404e=this['_sheetsPivotDataSourceModel']['getViewData'](_0x4d53a4,_0x4f4e2f,_0x533d6a),_0x456c38=[],_0x2f455f=new _0x13addc();if(_0x4f404e){const {rangeCache:_0x506213,matrix:_0x15e2bb,oldRangeCache:_0x21941b,oldMatrix:_0x294c7f}=_0x4f404e,_0x58ad30=Lt(_0x21941b),_0x361e57=Lt(_0x506213);_0x456c38[_0xacbcb7(0x338)](..._0x361e57,..._0x58ad30),_0x294c7f&&_0x21941b&&_0x58ad30['forEach'](_0x5f0b86=>{const _0x38f728=_0xacbcb7;for(let _0x3bd745=_0x5f0b86['startRow'];_0x3bd745<=_0x5f0b86[_0x38f728(0x1a6)];_0x3bd745++)for(let _0x254a94=_0x5f0b86[_0x38f728(0x2c8)];_0x254a94<=_0x5f0b86[_0x38f728(0x1c4)];_0x254a94++)_0x2f455f[_0x38f728(0x1ad)](_0x3bd745,_0x254a94);}),_0x15e2bb&&_0x361e57&&_0x361e57[_0xacbcb7(0x1f1)](_0x23f0d6=>{const _0x3e0521=_0xacbcb7;for(let _0x31ea16=_0x23f0d6[_0x3e0521(0x3d1)];_0x31ea16<=_0x23f0d6['endRow'];_0x31ea16++)for(let _0x19ea41=_0x23f0d6[_0x3e0521(0x2c8)];_0x19ea41<=_0x23f0d6[_0x3e0521(0x1c4)];_0x19ea41++)_0x2f455f['setValue'](_0x31ea16,_0x19ea41,_0x15e2bb[_0x3e0521(0x3d9)](_0x31ea16,_0x19ea41));});}const _0x467f92={};return _0x467f92[_0x4d53a4]={[_0x4f4e2f]:Os(_0x456c38)},{'runtimeCellData':{[_0x4d53a4]:{[_0x4f4e2f]:_0x2f455f}},'dirtyRanges':_0x467f92};}[_0x163919(0x2ce)](){}};ct=Es([He(0x0,_0x86a91c($)),He(0x1,_0x197f4e),He(0x2,_0x86a91c(_0x1cb3a3)),He(0x3,_0x86a91c(_0x27f7ca)),He(0x4,_0x86a91c(_0x2ccb02)),He(0x5,_0x86a91c(_0x207bcc))],ct);var xs=Object[_0x163919(0x1f0)],Js=(_0xe5b67f,_0x5ac3e6,_0x1a0871,_0x38b9a8)=>{const _0x162fcd=_0x163919;for(var _0x3d1f12=_0x38b9a8>0x1?void 0x0:_0x38b9a8?xs(_0x5ac3e6,_0x1a0871):_0x5ac3e6,_0x3511c3=_0xe5b67f[_0x162fcd(0x3cc)]-0x1,_0x2907ca;_0x3511c3>=0x0;_0x3511c3--)(_0x2907ca=_0xe5b67f[_0x3511c3])&&(_0x3d1f12=_0x2907ca(_0x3d1f12)||_0x3d1f12);return _0x3d1f12;},_t=(_0x55258e,_0x15ac34)=>(_0x333ff6,_0x478afb)=>_0x15ac34(_0x333ff6,_0x478afb,_0x55258e);let dt=class extends _0x5647fd{constructor(_0x1a255d,_0x3cce85,_0x5d842c,_0x25e0c5){const _0x3b3387=_0x163919;super(),A(this,_0x3b3387(0x27e),new _0x327857()),(this['_univerInstanceService']=_0x1a255d,this[_0x3b3387(0x197)]=_0x3cce85,this[_0x3b3387(0x308)]=_0x5d842c,this[_0x3b3387(0x17e)]=_0x25e0c5,this[_0x3b3387(0x1fa)]());}[_0x163919(0x1fa)](){const _0x4eecf7=_0x163919;this[_0x4eecf7(0x398)](this['_sheetInterceptorService'][_0x4eecf7(0x18f)]({'getMutations':_0x114643=>{const _0x1b126c=_0x4eecf7;if(_0x114643['id']===_0x57f519['id']||_0x114643['id']===_0x20739a['id']){const _0x49701c=[],_0x495913=[],_0x96582d=this[_0x1b126c(0x308)][_0x1b126c(0x26b)]()[_0x1b126c(0x295)](_0x19fae5=>_0x19fae5['range']),_0x267eaa=_0x3d7c14(this[_0x1b126c(0x1b8)]);if(!_0x267eaa)return{'redos':[],'undos':[]};const {unitId:_0x51c7ea,subUnitId:_0x17a706}=_0x267eaa,_0x18c3bb={},_0x226669=this[_0x1b126c(0x17e)][_0x1b126c(0x300)](_0x51c7ea,_0x17a706);if(_0x226669!=null&&_0x226669['size'])for(const [_0x3522b9,_0x2a8bf5]of _0x226669){const {unitId:_0x4af525,subUnitId:_0x4d9e29,row:_0x1f0d28,col:_0x3076b4}=_0x2a8bf5[_0x1b126c(0x33e)];_0x4af525===_0x267eaa[_0x1b126c(0x196)]&&_0x4d9e29===_0x267eaa[_0x1b126c(0x3af)]&&(_0x18c3bb[_0x1f0d28+'-'+_0x3076b4]=_0x3522b9);}return _0x96582d&&_0x267eaa&&_0x96582d[_0x1b126c(0x1f1)](_0x11b89d=>{const _0x451ea1=_0x1b126c;_0x182533[_0x451ea1(0x3b8)](_0x11b89d,(_0x42e0d1,_0xb15cf)=>{const _0x3045d1=_0x451ea1,_0x5820cf=_0x42e0d1+'-'+_0xb15cf;if(_0x18c3bb[_0x5820cf]){const _0x367574=_0x18c3bb[_0x5820cf];_0x49701c['push']({'id':Vt['id'],'params':{'unitId':_0x51c7ea,'subUnitId':_0x17a706,'pivotTableId':_0x367574}});const _0x4b309b=this[_0x3045d1(0x17e)]['getCollection'](_0x51c7ea,_0x367574),_0x26f3b3=this[_0x3045d1(0x17e)]['getPivotTableConfig'](_0x51c7ea,_0x17a706,_0x367574);_0x495913[_0x3045d1(0x338)]({'id':Ct['id'],'params':{'unitId':_0x51c7ea,'subUnitId':_0x17a706,'pivotTableId':_0x367574,'pivotTableConfig':_0x26f3b3,'collectionConfig':_0x4b309b}});}});}),{'redos':_0x49701c,'undos':_0x495913};}return{'redos':[],'undos':[]};}}));}};dt=Js([_t(0x0,_0x544974),_t(0x1,_0x86a91c(_0x2d7402)),_t(0x2,_0x86a91c(_0x2ff340)),_t(0x3,_0x86a91c(he))],dt);var ks=Object[_0x163919(0x1f0)],Bs=(_0x992fd4,_0x132478,_0x1afa10,_0x4d1181)=>{const _0x4ed48c=_0x163919;for(var _0xbfbb1a=_0x4d1181>0x1?void 0x0:_0x4d1181?ks(_0x132478,_0x1afa10):_0x132478,_0x10cc71=_0x992fd4[_0x4ed48c(0x3cc)]-0x1,_0x4d39fd;_0x10cc71>=0x0;_0x10cc71--)(_0x4d39fd=_0x992fd4[_0x10cc71])&&(_0xbfbb1a=_0x4d39fd(_0xbfbb1a)||_0xbfbb1a);return _0xbfbb1a;},qe=(_0x1a3580,_0x218dae)=>(_0x50b84f,_0x2c5a69)=>_0x218dae(_0x50b84f,_0x2c5a69,_0x1a3580);let ut=class extends _0x5647fd{constructor(_0x3d995d,_0x1bb00b,_0x2e9e83,_0x5ba542,_0x2784df,_0x4de960){const _0x49dcc3=_0x163919;super(),this['_localeService']=_0x3d995d,this[_0x49dcc3(0x197)]=_0x1bb00b,this[_0x49dcc3(0x272)]=_0x2e9e83,this[_0x49dcc3(0x1b8)]=_0x5ba542,this[_0x49dcc3(0x17e)]=_0x2784df,this[_0x49dcc3(0x3bf)]=_0x4de960,this['_initCommandInterceptListener']();}[_0x163919(0x1fe)](_0x19433b,_0x144e95,_0x2e9848){const _0x521401=_0x163919,{pageView:_0x398232,cornerView:_0x4ebf6c,rowView:_0x53c69f,colView:_0x5621a4,dataView:_0x551d22}=_0x144e95,_0x4f7dca=_0x19433b;let _0x2c9423;if(_0x2e9848)_0x2c9423=[...Ji(_0x4f7dca)];else{const _0x30ce6f=ge(_0x4f7dca,_0x398232,!0x0),_0x2d06bc=_0x398232[_0x521401(0x3c5)]>=0x0?_0x398232['lastRow']+0x1:0x0,_0x51fe47=_0x4ebf6c[_0x521401(0x2ec)],_0x959e15=_0x4ebf6c['colCount'],_0x1d806a=_0x30ce6f[_0x521401(0x3cc)]>0x0?It:0x0,_0x228940=ge({'row':_0x4f7dca[_0x521401(0x2ea)]+_0x2d06bc+_0x1d806a,'col':_0x4f7dca['col']},_0x4ebf6c,!0x1,!0x1),_0x36049b=ge({'row':_0x4f7dca[_0x521401(0x2ea)]+_0x2d06bc+_0x1d806a+_0x51fe47,'col':_0x4f7dca['col']},_0x53c69f,!0x1,!0x0),_0x50669f=ge({'row':_0x4f7dca[_0x521401(0x2ea)]+_0x2d06bc+_0x1d806a,'col':_0x4f7dca[_0x521401(0x37f)]+_0x959e15},_0x5621a4,!0x1,!0x0),_0x2fb1bc=ge({'row':_0x4f7dca[_0x521401(0x2ea)]+_0x2d06bc+_0x1d806a+_0x51fe47,'col':_0x4f7dca['col']+_0x959e15},_0x551d22,!0x1,!0x0);_0x2c9423=[..._0x30ce6f,..._0x228940,..._0x36049b,..._0x50669f,..._0x2fb1bc];}return _0x2c9423;}[_0x163919(0x28d)](){const _0x3a8572=_0x163919;this[_0x3a8572(0x398)](this['_sheetsPivotTableService'][_0x3a8572(0x2a6)]['intercept'](this[_0x3a8572(0x3bf)][_0x3a8572(0x2a6)]['getInterceptPoints']()[_0x3a8572(0x2cc)],{'handler':(_0x3a92bc,_0x4b47fc)=>{const _0x4e00ef=_0x3a8572,{cellInfo:_0x19da49,view:_0xcf89db,isEmpty:_0x4ac957}=_0x4b47fc,_0x32b12f=_0x19da49,{unitId:_0x241cda,subUnitId:_0x2e7557}=_0x32b12f,_0x271d5c=this[_0x4e00ef(0x1fe)](_0x19da49,_0xcf89db,_0x4ac957),_0x5f4705=this['_sheetInterceptorService'][_0x4e00ef(0x32c)]({'unitId':_0x241cda,'subUnitId':_0x2e7557,'ranges':_0x271d5c}),_0x41a673=Ho(this[_0x4e00ef(0x272)],_0x241cda,_0x2e7557,_0x271d5c);_0x41a673[_0x4e00ef(0x266)]&&(_0x5f4705['redos'][_0x4e00ef(0x338)](_0x41a673[_0x4e00ef(0x168)]),_0x5f4705[_0x4e00ef(0x37a)][_0x4e00ef(0x338)](_0x41a673['setRangeValueUndoMutation']));const _0x1ae868=this[_0x4e00ef(0x1ab)](_0xcf89db,_0x19da49);return _0x5f4705[_0x4e00ef(0x178)][_0x4e00ef(0x338)](..._0x1ae868[_0x4e00ef(0x178)]),_0x5f4705[_0x4e00ef(0x37a)][_0x4e00ef(0x338)](..._0x1ae868[_0x4e00ef(0x37a)]),{'redos':_0x5f4705[_0x4e00ef(0x178)],'undos':_0x5f4705[_0x4e00ef(0x37a)]};}}));}['getAutoFitColumnsMutations'](_0x2a70e5,_0x6bbfb7){const _0x1f6930=_0x163919,{col:_0x8556c5,unitId:_0x2b9576,subUnitId:_0x27961e}=_0x6bbfb7,_0x4153e9=[],_0x3ea977=[],_0x207e1a=_0x3d7c14(this[_0x1f6930(0x1b8)],{'unitId':_0x2b9576,'subUnitId':_0x27961e});if(!_0x6bbfb7||!_0x2a70e5||!_0x207e1a)return{'undos':_0x3ea977,'redos':_0x4153e9};const _0x1518ee=this[_0x1f6930(0x17e)][_0x1f6930(0x307)](),{colView:_0x35c0d5,dataView:_0x516da2,cornerView:_0x471766,rowView:_0x3f3672,formatMap:_0x245815}=_0x2a70e5,_0x5489ec=yo(_0x35c0d5,_0x1518ee,!0x0,_0x245815),_0x3a83e6=yo(_0x3f3672,_0x1518ee,!0x1,_0x245815),_0x290b93=Li(_0x516da2),_0xbeb810=$i(_0x471766),{worksheet:_0x2db291}=_0x207e1a;if(typeof window<'u'&&window[_0x1f6930(0x28c)]){const _0x233c13=_0x5b321d({...fe[_0x1f6930(0x3d2)]}),_0xa398fa=_0x1ebe2a['getTextSize'](_0x5489ec,_0x233c13)[_0x1f6930(0x1f5)]+0x10,_0x78ac6=_0x1ebe2a[_0x1f6930(0x213)](_0x290b93,_0x233c13)['width'],_0x376c8b=Math[_0x1f6930(0x19f)](Math[_0x1f6930(0x3d5)](_0xa398fa,_0x78ac6))+0x10,_0x1846ef=Math[_0x1f6930(0x19f)](_0x1ebe2a['getTextSize'](_0x3a83e6,_0x233c13)['width']),_0x159de5=Math[_0x1f6930(0x19f)](_0x1ebe2a[_0x1f6930(0x213)](_0xbeb810,_0x233c13)[_0x1f6930(0x1f5)]),_0x225449=Math[_0x1f6930(0x3d5)](_0x1846ef,_0x159de5,0x28)+0xc,_0x3946d2=_0x35c0d5[_0x1f6930(0x321)]+_0x471766[_0x1f6930(0x321)],_0x1a480d={},_0x91a2a5={};for(let _0x7f50b6=_0x8556c5;_0x7f50b6<_0x8556c5+_0x3946d2;_0x7f50b6++){const _0x2b720c=_0x2db291[_0x1f6930(0x18d)](_0x7f50b6);_0x1a480d[_0x7f50b6]=_0x2b720c,_0x7f50b6-_0x8556c5<_0x471766[_0x1f6930(0x321)]?_0x91a2a5[_0x7f50b6-_0x8556c5]=_0x225449:_0x91a2a5[_0x7f50b6-_0x8556c5]=_0x376c8b;}_0x4153e9[_0x1f6930(0x338)]({'id':_0x190111['id'],'params':{'subUnitId':_0x27961e,'unitId':_0x2b9576,'ranges':[{'startColumn':_0x8556c5,'endColumn':_0x8556c5+_0x3946d2-0x1,'startRow':0x0,'endRow':_0x2db291[_0x1f6930(0x281)]()-0x1}],'colWidth':_0x91a2a5}}),_0x3ea977['push']({'id':_0x190111['id'],'params':{'subUnitId':_0x27961e,'unitId':_0x2b9576,'ranges':[{'startColumn':_0x8556c5,'endColumn':_0x8556c5+_0x3946d2-0x1,'startRow':0x0,'endRow':_0x2db291['getRowCount']()-0x1}],'colWidth':_0x1a480d}});}return{'undos':_0x3ea977,'redos':_0x4153e9};}};ut=Bs([qe(0x0,_0x86a91c(_0x407a90)),qe(0x1,_0x86a91c(_0x2d7402)),qe(0x2,_0x86a91c(_0x207bcc)),qe(0x3,_0x86a91c(_0x544974)),qe(0x4,_0x86a91c(he)),qe(0x5,_0x86a91c(ie))],ut);var Ls=Object['getOwnPropertyDescriptor'],$s=(_0x2d0457,_0x45b55a,_0x4c9723,_0x2d54fa)=>{for(var _0x3a183a=_0x2d54fa>0x1?void 0x0:_0x2d54fa?Ls(_0x45b55a,_0x4c9723):_0x45b55a,_0x1d6019=_0x2d0457['length']-0x1,_0x17091c;_0x1d6019>=0x0;_0x1d6019--)(_0x17091c=_0x2d0457[_0x1d6019])&&(_0x3a183a=_0x17091c(_0x3a183a)||_0x3a183a);return _0x3a183a;},Je=(_0x38bb34,_0x2caad6)=>(_0x2890d7,_0x2841c1)=>_0x2caad6(_0x2890d7,_0x2841c1,_0x38bb34);let ft=class extends _0x5647fd{constructor(_0xefcef5,_0x42b402,_0x15f7b3,_0x1ada10,_0x5515a0,_0x1b695a,_0x21edac){const _0x5f1fa0=_0x163919;super(),A(this,_0x5f1fa0(0x27e),new _0x327857()),(this[_0x5f1fa0(0x272)]=_0xefcef5,this[_0x5f1fa0(0x3c8)]=_0x42b402,this[_0x5f1fa0(0x355)]=_0x15f7b3,this[_0x5f1fa0(0x1b8)]=_0x1ada10,this[_0x5f1fa0(0x17e)]=_0x5515a0,this['_sheetsPivotTableAdaptorModel']=_0x1b695a,this['_sheetInterceptorService']=_0x21edac,this['_onRefRangeChange']());}['_onRefRangeChange'](){const _0x39026d=_0x163919,_0x1cb766=(_0x4da9ed,_0x6ceb86)=>{const _0x5f0f6=_0x17af,_0x33b37d=this['_univerInstanceService'][_0x5f0f6(0x3d3)](_0x2d7980[_0x5f0f6(0x348)]);if(!_0x33b37d||!(_0x33b37d==null?void 0x0:_0x33b37d[_0x5f0f6(0x25e)](_0x6ceb86)))return;this['disposableCollection'][_0x5f0f6(0x2ce)]();const _0x2c7287=_0x179cef=>this[_0x5f0f6(0x1bf)](_0x179cef,_0x4da9ed,_0x6ceb86),_0x54322c=this[_0x5f0f6(0x17e)]['getSubUnitPivotConfigs'](_0x4da9ed,_0x6ceb86);if(!(_0x54322c!=null&&_0x54322c[_0x5f0f6(0x2da)]))return;Array[_0x5f0f6(0x318)](_0x54322c[_0x5f0f6(0x201)]())[_0x5f0f6(0x295)](_0x33bd1a=>{const _0x8591a9=_0x5f0f6,{row:_0x12cd0e,col:_0x18d224}=_0x33bd1a[_0x8591a9(0x33e)];return _0x33a9b5(_0x12cd0e,_0x18d224);})[_0x5f0f6(0x1f1)](_0x37e795=>{const _0x50d7ed=_0x5f0f6;this['disposableCollection'][_0x50d7ed(0x248)](this[_0x50d7ed(0x3c8)]['registerRefRange'](_0x37e795,_0x2c7287,_0x4da9ed,_0x6ceb86));});},_0x1cd803=()=>{const _0x40e0f6=_0x17af,_0x36667e=this[_0x40e0f6(0x1b8)]['getCurrentUnitForType'](_0x2d7980['UNIVER_SHEET']);if(_0x36667e){const _0x727b0f=_0x36667e[_0x40e0f6(0x1d8)]();if(!_0x727b0f)return;_0x1cb766(_0x36667e[_0x40e0f6(0x171)](),_0x727b0f[_0x40e0f6(0x37d)]());}};this[_0x39026d(0x398)](this[_0x39026d(0x355)][_0x39026d(0x3df)](_0x588fa9=>{const _0x444033=_0x39026d;if(_0x588fa9['id']===_0x352f82['id']){const _0x2fe6c2=_0x588fa9[_0x444033(0x1b0)],_0x333918=_0x2fe6c2[_0x444033(0x3af)],_0x504978=_0x2fe6c2['unitId'];if(!_0x333918||!_0x504978)return;_0x1cb766(_0x504978,_0x333918);}})),this[_0x39026d(0x398)](this[_0x39026d(0x17e)][_0x39026d(0x325)][_0x39026d(0x34f)](_0x1ea19d=>{_0x1ea19d&&_0x1cd803();})),this['disposeWithMe'](this[_0x39026d(0x17e)][_0x39026d(0x244)]['subscribe'](_0x5d57f9=>{const _0x18950d=_0x3d7c14(this['_univerInstanceService']);if(!_0x18950d)return;const {unitId:_0x147c56,subUnitId:_0x5535c7}=_0x18950d,{unitId:_0x46ee41,subUnitId:_0x27e20c}=_0x5d57f9;_0x147c56!==_0x46ee41||_0x5535c7!==_0x27e20c||_0x1cb766(_0x147c56,_0x5535c7);})),_0x1cd803();}[_0x163919(0x1bf)](_0x219ab7,_0x2c917a,_0x48403f){const _0x180294=_0x163919;switch(_0x219ab7['id']){case _0x43ab0f['id']:return this['getRefRangeMutationsByMoveRange'](_0x219ab7[_0x180294(0x1b0)],_0x2c917a,_0x48403f);}return{'redos':[],'undos':[]};}[_0x163919(0x343)](_0x5ef18e,_0x330cbd,_0x5651ce){const _0x19dace=_0x163919,{fromRange:_0x1b1947,toRange:_0x5319b9}=_0x5ef18e,_0x5a022a=[],_0x893ecc=[],_0x396e27=_0x3d7c14(this['_univerInstanceService']);if(!_0x396e27)return{'undos':_0x893ecc,'redos':_0x5a022a};if(_0x330cbd!==_0x396e27[_0x19dace(0x196)]||_0x5651ce!==_0x396e27[_0x19dace(0x3af)])return{'undos':_0x893ecc,'redos':_0x5a022a};const _0x5e56fc=this[_0x19dace(0x17e)][_0x19dace(0x300)](_0x330cbd,_0x5651ce);if(_0x5e56fc!=null&&_0x5e56fc[_0x19dace(0x2da)])for(const [_0x7eb3f8,_0x196337]of _0x5e56fc){const {unitId:_0x454b60,subUnitId:_0x4933c6,row:_0x4541fd,col:_0x273279}=_0x196337[_0x19dace(0x33e)];if(_0x454b60===_0x396e27['unitId']&&_0x4933c6===_0x396e27[_0x19dace(0x3af)]){const _0xdac03=_0x33a9b5(_0x4541fd,_0x273279);if(_0x5f15bf[_0x19dace(0x298)](_0xdac03,_0x1b1947)){const _0x37b7c7=_0x4541fd-_0x1b1947[_0x19dace(0x3d1)],_0x46f133=_0x273279-_0x1b1947[_0x19dace(0x2c8)],_0x5f0ad2={'row':_0x5319b9[_0x19dace(0x3d1)]+_0x37b7c7,'col':_0x5319b9['startColumn']+_0x46f133};_0x5a022a[_0x19dace(0x338)]({'id':pt['id'],'params':{'unitId':_0x454b60,'subUnitId':_0x4933c6,'pivotTableId':_0x7eb3f8,'targetCellPosition':_0x5f0ad2}}),_0x893ecc[_0x19dace(0x338)]({'id':pt['id'],'params':{'unitId':_0x454b60,'subUnitId':_0x4933c6,'pivotTableId':_0x7eb3f8,'targetCellPosition':{'row':_0x4541fd,'col':_0x273279}}});const _0x52773c=_0x5f0ad2[_0x19dace(0x2ea)]-_0x4541fd,_0x398eef=_0x5f0ad2[_0x19dace(0x37f)]-_0x273279,_0x520661=[],_0x339f85=this['_sheetsPivotTableAdaptorModel'][_0x19dace(0x251)](_0x454b60,_0x4933c6,_0x7eb3f8),_0x3bbddf=_0x339f85==null?void 0x0:_0x339f85['rangesInfo'];if(_0x3bbddf){Object['keys'](_0x3bbddf)[_0x19dace(0x1f1)](_0x108fbf=>{const _0x106f86=_0x19dace;_0x3bbddf[_0x108fbf][_0x106f86(0x1f1)](_0x51e577=>{const _0x59a19e=_0x106f86,_0x23f3f1={..._0x51e577};_0x23f3f1[_0x59a19e(0x3d1)]=_0x51e577['startRow']+_0x52773c,_0x23f3f1[_0x59a19e(0x1a6)]=_0x51e577[_0x59a19e(0x1a6)]+_0x52773c,_0x23f3f1[_0x59a19e(0x2c8)]=_0x51e577[_0x59a19e(0x2c8)]+_0x398eef,_0x23f3f1[_0x59a19e(0x1c4)]=_0x51e577[_0x59a19e(0x1c4)]+_0x398eef,_0x520661[_0x59a19e(0x338)](_0x23f3f1);});});const _0x1ca17a=this[_0x19dace(0x197)][_0x19dace(0x32c)]({'unitId':_0x454b60,'subUnitId':_0x4933c6,'ranges':_0x520661});_0x5a022a[_0x19dace(0x338)](..._0x1ca17a['redos']),_0x893ecc['push'](..._0x1ca17a[_0x19dace(0x37a)]);const _0x5816fd=Ho(this[_0x19dace(0x272)],_0x454b60,_0x4933c6,_0x520661);_0x5816fd[_0x19dace(0x266)]&&(_0x5a022a[_0x19dace(0x338)](_0x5816fd[_0x19dace(0x168)]),_0x893ecc[_0x19dace(0x338)](_0x5816fd['setRangeValueUndoMutation']));}}}}return{'redos':_0x5a022a,'undos':_0x893ecc};}};ft=$s([Je(0x0,_0x86a91c(_0x207bcc)),Je(0x1,_0x86a91c(_0x690b84)),Je(0x2,_0x27f7ca),Je(0x3,_0x544974),Je(0x4,_0x86a91c(he)),Je(0x5,_0x86a91c(Ne)),Je(0x6,_0x86a91c(_0x2d7402))],ft);var Ks=Object[_0x163919(0x1f0)],js=(_0x441871,_0x54e8bd,_0x1bdf97,_0x3af7e4)=>{for(var _0x5d93c3=_0x3af7e4>0x1?void 0x0:_0x3af7e4?Ks(_0x54e8bd,_0x1bdf97):_0x54e8bd,_0x420bb7=_0x441871['length']-0x1,_0x11ee09;_0x420bb7>=0x0;_0x420bb7--)(_0x11ee09=_0x441871[_0x420bb7])&&(_0x5d93c3=_0x11ee09(_0x5d93c3)||_0x5d93c3);return _0x5d93c3;},_o=(_0x127b8f,_0x4f2b61)=>(_0x15a70c,_0x723f7)=>_0x4f2b61(_0x15a70c,_0x723f7,_0x127b8f);let gt=class extends _0x5647fd{constructor(_0x4a2c89,_0x486b13){const _0x327a31=_0x163919;super(),this[_0x327a31(0x197)]=_0x4a2c89,this[_0x327a31(0x17e)]=_0x486b13,this[_0x327a31(0x35c)]();}[_0x163919(0x35c)](){const _0xced0f8=_0x163919;this[_0xced0f8(0x398)](this['_sheetInterceptorService'][_0xced0f8(0x18f)]({'getMutations':_0x4f2be9=>{const _0x4c0479=_0xced0f8;if(_0x4f2be9['id']===_0x518df1['id']){const _0x5e7c86=[],_0x582452=[],_0x1609ca=_0x4f2be9[_0x4c0479(0x1b0)],{unitId:_0x582912,subUnitId:_0x1e9706}=_0x1609ca;if(!_0x582912||!_0x1e9706)return{'undos':_0x582452,'redos':_0x5e7c86};const _0x183198=this[_0x4c0479(0x17e)][_0x4c0479(0x300)](_0x582912,_0x1e9706);if(_0x183198!=null&&_0x183198['size'])for(const [_0x25aeb6,_0x5753d3]of _0x183198){_0x5e7c86[_0x4c0479(0x338)]({'id':Vt['id'],'params':{'unitId':_0x582912,'subUnitId':_0x1e9706,'pivotTableId':_0x25aeb6}});const _0x52fc2a={...this[_0x4c0479(0x17e)][_0x4c0479(0x1d5)](_0x582912,_0x25aeb6)};_0x582452[_0x4c0479(0x338)]({'id':Ct['id'],'params':{'unitId':_0x582912,'subUnitId':_0x1e9706,'pivotTableId':_0x25aeb6,'pivotTableConfig':_0x5753d3,'collectionConfig':_0x52fc2a}});}return{'redos':_0x5e7c86,'undos':_0x582452};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x86a91c(_0x2d7402)),_o(0x1,_0x86a91c(he))],gt);var Ws=Object[_0x163919(0x1f0)],Gs=(_0x5b3822,_0x596e0f,_0x176889,_0x3fb842)=>{const _0x1502dd=_0x163919;for(var _0x54b441=_0x3fb842>0x1?void 0x0:_0x3fb842?Ws(_0x596e0f,_0x176889):_0x596e0f,_0x25a6a1=_0x5b3822[_0x1502dd(0x3cc)]-0x1,_0x144abf;_0x25a6a1>=0x0;_0x25a6a1--)(_0x144abf=_0x5b3822[_0x25a6a1])&&(_0x54b441=_0x144abf(_0x54b441)||_0x54b441);return _0x54b441;},Ye=(_0x30b49a,_0x33dc93)=>(_0x1a1241,_0xd7edf3)=>_0x33dc93(_0x1a1241,_0xd7edf3,_0x30b49a);let vt=class extends _0x5647fd{constructor(_0x4d298e,_0x18a9ce,_0x3b99c6,_0x25cd25,_0x740961,_0x278ba4){const _0x1c5046=_0x163919;super(),this[_0x1c5046(0x355)]=_0x4d298e,this[_0x1c5046(0x33f)]=_0x18a9ce,this[_0x1c5046(0x287)]=_0x3b99c6,this[_0x1c5046(0x17e)]=_0x25cd25,this['_univerInstanceService']=_0x740961,this[_0x1c5046(0x3dc)]=_0x278ba4,this['_initDataSendListener'](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x410fc7=_0x163919;this['disposeWithMe'](this['_commandService'][_0x410fc7(0x3df)](_0x257f56=>{const _0x32c16d=_0x410fc7;if(_0x257f56['id']!==lo['id'])return;const _0x292897=_0x257f56[_0x32c16d(0x1b0)];this[_0x32c16d(0x33f)][_0x32c16d(0x34d)](_0x292897);})),this[_0x410fc7(0x398)](this[_0x410fc7(0x355)][_0x410fc7(0x3df)](_0xcb5e61=>{const _0xa28aaf=_0x410fc7;if(_0xcb5e61['id']===co['id']){const _0xb89ec6=_0xcb5e61['params'];if(_0xb89ec6){const {unitId:_0xb66925,subUnitId:_0xc22632,oldSubUnitId:_0x23befa,pivotTableId:_0x12508d,pivotTableConfig:_0x1ab3cd,collectionConfig:_0x5d026c}=_0xb89ec6;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0xb66925,_0x23befa,_0xb89ec6[_0xa28aaf(0x193)],null),this['_sheetsPivotTableConfigModel'][_0xa28aaf(0x3c2)](_0xb66925,_0xc22632,_0x12508d,_0x1ab3cd),this[_0xa28aaf(0x17e)]['updateCollectionConfig'](_0xb66925,_0x5d026c);}}})),this[_0x410fc7(0x398)](this['_commandService'][_0x410fc7(0x3df)](_0x4aafbf=>{const _0x292d81=_0x410fc7;if(_0x4aafbf['id']!==Dt['id'])return;const _0x1de84d=_0x3d7c14(this[_0x292d81(0x1b8)]);if(!_0x1de84d)return;const {unitId:_0x1e35d6,subUnitId:_0x3cb4c8}=_0x1de84d,_0x843614=_0x4aafbf['params'];if(_0x843614[_0x292d81(0x2b1)]&&Object[_0x292d81(0x1c3)](_0x843614[_0x292d81(0x2b1)])['forEach'](_0x3c7fca=>{const _0x1f9e55=_0x292d81;var _0x3bc121;(_0x3bc121=_0x843614[_0x1f9e55(0x2b1)])!=null&&_0x3bc121[_0x3c7fca]&&this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x3c7fca,_0x843614['collectionConfig'][_0x3c7fca]);}),_0x843614[_0x292d81(0x2b6)]){const _0x4f7c22=_0x843614['single'],{unitId:_0x3e5b3a,subUnitId:_0x520d96,view:_0x36fd65,pivotTableId:_0x30e5c7,type:_0x131b22,pivotConfig:_0x4c1c46}=_0x4f7c22;if(_0x131b22===L[_0x292d81(0x38b)])this[_0x292d81(0x287)][_0x292d81(0x3cb)]({'unitId':_0x3e5b3a,'subUnitId':_0x520d96,'pivotTableId':_0x30e5c7,'type':_0x131b22}),this[_0x292d81(0x17e)][_0x292d81(0x3c2)](_0x3e5b3a,_0x520d96,_0x30e5c7,null);else{const _0x25f799=new _0x4dd842();_0x25f799[_0x292d81(0x249)](_0x36fd65),this[_0x292d81(0x17e)][_0x292d81(0x3c2)](_0x3e5b3a,_0x520d96,_0x30e5c7,_0x4c1c46),this[_0x292d81(0x287)][_0x292d81(0x3cb)]({'unitId':_0x3e5b3a,'subUnitId':_0x520d96,'pivotTableId':_0x30e5c7,'type':_0x131b22,'view':_0x25f799}),this[_0x292d81(0x287)]['updateRenderCache']({'unitId':_0x3e5b3a,'subUnitId':_0x520d96,'view':_0x25f799,'pivotTableId':_0x30e5c7,'type':_0x131b22});}}else _0x843614[_0x292d81(0x238)]&&(_0x843614[_0x292d81(0x238)]['forEach'](_0x390d3a=>{const _0x5aaa65=_0x292d81,{unitId:_0xd54dc5,subUnitId:_0x108ede,view:_0x5623f7,pivotTableId:_0x860331,type:_0x14880c,pivotConfig:_0x2f6af1}=_0x390d3a,_0x2741ad=new _0x4dd842();_0x2741ad[_0x5aaa65(0x249)](_0x5623f7),this[_0x5aaa65(0x17e)]['updateConfigCache'](_0xd54dc5,_0x108ede,_0x860331,_0x2f6af1),this[_0x5aaa65(0x287)][_0x5aaa65(0x24a)]({'unitId':_0xd54dc5,'subUnitId':_0x108ede,'view':_0x2741ad,'pivotTableId':_0x860331,'type':_0x14880c});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x292d81(0x287)]['markDirty'](_0x1e35d6,_0x3cb4c8);}));}[_0x163919(0x2a7)](){const _0x1169d2=_0x163919;this['_activeDirtyManagerService'][_0x1169d2(0x1c1)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x319ef5){const _0xaf7b06=_0x1169d2;return{'dirtyUnitFeatureMap':_0x319ef5[_0xaf7b06(0x1b0)]};}});}};vt=Gs([Ye(0x0,_0x86a91c(_0x27f7ca)),Ye(0x1,_0x86a91c(Z)),Ye(0x2,_0x86a91c(Ne)),Ye(0x3,_0x86a91c(he)),Ye(0x4,_0x86a91c(_0x544974)),Ye(0x5,_0x1199da)],vt);var Hs=Object[_0x163919(0x330)],qs=Object['getOwnPropertyDescriptor'],Ys=(_0x37766b,_0x594341,_0x1cfcfa)=>_0x594341 in _0x37766b?Hs(_0x37766b,_0x594341,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cfcfa}):_0x37766b[_0x594341]=_0x1cfcfa,zs=(_0x12d278,_0x1bb10e,_0x2a38d4,_0x4294b0)=>{const _0x4c7adb=_0x163919;for(var _0x5e7560=_0x4294b0>0x1?void 0x0:_0x4294b0?qs(_0x1bb10e,_0x2a38d4):_0x1bb10e,_0x58d950=_0x12d278[_0x4c7adb(0x3cc)]-0x1,_0x2c1850;_0x58d950>=0x0;_0x58d950--)(_0x2c1850=_0x12d278[_0x58d950])&&(_0x5e7560=_0x2c1850(_0x5e7560)||_0x5e7560);return _0x5e7560;},Ft=(_0x365780,_0x367436)=>(_0x185de6,_0x1ad6af)=>_0x367436(_0x185de6,_0x1ad6af,_0x365780),Qo=(_0x57dd10,_0x187bc7,_0x283ffe)=>Ys(_0x57dd10,typeof _0x187bc7!=_0x163919(0x2bf)?_0x187bc7+'':_0x187bc7,_0x283ffe);let At=class extends _0x4d6d5f{constructor(_0x519d5b=To,_0xac62d9,_0x236f62,_0x3e2769,_0x3b6e16){const _0x2fa31c=_0x163919;super(),this[_0x2fa31c(0x310)]=_0x519d5b,this[_0x2fa31c(0x272)]=_0xac62d9,this['_commandService']=_0x236f62,this['_configService']=_0x3e2769,this[_0x2fa31c(0x312)]=_0x3b6e16;const {..._0xe9bbf8}=_0x25df92({},To,this['_config']);this[_0x2fa31c(0x1b3)][_0x2fa31c(0x245)](Yo,_0xe9bbf8),this[_0x2fa31c(0x28f)](),this['_initConfig']();}[_0x163919(0x1f2)](){const _0x58531e=_0x163919;var _0x59df96;const _0x1d1e53=(_0x59df96=this[_0x58531e(0x310)])==null?void 0x0:_0x59df96[_0x58531e(0x324)];this['_configService'][_0x58531e(0x245)](q,_0x1d1e53===!0x0);}[_0x163919(0x30b)](){const _0x3abd5d=_0x163919;var _0x3a8255;let _0x330772=[];const _0x5c0c4e=(_0x3a8255=this['_config'])==null?void 0x0:_0x3a8255[_0x3abd5d(0x324)];_0x5c0c4e===!0x0?_0x330772=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x5c0c4e===!0x1?_0x330772=[[$],[ct]]:_0x5c0c4e===void 0x0&&(_0x330772=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x330772['forEach'](_0x1b1dd9=>this['_injector'][_0x3abd5d(0x248)](_0x1b1dd9)),[ct,vt,ie,dt,gt,ft,ut][_0x3abd5d(0x1f1)](_0x3eb962=>{const _0x48da0f=_0x3abd5d;this[_0x48da0f(0x272)][_0x48da0f(0x326)](_0x3eb962)&&this['_injector'][_0x48da0f(0x3cd)](_0x3eb962);});}['_initRegisterCommand'](){const _0x8e4c74=_0x163919;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ps,Ss,ys,Ts,ws,Is,Ct,oo,Vt,$t,zo,Xo,Ht,Kt,jt,Wt,Yt,qt,pt,ro,lo,Dt,Qt,eo,zt,Gt,uo,to,Zt,Et,co,_s,Xt,Fs,Rs][_0x8e4c74(0x1f1)](_0x38b03c=>{const _0x1316db=_0x8e4c74;var _0x465ace;(_0x465ace=this[_0x1316db(0x312)])==null||_0x465ace[_0x1316db(0x3c7)](_0x38b03c),this[_0x1316db(0x355)][_0x1316db(0x16c)](_0x38b03c);});}};Qo(At,'pluginName',ao),Qo(At,'type',_0x2d7980[_0x163919(0x348)]),At=zs([_0x3b9711(_0x2ae7d0),Ft(0x1,_0x86a91c(_0x207bcc)),Ft(0x2,_0x86a91c(_0x27f7ca)),Ft(0x3,_0x197f4e),Ft(0x4,_0x4b7159(_0x5ed41c))],At);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,J as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,ko as PositionType,Cs as RemovePivotFieldCommand,Kt as RemovePivotFieldMutation,Vt 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,Ps as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Xt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,At as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,ys as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ts as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Go as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ji as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Vi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};
|